@tapni/auth 0.0.57 → 0.0.58

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