@tapni/auth 0.0.47 → 0.0.49

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.
@@ -1,186 +1,186 @@
1
- import { reactive as Ce, readonly as Te, resolveComponent as V, openBlock as c, createElementBlock as l, createElementVNode as t, toDisplayString as d, 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 w, normalizeStyle as R, withDirectives as k, withKeys as E, vModelText as x, vModelDynamic as K, vShow as I, createBlock as P, normalizeClass as b, unref as Pe } from "vue";
2
- import { RouterView as Ae } from "vue-router";
3
- import g from "await-to-js";
4
- import Y from "axios";
5
- import { jwtDecode as te } from "jwt-decode";
6
- import { Device as $ } from "@capacitor/device";
7
- import { Capacitor as D } from "@capacitor/core";
8
- import { GoogleAuth as ee } from "@codetrix-studio/capacitor-google-auth";
9
- import { FacebookLogin as Ie } from "@capacitor-community/facebook-login";
10
- import { SignInWithApple as Ee } from "@capacitor-community/apple-sign-in";
11
- import { MsAuthPlugin as xe } from "@recognizebv/capacitor-plugin-msauth";
12
- import { Browser as H } from "@capacitor/browser";
13
- import qe from "qr-code-styling";
14
- import { sanitizeUrl as Me } from "@braintree/sanitize-url";
1
+ import { reactive as Qn, readonly as Gn, resolveComponent as de, openBlock as f, createElementBlock as k, createElementVNode as c, toDisplayString as v, createCommentVNode as T, createVNode as j, withCtx as G, createTextVNode as I, pushScopeId as pe, popScopeId as ue, createStaticVNode as Wn, nextTick as We, withModifiers as U, normalizeStyle as ce, withDirectives as B, withKeys as te, vModelText as ae, vModelDynamic as fe, vShow as J, createBlock as Y, normalizeClass as R, unref as Yn } from "vue";
2
+ import { RouterView as Xn } from "vue-router";
3
+ import L from "await-to-js";
4
+ import Be from "axios";
5
+ import { jwtDecode as Je } from "jwt-decode";
6
+ import { Device as ke } from "@capacitor/device";
7
+ import { Capacitor as me } from "@capacitor/core";
8
+ import { GoogleAuth as Ye } from "@codetrix-studio/capacitor-google-auth";
9
+ import { FacebookLogin as Zn } from "@capacitor-community/facebook-login";
10
+ import { SignInWithApple as Jn } from "@capacitor-community/apple-sign-in";
11
+ import { MsAuthPlugin as et } from "@recognizebv/capacitor-plugin-msauth";
12
+ import { Browser as be } from "@capacitor/browser";
13
+ import nt from "qr-code-styling";
14
+ import { sanitizeUrl as tt } from "@braintree/sanitize-url";
15
15
  import "@tapni/capacitor-reactive-localstorage-vue3";
16
- const Re = "0.0.47", m = (e, a = !1) => {
17
- const n = Re;
18
- let o = "https://api.tapni.co/v1/";
19
- location.hostname.includes("dev.") && (o = "https://api-dev.tapni.co/v1/");
20
- let i = Y.create({
21
- baseURL: o,
16
+ const at = "0.0.49", z = (e, t = !1) => {
17
+ const r = at;
18
+ let u = "https://api.tapni.co/v1/";
19
+ location.hostname.includes("dev.") && (u = "https://api-dev.tapni.co/v1/");
20
+ let l = Be.create({
21
+ baseURL: u,
22
22
  headers: {
23
23
  Authorization: `Bearer ${e.token}`,
24
- "X-Client-Name": "sso-" + n.platform,
25
- "X-Client-Version": n.version
24
+ "X-Client-Name": "sso-" + r.platform,
25
+ "X-Client-Version": r.version
26
26
  }
27
27
  });
28
- return i.interceptors.request.use(async function(r) {
29
- if (["post", "put", "delete"].includes(r.method.toLowerCase()) ? r.data = {
30
- ...r.data,
28
+ return l.interceptors.request.use(async function(d) {
29
+ if (["post", "put", "delete"].includes(d.method.toLowerCase()) ? d.data = {
30
+ ...d.data,
31
31
  lang: e.appLanguage,
32
32
  realm: e.realm || "app"
33
- } : r.method.toLowerCase() === "get" && (r.params = {
34
- ...r.params,
33
+ } : d.method.toLowerCase() === "get" && (d.params = {
34
+ ...d.params,
35
35
  lang: e.appLanguage,
36
36
  realm: e.realm || "app"
37
- }), e.token && !a) {
38
- const p = te(e.token);
39
- if (p.exp - 30 < Math.floor(Date.now() / 1e3))
40
- return z.methods.refreshTokenAction(p).then(() => (r.headers = {
41
- ...r.headers,
37
+ }), e.token && !t) {
38
+ const h = Je(e.token);
39
+ if (h.exp - 30 < Math.floor(Date.now() / 1e3))
40
+ return D.methods.refreshTokenAction(h).then(() => (d.headers = {
41
+ ...d.headers,
42
42
  Authorization: `Bearer ${e.token}`
43
- }, r));
43
+ }, d));
44
44
  }
45
- return r;
46
- }), i;
47
- }, M = {
45
+ return d;
46
+ }), l;
47
+ }, re = {
48
48
  getMe() {
49
- return m(storage).get("/users/me");
49
+ return z(storage).get("/users/me");
50
50
  },
51
- getByUsername(e, a) {
52
- let n = document.referrer || "", o = e.utmParams || {};
53
- return e.dontTap && (o.dontTap = !0), m(a).get(`/users/${e.username}`, {
54
- params: o,
55
- headers: { "X-Referer": n }
51
+ getByUsername(e, t) {
52
+ let r = document.referrer || "", u = e.utmParams || {};
53
+ return e.dontTap && (u.dontTap = !0), z(t).get(`/users/${e.username}`, {
54
+ params: u,
55
+ headers: { "X-Referer": r }
56
56
  });
57
57
  },
58
- getByNumber(e, a) {
59
- let n = document.referrer || "", o = e.utmParams || {};
60
- return e.dontTap && (o.dontTap = !0), m(a).get(`/users/tag/${e.serial}`, {
61
- params: o,
62
- headers: { "X-Referer": n }
58
+ getByNumber(e, t) {
59
+ let r = document.referrer || "", u = e.utmParams || {};
60
+ return e.dontTap && (u.dontTap = !0), z(t).get(`/users/tag/${e.serial}`, {
61
+ params: u,
62
+ headers: { "X-Referer": r }
63
63
  });
64
64
  },
65
- save(e, a) {
66
- return m(a).put("/users", e);
65
+ save(e, t) {
66
+ return z(t).put("/users", e);
67
67
  },
68
- newPassword(e, a) {
69
- return m(a).put("/users/new-password", e);
68
+ newPassword(e, t) {
69
+ return z(t).put("/users/new-password", e);
70
70
  },
71
- connect(e, a) {
72
- return m(a).post("/users/connect", e);
71
+ connect(e, t) {
72
+ return z(t).post("/users/connect", e);
73
73
  },
74
- eventLog(e, a) {
75
- return m(a).post("/users/log", e);
74
+ eventLog(e, t) {
75
+ return z(t).post("/users/log", e);
76
76
  },
77
- deleteAccount(e, a) {
78
- return m(a).post("/users/profile/delete", e);
77
+ deleteAccount(e, t) {
78
+ return z(t).post("/users/profile/delete", e);
79
79
  },
80
- registerDevice(e, a) {
81
- return m(a).post("/users/device/register", e);
80
+ registerDevice(e, t) {
81
+ return z(t).post("/users/device/register", e);
82
82
  },
83
- addFcmToken(e, a) {
84
- return m(a).post("/users/device/fcm", e);
83
+ addFcmToken(e, t) {
84
+ return z(t).post("/users/device/fcm", e);
85
85
  },
86
- loginUsingQR(e, a) {
87
- return m(a).post("/users/qr/login", e);
86
+ loginUsingQR(e, t) {
87
+ return z(t).post("/users/qr/login", e);
88
88
  }
89
- }, ae = {
90
- registerDevice(e, a) {
91
- return m(a).post("/devices/add", e);
89
+ }, Xe = {
90
+ registerDevice(e, t) {
91
+ return z(t).post("/devices/add", e);
92
92
  },
93
- addFcmToken(e, a) {
94
- return m(a).post("/devices/fcm/add", e);
93
+ addFcmToken(e, t) {
94
+ return z(t).post("/devices/fcm/add", e);
95
95
  }
96
96
  };
97
- let S;
98
- $.getId().then((e) => S = e.uuid);
99
- const y = {
100
- register(e, a) {
101
- return e.device_id = S, m(a).post("/users/register", e);
97
+ let F;
98
+ ke.getId().then((e) => F = e.uuid);
99
+ const N = {
100
+ register(e, t) {
101
+ return e.device_id = F, z(t).post("/users/register", e);
102
102
  },
103
- login(e, a) {
104
- return e.device_id = S, m(a).post("/users/login", e);
103
+ login(e, t) {
104
+ return e.device_id = F, z(t).post("/users/login", e);
105
105
  },
106
- logout(e, a) {
107
- return e.device_id = S, m(a).post("/users/logout", e);
106
+ logout(e, t) {
107
+ return e.device_id = F, z(t).post("/users/logout", e);
108
108
  },
109
- refreshToken(e, a) {
110
- return m(a, !0).get(`/users/refresh-token?UserId=${e.id}&token=${e.refreshToken}`);
109
+ refreshToken(e, t) {
110
+ return z(t, !0).get(`/users/refresh-token?UserId=${e.id}&token=${e.refreshToken}`);
111
111
  },
112
- getLoggedInAccounts(e, a) {
113
- return m(a).post("/users/tokens", e);
112
+ getLoggedInAccounts(e, t) {
113
+ return z(t).post("/users/tokens", e);
114
114
  },
115
- sendResetEmail(e, a) {
116
- return e.device_id = S, m(a).post("/users/reset", e);
115
+ sendResetEmail(e, t) {
116
+ return e.device_id = F, z(t).post("/users/reset", e);
117
117
  },
118
- changePassword(e, a) {
119
- return m(a).put("/users/password", e, {
118
+ changePassword(e, t) {
119
+ return z(t).put("/users/password", e, {
120
120
  headers: { Authorization: "Bearer " + e.token }
121
121
  });
122
122
  },
123
- verify(e, a) {
124
- return m(a).get("/users/verify?c=" + e.code + "&e=" + e.email + "&captchatoken=" + e.captchaToken);
123
+ verify(e, t) {
124
+ return z(t).get("/users/verify?c=" + e.code + "&e=" + e.email + "&captchatoken=" + e.captchaToken);
125
125
  },
126
126
  googleUrl(e) {
127
- return m(e).get("/users/google/url");
127
+ return z(e).get("/users/google/url");
128
128
  },
129
- google(e, a) {
130
- return e.device_id = S, m(a).post("/users/google", e);
129
+ google(e, t) {
130
+ return e.device_id = F, z(t).post("/users/google", e);
131
131
  },
132
- facebook(e, a) {
133
- return e.device_id = S, m(a).post("/users/facebook", e);
132
+ facebook(e, t) {
133
+ return e.device_id = F, z(t).post("/users/facebook", e);
134
134
  },
135
- googleSDK(e, a) {
136
- return e.device_id = S, m(a).post("/users/google/sdk", e);
135
+ googleSDK(e, t) {
136
+ return e.device_id = F, z(t).post("/users/google/sdk", e);
137
137
  },
138
- facebookSDK(e, a) {
139
- return e.device_id = S, m(a).post("/users/facebook/sdk", e);
138
+ facebookSDK(e, t) {
139
+ return e.device_id = F, z(t).post("/users/facebook/sdk", e);
140
140
  },
141
- appleSDK(e, a) {
142
- return e.device_id = S, m(a).post("/users/apple/sdk", e);
141
+ appleSDK(e, t) {
142
+ return e.device_id = F, z(t).post("/users/apple/sdk", e);
143
143
  },
144
- microsoftSDK(e, a) {
145
- return e.device_id = S, m(a).post("/users/microsoft/sdk", e);
144
+ microsoftSDK(e, t) {
145
+ return e.device_id = F, z(t).post("/users/microsoft/sdk", e);
146
146
  },
147
- oktaSDK(e, a) {
148
- return e.device_id = S, m(a).post("/users/okta/sdk", e);
147
+ oktaSDK(e, t) {
148
+ return e.device_id = F, z(t).post("/users/okta/sdk", e);
149
149
  },
150
- samlLoginUrl(e, a) {
151
- return m(a).post("/saml/url", e);
150
+ samlLoginUrl(e, t) {
151
+ return z(t).post("/saml/url", e);
152
152
  },
153
- exchangeAuthCode(e, a) {
154
- return m(a).post("/v1/users/auth-code", e);
153
+ exchangeAuthCode(e, t) {
154
+ return z(t).post("/v1/users/auth-code", e);
155
155
  }
156
- }, X = {
157
- getBySSOEmail(e, a) {
158
- return m(a).get(`/company/sso/${e}`);
156
+ }, xe = {
157
+ getBySSOEmail(e, t) {
158
+ return z(t).get(`/company/sso/${e}`);
159
159
  },
160
- acceptCompanyInvitation(e, a) {
161
- return m(a).get(`/users/invitation?ic=${e}`);
160
+ acceptCompanyInvitation(e, t) {
161
+ return z(t).get(`/users/invitation?ic=${e}`);
162
162
  },
163
- qrCodePooling(e, a) {
164
- return m(a).post("/company/login/qr", e);
163
+ qrCodePooling(e, t) {
164
+ return z(t).post("/company/login/qr", e);
165
165
  }
166
- }, U = Ce(/* @__PURE__ */ new Map()), u = {
167
- $on(e, a) {
168
- let n = U.get(e);
169
- n || (n = /* @__PURE__ */ new Set(), U.set(e, n)), n.add(a);
166
+ }, he = Qn(/* @__PURE__ */ new Map()), y = {
167
+ $on(e, t) {
168
+ let r = he.get(e);
169
+ r || (r = /* @__PURE__ */ new Set(), he.set(e, r)), r.add(t);
170
170
  },
171
- $emit(e, ...a) {
172
- const n = U.get(e);
173
- if (n)
174
- for (const o of n)
175
- o(...a);
171
+ $emit(e, ...t) {
172
+ const r = he.get(e);
173
+ if (r)
174
+ for (const u of r)
175
+ u(...t);
176
176
  },
177
- $off(e, a) {
178
- const n = U.get(e);
179
- n && n.delete(a);
177
+ $off(e, t) {
178
+ const r = he.get(e);
179
+ r && r.delete(t);
180
180
  }
181
181
  };
182
- Te(u);
183
- const ie = {
182
+ Gn(y);
183
+ const en = {
184
184
  state: {
185
185
  english: "English",
186
186
  spanish: "Spanish",
@@ -637,7 +637,7 @@ const ie = {
637
637
  choose_other_login_methods: "Choose other login methods",
638
638
  no_sso_logins: "Your company does not use SSO login, please contact your administrator"
639
639
  }
640
- }, oe = {
640
+ }, nn = {
641
641
  state: {
642
642
  english: "Englisch",
643
643
  spanish: "Spanisch",
@@ -1089,7 +1089,7 @@ const ie = {
1089
1089
  choose_other_login_methods: "Wählen Sie andere Anmeldeverfahren",
1090
1090
  no_sso_logins: "Ihr Unternehmen verwendet keine SSO-Anmeldung. Bitte wenden Sie sich an Ihren Administrator"
1091
1091
  }
1092
- }, re = {
1092
+ }, tn = {
1093
1093
  state: {
1094
1094
  english: "Inglés",
1095
1095
  spanish: "Español",
@@ -1545,7 +1545,7 @@ const ie = {
1545
1545
  choose_other_login_methods: "Elige otros métodos de inicio de sesión",
1546
1546
  no_sso_logins: "Su empresa no utiliza el inicio de sesión SSO. Comuníquese con su administrador"
1547
1547
  }
1548
- }, se = {
1548
+ }, an = {
1549
1549
  state: {
1550
1550
  english: "Anglais",
1551
1551
  spanish: "Espagnol",
@@ -2003,7 +2003,7 @@ Il n'y a aucun lien dans votre profil.`,
2003
2003
  choose_other_login_methods: "Choisissez d'autres méthodes de connexion",
2004
2004
  no_sso_logins: "Votre entreprise n'utilise pas de login SSO, veuillez contacter votre administrateur"
2005
2005
  }
2006
- }, ce = {
2006
+ }, on = {
2007
2007
  state: {
2008
2008
  english: "Inglese",
2009
2009
  spanish: "Spagnolo",
@@ -2456,7 +2456,7 @@ Il n'y a aucun lien dans votre profil.`,
2456
2456
  choose_other_login_methods: "Scegli altri metodi di accesso",
2457
2457
  no_sso_logins: "La tua azienda non utilizza l'accesso SSO, contatta il tuo amministratore"
2458
2458
  }
2459
- }, le = {
2459
+ }, rn = {
2460
2460
  state: {
2461
2461
  english: "Engleski",
2462
2462
  spanish: "Španski",
@@ -2901,7 +2901,7 @@ Il n'y a aucun lien dans votre profil.`,
2901
2901
  choose_other_login_methods: "Izaberite druge metode prijavljivanja",
2902
2902
  no_sso_logins: "Vaša kompanija ne koristi SSO prijavu, kontaktirajte svog administratora"
2903
2903
  }
2904
- }, de = {
2904
+ }, sn = {
2905
2905
  state: {
2906
2906
  english: "İngilizce",
2907
2907
  spanish: "İspanyolca",
@@ -3351,7 +3351,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
3351
3351
  choose_other_login_methods: "Diğer giriş yöntemlerini seçin",
3352
3352
  no_sso_logins: "Şirketiniz SSO girişini kullanmıyor, lütfen yöneticinizle iletişime geçin"
3353
3353
  }
3354
- }, Ne = {
3354
+ }, it = {
3355
3355
  state: {
3356
3356
  english: "英文",
3357
3357
  spanish: "西班牙文",
@@ -3799,7 +3799,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
3799
3799
  choose_other_login_methods: "选择其他登录方法",
3800
3800
  no_sso_logins: "您的公司不使用 SSO 登录。 请联系您的管理员"
3801
3801
  }
3802
- }, pe = {
3802
+ }, cn = {
3803
3803
  state: {
3804
3804
  english: "영어",
3805
3805
  spanish: "스페인어",
@@ -4256,13 +4256,13 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
4256
4256
  choose_other_login_methods: "다른 로그인 방법 선택하기",
4257
4257
  no_sso_logins: "귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오."
4258
4258
  }
4259
- }, Ve = {
4259
+ }, ot = {
4260
4260
  computed: {
4261
4261
  home() {
4262
- return this.$storage.token && this.$storage.username ? "/" + this.$storage.username : "/welcome";
4262
+ return this.$storage && this.$storage.token && this.$storage.username ? "/" + this.$storage.username : "/welcome";
4263
4263
  },
4264
4264
  isAndroid() {
4265
- return /Android/i.test(navigator.userAgent) || D.getPlatform() === "android";
4265
+ return /Android/i.test(navigator.userAgent) || me.getPlatform() === "android";
4266
4266
  },
4267
4267
  isiOS() {
4268
4268
  return [
@@ -4272,10 +4272,10 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
4272
4272
  "iPad",
4273
4273
  "iPhone",
4274
4274
  "iPod"
4275
- ].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || D.getPlatform() === "ios";
4275
+ ].includes(navigator.platform) || navigator.userAgent.includes("Mac") && "ontouchend" in document || me.getPlatform() === "ios";
4276
4276
  },
4277
4277
  isNative() {
4278
- return D.isNativePlatform();
4278
+ return me.isNativePlatform();
4279
4279
  }
4280
4280
  },
4281
4281
  methods: {
@@ -4283,15 +4283,15 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
4283
4283
  return e && e.response && e.response.data && e.response.data.error && ((e.response.data.error === "ACCESS_DENIED" || e.response.data.error === "TOKEN_EXPIRED") && this.logout(), !e.response.data.error.includes("Network Error") && !e.response.data.error.includes("Cannot read properties") && this.errorSnack(e.response.data.error)), e;
4284
4284
  },
4285
4285
  errorSnack(e) {
4286
- let a = document.getElementById("snackbar"), n = document.getElementById("errorMessage"), o = document.getElementById("errorSnack");
4287
- n.innerHTML = e, a.classList.add("show-snack"), o.classList.add("active-snack"), setTimeout(function() {
4288
- o.classList.remove("active-snack"), a.classList.remove("show-snack");
4286
+ let t = document.getElementById("snackbar"), r = document.getElementById("errorMessage"), u = document.getElementById("errorSnack");
4287
+ r.innerHTML = e, t.classList.add("show-snack"), u.classList.add("active-snack"), setTimeout(function() {
4288
+ u.classList.remove("active-snack"), t.classList.remove("show-snack");
4289
4289
  }, 3e3);
4290
4290
  },
4291
4291
  successSnack(e) {
4292
- let a = document.getElementById("snackbar"), n = document.getElementById("successMessage"), o = document.getElementById("successSnack");
4293
- n.innerHTML = e, a.classList.add("show-snack"), o.classList.add("active-snack"), setTimeout(function() {
4294
- o.classList.remove("active-snack"), a.classList.remove("show-snack");
4292
+ let t = document.getElementById("snackbar"), r = document.getElementById("successMessage"), u = document.getElementById("successSnack");
4293
+ r.innerHTML = e, t.classList.add("show-snack"), u.classList.add("active-snack"), setTimeout(function() {
4294
+ u.classList.remove("active-snack"), t.classList.remove("show-snack");
4295
4295
  }, 3e3);
4296
4296
  },
4297
4297
  closeSnacks() {
@@ -4304,28 +4304,28 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
4304
4304
  isEmpty(e) {
4305
4305
  if (!e)
4306
4306
  return !0;
4307
- for (let a in e)
4308
- if (e.hasOwnProperty(a))
4307
+ for (let t in e)
4308
+ if (e.hasOwnProperty(t))
4309
4309
  return !1;
4310
4310
  return JSON.stringify(e) === JSON.stringify({});
4311
4311
  },
4312
4312
  /** Copy string to clipboard */
4313
4313
  copy(e = "") {
4314
- const a = document.createElement("textarea");
4315
- a.value = e, a.setAttribute("readonly", ""), a.style.position = "absolute", a.style.left = "-9999px", document.body.appendChild(a), a.select(), document.execCommand("copy"), document.body.removeChild(a), this.successSnack(this.ssoLang[this.appLanguage].copied);
4314
+ const t = document.createElement("textarea");
4315
+ t.value = e, t.setAttribute("readonly", ""), t.style.position = "absolute", t.style.left = "-9999px", document.body.appendChild(t), t.select(), document.execCommand("copy"), document.body.removeChild(t), this.successSnack(this.ssoLang[this.appLanguage].copied);
4316
4316
  },
4317
4317
  async getCaptchaToken(e) {
4318
4318
  try {
4319
4319
  return await window.grecaptcha.execute("6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", { action: e });
4320
- } catch (a) {
4321
- return console.log(a), null;
4320
+ } catch (t) {
4321
+ return console.log(t), null;
4322
4322
  }
4323
4323
  }
4324
4324
  }
4325
4325
  };
4326
- var Oe = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
4327
- const z = {
4328
- mixins: [Ve],
4326
+ var rt = { 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 };
4327
+ const D = {
4328
+ mixins: [ot],
4329
4329
  data() {
4330
4330
  return {
4331
4331
  appLanguage: "en",
@@ -4337,15 +4337,15 @@ const z = {
4337
4337
  device: {},
4338
4338
  loggedInAccounts: {},
4339
4339
  ssoLang: {
4340
- en: ie.state,
4341
- de: oe.state,
4342
- es: re.state,
4343
- fr: se.state,
4344
- it: ce.state,
4345
- sr: le.state,
4346
- tr: de.state,
4347
- cn: Ne.state,
4348
- kr: pe.state
4340
+ en: en.state,
4341
+ de: nn.state,
4342
+ es: tn.state,
4343
+ fr: an.state,
4344
+ it: on.state,
4345
+ sr: rn.state,
4346
+ tr: sn.state,
4347
+ cn: it.state,
4348
+ kr: cn.state
4349
4349
  },
4350
4350
  display: "npm",
4351
4351
  redirect_uri: "https://t.link/callback/auth",
@@ -4381,7 +4381,7 @@ const z = {
4381
4381
  }
4382
4382
  },
4383
4383
  mounted() {
4384
- 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), u.$on("updateLang", this.updateLang), Oe.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
4384
+ 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), y.$on("updateLang", this.updateLang), rt.NODE_ENV === "development" && (this.allowedOrigins.push("http://localhost:8082"), this.allowedOrigins.push("http://localhost:7777"), this.allowedOrigins.push("http://localhost:5173"));
4385
4385
  },
4386
4386
  methods: {
4387
4387
  errorHandler(e) {
@@ -4393,61 +4393,61 @@ const z = {
4393
4393
  return e;
4394
4394
  },
4395
4395
  errorSnack(e) {
4396
- let a = document.getElementById("snackbar"), n = document.getElementById("errorMessage"), o = document.getElementById("errorSnack");
4397
- n.innerHTML = e, a.classList.add("show-snack"), o.classList.add("active-snack"), setTimeout(function() {
4398
- o.classList.remove("active-snack"), a.classList.remove("show-snack");
4396
+ let t = document.getElementById("snackbar"), r = document.getElementById("errorMessage"), u = document.getElementById("errorSnack");
4397
+ r.innerHTML = e, t.classList.add("show-snack"), u.classList.add("active-snack"), setTimeout(function() {
4398
+ u.classList.remove("active-snack"), t.classList.remove("show-snack");
4399
4399
  }, 3e3);
4400
4400
  },
4401
4401
  successSnack(e) {
4402
- let a = document.getElementById("snackbar"), n = document.getElementById("successMessage"), o = document.getElementById("successSnack");
4403
- n.innerHTML = e, a.classList.add("show-snack"), o.classList.add("active-snack"), setTimeout(function() {
4404
- o.classList.remove("active-snack"), a.classList.remove("show-snack");
4402
+ let t = document.getElementById("snackbar"), r = document.getElementById("successMessage"), u = document.getElementById("successSnack");
4403
+ r.innerHTML = e, t.classList.add("show-snack"), u.classList.add("active-snack"), setTimeout(function() {
4404
+ u.classList.remove("active-snack"), t.classList.remove("show-snack");
4405
4405
  }, 3e3);
4406
4406
  },
4407
4407
  closeSnacks() {
4408
4408
  document.getElementById("snackbar").classList.remove("show-snack"), document.getElementById("successSnack").classList.remove("active-snack"), document.getElementById("errorSnack").classList.remove("active-snack");
4409
4409
  },
4410
4410
  async eventLog(e) {
4411
- const [a, n] = await g(
4412
- M.eventLog(e, this.$storage)
4411
+ const [t, r] = await L(
4412
+ re.eventLog(e, this.$storage)
4413
4413
  );
4414
- return a ? this.errorHandler(a) : n;
4414
+ return t ? this.errorHandler(t) : r;
4415
4415
  },
4416
4416
  async maintenance() {
4417
- const [e, a] = await g(
4418
- Y.get("https://status.tapni.co/data/maintenance.json")
4417
+ const [e, t] = await L(
4418
+ Be.get("https://status.tapni.co/data/maintenance.json")
4419
4419
  );
4420
4420
  if (e)
4421
4421
  return console.error(e);
4422
- if (a) {
4423
- let n = a.data;
4424
- typeof a.data == "string" && (n = JSON.parse(a.data)), n.api && n.api.maintenanceActive && (location.href = "https://t.link/maintenance?msg=" + n.api.msg);
4422
+ if (t) {
4423
+ let r = t.data;
4424
+ typeof t.data == "string" && (r = JSON.parse(t.data)), r.api && r.api.maintenanceActive && (location.href = "https://t.link/maintenance?msg=" + r.api.msg);
4425
4425
  }
4426
4426
  },
4427
4427
  async getUser(e) {
4428
4428
  if (e) {
4429
- let a, n;
4430
- if (e.username ? [a, n] = await g(
4431
- M.getByUsername(e, this.$storage)
4432
- ) : e.serial && ([a, n] = await g(
4433
- M.getByNumber(e, this.$storage)
4434
- )), a)
4435
- return this.errorHandler(a);
4436
- if (n.data.success) {
4437
- if (!n.data.user && n.data.showDemoProfile) {
4429
+ let t, r;
4430
+ if (e.username ? [t, r] = await L(
4431
+ re.getByUsername(e, this.$storage)
4432
+ ) : e.serial && ([t, r] = await L(
4433
+ re.getByNumber(e, this.$storage)
4434
+ )), t)
4435
+ return this.errorHandler(t);
4436
+ if (r.data.success) {
4437
+ if (!r.data.user && r.data.showDemoProfile) {
4438
4438
  if (this.isLoggedIn)
4439
4439
  throw this.$router.push("/tags#activate"), new Error("Activate the tag");
4440
- return this.$router.push("/" + n.data.showDemoProfile);
4440
+ return this.$router.push("/" + r.data.showDemoProfile);
4441
4441
  }
4442
- !n.data.user && e.login && this.logout(), this.registerLang(
4443
- n.data.user ? n.data.user.ssoLang : "en"
4444
- ), this.setUser(n.data.user);
4442
+ !r.data.user && e.login && this.logout(), this.registerLang(
4443
+ r.data.user ? r.data.user.ssoLang : "en"
4444
+ ), this.setUser(r.data.user);
4445
4445
  }
4446
4446
  }
4447
4447
  },
4448
4448
  async loginSetup(e) {
4449
- var a, n;
4450
- 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.appLanguage && u.$emit("ssoEvent", {
4449
+ var t, r;
4450
+ e.data.refreshToken && this.setRefreshToken(e.data.refreshToken), e.data.token && this.setToken(e.data.token), ((r = (t = e.data) == null ? void 0 : t.data) == null ? void 0 : r.ssoLang) !== this.appLanguage && y.$emit("ssoEvent", {
4451
4451
  name: "saveProfile",
4452
4452
  data: { lang: this.appLanguage, username: e.data.data.username }
4453
4453
  }), 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([
@@ -4460,147 +4460,147 @@ const z = {
4460
4460
  ]);
4461
4461
  },
4462
4462
  async refreshTokenAction(e) {
4463
- const [a, n] = await g(
4464
- y.refreshToken({
4463
+ const [t, r] = await L(
4464
+ N.refreshToken({
4465
4465
  id: e.id,
4466
4466
  refreshToken: this.refreshToken,
4467
4467
  refreshTokenAction: !0
4468
4468
  }, this.$storage)
4469
4469
  );
4470
- if (a && a.response && a.response.data.error === "ACCESS_DENIED")
4470
+ if (t && t.response && t.response.data.error === "ACCESS_DENIED")
4471
4471
  return this.logout(!1), location.reload();
4472
- n && n.data ? this.setToken(n.data.token) : console.error("Invalid response setToken");
4472
+ r && r.data ? this.setToken(r.data.token) : console.error("Invalid response setToken");
4473
4473
  },
4474
4474
  async login(e) {
4475
- const [a, n] = await g(y.login(e, this.$storage));
4476
- if (a)
4477
- return this.errorHandler(a);
4478
- if (n.data.success)
4479
- return this.display === "npm" && (this.loginSetup({ ...n, isModal: e.isModal }), this.getLoggedInAccounts()), this.loginSuccess({ ...n, isModal: e.isModal }), !0;
4475
+ const [t, r] = await L(N.login(e, this.$storage));
4476
+ if (t)
4477
+ return this.errorHandler(t);
4478
+ if (r.data.success)
4479
+ return this.display === "npm" && (this.loginSetup({ ...r, isModal: e.isModal }), this.getLoggedInAccounts()), this.loginSuccess({ ...r, isModal: e.isModal }), !0;
4480
4480
  },
4481
4481
  loginSuccess(e) {
4482
4482
  if (this.display === "redirect") {
4483
4483
  if (this.redirect_uri && !this.allowedOrigins.some(
4484
- (a) => this.redirect_uri.startsWith(a)
4484
+ (t) => this.redirect_uri.startsWith(t)
4485
4485
  ))
4486
4486
  return console.log("Redirect URI not allowed");
4487
4487
  location.href = this.redirect_uri + "?code=" + e.data.auth_code + "&state=" + this.state;
4488
4488
  } else
4489
- this.display === "popup" ? this.allowedOrigins.forEach((a) => {
4490
- var n;
4491
- (n = window.parent) == null || n.postMessage(
4489
+ this.display === "popup" ? this.allowedOrigins.forEach((t) => {
4490
+ var r;
4491
+ (r = window.parent) == null || r.postMessage(
4492
4492
  { code: e.data.auth_code, state: this.$route.query.state },
4493
- a
4493
+ t
4494
4494
  );
4495
- }) : this.display === "npm" && (u.$emit("ssoEvent", { name: "setLoading", data: !0 }), u.$emit("ssoEvent", { name: "getUser", data: { login: !0, username: e.data.data.username } }), e.isModal && (u.$emit("closeModal"), this.successSnack(this.ssoLang[this.appLanguage].success_login)), this.$router.push("/" + e.data.data.username + "#edit"));
4495
+ }) : this.display === "npm" && (y.$emit("ssoEvent", { name: "setLoading", data: !0 }), y.$emit("ssoEvent", { name: "getUser", data: { login: !0, username: e.data.data.username } }), e.isModal && (y.$emit("closeModal"), this.successSnack(this.ssoLang[this.appLanguage].success_login)), this.$router.push("/" + e.data.data.username + "#edit"));
4496
4496
  },
4497
4497
  async register(e) {
4498
- const [a, n] = await g(
4499
- y.register(e, this.$storage)
4498
+ const [t, r] = await L(
4499
+ N.register(e, this.$storage)
4500
4500
  );
4501
- return a ? this.errorHandler(a) : n;
4501
+ return t ? this.errorHandler(t) : r;
4502
4502
  },
4503
4503
  async verify(e) {
4504
- const [a, n] = await g(y.verify(e, this.$storage));
4505
- return a ? this.errorHandler(a) : n;
4504
+ const [t, r] = await L(N.verify(e, this.$storage));
4505
+ return t ? this.errorHandler(t) : r;
4506
4506
  },
4507
4507
  async reset(e) {
4508
- const [a, n] = await g(
4509
- y.sendResetEmail(e, this.$storage)
4508
+ const [t, r] = await L(
4509
+ N.sendResetEmail(e, this.$storage)
4510
4510
  );
4511
- if (a)
4512
- return this.errorHandler(a);
4513
- n.data.success && this.successSnack(this.ssoLang[this.appLanguage].password_reset_success);
4511
+ if (t)
4512
+ return this.errorHandler(t);
4513
+ r.data.success && this.successSnack(this.ssoLang[this.appLanguage].password_reset_success);
4514
4514
  },
4515
4515
  async exchangeAuthCode(e) {
4516
- const [a, n] = await g(y.exchangeAuthCode(e, this.storage));
4517
- if (a)
4518
- return this.errorHandler(a);
4519
- await this.loginSetup(n), await this.getLoggedInAccounts(), this.loginSuccess(n);
4516
+ const [t, r] = await L(N.exchangeAuthCode(e, this.storage));
4517
+ if (t)
4518
+ return this.errorHandler(t);
4519
+ await this.loginSetup(r), await this.getLoggedInAccounts(), this.loginSuccess(r);
4520
4520
  },
4521
4521
  async changePassword(e) {
4522
- const [a, n] = await g(
4523
- y.changePassword(e, this.$storage)
4522
+ const [t, r] = await L(
4523
+ N.changePassword(e, this.$storage)
4524
4524
  );
4525
- return a ? this.errorHandler(a) : n.data.success;
4525
+ return t ? this.errorHandler(t) : r.data.success;
4526
4526
  },
4527
4527
  async newPassword(e) {
4528
- const [a, n] = await g(
4529
- M.newPassword(e, this.$storage)
4528
+ const [t, r] = await L(
4529
+ re.newPassword(e, this.$storage)
4530
4530
  );
4531
- return a ? this.errorHandler(a) : n.data.success;
4531
+ return t ? this.errorHandler(t) : r.data.success;
4532
4532
  },
4533
4533
  async deleteAccount(e) {
4534
- const [a, n] = await g(
4535
- M.deleteAccount(e, this.$storage)
4534
+ const [t, r] = await L(
4535
+ re.deleteAccount(e, this.$storage)
4536
4536
  );
4537
- return a ? this.errorHandler(a) : n.data.success;
4537
+ return t ? this.errorHandler(t) : r.data.success;
4538
4538
  },
4539
4539
  async registerDevice() {
4540
- const e = await $.getId(), a = await $.getInfo();
4541
- let n = {
4540
+ const e = await ke.getId(), t = await ke.getInfo();
4541
+ let r = {
4542
4542
  device_id: e.uuid,
4543
- platform: a.platform,
4543
+ platform: t.platform,
4544
4544
  device_info: {
4545
- model: a.model,
4546
- manufacturer: a.manufacturer,
4547
- operatingSystem: a.operatingSystem,
4548
- osVersion: a.osVersion,
4549
- isVirtual: a.isVirtual,
4550
- webViewVersion: a.webViewVersion
4545
+ model: t.model,
4546
+ manufacturer: t.manufacturer,
4547
+ operatingSystem: t.operatingSystem,
4548
+ osVersion: t.osVersion,
4549
+ isVirtual: t.isVirtual,
4550
+ webViewVersion: t.webViewVersion
4551
4551
  }
4552
4552
  };
4553
- const [o, i] = await g(
4554
- ae.registerDevice(n, this.$storage)
4553
+ const [u, l] = await L(
4554
+ Xe.registerDevice(r, this.$storage)
4555
4555
  );
4556
- return o ? this.errorHandler(o) : i;
4556
+ return u ? this.errorHandler(u) : l;
4557
4557
  },
4558
4558
  async addFcmToken(e) {
4559
- const [a, n] = await g(
4560
- ae.addFcmToken(e, this.$storage)
4559
+ const [t, r] = await L(
4560
+ Xe.addFcmToken(e, this.$storage)
4561
4561
  );
4562
- return a ? this.errorHandler(a) : n;
4562
+ return t ? this.errorHandler(t) : r;
4563
4563
  },
4564
4564
  async acceptCompanyInvitation(e) {
4565
- const [a, n] = await g(
4566
- X.acceptCompanyInvitation(e, this.$storage)
4565
+ const [t, r] = await L(
4566
+ xe.acceptCompanyInvitation(e, this.$storage)
4567
4567
  );
4568
- return a ? this.errorHandler(a) : n;
4568
+ return t ? this.errorHandler(t) : r;
4569
4569
  },
4570
4570
  async logout(e = !0) {
4571
- e && y.logout({ token: this.refreshToken }, this.$storage), this.$storage.username = "", this.$storage.ssoUser = "", this.$storage.UserId = "", this.setLoggedInUserId(""), this.setToken(""), this.setRefreshToken(""), this.refreshToken ? Object.keys(this.loggedInAccounts).forEach((a) => {
4572
- this.loggedInAccounts[a].refreshToken === this.refreshToken && this.refreshTokenAction({
4573
- id: this.loggedInAccounts[a].id
4574
- }).then(() => (this.setLoggedInUserId(this.loggedInAccounts[a].id), this.$storage.username = a, this.$storage.UserId = this.loggedInAccounts[a].id, this.getLoggedInAccounts(), this.$router.push("/" + a)));
4571
+ e && N.logout({ token: this.refreshToken }, this.$storage), this.$storage.username = "", this.$storage.ssoUser = "", this.$storage.UserId = "", this.setLoggedInUserId(""), this.setToken(""), this.setRefreshToken(""), this.refreshToken ? Object.keys(this.loggedInAccounts).forEach((t) => {
4572
+ this.loggedInAccounts[t].refreshToken === this.refreshToken && this.refreshTokenAction({
4573
+ id: this.loggedInAccounts[t].id
4574
+ }).then(() => (this.setLoggedInUserId(this.loggedInAccounts[t].id), this.$storage.username = t, this.$storage.UserId = this.loggedInAccounts[t].id, this.getLoggedInAccounts(), this.$router.push("/" + t)));
4575
4575
  }) : this.setUser(null), await this.$router.push("/welcome");
4576
4576
  },
4577
4577
  async getCompanyBySSOEmail(e) {
4578
- const [a, n] = await g(
4579
- X.getBySSOEmail(e.email, this.$storage)
4578
+ const [t, r] = await L(
4579
+ xe.getBySSOEmail(e.email, this.$storage)
4580
4580
  );
4581
- if (a)
4582
- return this.errorHandler(a);
4583
- if (n.data.success)
4584
- return n.data;
4581
+ if (t)
4582
+ return this.errorHandler(t);
4583
+ if (r.data.success)
4584
+ return r.data;
4585
4585
  },
4586
4586
  async getLoggedInAccounts() {
4587
- const e = this.getRefreshTokens(), [a, n] = await g(
4588
- y.getLoggedInAccounts({ refreshTokens: e }, this.$storage)
4587
+ const e = this.getRefreshTokens(), [t, r] = await L(
4588
+ N.getLoggedInAccounts({ refreshTokens: e }, this.$storage)
4589
4589
  );
4590
- if (a)
4591
- return this.errorHandler(a);
4592
- n.data.success && this.setLoggedInAccounts(n.data.accounts);
4590
+ if (t)
4591
+ return this.errorHandler(t);
4592
+ r.data.success && this.setLoggedInAccounts(r.data.accounts);
4593
4593
  },
4594
4594
  async loginUsingQR(e) {
4595
- const [a, n] = await g(
4596
- M.loginUsingQR(e, this.$storage)
4595
+ const [t, r] = await L(
4596
+ re.loginUsingQR(e, this.$storage)
4597
4597
  );
4598
- return a ? this.errorHandler(a) : n.data.success;
4598
+ return t ? this.errorHandler(t) : r.data.success;
4599
4599
  },
4600
4600
  setLoggedInAccounts(e) {
4601
- this.loggedInAccounts = {}, e.forEach((a) => {
4602
- this.loggedInAccounts[a.username] = a;
4603
- }), u.$emit("ssoEvent", { name: "setLoggedInAccounts", data: e });
4601
+ this.loggedInAccounts = {}, e.forEach((t) => {
4602
+ this.loggedInAccounts[t.username] = t;
4603
+ }), y.$emit("ssoEvent", { name: "setLoggedInAccounts", data: e });
4604
4604
  },
4605
4605
  setLoggedInUserId(e) {
4606
4606
  this.loggedInUserId = e;
@@ -4612,11 +4612,11 @@ const z = {
4612
4612
  return this.$storage.refreshTokens.split(",");
4613
4613
  },
4614
4614
  setRefreshToken(e) {
4615
- let a = this.getRefreshTokens();
4616
- 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(","), u.$emit("ssoEvent", { name: "setRefreshToken", data: e });
4615
+ let t = this.getRefreshTokens();
4616
+ e && !t.includes(e) ? t.unshift(e) : t = t.filter((r) => r !== this.refreshToken), t.length >= 1 ? this.refreshToken = t[0] : this.refreshToken = e, this.$storage.refreshTokens = t.join(","), y.$emit("ssoEvent", { name: "setRefreshToken", data: e });
4617
4617
  },
4618
4618
  setToken(e) {
4619
- this.$storage.token = e, this.token = e, u.$emit("ssoEvent", { name: "setToken", data: e });
4619
+ this.$storage.token = e, this.token = e, y.$emit("ssoEvent", { name: "setToken", data: e });
4620
4620
  },
4621
4621
  setUserID(e) {
4622
4622
  this.$storage.UserId = e;
@@ -4633,14 +4633,14 @@ const z = {
4633
4633
  deep: !0
4634
4634
  }
4635
4635
  }
4636
- }, T = (e, a) => {
4637
- const n = e.__vccOpts || e;
4638
- for (const [o, i] of a)
4639
- n[o] = i;
4640
- return n;
4641
- }, Be = {
4636
+ }, $ = (e, t) => {
4637
+ const r = e.__vccOpts || e;
4638
+ for (const [u, l] of t)
4639
+ r[u] = l;
4640
+ return r;
4641
+ }, st = {
4642
4642
  name: "AuthWelcome",
4643
- mixins: [z],
4643
+ mixins: [D],
4644
4644
  data() {
4645
4645
  return {
4646
4646
  loading: !0
@@ -4649,32 +4649,32 @@ const z = {
4649
4649
  async mounted() {
4650
4650
  let e = document.getElementById("tapniVideo");
4651
4651
  e.addEventListener("canplay", function() {
4652
- document.body.contains(e) && e.play().catch((a) => {
4653
- console.log("Play was interrupted:", a);
4652
+ document.body.contains(e) && e.play().catch((t) => {
4653
+ console.log("Play was interrupted:", t);
4654
4654
  });
4655
4655
  }), setTimeout(() => {
4656
- this.$storage.token ? this.$router.push(this.home) : u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4657
- }, 1500), u.$emit("ssoEvent", { name: "setInitialize", data: !0 });
4656
+ this.$storage.token ? this.$router.push(this.home) : y.$emit("ssoEvent", { name: "setLoading", data: !1 });
4657
+ }, 1500), y.$emit("ssoEvent", { name: "setInitialize", data: !0 });
4658
4658
  },
4659
4659
  methods: {}
4660
- }, ue = (e) => (O("data-v-c5cb659c"), e = e(), B(), e), De = {
4660
+ }, ln = (e) => (pe("data-v-c5cb659c"), e = e(), ue(), e), ct = {
4661
4661
  class: "page-login content-boxed content-boxed-padding center-text",
4662
4662
  style: { "margin-top": "-1px", overflow: "hidden", border: "solid 0px #ffffff" }
4663
- }, Ue = ["autoplay"], Ke = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("source", {
4663
+ }, lt = ["autoplay"], dt = /* @__PURE__ */ ln(() => /* @__PURE__ */ c("source", {
4664
4664
  src: "https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",
4665
4665
  type: "video/mp4"
4666
- }, null, -1)), $e = [
4667
- Ke
4668
- ], 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" }, Ge = /* @__PURE__ */ ue(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), We = {
4666
+ }, null, -1)), pt = [
4667
+ dt
4668
+ ], ut = { class: "bold full-top no-bottom center-text" }, _t = { class: "full-bottom half-top center-text color-black font-16" }, mt = { class: "page-login-links center-text" }, gt = /* @__PURE__ */ ln(() => /* @__PURE__ */ c("div", { class: "clear" }, null, -1)), ht = {
4669
4669
  key: 2,
4670
4670
  style: { display: "flex", "flex-direction": "row", "justify-content": "space-around", width: "90%", margin: "0 auto", "margin-top": "40px" }
4671
- }, Xe = /* @__PURE__ */ je('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-c5cb659c><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-c5cb659c></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-c5cb659c><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-c5cb659c></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-c5cb659c><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-c5cb659c></a>', 3), Ye = [
4672
- Xe
4671
+ }, ft = /* @__PURE__ */ Wn('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-c5cb659c><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-c5cb659c></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-c5cb659c><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-c5cb659c></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-c5cb659c><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-c5cb659c></a>', 3), kt = [
4672
+ ft
4673
4673
  ];
4674
- function Ze(e, a, n, o, i, r) {
4675
- const p = V("router-link");
4676
- return c(), l("div", De, [
4677
- t("video", {
4674
+ function bt(e, t, r, u, l, d) {
4675
+ const h = de("router-link");
4676
+ return f(), k("div", ct, [
4677
+ c("video", {
4678
4678
  id: "tapniVideo",
4679
4679
  muted: "",
4680
4680
  loop: "",
@@ -4682,35 +4682,35 @@ function Ze(e, a, n, o, i, r) {
4682
4682
  width: "350",
4683
4683
  style: { margin: "0 auto", "max-width": "100%", "margin-top": "63px", overflow: "hidden" },
4684
4684
  autoplay: e.isNative
4685
- }, $e, 8, Ue),
4686
- t("h1", He, d(e.ssoLang[this.appLanguage].welcome), 1),
4687
- t("p", Fe, d(e.ssoLang[this.appLanguage].welcome_p1), 1),
4688
- h("", !0),
4689
- h("", !0),
4690
- v(p, {
4685
+ }, pt, 8, lt),
4686
+ c("h1", ut, v(e.ssoLang[this.appLanguage].welcome), 1),
4687
+ c("p", _t, v(e.ssoLang[this.appLanguage].welcome_p1), 1),
4688
+ T("", !0),
4689
+ T("", !0),
4690
+ j(h, {
4691
4691
  to: "register",
4692
4692
  exact: "",
4693
4693
  class: "button-center button button-90 google-button bg-tapni-grey pointer"
4694
4694
  }, {
4695
- default: j(() => [
4696
- t("span", null, d(e.ssoLang[this.appLanguage].create_account), 1)
4695
+ default: G(() => [
4696
+ c("span", null, v(e.ssoLang[this.appLanguage].create_account), 1)
4697
4697
  ]),
4698
4698
  _: 1
4699
4699
  }),
4700
- t("div", Qe, [
4701
- v(p, { to: "/login" }, {
4702
- default: j(() => [
4703
- f(d(e.ssoLang[this.appLanguage].already_registered) + "? ", 1),
4704
- t("b", null, d(e.ssoLang[this.appLanguage].sign_in), 1)
4700
+ c("div", mt, [
4701
+ j(h, { to: "/login" }, {
4702
+ default: G(() => [
4703
+ I(v(e.ssoLang[this.appLanguage].already_registered) + "? ", 1),
4704
+ c("b", null, v(e.ssoLang[this.appLanguage].sign_in), 1)
4705
4705
  ]),
4706
4706
  _: 1
4707
4707
  }),
4708
- Ge
4708
+ gt
4709
4709
  ]),
4710
- this.isNative ? h("", !0) : (c(), l("div", We, Ye))
4710
+ this.isNative ? T("", !0) : (f(), k("div", ht, kt))
4711
4711
  ]);
4712
4712
  }
4713
- const _e = /* @__PURE__ */ T(Be, [["render", Ze], ["__scopeId", "data-v-c5cb659c"]]), me = {
4713
+ const dn = /* @__PURE__ */ $(st, [["render", bt], ["__scopeId", "data-v-c5cb659c"]]), pn = {
4714
4714
  data() {
4715
4715
  return {
4716
4716
  googleLoad: !1
@@ -4718,35 +4718,35 @@ const _e = /* @__PURE__ */ T(Be, [["render", Ze], ["__scopeId", "data-v-c5cb659c
4718
4718
  },
4719
4719
  computed: {
4720
4720
  displayGoogleLogin() {
4721
- var e, a;
4722
- return (((a = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : a.google_login) && !this.isModal) ?? !0;
4721
+ var e, t;
4722
+ return (((t = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : t.google_login) && !this.isModal) ?? !0;
4723
4723
  }
4724
4724
  },
4725
4725
  mounted() {
4726
- ee.initialize();
4726
+ Ye.initialize();
4727
4727
  },
4728
4728
  methods: {
4729
4729
  async googleLogin() {
4730
- var n;
4730
+ var r;
4731
4731
  this.googleLoad = !0;
4732
- let [e, a] = await g(ee.signIn());
4732
+ let [e, t] = await L(Ye.signIn());
4733
4733
  if (e)
4734
4734
  return this.googleLoad = !1;
4735
- if (this.referral && (a.ref = this.referral), a.authentication && (a.authentication.accessToken || a.authentication.idToken)) {
4736
- this.referral && (a.ref = this.referral), this.display === "popup" && (a.response_type = "code");
4737
- const [o, i] = await g(y.googleSDK(a, this.$storage));
4738
- if (o)
4739
- return this.googleLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
4740
- if (i.data.success) {
4735
+ if (this.referral && (t.ref = this.referral), t.authentication && (t.authentication.accessToken || t.authentication.idToken)) {
4736
+ this.referral && (t.ref = this.referral), this.display === "popup" && (t.response_type = "code");
4737
+ const [u, l] = await L(N.googleSDK(t, this.$storage));
4738
+ if (u)
4739
+ return this.googleLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(u);
4740
+ if (l.data.success) {
4741
4741
  if (this.display === "popup")
4742
- return (n = window.parent) == null ? void 0 : n.postMessage({ code: i.data.auth_code, state: this.$route.query.state }, "*");
4743
- await this.loginSetup(i), this.getLoggedInAccounts(), this.loginSuccess({ ...i, isModal: !1 }), setTimeout(() => {
4742
+ return (r = window.parent) == null ? void 0 : r.postMessage({ code: l.data.auth_code, state: this.$route.query.state }, "*");
4743
+ await this.loginSetup(l), this.getLoggedInAccounts(), this.loginSuccess({ ...l, isModal: !1 }), setTimeout(() => {
4744
4744
  this.googleLoad = !1;
4745
4745
  }, 1e3);
4746
4746
  } else
4747
4747
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4748
4748
  } else
4749
- this.googleLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4749
+ this.googleLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 });
4750
4750
  }
4751
4751
  }
4752
4752
  };
@@ -4761,11 +4761,11 @@ window.fbAsyncInit = function() {
4761
4761
  // use graph api current version
4762
4762
  });
4763
4763
  };
4764
- (function(e, a, n) {
4765
- var o, i = e.getElementsByTagName(a)[0];
4766
- e.getElementById(n) || (o = e.createElement(a), o.id = n, o.src = "https://connect.facebook.net/en_US/sdk.js", i.parentNode.insertBefore(o, i));
4764
+ (function(e, t, r) {
4765
+ var u, l = e.getElementsByTagName(t)[0];
4766
+ e.getElementById(r) || (u = e.createElement(t), u.id = r, u.src = "https://connect.facebook.net/en_US/sdk.js", l.parentNode.insertBefore(u, l));
4767
4767
  })(document, "script", "facebook-jssdk");
4768
- const ge = {
4768
+ const un = {
4769
4769
  data() {
4770
4770
  return {
4771
4771
  facebookLoad: !1
@@ -4781,28 +4781,28 @@ const ge = {
4781
4781
  },
4782
4782
  methods: {
4783
4783
  async facebookLogin() {
4784
- var o;
4784
+ var u;
4785
4785
  this.facebookLoad = !0;
4786
- const e = ["email"], [a, n] = await g(Ie.login({ permissions: e }));
4787
- if (a)
4786
+ const e = ["email"], [t, r] = await L(Zn.login({ permissions: e }));
4787
+ if (t)
4788
4788
  return this.facebookLoad = !1;
4789
- if (this.referral && (n.ref = this.referral), this.display === "popup" && (n.response_type = "code"), n.accessToken) {
4790
- const [i, r] = await g(y.facebookSDK(n, this.$storage));
4791
- if (i)
4792
- return this.facebookLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(i);
4793
- if (r.data.success) {
4789
+ if (this.referral && (r.ref = this.referral), this.display === "popup" && (r.response_type = "code"), r && r.accessToken) {
4790
+ const [l, d] = await L(N.facebookSDK(r, this.$storage));
4791
+ if (l)
4792
+ return this.facebookLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(l);
4793
+ if (d.data.success) {
4794
4794
  if (this.display === "popup")
4795
- return (o = window.parent) == null ? void 0 : o.postMessage({ code: r.data.auth_code, state: this.$route.query.state }, "*");
4796
- await this.loginSetup(r), this.getLoggedInAccounts(), this.$router.push("/" + r.data.data.username + "#edit"), setTimeout(() => {
4797
- this.facebookLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4795
+ return (u = window.parent) == null ? void 0 : u.postMessage({ code: d.data.auth_code, state: this.$route.query.state }, "*");
4796
+ await this.loginSetup(d), this.getLoggedInAccounts(), this.$router.push("/" + d.data.data.username + "#edit"), setTimeout(() => {
4797
+ this.facebookLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 });
4798
4798
  }, 1e3);
4799
4799
  } else
4800
4800
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4801
4801
  } else
4802
- this.facebookLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4802
+ this.facebookLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 });
4803
4803
  }
4804
4804
  }
4805
- }, he = {
4805
+ }, _n = {
4806
4806
  data() {
4807
4807
  return {
4808
4808
  appleLoad: !1
@@ -4810,41 +4810,41 @@ const ge = {
4810
4810
  },
4811
4811
  computed: {
4812
4812
  displayAppleLogin() {
4813
- var e, a;
4814
- return (((a = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : a.apple_login) && !this.isModal) ?? (Capacitor.isNativePlatform() && Capacitor.getPlatform() === "ios" || !Capacitor.isNativePlatform() && this.isiOS);
4813
+ var e, t;
4814
+ return (((t = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : t.apple_login) && !this.isModal) ?? (Capacitor.isNativePlatform() && Capacitor.getPlatform() === "ios" || !Capacitor.isNativePlatform() && this.isiOS);
4815
4815
  }
4816
4816
  },
4817
4817
  methods: {
4818
4818
  async appleLogin() {
4819
- var n;
4819
+ var r;
4820
4820
  this.appleLoad = !0;
4821
- const [e, a] = await g(Ee.authorize({
4821
+ const [e, t] = await L(Jn.authorize({
4822
4822
  clientId: "co.tapni.applelogin",
4823
4823
  redirectURI: "https://" + window.location.host + "/login",
4824
4824
  scopes: "email name"
4825
4825
  }));
4826
4826
  if (e)
4827
4827
  return this.appleLoad = !1;
4828
- if (a.response.tokenData = te(a.response.identityToken), a && a.response && a.response.identityToken) {
4829
- this.referral && (a.response.ref = this.referral), this.display === "popup" && (a.response_type = "code");
4830
- const [o, i] = await g(y.appleSDK(a.response, this.$storage));
4831
- if (o)
4832
- return this.appleLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(o);
4833
- if (i.data.success) {
4828
+ if (t.response.tokenData = Je(t.response.identityToken), t && t.response && t.response.identityToken) {
4829
+ this.referral && (t.response.ref = this.referral), this.display === "popup" && (t.response_type = "code");
4830
+ const [u, l] = await L(N.appleSDK(t.response, this.$storage));
4831
+ if (u)
4832
+ return this.appleLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(u);
4833
+ if (l.data.success) {
4834
4834
  if (this.display === "popup")
4835
- return (n = window.parent) == null ? void 0 : n.postMessage({ code: i.data.auth_code, state: this.$route.query.state }, "*");
4836
- await this.loginSetup(i), this.getLoggedInAccounts(), this.loginSuccess({ ...i, isModal: !1 }), setTimeout(() => {
4835
+ return (r = window.parent) == null ? void 0 : r.postMessage({ code: l.data.auth_code, state: this.$route.query.state }, "*");
4836
+ await this.loginSetup(l), this.getLoggedInAccounts(), this.loginSuccess({ ...l, isModal: !1 }), setTimeout(() => {
4837
4837
  this.appleLoad = !1;
4838
4838
  }, 1e3);
4839
4839
  } else
4840
4840
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4841
4841
  } else
4842
- this.appleLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4842
+ this.appleLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 });
4843
4843
  }
4844
4844
  }
4845
4845
  };
4846
- var Je = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
4847
- const F = {
4846
+ var vt = { 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 };
4847
+ const ve = {
4848
4848
  data() {
4849
4849
  return {
4850
4850
  microsoftLoad: !1,
@@ -4853,139 +4853,139 @@ const F = {
4853
4853
  },
4854
4854
  computed: {
4855
4855
  displayMicrosoftSSOLogin() {
4856
- var e, a;
4857
- return (((a = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : a.microsoft_login) && !this.isModal) ?? !1;
4856
+ var e, t;
4857
+ return (((t = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : t.microsoft_login) && !this.isModal) ?? !1;
4858
4858
  }
4859
4859
  },
4860
4860
  methods: {
4861
- async microsoftLogin(e, a = {}) {
4862
- var i, r, p;
4863
- e === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0, Object.keys(a).length || (a = ((r = (i = this.ssoCompany.sso) == null ? void 0 : i.azure) == null ? void 0 : r.sso) || {});
4864
- const [n, o] = await g(
4865
- xe.login({
4866
- clientId: e === "sso" ? a.clientID : "9cd47053-080a-4df8-8fd8-ca4389163fde",
4867
- tenant: e === "sso" ? a.tenant : "consumers",
4861
+ async microsoftLogin(e, t = {}) {
4862
+ var l, d, h;
4863
+ e === "sso" ? this.microsoftSSOLoad = !0 : this.microsoftLoad = !0, Object.keys(t).length || (t = ((d = (l = this.ssoCompany.sso) == null ? void 0 : l.azure) == null ? void 0 : d.sso) || {});
4864
+ const [r, u] = await L(
4865
+ et.login({
4866
+ clientId: e === "sso" ? t.clientID : "9cd47053-080a-4df8-8fd8-ca4389163fde",
4867
+ tenant: e === "sso" ? t.tenant : "consumers",
4868
4868
  scopes: ["User.Read"],
4869
4869
  knownAuthorities: [],
4870
4870
  keyHash: "4+5wCp8QcLptlO0aeP5RDTTOWyg=",
4871
4871
  // Android,
4872
- redirectUri: Je.NODE_ENV === "development" ? `${window.location.origin}/login` : "https://" + window.location.host + "/login"
4872
+ redirectUri: vt.NODE_ENV === "development" ? `${window.location.origin}/login` : "https://" + window.location.host + "/login"
4873
4873
  })
4874
4874
  );
4875
- if (n)
4876
- return console.log("Error: " + JSON.stringify(n)), this.microsoftLoad = !1;
4877
- if (this.referral && (o.ref = this.referral), this.display === "popup" && (o.response_type = "code"), o && (o.accessToken || o.idToken)) {
4878
- const [s, _] = await g(
4879
- y.microsoftSDK(o, this.$storage)
4875
+ if (r)
4876
+ return console.log("Error: " + JSON.stringify(r)), this.microsoftLoad = !1;
4877
+ if (this.referral && (u.ref = this.referral), this.display === "popup" && (u.response_type = "code"), u && (u.accessToken || u.idToken)) {
4878
+ const [m, b] = await L(
4879
+ N.microsoftSDK(u, this.$storage)
4880
4880
  );
4881
- if (s)
4882
- return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(s);
4883
- if (_.data.success) {
4881
+ if (m)
4882
+ return this.microsoftLoad = !1, this.microsoftSSOLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(m);
4883
+ if (b.data.success) {
4884
4884
  if (this.display === "popup")
4885
- return (p = window.parent) == null ? void 0 : p.postMessage(
4886
- { code: _.data.auth_code, state: this.$route.query.state },
4885
+ return (h = window.parent) == null ? void 0 : h.postMessage(
4886
+ { code: b.data.auth_code, state: this.$route.query.state },
4887
4887
  "*"
4888
4888
  );
4889
- await this.loginSetup(_), this.getLoggedInAccounts(), this.loginSuccess({ ..._, isModal: !1 }), setTimeout(() => {
4889
+ await this.loginSetup(b), this.getLoggedInAccounts(), this.loginSuccess({ ...b, isModal: !1 }), setTimeout(() => {
4890
4890
  this.microsoftLoad = !1, this.microsoftSSOLoad = !1;
4891
4891
  }, 1e3);
4892
4892
  } else
4893
4893
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
4894
4894
  } else
4895
- this.microsoftLoad = !1, this.microsoftSSOLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
4895
+ this.microsoftLoad = !1, this.microsoftSSOLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 });
4896
4896
  },
4897
4897
  ssoLogin() {
4898
- u.$emit("toggleSSOModal");
4898
+ y.$emit("toggleSSOModal");
4899
4899
  }
4900
4900
  }
4901
- }, N = {
4901
+ }, le = {
4902
4902
  getFirstBrowserLanguage() {
4903
- let e = window.navigator, a = ["language", "browserLanguage", "systemLanguage", "userLanguage"], n, o;
4903
+ let e = window.navigator, t = ["language", "browserLanguage", "systemLanguage", "userLanguage"], r, u;
4904
4904
  if (Array.isArray(e.languages)) {
4905
- for (n = 0; n < e.languages.length; n++)
4906
- if (o = e.languages[n], o && o.length)
4907
- return o.slice(0, 2);
4905
+ for (r = 0; r < e.languages.length; r++)
4906
+ if (u = e.languages[r], u && u.length)
4907
+ return u.slice(0, 2);
4908
4908
  }
4909
- for (n = 0; n < a.length; n++)
4910
- if (o = e[a[n]], o && o.length)
4911
- return o.slice(0, 2);
4909
+ for (r = 0; r < t.length; r++)
4910
+ if (u = e[t[r]], u && u.length)
4911
+ return u.slice(0, 2);
4912
4912
  return null;
4913
4913
  },
4914
4914
  compareLangKeys() {
4915
- const e = Object.keys(ie.default.state), a = Object.keys(oe.default.state), n = Object.keys(re.default.state), o = Object.keys(pe.default.state), i = Object.keys(ce.default.state), r = Object.keys(se.default.state), p = Object.keys(le.default.state), s = Object.keys(de.default.state);
4916
- console.log("In en but not in de", e.filter((_) => !a.includes(_))), console.log("In de but not in en", a.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in es", e.filter((_) => !n.includes(_))), console.log("In es but not in en", n.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in kr", e.filter((_) => !o.includes(_))), console.log("In kr but not in en", o.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in it", e.filter((_) => !i.includes(_))), console.log("In it but not in en", i.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in fr", e.filter((_) => !r.includes(_))), console.log("In fr but not in en", r.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in sr", e.filter((_) => !p.includes(_))), console.log("In sr but not in en", p.filter((_) => !e.includes(_))), console.log(), console.log("In en but not in tr", e.filter((_) => !s.includes(_))), console.log("In tr but not in en", s.filter((_) => !e.includes(_))), console.log();
4915
+ const e = Object.keys(en.default.state), t = Object.keys(nn.default.state), r = Object.keys(tn.default.state), u = Object.keys(cn.default.state), l = Object.keys(on.default.state), d = Object.keys(an.default.state), h = Object.keys(rn.default.state), m = Object.keys(sn.default.state);
4916
+ console.log("In en but not in de", e.filter((b) => !t.includes(b))), console.log("In de but not in en", t.filter((b) => !e.includes(b))), console.log(), console.log("In en but not in es", e.filter((b) => !r.includes(b))), console.log("In es but not in en", r.filter((b) => !e.includes(b))), console.log(), console.log("In en but not in kr", e.filter((b) => !u.includes(b))), console.log("In kr but not in en", u.filter((b) => !e.includes(b))), console.log(), console.log("In en but not in it", e.filter((b) => !l.includes(b))), console.log("In it but not in en", l.filter((b) => !e.includes(b))), console.log(), console.log("In en but not in fr", e.filter((b) => !d.includes(b))), console.log("In fr but not in en", d.filter((b) => !e.includes(b))), console.log(), console.log("In en but not in sr", e.filter((b) => !h.includes(b))), console.log("In sr but not in en", h.filter((b) => !e.includes(b))), console.log(), console.log("In en but not in tr", e.filter((b) => !m.includes(b))), console.log("In tr but not in en", m.filter((b) => !e.includes(b))), console.log();
4917
4917
  },
4918
4918
  base64ImageToBlob(e) {
4919
- const a = e.split(";base64,"), n = a[0].split(":")[1], o = window.atob(a[1]), i = new Uint8Array(o.length);
4920
- for (let r = 0; r < o.length; ++r)
4921
- i[r] = o.charCodeAt(r);
4922
- return new Blob([i], { type: n });
4919
+ const t = e.split(";base64,"), r = t[0].split(":")[1], u = window.atob(t[1]), l = new Uint8Array(u.length);
4920
+ for (let d = 0; d < u.length; ++d)
4921
+ l[d] = u.charCodeAt(d);
4922
+ return new Blob([l], { type: r });
4923
4923
  },
4924
4924
  blobToBase64(e) {
4925
- const a = new FileReader();
4926
- return a.readAsDataURL(e), new Promise((n) => {
4927
- a.onloadend = () => {
4928
- n(a.result);
4925
+ const t = new FileReader();
4926
+ return t.readAsDataURL(e), new Promise((r) => {
4927
+ t.onloadend = () => {
4928
+ r(t.result);
4929
4929
  };
4930
4930
  });
4931
4931
  },
4932
- base64toFile(e, a) {
4933
- for (var n = e.split(","), o = n[0].match(/:(.*?);/)[1], i = atob(n[1]), r = i.length, p = new Uint8Array(r); r--; )
4934
- p[r] = i.charCodeAt(r);
4935
- return new File([p], a, { type: o });
4932
+ base64toFile(e, t) {
4933
+ for (var r = e.split(","), u = r[0].match(/:(.*?);/)[1], l = atob(r[1]), d = l.length, h = new Uint8Array(d); d--; )
4934
+ h[d] = l.charCodeAt(d);
4935
+ return new File([h], t, { type: u });
4936
4936
  },
4937
4937
  fileToBase64(e) {
4938
- new Promise((a, n) => {
4939
- const o = new FileReader();
4940
- o.readAsDataURL(e), o.onload = () => a(o.result), o.onerror = (i) => n(i);
4938
+ new Promise((t, r) => {
4939
+ const u = new FileReader();
4940
+ u.readAsDataURL(e), u.onload = () => t(u.result), u.onerror = (l) => r(l);
4941
4941
  });
4942
4942
  },
4943
- getUTMParams(e, a) {
4944
- let n = {};
4945
- return e.utm_source && (n.utm_source = e.utm_source), e.utm_medium && (n.utm_medium = e.utm_medium), e.utm_campaign && (n.utm_campaign = e.utm_campaign), e.utm_term && (n.utm_term = e.utm_term), e.utm_content && (n.utm_content = e.utm_content), n;
4943
+ getUTMParams(e, t) {
4944
+ let r = {};
4945
+ return e.utm_source && (r.utm_source = e.utm_source), e.utm_medium && (r.utm_medium = e.utm_medium), e.utm_campaign && (r.utm_campaign = e.utm_campaign), e.utm_term && (r.utm_term = e.utm_term), e.utm_content && (r.utm_content = e.utm_content), r;
4946
4946
  },
4947
- cropCardScan(e, a) {
4948
- const n = new window.Image(), o = document.createElement("canvas"), i = o.getContext("2d");
4949
- n.src = "data:image/jpeg;base64," + e, n.onload = () => {
4950
- const r = n.width, p = n.width / 1.65, s = 0, _ = n.height / 2 - p / 2, L = r, q = p;
4951
- o.width = L, o.height = q, i.drawImage(n, s, _, r, p, 0, 0, L, q);
4952
- const Z = o.toDataURL();
4953
- return a(Z), Z;
4947
+ cropCardScan(e, t) {
4948
+ const r = new window.Image(), u = document.createElement("canvas"), l = u.getContext("2d");
4949
+ r.src = "data:image/jpeg;base64," + e, r.onload = () => {
4950
+ const d = r.width, h = r.width / 1.65, m = 0, b = r.height / 2 - h / 2, C = d, p = h;
4951
+ u.width = C, u.height = p, l.drawImage(r, m, b, d, h, 0, 0, C, p);
4952
+ const x = u.toDataURL();
4953
+ return t(x), x;
4954
4954
  };
4955
4955
  },
4956
4956
  generateRandomString(e) {
4957
- let a = new Uint32Array(e);
4958
- return window.crypto.getRandomValues(a), Array.from(a, (n) => ("0" + n.toString(16)).substr(-2)).join("");
4957
+ let t = new Uint32Array(e);
4958
+ return window.crypto.getRandomValues(t), Array.from(t, (r) => ("0" + r.toString(16)).substr(-2)).join("");
4959
4959
  },
4960
4960
  async pkceChallengeFromVerifier(e) {
4961
- const n = new TextEncoder().encode(e), o = await window.crypto.subtle.digest("SHA-256", n);
4962
- return btoa(String.fromCharCode.apply(null, new Uint8Array(o))).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4961
+ const r = new TextEncoder().encode(e), u = await window.crypto.subtle.digest("SHA-256", r);
4962
+ return btoa(String.fromCharCode.apply(null, new Uint8Array(u))).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/, "");
4963
4963
  },
4964
- encryptAES(e, a, n) {
4965
- let i = new TextEncoder().encode(n, storage);
4964
+ encryptAES(e, t, r) {
4965
+ let l = new TextEncoder().encode(r, storage);
4966
4966
  return window.crypto.subtle.encrypt(
4967
4967
  {
4968
4968
  name: "AES-CBC",
4969
- iv: a
4969
+ iv: t
4970
4970
  },
4971
4971
  e,
4972
- i
4972
+ l
4973
4973
  );
4974
4974
  },
4975
- async decryptAES(e, a, n) {
4975
+ async decryptAES(e, t, r) {
4976
4976
  try {
4977
- const o = (_) => Uint8Array.from(atob(_), (L) => L.charCodeAt(0));
4978
- n = n.replace(/ /g, "+");
4979
- const i = new TextEncoder(), r = new TextDecoder();
4980
- e = i.encode(e), a = i.encode(a), n = o(n, storage);
4981
- const p = await window.crypto.subtle.importKey("raw", e, "AES-CBC", !0, ["encrypt", "decrypt"]);
4982
- let s = await window.crypto.subtle.decrypt({ name: "AES-CBC", iv: a }, p, n);
4983
- return s = r.decode(s), s = s.replace(/ /g, "+"), s = atob(s), s;
4984
- } catch (o) {
4985
- console.log(o);
4977
+ const u = (b) => Uint8Array.from(atob(b), (C) => C.charCodeAt(0));
4978
+ r = r.replace(/ /g, "+");
4979
+ const l = new TextEncoder(), d = new TextDecoder();
4980
+ e = l.encode(e), t = l.encode(t), r = u(r, storage);
4981
+ const h = await window.crypto.subtle.importKey("raw", e, "AES-CBC", !0, ["encrypt", "decrypt"]);
4982
+ let m = await window.crypto.subtle.decrypt({ name: "AES-CBC", iv: t }, h, r);
4983
+ return m = d.decode(m), m = m.replace(/ /g, "+"), m = atob(m), m;
4984
+ } catch (u) {
4985
+ console.log(u);
4986
4986
  }
4987
4987
  }
4988
- }, Q = {
4988
+ }, ye = {
4989
4989
  data() {
4990
4990
  return {
4991
4991
  oktaAuth: null
@@ -5001,47 +5001,1099 @@ const F = {
5001
5001
  },
5002
5002
  methods: {
5003
5003
  async exchangeCode(e) {
5004
- var i, r;
5005
- let [a, n] = await g(Y.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") })));
5006
- if (a)
5007
- return this.errorHandler(a);
5004
+ var l, d;
5005
+ let [t, r] = await L(Be.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") })));
5006
+ if (t)
5007
+ return this.errorHandler(t);
5008
5008
  localStorage.removeItem("pkce_code_verifier");
5009
- let o = { accessToken: (i = n.data) == null ? void 0 : i.access_token, domain: e.domain };
5010
- if (this.display === "popup" && (o.response_type = "code"), [a, n] = await g(y.oktaSDK(o, this.$storage)), a)
5011
- return this.oktaLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(a);
5012
- if (n.data.success) {
5009
+ let u = { accessToken: (l = r.data) == null ? void 0 : l.access_token, domain: e.domain };
5010
+ if (this.display === "popup" && (u.response_type = "code"), [t, r] = await L(N.oktaSDK(u, this.$storage)), t)
5011
+ return this.oktaLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 }), this.errorHandler(t);
5012
+ if (r.data.success) {
5013
5013
  if (this.display === "popup")
5014
- return (r = window.parent) == null ? void 0 : r.postMessage({ code: n.data.auth_code, state: this.$route.query.state }, "*");
5015
- await this.loginSetup(n), this.getLoggedInAccounts(), this.$router.push("/" + n.data.data.username + "#edit"), setTimeout(() => {
5016
- this.appleLoad = !1, u.$emit("ssoEvent", { name: "setLoading", data: !1 });
5014
+ return (d = window.parent) == null ? void 0 : d.postMessage({ code: r.data.auth_code, state: this.$route.query.state }, "*");
5015
+ await this.loginSetup(r), this.getLoggedInAccounts(), this.$router.push("/" + r.data.data.username + "#edit"), setTimeout(() => {
5016
+ this.appleLoad = !1, y.$emit("ssoEvent", { name: "setLoading", data: !1 });
5017
5017
  }, 1e3);
5018
5018
  } else
5019
5019
  this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err);
5020
5020
  },
5021
5021
  async oktaLogin(e) {
5022
- const a = D.getPlatform() || "web";
5023
- let n = btoa("domain=" + e.domain + "&client_id=" + e.clientID + "&platform=" + a + "&rand=" + N.generateRandomString(28)), o = N.generateRandomString(28);
5024
- localStorage.setItem("pkce_code_verifier", o);
5025
- let i = await N.pkceChallengeFromVerifier(o), r = e.domain + "/v1/authorize", p;
5026
- this.isNative ? p = "tapni://t.link/callback/okta" : p = location.origin + "/callback/okta";
5027
- let s = r + "?response_type=code&client_id=" + encodeURIComponent(e.clientID) + "&state=" + encodeURIComponent(n) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(p) + "&code_challenge=" + encodeURIComponent(i) + "&code_challenge_method=S256", _ = this, L;
5028
- window.addEventListener("message", async (q) => {
5029
- if (!this.allowedOrigins.includes(q.origin))
5022
+ const t = me.getPlatform() || "web";
5023
+ let r = btoa("domain=" + e.domain + "&client_id=" + e.clientID + "&platform=" + t + "&rand=" + le.generateRandomString(28)), u = le.generateRandomString(28);
5024
+ localStorage.setItem("pkce_code_verifier", u);
5025
+ let l = await le.pkceChallengeFromVerifier(u), d = e.domain + "/v1/authorize", h;
5026
+ this.isNative ? h = "tapni://t.link/callback/okta" : h = location.origin + "/callback/okta";
5027
+ let m = d + "?response_type=code&client_id=" + encodeURIComponent(e.clientID) + "&state=" + encodeURIComponent(r) + "&scope=" + encodeURIComponent("openid email profile") + "&redirect_uri=" + encodeURIComponent(h) + "&code_challenge=" + encodeURIComponent(l) + "&code_challenge_method=S256", b = this, C;
5028
+ window.addEventListener("message", async (p) => {
5029
+ if (!this.allowedOrigins.includes(p.origin))
5030
5030
  return console.log("Origin is not allowed!");
5031
- q.data.type === "okta" && (L = q.data.code, await _.exchangeCode({ domain: e.domain, code: L, clientID: e.clientID }));
5032
- }, { once: !0 }), this.isNative ? await H.open({ url: s, presentationStyle: "popover" }) : window.open(s, "popup", "width=600,height=600");
5031
+ p.data.type === "okta" && (C = p.data.code, await b.exchangeCode({ domain: e.domain, code: C, clientID: e.clientID }));
5032
+ }, { once: !0 }), this.isNative ? await be.open({ url: m, presentationStyle: "popover" }) : window.open(m, "popup", "width=600,height=600");
5033
5033
  },
5034
5034
  async handleOktaRedirect() {
5035
- let e = this.$route.query.code, a, n, o, i, r = { type: "okta" };
5036
- if (e && (r.code = e), this.$route.query.state) {
5037
- a = this.$route.query.state, a = atob(a);
5038
- const p = new URLSearchParams(a);
5039
- n = p.get("client_id"), o = p.get("domain"), i = p.get("platform");
5035
+ let e = this.$route.query.code, t, r, u, l, d = { type: "okta" };
5036
+ if (e && (d.code = e), this.$route.query.state) {
5037
+ t = this.$route.query.state, t = atob(t);
5038
+ const h = new URLSearchParams(t);
5039
+ r = h.get("client_id"), u = h.get("domain"), l = h.get("platform");
5040
5040
  }
5041
- window.opener ? (window.opener.postMessage(r, location.origin), window.close()) : (this.isNative && this.isIOS && await H.close(), u.$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"), u.$emit("ssoEvent", { name: "setLoading", data: !1 }));
5041
+ window.opener ? (window.opener.postMessage(d, location.origin), window.close()) : (this.isNative && this.isIOS && await be.close(), y.$emit("ssoEvent", { name: "setLoading", data: !0 }), e && r && u && await this.exchangeCode({ code: e, clientID: r, domain: u, platform: l }), localStorage.removeItem("pkce_code_verifier"), y.$emit("ssoEvent", { name: "setLoading", data: !1 }));
5042
5042
  }
5043
5043
  }
5044
- }, G = {
5044
+ };
5045
+ var mn = {}, we = {};
5046
+ we.byteLength = zt;
5047
+ we.toByteArray = Ct;
5048
+ we.fromByteArray = Et;
5049
+ var Q = [], V = [], yt = typeof Uint8Array < "u" ? Uint8Array : Array, je = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
5050
+ for (var se = 0, wt = je.length; se < wt; ++se)
5051
+ Q[se] = je[se], V[je.charCodeAt(se)] = se;
5052
+ V[45] = 62;
5053
+ V[95] = 63;
5054
+ function gn(e) {
5055
+ var t = e.length;
5056
+ if (t % 4 > 0)
5057
+ throw new Error("Invalid string. Length must be a multiple of 4");
5058
+ var r = e.indexOf("=");
5059
+ r === -1 && (r = t);
5060
+ var u = r === t ? 0 : 4 - r % 4;
5061
+ return [r, u];
5062
+ }
5063
+ function zt(e) {
5064
+ var t = gn(e), r = t[0], u = t[1];
5065
+ return (r + u) * 3 / 4 - u;
5066
+ }
5067
+ function Lt(e, t, r) {
5068
+ return (t + r) * 3 / 4 - r;
5069
+ }
5070
+ function Ct(e) {
5071
+ var t, r = gn(e), u = r[0], l = r[1], d = new yt(Lt(e, u, l)), h = 0, m = l > 0 ? u - 4 : u, b;
5072
+ for (b = 0; b < m; b += 4)
5073
+ t = V[e.charCodeAt(b)] << 18 | V[e.charCodeAt(b + 1)] << 12 | V[e.charCodeAt(b + 2)] << 6 | V[e.charCodeAt(b + 3)], d[h++] = t >> 16 & 255, d[h++] = t >> 8 & 255, d[h++] = t & 255;
5074
+ return l === 2 && (t = V[e.charCodeAt(b)] << 2 | V[e.charCodeAt(b + 1)] >> 4, d[h++] = t & 255), l === 1 && (t = V[e.charCodeAt(b)] << 10 | V[e.charCodeAt(b + 1)] << 4 | V[e.charCodeAt(b + 2)] >> 2, d[h++] = t >> 8 & 255, d[h++] = t & 255), d;
5075
+ }
5076
+ function St(e) {
5077
+ return Q[e >> 18 & 63] + Q[e >> 12 & 63] + Q[e >> 6 & 63] + Q[e & 63];
5078
+ }
5079
+ function Tt(e, t, r) {
5080
+ for (var u, l = [], d = t; d < r; d += 3)
5081
+ u = (e[d] << 16 & 16711680) + (e[d + 1] << 8 & 65280) + (e[d + 2] & 255), l.push(St(u));
5082
+ return l.join("");
5083
+ }
5084
+ function Et(e) {
5085
+ for (var t, r = e.length, u = r % 3, l = [], d = 16383, h = 0, m = r - u; h < m; h += d)
5086
+ l.push(Tt(e, h, h + d > m ? m : h + d));
5087
+ return u === 1 ? (t = e[r - 1], l.push(
5088
+ Q[t >> 2] + Q[t << 4 & 63] + "=="
5089
+ )) : u === 2 && (t = (e[r - 2] << 8) + e[r - 1], l.push(
5090
+ Q[t >> 10] + Q[t >> 4 & 63] + Q[t << 2 & 63] + "="
5091
+ )), l.join("");
5092
+ }
5093
+ var Me = {};
5094
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
5095
+ Me.read = function(e, t, r, u, l) {
5096
+ var d, h, m = l * 8 - u - 1, b = (1 << m) - 1, C = b >> 1, p = -7, x = r ? l - 1 : 0, W = r ? -1 : 1, O = e[t + x];
5097
+ for (x += W, d = O & (1 << -p) - 1, O >>= -p, p += m; p > 0; d = d * 256 + e[t + x], x += W, p -= 8)
5098
+ ;
5099
+ for (h = d & (1 << -p) - 1, d >>= -p, p += u; p > 0; h = h * 256 + e[t + x], x += W, p -= 8)
5100
+ ;
5101
+ if (d === 0)
5102
+ d = 1 - C;
5103
+ else {
5104
+ if (d === b)
5105
+ return h ? NaN : (O ? -1 : 1) * (1 / 0);
5106
+ h = h + Math.pow(2, u), d = d - C;
5107
+ }
5108
+ return (O ? -1 : 1) * h * Math.pow(2, d - u);
5109
+ };
5110
+ Me.write = function(e, t, r, u, l, d) {
5111
+ var h, m, b, C = d * 8 - l - 1, p = (1 << C) - 1, x = p >> 1, W = l === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, O = u ? 0 : d - 1, ee = u ? 1 : -1, Ce = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
5112
+ for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (m = isNaN(t) ? 1 : 0, h = p) : (h = Math.floor(Math.log(t) / Math.LN2), t * (b = Math.pow(2, -h)) < 1 && (h--, b *= 2), h + x >= 1 ? t += W / b : t += W * Math.pow(2, 1 - x), t * b >= 2 && (h++, b /= 2), h + x >= p ? (m = 0, h = p) : h + x >= 1 ? (m = (t * b - 1) * Math.pow(2, l), h = h + x) : (m = t * Math.pow(2, x - 1) * Math.pow(2, l), h = 0)); l >= 8; e[r + O] = m & 255, O += ee, m /= 256, l -= 8)
5113
+ ;
5114
+ for (h = h << l | m, C += l; C > 0; e[r + O] = h & 255, O += ee, h /= 256, C -= 8)
5115
+ ;
5116
+ e[r + O - ee] |= Ce * 128;
5117
+ };
5118
+ /*!
5119
+ * The buffer module from node.js, for the browser.
5120
+ *
5121
+ * @author Feross Aboukhadijeh <https://feross.org>
5122
+ * @license MIT
5123
+ */
5124
+ (function(e) {
5125
+ const t = we, r = Me, u = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
5126
+ e.Buffer = p, e.SlowBuffer = Tn, e.INSPECT_MAX_BYTES = 50;
5127
+ const l = 2147483647;
5128
+ e.kMaxLength = l;
5129
+ const { Uint8Array: d, ArrayBuffer: h, SharedArrayBuffer: m } = globalThis;
5130
+ p.TYPED_ARRAY_SUPPORT = b(), !p.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
5131
+ "This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
5132
+ );
5133
+ function b() {
5134
+ try {
5135
+ const i = new d(1), n = { foo: function() {
5136
+ return 42;
5137
+ } };
5138
+ return Object.setPrototypeOf(n, d.prototype), Object.setPrototypeOf(i, n), i.foo() === 42;
5139
+ } catch {
5140
+ return !1;
5141
+ }
5142
+ }
5143
+ Object.defineProperty(p.prototype, "parent", {
5144
+ enumerable: !0,
5145
+ get: function() {
5146
+ if (p.isBuffer(this))
5147
+ return this.buffer;
5148
+ }
5149
+ }), Object.defineProperty(p.prototype, "offset", {
5150
+ enumerable: !0,
5151
+ get: function() {
5152
+ if (p.isBuffer(this))
5153
+ return this.byteOffset;
5154
+ }
5155
+ });
5156
+ function C(i) {
5157
+ if (i > l)
5158
+ throw new RangeError('The value "' + i + '" is invalid for option "size"');
5159
+ const n = new d(i);
5160
+ return Object.setPrototypeOf(n, p.prototype), n;
5161
+ }
5162
+ function p(i, n, a) {
5163
+ if (typeof i == "number") {
5164
+ if (typeof n == "string")
5165
+ throw new TypeError(
5166
+ 'The "string" argument must be of type string. Received type number'
5167
+ );
5168
+ return ee(i);
5169
+ }
5170
+ return x(i, n, a);
5171
+ }
5172
+ p.poolSize = 8192;
5173
+ function x(i, n, a) {
5174
+ if (typeof i == "string")
5175
+ return Ce(i, n);
5176
+ if (h.isView(i))
5177
+ return Cn(i);
5178
+ if (i == null)
5179
+ throw new TypeError(
5180
+ "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
5181
+ );
5182
+ if (H(i, h) || i && H(i.buffer, h) || typeof m < "u" && (H(i, m) || i && H(i.buffer, m)))
5183
+ return Te(i, n, a);
5184
+ if (typeof i == "number")
5185
+ throw new TypeError(
5186
+ 'The "value" argument must not be of type number. Received type number'
5187
+ );
5188
+ const o = i.valueOf && i.valueOf();
5189
+ if (o != null && o !== i)
5190
+ return p.from(o, n, a);
5191
+ const s = Sn(i);
5192
+ if (s)
5193
+ return s;
5194
+ if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof i[Symbol.toPrimitive] == "function")
5195
+ return p.from(i[Symbol.toPrimitive]("string"), n, a);
5196
+ throw new TypeError(
5197
+ "The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
5198
+ );
5199
+ }
5200
+ p.from = function(i, n, a) {
5201
+ return x(i, n, a);
5202
+ }, Object.setPrototypeOf(p.prototype, d.prototype), Object.setPrototypeOf(p, d);
5203
+ function W(i) {
5204
+ if (typeof i != "number")
5205
+ throw new TypeError('"size" argument must be of type number');
5206
+ if (i < 0)
5207
+ throw new RangeError('The value "' + i + '" is invalid for option "size"');
5208
+ }
5209
+ function O(i, n, a) {
5210
+ return W(i), i <= 0 ? C(i) : n !== void 0 ? typeof a == "string" ? C(i).fill(n, a) : C(i).fill(n) : C(i);
5211
+ }
5212
+ p.alloc = function(i, n, a) {
5213
+ return O(i, n, a);
5214
+ };
5215
+ function ee(i) {
5216
+ return W(i), C(i < 0 ? 0 : Ee(i) | 0);
5217
+ }
5218
+ p.allocUnsafe = function(i) {
5219
+ return ee(i);
5220
+ }, p.allocUnsafeSlow = function(i) {
5221
+ return ee(i);
5222
+ };
5223
+ function Ce(i, n) {
5224
+ if ((typeof n != "string" || n === "") && (n = "utf8"), !p.isEncoding(n))
5225
+ throw new TypeError("Unknown encoding: " + n);
5226
+ const a = Re(i, n) | 0;
5227
+ let o = C(a);
5228
+ const s = o.write(i, n);
5229
+ return s !== a && (o = o.slice(0, s)), o;
5230
+ }
5231
+ function Se(i) {
5232
+ const n = i.length < 0 ? 0 : Ee(i.length) | 0, a = C(n);
5233
+ for (let o = 0; o < n; o += 1)
5234
+ a[o] = i[o] & 255;
5235
+ return a;
5236
+ }
5237
+ function Cn(i) {
5238
+ if (H(i, d)) {
5239
+ const n = new d(i);
5240
+ return Te(n.buffer, n.byteOffset, n.byteLength);
5241
+ }
5242
+ return Se(i);
5243
+ }
5244
+ function Te(i, n, a) {
5245
+ if (n < 0 || i.byteLength < n)
5246
+ throw new RangeError('"offset" is outside of buffer bounds');
5247
+ if (i.byteLength < n + (a || 0))
5248
+ throw new RangeError('"length" is outside of buffer bounds');
5249
+ let o;
5250
+ return n === void 0 && a === void 0 ? o = new d(i) : a === void 0 ? o = new d(i, n) : o = new d(i, n, a), Object.setPrototypeOf(o, p.prototype), o;
5251
+ }
5252
+ function Sn(i) {
5253
+ if (p.isBuffer(i)) {
5254
+ const n = Ee(i.length) | 0, a = C(n);
5255
+ return a.length === 0 || i.copy(a, 0, 0, n), a;
5256
+ }
5257
+ if (i.length !== void 0)
5258
+ return typeof i.length != "number" || Pe(i.length) ? C(0) : Se(i);
5259
+ if (i.type === "Buffer" && Array.isArray(i.data))
5260
+ return Se(i.data);
5261
+ }
5262
+ function Ee(i) {
5263
+ if (i >= l)
5264
+ throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + l.toString(16) + " bytes");
5265
+ return i | 0;
5266
+ }
5267
+ function Tn(i) {
5268
+ return +i != i && (i = 0), p.alloc(+i);
5269
+ }
5270
+ p.isBuffer = function(n) {
5271
+ return n != null && n._isBuffer === !0 && n !== p.prototype;
5272
+ }, p.compare = function(n, a) {
5273
+ if (H(n, d) && (n = p.from(n, n.offset, n.byteLength)), H(a, d) && (a = p.from(a, a.offset, a.byteLength)), !p.isBuffer(n) || !p.isBuffer(a))
5274
+ throw new TypeError(
5275
+ 'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
5276
+ );
5277
+ if (n === a)
5278
+ return 0;
5279
+ let o = n.length, s = a.length;
5280
+ for (let _ = 0, g = Math.min(o, s); _ < g; ++_)
5281
+ if (n[_] !== a[_]) {
5282
+ o = n[_], s = a[_];
5283
+ break;
5284
+ }
5285
+ return o < s ? -1 : s < o ? 1 : 0;
5286
+ }, p.isEncoding = function(n) {
5287
+ switch (String(n).toLowerCase()) {
5288
+ case "hex":
5289
+ case "utf8":
5290
+ case "utf-8":
5291
+ case "ascii":
5292
+ case "latin1":
5293
+ case "binary":
5294
+ case "base64":
5295
+ case "ucs2":
5296
+ case "ucs-2":
5297
+ case "utf16le":
5298
+ case "utf-16le":
5299
+ return !0;
5300
+ default:
5301
+ return !1;
5302
+ }
5303
+ }, p.concat = function(n, a) {
5304
+ if (!Array.isArray(n))
5305
+ throw new TypeError('"list" argument must be an Array of Buffers');
5306
+ if (n.length === 0)
5307
+ return p.alloc(0);
5308
+ let o;
5309
+ if (a === void 0)
5310
+ for (a = 0, o = 0; o < n.length; ++o)
5311
+ a += n[o].length;
5312
+ const s = p.allocUnsafe(a);
5313
+ let _ = 0;
5314
+ for (o = 0; o < n.length; ++o) {
5315
+ let g = n[o];
5316
+ if (H(g, d))
5317
+ _ + g.length > s.length ? (p.isBuffer(g) || (g = p.from(g)), g.copy(s, _)) : d.prototype.set.call(
5318
+ s,
5319
+ g,
5320
+ _
5321
+ );
5322
+ else if (p.isBuffer(g))
5323
+ g.copy(s, _);
5324
+ else
5325
+ throw new TypeError('"list" argument must be an Array of Buffers');
5326
+ _ += g.length;
5327
+ }
5328
+ return s;
5329
+ };
5330
+ function Re(i, n) {
5331
+ if (p.isBuffer(i))
5332
+ return i.length;
5333
+ if (h.isView(i) || H(i, h))
5334
+ return i.byteLength;
5335
+ if (typeof i != "string")
5336
+ throw new TypeError(
5337
+ 'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof i
5338
+ );
5339
+ const a = i.length, o = arguments.length > 2 && arguments[2] === !0;
5340
+ if (!o && a === 0)
5341
+ return 0;
5342
+ let s = !1;
5343
+ for (; ; )
5344
+ switch (n) {
5345
+ case "ascii":
5346
+ case "latin1":
5347
+ case "binary":
5348
+ return a;
5349
+ case "utf8":
5350
+ case "utf-8":
5351
+ return Ae(i).length;
5352
+ case "ucs2":
5353
+ case "ucs-2":
5354
+ case "utf16le":
5355
+ case "utf-16le":
5356
+ return a * 2;
5357
+ case "hex":
5358
+ return a >>> 1;
5359
+ case "base64":
5360
+ return Ge(i).length;
5361
+ default:
5362
+ if (s)
5363
+ return o ? -1 : Ae(i).length;
5364
+ n = ("" + n).toLowerCase(), s = !0;
5365
+ }
5366
+ }
5367
+ p.byteLength = Re;
5368
+ function En(i, n, a) {
5369
+ let o = !1;
5370
+ if ((n === void 0 || n < 0) && (n = 0), n > this.length || ((a === void 0 || a > this.length) && (a = this.length), a <= 0) || (a >>>= 0, n >>>= 0, a <= n))
5371
+ return "";
5372
+ for (i || (i = "utf8"); ; )
5373
+ switch (i) {
5374
+ case "hex":
5375
+ return Nn(this, n, a);
5376
+ case "utf8":
5377
+ case "utf-8":
5378
+ return Ue(this, n, a);
5379
+ case "ascii":
5380
+ return Rn(this, n, a);
5381
+ case "latin1":
5382
+ case "binary":
5383
+ return qn(this, n, a);
5384
+ case "base64":
5385
+ return Bn(this, n, a);
5386
+ case "ucs2":
5387
+ case "ucs-2":
5388
+ case "utf16le":
5389
+ case "utf-16le":
5390
+ return Un(this, n, a);
5391
+ default:
5392
+ if (o)
5393
+ throw new TypeError("Unknown encoding: " + i);
5394
+ i = (i + "").toLowerCase(), o = !0;
5395
+ }
5396
+ }
5397
+ p.prototype._isBuffer = !0;
5398
+ function ne(i, n, a) {
5399
+ const o = i[n];
5400
+ i[n] = i[a], i[a] = o;
5401
+ }
5402
+ p.prototype.swap16 = function() {
5403
+ const n = this.length;
5404
+ if (n % 2 !== 0)
5405
+ throw new RangeError("Buffer size must be a multiple of 16-bits");
5406
+ for (let a = 0; a < n; a += 2)
5407
+ ne(this, a, a + 1);
5408
+ return this;
5409
+ }, p.prototype.swap32 = function() {
5410
+ const n = this.length;
5411
+ if (n % 4 !== 0)
5412
+ throw new RangeError("Buffer size must be a multiple of 32-bits");
5413
+ for (let a = 0; a < n; a += 4)
5414
+ ne(this, a, a + 3), ne(this, a + 1, a + 2);
5415
+ return this;
5416
+ }, p.prototype.swap64 = function() {
5417
+ const n = this.length;
5418
+ if (n % 8 !== 0)
5419
+ throw new RangeError("Buffer size must be a multiple of 64-bits");
5420
+ for (let a = 0; a < n; a += 8)
5421
+ ne(this, a, a + 7), ne(this, a + 1, a + 6), ne(this, a + 2, a + 5), ne(this, a + 3, a + 4);
5422
+ return this;
5423
+ }, p.prototype.toString = function() {
5424
+ const n = this.length;
5425
+ return n === 0 ? "" : arguments.length === 0 ? Ue(this, 0, n) : En.apply(this, arguments);
5426
+ }, p.prototype.toLocaleString = p.prototype.toString, p.prototype.equals = function(n) {
5427
+ if (!p.isBuffer(n))
5428
+ throw new TypeError("Argument must be a Buffer");
5429
+ return this === n ? !0 : p.compare(this, n) === 0;
5430
+ }, p.prototype.inspect = function() {
5431
+ let n = "";
5432
+ const a = e.INSPECT_MAX_BYTES;
5433
+ return n = this.toString("hex", 0, a).replace(/(.{2})/g, "$1 ").trim(), this.length > a && (n += " ... "), "<Buffer " + n + ">";
5434
+ }, u && (p.prototype[u] = p.prototype.inspect), p.prototype.compare = function(n, a, o, s, _) {
5435
+ if (H(n, d) && (n = p.from(n, n.offset, n.byteLength)), !p.isBuffer(n))
5436
+ throw new TypeError(
5437
+ 'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof n
5438
+ );
5439
+ if (a === void 0 && (a = 0), o === void 0 && (o = n ? n.length : 0), s === void 0 && (s = 0), _ === void 0 && (_ = this.length), a < 0 || o > n.length || s < 0 || _ > this.length)
5440
+ throw new RangeError("out of range index");
5441
+ if (s >= _ && a >= o)
5442
+ return 0;
5443
+ if (s >= _)
5444
+ return -1;
5445
+ if (a >= o)
5446
+ return 1;
5447
+ if (a >>>= 0, o >>>= 0, s >>>= 0, _ >>>= 0, this === n)
5448
+ return 0;
5449
+ let g = _ - s, w = o - a;
5450
+ const A = Math.min(g, w), E = this.slice(s, _), P = n.slice(a, o);
5451
+ for (let S = 0; S < A; ++S)
5452
+ if (E[S] !== P[S]) {
5453
+ g = E[S], w = P[S];
5454
+ break;
5455
+ }
5456
+ return g < w ? -1 : w < g ? 1 : 0;
5457
+ };
5458
+ function qe(i, n, a, o, s) {
5459
+ if (i.length === 0)
5460
+ return -1;
5461
+ if (typeof a == "string" ? (o = a, a = 0) : a > 2147483647 ? a = 2147483647 : a < -2147483648 && (a = -2147483648), a = +a, Pe(a) && (a = s ? 0 : i.length - 1), a < 0 && (a = i.length + a), a >= i.length) {
5462
+ if (s)
5463
+ return -1;
5464
+ a = i.length - 1;
5465
+ } else if (a < 0)
5466
+ if (s)
5467
+ a = 0;
5468
+ else
5469
+ return -1;
5470
+ if (typeof n == "string" && (n = p.from(n, o)), p.isBuffer(n))
5471
+ return n.length === 0 ? -1 : Ne(i, n, a, o, s);
5472
+ if (typeof n == "number")
5473
+ return n = n & 255, typeof d.prototype.indexOf == "function" ? s ? d.prototype.indexOf.call(i, n, a) : d.prototype.lastIndexOf.call(i, n, a) : Ne(i, [n], a, o, s);
5474
+ throw new TypeError("val must be string, number or Buffer");
5475
+ }
5476
+ function Ne(i, n, a, o, s) {
5477
+ let _ = 1, g = i.length, w = n.length;
5478
+ if (o !== void 0 && (o = String(o).toLowerCase(), o === "ucs2" || o === "ucs-2" || o === "utf16le" || o === "utf-16le")) {
5479
+ if (i.length < 2 || n.length < 2)
5480
+ return -1;
5481
+ _ = 2, g /= 2, w /= 2, a /= 2;
5482
+ }
5483
+ function A(P, S) {
5484
+ return _ === 1 ? P[S] : P.readUInt16BE(S * _);
5485
+ }
5486
+ let E;
5487
+ if (s) {
5488
+ let P = -1;
5489
+ for (E = a; E < g; E++)
5490
+ if (A(i, E) === A(n, P === -1 ? 0 : E - P)) {
5491
+ if (P === -1 && (P = E), E - P + 1 === w)
5492
+ return P * _;
5493
+ } else
5494
+ P !== -1 && (E -= E - P), P = -1;
5495
+ } else
5496
+ for (a + w > g && (a = g - w), E = a; E >= 0; E--) {
5497
+ let P = !0;
5498
+ for (let S = 0; S < w; S++)
5499
+ if (A(i, E + S) !== A(n, S)) {
5500
+ P = !1;
5501
+ break;
5502
+ }
5503
+ if (P)
5504
+ return E;
5505
+ }
5506
+ return -1;
5507
+ }
5508
+ p.prototype.includes = function(n, a, o) {
5509
+ return this.indexOf(n, a, o) !== -1;
5510
+ }, p.prototype.indexOf = function(n, a, o) {
5511
+ return qe(this, n, a, o, !0);
5512
+ }, p.prototype.lastIndexOf = function(n, a, o) {
5513
+ return qe(this, n, a, o, !1);
5514
+ };
5515
+ function In(i, n, a, o) {
5516
+ a = Number(a) || 0;
5517
+ const s = i.length - a;
5518
+ o ? (o = Number(o), o > s && (o = s)) : o = s;
5519
+ const _ = n.length;
5520
+ o > _ / 2 && (o = _ / 2);
5521
+ let g;
5522
+ for (g = 0; g < o; ++g) {
5523
+ const w = parseInt(n.substr(g * 2, 2), 16);
5524
+ if (Pe(w))
5525
+ return g;
5526
+ i[a + g] = w;
5527
+ }
5528
+ return g;
5529
+ }
5530
+ function An(i, n, a, o) {
5531
+ return ge(Ae(n, i.length - a), i, a, o);
5532
+ }
5533
+ function Pn(i, n, a, o) {
5534
+ return ge(Vn(n), i, a, o);
5535
+ }
5536
+ function jn(i, n, a, o) {
5537
+ return ge(Ge(n), i, a, o);
5538
+ }
5539
+ function xn(i, n, a, o) {
5540
+ return ge(Kn(n, i.length - a), i, a, o);
5541
+ }
5542
+ p.prototype.write = function(n, a, o, s) {
5543
+ if (a === void 0)
5544
+ s = "utf8", o = this.length, a = 0;
5545
+ else if (o === void 0 && typeof a == "string")
5546
+ s = a, o = this.length, a = 0;
5547
+ else if (isFinite(a))
5548
+ a = a >>> 0, isFinite(o) ? (o = o >>> 0, s === void 0 && (s = "utf8")) : (s = o, o = void 0);
5549
+ else
5550
+ throw new Error(
5551
+ "Buffer.write(string, encoding, offset[, length]) is no longer supported"
5552
+ );
5553
+ const _ = this.length - a;
5554
+ if ((o === void 0 || o > _) && (o = _), n.length > 0 && (o < 0 || a < 0) || a > this.length)
5555
+ throw new RangeError("Attempt to write outside buffer bounds");
5556
+ s || (s = "utf8");
5557
+ let g = !1;
5558
+ for (; ; )
5559
+ switch (s) {
5560
+ case "hex":
5561
+ return In(this, n, a, o);
5562
+ case "utf8":
5563
+ case "utf-8":
5564
+ return An(this, n, a, o);
5565
+ case "ascii":
5566
+ case "latin1":
5567
+ case "binary":
5568
+ return Pn(this, n, a, o);
5569
+ case "base64":
5570
+ return jn(this, n, a, o);
5571
+ case "ucs2":
5572
+ case "ucs-2":
5573
+ case "utf16le":
5574
+ case "utf-16le":
5575
+ return xn(this, n, a, o);
5576
+ default:
5577
+ if (g)
5578
+ throw new TypeError("Unknown encoding: " + s);
5579
+ s = ("" + s).toLowerCase(), g = !0;
5580
+ }
5581
+ }, p.prototype.toJSON = function() {
5582
+ return {
5583
+ type: "Buffer",
5584
+ data: Array.prototype.slice.call(this._arr || this, 0)
5585
+ };
5586
+ };
5587
+ function Bn(i, n, a) {
5588
+ return n === 0 && a === i.length ? t.fromByteArray(i) : t.fromByteArray(i.slice(n, a));
5589
+ }
5590
+ function Ue(i, n, a) {
5591
+ a = Math.min(i.length, a);
5592
+ const o = [];
5593
+ let s = n;
5594
+ for (; s < a; ) {
5595
+ const _ = i[s];
5596
+ let g = null, w = _ > 239 ? 4 : _ > 223 ? 3 : _ > 191 ? 2 : 1;
5597
+ if (s + w <= a) {
5598
+ let A, E, P, S;
5599
+ switch (w) {
5600
+ case 1:
5601
+ _ < 128 && (g = _);
5602
+ break;
5603
+ case 2:
5604
+ A = i[s + 1], (A & 192) === 128 && (S = (_ & 31) << 6 | A & 63, S > 127 && (g = S));
5605
+ break;
5606
+ case 3:
5607
+ A = i[s + 1], E = i[s + 2], (A & 192) === 128 && (E & 192) === 128 && (S = (_ & 15) << 12 | (A & 63) << 6 | E & 63, S > 2047 && (S < 55296 || S > 57343) && (g = S));
5608
+ break;
5609
+ case 4:
5610
+ A = i[s + 1], E = i[s + 2], P = i[s + 3], (A & 192) === 128 && (E & 192) === 128 && (P & 192) === 128 && (S = (_ & 15) << 18 | (A & 63) << 12 | (E & 63) << 6 | P & 63, S > 65535 && S < 1114112 && (g = S));
5611
+ }
5612
+ }
5613
+ g === null ? (g = 65533, w = 1) : g > 65535 && (g -= 65536, o.push(g >>> 10 & 1023 | 55296), g = 56320 | g & 1023), o.push(g), s += w;
5614
+ }
5615
+ return Mn(o);
5616
+ }
5617
+ const De = 4096;
5618
+ function Mn(i) {
5619
+ const n = i.length;
5620
+ if (n <= De)
5621
+ return String.fromCharCode.apply(String, i);
5622
+ let a = "", o = 0;
5623
+ for (; o < n; )
5624
+ a += String.fromCharCode.apply(
5625
+ String,
5626
+ i.slice(o, o += De)
5627
+ );
5628
+ return a;
5629
+ }
5630
+ function Rn(i, n, a) {
5631
+ let o = "";
5632
+ a = Math.min(i.length, a);
5633
+ for (let s = n; s < a; ++s)
5634
+ o += String.fromCharCode(i[s] & 127);
5635
+ return o;
5636
+ }
5637
+ function qn(i, n, a) {
5638
+ let o = "";
5639
+ a = Math.min(i.length, a);
5640
+ for (let s = n; s < a; ++s)
5641
+ o += String.fromCharCode(i[s]);
5642
+ return o;
5643
+ }
5644
+ function Nn(i, n, a) {
5645
+ const o = i.length;
5646
+ (!n || n < 0) && (n = 0), (!a || a < 0 || a > o) && (a = o);
5647
+ let s = "";
5648
+ for (let _ = n; _ < a; ++_)
5649
+ s += $n[i[_]];
5650
+ return s;
5651
+ }
5652
+ function Un(i, n, a) {
5653
+ const o = i.slice(n, a);
5654
+ let s = "";
5655
+ for (let _ = 0; _ < o.length - 1; _ += 2)
5656
+ s += String.fromCharCode(o[_] + o[_ + 1] * 256);
5657
+ return s;
5658
+ }
5659
+ p.prototype.slice = function(n, a) {
5660
+ const o = this.length;
5661
+ n = ~~n, a = a === void 0 ? o : ~~a, n < 0 ? (n += o, n < 0 && (n = 0)) : n > o && (n = o), a < 0 ? (a += o, a < 0 && (a = 0)) : a > o && (a = o), a < n && (a = n);
5662
+ const s = this.subarray(n, a);
5663
+ return Object.setPrototypeOf(s, p.prototype), s;
5664
+ };
5665
+ function M(i, n, a) {
5666
+ if (i % 1 !== 0 || i < 0)
5667
+ throw new RangeError("offset is not uint");
5668
+ if (i + n > a)
5669
+ throw new RangeError("Trying to access beyond buffer length");
5670
+ }
5671
+ p.prototype.readUintLE = p.prototype.readUIntLE = function(n, a, o) {
5672
+ n = n >>> 0, a = a >>> 0, o || M(n, a, this.length);
5673
+ let s = this[n], _ = 1, g = 0;
5674
+ for (; ++g < a && (_ *= 256); )
5675
+ s += this[n + g] * _;
5676
+ return s;
5677
+ }, p.prototype.readUintBE = p.prototype.readUIntBE = function(n, a, o) {
5678
+ n = n >>> 0, a = a >>> 0, o || M(n, a, this.length);
5679
+ let s = this[n + --a], _ = 1;
5680
+ for (; a > 0 && (_ *= 256); )
5681
+ s += this[n + --a] * _;
5682
+ return s;
5683
+ }, p.prototype.readUint8 = p.prototype.readUInt8 = function(n, a) {
5684
+ return n = n >>> 0, a || M(n, 1, this.length), this[n];
5685
+ }, p.prototype.readUint16LE = p.prototype.readUInt16LE = function(n, a) {
5686
+ return n = n >>> 0, a || M(n, 2, this.length), this[n] | this[n + 1] << 8;
5687
+ }, p.prototype.readUint16BE = p.prototype.readUInt16BE = function(n, a) {
5688
+ return n = n >>> 0, a || M(n, 2, this.length), this[n] << 8 | this[n + 1];
5689
+ }, p.prototype.readUint32LE = p.prototype.readUInt32LE = function(n, a) {
5690
+ return n = n >>> 0, a || M(n, 4, this.length), (this[n] | this[n + 1] << 8 | this[n + 2] << 16) + this[n + 3] * 16777216;
5691
+ }, p.prototype.readUint32BE = p.prototype.readUInt32BE = function(n, a) {
5692
+ return n = n >>> 0, a || M(n, 4, this.length), this[n] * 16777216 + (this[n + 1] << 16 | this[n + 2] << 8 | this[n + 3]);
5693
+ }, p.prototype.readBigUInt64LE = Z(function(n) {
5694
+ n = n >>> 0, oe(n, "offset");
5695
+ const a = this[n], o = this[n + 7];
5696
+ (a === void 0 || o === void 0) && _e(n, this.length - 8);
5697
+ const s = a + this[++n] * 2 ** 8 + this[++n] * 2 ** 16 + this[++n] * 2 ** 24, _ = this[++n] + this[++n] * 2 ** 8 + this[++n] * 2 ** 16 + o * 2 ** 24;
5698
+ return BigInt(s) + (BigInt(_) << BigInt(32));
5699
+ }), p.prototype.readBigUInt64BE = Z(function(n) {
5700
+ n = n >>> 0, oe(n, "offset");
5701
+ const a = this[n], o = this[n + 7];
5702
+ (a === void 0 || o === void 0) && _e(n, this.length - 8);
5703
+ const s = a * 2 ** 24 + this[++n] * 2 ** 16 + this[++n] * 2 ** 8 + this[++n], _ = this[++n] * 2 ** 24 + this[++n] * 2 ** 16 + this[++n] * 2 ** 8 + o;
5704
+ return (BigInt(s) << BigInt(32)) + BigInt(_);
5705
+ }), p.prototype.readIntLE = function(n, a, o) {
5706
+ n = n >>> 0, a = a >>> 0, o || M(n, a, this.length);
5707
+ let s = this[n], _ = 1, g = 0;
5708
+ for (; ++g < a && (_ *= 256); )
5709
+ s += this[n + g] * _;
5710
+ return _ *= 128, s >= _ && (s -= Math.pow(2, 8 * a)), s;
5711
+ }, p.prototype.readIntBE = function(n, a, o) {
5712
+ n = n >>> 0, a = a >>> 0, o || M(n, a, this.length);
5713
+ let s = a, _ = 1, g = this[n + --s];
5714
+ for (; s > 0 && (_ *= 256); )
5715
+ g += this[n + --s] * _;
5716
+ return _ *= 128, g >= _ && (g -= Math.pow(2, 8 * a)), g;
5717
+ }, p.prototype.readInt8 = function(n, a) {
5718
+ return n = n >>> 0, a || M(n, 1, this.length), this[n] & 128 ? (255 - this[n] + 1) * -1 : this[n];
5719
+ }, p.prototype.readInt16LE = function(n, a) {
5720
+ n = n >>> 0, a || M(n, 2, this.length);
5721
+ const o = this[n] | this[n + 1] << 8;
5722
+ return o & 32768 ? o | 4294901760 : o;
5723
+ }, p.prototype.readInt16BE = function(n, a) {
5724
+ n = n >>> 0, a || M(n, 2, this.length);
5725
+ const o = this[n + 1] | this[n] << 8;
5726
+ return o & 32768 ? o | 4294901760 : o;
5727
+ }, p.prototype.readInt32LE = function(n, a) {
5728
+ return n = n >>> 0, a || M(n, 4, this.length), this[n] | this[n + 1] << 8 | this[n + 2] << 16 | this[n + 3] << 24;
5729
+ }, p.prototype.readInt32BE = function(n, a) {
5730
+ return n = n >>> 0, a || M(n, 4, this.length), this[n] << 24 | this[n + 1] << 16 | this[n + 2] << 8 | this[n + 3];
5731
+ }, p.prototype.readBigInt64LE = Z(function(n) {
5732
+ n = n >>> 0, oe(n, "offset");
5733
+ const a = this[n], o = this[n + 7];
5734
+ (a === void 0 || o === void 0) && _e(n, this.length - 8);
5735
+ const s = this[n + 4] + this[n + 5] * 2 ** 8 + this[n + 6] * 2 ** 16 + (o << 24);
5736
+ return (BigInt(s) << BigInt(32)) + BigInt(a + this[++n] * 2 ** 8 + this[++n] * 2 ** 16 + this[++n] * 2 ** 24);
5737
+ }), p.prototype.readBigInt64BE = Z(function(n) {
5738
+ n = n >>> 0, oe(n, "offset");
5739
+ const a = this[n], o = this[n + 7];
5740
+ (a === void 0 || o === void 0) && _e(n, this.length - 8);
5741
+ const s = (a << 24) + // Overflow
5742
+ this[++n] * 2 ** 16 + this[++n] * 2 ** 8 + this[++n];
5743
+ return (BigInt(s) << BigInt(32)) + BigInt(this[++n] * 2 ** 24 + this[++n] * 2 ** 16 + this[++n] * 2 ** 8 + o);
5744
+ }), p.prototype.readFloatLE = function(n, a) {
5745
+ return n = n >>> 0, a || M(n, 4, this.length), r.read(this, n, !0, 23, 4);
5746
+ }, p.prototype.readFloatBE = function(n, a) {
5747
+ return n = n >>> 0, a || M(n, 4, this.length), r.read(this, n, !1, 23, 4);
5748
+ }, p.prototype.readDoubleLE = function(n, a) {
5749
+ return n = n >>> 0, a || M(n, 8, this.length), r.read(this, n, !0, 52, 8);
5750
+ }, p.prototype.readDoubleBE = function(n, a) {
5751
+ return n = n >>> 0, a || M(n, 8, this.length), r.read(this, n, !1, 52, 8);
5752
+ };
5753
+ function q(i, n, a, o, s, _) {
5754
+ if (!p.isBuffer(i))
5755
+ throw new TypeError('"buffer" argument must be a Buffer instance');
5756
+ if (n > s || n < _)
5757
+ throw new RangeError('"value" argument is out of bounds');
5758
+ if (a + o > i.length)
5759
+ throw new RangeError("Index out of range");
5760
+ }
5761
+ p.prototype.writeUintLE = p.prototype.writeUIntLE = function(n, a, o, s) {
5762
+ if (n = +n, a = a >>> 0, o = o >>> 0, !s) {
5763
+ const w = Math.pow(2, 8 * o) - 1;
5764
+ q(this, n, a, o, w, 0);
5765
+ }
5766
+ let _ = 1, g = 0;
5767
+ for (this[a] = n & 255; ++g < o && (_ *= 256); )
5768
+ this[a + g] = n / _ & 255;
5769
+ return a + o;
5770
+ }, p.prototype.writeUintBE = p.prototype.writeUIntBE = function(n, a, o, s) {
5771
+ if (n = +n, a = a >>> 0, o = o >>> 0, !s) {
5772
+ const w = Math.pow(2, 8 * o) - 1;
5773
+ q(this, n, a, o, w, 0);
5774
+ }
5775
+ let _ = o - 1, g = 1;
5776
+ for (this[a + _] = n & 255; --_ >= 0 && (g *= 256); )
5777
+ this[a + _] = n / g & 255;
5778
+ return a + o;
5779
+ }, p.prototype.writeUint8 = p.prototype.writeUInt8 = function(n, a, o) {
5780
+ return n = +n, a = a >>> 0, o || q(this, n, a, 1, 255, 0), this[a] = n & 255, a + 1;
5781
+ }, p.prototype.writeUint16LE = p.prototype.writeUInt16LE = function(n, a, o) {
5782
+ return n = +n, a = a >>> 0, o || q(this, n, a, 2, 65535, 0), this[a] = n & 255, this[a + 1] = n >>> 8, a + 2;
5783
+ }, p.prototype.writeUint16BE = p.prototype.writeUInt16BE = function(n, a, o) {
5784
+ return n = +n, a = a >>> 0, o || q(this, n, a, 2, 65535, 0), this[a] = n >>> 8, this[a + 1] = n & 255, a + 2;
5785
+ }, p.prototype.writeUint32LE = p.prototype.writeUInt32LE = function(n, a, o) {
5786
+ return n = +n, a = a >>> 0, o || q(this, n, a, 4, 4294967295, 0), this[a + 3] = n >>> 24, this[a + 2] = n >>> 16, this[a + 1] = n >>> 8, this[a] = n & 255, a + 4;
5787
+ }, p.prototype.writeUint32BE = p.prototype.writeUInt32BE = function(n, a, o) {
5788
+ return n = +n, a = a >>> 0, o || q(this, n, a, 4, 4294967295, 0), this[a] = n >>> 24, this[a + 1] = n >>> 16, this[a + 2] = n >>> 8, this[a + 3] = n & 255, a + 4;
5789
+ };
5790
+ function Oe(i, n, a, o, s) {
5791
+ Qe(n, o, s, i, a, 7);
5792
+ let _ = Number(n & BigInt(4294967295));
5793
+ i[a++] = _, _ = _ >> 8, i[a++] = _, _ = _ >> 8, i[a++] = _, _ = _ >> 8, i[a++] = _;
5794
+ let g = Number(n >> BigInt(32) & BigInt(4294967295));
5795
+ return i[a++] = g, g = g >> 8, i[a++] = g, g = g >> 8, i[a++] = g, g = g >> 8, i[a++] = g, a;
5796
+ }
5797
+ function Fe(i, n, a, o, s) {
5798
+ Qe(n, o, s, i, a, 7);
5799
+ let _ = Number(n & BigInt(4294967295));
5800
+ i[a + 7] = _, _ = _ >> 8, i[a + 6] = _, _ = _ >> 8, i[a + 5] = _, _ = _ >> 8, i[a + 4] = _;
5801
+ let g = Number(n >> BigInt(32) & BigInt(4294967295));
5802
+ return i[a + 3] = g, g = g >> 8, i[a + 2] = g, g = g >> 8, i[a + 1] = g, g = g >> 8, i[a] = g, a + 8;
5803
+ }
5804
+ p.prototype.writeBigUInt64LE = Z(function(n, a = 0) {
5805
+ return Oe(this, n, a, BigInt(0), BigInt("0xffffffffffffffff"));
5806
+ }), p.prototype.writeBigUInt64BE = Z(function(n, a = 0) {
5807
+ return Fe(this, n, a, BigInt(0), BigInt("0xffffffffffffffff"));
5808
+ }), p.prototype.writeIntLE = function(n, a, o, s) {
5809
+ if (n = +n, a = a >>> 0, !s) {
5810
+ const A = Math.pow(2, 8 * o - 1);
5811
+ q(this, n, a, o, A - 1, -A);
5812
+ }
5813
+ let _ = 0, g = 1, w = 0;
5814
+ for (this[a] = n & 255; ++_ < o && (g *= 256); )
5815
+ n < 0 && w === 0 && this[a + _ - 1] !== 0 && (w = 1), this[a + _] = (n / g >> 0) - w & 255;
5816
+ return a + o;
5817
+ }, p.prototype.writeIntBE = function(n, a, o, s) {
5818
+ if (n = +n, a = a >>> 0, !s) {
5819
+ const A = Math.pow(2, 8 * o - 1);
5820
+ q(this, n, a, o, A - 1, -A);
5821
+ }
5822
+ let _ = o - 1, g = 1, w = 0;
5823
+ for (this[a + _] = n & 255; --_ >= 0 && (g *= 256); )
5824
+ n < 0 && w === 0 && this[a + _ + 1] !== 0 && (w = 1), this[a + _] = (n / g >> 0) - w & 255;
5825
+ return a + o;
5826
+ }, p.prototype.writeInt8 = function(n, a, o) {
5827
+ return n = +n, a = a >>> 0, o || q(this, n, a, 1, 127, -128), n < 0 && (n = 255 + n + 1), this[a] = n & 255, a + 1;
5828
+ }, p.prototype.writeInt16LE = function(n, a, o) {
5829
+ return n = +n, a = a >>> 0, o || q(this, n, a, 2, 32767, -32768), this[a] = n & 255, this[a + 1] = n >>> 8, a + 2;
5830
+ }, p.prototype.writeInt16BE = function(n, a, o) {
5831
+ return n = +n, a = a >>> 0, o || q(this, n, a, 2, 32767, -32768), this[a] = n >>> 8, this[a + 1] = n & 255, a + 2;
5832
+ }, p.prototype.writeInt32LE = function(n, a, o) {
5833
+ return n = +n, a = a >>> 0, o || q(this, n, a, 4, 2147483647, -2147483648), this[a] = n & 255, this[a + 1] = n >>> 8, this[a + 2] = n >>> 16, this[a + 3] = n >>> 24, a + 4;
5834
+ }, p.prototype.writeInt32BE = function(n, a, o) {
5835
+ return n = +n, a = a >>> 0, o || q(this, n, a, 4, 2147483647, -2147483648), n < 0 && (n = 4294967295 + n + 1), this[a] = n >>> 24, this[a + 1] = n >>> 16, this[a + 2] = n >>> 8, this[a + 3] = n & 255, a + 4;
5836
+ }, p.prototype.writeBigInt64LE = Z(function(n, a = 0) {
5837
+ return Oe(this, n, a, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
5838
+ }), p.prototype.writeBigInt64BE = Z(function(n, a = 0) {
5839
+ return Fe(this, n, a, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
5840
+ });
5841
+ function Ve(i, n, a, o, s, _) {
5842
+ if (a + o > i.length)
5843
+ throw new RangeError("Index out of range");
5844
+ if (a < 0)
5845
+ throw new RangeError("Index out of range");
5846
+ }
5847
+ function Ke(i, n, a, o, s) {
5848
+ return n = +n, a = a >>> 0, s || Ve(i, n, a, 4), r.write(i, n, a, o, 23, 4), a + 4;
5849
+ }
5850
+ p.prototype.writeFloatLE = function(n, a, o) {
5851
+ return Ke(this, n, a, !0, o);
5852
+ }, p.prototype.writeFloatBE = function(n, a, o) {
5853
+ return Ke(this, n, a, !1, o);
5854
+ };
5855
+ function $e(i, n, a, o, s) {
5856
+ return n = +n, a = a >>> 0, s || Ve(i, n, a, 8), r.write(i, n, a, o, 52, 8), a + 8;
5857
+ }
5858
+ p.prototype.writeDoubleLE = function(n, a, o) {
5859
+ return $e(this, n, a, !0, o);
5860
+ }, p.prototype.writeDoubleBE = function(n, a, o) {
5861
+ return $e(this, n, a, !1, o);
5862
+ }, p.prototype.copy = function(n, a, o, s) {
5863
+ if (!p.isBuffer(n))
5864
+ throw new TypeError("argument should be a Buffer");
5865
+ if (o || (o = 0), !s && s !== 0 && (s = this.length), a >= n.length && (a = n.length), a || (a = 0), s > 0 && s < o && (s = o), s === o || n.length === 0 || this.length === 0)
5866
+ return 0;
5867
+ if (a < 0)
5868
+ throw new RangeError("targetStart out of bounds");
5869
+ if (o < 0 || o >= this.length)
5870
+ throw new RangeError("Index out of range");
5871
+ if (s < 0)
5872
+ throw new RangeError("sourceEnd out of bounds");
5873
+ s > this.length && (s = this.length), n.length - a < s - o && (s = n.length - a + o);
5874
+ const _ = s - o;
5875
+ return this === n && typeof d.prototype.copyWithin == "function" ? this.copyWithin(a, o, s) : d.prototype.set.call(
5876
+ n,
5877
+ this.subarray(o, s),
5878
+ a
5879
+ ), _;
5880
+ }, p.prototype.fill = function(n, a, o, s) {
5881
+ if (typeof n == "string") {
5882
+ if (typeof a == "string" ? (s = a, a = 0, o = this.length) : typeof o == "string" && (s = o, o = this.length), s !== void 0 && typeof s != "string")
5883
+ throw new TypeError("encoding must be a string");
5884
+ if (typeof s == "string" && !p.isEncoding(s))
5885
+ throw new TypeError("Unknown encoding: " + s);
5886
+ if (n.length === 1) {
5887
+ const g = n.charCodeAt(0);
5888
+ (s === "utf8" && g < 128 || s === "latin1") && (n = g);
5889
+ }
5890
+ } else
5891
+ typeof n == "number" ? n = n & 255 : typeof n == "boolean" && (n = Number(n));
5892
+ if (a < 0 || this.length < a || this.length < o)
5893
+ throw new RangeError("Out of range index");
5894
+ if (o <= a)
5895
+ return this;
5896
+ a = a >>> 0, o = o === void 0 ? this.length : o >>> 0, n || (n = 0);
5897
+ let _;
5898
+ if (typeof n == "number")
5899
+ for (_ = a; _ < o; ++_)
5900
+ this[_] = n;
5901
+ else {
5902
+ const g = p.isBuffer(n) ? n : p.from(n, s), w = g.length;
5903
+ if (w === 0)
5904
+ throw new TypeError('The value "' + n + '" is invalid for argument "value"');
5905
+ for (_ = 0; _ < o - a; ++_)
5906
+ this[_ + a] = g[_ % w];
5907
+ }
5908
+ return this;
5909
+ };
5910
+ const ie = {};
5911
+ function Ie(i, n, a) {
5912
+ ie[i] = class extends a {
5913
+ constructor() {
5914
+ super(), Object.defineProperty(this, "message", {
5915
+ value: n.apply(this, arguments),
5916
+ writable: !0,
5917
+ configurable: !0
5918
+ }), this.name = `${this.name} [${i}]`, this.stack, delete this.name;
5919
+ }
5920
+ get code() {
5921
+ return i;
5922
+ }
5923
+ set code(s) {
5924
+ Object.defineProperty(this, "code", {
5925
+ configurable: !0,
5926
+ enumerable: !0,
5927
+ value: s,
5928
+ writable: !0
5929
+ });
5930
+ }
5931
+ toString() {
5932
+ return `${this.name} [${i}]: ${this.message}`;
5933
+ }
5934
+ };
5935
+ }
5936
+ Ie(
5937
+ "ERR_BUFFER_OUT_OF_BOUNDS",
5938
+ function(i) {
5939
+ return i ? `${i} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
5940
+ },
5941
+ RangeError
5942
+ ), Ie(
5943
+ "ERR_INVALID_ARG_TYPE",
5944
+ function(i, n) {
5945
+ return `The "${i}" argument must be of type number. Received type ${typeof n}`;
5946
+ },
5947
+ TypeError
5948
+ ), Ie(
5949
+ "ERR_OUT_OF_RANGE",
5950
+ function(i, n, a) {
5951
+ let o = `The value of "${i}" is out of range.`, s = a;
5952
+ return Number.isInteger(a) && Math.abs(a) > 2 ** 32 ? s = He(String(a)) : typeof a == "bigint" && (s = String(a), (a > BigInt(2) ** BigInt(32) || a < -(BigInt(2) ** BigInt(32))) && (s = He(s)), s += "n"), o += ` It must be ${n}. Received ${s}`, o;
5953
+ },
5954
+ RangeError
5955
+ );
5956
+ function He(i) {
5957
+ let n = "", a = i.length;
5958
+ const o = i[0] === "-" ? 1 : 0;
5959
+ for (; a >= o + 4; a -= 3)
5960
+ n = `_${i.slice(a - 3, a)}${n}`;
5961
+ return `${i.slice(0, a)}${n}`;
5962
+ }
5963
+ function Dn(i, n, a) {
5964
+ oe(n, "offset"), (i[n] === void 0 || i[n + a] === void 0) && _e(n, i.length - (a + 1));
5965
+ }
5966
+ function Qe(i, n, a, o, s, _) {
5967
+ if (i > a || i < n) {
5968
+ const g = typeof n == "bigint" ? "n" : "";
5969
+ let w;
5970
+ throw _ > 3 ? n === 0 || n === BigInt(0) ? w = `>= 0${g} and < 2${g} ** ${(_ + 1) * 8}${g}` : w = `>= -(2${g} ** ${(_ + 1) * 8 - 1}${g}) and < 2 ** ${(_ + 1) * 8 - 1}${g}` : w = `>= ${n}${g} and <= ${a}${g}`, new ie.ERR_OUT_OF_RANGE("value", w, i);
5971
+ }
5972
+ Dn(o, s, _);
5973
+ }
5974
+ function oe(i, n) {
5975
+ if (typeof i != "number")
5976
+ throw new ie.ERR_INVALID_ARG_TYPE(n, "number", i);
5977
+ }
5978
+ function _e(i, n, a) {
5979
+ throw Math.floor(i) !== i ? (oe(i, a), new ie.ERR_OUT_OF_RANGE(a || "offset", "an integer", i)) : n < 0 ? new ie.ERR_BUFFER_OUT_OF_BOUNDS() : new ie.ERR_OUT_OF_RANGE(
5980
+ a || "offset",
5981
+ `>= ${a ? 1 : 0} and <= ${n}`,
5982
+ i
5983
+ );
5984
+ }
5985
+ const On = /[^+/0-9A-Za-z-_]/g;
5986
+ function Fn(i) {
5987
+ if (i = i.split("=")[0], i = i.trim().replace(On, ""), i.length < 2)
5988
+ return "";
5989
+ for (; i.length % 4 !== 0; )
5990
+ i = i + "=";
5991
+ return i;
5992
+ }
5993
+ function Ae(i, n) {
5994
+ n = n || 1 / 0;
5995
+ let a;
5996
+ const o = i.length;
5997
+ let s = null;
5998
+ const _ = [];
5999
+ for (let g = 0; g < o; ++g) {
6000
+ if (a = i.charCodeAt(g), a > 55295 && a < 57344) {
6001
+ if (!s) {
6002
+ if (a > 56319) {
6003
+ (n -= 3) > -1 && _.push(239, 191, 189);
6004
+ continue;
6005
+ } else if (g + 1 === o) {
6006
+ (n -= 3) > -1 && _.push(239, 191, 189);
6007
+ continue;
6008
+ }
6009
+ s = a;
6010
+ continue;
6011
+ }
6012
+ if (a < 56320) {
6013
+ (n -= 3) > -1 && _.push(239, 191, 189), s = a;
6014
+ continue;
6015
+ }
6016
+ a = (s - 55296 << 10 | a - 56320) + 65536;
6017
+ } else
6018
+ s && (n -= 3) > -1 && _.push(239, 191, 189);
6019
+ if (s = null, a < 128) {
6020
+ if ((n -= 1) < 0)
6021
+ break;
6022
+ _.push(a);
6023
+ } else if (a < 2048) {
6024
+ if ((n -= 2) < 0)
6025
+ break;
6026
+ _.push(
6027
+ a >> 6 | 192,
6028
+ a & 63 | 128
6029
+ );
6030
+ } else if (a < 65536) {
6031
+ if ((n -= 3) < 0)
6032
+ break;
6033
+ _.push(
6034
+ a >> 12 | 224,
6035
+ a >> 6 & 63 | 128,
6036
+ a & 63 | 128
6037
+ );
6038
+ } else if (a < 1114112) {
6039
+ if ((n -= 4) < 0)
6040
+ break;
6041
+ _.push(
6042
+ a >> 18 | 240,
6043
+ a >> 12 & 63 | 128,
6044
+ a >> 6 & 63 | 128,
6045
+ a & 63 | 128
6046
+ );
6047
+ } else
6048
+ throw new Error("Invalid code point");
6049
+ }
6050
+ return _;
6051
+ }
6052
+ function Vn(i) {
6053
+ const n = [];
6054
+ for (let a = 0; a < i.length; ++a)
6055
+ n.push(i.charCodeAt(a) & 255);
6056
+ return n;
6057
+ }
6058
+ function Kn(i, n) {
6059
+ let a, o, s;
6060
+ const _ = [];
6061
+ for (let g = 0; g < i.length && !((n -= 2) < 0); ++g)
6062
+ a = i.charCodeAt(g), o = a >> 8, s = a % 256, _.push(s), _.push(o);
6063
+ return _;
6064
+ }
6065
+ function Ge(i) {
6066
+ return t.toByteArray(Fn(i));
6067
+ }
6068
+ function ge(i, n, a, o) {
6069
+ let s;
6070
+ for (s = 0; s < o && !(s + a >= n.length || s >= i.length); ++s)
6071
+ n[s + a] = i[s];
6072
+ return s;
6073
+ }
6074
+ function H(i, n) {
6075
+ return i instanceof n || i != null && i.constructor != null && i.constructor.name != null && i.constructor.name === n.name;
6076
+ }
6077
+ function Pe(i) {
6078
+ return i !== i;
6079
+ }
6080
+ const $n = function() {
6081
+ const i = "0123456789abcdef", n = new Array(256);
6082
+ for (let a = 0; a < 16; ++a) {
6083
+ const o = a * 16;
6084
+ for (let s = 0; s < 16; ++s)
6085
+ n[o + s] = i[a] + i[s];
6086
+ }
6087
+ return n;
6088
+ }();
6089
+ function Z(i) {
6090
+ return typeof BigInt > "u" ? Hn : i;
6091
+ }
6092
+ function Hn() {
6093
+ throw new Error("BigInt not supported");
6094
+ }
6095
+ })(mn);
6096
+ const It = mn.Buffer, ze = {
5045
6097
  data() {
5046
6098
  return {
5047
6099
  code_verifier: "",
@@ -5058,38 +6110,38 @@ const F = {
5058
6110
  },
5059
6111
  methods: {
5060
6112
  async samlLogin(e) {
5061
- this.code_verifier = N.generateRandomString(28), localStorage.setItem("pkce_code_verifier", this.code_verifier), this.code_challenge = await N.pkceChallengeFromVerifier(this.code_verifier);
5062
- const a = D.getPlatform();
5063
- let n = Buffer.from(`code_challenge=${this.code_challenge}&platform=${a}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.$storage.realm}`).toString("base64");
5064
- e = `${e}&RelayState=${n}`;
5065
- let o = this;
5066
- window.addEventListener("message", async (i) => {
5067
- var r;
5068
- if (!this.allowedOrigins.includes(i.origin))
6113
+ this.code_verifier = le.generateRandomString(28), localStorage.setItem("pkce_code_verifier", this.code_verifier), this.code_challenge = await le.pkceChallengeFromVerifier(this.code_verifier);
6114
+ const t = me.getPlatform();
6115
+ let r = It.from(`code_challenge=${this.code_challenge}&platform=${t}&redirect_uri=${location.origin + "/callback/saml"}&realm=${this.$storage.realm}`).toString("base64");
6116
+ e = `${e}&RelayState=${r}`;
6117
+ let u = this;
6118
+ window.addEventListener("message", async (l) => {
6119
+ var d;
6120
+ if (!this.allowedOrigins.includes(l.origin))
5069
6121
  return console.log("Origin is not allowed!");
5070
- if (i.data.type === "saml" && i.data.code) {
6122
+ if (l.data.type === "saml" && l.data.code) {
5071
6123
  if (this.display === "popup")
5072
- 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") }, "*");
5073
- await o.exchangeAuthCode({ code: i.data.code, code_verifier: localStorage.getItem("pkce_code_verifier") }), localStorage.removeItem("pkce_code_verifier");
6124
+ return (d = window.parent) == null ? void 0 : d.postMessage({ code: l.data.code, state: this.$route.query.state, code_verifier: localStorage.getItem("pkce_code_verifier") }, "*");
6125
+ await u.exchangeAuthCode({ code: l.data.code, code_verifier: localStorage.getItem("pkce_code_verifier") }), localStorage.removeItem("pkce_code_verifier");
5074
6126
  }
5075
- }, { once: !0 }), this.isNative ? await H.open({ url: e, presentationStyle: "popover" }) : window.open(e, "popup", "width=600,height=600");
6127
+ }, { once: !0 }), this.isNative ? await be.open({ url: e, presentationStyle: "popover" }) : window.open(e, "popup", "width=600,height=600");
5076
6128
  },
5077
6129
  async handleSamlRedirect() {
5078
- var n;
5079
- let e, a = { type: "saml" };
5080
- if (this.$route.query.code && (a.code = this.$route.query.code), window.opener)
5081
- window.opener.postMessage(a, location.origin), window.close();
6130
+ var r;
6131
+ let e, t = { type: "saml" };
6132
+ if (this.$route.query.code && (t.code = this.$route.query.code), window.opener)
6133
+ window.opener.postMessage(t, location.origin), window.close();
5082
6134
  else {
5083
- if (this.isNative && this.isIOS && await H.close(), EventBus.$emit("ssoEvent", { name: "setLoading", data: !0 }), this.$route.query.code && (e = this.$route.query.code), e) {
6135
+ if (this.isNative && this.isIOS && await be.close(), EventBus.$emit("ssoEvent", { name: "setLoading", data: !0 }), this.$route.query.code && (e = this.$route.query.code), e) {
5084
6136
  if (this.display === "popup")
5085
- return (n = window.parent) == null ? void 0 : n.postMessage({ code: e, state: this.$route.query.state }, "*");
6137
+ return (r = window.parent) == null ? void 0 : r.postMessage({ code: e, state: this.$route.query.state }, "*");
5086
6138
  await this.exchangeAuthCode({ code: e, code_verifier: localStorage.getItem("pkce_code_verifier") });
5087
6139
  }
5088
6140
  localStorage.removeItem("pkce_code_verifier"), EventBus.$emit("ssoEvent", { name: "setLoading", data: !1 });
5089
6141
  }
5090
6142
  }
5091
6143
  }
5092
- }, ea = {
6144
+ }, At = {
5093
6145
  data() {
5094
6146
  return {
5095
6147
  isQrCodeLogin: !1,
@@ -5111,19 +6163,19 @@ const F = {
5111
6163
  },
5112
6164
  methods: {
5113
6165
  async changeLoginToQr() {
5114
- this.isQrCodeLogin = !0, await J(), await this.initQrCodeLogin();
6166
+ this.isQrCodeLogin = !0, await We(), await this.initQrCodeLogin();
5115
6167
  },
5116
6168
  generateRandomHash() {
5117
- const e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", a = e.length;
5118
- let n = "";
5119
- const o = new Uint32Array(32);
5120
- return window.crypto.getRandomValues(o), o.forEach((i) => {
5121
- n += e.charAt(i % a);
5122
- }), n;
6169
+ const e = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", t = e.length;
6170
+ let r = "";
6171
+ const u = new Uint32Array(32);
6172
+ return window.crypto.getRandomValues(u), u.forEach((l) => {
6173
+ r += e.charAt(l % t);
6174
+ }), r;
5123
6175
  },
5124
6176
  refreshQrCode() {
5125
- var e, a;
5126
- this.qrCode && ((a = (e = document.getElementById("qrCodeContainer")) == null ? void 0 : e.childNodes[0]) == null || a.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new qe({
6177
+ var e, t;
6178
+ this.qrCode && ((t = (e = document.getElementById("qrCodeContainer")) == null ? void 0 : e.childNodes[0]) == null || t.remove()), this.qrCodeHash = this.generateRandomHash(), this.qrCode = new nt({
5127
6179
  width: 300,
5128
6180
  height: 300,
5129
6181
  type: "png",
@@ -5151,23 +6203,23 @@ const F = {
5151
6203
  },
5152
6204
  async startQrCodePooling() {
5153
6205
  this.poolingInterval = setInterval(async () => {
5154
- const [e, a] = await g(X.qrCodePooling({
6206
+ const [e, t] = await L(xe.qrCodePooling({
5155
6207
  qrToken: this.qrCodeHash
5156
6208
  }, this.$storage));
5157
6209
  if (e)
5158
6210
  return this.errorHandler(e);
5159
- 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));
6211
+ t.data.auth_code && (this.display === "npm" && (this.loginSetup({ ...t, isModal: this.isModal }), this.getLoggedInAccounts()), this.loginSuccess({ ...t, isModal: this.isModal }), clearInterval(this.poolingInterval), clearInterval(this.qrCodeRefreshInterval));
5160
6212
  }, 2e3);
5161
6213
  },
5162
6214
  async initQrCodeLogin() {
5163
- this.refreshQrCode(), await J(), await this.startQrCodePooling(), this.qrCodeRefreshInterval = setInterval(() => {
6215
+ this.refreshQrCode(), await We(), await this.startQrCodePooling(), this.qrCodeRefreshInterval = setInterval(() => {
5164
6216
  this.refreshQrCode();
5165
6217
  }, 6e4);
5166
6218
  }
5167
6219
  }
5168
- }, aa = {
6220
+ }, Pt = {
5169
6221
  name: "AuthLogin",
5170
- mixins: [me, ge, he, F, Q, G, z, ea],
6222
+ mixins: [pn, un, _n, ve, ye, ze, D, At],
5171
6223
  props: {
5172
6224
  isModal: {
5173
6225
  type: Boolean,
@@ -5188,16 +6240,16 @@ const F = {
5188
6240
  },
5189
6241
  computed: {
5190
6242
  displayFormLogin() {
5191
- var e, a;
5192
- return (((a = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : a.form_login) && !this.isModal) ?? this.emailLogin;
6243
+ var e, t;
6244
+ return (((t = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : t.form_login) && !this.isModal) ?? this.emailLogin;
5193
6245
  },
5194
6246
  displayResetPasswordLogin() {
5195
- var e, a;
5196
- return (((a = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : a.reset_password) && !this.isModal) ?? !0;
6247
+ var e, t;
6248
+ return (((t = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : t.reset_password) && !this.isModal) ?? !0;
5197
6249
  },
5198
6250
  displayRegisterLogin() {
5199
- var e, a;
5200
- return (((a = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : a.create_account) && !this.isModal) ?? !0;
6251
+ var e, t;
6252
+ return (((t = (e = this.ssoCompany) == null ? void 0 : e.login) == null ? void 0 : t.create_account) && !this.isModal) ?? !0;
5201
6253
  }
5202
6254
  },
5203
6255
  async mounted() {
@@ -5206,7 +6258,7 @@ const F = {
5206
6258
  return await this.handleOktaRedirect();
5207
6259
  if (this.$route.path === "/login/callback/saml")
5208
6260
  return await this.handleSamlRedirect();
5209
- this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && u.$emit("ssoEvent", { name: "setLoading", data: !1 }), u.$emit("ssoEvent", { name: "setInitialize", data: !0 });
6261
+ this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && y.$emit("ssoEvent", { name: "setLoading", data: !1 }), y.$emit("ssoEvent", { name: "setInitialize", data: !0 });
5210
6262
  }
5211
6263
  },
5212
6264
  methods: {
@@ -5214,22 +6266,22 @@ const F = {
5214
6266
  if (this.submitted)
5215
6267
  return;
5216
6268
  this.submitted = !0, this.emailOrUsername = this.emailOrUsername.trim();
5217
- let a = {
6269
+ let t = {
5218
6270
  response_type: this.$route.query.response_type || "token",
5219
6271
  isModal: this.isModal,
5220
6272
  captcha: this.captcha,
5221
6273
  password: this.password
5222
6274
  // captchaToken: await this.getCaptchaToken('account_verify')
5223
6275
  };
5224
- this.emailOrUsername.indexOf("@") !== -1 ? a.email = this.emailOrUsername : a.username = this.emailOrUsername;
5225
- const [n, o] = await g(this.login(a));
5226
- n && console.error(n), this.submitted = !1, o === !0 && (this.emailOrUsername = "", this.password = "");
6276
+ this.emailOrUsername.indexOf("@") !== -1 ? t.email = this.emailOrUsername : t.username = this.emailOrUsername;
6277
+ const [r, u] = await L(this.login(t));
6278
+ r && console.error(r), this.submitted = !1, u === !0 && (this.emailOrUsername = "", this.password = "");
5227
6279
  },
5228
6280
  close() {
5229
- u.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
6281
+ y.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
5230
6282
  },
5231
6283
  createAccountModal() {
5232
- u.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
6284
+ y.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: {} });
5233
6285
  }
5234
6286
  },
5235
6287
  watch: {
@@ -5243,109 +6295,109 @@ const F = {
5243
6295
  return await this.handleSamlRedirect();
5244
6296
  }
5245
6297
  }
5246
- }, na = /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
5247
- /* @__PURE__ */ t("img", {
6298
+ }, jt = /* @__PURE__ */ c("i", { class: "font-17 color-black" }, [
6299
+ /* @__PURE__ */ c("img", {
5248
6300
  src: "https://cdn.tapni.co/icons/down-arrow.png",
5249
6301
  class: "responsive-image",
5250
6302
  style: { width: "35%" }
5251
6303
  })
5252
- ], -1), ta = [
5253
- na
5254
- ], ia = {
6304
+ ], -1), xt = [
6305
+ jt
6306
+ ], Bt = {
5255
6307
  class: "bold no-bottom center-text",
5256
6308
  style: { "margin-top": "63px" }
5257
- }, oa = /* @__PURE__ */ t("p", { class: "half-bottom small-top center-text color-black" }, null, -1), ra = { key: 1 }, sa = { class: "page-login-field half-top" }, ca = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
5258
- /* @__PURE__ */ t("img", {
6309
+ }, Mt = /* @__PURE__ */ c("p", { class: "half-bottom small-top center-text color-black" }, null, -1), Rt = { key: 1 }, qt = { class: "page-login-field half-top" }, Nt = /* @__PURE__ */ c("i", { style: { "padding-top": "15px" } }, [
6310
+ /* @__PURE__ */ c("img", {
5259
6311
  src: "https://cdn.tapni.co/icons/user.png",
5260
6312
  class: "responsive-image",
5261
6313
  style: { width: "50%" }
5262
6314
  })
5263
- ], -1), la = ["placeholder"], da = /* @__PURE__ */ t("em", null, null, -1), pa = { class: "page-login-field half-bottom" }, ua = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
5264
- /* @__PURE__ */ t("img", {
6315
+ ], -1), Ut = ["placeholder"], Dt = /* @__PURE__ */ c("em", null, null, -1), Ot = { class: "page-login-field half-bottom" }, Ft = /* @__PURE__ */ c("i", { style: { "padding-top": "15px" } }, [
6316
+ /* @__PURE__ */ c("img", {
5265
6317
  src: "https://cdn.tapni.co/icons/padlock.png",
5266
6318
  class: "responsive-image",
5267
6319
  style: { width: "50%" }
5268
6320
  })
5269
- ], -1), _a = ["type", "placeholder"], ma = {
6321
+ ], -1), Vt = ["type", "placeholder"], Kt = {
5270
6322
  src: "https://cdn.tapni.co/icons/reveal-password.png",
5271
6323
  class: "responsive-image password-reveal-icon"
5272
- }, ga = {
6324
+ }, $t = {
5273
6325
  src: "https://cdn.tapni.co/icons/hide-password.png",
5274
6326
  class: "responsive-image password-reveal-icon"
5275
- }, ha = {
6327
+ }, Ht = {
5276
6328
  type: "submit",
5277
6329
  class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
5278
- }, fa = { key: 0 }, va = {
6330
+ }, Qt = { key: 0 }, Gt = {
5279
6331
  key: 1,
5280
6332
  class: "button--loading button__loader"
5281
- }, ka = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), ba = /* @__PURE__ */ t("img", {
6333
+ }, Wt = /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), Yt = /* @__PURE__ */ c("img", {
5282
6334
  src: "https://cdn.tapni.co/icons/apple-logo.png",
5283
6335
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
5284
- }, null, -1), ya = { key: 0 }, wa = {
6336
+ }, null, -1), Xt = { key: 0 }, Zt = {
5285
6337
  key: 1,
5286
6338
  class: "button--loading button__loader"
5287
- }, za = /* @__PURE__ */ t("img", {
6339
+ }, Jt = /* @__PURE__ */ c("img", {
5288
6340
  src: "https://cdn.tapni.co/icons/g-logo.png",
5289
6341
  style: { position: "absolute", "margin-left": "-10px", padding: "8px 0", height: "100%" }
5290
- }, null, -1), La = { key: 0 }, Sa = {
6342
+ }, null, -1), ea = { key: 0 }, na = {
5291
6343
  key: 1,
5292
6344
  class: "button--loading-black button__loader"
5293
- }, Ca = /* @__PURE__ */ t("img", {
6345
+ }, ta = /* @__PURE__ */ c("img", {
5294
6346
  src: "https://cdn.tapni.co/icons/facebook-blue.png",
5295
6347
  style: { position: "absolute", "margin-left": "-9px", padding: "10px 0", height: "100%" }
5296
- }, null, -1), Ta = { key: 0 }, ja = {
6348
+ }, null, -1), aa = { key: 0 }, ia = {
5297
6349
  key: 1,
5298
6350
  class: "button--loading-black button__loader"
5299
- }, Pa = /* @__PURE__ */ t("img", {
6351
+ }, oa = /* @__PURE__ */ c("img", {
5300
6352
  src: "https://cdn.tapni.co/icons/outlook.png",
5301
6353
  style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
5302
- }, null, -1), Aa = { key: 0 }, Ia = {
6354
+ }, null, -1), ra = { key: 0 }, sa = {
5303
6355
  key: 1,
5304
6356
  class: "button--loading-black button__loader"
5305
- }, Ea = /* @__PURE__ */ t("img", {
6357
+ }, ca = /* @__PURE__ */ c("img", {
5306
6358
  src: "https://cdn.tapni.co/icons/sso-key.png",
5307
6359
  style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
5308
- }, null, -1), xa = { key: 0 }, qa = {
6360
+ }, null, -1), la = { key: 0 }, da = {
5309
6361
  key: 1,
5310
6362
  class: "button--loading-black button__loader"
5311
- }, Ma = /* @__PURE__ */ t("img", {
6363
+ }, pa = /* @__PURE__ */ c("img", {
5312
6364
  src: "https://cdn.tapni.co/icons/sso-key.png",
5313
6365
  style: { position: "absolute", "margin-left": "-8px", padding: "10px 0", height: "100%" }
5314
- }, null, -1), Ra = { key: 0 }, Na = {
6366
+ }, null, -1), ua = { key: 0 }, _a = {
5315
6367
  key: 1,
5316
6368
  class: "button--loading-black button__loader"
5317
- }, Va = /* @__PURE__ */ t("img", {
6369
+ }, ma = /* @__PURE__ */ c("img", {
5318
6370
  src: "https://cdn.tapni.co/icons/mail.png",
5319
6371
  style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
5320
- }, null, -1), Oa = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Ba = { class: "close-text center-text half-top color-black" }, Da = /* @__PURE__ */ t("br", null, null, -1), Ua = {
6372
+ }, null, -1), ga = /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), ha = { class: "close-text center-text half-top color-black" }, fa = /* @__PURE__ */ c("br", null, null, -1), ka = {
5321
6373
  class: "",
5322
6374
  href: "https://tapni.co/policies/terms-of-service"
5323
- }, Ka = { href: "https://tapni.co/policies/privacy-policy" }, $a = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), Ha = {
6375
+ }, ba = { href: "https://tapni.co/policies/privacy-policy" }, va = /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), ya = {
5324
6376
  key: 9,
5325
6377
  class: "page-login-links"
5326
- }, Fa = /* @__PURE__ */ t("div", { class: "clear" }, null, -1), Qa = { class: "forgot center-text pointer small-top" }, Ga = /* @__PURE__ */ t("br", null, null, -1), Wa = /* @__PURE__ */ t("div", { class: "clear" }, null, -1);
5327
- function Xa(e, a, n, o, i, r) {
5328
- const p = V("router-link");
5329
- return c(), l("form", {
6378
+ }, wa = /* @__PURE__ */ c("div", { class: "clear" }, null, -1), za = { class: "forgot center-text pointer small-top" }, La = /* @__PURE__ */ c("br", null, null, -1), Ca = /* @__PURE__ */ c("div", { class: "clear" }, null, -1);
6379
+ function Sa(e, t, r, u, l, d) {
6380
+ const h = de("router-link");
6381
+ return f(), k("form", {
5330
6382
  class: "page-login content-boxed content-boxed-padding",
5331
- onSubmit: a[13] || (a[13] = w((...s) => r.submit && r.submit(...s), ["prevent"])),
6383
+ onSubmit: t[13] || (t[13] = U((...m) => d.submit && d.submit(...m), ["prevent"])),
5332
6384
  autocomplete: "on",
5333
- style: R(n.isModal ? "max-width: 500px;" : "")
6385
+ style: ce(r.isModal ? "max-width: 500px;" : "")
5334
6386
  }, [
5335
- n.isModal ? (c(), l("a", {
6387
+ r.isModal ? (f(), k("a", {
5336
6388
  key: 0,
5337
- onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
6389
+ onClick: t[0] || (t[0] = (...m) => d.close && d.close(...m)),
5338
6390
  class: "color-black pull-right pointer",
5339
6391
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
5340
- }, ta)) : h("", !0),
5341
- t("h1", ia, d(this.ssoLang[this.appLanguage].login), 1),
5342
- oa,
5343
- r.displayFormLogin ? (c(), l("span", ra, [
5344
- t("div", sa, [
5345
- ca,
5346
- k(t("input", {
5347
- "onUpdate:modelValue": a[1] || (a[1] = (s) => i.emailOrUsername = s),
5348
- onKeydown: a[2] || (a[2] = E(w(() => {
6392
+ }, xt)) : T("", !0),
6393
+ c("h1", Bt, v(this.ssoLang[this.appLanguage].login), 1),
6394
+ Mt,
6395
+ d.displayFormLogin ? (f(), k("span", Rt, [
6396
+ c("div", qt, [
6397
+ Nt,
6398
+ B(c("input", {
6399
+ "onUpdate:modelValue": t[1] || (t[1] = (m) => l.emailOrUsername = m),
6400
+ onKeydown: t[2] || (t[2] = te(U(() => {
5349
6401
  }, ["prevent"]), ["space"])),
5350
6402
  autocorrect: "off",
5351
6403
  autocapitalize: "off",
@@ -5354,144 +6406,144 @@ function Xa(e, a, n, o, i, r) {
5354
6406
  name: "email",
5355
6407
  placeholder: e.ssoLang[this.appLanguage].email_username,
5356
6408
  required: ""
5357
- }, null, 40, la), [
5358
- [x, i.emailOrUsername]
6409
+ }, null, 40, Ut), [
6410
+ [ae, l.emailOrUsername]
5359
6411
  ]),
5360
- da
6412
+ Dt
5361
6413
  ]),
5362
- t("div", pa, [
5363
- ua,
5364
- k(t("input", {
5365
- "onUpdate:modelValue": a[3] || (a[3] = (s) => i.password = s),
5366
- type: i.revealPassword ? "text" : "password",
6414
+ c("div", Ot, [
6415
+ Ft,
6416
+ B(c("input", {
6417
+ "onUpdate:modelValue": t[3] || (t[3] = (m) => l.password = m),
6418
+ type: l.revealPassword ? "text" : "password",
5367
6419
  placeholder: e.ssoLang[this.appLanguage].password,
5368
6420
  name: "password",
5369
6421
  required: "",
5370
6422
  minlength: "8"
5371
- }, null, 8, _a), [
5372
- [K, i.password]
6423
+ }, null, 8, Vt), [
6424
+ [fe, l.password]
5373
6425
  ]),
5374
- t("em", {
5375
- onClick: a[4] || (a[4] = (s) => i.revealPassword = !i.revealPassword),
6426
+ c("em", {
6427
+ onClick: t[4] || (t[4] = (m) => l.revealPassword = !l.revealPassword),
5376
6428
  class: "pointer"
5377
6429
  }, [
5378
- k(t("img", ma, null, 512), [
5379
- [I, !i.revealPassword]
6430
+ B(c("img", Kt, null, 512), [
6431
+ [J, !l.revealPassword]
5380
6432
  ]),
5381
- k(t("img", ga, null, 512), [
5382
- [I, i.revealPassword]
6433
+ B(c("img", $t, null, 512), [
6434
+ [J, l.revealPassword]
5383
6435
  ])
5384
6436
  ])
5385
6437
  ]),
5386
- t("button", ha, [
5387
- i.submitted ? (c(), l("span", va)) : (c(), l("span", fa, d(e.ssoLang[e.appLanguage].login), 1))
6438
+ c("button", Ht, [
6439
+ l.submitted ? (f(), k("span", Gt)) : (f(), k("span", Qt, v(e.ssoLang[e.appLanguage].login), 1))
5388
6440
  ])
5389
- ])) : h("", !0),
5390
- ka,
5391
- e.displayAppleLogin ? (c(), l("a", {
6441
+ ])) : T("", !0),
6442
+ Wt,
6443
+ e.displayAppleLogin ? (f(), k("a", {
5392
6444
  key: 2,
5393
- onClick: a[5] || (a[5] = (...s) => e.appleLogin && e.appleLogin(...s)),
6445
+ onClick: t[5] || (t[5] = (...m) => e.appleLogin && e.appleLogin(...m)),
5394
6446
  class: "button-center button button-90 google-button pointer"
5395
6447
  }, [
5396
- ba,
5397
- e.appleLoad ? (c(), l("span", wa)) : (c(), l("span", ya, d(e.ssoLang[e.appLanguage].sign_in_with) + " Apple", 1))
5398
- ])) : h("", !0),
5399
- e.displayGoogleLogin ? (c(), l("a", {
6448
+ Yt,
6449
+ e.appleLoad ? (f(), k("span", Zt)) : (f(), k("span", Xt, v(e.ssoLang[e.appLanguage].sign_in_with) + " Apple", 1))
6450
+ ])) : T("", !0),
6451
+ e.displayGoogleLogin ? (f(), k("a", {
5400
6452
  key: 3,
5401
- onClick: a[6] || (a[6] = (...s) => e.googleLogin && e.googleLogin(...s)),
6453
+ onClick: t[6] || (t[6] = (...m) => e.googleLogin && e.googleLogin(...m)),
5402
6454
  class: "button-center button button-90 google-button pointer"
5403
6455
  }, [
5404
- za,
5405
- e.googleLoad ? (c(), l("span", Sa)) : (c(), l("span", La, d(e.ssoLang[e.appLanguage].sign_in_with) + " Google", 1))
5406
- ])) : h("", !0),
5407
- e.displayFacebookLogin ? (c(), l("a", {
6456
+ Jt,
6457
+ e.googleLoad ? (f(), k("span", na)) : (f(), k("span", ea, v(e.ssoLang[e.appLanguage].sign_in_with) + " Google", 1))
6458
+ ])) : T("", !0),
6459
+ e.displayFacebookLogin ? (f(), k("a", {
5408
6460
  key: 4,
5409
- onClick: a[7] || (a[7] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
6461
+ onClick: t[7] || (t[7] = (...m) => e.facebookLogin && e.facebookLogin(...m)),
5410
6462
  class: "button-center button button-90 google-button pointer"
5411
6463
  }, [
5412
- Ca,
5413
- e.facebookLoad ? (c(), l("span", ja)) : (c(), l("span", Ta, d(e.ssoLang[e.appLanguage].sign_in_with) + " Facebook", 1))
5414
- ])) : h("", !0),
5415
- e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
6464
+ ta,
6465
+ e.facebookLoad ? (f(), k("span", ia)) : (f(), k("span", aa, v(e.ssoLang[e.appLanguage].sign_in_with) + " Facebook", 1))
6466
+ ])) : T("", !0),
6467
+ e.displayMicrosoftSSOLogin ? T("", !0) : (f(), k("a", {
5416
6468
  key: 5,
5417
- onClick: a[8] || (a[8] = (...s) => e.microsoftLogin && e.microsoftLogin(...s)),
6469
+ onClick: t[8] || (t[8] = (...m) => e.microsoftLogin && e.microsoftLogin(...m)),
5418
6470
  class: "button-center button button-90 google-button pointer"
5419
6471
  }, [
5420
- Pa,
5421
- e.microsoftLoad ? (c(), l("span", Ia)) : (c(), l("span", Aa, d(e.ssoLang[e.appLanguage].sign_in_with) + " Outlook", 1))
6472
+ oa,
6473
+ e.microsoftLoad ? (f(), k("span", sa)) : (f(), k("span", ra, v(e.ssoLang[e.appLanguage].sign_in_with) + " Outlook", 1))
5422
6474
  ])),
5423
- e.displayMicrosoftSSOLogin ? h("", !0) : (c(), l("a", {
6475
+ e.displayMicrosoftSSOLogin ? T("", !0) : (f(), k("a", {
5424
6476
  key: 6,
5425
- onClick: a[9] || (a[9] = (...s) => e.ssoLogin && e.ssoLogin(...s)),
6477
+ onClick: t[9] || (t[9] = (...m) => e.ssoLogin && e.ssoLogin(...m)),
5426
6478
  class: "button-center button button-90 google-button pointer"
5427
6479
  }, [
5428
- Ea,
5429
- e.microsoftSSOLoad ? (c(), l("span", qa)) : (c(), l("span", xa, d(e.ssoLang[e.appLanguage].sign_in_with) + " SSO", 1))
6480
+ ca,
6481
+ e.microsoftSSOLoad ? (f(), k("span", da)) : (f(), k("span", la, v(e.ssoLang[e.appLanguage].sign_in_with) + " SSO", 1))
5430
6482
  ])),
5431
- e.displayMicrosoftSSOLogin ? (c(), l("a", {
6483
+ e.displayMicrosoftSSOLogin ? (f(), k("a", {
5432
6484
  key: 7,
5433
- onClick: a[10] || (a[10] = (s) => e.microsoftLogin("sso")),
6485
+ onClick: t[10] || (t[10] = (m) => e.microsoftLogin("sso")),
5434
6486
  class: "button-center button button-90 google-button pointer"
5435
6487
  }, [
5436
- Ma,
5437
- e.microsoftSSOLoad ? (c(), l("span", Ra, d(e.ssoLang[e.appLanguage].sign_in_with) + " SSO", 1)) : (c(), l("span", Na))
5438
- ])) : h("", !0),
5439
- r.displayFormLogin ? h("", !0) : (c(), l("a", {
6488
+ pa,
6489
+ e.microsoftSSOLoad ? (f(), k("span", ua, v(e.ssoLang[e.appLanguage].sign_in_with) + " SSO", 1)) : (f(), k("span", _a))
6490
+ ])) : T("", !0),
6491
+ d.displayFormLogin ? T("", !0) : (f(), k("a", {
5440
6492
  key: 8,
5441
- onClick: a[11] || (a[11] = (s) => i.emailLogin = !0),
6493
+ onClick: t[11] || (t[11] = (m) => l.emailLogin = !0),
5442
6494
  class: "button-center button button-90 google-button pointer"
5443
6495
  }, [
5444
- Va,
5445
- t("span", null, d(e.ssoLang[e.appLanguage].sign_in_with) + " Email", 1)
6496
+ ma,
6497
+ c("span", null, v(e.ssoLang[e.appLanguage].sign_in_with) + " Email", 1)
5446
6498
  ])),
5447
- Oa,
5448
- t("p", Ba, [
5449
- f(d(e.ssoLang[e.appLanguage].terms_by_signing_in) + " ", 1),
5450
- Da,
5451
- t("a", Ua, d(e.ssoLang[this.appLanguage].terms_of_service), 1),
5452
- f(" " + d(e.ssoLang[e.appLanguage].and) + " ", 1),
5453
- t("a", Ka, d(e.ssoLang[this.appLanguage].privacy_policy), 1)
6499
+ ga,
6500
+ c("p", ha, [
6501
+ I(v(e.ssoLang[e.appLanguage].terms_by_signing_in) + " ", 1),
6502
+ fa,
6503
+ c("a", ka, v(e.ssoLang[this.appLanguage].terms_of_service), 1),
6504
+ I(" " + v(e.ssoLang[e.appLanguage].and) + " ", 1),
6505
+ c("a", ba, v(e.ssoLang[this.appLanguage].privacy_policy), 1)
5454
6506
  ]),
5455
- $a,
5456
- n.isModal ? (c(), l("div", {
6507
+ va,
6508
+ r.isModal ? (f(), k("div", {
5457
6509
  key: 10,
5458
6510
  class: "page-login-links",
5459
- onClick: a[12] || (a[12] = (...s) => r.createAccountModal && r.createAccountModal(...s))
6511
+ onClick: t[12] || (t[12] = (...m) => d.createAccountModal && d.createAccountModal(...m))
5460
6512
  }, [
5461
- t("a", Qa, [
5462
- f(d(e.ssoLang[e.appLanguage].or) + " ", 1),
5463
- Ga,
5464
- f(" " + d(e.ssoLang[e.appLanguage].create_new_account), 1)
6513
+ c("a", za, [
6514
+ I(v(e.ssoLang[e.appLanguage].or) + " ", 1),
6515
+ La,
6516
+ I(" " + v(e.ssoLang[e.appLanguage].create_new_account), 1)
5465
6517
  ]),
5466
- Wa
5467
- ])) : (c(), l("div", Ha, [
5468
- r.displayRegisterLogin ? (c(), P(p, {
6518
+ Ca
6519
+ ])) : (f(), k("div", ya, [
6520
+ d.displayRegisterLogin ? (f(), Y(h, {
5469
6521
  key: 0,
5470
6522
  class: "forgot float-right",
5471
6523
  to: "/register"
5472
6524
  }, {
5473
- default: j(() => [
5474
- f(d(e.ssoLang[e.appLanguage].create_account), 1)
6525
+ default: G(() => [
6526
+ I(v(e.ssoLang[e.appLanguage].create_account), 1)
5475
6527
  ]),
5476
6528
  _: 1
5477
- })) : h("", !0),
5478
- r.displayResetPasswordLogin ? (c(), P(p, {
6529
+ })) : T("", !0),
6530
+ d.displayResetPasswordLogin ? (f(), Y(h, {
5479
6531
  key: 1,
5480
6532
  class: "create float-left",
5481
6533
  to: "/reset"
5482
6534
  }, {
5483
- default: j(() => [
5484
- f(d(e.ssoLang[e.appLanguage].reset_password), 1)
6535
+ default: G(() => [
6536
+ I(v(e.ssoLang[e.appLanguage].reset_password), 1)
5485
6537
  ]),
5486
6538
  _: 1
5487
- })) : h("", !0),
5488
- Fa
6539
+ })) : T("", !0),
6540
+ wa
5489
6541
  ]))
5490
6542
  ], 36);
5491
6543
  }
5492
- const fe = /* @__PURE__ */ T(aa, [["render", Xa]]), Ya = {
6544
+ const hn = /* @__PURE__ */ $(Pt, [["render", Sa]]), Ta = {
5493
6545
  name: "AuthRegister",
5494
- mixins: [me, ge, he, F, z],
6546
+ mixins: [pn, un, _n, ve, D],
5495
6547
  props: {
5496
6548
  isModal: {
5497
6549
  type: Boolean,
@@ -5515,7 +6567,7 @@ const fe = /* @__PURE__ */ T(aa, [["render", Xa]]), Ya = {
5515
6567
  };
5516
6568
  },
5517
6569
  mounted() {
5518
- this.isModal || (this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && u.$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));
6570
+ this.isModal || (this.isLoggedIn ? this.$router.push(this.home) : !this.$route.query.state && !this.$route.query.oauth && !this.$route.params.oauth && y.$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));
5519
6571
  },
5520
6572
  methods: {
5521
6573
  async submit() {
@@ -5538,14 +6590,14 @@ const fe = /* @__PURE__ */ T(aa, [["render", Xa]]), Ya = {
5538
6590
  ic: this.invitationCode,
5539
6591
  captchaToken: await this.getCaptchaToken("account_verify"),
5540
6592
  ref: this.referral
5541
- }, a = await this.register(e);
5542
- this.submitted = !1, a.data && a.data.success && (a.data.message === "SUCCESS_REGISTER" ? (this.isModal ? u.$emit("ssoEvent", { name: "toggleAddAccountModalVerify", data: !1 }) : this.$router.push("/verify"), this.successSnack(this.ssoLang[this.appLanguage].register_success), this.formButtonText = this.ssoLang[this.appLanguage].check_your_inbox) : a.data.message === "SUCCESS_LOGIN" && (this.display === "npm" && (await this.loginSetup({ ...a, isModal: e.isModal }), this.getLoggedInAccounts()), await this.loginSuccess({ ...a, isModal: e.isModal })));
6593
+ }, t = await this.register(e);
6594
+ this.submitted = !1, t.data && t.data.success && (t.data.message === "SUCCESS_REGISTER" ? (this.isModal ? y.$emit("ssoEvent", { name: "toggleAddAccountModalVerify", data: !1 }) : this.$router.push("/verify"), this.successSnack(this.ssoLang[this.appLanguage].register_success), this.formButtonText = this.ssoLang[this.appLanguage].check_your_inbox) : t.data.message === "SUCCESS_LOGIN" && (this.display === "npm" && (await this.loginSetup({ ...t, isModal: e.isModal }), this.getLoggedInAccounts()), await this.loginSuccess({ ...t, isModal: e.isModal })));
5543
6595
  },
5544
6596
  close() {
5545
- u.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
6597
+ y.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
5546
6598
  },
5547
6599
  loginAccountModal() {
5548
- u.$emit("ssoEvent", { name: "toggleAddAccountModalLogin", data: !1 });
6600
+ y.$emit("ssoEvent", { name: "toggleAddAccountModalLogin", data: !1 });
5549
6601
  }
5550
6602
  },
5551
6603
  watch: {
@@ -5556,117 +6608,117 @@ const fe = /* @__PURE__ */ T(aa, [["render", Xa]]), Ya = {
5556
6608
  this.$storage.referral = e;
5557
6609
  }
5558
6610
  }
5559
- }, Za = /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
5560
- /* @__PURE__ */ t("img", {
6611
+ }, Ea = /* @__PURE__ */ c("i", { class: "font-17 color-black" }, [
6612
+ /* @__PURE__ */ c("img", {
5561
6613
  src: "https://cdn.tapni.co/icons/down-arrow.png",
5562
6614
  class: "responsive-image",
5563
6615
  style: { width: "35%" }
5564
6616
  })
5565
- ], -1), Ja = [
5566
- Za
5567
- ], en = {
6617
+ ], -1), Ia = [
6618
+ Ea
6619
+ ], Aa = {
5568
6620
  class: "bold no-bottom center-text",
5569
6621
  style: { "margin-top": "63px" }
5570
- }, an = { class: "half-bottom small-top center-text color-black" }, nn = { key: 0 }, tn = /* @__PURE__ */ t("br", null, null, -1), on = { key: 1 }, rn = { class: "page-login-field half-top" }, sn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
5571
- /* @__PURE__ */ t("img", {
6622
+ }, Pa = { class: "half-bottom small-top center-text color-black" }, ja = { key: 0 }, xa = /* @__PURE__ */ c("br", null, null, -1), Ba = { key: 1 }, Ma = { class: "page-login-field half-top" }, Ra = /* @__PURE__ */ c("i", { style: { "padding-top": "15px" } }, [
6623
+ /* @__PURE__ */ c("img", {
5572
6624
  src: "https://cdn.tapni.co/icons/mail.png",
5573
6625
  class: "responsive-image",
5574
6626
  style: { width: "60%" }
5575
6627
  })
5576
- ], -1), cn = ["placeholder"], ln = /* @__PURE__ */ t("em", null, null, -1), dn = { class: "page-login-field half-top" }, pn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
5577
- /* @__PURE__ */ t("img", {
6628
+ ], -1), qa = ["placeholder"], Na = /* @__PURE__ */ c("em", null, null, -1), Ua = { class: "page-login-field half-top" }, Da = /* @__PURE__ */ c("i", { style: { "padding-top": "15px" } }, [
6629
+ /* @__PURE__ */ c("img", {
5578
6630
  src: "https://cdn.tapni.co/icons/user.png",
5579
6631
  class: "responsive-image",
5580
6632
  style: { width: "50%" }
5581
6633
  })
5582
- ], -1), un = ["placeholder", "disabled"], _n = /* @__PURE__ */ t("em", null, null, -1), mn = { class: "page-login-field half-top half-bottom" }, gn = /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
5583
- /* @__PURE__ */ t("img", {
6634
+ ], -1), Oa = ["placeholder", "disabled"], Fa = /* @__PURE__ */ c("em", null, null, -1), Va = { class: "page-login-field half-top half-bottom" }, Ka = /* @__PURE__ */ c("i", { style: { "padding-top": "15px" } }, [
6635
+ /* @__PURE__ */ c("img", {
5584
6636
  src: "https://cdn.tapni.co/icons/padlock.png",
5585
6637
  class: "responsive-image",
5586
6638
  style: { width: "50%" }
5587
6639
  })
5588
- ], -1), hn = ["type", "placeholder"], fn = {
6640
+ ], -1), $a = ["type", "placeholder"], Ha = {
5589
6641
  src: "https://cdn.tapni.co/icons/reveal-password.png",
5590
6642
  class: "responsive-image password-reveal-icon"
5591
- }, vn = {
6643
+ }, Qa = {
5592
6644
  src: "https://cdn.tapni.co/icons/hide-password.png",
5593
6645
  class: "responsive-image password-reveal-icon"
5594
- }, kn = {
6646
+ }, Ga = {
5595
6647
  type: "submit",
5596
6648
  class: "button black-button google-button bg-tapni-grey pointer button-90 button-center uppercase button-rounded bold full-top"
5597
- }, bn = { key: 0 }, yn = {
6649
+ }, Wa = { key: 0 }, Ya = {
5598
6650
  key: 1,
5599
6651
  class: "button--loading button__loader"
5600
- }, wn = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), zn = /* @__PURE__ */ t("img", {
6652
+ }, Xa = /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin half-top half-bottom" }, null, -1), Za = /* @__PURE__ */ c("img", {
5601
6653
  src: "https://cdn.tapni.co/icons/apple-logo.png",
5602
6654
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
5603
- }, null, -1), Ln = { key: 0 }, Sn = {
6655
+ }, null, -1), Ja = { key: 0 }, ei = {
5604
6656
  key: 1,
5605
6657
  class: "button--loading button__loader"
5606
- }, Cn = /* @__PURE__ */ t("img", {
6658
+ }, ni = /* @__PURE__ */ c("img", {
5607
6659
  src: "https://cdn.tapni.co/icons/g-logo.png",
5608
6660
  style: { position: "absolute", "margin-left": "-9px", padding: "8px 0", height: "100%" }
5609
- }, null, -1), Tn = { key: 0 }, jn = {
6661
+ }, null, -1), ti = { key: 0 }, ai = {
5610
6662
  key: 1,
5611
6663
  class: "button--loading button__loader"
5612
- }, Pn = /* @__PURE__ */ t("img", {
6664
+ }, ii = /* @__PURE__ */ c("img", {
5613
6665
  src: "https://cdn.tapni.co/icons/facebook-blue.png",
5614
6666
  style: { position: "absolute", "margin-left": "-10px", padding: "10px 0", height: "100%" }
5615
- }, null, -1), An = { key: 0 }, In = {
6667
+ }, null, -1), oi = { key: 0 }, ri = {
5616
6668
  key: 1,
5617
6669
  class: "button--loading button__loader"
5618
- }, En = /* @__PURE__ */ t("img", {
6670
+ }, si = /* @__PURE__ */ c("img", {
5619
6671
  src: "https://cdn.tapni.co/icons/mail.png",
5620
6672
  style: { position: "absolute", "margin-left": "-8px", padding: "12px 0", height: "100%" }
5621
- }, null, -1), xn = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), qn = { class: "close-text center-text half-top color-black" }, Mn = /* @__PURE__ */ t("br", null, null, -1), Rn = {
6673
+ }, null, -1), ci = /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), li = { class: "close-text center-text half-top color-black" }, di = /* @__PURE__ */ c("br", null, null, -1), pi = {
5622
6674
  class: "",
5623
6675
  href: "https://tapni.co/policies/terms-of-service"
5624
- }, Nn = { href: "https://tapni.co/policies/privacy-policy" }, Vn = /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), On = {
6676
+ }, ui = { href: "https://tapni.co/policies/privacy-policy" }, _i = /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1), mi = {
5625
6677
  key: 5,
5626
6678
  class: "page-login-links"
5627
- }, Bn = /* @__PURE__ */ t("div", { class: "clear" }, null, -1), Dn = { class: "forgot center-text pointer small-top" }, Un = /* @__PURE__ */ t("br", null, null, -1), Kn = /* @__PURE__ */ t("div", { class: "clear" }, null, -1);
5628
- function $n(e, a, n, o, i, r) {
5629
- const p = V("router-link");
5630
- return c(), l("form", {
6679
+ }, gi = /* @__PURE__ */ c("div", { class: "clear" }, null, -1), hi = { class: "forgot center-text pointer small-top" }, fi = /* @__PURE__ */ c("br", null, null, -1), ki = /* @__PURE__ */ c("div", { class: "clear" }, null, -1);
6680
+ function bi(e, t, r, u, l, d) {
6681
+ const h = de("router-link");
6682
+ return f(), k("form", {
5631
6683
  class: "page-login content-boxed content-boxed-padding",
5632
- onSubmit: a[12] || (a[12] = w((...s) => r.submit && r.submit(...s), ["prevent"])),
6684
+ onSubmit: t[12] || (t[12] = U((...m) => d.submit && d.submit(...m), ["prevent"])),
5633
6685
  autocomplete: "on",
5634
- style: R(n.isModal ? "max-width: 500px;" : "")
6686
+ style: ce(r.isModal ? "max-width: 500px;" : "")
5635
6687
  }, [
5636
- n.isModal ? (c(), l("a", {
6688
+ r.isModal ? (f(), k("a", {
5637
6689
  key: 0,
5638
- onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
6690
+ onClick: t[0] || (t[0] = (...m) => d.close && d.close(...m)),
5639
6691
  class: "color-black pull-right pointer",
5640
6692
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
5641
- }, Ja)) : h("", !0),
5642
- t("h1", en, d(e.ssoLang[this.appLanguage].register), 1),
5643
- t("p", an, [
5644
- i.usernameRegister ? (c(), l("span", nn, [
5645
- f(" t.link/" + d(i.username) + " " + d(e.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
5646
- tn
5647
- ])) : h("", !0)
6693
+ }, Ia)) : T("", !0),
6694
+ c("h1", Aa, v(e.ssoLang[this.appLanguage].register), 1),
6695
+ c("p", Pa, [
6696
+ l.usernameRegister ? (f(), k("span", ja, [
6697
+ I(" t.link/" + v(l.username) + " " + v(e.ssoLang[this.appLanguage].username_is_free) + " ✅ ", 1),
6698
+ xa
6699
+ ])) : T("", !0)
5648
6700
  ]),
5649
- i.emailLogin ? (c(), l("span", on, [
5650
- t("div", rn, [
5651
- sn,
5652
- k(t("input", {
5653
- "onUpdate:modelValue": a[1] || (a[1] = (s) => i.email = s),
5654
- onKeydown: a[2] || (a[2] = E(w(() => {
6701
+ l.emailLogin ? (f(), k("span", Ba, [
6702
+ c("div", Ma, [
6703
+ Ra,
6704
+ B(c("input", {
6705
+ "onUpdate:modelValue": t[1] || (t[1] = (m) => l.email = m),
6706
+ onKeydown: t[2] || (t[2] = te(U(() => {
5655
6707
  }, ["prevent"]), ["space"])),
5656
6708
  type: "email",
5657
6709
  placeholder: e.ssoLang[this.appLanguage].email,
5658
6710
  name: "email",
5659
6711
  required: ""
5660
- }, null, 40, cn), [
5661
- [x, i.email]
6712
+ }, null, 40, qa), [
6713
+ [ae, l.email]
5662
6714
  ]),
5663
- ln
6715
+ Na
5664
6716
  ]),
5665
- t("div", dn, [
5666
- pn,
5667
- k(t("input", {
5668
- "onUpdate:modelValue": a[3] || (a[3] = (s) => i.username = s),
5669
- onKeydown: a[4] || (a[4] = E(w(() => {
6717
+ c("div", Ua, [
6718
+ Da,
6719
+ B(c("input", {
6720
+ "onUpdate:modelValue": t[3] || (t[3] = (m) => l.username = m),
6721
+ onKeydown: t[4] || (t[4] = te(U(() => {
5670
6722
  }, ["prevent"]), ["space"])),
5671
6723
  type: "text",
5672
6724
  autocorrect: "off",
@@ -5675,119 +6727,119 @@ function $n(e, a, n, o, i, r) {
5675
6727
  placeholder: e.ssoLang[this.appLanguage].username,
5676
6728
  name: "username",
5677
6729
  required: "",
5678
- disabled: i.usernameRegister,
5679
- class: b({ "input-disabled": i.usernameRegister })
5680
- }, null, 42, un), [
5681
- [x, i.username]
6730
+ disabled: l.usernameRegister,
6731
+ class: R({ "input-disabled": l.usernameRegister })
6732
+ }, null, 42, Oa), [
6733
+ [ae, l.username]
5682
6734
  ]),
5683
- _n
6735
+ Fa
5684
6736
  ]),
5685
- t("div", mn, [
5686
- gn,
5687
- k(t("input", {
5688
- "onUpdate:modelValue": a[5] || (a[5] = (s) => i.password = s),
5689
- type: i.revealPassword ? "text" : "password",
6737
+ c("div", Va, [
6738
+ Ka,
6739
+ B(c("input", {
6740
+ "onUpdate:modelValue": t[5] || (t[5] = (m) => l.password = m),
6741
+ type: l.revealPassword ? "text" : "password",
5690
6742
  placeholder: e.ssoLang[this.appLanguage].password,
5691
6743
  name: "password",
5692
6744
  required: "",
5693
6745
  minlength: "8"
5694
- }, null, 8, hn), [
5695
- [K, i.password]
6746
+ }, null, 8, $a), [
6747
+ [fe, l.password]
5696
6748
  ]),
5697
- t("em", {
5698
- onClick: a[6] || (a[6] = (s) => i.revealPassword = !i.revealPassword),
6749
+ c("em", {
6750
+ onClick: t[6] || (t[6] = (m) => l.revealPassword = !l.revealPassword),
5699
6751
  class: "pointer"
5700
6752
  }, [
5701
- k(t("img", fn, null, 512), [
5702
- [I, !i.revealPassword]
6753
+ B(c("img", Ha, null, 512), [
6754
+ [J, !l.revealPassword]
5703
6755
  ]),
5704
- k(t("img", vn, null, 512), [
5705
- [I, i.revealPassword]
6756
+ B(c("img", Qa, null, 512), [
6757
+ [J, l.revealPassword]
5706
6758
  ])
5707
6759
  ])
5708
6760
  ]),
5709
- t("button", kn, [
5710
- i.submitted ? (c(), l("span", yn)) : (c(), l("span", bn, d(i.formButtonText), 1))
6761
+ c("button", Ga, [
6762
+ l.submitted ? (f(), k("span", Ya)) : (f(), k("span", Wa, v(l.formButtonText), 1))
5711
6763
  ])
5712
- ])) : h("", !0),
5713
- wn,
5714
- e.displayAppleLogin ? (c(), l("a", {
6764
+ ])) : T("", !0),
6765
+ Xa,
6766
+ e.displayAppleLogin ? (f(), k("a", {
5715
6767
  key: 2,
5716
- onClick: a[7] || (a[7] = (...s) => e.appleLogin && e.appleLogin(...s)),
6768
+ onClick: t[7] || (t[7] = (...m) => e.appleLogin && e.appleLogin(...m)),
5717
6769
  class: "button-center button button-90 google-button pointer"
5718
6770
  }, [
5719
- zn,
5720
- e.appleLoad ? (c(), l("span", Sn)) : (c(), l("span", Ln, d(e.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
5721
- ])) : h("", !0),
5722
- t("a", {
5723
- onClick: a[8] || (a[8] = (...s) => e.googleLogin && e.googleLogin(...s)),
6771
+ Za,
6772
+ e.appleLoad ? (f(), k("span", ei)) : (f(), k("span", Ja, v(e.ssoLang[this.appLanguage].sign_up_with) + " Apple", 1))
6773
+ ])) : T("", !0),
6774
+ c("a", {
6775
+ onClick: t[8] || (t[8] = (...m) => e.googleLogin && e.googleLogin(...m)),
5724
6776
  class: "button-center button button-90 google-button pointer"
5725
6777
  }, [
5726
- Cn,
5727
- e.googleLoad ? (c(), l("span", jn)) : (c(), l("span", Tn, d(e.ssoLang[this.appLanguage].sign_up_with) + " Google", 1))
6778
+ ni,
6779
+ e.googleLoad ? (f(), k("span", ai)) : (f(), k("span", ti, v(e.ssoLang[this.appLanguage].sign_up_with) + " Google", 1))
5728
6780
  ]),
5729
- e.displayFacebookLogin ? (c(), l("a", {
6781
+ e.displayFacebookLogin ? (f(), k("a", {
5730
6782
  key: 3,
5731
- onClick: a[9] || (a[9] = (...s) => e.facebookLogin && e.facebookLogin(...s)),
6783
+ onClick: t[9] || (t[9] = (...m) => e.facebookLogin && e.facebookLogin(...m)),
5732
6784
  class: "button-center button button-90 google-button pointer"
5733
6785
  }, [
5734
- Pn,
5735
- e.facebookLoad ? (c(), l("span", In)) : (c(), l("span", An, d(e.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
5736
- ])) : h("", !0),
5737
- i.emailLogin ? h("", !0) : (c(), l("a", {
6786
+ ii,
6787
+ e.facebookLoad ? (f(), k("span", ri)) : (f(), k("span", oi, v(e.ssoLang[this.appLanguage].sign_up_with) + " Facebook", 1))
6788
+ ])) : T("", !0),
6789
+ l.emailLogin ? T("", !0) : (f(), k("a", {
5738
6790
  key: 4,
5739
- onClick: a[10] || (a[10] = (s) => i.emailLogin = !0),
6791
+ onClick: t[10] || (t[10] = (m) => l.emailLogin = !0),
5740
6792
  class: "button-center button button-90 google-button pointer"
5741
6793
  }, [
5742
- En,
5743
- t("span", null, d(e.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
6794
+ si,
6795
+ c("span", null, v(e.ssoLang[this.appLanguage].sign_up_with) + " Email", 1)
5744
6796
  ])),
5745
- xn,
5746
- t("p", qn, [
5747
- f(d(e.ssoLang[this.appLanguage].terms_by_registering) + " ", 1),
5748
- Mn,
5749
- t("a", Rn, d(e.ssoLang[this.appLanguage].terms_of_service), 1),
5750
- f(" " + d(e.ssoLang[this.appLanguage].and) + " ", 1),
5751
- t("a", Nn, d(e.ssoLang[this.appLanguage].privacy_policy), 1)
6797
+ ci,
6798
+ c("p", li, [
6799
+ I(v(e.ssoLang[this.appLanguage].terms_by_registering) + " ", 1),
6800
+ di,
6801
+ c("a", pi, v(e.ssoLang[this.appLanguage].terms_of_service), 1),
6802
+ I(" " + v(e.ssoLang[this.appLanguage].and) + " ", 1),
6803
+ c("a", ui, v(e.ssoLang[this.appLanguage].privacy_policy), 1)
5752
6804
  ]),
5753
- Vn,
5754
- n.isModal ? (c(), l("div", {
6805
+ _i,
6806
+ r.isModal ? (f(), k("div", {
5755
6807
  key: 6,
5756
6808
  class: "page-login-links",
5757
- onClick: a[11] || (a[11] = (...s) => r.loginAccountModal && r.loginAccountModal(...s))
6809
+ onClick: t[11] || (t[11] = (...m) => d.loginAccountModal && d.loginAccountModal(...m))
5758
6810
  }, [
5759
- t("a", Dn, [
5760
- f(d(e.ssoLang[this.appLanguage].or) + " ", 1),
5761
- Un,
5762
- f(" " + d(e.ssoLang[this.appLanguage].sign_in_with_new), 1)
6811
+ c("a", hi, [
6812
+ I(v(e.ssoLang[this.appLanguage].or) + " ", 1),
6813
+ fi,
6814
+ I(" " + v(e.ssoLang[this.appLanguage].sign_in_with_new), 1)
5763
6815
  ]),
5764
- Kn
5765
- ])) : (c(), l("div", On, [
5766
- v(p, {
6816
+ ki
6817
+ ])) : (f(), k("div", mi, [
6818
+ j(h, {
5767
6819
  class: "create float-right",
5768
6820
  to: "/verify"
5769
6821
  }, {
5770
- default: j(() => [
5771
- f(d(e.ssoLang[this.appLanguage].verify_account), 1)
6822
+ default: G(() => [
6823
+ I(v(e.ssoLang[this.appLanguage].verify_account), 1)
5772
6824
  ]),
5773
6825
  _: 1
5774
6826
  }),
5775
- v(p, {
6827
+ j(h, {
5776
6828
  class: "forgot float-left",
5777
6829
  to: "/login"
5778
6830
  }, {
5779
- default: j(() => [
5780
- f(d(e.ssoLang[this.appLanguage].sign_in), 1)
6831
+ default: G(() => [
6832
+ I(v(e.ssoLang[this.appLanguage].sign_in), 1)
5781
6833
  ]),
5782
6834
  _: 1
5783
6835
  }),
5784
- Bn
6836
+ gi
5785
6837
  ]))
5786
6838
  ], 36);
5787
6839
  }
5788
- const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
6840
+ const fn = /* @__PURE__ */ $(Ta, [["render", bi]]), vi = {
5789
6841
  name: "AuthVerify",
5790
- mixins: [z],
6842
+ mixins: [D],
5791
6843
  props: {
5792
6844
  isModal: {
5793
6845
  type: Boolean,
@@ -5810,7 +6862,7 @@ const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
5810
6862
  },
5811
6863
  methods: {
5812
6864
  init() {
5813
- 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), u.$emit("ssoEvent", { name: "setLoading", data: !1 }));
6865
+ 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), y.$emit("ssoEvent", { name: "setLoading", data: !1 }));
5814
6866
  },
5815
6867
  async submit() {
5816
6868
  if (this.code.length !== 6)
@@ -5824,22 +6876,22 @@ const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
5824
6876
  if (this.submitted)
5825
6877
  return !1;
5826
6878
  this.submitted = !0;
5827
- let a = await this.verify(e);
5828
- 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.appLanguage].verify_account_success)), this.action === "verify" && (this.isModal && (this.email = "", this.code = "", u.$emit("closeModal")), await this.loginSetup(a), this.getLoggedInAccounts(), this.$storage.verifyEmail = "", this.$router.push("/" + a.data.data.username + "#edit"), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success2))) : this.submitted = !1;
6879
+ let t = await this.verify(e);
6880
+ this.submitted = !1, t && t.data && t.data.success === !0 ? (this.action === "reset" && (this.$router.push("/reset?c=" + this.code + "&e=" + this.email), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success)), this.action === "verify" && (this.isModal && (this.email = "", this.code = "", y.$emit("closeModal")), await this.loginSetup(t), this.getLoggedInAccounts(), this.$storage.verifyEmail = "", this.$router.push("/" + t.data.data.username + "#edit"), this.successSnack(this.ssoLang[this.appLanguage].verify_account_success2))) : this.submitted = !1;
5829
6881
  },
5830
6882
  registerAccountModal() {
5831
- u.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: !1 });
6883
+ y.$emit("ssoEvent", { name: "toggleAddAccountModalRegister", data: !1 });
5832
6884
  },
5833
6885
  close() {
5834
- u.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
6886
+ y.$emit("ssoEvent", { name: "toggleAddAccountModal", data: !0 });
5835
6887
  }
5836
6888
  },
5837
6889
  watch: {
5838
6890
  "$storage.verifyEmail"(e) {
5839
6891
  e && (this.email = e);
5840
6892
  },
5841
- "route.name"(e, a) {
5842
- !a && e && this.init();
6893
+ "route.name"(e, t) {
6894
+ !t && e && this.init();
5843
6895
  },
5844
6896
  "route.query": {
5845
6897
  handler(e) {
@@ -5848,135 +6900,135 @@ const ve = /* @__PURE__ */ T(Ya, [["render", $n]]), Hn = {
5848
6900
  deep: !0
5849
6901
  }
5850
6902
  }
5851
- }, C = (e) => (O("data-v-af1531aa"), e = e(), B(), e), Fn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
5852
- /* @__PURE__ */ t("img", {
6903
+ }, K = (e) => (pe("data-v-af1531aa"), e = e(), ue(), e), yi = /* @__PURE__ */ K(() => /* @__PURE__ */ c("i", { class: "font-17 color-black" }, [
6904
+ /* @__PURE__ */ c("img", {
5853
6905
  src: "https://cdn.tapni.co/icons/down-arrow.png",
5854
6906
  class: "responsive-image",
5855
6907
  style: { width: "35%" }
5856
6908
  })
5857
- ], -1)), Qn = [
5858
- Fn
5859
- ], Gn = {
6909
+ ], -1)), wi = [
6910
+ yi
6911
+ ], zi = {
5860
6912
  class: "bold no-bottom center-text",
5861
6913
  style: { "margin-top": "63px" }
5862
- }, Wn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("p", { class: "half-bottom half-top center-text color-black" }, null, -1)), Xn = { class: "page-login-field half-top" }, Yn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
5863
- /* @__PURE__ */ t("img", {
6914
+ }, Li = /* @__PURE__ */ K(() => /* @__PURE__ */ c("p", { class: "half-bottom half-top center-text color-black" }, null, -1)), Ci = { class: "page-login-field half-top" }, Si = /* @__PURE__ */ K(() => /* @__PURE__ */ c("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
6915
+ /* @__PURE__ */ c("img", {
5864
6916
  src: "https://cdn.tapni.co/icons/mail.png",
5865
6917
  class: "responsive-image",
5866
6918
  style: { width: "80%" }
5867
6919
  })
5868
- ], -1)), Zn = ["placeholder"], Jn = /* @__PURE__ */ C(() => /* @__PURE__ */ t("em", null, null, -1)), et = { class: "page-login-field half-top" }, at = /* @__PURE__ */ C(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
5869
- /* @__PURE__ */ t("img", {
6920
+ ], -1)), Ti = ["placeholder"], Ei = /* @__PURE__ */ K(() => /* @__PURE__ */ c("em", null, null, -1)), Ii = { class: "page-login-field half-top" }, Ai = /* @__PURE__ */ K(() => /* @__PURE__ */ c("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
6921
+ /* @__PURE__ */ c("img", {
5870
6922
  src: "https://cdn.tapni.co/icons/password2.png",
5871
6923
  class: "responsive-image",
5872
6924
  style: { width: "100%" }
5873
6925
  })
5874
- ], -1)), nt = ["placeholder"], tt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("em", null, null, -1)), it = {
6926
+ ], -1)), Pi = ["placeholder"], ji = /* @__PURE__ */ K(() => /* @__PURE__ */ c("em", null, null, -1)), xi = {
5875
6927
  type: "submit",
5876
6928
  class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
5877
- }, ot = {
6929
+ }, Bi = {
5878
6930
  key: 0,
5879
6931
  class: "uppercase"
5880
- }, rt = {
6932
+ }, Mi = {
5881
6933
  key: 1,
5882
6934
  class: "button--loading button__loader"
5883
- }, st = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), ct = { class: "close-text center-text half-top color-black" }, lt = ["innerHTML"], dt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("a", { href: "mailto:support@tapni.com?subject=Email Verification" }, " support@tapni.com", -1)), pt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), ut = {
6935
+ }, Ri = /* @__PURE__ */ K(() => /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), qi = { class: "close-text center-text half-top color-black" }, Ni = ["innerHTML"], Ui = /* @__PURE__ */ K(() => /* @__PURE__ */ c("a", { href: "mailto:support@tapni.com?subject=Email Verification" }, " support@tapni.com", -1)), Di = /* @__PURE__ */ K(() => /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin no-bottom" }, null, -1)), Oi = {
5884
6936
  key: 1,
5885
6937
  class: "page-login-links"
5886
- }, _t = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), mt = { class: "forgot center-text pointer small-top" }, gt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("br", null, null, -1)), ht = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1));
5887
- function ft(e, a, n, o, i, r) {
5888
- const p = V("router-link");
5889
- return c(), l("form", {
6938
+ }, Fi = /* @__PURE__ */ K(() => /* @__PURE__ */ c("div", { class: "clear" }, null, -1)), Vi = { class: "forgot center-text pointer small-top" }, Ki = /* @__PURE__ */ K(() => /* @__PURE__ */ c("br", null, null, -1)), $i = /* @__PURE__ */ K(() => /* @__PURE__ */ c("div", { class: "clear" }, null, -1));
6939
+ function Hi(e, t, r, u, l, d) {
6940
+ const h = de("router-link");
6941
+ return f(), k("form", {
5890
6942
  class: "page-login content-boxed content-boxed-padding",
5891
- onSubmit: a[6] || (a[6] = w((...s) => r.submit && r.submit(...s), ["prevent"])),
5892
- style: R(n.isModal ? "max-width: 500px;" : "")
6943
+ onSubmit: t[6] || (t[6] = U((...m) => d.submit && d.submit(...m), ["prevent"])),
6944
+ style: ce(r.isModal ? "max-width: 500px;" : "")
5893
6945
  }, [
5894
- n.isModal ? (c(), l("a", {
6946
+ r.isModal ? (f(), k("a", {
5895
6947
  key: 0,
5896
- onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
6948
+ onClick: t[0] || (t[0] = (...m) => d.close && d.close(...m)),
5897
6949
  class: "color-black pull-right pointer",
5898
6950
  style: { "margin-top": "0px", position: "absolute", right: "-20px", "text-align": "right" }
5899
- }, Qn)) : h("", !0),
5900
- t("h1", Gn, d(e.ssoLang[this.appLanguage].verify_account), 1),
5901
- Wn,
5902
- t("div", Xn, [
5903
- Yn,
5904
- k(t("input", {
6951
+ }, wi)) : T("", !0),
6952
+ c("h1", zi, v(e.ssoLang[this.appLanguage].verify_account), 1),
6953
+ Li,
6954
+ c("div", Ci, [
6955
+ Si,
6956
+ B(c("input", {
5905
6957
  id: "emailInput",
5906
- "onUpdate:modelValue": a[1] || (a[1] = (s) => i.email = s),
5907
- onKeydown: a[2] || (a[2] = E(w(() => {
6958
+ "onUpdate:modelValue": t[1] || (t[1] = (m) => l.email = m),
6959
+ onKeydown: t[2] || (t[2] = te(U(() => {
5908
6960
  }, ["prevent"]), ["space"])),
5909
6961
  type: "email",
5910
6962
  placeholder: e.ssoLang[this.appLanguage].email,
5911
6963
  required: ""
5912
- }, null, 40, Zn), [
5913
- [x, i.email]
6964
+ }, null, 40, Ti), [
6965
+ [ae, l.email]
5914
6966
  ]),
5915
- Jn
6967
+ Ei
5916
6968
  ]),
5917
- t("div", et, [
5918
- at,
5919
- k(t("input", {
6969
+ c("div", Ii, [
6970
+ Ai,
6971
+ B(c("input", {
5920
6972
  id: "codeInput",
5921
- "onUpdate:modelValue": a[3] || (a[3] = (s) => i.code = s),
5922
- onKeydown: a[4] || (a[4] = E(w(() => {
6973
+ "onUpdate:modelValue": t[3] || (t[3] = (m) => l.code = m),
6974
+ onKeydown: t[4] || (t[4] = te(U(() => {
5923
6975
  }, ["prevent"]), ["space"])),
5924
6976
  type: "tel",
5925
6977
  placeholder: e.ssoLang[this.appLanguage].code,
5926
6978
  required: ""
5927
- }, null, 40, nt), [
5928
- [x, i.code]
6979
+ }, null, 40, Pi), [
6980
+ [ae, l.code]
5929
6981
  ]),
5930
- tt
6982
+ ji
5931
6983
  ]),
5932
- t("button", it, [
5933
- i.submitted ? (c(), l("span", rt)) : (c(), l("span", ot, d(e.ssoLang[this.appLanguage].verify_account), 1))
6984
+ c("button", xi, [
6985
+ l.submitted ? (f(), k("span", Mi)) : (f(), k("span", Bi, v(e.ssoLang[this.appLanguage].verify_account), 1))
5934
6986
  ]),
5935
- st,
5936
- t("p", ct, [
5937
- t("span", {
6987
+ Ri,
6988
+ c("p", qi, [
6989
+ c("span", {
5938
6990
  innerHTML: e.ssoLang[this.appLanguage].verify_account_p1
5939
- }, null, 8, lt),
5940
- dt
6991
+ }, null, 8, Ni),
6992
+ Ui
5941
6993
  ]),
5942
- pt,
5943
- n.isModal ? (c(), l("div", {
6994
+ Di,
6995
+ r.isModal ? (f(), k("div", {
5944
6996
  key: 2,
5945
6997
  class: "page-login-links",
5946
- onClick: a[5] || (a[5] = (...s) => r.registerAccountModal && r.registerAccountModal(...s))
6998
+ onClick: t[5] || (t[5] = (...m) => d.registerAccountModal && d.registerAccountModal(...m))
5947
6999
  }, [
5948
- t("a", mt, [
5949
- f(d(e.ssoLang[this.appLanguage].or) + " ", 1),
5950
- gt,
5951
- f(" " + d(e.ssoLang[this.appLanguage].create_new_account), 1)
7000
+ c("a", Vi, [
7001
+ I(v(e.ssoLang[this.appLanguage].or) + " ", 1),
7002
+ Ki,
7003
+ I(" " + v(e.ssoLang[this.appLanguage].create_new_account), 1)
5952
7004
  ]),
5953
- ht
5954
- ])) : (c(), l("div", ut, [
5955
- v(p, {
7005
+ $i
7006
+ ])) : (f(), k("div", Oi, [
7007
+ j(h, {
5956
7008
  class: "create float-right",
5957
7009
  to: "/register"
5958
7010
  }, {
5959
- default: j(() => [
5960
- f(d(e.ssoLang[this.appLanguage].register), 1)
7011
+ default: G(() => [
7012
+ I(v(e.ssoLang[this.appLanguage].register), 1)
5961
7013
  ]),
5962
7014
  _: 1
5963
7015
  }),
5964
- v(p, {
7016
+ j(h, {
5965
7017
  class: "forgot float-left",
5966
7018
  to: "/login"
5967
7019
  }, {
5968
- default: j(() => [
5969
- f(d(e.ssoLang[this.appLanguage].sign_in), 1)
7020
+ default: G(() => [
7021
+ I(v(e.ssoLang[this.appLanguage].sign_in), 1)
5970
7022
  ]),
5971
7023
  _: 1
5972
7024
  }),
5973
- _t
7025
+ Fi
5974
7026
  ]))
5975
7027
  ], 36);
5976
7028
  }
5977
- const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-af1531aa"]]), vt = {
7029
+ const kn = /* @__PURE__ */ $(vi, [["render", Hi], ["__scopeId", "data-v-af1531aa"]]), Qi = {
5978
7030
  name: "AuthReset",
5979
- mixins: [z],
7031
+ mixins: [D],
5980
7032
  data() {
5981
7033
  return {
5982
7034
  loading: !0,
@@ -5992,7 +7044,7 @@ const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-af1531aa
5992
7044
  };
5993
7045
  },
5994
7046
  mounted() {
5995
- 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), u.$emit("ssoEvent", { name: "setLoading", data: !1 });
7047
+ 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), y.$emit("ssoEvent", { name: "setLoading", data: !1 });
5996
7048
  },
5997
7049
  methods: {
5998
7050
  async resetEmail() {
@@ -6019,8 +7071,8 @@ const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-af1531aa
6019
7071
  password: this.password,
6020
7072
  passwordRepeat: this.passwordRepeat,
6021
7073
  captchaToken: await this.getCaptchaToken("password_reset")
6022
- }, a = await this.changePassword(e);
6023
- this.submitted = !1, a === !0 && (this.$router.push("/login"), this.successSnack(this.ssoLang[this.appLanguage].password_reseted_success));
7074
+ }, t = await this.changePassword(e);
7075
+ this.submitted = !1, t === !0 && (this.$router.push("/login"), this.successSnack(this.ssoLang[this.appLanguage].password_reseted_success));
6024
7076
  }
6025
7077
  },
6026
7078
  watch: {
@@ -6028,187 +7080,187 @@ const ke = /* @__PURE__ */ T(Hn, [["render", ft], ["__scopeId", "data-v-af1531aa
6028
7080
  this.$storage.verifyEmail = e;
6029
7081
  }
6030
7082
  }
6031
- }, A = (e) => (O("data-v-4f85b89a"), e = e(), B(), e), kt = {
7083
+ }, X = (e) => (pe("data-v-4f85b89a"), e = e(), ue(), e), Gi = {
6032
7084
  class: "bold no-bottom center-text",
6033
7085
  style: { "margin-top": "63px" }
6034
- }, bt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), yt = { class: "page-login-field half-top color-black" }, wt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
6035
- /* @__PURE__ */ t("img", {
7086
+ }, Wi = /* @__PURE__ */ X(() => /* @__PURE__ */ c("p", { class: "half-bottom small-top center-text color-black" }, null, -1)), Yi = { class: "page-login-field half-top color-black" }, Xi = /* @__PURE__ */ X(() => /* @__PURE__ */ c("i", { style: { "padding-top": "15px", "margin-left": "10px" } }, [
7087
+ /* @__PURE__ */ c("img", {
6036
7088
  src: "https://cdn.tapni.co/icons/mail.png",
6037
7089
  class: "responsive-image",
6038
7090
  style: { width: "80%" }
6039
7091
  })
6040
- ], -1)), zt = ["placeholder"], Lt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("em", null, null, -1)), St = {
7092
+ ], -1)), Zi = ["placeholder"], Ji = /* @__PURE__ */ X(() => /* @__PURE__ */ c("em", null, null, -1)), eo = {
6041
7093
  type: "submit",
6042
7094
  class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
6043
- }, Ct = {
7095
+ }, no = {
6044
7096
  key: 0,
6045
7097
  class: "uppercase"
6046
- }, Tt = {
7098
+ }, to = {
6047
7099
  key: 1,
6048
7100
  class: "button--loading button__loader"
6049
- }, jt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Pt = { class: "close-text center-text half-top color-black" }, At = ["innerHTML"], It = ["href"], Et = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), xt = { class: "page-login-links" }, qt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "clear" }, null, -1)), Mt = {
7101
+ }, ao = /* @__PURE__ */ X(() => /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), io = { class: "close-text center-text half-top color-black" }, oo = ["innerHTML"], ro = ["href"], so = /* @__PURE__ */ X(() => /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), co = { class: "page-login-links" }, lo = /* @__PURE__ */ X(() => /* @__PURE__ */ c("div", { class: "clear" }, null, -1)), po = {
6050
7102
  class: "bold no-bottom center-text",
6051
7103
  style: { "margin-top": "63px" }
6052
- }, Rt = { class: "half-bottom small-top center-text color-black" }, Nt = { class: "page-login-field half-top" }, Vt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
6053
- /* @__PURE__ */ t("img", {
7104
+ }, uo = { class: "half-bottom small-top center-text color-black" }, _o = { class: "page-login-field half-top" }, mo = /* @__PURE__ */ X(() => /* @__PURE__ */ c("i", { style: { "padding-top": "15px" } }, [
7105
+ /* @__PURE__ */ c("img", {
6054
7106
  src: "https://cdn.tapni.co/icons/padlock.png",
6055
7107
  class: "responsive-image",
6056
7108
  style: { width: "50%" }
6057
7109
  })
6058
- ], -1)), Ot = ["type", "placeholder"], Bt = {
7110
+ ], -1)), go = ["type", "placeholder"], ho = {
6059
7111
  src: "https://cdn.tapni.co/icons/reveal-password.png",
6060
7112
  class: "responsive-image password-reveal-icon"
6061
- }, Dt = {
7113
+ }, fo = {
6062
7114
  src: "https://cdn.tapni.co/icons/hide-password.png",
6063
7115
  class: "responsive-image password-reveal-icon"
6064
- }, Ut = { class: "page-login-field half-top" }, Kt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("i", { style: { "padding-top": "15px" } }, [
6065
- /* @__PURE__ */ t("img", {
7116
+ }, ko = { class: "page-login-field half-top" }, bo = /* @__PURE__ */ X(() => /* @__PURE__ */ c("i", { style: { "padding-top": "15px" } }, [
7117
+ /* @__PURE__ */ c("img", {
6066
7118
  src: "https://cdn.tapni.co/icons/padlock.png",
6067
7119
  class: "responsive-image",
6068
7120
  style: { width: "50%" }
6069
7121
  })
6070
- ], -1)), $t = ["type", "placeholder"], Ht = {
7122
+ ], -1)), vo = ["type", "placeholder"], yo = {
6071
7123
  src: "https://cdn.tapni.co/icons/reveal-password.png",
6072
7124
  class: "responsive-image password-reveal-icon"
6073
- }, Ft = {
7125
+ }, wo = {
6074
7126
  src: "https://cdn.tapni.co/icons/hide-password.png",
6075
7127
  class: "responsive-image password-reveal-icon"
6076
- }, Qt = {
7128
+ }, zo = {
6077
7129
  type: "submit",
6078
7130
  class: "button black-button google-button bg-tapni-grey button-90 button-center uppercase bold full-top"
6079
- }, Gt = {
7131
+ }, Lo = {
6080
7132
  key: 0,
6081
7133
  class: "uppercase"
6082
- }, Wt = {
7134
+ }, Co = {
6083
7135
  key: 1,
6084
7136
  class: "button--loading button__loader"
6085
- }, Xt = /* @__PURE__ */ A(() => /* @__PURE__ */ t("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), Yt = { class: "close-text center-text half-top color-black" }, Zt = ["innerHTML"], Jt = ["href"];
6086
- function ei(e, a, n, o, i, r) {
6087
- const p = V("router-link");
6088
- return i.passwordChange ? (c(), l("form", {
7137
+ }, So = /* @__PURE__ */ X(() => /* @__PURE__ */ c("div", { class: "decoration decoration-lines-thin no-bottom half-top" }, null, -1)), To = { class: "close-text center-text half-top color-black" }, Eo = ["innerHTML"], Io = ["href"];
7138
+ function Ao(e, t, r, u, l, d) {
7139
+ const h = de("router-link");
7140
+ return l.passwordChange ? (f(), k("form", {
6089
7141
  key: 1,
6090
7142
  class: "page-login content-boxed content-boxed-padding",
6091
- onSubmit: a[7] || (a[7] = w((...s) => r.changePw && r.changePw(...s), ["prevent"]))
7143
+ onSubmit: t[7] || (t[7] = U((...m) => d.changePw && d.changePw(...m), ["prevent"]))
6092
7144
  }, [
6093
- t("h3", Mt, d(e.ssoLang[this.appLanguage].password_change), 1),
6094
- t("p", Rt, d(e.ssoLang[this.appLanguage].password_new), 1),
6095
- t("div", Nt, [
6096
- Vt,
6097
- k(t("input", {
6098
- "onUpdate:modelValue": a[3] || (a[3] = (s) => i.password = s),
6099
- type: i.revealPassword ? "text" : "password",
7145
+ c("h3", po, v(e.ssoLang[this.appLanguage].password_change), 1),
7146
+ c("p", uo, v(e.ssoLang[this.appLanguage].password_new), 1),
7147
+ c("div", _o, [
7148
+ mo,
7149
+ B(c("input", {
7150
+ "onUpdate:modelValue": t[3] || (t[3] = (m) => l.password = m),
7151
+ type: l.revealPassword ? "text" : "password",
6100
7152
  placeholder: e.ssoLang[this.appLanguage].password,
6101
7153
  required: ""
6102
- }, null, 8, Ot), [
6103
- [K, i.password]
7154
+ }, null, 8, go), [
7155
+ [fe, l.password]
6104
7156
  ]),
6105
- t("em", {
6106
- onClick: a[4] || (a[4] = (s) => i.revealPassword = !i.revealPassword)
7157
+ c("em", {
7158
+ onClick: t[4] || (t[4] = (m) => l.revealPassword = !l.revealPassword)
6107
7159
  }, [
6108
- k(t("img", Bt, null, 512), [
6109
- [I, !i.revealPassword]
7160
+ B(c("img", ho, null, 512), [
7161
+ [J, !l.revealPassword]
6110
7162
  ]),
6111
- k(t("img", Dt, null, 512), [
6112
- [I, i.revealPassword]
7163
+ B(c("img", fo, null, 512), [
7164
+ [J, l.revealPassword]
6113
7165
  ])
6114
7166
  ])
6115
7167
  ]),
6116
- t("div", Ut, [
6117
- Kt,
6118
- k(t("input", {
6119
- "onUpdate:modelValue": a[5] || (a[5] = (s) => i.passwordRepeat = s),
6120
- type: i.revealPassword2 ? "text" : "password",
7168
+ c("div", ko, [
7169
+ bo,
7170
+ B(c("input", {
7171
+ "onUpdate:modelValue": t[5] || (t[5] = (m) => l.passwordRepeat = m),
7172
+ type: l.revealPassword2 ? "text" : "password",
6121
7173
  placeholder: e.ssoLang[this.appLanguage].password_repeat,
6122
7174
  required: ""
6123
- }, null, 8, $t), [
6124
- [K, i.passwordRepeat]
7175
+ }, null, 8, vo), [
7176
+ [fe, l.passwordRepeat]
6125
7177
  ]),
6126
- t("em", {
6127
- onClick: a[6] || (a[6] = (s) => i.revealPassword2 = !i.revealPassword2)
7178
+ c("em", {
7179
+ onClick: t[6] || (t[6] = (m) => l.revealPassword2 = !l.revealPassword2)
6128
7180
  }, [
6129
- k(t("img", Ht, null, 512), [
6130
- [I, !i.revealPassword2]
7181
+ B(c("img", yo, null, 512), [
7182
+ [J, !l.revealPassword2]
6131
7183
  ]),
6132
- k(t("img", Ft, null, 512), [
6133
- [I, i.revealPassword2]
7184
+ B(c("img", wo, null, 512), [
7185
+ [J, l.revealPassword2]
6134
7186
  ])
6135
7187
  ])
6136
7188
  ]),
6137
- t("button", Qt, [
6138
- i.submitted ? (c(), l("span", Wt)) : (c(), l("span", Gt, d(e.ssoLang[this.appLanguage].password_change), 1))
7189
+ c("button", zo, [
7190
+ l.submitted ? (f(), k("span", Co)) : (f(), k("span", Lo, v(e.ssoLang[this.appLanguage].password_change), 1))
6139
7191
  ]),
6140
- Xt,
6141
- t("p", Yt, [
6142
- t("span", {
7192
+ So,
7193
+ c("p", To, [
7194
+ c("span", {
6143
7195
  innerHTML: e.ssoLang[this.appLanguage].reset_password_p2
6144
- }, null, 8, Zt),
6145
- f(),
6146
- t("a", {
7196
+ }, null, 8, Eo),
7197
+ I(),
7198
+ c("a", {
6147
7199
  href: "mailto:support@tapni.com?subject=" + e.ssoLang[this.appLanguage].password_reset_t
6148
- }, " support@tapni.com", 8, Jt)
7200
+ }, " support@tapni.com", 8, Io)
6149
7201
  ])
6150
- ], 32)) : (c(), l("form", {
7202
+ ], 32)) : (f(), k("form", {
6151
7203
  key: 0,
6152
7204
  class: "page-login content-boxed content-boxed-padding",
6153
- onSubmit: a[2] || (a[2] = w((...s) => r.resetEmail && r.resetEmail(...s), ["prevent"])),
7205
+ onSubmit: t[2] || (t[2] = U((...m) => d.resetEmail && d.resetEmail(...m), ["prevent"])),
6154
7206
  autocomplete: "on"
6155
7207
  }, [
6156
- t("h3", kt, d(e.ssoLang[this.appLanguage].reset_password), 1),
6157
- bt,
6158
- t("div", yt, [
6159
- wt,
6160
- k(t("input", {
7208
+ c("h3", Gi, v(e.ssoLang[this.appLanguage].reset_password), 1),
7209
+ Wi,
7210
+ c("div", Yi, [
7211
+ Xi,
7212
+ B(c("input", {
6161
7213
  id: "emailInput",
6162
- "onUpdate:modelValue": a[0] || (a[0] = (s) => i.email = s),
6163
- onKeydown: a[1] || (a[1] = E(w(() => {
7214
+ "onUpdate:modelValue": t[0] || (t[0] = (m) => l.email = m),
7215
+ onKeydown: t[1] || (t[1] = te(U(() => {
6164
7216
  }, ["prevent"]), ["space"])),
6165
7217
  type: "email",
6166
7218
  placeholder: e.ssoLang[this.appLanguage].email,
6167
7219
  required: ""
6168
- }, null, 40, zt), [
6169
- [x, i.email]
7220
+ }, null, 40, Zi), [
7221
+ [ae, l.email]
6170
7222
  ]),
6171
- Lt
7223
+ Ji
6172
7224
  ]),
6173
- t("button", St, [
6174
- i.submitted ? (c(), l("span", Tt)) : (c(), l("span", Ct, d(e.ssoLang[this.appLanguage].reset_password), 1))
7225
+ c("button", eo, [
7226
+ l.submitted ? (f(), k("span", to)) : (f(), k("span", no, v(e.ssoLang[this.appLanguage].reset_password), 1))
6175
7227
  ]),
6176
- jt,
6177
- t("p", Pt, [
6178
- t("span", {
7228
+ ao,
7229
+ c("p", io, [
7230
+ c("span", {
6179
7231
  innerHTML: e.ssoLang[this.appLanguage].reset_password_p1
6180
- }, null, 8, At),
6181
- t("a", {
7232
+ }, null, 8, oo),
7233
+ c("a", {
6182
7234
  href: "mailto:support@tapni.com?subject=" + e.ssoLang[this.appLanguage].password_reset_t
6183
- }, " support@tapni.com", 8, It)
7235
+ }, " support@tapni.com", 8, ro)
6184
7236
  ]),
6185
- Et,
6186
- t("div", xt, [
6187
- v(p, {
7237
+ so,
7238
+ c("div", co, [
7239
+ j(h, {
6188
7240
  class: "create float-right",
6189
7241
  to: "/verify"
6190
7242
  }, {
6191
- default: j(() => [
6192
- f(d(e.ssoLang[this.appLanguage].verify_account), 1)
7243
+ default: G(() => [
7244
+ I(v(e.ssoLang[this.appLanguage].verify_account), 1)
6193
7245
  ]),
6194
7246
  _: 1
6195
7247
  }),
6196
- v(p, {
7248
+ j(h, {
6197
7249
  class: "forgot float-left",
6198
7250
  to: "/login"
6199
7251
  }, {
6200
- default: j(() => [
6201
- f(d(e.ssoLang[this.appLanguage].sign_in), 1)
7252
+ default: G(() => [
7253
+ I(v(e.ssoLang[this.appLanguage].sign_in), 1)
6202
7254
  ]),
6203
7255
  _: 1
6204
7256
  }),
6205
- qt
7257
+ lo
6206
7258
  ])
6207
7259
  ], 32));
6208
7260
  }
6209
- const be = /* @__PURE__ */ T(vt, [["render", ei], ["__scopeId", "data-v-4f85b89a"]]), ai = {
7261
+ const bn = /* @__PURE__ */ $(Qi, [["render", Ao], ["__scopeId", "data-v-4f85b89a"]]), Po = {
6210
7262
  name: "AuthCallback",
6211
- mixins: [Q, G, z],
7263
+ mixins: [ye, ze, D],
6212
7264
  data() {
6213
7265
  return {};
6214
7266
  },
@@ -6222,65 +7274,65 @@ const be = /* @__PURE__ */ T(vt, [["render", ei], ["__scopeId", "data-v-4f85b89a
6222
7274
  },
6223
7275
  methods: {
6224
7276
  inAppRedirect() {
6225
- let e = Me(location.href);
7277
+ let e = tt(location.href);
6226
7278
  return e = e.replace("http", "tapni"), e = e.replace("https", "tapni"), window.open(e);
6227
7279
  }
6228
7280
  }
6229
- }, ni = {
7281
+ }, jo = {
6230
7282
  key: 0,
6231
7283
  style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
6232
- }, ti = /* @__PURE__ */ t("br", null, null, -1), ii = {
7284
+ }, xo = /* @__PURE__ */ c("br", null, null, -1), Bo = {
6233
7285
  key: 1,
6234
7286
  style: { "text-align": "center", width: "80%", margin: "0 auto", "margin-top": "260px" }
6235
7287
  };
6236
- function oi(e, a, n, o, i, r) {
6237
- return c(), l("div", null, [
6238
- (e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (c(), l("h5", ni, [
6239
- f(d(e.ssoLang[this.appLanguage].you_will_be_redirected), 1),
6240
- ti,
6241
- f(" " + d(e.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
6242
- t("span", {
6243
- onClick: a[0] || (a[0] = (...p) => r.inAppRedirect && r.inAppRedirect(...p)),
7288
+ function Mo(e, t, r, u, l, d) {
7289
+ return f(), k("div", null, [
7290
+ (e.$route.query.platform === "android" || e.$route.query.platform === "ios") && !e.isNative ? (f(), k("h5", jo, [
7291
+ I(v(e.ssoLang[this.appLanguage].you_will_be_redirected), 1),
7292
+ xo,
7293
+ I(" " + v(e.ssoLang[this.appLanguage].if_redirect_not_directly) + ", ", 1),
7294
+ c("span", {
7295
+ onClick: t[0] || (t[0] = (...h) => d.inAppRedirect && d.inAppRedirect(...h)),
6244
7296
  style: { color: "blue", cursor: "pointer" }
6245
- }, d(e.ssoLang[this.appLanguage].click_here), 1),
6246
- f(".")
6247
- ])) : (c(), l("h4", ii, d(e.ssoLang[this.appLanguage].please_wait), 1))
7297
+ }, v(e.ssoLang[this.appLanguage].click_here), 1),
7298
+ I(".")
7299
+ ])) : (f(), k("h4", Bo, v(e.ssoLang[this.appLanguage].please_wait), 1))
6248
7300
  ]);
6249
7301
  }
6250
- const ye = /* @__PURE__ */ T(ai, [["render", oi]]), ri = {
7302
+ const vn = /* @__PURE__ */ $(Po, [["render", Mo]]), Ro = {
6251
7303
  name: "ModalOverlay",
6252
- mixins: [z],
7304
+ mixins: [D],
6253
7305
  data() {
6254
7306
  return {
6255
7307
  toggle: !1
6256
7308
  };
6257
7309
  },
6258
7310
  mounted() {
6259
- u.$on("closeModal", () => {
7311
+ y.$on("closeModal", () => {
6260
7312
  this.toggle = !1, window.document.body.style.overflow = "auto", window.document.body.style.height = "auto";
6261
- }), u.$on("openModalOverlay", () => {
7313
+ }), y.$on("openModalOverlay", () => {
6262
7314
  this.toggle = !0;
6263
- }), u.$on("toggleLanguageModal", this.toggleModal), u.$on("toggleSSOModal", this.toggleModal), u.$on("toggleSSOPickModal", this.toggleModal);
7315
+ }), y.$on("toggleLanguageModal", this.toggleModal), y.$on("toggleSSOModal", this.toggleModal), y.$on("toggleSSOPickModal", this.toggleModal);
6264
7316
  },
6265
7317
  methods: {
6266
7318
  toggleModal(e = !0) {
6267
7319
  e && (this.toggle = !this.toggle, this.toggle ? (window.document.body.style.overflow = "hidden", window.document.body.style.height = "100vh") : (window.document.body.style.overflow = "auto", window.document.body.style.height = "auto"));
6268
7320
  },
6269
7321
  toggleEmit() {
6270
- var e, a;
6271
- !this.isLoggedIn && ((a = (e = this.user) == null ? void 0 : e.lead_form) != null && a.forceFilling) || u.$emit("closeModal");
7322
+ var e, t;
7323
+ !this.isLoggedIn && ((t = (e = this.user) == null ? void 0 : e.lead_form) != null && t.forceFilling) || y.$emit("closeModal");
6272
7324
  }
6273
7325
  }
6274
7326
  };
6275
- function si(e, a, n, o, i, r) {
6276
- return c(), l("div", {
6277
- class: b({ "pointer delete-menu": !0, "delete-menu-active": i.toggle }),
6278
- onClick: a[0] || (a[0] = (...p) => r.toggleEmit && r.toggleEmit(...p))
7327
+ function qo(e, t, r, u, l, d) {
7328
+ return f(), k("div", {
7329
+ class: R({ "pointer delete-menu": !0, "delete-menu-active": l.toggle }),
7330
+ onClick: t[0] || (t[0] = (...h) => d.toggleEmit && d.toggleEmit(...h))
6279
7331
  }, null, 2);
6280
7332
  }
6281
- const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa"]]), ci = {
7333
+ const yn = /* @__PURE__ */ $(Ro, [["render", qo], ["__scopeId", "data-v-a128c2fa"]]), No = {
6282
7334
  name: "SSO",
6283
- mixins: [F, Q, G, z],
7335
+ mixins: [ve, ye, ze, D],
6284
7336
  data() {
6285
7337
  return {
6286
7338
  toggle: !1,
@@ -6289,16 +7341,16 @@ const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa
6289
7341
  };
6290
7342
  },
6291
7343
  mounted() {
6292
- u.$on("toggleSSOModal", this.toggleModal), u.$on("closeModal", () => {
7344
+ y.$on("toggleSSOModal", this.toggleModal), y.$on("closeModal", () => {
6293
7345
  this.toggle = !1;
6294
7346
  });
6295
7347
  },
6296
7348
  beforeDestroy() {
6297
- u._events.toggleSSOModal.pop();
7349
+ y._events.toggleSSOModal.pop();
6298
7350
  },
6299
7351
  methods: {
6300
7352
  forceClose() {
6301
- u.$emit("closeModal");
7353
+ y.$emit("closeModal");
6302
7354
  },
6303
7355
  close() {
6304
7356
  this.toggleModal();
@@ -6307,10 +7359,10 @@ const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa
6307
7359
  this.loading = !0;
6308
7360
  const e = await this.getCompanyBySSOEmail({ email: this.email });
6309
7361
  this.loading = !1;
6310
- let a;
7362
+ let t;
6311
7363
  if (!(!e || e.error))
6312
- if (a = Object.keys(e.sso), a.length)
6313
- a.length <= 1 ? (a[0] === "azure" && this.microsoftLogin("sso", e.sso.azure.sso), a[0] === "okta" && this.oktaLogin(e.sso.okta.sso), a[0] === "saml" && this.samlLogin(e.sso.saml.sso.loginUrl)) : (this.forceClose(), u.$emit("toggleSSOPickModal", {
7364
+ if (t = Object.keys(e.sso), t.length)
7365
+ t.length <= 1 ? (t[0] === "azure" && this.microsoftLogin("sso", e.sso.azure.sso), t[0] === "okta" && this.oktaLogin(e.sso.okta.sso), t[0] === "saml" && this.samlLogin(e.sso.saml.sso.loginUrl)) : (this.forceClose(), y.$emit("toggleSSOPickModal", {
6314
7366
  sso: e.sso,
6315
7367
  email: this.email
6316
7368
  }));
@@ -6321,38 +7373,38 @@ const we = /* @__PURE__ */ T(ri, [["render", si], ["__scopeId", "data-v-a128c2fa
6321
7373
  this.toggle = !this.toggle;
6322
7374
  }
6323
7375
  }
6324
- }, li = (e) => (O("data-v-11f19a09"), e = e(), B(), e), di = /* @__PURE__ */ li(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
6325
- /* @__PURE__ */ t("img", {
7376
+ }, Uo = (e) => (pe("data-v-11f19a09"), e = e(), ue(), e), Do = /* @__PURE__ */ Uo(() => /* @__PURE__ */ c("i", { class: "font-17 color-black" }, [
7377
+ /* @__PURE__ */ c("img", {
6326
7378
  src: "https://cdn.tapni.co/icons/down-arrow.png",
6327
7379
  class: "responsive-image",
6328
7380
  style: { width: "45%" }
6329
7381
  })
6330
- ], -1)), pi = [
6331
- di
6332
- ], ui = { class: "bold center-text color-black half-top half-bottom" }, _i = ["placeholder"], mi = {
7382
+ ], -1)), Oo = [
7383
+ Do
7384
+ ], Fo = { class: "bold center-text color-black half-top half-bottom" }, Vo = ["placeholder"], Ko = {
6333
7385
  type: "submit",
6334
7386
  class: "button black-button white-button button-full",
6335
7387
  style: { margin: "0 auto", "margin-top": "25px", "margin-bottom": "30px" }
6336
- }, gi = { key: 0 }, hi = {
7388
+ }, $o = { key: 0 }, Ho = {
6337
7389
  key: 1,
6338
7390
  class: "button--loading button__loader"
6339
7391
  };
6340
- function fi(e, a, n, o, i, r) {
6341
- return c(), l("form", {
6342
- onSubmit: a[3] || (a[3] = w((...p) => r.submit && r.submit(...p), ["prevent"])),
6343
- class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": i.toggle }]),
7392
+ function Qo(e, t, r, u, l, d) {
7393
+ return f(), k("form", {
7394
+ onSubmit: t[3] || (t[3] = U((...h) => d.submit && d.submit(...h), ["prevent"])),
7395
+ class: R(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": l.toggle }]),
6344
7396
  style: { height: "auto", "margin-top": "-172.5px" }
6345
7397
  }, [
6346
- t("a", {
6347
- onClick: a[0] || (a[0] = (...p) => r.forceClose && r.forceClose(...p)),
7398
+ c("a", {
7399
+ onClick: t[0] || (t[0] = (...h) => d.forceClose && d.forceClose(...h)),
6348
7400
  class: "color-black pull-right pointer",
6349
7401
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
6350
- }, pi),
6351
- t("h3", ui, d(e.ssoLang[e.appLanguage].enter_company_email), 1),
6352
- t("div", null, [
6353
- k(t("input", {
7402
+ }, Oo),
7403
+ c("h3", Fo, v(e.ssoLang[e.appLanguage].enter_company_email), 1),
7404
+ c("div", null, [
7405
+ B(c("input", {
6354
7406
  type: "text",
6355
- "onUpdate:modelValue": a[1] || (a[1] = (p) => i.email = p),
7407
+ "onUpdate:modelValue": t[1] || (t[1] = (h) => l.email = h),
6356
7408
  placeholder: e.ssoLang[this.appLanguage].email,
6357
7409
  autocomplete: "off",
6358
7410
  autocorrect: "off",
@@ -6361,20 +7413,20 @@ function fi(e, a, n, o, i, r) {
6361
7413
  class: "edit-input h-40 lh-40",
6362
7414
  style: { width: "80%" },
6363
7415
  required: "",
6364
- onKeydown: a[2] || (a[2] = E(w(() => {
7416
+ onKeydown: t[2] || (t[2] = te(U(() => {
6365
7417
  }, ["prevent"]), ["space"]))
6366
- }, null, 40, _i), [
6367
- [x, i.email]
7418
+ }, null, 40, Vo), [
7419
+ [ae, l.email]
6368
7420
  ])
6369
7421
  ]),
6370
- t("button", mi, [
6371
- i.loading ? (c(), l("span", hi)) : (c(), l("span", gi, d(e.ssoLang[e.appLanguage].continue), 1))
7422
+ c("button", Ko, [
7423
+ l.loading ? (f(), k("span", Ho)) : (f(), k("span", $o, v(e.ssoLang[e.appLanguage].continue), 1))
6372
7424
  ])
6373
7425
  ], 34);
6374
7426
  }
6375
- const ze = /* @__PURE__ */ T(ci, [["render", fi], ["__scopeId", "data-v-11f19a09"]]), vi = {
7427
+ const wn = /* @__PURE__ */ $(No, [["render", Qo], ["__scopeId", "data-v-11f19a09"]]), Go = {
6376
7428
  name: "SSOPick",
6377
- mixins: [F, Q, G, z],
7429
+ mixins: [ve, ye, ze, D],
6378
7430
  data() {
6379
7431
  return {
6380
7432
  toggle: !1,
@@ -6386,16 +7438,16 @@ const ze = /* @__PURE__ */ T(ci, [["render", fi], ["__scopeId", "data-v-11f19a09
6386
7438
  };
6387
7439
  },
6388
7440
  mounted() {
6389
- u.$on("toggleSSOPickModal", this.toggleModal), u.$on("closeModal", () => {
7441
+ y.$on("toggleSSOPickModal", this.toggleModal), y.$on("closeModal", () => {
6390
7442
  this.toggle = !1;
6391
7443
  });
6392
7444
  },
6393
7445
  beforeDestroy() {
6394
- u._events.toggleSSOPickModal.pop();
7446
+ y._events.toggleSSOPickModal.pop();
6395
7447
  },
6396
7448
  methods: {
6397
7449
  forceClose() {
6398
- u.$emit("closeModal");
7450
+ y.$emit("closeModal");
6399
7451
  },
6400
7452
  close() {
6401
7453
  this.toggleModal();
@@ -6407,76 +7459,76 @@ const ze = /* @__PURE__ */ T(ci, [["render", fi], ["__scopeId", "data-v-11f19a09
6407
7459
  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;
6408
7460
  }
6409
7461
  }
6410
- }, W = (e) => (O("data-v-4f821f65"), e = e(), B(), e), ki = /* @__PURE__ */ W(() => /* @__PURE__ */ t("i", { class: "font-17 color-black" }, [
6411
- /* @__PURE__ */ t("img", {
7462
+ }, Le = (e) => (pe("data-v-4f821f65"), e = e(), ue(), e), Wo = /* @__PURE__ */ Le(() => /* @__PURE__ */ c("i", { class: "font-17 color-black" }, [
7463
+ /* @__PURE__ */ c("img", {
6412
7464
  src: "https://cdn.tapni.co/icons/down-arrow.png",
6413
7465
  class: "responsive-image",
6414
7466
  style: { width: "45%" }
6415
7467
  })
6416
- ], -1)), bi = [
6417
- ki
6418
- ], yi = { class: "bold center-text color-black half-top half-bottom" }, wi = /* @__PURE__ */ W(() => /* @__PURE__ */ t("img", {
7468
+ ], -1)), Yo = [
7469
+ Wo
7470
+ ], Xo = { class: "bold center-text color-black half-top half-bottom" }, Zo = /* @__PURE__ */ Le(() => /* @__PURE__ */ c("img", {
6419
7471
  src: "https://cdn.tapni.co/icons/azure.png",
6420
7472
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
6421
- }, null, -1)), zi = { key: 0 }, Li = {
7473
+ }, null, -1)), Jo = { key: 0 }, er = {
6422
7474
  key: 1,
6423
7475
  class: "button--loading button__loader"
6424
- }, Si = /* @__PURE__ */ W(() => /* @__PURE__ */ t("img", {
7476
+ }, nr = /* @__PURE__ */ Le(() => /* @__PURE__ */ c("img", {
6425
7477
  src: "https://cdn.tapni.co/icons/okta.png",
6426
7478
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
6427
- }, null, -1)), Ci = { key: 0 }, Ti = {
7479
+ }, null, -1)), tr = { key: 0 }, ar = {
6428
7480
  key: 1,
6429
7481
  class: "button--loading button__loader"
6430
- }, ji = /* @__PURE__ */ W(() => /* @__PURE__ */ t("img", {
7482
+ }, ir = /* @__PURE__ */ Le(() => /* @__PURE__ */ c("img", {
6431
7483
  src: "https://cdn.tapni.co/icons/saml.png",
6432
7484
  style: { position: "absolute", "margin-left": "-11px", padding: "8px 0", height: "100%" }
6433
- }, null, -1)), Pi = { key: 0 }, Ai = {
7485
+ }, null, -1)), or = { key: 0 }, rr = {
6434
7486
  key: 1,
6435
7487
  class: "button--loading button__loader"
6436
7488
  };
6437
- function Ii(e, a, n, o, i, r) {
6438
- var p, s, _;
6439
- return c(), l("form", {
6440
- onSubmit: a[4] || (a[4] = w(() => {
7489
+ function sr(e, t, r, u, l, d) {
7490
+ var h, m, b;
7491
+ return f(), k("form", {
7492
+ onSubmit: t[4] || (t[4] = U(() => {
6441
7493
  }, ["prevent"])),
6442
- class: b(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": i.toggle }]),
7494
+ class: R(["menu-wrapper menu-light menu-modal center-text activate-page", { "active-menu": l.toggle }]),
6443
7495
  style: { height: "auto", "margin-top": "-172.5px" }
6444
7496
  }, [
6445
- t("a", {
6446
- onClick: a[0] || (a[0] = (...L) => r.forceClose && r.forceClose(...L)),
7497
+ c("a", {
7498
+ onClick: t[0] || (t[0] = (...C) => d.forceClose && d.forceClose(...C)),
6447
7499
  class: "color-black pull-right pointer",
6448
7500
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
6449
- }, bi),
6450
- t("h3", yi, d(e.ssoLang[e.appLanguage].select_sign_method), 1),
6451
- (p = i.sso) != null && p.azure ? (c(), l("a", {
7501
+ }, Yo),
7502
+ c("h3", Xo, v(e.ssoLang[e.appLanguage].select_sign_method), 1),
7503
+ (h = l.sso) != null && h.azure ? (f(), k("a", {
6452
7504
  key: 0,
6453
- onClick: a[1] || (a[1] = (L) => r.ssoLogin("azure")),
7505
+ onClick: t[1] || (t[1] = (C) => d.ssoLogin("azure")),
6454
7506
  class: "button-center button black-button button-90 google-button pointer"
6455
7507
  }, [
6456
- wi,
6457
- i.azureLoad ? (c(), l("span", Li)) : (c(), l("span", zi, d(e.ssoLang[e.appLanguage].sign_in_with) + " Azure", 1))
6458
- ])) : h("", !0),
6459
- (s = i.sso) != null && s.okta ? (c(), l("a", {
7508
+ Zo,
7509
+ l.azureLoad ? (f(), k("span", er)) : (f(), k("span", Jo, v(e.ssoLang[e.appLanguage].sign_in_with) + " Azure", 1))
7510
+ ])) : T("", !0),
7511
+ (m = l.sso) != null && m.okta ? (f(), k("a", {
6460
7512
  key: 1,
6461
- onClick: a[2] || (a[2] = (L) => r.ssoLogin("okta")),
7513
+ onClick: t[2] || (t[2] = (C) => d.ssoLogin("okta")),
6462
7514
  class: "button-center button black-button button-90 google-button pointer"
6463
7515
  }, [
6464
- Si,
6465
- i.oktaLoad ? (c(), l("span", Ti)) : (c(), l("span", Ci, d(e.ssoLang[e.appLanguage].sign_in_with) + " Okta", 1))
6466
- ])) : h("", !0),
6467
- (_ = i.sso) != null && _.saml ? (c(), l("a", {
7516
+ nr,
7517
+ l.oktaLoad ? (f(), k("span", ar)) : (f(), k("span", tr, v(e.ssoLang[e.appLanguage].sign_in_with) + " Okta", 1))
7518
+ ])) : T("", !0),
7519
+ (b = l.sso) != null && b.saml ? (f(), k("a", {
6468
7520
  key: 2,
6469
- onClick: a[3] || (a[3] = (L) => r.ssoLogin("saml")),
7521
+ onClick: t[3] || (t[3] = (C) => d.ssoLogin("saml")),
6470
7522
  class: "button-center button black-button button-90 google-button pointer"
6471
7523
  }, [
6472
- ji,
6473
- i.samlLoad ? (c(), l("span", Ai)) : (c(), l("span", Pi, d(e.ssoLang[e.appLanguage].sign_in_with) + " SAML", 1))
6474
- ])) : h("", !0)
7524
+ ir,
7525
+ l.samlLoad ? (f(), k("span", rr)) : (f(), k("span", or, v(e.ssoLang[e.appLanguage].sign_in_with) + " SAML", 1))
7526
+ ])) : T("", !0)
6475
7527
  ], 34);
6476
7528
  }
6477
- const Le = /* @__PURE__ */ T(vi, [["render", Ii], ["__scopeId", "data-v-4f821f65"]]), Ei = {
7529
+ const zn = /* @__PURE__ */ $(Go, [["render", sr], ["__scopeId", "data-v-4f821f65"]]), cr = {
6478
7530
  name: "LinkIcon",
6479
- mixins: [z],
7531
+ mixins: [D],
6480
7532
  props: {
6481
7533
  linkAdding: {
6482
7534
  type: Boolean,
@@ -6546,229 +7598,229 @@ const Le = /* @__PURE__ */ T(vi, [["render", Ii], ["__scopeId", "data-v-4f821f65
6546
7598
  }
6547
7599
  },
6548
7600
  methods: {}
6549
- }, xi = ["src", "alt"], qi = ["src", "alt"], Mi = ["src", "alt"], Ri = ["src", "alt"];
6550
- function Ni(e, a, n, o, i, r) {
6551
- var p, s;
6552
- return c(), l("a", {
6553
- class: b(["disable-select", n.linkStyle + (n.disabled ? " opacity-50" : "")]),
6554
- style: R(
6555
- (n.editing ? "cursor: move" : "cursor: pointer") + "!important; overflow: visible;"
7601
+ }, lr = ["src", "alt"], dr = ["src", "alt"], pr = ["src", "alt"], ur = ["src", "alt"];
7602
+ function _r(e, t, r, u, l, d) {
7603
+ var h, m;
7604
+ return f(), k("a", {
7605
+ class: R(["disable-select", r.linkStyle + (r.disabled ? " opacity-50" : "")]),
7606
+ style: ce(
7607
+ (r.editing ? "cursor: move" : "cursor: pointer") + "!important; overflow: visible;"
6556
7608
  )
6557
7609
  }, [
6558
- t("span", {
6559
- class: b({
7610
+ c("span", {
7611
+ class: R({
6560
7612
  "user-link-img": !0,
6561
- "pulse pulse-border": n.pulse,
6562
- "link-drag": n.editing
7613
+ "pulse pulse-border": r.pulse,
7614
+ "link-drag": r.editing
6563
7615
  }),
6564
- style: R({ ...(p = n.customLinkStyle) == null ? void 0 : p.linkIcon })
7616
+ style: ce({ ...(h = r.customLinkStyle) == null ? void 0 : h.linkIcon })
6565
7617
  }, [
6566
- !n.data.custom_icon && n.data.type !== "customlink" ? (c(), l("img", {
7618
+ !r.data.custom_icon && r.data.type !== "customlink" ? (f(), k("img", {
6567
7619
  key: 0,
6568
- src: "https://cdn.tapni.co/icons/" + n.data.type + ".png",
7620
+ src: "https://cdn.tapni.co/icons/" + r.data.type + ".png",
6569
7621
  class: "responsive-image",
6570
- alt: n.data.text,
6571
- onLoad: a[0] || (a[0] = (_) => e.$emit("loaded")),
6572
- onError: a[1] || (a[1] = (_) => e.$emit("loaded"))
6573
- }, null, 40, xi)) : !n.data.custom_icon && n.data.type === "customlink" && n.linkAdding ? (c(), l("img", {
7622
+ alt: r.data.text,
7623
+ onLoad: t[0] || (t[0] = (b) => e.$emit("loaded")),
7624
+ onError: t[1] || (t[1] = (b) => e.$emit("loaded"))
7625
+ }, null, 40, lr)) : !r.data.custom_icon && r.data.type === "customlink" && r.linkAdding ? (f(), k("img", {
6574
7626
  key: 1,
6575
7627
  src: "https://cdn.tapni.co/icons/custom-icon-128.gif",
6576
7628
  class: "responsive-image",
6577
- alt: n.data.text,
6578
- onLoad: a[2] || (a[2] = (_) => e.$emit("loaded")),
6579
- onError: a[3] || (a[3] = (_) => e.$emit("loaded"))
6580
- }, null, 40, qi)) : !n.data.custom_icon && n.data.type === "customlink" && !n.linkAdding ? (c(), l("img", {
7629
+ alt: r.data.text,
7630
+ onLoad: t[2] || (t[2] = (b) => e.$emit("loaded")),
7631
+ onError: t[3] || (t[3] = (b) => e.$emit("loaded"))
7632
+ }, null, 40, dr)) : !r.data.custom_icon && r.data.type === "customlink" && !r.linkAdding ? (f(), k("img", {
6581
7633
  key: 2,
6582
7634
  src: "https://cdn.tapni.co/icons/customlink.png",
6583
7635
  class: "responsive-image",
6584
- alt: n.data.text,
6585
- onLoad: a[4] || (a[4] = (_) => e.$emit("loaded")),
6586
- onError: a[5] || (a[5] = (_) => e.$emit("loaded"))
6587
- }, null, 40, Mi)) : (c(), l("img", {
7636
+ alt: r.data.text,
7637
+ onLoad: t[4] || (t[4] = (b) => e.$emit("loaded")),
7638
+ onError: t[5] || (t[5] = (b) => e.$emit("loaded"))
7639
+ }, null, 40, pr)) : (f(), k("img", {
6588
7640
  key: 3,
6589
- src: n.data.style.custom_icon,
7641
+ src: r.data.style.custom_icon,
6590
7642
  style: { "border-radius": "22.46%" },
6591
7643
  class: "responsive-image",
6592
- alt: n.data.text,
6593
- onLoad: a[6] || (a[6] = (_) => e.$emit("loaded")),
6594
- onError: a[7] || (a[7] = (_) => e.$emit("loaded"))
6595
- }, null, 40, Ri))
7644
+ alt: r.data.text,
7645
+ onLoad: t[6] || (t[6] = (b) => e.$emit("loaded")),
7646
+ onError: t[7] || (t[7] = (b) => e.$emit("loaded"))
7647
+ }, null, 40, ur))
6596
7648
  ], 6),
6597
- t("span", {
7649
+ c("span", {
6598
7650
  class: "link-text link-drag color-black",
6599
- style: R({ color: (s = n.customLinkStyle) == null ? void 0 : s.color })
6600
- }, d(r.linkText), 5)
7651
+ style: ce({ color: (m = r.customLinkStyle) == null ? void 0 : m.color })
7652
+ }, v(d.linkText), 5)
6601
7653
  ], 6);
6602
7654
  }
6603
- const Vi = /* @__PURE__ */ T(Ei, [["render", Ni]]), Oi = {
7655
+ const mr = /* @__PURE__ */ $(cr, [["render", _r]]), gr = {
6604
7656
  ANDROID_VERSION: "5.6",
6605
7657
  IOS_VERSION: "5.6",
6606
7658
  WEB_VERSION: "5.6.0",
6607
7659
  SUPPORTED_LANGUAGES: ["en", "de", "es", "kr", "it", "fr"],
6608
7660
  METAPIXEL_ID: "1203678696914368",
6609
7661
  GOOGLE_ANALYTICS_ID: ""
6610
- }, Bi = {
7662
+ }, hr = {
6611
7663
  name: "Language",
6612
- mixins: [z],
6613
- components: { LinkIcon: Vi },
7664
+ mixins: [D],
7665
+ components: { LinkIcon: mr },
6614
7666
  data() {
6615
7667
  return {
6616
7668
  toggle: !1
6617
7669
  };
6618
7670
  },
6619
7671
  async mounted() {
6620
- u.$on("toggleLanguageModal", this.toggleModal), u.$on("closeModal", () => {
7672
+ y.$on("toggleLanguageModal", this.toggleModal), y.$on("closeModal", () => {
6621
7673
  this.toggle = !1;
6622
7674
  });
6623
- let e = this.isNative ? await $.getLanguageCode() : N.getFirstBrowserLanguage();
6624
- e && Oi.SUPPORTED_LANGUAGES.includes(e) && this.updateLanguage(e);
7675
+ let e = this.isNative ? await ke.getLanguageCode() : le.getFirstBrowserLanguage();
7676
+ e && gr.SUPPORTED_LANGUAGES.includes(e) && this.updateLanguage(e);
6625
7677
  },
6626
7678
  beforeDestroy() {
6627
- u._events.toggleLanguageModal.pop();
7679
+ y._events.toggleLanguageModal.pop();
6628
7680
  },
6629
7681
  methods: {
6630
7682
  forceClose() {
6631
- u.$emit("closeModal");
7683
+ y.$emit("closeModal");
6632
7684
  },
6633
7685
  close() {
6634
7686
  this.forceClose();
6635
7687
  },
6636
7688
  async updateLanguage(e) {
6637
- u.$emit("updateLang", e), u.$emit("closeModal");
7689
+ y.$emit("updateLang", e), y.$emit("closeModal");
6638
7690
  },
6639
7691
  toggleModal() {
6640
7692
  this.toggle = !this.toggle;
6641
7693
  }
6642
7694
  }
6643
- }, Di = (e) => (O("data-v-34a6b7b2"), e = e(), B(), e), Ui = /* @__PURE__ */ Di(() => /* @__PURE__ */ t("i", { class: "font-17 fa color-black" }, [
6644
- /* @__PURE__ */ t("img", {
7695
+ }, fr = (e) => (pe("data-v-34a6b7b2"), e = e(), ue(), e), kr = /* @__PURE__ */ fr(() => /* @__PURE__ */ c("i", { class: "font-17 fa color-black" }, [
7696
+ /* @__PURE__ */ c("img", {
6645
7697
  src: "https://cdn.tapni.co/icons/down-arrow.png",
6646
7698
  class: "fa responsive-image",
6647
7699
  style: { width: "45%" }
6648
7700
  })
6649
- ], -1)), Ki = [
6650
- Ui
6651
- ], $i = { class: "bold center-text color-black small-bottom" };
6652
- function Hi(e, a, n, o, i, r) {
6653
- const p = V("LinkIcon");
6654
- return c(), l("div", {
6655
- class: b(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": i.toggle }]),
7701
+ ], -1)), br = [
7702
+ kr
7703
+ ], vr = { class: "bold center-text color-black small-bottom" };
7704
+ function yr(e, t, r, u, l, d) {
7705
+ const h = de("LinkIcon");
7706
+ return f(), k("div", {
7707
+ class: R(["menu-wrapper menu-light menu-white menu-modal center-text activate-page", { "active-menu": l.toggle }]),
6656
7708
  style: { height: "auto", "max-height": "92vh", "margin-top": "-172.5px" }
6657
7709
  }, [
6658
- t("a", {
6659
- onClick: a[0] || (a[0] = (...s) => r.close && r.close(...s)),
7710
+ c("a", {
7711
+ onClick: t[0] || (t[0] = (...m) => d.close && d.close(...m)),
6660
7712
  class: "color-black pull-right pointer",
6661
7713
  style: { "margin-top": "5px", position: "absolute", right: "5px" }
6662
- }, Ki),
6663
- t("h3", $i, d(e.ssoLang[e.appLanguage].app_language), 1),
6664
- v(p, {
6665
- onClick: a[1] || (a[1] = (s) => r.updateLanguage("en")),
7714
+ }, br),
7715
+ c("h3", vr, v(e.ssoLang[e.appLanguage].app_language), 1),
7716
+ j(h, {
7717
+ onClick: t[1] || (t[1] = (m) => d.updateLanguage("en")),
6666
7718
  "link-style": "link-grid",
6667
7719
  data: { type: "lang/en", text: e.ssoLang[this.appLanguage].english },
6668
7720
  editing: !1,
6669
- class: b({ "add-button": !0 })
7721
+ class: R({ "add-button": !0 })
6670
7722
  }, null, 8, ["data"]),
6671
- v(p, {
6672
- onClick: a[2] || (a[2] = (s) => r.updateLanguage("es")),
7723
+ j(h, {
7724
+ onClick: t[2] || (t[2] = (m) => d.updateLanguage("es")),
6673
7725
  "link-style": "link-grid",
6674
7726
  data: { type: "lang/es", text: e.ssoLang[this.appLanguage].spanish },
6675
7727
  editing: !1,
6676
- class: b({ "add-button": !0 })
7728
+ class: R({ "add-button": !0 })
6677
7729
  }, null, 8, ["data"]),
6678
- v(p, {
6679
- onClick: a[3] || (a[3] = (s) => r.updateLanguage("de")),
7730
+ j(h, {
7731
+ onClick: t[3] || (t[3] = (m) => d.updateLanguage("de")),
6680
7732
  "link-style": "link-grid",
6681
7733
  data: { type: "lang/de", text: e.ssoLang[this.appLanguage].german },
6682
7734
  editing: !1,
6683
- class: b({ "add-button": !0 })
7735
+ class: R({ "add-button": !0 })
6684
7736
  }, null, 8, ["data"]),
6685
- v(p, {
6686
- onClick: a[4] || (a[4] = (s) => r.updateLanguage("it")),
7737
+ j(h, {
7738
+ onClick: t[4] || (t[4] = (m) => d.updateLanguage("it")),
6687
7739
  "link-style": "link-grid",
6688
7740
  data: { type: "lang/it", text: e.ssoLang[this.appLanguage].italian },
6689
7741
  editing: !1,
6690
- class: b({ "add-button": !0 })
7742
+ class: R({ "add-button": !0 })
6691
7743
  }, null, 8, ["data"]),
6692
- v(p, {
6693
- onClick: a[5] || (a[5] = (s) => r.updateLanguage("fr")),
7744
+ j(h, {
7745
+ onClick: t[5] || (t[5] = (m) => d.updateLanguage("fr")),
6694
7746
  "link-style": "link-grid",
6695
7747
  data: { type: "lang/fr", text: e.ssoLang[this.appLanguage].french },
6696
7748
  editing: !1,
6697
- class: b({ "add-button": !0 })
7749
+ class: R({ "add-button": !0 })
6698
7750
  }, null, 8, ["data"]),
6699
- v(p, {
6700
- onClick: a[6] || (a[6] = (s) => r.updateLanguage("kr")),
7751
+ j(h, {
7752
+ onClick: t[6] || (t[6] = (m) => d.updateLanguage("kr")),
6701
7753
  "link-style": "link-grid",
6702
7754
  data: { type: "lang/kr", text: e.ssoLang[this.appLanguage].korean },
6703
7755
  editing: !1,
6704
- class: b({ "add-button": !0 })
7756
+ class: R({ "add-button": !0 })
6705
7757
  }, null, 8, ["data"]),
6706
- v(p, {
6707
- onClick: a[7] || (a[7] = (s) => r.updateLanguage("sr")),
7758
+ j(h, {
7759
+ onClick: t[7] || (t[7] = (m) => d.updateLanguage("sr")),
6708
7760
  "link-style": "link-grid",
6709
7761
  data: { type: "lang/sr", text: e.ssoLang[this.appLanguage].serbian },
6710
7762
  editing: !1,
6711
- class: b({ "add-button": !0 })
7763
+ class: R({ "add-button": !0 })
6712
7764
  }, null, 8, ["data"]),
6713
- v(p, {
6714
- onClick: a[8] || (a[8] = (s) => r.updateLanguage("tr")),
7765
+ j(h, {
7766
+ onClick: t[8] || (t[8] = (m) => d.updateLanguage("tr")),
6715
7767
  "link-style": "link-grid",
6716
7768
  data: { type: "lang/tr", text: e.ssoLang[this.appLanguage].turkish },
6717
7769
  editing: !1,
6718
- class: b({ "add-button": !0 })
7770
+ class: R({ "add-button": !0 })
6719
7771
  }, null, 8, ["data"])
6720
7772
  ], 2);
6721
7773
  }
6722
- const Se = /* @__PURE__ */ T(Bi, [["render", Hi], ["__scopeId", "data-v-34a6b7b2"]]);
6723
- var Fi = { VITE_APP_MODE: "npm", VITE_APP_APP_ROOT: "https://t.link", VITE_APP_API_ROOT: "https://api.tapni.co", VITE_APP_GOOGLE_RECAPTCHA_SITE_KEY: "6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk", VITE_APP_SSO_ID: "9cd47053-080a-4df8-8fd8-ca4389163fde", VITE_APP_POPUP_LOGIN_ALLOWED_ORIGIN: "https://auth.tapni.com", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
6724
- const Qi = { id: "ssoapp" }, Gi = {
7774
+ const Ln = /* @__PURE__ */ $(hr, [["render", yr], ["__scopeId", "data-v-34a6b7b2"]]);
7775
+ var wr = { 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 };
7776
+ const zr = { id: "ssoapp" }, Lr = {
6725
7777
  key: 0,
6726
7778
  href: "/",
6727
7779
  class: "header-logo"
6728
- }, Wi = /* @__PURE__ */ t("img", {
7780
+ }, Cr = /* @__PURE__ */ c("img", {
6729
7781
  src: "data:image/png;base64,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",
6730
7782
  onerror: "this.onerror=null;this.src='https://cdn.tapni.co/images/logo-dark.png';",
6731
7783
  class: "header-logo-img"
6732
- }, null, -1), Xi = [
6733
- Wi
6734
- ], Yi = { class: "lang-icon" }, Zi = {
7784
+ }, null, -1), Sr = [
7785
+ Cr
7786
+ ], Tr = { class: "lang-icon" }, Er = {
6735
7787
  class: "snackbar snackbar-boxed",
6736
7788
  id: "snackbar"
6737
- }, Ji = {
7789
+ }, Ir = {
6738
7790
  class: "snack-body",
6739
7791
  id: "errorSnack"
6740
- }, eo = { id: "errorMessage" }, ao = /* @__PURE__ */ t("img", {
7792
+ }, Ar = { id: "errorMessage" }, Pr = /* @__PURE__ */ c("img", {
6741
7793
  src: "https://cdn.tapni.co/icons/notification-close.png",
6742
7794
  style: { width: "100%" }
6743
- }, null, -1), no = [
6744
- ao
6745
- ], to = {
7795
+ }, null, -1), jr = [
7796
+ Pr
7797
+ ], xr = {
6746
7798
  class: "snack-body",
6747
7799
  id: "successSnack"
6748
- }, io = { id: "successMessage" }, oo = /* @__PURE__ */ t("img", {
7800
+ }, Br = { id: "successMessage" }, Mr = /* @__PURE__ */ c("img", {
6749
7801
  src: "https://cdn.tapni.co/icons/notification-close.png",
6750
7802
  style: { width: "100%" }
6751
- }, null, -1), ro = [
6752
- oo
6753
- ], so = {
7803
+ }, null, -1), Rr = [
7804
+ Mr
7805
+ ], qr = {
6754
7806
  name: "TapniAuth",
6755
- mixins: [z],
7807
+ mixins: [D],
6756
7808
  data() {
6757
7809
  return {
6758
7810
  isSetup: !1
6759
7811
  };
6760
7812
  },
6761
7813
  components: {
6762
- Language: Se,
6763
- SSOPick: Le,
6764
- SSO: ze,
6765
- ModalOverlay: we,
6766
- AuthCallback: ye,
6767
- AuthReset: be,
6768
- AuthVerify: ke,
6769
- AuthRegister: ve,
6770
- AuthLogin: fe,
6771
- AuthWelcome: _e
7814
+ Language: Ln,
7815
+ SSOPick: zn,
7816
+ SSO: wn,
7817
+ ModalOverlay: yn,
7818
+ AuthCallback: vn,
7819
+ AuthReset: bn,
7820
+ AuthVerify: kn,
7821
+ AuthRegister: fn,
7822
+ AuthLogin: hn,
7823
+ AuthWelcome: dn
6772
7824
  },
6773
7825
  props: {
6774
7826
  view: {
@@ -6786,7 +7838,7 @@ const Qi = { id: "ssoapp" }, Gi = {
6786
7838
  }
6787
7839
  },
6788
7840
  async mounted() {
6789
- this.applyBgStyle(), u.$on("ssoEvent", this.ssoOutgoingEvent), u.$on("ssoLogout", (e) => this.logout(e)), u.$on("getLoggedInAccounts", (e) => this.getLoggedInAccounts(e)), u.$on("refreshTokenAction", (e) => this.refreshTokenAction(e));
7841
+ this.applyBgStyle(), y.$on("ssoEvent", this.ssoOutgoingEvent), y.$on("ssoLogout", (e) => this.logout(e)), y.$on("getLoggedInAccounts", (e) => this.getLoggedInAccounts(e)), y.$on("refreshTokenAction", (e) => this.refreshTokenAction(e));
6790
7842
  },
6791
7843
  methods: {
6792
7844
  async init() {
@@ -6800,13 +7852,13 @@ const Qi = { id: "ssoapp" }, Gi = {
6800
7852
  this.$emit("ssoEvent", e);
6801
7853
  },
6802
7854
  ssoIncomingEvent(e) {
6803
- u.$emit(e.name, e.data);
7855
+ y.$emit(e.name, e.data);
6804
7856
  },
6805
7857
  applyBgStyle() {
6806
7858
  this.display === "redirect" ? document.getElementsByTagName("html")[0].style = "background: #dfeefe;" : document.getElementsByTagName("html")[0].style = "";
6807
7859
  },
6808
7860
  toggleLanguageModal() {
6809
- u.$emit("toggleLanguageModal", !0);
7861
+ y.$emit("toggleLanguageModal", !0);
6810
7862
  }
6811
7863
  },
6812
7864
  watch: {
@@ -6814,59 +7866,59 @@ const Qi = { id: "ssoapp" }, Gi = {
6814
7866
  this.applyBgStyle();
6815
7867
  }
6816
7868
  }
6817
- }, ne = /* @__PURE__ */ Object.assign(so, {
7869
+ }, Ze = /* @__PURE__ */ Object.assign(qr, {
6818
7870
  setup(e) {
6819
7871
  return document.addEventListener("DOMContentLoaded", function() {
6820
- const a = document.createElement("script");
6821
- a.src = `https://www.google.com/recaptcha/api.js?render=${Fi.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(a);
6822
- }), (a, n) => (c(), l("div", Qi, [
6823
- a.display === "redirect" ? (c(), l("a", Gi, Xi)) : h("", !0),
6824
- a.display === "redirect" ? (c(), l("a", {
7872
+ const t = document.createElement("script");
7873
+ t.src = `https://www.google.com/recaptcha/api.js?render=${wr.VITE_GOOGLE_RECAPTCHA_SITE_KEY}`, document.head.appendChild(t);
7874
+ }), (t, r) => (f(), k("div", zr, [
7875
+ t.display === "redirect" ? (f(), k("a", Lr, Sr)) : T("", !0),
7876
+ t.display === "redirect" ? (f(), k("a", {
6825
7877
  key: 1,
6826
- onClick: n[0] || (n[0] = (...o) => a.toggleLanguageModal && a.toggleLanguageModal(...o)),
7878
+ onClick: r[0] || (r[0] = (...u) => t.toggleLanguageModal && t.toggleLanguageModal(...u)),
6827
7879
  class: "font-18 no-border pointer color-black",
6828
7880
  style: { position: "absolute", right: "20px", top: "-10px", "z-index": "1" }
6829
7881
  }, [
6830
- t("span", Yi, d(a.appLanguage.toUpperCase()), 1)
6831
- ])) : h("", !0),
6832
- v(we),
6833
- v(Se),
6834
- v(ze),
6835
- v(Le),
6836
- a.initialized && a.renderView === "AuthWelcome" ? (c(), P(_e, { key: 2 })) : a.initialized && a.renderView === "AuthLogin" ? (c(), P(fe, {
7882
+ c("span", Tr, v(t.appLanguage.toUpperCase()), 1)
7883
+ ])) : T("", !0),
7884
+ j(yn),
7885
+ j(Ln),
7886
+ j(wn),
7887
+ j(zn),
7888
+ t.initialized && t.renderView === "AuthWelcome" ? (f(), Y(dn, { key: 2 })) : t.initialized && t.renderView === "AuthLogin" ? (f(), Y(hn, {
6837
7889
  key: 3,
6838
7890
  isModal: e.isModal
6839
- }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthRegister" ? (c(), P(ve, {
7891
+ }, null, 8, ["isModal"])) : t.initialized && t.renderView === "AuthRegister" ? (f(), Y(fn, {
6840
7892
  key: 4,
6841
7893
  isModal: e.isModal
6842
- }, null, 8, ["isModal"])) : a.initialized && a.renderView === "AuthVerify" ? (c(), P(ke, {
7894
+ }, null, 8, ["isModal"])) : t.initialized && t.renderView === "AuthVerify" ? (f(), Y(kn, {
6843
7895
  key: 5,
6844
7896
  isModal: e.isModal
6845
- }, 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 })),
6846
- t("div", Zi, [
6847
- t("p", Ji, [
6848
- t("span", eo, d(a.ssoLang[a.appLanguage].error), 1),
6849
- t("a", {
6850
- onClick: n[1] || (n[1] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
7897
+ }, null, 8, ["isModal"])) : t.initialized && t.renderView === "AuthReset" ? (f(), Y(bn, { key: 6 })) : t.initialized && t.renderView === "AuthCallback" ? (f(), Y(vn, { key: 7 })) : (f(), Y(Yn(Xn), { key: 8 })),
7898
+ c("div", Er, [
7899
+ c("p", Ir, [
7900
+ c("span", Ar, v(t.ssoLang[t.appLanguage].error), 1),
7901
+ c("a", {
7902
+ onClick: r[1] || (r[1] = (...u) => t.closeSnacks && t.closeSnacks(...u)),
6851
7903
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
6852
- }, no)
7904
+ }, jr)
6853
7905
  ]),
6854
- t("p", to, [
6855
- t("span", io, d(a.ssoLang[a.appLanguage].success), 1),
6856
- t("a", {
6857
- onClick: n[2] || (n[2] = (...o) => a.closeSnacks && a.closeSnacks(...o)),
7906
+ c("p", xr, [
7907
+ c("span", Br, v(t.ssoLang[t.appLanguage].success), 1),
7908
+ c("a", {
7909
+ onClick: r[2] || (r[2] = (...u) => t.closeSnacks && t.closeSnacks(...u)),
6858
7910
  style: { position: "absolute", right: "10px", top: "10px", width: "50px", height: "50px" }
6859
- }, ro)
7911
+ }, Rr)
6860
7912
  ])
6861
7913
  ])
6862
7914
  ]));
6863
7915
  }
6864
- }), Lo = {
6865
- TapniAuth: ne,
7916
+ }), es = {
7917
+ TapniAuth: Ze,
6866
7918
  install: (e) => {
6867
- e.component("TapniAuth", ne);
7919
+ e.component("TapniAuth", Ze);
6868
7920
  }
6869
7921
  };
6870
7922
  export {
6871
- Lo as default
7923
+ es as default
6872
7924
  };