@tapni/auth 0.0.5 → 0.0.7
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 +368 -361
- package/dist/TapniAuth.umd.js +2 -2
- package/package.json +1 -1
- package/src/App.vue +9 -2
package/dist/TapniAuth.es.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { reactive as
|
|
1
|
+
import { reactive as Se, readonly as Te, resolveComponent as V, openBlock as c, createElementBlock as l, createElementVNode as i, toDisplayString as p, createCommentVNode as h, createVNode as v, withCtx as j, createTextVNode as f, pushScopeId as O, popScopeId as B, createStaticVNode as je, nextTick as Z, withModifiers as y, normalizeStyle as R, withDirectives as k, withKeys as E, vModelText as x, vModelDynamic as U, vShow as I, createBlock as P, normalizeClass as b, unref as Pe } from "vue";
|
|
2
2
|
import { RouterView as Ae } from "vue-router";
|
|
3
3
|
import g from "await-to-js";
|
|
4
4
|
import K from "axios";
|
|
5
5
|
import { jwtDecode as ae } from "jwt-decode";
|
|
6
6
|
import { Device as H } from "@capacitor/device";
|
|
7
|
-
import { StorageMixin as ne
|
|
7
|
+
import { StorageMixin as ne } from "@tapni/capacitor-reactive-localstorage-vue3";
|
|
8
8
|
import { GoogleAuth as J } from "@codetrix-studio/capacitor-google-auth";
|
|
9
|
-
import { FacebookLogin as
|
|
10
|
-
import { SignInWithApple as
|
|
11
|
-
import { MsAuthPlugin as
|
|
9
|
+
import { FacebookLogin as Ie } from "@capacitor-community/facebook-login";
|
|
10
|
+
import { SignInWithApple as Ee } from "@capacitor-community/apple-sign-in";
|
|
11
|
+
import { MsAuthPlugin as xe } from "@recognizebv/capacitor-plugin-msauth";
|
|
12
12
|
import { Capacitor as ie } from "@capacitor/core";
|
|
13
13
|
import { Browser as F } from "@capacitor/browser";
|
|
14
|
-
import
|
|
15
|
-
import { sanitizeUrl as
|
|
16
|
-
const
|
|
17
|
-
const n =
|
|
14
|
+
import qe from "qr-code-styling";
|
|
15
|
+
import { sanitizeUrl as Me } from "@braintree/sanitize-url";
|
|
16
|
+
const Re = "0.0.7", m = (e, a = !1) => {
|
|
17
|
+
const n = Re;
|
|
18
18
|
let o = K.create({
|
|
19
19
|
baseURL: "https://api.tapni.co/v1/",
|
|
20
20
|
headers: {
|
|
@@ -92,17 +92,17 @@ const Ne = "0.0.5", m = (e, a = !1) => {
|
|
|
92
92
|
return m(a).post("/devices/fcm/add", e);
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
|
-
let
|
|
96
|
-
H.getId().then((e) =>
|
|
95
|
+
let C;
|
|
96
|
+
H.getId().then((e) => C = e.uuid);
|
|
97
97
|
const w = {
|
|
98
98
|
register(e, a) {
|
|
99
|
-
return e.device_id =
|
|
99
|
+
return e.device_id = C, m(a).post("/users/register", e);
|
|
100
100
|
},
|
|
101
101
|
login(e, a) {
|
|
102
|
-
return e.device_id =
|
|
102
|
+
return e.device_id = C, m(a).post("/users/login", e);
|
|
103
103
|
},
|
|
104
104
|
logout(e, a) {
|
|
105
|
-
return e.device_id =
|
|
105
|
+
return e.device_id = C, m(a).post("/users/logout", e);
|
|
106
106
|
},
|
|
107
107
|
refreshToken(e, a) {
|
|
108
108
|
return m(a, !0).get(`/users/refresh-token?UserId=${e.id}&token=${e.refreshToken}`);
|
|
@@ -111,7 +111,7 @@ const w = {
|
|
|
111
111
|
return m(a).post("/users/tokens", e);
|
|
112
112
|
},
|
|
113
113
|
sendResetEmail(e, a) {
|
|
114
|
-
return e.device_id =
|
|
114
|
+
return e.device_id = C, m(a).post("/users/reset", e);
|
|
115
115
|
},
|
|
116
116
|
changePassword(e, a) {
|
|
117
117
|
return m(a).put("/users/password", e, {
|
|
@@ -125,25 +125,25 @@ const w = {
|
|
|
125
125
|
return m(e).get("/users/google/url");
|
|
126
126
|
},
|
|
127
127
|
google(e, a) {
|
|
128
|
-
return e.device_id =
|
|
128
|
+
return e.device_id = C, m(a).post("/users/google", e);
|
|
129
129
|
},
|
|
130
130
|
facebook(e, a) {
|
|
131
|
-
return e.device_id =
|
|
131
|
+
return e.device_id = C, m(a).post("/users/facebook", e);
|
|
132
132
|
},
|
|
133
133
|
googleSDK(e, a) {
|
|
134
|
-
return e.device_id =
|
|
134
|
+
return e.device_id = C, m(a).post("/users/google/sdk", e);
|
|
135
135
|
},
|
|
136
136
|
facebookSDK(e, a) {
|
|
137
|
-
return e.device_id =
|
|
137
|
+
return e.device_id = C, m(a).post("/users/facebook/sdk", e);
|
|
138
138
|
},
|
|
139
139
|
appleSDK(e, a) {
|
|
140
|
-
return e.device_id =
|
|
140
|
+
return e.device_id = C, m(a).post("/users/apple/sdk", e);
|
|
141
141
|
},
|
|
142
142
|
microsoftSDK(e, a) {
|
|
143
|
-
return e.device_id =
|
|
143
|
+
return e.device_id = C, m(a).post("/users/microsoft/sdk", e);
|
|
144
144
|
},
|
|
145
145
|
oktaSDK(e, a) {
|
|
146
|
-
return e.device_id =
|
|
146
|
+
return e.device_id = C, m(a).post("/users/okta/sdk", e);
|
|
147
147
|
},
|
|
148
148
|
samlLoginUrl(e, a) {
|
|
149
149
|
return m(a).post("/saml/url", e);
|
|
@@ -158,7 +158,7 @@ const w = {
|
|
|
158
158
|
qrCodePooling(e, a) {
|
|
159
159
|
return m(a).post("/company/login/qr", e);
|
|
160
160
|
}
|
|
161
|
-
}, D =
|
|
161
|
+
}, D = Se(/* @__PURE__ */ new Map()), d = {
|
|
162
162
|
$on(e, a) {
|
|
163
163
|
let n = D.get(e);
|
|
164
164
|
n || (n = /* @__PURE__ */ new Set(), D.set(e, n)), n.add(a);
|
|
@@ -3346,7 +3346,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
3346
3346
|
choose_other_login_methods: "Diğer giriş yöntemlerini seçin",
|
|
3347
3347
|
no_sso_logins: "Şirketiniz SSO girişini kullanmıyor, lütfen yöneticinizle iletişime geçin"
|
|
3348
3348
|
}
|
|
3349
|
-
},
|
|
3349
|
+
}, Ne = {
|
|
3350
3350
|
state: {
|
|
3351
3351
|
english: "英文",
|
|
3352
3352
|
spanish: "西班牙文",
|
|
@@ -4252,7 +4252,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
4252
4252
|
no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
|
|
4253
4253
|
}
|
|
4254
4254
|
};
|
|
4255
|
-
var
|
|
4255
|
+
var Ve = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
4256
4256
|
const z = {
|
|
4257
4257
|
mixins: [ne],
|
|
4258
4258
|
data() {
|
|
@@ -4273,7 +4273,7 @@ const z = {
|
|
|
4273
4273
|
it: ce.state,
|
|
4274
4274
|
sr: le.state,
|
|
4275
4275
|
tr: de.state,
|
|
4276
|
-
cn:
|
|
4276
|
+
cn: Ne.state,
|
|
4277
4277
|
kr: pe.state
|
|
4278
4278
|
},
|
|
4279
4279
|
display: "npm",
|
|
@@ -4313,7 +4313,7 @@ const z = {
|
|
|
4313
4313
|
}
|
|
4314
4314
|
},
|
|
4315
4315
|
mounted() {
|
|
4316
|
-
this.$route.query.redirect_uri && (this.redirect_uri = this.$route.query.redirect_uri), this.$route.query.display && (this.display = this.$route.query.display), this.$route.query.state && (this.state = this.$route.query.state), this.$route.query.response_type && (this.response_type = this.$route.query.response_type), this.$route.query.realm && (this.storage.realm = this.$route.query.realm), d.$on("updateLang", this.updateLang),
|
|
4316
|
+
this.$route.query.redirect_uri && (this.redirect_uri = this.$route.query.redirect_uri), this.$route.query.display && (this.display = this.$route.query.display), this.$route.query.state && (this.state = this.$route.query.state), this.$route.query.response_type && (this.response_type = this.$route.query.response_type), this.$route.query.realm && (this.storage.realm = this.$route.query.realm), d.$on("updateLang", this.updateLang), Ve.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
|
|
4317
4317
|
},
|
|
4318
4318
|
methods: {
|
|
4319
4319
|
errorHandler(e) {
|
|
@@ -4581,7 +4581,7 @@ const z = {
|
|
|
4581
4581
|
for (const [o, t] of a)
|
|
4582
4582
|
n[o] = t;
|
|
4583
4583
|
return n;
|
|
4584
|
-
},
|
|
4584
|
+
}, Oe = {
|
|
4585
4585
|
name: "AuthWelcome",
|
|
4586
4586
|
mixins: [z],
|
|
4587
4587
|
data() {
|
|
@@ -4595,23 +4595,23 @@ const z = {
|
|
|
4595
4595
|
}, 1500), d.$emit("ssoEvent", { name: "setInitialize", data: !0 });
|
|
4596
4596
|
},
|
|
4597
4597
|
methods: {}
|
|
4598
|
-
}, ue = (e) => (O("data-v-bf520ec5"), e = e(), B(), e),
|
|
4598
|
+
}, ue = (e) => (O("data-v-bf520ec5"), e = e(), B(), e), Be = {
|
|
4599
4599
|
class: "page-login content-boxed content-boxed-padding center-text",
|
|
4600
4600
|
style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
|
|
4601
|
-
},
|
|
4601
|
+
}, De = ["autoplay"], Ue = /* @__PURE__ */ ue(() => /* @__PURE__ */ i("source", {
|
|
4602
4602
|
src: "https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",
|
|
4603
4603
|
type: "video/mp4"
|
|
4604
|
-
}, null, -1)),
|
|
4605
|
-
|
|
4606
|
-
],
|
|
4604
|
+
}, null, -1)), Ke = [
|
|
4605
|
+
Ue
|
|
4606
|
+
], He = { class: "bold full-top no-bottom center-text" }, Fe = { class: "full-bottom half-top center-text color-black font-16" }, Qe = { class: "page-login-links center-text" }, $e = /* @__PURE__ */ ue(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), Ge = {
|
|
4607
4607
|
key: 2,
|
|
4608
4608
|
style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
|
|
4609
|
-
},
|
|
4610
|
-
|
|
4609
|
+
}, We = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-bf520ec5><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-bf520ec5></a>', 3), Ye = [
|
|
4610
|
+
We
|
|
4611
4611
|
];
|
|
4612
|
-
function
|
|
4612
|
+
function Xe(e, a, n, o, t, r) {
|
|
4613
4613
|
const u = V("router-link");
|
|
4614
|
-
return c(), l("div",
|
|
4614
|
+
return c(), l("div", Be, [
|
|
4615
4615
|
i("video", {
|
|
4616
4616
|
id: "tapniVideo",
|
|
4617
4617
|
muted: "",
|
|
@@ -4620,9 +4620,9 @@ function Ze(e, a, n, o, t, r) {
|
|
|
4620
4620
|
width: "350",
|
|
4621
4621
|
style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
|
|
4622
4622
|
autoplay: e.isNative
|
|
4623
|
-
},
|
|
4624
|
-
i("h1",
|
|
4625
|
-
i("p",
|
|
4623
|
+
}, Ke, 8, De),
|
|
4624
|
+
i("h1", He, p(e.ssoLang[this.appLang].welcome), 1),
|
|
4625
|
+
i("p", Fe, p(e.ssoLang[this.appLang].welcome_p1), 1),
|
|
4626
4626
|
h("", !0),
|
|
4627
4627
|
h("", !0),
|
|
4628
4628
|
v(u, {
|
|
@@ -4635,7 +4635,7 @@ function Ze(e, a, n, o, t, r) {
|
|
|
4635
4635
|
]),
|
|
4636
4636
|
_: 1
|
|
4637
4637
|
}),
|
|
4638
|
-
i("div",
|
|
4638
|
+
i("div", Qe, [
|
|
4639
4639
|
v(u, { to: "/login" }, {
|
|
4640
4640
|
default: j(() => [
|
|
4641
4641
|
f(p(e.ssoLang[this.appLang].already_registered) + "? ", 1),
|
|
@@ -4643,12 +4643,12 @@ function Ze(e, a, n, o, t, r) {
|
|
|
4643
4643
|
]),
|
|
4644
4644
|
_: 1
|
|
4645
4645
|
}),
|
|
4646
|
-
|
|
4646
|
+
$e
|
|
4647
4647
|
]),
|
|
4648
|
-
this.isNative ? h("", !0) : (c(), l("div",
|
|
4648
|
+
this.isNative ? h("", !0) : (c(), l("div", Ge, Ye))
|
|
4649
4649
|
]);
|
|
4650
4650
|
}
|
|
4651
|
-
const _e = /* @__PURE__ */ T(
|
|
4651
|
+
const _e = /* @__PURE__ */ T(Oe, [["render", Xe], ["__scopeId", "data-v-bf520ec5"]]), me = {
|
|
4652
4652
|
data() {
|
|
4653
4653
|
return {
|
|
4654
4654
|
googleLoad: !1
|
|
@@ -4721,7 +4721,7 @@ const ge = {
|
|
|
4721
4721
|
async facebookLogin() {
|
|
4722
4722
|
var o;
|
|
4723
4723
|
this.facebookLoad = !0;
|
|
4724
|
-
const e = ["email"], [a, n] = await g(
|
|
4724
|
+
const e = ["email"], [a, n] = await g(Ie.login({ permissions: e }));
|
|
4725
4725
|
if (a)
|
|
4726
4726
|
return this.facebookLoad = !1;
|
|
4727
4727
|
if (this.referral && (n.ref = this.referral), this.display === "popup" && (n.response_type = "code"), n.accessToken) {
|
|
@@ -4756,7 +4756,7 @@ const ge = {
|
|
|
4756
4756
|
async appleLogin() {
|
|
4757
4757
|
var n;
|
|
4758
4758
|
this.appleLoad = !0;
|
|
4759
|
-
const [e, a] = await g(
|
|
4759
|
+
const [e, a] = await g(Ee.authorize({
|
|
4760
4760
|
clientId: "co.tapni.applelogin",
|
|
4761
4761
|
redirectURI: "https://" + window.location.host + "/login",
|
|
4762
4762
|
scopes: "email name"
|
|
@@ -4781,7 +4781,7 @@ const ge = {
|
|
|
4781
4781
|
}
|
|
4782
4782
|
}
|
|
4783
4783
|
};
|
|
4784
|
-
var
|
|
4784
|
+
var Ze = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
4785
4785
|
const Q = {
|
|
4786
4786
|
data() {
|
|
4787
4787
|
return {
|
|
@@ -4800,14 +4800,14 @@ const Q = {
|
|
|
4800
4800
|
var t, r, u;
|
|
4801
4801
|
e === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0, Object.keys(a).length || (a = ((r = (t = this.ssoCompany.sso) == null ? void 0 : t.azure) == null ? void 0 : r.sso) || {});
|
|
4802
4802
|
const [n, o] = await g(
|
|
4803
|
-
|
|
4803
|
+
xe.login({
|
|
4804
4804
|
clientId: e === "sso" ? a.clientID : "9cd47053-080a-4df8-8fd8-ca4389163fde",
|
|
4805
4805
|
tenant: e === "sso" ? a.tenant : "consumers",
|
|
4806
4806
|
scopes: ["User.Read"],
|
|
4807
4807
|
knownAuthorities: [],
|
|
4808
4808
|
keyHash: "4+5wCp8QcLptlO0aeP5RDTTOWyg=",
|
|
4809
4809
|
// Android,
|
|
4810
|
-
redirectUri:
|
|
4810
|
+
redirectUri: Ze.NODE_ENV === "development" ? `${window.location.origin}/login` : "https://" + window.location.host + "/login"
|
|
4811
4811
|
})
|
|
4812
4812
|
);
|
|
4813
4813
|
if (n)
|
|
@@ -5027,7 +5027,7 @@ const Q = {
|
|
|
5027
5027
|
}
|
|
5028
5028
|
}
|
|
5029
5029
|
}
|
|
5030
|
-
},
|
|
5030
|
+
}, Je = {
|
|
5031
5031
|
data() {
|
|
5032
5032
|
return {
|
|
5033
5033
|
isQrCodeLogin: !1,
|
|
@@ -5061,7 +5061,7 @@ const Q = {
|
|
|
5061
5061
|
},
|
|
5062
5062
|
refreshQrCode() {
|
|
5063
5063
|
var e, a;
|
|
5064
|
-
this.qrCode && ((a = (e = document.getElementById("qrCodeContainer")) == null ? void 0 : e.childNodes[0]) == null || a.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new
|
|
5064
|
+
this.qrCode && ((a = (e = document.getElementById("qrCodeContainer")) == null ? void 0 : e.childNodes[0]) == null || a.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new qe({
|
|
5065
5065
|
width: 300,
|
|
5066
5066
|
height: 300,
|
|
5067
5067
|
type: "png",
|
|
@@ -5103,9 +5103,9 @@ const Q = {
|
|
|
5103
5103
|
}, 6e4);
|
|
5104
5104
|
}
|
|
5105
5105
|
}
|
|
5106
|
-
},
|
|
5106
|
+
}, ea = {
|
|
5107
5107
|
name: "AuthLogin",
|
|
5108
|
-
mixins: [me, ge, he, Q, $, G, z,
|
|
5108
|
+
mixins: [me, ge, he, Q, $, G, z, Je],
|
|
5109
5109
|
props: {
|
|
5110
5110
|
isModal: {
|
|
5111
5111
|
type: Boolean,
|
|
@@ -5181,88 +5181,88 @@ const Q = {
|
|
|
5181
5181
|
return await this.handleSamlRedirect();
|
|
5182
5182
|
}
|
|
5183
5183
|
}
|
|
5184
|
-
},
|
|
5184
|
+
}, aa = /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
|
|
5185
5185
|
/* @__PURE__ */ i("img", {
|
|
5186
5186
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5187
5187
|
class: "responsive-image",
|
|
5188
5188
|
style: { width: "35%" }
|
|
5189
5189
|
})
|
|
5190
|
-
], -1),
|
|
5191
|
-
|
|
5192
|
-
],
|
|
5190
|
+
], -1), na = [
|
|
5191
|
+
aa
|
|
5192
|
+
], ia = {
|
|
5193
5193
|
class: "bold no-bottom center-text",
|
|
5194
5194
|
style: { "margin-top": "63px" }
|
|
5195
|
-
},
|
|
5195
|
+
}, ta = /* @__PURE__ */ i("p", { class: "half-bottom small-top center-text color-black" }, null, -1), oa = { key: 1 }, ra = { class: "page-login-field half-top" }, sa = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5196
5196
|
/* @__PURE__ */ i("img", {
|
|
5197
5197
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
5198
5198
|
class: "responsive-image",
|
|
5199
5199
|
style: { width: "50%" }
|
|
5200
5200
|
})
|
|
5201
|
-
], -1),
|
|
5201
|
+
], -1), ca = ["placeholder"], la = /* @__PURE__ */ i("em", null, null, -1), da = { class: "page-login-field half-bottom" }, pa = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5202
5202
|
/* @__PURE__ */ i("img", {
|
|
5203
5203
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5204
5204
|
class: "responsive-image",
|
|
5205
5205
|
style: { width: "50%" }
|
|
5206
5206
|
})
|
|
5207
|
-
], -1),
|
|
5207
|
+
], -1), ua = ["type", "placeholder"], _a = {
|
|
5208
5208
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5209
5209
|
class: "responsive-image password-reveal-icon"
|
|
5210
|
-
},
|
|
5210
|
+
}, ma = {
|
|
5211
5211
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
5212
5212
|
class: "responsive-image password-reveal-icon"
|
|
5213
|
-
},
|
|
5213
|
+
}, ga = {
|
|
5214
5214
|
type: "submit",
|
|
5215
5215
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5216
|
-
},
|
|
5216
|
+
}, ha = { key: 0 }, fa = {
|
|
5217
5217
|
key: 1,
|
|
5218
5218
|
class: "button--loading button__loader"
|
|
5219
|
-
},
|
|
5219
|
+
}, va = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), ka = /* @__PURE__ */ i("img", {
|
|
5220
5220
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
5221
5221
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
5222
|
-
}, null, -1),
|
|
5222
|
+
}, null, -1), ba = { key: 0 }, ya = {
|
|
5223
5223
|
key: 1,
|
|
5224
5224
|
class: "button--loading button__loader"
|
|
5225
|
-
},
|
|
5225
|
+
}, wa = /* @__PURE__ */ i("img", {
|
|
5226
5226
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
5227
5227
|
style: { position: "absolute", "margin-left": "-10px", padding: "8px 0", height: "100%" }
|
|
5228
|
-
}, null, -1),
|
|
5228
|
+
}, null, -1), za = { key: 0 }, La = {
|
|
5229
5229
|
key: 1,
|
|
5230
5230
|
class: "button--loading-black button__loader"
|
|
5231
5231
|
}, Ca = /* @__PURE__ */ i("img", {
|
|
5232
5232
|
src: "https://cdn.tapni.co/icons/facebook-blue.png",
|
|
5233
5233
|
style: { position: "absolute", "margin-left": "-9px", padding: "10px 0", height: "100%" }
|
|
5234
|
-
}, null, -1),
|
|
5234
|
+
}, null, -1), Sa = { key: 0 }, Ta = {
|
|
5235
5235
|
key: 1,
|
|
5236
5236
|
class: "button--loading-black button__loader"
|
|
5237
|
-
},
|
|
5237
|
+
}, ja = /* @__PURE__ */ i("img", {
|
|
5238
5238
|
src: "https://cdn.tapni.co/icons/outlook.png",
|
|
5239
5239
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5240
|
-
}, null, -1),
|
|
5240
|
+
}, null, -1), Pa = { key: 0 }, Aa = {
|
|
5241
5241
|
key: 1,
|
|
5242
5242
|
class: "button--loading-black button__loader"
|
|
5243
|
-
},
|
|
5243
|
+
}, Ia = /* @__PURE__ */ i("img", {
|
|
5244
5244
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
5245
5245
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5246
|
-
}, null, -1),
|
|
5246
|
+
}, null, -1), Ea = { key: 0 }, xa = {
|
|
5247
5247
|
key: 1,
|
|
5248
5248
|
class: "button--loading-black button__loader"
|
|
5249
|
-
},
|
|
5249
|
+
}, qa = /* @__PURE__ */ i("img", {
|
|
5250
5250
|
src: "https://cdn.tapni.co/icons/sso-key.png",
|
|
5251
5251
|
style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
|
|
5252
|
-
}, null, -1),
|
|
5252
|
+
}, null, -1), Ma = { key: 0 }, Ra = {
|
|
5253
5253
|
key: 1,
|
|
5254
5254
|
class: "button--loading-black button__loader"
|
|
5255
|
-
},
|
|
5255
|
+
}, Na = /* @__PURE__ */ i("img", {
|
|
5256
5256
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5257
5257
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
5258
|
-
}, null, -1),
|
|
5258
|
+
}, null, -1), Va = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Oa = { class: "close-text center-text half-top color-black" }, Ba = /* @__PURE__ */ i("br", null, null, -1), Da = {
|
|
5259
5259
|
class: "",
|
|
5260
5260
|
href: "https://tapni.co/policies/terms-of-service"
|
|
5261
|
-
},
|
|
5261
|
+
}, Ua = { href: "https://tapni.co/policies/privacy-policy" }, Ka = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Ha = {
|
|
5262
5262
|
key: 9,
|
|
5263
5263
|
class: "page-login-links"
|
|
5264
|
-
},
|
|
5265
|
-
function
|
|
5264
|
+
}, Fa = /* @__PURE__ */ i("div", { class: "clear" }, null, -1), Qa = { class: "forgot center-text pointer small-top" }, $a = /* @__PURE__ */ i("br", null, null, -1), Ga = /* @__PURE__ */ i("div", { class: "clear" }, null, -1);
|
|
5265
|
+
function Wa(e, a, n, o, t, r) {
|
|
5266
5266
|
const u = V("router-link");
|
|
5267
5267
|
return c(), l("form", {
|
|
5268
5268
|
class: "page-login content-boxed content-boxed-padding",
|
|
@@ -5275,12 +5275,12 @@ function Ya(e, a, n, o, t, r) {
|
|
|
5275
5275
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5276
5276
|
class: "color-black pull-right pointer",
|
|
5277
5277
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5278
|
-
},
|
|
5279
|
-
i("h1",
|
|
5280
|
-
|
|
5281
|
-
r.displayFormLogin ? (c(), l("span",
|
|
5282
|
-
i("div",
|
|
5283
|
-
|
|
5278
|
+
}, na)) : h("", !0),
|
|
5279
|
+
i("h1", ia, p(this.ssoLang[this.appLang].login), 1),
|
|
5280
|
+
ta,
|
|
5281
|
+
r.displayFormLogin ? (c(), l("span", oa, [
|
|
5282
|
+
i("div", ra, [
|
|
5283
|
+
sa,
|
|
5284
5284
|
k(i("input", {
|
|
5285
5285
|
"onUpdate:modelValue": a[1] || (a[1] = (s) => t.emailOrUsername = s),
|
|
5286
5286
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
@@ -5292,13 +5292,13 @@ function Ya(e, a, n, o, t, r) {
|
|
|
5292
5292
|
name: "email",
|
|
5293
5293
|
placeholder: e.ssoLang[this.appLang].email_username,
|
|
5294
5294
|
required: ""
|
|
5295
|
-
}, null, 40,
|
|
5295
|
+
}, null, 40, ca), [
|
|
5296
5296
|
[x, t.emailOrUsername]
|
|
5297
5297
|
]),
|
|
5298
|
-
|
|
5298
|
+
la
|
|
5299
5299
|
]),
|
|
5300
|
-
i("div",
|
|
5301
|
-
|
|
5300
|
+
i("div", da, [
|
|
5301
|
+
pa,
|
|
5302
5302
|
k(i("input", {
|
|
5303
5303
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => t.password = s),
|
|
5304
5304
|
type: t.revealPassword ? "text" : "password",
|
|
@@ -5306,41 +5306,41 @@ function Ya(e, a, n, o, t, r) {
|
|
|
5306
5306
|
name: "password",
|
|
5307
5307
|
required: "",
|
|
5308
5308
|
minlength: "8"
|
|
5309
|
-
}, null, 8,
|
|
5309
|
+
}, null, 8, ua), [
|
|
5310
5310
|
[U, t.password]
|
|
5311
5311
|
]),
|
|
5312
5312
|
i("em", {
|
|
5313
5313
|
onClick: a[4] || (a[4] = (s) => t.revealPassword = !t.revealPassword),
|
|
5314
5314
|
class: "pointer"
|
|
5315
5315
|
}, [
|
|
5316
|
-
k(i("img",
|
|
5316
|
+
k(i("img", _a, null, 512), [
|
|
5317
5317
|
[I, !t.revealPassword]
|
|
5318
5318
|
]),
|
|
5319
|
-
k(i("img",
|
|
5319
|
+
k(i("img", ma, null, 512), [
|
|
5320
5320
|
[I, t.revealPassword]
|
|
5321
5321
|
])
|
|
5322
5322
|
])
|
|
5323
5323
|
]),
|
|
5324
|
-
i("button",
|
|
5325
|
-
t.submitted ? (c(), l("span",
|
|
5324
|
+
i("button", ga, [
|
|
5325
|
+
t.submitted ? (c(), l("span", fa)) : (c(), l("span", ha, p(e.ssoLang[e.appLang].login), 1))
|
|
5326
5326
|
])
|
|
5327
5327
|
])) : h("", !0),
|
|
5328
|
-
|
|
5328
|
+
va,
|
|
5329
5329
|
e.displayAppleLogin ? (c(), l("a", {
|
|
5330
5330
|
key: 2,
|
|
5331
5331
|
onClick: a[5] || (a[5] = (...s) => e.appleLogin && e.appleLogin(...s)),
|
|
5332
5332
|
class: "button-center button button-90 google-button pointer"
|
|
5333
5333
|
}, [
|
|
5334
|
-
|
|
5335
|
-
e.appleLoad ? (c(), l("span",
|
|
5334
|
+
ka,
|
|
5335
|
+
e.appleLoad ? (c(), l("span", ya)) : (c(), l("span", ba, p(e.ssoLang[e.appLang].sign_in_with) + " Apple", 1))
|
|
5336
5336
|
])) : h("", !0),
|
|
5337
5337
|
e.displayGoogleLogin ? (c(), l("a", {
|
|
5338
5338
|
key: 3,
|
|
5339
5339
|
onClick: a[6] || (a[6] = (...s) => e.googleLogin && e.googleLogin(...s)),
|
|
5340
5340
|
class: "button-center button button-90 google-button pointer"
|
|
5341
5341
|
}, [
|
|
5342
|
-
|
|
5343
|
-
e.googleLoad ? (c(), l("span",
|
|
5342
|
+
wa,
|
|
5343
|
+
e.googleLoad ? (c(), l("span", La)) : (c(), l("span", za, p(e.ssoLang[e.appLang].sign_in_with) + " Google", 1))
|
|
5344
5344
|
])) : h("", !0),
|
|
5345
5345
|
e.displayFacebookLogin ? (c(), l("a", {
|
|
5346
5346
|
key: 4,
|
|
@@ -5348,61 +5348,61 @@ function Ya(e, a, n, o, t, r) {
|
|
|
5348
5348
|
class: "button-center button button-90 google-button pointer"
|
|
5349
5349
|
}, [
|
|
5350
5350
|
Ca,
|
|
5351
|
-
e.facebookLoad ? (c(), l("span",
|
|
5351
|
+
e.facebookLoad ? (c(), l("span", Ta)) : (c(), l("span", Sa, p(e.ssoLang[e.appLang].sign_in_with) + " Facebook", 1))
|
|
5352
5352
|
])) : h("", !0),
|
|
5353
5353
|
e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
|
|
5354
5354
|
key: 5,
|
|
5355
5355
|
onClick: a[8] || (a[8] = (...s) => e.microsoftLogin && e.microsoftLogin(...s)),
|
|
5356
5356
|
class: "button-center button button-90 google-button pointer"
|
|
5357
5357
|
}, [
|
|
5358
|
-
|
|
5359
|
-
e.microsoftLoad ? (c(), l("span",
|
|
5358
|
+
ja,
|
|
5359
|
+
e.microsoftLoad ? (c(), l("span", Aa)) : (c(), l("span", Pa, p(e.ssoLang[e.appLang].sign_in_with) + " Outlook", 1))
|
|
5360
5360
|
])),
|
|
5361
5361
|
e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
|
|
5362
5362
|
key: 6,
|
|
5363
5363
|
onClick: a[9] || (a[9] = (...s) => e.ssoLogin && e.ssoLogin(...s)),
|
|
5364
5364
|
class: "button-center button button-90 google-button pointer"
|
|
5365
5365
|
}, [
|
|
5366
|
-
|
|
5367
|
-
e.microsoftSSOLoad ? (c(), l("span",
|
|
5366
|
+
Ia,
|
|
5367
|
+
e.microsoftSSOLoad ? (c(), l("span", xa)) : (c(), l("span", Ea, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1))
|
|
5368
5368
|
])),
|
|
5369
5369
|
e.displayMicrosoftSSOLogin ? (c(), l("a", {
|
|
5370
5370
|
key: 7,
|
|
5371
5371
|
onClick: a[10] || (a[10] = (s) => e.microsoftLogin("sso")),
|
|
5372
5372
|
class: "button-center button button-90 google-button pointer"
|
|
5373
5373
|
}, [
|
|
5374
|
-
|
|
5375
|
-
e.microsoftSSOLoad ? (c(), l("span",
|
|
5374
|
+
qa,
|
|
5375
|
+
e.microsoftSSOLoad ? (c(), l("span", Ma, p(e.ssoLang[e.appLang].sign_in_with) + " SSO", 1)) : (c(), l("span", Ra))
|
|
5376
5376
|
])) : h("", !0),
|
|
5377
5377
|
r.displayFormLogin ? h("", !0) : (c(), l("a", {
|
|
5378
5378
|
key: 8,
|
|
5379
5379
|
onClick: a[11] || (a[11] = (s) => t.emailLogin = !0),
|
|
5380
5380
|
class: "button-center button button-90 google-button pointer"
|
|
5381
5381
|
}, [
|
|
5382
|
-
|
|
5382
|
+
Na,
|
|
5383
5383
|
i("span", null, p(e.ssoLang[e.appLang].sign_in_with) + " Email", 1)
|
|
5384
5384
|
])),
|
|
5385
|
-
|
|
5386
|
-
i("p",
|
|
5385
|
+
Va,
|
|
5386
|
+
i("p", Oa, [
|
|
5387
5387
|
f(p(e.ssoLang[e.appLang].terms_by_signing_in) + " ", 1),
|
|
5388
|
-
|
|
5389
|
-
i("a",
|
|
5388
|
+
Ba,
|
|
5389
|
+
i("a", Da, p(e.ssoLang[this.appLang].terms_of_service), 1),
|
|
5390
5390
|
f(" " + p(e.ssoLang[e.appLang].and) + " ", 1),
|
|
5391
|
-
i("a",
|
|
5391
|
+
i("a", Ua, p(e.ssoLang[this.appLang].privacy_policy), 1)
|
|
5392
5392
|
]),
|
|
5393
|
-
|
|
5393
|
+
Ka,
|
|
5394
5394
|
n.isModal ? (c(), l("div", {
|
|
5395
5395
|
key: 10,
|
|
5396
5396
|
class: "page-login-links",
|
|
5397
5397
|
onClick: a[12] || (a[12] = (...s) => r.createAccountModal && r.createAccountModal(...s))
|
|
5398
5398
|
}, [
|
|
5399
|
-
i("a",
|
|
5399
|
+
i("a", Qa, [
|
|
5400
5400
|
f(p(e.ssoLang[e.appLang].or) + " ", 1),
|
|
5401
|
-
|
|
5401
|
+
$a,
|
|
5402
5402
|
f(" " + p(e.ssoLang[e.appLang].create_new_account), 1)
|
|
5403
5403
|
]),
|
|
5404
|
-
|
|
5405
|
-
])) : (c(), l("div",
|
|
5404
|
+
Ga
|
|
5405
|
+
])) : (c(), l("div", Ha, [
|
|
5406
5406
|
r.displayRegisterLogin ? (c(), P(u, {
|
|
5407
5407
|
key: 0,
|
|
5408
5408
|
class: "forgot float-right",
|
|
@@ -5423,11 +5423,11 @@ function Ya(e, a, n, o, t, r) {
|
|
|
5423
5423
|
]),
|
|
5424
5424
|
_: 1
|
|
5425
5425
|
})) : h("", !0),
|
|
5426
|
-
|
|
5426
|
+
Fa
|
|
5427
5427
|
]))
|
|
5428
5428
|
], 36);
|
|
5429
5429
|
}
|
|
5430
|
-
const fe = /* @__PURE__ */ T(
|
|
5430
|
+
const fe = /* @__PURE__ */ T(ea, [["render", Wa]]), Ya = {
|
|
5431
5431
|
name: "AuthRegister",
|
|
5432
5432
|
mixins: [me, ge, he, Q, z],
|
|
5433
5433
|
props: {
|
|
@@ -5494,76 +5494,76 @@ const fe = /* @__PURE__ */ T(aa, [["render", Ya]]), Xa = {
|
|
|
5494
5494
|
this.storage.referral = e;
|
|
5495
5495
|
}
|
|
5496
5496
|
}
|
|
5497
|
-
},
|
|
5497
|
+
}, Xa = /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
|
|
5498
5498
|
/* @__PURE__ */ i("img", {
|
|
5499
5499
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5500
5500
|
class: "responsive-image",
|
|
5501
5501
|
style: { width: "35%" }
|
|
5502
5502
|
})
|
|
5503
|
-
], -1),
|
|
5504
|
-
|
|
5505
|
-
],
|
|
5503
|
+
], -1), Za = [
|
|
5504
|
+
Xa
|
|
5505
|
+
], Ja = {
|
|
5506
5506
|
class: "bold no-bottom center-text",
|
|
5507
5507
|
style: { "margin-top": "63px" }
|
|
5508
|
-
},
|
|
5508
|
+
}, en = { class: "half-bottom small-top center-text color-black" }, an = { key: 0 }, nn = /* @__PURE__ */ i("br", null, null, -1), tn = { key: 1 }, on = { class: "page-login-field half-top" }, rn = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5509
5509
|
/* @__PURE__ */ i("img", {
|
|
5510
5510
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5511
5511
|
class: "responsive-image",
|
|
5512
5512
|
style: { width: "60%" }
|
|
5513
5513
|
})
|
|
5514
|
-
], -1),
|
|
5514
|
+
], -1), sn = ["placeholder"], cn = /* @__PURE__ */ i("em", null, null, -1), ln = { class: "page-login-field half-top" }, dn = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5515
5515
|
/* @__PURE__ */ i("img", {
|
|
5516
5516
|
src: "https://cdn.tapni.co/icons/user.png",
|
|
5517
5517
|
class: "responsive-image",
|
|
5518
5518
|
style: { width: "50%" }
|
|
5519
5519
|
})
|
|
5520
|
-
], -1),
|
|
5520
|
+
], -1), pn = ["placeholder", "disabled"], un = /* @__PURE__ */ i("em", null, null, -1), _n = { class: "page-login-field half-top half-bottom" }, mn = /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5521
5521
|
/* @__PURE__ */ i("img", {
|
|
5522
5522
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5523
5523
|
class: "responsive-image",
|
|
5524
5524
|
style: { width: "50%" }
|
|
5525
5525
|
})
|
|
5526
|
-
], -1),
|
|
5526
|
+
], -1), gn = ["type", "placeholder"], hn = {
|
|
5527
5527
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5528
5528
|
class: "responsive-image password-reveal-icon"
|
|
5529
|
-
},
|
|
5529
|
+
}, fn = {
|
|
5530
5530
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
5531
5531
|
class: "responsive-image password-reveal-icon"
|
|
5532
|
-
},
|
|
5532
|
+
}, vn = {
|
|
5533
5533
|
type: "submit",
|
|
5534
5534
|
class: "button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"
|
|
5535
|
-
},
|
|
5535
|
+
}, kn = { key: 0 }, bn = {
|
|
5536
5536
|
key: 1,
|
|
5537
5537
|
class: "button--loading button__loader"
|
|
5538
|
-
},
|
|
5538
|
+
}, yn = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), wn = /* @__PURE__ */ i("img", {
|
|
5539
5539
|
src: "https://cdn.tapni.co/icons/apple-logo.png",
|
|
5540
5540
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
5541
|
-
}, null, -1),
|
|
5541
|
+
}, null, -1), zn = { key: 0 }, Ln = {
|
|
5542
5542
|
key: 1,
|
|
5543
5543
|
class: "button--loading button__loader"
|
|
5544
5544
|
}, Cn = /* @__PURE__ */ i("img", {
|
|
5545
5545
|
src: "https://cdn.tapni.co/icons/g-logo.png",
|
|
5546
5546
|
style: { position: "absolute", "margin-left": "-9px", padding: "8px 0", height: "100%" }
|
|
5547
|
-
}, null, -1),
|
|
5547
|
+
}, null, -1), Sn = { key: 0 }, Tn = {
|
|
5548
5548
|
key: 1,
|
|
5549
5549
|
class: "button--loading button__loader"
|
|
5550
|
-
},
|
|
5550
|
+
}, jn = /* @__PURE__ */ i("img", {
|
|
5551
5551
|
src: "https://cdn.tapni.co/icons/facebook-blue.png",
|
|
5552
5552
|
style: { position: "absolute", "margin-left": "-10px", padding: "10px 0", height: "100%" }
|
|
5553
|
-
}, null, -1),
|
|
5553
|
+
}, null, -1), Pn = { key: 0 }, An = {
|
|
5554
5554
|
key: 1,
|
|
5555
5555
|
class: "button--loading button__loader"
|
|
5556
|
-
},
|
|
5556
|
+
}, In = /* @__PURE__ */ i("img", {
|
|
5557
5557
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5558
5558
|
style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
|
|
5559
|
-
}, null, -1),
|
|
5559
|
+
}, null, -1), En = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), xn = { class: "close-text center-text half-top color-black" }, qn = /* @__PURE__ */ i("br", null, null, -1), Mn = {
|
|
5560
5560
|
class: "",
|
|
5561
5561
|
href: "https://tapni.co/policies/terms-of-service"
|
|
5562
|
-
},
|
|
5562
|
+
}, Rn = { href: "https://tapni.co/policies/privacy-policy" }, Nn = /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Vn = {
|
|
5563
5563
|
key: 5,
|
|
5564
5564
|
class: "page-login-links"
|
|
5565
|
-
},
|
|
5566
|
-
function
|
|
5565
|
+
}, On = /* @__PURE__ */ i("div", { class: "clear" }, null, -1), Bn = { class: "forgot center-text pointer small-top" }, Dn = /* @__PURE__ */ i("br", null, null, -1), Un = /* @__PURE__ */ i("div", { class: "clear" }, null, -1);
|
|
5566
|
+
function Kn(e, a, n, o, t, r) {
|
|
5567
5567
|
const u = V("router-link");
|
|
5568
5568
|
return c(), l("form", {
|
|
5569
5569
|
class: "page-login content-boxed content-boxed-padding",
|
|
@@ -5576,17 +5576,17 @@ function Hn(e, a, n, o, t, r) {
|
|
|
5576
5576
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5577
5577
|
class: "color-black pull-right pointer",
|
|
5578
5578
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5579
|
-
},
|
|
5580
|
-
i("h1",
|
|
5581
|
-
i("p",
|
|
5582
|
-
t.usernameRegister ? (c(), l("span",
|
|
5579
|
+
}, Za)) : h("", !0),
|
|
5580
|
+
i("h1", Ja, p(e.ssoLang[this.appLang].register), 1),
|
|
5581
|
+
i("p", en, [
|
|
5582
|
+
t.usernameRegister ? (c(), l("span", an, [
|
|
5583
5583
|
f(" t.link/" + p(t.username) + " " + p(e.ssoLang[this.appLang].username_is_free) + " ✅ ", 1),
|
|
5584
|
-
|
|
5584
|
+
nn
|
|
5585
5585
|
])) : h("", !0)
|
|
5586
5586
|
]),
|
|
5587
|
-
t.emailLogin ? (c(), l("span",
|
|
5588
|
-
i("div",
|
|
5589
|
-
|
|
5587
|
+
t.emailLogin ? (c(), l("span", tn, [
|
|
5588
|
+
i("div", on, [
|
|
5589
|
+
rn,
|
|
5590
5590
|
k(i("input", {
|
|
5591
5591
|
"onUpdate:modelValue": a[1] || (a[1] = (s) => t.email = s),
|
|
5592
5592
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
@@ -5595,13 +5595,13 @@ function Hn(e, a, n, o, t, r) {
|
|
|
5595
5595
|
placeholder: e.ssoLang[this.appLang].email,
|
|
5596
5596
|
name: "email",
|
|
5597
5597
|
required: ""
|
|
5598
|
-
}, null, 40,
|
|
5598
|
+
}, null, 40, sn), [
|
|
5599
5599
|
[x, t.email]
|
|
5600
5600
|
]),
|
|
5601
|
-
|
|
5601
|
+
cn
|
|
5602
5602
|
]),
|
|
5603
|
-
i("div",
|
|
5604
|
-
|
|
5603
|
+
i("div", ln, [
|
|
5604
|
+
dn,
|
|
5605
5605
|
k(i("input", {
|
|
5606
5606
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => t.username = s),
|
|
5607
5607
|
onKeydown: a[4] || (a[4] = E(y(() => {
|
|
@@ -5615,13 +5615,13 @@ function Hn(e, a, n, o, t, r) {
|
|
|
5615
5615
|
required: "",
|
|
5616
5616
|
disabled: t.usernameRegister,
|
|
5617
5617
|
class: b({ "input-disabled": t.usernameRegister })
|
|
5618
|
-
}, null, 42,
|
|
5618
|
+
}, null, 42, pn), [
|
|
5619
5619
|
[x, t.username]
|
|
5620
5620
|
]),
|
|
5621
|
-
|
|
5621
|
+
un
|
|
5622
5622
|
]),
|
|
5623
|
-
i("div",
|
|
5624
|
-
|
|
5623
|
+
i("div", _n, [
|
|
5624
|
+
mn,
|
|
5625
5625
|
k(i("input", {
|
|
5626
5626
|
"onUpdate:modelValue": a[5] || (a[5] = (s) => t.password = s),
|
|
5627
5627
|
type: t.revealPassword ? "text" : "password",
|
|
@@ -5629,78 +5629,78 @@ function Hn(e, a, n, o, t, r) {
|
|
|
5629
5629
|
name: "password",
|
|
5630
5630
|
required: "",
|
|
5631
5631
|
minlength: "8"
|
|
5632
|
-
}, null, 8,
|
|
5632
|
+
}, null, 8, gn), [
|
|
5633
5633
|
[U, t.password]
|
|
5634
5634
|
]),
|
|
5635
5635
|
i("em", {
|
|
5636
5636
|
onClick: a[6] || (a[6] = (s) => t.revealPassword = !t.revealPassword),
|
|
5637
5637
|
class: "pointer"
|
|
5638
5638
|
}, [
|
|
5639
|
-
k(i("img",
|
|
5639
|
+
k(i("img", hn, null, 512), [
|
|
5640
5640
|
[I, !t.revealPassword]
|
|
5641
5641
|
]),
|
|
5642
|
-
k(i("img",
|
|
5642
|
+
k(i("img", fn, null, 512), [
|
|
5643
5643
|
[I, t.revealPassword]
|
|
5644
5644
|
])
|
|
5645
5645
|
])
|
|
5646
5646
|
]),
|
|
5647
|
-
i("button",
|
|
5648
|
-
t.submitted ? (c(), l("span",
|
|
5647
|
+
i("button", vn, [
|
|
5648
|
+
t.submitted ? (c(), l("span", bn)) : (c(), l("span", kn, p(t.formButtonText), 1))
|
|
5649
5649
|
])
|
|
5650
5650
|
])) : h("", !0),
|
|
5651
|
-
|
|
5651
|
+
yn,
|
|
5652
5652
|
e.displayAppleLogin ? (c(), l("a", {
|
|
5653
5653
|
key: 2,
|
|
5654
5654
|
onClick: a[7] || (a[7] = (...s) => e.appleLogin && e.appleLogin(...s)),
|
|
5655
5655
|
class: "button-center button button-90 google-button pointer"
|
|
5656
5656
|
}, [
|
|
5657
|
-
|
|
5658
|
-
e.appleLoad ? (c(), l("span",
|
|
5657
|
+
wn,
|
|
5658
|
+
e.appleLoad ? (c(), l("span", Ln)) : (c(), l("span", zn, p(e.ssoLang[this.appLang].sign_up_with) + " Apple", 1))
|
|
5659
5659
|
])) : h("", !0),
|
|
5660
5660
|
i("a", {
|
|
5661
5661
|
onClick: a[8] || (a[8] = (...s) => e.googleLogin && e.googleLogin(...s)),
|
|
5662
5662
|
class: "button-center button button-90 google-button pointer"
|
|
5663
5663
|
}, [
|
|
5664
5664
|
Cn,
|
|
5665
|
-
e.googleLoad ? (c(), l("span",
|
|
5665
|
+
e.googleLoad ? (c(), l("span", Tn)) : (c(), l("span", Sn, p(e.ssoLang[this.appLang].sign_up_with) + " Google", 1))
|
|
5666
5666
|
]),
|
|
5667
5667
|
e.displayFacebookLogin ? (c(), l("a", {
|
|
5668
5668
|
key: 3,
|
|
5669
5669
|
onClick: a[9] || (a[9] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
|
|
5670
5670
|
class: "button-center button button-90 google-button pointer"
|
|
5671
5671
|
}, [
|
|
5672
|
-
|
|
5673
|
-
e.facebookLoad ? (c(), l("span",
|
|
5672
|
+
jn,
|
|
5673
|
+
e.facebookLoad ? (c(), l("span", An)) : (c(), l("span", Pn, p(e.ssoLang[this.appLang].sign_up_with) + " Facebook", 1))
|
|
5674
5674
|
])) : h("", !0),
|
|
5675
5675
|
t.emailLogin ? h("", !0) : (c(), l("a", {
|
|
5676
5676
|
key: 4,
|
|
5677
5677
|
onClick: a[10] || (a[10] = (s) => t.emailLogin = !0),
|
|
5678
5678
|
class: "button-center button button-90 google-button pointer"
|
|
5679
5679
|
}, [
|
|
5680
|
-
|
|
5680
|
+
In,
|
|
5681
5681
|
i("span", null, p(e.ssoLang[this.appLang].sign_up_with) + " Email", 1)
|
|
5682
5682
|
])),
|
|
5683
|
-
|
|
5684
|
-
i("p",
|
|
5683
|
+
En,
|
|
5684
|
+
i("p", xn, [
|
|
5685
5685
|
f(p(e.ssoLang[this.appLang].terms_by_registering) + " ", 1),
|
|
5686
|
-
|
|
5687
|
-
i("a",
|
|
5686
|
+
qn,
|
|
5687
|
+
i("a", Mn, p(e.ssoLang[this.appLang].terms_of_service), 1),
|
|
5688
5688
|
f(" " + p(e.ssoLang[this.appLang].and) + " ", 1),
|
|
5689
|
-
i("a",
|
|
5689
|
+
i("a", Rn, p(e.ssoLang[this.appLang].privacy_policy), 1)
|
|
5690
5690
|
]),
|
|
5691
|
-
|
|
5691
|
+
Nn,
|
|
5692
5692
|
n.isModal ? (c(), l("div", {
|
|
5693
5693
|
key: 6,
|
|
5694
5694
|
class: "page-login-links",
|
|
5695
5695
|
onClick: a[11] || (a[11] = (...s) => r.loginAccountModal && r.loginAccountModal(...s))
|
|
5696
5696
|
}, [
|
|
5697
|
-
i("a",
|
|
5697
|
+
i("a", Bn, [
|
|
5698
5698
|
f(p(e.ssoLang[this.appLang].or) + " ", 1),
|
|
5699
|
-
|
|
5699
|
+
Dn,
|
|
5700
5700
|
f(" " + p(e.ssoLang[this.appLang].sign_in_with_new), 1)
|
|
5701
5701
|
]),
|
|
5702
|
-
|
|
5703
|
-
])) : (c(), l("div",
|
|
5702
|
+
Un
|
|
5703
|
+
])) : (c(), l("div", Vn, [
|
|
5704
5704
|
v(u, {
|
|
5705
5705
|
class: "create float-right",
|
|
5706
5706
|
to: "/verify"
|
|
@@ -5719,11 +5719,11 @@ function Hn(e, a, n, o, t, r) {
|
|
|
5719
5719
|
]),
|
|
5720
5720
|
_: 1
|
|
5721
5721
|
}),
|
|
5722
|
-
|
|
5722
|
+
On
|
|
5723
5723
|
]))
|
|
5724
5724
|
], 36);
|
|
5725
5725
|
}
|
|
5726
|
-
const ve = /* @__PURE__ */ T(
|
|
5726
|
+
const ve = /* @__PURE__ */ T(Ya, [["render", Kn]]), Hn = {
|
|
5727
5727
|
name: "AuthVerify",
|
|
5728
5728
|
mixins: [z],
|
|
5729
5729
|
props: {
|
|
@@ -5786,43 +5786,43 @@ const ve = /* @__PURE__ */ T(Xa, [["render", Hn]]), Fn = {
|
|
|
5786
5786
|
deep: !0
|
|
5787
5787
|
}
|
|
5788
5788
|
}
|
|
5789
|
-
},
|
|
5789
|
+
}, S = (e) => (O("data-v-2fd511e2"), e = e(), B(), e), Fn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
|
|
5790
5790
|
/* @__PURE__ */ i("img", {
|
|
5791
5791
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
5792
5792
|
class: "responsive-image",
|
|
5793
5793
|
style: { width: "35%" }
|
|
5794
5794
|
})
|
|
5795
|
-
], -1)),
|
|
5796
|
-
|
|
5797
|
-
],
|
|
5795
|
+
], -1)), Qn = [
|
|
5796
|
+
Fn
|
|
5797
|
+
], $n = {
|
|
5798
5798
|
class: "bold no-bottom center-text",
|
|
5799
5799
|
style: { "margin-top": "63px" }
|
|
5800
|
-
},
|
|
5800
|
+
}, Gn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("p", { class: "half-bottom half-top center-text color-black" }, null, -1)), Wn = { class: "page-login-field half-top" }, Yn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
5801
5801
|
/* @__PURE__ */ i("img", {
|
|
5802
5802
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5803
5803
|
class: "responsive-image",
|
|
5804
5804
|
style: { width: "80%" }
|
|
5805
5805
|
})
|
|
5806
|
-
], -1)),
|
|
5806
|
+
], -1)), Xn = ["placeholder"], Zn = /* @__PURE__ */ S(() => /* @__PURE__ */ i("em", null, null, -1)), Jn = { class: "page-login-field half-top" }, ei = /* @__PURE__ */ S(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
5807
5807
|
/* @__PURE__ */ i("img", {
|
|
5808
5808
|
src: "https://cdn.tapni.co/icons/password2.png",
|
|
5809
5809
|
class: "responsive-image",
|
|
5810
5810
|
style: { width: "100%" }
|
|
5811
5811
|
})
|
|
5812
|
-
], -1)),
|
|
5812
|
+
], -1)), ai = ["placeholder"], ni = /* @__PURE__ */ S(() => /* @__PURE__ */ i("em", null, null, -1)), ii = {
|
|
5813
5813
|
type: "submit",
|
|
5814
5814
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5815
|
-
},
|
|
5815
|
+
}, ti = {
|
|
5816
5816
|
key: 0,
|
|
5817
5817
|
class: "uppercase"
|
|
5818
|
-
},
|
|
5818
|
+
}, oi = {
|
|
5819
5819
|
key: 1,
|
|
5820
5820
|
class: "button--loading button__loader"
|
|
5821
|
-
},
|
|
5821
|
+
}, ri = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), si = { class: "close-text center-text half-top color-black" }, ci = ["innerHTML"], li = /* @__PURE__ */ S(() => /* @__PURE__ */ i("a", { href: "mailto:support@tapni.co?subject=Email Verification" }, " support@tapni.co", -1)), di = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), pi = {
|
|
5822
5822
|
key: 1,
|
|
5823
5823
|
class: "page-login-links"
|
|
5824
|
-
},
|
|
5825
|
-
function
|
|
5824
|
+
}, ui = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), _i = { class: "forgot center-text pointer small-top" }, mi = /* @__PURE__ */ S(() => /* @__PURE__ */ i("br", null, null, -1)), gi = /* @__PURE__ */ S(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1));
|
|
5825
|
+
function hi(e, a, n, o, t, r) {
|
|
5826
5826
|
const u = V("router-link");
|
|
5827
5827
|
return c(), l("form", {
|
|
5828
5828
|
class: "page-login content-boxed content-boxed-padding",
|
|
@@ -5834,11 +5834,11 @@ function fi(e, a, n, o, t, r) {
|
|
|
5834
5834
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
5835
5835
|
class: "color-black pull-right pointer",
|
|
5836
5836
|
style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
|
|
5837
|
-
},
|
|
5838
|
-
i("h1",
|
|
5839
|
-
|
|
5840
|
-
i("div",
|
|
5841
|
-
|
|
5837
|
+
}, Qn)) : h("", !0),
|
|
5838
|
+
i("h1", $n, p(e.ssoLang[this.appLang].verify_account), 1),
|
|
5839
|
+
Gn,
|
|
5840
|
+
i("div", Wn, [
|
|
5841
|
+
Yn,
|
|
5842
5842
|
k(i("input", {
|
|
5843
5843
|
id: "emailInput",
|
|
5844
5844
|
"onUpdate:modelValue": a[1] || (a[1] = (s) => t.email = s),
|
|
@@ -5847,13 +5847,13 @@ function fi(e, a, n, o, t, r) {
|
|
|
5847
5847
|
type: "email",
|
|
5848
5848
|
placeholder: e.ssoLang[this.appLang].email,
|
|
5849
5849
|
required: ""
|
|
5850
|
-
}, null, 40,
|
|
5850
|
+
}, null, 40, Xn), [
|
|
5851
5851
|
[x, t.email]
|
|
5852
5852
|
]),
|
|
5853
|
-
|
|
5853
|
+
Zn
|
|
5854
5854
|
]),
|
|
5855
|
-
i("div",
|
|
5856
|
-
|
|
5855
|
+
i("div", Jn, [
|
|
5856
|
+
ei,
|
|
5857
5857
|
k(i("input", {
|
|
5858
5858
|
id: "codeInput",
|
|
5859
5859
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => t.code = s),
|
|
@@ -5862,34 +5862,34 @@ function fi(e, a, n, o, t, r) {
|
|
|
5862
5862
|
type: "tel",
|
|
5863
5863
|
placeholder: e.ssoLang[this.appLang].code,
|
|
5864
5864
|
required: ""
|
|
5865
|
-
}, null, 40,
|
|
5865
|
+
}, null, 40, ai), [
|
|
5866
5866
|
[x, t.code]
|
|
5867
5867
|
]),
|
|
5868
|
-
|
|
5868
|
+
ni
|
|
5869
5869
|
]),
|
|
5870
|
-
i("button",
|
|
5871
|
-
t.submitted ? (c(), l("span",
|
|
5870
|
+
i("button", ii, [
|
|
5871
|
+
t.submitted ? (c(), l("span", oi)) : (c(), l("span", ti, p(e.ssoLang[this.appLang].verify_account), 1))
|
|
5872
5872
|
]),
|
|
5873
|
-
|
|
5874
|
-
i("p",
|
|
5873
|
+
ri,
|
|
5874
|
+
i("p", si, [
|
|
5875
5875
|
i("span", {
|
|
5876
5876
|
innerHTML: e.ssoLang[this.appLang].verify_account_p1
|
|
5877
|
-
}, null, 8,
|
|
5878
|
-
|
|
5877
|
+
}, null, 8, ci),
|
|
5878
|
+
li
|
|
5879
5879
|
]),
|
|
5880
|
-
|
|
5880
|
+
di,
|
|
5881
5881
|
n.isModal ? (c(), l("div", {
|
|
5882
5882
|
key: 2,
|
|
5883
5883
|
class: "page-login-links",
|
|
5884
5884
|
onClick: a[5] || (a[5] = (...s) => r.registerAccountModal && r.registerAccountModal(...s))
|
|
5885
5885
|
}, [
|
|
5886
|
-
i("a",
|
|
5886
|
+
i("a", _i, [
|
|
5887
5887
|
f(p(e.ssoLang[this.appLang].or) + " ", 1),
|
|
5888
|
-
|
|
5888
|
+
mi,
|
|
5889
5889
|
f(" " + p(e.ssoLang[this.appLang].create_new_account), 1)
|
|
5890
5890
|
]),
|
|
5891
|
-
|
|
5892
|
-
])) : (c(), l("div",
|
|
5891
|
+
gi
|
|
5892
|
+
])) : (c(), l("div", pi, [
|
|
5893
5893
|
v(u, {
|
|
5894
5894
|
class: "create float-right",
|
|
5895
5895
|
to: "/register"
|
|
@@ -5908,11 +5908,11 @@ function fi(e, a, n, o, t, r) {
|
|
|
5908
5908
|
]),
|
|
5909
5909
|
_: 1
|
|
5910
5910
|
}),
|
|
5911
|
-
|
|
5911
|
+
ui
|
|
5912
5912
|
]))
|
|
5913
5913
|
], 36);
|
|
5914
5914
|
}
|
|
5915
|
-
const ke = /* @__PURE__ */ T(
|
|
5915
|
+
const ke = /* @__PURE__ */ T(Hn, [["render", hi], ["__scopeId", "data-v-2fd511e2"]]), fi = {
|
|
5916
5916
|
name: "AuthReset",
|
|
5917
5917
|
mixins: [z],
|
|
5918
5918
|
data() {
|
|
@@ -5966,124 +5966,124 @@ const ke = /* @__PURE__ */ T(Fn, [["render", fi], ["__scopeId", "data-v-2fd511e2
|
|
|
5966
5966
|
this.storage.verifyEmail = e;
|
|
5967
5967
|
}
|
|
5968
5968
|
}
|
|
5969
|
-
}, A = (e) => (O("data-v-220c28f9"), e = e(), B(), e),
|
|
5969
|
+
}, A = (e) => (O("data-v-220c28f9"), e = e(), B(), e), vi = {
|
|
5970
5970
|
class: "bold no-bottom center-text",
|
|
5971
5971
|
style: { "margin-top": "63px" }
|
|
5972
|
-
},
|
|
5972
|
+
}, ki = /* @__PURE__ */ A(() => /* @__PURE__ */ i("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), bi = { class: "page-login-field half-top color-black" }, yi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
|
|
5973
5973
|
/* @__PURE__ */ i("img", {
|
|
5974
5974
|
src: "https://cdn.tapni.co/icons/mail.png",
|
|
5975
5975
|
class: "responsive-image",
|
|
5976
5976
|
style: { width: "80%" }
|
|
5977
5977
|
})
|
|
5978
|
-
], -1)),
|
|
5978
|
+
], -1)), wi = ["placeholder"], zi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("em", null, null, -1)), Li = {
|
|
5979
5979
|
type: "submit",
|
|
5980
5980
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
5981
5981
|
}, Ci = {
|
|
5982
5982
|
key: 0,
|
|
5983
5983
|
class: "uppercase"
|
|
5984
|
-
},
|
|
5984
|
+
}, Si = {
|
|
5985
5985
|
key: 1,
|
|
5986
5986
|
class: "button--loading button__loader"
|
|
5987
|
-
},
|
|
5987
|
+
}, Ti = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), ji = { class: "close-text center-text half-top color-black" }, Pi = ["innerHTML"], Ai = ["href"], Ii = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Ei = { class: "page-login-links" }, xi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "clear" }, null, -1)), qi = {
|
|
5988
5988
|
class: "bold no-bottom center-text",
|
|
5989
5989
|
style: { "margin-top": "63px" }
|
|
5990
|
-
},
|
|
5990
|
+
}, Mi = { class: "half-bottom small-top center-text color-black" }, Ri = { class: "page-login-field half-top" }, Ni = /* @__PURE__ */ A(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
5991
5991
|
/* @__PURE__ */ i("img", {
|
|
5992
5992
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
5993
5993
|
class: "responsive-image",
|
|
5994
5994
|
style: { width: "50%" }
|
|
5995
5995
|
})
|
|
5996
|
-
], -1)),
|
|
5996
|
+
], -1)), Vi = ["type", "placeholder"], Oi = {
|
|
5997
5997
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
5998
5998
|
class: "responsive-image password-reveal-icon"
|
|
5999
|
-
},
|
|
5999
|
+
}, Bi = {
|
|
6000
6000
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
6001
6001
|
class: "responsive-image password-reveal-icon"
|
|
6002
|
-
},
|
|
6002
|
+
}, Di = { class: "page-login-field half-top" }, Ui = /* @__PURE__ */ A(() => /* @__PURE__ */ i("i", { style: { "padding-top": "15px" } }, [
|
|
6003
6003
|
/* @__PURE__ */ i("img", {
|
|
6004
6004
|
src: "https://cdn.tapni.co/icons/padlock.png",
|
|
6005
6005
|
class: "responsive-image",
|
|
6006
6006
|
style: { width: "50%" }
|
|
6007
6007
|
})
|
|
6008
|
-
], -1)),
|
|
6008
|
+
], -1)), Ki = ["type", "placeholder"], Hi = {
|
|
6009
6009
|
src: "https://cdn.tapni.co/icons/reveal-password.png",
|
|
6010
6010
|
class: "responsive-image password-reveal-icon"
|
|
6011
|
-
},
|
|
6011
|
+
}, Fi = {
|
|
6012
6012
|
src: "https://cdn.tapni.co/icons/hide-password.png",
|
|
6013
6013
|
class: "responsive-image password-reveal-icon"
|
|
6014
|
-
},
|
|
6014
|
+
}, Qi = {
|
|
6015
6015
|
type: "submit",
|
|
6016
6016
|
class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
|
|
6017
|
-
},
|
|
6017
|
+
}, $i = {
|
|
6018
6018
|
key: 0,
|
|
6019
6019
|
class: "uppercase"
|
|
6020
|
-
},
|
|
6020
|
+
}, Gi = {
|
|
6021
6021
|
key: 1,
|
|
6022
6022
|
class: "button--loading button__loader"
|
|
6023
|
-
},
|
|
6024
|
-
function
|
|
6023
|
+
}, Wi = /* @__PURE__ */ A(() => /* @__PURE__ */ i("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Yi = { class: "close-text center-text half-top color-black" }, Xi = ["innerHTML"], Zi = ["href"];
|
|
6024
|
+
function Ji(e, a, n, o, t, r) {
|
|
6025
6025
|
const u = V("router-link");
|
|
6026
6026
|
return t.passwordChange ? (c(), l("form", {
|
|
6027
6027
|
key: 1,
|
|
6028
6028
|
class: "page-login content-boxed content-boxed-padding",
|
|
6029
6029
|
onSubmit: a[7] || (a[7] = y((...s) => r.changePw && r.changePw(...s), ["prevent"]))
|
|
6030
6030
|
}, [
|
|
6031
|
-
i("h3",
|
|
6032
|
-
i("p",
|
|
6033
|
-
i("div",
|
|
6034
|
-
|
|
6031
|
+
i("h3", qi, p(e.ssoLang[this.appLang].password_change), 1),
|
|
6032
|
+
i("p", Mi, p(e.ssoLang[this.appLang].password_new), 1),
|
|
6033
|
+
i("div", Ri, [
|
|
6034
|
+
Ni,
|
|
6035
6035
|
k(i("input", {
|
|
6036
6036
|
"onUpdate:modelValue": a[3] || (a[3] = (s) => t.password = s),
|
|
6037
6037
|
type: t.revealPassword ? "text" : "password",
|
|
6038
6038
|
placeholder: e.ssoLang[this.appLang].password,
|
|
6039
6039
|
required: ""
|
|
6040
|
-
}, null, 8,
|
|
6040
|
+
}, null, 8, Vi), [
|
|
6041
6041
|
[U, t.password]
|
|
6042
6042
|
]),
|
|
6043
6043
|
i("em", {
|
|
6044
6044
|
onClick: a[4] || (a[4] = (s) => t.revealPassword = !t.revealPassword)
|
|
6045
6045
|
}, [
|
|
6046
|
-
k(i("img",
|
|
6046
|
+
k(i("img", Oi, null, 512), [
|
|
6047
6047
|
[I, !t.revealPassword]
|
|
6048
6048
|
]),
|
|
6049
|
-
k(i("img",
|
|
6049
|
+
k(i("img", Bi, null, 512), [
|
|
6050
6050
|
[I, t.revealPassword]
|
|
6051
6051
|
])
|
|
6052
6052
|
])
|
|
6053
6053
|
]),
|
|
6054
|
-
i("div",
|
|
6055
|
-
|
|
6054
|
+
i("div", Di, [
|
|
6055
|
+
Ui,
|
|
6056
6056
|
k(i("input", {
|
|
6057
6057
|
"onUpdate:modelValue": a[5] || (a[5] = (s) => t.passwordRepeat = s),
|
|
6058
6058
|
type: t.revealPassword2 ? "text" : "password",
|
|
6059
6059
|
placeholder: e.ssoLang[this.appLang].password_repeat,
|
|
6060
6060
|
required: ""
|
|
6061
|
-
}, null, 8,
|
|
6061
|
+
}, null, 8, Ki), [
|
|
6062
6062
|
[U, t.passwordRepeat]
|
|
6063
6063
|
]),
|
|
6064
6064
|
i("em", {
|
|
6065
6065
|
onClick: a[6] || (a[6] = (s) => t.revealPassword2 = !t.revealPassword2)
|
|
6066
6066
|
}, [
|
|
6067
|
-
k(i("img",
|
|
6067
|
+
k(i("img", Hi, null, 512), [
|
|
6068
6068
|
[I, !t.revealPassword2]
|
|
6069
6069
|
]),
|
|
6070
|
-
k(i("img",
|
|
6070
|
+
k(i("img", Fi, null, 512), [
|
|
6071
6071
|
[I, t.revealPassword2]
|
|
6072
6072
|
])
|
|
6073
6073
|
])
|
|
6074
6074
|
]),
|
|
6075
|
-
i("button",
|
|
6076
|
-
t.submitted ? (c(), l("span",
|
|
6075
|
+
i("button", Qi, [
|
|
6076
|
+
t.submitted ? (c(), l("span", Gi)) : (c(), l("span", $i, p(e.ssoLang[this.appLang].password_change), 1))
|
|
6077
6077
|
]),
|
|
6078
|
-
|
|
6079
|
-
i("p",
|
|
6078
|
+
Wi,
|
|
6079
|
+
i("p", Yi, [
|
|
6080
6080
|
i("span", {
|
|
6081
6081
|
innerHTML: e.ssoLang[this.appLang].reset_password_p2
|
|
6082
|
-
}, null, 8,
|
|
6082
|
+
}, null, 8, Xi),
|
|
6083
6083
|
f(),
|
|
6084
6084
|
i("a", {
|
|
6085
6085
|
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLang].password_reset_t
|
|
6086
|
-
}, " support@tapni.co", 8,
|
|
6086
|
+
}, " support@tapni.co", 8, Zi)
|
|
6087
6087
|
])
|
|
6088
6088
|
], 32)) : (c(), l("form", {
|
|
6089
6089
|
key: 0,
|
|
@@ -6091,10 +6091,10 @@ function et(e, a, n, o, t, r) {
|
|
|
6091
6091
|
onSubmit: a[2] || (a[2] = y((...s) => r.resetEmail && r.resetEmail(...s), ["prevent"])),
|
|
6092
6092
|
autocomplete: "on"
|
|
6093
6093
|
}, [
|
|
6094
|
-
i("h3",
|
|
6095
|
-
|
|
6096
|
-
i("div",
|
|
6097
|
-
|
|
6094
|
+
i("h3", vi, p(e.ssoLang[this.appLang].reset_password), 1),
|
|
6095
|
+
ki,
|
|
6096
|
+
i("div", bi, [
|
|
6097
|
+
yi,
|
|
6098
6098
|
k(i("input", {
|
|
6099
6099
|
id: "emailInput",
|
|
6100
6100
|
"onUpdate:modelValue": a[0] || (a[0] = (s) => t.email = s),
|
|
@@ -6103,25 +6103,25 @@ function et(e, a, n, o, t, r) {
|
|
|
6103
6103
|
type: "email",
|
|
6104
6104
|
placeholder: e.ssoLang[this.appLang].email,
|
|
6105
6105
|
required: ""
|
|
6106
|
-
}, null, 40,
|
|
6106
|
+
}, null, 40, wi), [
|
|
6107
6107
|
[x, t.email]
|
|
6108
6108
|
]),
|
|
6109
|
-
|
|
6109
|
+
zi
|
|
6110
6110
|
]),
|
|
6111
|
-
i("button",
|
|
6112
|
-
t.submitted ? (c(), l("span",
|
|
6111
|
+
i("button", Li, [
|
|
6112
|
+
t.submitted ? (c(), l("span", Si)) : (c(), l("span", Ci, p(e.ssoLang[this.appLang].reset_password), 1))
|
|
6113
6113
|
]),
|
|
6114
|
-
|
|
6115
|
-
i("p",
|
|
6114
|
+
Ti,
|
|
6115
|
+
i("p", ji, [
|
|
6116
6116
|
i("span", {
|
|
6117
6117
|
innerHTML: e.ssoLang[this.appLang].reset_password_p1
|
|
6118
|
-
}, null, 8,
|
|
6118
|
+
}, null, 8, Pi),
|
|
6119
6119
|
i("a", {
|
|
6120
6120
|
href: "mailto:support@tapni.co?subject=" + e.ssoLang[this.appLang].password_reset_t
|
|
6121
|
-
}, " support@tapni.co", 8,
|
|
6121
|
+
}, " support@tapni.co", 8, Ai)
|
|
6122
6122
|
]),
|
|
6123
|
-
|
|
6124
|
-
i("div",
|
|
6123
|
+
Ii,
|
|
6124
|
+
i("div", Ei, [
|
|
6125
6125
|
v(u, {
|
|
6126
6126
|
class: "create float-right",
|
|
6127
6127
|
to: "/verify"
|
|
@@ -6140,11 +6140,11 @@ function et(e, a, n, o, t, r) {
|
|
|
6140
6140
|
]),
|
|
6141
6141
|
_: 1
|
|
6142
6142
|
}),
|
|
6143
|
-
|
|
6143
|
+
xi
|
|
6144
6144
|
])
|
|
6145
6145
|
], 32));
|
|
6146
6146
|
}
|
|
6147
|
-
const be = /* @__PURE__ */ T(
|
|
6147
|
+
const be = /* @__PURE__ */ T(fi, [["render", Ji], ["__scopeId", "data-v-220c28f9"]]), et = {
|
|
6148
6148
|
name: "AuthCallback",
|
|
6149
6149
|
mixins: [$, G, z],
|
|
6150
6150
|
data() {
|
|
@@ -6160,32 +6160,32 @@ const be = /* @__PURE__ */ T(vi, [["render", et], ["__scopeId", "data-v-220c28f9
|
|
|
6160
6160
|
},
|
|
6161
6161
|
methods: {
|
|
6162
6162
|
inAppRedirect() {
|
|
6163
|
-
let e =
|
|
6163
|
+
let e = Me(location.href);
|
|
6164
6164
|
return e = e.replace("http", "tapni"), e = e.replace("https", "tapni"), window.open(e);
|
|
6165
6165
|
}
|
|
6166
6166
|
}
|
|
6167
|
-
},
|
|
6167
|
+
}, at = {
|
|
6168
6168
|
key: 0,
|
|
6169
6169
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
6170
|
-
},
|
|
6170
|
+
}, nt = /* @__PURE__ */ i("br", null, null, -1), it = {
|
|
6171
6171
|
key: 1,
|
|
6172
6172
|
style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
|
|
6173
6173
|
};
|
|
6174
|
-
function
|
|
6174
|
+
function tt(e, a, n, o, t, r) {
|
|
6175
6175
|
return c(), l("div", null, [
|
|
6176
|
-
(e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5",
|
|
6176
|
+
(e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5", at, [
|
|
6177
6177
|
f(p(e.ssoLang[this.appLang].you_will_be_redirected), 1),
|
|
6178
|
-
|
|
6178
|
+
nt,
|
|
6179
6179
|
f(" " + p(e.ssoLang[this.appLang].if_redirect_not_directly) + ", ", 1),
|
|
6180
6180
|
i("span", {
|
|
6181
6181
|
onClick: a[0] || (a[0] = (...u) => r.inAppRedirect && r.inAppRedirect(...u)),
|
|
6182
6182
|
style: { color: "blue", cursor: "pointer" }
|
|
6183
6183
|
}, p(e.ssoLang[this.appLang].click_here), 1),
|
|
6184
6184
|
f(".")
|
|
6185
|
-
])) : (c(), l("h4",
|
|
6185
|
+
])) : (c(), l("h4", it, p(e.ssoLang[this.appLang].please_wait), 1))
|
|
6186
6186
|
]);
|
|
6187
6187
|
}
|
|
6188
|
-
const ye = /* @__PURE__ */ T(
|
|
6188
|
+
const ye = /* @__PURE__ */ T(et, [["render", tt]]), ot = {
|
|
6189
6189
|
name: "ModalOverlay",
|
|
6190
6190
|
mixins: [z],
|
|
6191
6191
|
data() {
|
|
@@ -6210,13 +6210,13 @@ const ye = /* @__PURE__ */ T(at, [["render", ot]]), rt = {
|
|
|
6210
6210
|
}
|
|
6211
6211
|
}
|
|
6212
6212
|
};
|
|
6213
|
-
function
|
|
6213
|
+
function rt(e, a, n, o, t, r) {
|
|
6214
6214
|
return c(), l("div", {
|
|
6215
6215
|
class: b({ "pointer delete-menu": !0, "delete-menu-active": t.toggle }),
|
|
6216
6216
|
onClick: a[0] || (a[0] = (...u) => r.toggleEmit && r.toggleEmit(...u))
|
|
6217
6217
|
}, null, 2);
|
|
6218
6218
|
}
|
|
6219
|
-
const we = /* @__PURE__ */ T(
|
|
6219
|
+
const we = /* @__PURE__ */ T(ot, [["render", rt], ["__scopeId", "data-v-a128c2fa"]]), st = {
|
|
6220
6220
|
name: "SSO",
|
|
6221
6221
|
mixins: [Q, $, G, z],
|
|
6222
6222
|
data() {
|
|
@@ -6259,23 +6259,23 @@ const we = /* @__PURE__ */ T(rt, [["render", st], ["__scopeId", "data-v-a128c2fa
|
|
|
6259
6259
|
this.toggle = !this.toggle;
|
|
6260
6260
|
}
|
|
6261
6261
|
}
|
|
6262
|
-
},
|
|
6262
|
+
}, ct = (e) => (O("data-v-256337c2"), e = e(), B(), e), lt = /* @__PURE__ */ ct(() => /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
|
|
6263
6263
|
/* @__PURE__ */ i("img", {
|
|
6264
6264
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6265
6265
|
class: "responsive-image",
|
|
6266
6266
|
style: { width: "45%" }
|
|
6267
6267
|
})
|
|
6268
|
-
], -1)),
|
|
6269
|
-
|
|
6270
|
-
],
|
|
6268
|
+
], -1)), dt = [
|
|
6269
|
+
lt
|
|
6270
|
+
], pt = { class: "bold center-text color-black half-top half-bottom" }, ut = ["placeholder"], _t = {
|
|
6271
6271
|
type: "submit",
|
|
6272
6272
|
class: "button black-button white-button button-full",
|
|
6273
6273
|
style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
|
|
6274
|
-
},
|
|
6274
|
+
}, mt = { key: 0 }, gt = {
|
|
6275
6275
|
key: 1,
|
|
6276
6276
|
class: "button--loading button__loader"
|
|
6277
6277
|
};
|
|
6278
|
-
function
|
|
6278
|
+
function ht(e, a, n, o, t, r) {
|
|
6279
6279
|
return c(), l("form", {
|
|
6280
6280
|
onSubmit: a[3] || (a[3] = y((...u) => r.submit && r.submit(...u), ["prevent"])),
|
|
6281
6281
|
class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": t.toggle }]),
|
|
@@ -6285,8 +6285,8 @@ function ft(e, a, n, o, t, r) {
|
|
|
6285
6285
|
onClick: a[0] || (a[0] = (...u) => r.forceClose && r.forceClose(...u)),
|
|
6286
6286
|
class: "color-black pull-right pointer",
|
|
6287
6287
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6288
|
-
},
|
|
6289
|
-
i("h3",
|
|
6288
|
+
}, dt),
|
|
6289
|
+
i("h3", pt, p(e.ssoLang[e.appLang].enter_company_email), 1),
|
|
6290
6290
|
i("div", null, [
|
|
6291
6291
|
k(i("input", {
|
|
6292
6292
|
type: "text",
|
|
@@ -6301,16 +6301,16 @@ function ft(e, a, n, o, t, r) {
|
|
|
6301
6301
|
required: "",
|
|
6302
6302
|
onKeydown: a[2] || (a[2] = E(y(() => {
|
|
6303
6303
|
}, ["prevent"]), ["space"]))
|
|
6304
|
-
}, null, 40,
|
|
6304
|
+
}, null, 40, ut), [
|
|
6305
6305
|
[x, t.email]
|
|
6306
6306
|
])
|
|
6307
6307
|
]),
|
|
6308
|
-
i("button",
|
|
6309
|
-
t.loading ? (c(), l("span",
|
|
6308
|
+
i("button", _t, [
|
|
6309
|
+
t.loading ? (c(), l("span", gt)) : (c(), l("span", mt, p(e.ssoLang[e.appLang].continue), 1))
|
|
6310
6310
|
])
|
|
6311
6311
|
], 34);
|
|
6312
6312
|
}
|
|
6313
|
-
const ze = /* @__PURE__ */ T(
|
|
6313
|
+
const ze = /* @__PURE__ */ T(st, [["render", ht], ["__scopeId", "data-v-256337c2"]]), ft = {
|
|
6314
6314
|
name: "SSOPick",
|
|
6315
6315
|
mixins: [Q, $, G, z],
|
|
6316
6316
|
data() {
|
|
@@ -6345,34 +6345,34 @@ const ze = /* @__PURE__ */ T(ct, [["render", ft], ["__scopeId", "data-v-256337c2
|
|
|
6345
6345
|
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;
|
|
6346
6346
|
}
|
|
6347
6347
|
}
|
|
6348
|
-
}, W = (e) => (O("data-v-33bfb54b"), e = e(), B(), e),
|
|
6348
|
+
}, W = (e) => (O("data-v-33bfb54b"), e = e(), B(), e), vt = /* @__PURE__ */ W(() => /* @__PURE__ */ i("i", { class: "font-17 color-black" }, [
|
|
6349
6349
|
/* @__PURE__ */ i("img", {
|
|
6350
6350
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6351
6351
|
class: "responsive-image",
|
|
6352
6352
|
style: { width: "45%" }
|
|
6353
6353
|
})
|
|
6354
|
-
], -1)),
|
|
6355
|
-
|
|
6356
|
-
],
|
|
6354
|
+
], -1)), kt = [
|
|
6355
|
+
vt
|
|
6356
|
+
], bt = { class: "bold center-text color-black half-top half-bottom" }, yt = /* @__PURE__ */ W(() => /* @__PURE__ */ i("img", {
|
|
6357
6357
|
src: "https://cdn.tapni.co/icons/azure.png",
|
|
6358
6358
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6359
|
-
}, null, -1)),
|
|
6359
|
+
}, null, -1)), wt = { key: 0 }, zt = {
|
|
6360
6360
|
key: 1,
|
|
6361
6361
|
class: "button--loading button__loader"
|
|
6362
|
-
},
|
|
6362
|
+
}, Lt = /* @__PURE__ */ W(() => /* @__PURE__ */ i("img", {
|
|
6363
6363
|
src: "https://cdn.tapni.co/icons/okta.png",
|
|
6364
6364
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6365
|
-
}, null, -1)), Ct = { key: 0 },
|
|
6365
|
+
}, null, -1)), Ct = { key: 0 }, St = {
|
|
6366
6366
|
key: 1,
|
|
6367
6367
|
class: "button--loading button__loader"
|
|
6368
|
-
},
|
|
6368
|
+
}, Tt = /* @__PURE__ */ W(() => /* @__PURE__ */ i("img", {
|
|
6369
6369
|
src: "https://cdn.tapni.co/icons/saml.png",
|
|
6370
6370
|
style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
|
|
6371
|
-
}, null, -1)),
|
|
6371
|
+
}, null, -1)), jt = { key: 0 }, Pt = {
|
|
6372
6372
|
key: 1,
|
|
6373
6373
|
class: "button--loading button__loader"
|
|
6374
6374
|
};
|
|
6375
|
-
function
|
|
6375
|
+
function At(e, a, n, o, t, r) {
|
|
6376
6376
|
var u, s, _;
|
|
6377
6377
|
return c(), l("form", {
|
|
6378
6378
|
onSubmit: a[4] || (a[4] = y(() => {
|
|
@@ -6384,35 +6384,35 @@ function It(e, a, n, o, t, r) {
|
|
|
6384
6384
|
onClick: a[0] || (a[0] = (...L) => r.forceClose && r.forceClose(...L)),
|
|
6385
6385
|
class: "color-black pull-right pointer",
|
|
6386
6386
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6387
|
-
},
|
|
6388
|
-
i("h3",
|
|
6387
|
+
}, kt),
|
|
6388
|
+
i("h3", bt, p(e.ssoLang[e.appLang].select_sign_method), 1),
|
|
6389
6389
|
(u = t.sso) != null && u.azure ? (c(), l("a", {
|
|
6390
6390
|
key: 0,
|
|
6391
6391
|
onClick: a[1] || (a[1] = (L) => r.ssoLogin("azure")),
|
|
6392
6392
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6393
6393
|
}, [
|
|
6394
|
-
|
|
6395
|
-
t.azureLoad ? (c(), l("span",
|
|
6394
|
+
yt,
|
|
6395
|
+
t.azureLoad ? (c(), l("span", zt)) : (c(), l("span", wt, p(e.ssoLang[e.appLang].sign_in_with) + " Azure", 1))
|
|
6396
6396
|
])) : h("", !0),
|
|
6397
6397
|
(s = t.sso) != null && s.okta ? (c(), l("a", {
|
|
6398
6398
|
key: 1,
|
|
6399
6399
|
onClick: a[2] || (a[2] = (L) => r.ssoLogin("okta")),
|
|
6400
6400
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6401
6401
|
}, [
|
|
6402
|
-
|
|
6403
|
-
t.oktaLoad ? (c(), l("span",
|
|
6402
|
+
Lt,
|
|
6403
|
+
t.oktaLoad ? (c(), l("span", St)) : (c(), l("span", Ct, p(e.ssoLang[e.appLang].sign_in_with) + " Okta", 1))
|
|
6404
6404
|
])) : h("", !0),
|
|
6405
6405
|
(_ = t.sso) != null && _.saml ? (c(), l("a", {
|
|
6406
6406
|
key: 2,
|
|
6407
6407
|
onClick: a[3] || (a[3] = (L) => r.ssoLogin("saml")),
|
|
6408
6408
|
class: "button-center button black-button button-90 google-button pointer"
|
|
6409
6409
|
}, [
|
|
6410
|
-
|
|
6411
|
-
t.samlLoad ? (c(), l("span",
|
|
6410
|
+
Tt,
|
|
6411
|
+
t.samlLoad ? (c(), l("span", Pt)) : (c(), l("span", jt, p(e.ssoLang[e.appLang].sign_in_with) + " SAML", 1))
|
|
6412
6412
|
])) : h("", !0)
|
|
6413
6413
|
], 34);
|
|
6414
6414
|
}
|
|
6415
|
-
const Le = /* @__PURE__ */ T(
|
|
6415
|
+
const Le = /* @__PURE__ */ T(ft, [["render", At], ["__scopeId", "data-v-33bfb54b"]]), It = {
|
|
6416
6416
|
name: "LinkIcon",
|
|
6417
6417
|
mixins: [z],
|
|
6418
6418
|
props: {
|
|
@@ -6484,8 +6484,8 @@ const Le = /* @__PURE__ */ T(vt, [["render", It], ["__scopeId", "data-v-33bfb54b
|
|
|
6484
6484
|
}
|
|
6485
6485
|
},
|
|
6486
6486
|
methods: {}
|
|
6487
|
-
},
|
|
6488
|
-
function
|
|
6487
|
+
}, Et = ["src", "alt"], xt = ["src", "alt"], qt = ["src", "alt"], Mt = ["src", "alt"];
|
|
6488
|
+
function Rt(e, a, n, o, t, r) {
|
|
6489
6489
|
var u, s;
|
|
6490
6490
|
return c(), l("a", {
|
|
6491
6491
|
class: b(["disable-select", n.linkStyle + (n.disabled ? " opacity-50" : "")]),
|
|
@@ -6508,21 +6508,21 @@ function Nt(e, a, n, o, t, r) {
|
|
|
6508
6508
|
alt: n.data.text,
|
|
6509
6509
|
onLoad: a[0] || (a[0] = (_) => e.$emit("loaded")),
|
|
6510
6510
|
onError: a[1] || (a[1] = (_) => e.$emit("loaded"))
|
|
6511
|
-
}, null, 40,
|
|
6511
|
+
}, null, 40, Et)) : !n.data.custom_icon && n.data.type === "customlink" && n.linkAdding ? (c(), l("img", {
|
|
6512
6512
|
key: 1,
|
|
6513
6513
|
src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
|
|
6514
6514
|
class: "responsive-image",
|
|
6515
6515
|
alt: n.data.text,
|
|
6516
6516
|
onLoad: a[2] || (a[2] = (_) => e.$emit("loaded")),
|
|
6517
6517
|
onError: a[3] || (a[3] = (_) => e.$emit("loaded"))
|
|
6518
|
-
}, null, 40,
|
|
6518
|
+
}, null, 40, xt)) : !n.data.custom_icon && n.data.type === "customlink" && !n.linkAdding ? (c(), l("img", {
|
|
6519
6519
|
key: 2,
|
|
6520
6520
|
src: "https://cdn.tapni.co/icons/customlink.png",
|
|
6521
6521
|
class: "responsive-image",
|
|
6522
6522
|
alt: n.data.text,
|
|
6523
6523
|
onLoad: a[4] || (a[4] = (_) => e.$emit("loaded")),
|
|
6524
6524
|
onError: a[5] || (a[5] = (_) => e.$emit("loaded"))
|
|
6525
|
-
}, null, 40,
|
|
6525
|
+
}, null, 40, qt)) : (c(), l("img", {
|
|
6526
6526
|
key: 3,
|
|
6527
6527
|
src: n.data.style.custom_icon,
|
|
6528
6528
|
style: { "border-radius": "22.46%" },
|
|
@@ -6530,7 +6530,7 @@ function Nt(e, a, n, o, t, r) {
|
|
|
6530
6530
|
alt: n.data.text,
|
|
6531
6531
|
onLoad: a[6] || (a[6] = (_) => e.$emit("loaded")),
|
|
6532
6532
|
onError: a[7] || (a[7] = (_) => e.$emit("loaded"))
|
|
6533
|
-
}, null, 40,
|
|
6533
|
+
}, null, 40, Mt))
|
|
6534
6534
|
], 6),
|
|
6535
6535
|
i("span", {
|
|
6536
6536
|
class: "link-text link-drag color-black",
|
|
@@ -6538,17 +6538,17 @@ function Nt(e, a, n, o, t, r) {
|
|
|
6538
6538
|
}, p(r.linkText), 5)
|
|
6539
6539
|
], 6);
|
|
6540
6540
|
}
|
|
6541
|
-
const
|
|
6541
|
+
const Nt = /* @__PURE__ */ T(It, [["render", Rt]]), Vt = {
|
|
6542
6542
|
ANDROID_VERSION: "5.6",
|
|
6543
6543
|
IOS_VERSION: "5.6",
|
|
6544
6544
|
WEB_VERSION: "5.6.0",
|
|
6545
6545
|
SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
|
|
6546
6546
|
METAPIXEL_ID: "1203678696914368",
|
|
6547
6547
|
GOOGLE_ANALYTICS_ID: ""
|
|
6548
|
-
},
|
|
6548
|
+
}, Ot = {
|
|
6549
6549
|
name: "Language",
|
|
6550
6550
|
mixins: [z],
|
|
6551
|
-
components: { LinkIcon:
|
|
6551
|
+
components: { LinkIcon: Nt },
|
|
6552
6552
|
data() {
|
|
6553
6553
|
return {
|
|
6554
6554
|
toggle: !1
|
|
@@ -6559,7 +6559,7 @@ const Vt = /* @__PURE__ */ T(Et, [["render", Nt]]), Ot = {
|
|
|
6559
6559
|
this.toggle = !1;
|
|
6560
6560
|
});
|
|
6561
6561
|
let e = this.isNative ? await H.getLanguageCode() : N.getFirstBrowserLanguage();
|
|
6562
|
-
e &&
|
|
6562
|
+
e && Vt.SUPPORTED_LANGUAGES.includes(e) && this.updateLanguage(e);
|
|
6563
6563
|
},
|
|
6564
6564
|
beforeDestroy() {
|
|
6565
6565
|
d._events.toggleLanguageModal.pop();
|
|
@@ -6578,16 +6578,16 @@ const Vt = /* @__PURE__ */ T(Et, [["render", Nt]]), Ot = {
|
|
|
6578
6578
|
this.toggle = !this.toggle;
|
|
6579
6579
|
}
|
|
6580
6580
|
}
|
|
6581
|
-
},
|
|
6581
|
+
}, Bt = (e) => (O("data-v-e5a7ac07"), e = e(), B(), e), Dt = /* @__PURE__ */ Bt(() => /* @__PURE__ */ i("i", { class: "font-17 fa color-black" }, [
|
|
6582
6582
|
/* @__PURE__ */ i("img", {
|
|
6583
6583
|
src: "https://cdn.tapni.co/icons/down-arrow.png",
|
|
6584
6584
|
class: "fa responsive-image",
|
|
6585
6585
|
style: { width: "45%" }
|
|
6586
6586
|
})
|
|
6587
|
-
], -1)),
|
|
6588
|
-
|
|
6589
|
-
],
|
|
6590
|
-
function
|
|
6587
|
+
], -1)), Ut = [
|
|
6588
|
+
Dt
|
|
6589
|
+
], Kt = { class: "bold center-text color-black small-bottom" };
|
|
6590
|
+
function Ht(e, a, n, o, t, r) {
|
|
6591
6591
|
const u = V("LinkIcon");
|
|
6592
6592
|
return c(), l("div", {
|
|
6593
6593
|
class: b(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": t.toggle }]),
|
|
@@ -6597,8 +6597,8 @@ function Ft(e, a, n, o, t, r) {
|
|
|
6597
6597
|
onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
|
|
6598
6598
|
class: "color-black pull-right pointer",
|
|
6599
6599
|
style: { "margin-top": "5px", position: "absolute", right: "5px" }
|
|
6600
|
-
},
|
|
6601
|
-
i("h3",
|
|
6600
|
+
}, Ut),
|
|
6601
|
+
i("h3", Kt, p(e.ssoLang[e.appLang].app_language), 1),
|
|
6602
6602
|
v(u, {
|
|
6603
6603
|
onClick: a[1] || (a[1] = (s) => r.updateLanguage("en")),
|
|
6604
6604
|
"link-style": "link-grid",
|
|
@@ -6657,38 +6657,38 @@ function Ft(e, a, n, o, t, r) {
|
|
|
6657
6657
|
}, null, 8, ["data"])
|
|
6658
6658
|
], 2);
|
|
6659
6659
|
}
|
|
6660
|
-
const
|
|
6661
|
-
var
|
|
6662
|
-
const
|
|
6660
|
+
const Ce = /* @__PURE__ */ T(Ot, [["render", Ht], ["__scopeId", "data-v-e5a7ac07"]]);
|
|
6661
|
+
var Ft = { 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 };
|
|
6662
|
+
const Qt = { id: "ssoapp" }, $t = {
|
|
6663
6663
|
key: 0,
|
|
6664
6664
|
href: "/",
|
|
6665
6665
|
class: "header-logo"
|
|
6666
|
-
},
|
|
6666
|
+
}, Gt = /* @__PURE__ */ i("img", {
|
|
6667
6667
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAC1CAYAAACppQ33AAAhq0lEQVR42uydCZxWVfnHnxlAdkVQXAABIZHcE1ERcClcSS3/Y5oZppZammVm/jV3XNJscdck11ywNMncF0pUBNM0EVBEXBBUVGQTEJien+d5c4CZYd557z33nHt/38/n+QzM8t6z3fOc5VlESFJsrHKAyuUqM1UuYJMQQkhqbKjyHZVbVF5RWayyXOUzlYUqM1TGq5yp0r+pH1pTUyO1tbV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Qif5Yrntwj9kU0RPSUlDef+HzUFIWNBtjRBCCKFCJ4QQQggVOiGEEEKo0AkhhBBChU4IIYRQoRNCCCGECp0QQgghCdKyU6dObAWSGgsWLJBly5axIUgqtGvXTlq3bi21tYxhQypn/vz50r59+2jL33Lq1KnsRZI4VVVV0rJlS9l7771lwoQJbBCSCiNHjpTjjjtO5s1juH5SOVgYtm3bNl6F3rVrV/YiSY1WrVqxEUhqdOzYUdq0afO5EFJ0eIdOCCGEUKETQgghhAqdEEIIIVTohBBCCKFCJ4QQQqjQCSGEEEKFTgghhBAqdEIIIYRQoRNCCCFU6IQQQgihQieEEEIIFTohhBBCqNAJIYQQKnRCCCGEUKETQgghhAqdEEIIIVTohBBCCBU6IYQQQqjQCSGEEEKFTgghhBAqdEIIIYQKnRBCCCFU6IQQQgihQieEEEIIFTohhBBChU4IIYSQWGjJJiDEK7UpfW5Vip9NCImA/wowALqv7GXv+J+kAAAAAElFTkSuQmCC",
|
|
6668
6668
|
onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
|
|
6669
6669
|
class: "header-logo-img"
|
|
6670
|
-
}, null, -1),
|
|
6671
|
-
|
|
6672
|
-
],
|
|
6670
|
+
}, null, -1), Wt = [
|
|
6671
|
+
Gt
|
|
6672
|
+
], Yt = { class: "lang-icon" }, Xt = {
|
|
6673
6673
|
class: "snackbar snackbar-boxed",
|
|
6674
6674
|
id: "snackbar"
|
|
6675
|
-
},
|
|
6675
|
+
}, Zt = {
|
|
6676
6676
|
class: "snack-body",
|
|
6677
6677
|
id: "errorSnack"
|
|
6678
|
-
},
|
|
6678
|
+
}, Jt = { id: "errorMessage" }, eo = /* @__PURE__ */ i("img", {
|
|
6679
6679
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
6680
6680
|
style: { width: "100%" }
|
|
6681
|
-
}, null, -1),
|
|
6682
|
-
|
|
6683
|
-
],
|
|
6681
|
+
}, null, -1), ao = [
|
|
6682
|
+
eo
|
|
6683
|
+
], no = {
|
|
6684
6684
|
class: "snack-body",
|
|
6685
6685
|
id: "successSnack"
|
|
6686
|
-
},
|
|
6686
|
+
}, io = { id: "successMessage" }, to = /* @__PURE__ */ i("img", {
|
|
6687
6687
|
src: "https://cdn.tapni.co/icons/notification-close.png",
|
|
6688
6688
|
style: { width: "100%" }
|
|
6689
|
-
}, null, -1),
|
|
6690
|
-
|
|
6691
|
-
],
|
|
6689
|
+
}, null, -1), oo = [
|
|
6690
|
+
to
|
|
6691
|
+
], ro = {
|
|
6692
6692
|
name: "TapniAuth",
|
|
6693
6693
|
mixins: [z, ne],
|
|
6694
6694
|
data() {
|
|
@@ -6697,7 +6697,7 @@ const $t = { id: "ssoapp" }, Gt = {
|
|
|
6697
6697
|
};
|
|
6698
6698
|
},
|
|
6699
6699
|
components: {
|
|
6700
|
-
Language:
|
|
6700
|
+
Language: Ce,
|
|
6701
6701
|
SSOPick: Le,
|
|
6702
6702
|
SSO: ze,
|
|
6703
6703
|
ModalOverlay: we,
|
|
@@ -6723,11 +6723,18 @@ const $t = { id: "ssoapp" }, Gt = {
|
|
|
6723
6723
|
},
|
|
6724
6724
|
methods: {
|
|
6725
6725
|
async init() {
|
|
6726
|
-
|
|
6727
|
-
|
|
6726
|
+
if (await this.initializeStorage({
|
|
6727
|
+
realm: "",
|
|
6728
|
+
token: "",
|
|
6729
|
+
refreshTokens: "",
|
|
6730
|
+
username: "",
|
|
6731
|
+
UserId: "",
|
|
6732
|
+
verifyEmail: "",
|
|
6733
|
+
subdomain: ""
|
|
6734
|
+
}), this.storage && this.storage.token && this.storage.refreshTokens) {
|
|
6728
6735
|
this.setToken(this.storage.token);
|
|
6729
|
-
const
|
|
6730
|
-
this.setRefreshToken(
|
|
6736
|
+
const e = this.getRefreshTokens();
|
|
6737
|
+
this.setRefreshToken(e[0]), this.getLoggedInAccounts();
|
|
6731
6738
|
}
|
|
6732
6739
|
this.initialized = !0, this.$emit("ssoLibraryReady");
|
|
6733
6740
|
},
|
|
@@ -6749,23 +6756,23 @@ const $t = { id: "ssoapp" }, Gt = {
|
|
|
6749
6756
|
this.applyBgStyle();
|
|
6750
6757
|
}
|
|
6751
6758
|
}
|
|
6752
|
-
},
|
|
6759
|
+
}, so = /* @__PURE__ */ Object.assign(ro, {
|
|
6753
6760
|
setup(e) {
|
|
6754
6761
|
return document.addEventListener("DOMContentLoaded", function() {
|
|
6755
6762
|
const a = document.createElement("script");
|
|
6756
|
-
a.src = `https://www.google.com/recaptcha/api.js?render=${
|
|
6757
|
-
}), (a, n) => (c(), l("div",
|
|
6758
|
-
a.display === "redirect" ? (c(), l("a",
|
|
6763
|
+
a.src = `https://www.google.com/recaptcha/api.js?render=${Ft.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(a);
|
|
6764
|
+
}), (a, n) => (c(), l("div", Qt, [
|
|
6765
|
+
a.display === "redirect" ? (c(), l("a", $t, Wt)) : h("", !0),
|
|
6759
6766
|
a.display === "redirect" ? (c(), l("a", {
|
|
6760
6767
|
key: 1,
|
|
6761
6768
|
onClick: n[0] || (n[0] = (...o) => a.toggleLanguageModal && a.toggleLanguageModal(...o)),
|
|
6762
6769
|
class: "font-18 no-border pointer color-black",
|
|
6763
6770
|
style: { position: "absolute", right: "20px", top: "-10px" }
|
|
6764
6771
|
}, [
|
|
6765
|
-
i("span",
|
|
6772
|
+
i("span", Yt, p(a.appLang.toUpperCase()), 1)
|
|
6766
6773
|
])) : h("", !0),
|
|
6767
6774
|
v(we),
|
|
6768
|
-
v(
|
|
6775
|
+
v(Ce),
|
|
6769
6776
|
v(ze),
|
|
6770
6777
|
v(Le),
|
|
6771
6778
|
a.initialized && a.renderView === "AuthWelcome" ? (c(), P(_e, { key: 2 })) : a.initialized && a.renderView === "AuthLogin" ? (c(), P(fe, {
|
|
@@ -6778,29 +6785,29 @@ const $t = { id: "ssoapp" }, Gt = {
|
|
|
6778
6785
|
key: 5,
|
|
6779
6786
|
isModal: e.isModal
|
|
6780
6787
|
}, 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 })),
|
|
6781
|
-
i("div",
|
|
6782
|
-
i("p",
|
|
6783
|
-
i("span",
|
|
6788
|
+
i("div", Xt, [
|
|
6789
|
+
i("p", Zt, [
|
|
6790
|
+
i("span", Jt, p(a.ssoLang[a.appLang].error), 1),
|
|
6784
6791
|
i("a", {
|
|
6785
6792
|
onClick: n[1] || (n[1] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
|
|
6786
6793
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
6787
|
-
},
|
|
6794
|
+
}, ao)
|
|
6788
6795
|
]),
|
|
6789
|
-
i("p",
|
|
6790
|
-
i("span",
|
|
6796
|
+
i("p", no, [
|
|
6797
|
+
i("span", io, p(a.ssoLang[a.appLang].success), 1),
|
|
6791
6798
|
i("a", {
|
|
6792
6799
|
onClick: n[2] || (n[2] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
|
|
6793
6800
|
style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
|
|
6794
|
-
},
|
|
6801
|
+
}, oo)
|
|
6795
6802
|
])
|
|
6796
6803
|
])
|
|
6797
6804
|
]));
|
|
6798
6805
|
}
|
|
6799
|
-
}),
|
|
6806
|
+
}), Lo = {
|
|
6800
6807
|
install: (e, a) => {
|
|
6801
|
-
e.component("TapniAuth",
|
|
6808
|
+
e.component("TapniAuth", so);
|
|
6802
6809
|
}
|
|
6803
6810
|
};
|
|
6804
6811
|
export {
|
|
6805
|
-
|
|
6812
|
+
Lo as default
|
|
6806
6813
|
};
|