@tapni/auth 0.0.140 → 0.0.142
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-kxvHgzkv.js → Account-DfOXI9XU.js} +1 -1
- package/dist/{QR-WTnB1gtM.js → QR--DneK1jw.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +28 -28
- package/dist/{install-VeiW4Fxi.js → install-BW-LknkI.js} +328 -325
- package/package.json +1 -1
- package/src/App.vue +2 -0
- package/src/install.js +6 -3
- package/src/store/auth.js +11 -5
|
@@ -1,24 +1,139 @@
|
|
|
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 Kn, openBlock as N, createElementBlock as U, createElementVNode as _, toDisplayString as Q, createCommentVNode as fe, createVNode as De, withCtx as Gt, createTextVNode as ke, pushScopeId as An, popScopeId as Rn, createStaticVNode as xi, nextTick as So, withModifiers as Ge, normalizeStyle as Bn, 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 he from "await-to-js";
|
|
6
6
|
import co from "axios";
|
|
7
|
-
import { jwtDecode as
|
|
7
|
+
import { jwtDecode as Wo } 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
|
|
10
|
+
import $o from "qr-code-styling";
|
|
11
|
+
import { sanitizeUrl as Vi } from "@braintree/sanitize-url";
|
|
12
|
+
function Qi(n) {
|
|
13
|
+
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
14
|
+
}
|
|
15
|
+
var Jo = { exports: {} }, Me = Jo.exports = {}, Ht, jt;
|
|
16
|
+
function Yr() {
|
|
17
|
+
throw new Error("setTimeout has not been defined");
|
|
18
|
+
}
|
|
19
|
+
function Wr() {
|
|
20
|
+
throw new Error("clearTimeout has not been defined");
|
|
21
|
+
}
|
|
22
|
+
(function() {
|
|
23
|
+
try {
|
|
24
|
+
typeof setTimeout == "function" ? Ht = setTimeout : Ht = Yr;
|
|
25
|
+
} catch {
|
|
26
|
+
Ht = Yr;
|
|
27
|
+
}
|
|
28
|
+
try {
|
|
29
|
+
typeof clearTimeout == "function" ? jt = clearTimeout : jt = Wr;
|
|
30
|
+
} catch {
|
|
31
|
+
jt = Wr;
|
|
32
|
+
}
|
|
33
|
+
})();
|
|
34
|
+
function Xo(n) {
|
|
35
|
+
if (Ht === setTimeout)
|
|
36
|
+
return setTimeout(n, 0);
|
|
37
|
+
if ((Ht === Yr || !Ht) && setTimeout)
|
|
38
|
+
return Ht = setTimeout, setTimeout(n, 0);
|
|
39
|
+
try {
|
|
40
|
+
return Ht(n, 0);
|
|
41
|
+
} catch {
|
|
42
|
+
try {
|
|
43
|
+
return Ht.call(null, n, 0);
|
|
44
|
+
} catch {
|
|
45
|
+
return Ht.call(this, n, 0);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
function Yi(n) {
|
|
50
|
+
if (jt === clearTimeout)
|
|
51
|
+
return clearTimeout(n);
|
|
52
|
+
if ((jt === Wr || !jt) && clearTimeout)
|
|
53
|
+
return jt = clearTimeout, clearTimeout(n);
|
|
54
|
+
try {
|
|
55
|
+
return jt(n);
|
|
56
|
+
} catch {
|
|
57
|
+
try {
|
|
58
|
+
return jt.call(null, n);
|
|
59
|
+
} catch {
|
|
60
|
+
return jt.call(this, n);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
var Xt = [], Dn = !1, kn, mr = -1;
|
|
65
|
+
function Wi() {
|
|
66
|
+
!Dn || !kn || (Dn = !1, kn.length ? Xt = kn.concat(Xt) : mr = -1, Xt.length && Zo());
|
|
67
|
+
}
|
|
68
|
+
function Zo() {
|
|
69
|
+
if (!Dn) {
|
|
70
|
+
var n = Xo(Wi);
|
|
71
|
+
Dn = !0;
|
|
72
|
+
for (var e = Xt.length; e; ) {
|
|
73
|
+
for (kn = Xt, Xt = []; ++mr < e; )
|
|
74
|
+
kn && kn[mr].run();
|
|
75
|
+
mr = -1, e = Xt.length;
|
|
76
|
+
}
|
|
77
|
+
kn = null, Dn = !1, Yi(n);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
Me.nextTick = function(n) {
|
|
81
|
+
var e = new Array(arguments.length - 1);
|
|
82
|
+
if (arguments.length > 1)
|
|
83
|
+
for (var t = 1; t < arguments.length; t++)
|
|
84
|
+
e[t - 1] = arguments[t];
|
|
85
|
+
Xt.push(new ei(n, e)), Xt.length === 1 && !Dn && Xo(Zo);
|
|
86
|
+
};
|
|
87
|
+
function ei(n, e) {
|
|
88
|
+
this.fun = n, this.array = e;
|
|
89
|
+
}
|
|
90
|
+
ei.prototype.run = function() {
|
|
91
|
+
this.fun.apply(null, this.array);
|
|
92
|
+
};
|
|
93
|
+
Me.title = "browser";
|
|
94
|
+
Me.browser = !0;
|
|
95
|
+
Me.env = {};
|
|
96
|
+
Me.argv = [];
|
|
97
|
+
Me.version = "";
|
|
98
|
+
Me.versions = {};
|
|
99
|
+
function rn() {
|
|
100
|
+
}
|
|
101
|
+
Me.on = rn;
|
|
102
|
+
Me.addListener = rn;
|
|
103
|
+
Me.once = rn;
|
|
104
|
+
Me.off = rn;
|
|
105
|
+
Me.removeListener = rn;
|
|
106
|
+
Me.removeAllListeners = rn;
|
|
107
|
+
Me.emit = rn;
|
|
108
|
+
Me.prependListener = rn;
|
|
109
|
+
Me.prependOnceListener = rn;
|
|
110
|
+
Me.listeners = function(n) {
|
|
111
|
+
return [];
|
|
112
|
+
};
|
|
113
|
+
Me.binding = function(n) {
|
|
114
|
+
throw new Error("process.binding is not supported");
|
|
115
|
+
};
|
|
116
|
+
Me.cwd = function() {
|
|
117
|
+
return "/";
|
|
118
|
+
};
|
|
119
|
+
Me.chdir = function(n) {
|
|
120
|
+
throw new Error("process.chdir is not supported");
|
|
121
|
+
};
|
|
122
|
+
Me.umask = function() {
|
|
123
|
+
return 0;
|
|
124
|
+
};
|
|
125
|
+
var $i = Jo.exports;
|
|
126
|
+
const Ji = /* @__PURE__ */ Qi($i);
|
|
12
127
|
var lo = {}, Nr = {};
|
|
13
|
-
Nr.byteLength =
|
|
14
|
-
Nr.toByteArray =
|
|
15
|
-
Nr.fromByteArray =
|
|
16
|
-
var qt = [], bt = [],
|
|
17
|
-
for (var Mn = 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 Mn = 0, Zi = Kr.length; Mn < Zi; ++Mn)
|
|
18
133
|
qt[Mn] = Kr[Mn], bt[Kr.charCodeAt(Mn)] = Mn;
|
|
19
134
|
bt[45] = 62;
|
|
20
135
|
bt[95] = 63;
|
|
21
|
-
function
|
|
136
|
+
function ti(n) {
|
|
22
137
|
var e = n.length;
|
|
23
138
|
if (e % 4 > 0)
|
|
24
139
|
throw new Error("Invalid string. Length must be a multiple of 4");
|
|
@@ -27,30 +142,30 @@ function Xo(n) {
|
|
|
27
142
|
var r = t === e ? 0 : 4 - t % 4;
|
|
28
143
|
return [t, r];
|
|
29
144
|
}
|
|
30
|
-
function
|
|
31
|
-
var e =
|
|
145
|
+
function ea(n) {
|
|
146
|
+
var e = ti(n), t = e[0], r = e[1];
|
|
32
147
|
return (t + r) * 3 / 4 - r;
|
|
33
148
|
}
|
|
34
|
-
function
|
|
149
|
+
function ta(n, e, t) {
|
|
35
150
|
return (e + t) * 3 / 4 - t;
|
|
36
151
|
}
|
|
37
|
-
function
|
|
38
|
-
var e, t =
|
|
152
|
+
function na(n) {
|
|
153
|
+
var e, t = ti(n), r = t[0], o = t[1], i = new Xi(ta(n, r, o)), a = 0, s = o > 0 ? r - 4 : r, u;
|
|
39
154
|
for (u = 0; u < s; u += 4)
|
|
40
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;
|
|
41
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;
|
|
42
157
|
}
|
|
43
|
-
function
|
|
158
|
+
function ra(n) {
|
|
44
159
|
return qt[n >> 18 & 63] + qt[n >> 12 & 63] + qt[n >> 6 & 63] + qt[n & 63];
|
|
45
160
|
}
|
|
46
|
-
function
|
|
161
|
+
function oa(n, e, t) {
|
|
47
162
|
for (var r, o = [], i = e; i < t; i += 3)
|
|
48
|
-
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));
|
|
49
164
|
return o.join("");
|
|
50
165
|
}
|
|
51
|
-
function
|
|
166
|
+
function ia(n) {
|
|
52
167
|
for (var e, t = n.length, r = t % 3, o = [], i = 16383, a = 0, s = t - r; a < s; a += i)
|
|
53
|
-
o.push(
|
|
168
|
+
o.push(oa(n, a, a + i > s ? s : a + i));
|
|
54
169
|
return r === 1 ? (e = n[t - 1], o.push(
|
|
55
170
|
qt[e >> 2] + qt[e << 4 & 63] + "=="
|
|
56
171
|
)) : r === 2 && (e = (n[t - 2] << 8) + n[t - 1], o.push(
|
|
@@ -1060,7 +1175,7 @@ uo.write = function(n, e, t, r, o, i) {
|
|
|
1060
1175
|
throw new Error("BigInt not supported");
|
|
1061
1176
|
}
|
|
1062
1177
|
})(lo);
|
|
1063
|
-
const wn = lo.Buffer,
|
|
1178
|
+
const wn = lo.Buffer, aa = lo.Buffer, pr = Qr(/* @__PURE__ */ new Map()), q = {
|
|
1064
1179
|
$on(n, e) {
|
|
1065
1180
|
let t = pr.get(n);
|
|
1066
1181
|
t || (t = /* @__PURE__ */ new Set(), pr.set(n, t)), t.add(e);
|
|
@@ -1076,8 +1191,8 @@ const wn = lo.Buffer, na = lo.Buffer, pr = Qr(/* @__PURE__ */ new Map()), q = {
|
|
|
1076
1191
|
t && t.delete(e);
|
|
1077
1192
|
}
|
|
1078
1193
|
};
|
|
1079
|
-
|
|
1080
|
-
const
|
|
1194
|
+
zi(q);
|
|
1195
|
+
const sa = {
|
|
1081
1196
|
computed: {
|
|
1082
1197
|
home() {
|
|
1083
1198
|
return this.$storex && this.$storex.token && this.$storex.username ? "/" + this.$storex.username : "/welcome";
|
|
@@ -1143,10 +1258,10 @@ const ra = {
|
|
|
1143
1258
|
}
|
|
1144
1259
|
}
|
|
1145
1260
|
}
|
|
1146
|
-
}, { mapState:
|
|
1147
|
-
mixins: [
|
|
1261
|
+
}, { mapState: ca, mapActions: la, mapGetters: ua } = qi("auth"), at = {
|
|
1262
|
+
mixins: [sa],
|
|
1148
1263
|
computed: {
|
|
1149
|
-
...
|
|
1264
|
+
...ca([
|
|
1150
1265
|
"$storex",
|
|
1151
1266
|
"refreshing",
|
|
1152
1267
|
"loggedInUserId",
|
|
@@ -1160,14 +1275,14 @@ const ra = {
|
|
|
1160
1275
|
"state",
|
|
1161
1276
|
"allowedOriginsAuth"
|
|
1162
1277
|
]),
|
|
1163
|
-
...
|
|
1278
|
+
...ua([
|
|
1164
1279
|
"isLoggedIn",
|
|
1165
1280
|
"renderView",
|
|
1166
1281
|
"appLanguage"
|
|
1167
1282
|
])
|
|
1168
1283
|
},
|
|
1169
1284
|
methods: {
|
|
1170
|
-
...
|
|
1285
|
+
...la([
|
|
1171
1286
|
"setLoggedInAccounts",
|
|
1172
1287
|
"setLoggedInUserId",
|
|
1173
1288
|
"getRefreshTokens",
|
|
@@ -1213,7 +1328,7 @@ const ra = {
|
|
|
1213
1328
|
for (const [r, o] of e)
|
|
1214
1329
|
t[r] = o;
|
|
1215
1330
|
return t;
|
|
1216
|
-
},
|
|
1331
|
+
}, da = {
|
|
1217
1332
|
name: "AuthWelcome",
|
|
1218
1333
|
mixins: [at],
|
|
1219
1334
|
data() {
|
|
@@ -1235,23 +1350,23 @@ const ra = {
|
|
|
1235
1350
|
}, 500);
|
|
1236
1351
|
},
|
|
1237
1352
|
methods: {}
|
|
1238
|
-
},
|
|
1353
|
+
}, ni = (n) => (An("data-v-615ed484"), n = n(), Rn(), n), pa = {
|
|
1239
1354
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
1240
1355
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
1241
|
-
},
|
|
1356
|
+
}, ha = ["autoplay"], fa = /* @__PURE__ */ ni(() => /* @__PURE__ */ _("source", {
|
|
1242
1357
|
src: "https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",
|
|
1243
1358
|
type: "video/mp4"
|
|
1244
|
-
}, null, -1)),
|
|
1245
|
-
|
|
1246
|
-
],
|
|
1359
|
+
}, null, -1)), ga = [
|
|
1360
|
+
fa
|
|
1361
|
+
], 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__ */ ni(() => /* @__PURE__ */ _("div", { class: "clear" }, null, -1)), wa = {
|
|
1247
1362
|
key: 2,
|
|
1248
1363
|
style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
|
|
1249
|
-
},
|
|
1250
|
-
|
|
1364
|
+
}, 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 = [
|
|
1365
|
+
ba
|
|
1251
1366
|
];
|
|
1252
|
-
function
|
|
1367
|
+
function Ca(n, e, t, r, o, i) {
|
|
1253
1368
|
const a = Kn("router-link");
|
|
1254
|
-
return N(), U("div",
|
|
1369
|
+
return N(), U("div", pa, [
|
|
1255
1370
|
_("video", {
|
|
1256
1371
|
id: "tapniVideo",
|
|
1257
1372
|
muted: "",
|
|
@@ -1260,9 +1375,9 @@ function ya(n, e, t, r, o, i) {
|
|
|
1260
1375
|
width: "350",
|
|
1261
1376
|
style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
|
|
1262
1377
|
autoplay: n.isNative
|
|
1263
|
-
},
|
|
1264
|
-
_("h1",
|
|
1265
|
-
_("p",
|
|
1378
|
+
}, ga, 8, ha),
|
|
1379
|
+
_("h1", ma, Q(n.ssoLang[this.appLanguage].welcome), 1),
|
|
1380
|
+
_("p", _a, Q(n.ssoLang[this.appLanguage].welcome_p1), 1),
|
|
1266
1381
|
fe("", !0),
|
|
1267
1382
|
fe("", !0),
|
|
1268
1383
|
De(a, {
|
|
@@ -1275,7 +1390,7 @@ function ya(n, e, t, r, o, i) {
|
|
|
1275
1390
|
]),
|
|
1276
1391
|
_: 1
|
|
1277
1392
|
}),
|
|
1278
|
-
_("div",
|
|
1393
|
+
_("div", va, [
|
|
1279
1394
|
De(a, { to: "/login" }, {
|
|
1280
1395
|
default: Gt(() => [
|
|
1281
1396
|
ke(Q(n.ssoLang[this.appLanguage].already_registered) + "? ", 1),
|
|
@@ -1283,130 +1398,15 @@ function ya(n, e, t, r, o, i) {
|
|
|
1283
1398
|
]),
|
|
1284
1399
|
_: 1
|
|
1285
1400
|
}),
|
|
1286
|
-
|
|
1401
|
+
ya
|
|
1287
1402
|
]),
|
|
1288
|
-
this.isNative ? fe("", !0) : (N(), U("div",
|
|
1403
|
+
this.isNative ? fe("", !0) : (N(), U("div", wa, ka))
|
|
1289
1404
|
]);
|
|
1290
1405
|
}
|
|
1291
|
-
const po = /* @__PURE__ */ mt(
|
|
1406
|
+
const po = /* @__PURE__ */ mt(da, [["render", Ca], ["__scopeId", "data-v-615ed484"]]), Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1292
1407
|
__proto__: null,
|
|
1293
1408
|
default: po
|
|
1294
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1295
|
-
function ka(n) {
|
|
1296
|
-
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
1297
|
-
}
|
|
1298
|
-
var ei = { exports: {} }, Me = ei.exports = {}, Ht, jt;
|
|
1299
|
-
function Yr() {
|
|
1300
|
-
throw new Error("setTimeout has not been defined");
|
|
1301
|
-
}
|
|
1302
|
-
function Wr() {
|
|
1303
|
-
throw new Error("clearTimeout has not been defined");
|
|
1304
|
-
}
|
|
1305
|
-
(function() {
|
|
1306
|
-
try {
|
|
1307
|
-
typeof setTimeout == "function" ? Ht = setTimeout : Ht = Yr;
|
|
1308
|
-
} catch {
|
|
1309
|
-
Ht = Yr;
|
|
1310
|
-
}
|
|
1311
|
-
try {
|
|
1312
|
-
typeof clearTimeout == "function" ? jt = clearTimeout : jt = Wr;
|
|
1313
|
-
} catch {
|
|
1314
|
-
jt = Wr;
|
|
1315
|
-
}
|
|
1316
|
-
})();
|
|
1317
|
-
function ti(n) {
|
|
1318
|
-
if (Ht === setTimeout)
|
|
1319
|
-
return setTimeout(n, 0);
|
|
1320
|
-
if ((Ht === Yr || !Ht) && setTimeout)
|
|
1321
|
-
return Ht = setTimeout, setTimeout(n, 0);
|
|
1322
|
-
try {
|
|
1323
|
-
return Ht(n, 0);
|
|
1324
|
-
} catch {
|
|
1325
|
-
try {
|
|
1326
|
-
return Ht.call(null, n, 0);
|
|
1327
|
-
} catch {
|
|
1328
|
-
return Ht.call(this, n, 0);
|
|
1329
|
-
}
|
|
1330
|
-
}
|
|
1331
|
-
}
|
|
1332
|
-
function Ca(n) {
|
|
1333
|
-
if (jt === clearTimeout)
|
|
1334
|
-
return clearTimeout(n);
|
|
1335
|
-
if ((jt === Wr || !jt) && clearTimeout)
|
|
1336
|
-
return jt = clearTimeout, clearTimeout(n);
|
|
1337
|
-
try {
|
|
1338
|
-
return jt(n);
|
|
1339
|
-
} catch {
|
|
1340
|
-
try {
|
|
1341
|
-
return jt.call(null, n);
|
|
1342
|
-
} catch {
|
|
1343
|
-
return jt.call(this, n);
|
|
1344
|
-
}
|
|
1345
|
-
}
|
|
1346
|
-
}
|
|
1347
|
-
var Xt = [], Dn = !1, kn, mr = -1;
|
|
1348
|
-
function Ea() {
|
|
1349
|
-
!Dn || !kn || (Dn = !1, kn.length ? Xt = kn.concat(Xt) : mr = -1, Xt.length && ni());
|
|
1350
|
-
}
|
|
1351
|
-
function ni() {
|
|
1352
|
-
if (!Dn) {
|
|
1353
|
-
var n = ti(Ea);
|
|
1354
|
-
Dn = !0;
|
|
1355
|
-
for (var e = Xt.length; e; ) {
|
|
1356
|
-
for (kn = Xt, Xt = []; ++mr < e; )
|
|
1357
|
-
kn && kn[mr].run();
|
|
1358
|
-
mr = -1, e = Xt.length;
|
|
1359
|
-
}
|
|
1360
|
-
kn = null, Dn = !1, Ca(n);
|
|
1361
|
-
}
|
|
1362
|
-
}
|
|
1363
|
-
Me.nextTick = function(n) {
|
|
1364
|
-
var e = new Array(arguments.length - 1);
|
|
1365
|
-
if (arguments.length > 1)
|
|
1366
|
-
for (var t = 1; t < arguments.length; t++)
|
|
1367
|
-
e[t - 1] = arguments[t];
|
|
1368
|
-
Xt.push(new ri(n, e)), Xt.length === 1 && !Dn && ti(ni);
|
|
1369
|
-
};
|
|
1370
|
-
function ri(n, e) {
|
|
1371
|
-
this.fun = n, this.array = e;
|
|
1372
|
-
}
|
|
1373
|
-
ri.prototype.run = function() {
|
|
1374
|
-
this.fun.apply(null, this.array);
|
|
1375
|
-
};
|
|
1376
|
-
Me.title = "browser";
|
|
1377
|
-
Me.browser = !0;
|
|
1378
|
-
Me.env = {};
|
|
1379
|
-
Me.argv = [];
|
|
1380
|
-
Me.version = "";
|
|
1381
|
-
Me.versions = {};
|
|
1382
|
-
function rn() {
|
|
1383
|
-
}
|
|
1384
|
-
Me.on = rn;
|
|
1385
|
-
Me.addListener = rn;
|
|
1386
|
-
Me.once = rn;
|
|
1387
|
-
Me.off = rn;
|
|
1388
|
-
Me.removeListener = rn;
|
|
1389
|
-
Me.removeAllListeners = rn;
|
|
1390
|
-
Me.emit = rn;
|
|
1391
|
-
Me.prependListener = rn;
|
|
1392
|
-
Me.prependOnceListener = rn;
|
|
1393
|
-
Me.listeners = function(n) {
|
|
1394
|
-
return [];
|
|
1395
|
-
};
|
|
1396
|
-
Me.binding = function(n) {
|
|
1397
|
-
throw new Error("process.binding is not supported");
|
|
1398
|
-
};
|
|
1399
|
-
Me.cwd = function() {
|
|
1400
|
-
return "/";
|
|
1401
|
-
};
|
|
1402
|
-
Me.chdir = function(n) {
|
|
1403
|
-
throw new Error("process.chdir is not supported");
|
|
1404
|
-
};
|
|
1405
|
-
Me.umask = function() {
|
|
1406
|
-
return 0;
|
|
1407
|
-
};
|
|
1408
|
-
var Ta = ei.exports;
|
|
1409
|
-
const Sa = /* @__PURE__ */ ka(Ta), hr = {
|
|
1409
|
+
}, Symbol.toStringTag, { value: "Module" })), Ta = "0.0.142", hr = {
|
|
1410
1410
|
getMe() {
|
|
1411
1411
|
return ce().get("/users/me");
|
|
1412
1412
|
},
|
|
@@ -1465,7 +1465,7 @@ const Sa = /* @__PURE__ */ ka(Ta), hr = {
|
|
|
1465
1465
|
qrCodePooling(n) {
|
|
1466
1466
|
return ce().post("/company/login/qr", n);
|
|
1467
1467
|
}
|
|
1468
|
-
},
|
|
1468
|
+
}, ri = {
|
|
1469
1469
|
state: {
|
|
1470
1470
|
english: "English",
|
|
1471
1471
|
spanish: "Spanish",
|
|
@@ -1928,7 +1928,7 @@ const Sa = /* @__PURE__ */ ka(Ta), hr = {
|
|
|
1928
1928
|
otp_p1: "If you have trouble signing in, <br> please contact us at",
|
|
1929
1929
|
change_language: "Change language"
|
|
1930
1930
|
}
|
|
1931
|
-
},
|
|
1931
|
+
}, oi = {
|
|
1932
1932
|
state: {
|
|
1933
1933
|
english: "Englisch",
|
|
1934
1934
|
spanish: "Spanisch",
|
|
@@ -2380,7 +2380,7 @@ const Sa = /* @__PURE__ */ ka(Ta), hr = {
|
|
|
2380
2380
|
choose_other_login_methods: "Wählen Sie andere Anmeldeverfahren",
|
|
2381
2381
|
no_sso_logins: "Ihr Unternehmen verwendet keine SSO-Anmeldung. Bitte wenden Sie sich an Ihren Administrator"
|
|
2382
2382
|
}
|
|
2383
|
-
},
|
|
2383
|
+
}, ii = {
|
|
2384
2384
|
state: {
|
|
2385
2385
|
english: "Inglés",
|
|
2386
2386
|
spanish: "Español",
|
|
@@ -2836,7 +2836,7 @@ const Sa = /* @__PURE__ */ ka(Ta), hr = {
|
|
|
2836
2836
|
choose_other_login_methods: "Elige otros métodos de inicio de sesión",
|
|
2837
2837
|
no_sso_logins: "Su empresa no utiliza el inicio de sesión SSO. Comuníquese con su administrador"
|
|
2838
2838
|
}
|
|
2839
|
-
},
|
|
2839
|
+
}, ai = {
|
|
2840
2840
|
state: {
|
|
2841
2841
|
english: "Anglais",
|
|
2842
2842
|
spanish: "Espagnol",
|
|
@@ -3294,7 +3294,7 @@ Il n'y a aucun lien dans votre profil.`,
|
|
|
3294
3294
|
choose_other_login_methods: "Choisissez d'autres méthodes de connexion",
|
|
3295
3295
|
no_sso_logins: "Votre entreprise n'utilise pas de login SSO, veuillez contacter votre administrateur"
|
|
3296
3296
|
}
|
|
3297
|
-
},
|
|
3297
|
+
}, si = {
|
|
3298
3298
|
state: {
|
|
3299
3299
|
english: "Inglese",
|
|
3300
3300
|
spanish: "Spagnolo",
|
|
@@ -3747,7 +3747,7 @@ Il n'y a aucun lien dans votre profil.`,
|
|
|
3747
3747
|
choose_other_login_methods: "Scegli altri metodi di accesso",
|
|
3748
3748
|
no_sso_logins: "La tua azienda non utilizza l'accesso SSO, contatta il tuo amministratore"
|
|
3749
3749
|
}
|
|
3750
|
-
},
|
|
3750
|
+
}, ci = {
|
|
3751
3751
|
state: {
|
|
3752
3752
|
english: "Engleski",
|
|
3753
3753
|
spanish: "Španski",
|
|
@@ -4192,7 +4192,7 @@ Il n'y a aucun lien dans votre profil.`,
|
|
|
4192
4192
|
choose_other_login_methods: "Izaberite druge metode prijavljivanja",
|
|
4193
4193
|
no_sso_logins: "Vaša kompanija ne koristi SSO prijavu, kontaktirajte svog administratora"
|
|
4194
4194
|
}
|
|
4195
|
-
},
|
|
4195
|
+
}, li = {
|
|
4196
4196
|
state: {
|
|
4197
4197
|
english: "İngilizce",
|
|
4198
4198
|
spanish: "İspanyolca",
|
|
@@ -4642,7 +4642,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
4642
4642
|
choose_other_login_methods: "Diğer giriş yöntemlerini seçin",
|
|
4643
4643
|
no_sso_logins: "Şirketiniz SSO girişini kullanmıyor, lütfen yöneticinizle iletişime geçin"
|
|
4644
4644
|
}
|
|
4645
|
-
},
|
|
4645
|
+
}, Sa = {
|
|
4646
4646
|
state: {
|
|
4647
4647
|
english: "英文",
|
|
4648
4648
|
spanish: "西班牙文",
|
|
@@ -5090,7 +5090,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5090
5090
|
choose_other_login_methods: "选择其他登录方法",
|
|
5091
5091
|
no_sso_logins: "您的公司不使用 SSO 登录。 请联系您的管理员"
|
|
5092
5092
|
}
|
|
5093
|
-
},
|
|
5093
|
+
}, ui = {
|
|
5094
5094
|
state: {
|
|
5095
5095
|
english: "영어",
|
|
5096
5096
|
spanish: "스페인어",
|
|
@@ -5547,7 +5547,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5547
5547
|
choose_other_login_methods: "다른 로그인 방법 선택하기",
|
|
5548
5548
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
5549
5549
|
}
|
|
5550
|
-
}, Ao = () => Promise.resolve().then(() =>
|
|
5550
|
+
}, Ao = () => Promise.resolve().then(() => Ea), Ia = () => Promise.resolve().then(() => Kc), Aa = () => Promise.resolve().then(() => Bl), Ra = () => Promise.resolve().then(() => yd), Pa = () => import("./Account-DfOXI9XU.js"), Ma = () => Promise.resolve().then(() => pu), Na = () => Promise.resolve().then(() => Sd), Oa = () => import("./QR--DneK1jw.js"), La = () => Promise.resolve().then(() => zu), za = [
|
|
5551
5551
|
{
|
|
5552
5552
|
path: "/welcome",
|
|
5553
5553
|
name: "AuthWelcome",
|
|
@@ -5556,52 +5556,52 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5556
5556
|
{
|
|
5557
5557
|
path: "/login",
|
|
5558
5558
|
name: "AuthLogin",
|
|
5559
|
-
component:
|
|
5559
|
+
component: Ia
|
|
5560
5560
|
},
|
|
5561
5561
|
{
|
|
5562
5562
|
path: "/callback/saml",
|
|
5563
5563
|
name: "Callback",
|
|
5564
5564
|
alias: ["/callback/okta", "/callback/auth"],
|
|
5565
|
-
component:
|
|
5565
|
+
component: Na
|
|
5566
5566
|
},
|
|
5567
5567
|
{
|
|
5568
5568
|
path: "/qr",
|
|
5569
5569
|
name: "AuthQR",
|
|
5570
|
-
component:
|
|
5570
|
+
component: Oa
|
|
5571
5571
|
},
|
|
5572
5572
|
{
|
|
5573
5573
|
path: "/mfa",
|
|
5574
5574
|
name: "AuthMFA",
|
|
5575
|
-
component:
|
|
5575
|
+
component: La
|
|
5576
5576
|
},
|
|
5577
5577
|
{
|
|
5578
5578
|
path: "/account",
|
|
5579
5579
|
name: "AuthAccount",
|
|
5580
|
-
component:
|
|
5580
|
+
component: Pa
|
|
5581
5581
|
},
|
|
5582
5582
|
{
|
|
5583
5583
|
path: "/reset",
|
|
5584
5584
|
name: "AuthReset",
|
|
5585
|
-
component:
|
|
5585
|
+
component: Ra
|
|
5586
5586
|
},
|
|
5587
5587
|
{
|
|
5588
5588
|
path: "/register",
|
|
5589
5589
|
name: "AuthRegister",
|
|
5590
|
-
component:
|
|
5590
|
+
component: Aa
|
|
5591
5591
|
},
|
|
5592
5592
|
{
|
|
5593
5593
|
path: "/verify",
|
|
5594
5594
|
name: "AuthVerify",
|
|
5595
|
-
component:
|
|
5595
|
+
component: Ma
|
|
5596
5596
|
},
|
|
5597
5597
|
{
|
|
5598
5598
|
path: "/",
|
|
5599
5599
|
name: "404",
|
|
5600
5600
|
component: Ao
|
|
5601
5601
|
}
|
|
5602
|
-
],
|
|
5603
|
-
history:
|
|
5604
|
-
routes:
|
|
5602
|
+
], xa = Hi({
|
|
5603
|
+
history: ji("/"),
|
|
5604
|
+
routes: za
|
|
5605
5605
|
}), ho = {
|
|
5606
5606
|
namespaced: !0,
|
|
5607
5607
|
state: {
|
|
@@ -5616,15 +5616,15 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5616
5616
|
device: {},
|
|
5617
5617
|
loggedInAccounts: {},
|
|
5618
5618
|
ssoLang: {
|
|
5619
|
-
en:
|
|
5620
|
-
de:
|
|
5621
|
-
es:
|
|
5622
|
-
fr:
|
|
5623
|
-
it:
|
|
5624
|
-
sr:
|
|
5625
|
-
tr:
|
|
5626
|
-
cn:
|
|
5627
|
-
kr:
|
|
5619
|
+
en: ri.state,
|
|
5620
|
+
de: oi.state,
|
|
5621
|
+
es: ii.state,
|
|
5622
|
+
fr: ai.state,
|
|
5623
|
+
it: si.state,
|
|
5624
|
+
sr: ci.state,
|
|
5625
|
+
tr: li.state,
|
|
5626
|
+
cn: Sa.state,
|
|
5627
|
+
kr: ui.state
|
|
5628
5628
|
},
|
|
5629
5629
|
display: "npm",
|
|
5630
5630
|
redirect_uri: "https://t.link/callback/auth",
|
|
@@ -5668,11 +5668,14 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5668
5668
|
setLoggedInUserId(n, e) {
|
|
5669
5669
|
n.loggedInUserId = e;
|
|
5670
5670
|
},
|
|
5671
|
+
setRefreshTokens(n, e) {
|
|
5672
|
+
n.$storex.refreshTokens = e;
|
|
5673
|
+
},
|
|
5671
5674
|
setRefreshToken(n, e) {
|
|
5672
5675
|
if (!e)
|
|
5673
5676
|
return;
|
|
5674
5677
|
let t = n.$storex.refreshTokens ? n.$storex.refreshTokens.split(",") : [];
|
|
5675
|
-
t = [
|
|
5678
|
+
t = [e, ...t.filter((r) => r !== e)], n.$storex.refreshTokens = t.join(",");
|
|
5676
5679
|
},
|
|
5677
5680
|
unsetRefreshToken(n, e) {
|
|
5678
5681
|
var t;
|
|
@@ -5810,7 +5813,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5810
5813
|
if (e.display === "redirect")
|
|
5811
5814
|
return e.redirect_uri && !e.allowedOriginsAuth.some(
|
|
5812
5815
|
(i) => e.redirect_uri.startsWith(i)
|
|
5813
|
-
) ? console.error("Redirect URI not allowed") :
|
|
5816
|
+
) ? console.error("Redirect URI not allowed") : xa.push("/account");
|
|
5814
5817
|
e.display === "popup" ? e.allowedOriginsAuth.forEach((i) => {
|
|
5815
5818
|
var a;
|
|
5816
5819
|
(a = window.parent) == null || a.postMessage(
|
|
@@ -5826,7 +5829,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5826
5829
|
}
|
|
5827
5830
|
]), o.isModal && (t("successSnack", e.ssoLang[r.appLanguage].success_login), setTimeout(() => {
|
|
5828
5831
|
location.reload();
|
|
5829
|
-
}, 1500)),
|
|
5832
|
+
}, 1500)), q.$emit("ssoEvent", { name: "redirect", data: "/" + o.data.data.username + "#edit" }));
|
|
5830
5833
|
},
|
|
5831
5834
|
async register({ commit: n, dispatch: e }, t) {
|
|
5832
5835
|
const [r, o] = await he(
|
|
@@ -5903,7 +5906,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5903
5906
|
},
|
|
5904
5907
|
async logout({ commit: n, dispatch: e, state: t }, { refreshToken: r, sendRequest: o = !0 }) {
|
|
5905
5908
|
o && r && $e.logout({ token: r }), t.$storex && (t.$storex.username = "", t.$storex.UserId = "", t.$storex.localUser = "", n("setToken", "")), n("setLoggedInUserId", "");
|
|
5906
|
-
const i =
|
|
5909
|
+
const i = e("unsetRefreshToken", r);
|
|
5907
5910
|
i.length >= 1 && Object.keys(t.loggedInAccounts).forEach((a) => {
|
|
5908
5911
|
t.loggedInAccounts[a].refreshToken === i[0] && e("refreshTokenAction", t.loggedInAccounts[a]).then(() => {
|
|
5909
5912
|
n("setLoggedInUserId", t.loggedInAccounts[a].id), t.$storex && (t.$storex.username = a, t.$storex.UserId = t.loggedInAccounts[a].id), e("getLoggedInAccounts");
|
|
@@ -5949,7 +5952,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5949
5952
|
},
|
|
5950
5953
|
unsetRefreshToken({ commit: n, state: e, dispatch: t, getters: r }, o) {
|
|
5951
5954
|
let i = r.refreshTokens;
|
|
5952
|
-
i = i == null ? void 0 : i.filter((a) => a !== o), n("
|
|
5955
|
+
return i = i == null ? void 0 : i.filter((a) => a !== o), n("setRefreshTokens", i.join(",")), i;
|
|
5953
5956
|
},
|
|
5954
5957
|
setToken({ commit: n }, e) {
|
|
5955
5958
|
n("setToken", e);
|
|
@@ -5986,14 +5989,14 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5986
5989
|
appLanguage: (n) => n.lang,
|
|
5987
5990
|
accessToken: (n) => n.$storex.token,
|
|
5988
5991
|
refreshTokens: (n) => n.$storex.refreshTokens.split(","),
|
|
5989
|
-
apiRoot: (n) => n.apiRoot
|
|
5992
|
+
apiRoot: (n) => n.apiRoot
|
|
5990
5993
|
}
|
|
5991
|
-
}, It =
|
|
5994
|
+
}, It = Ki({
|
|
5992
5995
|
modules: {
|
|
5993
5996
|
auth: ho
|
|
5994
5997
|
}
|
|
5995
5998
|
}), ce = (n = null) => {
|
|
5996
|
-
const e =
|
|
5999
|
+
const e = Ta;
|
|
5997
6000
|
let t = "https://api.tapni.co/v1/";
|
|
5998
6001
|
It.getters["auth/apiRoot"] && (t = It.getters["auth/apiRoot"]);
|
|
5999
6002
|
let r = co.create({
|
|
@@ -6014,7 +6017,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
6014
6017
|
lang: It.getters["auth/appLanguage"],
|
|
6015
6018
|
realm: It.getters["auth/appRealm"] || "app"
|
|
6016
6019
|
}), It.getters["auth/accessToken"] && !n) {
|
|
6017
|
-
const i =
|
|
6020
|
+
const i = Wo(It.getters["auth/accessToken"]);
|
|
6018
6021
|
if (i.exp - 30 < Math.floor(Date.now() / 1e3))
|
|
6019
6022
|
return It.dispatch("auth/refreshTokenAction", i).then(() => (o.headers = {
|
|
6020
6023
|
...o.headers,
|
|
@@ -6089,9 +6092,9 @@ const $e = {
|
|
|
6089
6092
|
getAccountSettings() {
|
|
6090
6093
|
return ce().get("/users/settings");
|
|
6091
6094
|
}
|
|
6092
|
-
},
|
|
6095
|
+
}, Ro = ar("GoogleAuth", {
|
|
6093
6096
|
web: () => import("./web-5VtGcKeU.js").then((n) => new n.GoogleAuthWeb())
|
|
6094
|
-
}),
|
|
6097
|
+
}), di = {
|
|
6095
6098
|
data() {
|
|
6096
6099
|
return {
|
|
6097
6100
|
googleLoad: !1
|
|
@@ -6103,13 +6106,13 @@ const $e = {
|
|
|
6103
6106
|
}
|
|
6104
6107
|
},
|
|
6105
6108
|
mounted() {
|
|
6106
|
-
|
|
6109
|
+
Ro.initialize();
|
|
6107
6110
|
},
|
|
6108
6111
|
methods: {
|
|
6109
6112
|
async googleLogin() {
|
|
6110
6113
|
var t;
|
|
6111
6114
|
this.googleLoad = !0;
|
|
6112
|
-
let [n, e] = await he(
|
|
6115
|
+
let [n, e] = await he(Ro.signIn());
|
|
6113
6116
|
if (n)
|
|
6114
6117
|
return this.googleLoad = !1;
|
|
6115
6118
|
if (this.referral && (e.ref = this.referral), e.authentication && (e.authentication.accessToken || e.authentication.idToken)) {
|
|
@@ -6147,7 +6150,7 @@ window.fbAsyncInit = function() {
|
|
|
6147
6150
|
var r, o = n.getElementsByTagName(e)[0];
|
|
6148
6151
|
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));
|
|
6149
6152
|
})(document, "script", "facebook-jssdk");
|
|
6150
|
-
const
|
|
6153
|
+
const pi = {
|
|
6151
6154
|
data() {
|
|
6152
6155
|
return {
|
|
6153
6156
|
facebookLoad: !1
|
|
@@ -6186,7 +6189,7 @@ const hi = {
|
|
|
6186
6189
|
}
|
|
6187
6190
|
}, Ba = ar("SignInWithApple", {
|
|
6188
6191
|
web: () => import("./web-NrPZl3qD.js").then((n) => new n.SignInWithAppleWeb())
|
|
6189
|
-
}),
|
|
6192
|
+
}), hi = {
|
|
6190
6193
|
data() {
|
|
6191
6194
|
return {
|
|
6192
6195
|
appleLoad: !1
|
|
@@ -6208,7 +6211,7 @@ const hi = {
|
|
|
6208
6211
|
}));
|
|
6209
6212
|
if (n)
|
|
6210
6213
|
return this.appleLoad = !1;
|
|
6211
|
-
if (e.response.tokenData =
|
|
6214
|
+
if (e.response.tokenData = Wo(e.response.identityToken), e && e.response && e.response.identityToken) {
|
|
6212
6215
|
this.referral && (e.response.ref = this.referral), this.display === "popup" && (e.response_type = "code");
|
|
6213
6216
|
const [r, o] = await he($e.appleSDK(e.response, this.$storex));
|
|
6214
6217
|
if (r)
|
|
@@ -6266,7 +6269,7 @@ var $ = function() {
|
|
|
6266
6269
|
return e;
|
|
6267
6270
|
}, $.apply(this, arguments);
|
|
6268
6271
|
};
|
|
6269
|
-
function
|
|
6272
|
+
function Po(n, e) {
|
|
6270
6273
|
var t = {};
|
|
6271
6274
|
for (var r in n)
|
|
6272
6275
|
Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
|
|
@@ -6590,7 +6593,7 @@ var w = {
|
|
|
6590
6593
|
w.OPENID_SCOPE,
|
|
6591
6594
|
w.PROFILE_SCOPE,
|
|
6592
6595
|
w.OFFLINE_ACCESS_SCOPE
|
|
6593
|
-
],
|
|
6596
|
+
], Mo = Or(sr, [
|
|
6594
6597
|
w.EMAIL_SCOPE
|
|
6595
6598
|
]), gt;
|
|
6596
6599
|
(function(n) {
|
|
@@ -6623,7 +6626,7 @@ var Ze = {
|
|
|
6623
6626
|
(function(n) {
|
|
6624
6627
|
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";
|
|
6625
6628
|
})(Wn || (Wn = {}));
|
|
6626
|
-
var
|
|
6629
|
+
var No = {
|
|
6627
6630
|
PLAIN: "plain",
|
|
6628
6631
|
S256: "S256"
|
|
6629
6632
|
}, wr;
|
|
@@ -6682,7 +6685,7 @@ var Xn = {
|
|
|
6682
6685
|
THROTTLING_PREFIX: "throttling",
|
|
6683
6686
|
// Value assigned to the x-ms-lib-capability header to indicate to the server the library supports throttling
|
|
6684
6687
|
X_MS_LIB_CAPABILITY_VALUE: "retry-after, h429"
|
|
6685
|
-
},
|
|
6688
|
+
}, Oo = {
|
|
6686
6689
|
INVALID_GRANT_ERROR: "invalid_grant",
|
|
6687
6690
|
CLIENT_MISMATCH_ERROR: "client_mismatch"
|
|
6688
6691
|
}, kr;
|
|
@@ -7264,7 +7267,7 @@ var go = (
|
|
|
7264
7267
|
}()
|
|
7265
7268
|
);
|
|
7266
7269
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7267
|
-
var
|
|
7270
|
+
var fi = "@azure/msal-common", mo = "13.3.1";
|
|
7268
7271
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
7269
7272
|
var rr;
|
|
7270
7273
|
(function(n) {
|
|
@@ -7454,7 +7457,7 @@ var Xe = (
|
|
|
7454
7457
|
});
|
|
7455
7458
|
}, n.prototype.containsOnlyOIDCScopes = function() {
|
|
7456
7459
|
var e = this, t = 0;
|
|
7457
|
-
return
|
|
7460
|
+
return Mo.forEach(function(r) {
|
|
7458
7461
|
e.containsScope(r) && (t += 1);
|
|
7459
7462
|
}), this.scopes.size === t;
|
|
7460
7463
|
}, n.prototype.appendScope = function(e) {
|
|
@@ -7474,7 +7477,7 @@ var Xe = (
|
|
|
7474
7477
|
this.scopes.delete(e.trim());
|
|
7475
7478
|
}, n.prototype.removeOIDCScopes = function() {
|
|
7476
7479
|
var e = this;
|
|
7477
|
-
|
|
7480
|
+
Mo.forEach(function(t) {
|
|
7478
7481
|
e.scopes.delete(t);
|
|
7479
7482
|
});
|
|
7480
7483
|
}, n.prototype.unionScopeSets = function(e) {
|
|
@@ -7657,7 +7660,7 @@ var ot = (
|
|
|
7657
7660
|
/** @class */
|
|
7658
7661
|
function() {
|
|
7659
7662
|
function n(e, t, r) {
|
|
7660
|
-
this.clientId = e, this.cryptoImpl = t, this.commonLogger = r.clone(
|
|
7663
|
+
this.clientId = e, this.cryptoImpl = t, this.commonLogger = r.clone(fi, mo);
|
|
7661
7664
|
}
|
|
7662
7665
|
return n.prototype.getAllAccounts = function() {
|
|
7663
7666
|
var e = this, t = this.getAccountKeys();
|
|
@@ -8110,7 +8113,7 @@ var ot = (
|
|
|
8110
8113
|
}(ot)
|
|
8111
8114
|
);
|
|
8112
8115
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8113
|
-
var Fa = 300,
|
|
8116
|
+
var Fa = 300, gi = {
|
|
8114
8117
|
tokenRenewalOffsetSeconds: Fa,
|
|
8115
8118
|
preventCorsPreflight: !1
|
|
8116
8119
|
}, qa = {
|
|
@@ -8159,7 +8162,7 @@ function $a(n) {
|
|
|
8159
8162
|
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({}, qa), r);
|
|
8160
8163
|
return {
|
|
8161
8164
|
authOptions: Ja(e),
|
|
8162
|
-
systemOptions: ge(ge({},
|
|
8165
|
+
systemOptions: ge(ge({}, gi), t),
|
|
8163
8166
|
loggerOptions: E,
|
|
8164
8167
|
cacheOptions: ge(ge({}, Ka), o),
|
|
8165
8168
|
storageInterface: i || new ja(e.clientId, Cr, new go(E)),
|
|
@@ -8300,8 +8303,8 @@ var bn = (
|
|
|
8300
8303
|
this.validateCodeChallengeMethod(t);
|
|
8301
8304
|
}, n.validateCodeChallengeMethod = function(e) {
|
|
8302
8305
|
if ([
|
|
8303
|
-
|
|
8304
|
-
|
|
8306
|
+
No.PLAIN,
|
|
8307
|
+
No.S256
|
|
8305
8308
|
].indexOf(e) < 0)
|
|
8306
8309
|
throw Ee.createInvalidCodeChallengeMethodError();
|
|
8307
8310
|
}, n.sanitizeEQParams = function(e, t) {
|
|
@@ -8438,7 +8441,7 @@ var _o = (
|
|
|
8438
8441
|
/** @class */
|
|
8439
8442
|
function() {
|
|
8440
8443
|
function n(e, t) {
|
|
8441
|
-
this.config = $a(e), this.logger = new go(this.config.loggerOptions,
|
|
8444
|
+
this.config = $a(e), this.logger = new go(this.config.loggerOptions, fi, mo), this.cryptoUtils = this.config.cryptoInterface, this.cacheManager = this.config.storageInterface, this.networkClient = this.config.networkInterface, this.networkManager = new Xa(this.networkClient, this.cacheManager), this.serverTelemetryManager = this.config.serverTelemetryManager, this.authority = this.config.authOptions.authority, this.performanceClient = t;
|
|
8442
8445
|
}
|
|
8443
8446
|
return n.prototype.createTokenRequestHeaders = function(e) {
|
|
8444
8447
|
var t = {};
|
|
@@ -8618,7 +8621,7 @@ var zn = (
|
|
|
8618
8621
|
}(vo)
|
|
8619
8622
|
);
|
|
8620
8623
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8621
|
-
var
|
|
8624
|
+
var Lo = [
|
|
8622
8625
|
"interaction_required",
|
|
8623
8626
|
"consent_required",
|
|
8624
8627
|
"login_required"
|
|
@@ -8646,7 +8649,7 @@ var zo = [
|
|
|
8646
8649
|
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;
|
|
8647
8650
|
}
|
|
8648
8651
|
return e.isInteractionRequiredError = function(t, r, o) {
|
|
8649
|
-
var i = !!t &&
|
|
8652
|
+
var i = !!t && Lo.indexOf(t) > -1, a = !!o && Za.indexOf(o) > -1, s = !!r && Lo.some(function(u) {
|
|
8650
8653
|
return r.indexOf(u) > -1;
|
|
8651
8654
|
});
|
|
8652
8655
|
return i || s || a;
|
|
@@ -9067,7 +9070,7 @@ var Ir = (
|
|
|
9067
9070
|
}()
|
|
9068
9071
|
);
|
|
9069
9072
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9070
|
-
var
|
|
9073
|
+
var mi = (
|
|
9071
9074
|
/** @class */
|
|
9072
9075
|
function(n) {
|
|
9073
9076
|
st(e, n);
|
|
@@ -9266,7 +9269,7 @@ var _i = (
|
|
|
9266
9269
|
}(_o)
|
|
9267
9270
|
);
|
|
9268
9271
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9269
|
-
var
|
|
9272
|
+
var _i = (
|
|
9270
9273
|
/** @class */
|
|
9271
9274
|
function(n) {
|
|
9272
9275
|
st(e, n);
|
|
@@ -9313,7 +9316,7 @@ var vi = (
|
|
|
9313
9316
|
try {
|
|
9314
9317
|
return (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !0)];
|
|
9315
9318
|
} catch (m) {
|
|
9316
|
-
if (u = m instanceof Pt && m.errorCode === xn.noTokensFoundError.code, p = m instanceof In && m.errorCode ===
|
|
9319
|
+
if (u = m instanceof Pt && m.errorCode === xn.noTokensFoundError.code, p = m instanceof In && m.errorCode === Oo.INVALID_GRANT_ERROR && m.subError === Oo.CLIENT_MISMATCH_ERROR, u || p)
|
|
9317
9320
|
return (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(A.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !1)];
|
|
9318
9321
|
throw m;
|
|
9319
9322
|
}
|
|
@@ -9427,7 +9430,7 @@ var ns = (
|
|
|
9427
9430
|
return [2, i.sent()];
|
|
9428
9431
|
case 2:
|
|
9429
9432
|
if (r = i.sent(), r instanceof Y && r.errorCode === B.tokenRefreshRequired.code)
|
|
9430
|
-
return o = new
|
|
9433
|
+
return o = new _i(this.config, this.performanceClient), [2, o.acquireTokenByRefreshToken(t)];
|
|
9431
9434
|
throw r;
|
|
9432
9435
|
case 3:
|
|
9433
9436
|
return [
|
|
@@ -9490,7 +9493,7 @@ function rs(n) {
|
|
|
9490
9493
|
return n.hasOwnProperty("authorization_endpoint") && n.hasOwnProperty("token_endpoint") && n.hasOwnProperty("issuer") && n.hasOwnProperty("jwks_uri");
|
|
9491
9494
|
}
|
|
9492
9495
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9493
|
-
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;
|
|
9496
|
+
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;
|
|
9494
9497
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9495
9498
|
var or;
|
|
9496
9499
|
(function(n) {
|
|
@@ -9854,7 +9857,7 @@ var ir = (
|
|
|
9854
9857
|
});
|
|
9855
9858
|
});
|
|
9856
9859
|
}, n.prototype.getEndpointMetadataFromHardcodedValues = function() {
|
|
9857
|
-
return this.canonicalAuthority in
|
|
9860
|
+
return this.canonicalAuthority in zo ? zo[this.canonicalAuthority] : null;
|
|
9858
9861
|
}, n.prototype.updateMetadataWithRegionalInformation = function(e) {
|
|
9859
9862
|
var t, r, o, i;
|
|
9860
9863
|
return oe(this, void 0, void 0, function() {
|
|
@@ -9937,7 +9940,7 @@ Error Description: ` + p.message)), [2, null];
|
|
|
9937
9940
|
});
|
|
9938
9941
|
});
|
|
9939
9942
|
}, n.prototype.getCloudDiscoveryMetadataFromHarcodedValues = function() {
|
|
9940
|
-
return this.canonicalAuthority in
|
|
9943
|
+
return this.canonicalAuthority in xo ? xo[this.canonicalAuthority] : null;
|
|
9941
9944
|
}, n.prototype.isInKnownAuthorities = function() {
|
|
9942
9945
|
var e = this, t = this.authorityOptions.knownAuthorities.filter(function(r) {
|
|
9943
9946
|
return le.getDomainFromUrl(r).toLowerCase() === e.hostnameAndPort;
|
|
@@ -10044,7 +10047,7 @@ var Rr = (
|
|
|
10044
10047
|
}()
|
|
10045
10048
|
);
|
|
10046
10049
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10047
|
-
var
|
|
10050
|
+
var Uo = (
|
|
10048
10051
|
/** @class */
|
|
10049
10052
|
function() {
|
|
10050
10053
|
function n() {
|
|
@@ -10078,7 +10081,7 @@ var gr = {
|
|
|
10078
10081
|
code: "missing_alg_error",
|
|
10079
10082
|
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."
|
|
10080
10083
|
}
|
|
10081
|
-
},
|
|
10084
|
+
}, Bo = (
|
|
10082
10085
|
/** @class */
|
|
10083
10086
|
function(n) {
|
|
10084
10087
|
st(e, n);
|
|
@@ -10102,9 +10105,9 @@ var cs = (
|
|
|
10102
10105
|
}
|
|
10103
10106
|
return n.getShrHeaderString = function(e) {
|
|
10104
10107
|
if (!e.kid)
|
|
10105
|
-
throw
|
|
10108
|
+
throw Bo.createMissingKidError();
|
|
10106
10109
|
if (!e.alg)
|
|
10107
|
-
throw
|
|
10110
|
+
throw Bo.createMissingAlgError();
|
|
10108
10111
|
var t = new n({
|
|
10109
10112
|
// Access Token PoP headers must have type pop, but the type header can be overriden for special cases
|
|
10110
10113
|
typ: e.typ || eo.Pop,
|
|
@@ -10166,7 +10169,7 @@ var ls = (
|
|
|
10166
10169
|
}()
|
|
10167
10170
|
);
|
|
10168
10171
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10169
|
-
var
|
|
10172
|
+
var yi = (
|
|
10170
10173
|
/** @class */
|
|
10171
10174
|
function() {
|
|
10172
10175
|
function n(e, t, r, o, i, a) {
|
|
@@ -10314,7 +10317,7 @@ var wi = (
|
|
|
10314
10317
|
}()
|
|
10315
10318
|
);
|
|
10316
10319
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10317
|
-
var
|
|
10320
|
+
var Do = (
|
|
10318
10321
|
/** @class */
|
|
10319
10322
|
function() {
|
|
10320
10323
|
function n() {
|
|
@@ -10335,15 +10338,15 @@ var Ho = (
|
|
|
10335
10338
|
return e.prototype.generateId = function() {
|
|
10336
10339
|
return "callback-id";
|
|
10337
10340
|
}, e.prototype.startPerformanceMeasuremeant = function() {
|
|
10338
|
-
return new
|
|
10341
|
+
return new Do();
|
|
10339
10342
|
}, e.prototype.startPerformanceMeasurement = function() {
|
|
10340
|
-
return new
|
|
10343
|
+
return new Do();
|
|
10341
10344
|
}, e.prototype.calculateQueuedTime = function(t, r) {
|
|
10342
10345
|
return 0;
|
|
10343
10346
|
}, e.prototype.addQueueMeasurement = function(t, r, o) {
|
|
10344
10347
|
}, e.prototype.setPreQueueTime = function(t, r) {
|
|
10345
10348
|
}, e;
|
|
10346
|
-
}(
|
|
10349
|
+
}(yi)
|
|
10347
10350
|
);
|
|
10348
10351
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
10349
10352
|
var x = {
|
|
@@ -10695,16 +10698,16 @@ var W;
|
|
|
10695
10698
|
(function(n) {
|
|
10696
10699
|
n.Redirect = "redirect", n.Popup = "popup", n.Silent = "silent", n.None = "none";
|
|
10697
10700
|
})(W || (W = {}));
|
|
10698
|
-
var
|
|
10701
|
+
var Ho;
|
|
10699
10702
|
(function(n) {
|
|
10700
10703
|
n.Startup = "startup", n.Login = "login", n.Logout = "logout", n.AcquireToken = "acquireToken", n.SsoSilent = "ssoSilent", n.HandleRedirect = "handleRedirect", n.None = "none";
|
|
10701
|
-
})(
|
|
10702
|
-
var
|
|
10704
|
+
})(Ho || (Ho = {}));
|
|
10705
|
+
var jo = {
|
|
10703
10706
|
scopes: sr
|
|
10704
|
-
}, qn = "jwk",
|
|
10707
|
+
}, qn = "jwk", Fo;
|
|
10705
10708
|
(function(n) {
|
|
10706
10709
|
n.React = "@azure/msal-react", n.Angular = "@azure/msal-angular";
|
|
10707
|
-
})(
|
|
10710
|
+
})(Fo || (Fo = {}));
|
|
10708
10711
|
var oo = "msal.db", ds = 1, ps = oo + ".keys", it;
|
|
10709
10712
|
(function(n) {
|
|
10710
10713
|
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";
|
|
@@ -10769,7 +10772,7 @@ var rt = {
|
|
|
10769
10772
|
}(X)
|
|
10770
10773
|
);
|
|
10771
10774
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
10772
|
-
var
|
|
10775
|
+
var qo = (
|
|
10773
10776
|
/** @class */
|
|
10774
10777
|
function() {
|
|
10775
10778
|
function n(e) {
|
|
@@ -10820,7 +10823,7 @@ var io = (
|
|
|
10820
10823
|
}()
|
|
10821
10824
|
);
|
|
10822
10825
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
10823
|
-
var
|
|
10826
|
+
var wi = (
|
|
10824
10827
|
/** @class */
|
|
10825
10828
|
function() {
|
|
10826
10829
|
function n() {
|
|
@@ -10856,7 +10859,7 @@ var ao = (
|
|
|
10856
10859
|
case Oe.LocalStorage:
|
|
10857
10860
|
case Oe.SessionStorage:
|
|
10858
10861
|
try {
|
|
10859
|
-
return new
|
|
10862
|
+
return new qo(t);
|
|
10860
10863
|
} catch (r) {
|
|
10861
10864
|
this.logger.verbose(r);
|
|
10862
10865
|
break;
|
|
@@ -10868,7 +10871,7 @@ var ao = (
|
|
|
10868
10871
|
case Oe.LocalStorage:
|
|
10869
10872
|
case Oe.SessionStorage:
|
|
10870
10873
|
try {
|
|
10871
|
-
return new
|
|
10874
|
+
return new qo(t || Oe.SessionStorage);
|
|
10872
10875
|
} catch (o) {
|
|
10873
10876
|
return this.logger.verbose(o), this.internalStorage;
|
|
10874
10877
|
}
|
|
@@ -11164,7 +11167,7 @@ var ao = (
|
|
|
11164
11167
|
if (!r)
|
|
11165
11168
|
return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"), null;
|
|
11166
11169
|
var o = this.validateAndParseJson(r);
|
|
11167
|
-
return !o || !
|
|
11170
|
+
return !o || !Uo.isThrottlingEntity(t, o) ? (this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"), null) : (this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"), ot.toObject(new Uo(), o));
|
|
11168
11171
|
}, e.prototype.setThrottlingCache = function(t, r) {
|
|
11169
11172
|
this.logger.trace("BrowserCacheManager.setThrottlingCache called"), this.setItem(t, JSON.stringify(r));
|
|
11170
11173
|
}, e.prototype.getTemporaryCache = function(t, r) {
|
|
@@ -11316,7 +11319,7 @@ var ao = (
|
|
|
11316
11319
|
if (o.indexOf(ue.REQUEST_STATE) !== -1) {
|
|
11317
11320
|
var i = r.temporaryCacheStorage.getItem(o);
|
|
11318
11321
|
if (i) {
|
|
11319
|
-
var a =
|
|
11322
|
+
var a = wi.extractBrowserRequestState(r.cryptoImpl, i);
|
|
11320
11323
|
a && a.interactionType === t && (r.logger.infoPii("BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: " + i), r.resetRequestCache(i));
|
|
11321
11324
|
}
|
|
11322
11325
|
}
|
|
@@ -11599,7 +11602,7 @@ var Ae = (
|
|
|
11599
11602
|
}()
|
|
11600
11603
|
);
|
|
11601
11604
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11602
|
-
var
|
|
11605
|
+
var bi = (
|
|
11603
11606
|
/** @class */
|
|
11604
11607
|
function() {
|
|
11605
11608
|
function n(e, t, r, o, i, a, s, u, p) {
|
|
@@ -11777,7 +11780,7 @@ var Gn = (
|
|
|
11777
11780
|
case 0:
|
|
11778
11781
|
return this.performanceClient.addQueueMeasurement(A.StandardInteractionClientCreateAuthCodeClient, this.correlationId), this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
11779
11782
|
case 1:
|
|
11780
|
-
return i = a.sent(), [2, new
|
|
11783
|
+
return i = a.sent(), [2, new mi(i, this.performanceClient)];
|
|
11781
11784
|
}
|
|
11782
11785
|
});
|
|
11783
11786
|
});
|
|
@@ -11826,7 +11829,7 @@ var Gn = (
|
|
|
11826
11829
|
}, e.prototype.validateAndExtractStateFromHash = function(t, r, o) {
|
|
11827
11830
|
if (this.logger.verbose("validateAndExtractStateFromHash called", o), !t.state)
|
|
11828
11831
|
throw F.createHashDoesNotContainStateError();
|
|
11829
|
-
var i =
|
|
11832
|
+
var i = wi.extractBrowserRequestState(this.browserCrypto, t.state);
|
|
11830
11833
|
if (!i)
|
|
11831
11834
|
throw F.createUnableToParseStateError();
|
|
11832
11835
|
if (i.interactionType !== r)
|
|
@@ -11876,7 +11879,7 @@ var Gn = (
|
|
|
11876
11879
|
});
|
|
11877
11880
|
});
|
|
11878
11881
|
}, e;
|
|
11879
|
-
}(
|
|
11882
|
+
}(bi)
|
|
11880
11883
|
);
|
|
11881
11884
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11882
11885
|
var yo = (
|
|
@@ -11947,7 +11950,7 @@ var yo = (
|
|
|
11947
11950
|
}()
|
|
11948
11951
|
);
|
|
11949
11952
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11950
|
-
var
|
|
11953
|
+
var Ko = (
|
|
11951
11954
|
/** @class */
|
|
11952
11955
|
function(n) {
|
|
11953
11956
|
Ve(e, n);
|
|
@@ -12085,7 +12088,7 @@ var Vn = {
|
|
|
12085
12088
|
}(X)
|
|
12086
12089
|
);
|
|
12087
12090
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
12088
|
-
var
|
|
12091
|
+
var ki = (
|
|
12089
12092
|
/** @class */
|
|
12090
12093
|
function(n) {
|
|
12091
12094
|
Ve(e, n);
|
|
@@ -12158,7 +12161,7 @@ var Hn = (
|
|
|
12158
12161
|
Ve(e, n);
|
|
12159
12162
|
function e(t, r, o, i, a, s, u, p, l, m, f, k) {
|
|
12160
12163
|
var E = n.call(this, t, r, o, i, a, s, p, l, k) || this;
|
|
12161
|
-
return E.apiId = u, E.accountId = m, E.nativeMessageHandler = l, E.nativeStorageManager = f, E.silentCacheClient = new
|
|
12164
|
+
return E.apiId = u, E.accountId = m, E.nativeMessageHandler = l, E.nativeStorageManager = f, E.silentCacheClient = new ki(t, E.nativeStorageManager, o, i, a, s, p, l, k), E;
|
|
12162
12165
|
}
|
|
12163
12166
|
return e.prototype.acquireToken = function(t) {
|
|
12164
12167
|
return O(this, void 0, void 0, function() {
|
|
@@ -12279,7 +12282,7 @@ var Hn = (
|
|
|
12279
12282
|
return this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."), [2, null];
|
|
12280
12283
|
if (t = this.browserStorage.getCachedNativeRequest(), !t)
|
|
12281
12284
|
return this.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."), [2, null];
|
|
12282
|
-
r = t.prompt, o =
|
|
12285
|
+
r = t.prompt, o = Po(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 = {
|
|
12283
12286
|
method: en.GetToken,
|
|
12284
12287
|
request: o
|
|
12285
12288
|
}, a = kt.nowSeconds(), l.label = 1;
|
|
@@ -12427,7 +12430,7 @@ var Hn = (
|
|
|
12427
12430
|
case 1:
|
|
12428
12431
|
E.sent(), E.label = 2;
|
|
12429
12432
|
case 2:
|
|
12430
|
-
return o = new le(r), o.validateAsUri(), i = t.scopes, a =
|
|
12433
|
+
return o = new le(r), o.validateAsUri(), i = t.scopes, a = Po(t, ["scopes"]), s = new Xe(i || []), s.appendScopes(sr), u = function() {
|
|
12431
12434
|
switch (k.apiId) {
|
|
12432
12435
|
case Ce.ssoSilent:
|
|
12433
12436
|
case Ce.acquireTokenSilent_silentFlow:
|
|
@@ -12472,7 +12475,7 @@ var Hn = (
|
|
|
12472
12475
|
});
|
|
12473
12476
|
});
|
|
12474
12477
|
}, e;
|
|
12475
|
-
}(
|
|
12478
|
+
}(bi)
|
|
12476
12479
|
);
|
|
12477
12480
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
12478
12481
|
var Sn = (
|
|
@@ -12620,7 +12623,7 @@ var ms = (
|
|
|
12620
12623
|
case 3:
|
|
12621
12624
|
return a = k.sent(), this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, t.correlationId), [4, this.createAuthCodeClient(o, r.authority, r.azureCloudOptions)];
|
|
12622
12625
|
case 4:
|
|
12623
|
-
return s = k.sent(), this.logger.verbose("Auth code client created"), u = new
|
|
12626
|
+
return s = k.sent(), this.logger.verbose("Auth code client created"), u = new Ko(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) }))];
|
|
12624
12627
|
case 5:
|
|
12625
12628
|
return p = k.sent(), l = this.getRedirectStartPage(t.redirectStartPage), this.logger.verbosePii("Redirect start page: " + l), window.addEventListener("pageshow", i), [4, u.initiateAuthRequest(p, {
|
|
12626
12629
|
navigationClient: this.navigationClient,
|
|
@@ -12719,7 +12722,7 @@ var ms = (
|
|
|
12719
12722
|
throw F.createNoCachedAuthorityError();
|
|
12720
12723
|
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientCreateAuthCodeClient, i.correlationId), [4, this.createAuthCodeClient(o, p)];
|
|
12721
12724
|
case 1:
|
|
12722
|
-
return l = k.sent(), this.logger.verbose("Auth code client created"), Tr.removeThrottle(this.browserStorage, this.config.auth.clientId, i), m = new
|
|
12725
|
+
return l = k.sent(), this.logger.verbose("Auth code client created"), Tr.removeThrottle(this.browserStorage, this.config.auth.clientId, i), m = new Ko(l, this.browserStorage, i, this.logger, this.browserCrypto, this.performanceClient), [4, m.handleCodeResponseFromHash(t, r, l.authority, this.networkClient)];
|
|
12723
12726
|
case 2:
|
|
12724
12727
|
return [2, k.sent()];
|
|
12725
12728
|
}
|
|
@@ -12998,7 +13001,7 @@ function ks(n, e) {
|
|
|
12998
13001
|
},
|
|
12999
13002
|
logLevel: Be.Info,
|
|
13000
13003
|
piiLoggingEnabled: !1
|
|
13001
|
-
}, p = $($({},
|
|
13004
|
+
}, p = $($({}, gi), {
|
|
13002
13005
|
loggerOptions: u,
|
|
13003
13006
|
networkClient: e ? Ae.getBrowserNetworkClient() : ss,
|
|
13004
13007
|
navigationClient: new vs(),
|
|
@@ -13031,7 +13034,7 @@ function ks(n, e) {
|
|
|
13031
13034
|
return f;
|
|
13032
13035
|
}
|
|
13033
13036
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13034
|
-
var
|
|
13037
|
+
var Ci = (
|
|
13035
13038
|
/** @class */
|
|
13036
13039
|
function(n) {
|
|
13037
13040
|
Ve(e, n);
|
|
@@ -13160,7 +13163,7 @@ var Cs = (
|
|
|
13160
13163
|
case 1:
|
|
13161
13164
|
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) }))];
|
|
13162
13165
|
case 2:
|
|
13163
|
-
return i = E.sent(), a = new
|
|
13166
|
+
return i = E.sent(), a = new Ci(t, this.browserStorage, o, this.logger, this.config.system, this.performanceClient), this.performanceClient.setPreQueueTime(A.SilentHandlerInitiateAuthRequest, r.correlationId), [4, a.initiateAuthRequest(i)];
|
|
13164
13167
|
case 3:
|
|
13165
13168
|
return s = E.sent(), this.performanceClient.setPreQueueTime(A.SilentHandlerMonitorIframeForHash, r.correlationId), [4, a.monitorIframeForHash(s, this.config.system.iframeHashTimeout)];
|
|
13166
13169
|
case 4:
|
|
@@ -13222,7 +13225,7 @@ var Es = (
|
|
|
13222
13225
|
case 0:
|
|
13223
13226
|
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
13224
13227
|
case 1:
|
|
13225
|
-
return i = a.sent(), [2, new
|
|
13228
|
+
return i = a.sent(), [2, new _i(i, this.performanceClient)];
|
|
13226
13229
|
}
|
|
13227
13230
|
});
|
|
13228
13231
|
});
|
|
@@ -13292,7 +13295,7 @@ var We = (
|
|
|
13292
13295
|
}()
|
|
13293
13296
|
);
|
|
13294
13297
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13295
|
-
var
|
|
13298
|
+
var Ei = (
|
|
13296
13299
|
/** @class */
|
|
13297
13300
|
function() {
|
|
13298
13301
|
function n(e) {
|
|
@@ -13359,7 +13362,7 @@ var nn = (
|
|
|
13359
13362
|
}()
|
|
13360
13363
|
);
|
|
13361
13364
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13362
|
-
var
|
|
13365
|
+
var Ti = (
|
|
13363
13366
|
/** @class */
|
|
13364
13367
|
function() {
|
|
13365
13368
|
function n() {
|
|
@@ -13420,7 +13423,7 @@ var Is = 32, As = (
|
|
|
13420
13423
|
/** @class */
|
|
13421
13424
|
function() {
|
|
13422
13425
|
function n(e) {
|
|
13423
|
-
this.base64Encode = new
|
|
13426
|
+
this.base64Encode = new Ti(), this.cryptoObj = e;
|
|
13424
13427
|
}
|
|
13425
13428
|
return n.prototype.generateCodes = function() {
|
|
13426
13429
|
return O(this, void 0, void 0, function() {
|
|
@@ -13635,7 +13638,7 @@ var Ms = (
|
|
|
13635
13638
|
}()
|
|
13636
13639
|
);
|
|
13637
13640
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13638
|
-
var Ns = "RSASSA-PKCS1-v1_5",
|
|
13641
|
+
var Ns = "RSASSA-PKCS1-v1_5", Go = "SHA-256", Os = 2048, Ls = new Uint8Array([1, 0, 1]), Si = (
|
|
13639
13642
|
/** @class */
|
|
13640
13643
|
function() {
|
|
13641
13644
|
function n(e, t) {
|
|
@@ -13655,7 +13658,7 @@ var Ns = "RSASSA-PKCS1-v1_5", Vo = "SHA-256", Os = 2048, Ls = new Uint8Array([1,
|
|
|
13655
13658
|
}
|
|
13656
13659
|
this.keygenAlgorithmOptions = {
|
|
13657
13660
|
name: Ns,
|
|
13658
|
-
hash:
|
|
13661
|
+
hash: Go,
|
|
13659
13662
|
modulusLength: Os,
|
|
13660
13663
|
publicExponent: Ls
|
|
13661
13664
|
};
|
|
@@ -13670,7 +13673,7 @@ var Ns = "RSASSA-PKCS1-v1_5", Vo = "SHA-256", Os = 2048, Ls = new Uint8Array([1,
|
|
|
13670
13673
|
return O(this, void 0, void 0, function() {
|
|
13671
13674
|
var t;
|
|
13672
13675
|
return L(this, function(r) {
|
|
13673
|
-
return t = nn.stringToUtf8Arr(e), [2, this.subtleCrypto.digest({ name:
|
|
13676
|
+
return t = nn.stringToUtf8Arr(e), [2, this.subtleCrypto.digest({ name: Go }, t)];
|
|
13674
13677
|
});
|
|
13675
13678
|
});
|
|
13676
13679
|
}, n.prototype.getRandomValues = function(e) {
|
|
@@ -13873,7 +13876,7 @@ var zs = (
|
|
|
13873
13876
|
}()
|
|
13874
13877
|
);
|
|
13875
13878
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13876
|
-
var
|
|
13879
|
+
var Vo = (
|
|
13877
13880
|
/** @class */
|
|
13878
13881
|
function() {
|
|
13879
13882
|
function n(e, t) {
|
|
@@ -14019,7 +14022,7 @@ var xs = (
|
|
|
14019
14022
|
/** @class */
|
|
14020
14023
|
function() {
|
|
14021
14024
|
function n(e) {
|
|
14022
|
-
this.logger = e, this.asymmetricKeys = new
|
|
14025
|
+
this.logger = e, this.asymmetricKeys = new Vo(this.logger, Mr.asymmetricKeys), this.symmetricKeys = new Vo(this.logger, Mr.symmetricKeys);
|
|
14023
14026
|
}
|
|
14024
14027
|
return n.prototype.clear = function() {
|
|
14025
14028
|
return O(this, void 0, void 0, function() {
|
|
@@ -14050,7 +14053,7 @@ var Us = (
|
|
|
14050
14053
|
/** @class */
|
|
14051
14054
|
function() {
|
|
14052
14055
|
function n(e, t, r) {
|
|
14053
|
-
this.logger = e, this.browserCrypto = new
|
|
14056
|
+
this.logger = e, this.browserCrypto = new Si(this.logger, r), this.b64Encode = new Ti(), this.b64Decode = new Ss(), this.guidGenerator = new Ei(this.browserCrypto), this.pkceGenerator = new As(this.browserCrypto), this.cache = new xs(this.logger), this.performanceClient = t;
|
|
14054
14057
|
}
|
|
14055
14058
|
return n.prototype.createNewGuid = function() {
|
|
14056
14059
|
return this.guidGenerator.generateGuid();
|
|
@@ -14162,7 +14165,7 @@ var Us = (
|
|
|
14162
14165
|
}()
|
|
14163
14166
|
);
|
|
14164
14167
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14165
|
-
var
|
|
14168
|
+
var Qo = (
|
|
14166
14169
|
/** @class */
|
|
14167
14170
|
function() {
|
|
14168
14171
|
function n(e, t) {
|
|
@@ -14218,10 +14221,10 @@ var Bs = (
|
|
|
14218
14221
|
Ve(e, n);
|
|
14219
14222
|
function e(t, r, o, i, a, s, u) {
|
|
14220
14223
|
var p = n.call(this, t, r, o, i, a, s) || this;
|
|
14221
|
-
return p.browserCrypto = new
|
|
14224
|
+
return p.browserCrypto = new Si(p.logger, u), p.guidGenerator = new Ei(p.browserCrypto), p;
|
|
14222
14225
|
}
|
|
14223
14226
|
return e.prototype.startPerformanceMeasuremeant = function(t, r) {
|
|
14224
|
-
return new
|
|
14227
|
+
return new Qo(t, r);
|
|
14225
14228
|
}, e.prototype.generateId = function() {
|
|
14226
14229
|
return this.guidGenerator.generateGuid();
|
|
14227
14230
|
}, e.prototype.getPageVisibility = function() {
|
|
@@ -14231,7 +14234,7 @@ var Bs = (
|
|
|
14231
14234
|
var r = this.eventsByCorrelationId.get(t.event.correlationId), o = r && r.eventId === t.event.eventId, i = [];
|
|
14232
14235
|
o && (r != null && r.incompleteSubMeasurements) && r.incompleteSubMeasurements.forEach(function(a) {
|
|
14233
14236
|
i.push($({}, a));
|
|
14234
|
-
}), i.length > 0 &&
|
|
14237
|
+
}), i.length > 0 && Qo.flushMeasurements(t.event.correlationId, i);
|
|
14235
14238
|
}, e.prototype.supportsBrowserPerformanceNow = function() {
|
|
14236
14239
|
return typeof window < "u" && typeof window.performance < "u" && typeof window.performance.now == "function";
|
|
14237
14240
|
}, e.prototype.startMeasurement = function(t, r) {
|
|
@@ -14268,7 +14271,7 @@ var Bs = (
|
|
|
14268
14271
|
return n.prototype.addQueueMeasurement.call(this, t, r, u, i);
|
|
14269
14272
|
}
|
|
14270
14273
|
}, e;
|
|
14271
|
-
}(
|
|
14274
|
+
}(yi)
|
|
14272
14275
|
);
|
|
14273
14276
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14274
14277
|
var Ds = (
|
|
@@ -14375,7 +14378,7 @@ var Hs = (
|
|
|
14375
14378
|
return r.includeRedirectUri = !1, r;
|
|
14376
14379
|
}
|
|
14377
14380
|
return e;
|
|
14378
|
-
}(
|
|
14381
|
+
}(mi)
|
|
14379
14382
|
);
|
|
14380
14383
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14381
14384
|
var js = (
|
|
@@ -14400,7 +14403,7 @@ var js = (
|
|
|
14400
14403
|
case 2:
|
|
14401
14404
|
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)];
|
|
14402
14405
|
case 3:
|
|
14403
|
-
return a = l.sent(), s = new Hs(a), this.logger.verbose("Auth code client created"), u = new
|
|
14406
|
+
return a = l.sent(), s = new Hs(a), this.logger.verbose("Auth code client created"), u = new Ci(s, this.browserStorage, i, this.logger, this.config.system, this.performanceClient), [2, u.handleCodeResponseFromServer({
|
|
14404
14407
|
code: t.code,
|
|
14405
14408
|
msgraph_host: t.msGraphHost,
|
|
14406
14409
|
cloud_graph_host_name: t.cloudGraphHostName,
|
|
@@ -14802,7 +14805,7 @@ var Fs = (
|
|
|
14802
14805
|
}, n.prototype.createSilentIframeClient = function(e) {
|
|
14803
14806
|
return new Cs(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.ssoSilent, this.performanceClient, this.nativeInternalStorage, this.nativeExtensionProvider, e);
|
|
14804
14807
|
}, n.prototype.createSilentCacheClient = function(e) {
|
|
14805
|
-
return new
|
|
14808
|
+
return new ki(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeExtensionProvider, e);
|
|
14806
14809
|
}, n.prototype.createSilentRefreshClient = function(e) {
|
|
14807
14810
|
return new Es(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeExtensionProvider, e);
|
|
14808
14811
|
}, n.prototype.createSilentAuthCodeClient = function(e) {
|
|
@@ -14849,12 +14852,12 @@ var qs = (
|
|
|
14849
14852
|
return O(this, void 0, void 0, function() {
|
|
14850
14853
|
var r;
|
|
14851
14854
|
return L(this, function(o) {
|
|
14852
|
-
return r = this.getRequestCorrelationId(t), this.logger.verbose("loginRedirect called", r), [2, this.acquireTokenRedirect($({ correlationId: r }, t ||
|
|
14855
|
+
return r = this.getRequestCorrelationId(t), this.logger.verbose("loginRedirect called", r), [2, this.acquireTokenRedirect($({ correlationId: r }, t || jo))];
|
|
14853
14856
|
});
|
|
14854
14857
|
});
|
|
14855
14858
|
}, e.prototype.loginPopup = function(t) {
|
|
14856
14859
|
var r = this.getRequestCorrelationId(t);
|
|
14857
|
-
return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup($({ correlationId: r }, t ||
|
|
14860
|
+
return this.logger.verbose("loginPopup called", r), this.acquireTokenPopup($({ correlationId: r }, t || jo));
|
|
14858
14861
|
}, e.prototype.acquireTokenSilent = function(t) {
|
|
14859
14862
|
return O(this, void 0, void 0, function() {
|
|
14860
14863
|
var r, o, i, a, s, u, p, l = this;
|
|
@@ -14958,7 +14961,7 @@ var qs = (
|
|
|
14958
14961
|
}, e;
|
|
14959
14962
|
}(Fs)
|
|
14960
14963
|
);
|
|
14961
|
-
class Ks extends
|
|
14964
|
+
class Ks extends Gi {
|
|
14962
14965
|
async login(e) {
|
|
14963
14966
|
const t = this.createContext(e);
|
|
14964
14967
|
try {
|
|
@@ -15077,7 +15080,7 @@ const Gs = ar("MsAuthPlugin", {
|
|
|
15077
15080
|
return null;
|
|
15078
15081
|
},
|
|
15079
15082
|
compareLangKeys() {
|
|
15080
|
-
const n = Object.keys(
|
|
15083
|
+
const n = Object.keys(ri.default.state), e = Object.keys(oi.default.state), t = Object.keys(ii.default.state), r = Object.keys(ui.default.state), o = Object.keys(si.default.state), i = Object.keys(ai.default.state), a = Object.keys(ci.default.state), s = Object.keys(li.default.state);
|
|
15081
15084
|
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();
|
|
15082
15085
|
},
|
|
15083
15086
|
base64ImageToBlob(n) {
|
|
@@ -15255,7 +15258,7 @@ const Gs = ar("MsAuthPlugin", {
|
|
|
15255
15258
|
}
|
|
15256
15259
|
}
|
|
15257
15260
|
};
|
|
15258
|
-
var
|
|
15261
|
+
var Ii = { exports: {} };
|
|
15259
15262
|
(function(n, e) {
|
|
15260
15263
|
(function(t, r) {
|
|
15261
15264
|
n.exports = r();
|
|
@@ -16161,9 +16164,9 @@ var Ai = { exports: {} };
|
|
|
16161
16164
|
} });
|
|
16162
16165
|
}]);
|
|
16163
16166
|
});
|
|
16164
|
-
})(
|
|
16165
|
-
var
|
|
16166
|
-
const
|
|
16167
|
+
})(Ii);
|
|
16168
|
+
var Yo = Ii.exports;
|
|
16169
|
+
const Ai = {
|
|
16167
16170
|
data() {
|
|
16168
16171
|
return {
|
|
16169
16172
|
otpToken: null,
|
|
@@ -16199,10 +16202,10 @@ const Ri = {
|
|
|
16199
16202
|
if (this.account.mfaEnabled)
|
|
16200
16203
|
this.mfaEnable = !0;
|
|
16201
16204
|
else {
|
|
16202
|
-
const e = "Tapni", t =
|
|
16205
|
+
const e = "Tapni", t = Yo.authenticator.generateSecret();
|
|
16203
16206
|
this.otpSecret = t;
|
|
16204
|
-
const r =
|
|
16205
|
-
new
|
|
16207
|
+
const r = Yo.authenticator.keyuri(n, e, t);
|
|
16208
|
+
new $o({
|
|
16206
16209
|
width: 200,
|
|
16207
16210
|
height: 200,
|
|
16208
16211
|
data: r
|
|
@@ -16255,7 +16258,7 @@ const Ri = {
|
|
|
16255
16258
|
},
|
|
16256
16259
|
refreshQrCode() {
|
|
16257
16260
|
var n, e;
|
|
16258
|
-
this.qrCode && ((e = (n = document.getElementById("qrCodeContainer")) == null ? void 0 : n.childNodes[0]) == null || e.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new
|
|
16261
|
+
this.qrCode && ((e = (n = document.getElementById("qrCodeContainer")) == null ? void 0 : n.childNodes[0]) == null || e.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new $o({
|
|
16259
16262
|
width: 300,
|
|
16260
16263
|
height: 300,
|
|
16261
16264
|
type: "png",
|
|
@@ -16299,7 +16302,7 @@ const Ri = {
|
|
|
16299
16302
|
}
|
|
16300
16303
|
}, Qs = {
|
|
16301
16304
|
name: "AuthLogin",
|
|
16302
|
-
mixins: [pi, hi,
|
|
16305
|
+
mixins: [di, pi, hi, Lr, zr, xr, at, Vs, Ai],
|
|
16303
16306
|
props: {
|
|
16304
16307
|
isModal: {
|
|
16305
16308
|
type: Boolean,
|
|
@@ -16637,7 +16640,7 @@ const wo = /* @__PURE__ */ mt(Qs, [["render", qc]]), Kc = /* @__PURE__ */ Object
|
|
|
16637
16640
|
default: wo
|
|
16638
16641
|
}, Symbol.toStringTag, { value: "Module" })), Gc = {
|
|
16639
16642
|
name: "AuthRegister",
|
|
16640
|
-
mixins: [pi, hi,
|
|
16643
|
+
mixins: [di, pi, hi, Lr, at],
|
|
16641
16644
|
props: {
|
|
16642
16645
|
isModal: {
|
|
16643
16646
|
type: Boolean,
|
|
@@ -17128,7 +17131,7 @@ const ko = /* @__PURE__ */ mt(Dl, [["render", du], ["__scopeId", "data-v-89d98ef
|
|
|
17128
17131
|
default: ko
|
|
17129
17132
|
}, Symbol.toStringTag, { value: "Module" })), hu = {
|
|
17130
17133
|
name: "AuthMFA",
|
|
17131
|
-
mixins: [at,
|
|
17134
|
+
mixins: [at, Ai],
|
|
17132
17135
|
props: {
|
|
17133
17136
|
payload: {
|
|
17134
17137
|
type: Object,
|
|
@@ -17196,7 +17199,7 @@ function Lu(n, e, t, r, o, i) {
|
|
|
17196
17199
|
class: "ios-switch-checkbox",
|
|
17197
17200
|
id: "mfa-open-switch"
|
|
17198
17201
|
}, null, 512), [
|
|
17199
|
-
[
|
|
17202
|
+
[Ui, n.mfaEnable]
|
|
17200
17203
|
]),
|
|
17201
17204
|
yu
|
|
17202
17205
|
])
|
|
@@ -17497,7 +17500,7 @@ const Eo = /* @__PURE__ */ mt(xu, [["render", vd], ["__scopeId", "data-v-69a9cfa
|
|
|
17497
17500
|
},
|
|
17498
17501
|
methods: {
|
|
17499
17502
|
inAppRedirect() {
|
|
17500
|
-
let n =
|
|
17503
|
+
let n = Vi(location.href);
|
|
17501
17504
|
return n = n.replace("http", "tapni"), n = n.replace("https", "tapni"), window.open(n);
|
|
17502
17505
|
}
|
|
17503
17506
|
}
|
|
@@ -17556,7 +17559,7 @@ function Ad(n, e, t, r, o, i) {
|
|
|
17556
17559
|
onClick: e[0] || (e[0] = (...a) => i.toggleEmit && i.toggleEmit(...a))
|
|
17557
17560
|
}, null, 2);
|
|
17558
17561
|
}
|
|
17559
|
-
const
|
|
17562
|
+
const Ri = /* @__PURE__ */ mt(Id, [["render", Ad], ["__scopeId", "data-v-17c95816"]]), Rd = {
|
|
17560
17563
|
name: "SSO",
|
|
17561
17564
|
mixins: [Lr, zr, xr, at],
|
|
17562
17565
|
data() {
|
|
@@ -17650,7 +17653,7 @@ function Bd(n, e, t, r, o, i) {
|
|
|
17650
17653
|
])
|
|
17651
17654
|
], 34);
|
|
17652
17655
|
}
|
|
17653
|
-
const
|
|
17656
|
+
const Pi = /* @__PURE__ */ mt(Rd, [["render", Bd], ["__scopeId", "data-v-11f19a09"]]), Dd = {
|
|
17654
17657
|
name: "OTP",
|
|
17655
17658
|
mixins: [at],
|
|
17656
17659
|
data() {
|
|
@@ -17684,7 +17687,7 @@ const Mi = /* @__PURE__ */ mt(Rd, [["render", Bd], ["__scopeId", "data-v-11f19a0
|
|
|
17684
17687
|
this.toggle = !this.toggle;
|
|
17685
17688
|
}
|
|
17686
17689
|
}
|
|
17687
|
-
},
|
|
17690
|
+
}, Mi = (n) => (An("data-v-2b6d6269"), n = n(), Rn(), n), Hd = /* @__PURE__ */ Mi(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
17688
17691
|
/* @__PURE__ */ _("img", {
|
|
17689
17692
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
17690
17693
|
class: "responsive-image",
|
|
@@ -17699,7 +17702,7 @@ const Mi = /* @__PURE__ */ mt(Rd, [["render", Bd], ["__scopeId", "data-v-11f19a0
|
|
|
17699
17702
|
}, Qd = { key: 0 }, Yd = {
|
|
17700
17703
|
key: 1,
|
|
17701
17704
|
class: "button--loading button__loader"
|
|
17702
|
-
}, Wd = { class: "close-text center-text half-top color-black" }, $d = ["innerHTML"], Jd = /* @__PURE__ */
|
|
17705
|
+
}, Wd = { class: "close-text center-text half-top color-black" }, $d = ["innerHTML"], Jd = /* @__PURE__ */ Mi(() => /* @__PURE__ */ _("a", { href: "mailto:support@tapni.com?subject=MFA Authentication Problem" }, " support@tapni.com", -1));
|
|
17703
17706
|
function Xd(n, e, t, r, o, i) {
|
|
17704
17707
|
return N(), U("form", {
|
|
17705
17708
|
onSubmit: e[3] || (e[3] = Ge((...a) => i.submit && i.submit(...a), ["prevent"])),
|
|
@@ -17745,7 +17748,7 @@ function Xd(n, e, t, r, o, i) {
|
|
|
17745
17748
|
])
|
|
17746
17749
|
], 34);
|
|
17747
17750
|
}
|
|
17748
|
-
const
|
|
17751
|
+
const Ni = /* @__PURE__ */ mt(Dd, [["render", Xd], ["__scopeId", "data-v-2b6d6269"]]), Zd = {
|
|
17749
17752
|
name: "SSOPick",
|
|
17750
17753
|
mixins: [Lr, zr, xr, at],
|
|
17751
17754
|
data() {
|
|
@@ -17847,7 +17850,7 @@ function pp(n, e, t, r, o, i) {
|
|
|
17847
17850
|
])) : fe("", !0)
|
|
17848
17851
|
], 34);
|
|
17849
17852
|
}
|
|
17850
|
-
const
|
|
17853
|
+
const Oi = /* @__PURE__ */ mt(Zd, [["render", pp], ["__scopeId", "data-v-4f821f65"]]), hp = {
|
|
17851
17854
|
name: "LinkIcon",
|
|
17852
17855
|
mixins: [at],
|
|
17853
17856
|
props: {
|
|
@@ -18092,7 +18095,7 @@ function Sp(n, e, t, r, o, i) {
|
|
|
18092
18095
|
}, null, 8, ["data"])
|
|
18093
18096
|
], 2);
|
|
18094
18097
|
}
|
|
18095
|
-
const
|
|
18098
|
+
const Li = /* @__PURE__ */ mt(bp, [["render", Sp], ["__scopeId", "data-v-a49a90e5"]]), un = ar("Preferences", {
|
|
18096
18099
|
web: () => import("./web-AImUTDQQ.js").then((n) => new n.PreferencesWeb())
|
|
18097
18100
|
}), At = {
|
|
18098
18101
|
async setObject(n, e) {
|
|
@@ -18210,7 +18213,7 @@ const zi = /* @__PURE__ */ mt(bp, [["render", Sp], ["__scopeId", "data-v-a49a90e
|
|
|
18210
18213
|
this.strgReady = Qr({ value: !1 }), await Vr._initialize(this.options);
|
|
18211
18214
|
let n = await Vr.getRaw();
|
|
18212
18215
|
const e = Qr(n);
|
|
18213
|
-
this.strg = e, this.strgReady.value = !0,
|
|
18216
|
+
this.strg = e, this.strgReady.value = !0, Bi(e, async () => {
|
|
18214
18217
|
await Vr.setRaw(e);
|
|
18215
18218
|
}, { deep: !0 });
|
|
18216
18219
|
}
|
|
@@ -18256,11 +18259,11 @@ const Rp = { id: "ssoapp" }, Pp = {
|
|
|
18256
18259
|
};
|
|
18257
18260
|
},
|
|
18258
18261
|
components: {
|
|
18259
|
-
Language:
|
|
18260
|
-
OTP:
|
|
18261
|
-
SSOPick:
|
|
18262
|
-
SSO:
|
|
18263
|
-
ModalOverlay:
|
|
18262
|
+
Language: Li,
|
|
18263
|
+
OTP: Ni,
|
|
18264
|
+
SSOPick: Oi,
|
|
18265
|
+
SSO: Pi,
|
|
18266
|
+
ModalOverlay: Ri,
|
|
18264
18267
|
AuthCallback: To,
|
|
18265
18268
|
AuthReset: Eo,
|
|
18266
18269
|
AuthVerify: ko,
|
|
@@ -18305,7 +18308,7 @@ const Rp = { id: "ssoapp" }, Pp = {
|
|
|
18305
18308
|
},
|
|
18306
18309
|
methods: {
|
|
18307
18310
|
async init() {
|
|
18308
|
-
if (this.setStorage(this.strg), this.isSetup)
|
|
18311
|
+
if (this.$store.commit("auth/setApiRoot", this.$apiRoot || Ji.env.VUE_APP_API_ROOT), this.setStorage(this.strg), this.isSetup)
|
|
18309
18312
|
return;
|
|
18310
18313
|
this.isSetup = !0, this.setToken(this.$storex.token);
|
|
18311
18314
|
const n = this.getRefreshTokens();
|
|
@@ -18349,7 +18352,7 @@ const Rp = { id: "ssoapp" }, Pp = {
|
|
|
18349
18352
|
}
|
|
18350
18353
|
}, Kp = /* @__PURE__ */ Object.assign(qp, {
|
|
18351
18354
|
setup(n) {
|
|
18352
|
-
return window.Buffer =
|
|
18355
|
+
return window.Buffer = aa, document.addEventListener("DOMContentLoaded", function() {
|
|
18353
18356
|
const e = document.createElement("script");
|
|
18354
18357
|
e.src = `https://www.google.com/recaptcha/api.js?render=${Ap.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(e);
|
|
18355
18358
|
}), (e, t) => (N(), U("div", Rp, [
|
|
@@ -18362,11 +18365,11 @@ const Rp = { id: "ssoapp" }, Pp = {
|
|
|
18362
18365
|
}, [
|
|
18363
18366
|
_("span", Op, Q(e.appLanguage.toUpperCase()), 1)
|
|
18364
18367
|
])) : fe("", !0),
|
|
18365
|
-
De(
|
|
18366
|
-
n.isModal ? fe("", !0) : (N(), ht(
|
|
18367
|
-
n.isModal ? fe("", !0) : (N(), ht(
|
|
18368
|
-
n.isModal ? fe("", !0) : (N(), ht(
|
|
18369
|
-
De(
|
|
18368
|
+
De(Ri),
|
|
18369
|
+
n.isModal ? fe("", !0) : (N(), ht(Li, { key: 2 })),
|
|
18370
|
+
n.isModal ? fe("", !0) : (N(), ht(Pi, { key: 3 })),
|
|
18371
|
+
n.isModal ? fe("", !0) : (N(), ht(Oi, { key: 4 })),
|
|
18372
|
+
De(Ni),
|
|
18370
18373
|
e.initialized && e.renderView === "AuthWelcome" ? (N(), ht(po, { key: 5 })) : e.initialized && e.renderView === "AuthLogin" ? (N(), ht(wo, {
|
|
18371
18374
|
key: 6,
|
|
18372
18375
|
isModal: n.isModal
|
|
@@ -18380,7 +18383,7 @@ const Rp = { id: "ssoapp" }, Pp = {
|
|
|
18380
18383
|
key: 9,
|
|
18381
18384
|
isModal: n.isModal,
|
|
18382
18385
|
payload: n.payload
|
|
18383
|
-
}, 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(
|
|
18386
|
+
}, 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 })) : fe("", !0),
|
|
18384
18387
|
_("div", Lp, [
|
|
18385
18388
|
_("p", zp, [
|
|
18386
18389
|
_("span", xp, Q(e.ssoLang[e.appLanguage].error), 1),
|
|
@@ -18400,8 +18403,8 @@ const Rp = { id: "ssoapp" }, Pp = {
|
|
|
18400
18403
|
]));
|
|
18401
18404
|
}
|
|
18402
18405
|
}), rh = {
|
|
18403
|
-
install: (n, e) => {
|
|
18404
|
-
n.component("TapniAuth", Kp), e.hasModule("auth") || e.registerModule("auth", ho);
|
|
18406
|
+
install: (n, { store: e, apiRoot: t }) => {
|
|
18407
|
+
n.component("TapniAuth", Kp), e.hasModule("auth") || e.registerModule("auth", ho), n.config.globalProperties.apiRoot = t;
|
|
18405
18408
|
}
|
|
18406
18409
|
};
|
|
18407
18410
|
export {
|