@tapni/auth 0.0.145 → 0.0.147
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-O6Dao5cU.js → Account-oP6g_nLE.js} +1 -1
- package/dist/{QR--rwg56LS.js → QR-4-2b2fz-.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +8 -8
- package/dist/{install-yKunPRgL.js → install-QEUMhFkc.js} +642 -639
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/OTP.vue +2 -17
- package/src/store/auth.js +2 -0
|
@@ -1,15 +1,15 @@
|
|
|
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 Li, resolveComponent as Fn, 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 qn, popScopeId as Kn, createStaticVNode as zi, nextTick as So, withModifiers as Ge, normalizeStyle as xn, withDirectives as Ie, withKeys as fn, vModelText as gn, vModelDynamic as _r, vShow as Jt, createBlock as ht, normalizeClass as Je, vModelCheckbox as xi, watch as Ui, unref as Bi } from "vue";
|
|
2
|
+
import { createRouter as Di, createWebHistory as Hi, RouterView as ji } from "vue-router";
|
|
3
|
+
import { createNamespacedHelpers as Fi, createStore as qi } from "vuex";
|
|
4
|
+
import { Capacitor as Yn, registerPlugin as ar, WebPlugin as Ki } from "@capacitor/core";
|
|
5
5
|
import he from "await-to-js";
|
|
6
6
|
import co from "axios";
|
|
7
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
10
|
import $o from "qr-code-styling";
|
|
11
|
-
import { sanitizeUrl as
|
|
12
|
-
function
|
|
11
|
+
import { sanitizeUrl as Gi } from "@braintree/sanitize-url";
|
|
12
|
+
function Vi(n) {
|
|
13
13
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
14
14
|
}
|
|
15
15
|
var Jo = { exports: {} }, Me = Jo.exports = {}, Ht, jt;
|
|
@@ -46,7 +46,7 @@ function Xo(n) {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function Qi(n) {
|
|
50
50
|
if (jt === clearTimeout)
|
|
51
51
|
return clearTimeout(n);
|
|
52
52
|
if ((jt === Wr || !jt) && clearTimeout)
|
|
@@ -61,20 +61,20 @@ function Yi(n) {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var Xt = [],
|
|
65
|
-
function
|
|
66
|
-
!
|
|
64
|
+
var Xt = [], Un = !1, kn, mr = -1;
|
|
65
|
+
function Yi() {
|
|
66
|
+
!Un || !kn || (Un = !1, kn.length ? Xt = kn.concat(Xt) : mr = -1, Xt.length && Zo());
|
|
67
67
|
}
|
|
68
68
|
function Zo() {
|
|
69
|
-
if (!
|
|
70
|
-
var n = Xo(
|
|
71
|
-
|
|
69
|
+
if (!Un) {
|
|
70
|
+
var n = Xo(Yi);
|
|
71
|
+
Un = !0;
|
|
72
72
|
for (var e = Xt.length; e; ) {
|
|
73
73
|
for (kn = Xt, Xt = []; ++mr < e; )
|
|
74
74
|
kn && kn[mr].run();
|
|
75
75
|
mr = -1, e = Xt.length;
|
|
76
76
|
}
|
|
77
|
-
kn = null,
|
|
77
|
+
kn = null, Un = !1, Qi(n);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
Me.nextTick = function(n) {
|
|
@@ -82,7 +82,7 @@ Me.nextTick = function(n) {
|
|
|
82
82
|
if (arguments.length > 1)
|
|
83
83
|
for (var t = 1; t < arguments.length; t++)
|
|
84
84
|
e[t - 1] = arguments[t];
|
|
85
|
-
Xt.push(new ei(n, e)), Xt.length === 1 && !
|
|
85
|
+
Xt.push(new ei(n, e)), Xt.length === 1 && !Un && Xo(Zo);
|
|
86
86
|
};
|
|
87
87
|
function ei(n, e) {
|
|
88
88
|
this.fun = n, this.array = e;
|
|
@@ -122,15 +122,15 @@ Me.chdir = function(n) {
|
|
|
122
122
|
Me.umask = function() {
|
|
123
123
|
return 0;
|
|
124
124
|
};
|
|
125
|
-
var
|
|
126
|
-
const
|
|
125
|
+
var Wi = Jo.exports;
|
|
126
|
+
const $i = /* @__PURE__ */ Vi(Wi);
|
|
127
127
|
var lo = {}, Nr = {};
|
|
128
|
-
Nr.byteLength =
|
|
129
|
-
Nr.toByteArray =
|
|
130
|
-
Nr.fromByteArray =
|
|
131
|
-
var qt = [], bt = [],
|
|
132
|
-
for (var
|
|
133
|
-
qt[
|
|
128
|
+
Nr.byteLength = Zi;
|
|
129
|
+
Nr.toByteArray = ta;
|
|
130
|
+
Nr.fromByteArray = oa;
|
|
131
|
+
var qt = [], bt = [], Ji = typeof Uint8Array < "u" ? Uint8Array : Array, Kr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
|
132
|
+
for (var Rn = 0, Xi = Kr.length; Rn < Xi; ++Rn)
|
|
133
|
+
qt[Rn] = Kr[Rn], bt[Kr.charCodeAt(Rn)] = Rn;
|
|
134
134
|
bt[45] = 62;
|
|
135
135
|
bt[95] = 63;
|
|
136
136
|
function ti(n) {
|
|
@@ -142,30 +142,30 @@ function ti(n) {
|
|
|
142
142
|
var r = t === e ? 0 : 4 - t % 4;
|
|
143
143
|
return [t, r];
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function Zi(n) {
|
|
146
146
|
var e = ti(n), t = e[0], r = e[1];
|
|
147
147
|
return (t + r) * 3 / 4 - r;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function ea(n, e, t) {
|
|
150
150
|
return (e + t) * 3 / 4 - t;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
var e, t = ti(n), r = t[0], o = t[1], i = new
|
|
152
|
+
function ta(n) {
|
|
153
|
+
var e, t = ti(n), r = t[0], o = t[1], i = new Ji(ea(n, r, o)), a = 0, s = o > 0 ? r - 4 : r, u;
|
|
154
154
|
for (u = 0; u < s; u += 4)
|
|
155
155
|
e = bt[n.charCodeAt(u)] << 18 | bt[n.charCodeAt(u + 1)] << 12 | bt[n.charCodeAt(u + 2)] << 6 | bt[n.charCodeAt(u + 3)], i[a++] = e >> 16 & 255, i[a++] = e >> 8 & 255, i[a++] = e & 255;
|
|
156
156
|
return o === 2 && (e = bt[n.charCodeAt(u)] << 2 | bt[n.charCodeAt(u + 1)] >> 4, i[a++] = e & 255), o === 1 && (e = bt[n.charCodeAt(u)] << 10 | bt[n.charCodeAt(u + 1)] << 4 | bt[n.charCodeAt(u + 2)] >> 2, i[a++] = e >> 8 & 255, i[a++] = e & 255), i;
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function na(n) {
|
|
159
159
|
return qt[n >> 18 & 63] + qt[n >> 12 & 63] + qt[n >> 6 & 63] + qt[n & 63];
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function ra(n, e, t) {
|
|
162
162
|
for (var r, o = [], i = e; i < t; i += 3)
|
|
163
|
-
r = (n[i] << 16 & 16711680) + (n[i + 1] << 8 & 65280) + (n[i + 2] & 255), o.push(
|
|
163
|
+
r = (n[i] << 16 & 16711680) + (n[i + 1] << 8 & 65280) + (n[i + 2] & 255), o.push(na(r));
|
|
164
164
|
return o.join("");
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function oa(n) {
|
|
167
167
|
for (var e, t = n.length, r = t % 3, o = [], i = 16383, a = 0, s = t - r; a < s; a += i)
|
|
168
|
-
o.push(
|
|
168
|
+
o.push(ra(n, a, a + i > s ? s : a + i));
|
|
169
169
|
return r === 1 ? (e = n[t - 1], o.push(
|
|
170
170
|
qt[e >> 2] + qt[e << 4 & 63] + "=="
|
|
171
171
|
)) : r === 2 && (e = (n[t - 2] << 8) + n[t - 1], o.push(
|
|
@@ -469,7 +469,7 @@ uo.write = function(n, e, t, r, o, i) {
|
|
|
469
469
|
case "ucs-2":
|
|
470
470
|
case "utf16le":
|
|
471
471
|
case "utf-16le":
|
|
472
|
-
return
|
|
472
|
+
return An(this, c, d);
|
|
473
473
|
default:
|
|
474
474
|
if (g)
|
|
475
475
|
throw new TypeError("Unknown encoding: " + h);
|
|
@@ -731,7 +731,7 @@ uo.write = function(n, e, t, r, o, i) {
|
|
|
731
731
|
b += yn[h[S]];
|
|
732
732
|
return b;
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function An(h, c, d) {
|
|
735
735
|
const g = h.slice(c, d);
|
|
736
736
|
let b = "";
|
|
737
737
|
for (let S = 0; S < g.length - 1; S += 2)
|
|
@@ -1175,7 +1175,7 @@ uo.write = function(n, e, t, r, o, i) {
|
|
|
1175
1175
|
throw new Error("BigInt not supported");
|
|
1176
1176
|
}
|
|
1177
1177
|
})(lo);
|
|
1178
|
-
const wn = lo.Buffer,
|
|
1178
|
+
const wn = lo.Buffer, ia = lo.Buffer, pr = Qr(/* @__PURE__ */ new Map()), q = {
|
|
1179
1179
|
$on(n, e) {
|
|
1180
1180
|
let t = pr.get(n);
|
|
1181
1181
|
t || (t = /* @__PURE__ */ new Set(), pr.set(n, t)), t.add(e);
|
|
@@ -1191,8 +1191,8 @@ const wn = lo.Buffer, aa = lo.Buffer, pr = Qr(/* @__PURE__ */ new Map()), q = {
|
|
|
1191
1191
|
t && t.delete(e);
|
|
1192
1192
|
}
|
|
1193
1193
|
};
|
|
1194
|
-
|
|
1195
|
-
const
|
|
1194
|
+
Li(q);
|
|
1195
|
+
const aa = {
|
|
1196
1196
|
computed: {
|
|
1197
1197
|
home() {
|
|
1198
1198
|
return this.$storex && this.$storex.token && this.$storex.username ? "/" + this.$storex.username : "/welcome";
|
|
@@ -1258,10 +1258,10 @@ const sa = {
|
|
|
1258
1258
|
}
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
|
-
}, { mapState:
|
|
1262
|
-
mixins: [
|
|
1261
|
+
}, { mapState: sa, mapActions: ca, mapGetters: la } = Fi("auth"), at = {
|
|
1262
|
+
mixins: [aa],
|
|
1263
1263
|
computed: {
|
|
1264
|
-
...
|
|
1264
|
+
...sa([
|
|
1265
1265
|
"$storex",
|
|
1266
1266
|
"refreshing",
|
|
1267
1267
|
"loggedInUserId",
|
|
@@ -1275,14 +1275,14 @@ const sa = {
|
|
|
1275
1275
|
"state",
|
|
1276
1276
|
"allowedOriginsAuth"
|
|
1277
1277
|
]),
|
|
1278
|
-
...
|
|
1278
|
+
...la([
|
|
1279
1279
|
"isLoggedIn",
|
|
1280
1280
|
"renderView",
|
|
1281
1281
|
"appLanguage"
|
|
1282
1282
|
])
|
|
1283
1283
|
},
|
|
1284
1284
|
methods: {
|
|
1285
|
-
...
|
|
1285
|
+
...ca([
|
|
1286
1286
|
"setLoggedInAccounts",
|
|
1287
1287
|
"setLoggedInUserId",
|
|
1288
1288
|
"getRefreshTokens",
|
|
@@ -1328,7 +1328,7 @@ const sa = {
|
|
|
1328
1328
|
for (const [r, o] of e)
|
|
1329
1329
|
t[r] = o;
|
|
1330
1330
|
return t;
|
|
1331
|
-
},
|
|
1331
|
+
}, ua = {
|
|
1332
1332
|
name: "AuthWelcome",
|
|
1333
1333
|
mixins: [at],
|
|
1334
1334
|
data() {
|
|
@@ -1350,23 +1350,23 @@ const sa = {
|
|
|
1350
1350
|
}, 500);
|
|
1351
1351
|
},
|
|
1352
1352
|
methods: {}
|
|
1353
|
-
}, ni = (n) => (
|
|
1353
|
+
}, ni = (n) => (qn("data-v-615ed484"), n = n(), Kn(), n), da = {
|
|
1354
1354
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
1355
1355
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
1356
|
-
},
|
|
1356
|
+
}, pa = ["autoplay"], ha = /* @__PURE__ */ ni(() => /* @__PURE__ */ _("source", {
|
|
1357
1357
|
src: "https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",
|
|
1358
1358
|
type: "video/mp4"
|
|
1359
|
-
}, null, -1)),
|
|
1360
|
-
|
|
1361
|
-
],
|
|
1359
|
+
}, null, -1)), fa = [
|
|
1360
|
+
ha
|
|
1361
|
+
], ga = { class: "bold full-top no-bottom center-text" }, ma = { class: "full-bottom half-top center-text color-black font-16" }, _a = { class: "page-login-links center-text" }, va = /* @__PURE__ */ ni(() => /* @__PURE__ */ _("div", { class: "clear" }, null, -1)), ya = {
|
|
1362
1362
|
key: 2,
|
|
1363
1363
|
style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
|
|
1364
|
-
},
|
|
1365
|
-
|
|
1364
|
+
}, wa = /* @__PURE__ */ zi('<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), ba = [
|
|
1365
|
+
wa
|
|
1366
1366
|
];
|
|
1367
|
-
function
|
|
1368
|
-
const a =
|
|
1369
|
-
return N(), U("div",
|
|
1367
|
+
function ka(n, e, t, r, o, i) {
|
|
1368
|
+
const a = Fn("router-link");
|
|
1369
|
+
return N(), U("div", da, [
|
|
1370
1370
|
_("video", {
|
|
1371
1371
|
id: "tapniVideo",
|
|
1372
1372
|
muted: "",
|
|
@@ -1375,9 +1375,9 @@ function Ca(n, e, t, r, o, i) {
|
|
|
1375
1375
|
width: "350",
|
|
1376
1376
|
style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
|
|
1377
1377
|
autoplay: n.isNative
|
|
1378
|
-
},
|
|
1379
|
-
_("h1",
|
|
1380
|
-
_("p",
|
|
1378
|
+
}, fa, 8, pa),
|
|
1379
|
+
_("h1", ga, Q(n.ssoLang[this.appLanguage].welcome), 1),
|
|
1380
|
+
_("p", ma, Q(n.ssoLang[this.appLanguage].welcome_p1), 1),
|
|
1381
1381
|
fe("", !0),
|
|
1382
1382
|
fe("", !0),
|
|
1383
1383
|
De(a, {
|
|
@@ -1390,7 +1390,7 @@ function Ca(n, e, t, r, o, i) {
|
|
|
1390
1390
|
]),
|
|
1391
1391
|
_: 1
|
|
1392
1392
|
}),
|
|
1393
|
-
_("div",
|
|
1393
|
+
_("div", _a, [
|
|
1394
1394
|
De(a, { to: "/login" }, {
|
|
1395
1395
|
default: Gt(() => [
|
|
1396
1396
|
ke(Q(n.ssoLang[this.appLanguage].already_registered) + "? ", 1),
|
|
@@ -1398,15 +1398,15 @@ function Ca(n, e, t, r, o, i) {
|
|
|
1398
1398
|
]),
|
|
1399
1399
|
_: 1
|
|
1400
1400
|
}),
|
|
1401
|
-
|
|
1401
|
+
va
|
|
1402
1402
|
]),
|
|
1403
|
-
this.isNative ? fe("", !0) : (N(), U("div",
|
|
1403
|
+
this.isNative ? fe("", !0) : (N(), U("div", ya, ba))
|
|
1404
1404
|
]);
|
|
1405
1405
|
}
|
|
1406
|
-
const po = /* @__PURE__ */ mt(
|
|
1406
|
+
const po = /* @__PURE__ */ mt(ua, [["render", ka], ["__scopeId", "data-v-615ed484"]]), Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1407
1407
|
__proto__: null,
|
|
1408
1408
|
default: po
|
|
1409
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1409
|
+
}, Symbol.toStringTag, { value: "Module" })), Ea = "0.0.147", hr = {
|
|
1410
1410
|
getMe() {
|
|
1411
1411
|
return ce().get("/users/me");
|
|
1412
1412
|
},
|
|
@@ -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
|
+
}, Ta = {
|
|
4646
4646
|
state: {
|
|
4647
4647
|
english: "英文",
|
|
4648
4648
|
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(() => Ca), Sa = () => Promise.resolve().then(() => qc), Ia = () => Promise.resolve().then(() => Ul), Aa = () => Promise.resolve().then(() => vd), Ra = () => import("./Account-oP6g_nLE.js"), Pa = () => Promise.resolve().then(() => du), Ma = () => Promise.resolve().then(() => Td), Na = () => import("./QR-4-2b2fz-.js"), Oa = () => Promise.resolve().then(() => Lu), La = [
|
|
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: Sa
|
|
5560
5560
|
},
|
|
5561
5561
|
{
|
|
5562
5562
|
path: "/callback/saml",
|
|
5563
5563
|
name: "Callback",
|
|
5564
5564
|
alias: ["/callback/okta", "/callback/auth"],
|
|
5565
|
-
component:
|
|
5565
|
+
component: Ma
|
|
5566
5566
|
},
|
|
5567
5567
|
{
|
|
5568
5568
|
path: "/qr",
|
|
5569
5569
|
name: "AuthQR",
|
|
5570
|
-
component:
|
|
5570
|
+
component: Na
|
|
5571
5571
|
},
|
|
5572
5572
|
{
|
|
5573
5573
|
path: "/mfa",
|
|
5574
5574
|
name: "AuthMFA",
|
|
5575
|
-
component:
|
|
5575
|
+
component: Oa
|
|
5576
5576
|
},
|
|
5577
5577
|
{
|
|
5578
5578
|
path: "/account",
|
|
5579
5579
|
name: "AuthAccount",
|
|
5580
|
-
component:
|
|
5580
|
+
component: Ra
|
|
5581
5581
|
},
|
|
5582
5582
|
{
|
|
5583
5583
|
path: "/reset",
|
|
5584
5584
|
name: "AuthReset",
|
|
5585
|
-
component:
|
|
5585
|
+
component: Aa
|
|
5586
5586
|
},
|
|
5587
5587
|
{
|
|
5588
5588
|
path: "/register",
|
|
5589
5589
|
name: "AuthRegister",
|
|
5590
|
-
component:
|
|
5590
|
+
component: Ia
|
|
5591
5591
|
},
|
|
5592
5592
|
{
|
|
5593
5593
|
path: "/verify",
|
|
5594
5594
|
name: "AuthVerify",
|
|
5595
|
-
component:
|
|
5595
|
+
component: Pa
|
|
5596
5596
|
},
|
|
5597
5597
|
{
|
|
5598
5598
|
path: "/",
|
|
5599
5599
|
name: "404",
|
|
5600
5600
|
component: Ao
|
|
5601
5601
|
}
|
|
5602
|
-
],
|
|
5603
|
-
history:
|
|
5604
|
-
routes:
|
|
5602
|
+
], za = Di({
|
|
5603
|
+
history: Hi("/"),
|
|
5604
|
+
routes: La
|
|
5605
5605
|
}), ho = {
|
|
5606
5606
|
namespaced: !0,
|
|
5607
5607
|
state: {
|
|
@@ -5623,7 +5623,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5623
5623
|
it: si.state,
|
|
5624
5624
|
sr: ci.state,
|
|
5625
5625
|
tr: li.state,
|
|
5626
|
-
cn:
|
|
5626
|
+
cn: Ta.state,
|
|
5627
5627
|
kr: ui.state
|
|
5628
5628
|
},
|
|
5629
5629
|
display: "npm",
|
|
@@ -5775,6 +5775,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5775
5775
|
{
|
|
5776
5776
|
id: t.data.data.id,
|
|
5777
5777
|
username: t.data.data.username,
|
|
5778
|
+
name: t.data.data.name,
|
|
5778
5779
|
refreshToken: t.data.refreshToken,
|
|
5779
5780
|
photo: t.data.data.photo
|
|
5780
5781
|
}
|
|
@@ -5813,7 +5814,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5813
5814
|
if (e.display === "redirect")
|
|
5814
5815
|
return e.redirect_uri && !e.allowedOriginsAuth.some(
|
|
5815
5816
|
(i) => e.redirect_uri.startsWith(i)
|
|
5816
|
-
) ? console.error("Redirect URI not allowed") :
|
|
5817
|
+
) ? console.error("Redirect URI not allowed") : za.push("/account");
|
|
5817
5818
|
e.display === "popup" ? e.allowedOriginsAuth.forEach((i) => {
|
|
5818
5819
|
var a;
|
|
5819
5820
|
(a = window.parent) == null || a.postMessage(
|
|
@@ -5824,6 +5825,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5824
5825
|
{
|
|
5825
5826
|
id: o.data.data.id,
|
|
5826
5827
|
username: o.data.data.username,
|
|
5828
|
+
name: o.data.data.name,
|
|
5827
5829
|
refreshToken: o.data.refreshToken,
|
|
5828
5830
|
photo: o.data.data.photo
|
|
5829
5831
|
}
|
|
@@ -5991,12 +5993,12 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5991
5993
|
refreshTokens: (n) => n.$storex.refreshTokens.split(","),
|
|
5992
5994
|
apiRoot: (n) => n.apiRoot
|
|
5993
5995
|
}
|
|
5994
|
-
}, It =
|
|
5996
|
+
}, It = qi({
|
|
5995
5997
|
modules: {
|
|
5996
5998
|
auth: ho
|
|
5997
5999
|
}
|
|
5998
6000
|
}), ce = (n = null) => {
|
|
5999
|
-
const e =
|
|
6001
|
+
const e = Ea;
|
|
6000
6002
|
let t = "https://api.tapni.co/v1/";
|
|
6001
6003
|
It.getters["auth/apiRoot"] && (t = It.getters["auth/apiRoot"] + "/v1/");
|
|
6002
6004
|
let r = co.create({
|
|
@@ -6132,7 +6134,7 @@ const $e = {
|
|
|
6132
6134
|
this.googleLoad = !1, q.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
6133
6135
|
}
|
|
6134
6136
|
}
|
|
6135
|
-
},
|
|
6137
|
+
}, xa = ar("FacebookLogin", {
|
|
6136
6138
|
web: () => import("./web-L3jORB19.js").then((n) => new n.FacebookLoginWeb())
|
|
6137
6139
|
});
|
|
6138
6140
|
window.fbAsyncInit = function() {
|
|
@@ -6168,7 +6170,7 @@ const pi = {
|
|
|
6168
6170
|
async facebookLogin() {
|
|
6169
6171
|
var r;
|
|
6170
6172
|
this.facebookLoad = !0;
|
|
6171
|
-
const n = ["email"], [e, t] = await he(
|
|
6173
|
+
const n = ["email"], [e, t] = await he(xa.login({ permissions: n }));
|
|
6172
6174
|
if (e)
|
|
6173
6175
|
return this.facebookLoad = !1;
|
|
6174
6176
|
if (this.referral && (t.ref = this.referral), this.display === "popup" && (t.response_type = "code"), t && t.accessToken) {
|
|
@@ -6187,7 +6189,7 @@ const pi = {
|
|
|
6187
6189
|
this.facebookLoad = !1, q.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
6188
6190
|
}
|
|
6189
6191
|
}
|
|
6190
|
-
},
|
|
6192
|
+
}, Ua = ar("SignInWithApple", {
|
|
6191
6193
|
web: () => import("./web-NrPZl3qD.js").then((n) => new n.SignInWithAppleWeb())
|
|
6192
6194
|
}), hi = {
|
|
6193
6195
|
data() {
|
|
@@ -6204,7 +6206,7 @@ const pi = {
|
|
|
6204
6206
|
async appleLogin() {
|
|
6205
6207
|
var t;
|
|
6206
6208
|
this.appleLoad = !0;
|
|
6207
|
-
const [n, e] = await he(
|
|
6209
|
+
const [n, e] = await he(Ua.authorize({
|
|
6208
6210
|
clientId: "co.tapni.applelogin",
|
|
6209
6211
|
redirectURI: "https://" + window.location.host + "/login",
|
|
6210
6212
|
scopes: "email name"
|
|
@@ -6370,7 +6372,7 @@ function L(n, e) {
|
|
|
6370
6372
|
return { value: p[0] ? p[1] : void 0, done: !0 };
|
|
6371
6373
|
}
|
|
6372
6374
|
}
|
|
6373
|
-
function
|
|
6375
|
+
function Ba(n, e) {
|
|
6374
6376
|
var t = typeof Symbol == "function" && n[Symbol.iterator];
|
|
6375
6377
|
if (!t)
|
|
6376
6378
|
return n;
|
|
@@ -6392,7 +6394,7 @@ function Da(n, e) {
|
|
|
6392
6394
|
}
|
|
6393
6395
|
function fo() {
|
|
6394
6396
|
for (var n = [], e = 0; e < arguments.length; e++)
|
|
6395
|
-
n = n.concat(
|
|
6397
|
+
n = n.concat(Ba(arguments[e]));
|
|
6396
6398
|
return n;
|
|
6397
6399
|
}
|
|
6398
6400
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
@@ -6611,10 +6613,10 @@ var ae;
|
|
|
6611
6613
|
(function(n) {
|
|
6612
6614
|
n.CLIENT_ID = "client_id", n.REDIRECT_URI = "redirect_uri", n.RESPONSE_TYPE = "response_type", n.RESPONSE_MODE = "response_mode", n.GRANT_TYPE = "grant_type", n.CLAIMS = "claims", n.SCOPE = "scope", n.ERROR = "error", n.ERROR_DESCRIPTION = "error_description", n.ACCESS_TOKEN = "access_token", n.ID_TOKEN = "id_token", n.REFRESH_TOKEN = "refresh_token", n.EXPIRES_IN = "expires_in", n.STATE = "state", n.NONCE = "nonce", n.PROMPT = "prompt", n.SESSION_STATE = "session_state", n.CLIENT_INFO = "client_info", n.CODE = "code", n.CODE_CHALLENGE = "code_challenge", n.CODE_CHALLENGE_METHOD = "code_challenge_method", n.CODE_VERIFIER = "code_verifier", n.CLIENT_REQUEST_ID = "client-request-id", n.X_CLIENT_SKU = "x-client-SKU", n.X_CLIENT_VER = "x-client-VER", n.X_CLIENT_OS = "x-client-OS", n.X_CLIENT_CPU = "x-client-CPU", n.X_CLIENT_CURR_TELEM = "x-client-current-telemetry", n.X_CLIENT_LAST_TELEM = "x-client-last-telemetry", n.X_MS_LIB_CAPABILITY = "x-ms-lib-capability", n.X_APP_NAME = "x-app-name", n.X_APP_VER = "x-app-ver", n.POST_LOGOUT_URI = "post_logout_redirect_uri", n.ID_TOKEN_HINT = "id_token_hint", n.DEVICE_CODE = "device_code", n.CLIENT_SECRET = "client_secret", n.CLIENT_ASSERTION = "client_assertion", n.CLIENT_ASSERTION_TYPE = "client_assertion_type", n.TOKEN_TYPE = "token_type", n.REQ_CNF = "req_cnf", n.OBO_ASSERTION = "assertion", n.REQUESTED_TOKEN_USE = "requested_token_use", n.ON_BEHALF_OF = "on_behalf_of", n.FOCI = "foci", n.CCS_HEADER = "X-AnchorMailbox", n.RETURN_SPA_CODE = "return_spa_code", n.NATIVE_BROKER = "nativebroker", n.LOGOUT_HINT = "logout_hint";
|
|
6613
6615
|
})(ae || (ae = {}));
|
|
6614
|
-
var
|
|
6616
|
+
var Pn;
|
|
6615
6617
|
(function(n) {
|
|
6616
6618
|
n.ACCESS_TOKEN = "access_token", n.XMS_CC = "xms_cc";
|
|
6617
|
-
})(
|
|
6619
|
+
})(Pn || (Pn = {}));
|
|
6618
6620
|
var Ze = {
|
|
6619
6621
|
LOGIN: "login",
|
|
6620
6622
|
SELECT_ACCOUNT: "select_account",
|
|
@@ -6653,7 +6655,7 @@ var Zt;
|
|
|
6653
6655
|
(function(n) {
|
|
6654
6656
|
n[n.ADFS = 1001] = "ADFS", n[n.MSA = 1002] = "MSA", n[n.MSSTS = 1003] = "MSSTS", n[n.GENERIC = 1004] = "GENERIC", n[n.ACCESS_TOKEN = 2001] = "ACCESS_TOKEN", n[n.REFRESH_TOKEN = 2002] = "REFRESH_TOKEN", n[n.ID_TOKEN = 2003] = "ID_TOKEN", n[n.APP_METADATA = 3001] = "APP_METADATA", n[n.UNDEFINED = 9999] = "UNDEFINED";
|
|
6655
6657
|
})(Zt || (Zt = {}));
|
|
6656
|
-
var Zr = "appmetadata",
|
|
6658
|
+
var Zr = "appmetadata", Da = "client_info", $n = "1", Jn = {
|
|
6657
6659
|
CACHE_KEY: "authority-metadata",
|
|
6658
6660
|
REFRESH_TIME_SECONDS: 3600 * 24
|
|
6659
6661
|
// 24 Hours
|
|
@@ -6692,10 +6694,10 @@ var Xn = {
|
|
|
6692
6694
|
(function(n) {
|
|
6693
6695
|
n.username = "username", n.password = "password";
|
|
6694
6696
|
})(kr || (kr = {}));
|
|
6695
|
-
var
|
|
6697
|
+
var Mn;
|
|
6696
6698
|
(function(n) {
|
|
6697
6699
|
n[n.httpSuccess = 200] = "httpSuccess", n[n.httpBadRequest = 400] = "httpBadRequest";
|
|
6698
|
-
})(
|
|
6700
|
+
})(Mn || (Mn = {}));
|
|
6699
6701
|
var dn;
|
|
6700
6702
|
(function(n) {
|
|
6701
6703
|
n.FAILED_AUTO_DETECTION = "1", n.INTERNAL_CACHE = "2", n.ENVIRONMENT_VARIABLE = "3", n.IMDS = "4";
|
|
@@ -7524,7 +7526,7 @@ function Er(n, e) {
|
|
|
7524
7526
|
throw Y.createClientInfoDecodingError(r.message);
|
|
7525
7527
|
}
|
|
7526
7528
|
}
|
|
7527
|
-
function
|
|
7529
|
+
function Nn(n) {
|
|
7528
7530
|
if (V.isEmpty(n))
|
|
7529
7531
|
throw Y.createClientInfoDecodingError("Home account ID was empty.");
|
|
7530
7532
|
var e = n.split(Ue.CLIENT_INFO_SEPARATOR, 2);
|
|
@@ -8026,7 +8028,7 @@ var ot = (
|
|
|
8026
8028
|
return e;
|
|
8027
8029
|
}, n;
|
|
8028
8030
|
}()
|
|
8029
|
-
),
|
|
8031
|
+
), Ha = (
|
|
8030
8032
|
/** @class */
|
|
8031
8033
|
function(n) {
|
|
8032
8034
|
st(e, n);
|
|
@@ -8113,18 +8115,18 @@ var ot = (
|
|
|
8113
8115
|
}(ot)
|
|
8114
8116
|
);
|
|
8115
8117
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8116
|
-
var
|
|
8117
|
-
tokenRenewalOffsetSeconds:
|
|
8118
|
+
var ja = 300, gi = {
|
|
8119
|
+
tokenRenewalOffsetSeconds: ja,
|
|
8118
8120
|
preventCorsPreflight: !1
|
|
8119
|
-
},
|
|
8121
|
+
}, Fa = {
|
|
8120
8122
|
loggerCallback: function() {
|
|
8121
8123
|
},
|
|
8122
8124
|
piiLoggingEnabled: !1,
|
|
8123
8125
|
logLevel: Be.Info,
|
|
8124
8126
|
correlationId: w.EMPTY_STRING
|
|
8125
|
-
},
|
|
8127
|
+
}, qa = {
|
|
8126
8128
|
claimsBasedCachingEnabled: !0
|
|
8127
|
-
},
|
|
8129
|
+
}, Ka = {
|
|
8128
8130
|
sendGetRequestAsync: function() {
|
|
8129
8131
|
return oe(this, void 0, void 0, function() {
|
|
8130
8132
|
var n;
|
|
@@ -8141,43 +8143,43 @@ var Fa = 300, gi = {
|
|
|
8141
8143
|
});
|
|
8142
8144
|
});
|
|
8143
8145
|
}
|
|
8144
|
-
},
|
|
8146
|
+
}, Ga = {
|
|
8145
8147
|
sku: w.SKU,
|
|
8146
8148
|
version: mo,
|
|
8147
8149
|
cpu: w.EMPTY_STRING,
|
|
8148
8150
|
os: w.EMPTY_STRING
|
|
8149
|
-
},
|
|
8151
|
+
}, Va = {
|
|
8150
8152
|
clientSecret: w.EMPTY_STRING,
|
|
8151
8153
|
clientAssertion: void 0
|
|
8152
|
-
},
|
|
8154
|
+
}, Qa = {
|
|
8153
8155
|
azureCloudInstance: rr.None,
|
|
8154
8156
|
tenant: "" + w.DEFAULT_COMMON_TENANT
|
|
8155
|
-
},
|
|
8157
|
+
}, Ya = {
|
|
8156
8158
|
application: {
|
|
8157
8159
|
appName: "",
|
|
8158
8160
|
appVersion: ""
|
|
8159
8161
|
}
|
|
8160
8162
|
};
|
|
8161
|
-
function
|
|
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({},
|
|
8163
|
+
function Wa(n) {
|
|
8164
|
+
var e = n.authOptions, t = n.systemOptions, r = n.loggerOptions, o = n.cacheOptions, i = n.storageInterface, a = n.networkInterface, s = n.cryptoInterface, u = n.clientCredentials, p = n.libraryInfo, l = n.telemetry, m = n.serverTelemetryManager, f = n.persistencePlugin, k = n.serializableCache, E = ge(ge({}, Fa), r);
|
|
8163
8165
|
return {
|
|
8164
|
-
authOptions:
|
|
8166
|
+
authOptions: $a(e),
|
|
8165
8167
|
systemOptions: ge(ge({}, gi), t),
|
|
8166
8168
|
loggerOptions: E,
|
|
8167
|
-
cacheOptions: ge(ge({},
|
|
8168
|
-
storageInterface: i || new
|
|
8169
|
-
networkInterface: a ||
|
|
8169
|
+
cacheOptions: ge(ge({}, qa), o),
|
|
8170
|
+
storageInterface: i || new Ha(e.clientId, Cr, new go(E)),
|
|
8171
|
+
networkInterface: a || Ka,
|
|
8170
8172
|
cryptoInterface: s || Cr,
|
|
8171
|
-
clientCredentials: u ||
|
|
8172
|
-
libraryInfo: ge(ge({},
|
|
8173
|
-
telemetry: ge(ge({},
|
|
8173
|
+
clientCredentials: u || Va,
|
|
8174
|
+
libraryInfo: ge(ge({}, Ga), p),
|
|
8175
|
+
telemetry: ge(ge({}, Ya), l),
|
|
8174
8176
|
serverTelemetryManager: m || null,
|
|
8175
8177
|
persistencePlugin: f || null,
|
|
8176
8178
|
serializableCache: k || null
|
|
8177
8179
|
};
|
|
8178
8180
|
}
|
|
8179
|
-
function
|
|
8180
|
-
return ge({ clientCapabilities: [], azureCloudOptions:
|
|
8181
|
+
function $a(n) {
|
|
8182
|
+
return ge({ clientCapabilities: [], azureCloudOptions: Qa, skipAuthorityMetadataCache: !1 }, n);
|
|
8181
8183
|
}
|
|
8182
8184
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8183
8185
|
var In = (
|
|
@@ -8244,7 +8246,7 @@ var Tr = (
|
|
|
8244
8246
|
}()
|
|
8245
8247
|
);
|
|
8246
8248
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8247
|
-
var
|
|
8249
|
+
var Ja = (
|
|
8248
8250
|
/** @class */
|
|
8249
8251
|
function() {
|
|
8250
8252
|
function n(e, t) {
|
|
@@ -8395,7 +8397,7 @@ var er = (
|
|
|
8395
8397
|
}, n.prototype.addGrantType = function(e) {
|
|
8396
8398
|
this.parameters.set(ae.GRANT_TYPE, encodeURIComponent(e));
|
|
8397
8399
|
}, n.prototype.addClientInfo = function() {
|
|
8398
|
-
this.parameters.set(
|
|
8400
|
+
this.parameters.set(Da, "1");
|
|
8399
8401
|
}, n.prototype.addExtraQueryParameters = function(e) {
|
|
8400
8402
|
var t = this, r = bn.sanitizeEQParams(e, this.parameters);
|
|
8401
8403
|
Object.keys(r).forEach(function(o) {
|
|
@@ -8411,7 +8413,7 @@ var er = (
|
|
|
8411
8413
|
} catch {
|
|
8412
8414
|
throw Ee.createInvalidClaimsRequestError();
|
|
8413
8415
|
}
|
|
8414
|
-
return t && t.length > 0 && (r.hasOwnProperty(
|
|
8416
|
+
return t && t.length > 0 && (r.hasOwnProperty(Pn.ACCESS_TOKEN) || (r[Pn.ACCESS_TOKEN] = {}), r[Pn.ACCESS_TOKEN][Pn.XMS_CC] = {
|
|
8415
8417
|
values: t
|
|
8416
8418
|
}), JSON.stringify(r);
|
|
8417
8419
|
}, n.prototype.addUsername = function(e) {
|
|
@@ -8441,7 +8443,7 @@ var _o = (
|
|
|
8441
8443
|
/** @class */
|
|
8442
8444
|
function() {
|
|
8443
8445
|
function n(e, t) {
|
|
8444
|
-
this.config =
|
|
8446
|
+
this.config = Wa(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 Ja(this.networkClient, this.cacheManager), this.serverTelemetryManager = this.config.serverTelemetryManager, this.authority = this.config.authOptions.authority, this.performanceClient = t;
|
|
8445
8447
|
}
|
|
8446
8448
|
return n.prototype.createTokenRequestHeaders = function(e) {
|
|
8447
8449
|
var t = {};
|
|
@@ -8449,7 +8451,7 @@ var _o = (
|
|
|
8449
8451
|
switch (e.type) {
|
|
8450
8452
|
case ft.HOME_ACCOUNT_ID:
|
|
8451
8453
|
try {
|
|
8452
|
-
var r =
|
|
8454
|
+
var r = Nn(e.credential);
|
|
8453
8455
|
t[gt.CCS_HEADER] = "Oid:" + r.uid + "@" + r.utid;
|
|
8454
8456
|
} catch (o) {
|
|
8455
8457
|
this.logger.verbose("Could not parse home account ID for CCS Header: " + o);
|
|
@@ -8605,7 +8607,7 @@ var En = (
|
|
|
8605
8607
|
}(vo)
|
|
8606
8608
|
);
|
|
8607
8609
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8608
|
-
var
|
|
8610
|
+
var On = (
|
|
8609
8611
|
/** @class */
|
|
8610
8612
|
function(n) {
|
|
8611
8613
|
st(e, n);
|
|
@@ -8625,13 +8627,13 @@ var Lo = [
|
|
|
8625
8627
|
"interaction_required",
|
|
8626
8628
|
"consent_required",
|
|
8627
8629
|
"login_required"
|
|
8628
|
-
],
|
|
8630
|
+
], Xa = [
|
|
8629
8631
|
"message_only",
|
|
8630
8632
|
"additional_action",
|
|
8631
8633
|
"basic_action",
|
|
8632
8634
|
"user_password_expired",
|
|
8633
8635
|
"consent_required"
|
|
8634
|
-
],
|
|
8636
|
+
], Ln = {
|
|
8635
8637
|
noTokensFoundError: {
|
|
8636
8638
|
code: "no_tokens_found",
|
|
8637
8639
|
desc: "No refresh token found in the cache. Please sign-in."
|
|
@@ -8649,14 +8651,14 @@ var Lo = [
|
|
|
8649
8651
|
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;
|
|
8650
8652
|
}
|
|
8651
8653
|
return e.isInteractionRequiredError = function(t, r, o) {
|
|
8652
|
-
var i = !!t && Lo.indexOf(t) > -1, a = !!o &&
|
|
8654
|
+
var i = !!t && Lo.indexOf(t) > -1, a = !!o && Xa.indexOf(o) > -1, s = !!r && Lo.some(function(u) {
|
|
8653
8655
|
return r.indexOf(u) > -1;
|
|
8654
8656
|
});
|
|
8655
8657
|
return i || s || a;
|
|
8656
8658
|
}, e.createNoTokensFoundError = function() {
|
|
8657
|
-
return new e(
|
|
8659
|
+
return new e(Ln.noTokensFoundError.code, Ln.noTokensFoundError.desc);
|
|
8658
8660
|
}, e.createNativeAccountUnavailableError = function() {
|
|
8659
|
-
return new e(
|
|
8661
|
+
return new e(Ln.native_account_unavailable.code, Ln.native_account_unavailable.desc);
|
|
8660
8662
|
}, e;
|
|
8661
8663
|
}(X)
|
|
8662
8664
|
);
|
|
@@ -8809,7 +8811,7 @@ var Sr;
|
|
|
8809
8811
|
(function(n) {
|
|
8810
8812
|
n[n.NotStarted = 0] = "NotStarted", n[n.InProgress = 1] = "InProgress", n[n.Completed = 2] = "Completed";
|
|
8811
8813
|
})(Sr || (Sr = {}));
|
|
8812
|
-
var
|
|
8814
|
+
var Za = /* @__PURE__ */ new Set([
|
|
8813
8815
|
"accessTokenSize",
|
|
8814
8816
|
"durationMs",
|
|
8815
8817
|
"idTokenSize",
|
|
@@ -8825,7 +8827,7 @@ var to;
|
|
|
8825
8827
|
(function(n) {
|
|
8826
8828
|
n.SW = "sw", n.UHW = "uhw";
|
|
8827
8829
|
})(to || (to = {}));
|
|
8828
|
-
var
|
|
8830
|
+
var Hn = (
|
|
8829
8831
|
/** @class */
|
|
8830
8832
|
function() {
|
|
8831
8833
|
function n(e, t) {
|
|
@@ -8910,7 +8912,7 @@ var no = (
|
|
|
8910
8912
|
}()
|
|
8911
8913
|
);
|
|
8912
8914
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
8913
|
-
var
|
|
8915
|
+
var es = (
|
|
8914
8916
|
/** @class */
|
|
8915
8917
|
function() {
|
|
8916
8918
|
function n(e, t) {
|
|
@@ -8977,7 +8979,7 @@ var Ir = (
|
|
|
8977
8979
|
}
|
|
8978
8980
|
this.homeAccountIdentifier = Ke.generateHomeAccountId(e.client_info || w.EMPTY_STRING, t.authorityType, this.logger, this.cryptoObj, m), i && i.state && (k = tn.parseRequestState(this.cryptoObj, i.state)), e.key_id = e.key_id || o.sshKid || void 0, E = this.generateCacheRecord(e, t, r, o, m, a, i), z.label = 1;
|
|
8979
8981
|
case 1:
|
|
8980
|
-
return z.trys.push([1, , 5, 8]), this.persistencePlugin && this.serializableCache ? (this.logger.verbose("Persistence enabled, calling beforeCacheAccess"), P = new
|
|
8982
|
+
return z.trys.push([1, , 5, 8]), this.persistencePlugin && this.serializableCache ? (this.logger.verbose("Persistence enabled, calling beforeCacheAccess"), P = new es(this.serializableCache, !0), [4, this.persistencePlugin.beforeCacheAccess(P)]) : [3, 3];
|
|
8981
8983
|
case 2:
|
|
8982
8984
|
z.sent(), z.label = 3;
|
|
8983
8985
|
case 3:
|
|
@@ -9010,7 +9012,7 @@ var Ir = (
|
|
|
9010
9012
|
m = En.createAccessTokenEntity(this.homeAccountIdentifier, u, e.access_token || w.EMPTY_STRING, this.clientId, i ? i.claims.tid || w.EMPTY_STRING : t.tenant, f.printScopes(), j, K, this.cryptoObj, z, e.token_type, a, e.key_id, o.claims, o.requestedClaimsHash);
|
|
9011
9013
|
}
|
|
9012
9014
|
var T = null;
|
|
9013
|
-
V.isEmpty(e.refresh_token) || (T =
|
|
9015
|
+
V.isEmpty(e.refresh_token) || (T = On.createRefreshTokenEntity(this.homeAccountIdentifier, u, e.refresh_token || w.EMPTY_STRING, this.clientId, e.foci, a));
|
|
9014
9016
|
var D = null;
|
|
9015
9017
|
return V.isEmpty(e.foci) || (D = no.createAppMetadataEntity(this.clientId, u, e.foci)), new tr(l, p, m, T, D);
|
|
9016
9018
|
}, n.prototype.generateAccountEntity = function(e, t, r, o) {
|
|
@@ -9031,7 +9033,7 @@ var Ir = (
|
|
|
9031
9033
|
return [3, 4];
|
|
9032
9034
|
if (r.accessToken.tokenType !== _e.POP)
|
|
9033
9035
|
return [3, 2];
|
|
9034
|
-
if (z = new
|
|
9036
|
+
if (z = new Hn(e), T = r.accessToken, D = T.secret, G = T.keyId, !G)
|
|
9035
9037
|
throw Y.createKeyIdMissingError();
|
|
9036
9038
|
return [4, z.signPopToken(D, G, i)];
|
|
9037
9039
|
case 1:
|
|
@@ -9170,7 +9172,7 @@ var mi = (
|
|
|
9170
9172
|
return ie(this, function(k) {
|
|
9171
9173
|
switch (k.label) {
|
|
9172
9174
|
case 0:
|
|
9173
|
-
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.AuthClientCreateTokenRequestBody, t.correlationId), i = new er(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : bn.validateRedirectUri(t.redirectUri), i.addScopes(t.scopes), i.addAuthorizationCode(t.code), i.addLibraryInfo(this.config.libraryInfo), i.addApplicationTelemetry(this.config.telemetry.application), i.addThrottling(), this.serverTelemetryManager && i.addServerTelemetry(this.serverTelemetryManager), t.codeVerifier && i.addCodeVerifier(t.codeVerifier), this.config.clientCredentials.clientSecret && i.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (a = this.config.clientCredentials.clientAssertion, i.addClientAssertion(a.assertion), i.addClientAssertionType(a.assertionType)), i.addGrantType(br.AUTHORIZATION_CODE_GRANT), i.addClientInfo(), t.authenticationScheme !== _e.POP ? [3, 2] : (s = new
|
|
9175
|
+
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.AuthClientCreateTokenRequestBody, t.correlationId), i = new er(), i.addClientId(this.config.authOptions.clientId), this.includeRedirectUri ? i.addRedirectUri(t.redirectUri) : bn.validateRedirectUri(t.redirectUri), i.addScopes(t.scopes), i.addAuthorizationCode(t.code), i.addLibraryInfo(this.config.libraryInfo), i.addApplicationTelemetry(this.config.telemetry.application), i.addThrottling(), this.serverTelemetryManager && i.addServerTelemetry(this.serverTelemetryManager), t.codeVerifier && i.addCodeVerifier(t.codeVerifier), this.config.clientCredentials.clientSecret && i.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (a = this.config.clientCredentials.clientAssertion, i.addClientAssertion(a.assertion), i.addClientAssertionType(a.assertionType)), i.addGrantType(br.AUTHORIZATION_CODE_GRANT), i.addClientInfo(), t.authenticationScheme !== _e.POP ? [3, 2] : (s = new Hn(this.cryptoUtils, this.performanceClient), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.PopTokenGenerateCnf, t.correlationId), [4, s.generateCnf(t)]);
|
|
9174
9176
|
case 1:
|
|
9175
9177
|
return u = k.sent(), i.addPopToken(u.reqCnfString), [3, 3];
|
|
9176
9178
|
case 2:
|
|
@@ -9196,7 +9198,7 @@ var mi = (
|
|
|
9196
9198
|
switch (l.type) {
|
|
9197
9199
|
case ft.HOME_ACCOUNT_ID:
|
|
9198
9200
|
try {
|
|
9199
|
-
m =
|
|
9201
|
+
m = Nn(l.credential), i.addCcsOid(m);
|
|
9200
9202
|
} catch (E) {
|
|
9201
9203
|
this.logger.verbose("Could not parse home account ID for CCS Header: " + E);
|
|
9202
9204
|
}
|
|
@@ -9223,14 +9225,14 @@ var mi = (
|
|
|
9223
9225
|
if (s = this.extractAccountSid(t.account), u = this.extractLoginHint(t.account), u) {
|
|
9224
9226
|
this.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"), o.addLoginHint(u);
|
|
9225
9227
|
try {
|
|
9226
|
-
p =
|
|
9228
|
+
p = Nn(t.account.homeAccountId), o.addCcsOid(p);
|
|
9227
9229
|
} catch {
|
|
9228
9230
|
this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header");
|
|
9229
9231
|
}
|
|
9230
9232
|
} else if (s && t.prompt === Ze.NONE) {
|
|
9231
9233
|
this.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"), o.addSid(s);
|
|
9232
9234
|
try {
|
|
9233
|
-
p =
|
|
9235
|
+
p = Nn(t.account.homeAccountId), o.addCcsOid(p);
|
|
9234
9236
|
} catch {
|
|
9235
9237
|
this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header");
|
|
9236
9238
|
}
|
|
@@ -9239,7 +9241,7 @@ var mi = (
|
|
|
9239
9241
|
else if (t.account.username) {
|
|
9240
9242
|
this.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"), o.addLoginHint(t.account.username);
|
|
9241
9243
|
try {
|
|
9242
|
-
p =
|
|
9244
|
+
p = Nn(t.account.homeAccountId), o.addCcsOid(p);
|
|
9243
9245
|
} catch {
|
|
9244
9246
|
this.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header");
|
|
9245
9247
|
}
|
|
@@ -9248,7 +9250,7 @@ var mi = (
|
|
|
9248
9250
|
t.loginHint && (this.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"), o.addLoginHint(t.loginHint), o.addCcsUpn(t.loginHint));
|
|
9249
9251
|
else
|
|
9250
9252
|
this.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");
|
|
9251
|
-
return t.nonce && o.addNonce(t.nonce), t.state && o.addState(t.state), (!V.isEmpty(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && o.addClaims(t.claims, this.config.authOptions.clientCapabilities), t.extraQueryParameters && o.addExtraQueryParameters(t.extraQueryParameters), t.nativeBroker ? (o.addNativeBroker(), t.authenticationScheme !== _e.POP ? [3, 2] : (l = new
|
|
9253
|
+
return t.nonce && o.addNonce(t.nonce), t.state && o.addState(t.state), (!V.isEmpty(t.claims) || this.config.authOptions.clientCapabilities && this.config.authOptions.clientCapabilities.length > 0) && o.addClaims(t.claims, this.config.authOptions.clientCapabilities), t.extraQueryParameters && o.addExtraQueryParameters(t.extraQueryParameters), t.nativeBroker ? (o.addNativeBroker(), t.authenticationScheme !== _e.POP ? [3, 2] : (l = new Hn(this.cryptoUtils), [4, l.generateCnf(t)])) : [3, 2];
|
|
9252
9254
|
case 1:
|
|
9253
9255
|
m = f.sent(), o.addPopToken(m.reqCnfString), f.label = 2;
|
|
9254
9256
|
case 2:
|
|
@@ -9316,7 +9318,7 @@ var _i = (
|
|
|
9316
9318
|
try {
|
|
9317
9319
|
return (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !0)];
|
|
9318
9320
|
} catch (m) {
|
|
9319
|
-
if (u = m instanceof Pt && m.errorCode ===
|
|
9321
|
+
if (u = m instanceof Pt && m.errorCode === Ln.noTokensFoundError.code, p = m instanceof In && m.errorCode === Oo.INVALID_GRANT_ERROR && m.subError === Oo.CLIENT_MISMATCH_ERROR, u || p)
|
|
9320
9322
|
return (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(A.RefreshTokenClientAcquireTokenWithCachedRefreshToken, t.correlationId), [2, this.acquireTokenWithCachedRefreshToken(t, !1)];
|
|
9321
9323
|
throw m;
|
|
9322
9324
|
}
|
|
@@ -9376,7 +9378,7 @@ var _i = (
|
|
|
9376
9378
|
return ie(this, function(k) {
|
|
9377
9379
|
switch (k.label) {
|
|
9378
9380
|
case 0:
|
|
9379
|
-
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(A.BaseClientCreateTokenRequestHeaders, a), u = new er(), u.addClientId(this.config.authOptions.clientId), u.addScopes(t.scopes), u.addGrantType(br.REFRESH_TOKEN_GRANT), u.addClientInfo(), u.addLibraryInfo(this.config.libraryInfo), u.addApplicationTelemetry(this.config.telemetry.application), u.addThrottling(), this.serverTelemetryManager && u.addServerTelemetry(this.serverTelemetryManager), u.addCorrelationId(a), u.addRefreshToken(t.refreshToken), this.config.clientCredentials.clientSecret && u.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (p = this.config.clientCredentials.clientAssertion, u.addClientAssertion(p.assertion), u.addClientAssertionType(p.assertionType)), t.authenticationScheme !== _e.POP ? [3, 2] : (l = new
|
|
9381
|
+
return (r = this.performanceClient) === null || r === void 0 || r.addQueueMeasurement(A.RefreshTokenClientCreateTokenRequestBody, t.correlationId), a = t.correlationId, s = (o = this.performanceClient) === null || o === void 0 ? void 0 : o.startMeasurement(A.BaseClientCreateTokenRequestHeaders, a), u = new er(), u.addClientId(this.config.authOptions.clientId), u.addScopes(t.scopes), u.addGrantType(br.REFRESH_TOKEN_GRANT), u.addClientInfo(), u.addLibraryInfo(this.config.libraryInfo), u.addApplicationTelemetry(this.config.telemetry.application), u.addThrottling(), this.serverTelemetryManager && u.addServerTelemetry(this.serverTelemetryManager), u.addCorrelationId(a), u.addRefreshToken(t.refreshToken), this.config.clientCredentials.clientSecret && u.addClientSecret(this.config.clientCredentials.clientSecret), this.config.clientCredentials.clientAssertion && (p = this.config.clientCredentials.clientAssertion, u.addClientAssertion(p.assertion), u.addClientAssertionType(p.assertionType)), t.authenticationScheme !== _e.POP ? [3, 2] : (l = new Hn(this.cryptoUtils, this.performanceClient), (i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(A.PopTokenGenerateCnf, t.correlationId), [4, l.generateCnf(t)]);
|
|
9380
9382
|
case 1:
|
|
9381
9383
|
return m = k.sent(), u.addPopToken(m.reqCnfString), [3, 3];
|
|
9382
9384
|
case 2:
|
|
@@ -9393,7 +9395,7 @@ var _i = (
|
|
|
9393
9395
|
switch (t.ccsCredential.type) {
|
|
9394
9396
|
case ft.HOME_ACCOUNT_ID:
|
|
9395
9397
|
try {
|
|
9396
|
-
f =
|
|
9398
|
+
f = Nn(t.ccsCredential.credential), u.addCcsOid(f);
|
|
9397
9399
|
} catch (E) {
|
|
9398
9400
|
this.logger.verbose("Could not parse home account ID for CCS Header: " + E);
|
|
9399
9401
|
}
|
|
@@ -9412,7 +9414,7 @@ var _i = (
|
|
|
9412
9414
|
}(_o)
|
|
9413
9415
|
);
|
|
9414
9416
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9415
|
-
var
|
|
9417
|
+
var ts = (
|
|
9416
9418
|
/** @class */
|
|
9417
9419
|
function(n) {
|
|
9418
9420
|
st(e, n);
|
|
@@ -9489,7 +9491,7 @@ var ns = (
|
|
|
9489
9491
|
}(_o)
|
|
9490
9492
|
);
|
|
9491
9493
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9492
|
-
function
|
|
9494
|
+
function ns(n) {
|
|
9493
9495
|
return n.hasOwnProperty("authorization_endpoint") && n.hasOwnProperty("token_endpoint") && n.hasOwnProperty("issuer") && n.hasOwnProperty("jwks_uri");
|
|
9494
9496
|
}
|
|
9495
9497
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
@@ -9522,15 +9524,15 @@ var ro = (
|
|
|
9522
9524
|
}()
|
|
9523
9525
|
);
|
|
9524
9526
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9525
|
-
function
|
|
9527
|
+
function rs(n) {
|
|
9526
9528
|
return n.hasOwnProperty("tenant_discovery_endpoint") && n.hasOwnProperty("metadata");
|
|
9527
9529
|
}
|
|
9528
9530
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9529
|
-
function
|
|
9531
|
+
function os(n) {
|
|
9530
9532
|
return n.hasOwnProperty("error") && n.hasOwnProperty("error_description");
|
|
9531
9533
|
}
|
|
9532
9534
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
9533
|
-
var
|
|
9535
|
+
var is = (
|
|
9534
9536
|
/** @class */
|
|
9535
9537
|
function() {
|
|
9536
9538
|
function n(e, t, r) {
|
|
@@ -9549,11 +9551,11 @@ var as = (
|
|
|
9549
9551
|
case 1:
|
|
9550
9552
|
return f.trys.push([1, 6, , 7]), (o = this.performanceClient) === null || o === void 0 || o.setPreQueueTime(A.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(w.IMDS_VERSION, u)];
|
|
9551
9553
|
case 2:
|
|
9552
|
-
return p = f.sent(), p.status ===
|
|
9554
|
+
return p = f.sent(), p.status === Mn.httpSuccess && (s = p.body, t.region_source = dn.IMDS), p.status !== Mn.httpBadRequest ? [3, 5] : ((i = this.performanceClient) === null || i === void 0 || i.setPreQueueTime(A.RegionDiscoveryGetCurrentVersion, this.correlationId), [4, this.getCurrentVersion(u)]);
|
|
9553
9555
|
case 3:
|
|
9554
9556
|
return l = f.sent(), l ? ((a = this.performanceClient) === null || a === void 0 || a.setPreQueueTime(A.RegionDiscoveryGetRegionFromIMDS, this.correlationId), [4, this.getRegionFromIMDS(l, u)]) : (t.region_source = dn.FAILED_AUTO_DETECTION, [2, null]);
|
|
9555
9557
|
case 4:
|
|
9556
|
-
m = f.sent(), m.status ===
|
|
9558
|
+
m = f.sent(), m.status === Mn.httpSuccess && (s = m.body, t.region_source = dn.IMDS), f.label = 5;
|
|
9557
9559
|
case 5:
|
|
9558
9560
|
return [3, 7];
|
|
9559
9561
|
case 6:
|
|
@@ -9585,7 +9587,7 @@ var as = (
|
|
|
9585
9587
|
case 1:
|
|
9586
9588
|
return o.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(w.IMDS_ENDPOINT + "?format=json", e)];
|
|
9587
9589
|
case 2:
|
|
9588
|
-
return r = o.sent(), r.status ===
|
|
9590
|
+
return r = o.sent(), r.status === Mn.httpBadRequest && r.body && r.body["newest-versions"] && r.body["newest-versions"].length > 0 ? [2, r.body["newest-versions"][0]] : [2, null];
|
|
9589
9591
|
case 3:
|
|
9590
9592
|
return o.sent(), [2, null];
|
|
9591
9593
|
case 4:
|
|
@@ -9608,7 +9610,7 @@ var ir = (
|
|
|
9608
9610
|
/** @class */
|
|
9609
9611
|
function() {
|
|
9610
9612
|
function n(e, t, r, o, i, a, s) {
|
|
9611
|
-
this.canonicalAuthority = e, this._canonicalAuthority.validateAsUri(), this.networkInterface = t, this.cacheManager = r, this.authorityOptions = o, this.regionDiscoveryMetadata = { region_used: void 0, region_source: void 0, region_outcome: void 0 }, this.logger = i, this.performanceClient = a, this.correlationId = s, this.regionDiscovery = new
|
|
9613
|
+
this.canonicalAuthority = e, this._canonicalAuthority.validateAsUri(), this.networkInterface = t, this.cacheManager = r, this.authorityOptions = o, this.regionDiscoveryMetadata = { region_used: void 0, region_source: void 0, region_outcome: void 0 }, this.logger = i, this.performanceClient = a, this.correlationId = s, this.regionDiscovery = new is(t, this.performanceClient, this.correlationId);
|
|
9612
9614
|
}
|
|
9613
9615
|
return n.prototype.getAuthorityType = function(e) {
|
|
9614
9616
|
if (e.HostNameAndPort.endsWith(w.CIAM_AUTH_URL))
|
|
@@ -9845,7 +9847,7 @@ var ir = (
|
|
|
9845
9847
|
case 1:
|
|
9846
9848
|
return o.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(this.defaultOpenIdConfigurationEndpoint, t)];
|
|
9847
9849
|
case 2:
|
|
9848
|
-
return r = o.sent(), [2,
|
|
9850
|
+
return r = o.sent(), [2, ns(r.body) ? r.body : null];
|
|
9849
9851
|
case 3:
|
|
9850
9852
|
return o.sent(), [2, null];
|
|
9851
9853
|
case 4:
|
|
@@ -9919,9 +9921,9 @@ var ir = (
|
|
|
9919
9921
|
case 1:
|
|
9920
9922
|
return l.trys.push([1, 3, , 4]), [4, this.networkInterface.sendGetRequestAsync(t, r)];
|
|
9921
9923
|
case 2:
|
|
9922
|
-
if (i = l.sent(), a = void 0, s = void 0,
|
|
9924
|
+
if (i = l.sent(), a = void 0, s = void 0, rs(i.body))
|
|
9923
9925
|
a = i.body, s = a.metadata, this.logger.verbosePii("tenant_discovery_endpoint is: " + a.tenant_discovery_endpoint);
|
|
9924
|
-
else if (
|
|
9926
|
+
else if (os(i.body)) {
|
|
9925
9927
|
if (this.logger.warning("A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: " + i.status), a = i.body, a.error === w.INVALID_INSTANCE)
|
|
9926
9928
|
return this.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."), [2, null];
|
|
9927
9929
|
this.logger.warning("The CloudInstanceDiscoveryErrorResponse error is " + a.error), this.logger.warning("The CloudInstanceDiscoveryErrorResponse error description is " + a.error_description), this.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"), s = [];
|
|
@@ -10061,7 +10063,7 @@ var Uo = (
|
|
|
10061
10063
|
}()
|
|
10062
10064
|
);
|
|
10063
10065
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10064
|
-
var
|
|
10066
|
+
var as = {
|
|
10065
10067
|
sendGetRequestAsync: function() {
|
|
10066
10068
|
var n = "Network interface - sendGetRequestAsync() has not been implemented for the Network interface.";
|
|
10067
10069
|
return Promise.reject(X.createUnexpectedError(n));
|
|
@@ -10097,7 +10099,7 @@ var gr = {
|
|
|
10097
10099
|
}(X)
|
|
10098
10100
|
);
|
|
10099
10101
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10100
|
-
var
|
|
10102
|
+
var ss = (
|
|
10101
10103
|
/** @class */
|
|
10102
10104
|
function() {
|
|
10103
10105
|
function n(e) {
|
|
@@ -10119,7 +10121,7 @@ var cs = (
|
|
|
10119
10121
|
}()
|
|
10120
10122
|
);
|
|
10121
10123
|
/*! @azure/msal-common v13.3.1 2023-10-27 */
|
|
10122
|
-
var
|
|
10124
|
+
var cs = (
|
|
10123
10125
|
/** @class */
|
|
10124
10126
|
function() {
|
|
10125
10127
|
function n(e, t) {
|
|
@@ -10180,7 +10182,7 @@ var yi = (
|
|
|
10180
10182
|
}, n.prototype.startPerformanceMeasuremeant = function(e, t) {
|
|
10181
10183
|
return {};
|
|
10182
10184
|
}, n.prototype.getIntFields = function() {
|
|
10183
|
-
return
|
|
10185
|
+
return Za;
|
|
10184
10186
|
}, n.prototype.getPreQueueTime = function(e, t) {
|
|
10185
10187
|
var r = this.preQueueTimeByCorrelationId.get(t);
|
|
10186
10188
|
if (r) {
|
|
@@ -10328,7 +10330,7 @@ var Do = (
|
|
|
10328
10330
|
return null;
|
|
10329
10331
|
}, n;
|
|
10330
10332
|
}()
|
|
10331
|
-
),
|
|
10333
|
+
), ls = (
|
|
10332
10334
|
/** @class */
|
|
10333
10335
|
function(n) {
|
|
10334
10336
|
st(e, n);
|
|
@@ -10686,10 +10688,10 @@ var Dt;
|
|
|
10686
10688
|
(function(n) {
|
|
10687
10689
|
n.ACCOUNT_KEYS = "msal.account.keys", n.TOKEN_KEYS = "msal.token.keys";
|
|
10688
10690
|
})(Dt || (Dt = {}));
|
|
10689
|
-
var
|
|
10691
|
+
var zn;
|
|
10690
10692
|
(function(n) {
|
|
10691
10693
|
n.WRAPPER_SKU = "wrapper.sku", n.WRAPPER_VER = "wrapper.version";
|
|
10692
|
-
})(
|
|
10694
|
+
})(zn || (zn = {}));
|
|
10693
10695
|
var Ce;
|
|
10694
10696
|
(function(n) {
|
|
10695
10697
|
n[n.acquireTokenRedirect = 861] = "acquireTokenRedirect", n[n.acquireTokenPopup = 862] = "acquireTokenPopup", n[n.ssoSilent = 863] = "ssoSilent", n[n.acquireTokenSilent_authCode = 864] = "acquireTokenSilent_authCode", n[n.handleRedirectPromise = 865] = "handleRedirectPromise", n[n.acquireTokenByCode = 866] = "acquireTokenByCode", n[n.acquireTokenSilent_silentFlow = 61] = "acquireTokenSilent_silentFlow", n[n.logout = 961] = "logout", n[n.logoutPopup = 962] = "logoutPopup";
|
|
@@ -10704,11 +10706,11 @@ var Ho;
|
|
|
10704
10706
|
})(Ho || (Ho = {}));
|
|
10705
10707
|
var jo = {
|
|
10706
10708
|
scopes: sr
|
|
10707
|
-
},
|
|
10709
|
+
}, jn = "jwk", Fo;
|
|
10708
10710
|
(function(n) {
|
|
10709
10711
|
n.React = "@azure/msal-react", n.Angular = "@azure/msal-angular";
|
|
10710
10712
|
})(Fo || (Fo = {}));
|
|
10711
|
-
var oo = "msal.db",
|
|
10713
|
+
var oo = "msal.db", us = 1, ds = oo + ".keys", it;
|
|
10712
10714
|
(function(n) {
|
|
10713
10715
|
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";
|
|
10714
10716
|
})(it || (it = {}));
|
|
@@ -10922,9 +10924,9 @@ var ao = (
|
|
|
10922
10924
|
t.logger.trace("BrowserCacheManager:createKeyMaps - key found matching accessToken schema with value containing accessToken credentialType field but value failed AccessTokenEntity validation, skipping."), t.logger.tracePii("BrowserCacheManager:createKeyMaps - failed accessToken validation on key: " + a);
|
|
10923
10925
|
break;
|
|
10924
10926
|
case ee.REFRESH_TOKEN:
|
|
10925
|
-
if (
|
|
10927
|
+
if (On.isRefreshTokenEntity(u)) {
|
|
10926
10928
|
t.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"), t.logger.tracePii("BrowserCacheManager:createKeyMaps - refreshToken with key: " + a + " found, saving key to token key map");
|
|
10927
|
-
var f = ot.toObject(new
|
|
10929
|
+
var f = ot.toObject(new On(), u), l = t.updateCredentialCacheKey(a, f);
|
|
10928
10930
|
t.addTokenKey(l, ee.REFRESH_TOKEN);
|
|
10929
10931
|
return;
|
|
10930
10932
|
} else
|
|
@@ -11077,7 +11079,7 @@ var ao = (
|
|
|
11077
11079
|
if (!r)
|
|
11078
11080
|
return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.REFRESH_TOKEN), null;
|
|
11079
11081
|
var o = this.validateAndParseJson(r);
|
|
11080
|
-
return !o || !
|
|
11082
|
+
return !o || !On.isRefreshTokenEntity(o) ? (this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"), this.removeTokenKey(t, ee.REFRESH_TOKEN), null) : (this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"), ot.toObject(new On(), o));
|
|
11081
11083
|
}, e.prototype.setRefreshTokenCredential = function(t) {
|
|
11082
11084
|
this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");
|
|
11083
11085
|
var r = t.generateCredentialKey();
|
|
@@ -11112,9 +11114,9 @@ var ao = (
|
|
|
11112
11114
|
return t.isAuthorityMetadata(o);
|
|
11113
11115
|
});
|
|
11114
11116
|
}, e.prototype.setWrapperMetadata = function(t, r) {
|
|
11115
|
-
this.internalStorage.setItem(
|
|
11117
|
+
this.internalStorage.setItem(zn.WRAPPER_SKU, t), this.internalStorage.setItem(zn.WRAPPER_VER, r);
|
|
11116
11118
|
}, e.prototype.getWrapperMetadata = function() {
|
|
11117
|
-
var t = this.internalStorage.getItem(
|
|
11119
|
+
var t = this.internalStorage.getItem(zn.WRAPPER_SKU) || w.EMPTY_STRING, r = this.internalStorage.getItem(zn.WRAPPER_VER) || w.EMPTY_STRING;
|
|
11118
11120
|
return [t, r];
|
|
11119
11121
|
}, e.prototype.setAuthorityMetadata = function(t, r) {
|
|
11120
11122
|
this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"), this.internalStorage.setItem(t, JSON.stringify(r));
|
|
@@ -11394,7 +11396,7 @@ var ao = (
|
|
|
11394
11396
|
this.setTemporaryCache(ue.REDIRECT_CONTEXT, t, !0);
|
|
11395
11397
|
}, e;
|
|
11396
11398
|
}(ot)
|
|
11397
|
-
),
|
|
11399
|
+
), ps = function(n, e) {
|
|
11398
11400
|
var t = {
|
|
11399
11401
|
cacheLocation: Oe.MemoryStorage,
|
|
11400
11402
|
temporaryCacheLocation: Oe.MemoryStorage,
|
|
@@ -11408,7 +11410,7 @@ var ao = (
|
|
|
11408
11410
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11409
11411
|
var Gr = "@azure/msal-browser", nr = "2.38.3";
|
|
11410
11412
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11411
|
-
var
|
|
11413
|
+
var hs = (
|
|
11412
11414
|
/** @class */
|
|
11413
11415
|
function() {
|
|
11414
11416
|
function n() {
|
|
@@ -11493,7 +11495,7 @@ var fs = (
|
|
|
11493
11495
|
}()
|
|
11494
11496
|
);
|
|
11495
11497
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
11496
|
-
var
|
|
11498
|
+
var fs = (
|
|
11497
11499
|
/** @class */
|
|
11498
11500
|
function() {
|
|
11499
11501
|
function n() {
|
|
@@ -11577,7 +11579,7 @@ var Ae = (
|
|
|
11577
11579
|
var e = new le(window.location.href), t = e.getUrlComponents();
|
|
11578
11580
|
return t.Protocol + "//" + t.HostNameAndPort + "/";
|
|
11579
11581
|
}, n.getBrowserNetworkClient = function() {
|
|
11580
|
-
return window.fetch && window.Headers ? new
|
|
11582
|
+
return window.fetch && window.Headers ? new hs() : new fs();
|
|
11581
11583
|
}, n.blockReloadInHiddenIframes = function() {
|
|
11582
11584
|
var e = le.hashContainsKnownProperties(window.location.hash);
|
|
11583
11585
|
if (e && n.isInIframe())
|
|
@@ -11704,7 +11706,7 @@ var bi = (
|
|
|
11704
11706
|
wrapperSKU: this.browserStorage.getWrapperMetadata()[0],
|
|
11705
11707
|
wrapperVer: this.browserStorage.getWrapperMetadata()[1]
|
|
11706
11708
|
};
|
|
11707
|
-
return new
|
|
11709
|
+
return new cs(r, this.browserStorage);
|
|
11708
11710
|
}, n.prototype.getDiscoveredAuthority = function(e) {
|
|
11709
11711
|
return O(this, void 0, void 0, function() {
|
|
11710
11712
|
var t;
|
|
@@ -12135,7 +12137,7 @@ var ki = (
|
|
|
12135
12137
|
case 0:
|
|
12136
12138
|
return this.performanceClient.setPreQueueTime(A.StandardInteractionClientGetClientConfiguration, this.correlationId), [4, this.getClientConfiguration(t, r, o)];
|
|
12137
12139
|
case 1:
|
|
12138
|
-
return i = a.sent(), [2, new
|
|
12140
|
+
return i = a.sent(), [2, new ts(i, this.performanceClient)];
|
|
12139
12141
|
}
|
|
12140
12142
|
});
|
|
12141
12143
|
});
|
|
@@ -12155,7 +12157,7 @@ var ki = (
|
|
|
12155
12157
|
}(Gn)
|
|
12156
12158
|
);
|
|
12157
12159
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
12158
|
-
var
|
|
12160
|
+
var Bn = (
|
|
12159
12161
|
/** @class */
|
|
12160
12162
|
function(n) {
|
|
12161
12163
|
Ve(e, n);
|
|
@@ -12337,7 +12339,7 @@ var Hn = (
|
|
|
12337
12339
|
return [3, 2];
|
|
12338
12340
|
if (t.shr)
|
|
12339
12341
|
return this.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"), [2, t.shr];
|
|
12340
|
-
if (o = new
|
|
12342
|
+
if (o = new Hn(this.browserCrypto), i = {
|
|
12341
12343
|
resourceRequestMethod: r.resourceRequestMethod,
|
|
12342
12344
|
resourceRequestUri: r.resourceRequestUri,
|
|
12343
12345
|
shrClaims: r.shrClaims,
|
|
@@ -12466,7 +12468,7 @@ var Hn = (
|
|
|
12466
12468
|
resourceRequestMethod: t.resourceRequestMethod,
|
|
12467
12469
|
shrClaims: t.shrClaims,
|
|
12468
12470
|
shrNonce: t.shrNonce
|
|
12469
|
-
}, m = new
|
|
12471
|
+
}, m = new Hn(this.browserCrypto), [4, m.generateCnf(l)]);
|
|
12470
12472
|
case 3:
|
|
12471
12473
|
f = E.sent(), p.reqCnf = f.reqCnfString, p.keyId = f.kid, E.label = 4;
|
|
12472
12474
|
case 4:
|
|
@@ -12599,7 +12601,7 @@ var Sn = (
|
|
|
12599
12601
|
}()
|
|
12600
12602
|
);
|
|
12601
12603
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
12602
|
-
var
|
|
12604
|
+
var gs = (
|
|
12603
12605
|
/** @class */
|
|
12604
12606
|
function(n) {
|
|
12605
12607
|
Ve(e, n);
|
|
@@ -12710,7 +12712,7 @@ var ms = (
|
|
|
12710
12712
|
if (i = this.browserStorage.getCachedRequest(r, this.browserCrypto), this.logger.verbose("handleHash called, retrieved cached request"), a = le.getDeserializedHash(t), a.accountId) {
|
|
12711
12713
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
|
12712
12714
|
throw F.createNativeConnectionNotEstablishedError();
|
|
12713
|
-
return s = new
|
|
12715
|
+
return s = new Bn(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, a.accountId, this.nativeStorage, i.correlationId), u = tn.parseRequestState(this.browserCrypto, r).userRequestState, [2, s.acquireToken($($({}, i), {
|
|
12714
12716
|
state: u,
|
|
12715
12717
|
prompt: void 0
|
|
12716
12718
|
// Server should handle the prompt, ideally native broker can do this part silently
|
|
@@ -12780,7 +12782,7 @@ var ms = (
|
|
|
12780
12782
|
}(Gn)
|
|
12781
12783
|
);
|
|
12782
12784
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
12783
|
-
var
|
|
12785
|
+
var ms = (
|
|
12784
12786
|
/** @class */
|
|
12785
12787
|
function(n) {
|
|
12786
12788
|
Ve(e, n);
|
|
@@ -12839,7 +12841,7 @@ var _s = (
|
|
|
12839
12841
|
isNativeBroker: !0
|
|
12840
12842
|
}), !this.nativeMessageHandler)
|
|
12841
12843
|
throw F.createNativeConnectionNotEstablishedError();
|
|
12842
|
-
return T = new
|
|
12844
|
+
return T = new Bn(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenPopup, this.performanceClient, this.nativeMessageHandler, K.accountId, this.nativeStorage, s.correlationId), D = tn.parseRequestState(this.browserCrypto, z).userRequestState, [2, T.acquireToken($($({}, s), {
|
|
12843
12845
|
state: D,
|
|
12844
12846
|
prompt: void 0
|
|
12845
12847
|
// Server should handle the prompt, ideally native broker can do this part silently
|
|
@@ -12950,7 +12952,7 @@ var _s = (
|
|
|
12950
12952
|
}(Gn)
|
|
12951
12953
|
);
|
|
12952
12954
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
12953
|
-
var
|
|
12955
|
+
var _s = (
|
|
12954
12956
|
/** @class */
|
|
12955
12957
|
function() {
|
|
12956
12958
|
function n() {
|
|
@@ -12969,8 +12971,8 @@ var vs = (
|
|
|
12969
12971
|
}()
|
|
12970
12972
|
);
|
|
12971
12973
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
12972
|
-
var
|
|
12973
|
-
function
|
|
12974
|
+
var vs = 6e4, so = 6e3, ys = 3e4, ws = 2e3;
|
|
12975
|
+
function bs(n, e) {
|
|
12974
12976
|
var t = n.auth, r = n.cache, o = n.system, i = n.telemetry, a = {
|
|
12975
12977
|
clientId: w.EMPTY_STRING,
|
|
12976
12978
|
authority: "" + w.DEFAULT_AUTHORITY,
|
|
@@ -13003,18 +13005,18 @@ function ks(n, e) {
|
|
|
13003
13005
|
piiLoggingEnabled: !1
|
|
13004
13006
|
}, p = $($({}, gi), {
|
|
13005
13007
|
loggerOptions: u,
|
|
13006
|
-
networkClient: e ? Ae.getBrowserNetworkClient() :
|
|
13007
|
-
navigationClient: new
|
|
13008
|
+
networkClient: e ? Ae.getBrowserNetworkClient() : as,
|
|
13009
|
+
navigationClient: new _s(),
|
|
13008
13010
|
loadFrameTimeout: 0,
|
|
13009
13011
|
// If loadFrameTimeout is provided, use that as default.
|
|
13010
|
-
windowHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) ||
|
|
13012
|
+
windowHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) || vs,
|
|
13011
13013
|
iframeHashTimeout: (o == null ? void 0 : o.loadFrameTimeout) || so,
|
|
13012
13014
|
navigateFrameWait: e && Ae.detectIEOrEdge() ? 500 : 0,
|
|
13013
|
-
redirectNavigationTimeout:
|
|
13015
|
+
redirectNavigationTimeout: ys,
|
|
13014
13016
|
asyncPopups: !1,
|
|
13015
13017
|
allowRedirectInIframe: !1,
|
|
13016
13018
|
allowNativeBroker: !1,
|
|
13017
|
-
nativeBrokerHandshakeTimeout: (o == null ? void 0 : o.nativeBrokerHandshakeTimeout) ||
|
|
13019
|
+
nativeBrokerHandshakeTimeout: (o == null ? void 0 : o.nativeBrokerHandshakeTimeout) || ws,
|
|
13018
13020
|
pollIntervalMilliseconds: Rt.DEFAULT_POLL_INTERVAL_MS,
|
|
13019
13021
|
cryptoOptions: {
|
|
13020
13022
|
useMsrCrypto: !1,
|
|
@@ -13104,7 +13106,7 @@ var Ci = (
|
|
|
13104
13106
|
}(yo)
|
|
13105
13107
|
);
|
|
13106
13108
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13107
|
-
var
|
|
13109
|
+
var ks = (
|
|
13108
13110
|
/** @class */
|
|
13109
13111
|
function(n) {
|
|
13110
13112
|
Ve(e, n);
|
|
@@ -13170,7 +13172,7 @@ var Cs = (
|
|
|
13170
13172
|
if (u = E.sent(), p = le.getDeserializedHash(u), l = this.validateAndExtractStateFromHash(p, W.Silent, o.correlationId), p.accountId) {
|
|
13171
13173
|
if (this.logger.verbose("Account id found in hash, calling WAM for token"), !this.nativeMessageHandler)
|
|
13172
13174
|
throw F.createNativeConnectionNotEstablishedError();
|
|
13173
|
-
return m = new
|
|
13175
|
+
return m = new Bn(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.apiId, this.performanceClient, this.nativeMessageHandler, p.accountId, this.browserStorage, this.correlationId), f = tn.parseRequestState(this.browserCrypto, l).userRequestState, [2, m.acquireToken($($({}, r), { state: f, prompt: r.prompt || Ze.NONE })).finally(function() {
|
|
13174
13176
|
k.browserStorage.cleanRequestByState(l);
|
|
13175
13177
|
})];
|
|
13176
13178
|
}
|
|
@@ -13182,7 +13184,7 @@ var Cs = (
|
|
|
13182
13184
|
}(Gn)
|
|
13183
13185
|
);
|
|
13184
13186
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13185
|
-
var
|
|
13187
|
+
var Cs = (
|
|
13186
13188
|
/** @class */
|
|
13187
13189
|
function(n) {
|
|
13188
13190
|
Ve(e, n);
|
|
@@ -13233,7 +13235,7 @@ var Es = (
|
|
|
13233
13235
|
}(Gn)
|
|
13234
13236
|
);
|
|
13235
13237
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13236
|
-
var
|
|
13238
|
+
var Es = (
|
|
13237
13239
|
/** @class */
|
|
13238
13240
|
function() {
|
|
13239
13241
|
function n(e, t) {
|
|
@@ -13384,7 +13386,7 @@ var Ti = (
|
|
|
13384
13386
|
}()
|
|
13385
13387
|
);
|
|
13386
13388
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13387
|
-
var
|
|
13389
|
+
var Ts = (
|
|
13388
13390
|
/** @class */
|
|
13389
13391
|
function() {
|
|
13390
13392
|
function n() {
|
|
@@ -13419,7 +13421,7 @@ var Ss = (
|
|
|
13419
13421
|
}()
|
|
13420
13422
|
);
|
|
13421
13423
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13422
|
-
var
|
|
13424
|
+
var Ss = 32, Is = (
|
|
13423
13425
|
/** @class */
|
|
13424
13426
|
function() {
|
|
13425
13427
|
function n(e) {
|
|
@@ -13442,7 +13444,7 @@ var Is = 32, As = (
|
|
|
13442
13444
|
});
|
|
13443
13445
|
}, n.prototype.generateCodeVerifier = function() {
|
|
13444
13446
|
try {
|
|
13445
|
-
var e = new Uint8Array(
|
|
13447
|
+
var e = new Uint8Array(Ss);
|
|
13446
13448
|
this.cryptoObj.getRandomValues(e);
|
|
13447
13449
|
var t = this.base64Encode.urlEncodeArr(e);
|
|
13448
13450
|
return t;
|
|
@@ -13472,7 +13474,7 @@ var Is = 32, As = (
|
|
|
13472
13474
|
}()
|
|
13473
13475
|
);
|
|
13474
13476
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13475
|
-
var
|
|
13477
|
+
var As = (
|
|
13476
13478
|
/** @class */
|
|
13477
13479
|
function() {
|
|
13478
13480
|
function n() {
|
|
@@ -13488,13 +13490,13 @@ var Rs = (
|
|
|
13488
13490
|
}, n.prototype.exportKey = function(e) {
|
|
13489
13491
|
return O(this, void 0, void 0, function() {
|
|
13490
13492
|
return L(this, function(t) {
|
|
13491
|
-
return [2, window.crypto.subtle.exportKey(
|
|
13493
|
+
return [2, window.crypto.subtle.exportKey(jn, e)];
|
|
13492
13494
|
});
|
|
13493
13495
|
});
|
|
13494
13496
|
}, n.prototype.importKey = function(e, t, r, o) {
|
|
13495
13497
|
return O(this, void 0, void 0, function() {
|
|
13496
13498
|
return L(this, function(i) {
|
|
13497
|
-
return [2, window.crypto.subtle.importKey(
|
|
13499
|
+
return [2, window.crypto.subtle.importKey(jn, e, t, r, o)];
|
|
13498
13500
|
});
|
|
13499
13501
|
});
|
|
13500
13502
|
}, n.prototype.sign = function(e, t, r) {
|
|
@@ -13513,7 +13515,7 @@ var Rs = (
|
|
|
13513
13515
|
}()
|
|
13514
13516
|
);
|
|
13515
13517
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13516
|
-
var
|
|
13518
|
+
var Rs = (
|
|
13517
13519
|
/** @class */
|
|
13518
13520
|
function() {
|
|
13519
13521
|
function n() {
|
|
@@ -13531,13 +13533,13 @@ var Ps = (
|
|
|
13531
13533
|
}, n.prototype.exportKey = function(e) {
|
|
13532
13534
|
return O(this, void 0, void 0, function() {
|
|
13533
13535
|
return L(this, function(t) {
|
|
13534
|
-
return [2, window.msrCrypto.subtle.exportKey(
|
|
13536
|
+
return [2, window.msrCrypto.subtle.exportKey(jn, e)];
|
|
13535
13537
|
});
|
|
13536
13538
|
});
|
|
13537
13539
|
}, n.prototype.importKey = function(e, t, r, o) {
|
|
13538
13540
|
return O(this, void 0, void 0, function() {
|
|
13539
13541
|
return L(this, function(i) {
|
|
13540
|
-
return [2, window.msrCrypto.subtle.importKey(
|
|
13542
|
+
return [2, window.msrCrypto.subtle.importKey(jn, e, t, r, o)];
|
|
13541
13543
|
});
|
|
13542
13544
|
});
|
|
13543
13545
|
}, n.prototype.sign = function(e, t, r) {
|
|
@@ -13556,7 +13558,7 @@ var Ps = (
|
|
|
13556
13558
|
}()
|
|
13557
13559
|
);
|
|
13558
13560
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13559
|
-
var
|
|
13561
|
+
var Ps = (
|
|
13560
13562
|
/** @class */
|
|
13561
13563
|
function() {
|
|
13562
13564
|
function n() {
|
|
@@ -13580,7 +13582,7 @@ var Ms = (
|
|
|
13580
13582
|
return O(this, void 0, void 0, function() {
|
|
13581
13583
|
return L(this, function(t) {
|
|
13582
13584
|
return [2, new Promise(function(r, o) {
|
|
13583
|
-
var i = window.msCrypto.subtle.exportKey(
|
|
13585
|
+
var i = window.msCrypto.subtle.exportKey(jn, e);
|
|
13584
13586
|
i.addEventListener("complete", function(a) {
|
|
13585
13587
|
var s = a.target.result, u = nn.utf8ArrToString(new Uint8Array(s)).replace(/\r/g, w.EMPTY_STRING).replace(/\n/g, w.EMPTY_STRING).replace(/\t/g, w.EMPTY_STRING).split(" ").join(w.EMPTY_STRING).replace("\0", w.EMPTY_STRING);
|
|
13586
13588
|
try {
|
|
@@ -13599,7 +13601,7 @@ var Ms = (
|
|
|
13599
13601
|
var i, a;
|
|
13600
13602
|
return L(this, function(s) {
|
|
13601
13603
|
return i = nn.getSortedObjectString(e), a = nn.stringToArrayBuffer(i), [2, new Promise(function(u, p) {
|
|
13602
|
-
var l = window.msCrypto.subtle.importKey(
|
|
13604
|
+
var l = window.msCrypto.subtle.importKey(jn, a, t, r, o);
|
|
13603
13605
|
l.addEventListener("complete", function(m) {
|
|
13604
13606
|
u(m.target.result);
|
|
13605
13607
|
}), l.addEventListener("error", function(m) {
|
|
@@ -13638,17 +13640,17 @@ var Ms = (
|
|
|
13638
13640
|
}()
|
|
13639
13641
|
);
|
|
13640
13642
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13641
|
-
var
|
|
13643
|
+
var Ms = "RSASSA-PKCS1-v1_5", Go = "SHA-256", Ns = 2048, Os = new Uint8Array([1, 0, 1]), Si = (
|
|
13642
13644
|
/** @class */
|
|
13643
13645
|
function() {
|
|
13644
13646
|
function n(e, t) {
|
|
13645
13647
|
var r, o;
|
|
13646
13648
|
if (this.logger = e, this.cryptoOptions = t, this.hasBrowserCrypto())
|
|
13647
|
-
this.logger.verbose("BrowserCrypto: modern crypto interface available"), this.subtleCrypto = new
|
|
13649
|
+
this.logger.verbose("BrowserCrypto: modern crypto interface available"), this.subtleCrypto = new As();
|
|
13648
13650
|
else if (this.hasIECrypto())
|
|
13649
|
-
this.logger.verbose("BrowserCrypto: MS crypto interface available"), this.subtleCrypto = new
|
|
13651
|
+
this.logger.verbose("BrowserCrypto: MS crypto interface available"), this.subtleCrypto = new Ps();
|
|
13650
13652
|
else if (this.hasMsrCrypto() && (!((r = this.cryptoOptions) === null || r === void 0) && r.useMsrCrypto))
|
|
13651
|
-
this.logger.verbose("BrowserCrypto: MSR crypto interface available"), this.subtleCrypto = new
|
|
13653
|
+
this.logger.verbose("BrowserCrypto: MSR crypto interface available"), this.subtleCrypto = new Rs();
|
|
13652
13654
|
else
|
|
13653
13655
|
throw this.hasMsrCrypto() && this.logger.info("BrowserCrypto: MSR Crypto interface available but system.cryptoOptions.useMsrCrypto not enabled"), this.logger.error("BrowserCrypto: No crypto interfaces available."), F.createCryptoNotAvailableError("Browser crypto, msCrypto, or msrCrypto interfaces not available.");
|
|
13654
13656
|
if (this.subtleCrypto.initPrng) {
|
|
@@ -13657,10 +13659,10 @@ var Ns = "RSASSA-PKCS1-v1_5", Go = "SHA-256", Os = 2048, Ls = new Uint8Array([1,
|
|
|
13657
13659
|
this.logger.verbose("BrowserCrypto: Entropy provided"), this.subtleCrypto.initPrng(this.cryptoOptions.entropy);
|
|
13658
13660
|
}
|
|
13659
13661
|
this.keygenAlgorithmOptions = {
|
|
13660
|
-
name:
|
|
13662
|
+
name: Ms,
|
|
13661
13663
|
hash: Go,
|
|
13662
|
-
modulusLength:
|
|
13663
|
-
publicExponent:
|
|
13664
|
+
modulusLength: Ns,
|
|
13665
|
+
publicExponent: Os
|
|
13664
13666
|
};
|
|
13665
13667
|
}
|
|
13666
13668
|
return n.prototype.hasIECrypto = function() {
|
|
@@ -13706,11 +13708,11 @@ var Ns = "RSASSA-PKCS1-v1_5", Go = "SHA-256", Os = 2048, Ls = new Uint8Array([1,
|
|
|
13706
13708
|
}()
|
|
13707
13709
|
);
|
|
13708
13710
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
13709
|
-
var
|
|
13711
|
+
var Ls = (
|
|
13710
13712
|
/** @class */
|
|
13711
13713
|
function() {
|
|
13712
13714
|
function n() {
|
|
13713
|
-
this.dbName = oo, this.version =
|
|
13715
|
+
this.dbName = oo, this.version = us, this.tableName = ds, this.dbOpen = !1;
|
|
13714
13716
|
}
|
|
13715
13717
|
return n.prototype.open = function() {
|
|
13716
13718
|
return O(this, void 0, void 0, function() {
|
|
@@ -13880,7 +13882,7 @@ var Vo = (
|
|
|
13880
13882
|
/** @class */
|
|
13881
13883
|
function() {
|
|
13882
13884
|
function n(e, t) {
|
|
13883
|
-
this.inMemoryCache = new io(), this.indexedDBCache = new
|
|
13885
|
+
this.inMemoryCache = new io(), this.indexedDBCache = new Ls(), this.logger = e, this.storeName = t;
|
|
13884
13886
|
}
|
|
13885
13887
|
return n.prototype.handleDatabaseAccessError = function(e) {
|
|
13886
13888
|
if (e instanceof F && e.errorCode === x.databaseUnavailable.code)
|
|
@@ -14018,7 +14020,7 @@ var Mr;
|
|
|
14018
14020
|
(function(n) {
|
|
14019
14021
|
n.asymmetricKeys = "asymmetricKeys", n.symmetricKeys = "symmetricKeys";
|
|
14020
14022
|
})(Mr || (Mr = {}));
|
|
14021
|
-
var
|
|
14023
|
+
var zs = (
|
|
14022
14024
|
/** @class */
|
|
14023
14025
|
function() {
|
|
14024
14026
|
function n(e) {
|
|
@@ -14049,11 +14051,11 @@ var xs = (
|
|
|
14049
14051
|
}()
|
|
14050
14052
|
);
|
|
14051
14053
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14052
|
-
var
|
|
14054
|
+
var xs = (
|
|
14053
14055
|
/** @class */
|
|
14054
14056
|
function() {
|
|
14055
14057
|
function n(e, t, r) {
|
|
14056
|
-
this.logger = e, this.browserCrypto = new Si(this.logger, r), this.b64Encode = new Ti(), this.b64Decode = new
|
|
14058
|
+
this.logger = e, this.browserCrypto = new Si(this.logger, r), this.b64Encode = new Ti(), this.b64Decode = new Ts(), this.guidGenerator = new Ei(this.browserCrypto), this.pkceGenerator = new Is(this.browserCrypto), this.cache = new zs(this.logger), this.performanceClient = t;
|
|
14057
14059
|
}
|
|
14058
14060
|
return n.prototype.createNewGuid = function() {
|
|
14059
14061
|
return this.guidGenerator.generateGuid();
|
|
@@ -14139,7 +14141,7 @@ var Us = (
|
|
|
14139
14141
|
throw F.createSigningKeyNotFoundInStorageError(t);
|
|
14140
14142
|
return [4, this.browserCrypto.exportJwk(a.publicKey)];
|
|
14141
14143
|
case 2:
|
|
14142
|
-
return s = z.sent(), u = nn.getSortedObjectString(s), p = this.b64Encode.urlEncode(JSON.stringify({ kid: t })), l =
|
|
14144
|
+
return s = z.sent(), u = nn.getSortedObjectString(s), p = this.b64Encode.urlEncode(JSON.stringify({ kid: t })), l = ss.getShrHeaderString({ kid: p, alg: s.alg }), m = this.b64Encode.urlEncode(l), e.cnf = {
|
|
14143
14145
|
jwk: JSON.parse(u)
|
|
14144
14146
|
}, f = this.b64Encode.urlEncode(JSON.stringify(e)), k = m + "." + f, E = nn.stringToArrayBuffer(k), [4, this.browserCrypto.sign(a.privateKey, E)];
|
|
14145
14147
|
case 3:
|
|
@@ -14215,7 +14217,7 @@ var Qo = (
|
|
|
14215
14217
|
}()
|
|
14216
14218
|
);
|
|
14217
14219
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14218
|
-
var
|
|
14220
|
+
var Us = (
|
|
14219
14221
|
/** @class */
|
|
14220
14222
|
function(n) {
|
|
14221
14223
|
Ve(e, n);
|
|
@@ -14274,7 +14276,7 @@ var Bs = (
|
|
|
14274
14276
|
}(yi)
|
|
14275
14277
|
);
|
|
14276
14278
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14277
|
-
var
|
|
14279
|
+
var Bs = (
|
|
14278
14280
|
/** @class */
|
|
14279
14281
|
function() {
|
|
14280
14282
|
function n(e, t, r, o) {
|
|
@@ -14335,7 +14337,7 @@ var Ds = (
|
|
|
14335
14337
|
}, n.prototype.loadRefreshToken = function(e, t, r, o) {
|
|
14336
14338
|
if (!t.refresh_token)
|
|
14337
14339
|
return this.logger.verbose("TokenCache - No refresh token provided for caching"), null;
|
|
14338
|
-
var i =
|
|
14340
|
+
var i = On.createRefreshTokenEntity(r, o, t.refresh_token, this.config.auth.clientId);
|
|
14339
14341
|
if (this.isBrowserEnvironment)
|
|
14340
14342
|
return this.logger.verbose("TokenCache - loading refresh token"), this.storage.setRefreshTokenCredential(i), i;
|
|
14341
14343
|
throw F.createUnableToLoadTokenError("loadExternalTokens is designed to work in browser environments only.");
|
|
@@ -14369,7 +14371,7 @@ var Ds = (
|
|
|
14369
14371
|
}()
|
|
14370
14372
|
);
|
|
14371
14373
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14372
|
-
var
|
|
14374
|
+
var Ds = (
|
|
14373
14375
|
/** @class */
|
|
14374
14376
|
function(n) {
|
|
14375
14377
|
Ve(e, n);
|
|
@@ -14381,7 +14383,7 @@ var Hs = (
|
|
|
14381
14383
|
}(mi)
|
|
14382
14384
|
);
|
|
14383
14385
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14384
|
-
var
|
|
14386
|
+
var Hs = (
|
|
14385
14387
|
/** @class */
|
|
14386
14388
|
function(n) {
|
|
14387
14389
|
Ve(e, n);
|
|
@@ -14403,7 +14405,7 @@ var js = (
|
|
|
14403
14405
|
case 2:
|
|
14404
14406
|
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)];
|
|
14405
14407
|
case 3:
|
|
14406
|
-
return a = l.sent(), s = new
|
|
14408
|
+
return a = l.sent(), s = new Ds(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({
|
|
14407
14409
|
code: t.code,
|
|
14408
14410
|
msgraph_host: t.msGraphHost,
|
|
14409
14411
|
cloud_graph_host_name: t.cloudGraphHostName,
|
|
@@ -14425,11 +14427,11 @@ var js = (
|
|
|
14425
14427
|
}(Gn)
|
|
14426
14428
|
);
|
|
14427
14429
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14428
|
-
var
|
|
14430
|
+
var js = (
|
|
14429
14431
|
/** @class */
|
|
14430
14432
|
function() {
|
|
14431
14433
|
function n(e) {
|
|
14432
|
-
this.isBrowserEnvironment = typeof window < "u", this.config =
|
|
14434
|
+
this.isBrowserEnvironment = typeof window < "u", this.config = bs(e, this.isBrowserEnvironment), this.initialized = !1, this.logger = new go(this.config.system.loggerOptions, Gr, nr), this.networkClient = this.config.system.networkClient, this.navigationClient = this.config.system.navigationClient, this.redirectResponse = /* @__PURE__ */ new Map(), this.hybridAuthCodeResponses = /* @__PURE__ */ new Map(), this.performanceClient = this.isBrowserEnvironment ? new Us(this.config.auth.clientId, this.config.auth.authority, this.logger, Gr, nr, this.config.telemetry.application, this.config.system.cryptoOptions) : new ls(this.config.auth.clientId, this.config.auth.authority, this.logger, Gr, nr, this.config.telemetry.application), this.browserCrypto = this.isBrowserEnvironment ? new xs(this.logger, this.performanceClient, this.config.system.cryptoOptions) : Cr, this.eventHandler = new Es(this.logger, this.browserCrypto), this.browserStorage = this.isBrowserEnvironment ? new ao(this.config.auth.clientId, this.config.cache, this.browserCrypto, this.logger) : ps(this.config.auth.clientId, this.logger);
|
|
14433
14435
|
var t = {
|
|
14434
14436
|
cacheLocation: Oe.MemoryStorage,
|
|
14435
14437
|
temporaryCacheLocation: Oe.MemoryStorage,
|
|
@@ -14438,7 +14440,7 @@ var Fs = (
|
|
|
14438
14440
|
cacheMigrationEnabled: !1,
|
|
14439
14441
|
claimsBasedCachingEnabled: !0
|
|
14440
14442
|
};
|
|
14441
|
-
this.nativeInternalStorage = new ao(this.config.auth.clientId, t, this.browserCrypto, this.logger), this.tokenCache = new
|
|
14443
|
+
this.nativeInternalStorage = new ao(this.config.auth.clientId, t, this.browserCrypto, this.logger), this.tokenCache = new Bs(this.config, this.browserStorage, this.logger, this.browserCrypto), this.trackPageVisibilityWithMeasurement = this.trackPageVisibilityWithMeasurement.bind(this);
|
|
14442
14444
|
}
|
|
14443
14445
|
return n.prototype.initialize = function() {
|
|
14444
14446
|
return O(this, void 0, void 0, function() {
|
|
@@ -14476,7 +14478,7 @@ var Fs = (
|
|
|
14476
14478
|
return O(this, void 0, void 0, function() {
|
|
14477
14479
|
var t, r, o, i, a, s, u, p, l = this;
|
|
14478
14480
|
return L(this, function(m) {
|
|
14479
|
-
return this.logger.verbose("handleRedirectPromise called"), Ae.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), t = this.getAllAccounts(), this.isBrowserEnvironment ? (r = e || w.EMPTY_STRING, o = this.redirectResponse.get(r), typeof o > "u" ? (this.eventHandler.emitEvent(ne.HANDLE_REDIRECT_START, W.Redirect), this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"), i = this.browserStorage.getCachedNativeRequest(), a = void 0, i && Sn.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e ? (this.logger.trace("handleRedirectPromise - acquiring token from native platform"), s = new
|
|
14481
|
+
return this.logger.verbose("handleRedirectPromise called"), Ae.blockNativeBrokerCalledBeforeInitialized(this.config.system.allowNativeBroker, this.initialized), t = this.getAllAccounts(), this.isBrowserEnvironment ? (r = e || w.EMPTY_STRING, o = this.redirectResponse.get(r), typeof o > "u" ? (this.eventHandler.emitEvent(ne.HANDLE_REDIRECT_START, W.Redirect), this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"), i = this.browserStorage.getCachedNativeRequest(), a = void 0, i && Sn.isNativeAvailable(this.config, this.logger, this.nativeExtensionProvider) && this.nativeExtensionProvider && !e ? (this.logger.trace("handleRedirectPromise - acquiring token from native platform"), s = new Bn(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.handleRedirectPromise, this.performanceClient, this.nativeExtensionProvider, i.accountId, this.nativeInternalStorage, i.correlationId), a = s.handleRedirectPromise()) : (this.logger.trace("handleRedirectPromise - acquiring token from web flow"), u = this.browserStorage.getTemporaryCache(ue.CORRELATION_ID, !0) || w.EMPTY_STRING, p = this.createRedirectClient(u), a = p.handleRedirectPromise(e)), o = a.then(function(f) {
|
|
14480
14482
|
if (f) {
|
|
14481
14483
|
var k = t.length < l.getAllAccounts().length;
|
|
14482
14484
|
k ? (l.eventHandler.emitEvent(ne.LOGIN_SUCCESS, W.Redirect, f), l.logger.verbose("handleRedirectResponse returned result, login success")) : (l.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_SUCCESS, W.Redirect, f), l.logger.verbose("handleRedirectResponse returned result, acquire token success"));
|
|
@@ -14491,7 +14493,7 @@ var Fs = (
|
|
|
14491
14493
|
return O(this, void 0, void 0, function() {
|
|
14492
14494
|
var t, r, o, i, a, s = this;
|
|
14493
14495
|
return L(this, function(u) {
|
|
14494
|
-
return t = this.getRequestCorrelationId(e), this.logger.verbose("acquireTokenRedirect called", t), this.preflightBrowserEnvironmentCheck(W.Redirect), r = this.getAllAccounts().length > 0, r ? this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_START, W.Redirect, e) : this.eventHandler.emitEvent(ne.LOGIN_START, W.Redirect, e), this.nativeExtensionProvider && this.canUseNative(e) ? (i = new
|
|
14496
|
+
return t = this.getRequestCorrelationId(e), this.logger.verbose("acquireTokenRedirect called", t), this.preflightBrowserEnvironmentCheck(W.Redirect), r = this.getAllAccounts().length > 0, r ? this.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_START, W.Redirect, e) : this.eventHandler.emitEvent(ne.LOGIN_START, W.Redirect, e), this.nativeExtensionProvider && this.canUseNative(e) ? (i = new Bn(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenRedirect, this.performanceClient, this.nativeExtensionProvider, this.getNativeAccountId(e), this.nativeInternalStorage, e.correlationId), o = i.acquireTokenRedirect(e).catch(function(p) {
|
|
14495
14497
|
if (p instanceof Kt && p.isFatal()) {
|
|
14496
14498
|
s.nativeExtensionProvider = void 0;
|
|
14497
14499
|
var l = s.createRedirectClient(e.correlationId);
|
|
@@ -14778,7 +14780,7 @@ var Fs = (
|
|
|
14778
14780
|
return L(this, function(i) {
|
|
14779
14781
|
if (this.logger.trace("acquireTokenNative called"), !this.nativeExtensionProvider)
|
|
14780
14782
|
throw F.createNativeConnectionNotEstablishedError();
|
|
14781
|
-
return o = new
|
|
14783
|
+
return o = new Bn(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, t, this.performanceClient, this.nativeExtensionProvider, r || this.getNativeAccountId(e), this.nativeInternalStorage, e.correlationId), [2, o.acquireToken(e)];
|
|
14782
14784
|
});
|
|
14783
14785
|
});
|
|
14784
14786
|
}, n.prototype.canUseNative = function(e, t) {
|
|
@@ -14799,17 +14801,17 @@ var Fs = (
|
|
|
14799
14801
|
var t = e.account || this.browserStorage.getAccountInfoByHints(e.loginHint, e.sid) || this.getActiveAccount();
|
|
14800
14802
|
return t && t.nativeAccountId || "";
|
|
14801
14803
|
}, n.prototype.createPopupClient = function(e) {
|
|
14802
|
-
return new _s(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, this.nativeExtensionProvider, e);
|
|
14803
|
-
}, n.prototype.createRedirectClient = function(e) {
|
|
14804
14804
|
return new ms(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, this.nativeExtensionProvider, e);
|
|
14805
|
+
}, n.prototype.createRedirectClient = function(e) {
|
|
14806
|
+
return new gs(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, this.nativeExtensionProvider, e);
|
|
14805
14807
|
}, n.prototype.createSilentIframeClient = function(e) {
|
|
14806
|
-
return new
|
|
14808
|
+
return new ks(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.ssoSilent, this.performanceClient, this.nativeInternalStorage, this.nativeExtensionProvider, e);
|
|
14807
14809
|
}, n.prototype.createSilentCacheClient = function(e) {
|
|
14808
14810
|
return new ki(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeExtensionProvider, e);
|
|
14809
14811
|
}, n.prototype.createSilentRefreshClient = function(e) {
|
|
14810
|
-
return new
|
|
14812
|
+
return new Cs(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeExtensionProvider, e);
|
|
14811
14813
|
}, n.prototype.createSilentAuthCodeClient = function(e) {
|
|
14812
|
-
return new
|
|
14814
|
+
return new Hs(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, Ce.acquireTokenByCode, this.performanceClient, this.nativeExtensionProvider, e);
|
|
14813
14815
|
}, n.prototype.addEventCallback = function(e) {
|
|
14814
14816
|
return this.eventHandler.addEventCallback(e);
|
|
14815
14817
|
}, n.prototype.removeEventCallback = function(e) {
|
|
@@ -14840,7 +14842,7 @@ var Fs = (
|
|
|
14840
14842
|
}()
|
|
14841
14843
|
);
|
|
14842
14844
|
/*! @azure/msal-browser v2.38.3 2023-10-27 */
|
|
14843
|
-
var
|
|
14845
|
+
var Fs = (
|
|
14844
14846
|
/** @class */
|
|
14845
14847
|
function(n) {
|
|
14846
14848
|
Ve(e, n);
|
|
@@ -14930,7 +14932,7 @@ var qs = (
|
|
|
14930
14932
|
if (p.cacheLookupPolicy === it.AccessToken)
|
|
14931
14933
|
throw f;
|
|
14932
14934
|
return Ae.blockReloadInHiddenIframes(), l.eventHandler.emitEvent(ne.ACQUIRE_TOKEN_NETWORK_START, W.Silent, u), l.performanceClient.setPreQueueTime(A.AcquireTokenByRefreshToken, u.correlationId), l.acquireTokenByRefreshToken(u, p).catch(function(k) {
|
|
14933
|
-
var E = k instanceof In, P = k instanceof Pt, j = k.errorCode ===
|
|
14935
|
+
var E = k instanceof In, P = k instanceof Pt, j = k.errorCode === Ln.noTokensFoundError.code, K = k.errorCode === Rt.INVALID_GRANT_ERROR;
|
|
14934
14936
|
if ((!E || !K || P || p.cacheLookupPolicy === it.AccessTokenAndRefreshToken || p.cacheLookupPolicy === it.RefreshToken) && p.cacheLookupPolicy !== it.Skip && !j)
|
|
14935
14937
|
throw k;
|
|
14936
14938
|
return l.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", t.correlationId), l.performanceClient.setPreQueueTime(A.AcquireTokenBySilentIframe, u.correlationId), l.acquireTokenBySilentIframe(u);
|
|
@@ -14959,9 +14961,9 @@ var qs = (
|
|
|
14959
14961
|
});
|
|
14960
14962
|
});
|
|
14961
14963
|
}, e;
|
|
14962
|
-
}(
|
|
14964
|
+
}(js)
|
|
14963
14965
|
);
|
|
14964
|
-
class
|
|
14966
|
+
class qs extends Ki {
|
|
14965
14967
|
async login(e) {
|
|
14966
14968
|
const t = this.createContext(e);
|
|
14967
14969
|
try {
|
|
@@ -14991,7 +14993,7 @@ class Ks extends Gi {
|
|
|
14991
14993
|
cacheLocation: "localStorage"
|
|
14992
14994
|
}
|
|
14993
14995
|
};
|
|
14994
|
-
return new
|
|
14996
|
+
return new Fs(i);
|
|
14995
14997
|
}
|
|
14996
14998
|
getCurrentUrl() {
|
|
14997
14999
|
return window.location.href.split(/[?#]/)[0];
|
|
@@ -15011,8 +15013,8 @@ class Ks extends Gi {
|
|
|
15011
15013
|
return { accessToken: r, idToken: o, scopes: t };
|
|
15012
15014
|
}
|
|
15013
15015
|
}
|
|
15014
|
-
const
|
|
15015
|
-
web: () => new
|
|
15016
|
+
const Ks = ar("MsAuthPlugin", {
|
|
15017
|
+
web: () => new qs()
|
|
15016
15018
|
}), Lr = {
|
|
15017
15019
|
data() {
|
|
15018
15020
|
return {
|
|
@@ -15030,7 +15032,7 @@ const Gs = ar("MsAuthPlugin", {
|
|
|
15030
15032
|
var o;
|
|
15031
15033
|
n === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0;
|
|
15032
15034
|
const [t, r] = await he(
|
|
15033
|
-
|
|
15035
|
+
Ks.login({
|
|
15034
15036
|
clientId: n === "sso" ? e.clientID : "9cd47053-080a-4df8-8fd8-ca4389163fde",
|
|
15035
15037
|
tenant: n === "sso" ? e.tenant : "consumers",
|
|
15036
15038
|
scopes: ["User.Read"],
|
|
@@ -15066,7 +15068,7 @@ const Gs = ar("MsAuthPlugin", {
|
|
|
15066
15068
|
q.$emit("toggleSSOModal");
|
|
15067
15069
|
}
|
|
15068
15070
|
}
|
|
15069
|
-
},
|
|
15071
|
+
}, Dn = {
|
|
15070
15072
|
getFirstBrowserLanguage() {
|
|
15071
15073
|
let n = window.navigator, e = ["language", "browserLanguage", "systemLanguage", "userLanguage"], t, r;
|
|
15072
15074
|
if (Array.isArray(n.languages)) {
|
|
@@ -15188,9 +15190,9 @@ const Gs = ar("MsAuthPlugin", {
|
|
|
15188
15190
|
},
|
|
15189
15191
|
async oktaLogin(n) {
|
|
15190
15192
|
const e = Yn.getPlatform() || "web";
|
|
15191
|
-
let t = btoa("domain=" + n.domain + "&client_id=" + n.clientID + "&platform=" + e + "&rand=" +
|
|
15193
|
+
let t = btoa("domain=" + n.domain + "&client_id=" + n.clientID + "&platform=" + e + "&rand=" + Dn.generateRandomString(28)), r = Dn.generateRandomString(28);
|
|
15192
15194
|
localStorage.setItem("pkce_code_verifier", r);
|
|
15193
|
-
let o = await
|
|
15195
|
+
let o = await Dn.pkceChallengeFromVerifier(r), i = n.domain + "/v1/authorize", a;
|
|
15194
15196
|
this.isNative ? a = "tapni://t.link/callback/okta" : a = location.origin + "/callback/okta";
|
|
15195
15197
|
let s = i + "?response_type=code&client_id=" + encodeURIComponent(n.clientID) + "&state=" + encodeURIComponent(t) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(a) + "&code_challenge=" + encodeURIComponent(o) + "&code_challenge_method=S256", u = this, p;
|
|
15196
15198
|
window.addEventListener("message", async (l) => {
|
|
@@ -15226,7 +15228,7 @@ const Gs = ar("MsAuthPlugin", {
|
|
|
15226
15228
|
},
|
|
15227
15229
|
methods: {
|
|
15228
15230
|
async samlLogin(n) {
|
|
15229
|
-
this.code_verifier =
|
|
15231
|
+
this.code_verifier = Dn.generateRandomString(28), localStorage.setItem("pkce_code_verifier", this.code_verifier), this.code_challenge = await Dn.pkceChallengeFromVerifier(this.code_verifier);
|
|
15230
15232
|
const e = Yn.getPlatform();
|
|
15231
15233
|
let t = `code_challenge=${this.code_challenge}&platform=${e}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.$storex.realm}`, r = btoa(t);
|
|
15232
15234
|
n = `${n}&RelayState=${r}`;
|
|
@@ -15594,7 +15596,7 @@ var Ii = { exports: {} };
|
|
|
15594
15596
|
var P = m.SHA512 = s.extend({ _doReset: function() {
|
|
15595
15597
|
this._hash = new l.init([new p.init(1779033703, 4089235720), new p.init(3144134277, 2227873595), new p.init(1013904242, 4271175723), new p.init(2773480762, 1595750129), new p.init(1359893119, 2917565137), new p.init(2600822924, 725511199), new p.init(528734635, 4215389547), new p.init(1541459225, 327033209)]);
|
|
15596
15598
|
}, _doProcessBlock: function(j, K) {
|
|
15597
|
-
for (var z = this._hash.words, T = z[0], D = z[1], G = z[2], J = z[3], te = z[4], Z = z[5], ve = z[6], Se = z[7], ye = T.high, Ne = T.low, Qt = D.high, Qe = D.low, an = G.high, Mt = G.low, Nt = J.high, ct = J.low, mn = te.high, sn = te.low, _n = Z.high, cn = Z.low,
|
|
15599
|
+
for (var z = this._hash.words, T = z[0], D = z[1], G = z[2], J = z[3], te = z[4], Z = z[5], ve = z[6], Se = z[7], ye = T.high, Ne = T.low, Qt = D.high, Qe = D.low, an = G.high, Mt = G.low, Nt = J.high, ct = J.low, mn = te.high, sn = te.low, _n = Z.high, cn = Z.low, An = ve.high, Te = ve.low, Re = Se.high, Yt = Se.low, He = ye, Le = Ne, Ot = Qt, Et = Qe, et = an, lt = Mt, Wt = Nt, Lt = ct, Ye = mn, Pe = sn, ut = _n, zt = cn, xt = An, _t = Te, vn = Re, Tt = Yt, je = 0; je < 80; je++) {
|
|
15598
15600
|
var vt = E[je];
|
|
15599
15601
|
if (je < 16)
|
|
15600
15602
|
var ze = vt.high = 0 | j[K + 2 * je], dt = vt.low = 0 | j[K + 2 * je + 1];
|
|
@@ -15605,7 +15607,7 @@ var Ii = { exports: {} };
|
|
|
15605
15607
|
var St, Br = Ye & ut ^ ~Ye & xt, lr = Pe & zt ^ ~Pe & _t, Dr = He & Ot ^ He & et ^ Ot & et, Hr = Le & Et ^ Le & lt ^ Et & lt, ur = (He >>> 28 | Le << 4) ^ (He << 30 | Le >>> 2) ^ (He << 25 | Le >>> 7), dr = (Le >>> 28 | He << 4) ^ (Le << 30 | He >>> 2) ^ (Le << 25 | He >>> 7), jr = (Ye >>> 14 | Pe << 18) ^ (Ye >>> 18 | Pe << 14) ^ (Ye << 23 | Pe >>> 9), Fr = (Pe >>> 14 | Ye << 18) ^ (Pe >>> 18 | Ye << 14) ^ (Pe << 23 | Ye >>> 9), v = k[je], y = v.high, C = v.low, I = vn + jr + ((St = Tt + Fr) >>> 0 < Tt >>> 0 ? 1 : 0), M = dr + Hr;
|
|
15606
15608
|
vn = xt, Tt = _t, xt = ut, _t = zt, ut = Ye, zt = Pe, Ye = Wt + (I = (I = (I = I + Br + ((St += lr) >>> 0 < lr >>> 0 ? 1 : 0)) + y + ((St += C) >>> 0 < C >>> 0 ? 1 : 0)) + ze + ((St += dt) >>> 0 < dt >>> 0 ? 1 : 0)) + ((Pe = Lt + St | 0) >>> 0 < Lt >>> 0 ? 1 : 0) | 0, Wt = et, Lt = lt, et = Ot, lt = Et, Ot = He, Et = Le, He = I + (ur + Dr + (M >>> 0 < dr >>> 0 ? 1 : 0)) + ((Le = St + M | 0) >>> 0 < St >>> 0 ? 1 : 0) | 0;
|
|
15607
15609
|
}
|
|
15608
|
-
Ne = T.low = Ne + Le, T.high = ye + He + (Ne >>> 0 < Le >>> 0 ? 1 : 0), Qe = D.low = Qe + Et, D.high = Qt + Ot + (Qe >>> 0 < Et >>> 0 ? 1 : 0), Mt = G.low = Mt + lt, G.high = an + et + (Mt >>> 0 < lt >>> 0 ? 1 : 0), ct = J.low = ct + Lt, J.high = Nt + Wt + (ct >>> 0 < Lt >>> 0 ? 1 : 0), sn = te.low = sn + Pe, te.high = mn + Ye + (sn >>> 0 < Pe >>> 0 ? 1 : 0), cn = Z.low = cn + zt, Z.high = _n + ut + (cn >>> 0 < zt >>> 0 ? 1 : 0), Te = ve.low = Te + _t, ve.high =
|
|
15610
|
+
Ne = T.low = Ne + Le, T.high = ye + He + (Ne >>> 0 < Le >>> 0 ? 1 : 0), Qe = D.low = Qe + Et, D.high = Qt + Ot + (Qe >>> 0 < Et >>> 0 ? 1 : 0), Mt = G.low = Mt + lt, G.high = an + et + (Mt >>> 0 < lt >>> 0 ? 1 : 0), ct = J.low = ct + Lt, J.high = Nt + Wt + (ct >>> 0 < Lt >>> 0 ? 1 : 0), sn = te.low = sn + Pe, te.high = mn + Ye + (sn >>> 0 < Pe >>> 0 ? 1 : 0), cn = Z.low = cn + zt, Z.high = _n + ut + (cn >>> 0 < zt >>> 0 ? 1 : 0), Te = ve.low = Te + _t, ve.high = An + xt + (Te >>> 0 < _t >>> 0 ? 1 : 0), Yt = Se.low = Yt + Tt, Se.high = Re + vn + (Yt >>> 0 < Tt >>> 0 ? 1 : 0);
|
|
15609
15611
|
}, _doFinalize: function() {
|
|
15610
15612
|
var j = this._data, K = j.words, z = 8 * this._nDataBytes, T = 8 * j.sigBytes;
|
|
15611
15613
|
return K[T >>> 5] |= 128 << 24 - T % 32, K[30 + (T + 128 >>> 10 << 5)] = Math.floor(z / 4294967296), K[31 + (T + 128 >>> 10 << 5)] = z, j.sigBytes = 4 * K.length, this._process(), this._hash.toX32();
|
|
@@ -15745,7 +15747,7 @@ var Ii = { exports: {} };
|
|
|
15745
15747
|
var cn = function(v, y, C) {
|
|
15746
15748
|
return wn.from(y, C).toString("hex");
|
|
15747
15749
|
};
|
|
15748
|
-
function
|
|
15750
|
+
function An(v) {
|
|
15749
15751
|
var y = function(C) {
|
|
15750
15752
|
for (var I = 1; I < arguments.length; I++) {
|
|
15751
15753
|
var M = arguments[I] != null ? arguments[I] : {};
|
|
@@ -15790,7 +15792,7 @@ var Ii = { exports: {} };
|
|
|
15790
15792
|
var M = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
15791
15793
|
return new y(M);
|
|
15792
15794
|
} }, { key: "allOptions", value: function() {
|
|
15793
|
-
return
|
|
15795
|
+
return An(this.options);
|
|
15794
15796
|
} }, { key: "generate", value: function(M, H) {
|
|
15795
15797
|
return Re(M, H, this.allOptions());
|
|
15796
15798
|
} }, { key: "check", value: function(M, H, de) {
|
|
@@ -16219,7 +16221,7 @@ const Ai = {
|
|
|
16219
16221
|
q.$emit("toggleOTPModal", !0);
|
|
16220
16222
|
}
|
|
16221
16223
|
}
|
|
16222
|
-
},
|
|
16224
|
+
}, Gs = {
|
|
16223
16225
|
data() {
|
|
16224
16226
|
return {
|
|
16225
16227
|
isQrCodeLogin: !1,
|
|
@@ -16300,9 +16302,9 @@ const Ai = {
|
|
|
16300
16302
|
}, 6e4);
|
|
16301
16303
|
}
|
|
16302
16304
|
}
|
|
16303
|
-
},
|
|
16305
|
+
}, Vs = {
|
|
16304
16306
|
name: "AuthLogin",
|
|
16305
|
-
mixins: [di, pi, hi, Lr, zr, xr, at,
|
|
16307
|
+
mixins: [di, pi, hi, Lr, zr, xr, at, Gs, Ai],
|
|
16306
16308
|
props: {
|
|
16307
16309
|
isModal: {
|
|
16308
16310
|
type: Boolean,
|
|
@@ -16378,109 +16380,109 @@ const Ai = {
|
|
|
16378
16380
|
return await this.handleSamlRedirect();
|
|
16379
16381
|
}
|
|
16380
16382
|
}
|
|
16381
|
-
},
|
|
16383
|
+
}, Qs = /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
16382
16384
|
/* @__PURE__ */ _("img", {
|
|
16383
16385
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
16384
16386
|
class: "responsive-image",
|
|
16385
16387
|
style: { width: "35%" }
|
|
16386
16388
|
})
|
|
16387
|
-
], -1),
|
|
16388
|
-
|
|
16389
|
-
],
|
|
16389
|
+
], -1), Ys = [
|
|
16390
|
+
Qs
|
|
16391
|
+
], Ws = {
|
|
16390
16392
|
class: "bold no-bottom center-text",
|
|
16391
16393
|
style: { "margin-top": "63px" }
|
|
16392
|
-
},
|
|
16394
|
+
}, $s = /* @__PURE__ */ _("p", { class: "half-bottom small-top center-text color-black" }, null, -1), Js = { key: 1 }, Xs = { class: "page-login-field half-top" }, Zs = /* @__PURE__ */ _("i", { style: { "padding-top": "15px" } }, [
|
|
16393
16395
|
/* @__PURE__ */ _("img", {
|
|
16394
16396
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
16395
16397
|
class: "responsive-image",
|
|
16396
16398
|
style: { width: "50%" }
|
|
16397
16399
|
})
|
|
16398
|
-
], -1),
|
|
16400
|
+
], -1), ec = ["placeholder"], tc = /* @__PURE__ */ _("em", null, null, -1), nc = { class: "page-login-field half-bottom" }, rc = /* @__PURE__ */ _("i", { style: { "padding-top": "15px" } }, [
|
|
16399
16401
|
/* @__PURE__ */ _("img", {
|
|
16400
16402
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
16401
16403
|
class: "responsive-image",
|
|
16402
16404
|
style: { width: "50%" }
|
|
16403
16405
|
})
|
|
16404
|
-
], -1),
|
|
16406
|
+
], -1), oc = ["type", "placeholder"], ic = {
|
|
16405
16407
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
16406
16408
|
class: "responsive-image password-reveal-icon"
|
|
16407
|
-
},
|
|
16409
|
+
}, ac = {
|
|
16408
16410
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
16409
16411
|
class: "responsive-image password-reveal-icon"
|
|
16410
|
-
},
|
|
16412
|
+
}, sc = {
|
|
16411
16413
|
type: "submit",
|
|
16412
16414
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
16413
|
-
},
|
|
16415
|
+
}, cc = { key: 0 }, lc = {
|
|
16414
16416
|
key: 1,
|
|
16415
16417
|
class: "button--loading button__loader"
|
|
16416
|
-
},
|
|
16418
|
+
}, uc = /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), dc = /* @__PURE__ */ _("img", {
|
|
16417
16419
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
16418
16420
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
16419
|
-
}, null, -1),
|
|
16421
|
+
}, null, -1), pc = { key: 0 }, hc = {
|
|
16420
16422
|
key: 1,
|
|
16421
16423
|
class: "button--loading-black button__loader"
|
|
16422
|
-
},
|
|
16424
|
+
}, fc = /* @__PURE__ */ _("img", {
|
|
16423
16425
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
16424
16426
|
style: { position: "absolute", "margin-left": "-10px", padding: "8px 0", height: "100%" }
|
|
16425
|
-
}, null, -1),
|
|
16427
|
+
}, null, -1), gc = { key: 0 }, mc = {
|
|
16426
16428
|
key: 1,
|
|
16427
16429
|
class: "button--loading-black button__loader"
|
|
16428
|
-
},
|
|
16430
|
+
}, _c = /* @__PURE__ */ _("img", {
|
|
16429
16431
|
src: "https://cdn.tapni.co/icons/facebook-blue.png",
|
|
16430
16432
|
style: { position: "absolute", "margin-left": "-9px", padding: "10px 0", height: "100%" }
|
|
16431
|
-
}, null, -1),
|
|
16433
|
+
}, null, -1), vc = { key: 0 }, yc = {
|
|
16432
16434
|
key: 1,
|
|
16433
16435
|
class: "button--loading-black button__loader"
|
|
16434
|
-
},
|
|
16436
|
+
}, wc = /* @__PURE__ */ _("img", {
|
|
16435
16437
|
src: "https://cdn.tapni.co/icons/outlook.png",
|
|
16436
16438
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
16437
|
-
}, null, -1),
|
|
16439
|
+
}, null, -1), bc = { key: 0 }, kc = {
|
|
16438
16440
|
key: 1,
|
|
16439
16441
|
class: "button--loading-black button__loader"
|
|
16440
|
-
},
|
|
16442
|
+
}, Cc = /* @__PURE__ */ _("img", {
|
|
16441
16443
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
16442
16444
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
16443
|
-
}, null, -1),
|
|
16445
|
+
}, null, -1), Ec = { key: 0 }, Tc = {
|
|
16444
16446
|
key: 1,
|
|
16445
16447
|
class: "button--loading-black button__loader"
|
|
16446
|
-
},
|
|
16448
|
+
}, Sc = /* @__PURE__ */ _("img", {
|
|
16447
16449
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
16448
16450
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
16449
|
-
}, null, -1),
|
|
16451
|
+
}, null, -1), Ic = { key: 0 }, Ac = {
|
|
16450
16452
|
key: 1,
|
|
16451
16453
|
class: "button--loading-black button__loader"
|
|
16452
|
-
},
|
|
16454
|
+
}, Rc = /* @__PURE__ */ _("img", {
|
|
16453
16455
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
16454
16456
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
16455
|
-
}, null, -1),
|
|
16457
|
+
}, null, -1), Pc = /* @__PURE__ */ _("img", {
|
|
16456
16458
|
src: "https://cdn.tapni.co/icons/qr.png",
|
|
16457
16459
|
style: { position: "absolute", "margin-left": "-5px", padding: "15px 0", height: "100%" }
|
|
16458
|
-
}, null, -1),
|
|
16460
|
+
}, null, -1), Mc = /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Nc = { class: "close-text center-text half-top color-black" }, Oc = /* @__PURE__ */ _("br", null, null, -1), Lc = {
|
|
16459
16461
|
class: "",
|
|
16460
16462
|
href: "https://tapni.com/policies/terms-of-service"
|
|
16461
|
-
},
|
|
16463
|
+
}, zc = { href: "https://tapni.com/policies/privacy-policy" }, xc = /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Uc = {
|
|
16462
16464
|
key: 10,
|
|
16463
16465
|
class: "page-login-links"
|
|
16464
|
-
},
|
|
16465
|
-
function
|
|
16466
|
-
const a =
|
|
16466
|
+
}, Bc = /* @__PURE__ */ _("div", { class: "clear" }, null, -1), Dc = { class: "forgot center-text pointer small-top" }, Hc = /* @__PURE__ */ _("br", null, null, -1), jc = /* @__PURE__ */ _("div", { class: "clear" }, null, -1);
|
|
16467
|
+
function Fc(n, e, t, r, o, i) {
|
|
16468
|
+
const a = Fn("router-link");
|
|
16467
16469
|
return N(), U("form", {
|
|
16468
16470
|
class: "page-login content-boxed content-boxed-padding",
|
|
16469
16471
|
onSubmit: e[14] || (e[14] = Ge((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
16470
16472
|
autocomplete: "on",
|
|
16471
|
-
style:
|
|
16473
|
+
style: xn(t.isModal ? "max-width: 500px;" : "")
|
|
16472
16474
|
}, [
|
|
16473
16475
|
t.isModal ? (N(), U("a", {
|
|
16474
16476
|
key: 0,
|
|
16475
16477
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
16476
16478
|
class: "color-black pull-right pointer",
|
|
16477
16479
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
16478
|
-
},
|
|
16479
|
-
_("h1",
|
|
16480
|
-
|
|
16481
|
-
i.displayFormLogin ? (N(), U("span",
|
|
16482
|
-
_("div",
|
|
16483
|
-
|
|
16480
|
+
}, Ys)) : fe("", !0),
|
|
16481
|
+
_("h1", Ws, Q(this.ssoLang[this.appLanguage].login), 1),
|
|
16482
|
+
$s,
|
|
16483
|
+
i.displayFormLogin ? (N(), U("span", Js, [
|
|
16484
|
+
_("div", Xs, [
|
|
16485
|
+
Zs,
|
|
16484
16486
|
Ie(_("input", {
|
|
16485
16487
|
"onUpdate:modelValue": e[1] || (e[1] = (s) => o.emailOrUsername = s),
|
|
16486
16488
|
onKeydown: e[2] || (e[2] = fn(Ge(() => {
|
|
@@ -16492,13 +16494,13 @@ function qc(n, e, t, r, o, i) {
|
|
|
16492
16494
|
name: "email",
|
|
16493
16495
|
placeholder: n.ssoLang[this.appLanguage].email_username,
|
|
16494
16496
|
required: ""
|
|
16495
|
-
}, null, 40,
|
|
16497
|
+
}, null, 40, ec), [
|
|
16496
16498
|
[gn, o.emailOrUsername]
|
|
16497
16499
|
]),
|
|
16498
|
-
|
|
16500
|
+
tc
|
|
16499
16501
|
]),
|
|
16500
|
-
_("div",
|
|
16501
|
-
|
|
16502
|
+
_("div", nc, [
|
|
16503
|
+
rc,
|
|
16502
16504
|
Ie(_("input", {
|
|
16503
16505
|
"onUpdate:modelValue": e[3] || (e[3] = (s) => o.password = s),
|
|
16504
16506
|
type: o.revealPassword ? "text" : "password",
|
|
@@ -16506,80 +16508,80 @@ function qc(n, e, t, r, o, i) {
|
|
|
16506
16508
|
name: "password",
|
|
16507
16509
|
required: "",
|
|
16508
16510
|
minlength: "8"
|
|
16509
|
-
}, null, 8,
|
|
16511
|
+
}, null, 8, oc), [
|
|
16510
16512
|
[_r, o.password]
|
|
16511
16513
|
]),
|
|
16512
16514
|
_("em", {
|
|
16513
16515
|
onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword),
|
|
16514
16516
|
class: "pointer"
|
|
16515
16517
|
}, [
|
|
16516
|
-
Ie(_("img",
|
|
16518
|
+
Ie(_("img", ic, null, 512), [
|
|
16517
16519
|
[Jt, !o.revealPassword]
|
|
16518
16520
|
]),
|
|
16519
|
-
Ie(_("img",
|
|
16521
|
+
Ie(_("img", ac, null, 512), [
|
|
16520
16522
|
[Jt, o.revealPassword]
|
|
16521
16523
|
])
|
|
16522
16524
|
])
|
|
16523
16525
|
]),
|
|
16524
|
-
_("button",
|
|
16525
|
-
o.submitted ? (N(), U("span",
|
|
16526
|
+
_("button", sc, [
|
|
16527
|
+
o.submitted ? (N(), U("span", lc)) : (N(), U("span", cc, Q(n.ssoLang[n.appLanguage].login), 1))
|
|
16526
16528
|
])
|
|
16527
16529
|
])) : fe("", !0),
|
|
16528
|
-
|
|
16530
|
+
uc,
|
|
16529
16531
|
n.displayAppleLogin ? (N(), U("a", {
|
|
16530
16532
|
key: 2,
|
|
16531
16533
|
onClick: e[5] || (e[5] = (...s) => n.appleLogin && n.appleLogin(...s)),
|
|
16532
16534
|
class: "button-center button button-90 google-button pointer"
|
|
16533
16535
|
}, [
|
|
16534
|
-
|
|
16535
|
-
n.appleLoad ? (N(), U("span",
|
|
16536
|
+
dc,
|
|
16537
|
+
n.appleLoad ? (N(), U("span", hc)) : (N(), U("span", pc, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Apple", 1))
|
|
16536
16538
|
])) : fe("", !0),
|
|
16537
16539
|
n.displayGoogleLogin ? (N(), U("a", {
|
|
16538
16540
|
key: 3,
|
|
16539
16541
|
onClick: e[6] || (e[6] = (...s) => n.googleLogin && n.googleLogin(...s)),
|
|
16540
16542
|
class: "button-center button button-90 google-button pointer"
|
|
16541
16543
|
}, [
|
|
16542
|
-
|
|
16543
|
-
n.googleLoad ? (N(), U("span",
|
|
16544
|
+
fc,
|
|
16545
|
+
n.googleLoad ? (N(), U("span", mc)) : (N(), U("span", gc, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Google", 1))
|
|
16544
16546
|
])) : fe("", !0),
|
|
16545
16547
|
n.displayFacebookLogin ? (N(), U("a", {
|
|
16546
16548
|
key: 4,
|
|
16547
16549
|
onClick: e[7] || (e[7] = (...s) => n.facebookLogin && n.facebookLogin(...s)),
|
|
16548
16550
|
class: "button-center button button-90 google-button pointer"
|
|
16549
16551
|
}, [
|
|
16550
|
-
|
|
16551
|
-
n.facebookLoad ? (N(), U("span",
|
|
16552
|
+
_c,
|
|
16553
|
+
n.facebookLoad ? (N(), U("span", yc)) : (N(), U("span", vc, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Facebook", 1))
|
|
16552
16554
|
])) : fe("", !0),
|
|
16553
16555
|
n.displayMicrosoftSSOLogin ? fe("", !0) : (N(), U("a", {
|
|
16554
16556
|
key: 5,
|
|
16555
16557
|
onClick: e[8] || (e[8] = (...s) => n.microsoftLogin && n.microsoftLogin(...s)),
|
|
16556
16558
|
class: "button-center button button-90 google-button pointer"
|
|
16557
16559
|
}, [
|
|
16558
|
-
|
|
16559
|
-
n.microsoftLoad ? (N(), U("span",
|
|
16560
|
+
wc,
|
|
16561
|
+
n.microsoftLoad ? (N(), U("span", kc)) : (N(), U("span", bc, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Outlook", 1))
|
|
16560
16562
|
])),
|
|
16561
16563
|
n.displayMicrosoftSSOLogin ? fe("", !0) : (N(), U("a", {
|
|
16562
16564
|
key: 6,
|
|
16563
16565
|
onClick: e[9] || (e[9] = (...s) => n.ssoLogin && n.ssoLogin(...s)),
|
|
16564
16566
|
class: "button-center button button-90 google-button pointer"
|
|
16565
16567
|
}, [
|
|
16566
|
-
|
|
16567
|
-
n.microsoftSSOLoad ? (N(), U("span",
|
|
16568
|
+
Cc,
|
|
16569
|
+
n.microsoftSSOLoad ? (N(), U("span", Tc)) : (N(), U("span", Ec, Q(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1))
|
|
16568
16570
|
])),
|
|
16569
16571
|
n.displayMicrosoftSSOLogin ? (N(), U("a", {
|
|
16570
16572
|
key: 7,
|
|
16571
16573
|
onClick: e[10] || (e[10] = (s) => n.microsoftLogin("sso")),
|
|
16572
16574
|
class: "button-center button button-90 google-button pointer"
|
|
16573
16575
|
}, [
|
|
16574
|
-
|
|
16575
|
-
n.microsoftSSOLoad ? (N(), U("span",
|
|
16576
|
+
Sc,
|
|
16577
|
+
n.microsoftSSOLoad ? (N(), U("span", Ic, Q(n.ssoLang[n.appLanguage].sign_in_with) + " SSO", 1)) : (N(), U("span", Ac))
|
|
16576
16578
|
])) : fe("", !0),
|
|
16577
16579
|
i.displayFormLogin ? fe("", !0) : (N(), U("a", {
|
|
16578
16580
|
key: 8,
|
|
16579
16581
|
onClick: e[11] || (e[11] = (s) => o.emailLogin = !0),
|
|
16580
16582
|
class: "button-center button button-90 google-button pointer"
|
|
16581
16583
|
}, [
|
|
16582
|
-
|
|
16584
|
+
Rc,
|
|
16583
16585
|
_("span", null, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Email", 1)
|
|
16584
16586
|
])),
|
|
16585
16587
|
n.displayQRLogin ? (N(), U("a", {
|
|
@@ -16587,30 +16589,30 @@ function qc(n, e, t, r, o, i) {
|
|
|
16587
16589
|
onClick: e[12] || (e[12] = (s) => n.$router.push("/qr")),
|
|
16588
16590
|
class: "button-center button button-90 google-button pointer"
|
|
16589
16591
|
}, [
|
|
16590
|
-
|
|
16592
|
+
Pc,
|
|
16591
16593
|
_("span", null, Q(n.ssoLang[n.appLanguage].sign_in_with) + " QR", 1)
|
|
16592
16594
|
])) : fe("", !0),
|
|
16593
|
-
|
|
16594
|
-
_("p",
|
|
16595
|
+
Mc,
|
|
16596
|
+
_("p", Nc, [
|
|
16595
16597
|
ke(Q(n.ssoLang[n.appLanguage].terms_by_signing_in) + " ", 1),
|
|
16596
|
-
|
|
16597
|
-
_("a",
|
|
16598
|
+
Oc,
|
|
16599
|
+
_("a", Lc, Q(n.ssoLang[this.appLanguage].terms_of_service), 1),
|
|
16598
16600
|
ke(" " + Q(n.ssoLang[n.appLanguage].and) + " ", 1),
|
|
16599
|
-
_("a",
|
|
16601
|
+
_("a", zc, Q(n.ssoLang[this.appLanguage].privacy_policy), 1)
|
|
16600
16602
|
]),
|
|
16601
|
-
|
|
16603
|
+
xc,
|
|
16602
16604
|
t.isModal ? (N(), U("div", {
|
|
16603
16605
|
key: 11,
|
|
16604
16606
|
class: "page-login-links",
|
|
16605
16607
|
onClick: e[13] || (e[13] = (...s) => i.createAccountModal && i.createAccountModal(...s))
|
|
16606
16608
|
}, [
|
|
16607
|
-
_("a",
|
|
16609
|
+
_("a", Dc, [
|
|
16608
16610
|
ke(Q(n.ssoLang[n.appLanguage].or) + " ", 1),
|
|
16609
|
-
|
|
16611
|
+
Hc,
|
|
16610
16612
|
ke(" " + Q(n.ssoLang[n.appLanguage].create_new_account), 1)
|
|
16611
16613
|
]),
|
|
16612
|
-
|
|
16613
|
-
])) : (N(), U("div",
|
|
16614
|
+
jc
|
|
16615
|
+
])) : (N(), U("div", Uc, [
|
|
16614
16616
|
i.displayRegisterLogin ? (N(), ht(a, {
|
|
16615
16617
|
key: 0,
|
|
16616
16618
|
class: "forgot float-right",
|
|
@@ -16631,14 +16633,14 @@ function qc(n, e, t, r, o, i) {
|
|
|
16631
16633
|
]),
|
|
16632
16634
|
_: 1
|
|
16633
16635
|
})) : fe("", !0),
|
|
16634
|
-
|
|
16636
|
+
Bc
|
|
16635
16637
|
]))
|
|
16636
16638
|
], 36);
|
|
16637
16639
|
}
|
|
16638
|
-
const wo = /* @__PURE__ */ mt(
|
|
16640
|
+
const wo = /* @__PURE__ */ mt(Vs, [["render", Fc]]), qc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16639
16641
|
__proto__: null,
|
|
16640
16642
|
default: wo
|
|
16641
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16643
|
+
}, Symbol.toStringTag, { value: "Module" })), Kc = {
|
|
16642
16644
|
name: "AuthRegister",
|
|
16643
16645
|
mixins: [di, pi, hi, Lr, at],
|
|
16644
16646
|
props: {
|
|
@@ -16705,99 +16707,99 @@ const wo = /* @__PURE__ */ mt(Qs, [["render", qc]]), Kc = /* @__PURE__ */ Object
|
|
|
16705
16707
|
this.$storex.referral = n;
|
|
16706
16708
|
}
|
|
16707
16709
|
}
|
|
16708
|
-
},
|
|
16710
|
+
}, Gc = /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
16709
16711
|
/* @__PURE__ */ _("img", {
|
|
16710
16712
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
16711
16713
|
class: "responsive-image",
|
|
16712
16714
|
style: { width: "35%" }
|
|
16713
16715
|
})
|
|
16714
|
-
], -1),
|
|
16715
|
-
|
|
16716
|
-
],
|
|
16716
|
+
], -1), Vc = [
|
|
16717
|
+
Gc
|
|
16718
|
+
], Qc = {
|
|
16717
16719
|
class: "bold no-bottom center-text",
|
|
16718
16720
|
style: { "margin-top": "63px" }
|
|
16719
|
-
},
|
|
16721
|
+
}, Yc = { class: "half-bottom small-top center-text color-black" }, Wc = { key: 0 }, $c = /* @__PURE__ */ _("br", null, null, -1), Jc = { key: 1 }, Xc = { class: "page-login-field half-top" }, Zc = /* @__PURE__ */ _("i", { style: { "padding-top": "15px" } }, [
|
|
16720
16722
|
/* @__PURE__ */ _("img", {
|
|
16721
16723
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
16722
16724
|
class: "responsive-image",
|
|
16723
16725
|
style: { width: "60%" }
|
|
16724
16726
|
})
|
|
16725
|
-
], -1),
|
|
16727
|
+
], -1), el = ["placeholder"], tl = /* @__PURE__ */ _("em", null, null, -1), nl = { class: "page-login-field half-top" }, rl = /* @__PURE__ */ _("i", { style: { "padding-top": "15px" } }, [
|
|
16726
16728
|
/* @__PURE__ */ _("img", {
|
|
16727
16729
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
16728
16730
|
class: "responsive-image",
|
|
16729
16731
|
style: { width: "50%" }
|
|
16730
16732
|
})
|
|
16731
|
-
], -1),
|
|
16733
|
+
], -1), ol = ["placeholder", "disabled"], il = /* @__PURE__ */ _("em", null, null, -1), al = { class: "page-login-field half-top half-bottom" }, sl = /* @__PURE__ */ _("i", { style: { "padding-top": "15px" } }, [
|
|
16732
16734
|
/* @__PURE__ */ _("img", {
|
|
16733
16735
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
16734
16736
|
class: "responsive-image",
|
|
16735
16737
|
style: { width: "50%" }
|
|
16736
16738
|
})
|
|
16737
|
-
], -1),
|
|
16739
|
+
], -1), cl = ["type", "placeholder"], ll = {
|
|
16738
16740
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
16739
16741
|
class: "responsive-image password-reveal-icon"
|
|
16740
|
-
},
|
|
16742
|
+
}, ul = {
|
|
16741
16743
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
16742
16744
|
class: "responsive-image password-reveal-icon"
|
|
16743
|
-
},
|
|
16745
|
+
}, dl = {
|
|
16744
16746
|
type: "submit",
|
|
16745
16747
|
class: "button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"
|
|
16746
|
-
},
|
|
16748
|
+
}, pl = { key: 0 }, hl = {
|
|
16747
16749
|
key: 1,
|
|
16748
16750
|
class: "button--loading button__loader"
|
|
16749
|
-
},
|
|
16751
|
+
}, fl = /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), gl = /* @__PURE__ */ _("img", {
|
|
16750
16752
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
16751
16753
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
16752
|
-
}, null, -1),
|
|
16754
|
+
}, null, -1), ml = { key: 0 }, _l = {
|
|
16753
16755
|
key: 1,
|
|
16754
16756
|
class: "button--loading-black button__loader"
|
|
16755
|
-
},
|
|
16757
|
+
}, vl = /* @__PURE__ */ _("img", {
|
|
16756
16758
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
16757
16759
|
style: { position: "absolute", "margin-left": "-9px", padding: "8px 0", height: "100%" }
|
|
16758
|
-
}, null, -1),
|
|
16760
|
+
}, null, -1), yl = { key: 0 }, wl = {
|
|
16759
16761
|
key: 1,
|
|
16760
16762
|
class: "button--loading-black button__loader"
|
|
16761
|
-
},
|
|
16763
|
+
}, bl = /* @__PURE__ */ _("img", {
|
|
16762
16764
|
src: "https://cdn.tapni.co/icons/facebook-blue.png",
|
|
16763
16765
|
style: { position: "absolute", "margin-left": "-10px", padding: "10px 0", height: "100%" }
|
|
16764
|
-
}, null, -1),
|
|
16766
|
+
}, null, -1), kl = { key: 0 }, Cl = {
|
|
16765
16767
|
key: 1,
|
|
16766
16768
|
class: "button--loading-black button__loader"
|
|
16767
|
-
},
|
|
16769
|
+
}, El = /* @__PURE__ */ _("img", {
|
|
16768
16770
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
16769
16771
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
16770
|
-
}, null, -1),
|
|
16772
|
+
}, null, -1), Tl = /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Sl = { class: "close-text center-text half-top color-black" }, Il = /* @__PURE__ */ _("br", null, null, -1), Al = {
|
|
16771
16773
|
class: "",
|
|
16772
16774
|
href: "https://tapni.co/policies/terms-of-service"
|
|
16773
|
-
},
|
|
16775
|
+
}, Rl = { href: "https://tapni.co/policies/privacy-policy" }, Pl = /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Ml = {
|
|
16774
16776
|
key: 5,
|
|
16775
16777
|
class: "page-login-links"
|
|
16776
|
-
},
|
|
16777
|
-
function
|
|
16778
|
-
const a =
|
|
16778
|
+
}, Nl = /* @__PURE__ */ _("div", { class: "clear" }, null, -1), Ol = { class: "forgot center-text pointer small-top" }, Ll = /* @__PURE__ */ _("br", null, null, -1), zl = /* @__PURE__ */ _("div", { class: "clear" }, null, -1);
|
|
16779
|
+
function xl(n, e, t, r, o, i) {
|
|
16780
|
+
const a = Fn("router-link");
|
|
16779
16781
|
return N(), U("form", {
|
|
16780
16782
|
class: "page-login content-boxed content-boxed-padding",
|
|
16781
16783
|
onSubmit: e[12] || (e[12] = Ge((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
16782
16784
|
autocomplete: "on",
|
|
16783
|
-
style:
|
|
16785
|
+
style: xn(t.isModal ? "max-width: 500px;" : "")
|
|
16784
16786
|
}, [
|
|
16785
16787
|
t.isModal ? (N(), U("a", {
|
|
16786
16788
|
key: 0,
|
|
16787
16789
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
16788
16790
|
class: "color-black pull-right pointer",
|
|
16789
16791
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
16790
|
-
},
|
|
16791
|
-
_("h1",
|
|
16792
|
-
_("p",
|
|
16793
|
-
o.usernameRegister ? (N(), U("span",
|
|
16792
|
+
}, Vc)) : fe("", !0),
|
|
16793
|
+
_("h1", Qc, Q(n.ssoLang[this.appLanguage].register), 1),
|
|
16794
|
+
_("p", Yc, [
|
|
16795
|
+
o.usernameRegister ? (N(), U("span", Wc, [
|
|
16794
16796
|
ke(" t.link/" + Q(o.username) + " " + Q(n.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
|
|
16795
|
-
|
|
16797
|
+
$c
|
|
16796
16798
|
])) : fe("", !0)
|
|
16797
16799
|
]),
|
|
16798
|
-
o.emailLogin ? (N(), U("span",
|
|
16799
|
-
_("div",
|
|
16800
|
-
|
|
16800
|
+
o.emailLogin ? (N(), U("span", Jc, [
|
|
16801
|
+
_("div", Xc, [
|
|
16802
|
+
Zc,
|
|
16801
16803
|
Ie(_("input", {
|
|
16802
16804
|
"onUpdate:modelValue": e[1] || (e[1] = (s) => o.email = s),
|
|
16803
16805
|
onKeydown: e[2] || (e[2] = fn(Ge(() => {
|
|
@@ -16806,13 +16808,13 @@ function Ul(n, e, t, r, o, i) {
|
|
|
16806
16808
|
placeholder: n.ssoLang[this.appLanguage].email,
|
|
16807
16809
|
name: "email",
|
|
16808
16810
|
required: ""
|
|
16809
|
-
}, null, 40,
|
|
16811
|
+
}, null, 40, el), [
|
|
16810
16812
|
[gn, o.email]
|
|
16811
16813
|
]),
|
|
16812
|
-
|
|
16814
|
+
tl
|
|
16813
16815
|
]),
|
|
16814
|
-
_("div",
|
|
16815
|
-
|
|
16816
|
+
_("div", nl, [
|
|
16817
|
+
rl,
|
|
16816
16818
|
Ie(_("input", {
|
|
16817
16819
|
"onUpdate:modelValue": e[3] || (e[3] = (s) => o.username = s),
|
|
16818
16820
|
onKeydown: e[4] || (e[4] = fn(Ge(() => {
|
|
@@ -16826,13 +16828,13 @@ function Ul(n, e, t, r, o, i) {
|
|
|
16826
16828
|
required: "",
|
|
16827
16829
|
disabled: o.usernameRegister,
|
|
16828
16830
|
class: Je({ "input-disabled": o.usernameRegister })
|
|
16829
|
-
}, null, 42,
|
|
16831
|
+
}, null, 42, ol), [
|
|
16830
16832
|
[gn, o.username]
|
|
16831
16833
|
]),
|
|
16832
|
-
|
|
16834
|
+
il
|
|
16833
16835
|
]),
|
|
16834
|
-
_("div",
|
|
16835
|
-
|
|
16836
|
+
_("div", al, [
|
|
16837
|
+
sl,
|
|
16836
16838
|
Ie(_("input", {
|
|
16837
16839
|
"onUpdate:modelValue": e[5] || (e[5] = (s) => o.password = s),
|
|
16838
16840
|
type: o.revealPassword ? "text" : "password",
|
|
@@ -16840,78 +16842,78 @@ function Ul(n, e, t, r, o, i) {
|
|
|
16840
16842
|
name: "password",
|
|
16841
16843
|
required: "",
|
|
16842
16844
|
minlength: "8"
|
|
16843
|
-
}, null, 8,
|
|
16845
|
+
}, null, 8, cl), [
|
|
16844
16846
|
[_r, o.password]
|
|
16845
16847
|
]),
|
|
16846
16848
|
_("em", {
|
|
16847
16849
|
onClick: e[6] || (e[6] = (s) => o.revealPassword = !o.revealPassword),
|
|
16848
16850
|
class: "pointer"
|
|
16849
16851
|
}, [
|
|
16850
|
-
Ie(_("img",
|
|
16852
|
+
Ie(_("img", ll, null, 512), [
|
|
16851
16853
|
[Jt, !o.revealPassword]
|
|
16852
16854
|
]),
|
|
16853
|
-
Ie(_("img",
|
|
16855
|
+
Ie(_("img", ul, null, 512), [
|
|
16854
16856
|
[Jt, o.revealPassword]
|
|
16855
16857
|
])
|
|
16856
16858
|
])
|
|
16857
16859
|
]),
|
|
16858
|
-
_("button",
|
|
16859
|
-
o.submitted ? (N(), U("span",
|
|
16860
|
+
_("button", dl, [
|
|
16861
|
+
o.submitted ? (N(), U("span", hl)) : (N(), U("span", pl, Q(o.formButtonText), 1))
|
|
16860
16862
|
])
|
|
16861
16863
|
])) : fe("", !0),
|
|
16862
|
-
|
|
16864
|
+
fl,
|
|
16863
16865
|
n.displayAppleLogin ? (N(), U("a", {
|
|
16864
16866
|
key: 2,
|
|
16865
16867
|
onClick: e[7] || (e[7] = (...s) => n.appleLogin && n.appleLogin(...s)),
|
|
16866
16868
|
class: "button-center button button-90 google-button pointer"
|
|
16867
16869
|
}, [
|
|
16868
|
-
|
|
16869
|
-
n.appleLoad ? (N(), U("span",
|
|
16870
|
+
gl,
|
|
16871
|
+
n.appleLoad ? (N(), U("span", _l)) : (N(), U("span", ml, Q(n.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
|
|
16870
16872
|
])) : fe("", !0),
|
|
16871
16873
|
_("a", {
|
|
16872
16874
|
onClick: e[8] || (e[8] = (...s) => n.googleLogin && n.googleLogin(...s)),
|
|
16873
16875
|
class: "button-center button button-90 google-button pointer"
|
|
16874
16876
|
}, [
|
|
16875
|
-
|
|
16876
|
-
n.googleLoad ? (N(), U("span",
|
|
16877
|
+
vl,
|
|
16878
|
+
n.googleLoad ? (N(), U("span", wl)) : (N(), U("span", yl, Q(n.ssoLang[this.appLanguage].sign_up_with) + " Google", 1))
|
|
16877
16879
|
]),
|
|
16878
16880
|
n.displayFacebookLogin ? (N(), U("a", {
|
|
16879
16881
|
key: 3,
|
|
16880
16882
|
onClick: e[9] || (e[9] = (...s) => n.facebookLogin && n.facebookLogin(...s)),
|
|
16881
16883
|
class: "button-center button button-90 google-button pointer"
|
|
16882
16884
|
}, [
|
|
16883
|
-
|
|
16884
|
-
n.facebookLoad ? (N(), U("span",
|
|
16885
|
+
bl,
|
|
16886
|
+
n.facebookLoad ? (N(), U("span", Cl)) : (N(), U("span", kl, Q(n.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
|
|
16885
16887
|
])) : fe("", !0),
|
|
16886
16888
|
o.emailLogin ? fe("", !0) : (N(), U("a", {
|
|
16887
16889
|
key: 4,
|
|
16888
16890
|
onClick: e[10] || (e[10] = (s) => o.emailLogin = !0),
|
|
16889
16891
|
class: "button-center button button-90 google-button pointer"
|
|
16890
16892
|
}, [
|
|
16891
|
-
|
|
16893
|
+
El,
|
|
16892
16894
|
_("span", null, Q(n.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
|
|
16893
16895
|
])),
|
|
16894
|
-
|
|
16895
|
-
_("p",
|
|
16896
|
+
Tl,
|
|
16897
|
+
_("p", Sl, [
|
|
16896
16898
|
ke(Q(n.ssoLang[this.appLanguage].terms_by_registering) + " ", 1),
|
|
16897
|
-
|
|
16898
|
-
_("a",
|
|
16899
|
+
Il,
|
|
16900
|
+
_("a", Al, Q(n.ssoLang[this.appLanguage].terms_of_service), 1),
|
|
16899
16901
|
ke(" " + Q(n.ssoLang[this.appLanguage].and) + " ", 1),
|
|
16900
|
-
_("a",
|
|
16902
|
+
_("a", Rl, Q(n.ssoLang[this.appLanguage].privacy_policy), 1)
|
|
16901
16903
|
]),
|
|
16902
|
-
|
|
16904
|
+
Pl,
|
|
16903
16905
|
t.isModal ? (N(), U("div", {
|
|
16904
16906
|
key: 6,
|
|
16905
16907
|
class: "page-login-links",
|
|
16906
16908
|
onClick: e[11] || (e[11] = (...s) => i.loginAccountModal && i.loginAccountModal(...s))
|
|
16907
16909
|
}, [
|
|
16908
|
-
_("a",
|
|
16910
|
+
_("a", Ol, [
|
|
16909
16911
|
ke(Q(n.ssoLang[this.appLanguage].or) + " ", 1),
|
|
16910
|
-
|
|
16912
|
+
Ll,
|
|
16911
16913
|
ke(" " + Q(n.ssoLang[this.appLanguage].sign_in_with_new), 1)
|
|
16912
16914
|
]),
|
|
16913
|
-
|
|
16914
|
-
])) : (N(), U("div",
|
|
16915
|
+
zl
|
|
16916
|
+
])) : (N(), U("div", Ml, [
|
|
16915
16917
|
De(a, {
|
|
16916
16918
|
class: "create float-right",
|
|
16917
16919
|
to: "/verify"
|
|
@@ -16930,14 +16932,14 @@ function Ul(n, e, t, r, o, i) {
|
|
|
16930
16932
|
]),
|
|
16931
16933
|
_: 1
|
|
16932
16934
|
}),
|
|
16933
|
-
|
|
16935
|
+
Nl
|
|
16934
16936
|
]))
|
|
16935
16937
|
], 36);
|
|
16936
16938
|
}
|
|
16937
|
-
const bo = /* @__PURE__ */ mt(
|
|
16939
|
+
const bo = /* @__PURE__ */ mt(Kc, [["render", xl]]), Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16938
16940
|
__proto__: null,
|
|
16939
16941
|
default: bo
|
|
16940
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16942
|
+
}, Symbol.toStringTag, { value: "Module" })), Bl = {
|
|
16941
16943
|
name: "AuthVerify",
|
|
16942
16944
|
mixins: [at],
|
|
16943
16945
|
props: {
|
|
@@ -17000,59 +17002,59 @@ const bo = /* @__PURE__ */ mt(Gc, [["render", Ul]]), Bl = /* @__PURE__ */ Object
|
|
|
17000
17002
|
deep: !0
|
|
17001
17003
|
}
|
|
17002
17004
|
}
|
|
17003
|
-
}, Ct = (n) => (
|
|
17005
|
+
}, Ct = (n) => (qn("data-v-89d98ef3"), n = n(), Kn(), n), Dl = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
17004
17006
|
/* @__PURE__ */ _("img", {
|
|
17005
17007
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
17006
17008
|
class: "responsive-image",
|
|
17007
17009
|
style: { width: "35%" }
|
|
17008
17010
|
})
|
|
17009
|
-
], -1)),
|
|
17010
|
-
|
|
17011
|
-
],
|
|
17011
|
+
], -1)), Hl = [
|
|
17012
|
+
Dl
|
|
17013
|
+
], jl = {
|
|
17012
17014
|
class: "bold no-bottom center-text",
|
|
17013
17015
|
style: { "margin-top": "63px" }
|
|
17014
|
-
},
|
|
17016
|
+
}, Fl = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("p", { class: "half-bottom half-top center-text color-black" }, null, -1)), ql = { class: "page-login-field half-top" }, Kl = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
17015
17017
|
/* @__PURE__ */ _("img", {
|
|
17016
17018
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
17017
17019
|
class: "responsive-image",
|
|
17018
17020
|
style: { width: "80%" }
|
|
17019
17021
|
})
|
|
17020
|
-
], -1)),
|
|
17022
|
+
], -1)), Gl = ["placeholder"], Vl = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("em", null, null, -1)), Ql = { class: "page-login-field half-top" }, Yl = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
17021
17023
|
/* @__PURE__ */ _("img", {
|
|
17022
17024
|
src: "https://cdn.tapni.co/icons/password2.png",
|
|
17023
17025
|
class: "responsive-image",
|
|
17024
17026
|
style: { width: "100%" }
|
|
17025
17027
|
})
|
|
17026
|
-
], -1)),
|
|
17028
|
+
], -1)), Wl = ["placeholder"], $l = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("em", null, null, -1)), Jl = {
|
|
17027
17029
|
type: "submit",
|
|
17028
17030
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
17029
|
-
},
|
|
17031
|
+
}, Xl = {
|
|
17030
17032
|
key: 0,
|
|
17031
17033
|
class: "uppercase"
|
|
17032
|
-
},
|
|
17034
|
+
}, Zl = {
|
|
17033
17035
|
key: 1,
|
|
17034
17036
|
class: "button--loading button__loader"
|
|
17035
|
-
},
|
|
17037
|
+
}, eu = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), tu = { class: "close-text center-text half-top color-black" }, nu = ["innerHTML"], ru = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("a", { href: "mailto:support@tapni.com?subject=Email Verification" }, " support@tapni.com", -1)), ou = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), iu = {
|
|
17036
17038
|
key: 1,
|
|
17037
17039
|
class: "page-login-links"
|
|
17038
|
-
},
|
|
17039
|
-
function
|
|
17040
|
-
const a =
|
|
17040
|
+
}, au = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("div", { class: "clear" }, null, -1)), su = { class: "forgot center-text pointer small-top" }, cu = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("br", null, null, -1)), lu = /* @__PURE__ */ Ct(() => /* @__PURE__ */ _("div", { class: "clear" }, null, -1));
|
|
17041
|
+
function uu(n, e, t, r, o, i) {
|
|
17042
|
+
const a = Fn("router-link");
|
|
17041
17043
|
return N(), U("form", {
|
|
17042
17044
|
class: "page-login content-boxed content-boxed-padding",
|
|
17043
17045
|
onSubmit: e[6] || (e[6] = Ge((...s) => i.submit && i.submit(...s), ["prevent"])),
|
|
17044
|
-
style:
|
|
17046
|
+
style: xn(t.isModal ? "max-width: 500px;" : "")
|
|
17045
17047
|
}, [
|
|
17046
17048
|
t.isModal ? (N(), U("a", {
|
|
17047
17049
|
key: 0,
|
|
17048
17050
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
17049
17051
|
class: "color-black pull-right pointer",
|
|
17050
17052
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
17051
|
-
},
|
|
17052
|
-
_("h1",
|
|
17053
|
-
|
|
17054
|
-
_("div",
|
|
17055
|
-
|
|
17053
|
+
}, Hl)) : fe("", !0),
|
|
17054
|
+
_("h1", jl, Q(n.ssoLang[this.appLanguage].verify_account), 1),
|
|
17055
|
+
Fl,
|
|
17056
|
+
_("div", ql, [
|
|
17057
|
+
Kl,
|
|
17056
17058
|
Ie(_("input", {
|
|
17057
17059
|
id: "emailInput",
|
|
17058
17060
|
"onUpdate:modelValue": e[1] || (e[1] = (s) => o.email = s),
|
|
@@ -17061,13 +17063,13 @@ function du(n, e, t, r, o, i) {
|
|
|
17061
17063
|
type: "email",
|
|
17062
17064
|
placeholder: n.ssoLang[this.appLanguage].email,
|
|
17063
17065
|
required: ""
|
|
17064
|
-
}, null, 40,
|
|
17066
|
+
}, null, 40, Gl), [
|
|
17065
17067
|
[gn, o.email]
|
|
17066
17068
|
]),
|
|
17067
|
-
|
|
17069
|
+
Vl
|
|
17068
17070
|
]),
|
|
17069
|
-
_("div",
|
|
17070
|
-
|
|
17071
|
+
_("div", Ql, [
|
|
17072
|
+
Yl,
|
|
17071
17073
|
Ie(_("input", {
|
|
17072
17074
|
id: "codeInput",
|
|
17073
17075
|
"onUpdate:modelValue": e[3] || (e[3] = (s) => o.code = s),
|
|
@@ -17076,34 +17078,34 @@ function du(n, e, t, r, o, i) {
|
|
|
17076
17078
|
type: "tel",
|
|
17077
17079
|
placeholder: n.ssoLang[this.appLanguage].code,
|
|
17078
17080
|
required: ""
|
|
17079
|
-
}, null, 40,
|
|
17081
|
+
}, null, 40, Wl), [
|
|
17080
17082
|
[gn, o.code]
|
|
17081
17083
|
]),
|
|
17082
|
-
|
|
17084
|
+
$l
|
|
17083
17085
|
]),
|
|
17084
|
-
_("button",
|
|
17085
|
-
o.submitted ? (N(), U("span",
|
|
17086
|
+
_("button", Jl, [
|
|
17087
|
+
o.submitted ? (N(), U("span", Zl)) : (N(), U("span", Xl, Q(n.ssoLang[this.appLanguage].verify_account), 1))
|
|
17086
17088
|
]),
|
|
17087
|
-
|
|
17088
|
-
_("p",
|
|
17089
|
+
eu,
|
|
17090
|
+
_("p", tu, [
|
|
17089
17091
|
_("span", {
|
|
17090
17092
|
innerHTML: n.ssoLang[this.appLanguage].verify_account_p1
|
|
17091
|
-
}, null, 8,
|
|
17092
|
-
|
|
17093
|
+
}, null, 8, nu),
|
|
17094
|
+
ru
|
|
17093
17095
|
]),
|
|
17094
|
-
|
|
17096
|
+
ou,
|
|
17095
17097
|
t.isModal ? (N(), U("div", {
|
|
17096
17098
|
key: 2,
|
|
17097
17099
|
class: "page-login-links",
|
|
17098
17100
|
onClick: e[5] || (e[5] = (...s) => i.registerAccountModal && i.registerAccountModal(...s))
|
|
17099
17101
|
}, [
|
|
17100
|
-
_("a",
|
|
17102
|
+
_("a", su, [
|
|
17101
17103
|
ke(Q(n.ssoLang[this.appLanguage].or) + " ", 1),
|
|
17102
|
-
|
|
17104
|
+
cu,
|
|
17103
17105
|
ke(" " + Q(n.ssoLang[this.appLanguage].create_new_account), 1)
|
|
17104
17106
|
]),
|
|
17105
|
-
|
|
17106
|
-
])) : (N(), U("div",
|
|
17107
|
+
lu
|
|
17108
|
+
])) : (N(), U("div", iu, [
|
|
17107
17109
|
De(a, {
|
|
17108
17110
|
class: "create float-right",
|
|
17109
17111
|
to: "/register"
|
|
@@ -17122,14 +17124,14 @@ function du(n, e, t, r, o, i) {
|
|
|
17122
17124
|
]),
|
|
17123
17125
|
_: 1
|
|
17124
17126
|
}),
|
|
17125
|
-
|
|
17127
|
+
au
|
|
17126
17128
|
]))
|
|
17127
17129
|
], 36);
|
|
17128
17130
|
}
|
|
17129
|
-
const ko = /* @__PURE__ */ mt(
|
|
17131
|
+
const ko = /* @__PURE__ */ mt(Bl, [["render", uu], ["__scopeId", "data-v-89d98ef3"]]), du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17130
17132
|
__proto__: null,
|
|
17131
17133
|
default: ko
|
|
17132
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17134
|
+
}, Symbol.toStringTag, { value: "Module" })), pu = {
|
|
17133
17135
|
name: "AuthMFA",
|
|
17134
17136
|
mixins: [at, Ai],
|
|
17135
17137
|
props: {
|
|
@@ -17155,43 +17157,43 @@ const ko = /* @__PURE__ */ mt(Dl, [["render", du], ["__scopeId", "data-v-89d98ef
|
|
|
17155
17157
|
t.data.success && (this.getAccountSettings(), this.successSnack(t.data.message));
|
|
17156
17158
|
}
|
|
17157
17159
|
}
|
|
17158
|
-
},
|
|
17160
|
+
}, hu = { class: "page-login content-boxed content-boxed-padding" }, fu = /* @__PURE__ */ _("h4", { style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "50px" } }, " 2-Step Verification ", -1), gu = /* @__PURE__ */ _("br", null, null, -1), mu = { class: "qrCodeLoginContainer center-text" }, _u = {
|
|
17159
17161
|
class: "ios-switch",
|
|
17160
17162
|
style: { display: "inline-block", float: "right" }
|
|
17161
|
-
},
|
|
17163
|
+
}, vu = /* @__PURE__ */ _("label", {
|
|
17162
17164
|
class: "ios-switch-label",
|
|
17163
17165
|
for: "mfa-open-switch"
|
|
17164
|
-
}, null, -1),
|
|
17166
|
+
}, null, -1), yu = /* @__PURE__ */ _("br", null, null, -1), wu = { style: { "text-align": "center" } }, bu = /* @__PURE__ */ _("div", {
|
|
17165
17167
|
id: "qrCodeContainer",
|
|
17166
17168
|
class: "qrCodeRounded",
|
|
17167
17169
|
style: { "max-width": "100%" }
|
|
17168
|
-
}, null, -1),
|
|
17170
|
+
}, null, -1), ku = /* @__PURE__ */ _("br", null, null, -1), Cu = /* @__PURE__ */ _("br", null, null, -1), Eu = /* @__PURE__ */ _("br", null, null, -1), Tu = /* @__PURE__ */ _("div", { style: { margin: "0 auto", width: "85%", "text-align": "center" } }, [
|
|
17169
17171
|
/* @__PURE__ */ _("h5", { class: "" }, "Scan the QR code above or enter the secret key into your authenticator app."),
|
|
17170
17172
|
/* @__PURE__ */ _("br")
|
|
17171
|
-
], -1),
|
|
17173
|
+
], -1), Su = {
|
|
17172
17174
|
type: "submit",
|
|
17173
17175
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top pointer"
|
|
17174
|
-
},
|
|
17176
|
+
}, Iu = { key: 0 }, Au = {
|
|
17175
17177
|
key: 1,
|
|
17176
17178
|
class: "button--loading button__loader"
|
|
17177
|
-
},
|
|
17179
|
+
}, Ru = {
|
|
17178
17180
|
key: 1,
|
|
17179
17181
|
style: { margin: "0 auto", width: "100%", "text-align": "center" }
|
|
17180
|
-
},
|
|
17182
|
+
}, Pu = {
|
|
17181
17183
|
key: 0,
|
|
17182
17184
|
class: ""
|
|
17183
|
-
},
|
|
17185
|
+
}, Mu = /* @__PURE__ */ _("br", null, null, -1), Nu = {
|
|
17184
17186
|
key: 1,
|
|
17185
17187
|
class: ""
|
|
17186
17188
|
};
|
|
17187
|
-
function
|
|
17188
|
-
return N(), U("div",
|
|
17189
|
+
function Ou(n, e, t, r, o, i) {
|
|
17190
|
+
return N(), U("div", hu, [
|
|
17191
|
+
fu,
|
|
17189
17192
|
gu,
|
|
17190
|
-
mu,
|
|
17191
|
-
_("div", _u, [
|
|
17193
|
+
_("div", mu, [
|
|
17192
17194
|
_("div", null, [
|
|
17193
17195
|
ke(" Enable Multi-Factor Authentication "),
|
|
17194
|
-
_("div",
|
|
17196
|
+
_("div", _u, [
|
|
17195
17197
|
Ie(_("input", {
|
|
17196
17198
|
"onUpdate:modelValue": e[0] || (e[0] = (a) => n.mfaEnable = a),
|
|
17197
17199
|
type: "checkbox",
|
|
@@ -17199,22 +17201,22 @@ function Lu(n, e, t, r, o, i) {
|
|
|
17199
17201
|
class: "ios-switch-checkbox",
|
|
17200
17202
|
id: "mfa-open-switch"
|
|
17201
17203
|
}, null, 512), [
|
|
17202
|
-
[
|
|
17204
|
+
[xi, n.mfaEnable]
|
|
17203
17205
|
]),
|
|
17204
|
-
|
|
17206
|
+
vu
|
|
17205
17207
|
])
|
|
17206
17208
|
]),
|
|
17207
|
-
|
|
17208
|
-
Ie(_("div",
|
|
17209
|
+
yu,
|
|
17210
|
+
Ie(_("div", wu, [
|
|
17211
|
+
bu,
|
|
17209
17212
|
ku,
|
|
17210
|
-
Cu,
|
|
17211
17213
|
_("p", {
|
|
17212
17214
|
class: "bold pointer font-16 underline",
|
|
17213
17215
|
onClick: e[1] || (e[1] = (a) => n.copy(n.otpSecret))
|
|
17214
17216
|
}, Q(n.otpSecret), 1),
|
|
17217
|
+
Cu,
|
|
17215
17218
|
Eu,
|
|
17216
|
-
Tu
|
|
17217
|
-
Su
|
|
17219
|
+
Tu
|
|
17218
17220
|
], 512), [
|
|
17219
17221
|
[Jt, n.mfaEnable && !n.account.mfaEnabled]
|
|
17220
17222
|
]),
|
|
@@ -17222,20 +17224,20 @@ function Lu(n, e, t, r, o, i) {
|
|
|
17222
17224
|
key: 0,
|
|
17223
17225
|
onSubmit: e[3] || (e[3] = Ge((...a) => n.validateMFA && n.validateMFA(...a), ["prevent"]))
|
|
17224
17226
|
}, [
|
|
17225
|
-
_("button",
|
|
17226
|
-
n.loading ? (N(), U("span",
|
|
17227
|
+
_("button", Su, [
|
|
17228
|
+
n.loading ? (N(), U("span", Au)) : (N(), U("span", Iu, Q(n.ssoLang[n.appLanguage].continue), 1))
|
|
17227
17229
|
]),
|
|
17228
17230
|
_("a", {
|
|
17229
17231
|
href: "javascript:;",
|
|
17230
17232
|
onClick: e[2] || (e[2] = (...a) => n.cancelMFA && n.cancelMFA(...a))
|
|
17231
17233
|
}, "Cancel")
|
|
17232
|
-
], 32)) : (N(), U("div",
|
|
17234
|
+
], 32)) : (N(), U("div", Ru, [
|
|
17233
17235
|
_("div", null, [
|
|
17234
|
-
n.mfaEnable ? (N(), U("h5",
|
|
17236
|
+
n.mfaEnable ? (N(), U("h5", Pu, [
|
|
17235
17237
|
ke(" Your account is protected via "),
|
|
17236
|
-
|
|
17238
|
+
Mu,
|
|
17237
17239
|
ke(" multi-factor authentication (MFA) ✅ ")
|
|
17238
|
-
])) : (N(), U("h5",
|
|
17240
|
+
])) : (N(), U("h5", Nu, "Protect your account from unauthorized access by enabling multi-factor authentication (MFA)")),
|
|
17239
17241
|
_("a", {
|
|
17240
17242
|
class: "half-top",
|
|
17241
17243
|
href: "javascript:;",
|
|
@@ -17246,10 +17248,10 @@ function Lu(n, e, t, r, o, i) {
|
|
|
17246
17248
|
])
|
|
17247
17249
|
]);
|
|
17248
17250
|
}
|
|
17249
|
-
const Co = /* @__PURE__ */ mt(
|
|
17251
|
+
const Co = /* @__PURE__ */ mt(pu, [["render", Ou]]), Lu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17250
17252
|
__proto__: null,
|
|
17251
17253
|
default: Co
|
|
17252
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17254
|
+
}, Symbol.toStringTag, { value: "Module" })), zu = {
|
|
17253
17255
|
name: "AuthReset",
|
|
17254
17256
|
mixins: [at],
|
|
17255
17257
|
data() {
|
|
@@ -17303,124 +17305,124 @@ const Co = /* @__PURE__ */ mt(hu, [["render", Lu]]), zu = /* @__PURE__ */ Object
|
|
|
17303
17305
|
this.$storex.verifyEmail = n;
|
|
17304
17306
|
}
|
|
17305
17307
|
}
|
|
17306
|
-
}, on = (n) => (
|
|
17308
|
+
}, on = (n) => (qn("data-v-69a9cfa3"), n = n(), Kn(), n), xu = {
|
|
17307
17309
|
class: "bold no-bottom center-text",
|
|
17308
17310
|
style: { "margin-top": "63px" }
|
|
17309
|
-
},
|
|
17311
|
+
}, Uu = /* @__PURE__ */ on(() => /* @__PURE__ */ _("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), Bu = { class: "page-login-field half-top color-black" }, Du = /* @__PURE__ */ on(() => /* @__PURE__ */ _("i", { style: { "padding-top": "10px", "margin-left": "10px" } }, [
|
|
17310
17312
|
/* @__PURE__ */ _("img", {
|
|
17311
17313
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
17312
17314
|
class: "responsive-image",
|
|
17313
17315
|
style: { width: "80%" }
|
|
17314
17316
|
})
|
|
17315
|
-
], -1)),
|
|
17317
|
+
], -1)), Hu = ["placeholder"], ju = /* @__PURE__ */ on(() => /* @__PURE__ */ _("em", null, null, -1)), Fu = {
|
|
17316
17318
|
type: "submit",
|
|
17317
17319
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
17318
|
-
},
|
|
17320
|
+
}, qu = {
|
|
17319
17321
|
key: 0,
|
|
17320
17322
|
class: "uppercase"
|
|
17321
|
-
},
|
|
17323
|
+
}, Ku = {
|
|
17322
17324
|
key: 1,
|
|
17323
17325
|
class: "button--loading button__loader"
|
|
17324
|
-
},
|
|
17326
|
+
}, Gu = /* @__PURE__ */ on(() => /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Vu = { class: "close-text center-text half-top color-black" }, Qu = ["innerHTML"], Yu = ["href"], Wu = /* @__PURE__ */ on(() => /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), $u = { class: "page-login-links" }, Ju = /* @__PURE__ */ on(() => /* @__PURE__ */ _("div", { class: "clear" }, null, -1)), Xu = {
|
|
17325
17327
|
class: "bold no-bottom center-text",
|
|
17326
17328
|
style: { "margin-top": "63px" }
|
|
17327
|
-
},
|
|
17329
|
+
}, Zu = { class: "half-bottom small-top center-text color-black" }, ed = { class: "page-login-field half-top" }, td = /* @__PURE__ */ on(() => /* @__PURE__ */ _("i", { style: { "padding-top": "15px" } }, [
|
|
17328
17330
|
/* @__PURE__ */ _("img", {
|
|
17329
17331
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
17330
17332
|
class: "responsive-image",
|
|
17331
17333
|
style: { width: "50%" }
|
|
17332
17334
|
})
|
|
17333
|
-
], -1)),
|
|
17335
|
+
], -1)), nd = ["type", "placeholder"], rd = {
|
|
17334
17336
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
17335
17337
|
class: "responsive-image password-reveal-icon"
|
|
17336
|
-
},
|
|
17338
|
+
}, od = {
|
|
17337
17339
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
17338
17340
|
class: "responsive-image password-reveal-icon"
|
|
17339
|
-
},
|
|
17341
|
+
}, id = { class: "page-login-field half-top" }, ad = /* @__PURE__ */ on(() => /* @__PURE__ */ _("i", { style: { "padding-top": "15px" } }, [
|
|
17340
17342
|
/* @__PURE__ */ _("img", {
|
|
17341
17343
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
17342
17344
|
class: "responsive-image",
|
|
17343
17345
|
style: { width: "50%" }
|
|
17344
17346
|
})
|
|
17345
|
-
], -1)),
|
|
17347
|
+
], -1)), sd = ["type", "placeholder"], cd = {
|
|
17346
17348
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
17347
17349
|
class: "responsive-image password-reveal-icon"
|
|
17348
|
-
},
|
|
17350
|
+
}, ld = {
|
|
17349
17351
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
17350
17352
|
class: "responsive-image password-reveal-icon"
|
|
17351
|
-
},
|
|
17353
|
+
}, ud = {
|
|
17352
17354
|
type: "submit",
|
|
17353
17355
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
17354
|
-
},
|
|
17356
|
+
}, dd = {
|
|
17355
17357
|
key: 0,
|
|
17356
17358
|
class: "uppercase"
|
|
17357
|
-
},
|
|
17359
|
+
}, pd = {
|
|
17358
17360
|
key: 1,
|
|
17359
17361
|
class: "button--loading button__loader"
|
|
17360
|
-
},
|
|
17361
|
-
function
|
|
17362
|
-
const a =
|
|
17362
|
+
}, hd = /* @__PURE__ */ on(() => /* @__PURE__ */ _("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), fd = { class: "close-text center-text half-top color-black" }, gd = ["innerHTML"], md = ["href"];
|
|
17363
|
+
function _d(n, e, t, r, o, i) {
|
|
17364
|
+
const a = Fn("router-link");
|
|
17363
17365
|
return o.passwordChange ? (N(), U("form", {
|
|
17364
17366
|
key: 1,
|
|
17365
17367
|
class: "page-login content-boxed content-boxed-padding",
|
|
17366
17368
|
onSubmit: e[7] || (e[7] = Ge((...s) => i.changePw && i.changePw(...s), ["prevent"]))
|
|
17367
17369
|
}, [
|
|
17368
|
-
_("h3",
|
|
17369
|
-
_("p",
|
|
17370
|
-
_("div",
|
|
17371
|
-
|
|
17370
|
+
_("h3", Xu, Q(n.ssoLang[this.appLanguage].password_change), 1),
|
|
17371
|
+
_("p", Zu, Q(n.ssoLang[this.appLanguage].password_new), 1),
|
|
17372
|
+
_("div", ed, [
|
|
17373
|
+
td,
|
|
17372
17374
|
Ie(_("input", {
|
|
17373
17375
|
"onUpdate:modelValue": e[3] || (e[3] = (s) => o.password = s),
|
|
17374
17376
|
type: o.revealPassword ? "text" : "password",
|
|
17375
17377
|
placeholder: n.ssoLang[this.appLanguage].password,
|
|
17376
17378
|
required: ""
|
|
17377
|
-
}, null, 8,
|
|
17379
|
+
}, null, 8, nd), [
|
|
17378
17380
|
[_r, o.password]
|
|
17379
17381
|
]),
|
|
17380
17382
|
_("em", {
|
|
17381
17383
|
onClick: e[4] || (e[4] = (s) => o.revealPassword = !o.revealPassword)
|
|
17382
17384
|
}, [
|
|
17383
|
-
Ie(_("img",
|
|
17385
|
+
Ie(_("img", rd, null, 512), [
|
|
17384
17386
|
[Jt, !o.revealPassword]
|
|
17385
17387
|
]),
|
|
17386
|
-
Ie(_("img",
|
|
17388
|
+
Ie(_("img", od, null, 512), [
|
|
17387
17389
|
[Jt, o.revealPassword]
|
|
17388
17390
|
])
|
|
17389
17391
|
])
|
|
17390
17392
|
]),
|
|
17391
|
-
_("div",
|
|
17392
|
-
|
|
17393
|
+
_("div", id, [
|
|
17394
|
+
ad,
|
|
17393
17395
|
Ie(_("input", {
|
|
17394
17396
|
"onUpdate:modelValue": e[5] || (e[5] = (s) => o.passwordRepeat = s),
|
|
17395
17397
|
type: o.revealPassword2 ? "text" : "password",
|
|
17396
17398
|
placeholder: n.ssoLang[this.appLanguage].password_repeat,
|
|
17397
17399
|
required: ""
|
|
17398
|
-
}, null, 8,
|
|
17400
|
+
}, null, 8, sd), [
|
|
17399
17401
|
[_r, o.passwordRepeat]
|
|
17400
17402
|
]),
|
|
17401
17403
|
_("em", {
|
|
17402
17404
|
onClick: e[6] || (e[6] = (s) => o.revealPassword2 = !o.revealPassword2)
|
|
17403
17405
|
}, [
|
|
17404
|
-
Ie(_("img",
|
|
17406
|
+
Ie(_("img", cd, null, 512), [
|
|
17405
17407
|
[Jt, !o.revealPassword2]
|
|
17406
17408
|
]),
|
|
17407
|
-
Ie(_("img",
|
|
17409
|
+
Ie(_("img", ld, null, 512), [
|
|
17408
17410
|
[Jt, o.revealPassword2]
|
|
17409
17411
|
])
|
|
17410
17412
|
])
|
|
17411
17413
|
]),
|
|
17412
|
-
_("button",
|
|
17413
|
-
o.submitted ? (N(), U("span",
|
|
17414
|
+
_("button", ud, [
|
|
17415
|
+
o.submitted ? (N(), U("span", pd)) : (N(), U("span", dd, Q(n.ssoLang[this.appLanguage].password_change), 1))
|
|
17414
17416
|
]),
|
|
17415
|
-
|
|
17416
|
-
_("p",
|
|
17417
|
+
hd,
|
|
17418
|
+
_("p", fd, [
|
|
17417
17419
|
_("span", {
|
|
17418
17420
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p2
|
|
17419
|
-
}, null, 8,
|
|
17421
|
+
}, null, 8, gd),
|
|
17420
17422
|
ke(),
|
|
17421
17423
|
_("a", {
|
|
17422
17424
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
17423
|
-
}, " support@tapni.com", 8,
|
|
17425
|
+
}, " support@tapni.com", 8, md)
|
|
17424
17426
|
])
|
|
17425
17427
|
], 32)) : (N(), U("form", {
|
|
17426
17428
|
key: 0,
|
|
@@ -17428,10 +17430,10 @@ function vd(n, e, t, r, o, i) {
|
|
|
17428
17430
|
onSubmit: e[2] || (e[2] = Ge((...s) => i.resetEmail && i.resetEmail(...s), ["prevent"])),
|
|
17429
17431
|
autocomplete: "on"
|
|
17430
17432
|
}, [
|
|
17431
|
-
_("h3",
|
|
17432
|
-
|
|
17433
|
-
_("div",
|
|
17434
|
-
|
|
17433
|
+
_("h3", xu, Q(n.ssoLang[this.appLanguage].reset_password), 1),
|
|
17434
|
+
Uu,
|
|
17435
|
+
_("div", Bu, [
|
|
17436
|
+
Du,
|
|
17435
17437
|
Ie(_("input", {
|
|
17436
17438
|
id: "emailInput",
|
|
17437
17439
|
"onUpdate:modelValue": e[0] || (e[0] = (s) => o.email = s),
|
|
@@ -17440,25 +17442,25 @@ function vd(n, e, t, r, o, i) {
|
|
|
17440
17442
|
type: "email",
|
|
17441
17443
|
placeholder: n.ssoLang[this.appLanguage].email,
|
|
17442
17444
|
required: ""
|
|
17443
|
-
}, null, 40,
|
|
17445
|
+
}, null, 40, Hu), [
|
|
17444
17446
|
[gn, o.email]
|
|
17445
17447
|
]),
|
|
17446
|
-
|
|
17448
|
+
ju
|
|
17447
17449
|
]),
|
|
17448
|
-
_("button",
|
|
17449
|
-
o.submitted ? (N(), U("span",
|
|
17450
|
+
_("button", Fu, [
|
|
17451
|
+
o.submitted ? (N(), U("span", Ku)) : (N(), U("span", qu, Q(n.ssoLang[this.appLanguage].reset_password), 1))
|
|
17450
17452
|
]),
|
|
17451
|
-
|
|
17452
|
-
_("p",
|
|
17453
|
+
Gu,
|
|
17454
|
+
_("p", Vu, [
|
|
17453
17455
|
_("span", {
|
|
17454
17456
|
innerHTML: n.ssoLang[this.appLanguage].reset_password_p1
|
|
17455
|
-
}, null, 8,
|
|
17457
|
+
}, null, 8, Qu),
|
|
17456
17458
|
_("a", {
|
|
17457
17459
|
href: "mailto:support@tapni.com?subject=" + n.ssoLang[this.appLanguage].password_reset_t
|
|
17458
|
-
}, " support@tapni.com", 8,
|
|
17460
|
+
}, " support@tapni.com", 8, Yu)
|
|
17459
17461
|
]),
|
|
17460
|
-
|
|
17461
|
-
_("div",
|
|
17462
|
+
Wu,
|
|
17463
|
+
_("div", $u, [
|
|
17462
17464
|
De(a, {
|
|
17463
17465
|
class: "create float-right",
|
|
17464
17466
|
to: "/verify"
|
|
@@ -17477,14 +17479,14 @@ function vd(n, e, t, r, o, i) {
|
|
|
17477
17479
|
]),
|
|
17478
17480
|
_: 1
|
|
17479
17481
|
}),
|
|
17480
|
-
|
|
17482
|
+
Ju
|
|
17481
17483
|
])
|
|
17482
17484
|
], 32));
|
|
17483
17485
|
}
|
|
17484
|
-
const Eo = /* @__PURE__ */ mt(
|
|
17486
|
+
const Eo = /* @__PURE__ */ mt(zu, [["render", _d], ["__scopeId", "data-v-69a9cfa3"]]), vd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17485
17487
|
__proto__: null,
|
|
17486
17488
|
default: Eo
|
|
17487
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17489
|
+
}, Symbol.toStringTag, { value: "Module" })), yd = {
|
|
17488
17490
|
name: "AuthCallback",
|
|
17489
17491
|
mixins: [zr, xr, at],
|
|
17490
17492
|
data() {
|
|
@@ -17500,35 +17502,35 @@ const Eo = /* @__PURE__ */ mt(xu, [["render", vd], ["__scopeId", "data-v-69a9cfa
|
|
|
17500
17502
|
},
|
|
17501
17503
|
methods: {
|
|
17502
17504
|
inAppRedirect() {
|
|
17503
|
-
let n =
|
|
17505
|
+
let n = Gi(location.href);
|
|
17504
17506
|
return n = n.replace("http", "tapni"), n = n.replace("https", "tapni"), window.open(n);
|
|
17505
17507
|
}
|
|
17506
17508
|
}
|
|
17507
|
-
},
|
|
17509
|
+
}, wd = { class: "page-login content-boxed content-boxed-padding" }, bd = {
|
|
17508
17510
|
key: 0,
|
|
17509
17511
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
17510
|
-
},
|
|
17512
|
+
}, kd = /* @__PURE__ */ _("br", null, null, -1), Cd = {
|
|
17511
17513
|
key: 1,
|
|
17512
17514
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
17513
17515
|
};
|
|
17514
|
-
function
|
|
17515
|
-
return N(), U("div",
|
|
17516
|
-
(n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (N(), U("h5",
|
|
17516
|
+
function Ed(n, e, t, r, o, i) {
|
|
17517
|
+
return N(), U("div", wd, [
|
|
17518
|
+
(n.$route.query.platform === "android" || n.$route.query.platform === "ios") && !n.isNative ? (N(), U("h5", bd, [
|
|
17517
17519
|
ke(Q(n.ssoLang[this.appLanguage].you_will_be_redirected), 1),
|
|
17518
|
-
|
|
17520
|
+
kd,
|
|
17519
17521
|
ke(" " + Q(n.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
|
|
17520
17522
|
_("span", {
|
|
17521
17523
|
onClick: e[0] || (e[0] = (...a) => i.inAppRedirect && i.inAppRedirect(...a)),
|
|
17522
17524
|
style: { color: "blue", cursor: "pointer" }
|
|
17523
17525
|
}, Q(n.ssoLang[this.appLanguage].click_here), 1),
|
|
17524
17526
|
ke(".")
|
|
17525
|
-
])) : (N(), U("h4",
|
|
17527
|
+
])) : (N(), U("h4", Cd, Q(n.ssoLang[this.appLanguage].please_wait), 1))
|
|
17526
17528
|
]);
|
|
17527
17529
|
}
|
|
17528
|
-
const To = /* @__PURE__ */ mt(
|
|
17530
|
+
const To = /* @__PURE__ */ mt(yd, [["render", Ed]]), Td = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17529
17531
|
__proto__: null,
|
|
17530
17532
|
default: To
|
|
17531
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17533
|
+
}, Symbol.toStringTag, { value: "Module" })), Sd = {
|
|
17532
17534
|
name: "ModalOverlay",
|
|
17533
17535
|
mixins: [at],
|
|
17534
17536
|
data() {
|
|
@@ -17553,13 +17555,13 @@ const To = /* @__PURE__ */ mt(wd, [["render", Td]]), Sd = /* @__PURE__ */ Object
|
|
|
17553
17555
|
}
|
|
17554
17556
|
}
|
|
17555
17557
|
};
|
|
17556
|
-
function
|
|
17558
|
+
function Id(n, e, t, r, o, i) {
|
|
17557
17559
|
return N(), U("div", {
|
|
17558
17560
|
class: Je({ "pointer delete-menu": !0, "delete-menu-active": o.toggle }),
|
|
17559
17561
|
onClick: e[0] || (e[0] = (...a) => i.toggleEmit && i.toggleEmit(...a))
|
|
17560
17562
|
}, null, 2);
|
|
17561
17563
|
}
|
|
17562
|
-
const Ri = /* @__PURE__ */ mt(
|
|
17564
|
+
const Ri = /* @__PURE__ */ mt(Sd, [["render", Id], ["__scopeId", "data-v-17c95816"]]), Ad = {
|
|
17563
17565
|
name: "SSO",
|
|
17564
17566
|
mixins: [Lr, zr, xr, at],
|
|
17565
17567
|
data() {
|
|
@@ -17602,23 +17604,23 @@ const Ri = /* @__PURE__ */ mt(Id, [["render", Ad], ["__scopeId", "data-v-17c9581
|
|
|
17602
17604
|
this.toggle = !this.toggle;
|
|
17603
17605
|
}
|
|
17604
17606
|
}
|
|
17605
|
-
},
|
|
17607
|
+
}, Rd = (n) => (qn("data-v-11f19a09"), n = n(), Kn(), n), Pd = /* @__PURE__ */ Rd(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
17606
17608
|
/* @__PURE__ */ _("img", {
|
|
17607
17609
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
17608
17610
|
class: "responsive-image",
|
|
17609
17611
|
style: { width: "45%" }
|
|
17610
17612
|
})
|
|
17611
|
-
], -1)),
|
|
17612
|
-
|
|
17613
|
-
],
|
|
17613
|
+
], -1)), Md = [
|
|
17614
|
+
Pd
|
|
17615
|
+
], Nd = { class: "bold center-text color-black half-top half-bottom" }, Od = ["placeholder"], Ld = {
|
|
17614
17616
|
type: "submit",
|
|
17615
17617
|
class: "button black-button white-button button-full",
|
|
17616
17618
|
style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
|
|
17617
|
-
},
|
|
17619
|
+
}, zd = { key: 0 }, xd = {
|
|
17618
17620
|
key: 1,
|
|
17619
17621
|
class: "button--loading button__loader"
|
|
17620
17622
|
};
|
|
17621
|
-
function
|
|
17623
|
+
function Ud(n, e, t, r, o, i) {
|
|
17622
17624
|
return N(), U("form", {
|
|
17623
17625
|
onSubmit: e[3] || (e[3] = Ge((...a) => i.submit && i.submit(...a), ["prevent"])),
|
|
17624
17626
|
class: Je(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": o.toggle }]),
|
|
@@ -17628,8 +17630,8 @@ function Bd(n, e, t, r, o, i) {
|
|
|
17628
17630
|
onClick: e[0] || (e[0] = (...a) => i.forceClose && i.forceClose(...a)),
|
|
17629
17631
|
class: "color-black pull-right pointer",
|
|
17630
17632
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
17631
|
-
},
|
|
17632
|
-
_("h3",
|
|
17633
|
+
}, Md),
|
|
17634
|
+
_("h3", Nd, Q(n.ssoLang[n.appLanguage].enter_company_email), 1),
|
|
17633
17635
|
_("div", null, [
|
|
17634
17636
|
Ie(_("input", {
|
|
17635
17637
|
type: "text",
|
|
@@ -17644,16 +17646,16 @@ function Bd(n, e, t, r, o, i) {
|
|
|
17644
17646
|
required: "",
|
|
17645
17647
|
onKeydown: e[2] || (e[2] = fn(Ge(() => {
|
|
17646
17648
|
}, ["prevent"]), ["space"]))
|
|
17647
|
-
}, null, 40,
|
|
17649
|
+
}, null, 40, Od), [
|
|
17648
17650
|
[gn, o.email]
|
|
17649
17651
|
])
|
|
17650
17652
|
]),
|
|
17651
|
-
_("button",
|
|
17652
|
-
o.loading ? (N(), U("span",
|
|
17653
|
+
_("button", Ld, [
|
|
17654
|
+
o.loading ? (N(), U("span", xd)) : (N(), U("span", zd, Q(n.ssoLang[n.appLanguage].continue), 1))
|
|
17653
17655
|
])
|
|
17654
17656
|
], 34);
|
|
17655
17657
|
}
|
|
17656
|
-
const Pi = /* @__PURE__ */ mt(
|
|
17658
|
+
const Pi = /* @__PURE__ */ mt(Ad, [["render", Ud], ["__scopeId", "data-v-11f19a09"]]), Bd = {
|
|
17657
17659
|
name: "OTP",
|
|
17658
17660
|
mixins: [at],
|
|
17659
17661
|
data() {
|
|
@@ -17687,23 +17689,23 @@ const Pi = /* @__PURE__ */ mt(Rd, [["render", Bd], ["__scopeId", "data-v-11f19a0
|
|
|
17687
17689
|
this.toggle = !this.toggle;
|
|
17688
17690
|
}
|
|
17689
17691
|
}
|
|
17690
|
-
},
|
|
17692
|
+
}, Dd = /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
17691
17693
|
/* @__PURE__ */ _("img", {
|
|
17692
17694
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
17693
17695
|
class: "responsive-image",
|
|
17694
17696
|
style: { width: "45%" }
|
|
17695
17697
|
})
|
|
17696
|
-
], -1)
|
|
17697
|
-
|
|
17698
|
-
],
|
|
17698
|
+
], -1), Hd = [
|
|
17699
|
+
Dd
|
|
17700
|
+
], jd = ["src"], Fd = { class: "bold center-text color-black half-top half-bottom" }, qd = ["innerHTML"], Kd = ["placeholder"], Gd = {
|
|
17699
17701
|
type: "submit",
|
|
17700
17702
|
class: "button black-button white-button button-full",
|
|
17701
17703
|
style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
|
|
17702
|
-
},
|
|
17704
|
+
}, Vd = { key: 0 }, Qd = {
|
|
17703
17705
|
key: 1,
|
|
17704
17706
|
class: "button--loading button__loader"
|
|
17705
|
-
},
|
|
17706
|
-
function
|
|
17707
|
+
}, Yd = { class: "close-text center-text half-top color-black" }, Wd = ["innerHTML"], $d = /* @__PURE__ */ _("a", { href: "mailto:support@tapni.com?subject=MFA Authentication Problem" }, " support@tapni.com", -1);
|
|
17708
|
+
function Jd(n, e, t, r, o, i) {
|
|
17707
17709
|
return N(), U("form", {
|
|
17708
17710
|
onSubmit: e[3] || (e[3] = Ge((...a) => i.submit && i.submit(...a), ["prevent"])),
|
|
17709
17711
|
class: Je(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": o.toggle }]),
|
|
@@ -17713,42 +17715,43 @@ function Xd(n, e, t, r, o, i) {
|
|
|
17713
17715
|
onClick: e[0] || (e[0] = (...a) => i.forceClose && i.forceClose(...a)),
|
|
17714
17716
|
class: "color-black pull-right pointer",
|
|
17715
17717
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
17716
|
-
},
|
|
17718
|
+
}, Hd),
|
|
17717
17719
|
_("img", {
|
|
17718
17720
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
17719
|
-
class: "
|
|
17720
|
-
|
|
17721
|
-
|
|
17721
|
+
class: "small-bottom",
|
|
17722
|
+
style: { margin: "0 auto", "margin-top": "2px", "margin-bottom": "15px", width: "40px" }
|
|
17723
|
+
}, null, 8, jd),
|
|
17724
|
+
_("h3", Fd, Q(n.ssoLang[n.appLanguage].otp_title), 1),
|
|
17722
17725
|
_("p", {
|
|
17723
17726
|
class: "half-top full-bottom padding-left padding-right",
|
|
17724
17727
|
innerHTML: n.ssoLang[n.appLanguage].otp_subtitle
|
|
17725
|
-
}, null, 8,
|
|
17728
|
+
}, null, 8, qd),
|
|
17726
17729
|
_("div", null, [
|
|
17727
17730
|
Ie(_("input", {
|
|
17728
17731
|
type: "text",
|
|
17729
17732
|
"onUpdate:modelValue": e[1] || (e[1] = (a) => o.otp = a),
|
|
17730
17733
|
placeholder: n.ssoLang[n.appLanguage].otp_code,
|
|
17731
17734
|
class: "edit-input h-40 lh-40",
|
|
17732
|
-
style: { width: "80%" },
|
|
17735
|
+
style: { width: "80%", margin: "0 auto", height: "25px" },
|
|
17733
17736
|
required: "",
|
|
17734
17737
|
onKeydown: e[2] || (e[2] = fn(Ge(() => {
|
|
17735
17738
|
}, ["prevent"]), ["space"]))
|
|
17736
|
-
}, null, 40,
|
|
17739
|
+
}, null, 40, Kd), [
|
|
17737
17740
|
[gn, o.otp]
|
|
17738
17741
|
])
|
|
17739
17742
|
]),
|
|
17740
|
-
_("button",
|
|
17741
|
-
o.loading ? (N(), U("span",
|
|
17743
|
+
_("button", Gd, [
|
|
17744
|
+
o.loading ? (N(), U("span", Qd)) : (N(), U("span", Vd, Q(n.ssoLang[n.appLanguage].continue), 1))
|
|
17742
17745
|
]),
|
|
17743
|
-
_("p",
|
|
17746
|
+
_("p", Yd, [
|
|
17744
17747
|
_("span", {
|
|
17745
17748
|
innerHTML: n.ssoLang[this.appLanguage].otp_p1
|
|
17746
|
-
}, null, 8,
|
|
17747
|
-
|
|
17749
|
+
}, null, 8, Wd),
|
|
17750
|
+
$d
|
|
17748
17751
|
])
|
|
17749
17752
|
], 34);
|
|
17750
17753
|
}
|
|
17751
|
-
const
|
|
17754
|
+
const Mi = /* @__PURE__ */ mt(Bd, [["render", Jd]]), Xd = {
|
|
17752
17755
|
name: "SSOPick",
|
|
17753
17756
|
mixins: [Lr, zr, xr, at],
|
|
17754
17757
|
data() {
|
|
@@ -17783,34 +17786,34 @@ const Ni = /* @__PURE__ */ mt(Dd, [["render", Xd], ["__scopeId", "data-v-2b6d626
|
|
|
17783
17786
|
this.azureLoad = !1, this.oktaLoad = !1, this.samlLoad = !1, this.sso = null, this.email = null, n && (this.sso = n.sso, this.email = n.email), this.toggle = !this.toggle;
|
|
17784
17787
|
}
|
|
17785
17788
|
}
|
|
17786
|
-
}, Ur = (n) => (
|
|
17789
|
+
}, Ur = (n) => (qn("data-v-4f821f65"), n = n(), Kn(), n), Zd = /* @__PURE__ */ Ur(() => /* @__PURE__ */ _("i", { class: "font-17 color-black" }, [
|
|
17787
17790
|
/* @__PURE__ */ _("img", {
|
|
17788
17791
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
17789
17792
|
class: "responsive-image",
|
|
17790
17793
|
style: { width: "45%" }
|
|
17791
17794
|
})
|
|
17792
|
-
], -1)),
|
|
17793
|
-
|
|
17794
|
-
],
|
|
17795
|
+
], -1)), ep = [
|
|
17796
|
+
Zd
|
|
17797
|
+
], tp = { class: "bold center-text color-black half-top half-bottom" }, np = /* @__PURE__ */ Ur(() => /* @__PURE__ */ _("img", {
|
|
17795
17798
|
src: "https://cdn.tapni.co/icons/azure.png",
|
|
17796
17799
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
17797
|
-
}, null, -1)),
|
|
17800
|
+
}, null, -1)), rp = { key: 0 }, op = {
|
|
17798
17801
|
key: 1,
|
|
17799
17802
|
class: "button--loading button__loader"
|
|
17800
|
-
},
|
|
17803
|
+
}, ip = /* @__PURE__ */ Ur(() => /* @__PURE__ */ _("img", {
|
|
17801
17804
|
src: "https://cdn.tapni.co/icons/okta.png",
|
|
17802
17805
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
17803
|
-
}, null, -1)),
|
|
17806
|
+
}, null, -1)), ap = { key: 0 }, sp = {
|
|
17804
17807
|
key: 1,
|
|
17805
17808
|
class: "button--loading button__loader"
|
|
17806
|
-
},
|
|
17809
|
+
}, cp = /* @__PURE__ */ Ur(() => /* @__PURE__ */ _("img", {
|
|
17807
17810
|
src: "https://cdn.tapni.co/icons/saml.png",
|
|
17808
17811
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
17809
|
-
}, null, -1)),
|
|
17812
|
+
}, null, -1)), lp = { key: 0 }, up = {
|
|
17810
17813
|
key: 1,
|
|
17811
17814
|
class: "button--loading button__loader"
|
|
17812
17815
|
};
|
|
17813
|
-
function
|
|
17816
|
+
function dp(n, e, t, r, o, i) {
|
|
17814
17817
|
var a, s, u;
|
|
17815
17818
|
return N(), U("form", {
|
|
17816
17819
|
onSubmit: e[4] || (e[4] = Ge(() => {
|
|
@@ -17822,35 +17825,35 @@ function pp(n, e, t, r, o, i) {
|
|
|
17822
17825
|
onClick: e[0] || (e[0] = (...p) => i.forceClose && i.forceClose(...p)),
|
|
17823
17826
|
class: "color-black pull-right pointer",
|
|
17824
17827
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
17825
|
-
},
|
|
17826
|
-
_("h3",
|
|
17828
|
+
}, ep),
|
|
17829
|
+
_("h3", tp, Q(n.ssoLang[n.appLanguage].select_sign_method), 1),
|
|
17827
17830
|
(a = o.sso) != null && a.azure ? (N(), U("a", {
|
|
17828
17831
|
key: 0,
|
|
17829
17832
|
onClick: e[1] || (e[1] = (p) => i.ssoLogin("azure")),
|
|
17830
17833
|
class: "button-center button black-button button-90 google-button pointer"
|
|
17831
17834
|
}, [
|
|
17832
|
-
|
|
17833
|
-
o.azureLoad ? (N(), U("span",
|
|
17835
|
+
np,
|
|
17836
|
+
o.azureLoad ? (N(), U("span", op)) : (N(), U("span", rp, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Azure", 1))
|
|
17834
17837
|
])) : fe("", !0),
|
|
17835
17838
|
(s = o.sso) != null && s.okta ? (N(), U("a", {
|
|
17836
17839
|
key: 1,
|
|
17837
17840
|
onClick: e[2] || (e[2] = (p) => i.ssoLogin("okta")),
|
|
17838
17841
|
class: "button-center button black-button button-90 google-button pointer"
|
|
17839
17842
|
}, [
|
|
17840
|
-
|
|
17841
|
-
o.oktaLoad ? (N(), U("span",
|
|
17843
|
+
ip,
|
|
17844
|
+
o.oktaLoad ? (N(), U("span", sp)) : (N(), U("span", ap, Q(n.ssoLang[n.appLanguage].sign_in_with) + " Okta", 1))
|
|
17842
17845
|
])) : fe("", !0),
|
|
17843
17846
|
(u = o.sso) != null && u.saml ? (N(), U("a", {
|
|
17844
17847
|
key: 2,
|
|
17845
17848
|
onClick: e[3] || (e[3] = (p) => i.ssoLogin("saml")),
|
|
17846
17849
|
class: "button-center button black-button button-90 google-button pointer"
|
|
17847
17850
|
}, [
|
|
17848
|
-
|
|
17849
|
-
o.samlLoad ? (N(), U("span",
|
|
17851
|
+
cp,
|
|
17852
|
+
o.samlLoad ? (N(), U("span", up)) : (N(), U("span", lp, Q(n.ssoLang[n.appLanguage].sign_in_with) + " SAML", 1))
|
|
17850
17853
|
])) : fe("", !0)
|
|
17851
17854
|
], 34);
|
|
17852
17855
|
}
|
|
17853
|
-
const
|
|
17856
|
+
const Ni = /* @__PURE__ */ mt(Xd, [["render", dp], ["__scopeId", "data-v-4f821f65"]]), pp = {
|
|
17854
17857
|
name: "LinkIcon",
|
|
17855
17858
|
mixins: [at],
|
|
17856
17859
|
props: {
|
|
@@ -17922,12 +17925,12 @@ const Oi = /* @__PURE__ */ mt(Zd, [["render", pp], ["__scopeId", "data-v-4f821f6
|
|
|
17922
17925
|
}
|
|
17923
17926
|
},
|
|
17924
17927
|
methods: {}
|
|
17925
|
-
},
|
|
17926
|
-
function
|
|
17928
|
+
}, hp = ["src", "alt"], fp = ["src", "alt"], gp = ["src", "alt"], mp = ["src", "alt"];
|
|
17929
|
+
function _p(n, e, t, r, o, i) {
|
|
17927
17930
|
var a, s;
|
|
17928
17931
|
return N(), U("a", {
|
|
17929
17932
|
class: Je(["disable-select", t.linkStyle + (t.disabled ? " opacity-50" : "")]),
|
|
17930
|
-
style:
|
|
17933
|
+
style: xn(
|
|
17931
17934
|
(t.editing ? "cursor: move" : "cursor: pointer") + "!important; overflow: visible;"
|
|
17932
17935
|
)
|
|
17933
17936
|
}, [
|
|
@@ -17937,7 +17940,7 @@ function vp(n, e, t, r, o, i) {
|
|
|
17937
17940
|
"pulse pulse-border": t.pulse,
|
|
17938
17941
|
"link-drag": t.editing
|
|
17939
17942
|
}),
|
|
17940
|
-
style:
|
|
17943
|
+
style: xn({ ...(a = t.customLinkStyle) == null ? void 0 : a.linkIcon })
|
|
17941
17944
|
}, [
|
|
17942
17945
|
!t.data.custom_icon && t.data.type !== "customlink" ? (N(), U("img", {
|
|
17943
17946
|
key: 0,
|
|
@@ -17946,21 +17949,21 @@ function vp(n, e, t, r, o, i) {
|
|
|
17946
17949
|
alt: t.data.text,
|
|
17947
17950
|
onLoad: e[0] || (e[0] = (u) => n.$emit("loaded")),
|
|
17948
17951
|
onError: e[1] || (e[1] = (u) => n.$emit("loaded"))
|
|
17949
|
-
}, null, 40,
|
|
17952
|
+
}, null, 40, hp)) : !t.data.custom_icon && t.data.type === "customlink" && t.linkAdding ? (N(), U("img", {
|
|
17950
17953
|
key: 1,
|
|
17951
17954
|
src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
|
|
17952
17955
|
class: "responsive-image",
|
|
17953
17956
|
alt: t.data.text,
|
|
17954
17957
|
onLoad: e[2] || (e[2] = (u) => n.$emit("loaded")),
|
|
17955
17958
|
onError: e[3] || (e[3] = (u) => n.$emit("loaded"))
|
|
17956
|
-
}, null, 40,
|
|
17959
|
+
}, null, 40, fp)) : !t.data.custom_icon && t.data.type === "customlink" && !t.linkAdding ? (N(), U("img", {
|
|
17957
17960
|
key: 2,
|
|
17958
17961
|
src: "https://cdn.tapni.co/icons/customlink.png",
|
|
17959
17962
|
class: "responsive-image",
|
|
17960
17963
|
alt: t.data.text,
|
|
17961
17964
|
onLoad: e[4] || (e[4] = (u) => n.$emit("loaded")),
|
|
17962
17965
|
onError: e[5] || (e[5] = (u) => n.$emit("loaded"))
|
|
17963
|
-
}, null, 40,
|
|
17966
|
+
}, null, 40, gp)) : (N(), U("img", {
|
|
17964
17967
|
key: 3,
|
|
17965
17968
|
src: t.data.style.custom_icon,
|
|
17966
17969
|
style: { "border-radius": "22.46%" },
|
|
@@ -17968,25 +17971,25 @@ function vp(n, e, t, r, o, i) {
|
|
|
17968
17971
|
alt: t.data.text,
|
|
17969
17972
|
onLoad: e[6] || (e[6] = (u) => n.$emit("loaded")),
|
|
17970
17973
|
onError: e[7] || (e[7] = (u) => n.$emit("loaded"))
|
|
17971
|
-
}, null, 40,
|
|
17974
|
+
}, null, 40, mp))
|
|
17972
17975
|
], 6),
|
|
17973
17976
|
_("span", {
|
|
17974
17977
|
class: "link-text link-drag color-black",
|
|
17975
|
-
style:
|
|
17978
|
+
style: xn({ color: (s = t.customLinkStyle) == null ? void 0 : s.color })
|
|
17976
17979
|
}, Q(i.linkText), 5)
|
|
17977
17980
|
], 6);
|
|
17978
17981
|
}
|
|
17979
|
-
const
|
|
17982
|
+
const vp = /* @__PURE__ */ mt(pp, [["render", _p]]), yp = {
|
|
17980
17983
|
ANDROID_VERSION: "5.6",
|
|
17981
17984
|
IOS_VERSION: "5.6",
|
|
17982
17985
|
WEB_VERSION: "5.6.0",
|
|
17983
17986
|
SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
|
|
17984
17987
|
METAPIXEL_ID: "1203678696914368",
|
|
17985
17988
|
GOOGLE_ANALYTICS_ID: ""
|
|
17986
|
-
},
|
|
17989
|
+
}, wp = {
|
|
17987
17990
|
name: "Language",
|
|
17988
17991
|
mixins: [at],
|
|
17989
|
-
components: { LinkIcon:
|
|
17992
|
+
components: { LinkIcon: vp },
|
|
17990
17993
|
data() {
|
|
17991
17994
|
return {
|
|
17992
17995
|
toggle: !1
|
|
@@ -17996,8 +17999,8 @@ const yp = /* @__PURE__ */ mt(hp, [["render", vp]]), wp = {
|
|
|
17996
17999
|
q.$on("toggleSSOLanguageModal", this.toggleModal), q.$on("closeModal", () => {
|
|
17997
18000
|
this.toggle = !1;
|
|
17998
18001
|
});
|
|
17999
|
-
let n = this.isNative ? await vr.getLanguageCode() :
|
|
18000
|
-
n &&
|
|
18002
|
+
let n = this.isNative ? await vr.getLanguageCode() : Dn.getFirstBrowserLanguage();
|
|
18003
|
+
n && yp.SUPPORTED_LANGUAGES.includes(n) && this.updateLanguage(n);
|
|
18001
18004
|
},
|
|
18002
18005
|
beforeDestroy() {
|
|
18003
18006
|
q._events.toggleSSOLanguageModal.pop();
|
|
@@ -18016,17 +18019,17 @@ const yp = /* @__PURE__ */ mt(hp, [["render", vp]]), wp = {
|
|
|
18016
18019
|
this.toggle = !this.toggle;
|
|
18017
18020
|
}
|
|
18018
18021
|
}
|
|
18019
|
-
},
|
|
18022
|
+
}, bp = (n) => (qn("data-v-a49a90e5"), n = n(), Kn(), n), kp = /* @__PURE__ */ bp(() => /* @__PURE__ */ _("i", { class: "font-17 fa color-black" }, [
|
|
18020
18023
|
/* @__PURE__ */ _("img", {
|
|
18021
18024
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
18022
18025
|
class: "fa responsive-image",
|
|
18023
18026
|
style: { width: "45%" }
|
|
18024
18027
|
})
|
|
18025
|
-
], -1)),
|
|
18026
|
-
|
|
18027
|
-
],
|
|
18028
|
-
function
|
|
18029
|
-
const a =
|
|
18028
|
+
], -1)), Cp = [
|
|
18029
|
+
kp
|
|
18030
|
+
], Ep = { class: "bold center-text color-black small-bottom" };
|
|
18031
|
+
function Tp(n, e, t, r, o, i) {
|
|
18032
|
+
const a = Fn("LinkIcon");
|
|
18030
18033
|
return N(), U("div", {
|
|
18031
18034
|
class: Je(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": o.toggle }]),
|
|
18032
18035
|
style: { height: "auto", "max-height": "92vh", "margin-top": "-172.5px" }
|
|
@@ -18035,8 +18038,8 @@ function Sp(n, e, t, r, o, i) {
|
|
|
18035
18038
|
onClick: e[0] || (e[0] = (...s) => i.close && i.close(...s)),
|
|
18036
18039
|
class: "color-black pull-right pointer",
|
|
18037
18040
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
18038
|
-
},
|
|
18039
|
-
_("h3",
|
|
18041
|
+
}, Cp),
|
|
18042
|
+
_("h3", Ep, Q(n.ssoLang[n.appLanguage].app_language), 1),
|
|
18040
18043
|
De(a, {
|
|
18041
18044
|
onClick: e[1] || (e[1] = (s) => i.updateLanguage("en")),
|
|
18042
18045
|
"link-style": "link-grid",
|
|
@@ -18095,7 +18098,7 @@ function Sp(n, e, t, r, o, i) {
|
|
|
18095
18098
|
}, null, 8, ["data"])
|
|
18096
18099
|
], 2);
|
|
18097
18100
|
}
|
|
18098
|
-
const
|
|
18101
|
+
const Oi = /* @__PURE__ */ mt(wp, [["render", Tp], ["__scopeId", "data-v-a49a90e5"]]), un = ar("Preferences", {
|
|
18099
18102
|
web: () => import("./web-AImUTDQQ.js").then((n) => new n.PreferencesWeb())
|
|
18100
18103
|
}), At = {
|
|
18101
18104
|
async setObject(n, e) {
|
|
@@ -18201,7 +18204,7 @@ const Li = /* @__PURE__ */ mt(bp, [["render", Sp], ["__scopeId", "data-v-a49a90e
|
|
|
18201
18204
|
let t = JSON.parse(n);
|
|
18202
18205
|
return t !== void 0 ? t : e;
|
|
18203
18206
|
}
|
|
18204
|
-
},
|
|
18207
|
+
}, Sp = {
|
|
18205
18208
|
name: "ReactiveStorage",
|
|
18206
18209
|
data() {
|
|
18207
18210
|
return {
|
|
@@ -18213,45 +18216,45 @@ const Li = /* @__PURE__ */ mt(bp, [["render", Sp], ["__scopeId", "data-v-a49a90e
|
|
|
18213
18216
|
this.strgReady = Qr({ value: !1 }), await Vr._initialize(this.options);
|
|
18214
18217
|
let n = await Vr.getRaw();
|
|
18215
18218
|
const e = Qr(n);
|
|
18216
|
-
this.strg = e, this.strgReady.value = !0,
|
|
18219
|
+
this.strg = e, this.strgReady.value = !0, Ui(e, async () => {
|
|
18217
18220
|
await Vr.setRaw(e);
|
|
18218
18221
|
}, { deep: !0 });
|
|
18219
18222
|
}
|
|
18220
18223
|
};
|
|
18221
|
-
var
|
|
18222
|
-
const
|
|
18224
|
+
var Ip = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
18225
|
+
const Ap = { id: "ssoapp" }, Rp = {
|
|
18223
18226
|
key: 0,
|
|
18224
18227
|
href: "/",
|
|
18225
18228
|
class: "header-logo"
|
|
18226
|
-
},
|
|
18229
|
+
}, Pp = /* @__PURE__ */ _("img", {
|
|
18227
18230
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlYUqM1TGq5yp0r+pH1pTUyO1tbVRSkuOiWZRpbKRynYqg1R2VtlSZf1VfocQQkiyYN49xjZQG9bz82oV6LaeJjuqnKLyqMplKo/ntWGo0JuuwLurbK8ypI4C78imIYQQL2DDdIntyluU+bftbQEAuU/lpyrTqNCLQQtb2UGBD7ZdeH8bFIQQQvyCjdSfVHok8FnDbV4/TuUOKvT8gXborbKDDZwdTYG3YdMQQkimHKpyo8paCX5mJ5Xbxdk+/YYKPW4wMPrWUeA72f9b890hhJBgOEyc0VtaNkmXijOiu5wKPT5gyHahKfA+whMKQggJlQGmaNM2MP6tymyVu2JvsOqCDZDNVEao9KMyJ4SQYGljynxdD8+CzdQV4q5dqdAjYgXfE0IICZ4fiztJ9UVXcae3VOgNsIvKgRyXhBBCyqCzyo8yeO7BKgOp0Fdna5U/q9wmzvWLEEIIaQr7q2ySwXNxV38EFfrKwOXrQXERfNqq/FWcBTkhhBCyJg7PeDHRiQrdgWP2+8VZk5dAhLUbxY9xAyGEkHhBNLitMnx+N3EnzIVX6FDm94q7/6jvZ7dL8YzwCCGENJ0tZOWcGFmVodAKvaTMuzTyO3upXMnxSgghpAE2D6AMW8XaeEko9EFNUOYljlU5iWOWEEJIPfQMoAxdYm28ShU6lPmYMhsAofa+y3FLCCFkFUII+FVbRIVezs58Va5S2Z1jlxBCSB1CCP5VFWvjNVeh72zKfL1m/j3SkN6ksinHLyGEEGNWAGWYWSSFDmU+pgJlXqKHfU53jmFCCCHK1ADK8HpRFHpSyrwE3AP+IC4ADSGEkGLzssq8jMvwXBEU+rZS2TF7Q+wtOclFSwghpCLezlihTlF5Me8KHcfjiACXlsP/USrnciwTQkjhyTIv+X0qi/Ou0D9UeTTlspwh2cbwJYQQEoZCfzuD5y4SF6Y8WqrLqOgRKr9QWZZief6osg/HMyGEFBZsIK/I4Lk3qEwqgkIH8A+8WOUga/A0QFCBUSrbcUwTQkhhgUJ/wePzZqiMjL3RmuO2Biv3/VTeSKlMyNT2J8k+QD8hhJBswKnwCSpLPDxrubiw5LOLqNDBs+IixT2dUrn6q9wtLgBNklTxPSGEkCh4SuXElJ/xmTjbrYfy0GCVhH7FamY3lVtSKttglcuohAkhpLBcq3JaSp+9VOVQcam9c0GlyVmwukGildNTKt+RKr/mmCaEkMJyoemCJG23PlD5lspf8tRQSeVDv0Dlh5KO/x7SrZ7AMU0IIYUFFujIU36nVJ4NDTFVcGX817w1UnWCn3W1ytdU3kqhnL8RF1GOEEJIMUHilkNUdhFnOF1OiFgcrz9semS4yrQ8NlDSuWdhxIC779ut0ZMs52hbMEyo4HN4H08IIXHzjEk3lYNVhqr0VdlApZ1Ka3HXwa+qvKbyT5UH7d+5Jo1k8ojwM0zlOpXvJPi5HVVuVtlXZTrHNCGEFBqkOf2tSSvTEWuL847C9e+bkm4gtOCoTulzPxXnCnB2wp/bz5R6O45lQgghBnbkH4kLEINob68XTZmnqdBLnGOK/dMEPxNH+TjSb80xTAghhPhR6OBWlT3FHY8kxf4qF7H7CCGEEH8KHYxTGSKVGbStyk8k/ShChBBCCBX6KiD2+1dVbkvwMy9R2baM36eVOyGEECr0BFigcpgkZywHV7ZX2I2EZAoXyoQEQMuMngtjOVgkXirO3aA5XK9yjLi0riR84FKCDHobq3Q3aaGymThXk1X7cbl9D+4n82284N9TVeaKyyXwnrjgErVs3tRY1/poW+vDLiqbqKyjsp7KWnX662OTd8QFAUG//btOn5H0N2jwxe4jLsHVFuJ8tfEetbW+amHz/jJ7d9AvM+zf8Nt+w/pvAZuTCr0cLleZLM5ifb0y/xZR6X4YeNsWeaHRSWV7lU1VvmITS2+VzpKcyyE8Jz4RF5kQASNetgnpFfvKhV7zFTj6DkGcdlDZUqVrhZ+JhddL4tyJkKnxMXGxtEnlYO5EOushtujqa4ut5rLU+utFcbZPY8XlJV/KpqZCXxOPioupe6+tKJsCEt/HENv9Gyo9m3EC0cJWyz+z3U4sYNcGG4l9bHLZMOXntTXBcwauMiFBcTwhLiXis6b4SeNjbjdxySoOtJOUJMGucZiJ2GkL+geJMR5RmcMuKAu47O6hcoQtvDon+NnYxfcwGW7fm6IyRly41ZcyqnPpdGGFnS4s5zBYnVDuvrCju9VWmo2BdKqVWLbvZhNJDAyzBU/IYMGyry1esDBrH2AZZ1uf/03l71Je/OckQbaoH0k6R5lo9+tMyqHa+u5UlQEZtQsyaI0yeTWQMYN5ZidJNn5Gab7FAv+nKuObeXpSo/JjcadevllmO3bk1njA0zPPN73Q2tpumS3acf22RCo/icNC4U1bHH2eXKympkZGjx7N1UGFoLOQKrW2AbksgWfs3sjnhybnBNxXOIr9gymn2ogE0aPOEnev6JvzUq7b5WWWBycpEwPqG0ym8IDZMoDxPS7luh5WZnla2oLw9YD66/E6Jy5p8oSHukChdyg9EAq9trY2SqkOSEkgdN/J4tKlrnpfc6WtSovErgGWaZCtzHGMfXSgO/LGwJ3+2eJsN7B43Njjs9O+02/qu4xd3jV2WjEgoL7BDuxQlX+p3CLuLjgr0u6rcq46dzDlOcrGbyhgc4QrLZys9oi4L0rPyIVhbXWAZUKg/REqC+3/WLUXMR/6NhntJOsDx4/32c5lb4nfTQnW2rBRgAHdSHFW9rHTlIkPu3IYOB0TcB/iCBRJnZ4TFw2yUw7f7abc/6J/TlF5UpxNSohU2WkDAobtJ4QKvQHuUNlLXOCY70sx3ZJKluJZsontDMbZC5s3f2NYA58uzqL3/3Ks0PGen2q78p4R9c0vxKXJ/GrOxt2aFl8w9LxH5VcSR84KlHeMvUuECr1enrIV6qIC98/uGa68kVQHx5+4u2uR83bupXKXOLuAdXJWN/Qd3DwvjHRBtrk4S/iL5Quf9zyDBReMYQ+IUJfgtAvXJS2FUKF7UlQxsUsGz1zPlNvNUn58gNiBXQCMcLbKSX1wtQCbhx/k4L39uTj/9b45Hn872vjbIuI64LrkpoIsvoJU6AjQcojKUHFHvIgyhGhQHQqwMwsdvNg+DWEwBuBOc1CB23w7lQclTKPEct9t7JaG5ahvBotzmxqaw3GHoDBwreydg7p82zYExDM4Grlyle/B93KBfYWPKIKbIIQjwgF+Yt8rhXXEzz6QL6J24e8YoSs5EFUNBmnTPTwLR+vXCo/LAKzfcewJq+s/R1oHWLIfkMO+6WY7dewE78xJnWCrAuPf9XPUTwhShLgCZ3I68avQV8jKR++lCFylgbYm4G62xJT7PFPqs03B43vvrrIQKC0U5tnf4f+Mxd0wu0qyGerqA8Y3p7CpV3s3brHxfW9kZYdXyPcL0DeIQHdZ5HWB6yci5vXPYT+dIS6W/92cTvy9GJXSyqRDGX8DpQ+3NBi8zTHlDqU/077OtUHwBrvo83v0VqZY0phMcEIzgs1cL21McSC85oTAy1paFCMM7kUF6Bu8E78Xd4oVc32RoGpAjvsJbsjjbWNHIlDozaFDnQVAQ3dGUOqjEn5ujFa+/cRlu5qUQt/DeOUgvgaNAsMyHLvj/vatgMsJ1yFYhP9OkkuAEwMX2qbg+ojKXLqWxF3zMTnvn01swfVdTiXpE7KVe1Ukn+lj0bVzwp+JK5XbqMybTA9bXIZsX4A7y8kpjJUYuEqcvUMswEYDBq8jC9I/cIHdm9NIsRV6GmWL9a4+aX90JFeo4fAvCxy7n8pmCJJWtuDaKZLyImAWghn1LlAfnSt0ZaNCJ58D/9SkjlFhAHcsm7RZ/L9kH72P1A9OnZAiq0cEZcXcVjSXYMSkP4zDtLhKkz7wX4DYAEkEm4BrGq3Zmw8WVSPZDMECZX4tNwPBciz7hgqdOAZX+PedqMwTAXeBX2czBAsS0DCmeJgMFN6lU6EnSMzJRSqNXAavgT0kbJ9QWP8ujaAvTpb8JarJE1Dou7AZgt2lk5QI2WqXCn1lBtgue24FnwFfUBjDIbb3OSpdM6gH/OmnirPIRgQ8pMn80BT5fPt5T6trF/vaz1b3XwpkEYrQo8PFheok4YEMZb+2fvqMzREUMC6Fe+UUNgUVepFByEvkSP9HArtghAVFvHLcN+7poexLrdyIiDXWFHljE+3ker4HC9kvi0urCzeYrBNYHE2FHjSweD/RFDsJh7b2DlOhp0DIR+6MKb46QxL8rBni7hsRJnReSuXF595su+s9bQExtZm7JiwKEEYSVvqwmIXf9VMZ9gXuArcuyLhDCGcE1XlbXDTHOZHsfGEz0rMgfYT+wAncG7ZgRl99GmhZDxBSOKW5EbtnNXaTZK2ssVu/QuUh27XvkeDkcofKaeKS+iQNJiq4KN0jLgLVeRmMl7VsQfRSzsYYwjE/o/JP20Uh/8I0W5xVmSAk7rri0utiUYN0s5vZrrhDQHVBspOfqPw0Z32E9/YFlcfFhSRG/yy2vlpifYTN2sa2oMG7gSu70nF31hs5BD/C9dlrnNKTZ7m4gCuhSRqhHIcFWtemCnZGG6Q0DnDFcbp8kSynuTLBdtA+6S4uO5rv/ijnhOCcgMcVFMQj4jKY9aqwH5COeWJAdcPJTrmxA/4ZaD9hsXWrLZyqmvmOw1jwFlP8WdalqaFgH/NQFpxqtC89sKamRmpra6OUUI7csaNDspb3VV6xY9lJKTwndstkGIl9JcWF3fn2wj/bzM9AIoYhNqH7BKcA+9lpg0+wcNky8jF1jymIYaYsZlTYDwjDikBIuGIZG0D9EEXupBxsvGCvMdAWXeOleVEvl9si9HDro8cyrM+uQhInrSP3ZSofmaKGVfa7Nphwr/OBrQ5xJ1eybsb359vucK79PWn4lOGBFD//eXHWwWeJC3XalEUfMuTBcn50hu2CMXWCjTlfR6xQFrupvBzhOJpo7ZSGHUJpxw/5psrF4oIjZcWB4jwlpkbYT4tsQXJtwp/7b5tLzrB33ffmDguKtSQON9WoFHpju9Zamyjxgn5syhYT5izbTeNn0+37C01Jf2r/fs86a7EU03UE90OP2qRfLV/cP1Y38v8Wdb7fos7X9e0r7i7X9lB29BuO3x9WuVoaz9WMRdmhNnmHwEnW5sd7et7gDE4GKgHvIuwwfmXvb9rcbTvBi23RlwWI8HesxHeXPltcEKPnUvp8zO/n2jvsewxvKs5zhymyE1boj9iLvcB21XNsJTvPds3v2I659P/lbLYm8aS4+8Sk8bmShqvZQHvpf1LP4g+LOfhjTw6s7XGyACMgH8k6to5opwELddxdPu75uTjBQZrQZ2yB2CaDumPReaFtRGIAV441nt6tK8UZOZ7nsX5wX+tNhU4qYU/xZ/Txx5y13V42GZbqh1X9tgGXd5DtRtPuZyyGN2tCebI2ipslYbjZ7WEbhyzaoKlRyrI2ipuZ0bv1N8/1PLEJZaJRXIRGcb7waRS3ImdtB9c2WAvfbrvREeLu4ULlaXE+8GmD3Xn/wPsOR7ffkDBc7HA6cJC4E0HfjJDwDWPRLgdk9G4hpPE8j8/rIyRRqNCp0MsBxotH2I70vgjKe5WnfugXcBvMstOV8QGV6QlxR/C+wfXRdoGPWdzzP5fRs3HVeoPH521OFUyFHgsrclov7M7fjKSs/1IZ5+E5vQIeg9+XMIPf3Cbp2Jisab7bN+DxCi+R6zMuwyjxZ8S8thAqdCp0UgY+fG03DrTuF6j8PeC+gYHcTZ6feWCg8x6O2s8LoBz/EXdd5QPkr1+HUxQVegzUsgmCwMdRc/cA6w0/8/Mj6B/EW/dp6YwEPyHe3V4m4cQzeMjTc5AVby1OUVTo3KHHCfzD4ROMeN+d68h6tlLHEVxHcRanrRJ6pg83JcTK7hRYWyOOwOIIxgT65yKPz4O71M6BtQE8Rq4JqDy+duitpY51OamcomU0o1GcnwkTCSH6ijOe6ylf5Dfvaj9vUWdlXgqkU3IxA4h1gAhZcN+BId4McYGNcHeP0MAIYNTUoCiw8P7IFg5p1rl1QH0A96NHIhozcPFEONLBnp6HsKM3B1T/v9g4DwUExZrrYZGKhf36Ulm4YVJghc4devIgSMg2NkliQkbmrW4J7bDrs4JdbIoed30weEPoUgThmN/AZyy0xUGaCr1KwnKHuiSyMYTAVQj64uu+f3ub+0IIMY1F7KjA+uM9e8d8nDq1o6qgQo+BPN+hQ1nj2PJgcS5RfT0vIPqYHGjfw+QDlxu4Q40Rdxe5ok4/pN0XLQJ6l2AE+GSEY+pBcUe9gzw8C6k7uweyM4QnxsTA+gInZMi/sYWnuYRQoXOHngE4HjtM5UjbiYdCNxNEIUOiCQTlQAzxu2xiSrsv6l4hZM2oiN+XUZ4UOnaFGwei0O8PdPE/m/MkFTrJ50DF5IdMZkeLM2ALfUwPMDnTdqs+XGNCmJQxCT8c8TiDcpvjaYz1EX/GX40xNtC+mO/xNIBQoQdPHo7cce/8M3EBQDpFWH4czw8r0JiDPcGHEZcfCxIkBDrIw7NCiGsPC/9JgfbFB9z4xEc160uF3gDIY427vdMiVeZFZGwO6uAr7On6AdR1soSb/W0+XycqOBK/QsfxNHIjw5VmU3ZjVExgHZpMCPH3pwXcD0v5OsUHj9xJXRBF61YJP4EFWR0ctechtzR2rT58oFsEUNeXAu4H3m1zh04iBj7kT1KZR8sM8XfvmSY4gn7Hw3MQlTDrYEAvc9gSKnSSNIeIiy7WmU0RLYtzUg/sDH0Y9pXCDWcFIiPO5LAlScLQr+RrKjdKWKFLSfm8laO6+DAUQ7jeLOOIfyxxeyQQ7tBJYOCY/U4q81wwO0d1WeThGQgE1CHDOs4TWpITKnSSEAh9eYPwmD0v5MmI6TMPz4BRXKuM+4s+2IQKPRJCP96/VvzGYCekqdR6ekaWrqWLhZbkhAo9GkI2UvqFyr7sIr7LBWaFp5OAxnbotewGwkkgDj4KtFzwNT+V3ZM78mQH4UPRQZl/ymFDqNDjxecxeKg7dIZyzSeb5KgubT08A5HQFmVYR3rckMSh21p6hGjwsr24HOYhsFDlNXFRwWaICyYyy75fZe3XRZzxHthMZUOVXirrShiRvkJiwxzVZTNPC+4lGW+mMM557E6o0CMgRIOXn0u2lr0IpDFG5TFxSTjeKbOdqk2ZYze6o7jc2QPFGfcVXcH3FpdwJPZocR08LU6wePw4AIVOCBV6BIS2Q8eu5+sZPXuKyqUqo8X531bSph+avKByjTh/4i1VhqvUiLMRKKJtCCKf9cmBQu+p0s3Dc97PeHfcggqdpLFKJMXYoX9HpZ3nZ+JI8wxx8eGvr1CZNwTuQp9XOdees4s4l7wiRuHqlYM6DPC00cg6sh536IQKnTv0ZvfzcM/PhJX/PiojxZ+B4DKV8SrH2q79FJVJBRpzQ3JQh109PSfryHrcoRMq9AopqlHc5qbgfDHNdspPZFhnTNiXiItVP6cg4xt1bRtx+Tuq7O7pWa8GMBdRoRMq9EgI6ch9J/FnDAerdRzvTwmk7rhjL0qsethJ7Bxx+YeKv2uDEBQ6IVTokRCSO8ogj886UeXZgOoOn/sOBRp334247CM8PQeGg9M5RREq9LjxGRlqWUD13srTcx5WuTmwPu9VsN3QN8S5sMVGP/Fn5/GmxO8NQEjhFbrP6G3tAqkz7iU39vSs8wPs8+0KNsbXVjkhwnLjZMfX/f+rQggVevS863GXPjiQOiMIi49AHfALHxdgn+9awPf6eJVtIyovggQd4/F5j3HqJ1To8YPIUPM9PWsvCePuFjs2H369T0l4wXS+ZMqiaMAA8qyIynumx7kI8dv/wamfUKHHD4KNvOPpWZtKdpHZ6uIrEcsrAfY37mTbFfTdPlDl2xGU88fiN5Xvv1Re59RPqNDzwZsen4VdUpeM6+vrlGBGYP0MQ7iagr/fvxM/iU6aC05PRnp+5gOc9gkVen7w6R8Ny93fZlxfXz7YoYW6xZXHzgV/v5GsBV4HHQMsG+w6rvdcNlwJPchpn1Ch54f/eH7e4Sp/kuyOfn3lfO4SUB9jd34KX+//7YIR275VQGXqoXK/+I1eCHDc/gKHBKFCzw9TxX/QF9xlPqOyv7jIZT7xlYTiywH1MYKr7M7X+38cqnJHIEodXheIV5CFO+HfOBRInili+lTs0GHAtYXn526tcq89/z6VCeL84hfZ1yUmnzVjUYbPmNnAz5faAibt4CqhuIf1UrmAr/ZqfNPG3/dU3suoDPA6uEtcbgHfIFnQzRwGhAo9X0BhPp6BQi+xldQfuQ1KF9HlynX9wh35ayrbS/0ueQvE+d6nfeQPv2dY9k/PeDxfJ/4C6cQGst+NVTlC/IfnPVjlapXOGdUdi5k3OQRInilqLPcQLV2xg25lCrocKe18tmngc5F17H0P5Ydx0/EZt+EolWF8rRtlc1Pqp4kfg8mNVG5SuTNDZb7MFhOEUKHnkKfF392yL4Y28P1FHncmR4l/Q6fSzvzXEndiEp+0ERemF7niD5F0TuoQ0Ogke0bW/YI7+4nsdkKFnk8+sZc8TzRmBObLVW9t241t6LHeMDKEF8HP+DqXTR+V21X+LS6Weo8EPrO/ynmmyC9VWTeAev6OXU2o0PPN3Tmrz1fEHW/Wx9Oey4HFUncPz4IdxJPi7mdJZe0IpTdZ5SHbWSMXwQbSuGV8tS3e9lA5Q+UJcW5hv/TU/00BRniPsItJEWhZ4LrjHn2chJNEpVJwPwnDtFn1/AwW9UvFn8vcVqbUj05pMYF6/EjlHAkzaEqstFfZ0wTMFXc1VbKKn2a/002c8WYX2+WvE2h94DVyEbuVUKEXg8tzpNDFFHp9Bn/TbTL26Sve33Zs14g7gp2TwGdCccCnGsfDm/P1TZ1OsnIugNgMDq9SeZ7dSIpCdcHr/2dxAV/ywg4NfB+78zszKA920ki+8aLKxeJC4TZnjMKH/1fi4gdcTWVOmsB0GzOEcIdeEHBsCOvov+SkPgNtRzW3np/B+AnhUNtnUC74hf/clDusjceKy3j1qji3uo+sL7ADx9VBX/sbHN3vZAq8FV9XUgYnS3YBdAihQs8IGMfhmHqfHNQFd5sIqflEPT9D8BmEvjwkw/LB73mwrHzNgaA3n5hCR2Y43IlXcViSCviDyj1sBlI0qtkEn4Od67yc1GVIIz+7LsDythVnKY0d+dpU5qRCcC1zKpuBUKEXl5fFGW7lgaGN/Aw797vZ3SSnIMzxCHFXOIRQoRcYBMH4aw7qgSP3jRr5+VniksEQkjcQqfA5NgOhQidIjgLf5pcirweMygY18nOcRlzI7iY5AwvV0WwGQoVOSrwrLhNV7Ed2u63h57Dsf5bdTXLC71XOZTMQKnSyKghduZ/KBxHXYZs1/BwJW34o7s4xz7zOhUvuuUWcUSshVOhsgnoZb0r9/UjLD7/t9dfwO4ighdCsK3LahwiBi4Q1R3I455Y/isvktpRNQQgVemNMNKU+JcKyQ5lv14TfQ/S4M3PYdwis8y2Vt8VPzu9QwIkLwhkjQtobOa8rjtiP4jRFCBV6U4HF7NfERTaLjV2b+HvIi31GjvoMMeOHi8vCVjQ+VjldnB/2UZLPKxUkXEGq3LM4PRFChV4uM8UlpThb5bOIyr1LGb87UvLhhw+7h6+rPFXg97n0TiPmQI3ky0XxQ3Gpcn/DaYkQKvTmskxcqk64g8WSvQkJTTYq4/dx9H5kxAoAyhxXJOM5XP/HgyoHmSKMHeQ0R/KhMexWQqjQk+A52/keJy6pSMisKy6dajncIO6o/pXI+gX2DkPtK1mZ+61PX4u0/PDIOE1lb8m/XQAhVOiewQ72GtsBny3uSD5UhjTjbybYouWGSPrjJpWvSpzGi76YJC5r3Z2RlRvXBkjkg0BIK9iNhFChpwWOeHEM/2WV76k8LS7aXOwKHcBKHMfvOMKeHGj7I0MbDL+OUJnP4bhGECwJmfYOl/DdMaeKuyvfU1xcCEIIFboXkKXtRlOeO9puAkfWywIoG/KJd6/g73FcixzrJ0hYuaVxj7q9OD/kNeEre1ssWeJuFXcXjbZbEljZZqicqDJA5a4M36EqT88IecyE8t6wL8qA+dCTA0eCE03OVukn7u5ykE1Q8A3v5LlM64iz0K/k+ByuT1eIO6492XZ4G2XUxtPF+ViXkwYWngmz7IVdkdI7ND+QBVxTectON9COv1TZN8PFPU61cM1zlbjkSCGkMcbpG06pFqX0+a1tgVwb8BhZaOM6rdOvKnt31rSohBvqJ1aeNFjL+iIXVzrMPe0HDJouKj3ERXHr4GkAYeJ4UZL1o8ciAQZKh9qCxcci5XlbVIxuxovdQqW9hzIuWEOf4nom7SA+sOfYwibAcoA9yA9U9rcx6mtxdp/K7abQQ5pQ25uySVPhrpCw4wRgzmrrYdGB93l5AH2xsPSMmpoaGT06zjw/3KH7YantEmfZ5BUzn9huHbKBKfU97SSij00ElfKpLURgl/CQymNreOkbY3kgu76QQYbB48UFpIG3wD72tZ8kF2kPfYBMf+NUHhAXY//TgHennLPCCKnLvqBCJ554z3bNkFYqvVS2FHd3/yWV3uLSuXa2lXaLOn9baxMGfKRxvAmXpCm2G4e8LbRs9g12jPebYG7oaTv+baw/N1FZz3ZuPev0JxZNuNrA8ekc+4qxMU3cvTiuoSbZgraWzUwIFToJG0zor5ncU+f7mPRxLN+uAYU+N+CdWpGBTcDrJqVgLiXjoTbiTmM62u8tMoFL58em0GupvAmhQif5Yrntwj9kU0RPSUlDef+HzUFIWNBtjRBCCKFCJ4QQQggVOiGEEEKo0AkhhBBChU4IIYRQoRNCCCGECp0QQgghCdKyU6dObAWSGgsWLJBly5axIUgqtGvXTlq3bi21tYxhQypn/vz50r59+2jL33Lq1KnsRZI4VVVV0rJlS9l7771lwoQJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",
|
|
18228
18231
|
onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
|
|
18229
18232
|
class: "header-logo-img"
|
|
18230
|
-
}, null, -1),
|
|
18231
|
-
|
|
18232
|
-
],
|
|
18233
|
+
}, null, -1), Mp = [
|
|
18234
|
+
Pp
|
|
18235
|
+
], Np = { class: "lang-icon" }, Op = {
|
|
18233
18236
|
class: "snackbar snackbar-boxed",
|
|
18234
18237
|
id: "snackbar"
|
|
18235
|
-
},
|
|
18238
|
+
}, Lp = {
|
|
18236
18239
|
class: "snack-body",
|
|
18237
18240
|
id: "errorSnack"
|
|
18238
|
-
},
|
|
18241
|
+
}, zp = { id: "errorMessage" }, xp = /* @__PURE__ */ _("img", {
|
|
18239
18242
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
18240
18243
|
style: { width: "100%" }
|
|
18241
|
-
}, null, -1),
|
|
18242
|
-
|
|
18243
|
-
],
|
|
18244
|
+
}, null, -1), Up = [
|
|
18245
|
+
xp
|
|
18246
|
+
], Bp = {
|
|
18244
18247
|
class: "snack-body",
|
|
18245
18248
|
id: "successSnack"
|
|
18246
|
-
},
|
|
18249
|
+
}, Dp = { id: "successMessage" }, Hp = /* @__PURE__ */ _("img", {
|
|
18247
18250
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
18248
18251
|
style: { width: "100%" }
|
|
18249
|
-
}, null, -1),
|
|
18250
|
-
|
|
18251
|
-
],
|
|
18252
|
+
}, null, -1), jp = [
|
|
18253
|
+
Hp
|
|
18254
|
+
], Fp = {
|
|
18252
18255
|
store: ho,
|
|
18253
18256
|
name: "TapniAuth",
|
|
18254
|
-
mixins: [
|
|
18257
|
+
mixins: [Sp, at],
|
|
18255
18258
|
data() {
|
|
18256
18259
|
return {
|
|
18257
18260
|
storeInterval: null,
|
|
@@ -18259,9 +18262,9 @@ const Rp = { id: "ssoapp" }, Pp = {
|
|
|
18259
18262
|
};
|
|
18260
18263
|
},
|
|
18261
18264
|
components: {
|
|
18262
|
-
Language:
|
|
18263
|
-
OTP:
|
|
18264
|
-
SSOPick:
|
|
18265
|
+
Language: Oi,
|
|
18266
|
+
OTP: Mi,
|
|
18267
|
+
SSOPick: Ni,
|
|
18265
18268
|
SSO: Pi,
|
|
18266
18269
|
ModalOverlay: Ri,
|
|
18267
18270
|
AuthCallback: To,
|
|
@@ -18308,7 +18311,7 @@ const Rp = { id: "ssoapp" }, Pp = {
|
|
|
18308
18311
|
},
|
|
18309
18312
|
methods: {
|
|
18310
18313
|
async init() {
|
|
18311
|
-
if (this.$store.commit("auth/setApiRoot", this.$apiRoot ||
|
|
18314
|
+
if (this.$store.commit("auth/setApiRoot", this.$apiRoot || $i.env.VUE_APP_API_ROOT), this.setStorage(this.strg), this.isSetup)
|
|
18312
18315
|
return;
|
|
18313
18316
|
this.isSetup = !0, this.setToken(this.$storex.token);
|
|
18314
18317
|
const n = this.getRefreshTokens();
|
|
@@ -18350,26 +18353,26 @@ const Rp = { id: "ssoapp" }, Pp = {
|
|
|
18350
18353
|
deep: !0
|
|
18351
18354
|
}
|
|
18352
18355
|
}
|
|
18353
|
-
},
|
|
18356
|
+
}, qp = /* @__PURE__ */ Object.assign(Fp, {
|
|
18354
18357
|
setup(n) {
|
|
18355
|
-
return window.Buffer =
|
|
18358
|
+
return window.Buffer = ia, document.addEventListener("DOMContentLoaded", function() {
|
|
18356
18359
|
const e = document.createElement("script");
|
|
18357
|
-
e.src = `https://www.google.com/recaptcha/api.js?render=${
|
|
18358
|
-
}), (e, t) => (N(), U("div",
|
|
18359
|
-
e.display === "redirect" || e.renderView.includes("Auth") ? (N(), U("a",
|
|
18360
|
+
e.src = `https://www.google.com/recaptcha/api.js?render=${Ip.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(e);
|
|
18361
|
+
}), (e, t) => (N(), U("div", Ap, [
|
|
18362
|
+
e.display === "redirect" || e.renderView.includes("Auth") ? (N(), U("a", Rp, Mp)) : fe("", !0),
|
|
18360
18363
|
e.display === "redirect" ? (N(), U("a", {
|
|
18361
18364
|
key: 1,
|
|
18362
18365
|
onClick: t[0] || (t[0] = (...r) => e.toggleSSOLanguageModal && e.toggleSSOLanguageModal(...r)),
|
|
18363
18366
|
class: "font-18 no-border pointer color-black",
|
|
18364
18367
|
style: { position: "absolute", right: "20px", top: "-10px", "z-index": "1" }
|
|
18365
18368
|
}, [
|
|
18366
|
-
_("span",
|
|
18369
|
+
_("span", Np, Q(e.appLanguage.toUpperCase()), 1)
|
|
18367
18370
|
])) : fe("", !0),
|
|
18368
18371
|
De(Ri),
|
|
18369
|
-
n.isModal ? fe("", !0) : (N(), ht(
|
|
18372
|
+
n.isModal ? fe("", !0) : (N(), ht(Oi, { key: 2 })),
|
|
18370
18373
|
n.isModal ? fe("", !0) : (N(), ht(Pi, { key: 3 })),
|
|
18371
|
-
n.isModal ? fe("", !0) : (N(), ht(
|
|
18372
|
-
De(
|
|
18374
|
+
n.isModal ? fe("", !0) : (N(), ht(Ni, { key: 4 })),
|
|
18375
|
+
De(Mi),
|
|
18373
18376
|
e.initialized && e.renderView === "AuthWelcome" ? (N(), ht(po, { key: 5 })) : e.initialized && e.renderView === "AuthLogin" ? (N(), ht(wo, {
|
|
18374
18377
|
key: 6,
|
|
18375
18378
|
isModal: n.isModal
|
|
@@ -18383,34 +18386,34 @@ const Rp = { id: "ssoapp" }, Pp = {
|
|
|
18383
18386
|
key: 9,
|
|
18384
18387
|
isModal: n.isModal,
|
|
18385
18388
|
payload: n.payload
|
|
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(
|
|
18387
|
-
_("div",
|
|
18388
|
-
_("p",
|
|
18389
|
-
_("span",
|
|
18389
|
+
}, 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(Bi(ji), { key: 12 })) : fe("", !0),
|
|
18390
|
+
_("div", Op, [
|
|
18391
|
+
_("p", Lp, [
|
|
18392
|
+
_("span", zp, Q(e.ssoLang[e.appLanguage].error), 1),
|
|
18390
18393
|
_("a", {
|
|
18391
18394
|
onClick: t[1] || (t[1] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
|
|
18392
18395
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
18393
|
-
},
|
|
18396
|
+
}, Up)
|
|
18394
18397
|
]),
|
|
18395
|
-
_("p",
|
|
18396
|
-
_("span",
|
|
18398
|
+
_("p", Bp, [
|
|
18399
|
+
_("span", Dp, Q(e.ssoLang[e.appLanguage].success), 1),
|
|
18397
18400
|
_("a", {
|
|
18398
18401
|
onClick: t[2] || (t[2] = (...r) => e.closeSnacks && e.closeSnacks(...r)),
|
|
18399
18402
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
18400
|
-
},
|
|
18403
|
+
}, jp)
|
|
18401
18404
|
])
|
|
18402
18405
|
])
|
|
18403
18406
|
]));
|
|
18404
18407
|
}
|
|
18405
|
-
}),
|
|
18408
|
+
}), nh = {
|
|
18406
18409
|
install: (n, { store: e, apiRoot: t }) => {
|
|
18407
|
-
n.component("TapniAuth",
|
|
18410
|
+
n.component("TapniAuth", qp), e.hasModule("auth") || e.registerModule("auth", ho), n.config.globalProperties.$apiRoot = t;
|
|
18408
18411
|
}
|
|
18409
18412
|
};
|
|
18410
18413
|
export {
|
|
18411
18414
|
at as A,
|
|
18412
18415
|
q as E,
|
|
18413
|
-
|
|
18416
|
+
Gs as Q,
|
|
18414
18417
|
mt as _,
|
|
18415
|
-
|
|
18418
|
+
nh as i
|
|
18416
18419
|
};
|