@everymatrix/user-login 1.65.3 → 1.65.4

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.
@@ -10,14 +10,15 @@ const TRANSLATIONS = {
10
10
  "userPrefix": "Phone prefix",
11
11
  "password": "Password",
12
12
  "login": "Login",
13
- "genericError": "An unexpected error has occured",
13
+ "genericError": "An unexpected error has occurred",
14
14
  "successMessage": "Login successful",
15
15
  "Forbidden_UserAccount_Blocked": "Player account blocked",
16
16
  "GmErr_USER_ACCOUNT_BLOCKED": "You’re currently unable to login to your account - please contact Customer Services for more information.",
17
17
  "setUpPassowrd": "You need to reset your password",
18
- "Unauthorized": "The player account number, e-mail address or password is incorrect",
19
- "CountryRestricted": "Registration is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
20
- "configError": "An unexpected error has occured when fetchig the configuration",
18
+ "GmErr_USER_AUTH_FAILED": "The username/email address and/or password entered is incorrect.",
19
+ "AuthFailedPhoneNumber": "The phone number and/or password entered is incorrect.",
20
+ "CountryRestricted": "Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
21
+ "configError": "An unexpected error has occurred when fetching the configuration",
21
22
  "userEmailError": "The email or username have an invalid format.",
22
23
  "userPhoneError": "The prefix or the phone number have an invalid format.",
23
24
  "userPasswordError": "The password has an invalid format."
@@ -35,7 +36,8 @@ const TRANSLATIONS = {
35
36
  "Forbidden_UserAccount_Blocked": "Oyuncu hesabı engellendi",
36
37
  "GmErr_USER_ACCOUNT_BLOCKED": "Şu anda hesabınıza giriş yapamıyorsunuz - daha fazla bilgi için Müşteri Hizmetleri ile iletişime geçin.",
37
38
  "setUpPassowrd": "Şifrenizi sıfırlamanız gerekiyor",
38
- "Unauthorized": "Oyuncu hesap numarası, e-posta adresi veya şifre hatalı",
39
+ "GmErr_USER_AUTH_FAILED": "Girilen kullanıcı adı/e-posta adresi ve/veya şifre yanlış.",
40
+ "AuthFailedPhoneNumber": "Girilen telefon numarası ve/veya şifre yanlış.",
39
41
  "CountryRestricted": "Kısıtlı bir yargı bölgesinden kayıt yapılamaz. Daha fazla sorunla karşılaşırsanız, lütfen destek ile iletişime geçin.",
40
42
  "configError": "Yapılandırma alınırken beklenmeyen bir hata oluştu",
41
43
  "userEmailError": "E-posta veya kullanıcı adı geçersiz bir formata sahip.",
@@ -55,8 +57,9 @@ const TRANSLATIONS = {
55
57
  "Forbidden_UserAccount_Blocked": "Player account blocked",
56
58
  "GmErr_USER_ACCOUNT_BLOCKED": "You’re currently unable to login to your account - please contact Customer Services for more information.",
57
59
  "setUpPassowrd": "You need to reset your password",
58
- "Unauthorized": "The player account number, e-mail address or password is incorrect",
59
- "CountryRestricted": "Registration is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
60
+ "GmErr_USER_AUTH_FAILED": "The username/email address and/or password entered is incorrect.",
61
+ "AuthFailedPhoneNumber": "The phone number and/or password entered is incorrect.",
62
+ "CountryRestricted": "Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
60
63
  "configError": "An unexpected error has occured when fetchig the configuration",
61
64
  "userEmailError": "The email or username have an invalid format.",
62
65
  "userPhoneError": "The prefix or the phone number have an invalid format.",
@@ -75,7 +78,8 @@ const TRANSLATIONS = {
75
78
  "Forbidden_UserAccount_Blocked": "Contul de jucător este blocat",
76
79
  "GmErr_USER_ACCOUNT_BLOCKED": "În prezent, nu vă puteți conecta la contul dvs. - vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",
77
80
  "setUpPassowrd": "Trebuie să vă resetați parola",
78
- "Unauthorized": "Numărul contului de jucător, adresa de e-mail sau parola sunt incorecte",
81
+ "GmErr_USER_AUTH_FAILED": "Numele de utilizator/adresa de e-mail și/sau parola introduse sunt incorecte.",
82
+ "AuthFailedPhoneNumber": "Numărul de telefon și/sau parola introduse sunt incorecte.",
79
83
  "CountryRestricted": "Înregistrarea nu este posibilă dintr-o jurisdicție restricționată. Dacă întâmpinați alte probleme, vă rugăm să contactați asistența.",
80
84
  "configError": "A apărut o eroare neașteptată la preluarea configurației",
81
85
  "userEmailError": "Emailul sau numele de utilizator au un format invalid.",
@@ -95,7 +99,8 @@ const TRANSLATIONS = {
95
99
  "setUpPassowrd": "Morate resetirati svoju lozinku",
96
100
  "Forbidden_UserAccount_Blocked": "Vaš račun je blokiran",
97
101
  "GmErr_USER_ACCOUNT_BLOCKED": "Trenutno se ne možete prijaviti na svoj račun - molimo kontaktirajte Službu za korisnike za više informacija.",
98
- "Unauthorized": "Lozinka, e-mail adresa ili korisničko ime su pogrešno uneseni",
102
+ "GmErr_USER_AUTH_FAILED": "Uneseno korisničko ime/adresa e-pošte i/ili lozinka su netočni.",
103
+ "AuthFailedPhoneNumber": "Uneseni broj telefona i/ili lozinka su netočni.",
99
104
  "CountryRestricted": "Prijava nije moguća iz zemlje ograničene jurisdikcije. U slučaju daljnjih poteškoća, molimo kontaktirajte podršku.",
100
105
  "configError": "Došlo je do neočekivane pogreške prilikom dohvaćanja konfiguracije",
101
106
  "userEmailError": "E-mail ili korisničko ime imaju nevažeći format.",
@@ -115,7 +120,8 @@ const TRANSLATIONS = {
115
120
  "Forbidden_UserAccount_Blocked": "Compte joueur bloqué",
116
121
  "GmErr_USER_ACCOUNT_BLOCKED": "Vous ne pouvez actuellement pas vous connecter à votre compte - veuillez contacter le service client pour plus d'informations.",
117
122
  "setUpPassowrd": "Vous devez réinitialiser votre mot de passe",
118
- "Unauthorized": "Le numéro de compte joueur, l'adresse e-mail ou le mot de passe est incorrect",
123
+ "GmErr_USER_AUTH_FAILED": "Le nom d'utilisateur/adresse e-mail et/ou le mot de passe saisis sont incorrects.",
124
+ "AuthFailedPhoneNumber": "Le numéro de téléphone et/ou le mot de passe saisis sont incorrects.",
119
125
  "CountryRestricted": "L'inscription n'est pas possible depuis une juridiction restreinte. Si vous rencontrez d'autres problèmes, veuillez contacter le support.",
120
126
  "configError": "Une erreur inattendue s'est produite lors de la récupération de la configuration",
121
127
  "userEmailError": "L'email ou le nom d'utilisateur ont un format invalide.",
@@ -135,7 +141,8 @@ const TRANSLATIONS = {
135
141
  "Forbidden_UserAccount_Blocked": "Player account blocked",
136
142
  "GmErr_USER_ACCOUNT_BLOCKED": "Momentálně se nemůžete přihlásit ke svému účtu - pro více informací kontaktujte zákaznický servis.",
137
143
  "setUpPassowrd": "Musíte resetovat své heslo",
138
- "Unauthorized": "Číslo účtu hráče, e-mailová adresa nebo heslo je nesprávné",
144
+ "GmErr_USER_AUTH_FAILED": "Zadané uživatelské jméno/e-mailová adresa a/nebo heslo jsou nesprávné.",
145
+ "AuthFailedPhoneNumber": "Zadané telefonní číslo a/nebo heslo jsou nesprávné.",
139
146
  "CountryRestricted": "Registrace není možná z omezené jurisdikce. Pokud narazíte na další potíže, kontaktujte prosím podporu.",
140
147
  "configError": "Při načítání konfigurace došlo k neočekávané chybě",
141
148
  "userEmailError": "E-mail nebo uživatelské jméno mají neplatný formát.",
@@ -155,7 +162,8 @@ const TRANSLATIONS = {
155
162
  "Forbidden_UserAccount_Blocked": "Spielerkonto gesperrt",
156
163
  "GmErr_USER_ACCOUNT_BLOCKED": "Sie können sich derzeit nicht in Ihr Konto einloggen - bitte kontaktieren Sie den Kundenservice für weitere Informationen.",
157
164
  "setUpPassowrd": "Sie müssen Ihr Passwort zurücksetzen",
158
- "Unauthorized": "Die Spieler-Kontonummer, E-Mail-Adresse oder das Passwort ist falsch",
165
+ "GmErr_USER_AUTH_FAILED": "Der eingegebene Benutzername/die E-Mail-Adresse und/oder das Passwort sind falsch.",
166
+ "AuthFailedPhoneNumber": "Die eingegebene Telefonnummer und/oder das Passwort sind falsch.",
159
167
  "CountryRestricted": "Eine Registrierung ist aus einer eingeschränkten Gerichtsbarkeit nicht möglich. Wenn Sie weitere Probleme haben, wenden Sie sich bitte an den Support.",
160
168
  "configError": "Beim Abrufen der Konfiguration ist ein unerwarteter Fehler aufgetreten",
161
169
  "userEmailError": "Die E-Mail oder der Benutzername haben ein ungültiges Format.",
@@ -175,7 +183,8 @@ const TRANSLATIONS = {
175
183
  "Forbidden_UserAccount_Blocked": "Conta de jogador bloqueada",
176
184
  "GmErr_USER_ACCOUNT_BLOCKED": "Você não pode fazer login na sua conta no momento - entre em contato com o Atendimento ao Cliente para mais informações.",
177
185
  "setUpPassowrd": "Você precisa redefinir sua senha",
178
- "Unauthorized": "O número da conta de jogador, o endereço de e-mail ou a senha estão incorretos",
186
+ "GmErr_USER_AUTH_FAILED": "O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",
187
+ "AuthFailedPhoneNumber": "O número de telefone e/ou a senha inseridos estão incorretos.",
179
188
  "CountryRestricted": "O registro não é possível a partir de uma jurisdição restrita. Caso encontre outros problemas, entre em contato com o suporte.",
180
189
  "configError": "Ocorreu um erro inesperado ao buscar a configuração",
181
190
  "userEmailError": "O e-mail ou nome de usuário têm um formato inválido.",
@@ -195,7 +204,8 @@ const TRANSLATIONS = {
195
204
  "Forbidden_UserAccount_Blocked": "Cuenta de jugador bloqueada",
196
205
  "GmErr_USER_ACCOUNT_BLOCKED": "Actualmente no puede iniciar sesión en su cuenta - comuníquese con el Servicio al Cliente para obtener más información.",
197
206
  "setUpPassowrd": "Necesitas restablecer tu contraseña",
198
- "Unauthorized": "El número de cuenta de jugador, la dirección de correo electrónico o la contraseña son incorrectos",
207
+ "GmErr_USER_AUTH_FAILED": "El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",
208
+ "AuthFailedPhoneNumber": "El número de teléfono y/o la contraseña ingresados son incorrectos.",
199
209
  "CountryRestricted": "El registro no es posible desde una jurisdicción restringida. Si encuentra más problemas, por favor contacte al soporte.",
200
210
  "configError": "Se ha producido un error inesperado al obtener la configuración",
201
211
  "userEmailError": "El correo electrónico o nombre de usuario tienen un formato inválido.",
@@ -215,7 +225,8 @@ const TRANSLATIONS = {
215
225
  "Forbidden_UserAccount_Blocked": "Cuenta de jugador bloqueada",
216
226
  "GmErr_USER_ACCOUNT_BLOCKED": "Actualmente no puede iniciar sesión en su cuenta - comuníquese con el Servicio al Cliente para obtener más información.",
217
227
  "setUpPassowrd": "Necesitas restablecer tu contraseña",
218
- "Unauthorized": "El número de cuenta, correo electrónico o contraseña es incorrecto",
228
+ "GmErr_USER_AUTH_FAILED": "El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",
229
+ "AuthFailedPhoneNumber": "El número de teléfono y/o la contraseña ingresados son incorrectos.",
219
230
  "CountryRestricted": "No es posible registrarse desde una jurisdicción restringida. Si encuentra más problemas, comuníquese con el soporte.",
220
231
  "configError": "Se ha producido un error inesperado al obtener la configuración",
221
232
  "userEmailError": "El correo electrónico o nombre de usuario tienen un formato inválido.",
@@ -235,7 +246,8 @@ const TRANSLATIONS = {
235
246
  "Forbidden_UserAccount_Blocked": "Conta de jogador bloqueada",
236
247
  "GmErr_USER_ACCOUNT_BLOCKED": "Você não pode fazer login na sua conta no momento - entre em contato com o Atendimento ao Cliente para mais informações.",
237
248
  "setUpPassowrd": "Você precisa redefinir a sua senha",
238
- "Unauthorized": "O número da conta, e-mail ou senha está incorreto",
249
+ "GmErr_USER_AUTH_FAILED": "O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",
250
+ "AuthFailedPhoneNumber": "O número de telefone e/ou a senha inseridos estão incorretos.",
239
251
  "CountryRestricted": "Não é possível se registrar de uma jurisdição restrita. Se encontrar mais problemas, entre em contato com o suporte.",
240
252
  "configError": "Ocorreu um erro inesperado ao procurar a configuração",
241
253
  "userEmailError": "O e-mail ou nome de usuário têm um formato inválido.",
@@ -22072,7 +22084,12 @@ const UserLogin = class {
22072
22084
  // handles errors thrown by api
22073
22085
  this.hasError = true;
22074
22086
  this.errorCode = (_b = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _b === void 0 ? void 0 : _b.errorCode;
22075
- this.errorMessage = translate$1(`${this.errorCode}`, this.lang) || ((_c = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _c === void 0 ? void 0 : _c.message) || translate$1('genericError', this.lang);
22087
+ if (this.errorCode === 'GmErr_USER_AUTH_FAILED' && this.loginByPhoneNumber === 'true') {
22088
+ this.errorMessage = translate$1('AuthFailedPhoneNumber', this.lang);
22089
+ }
22090
+ else {
22091
+ this.errorMessage = translate$1(`${this.errorCode}`, this.lang) || ((_c = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _c === void 0 ? void 0 : _c.message) || translate$1('genericError', this.lang);
22092
+ }
22076
22093
  if (this.errorMessage) {
22077
22094
  console.error(this.errorMessage);
22078
22095
  this.sendErrorNotification(this.errorMessage);
@@ -22425,20 +22442,20 @@ const UserLogin = class {
22425
22442
  * Render function
22426
22443
  */
22427
22444
  render() {
22428
- let visibilityIcon = h$2("span", { key: '873b46cd052e54869d17d36008134d68f729d22c', class: "InputIcon" }, this.isPasswordVisible &&
22429
- h$2("svg", { key: 'baf9760bab38a8399b2cbfbfd303b4c961bf90ec', onClick: () => this.togglePassword(), class: "TogglePasswordVisibility", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.844", height: "12.887", viewBox: "0 0 18.844 12.887" }, h$2("g", { key: '00fbf2dd477a2ee870382c516f958a079679bab3', transform: "translate(-110.856 -23.242)" }, h$2("circle", { key: '0e2504e866afe424d2c8af5d6c5eaa67bd2c579d', class: "PasswordVisibilityIcon", cx: "0.05", cy: "0.05", r: "0.05", transform: "translate(121.017 31.148)" }), h$2("g", { key: 'fdae6fb56663c96c05eaf5f38426c82d73c536e6', transform: "translate(117.499 27.37)" }, h$2("path", { key: 'b90367f121550b9107437f619c5e4bce7984eb98', class: "PasswordVisibilityIcon", d: "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z", transform: "translate(-142.164 -39.123)" }), h$2("path", { key: 'b9ea058a252ab4cdec4731a60124527f790239b7', class: "PasswordVisibilityIcon", d: "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z", transform: "translate(-136.413 -42.068)" })), h$2("g", { key: '9f69d6f33eb954e9b61109ff693055dde06a636b', transform: "translate(110.856 24.899)" }, h$2("path", { key: '091beb6da885916a0f236eb9ab715a83291d651e', class: "PasswordVisibilityIcon", d: "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z", transform: "translate(-110.856 -33.157)" }), h$2("path", { key: 'e2072711623a0dcb418b9eac1e32e41e891a4990', class: "PasswordVisibilityIcon", d: "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z", transform: "translate(-130.743 -29.617)" })), h$2("rect", { key: '7d1b2db153303218409fbc1e516137d0ec3b4bb6', class: "PasswordVisibilityIcon", width: "0.972", height: "15.861", rx: "0.486", transform: "translate(114.827 23.858) rotate(-39.315)" }))), !this.isPasswordVisible &&
22430
- h$2("svg", { key: '81f870783083b3baf63de05c8a089d243677243e', onClick: () => this.togglePassword(), class: "TogglePasswordVisibility PasswordVisible", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.843", height: "10.5", viewBox: "0 0 18.843 10.5" }, h$2("g", { key: '80f5984776ece67a2571f7a91c9acbeab7fdfdec', transform: "translate(-14.185 -27.832)" }, h$2("path", { key: 'bec2b1f38bfc6f7240c5da81284640056840846a', class: "PasswordVisibilityIcon", d: "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z", transform: "translate(0)" }), h$2("circle", { key: '36d74b0356775e54cffa9af1ab339ab89e3b4307', class: "PasswordVisibilityIcon", cx: "2.779", cy: "2.779", r: "2.779", transform: "translate(20.827 30.303)" }))));
22431
- let userIdentification = h$2("div", { key: '4b08d425d71e42f6a9418c46cc514221d1d4c233', class: "FormBox" }, h$2("div", { key: 'fedc3017c5cfe937373a8197bfcbe21c056b40f7', class: "FormValue", onKeyDown: this.handleSubmit }, this.loginByPhoneNumber === 'true'
22445
+ let visibilityIcon = h$2("span", { key: '0567bd04c49ef7b4a31de0bf508a363d0bbaa26a', class: "InputIcon" }, this.isPasswordVisible &&
22446
+ h$2("svg", { key: '793920403180085cf7c365673b8302eb6aaacc4c', onClick: () => this.togglePassword(), class: "TogglePasswordVisibility", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.844", height: "12.887", viewBox: "0 0 18.844 12.887" }, h$2("g", { key: 'ae7bd644effa0491711d4b516a7059a91ee3b476', transform: "translate(-110.856 -23.242)" }, h$2("circle", { key: '9fab6b1cd86bfe21fbf1a2d87a1e2e35280ade02', class: "PasswordVisibilityIcon", cx: "0.05", cy: "0.05", r: "0.05", transform: "translate(121.017 31.148)" }), h$2("g", { key: '0152c671924811b7718e9b580c5a611b884bcd44', transform: "translate(117.499 27.37)" }, h$2("path", { key: '626a3631ab6eac6d793f3ea0648753784ce8af32', class: "PasswordVisibilityIcon", d: "M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z", transform: "translate(-142.164 -39.123)" }), h$2("path", { key: '026fe2d110810902b89f1d30616a800be8ae3d3f', class: "PasswordVisibilityIcon", d: "M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z", transform: "translate(-136.413 -42.068)" })), h$2("g", { key: 'caabae285980948b1c782486f47fd6e1afefdb5a', transform: "translate(110.856 24.899)" }, h$2("path", { key: '7edbbd6bd63f49875b2e9e5d58447147f5005d40', class: "PasswordVisibilityIcon", d: "M122.538,42.061a7.043,7.043,0,0,1-2.325.53,10.373,10.373,0,0,1-4.393-1.482,36.509,36.509,0,0,1-3.873-2.391.13.13,0,0,1,0-.208,44.141,44.141,0,0,1,3.873-2.651c.394-.233.768-.437,1.13-.622l-.686-.838c-.322.167-.651.347-.99.55a37.989,37.989,0,0,0-3.977,2.729,1.21,1.21,0,0,0-.442.962,1.1,1.1,0,0,0,.494.936,34.416,34.416,0,0,0,3.977,2.469,11.468,11.468,0,0,0,4.886,1.611,8.427,8.427,0,0,0,3.039-.725Z", transform: "translate(-110.856 -33.157)" }), h$2("path", { key: 'c9ebd5b3c2d560b7a63a47c3b90fef0f8bb27d32', class: "PasswordVisibilityIcon", d: "M149.119,34.14a45.875,45.875,0,0,0-4.055-2.729,20.541,20.541,0,0,0-2.547-1.248,5.6,5.6,0,0,0-4.79-.017l.7.856a5.254,5.254,0,0,1,1.672-.346,10.072,10.072,0,0,1,4.445,1.663,34.132,34.132,0,0,1,3.925,2.651.13.13,0,0,1,0,.208,40.2,40.2,0,0,1-3.925,2.391c-.179.092-.352.176-.525.26l.684.835c.1-.054.2-.1.309-.159a36.356,36.356,0,0,0,4.055-2.469,1.067,1.067,0,0,0,.52-.936A1.159,1.159,0,0,0,149.119,34.14Z", transform: "translate(-130.743 -29.617)" })), h$2("rect", { key: '493569ad725c98735032bb95be827c31a34954ed', class: "PasswordVisibilityIcon", width: "0.972", height: "15.861", rx: "0.486", transform: "translate(114.827 23.858) rotate(-39.315)" }))), !this.isPasswordVisible &&
22447
+ h$2("svg", { key: '82446b94cc27200bae6a4bbff93122ba81bcced8', onClick: () => this.togglePassword(), class: "TogglePasswordVisibility PasswordVisible", part: "TogglePasswordVisibility", xmlns: "http://www.w3.org/2000/svg", width: "18.843", height: "10.5", viewBox: "0 0 18.843 10.5" }, h$2("g", { key: '84c9ca1a06fb0ee05a9a8f221d4692134be398b6', transform: "translate(-14.185 -27.832)" }, h$2("path", { key: 'f224a2009b2188a9818055aa32f57784ca075d6e', class: "PasswordVisibilityIcon", d: "M23.541,38.332a11.467,11.467,0,0,1-4.886-1.611,34.413,34.413,0,0,1-3.976-2.469,1.1,1.1,0,0,1-.494-.936,1.21,1.21,0,0,1,.442-.962A37.986,37.986,0,0,1,18.6,29.625a16.06,16.06,0,0,1,2.521-1.248,6.862,6.862,0,0,1,2.417-.546,6.862,6.862,0,0,1,2.417.546,20.541,20.541,0,0,1,2.547,1.248,45.872,45.872,0,0,1,4.054,2.729,1.159,1.159,0,0,1,.468.962,1.067,1.067,0,0,1-.52.936,36.353,36.353,0,0,1-4.054,2.469A11.2,11.2,0,0,1,23.541,38.332Zm0-9.46a9.813,9.813,0,0,0-4.392,1.663,44.138,44.138,0,0,0-3.873,2.651.13.13,0,0,0,0,.208,36.5,36.5,0,0,0,3.873,2.391,10.372,10.372,0,0,0,4.392,1.481,11.051,11.051,0,0,0,4.444-1.481,40.2,40.2,0,0,0,3.925-2.391.13.13,0,0,0,0-.208h0a34.132,34.132,0,0,0-3.925-2.651A10.072,10.072,0,0,0,23.541,28.872Z", transform: "translate(0)" }), h$2("circle", { key: '8b393ae40f3a6b828fa98fac6049162fddd66252', class: "PasswordVisibilityIcon", cx: "2.779", cy: "2.779", r: "2.779", transform: "translate(20.827 30.303)" }))));
22448
+ let userIdentification = h$2("div", { key: '5d4c897408d2d4851569820e72257cfa26238827', class: "FormBox" }, h$2("div", { key: '125282b434d58a2ae594ff8c8de5acec7b16c6a0', class: "FormValue", onKeyDown: this.handleSubmit }, this.loginByPhoneNumber === 'true'
22432
22449
  ? h$2("div", { class: (!this.isValidUserPhone && this.hasError) ? 'InputBox InputInvalidBox' : 'InputBox ' }, h$2("div", { class: "PhoneInputBox" }, h$2("div", { class: "PrefixBox" }, h$2("vaadin-combo-box", { items: this.userPrefixOptions, value: this.userPrefix, onChange: this.handleInputChangePartial('prefix') }), h$2("label", { class: (this.userPrefix ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone && this.errorForFields['phone'] ? 'FieldInvalid' : '') }, translate$1('userPrefix', this.lang))), h$2("div", { class: "PhoneBox" }, h$2("input", { type: "text", placeholder: '', value: this.userPhone, onFocus: this.handleInputChangePartial('phone'), onInput: this.handleInputChangePartial('phone'), autocapitalize: "none", required: true }), h$2("label", { class: (this.userPhone ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone && this.errorForFields['phone'] ? 'FieldInvalid' : '') }, translate$1('userPhone', this.lang)), !this.isValidUserPhone && this.errorForFields['phone'] &&
22433
22450
  h$2("p", { class: "CredentialsError" }, translate$1('userPhoneError', this.lang)))))
22434
22451
  : h$2("div", { class: (!this.isValidUserEmail && this.errorForFields['user']) ? 'InputBox InputInvalidBox' : 'InputBox' }, h$2("input", { type: "text", placeholder: '', value: this.userNameEmail, onInput: this.handleInputChangePartial('user'), autocapitalize: "none", required: true }), h$2("label", { class: (this.userNameEmail ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserEmail && this.errorForFields['user'] ? 'FieldInvalid' : '') }, translate$1('userEmail', this.lang)), !this.isValidUserEmail && this.errorForFields['user'] &&
22435
- h$2("p", { class: "CredentialsError" }, translate$1('userEmailError', this.lang))), h$2("div", { key: '735796631e7eab7a6f74300d84f5765c9ae90f82', class: (!this.isValidPassword && this.errorForFields['password']) ? 'InputBox InputInvalidBox' : 'InputBox' }, visibilityIcon, h$2("input", { key: 'ad6ad6d6520897acfb74fcde6e6cf3558f05cca0', type: this.isPasswordVisible ? "text" : "password", placeholder: '', value: this.userPassword, onInput: this.handleInputChangePartial('password'), autocapitalize: "none", required: true }), h$2("label", { key: '30f7b42430136df0ae9547a04045ec5d32936f35', class: (this.userPassword ? 'FieldFilledIn' : '') + ' ' + (!this.isValidPassword && this.errorForFields['password'] ? 'FieldInvalid' : '') }, translate$1('password', this.lang)), !this.isValidPassword && this.errorForFields['password'] &&
22436
- h$2("p", { key: 'e4484e3ca22588db694d5df88a6e90289fae26be', class: "CredentialsError" }, translate$1('userPasswordError', this.lang))), this.passwordReset == 'true' &&
22437
- h$2("div", { key: '88e5b7b9d1bb587fb444505b38acd0de1071e0c6', class: "ForgotPassword" }, h$2("button", { key: '270efba86a89b52dcc746650ab03a0906ff40f96', onClick: this.resetPassword }, translate$1('forgotPassword', this.lang))), this.captchaData.isEnabled && this.captchaData.provider === 'cloudflare' &&
22438
- h$2("slot", { key: '6b6e886f022704f812ddb247166f5f49ccdba075', name: "turnstile" }), this.captchaData.isEnabled && this.captchaData.provider === 'google' &&
22439
- h$2("slot", { key: '19edf70dd8f5b28f75df706600041678fff98d3e', name: "google" }), h$2("button", { key: '9edd0f60e6046f5cd8b4d4546781d88d9df9a498', disabled: this.checkIsDisabled(), class: "SubmitCredentials", onClick: this.handleLogin }, translate$1('login', this.lang)), this.hasError &&
22440
- h$2("p", { key: 'd33f306d71c082c278b7c125ba9fe9b51aef0416', class: "CredentialsError" }, this.errorMessage)));
22441
- return h$2("section", { key: 'd6646783e9967e2ddedf2dd02a95da1717745ded', ref: el => this.stylingContainer = el }, userIdentification);
22452
+ h$2("p", { class: "CredentialsError" }, translate$1('userEmailError', this.lang))), h$2("div", { key: '456fadfe988ea1327a908309c42789f27f2c9ff9', class: (!this.isValidPassword && this.errorForFields['password']) ? 'InputBox InputInvalidBox' : 'InputBox' }, visibilityIcon, h$2("input", { key: 'bf19272a751547f3a7dad0be9d7030dd68135664', type: this.isPasswordVisible ? "text" : "password", placeholder: '', value: this.userPassword, onInput: this.handleInputChangePartial('password'), autocapitalize: "none", required: true }), h$2("label", { key: '8b9a0ca4110096c2e7c08be75069c452b5c5da9c', class: (this.userPassword ? 'FieldFilledIn' : '') + ' ' + (!this.isValidPassword && this.errorForFields['password'] ? 'FieldInvalid' : '') }, translate$1('password', this.lang)), !this.isValidPassword && this.errorForFields['password'] &&
22453
+ h$2("p", { key: '17c314a82f4e15adff8918086af85e6452d4fc7d', class: "CredentialsError" }, translate$1('userPasswordError', this.lang))), this.passwordReset == 'true' &&
22454
+ h$2("div", { key: 'c4271c3b1f65174824b1d5a137e9562f98588f4d', class: "ForgotPassword" }, h$2("button", { key: '2e9cd528e7581c8997a40dddadd932ceb724d18f', onClick: this.resetPassword }, translate$1('forgotPassword', this.lang))), this.captchaData.isEnabled && this.captchaData.provider === 'cloudflare' &&
22455
+ h$2("slot", { key: 'c0d8ed9cf6fa85982bc9ca89378f359f5db9d375', name: "turnstile" }), this.captchaData.isEnabled && this.captchaData.provider === 'google' &&
22456
+ h$2("slot", { key: '7f63f3ea8413a3f3fcc91270de43a4cc81c0db39', name: "google" }), h$2("button", { key: '3d490cbd64e75c330c2884dc00fa76fb076b278d', disabled: this.checkIsDisabled(), class: "SubmitCredentials", onClick: this.handleLogin }, translate$1('login', this.lang)), this.hasError &&
22457
+ h$2("p", { key: 'b4e37899e35f7c0ba2eb158aebb7c676a61834cb', class: "CredentialsError" }, this.errorMessage)));
22458
+ return h$2("section", { key: '3a37084eea3c0d356eb0869f9113c173095bd33f', ref: el => this.stylingContainer = el }, userIdentification);
22442
22459
  }
22443
22460
  static get watchers() { return {
22444
22461
  "translationUrl": ["handleNewTranslations"],