@tapni/auth 0.0.24 → 0.0.25
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 +378 -382
- package/dist/TapniAuth.umd.js +3 -3
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/App.vue +2 -2
- package/src/mixins/apple.mixin.js +1 -1
- package/src/mixins/auth.mixin.js +34 -34
- package/src/mixins/facebook.mixin.js +1 -1
- package/src/mixins/global.mixin.js +2 -2
- package/src/mixins/google.mixin.js +1 -1
- package/src/mixins/microsoft.mixin.js +1 -1
- package/src/mixins/okta.mixin.js +1 -1
- package/src/mixins/qr-auth.mixin.js +1 -1
- package/src/mixins/saml.mixin.js +1 -1
- package/src/views/Login.vue +1 -4
- package/src/views/Register.vue +4 -4
- package/src/views/Reset.vue +3 -3
- package/src/views/Verify.vue +5 -5
- package/src/views/Welcome.vue +1 -1
package/dist/TapniAuth.es.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
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
2
|
import { RouterView as Ae } from "vue-router";
|
|
3
3
|
import g from "await-to-js";
|
|
4
|
-
import
|
|
4
|
+
import $ from "axios";
|
|
5
5
|
import { jwtDecode as te } from "jwt-decode";
|
|
6
|
-
import { Device as
|
|
6
|
+
import { Device as H } from "@capacitor/device";
|
|
7
7
|
import { Capacitor as D } from "@capacitor/core";
|
|
8
8
|
import { GoogleAuth as ee } from "@codetrix-studio/capacitor-google-auth";
|
|
9
9
|
import { FacebookLogin as Ie } from "@capacitor-community/facebook-login";
|
|
10
10
|
import { SignInWithApple as Ee } from "@capacitor-community/apple-sign-in";
|
|
11
11
|
import { MsAuthPlugin as xe } from "@recognizebv/capacitor-plugin-msauth";
|
|
12
|
-
import { Browser as
|
|
12
|
+
import { Browser as F } from "@capacitor/browser";
|
|
13
13
|
import qe from "qr-code-styling";
|
|
14
14
|
import { sanitizeUrl as Me } from "@braintree/sanitize-url";
|
|
15
15
|
import Re from "@tapni/capacitor-reactive-localstorage-vue3";
|
|
16
|
-
const Ne = "0.0.
|
|
16
|
+
const Ne = "0.0.24", m = (e, a = !1) => {
|
|
17
17
|
const n = Ne;
|
|
18
|
-
let o =
|
|
18
|
+
let o = $.create({
|
|
19
19
|
baseURL: "https://api.tapni.co/v1/",
|
|
20
20
|
headers: {
|
|
21
21
|
Authorization: `Bearer ${e.token}`,
|
|
@@ -93,7 +93,7 @@ const Ne = "0.0.23", m = (e, a = !1) => {
|
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
95
|
let S;
|
|
96
|
-
|
|
96
|
+
H.getId().then((e) => S = e.uuid);
|
|
97
97
|
const w = {
|
|
98
98
|
register(e, a) {
|
|
99
99
|
return e.device_id = S, m(a).post("/users/register", e);
|
|
@@ -4254,7 +4254,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
4254
4254
|
}, Oe = {
|
|
4255
4255
|
computed: {
|
|
4256
4256
|
home() {
|
|
4257
|
-
return this
|
|
4257
|
+
return this.$storage.token && this.$storage.username ? "/" + this.$storage.username : "/welcome";
|
|
4258
4258
|
},
|
|
4259
4259
|
isAndroid() {
|
|
4260
4260
|
return /Android/i.test(navigator.userAgent) || D.getPlatform() === "android";
|
|
@@ -4379,7 +4379,7 @@ const z = {
|
|
|
4379
4379
|
}
|
|
4380
4380
|
},
|
|
4381
4381
|
mounted() {
|
|
4382
|
-
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
|
|
4382
|
+
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), Be.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
|
|
4383
4383
|
},
|
|
4384
4384
|
methods: {
|
|
4385
4385
|
errorHandler(e) {
|
|
@@ -4407,13 +4407,13 @@ const z = {
|
|
|
4407
4407
|
},
|
|
4408
4408
|
async eventLog(e) {
|
|
4409
4409
|
const [a, n] = await g(
|
|
4410
|
-
M.eventLog(e, this
|
|
4410
|
+
M.eventLog(e, this.$storage)
|
|
4411
4411
|
);
|
|
4412
4412
|
return a ? this.errorHandler(a) : n;
|
|
4413
4413
|
},
|
|
4414
4414
|
async maintenance() {
|
|
4415
4415
|
const [e, a] = await g(
|
|
4416
|
-
|
|
4416
|
+
$.get("https://status.tapni.co/data/maintenance.json")
|
|
4417
4417
|
);
|
|
4418
4418
|
if (e)
|
|
4419
4419
|
return console.error(e);
|
|
@@ -4426,9 +4426,9 @@ const z = {
|
|
|
4426
4426
|
if (e) {
|
|
4427
4427
|
let a, n;
|
|
4428
4428
|
if (e.username ? [a, n] = await g(
|
|
4429
|
-
M.getByUsername(e, this
|
|
4429
|
+
M.getByUsername(e, this.$storage)
|
|
4430
4430
|
) : e.serial && ([a, n] = await g(
|
|
4431
|
-
M.getByNumber(e, this
|
|
4431
|
+
M.getByNumber(e, this.$storage)
|
|
4432
4432
|
)), a)
|
|
4433
4433
|
return this.errorHandler(a);
|
|
4434
4434
|
if (n.data.success) {
|
|
@@ -4448,7 +4448,7 @@ const z = {
|
|
|
4448
4448
|
e.data.refreshToken && this.setRefreshToken(e.data.refreshToken), e.data.token && this.setToken(e.data.token), ((n = (a = e.data) == null ? void 0 : a.data) == null ? void 0 : n.ssoLang) !== this.appLang && d.$emit("ssoEvent", {
|
|
4449
4449
|
name: "saveProfile",
|
|
4450
4450
|
data: { lang: this.appLang, username: e.data.data.username }
|
|
4451
|
-
}), this.setLoggedInUserId(e.data.data.id), this
|
|
4451
|
+
}), this.setLoggedInUserId(e.data.data.id), this.$storage.UserId = e.data.data.id, this.$storage.username = e.data.data.username, e.isModal === !0 && this.setLoggedInAccounts([
|
|
4452
4452
|
{
|
|
4453
4453
|
id: e.data.data.id,
|
|
4454
4454
|
username: e.data.data.username,
|
|
@@ -4463,14 +4463,14 @@ const z = {
|
|
|
4463
4463
|
id: e.id,
|
|
4464
4464
|
refreshToken: this.refreshToken,
|
|
4465
4465
|
refreshTokenAction: !0
|
|
4466
|
-
}, this
|
|
4466
|
+
}, this.$storage)
|
|
4467
4467
|
);
|
|
4468
4468
|
if (a && a.response && a.response.data.error === "ACCESS_DENIED")
|
|
4469
4469
|
return this.logout(!1), location.reload();
|
|
4470
4470
|
this.setToken(n.data.token);
|
|
4471
4471
|
},
|
|
4472
4472
|
async login(e) {
|
|
4473
|
-
const [a, n] = await g(w.login(e, this
|
|
4473
|
+
const [a, n] = await g(w.login(e, this.$storage));
|
|
4474
4474
|
if (a)
|
|
4475
4475
|
return this.errorHandler(a);
|
|
4476
4476
|
if (n.data.success)
|
|
@@ -4494,17 +4494,17 @@ const z = {
|
|
|
4494
4494
|
},
|
|
4495
4495
|
async register(e) {
|
|
4496
4496
|
const [a, n] = await g(
|
|
4497
|
-
w.register(e, this
|
|
4497
|
+
w.register(e, this.$storage)
|
|
4498
4498
|
);
|
|
4499
4499
|
return a ? this.errorHandler(a) : n;
|
|
4500
4500
|
},
|
|
4501
4501
|
async verify(e) {
|
|
4502
|
-
const [a, n] = await g(w.verify(e, this
|
|
4502
|
+
const [a, n] = await g(w.verify(e, this.$storage));
|
|
4503
4503
|
return a ? this.errorHandler(a) : n;
|
|
4504
4504
|
},
|
|
4505
4505
|
async reset(e) {
|
|
4506
4506
|
const [a, n] = await g(
|
|
4507
|
-
w.sendResetEmail(e, this
|
|
4507
|
+
w.sendResetEmail(e, this.$storage)
|
|
4508
4508
|
);
|
|
4509
4509
|
if (a)
|
|
4510
4510
|
return this.errorHandler(a);
|
|
@@ -4512,7 +4512,7 @@ const z = {
|
|
|
4512
4512
|
},
|
|
4513
4513
|
async exchangeAuthCode(e) {
|
|
4514
4514
|
const [a, n] = await g(
|
|
4515
|
-
|
|
4515
|
+
$.post("https://api.tapni.co/v1/users/auth-code", {
|
|
4516
4516
|
code: e.code,
|
|
4517
4517
|
code_verifier: e.code_verifier
|
|
4518
4518
|
})
|
|
@@ -4523,24 +4523,24 @@ const z = {
|
|
|
4523
4523
|
},
|
|
4524
4524
|
async changePassword(e) {
|
|
4525
4525
|
const [a, n] = await g(
|
|
4526
|
-
w.changePassword(e, this
|
|
4526
|
+
w.changePassword(e, this.$storage)
|
|
4527
4527
|
);
|
|
4528
4528
|
return a ? this.errorHandler(a) : n.data.success;
|
|
4529
4529
|
},
|
|
4530
4530
|
async newPassword(e) {
|
|
4531
4531
|
const [a, n] = await g(
|
|
4532
|
-
M.newPassword(e, this
|
|
4532
|
+
M.newPassword(e, this.$storage)
|
|
4533
4533
|
);
|
|
4534
4534
|
return a ? this.errorHandler(a) : n.data.success;
|
|
4535
4535
|
},
|
|
4536
4536
|
async deleteAccount(e) {
|
|
4537
4537
|
const [a, n] = await g(
|
|
4538
|
-
M.deleteAccount(e, this
|
|
4538
|
+
M.deleteAccount(e, this.$storage)
|
|
4539
4539
|
);
|
|
4540
4540
|
return a ? this.errorHandler(a) : n.data.success;
|
|
4541
4541
|
},
|
|
4542
4542
|
async registerDevice() {
|
|
4543
|
-
const e = await
|
|
4543
|
+
const e = await H.getId(), a = await H.getInfo();
|
|
4544
4544
|
let n = {
|
|
4545
4545
|
device_id: e.uuid,
|
|
4546
4546
|
platform: a.platform,
|
|
@@ -4554,32 +4554,32 @@ const z = {
|
|
|
4554
4554
|
}
|
|
4555
4555
|
};
|
|
4556
4556
|
const [o, i] = await g(
|
|
4557
|
-
ae.registerDevice(n, this
|
|
4557
|
+
ae.registerDevice(n, this.$storage)
|
|
4558
4558
|
);
|
|
4559
4559
|
return o ? this.errorHandler(o) : i;
|
|
4560
4560
|
},
|
|
4561
4561
|
async addFcmToken(e) {
|
|
4562
4562
|
const [a, n] = await g(
|
|
4563
|
-
ae.addFcmToken(e, this
|
|
4563
|
+
ae.addFcmToken(e, this.$storage)
|
|
4564
4564
|
);
|
|
4565
4565
|
return a ? this.errorHandler(a) : n;
|
|
4566
4566
|
},
|
|
4567
4567
|
async acceptCompanyInvitation(e) {
|
|
4568
4568
|
const [a, n] = await g(
|
|
4569
|
-
Y.acceptCompanyInvitation(e, this
|
|
4569
|
+
Y.acceptCompanyInvitation(e, this.$storage)
|
|
4570
4570
|
);
|
|
4571
4571
|
return a ? this.errorHandler(a) : n;
|
|
4572
4572
|
},
|
|
4573
4573
|
async logout(e = !0) {
|
|
4574
|
-
e && w.logout({ token: this.refreshToken }, this
|
|
4574
|
+
e && w.logout({ token: this.refreshToken }, this.$storage), this.$storage.username = null, this.$storage.ssoUser = null, this.$storage.UserId = null, this.setLoggedInUserId(null), this.setToken(null), this.setRefreshToken(null), this.refreshToken ? Object.keys(this.loggedInAccounts).forEach((a) => {
|
|
4575
4575
|
this.loggedInAccounts[a].refreshToken === this.refreshToken && this.refreshTokenAction({
|
|
4576
4576
|
id: this.loggedInAccounts[a].id
|
|
4577
|
-
}).then(() => (this.setLoggedInUserId(this.loggedInAccounts[a].id), this
|
|
4577
|
+
}).then(() => (this.setLoggedInUserId(this.loggedInAccounts[a].id), this.$storage.username = a, this.$storage.UserId = this.loggedInAccounts[a].id, this.getLoggedInAccounts(), this.$router.push("/" + a)));
|
|
4578
4578
|
}) : this.setUser(null), await this.$router.push("/welcome");
|
|
4579
4579
|
},
|
|
4580
4580
|
async getCompanyBySSOEmail(e) {
|
|
4581
4581
|
const [a, n] = await g(
|
|
4582
|
-
Y.getBySSOEmail(e.email, this
|
|
4582
|
+
Y.getBySSOEmail(e.email, this.$storage)
|
|
4583
4583
|
);
|
|
4584
4584
|
if (a)
|
|
4585
4585
|
return this.errorHandler(a);
|
|
@@ -4588,7 +4588,7 @@ const z = {
|
|
|
4588
4588
|
},
|
|
4589
4589
|
async getLoggedInAccounts() {
|
|
4590
4590
|
const e = this.getRefreshTokens(), [a, n] = await g(
|
|
4591
|
-
w.getLoggedInAccounts({ refreshTokens: e }, this
|
|
4591
|
+
w.getLoggedInAccounts({ refreshTokens: e }, this.$storage)
|
|
4592
4592
|
);
|
|
4593
4593
|
if (a)
|
|
4594
4594
|
return this.errorHandler(a);
|
|
@@ -4596,7 +4596,7 @@ const z = {
|
|
|
4596
4596
|
},
|
|
4597
4597
|
async loginUsingQR(e) {
|
|
4598
4598
|
const [a, n] = await g(
|
|
4599
|
-
M.loginUsingQR(e, this
|
|
4599
|
+
M.loginUsingQR(e, this.$storage)
|
|
4600
4600
|
);
|
|
4601
4601
|
return a ? this.errorHandler(a) : n.data.success;
|
|
4602
4602
|
},
|
|
@@ -4609,20 +4609,20 @@ const z = {
|
|
|
4609
4609
|
this.loggedInUserId = e;
|
|
4610
4610
|
},
|
|
4611
4611
|
setUser(e) {
|
|
4612
|
-
this.ssoUser = e, this
|
|
4612
|
+
this.ssoUser = e, this.$storage && this.ssoUser && this.$storage.username === this.ssoUser.username && (this.appLanguage = e.ssoLang);
|
|
4613
4613
|
},
|
|
4614
4614
|
getRefreshTokens() {
|
|
4615
|
-
return console.log("getRefreshTokens", this
|
|
4615
|
+
return console.log("getRefreshTokens", this.$storage, this.$storageApp), this.$storage.refreshTokens.split(",");
|
|
4616
4616
|
},
|
|
4617
4617
|
setRefreshToken(e) {
|
|
4618
4618
|
let a = this.getRefreshTokens();
|
|
4619
|
-
e && !a.includes(e) ? a.unshift(e) : a = a.filter((n) => n !== this.refreshToken), a.length >= 1 ? this.refreshToken = a[0] : this.refreshToken = e, this
|
|
4619
|
+
e && !a.includes(e) ? a.unshift(e) : a = a.filter((n) => n !== this.refreshToken), a.length >= 1 ? this.refreshToken = a[0] : this.refreshToken = e, this.$storage.refreshTokens = a.join(","), d.$emit("ssoEvent", { name: "setRefreshToken", data: e });
|
|
4620
4620
|
},
|
|
4621
4621
|
setToken(e) {
|
|
4622
|
-
console.log("setup token"), this
|
|
4622
|
+
console.log("setup token"), this.$storage.token = e, this.token = e, d.$emit("ssoEvent", { name: "setToken", data: e });
|
|
4623
4623
|
},
|
|
4624
4624
|
setUserID(e) {
|
|
4625
|
-
this
|
|
4625
|
+
this.$storage.UserId = e;
|
|
4626
4626
|
},
|
|
4627
4627
|
updateLang(e) {
|
|
4628
4628
|
this.appLanguage = e;
|
|
@@ -4631,7 +4631,7 @@ const z = {
|
|
|
4631
4631
|
watch: {
|
|
4632
4632
|
"$route.query": {
|
|
4633
4633
|
handler: function() {
|
|
4634
|
-
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
|
|
4634
|
+
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), this.$route.query.qrLogin && this.changeLoginToQr();
|
|
4635
4635
|
},
|
|
4636
4636
|
deep: !0
|
|
4637
4637
|
}
|
|
@@ -4651,22 +4651,22 @@ const z = {
|
|
|
4651
4651
|
},
|
|
4652
4652
|
async mounted() {
|
|
4653
4653
|
document.getElementById("tapniVideo").play(), setTimeout(() => {
|
|
4654
|
-
this
|
|
4654
|
+
this.$storage.token ? this.$router.push(this.home) : d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
4655
4655
|
}, 1500), d.$emit("ssoEvent", { name: "setInitialize", data: !0 });
|
|
4656
4656
|
},
|
|
4657
4657
|
methods: {}
|
|
4658
|
-
}, ue = (e) => (O("data-v-
|
|
4658
|
+
}, ue = (e) => (O("data-v-8f6eac0d"), e = e(), B(), e), Ue = {
|
|
4659
4659
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
4660
4660
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
4661
|
-
}, Ke = ["autoplay"],
|
|
4661
|
+
}, Ke = ["autoplay"], $e = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("source", {
|
|
4662
4662
|
src: "https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",
|
|
4663
4663
|
type: "video/mp4"
|
|
4664
|
-
}, null, -1)),
|
|
4665
|
-
|
|
4666
|
-
],
|
|
4664
|
+
}, null, -1)), He = [
|
|
4665
|
+
$e
|
|
4666
|
+
], Fe = { class: "bold full-top no-bottom center-text" }, Qe = { class: "full-bottom half-top center-text color-black font-16" }, Ge = { class: "page-login-links center-text" }, We = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), Xe = {
|
|
4667
4667
|
key: 2,
|
|
4668
4668
|
style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
|
|
4669
|
-
}, Ye = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-
|
|
4669
|
+
}, Ye = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-8f6eac0d><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-8f6eac0d></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-8f6eac0d><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-8f6eac0d></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-8f6eac0d><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-8f6eac0d></a>', 3), Ze = [
|
|
4670
4670
|
Ye
|
|
4671
4671
|
];
|
|
4672
4672
|
function Je(e, a, n, o, i, r) {
|
|
@@ -4680,9 +4680,9 @@ function Je(e, a, n, o, i, r) {
|
|
|
4680
4680
|
width: "350",
|
|
4681
4681
|
style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
|
|
4682
4682
|
autoplay: e.isNative
|
|
4683
|
-
},
|
|
4684
|
-
t("h1",
|
|
4685
|
-
t("p",
|
|
4683
|
+
}, He, 8, Ke),
|
|
4684
|
+
t("h1", Fe, p(e.ssoLang[this.appLang].welcome), 1),
|
|
4685
|
+
t("p", Qe, p(e.ssoLang[this.appLang].welcome_p1), 1),
|
|
4686
4686
|
h("", !0),
|
|
4687
4687
|
h("", !0),
|
|
4688
4688
|
v(u, {
|
|
@@ -4708,7 +4708,7 @@ function Je(e, a, n, o, i, r) {
|
|
|
4708
4708
|
this.isNative ? h("", !0) : (c(), l("div", Xe, Ze))
|
|
4709
4709
|
]);
|
|
4710
4710
|
}
|
|
4711
|
-
const _e = /* @__PURE__ */ T(De, [["render", Je], ["__scopeId", "data-v-
|
|
4711
|
+
const _e = /* @__PURE__ */ T(De, [["render", Je], ["__scopeId", "data-v-8f6eac0d"]]), me = {
|
|
4712
4712
|
data() {
|
|
4713
4713
|
return {
|
|
4714
4714
|
googleLoad: !1
|
|
@@ -4732,7 +4732,7 @@ const _e = /* @__PURE__ */ T(De, [["render", Je], ["__scopeId", "data-v-bf520ec5
|
|
|
4732
4732
|
return this.googleLoad = !1;
|
|
4733
4733
|
if (this.referral && (a.ref = this.referral), a.authentication && (a.authentication.accessToken || a.authentication.idToken)) {
|
|
4734
4734
|
this.referral && (a.ref = this.referral), this.display === "popup" && (a.response_type = "code");
|
|
4735
|
-
const [o, i] = await g(w.googleSDK(a, this
|
|
4735
|
+
const [o, i] = await g(w.googleSDK(a, this.$storage));
|
|
4736
4736
|
if (o)
|
|
4737
4737
|
return this.googleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
|
|
4738
4738
|
if (i.data.success) {
|
|
@@ -4785,7 +4785,7 @@ const ge = {
|
|
|
4785
4785
|
if (a)
|
|
4786
4786
|
return this.facebookLoad = !1;
|
|
4787
4787
|
if (this.referral && (n.ref = this.referral), this.display === "popup" && (n.response_type = "code"), n.accessToken) {
|
|
4788
|
-
const [i, r] = await g(w.facebookSDK(n, this
|
|
4788
|
+
const [i, r] = await g(w.facebookSDK(n, this.$storage));
|
|
4789
4789
|
if (i)
|
|
4790
4790
|
return this.facebookLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(i);
|
|
4791
4791
|
if (r.data.success) {
|
|
@@ -4825,7 +4825,7 @@ const ge = {
|
|
|
4825
4825
|
return this.appleLoad = !1;
|
|
4826
4826
|
if (a.response.tokenData = te(a.response.identityToken), a && a.response && a.response.identityToken) {
|
|
4827
4827
|
this.referral && (a.response.ref = this.referral), this.display === "popup" && (a.response_type = "code");
|
|
4828
|
-
const [o, i] = await g(w.appleSDK(a.response, this
|
|
4828
|
+
const [o, i] = await g(w.appleSDK(a.response, this.$storage));
|
|
4829
4829
|
if (o)
|
|
4830
4830
|
return this.appleLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
|
|
4831
4831
|
if (i.data.success) {
|
|
@@ -4842,7 +4842,7 @@ const ge = {
|
|
|
4842
4842
|
}
|
|
4843
4843
|
};
|
|
4844
4844
|
var ea = { 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 };
|
|
4845
|
-
const
|
|
4845
|
+
const Q = {
|
|
4846
4846
|
data() {
|
|
4847
4847
|
return {
|
|
4848
4848
|
microsoftLoad: !1,
|
|
@@ -4874,7 +4874,7 @@ const $ = {
|
|
|
4874
4874
|
return console.log("Error: " + JSON.stringify(n)), this.microsoftLoad = !1;
|
|
4875
4875
|
if (this.referral && (o.ref = this.referral), o.response_type = "code", o && (o.accessToken || o.idToken)) {
|
|
4876
4876
|
const [s, _] = await g(
|
|
4877
|
-
w.microsoftSDK(o, this
|
|
4877
|
+
w.microsoftSDK(o, this.$storage)
|
|
4878
4878
|
);
|
|
4879
4879
|
if (s)
|
|
4880
4880
|
return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(s);
|
|
@@ -5000,12 +5000,12 @@ const $ = {
|
|
|
5000
5000
|
methods: {
|
|
5001
5001
|
async exchangeCode(e) {
|
|
5002
5002
|
var i, r;
|
|
5003
|
-
let [a, n] = await g(
|
|
5003
|
+
let [a, n] = await g($.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") })));
|
|
5004
5004
|
if (a)
|
|
5005
5005
|
return this.errorHandler(a);
|
|
5006
5006
|
localStorage.removeItem("pkce_code_verifier");
|
|
5007
5007
|
let o = { accessToken: (i = n.data) == null ? void 0 : i.access_token, domain: e.domain };
|
|
5008
|
-
if (this.display === "popup" && (o.response_type = "code"), [a, n] = await g(w.oktaSDK(o, this
|
|
5008
|
+
if (this.display === "popup" && (o.response_type = "code"), [a, n] = await g(w.oktaSDK(o, this.$storage)), a)
|
|
5009
5009
|
return this.oktaLoad = !1, d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(a);
|
|
5010
5010
|
if (n.data.success) {
|
|
5011
5011
|
if (this.display === "popup")
|
|
@@ -5027,7 +5027,7 @@ const $ = {
|
|
|
5027
5027
|
if (!this.allowedOrigins.includes(q.origin))
|
|
5028
5028
|
return console.log("Origin is not allowed!");
|
|
5029
5029
|
q.data.type === "okta" && (L = q.data.code, await _.exchangeCode({ domain: e.domain, code: L, clientID: e.clientID }));
|
|
5030
|
-
}, { once: !0 }), this.isNative ? await
|
|
5030
|
+
}, { once: !0 }), this.isNative ? await F.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
|
|
5031
5031
|
},
|
|
5032
5032
|
async handleOktaRedirect() {
|
|
5033
5033
|
let e = this.$route.query.code, a, n, o, i, r = { type: "okta" };
|
|
@@ -5036,7 +5036,7 @@ const $ = {
|
|
|
5036
5036
|
const u = new URLSearchParams(a);
|
|
5037
5037
|
n = u.get("client_id"), o = u.get("domain"), i = u.get("platform");
|
|
5038
5038
|
}
|
|
5039
|
-
window.opener ? (window.opener.postMessage(r, location.origin), window.close()) : (this.isNative && this.isIOS && await
|
|
5039
|
+
window.opener ? (window.opener.postMessage(r, location.origin), window.close()) : (this.isNative && this.isIOS && await F.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 }));
|
|
5040
5040
|
}
|
|
5041
5041
|
}
|
|
5042
5042
|
}, W = {
|
|
@@ -5058,7 +5058,7 @@ const $ = {
|
|
|
5058
5058
|
async samlLogin(e) {
|
|
5059
5059
|
this.code_verifier = N.generateRandomString(28), localStorage.setItem("pkce_code_verifier", this.code_verifier), this.code_challenge = await N.pkceChallengeFromVerifier(this.code_verifier);
|
|
5060
5060
|
const a = D.getPlatform();
|
|
5061
|
-
let n = Buffer.from(`code_challenge=${this.code_challenge}&platform=${a}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this
|
|
5061
|
+
let n = Buffer.from(`code_challenge=${this.code_challenge}&platform=${a}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.$storage.realm}`).toString("base64");
|
|
5062
5062
|
e = `${e}&RelayState=${n}`;
|
|
5063
5063
|
let o = this;
|
|
5064
5064
|
window.addEventListener("message", async (i) => {
|
|
@@ -5070,7 +5070,7 @@ const $ = {
|
|
|
5070
5070
|
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") }, "*");
|
|
5071
5071
|
await o.exchangeAuthCode({ code: i.data.code, code_verifier: localStorage.getItem("pkce_code_verifier") }), localStorage.removeItem("pkce_code_verifier");
|
|
5072
5072
|
}
|
|
5073
|
-
}, { once: !0 }), this.isNative ? await
|
|
5073
|
+
}, { once: !0 }), this.isNative ? await F.open({ url: e, presentationStyle: "popover" }) : window.open(e, "popup", "width=600,height=600");
|
|
5074
5074
|
},
|
|
5075
5075
|
async handleSamlRedirect() {
|
|
5076
5076
|
var n;
|
|
@@ -5078,7 +5078,7 @@ const $ = {
|
|
|
5078
5078
|
if (this.$route.query.code && (a.code = this.$route.query.code), window.opener)
|
|
5079
5079
|
window.opener.postMessage(a, location.origin), window.close();
|
|
5080
5080
|
else {
|
|
5081
|
-
if (this.isNative && this.isIOS && await
|
|
5081
|
+
if (this.isNative && this.isIOS && await F.close(), EventBus.$emit("ssoEvent", { name: "setLoading", data: !0 }), this.$route.query.code && (e = this.$route.query.code), e) {
|
|
5082
5082
|
if (this.display === "popup")
|
|
5083
5083
|
return (n = window.parent) == null ? void 0 : n.postMessage({ code: e, state: this.$route.query.state }, "*");
|
|
5084
5084
|
await this.exchangeAuthCode({ code: e, code_verifier: localStorage.getItem("pkce_code_verifier") });
|
|
@@ -5151,7 +5151,7 @@ const $ = {
|
|
|
5151
5151
|
this.poolingInterval = setInterval(async () => {
|
|
5152
5152
|
const [e, a] = await g(Y.qrCodePooling({
|
|
5153
5153
|
qrToken: this.qrCodeHash
|
|
5154
|
-
}, this
|
|
5154
|
+
}, this.$storage));
|
|
5155
5155
|
if (e)
|
|
5156
5156
|
return this.errorHandler(e);
|
|
5157
5157
|
a.data.auth_code && (this.display === "npm" && (this.loginSetup({ ...a, isModal: this.isModal }), this.getLoggedInAccounts()), this.loginSuccess({ ...a, isModal: this.isModal }), clearInterval(this.poolingInterval), clearInterval(this.qrCodeRefreshInterval));
|
|
@@ -5165,7 +5165,7 @@ const $ = {
|
|
|
5165
5165
|
}
|
|
5166
5166
|
}, na = {
|
|
5167
5167
|
name: "AuthLogin",
|
|
5168
|
-
mixins: [me, ge, he,
|
|
5168
|
+
mixins: [me, ge, he, Q, G, W, z, aa],
|
|
5169
5169
|
props: {
|
|
5170
5170
|
isModal: {
|
|
5171
5171
|
type: Boolean,
|
|
@@ -5228,9 +5228,6 @@ const $ = {
|
|
|
5228
5228
|
},
|
|
5229
5229
|
createAccountModal() {
|
|
5230
5230
|
d.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
|
|
5231
|
-
},
|
|
5232
|
-
async bum() {
|
|
5233
|
-
this.$storage.token = "321213";
|
|
5234
5231
|
}
|
|
5235
5232
|
},
|
|
5236
5233
|
watch: {
|
|
@@ -5252,81 +5249,84 @@ const $ = {
|
|
|
5252
5249
|
})
|
|
5253
5250
|
], -1), ia = [
|
|
5254
5251
|
ta
|
|
5255
|
-
], oa =
|
|
5252
|
+
], oa = {
|
|
5253
|
+
class: "bold no-bottom center-text",
|
|
5254
|
+
style: { "margin-top": "63px" }
|
|
5255
|
+
}, ra = /* @__PURE__ */ t("p", { class: "half-bottom small-top center-text color-black" }, null, -1), sa = { key: 1 }, ca = { class: "page-login-field half-top" }, la = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
5256
5256
|
/* @__PURE__ */ t("img", {
|
|
5257
5257
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
5258
5258
|
class: "responsive-image",
|
|
5259
5259
|
style: { width: "50%" }
|
|
5260
5260
|
})
|
|
5261
|
-
], -1),
|
|
5261
|
+
], -1), da = ["placeholder"], pa = /* @__PURE__ */ t("em", null, null, -1), ua = { class: "page-login-field half-bottom" }, _a = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
5262
5262
|
/* @__PURE__ */ t("img", {
|
|
5263
5263
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5264
5264
|
class: "responsive-image",
|
|
5265
5265
|
style: { width: "50%" }
|
|
5266
5266
|
})
|
|
5267
|
-
], -1),
|
|
5267
|
+
], -1), ma = ["type", "placeholder"], ga = {
|
|
5268
5268
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5269
5269
|
class: "responsive-image password-reveal-icon"
|
|
5270
|
-
},
|
|
5270
|
+
}, ha = {
|
|
5271
5271
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
5272
5272
|
class: "responsive-image password-reveal-icon"
|
|
5273
|
-
},
|
|
5273
|
+
}, fa = {
|
|
5274
5274
|
type: "submit",
|
|
5275
5275
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5276
|
-
},
|
|
5276
|
+
}, va = { key: 0 }, ka = {
|
|
5277
5277
|
key: 1,
|
|
5278
5278
|
class: "button--loading button__loader"
|
|
5279
|
-
},
|
|
5279
|
+
}, ba = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), ya = /* @__PURE__ */ t("img", {
|
|
5280
5280
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
5281
5281
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
5282
|
-
}, null, -1),
|
|
5282
|
+
}, null, -1), wa = { key: 0 }, za = {
|
|
5283
5283
|
key: 1,
|
|
5284
5284
|
class: "button--loading button__loader"
|
|
5285
|
-
},
|
|
5285
|
+
}, La = /* @__PURE__ */ t("img", {
|
|
5286
5286
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
5287
5287
|
style: { position: "absolute", "margin-left": "-10px", padding: "8px 0", height: "100%" }
|
|
5288
|
-
}, null, -1),
|
|
5288
|
+
}, null, -1), Sa = { key: 0 }, Ca = {
|
|
5289
5289
|
key: 1,
|
|
5290
5290
|
class: "button--loading-black button__loader"
|
|
5291
|
-
},
|
|
5291
|
+
}, Ta = /* @__PURE__ */ t("img", {
|
|
5292
5292
|
src: "https://cdn.tapni.co/icons/facebook-blue.png",
|
|
5293
5293
|
style: { position: "absolute", "margin-left": "-9px", padding: "10px 0", height: "100%" }
|
|
5294
|
-
}, null, -1),
|
|
5294
|
+
}, null, -1), ja = { key: 0 }, Pa = {
|
|
5295
5295
|
key: 1,
|
|
5296
5296
|
class: "button--loading-black button__loader"
|
|
5297
|
-
},
|
|
5297
|
+
}, Aa = /* @__PURE__ */ t("img", {
|
|
5298
5298
|
src: "https://cdn.tapni.co/icons/outlook.png",
|
|
5299
5299
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5300
|
-
}, null, -1),
|
|
5300
|
+
}, null, -1), Ia = { key: 0 }, Ea = {
|
|
5301
5301
|
key: 1,
|
|
5302
5302
|
class: "button--loading-black button__loader"
|
|
5303
|
-
},
|
|
5303
|
+
}, xa = /* @__PURE__ */ t("img", {
|
|
5304
5304
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
5305
5305
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5306
|
-
}, null, -1),
|
|
5306
|
+
}, null, -1), qa = { key: 0 }, Ma = {
|
|
5307
5307
|
key: 1,
|
|
5308
5308
|
class: "button--loading-black button__loader"
|
|
5309
|
-
},
|
|
5309
|
+
}, Ra = /* @__PURE__ */ t("img", {
|
|
5310
5310
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
5311
5311
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5312
|
-
}, null, -1),
|
|
5312
|
+
}, null, -1), Na = { key: 0 }, Va = {
|
|
5313
5313
|
key: 1,
|
|
5314
5314
|
class: "button--loading-black button__loader"
|
|
5315
|
-
},
|
|
5315
|
+
}, Oa = /* @__PURE__ */ t("img", {
|
|
5316
5316
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5317
5317
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
5318
|
-
}, null, -1),
|
|
5318
|
+
}, null, -1), Ba = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Da = { class: "close-text center-text half-top color-black" }, Ua = /* @__PURE__ */ t("br", null, null, -1), Ka = {
|
|
5319
5319
|
class: "",
|
|
5320
5320
|
href: "https://tapni.co/policies/terms-of-service"
|
|
5321
|
-
},
|
|
5321
|
+
}, $a = { href: "https://tapni.co/policies/privacy-policy" }, Ha = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Fa = {
|
|
5322
5322
|
key: 9,
|
|
5323
5323
|
class: "page-login-links"
|
|
5324
|
-
}, Qa = /* @__PURE__ */ t("div", { class: "clear" }, null, -1),
|
|
5325
|
-
function
|
|
5324
|
+
}, Qa = /* @__PURE__ */ t("div", { class: "clear" }, null, -1), Ga = { class: "forgot center-text pointer small-top" }, Wa = /* @__PURE__ */ t("br", null, null, -1), Xa = /* @__PURE__ */ t("div", { class: "clear" }, null, -1);
|
|
5325
|
+
function Ya(e, a, n, o, i, r) {
|
|
5326
5326
|
const u = V("router-link");
|
|
5327
5327
|
return c(), l("form", {
|
|
5328
5328
|
class: "page-login content-boxed content-boxed-padding",
|
|
5329
|
-
onSubmit: a[
|
|
5329
|
+
onSubmit: a[13] || (a[13] = y((...s) => r.submit && r.submit(...s), ["prevent"])),
|
|
5330
5330
|
autocomplete: "on",
|
|
5331
5331
|
style: R(n.isModal ? "max-width: 500px;" : "")
|
|
5332
5332
|
}, [
|
|
@@ -5336,18 +5336,14 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5336
5336
|
class: "color-black pull-right pointer",
|
|
5337
5337
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5338
5338
|
}, ia)) : h("", !0),
|
|
5339
|
-
t("h1",
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
oa,
|
|
5345
|
-
r.displayFormLogin ? (c(), l("span", ra, [
|
|
5346
|
-
t("div", sa, [
|
|
5347
|
-
ca,
|
|
5339
|
+
t("h1", oa, p(this.ssoLang[this.appLang].login), 1),
|
|
5340
|
+
ra,
|
|
5341
|
+
r.displayFormLogin ? (c(), l("span", sa, [
|
|
5342
|
+
t("div", ca, [
|
|
5343
|
+
la,
|
|
5348
5344
|
k(t("input", {
|
|
5349
|
-
"onUpdate:modelValue": a[
|
|
5350
|
-
onKeydown: a[
|
|
5345
|
+
"onUpdate:modelValue": a[1] || (a[1] = (s) => i.emailOrUsername = s),
|
|
5346
|
+
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
5351
5347
|
}, ["prevent"]), ["space"])),
|
|
5352
5348
|
autocorrect: "off",
|
|
5353
5349
|
autocapitalize: "off",
|
|
@@ -5356,116 +5352,116 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5356
5352
|
name: "email",
|
|
5357
5353
|
placeholder: e.ssoLang[this.appLang].email_username,
|
|
5358
5354
|
required: ""
|
|
5359
|
-
}, null, 40,
|
|
5355
|
+
}, null, 40, da), [
|
|
5360
5356
|
[x, i.emailOrUsername]
|
|
5361
5357
|
]),
|
|
5362
|
-
|
|
5358
|
+
pa
|
|
5363
5359
|
]),
|
|
5364
|
-
t("div",
|
|
5365
|
-
|
|
5360
|
+
t("div", ua, [
|
|
5361
|
+
_a,
|
|
5366
5362
|
k(t("input", {
|
|
5367
|
-
"onUpdate:modelValue": a[
|
|
5363
|
+
"onUpdate:modelValue": a[3] || (a[3] = (s) => i.password = s),
|
|
5368
5364
|
type: i.revealPassword ? "text" : "password",
|
|
5369
5365
|
placeholder: e.ssoLang[this.appLang].password,
|
|
5370
5366
|
name: "password",
|
|
5371
5367
|
required: "",
|
|
5372
5368
|
minlength: "8"
|
|
5373
|
-
}, null, 8,
|
|
5369
|
+
}, null, 8, ma), [
|
|
5374
5370
|
[K, i.password]
|
|
5375
5371
|
]),
|
|
5376
5372
|
t("em", {
|
|
5377
|
-
onClick: a[
|
|
5373
|
+
onClick: a[4] || (a[4] = (s) => i.revealPassword = !i.revealPassword),
|
|
5378
5374
|
class: "pointer"
|
|
5379
5375
|
}, [
|
|
5380
|
-
k(t("img",
|
|
5376
|
+
k(t("img", ga, null, 512), [
|
|
5381
5377
|
[I, !i.revealPassword]
|
|
5382
5378
|
]),
|
|
5383
|
-
k(t("img",
|
|
5379
|
+
k(t("img", ha, null, 512), [
|
|
5384
5380
|
[I, i.revealPassword]
|
|
5385
5381
|
])
|
|
5386
5382
|
])
|
|
5387
5383
|
]),
|
|
5388
|
-
t("button",
|
|
5389
|
-
i.submitted ? (c(), l("span",
|
|
5384
|
+
t("button", fa, [
|
|
5385
|
+
i.submitted ? (c(), l("span", ka)) : (c(), l("span", va, p(e.ssoLang[e.appLang].login), 1))
|
|
5390
5386
|
])
|
|
5391
5387
|
])) : h("", !0),
|
|
5392
|
-
|
|
5388
|
+
ba,
|
|
5393
5389
|
e.displayAppleLogin ? (c(), l("a", {
|
|
5394
5390
|
key: 2,
|
|
5395
|
-
onClick: a[
|
|
5391
|
+
onClick: a[5] || (a[5] = (...s) => e.appleLogin && e.appleLogin(...s)),
|
|
5396
5392
|
class: "button-center button button-90 google-button pointer"
|
|
5397
5393
|
}, [
|
|
5398
|
-
|
|
5399
|
-
e.appleLoad ? (c(), l("span",
|
|
5394
|
+
ya,
|
|
5395
|
+
e.appleLoad ? (c(), l("span", za)) : (c(), l("span", wa, p(e.ssoLang[e.appLang].sign_in_with) + " Apple", 1))
|
|
5400
5396
|
])) : h("", !0),
|
|
5401
5397
|
e.displayGoogleLogin ? (c(), l("a", {
|
|
5402
5398
|
key: 3,
|
|
5403
|
-
onClick: a[
|
|
5399
|
+
onClick: a[6] || (a[6] = (...s) => e.googleLogin && e.googleLogin(...s)),
|
|
5404
5400
|
class: "button-center button button-90 google-button pointer"
|
|
5405
5401
|
}, [
|
|
5406
|
-
|
|
5407
|
-
e.googleLoad ? (c(), l("span",
|
|
5402
|
+
La,
|
|
5403
|
+
e.googleLoad ? (c(), l("span", Ca)) : (c(), l("span", Sa, p(e.ssoLang[e.appLang].sign_in_with) + " Google", 1))
|
|
5408
5404
|
])) : h("", !0),
|
|
5409
5405
|
e.displayFacebookLogin ? (c(), l("a", {
|
|
5410
5406
|
key: 4,
|
|
5411
|
-
onClick: a[
|
|
5407
|
+
onClick: a[7] || (a[7] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
|
|
5412
5408
|
class: "button-center button button-90 google-button pointer"
|
|
5413
5409
|
}, [
|
|
5414
|
-
|
|
5415
|
-
e.facebookLoad ? (c(), l("span",
|
|
5410
|
+
Ta,
|
|
5411
|
+
e.facebookLoad ? (c(), l("span", Pa)) : (c(), l("span", ja, p(e.ssoLang[e.appLang].sign_in_with) + " Facebook", 1))
|
|
5416
5412
|
])) : h("", !0),
|
|
5417
5413
|
e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
|
|
5418
5414
|
key: 5,
|
|
5419
|
-
onClick: a[
|
|
5415
|
+
onClick: a[8] || (a[8] = (...s) => e.microsoftLogin && e.microsoftLogin(...s)),
|
|
5420
5416
|
class: "button-center button button-90 google-button pointer"
|
|
5421
5417
|
}, [
|
|
5422
|
-
|
|
5423
|
-
e.microsoftLoad ? (c(), l("span",
|
|
5418
|
+
Aa,
|
|
5419
|
+
e.microsoftLoad ? (c(), l("span", Ea)) : (c(), l("span", Ia, p(e.ssoLang[e.appLang].sign_in_with) + " Outlook", 1))
|
|
5424
5420
|
])),
|
|
5425
5421
|
e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
|
|
5426
5422
|
key: 6,
|
|
5427
|
-
onClick: a[
|
|
5423
|
+
onClick: a[9] || (a[9] = (...s) => e.ssoLogin && e.ssoLogin(...s)),
|
|
5428
5424
|
class: "button-center button button-90 google-button pointer"
|
|
5429
5425
|
}, [
|
|
5430
|
-
|
|
5431
|
-
e.microsoftSSOLoad ? (c(), l("span",
|
|
5426
|
+
xa,
|
|
5427
|
+
e.microsoftSSOLoad ? (c(), l("span", Ma)) : (c(), l("span", qa, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1))
|
|
5432
5428
|
])),
|
|
5433
5429
|
e.displayMicrosoftSSOLogin ? (c(), l("a", {
|
|
5434
5430
|
key: 7,
|
|
5435
|
-
onClick: a[
|
|
5431
|
+
onClick: a[10] || (a[10] = (s) => e.microsoftLogin("sso")),
|
|
5436
5432
|
class: "button-center button button-90 google-button pointer"
|
|
5437
5433
|
}, [
|
|
5438
|
-
|
|
5439
|
-
e.microsoftSSOLoad ? (c(), l("span",
|
|
5434
|
+
Ra,
|
|
5435
|
+
e.microsoftSSOLoad ? (c(), l("span", Na, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1)) : (c(), l("span", Va))
|
|
5440
5436
|
])) : h("", !0),
|
|
5441
5437
|
r.displayFormLogin ? h("", !0) : (c(), l("a", {
|
|
5442
5438
|
key: 8,
|
|
5443
|
-
onClick: a[
|
|
5439
|
+
onClick: a[11] || (a[11] = (s) => i.emailLogin = !0),
|
|
5444
5440
|
class: "button-center button button-90 google-button pointer"
|
|
5445
5441
|
}, [
|
|
5446
|
-
|
|
5442
|
+
Oa,
|
|
5447
5443
|
t("span", null, p(e.ssoLang[e.appLang].sign_in_with) + " Email", 1)
|
|
5448
5444
|
])),
|
|
5449
|
-
|
|
5450
|
-
t("p",
|
|
5445
|
+
Ba,
|
|
5446
|
+
t("p", Da, [
|
|
5451
5447
|
f(p(e.ssoLang[e.appLang].terms_by_signing_in) + " ", 1),
|
|
5452
|
-
|
|
5453
|
-
t("a",
|
|
5448
|
+
Ua,
|
|
5449
|
+
t("a", Ka, p(e.ssoLang[this.appLang].terms_of_service), 1),
|
|
5454
5450
|
f(" " + p(e.ssoLang[e.appLang].and) + " ", 1),
|
|
5455
|
-
t("a",
|
|
5451
|
+
t("a", $a, p(e.ssoLang[this.appLang].privacy_policy), 1)
|
|
5456
5452
|
]),
|
|
5457
5453
|
Ha,
|
|
5458
5454
|
n.isModal ? (c(), l("div", {
|
|
5459
5455
|
key: 10,
|
|
5460
5456
|
class: "page-login-links",
|
|
5461
|
-
onClick: a[
|
|
5457
|
+
onClick: a[12] || (a[12] = (...s) => r.createAccountModal && r.createAccountModal(...s))
|
|
5462
5458
|
}, [
|
|
5463
|
-
t("a",
|
|
5459
|
+
t("a", Ga, [
|
|
5464
5460
|
f(p(e.ssoLang[e.appLang].or) + " ", 1),
|
|
5465
|
-
|
|
5461
|
+
Wa,
|
|
5466
5462
|
f(" " + p(e.ssoLang[e.appLang].create_new_account), 1)
|
|
5467
5463
|
]),
|
|
5468
|
-
|
|
5464
|
+
Xa
|
|
5469
5465
|
])) : (c(), l("div", Fa, [
|
|
5470
5466
|
r.displayRegisterLogin ? (c(), P(u, {
|
|
5471
5467
|
key: 0,
|
|
@@ -5491,9 +5487,9 @@ function Xa(e, a, n, o, i, r) {
|
|
|
5491
5487
|
]))
|
|
5492
5488
|
], 36);
|
|
5493
5489
|
}
|
|
5494
|
-
const fe = /* @__PURE__ */ T(na, [["render",
|
|
5490
|
+
const fe = /* @__PURE__ */ T(na, [["render", Ya]]), Za = {
|
|
5495
5491
|
name: "AuthRegister",
|
|
5496
|
-
mixins: [me, ge, he,
|
|
5492
|
+
mixins: [me, ge, he, Q, z],
|
|
5497
5493
|
props: {
|
|
5498
5494
|
isModal: {
|
|
5499
5495
|
type: Boolean,
|
|
@@ -5517,7 +5513,7 @@ const fe = /* @__PURE__ */ T(na, [["render", Xa]]), Ya = {
|
|
|
5517
5513
|
};
|
|
5518
5514
|
},
|
|
5519
5515
|
mounted() {
|
|
5520
|
-
this.isModal || (this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.invitationCode = this.$route.query.ic || "", this.$route.query.username && (this.usernameRegister = !0, this.emailLogin = !0, this.username = this.$route.query.username), this.$route.query.ref ? this.referral = this.$route.query.ref : this
|
|
5516
|
+
this.isModal || (this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && d.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.invitationCode = this.$route.query.ic || "", this.$route.query.username && (this.usernameRegister = !0, this.emailLogin = !0, this.username = this.$route.query.username), this.$route.query.ref ? this.referral = this.$route.query.ref : this.$storage.referral && (this.referral = this.$storage.referral));
|
|
5521
5517
|
},
|
|
5522
5518
|
methods: {
|
|
5523
5519
|
async submit() {
|
|
@@ -5552,81 +5548,81 @@ const fe = /* @__PURE__ */ T(na, [["render", Xa]]), Ya = {
|
|
|
5552
5548
|
},
|
|
5553
5549
|
watch: {
|
|
5554
5550
|
email(e) {
|
|
5555
|
-
this
|
|
5551
|
+
this.$storage.verifyEmail = e;
|
|
5556
5552
|
},
|
|
5557
5553
|
referral(e) {
|
|
5558
|
-
this
|
|
5554
|
+
this.$storage.referral = e;
|
|
5559
5555
|
}
|
|
5560
5556
|
}
|
|
5561
|
-
},
|
|
5557
|
+
}, Ja = /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
5562
5558
|
/* @__PURE__ */ t("img", {
|
|
5563
5559
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5564
5560
|
class: "responsive-image",
|
|
5565
5561
|
style: { width: "35%" }
|
|
5566
5562
|
})
|
|
5567
|
-
], -1),
|
|
5568
|
-
|
|
5569
|
-
],
|
|
5563
|
+
], -1), en = [
|
|
5564
|
+
Ja
|
|
5565
|
+
], an = {
|
|
5570
5566
|
class: "bold no-bottom center-text",
|
|
5571
5567
|
style: { "margin-top": "63px" }
|
|
5572
|
-
},
|
|
5568
|
+
}, nn = { class: "half-bottom small-top center-text color-black" }, tn = { key: 0 }, on = /* @__PURE__ */ t("br", null, null, -1), rn = { key: 1 }, sn = { class: "page-login-field half-top" }, cn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
5573
5569
|
/* @__PURE__ */ t("img", {
|
|
5574
5570
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5575
5571
|
class: "responsive-image",
|
|
5576
5572
|
style: { width: "60%" }
|
|
5577
5573
|
})
|
|
5578
|
-
], -1),
|
|
5574
|
+
], -1), ln = ["placeholder"], dn = /* @__PURE__ */ t("em", null, null, -1), pn = { class: "page-login-field half-top" }, un = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
5579
5575
|
/* @__PURE__ */ t("img", {
|
|
5580
5576
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
5581
5577
|
class: "responsive-image",
|
|
5582
5578
|
style: { width: "50%" }
|
|
5583
5579
|
})
|
|
5584
|
-
], -1),
|
|
5580
|
+
], -1), _n = ["placeholder", "disabled"], mn = /* @__PURE__ */ t("em", null, null, -1), gn = { class: "page-login-field half-top half-bottom" }, hn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
5585
5581
|
/* @__PURE__ */ t("img", {
|
|
5586
5582
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5587
5583
|
class: "responsive-image",
|
|
5588
5584
|
style: { width: "50%" }
|
|
5589
5585
|
})
|
|
5590
|
-
], -1),
|
|
5586
|
+
], -1), fn = ["type", "placeholder"], vn = {
|
|
5591
5587
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5592
5588
|
class: "responsive-image password-reveal-icon"
|
|
5593
|
-
},
|
|
5589
|
+
}, kn = {
|
|
5594
5590
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
5595
5591
|
class: "responsive-image password-reveal-icon"
|
|
5596
|
-
},
|
|
5592
|
+
}, bn = {
|
|
5597
5593
|
type: "submit",
|
|
5598
5594
|
class: "button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"
|
|
5599
|
-
},
|
|
5595
|
+
}, yn = { key: 0 }, wn = {
|
|
5600
5596
|
key: 1,
|
|
5601
5597
|
class: "button--loading button__loader"
|
|
5602
|
-
},
|
|
5598
|
+
}, zn = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), Ln = /* @__PURE__ */ t("img", {
|
|
5603
5599
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
5604
5600
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
5605
|
-
}, null, -1),
|
|
5601
|
+
}, null, -1), Sn = { key: 0 }, Cn = {
|
|
5606
5602
|
key: 1,
|
|
5607
5603
|
class: "button--loading button__loader"
|
|
5608
|
-
},
|
|
5604
|
+
}, Tn = /* @__PURE__ */ t("img", {
|
|
5609
5605
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
5610
5606
|
style: { position: "absolute", "margin-left": "-9px", padding: "8px 0", height: "100%" }
|
|
5611
|
-
}, null, -1),
|
|
5607
|
+
}, null, -1), jn = { key: 0 }, Pn = {
|
|
5612
5608
|
key: 1,
|
|
5613
5609
|
class: "button--loading button__loader"
|
|
5614
|
-
},
|
|
5610
|
+
}, An = /* @__PURE__ */ t("img", {
|
|
5615
5611
|
src: "https://cdn.tapni.co/icons/facebook-blue.png",
|
|
5616
5612
|
style: { position: "absolute", "margin-left": "-10px", padding: "10px 0", height: "100%" }
|
|
5617
|
-
}, null, -1),
|
|
5613
|
+
}, null, -1), In = { key: 0 }, En = {
|
|
5618
5614
|
key: 1,
|
|
5619
5615
|
class: "button--loading button__loader"
|
|
5620
|
-
},
|
|
5616
|
+
}, xn = /* @__PURE__ */ t("img", {
|
|
5621
5617
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5622
5618
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
5623
|
-
}, null, -1),
|
|
5619
|
+
}, null, -1), qn = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Mn = { class: "close-text center-text half-top color-black" }, Rn = /* @__PURE__ */ t("br", null, null, -1), Nn = {
|
|
5624
5620
|
class: "",
|
|
5625
5621
|
href: "https://tapni.co/policies/terms-of-service"
|
|
5626
|
-
},
|
|
5622
|
+
}, Vn = { href: "https://tapni.co/policies/privacy-policy" }, On = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Bn = {
|
|
5627
5623
|
key: 5,
|
|
5628
5624
|
class: "page-login-links"
|
|
5629
|
-
},
|
|
5625
|
+
}, Dn = /* @__PURE__ */ t("div", { class: "clear" }, null, -1), Un = { class: "forgot center-text pointer small-top" }, Kn = /* @__PURE__ */ t("br", null, null, -1), $n = /* @__PURE__ */ t("div", { class: "clear" }, null, -1);
|
|
5630
5626
|
function Hn(e, a, n, o, i, r) {
|
|
5631
5627
|
const u = V("router-link");
|
|
5632
5628
|
return c(), l("form", {
|
|
@@ -5640,17 +5636,17 @@ function Hn(e, a, n, o, i, r) {
|
|
|
5640
5636
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5641
5637
|
class: "color-black pull-right pointer",
|
|
5642
5638
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5643
|
-
},
|
|
5644
|
-
t("h1",
|
|
5645
|
-
t("p",
|
|
5646
|
-
i.usernameRegister ? (c(), l("span",
|
|
5639
|
+
}, en)) : h("", !0),
|
|
5640
|
+
t("h1", an, p(e.ssoLang[this.appLang].register), 1),
|
|
5641
|
+
t("p", nn, [
|
|
5642
|
+
i.usernameRegister ? (c(), l("span", tn, [
|
|
5647
5643
|
f(" t.link/" + p(i.username) + " " + p(e.ssoLang[this.appLang].username_is_free) + " ✅ ", 1),
|
|
5648
|
-
|
|
5644
|
+
on
|
|
5649
5645
|
])) : h("", !0)
|
|
5650
5646
|
]),
|
|
5651
|
-
i.emailLogin ? (c(), l("span",
|
|
5652
|
-
t("div",
|
|
5653
|
-
|
|
5647
|
+
i.emailLogin ? (c(), l("span", rn, [
|
|
5648
|
+
t("div", sn, [
|
|
5649
|
+
cn,
|
|
5654
5650
|
k(t("input", {
|
|
5655
5651
|
"onUpdate:modelValue": a[1] || (a[1] = (s) => i.email = s),
|
|
5656
5652
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
@@ -5659,13 +5655,13 @@ function Hn(e, a, n, o, i, r) {
|
|
|
5659
5655
|
placeholder: e.ssoLang[this.appLang].email,
|
|
5660
5656
|
name: "email",
|
|
5661
5657
|
required: ""
|
|
5662
|
-
}, null, 40,
|
|
5658
|
+
}, null, 40, ln), [
|
|
5663
5659
|
[x, i.email]
|
|
5664
5660
|
]),
|
|
5665
|
-
|
|
5661
|
+
dn
|
|
5666
5662
|
]),
|
|
5667
|
-
t("div",
|
|
5668
|
-
|
|
5663
|
+
t("div", pn, [
|
|
5664
|
+
un,
|
|
5669
5665
|
k(t("input", {
|
|
5670
5666
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => i.username = s),
|
|
5671
5667
|
onKeydown: a[4] || (a[4] = E(y(() => {
|
|
@@ -5679,13 +5675,13 @@ function Hn(e, a, n, o, i, r) {
|
|
|
5679
5675
|
required: "",
|
|
5680
5676
|
disabled: i.usernameRegister,
|
|
5681
5677
|
class: b({ "input-disabled": i.usernameRegister })
|
|
5682
|
-
}, null, 42,
|
|
5678
|
+
}, null, 42, _n), [
|
|
5683
5679
|
[x, i.username]
|
|
5684
5680
|
]),
|
|
5685
|
-
|
|
5681
|
+
mn
|
|
5686
5682
|
]),
|
|
5687
|
-
t("div",
|
|
5688
|
-
|
|
5683
|
+
t("div", gn, [
|
|
5684
|
+
hn,
|
|
5689
5685
|
k(t("input", {
|
|
5690
5686
|
"onUpdate:modelValue": a[5] || (a[5] = (s) => i.password = s),
|
|
5691
5687
|
type: i.revealPassword ? "text" : "password",
|
|
@@ -5693,78 +5689,78 @@ function Hn(e, a, n, o, i, r) {
|
|
|
5693
5689
|
name: "password",
|
|
5694
5690
|
required: "",
|
|
5695
5691
|
minlength: "8"
|
|
5696
|
-
}, null, 8,
|
|
5692
|
+
}, null, 8, fn), [
|
|
5697
5693
|
[K, i.password]
|
|
5698
5694
|
]),
|
|
5699
5695
|
t("em", {
|
|
5700
5696
|
onClick: a[6] || (a[6] = (s) => i.revealPassword = !i.revealPassword),
|
|
5701
5697
|
class: "pointer"
|
|
5702
5698
|
}, [
|
|
5703
|
-
k(t("img",
|
|
5699
|
+
k(t("img", vn, null, 512), [
|
|
5704
5700
|
[I, !i.revealPassword]
|
|
5705
5701
|
]),
|
|
5706
|
-
k(t("img",
|
|
5702
|
+
k(t("img", kn, null, 512), [
|
|
5707
5703
|
[I, i.revealPassword]
|
|
5708
5704
|
])
|
|
5709
5705
|
])
|
|
5710
5706
|
]),
|
|
5711
|
-
t("button",
|
|
5712
|
-
i.submitted ? (c(), l("span",
|
|
5707
|
+
t("button", bn, [
|
|
5708
|
+
i.submitted ? (c(), l("span", wn)) : (c(), l("span", yn, p(i.formButtonText), 1))
|
|
5713
5709
|
])
|
|
5714
5710
|
])) : h("", !0),
|
|
5715
|
-
|
|
5711
|
+
zn,
|
|
5716
5712
|
e.displayAppleLogin ? (c(), l("a", {
|
|
5717
5713
|
key: 2,
|
|
5718
5714
|
onClick: a[7] || (a[7] = (...s) => e.appleLogin && e.appleLogin(...s)),
|
|
5719
5715
|
class: "button-center button button-90 google-button pointer"
|
|
5720
5716
|
}, [
|
|
5721
|
-
|
|
5722
|
-
e.appleLoad ? (c(), l("span",
|
|
5717
|
+
Ln,
|
|
5718
|
+
e.appleLoad ? (c(), l("span", Cn)) : (c(), l("span", Sn, p(e.ssoLang[this.appLang].sign_up_with) + " Apple", 1))
|
|
5723
5719
|
])) : h("", !0),
|
|
5724
5720
|
t("a", {
|
|
5725
5721
|
onClick: a[8] || (a[8] = (...s) => e.googleLogin && e.googleLogin(...s)),
|
|
5726
5722
|
class: "button-center button button-90 google-button pointer"
|
|
5727
5723
|
}, [
|
|
5728
|
-
|
|
5729
|
-
e.googleLoad ? (c(), l("span",
|
|
5724
|
+
Tn,
|
|
5725
|
+
e.googleLoad ? (c(), l("span", Pn)) : (c(), l("span", jn, p(e.ssoLang[this.appLang].sign_up_with) + " Google", 1))
|
|
5730
5726
|
]),
|
|
5731
5727
|
e.displayFacebookLogin ? (c(), l("a", {
|
|
5732
5728
|
key: 3,
|
|
5733
5729
|
onClick: a[9] || (a[9] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
|
|
5734
5730
|
class: "button-center button button-90 google-button pointer"
|
|
5735
5731
|
}, [
|
|
5736
|
-
|
|
5737
|
-
e.facebookLoad ? (c(), l("span",
|
|
5732
|
+
An,
|
|
5733
|
+
e.facebookLoad ? (c(), l("span", En)) : (c(), l("span", In, p(e.ssoLang[this.appLang].sign_up_with) + " Facebook", 1))
|
|
5738
5734
|
])) : h("", !0),
|
|
5739
5735
|
i.emailLogin ? h("", !0) : (c(), l("a", {
|
|
5740
5736
|
key: 4,
|
|
5741
5737
|
onClick: a[10] || (a[10] = (s) => i.emailLogin = !0),
|
|
5742
5738
|
class: "button-center button button-90 google-button pointer"
|
|
5743
5739
|
}, [
|
|
5744
|
-
|
|
5740
|
+
xn,
|
|
5745
5741
|
t("span", null, p(e.ssoLang[this.appLang].sign_up_with) + " Email", 1)
|
|
5746
5742
|
])),
|
|
5747
|
-
|
|
5748
|
-
t("p",
|
|
5743
|
+
qn,
|
|
5744
|
+
t("p", Mn, [
|
|
5749
5745
|
f(p(e.ssoLang[this.appLang].terms_by_registering) + " ", 1),
|
|
5750
|
-
|
|
5751
|
-
t("a",
|
|
5746
|
+
Rn,
|
|
5747
|
+
t("a", Nn, p(e.ssoLang[this.appLang].terms_of_service), 1),
|
|
5752
5748
|
f(" " + p(e.ssoLang[this.appLang].and) + " ", 1),
|
|
5753
|
-
t("a",
|
|
5749
|
+
t("a", Vn, p(e.ssoLang[this.appLang].privacy_policy), 1)
|
|
5754
5750
|
]),
|
|
5755
|
-
|
|
5751
|
+
On,
|
|
5756
5752
|
n.isModal ? (c(), l("div", {
|
|
5757
5753
|
key: 6,
|
|
5758
5754
|
class: "page-login-links",
|
|
5759
5755
|
onClick: a[11] || (a[11] = (...s) => r.loginAccountModal && r.loginAccountModal(...s))
|
|
5760
5756
|
}, [
|
|
5761
|
-
t("a",
|
|
5757
|
+
t("a", Un, [
|
|
5762
5758
|
f(p(e.ssoLang[this.appLang].or) + " ", 1),
|
|
5763
|
-
|
|
5759
|
+
Kn,
|
|
5764
5760
|
f(" " + p(e.ssoLang[this.appLang].sign_in_with_new), 1)
|
|
5765
5761
|
]),
|
|
5766
|
-
|
|
5767
|
-
])) : (c(), l("div",
|
|
5762
|
+
$n
|
|
5763
|
+
])) : (c(), l("div", Bn, [
|
|
5768
5764
|
v(u, {
|
|
5769
5765
|
class: "create float-right",
|
|
5770
5766
|
to: "/verify"
|
|
@@ -5783,11 +5779,11 @@ function Hn(e, a, n, o, i, r) {
|
|
|
5783
5779
|
]),
|
|
5784
5780
|
_: 1
|
|
5785
5781
|
}),
|
|
5786
|
-
|
|
5782
|
+
Dn
|
|
5787
5783
|
]))
|
|
5788
5784
|
], 36);
|
|
5789
5785
|
}
|
|
5790
|
-
const ve = /* @__PURE__ */ T(
|
|
5786
|
+
const ve = /* @__PURE__ */ T(Za, [["render", Hn]]), Fn = {
|
|
5791
5787
|
name: "AuthVerify",
|
|
5792
5788
|
mixins: [z],
|
|
5793
5789
|
props: {
|
|
@@ -5808,11 +5804,11 @@ const ve = /* @__PURE__ */ T(Ya, [["render", Hn]]), Fn = {
|
|
|
5808
5804
|
};
|
|
5809
5805
|
},
|
|
5810
5806
|
mounted() {
|
|
5811
|
-
this
|
|
5807
|
+
this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route && this.init();
|
|
5812
5808
|
},
|
|
5813
5809
|
methods: {
|
|
5814
5810
|
init() {
|
|
5815
|
-
this.isLoggedIn ? this.$router.push(this.home) : (this
|
|
5811
|
+
this.isLoggedIn ? this.$router.push(this.home) : (this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route.hash === "#reset" && (this.action = "reset"), this.$route.query.e && (this.email = this.$route.query.e), this.$route.query.c && (this.code = this.$route.query.c), d.$emit("ssoEvent", { name: "setLoading", data: !1 }));
|
|
5816
5812
|
},
|
|
5817
5813
|
async submit() {
|
|
5818
5814
|
if (this.code.length !== 6)
|
|
@@ -5827,7 +5823,7 @@ const ve = /* @__PURE__ */ T(Ya, [["render", Hn]]), Fn = {
|
|
|
5827
5823
|
return !1;
|
|
5828
5824
|
this.submitted = !0;
|
|
5829
5825
|
let a = await this.verify(e);
|
|
5830
|
-
this.submitted = !1, a && a.data && a.data.success === !0 ? (this.action === "reset" && (this.$router.push("/reset?c=" + this.code + "&e=" + this.email), this.successSnack(this.ssoLang[this.appLang].verify_account_success)), this.action === "verify" && (this.isModal && (this.email = "", this.code = "", d.$emit("closeModal")), await this.loginSetup(a), this.getLoggedInAccounts(), this
|
|
5826
|
+
this.submitted = !1, a && a.data && a.data.success === !0 ? (this.action === "reset" && (this.$router.push("/reset?c=" + this.code + "&e=" + this.email), this.successSnack(this.ssoLang[this.appLang].verify_account_success)), this.action === "verify" && (this.isModal && (this.email = "", this.code = "", d.$emit("closeModal")), await this.loginSetup(a), this.getLoggedInAccounts(), this.$storage.verifyEmail = "", this.$router.push("/" + a.data.data.username + "#edit"), this.successSnack(this.ssoLang[this.appLang].verify_account_success2))) : this.submitted = !1;
|
|
5831
5827
|
},
|
|
5832
5828
|
registerAccountModal() {
|
|
5833
5829
|
d.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: !1 });
|
|
@@ -5837,7 +5833,7 @@ const ve = /* @__PURE__ */ T(Ya, [["render", Hn]]), Fn = {
|
|
|
5837
5833
|
}
|
|
5838
5834
|
},
|
|
5839
5835
|
watch: {
|
|
5840
|
-
"storage.verifyEmail"(e) {
|
|
5836
|
+
"$storage.verifyEmail"(e) {
|
|
5841
5837
|
e && (this.email = e);
|
|
5842
5838
|
},
|
|
5843
5839
|
"route.name"(e, a) {
|
|
@@ -5850,43 +5846,43 @@ const ve = /* @__PURE__ */ T(Ya, [["render", Hn]]), Fn = {
|
|
|
5850
5846
|
deep: !0
|
|
5851
5847
|
}
|
|
5852
5848
|
}
|
|
5853
|
-
}, C = (e) => (O("data-v-
|
|
5849
|
+
}, C = (e) => (O("data-v-a8caa217"), e = e(), B(), e), Qn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
5854
5850
|
/* @__PURE__ */ t("img", {
|
|
5855
5851
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5856
5852
|
class: "responsive-image",
|
|
5857
5853
|
style: { width: "35%" }
|
|
5858
5854
|
})
|
|
5859
|
-
], -1)),
|
|
5855
|
+
], -1)), Gn = [
|
|
5860
5856
|
Qn
|
|
5861
|
-
],
|
|
5857
|
+
], Wn = {
|
|
5862
5858
|
class: "bold no-bottom center-text",
|
|
5863
5859
|
style: { "margin-top": "63px" }
|
|
5864
|
-
},
|
|
5860
|
+
}, Xn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("p", { class: "half-bottom half-top center-text color-black" }, null, -1)), Yn = { class: "page-login-field half-top" }, Zn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
5865
5861
|
/* @__PURE__ */ t("img", {
|
|
5866
5862
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5867
5863
|
class: "responsive-image",
|
|
5868
5864
|
style: { width: "80%" }
|
|
5869
5865
|
})
|
|
5870
|
-
], -1)),
|
|
5866
|
+
], -1)), Jn = ["placeholder"], et = /* @__PURE__ */ C(() => /* @__PURE__ */ t("em", null, null, -1)), at = { class: "page-login-field half-top" }, nt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
5871
5867
|
/* @__PURE__ */ t("img", {
|
|
5872
5868
|
src: "https://cdn.tapni.co/icons/password2.png",
|
|
5873
5869
|
class: "responsive-image",
|
|
5874
5870
|
style: { width: "100%" }
|
|
5875
5871
|
})
|
|
5876
|
-
], -1)),
|
|
5872
|
+
], -1)), tt = ["placeholder"], it = /* @__PURE__ */ C(() => /* @__PURE__ */ t("em", null, null, -1)), ot = {
|
|
5877
5873
|
type: "submit",
|
|
5878
5874
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5879
|
-
},
|
|
5875
|
+
}, rt = {
|
|
5880
5876
|
key: 0,
|
|
5881
5877
|
class: "uppercase"
|
|
5882
|
-
},
|
|
5878
|
+
}, st = {
|
|
5883
5879
|
key: 1,
|
|
5884
5880
|
class: "button--loading button__loader"
|
|
5885
|
-
},
|
|
5881
|
+
}, ct = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), lt = { class: "close-text center-text half-top color-black" }, dt = ["innerHTML"], pt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("a", { href: "mailto:support@tapni.co?subject=Email Verification" }, " support@tapni.co", -1)), ut = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), _t = {
|
|
5886
5882
|
key: 1,
|
|
5887
5883
|
class: "page-login-links"
|
|
5888
|
-
},
|
|
5889
|
-
function
|
|
5884
|
+
}, mt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), gt = { class: "forgot center-text pointer small-top" }, ht = /* @__PURE__ */ C(() => /* @__PURE__ */ t("br", null, null, -1)), ft = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1));
|
|
5885
|
+
function vt(e, a, n, o, i, r) {
|
|
5890
5886
|
const u = V("router-link");
|
|
5891
5887
|
return c(), l("form", {
|
|
5892
5888
|
class: "page-login content-boxed content-boxed-padding",
|
|
@@ -5898,11 +5894,11 @@ function ft(e, a, n, o, i, r) {
|
|
|
5898
5894
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5899
5895
|
class: "color-black pull-right pointer",
|
|
5900
5896
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5901
|
-
},
|
|
5902
|
-
t("h1",
|
|
5903
|
-
|
|
5904
|
-
t("div",
|
|
5905
|
-
|
|
5897
|
+
}, Gn)) : h("", !0),
|
|
5898
|
+
t("h1", Wn, p(e.ssoLang[this.appLang].verify_account), 1),
|
|
5899
|
+
Xn,
|
|
5900
|
+
t("div", Yn, [
|
|
5901
|
+
Zn,
|
|
5906
5902
|
k(t("input", {
|
|
5907
5903
|
id: "emailInput",
|
|
5908
5904
|
"onUpdate:modelValue": a[1] || (a[1] = (s) => i.email = s),
|
|
@@ -5911,13 +5907,13 @@ function ft(e, a, n, o, i, r) {
|
|
|
5911
5907
|
type: "email",
|
|
5912
5908
|
placeholder: e.ssoLang[this.appLang].email,
|
|
5913
5909
|
required: ""
|
|
5914
|
-
}, null, 40,
|
|
5910
|
+
}, null, 40, Jn), [
|
|
5915
5911
|
[x, i.email]
|
|
5916
5912
|
]),
|
|
5917
|
-
|
|
5913
|
+
et
|
|
5918
5914
|
]),
|
|
5919
|
-
t("div",
|
|
5920
|
-
|
|
5915
|
+
t("div", at, [
|
|
5916
|
+
nt,
|
|
5921
5917
|
k(t("input", {
|
|
5922
5918
|
id: "codeInput",
|
|
5923
5919
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => i.code = s),
|
|
@@ -5926,34 +5922,34 @@ function ft(e, a, n, o, i, r) {
|
|
|
5926
5922
|
type: "tel",
|
|
5927
5923
|
placeholder: e.ssoLang[this.appLang].code,
|
|
5928
5924
|
required: ""
|
|
5929
|
-
}, null, 40,
|
|
5925
|
+
}, null, 40, tt), [
|
|
5930
5926
|
[x, i.code]
|
|
5931
5927
|
]),
|
|
5932
|
-
|
|
5928
|
+
it
|
|
5933
5929
|
]),
|
|
5934
|
-
t("button",
|
|
5935
|
-
i.submitted ? (c(), l("span",
|
|
5930
|
+
t("button", ot, [
|
|
5931
|
+
i.submitted ? (c(), l("span", st)) : (c(), l("span", rt, p(e.ssoLang[this.appLang].verify_account), 1))
|
|
5936
5932
|
]),
|
|
5937
|
-
|
|
5938
|
-
t("p",
|
|
5933
|
+
ct,
|
|
5934
|
+
t("p", lt, [
|
|
5939
5935
|
t("span", {
|
|
5940
5936
|
innerHTML: e.ssoLang[this.appLang].verify_account_p1
|
|
5941
|
-
}, null, 8,
|
|
5942
|
-
|
|
5937
|
+
}, null, 8, dt),
|
|
5938
|
+
pt
|
|
5943
5939
|
]),
|
|
5944
|
-
|
|
5940
|
+
ut,
|
|
5945
5941
|
n.isModal ? (c(), l("div", {
|
|
5946
5942
|
key: 2,
|
|
5947
5943
|
class: "page-login-links",
|
|
5948
5944
|
onClick: a[5] || (a[5] = (...s) => r.registerAccountModal && r.registerAccountModal(...s))
|
|
5949
5945
|
}, [
|
|
5950
|
-
t("a",
|
|
5946
|
+
t("a", gt, [
|
|
5951
5947
|
f(p(e.ssoLang[this.appLang].or) + " ", 1),
|
|
5952
|
-
|
|
5948
|
+
ht,
|
|
5953
5949
|
f(" " + p(e.ssoLang[this.appLang].create_new_account), 1)
|
|
5954
5950
|
]),
|
|
5955
|
-
|
|
5956
|
-
])) : (c(), l("div",
|
|
5951
|
+
ft
|
|
5952
|
+
])) : (c(), l("div", _t, [
|
|
5957
5953
|
v(u, {
|
|
5958
5954
|
class: "create float-right",
|
|
5959
5955
|
to: "/register"
|
|
@@ -5972,11 +5968,11 @@ function ft(e, a, n, o, i, r) {
|
|
|
5972
5968
|
]),
|
|
5973
5969
|
_: 1
|
|
5974
5970
|
}),
|
|
5975
|
-
|
|
5971
|
+
mt
|
|
5976
5972
|
]))
|
|
5977
5973
|
], 36);
|
|
5978
5974
|
}
|
|
5979
|
-
const ke = /* @__PURE__ */ T(Fn, [["render",
|
|
5975
|
+
const ke = /* @__PURE__ */ T(Fn, [["render", vt], ["__scopeId", "data-v-a8caa217"]]), kt = {
|
|
5980
5976
|
name: "AuthReset",
|
|
5981
5977
|
mixins: [z],
|
|
5982
5978
|
data() {
|
|
@@ -5994,7 +5990,7 @@ const ke = /* @__PURE__ */ T(Fn, [["render", ft], ["__scopeId", "data-v-2fd511e2
|
|
|
5994
5990
|
};
|
|
5995
5991
|
},
|
|
5996
5992
|
mounted() {
|
|
5997
|
-
this
|
|
5993
|
+
this.$storage.verifyEmail && (this.email = this.$storage.verifyEmail), this.$route.query.c && (this.code = this.$route.query.c, this.passwordChange = !0), this.$route.query.e && (this.email = this.$route.query.e), d.$emit("ssoEvent", { name: "setLoading", data: !1 });
|
|
5998
5994
|
},
|
|
5999
5995
|
methods: {
|
|
6000
5996
|
async resetEmail() {
|
|
@@ -6027,43 +6023,43 @@ const ke = /* @__PURE__ */ T(Fn, [["render", ft], ["__scopeId", "data-v-2fd511e2
|
|
|
6027
6023
|
},
|
|
6028
6024
|
watch: {
|
|
6029
6025
|
email(e) {
|
|
6030
|
-
this
|
|
6026
|
+
this.$storage.verifyEmail = e;
|
|
6031
6027
|
}
|
|
6032
6028
|
}
|
|
6033
|
-
}, A = (e) => (O("data-v-
|
|
6029
|
+
}, A = (e) => (O("data-v-452bcb4c"), e = e(), B(), e), bt = {
|
|
6034
6030
|
class: "bold no-bottom center-text",
|
|
6035
6031
|
style: { "margin-top": "63px" }
|
|
6036
|
-
},
|
|
6032
|
+
}, yt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), wt = { class: "page-login-field half-top color-black" }, zt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
6037
6033
|
/* @__PURE__ */ t("img", {
|
|
6038
6034
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
6039
6035
|
class: "responsive-image",
|
|
6040
6036
|
style: { width: "80%" }
|
|
6041
6037
|
})
|
|
6042
|
-
], -1)),
|
|
6038
|
+
], -1)), Lt = ["placeholder"], St = /* @__PURE__ */ A(() => /* @__PURE__ */ t("em", null, null, -1)), Ct = {
|
|
6043
6039
|
type: "submit",
|
|
6044
6040
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
6045
|
-
},
|
|
6041
|
+
}, Tt = {
|
|
6046
6042
|
key: 0,
|
|
6047
6043
|
class: "uppercase"
|
|
6048
|
-
},
|
|
6044
|
+
}, jt = {
|
|
6049
6045
|
key: 1,
|
|
6050
6046
|
class: "button--loading button__loader"
|
|
6051
|
-
},
|
|
6047
|
+
}, Pt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), At = { class: "close-text center-text half-top color-black" }, It = ["innerHTML"], Et = ["href"], xt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), qt = { class: "page-login-links" }, Mt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), Rt = {
|
|
6052
6048
|
class: "bold no-bottom center-text",
|
|
6053
6049
|
style: { "margin-top": "63px" }
|
|
6054
|
-
},
|
|
6050
|
+
}, Nt = { class: "half-bottom small-top center-text color-black" }, Vt = { class: "page-login-field half-top" }, Ot = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
6055
6051
|
/* @__PURE__ */ t("img", {
|
|
6056
6052
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
6057
6053
|
class: "responsive-image",
|
|
6058
6054
|
style: { width: "50%" }
|
|
6059
6055
|
})
|
|
6060
|
-
], -1)),
|
|
6056
|
+
], -1)), Bt = ["type", "placeholder"], Dt = {
|
|
6061
6057
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
6062
6058
|
class: "responsive-image password-reveal-icon"
|
|
6063
|
-
},
|
|
6059
|
+
}, Ut = {
|
|
6064
6060
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
6065
6061
|
class: "responsive-image password-reveal-icon"
|
|
6066
|
-
},
|
|
6062
|
+
}, Kt = { class: "page-login-field half-top" }, $t = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
|
|
6067
6063
|
/* @__PURE__ */ t("img", {
|
|
6068
6064
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
6069
6065
|
class: "responsive-image",
|
|
@@ -6075,48 +6071,48 @@ const ke = /* @__PURE__ */ T(Fn, [["render", ft], ["__scopeId", "data-v-2fd511e2
|
|
|
6075
6071
|
}, Qt = {
|
|
6076
6072
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
6077
6073
|
class: "responsive-image password-reveal-icon"
|
|
6078
|
-
},
|
|
6074
|
+
}, Gt = {
|
|
6079
6075
|
type: "submit",
|
|
6080
6076
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
6081
|
-
},
|
|
6077
|
+
}, Wt = {
|
|
6082
6078
|
key: 0,
|
|
6083
6079
|
class: "uppercase"
|
|
6084
|
-
},
|
|
6080
|
+
}, Xt = {
|
|
6085
6081
|
key: 1,
|
|
6086
6082
|
class: "button--loading button__loader"
|
|
6087
|
-
},
|
|
6088
|
-
function
|
|
6083
|
+
}, Yt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Zt = { class: "close-text center-text half-top color-black" }, Jt = ["innerHTML"], ei = ["href"];
|
|
6084
|
+
function ai(e, a, n, o, i, r) {
|
|
6089
6085
|
const u = V("router-link");
|
|
6090
6086
|
return i.passwordChange ? (c(), l("form", {
|
|
6091
6087
|
key: 1,
|
|
6092
6088
|
class: "page-login content-boxed content-boxed-padding",
|
|
6093
6089
|
onSubmit: a[7] || (a[7] = y((...s) => r.changePw && r.changePw(...s), ["prevent"]))
|
|
6094
6090
|
}, [
|
|
6095
|
-
t("h3",
|
|
6096
|
-
t("p",
|
|
6097
|
-
t("div",
|
|
6098
|
-
|
|
6091
|
+
t("h3", Rt, p(e.ssoLang[this.appLang].password_change), 1),
|
|
6092
|
+
t("p", Nt, p(e.ssoLang[this.appLang].password_new), 1),
|
|
6093
|
+
t("div", Vt, [
|
|
6094
|
+
Ot,
|
|
6099
6095
|
k(t("input", {
|
|
6100
6096
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => i.password = s),
|
|
6101
6097
|
type: i.revealPassword ? "text" : "password",
|
|
6102
6098
|
placeholder: e.ssoLang[this.appLang].password,
|
|
6103
6099
|
required: ""
|
|
6104
|
-
}, null, 8,
|
|
6100
|
+
}, null, 8, Bt), [
|
|
6105
6101
|
[K, i.password]
|
|
6106
6102
|
]),
|
|
6107
6103
|
t("em", {
|
|
6108
6104
|
onClick: a[4] || (a[4] = (s) => i.revealPassword = !i.revealPassword)
|
|
6109
6105
|
}, [
|
|
6110
|
-
k(t("img",
|
|
6106
|
+
k(t("img", Dt, null, 512), [
|
|
6111
6107
|
[I, !i.revealPassword]
|
|
6112
6108
|
]),
|
|
6113
|
-
k(t("img",
|
|
6109
|
+
k(t("img", Ut, null, 512), [
|
|
6114
6110
|
[I, i.revealPassword]
|
|
6115
6111
|
])
|
|
6116
6112
|
])
|
|
6117
6113
|
]),
|
|
6118
|
-
t("div",
|
|
6119
|
-
|
|
6114
|
+
t("div", Kt, [
|
|
6115
|
+
$t,
|
|
6120
6116
|
k(t("input", {
|
|
6121
6117
|
"onUpdate:modelValue": a[5] || (a[5] = (s) => i.passwordRepeat = s),
|
|
6122
6118
|
type: i.revealPassword2 ? "text" : "password",
|
|
@@ -6136,18 +6132,18 @@ function ei(e, a, n, o, i, r) {
|
|
|
6136
6132
|
])
|
|
6137
6133
|
])
|
|
6138
6134
|
]),
|
|
6139
|
-
t("button",
|
|
6140
|
-
i.submitted ? (c(), l("span",
|
|
6135
|
+
t("button", Gt, [
|
|
6136
|
+
i.submitted ? (c(), l("span", Xt)) : (c(), l("span", Wt, p(e.ssoLang[this.appLang].password_change), 1))
|
|
6141
6137
|
]),
|
|
6142
|
-
|
|
6143
|
-
t("p",
|
|
6138
|
+
Yt,
|
|
6139
|
+
t("p", Zt, [
|
|
6144
6140
|
t("span", {
|
|
6145
6141
|
innerHTML: e.ssoLang[this.appLang].reset_password_p2
|
|
6146
|
-
}, null, 8,
|
|
6142
|
+
}, null, 8, Jt),
|
|
6147
6143
|
f(),
|
|
6148
6144
|
t("a", {
|
|
6149
6145
|
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLang].password_reset_t
|
|
6150
|
-
}, " support@tapni.co", 8,
|
|
6146
|
+
}, " support@tapni.co", 8, ei)
|
|
6151
6147
|
])
|
|
6152
6148
|
], 32)) : (c(), l("form", {
|
|
6153
6149
|
key: 0,
|
|
@@ -6155,10 +6151,10 @@ function ei(e, a, n, o, i, r) {
|
|
|
6155
6151
|
onSubmit: a[2] || (a[2] = y((...s) => r.resetEmail && r.resetEmail(...s), ["prevent"])),
|
|
6156
6152
|
autocomplete: "on"
|
|
6157
6153
|
}, [
|
|
6158
|
-
t("h3",
|
|
6159
|
-
|
|
6160
|
-
t("div",
|
|
6161
|
-
|
|
6154
|
+
t("h3", bt, p(e.ssoLang[this.appLang].reset_password), 1),
|
|
6155
|
+
yt,
|
|
6156
|
+
t("div", wt, [
|
|
6157
|
+
zt,
|
|
6162
6158
|
k(t("input", {
|
|
6163
6159
|
id: "emailInput",
|
|
6164
6160
|
"onUpdate:modelValue": a[0] || (a[0] = (s) => i.email = s),
|
|
@@ -6167,25 +6163,25 @@ function ei(e, a, n, o, i, r) {
|
|
|
6167
6163
|
type: "email",
|
|
6168
6164
|
placeholder: e.ssoLang[this.appLang].email,
|
|
6169
6165
|
required: ""
|
|
6170
|
-
}, null, 40,
|
|
6166
|
+
}, null, 40, Lt), [
|
|
6171
6167
|
[x, i.email]
|
|
6172
6168
|
]),
|
|
6173
|
-
|
|
6169
|
+
St
|
|
6174
6170
|
]),
|
|
6175
|
-
t("button",
|
|
6176
|
-
i.submitted ? (c(), l("span",
|
|
6171
|
+
t("button", Ct, [
|
|
6172
|
+
i.submitted ? (c(), l("span", jt)) : (c(), l("span", Tt, p(e.ssoLang[this.appLang].reset_password), 1))
|
|
6177
6173
|
]),
|
|
6178
|
-
|
|
6179
|
-
t("p",
|
|
6174
|
+
Pt,
|
|
6175
|
+
t("p", At, [
|
|
6180
6176
|
t("span", {
|
|
6181
6177
|
innerHTML: e.ssoLang[this.appLang].reset_password_p1
|
|
6182
|
-
}, null, 8,
|
|
6178
|
+
}, null, 8, It),
|
|
6183
6179
|
t("a", {
|
|
6184
6180
|
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLang].password_reset_t
|
|
6185
|
-
}, " support@tapni.co", 8,
|
|
6181
|
+
}, " support@tapni.co", 8, Et)
|
|
6186
6182
|
]),
|
|
6187
|
-
|
|
6188
|
-
t("div",
|
|
6183
|
+
xt,
|
|
6184
|
+
t("div", qt, [
|
|
6189
6185
|
v(u, {
|
|
6190
6186
|
class: "create float-right",
|
|
6191
6187
|
to: "/verify"
|
|
@@ -6204,11 +6200,11 @@ function ei(e, a, n, o, i, r) {
|
|
|
6204
6200
|
]),
|
|
6205
6201
|
_: 1
|
|
6206
6202
|
}),
|
|
6207
|
-
|
|
6203
|
+
Mt
|
|
6208
6204
|
])
|
|
6209
6205
|
], 32));
|
|
6210
6206
|
}
|
|
6211
|
-
const be = /* @__PURE__ */ T(
|
|
6207
|
+
const be = /* @__PURE__ */ T(kt, [["render", ai], ["__scopeId", "data-v-452bcb4c"]]), ni = {
|
|
6212
6208
|
name: "AuthCallback",
|
|
6213
6209
|
mixins: [G, W, z],
|
|
6214
6210
|
data() {
|
|
@@ -6228,28 +6224,28 @@ const be = /* @__PURE__ */ T(vt, [["render", ei], ["__scopeId", "data-v-220c28f9
|
|
|
6228
6224
|
return e = e.replace("http", "tapni"), e = e.replace("https", "tapni"), window.open(e);
|
|
6229
6225
|
}
|
|
6230
6226
|
}
|
|
6231
|
-
},
|
|
6227
|
+
}, ti = {
|
|
6232
6228
|
key: 0,
|
|
6233
6229
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
6234
|
-
},
|
|
6230
|
+
}, ii = /* @__PURE__ */ t("br", null, null, -1), oi = {
|
|
6235
6231
|
key: 1,
|
|
6236
6232
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
6237
6233
|
};
|
|
6238
|
-
function
|
|
6234
|
+
function ri(e, a, n, o, i, r) {
|
|
6239
6235
|
return c(), l("div", null, [
|
|
6240
|
-
(e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5",
|
|
6236
|
+
(e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5", ti, [
|
|
6241
6237
|
f(p(e.ssoLang[this.appLang].you_will_be_redirected), 1),
|
|
6242
|
-
|
|
6238
|
+
ii,
|
|
6243
6239
|
f(" " + p(e.ssoLang[this.appLang].if_redirect_not_directly) + ", ", 1),
|
|
6244
6240
|
t("span", {
|
|
6245
6241
|
onClick: a[0] || (a[0] = (...u) => r.inAppRedirect && r.inAppRedirect(...u)),
|
|
6246
6242
|
style: { color: "blue", cursor: "pointer" }
|
|
6247
6243
|
}, p(e.ssoLang[this.appLang].click_here), 1),
|
|
6248
6244
|
f(".")
|
|
6249
|
-
])) : (c(), l("h4",
|
|
6245
|
+
])) : (c(), l("h4", oi, p(e.ssoLang[this.appLang].please_wait), 1))
|
|
6250
6246
|
]);
|
|
6251
6247
|
}
|
|
6252
|
-
const ye = /* @__PURE__ */ T(
|
|
6248
|
+
const ye = /* @__PURE__ */ T(ni, [["render", ri]]), si = {
|
|
6253
6249
|
name: "ModalOverlay",
|
|
6254
6250
|
mixins: [z],
|
|
6255
6251
|
data() {
|
|
@@ -6274,15 +6270,15 @@ const ye = /* @__PURE__ */ T(ai, [["render", oi]]), ri = {
|
|
|
6274
6270
|
}
|
|
6275
6271
|
}
|
|
6276
6272
|
};
|
|
6277
|
-
function
|
|
6273
|
+
function ci(e, a, n, o, i, r) {
|
|
6278
6274
|
return c(), l("div", {
|
|
6279
6275
|
class: b({ "pointer delete-menu": !0, "delete-menu-active": i.toggle }),
|
|
6280
6276
|
onClick: a[0] || (a[0] = (...u) => r.toggleEmit && r.toggleEmit(...u))
|
|
6281
6277
|
}, null, 2);
|
|
6282
6278
|
}
|
|
6283
|
-
const we = /* @__PURE__ */ T(
|
|
6279
|
+
const we = /* @__PURE__ */ T(si, [["render", ci], ["__scopeId", "data-v-a128c2fa"]]), li = {
|
|
6284
6280
|
name: "SSO",
|
|
6285
|
-
mixins: [
|
|
6281
|
+
mixins: [Q, G, W, z],
|
|
6286
6282
|
data() {
|
|
6287
6283
|
return {
|
|
6288
6284
|
toggle: !1,
|
|
@@ -6323,23 +6319,23 @@ const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa
|
|
|
6323
6319
|
this.toggle = !this.toggle;
|
|
6324
6320
|
}
|
|
6325
6321
|
}
|
|
6326
|
-
},
|
|
6322
|
+
}, di = (e) => (O("data-v-256337c2"), e = e(), B(), e), pi = /* @__PURE__ */ di(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
6327
6323
|
/* @__PURE__ */ t("img", {
|
|
6328
6324
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6329
6325
|
class: "responsive-image",
|
|
6330
6326
|
style: { width: "45%" }
|
|
6331
6327
|
})
|
|
6332
|
-
], -1)),
|
|
6333
|
-
|
|
6334
|
-
],
|
|
6328
|
+
], -1)), ui = [
|
|
6329
|
+
pi
|
|
6330
|
+
], _i = { class: "bold center-text color-black half-top half-bottom" }, mi = ["placeholder"], gi = {
|
|
6335
6331
|
type: "submit",
|
|
6336
6332
|
class: "button black-button white-button button-full",
|
|
6337
6333
|
style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
|
|
6338
|
-
},
|
|
6334
|
+
}, hi = { key: 0 }, fi = {
|
|
6339
6335
|
key: 1,
|
|
6340
6336
|
class: "button--loading button__loader"
|
|
6341
6337
|
};
|
|
6342
|
-
function
|
|
6338
|
+
function vi(e, a, n, o, i, r) {
|
|
6343
6339
|
return c(), l("form", {
|
|
6344
6340
|
onSubmit: a[3] || (a[3] = y((...u) => r.submit && r.submit(...u), ["prevent"])),
|
|
6345
6341
|
class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": i.toggle }]),
|
|
@@ -6349,8 +6345,8 @@ function fi(e, a, n, o, i, r) {
|
|
|
6349
6345
|
onClick: a[0] || (a[0] = (...u) => r.forceClose && r.forceClose(...u)),
|
|
6350
6346
|
class: "color-black pull-right pointer",
|
|
6351
6347
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6352
|
-
},
|
|
6353
|
-
t("h3",
|
|
6348
|
+
}, ui),
|
|
6349
|
+
t("h3", _i, p(e.ssoLang[e.appLang].enter_company_email), 1),
|
|
6354
6350
|
t("div", null, [
|
|
6355
6351
|
k(t("input", {
|
|
6356
6352
|
type: "text",
|
|
@@ -6365,18 +6361,18 @@ function fi(e, a, n, o, i, r) {
|
|
|
6365
6361
|
required: "",
|
|
6366
6362
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
6367
6363
|
}, ["prevent"]), ["space"]))
|
|
6368
|
-
}, null, 40,
|
|
6364
|
+
}, null, 40, mi), [
|
|
6369
6365
|
[x, i.email]
|
|
6370
6366
|
])
|
|
6371
6367
|
]),
|
|
6372
|
-
t("button",
|
|
6373
|
-
i.loading ? (c(), l("span",
|
|
6368
|
+
t("button", gi, [
|
|
6369
|
+
i.loading ? (c(), l("span", fi)) : (c(), l("span", hi, p(e.ssoLang[e.appLang].continue), 1))
|
|
6374
6370
|
])
|
|
6375
6371
|
], 34);
|
|
6376
6372
|
}
|
|
6377
|
-
const ze = /* @__PURE__ */ T(
|
|
6373
|
+
const ze = /* @__PURE__ */ T(li, [["render", vi], ["__scopeId", "data-v-256337c2"]]), ki = {
|
|
6378
6374
|
name: "SSOPick",
|
|
6379
|
-
mixins: [
|
|
6375
|
+
mixins: [Q, G, W, z],
|
|
6380
6376
|
data() {
|
|
6381
6377
|
return {
|
|
6382
6378
|
toggle: !1,
|
|
@@ -6409,34 +6405,34 @@ const ze = /* @__PURE__ */ T(ci, [["render", fi], ["__scopeId", "data-v-256337c2
|
|
|
6409
6405
|
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;
|
|
6410
6406
|
}
|
|
6411
6407
|
}
|
|
6412
|
-
}, X = (e) => (O("data-v-33bfb54b"), e = e(), B(), e),
|
|
6408
|
+
}, X = (e) => (O("data-v-33bfb54b"), e = e(), B(), e), bi = /* @__PURE__ */ X(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
|
|
6413
6409
|
/* @__PURE__ */ t("img", {
|
|
6414
6410
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6415
6411
|
class: "responsive-image",
|
|
6416
6412
|
style: { width: "45%" }
|
|
6417
6413
|
})
|
|
6418
|
-
], -1)),
|
|
6419
|
-
|
|
6420
|
-
],
|
|
6414
|
+
], -1)), yi = [
|
|
6415
|
+
bi
|
|
6416
|
+
], wi = { class: "bold center-text color-black half-top half-bottom" }, zi = /* @__PURE__ */ X(() => /* @__PURE__ */ t("img", {
|
|
6421
6417
|
src: "https://cdn.tapni.co/icons/azure.png",
|
|
6422
6418
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6423
|
-
}, null, -1)),
|
|
6419
|
+
}, null, -1)), Li = { key: 0 }, Si = {
|
|
6424
6420
|
key: 1,
|
|
6425
6421
|
class: "button--loading button__loader"
|
|
6426
|
-
},
|
|
6422
|
+
}, Ci = /* @__PURE__ */ X(() => /* @__PURE__ */ t("img", {
|
|
6427
6423
|
src: "https://cdn.tapni.co/icons/okta.png",
|
|
6428
6424
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6429
|
-
}, null, -1)),
|
|
6425
|
+
}, null, -1)), Ti = { key: 0 }, ji = {
|
|
6430
6426
|
key: 1,
|
|
6431
6427
|
class: "button--loading button__loader"
|
|
6432
|
-
},
|
|
6428
|
+
}, Pi = /* @__PURE__ */ X(() => /* @__PURE__ */ t("img", {
|
|
6433
6429
|
src: "https://cdn.tapni.co/icons/saml.png",
|
|
6434
6430
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6435
|
-
}, null, -1)),
|
|
6431
|
+
}, null, -1)), Ai = { key: 0 }, Ii = {
|
|
6436
6432
|
key: 1,
|
|
6437
6433
|
class: "button--loading button__loader"
|
|
6438
6434
|
};
|
|
6439
|
-
function
|
|
6435
|
+
function Ei(e, a, n, o, i, r) {
|
|
6440
6436
|
var u, s, _;
|
|
6441
6437
|
return c(), l("form", {
|
|
6442
6438
|
onSubmit: a[4] || (a[4] = y(() => {
|
|
@@ -6448,35 +6444,35 @@ function Ii(e, a, n, o, i, r) {
|
|
|
6448
6444
|
onClick: a[0] || (a[0] = (...L) => r.forceClose && r.forceClose(...L)),
|
|
6449
6445
|
class: "color-black pull-right pointer",
|
|
6450
6446
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6451
|
-
},
|
|
6452
|
-
t("h3",
|
|
6447
|
+
}, yi),
|
|
6448
|
+
t("h3", wi, p(e.ssoLang[e.appLang].select_sign_method), 1),
|
|
6453
6449
|
(u = i.sso) != null && u.azure ? (c(), l("a", {
|
|
6454
6450
|
key: 0,
|
|
6455
6451
|
onClick: a[1] || (a[1] = (L) => r.ssoLogin("azure")),
|
|
6456
6452
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6457
6453
|
}, [
|
|
6458
|
-
|
|
6459
|
-
i.azureLoad ? (c(), l("span",
|
|
6454
|
+
zi,
|
|
6455
|
+
i.azureLoad ? (c(), l("span", Si)) : (c(), l("span", Li, p(e.ssoLang[e.appLang].sign_in_with) + " Azure", 1))
|
|
6460
6456
|
])) : h("", !0),
|
|
6461
6457
|
(s = i.sso) != null && s.okta ? (c(), l("a", {
|
|
6462
6458
|
key: 1,
|
|
6463
6459
|
onClick: a[2] || (a[2] = (L) => r.ssoLogin("okta")),
|
|
6464
6460
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6465
6461
|
}, [
|
|
6466
|
-
|
|
6467
|
-
i.oktaLoad ? (c(), l("span",
|
|
6462
|
+
Ci,
|
|
6463
|
+
i.oktaLoad ? (c(), l("span", ji)) : (c(), l("span", Ti, p(e.ssoLang[e.appLang].sign_in_with) + " Okta", 1))
|
|
6468
6464
|
])) : h("", !0),
|
|
6469
6465
|
(_ = i.sso) != null && _.saml ? (c(), l("a", {
|
|
6470
6466
|
key: 2,
|
|
6471
6467
|
onClick: a[3] || (a[3] = (L) => r.ssoLogin("saml")),
|
|
6472
6468
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6473
6469
|
}, [
|
|
6474
|
-
|
|
6475
|
-
i.samlLoad ? (c(), l("span",
|
|
6470
|
+
Pi,
|
|
6471
|
+
i.samlLoad ? (c(), l("span", Ii)) : (c(), l("span", Ai, p(e.ssoLang[e.appLang].sign_in_with) + " SAML", 1))
|
|
6476
6472
|
])) : h("", !0)
|
|
6477
6473
|
], 34);
|
|
6478
6474
|
}
|
|
6479
|
-
const Le = /* @__PURE__ */ T(
|
|
6475
|
+
const Le = /* @__PURE__ */ T(ki, [["render", Ei], ["__scopeId", "data-v-33bfb54b"]]), xi = {
|
|
6480
6476
|
name: "LinkIcon",
|
|
6481
6477
|
mixins: [z],
|
|
6482
6478
|
props: {
|
|
@@ -6548,8 +6544,8 @@ const Le = /* @__PURE__ */ T(vi, [["render", Ii], ["__scopeId", "data-v-33bfb54b
|
|
|
6548
6544
|
}
|
|
6549
6545
|
},
|
|
6550
6546
|
methods: {}
|
|
6551
|
-
},
|
|
6552
|
-
function
|
|
6547
|
+
}, qi = ["src", "alt"], Mi = ["src", "alt"], Ri = ["src", "alt"], Ni = ["src", "alt"];
|
|
6548
|
+
function Vi(e, a, n, o, i, r) {
|
|
6553
6549
|
var u, s;
|
|
6554
6550
|
return c(), l("a", {
|
|
6555
6551
|
class: b(["disable-select", n.linkStyle + (n.disabled ? " opacity-50" : "")]),
|
|
@@ -6572,21 +6568,21 @@ function Ni(e, a, n, o, i, r) {
|
|
|
6572
6568
|
alt: n.data.text,
|
|
6573
6569
|
onLoad: a[0] || (a[0] = (_) => e.$emit("loaded")),
|
|
6574
6570
|
onError: a[1] || (a[1] = (_) => e.$emit("loaded"))
|
|
6575
|
-
}, null, 40,
|
|
6571
|
+
}, null, 40, qi)) : !n.data.custom_icon && n.data.type === "customlink" && n.linkAdding ? (c(), l("img", {
|
|
6576
6572
|
key: 1,
|
|
6577
6573
|
src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
|
|
6578
6574
|
class: "responsive-image",
|
|
6579
6575
|
alt: n.data.text,
|
|
6580
6576
|
onLoad: a[2] || (a[2] = (_) => e.$emit("loaded")),
|
|
6581
6577
|
onError: a[3] || (a[3] = (_) => e.$emit("loaded"))
|
|
6582
|
-
}, null, 40,
|
|
6578
|
+
}, null, 40, Mi)) : !n.data.custom_icon && n.data.type === "customlink" && !n.linkAdding ? (c(), l("img", {
|
|
6583
6579
|
key: 2,
|
|
6584
6580
|
src: "https://cdn.tapni.co/icons/customlink.png",
|
|
6585
6581
|
class: "responsive-image",
|
|
6586
6582
|
alt: n.data.text,
|
|
6587
6583
|
onLoad: a[4] || (a[4] = (_) => e.$emit("loaded")),
|
|
6588
6584
|
onError: a[5] || (a[5] = (_) => e.$emit("loaded"))
|
|
6589
|
-
}, null, 40,
|
|
6585
|
+
}, null, 40, Ri)) : (c(), l("img", {
|
|
6590
6586
|
key: 3,
|
|
6591
6587
|
src: n.data.style.custom_icon,
|
|
6592
6588
|
style: { "border-radius": "22.46%" },
|
|
@@ -6594,7 +6590,7 @@ function Ni(e, a, n, o, i, r) {
|
|
|
6594
6590
|
alt: n.data.text,
|
|
6595
6591
|
onLoad: a[6] || (a[6] = (_) => e.$emit("loaded")),
|
|
6596
6592
|
onError: a[7] || (a[7] = (_) => e.$emit("loaded"))
|
|
6597
|
-
}, null, 40,
|
|
6593
|
+
}, null, 40, Ni))
|
|
6598
6594
|
], 6),
|
|
6599
6595
|
t("span", {
|
|
6600
6596
|
class: "link-text link-drag color-black",
|
|
@@ -6602,17 +6598,17 @@ function Ni(e, a, n, o, i, r) {
|
|
|
6602
6598
|
}, p(r.linkText), 5)
|
|
6603
6599
|
], 6);
|
|
6604
6600
|
}
|
|
6605
|
-
const
|
|
6601
|
+
const Oi = /* @__PURE__ */ T(xi, [["render", Vi]]), Bi = {
|
|
6606
6602
|
ANDROID_VERSION: "5.6",
|
|
6607
6603
|
IOS_VERSION: "5.6",
|
|
6608
6604
|
WEB_VERSION: "5.6.0",
|
|
6609
6605
|
SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
|
|
6610
6606
|
METAPIXEL_ID: "1203678696914368",
|
|
6611
6607
|
GOOGLE_ANALYTICS_ID: ""
|
|
6612
|
-
},
|
|
6608
|
+
}, Di = {
|
|
6613
6609
|
name: "Language",
|
|
6614
6610
|
mixins: [z],
|
|
6615
|
-
components: { LinkIcon:
|
|
6611
|
+
components: { LinkIcon: Oi },
|
|
6616
6612
|
data() {
|
|
6617
6613
|
return {
|
|
6618
6614
|
toggle: !1
|
|
@@ -6622,8 +6618,8 @@ const Vi = /* @__PURE__ */ T(Ei, [["render", Ni]]), Oi = {
|
|
|
6622
6618
|
d.$on("toggleLanguageModal", this.toggleModal), d.$on("closeModal", () => {
|
|
6623
6619
|
this.toggle = !1;
|
|
6624
6620
|
});
|
|
6625
|
-
let e = this.isNative ? await
|
|
6626
|
-
e &&
|
|
6621
|
+
let e = this.isNative ? await H.getLanguageCode() : N.getFirstBrowserLanguage();
|
|
6622
|
+
e && Bi.SUPPORTED_LANGUAGES.includes(e) && this.updateLanguage(e);
|
|
6627
6623
|
},
|
|
6628
6624
|
beforeDestroy() {
|
|
6629
6625
|
d._events.toggleLanguageModal.pop();
|
|
@@ -6642,14 +6638,14 @@ const Vi = /* @__PURE__ */ T(Ei, [["render", Ni]]), Oi = {
|
|
|
6642
6638
|
this.toggle = !this.toggle;
|
|
6643
6639
|
}
|
|
6644
6640
|
}
|
|
6645
|
-
},
|
|
6641
|
+
}, Ui = (e) => (O("data-v-e5a7ac07"), e = e(), B(), e), Ki = /* @__PURE__ */ Ui(() => /* @__PURE__ */ t("i", { class: "font-17 fa color-black" }, [
|
|
6646
6642
|
/* @__PURE__ */ t("img", {
|
|
6647
6643
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6648
6644
|
class: "fa responsive-image",
|
|
6649
6645
|
style: { width: "45%" }
|
|
6650
6646
|
})
|
|
6651
|
-
], -1)),
|
|
6652
|
-
|
|
6647
|
+
], -1)), $i = [
|
|
6648
|
+
Ki
|
|
6653
6649
|
], Hi = { class: "bold center-text color-black small-bottom" };
|
|
6654
6650
|
function Fi(e, a, n, o, i, r) {
|
|
6655
6651
|
const u = V("LinkIcon");
|
|
@@ -6661,7 +6657,7 @@ function Fi(e, a, n, o, i, r) {
|
|
|
6661
6657
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
6662
6658
|
class: "color-black pull-right pointer",
|
|
6663
6659
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6664
|
-
},
|
|
6660
|
+
}, $i),
|
|
6665
6661
|
t("h3", Hi, p(e.ssoLang[e.appLang].app_language), 1),
|
|
6666
6662
|
v(u, {
|
|
6667
6663
|
onClick: a[1] || (a[1] = (s) => r.updateLanguage("en")),
|
|
@@ -6721,38 +6717,38 @@ function Fi(e, a, n, o, i, r) {
|
|
|
6721
6717
|
}, null, 8, ["data"])
|
|
6722
6718
|
], 2);
|
|
6723
6719
|
}
|
|
6724
|
-
const Se = /* @__PURE__ */ T(
|
|
6720
|
+
const Se = /* @__PURE__ */ T(Di, [["render", Fi], ["__scopeId", "data-v-e5a7ac07"]]);
|
|
6725
6721
|
var Qi = { 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 };
|
|
6726
|
-
const
|
|
6722
|
+
const Gi = { id: "ssoapp" }, Wi = {
|
|
6727
6723
|
key: 0,
|
|
6728
6724
|
href: "/",
|
|
6729
6725
|
class: "header-logo"
|
|
6730
|
-
},
|
|
6726
|
+
}, Xi = /* @__PURE__ */ t("img", {
|
|
6731
6727
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlYUqM1TGq5yp0r+pH1pTUyO1tbVRSkuOiWZRpbKRynYqg1R2VtlSZf1VfocQQkiyYN49xjZQG9bz82oV6LaeJjuq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hhBBChU4IIYRQoRNCCCGECp0QQgghCdKyU6dObAWSGgsWLJBly5axIUgqtGvXTlq3bi21tYxhQypn/vz50r59+2jL33Lq1KnsRZI4VVVV0rJlS9l7771lwoQJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",
|
|
6732
6728
|
onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
|
|
6733
6729
|
class: "header-logo-img"
|
|
6734
|
-
}, null, -1),
|
|
6735
|
-
|
|
6736
|
-
],
|
|
6730
|
+
}, null, -1), Yi = [
|
|
6731
|
+
Xi
|
|
6732
|
+
], Zi = { class: "lang-icon" }, Ji = {
|
|
6737
6733
|
class: "snackbar snackbar-boxed",
|
|
6738
6734
|
id: "snackbar"
|
|
6739
|
-
},
|
|
6735
|
+
}, eo = {
|
|
6740
6736
|
class: "snack-body",
|
|
6741
6737
|
id: "errorSnack"
|
|
6742
|
-
},
|
|
6738
|
+
}, ao = { id: "errorMessage" }, no = /* @__PURE__ */ t("img", {
|
|
6743
6739
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
6744
6740
|
style: { width: "100%" }
|
|
6745
|
-
}, null, -1),
|
|
6746
|
-
|
|
6747
|
-
],
|
|
6741
|
+
}, null, -1), to = [
|
|
6742
|
+
no
|
|
6743
|
+
], io = {
|
|
6748
6744
|
class: "snack-body",
|
|
6749
6745
|
id: "successSnack"
|
|
6750
|
-
},
|
|
6746
|
+
}, oo = { id: "successMessage" }, ro = /* @__PURE__ */ t("img", {
|
|
6751
6747
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
6752
6748
|
style: { width: "100%" }
|
|
6753
|
-
}, null, -1),
|
|
6754
|
-
|
|
6755
|
-
],
|
|
6749
|
+
}, null, -1), so = [
|
|
6750
|
+
ro
|
|
6751
|
+
], co = {
|
|
6756
6752
|
name: "TapniAuth",
|
|
6757
6753
|
mixins: [z],
|
|
6758
6754
|
data() {
|
|
@@ -6787,8 +6783,8 @@ const $i = { id: "ssoapp" }, Gi = {
|
|
|
6787
6783
|
},
|
|
6788
6784
|
methods: {
|
|
6789
6785
|
async init() {
|
|
6790
|
-
if (this
|
|
6791
|
-
this.setToken(this
|
|
6786
|
+
if (this.$storage && this.$storage.token && this.$storage.refreshTokens) {
|
|
6787
|
+
this.setToken(this.$storage.token);
|
|
6792
6788
|
const e = this.getRefreshTokens();
|
|
6793
6789
|
this.setRefreshToken(e[0]), this.getLoggedInAccounts();
|
|
6794
6790
|
}
|
|
@@ -6812,20 +6808,20 @@ const $i = { id: "ssoapp" }, Gi = {
|
|
|
6812
6808
|
this.applyBgStyle();
|
|
6813
6809
|
}
|
|
6814
6810
|
}
|
|
6815
|
-
}, ne = /* @__PURE__ */ Object.assign(
|
|
6811
|
+
}, ne = /* @__PURE__ */ Object.assign(co, {
|
|
6816
6812
|
setup(e) {
|
|
6817
6813
|
return document.addEventListener("DOMContentLoaded", function() {
|
|
6818
6814
|
const a = document.createElement("script");
|
|
6819
6815
|
a.src = `https://www.google.com/recaptcha/api.js?render=${Qi.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(a);
|
|
6820
|
-
}), (a, n) => (c(), l("div",
|
|
6821
|
-
a.display === "redirect" ? (c(), l("a",
|
|
6816
|
+
}), (a, n) => (c(), l("div", Gi, [
|
|
6817
|
+
a.display === "redirect" ? (c(), l("a", Wi, Yi)) : h("", !0),
|
|
6822
6818
|
a.display === "redirect" ? (c(), l("a", {
|
|
6823
6819
|
key: 1,
|
|
6824
6820
|
onClick: n[0] || (n[0] = (...o) => a.toggleLanguageModal && a.toggleLanguageModal(...o)),
|
|
6825
6821
|
class: "font-18 no-border pointer color-black",
|
|
6826
6822
|
style: { position: "absolute", right: "20px", top: "-10px" }
|
|
6827
6823
|
}, [
|
|
6828
|
-
t("span",
|
|
6824
|
+
t("span", Zi, p(a.appLang.toUpperCase()), 1)
|
|
6829
6825
|
])) : h("", !0),
|
|
6830
6826
|
v(we),
|
|
6831
6827
|
v(Se),
|
|
@@ -6841,30 +6837,30 @@ const $i = { id: "ssoapp" }, Gi = {
|
|
|
6841
6837
|
key: 5,
|
|
6842
6838
|
isModal: e.isModal
|
|
6843
6839
|
}, 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 })),
|
|
6844
|
-
t("div",
|
|
6845
|
-
t("p",
|
|
6846
|
-
t("span",
|
|
6840
|
+
t("div", Ji, [
|
|
6841
|
+
t("p", eo, [
|
|
6842
|
+
t("span", ao, p(a.ssoLang[a.appLang].error), 1),
|
|
6847
6843
|
t("a", {
|
|
6848
6844
|
onClick: n[1] || (n[1] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
|
|
6849
6845
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
6850
|
-
},
|
|
6846
|
+
}, to)
|
|
6851
6847
|
]),
|
|
6852
|
-
t("p",
|
|
6853
|
-
t("span",
|
|
6848
|
+
t("p", io, [
|
|
6849
|
+
t("span", oo, p(a.ssoLang[a.appLang].success), 1),
|
|
6854
6850
|
t("a", {
|
|
6855
6851
|
onClick: n[2] || (n[2] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
|
|
6856
6852
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
6857
|
-
},
|
|
6853
|
+
}, so)
|
|
6858
6854
|
])
|
|
6859
6855
|
])
|
|
6860
6856
|
]));
|
|
6861
6857
|
}
|
|
6862
|
-
}),
|
|
6858
|
+
}), So = {
|
|
6863
6859
|
TapniAuth: ne,
|
|
6864
6860
|
install: (e, a) => {
|
|
6865
6861
|
e.component("TapniAuth", ne), e.config.globalProperties.$storage === void 0 && e.use(Re, a);
|
|
6866
6862
|
}
|
|
6867
6863
|
};
|
|
6868
6864
|
export {
|
|
6869
|
-
|
|
6865
|
+
So as default
|
|
6870
6866
|
};
|