@tapni/auth 0.0.53 → 0.0.55

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