@tapni/auth 0.0.21 → 0.0.23
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/TapniAuth.es.js +652 -574
- package/dist/TapniAuth.umd.js +9 -9
- package/package.json +1 -1
- package/src/main.js +0 -8
- package/src/mixins/auth.mixin.js +3 -1
package/dist/TapniAuth.es.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { reactive as Ce, readonly as
|
|
2
|
-
import { RouterView as
|
|
1
|
+
import { reactive as Ce, readonly as Te, resolveComponent as V, openBlock as c, createElementBlock as l, createElementVNode as t, toDisplayString as p, createCommentVNode as h, createVNode as v, withCtx as j, createTextVNode as f, pushScopeId as O, popScopeId as B, createStaticVNode as je, nextTick as J, withModifiers as y, normalizeStyle as R, withDirectives as k, withKeys as E, vModelText as x, vModelDynamic as K, vShow as I, createBlock as P, normalizeClass as b, unref as Pe } from "vue";
|
|
2
|
+
import { RouterView as Ae } from "vue-router";
|
|
3
3
|
import g from "await-to-js";
|
|
4
|
-
import
|
|
5
|
-
import { jwtDecode as
|
|
6
|
-
import { Device as
|
|
7
|
-
import { StorageMixin as
|
|
8
|
-
import {
|
|
4
|
+
import H from "axios";
|
|
5
|
+
import { jwtDecode as ne } from "jwt-decode";
|
|
6
|
+
import { Device as F } from "@capacitor/device";
|
|
7
|
+
import { StorageMixin as te } from "@tapni/capacitor-reactive-localstorage-vue3";
|
|
8
|
+
import { Capacitor as D } from "@capacitor/core";
|
|
9
|
+
import { GoogleAuth as ee } from "@codetrix-studio/capacitor-google-auth";
|
|
9
10
|
import { FacebookLogin as Ie } from "@capacitor-community/facebook-login";
|
|
10
11
|
import { SignInWithApple as Ee } from "@capacitor-community/apple-sign-in";
|
|
11
12
|
import { MsAuthPlugin as xe } from "@recognizebv/capacitor-plugin-msauth";
|
|
12
|
-
import {
|
|
13
|
-
import { Browser as F } from "@capacitor/browser";
|
|
13
|
+
import { Browser as Q } from "@capacitor/browser";
|
|
14
14
|
import qe from "qr-code-styling";
|
|
15
15
|
import { sanitizeUrl as Me } from "@braintree/sanitize-url";
|
|
16
|
-
const Re = "0.0.
|
|
16
|
+
const Re = "0.0.22", m = (e, a = !1) => {
|
|
17
17
|
const n = Re;
|
|
18
|
-
let o =
|
|
18
|
+
let o = H.create({
|
|
19
19
|
baseURL: "https://api.tapni.co/v1/",
|
|
20
20
|
headers: {
|
|
21
21
|
Authorization: `Bearer ${e.token}`,
|
|
@@ -23,24 +23,24 @@ const Re = "0.0.21", m = (e, a = !1) => {
|
|
|
23
23
|
"X-Client-Version": n.version
|
|
24
24
|
}
|
|
25
25
|
});
|
|
26
|
-
return o.interceptors.request.use(async function(
|
|
27
|
-
if (["post", "put", "delete"].includes(
|
|
28
|
-
...
|
|
26
|
+
return o.interceptors.request.use(async function(i) {
|
|
27
|
+
if (["post", "put", "delete"].includes(i.method.toLowerCase()) ? i.data = {
|
|
28
|
+
...i.data,
|
|
29
29
|
lang: e.appLang,
|
|
30
30
|
realm: e.realm || "app"
|
|
31
|
-
} :
|
|
32
|
-
...
|
|
31
|
+
} : i.method.toLowerCase() === "get" && (i.params = {
|
|
32
|
+
...i.params,
|
|
33
33
|
lang: e.appLang,
|
|
34
34
|
realm: e.realm || "app"
|
|
35
35
|
}), e.token && !a) {
|
|
36
|
-
const r =
|
|
36
|
+
const r = ne(e.token);
|
|
37
37
|
if (r.exp - 30 < Math.floor(Date.now() / 1e3))
|
|
38
|
-
return z.methods.refreshTokenAction(r).then(() => (
|
|
39
|
-
...
|
|
38
|
+
return z.methods.refreshTokenAction(r).then(() => (i.headers = {
|
|
39
|
+
...i.headers,
|
|
40
40
|
Authorization: `Bearer ${e.token}`
|
|
41
|
-
},
|
|
41
|
+
}, i));
|
|
42
42
|
}
|
|
43
|
-
return
|
|
43
|
+
return i;
|
|
44
44
|
}), o;
|
|
45
45
|
}, M = {
|
|
46
46
|
getMe() {
|
|
@@ -84,7 +84,7 @@ const Re = "0.0.21", m = (e, a = !1) => {
|
|
|
84
84
|
loginUsingQR(e, a) {
|
|
85
85
|
return m(a).post("/users/qr/login", e);
|
|
86
86
|
}
|
|
87
|
-
},
|
|
87
|
+
}, ae = {
|
|
88
88
|
registerDevice(e, a) {
|
|
89
89
|
return m(a).post("/devices/add", e);
|
|
90
90
|
},
|
|
@@ -92,17 +92,17 @@ const Re = "0.0.21", m = (e, a = !1) => {
|
|
|
92
92
|
return m(a).post("/devices/fcm/add", e);
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
|
-
let
|
|
96
|
-
|
|
95
|
+
let S;
|
|
96
|
+
F.getId().then((e) => S = e.uuid);
|
|
97
97
|
const w = {
|
|
98
98
|
register(e, a) {
|
|
99
|
-
return e.device_id =
|
|
99
|
+
return e.device_id = S, m(a).post("/users/register", e);
|
|
100
100
|
},
|
|
101
101
|
login(e, a) {
|
|
102
|
-
return e.device_id =
|
|
102
|
+
return e.device_id = S, m(a).post("/users/login", e);
|
|
103
103
|
},
|
|
104
104
|
logout(e, a) {
|
|
105
|
-
return e.device_id =
|
|
105
|
+
return e.device_id = S, m(a).post("/users/logout", e);
|
|
106
106
|
},
|
|
107
107
|
refreshToken(e, a) {
|
|
108
108
|
return m(a, !0).get(`/users/refresh-token?UserId=${e.id}&token=${e.refreshToken}`);
|
|
@@ -111,7 +111,7 @@ const w = {
|
|
|
111
111
|
return m(a).post("/users/tokens", e);
|
|
112
112
|
},
|
|
113
113
|
sendResetEmail(e, a) {
|
|
114
|
-
return e.device_id =
|
|
114
|
+
return e.device_id = S, m(a).post("/users/reset", e);
|
|
115
115
|
},
|
|
116
116
|
changePassword(e, a) {
|
|
117
117
|
return m(a).put("/users/password", e, {
|
|
@@ -125,25 +125,25 @@ const w = {
|
|
|
125
125
|
return m(e).get("/users/google/url");
|
|
126
126
|
},
|
|
127
127
|
google(e, a) {
|
|
128
|
-
return e.device_id =
|
|
128
|
+
return e.device_id = S, m(a).post("/users/google", e);
|
|
129
129
|
},
|
|
130
130
|
facebook(e, a) {
|
|
131
|
-
return e.device_id =
|
|
131
|
+
return e.device_id = S, m(a).post("/users/facebook", e);
|
|
132
132
|
},
|
|
133
133
|
googleSDK(e, a) {
|
|
134
|
-
return e.device_id =
|
|
134
|
+
return e.device_id = S, m(a).post("/users/google/sdk", e);
|
|
135
135
|
},
|
|
136
136
|
facebookSDK(e, a) {
|
|
137
|
-
return e.device_id =
|
|
137
|
+
return e.device_id = S, m(a).post("/users/facebook/sdk", e);
|
|
138
138
|
},
|
|
139
139
|
appleSDK(e, a) {
|
|
140
|
-
return e.device_id =
|
|
140
|
+
return e.device_id = S, m(a).post("/users/apple/sdk", e);
|
|
141
141
|
},
|
|
142
142
|
microsoftSDK(e, a) {
|
|
143
|
-
return e.device_id =
|
|
143
|
+
return e.device_id = S, m(a).post("/users/microsoft/sdk", e);
|
|
144
144
|
},
|
|
145
145
|
oktaSDK(e, a) {
|
|
146
|
-
return e.device_id =
|
|
146
|
+
return e.device_id = S, m(a).post("/users/okta/sdk", e);
|
|
147
147
|
},
|
|
148
148
|
samlLoginUrl(e, a) {
|
|
149
149
|
return m(a).post("/saml/url", e);
|
|
@@ -158,23 +158,23 @@ const w = {
|
|
|
158
158
|
qrCodePooling(e, a) {
|
|
159
159
|
return m(a).post("/company/login/qr", e);
|
|
160
160
|
}
|
|
161
|
-
},
|
|
161
|
+
}, U = Ce(/* @__PURE__ */ new Map()), d = {
|
|
162
162
|
$on(e, a) {
|
|
163
|
-
let n =
|
|
164
|
-
n || (n = /* @__PURE__ */ new Set(),
|
|
163
|
+
let n = U.get(e);
|
|
164
|
+
n || (n = /* @__PURE__ */ new Set(), U.set(e, n)), n.add(a);
|
|
165
165
|
},
|
|
166
166
|
$emit(e, ...a) {
|
|
167
|
-
const n =
|
|
167
|
+
const n = U.get(e);
|
|
168
168
|
if (n)
|
|
169
169
|
for (const o of n)
|
|
170
170
|
o(...a);
|
|
171
171
|
},
|
|
172
172
|
$off(e, a) {
|
|
173
|
-
const n =
|
|
173
|
+
const n = U.get(e);
|
|
174
174
|
n && n.delete(a);
|
|
175
175
|
}
|
|
176
176
|
};
|
|
177
|
-
|
|
177
|
+
Te(d);
|
|
178
178
|
const ie = {
|
|
179
179
|
state: {
|
|
180
180
|
english: "English",
|
|
@@ -632,7 +632,7 @@ const ie = {
|
|
|
632
632
|
choose_other_login_methods: "Choose other login methods",
|
|
633
633
|
no_sso_logins: "Your company does not use SSO login, please contact your administrator"
|
|
634
634
|
}
|
|
635
|
-
},
|
|
635
|
+
}, oe = {
|
|
636
636
|
state: {
|
|
637
637
|
english: "Englisch",
|
|
638
638
|
spanish: "Spanisch",
|
|
@@ -1084,7 +1084,7 @@ const ie = {
|
|
|
1084
1084
|
choose_other_login_methods: "Wählen Sie andere Anmeldeverfahren",
|
|
1085
1085
|
no_sso_logins: "Ihr Unternehmen verwendet keine SSO-Anmeldung. Bitte wenden Sie sich an Ihren Administrator"
|
|
1086
1086
|
}
|
|
1087
|
-
},
|
|
1087
|
+
}, re = {
|
|
1088
1088
|
state: {
|
|
1089
1089
|
english: "Inglés",
|
|
1090
1090
|
spanish: "Español",
|
|
@@ -1540,7 +1540,7 @@ const ie = {
|
|
|
1540
1540
|
choose_other_login_methods: "Elige otros métodos de inicio de sesión",
|
|
1541
1541
|
no_sso_logins: "Su empresa no utiliza el inicio de sesión SSO. Comuníquese con su administrador"
|
|
1542
1542
|
}
|
|
1543
|
-
},
|
|
1543
|
+
}, se = {
|
|
1544
1544
|
state: {
|
|
1545
1545
|
english: "Anglais",
|
|
1546
1546
|
spanish: "Espagnol",
|
|
@@ -1998,7 +1998,7 @@ Il n'y a aucun lien dans votre profil.`,
|
|
|
1998
1998
|
choose_other_login_methods: "Choisissez d'autres méthodes de connexion",
|
|
1999
1999
|
no_sso_logins: "Votre entreprise n'utilise pas de login SSO, veuillez contacter votre administrateur"
|
|
2000
2000
|
}
|
|
2001
|
-
},
|
|
2001
|
+
}, ce = {
|
|
2002
2002
|
state: {
|
|
2003
2003
|
english: "Inglese",
|
|
2004
2004
|
spanish: "Spagnolo",
|
|
@@ -2451,7 +2451,7 @@ Il n'y a aucun lien dans votre profil.`,
|
|
|
2451
2451
|
choose_other_login_methods: "Scegli altri metodi di accesso",
|
|
2452
2452
|
no_sso_logins: "La tua azienda non utilizza l'accesso SSO, contatta il tuo amministratore"
|
|
2453
2453
|
}
|
|
2454
|
-
},
|
|
2454
|
+
}, le = {
|
|
2455
2455
|
state: {
|
|
2456
2456
|
english: "Engleski",
|
|
2457
2457
|
spanish: "Španski",
|
|
@@ -2896,7 +2896,7 @@ Il n'y a aucun lien dans votre profil.`,
|
|
|
2896
2896
|
choose_other_login_methods: "Izaberite druge metode prijavljivanja",
|
|
2897
2897
|
no_sso_logins: "Vaša kompanija ne koristi SSO prijavu, kontaktirajte svog administratora"
|
|
2898
2898
|
}
|
|
2899
|
-
},
|
|
2899
|
+
}, de = {
|
|
2900
2900
|
state: {
|
|
2901
2901
|
english: "İngilizce",
|
|
2902
2902
|
spanish: "İspanyolca",
|
|
@@ -3794,7 +3794,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
3794
3794
|
choose_other_login_methods: "选择其他登录方法",
|
|
3795
3795
|
no_sso_logins: "您的公司不使用 SSO 登录。 请联系您的管理员"
|
|
3796
3796
|
}
|
|
3797
|
-
},
|
|
3797
|
+
}, pe = {
|
|
3798
3798
|
state: {
|
|
3799
3799
|
english: "영어",
|
|
3800
3800
|
spanish: "스페인어",
|
|
@@ -4251,10 +4251,88 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
4251
4251
|
choose_other_login_methods: "다른 로그인 방법 선택하기",
|
|
4252
4252
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
4253
4253
|
}
|
|
4254
|
+
}, Ve = {
|
|
4255
|
+
mixins: [te],
|
|
4256
|
+
computed: {
|
|
4257
|
+
home() {
|
|
4258
|
+
return this.storage.token && this.storage.username ? "/" + this.storage.username : "/welcome";
|
|
4259
|
+
},
|
|
4260
|
+
isAndroid() {
|
|
4261
|
+
return /Android/i.test(navigator.userAgent) || D.getPlatform() === "android";
|
|
4262
|
+
},
|
|
4263
|
+
isiOS() {
|
|
4264
|
+
return [
|
|
4265
|
+
"iPad Simulator",
|
|
4266
|
+
"iPhone Simulator",
|
|
4267
|
+
"iPod Simulator",
|
|
4268
|
+
"iPad",
|
|
4269
|
+
"iPhone",
|
|
4270
|
+
"iPod"
|
|
4271
|
+
].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || D.getPlatform() === "ios";
|
|
4272
|
+
},
|
|
4273
|
+
isNative() {
|
|
4274
|
+
return D.isNativePlatform();
|
|
4275
|
+
}
|
|
4276
|
+
},
|
|
4277
|
+
async mounted() {
|
|
4278
|
+
await this.initializeStorage({
|
|
4279
|
+
realm: "",
|
|
4280
|
+
token: "",
|
|
4281
|
+
refreshTokens: "",
|
|
4282
|
+
username: "",
|
|
4283
|
+
UserId: "",
|
|
4284
|
+
verifyEmail: "",
|
|
4285
|
+
subdomain: ""
|
|
4286
|
+
});
|
|
4287
|
+
},
|
|
4288
|
+
methods: {
|
|
4289
|
+
errorHandler(e) {
|
|
4290
|
+
return e && e.response && e.response.data && e.response.data.error && ((e.response.data.error === "ACCESS_DENIED" || e.response.data.error === "TOKEN_EXPIRED") && this.logout(), !e.response.data.error.includes("Network Error") && !e.response.data.error.includes("Cannot read properties") && this.errorSnack(e.response.data.error)), e;
|
|
4291
|
+
},
|
|
4292
|
+
errorSnack(e) {
|
|
4293
|
+
let a = document.getElementById("snackbar"), n = document.getElementById("errorMessage"), o = document.getElementById("errorSnack");
|
|
4294
|
+
n.innerHTML = e, a.classList.add("show-snack"), o.classList.add("active-snack"), setTimeout(function() {
|
|
4295
|
+
o.classList.remove("active-snack"), a.classList.remove("show-snack");
|
|
4296
|
+
}, 3e3);
|
|
4297
|
+
},
|
|
4298
|
+
successSnack(e) {
|
|
4299
|
+
let a = document.getElementById("snackbar"), n = document.getElementById("successMessage"), o = document.getElementById("successSnack");
|
|
4300
|
+
n.innerHTML = e, a.classList.add("show-snack"), o.classList.add("active-snack"), setTimeout(function() {
|
|
4301
|
+
o.classList.remove("active-snack"), a.classList.remove("show-snack");
|
|
4302
|
+
}, 3e3);
|
|
4303
|
+
},
|
|
4304
|
+
closeSnacks() {
|
|
4305
|
+
document.getElementById("snackbar").classList.remove("show-snack"), document.getElementById("successSnack").classList.remove("active-snack"), document.getElementById("errorSnack").classList.remove("active-snack");
|
|
4306
|
+
},
|
|
4307
|
+
tapsEmoji(e) {
|
|
4308
|
+
return e < 10 ? "" : e <= 50 ? "🔥" : e <= 100 ? "💥" : e <= 300 ? "💎" : e > 300 ? "🚀" : "";
|
|
4309
|
+
},
|
|
4310
|
+
/** Function which checks if provided object is empty */
|
|
4311
|
+
isEmpty(e) {
|
|
4312
|
+
if (!e)
|
|
4313
|
+
return !0;
|
|
4314
|
+
for (let a in e)
|
|
4315
|
+
if (e.hasOwnProperty(a))
|
|
4316
|
+
return !1;
|
|
4317
|
+
return JSON.stringify(e) === JSON.stringify({});
|
|
4318
|
+
},
|
|
4319
|
+
/** Copy string to clipboard */
|
|
4320
|
+
copy(e = "") {
|
|
4321
|
+
const a = document.createElement("textarea");
|
|
4322
|
+
a.value = e, a.setAttribute("readonly", ""), a.style.position = "absolute", a.style.left = "-9999px", document.body.appendChild(a), a.select(), document.execCommand("copy"), document.body.removeChild(a), this.successSnack(this.ssoLang[this.appLang].copied);
|
|
4323
|
+
},
|
|
4324
|
+
async getCaptchaToken(e) {
|
|
4325
|
+
try {
|
|
4326
|
+
return await window.grecaptcha.execute("6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", { action: e });
|
|
4327
|
+
} catch (a) {
|
|
4328
|
+
return console.log(a), null;
|
|
4329
|
+
}
|
|
4330
|
+
}
|
|
4331
|
+
}
|
|
4254
4332
|
};
|
|
4255
|
-
var
|
|
4333
|
+
var Oe = { 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 };
|
|
4256
4334
|
const z = {
|
|
4257
|
-
mixins: [
|
|
4335
|
+
mixins: [te, Ve],
|
|
4258
4336
|
data() {
|
|
4259
4337
|
return {
|
|
4260
4338
|
appLanguage: "en",
|
|
@@ -4267,14 +4345,14 @@ const z = {
|
|
|
4267
4345
|
loggedInAccounts: {},
|
|
4268
4346
|
ssoLang: {
|
|
4269
4347
|
en: ie.state,
|
|
4270
|
-
de:
|
|
4271
|
-
es:
|
|
4272
|
-
fr:
|
|
4273
|
-
it:
|
|
4274
|
-
sr:
|
|
4275
|
-
tr:
|
|
4348
|
+
de: oe.state,
|
|
4349
|
+
es: re.state,
|
|
4350
|
+
fr: se.state,
|
|
4351
|
+
it: ce.state,
|
|
4352
|
+
sr: le.state,
|
|
4353
|
+
tr: de.state,
|
|
4276
4354
|
cn: Ne.state,
|
|
4277
|
-
kr:
|
|
4355
|
+
kr: pe.state
|
|
4278
4356
|
},
|
|
4279
4357
|
display: "npm",
|
|
4280
4358
|
redirect_uri: "https://t.link/callback/auth",
|
|
@@ -4313,7 +4391,7 @@ const z = {
|
|
|
4313
4391
|
}
|
|
4314
4392
|
},
|
|
4315
4393
|
mounted() {
|
|
4316
|
-
this.$route.query.redirect_uri && (this.redirect_uri = this.$route.query.redirect_uri), this.$route.query.display && (this.display = this.$route.query.display), this.$route.query.state && (this.state = this.$route.query.state), this.$route.query.response_type && (this.response_type = this.$route.query.response_type), this.$route.query.realm && (this.storage.realm = this.$route.query.realm), d.$on("updateLang", this.updateLang),
|
|
4394
|
+
this.$route.query.redirect_uri && (this.redirect_uri = this.$route.query.redirect_uri), this.$route.query.display && (this.display = this.$route.query.display), this.$route.query.state && (this.state = this.$route.query.state), this.$route.query.response_type && (this.response_type = this.$route.query.response_type), this.$route.query.realm && (this.storage.realm = this.$route.query.realm), d.$on("updateLang", this.updateLang), Oe.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
|
|
4317
4395
|
},
|
|
4318
4396
|
methods: {
|
|
4319
4397
|
errorHandler(e) {
|
|
@@ -4347,7 +4425,7 @@ const z = {
|
|
|
4347
4425
|
},
|
|
4348
4426
|
async maintenance() {
|
|
4349
4427
|
const [e, a] = await g(
|
|
4350
|
-
|
|
4428
|
+
H.get("https://status.tapni.co/data/maintenance.json")
|
|
4351
4429
|
);
|
|
4352
4430
|
if (e)
|
|
4353
4431
|
return console.error(e);
|
|
@@ -4446,7 +4524,7 @@ const z = {
|
|
|
4446
4524
|
},
|
|
4447
4525
|
async exchangeAuthCode(e) {
|
|
4448
4526
|
const [a, n] = await g(
|
|
4449
|
-
|
|
4527
|
+
H.post("https://api.tapni.co/v1/users/auth-code", {
|
|
4450
4528
|
code: e.code,
|
|
4451
4529
|
code_verifier: e.code_verifier
|
|
4452
4530
|
})
|
|
@@ -4474,7 +4552,7 @@ const z = {
|
|
|
4474
4552
|
return a ? this.errorHandler(a) : n.data.success;
|
|
4475
4553
|
},
|
|
4476
4554
|
async registerDevice() {
|
|
4477
|
-
const e = await
|
|
4555
|
+
const e = await F.getId(), a = await F.getInfo();
|
|
4478
4556
|
let n = {
|
|
4479
4557
|
device_id: e.uuid,
|
|
4480
4558
|
platform: a.platform,
|
|
@@ -4487,14 +4565,14 @@ const z = {
|
|
|
4487
4565
|
webViewVersion: a.webViewVersion
|
|
4488
4566
|
}
|
|
4489
4567
|
};
|
|
4490
|
-
const [o,
|
|
4491
|
-
|
|
4568
|
+
const [o, i] = await g(
|
|
4569
|
+
ae.registerDevice(n, this.storage)
|
|
4492
4570
|
);
|
|
4493
|
-
return o ? this.errorHandler(o) :
|
|
4571
|
+
return o ? this.errorHandler(o) : i;
|
|
4494
4572
|
},
|
|
4495
4573
|
async addFcmToken(e) {
|
|
4496
4574
|
const [a, n] = await g(
|
|
4497
|
-
|
|
4575
|
+
ae.addFcmToken(e, this.storage)
|
|
4498
4576
|
);
|
|
4499
4577
|
return a ? this.errorHandler(a) : n;
|
|
4500
4578
|
},
|
|
@@ -4546,7 +4624,7 @@ const z = {
|
|
|
4546
4624
|
this.ssoUser = e, this.storage && this.ssoUser && this.storage.username === this.ssoUser.username && (this.appLanguage = e.ssoLang);
|
|
4547
4625
|
},
|
|
4548
4626
|
getRefreshTokens() {
|
|
4549
|
-
return this.storage.refreshTokens.split(",");
|
|
4627
|
+
return console.log("getRefreshTokens", this.storage, this.storageApp), this.storage.refreshTokens.split(",");
|
|
4550
4628
|
},
|
|
4551
4629
|
setRefreshToken(e) {
|
|
4552
4630
|
let a = this.getRefreshTokens();
|
|
@@ -4572,10 +4650,10 @@ const z = {
|
|
|
4572
4650
|
}
|
|
4573
4651
|
}, T = (e, a) => {
|
|
4574
4652
|
const n = e.__vccOpts || e;
|
|
4575
|
-
for (const [o,
|
|
4576
|
-
n[o] =
|
|
4653
|
+
for (const [o, i] of a)
|
|
4654
|
+
n[o] = i;
|
|
4577
4655
|
return n;
|
|
4578
|
-
},
|
|
4656
|
+
}, Be = {
|
|
4579
4657
|
name: "AuthWelcome",
|
|
4580
4658
|
mixins: [z],
|
|
4581
4659
|
data() {
|
|
@@ -4589,24 +4667,24 @@ const z = {
|
|
|
4589
4667
|
}, 1500), d.$emit("ssoEvent", { name: "setInitialize", data: !0 });
|
|
4590
4668
|
},
|
|
4591
4669
|
methods: {}
|
|
4592
|
-
},
|
|
4670
|
+
}, ue = (e) => (O("data-v-bf520ec5"), e = e(), B(), e), De = {
|
|
4593
4671
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
4594
4672
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
4595
|
-
},
|
|
4673
|
+
}, Ue = ["autoplay"], Ke = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("source", {
|
|
4596
4674
|
src: "https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",
|
|
4597
4675
|
type: "video/mp4"
|
|
4598
|
-
}, null, -1)),
|
|
4599
|
-
|
|
4600
|
-
],
|
|
4676
|
+
}, null, -1)), He = [
|
|
4677
|
+
Ke
|
|
4678
|
+
], Fe = { class: "bold full-top no-bottom center-text" }, Qe = { class: "full-bottom half-top center-text color-black font-16" }, $e = { class: "page-login-links center-text" }, Ge = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), We = {
|
|
4601
4679
|
key: 2,
|
|
4602
4680
|
style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
|
|
4603
|
-
},
|
|
4604
|
-
|
|
4681
|
+
}, Xe = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a>', 3), Ye = [
|
|
4682
|
+
Xe
|
|
4605
4683
|
];
|
|
4606
|
-
function
|
|
4684
|
+
function Ze(e, a, n, o, i, r) {
|
|
4607
4685
|
const u = V("router-link");
|
|
4608
|
-
return c(), l("div",
|
|
4609
|
-
|
|
4686
|
+
return c(), l("div", De, [
|
|
4687
|
+
t("video", {
|
|
4610
4688
|
id: "tapniVideo",
|
|
4611
4689
|
muted: "",
|
|
4612
4690
|
loop: "",
|
|
@@ -4614,9 +4692,9 @@ function Xe(e, a, n, o, t, r) {
|
|
|
4614
4692
|
width: "350",
|
|
4615
4693
|
style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
|
|
4616
4694
|
autoplay: e.isNative
|
|
4617
|
-
},
|
|
4618
|
-
|
|
4619
|
-
|
|
4695
|
+
}, He, 8, Ue),
|
|
4696
|
+
t("h1", Fe, p(e.ssoLang[this.appLang].welcome), 1),
|
|
4697
|
+
t("p", Qe, p(e.ssoLang[this.appLang].welcome_p1), 1),
|
|
4620
4698
|
h("", !0),
|
|
4621
4699
|
h("", !0),
|
|
4622
4700
|
v(u, {
|
|
@@ -4625,24 +4703,24 @@ function Xe(e, a, n, o, t, r) {
|
|
|
4625
4703
|
class: "button-center button button-90 google-button bg-tapni-grey pointer"
|
|
4626
4704
|
}, {
|
|
4627
4705
|
default: j(() => [
|
|
4628
|
-
|
|
4706
|
+
t("span", null, p(e.ssoLang[this.appLang].create_account), 1)
|
|
4629
4707
|
]),
|
|
4630
4708
|
_: 1
|
|
4631
4709
|
}),
|
|
4632
|
-
|
|
4710
|
+
t("div", $e, [
|
|
4633
4711
|
v(u, { to: "/login" }, {
|
|
4634
4712
|
default: j(() => [
|
|
4635
4713
|
f(p(e.ssoLang[this.appLang].already_registered) + "? ", 1),
|
|
4636
|
-
|
|
4714
|
+
t("b", null, p(e.ssoLang[this.appLang].sign_in), 1)
|
|
4637
4715
|
]),
|
|
4638
4716
|
_: 1
|
|
4639
4717
|
}),
|
|
4640
|
-
|
|
4718
|
+
Ge
|
|
4641
4719
|
]),
|
|
4642
|
-
this.isNative ? h("", !0) : (c(), l("div",
|
|
4720
|
+
this.isNative ? h("", !0) : (c(), l("div", We, Ye))
|
|
4643
4721
|
]);
|
|
4644
4722
|
}
|
|
4645
|
-
const
|
|
4723
|
+
const _e = /* @__PURE__ */ T(Be, [["render", Ze], ["__scopeId", "data-v-bf520ec5"]]), me = {
|
|
4646
4724
|
data() {
|
|
4647
4725
|
return {
|
|
4648
4726
|
googleLoad: !1
|
|
@@ -4655,24 +4733,24 @@ const ue = /* @__PURE__ */ T(Oe, [["render", Xe], ["__scopeId", "data-v-bf520ec5
|
|
|
4655
4733
|
}
|
|
4656
4734
|
},
|
|
4657
4735
|
mounted() {
|
|
4658
|
-
|
|
4736
|
+
ee.initialize();
|
|
4659
4737
|
},
|
|
4660
4738
|
methods: {
|
|
4661
4739
|
async googleLogin() {
|
|
4662
4740
|
var n;
|
|
4663
4741
|
this.googleLoad = !0;
|
|
4664
|
-
let [e, a] = await g(
|
|
4742
|
+
let [e, a] = await g(ee.signIn());
|
|
4665
4743
|
if (e)
|
|
4666
4744
|
return this.googleLoad = !1;
|
|
4667
4745
|
if (this.referral && (a.ref = this.referral), a.authentication && (a.authentication.accessToken || a.authentication.idToken)) {
|
|
4668
4746
|
this.referral && (a.ref = this.referral), this.display === "popup" && (a.response_type = "code");
|
|
4669
|
-
const [o,
|
|
4747
|
+
const [o, i] = await g(w.googleSDK(a, this.storage));
|
|
4670
4748
|
if (o)
|
|
4671
4749
|
return this.googleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
|
|
4672
|
-
if (
|
|
4750
|
+
if (i.data.success) {
|
|
4673
4751
|
if (this.display === "popup")
|
|
4674
|
-
return (n = window.parent) == null ? void 0 : n.postMessage({ code:
|
|
4675
|
-
await this.loginSetup(
|
|
4752
|
+
return (n = window.parent) == null ? void 0 : n.postMessage({ code: i.data.auth_code, state: this.$route.query.state }, "*");
|
|
4753
|
+
await this.loginSetup(i), this.getLoggedInAccounts(), this.$router.push("/" + i.data.data.username + "#edit"), setTimeout(() => {
|
|
4676
4754
|
this.googleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4677
4755
|
}, 1e3);
|
|
4678
4756
|
} else
|
|
@@ -4694,10 +4772,10 @@ window.fbAsyncInit = function() {
|
|
|
4694
4772
|
});
|
|
4695
4773
|
};
|
|
4696
4774
|
(function(e, a, n) {
|
|
4697
|
-
var o,
|
|
4698
|
-
e.getElementById(n) || (o = e.createElement(a), o.id = n, o.src = "https://connect.facebook.net/en_US/sdk.js",
|
|
4775
|
+
var o, i = e.getElementsByTagName(a)[0];
|
|
4776
|
+
e.getElementById(n) || (o = e.createElement(a), o.id = n, o.src = "https://connect.facebook.net/en_US/sdk.js", i.parentNode.insertBefore(o, i));
|
|
4699
4777
|
})(document, "script", "facebook-jssdk");
|
|
4700
|
-
const
|
|
4778
|
+
const ge = {
|
|
4701
4779
|
data() {
|
|
4702
4780
|
return {
|
|
4703
4781
|
facebookLoad: !1
|
|
@@ -4719,9 +4797,9 @@ const me = {
|
|
|
4719
4797
|
if (a)
|
|
4720
4798
|
return this.facebookLoad = !1;
|
|
4721
4799
|
if (this.referral && (n.ref = this.referral), this.display === "popup" && (n.response_type = "code"), n.accessToken) {
|
|
4722
|
-
const [
|
|
4723
|
-
if (
|
|
4724
|
-
return this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(
|
|
4800
|
+
const [i, r] = await g(w.facebookSDK(n, this.storage));
|
|
4801
|
+
if (i)
|
|
4802
|
+
return this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(i);
|
|
4725
4803
|
if (r.data.success) {
|
|
4726
4804
|
if (this.display === "popup")
|
|
4727
4805
|
return (o = window.parent) == null ? void 0 : o.postMessage({ code: r.data.auth_code, state: this.$route.query.state }, "*");
|
|
@@ -4734,7 +4812,7 @@ const me = {
|
|
|
4734
4812
|
this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4735
4813
|
}
|
|
4736
4814
|
}
|
|
4737
|
-
},
|
|
4815
|
+
}, he = {
|
|
4738
4816
|
data() {
|
|
4739
4817
|
return {
|
|
4740
4818
|
appleLoad: !1
|
|
@@ -4757,15 +4835,15 @@ const me = {
|
|
|
4757
4835
|
}));
|
|
4758
4836
|
if (e)
|
|
4759
4837
|
return this.appleLoad = !1;
|
|
4760
|
-
if (a.response.tokenData =
|
|
4838
|
+
if (a.response.tokenData = ne(a.response.identityToken), a && a.response && a.response.identityToken) {
|
|
4761
4839
|
this.referral && (a.response.ref = this.referral), this.display === "popup" && (a.response_type = "code");
|
|
4762
|
-
const [o,
|
|
4840
|
+
const [o, i] = await g(w.appleSDK(a.response, this.storage));
|
|
4763
4841
|
if (o)
|
|
4764
4842
|
return this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
|
|
4765
|
-
if (
|
|
4843
|
+
if (i.data.success) {
|
|
4766
4844
|
if (this.display === "popup")
|
|
4767
|
-
return (n = window.parent) == null ? void 0 : n.postMessage({ code:
|
|
4768
|
-
await this.loginSetup(
|
|
4845
|
+
return (n = window.parent) == null ? void 0 : n.postMessage({ code: i.data.auth_code, state: this.$route.query.state }, "*");
|
|
4846
|
+
await this.loginSetup(i), this.getLoggedInAccounts(), this.$router.push("/" + i.data.data.username + "#edit"), setTimeout(() => {
|
|
4769
4847
|
this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4770
4848
|
}, 1e3);
|
|
4771
4849
|
} else
|
|
@@ -4775,8 +4853,8 @@ const me = {
|
|
|
4775
4853
|
}
|
|
4776
4854
|
}
|
|
4777
4855
|
};
|
|
4778
|
-
var
|
|
4779
|
-
const
|
|
4856
|
+
var Je = { 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 };
|
|
4857
|
+
const $ = {
|
|
4780
4858
|
data() {
|
|
4781
4859
|
return {
|
|
4782
4860
|
microsoftLoad: !1,
|
|
@@ -4791,8 +4869,8 @@ const Q = {
|
|
|
4791
4869
|
},
|
|
4792
4870
|
methods: {
|
|
4793
4871
|
async microsoftLogin(e, a = {}) {
|
|
4794
|
-
var
|
|
4795
|
-
e === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0, Object.keys(a).length || (a = ((r = (
|
|
4872
|
+
var i, r, u;
|
|
4873
|
+
e === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0, Object.keys(a).length || (a = ((r = (i = this.ssoCompany.sso) == null ? void 0 : i.azure) == null ? void 0 : r.sso) || {});
|
|
4796
4874
|
const [n, o] = await g(
|
|
4797
4875
|
xe.login({
|
|
4798
4876
|
clientId: e === "sso" ? a.clientID : "9cd47053-080a-4df8-8fd8-ca4389163fde",
|
|
@@ -4801,7 +4879,7 @@ const Q = {
|
|
|
4801
4879
|
knownAuthorities: [],
|
|
4802
4880
|
keyHash: "4+5wCp8QcLptlO0aeP5RDTTOWyg=",
|
|
4803
4881
|
// Android,
|
|
4804
|
-
redirectUri:
|
|
4882
|
+
redirectUri: Je.NODE_ENV === "development" ? `${window.location.origin}/login` : "https://" + window.location.host + "/login"
|
|
4805
4883
|
})
|
|
4806
4884
|
);
|
|
4807
4885
|
if (n)
|
|
@@ -4844,14 +4922,14 @@ const Q = {
|
|
|
4844
4922
|
return null;
|
|
4845
4923
|
},
|
|
4846
4924
|
compareLangKeys() {
|
|
4847
|
-
const e = Object.keys(ie.default.state), a = Object.keys(
|
|
4848
|
-
console.log("In en but not in de", e.filter((_) => !a.includes(_))), console.log("In de but not in en", a.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in es", e.filter((_) => !n.includes(_))), console.log("In es but not in en", n.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in kr", e.filter((_) => !o.includes(_))), console.log("In kr but not in en", o.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in it", e.filter((_) => !
|
|
4925
|
+
const e = Object.keys(ie.default.state), a = Object.keys(oe.default.state), n = Object.keys(re.default.state), o = Object.keys(pe.default.state), i = Object.keys(ce.default.state), r = Object.keys(se.default.state), u = Object.keys(le.default.state), s = Object.keys(de.default.state);
|
|
4926
|
+
console.log("In en but not in de", e.filter((_) => !a.includes(_))), console.log("In de but not in en", a.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in es", e.filter((_) => !n.includes(_))), console.log("In es but not in en", n.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in kr", e.filter((_) => !o.includes(_))), console.log("In kr but not in en", o.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in it", e.filter((_) => !i.includes(_))), console.log("In it but not in en", i.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in fr", e.filter((_) => !r.includes(_))), console.log("In fr but not in en", r.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in sr", e.filter((_) => !u.includes(_))), console.log("In sr but not in en", u.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in tr", e.filter((_) => !s.includes(_))), console.log("In tr but not in en", s.filter((_) => !e.includes(_))), console.log();
|
|
4849
4927
|
},
|
|
4850
4928
|
base64ImageToBlob(e) {
|
|
4851
|
-
const a = e.split(";base64,"), n = a[0].split(":")[1], o = window.atob(a[1]),
|
|
4929
|
+
const a = e.split(";base64,"), n = a[0].split(":")[1], o = window.atob(a[1]), i = new Uint8Array(o.length);
|
|
4852
4930
|
for (let r = 0; r < o.length; ++r)
|
|
4853
|
-
|
|
4854
|
-
return new Blob([
|
|
4931
|
+
i[r] = o.charCodeAt(r);
|
|
4932
|
+
return new Blob([i], { type: n });
|
|
4855
4933
|
},
|
|
4856
4934
|
blobToBase64(e) {
|
|
4857
4935
|
const a = new FileReader();
|
|
@@ -4862,14 +4940,14 @@ const Q = {
|
|
|
4862
4940
|
});
|
|
4863
4941
|
},
|
|
4864
4942
|
base64toFile(e, a) {
|
|
4865
|
-
for (var n = e.split(","), o = n[0].match(/:(.*?);/)[1],
|
|
4866
|
-
u[r] =
|
|
4943
|
+
for (var n = e.split(","), o = n[0].match(/:(.*?);/)[1], i = atob(n[1]), r = i.length, u = new Uint8Array(r); r--; )
|
|
4944
|
+
u[r] = i.charCodeAt(r);
|
|
4867
4945
|
return new File([u], a, { type: o });
|
|
4868
4946
|
},
|
|
4869
4947
|
fileToBase64(e) {
|
|
4870
4948
|
new Promise((a, n) => {
|
|
4871
4949
|
const o = new FileReader();
|
|
4872
|
-
o.readAsDataURL(e), o.onload = () => a(o.result), o.onerror = (
|
|
4950
|
+
o.readAsDataURL(e), o.onload = () => a(o.result), o.onerror = (i) => n(i);
|
|
4873
4951
|
});
|
|
4874
4952
|
},
|
|
4875
4953
|
getUTMParams(e, a) {
|
|
@@ -4877,12 +4955,12 @@ const Q = {
|
|
|
4877
4955
|
return e.utm_source && (n.utm_source = e.utm_source), e.utm_medium && (n.utm_medium = e.utm_medium), e.utm_campaign && (n.utm_campaign = e.utm_campaign), e.utm_term && (n.utm_term = e.utm_term), e.utm_content && (n.utm_content = e.utm_content), n;
|
|
4878
4956
|
},
|
|
4879
4957
|
cropCardScan(e, a) {
|
|
4880
|
-
const n = new window.Image(), o = document.createElement("canvas"),
|
|
4958
|
+
const n = new window.Image(), o = document.createElement("canvas"), i = o.getContext("2d");
|
|
4881
4959
|
n.src = "data:image/jpeg;base64," + e, n.onload = () => {
|
|
4882
4960
|
const r = n.width, u = n.width / 1.65, s = 0, _ = n.height / 2 - u / 2, L = r, q = u;
|
|
4883
|
-
o.width = L, o.height = q,
|
|
4884
|
-
const
|
|
4885
|
-
return a(
|
|
4961
|
+
o.width = L, o.height = q, i.drawImage(n, s, _, r, u, 0, 0, L, q);
|
|
4962
|
+
const Z = o.toDataURL();
|
|
4963
|
+
return a(Z), Z;
|
|
4886
4964
|
};
|
|
4887
4965
|
},
|
|
4888
4966
|
generateRandomString(e) {
|
|
@@ -4894,22 +4972,22 @@ const Q = {
|
|
|
4894
4972
|
return btoa(String.fromCharCode.apply(null, new Uint8Array(o))).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
|
|
4895
4973
|
},
|
|
4896
4974
|
encryptAES(e, a, n) {
|
|
4897
|
-
let
|
|
4975
|
+
let i = new TextEncoder().encode(n, storage);
|
|
4898
4976
|
return window.crypto.subtle.encrypt(
|
|
4899
4977
|
{
|
|
4900
4978
|
name: "AES-CBC",
|
|
4901
4979
|
iv: a
|
|
4902
4980
|
},
|
|
4903
4981
|
e,
|
|
4904
|
-
|
|
4982
|
+
i
|
|
4905
4983
|
);
|
|
4906
4984
|
},
|
|
4907
4985
|
async decryptAES(e, a, n) {
|
|
4908
4986
|
try {
|
|
4909
4987
|
const o = (_) => Uint8Array.from(atob(_), (L) => L.charCodeAt(0));
|
|
4910
4988
|
n = n.replace(/ /g, "+");
|
|
4911
|
-
const
|
|
4912
|
-
e =
|
|
4989
|
+
const i = new TextEncoder(), r = new TextDecoder();
|
|
4990
|
+
e = i.encode(e), a = i.encode(a), n = o(n, storage);
|
|
4913
4991
|
const u = await window.crypto.subtle.importKey("raw", e, "AES-CBC", !0, ["encrypt", "decrypt"]);
|
|
4914
4992
|
let s = await window.crypto.subtle.decrypt({ name: "AES-CBC", iv: a }, u, n);
|
|
4915
4993
|
return s = r.decode(s), s = s.replace(/ /g, "+"), s = atob(s), s;
|
|
@@ -4917,7 +4995,7 @@ const Q = {
|
|
|
4917
4995
|
console.log(o);
|
|
4918
4996
|
}
|
|
4919
4997
|
}
|
|
4920
|
-
},
|
|
4998
|
+
}, G = {
|
|
4921
4999
|
data() {
|
|
4922
5000
|
return {
|
|
4923
5001
|
oktaAuth: null
|
|
@@ -4933,12 +5011,12 @@ const Q = {
|
|
|
4933
5011
|
},
|
|
4934
5012
|
methods: {
|
|
4935
5013
|
async exchangeCode(e) {
|
|
4936
|
-
var
|
|
4937
|
-
let [a, n] = await g(
|
|
5014
|
+
var i, r;
|
|
5015
|
+
let [a, n] = await g(H.post(e.domain + "/v1/token", new URLSearchParams({ code: e.code, client_id: e.clientID, grant_type: "authorization_code", redirect_uri: this.isNative ? "tapni://t.link/callback/okta" : location.origin + "/callback/okta", code_verifier: localStorage.getItem("pkce_code_verifier") })));
|
|
4938
5016
|
if (a)
|
|
4939
5017
|
return this.errorHandler(a);
|
|
4940
5018
|
localStorage.removeItem("pkce_code_verifier");
|
|
4941
|
-
let o = { accessToken: (
|
|
5019
|
+
let o = { accessToken: (i = n.data) == null ? void 0 : i.access_token, domain: e.domain };
|
|
4942
5020
|
if (this.display === "popup" && (o.response_type = "code"), [a, n] = await g(w.oktaSDK(o, this.storage)), a)
|
|
4943
5021
|
return this.oktaLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(a);
|
|
4944
5022
|
if (n.data.success) {
|
|
@@ -4951,29 +5029,29 @@ const Q = {
|
|
|
4951
5029
|
this.errorSnack(this.ssoLang[this.appLang].unexpected_err);
|
|
4952
5030
|
},
|
|
4953
5031
|
async oktaLogin(e) {
|
|
4954
|
-
const a =
|
|
5032
|
+
const a = D.getPlatform() || "web";
|
|
4955
5033
|
let n = btoa("domain=" + e.domain + "&client_id=" + e.clientID + "&platform=" + a + "&rand=" + N.generateRandomString(28)), o = N.generateRandomString(28);
|
|
4956
5034
|
localStorage.setItem("pkce_code_verifier", o);
|
|
4957
|
-
let
|
|
5035
|
+
let i = await N.pkceChallengeFromVerifier(o), r = e.domain + "/v1/authorize", u;
|
|
4958
5036
|
this.isNative ? u = "tapni://t.link/callback/okta" : u = location.origin + "/callback/okta";
|
|
4959
|
-
let s = r + "?response_type=code&client_id=" + encodeURIComponent(e.clientID) + "&state=" + encodeURIComponent(n) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(u) + "&code_challenge=" + encodeURIComponent(
|
|
5037
|
+
let s = r + "?response_type=code&client_id=" + encodeURIComponent(e.clientID) + "&state=" + encodeURIComponent(n) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(u) + "&code_challenge=" + encodeURIComponent(i) + "&code_challenge_method=S256", _ = this, L;
|
|
4960
5038
|
window.addEventListener("message", async (q) => {
|
|
4961
5039
|
if (!this.allowedOrigins.includes(q.origin))
|
|
4962
5040
|
return console.log("Origin is not allowed!");
|
|
4963
5041
|
q.data.type === "okta" && (L = q.data.code, await _.exchangeCode({ domain: e.domain, code: L, clientID: e.clientID }));
|
|
4964
|
-
}, { once: !0 }), this.isNative ? await
|
|
5042
|
+
}, { once: !0 }), this.isNative ? await Q.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
|
|
4965
5043
|
},
|
|
4966
5044
|
async handleOktaRedirect() {
|
|
4967
|
-
let e = this.$route.query.code, a, n, o,
|
|
5045
|
+
let e = this.$route.query.code, a, n, o, i, r = { type: "okta" };
|
|
4968
5046
|
if (e && (r.code = e), this.$route.query.state) {
|
|
4969
5047
|
a = this.$route.query.state, a = atob(a);
|
|
4970
5048
|
const u = new URLSearchParams(a);
|
|
4971
|
-
n = u.get("client_id"), o = u.get("domain"),
|
|
5049
|
+
n = u.get("client_id"), o = u.get("domain"), i = u.get("platform");
|
|
4972
5050
|
}
|
|
4973
|
-
window.opener ? (window.opener.postMessage(r, location.origin), window.close()) : (this.isNative && this.isIOS && await
|
|
5051
|
+
window.opener ? (window.opener.postMessage(r, location.origin), window.close()) : (this.isNative && this.isIOS && await Q.close(), d.$emit("ssoEvent", { name: "setLoading", data: !0 }), e && n && o && await this.exchangeCode({ code: e, clientID: n, domain: o, platform: i }), localStorage.removeItem("pkce_code_verifier"), d.$emit("ssoEvent", { name: "setLoading", data: !1 }));
|
|
4974
5052
|
}
|
|
4975
5053
|
}
|
|
4976
|
-
},
|
|
5054
|
+
}, W = {
|
|
4977
5055
|
data() {
|
|
4978
5056
|
return {
|
|
4979
5057
|
code_verifier: "",
|
|
@@ -4991,20 +5069,20 @@ const Q = {
|
|
|
4991
5069
|
methods: {
|
|
4992
5070
|
async samlLogin(e) {
|
|
4993
5071
|
this.code_verifier = N.generateRandomString(28), localStorage.setItem("pkce_code_verifier", this.code_verifier), this.code_challenge = await N.pkceChallengeFromVerifier(this.code_verifier);
|
|
4994
|
-
const a =
|
|
5072
|
+
const a = D.getPlatform();
|
|
4995
5073
|
let n = Buffer.from(`code_challenge=${this.code_challenge}&platform=${a}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.storage.realm}`).toString("base64");
|
|
4996
5074
|
e = `${e}&RelayState=${n}`;
|
|
4997
5075
|
let o = this;
|
|
4998
|
-
window.addEventListener("message", async (
|
|
5076
|
+
window.addEventListener("message", async (i) => {
|
|
4999
5077
|
var r;
|
|
5000
|
-
if (!this.allowedOrigins.includes(
|
|
5078
|
+
if (!this.allowedOrigins.includes(i.origin))
|
|
5001
5079
|
return console.log("Origin is not allowed!");
|
|
5002
|
-
if (
|
|
5080
|
+
if (i.data.type === "saml" && i.data.code) {
|
|
5003
5081
|
if (this.display === "popup")
|
|
5004
|
-
return (r = window.parent) == null ? void 0 : r.postMessage({ code:
|
|
5005
|
-
await o.exchangeAuthCode({ code:
|
|
5082
|
+
return (r = window.parent) == null ? void 0 : r.postMessage({ code: i.data.code, state: this.$route.query.state, code_verifier: localStorage.getItem("pkce_code_verifier") }, "*");
|
|
5083
|
+
await o.exchangeAuthCode({ code: i.data.code, code_verifier: localStorage.getItem("pkce_code_verifier") }), localStorage.removeItem("pkce_code_verifier");
|
|
5006
5084
|
}
|
|
5007
|
-
}, { once: !0 }), this.isNative ? await
|
|
5085
|
+
}, { once: !0 }), this.isNative ? await Q.open({ url: e, presentationStyle: "popover" }) : window.open(e, "popup", "width=600,height=600");
|
|
5008
5086
|
},
|
|
5009
5087
|
async handleSamlRedirect() {
|
|
5010
5088
|
var n;
|
|
@@ -5012,7 +5090,7 @@ const Q = {
|
|
|
5012
5090
|
if (this.$route.query.code && (a.code = this.$route.query.code), window.opener)
|
|
5013
5091
|
window.opener.postMessage(a, location.origin), window.close();
|
|
5014
5092
|
else {
|
|
5015
|
-
if (this.isNative && this.isIOS && await
|
|
5093
|
+
if (this.isNative && this.isIOS && await Q.close(), EventBus.$emit("ssoEvent", { name: "setLoading", data: !0 }), this.$route.query.code && (e = this.$route.query.code), e) {
|
|
5016
5094
|
if (this.display === "popup")
|
|
5017
5095
|
return (n = window.parent) == null ? void 0 : n.postMessage({ code: e, state: this.$route.query.state }, "*");
|
|
5018
5096
|
await this.exchangeAuthCode({ code: e, code_verifier: localStorage.getItem("pkce_code_verifier") });
|
|
@@ -5021,7 +5099,7 @@ const Q = {
|
|
|
5021
5099
|
}
|
|
5022
5100
|
}
|
|
5023
5101
|
}
|
|
5024
|
-
},
|
|
5102
|
+
}, ea = {
|
|
5025
5103
|
data() {
|
|
5026
5104
|
return {
|
|
5027
5105
|
isQrCodeLogin: !1,
|
|
@@ -5043,14 +5121,14 @@ const Q = {
|
|
|
5043
5121
|
},
|
|
5044
5122
|
methods: {
|
|
5045
5123
|
async changeLoginToQr() {
|
|
5046
|
-
this.isQrCodeLogin = !0, await
|
|
5124
|
+
this.isQrCodeLogin = !0, await J(), await this.initQrCodeLogin();
|
|
5047
5125
|
},
|
|
5048
5126
|
generateRandomHash() {
|
|
5049
5127
|
const e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", a = e.length;
|
|
5050
5128
|
let n = "";
|
|
5051
5129
|
const o = new Uint32Array(32);
|
|
5052
|
-
return window.crypto.getRandomValues(o), o.forEach((
|
|
5053
|
-
n += e.charAt(
|
|
5130
|
+
return window.crypto.getRandomValues(o), o.forEach((i) => {
|
|
5131
|
+
n += e.charAt(i % a);
|
|
5054
5132
|
}), n;
|
|
5055
5133
|
},
|
|
5056
5134
|
refreshQrCode() {
|
|
@@ -5092,14 +5170,14 @@ const Q = {
|
|
|
5092
5170
|
}, 2e3);
|
|
5093
5171
|
},
|
|
5094
5172
|
async initQrCodeLogin() {
|
|
5095
|
-
this.refreshQrCode(), await
|
|
5173
|
+
this.refreshQrCode(), await J(), await this.startQrCodePooling(), this.qrCodeRefreshInterval = setInterval(() => {
|
|
5096
5174
|
this.refreshQrCode();
|
|
5097
5175
|
}, 6e4);
|
|
5098
5176
|
}
|
|
5099
5177
|
}
|
|
5100
|
-
},
|
|
5178
|
+
}, aa = {
|
|
5101
5179
|
name: "AuthLogin",
|
|
5102
|
-
mixins: [
|
|
5180
|
+
mixins: [me, ge, he, $, G, W, z, ea],
|
|
5103
5181
|
props: {
|
|
5104
5182
|
isModal: {
|
|
5105
5183
|
type: Boolean,
|
|
@@ -5178,85 +5256,85 @@ const Q = {
|
|
|
5178
5256
|
return await this.handleSamlRedirect();
|
|
5179
5257
|
}
|
|
5180
5258
|
}
|
|
5181
|
-
},
|
|
5182
|
-
/* @__PURE__ */
|
|
5259
|
+
}, na = /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
5260
|
+
/* @__PURE__ */ t("img", {
|
|
5183
5261
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5184
5262
|
class: "responsive-image",
|
|
5185
5263
|
style: { width: "35%" }
|
|
5186
5264
|
})
|
|
5187
|
-
], -1),
|
|
5188
|
-
|
|
5189
|
-
], ia = /* @__PURE__ */
|
|
5190
|
-
/* @__PURE__ */
|
|
5265
|
+
], -1), ta = [
|
|
5266
|
+
na
|
|
5267
|
+
], ia = /* @__PURE__ */ t("p", { class: "half-bottom small-top center-text color-black" }, null, -1), oa = { key: 1 }, ra = { class: "page-login-field half-top" }, sa = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
5268
|
+
/* @__PURE__ */ t("img", {
|
|
5191
5269
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
5192
5270
|
class: "responsive-image",
|
|
5193
5271
|
style: { width: "50%" }
|
|
5194
5272
|
})
|
|
5195
|
-
], -1),
|
|
5196
|
-
/* @__PURE__ */
|
|
5273
|
+
], -1), ca = ["placeholder"], la = /* @__PURE__ */ t("em", null, null, -1), da = { class: "page-login-field half-bottom" }, pa = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
5274
|
+
/* @__PURE__ */ t("img", {
|
|
5197
5275
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5198
5276
|
class: "responsive-image",
|
|
5199
5277
|
style: { width: "50%" }
|
|
5200
5278
|
})
|
|
5201
|
-
], -1),
|
|
5279
|
+
], -1), ua = ["type", "placeholder"], _a = {
|
|
5202
5280
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5203
5281
|
class: "responsive-image password-reveal-icon"
|
|
5204
|
-
},
|
|
5282
|
+
}, ma = {
|
|
5205
5283
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
5206
5284
|
class: "responsive-image password-reveal-icon"
|
|
5207
|
-
},
|
|
5285
|
+
}, ga = {
|
|
5208
5286
|
type: "submit",
|
|
5209
5287
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5210
|
-
},
|
|
5288
|
+
}, ha = { key: 0 }, fa = {
|
|
5211
5289
|
key: 1,
|
|
5212
5290
|
class: "button--loading button__loader"
|
|
5213
|
-
},
|
|
5291
|
+
}, va = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), ka = /* @__PURE__ */ t("img", {
|
|
5214
5292
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
5215
5293
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
5216
|
-
}, null, -1),
|
|
5294
|
+
}, null, -1), ba = { key: 0 }, ya = {
|
|
5217
5295
|
key: 1,
|
|
5218
5296
|
class: "button--loading button__loader"
|
|
5219
|
-
},
|
|
5297
|
+
}, wa = /* @__PURE__ */ t("img", {
|
|
5220
5298
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
5221
5299
|
style: { position: "absolute", "margin-left": "-10px", padding: "8px 0", height: "100%" }
|
|
5222
|
-
}, null, -1),
|
|
5300
|
+
}, null, -1), za = { key: 0 }, La = {
|
|
5223
5301
|
key: 1,
|
|
5224
5302
|
class: "button--loading-black button__loader"
|
|
5225
|
-
},
|
|
5303
|
+
}, Sa = /* @__PURE__ */ t("img", {
|
|
5226
5304
|
src: "https://cdn.tapni.co/icons/facebook-blue.png",
|
|
5227
5305
|
style: { position: "absolute", "margin-left": "-9px", padding: "10px 0", height: "100%" }
|
|
5228
|
-
}, null, -1), Ca = { key: 0 },
|
|
5306
|
+
}, null, -1), Ca = { key: 0 }, Ta = {
|
|
5229
5307
|
key: 1,
|
|
5230
5308
|
class: "button--loading-black button__loader"
|
|
5231
|
-
},
|
|
5309
|
+
}, ja = /* @__PURE__ */ t("img", {
|
|
5232
5310
|
src: "https://cdn.tapni.co/icons/outlook.png",
|
|
5233
5311
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5234
|
-
}, null, -1),
|
|
5312
|
+
}, null, -1), Pa = { key: 0 }, Aa = {
|
|
5235
5313
|
key: 1,
|
|
5236
5314
|
class: "button--loading-black button__loader"
|
|
5237
|
-
},
|
|
5315
|
+
}, Ia = /* @__PURE__ */ t("img", {
|
|
5238
5316
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
5239
5317
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5240
|
-
}, null, -1),
|
|
5318
|
+
}, null, -1), Ea = { key: 0 }, xa = {
|
|
5241
5319
|
key: 1,
|
|
5242
5320
|
class: "button--loading-black button__loader"
|
|
5243
|
-
},
|
|
5321
|
+
}, qa = /* @__PURE__ */ t("img", {
|
|
5244
5322
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
5245
5323
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5246
|
-
}, null, -1),
|
|
5324
|
+
}, null, -1), Ma = { key: 0 }, Ra = {
|
|
5247
5325
|
key: 1,
|
|
5248
5326
|
class: "button--loading-black button__loader"
|
|
5249
|
-
},
|
|
5327
|
+
}, Na = /* @__PURE__ */ t("img", {
|
|
5250
5328
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5251
5329
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
5252
|
-
}, null, -1),
|
|
5330
|
+
}, null, -1), Va = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Oa = { class: "close-text center-text half-top color-black" }, Ba = /* @__PURE__ */ t("br", null, null, -1), Da = {
|
|
5253
5331
|
class: "",
|
|
5254
5332
|
href: "https://tapni.co/policies/terms-of-service"
|
|
5255
|
-
},
|
|
5333
|
+
}, Ua = { href: "https://tapni.co/policies/privacy-policy" }, Ka = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Ha = {
|
|
5256
5334
|
key: 9,
|
|
5257
5335
|
class: "page-login-links"
|
|
5258
|
-
},
|
|
5259
|
-
function
|
|
5336
|
+
}, Fa = /* @__PURE__ */ t("div", { class: "clear" }, null, -1), Qa = { class: "forgot center-text pointer small-top" }, $a = /* @__PURE__ */ t("br", null, null, -1), Ga = /* @__PURE__ */ t("div", { class: "clear" }, null, -1);
|
|
5337
|
+
function Wa(e, a, n, o, i, r) {
|
|
5260
5338
|
const u = V("router-link");
|
|
5261
5339
|
return c(), l("form", {
|
|
5262
5340
|
class: "page-login content-boxed content-boxed-padding",
|
|
@@ -5269,18 +5347,18 @@ function Ga(e, a, n, o, t, r) {
|
|
|
5269
5347
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5270
5348
|
class: "color-black pull-right pointer",
|
|
5271
5349
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5272
|
-
},
|
|
5273
|
-
|
|
5350
|
+
}, ta)) : h("", !0),
|
|
5351
|
+
t("h1", {
|
|
5274
5352
|
class: "bold no-bottom center-text",
|
|
5275
5353
|
style: { "margin-top": "63px" },
|
|
5276
5354
|
onClick: a[1] || (a[1] = (...s) => r.bum && r.bum(...s))
|
|
5277
5355
|
}, p(this.ssoLang[this.appLang].login), 1),
|
|
5278
5356
|
ia,
|
|
5279
|
-
r.displayFormLogin ? (c(), l("span",
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
k(
|
|
5283
|
-
"onUpdate:modelValue": a[2] || (a[2] = (s) =>
|
|
5357
|
+
r.displayFormLogin ? (c(), l("span", oa, [
|
|
5358
|
+
t("div", ra, [
|
|
5359
|
+
sa,
|
|
5360
|
+
k(t("input", {
|
|
5361
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => i.emailOrUsername = s),
|
|
5284
5362
|
onKeydown: a[3] || (a[3] = E(y(() => {
|
|
5285
5363
|
}, ["prevent"]), ["space"])),
|
|
5286
5364
|
autocorrect: "off",
|
|
@@ -5290,117 +5368,117 @@ function Ga(e, a, n, o, t, r) {
|
|
|
5290
5368
|
name: "email",
|
|
5291
5369
|
placeholder: e.ssoLang[this.appLang].email_username,
|
|
5292
5370
|
required: ""
|
|
5293
|
-
}, null, 40,
|
|
5294
|
-
[x,
|
|
5371
|
+
}, null, 40, ca), [
|
|
5372
|
+
[x, i.emailOrUsername]
|
|
5295
5373
|
]),
|
|
5296
|
-
|
|
5374
|
+
la
|
|
5297
5375
|
]),
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
k(
|
|
5301
|
-
"onUpdate:modelValue": a[4] || (a[4] = (s) =>
|
|
5302
|
-
type:
|
|
5376
|
+
t("div", da, [
|
|
5377
|
+
pa,
|
|
5378
|
+
k(t("input", {
|
|
5379
|
+
"onUpdate:modelValue": a[4] || (a[4] = (s) => i.password = s),
|
|
5380
|
+
type: i.revealPassword ? "text" : "password",
|
|
5303
5381
|
placeholder: e.ssoLang[this.appLang].password,
|
|
5304
5382
|
name: "password",
|
|
5305
5383
|
required: "",
|
|
5306
5384
|
minlength: "8"
|
|
5307
|
-
}, null, 8,
|
|
5308
|
-
[
|
|
5385
|
+
}, null, 8, ua), [
|
|
5386
|
+
[K, i.password]
|
|
5309
5387
|
]),
|
|
5310
|
-
|
|
5311
|
-
onClick: a[5] || (a[5] = (s) =>
|
|
5388
|
+
t("em", {
|
|
5389
|
+
onClick: a[5] || (a[5] = (s) => i.revealPassword = !i.revealPassword),
|
|
5312
5390
|
class: "pointer"
|
|
5313
5391
|
}, [
|
|
5314
|
-
k(
|
|
5315
|
-
[I, !
|
|
5392
|
+
k(t("img", _a, null, 512), [
|
|
5393
|
+
[I, !i.revealPassword]
|
|
5316
5394
|
]),
|
|
5317
|
-
k(
|
|
5318
|
-
[I,
|
|
5395
|
+
k(t("img", ma, null, 512), [
|
|
5396
|
+
[I, i.revealPassword]
|
|
5319
5397
|
])
|
|
5320
5398
|
])
|
|
5321
5399
|
]),
|
|
5322
|
-
|
|
5323
|
-
|
|
5400
|
+
t("button", ga, [
|
|
5401
|
+
i.submitted ? (c(), l("span", fa)) : (c(), l("span", ha, p(e.ssoLang[e.appLang].login), 1))
|
|
5324
5402
|
])
|
|
5325
5403
|
])) : h("", !0),
|
|
5326
|
-
|
|
5404
|
+
va,
|
|
5327
5405
|
e.displayAppleLogin ? (c(), l("a", {
|
|
5328
5406
|
key: 2,
|
|
5329
5407
|
onClick: a[6] || (a[6] = (...s) => e.appleLogin && e.appleLogin(...s)),
|
|
5330
5408
|
class: "button-center button button-90 google-button pointer"
|
|
5331
5409
|
}, [
|
|
5332
|
-
|
|
5333
|
-
e.appleLoad ? (c(), l("span",
|
|
5410
|
+
ka,
|
|
5411
|
+
e.appleLoad ? (c(), l("span", ya)) : (c(), l("span", ba, p(e.ssoLang[e.appLang].sign_in_with) + " Apple", 1))
|
|
5334
5412
|
])) : h("", !0),
|
|
5335
5413
|
e.displayGoogleLogin ? (c(), l("a", {
|
|
5336
5414
|
key: 3,
|
|
5337
5415
|
onClick: a[7] || (a[7] = (...s) => e.googleLogin && e.googleLogin(...s)),
|
|
5338
5416
|
class: "button-center button button-90 google-button pointer"
|
|
5339
5417
|
}, [
|
|
5340
|
-
|
|
5341
|
-
e.googleLoad ? (c(), l("span",
|
|
5418
|
+
wa,
|
|
5419
|
+
e.googleLoad ? (c(), l("span", La)) : (c(), l("span", za, p(e.ssoLang[e.appLang].sign_in_with) + " Google", 1))
|
|
5342
5420
|
])) : h("", !0),
|
|
5343
5421
|
e.displayFacebookLogin ? (c(), l("a", {
|
|
5344
5422
|
key: 4,
|
|
5345
5423
|
onClick: a[8] || (a[8] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
|
|
5346
5424
|
class: "button-center button button-90 google-button pointer"
|
|
5347
5425
|
}, [
|
|
5348
|
-
|
|
5349
|
-
e.facebookLoad ? (c(), l("span",
|
|
5426
|
+
Sa,
|
|
5427
|
+
e.facebookLoad ? (c(), l("span", Ta)) : (c(), l("span", Ca, p(e.ssoLang[e.appLang].sign_in_with) + " Facebook", 1))
|
|
5350
5428
|
])) : h("", !0),
|
|
5351
5429
|
e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
|
|
5352
5430
|
key: 5,
|
|
5353
5431
|
onClick: a[9] || (a[9] = (...s) => e.microsoftLogin && e.microsoftLogin(...s)),
|
|
5354
5432
|
class: "button-center button button-90 google-button pointer"
|
|
5355
5433
|
}, [
|
|
5356
|
-
|
|
5357
|
-
e.microsoftLoad ? (c(), l("span",
|
|
5434
|
+
ja,
|
|
5435
|
+
e.microsoftLoad ? (c(), l("span", Aa)) : (c(), l("span", Pa, p(e.ssoLang[e.appLang].sign_in_with) + " Outlook", 1))
|
|
5358
5436
|
])),
|
|
5359
5437
|
e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
|
|
5360
5438
|
key: 6,
|
|
5361
5439
|
onClick: a[10] || (a[10] = (...s) => e.ssoLogin && e.ssoLogin(...s)),
|
|
5362
5440
|
class: "button-center button button-90 google-button pointer"
|
|
5363
5441
|
}, [
|
|
5364
|
-
|
|
5365
|
-
e.microsoftSSOLoad ? (c(), l("span",
|
|
5442
|
+
Ia,
|
|
5443
|
+
e.microsoftSSOLoad ? (c(), l("span", xa)) : (c(), l("span", Ea, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1))
|
|
5366
5444
|
])),
|
|
5367
5445
|
e.displayMicrosoftSSOLogin ? (c(), l("a", {
|
|
5368
5446
|
key: 7,
|
|
5369
5447
|
onClick: a[11] || (a[11] = (s) => e.microsoftLogin("sso")),
|
|
5370
5448
|
class: "button-center button button-90 google-button pointer"
|
|
5371
5449
|
}, [
|
|
5372
|
-
|
|
5373
|
-
e.microsoftSSOLoad ? (c(), l("span",
|
|
5450
|
+
qa,
|
|
5451
|
+
e.microsoftSSOLoad ? (c(), l("span", Ma, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1)) : (c(), l("span", Ra))
|
|
5374
5452
|
])) : h("", !0),
|
|
5375
5453
|
r.displayFormLogin ? h("", !0) : (c(), l("a", {
|
|
5376
5454
|
key: 8,
|
|
5377
|
-
onClick: a[12] || (a[12] = (s) =>
|
|
5455
|
+
onClick: a[12] || (a[12] = (s) => i.emailLogin = !0),
|
|
5378
5456
|
class: "button-center button button-90 google-button pointer"
|
|
5379
5457
|
}, [
|
|
5380
|
-
|
|
5381
|
-
|
|
5458
|
+
Na,
|
|
5459
|
+
t("span", null, p(e.ssoLang[e.appLang].sign_in_with) + " Email", 1)
|
|
5382
5460
|
])),
|
|
5383
|
-
|
|
5384
|
-
|
|
5461
|
+
Va,
|
|
5462
|
+
t("p", Oa, [
|
|
5385
5463
|
f(p(e.ssoLang[e.appLang].terms_by_signing_in) + " ", 1),
|
|
5386
|
-
|
|
5387
|
-
|
|
5464
|
+
Ba,
|
|
5465
|
+
t("a", Da, p(e.ssoLang[this.appLang].terms_of_service), 1),
|
|
5388
5466
|
f(" " + p(e.ssoLang[e.appLang].and) + " ", 1),
|
|
5389
|
-
|
|
5467
|
+
t("a", Ua, p(e.ssoLang[this.appLang].privacy_policy), 1)
|
|
5390
5468
|
]),
|
|
5391
|
-
|
|
5469
|
+
Ka,
|
|
5392
5470
|
n.isModal ? (c(), l("div", {
|
|
5393
5471
|
key: 10,
|
|
5394
5472
|
class: "page-login-links",
|
|
5395
5473
|
onClick: a[13] || (a[13] = (...s) => r.createAccountModal && r.createAccountModal(...s))
|
|
5396
5474
|
}, [
|
|
5397
|
-
|
|
5475
|
+
t("a", Qa, [
|
|
5398
5476
|
f(p(e.ssoLang[e.appLang].or) + " ", 1),
|
|
5399
|
-
|
|
5477
|
+
$a,
|
|
5400
5478
|
f(" " + p(e.ssoLang[e.appLang].create_new_account), 1)
|
|
5401
5479
|
]),
|
|
5402
|
-
|
|
5403
|
-
])) : (c(), l("div",
|
|
5480
|
+
Ga
|
|
5481
|
+
])) : (c(), l("div", Ha, [
|
|
5404
5482
|
r.displayRegisterLogin ? (c(), P(u, {
|
|
5405
5483
|
key: 0,
|
|
5406
5484
|
class: "forgot float-right",
|
|
@@ -5421,13 +5499,13 @@ function Ga(e, a, n, o, t, r) {
|
|
|
5421
5499
|
]),
|
|
5422
5500
|
_: 1
|
|
5423
5501
|
})) : h("", !0),
|
|
5424
|
-
|
|
5502
|
+
Fa
|
|
5425
5503
|
]))
|
|
5426
5504
|
], 36);
|
|
5427
5505
|
}
|
|
5428
|
-
const
|
|
5506
|
+
const fe = /* @__PURE__ */ T(aa, [["render", Wa]]), Xa = {
|
|
5429
5507
|
name: "AuthRegister",
|
|
5430
|
-
mixins: [
|
|
5508
|
+
mixins: [me, ge, he, $, z],
|
|
5431
5509
|
props: {
|
|
5432
5510
|
isModal: {
|
|
5433
5511
|
type: Boolean,
|
|
@@ -5492,76 +5570,76 @@ const he = /* @__PURE__ */ T(ea, [["render", Ga]]), Wa = {
|
|
|
5492
5570
|
this.storage.referral = e;
|
|
5493
5571
|
}
|
|
5494
5572
|
}
|
|
5495
|
-
}, Ya = /* @__PURE__ */
|
|
5496
|
-
/* @__PURE__ */
|
|
5573
|
+
}, Ya = /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
5574
|
+
/* @__PURE__ */ t("img", {
|
|
5497
5575
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5498
5576
|
class: "responsive-image",
|
|
5499
5577
|
style: { width: "35%" }
|
|
5500
5578
|
})
|
|
5501
|
-
], -1),
|
|
5579
|
+
], -1), Za = [
|
|
5502
5580
|
Ya
|
|
5503
|
-
],
|
|
5581
|
+
], Ja = {
|
|
5504
5582
|
class: "bold no-bottom center-text",
|
|
5505
5583
|
style: { "margin-top": "63px" }
|
|
5506
|
-
},
|
|
5507
|
-
/* @__PURE__ */
|
|
5584
|
+
}, en = { class: "half-bottom small-top center-text color-black" }, an = { key: 0 }, nn = /* @__PURE__ */ t("br", null, null, -1), tn = { key: 1 }, on = { class: "page-login-field half-top" }, rn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
5585
|
+
/* @__PURE__ */ t("img", {
|
|
5508
5586
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5509
5587
|
class: "responsive-image",
|
|
5510
5588
|
style: { width: "60%" }
|
|
5511
5589
|
})
|
|
5512
|
-
], -1),
|
|
5513
|
-
/* @__PURE__ */
|
|
5590
|
+
], -1), sn = ["placeholder"], cn = /* @__PURE__ */ t("em", null, null, -1), ln = { class: "page-login-field half-top" }, dn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
5591
|
+
/* @__PURE__ */ t("img", {
|
|
5514
5592
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
5515
5593
|
class: "responsive-image",
|
|
5516
5594
|
style: { width: "50%" }
|
|
5517
5595
|
})
|
|
5518
|
-
], -1),
|
|
5519
|
-
/* @__PURE__ */
|
|
5596
|
+
], -1), pn = ["placeholder", "disabled"], un = /* @__PURE__ */ t("em", null, null, -1), _n = { class: "page-login-field half-top half-bottom" }, mn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
5597
|
+
/* @__PURE__ */ t("img", {
|
|
5520
5598
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5521
5599
|
class: "responsive-image",
|
|
5522
5600
|
style: { width: "50%" }
|
|
5523
5601
|
})
|
|
5524
|
-
], -1),
|
|
5602
|
+
], -1), gn = ["type", "placeholder"], hn = {
|
|
5525
5603
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5526
5604
|
class: "responsive-image password-reveal-icon"
|
|
5527
|
-
},
|
|
5605
|
+
}, fn = {
|
|
5528
5606
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
5529
5607
|
class: "responsive-image password-reveal-icon"
|
|
5530
|
-
},
|
|
5608
|
+
}, vn = {
|
|
5531
5609
|
type: "submit",
|
|
5532
5610
|
class: "button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"
|
|
5533
|
-
},
|
|
5611
|
+
}, kn = { key: 0 }, bn = {
|
|
5534
5612
|
key: 1,
|
|
5535
5613
|
class: "button--loading button__loader"
|
|
5536
|
-
},
|
|
5614
|
+
}, yn = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), wn = /* @__PURE__ */ t("img", {
|
|
5537
5615
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
5538
5616
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
5539
|
-
}, null, -1),
|
|
5617
|
+
}, null, -1), zn = { key: 0 }, Ln = {
|
|
5540
5618
|
key: 1,
|
|
5541
5619
|
class: "button--loading button__loader"
|
|
5542
|
-
},
|
|
5620
|
+
}, Sn = /* @__PURE__ */ t("img", {
|
|
5543
5621
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
5544
5622
|
style: { position: "absolute", "margin-left": "-9px", padding: "8px 0", height: "100%" }
|
|
5545
|
-
}, null, -1), Cn = { key: 0 },
|
|
5623
|
+
}, null, -1), Cn = { key: 0 }, Tn = {
|
|
5546
5624
|
key: 1,
|
|
5547
5625
|
class: "button--loading button__loader"
|
|
5548
|
-
},
|
|
5626
|
+
}, jn = /* @__PURE__ */ t("img", {
|
|
5549
5627
|
src: "https://cdn.tapni.co/icons/facebook-blue.png",
|
|
5550
5628
|
style: { position: "absolute", "margin-left": "-10px", padding: "10px 0", height: "100%" }
|
|
5551
|
-
}, null, -1),
|
|
5629
|
+
}, null, -1), Pn = { key: 0 }, An = {
|
|
5552
5630
|
key: 1,
|
|
5553
5631
|
class: "button--loading button__loader"
|
|
5554
|
-
},
|
|
5632
|
+
}, In = /* @__PURE__ */ t("img", {
|
|
5555
5633
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5556
5634
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
5557
|
-
}, null, -1),
|
|
5635
|
+
}, null, -1), En = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), xn = { class: "close-text center-text half-top color-black" }, qn = /* @__PURE__ */ t("br", null, null, -1), Mn = {
|
|
5558
5636
|
class: "",
|
|
5559
5637
|
href: "https://tapni.co/policies/terms-of-service"
|
|
5560
|
-
},
|
|
5638
|
+
}, Rn = { href: "https://tapni.co/policies/privacy-policy" }, Nn = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Vn = {
|
|
5561
5639
|
key: 5,
|
|
5562
5640
|
class: "page-login-links"
|
|
5563
|
-
},
|
|
5564
|
-
function
|
|
5641
|
+
}, On = /* @__PURE__ */ t("div", { class: "clear" }, null, -1), Bn = { class: "forgot center-text pointer small-top" }, Dn = /* @__PURE__ */ t("br", null, null, -1), Un = /* @__PURE__ */ t("div", { class: "clear" }, null, -1);
|
|
5642
|
+
function Kn(e, a, n, o, i, r) {
|
|
5565
5643
|
const u = V("router-link");
|
|
5566
5644
|
return c(), l("form", {
|
|
5567
5645
|
class: "page-login content-boxed content-boxed-padding",
|
|
@@ -5574,34 +5652,34 @@ function Un(e, a, n, o, t, r) {
|
|
|
5574
5652
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5575
5653
|
class: "color-black pull-right pointer",
|
|
5576
5654
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5577
|
-
},
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
f(" t.link/" + p(
|
|
5582
|
-
|
|
5655
|
+
}, Za)) : h("", !0),
|
|
5656
|
+
t("h1", Ja, p(e.ssoLang[this.appLang].register), 1),
|
|
5657
|
+
t("p", en, [
|
|
5658
|
+
i.usernameRegister ? (c(), l("span", an, [
|
|
5659
|
+
f(" t.link/" + p(i.username) + " " + p(e.ssoLang[this.appLang].username_is_free) + " ✅ ", 1),
|
|
5660
|
+
nn
|
|
5583
5661
|
])) : h("", !0)
|
|
5584
5662
|
]),
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
k(
|
|
5589
|
-
"onUpdate:modelValue": a[1] || (a[1] = (s) =>
|
|
5663
|
+
i.emailLogin ? (c(), l("span", tn, [
|
|
5664
|
+
t("div", on, [
|
|
5665
|
+
rn,
|
|
5666
|
+
k(t("input", {
|
|
5667
|
+
"onUpdate:modelValue": a[1] || (a[1] = (s) => i.email = s),
|
|
5590
5668
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
5591
5669
|
}, ["prevent"]), ["space"])),
|
|
5592
5670
|
type: "email",
|
|
5593
5671
|
placeholder: e.ssoLang[this.appLang].email,
|
|
5594
5672
|
name: "email",
|
|
5595
5673
|
required: ""
|
|
5596
|
-
}, null, 40,
|
|
5597
|
-
[x,
|
|
5674
|
+
}, null, 40, sn), [
|
|
5675
|
+
[x, i.email]
|
|
5598
5676
|
]),
|
|
5599
|
-
|
|
5677
|
+
cn
|
|
5600
5678
|
]),
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
k(
|
|
5604
|
-
"onUpdate:modelValue": a[3] || (a[3] = (s) =>
|
|
5679
|
+
t("div", ln, [
|
|
5680
|
+
dn,
|
|
5681
|
+
k(t("input", {
|
|
5682
|
+
"onUpdate:modelValue": a[3] || (a[3] = (s) => i.username = s),
|
|
5605
5683
|
onKeydown: a[4] || (a[4] = E(y(() => {
|
|
5606
5684
|
}, ["prevent"]), ["space"])),
|
|
5607
5685
|
type: "text",
|
|
@@ -5611,94 +5689,94 @@ function Un(e, a, n, o, t, r) {
|
|
|
5611
5689
|
placeholder: e.ssoLang[this.appLang].username,
|
|
5612
5690
|
name: "username",
|
|
5613
5691
|
required: "",
|
|
5614
|
-
disabled:
|
|
5615
|
-
class: b({ "input-disabled":
|
|
5616
|
-
}, null, 42,
|
|
5617
|
-
[x,
|
|
5692
|
+
disabled: i.usernameRegister,
|
|
5693
|
+
class: b({ "input-disabled": i.usernameRegister })
|
|
5694
|
+
}, null, 42, pn), [
|
|
5695
|
+
[x, i.username]
|
|
5618
5696
|
]),
|
|
5619
|
-
|
|
5697
|
+
un
|
|
5620
5698
|
]),
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
k(
|
|
5624
|
-
"onUpdate:modelValue": a[5] || (a[5] = (s) =>
|
|
5625
|
-
type:
|
|
5699
|
+
t("div", _n, [
|
|
5700
|
+
mn,
|
|
5701
|
+
k(t("input", {
|
|
5702
|
+
"onUpdate:modelValue": a[5] || (a[5] = (s) => i.password = s),
|
|
5703
|
+
type: i.revealPassword ? "text" : "password",
|
|
5626
5704
|
placeholder: e.ssoLang[this.appLang].password,
|
|
5627
5705
|
name: "password",
|
|
5628
5706
|
required: "",
|
|
5629
5707
|
minlength: "8"
|
|
5630
|
-
}, null, 8,
|
|
5631
|
-
[
|
|
5708
|
+
}, null, 8, gn), [
|
|
5709
|
+
[K, i.password]
|
|
5632
5710
|
]),
|
|
5633
|
-
|
|
5634
|
-
onClick: a[6] || (a[6] = (s) =>
|
|
5711
|
+
t("em", {
|
|
5712
|
+
onClick: a[6] || (a[6] = (s) => i.revealPassword = !i.revealPassword),
|
|
5635
5713
|
class: "pointer"
|
|
5636
5714
|
}, [
|
|
5637
|
-
k(
|
|
5638
|
-
[I, !
|
|
5715
|
+
k(t("img", hn, null, 512), [
|
|
5716
|
+
[I, !i.revealPassword]
|
|
5639
5717
|
]),
|
|
5640
|
-
k(
|
|
5641
|
-
[I,
|
|
5718
|
+
k(t("img", fn, null, 512), [
|
|
5719
|
+
[I, i.revealPassword]
|
|
5642
5720
|
])
|
|
5643
5721
|
])
|
|
5644
5722
|
]),
|
|
5645
|
-
|
|
5646
|
-
|
|
5723
|
+
t("button", vn, [
|
|
5724
|
+
i.submitted ? (c(), l("span", bn)) : (c(), l("span", kn, p(i.formButtonText), 1))
|
|
5647
5725
|
])
|
|
5648
5726
|
])) : h("", !0),
|
|
5649
|
-
|
|
5727
|
+
yn,
|
|
5650
5728
|
e.displayAppleLogin ? (c(), l("a", {
|
|
5651
5729
|
key: 2,
|
|
5652
5730
|
onClick: a[7] || (a[7] = (...s) => e.appleLogin && e.appleLogin(...s)),
|
|
5653
5731
|
class: "button-center button button-90 google-button pointer"
|
|
5654
5732
|
}, [
|
|
5655
|
-
|
|
5656
|
-
e.appleLoad ? (c(), l("span",
|
|
5733
|
+
wn,
|
|
5734
|
+
e.appleLoad ? (c(), l("span", Ln)) : (c(), l("span", zn, p(e.ssoLang[this.appLang].sign_up_with) + " Apple", 1))
|
|
5657
5735
|
])) : h("", !0),
|
|
5658
|
-
|
|
5736
|
+
t("a", {
|
|
5659
5737
|
onClick: a[8] || (a[8] = (...s) => e.googleLogin && e.googleLogin(...s)),
|
|
5660
5738
|
class: "button-center button button-90 google-button pointer"
|
|
5661
5739
|
}, [
|
|
5662
|
-
|
|
5663
|
-
e.googleLoad ? (c(), l("span",
|
|
5740
|
+
Sn,
|
|
5741
|
+
e.googleLoad ? (c(), l("span", Tn)) : (c(), l("span", Cn, p(e.ssoLang[this.appLang].sign_up_with) + " Google", 1))
|
|
5664
5742
|
]),
|
|
5665
5743
|
e.displayFacebookLogin ? (c(), l("a", {
|
|
5666
5744
|
key: 3,
|
|
5667
5745
|
onClick: a[9] || (a[9] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
|
|
5668
5746
|
class: "button-center button button-90 google-button pointer"
|
|
5669
5747
|
}, [
|
|
5670
|
-
|
|
5671
|
-
e.facebookLoad ? (c(), l("span",
|
|
5748
|
+
jn,
|
|
5749
|
+
e.facebookLoad ? (c(), l("span", An)) : (c(), l("span", Pn, p(e.ssoLang[this.appLang].sign_up_with) + " Facebook", 1))
|
|
5672
5750
|
])) : h("", !0),
|
|
5673
|
-
|
|
5751
|
+
i.emailLogin ? h("", !0) : (c(), l("a", {
|
|
5674
5752
|
key: 4,
|
|
5675
|
-
onClick: a[10] || (a[10] = (s) =>
|
|
5753
|
+
onClick: a[10] || (a[10] = (s) => i.emailLogin = !0),
|
|
5676
5754
|
class: "button-center button button-90 google-button pointer"
|
|
5677
5755
|
}, [
|
|
5678
|
-
|
|
5679
|
-
|
|
5756
|
+
In,
|
|
5757
|
+
t("span", null, p(e.ssoLang[this.appLang].sign_up_with) + " Email", 1)
|
|
5680
5758
|
])),
|
|
5681
|
-
|
|
5682
|
-
|
|
5759
|
+
En,
|
|
5760
|
+
t("p", xn, [
|
|
5683
5761
|
f(p(e.ssoLang[this.appLang].terms_by_registering) + " ", 1),
|
|
5684
|
-
|
|
5685
|
-
|
|
5762
|
+
qn,
|
|
5763
|
+
t("a", Mn, p(e.ssoLang[this.appLang].terms_of_service), 1),
|
|
5686
5764
|
f(" " + p(e.ssoLang[this.appLang].and) + " ", 1),
|
|
5687
|
-
|
|
5765
|
+
t("a", Rn, p(e.ssoLang[this.appLang].privacy_policy), 1)
|
|
5688
5766
|
]),
|
|
5689
|
-
|
|
5767
|
+
Nn,
|
|
5690
5768
|
n.isModal ? (c(), l("div", {
|
|
5691
5769
|
key: 6,
|
|
5692
5770
|
class: "page-login-links",
|
|
5693
5771
|
onClick: a[11] || (a[11] = (...s) => r.loginAccountModal && r.loginAccountModal(...s))
|
|
5694
5772
|
}, [
|
|
5695
|
-
|
|
5773
|
+
t("a", Bn, [
|
|
5696
5774
|
f(p(e.ssoLang[this.appLang].or) + " ", 1),
|
|
5697
|
-
|
|
5775
|
+
Dn,
|
|
5698
5776
|
f(" " + p(e.ssoLang[this.appLang].sign_in_with_new), 1)
|
|
5699
5777
|
]),
|
|
5700
|
-
|
|
5701
|
-
])) : (c(), l("div",
|
|
5778
|
+
Un
|
|
5779
|
+
])) : (c(), l("div", Vn, [
|
|
5702
5780
|
v(u, {
|
|
5703
5781
|
class: "create float-right",
|
|
5704
5782
|
to: "/verify"
|
|
@@ -5717,11 +5795,11 @@ function Un(e, a, n, o, t, r) {
|
|
|
5717
5795
|
]),
|
|
5718
5796
|
_: 1
|
|
5719
5797
|
}),
|
|
5720
|
-
|
|
5798
|
+
On
|
|
5721
5799
|
]))
|
|
5722
5800
|
], 36);
|
|
5723
5801
|
}
|
|
5724
|
-
const
|
|
5802
|
+
const ve = /* @__PURE__ */ T(Xa, [["render", Kn]]), Hn = {
|
|
5725
5803
|
name: "AuthVerify",
|
|
5726
5804
|
mixins: [z],
|
|
5727
5805
|
props: {
|
|
@@ -5784,43 +5862,43 @@ const fe = /* @__PURE__ */ T(Wa, [["render", Un]]), Kn = {
|
|
|
5784
5862
|
deep: !0
|
|
5785
5863
|
}
|
|
5786
5864
|
}
|
|
5787
|
-
},
|
|
5788
|
-
/* @__PURE__ */
|
|
5865
|
+
}, C = (e) => (O("data-v-2fd511e2"), e = e(), B(), e), Fn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
5866
|
+
/* @__PURE__ */ t("img", {
|
|
5789
5867
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5790
5868
|
class: "responsive-image",
|
|
5791
5869
|
style: { width: "35%" }
|
|
5792
5870
|
})
|
|
5793
|
-
], -1)),
|
|
5794
|
-
|
|
5795
|
-
],
|
|
5871
|
+
], -1)), Qn = [
|
|
5872
|
+
Fn
|
|
5873
|
+
], $n = {
|
|
5796
5874
|
class: "bold no-bottom center-text",
|
|
5797
5875
|
style: { "margin-top": "63px" }
|
|
5798
|
-
},
|
|
5799
|
-
/* @__PURE__ */
|
|
5876
|
+
}, Gn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("p", { class: "half-bottom half-top center-text color-black" }, null, -1)), Wn = { class: "page-login-field half-top" }, Xn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
5877
|
+
/* @__PURE__ */ t("img", {
|
|
5800
5878
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5801
5879
|
class: "responsive-image",
|
|
5802
5880
|
style: { width: "80%" }
|
|
5803
5881
|
})
|
|
5804
|
-
], -1)), Yn = ["placeholder"],
|
|
5805
|
-
/* @__PURE__ */
|
|
5882
|
+
], -1)), Yn = ["placeholder"], Zn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("em", null, null, -1)), Jn = { class: "page-login-field half-top" }, et = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
5883
|
+
/* @__PURE__ */ t("img", {
|
|
5806
5884
|
src: "https://cdn.tapni.co/icons/password2.png",
|
|
5807
5885
|
class: "responsive-image",
|
|
5808
5886
|
style: { width: "100%" }
|
|
5809
5887
|
})
|
|
5810
|
-
], -1)),
|
|
5888
|
+
], -1)), at = ["placeholder"], nt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("em", null, null, -1)), tt = {
|
|
5811
5889
|
type: "submit",
|
|
5812
5890
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5813
|
-
},
|
|
5891
|
+
}, it = {
|
|
5814
5892
|
key: 0,
|
|
5815
5893
|
class: "uppercase"
|
|
5816
|
-
},
|
|
5894
|
+
}, ot = {
|
|
5817
5895
|
key: 1,
|
|
5818
5896
|
class: "button--loading button__loader"
|
|
5819
|
-
},
|
|
5897
|
+
}, rt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), st = { class: "close-text center-text half-top color-black" }, ct = ["innerHTML"], lt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("a", { href: "mailto:support@tapni.co?subject=Email Verification" }, " support@tapni.co", -1)), dt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), pt = {
|
|
5820
5898
|
key: 1,
|
|
5821
5899
|
class: "page-login-links"
|
|
5822
|
-
},
|
|
5823
|
-
function
|
|
5900
|
+
}, ut = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), _t = { class: "forgot center-text pointer small-top" }, mt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("br", null, null, -1)), gt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1));
|
|
5901
|
+
function ht(e, a, n, o, i, r) {
|
|
5824
5902
|
const u = V("router-link");
|
|
5825
5903
|
return c(), l("form", {
|
|
5826
5904
|
class: "page-login content-boxed content-boxed-padding",
|
|
@@ -5832,62 +5910,62 @@ function gi(e, a, n, o, t, r) {
|
|
|
5832
5910
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5833
5911
|
class: "color-black pull-right pointer",
|
|
5834
5912
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5835
|
-
},
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
5840
|
-
k(
|
|
5913
|
+
}, Qn)) : h("", !0),
|
|
5914
|
+
t("h1", $n, p(e.ssoLang[this.appLang].verify_account), 1),
|
|
5915
|
+
Gn,
|
|
5916
|
+
t("div", Wn, [
|
|
5917
|
+
Xn,
|
|
5918
|
+
k(t("input", {
|
|
5841
5919
|
id: "emailInput",
|
|
5842
|
-
"onUpdate:modelValue": a[1] || (a[1] = (s) =>
|
|
5920
|
+
"onUpdate:modelValue": a[1] || (a[1] = (s) => i.email = s),
|
|
5843
5921
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
5844
5922
|
}, ["prevent"]), ["space"])),
|
|
5845
5923
|
type: "email",
|
|
5846
5924
|
placeholder: e.ssoLang[this.appLang].email,
|
|
5847
5925
|
required: ""
|
|
5848
5926
|
}, null, 40, Yn), [
|
|
5849
|
-
[x,
|
|
5927
|
+
[x, i.email]
|
|
5850
5928
|
]),
|
|
5851
|
-
|
|
5929
|
+
Zn
|
|
5852
5930
|
]),
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
k(
|
|
5931
|
+
t("div", Jn, [
|
|
5932
|
+
et,
|
|
5933
|
+
k(t("input", {
|
|
5856
5934
|
id: "codeInput",
|
|
5857
|
-
"onUpdate:modelValue": a[3] || (a[3] = (s) =>
|
|
5935
|
+
"onUpdate:modelValue": a[3] || (a[3] = (s) => i.code = s),
|
|
5858
5936
|
onKeydown: a[4] || (a[4] = E(y(() => {
|
|
5859
5937
|
}, ["prevent"]), ["space"])),
|
|
5860
5938
|
type: "tel",
|
|
5861
5939
|
placeholder: e.ssoLang[this.appLang].code,
|
|
5862
5940
|
required: ""
|
|
5863
|
-
}, null, 40,
|
|
5864
|
-
[x,
|
|
5941
|
+
}, null, 40, at), [
|
|
5942
|
+
[x, i.code]
|
|
5865
5943
|
]),
|
|
5866
|
-
|
|
5944
|
+
nt
|
|
5867
5945
|
]),
|
|
5868
|
-
|
|
5869
|
-
|
|
5946
|
+
t("button", tt, [
|
|
5947
|
+
i.submitted ? (c(), l("span", ot)) : (c(), l("span", it, p(e.ssoLang[this.appLang].verify_account), 1))
|
|
5870
5948
|
]),
|
|
5871
|
-
|
|
5872
|
-
|
|
5873
|
-
|
|
5949
|
+
rt,
|
|
5950
|
+
t("p", st, [
|
|
5951
|
+
t("span", {
|
|
5874
5952
|
innerHTML: e.ssoLang[this.appLang].verify_account_p1
|
|
5875
|
-
}, null, 8,
|
|
5876
|
-
|
|
5953
|
+
}, null, 8, ct),
|
|
5954
|
+
lt
|
|
5877
5955
|
]),
|
|
5878
|
-
|
|
5956
|
+
dt,
|
|
5879
5957
|
n.isModal ? (c(), l("div", {
|
|
5880
5958
|
key: 2,
|
|
5881
5959
|
class: "page-login-links",
|
|
5882
5960
|
onClick: a[5] || (a[5] = (...s) => r.registerAccountModal && r.registerAccountModal(...s))
|
|
5883
5961
|
}, [
|
|
5884
|
-
|
|
5962
|
+
t("a", _t, [
|
|
5885
5963
|
f(p(e.ssoLang[this.appLang].or) + " ", 1),
|
|
5886
|
-
|
|
5964
|
+
mt,
|
|
5887
5965
|
f(" " + p(e.ssoLang[this.appLang].create_new_account), 1)
|
|
5888
5966
|
]),
|
|
5889
|
-
|
|
5890
|
-
])) : (c(), l("div",
|
|
5967
|
+
gt
|
|
5968
|
+
])) : (c(), l("div", pt, [
|
|
5891
5969
|
v(u, {
|
|
5892
5970
|
class: "create float-right",
|
|
5893
5971
|
to: "/register"
|
|
@@ -5906,11 +5984,11 @@ function gi(e, a, n, o, t, r) {
|
|
|
5906
5984
|
]),
|
|
5907
5985
|
_: 1
|
|
5908
5986
|
}),
|
|
5909
|
-
|
|
5987
|
+
ut
|
|
5910
5988
|
]))
|
|
5911
5989
|
], 36);
|
|
5912
5990
|
}
|
|
5913
|
-
const
|
|
5991
|
+
const ke = /* @__PURE__ */ T(Hn, [["render", ht], ["__scopeId", "data-v-2fd511e2"]]), ft = {
|
|
5914
5992
|
name: "AuthReset",
|
|
5915
5993
|
mixins: [z],
|
|
5916
5994
|
data() {
|
|
@@ -5964,124 +6042,124 @@ const ve = /* @__PURE__ */ T(Kn, [["render", gi], ["__scopeId", "data-v-2fd511e2
|
|
|
5964
6042
|
this.storage.verifyEmail = e;
|
|
5965
6043
|
}
|
|
5966
6044
|
}
|
|
5967
|
-
}, A = (e) => (O("data-v-220c28f9"), e = e(), B(), e),
|
|
6045
|
+
}, A = (e) => (O("data-v-220c28f9"), e = e(), B(), e), vt = {
|
|
5968
6046
|
class: "bold no-bottom center-text",
|
|
5969
6047
|
style: { "margin-top": "63px" }
|
|
5970
|
-
},
|
|
5971
|
-
/* @__PURE__ */
|
|
6048
|
+
}, kt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), bt = { class: "page-login-field half-top color-black" }, yt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
6049
|
+
/* @__PURE__ */ t("img", {
|
|
5972
6050
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5973
6051
|
class: "responsive-image",
|
|
5974
6052
|
style: { width: "80%" }
|
|
5975
6053
|
})
|
|
5976
|
-
], -1)),
|
|
6054
|
+
], -1)), wt = ["placeholder"], zt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("em", null, null, -1)), Lt = {
|
|
5977
6055
|
type: "submit",
|
|
5978
6056
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5979
|
-
},
|
|
6057
|
+
}, St = {
|
|
5980
6058
|
key: 0,
|
|
5981
6059
|
class: "uppercase"
|
|
5982
|
-
},
|
|
6060
|
+
}, Ct = {
|
|
5983
6061
|
key: 1,
|
|
5984
6062
|
class: "button--loading button__loader"
|
|
5985
|
-
},
|
|
6063
|
+
}, Tt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), jt = { class: "close-text center-text half-top color-black" }, Pt = ["innerHTML"], At = ["href"], It = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Et = { class: "page-login-links" }, xt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), qt = {
|
|
5986
6064
|
class: "bold no-bottom center-text",
|
|
5987
6065
|
style: { "margin-top": "63px" }
|
|
5988
|
-
},
|
|
5989
|
-
/* @__PURE__ */
|
|
6066
|
+
}, Mt = { class: "half-bottom small-top center-text color-black" }, Rt = { class: "page-login-field half-top" }, Nt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
6067
|
+
/* @__PURE__ */ t("img", {
|
|
5990
6068
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5991
6069
|
class: "responsive-image",
|
|
5992
6070
|
style: { width: "50%" }
|
|
5993
6071
|
})
|
|
5994
|
-
], -1)),
|
|
6072
|
+
], -1)), Vt = ["type", "placeholder"], Ot = {
|
|
5995
6073
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5996
6074
|
class: "responsive-image password-reveal-icon"
|
|
5997
|
-
},
|
|
6075
|
+
}, Bt = {
|
|
5998
6076
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
5999
6077
|
class: "responsive-image password-reveal-icon"
|
|
6000
|
-
},
|
|
6001
|
-
/* @__PURE__ */
|
|
6078
|
+
}, Dt = { class: "page-login-field half-top" }, Ut = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
6079
|
+
/* @__PURE__ */ t("img", {
|
|
6002
6080
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
6003
6081
|
class: "responsive-image",
|
|
6004
6082
|
style: { width: "50%" }
|
|
6005
6083
|
})
|
|
6006
|
-
], -1)),
|
|
6084
|
+
], -1)), Kt = ["type", "placeholder"], Ht = {
|
|
6007
6085
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
6008
6086
|
class: "responsive-image password-reveal-icon"
|
|
6009
|
-
},
|
|
6087
|
+
}, Ft = {
|
|
6010
6088
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
6011
6089
|
class: "responsive-image password-reveal-icon"
|
|
6012
|
-
},
|
|
6090
|
+
}, Qt = {
|
|
6013
6091
|
type: "submit",
|
|
6014
6092
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
6015
|
-
},
|
|
6093
|
+
}, $t = {
|
|
6016
6094
|
key: 0,
|
|
6017
6095
|
class: "uppercase"
|
|
6018
|
-
},
|
|
6096
|
+
}, Gt = {
|
|
6019
6097
|
key: 1,
|
|
6020
6098
|
class: "button--loading button__loader"
|
|
6021
|
-
},
|
|
6022
|
-
function
|
|
6099
|
+
}, Wt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Xt = { class: "close-text center-text half-top color-black" }, Yt = ["innerHTML"], Zt = ["href"];
|
|
6100
|
+
function Jt(e, a, n, o, i, r) {
|
|
6023
6101
|
const u = V("router-link");
|
|
6024
|
-
return
|
|
6102
|
+
return i.passwordChange ? (c(), l("form", {
|
|
6025
6103
|
key: 1,
|
|
6026
6104
|
class: "page-login content-boxed content-boxed-padding",
|
|
6027
6105
|
onSubmit: a[7] || (a[7] = y((...s) => r.changePw && r.changePw(...s), ["prevent"]))
|
|
6028
6106
|
}, [
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6033
|
-
k(
|
|
6034
|
-
"onUpdate:modelValue": a[3] || (a[3] = (s) =>
|
|
6035
|
-
type:
|
|
6107
|
+
t("h3", qt, p(e.ssoLang[this.appLang].password_change), 1),
|
|
6108
|
+
t("p", Mt, p(e.ssoLang[this.appLang].password_new), 1),
|
|
6109
|
+
t("div", Rt, [
|
|
6110
|
+
Nt,
|
|
6111
|
+
k(t("input", {
|
|
6112
|
+
"onUpdate:modelValue": a[3] || (a[3] = (s) => i.password = s),
|
|
6113
|
+
type: i.revealPassword ? "text" : "password",
|
|
6036
6114
|
placeholder: e.ssoLang[this.appLang].password,
|
|
6037
6115
|
required: ""
|
|
6038
|
-
}, null, 8,
|
|
6039
|
-
[
|
|
6116
|
+
}, null, 8, Vt), [
|
|
6117
|
+
[K, i.password]
|
|
6040
6118
|
]),
|
|
6041
|
-
|
|
6042
|
-
onClick: a[4] || (a[4] = (s) =>
|
|
6119
|
+
t("em", {
|
|
6120
|
+
onClick: a[4] || (a[4] = (s) => i.revealPassword = !i.revealPassword)
|
|
6043
6121
|
}, [
|
|
6044
|
-
k(
|
|
6045
|
-
[I, !
|
|
6122
|
+
k(t("img", Ot, null, 512), [
|
|
6123
|
+
[I, !i.revealPassword]
|
|
6046
6124
|
]),
|
|
6047
|
-
k(
|
|
6048
|
-
[I,
|
|
6125
|
+
k(t("img", Bt, null, 512), [
|
|
6126
|
+
[I, i.revealPassword]
|
|
6049
6127
|
])
|
|
6050
6128
|
])
|
|
6051
6129
|
]),
|
|
6052
|
-
|
|
6053
|
-
|
|
6054
|
-
k(
|
|
6055
|
-
"onUpdate:modelValue": a[5] || (a[5] = (s) =>
|
|
6056
|
-
type:
|
|
6130
|
+
t("div", Dt, [
|
|
6131
|
+
Ut,
|
|
6132
|
+
k(t("input", {
|
|
6133
|
+
"onUpdate:modelValue": a[5] || (a[5] = (s) => i.passwordRepeat = s),
|
|
6134
|
+
type: i.revealPassword2 ? "text" : "password",
|
|
6057
6135
|
placeholder: e.ssoLang[this.appLang].password_repeat,
|
|
6058
6136
|
required: ""
|
|
6059
|
-
}, null, 8,
|
|
6060
|
-
[
|
|
6137
|
+
}, null, 8, Kt), [
|
|
6138
|
+
[K, i.passwordRepeat]
|
|
6061
6139
|
]),
|
|
6062
|
-
|
|
6063
|
-
onClick: a[6] || (a[6] = (s) =>
|
|
6140
|
+
t("em", {
|
|
6141
|
+
onClick: a[6] || (a[6] = (s) => i.revealPassword2 = !i.revealPassword2)
|
|
6064
6142
|
}, [
|
|
6065
|
-
k(
|
|
6066
|
-
[I, !
|
|
6143
|
+
k(t("img", Ht, null, 512), [
|
|
6144
|
+
[I, !i.revealPassword2]
|
|
6067
6145
|
]),
|
|
6068
|
-
k(
|
|
6069
|
-
[I,
|
|
6146
|
+
k(t("img", Ft, null, 512), [
|
|
6147
|
+
[I, i.revealPassword2]
|
|
6070
6148
|
])
|
|
6071
6149
|
])
|
|
6072
6150
|
]),
|
|
6073
|
-
|
|
6074
|
-
|
|
6151
|
+
t("button", Qt, [
|
|
6152
|
+
i.submitted ? (c(), l("span", Gt)) : (c(), l("span", $t, p(e.ssoLang[this.appLang].password_change), 1))
|
|
6075
6153
|
]),
|
|
6076
|
-
|
|
6077
|
-
|
|
6078
|
-
|
|
6154
|
+
Wt,
|
|
6155
|
+
t("p", Xt, [
|
|
6156
|
+
t("span", {
|
|
6079
6157
|
innerHTML: e.ssoLang[this.appLang].reset_password_p2
|
|
6080
|
-
}, null, 8,
|
|
6158
|
+
}, null, 8, Yt),
|
|
6081
6159
|
f(),
|
|
6082
|
-
|
|
6160
|
+
t("a", {
|
|
6083
6161
|
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLang].password_reset_t
|
|
6084
|
-
}, " support@tapni.co", 8,
|
|
6162
|
+
}, " support@tapni.co", 8, Zt)
|
|
6085
6163
|
])
|
|
6086
6164
|
], 32)) : (c(), l("form", {
|
|
6087
6165
|
key: 0,
|
|
@@ -6089,37 +6167,37 @@ function Zi(e, a, n, o, t, r) {
|
|
|
6089
6167
|
onSubmit: a[2] || (a[2] = y((...s) => r.resetEmail && r.resetEmail(...s), ["prevent"])),
|
|
6090
6168
|
autocomplete: "on"
|
|
6091
6169
|
}, [
|
|
6092
|
-
|
|
6093
|
-
|
|
6094
|
-
|
|
6095
|
-
|
|
6096
|
-
k(
|
|
6170
|
+
t("h3", vt, p(e.ssoLang[this.appLang].reset_password), 1),
|
|
6171
|
+
kt,
|
|
6172
|
+
t("div", bt, [
|
|
6173
|
+
yt,
|
|
6174
|
+
k(t("input", {
|
|
6097
6175
|
id: "emailInput",
|
|
6098
|
-
"onUpdate:modelValue": a[0] || (a[0] = (s) =>
|
|
6176
|
+
"onUpdate:modelValue": a[0] || (a[0] = (s) => i.email = s),
|
|
6099
6177
|
onKeydown: a[1] || (a[1] = E(y(() => {
|
|
6100
6178
|
}, ["prevent"]), ["space"])),
|
|
6101
6179
|
type: "email",
|
|
6102
6180
|
placeholder: e.ssoLang[this.appLang].email,
|
|
6103
6181
|
required: ""
|
|
6104
|
-
}, null, 40,
|
|
6105
|
-
[x,
|
|
6182
|
+
}, null, 40, wt), [
|
|
6183
|
+
[x, i.email]
|
|
6106
6184
|
]),
|
|
6107
|
-
|
|
6185
|
+
zt
|
|
6108
6186
|
]),
|
|
6109
|
-
|
|
6110
|
-
|
|
6187
|
+
t("button", Lt, [
|
|
6188
|
+
i.submitted ? (c(), l("span", Ct)) : (c(), l("span", St, p(e.ssoLang[this.appLang].reset_password), 1))
|
|
6111
6189
|
]),
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6190
|
+
Tt,
|
|
6191
|
+
t("p", jt, [
|
|
6192
|
+
t("span", {
|
|
6115
6193
|
innerHTML: e.ssoLang[this.appLang].reset_password_p1
|
|
6116
|
-
}, null, 8,
|
|
6117
|
-
|
|
6194
|
+
}, null, 8, Pt),
|
|
6195
|
+
t("a", {
|
|
6118
6196
|
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLang].password_reset_t
|
|
6119
|
-
}, " support@tapni.co", 8,
|
|
6197
|
+
}, " support@tapni.co", 8, At)
|
|
6120
6198
|
]),
|
|
6121
|
-
|
|
6122
|
-
|
|
6199
|
+
It,
|
|
6200
|
+
t("div", Et, [
|
|
6123
6201
|
v(u, {
|
|
6124
6202
|
class: "create float-right",
|
|
6125
6203
|
to: "/verify"
|
|
@@ -6138,13 +6216,13 @@ function Zi(e, a, n, o, t, r) {
|
|
|
6138
6216
|
]),
|
|
6139
6217
|
_: 1
|
|
6140
6218
|
}),
|
|
6141
|
-
|
|
6219
|
+
xt
|
|
6142
6220
|
])
|
|
6143
6221
|
], 32));
|
|
6144
6222
|
}
|
|
6145
|
-
const
|
|
6223
|
+
const be = /* @__PURE__ */ T(ft, [["render", Jt], ["__scopeId", "data-v-220c28f9"]]), ei = {
|
|
6146
6224
|
name: "AuthCallback",
|
|
6147
|
-
mixins: [
|
|
6225
|
+
mixins: [G, W, z],
|
|
6148
6226
|
data() {
|
|
6149
6227
|
return {};
|
|
6150
6228
|
},
|
|
@@ -6162,28 +6240,28 @@ const ke = /* @__PURE__ */ T(hi, [["render", Zi], ["__scopeId", "data-v-220c28f9
|
|
|
6162
6240
|
return e = e.replace("http", "tapni"), e = e.replace("https", "tapni"), window.open(e);
|
|
6163
6241
|
}
|
|
6164
6242
|
}
|
|
6165
|
-
},
|
|
6243
|
+
}, ai = {
|
|
6166
6244
|
key: 0,
|
|
6167
6245
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
6168
|
-
},
|
|
6246
|
+
}, ni = /* @__PURE__ */ t("br", null, null, -1), ti = {
|
|
6169
6247
|
key: 1,
|
|
6170
6248
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
6171
6249
|
};
|
|
6172
|
-
function
|
|
6250
|
+
function ii(e, a, n, o, i, r) {
|
|
6173
6251
|
return c(), l("div", null, [
|
|
6174
|
-
(e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5",
|
|
6252
|
+
(e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5", ai, [
|
|
6175
6253
|
f(p(e.ssoLang[this.appLang].you_will_be_redirected), 1),
|
|
6176
|
-
|
|
6254
|
+
ni,
|
|
6177
6255
|
f(" " + p(e.ssoLang[this.appLang].if_redirect_not_directly) + ", ", 1),
|
|
6178
|
-
|
|
6256
|
+
t("span", {
|
|
6179
6257
|
onClick: a[0] || (a[0] = (...u) => r.inAppRedirect && r.inAppRedirect(...u)),
|
|
6180
6258
|
style: { color: "blue", cursor: "pointer" }
|
|
6181
6259
|
}, p(e.ssoLang[this.appLang].click_here), 1),
|
|
6182
6260
|
f(".")
|
|
6183
|
-
])) : (c(), l("h4",
|
|
6261
|
+
])) : (c(), l("h4", ti, p(e.ssoLang[this.appLang].please_wait), 1))
|
|
6184
6262
|
]);
|
|
6185
6263
|
}
|
|
6186
|
-
const
|
|
6264
|
+
const ye = /* @__PURE__ */ T(ei, [["render", ii]]), oi = {
|
|
6187
6265
|
name: "ModalOverlay",
|
|
6188
6266
|
mixins: [z],
|
|
6189
6267
|
data() {
|
|
@@ -6208,15 +6286,15 @@ const be = /* @__PURE__ */ T(Ji, [["render", it]]), tt = {
|
|
|
6208
6286
|
}
|
|
6209
6287
|
}
|
|
6210
6288
|
};
|
|
6211
|
-
function
|
|
6289
|
+
function ri(e, a, n, o, i, r) {
|
|
6212
6290
|
return c(), l("div", {
|
|
6213
|
-
class: b({ "pointer delete-menu": !0, "delete-menu-active":
|
|
6291
|
+
class: b({ "pointer delete-menu": !0, "delete-menu-active": i.toggle }),
|
|
6214
6292
|
onClick: a[0] || (a[0] = (...u) => r.toggleEmit && r.toggleEmit(...u))
|
|
6215
6293
|
}, null, 2);
|
|
6216
6294
|
}
|
|
6217
|
-
const
|
|
6295
|
+
const we = /* @__PURE__ */ T(oi, [["render", ri], ["__scopeId", "data-v-a128c2fa"]]), si = {
|
|
6218
6296
|
name: "SSO",
|
|
6219
|
-
mixins: [
|
|
6297
|
+
mixins: [$, G, W, z],
|
|
6220
6298
|
data() {
|
|
6221
6299
|
return {
|
|
6222
6300
|
toggle: !1,
|
|
@@ -6257,38 +6335,38 @@ const ye = /* @__PURE__ */ T(tt, [["render", ot], ["__scopeId", "data-v-a128c2fa
|
|
|
6257
6335
|
this.toggle = !this.toggle;
|
|
6258
6336
|
}
|
|
6259
6337
|
}
|
|
6260
|
-
},
|
|
6261
|
-
/* @__PURE__ */
|
|
6338
|
+
}, ci = (e) => (O("data-v-256337c2"), e = e(), B(), e), li = /* @__PURE__ */ ci(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
6339
|
+
/* @__PURE__ */ t("img", {
|
|
6262
6340
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6263
6341
|
class: "responsive-image",
|
|
6264
6342
|
style: { width: "45%" }
|
|
6265
6343
|
})
|
|
6266
|
-
], -1)),
|
|
6267
|
-
|
|
6268
|
-
],
|
|
6344
|
+
], -1)), di = [
|
|
6345
|
+
li
|
|
6346
|
+
], pi = { class: "bold center-text color-black half-top half-bottom" }, ui = ["placeholder"], _i = {
|
|
6269
6347
|
type: "submit",
|
|
6270
6348
|
class: "button black-button white-button button-full",
|
|
6271
6349
|
style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
|
|
6272
|
-
},
|
|
6350
|
+
}, mi = { key: 0 }, gi = {
|
|
6273
6351
|
key: 1,
|
|
6274
6352
|
class: "button--loading button__loader"
|
|
6275
6353
|
};
|
|
6276
|
-
function
|
|
6354
|
+
function hi(e, a, n, o, i, r) {
|
|
6277
6355
|
return c(), l("form", {
|
|
6278
6356
|
onSubmit: a[3] || (a[3] = y((...u) => r.submit && r.submit(...u), ["prevent"])),
|
|
6279
|
-
class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu":
|
|
6357
|
+
class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": i.toggle }]),
|
|
6280
6358
|
style: { height: "auto", "margin-top": "-172.5px" }
|
|
6281
6359
|
}, [
|
|
6282
|
-
|
|
6360
|
+
t("a", {
|
|
6283
6361
|
onClick: a[0] || (a[0] = (...u) => r.forceClose && r.forceClose(...u)),
|
|
6284
6362
|
class: "color-black pull-right pointer",
|
|
6285
6363
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6286
|
-
},
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
k(
|
|
6364
|
+
}, di),
|
|
6365
|
+
t("h3", pi, p(e.ssoLang[e.appLang].enter_company_email), 1),
|
|
6366
|
+
t("div", null, [
|
|
6367
|
+
k(t("input", {
|
|
6290
6368
|
type: "text",
|
|
6291
|
-
"onUpdate:modelValue": a[1] || (a[1] = (u) =>
|
|
6369
|
+
"onUpdate:modelValue": a[1] || (a[1] = (u) => i.email = u),
|
|
6292
6370
|
placeholder: e.ssoLang[this.appLang].email,
|
|
6293
6371
|
autocomplete: "off",
|
|
6294
6372
|
autocorrect: "off",
|
|
@@ -6299,18 +6377,18 @@ function gt(e, a, n, o, t, r) {
|
|
|
6299
6377
|
required: "",
|
|
6300
6378
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
6301
6379
|
}, ["prevent"]), ["space"]))
|
|
6302
|
-
}, null, 40,
|
|
6303
|
-
[x,
|
|
6380
|
+
}, null, 40, ui), [
|
|
6381
|
+
[x, i.email]
|
|
6304
6382
|
])
|
|
6305
6383
|
]),
|
|
6306
|
-
|
|
6307
|
-
|
|
6384
|
+
t("button", _i, [
|
|
6385
|
+
i.loading ? (c(), l("span", gi)) : (c(), l("span", mi, p(e.ssoLang[e.appLang].continue), 1))
|
|
6308
6386
|
])
|
|
6309
6387
|
], 34);
|
|
6310
6388
|
}
|
|
6311
|
-
const
|
|
6389
|
+
const ze = /* @__PURE__ */ T(si, [["render", hi], ["__scopeId", "data-v-256337c2"]]), fi = {
|
|
6312
6390
|
name: "SSOPick",
|
|
6313
|
-
mixins: [
|
|
6391
|
+
mixins: [$, G, W, z],
|
|
6314
6392
|
data() {
|
|
6315
6393
|
return {
|
|
6316
6394
|
toggle: !1,
|
|
@@ -6343,74 +6421,74 @@ const we = /* @__PURE__ */ T(rt, [["render", gt], ["__scopeId", "data-v-256337c2
|
|
|
6343
6421
|
this.azureLoad = !1, this.oktaLoad = !1, this.samlLoad = !1, this.sso = null, this.email = null, e && (this.sso = e.sso, this.email = e.email), this.toggle = !this.toggle;
|
|
6344
6422
|
}
|
|
6345
6423
|
}
|
|
6346
|
-
},
|
|
6347
|
-
/* @__PURE__ */
|
|
6424
|
+
}, X = (e) => (O("data-v-33bfb54b"), e = e(), B(), e), vi = /* @__PURE__ */ X(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
6425
|
+
/* @__PURE__ */ t("img", {
|
|
6348
6426
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6349
6427
|
class: "responsive-image",
|
|
6350
6428
|
style: { width: "45%" }
|
|
6351
6429
|
})
|
|
6352
|
-
], -1)),
|
|
6353
|
-
|
|
6354
|
-
],
|
|
6430
|
+
], -1)), ki = [
|
|
6431
|
+
vi
|
|
6432
|
+
], bi = { class: "bold center-text color-black half-top half-bottom" }, yi = /* @__PURE__ */ X(() => /* @__PURE__ */ t("img", {
|
|
6355
6433
|
src: "https://cdn.tapni.co/icons/azure.png",
|
|
6356
6434
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6357
|
-
}, null, -1)),
|
|
6435
|
+
}, null, -1)), wi = { key: 0 }, zi = {
|
|
6358
6436
|
key: 1,
|
|
6359
6437
|
class: "button--loading button__loader"
|
|
6360
|
-
},
|
|
6438
|
+
}, Li = /* @__PURE__ */ X(() => /* @__PURE__ */ t("img", {
|
|
6361
6439
|
src: "https://cdn.tapni.co/icons/okta.png",
|
|
6362
6440
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6363
|
-
}, null, -1)),
|
|
6441
|
+
}, null, -1)), Si = { key: 0 }, Ci = {
|
|
6364
6442
|
key: 1,
|
|
6365
6443
|
class: "button--loading button__loader"
|
|
6366
|
-
},
|
|
6444
|
+
}, Ti = /* @__PURE__ */ X(() => /* @__PURE__ */ t("img", {
|
|
6367
6445
|
src: "https://cdn.tapni.co/icons/saml.png",
|
|
6368
6446
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6369
|
-
}, null, -1)),
|
|
6447
|
+
}, null, -1)), ji = { key: 0 }, Pi = {
|
|
6370
6448
|
key: 1,
|
|
6371
6449
|
class: "button--loading button__loader"
|
|
6372
6450
|
};
|
|
6373
|
-
function
|
|
6451
|
+
function Ai(e, a, n, o, i, r) {
|
|
6374
6452
|
var u, s, _;
|
|
6375
6453
|
return c(), l("form", {
|
|
6376
6454
|
onSubmit: a[4] || (a[4] = y(() => {
|
|
6377
6455
|
}, ["prevent"])),
|
|
6378
|
-
class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu":
|
|
6456
|
+
class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": i.toggle }]),
|
|
6379
6457
|
style: { height: "auto", "margin-top": "-172.5px" }
|
|
6380
6458
|
}, [
|
|
6381
|
-
|
|
6459
|
+
t("a", {
|
|
6382
6460
|
onClick: a[0] || (a[0] = (...L) => r.forceClose && r.forceClose(...L)),
|
|
6383
6461
|
class: "color-black pull-right pointer",
|
|
6384
6462
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6385
|
-
},
|
|
6386
|
-
|
|
6387
|
-
(u =
|
|
6463
|
+
}, ki),
|
|
6464
|
+
t("h3", bi, p(e.ssoLang[e.appLang].select_sign_method), 1),
|
|
6465
|
+
(u = i.sso) != null && u.azure ? (c(), l("a", {
|
|
6388
6466
|
key: 0,
|
|
6389
6467
|
onClick: a[1] || (a[1] = (L) => r.ssoLogin("azure")),
|
|
6390
6468
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6391
6469
|
}, [
|
|
6392
|
-
|
|
6393
|
-
|
|
6470
|
+
yi,
|
|
6471
|
+
i.azureLoad ? (c(), l("span", zi)) : (c(), l("span", wi, p(e.ssoLang[e.appLang].sign_in_with) + " Azure", 1))
|
|
6394
6472
|
])) : h("", !0),
|
|
6395
|
-
(s =
|
|
6473
|
+
(s = i.sso) != null && s.okta ? (c(), l("a", {
|
|
6396
6474
|
key: 1,
|
|
6397
6475
|
onClick: a[2] || (a[2] = (L) => r.ssoLogin("okta")),
|
|
6398
6476
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6399
6477
|
}, [
|
|
6400
|
-
|
|
6401
|
-
|
|
6478
|
+
Li,
|
|
6479
|
+
i.oktaLoad ? (c(), l("span", Ci)) : (c(), l("span", Si, p(e.ssoLang[e.appLang].sign_in_with) + " Okta", 1))
|
|
6402
6480
|
])) : h("", !0),
|
|
6403
|
-
(_ =
|
|
6481
|
+
(_ = i.sso) != null && _.saml ? (c(), l("a", {
|
|
6404
6482
|
key: 2,
|
|
6405
6483
|
onClick: a[3] || (a[3] = (L) => r.ssoLogin("saml")),
|
|
6406
6484
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6407
6485
|
}, [
|
|
6408
|
-
|
|
6409
|
-
|
|
6486
|
+
Ti,
|
|
6487
|
+
i.samlLoad ? (c(), l("span", Pi)) : (c(), l("span", ji, p(e.ssoLang[e.appLang].sign_in_with) + " SAML", 1))
|
|
6410
6488
|
])) : h("", !0)
|
|
6411
6489
|
], 34);
|
|
6412
6490
|
}
|
|
6413
|
-
const
|
|
6491
|
+
const Le = /* @__PURE__ */ T(fi, [["render", Ai], ["__scopeId", "data-v-33bfb54b"]]), Ii = {
|
|
6414
6492
|
name: "LinkIcon",
|
|
6415
6493
|
mixins: [z],
|
|
6416
6494
|
props: {
|
|
@@ -6482,8 +6560,8 @@ const ze = /* @__PURE__ */ T(ht, [["render", Pt], ["__scopeId", "data-v-33bfb54b
|
|
|
6482
6560
|
}
|
|
6483
6561
|
},
|
|
6484
6562
|
methods: {}
|
|
6485
|
-
},
|
|
6486
|
-
function
|
|
6563
|
+
}, Ei = ["src", "alt"], xi = ["src", "alt"], qi = ["src", "alt"], Mi = ["src", "alt"];
|
|
6564
|
+
function Ri(e, a, n, o, i, r) {
|
|
6487
6565
|
var u, s;
|
|
6488
6566
|
return c(), l("a", {
|
|
6489
6567
|
class: b(["disable-select", n.linkStyle + (n.disabled ? " opacity-50" : "")]),
|
|
@@ -6491,7 +6569,7 @@ function Mt(e, a, n, o, t, r) {
|
|
|
6491
6569
|
(n.editing ? "cursor: move" : "cursor: pointer") + "!important; overflow: visible;"
|
|
6492
6570
|
)
|
|
6493
6571
|
}, [
|
|
6494
|
-
|
|
6572
|
+
t("span", {
|
|
6495
6573
|
class: b({
|
|
6496
6574
|
"user-link-img": !0,
|
|
6497
6575
|
"pulse pulse-border": n.pulse,
|
|
@@ -6506,21 +6584,21 @@ function Mt(e, a, n, o, t, r) {
|
|
|
6506
6584
|
alt: n.data.text,
|
|
6507
6585
|
onLoad: a[0] || (a[0] = (_) => e.$emit("loaded")),
|
|
6508
6586
|
onError: a[1] || (a[1] = (_) => e.$emit("loaded"))
|
|
6509
|
-
}, null, 40,
|
|
6587
|
+
}, null, 40, Ei)) : !n.data.custom_icon && n.data.type === "customlink" && n.linkAdding ? (c(), l("img", {
|
|
6510
6588
|
key: 1,
|
|
6511
6589
|
src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
|
|
6512
6590
|
class: "responsive-image",
|
|
6513
6591
|
alt: n.data.text,
|
|
6514
6592
|
onLoad: a[2] || (a[2] = (_) => e.$emit("loaded")),
|
|
6515
6593
|
onError: a[3] || (a[3] = (_) => e.$emit("loaded"))
|
|
6516
|
-
}, null, 40,
|
|
6594
|
+
}, null, 40, xi)) : !n.data.custom_icon && n.data.type === "customlink" && !n.linkAdding ? (c(), l("img", {
|
|
6517
6595
|
key: 2,
|
|
6518
6596
|
src: "https://cdn.tapni.co/icons/customlink.png",
|
|
6519
6597
|
class: "responsive-image",
|
|
6520
6598
|
alt: n.data.text,
|
|
6521
6599
|
onLoad: a[4] || (a[4] = (_) => e.$emit("loaded")),
|
|
6522
6600
|
onError: a[5] || (a[5] = (_) => e.$emit("loaded"))
|
|
6523
|
-
}, null, 40,
|
|
6601
|
+
}, null, 40, qi)) : (c(), l("img", {
|
|
6524
6602
|
key: 3,
|
|
6525
6603
|
src: n.data.style.custom_icon,
|
|
6526
6604
|
style: { "border-radius": "22.46%" },
|
|
@@ -6528,25 +6606,25 @@ function Mt(e, a, n, o, t, r) {
|
|
|
6528
6606
|
alt: n.data.text,
|
|
6529
6607
|
onLoad: a[6] || (a[6] = (_) => e.$emit("loaded")),
|
|
6530
6608
|
onError: a[7] || (a[7] = (_) => e.$emit("loaded"))
|
|
6531
|
-
}, null, 40,
|
|
6609
|
+
}, null, 40, Mi))
|
|
6532
6610
|
], 6),
|
|
6533
|
-
|
|
6611
|
+
t("span", {
|
|
6534
6612
|
class: "link-text link-drag color-black",
|
|
6535
6613
|
style: R({ color: (s = n.customLinkStyle) == null ? void 0 : s.color })
|
|
6536
6614
|
}, p(r.linkText), 5)
|
|
6537
6615
|
], 6);
|
|
6538
6616
|
}
|
|
6539
|
-
const
|
|
6617
|
+
const Ni = /* @__PURE__ */ T(Ii, [["render", Ri]]), Vi = {
|
|
6540
6618
|
ANDROID_VERSION: "5.6",
|
|
6541
6619
|
IOS_VERSION: "5.6",
|
|
6542
6620
|
WEB_VERSION: "5.6.0",
|
|
6543
6621
|
SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
|
|
6544
6622
|
METAPIXEL_ID: "1203678696914368",
|
|
6545
6623
|
GOOGLE_ANALYTICS_ID: ""
|
|
6546
|
-
},
|
|
6624
|
+
}, Oi = {
|
|
6547
6625
|
name: "Language",
|
|
6548
6626
|
mixins: [z],
|
|
6549
|
-
components: { LinkIcon:
|
|
6627
|
+
components: { LinkIcon: Ni },
|
|
6550
6628
|
data() {
|
|
6551
6629
|
return {
|
|
6552
6630
|
toggle: !1
|
|
@@ -6556,8 +6634,8 @@ const Rt = /* @__PURE__ */ T(At, [["render", Mt]]), Nt = {
|
|
|
6556
6634
|
d.$on("toggleLanguageModal", this.toggleModal), d.$on("closeModal", () => {
|
|
6557
6635
|
this.toggle = !1;
|
|
6558
6636
|
});
|
|
6559
|
-
let e = this.isNative ? await
|
|
6560
|
-
e &&
|
|
6637
|
+
let e = this.isNative ? await F.getLanguageCode() : N.getFirstBrowserLanguage();
|
|
6638
|
+
e && Vi.SUPPORTED_LANGUAGES.includes(e) && this.updateLanguage(e);
|
|
6561
6639
|
},
|
|
6562
6640
|
beforeDestroy() {
|
|
6563
6641
|
d._events.toggleLanguageModal.pop();
|
|
@@ -6576,27 +6654,27 @@ const Rt = /* @__PURE__ */ T(At, [["render", Mt]]), Nt = {
|
|
|
6576
6654
|
this.toggle = !this.toggle;
|
|
6577
6655
|
}
|
|
6578
6656
|
}
|
|
6579
|
-
},
|
|
6580
|
-
/* @__PURE__ */
|
|
6657
|
+
}, Bi = (e) => (O("data-v-e5a7ac07"), e = e(), B(), e), Di = /* @__PURE__ */ Bi(() => /* @__PURE__ */ t("i", { class: "font-17 fa color-black" }, [
|
|
6658
|
+
/* @__PURE__ */ t("img", {
|
|
6581
6659
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6582
6660
|
class: "fa responsive-image",
|
|
6583
6661
|
style: { width: "45%" }
|
|
6584
6662
|
})
|
|
6585
|
-
], -1)),
|
|
6586
|
-
|
|
6587
|
-
],
|
|
6588
|
-
function
|
|
6663
|
+
], -1)), Ui = [
|
|
6664
|
+
Di
|
|
6665
|
+
], Ki = { class: "bold center-text color-black small-bottom" };
|
|
6666
|
+
function Hi(e, a, n, o, i, r) {
|
|
6589
6667
|
const u = V("LinkIcon");
|
|
6590
6668
|
return c(), l("div", {
|
|
6591
|
-
class: b(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu":
|
|
6669
|
+
class: b(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": i.toggle }]),
|
|
6592
6670
|
style: { height: "auto", "max-height": "92vh", "margin-top": "-172.5px" }
|
|
6593
6671
|
}, [
|
|
6594
|
-
|
|
6672
|
+
t("a", {
|
|
6595
6673
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
6596
6674
|
class: "color-black pull-right pointer",
|
|
6597
6675
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6598
|
-
},
|
|
6599
|
-
|
|
6676
|
+
}, Ui),
|
|
6677
|
+
t("h3", Ki, p(e.ssoLang[e.appLang].app_language), 1),
|
|
6600
6678
|
v(u, {
|
|
6601
6679
|
onClick: a[1] || (a[1] = (s) => r.updateLanguage("en")),
|
|
6602
6680
|
"link-style": "link-grid",
|
|
@@ -6655,38 +6733,38 @@ function Kt(e, a, n, o, t, r) {
|
|
|
6655
6733
|
}, null, 8, ["data"])
|
|
6656
6734
|
], 2);
|
|
6657
6735
|
}
|
|
6658
|
-
const
|
|
6659
|
-
var
|
|
6660
|
-
const
|
|
6736
|
+
const Se = /* @__PURE__ */ T(Oi, [["render", Hi], ["__scopeId", "data-v-e5a7ac07"]]);
|
|
6737
|
+
var Fi = { 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 };
|
|
6738
|
+
const Qi = { id: "ssoapp" }, $i = {
|
|
6661
6739
|
key: 0,
|
|
6662
6740
|
href: "/",
|
|
6663
6741
|
class: "header-logo"
|
|
6664
|
-
},
|
|
6742
|
+
}, Gi = /* @__PURE__ */ t("img", {
|
|
6665
6743
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlYUqM1TGq5yp0r+pH1pTUyO1tbVRSkuOiWZRpbKRynYqg1R2VtlSZf1VfocQQkiyYN49xjZQG9bz82oV6LaeJjuqnKLyqMplKo/ntWGo0JuuwLurbK8ypI4C78imIYQQL2DDdIntyluU+bftbQEAuU/lpyrTqNCLQQtb2UGBD7ZdeH8bFIQQQvyCjdSfVHok8FnDbV4/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woQJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",
|
|
6666
6744
|
onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
|
|
6667
6745
|
class: "header-logo-img"
|
|
6668
|
-
}, null, -1),
|
|
6669
|
-
|
|
6670
|
-
],
|
|
6746
|
+
}, null, -1), Wi = [
|
|
6747
|
+
Gi
|
|
6748
|
+
], Xi = { class: "lang-icon" }, Yi = {
|
|
6671
6749
|
class: "snackbar snackbar-boxed",
|
|
6672
6750
|
id: "snackbar"
|
|
6673
|
-
},
|
|
6751
|
+
}, Zi = {
|
|
6674
6752
|
class: "snack-body",
|
|
6675
6753
|
id: "errorSnack"
|
|
6676
|
-
},
|
|
6754
|
+
}, Ji = { id: "errorMessage" }, eo = /* @__PURE__ */ t("img", {
|
|
6677
6755
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
6678
6756
|
style: { width: "100%" }
|
|
6679
|
-
}, null, -1),
|
|
6680
|
-
|
|
6681
|
-
],
|
|
6757
|
+
}, null, -1), ao = [
|
|
6758
|
+
eo
|
|
6759
|
+
], no = {
|
|
6682
6760
|
class: "snack-body",
|
|
6683
6761
|
id: "successSnack"
|
|
6684
|
-
},
|
|
6762
|
+
}, to = { id: "successMessage" }, io = /* @__PURE__ */ t("img", {
|
|
6685
6763
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
6686
6764
|
style: { width: "100%" }
|
|
6687
|
-
}, null, -1),
|
|
6765
|
+
}, null, -1), oo = [
|
|
6688
6766
|
io
|
|
6689
|
-
],
|
|
6767
|
+
], ro = {
|
|
6690
6768
|
name: "TapniAuth",
|
|
6691
6769
|
mixins: [z],
|
|
6692
6770
|
data() {
|
|
@@ -6695,16 +6773,16 @@ const Ft = { id: "ssoapp" }, Qt = {
|
|
|
6695
6773
|
};
|
|
6696
6774
|
},
|
|
6697
6775
|
components: {
|
|
6698
|
-
Language:
|
|
6699
|
-
SSOPick:
|
|
6700
|
-
SSO:
|
|
6701
|
-
ModalOverlay:
|
|
6702
|
-
AuthCallback:
|
|
6703
|
-
AuthReset:
|
|
6704
|
-
AuthVerify:
|
|
6705
|
-
AuthRegister:
|
|
6706
|
-
AuthLogin:
|
|
6707
|
-
AuthWelcome:
|
|
6776
|
+
Language: Se,
|
|
6777
|
+
SSOPick: Le,
|
|
6778
|
+
SSO: ze,
|
|
6779
|
+
ModalOverlay: we,
|
|
6780
|
+
AuthCallback: ye,
|
|
6781
|
+
AuthReset: be,
|
|
6782
|
+
AuthVerify: ke,
|
|
6783
|
+
AuthRegister: ve,
|
|
6784
|
+
AuthLogin: fe,
|
|
6785
|
+
AuthWelcome: _e
|
|
6708
6786
|
},
|
|
6709
6787
|
props: {
|
|
6710
6788
|
view: {
|
|
@@ -6746,54 +6824,54 @@ const Ft = { id: "ssoapp" }, Qt = {
|
|
|
6746
6824
|
this.applyBgStyle();
|
|
6747
6825
|
}
|
|
6748
6826
|
}
|
|
6749
|
-
},
|
|
6827
|
+
}, zo = /* @__PURE__ */ Object.assign(ro, {
|
|
6750
6828
|
setup(e) {
|
|
6751
6829
|
return document.addEventListener("DOMContentLoaded", function() {
|
|
6752
6830
|
const a = document.createElement("script");
|
|
6753
|
-
a.src = `https://www.google.com/recaptcha/api.js?render=${
|
|
6754
|
-
}), (a, n) => (c(), l("div",
|
|
6755
|
-
a.display === "redirect" ? (c(), l("a",
|
|
6831
|
+
a.src = `https://www.google.com/recaptcha/api.js?render=${Fi.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(a);
|
|
6832
|
+
}), (a, n) => (c(), l("div", Qi, [
|
|
6833
|
+
a.display === "redirect" ? (c(), l("a", $i, Wi)) : h("", !0),
|
|
6756
6834
|
a.display === "redirect" ? (c(), l("a", {
|
|
6757
6835
|
key: 1,
|
|
6758
6836
|
onClick: n[0] || (n[0] = (...o) => a.toggleLanguageModal && a.toggleLanguageModal(...o)),
|
|
6759
6837
|
class: "font-18 no-border pointer color-black",
|
|
6760
6838
|
style: { position: "absolute", right: "20px", top: "-10px" }
|
|
6761
6839
|
}, [
|
|
6762
|
-
|
|
6840
|
+
t("span", Xi, p(a.appLang.toUpperCase()), 1)
|
|
6763
6841
|
])) : h("", !0),
|
|
6764
|
-
v(ye),
|
|
6765
|
-
v(Le),
|
|
6766
6842
|
v(we),
|
|
6843
|
+
v(Se),
|
|
6767
6844
|
v(ze),
|
|
6768
|
-
|
|
6845
|
+
v(Le),
|
|
6846
|
+
a.initialized && a.renderView === "AuthWelcome" ? (c(), P(_e, { key: 2 })) : a.initialized && a.renderView === "AuthLogin" ? (c(), P(fe, {
|
|
6769
6847
|
key: 3,
|
|
6770
6848
|
isModal: e.isModal
|
|
6771
|
-
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthRegister" ? (c(), P(
|
|
6849
|
+
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthRegister" ? (c(), P(ve, {
|
|
6772
6850
|
key: 4,
|
|
6773
6851
|
isModal: e.isModal
|
|
6774
|
-
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthVerify" ? (c(), P(
|
|
6852
|
+
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthVerify" ? (c(), P(ke, {
|
|
6775
6853
|
key: 5,
|
|
6776
6854
|
isModal: e.isModal
|
|
6777
|
-
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthReset" ? (c(), P(
|
|
6778
|
-
|
|
6779
|
-
|
|
6780
|
-
|
|
6781
|
-
|
|
6855
|
+
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthReset" ? (c(), P(be, { key: 6 })) : a.initialized && a.renderView === "AuthCallback" ? (c(), P(ye, { key: 7 })) : (c(), P(Pe(Ae), { key: 8 })),
|
|
6856
|
+
t("div", Yi, [
|
|
6857
|
+
t("p", Zi, [
|
|
6858
|
+
t("span", Ji, p(a.ssoLang[a.appLang].error), 1),
|
|
6859
|
+
t("a", {
|
|
6782
6860
|
onClick: n[1] || (n[1] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
|
|
6783
6861
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
6784
|
-
},
|
|
6862
|
+
}, ao)
|
|
6785
6863
|
]),
|
|
6786
|
-
|
|
6787
|
-
|
|
6788
|
-
|
|
6864
|
+
t("p", no, [
|
|
6865
|
+
t("span", to, p(a.ssoLang[a.appLang].success), 1),
|
|
6866
|
+
t("a", {
|
|
6789
6867
|
onClick: n[2] || (n[2] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
|
|
6790
6868
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
6791
|
-
},
|
|
6869
|
+
}, oo)
|
|
6792
6870
|
])
|
|
6793
6871
|
])
|
|
6794
6872
|
]));
|
|
6795
6873
|
}
|
|
6796
6874
|
});
|
|
6797
6875
|
export {
|
|
6798
|
-
|
|
6876
|
+
zo as TapniAuth
|
|
6799
6877
|
};
|