@tapni/auth 0.0.163 → 0.0.165
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 +6 -6
- package/dist/{Account-rIITKRRa.js → Account-NBsbAR99.js} +12 -10
- package/dist/{QR-CyFd5BF-.js → QR-F20LHHzG.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +8 -8
- package/dist/{install-ZmqL5ixy.js → install-NIpDjitq.js} +241 -246
- package/dist/style.css +1 -1
- package/package.json +4 -2
- package/src/main.js +4 -0
- package/src/mixins/auth.mixin.js +0 -1
- package/src/mixins/global.mixin.js +1 -1
- package/src/mixins/qr-auth.mixin.js +1 -1
- package/src/store/auth.js +14 -22
- package/src/views/Account.vue +3 -0
- package/src/views/Register.vue +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { reactive as Qr, readonly as
|
|
2
|
-
import { createRouter as
|
|
3
|
-
import { createNamespacedHelpers as
|
|
4
|
-
import { Capacitor as Yn, registerPlugin as ar, WebPlugin as
|
|
1
|
+
import { reactive as Qr, readonly as zi, resolveComponent as Fn, openBlock as N, createElementBlock as x, createElementVNode as _, toDisplayString as Q, createCommentVNode as pe, createVNode as De, withCtx as Gt, createTextVNode as ke, pushScopeId as qn, popScopeId as Kn, createStaticVNode as xi, nextTick as So, withModifiers as Ge, normalizeStyle as xn, withDirectives as Ie, withKeys as fn, vModelText as gn, vModelDynamic as _r, vShow as Jt, createBlock as ht, normalizeClass as Je, vModelCheckbox as Ui, watch as Bi, unref as Di } from "vue";
|
|
2
|
+
import { createRouter as Hi, createWebHistory as ji, RouterView as Fi } from "vue-router";
|
|
3
|
+
import { createNamespacedHelpers as qi, createStore as Ki } from "vuex";
|
|
4
|
+
import { Capacitor as Yn, registerPlugin as ar, WebPlugin as Gi } from "@capacitor/core";
|
|
5
5
|
import fe from "await-to-js";
|
|
6
6
|
import co from "axios";
|
|
7
|
-
import { jwtDecode as
|
|
7
|
+
import { jwtDecode as $o } from "jwt-decode";
|
|
8
8
|
import { Device as vr } from "@capacitor/device";
|
|
9
9
|
import { Browser as yr } from "@capacitor/browser";
|
|
10
|
-
import
|
|
11
|
-
import { sanitizeUrl as
|
|
12
|
-
function
|
|
10
|
+
import Jo from "qr-code-styling";
|
|
11
|
+
import { sanitizeUrl as Vi } from "@braintree/sanitize-url";
|
|
12
|
+
function Qi(n) {
|
|
13
13
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
14
14
|
}
|
|
15
|
-
var
|
|
15
|
+
var Xo = { exports: {} }, Me = Xo.exports = {}, Ht, jt;
|
|
16
16
|
function Yr() {
|
|
17
17
|
throw new Error("setTimeout has not been defined");
|
|
18
18
|
}
|
|
@@ -31,7 +31,7 @@ function Wr() {
|
|
|
31
31
|
jt = Wr;
|
|
32
32
|
}
|
|
33
33
|
})();
|
|
34
|
-
function
|
|
34
|
+
function Zo(n) {
|
|
35
35
|
if (Ht === setTimeout)
|
|
36
36
|
return setTimeout(n, 0);
|
|
37
37
|
if ((Ht === Yr || !Ht) && setTimeout)
|
|
@@ -46,7 +46,7 @@ function Xo(n) {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function Yi(n) {
|
|
50
50
|
if (jt === clearTimeout)
|
|
51
51
|
return clearTimeout(n);
|
|
52
52
|
if ((jt === Wr || !jt) && clearTimeout)
|
|
@@ -62,19 +62,19 @@ function Qi(n) {
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
var Xt = [], Un = !1, kn, mr = -1;
|
|
65
|
-
function
|
|
66
|
-
!Un || !kn || (Un = !1, kn.length ? Xt = kn.concat(Xt) : mr = -1, Xt.length &&
|
|
65
|
+
function Wi() {
|
|
66
|
+
!Un || !kn || (Un = !1, kn.length ? Xt = kn.concat(Xt) : mr = -1, Xt.length && ei());
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function ei() {
|
|
69
69
|
if (!Un) {
|
|
70
|
-
var n =
|
|
70
|
+
var n = Zo(Wi);
|
|
71
71
|
Un = !0;
|
|
72
72
|
for (var e = Xt.length; e; ) {
|
|
73
73
|
for (kn = Xt, Xt = []; ++mr < e; )
|
|
74
74
|
kn && kn[mr].run();
|
|
75
75
|
mr = -1, e = Xt.length;
|
|
76
76
|
}
|
|
77
|
-
kn = null, Un = !1,
|
|
77
|
+
kn = null, Un = !1, Yi(n);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
Me.nextTick = function(n) {
|
|
@@ -82,12 +82,12 @@ Me.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
|
|
85
|
+
Xt.push(new ti(n, e)), Xt.length === 1 && !Un && Zo(ei);
|
|
86
86
|
};
|
|
87
|
-
function
|
|
87
|
+
function ti(n, e) {
|
|
88
88
|
this.fun = n, this.array = e;
|
|
89
89
|
}
|
|
90
|
-
|
|
90
|
+
ti.prototype.run = function() {
|
|
91
91
|
this.fun.apply(null, this.array);
|
|
92
92
|
};
|
|
93
93
|
Me.title = "browser";
|
|
@@ -122,18 +122,18 @@ Me.chdir = function(n) {
|
|
|
122
122
|
Me.umask = function() {
|
|
123
123
|
return 0;
|
|
124
124
|
};
|
|
125
|
-
var
|
|
126
|
-
const
|
|
125
|
+
var $i = Xo.exports;
|
|
126
|
+
const Ji = /* @__PURE__ */ Qi($i);
|
|
127
127
|
var lo = {}, Nr = {};
|
|
128
|
-
Nr.byteLength =
|
|
129
|
-
Nr.toByteArray =
|
|
130
|
-
Nr.fromByteArray =
|
|
131
|
-
var qt = [], bt = [],
|
|
132
|
-
for (var Rn = 0,
|
|
128
|
+
Nr.byteLength = ea;
|
|
129
|
+
Nr.toByteArray = na;
|
|
130
|
+
Nr.fromByteArray = ia;
|
|
131
|
+
var qt = [], bt = [], Xi = typeof Uint8Array < "u" ? Uint8Array : Array, Kr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
132
|
+
for (var Rn = 0, Zi = Kr.length; Rn < Zi; ++Rn)
|
|
133
133
|
qt[Rn] = Kr[Rn], bt[Kr.charCodeAt(Rn)] = Rn;
|
|
134
134
|
bt[45] = 62;
|
|
135
135
|
bt[95] = 63;
|
|
136
|
-
function
|
|
136
|
+
function ni(n) {
|
|
137
137
|
var e = n.length;
|
|
138
138
|
if (e % 4 > 0)
|
|
139
139
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -142,30 +142,30 @@ function ti(n) {
|
|
|
142
142
|
var r = t === e ? 0 : 4 - t % 4;
|
|
143
143
|
return [t, r];
|
|
144
144
|
}
|
|
145
|
-
function
|
|
146
|
-
var e =
|
|
145
|
+
function ea(n) {
|
|
146
|
+
var e = ni(n), t = e[0], r = e[1];
|
|
147
147
|
return (t + r) * 3 / 4 - r;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function ta(n, e, t) {
|
|
150
150
|
return (e + t) * 3 / 4 - t;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
var e, t =
|
|
152
|
+
function na(n) {
|
|
153
|
+
var e, t = ni(n), r = t[0], o = t[1], i = new Xi(ta(n, r, o)), a = 0, s = o > 0 ? r - 4 : r, u;
|
|
154
154
|
for (u = 0; u < s; u += 4)
|
|
155
155
|
e = bt[n.charCodeAt(u)] << 18 | bt[n.charCodeAt(u + 1)] << 12 | bt[n.charCodeAt(u + 2)] << 6 | bt[n.charCodeAt(u + 3)], i[a++] = e >> 16 & 255, i[a++] = e >> 8 & 255, i[a++] = e & 255;
|
|
156
156
|
return o === 2 && (e = bt[n.charCodeAt(u)] << 2 | bt[n.charCodeAt(u + 1)] >> 4, i[a++] = e & 255), o === 1 && (e = bt[n.charCodeAt(u)] << 10 | bt[n.charCodeAt(u + 1)] << 4 | bt[n.charCodeAt(u + 2)] >> 2, i[a++] = e >> 8 & 255, i[a++] = e & 255), i;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function ra(n) {
|
|
159
159
|
return qt[n >> 18 & 63] + qt[n >> 12 & 63] + qt[n >> 6 & 63] + qt[n & 63];
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function oa(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(ra(r));
|
|
164
164
|
return o.join("");
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function ia(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(oa(n, a, a + i > s ? s : a + i));
|
|
169
169
|
return r === 1 ? (e = n[t - 1], o.push(
|
|
170
170
|
qt[e >> 2] + qt[e << 4 & 63] + "=="
|
|
171
171
|
)) : r === 2 && (e = (n[t - 2] << 8) + n[t - 1], o.push(
|
|
@@ -1175,7 +1175,7 @@ uo.write = function(n, e, t, r, o, i) {
|
|
|
1175
1175
|
throw new Error("BigInt not supported");
|
|
1176
1176
|
}
|
|
1177
1177
|
})(lo);
|
|
1178
|
-
const wn = lo.Buffer,
|
|
1178
|
+
const wn = lo.Buffer, aa = lo.Buffer, pr = Qr(/* @__PURE__ */ new Map()), q = {
|
|
1179
1179
|
$on(n, e) {
|
|
1180
1180
|
let t = pr.get(n);
|
|
1181
1181
|
t || (t = /* @__PURE__ */ new Set(), pr.set(n, t)), t.add(e);
|
|
@@ -1191,11 +1191,11 @@ const wn = lo.Buffer, ia = lo.Buffer, pr = Qr(/* @__PURE__ */ new Map()), q = {
|
|
|
1191
1191
|
t && t.delete(e);
|
|
1192
1192
|
}
|
|
1193
1193
|
};
|
|
1194
|
-
|
|
1195
|
-
const
|
|
1194
|
+
zi(q);
|
|
1195
|
+
const sa = {
|
|
1196
1196
|
computed: {
|
|
1197
1197
|
home() {
|
|
1198
|
-
return this.$storex && this.$storex.token && this.$storex.username ? "/" + this.$storex.username
|
|
1198
|
+
return this.$storex && this.$storex.token && this.$storex.username ? "/" + this.$storex.username : "/welcome";
|
|
1199
1199
|
},
|
|
1200
1200
|
isAndroid() {
|
|
1201
1201
|
return /Android/i.test(navigator.userAgent) || Yn.getPlatform() === "android";
|
|
@@ -1258,10 +1258,10 @@ const aa = {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
|
-
}, { mapState:
|
|
1262
|
-
mixins: [
|
|
1261
|
+
}, { mapState: ca, mapActions: la, mapGetters: ua } = qi("auth"), at = {
|
|
1262
|
+
mixins: [sa],
|
|
1263
1263
|
computed: {
|
|
1264
|
-
...
|
|
1264
|
+
...ca([
|
|
1265
1265
|
"$storex",
|
|
1266
1266
|
"refreshing",
|
|
1267
1267
|
"loggedInUserId",
|
|
@@ -1275,7 +1275,7 @@ const aa = {
|
|
|
1275
1275
|
"state",
|
|
1276
1276
|
"allowedOriginsAuth"
|
|
1277
1277
|
]),
|
|
1278
|
-
...
|
|
1278
|
+
...ua([
|
|
1279
1279
|
"accessToken",
|
|
1280
1280
|
"refreshTokens",
|
|
1281
1281
|
"isLoggedIn",
|
|
@@ -1284,7 +1284,7 @@ const aa = {
|
|
|
1284
1284
|
])
|
|
1285
1285
|
},
|
|
1286
1286
|
methods: {
|
|
1287
|
-
...
|
|
1287
|
+
...la([
|
|
1288
1288
|
"setLoggedInAccounts",
|
|
1289
1289
|
"setLoggedInUserId",
|
|
1290
1290
|
"getRefreshTokens",
|
|
@@ -1293,7 +1293,6 @@ const aa = {
|
|
|
1293
1293
|
"setToken",
|
|
1294
1294
|
"setView",
|
|
1295
1295
|
"setStorage",
|
|
1296
|
-
"setUserID",
|
|
1297
1296
|
"updateLang",
|
|
1298
1297
|
"login",
|
|
1299
1298
|
"register",
|
|
@@ -1334,7 +1333,7 @@ const aa = {
|
|
|
1334
1333
|
for (const [r, o] of e)
|
|
1335
1334
|
t[r] = o;
|
|
1336
1335
|
return t;
|
|
1337
|
-
},
|
|
1336
|
+
}, da = {
|
|
1338
1337
|
name: "AuthWelcome",
|
|
1339
1338
|
mixins: [at],
|
|
1340
1339
|
data() {
|
|
@@ -1356,23 +1355,23 @@ const aa = {
|
|
|
1356
1355
|
}, 500);
|
|
1357
1356
|
},
|
|
1358
1357
|
methods: {}
|
|
1359
|
-
},
|
|
1358
|
+
}, ri = (n) => (qn("data-v-615ed484"), n = n(), Kn(), n), pa = {
|
|
1360
1359
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
1361
1360
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
1362
|
-
},
|
|
1361
|
+
}, ha = ["autoplay"], fa = /* @__PURE__ */ ri(() => /* @__PURE__ */ _("source", {
|
|
1363
1362
|
src: "https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",
|
|
1364
1363
|
type: "video/mp4"
|
|
1365
|
-
}, null, -1)),
|
|
1366
|
-
|
|
1367
|
-
],
|
|
1364
|
+
}, null, -1)), ga = [
|
|
1365
|
+
fa
|
|
1366
|
+
], ma = { class: "bold full-top no-bottom center-text" }, _a = { class: "full-bottom half-top center-text color-black font-16" }, va = { class: "page-login-links center-text" }, ya = /* @__PURE__ */ ri(() => /* @__PURE__ */ _("div", { class: "clear" }, null, -1)), wa = {
|
|
1368
1367
|
key: 2,
|
|
1369
1368
|
style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
|
|
1370
|
-
},
|
|
1371
|
-
|
|
1369
|
+
}, ba = /* @__PURE__ */ xi('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-615ed484><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-615ed484></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-615ed484><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-615ed484></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-615ed484><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-615ed484></a>', 3), ka = [
|
|
1370
|
+
ba
|
|
1372
1371
|
];
|
|
1373
|
-
function
|
|
1372
|
+
function Ca(n, e, t, r, o, i) {
|
|
1374
1373
|
const a = Fn("router-link");
|
|
1375
|
-
return N(), x("div",
|
|
1374
|
+
return N(), x("div", pa, [
|
|
1376
1375
|
_("video", {
|
|
1377
1376
|
id: "tapniVideo",
|
|
1378
1377
|
muted: "",
|
|
@@ -1381,9 +1380,9 @@ function ka(n, e, t, r, o, i) {
|
|
|
1381
1380
|
width: "350",
|
|
1382
1381
|
style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
|
|
1383
1382
|
autoplay: n.isNative
|
|
1384
|
-
},
|
|
1385
|
-
_("h1",
|
|
1386
|
-
_("p",
|
|
1383
|
+
}, ga, 8, ha),
|
|
1384
|
+
_("h1", ma, Q(n.ssoLang[this.appLanguage].welcome), 1),
|
|
1385
|
+
_("p", _a, Q(n.ssoLang[this.appLanguage].welcome_p1), 1),
|
|
1387
1386
|
pe("", !0),
|
|
1388
1387
|
pe("", !0),
|
|
1389
1388
|
De(a, {
|
|
@@ -1396,7 +1395,7 @@ function ka(n, e, t, r, o, i) {
|
|
|
1396
1395
|
]),
|
|
1397
1396
|
_: 1
|
|
1398
1397
|
}),
|
|
1399
|
-
_("div",
|
|
1398
|
+
_("div", va, [
|
|
1400
1399
|
De(a, { to: "/login" }, {
|
|
1401
1400
|
default: Gt(() => [
|
|
1402
1401
|
ke(Q(n.ssoLang[this.appLanguage].already_registered) + "? ", 1),
|
|
@@ -1404,15 +1403,15 @@ function ka(n, e, t, r, o, i) {
|
|
|
1404
1403
|
]),
|
|
1405
1404
|
_: 1
|
|
1406
1405
|
}),
|
|
1407
|
-
|
|
1406
|
+
ya
|
|
1408
1407
|
]),
|
|
1409
|
-
this.isNative ? pe("", !0) : (N(), x("div",
|
|
1408
|
+
this.isNative ? pe("", !0) : (N(), x("div", wa, ka))
|
|
1410
1409
|
]);
|
|
1411
1410
|
}
|
|
1412
|
-
const po = /* @__PURE__ */ mt(
|
|
1411
|
+
const po = /* @__PURE__ */ mt(da, [["render", Ca], ["__scopeId", "data-v-615ed484"]]), Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1413
1412
|
__proto__: null,
|
|
1414
1413
|
default: po
|
|
1415
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1414
|
+
}, Symbol.toStringTag, { value: "Module" })), Ta = "0.0.165", hr = {
|
|
1416
1415
|
getMe() {
|
|
1417
1416
|
return ce().get("/users/me");
|
|
1418
1417
|
},
|
|
@@ -1471,7 +1470,7 @@ const po = /* @__PURE__ */ mt(ua, [["render", ka], ["__scopeId", "data-v-615ed48
|
|
|
1471
1470
|
qrCodePooling(n) {
|
|
1472
1471
|
return ce().post("/company/login/qr", n);
|
|
1473
1472
|
}
|
|
1474
|
-
},
|
|
1473
|
+
}, oi = {
|
|
1475
1474
|
state: {
|
|
1476
1475
|
english: "English",
|
|
1477
1476
|
spanish: "Spanish",
|
|
@@ -1934,7 +1933,7 @@ const po = /* @__PURE__ */ mt(ua, [["render", ka], ["__scopeId", "data-v-615ed48
|
|
|
1934
1933
|
otp_p1: "If you have trouble signing in, <br> please contact us at",
|
|
1935
1934
|
change_language: "Change language"
|
|
1936
1935
|
}
|
|
1937
|
-
},
|
|
1936
|
+
}, ii = {
|
|
1938
1937
|
state: {
|
|
1939
1938
|
english: "Englisch",
|
|
1940
1939
|
spanish: "Spanisch",
|
|
@@ -2386,7 +2385,7 @@ const po = /* @__PURE__ */ mt(ua, [["render", ka], ["__scopeId", "data-v-615ed48
|
|
|
2386
2385
|
choose_other_login_methods: "Wählen Sie andere Anmeldeverfahren",
|
|
2387
2386
|
no_sso_logins: "Ihr Unternehmen verwendet keine SSO-Anmeldung. Bitte wenden Sie sich an Ihren Administrator"
|
|
2388
2387
|
}
|
|
2389
|
-
},
|
|
2388
|
+
}, ai = {
|
|
2390
2389
|
state: {
|
|
2391
2390
|
english: "Inglés",
|
|
2392
2391
|
spanish: "Español",
|
|
@@ -2842,7 +2841,7 @@ const po = /* @__PURE__ */ mt(ua, [["render", ka], ["__scopeId", "data-v-615ed48
|
|
|
2842
2841
|
choose_other_login_methods: "Elige otros métodos de inicio de sesión",
|
|
2843
2842
|
no_sso_logins: "Su empresa no utiliza el inicio de sesión SSO. Comuníquese con su administrador"
|
|
2844
2843
|
}
|
|
2845
|
-
},
|
|
2844
|
+
}, si = {
|
|
2846
2845
|
state: {
|
|
2847
2846
|
english: "Anglais",
|
|
2848
2847
|
spanish: "Espagnol",
|
|
@@ -3300,7 +3299,7 @@ Il n'y a aucun lien dans votre profil.`,
|
|
|
3300
3299
|
choose_other_login_methods: "Choisissez d'autres méthodes de connexion",
|
|
3301
3300
|
no_sso_logins: "Votre entreprise n'utilise pas de login SSO, veuillez contacter votre administrateur"
|
|
3302
3301
|
}
|
|
3303
|
-
},
|
|
3302
|
+
}, ci = {
|
|
3304
3303
|
state: {
|
|
3305
3304
|
english: "Inglese",
|
|
3306
3305
|
spanish: "Spagnolo",
|
|
@@ -3753,7 +3752,7 @@ Il n'y a aucun lien dans votre profil.`,
|
|
|
3753
3752
|
choose_other_login_methods: "Scegli altri metodi di accesso",
|
|
3754
3753
|
no_sso_logins: "La tua azienda non utilizza l'accesso SSO, contatta il tuo amministratore"
|
|
3755
3754
|
}
|
|
3756
|
-
},
|
|
3755
|
+
}, li = {
|
|
3757
3756
|
state: {
|
|
3758
3757
|
english: "Engleski",
|
|
3759
3758
|
spanish: "Španski",
|
|
@@ -4198,7 +4197,7 @@ Il n'y a aucun lien dans votre profil.`,
|
|
|
4198
4197
|
choose_other_login_methods: "Izaberite druge metode prijavljivanja",
|
|
4199
4198
|
no_sso_logins: "Vaša kompanija ne koristi SSO prijavu, kontaktirajte svog administratora"
|
|
4200
4199
|
}
|
|
4201
|
-
},
|
|
4200
|
+
}, ui = {
|
|
4202
4201
|
state: {
|
|
4203
4202
|
english: "İngilizce",
|
|
4204
4203
|
spanish: "İspanyolca",
|
|
@@ -4648,7 +4647,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
4648
4647
|
choose_other_login_methods: "Diğer giriş yöntemlerini seçin",
|
|
4649
4648
|
no_sso_logins: "Şirketiniz SSO girişini kullanmıyor, lütfen yöneticinizle iletişime geçin"
|
|
4650
4649
|
}
|
|
4651
|
-
},
|
|
4650
|
+
}, Sa = {
|
|
4652
4651
|
state: {
|
|
4653
4652
|
english: "英文",
|
|
4654
4653
|
spanish: "西班牙文",
|
|
@@ -5096,7 +5095,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5096
5095
|
choose_other_login_methods: "选择其他登录方法",
|
|
5097
5096
|
no_sso_logins: "您的公司不使用 SSO 登录。 请联系您的管理员"
|
|
5098
5097
|
}
|
|
5099
|
-
},
|
|
5098
|
+
}, di = {
|
|
5100
5099
|
state: {
|
|
5101
5100
|
english: "영어",
|
|
5102
5101
|
spanish: "스페인어",
|
|
@@ -5553,7 +5552,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5553
5552
|
choose_other_login_methods: "다른 로그인 방법 선택하기",
|
|
5554
5553
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
5555
5554
|
}
|
|
5556
|
-
}, Ao = () => Promise.resolve().then(() =>
|
|
5555
|
+
}, Ao = () => Promise.resolve().then(() => Ea), Ia = () => Promise.resolve().then(() => qc), Aa = () => Promise.resolve().then(() => Ul), Ra = () => Promise.resolve().then(() => wd), Pa = () => import("./Account-NBsbAR99.js"), Ma = () => Promise.resolve().then(() => du), Na = () => Promise.resolve().then(() => Id), Oa = () => import("./QR-F20LHHzG.js"), La = () => Promise.resolve().then(() => xu), za = [
|
|
5557
5556
|
{
|
|
5558
5557
|
path: "/welcome",
|
|
5559
5558
|
name: "AuthWelcome",
|
|
@@ -5562,52 +5561,52 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5562
5561
|
{
|
|
5563
5562
|
path: "/login",
|
|
5564
5563
|
name: "AuthLogin",
|
|
5565
|
-
component:
|
|
5564
|
+
component: Ia
|
|
5566
5565
|
},
|
|
5567
5566
|
{
|
|
5568
5567
|
path: "/callback/saml",
|
|
5569
5568
|
name: "Callback",
|
|
5570
5569
|
alias: ["/callback/okta", "/callback/auth"],
|
|
5571
|
-
component:
|
|
5570
|
+
component: Na
|
|
5572
5571
|
},
|
|
5573
5572
|
{
|
|
5574
5573
|
path: "/qr",
|
|
5575
5574
|
name: "AuthQR",
|
|
5576
|
-
component:
|
|
5575
|
+
component: Oa
|
|
5577
5576
|
},
|
|
5578
5577
|
{
|
|
5579
5578
|
path: "/mfa",
|
|
5580
5579
|
name: "AuthMFA",
|
|
5581
|
-
component:
|
|
5580
|
+
component: La
|
|
5582
5581
|
},
|
|
5583
5582
|
{
|
|
5584
5583
|
path: "/account",
|
|
5585
5584
|
name: "AuthAccount",
|
|
5586
|
-
component:
|
|
5585
|
+
component: Pa
|
|
5587
5586
|
},
|
|
5588
5587
|
{
|
|
5589
5588
|
path: "/reset",
|
|
5590
5589
|
name: "AuthReset",
|
|
5591
|
-
component:
|
|
5590
|
+
component: Ra
|
|
5592
5591
|
},
|
|
5593
5592
|
{
|
|
5594
5593
|
path: "/register",
|
|
5595
5594
|
name: "AuthRegister",
|
|
5596
|
-
component:
|
|
5595
|
+
component: Aa
|
|
5597
5596
|
},
|
|
5598
5597
|
{
|
|
5599
5598
|
path: "/verify",
|
|
5600
5599
|
name: "AuthVerify",
|
|
5601
|
-
component:
|
|
5600
|
+
component: Ma
|
|
5602
5601
|
},
|
|
5603
5602
|
{
|
|
5604
5603
|
path: "/",
|
|
5605
5604
|
name: "404",
|
|
5606
5605
|
component: Ao
|
|
5607
5606
|
}
|
|
5608
|
-
],
|
|
5609
|
-
history:
|
|
5610
|
-
routes:
|
|
5607
|
+
], Ro = Hi({
|
|
5608
|
+
history: ji("/"),
|
|
5609
|
+
routes: za
|
|
5611
5610
|
}), ho = {
|
|
5612
5611
|
namespaced: !0,
|
|
5613
5612
|
state: {
|
|
@@ -5622,15 +5621,15 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5622
5621
|
device: {},
|
|
5623
5622
|
loggedInAccounts: {},
|
|
5624
5623
|
ssoLang: {
|
|
5625
|
-
en:
|
|
5626
|
-
de:
|
|
5627
|
-
es:
|
|
5628
|
-
fr:
|
|
5629
|
-
it:
|
|
5630
|
-
sr:
|
|
5631
|
-
tr:
|
|
5632
|
-
cn:
|
|
5633
|
-
kr:
|
|
5624
|
+
en: oi.state,
|
|
5625
|
+
de: ii.state,
|
|
5626
|
+
es: ai.state,
|
|
5627
|
+
fr: si.state,
|
|
5628
|
+
it: ci.state,
|
|
5629
|
+
sr: li.state,
|
|
5630
|
+
tr: ui.state,
|
|
5631
|
+
cn: Sa.state,
|
|
5632
|
+
kr: di.state
|
|
5634
5633
|
},
|
|
5635
5634
|
display: "npm",
|
|
5636
5635
|
redirect_uri: "https://t.link/callback/auth",
|
|
@@ -5688,16 +5687,9 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5688
5687
|
let t = n.$storex.refreshTokens ? n.$storex.refreshTokens.split(",") : [];
|
|
5689
5688
|
t = [e, ...t.filter((r) => r !== e)], n.$storex.refreshTokens = t.join(",");
|
|
5690
5689
|
},
|
|
5691
|
-
unsetRefreshToken(n, e) {
|
|
5692
|
-
var t;
|
|
5693
|
-
n.$storex.refreshTokens = (t = n.$storex.refreshTokens) == null ? void 0 : t.filter((r) => r !== e).join(",");
|
|
5694
|
-
},
|
|
5695
5690
|
setToken(n, e) {
|
|
5696
5691
|
n.$storex.token = e;
|
|
5697
5692
|
},
|
|
5698
|
-
setUserID(n, e) {
|
|
5699
|
-
n.$storex.UserId = e;
|
|
5700
|
-
},
|
|
5701
5693
|
updateLang(n, e) {
|
|
5702
5694
|
n.lang = e;
|
|
5703
5695
|
},
|
|
@@ -5799,33 +5791,33 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5799
5791
|
localUser: t.loggedInAccounts[r]
|
|
5800
5792
|
}), n("setLoggedInUserId", t.loggedInAccounts[r].id), n("setRefreshToken", t.loggedInAccounts[r].refreshToken), await e("refreshTokenAction", t.loggedInAccounts[r])), q.$emit("ssoEvent", { name: "switchAccount", data: { username: r } });
|
|
5801
5793
|
},
|
|
5802
|
-
async refreshTokenAction({
|
|
5803
|
-
if (
|
|
5794
|
+
async refreshTokenAction({ dispatch: n, commit: e, state: t, getters: r }, o) {
|
|
5795
|
+
if (t.refreshing)
|
|
5804
5796
|
return null;
|
|
5805
|
-
|
|
5806
|
-
const [
|
|
5797
|
+
t.refreshing = !0;
|
|
5798
|
+
const [i, a] = await fe(
|
|
5807
5799
|
$e.refreshToken({
|
|
5808
|
-
id:
|
|
5809
|
-
refreshToken:
|
|
5800
|
+
id: o.id,
|
|
5801
|
+
refreshToken: r.refreshTokens[0],
|
|
5810
5802
|
refreshTokenAction: !0
|
|
5811
5803
|
})
|
|
5812
5804
|
);
|
|
5813
|
-
if (
|
|
5814
|
-
return n("logout", { refreshToken:
|
|
5815
|
-
|
|
5805
|
+
if (i && i.response && i.response.data.error === "ACCESS_DENIED")
|
|
5806
|
+
return n("logout", { refreshToken: o.refreshToken, sendRequest: !1 }), location.reload();
|
|
5807
|
+
a && a.data && (e("setToken", a.data.token), q.$emit("ssoEvent", { name: "setStorage", data: t.$storex })), t.refreshing = !1;
|
|
5816
5808
|
},
|
|
5817
5809
|
async login({ commit: n, state: e, dispatch: t }, r) {
|
|
5818
5810
|
const [o, i] = await fe($e.login(r));
|
|
5819
5811
|
if (o)
|
|
5820
5812
|
return t("errorHandler", o);
|
|
5821
5813
|
if (i.data.success)
|
|
5822
|
-
return e.display
|
|
5814
|
+
return e.display !== "popup" && (t("loginSetup", { ...i, isModal: r.isModal }), await t("getLoggedInAccounts")), t("loginSuccess", { ...i, isModal: r.isModal }), !0;
|
|
5823
5815
|
},
|
|
5824
5816
|
loginSuccess({ commit: n, state: e, dispatch: t, getters: r }, o) {
|
|
5825
5817
|
if (e.display === "redirect")
|
|
5826
5818
|
return e.redirect_uri && !e.allowedOriginsAuth.some(
|
|
5827
5819
|
(i) => e.redirect_uri.startsWith(i)
|
|
5828
|
-
) ? console.error("Redirect URI not allowed") :
|
|
5820
|
+
) ? console.error("Redirect URI not allowed") : Ro.push("/account");
|
|
5829
5821
|
e.display === "popup" ? e.allowedOriginsAuth.forEach((i) => {
|
|
5830
5822
|
var a;
|
|
5831
5823
|
(a = window.parent) == null || a.postMessage(
|
|
@@ -5919,12 +5911,15 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5919
5911
|
},
|
|
5920
5912
|
async logout({ commit: n, dispatch: e, state: t }, { refreshToken: r, sendRequest: o = !0 }) {
|
|
5921
5913
|
o && r && $e.logout({ token: r }), t.$storex && (t.$storex.username = "", t.$storex.UserId = "", t.$storex.localUser = "", n("setToken", "")), n("setLoggedInUserId", "");
|
|
5922
|
-
const i = e("unsetRefreshToken", r);
|
|
5923
|
-
i.length >= 1
|
|
5924
|
-
|
|
5925
|
-
|
|
5914
|
+
const i = await e("unsetRefreshToken", r);
|
|
5915
|
+
if (i.length >= 1)
|
|
5916
|
+
Object.keys(t.loggedInAccounts).forEach((a) => {
|
|
5917
|
+
t.loggedInAccounts[a].refreshToken === i[0] && (n("setRefreshToken", i[0]), n("setLoggedInUserId", t.loggedInAccounts[a].id), e("refreshTokenAction", t.loggedInAccounts[a]).then(() => {
|
|
5918
|
+
q.$emit("ssoEvent", { name: "switchAccount", data: { username: a } });
|
|
5919
|
+
}));
|
|
5926
5920
|
});
|
|
5927
|
-
|
|
5921
|
+
else if (t.display === "redirect")
|
|
5922
|
+
return Ro.push("/");
|
|
5928
5923
|
},
|
|
5929
5924
|
async getCompanyBySSOEmail({ commit: n, dispatch: e }, t) {
|
|
5930
5925
|
const [r, o] = await fe(
|
|
@@ -5960,16 +5955,13 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5960
5955
|
setRefreshToken({ commit: n }, e) {
|
|
5961
5956
|
n("setRefreshToken", e);
|
|
5962
5957
|
},
|
|
5963
|
-
unsetRefreshToken({ commit: n, state: e, dispatch: t, getters: r }, o) {
|
|
5958
|
+
async unsetRefreshToken({ commit: n, state: e, dispatch: t, getters: r }, o) {
|
|
5964
5959
|
let i = r.refreshTokens;
|
|
5965
5960
|
return i = i == null ? void 0 : i.filter((a) => a !== o), n("setRefreshTokens", i.join(",")), i;
|
|
5966
5961
|
},
|
|
5967
5962
|
setToken({ commit: n }, e) {
|
|
5968
5963
|
n("setToken", e);
|
|
5969
5964
|
},
|
|
5970
|
-
setUserID({ commit: n }, e) {
|
|
5971
|
-
n("setUserID", e);
|
|
5972
|
-
},
|
|
5973
5965
|
updateLang({ commit: n }, e) {
|
|
5974
5966
|
n("updateLang", e);
|
|
5975
5967
|
},
|
|
@@ -5994,19 +5986,22 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5994
5986
|
},
|
|
5995
5987
|
getters: {
|
|
5996
5988
|
isLoggedIn: (n) => !!n.$storex.token && n.$storex.token !== "" && n.$storex.token !== "null",
|
|
5997
|
-
renderView: (n) =>
|
|
5989
|
+
renderView: (n, e, t) => {
|
|
5990
|
+
var r;
|
|
5991
|
+
return n.display !== "npm" ? (r = t.route) == null ? void 0 : r.name : n.view;
|
|
5992
|
+
},
|
|
5998
5993
|
appRealm: (n) => n.realm,
|
|
5999
5994
|
appLanguage: (n) => n.lang,
|
|
6000
5995
|
accessToken: (n) => n.$storex.token,
|
|
6001
5996
|
refreshTokens: (n) => n.$storex.refreshTokens.split(","),
|
|
6002
5997
|
apiRoot: (n) => n.apiRoot
|
|
6003
5998
|
}
|
|
6004
|
-
}, It =
|
|
5999
|
+
}, It = Ki({
|
|
6005
6000
|
modules: {
|
|
6006
6001
|
auth: ho
|
|
6007
6002
|
}
|
|
6008
6003
|
}), ce = (n = null) => {
|
|
6009
|
-
const e =
|
|
6004
|
+
const e = Ta;
|
|
6010
6005
|
let t = "https://api.tapni.co/v1/";
|
|
6011
6006
|
It.getters["auth/apiRoot"] && (t = It.getters["auth/apiRoot"] + "/v1/");
|
|
6012
6007
|
let r = co.create({
|
|
@@ -6027,7 +6022,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
6027
6022
|
lang: It.getters["auth/appLanguage"],
|
|
6028
6023
|
realm: It.getters["auth/appRealm"] || "app"
|
|
6029
6024
|
}), It.getters["auth/accessToken"] && !n) {
|
|
6030
|
-
const i =
|
|
6025
|
+
const i = $o(It.getters["auth/accessToken"]);
|
|
6031
6026
|
if (i.exp - 30 < Math.floor(Date.now() / 1e3))
|
|
6032
6027
|
return It.dispatch("auth/refreshTokenAction", i).then(() => (o.headers = {
|
|
6033
6028
|
...o.headers,
|
|
@@ -6102,9 +6097,9 @@ const $e = {
|
|
|
6102
6097
|
getAccountSettings() {
|
|
6103
6098
|
return ce().get("/users/settings");
|
|
6104
6099
|
}
|
|
6105
|
-
},
|
|
6100
|
+
}, Po = ar("GoogleAuth", {
|
|
6106
6101
|
web: () => import("./web-5VtGcKeU.js").then((n) => new n.GoogleAuthWeb())
|
|
6107
|
-
}),
|
|
6102
|
+
}), pi = {
|
|
6108
6103
|
data() {
|
|
6109
6104
|
return {
|
|
6110
6105
|
googleLoad: !1
|
|
@@ -6116,13 +6111,13 @@ const $e = {
|
|
|
6116
6111
|
}
|
|
6117
6112
|
},
|
|
6118
6113
|
mounted() {
|
|
6119
|
-
|
|
6114
|
+
Po.initialize();
|
|
6120
6115
|
},
|
|
6121
6116
|
methods: {
|
|
6122
6117
|
async googleLogin() {
|
|
6123
6118
|
var t;
|
|
6124
6119
|
this.googleLoad = !0;
|
|
6125
|
-
let [n, e] = await fe(
|
|
6120
|
+
let [n, e] = await fe(Po.signIn());
|
|
6126
6121
|
if (n)
|
|
6127
6122
|
return this.googleLoad = !1;
|
|
6128
6123
|
if (this.referral && (e.ref = this.referral), e.authentication && (e.authentication.accessToken || e.authentication.idToken)) {
|
|
@@ -6160,7 +6155,7 @@ window.fbAsyncInit = function() {
|
|
|
6160
6155
|
var r, o = n.getElementsByTagName(e)[0];
|
|
6161
6156
|
n.getElementById(t) || (r = n.createElement(e), r.id = t, r.src = "https://connect.facebook.net/en_US/sdk.js", o.parentNode.insertBefore(r, o));
|
|
6162
6157
|
})(document, "script", "facebook-jssdk");
|
|
6163
|
-
const
|
|
6158
|
+
const hi = {
|
|
6164
6159
|
data() {
|
|
6165
6160
|
return {
|
|
6166
6161
|
facebookLoad: !1
|
|
@@ -6199,7 +6194,7 @@ const pi = {
|
|
|
6199
6194
|
}
|
|
6200
6195
|
}, Ua = ar("SignInWithApple", {
|
|
6201
6196
|
web: () => import("./web-NrPZl3qD.js").then((n) => new n.SignInWithAppleWeb())
|
|
6202
|
-
}),
|
|
6197
|
+
}), fi = {
|
|
6203
6198
|
data() {
|
|
6204
6199
|
return {
|
|
6205
6200
|
appleLoad: !1
|
|
@@ -6221,7 +6216,7 @@ const pi = {
|
|
|
6221
6216
|
}));
|
|
6222
6217
|
if (n)
|
|
6223
6218
|
return this.appleLoad = !1;
|
|
6224
|
-
if (e.response.tokenData =
|
|
6219
|
+
if (e.response.tokenData = $o(e.response.identityToken), e && e.response && e.response.identityToken) {
|
|
6225
6220
|
this.referral && (e.response.ref = this.referral), this.display === "popup" && (e.response_type = "code");
|
|
6226
6221
|
const [r, o] = await fe($e.appleSDK(e.response, this.$storex));
|
|
6227
6222
|
if (r)
|
|
@@ -6279,7 +6274,7 @@ var $ = function() {
|
|
|
6279
6274
|
return e;
|
|
6280
6275
|
}, $.apply(this, arguments);
|
|
6281
6276
|
};
|
|
6282
|
-
function
|
|
6277
|
+
function Mo(n, e) {
|
|
6283
6278
|
var t = {};
|
|
6284
6279
|
for (var r in n)
|
|
6285
6280
|
Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
|
@@ -6603,7 +6598,7 @@ var w = {
|
|
|
6603
6598
|
w.OPENID_SCOPE,
|
|
6604
6599
|
w.PROFILE_SCOPE,
|
|
6605
6600
|
w.OFFLINE_ACCESS_SCOPE
|
|
6606
|
-
],
|
|
6601
|
+
], No = Or(sr, [
|
|
6607
6602
|
w.EMAIL_SCOPE
|
|
6608
6603
|
]), gt;
|
|
6609
6604
|
(function(n) {
|
|
@@ -6636,7 +6631,7 @@ var Ze = {
|
|
|
6636
6631
|
(function(n) {
|
|
6637
6632
|
n.ACCOUNT = "account", n.SID = "sid", n.LOGIN_HINT = "login_hint", n.ID_TOKEN = "id_token", n.DOMAIN_HINT = "domain_hint", n.ORGANIZATIONS = "organizations", n.CONSUMERS = "consumers", n.ACCOUNT_ID = "accountIdentifier", n.HOMEACCOUNT_ID = "homeAccountIdentifier";
|
|
6638
6633
|
})(Wn || (Wn = {}));
|
|
6639
|
-
var
|
|
6634
|
+
var Oo = {
|
|
6640
6635
|
PLAIN: "plain",
|
|
6641
6636
|
S256: "S256"
|
|
6642
6637
|
}, wr;
|
|
@@ -6695,7 +6690,7 @@ var Xn = {
|
|
|
6695
6690
|
THROTTLING_PREFIX: "throttling",
|
|
6696
6691
|
// Value assigned to the x-ms-lib-capability header to indicate to the server the library supports throttling
|
|
6697
6692
|
X_MS_LIB_CAPABILITY_VALUE: "retry-after, h429"
|
|
6698
|
-
},
|
|
6693
|
+
}, Lo = {
|
|
6699
6694
|
INVALID_GRANT_ERROR: "invalid_grant",
|
|
6700
6695
|
CLIENT_MISMATCH_ERROR: "client_mismatch"
|
|
6701
6696
|
}, kr;
|
|
@@ -7277,7 +7272,7 @@ var go = (
|
|
|
7277
7272
|
}()
|
|
7278
7273
|
);
|
|
7279
7274
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7280
|
-
var
|
|
7275
|
+
var gi = "@azure/msal-common", mo = "13.3.1";
|
|
7281
7276
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7282
7277
|
var rr;
|
|
7283
7278
|
(function(n) {
|
|
@@ -7467,7 +7462,7 @@ var Xe = (
|
|
|
7467
7462
|
});
|
|
7468
7463
|
}, n.prototype.containsOnlyOIDCScopes = function() {
|
|
7469
7464
|
var e = this, t = 0;
|
|
7470
|
-
return
|
|
7465
|
+
return No.forEach(function(r) {
|
|
7471
7466
|
e.containsScope(r) && (t += 1);
|
|
7472
7467
|
}), this.scopes.size === t;
|
|
7473
7468
|
}, n.prototype.appendScope = function(e) {
|
|
@@ -7487,7 +7482,7 @@ var Xe = (
|
|
|
7487
7482
|
this.scopes.delete(e.trim());
|
|
7488
7483
|
}, n.prototype.removeOIDCScopes = function() {
|
|
7489
7484
|
var e = this;
|
|
7490
|
-
|
|
7485
|
+
No.forEach(function(t) {
|
|
7491
7486
|
e.scopes.delete(t);
|
|
7492
7487
|
});
|
|
7493
7488
|
}, n.prototype.unionScopeSets = function(e) {
|
|
@@ -7670,7 +7665,7 @@ var ot = (
|
|
|
7670
7665
|
/** @class */
|
|
7671
7666
|
function() {
|
|
7672
7667
|
function n(e, t, r) {
|
|
7673
|
-
this.clientId = e, this.cryptoImpl = t, this.commonLogger = r.clone(
|
|
7668
|
+
this.clientId = e, this.cryptoImpl = t, this.commonLogger = r.clone(gi, mo);
|
|
7674
7669
|
}
|
|
7675
7670
|
return n.prototype.getAllAccounts = function() {
|
|
7676
7671
|
var e = this, t = this.getAccountKeys();
|
|
@@ -8123,7 +8118,7 @@ var ot = (
|
|
|
8123
8118
|
}(ot)
|
|
8124
8119
|
);
|
|
8125
8120
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8126
|
-
var ja = 300,
|
|
8121
|
+
var ja = 300, mi = {
|
|
8127
8122
|
tokenRenewalOffsetSeconds: ja,
|
|
8128
8123
|
preventCorsPreflight: !1
|
|
8129
8124
|
}, Fa = {
|
|
@@ -8172,7 +8167,7 @@ function Wa(n) {
|
|
|
8172
8167
|
var e = n.authOptions, t = n.systemOptions, r = n.loggerOptions, o = n.cacheOptions, i = n.storageInterface, a = n.networkInterface, s = n.cryptoInterface, u = n.clientCredentials, p = n.libraryInfo, l = n.telemetry, m = n.serverTelemetryManager, f = n.persistencePlugin, k = n.serializableCache, E = ge(ge({}, Fa), r);
|
|
8173
8168
|
return {
|
|
8174
8169
|
authOptions: $a(e),
|
|
8175
|
-
systemOptions: ge(ge({},
|
|
8170
|
+
systemOptions: ge(ge({}, mi), t),
|
|
8176
8171
|
loggerOptions: E,
|
|
8177
8172
|
cacheOptions: ge(ge({}, qa), o),
|
|
8178
8173
|
storageInterface: i || new Ha(e.clientId, Cr, new go(E)),
|
|
@@ -8313,8 +8308,8 @@ var bn = (
|
|
|
8313
8308
|
this.validateCodeChallengeMethod(t);
|
|
8314
8309
|
}, n.validateCodeChallengeMethod = function(e) {
|
|
8315
8310
|
if ([
|
|
8316
|
-
|
|
8317
|
-
|
|
8311
|
+
Oo.PLAIN,
|
|
8312
|
+
Oo.S256
|
|
8318
8313
|
].indexOf(e) < 0)
|
|
8319
8314
|
throw Ee.createInvalidCodeChallengeMethodError();
|
|
8320
8315
|
}, n.sanitizeEQParams = function(e, t) {
|
|
@@ -8451,7 +8446,7 @@ var _o = (
|
|
|
8451
8446
|
/** @class */
|
|
8452
8447
|
function() {
|
|
8453
8448
|
function n(e, t) {
|
|
8454
|
-
this.config = Wa(e), this.logger = new go(this.config.loggerOptions,
|
|
8449
|
+
this.config = Wa(e), this.logger = new go(this.config.loggerOptions, gi, mo), this.cryptoUtils = this.config.cryptoInterface, this.cacheManager = this.config.storageInterface, this.networkClient = this.config.networkInterface, this.networkManager = new Ja(this.networkClient, this.cacheManager), this.serverTelemetryManager = this.config.serverTelemetryManager, this.authority = this.config.authOptions.authority, this.performanceClient = t;
|
|
8455
8450
|
}
|
|
8456
8451
|
return n.prototype.createTokenRequestHeaders = function(e) {
|
|
8457
8452
|
var t = {};
|
|
@@ -8631,7 +8626,7 @@ var On = (
|
|
|
8631
8626
|
}(vo)
|
|
8632
8627
|
);
|
|
8633
8628
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8634
|
-
var
|
|
8629
|
+
var zo = [
|
|
8635
8630
|
"interaction_required",
|
|
8636
8631
|
"consent_required",
|
|
8637
8632
|
"login_required"
|
|
@@ -8659,7 +8654,7 @@ var Lo = [
|
|
|
8659
8654
|
return Object.setPrototypeOf(p, e.prototype), p.timestamp = i || w.EMPTY_STRING, p.traceId = a || w.EMPTY_STRING, p.correlationId = s || w.EMPTY_STRING, p.claims = u || w.EMPTY_STRING, p.name = "InteractionRequiredAuthError", p;
|
|
8660
8655
|
}
|
|
8661
8656
|
return e.isInteractionRequiredError = function(t, r, o) {
|
|
8662
|
-
var i = !!t &&
|
|
8657
|
+
var i = !!t && zo.indexOf(t) > -1, a = !!o && Xa.indexOf(o) > -1, s = !!r && zo.some(function(u) {
|
|
8663
8658
|
return r.indexOf(u) > -1;
|
|
8664
8659
|
});
|
|
8665
8660
|
return i || s || a;
|
|
@@ -9080,7 +9075,7 @@ var Ir = (
|
|
|
9080
9075
|
}()
|
|
9081
9076
|
);
|
|
9082
9077
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9083
|
-
var
|
|
9078
|
+
var _i = (
|
|
9084
9079
|
/** @class */
|
|
9085
9080
|
function(n) {
|
|
9086
9081
|
st(e, n);
|
|
@@ -9279,7 +9274,7 @@ var mi = (
|
|
|
9279
9274
|
}(_o)
|
|
9280
9275
|
);
|
|
9281
9276
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9282
|
-
var
|
|
9277
|
+
var vi = (
|
|
9283
9278
|
/** @class */
|
|
9284
9279
|
function(n) {
|
|
9285
9280
|
st(e, n);
|
|
@@ -9326,7 +9321,7 @@ var _i = (
|
|
|
9326
9321
|
try {
|
|
9327
9322
|
return (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !0)];
|
|
9328
9323
|
} catch (m) {
|
|
9329
|
-
if (u = m instanceof Pt && m.errorCode === Ln.noTokensFoundError.code, p = m instanceof In && m.errorCode ===
|
|
9324
|
+
if (u = m instanceof Pt && m.errorCode === Ln.noTokensFoundError.code, p = m instanceof In && m.errorCode === Lo.INVALID_GRANT_ERROR && m.subError === Lo.CLIENT_MISMATCH_ERROR, u || p)
|
|
9330
9325
|
return (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(A.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !1)];
|
|
9331
9326
|
throw m;
|
|
9332
9327
|
}
|
|
@@ -9440,7 +9435,7 @@ var ts = (
|
|
|
9440
9435
|
return [2, i.sent()];
|
|
9441
9436
|
case 2:
|
|
9442
9437
|
if (r = i.sent(), r instanceof Y && r.errorCode === B.tokenRefreshRequired.code)
|
|
9443
|
-
return o = new
|
|
9438
|
+
return o = new vi(this.config, this.performanceClient), [2, o.acquireTokenByRefreshToken(t)];
|
|
9444
9439
|
throw r;
|
|
9445
9440
|
case 3:
|
|
9446
9441
|
return [
|
|
@@ -9503,7 +9498,7 @@ function ns(n) {
|
|
|
9503
9498
|
return n.hasOwnProperty("authorization_endpoint") && n.hasOwnProperty("token_endpoint") && n.hasOwnProperty("issuer") && n.hasOwnProperty("jwks_uri");
|
|
9504
9499
|
}
|
|
9505
9500
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9506
|
-
var vi = { 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"] }] } } }, zo = vi.endpointMetadata, xo = vi.instanceDiscoveryMetadata;
|
|
9501
|
+
var yi = { 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"] }] } } }, xo = yi.endpointMetadata, Uo = yi.instanceDiscoveryMetadata;
|
|
9507
9502
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9508
9503
|
var or;
|
|
9509
9504
|
(function(n) {
|
|
@@ -9867,7 +9862,7 @@ var ir = (
|
|
|
9867
9862
|
});
|
|
9868
9863
|
});
|
|
9869
9864
|
}, n.prototype.getEndpointMetadataFromHardcodedValues = function() {
|
|
9870
|
-
return this.canonicalAuthority in
|
|
9865
|
+
return this.canonicalAuthority in xo ? xo[this.canonicalAuthority] : null;
|
|
9871
9866
|
}, n.prototype.updateMetadataWithRegionalInformation = function(e) {
|
|
9872
9867
|
var t, r, o, i;
|
|
9873
9868
|
return oe(this, void 0, void 0, function() {
|
|
@@ -9950,7 +9945,7 @@ Error Description: ` + p.message)), [2, null];
|
|
|
9950
9945
|
});
|
|
9951
9946
|
});
|
|
9952
9947
|
}, n.prototype.getCloudDiscoveryMetadataFromHarcodedValues = function() {
|
|
9953
|
-
return this.canonicalAuthority in
|
|
9948
|
+
return this.canonicalAuthority in Uo ? Uo[this.canonicalAuthority] : null;
|
|
9954
9949
|
}, n.prototype.isInKnownAuthorities = function() {
|
|
9955
9950
|
var e = this, t = this.authorityOptions.knownAuthorities.filter(function(r) {
|
|
9956
9951
|
return le.getDomainFromUrl(r).toLowerCase() === e.hostnameAndPort;
|
|
@@ -10057,7 +10052,7 @@ var Rr = (
|
|
|
10057
10052
|
}()
|
|
10058
10053
|
);
|
|
10059
10054
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10060
|
-
var
|
|
10055
|
+
var Bo = (
|
|
10061
10056
|
/** @class */
|
|
10062
10057
|
function() {
|
|
10063
10058
|
function n() {
|
|
@@ -10091,7 +10086,7 @@ var gr = {
|
|
|
10091
10086
|
code: "missing_alg_error",
|
|
10092
10087
|
desc: "The JOSE Header for the requested JWT, JWS or JWK object requires an algorithm to be specified as the 'alg' header claim. No 'alg' value was provided."
|
|
10093
10088
|
}
|
|
10094
|
-
},
|
|
10089
|
+
}, Do = (
|
|
10095
10090
|
/** @class */
|
|
10096
10091
|
function(n) {
|
|
10097
10092
|
st(e, n);
|
|
@@ -10115,9 +10110,9 @@ var ss = (
|
|
|
10115
10110
|
}
|
|
10116
10111
|
return n.getShrHeaderString = function(e) {
|
|
10117
10112
|
if (!e.kid)
|
|
10118
|
-
throw
|
|
10113
|
+
throw Do.createMissingKidError();
|
|
10119
10114
|
if (!e.alg)
|
|
10120
|
-
throw
|
|
10115
|
+
throw Do.createMissingAlgError();
|
|
10121
10116
|
var t = new n({
|
|
10122
10117
|
// Access Token PoP headers must have type pop, but the type header can be overriden for special cases
|
|
10123
10118
|
typ: e.typ || eo.Pop,
|
|
@@ -10179,7 +10174,7 @@ var cs = (
|
|
|
10179
10174
|
}()
|
|
10180
10175
|
);
|
|
10181
10176
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10182
|
-
var
|
|
10177
|
+
var wi = (
|
|
10183
10178
|
/** @class */
|
|
10184
10179
|
function() {
|
|
10185
10180
|
function n(e, t, r, o, i, a) {
|
|
@@ -10327,7 +10322,7 @@ var yi = (
|
|
|
10327
10322
|
}()
|
|
10328
10323
|
);
|
|
10329
10324
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10330
|
-
var
|
|
10325
|
+
var Ho = (
|
|
10331
10326
|
/** @class */
|
|
10332
10327
|
function() {
|
|
10333
10328
|
function n() {
|
|
@@ -10348,15 +10343,15 @@ var Do = (
|
|
|
10348
10343
|
return e.prototype.generateId = function() {
|
|
10349
10344
|
return "callback-id";
|
|
10350
10345
|
}, e.prototype.startPerformanceMeasuremeant = function() {
|
|
10351
|
-
return new
|
|
10346
|
+
return new Ho();
|
|
10352
10347
|
}, e.prototype.startPerformanceMeasurement = function() {
|
|
10353
|
-
return new
|
|
10348
|
+
return new Ho();
|
|
10354
10349
|
}, e.prototype.calculateQueuedTime = function(t, r) {
|
|
10355
10350
|
return 0;
|
|
10356
10351
|
}, e.prototype.addQueueMeasurement = function(t, r, o) {
|
|
10357
10352
|
}, e.prototype.setPreQueueTime = function(t, r) {
|
|
10358
10353
|
}, e;
|
|
10359
|
-
}(
|
|
10354
|
+
}(wi)
|
|
10360
10355
|
);
|
|
10361
10356
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
10362
10357
|
var U = {
|
|
@@ -10708,16 +10703,16 @@ var W;
|
|
|
10708
10703
|
(function(n) {
|
|
10709
10704
|
n.Redirect = "redirect", n.Popup = "popup", n.Silent = "silent", n.None = "none";
|
|
10710
10705
|
})(W || (W = {}));
|
|
10711
|
-
var
|
|
10706
|
+
var jo;
|
|
10712
10707
|
(function(n) {
|
|
10713
10708
|
n.Startup = "startup", n.Login = "login", n.Logout = "logout", n.AcquireToken = "acquireToken", n.SsoSilent = "ssoSilent", n.HandleRedirect = "handleRedirect", n.None = "none";
|
|
10714
|
-
})(
|
|
10715
|
-
var
|
|
10709
|
+
})(jo || (jo = {}));
|
|
10710
|
+
var Fo = {
|
|
10716
10711
|
scopes: sr
|
|
10717
|
-
}, jn = "jwk",
|
|
10712
|
+
}, jn = "jwk", qo;
|
|
10718
10713
|
(function(n) {
|
|
10719
10714
|
n.React = "@azure/msal-react", n.Angular = "@azure/msal-angular";
|
|
10720
|
-
})(
|
|
10715
|
+
})(qo || (qo = {}));
|
|
10721
10716
|
var oo = "msal.db", us = 1, ds = oo + ".keys", it;
|
|
10722
10717
|
(function(n) {
|
|
10723
10718
|
n[n.Default = 0] = "Default", n[n.AccessToken = 1] = "AccessToken", n[n.AccessTokenAndRefreshToken = 2] = "AccessTokenAndRefreshToken", n[n.RefreshToken = 3] = "RefreshToken", n[n.RefreshTokenAndNetwork = 4] = "RefreshTokenAndNetwork", n[n.Skip = 5] = "Skip";
|
|
@@ -10782,7 +10777,7 @@ var rt = {
|
|
|
10782
10777
|
}(X)
|
|
10783
10778
|
);
|
|
10784
10779
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
10785
|
-
var
|
|
10780
|
+
var Ko = (
|
|
10786
10781
|
/** @class */
|
|
10787
10782
|
function() {
|
|
10788
10783
|
function n(e) {
|
|
@@ -10833,7 +10828,7 @@ var io = (
|
|
|
10833
10828
|
}()
|
|
10834
10829
|
);
|
|
10835
10830
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
10836
|
-
var
|
|
10831
|
+
var bi = (
|
|
10837
10832
|
/** @class */
|
|
10838
10833
|
function() {
|
|
10839
10834
|
function n() {
|
|
@@ -10869,7 +10864,7 @@ var ao = (
|
|
|
10869
10864
|
case Oe.LocalStorage:
|
|
10870
10865
|
case Oe.SessionStorage:
|
|
10871
10866
|
try {
|
|
10872
|
-
return new
|
|
10867
|
+
return new Ko(t);
|
|
10873
10868
|
} catch (r) {
|
|
10874
10869
|
this.logger.verbose(r);
|
|
10875
10870
|
break;
|
|
@@ -10881,7 +10876,7 @@ var ao = (
|
|
|
10881
10876
|
case Oe.LocalStorage:
|
|
10882
10877
|
case Oe.SessionStorage:
|
|
10883
10878
|
try {
|
|
10884
|
-
return new
|
|
10879
|
+
return new Ko(t || Oe.SessionStorage);
|
|
10885
10880
|
} catch (o) {
|
|
10886
10881
|
return this.logger.verbose(o), this.internalStorage;
|
|
10887
10882
|
}
|
|
@@ -11177,7 +11172,7 @@ var ao = (
|
|
|
11177
11172
|
if (!r)
|
|
11178
11173
|
return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"), null;
|
|
11179
11174
|
var o = this.validateAndParseJson(r);
|
|
11180
|
-
return !o || !
|
|
11175
|
+
return !o || !Bo.isThrottlingEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"), ot.toObject(new Bo(), o));
|
|
11181
11176
|
}, e.prototype.setThrottlingCache = function(t, r) {
|
|
11182
11177
|
this.logger.trace("BrowserCacheManager.setThrottlingCache called"), this.setItem(t, JSON.stringify(r));
|
|
11183
11178
|
}, e.prototype.getTemporaryCache = function(t, r) {
|
|
@@ -11329,7 +11324,7 @@ var ao = (
|
|
|
11329
11324
|
if (o.indexOf(ue.REQUEST_STATE) !== -1) {
|
|
11330
11325
|
var i = r.temporaryCacheStorage.getItem(o);
|
|
11331
11326
|
if (i) {
|
|
11332
|
-
var a =
|
|
11327
|
+
var a = bi.extractBrowserRequestState(r.cryptoImpl, i);
|
|
11333
11328
|
a && a.interactionType === t && (r.logger.infoPii("BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: " + i), r.resetRequestCache(i));
|
|
11334
11329
|
}
|
|
11335
11330
|
}
|
|
@@ -11612,7 +11607,7 @@ var Ae = (
|
|
|
11612
11607
|
}()
|
|
11613
11608
|
);
|
|
11614
11609
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11615
|
-
var
|
|
11610
|
+
var ki = (
|
|
11616
11611
|
/** @class */
|
|
11617
11612
|
function() {
|
|
11618
11613
|
function n(e, t, r, o, i, a, s, u, p) {
|
|
@@ -11790,7 +11785,7 @@ var Gn = (
|
|
|
11790
11785
|
case 0:
|
|
11791
11786
|
return this.performanceClient.addQueueMeasurement(A.StandardInteractionClientCreateAuthCodeClient, this.correlationId), this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
11792
11787
|
case 1:
|
|
11793
|
-
return i = a.sent(), [2, new
|
|
11788
|
+
return i = a.sent(), [2, new _i(i, this.performanceClient)];
|
|
11794
11789
|
}
|
|
11795
11790
|
});
|
|
11796
11791
|
});
|
|
@@ -11839,7 +11834,7 @@ var Gn = (
|
|
|
11839
11834
|
}, e.prototype.validateAndExtractStateFromHash = function(t, r, o) {
|
|
11840
11835
|
if (this.logger.verbose("validateAndExtractStateFromHash called", o), !t.state)
|
|
11841
11836
|
throw F.createHashDoesNotContainStateError();
|
|
11842
|
-
var i =
|
|
11837
|
+
var i = bi.extractBrowserRequestState(this.browserCrypto, t.state);
|
|
11843
11838
|
if (!i)
|
|
11844
11839
|
throw F.createUnableToParseStateError();
|
|
11845
11840
|
if (i.interactionType !== r)
|
|
@@ -11889,7 +11884,7 @@ var Gn = (
|
|
|
11889
11884
|
});
|
|
11890
11885
|
});
|
|
11891
11886
|
}, e;
|
|
11892
|
-
}(
|
|
11887
|
+
}(ki)
|
|
11893
11888
|
);
|
|
11894
11889
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11895
11890
|
var yo = (
|
|
@@ -11960,7 +11955,7 @@ var yo = (
|
|
|
11960
11955
|
}()
|
|
11961
11956
|
);
|
|
11962
11957
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11963
|
-
var
|
|
11958
|
+
var Go = (
|
|
11964
11959
|
/** @class */
|
|
11965
11960
|
function(n) {
|
|
11966
11961
|
Ve(e, n);
|
|
@@ -12098,7 +12093,7 @@ var Vn = {
|
|
|
12098
12093
|
}(X)
|
|
12099
12094
|
);
|
|
12100
12095
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
12101
|
-
var
|
|
12096
|
+
var Ci = (
|
|
12102
12097
|
/** @class */
|
|
12103
12098
|
function(n) {
|
|
12104
12099
|
Ve(e, n);
|
|
@@ -12171,7 +12166,7 @@ var Bn = (
|
|
|
12171
12166
|
Ve(e, n);
|
|
12172
12167
|
function e(t, r, o, i, a, s, u, p, l, m, f, k) {
|
|
12173
12168
|
var E = n.call(this, t, r, o, i, a, s, p, l, k) || this;
|
|
12174
|
-
return E.apiId = u, E.accountId = m, E.nativeMessageHandler = l, E.nativeStorageManager = f, E.silentCacheClient = new
|
|
12169
|
+
return E.apiId = u, E.accountId = m, E.nativeMessageHandler = l, E.nativeStorageManager = f, E.silentCacheClient = new Ci(t, E.nativeStorageManager, o, i, a, s, p, l, k), E;
|
|
12175
12170
|
}
|
|
12176
12171
|
return e.prototype.acquireToken = function(t) {
|
|
12177
12172
|
return O(this, void 0, void 0, function() {
|
|
@@ -12292,7 +12287,7 @@ var Bn = (
|
|
|
12292
12287
|
return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), [2, null];
|
|
12293
12288
|
if (t = this.browserStorage.getCachedNativeRequest(), !t)
|
|
12294
12289
|
return this.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."), [2, null];
|
|
12295
|
-
r = t.prompt, o =
|
|
12290
|
+
r = t.prompt, o = Mo(t, ["prompt"]), r && this.logger.verbose("NativeInteractionClient - handleRedirectPromise called and prompt was included in the original request, removing prompt from cached request to prevent second interaction with native broker window."), this.browserStorage.removeItem(this.browserStorage.generateCacheKey(ue.NATIVE_REQUEST)), i = {
|
|
12296
12291
|
method: en.GetToken,
|
|
12297
12292
|
request: o
|
|
12298
12293
|
}, a = kt.nowSeconds(), l.label = 1;
|
|
@@ -12440,7 +12435,7 @@ var Bn = (
|
|
|
12440
12435
|
case 1:
|
|
12441
12436
|
E.sent(), E.label = 2;
|
|
12442
12437
|
case 2:
|
|
12443
|
-
return o = new le(r), o.validateAsUri(), i = t.scopes, a =
|
|
12438
|
+
return o = new le(r), o.validateAsUri(), i = t.scopes, a = Mo(t, ["scopes"]), s = new Xe(i || []), s.appendScopes(sr), u = function() {
|
|
12444
12439
|
switch (k.apiId) {
|
|
12445
12440
|
case Ce.ssoSilent:
|
|
12446
12441
|
case Ce.acquireTokenSilent_silentFlow:
|
|
@@ -12485,7 +12480,7 @@ var Bn = (
|
|
|
12485
12480
|
});
|
|
12486
12481
|
});
|
|
12487
12482
|
}, e;
|
|
12488
|
-
}(
|
|
12483
|
+
}(ki)
|
|
12489
12484
|
);
|
|
12490
12485
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
12491
12486
|
var Sn = (
|
|
@@ -12633,7 +12628,7 @@ var gs = (
|
|
|
12633
12628
|
case 3:
|
|
12634
12629
|
return a = k.sent(), this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(o, r.authority, r.azureCloudOptions)];
|
|
12635
12630
|
case 4:
|
|
12636
|
-
return s = k.sent(), this.logger.verbose("Auth code client created"), u = new
|
|
12631
|
+
return s = k.sent(), this.logger.verbose("Auth code client created"), u = new Go(s, this.browserStorage, a, this.logger, this.browserCrypto, this.performanceClient), [4, s.getAuthCodeUrl($($({}, r), { nativeBroker: Sn.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, t.authenticationScheme) }))];
|
|
12637
12632
|
case 5:
|
|
12638
12633
|
return p = k.sent(), l = this.getRedirectStartPage(t.redirectStartPage), this.logger.verbosePii("Redirect start page: " + l), window.addEventListener("pageshow", i), [4, u.initiateAuthRequest(p, {
|
|
12639
12634
|
navigationClient: this.navigationClient,
|
|
@@ -12732,7 +12727,7 @@ var gs = (
|
|
|
12732
12727
|
throw F.createNoCachedAuthorityError();
|
|
12733
12728
|
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, i.correlationId), [4, this.createAuthCodeClient(o, p)];
|
|
12734
12729
|
case 1:
|
|
12735
|
-
return l = k.sent(), this.logger.verbose("Auth code client created"), Tr.removeThrottle(this.browserStorage, this.config.auth.clientId, i), m = new
|
|
12730
|
+
return l = k.sent(), this.logger.verbose("Auth code client created"), Tr.removeThrottle(this.browserStorage, this.config.auth.clientId, i), m = new Go(l, this.browserStorage, i, this.logger, this.browserCrypto, this.performanceClient), [4, m.handleCodeResponseFromHash(t, r, l.authority, this.networkClient)];
|
|
12736
12731
|
case 2:
|
|
12737
12732
|
return [2, k.sent()];
|
|
12738
12733
|
}
|
|
@@ -13011,7 +13006,7 @@ function bs(n, e) {
|
|
|
13011
13006
|
},
|
|
13012
13007
|
logLevel: Be.Info,
|
|
13013
13008
|
piiLoggingEnabled: !1
|
|
13014
|
-
}, p = $($({},
|
|
13009
|
+
}, p = $($({}, mi), {
|
|
13015
13010
|
loggerOptions: u,
|
|
13016
13011
|
networkClient: e ? Ae.getBrowserNetworkClient() : as,
|
|
13017
13012
|
navigationClient: new _s(),
|
|
@@ -13044,7 +13039,7 @@ function bs(n, e) {
|
|
|
13044
13039
|
return f;
|
|
13045
13040
|
}
|
|
13046
13041
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13047
|
-
var
|
|
13042
|
+
var Ei = (
|
|
13048
13043
|
/** @class */
|
|
13049
13044
|
function(n) {
|
|
13050
13045
|
Ve(e, n);
|
|
@@ -13173,7 +13168,7 @@ var ks = (
|
|
|
13173
13168
|
case 1:
|
|
13174
13169
|
return o = E.sent(), this.performanceClient.setPreQueueTime(A.GetAuthCodeUrl, r.correlationId), [4, t.getAuthCodeUrl($($({}, r), { nativeBroker: Sn.isNativeAvailable(this.config, this.logger, this.nativeMessageHandler, r.authenticationScheme) }))];
|
|
13175
13170
|
case 2:
|
|
13176
|
-
return i = E.sent(), a = new
|
|
13171
|
+
return i = E.sent(), a = new Ei(t, this.browserStorage, o, this.logger, this.config.system, this.performanceClient), this.performanceClient.setPreQueueTime(A.SilentHandlerInitiateAuthRequest, r.correlationId), [4, a.initiateAuthRequest(i)];
|
|
13177
13172
|
case 3:
|
|
13178
13173
|
return s = E.sent(), this.performanceClient.setPreQueueTime(A.SilentHandlerMonitorIframeForHash, r.correlationId), [4, a.monitorIframeForHash(s, this.config.system.iframeHashTimeout)];
|
|
13179
13174
|
case 4:
|
|
@@ -13235,7 +13230,7 @@ var Cs = (
|
|
|
13235
13230
|
case 0:
|
|
13236
13231
|
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
13237
13232
|
case 1:
|
|
13238
|
-
return i = a.sent(), [2, new
|
|
13233
|
+
return i = a.sent(), [2, new vi(i, this.performanceClient)];
|
|
13239
13234
|
}
|
|
13240
13235
|
});
|
|
13241
13236
|
});
|
|
@@ -13305,7 +13300,7 @@ var We = (
|
|
|
13305
13300
|
}()
|
|
13306
13301
|
);
|
|
13307
13302
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13308
|
-
var
|
|
13303
|
+
var Ti = (
|
|
13309
13304
|
/** @class */
|
|
13310
13305
|
function() {
|
|
13311
13306
|
function n(e) {
|
|
@@ -13372,7 +13367,7 @@ var nn = (
|
|
|
13372
13367
|
}()
|
|
13373
13368
|
);
|
|
13374
13369
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13375
|
-
var
|
|
13370
|
+
var Si = (
|
|
13376
13371
|
/** @class */
|
|
13377
13372
|
function() {
|
|
13378
13373
|
function n() {
|
|
@@ -13433,7 +13428,7 @@ var Ss = 32, Is = (
|
|
|
13433
13428
|
/** @class */
|
|
13434
13429
|
function() {
|
|
13435
13430
|
function n(e) {
|
|
13436
|
-
this.base64Encode = new
|
|
13431
|
+
this.base64Encode = new Si(), this.cryptoObj = e;
|
|
13437
13432
|
}
|
|
13438
13433
|
return n.prototype.generateCodes = function() {
|
|
13439
13434
|
return O(this, void 0, void 0, function() {
|
|
@@ -13648,7 +13643,7 @@ var Ps = (
|
|
|
13648
13643
|
}()
|
|
13649
13644
|
);
|
|
13650
13645
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13651
|
-
var Ms = "RSASSA-PKCS1-v1_5",
|
|
13646
|
+
var Ms = "RSASSA-PKCS1-v1_5", Vo = "SHA-256", Ns = 2048, Os = new Uint8Array([1, 0, 1]), Ii = (
|
|
13652
13647
|
/** @class */
|
|
13653
13648
|
function() {
|
|
13654
13649
|
function n(e, t) {
|
|
@@ -13668,7 +13663,7 @@ var Ms = "RSASSA-PKCS1-v1_5", Go = "SHA-256", Ns = 2048, Os = new Uint8Array([1,
|
|
|
13668
13663
|
}
|
|
13669
13664
|
this.keygenAlgorithmOptions = {
|
|
13670
13665
|
name: Ms,
|
|
13671
|
-
hash:
|
|
13666
|
+
hash: Vo,
|
|
13672
13667
|
modulusLength: Ns,
|
|
13673
13668
|
publicExponent: Os
|
|
13674
13669
|
};
|
|
@@ -13683,7 +13678,7 @@ var Ms = "RSASSA-PKCS1-v1_5", Go = "SHA-256", Ns = 2048, Os = new Uint8Array([1,
|
|
|
13683
13678
|
return O(this, void 0, void 0, function() {
|
|
13684
13679
|
var t;
|
|
13685
13680
|
return L(this, function(r) {
|
|
13686
|
-
return t = nn.stringToUtf8Arr(e), [2, this.subtleCrypto.digest({ name:
|
|
13681
|
+
return t = nn.stringToUtf8Arr(e), [2, this.subtleCrypto.digest({ name: Vo }, t)];
|
|
13687
13682
|
});
|
|
13688
13683
|
});
|
|
13689
13684
|
}, n.prototype.getRandomValues = function(e) {
|
|
@@ -13886,7 +13881,7 @@ var Ls = (
|
|
|
13886
13881
|
}()
|
|
13887
13882
|
);
|
|
13888
13883
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13889
|
-
var
|
|
13884
|
+
var Qo = (
|
|
13890
13885
|
/** @class */
|
|
13891
13886
|
function() {
|
|
13892
13887
|
function n(e, t) {
|
|
@@ -14032,7 +14027,7 @@ var zs = (
|
|
|
14032
14027
|
/** @class */
|
|
14033
14028
|
function() {
|
|
14034
14029
|
function n(e) {
|
|
14035
|
-
this.logger = e, this.asymmetricKeys = new
|
|
14030
|
+
this.logger = e, this.asymmetricKeys = new Qo(this.logger, Mr.asymmetricKeys), this.symmetricKeys = new Qo(this.logger, Mr.symmetricKeys);
|
|
14036
14031
|
}
|
|
14037
14032
|
return n.prototype.clear = function() {
|
|
14038
14033
|
return O(this, void 0, void 0, function() {
|
|
@@ -14063,7 +14058,7 @@ var xs = (
|
|
|
14063
14058
|
/** @class */
|
|
14064
14059
|
function() {
|
|
14065
14060
|
function n(e, t, r) {
|
|
14066
|
-
this.logger = e, this.browserCrypto = new
|
|
14061
|
+
this.logger = e, this.browserCrypto = new Ii(this.logger, r), this.b64Encode = new Si(), this.b64Decode = new Ts(), this.guidGenerator = new Ti(this.browserCrypto), this.pkceGenerator = new Is(this.browserCrypto), this.cache = new zs(this.logger), this.performanceClient = t;
|
|
14067
14062
|
}
|
|
14068
14063
|
return n.prototype.createNewGuid = function() {
|
|
14069
14064
|
return this.guidGenerator.generateGuid();
|
|
@@ -14175,7 +14170,7 @@ var xs = (
|
|
|
14175
14170
|
}()
|
|
14176
14171
|
);
|
|
14177
14172
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14178
|
-
var
|
|
14173
|
+
var Yo = (
|
|
14179
14174
|
/** @class */
|
|
14180
14175
|
function() {
|
|
14181
14176
|
function n(e, t) {
|
|
@@ -14231,10 +14226,10 @@ var Us = (
|
|
|
14231
14226
|
Ve(e, n);
|
|
14232
14227
|
function e(t, r, o, i, a, s, u) {
|
|
14233
14228
|
var p = n.call(this, t, r, o, i, a, s) || this;
|
|
14234
|
-
return p.browserCrypto = new
|
|
14229
|
+
return p.browserCrypto = new Ii(p.logger, u), p.guidGenerator = new Ti(p.browserCrypto), p;
|
|
14235
14230
|
}
|
|
14236
14231
|
return e.prototype.startPerformanceMeasuremeant = function(t, r) {
|
|
14237
|
-
return new
|
|
14232
|
+
return new Yo(t, r);
|
|
14238
14233
|
}, e.prototype.generateId = function() {
|
|
14239
14234
|
return this.guidGenerator.generateGuid();
|
|
14240
14235
|
}, e.prototype.getPageVisibility = function() {
|
|
@@ -14244,7 +14239,7 @@ var Us = (
|
|
|
14244
14239
|
var r = this.eventsByCorrelationId.get(t.event.correlationId), o = r && r.eventId === t.event.eventId, i = [];
|
|
14245
14240
|
o && (r != null && r.incompleteSubMeasurements) && r.incompleteSubMeasurements.forEach(function(a) {
|
|
14246
14241
|
i.push($({}, a));
|
|
14247
|
-
}), i.length > 0 &&
|
|
14242
|
+
}), i.length > 0 && Yo.flushMeasurements(t.event.correlationId, i);
|
|
14248
14243
|
}, e.prototype.supportsBrowserPerformanceNow = function() {
|
|
14249
14244
|
return typeof window < "u" && typeof window.performance < "u" && typeof window.performance.now == "function";
|
|
14250
14245
|
}, e.prototype.startMeasurement = function(t, r) {
|
|
@@ -14281,7 +14276,7 @@ var Us = (
|
|
|
14281
14276
|
return n.prototype.addQueueMeasurement.call(this, t, r, u, i);
|
|
14282
14277
|
}
|
|
14283
14278
|
}, e;
|
|
14284
|
-
}(
|
|
14279
|
+
}(wi)
|
|
14285
14280
|
);
|
|
14286
14281
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14287
14282
|
var Bs = (
|
|
@@ -14388,7 +14383,7 @@ var Ds = (
|
|
|
14388
14383
|
return r.includeRedirectUri = !1, r;
|
|
14389
14384
|
}
|
|
14390
14385
|
return e;
|
|
14391
|
-
}(
|
|
14386
|
+
}(_i)
|
|
14392
14387
|
);
|
|
14393
14388
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14394
14389
|
var Hs = (
|
|
@@ -14413,7 +14408,7 @@ var Hs = (
|
|
|
14413
14408
|
case 2:
|
|
14414
14409
|
return l.trys.push([2, 4, , 5]), i = $($({}, r), { code: t.code }), this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, t.correlationId), [4, this.getClientConfiguration(o, r.authority)];
|
|
14415
14410
|
case 3:
|
|
14416
|
-
return a = l.sent(), s = new Ds(a), this.logger.verbose("Auth code client created"), u = new
|
|
14411
|
+
return a = l.sent(), s = new Ds(a), this.logger.verbose("Auth code client created"), u = new Ei(s, this.browserStorage, i, this.logger, this.config.system, this.performanceClient), [2, u.handleCodeResponseFromServer({
|
|
14417
14412
|
code: t.code,
|
|
14418
14413
|
msgraph_host: t.msGraphHost,
|
|
14419
14414
|
cloud_graph_host_name: t.cloudGraphHostName,
|
|
@@ -14815,7 +14810,7 @@ var js = (
|
|
|
14815
14810
|
}, n.prototype.createSilentIframeClient = function(e) {
|
|
14816
14811
|
return new ks(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.ssoSilent, this.performanceClient, this.nativeInternalStorage, this.nativeExtensionProvider, e);
|
|
14817
14812
|
}, n.prototype.createSilentCacheClient = function(e) {
|
|
14818
|
-
return new
|
|
14813
|
+
return new Ci(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeExtensionProvider, e);
|
|
14819
14814
|
}, n.prototype.createSilentRefreshClient = function(e) {
|
|
14820
14815
|
return new Cs(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeExtensionProvider, e);
|
|
14821
14816
|
}, n.prototype.createSilentAuthCodeClient = function(e) {
|
|
@@ -14862,12 +14857,12 @@ var Fs = (
|
|
|
14862
14857
|
return O(this, void 0, void 0, function() {
|
|
14863
14858
|
var r;
|
|
14864
14859
|
return L(this, function(o) {
|
|
14865
|
-
return r = this.getRequestCorrelationId(t), this.logger.verbose("loginRedirect called", r), [2, this.acquireTokenRedirect($({ correlationId: r }, t ||
|
|
14860
|
+
return r = this.getRequestCorrelationId(t), this.logger.verbose("loginRedirect called", r), [2, this.acquireTokenRedirect($({ correlationId: r }, t || Fo))];
|
|
14866
14861
|
});
|
|
14867
14862
|
});
|
|
14868
14863
|
}, e.prototype.loginPopup = function(t) {
|
|
14869
14864
|
var r = this.getRequestCorrelationId(t);
|
|
14870
|
-
return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup($({ correlationId: r }, t ||
|
|
14865
|
+
return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup($({ correlationId: r }, t || Fo));
|
|
14871
14866
|
}, e.prototype.acquireTokenSilent = function(t) {
|
|
14872
14867
|
return O(this, void 0, void 0, function() {
|
|
14873
14868
|
var r, o, i, a, s, u, p, l = this;
|
|
@@ -14971,7 +14966,7 @@ var Fs = (
|
|
|
14971
14966
|
}, e;
|
|
14972
14967
|
}(js)
|
|
14973
14968
|
);
|
|
14974
|
-
class qs extends
|
|
14969
|
+
class qs extends Gi {
|
|
14975
14970
|
async login(e) {
|
|
14976
14971
|
const t = this.createContext(e);
|
|
14977
14972
|
try {
|
|
@@ -15090,7 +15085,7 @@ const Ks = ar("MsAuthPlugin", {
|
|
|
15090
15085
|
return null;
|
|
15091
15086
|
},
|
|
15092
15087
|
compareLangKeys() {
|
|
15093
|
-
const n = Object.keys(
|
|
15088
|
+
const n = Object.keys(oi.default.state), e = Object.keys(ii.default.state), t = Object.keys(ai.default.state), r = Object.keys(di.default.state), o = Object.keys(ci.default.state), i = Object.keys(si.default.state), a = Object.keys(li.default.state), s = Object.keys(ui.default.state);
|
|
15094
15089
|
console.log("In en but not in de", n.filter((u) => !e.includes(u))), console.log("In de but not in en", e.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in es", n.filter((u) => !t.includes(u))), console.log("In es but not in en", t.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in kr", n.filter((u) => !r.includes(u))), console.log("In kr but not in en", r.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in it", n.filter((u) => !o.includes(u))), console.log("In it but not in en", o.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in fr", n.filter((u) => !i.includes(u))), console.log("In fr but not in en", i.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in sr", n.filter((u) => !a.includes(u))), console.log("In sr but not in en", a.filter((u) => !n.includes(u))), console.log(), console.log("In en but not in tr", n.filter((u) => !s.includes(u))), console.log("In tr but not in en", s.filter((u) => !n.includes(u))), console.log();
|
|
15095
15090
|
},
|
|
15096
15091
|
base64ImageToBlob(n) {
|
|
@@ -15268,7 +15263,7 @@ const Ks = ar("MsAuthPlugin", {
|
|
|
15268
15263
|
}
|
|
15269
15264
|
}
|
|
15270
15265
|
};
|
|
15271
|
-
var
|
|
15266
|
+
var Ai = { exports: {} };
|
|
15272
15267
|
(function(n, e) {
|
|
15273
15268
|
(function(t, r) {
|
|
15274
15269
|
n.exports = r();
|
|
@@ -16174,9 +16169,9 @@ var Ii = { exports: {} };
|
|
|
16174
16169
|
} });
|
|
16175
16170
|
}]);
|
|
16176
16171
|
});
|
|
16177
|
-
})(
|
|
16178
|
-
var
|
|
16179
|
-
const
|
|
16172
|
+
})(Ai);
|
|
16173
|
+
var Wo = Ai.exports;
|
|
16174
|
+
const Ri = {
|
|
16180
16175
|
data() {
|
|
16181
16176
|
return {
|
|
16182
16177
|
otpToken: null,
|
|
@@ -16212,10 +16207,10 @@ const Ai = {
|
|
|
16212
16207
|
if (this.account.mfaEnabled)
|
|
16213
16208
|
this.mfaEnable = !0;
|
|
16214
16209
|
else {
|
|
16215
|
-
const e = "Tapni", t =
|
|
16210
|
+
const e = "Tapni", t = Wo.authenticator.generateSecret();
|
|
16216
16211
|
this.otpSecret = t;
|
|
16217
|
-
const r =
|
|
16218
|
-
new
|
|
16212
|
+
const r = Wo.authenticator.keyuri(n, e, t);
|
|
16213
|
+
new Jo({
|
|
16219
16214
|
width: 200,
|
|
16220
16215
|
height: 200,
|
|
16221
16216
|
data: r
|
|
@@ -16268,7 +16263,7 @@ const Ai = {
|
|
|
16268
16263
|
},
|
|
16269
16264
|
refreshQrCode() {
|
|
16270
16265
|
var n, e;
|
|
16271
|
-
this.qrCode && ((e = (n = document.getElementById("qrCodeContainer")) == null ? void 0 : n.childNodes[0]) == null || e.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new
|
|
16266
|
+
this.qrCode && ((e = (n = document.getElementById("qrCodeContainer")) == null ? void 0 : n.childNodes[0]) == null || e.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new Jo({
|
|
16272
16267
|
width: 300,
|
|
16273
16268
|
height: 300,
|
|
16274
16269
|
type: "png",
|
|
@@ -16301,7 +16296,7 @@ const Ai = {
|
|
|
16301
16296
|
}, this.$storex));
|
|
16302
16297
|
if (n)
|
|
16303
16298
|
return this.errorHandler(n);
|
|
16304
|
-
e.data.auth_code && (this.display
|
|
16299
|
+
e.data.auth_code && (this.display !== "popup" && (this.loginSetup({ ...e, isModal: this.isModal }), await this.getLoggedInAccounts()), this.loginSuccess({ ...e, isModal: this.isModal }), clearInterval(this.poolingInterval), clearInterval(this.qrCodeRefreshInterval));
|
|
16305
16300
|
}, 2e3);
|
|
16306
16301
|
},
|
|
16307
16302
|
async initQrCodeLogin() {
|
|
@@ -16312,7 +16307,7 @@ const Ai = {
|
|
|
16312
16307
|
}
|
|
16313
16308
|
}, Vs = {
|
|
16314
16309
|
name: "AuthLogin",
|
|
16315
|
-
mixins: [
|
|
16310
|
+
mixins: [pi, hi, fi, Lr, zr, xr, at, Gs, Ri],
|
|
16316
16311
|
props: {
|
|
16317
16312
|
isModal: {
|
|
16318
16313
|
type: Boolean,
|
|
@@ -16650,7 +16645,7 @@ const wo = /* @__PURE__ */ mt(Vs, [["render", Fc]]), qc = /* @__PURE__ */ Object
|
|
|
16650
16645
|
default: wo
|
|
16651
16646
|
}, Symbol.toStringTag, { value: "Module" })), Kc = {
|
|
16652
16647
|
name: "AuthRegister",
|
|
16653
|
-
mixins: [
|
|
16648
|
+
mixins: [pi, hi, fi, Lr, at],
|
|
16654
16649
|
props: {
|
|
16655
16650
|
isModal: {
|
|
16656
16651
|
type: Boolean,
|
|
@@ -16698,7 +16693,7 @@ const wo = /* @__PURE__ */ mt(Vs, [["render", Fc]]), qc = /* @__PURE__ */ Object
|
|
|
16698
16693
|
captchaToken: await this.getCaptchaToken("account_verify"),
|
|
16699
16694
|
ref: this.referral
|
|
16700
16695
|
}, e = await this.register(n);
|
|
16701
|
-
this.submitted = !1, e.data && e.data.success && (e.data.message === "SUCCESS_REGISTER" ? (this.isModal ? q.$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
|
|
16696
|
+
this.submitted = !1, e.data && e.data.success && (e.data.message === "SUCCESS_REGISTER" ? (this.isModal ? q.$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 })));
|
|
16702
16697
|
},
|
|
16703
16698
|
close() {
|
|
16704
16699
|
q.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
|
|
@@ -17141,7 +17136,7 @@ const ko = /* @__PURE__ */ mt(Bl, [["render", uu], ["__scopeId", "data-v-89d98ef
|
|
|
17141
17136
|
default: ko
|
|
17142
17137
|
}, Symbol.toStringTag, { value: "Module" })), pu = {
|
|
17143
17138
|
name: "AuthMFA",
|
|
17144
|
-
mixins: [at,
|
|
17139
|
+
mixins: [at, Ri],
|
|
17145
17140
|
props: {
|
|
17146
17141
|
payload: {
|
|
17147
17142
|
type: Object,
|
|
@@ -17226,7 +17221,7 @@ function zu(n, e, t, r, o, i) {
|
|
|
17226
17221
|
class: "ios-switch-checkbox",
|
|
17227
17222
|
id: "mfa-open-switch"
|
|
17228
17223
|
}, null, 512), [
|
|
17229
|
-
[
|
|
17224
|
+
[Ui, n.mfaEnable]
|
|
17230
17225
|
]),
|
|
17231
17226
|
wu
|
|
17232
17227
|
])
|
|
@@ -17527,7 +17522,7 @@ const Eo = /* @__PURE__ */ mt(Uu, [["render", yd], ["__scopeId", "data-v-69a9cfa
|
|
|
17527
17522
|
},
|
|
17528
17523
|
methods: {
|
|
17529
17524
|
inAppRedirect() {
|
|
17530
|
-
let n =
|
|
17525
|
+
let n = Vi(location.href);
|
|
17531
17526
|
return n = n.replace("http", "tapni"), n = n.replace("https", "tapni"), window.open(n);
|
|
17532
17527
|
}
|
|
17533
17528
|
}
|
|
@@ -17586,7 +17581,7 @@ function Rd(n, e, t, r, o, i) {
|
|
|
17586
17581
|
onClick: e[0] || (e[0] = (...a) => i.toggleEmit && i.toggleEmit(...a))
|
|
17587
17582
|
}, null, 2);
|
|
17588
17583
|
}
|
|
17589
|
-
const
|
|
17584
|
+
const Pi = /* @__PURE__ */ mt(Ad, [["render", Rd], ["__scopeId", "data-v-17c95816"]]), Pd = {
|
|
17590
17585
|
name: "SSO",
|
|
17591
17586
|
mixins: [Lr, zr, xr, at],
|
|
17592
17587
|
data() {
|
|
@@ -17680,7 +17675,7 @@ function Dd(n, e, t, r, o, i) {
|
|
|
17680
17675
|
])
|
|
17681
17676
|
], 34);
|
|
17682
17677
|
}
|
|
17683
|
-
const
|
|
17678
|
+
const Mi = /* @__PURE__ */ mt(Pd, [["render", Dd], ["__scopeId", "data-v-11f19a09"]]), Hd = {
|
|
17684
17679
|
name: "OTP",
|
|
17685
17680
|
mixins: [at],
|
|
17686
17681
|
data() {
|
|
@@ -17776,7 +17771,7 @@ function Zd(n, e, t, r, o, i) {
|
|
|
17776
17771
|
])
|
|
17777
17772
|
], 34);
|
|
17778
17773
|
}
|
|
17779
|
-
const
|
|
17774
|
+
const Ni = /* @__PURE__ */ mt(Hd, [["render", Zd]]), ep = {
|
|
17780
17775
|
name: "SSOPick",
|
|
17781
17776
|
mixins: [Lr, zr, xr, at],
|
|
17782
17777
|
data() {
|
|
@@ -17878,7 +17873,7 @@ function hp(n, e, t, r, o, i) {
|
|
|
17878
17873
|
])) : pe("", !0)
|
|
17879
17874
|
], 34);
|
|
17880
17875
|
}
|
|
17881
|
-
const
|
|
17876
|
+
const Oi = /* @__PURE__ */ mt(ep, [["render", hp], ["__scopeId", "data-v-4f821f65"]]), fp = {
|
|
17882
17877
|
name: "LinkIcon",
|
|
17883
17878
|
mixins: [at],
|
|
17884
17879
|
props: {
|
|
@@ -18123,7 +18118,7 @@ function Ip(n, e, t, r, o, i) {
|
|
|
18123
18118
|
}, null, 8, ["data"])
|
|
18124
18119
|
], 2);
|
|
18125
18120
|
}
|
|
18126
|
-
const
|
|
18121
|
+
const Li = /* @__PURE__ */ mt(kp, [["render", Ip], ["__scopeId", "data-v-a49a90e5"]]), un = ar("Preferences", {
|
|
18127
18122
|
web: () => import("./web-AImUTDQQ.js").then((n) => new n.PreferencesWeb())
|
|
18128
18123
|
}), At = {
|
|
18129
18124
|
async setObject(n, e) {
|
|
@@ -18241,7 +18236,7 @@ const Oi = /* @__PURE__ */ mt(kp, [["render", Ip], ["__scopeId", "data-v-a49a90e
|
|
|
18241
18236
|
this.strgReady = Qr({ value: !1 }), await Vr._initialize(this.options);
|
|
18242
18237
|
let n = await Vr.getRaw();
|
|
18243
18238
|
const e = Qr(n);
|
|
18244
|
-
this.strg = e, this.strgReady.value = !0,
|
|
18239
|
+
this.strg = e, this.strgReady.value = !0, Bi(e, async () => {
|
|
18245
18240
|
await Vr.setRaw(e);
|
|
18246
18241
|
}, { deep: !0 });
|
|
18247
18242
|
}
|
|
@@ -18287,11 +18282,11 @@ const Pp = { id: "ssoapp" }, Mp = {
|
|
|
18287
18282
|
};
|
|
18288
18283
|
},
|
|
18289
18284
|
components: {
|
|
18290
|
-
Language:
|
|
18291
|
-
OTP:
|
|
18292
|
-
SSOPick:
|
|
18293
|
-
SSO:
|
|
18294
|
-
ModalOverlay:
|
|
18285
|
+
Language: Li,
|
|
18286
|
+
OTP: Ni,
|
|
18287
|
+
SSOPick: Oi,
|
|
18288
|
+
SSO: Mi,
|
|
18289
|
+
ModalOverlay: Pi,
|
|
18295
18290
|
AuthCallback: To,
|
|
18296
18291
|
AuthReset: Eo,
|
|
18297
18292
|
AuthVerify: ko,
|
|
@@ -18336,7 +18331,7 @@ const Pp = { id: "ssoapp" }, Mp = {
|
|
|
18336
18331
|
},
|
|
18337
18332
|
methods: {
|
|
18338
18333
|
async init() {
|
|
18339
|
-
this.$store.commit("auth/setApiRoot", this.$apiRoot ||
|
|
18334
|
+
this.$store.commit("auth/setApiRoot", this.$apiRoot || Ji.env.VUE_APP_API_ROOT), this.setStorage(this.strg), !this.isSetup && (this.isSetup = !0, await this.getLoggedInAccounts(), this.$emit("ssoLibraryReady", this.$storex));
|
|
18340
18335
|
},
|
|
18341
18336
|
ssoOutgoingEvent(n) {
|
|
18342
18337
|
this.$emit("ssoEvent", n);
|
|
@@ -18376,7 +18371,7 @@ const Pp = { id: "ssoapp" }, Mp = {
|
|
|
18376
18371
|
}
|
|
18377
18372
|
}, Gp = /* @__PURE__ */ Object.assign(Kp, {
|
|
18378
18373
|
setup(n) {
|
|
18379
|
-
return window.Buffer =
|
|
18374
|
+
return window.Buffer = aa, document.addEventListener("DOMContentLoaded", function() {
|
|
18380
18375
|
const e = document.createElement("script");
|
|
18381
18376
|
e.src = `https://www.google.com/recaptcha/api.js?render=${Rp.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(e);
|
|
18382
18377
|
}), (e, t) => (N(), x("div", Pp, [
|
|
@@ -18389,11 +18384,11 @@ const Pp = { id: "ssoapp" }, Mp = {
|
|
|
18389
18384
|
}, [
|
|
18390
18385
|
_("span", Lp, Q(e.appLanguage.toUpperCase()), 1)
|
|
18391
18386
|
])) : pe("", !0),
|
|
18392
|
-
De(
|
|
18393
|
-
n.isModal ? pe("", !0) : (N(), ht(
|
|
18394
|
-
n.isModal ? pe("", !0) : (N(), ht(
|
|
18395
|
-
n.isModal ? pe("", !0) : (N(), ht(
|
|
18396
|
-
De(
|
|
18387
|
+
De(Pi),
|
|
18388
|
+
n.isModal ? pe("", !0) : (N(), ht(Li, { key: 2 })),
|
|
18389
|
+
n.isModal ? pe("", !0) : (N(), ht(Mi, { key: 3 })),
|
|
18390
|
+
n.isModal ? pe("", !0) : (N(), ht(Oi, { key: 4 })),
|
|
18391
|
+
De(Ni),
|
|
18397
18392
|
e.initialized && e.renderView === "AuthWelcome" ? (N(), ht(po, { key: 5 })) : e.initialized && e.renderView === "AuthLogin" ? (N(), ht(wo, {
|
|
18398
18393
|
key: 6,
|
|
18399
18394
|
isModal: n.isModal
|
|
@@ -18407,7 +18402,7 @@ const Pp = { id: "ssoapp" }, Mp = {
|
|
|
18407
18402
|
key: 9,
|
|
18408
18403
|
isModal: n.isModal,
|
|
18409
18404
|
payload: n.payload
|
|
18410
|
-
}, null, 8, ["isModal", "payload"])) : e.initialized && e.renderView === "AuthReset" ? (N(), ht(Eo, { key: 10 })) : e.initialized && e.renderView === "AuthCallback" ? (N(), ht(To, { key: 11 })) : e.display !== "npm" ? (N(), ht(
|
|
18405
|
+
}, null, 8, ["isModal", "payload"])) : e.initialized && e.renderView === "AuthReset" ? (N(), ht(Eo, { key: 10 })) : e.initialized && e.renderView === "AuthCallback" ? (N(), ht(To, { key: 11 })) : e.display !== "npm" ? (N(), ht(Di(Fi), { key: 12 })) : pe("", !0),
|
|
18411
18406
|
_("div", zp, [
|
|
18412
18407
|
_("p", xp, [
|
|
18413
18408
|
_("span", Up, Q(e.ssoLang[e.appLanguage].error), 1),
|