@everymatrix/user-login 1.65.2 → 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.
Files changed (16) hide show
  1. package/dist/cjs/user-login.cjs.entry.js +52 -35
  2. package/dist/collection/components/user-login/user-login.js +17 -12
  3. package/dist/collection/utils/locale.utils.js +28 -16
  4. package/dist/esm/user-login.entry.js +52 -35
  5. package/dist/user-login/{p-f2a701f3.entry.js → p-a00864b0.entry.js} +102 -101
  6. package/dist/user-login/user-login.esm.js +1 -1
  7. package/package.json +1 -1
  8. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/user-login/.stencil/libs/common/src/storybook/storybook-utils.d.ts +0 -0
  9. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/stencil.config.d.ts +0 -0
  10. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/stencil.config.dev.d.ts +0 -0
  11. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/storybook/main.d.ts +0 -0
  12. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/user-login/.stencil/packages/stencil/user-login/storybook/preview.d.ts +0 -0
  13. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/user-login/.stencil/tools/plugins/index.d.ts +0 -0
  14. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/user-login/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  15. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/user-login/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  16. /package/dist/types/Users/{adrian.pripon/Documents/Work → raul.vasile/workspace/everymatrix}/widgets-monorepo/packages/stencil/user-login/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -14,14 +14,15 @@ const TRANSLATIONS = {
14
14
  "userPrefix": "Phone prefix",
15
15
  "password": "Password",
16
16
  "login": "Login",
17
- "genericError": "An unexpected error has occured",
17
+ "genericError": "An unexpected error has occurred",
18
18
  "successMessage": "Login successful",
19
19
  "Forbidden_UserAccount_Blocked": "Player account blocked",
20
20
  "GmErr_USER_ACCOUNT_BLOCKED": "You’re currently unable to login to your account - please contact Customer Services for more information.",
21
21
  "setUpPassowrd": "You need to reset your password",
22
- "Unauthorized": "The player account number, e-mail address or password is incorrect",
23
- "CountryRestricted": "Registration is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
24
- "configError": "An unexpected error has occured when fetchig the configuration",
22
+ "GmErr_USER_AUTH_FAILED": "The username/email address and/or password entered is incorrect.",
23
+ "AuthFailedPhoneNumber": "The phone number and/or password entered is incorrect.",
24
+ "CountryRestricted": "Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
25
+ "configError": "An unexpected error has occurred when fetching the configuration",
25
26
  "userEmailError": "The email or username have an invalid format.",
26
27
  "userPhoneError": "The prefix or the phone number have an invalid format.",
27
28
  "userPasswordError": "The password has an invalid format."
@@ -39,7 +40,8 @@ const TRANSLATIONS = {
39
40
  "Forbidden_UserAccount_Blocked": "Oyuncu hesabı engellendi",
40
41
  "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.",
41
42
  "setUpPassowrd": "Şifrenizi sıfırlamanız gerekiyor",
42
- "Unauthorized": "Oyuncu hesap numarası, e-posta adresi veya şifre hatalı",
43
+ "GmErr_USER_AUTH_FAILED": "Girilen kullanıcı adı/e-posta adresi ve/veya şifre yanlış.",
44
+ "AuthFailedPhoneNumber": "Girilen telefon numarası ve/veya şifre yanlış.",
43
45
  "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.",
44
46
  "configError": "Yapılandırma alınırken beklenmeyen bir hata oluştu",
45
47
  "userEmailError": "E-posta veya kullanıcı adı geçersiz bir formata sahip.",
@@ -59,8 +61,9 @@ const TRANSLATIONS = {
59
61
  "Forbidden_UserAccount_Blocked": "Player account blocked",
60
62
  "GmErr_USER_ACCOUNT_BLOCKED": "You’re currently unable to login to your account - please contact Customer Services for more information.",
61
63
  "setUpPassowrd": "You need to reset your password",
62
- "Unauthorized": "The player account number, e-mail address or password is incorrect",
63
- "CountryRestricted": "Registration is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
64
+ "GmErr_USER_AUTH_FAILED": "The username/email address and/or password entered is incorrect.",
65
+ "AuthFailedPhoneNumber": "The phone number and/or password entered is incorrect.",
66
+ "CountryRestricted": "Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
64
67
  "configError": "An unexpected error has occured when fetchig the configuration",
65
68
  "userEmailError": "The email or username have an invalid format.",
66
69
  "userPhoneError": "The prefix or the phone number have an invalid format.",
@@ -79,7 +82,8 @@ const TRANSLATIONS = {
79
82
  "Forbidden_UserAccount_Blocked": "Contul de jucător este blocat",
80
83
  "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.",
81
84
  "setUpPassowrd": "Trebuie să vă resetați parola",
82
- "Unauthorized": "Numărul contului de jucător, adresa de e-mail sau parola sunt incorecte",
85
+ "GmErr_USER_AUTH_FAILED": "Numele de utilizator/adresa de e-mail și/sau parola introduse sunt incorecte.",
86
+ "AuthFailedPhoneNumber": "Numărul de telefon și/sau parola introduse sunt incorecte.",
83
87
  "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.",
84
88
  "configError": "A apărut o eroare neașteptată la preluarea configurației",
85
89
  "userEmailError": "Emailul sau numele de utilizator au un format invalid.",
@@ -99,7 +103,8 @@ const TRANSLATIONS = {
99
103
  "setUpPassowrd": "Morate resetirati svoju lozinku",
100
104
  "Forbidden_UserAccount_Blocked": "Vaš račun je blokiran",
101
105
  "GmErr_USER_ACCOUNT_BLOCKED": "Trenutno se ne možete prijaviti na svoj račun - molimo kontaktirajte Službu za korisnike za više informacija.",
102
- "Unauthorized": "Lozinka, e-mail adresa ili korisničko ime su pogrešno uneseni",
106
+ "GmErr_USER_AUTH_FAILED": "Uneseno korisničko ime/adresa e-pošte i/ili lozinka su netočni.",
107
+ "AuthFailedPhoneNumber": "Uneseni broj telefona i/ili lozinka su netočni.",
103
108
  "CountryRestricted": "Prijava nije moguća iz zemlje ograničene jurisdikcije. U slučaju daljnjih poteškoća, molimo kontaktirajte podršku.",
104
109
  "configError": "Došlo je do neočekivane pogreške prilikom dohvaćanja konfiguracije",
105
110
  "userEmailError": "E-mail ili korisničko ime imaju nevažeći format.",
@@ -119,7 +124,8 @@ const TRANSLATIONS = {
119
124
  "Forbidden_UserAccount_Blocked": "Compte joueur bloqué",
120
125
  "GmErr_USER_ACCOUNT_BLOCKED": "Vous ne pouvez actuellement pas vous connecter à votre compte - veuillez contacter le service client pour plus d'informations.",
121
126
  "setUpPassowrd": "Vous devez réinitialiser votre mot de passe",
122
- "Unauthorized": "Le numéro de compte joueur, l'adresse e-mail ou le mot de passe est incorrect",
127
+ "GmErr_USER_AUTH_FAILED": "Le nom d'utilisateur/adresse e-mail et/ou le mot de passe saisis sont incorrects.",
128
+ "AuthFailedPhoneNumber": "Le numéro de téléphone et/ou le mot de passe saisis sont incorrects.",
123
129
  "CountryRestricted": "L'inscription n'est pas possible depuis une juridiction restreinte. Si vous rencontrez d'autres problèmes, veuillez contacter le support.",
124
130
  "configError": "Une erreur inattendue s'est produite lors de la récupération de la configuration",
125
131
  "userEmailError": "L'email ou le nom d'utilisateur ont un format invalide.",
@@ -139,7 +145,8 @@ const TRANSLATIONS = {
139
145
  "Forbidden_UserAccount_Blocked": "Player account blocked",
140
146
  "GmErr_USER_ACCOUNT_BLOCKED": "Momentálně se nemůžete přihlásit ke svému účtu - pro více informací kontaktujte zákaznický servis.",
141
147
  "setUpPassowrd": "Musíte resetovat své heslo",
142
- "Unauthorized": "Číslo účtu hráče, e-mailová adresa nebo heslo je nesprávné",
148
+ "GmErr_USER_AUTH_FAILED": "Zadané uživatelské jméno/e-mailová adresa a/nebo heslo jsou nesprávné.",
149
+ "AuthFailedPhoneNumber": "Zadané telefonní číslo a/nebo heslo jsou nesprávné.",
143
150
  "CountryRestricted": "Registrace není možná z omezené jurisdikce. Pokud narazíte na další potíže, kontaktujte prosím podporu.",
144
151
  "configError": "Při načítání konfigurace došlo k neočekávané chybě",
145
152
  "userEmailError": "E-mail nebo uživatelské jméno mají neplatný formát.",
@@ -159,7 +166,8 @@ const TRANSLATIONS = {
159
166
  "Forbidden_UserAccount_Blocked": "Spielerkonto gesperrt",
160
167
  "GmErr_USER_ACCOUNT_BLOCKED": "Sie können sich derzeit nicht in Ihr Konto einloggen - bitte kontaktieren Sie den Kundenservice für weitere Informationen.",
161
168
  "setUpPassowrd": "Sie müssen Ihr Passwort zurücksetzen",
162
- "Unauthorized": "Die Spieler-Kontonummer, E-Mail-Adresse oder das Passwort ist falsch",
169
+ "GmErr_USER_AUTH_FAILED": "Der eingegebene Benutzername/die E-Mail-Adresse und/oder das Passwort sind falsch.",
170
+ "AuthFailedPhoneNumber": "Die eingegebene Telefonnummer und/oder das Passwort sind falsch.",
163
171
  "CountryRestricted": "Eine Registrierung ist aus einer eingeschränkten Gerichtsbarkeit nicht möglich. Wenn Sie weitere Probleme haben, wenden Sie sich bitte an den Support.",
164
172
  "configError": "Beim Abrufen der Konfiguration ist ein unerwarteter Fehler aufgetreten",
165
173
  "userEmailError": "Die E-Mail oder der Benutzername haben ein ungültiges Format.",
@@ -179,7 +187,8 @@ const TRANSLATIONS = {
179
187
  "Forbidden_UserAccount_Blocked": "Conta de jogador bloqueada",
180
188
  "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.",
181
189
  "setUpPassowrd": "Você precisa redefinir sua senha",
182
- "Unauthorized": "O número da conta de jogador, o endereço de e-mail ou a senha estão incorretos",
190
+ "GmErr_USER_AUTH_FAILED": "O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",
191
+ "AuthFailedPhoneNumber": "O número de telefone e/ou a senha inseridos estão incorretos.",
183
192
  "CountryRestricted": "O registro não é possível a partir de uma jurisdição restrita. Caso encontre outros problemas, entre em contato com o suporte.",
184
193
  "configError": "Ocorreu um erro inesperado ao buscar a configuração",
185
194
  "userEmailError": "O e-mail ou nome de usuário têm um formato inválido.",
@@ -199,7 +208,8 @@ const TRANSLATIONS = {
199
208
  "Forbidden_UserAccount_Blocked": "Cuenta de jugador bloqueada",
200
209
  "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.",
201
210
  "setUpPassowrd": "Necesitas restablecer tu contraseña",
202
- "Unauthorized": "El número de cuenta de jugador, la dirección de correo electrónico o la contraseña son incorrectos",
211
+ "GmErr_USER_AUTH_FAILED": "El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",
212
+ "AuthFailedPhoneNumber": "El número de teléfono y/o la contraseña ingresados son incorrectos.",
203
213
  "CountryRestricted": "El registro no es posible desde una jurisdicción restringida. Si encuentra más problemas, por favor contacte al soporte.",
204
214
  "configError": "Se ha producido un error inesperado al obtener la configuración",
205
215
  "userEmailError": "El correo electrónico o nombre de usuario tienen un formato inválido.",
@@ -219,7 +229,8 @@ const TRANSLATIONS = {
219
229
  "Forbidden_UserAccount_Blocked": "Cuenta de jugador bloqueada",
220
230
  "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.",
221
231
  "setUpPassowrd": "Necesitas restablecer tu contraseña",
222
- "Unauthorized": "El número de cuenta, correo electrónico o contraseña es incorrecto",
232
+ "GmErr_USER_AUTH_FAILED": "El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",
233
+ "AuthFailedPhoneNumber": "El número de teléfono y/o la contraseña ingresados son incorrectos.",
223
234
  "CountryRestricted": "No es posible registrarse desde una jurisdicción restringida. Si encuentra más problemas, comuníquese con el soporte.",
224
235
  "configError": "Se ha producido un error inesperado al obtener la configuración",
225
236
  "userEmailError": "El correo electrónico o nombre de usuario tienen un formato inválido.",
@@ -239,7 +250,8 @@ const TRANSLATIONS = {
239
250
  "Forbidden_UserAccount_Blocked": "Conta de jogador bloqueada",
240
251
  "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.",
241
252
  "setUpPassowrd": "Você precisa redefinir a sua senha",
242
- "Unauthorized": "O número da conta, e-mail ou senha está incorreto",
253
+ "GmErr_USER_AUTH_FAILED": "O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",
254
+ "AuthFailedPhoneNumber": "O número de telefone e/ou a senha inseridos estão incorretos.",
243
255
  "CountryRestricted": "Não é possível se registrar de uma jurisdição restrita. Se encontrar mais problemas, entre em contato com o suporte.",
244
256
  "configError": "Ocorreu um erro inesperado ao procurar a configuração",
245
257
  "userEmailError": "O e-mail ou nome de usuário têm um formato inválido.",
@@ -358,7 +370,7 @@ const dispatchCustomEvent = (type, data = {}) => {
358
370
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
359
371
  */
360
372
 
361
- function defineCustomElement(CustomElement, version = '24.5.12') {
373
+ function defineCustomElement(CustomElement, version = '24.5.11') {
362
374
  Object.defineProperty(CustomElement, 'version', {
363
375
  get() {
364
376
  return version;
@@ -406,26 +418,26 @@ defineCustomElement(Lumo);
406
418
  * Copyright 2019 Google LLC
407
419
  * SPDX-License-Identifier: BSD-3-Clause
408
420
  */
409
- const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$2=Symbol(),o$3=new WeakMap;class n$2{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$3.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$3.set(s,t));}return t}toString(){return this.cssText}}const r$2=t=>new n$2("string"==typeof t?t:t+"",void 0,s$2),i$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$2)},S$1=(s,o)=>{if(e$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
421
+ const t$1=globalThis,e$2=t$1.ShadowRoot&&(void 0===t$1.ShadyCSS||t$1.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s$1=Symbol(),o$2=new WeakMap;class n$2{constructor(t,e,o){if(this._$cssResult$=!0,o!==s$1)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$2&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}}const r$3=t=>new n$2("string"==typeof t?t:t+"",void 0,s$1),i$3=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n$2(o,t,s$1)},S$1=(s,o)=>{if(e$2)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t$1.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$2=e$2?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$3(e)})(t):t;
410
422
 
411
423
  /**
412
424
  * @license
413
425
  * Copyright 2017 Google LLC
414
426
  * SPDX-License-Identifier: BSD-3-Clause
415
- */const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:h$1,getOwnPropertyNames:r$1,getOwnPropertySymbols:o$2,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$2(t,s),b={attribute:!0,type:String,converter:u$1,reflect:!1,useDefault:!1,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=b){if(s.state&&(s.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=!0),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),h=this.getPropertyDescriptor(t,i,s);void 0!==h&&e$1(this.prototype,t,h);}}static getPropertyDescriptor(t,s,i){const{get:e,set:r}=h$1(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get:e,set(s){const h=e?.call(this);r?.call(this,s),this.requestUpdate(t,h,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...r$1(t),...o$2(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const h=(void 0!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==h?this.removeAttribute(e):this.setAttribute(e,h),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=h.fromAttribute(s,t.type)??this._$Ej?.get(e)??null,this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,h=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??f$1)(h,s)||i.useDefault&&i.reflect&&h===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$EP());}C(t,s,{useDefault:i,reflect:e,wrapped:h},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),!0!==h||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),!0===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t));}async _$EP(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];!0!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e);}}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM();}catch(s){throw t=!1,this._$EM(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EM(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM();}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[d$1("elementProperties")]=new Map,y[d$1("finalized")]=new Map,p$1?.({ReactiveElement:y}),(a$1.reactiveElementVersions??=[]).push("2.1.0");
427
+ */const{is:i$2,defineProperty:e$1,getOwnPropertyDescriptor:r$2,getOwnPropertyNames:h$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1}=Object,a$1=globalThis,c$1=a$1.trustedTypes,l$1=c$1?c$1.emptyScript:"",p$1=a$1.reactiveElementPolyfillSupport,d$1=(t,s)=>t,u$1={toAttribute(t,s){switch(s){case Boolean:t=t?l$1:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f$1=(t,s)=>!i$2(t,s),y={attribute:!0,type:String,converter:u$1,reflect:!1,hasChanged:f$1};Symbol.metadata??=Symbol("metadata"),a$1.litPropertyMetadata??=new WeakMap;class b extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=y){if(s.state&&(s.attribute=!1),this._$Ei(),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),r=this.getPropertyDescriptor(t,i,s);void 0!==r&&e$1(this.prototype,t,r);}}static getPropertyDescriptor(t,s,i){const{get:e,set:h}=r$2(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get(){return e?.call(this)},set(s){const r=e?.call(this);h.call(this,s),this.requestUpdate(t,r,i);},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??y}static _$Ei(){if(this.hasOwnProperty(d$1("elementProperties")))return;const t=n$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d$1("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d$1("properties"))){const t=this.properties,s=[...h$1(t),...o$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$2(s));}else void 0!==s&&i.push(c$2(s));return i}static _$Eu(t,s){const i=s.attribute;return !1===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S$1(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$EC(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&!0===i.reflect){const r=(void 0!==i.converter?.toAttribute?i.converter:u$1).toAttribute(s,i.type);this._$Em=t,null==r?this.removeAttribute(e):this.setAttribute(e,r),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u$1;this._$Em=e,this[e]=r.fromAttribute(s,t.type),this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){if(i??=this.constructor.getPropertyOptions(t),!(i.hasChanged??f$1)(this[t],s))return;this.P(t,s,i);}!1===this.isUpdatePending&&(this._$ES=this._$ET());}P(t,s,i){this._$AL.has(t)||this._$AL.set(t,s),!0===i.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t);}async _$ET(){this.isUpdatePending=!0;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t)!0!==i.wrapped||this._$AL.has(s)||void 0===this[s]||this.P(s,this[s],i);}let t=!1;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EU();}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t);}_$EU(){this._$AL=new Map,this.isUpdatePending=!1;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return !0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU();}updated(t){}firstUpdated(t){}}b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[d$1("elementProperties")]=new Map,b[d$1("finalized")]=new Map,p$1?.({ReactiveElement:b}),(a$1.reactiveElementVersions??=[]).push("2.0.4");
416
428
 
417
429
  /**
418
430
  * @license
419
431
  * Copyright 2017 Google LLC
420
432
  * SPDX-License-Identifier: BSD-3-Clause
421
433
  */
422
- const t=globalThis,i$1=t.trustedTypes,s$1=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o$1="?"+h,n=`<${o$1}>`,r=document,l=()=>r.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r.createTreeWalker(r,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s$1?s$1.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o$1)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push("3.3.0");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
434
+ const t=globalThis,i$1=t.trustedTypes,s=i$1?i$1.createPolicy("lit-html",{createHTML:t=>t}):void 0,e="$lit$",h=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+h,n=`<${o}>`,r$1=document,l=()=>r$1.createComment(""),c=t=>null===t||"object"!=typeof t&&"function"!=typeof t,a=Array.isArray,u=t=>a(t)||"function"==typeof t?.[Symbol.iterator],d="[ \t\n\f\r]",f=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,_=/>/g,m=RegExp(`>|${d}(?:([^\\s"'>=/]+)(${d}*=${d}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),p=/'/g,g=/"/g,$=/^(?:script|style|textarea|title)$/i,T=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),A=new WeakMap,C=r$1.createTreeWalker(r$1,129);function P(t,i){if(!a(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(i):i}const V=(t,i)=>{const s=t.length-1,o=[];let r,l=2===i?"<svg>":3===i?"<math>":"",c=f;for(let i=0;i<s;i++){const s=t[i];let a,u,d=-1,y=0;for(;y<s.length&&(c.lastIndex=y,u=c.exec(s),null!==u);)y=c.lastIndex,c===f?"!--"===u[1]?c=v:void 0!==u[1]?c=_:void 0!==u[2]?($.test(u[2])&&(r=RegExp("</"+u[2],"g")),c=m):void 0!==u[3]&&(c=m):c===m?">"===u[0]?(c=r??f,d=-1):void 0===u[1]?d=-2:(d=c.lastIndex-u[2].length,a=u[1],c=void 0===u[3]?m:'"'===u[3]?g:p):c===g||c===p?c=m:c===v||c===_?c=f:(c=m,r=void 0);const x=c===m&&t[i+1].startsWith("/>")?" ":"";l+=c===f?s+n:d>=0?(o.push(a),s.slice(0,d)+e+s.slice(d)+h+x):s+h+(-2===d?i:x);}return [P(t,l+(t[s]||"<?>")+(2===i?"</svg>":3===i?"</math>":"")),o]};class N{constructor({strings:t,_$litType$:s},n){let r;this.parts=[];let c=0,a=0;const u=t.length-1,d=this.parts,[f,v]=V(t,s);if(this.el=N.createElement(f,n),C.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes);}for(;null!==(r=C.nextNode())&&d.length<u;){if(1===r.nodeType){if(r.hasAttributes())for(const t of r.getAttributeNames())if(t.endsWith(e)){const i=v[a++],s=r.getAttribute(t).split(h),e=/([.?@])?(.*)/.exec(i);d.push({type:1,index:c,name:e[2],strings:s,ctor:"."===e[1]?H:"?"===e[1]?I:"@"===e[1]?L:k}),r.removeAttribute(t);}else t.startsWith(h)&&(d.push({type:6,index:c}),r.removeAttribute(t));if($.test(r.tagName)){const t=r.textContent.split(h),s=t.length-1;if(s>0){r.textContent=i$1?i$1.emptyScript:"";for(let i=0;i<s;i++)r.append(t[i],l()),C.nextNode(),d.push({type:2,index:++c});r.append(t[s],l());}}}else if(8===r.nodeType)if(r.data===o)d.push({type:2,index:c});else {let t=-1;for(;-1!==(t=r.data.indexOf(h,t+1));)d.push({type:7,index:c}),t+=h.length-1;}c++;}}static createElement(t,i){const s=r$1.createElement("template");return s.innerHTML=t,s}}function S(t,i,s=t,e){if(i===T)return i;let h=void 0!==e?s._$Co?.[e]:s._$Cl;const o=c(i)?void 0:i._$litDirective$;return h?.constructor!==o&&(h?._$AO?.(!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,s,e)),void 0!==e?(s._$Co??=[])[e]=h:s._$Cl=h),void 0!==h&&(i=S(t,h._$AS(t,i.values),h,e)),i}class M{constructor(t,i){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=i;}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:i},parts:s}=this._$AD,e=(t?.creationScope??r$1).importNode(i,!0);C.currentNode=e;let h=C.nextNode(),o=0,n=0,l=s[0];for(;void 0!==l;){if(o===l.index){let i;2===l.type?i=new R(h,h.nextSibling,this,t):1===l.type?i=new l.ctor(h,l.name,l.strings,this,t):6===l.type&&(i=new z(h,this,t)),this._$AV.push(i),l=s[++n];}o!==l?.index&&(h=C.nextNode(),o++);}return C.currentNode=r$1,e}p(t){let i=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,i),i+=s.strings.length-2):s._$AI(t[i])),i++;}}class R{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,i,s,e){this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=t,this._$AB=i,this._$AM=s,this.options=e,this._$Cv=e?.isConnected??!0;}get parentNode(){let t=this._$AA.parentNode;const i=this._$AM;return void 0!==i&&11===t?.nodeType&&(t=i.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,i=this){t=S(this,t,i),c(t)?t===E||null==t||""===t?(this._$AH!==E&&this._$AR(),this._$AH=E):t!==this._$AH&&t!==T&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):u(t)?this.k(t):this._(t);}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t));}_(t){this._$AH!==E&&c(this._$AH)?this._$AA.nextSibling.data=t:this.T(r$1.createTextNode(t)),this._$AH=t;}$(t){const{values:i,_$litType$:s}=t,e="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=N.createElement(P(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===e)this._$AH.p(i);else {const t=new M(e,this),s=t.u(this.options);t.p(i),this.T(s),this._$AH=t;}}_$AC(t){let i=A.get(t.strings);return void 0===i&&A.set(t.strings,i=new N(t)),i}k(t){a(this._$AH)||(this._$AH=[],this._$AR());const i=this._$AH;let s,e=0;for(const h of t)e===i.length?i.push(s=new R(this.O(l()),this.O(l()),this,this.options)):s=i[e],s._$AI(h),e++;e<i.length&&(this._$AR(s&&s._$AB.nextSibling,e),i.length=e);}_$AR(t=this._$AA.nextSibling,i){for(this._$AP?.(!1,!0,i);t&&t!==this._$AB;){const i=t.nextSibling;t.remove(),t=i;}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t));}}class k{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,i,s,e,h){this.type=1,this._$AH=E,this._$AN=void 0,this.element=t,this.name=i,this._$AM=e,this.options=h,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=E;}_$AI(t,i=this,s,e){const h=this.strings;let o=!1;if(void 0===h)t=S(this,t,i,0),o=!c(t)||t!==this._$AH&&t!==T,o&&(this._$AH=t);else {const e=t;let n,r;for(t=h[0],n=0;n<h.length-1;n++)r=S(this,e[s+n],i,n),r===T&&(r=this._$AH[n]),o||=!c(r)||r!==this._$AH[n],r===E?t=E:t!==E&&(t+=(r??"")+h[n+1]),this._$AH[n]=r;}o&&!e&&this.j(t);}j(t){t===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"");}}class H extends k{constructor(){super(...arguments),this.type=3;}j(t){this.element[this.name]=t===E?void 0:t;}}class I extends k{constructor(){super(...arguments),this.type=4;}j(t){this.element.toggleAttribute(this.name,!!t&&t!==E);}}class L extends k{constructor(t,i,s,e,h){super(t,i,s,e,h),this.type=5;}_$AI(t,i=this){if((t=S(this,t,i,0)??E)===T)return;const s=this._$AH,e=t===E&&s!==E||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,h=t!==E&&(s===E||e);e&&this.element.removeEventListener(this.name,this,s),h&&this.element.addEventListener(this.name,this,t),this._$AH=t;}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t);}}class z{constructor(t,i,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=i,this.options=s;}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t);}}const j=t.litHtmlPolyfillSupport;j?.(N,R),(t.litHtmlVersions??=[]).push("3.2.1");const B=(t,i,s)=>{const e=s?.renderBefore??i;let h=e._$litPart$;if(void 0===h){const t=s?.renderBefore??null;e._$litPart$=h=new R(i.insertBefore(l(),t),t,void 0,s??{});}return h._$AI(t),h};
423
435
 
424
436
  /**
425
437
  * @license
426
438
  * Copyright 2017 Google LLC
427
439
  * SPDX-License-Identifier: BSD-3-Clause
428
- */const s=globalThis;class i extends y{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(r,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T}}i._$litElement$=!0,i["finalized"]=!0,s.litElementHydrateSupport?.({LitElement:i});const o=s.litElementPolyfillSupport;o?.({LitElement:i});(s.litElementVersions??=[]).push("4.2.0");
440
+ */class r extends b{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0;}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const s=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=B(s,this.renderRoot,this.renderOptions);}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0);}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1);}render(){return T}}r._$litElement$=!0,r["finalized"]=!0,globalThis.litElementHydrateSupport?.({LitElement:r});const i=globalThis.litElementPolyfillSupport;i?.({LitElement:r});(globalThis.litElementVersions??=[]).push("4.1.1");
429
441
 
430
442
  /**
431
443
  * @license
@@ -588,7 +600,7 @@ function updateInstanceStyles(instance) {
588
600
 
589
601
  const componentClass = instance.constructor;
590
602
 
591
- if (instance instanceof i) {
603
+ if (instance instanceof r) {
592
604
  // LitElement
593
605
 
594
606
  // The adoptStyles function may fall back to appending style elements to shadow root.
@@ -629,7 +641,7 @@ function updateInstanceStylesOfType(componentClass) {
629
641
  * @param {Function} componentClass
630
642
  */
631
643
  function updateComponentStyles(componentClass) {
632
- if (componentClass.prototype instanceof i) {
644
+ if (componentClass.prototype instanceof r) {
633
645
  // Update LitElement-based component's elementStyles
634
646
  componentClass.elementStyles = componentClass.finalizeStyles(componentClass.styles);
635
647
  } else {
@@ -22076,7 +22088,12 @@ const UserLogin = class {
22076
22088
  // handles errors thrown by api
22077
22089
  this.hasError = true;
22078
22090
  this.errorCode = (_b = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _b === void 0 ? void 0 : _b.errorCode;
22079
- 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);
22091
+ if (this.errorCode === 'GmErr_USER_AUTH_FAILED' && this.loginByPhoneNumber === 'true') {
22092
+ this.errorMessage = translate$1('AuthFailedPhoneNumber', this.lang);
22093
+ }
22094
+ else {
22095
+ 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);
22096
+ }
22080
22097
  if (this.errorMessage) {
22081
22098
  console.error(this.errorMessage);
22082
22099
  this.sendErrorNotification(this.errorMessage);
@@ -22429,20 +22446,20 @@ const UserLogin = class {
22429
22446
  * Render function
22430
22447
  */
22431
22448
  render() {
22432
- let visibilityIcon = index.h("span", { key: '873b46cd052e54869d17d36008134d68f729d22c', class: "InputIcon" }, this.isPasswordVisible &&
22433
- index.h("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" }, index.h("g", { key: '00fbf2dd477a2ee870382c516f958a079679bab3', transform: "translate(-110.856 -23.242)" }, index.h("circle", { key: '0e2504e866afe424d2c8af5d6c5eaa67bd2c579d', class: "PasswordVisibilityIcon", cx: "0.05", cy: "0.05", r: "0.05", transform: "translate(121.017 31.148)" }), index.h("g", { key: 'fdae6fb56663c96c05eaf5f38426c82d73c536e6', transform: "translate(117.499 27.37)" }, index.h("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)" }), index.h("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)" })), index.h("g", { key: '9f69d6f33eb954e9b61109ff693055dde06a636b', transform: "translate(110.856 24.899)" }, index.h("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)" }), index.h("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)" })), index.h("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 &&
22434
- index.h("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" }, index.h("g", { key: '80f5984776ece67a2571f7a91c9acbeab7fdfdec', transform: "translate(-14.185 -27.832)" }, index.h("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)" }), index.h("circle", { key: '36d74b0356775e54cffa9af1ab339ab89e3b4307', class: "PasswordVisibilityIcon", cx: "2.779", cy: "2.779", r: "2.779", transform: "translate(20.827 30.303)" }))));
22435
- let userIdentification = index.h("div", { key: '4b08d425d71e42f6a9418c46cc514221d1d4c233', class: "FormBox" }, index.h("div", { key: 'fedc3017c5cfe937373a8197bfcbe21c056b40f7', class: "FormValue", onKeyDown: this.handleSubmit }, this.loginByPhoneNumber === 'true'
22449
+ let visibilityIcon = index.h("span", { key: '0567bd04c49ef7b4a31de0bf508a363d0bbaa26a', class: "InputIcon" }, this.isPasswordVisible &&
22450
+ index.h("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" }, index.h("g", { key: 'ae7bd644effa0491711d4b516a7059a91ee3b476', transform: "translate(-110.856 -23.242)" }, index.h("circle", { key: '9fab6b1cd86bfe21fbf1a2d87a1e2e35280ade02', class: "PasswordVisibilityIcon", cx: "0.05", cy: "0.05", r: "0.05", transform: "translate(121.017 31.148)" }), index.h("g", { key: '0152c671924811b7718e9b580c5a611b884bcd44', transform: "translate(117.499 27.37)" }, index.h("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)" }), index.h("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)" })), index.h("g", { key: 'caabae285980948b1c782486f47fd6e1afefdb5a', transform: "translate(110.856 24.899)" }, index.h("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)" }), index.h("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)" })), index.h("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 &&
22451
+ index.h("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" }, index.h("g", { key: '84c9ca1a06fb0ee05a9a8f221d4692134be398b6', transform: "translate(-14.185 -27.832)" }, index.h("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)" }), index.h("circle", { key: '8b393ae40f3a6b828fa98fac6049162fddd66252', class: "PasswordVisibilityIcon", cx: "2.779", cy: "2.779", r: "2.779", transform: "translate(20.827 30.303)" }))));
22452
+ let userIdentification = index.h("div", { key: '5d4c897408d2d4851569820e72257cfa26238827', class: "FormBox" }, index.h("div", { key: '125282b434d58a2ae594ff8c8de5acec7b16c6a0', class: "FormValue", onKeyDown: this.handleSubmit }, this.loginByPhoneNumber === 'true'
22436
22453
  ? index.h("div", { class: (!this.isValidUserPhone && this.hasError) ? 'InputBox InputInvalidBox' : 'InputBox ' }, index.h("div", { class: "PhoneInputBox" }, index.h("div", { class: "PrefixBox" }, index.h("vaadin-combo-box", { items: this.userPrefixOptions, value: this.userPrefix, onChange: this.handleInputChangePartial('prefix') }), index.h("label", { class: (this.userPrefix ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone && this.errorForFields['phone'] ? 'FieldInvalid' : '') }, translate$1('userPrefix', this.lang))), index.h("div", { class: "PhoneBox" }, index.h("input", { type: "text", placeholder: '', value: this.userPhone, onFocus: this.handleInputChangePartial('phone'), onInput: this.handleInputChangePartial('phone'), autocapitalize: "none", required: true }), index.h("label", { class: (this.userPhone ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone && this.errorForFields['phone'] ? 'FieldInvalid' : '') }, translate$1('userPhone', this.lang)), !this.isValidUserPhone && this.errorForFields['phone'] &&
22437
22454
  index.h("p", { class: "CredentialsError" }, translate$1('userPhoneError', this.lang)))))
22438
22455
  : index.h("div", { class: (!this.isValidUserEmail && this.errorForFields['user']) ? 'InputBox InputInvalidBox' : 'InputBox' }, index.h("input", { type: "text", placeholder: '', value: this.userNameEmail, onInput: this.handleInputChangePartial('user'), autocapitalize: "none", required: true }), index.h("label", { class: (this.userNameEmail ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserEmail && this.errorForFields['user'] ? 'FieldInvalid' : '') }, translate$1('userEmail', this.lang)), !this.isValidUserEmail && this.errorForFields['user'] &&
22439
- index.h("p", { class: "CredentialsError" }, translate$1('userEmailError', this.lang))), index.h("div", { key: '735796631e7eab7a6f74300d84f5765c9ae90f82', class: (!this.isValidPassword && this.errorForFields['password']) ? 'InputBox InputInvalidBox' : 'InputBox' }, visibilityIcon, index.h("input", { key: 'ad6ad6d6520897acfb74fcde6e6cf3558f05cca0', type: this.isPasswordVisible ? "text" : "password", placeholder: '', value: this.userPassword, onInput: this.handleInputChangePartial('password'), autocapitalize: "none", required: true }), index.h("label", { key: '30f7b42430136df0ae9547a04045ec5d32936f35', class: (this.userPassword ? 'FieldFilledIn' : '') + ' ' + (!this.isValidPassword && this.errorForFields['password'] ? 'FieldInvalid' : '') }, translate$1('password', this.lang)), !this.isValidPassword && this.errorForFields['password'] &&
22440
- index.h("p", { key: 'e4484e3ca22588db694d5df88a6e90289fae26be', class: "CredentialsError" }, translate$1('userPasswordError', this.lang))), this.passwordReset == 'true' &&
22441
- index.h("div", { key: '88e5b7b9d1bb587fb444505b38acd0de1071e0c6', class: "ForgotPassword" }, index.h("button", { key: '270efba86a89b52dcc746650ab03a0906ff40f96', onClick: this.resetPassword }, translate$1('forgotPassword', this.lang))), this.captchaData.isEnabled && this.captchaData.provider === 'cloudflare' &&
22442
- index.h("slot", { key: '6b6e886f022704f812ddb247166f5f49ccdba075', name: "turnstile" }), this.captchaData.isEnabled && this.captchaData.provider === 'google' &&
22443
- index.h("slot", { key: '19edf70dd8f5b28f75df706600041678fff98d3e', name: "google" }), index.h("button", { key: '9edd0f60e6046f5cd8b4d4546781d88d9df9a498', disabled: this.checkIsDisabled(), class: "SubmitCredentials", onClick: this.handleLogin }, translate$1('login', this.lang)), this.hasError &&
22444
- index.h("p", { key: 'd33f306d71c082c278b7c125ba9fe9b51aef0416', class: "CredentialsError" }, this.errorMessage)));
22445
- return index.h("section", { key: 'd6646783e9967e2ddedf2dd02a95da1717745ded', ref: el => this.stylingContainer = el }, userIdentification);
22456
+ index.h("p", { class: "CredentialsError" }, translate$1('userEmailError', this.lang))), index.h("div", { key: '456fadfe988ea1327a908309c42789f27f2c9ff9', class: (!this.isValidPassword && this.errorForFields['password']) ? 'InputBox InputInvalidBox' : 'InputBox' }, visibilityIcon, index.h("input", { key: 'bf19272a751547f3a7dad0be9d7030dd68135664', type: this.isPasswordVisible ? "text" : "password", placeholder: '', value: this.userPassword, onInput: this.handleInputChangePartial('password'), autocapitalize: "none", required: true }), index.h("label", { key: '8b9a0ca4110096c2e7c08be75069c452b5c5da9c', class: (this.userPassword ? 'FieldFilledIn' : '') + ' ' + (!this.isValidPassword && this.errorForFields['password'] ? 'FieldInvalid' : '') }, translate$1('password', this.lang)), !this.isValidPassword && this.errorForFields['password'] &&
22457
+ index.h("p", { key: '17c314a82f4e15adff8918086af85e6452d4fc7d', class: "CredentialsError" }, translate$1('userPasswordError', this.lang))), this.passwordReset == 'true' &&
22458
+ index.h("div", { key: 'c4271c3b1f65174824b1d5a137e9562f98588f4d', class: "ForgotPassword" }, index.h("button", { key: '2e9cd528e7581c8997a40dddadd932ceb724d18f', onClick: this.resetPassword }, translate$1('forgotPassword', this.lang))), this.captchaData.isEnabled && this.captchaData.provider === 'cloudflare' &&
22459
+ index.h("slot", { key: 'c0d8ed9cf6fa85982bc9ca89378f359f5db9d375', name: "turnstile" }), this.captchaData.isEnabled && this.captchaData.provider === 'google' &&
22460
+ index.h("slot", { key: '7f63f3ea8413a3f3fcc91270de43a4cc81c0db39', name: "google" }), index.h("button", { key: '3d490cbd64e75c330c2884dc00fa76fb076b278d', disabled: this.checkIsDisabled(), class: "SubmitCredentials", onClick: this.handleLogin }, translate$1('login', this.lang)), this.hasError &&
22461
+ index.h("p", { key: 'b4e37899e35f7c0ba2eb158aebb7c676a61834cb', class: "CredentialsError" }, this.errorMessage)));
22462
+ return index.h("section", { key: '3a37084eea3c0d356eb0869f9113c173095bd33f', ref: el => this.stylingContainer = el }, userIdentification);
22446
22463
  }
22447
22464
  static get watchers() { return {
22448
22465
  "translationUrl": ["handleNewTranslations"],
@@ -164,7 +164,12 @@ export class UserLogin {
164
164
  // handles errors thrown by api
165
165
  this.hasError = true;
166
166
  this.errorCode = (_b = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _b === void 0 ? void 0 : _b.errorCode;
167
- this.errorMessage = translate(`${this.errorCode}`, this.lang) || ((_c = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _c === void 0 ? void 0 : _c.message) || translate('genericError', this.lang);
167
+ if (this.errorCode === 'GmErr_USER_AUTH_FAILED' && this.loginByPhoneNumber === 'true') {
168
+ this.errorMessage = translate('AuthFailedPhoneNumber', this.lang);
169
+ }
170
+ else {
171
+ this.errorMessage = translate(`${this.errorCode}`, this.lang) || ((_c = data === null || data === void 0 ? void 0 : data.thirdPartyResponse) === null || _c === void 0 ? void 0 : _c.message) || translate('genericError', this.lang);
172
+ }
168
173
  if (this.errorMessage) {
169
174
  console.error(this.errorMessage);
170
175
  this.sendErrorNotification(this.errorMessage);
@@ -517,20 +522,20 @@ export class UserLogin {
517
522
  * Render function
518
523
  */
519
524
  render() {
520
- let visibilityIcon = h("span", { key: '873b46cd052e54869d17d36008134d68f729d22c', class: "InputIcon" }, this.isPasswordVisible &&
521
- h("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("g", { key: '00fbf2dd477a2ee870382c516f958a079679bab3', transform: "translate(-110.856 -23.242)" }, h("circle", { key: '0e2504e866afe424d2c8af5d6c5eaa67bd2c579d', class: "PasswordVisibilityIcon", cx: "0.05", cy: "0.05", r: "0.05", transform: "translate(121.017 31.148)" }), h("g", { key: 'fdae6fb56663c96c05eaf5f38426c82d73c536e6', transform: "translate(117.499 27.37)" }, h("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("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("g", { key: '9f69d6f33eb954e9b61109ff693055dde06a636b', transform: "translate(110.856 24.899)" }, h("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("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("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 &&
522
- h("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("g", { key: '80f5984776ece67a2571f7a91c9acbeab7fdfdec', transform: "translate(-14.185 -27.832)" }, h("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("circle", { key: '36d74b0356775e54cffa9af1ab339ab89e3b4307', class: "PasswordVisibilityIcon", cx: "2.779", cy: "2.779", r: "2.779", transform: "translate(20.827 30.303)" }))));
523
- let userIdentification = h("div", { key: '4b08d425d71e42f6a9418c46cc514221d1d4c233', class: "FormBox" }, h("div", { key: 'fedc3017c5cfe937373a8197bfcbe21c056b40f7', class: "FormValue", onKeyDown: this.handleSubmit }, this.loginByPhoneNumber === 'true'
525
+ let visibilityIcon = h("span", { key: '0567bd04c49ef7b4a31de0bf508a363d0bbaa26a', class: "InputIcon" }, this.isPasswordVisible &&
526
+ h("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("g", { key: 'ae7bd644effa0491711d4b516a7059a91ee3b476', transform: "translate(-110.856 -23.242)" }, h("circle", { key: '9fab6b1cd86bfe21fbf1a2d87a1e2e35280ade02', class: "PasswordVisibilityIcon", cx: "0.05", cy: "0.05", r: "0.05", transform: "translate(121.017 31.148)" }), h("g", { key: '0152c671924811b7718e9b580c5a611b884bcd44', transform: "translate(117.499 27.37)" }, h("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("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("g", { key: 'caabae285980948b1c782486f47fd6e1afefdb5a', transform: "translate(110.856 24.899)" }, h("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("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("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 &&
527
+ h("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("g", { key: '84c9ca1a06fb0ee05a9a8f221d4692134be398b6', transform: "translate(-14.185 -27.832)" }, h("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("circle", { key: '8b393ae40f3a6b828fa98fac6049162fddd66252', class: "PasswordVisibilityIcon", cx: "2.779", cy: "2.779", r: "2.779", transform: "translate(20.827 30.303)" }))));
528
+ let userIdentification = h("div", { key: '5d4c897408d2d4851569820e72257cfa26238827', class: "FormBox" }, h("div", { key: '125282b434d58a2ae594ff8c8de5acec7b16c6a0', class: "FormValue", onKeyDown: this.handleSubmit }, this.loginByPhoneNumber === 'true'
524
529
  ? h("div", { class: (!this.isValidUserPhone && this.hasError) ? 'InputBox InputInvalidBox' : 'InputBox ' }, h("div", { class: "PhoneInputBox" }, h("div", { class: "PrefixBox" }, h("vaadin-combo-box", { items: this.userPrefixOptions, value: this.userPrefix, onChange: this.handleInputChangePartial('prefix') }), h("label", { class: (this.userPrefix ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone && this.errorForFields['phone'] ? 'FieldInvalid' : '') }, translate('userPrefix', this.lang))), h("div", { class: "PhoneBox" }, h("input", { type: "text", placeholder: '', value: this.userPhone, onFocus: this.handleInputChangePartial('phone'), onInput: this.handleInputChangePartial('phone'), autocapitalize: "none", required: true }), h("label", { class: (this.userPhone ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserPhone && this.errorForFields['phone'] ? 'FieldInvalid' : '') }, translate('userPhone', this.lang)), !this.isValidUserPhone && this.errorForFields['phone'] &&
525
530
  h("p", { class: "CredentialsError" }, translate('userPhoneError', this.lang)))))
526
531
  : h("div", { class: (!this.isValidUserEmail && this.errorForFields['user']) ? 'InputBox InputInvalidBox' : 'InputBox' }, h("input", { type: "text", placeholder: '', value: this.userNameEmail, onInput: this.handleInputChangePartial('user'), autocapitalize: "none", required: true }), h("label", { class: (this.userNameEmail ? 'FieldFilledIn' : '') + ' ' + (!this.isValidUserEmail && this.errorForFields['user'] ? 'FieldInvalid' : '') }, translate('userEmail', this.lang)), !this.isValidUserEmail && this.errorForFields['user'] &&
527
- h("p", { class: "CredentialsError" }, translate('userEmailError', this.lang))), h("div", { key: '735796631e7eab7a6f74300d84f5765c9ae90f82', class: (!this.isValidPassword && this.errorForFields['password']) ? 'InputBox InputInvalidBox' : 'InputBox' }, visibilityIcon, h("input", { key: 'ad6ad6d6520897acfb74fcde6e6cf3558f05cca0', type: this.isPasswordVisible ? "text" : "password", placeholder: '', value: this.userPassword, onInput: this.handleInputChangePartial('password'), autocapitalize: "none", required: true }), h("label", { key: '30f7b42430136df0ae9547a04045ec5d32936f35', class: (this.userPassword ? 'FieldFilledIn' : '') + ' ' + (!this.isValidPassword && this.errorForFields['password'] ? 'FieldInvalid' : '') }, translate('password', this.lang)), !this.isValidPassword && this.errorForFields['password'] &&
528
- h("p", { key: 'e4484e3ca22588db694d5df88a6e90289fae26be', class: "CredentialsError" }, translate('userPasswordError', this.lang))), this.passwordReset == 'true' &&
529
- h("div", { key: '88e5b7b9d1bb587fb444505b38acd0de1071e0c6', class: "ForgotPassword" }, h("button", { key: '270efba86a89b52dcc746650ab03a0906ff40f96', onClick: this.resetPassword }, translate('forgotPassword', this.lang))), this.captchaData.isEnabled && this.captchaData.provider === 'cloudflare' &&
530
- h("slot", { key: '6b6e886f022704f812ddb247166f5f49ccdba075', name: "turnstile" }), this.captchaData.isEnabled && this.captchaData.provider === 'google' &&
531
- h("slot", { key: '19edf70dd8f5b28f75df706600041678fff98d3e', name: "google" }), h("button", { key: '9edd0f60e6046f5cd8b4d4546781d88d9df9a498', disabled: this.checkIsDisabled(), class: "SubmitCredentials", onClick: this.handleLogin }, translate('login', this.lang)), this.hasError &&
532
- h("p", { key: 'd33f306d71c082c278b7c125ba9fe9b51aef0416', class: "CredentialsError" }, this.errorMessage)));
533
- return h("section", { key: 'd6646783e9967e2ddedf2dd02a95da1717745ded', ref: el => this.stylingContainer = el }, userIdentification);
532
+ h("p", { class: "CredentialsError" }, translate('userEmailError', this.lang))), h("div", { key: '456fadfe988ea1327a908309c42789f27f2c9ff9', class: (!this.isValidPassword && this.errorForFields['password']) ? 'InputBox InputInvalidBox' : 'InputBox' }, visibilityIcon, h("input", { key: 'bf19272a751547f3a7dad0be9d7030dd68135664', type: this.isPasswordVisible ? "text" : "password", placeholder: '', value: this.userPassword, onInput: this.handleInputChangePartial('password'), autocapitalize: "none", required: true }), h("label", { key: '8b9a0ca4110096c2e7c08be75069c452b5c5da9c', class: (this.userPassword ? 'FieldFilledIn' : '') + ' ' + (!this.isValidPassword && this.errorForFields['password'] ? 'FieldInvalid' : '') }, translate('password', this.lang)), !this.isValidPassword && this.errorForFields['password'] &&
533
+ h("p", { key: '17c314a82f4e15adff8918086af85e6452d4fc7d', class: "CredentialsError" }, translate('userPasswordError', this.lang))), this.passwordReset == 'true' &&
534
+ h("div", { key: 'c4271c3b1f65174824b1d5a137e9562f98588f4d', class: "ForgotPassword" }, h("button", { key: '2e9cd528e7581c8997a40dddadd932ceb724d18f', onClick: this.resetPassword }, translate('forgotPassword', this.lang))), this.captchaData.isEnabled && this.captchaData.provider === 'cloudflare' &&
535
+ h("slot", { key: 'c0d8ed9cf6fa85982bc9ca89378f359f5db9d375', name: "turnstile" }), this.captchaData.isEnabled && this.captchaData.provider === 'google' &&
536
+ h("slot", { key: '7f63f3ea8413a3f3fcc91270de43a4cc81c0db39', name: "google" }), h("button", { key: '3d490cbd64e75c330c2884dc00fa76fb076b278d', disabled: this.checkIsDisabled(), class: "SubmitCredentials", onClick: this.handleLogin }, translate('login', this.lang)), this.hasError &&
537
+ h("p", { key: 'b4e37899e35f7c0ba2eb158aebb7c676a61834cb', class: "CredentialsError" }, this.errorMessage)));
538
+ return h("section", { key: '3a37084eea3c0d356eb0869f9113c173095bd33f', ref: el => this.stylingContainer = el }, userIdentification);
534
539
  }
535
540
  static get is() { return "user-login"; }
536
541
  static get encapsulation() { return "shadow"; }
@@ -8,14 +8,15 @@ const TRANSLATIONS = {
8
8
  "userPrefix": "Phone prefix",
9
9
  "password": "Password",
10
10
  "login": "Login",
11
- "genericError": "An unexpected error has occured",
11
+ "genericError": "An unexpected error has occurred",
12
12
  "successMessage": "Login successful",
13
13
  "Forbidden_UserAccount_Blocked": "Player account blocked",
14
14
  "GmErr_USER_ACCOUNT_BLOCKED": "You’re currently unable to login to your account - please contact Customer Services for more information.",
15
15
  "setUpPassowrd": "You need to reset your password",
16
- "Unauthorized": "The player account number, e-mail address or password is incorrect",
17
- "CountryRestricted": "Registration is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
18
- "configError": "An unexpected error has occured when fetchig the configuration",
16
+ "GmErr_USER_AUTH_FAILED": "The username/email address and/or password entered is incorrect.",
17
+ "AuthFailedPhoneNumber": "The phone number and/or password entered is incorrect.",
18
+ "CountryRestricted": "Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
19
+ "configError": "An unexpected error has occurred when fetching the configuration",
19
20
  "userEmailError": "The email or username have an invalid format.",
20
21
  "userPhoneError": "The prefix or the phone number have an invalid format.",
21
22
  "userPasswordError": "The password has an invalid format."
@@ -33,7 +34,8 @@ const TRANSLATIONS = {
33
34
  "Forbidden_UserAccount_Blocked": "Oyuncu hesabı engellendi",
34
35
  "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.",
35
36
  "setUpPassowrd": "Şifrenizi sıfırlamanız gerekiyor",
36
- "Unauthorized": "Oyuncu hesap numarası, e-posta adresi veya şifre hatalı",
37
+ "GmErr_USER_AUTH_FAILED": "Girilen kullanıcı adı/e-posta adresi ve/veya şifre yanlış.",
38
+ "AuthFailedPhoneNumber": "Girilen telefon numarası ve/veya şifre yanlış.",
37
39
  "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.",
38
40
  "configError": "Yapılandırma alınırken beklenmeyen bir hata oluştu",
39
41
  "userEmailError": "E-posta veya kullanıcı adı geçersiz bir formata sahip.",
@@ -53,8 +55,9 @@ const TRANSLATIONS = {
53
55
  "Forbidden_UserAccount_Blocked": "Player account blocked",
54
56
  "GmErr_USER_ACCOUNT_BLOCKED": "You’re currently unable to login to your account - please contact Customer Services for more information.",
55
57
  "setUpPassowrd": "You need to reset your password",
56
- "Unauthorized": "The player account number, e-mail address or password is incorrect",
57
- "CountryRestricted": "Registration is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
58
+ "GmErr_USER_AUTH_FAILED": "The username/email address and/or password entered is incorrect.",
59
+ "AuthFailedPhoneNumber": "The phone number and/or password entered is incorrect.",
60
+ "CountryRestricted": "Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",
58
61
  "configError": "An unexpected error has occured when fetchig the configuration",
59
62
  "userEmailError": "The email or username have an invalid format.",
60
63
  "userPhoneError": "The prefix or the phone number have an invalid format.",
@@ -73,7 +76,8 @@ const TRANSLATIONS = {
73
76
  "Forbidden_UserAccount_Blocked": "Contul de jucător este blocat",
74
77
  "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.",
75
78
  "setUpPassowrd": "Trebuie să vă resetați parola",
76
- "Unauthorized": "Numărul contului de jucător, adresa de e-mail sau parola sunt incorecte",
79
+ "GmErr_USER_AUTH_FAILED": "Numele de utilizator/adresa de e-mail și/sau parola introduse sunt incorecte.",
80
+ "AuthFailedPhoneNumber": "Numărul de telefon și/sau parola introduse sunt incorecte.",
77
81
  "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.",
78
82
  "configError": "A apărut o eroare neașteptată la preluarea configurației",
79
83
  "userEmailError": "Emailul sau numele de utilizator au un format invalid.",
@@ -93,7 +97,8 @@ const TRANSLATIONS = {
93
97
  "setUpPassowrd": "Morate resetirati svoju lozinku",
94
98
  "Forbidden_UserAccount_Blocked": "Vaš račun je blokiran",
95
99
  "GmErr_USER_ACCOUNT_BLOCKED": "Trenutno se ne možete prijaviti na svoj račun - molimo kontaktirajte Službu za korisnike za više informacija.",
96
- "Unauthorized": "Lozinka, e-mail adresa ili korisničko ime su pogrešno uneseni",
100
+ "GmErr_USER_AUTH_FAILED": "Uneseno korisničko ime/adresa e-pošte i/ili lozinka su netočni.",
101
+ "AuthFailedPhoneNumber": "Uneseni broj telefona i/ili lozinka su netočni.",
97
102
  "CountryRestricted": "Prijava nije moguća iz zemlje ograničene jurisdikcije. U slučaju daljnjih poteškoća, molimo kontaktirajte podršku.",
98
103
  "configError": "Došlo je do neočekivane pogreške prilikom dohvaćanja konfiguracije",
99
104
  "userEmailError": "E-mail ili korisničko ime imaju nevažeći format.",
@@ -113,7 +118,8 @@ const TRANSLATIONS = {
113
118
  "Forbidden_UserAccount_Blocked": "Compte joueur bloqué",
114
119
  "GmErr_USER_ACCOUNT_BLOCKED": "Vous ne pouvez actuellement pas vous connecter à votre compte - veuillez contacter le service client pour plus d'informations.",
115
120
  "setUpPassowrd": "Vous devez réinitialiser votre mot de passe",
116
- "Unauthorized": "Le numéro de compte joueur, l'adresse e-mail ou le mot de passe est incorrect",
121
+ "GmErr_USER_AUTH_FAILED": "Le nom d'utilisateur/adresse e-mail et/ou le mot de passe saisis sont incorrects.",
122
+ "AuthFailedPhoneNumber": "Le numéro de téléphone et/ou le mot de passe saisis sont incorrects.",
117
123
  "CountryRestricted": "L'inscription n'est pas possible depuis une juridiction restreinte. Si vous rencontrez d'autres problèmes, veuillez contacter le support.",
118
124
  "configError": "Une erreur inattendue s'est produite lors de la récupération de la configuration",
119
125
  "userEmailError": "L'email ou le nom d'utilisateur ont un format invalide.",
@@ -133,7 +139,8 @@ const TRANSLATIONS = {
133
139
  "Forbidden_UserAccount_Blocked": "Player account blocked",
134
140
  "GmErr_USER_ACCOUNT_BLOCKED": "Momentálně se nemůžete přihlásit ke svému účtu - pro více informací kontaktujte zákaznický servis.",
135
141
  "setUpPassowrd": "Musíte resetovat své heslo",
136
- "Unauthorized": "Číslo účtu hráče, e-mailová adresa nebo heslo je nesprávné",
142
+ "GmErr_USER_AUTH_FAILED": "Zadané uživatelské jméno/e-mailová adresa a/nebo heslo jsou nesprávné.",
143
+ "AuthFailedPhoneNumber": "Zadané telefonní číslo a/nebo heslo jsou nesprávné.",
137
144
  "CountryRestricted": "Registrace není možná z omezené jurisdikce. Pokud narazíte na další potíže, kontaktujte prosím podporu.",
138
145
  "configError": "Při načítání konfigurace došlo k neočekávané chybě",
139
146
  "userEmailError": "E-mail nebo uživatelské jméno mají neplatný formát.",
@@ -153,7 +160,8 @@ const TRANSLATIONS = {
153
160
  "Forbidden_UserAccount_Blocked": "Spielerkonto gesperrt",
154
161
  "GmErr_USER_ACCOUNT_BLOCKED": "Sie können sich derzeit nicht in Ihr Konto einloggen - bitte kontaktieren Sie den Kundenservice für weitere Informationen.",
155
162
  "setUpPassowrd": "Sie müssen Ihr Passwort zurücksetzen",
156
- "Unauthorized": "Die Spieler-Kontonummer, E-Mail-Adresse oder das Passwort ist falsch",
163
+ "GmErr_USER_AUTH_FAILED": "Der eingegebene Benutzername/die E-Mail-Adresse und/oder das Passwort sind falsch.",
164
+ "AuthFailedPhoneNumber": "Die eingegebene Telefonnummer und/oder das Passwort sind falsch.",
157
165
  "CountryRestricted": "Eine Registrierung ist aus einer eingeschränkten Gerichtsbarkeit nicht möglich. Wenn Sie weitere Probleme haben, wenden Sie sich bitte an den Support.",
158
166
  "configError": "Beim Abrufen der Konfiguration ist ein unerwarteter Fehler aufgetreten",
159
167
  "userEmailError": "Die E-Mail oder der Benutzername haben ein ungültiges Format.",
@@ -173,7 +181,8 @@ const TRANSLATIONS = {
173
181
  "Forbidden_UserAccount_Blocked": "Conta de jogador bloqueada",
174
182
  "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.",
175
183
  "setUpPassowrd": "Você precisa redefinir sua senha",
176
- "Unauthorized": "O número da conta de jogador, o endereço de e-mail ou a senha estão incorretos",
184
+ "GmErr_USER_AUTH_FAILED": "O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",
185
+ "AuthFailedPhoneNumber": "O número de telefone e/ou a senha inseridos estão incorretos.",
177
186
  "CountryRestricted": "O registro não é possível a partir de uma jurisdição restrita. Caso encontre outros problemas, entre em contato com o suporte.",
178
187
  "configError": "Ocorreu um erro inesperado ao buscar a configuração",
179
188
  "userEmailError": "O e-mail ou nome de usuário têm um formato inválido.",
@@ -193,7 +202,8 @@ const TRANSLATIONS = {
193
202
  "Forbidden_UserAccount_Blocked": "Cuenta de jugador bloqueada",
194
203
  "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.",
195
204
  "setUpPassowrd": "Necesitas restablecer tu contraseña",
196
- "Unauthorized": "El número de cuenta de jugador, la dirección de correo electrónico o la contraseña son incorrectos",
205
+ "GmErr_USER_AUTH_FAILED": "El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",
206
+ "AuthFailedPhoneNumber": "El número de teléfono y/o la contraseña ingresados son incorrectos.",
197
207
  "CountryRestricted": "El registro no es posible desde una jurisdicción restringida. Si encuentra más problemas, por favor contacte al soporte.",
198
208
  "configError": "Se ha producido un error inesperado al obtener la configuración",
199
209
  "userEmailError": "El correo electrónico o nombre de usuario tienen un formato inválido.",
@@ -213,7 +223,8 @@ const TRANSLATIONS = {
213
223
  "Forbidden_UserAccount_Blocked": "Cuenta de jugador bloqueada",
214
224
  "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.",
215
225
  "setUpPassowrd": "Necesitas restablecer tu contraseña",
216
- "Unauthorized": "El número de cuenta, correo electrónico o contraseña es incorrecto",
226
+ "GmErr_USER_AUTH_FAILED": "El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",
227
+ "AuthFailedPhoneNumber": "El número de teléfono y/o la contraseña ingresados son incorrectos.",
217
228
  "CountryRestricted": "No es posible registrarse desde una jurisdicción restringida. Si encuentra más problemas, comuníquese con el soporte.",
218
229
  "configError": "Se ha producido un error inesperado al obtener la configuración",
219
230
  "userEmailError": "El correo electrónico o nombre de usuario tienen un formato inválido.",
@@ -233,7 +244,8 @@ const TRANSLATIONS = {
233
244
  "Forbidden_UserAccount_Blocked": "Conta de jogador bloqueada",
234
245
  "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.",
235
246
  "setUpPassowrd": "Você precisa redefinir a sua senha",
236
- "Unauthorized": "O número da conta, e-mail ou senha está incorreto",
247
+ "GmErr_USER_AUTH_FAILED": "O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",
248
+ "AuthFailedPhoneNumber": "O número de telefone e/ou a senha inseridos estão incorretos.",
237
249
  "CountryRestricted": "Não é possível se registrar de uma jurisdição restrita. Se encontrar mais problemas, entre em contato com o suporte.",
238
250
  "configError": "Ocorreu um erro inesperado ao procurar a configuração",
239
251
  "userEmailError": "O e-mail ou nome de usuário têm um formato inválido.",