@tapni/auth 0.0.13 → 0.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +2 -2
- package/dist/TapniAuth.es.js +418 -411
- package/dist/TapniAuth.umd.js +2 -2
- package/package.json +1 -1
- package/src/lib.js +3 -0
- package/src/mixins/global.mixin.js +0 -9
- package/src/views/Login.vue +13 -1
package/dist/TapniAuth.es.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { reactive as
|
|
2
|
-
import { RouterView as
|
|
1
|
+
import { reactive as Ce, readonly as Se, resolveComponent as V, openBlock as c, createElementBlock as l, createElementVNode as i, toDisplayString as p, createCommentVNode as h, createVNode as v, withCtx as j, createTextVNode as f, pushScopeId as O, popScopeId as B, createStaticVNode as Te, nextTick as Z, withModifiers as y, normalizeStyle as R, withDirectives as k, withKeys as E, vModelText as x, vModelDynamic as U, vShow as I, createBlock as P, normalizeClass as b, unref as je } from "vue";
|
|
2
|
+
import { RouterView as Pe } from "vue-router";
|
|
3
3
|
import g from "await-to-js";
|
|
4
4
|
import K from "axios";
|
|
5
|
-
import { jwtDecode as
|
|
5
|
+
import { jwtDecode as ae } from "jwt-decode";
|
|
6
6
|
import { Device as H } from "@capacitor/device";
|
|
7
|
-
import { StorageMixin as
|
|
7
|
+
import { StorageMixin as Ae } from "@tapni/capacitor-reactive-localstorage-vue3";
|
|
8
8
|
import { GoogleAuth as J } from "@codetrix-studio/capacitor-google-auth";
|
|
9
|
-
import { FacebookLogin as
|
|
10
|
-
import { SignInWithApple as
|
|
11
|
-
import { MsAuthPlugin as
|
|
12
|
-
import { Capacitor as
|
|
9
|
+
import { FacebookLogin as Ie } from "@capacitor-community/facebook-login";
|
|
10
|
+
import { SignInWithApple as Ee } from "@capacitor-community/apple-sign-in";
|
|
11
|
+
import { MsAuthPlugin as xe } from "@recognizebv/capacitor-plugin-msauth";
|
|
12
|
+
import { Capacitor as ne } from "@capacitor/core";
|
|
13
13
|
import { Browser as F } from "@capacitor/browser";
|
|
14
|
-
import
|
|
15
|
-
import { sanitizeUrl as
|
|
16
|
-
const
|
|
17
|
-
const n =
|
|
14
|
+
import qe from "qr-code-styling";
|
|
15
|
+
import { sanitizeUrl as Me } from "@braintree/sanitize-url";
|
|
16
|
+
const Re = "0.0.14", m = (e, a = !1) => {
|
|
17
|
+
const n = Re;
|
|
18
18
|
let o = K.create({
|
|
19
19
|
baseURL: "https://api.tapni.co/v1/",
|
|
20
20
|
headers: {
|
|
@@ -33,7 +33,7 @@ const Ne = "0.0.13", m = (e, a = !1) => {
|
|
|
33
33
|
lang: e.appLang,
|
|
34
34
|
realm: e.realm || "app"
|
|
35
35
|
}), e.token && !a) {
|
|
36
|
-
const r =
|
|
36
|
+
const r = ae(e.token);
|
|
37
37
|
if (r.exp - 30 < Math.floor(Date.now() / 1e3))
|
|
38
38
|
return z.methods.refreshTokenAction(r).then(() => (t.headers = {
|
|
39
39
|
...t.headers,
|
|
@@ -158,7 +158,7 @@ const w = {
|
|
|
158
158
|
qrCodePooling(e, a) {
|
|
159
159
|
return m(a).post("/company/login/qr", e);
|
|
160
160
|
}
|
|
161
|
-
}, D =
|
|
161
|
+
}, D = Ce(/* @__PURE__ */ new Map()), d = {
|
|
162
162
|
$on(e, a) {
|
|
163
163
|
let n = D.get(e);
|
|
164
164
|
n || (n = /* @__PURE__ */ new Set(), D.set(e, n)), n.add(a);
|
|
@@ -174,8 +174,8 @@ const w = {
|
|
|
174
174
|
n && n.delete(a);
|
|
175
175
|
}
|
|
176
176
|
};
|
|
177
|
-
|
|
178
|
-
const
|
|
177
|
+
Se(d);
|
|
178
|
+
const ie = {
|
|
179
179
|
state: {
|
|
180
180
|
english: "English",
|
|
181
181
|
spanish: "Spanish",
|
|
@@ -632,7 +632,7 @@ const te = {
|
|
|
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
|
+
}, te = {
|
|
636
636
|
state: {
|
|
637
637
|
english: "Englisch",
|
|
638
638
|
spanish: "Spanisch",
|
|
@@ -1084,7 +1084,7 @@ const te = {
|
|
|
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
|
+
}, oe = {
|
|
1088
1088
|
state: {
|
|
1089
1089
|
english: "Inglés",
|
|
1090
1090
|
spanish: "Español",
|
|
@@ -1540,7 +1540,7 @@ const te = {
|
|
|
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
|
+
}, re = {
|
|
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
|
+
}, se = {
|
|
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
|
+
}, ce = {
|
|
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
|
+
}, le = {
|
|
2900
2900
|
state: {
|
|
2901
2901
|
english: "İngilizce",
|
|
2902
2902
|
spanish: "İspanyolca",
|
|
@@ -3346,7 +3346,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
3346
3346
|
choose_other_login_methods: "Diğer giriş yöntemlerini seçin",
|
|
3347
3347
|
no_sso_logins: "Şirketiniz SSO girişini kullanmıyor, lütfen yöneticinizle iletişime geçin"
|
|
3348
3348
|
}
|
|
3349
|
-
},
|
|
3349
|
+
}, Ne = {
|
|
3350
3350
|
state: {
|
|
3351
3351
|
english: "英文",
|
|
3352
3352
|
spanish: "西班牙文",
|
|
@@ -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
|
+
}, de = {
|
|
3798
3798
|
state: {
|
|
3799
3799
|
english: "영어",
|
|
3800
3800
|
spanish: "스페인어",
|
|
@@ -4252,9 +4252,9 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
4252
4252
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
4253
4253
|
}
|
|
4254
4254
|
};
|
|
4255
|
-
var
|
|
4255
|
+
var Ve = { 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
4256
|
const z = {
|
|
4257
|
-
mixins: [
|
|
4257
|
+
mixins: [Ae],
|
|
4258
4258
|
data() {
|
|
4259
4259
|
return {
|
|
4260
4260
|
appLanguage: "en",
|
|
@@ -4266,15 +4266,15 @@ const z = {
|
|
|
4266
4266
|
device: {},
|
|
4267
4267
|
loggedInAccounts: {},
|
|
4268
4268
|
ssoLang: {
|
|
4269
|
-
en:
|
|
4270
|
-
de:
|
|
4271
|
-
es:
|
|
4272
|
-
fr:
|
|
4273
|
-
it:
|
|
4274
|
-
sr:
|
|
4275
|
-
tr:
|
|
4276
|
-
cn:
|
|
4277
|
-
kr:
|
|
4269
|
+
en: ie.state,
|
|
4270
|
+
de: te.state,
|
|
4271
|
+
es: oe.state,
|
|
4272
|
+
fr: re.state,
|
|
4273
|
+
it: se.state,
|
|
4274
|
+
sr: ce.state,
|
|
4275
|
+
tr: le.state,
|
|
4276
|
+
cn: Ne.state,
|
|
4277
|
+
kr: de.state
|
|
4278
4278
|
},
|
|
4279
4279
|
display: "npm",
|
|
4280
4280
|
redirect_uri: "https://t.link/callback/auth",
|
|
@@ -4313,7 +4313,7 @@ const z = {
|
|
|
4313
4313
|
}
|
|
4314
4314
|
},
|
|
4315
4315
|
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),
|
|
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), Ve.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
|
|
4317
4317
|
},
|
|
4318
4318
|
methods: {
|
|
4319
4319
|
errorHandler(e) {
|
|
@@ -4575,7 +4575,7 @@ const z = {
|
|
|
4575
4575
|
for (const [o, t] of a)
|
|
4576
4576
|
n[o] = t;
|
|
4577
4577
|
return n;
|
|
4578
|
-
},
|
|
4578
|
+
}, Oe = {
|
|
4579
4579
|
name: "AuthWelcome",
|
|
4580
4580
|
mixins: [z],
|
|
4581
4581
|
data() {
|
|
@@ -4589,23 +4589,23 @@ const z = {
|
|
|
4589
4589
|
}, 1500), d.$emit("ssoEvent", { name: "setInitialize", data: !0 });
|
|
4590
4590
|
},
|
|
4591
4591
|
methods: {}
|
|
4592
|
-
},
|
|
4592
|
+
}, pe = (e) => (O("data-v-bf520ec5"), e = e(), B(), e), Be = {
|
|
4593
4593
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
4594
4594
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
4595
|
-
},
|
|
4595
|
+
}, De = ["autoplay"], Ue = /* @__PURE__ */ pe(() => /* @__PURE__ */ i("source", {
|
|
4596
4596
|
src: "https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",
|
|
4597
4597
|
type: "video/mp4"
|
|
4598
|
-
}, null, -1)),
|
|
4599
|
-
|
|
4600
|
-
],
|
|
4598
|
+
}, null, -1)), Ke = [
|
|
4599
|
+
Ue
|
|
4600
|
+
], He = { class: "bold full-top no-bottom center-text" }, Fe = { class: "full-bottom half-top center-text color-black font-16" }, Qe = { class: "page-login-links center-text" }, $e = /* @__PURE__ */ pe(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), Ge = {
|
|
4601
4601
|
key: 2,
|
|
4602
4602
|
style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
|
|
4603
|
-
},
|
|
4604
|
-
|
|
4603
|
+
}, We = /* @__PURE__ */ Te('<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 = [
|
|
4604
|
+
We
|
|
4605
4605
|
];
|
|
4606
|
-
function
|
|
4606
|
+
function Xe(e, a, n, o, t, r) {
|
|
4607
4607
|
const u = V("router-link");
|
|
4608
|
-
return c(), l("div",
|
|
4608
|
+
return c(), l("div", Be, [
|
|
4609
4609
|
i("video", {
|
|
4610
4610
|
id: "tapniVideo",
|
|
4611
4611
|
muted: "",
|
|
@@ -4614,9 +4614,9 @@ function Ze(e, a, n, o, t, r) {
|
|
|
4614
4614
|
width: "350",
|
|
4615
4615
|
style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
|
|
4616
4616
|
autoplay: e.isNative
|
|
4617
|
-
},
|
|
4618
|
-
i("h1",
|
|
4619
|
-
i("p",
|
|
4617
|
+
}, Ke, 8, De),
|
|
4618
|
+
i("h1", He, p(e.ssoLang[this.appLang].welcome), 1),
|
|
4619
|
+
i("p", Fe, p(e.ssoLang[this.appLang].welcome_p1), 1),
|
|
4620
4620
|
h("", !0),
|
|
4621
4621
|
h("", !0),
|
|
4622
4622
|
v(u, {
|
|
@@ -4629,7 +4629,7 @@ function Ze(e, a, n, o, t, r) {
|
|
|
4629
4629
|
]),
|
|
4630
4630
|
_: 1
|
|
4631
4631
|
}),
|
|
4632
|
-
i("div",
|
|
4632
|
+
i("div", Qe, [
|
|
4633
4633
|
v(u, { to: "/login" }, {
|
|
4634
4634
|
default: j(() => [
|
|
4635
4635
|
f(p(e.ssoLang[this.appLang].already_registered) + "? ", 1),
|
|
@@ -4637,12 +4637,12 @@ function Ze(e, a, n, o, t, r) {
|
|
|
4637
4637
|
]),
|
|
4638
4638
|
_: 1
|
|
4639
4639
|
}),
|
|
4640
|
-
|
|
4640
|
+
$e
|
|
4641
4641
|
]),
|
|
4642
|
-
this.isNative ? h("", !0) : (c(), l("div",
|
|
4642
|
+
this.isNative ? h("", !0) : (c(), l("div", Ge, Ye))
|
|
4643
4643
|
]);
|
|
4644
4644
|
}
|
|
4645
|
-
const
|
|
4645
|
+
const ue = /* @__PURE__ */ T(Oe, [["render", Xe], ["__scopeId", "data-v-bf520ec5"]]), _e = {
|
|
4646
4646
|
data() {
|
|
4647
4647
|
return {
|
|
4648
4648
|
googleLoad: !1
|
|
@@ -4697,7 +4697,7 @@ window.fbAsyncInit = function() {
|
|
|
4697
4697
|
var o, t = e.getElementsByTagName(a)[0];
|
|
4698
4698
|
e.getElementById(n) || (o = e.createElement(a), o.id = n, o.src = "https://connect.facebook.net/en_US/sdk.js", t.parentNode.insertBefore(o, t));
|
|
4699
4699
|
})(document, "script", "facebook-jssdk");
|
|
4700
|
-
const
|
|
4700
|
+
const me = {
|
|
4701
4701
|
data() {
|
|
4702
4702
|
return {
|
|
4703
4703
|
facebookLoad: !1
|
|
@@ -4715,7 +4715,7 @@ const ge = {
|
|
|
4715
4715
|
async facebookLogin() {
|
|
4716
4716
|
var o;
|
|
4717
4717
|
this.facebookLoad = !0;
|
|
4718
|
-
const e = ["email"], [a, n] = await g(
|
|
4718
|
+
const e = ["email"], [a, n] = await g(Ie.login({ permissions: e }));
|
|
4719
4719
|
if (a)
|
|
4720
4720
|
return this.facebookLoad = !1;
|
|
4721
4721
|
if (this.referral && (n.ref = this.referral), this.display === "popup" && (n.response_type = "code"), n.accessToken) {
|
|
@@ -4734,7 +4734,7 @@ const ge = {
|
|
|
4734
4734
|
this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4735
4735
|
}
|
|
4736
4736
|
}
|
|
4737
|
-
},
|
|
4737
|
+
}, ge = {
|
|
4738
4738
|
data() {
|
|
4739
4739
|
return {
|
|
4740
4740
|
appleLoad: !1
|
|
@@ -4750,14 +4750,14 @@ const ge = {
|
|
|
4750
4750
|
async appleLogin() {
|
|
4751
4751
|
var n;
|
|
4752
4752
|
this.appleLoad = !0;
|
|
4753
|
-
const [e, a] = await g(
|
|
4753
|
+
const [e, a] = await g(Ee.authorize({
|
|
4754
4754
|
clientId: "co.tapni.applelogin",
|
|
4755
4755
|
redirectURI: "https://" + window.location.host + "/login",
|
|
4756
4756
|
scopes: "email name"
|
|
4757
4757
|
}));
|
|
4758
4758
|
if (e)
|
|
4759
4759
|
return this.appleLoad = !1;
|
|
4760
|
-
if (a.response.tokenData =
|
|
4760
|
+
if (a.response.tokenData = ae(a.response.identityToken), a && a.response && a.response.identityToken) {
|
|
4761
4761
|
this.referral && (a.response.ref = this.referral), this.display === "popup" && (a.response_type = "code");
|
|
4762
4762
|
const [o, t] = await g(w.appleSDK(a.response, this.storage));
|
|
4763
4763
|
if (o)
|
|
@@ -4775,7 +4775,7 @@ const ge = {
|
|
|
4775
4775
|
}
|
|
4776
4776
|
}
|
|
4777
4777
|
};
|
|
4778
|
-
var
|
|
4778
|
+
var Ze = { 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 };
|
|
4779
4779
|
const Q = {
|
|
4780
4780
|
data() {
|
|
4781
4781
|
return {
|
|
@@ -4794,14 +4794,14 @@ const Q = {
|
|
|
4794
4794
|
var t, r, u;
|
|
4795
4795
|
e === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0, Object.keys(a).length || (a = ((r = (t = this.ssoCompany.sso) == null ? void 0 : t.azure) == null ? void 0 : r.sso) || {});
|
|
4796
4796
|
const [n, o] = await g(
|
|
4797
|
-
|
|
4797
|
+
xe.login({
|
|
4798
4798
|
clientId: e === "sso" ? a.clientID : "9cd47053-080a-4df8-8fd8-ca4389163fde",
|
|
4799
4799
|
tenant: e === "sso" ? a.tenant : "consumers",
|
|
4800
4800
|
scopes: ["User.Read"],
|
|
4801
4801
|
knownAuthorities: [],
|
|
4802
4802
|
keyHash: "4+5wCp8QcLptlO0aeP5RDTTOWyg=",
|
|
4803
4803
|
// Android,
|
|
4804
|
-
redirectUri:
|
|
4804
|
+
redirectUri: Ze.NODE_ENV === "development" ? `${window.location.origin}/login` : "https://" + window.location.host + "/login"
|
|
4805
4805
|
})
|
|
4806
4806
|
);
|
|
4807
4807
|
if (n)
|
|
@@ -4844,7 +4844,7 @@ const Q = {
|
|
|
4844
4844
|
return null;
|
|
4845
4845
|
},
|
|
4846
4846
|
compareLangKeys() {
|
|
4847
|
-
const e = Object.keys(
|
|
4847
|
+
const e = Object.keys(ie.default.state), a = Object.keys(te.default.state), n = Object.keys(oe.default.state), o = Object.keys(de.default.state), t = Object.keys(se.default.state), r = Object.keys(re.default.state), u = Object.keys(ce.default.state), s = Object.keys(le.default.state);
|
|
4848
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((_) => !t.includes(_))), console.log("In it but not in en", t.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
4849
|
},
|
|
4850
4850
|
base64ImageToBlob(e) {
|
|
@@ -4951,7 +4951,7 @@ const Q = {
|
|
|
4951
4951
|
this.errorSnack(this.ssoLang[this.appLang].unexpected_err);
|
|
4952
4952
|
},
|
|
4953
4953
|
async oktaLogin(e) {
|
|
4954
|
-
const a =
|
|
4954
|
+
const a = ne.getPlatform() || "web";
|
|
4955
4955
|
let n = btoa("domain=" + e.domain + "&client_id=" + e.clientID + "&platform=" + a + "&rand=" + N.generateRandomString(28)), o = N.generateRandomString(28);
|
|
4956
4956
|
localStorage.setItem("pkce_code_verifier", o);
|
|
4957
4957
|
let t = await N.pkceChallengeFromVerifier(o), r = e.domain + "/v1/authorize", u;
|
|
@@ -4991,7 +4991,7 @@ const Q = {
|
|
|
4991
4991
|
methods: {
|
|
4992
4992
|
async samlLogin(e) {
|
|
4993
4993
|
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 =
|
|
4994
|
+
const a = ne.getPlatform();
|
|
4995
4995
|
let n = Buffer.from(`code_challenge=${this.code_challenge}&platform=${a}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.storage.realm}`).toString("base64");
|
|
4996
4996
|
e = `${e}&RelayState=${n}`;
|
|
4997
4997
|
let o = this;
|
|
@@ -5021,7 +5021,7 @@ const Q = {
|
|
|
5021
5021
|
}
|
|
5022
5022
|
}
|
|
5023
5023
|
}
|
|
5024
|
-
},
|
|
5024
|
+
}, Je = {
|
|
5025
5025
|
data() {
|
|
5026
5026
|
return {
|
|
5027
5027
|
isQrCodeLogin: !1,
|
|
@@ -5055,7 +5055,7 @@ const Q = {
|
|
|
5055
5055
|
},
|
|
5056
5056
|
refreshQrCode() {
|
|
5057
5057
|
var e, a;
|
|
5058
|
-
this.qrCode && ((a = (e = document.getElementById("qrCodeContainer")) == null ? void 0 : e.childNodes[0]) == null || a.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new
|
|
5058
|
+
this.qrCode && ((a = (e = document.getElementById("qrCodeContainer")) == null ? void 0 : e.childNodes[0]) == null || a.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new qe({
|
|
5059
5059
|
width: 300,
|
|
5060
5060
|
height: 300,
|
|
5061
5061
|
type: "png",
|
|
@@ -5097,9 +5097,9 @@ const Q = {
|
|
|
5097
5097
|
}, 6e4);
|
|
5098
5098
|
}
|
|
5099
5099
|
}
|
|
5100
|
-
},
|
|
5100
|
+
}, ea = {
|
|
5101
5101
|
name: "AuthLogin",
|
|
5102
|
-
mixins: [me, ge,
|
|
5102
|
+
mixins: [_e, me, ge, Q, $, G, z, Je],
|
|
5103
5103
|
props: {
|
|
5104
5104
|
isModal: {
|
|
5105
5105
|
type: Boolean,
|
|
@@ -5162,6 +5162,17 @@ const Q = {
|
|
|
5162
5162
|
},
|
|
5163
5163
|
createAccountModal() {
|
|
5164
5164
|
d.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
|
|
5165
|
+
},
|
|
5166
|
+
async bum() {
|
|
5167
|
+
this.storage.token = "321213", await this.initializeStorage({
|
|
5168
|
+
realm: "",
|
|
5169
|
+
token: "",
|
|
5170
|
+
refreshTokens: "",
|
|
5171
|
+
username: "",
|
|
5172
|
+
UserId: "",
|
|
5173
|
+
verifyEmail: "",
|
|
5174
|
+
subdomain: ""
|
|
5175
|
+
});
|
|
5165
5176
|
}
|
|
5166
5177
|
},
|
|
5167
5178
|
watch: {
|
|
@@ -5175,92 +5186,89 @@ const Q = {
|
|
|
5175
5186
|
return await this.handleSamlRedirect();
|
|
5176
5187
|
}
|
|
5177
5188
|
}
|
|
5178
|
-
},
|
|
5189
|
+
}, aa = /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
|
|
5179
5190
|
/* @__PURE__ */ i("img", {
|
|
5180
5191
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5181
5192
|
class: "responsive-image",
|
|
5182
5193
|
style: { width: "35%" }
|
|
5183
5194
|
})
|
|
5184
|
-
], -1),
|
|
5185
|
-
|
|
5186
|
-
], ta = {
|
|
5187
|
-
class: "bold no-bottom center-text",
|
|
5188
|
-
style: { "margin-top": "63px" }
|
|
5189
|
-
}, oa = /* @__PURE__ */ i("p", { class: "half-bottom small-top center-text color-black" }, null, -1), ra = { key: 1 }, sa = { class: "page-login-field half-top" }, ca = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5195
|
+
], -1), na = [
|
|
5196
|
+
aa
|
|
5197
|
+
], ia = /* @__PURE__ */ i("p", { class: "half-bottom small-top center-text color-black" }, null, -1), ta = { key: 1 }, oa = { class: "page-login-field half-top" }, ra = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5190
5198
|
/* @__PURE__ */ i("img", {
|
|
5191
5199
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
5192
5200
|
class: "responsive-image",
|
|
5193
5201
|
style: { width: "50%" }
|
|
5194
5202
|
})
|
|
5195
|
-
], -1),
|
|
5203
|
+
], -1), sa = ["placeholder"], ca = /* @__PURE__ */ i("em", null, null, -1), la = { class: "page-login-field half-bottom" }, da = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5196
5204
|
/* @__PURE__ */ i("img", {
|
|
5197
5205
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5198
5206
|
class: "responsive-image",
|
|
5199
5207
|
style: { width: "50%" }
|
|
5200
5208
|
})
|
|
5201
|
-
], -1),
|
|
5209
|
+
], -1), pa = ["type", "placeholder"], ua = {
|
|
5202
5210
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5203
5211
|
class: "responsive-image password-reveal-icon"
|
|
5204
|
-
},
|
|
5212
|
+
}, _a = {
|
|
5205
5213
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
5206
5214
|
class: "responsive-image password-reveal-icon"
|
|
5207
|
-
},
|
|
5215
|
+
}, ma = {
|
|
5208
5216
|
type: "submit",
|
|
5209
5217
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5210
|
-
},
|
|
5218
|
+
}, ga = { key: 0 }, ha = {
|
|
5211
5219
|
key: 1,
|
|
5212
5220
|
class: "button--loading button__loader"
|
|
5213
|
-
},
|
|
5221
|
+
}, fa = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), va = /* @__PURE__ */ i("img", {
|
|
5214
5222
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
5215
5223
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
5216
|
-
}, null, -1),
|
|
5224
|
+
}, null, -1), ka = { key: 0 }, ba = {
|
|
5217
5225
|
key: 1,
|
|
5218
5226
|
class: "button--loading button__loader"
|
|
5219
|
-
},
|
|
5227
|
+
}, ya = /* @__PURE__ */ i("img", {
|
|
5220
5228
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
5221
5229
|
style: { position: "absolute", "margin-left": "-10px", padding: "8px 0", height: "100%" }
|
|
5222
|
-
}, null, -1),
|
|
5230
|
+
}, null, -1), wa = { key: 0 }, za = {
|
|
5223
5231
|
key: 1,
|
|
5224
5232
|
class: "button--loading-black button__loader"
|
|
5225
|
-
},
|
|
5233
|
+
}, La = /* @__PURE__ */ i("img", {
|
|
5226
5234
|
src: "https://cdn.tapni.co/icons/facebook-blue.png",
|
|
5227
5235
|
style: { position: "absolute", "margin-left": "-9px", padding: "10px 0", height: "100%" }
|
|
5228
|
-
}, null, -1),
|
|
5236
|
+
}, null, -1), Ca = { key: 0 }, Sa = {
|
|
5229
5237
|
key: 1,
|
|
5230
5238
|
class: "button--loading-black button__loader"
|
|
5231
|
-
},
|
|
5239
|
+
}, Ta = /* @__PURE__ */ i("img", {
|
|
5232
5240
|
src: "https://cdn.tapni.co/icons/outlook.png",
|
|
5233
5241
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5234
|
-
}, null, -1),
|
|
5242
|
+
}, null, -1), ja = { key: 0 }, Pa = {
|
|
5235
5243
|
key: 1,
|
|
5236
5244
|
class: "button--loading-black button__loader"
|
|
5237
|
-
},
|
|
5245
|
+
}, Aa = /* @__PURE__ */ i("img", {
|
|
5238
5246
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
5239
5247
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5240
|
-
}, null, -1),
|
|
5248
|
+
}, null, -1), Ia = { key: 0 }, Ea = {
|
|
5241
5249
|
key: 1,
|
|
5242
5250
|
class: "button--loading-black button__loader"
|
|
5243
|
-
},
|
|
5251
|
+
}, xa = /* @__PURE__ */ i("img", {
|
|
5244
5252
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
5245
5253
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5246
|
-
}, null, -1),
|
|
5254
|
+
}, null, -1), qa = { key: 0 }, Ma = {
|
|
5247
5255
|
key: 1,
|
|
5248
5256
|
class: "button--loading-black button__loader"
|
|
5249
|
-
},
|
|
5257
|
+
}, Ra = /* @__PURE__ */ i("img", {
|
|
5250
5258
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5251
5259
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
5252
|
-
}, null, -1),
|
|
5260
|
+
}, null, -1), Na = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Va = { class: "close-text center-text half-top color-black" }, Oa = /* @__PURE__ */ i("br", null, null, -1), Ba = {
|
|
5253
5261
|
class: "",
|
|
5254
5262
|
href: "https://tapni.co/policies/terms-of-service"
|
|
5255
|
-
},
|
|
5263
|
+
}, Da = { href: "https://tapni.co/policies/privacy-policy" }, Ua = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Ka = {
|
|
5256
5264
|
key: 9,
|
|
5257
5265
|
class: "page-login-links"
|
|
5258
|
-
},
|
|
5259
|
-
function
|
|
5266
|
+
}, Ha = /* @__PURE__ */ i("div", { class: "clear" }, null, -1), Fa = { class: "forgot center-text pointer small-top" }, Qa = /* @__PURE__ */ i("br", null, null, -1), $a = /* @__PURE__ */ i("div", { class: "clear" }, null, -1);
|
|
5267
|
+
function Ga(e, a, n, o, t, r) {
|
|
5260
5268
|
const u = V("router-link");
|
|
5261
5269
|
return c(), l("form", {
|
|
5262
5270
|
class: "page-login content-boxed content-boxed-padding",
|
|
5263
|
-
onSubmit: a[
|
|
5271
|
+
onSubmit: a[14] || (a[14] = y((...s) => r.submit && r.submit(...s), ["prevent"])),
|
|
5264
5272
|
autocomplete: "on",
|
|
5265
5273
|
style: R(n.isModal ? "max-width: 500px;" : "")
|
|
5266
5274
|
}, [
|
|
@@ -5269,15 +5277,19 @@ function Ya(e, a, n, o, t, r) {
|
|
|
5269
5277
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5270
5278
|
class: "color-black pull-right pointer",
|
|
5271
5279
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5272
|
-
},
|
|
5273
|
-
i("h1",
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5280
|
+
}, na)) : h("", !0),
|
|
5281
|
+
i("h1", {
|
|
5282
|
+
class: "bold no-bottom center-text",
|
|
5283
|
+
style: { "margin-top": "63px" },
|
|
5284
|
+
onClick: a[1] || (a[1] = (...s) => r.bum && r.bum(...s))
|
|
5285
|
+
}, p(this.ssoLang[this.appLang].login), 1),
|
|
5286
|
+
ia,
|
|
5287
|
+
r.displayFormLogin ? (c(), l("span", ta, [
|
|
5288
|
+
i("div", oa, [
|
|
5289
|
+
ra,
|
|
5278
5290
|
k(i("input", {
|
|
5279
|
-
"onUpdate:modelValue": a[
|
|
5280
|
-
onKeydown: a[
|
|
5291
|
+
"onUpdate:modelValue": a[2] || (a[2] = (s) => t.emailOrUsername = s),
|
|
5292
|
+
onKeydown: a[3] || (a[3] = E(y(() => {
|
|
5281
5293
|
}, ["prevent"]), ["space"])),
|
|
5282
5294
|
autocorrect: "off",
|
|
5283
5295
|
autocapitalize: "off",
|
|
@@ -5286,117 +5298,117 @@ function Ya(e, a, n, o, t, r) {
|
|
|
5286
5298
|
name: "email",
|
|
5287
5299
|
placeholder: e.ssoLang[this.appLang].email_username,
|
|
5288
5300
|
required: ""
|
|
5289
|
-
}, null, 40,
|
|
5301
|
+
}, null, 40, sa), [
|
|
5290
5302
|
[x, t.emailOrUsername]
|
|
5291
5303
|
]),
|
|
5292
|
-
|
|
5304
|
+
ca
|
|
5293
5305
|
]),
|
|
5294
|
-
i("div",
|
|
5295
|
-
|
|
5306
|
+
i("div", la, [
|
|
5307
|
+
da,
|
|
5296
5308
|
k(i("input", {
|
|
5297
|
-
"onUpdate:modelValue": a[
|
|
5309
|
+
"onUpdate:modelValue": a[4] || (a[4] = (s) => t.password = s),
|
|
5298
5310
|
type: t.revealPassword ? "text" : "password",
|
|
5299
5311
|
placeholder: e.ssoLang[this.appLang].password,
|
|
5300
5312
|
name: "password",
|
|
5301
5313
|
required: "",
|
|
5302
5314
|
minlength: "8"
|
|
5303
|
-
}, null, 8,
|
|
5315
|
+
}, null, 8, pa), [
|
|
5304
5316
|
[U, t.password]
|
|
5305
5317
|
]),
|
|
5306
5318
|
i("em", {
|
|
5307
|
-
onClick: a[
|
|
5319
|
+
onClick: a[5] || (a[5] = (s) => t.revealPassword = !t.revealPassword),
|
|
5308
5320
|
class: "pointer"
|
|
5309
5321
|
}, [
|
|
5310
|
-
k(i("img",
|
|
5322
|
+
k(i("img", ua, null, 512), [
|
|
5311
5323
|
[I, !t.revealPassword]
|
|
5312
5324
|
]),
|
|
5313
|
-
k(i("img",
|
|
5325
|
+
k(i("img", _a, null, 512), [
|
|
5314
5326
|
[I, t.revealPassword]
|
|
5315
5327
|
])
|
|
5316
5328
|
])
|
|
5317
5329
|
]),
|
|
5318
|
-
i("button",
|
|
5319
|
-
t.submitted ? (c(), l("span",
|
|
5330
|
+
i("button", ma, [
|
|
5331
|
+
t.submitted ? (c(), l("span", ha)) : (c(), l("span", ga, p(e.ssoLang[e.appLang].login), 1))
|
|
5320
5332
|
])
|
|
5321
5333
|
])) : h("", !0),
|
|
5322
|
-
|
|
5334
|
+
fa,
|
|
5323
5335
|
e.displayAppleLogin ? (c(), l("a", {
|
|
5324
5336
|
key: 2,
|
|
5325
|
-
onClick: a[
|
|
5337
|
+
onClick: a[6] || (a[6] = (...s) => e.appleLogin && e.appleLogin(...s)),
|
|
5326
5338
|
class: "button-center button button-90 google-button pointer"
|
|
5327
5339
|
}, [
|
|
5328
|
-
|
|
5329
|
-
e.appleLoad ? (c(), l("span",
|
|
5340
|
+
va,
|
|
5341
|
+
e.appleLoad ? (c(), l("span", ba)) : (c(), l("span", ka, p(e.ssoLang[e.appLang].sign_in_with) + " Apple", 1))
|
|
5330
5342
|
])) : h("", !0),
|
|
5331
5343
|
e.displayGoogleLogin ? (c(), l("a", {
|
|
5332
5344
|
key: 3,
|
|
5333
|
-
onClick: a[
|
|
5345
|
+
onClick: a[7] || (a[7] = (...s) => e.googleLogin && e.googleLogin(...s)),
|
|
5334
5346
|
class: "button-center button button-90 google-button pointer"
|
|
5335
5347
|
}, [
|
|
5336
|
-
|
|
5337
|
-
e.googleLoad ? (c(), l("span",
|
|
5348
|
+
ya,
|
|
5349
|
+
e.googleLoad ? (c(), l("span", za)) : (c(), l("span", wa, p(e.ssoLang[e.appLang].sign_in_with) + " Google", 1))
|
|
5338
5350
|
])) : h("", !0),
|
|
5339
5351
|
e.displayFacebookLogin ? (c(), l("a", {
|
|
5340
5352
|
key: 4,
|
|
5341
|
-
onClick: a[
|
|
5353
|
+
onClick: a[8] || (a[8] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
|
|
5342
5354
|
class: "button-center button button-90 google-button pointer"
|
|
5343
5355
|
}, [
|
|
5344
|
-
|
|
5345
|
-
e.facebookLoad ? (c(), l("span",
|
|
5356
|
+
La,
|
|
5357
|
+
e.facebookLoad ? (c(), l("span", Sa)) : (c(), l("span", Ca, p(e.ssoLang[e.appLang].sign_in_with) + " Facebook", 1))
|
|
5346
5358
|
])) : h("", !0),
|
|
5347
5359
|
e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
|
|
5348
5360
|
key: 5,
|
|
5349
|
-
onClick: a[
|
|
5361
|
+
onClick: a[9] || (a[9] = (...s) => e.microsoftLogin && e.microsoftLogin(...s)),
|
|
5350
5362
|
class: "button-center button button-90 google-button pointer"
|
|
5351
5363
|
}, [
|
|
5352
|
-
|
|
5353
|
-
e.microsoftLoad ? (c(), l("span",
|
|
5364
|
+
Ta,
|
|
5365
|
+
e.microsoftLoad ? (c(), l("span", Pa)) : (c(), l("span", ja, p(e.ssoLang[e.appLang].sign_in_with) + " Outlook", 1))
|
|
5354
5366
|
])),
|
|
5355
5367
|
e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
|
|
5356
5368
|
key: 6,
|
|
5357
|
-
onClick: a[
|
|
5369
|
+
onClick: a[10] || (a[10] = (...s) => e.ssoLogin && e.ssoLogin(...s)),
|
|
5358
5370
|
class: "button-center button button-90 google-button pointer"
|
|
5359
5371
|
}, [
|
|
5360
|
-
|
|
5361
|
-
e.microsoftSSOLoad ? (c(), l("span",
|
|
5372
|
+
Aa,
|
|
5373
|
+
e.microsoftSSOLoad ? (c(), l("span", Ea)) : (c(), l("span", Ia, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1))
|
|
5362
5374
|
])),
|
|
5363
5375
|
e.displayMicrosoftSSOLogin ? (c(), l("a", {
|
|
5364
5376
|
key: 7,
|
|
5365
|
-
onClick: a[
|
|
5377
|
+
onClick: a[11] || (a[11] = (s) => e.microsoftLogin("sso")),
|
|
5366
5378
|
class: "button-center button button-90 google-button pointer"
|
|
5367
5379
|
}, [
|
|
5368
|
-
|
|
5369
|
-
e.microsoftSSOLoad ? (c(), l("span",
|
|
5380
|
+
xa,
|
|
5381
|
+
e.microsoftSSOLoad ? (c(), l("span", qa, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1)) : (c(), l("span", Ma))
|
|
5370
5382
|
])) : h("", !0),
|
|
5371
5383
|
r.displayFormLogin ? h("", !0) : (c(), l("a", {
|
|
5372
5384
|
key: 8,
|
|
5373
|
-
onClick: a[
|
|
5385
|
+
onClick: a[12] || (a[12] = (s) => t.emailLogin = !0),
|
|
5374
5386
|
class: "button-center button button-90 google-button pointer"
|
|
5375
5387
|
}, [
|
|
5376
|
-
|
|
5388
|
+
Ra,
|
|
5377
5389
|
i("span", null, p(e.ssoLang[e.appLang].sign_in_with) + " Email", 1)
|
|
5378
5390
|
])),
|
|
5379
|
-
|
|
5380
|
-
i("p",
|
|
5391
|
+
Na,
|
|
5392
|
+
i("p", Va, [
|
|
5381
5393
|
f(p(e.ssoLang[e.appLang].terms_by_signing_in) + " ", 1),
|
|
5382
|
-
|
|
5383
|
-
i("a",
|
|
5394
|
+
Oa,
|
|
5395
|
+
i("a", Ba, p(e.ssoLang[this.appLang].terms_of_service), 1),
|
|
5384
5396
|
f(" " + p(e.ssoLang[e.appLang].and) + " ", 1),
|
|
5385
|
-
i("a",
|
|
5397
|
+
i("a", Da, p(e.ssoLang[this.appLang].privacy_policy), 1)
|
|
5386
5398
|
]),
|
|
5387
|
-
|
|
5399
|
+
Ua,
|
|
5388
5400
|
n.isModal ? (c(), l("div", {
|
|
5389
5401
|
key: 10,
|
|
5390
5402
|
class: "page-login-links",
|
|
5391
|
-
onClick: a[
|
|
5403
|
+
onClick: a[13] || (a[13] = (...s) => r.createAccountModal && r.createAccountModal(...s))
|
|
5392
5404
|
}, [
|
|
5393
|
-
i("a",
|
|
5405
|
+
i("a", Fa, [
|
|
5394
5406
|
f(p(e.ssoLang[e.appLang].or) + " ", 1),
|
|
5395
|
-
|
|
5407
|
+
Qa,
|
|
5396
5408
|
f(" " + p(e.ssoLang[e.appLang].create_new_account), 1)
|
|
5397
5409
|
]),
|
|
5398
|
-
|
|
5399
|
-
])) : (c(), l("div",
|
|
5410
|
+
$a
|
|
5411
|
+
])) : (c(), l("div", Ka, [
|
|
5400
5412
|
r.displayRegisterLogin ? (c(), P(u, {
|
|
5401
5413
|
key: 0,
|
|
5402
5414
|
class: "forgot float-right",
|
|
@@ -5417,13 +5429,13 @@ function Ya(e, a, n, o, t, r) {
|
|
|
5417
5429
|
]),
|
|
5418
5430
|
_: 1
|
|
5419
5431
|
})) : h("", !0),
|
|
5420
|
-
|
|
5432
|
+
Ha
|
|
5421
5433
|
]))
|
|
5422
5434
|
], 36);
|
|
5423
5435
|
}
|
|
5424
|
-
const
|
|
5436
|
+
const he = /* @__PURE__ */ T(ea, [["render", Ga]]), Wa = {
|
|
5425
5437
|
name: "AuthRegister",
|
|
5426
|
-
mixins: [me, ge,
|
|
5438
|
+
mixins: [_e, me, ge, Q, z],
|
|
5427
5439
|
props: {
|
|
5428
5440
|
isModal: {
|
|
5429
5441
|
type: Boolean,
|
|
@@ -5488,76 +5500,76 @@ const fe = /* @__PURE__ */ T(aa, [["render", Ya]]), Xa = {
|
|
|
5488
5500
|
this.storage.referral = e;
|
|
5489
5501
|
}
|
|
5490
5502
|
}
|
|
5491
|
-
},
|
|
5503
|
+
}, Ya = /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
|
|
5492
5504
|
/* @__PURE__ */ i("img", {
|
|
5493
5505
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5494
5506
|
class: "responsive-image",
|
|
5495
5507
|
style: { width: "35%" }
|
|
5496
5508
|
})
|
|
5497
|
-
], -1),
|
|
5498
|
-
|
|
5499
|
-
],
|
|
5509
|
+
], -1), Xa = [
|
|
5510
|
+
Ya
|
|
5511
|
+
], Za = {
|
|
5500
5512
|
class: "bold no-bottom center-text",
|
|
5501
5513
|
style: { "margin-top": "63px" }
|
|
5502
|
-
},
|
|
5514
|
+
}, Ja = { class: "half-bottom small-top center-text color-black" }, en = { key: 0 }, an = /* @__PURE__ */ i("br", null, null, -1), nn = { key: 1 }, tn = { class: "page-login-field half-top" }, on = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5503
5515
|
/* @__PURE__ */ i("img", {
|
|
5504
5516
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5505
5517
|
class: "responsive-image",
|
|
5506
5518
|
style: { width: "60%" }
|
|
5507
5519
|
})
|
|
5508
|
-
], -1),
|
|
5520
|
+
], -1), rn = ["placeholder"], sn = /* @__PURE__ */ i("em", null, null, -1), cn = { class: "page-login-field half-top" }, ln = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5509
5521
|
/* @__PURE__ */ i("img", {
|
|
5510
5522
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
5511
5523
|
class: "responsive-image",
|
|
5512
5524
|
style: { width: "50%" }
|
|
5513
5525
|
})
|
|
5514
|
-
], -1),
|
|
5526
|
+
], -1), dn = ["placeholder", "disabled"], pn = /* @__PURE__ */ i("em", null, null, -1), un = { class: "page-login-field half-top half-bottom" }, _n = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5515
5527
|
/* @__PURE__ */ i("img", {
|
|
5516
5528
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5517
5529
|
class: "responsive-image",
|
|
5518
5530
|
style: { width: "50%" }
|
|
5519
5531
|
})
|
|
5520
|
-
], -1),
|
|
5532
|
+
], -1), mn = ["type", "placeholder"], gn = {
|
|
5521
5533
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5522
5534
|
class: "responsive-image password-reveal-icon"
|
|
5523
|
-
},
|
|
5535
|
+
}, hn = {
|
|
5524
5536
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
5525
5537
|
class: "responsive-image password-reveal-icon"
|
|
5526
|
-
},
|
|
5538
|
+
}, fn = {
|
|
5527
5539
|
type: "submit",
|
|
5528
5540
|
class: "button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"
|
|
5529
|
-
},
|
|
5541
|
+
}, vn = { key: 0 }, kn = {
|
|
5530
5542
|
key: 1,
|
|
5531
5543
|
class: "button--loading button__loader"
|
|
5532
|
-
},
|
|
5544
|
+
}, bn = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), yn = /* @__PURE__ */ i("img", {
|
|
5533
5545
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
5534
5546
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
5535
|
-
}, null, -1),
|
|
5547
|
+
}, null, -1), wn = { key: 0 }, zn = {
|
|
5536
5548
|
key: 1,
|
|
5537
5549
|
class: "button--loading button__loader"
|
|
5538
|
-
},
|
|
5550
|
+
}, Ln = /* @__PURE__ */ i("img", {
|
|
5539
5551
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
5540
5552
|
style: { position: "absolute", "margin-left": "-9px", padding: "8px 0", height: "100%" }
|
|
5541
|
-
}, null, -1),
|
|
5553
|
+
}, null, -1), Cn = { key: 0 }, Sn = {
|
|
5542
5554
|
key: 1,
|
|
5543
5555
|
class: "button--loading button__loader"
|
|
5544
|
-
},
|
|
5556
|
+
}, Tn = /* @__PURE__ */ i("img", {
|
|
5545
5557
|
src: "https://cdn.tapni.co/icons/facebook-blue.png",
|
|
5546
5558
|
style: { position: "absolute", "margin-left": "-10px", padding: "10px 0", height: "100%" }
|
|
5547
|
-
}, null, -1),
|
|
5559
|
+
}, null, -1), jn = { key: 0 }, Pn = {
|
|
5548
5560
|
key: 1,
|
|
5549
5561
|
class: "button--loading button__loader"
|
|
5550
|
-
},
|
|
5562
|
+
}, An = /* @__PURE__ */ i("img", {
|
|
5551
5563
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5552
5564
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
5553
|
-
}, null, -1),
|
|
5565
|
+
}, null, -1), In = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), En = { class: "close-text center-text half-top color-black" }, xn = /* @__PURE__ */ i("br", null, null, -1), qn = {
|
|
5554
5566
|
class: "",
|
|
5555
5567
|
href: "https://tapni.co/policies/terms-of-service"
|
|
5556
|
-
},
|
|
5568
|
+
}, Mn = { href: "https://tapni.co/policies/privacy-policy" }, Rn = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Nn = {
|
|
5557
5569
|
key: 5,
|
|
5558
5570
|
class: "page-login-links"
|
|
5559
|
-
},
|
|
5560
|
-
function
|
|
5571
|
+
}, Vn = /* @__PURE__ */ i("div", { class: "clear" }, null, -1), On = { class: "forgot center-text pointer small-top" }, Bn = /* @__PURE__ */ i("br", null, null, -1), Dn = /* @__PURE__ */ i("div", { class: "clear" }, null, -1);
|
|
5572
|
+
function Un(e, a, n, o, t, r) {
|
|
5561
5573
|
const u = V("router-link");
|
|
5562
5574
|
return c(), l("form", {
|
|
5563
5575
|
class: "page-login content-boxed content-boxed-padding",
|
|
@@ -5570,17 +5582,17 @@ function Hn(e, a, n, o, t, r) {
|
|
|
5570
5582
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5571
5583
|
class: "color-black pull-right pointer",
|
|
5572
5584
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5573
|
-
},
|
|
5574
|
-
i("h1",
|
|
5575
|
-
i("p",
|
|
5576
|
-
t.usernameRegister ? (c(), l("span",
|
|
5585
|
+
}, Xa)) : h("", !0),
|
|
5586
|
+
i("h1", Za, p(e.ssoLang[this.appLang].register), 1),
|
|
5587
|
+
i("p", Ja, [
|
|
5588
|
+
t.usernameRegister ? (c(), l("span", en, [
|
|
5577
5589
|
f(" t.link/" + p(t.username) + " " + p(e.ssoLang[this.appLang].username_is_free) + " ✅ ", 1),
|
|
5578
|
-
|
|
5590
|
+
an
|
|
5579
5591
|
])) : h("", !0)
|
|
5580
5592
|
]),
|
|
5581
|
-
t.emailLogin ? (c(), l("span",
|
|
5582
|
-
i("div",
|
|
5583
|
-
|
|
5593
|
+
t.emailLogin ? (c(), l("span", nn, [
|
|
5594
|
+
i("div", tn, [
|
|
5595
|
+
on,
|
|
5584
5596
|
k(i("input", {
|
|
5585
5597
|
"onUpdate:modelValue": a[1] || (a[1] = (s) => t.email = s),
|
|
5586
5598
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
@@ -5589,13 +5601,13 @@ function Hn(e, a, n, o, t, r) {
|
|
|
5589
5601
|
placeholder: e.ssoLang[this.appLang].email,
|
|
5590
5602
|
name: "email",
|
|
5591
5603
|
required: ""
|
|
5592
|
-
}, null, 40,
|
|
5604
|
+
}, null, 40, rn), [
|
|
5593
5605
|
[x, t.email]
|
|
5594
5606
|
]),
|
|
5595
|
-
|
|
5607
|
+
sn
|
|
5596
5608
|
]),
|
|
5597
|
-
i("div",
|
|
5598
|
-
|
|
5609
|
+
i("div", cn, [
|
|
5610
|
+
ln,
|
|
5599
5611
|
k(i("input", {
|
|
5600
5612
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => t.username = s),
|
|
5601
5613
|
onKeydown: a[4] || (a[4] = E(y(() => {
|
|
@@ -5609,13 +5621,13 @@ function Hn(e, a, n, o, t, r) {
|
|
|
5609
5621
|
required: "",
|
|
5610
5622
|
disabled: t.usernameRegister,
|
|
5611
5623
|
class: b({ "input-disabled": t.usernameRegister })
|
|
5612
|
-
}, null, 42,
|
|
5624
|
+
}, null, 42, dn), [
|
|
5613
5625
|
[x, t.username]
|
|
5614
5626
|
]),
|
|
5615
|
-
|
|
5627
|
+
pn
|
|
5616
5628
|
]),
|
|
5617
|
-
i("div",
|
|
5618
|
-
|
|
5629
|
+
i("div", un, [
|
|
5630
|
+
_n,
|
|
5619
5631
|
k(i("input", {
|
|
5620
5632
|
"onUpdate:modelValue": a[5] || (a[5] = (s) => t.password = s),
|
|
5621
5633
|
type: t.revealPassword ? "text" : "password",
|
|
@@ -5623,78 +5635,78 @@ function Hn(e, a, n, o, t, r) {
|
|
|
5623
5635
|
name: "password",
|
|
5624
5636
|
required: "",
|
|
5625
5637
|
minlength: "8"
|
|
5626
|
-
}, null, 8,
|
|
5638
|
+
}, null, 8, mn), [
|
|
5627
5639
|
[U, t.password]
|
|
5628
5640
|
]),
|
|
5629
5641
|
i("em", {
|
|
5630
5642
|
onClick: a[6] || (a[6] = (s) => t.revealPassword = !t.revealPassword),
|
|
5631
5643
|
class: "pointer"
|
|
5632
5644
|
}, [
|
|
5633
|
-
k(i("img",
|
|
5645
|
+
k(i("img", gn, null, 512), [
|
|
5634
5646
|
[I, !t.revealPassword]
|
|
5635
5647
|
]),
|
|
5636
|
-
k(i("img",
|
|
5648
|
+
k(i("img", hn, null, 512), [
|
|
5637
5649
|
[I, t.revealPassword]
|
|
5638
5650
|
])
|
|
5639
5651
|
])
|
|
5640
5652
|
]),
|
|
5641
|
-
i("button",
|
|
5642
|
-
t.submitted ? (c(), l("span",
|
|
5653
|
+
i("button", fn, [
|
|
5654
|
+
t.submitted ? (c(), l("span", kn)) : (c(), l("span", vn, p(t.formButtonText), 1))
|
|
5643
5655
|
])
|
|
5644
5656
|
])) : h("", !0),
|
|
5645
|
-
|
|
5657
|
+
bn,
|
|
5646
5658
|
e.displayAppleLogin ? (c(), l("a", {
|
|
5647
5659
|
key: 2,
|
|
5648
5660
|
onClick: a[7] || (a[7] = (...s) => e.appleLogin && e.appleLogin(...s)),
|
|
5649
5661
|
class: "button-center button button-90 google-button pointer"
|
|
5650
5662
|
}, [
|
|
5651
|
-
|
|
5652
|
-
e.appleLoad ? (c(), l("span",
|
|
5663
|
+
yn,
|
|
5664
|
+
e.appleLoad ? (c(), l("span", zn)) : (c(), l("span", wn, p(e.ssoLang[this.appLang].sign_up_with) + " Apple", 1))
|
|
5653
5665
|
])) : h("", !0),
|
|
5654
5666
|
i("a", {
|
|
5655
5667
|
onClick: a[8] || (a[8] = (...s) => e.googleLogin && e.googleLogin(...s)),
|
|
5656
5668
|
class: "button-center button button-90 google-button pointer"
|
|
5657
5669
|
}, [
|
|
5658
|
-
|
|
5659
|
-
e.googleLoad ? (c(), l("span",
|
|
5670
|
+
Ln,
|
|
5671
|
+
e.googleLoad ? (c(), l("span", Sn)) : (c(), l("span", Cn, p(e.ssoLang[this.appLang].sign_up_with) + " Google", 1))
|
|
5660
5672
|
]),
|
|
5661
5673
|
e.displayFacebookLogin ? (c(), l("a", {
|
|
5662
5674
|
key: 3,
|
|
5663
5675
|
onClick: a[9] || (a[9] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
|
|
5664
5676
|
class: "button-center button button-90 google-button pointer"
|
|
5665
5677
|
}, [
|
|
5666
|
-
|
|
5667
|
-
e.facebookLoad ? (c(), l("span",
|
|
5678
|
+
Tn,
|
|
5679
|
+
e.facebookLoad ? (c(), l("span", Pn)) : (c(), l("span", jn, p(e.ssoLang[this.appLang].sign_up_with) + " Facebook", 1))
|
|
5668
5680
|
])) : h("", !0),
|
|
5669
5681
|
t.emailLogin ? h("", !0) : (c(), l("a", {
|
|
5670
5682
|
key: 4,
|
|
5671
5683
|
onClick: a[10] || (a[10] = (s) => t.emailLogin = !0),
|
|
5672
5684
|
class: "button-center button button-90 google-button pointer"
|
|
5673
5685
|
}, [
|
|
5674
|
-
|
|
5686
|
+
An,
|
|
5675
5687
|
i("span", null, p(e.ssoLang[this.appLang].sign_up_with) + " Email", 1)
|
|
5676
5688
|
])),
|
|
5677
|
-
|
|
5678
|
-
i("p",
|
|
5689
|
+
In,
|
|
5690
|
+
i("p", En, [
|
|
5679
5691
|
f(p(e.ssoLang[this.appLang].terms_by_registering) + " ", 1),
|
|
5680
|
-
|
|
5681
|
-
i("a",
|
|
5692
|
+
xn,
|
|
5693
|
+
i("a", qn, p(e.ssoLang[this.appLang].terms_of_service), 1),
|
|
5682
5694
|
f(" " + p(e.ssoLang[this.appLang].and) + " ", 1),
|
|
5683
|
-
i("a",
|
|
5695
|
+
i("a", Mn, p(e.ssoLang[this.appLang].privacy_policy), 1)
|
|
5684
5696
|
]),
|
|
5685
|
-
|
|
5697
|
+
Rn,
|
|
5686
5698
|
n.isModal ? (c(), l("div", {
|
|
5687
5699
|
key: 6,
|
|
5688
5700
|
class: "page-login-links",
|
|
5689
5701
|
onClick: a[11] || (a[11] = (...s) => r.loginAccountModal && r.loginAccountModal(...s))
|
|
5690
5702
|
}, [
|
|
5691
|
-
i("a",
|
|
5703
|
+
i("a", On, [
|
|
5692
5704
|
f(p(e.ssoLang[this.appLang].or) + " ", 1),
|
|
5693
|
-
|
|
5705
|
+
Bn,
|
|
5694
5706
|
f(" " + p(e.ssoLang[this.appLang].sign_in_with_new), 1)
|
|
5695
5707
|
]),
|
|
5696
|
-
|
|
5697
|
-
])) : (c(), l("div",
|
|
5708
|
+
Dn
|
|
5709
|
+
])) : (c(), l("div", Nn, [
|
|
5698
5710
|
v(u, {
|
|
5699
5711
|
class: "create float-right",
|
|
5700
5712
|
to: "/verify"
|
|
@@ -5713,11 +5725,11 @@ function Hn(e, a, n, o, t, r) {
|
|
|
5713
5725
|
]),
|
|
5714
5726
|
_: 1
|
|
5715
5727
|
}),
|
|
5716
|
-
|
|
5728
|
+
Vn
|
|
5717
5729
|
]))
|
|
5718
5730
|
], 36);
|
|
5719
5731
|
}
|
|
5720
|
-
const
|
|
5732
|
+
const fe = /* @__PURE__ */ T(Wa, [["render", Un]]), Kn = {
|
|
5721
5733
|
name: "AuthVerify",
|
|
5722
5734
|
mixins: [z],
|
|
5723
5735
|
props: {
|
|
@@ -5780,43 +5792,43 @@ const ve = /* @__PURE__ */ T(Xa, [["render", Hn]]), Fn = {
|
|
|
5780
5792
|
deep: !0
|
|
5781
5793
|
}
|
|
5782
5794
|
}
|
|
5783
|
-
}, S = (e) => (O("data-v-2fd511e2"), e = e(), B(), e),
|
|
5795
|
+
}, S = (e) => (O("data-v-2fd511e2"), e = e(), B(), e), Hn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
|
|
5784
5796
|
/* @__PURE__ */ i("img", {
|
|
5785
5797
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5786
5798
|
class: "responsive-image",
|
|
5787
5799
|
style: { width: "35%" }
|
|
5788
5800
|
})
|
|
5789
|
-
], -1)),
|
|
5790
|
-
|
|
5791
|
-
],
|
|
5801
|
+
], -1)), Fn = [
|
|
5802
|
+
Hn
|
|
5803
|
+
], Qn = {
|
|
5792
5804
|
class: "bold no-bottom center-text",
|
|
5793
5805
|
style: { "margin-top": "63px" }
|
|
5794
|
-
},
|
|
5806
|
+
}, $n = /* @__PURE__ */ S(() => /* @__PURE__ */ i("p", { class: "half-bottom half-top center-text color-black" }, null, -1)), Gn = { class: "page-login-field half-top" }, Wn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
5795
5807
|
/* @__PURE__ */ i("img", {
|
|
5796
5808
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5797
5809
|
class: "responsive-image",
|
|
5798
5810
|
style: { width: "80%" }
|
|
5799
5811
|
})
|
|
5800
|
-
], -1)),
|
|
5812
|
+
], -1)), Yn = ["placeholder"], Xn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("em", null, null, -1)), Zn = { class: "page-login-field half-top" }, Jn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
5801
5813
|
/* @__PURE__ */ i("img", {
|
|
5802
5814
|
src: "https://cdn.tapni.co/icons/password2.png",
|
|
5803
5815
|
class: "responsive-image",
|
|
5804
5816
|
style: { width: "100%" }
|
|
5805
5817
|
})
|
|
5806
|
-
], -1)),
|
|
5818
|
+
], -1)), ei = ["placeholder"], ai = /* @__PURE__ */ S(() => /* @__PURE__ */ i("em", null, null, -1)), ni = {
|
|
5807
5819
|
type: "submit",
|
|
5808
5820
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5809
|
-
},
|
|
5821
|
+
}, ii = {
|
|
5810
5822
|
key: 0,
|
|
5811
5823
|
class: "uppercase"
|
|
5812
|
-
},
|
|
5824
|
+
}, ti = {
|
|
5813
5825
|
key: 1,
|
|
5814
5826
|
class: "button--loading button__loader"
|
|
5815
|
-
},
|
|
5827
|
+
}, oi = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), ri = { class: "close-text center-text half-top color-black" }, si = ["innerHTML"], ci = /* @__PURE__ */ S(() => /* @__PURE__ */ i("a", { href: "mailto:support@tapni.co?subject=Email Verification" }, " support@tapni.co", -1)), li = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), di = {
|
|
5816
5828
|
key: 1,
|
|
5817
5829
|
class: "page-login-links"
|
|
5818
|
-
},
|
|
5819
|
-
function
|
|
5830
|
+
}, pi = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), ui = { class: "forgot center-text pointer small-top" }, _i = /* @__PURE__ */ S(() => /* @__PURE__ */ i("br", null, null, -1)), mi = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1));
|
|
5831
|
+
function gi(e, a, n, o, t, r) {
|
|
5820
5832
|
const u = V("router-link");
|
|
5821
5833
|
return c(), l("form", {
|
|
5822
5834
|
class: "page-login content-boxed content-boxed-padding",
|
|
@@ -5828,11 +5840,11 @@ function fi(e, a, n, o, t, r) {
|
|
|
5828
5840
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5829
5841
|
class: "color-black pull-right pointer",
|
|
5830
5842
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5831
|
-
},
|
|
5832
|
-
i("h1",
|
|
5833
|
-
|
|
5834
|
-
i("div",
|
|
5835
|
-
|
|
5843
|
+
}, Fn)) : h("", !0),
|
|
5844
|
+
i("h1", Qn, p(e.ssoLang[this.appLang].verify_account), 1),
|
|
5845
|
+
$n,
|
|
5846
|
+
i("div", Gn, [
|
|
5847
|
+
Wn,
|
|
5836
5848
|
k(i("input", {
|
|
5837
5849
|
id: "emailInput",
|
|
5838
5850
|
"onUpdate:modelValue": a[1] || (a[1] = (s) => t.email = s),
|
|
@@ -5841,13 +5853,13 @@ function fi(e, a, n, o, t, r) {
|
|
|
5841
5853
|
type: "email",
|
|
5842
5854
|
placeholder: e.ssoLang[this.appLang].email,
|
|
5843
5855
|
required: ""
|
|
5844
|
-
}, null, 40,
|
|
5856
|
+
}, null, 40, Yn), [
|
|
5845
5857
|
[x, t.email]
|
|
5846
5858
|
]),
|
|
5847
|
-
|
|
5859
|
+
Xn
|
|
5848
5860
|
]),
|
|
5849
|
-
i("div",
|
|
5850
|
-
|
|
5861
|
+
i("div", Zn, [
|
|
5862
|
+
Jn,
|
|
5851
5863
|
k(i("input", {
|
|
5852
5864
|
id: "codeInput",
|
|
5853
5865
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => t.code = s),
|
|
@@ -5856,34 +5868,34 @@ function fi(e, a, n, o, t, r) {
|
|
|
5856
5868
|
type: "tel",
|
|
5857
5869
|
placeholder: e.ssoLang[this.appLang].code,
|
|
5858
5870
|
required: ""
|
|
5859
|
-
}, null, 40,
|
|
5871
|
+
}, null, 40, ei), [
|
|
5860
5872
|
[x, t.code]
|
|
5861
5873
|
]),
|
|
5862
|
-
|
|
5874
|
+
ai
|
|
5863
5875
|
]),
|
|
5864
|
-
i("button",
|
|
5865
|
-
t.submitted ? (c(), l("span",
|
|
5876
|
+
i("button", ni, [
|
|
5877
|
+
t.submitted ? (c(), l("span", ti)) : (c(), l("span", ii, p(e.ssoLang[this.appLang].verify_account), 1))
|
|
5866
5878
|
]),
|
|
5867
|
-
|
|
5868
|
-
i("p",
|
|
5879
|
+
oi,
|
|
5880
|
+
i("p", ri, [
|
|
5869
5881
|
i("span", {
|
|
5870
5882
|
innerHTML: e.ssoLang[this.appLang].verify_account_p1
|
|
5871
|
-
}, null, 8,
|
|
5872
|
-
|
|
5883
|
+
}, null, 8, si),
|
|
5884
|
+
ci
|
|
5873
5885
|
]),
|
|
5874
|
-
|
|
5886
|
+
li,
|
|
5875
5887
|
n.isModal ? (c(), l("div", {
|
|
5876
5888
|
key: 2,
|
|
5877
5889
|
class: "page-login-links",
|
|
5878
5890
|
onClick: a[5] || (a[5] = (...s) => r.registerAccountModal && r.registerAccountModal(...s))
|
|
5879
5891
|
}, [
|
|
5880
|
-
i("a",
|
|
5892
|
+
i("a", ui, [
|
|
5881
5893
|
f(p(e.ssoLang[this.appLang].or) + " ", 1),
|
|
5882
|
-
|
|
5894
|
+
_i,
|
|
5883
5895
|
f(" " + p(e.ssoLang[this.appLang].create_new_account), 1)
|
|
5884
5896
|
]),
|
|
5885
|
-
|
|
5886
|
-
])) : (c(), l("div",
|
|
5897
|
+
mi
|
|
5898
|
+
])) : (c(), l("div", di, [
|
|
5887
5899
|
v(u, {
|
|
5888
5900
|
class: "create float-right",
|
|
5889
5901
|
to: "/register"
|
|
@@ -5902,11 +5914,11 @@ function fi(e, a, n, o, t, r) {
|
|
|
5902
5914
|
]),
|
|
5903
5915
|
_: 1
|
|
5904
5916
|
}),
|
|
5905
|
-
|
|
5917
|
+
pi
|
|
5906
5918
|
]))
|
|
5907
5919
|
], 36);
|
|
5908
5920
|
}
|
|
5909
|
-
const
|
|
5921
|
+
const ve = /* @__PURE__ */ T(Kn, [["render", gi], ["__scopeId", "data-v-2fd511e2"]]), hi = {
|
|
5910
5922
|
name: "AuthReset",
|
|
5911
5923
|
mixins: [z],
|
|
5912
5924
|
data() {
|
|
@@ -5960,124 +5972,124 @@ const ke = /* @__PURE__ */ T(Fn, [["render", fi], ["__scopeId", "data-v-2fd511e2
|
|
|
5960
5972
|
this.storage.verifyEmail = e;
|
|
5961
5973
|
}
|
|
5962
5974
|
}
|
|
5963
|
-
}, A = (e) => (O("data-v-220c28f9"), e = e(), B(), e),
|
|
5975
|
+
}, A = (e) => (O("data-v-220c28f9"), e = e(), B(), e), fi = {
|
|
5964
5976
|
class: "bold no-bottom center-text",
|
|
5965
5977
|
style: { "margin-top": "63px" }
|
|
5966
|
-
},
|
|
5978
|
+
}, vi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), ki = { class: "page-login-field half-top color-black" }, bi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
5967
5979
|
/* @__PURE__ */ i("img", {
|
|
5968
5980
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5969
5981
|
class: "responsive-image",
|
|
5970
5982
|
style: { width: "80%" }
|
|
5971
5983
|
})
|
|
5972
|
-
], -1)),
|
|
5984
|
+
], -1)), yi = ["placeholder"], wi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("em", null, null, -1)), zi = {
|
|
5973
5985
|
type: "submit",
|
|
5974
5986
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5975
|
-
},
|
|
5987
|
+
}, Li = {
|
|
5976
5988
|
key: 0,
|
|
5977
5989
|
class: "uppercase"
|
|
5978
|
-
},
|
|
5990
|
+
}, Ci = {
|
|
5979
5991
|
key: 1,
|
|
5980
5992
|
class: "button--loading button__loader"
|
|
5981
|
-
},
|
|
5993
|
+
}, Si = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Ti = { class: "close-text center-text half-top color-black" }, ji = ["innerHTML"], Pi = ["href"], Ai = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Ii = { class: "page-login-links" }, Ei = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), xi = {
|
|
5982
5994
|
class: "bold no-bottom center-text",
|
|
5983
5995
|
style: { "margin-top": "63px" }
|
|
5984
|
-
},
|
|
5996
|
+
}, qi = { class: "half-bottom small-top center-text color-black" }, Mi = { class: "page-login-field half-top" }, Ri = /* @__PURE__ */ A(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5985
5997
|
/* @__PURE__ */ i("img", {
|
|
5986
5998
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5987
5999
|
class: "responsive-image",
|
|
5988
6000
|
style: { width: "50%" }
|
|
5989
6001
|
})
|
|
5990
|
-
], -1)),
|
|
6002
|
+
], -1)), Ni = ["type", "placeholder"], Vi = {
|
|
5991
6003
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5992
6004
|
class: "responsive-image password-reveal-icon"
|
|
5993
|
-
},
|
|
6005
|
+
}, Oi = {
|
|
5994
6006
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
5995
6007
|
class: "responsive-image password-reveal-icon"
|
|
5996
|
-
},
|
|
6008
|
+
}, Bi = { class: "page-login-field half-top" }, Di = /* @__PURE__ */ A(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5997
6009
|
/* @__PURE__ */ i("img", {
|
|
5998
6010
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5999
6011
|
class: "responsive-image",
|
|
6000
6012
|
style: { width: "50%" }
|
|
6001
6013
|
})
|
|
6002
|
-
], -1)),
|
|
6014
|
+
], -1)), Ui = ["type", "placeholder"], Ki = {
|
|
6003
6015
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
6004
6016
|
class: "responsive-image password-reveal-icon"
|
|
6005
|
-
},
|
|
6017
|
+
}, Hi = {
|
|
6006
6018
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
6007
6019
|
class: "responsive-image password-reveal-icon"
|
|
6008
|
-
},
|
|
6020
|
+
}, Fi = {
|
|
6009
6021
|
type: "submit",
|
|
6010
6022
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
6011
|
-
},
|
|
6023
|
+
}, Qi = {
|
|
6012
6024
|
key: 0,
|
|
6013
6025
|
class: "uppercase"
|
|
6014
|
-
},
|
|
6026
|
+
}, $i = {
|
|
6015
6027
|
key: 1,
|
|
6016
6028
|
class: "button--loading button__loader"
|
|
6017
|
-
},
|
|
6018
|
-
function
|
|
6029
|
+
}, Gi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Wi = { class: "close-text center-text half-top color-black" }, Yi = ["innerHTML"], Xi = ["href"];
|
|
6030
|
+
function Zi(e, a, n, o, t, r) {
|
|
6019
6031
|
const u = V("router-link");
|
|
6020
6032
|
return t.passwordChange ? (c(), l("form", {
|
|
6021
6033
|
key: 1,
|
|
6022
6034
|
class: "page-login content-boxed content-boxed-padding",
|
|
6023
6035
|
onSubmit: a[7] || (a[7] = y((...s) => r.changePw && r.changePw(...s), ["prevent"]))
|
|
6024
6036
|
}, [
|
|
6025
|
-
i("h3",
|
|
6026
|
-
i("p",
|
|
6027
|
-
i("div",
|
|
6028
|
-
|
|
6037
|
+
i("h3", xi, p(e.ssoLang[this.appLang].password_change), 1),
|
|
6038
|
+
i("p", qi, p(e.ssoLang[this.appLang].password_new), 1),
|
|
6039
|
+
i("div", Mi, [
|
|
6040
|
+
Ri,
|
|
6029
6041
|
k(i("input", {
|
|
6030
6042
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => t.password = s),
|
|
6031
6043
|
type: t.revealPassword ? "text" : "password",
|
|
6032
6044
|
placeholder: e.ssoLang[this.appLang].password,
|
|
6033
6045
|
required: ""
|
|
6034
|
-
}, null, 8,
|
|
6046
|
+
}, null, 8, Ni), [
|
|
6035
6047
|
[U, t.password]
|
|
6036
6048
|
]),
|
|
6037
6049
|
i("em", {
|
|
6038
6050
|
onClick: a[4] || (a[4] = (s) => t.revealPassword = !t.revealPassword)
|
|
6039
6051
|
}, [
|
|
6040
|
-
k(i("img",
|
|
6052
|
+
k(i("img", Vi, null, 512), [
|
|
6041
6053
|
[I, !t.revealPassword]
|
|
6042
6054
|
]),
|
|
6043
|
-
k(i("img",
|
|
6055
|
+
k(i("img", Oi, null, 512), [
|
|
6044
6056
|
[I, t.revealPassword]
|
|
6045
6057
|
])
|
|
6046
6058
|
])
|
|
6047
6059
|
]),
|
|
6048
|
-
i("div",
|
|
6049
|
-
|
|
6060
|
+
i("div", Bi, [
|
|
6061
|
+
Di,
|
|
6050
6062
|
k(i("input", {
|
|
6051
6063
|
"onUpdate:modelValue": a[5] || (a[5] = (s) => t.passwordRepeat = s),
|
|
6052
6064
|
type: t.revealPassword2 ? "text" : "password",
|
|
6053
6065
|
placeholder: e.ssoLang[this.appLang].password_repeat,
|
|
6054
6066
|
required: ""
|
|
6055
|
-
}, null, 8,
|
|
6067
|
+
}, null, 8, Ui), [
|
|
6056
6068
|
[U, t.passwordRepeat]
|
|
6057
6069
|
]),
|
|
6058
6070
|
i("em", {
|
|
6059
6071
|
onClick: a[6] || (a[6] = (s) => t.revealPassword2 = !t.revealPassword2)
|
|
6060
6072
|
}, [
|
|
6061
|
-
k(i("img",
|
|
6073
|
+
k(i("img", Ki, null, 512), [
|
|
6062
6074
|
[I, !t.revealPassword2]
|
|
6063
6075
|
]),
|
|
6064
|
-
k(i("img",
|
|
6076
|
+
k(i("img", Hi, null, 512), [
|
|
6065
6077
|
[I, t.revealPassword2]
|
|
6066
6078
|
])
|
|
6067
6079
|
])
|
|
6068
6080
|
]),
|
|
6069
|
-
i("button",
|
|
6070
|
-
t.submitted ? (c(), l("span",
|
|
6081
|
+
i("button", Fi, [
|
|
6082
|
+
t.submitted ? (c(), l("span", $i)) : (c(), l("span", Qi, p(e.ssoLang[this.appLang].password_change), 1))
|
|
6071
6083
|
]),
|
|
6072
|
-
|
|
6073
|
-
i("p",
|
|
6084
|
+
Gi,
|
|
6085
|
+
i("p", Wi, [
|
|
6074
6086
|
i("span", {
|
|
6075
6087
|
innerHTML: e.ssoLang[this.appLang].reset_password_p2
|
|
6076
|
-
}, null, 8,
|
|
6088
|
+
}, null, 8, Yi),
|
|
6077
6089
|
f(),
|
|
6078
6090
|
i("a", {
|
|
6079
6091
|
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLang].password_reset_t
|
|
6080
|
-
}, " support@tapni.co", 8,
|
|
6092
|
+
}, " support@tapni.co", 8, Xi)
|
|
6081
6093
|
])
|
|
6082
6094
|
], 32)) : (c(), l("form", {
|
|
6083
6095
|
key: 0,
|
|
@@ -6085,10 +6097,10 @@ function et(e, a, n, o, t, r) {
|
|
|
6085
6097
|
onSubmit: a[2] || (a[2] = y((...s) => r.resetEmail && r.resetEmail(...s), ["prevent"])),
|
|
6086
6098
|
autocomplete: "on"
|
|
6087
6099
|
}, [
|
|
6088
|
-
i("h3",
|
|
6089
|
-
|
|
6090
|
-
i("div",
|
|
6091
|
-
|
|
6100
|
+
i("h3", fi, p(e.ssoLang[this.appLang].reset_password), 1),
|
|
6101
|
+
vi,
|
|
6102
|
+
i("div", ki, [
|
|
6103
|
+
bi,
|
|
6092
6104
|
k(i("input", {
|
|
6093
6105
|
id: "emailInput",
|
|
6094
6106
|
"onUpdate:modelValue": a[0] || (a[0] = (s) => t.email = s),
|
|
@@ -6097,25 +6109,25 @@ function et(e, a, n, o, t, r) {
|
|
|
6097
6109
|
type: "email",
|
|
6098
6110
|
placeholder: e.ssoLang[this.appLang].email,
|
|
6099
6111
|
required: ""
|
|
6100
|
-
}, null, 40,
|
|
6112
|
+
}, null, 40, yi), [
|
|
6101
6113
|
[x, t.email]
|
|
6102
6114
|
]),
|
|
6103
|
-
|
|
6115
|
+
wi
|
|
6104
6116
|
]),
|
|
6105
|
-
i("button",
|
|
6106
|
-
t.submitted ? (c(), l("span",
|
|
6117
|
+
i("button", zi, [
|
|
6118
|
+
t.submitted ? (c(), l("span", Ci)) : (c(), l("span", Li, p(e.ssoLang[this.appLang].reset_password), 1))
|
|
6107
6119
|
]),
|
|
6108
|
-
|
|
6109
|
-
i("p",
|
|
6120
|
+
Si,
|
|
6121
|
+
i("p", Ti, [
|
|
6110
6122
|
i("span", {
|
|
6111
6123
|
innerHTML: e.ssoLang[this.appLang].reset_password_p1
|
|
6112
|
-
}, null, 8,
|
|
6124
|
+
}, null, 8, ji),
|
|
6113
6125
|
i("a", {
|
|
6114
6126
|
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLang].password_reset_t
|
|
6115
|
-
}, " support@tapni.co", 8,
|
|
6127
|
+
}, " support@tapni.co", 8, Pi)
|
|
6116
6128
|
]),
|
|
6117
|
-
|
|
6118
|
-
i("div",
|
|
6129
|
+
Ai,
|
|
6130
|
+
i("div", Ii, [
|
|
6119
6131
|
v(u, {
|
|
6120
6132
|
class: "create float-right",
|
|
6121
6133
|
to: "/verify"
|
|
@@ -6134,11 +6146,11 @@ function et(e, a, n, o, t, r) {
|
|
|
6134
6146
|
]),
|
|
6135
6147
|
_: 1
|
|
6136
6148
|
}),
|
|
6137
|
-
|
|
6149
|
+
Ei
|
|
6138
6150
|
])
|
|
6139
6151
|
], 32));
|
|
6140
6152
|
}
|
|
6141
|
-
const
|
|
6153
|
+
const ke = /* @__PURE__ */ T(hi, [["render", Zi], ["__scopeId", "data-v-220c28f9"]]), Ji = {
|
|
6142
6154
|
name: "AuthCallback",
|
|
6143
6155
|
mixins: [$, G, z],
|
|
6144
6156
|
data() {
|
|
@@ -6154,32 +6166,32 @@ const be = /* @__PURE__ */ T(vi, [["render", et], ["__scopeId", "data-v-220c28f9
|
|
|
6154
6166
|
},
|
|
6155
6167
|
methods: {
|
|
6156
6168
|
inAppRedirect() {
|
|
6157
|
-
let e =
|
|
6169
|
+
let e = Me(location.href);
|
|
6158
6170
|
return e = e.replace("http", "tapni"), e = e.replace("https", "tapni"), window.open(e);
|
|
6159
6171
|
}
|
|
6160
6172
|
}
|
|
6161
|
-
},
|
|
6173
|
+
}, et = {
|
|
6162
6174
|
key: 0,
|
|
6163
6175
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
6164
|
-
},
|
|
6176
|
+
}, at = /* @__PURE__ */ i("br", null, null, -1), nt = {
|
|
6165
6177
|
key: 1,
|
|
6166
6178
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
6167
6179
|
};
|
|
6168
|
-
function
|
|
6180
|
+
function it(e, a, n, o, t, r) {
|
|
6169
6181
|
return c(), l("div", null, [
|
|
6170
|
-
(e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5",
|
|
6182
|
+
(e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5", et, [
|
|
6171
6183
|
f(p(e.ssoLang[this.appLang].you_will_be_redirected), 1),
|
|
6172
|
-
|
|
6184
|
+
at,
|
|
6173
6185
|
f(" " + p(e.ssoLang[this.appLang].if_redirect_not_directly) + ", ", 1),
|
|
6174
6186
|
i("span", {
|
|
6175
6187
|
onClick: a[0] || (a[0] = (...u) => r.inAppRedirect && r.inAppRedirect(...u)),
|
|
6176
6188
|
style: { color: "blue", cursor: "pointer" }
|
|
6177
6189
|
}, p(e.ssoLang[this.appLang].click_here), 1),
|
|
6178
6190
|
f(".")
|
|
6179
|
-
])) : (c(), l("h4",
|
|
6191
|
+
])) : (c(), l("h4", nt, p(e.ssoLang[this.appLang].please_wait), 1))
|
|
6180
6192
|
]);
|
|
6181
6193
|
}
|
|
6182
|
-
const
|
|
6194
|
+
const be = /* @__PURE__ */ T(Ji, [["render", it]]), tt = {
|
|
6183
6195
|
name: "ModalOverlay",
|
|
6184
6196
|
mixins: [z],
|
|
6185
6197
|
data() {
|
|
@@ -6204,13 +6216,13 @@ const ye = /* @__PURE__ */ T(at, [["render", ot]]), rt = {
|
|
|
6204
6216
|
}
|
|
6205
6217
|
}
|
|
6206
6218
|
};
|
|
6207
|
-
function
|
|
6219
|
+
function ot(e, a, n, o, t, r) {
|
|
6208
6220
|
return c(), l("div", {
|
|
6209
6221
|
class: b({ "pointer delete-menu": !0, "delete-menu-active": t.toggle }),
|
|
6210
6222
|
onClick: a[0] || (a[0] = (...u) => r.toggleEmit && r.toggleEmit(...u))
|
|
6211
6223
|
}, null, 2);
|
|
6212
6224
|
}
|
|
6213
|
-
const
|
|
6225
|
+
const ye = /* @__PURE__ */ T(tt, [["render", ot], ["__scopeId", "data-v-a128c2fa"]]), rt = {
|
|
6214
6226
|
name: "SSO",
|
|
6215
6227
|
mixins: [Q, $, G, z],
|
|
6216
6228
|
data() {
|
|
@@ -6253,23 +6265,23 @@ const we = /* @__PURE__ */ T(rt, [["render", st], ["__scopeId", "data-v-a128c2fa
|
|
|
6253
6265
|
this.toggle = !this.toggle;
|
|
6254
6266
|
}
|
|
6255
6267
|
}
|
|
6256
|
-
},
|
|
6268
|
+
}, st = (e) => (O("data-v-256337c2"), e = e(), B(), e), ct = /* @__PURE__ */ st(() => /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
|
|
6257
6269
|
/* @__PURE__ */ i("img", {
|
|
6258
6270
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6259
6271
|
class: "responsive-image",
|
|
6260
6272
|
style: { width: "45%" }
|
|
6261
6273
|
})
|
|
6262
|
-
], -1)),
|
|
6263
|
-
|
|
6264
|
-
],
|
|
6274
|
+
], -1)), lt = [
|
|
6275
|
+
ct
|
|
6276
|
+
], dt = { class: "bold center-text color-black half-top half-bottom" }, pt = ["placeholder"], ut = {
|
|
6265
6277
|
type: "submit",
|
|
6266
6278
|
class: "button black-button white-button button-full",
|
|
6267
6279
|
style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
|
|
6268
|
-
},
|
|
6280
|
+
}, _t = { key: 0 }, mt = {
|
|
6269
6281
|
key: 1,
|
|
6270
6282
|
class: "button--loading button__loader"
|
|
6271
6283
|
};
|
|
6272
|
-
function
|
|
6284
|
+
function gt(e, a, n, o, t, r) {
|
|
6273
6285
|
return c(), l("form", {
|
|
6274
6286
|
onSubmit: a[3] || (a[3] = y((...u) => r.submit && r.submit(...u), ["prevent"])),
|
|
6275
6287
|
class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": t.toggle }]),
|
|
@@ -6279,8 +6291,8 @@ function ft(e, a, n, o, t, r) {
|
|
|
6279
6291
|
onClick: a[0] || (a[0] = (...u) => r.forceClose && r.forceClose(...u)),
|
|
6280
6292
|
class: "color-black pull-right pointer",
|
|
6281
6293
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6282
|
-
},
|
|
6283
|
-
i("h3",
|
|
6294
|
+
}, lt),
|
|
6295
|
+
i("h3", dt, p(e.ssoLang[e.appLang].enter_company_email), 1),
|
|
6284
6296
|
i("div", null, [
|
|
6285
6297
|
k(i("input", {
|
|
6286
6298
|
type: "text",
|
|
@@ -6295,16 +6307,16 @@ function ft(e, a, n, o, t, r) {
|
|
|
6295
6307
|
required: "",
|
|
6296
6308
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
6297
6309
|
}, ["prevent"]), ["space"]))
|
|
6298
|
-
}, null, 40,
|
|
6310
|
+
}, null, 40, pt), [
|
|
6299
6311
|
[x, t.email]
|
|
6300
6312
|
])
|
|
6301
6313
|
]),
|
|
6302
|
-
i("button",
|
|
6303
|
-
t.loading ? (c(), l("span",
|
|
6314
|
+
i("button", ut, [
|
|
6315
|
+
t.loading ? (c(), l("span", mt)) : (c(), l("span", _t, p(e.ssoLang[e.appLang].continue), 1))
|
|
6304
6316
|
])
|
|
6305
6317
|
], 34);
|
|
6306
6318
|
}
|
|
6307
|
-
const
|
|
6319
|
+
const we = /* @__PURE__ */ T(rt, [["render", gt], ["__scopeId", "data-v-256337c2"]]), ht = {
|
|
6308
6320
|
name: "SSOPick",
|
|
6309
6321
|
mixins: [Q, $, G, z],
|
|
6310
6322
|
data() {
|
|
@@ -6339,34 +6351,34 @@ const ze = /* @__PURE__ */ T(ct, [["render", ft], ["__scopeId", "data-v-256337c2
|
|
|
6339
6351
|
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;
|
|
6340
6352
|
}
|
|
6341
6353
|
}
|
|
6342
|
-
}, W = (e) => (O("data-v-33bfb54b"), e = e(), B(), e),
|
|
6354
|
+
}, W = (e) => (O("data-v-33bfb54b"), e = e(), B(), e), ft = /* @__PURE__ */ W(() => /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
|
|
6343
6355
|
/* @__PURE__ */ i("img", {
|
|
6344
6356
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6345
6357
|
class: "responsive-image",
|
|
6346
6358
|
style: { width: "45%" }
|
|
6347
6359
|
})
|
|
6348
|
-
], -1)),
|
|
6349
|
-
|
|
6350
|
-
],
|
|
6360
|
+
], -1)), vt = [
|
|
6361
|
+
ft
|
|
6362
|
+
], kt = { class: "bold center-text color-black half-top half-bottom" }, bt = /* @__PURE__ */ W(() => /* @__PURE__ */ i("img", {
|
|
6351
6363
|
src: "https://cdn.tapni.co/icons/azure.png",
|
|
6352
6364
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6353
|
-
}, null, -1)),
|
|
6365
|
+
}, null, -1)), yt = { key: 0 }, wt = {
|
|
6354
6366
|
key: 1,
|
|
6355
6367
|
class: "button--loading button__loader"
|
|
6356
|
-
},
|
|
6368
|
+
}, zt = /* @__PURE__ */ W(() => /* @__PURE__ */ i("img", {
|
|
6357
6369
|
src: "https://cdn.tapni.co/icons/okta.png",
|
|
6358
6370
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6359
|
-
}, null, -1)),
|
|
6371
|
+
}, null, -1)), Lt = { key: 0 }, Ct = {
|
|
6360
6372
|
key: 1,
|
|
6361
6373
|
class: "button--loading button__loader"
|
|
6362
|
-
},
|
|
6374
|
+
}, St = /* @__PURE__ */ W(() => /* @__PURE__ */ i("img", {
|
|
6363
6375
|
src: "https://cdn.tapni.co/icons/saml.png",
|
|
6364
6376
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6365
|
-
}, null, -1)),
|
|
6377
|
+
}, null, -1)), Tt = { key: 0 }, jt = {
|
|
6366
6378
|
key: 1,
|
|
6367
6379
|
class: "button--loading button__loader"
|
|
6368
6380
|
};
|
|
6369
|
-
function
|
|
6381
|
+
function Pt(e, a, n, o, t, r) {
|
|
6370
6382
|
var u, s, _;
|
|
6371
6383
|
return c(), l("form", {
|
|
6372
6384
|
onSubmit: a[4] || (a[4] = y(() => {
|
|
@@ -6378,35 +6390,35 @@ function It(e, a, n, o, t, r) {
|
|
|
6378
6390
|
onClick: a[0] || (a[0] = (...L) => r.forceClose && r.forceClose(...L)),
|
|
6379
6391
|
class: "color-black pull-right pointer",
|
|
6380
6392
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6381
|
-
},
|
|
6382
|
-
i("h3",
|
|
6393
|
+
}, vt),
|
|
6394
|
+
i("h3", kt, p(e.ssoLang[e.appLang].select_sign_method), 1),
|
|
6383
6395
|
(u = t.sso) != null && u.azure ? (c(), l("a", {
|
|
6384
6396
|
key: 0,
|
|
6385
6397
|
onClick: a[1] || (a[1] = (L) => r.ssoLogin("azure")),
|
|
6386
6398
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6387
6399
|
}, [
|
|
6388
|
-
|
|
6389
|
-
t.azureLoad ? (c(), l("span",
|
|
6400
|
+
bt,
|
|
6401
|
+
t.azureLoad ? (c(), l("span", wt)) : (c(), l("span", yt, p(e.ssoLang[e.appLang].sign_in_with) + " Azure", 1))
|
|
6390
6402
|
])) : h("", !0),
|
|
6391
6403
|
(s = t.sso) != null && s.okta ? (c(), l("a", {
|
|
6392
6404
|
key: 1,
|
|
6393
6405
|
onClick: a[2] || (a[2] = (L) => r.ssoLogin("okta")),
|
|
6394
6406
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6395
6407
|
}, [
|
|
6396
|
-
|
|
6397
|
-
t.oktaLoad ? (c(), l("span",
|
|
6408
|
+
zt,
|
|
6409
|
+
t.oktaLoad ? (c(), l("span", Ct)) : (c(), l("span", Lt, p(e.ssoLang[e.appLang].sign_in_with) + " Okta", 1))
|
|
6398
6410
|
])) : h("", !0),
|
|
6399
6411
|
(_ = t.sso) != null && _.saml ? (c(), l("a", {
|
|
6400
6412
|
key: 2,
|
|
6401
6413
|
onClick: a[3] || (a[3] = (L) => r.ssoLogin("saml")),
|
|
6402
6414
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6403
6415
|
}, [
|
|
6404
|
-
|
|
6405
|
-
t.samlLoad ? (c(), l("span",
|
|
6416
|
+
St,
|
|
6417
|
+
t.samlLoad ? (c(), l("span", jt)) : (c(), l("span", Tt, p(e.ssoLang[e.appLang].sign_in_with) + " SAML", 1))
|
|
6406
6418
|
])) : h("", !0)
|
|
6407
6419
|
], 34);
|
|
6408
6420
|
}
|
|
6409
|
-
const
|
|
6421
|
+
const ze = /* @__PURE__ */ T(ht, [["render", Pt], ["__scopeId", "data-v-33bfb54b"]]), At = {
|
|
6410
6422
|
name: "LinkIcon",
|
|
6411
6423
|
mixins: [z],
|
|
6412
6424
|
props: {
|
|
@@ -6478,8 +6490,8 @@ const Le = /* @__PURE__ */ T(vt, [["render", It], ["__scopeId", "data-v-33bfb54b
|
|
|
6478
6490
|
}
|
|
6479
6491
|
},
|
|
6480
6492
|
methods: {}
|
|
6481
|
-
},
|
|
6482
|
-
function
|
|
6493
|
+
}, It = ["src", "alt"], Et = ["src", "alt"], xt = ["src", "alt"], qt = ["src", "alt"];
|
|
6494
|
+
function Mt(e, a, n, o, t, r) {
|
|
6483
6495
|
var u, s;
|
|
6484
6496
|
return c(), l("a", {
|
|
6485
6497
|
class: b(["disable-select", n.linkStyle + (n.disabled ? " opacity-50" : "")]),
|
|
@@ -6502,21 +6514,21 @@ function Nt(e, a, n, o, t, r) {
|
|
|
6502
6514
|
alt: n.data.text,
|
|
6503
6515
|
onLoad: a[0] || (a[0] = (_) => e.$emit("loaded")),
|
|
6504
6516
|
onError: a[1] || (a[1] = (_) => e.$emit("loaded"))
|
|
6505
|
-
}, null, 40,
|
|
6517
|
+
}, null, 40, It)) : !n.data.custom_icon && n.data.type === "customlink" && n.linkAdding ? (c(), l("img", {
|
|
6506
6518
|
key: 1,
|
|
6507
6519
|
src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
|
|
6508
6520
|
class: "responsive-image",
|
|
6509
6521
|
alt: n.data.text,
|
|
6510
6522
|
onLoad: a[2] || (a[2] = (_) => e.$emit("loaded")),
|
|
6511
6523
|
onError: a[3] || (a[3] = (_) => e.$emit("loaded"))
|
|
6512
|
-
}, null, 40,
|
|
6524
|
+
}, null, 40, Et)) : !n.data.custom_icon && n.data.type === "customlink" && !n.linkAdding ? (c(), l("img", {
|
|
6513
6525
|
key: 2,
|
|
6514
6526
|
src: "https://cdn.tapni.co/icons/customlink.png",
|
|
6515
6527
|
class: "responsive-image",
|
|
6516
6528
|
alt: n.data.text,
|
|
6517
6529
|
onLoad: a[4] || (a[4] = (_) => e.$emit("loaded")),
|
|
6518
6530
|
onError: a[5] || (a[5] = (_) => e.$emit("loaded"))
|
|
6519
|
-
}, null, 40,
|
|
6531
|
+
}, null, 40, xt)) : (c(), l("img", {
|
|
6520
6532
|
key: 3,
|
|
6521
6533
|
src: n.data.style.custom_icon,
|
|
6522
6534
|
style: { "border-radius": "22.46%" },
|
|
@@ -6524,7 +6536,7 @@ function Nt(e, a, n, o, t, r) {
|
|
|
6524
6536
|
alt: n.data.text,
|
|
6525
6537
|
onLoad: a[6] || (a[6] = (_) => e.$emit("loaded")),
|
|
6526
6538
|
onError: a[7] || (a[7] = (_) => e.$emit("loaded"))
|
|
6527
|
-
}, null, 40,
|
|
6539
|
+
}, null, 40, qt))
|
|
6528
6540
|
], 6),
|
|
6529
6541
|
i("span", {
|
|
6530
6542
|
class: "link-text link-drag color-black",
|
|
@@ -6532,17 +6544,17 @@ function Nt(e, a, n, o, t, r) {
|
|
|
6532
6544
|
}, p(r.linkText), 5)
|
|
6533
6545
|
], 6);
|
|
6534
6546
|
}
|
|
6535
|
-
const
|
|
6547
|
+
const Rt = /* @__PURE__ */ T(At, [["render", Mt]]), Nt = {
|
|
6536
6548
|
ANDROID_VERSION: "5.6",
|
|
6537
6549
|
IOS_VERSION: "5.6",
|
|
6538
6550
|
WEB_VERSION: "5.6.0",
|
|
6539
6551
|
SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
|
|
6540
6552
|
METAPIXEL_ID: "1203678696914368",
|
|
6541
6553
|
GOOGLE_ANALYTICS_ID: ""
|
|
6542
|
-
},
|
|
6554
|
+
}, Vt = {
|
|
6543
6555
|
name: "Language",
|
|
6544
6556
|
mixins: [z],
|
|
6545
|
-
components: { LinkIcon:
|
|
6557
|
+
components: { LinkIcon: Rt },
|
|
6546
6558
|
data() {
|
|
6547
6559
|
return {
|
|
6548
6560
|
toggle: !1
|
|
@@ -6553,7 +6565,7 @@ const Vt = /* @__PURE__ */ T(Et, [["render", Nt]]), Ot = {
|
|
|
6553
6565
|
this.toggle = !1;
|
|
6554
6566
|
});
|
|
6555
6567
|
let e = this.isNative ? await H.getLanguageCode() : N.getFirstBrowserLanguage();
|
|
6556
|
-
e &&
|
|
6568
|
+
e && Nt.SUPPORTED_LANGUAGES.includes(e) && this.updateLanguage(e);
|
|
6557
6569
|
},
|
|
6558
6570
|
beforeDestroy() {
|
|
6559
6571
|
d._events.toggleLanguageModal.pop();
|
|
@@ -6572,16 +6584,16 @@ const Vt = /* @__PURE__ */ T(Et, [["render", Nt]]), Ot = {
|
|
|
6572
6584
|
this.toggle = !this.toggle;
|
|
6573
6585
|
}
|
|
6574
6586
|
}
|
|
6575
|
-
},
|
|
6587
|
+
}, Ot = (e) => (O("data-v-e5a7ac07"), e = e(), B(), e), Bt = /* @__PURE__ */ Ot(() => /* @__PURE__ */ i("i", { class: "font-17 fa color-black" }, [
|
|
6576
6588
|
/* @__PURE__ */ i("img", {
|
|
6577
6589
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6578
6590
|
class: "fa responsive-image",
|
|
6579
6591
|
style: { width: "45%" }
|
|
6580
6592
|
})
|
|
6581
|
-
], -1)),
|
|
6582
|
-
|
|
6583
|
-
],
|
|
6584
|
-
function
|
|
6593
|
+
], -1)), Dt = [
|
|
6594
|
+
Bt
|
|
6595
|
+
], Ut = { class: "bold center-text color-black small-bottom" };
|
|
6596
|
+
function Kt(e, a, n, o, t, r) {
|
|
6585
6597
|
const u = V("LinkIcon");
|
|
6586
6598
|
return c(), l("div", {
|
|
6587
6599
|
class: b(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": t.toggle }]),
|
|
@@ -6591,8 +6603,8 @@ function Ft(e, a, n, o, t, r) {
|
|
|
6591
6603
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
6592
6604
|
class: "color-black pull-right pointer",
|
|
6593
6605
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6594
|
-
},
|
|
6595
|
-
i("h3",
|
|
6606
|
+
}, Dt),
|
|
6607
|
+
i("h3", Ut, p(e.ssoLang[e.appLang].app_language), 1),
|
|
6596
6608
|
v(u, {
|
|
6597
6609
|
onClick: a[1] || (a[1] = (s) => r.updateLanguage("en")),
|
|
6598
6610
|
"link-style": "link-grid",
|
|
@@ -6651,38 +6663,38 @@ function Ft(e, a, n, o, t, r) {
|
|
|
6651
6663
|
}, null, 8, ["data"])
|
|
6652
6664
|
], 2);
|
|
6653
6665
|
}
|
|
6654
|
-
const
|
|
6655
|
-
var
|
|
6656
|
-
const
|
|
6666
|
+
const Le = /* @__PURE__ */ T(Vt, [["render", Kt], ["__scopeId", "data-v-e5a7ac07"]]);
|
|
6667
|
+
var Ht = { 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 };
|
|
6668
|
+
const Ft = { id: "ssoapp" }, Qt = {
|
|
6657
6669
|
key: 0,
|
|
6658
6670
|
href: "/",
|
|
6659
6671
|
class: "header-logo"
|
|
6660
|
-
},
|
|
6672
|
+
}, $t = /* @__PURE__ */ i("img", {
|
|
6661
6673
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlYUqM1TGq5yp0r+pH1pTUyO1tbVR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if5Yrntwj9kU0RPSUlDef+HzUFIWNBtjRBCCKFCJ4QQQggVOiGEEEKo0AkhhBBChU4IIYRQoRNCCCGECp0QQgghCdKyU6dObAWSGgsWLJBly5axIUgqtGvXTlq3bi21tYxhQypn/vz50r59+2jL33Lq1KnsRZI4VVVV0rJlS9l7771lwoQJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",
|
|
6662
6674
|
onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
|
|
6663
6675
|
class: "header-logo-img"
|
|
6664
|
-
}, null, -1),
|
|
6665
|
-
|
|
6666
|
-
],
|
|
6676
|
+
}, null, -1), Gt = [
|
|
6677
|
+
$t
|
|
6678
|
+
], Wt = { class: "lang-icon" }, Yt = {
|
|
6667
6679
|
class: "snackbar snackbar-boxed",
|
|
6668
6680
|
id: "snackbar"
|
|
6669
|
-
},
|
|
6681
|
+
}, Xt = {
|
|
6670
6682
|
class: "snack-body",
|
|
6671
6683
|
id: "errorSnack"
|
|
6672
|
-
},
|
|
6684
|
+
}, Zt = { id: "errorMessage" }, Jt = /* @__PURE__ */ i("img", {
|
|
6673
6685
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
6674
6686
|
style: { width: "100%" }
|
|
6675
|
-
}, null, -1),
|
|
6676
|
-
|
|
6677
|
-
],
|
|
6687
|
+
}, null, -1), eo = [
|
|
6688
|
+
Jt
|
|
6689
|
+
], ao = {
|
|
6678
6690
|
class: "snack-body",
|
|
6679
6691
|
id: "successSnack"
|
|
6680
|
-
},
|
|
6692
|
+
}, no = { id: "successMessage" }, io = /* @__PURE__ */ i("img", {
|
|
6681
6693
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
6682
6694
|
style: { width: "100%" }
|
|
6683
|
-
}, null, -1),
|
|
6684
|
-
|
|
6685
|
-
],
|
|
6695
|
+
}, null, -1), to = [
|
|
6696
|
+
io
|
|
6697
|
+
], oo = {
|
|
6686
6698
|
name: "TapniAuth",
|
|
6687
6699
|
mixins: [z],
|
|
6688
6700
|
data() {
|
|
@@ -6691,16 +6703,16 @@ const $t = { id: "ssoapp" }, Gt = {
|
|
|
6691
6703
|
};
|
|
6692
6704
|
},
|
|
6693
6705
|
components: {
|
|
6694
|
-
Language:
|
|
6695
|
-
SSOPick:
|
|
6696
|
-
SSO:
|
|
6697
|
-
ModalOverlay:
|
|
6698
|
-
AuthCallback:
|
|
6699
|
-
AuthReset:
|
|
6700
|
-
AuthVerify:
|
|
6701
|
-
AuthRegister:
|
|
6702
|
-
AuthLogin:
|
|
6703
|
-
AuthWelcome:
|
|
6706
|
+
Language: Le,
|
|
6707
|
+
SSOPick: ze,
|
|
6708
|
+
SSO: we,
|
|
6709
|
+
ModalOverlay: ye,
|
|
6710
|
+
AuthCallback: be,
|
|
6711
|
+
AuthReset: ke,
|
|
6712
|
+
AuthVerify: ve,
|
|
6713
|
+
AuthRegister: fe,
|
|
6714
|
+
AuthLogin: he,
|
|
6715
|
+
AuthWelcome: ue
|
|
6704
6716
|
},
|
|
6705
6717
|
props: {
|
|
6706
6718
|
view: {
|
|
@@ -6742,59 +6754,54 @@ const $t = { id: "ssoapp" }, Gt = {
|
|
|
6742
6754
|
this.applyBgStyle();
|
|
6743
6755
|
}
|
|
6744
6756
|
}
|
|
6745
|
-
},
|
|
6757
|
+
}, wo = /* @__PURE__ */ Object.assign(oo, {
|
|
6746
6758
|
setup(e) {
|
|
6747
6759
|
return document.addEventListener("DOMContentLoaded", function() {
|
|
6748
6760
|
const a = document.createElement("script");
|
|
6749
|
-
a.src = `https://www.google.com/recaptcha/api.js?render=${
|
|
6750
|
-
}), (a, n) => (c(), l("div",
|
|
6751
|
-
a.display === "redirect" ? (c(), l("a",
|
|
6761
|
+
a.src = `https://www.google.com/recaptcha/api.js?render=${Ht.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(a);
|
|
6762
|
+
}), (a, n) => (c(), l("div", Ft, [
|
|
6763
|
+
a.display === "redirect" ? (c(), l("a", Qt, Gt)) : h("", !0),
|
|
6752
6764
|
a.display === "redirect" ? (c(), l("a", {
|
|
6753
6765
|
key: 1,
|
|
6754
6766
|
onClick: n[0] || (n[0] = (...o) => a.toggleLanguageModal && a.toggleLanguageModal(...o)),
|
|
6755
6767
|
class: "font-18 no-border pointer color-black",
|
|
6756
6768
|
style: { position: "absolute", right: "20px", top: "-10px" }
|
|
6757
6769
|
}, [
|
|
6758
|
-
i("span",
|
|
6770
|
+
i("span", Wt, p(a.appLang.toUpperCase()), 1)
|
|
6759
6771
|
])) : h("", !0),
|
|
6772
|
+
v(ye),
|
|
6773
|
+
v(Le),
|
|
6760
6774
|
v(we),
|
|
6761
|
-
v(Ce),
|
|
6762
6775
|
v(ze),
|
|
6763
|
-
|
|
6764
|
-
a.initialized && a.renderView === "AuthWelcome" ? (c(), P(_e, { key: 2 })) : a.initialized && a.renderView === "AuthLogin" ? (c(), P(fe, {
|
|
6776
|
+
a.initialized && a.renderView === "AuthWelcome" ? (c(), P(ue, { key: 2 })) : a.initialized && a.renderView === "AuthLogin" ? (c(), P(he, {
|
|
6765
6777
|
key: 3,
|
|
6766
6778
|
isModal: e.isModal
|
|
6767
|
-
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthRegister" ? (c(), P(
|
|
6779
|
+
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthRegister" ? (c(), P(fe, {
|
|
6768
6780
|
key: 4,
|
|
6769
6781
|
isModal: e.isModal
|
|
6770
|
-
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthVerify" ? (c(), P(
|
|
6782
|
+
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthVerify" ? (c(), P(ve, {
|
|
6771
6783
|
key: 5,
|
|
6772
6784
|
isModal: e.isModal
|
|
6773
|
-
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthReset" ? (c(), P(
|
|
6774
|
-
i("div",
|
|
6775
|
-
i("p",
|
|
6776
|
-
i("span",
|
|
6785
|
+
}, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthReset" ? (c(), P(ke, { key: 6 })) : a.initialized && a.renderView === "AuthCallback" ? (c(), P(be, { key: 7 })) : (c(), P(je(Pe), { key: 8 })),
|
|
6786
|
+
i("div", Yt, [
|
|
6787
|
+
i("p", Xt, [
|
|
6788
|
+
i("span", Zt, p(a.ssoLang[a.appLang].error), 1),
|
|
6777
6789
|
i("a", {
|
|
6778
6790
|
onClick: n[1] || (n[1] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
|
|
6779
6791
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
6780
|
-
},
|
|
6792
|
+
}, eo)
|
|
6781
6793
|
]),
|
|
6782
|
-
i("p",
|
|
6783
|
-
i("span",
|
|
6794
|
+
i("p", ao, [
|
|
6795
|
+
i("span", no, p(a.ssoLang[a.appLang].success), 1),
|
|
6784
6796
|
i("a", {
|
|
6785
6797
|
onClick: n[2] || (n[2] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
|
|
6786
6798
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
6787
|
-
},
|
|
6799
|
+
}, to)
|
|
6788
6800
|
])
|
|
6789
6801
|
])
|
|
6790
6802
|
]));
|
|
6791
6803
|
}
|
|
6792
|
-
})
|
|
6793
|
-
TapniAuth: ae,
|
|
6794
|
-
install: (e, a) => {
|
|
6795
|
-
e.component("TapniAuth", ae);
|
|
6796
|
-
}
|
|
6797
|
-
};
|
|
6804
|
+
});
|
|
6798
6805
|
export {
|
|
6799
|
-
|
|
6806
|
+
wo as TapniAuth
|
|
6800
6807
|
};
|