@tapni/auth 0.0.55 → 0.0.57

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