@everymatrix/user-login 1.87.20 → 1.87.22

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.
@@ -21,7 +21,7 @@ function _interopNamespace(e) {
21
21
  }
22
22
 
23
23
  const NAMESPACE = 'user-login';
24
- const BUILD = /* user-login */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
24
+ const BUILD = /* user-login */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
25
25
 
26
26
  /*
27
27
  Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
@@ -41,6 +41,9 @@ var registerHost = (hostElement, cmpMeta) => {
41
41
  $cmpMeta$: cmpMeta,
42
42
  $instanceValues$: /* @__PURE__ */ new Map()
43
43
  };
44
+ {
45
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
46
+ }
44
47
  {
45
48
  hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
46
49
  hostElement["s-p"] = [];
@@ -830,6 +833,9 @@ var postUpdateComponent = (hostRef) => {
830
833
  } else {
831
834
  endPostUpdate();
832
835
  }
836
+ {
837
+ hostRef.$onInstanceResolve$(elm);
838
+ }
833
839
  {
834
840
  if (hostRef.$onRenderResolve$) {
835
841
  hostRef.$onRenderResolve$();
@@ -921,6 +927,17 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
921
927
  configurable: true,
922
928
  enumerable: true
923
929
  });
930
+ } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
931
+ Object.defineProperty(prototype, memberName, {
932
+ value(...args) {
933
+ var _a2;
934
+ const ref = getHostRef(this);
935
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
936
+ var _a3;
937
+ return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
938
+ });
939
+ }
940
+ });
924
941
  }
925
942
  });
926
943
  if ((flags & 1 /* isElementConstructor */)) {
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6f28b7f5.js');
5
+ const index = require('./index-9f641387.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  const defineCustomElements = async (win, options) => {
9
9
  if (typeof window === 'undefined') return undefined;
10
10
  await appGlobals.globalScripts();
11
- return index.bootstrapLazy([["user-login.cjs",[[1,"user-login",{"endpoint":[513],"minPassLength":[514,"min-pass-length"],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"defaultPrefix":[513,"default-prefix"],"isPrefixEditable":[513,"is-prefix-editable"],"mbSource":[513,"mb-source"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"errorMessage":[32],"errorForFields":[32],"hasError":[32],"phoneCodes":[32],"isLoginLoading":[32],"captchaData":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
11
+ return index.bootstrapLazy([["user-login.cjs",[[1,"user-login",{"endpoint":[513],"minPassLength":[514,"min-pass-length"],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"defaultPrefix":[513,"default-prefix"],"isPrefixEditable":[513,"is-prefix-editable"],"mbSource":[513,"mb-source"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"errorMessage":[32],"errorForFields":[32],"hasError":[32],"phoneCodes":[32],"isLoginLoading":[32],"captchaData":[32],"autofillCredentials":[64]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
12
12
  };
13
13
 
14
14
  exports.setNonce = index.setNonce;
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6f28b7f5.js');
5
+ const index = require('./index-9f641387.js');
6
6
 
7
7
  const DEFAULT_LANGUAGE = 'en';
8
8
  const TRANSLATIONS = {
@@ -7463,6 +7463,18 @@ const UserLogin = class {
7463
7463
  setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
7464
7464
  }
7465
7465
  }
7466
+ /**
7467
+ * Populate login credentials from an external caller and trigger the login process
7468
+ */
7469
+ async autofillCredentials(credentials) {
7470
+ const { userNameEmail, userPassword, userPrefix, userPhone } = credentials || {};
7471
+ this.userNameEmail = userNameEmail;
7472
+ this.userPassword = userPassword;
7473
+ this.userPrefix = userPrefix;
7474
+ this.userPhone = userPhone;
7475
+ this.handleLogin();
7476
+ }
7477
+ ;
7466
7478
  /**
7467
7479
  * Lifecycle method: Fetch translations on component load
7468
7480
  */
@@ -7688,7 +7700,7 @@ const UserLogin = class {
7688
7700
  * Render function
7689
7701
  */
7690
7702
  render() {
7691
- return index.h("section", { key: '5fa4cbf340eaa07164c4a844af19b9b0cdc808ba', ref: el => this.stylingContainer = el }, this.renderUserIdentification());
7703
+ return index.h("section", { key: '7ac7aaee8d984d1d70c59dd32d05d27468167415', ref: el => this.stylingContainer = el }, this.renderUserIdentification());
7692
7704
  }
7693
7705
  static get watchers() { return {
7694
7706
  "translationUrl": ["handleNewTranslations"],
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-6f28b7f5.js');
5
+ const index = require('./index-9f641387.js');
6
6
  const appGlobals = require('./app-globals-3a1e7e63.js');
7
7
 
8
8
  /*
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["user-login.cjs",[[1,"user-login",{"endpoint":[513],"minPassLength":[514,"min-pass-length"],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"defaultPrefix":[513,"default-prefix"],"isPrefixEditable":[513,"is-prefix-editable"],"mbSource":[513,"mb-source"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"errorMessage":[32],"errorForFields":[32],"hasError":[32],"phoneCodes":[32],"isLoginLoading":[32],"captchaData":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
22
+ return index.bootstrapLazy([["user-login.cjs",[[1,"user-login",{"endpoint":[513],"minPassLength":[514,"min-pass-length"],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"defaultPrefix":[513,"default-prefix"],"isPrefixEditable":[513,"is-prefix-editable"],"mbSource":[513,"mb-source"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"errorMessage":[32],"errorForFields":[32],"hasError":[32],"phoneCodes":[32],"isLoginLoading":[32],"captchaData":[32],"autofillCredentials":[64]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -352,6 +352,18 @@ export class UserLogin {
352
352
  setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
353
353
  }
354
354
  }
355
+ /**
356
+ * Populate login credentials from an external caller and trigger the login process
357
+ */
358
+ async autofillCredentials(credentials) {
359
+ const { userNameEmail, userPassword, userPrefix, userPhone } = credentials || {};
360
+ this.userNameEmail = userNameEmail;
361
+ this.userPassword = userPassword;
362
+ this.userPrefix = userPrefix;
363
+ this.userPhone = userPhone;
364
+ this.handleLogin();
365
+ }
366
+ ;
355
367
  /**
356
368
  * Lifecycle method: Fetch translations on component load
357
369
  */
@@ -577,7 +589,7 @@ export class UserLogin {
577
589
  * Render function
578
590
  */
579
591
  render() {
580
- return h("section", { key: '5fa4cbf340eaa07164c4a844af19b9b0cdc808ba', ref: el => this.stylingContainer = el }, this.renderUserIdentification());
592
+ return h("section", { key: '7ac7aaee8d984d1d70c59dd32d05d27468167415', ref: el => this.stylingContainer = el }, this.renderUserIdentification());
581
593
  }
582
594
  static get is() { return "user-login"; }
583
595
  static get encapsulation() { return "shadow"; }
@@ -932,6 +944,36 @@ export class UserLogin {
932
944
  "captchaData": {}
933
945
  };
934
946
  }
947
+ static get methods() {
948
+ return {
949
+ "autofillCredentials": {
950
+ "complexType": {
951
+ "signature": "(credentials: Credentials) => Promise<void>",
952
+ "parameters": [{
953
+ "name": "credentials",
954
+ "type": "Credentials",
955
+ "docs": ""
956
+ }],
957
+ "references": {
958
+ "Promise": {
959
+ "location": "global",
960
+ "id": "global::Promise"
961
+ },
962
+ "Credentials": {
963
+ "location": "import",
964
+ "path": "../../utils/types",
965
+ "id": "../../../../packages/stencil/user-login/src/utils/types.ts::Credentials"
966
+ }
967
+ },
968
+ "return": "Promise<void>"
969
+ },
970
+ "docs": {
971
+ "text": "Populate login credentials from an external caller and trigger the login process",
972
+ "tags": []
973
+ }
974
+ }
975
+ };
976
+ }
935
977
  static get watchers() {
936
978
  return [{
937
979
  "propName": "translationUrl",
@@ -1,5 +1,5 @@
1
1
  const NAMESPACE = 'user-login';
2
- const BUILD = /* user-login */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: false, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
2
+ const BUILD = /* user-login */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, asyncQueue: false, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: false, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: false, constructableCSS: true, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: false, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: false, hostListenerTarget: false, hostListenerTargetBody: false, hostListenerTargetDocument: false, hostListenerTargetParent: false, hostListenerTargetWindow: false, hotModuleReplacement: false, hydrateClientSide: false, hydrateServerSide: false, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", initializeNextTick: false, invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: false, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: false, shadowDom: true, slot: true, slotChildNodesFix: false, slotRelocation: false, state: true, style: true, svg: true, taskQueue: true, transformTagName: false, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: false, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: false, vdomText: true, vdomXlink: false, watchCallback: true };
3
3
 
4
4
  /*
5
5
  Stencil Client Platform v4.19.2 | MIT Licensed | https://stenciljs.com
@@ -19,6 +19,9 @@ var registerHost = (hostElement, cmpMeta) => {
19
19
  $cmpMeta$: cmpMeta,
20
20
  $instanceValues$: /* @__PURE__ */ new Map()
21
21
  };
22
+ {
23
+ hostRef.$onInstancePromise$ = new Promise((r) => hostRef.$onInstanceResolve$ = r);
24
+ }
22
25
  {
23
26
  hostRef.$onReadyPromise$ = new Promise((r) => hostRef.$onReadyResolve$ = r);
24
27
  hostElement["s-p"] = [];
@@ -808,6 +811,9 @@ var postUpdateComponent = (hostRef) => {
808
811
  } else {
809
812
  endPostUpdate();
810
813
  }
814
+ {
815
+ hostRef.$onInstanceResolve$(elm);
816
+ }
811
817
  {
812
818
  if (hostRef.$onRenderResolve$) {
813
819
  hostRef.$onRenderResolve$();
@@ -899,6 +905,17 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
899
905
  configurable: true,
900
906
  enumerable: true
901
907
  });
908
+ } else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
909
+ Object.defineProperty(prototype, memberName, {
910
+ value(...args) {
911
+ var _a2;
912
+ const ref = getHostRef(this);
913
+ return (_a2 = ref == null ? void 0 : ref.$onInstancePromise$) == null ? void 0 : _a2.then(() => {
914
+ var _a3;
915
+ return (_a3 = ref.$lazyInstance$) == null ? void 0 : _a3[memberName](...args);
916
+ });
917
+ }
918
+ });
902
919
  }
903
920
  });
904
921
  if ((flags & 1 /* isElementConstructor */)) {
@@ -1,11 +1,11 @@
1
- import { b as bootstrapLazy } from './index-74c5e8bb.js';
2
- export { s as setNonce } from './index-74c5e8bb.js';
1
+ import { b as bootstrapLazy } from './index-f1feab1e.js';
2
+ export { s as setNonce } from './index-f1feab1e.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await globalScripts();
8
- return bootstrapLazy([["user-login",[[1,"user-login",{"endpoint":[513],"minPassLength":[514,"min-pass-length"],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"defaultPrefix":[513,"default-prefix"],"isPrefixEditable":[513,"is-prefix-editable"],"mbSource":[513,"mb-source"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"errorMessage":[32],"errorForFields":[32],"hasError":[32],"phoneCodes":[32],"isLoginLoading":[32],"captchaData":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
8
+ return bootstrapLazy([["user-login",[[1,"user-login",{"endpoint":[513],"minPassLength":[514,"min-pass-length"],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"defaultPrefix":[513,"default-prefix"],"isPrefixEditable":[513,"is-prefix-editable"],"mbSource":[513,"mb-source"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"errorMessage":[32],"errorForFields":[32],"hasError":[32],"phoneCodes":[32],"isLoginLoading":[32],"captchaData":[32],"autofillCredentials":[64]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
9
9
  };
10
10
 
11
11
  export { defineCustomElements };
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, h } from './index-74c5e8bb.js';
1
+ import { r as registerInstance, h } from './index-f1feab1e.js';
2
2
 
3
3
  const DEFAULT_LANGUAGE = 'en';
4
4
  const TRANSLATIONS = {
@@ -7459,6 +7459,18 @@ const UserLogin = class {
7459
7459
  setClientStylingURL(this.stylingContainer, this.clientStylingUrl);
7460
7460
  }
7461
7461
  }
7462
+ /**
7463
+ * Populate login credentials from an external caller and trigger the login process
7464
+ */
7465
+ async autofillCredentials(credentials) {
7466
+ const { userNameEmail, userPassword, userPrefix, userPhone } = credentials || {};
7467
+ this.userNameEmail = userNameEmail;
7468
+ this.userPassword = userPassword;
7469
+ this.userPrefix = userPrefix;
7470
+ this.userPhone = userPhone;
7471
+ this.handleLogin();
7472
+ }
7473
+ ;
7462
7474
  /**
7463
7475
  * Lifecycle method: Fetch translations on component load
7464
7476
  */
@@ -7684,7 +7696,7 @@ const UserLogin = class {
7684
7696
  * Render function
7685
7697
  */
7686
7698
  render() {
7687
- return h("section", { key: '5fa4cbf340eaa07164c4a844af19b9b0cdc808ba', ref: el => this.stylingContainer = el }, this.renderUserIdentification());
7699
+ return h("section", { key: '7ac7aaee8d984d1d70c59dd32d05d27468167415', ref: el => this.stylingContainer = el }, this.renderUserIdentification());
7688
7700
  }
7689
7701
  static get watchers() { return {
7690
7702
  "translationUrl": ["handleNewTranslations"],
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-74c5e8bb.js';
2
- export { s as setNonce } from './index-74c5e8bb.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-f1feab1e.js';
2
+ export { s as setNonce } from './index-f1feab1e.js';
3
3
  import { g as globalScripts } from './app-globals-0f993ce5.js';
4
4
 
5
5
  /*
@@ -16,5 +16,5 @@ var patchBrowser = () => {
16
16
 
17
17
  patchBrowser().then(async (options) => {
18
18
  await globalScripts();
19
- return bootstrapLazy([["user-login",[[1,"user-login",{"endpoint":[513],"minPassLength":[514,"min-pass-length"],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"defaultPrefix":[513,"default-prefix"],"isPrefixEditable":[513,"is-prefix-editable"],"mbSource":[513,"mb-source"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"errorMessage":[32],"errorForFields":[32],"hasError":[32],"phoneCodes":[32],"isLoginLoading":[32],"captchaData":[32]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
19
+ return bootstrapLazy([["user-login",[[1,"user-login",{"endpoint":[513],"minPassLength":[514,"min-pass-length"],"lang":[1537],"clientStyling":[513,"client-styling"],"clientStylingUrl":[513,"client-styling-url"],"translationUrl":[513,"translation-url"],"passwordReset":[513,"password-reset"],"userEmailRegex":[513,"user-email-regex"],"userEmailRegexOptions":[513,"user-email-regex-options"],"userPhoneRegex":[513,"user-phone-regex"],"userPhoneRegexOptions":[513,"user-phone-regex-options"],"passwordRegex":[513,"password-regex"],"passwordRegexOptions":[513,"password-regex-options"],"version":[513],"loginByPhoneNumber":[513,"login-by-phone-number"],"defaultPrefix":[513,"default-prefix"],"isPrefixEditable":[513,"is-prefix-editable"],"mbSource":[513,"mb-source"],"userNameEmail":[32],"userPassword":[32],"isValidUserEmail":[32],"userPhone":[32],"userPrefix":[32],"isValidPassword":[32],"isValidUserPhone":[32],"isPasswordVisible":[32],"errorMessage":[32],"errorForFields":[32],"hasError":[32],"phoneCodes":[32],"isLoginLoading":[32],"captchaData":[32],"autofillCredentials":[64]},null,{"translationUrl":["handleNewTranslations"],"clientStyling":["handleClientStylingChange"],"clientStylingUrl":["handleClientStylingUrlChange"]}]]]], options);
20
20
  });
@@ -1,4 +1,4 @@
1
- import { CaptchaData } from '../../utils/types';
1
+ import { CaptchaData, Credentials } from '../../utils/types';
2
2
  import "../../../../../../dist/libs/vaadin-facade/index";
3
3
  export declare class UserLogin {
4
4
  /**
@@ -114,6 +114,10 @@ export declare class UserLogin {
114
114
  * @param oldValue - previous client styling URL
115
115
  */
116
116
  handleClientStylingUrlChange(newValue: any, oldValue: any): void;
117
+ /**
118
+ * Populate login credentials from an external caller and trigger the login process
119
+ */
120
+ autofillCredentials(credentials: Credentials): Promise<void>;
117
121
  /**
118
122
  * Lifecycle method: Fetch translations on component load
119
123
  */
@@ -5,8 +5,14 @@
5
5
  * It contains typing information for all components that exist in this project.
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
+ import { Credentials } from "./utils/types";
9
+ export { Credentials } from "./utils/types";
8
10
  export namespace Components {
9
11
  interface UserLogin {
12
+ /**
13
+ * Populate login credentials from an external caller and trigger the login process
14
+ */
15
+ "autofillCredentials": (credentials: Credentials) => Promise<void>;
10
16
  /**
11
17
  * Inline CSS styling provided by the client
12
18
  */
@@ -4,3 +4,9 @@ export type CaptchaData = {
4
4
  provider: string;
5
5
  siteKey: string;
6
6
  };
7
+ export interface Credentials {
8
+ userNameEmail: string;
9
+ userPassword: string;
10
+ userPrefix?: string;
11
+ userPhone?: string;
12
+ }
@@ -0,0 +1,2 @@
1
+ var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),d=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),p=!1,m=[],v=[],w=(e,t)=>n=>{e.push(n),p||(p=!0,t&&4&f.l?b($):f.raf($))},y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},$=()=>{y(m),y(v),(p=m.length>0)&&f.raf($)},b=e=>h().then(e),g=w(v,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>k,unwrap:()=>P,unwrapErr:()=>L});var k=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>k(e))):k(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x,P=e=>{if(e.isOk)return e.value;throw e.value},L=e=>{if(e.isErr)return e.value;throw e.value},R=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?T(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=T(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},T=(e,t)=>({l:0,m:e,i:t,v:null,h:null,u:null,p:null}),A={},F=new WeakMap,N=e=>"sc-"+e.$,U=(e,t,n,l,s,r)=>{if(n!==l){let i=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=D(n),s=D(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((i||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!o&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(H);t=t.replace(q,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},W=/\s/,D=e=>e?e.split(W):[],H="Capture",q=RegExp(H+"$"),G=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||S,s=t.u||S;for(const e of V(Object.keys(o)))e in s||U(l,e,o[e],void 0,n,t.l);for(const e of V(Object.keys(s)))U(l,e,o[e],s[e],n,t.l)};function V(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var _=!1,z=!1,B=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.v=a.createTextNode(l.i);else{if(z||(z="svg"===l.m),o=l.v=a.createElementNS(z?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.m),z&&"foreignObject"===l.m&&(z=!1),G(null,l,z),null!=M&&o["s-si"]!==M&&o.classList.add(o["s-si"]=M),l.h)for(r=0;r<l.h.length;++r)s=B(e,l,r),s&&o.appendChild(s);"svg"===l.m?z=!1:"foreignObject"===o.tagName&&(z=!0)}return o["s-hn"]=x,o},I=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===x&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=B(null,n,o),r&&(l[o].v=r,Y(i,r,t)))},J=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;X(t),e&&e.remove()}}},K=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),Q=(e,t,n=!1)=>{const l=t.v=e.v,o=e.h,s=t.h,r=t.m,i=t.i;null===i?(z="svg"===r||"foreignObject"!==r&&z,("slot"!==r||_)&&G(e,t,z),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],d=t[f],p=l.length-1,m=l[0],v=l[p];for(;i<=f&&c<=p;)if(null==h)h=t[++i];else if(null==d)d=t[--f];else if(null==m)m=l[++c];else if(null==v)v=l[--p];else if(K(h,m,o))Q(h,m,o),h=t[++i],m=l[++c];else if(K(d,v,o))Q(d,v,o),d=t[--f],v=l[--p];else if(K(h,v,o))Q(h,v,o),Y(e,h.v,d.v.nextSibling),h=t[++i],v=l[--p];else if(K(d,m,o))Q(d,m,o),Y(e,d.v,h.v),d=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.m!==m.m?s=B(t&&t[c],n,u):(Q(r,m,o),t[u]=void 0,s=r.v),m=l[++c]):(s=B(t&&t[c],n,c),m=l[++c]),s&&Y(h.v.parentNode,s,h.v)}i>f?I(e,null==l[p+1]?null:l[p+1].v,n,l,c,p):c>p&&J(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),I(l,null,t,s,0,s.length-1)):null!==o&&J(o,0,o.length-1),z&&"svg"===r&&(z=!1)):e.i!==i&&(l.data=i)},X=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(X)},Y=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Z=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},ee=(e,t)=>{if(e.l|=16,!(4&e.l))return Z(e,e.j),g((()=>te(e,t)));e.l|=512},te=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(l=ce(n,"componentWillLoad")),ne(l,(()=>oe(e,n,t)))},ne=(e,t)=>le(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),le=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,oe=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.O,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=N(t),o=i.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,r=F.get(e=e.head||e);if(r||F.set(e,r=new Set),!r.has(l)){{s=a.createElement("style"),s.innerHTML=o;const t=null!=(n=f.k)?n:O(a);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=c),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);se(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>re(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},se=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.O,s=e.C||T(null,null),r=(e=>e&&e.m===A)(t)?t:R(null,null,t);if(x=l.tagName,o.M&&(r.u=r.u||{},o.M.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.C=r,r.v=s.v=l.shadowRoot||l,M=l["s-sc"],_=!!(1&o.l),Q(s,r,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},re=e=>{const t=e.$hostElement$,n=e.t,l=e.j;64&e.l||(e.l|=64,ue(t),ce(n,"componentDidLoad"),e.P(t),l||ie()),e.L(t),e.S&&(e.S(),e.S=void 0),512&e.l&&b((()=>ee(e,!1))),e.l&=-517},ie=()=>{ue(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"user-login"}});return e.dispatchEvent(t),t})(u)))},ce=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,l)=>{var o,r;const i=e.prototype;if(t.R||t.T||e.watchers){e.watchers&&!t.T&&(t.T=e.watchers);const c=Object.entries(null!=(o=t.R)?o:{});if(c.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(i,e,{get(){return((e,t)=>n(this).A.get(t))(0,e)},set(l){((e,t,l,o)=>{const r=n(e);if(!r)throw Error(`Couldn't find host element for "${o.$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.A.get(t),u=r.l,a=r.t;if(l=((e,t)=>null==e||j(e)?e:2&t?parseFloat(e):1&t?e+"":e)(l,o.R[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(r.A.set(t,l),a)){if(o.T&&128&u){const e=o.T[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){s(e,i)}}))}2==(18&u)&&ee(r,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(i,e,{value(...t){var l;const o=n(this);return null==(l=null==o?void 0:o.F)?void 0:l.then((()=>{var n;return null==(n=o.t)?void 0:n[e](...t)}))}})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.T)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.T)?r:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.M)||o.push([e,s])),s}))]))}}return e},fe=e=>{ce(e,"disconnectedCallback")},he=(e,l={})=>{var o;const h=[],p=l.exclude||[],m=u.customElements,v=a.head,w=v.querySelector("meta[charset]"),y=a.createElement("style"),$=[];let b,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],$:l[1],R:l[2],N:l[3]};4&c.l&&(S=!0),c.R=l[2],c.M=[],c.T=null!=(o=l[4])?o:{};const u=c.$,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,O:n,A:new Map};l.F=new Promise((e=>l.L=e)),l.U=new Promise((e=>l.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.$}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?$.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.O,o=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.U)&&t.U.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Z(t,t.j=n);break}}l.R&&Object.entries(l.R).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.W){const e=(e=>{const t=e.$.replace(/-/g,"_"),n=e.W;if(!n)return;const l=r.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
2
+ /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.$}#${t.D}" was not found`);l.isProxied||(n.T=l.watchers,ae(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=N(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);d&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>ee(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);(null==e?void 0:e.t)?fe(e.t):(null==e?void 0:e.U)&&e.U.then((()=>fe(e.t)))}})()))}componentOnReady(){return n(this).U}};c.W=e[0],p.includes(u)||m.get(u)||(h.push(u),m.define(u,ae(a,c,1)))}))})),h.length>0&&(S&&(y.textContent+=c),y.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",y.innerHTML.length)){y.setAttribute("data-styles","");const e=null!=(o=f.k)?o:O(a);null!=e&&y.setAttribute("nonce",e),v.insertBefore(y,w?w.nextSibling:v.firstChild)}g=!1,$.length?$.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(ie,30)))},de=e=>f.k=e;export{he as b,R as h,h as p,l as r,de as s}
@@ -1,4 +1,4 @@
1
- import{r as t,h as e}from"./index-74c5e8bb.js";const i={en:{invalidField:"Sorry, that username/email address and/or password has not been recognized.",forgotPassword:"Forgot Password",userEmail:"Username or Email",userPhone:"Phone number",userPrefix:"Phone prefix",password:"Password",login:"Login",genericError:"An unexpected error has occurred",successMessage:"Login successful",Forbidden_UserAccount_Blocked:"Player account blocked",GmErr_USER_ACCOUNT_BLOCKED:"You’re currently unable to login to your account - please contact Customer Services for more information.",setUpPassowrd:"You need to reset your password",GmErr_USER_AUTH_FAILED:"The username/email address and/or password entered is incorrect.",AuthFailedPhoneNumber:"The phone number and/or password entered is incorrect.",CountryRestricted:"Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",configError:"An unexpected error has occurred when fetching the configuration",userEmailError:"The email or username have an invalid format.",userPhoneError:"The prefix or the phone number have an invalid format.",userPasswordError:"The password has an invalid format.",GmErr_UnexpectedException:"There was an error trying to fetch the data...",Forbidden_UserAccount_Timeout:"It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_Timeout:"It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information",Forbidden_UserAccount_SELFEXCLUDED:"It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service.",Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service."},tr:{invalidField:"Üzgünüz, bu kullanıcı adı/e-posta adresi ve/veya şifre tanınmadı.",forgotPassword:"Şifremi Unuttum",userEmail:"Kullanıcı Adı veya E-posta",userPhone:"Telefon numarası",userPrefix:"Telefon kodu",password:"Şifre",login:"Giriş Yap",genericError:"Beklenmeyen bir hata oluştu",successMessage:"Giriş başarılı",Forbidden_UserAccount_Blocked:"Oyuncu hesabı engellendi",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.",setUpPassowrd:"Şifrenizi sıfırlamanız gerekiyor",GmErr_USER_AUTH_FAILED:"Girilen kullanıcı adı/e-posta adresi ve/veya şifre yanlış.",AuthFailedPhoneNumber:"Girilen telefon numarası ve/veya şifre yanlış.",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.",configError:"Yapılandırma alınırken beklenmeyen bir hata oluştu",userEmailError:"E-posta veya kullanıcı adı geçersiz bir formata sahip.",userPhoneError:"Ön ek veya telefon numarası geçersiz bir formata sahip.",userPasswordError:"Şifre geçersiz bir formata sahip.",GmErr_UnexpectedException:"Verileri almaya çalışırken bir hata oluştu...",Forbidden_UserAccount_Timeout:"Belirlediğiniz aktif zaman aşımı nedeniyle şu anda hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",GmErr_Forbidden_UserAccount_Timeout:"Belirlediğiniz aktif zaman aşımı nedeniyle şu anda hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",Forbidden_UserAccount_SELFEXCLUDED:"Aktif bir kendini dışlama nedeniyle hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Aktif bir kendini dışlama nedeniyle hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",GmErr_Forbidden_UserAccount_NotActive:"E-posta adresinizi henüz onaylamadığınız anlaşılıyor. Kayıt işleminizi tamamlamak ve hesabınıza erişmek için lütfen e-posta gelen kutunuzu onay mesajı için kontrol edin. E-postayı almadıysanız, lütfen spam klasörünüzü de kontrol edin. Yardıma ihtiyacınız olursa, müşteri hizmetleri aracılığıyla destek talep edebilirsiniz.",Forbidden_UserAccount_NotActive:"E-posta adresinizi henüz onaylamadığınız anlaşılıyor. Kayıt işleminizi tamamlamak ve hesabınıza erişmek için lütfen e-posta gelen kutunuzu onay mesajı için kontrol edin. E-postayı almadıysanız, lütfen spam klasörünüzü de kontrol edin. Yardıma ihtiyacınız olursa, müşteri hizmetleri aracılığıyla destek talep edebilirsiniz."},"en-us":{invalidField:"Sorry, that username/email address and/or password has not been recognized.",forgotPassword:"Forgot Password",userEmail:"Username or Email",userPhone:"Phone number",userPrefix:"Phone prefix",password:"Password",login:"Login",genericError:"An unexpected error has occured",successMessage:"Login successful",Forbidden_UserAccount_Blocked:"Player account blocked",GmErr_USER_ACCOUNT_BLOCKED:"You’re currently unable to login to your account - please contact Customer Services for more information.",setUpPassowrd:"You need to reset your password",GmErr_USER_AUTH_FAILED:"The username/email address and/or password entered is incorrect.",AuthFailedPhoneNumber:"The phone number and/or password entered is incorrect.",CountryRestricted:"Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",configError:"An unexpected error has occured when fetchig the configuration",userEmailError:"The email or username have an invalid format.",userPhoneError:"The prefix or the phone number have an invalid format.",userPasswordError:"The password has an invalid format.",GmErr_UnexpectedException:"There was an error trying to fetch the data...",Forbidden_UserAccount_Timeout:"It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_Timeout:"It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information",Forbidden_UserAccount_SELFEXCLUDED:"It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service.",Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service."},ro:{invalidField:"Ne pare rău, acest nume de utilizator/adresă de e-mail și/sau parolă nu a fost recunoscut.",forgotPassword:"Ați uitat parola",userEmail:"Nume utilizator sau email",userPhone:"Număr de telefon",userPrefix:"Prefix telefon",password:"Parolă",login:"Autentificare",genericError:"A apărut o eroare neașteptată",successMessage:"Autentificare reușită",Forbidden_UserAccount_Blocked:"Contul de jucător este blocat",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.",setUpPassowrd:"Trebuie să vă resetați parola",GmErr_USER_AUTH_FAILED:"Numele de utilizator/adresa de e-mail și/sau parola introduse sunt incorecte.",AuthFailedPhoneNumber:"Numărul de telefon și/sau parola introduse sunt incorecte.",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.",configError:"A apărut o eroare neașteptată la preluarea configurației",userEmailError:"Emailul sau numele de utilizator au un format invalid.",userPhoneError:"Prefixul sau numărul de telefon au un format invalid.",userPasswordError:"Parola are un format invalid.",GmErr_UnexpectedException:"A apărut o eroare la încercarea de a prelua datele...",Forbidden_UserAccount_Timeout:"Accesul la contul dumneavoastră nu este posibil momentan din cauza unei perioade de pauză active setate de dumneavoastră. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",GmErr_Forbidden_UserAccount_Timeout:"Accesul la contul dumneavoastră nu este posibil momentan din cauza unei perioade de pauză active setate de dumneavoastră. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",Forbidden_UserAccount_SELFEXCLUDED:"Accesul la contul dumneavoastră nu este posibil din cauza unei autoexcluderi active. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Accesul la contul dumneavoastră nu este posibil din cauza unei autoexcluderi active. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",GmErr_Forbidden_UserAccount_NotActive:"Se pare că nu v-ați confirmat încă adresa de email. Pentru a finaliza înregistrarea și a accesa contul, vă rugăm să verificați inbox-ul de email pentru un mesaj de confirmare. Dacă nu ați primit emailul, verificați și folderul de spam. Dacă aveți nevoie de asistență, puteți solicita ajutor prin serviciul clienți.",Forbidden_UserAccount_NotActive:"Se pare că nu v-ați confirmat încă adresa de email. Pentru a finaliza înregistrarea și a accesa contul, vă rugăm să verificați inbox-ul de email pentru un mesaj de confirmare. Dacă nu ați primit emailul, verificați și folderul de spam. Dacă aveți nevoie de asistență, puteți solicita ajutor prin serviciul clienți."},hr:{invalidField:"Žao nam je, to korisničko ime/adresa e-pošte i/ili lozinka nisu prepoznati.",forgotPassword:"Zaboravljena lozinka",userEmail:"Korisničko ime ili email",userPhone:"Broj telefona",userPrefix:"Telefonski prefix",password:"Lozinka",login:"Prijava",genericError:"Došlo je do neočekivane pogreške",successMessage:"Prijava uspješna",setUpPassowrd:"Morate resetirati svoju lozinku",Forbidden_UserAccount_Blocked:"Vaš račun je blokiran",GmErr_USER_ACCOUNT_BLOCKED:"Trenutno se ne možete prijaviti na svoj račun - molimo kontaktirajte Službu za korisnike za više informacija.",GmErr_USER_AUTH_FAILED:"Uneseno korisničko ime/adresa e-pošte i/ili lozinka su netočni.",AuthFailedPhoneNumber:"Uneseni broj telefona i/ili lozinka su netočni.",CountryRestricted:"Prijava nije moguća iz zemlje ograničene jurisdikcije. U slučaju daljnjih poteškoća, molimo kontaktirajte podršku.",configError:"Došlo je do neočekivane pogreške prilikom dohvaćanja konfiguracije",userEmailError:"E-mail ili korisničko ime imaju nevažeći format.",userPhoneError:"Prefiks ili telefonski broj imaju nevažeći format.",userPasswordError:"Lozinka ima nevažeći format.",GmErr_UnexpectedException:"Došlo je do pogreške prilikom dohvaćanja podataka...",Forbidden_UserAccount_Timeout:"Trenutno nije moguće pristupiti vašem računu zbog aktivne vremenske blokade koju ste postavili. Za više informacija kontaktirajte Službu za korisnike.",GmErr_Forbidden_UserAccount_Timeout:"Trenutno nije moguće pristupiti vašem računu zbog aktivne vremenske blokade koju ste postavili. Za više informacija kontaktirajte Službu za korisnike.",Forbidden_UserAccount_SELFEXCLUDED:"Nije moguće pristupiti vašem računu zbog aktivne samoisključenosti. Za više informacija kontaktirajte Službu za korisnike.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Nije moguće pristupiti vašem računu zbog aktivne samoisključenosti. Za više informacija kontaktirajte Službu za korisnike.",GmErr_Forbidden_UserAccount_NotActive:"Čini se da još niste potvrdili svoju e-mail adresu. Za dovršetak registracije i pristup vašem računu, molimo provjerite svoj inbox za poruku za potvrdu. Ako niste primili e-mail, provjerite i mapu neželjene pošte. Ako trebate pomoć, možete zatražiti podršku putem korisničke službe.",Forbidden_UserAccount_NotActive:"Čini se da još niste potvrdili svoju e-mail adresu. Za dovršetak registracije i pristup vašem računu, molimo provjerite svoj inbox za poruku za potvrdu. Ako niste primili e-mail, provjerite i mapu neželjene pošte. Ako trebate pomoć, možete zatražiti podršku putem korisničke službe."},fr:{invalidField:"Désolé, ce nom d'utilisateur/adresse e-mail et/ou mot de passe n'a pas été reconnu.",forgotPassword:"Mot de passe oublié",userEmail:"Nom d'utilisateur ou email",userPhone:"Numéro de téléphone",userPrefix:"Préfixe téléphonique",password:"Mot de passe",login:"Connexion",genericError:"Une erreur inattendue est survenue",successMessage:"Connexion réussie",Forbidden_UserAccount_Blocked:"Compte joueur bloqué",GmErr_USER_ACCOUNT_BLOCKED:"Vous ne pouvez actuellement pas vous connecter à votre compte - veuillez contacter le service client pour plus d'informations.",setUpPassowrd:"Vous devez réinitialiser votre mot de passe",GmErr_USER_AUTH_FAILED:"Le nom d'utilisateur/adresse e-mail et/ou le mot de passe saisis sont incorrects.",AuthFailedPhoneNumber:"Le numéro de téléphone et/ou le mot de passe saisis sont incorrects.",CountryRestricted:"L'inscription n'est pas possible depuis une juridiction restreinte. Si vous rencontrez d'autres problèmes, veuillez contacter le support.",configError:"Une erreur inattendue s'est produite lors de la récupération de la configuration",userEmailError:"L'email ou le nom d'utilisateur ont un format invalide.",userPhoneError:"Le préfixe ou le numéro de téléphone ont un format invalide.",userPasswordError:"Le mot de passe a un format invalide.",GmErr_UnexpectedException:"Une erreur s'est produite lors de la récupération des données...",Forbidden_UserAccount_Timeout:"Il n'est actuellement pas possible d'accéder à votre compte en raison d'une période de pause active que vous avez définie. Veuillez contacter le service client pour plus d'informations.",GmErr_Forbidden_UserAccount_Timeout:"Il n'est actuellement pas possible d'accéder à votre compte en raison d'une période de pause active que vous avez définie. Veuillez contacter le service client pour plus d'informations.",Forbidden_UserAccount_SELFEXCLUDED:"Il n'est pas possible d'accéder à votre compte en raison d'une auto-exclusion active. Veuillez contacter le service client pour plus d'informations.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Il n'est pas possible d'accéder à votre compte en raison d'une auto-exclusion active. Veuillez contacter le service client pour plus d'informations.",GmErr_Forbidden_UserAccount_NotActive:"Il semble que vous n’ayez pas encore confirmé votre adresse e-mail. Pour finaliser votre inscription et accéder à votre compte, veuillez vérifier votre boîte de réception pour un message de confirmation. Si vous n’avez pas reçu l’e-mail, veuillez également vérifier votre dossier spam. Si vous avez besoin d’assistance, vous pouvez demander de l’aide via le service client.",Forbidden_UserAccount_NotActive:"Il semble que vous n’ayez pas encore confirmé votre adresse e-mail. Pour finaliser votre inscription et accéder à votre compte, veuillez vérifier votre boîte de réception pour un message de confirmation. Si vous n’avez pas reçu l’e-mail, veuillez également vérifier votre dossier spam. Si vous avez besoin d’assistance, vous pouvez demander de l’aide via le service client."},cs:{invalidField:"Omlouváme se, toto uživatelské jméno/e-mailová adresa a/nebo heslo nebyly rozpoznány.",forgotPassword:"Zaboravio sam lozinku ",userEmail:"Korisničko ime ili email",userPhone:"Telefonní číslo",userPrefix:"Telefonní předvolba",password:"Lozinka",login:"Prijava",genericError:"An unexpected error has occured",successMessage:"Login successful",Forbidden_UserAccount_Blocked:"Player account blocked",GmErr_USER_ACCOUNT_BLOCKED:"Momentálně se nemůžete přihlásit ke svému účtu - pro více informací kontaktujte zákaznický servis.",setUpPassowrd:"Musíte resetovat své heslo",GmErr_USER_AUTH_FAILED:"Zadané uživatelské jméno/e-mailová adresa a/nebo heslo jsou nesprávné.",AuthFailedPhoneNumber:"Zadané telefonní číslo a/nebo heslo jsou nesprávné.",CountryRestricted:"Registrace není možná z omezené jurisdikce. Pokud narazíte na další potíže, kontaktujte prosím podporu.",configError:"Při načítání konfigurace došlo k neočekávané chybě",userEmailError:"E-mail nebo uživatelské jméno mají neplatný formát.",userPhoneError:"Předvolba nebo telefonní číslo mají neplatný formát.",userPasswordError:"Heslo má neplatný formát.",GmErr_UnexpectedException:"Při načítání dat došlo k chybě...",Forbidden_UserAccount_Timeout:"Váš účet není momentálně přístupný kvůli aktivnímu časovému omezení, které jste nastavili. Pro více informací kontaktujte zákaznický servis.",GmErr_Forbidden_UserAccount_Timeout:"Váš účet není momentálně přístupný kvůli aktivnímu časovému omezení, které jste nastavili. Pro více informací kontaktujte zákaznický servis.",Forbidden_UserAccount_SELFEXCLUDED:"Váš účet není přístupný kvůli aktivní sebevyloučení. Pro více informací kontaktujte zákaznický servis.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Váš účet není přístupný kvůli aktivní sebevyloučení. Pro více informací kontaktujte zákaznický servis.",GmErr_Forbidden_UserAccount_NotActive:"Zdá se, že jste dosud nepotvrdili svou e-mailovou adresu. Chcete-li dokončit registraci a získat přístup ke svému účtu, zkontrolujte prosím svoji e-mailovou schránku pro potvrzovací zprávu. Pokud e-mail nedorazil, zkontrolujte také složku se spamem. Pokud potřebujete pomoc, můžete požádat o podporu prostřednictvím zákaznického servisu.",Forbidden_UserAccount_NotActive:"Zdá se, že jste dosud nepotvrdili svou e-mailovou adresu. Chcete-li dokončit registraci a získat přístup ke svému účtu, zkontrolujte prosím svoji e-mailovou schránku pro potvrzovací zprávu. Pokud e-mail nedorazil, zkontrolujte také složku se spamem. Pokud potřebujete pomoc, můžete požádat o podporu prostřednictvím zákaznického servisu."},de:{invalidField:"Entschuldigung, dieser Benutzername/diese E-Mail-Adresse und/oder dieses Passwort wurde nicht erkannt.",forgotPassword:"Passwort vergessen",userEmail:"Benutzername oder E-Mail",userPhone:"Telefonnummer",userPrefix:"Telefonvorwahl",password:"Passwort",login:"Anmelden",genericError:"Ein unerwarteter Fehler ist aufgetreten",successMessage:"Erfolgreich angemeldet",Forbidden_UserAccount_Blocked:"Spielerkonto gesperrt",GmErr_USER_ACCOUNT_BLOCKED:"Sie können sich derzeit nicht in Ihr Konto einloggen - bitte kontaktieren Sie den Kundenservice für weitere Informationen.",setUpPassowrd:"Sie müssen Ihr Passwort zurücksetzen",GmErr_USER_AUTH_FAILED:"Der eingegebene Benutzername/die E-Mail-Adresse und/oder das Passwort sind falsch.",AuthFailedPhoneNumber:"Die eingegebene Telefonnummer und/oder das Passwort sind falsch.",CountryRestricted:"Eine Registrierung ist aus einer eingeschränkten Gerichtsbarkeit nicht möglich. Wenn Sie weitere Probleme haben, wenden Sie sich bitte an den Support.",configError:"Beim Abrufen der Konfiguration ist ein unerwarteter Fehler aufgetreten",userEmailError:"Die E-Mail oder der Benutzername haben ein ungültiges Format.",userPhoneError:"Die Vorwahl oder die Telefonnummer haben ein ungültiges Format.",userPasswordError:"Das Passwort hat ein ungültiges Format.",GmErr_UnexpectedException:"Beim Abrufen der Daten ist ein Fehler aufgetreten...",Forbidden_UserAccount_Timeout:"Der Zugriff auf Ihr Konto ist derzeit aufgrund einer aktiven Auszeit, die Sie festgelegt haben, nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",GmErr_Forbidden_UserAccount_Timeout:"Der Zugriff auf Ihr Konto ist derzeit aufgrund einer aktiven Auszeit, die Sie festgelegt haben, nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",Forbidden_UserAccount_SELFEXCLUDED:"Der Zugriff auf Ihr Konto ist aufgrund einer aktiven Selbstausschlussregelung nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Der Zugriff auf Ihr Konto ist aufgrund einer aktiven Selbstausschlussregelung nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",GmErr_Forbidden_UserAccount_NotActive:"Es scheint, dass Sie Ihre E-Mail-Adresse noch nicht bestätigt haben. Um Ihre Registrierung abzuschließen und auf Ihr Konto zuzugreifen, überprüfen Sie bitte Ihren E-Mail-Posteingang auf eine Bestätigungsnachricht. Falls Sie die E-Mail nicht erhalten haben, prüfen Sie bitte auch Ihren Spam-Ordner. Wenn Sie Hilfe benötigen, können Sie den Kundendienst um Unterstützung bitten.",Forbidden_UserAccount_NotActive:"Es scheint, dass Sie Ihre E-Mail-Adresse noch nicht bestätigt haben. Um Ihre Registrierung abzuschließen und auf Ihr Konto zuzugreifen, überprüfen Sie bitte Ihren E-Mail-Posteingang auf eine Bestätigungsnachricht. Falls Sie die E-Mail nicht erhalten haben, prüfen Sie bitte auch Ihren Spam-Ordner. Wenn Sie Hilfe benötigen, können Sie den Kundendienst um Unterstützung bitten."},"pt-br":{invalidField:"Desculpe, esse nome de usuário/endereço de e-mail e/ou senha não foram reconhecidos.",forgotPassword:"Esqueceu a senha",userEmail:"Nome de usuário ou e-mail",userPhone:"Número de telefone",userPrefix:"Prefixo de telefone",password:"Senha",login:"Login",genericError:"Ocorreu um erro inesperado",successMessage:"Login bem-sucedido",Forbidden_UserAccount_Blocked:"Conta de jogador bloqueada",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.",setUpPassowrd:"Você precisa redefinir sua senha",GmErr_USER_AUTH_FAILED:"O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",AuthFailedPhoneNumber:"O número de telefone e/ou a senha inseridos estão incorretos.",CountryRestricted:"O registro não é possível a partir de uma jurisdição restrita. Caso encontre outros problemas, entre em contato com o suporte.",configError:"Ocorreu um erro inesperado ao buscar a configuração",userEmailError:"O e-mail ou nome de usuário têm um formato inválido.",userPhoneError:"O prefixo ou o número de telefone têm um formato inválido.",userPasswordError:"A senha tem um formato inválido.",GmErr_UnexpectedException:"Ocorreu um erro ao tentar buscar os dados...",Forbidden_UserAccount_Timeout:"Atualmente não é possível acessar sua conta devido a um período de pausa ativo que você definiu. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_Timeout:"Atualmente não é possível acessar sua conta devido a um período de pausa ativo que você definiu. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",Forbidden_UserAccount_SELFEXCLUDED:"Não é possível acessar sua conta devido a uma autoexclusão ativa. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Não é possível acessar sua conta devido a uma autoexclusão ativa. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu cadastro e acessar sua conta, verifique a caixa de entrada do seu e-mail para uma mensagem de confirmação. Se você não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, você pode solicitar suporte através do atendimento ao cliente.",Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu cadastro e acessar sua conta, verifique a caixa de entrada do seu e-mail para uma mensagem de confirmação. Se você não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, você pode solicitar suporte através do atendimento ao cliente."},"es-mx":{invalidField:"Lo siento, ese nombre de usuario/dirección de correo electrónico y/o contraseña no ha sido reconocido.",forgotPassword:"Olvidé la contraseña",userEmail:"Nombre de usuario o correo electrónico",userPhone:"Número de teléfono",userPrefix:"Prefijo telefónico",password:"Contraseña",login:"Iniciar sesión",genericError:"Ocurrió un error inesperado",successMessage:"Inicio de sesión exitoso",Forbidden_UserAccount_Blocked:"Cuenta de jugador bloqueada",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.",setUpPassowrd:"Necesitas restablecer tu contraseña",GmErr_USER_AUTH_FAILED:"El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",AuthFailedPhoneNumber:"El número de teléfono y/o la contraseña ingresados son incorrectos.",CountryRestricted:"El registro no es posible desde una jurisdicción restringida. Si encuentra más problemas, por favor contacte al soporte.",configError:"Se ha producido un error inesperado al obtener la configuración",userEmailError:"El correo electrónico o nombre de usuario tienen un formato inválido.",userPhoneError:"El prefijo o el número de teléfono tienen un formato inválido.",userPasswordError:"La contraseña tiene un formato inválido.",GmErr_UnexpectedException:"Ocurrió un error al intentar obtener los datos...",Forbidden_UserAccount_Timeout:"Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta al Servicio al Cliente para más información.",GmErr_Forbidden_UserAccount_Timeout:"Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta al Servicio al Cliente para más información.",Forbidden_UserAccount_SELFEXCLUDED:"No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta al Servicio al Cliente para más información.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta al Servicio al Cliente para más información.",GmErr_Forbidden_UserAccount_NotActive:"Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, revisa tu bandeja de entrada en busca de un mensaje de confirmación. Si no has recibido el correo electrónico, también revisa la carpeta de spam. Si necesitas ayuda, puedes solicitar asistencia a través del servicio al cliente.",Forbidden_UserAccount_NotActive:"Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, revisa tu bandeja de entrada en busca de un mensaje de confirmación. Si no has recibido el correo electrónico, también revisa la carpeta de spam. Si necesitas ayuda, puedes solicitar asistencia a través del servicio al cliente."},es:{invalidField:"Lo siento, ese nombre de usuario/dirección de correo electrónico y/o contraseña no ha sido reconocido.",forgotPassword:"Olvidé mi contraseña",userEmail:"Nombre de usuario o correo electrónico",userPhone:"Número de teléfono",userPrefix:"Prefijo de teléfono",password:"Contraseña",login:"Iniciar sesión",genericError:"Se ha producido un error inesperado",successMessage:"Inicio de sesión exitoso",Forbidden_UserAccount_Blocked:"Cuenta de jugador bloqueada",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.",setUpPassowrd:"Necesitas restablecer tu contraseña",GmErr_USER_AUTH_FAILED:"El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",AuthFailedPhoneNumber:"El número de teléfono y/o la contraseña ingresados son incorrectos.",CountryRestricted:"No es posible registrarse desde una jurisdicción restringida. Si encuentra más problemas, comuníquese con el soporte.",configError:"Se ha producido un error inesperado al obtener la configuración",userEmailError:"El correo electrónico o nombre de usuario tienen un formato inválido.",userPhoneError:"El prefijo o el número de teléfono tienen un formato inválido.",userPasswordError:"La contraseña tiene un formato inválido.",GmErr_UnexpectedException:"Ocurrió un error al intentar obtener los datos...",Forbidden_UserAccount_Timeout:"Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta con el Servicio de Atención al Cliente para más información.",GmErr_Forbidden_UserAccount_Timeout:"Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta con el Servicio de Atención al Cliente para más información.",Forbidden_UserAccount_SELFEXCLUDED:"No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta con el Servicio de Atención al Cliente para más información.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta con el Servicio de Atención al Cliente para más información.",GmErr_Forbidden_UserAccount_NotActive:"Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, revisa tu bandeja de entrada en busca de un mensaje de confirmación. Si no has recibido el correo electrónico, también revisa la carpeta de spam. Si necesitas ayuda, puedes solicitar asistencia a través del servicio al cliente.",Forbidden_UserAccount_NotActive:"Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, revisa tu bandeja de entrada en busca de un mensaje de confirmación. Si no has recibido el correo electrónico, también revisa la carpeta de spam. Si necesitas ayuda, puedes solicitar asistencia a través del servicio al cliente."},pt:{invalidField:"Desculpe, esse nome de usuário/endereço de e-mail e/ou senha não foram reconhecidos.",forgotPassword:"Esqueceu a senha",userEmail:"Nome de usuário ou email",userPhone:"Número de telefone",userPrefix:"Prefixo de telefone",password:"Senha",login:"Entrar",genericError:"Ocorreu um erro inesperado",successMessage:"Login realizado com sucesso",Forbidden_UserAccount_Blocked:"Conta de jogador bloqueada",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.",setUpPassowrd:"Você precisa redefinir a sua senha",GmErr_USER_AUTH_FAILED:"O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",AuthFailedPhoneNumber:"O número de telefone e/ou a senha inseridos estão incorretos.",CountryRestricted:"Não é possível se registrar de uma jurisdição restrita. Se encontrar mais problemas, entre em contato com o suporte.",configError:"Ocorreu um erro inesperado ao procurar a configuração",userEmailError:"O e-mail ou nome de usuário têm um formato inválido.",userPhoneError:"O prefixo ou o número de telefone têm um formato inválido.",userPasswordError:"A senha tem um formato inválido.",GmErr_UnexpectedException:"Ocorreu um erro ao tentar buscar os dados...",Forbidden_UserAccount_Timeout:"De momento não é possível aceder à sua conta devido a uma pausa ativa que definiu. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_Timeout:"De momento não é possível aceder à sua conta devido a uma pausa ativa que definiu. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",Forbidden_UserAccount_SELFEXCLUDED:"Não é possível aceder à sua conta devido a uma autoexclusão ativa. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Não é possível aceder à sua conta devido a uma autoexclusão ativa. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_NotActive:"Parece que ainda não confirmou o seu endereço de e-mail. Para concluir o seu registo e aceder à sua conta, verifique a caixa de entrada do seu e-mail para uma mensagem de confirmação. Se não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, pode solicitar assistência através do serviço de apoio ao cliente.",Forbidden_UserAccount_NotActive:"Parece que ainda não confirmou o seu endereço de e-mail. Para concluir o seu registo e aceder à sua conta, verifique a caixa de entrada do seu e-mail para uma mensagem de confirmação. Se não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, pode solicitar assistência através do serviço de apoio ao cliente."}},o=t=>new Promise((e=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{i[e]||(i[e]={});for(let o in t[e])i[e][o]=t[e][o]})),e(!0)}))})),s=(t,e,o)=>{let s=i[void 0!==e&&e in i?e:"en"][t];if(void 0!==o)for(const[t,e]of Object.entries(o.values)){const i=new RegExp(`{${t}}`,"g");s=s.replace(i,e)}return s};function r(t,e){if(t){const i=document.createElement("style");i.innerHTML=e,t.appendChild(i)}}function n(t,e){if(!t||!e)return;const i=new URL(e);fetch(i.href).then((t=>t.text())).then((e=>{const i=document.createElement("style");i.innerHTML=e,t&&t.appendChild(i)})).catch((t=>{console.error("There was an error while trying to load client styling from URL",t)}))}var a=Object.defineProperty,l=Object.defineProperties,h=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,p=(t,e,i)=>e in t?a(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,m=(t,e)=>{for(var i in e||(e={}))d.call(e,i)&&p(t,i,e[i]);if(c)for(var i of c(e))u.call(e,i)&&p(t,i,e[i]);return t},v=(t,e)=>l(t,h(e)),f=(t,e,i)=>(p(t,"symbol"!=typeof e?e+"":e,i),i),b=(t,e,i)=>new Promise(((o,s)=>{var r=t=>{try{a(i.next(t))}catch(t){s(t)}},n=t=>{try{a(i.throw(t))}catch(t){s(t)}},a=t=>t.done?o(t.value):Promise.resolve(t.value).then(r,n);a((i=i.apply(t,e)).next())}))
1
+ import{r as t,h as e}from"./index-f1feab1e.js";const i={en:{invalidField:"Sorry, that username/email address and/or password has not been recognized.",forgotPassword:"Forgot Password",userEmail:"Username or Email",userPhone:"Phone number",userPrefix:"Phone prefix",password:"Password",login:"Login",genericError:"An unexpected error has occurred",successMessage:"Login successful",Forbidden_UserAccount_Blocked:"Player account blocked",GmErr_USER_ACCOUNT_BLOCKED:"You’re currently unable to login to your account - please contact Customer Services for more information.",setUpPassowrd:"You need to reset your password",GmErr_USER_AUTH_FAILED:"The username/email address and/or password entered is incorrect.",AuthFailedPhoneNumber:"The phone number and/or password entered is incorrect.",CountryRestricted:"Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",configError:"An unexpected error has occurred when fetching the configuration",userEmailError:"The email or username have an invalid format.",userPhoneError:"The prefix or the phone number have an invalid format.",userPasswordError:"The password has an invalid format.",GmErr_UnexpectedException:"There was an error trying to fetch the data...",Forbidden_UserAccount_Timeout:"It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_Timeout:"It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information",Forbidden_UserAccount_SELFEXCLUDED:"It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service.",Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service."},tr:{invalidField:"Üzgünüz, bu kullanıcı adı/e-posta adresi ve/veya şifre tanınmadı.",forgotPassword:"Şifremi Unuttum",userEmail:"Kullanıcı Adı veya E-posta",userPhone:"Telefon numarası",userPrefix:"Telefon kodu",password:"Şifre",login:"Giriş Yap",genericError:"Beklenmeyen bir hata oluştu",successMessage:"Giriş başarılı",Forbidden_UserAccount_Blocked:"Oyuncu hesabı engellendi",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.",setUpPassowrd:"Şifrenizi sıfırlamanız gerekiyor",GmErr_USER_AUTH_FAILED:"Girilen kullanıcı adı/e-posta adresi ve/veya şifre yanlış.",AuthFailedPhoneNumber:"Girilen telefon numarası ve/veya şifre yanlış.",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.",configError:"Yapılandırma alınırken beklenmeyen bir hata oluştu",userEmailError:"E-posta veya kullanıcı adı geçersiz bir formata sahip.",userPhoneError:"Ön ek veya telefon numarası geçersiz bir formata sahip.",userPasswordError:"Şifre geçersiz bir formata sahip.",GmErr_UnexpectedException:"Verileri almaya çalışırken bir hata oluştu...",Forbidden_UserAccount_Timeout:"Belirlediğiniz aktif zaman aşımı nedeniyle şu anda hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",GmErr_Forbidden_UserAccount_Timeout:"Belirlediğiniz aktif zaman aşımı nedeniyle şu anda hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",Forbidden_UserAccount_SELFEXCLUDED:"Aktif bir kendini dışlama nedeniyle hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Aktif bir kendini dışlama nedeniyle hesabınıza erişim mümkün değil. Daha fazla bilgi için lütfen Müşteri Hizmetleri ile iletişime geçin.",GmErr_Forbidden_UserAccount_NotActive:"E-posta adresinizi henüz onaylamadığınız anlaşılıyor. Kayıt işleminizi tamamlamak ve hesabınıza erişmek için lütfen e-posta gelen kutunuzu onay mesajı için kontrol edin. E-postayı almadıysanız, lütfen spam klasörünüzü de kontrol edin. Yardıma ihtiyacınız olursa, müşteri hizmetleri aracılığıyla destek talep edebilirsiniz.",Forbidden_UserAccount_NotActive:"E-posta adresinizi henüz onaylamadığınız anlaşılıyor. Kayıt işleminizi tamamlamak ve hesabınıza erişmek için lütfen e-posta gelen kutunuzu onay mesajı için kontrol edin. E-postayı almadıysanız, lütfen spam klasörünüzü de kontrol edin. Yardıma ihtiyacınız olursa, müşteri hizmetleri aracılığıyla destek talep edebilirsiniz."},"en-us":{invalidField:"Sorry, that username/email address and/or password has not been recognized.",forgotPassword:"Forgot Password",userEmail:"Username or Email",userPhone:"Phone number",userPrefix:"Phone prefix",password:"Password",login:"Login",genericError:"An unexpected error has occured",successMessage:"Login successful",Forbidden_UserAccount_Blocked:"Player account blocked",GmErr_USER_ACCOUNT_BLOCKED:"You’re currently unable to login to your account - please contact Customer Services for more information.",setUpPassowrd:"You need to reset your password",GmErr_USER_AUTH_FAILED:"The username/email address and/or password entered is incorrect.",AuthFailedPhoneNumber:"The phone number and/or password entered is incorrect.",CountryRestricted:"Login is not possible from a restricted jurisdiction. If you encounter further issues, please contact support.",configError:"An unexpected error has occured when fetchig the configuration",userEmailError:"The email or username have an invalid format.",userPhoneError:"The prefix or the phone number have an invalid format.",userPasswordError:"The password has an invalid format.",GmErr_UnexpectedException:"There was an error trying to fetch the data...",Forbidden_UserAccount_Timeout:"It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_Timeout:"It’s currently not possible to access your account due to an active time-out you’ve set. Please contact Customer Services for more information",Forbidden_UserAccount_SELFEXCLUDED:"It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"It’s not possible to access your account due to an active self-exclusion. Please contact Customer Services for more information.",GmErr_Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service.",Forbidden_UserAccount_NotActive:"It appears that you have not yet confirmed your email address. To complete your registration and access your account, please check your email inbox for a confirmation message. If you haven't received the email, please also check your spam folder. If you need assistance, you can request help via the customer service."},ro:{invalidField:"Ne pare rău, acest nume de utilizator/adresă de e-mail și/sau parolă nu a fost recunoscut.",forgotPassword:"Ați uitat parola",userEmail:"Nume utilizator sau email",userPhone:"Număr de telefon",userPrefix:"Prefix telefon",password:"Parolă",login:"Autentificare",genericError:"A apărut o eroare neașteptată",successMessage:"Autentificare reușită",Forbidden_UserAccount_Blocked:"Contul de jucător este blocat",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.",setUpPassowrd:"Trebuie să vă resetați parola",GmErr_USER_AUTH_FAILED:"Numele de utilizator/adresa de e-mail și/sau parola introduse sunt incorecte.",AuthFailedPhoneNumber:"Numărul de telefon și/sau parola introduse sunt incorecte.",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.",configError:"A apărut o eroare neașteptată la preluarea configurației",userEmailError:"Emailul sau numele de utilizator au un format invalid.",userPhoneError:"Prefixul sau numărul de telefon au un format invalid.",userPasswordError:"Parola are un format invalid.",GmErr_UnexpectedException:"A apărut o eroare la încercarea de a prelua datele...",Forbidden_UserAccount_Timeout:"Accesul la contul dumneavoastră nu este posibil momentan din cauza unei perioade de pauză active setate de dumneavoastră. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",GmErr_Forbidden_UserAccount_Timeout:"Accesul la contul dumneavoastră nu este posibil momentan din cauza unei perioade de pauză active setate de dumneavoastră. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",Forbidden_UserAccount_SELFEXCLUDED:"Accesul la contul dumneavoastră nu este posibil din cauza unei autoexcluderi active. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Accesul la contul dumneavoastră nu este posibil din cauza unei autoexcluderi active. Vă rugăm să contactați Serviciul Clienți pentru mai multe informații.",GmErr_Forbidden_UserAccount_NotActive:"Se pare că nu v-ați confirmat încă adresa de email. Pentru a finaliza înregistrarea și a accesa contul, vă rugăm să verificați inbox-ul de email pentru un mesaj de confirmare. Dacă nu ați primit emailul, verificați și folderul de spam. Dacă aveți nevoie de asistență, puteți solicita ajutor prin serviciul clienți.",Forbidden_UserAccount_NotActive:"Se pare că nu v-ați confirmat încă adresa de email. Pentru a finaliza înregistrarea și a accesa contul, vă rugăm să verificați inbox-ul de email pentru un mesaj de confirmare. Dacă nu ați primit emailul, verificați și folderul de spam. Dacă aveți nevoie de asistență, puteți solicita ajutor prin serviciul clienți."},hr:{invalidField:"Žao nam je, to korisničko ime/adresa e-pošte i/ili lozinka nisu prepoznati.",forgotPassword:"Zaboravljena lozinka",userEmail:"Korisničko ime ili email",userPhone:"Broj telefona",userPrefix:"Telefonski prefix",password:"Lozinka",login:"Prijava",genericError:"Došlo je do neočekivane pogreške",successMessage:"Prijava uspješna",setUpPassowrd:"Morate resetirati svoju lozinku",Forbidden_UserAccount_Blocked:"Vaš račun je blokiran",GmErr_USER_ACCOUNT_BLOCKED:"Trenutno se ne možete prijaviti na svoj račun - molimo kontaktirajte Službu za korisnike za više informacija.",GmErr_USER_AUTH_FAILED:"Uneseno korisničko ime/adresa e-pošte i/ili lozinka su netočni.",AuthFailedPhoneNumber:"Uneseni broj telefona i/ili lozinka su netočni.",CountryRestricted:"Prijava nije moguća iz zemlje ograničene jurisdikcije. U slučaju daljnjih poteškoća, molimo kontaktirajte podršku.",configError:"Došlo je do neočekivane pogreške prilikom dohvaćanja konfiguracije",userEmailError:"E-mail ili korisničko ime imaju nevažeći format.",userPhoneError:"Prefiks ili telefonski broj imaju nevažeći format.",userPasswordError:"Lozinka ima nevažeći format.",GmErr_UnexpectedException:"Došlo je do pogreške prilikom dohvaćanja podataka...",Forbidden_UserAccount_Timeout:"Trenutno nije moguće pristupiti vašem računu zbog aktivne vremenske blokade koju ste postavili. Za više informacija kontaktirajte Službu za korisnike.",GmErr_Forbidden_UserAccount_Timeout:"Trenutno nije moguće pristupiti vašem računu zbog aktivne vremenske blokade koju ste postavili. Za više informacija kontaktirajte Službu za korisnike.",Forbidden_UserAccount_SELFEXCLUDED:"Nije moguće pristupiti vašem računu zbog aktivne samoisključenosti. Za više informacija kontaktirajte Službu za korisnike.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Nije moguće pristupiti vašem računu zbog aktivne samoisključenosti. Za više informacija kontaktirajte Službu za korisnike.",GmErr_Forbidden_UserAccount_NotActive:"Čini se da još niste potvrdili svoju e-mail adresu. Za dovršetak registracije i pristup vašem računu, molimo provjerite svoj inbox za poruku za potvrdu. Ako niste primili e-mail, provjerite i mapu neželjene pošte. Ako trebate pomoć, možete zatražiti podršku putem korisničke službe.",Forbidden_UserAccount_NotActive:"Čini se da još niste potvrdili svoju e-mail adresu. Za dovršetak registracije i pristup vašem računu, molimo provjerite svoj inbox za poruku za potvrdu. Ako niste primili e-mail, provjerite i mapu neželjene pošte. Ako trebate pomoć, možete zatražiti podršku putem korisničke službe."},fr:{invalidField:"Désolé, ce nom d'utilisateur/adresse e-mail et/ou mot de passe n'a pas été reconnu.",forgotPassword:"Mot de passe oublié",userEmail:"Nom d'utilisateur ou email",userPhone:"Numéro de téléphone",userPrefix:"Préfixe téléphonique",password:"Mot de passe",login:"Connexion",genericError:"Une erreur inattendue est survenue",successMessage:"Connexion réussie",Forbidden_UserAccount_Blocked:"Compte joueur bloqué",GmErr_USER_ACCOUNT_BLOCKED:"Vous ne pouvez actuellement pas vous connecter à votre compte - veuillez contacter le service client pour plus d'informations.",setUpPassowrd:"Vous devez réinitialiser votre mot de passe",GmErr_USER_AUTH_FAILED:"Le nom d'utilisateur/adresse e-mail et/ou le mot de passe saisis sont incorrects.",AuthFailedPhoneNumber:"Le numéro de téléphone et/ou le mot de passe saisis sont incorrects.",CountryRestricted:"L'inscription n'est pas possible depuis une juridiction restreinte. Si vous rencontrez d'autres problèmes, veuillez contacter le support.",configError:"Une erreur inattendue s'est produite lors de la récupération de la configuration",userEmailError:"L'email ou le nom d'utilisateur ont un format invalide.",userPhoneError:"Le préfixe ou le numéro de téléphone ont un format invalide.",userPasswordError:"Le mot de passe a un format invalide.",GmErr_UnexpectedException:"Une erreur s'est produite lors de la récupération des données...",Forbidden_UserAccount_Timeout:"Il n'est actuellement pas possible d'accéder à votre compte en raison d'une période de pause active que vous avez définie. Veuillez contacter le service client pour plus d'informations.",GmErr_Forbidden_UserAccount_Timeout:"Il n'est actuellement pas possible d'accéder à votre compte en raison d'une période de pause active que vous avez définie. Veuillez contacter le service client pour plus d'informations.",Forbidden_UserAccount_SELFEXCLUDED:"Il n'est pas possible d'accéder à votre compte en raison d'une auto-exclusion active. Veuillez contacter le service client pour plus d'informations.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Il n'est pas possible d'accéder à votre compte en raison d'une auto-exclusion active. Veuillez contacter le service client pour plus d'informations.",GmErr_Forbidden_UserAccount_NotActive:"Il semble que vous n’ayez pas encore confirmé votre adresse e-mail. Pour finaliser votre inscription et accéder à votre compte, veuillez vérifier votre boîte de réception pour un message de confirmation. Si vous n’avez pas reçu l’e-mail, veuillez également vérifier votre dossier spam. Si vous avez besoin d’assistance, vous pouvez demander de l’aide via le service client.",Forbidden_UserAccount_NotActive:"Il semble que vous n’ayez pas encore confirmé votre adresse e-mail. Pour finaliser votre inscription et accéder à votre compte, veuillez vérifier votre boîte de réception pour un message de confirmation. Si vous n’avez pas reçu l’e-mail, veuillez également vérifier votre dossier spam. Si vous avez besoin d’assistance, vous pouvez demander de l’aide via le service client."},cs:{invalidField:"Omlouváme se, toto uživatelské jméno/e-mailová adresa a/nebo heslo nebyly rozpoznány.",forgotPassword:"Zaboravio sam lozinku ",userEmail:"Korisničko ime ili email",userPhone:"Telefonní číslo",userPrefix:"Telefonní předvolba",password:"Lozinka",login:"Prijava",genericError:"An unexpected error has occured",successMessage:"Login successful",Forbidden_UserAccount_Blocked:"Player account blocked",GmErr_USER_ACCOUNT_BLOCKED:"Momentálně se nemůžete přihlásit ke svému účtu - pro více informací kontaktujte zákaznický servis.",setUpPassowrd:"Musíte resetovat své heslo",GmErr_USER_AUTH_FAILED:"Zadané uživatelské jméno/e-mailová adresa a/nebo heslo jsou nesprávné.",AuthFailedPhoneNumber:"Zadané telefonní číslo a/nebo heslo jsou nesprávné.",CountryRestricted:"Registrace není možná z omezené jurisdikce. Pokud narazíte na další potíže, kontaktujte prosím podporu.",configError:"Při načítání konfigurace došlo k neočekávané chybě",userEmailError:"E-mail nebo uživatelské jméno mají neplatný formát.",userPhoneError:"Předvolba nebo telefonní číslo mají neplatný formát.",userPasswordError:"Heslo má neplatný formát.",GmErr_UnexpectedException:"Při načítání dat došlo k chybě...",Forbidden_UserAccount_Timeout:"Váš účet není momentálně přístupný kvůli aktivnímu časovému omezení, které jste nastavili. Pro více informací kontaktujte zákaznický servis.",GmErr_Forbidden_UserAccount_Timeout:"Váš účet není momentálně přístupný kvůli aktivnímu časovému omezení, které jste nastavili. Pro více informací kontaktujte zákaznický servis.",Forbidden_UserAccount_SELFEXCLUDED:"Váš účet není přístupný kvůli aktivní sebevyloučení. Pro více informací kontaktujte zákaznický servis.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Váš účet není přístupný kvůli aktivní sebevyloučení. Pro více informací kontaktujte zákaznický servis.",GmErr_Forbidden_UserAccount_NotActive:"Zdá se, že jste dosud nepotvrdili svou e-mailovou adresu. Chcete-li dokončit registraci a získat přístup ke svému účtu, zkontrolujte prosím svoji e-mailovou schránku pro potvrzovací zprávu. Pokud e-mail nedorazil, zkontrolujte také složku se spamem. Pokud potřebujete pomoc, můžete požádat o podporu prostřednictvím zákaznického servisu.",Forbidden_UserAccount_NotActive:"Zdá se, že jste dosud nepotvrdili svou e-mailovou adresu. Chcete-li dokončit registraci a získat přístup ke svému účtu, zkontrolujte prosím svoji e-mailovou schránku pro potvrzovací zprávu. Pokud e-mail nedorazil, zkontrolujte také složku se spamem. Pokud potřebujete pomoc, můžete požádat o podporu prostřednictvím zákaznického servisu."},de:{invalidField:"Entschuldigung, dieser Benutzername/diese E-Mail-Adresse und/oder dieses Passwort wurde nicht erkannt.",forgotPassword:"Passwort vergessen",userEmail:"Benutzername oder E-Mail",userPhone:"Telefonnummer",userPrefix:"Telefonvorwahl",password:"Passwort",login:"Anmelden",genericError:"Ein unerwarteter Fehler ist aufgetreten",successMessage:"Erfolgreich angemeldet",Forbidden_UserAccount_Blocked:"Spielerkonto gesperrt",GmErr_USER_ACCOUNT_BLOCKED:"Sie können sich derzeit nicht in Ihr Konto einloggen - bitte kontaktieren Sie den Kundenservice für weitere Informationen.",setUpPassowrd:"Sie müssen Ihr Passwort zurücksetzen",GmErr_USER_AUTH_FAILED:"Der eingegebene Benutzername/die E-Mail-Adresse und/oder das Passwort sind falsch.",AuthFailedPhoneNumber:"Die eingegebene Telefonnummer und/oder das Passwort sind falsch.",CountryRestricted:"Eine Registrierung ist aus einer eingeschränkten Gerichtsbarkeit nicht möglich. Wenn Sie weitere Probleme haben, wenden Sie sich bitte an den Support.",configError:"Beim Abrufen der Konfiguration ist ein unerwarteter Fehler aufgetreten",userEmailError:"Die E-Mail oder der Benutzername haben ein ungültiges Format.",userPhoneError:"Die Vorwahl oder die Telefonnummer haben ein ungültiges Format.",userPasswordError:"Das Passwort hat ein ungültiges Format.",GmErr_UnexpectedException:"Beim Abrufen der Daten ist ein Fehler aufgetreten...",Forbidden_UserAccount_Timeout:"Der Zugriff auf Ihr Konto ist derzeit aufgrund einer aktiven Auszeit, die Sie festgelegt haben, nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",GmErr_Forbidden_UserAccount_Timeout:"Der Zugriff auf Ihr Konto ist derzeit aufgrund einer aktiven Auszeit, die Sie festgelegt haben, nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",Forbidden_UserAccount_SELFEXCLUDED:"Der Zugriff auf Ihr Konto ist aufgrund einer aktiven Selbstausschlussregelung nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Der Zugriff auf Ihr Konto ist aufgrund einer aktiven Selbstausschlussregelung nicht möglich. Bitte wenden Sie sich für weitere Informationen an den Kundenservice.",GmErr_Forbidden_UserAccount_NotActive:"Es scheint, dass Sie Ihre E-Mail-Adresse noch nicht bestätigt haben. Um Ihre Registrierung abzuschließen und auf Ihr Konto zuzugreifen, überprüfen Sie bitte Ihren E-Mail-Posteingang auf eine Bestätigungsnachricht. Falls Sie die E-Mail nicht erhalten haben, prüfen Sie bitte auch Ihren Spam-Ordner. Wenn Sie Hilfe benötigen, können Sie den Kundendienst um Unterstützung bitten.",Forbidden_UserAccount_NotActive:"Es scheint, dass Sie Ihre E-Mail-Adresse noch nicht bestätigt haben. Um Ihre Registrierung abzuschließen und auf Ihr Konto zuzugreifen, überprüfen Sie bitte Ihren E-Mail-Posteingang auf eine Bestätigungsnachricht. Falls Sie die E-Mail nicht erhalten haben, prüfen Sie bitte auch Ihren Spam-Ordner. Wenn Sie Hilfe benötigen, können Sie den Kundendienst um Unterstützung bitten."},"pt-br":{invalidField:"Desculpe, esse nome de usuário/endereço de e-mail e/ou senha não foram reconhecidos.",forgotPassword:"Esqueceu a senha",userEmail:"Nome de usuário ou e-mail",userPhone:"Número de telefone",userPrefix:"Prefixo de telefone",password:"Senha",login:"Login",genericError:"Ocorreu um erro inesperado",successMessage:"Login bem-sucedido",Forbidden_UserAccount_Blocked:"Conta de jogador bloqueada",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.",setUpPassowrd:"Você precisa redefinir sua senha",GmErr_USER_AUTH_FAILED:"O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",AuthFailedPhoneNumber:"O número de telefone e/ou a senha inseridos estão incorretos.",CountryRestricted:"O registro não é possível a partir de uma jurisdição restrita. Caso encontre outros problemas, entre em contato com o suporte.",configError:"Ocorreu um erro inesperado ao buscar a configuração",userEmailError:"O e-mail ou nome de usuário têm um formato inválido.",userPhoneError:"O prefixo ou o número de telefone têm um formato inválido.",userPasswordError:"A senha tem um formato inválido.",GmErr_UnexpectedException:"Ocorreu um erro ao tentar buscar os dados...",Forbidden_UserAccount_Timeout:"Atualmente não é possível acessar sua conta devido a um período de pausa ativo que você definiu. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_Timeout:"Atualmente não é possível acessar sua conta devido a um período de pausa ativo que você definiu. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",Forbidden_UserAccount_SELFEXCLUDED:"Não é possível acessar sua conta devido a uma autoexclusão ativa. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Não é possível acessar sua conta devido a uma autoexclusão ativa. Por favor, entre em contato com o Atendimento ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu cadastro e acessar sua conta, verifique a caixa de entrada do seu e-mail para uma mensagem de confirmação. Se você não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, você pode solicitar suporte através do atendimento ao cliente.",Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu cadastro e acessar sua conta, verifique a caixa de entrada do seu e-mail para uma mensagem de confirmação. Se você não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, você pode solicitar suporte através do atendimento ao cliente."},"es-mx":{invalidField:"Lo siento, ese nombre de usuario/dirección de correo electrónico y/o contraseña no ha sido reconocido.",forgotPassword:"Olvidé la contraseña",userEmail:"Nombre de usuario o correo electrónico",userPhone:"Número de teléfono",userPrefix:"Prefijo telefónico",password:"Contraseña",login:"Iniciar sesión",genericError:"Ocurrió un error inesperado",successMessage:"Inicio de sesión exitoso",Forbidden_UserAccount_Blocked:"Cuenta de jugador bloqueada",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.",setUpPassowrd:"Necesitas restablecer tu contraseña",GmErr_USER_AUTH_FAILED:"El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",AuthFailedPhoneNumber:"El número de teléfono y/o la contraseña ingresados son incorrectos.",CountryRestricted:"El registro no es posible desde una jurisdicción restringida. Si encuentra más problemas, por favor contacte al soporte.",configError:"Se ha producido un error inesperado al obtener la configuración",userEmailError:"El correo electrónico o nombre de usuario tienen un formato inválido.",userPhoneError:"El prefijo o el número de teléfono tienen un formato inválido.",userPasswordError:"La contraseña tiene un formato inválido.",GmErr_UnexpectedException:"Ocurrió un error al intentar obtener los datos...",Forbidden_UserAccount_Timeout:"Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta al Servicio al Cliente para más información.",GmErr_Forbidden_UserAccount_Timeout:"Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta al Servicio al Cliente para más información.",Forbidden_UserAccount_SELFEXCLUDED:"No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta al Servicio al Cliente para más información.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta al Servicio al Cliente para más información.",GmErr_Forbidden_UserAccount_NotActive:"Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, revisa tu bandeja de entrada en busca de un mensaje de confirmación. Si no has recibido el correo electrónico, también revisa la carpeta de spam. Si necesitas ayuda, puedes solicitar asistencia a través del servicio al cliente.",Forbidden_UserAccount_NotActive:"Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, revisa tu bandeja de entrada en busca de un mensaje de confirmación. Si no has recibido el correo electrónico, también revisa la carpeta de spam. Si necesitas ayuda, puedes solicitar asistencia a través del servicio al cliente."},es:{invalidField:"Lo siento, ese nombre de usuario/dirección de correo electrónico y/o contraseña no ha sido reconocido.",forgotPassword:"Olvidé mi contraseña",userEmail:"Nombre de usuario o correo electrónico",userPhone:"Número de teléfono",userPrefix:"Prefijo de teléfono",password:"Contraseña",login:"Iniciar sesión",genericError:"Se ha producido un error inesperado",successMessage:"Inicio de sesión exitoso",Forbidden_UserAccount_Blocked:"Cuenta de jugador bloqueada",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.",setUpPassowrd:"Necesitas restablecer tu contraseña",GmErr_USER_AUTH_FAILED:"El nombre de usuario/dirección de correo electrónico y/o la contraseña ingresados son incorrectos.",AuthFailedPhoneNumber:"El número de teléfono y/o la contraseña ingresados son incorrectos.",CountryRestricted:"No es posible registrarse desde una jurisdicción restringida. Si encuentra más problemas, comuníquese con el soporte.",configError:"Se ha producido un error inesperado al obtener la configuración",userEmailError:"El correo electrónico o nombre de usuario tienen un formato inválido.",userPhoneError:"El prefijo o el número de teléfono tienen un formato inválido.",userPasswordError:"La contraseña tiene un formato inválido.",GmErr_UnexpectedException:"Ocurrió un error al intentar obtener los datos...",Forbidden_UserAccount_Timeout:"Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta con el Servicio de Atención al Cliente para más información.",GmErr_Forbidden_UserAccount_Timeout:"Actualmente no es posible acceder a tu cuenta debido a un período de pausa activo que has establecido. Por favor, contacta con el Servicio de Atención al Cliente para más información.",Forbidden_UserAccount_SELFEXCLUDED:"No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta con el Servicio de Atención al Cliente para más información.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"No es posible acceder a tu cuenta debido a una autoexclusión activa. Por favor, contacta con el Servicio de Atención al Cliente para más información.",GmErr_Forbidden_UserAccount_NotActive:"Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, revisa tu bandeja de entrada en busca de un mensaje de confirmación. Si no has recibido el correo electrónico, también revisa la carpeta de spam. Si necesitas ayuda, puedes solicitar asistencia a través del servicio al cliente.",Forbidden_UserAccount_NotActive:"Parece que aún no has confirmado tu dirección de correo electrónico. Para completar tu registro y acceder a tu cuenta, revisa tu bandeja de entrada en busca de un mensaje de confirmación. Si no has recibido el correo electrónico, también revisa la carpeta de spam. Si necesitas ayuda, puedes solicitar asistencia a través del servicio al cliente."},pt:{invalidField:"Desculpe, esse nome de usuário/endereço de e-mail e/ou senha não foram reconhecidos.",forgotPassword:"Esqueceu a senha",userEmail:"Nome de usuário ou email",userPhone:"Número de telefone",userPrefix:"Prefixo de telefone",password:"Senha",login:"Entrar",genericError:"Ocorreu um erro inesperado",successMessage:"Login realizado com sucesso",Forbidden_UserAccount_Blocked:"Conta de jogador bloqueada",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.",setUpPassowrd:"Você precisa redefinir a sua senha",GmErr_USER_AUTH_FAILED:"O nome de usuário/endereço de e-mail e/ou a senha inseridos estão incorretos.",AuthFailedPhoneNumber:"O número de telefone e/ou a senha inseridos estão incorretos.",CountryRestricted:"Não é possível se registrar de uma jurisdição restrita. Se encontrar mais problemas, entre em contato com o suporte.",configError:"Ocorreu um erro inesperado ao procurar a configuração",userEmailError:"O e-mail ou nome de usuário têm um formato inválido.",userPhoneError:"O prefixo ou o número de telefone têm um formato inválido.",userPasswordError:"A senha tem um formato inválido.",GmErr_UnexpectedException:"Ocorreu um erro ao tentar buscar os dados...",Forbidden_UserAccount_Timeout:"De momento não é possível aceder à sua conta devido a uma pausa ativa que definiu. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_Timeout:"De momento não é possível aceder à sua conta devido a uma pausa ativa que definiu. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",Forbidden_UserAccount_SELFEXCLUDED:"Não é possível aceder à sua conta devido a uma autoexclusão ativa. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_SELFEXCLUDED:"Não é possível aceder à sua conta devido a uma autoexclusão ativa. Por favor, contacte o Serviço de Apoio ao Cliente para mais informações.",GmErr_Forbidden_UserAccount_NotActive:"Parece que ainda não confirmou o seu endereço de e-mail. Para concluir o seu registo e aceder à sua conta, verifique a caixa de entrada do seu e-mail para uma mensagem de confirmação. Se não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, pode solicitar assistência através do serviço de apoio ao cliente.",Forbidden_UserAccount_NotActive:"Parece que ainda não confirmou o seu endereço de e-mail. Para concluir o seu registo e aceder à sua conta, verifique a caixa de entrada do seu e-mail para uma mensagem de confirmação. Se não recebeu o e-mail, verifique também a pasta de spam. Se precisar de ajuda, pode solicitar assistência através do serviço de apoio ao cliente."}},o=t=>new Promise((e=>{fetch(t).then((t=>t.json())).then((t=>{Object.keys(t).forEach((e=>{i[e]||(i[e]={});for(let o in t[e])i[e][o]=t[e][o]})),e(!0)}))})),s=(t,e,o)=>{let s=i[void 0!==e&&e in i?e:"en"][t];if(void 0!==o)for(const[t,e]of Object.entries(o.values)){const i=new RegExp(`{${t}}`,"g");s=s.replace(i,e)}return s};function r(t,e){if(t){const i=document.createElement("style");i.innerHTML=e,t.appendChild(i)}}function n(t,e){if(!t||!e)return;const i=new URL(e);fetch(i.href).then((t=>t.text())).then((e=>{const i=document.createElement("style");i.innerHTML=e,t&&t.appendChild(i)})).catch((t=>{console.error("There was an error while trying to load client styling from URL",t)}))}var a=Object.defineProperty,l=Object.defineProperties,h=Object.getOwnPropertyDescriptors,c=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable,p=(t,e,i)=>e in t?a(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,m=(t,e)=>{for(var i in e||(e={}))d.call(e,i)&&p(t,i,e[i]);if(c)for(var i of c(e))u.call(e,i)&&p(t,i,e[i]);return t},v=(t,e)=>l(t,h(e)),f=(t,e,i)=>(p(t,"symbol"!=typeof e?e+"":e,i),i),b=(t,e,i)=>new Promise(((o,s)=>{var r=t=>{try{a(i.next(t))}catch(t){s(t)}},n=t=>{try{a(i.throw(t))}catch(t){s(t)}},a=t=>t.done?o(t.value):Promise.resolve(t.value).then(r,n);a((i=i.apply(t,e)).next())}))
2
2
  /**
3
3
  * @license
4
4
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
@@ -6654,4 +6654,4 @@ Mt("vaadin-tabs",A`
6654
6654
  </div>
6655
6655
 
6656
6656
  <div on-click="_scrollForward" part="forward-button" aria-hidden="true"></div>
6657
- `}static get is(){return"vaadin-tabs"}}g(bl);const gl=class{constructor(e){t(this,e),this.errorCode="",this.getPhoneCodes=()=>{const t=new URL(`${this.endpoint}/v1/player/operatorSupportedPhoneCodes`);return fetch(t.href).then((t=>t.json())).then((t=>t.phoneCodes.map((t=>({label:t,value:t}))))).catch((t=>console.log("Failed to fetch phone codes:",t)))},this.autofillCredentialsHandler=t=>{const{userNameEmail:e,userPassword:i,userPrefix:o,userPhone:s}=(null==t?void 0:t.detail)||{};this.userNameEmail=e,this.userPassword=i,this.userPrefix=o,this.userPhone=s,this.handleLogin()},this.userLoginGm17=async()=>{let t={"Content-Type":"application/json"};const e={contact:this.userNameEmail,password:this.userPassword};this.captchaData.isEnabled&&(t["X-Captcha-Response"]=this.captchaData.token);const i={method:"POST",headers:t,body:JSON.stringify(e)};try{const t=await fetch(`${this.endpoint}/api/v1/players/password-management/auth/password/verify`,i),e=await t.json(),{token:o}=e;if(!o)throw new Error("Token not received from the API call.");await this.sendLegislationLogin(o)}catch(t){console.error(t),this.hasError=!0,this.isLoginLoading=!1,this.errorMessage=s("genericError",this.lang),this.sendErrorNotification(this.errorMessage)}finally{this.isLoginLoading=!1}},this.sendLegislationLogin=async t=>{const e={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:t,method:"login"})};try{const t=await fetch(`${this.endpoint}/api/v2/gm/legislation/login`,e),i=await t.json();if(!t.ok){const{message:t,errors:e}=i;throw this.isLoginLoading=!1,console.error(`Legislation login failed: ${t}`,e),new Error("Legislation login request failed.")}{const{sessionId:t,playerId:e}=i;t&&(this.isLoginLoading=!1,window.postMessage({type:"UserSessionID",session:t,userid:e},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"success",message:s("successMessage",this.lang)}},window.location.href),this.hasError=!1)}}catch(t){console.error(t),this.hasError=!0,this.isLoginLoading=!1,this.errorMessage=s("genericError",this.lang),this.sendErrorNotification(this.errorMessage)}},this.userLogin=async()=>{const t=new URL(`${this.endpoint}/v1/player/legislation/login`),e=new Headers;e.append("Content-Type","application/json");const i=JSON.stringify({username:"true"===this.loginByPhoneNumber?`${this.userPrefix} ${this.userPhone}`:this.userNameEmail,password:this.userPassword});return fetch(t.href,{method:"POST",headers:e,body:i}).then((t=>t.json())).then((t=>{var e,i,o,r;if((null===(e=t.sessionBlockers)||void 0===e?void 0:e.includes("has-to-set-consents"))&&window.postMessage({type:"PlayerActions",gmversion:"gm16"},window.location.href),!0===(null==t?void 0:t.hasToSetPass))return this.hasError=!0,this.errorMessage=s("setUpPassowrd",this.lang),this.sendErrorNotification(s("setUpPassowrd",this.lang)),void window.postMessage({type:"HasToSetPass"},window.location.href);t.sessionId?(window.postMessage({type:"UserSessionID",session:t.sessionId,userid:t.userId},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"success",message:s("successMessage",this.lang)}},window.location.href),this.hasError=!1,((t,e={})=>{const i=new CustomEvent("track-custom-event",{detail:{type:"logged_in",data:e},bubbles:!0,composed:!0});document.dispatchEvent(i)})(0,{userId:t.userId})):(this.hasError=!0,this.errorCode=null!==(o=null===(i=null==t?void 0:t.thirdPartyResponse)||void 0===i?void 0:i.errorCode)&&void 0!==o?o:null==t?void 0:t.errorCode,this.errorMessage="GmErr_USER_AUTH_FAILED"===this.errorCode&&"true"===this.loginByPhoneNumber?s("AuthFailedPhoneNumber",this.lang):s(`${this.errorCode}`,this.lang)||(null===(r=null==t?void 0:t.thirdPartyResponse)||void 0===r?void 0:r.message)||(null==t?void 0:t.message)||s("genericError",this.lang),"GmErr_USER_AUTH_FAILED"!==this.errorCode&&"GmErr_Unauthorized"!==this.errorCode&&"Unauthorized"!==this.errorCode||this.dispatchClearLoginCredentialsEvent(),this.errorMessage&&(console.error(this.errorMessage),this.sendErrorNotification(this.errorMessage)))})).catch((t=>{console.error(t),this.hasError=!0,this.errorMessage=s("genericError",this.lang),this.sendErrorNotification(this.errorMessage)})).finally((()=>{this.isLoginLoading=!1}))},this.handleLogin=()=>{this.isLoginLoading=!0;const t={gm16:this.userLogin,gm17:this.userLoginGm17}[this.version]||this.userLogin;this.debounce((async()=>{await t(),this.dispatchUpdateLoginCredentialsEvent()}),850)()},this.handleSubmit=t=>{"Enter"===t.key&&!this.checkIsDisabled()&&this.handleLogin()},this.handleInputChange=(t,e)=>{var i;const o=t.target.value;switch(e){case"user":this.userNameEmail=o,this.isValidUserEmail=this.validate("user",this.userNameEmail),this.errorForFields[e]=!this.isValidUserEmail||o.length<3;break;case"phone":this.userPhone=o.replace(/[^0-9]/g,""),this.inputUserPhoneReference&&(this.inputUserPhoneReference.value=this.userPhone),this.isValidUserPhone=this.validate("phone",this.userPhone),this.errorForFields[e]=!this.isValidUserPhone&&o.length>3;break;case"prefix":this.userPrefix=o,this.isValidUserPhone=this.validate("phone",this.userPhone),this.errorForFields[e]=!this.isValidUserPhone;break;case"password":this.userPassword=o,this.isValidPassword=this.validate("password",o);const t=Number(null!==(i=null==this?void 0:this.minPassLength)&&void 0!==i?i:3);this.errorForFields[e]=!this.isValidPassword&&o.length>t}},this.handleInputChangePartial=t=>e=>this.handleInputChange(e,t),this.validate=(t,e)=>{let i;switch(t){case"user":return i=new RegExp(this.userEmailRegex,this.userEmailRegexOptions),i.test(e);case"phone":return i=new RegExp(this.userPhoneRegex,this.userPhoneRegexOptions),i.test(e)&&!!this.userPrefix;case"password":return i=new RegExp(this.passwordRegex,this.passwordRegexOptions),i.test(e)}},this.togglePassword=()=>{this.isPasswordVisible=!this.isPasswordVisible},this.resetPassword=()=>{window.postMessage({type:"NavForgotPassword"},window.location.href)},this.endpoint="",this.minPassLength=3,this.lang="en",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.passwordReset="false",this.userEmailRegex=void 0,this.userEmailRegexOptions="i",this.userPhoneRegex=void 0,this.userPhoneRegexOptions="",this.passwordRegex=void 0,this.passwordRegexOptions="",this.version="gm16",this.loginByPhoneNumber="false",this.defaultPrefix=void 0,this.isPrefixEditable="true",this.mbSource=void 0,this.userNameEmail="",this.userPassword="",this.isValidUserEmail=!0,this.userPhone="",this.userPrefix="",this.isValidPassword=!0,this.isValidUserPhone=!0,this.isPasswordVisible=!1,this.errorMessage="",this.errorForFields={},this.hasError=!1,this.phoneCodes=void 0,this.isLoginLoading=!1,this.captchaData={isEnabled:!0,token:"",provider:"",siteKey:""}}handleNewTranslations(){o(this.translationUrl)}handleClientStylingChange(t,e){t!=e&&r(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(t,e){t!=e&&this.clientStylingUrl&&n(this.stylingContainer,this.clientStylingUrl)}async componentWillLoad(){"true"===this.loginByPhoneNumber&&(this.defaultPrefix&&"false"===this.isPrefixEditable?(this.phoneCodes=[{label:this.defaultPrefix,value:this.defaultPrefix}],this.userPrefix=this.defaultPrefix):(this.phoneCodes=await this.getPhoneCodes(),this.defaultPrefix||"false"!==this.isPrefixEditable?this.defaultPrefix&&"true"===this.isPrefixEditable&&(this.userPrefix=this.defaultPrefix,this.phoneCodes.some((t=>t.value===this.defaultPrefix))||this.phoneCodes.push({label:this.defaultPrefix,value:this.defaultPrefix})):this.userPrefix=this.phoneCodes[0].value)),this.translationUrl.length>2&&await o(this.translationUrl),"gm17"===this.version&&this.getLoginConfig().then((()=>{this.appendCaptchaScript()})).catch((t=>{console.error(t),this.hasError=!0,this.errorMessage=s("configError",this.lang),this.sendErrorNotification(this.errorMessage)}))}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(t,e){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(e,(e=>{i.innerHTML=e,t&&t.appendChild(i)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&r(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&n(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("LoginCredentials",this.autofillCredentialsHandler),window.postMessage({type:"UserLoginDidLoad"})}getLoginConfig(){const t=new URL(`${this.endpoint}/api/v1/players/password-management/auth/password/config`);return new Promise(((e,i)=>{fetch(t.href).then((t=>{if(!t.ok)throw new Error(`HTTP error! Status: ${t.status}`);return t.json()})).then((t=>{const{captcha:i}=t;i&&"string"==typeof i.provider&&(i.provider=i.provider.toLowerCase()),this.captchaData=Object.assign({},i),e()})).catch((t=>{console.error("Error fetching login configuration:",t),i(t)}))}))}handleCaptcha(){const{isEnabled:t,provider:e,siteKey:i}=this.captchaData;t&&["cloudflare","google"].includes(e)&&("cloudflare"===e?window.turnstile.render("#turnstileContainer",{sitekey:i,theme:"light",callback:this.captchaCallback.bind(this)}):"google"===e&&window.grecaptcha.ready((()=>{window.grecaptcha.render("googleContainer",{sitekey:i,callback:this.captchaCallback.bind(this),theme:"light"})})))}captchaCallback(t){this.captchaData.token=t,this.captchaData=Object.assign({},this.captchaData)}appendCaptchaScript(){const{isEnabled:t,provider:e}=this.captchaData;if(!t)return;const i=document.createElement("script");"cloudflare"===e?i.src="https://challenges.cloudflare.com/turnstile/v0/api.js":"google"===e&&(i.src="https://www.google.com/recaptcha/api.js"),i.onload=this.handleCaptcha.bind(this),document.head.appendChild(i)}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),window.removeEventListener("LoginCredentials",this.autofillCredentialsHandler)}sendErrorNotification(t){window.postMessage({type:"HasError",error:t},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"error",message:t}},window.location.href)}debounce(t,e){let i;return function(...o){clearTimeout(i),i=setTimeout((()=>{t.apply(this,o)}),e)}}dispatchUpdateLoginCredentialsEvent(){this.hasError||(this.updateLoginCredentialsEvent=new CustomEvent("UpdateLoginCredentials",{bubbles:!0,detail:{userNameEmail:null==this?void 0:this.userNameEmail,userPassword:this.userPassword,userPrefix:null==this?void 0:this.userPrefix,userPhone:null==this?void 0:this.userPhone}}),window.dispatchEvent(this.updateLoginCredentialsEvent))}dispatchClearLoginCredentialsEvent(){const t=new CustomEvent("ClearLoginCredentials",{bubbles:!0});window.dispatchEvent(t)}checkIsDisabled(){return Boolean("true"!==this.loginByPhoneNumber&&(!this.isValidUserEmail||!this.userNameEmail)||"true"===this.loginByPhoneNumber&&(!this.isValidUserPhone||!this.userPhone||!this.userPrefix)||!this.userPassword||!this.isValidPassword||this.isLoginLoading||"gm17"===this.version&&this.captchaData.isEnabled&&!this.captchaData.token)}renderVisibilityIcon(){return e("span",{class:"InputIcon"},this.isPasswordVisible&&e("svg",{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"},e("g",{transform:"translate(-110.856 -23.242)"},e("circle",{class:"PasswordVisibilityIcon",cx:"0.05",cy:"0.05",r:"0.05",transform:"translate(121.017 31.148)"}),e("g",{transform:"translate(117.499 27.37)"},e("path",{class:"PasswordVisibilityIcon",d:"M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z",transform:"translate(-142.164 -39.123)"}),e("path",{class:"PasswordVisibilityIcon",d:"M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z",transform:"translate(-136.413 -42.068)"})),e("g",{transform:"translate(110.856 24.899)"},e("path",{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)"}),e("path",{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)"})),e("rect",{class:"PasswordVisibilityIcon",width:"0.972",height:"15.861",rx:"0.486",transform:"translate(114.827 23.858) rotate(-39.315)"}))),!this.isPasswordVisible&&e("svg",{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"},e("g",{transform:"translate(-14.185 -27.832)"},e("path",{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)"}),e("circle",{class:"PasswordVisibilityIcon",cx:"2.779",cy:"2.779",r:"2.779",transform:"translate(20.827 30.303)"}))))}renderUserIdentification(){return e("div",{class:"FormBox"},e("div",{class:"FormValue",onKeyDown:this.handleSubmit},"true"===this.loginByPhoneNumber?e("div",{class:!this.isValidUserPhone&&this.hasError?"InputBox InputInvalidBox":"InputBox "},e("div",{class:"PhoneInputBox"},e("div",{class:"PrefixBox"},"true"===this.isPrefixEditable?e("vaadin-combo-box",{items:this.phoneCodes,value:this.userPrefix,onChange:this.handleInputChangePartial("prefix")}):e("div",{class:"UneditablePrefix"},this.userPrefix),e("label",{class:(this.userPrefix?"FieldFilledIn":"")+" "+(!this.isValidUserPhone&&this.errorForFields.phone?"FieldInvalid":"")},s("userPrefix",this.lang))),e("div",{class:"PhoneBox"},e("input",{type:"tel",placeholder:"",ref:t=>this.inputUserPhoneReference=t,value:this.userPhone,onFocus:this.handleInputChangePartial("phone"),onInput:this.handleInputChangePartial("phone"),autocapitalize:"none",required:!0}),e("label",{class:(this.userPhone?"FieldFilledIn":"")+" "+(!this.isValidUserPhone&&this.errorForFields.phone?"FieldInvalid":"")},s("userPhone",this.lang)),!this.isValidUserPhone&&this.errorForFields.phone&&e("p",{class:"CredentialsError"},s("userPhoneError",this.lang))))):e("div",{class:!this.isValidUserEmail&&this.errorForFields.user?"InputBox InputInvalidBox":"InputBox"},e("input",{type:"text",placeholder:"",value:this.userNameEmail,onInput:this.handleInputChangePartial("user"),autocapitalize:"none",required:!0}),e("label",{class:(this.userNameEmail?"FieldFilledIn":"")+" "+(!this.isValidUserEmail&&this.errorForFields.user?"FieldInvalid":"")},s("userEmail",this.lang)),!this.isValidUserEmail&&this.errorForFields.user&&e("p",{class:"CredentialsError"},s("userEmailError",this.lang))),e("div",{class:!this.isValidPassword&&this.errorForFields.password?"InputBox InputInvalidBox":"InputBox"},this.renderVisibilityIcon(),e("input",{type:this.isPasswordVisible?"text":"password",placeholder:"",value:this.userPassword,onInput:this.handleInputChangePartial("password"),autocapitalize:"none",required:!0}),e("label",{class:(this.userPassword?"FieldFilledIn":"")+" "+(!this.isValidPassword&&this.errorForFields.password?"FieldInvalid":"")},s("password",this.lang)),!this.isValidPassword&&this.errorForFields.password&&e("p",{class:"CredentialsError"},s("userPasswordError",this.lang))),"true"==this.passwordReset&&e("div",{class:"ForgotPassword"},e("button",{onClick:this.resetPassword},s("forgotPassword",this.lang))),this.captchaData.isEnabled&&"cloudflare"===this.captchaData.provider&&e("slot",{name:"turnstile"}),this.captchaData.isEnabled&&"google"===this.captchaData.provider&&e("slot",{name:"google"}),e("button",{disabled:this.checkIsDisabled(),class:"SubmitCredentials",onClick:this.handleLogin},s("login",this.lang)),this.hasError&&e("p",{class:"CredentialsError"},this.errorMessage)))}render(){return e("section",{key:"5fa4cbf340eaa07164c4a844af19b9b0cdc808ba",ref:t=>this.stylingContainer=t},this.renderUserIdentification())}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};gl.style=':host{display:block;font-family:"Roboto", sans-serif}section{height:100%;width:100%;background-position:center;background-size:cover}.FormValue{width:100%}.FormBox{height:100%;display:flex;position:relative;background:none;border:none;justify-content:center;align-items:center}.InputBox{position:relative;margin:30px 0;width:100%;border-bottom:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.InputBox .PhoneInputBox{display:flex;flex-direction:row}.InputBox .PhoneInputBox .PhoneBox{position:relative;width:100%}.InputBox .PhoneInputBox .PrefixBox{position:relative;width:fit-content}.InputBox .PhoneInputBox .PrefixBox .UneditablePrefix{height:100%;width:100px;padding:0 0 0 5px;align-content:center;background:var(--emw--color-gray-100, #e6e6e6);border-radius:var(--emw--border-radius-medium, 10px)}.InputBox.InputInvalidBox .PasswordVisibilityIcon{fill:var(--emfw-w-color-error, var(--emw--color-red, #FD2839))}.InputBox.InputInvalidBox input{color:var(--emfw-w-color-error, var(--emw--color-red, #FD2839))}.InputBox.InputInvalidBox::after{content:"";height:2px;width:100%;transition:width 0.6s linear;background:var(--emfw-w-color-error, var(--emw--color-red, #FD2839))}.InputBox::after{content:"";display:block;width:0;height:2px;position:relative;top:2px}.InputBox .PasswordVisibilityIcon{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.InputBox .InputIcon .TogglePasswordVisibility{cursor:pointer;position:absolute;top:18px;right:0}.InputBox .InputIcon .TogglePasswordVisibility.PasswordVisible{top:19.5px}.InputBox label{position:absolute;top:50%;left:5px;transform:translateY(-50%);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-medium, 16px);pointer-events:none;transition:0.5s}.InputBox label.FieldInvalid{color:#C23135}.InputBox input{width:100%;height:50px;background:transparent;border:none;outline:none;font-size:var(--emw--font-size-medium, 16px);padding:0 35px 0 5px;color:var(--emw--registration-typography, var(--emw--color-typography, #000000));box-sizing:border-box}input:focus~label,label.FieldFilledIn{top:-10px;font-size:var(--emw--font-size-x-small, 16px)}vaadin-combo-box:focus-within~label,label.FieldFilledIn{top:-10px;font-size:var(--emw--font-size-x-small, 16px)}.ForgotPassword button{margin:-10px 0 17px;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));display:flex;justify-content:space-between;background-color:transparent;padding:0;height:unset;border:0;cursor:pointer}.SubmitCredentials{display:block;margin:0 auto;outline:none;cursor:pointer;background:var(--emw--color-primary, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SubmitCredentials:disabled{background:var(--emw--color-primary, #0E5924);opacity:0.4;cursor:default}.Register{font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-typography, #FFFFFF));text-align:center;margin:25px 0 10px}.Register p a{text-decoration:none;font-weight:600}.Register p a:hover{text-decoration:underline}.InvalidField{position:absolute;color:var(--emfw-w-color-error, var(--emw--color-red, #FD2839));font-size:var(--emw--font-size-x-small, 12px)}.SubmitCredentials{margin-bottom:20px}.CredentialsError{color:var(--emfw-w-color-error, var(--emw--color-red, #FD2839));font-size:var(--emw--font-size-x-small, 12px);padding:0 0 20px 0;margin:0}.CredentialsError input{color:var(--emfw-w-color-error, var(--emw--color-red, #FD2839))}@media screen and (max-width: 480px){.FormBox{width:100%;border-radius:0px}}';export{gl as user_login}
6657
+ `}static get is(){return"vaadin-tabs"}}g(bl);const gl=class{constructor(e){t(this,e),this.errorCode="",this.getPhoneCodes=()=>{const t=new URL(`${this.endpoint}/v1/player/operatorSupportedPhoneCodes`);return fetch(t.href).then((t=>t.json())).then((t=>t.phoneCodes.map((t=>({label:t,value:t}))))).catch((t=>console.log("Failed to fetch phone codes:",t)))},this.autofillCredentialsHandler=t=>{const{userNameEmail:e,userPassword:i,userPrefix:o,userPhone:s}=(null==t?void 0:t.detail)||{};this.userNameEmail=e,this.userPassword=i,this.userPrefix=o,this.userPhone=s,this.handleLogin()},this.userLoginGm17=async()=>{let t={"Content-Type":"application/json"};const e={contact:this.userNameEmail,password:this.userPassword};this.captchaData.isEnabled&&(t["X-Captcha-Response"]=this.captchaData.token);const i={method:"POST",headers:t,body:JSON.stringify(e)};try{const t=await fetch(`${this.endpoint}/api/v1/players/password-management/auth/password/verify`,i),e=await t.json(),{token:o}=e;if(!o)throw new Error("Token not received from the API call.");await this.sendLegislationLogin(o)}catch(t){console.error(t),this.hasError=!0,this.isLoginLoading=!1,this.errorMessage=s("genericError",this.lang),this.sendErrorNotification(this.errorMessage)}finally{this.isLoginLoading=!1}},this.sendLegislationLogin=async t=>{const e={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:t,method:"login"})};try{const t=await fetch(`${this.endpoint}/api/v2/gm/legislation/login`,e),i=await t.json();if(!t.ok){const{message:t,errors:e}=i;throw this.isLoginLoading=!1,console.error(`Legislation login failed: ${t}`,e),new Error("Legislation login request failed.")}{const{sessionId:t,playerId:e}=i;t&&(this.isLoginLoading=!1,window.postMessage({type:"UserSessionID",session:t,userid:e},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"success",message:s("successMessage",this.lang)}},window.location.href),this.hasError=!1)}}catch(t){console.error(t),this.hasError=!0,this.isLoginLoading=!1,this.errorMessage=s("genericError",this.lang),this.sendErrorNotification(this.errorMessage)}},this.userLogin=async()=>{const t=new URL(`${this.endpoint}/v1/player/legislation/login`),e=new Headers;e.append("Content-Type","application/json");const i=JSON.stringify({username:"true"===this.loginByPhoneNumber?`${this.userPrefix} ${this.userPhone}`:this.userNameEmail,password:this.userPassword});return fetch(t.href,{method:"POST",headers:e,body:i}).then((t=>t.json())).then((t=>{var e,i,o,r;if((null===(e=t.sessionBlockers)||void 0===e?void 0:e.includes("has-to-set-consents"))&&window.postMessage({type:"PlayerActions",gmversion:"gm16"},window.location.href),!0===(null==t?void 0:t.hasToSetPass))return this.hasError=!0,this.errorMessage=s("setUpPassowrd",this.lang),this.sendErrorNotification(s("setUpPassowrd",this.lang)),void window.postMessage({type:"HasToSetPass"},window.location.href);t.sessionId?(window.postMessage({type:"UserSessionID",session:t.sessionId,userid:t.userId},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"success",message:s("successMessage",this.lang)}},window.location.href),this.hasError=!1,((t,e={})=>{const i=new CustomEvent("track-custom-event",{detail:{type:"logged_in",data:e},bubbles:!0,composed:!0});document.dispatchEvent(i)})(0,{userId:t.userId})):(this.hasError=!0,this.errorCode=null!==(o=null===(i=null==t?void 0:t.thirdPartyResponse)||void 0===i?void 0:i.errorCode)&&void 0!==o?o:null==t?void 0:t.errorCode,this.errorMessage="GmErr_USER_AUTH_FAILED"===this.errorCode&&"true"===this.loginByPhoneNumber?s("AuthFailedPhoneNumber",this.lang):s(`${this.errorCode}`,this.lang)||(null===(r=null==t?void 0:t.thirdPartyResponse)||void 0===r?void 0:r.message)||(null==t?void 0:t.message)||s("genericError",this.lang),"GmErr_USER_AUTH_FAILED"!==this.errorCode&&"GmErr_Unauthorized"!==this.errorCode&&"Unauthorized"!==this.errorCode||this.dispatchClearLoginCredentialsEvent(),this.errorMessage&&(console.error(this.errorMessage),this.sendErrorNotification(this.errorMessage)))})).catch((t=>{console.error(t),this.hasError=!0,this.errorMessage=s("genericError",this.lang),this.sendErrorNotification(this.errorMessage)})).finally((()=>{this.isLoginLoading=!1}))},this.handleLogin=()=>{this.isLoginLoading=!0;const t={gm16:this.userLogin,gm17:this.userLoginGm17}[this.version]||this.userLogin;this.debounce((async()=>{await t(),this.dispatchUpdateLoginCredentialsEvent()}),850)()},this.handleSubmit=t=>{"Enter"===t.key&&!this.checkIsDisabled()&&this.handleLogin()},this.handleInputChange=(t,e)=>{var i;const o=t.target.value;switch(e){case"user":this.userNameEmail=o,this.isValidUserEmail=this.validate("user",this.userNameEmail),this.errorForFields[e]=!this.isValidUserEmail||o.length<3;break;case"phone":this.userPhone=o.replace(/[^0-9]/g,""),this.inputUserPhoneReference&&(this.inputUserPhoneReference.value=this.userPhone),this.isValidUserPhone=this.validate("phone",this.userPhone),this.errorForFields[e]=!this.isValidUserPhone&&o.length>3;break;case"prefix":this.userPrefix=o,this.isValidUserPhone=this.validate("phone",this.userPhone),this.errorForFields[e]=!this.isValidUserPhone;break;case"password":this.userPassword=o,this.isValidPassword=this.validate("password",o);const t=Number(null!==(i=null==this?void 0:this.minPassLength)&&void 0!==i?i:3);this.errorForFields[e]=!this.isValidPassword&&o.length>t}},this.handleInputChangePartial=t=>e=>this.handleInputChange(e,t),this.validate=(t,e)=>{let i;switch(t){case"user":return i=new RegExp(this.userEmailRegex,this.userEmailRegexOptions),i.test(e);case"phone":return i=new RegExp(this.userPhoneRegex,this.userPhoneRegexOptions),i.test(e)&&!!this.userPrefix;case"password":return i=new RegExp(this.passwordRegex,this.passwordRegexOptions),i.test(e)}},this.togglePassword=()=>{this.isPasswordVisible=!this.isPasswordVisible},this.resetPassword=()=>{window.postMessage({type:"NavForgotPassword"},window.location.href)},this.endpoint="",this.minPassLength=3,this.lang="en",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.passwordReset="false",this.userEmailRegex=void 0,this.userEmailRegexOptions="i",this.userPhoneRegex=void 0,this.userPhoneRegexOptions="",this.passwordRegex=void 0,this.passwordRegexOptions="",this.version="gm16",this.loginByPhoneNumber="false",this.defaultPrefix=void 0,this.isPrefixEditable="true",this.mbSource=void 0,this.userNameEmail="",this.userPassword="",this.isValidUserEmail=!0,this.userPhone="",this.userPrefix="",this.isValidPassword=!0,this.isValidUserPhone=!0,this.isPasswordVisible=!1,this.errorMessage="",this.errorForFields={},this.hasError=!1,this.phoneCodes=void 0,this.isLoginLoading=!1,this.captchaData={isEnabled:!0,token:"",provider:"",siteKey:""}}handleNewTranslations(){o(this.translationUrl)}handleClientStylingChange(t,e){t!=e&&r(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(t,e){t!=e&&this.clientStylingUrl&&n(this.stylingContainer,this.clientStylingUrl)}async autofillCredentials(t){const{userNameEmail:e,userPassword:i,userPrefix:o,userPhone:s}=t||{};this.userNameEmail=e,this.userPassword=i,this.userPrefix=o,this.userPhone=s,this.handleLogin()}async componentWillLoad(){"true"===this.loginByPhoneNumber&&(this.defaultPrefix&&"false"===this.isPrefixEditable?(this.phoneCodes=[{label:this.defaultPrefix,value:this.defaultPrefix}],this.userPrefix=this.defaultPrefix):(this.phoneCodes=await this.getPhoneCodes(),this.defaultPrefix||"false"!==this.isPrefixEditable?this.defaultPrefix&&"true"===this.isPrefixEditable&&(this.userPrefix=this.defaultPrefix,this.phoneCodes.some((t=>t.value===this.defaultPrefix))||this.phoneCodes.push({label:this.defaultPrefix,value:this.defaultPrefix})):this.userPrefix=this.phoneCodes[0].value)),this.translationUrl.length>2&&await o(this.translationUrl),"gm17"===this.version&&this.getLoginConfig().then((()=>{this.appendCaptchaScript()})).catch((t=>{console.error(t),this.hasError=!0,this.errorMessage=s("configError",this.lang),this.sendErrorNotification(this.errorMessage)}))}componentDidLoad(){this.stylingContainer&&(null!=window.emMessageBus?function(t,e){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(e,(e=>{i.innerHTML=e,t&&t.appendChild(i)}))}}(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&r(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&n(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("LoginCredentials",this.autofillCredentialsHandler),window.postMessage({type:"UserLoginDidLoad"})}getLoginConfig(){const t=new URL(`${this.endpoint}/api/v1/players/password-management/auth/password/config`);return new Promise(((e,i)=>{fetch(t.href).then((t=>{if(!t.ok)throw new Error(`HTTP error! Status: ${t.status}`);return t.json()})).then((t=>{const{captcha:i}=t;i&&"string"==typeof i.provider&&(i.provider=i.provider.toLowerCase()),this.captchaData=Object.assign({},i),e()})).catch((t=>{console.error("Error fetching login configuration:",t),i(t)}))}))}handleCaptcha(){const{isEnabled:t,provider:e,siteKey:i}=this.captchaData;t&&["cloudflare","google"].includes(e)&&("cloudflare"===e?window.turnstile.render("#turnstileContainer",{sitekey:i,theme:"light",callback:this.captchaCallback.bind(this)}):"google"===e&&window.grecaptcha.ready((()=>{window.grecaptcha.render("googleContainer",{sitekey:i,callback:this.captchaCallback.bind(this),theme:"light"})})))}captchaCallback(t){this.captchaData.token=t,this.captchaData=Object.assign({},this.captchaData)}appendCaptchaScript(){const{isEnabled:t,provider:e}=this.captchaData;if(!t)return;const i=document.createElement("script");"cloudflare"===e?i.src="https://challenges.cloudflare.com/turnstile/v0/api.js":"google"===e&&(i.src="https://www.google.com/recaptcha/api.js"),i.onload=this.handleCaptcha.bind(this),document.head.appendChild(i)}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),window.removeEventListener("LoginCredentials",this.autofillCredentialsHandler)}sendErrorNotification(t){window.postMessage({type:"HasError",error:t},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"error",message:t}},window.location.href)}debounce(t,e){let i;return function(...o){clearTimeout(i),i=setTimeout((()=>{t.apply(this,o)}),e)}}dispatchUpdateLoginCredentialsEvent(){this.hasError||(this.updateLoginCredentialsEvent=new CustomEvent("UpdateLoginCredentials",{bubbles:!0,detail:{userNameEmail:null==this?void 0:this.userNameEmail,userPassword:this.userPassword,userPrefix:null==this?void 0:this.userPrefix,userPhone:null==this?void 0:this.userPhone}}),window.dispatchEvent(this.updateLoginCredentialsEvent))}dispatchClearLoginCredentialsEvent(){const t=new CustomEvent("ClearLoginCredentials",{bubbles:!0});window.dispatchEvent(t)}checkIsDisabled(){return Boolean("true"!==this.loginByPhoneNumber&&(!this.isValidUserEmail||!this.userNameEmail)||"true"===this.loginByPhoneNumber&&(!this.isValidUserPhone||!this.userPhone||!this.userPrefix)||!this.userPassword||!this.isValidPassword||this.isLoginLoading||"gm17"===this.version&&this.captchaData.isEnabled&&!this.captchaData.token)}renderVisibilityIcon(){return e("span",{class:"InputIcon"},this.isPasswordVisible&&e("svg",{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"},e("g",{transform:"translate(-110.856 -23.242)"},e("circle",{class:"PasswordVisibilityIcon",cx:"0.05",cy:"0.05",r:"0.05",transform:"translate(121.017 31.148)"}),e("g",{transform:"translate(117.499 27.37)"},e("path",{class:"PasswordVisibilityIcon",d:"M147.413,43.174a2.774,2.774,0,0,0-3.229-3.943Z",transform:"translate(-142.164 -39.123)"}),e("path",{class:"PasswordVisibilityIcon",d:"M137.031,43.1a2.778,2.778,0,0,0,3.447,4.209Z",transform:"translate(-136.413 -42.068)"})),e("g",{transform:"translate(110.856 24.899)"},e("path",{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)"}),e("path",{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)"})),e("rect",{class:"PasswordVisibilityIcon",width:"0.972",height:"15.861",rx:"0.486",transform:"translate(114.827 23.858) rotate(-39.315)"}))),!this.isPasswordVisible&&e("svg",{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"},e("g",{transform:"translate(-14.185 -27.832)"},e("path",{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)"}),e("circle",{class:"PasswordVisibilityIcon",cx:"2.779",cy:"2.779",r:"2.779",transform:"translate(20.827 30.303)"}))))}renderUserIdentification(){return e("div",{class:"FormBox"},e("div",{class:"FormValue",onKeyDown:this.handleSubmit},"true"===this.loginByPhoneNumber?e("div",{class:!this.isValidUserPhone&&this.hasError?"InputBox InputInvalidBox":"InputBox "},e("div",{class:"PhoneInputBox"},e("div",{class:"PrefixBox"},"true"===this.isPrefixEditable?e("vaadin-combo-box",{items:this.phoneCodes,value:this.userPrefix,onChange:this.handleInputChangePartial("prefix")}):e("div",{class:"UneditablePrefix"},this.userPrefix),e("label",{class:(this.userPrefix?"FieldFilledIn":"")+" "+(!this.isValidUserPhone&&this.errorForFields.phone?"FieldInvalid":"")},s("userPrefix",this.lang))),e("div",{class:"PhoneBox"},e("input",{type:"tel",placeholder:"",ref:t=>this.inputUserPhoneReference=t,value:this.userPhone,onFocus:this.handleInputChangePartial("phone"),onInput:this.handleInputChangePartial("phone"),autocapitalize:"none",required:!0}),e("label",{class:(this.userPhone?"FieldFilledIn":"")+" "+(!this.isValidUserPhone&&this.errorForFields.phone?"FieldInvalid":"")},s("userPhone",this.lang)),!this.isValidUserPhone&&this.errorForFields.phone&&e("p",{class:"CredentialsError"},s("userPhoneError",this.lang))))):e("div",{class:!this.isValidUserEmail&&this.errorForFields.user?"InputBox InputInvalidBox":"InputBox"},e("input",{type:"text",placeholder:"",value:this.userNameEmail,onInput:this.handleInputChangePartial("user"),autocapitalize:"none",required:!0}),e("label",{class:(this.userNameEmail?"FieldFilledIn":"")+" "+(!this.isValidUserEmail&&this.errorForFields.user?"FieldInvalid":"")},s("userEmail",this.lang)),!this.isValidUserEmail&&this.errorForFields.user&&e("p",{class:"CredentialsError"},s("userEmailError",this.lang))),e("div",{class:!this.isValidPassword&&this.errorForFields.password?"InputBox InputInvalidBox":"InputBox"},this.renderVisibilityIcon(),e("input",{type:this.isPasswordVisible?"text":"password",placeholder:"",value:this.userPassword,onInput:this.handleInputChangePartial("password"),autocapitalize:"none",required:!0}),e("label",{class:(this.userPassword?"FieldFilledIn":"")+" "+(!this.isValidPassword&&this.errorForFields.password?"FieldInvalid":"")},s("password",this.lang)),!this.isValidPassword&&this.errorForFields.password&&e("p",{class:"CredentialsError"},s("userPasswordError",this.lang))),"true"==this.passwordReset&&e("div",{class:"ForgotPassword"},e("button",{onClick:this.resetPassword},s("forgotPassword",this.lang))),this.captchaData.isEnabled&&"cloudflare"===this.captchaData.provider&&e("slot",{name:"turnstile"}),this.captchaData.isEnabled&&"google"===this.captchaData.provider&&e("slot",{name:"google"}),e("button",{disabled:this.checkIsDisabled(),class:"SubmitCredentials",onClick:this.handleLogin},s("login",this.lang)),this.hasError&&e("p",{class:"CredentialsError"},this.errorMessage)))}render(){return e("section",{key:"7ac7aaee8d984d1d70c59dd32d05d27468167415",ref:t=>this.stylingContainer=t},this.renderUserIdentification())}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};gl.style=':host{display:block;font-family:"Roboto", sans-serif}section{height:100%;width:100%;background-position:center;background-size:cover}.FormValue{width:100%}.FormBox{height:100%;display:flex;position:relative;background:none;border:none;justify-content:center;align-items:center}.InputBox{position:relative;margin:30px 0;width:100%;border-bottom:2px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.InputBox .PhoneInputBox{display:flex;flex-direction:row}.InputBox .PhoneInputBox .PhoneBox{position:relative;width:100%}.InputBox .PhoneInputBox .PrefixBox{position:relative;width:fit-content}.InputBox .PhoneInputBox .PrefixBox .UneditablePrefix{height:100%;width:100px;padding:0 0 0 5px;align-content:center;background:var(--emw--color-gray-100, #e6e6e6);border-radius:var(--emw--border-radius-medium, 10px)}.InputBox.InputInvalidBox .PasswordVisibilityIcon{fill:var(--emfw-w-color-error, var(--emw--color-red, #FD2839))}.InputBox.InputInvalidBox input{color:var(--emfw-w-color-error, var(--emw--color-red, #FD2839))}.InputBox.InputInvalidBox::after{content:"";height:2px;width:100%;transition:width 0.6s linear;background:var(--emfw-w-color-error, var(--emw--color-red, #FD2839))}.InputBox::after{content:"";display:block;width:0;height:2px;position:relative;top:2px}.InputBox .PasswordVisibilityIcon{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.InputBox .InputIcon .TogglePasswordVisibility{cursor:pointer;position:absolute;top:18px;right:0}.InputBox .InputIcon .TogglePasswordVisibility.PasswordVisible{top:19.5px}.InputBox label{position:absolute;top:50%;left:5px;transform:translateY(-50%);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));font-size:var(--emw--font-size-medium, 16px);pointer-events:none;transition:0.5s}.InputBox label.FieldInvalid{color:#C23135}.InputBox input{width:100%;height:50px;background:transparent;border:none;outline:none;font-size:var(--emw--font-size-medium, 16px);padding:0 35px 0 5px;color:var(--emw--registration-typography, var(--emw--color-typography, #000000));box-sizing:border-box}input:focus~label,label.FieldFilledIn{top:-10px;font-size:var(--emw--font-size-x-small, 16px)}vaadin-combo-box:focus-within~label,label.FieldFilledIn{top:-10px;font-size:var(--emw--font-size-x-small, 16px)}.ForgotPassword button{margin:-10px 0 17px;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));display:flex;justify-content:space-between;background-color:transparent;padding:0;height:unset;border:0;cursor:pointer}.SubmitCredentials{display:block;margin:0 auto;outline:none;cursor:pointer;background:var(--emw--color-primary, #0E5924);border-radius:var(--emw--button-border-radius, 10px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SubmitCredentials:disabled{background:var(--emw--color-primary, #0E5924);opacity:0.4;cursor:default}.Register{font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-typography, #FFFFFF));text-align:center;margin:25px 0 10px}.Register p a{text-decoration:none;font-weight:600}.Register p a:hover{text-decoration:underline}.InvalidField{position:absolute;color:var(--emfw-w-color-error, var(--emw--color-red, #FD2839));font-size:var(--emw--font-size-x-small, 12px)}.SubmitCredentials{margin-bottom:20px}.CredentialsError{color:var(--emfw-w-color-error, var(--emw--color-red, #FD2839));font-size:var(--emw--font-size-x-small, 12px);padding:0 0 20px 0;margin:0}.CredentialsError input{color:var(--emfw-w-color-error, var(--emw--color-red, #FD2839))}@media screen and (max-width: 480px){.FormBox{width:100%;border-radius:0px}}';export{gl as user_login}
@@ -1 +1 @@
1
- import{p as e,b as r}from"./index-74c5e8bb.js";export{s as setNonce}from"./index-74c5e8bb.js";import{g as i}from"./app-globals-0f993ce5.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((async e=>(await i(),r([["user-login",[[1,"user-login",{endpoint:[513],minPassLength:[514,"min-pass-length"],lang:[1537],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],passwordReset:[513,"password-reset"],userEmailRegex:[513,"user-email-regex"],userEmailRegexOptions:[513,"user-email-regex-options"],userPhoneRegex:[513,"user-phone-regex"],userPhoneRegexOptions:[513,"user-phone-regex-options"],passwordRegex:[513,"password-regex"],passwordRegexOptions:[513,"password-regex-options"],version:[513],loginByPhoneNumber:[513,"login-by-phone-number"],defaultPrefix:[513,"default-prefix"],isPrefixEditable:[513,"is-prefix-editable"],mbSource:[513,"mb-source"],userNameEmail:[32],userPassword:[32],isValidUserEmail:[32],userPhone:[32],userPrefix:[32],isValidPassword:[32],isValidUserPhone:[32],isPasswordVisible:[32],errorMessage:[32],errorForFields:[32],hasError:[32],phoneCodes:[32],isLoginLoading:[32],captchaData:[32]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}]]]],e))));
1
+ import{p as e,b as r}from"./index-f1feab1e.js";export{s as setNonce}from"./index-f1feab1e.js";import{g as i}from"./app-globals-0f993ce5.js";(()=>{const s=import.meta.url,r={};return""!==s&&(r.resourcesUrl=new URL(".",s).href),e(r)})().then((async e=>(await i(),r([["user-login",[[1,"user-login",{endpoint:[513],minPassLength:[514,"min-pass-length"],lang:[1537],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],passwordReset:[513,"password-reset"],userEmailRegex:[513,"user-email-regex"],userEmailRegexOptions:[513,"user-email-regex-options"],userPhoneRegex:[513,"user-phone-regex"],userPhoneRegexOptions:[513,"user-phone-regex-options"],passwordRegex:[513,"password-regex"],passwordRegexOptions:[513,"password-regex-options"],version:[513],loginByPhoneNumber:[513,"login-by-phone-number"],defaultPrefix:[513,"default-prefix"],isPrefixEditable:[513,"is-prefix-editable"],mbSource:[513,"mb-source"],userNameEmail:[32],userPassword:[32],isValidUserEmail:[32],userPhone:[32],userPrefix:[32],isValidPassword:[32],isValidUserPhone:[32],isPasswordVisible:[32],errorMessage:[32],errorForFields:[32],hasError:[32],phoneCodes:[32],isLoginLoading:[32],captchaData:[32],autofillCredentials:[64]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}]]]],e))));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/user-login",
3
- "version": "1.87.20",
3
+ "version": "1.87.22",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -1,2 +0,0 @@
1
- var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),r=new Map,i=new Map,c="slot-fb{display:contents}slot-fb[hidden]{display:none}",u="undefined"!=typeof window?window:{},a=u.document||{head:{}},f={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},h=e=>Promise.resolve(e),p=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),d=!1,m=[],w=[],y=(e,t)=>n=>{e.push(n),d||(d=!0,t&&4&f.l?b(v):f.raf(v))},$=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},v=()=>{$(m),$(w),(d=m.length>0)&&f.raf(v)},b=e=>h().then(e),g=y(w,!0),S={},j=e=>"object"==(e=typeof e)||"function"===e;function k(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>E,map:()=>C,ok:()=>O,unwrap:()=>P,unwrapErr:()=>L});var O=e=>({isOk:!0,isErr:!1,value:e}),E=e=>({isOk:!1,isErr:!0,value:e});function C(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>O(e))):O(n)}if(e.isErr)return E(e.value);throw"should never get here"}var M,x,P=e=>{if(e.isOk)return e.value;throw e.value},L=e=>{if(e.isErr)return e.value;throw e.value},R=(e,t,...n)=>{let l=null,o=null,s=!1,r=!1;const i=[],c=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?c(l):null!=l&&"boolean"!=typeof l&&((s="function"!=typeof e&&!j(l))&&(l+=""),s&&r?i[i.length-1].i+=l:i.push(s?T(null,l):l),r=s)};if(c(n),t){t.key&&(o=t.key);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}const u=T(e,null);return u.u=t,i.length>0&&(u.h=i),u.p=o,u},T=(e,t)=>({l:0,m:e,i:t,$:null,h:null,u:null,p:null}),A={},F=new WeakMap,N=e=>"sc-"+e.v,U=(e,t,n,l,s,r)=>{if(n!==l){let i=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=D(n),s=D(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("key"===t);else if("ref"===t)l&&l(e);else if(i||"o"!==t[0]||"n"!==t[1]){const o=j(l);if((i||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?i=!1:null!=n&&e[t]==o||(e[t]=o)}}catch(e){}null==l||!1===l?!1===l&&""!==e.getAttribute(t)||e.removeAttribute(t):(!i||4&r||s)&&!o&&e.setAttribute(t,l=!0===l?"":l)}else if(t="-"===t[2]?t.slice(3):o(u,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(H);t=t.replace(q,""),n&&f.rel(e,t,n,o),l&&f.ael(e,t,l,o)}}},W=/\s/,D=e=>e?e.split(W):[],H="Capture",q=RegExp(H+"$"),G=(e,t,n)=>{const l=11===t.$.nodeType&&t.$.host?t.$.host:t.$,o=e&&e.u||S,s=t.u||S;for(const e of V(Object.keys(o)))e in s||U(l,e,o[e],void 0,n,t.l);for(const e of V(Object.keys(s)))U(l,e,o[e],s[e],n,t.l)};function V(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var _=!1,z=!1,B=(e,t,n)=>{const l=t.h[n];let o,s,r=0;if(null!==l.i)o=l.$=a.createTextNode(l.i);else{if(z||(z="svg"===l.m),o=l.$=a.createElementNS(z?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",l.m),z&&"foreignObject"===l.m&&(z=!1),G(null,l,z),null!=M&&o["s-si"]!==M&&o.classList.add(o["s-si"]=M),l.h)for(r=0;r<l.h.length;++r)s=B(e,l,r),s&&o.appendChild(s);"svg"===l.m?z=!1:"foreignObject"===o.tagName&&(z=!0)}return o["s-hn"]=x,o},I=(e,t,n,l,o,s)=>{let r,i=e;for(i.shadowRoot&&i.tagName===x&&(i=i.shadowRoot);o<=s;++o)l[o]&&(r=B(null,n,o),r&&(l[o].$=r,Y(i,r,t)))},J=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.$;X(t),e&&e.remove()}}},K=(e,t,n=!1)=>e.m===t.m&&(!!n||e.p===t.p),Q=(e,t,n=!1)=>{const l=t.$=e.$,o=e.h,s=t.h,r=t.m,i=t.i;null===i?(z="svg"===r||"foreignObject"!==r&&z,("slot"!==r||_)&&G(e,t,z),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,r,i=0,c=0,u=0,a=0,f=t.length-1,h=t[0],p=t[f],d=l.length-1,m=l[0],w=l[d];for(;i<=f&&c<=d;)if(null==h)h=t[++i];else if(null==p)p=t[--f];else if(null==m)m=l[++c];else if(null==w)w=l[--d];else if(K(h,m,o))Q(h,m,o),h=t[++i],m=l[++c];else if(K(p,w,o))Q(p,w,o),p=t[--f],w=l[--d];else if(K(h,w,o))Q(h,w,o),Y(e,h.$,p.$.nextSibling),h=t[++i],w=l[--d];else if(K(p,m,o))Q(p,m,o),Y(e,p.$,h.$),p=t[--f],m=l[++c];else{for(u=-1,a=i;a<=f;++a)if(t[a]&&null!==t[a].p&&t[a].p===m.p){u=a;break}u>=0?(r=t[u],r.m!==m.m?s=B(t&&t[c],n,u):(Q(r,m,o),t[u]=void 0,s=r.$),m=l[++c]):(s=B(t&&t[c],n,c),m=l[++c]),s&&Y(h.$.parentNode,s,h.$)}i>f?I(e,null==l[d+1]?null:l[d+1].$,n,l,c,d):c>d&&J(t,i,f)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),I(l,null,t,s,0,s.length-1)):null!==o&&J(o,0,o.length-1),z&&"svg"===r&&(z=!1)):e.i!==i&&(l.data=i)},X=e=>{e.u&&e.u.ref&&e.u.ref(null),e.h&&e.h.map(X)},Y=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),Z=(e,t)=>{t&&!e.S&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.S=t)))},ee=(e,t)=>{if(e.l|=16,!(4&e.l))return Z(e,e.j),g((()=>te(e,t)));e.l|=512},te=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(l=ce(n,"componentWillLoad")),ne(l,(()=>oe(e,n,t)))},ne=(e,t)=>le(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),le=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,oe=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.k,n=e.$hostElement$,l=t.l,o=((e,t)=>{var n;const l=N(t),o=i.get(l);if(e=11===e.nodeType?e:a,o)if("string"==typeof o){let s,r=F.get(e=e.head||e);if(r||F.set(e,r=new Set),!r.has(l)){{s=a.createElement("style"),s.innerHTML=o;const t=null!=(n=f.O)?n:k(a);null!=t&&s.setAttribute("nonce",t),e.insertBefore(s,e.querySelector("link"))}4&t.l&&(s.innerHTML+=c),r&&r.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l})(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);se(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>re(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},se=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{const l=e.$hostElement$,o=e.k,s=e.C||T(null,null),r=(e=>e&&e.m===A)(t)?t:R(null,null,t);if(x=l.tagName,o.M&&(r.u=r.u||{},o.M.map((([e,t])=>r.u[t]=l[e]))),n&&r.u)for(const e of Object.keys(r.u))l.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(r.u[e]=l[e]);r.m=null,r.l|=4,e.C=r,r.$=s.$=l.shadowRoot||l,M=l["s-sc"],_=!!(1&o.l),Q(s,r,n)})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},re=e=>{const t=e.$hostElement$,n=e.t,l=e.j;64&e.l||(e.l|=64,ue(t),ce(n,"componentDidLoad"),e.P(t),l||ie()),e.S&&(e.S(),e.S=void 0),512&e.l&&b((()=>ee(e,!1))),e.l&=-517},ie=()=>{ue(a.documentElement),b((()=>(e=>{const t=f.ce("appload",{detail:{namespace:"user-login"}});return e.dispatchEvent(t),t})(u)))},ce=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},ue=e=>e.classList.add("hydrated"),ae=(e,t,l)=>{var o,r;const i=e.prototype;if(t.L||t.R||e.watchers){e.watchers&&!t.R&&(t.R=e.watchers);const c=Object.entries(null!=(o=t.L)?o:{});if(c.map((([e,[o]])=>{(31&o||2&l&&32&o)&&Object.defineProperty(i,e,{get(){return((e,t)=>n(this).T.get(t))(0,e)},set(l){((e,t,l,o)=>{const r=n(e);if(!r)throw Error(`Couldn't find host element for "${o.v}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,c=r.T.get(t),u=r.l,a=r.t;if(l=((e,t)=>null==e||j(e)?e:2&t?parseFloat(e):1&t?e+"":e)(l,o.L[t][0]),(!(8&u)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(r.T.set(t,l),a)){if(o.R&&128&u){const e=o.R[t];e&&e.map((e=>{try{a[e](l,c,t)}catch(e){s(e,i)}}))}2==(18&u)&&ee(r,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0})})),1&l){const l=new Map;i.attributeChangedCallback=function(e,o,s){f.jmp((()=>{var r;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(i.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),i=null==l?void 0:l.l;if(i&&!(8&i)&&128&i&&s!==o){const n=l.t,i=null==(r=t.R)?void 0:r[e];null==i||i.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(r=t.R)?r:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.M)||o.push([e,s])),s}))]))}}return e},fe=e=>{ce(e,"disconnectedCallback")},he=(e,l={})=>{var o;const h=[],d=l.exclude||[],m=u.customElements,w=a.head,y=w.querySelector("meta[charset]"),$=a.createElement("style"),v=[];let b,g=!0;Object.assign(f,l),f.o=new URL(l.resourcesUrl||"./",a.baseURI).href;let S=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],v:l[1],L:l[2],A:l[3]};4&c.l&&(S=!0),c.L=l[2],c.M=[],c.R=null!=(o=l[4])?o:{};const u=c.v,a=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,k:n,T:new Map};l.F=new Promise((e=>l.P=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.v}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),b&&(clearTimeout(b),b=null),g?v.push(this):f.jmp((()=>(e=>{if(!(1&f.l)){const t=n(e),l=t.k,o=()=>{};if(1&t.l)(null==t?void 0:t.t)||(null==t?void 0:t.F)&&t.F.then((()=>{}));else{t.l|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){Z(t,t.j=n);break}}l.L&&Object.entries(l.L).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.N){const e=(e=>{const t=e.v.replace(/-/g,"_"),n=e.N;if(!n)return;const l=r.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(r.set(n,e),e[t])),s)
2
- /*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.v}#${t.U}" was not found`);l.isProxied||(n.R=l.watchers,ae(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o()}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=N(n);if(!i.has(t)){const l=()=>{};((e,t,n)=>{let l=i.get(e);p&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,i.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.j,c=()=>ee(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}})(this)))}disconnectedCallback(){f.jmp((()=>(async()=>{if(!(1&f.l)){const e=n(this);(null==e?void 0:e.t)?fe(e.t):(null==e?void 0:e.F)&&e.F.then((()=>fe(e.t)))}})()))}componentOnReady(){return n(this).F}};c.N=e[0],d.includes(u)||m.get(u)||(h.push(u),m.define(u,ae(a,c,1)))}))})),h.length>0&&(S&&($.textContent+=c),$.textContent+=h.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",$.innerHTML.length)){$.setAttribute("data-styles","");const e=null!=(o=f.O)?o:k(a);null!=e&&$.setAttribute("nonce",e),w.insertBefore($,y?y.nextSibling:w.firstChild)}g=!1,v.length?v.map((e=>e.connectedCallback())):f.jmp((()=>b=setTimeout(ie,30)))},pe=e=>f.O=e;export{he as b,R as h,h as p,l as r,pe as s}