@everymatrix/general-registration 1.56.3 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. package/dist/cjs/checkbox-group-input_13.cjs.entry.js +773 -773
  2. package/dist/collection/components/general-registration/general-registration.stories.js +54 -0
  3. package/dist/esm/checkbox-group-input_13.entry.js +773 -773
  4. package/dist/general-registration/general-registration.esm.js +1 -1
  5. package/dist/general-registration/{p-290ae59c.entry.js → p-c2ac8f4d.entry.js} +31 -31
  6. package/dist/storybook/main.js +47 -0
  7. package/dist/storybook/preview.js +9 -0
  8. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/libs/common/src/storybook/storybook-utils.d.ts +39 -0
  9. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +2 -0
  10. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +2 -0
  11. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/main.d.ts +3 -0
  12. package/dist/types/builds/emfe-widgets/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/storybook/preview.d.ts +70 -0
  13. package/dist/types/components/general-registration/general-registration.stories.d.ts +5 -0
  14. package/package.json +1 -1
  15. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.d.ts +0 -2
  16. package/dist/types/Users/maria.bumbar/Desktop/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-registration/stencil.config.dev.d.ts +0 -2
  17. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/packages/stencil/general-input/src/utils/types.d.ts +0 -0
  18. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/index.d.ts +0 -0
  19. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/stencil-clean-deps-plugin.d.ts +0 -0
  20. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-chunk-plugin.d.ts +0 -0
  21. /package/dist/types/{Users/maria.bumbar/Desktop → builds/emfe-widgets}/widgets-monorepo/packages/stencil/general-registration/.stencil/tools/plugins/vite-clean-deps-plugin.d.ts +0 -0
@@ -4,7 +4,7 @@ import{r as e,c as t,h as i,g as r,H as o}from"./p-59a2915a.js";const n={en:{dat
4
4
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
5
5
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6
6
  */
7
- function l(e,t="24.5.10"){Object.defineProperty(e,"version",{get:()=>t});const i=customElements.get(e.is);if(i){const t=i.version;t&&e.version&&t===e.version?console.warn(`The component ${e.is} has been loaded twice`):console.error(`Tried to define ${e.is} version ${e.version} when version ${i.version} is already in use. Something will probably break.`)}else customElements.define(e.is,e)}
7
+ function l(e,t="24.5.11"){Object.defineProperty(e,"version",{get:()=>t});const i=customElements.get(e.is);if(i){const t=i.version;t&&e.version&&t===e.version?console.warn(`The component ${e.is} has been loaded twice`):console.error(`Tried to define ${e.is} version ${e.version} when version ${i.version} is already in use. Something will probably break.`)}else customElements.define(e.is,e)}
8
8
  /**
9
9
  * @license
10
10
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
@@ -2000,7 +2000,7 @@ xe("vaadin-checkbox-group",_`
2000
2000
  </div>
2001
2001
 
2002
2002
  <slot name="tooltip"></slot>
2003
- `}}l(qo);const Ho=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.value=null,this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.options=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.selectedValues=[]}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value,type:"checkboxgroup"})}setValue(){this.value=this.options.reduce(((e,t)=>(e[t.name]=this.selectedValues.includes(t.name),e)),{}),this.emitValueHandler(!0)}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"checkboxgroup"})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.isValid=this.setValidity(),this.defaultValue&&(this.selectedValues=this.options.map((e=>e.name)),this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"checkboxgroup__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}handleParentCheckbox(e){this.selectedValues=e.target.checked?this.options.map((e=>e.name)):[]}renderLabel(){return i("label",{class:"checkbox__label",htmlFor:`${this.name}__input`,slot:"label"},i("div",{class:"checkbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}render(){return i("div",{key:"c25b0a1ac187ea0abf1fe8c69d584eee00568177",class:`checkboxgroup__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"daf512e7f98d20bae65e43ab869e45babc008e90",class:"checkboxgroup__wrapper--flex"},i("vaadin-checkbox",{key:"08e31269cf2ace61c4c929a6a597486555667197",class:"checkbox__input",checked:this.selectedValues.length===this.options.length||"true"===this.defaultValue,indeterminate:this.selectedValues.length>0&&this.selectedValues.length<this.options.length,onChange:e=>this.handleParentCheckbox(e)},this.renderLabel()),this.tooltip&&i("img",{key:"ed4c3efd6b7e30ae0b68de11093b8faf2cb0a845",class:"checkboxgroup__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),i("small",{key:"5b95c4059a2de898c04bf147e89c5a2ad035dddf",class:"checkboxgroup__error-message"},this.errorMessage),i("vaadin-checkbox-group",{key:"2b73ac73d52c6185358e50eda4c9706643f55384",theme:"vertical",value:this.selectedValues,"on-value-changed":e=>{this.selectedValues=e.detail.value}},this.options.map((e=>i("vaadin-checkbox",{class:"checkbox__input",name:e.name,value:e.name,label:e.displayName})))))}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}}};Ho.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:"Roboto";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}';const Vo=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.value="",this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}handleClick(){this.value=this.inputReference.checked.toString(),this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderLabel(){return i("label",{class:"checkbox__label",htmlFor:`${this.name}__input`},i("div",{class:"checkbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?i("div",{class:"checkbox__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("div",{key:"8c80c955bb052558165a4c5b1020d0582ed0af36",class:`checkbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("input",{key:"89401d543cb30b72ec614b0cd4e95b2e82b2522d",class:"checkbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.inputReference=e,name:this.name,checked:"true"===this.defaultValue,readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel(),i("small",{key:"d007d8c02dd014a363e2fcc1a0e8df6ffda34bcb",class:"checkbox__error-message"},this.errorMessage),i("div",{key:"c511c07684173359663d4907371efb82289f0433",class:"checkbox__wrapper--relative"},this.tooltip&&i("img",{key:"dd263ce86efd89f34078f3cc24729f43f40e89a6",class:"checkbox__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};Vo.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:"Roboto";font-style:normal}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--relative{position:relative}.checkbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.checkbox__label-text{font-size:16px}.checkbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkbox__tooltip-icon{width:16px;height:auto}.checkbox__tooltip{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkbox__tooltip.visible{opacity:1}';
2003
+ `}}l(qo);const Ho=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.value=null,this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.options=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.selectedValues=[]}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value,type:"checkboxgroup"})}setValue(){this.value=this.options.reduce(((e,t)=>(e[t.name]=this.selectedValues.includes(t.name),e)),{}),this.emitValueHandler(!0)}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"checkboxgroup"})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.isValid=this.setValidity(),this.defaultValue&&(this.selectedValues=this.options.map((e=>e.name)),this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"checkboxgroup__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}handleParentCheckbox(e){this.selectedValues=e.target.checked?this.options.map((e=>e.name)):[]}renderLabel(){return i("label",{class:"checkbox__label",htmlFor:`${this.name}__input`,slot:"label"},i("div",{class:"checkbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}render(){return i("div",{key:"c25b0a1ac187ea0abf1fe8c69d584eee00568177",class:`checkboxgroup__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"daf512e7f98d20bae65e43ab869e45babc008e90",class:"checkboxgroup__wrapper--flex"},i("vaadin-checkbox",{key:"08e31269cf2ace61c4c929a6a597486555667197",class:"checkbox__input",checked:this.selectedValues.length===this.options.length||"true"===this.defaultValue,indeterminate:this.selectedValues.length>0&&this.selectedValues.length<this.options.length,onChange:e=>this.handleParentCheckbox(e)},this.renderLabel()),this.tooltip&&i("img",{key:"ed4c3efd6b7e30ae0b68de11093b8faf2cb0a845",class:"checkboxgroup__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),i("small",{key:"5b95c4059a2de898c04bf147e89c5a2ad035dddf",class:"checkboxgroup__error-message"},this.errorMessage),i("vaadin-checkbox-group",{key:"2b73ac73d52c6185358e50eda4c9706643f55384",theme:"vertical",value:this.selectedValues,"on-value-changed":e=>{this.selectedValues=e.detail.value}},this.options.map((e=>i("vaadin-checkbox",{class:"checkbox__input",name:e.name,value:e.name,label:e.displayName})))))}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}}};Ho.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}vaadin-checkbox-group{margin-top:5px;margin-left:40px}.checkboxgroup{font-family:"Roboto";font-style:normal;font-size:15px}.checkboxgroup__wrapper{position:relative}.checkboxgroup__wrapper--flex{display:flex;gap:5px;align-content:flex-start}.checkboxgroup__wrapper--relative{position:relative;display:inline}.checkboxgroup__input{vertical-align:baseline}.checkboxgroup__input[indeterminate]::part(checkbox)::after,.checkboxgroup__input[indeterminate]::part(checkbox),.checkboxgroup__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;padding-left:10px;vertical-align:baseline}.checkboxgroup__label-text{font-size:16px}.checkboxgroup__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkboxgroup__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkboxgroup__tooltip-icon{width:16px;height:auto}.checkboxgroup__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkboxgroup__tooltip.visible{opacity:1}.checkbox__input::part(checkbox){background-color:var(--emw--color-white, #FFFFFF);transform:scale(0.8, 0.8);border-radius:var(--emw--border-radius-small, 2px);box-shadow:0 0px 0px 2px var(--emw--color-gray, #7a7a7a)}.checkbox__input[indeterminate]::part(checkbox),.checkbox__input[checked]::part(checkbox){background-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));box-shadow:none}';const Vo=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.value="",this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}handleClick(){this.value=this.inputReference.checked.toString(),this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderLabel(){return i("label",{class:"checkbox__label",htmlFor:`${this.name}__input`},i("div",{class:"checkbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?i("div",{class:"checkbox__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("div",{key:"8c80c955bb052558165a4c5b1020d0582ed0af36",class:`checkbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("input",{key:"89401d543cb30b72ec614b0cd4e95b2e82b2522d",class:"checkbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.inputReference=e,name:this.name,checked:"true"===this.defaultValue,readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel(),i("small",{key:"d007d8c02dd014a363e2fcc1a0e8df6ffda34bcb",class:"checkbox__error-message"},this.errorMessage),i("div",{key:"c511c07684173359663d4907371efb82289f0433",class:"checkbox__wrapper--relative"},this.tooltip&&i("img",{key:"dd263ce86efd89f34078f3cc24729f43f40e89a6",class:"checkbox__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};Vo.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.checkbox{font-family:"Roboto";font-style:normal}.checkbox__wrapper{display:flex;gap:10px;position:relative;align-items:baseline}.checkbox__wrapper--relative{position:relative}.checkbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.checkbox__label-text{font-size:16px}.checkbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.checkbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.checkbox__tooltip-icon{width:16px;height:auto}.checkbox__tooltip{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.checkbox__tooltip.visible{opacity:1}';
2004
2004
  /**
2005
2005
  * @license
2006
2006
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
@@ -3986,7 +3986,7 @@ xe("vaadin-date-picker",[Cs,_`
3986
3986
  ></vaadin-date-picker-overlay>
3987
3987
 
3988
3988
  <slot name="tooltip"></slot>
3989
- `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Mo(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}),{uniqueIdPrefix:"search-input"})),this.addController(new Uo(this.inputElement,this._labelController)),this._tooltipController=new kr(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((e=>!e.opened)),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",(e=>e.preventDefault())),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(e){e.detail.sourceEvent&&e.detail.sourceEvent.composedPath().includes(this)&&e.preventDefault()}_toggle(e){e.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(e){super._openedChanged(e),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}function Os(e){return Os="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Os(e)}function zs(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Gs(e){zs(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===Os(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function Ms(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Us(e,t){return zs(2,arguments),function(e,t){zs(2,arguments);var i=Gs(e).getTime(),r=Ms(t);return new Date(i+r)}(e,-Ms(t))}function Bs(e){zs(1,arguments);var t=Gs(e),i=t.getUTCDay(),r=(i<1?7:0)+i-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function Ps(e){zs(1,arguments);var t=Gs(e),i=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(i+1,0,4),r.setUTCHours(0,0,0,0);var o=Bs(r),n=new Date(0);n.setUTCFullYear(i,0,4),n.setUTCHours(0,0,0,0);var s=Bs(n);return t.getTime()>=o.getTime()?i+1:t.getTime()>=s.getTime()?i:i-1}l(Ns);function Ls(e){zs(1,arguments);var t=Gs(e),i=Bs(t).getTime()-function(e){zs(1,arguments);var t=Ps(e),i=new Date(0);return i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0),Bs(i)}(t).getTime();return Math.round(i/6048e5)+1}var Fs={};function js(){return Fs}function qs(e,t){var i,r,o,n,s,a,l,h;zs(1,arguments);var c=js(),d=Ms(null!==(i=null!==(r=null!==(o=null!==(n=null==t?void 0:t.weekStartsOn)&&void 0!==n?n:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==o?o:c.weekStartsOn)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Gs(e),m=u.getUTCDay(),p=(m<d?7:0)+m-d;return u.setUTCDate(u.getUTCDate()-p),u.setUTCHours(0,0,0,0),u}function Hs(e,t){var i,r,o,n,s,a,l,h;zs(1,arguments);var c=Gs(e),d=c.getUTCFullYear(),u=js(),m=Ms(null!==(i=null!==(r=null!==(o=null!==(n=null==t?void 0:t.firstWeekContainsDate)&&void 0!==n?n:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==o?o:u.firstWeekContainsDate)&&void 0!==r?r:null===(l=u.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(d+1,0,m),p.setUTCHours(0,0,0,0);var _=qs(p,t),f=new Date(0);f.setUTCFullYear(d,0,m),f.setUTCHours(0,0,0,0);var v=qs(f,t);return c.getTime()>=_.getTime()?d+1:c.getTime()>=v.getTime()?d:d-1}function Vs(e,t){zs(1,arguments);var i=Gs(e),r=qs(i,t).getTime()-function(e,t){var i,r,o,n,s,a,l,h;zs(1,arguments);var c=js(),d=Ms(null!==(i=null!==(r=null!==(o=null!==(n=null==t?void 0:t.firstWeekContainsDate)&&void 0!==n?n:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==o?o:c.firstWeekContainsDate)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1),u=Hs(e,t),m=new Date(0);return m.setUTCFullYear(u,0,d),m.setUTCHours(0,0,0,0),qs(m,t)}(i,t).getTime();return Math.round(r/6048e5)+1}function $s(e,t){for(var i=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return i+r}const Xs=function(e,t){var i=e.getUTCFullYear(),r=i>0?i:1-i;return $s("yy"===t?r%100:r,t.length)},Ks=function(e,t){var i=e.getUTCMonth();return"M"===t?String(i+1):$s(i+1,2)},Ys=function(e,t){return $s(e.getUTCDate(),t.length)},Ws=function(e,t){return $s(e.getUTCHours()%12||12,t.length)},Zs=function(e,t){return $s(e.getUTCHours(),t.length)},Qs=function(e,t){return $s(e.getUTCMinutes(),t.length)},Js=function(e,t){return $s(e.getUTCSeconds(),t.length)},ea=function(e,t){var i=t.length,r=e.getUTCMilliseconds();return $s(Math.floor(r*Math.pow(10,i-3)),t.length)};function ta(e,t){var i=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),n=r%60;if(0===n)return i+String(o);var s=t||"";return i+String(o)+s+$s(n,2)}function ia(e,t){return e%60==0?(e>0?"-":"+")+$s(Math.abs(e)/60,2):ra(e,t)}function ra(e,t){var i=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+$s(Math.floor(o/60),2)+i+$s(o%60,2)}const oa={G:function(e,t,i){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})}},y:function(e,t,i){if("yo"===t){var r=e.getUTCFullYear();return i.ordinalNumber(r>0?r:1-r,{unit:"year"})}return Xs(e,t)},Y:function(e,t,i,r){var o=Hs(e,r),n=o>0?o:1-o;return"YY"===t?$s(n%100,2):"Yo"===t?i.ordinalNumber(n,{unit:"year"}):$s(n,t.length)},R:function(e,t){return $s(Ps(e),t.length)},u:function(e,t){return $s(e.getUTCFullYear(),t.length)},Q:function(e,t,i){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return $s(r,2);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,i){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return $s(r,2);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,i){var r=e.getUTCMonth();switch(t){case"M":case"MM":return Ks(e,t);case"Mo":return i.ordinalNumber(r+1,{unit:"month"});case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,i){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return $s(r+1,2);case"Lo":return i.ordinalNumber(r+1,{unit:"month"});case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,i,r){var o=Vs(e,r);return"wo"===t?i.ordinalNumber(o,{unit:"week"}):$s(o,t.length)},I:function(e,t,i){var r=Ls(e);return"Io"===t?i.ordinalNumber(r,{unit:"week"}):$s(r,t.length)},d:function(e,t,i){return"do"===t?i.ordinalNumber(e.getUTCDate(),{unit:"date"}):Ys(e,t)},D:function(e,t,i){var r=function(e){zs(1,arguments);var t=Gs(e),i=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime();return Math.floor((i-r)/864e5)+1}(e);return"Do"===t?i.ordinalNumber(r,{unit:"dayOfYear"}):$s(r,t.length)},E:function(e,t,i){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,i,r){var o=e.getUTCDay(),n=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(n);case"ee":return $s(n,2);case"eo":return i.ordinalNumber(n,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,i,r){var o=e.getUTCDay(),n=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(n);case"cc":return $s(n,t.length);case"co":return i.ordinalNumber(n,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,i){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return $s(o,t.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,i){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,i){var r,o=e.getUTCHours();switch(r=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,i){var r,o=e.getUTCHours();switch(r=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",t){case"B":case"BB":case"BBB":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,i){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),i.ordinalNumber(r,{unit:"hour"})}return Ws(e,t)},H:function(e,t,i){return"Ho"===t?i.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Zs(e,t)},K:function(e,t,i){var r=e.getUTCHours()%12;return"Ko"===t?i.ordinalNumber(r,{unit:"hour"}):$s(r,t.length)},k:function(e,t,i){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?i.ordinalNumber(r,{unit:"hour"}):$s(r,t.length)},m:function(e,t,i){return"mo"===t?i.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Qs(e,t)},s:function(e,t,i){return"so"===t?i.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Js(e,t)},S:function(e,t){return ea(e,t)},X:function(e,t,i,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return ia(o);case"XXXX":case"XX":return ra(o);default:return ra(o,":")}},x:function(e,t,i,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return ia(o);case"xxxx":case"xx":return ra(o);default:return ra(o,":")}},O:function(e,t,i,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ta(o,":");default:return"GMT"+ra(o,":")}},z:function(e,t,i,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ta(o,":");default:return"GMT"+ra(o,":")}},t:function(e,t,i,r){return $s(Math.floor((r._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,i,r){return $s((r._originalDate||e).getTime(),t.length)}};var na=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},sa=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},aa={p:sa,P:function(e,t){var i,r=e.match(/(P+)(p+)?/)||[],o=r[1],n=r[2];if(!n)return na(e,t);switch(o){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",na(o,t)).replace("{{time}}",sa(n,t))}};const la=aa;function ha(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var ca=["D","DD"],da=["YY","YYYY"];function ua(e){return-1!==ca.indexOf(e)}function ma(e){return-1!==da.indexOf(e)}function pa(e,t,i){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var _a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function fa(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var va,ga={date:fa({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:fa({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:fa({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ba={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Ea(e){return function(t,i){var r;if("formatting"===(null!=i&&i.context?String(i.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,n=null!=i&&i.width?String(i.width):o;r=e.formattingValues[n]||e.formattingValues[o]}else{var s=e.defaultWidth,a=null!=i&&i.width?String(i.width):e.defaultWidth;r=e.values[a]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function ya(e){return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.width,o=t.match(r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth]);if(!o)return null;var n,s=o[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?function(e){for(var t=0;t<e.length;t++)if(e[t].test(s))return t}(a):function(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t].test(s))return t}(a);return n=e.valueCallback?e.valueCallback(l):l,{value:n=i.valueCallback?i.valueCallback(n):n,rest:t.slice(s.length)}}}const wa={code:"en-US",formatDistance:function(e,t,i){var r,o=_a[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+r:r+" ago":r},formatLong:ga,formatRelative:function(e){return ba[e]},localize:{ordinalNumber:function(e){var t=Number(e),i=t%100;if(i>20||i<10)switch(i%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:Ea({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Ea({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Ea({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Ea({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Ea({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(va={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.match(va.matchPattern);if(!i)return null;var r=i[0],o=e.match(va.parsePattern);if(!o)return null;var n=va.valueCallback?va.valueCallback(o[0]):o[0];return{value:n=t.valueCallback?t.valueCallback(n):n,rest:e.slice(r.length)}}),era:ya({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ya({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ya({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ya({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ya({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var ka=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xa=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Sa=/^'([^]*?)'?$/,Aa=/''/g,Ia=/[a-zA-Z]/;function Ca(e,t,i){var r,o,n,s,a,l,h,c,d,u,m,p,_,f,v,g,b,E;zs(2,arguments);var y=String(t),w=js(),k=null!==(r=null!==(o=null==i?void 0:i.locale)&&void 0!==o?o:w.locale)&&void 0!==r?r:wa,x=Ms(null!==(n=null!==(s=null!==(a=null!==(l=null==i?void 0:i.firstWeekContainsDate)&&void 0!==l?l:null==i||null===(h=i.locale)||void 0===h||null===(c=h.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==a?a:w.firstWeekContainsDate)&&void 0!==s?s:null===(d=w.locale)||void 0===d||null===(u=d.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==n?n:1);if(!(x>=1&&x<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=Ms(null!==(m=null!==(p=null!==(_=null!==(f=null==i?void 0:i.weekStartsOn)&&void 0!==f?f:null==i||null===(v=i.locale)||void 0===v||null===(g=v.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==_?_:w.weekStartsOn)&&void 0!==p?p:null===(b=w.locale)||void 0===b||null===(E=b.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==m?m:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var A=Gs(e);if(!function(e){if(zs(1,arguments),!function(e){return zs(1,arguments),e instanceof Date||"object"===Os(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=Gs(e);return!isNaN(Number(t))}(A))throw new RangeError("Invalid time value");var I=Us(A,ha(A)),C={firstWeekContainsDate:x,weekStartsOn:S,locale:k,_originalDate:A};return y.match(xa).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,la[t])(e,k.formatLong):e})).join("").match(ka).map((function(r){if("''"===r)return"'";var o,n,s=r[0];if("'"===s)return(n=(o=r).match(Sa))?n[1].replace(Aa,"'"):o;var a=oa[s];if(a)return null!=i&&i.useAdditionalWeekYearTokens||!ma(r)||pa(r,t,String(e)),null!=i&&i.useAdditionalDayOfYearTokens||!ua(r)||pa(r,t,String(e)),a(I,r,k.localize,C);if(s.match(Ia))throw new RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");return r})).join("")}function Ta(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=Array(t);i<t;i++)r[i]=e[i];return r}function Da(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return Ta(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ta(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,a=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){a=!0,n=e},f:function(){try{s||null==i.return||i.return()}finally{if(a)throw n}}}}function Ra(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}function Na(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oa(e,t){return Oa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oa(e,t)}function za(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oa(e,t)}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ga(e)}function Ma(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ma=function(){return!!e})()}function Ua(e){var t=Ma();return function(){var i,r=Ga(e);if(t){var o=Ga(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return function(e,t){if(t&&("object"==Os(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Na(e)}(this,i)}}function Ba(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(e){var t=function(e){if("object"!=Os(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=Os(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Os(t)?t:t+""}function La(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Pa(r.key),r)}}function Fa(e,t,i){return t&&La(e.prototype,t),i&&La(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function ja(e,t,i){return(t=Pa(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var qa=function(){function e(){Ba(this,e),ja(this,"priority",void 0),ja(this,"subPriority",0)}return Fa(e,[{key:"validate",value:function(){return!0}}]),e}(),Ha=function(){za(t,qa);var e=Ua(t);function t(i,r,o,n,s){var a;return Ba(this,t),(a=e.call(this)).value=i,a.validateValue=r,a.setValue=o,a.priority=n,s&&(a.subPriority=s),a}return Fa(t,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,i){return this.setValue(e,t,this.value,i)}}]),t}(),Va=function(){za(t,qa);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",10),ja(Na(i),"subPriority",-1),i}return Fa(t,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var i=new Date(0);return i.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),i.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),i}}]),t}(),$a=function(){function e(){Ba(this,e),ja(this,"incompatibleTokens",void 0),ja(this,"priority",void 0),ja(this,"subPriority",void 0)}return Fa(e,[{key:"run",value:function(e,t,i,r){var o=this.parse(e,t,i,r);return o?{setter:new Ha(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(){return!0}}]),e}(),Xa=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",140),ja(Na(i),"incompatibleTokens",["R","u","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"G":case"GG":case"GGG":return i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"});case"GGGGG":return i.era(e,{width:"narrow"});default:return i.era(e,{width:"wide"})||i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,i){return t.era=i,e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Ka=/^(1[0-2]|0?\d)/,Ya=/^(3[0-1]|[0-2]?\d)/,Wa=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Za=/^(5[0-3]|[0-4]?\d)/,Qa=/^(2[0-3]|[0-1]?\d)/,Ja=/^(2[0-4]|[0-1]?\d)/,el=/^(1[0-1]|0?\d)/,tl=/^(1[0-2]|0?\d)/,il=/^[0-5]?\d/,rl=/^[0-5]?\d/,ol=/^\d/,nl=/^\d{1,2}/,sl=/^\d{1,3}/,al=/^\d{1,4}/,ll=/^-?\d+/,hl=/^-?\d/,cl=/^-?\d{1,2}/,dl=/^-?\d{1,3}/,ul=/^-?\d{1,4}/,ml=/^([+-])(\d{2})(\d{2})?|Z/,pl=/^([+-])(\d{2})(\d{2})|Z/,_l=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,fl=/^([+-])(\d{2}):(\d{2})|Z/,vl=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function gl(e,t){return e?{value:t(e.value),rest:e.rest}:e}function bl(e,t){var i=t.match(e);return i?{value:parseInt(i[0],10),rest:t.slice(i[0].length)}:null}function El(e,t){var i=t.match(e);return i?"Z"===i[0]?{value:0,rest:t.slice(1)}:{value:("+"===i[1]?1:-1)*(36e5*(i[2]?parseInt(i[2],10):0)+6e4*(i[3]?parseInt(i[3],10):0)+1e3*(i[5]?parseInt(i[5],10):0)),rest:t.slice(i[0].length)}:null}function yl(e){return bl(ll,e)}function wl(e,t){switch(e){case 1:return bl(ol,t);case 2:return bl(nl,t);case 3:return bl(sl,t);case 4:return bl(al,t);default:return bl(new RegExp("^\\d{1,"+e+"}"),t)}}function kl(e,t){switch(e){case 1:return bl(hl,t);case 2:return bl(cl,t);case 3:return bl(dl,t);case 4:return bl(ul,t);default:return bl(new RegExp("^-?\\d{1,"+e+"}"),t)}}function xl(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Sl(e,t){var i,r=t>0,o=r?t:1-t;if(o<=50)i=e||100;else{var n=o+50;i=e+100*Math.floor(n/100)-(e>=n%100?100:0)}return r?i:1-i}function Al(e){return e%400==0||e%4==0&&e%100!=0}var Il=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",130),ja(Na(i),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return gl(wl(4,e),r);case"yo":return gl(i.ordinalNumber(e,{unit:"year"}),r);default:return gl(wl(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,i){var r=e.getUTCFullYear();if(i.isTwoDigitYear){var o=Sl(i.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}return e.setUTCFullYear("era"in t&&1!==t.era?1-i.year:i.year,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Cl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",130),ja(Na(i),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return gl(wl(4,e),r);case"Yo":return gl(i.ordinalNumber(e,{unit:"year"}),r);default:return gl(wl(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,i,r){var o=Hs(e,r);if(i.isTwoDigitYear){var n=Sl(i.year,o);return e.setUTCFullYear(n,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),qs(e,r)}return e.setUTCFullYear("era"in t&&1!==t.era?1-i.year:i.year,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),qs(e,r)}}]),t}(),Tl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",130),ja(Na(i),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return kl("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,i){var r=new Date(0);return r.setUTCFullYear(i,0,4),r.setUTCHours(0,0,0,0),Bs(r)}}]),t}(),Dl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",130),ja(Na(i),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return kl("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,i){return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Rl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",120),ja(Na(i),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"Q":case"QQ":return wl(t.length,e);case"Qo":return i.ordinalNumber(e,{unit:"quarter"});case"QQQ":return i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(e,{width:"narrow",context:"formatting"});default:return i.quarter(e,{width:"wide",context:"formatting"})||i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth(3*(i-1),1),e.setUTCHours(0,0,0,0),e}}]),t}(),Nl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",120),ja(Na(i),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"q":case"qq":return wl(t.length,e);case"qo":return i.ordinalNumber(e,{unit:"quarter"});case"qqq":return i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(e,{width:"narrow",context:"standalone"});default:return i.quarter(e,{width:"wide",context:"standalone"})||i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth(3*(i-1),1),e.setUTCHours(0,0,0,0),e}}]),t}(),Ol=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),ja(Na(i),"priority",110),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return e-1};switch(t){case"M":return gl(bl(Ka,e),r);case"MM":return gl(wl(2,e),r);case"Mo":return gl(i.ordinalNumber(e,{unit:"month"}),r);case"MMM":return i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(e,{width:"narrow",context:"formatting"});default:return i.month(e,{width:"wide",context:"formatting"})||i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),t}(),zl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",110),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return e-1};switch(t){case"L":return gl(bl(Ka,e),r);case"LL":return gl(wl(2,e),r);case"Lo":return gl(i.ordinalNumber(e,{unit:"month"}),r);case"LLL":return i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(e,{width:"narrow",context:"standalone"});default:return i.month(e,{width:"wide",context:"standalone"})||i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Gl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",100),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"w":return bl(Za,e);case"wo":return i.ordinalNumber(e,{unit:"week"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,i,r){return qs(function(e,t,i){zs(2,arguments);var r=Gs(e),o=Ms(t),n=Vs(r,i)-o;return r.setUTCDate(r.getUTCDate()-7*n),r}(e,i,r),r)}}]),t}(),Ml=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",100),ja(Na(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"I":return bl(Za,e);case"Io":return i.ordinalNumber(e,{unit:"week"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,i){return Bs(function(e,t){zs(2,arguments);var i=Gs(e),r=Ms(t),o=Ls(i)-r;return i.setUTCDate(i.getUTCDate()-7*o),i}(e,i))}}]),t}(),Ul=[31,28,31,30,31,30,31,31,30,31,30,31],Bl=[31,29,31,30,31,30,31,31,30,31,30,31],Pl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"subPriority",1),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"d":return bl(Ya,e);case"do":return i.ordinalNumber(e,{unit:"date"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){var i=Al(e.getUTCFullYear()),r=e.getUTCMonth();return i?t>=1&&t<=Bl[r]:t>=1&&t<=Ul[r]}},{key:"set",value:function(e,t,i){return e.setUTCDate(i),e.setUTCHours(0,0,0,0),e}}]),t}(),Ll=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"subpriority",1),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"D":case"DD":return bl(Wa,e);case"Do":return i.ordinalNumber(e,{unit:"date"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return Al(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,i){return e.setUTCMonth(0,i),e.setUTCHours(0,0,0,0),e}}]),t}();function Fl(e,t,i){var r,o,n,s,a,l,h,c;zs(2,arguments);var d=js(),u=Ms(null!==(r=null!==(o=null!==(n=null!==(s=null==i?void 0:i.weekStartsOn)&&void 0!==s?s:null==i||null===(a=i.locale)||void 0===a||null===(l=a.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==n?n:d.weekStartsOn)&&void 0!==o?o:null===(h=d.locale)||void 0===h||null===(c=h.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==r?r:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=Gs(e),p=Ms(t),_=((p%7+7)%7<u?7:0)+p-m.getUTCDay();return m.setUTCDate(m.getUTCDate()+_),m}var jl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"incompatibleTokens",["D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"E":case"EE":case"EEE":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),ql=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return gl(wl(t.length,e),o);case"eo":return gl(i.ordinalNumber(e,{unit:"day"}),o);case"eee":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"eeeee":return i.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),Hl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return gl(wl(t.length,e),o);case"co":return gl(i.ordinalNumber(e,{unit:"day"}),o);case"ccc":return i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});case"ccccc":return i.day(e,{width:"narrow",context:"standalone"});case"cccccc":return i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});default:return i.day(e,{width:"wide",context:"standalone"})||i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),Vl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return wl(t.length,e);case"io":return i.ordinalNumber(e,{unit:"day"});case"iii":return gl(i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return gl(i.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return gl(i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r);default:return gl(i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,i){return e=function(e,t){zs(2,arguments);var i=Ms(t);i%7==0&&(i-=7);var r=Gs(e),o=((i%7+7)%7<1?7:0)+i-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(e,i),e.setUTCHours(0,0,0,0),e}}]),t}(),$l=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",80),ja(Na(i),"incompatibleTokens",["b","B","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"a":case"aa":case"aaa":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Xl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",80),ja(Na(i),"incompatibleTokens",["a","B","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"b":case"bb":case"bbb":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Kl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",80),ja(Na(i),"incompatibleTokens",["a","b","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"B":case"BB":case"BBB":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Yl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",70),ja(Na(i),"incompatibleTokens",["H","K","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"h":return bl(tl,e);case"ho":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,i){var r=e.getUTCHours()>=12;return e.setUTCHours(r&&i<12?i+12:r||12!==i?i:0,0,0,0),e}}]),t}(),Wl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",70),ja(Na(i),"incompatibleTokens",["a","b","h","K","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"H":return bl(Qa,e);case"Ho":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,i){return e.setUTCHours(i,0,0,0),e}}]),t}(),Zl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",70),ja(Na(i),"incompatibleTokens",["h","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"K":return bl(el,e);case"Ko":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){var r=e.getUTCHours()>=12;return e.setUTCHours(r&&i<12?i+12:i,0,0,0),e}}]),t}(),Ql=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",70),ja(Na(i),"incompatibleTokens",["a","b","h","H","K","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"k":return bl(Ja,e);case"ko":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,i){return e.setUTCHours(i<=24?i%24:i,0,0,0),e}}]),t}(),Jl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",60),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"m":return bl(il,e);case"mo":return i.ordinalNumber(e,{unit:"minute"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCMinutes(i,0,0),e}}]),t}(),eh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",50),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"s":return bl(rl,e);case"so":return i.ordinalNumber(e,{unit:"second"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCSeconds(i,0),e}}]),t}(),th=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",30),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return gl(wl(t.length,e),(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))}},{key:"set",value:function(e,t,i){return e.setUTCMilliseconds(i),e}}]),t}(),ih=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",10),ja(Na(i),"incompatibleTokens",["t","T","x"]),i}return Fa(t,[{key:"parse",value:function(e,t){switch(t){case"X":return El(ml,e);case"XX":return El(pl,e);case"XXXX":return El(_l,e);case"XXXXX":return El(vl,e);default:return El(fl,e)}}},{key:"set",value:function(e,t,i){return t.timestampIsSet?e:new Date(e.getTime()-i)}}]),t}(),rh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",10),ja(Na(i),"incompatibleTokens",["t","T","X"]),i}return Fa(t,[{key:"parse",value:function(e,t){switch(t){case"x":return El(ml,e);case"xx":return El(pl,e);case"xxxx":return El(_l,e);case"xxxxx":return El(vl,e);default:return El(fl,e)}}},{key:"set",value:function(e,t,i){return t.timestampIsSet?e:new Date(e.getTime()-i)}}]),t}(),oh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",40),ja(Na(i),"incompatibleTokens","*"),i}return Fa(t,[{key:"parse",value:function(e){return yl(e)}},{key:"set",value:function(e,t,i){return[new Date(1e3*i),{timestampIsSet:!0}]}}]),t}(),nh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",20),ja(Na(i),"incompatibleTokens","*"),i}return Fa(t,[{key:"parse",value:function(e){return yl(e)}},{key:"set",value:function(e,t,i){return[new Date(i),{timestampIsSet:!0}]}}]),t}(),sh={G:new Xa,y:new Il,Y:new Cl,R:new Tl,u:new Dl,Q:new Rl,q:new Nl,M:new Ol,L:new zl,w:new Gl,I:new Ml,d:new Pl,D:new Ll,E:new jl,e:new ql,c:new Hl,i:new Vl,a:new $l,b:new Xl,B:new Kl,h:new Yl,H:new Wl,K:new Zl,k:new Ql,m:new Jl,s:new eh,S:new th,X:new ih,x:new rh,t:new oh,T:new nh},ah=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,lh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,hh=/^'([^]*?)'?$/,ch=/''/g,dh=/\S/,uh=/[a-zA-Z]/;function mh(e,t,i,r){var o,n,s,a,l,h,c,d,u,m,p,_,f,v,g,b,E,y;zs(3,arguments);var w=String(e),k=String(t),x=js(),S=null!==(o=null!==(n=null==r?void 0:r.locale)&&void 0!==n?n:x.locale)&&void 0!==o?o:wa;if(!S.match)throw new RangeError("locale must contain match property");var A=Ms(null!==(s=null!==(a=null!==(l=null!==(h=null==r?void 0:r.firstWeekContainsDate)&&void 0!==h?h:null==r||null===(c=r.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:x.firstWeekContainsDate)&&void 0!==a?a:null===(u=x.locale)||void 0===u||null===(m=u.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==s?s:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=Ms(null!==(p=null!==(_=null!==(f=null!==(v=null==r?void 0:r.weekStartsOn)&&void 0!==v?v:null==r||null===(g=r.locale)||void 0===g||null===(b=g.options)||void 0===b?void 0:b.weekStartsOn)&&void 0!==f?f:x.weekStartsOn)&&void 0!==_?_:null===(E=x.locale)||void 0===E||null===(y=E.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==p?p:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===k)return""===w?Gs(i):new Date(NaN);var C,T={firstWeekContainsDate:A,weekStartsOn:I,locale:S},D=[new Va],R=k.match(lh).map((function(e){var t=e[0];return t in la?(0,la[t])(e,S.formatLong):e})).join("").match(ah),N=[],O=Da(R);try{var z=function(){var t=C.value;null!=r&&r.useAdditionalWeekYearTokens||!ma(t)||pa(t,k,e),null!=r&&r.useAdditionalDayOfYearTokens||!ua(t)||pa(t,k,e);var i=t[0],o=sh[i];if(o){var n=o.incompatibleTokens;if(Array.isArray(n)){var s=N.find((function(e){return n.includes(e.token)||e.token===i}));if(s)throw new RangeError("The format string mustn't contain `".concat(s.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===o.incompatibleTokens&&N.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));N.push({token:i,fullToken:t});var a=o.run(w,t,S.match,T);if(!a)return{v:new Date(NaN)};D.push(a.setter),w=a.rest}else{if(i.match(uh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===t?t="'":"'"===i&&(t=t.match(hh)[1].replace(ch,"'")),0!==w.indexOf(t))return{v:new Date(NaN)};w=w.slice(t.length)}};for(O.s();!(C=O.n()).done;){var G=z();if("object"===Os(G))return G.v}}catch(e){O.e(e)}finally{O.f()}if(w.length>0&&dh.test(w))return new Date(NaN);var M=D.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,i){return i.indexOf(e)===t})).map((function(e){return D.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),U=Gs(i);if(isNaN(U.getTime()))return new Date(NaN);var B,P=Us(U,ha(U)),L={},F=Da(M);try{for(F.s();!(B=F.n()).done;){var j=B.value;if(!j.validate(P,T))return new Date(NaN);var q=j.set(P,L,T);Array.isArray(q)?(P=q[0],Ra(L,q[1])):P=q}}catch(e){F.e(e)}finally{F.f()}return P}function ph(e,t){zs(2,arguments);var i=Gs(e),r=Gs(t);return i.getTime()>r.getTime()}function _h(e,t){zs(2,arguments);var i=Gs(e),r=Gs(t);return i.getTime()<r.getTime()}const fh=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.touched=!1,this.formatDate=e=>{const{year:t,month:i,day:r}=e;return Ca(new Date(t,i,r),this.dateFormat||"yyyy-MM-dd")},this.parseDate=e=>{const t=mh(e,this.dateFormat||"yyyy-MM-dd",new Date);return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.validation=void 0,this.defaultValue=void 0,this.autofilled=void 0,this.tooltip=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.dateFormat=void 0,this.emitOnClick=!1,this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){var e,t;this.minDate=mh((null===(e=this.validation.min)||void 0===e?void 0:e.toString())||"","yyyy-MM-dd",new Date),this.maxDate=mh((null===(t=this.validation.max)||void 0===t?void 0:t.toString())||"","yyyy-MM-dd",new Date)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){if(this.datePicker=this.element.shadowRoot.querySelector("vaadin-date-picker"),this.inputReference=this.element.shadowRoot.querySelector("input"),this.datePicker){const e=this.datePicker.shadowRoot.querySelector('[part="toggle-button"]');e&&e.addEventListener("click",(()=>this.handleCalendarIconClick()))}this.datePicker.i18n=Object.assign(Object.assign({},this.datePicker.i18n),{formatDate:this.formatDate,parseDate:this.parseDate}),this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}handleCalendarIconClick(){this.datePicker.opened&&this.emitOnClick&&window.postMessage({type:`registration${this.name}Clicked`},window.location.href)}handleInput(e){this.value=e.target.value,this.touched=!0,this.valueAsDate=mh(this.value||"","yyyy-MM-dd",new Date),this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}setValidity(){return!_h(this.valueAsDate,this.minDate)&&!ph(this.valueAsDate,this.maxDate)&&this.inputReference.validity.valid}setErrorMessage(){return _h(this.valueAsDate,this.minDate)||ph(this.valueAsDate,this.maxDate)?s("dateError2",this.language):this.inputReference.validity.rangeUnderflow||this.inputReference.validity.rangeOverflow?s("dateError",this.language,{values:{min:this.validation.min,max:this.validation.max}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"date__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"ad6360e0afb065a91f860574f5e3c08f5bdb2534",class:`date__wrapper ${this.autofilled?"date__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("label",{key:"3e8d26e0c8ae0983997b84e95cb34887df1f5fe5",class:`date__label ${this.validation.mandatory?"date__label--required":""}}`,htmlFor:`${this.name}__input`},this.displayName," ",this.validation.mandatory?"*":""),i("vaadin-date-picker",{key:"62ee430506c2ab1a5ebb632d72e84ef905296888",id:`${this.name}__input`,type:"date",class:`date__input ${e}`,value:this.defaultValue,readOnly:this.autofilled,placeholder:`${this.placeholder}`,required:this.validation.mandatory,max:this.validation.max,min:this.validation.min,onChange:e=>this.handleInput(e),onBlur:this.handleBlur}),i("small",{key:"6b7c0e9c3437b484bd534060f93ad4fcd9eaeb60",class:"date__error-message"},this.errorMessage),this.tooltip&&i("img",{key:"6479b29563710abfe1be584c9de110fafe69ca3d",class:"date__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};fh.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:"Roboto";font-style:normal}.date__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.date__wrapper--autofilled{pointer-events:none}.date__wrapper--autofilled .date__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__wrapper--autofilled .date__input::part(input-field){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.date__input{border:none;width:inherit;position:relative}.date__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.date__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.date__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.date__input>input{padding:5px 15px}.date__input::part(toggle-button){position:relative;right:10px}.date__error-message{position:absolute;top:calc(100% + 5px);left:0;color:rgba(204, 0, 0, 0.7019607843)}.date__tooltip-icon{position:absolute;right:0;bottom:10px}.date__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.date__tooltip.visible{opacity:1}';const vh=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.validation=void 0,this.defaultValue=void 0,this.autofilled=void 0,this.tooltip=void 0,this.language=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value)}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"email__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"a46093cfafc840d2fd563ee9676ccd2f16fb1620",class:`email__wrapper ${this.autofilled?"number__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"2eab4a96efc36cdb94e9f92b2a161e208f0ebcd4",class:"email__wrapper--flex"},i("label",{key:"f5ed857f61ea6763c5fe88590732258b4dedac1b",class:"email__label "+(this.validation.mandatory?"email__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"58cadc7857cd91dec968852be71e0108f55fbda7",class:"email__wrapper--relative"},this.tooltip&&i("img",{key:"03009d036fde1c36b9348ac45cefa3389194260c",class:"email__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"b2a9fd96ed301df5f1d7cf6f5a2a5b52f96ab189",id:`${this.name}__input`,type:"email",class:`email__input ${e}`,value:this.defaultValue,readOnly:this.autofilled,placeholder:`${this.placeholder}`,ref:e=>this.inputReference=e,pattern:this.validationPattern,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"edb17f53141a3406bfc657f80098b914044a8894",class:"email__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};vh.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:"Roboto";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__wrapper--autofilled .email__input{color:var(--emw--color-black, #000000)}.email__wrapper--flex{display:flex;gap:5px}.email__wrapper--relative{position:relative}.email__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.email__input{font-family:inherit;border-radius:4px;width:100%;height:40px;border:2px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;font-size:16px;font-weight:300;line-height:1.5;padding:10px}.email__input:focus{outline-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.email__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__input::placeholder{color:var(--emw--color-gray-150, #828282)}.email__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__tooltip-icon{width:16px;height:auto}.email__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.email__tooltip.visible{opacity:1}';const gh=class{constructor(t){e(this,t),this.handleClick=e=>{this.emitOnClick&&(e.stopPropagation(),window.postMessage({type:`registration${this.name}Clicked`},window.location.href))},this.type="text",this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.action=void 0,this.validation=void 0,this.options=void 0,this.language=void 0,this.autofilled=void 0,this.tooltip=void 0,this.defaultValue=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.dateFormat=void 0,this.translationUrl="",this.emitOnClick=!1}connectedCallback(){var e;this.translationUrl&&(e=this.translationUrl,new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{for(let i in e[t])n[t][i]=e[t][i]})),t(!0)}))})))}renderInput(){var e;switch(null===(e=this.type)||void 0===e?void 0:e.toLowerCase()){case"text":return i("text-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"email":return i("email-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"number":return i("number-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"checkbox":return i("checkbox-input",{name:this.name,displayName:this.displayName,validation:this.validation,emitValue:this.emitValue,defaultValue:this.defaultValue,autofilled:this.autofilled,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip});case"checkboxgroup":return i("checkbox-group-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,options:this.options});case"togglecheckbox":return i("toggle-checkbox-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,options:this.options,"emit-on-click":this.emitOnClick});case"datetime":return i("date-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder,dateFormat:this.dateFormat,"emit-on-click":this.emitOnClick});case"password":return i("password-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"radio":return i("radio-input",{name:this.name,displayName:this.displayName,optionsGroup:this.options,validation:this.validation,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling});case"tel":return i("tel-input",{name:this.name,action:this.action,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,emitValue:this.emitValue,language:this.language,autofilled:this.autofilled,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"dropdown":return i("select-input",{name:this.name,action:this.action,defaultValue:this.defaultValue,displayName:this.displayName,options:this.options,validation:this.validation,emitValue:this.emitValue,autofilled:this.autofilled,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});default:return i("p",null,"The ",this.type," input type is not valid")}}render(){return i(o,{key:"e1c49fc91ead165c05b30c21ac568486e55c8096",class:`general-input--${this.name}`,onClick:this.handleClick},this.renderInput())}};gh.style=":host{display:block;height:100%}";const bh={en:{GmErr_AMOUNT_INVALID:"The specified amount is invalid.",GmErr_REGISTER_OVERAGE:"The registration has exceeded the allowable limit.",GmErr_REGISTER_UNDERAGE:"The registration is under the allowable limit.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"User authentication failed due to too many unsuccessful attempts.",GmErr_USER_ACCOUNT_BLOCKED:"The user account is blocked.",GmErr_USER_NOT_VERIFIED:"The user has not been verified.",GmErr_USER_NOT_FOUND:"No user found with the provided information.",GmErr_USER_ID_INVALID:"The user ID provided is invalid.",GmErr_USER_AUTH_FAILED:"User authentication failed.",GmErr_USER_DUPLICATED:"The user already exists in the system.",GmErr_USER_NOT_ACTIVATED:"The user account has not been activated.",GmErr_PASSWORD_CONTAINS_EMAIL:"The password cannot contain the email address.",GmErr_PASSWORD_CONTAINS_USERNAME:"The password cannot contain the username.",GmErr_PASSWORD_CONTAINS_SPACES:"The password cannot contain spaces.",GmErr_USER_4TS_CHECK_EXISTS:"The user 4TS check already exists.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"The user is excluded from registration.",GmErr_USER_NAV_EXCLUDED_LOGIN:"The user is excluded from login.",GmErr_USERNAME_REQUIRED:"A username is required.",GmErr_USER_EMAIL_NOT_VERIFIED:"The user's email address has not been verified.",GmErr_EMAIL_ALREADY_EXISTS:"User with same email already exists",GmErr_EMAIL_REQUIRED:"An email address is required.",GmErr_USERNAME_ALREADY_EXISTS:"The username is already taken.",GmErr_DUPLICATE_PERSONAL_ID:"Duplicate personal ID found.",GmErr_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_INVALID_CODE:"The code provided is invalid.",GmErr_EXPIRED_TOKEN:"The token has expired.",GmErr_ATTEMPTS_EXCEEDED:"The maximum number of attempts has been exceeded.",GmErr_BLOCK_USER_INCORRECT_CODE:"The user has been blocked due to an incorrect code.",GmErr_TOKEN_NOT_FOUND:"The token was not found.",GmErr_INVALID_PHONE_NUMBER:"The phone number provided is invalid.",GmErr_CODE_MISSING:"The code is missing.",GmErr_UNREGISTERED_USER:"The user is not registered.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Maximum attempts to generate a code have been exceeded.",GmErr_UNEXPECTED_EXCEPTION:"An unexpected exception occurred.",GmErr_INVALID_USER_ID:"The user ID provided is invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"This action is not allowed.",GmErr_CAN_NOT_FIND_ROLE:"Unable to find the specified role.",GmErr_NO_SESSION_PROVIDED:"No session was provided.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No active session found for this user.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"The user has already been anonymized.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No role has been set up to be assigned.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"The provided session does not belong to the user.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"The provided session does not exist.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"The role has already been assigned to the user.",GmErr_ASSIGN_USER_ROLE_FAILED:"Failed to assign a role to the user.",GmErr_BadRequest_1000:"There was a problem with the personal identification number",CountryRestricted:"Unfortunately, you are attempting to register from a country where we cannot accept gameplay. We are unable to process your registration for this reason.",nextButton:"Next",backButton:"Back",doneButton:"Done",generalError:"Something went wrong... Please try again.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"A user with this information already exists.",GmErr_BadRequest_PasswordContainsUsername:"The password cannot be the same as the username.",GmErr_BadRequest_PasswordContainsEmail:"The password cannot be the same as the email.",GmErr_BadRequest_Duplicate_PersonalId:"There is already a registration with the data you entered or you entered your data in an incorrect format.",GmErr_Forbidden_UserAccount_NavExcluded:"User is NAV Excluded. Registration was denied.",GmErr_BadRequest_ModelValidationFailed:"Something went wrong... Please try again.",GmErr_BadInternalConfigs:"Something went wrong... Please try again.",GmErr_Unauthorized:"Something went wrong... Please try again.",GmErr_NotFound:"Something went wrong... Please try again.",BadRequest_Duplicate_User:"User with same username already exists.",BadRequest:"The request is invalid, please check the API.",Unauthorized:"The player account number, e-mail address or password is incorrect",Forbidden_TooManyAttempts:"You have made too many invalid login attempts, your account has been blocked, please try again later.",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.",GmErr_BadRequest_ExpiredToken:"The token you are using is expired.",GmErr_BadRequest_INVALID_CODE:"The code you are using is invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"You have made too many attempts to validate your code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"You have made too many attempts to generate your code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"You have been blocked due to an invalid code.",GmErr_BadRequest_CODE_MISSING:"The token is missing for your reqest.",GmErr_BadRequest_TOKEN_NOT_FOUND:"The token is not found for your request.",GmErr_BadRequest_USER_NOT_REGISTERED:"The user is not register. Please register first.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"The phone number you are using is invalid.",GmErr_BadRequest_INVALID_USER_ID:"The user ID is invalid.",GmErr_UnexpectedException:"Something went wrong... Please try again.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF response confirms player IS underaged or IS NOT a Croatian resident.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF fails to return a response.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: Internal error."},hu:{GmErr_AMOUNT_INVALID:"A megadott összeg érvénytelen.",GmErr_REGISTER_OVERAGE:"A regisztráció túllépte a megengedett határt.",GmErr_REGISTER_UNDERAGE:"A regisztráció a megengedett határ alatt van.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"A felhasználó hitelesítése túl sok sikertelen próbálkozás miatt meghiúsult.",GmErr_USER_ACCOUNT_BLOCKED:"A felhasználói fiók le van tiltva.",GmErr_USER_NOT_VERIFIED:"A felhasználó nincs ellenőrizve.",GmErr_USER_NOT_FOUND:"A megadott adatokkal nem található felhasználó.",GmErr_USER_ID_INVALID:"A megadott felhasználói azonosító érvénytelen.",GmErr_USER_AUTH_FAILED:"A felhasználó hitelesítése meghiúsult.",GmErr_USER_DUPLICATED:"A felhasználó már létezik a rendszerben.",GmErr_USER_NOT_ACTIVATED:"A felhasználó fiókja nincs aktiválva.",GmErr_PASSWORD_CONTAINS_EMAIL:"A jelszó nem tartalmazhat e-mail címet.",GmErr_PASSWORD_CONTAINS_USERNAME:"A jelszó nem tartalmazhat felhasználónevet.",GmErr_PASSWORD_CONTAINS_SPACES:"A jelszó nem tartalmazhat szóközöket.",GmErr_USER_4TS_CHECK_EXISTS:"A felhasználó 4TS ellenőrzése már létezik.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"A felhasználó kizárva a regisztrációból.",GmErr_USER_NAV_EXCLUDED_LOGIN:"A felhasználó kizárva a bejelentkezésből.",GmErr_USERNAME_REQUIRED:"Felhasználónév megadása szükséges.",GmErr_USER_EMAIL_NOT_VERIFIED:"A felhasználó e-mail címe nincs megerősítve.",GmErr_EMAIL_ALREADY_EXISTS:"A megadott e-mail címmel már létezik felhasználó",GmErr_EMAIL_REQUIRED:"E-mail cím megadása szükséges.",GmErr_USERNAME_ALREADY_EXISTS:"A felhasználónév már foglalt.",GmErr_DUPLICATE_PERSONAL_ID:"Már létező személyes azonosító.",GmErr_INVALID_USER_DOCUMENT:"A felhasználói dokumentum érvénytelen.",GmErr_INVALID_CODE:"A megadott kód érvénytelen.",GmErr_EXPIRED_TOKEN:"A token lejárt.",GmErr_ATTEMPTS_EXCEEDED:"A megengedett próbálkozások száma túllépve.",GmErr_BLOCK_USER_INCORRECT_CODE:"A felhasználó blokkolva lett a hibás kód miatt.",GmErr_TOKEN_NOT_FOUND:"A token nem található.",GmErr_INVALID_PHONE_NUMBER:"A megadott telefonszám érvénytelen.",GmErr_CODE_MISSING:"A szükséges kód hiányzik.",GmErr_UNREGISTERED_USER:"A felhasználó nincs regisztrálva.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Túllépték a kódgenerálási próbálkozások számát.",GmErr_UNEXPECTED_EXCEPTION:"Váratlan kivétel történt.",GmErr_INVALID_USER_ID:"A felhasználói azonosító érvénytelen.",GmErr_NOT_ALLOWED_EXCEPTION:"Ez a művelet nem engedélyezett.",GmErr_CAN_NOT_FIND_ROLE:"A megadott szerepkör nem található.",GmErr_NO_SESSION_PROVIDED:"Nem került megadásra munkamenet.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nincs aktív munkamenet ehhez a felhasználóhoz.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"A felhasználó már anonimizálva lett.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nincs beállítva hozzárendelhető szerepkör.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A megadott munkamenet nem tartozik a felhasználóhoz.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A megadott munkamenet nem létezik.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A szerepkör már hozzá lett rendelve a felhasználóhoz.",GmErr_ASSIGN_USER_ROLE_FAILED:"Nem sikerült a felhasználói szerepkört hozzárendelni.",GmErr_BadRequest_1000:"Probléma volt a személyi azonosító számmal",CountryRestricted:"Sajnálatos módon olyan országból próbál regisztrálni, ahonnan nem fogadhatunk játékot. Emiatt nem tudjuk feldolgozni a regisztrációját.",nextButton:"Következő",backButton:"Vissza",doneButton:"Kész",generalError:"Valami hiba történt... Próbáld újra.",successMessage:"Sikeres regisztráció",GmErr_BadRequest_Duplicate_User:"Egy ilyen információval rendelkező felhasználó már létezik.",GmErr_BadRequest_PasswordContainsUsername:"A jelszó nem lehet azonos a felhasználónévvel.",GmErr_BadRequest_PasswordContainsEmail:"A jelszó nem lehet azonos az e-mail címmel.",GmErr_BadRequest_Duplicate_PersonalId:"Már létezik egy regisztráció az Ön által megadott adatokkal, vagy helytelen formátumban adta meg az adatokat.",GmErr_Forbidden_UserAccount_NavExcluded:"A felhasználó NAV kizárt. A regisztrációt elutasították.",GmErr_BadRequest_ModelValidationFailed:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_BadInternalConfigs:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_Unauthorized:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_NotFound:"Valami hiba történt... Kérjük, próbálja újra.",BadRequest_Duplicate_User:"Már létezik egy felhasználó ugyanazzal a felhasználónévvel.",BadRequest:"A kérés érvénytelen, kérjük, ellenőrizze az API-t.",Unauthorized:"A játékos számlaszáma, e-mail címe vagy jelszava helytelen",Forbidden_TooManyAttempts:"Túl sok érvénytelen bejelentkezési kísérletet tett, fiókját zárolták, kérjük, próbálja újra később.",Forbidden_UserAccount_NotActive:"Úgy tűnik, még nem erősítette meg e-mail címét. A regisztráció befejezéséhez és fiókjához való hozzáféréshez kérjük, ellenőrizze e-mail fiókját egy megerősítő üzenetért. Ha nem kapta meg az e-mailt, kérjük, ellenőrizze a spam mappát is. Ha segítségre van szüksége, kérhet segítséget az ügyfélszolgálaton keresztül.",GmErr_BadRequest_ExpiredToken:"A használt token lejárt.",GmErr_BadRequest_INVALID_CODE:"A használt kód érvénytelen.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Túl sok kísérletet tett a kód érvényesítésére.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Túl sok kísérletet tett a kód generálására.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Érvénytelen kód miatt zárolták.",GmErr_BadRequest_CODE_MISSING:"A kéréshez hiányzik a token.",GmErr_BadRequest_TOKEN_NOT_FOUND:"A kéréshez nem található token.",GmErr_BadRequest_USER_NOT_REGISTERED:"A felhasználó nincs regisztrálva. Kérjük, regisztráljon először.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"A használt telefonszám érvénytelen.",GmErr_BadRequest_INVALID_USER_ID:"A felhasználói azonosító érvénytelen.",GmErr_UnexpectedException:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"A felhasználói dokumentum érvénytelen.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF válasza megerősíti, hogy a játékos kiskorú vagy nem horvát lakos.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF nem ad választ.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: Belső hiba."},hr:{GmErr_AMOUNT_INVALID:"Navedeni iznos je nevažeći.",GmErr_REGISTER_OVERAGE:"Registracija je premašila dopušteni limit.",GmErr_REGISTER_UNDERAGE:"Registracija je ispod dopuštenog limita.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Neuspješno autentificiranje korisnika zbog previše pokušaja.",GmErr_USER_ACCOUNT_BLOCKED:"Korisnički račun je blokiran.",GmErr_USER_NOT_VERIFIED:"Korisnik nije verificiran.",GmErr_USER_NOT_FOUND:"Korisnik s navedenim podacima nije pronađen.",GmErr_USER_ID_INVALID:"Navedeni ID korisnika je nevažeći.",GmErr_USER_AUTH_FAILED:"Neuspješno autentificiranje korisnika.",GmErr_USER_DUPLICATED:"Korisnik već postoji u sustavu.",GmErr_USER_NOT_ACTIVATED:"Korisnički račun nije aktiviran.",GmErr_PASSWORD_CONTAINS_EMAIL:"Lozinka ne smije sadržavati e-mail adresu.",GmErr_PASSWORD_CONTAINS_USERNAME:"Lozinka ne smije sadržavati korisničko ime.",GmErr_PASSWORD_CONTAINS_SPACES:"Lozinka ne smije sadržavati razmake.",GmErr_USER_4TS_CHECK_EXISTS:"4TS provjera korisnika već postoji.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Korisnik je isključen iz registracije.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Korisnik je isključen iz prijave.",GmErr_USERNAME_REQUIRED:"Korisničko ime je obavezno.",GmErr_USER_EMAIL_NOT_VERIFIED:"E-mail adresa korisnika nije verificirana.",GmErr_EMAIL_ALREADY_EXISTS:"Korisnik s istom e-mail adresom već postoji",GmErr_EMAIL_REQUIRED:"E-mail adresa je obavezna.",GmErr_USERNAME_ALREADY_EXISTS:"Korisničko ime je već zauzeto.",GmErr_DUPLICATE_PERSONAL_ID:"Pronađen je duplicirani osobni ID.",GmErr_INVALID_USER_DOCUMENT:"Dokument korisnika je nevažeći.",GmErr_INVALID_CODE:"Navedeni kod je nevažeći.",GmErr_EXPIRED_TOKEN:"Token je istekao.",GmErr_ATTEMPTS_EXCEEDED:"Prekoračen je maksimalni broj pokušaja.",GmErr_BLOCK_USER_INCORRECT_CODE:"Korisnik je blokiran zbog pogrešnog koda.",GmErr_TOKEN_NOT_FOUND:"Token nije pronađen.",GmErr_INVALID_PHONE_NUMBER:"Navedeni broj telefona je nevažeći.",GmErr_CODE_MISSING:"Nedostaje potrebni kod.",GmErr_UNREGISTERED_USER:"Korisnik nije registriran.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Prekoračen je broj pokušaja generiranja koda.",GmErr_UNEXPECTED_EXCEPTION:"Došlo je do neočekivane iznimke.",GmErr_INVALID_USER_ID:"Navedeni ID korisnika je nevažeći.",GmErr_NOT_ALLOWED_EXCEPTION:"Ova radnja nije dopuštena.",GmErr_CAN_NOT_FIND_ROLE:"Navedena uloga nije pronađena.",GmErr_NO_SESSION_PROVIDED:"Nema pružene sesije.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nema aktivne sesije za ovog korisnika.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Korisnik je već anonimiziran.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nema postavljene uloge za dodjeljivanje.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Pružena sesija ne pripada korisniku.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Pružena sesija ne postoji.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Uloga je već dodijeljena korisniku.",GmErr_ASSIGN_USER_ROLE_FAILED:"Neuspješno dodjeljivanje uloge korisniku.",GmErr_BadRequest_1000:"Došlo je do problema s OIB-om",CountryRestricted:"Nažalost, prijavljujete se iz zemlje iz koje ne možemo prihvatiti igru. Nismo u mogućnosti obraditi registraciju iz navedenog razloga.",nextButton:"Sljedeće",backButton:"Nazad",doneButton:"Gotovo",generalError:"Korisnik s ovim podacima već postoji.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"Korisnik s ovim informacijama već postoji.",GmErr_BadRequest_PasswordContainsUsername:"Lozinka ne može biti ista kao korisničko ime.",GmErr_BadRequest_PasswordContainsEmail:"Lozinka ne može biti ista kao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Već postoji registracija s podacima koje ste unijeli ili ste unijeli podatke u pogrešnom formatu.",GmErr_Forbidden_UserAccount_NavExcluded:"Korisnik je NAV isključen. Registracija je odbijena.",GmErr_BadRequest_ModelValidationFailed:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_BadInternalConfigs:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_Unauthorized:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_NotFound:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",BadRequest_Duplicate_User:"Korisnik s istim korisničkim imenom već postoji.",BadRequest:"Zahtjev je nevažeći, molimo provjerite API.",Unauthorized:"Broj računa igrača, e-mail adresa ili lozinka su netočni",Forbidden_TooManyAttempts:"Napravili ste previše nevažećih pokušaja prijave, vaš račun je blokiran, molimo pokušajte ponovno kasnije.",Forbidden_UserAccount_NotActive:"Čini se da još niste potvrdili svoju e-mail adresu. Da biste dovršili registraciju i pristupili svom računu, provjerite svoju e-mail poštu za poruku s potvrdom. Ako niste primili e-mail, provjerite i mapu neželjene pošte. Ako trebate pomoć, možete zatražiti pomoć putem korisničke službe.",GmErr_BadRequest_ExpiredToken:"Token koji koristite je istekao.",GmErr_BadRequest_INVALID_CODE:"Kod koji koristite je nevažeći.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Napravili ste previše pokušaja za validaciju koda.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Napravili ste previše pokušaja za generiranje koda.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Blokirani ste zbog nevažećeg koda.",GmErr_BadRequest_CODE_MISSING:"Token nedostaje za vaš zahtjev.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Token nije pronađen za vaš zahtjev.",GmErr_BadRequest_USER_NOT_REGISTERED:"Korisnik nije registriran. Molimo registrirajte se prvo.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Broj telefona koji koristite je nevažeći.",GmErr_BadRequest_INVALID_USER_ID:"Korisnički ID je nevažeći.",GmErr_UnexpectedException:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Korisnički dokument je nevažeći.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: Odgovor MoF-a potvrđuje da je igrač maloljetan ili nije stanovnik Hrvatske.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: MoF ne daje odgovor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: Interna greška."},"pt-br":{GmErr_AMOUNT_INVALID:"O valor especificado é inválido.",GmErr_REGISTER_OVERAGE:"A inscrição excedeu o limite permitido.",GmErr_REGISTER_UNDERAGE:"A inscrição está abaixo do limite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Falha na autenticação do usuário devido a muitas tentativas sem sucesso.",GmErr_USER_ACCOUNT_BLOCKED:"A conta do usuário está bloqueada.",GmErr_USER_NOT_VERIFIED:"O usuário não foi verificado.",GmErr_USER_NOT_FOUND:"Nenhum usuário encontrado com as informações fornecidas.",GmErr_USER_ID_INVALID:"O ID do usuário fornecido é inválido.",GmErr_USER_AUTH_FAILED:"Falha na autenticação do usuário.",GmErr_USER_DUPLICATED:"O usuário já existe no sistema.",GmErr_USER_NOT_ACTIVATED:"A conta do usuário não está ativada.",GmErr_PASSWORD_CONTAINS_EMAIL:"A senha não pode conter o endereço de e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"A senha não pode conter o nome de usuário.",GmErr_PASSWORD_CONTAINS_SPACES:"A senha não pode conter espaços.",GmErr_USER_4TS_CHECK_EXISTS:"A verificação 4TS do usuário já existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"O usuário está excluído da inscrição.",GmErr_USER_NAV_EXCLUDED_LOGIN:"O usuário está excluído do login.",GmErr_USERNAME_REQUIRED:"O nome de usuário é obrigatório.",GmErr_USER_EMAIL_NOT_VERIFIED:"O e-mail do usuário não foi verificado.",GmErr_EMAIL_ALREADY_EXISTS:"Usuário com o mesmo e-mail já existe",GmErr_EMAIL_REQUIRED:"Um endereço de e-mail é obrigatório.",GmErr_USERNAME_ALREADY_EXISTS:"O nome de usuário já está em uso.",GmErr_DUPLICATE_PERSONAL_ID:"ID pessoal duplicado encontrado.",GmErr_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_INVALID_CODE:"O código fornecido é inválido.",GmErr_EXPIRED_TOKEN:"O token expirou.",GmErr_ATTEMPTS_EXCEEDED:"O número máximo de tentativas foi excedido.",GmErr_BLOCK_USER_INCORRECT_CODE:"O usuário foi bloqueado devido a um código incorreto.",GmErr_TOKEN_NOT_FOUND:"O token não foi encontrado.",GmErr_INVALID_PHONE_NUMBER:"O número de telefone fornecido é inválido.",GmErr_CODE_MISSING:"O código necessário está faltando.",GmErr_UNREGISTERED_USER:"O usuário não está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"O número máximo de tentativas para gerar um código foi excedido.",GmErr_UNEXPECTED_EXCEPTION:"Ocorreu uma exceção inesperada.",GmErr_INVALID_USER_ID:"O ID do usuário fornecido é inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta ação não é permitida.",GmErr_CAN_NOT_FIND_ROLE:"Não foi possível encontrar a função especificada.",GmErr_NO_SESSION_PROVIDED:"Nenhuma sessão foi fornecida.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nenhuma sessão ativa encontrada para este usuário.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"O usuário já foi anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nenhuma função foi configurada para ser atribuída.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A sessão fornecida não pertence ao usuário.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A sessão fornecida não existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A função já foi atribuída ao usuário.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falha ao atribuir a função ao usuário.",GmErr_BadRequest_1000:"Houve um problema com o número de identificação pessoal",CountryRestricted:"Infelizmente, você está tentando se registrar a partir de um país onde não podemos aceitar jogos. Não podemos processar seu registro por esse motivo.",nextButton:"Seguindo",backButton:"Voltar",doneButton:"Terminar",generalError:"Alguma coisa deu errado. Por favor tente outra vez",successMessage:"Registro bem-sucedido",GmErr_BadRequest_Duplicate_User:"Um usuário com essas informações já existe.",GmErr_BadRequest_PasswordContainsUsername:"A senha não pode ser igual ao nome de usuário.",GmErr_BadRequest_PasswordContainsEmail:"A senha não pode ser igual ao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Já existe um registro com os dados que você inseriu ou você inseriu seus dados em um formato incorreto.",GmErr_Forbidden_UserAccount_NavExcluded:"Usuário está NAV Excluído. Registro foi negado.",GmErr_BadRequest_ModelValidationFailed:"Algo deu errado... Por favor, tente novamente.",GmErr_BadInternalConfigs:"Algo deu errado... Por favor, tente novamente.",GmErr_Unauthorized:"Algo deu errado... Por favor, tente novamente.",GmErr_NotFound:"Algo deu errado... Por favor, tente novamente.",BadRequest_Duplicate_User:"Usuário com o mesmo nome de usuário já existe.",BadRequest:"A solicitação é inválida, por favor, verifique a API.",Unauthorized:"O número da conta do jogador, endereço de e-mail ou senha estão incorretos",Forbidden_TooManyAttempts:"Você fez muitas tentativas de login inválidas, sua conta foi bloqueada, por favor, tente novamente mais tarde.",Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu registro e acessar sua conta, verifique sua caixa de entrada de 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 ajuda através do serviço de atendimento ao cliente.",GmErr_BadRequest_ExpiredToken:"O token que você está usando está expirado.",GmErr_BadRequest_INVALID_CODE:"O código que você está usando é inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Você fez muitas tentativas de validar seu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Você fez muitas tentativas de gerar seu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Você foi bloqueado devido a um código inválido.",GmErr_BadRequest_CODE_MISSING:"O token está faltando para sua solicitação.",GmErr_BadRequest_TOKEN_NOT_FOUND:"O token não foi encontrado para sua solicitação.",GmErr_BadRequest_USER_NOT_REGISTERED:"O usuário não está registrado. Por favor, registre-se primeiro.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"O número de telefone que você está usando é inválido.",GmErr_BadRequest_INVALID_USER_ID:"O ID do usuário é inválido.",GmErr_UnexpectedException:"Algo deu errado... Por favor, tente novamente.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: A resposta do MoF confirma que o jogador é menor de idade ou não é residente da Croácia.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: O MoF não retorna uma resposta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: Erro interno."},"es-mx":{GmErr_AMOUNT_INVALID:"El monto especificado es inválido.",GmErr_REGISTER_OVERAGE:"La inscripción ha excedido el límite permitido.",GmErr_REGISTER_UNDERAGE:"La inscripción está por debajo del límite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Autenticación de usuario fallida debido a demasiados intentos fallidos.",GmErr_USER_ACCOUNT_BLOCKED:"La cuenta del usuario está bloqueada.",GmErr_USER_NOT_VERIFIED:"El usuario no ha sido verificado.",GmErr_USER_NOT_FOUND:"No se encontró ningún usuario con la información proporcionada.",GmErr_USER_ID_INVALID:"El ID de usuario proporcionado es inválido.",GmErr_USER_AUTH_FAILED:"La autenticación del usuario falló.",GmErr_USER_DUPLICATED:"El usuario ya existe en el sistema.",GmErr_USER_NOT_ACTIVATED:"La cuenta del usuario no está activada.",GmErr_PASSWORD_CONTAINS_EMAIL:"La contraseña no puede contener la dirección de correo electrónico.",GmErr_PASSWORD_CONTAINS_USERNAME:"La contraseña no puede contener el nombre de usuario.",GmErr_PASSWORD_CONTAINS_SPACES:"La contraseña no puede contener espacios.",GmErr_USER_4TS_CHECK_EXISTS:"La verificación 4TS del usuario ya existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"El usuario está excluido del registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"El usuario está excluido del inicio de sesión.",GmErr_USERNAME_REQUIRED:"Se requiere un nombre de usuario.",GmErr_USER_EMAIL_NOT_VERIFIED:"La dirección de correo electrónico del usuario no ha sido verificada.",GmErr_EMAIL_ALREADY_EXISTS:"Ya existe un usuario con el mismo correo electrónico",GmErr_EMAIL_REQUIRED:"Se requiere una dirección de correo electrónico.",GmErr_USERNAME_ALREADY_EXISTS:"El nombre de usuario ya está en uso.",GmErr_DUPLICATE_PERSONAL_ID:"Se encontró un ID personal duplicado.",GmErr_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_INVALID_CODE:"El código proporcionado es inválido.",GmErr_EXPIRED_TOKEN:"El token ha expirado.",GmErr_ATTEMPTS_EXCEEDED:"Se ha excedido el número máximo de intentos.",GmErr_BLOCK_USER_INCORRECT_CODE:"El usuario ha sido bloqueado debido a un código incorrecto.",GmErr_TOKEN_NOT_FOUND:"No se encontró el token.",GmErr_INVALID_PHONE_NUMBER:"El número de teléfono proporcionado es inválido.",GmErr_CODE_MISSING:"Falta el código necesario.",GmErr_UNREGISTERED_USER:"El usuario no está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Se ha excedido el número máximo de intentos para generar un código.",GmErr_UNEXPECTED_EXCEPTION:"Ocurrió una excepción inesperada.",GmErr_INVALID_USER_ID:"El ID de usuario proporcionado es inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta acción no está permitida.",GmErr_CAN_NOT_FIND_ROLE:"No se pudo encontrar el rol especificado.",GmErr_NO_SESSION_PROVIDED:"No se proporcionó ninguna sesión.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No se encontró ninguna sesión activa para este usuario.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"El usuario ya ha sido anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No se ha configurado ningún rol para ser asignado.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La sesión proporcionada no pertenece al usuario.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La sesión proporcionada no existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"El rol ya ha sido asignado al usuario.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falló la asignación del rol al usuario.",GmErr_BadRequest_1000:"Hubo un problema con el número de identificación personal",CountryRestricted:"Desafortunadamente, estás intentando registrarte desde un país donde no podemos aceptar juegos. No podemos procesar tu registro por esta razón.",nextButton:"Siguiente",backButton:"Atrás",doneButton:"Terminar",generalError:"Algo salió mal... Por favor intente de nuevo",successMessage:"Registro exitoso",GmErr_BadRequest_Duplicate_User:"Ya existe un usuario con esta información.",GmErr_BadRequest_PasswordContainsUsername:"La contraseña no puede ser la misma que el nombre de usuario.",GmErr_BadRequest_PasswordContainsEmail:"La contraseña no puede ser la misma que el correo electrónico.",GmErr_BadRequest_Duplicate_PersonalId:"Ya existe un registro con los datos que ingresaste o ingresaste tus datos en un formato incorrecto.",GmErr_Forbidden_UserAccount_NavExcluded:"El usuario está excluido de NAV. El registro fue denegado.",GmErr_BadRequest_ModelValidationFailed:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_BadInternalConfigs:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_Unauthorized:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_NotFound:"Algo salió mal... Por favor, inténtalo de nuevo.",BadRequest_Duplicate_User:"Ya existe un usuario con el mismo nombre de usuario.",BadRequest:"La solicitud es inválida, por favor verifica la API.",Unauthorized:"El número de cuenta del jugador, la dirección de correo electrónico o la contraseña son incorrectos",Forbidden_TooManyAttempts:"Has realizado demasiados intentos de inicio de sesión inválidos, tu cuenta ha sido bloqueada, por favor inténtalo de nuevo más tarde.",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, verifica tu bandeja de entrada de correo electrónico para un mensaje de confirmación. Si no has recibido el correo electrónico, verifica también tu carpeta de spam. Si necesitas ayuda, puedes solicitar ayuda a través del servicio de atención al cliente.",GmErr_BadRequest_ExpiredToken:"El token que estás utilizando ha expirado.",GmErr_BadRequest_INVALID_CODE:"El código que estás utilizando es inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Has realizado demasiados intentos de validar tu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Has realizado demasiados intentos de generar tu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Has sido bloqueado debido a un código inválido.",GmErr_BadRequest_CODE_MISSING:"Falta el token para tu solicitud.",GmErr_BadRequest_TOKEN_NOT_FOUND:"No se encontró el token para tu solicitud.",GmErr_BadRequest_USER_NOT_REGISTERED:"El usuario no está registrado. Por favor, regístrate primero.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"El número de teléfono que estás utilizando es inválido.",GmErr_BadRequest_INVALID_USER_ID:"El ID de usuario es inválido.",GmErr_UnexpectedException:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: La respuesta del MoF confirma que el jugador es menor de edad o no es residente croata.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: El MoF no devuelve una respuesta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: Error interno."},tr:{GmErr_AMOUNT_INVALID:"Belirtilen miktar geçersiz.",GmErr_REGISTER_OVERAGE:"Kayıt izin verilen sınırı aştı.",GmErr_REGISTER_UNDERAGE:"Kayıt izin verilen sınırın altında.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Çok fazla başarısız deneme nedeniyle kullanıcı kimlik doğrulaması başarısız oldu.",GmErr_USER_ACCOUNT_BLOCKED:"Kullanıcı hesabı engellendi.",GmErr_USER_NOT_VERIFIED:"Kullanıcı doğrulanmadı.",GmErr_USER_NOT_FOUND:"Sağlanan bilgilerle kullanıcı bulunamadı.",GmErr_USER_ID_INVALID:"Sağlanan kullanıcı kimliği geçersiz.",GmErr_USER_AUTH_FAILED:"Kullanıcı kimlik doğrulaması başarısız oldu.",GmErr_USER_DUPLICATED:"Kullanıcı sistemde zaten mevcut.",GmErr_USER_NOT_ACTIVATED:"Kullanıcı hesabı etkinleştirilmedi.",GmErr_PASSWORD_CONTAINS_EMAIL:"Parola e-posta adresini içeremez.",GmErr_PASSWORD_CONTAINS_USERNAME:"Parola kullanıcı adını içeremez.",GmErr_PASSWORD_CONTAINS_SPACES:"Parola boşluk içeremez.",GmErr_USER_4TS_CHECK_EXISTS:"Kullanıcı 4TS kontrolü zaten mevcut.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Kullanıcı kayıttan hariç tutuldu.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Kullanıcı girişten hariç tutuldu.",GmErr_USERNAME_REQUIRED:"Bir kullanıcı adı gereklidir.",GmErr_USER_EMAIL_NOT_VERIFIED:"Kullanıcının e-posta adresi doğrulanmadı.",GmErr_EMAIL_ALREADY_EXISTS:"Aynı e-posta ile kullanıcı zaten mevcut.",GmErr_EMAIL_REQUIRED:"Bir e-posta adresi gereklidir.",GmErr_USERNAME_ALREADY_EXISTS:"Kullanıcı adı zaten alınmış.",GmErr_DUPLICATE_PERSONAL_ID:"Çift kişisel kimlik bulundu.",GmErr_INVALID_USER_DOCUMENT:"Kullanıcı belgesi geçersiz.",GmErr_INVALID_CODE:"Sağlanan kod geçersiz.",GmErr_EXPIRED_TOKEN:"Token süresi dolmuş.",GmErr_ATTEMPTS_EXCEEDED:"Maksimum deneme sayısı aşıldı.",GmErr_BLOCK_USER_INCORRECT_CODE:"Yanlış kod nedeniyle kullanıcı engellendi.",GmErr_TOKEN_NOT_FOUND:"Token bulunamadı.",GmErr_INVALID_PHONE_NUMBER:"Sağlanan telefon numarası geçersiz.",GmErr_CODE_MISSING:"Kod eksik.",GmErr_UNREGISTERED_USER:"Kullanıcı kayıtlı değil.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Kod oluşturma denemeleri maksimuma ulaştı.",GmErr_UNEXPECTED_EXCEPTION:"Beklenmeyen bir istisna oluştu.",GmErr_INVALID_USER_ID:"Sağlanan kullanıcı kimliği geçersiz.",GmErr_NOT_ALLOWED_EXCEPTION:"Bu işlem izin verilmiyor.",GmErr_CAN_NOT_FIND_ROLE:"Belirtilen rol bulunamıyor.",GmErr_NO_SESSION_PROVIDED:"Oturum sağlanmadı.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Bu kullanıcı için aktif oturum bulunamadı.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Kullanıcı zaten anonimleştirilmiş.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Atanacak bir rol ayarlanmadı.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Sağlanan oturum kullanıcıya ait değil.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Sağlanan oturum mevcut değil.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Rol zaten kullanıcıya atanmış.",GmErr_ASSIGN_USER_ROLE_FAILED:"Kullanıcıya rol atama başarısız oldu.",GmErr_BadRequest_1000:"Kişisel kimlik numarası ile ilgili bir sorun var.",CountryRestricted:"Maalesef, oyun oynayamayacağımız bir ülkeden kayıt yapmaya çalışıyorsunuz. Bu nedenle kaydınızı işleyemiyoruz.",nextButton:"İleri",backButton:"Geri",doneButton:"Tamam",generalError:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",successMessage:"Kayıt başarılı",GmErr_BadRequest_Duplicate_User:"Bu bilgilerle bir kullanıcı zaten mevcut.",GmErr_BadRequest_PasswordContainsUsername:"Parola kullanıcı adı ile aynı olamaz.",GmErr_BadRequest_PasswordContainsEmail:"Parola e-posta ile aynı olamaz.",GmErr_BadRequest_Duplicate_PersonalId:"Girdiğiniz verilerle zaten bir kayıt var veya verilerinizi yanlış formatta girdiniz.",GmErr_Forbidden_UserAccount_NavExcluded:"Kullanıcı NAV hariç tutuldu. Kayıt reddedildi.",GmErr_BadRequest_ModelValidationFailed:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_BadInternalConfigs:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_Unauthorized:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_NotFound:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",BadRequest_Duplicate_User:"Aynı kullanıcı adı ile kullanıcı zaten mevcut.",BadRequest:"İstek geçersiz, lütfen API'yi kontrol edin.",Unauthorized:"Oyuncu hesap numarası, e-posta adresi veya parola yanlış",Forbidden_TooManyAttempts:"Çok fazla geçersiz giriş denemesi yaptınız, hesabınız bloke edildi, lütfen daha sonra tekrar deneyin.",Forbidden_UserAccount_NotActive:"E-posta adresinizi henüz doğrulamadığınız görünüyor. Kaydınızı tamamlamak ve hesabınıza erişmek için e-posta gelen kutunuzu bir onay mesajı için kontrol edin. E-postayı almadıysanız, spam klasörünüzü de kontrol edin. Yardıma ihtiyacınız varsa, müşteri hizmetleri aracılığıyla yardım isteyebilirsiniz.",GmErr_BadRequest_ExpiredToken:"Kullandığınız token süresi dolmuş.",GmErr_BadRequest_INVALID_CODE:"Kullandığınız kod geçersiz.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Kodunuzu doğrulamak için çok fazla deneme yaptınız.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Kodunuzu oluşturmak için çok fazla deneme yaptınız.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Geçersiz kod nedeniyle engellendiniz.",GmErr_BadRequest_CODE_MISSING:"İsteğiniz için token eksik.",GmErr_BadRequest_TOKEN_NOT_FOUND:"İsteğiniz için token bulunamadı.",GmErr_BadRequest_USER_NOT_REGISTERED:"Kullanıcı kayıtlı değil. Lütfen önce kayıt olun.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Kullandığınız telefon numarası geçersiz.",GmErr_BadRequest_INVALID_USER_ID:"Kullanıcı kimliği geçersiz.",GmErr_UnexpectedException:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Kullanıcı belgesi geçersiz.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: MoF yanıtı, oyuncunun reşit olmadığını veya Hırvatistan sakini olmadığını doğruluyor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: MoF yanıt vermiyor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: İç hata."},"en-us":{GmErr_AMOUNT_INVALID:"The specified amount is invalid.",GmErr_REGISTER_OVERAGE:"The registration has exceeded the allowable limit.",GmErr_REGISTER_UNDERAGE:"The registration is under the allowable limit.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"User authentication failed due to too many unsuccessful attempts.",GmErr_USER_ACCOUNT_BLOCKED:"The user account is blocked.",GmErr_USER_NOT_VERIFIED:"The user has not been verified.",GmErr_USER_NOT_FOUND:"No user found with the provided information.",GmErr_USER_ID_INVALID:"The user ID provided is invalid.",GmErr_USER_AUTH_FAILED:"User authentication failed.",GmErr_USER_DUPLICATED:"The user already exists in the system.",GmErr_USER_NOT_ACTIVATED:"The user account has not been activated.",GmErr_PASSWORD_CONTAINS_EMAIL:"The password cannot contain the email address.",GmErr_PASSWORD_CONTAINS_USERNAME:"The password cannot contain the username.",GmErr_PASSWORD_CONTAINS_SPACES:"The password cannot contain spaces.",GmErr_USER_4TS_CHECK_EXISTS:"The user 4TS check already exists.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"The user is excluded from registration.",GmErr_USER_NAV_EXCLUDED_LOGIN:"The user is excluded from login.",GmErr_USERNAME_REQUIRED:"A username is required.",GmErr_USER_EMAIL_NOT_VERIFIED:"The user's email address has not been verified.",GmErr_EMAIL_ALREADY_EXISTS:"User with same email already exists",GmErr_EMAIL_REQUIRED:"An email address is required.",GmErr_USERNAME_ALREADY_EXISTS:"The username is already taken.",GmErr_DUPLICATE_PERSONAL_ID:"Duplicate personal ID found.",GmErr_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_INVALID_CODE:"The code provided is invalid.",GmErr_EXPIRED_TOKEN:"The token has expired.",GmErr_ATTEMPTS_EXCEEDED:"The maximum number of attempts has been exceeded.",GmErr_BLOCK_USER_INCORRECT_CODE:"The user has been blocked due to an incorrect code.",GmErr_TOKEN_NOT_FOUND:"The token was not found.",GmErr_INVALID_PHONE_NUMBER:"The phone number provided is invalid.",GmErr_CODE_MISSING:"The code is missing.",GmErr_UNREGISTERED_USER:"The user is not registered.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Maximum attempts to generate a code have been exceeded.",GmErr_UNEXPECTED_EXCEPTION:"An unexpected exception occurred.",GmErr_INVALID_USER_ID:"The user ID provided is invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"This action is not allowed.",GmErr_CAN_NOT_FIND_ROLE:"Unable to find the specified role.",GmErr_NO_SESSION_PROVIDED:"No session was provided.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No active session found for this user.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"The user has already been anonymized.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No role has been set up to be assigned.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"The provided session does not belong to the user.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"The provided session does not exist.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"The role has already been assigned to the user.",GmErr_ASSIGN_USER_ROLE_FAILED:"Failed to assign a role to the user.",GmErr_BadRequest_1000:"There was a problem with the personal identification number",CountryRestricted:"Unfortunately, you are attempting to register from a country where we cannot accept gameplay. We are unable to process your registration for this reason.",nextButton:"Next",backButton:"Back",doneButton:"Done",generalError:"Something went wrong... Please try again.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"A user with this information already exists.",GmErr_BadRequest_PasswordContainsUsername:"The password cannot be the same as the username.",GmErr_BadRequest_PasswordContainsEmail:"The password cannot be the same as the email.",GmErr_BadRequest_Duplicate_PersonalId:"There is already a registration with the data you entered or you entered your data in an incorrect format.",GmErr_Forbidden_UserAccount_NavExcluded:"User is NAV Excluded. Registration was denied.",GmErr_BadRequest_ModelValidationFailed:"Something went wrong... Please try again.",GmErr_BadInternalConfigs:"Something went wrong... Please try again.",GmErr_Unauthorized:"Something went wrong... Please try again.",GmErr_NotFound:"Something went wrong... Please try again.",BadRequest_Duplicate_User:"User with same username already exists.",BadRequest:"The request is invalid, please check the API.",Unauthorized:"The player account number, e-mail address or password is incorrect",Forbidden_TooManyAttempts:"You have made too many invalid login attempts, your account has been blocked, please try again later.",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.",GmErr_BadRequest_ExpiredToken:"The token you are using is expired.",GmErr_BadRequest_INVALID_CODE:"The code you are using is invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"You have made too many attempts to validate your code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"You have made too many attempts to generate your code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"You have been blocked due to an invalid code.",GmErr_BadRequest_CODE_MISSING:"The token is missing for your request.",GmErr_BadRequest_TOKEN_NOT_FOUND:"The token is not found for your request.",GmErr_BadRequest_USER_NOT_REGISTERED:"The user is not registered. Please register first.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"The phone number you are using is invalid.",GmErr_BadRequest_INVALID_USER_ID:"The user ID is invalid.",GmErr_UnexpectedException:"Something went wrong... Please try again.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF response confirms player IS underaged or IS NOT a Croatian resident.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF fails to return a response.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: Internal error."},ro:{GmErr_AMOUNT_INVALID:"Suma specificată este invalidă.",GmErr_REGISTER_OVERAGE:"Înregistrarea a depășit limita permisă.",GmErr_REGISTER_UNDERAGE:"Înregistrarea este sub limita permisă.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Autentificarea utilizatorului a eșuat din cauza prea multor încercări nereușite.",GmErr_USER_ACCOUNT_BLOCKED:"Contul utilizatorului este blocat.",GmErr_USER_NOT_VERIFIED:"Utilizatorul nu a fost verificat.",GmErr_USER_NOT_FOUND:"Nu s-a găsit niciun utilizator cu informațiile furnizate.",GmErr_USER_ID_INVALID:"ID-ul utilizatorului furnizat este invalid.",GmErr_USER_AUTH_FAILED:"Autentificarea utilizatorului a eșuat.",GmErr_USER_DUPLICATED:"Utilizatorul există deja în sistem.",GmErr_USER_NOT_ACTIVATED:"Contul utilizatorului nu a fost activat.",GmErr_PASSWORD_CONTAINS_EMAIL:"Parola nu poate conține adresa de email.",GmErr_PASSWORD_CONTAINS_USERNAME:"Parola nu poate conține numele de utilizator.",GmErr_PASSWORD_CONTAINS_SPACES:"Parola nu poate conține spații.",GmErr_USER_4TS_CHECK_EXISTS:"Verificarea utilizatorului 4TS există deja.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Utilizatorul este exclus de la înregistrare.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Utilizatorul este exclus de la autentificare.",GmErr_USERNAME_REQUIRED:"Este necesar un nume de utilizator.",GmErr_USER_EMAIL_NOT_VERIFIED:"Adresa de email a utilizatorului nu a fost verificată.",GmErr_EMAIL_ALREADY_EXISTS:"Un utilizator cu același email există deja.",GmErr_EMAIL_REQUIRED:"Este necesară o adresă de email.",GmErr_USERNAME_ALREADY_EXISTS:"Numele de utilizator este deja utilizat.",GmErr_DUPLICATE_PERSONAL_ID:"S-a găsit un ID personal duplicat.",GmErr_INVALID_USER_DOCUMENT:"Documentul utilizatorului este invalid.",GmErr_INVALID_CODE:"Codul furnizat este invalid.",GmErr_EXPIRED_TOKEN:"Token-ul a expirat.",GmErr_ATTEMPTS_EXCEEDED:"Numărul maxim de încercări a fost depășit.",GmErr_BLOCK_USER_INCORRECT_CODE:"Utilizatorul a fost blocat din cauza unui cod incorect.",GmErr_TOKEN_NOT_FOUND:"Token-ul nu a fost găsit.",GmErr_INVALID_PHONE_NUMBER:"Numărul de telefon furnizat este invalid.",GmErr_CODE_MISSING:"Lipsește codul.",GmErr_UNREGISTERED_USER:"Utilizatorul nu este înregistrat.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"S-a depășit numărul maxim de încercări pentru generarea unui cod.",GmErr_UNEXPECTED_EXCEPTION:"A apărut o eroare neașteptată.",GmErr_INVALID_USER_ID:"ID-ul utilizatorului furnizat este invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"Acțiunea nu este permisă.",GmErr_CAN_NOT_FIND_ROLE:"Nu s-a găsit rolul specificat.",GmErr_NO_SESSION_PROVIDED:"Nu a fost furnizată nicio sesiune.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nu a fost găsită nicio sesiune activă pentru acest utilizator.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Utilizatorul a fost deja anonimizat.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nu a fost configurat niciun rol de atribuit.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Sesiunea furnizată nu aparține utilizatorului.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Sesiunea furnizată nu există.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Rolul a fost deja atribuit utilizatorului.",GmErr_ASSIGN_USER_ROLE_FAILED:"Atribuirea rolului utilizatorului a eșuat.",GmErr_BadRequest_1000:"A apărut o problemă cu numărul de identificare personal.",CountryRestricted:"Din păcate, încercați să vă înregistrați dintr-o țară unde nu putem accepta jocuri. Din acest motiv, nu vă putem procesa înregistrarea.",nextButton:"Următorul",backButton:"Înapoi",doneButton:"Finalizat",generalError:"Ceva a mers prost... Vă rugăm să încercați din nou.",successMessage:"Înregistrare reușită",GmErr_BadRequest_Duplicate_User:"Un utilizator cu aceste informații există deja.",GmErr_BadRequest_PasswordContainsUsername:"Parola nu poate fi aceeași cu numele de utilizator.",GmErr_BadRequest_PasswordContainsEmail:"Parola nu poate fi aceeași cu e-mailul.",GmErr_BadRequest_Duplicate_PersonalId:"Există deja o înregistrare cu datele pe care le-ați introdus sau ați introdus datele într-un format incorect.",GmErr_Forbidden_UserAccount_NavExcluded:"Utilizatorul este exclus NAV. Înregistrarea a fost refuzată.",GmErr_BadRequest_ModelValidationFailed:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_BadInternalConfigs:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_Unauthorized:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_NotFound:"Ceva a mers prost... Vă rugăm să încercați din nou.",BadRequest_Duplicate_User:"Există deja un utilizator cu același nume de utilizator.",BadRequest:"Cererea este invalidă, vă rugăm să verificați API-ul.",Unauthorized:"Numărul contului jucătorului, adresa de e-mail sau parola sunt incorecte",Forbidden_TooManyAttempts:"Ați făcut prea multe încercări de conectare invalide, contul dvs. a fost blocat, vă rugăm să încercați din nou mai târziu.",Forbidden_UserAccount_NotActive:"Se pare că nu v-ați confirmat încă adresa de e-mail. Pentru a finaliza înregistrarea și a accesa contul dvs., verificați căsuța de e-mail pentru un mesaj de confirmare. Dacă nu ați primit e-mailul, verificați și folderul de spam. Dacă aveți nevoie de asistență, puteți solicita ajutor prin serviciul de asistență pentru clienți.",GmErr_BadRequest_ExpiredToken:"Tokenul pe care îl utilizați este expirat.",GmErr_BadRequest_INVALID_CODE:"Codul pe care îl utilizați este invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Ați făcut prea multe încercări de validare a codului.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Ați făcut prea multe încercări de generare a codului.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Ați fost blocat din cauza unui cod invalid.",GmErr_BadRequest_CODE_MISSING:"Tokenul lipsește pentru solicitarea dvs.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Tokenul nu a fost găsit pentru solicitarea dvs.",GmErr_BadRequest_USER_NOT_REGISTERED:"Utilizatorul nu este înregistrat. Vă rugăm să vă înregistrați mai întâi.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Numărul de telefon pe care îl utilizați este invalid.",GmErr_BadRequest_INVALID_USER_ID:"ID-ul utilizatorului este invalid.",GmErr_UnexpectedException:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Documentul utilizatorului este invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: Răspunsul MoF confirmă că jucătorul este minor sau nu este rezident croat.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: MoF nu returnează un răspuns.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: Eroare internă."},fr:{GmErr_AMOUNT_INVALID:"Le montant spécifié est invalide.",GmErr_REGISTER_OVERAGE:"L'inscription a dépassé la limite autorisée.",GmErr_REGISTER_UNDERAGE:"L'inscription est en dessous de la limite autorisée.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Échec de l'authentification utilisateur en raison de trop nombreuses tentatives infructueuses.",GmErr_USER_ACCOUNT_BLOCKED:"Le compte utilisateur est bloqué.",GmErr_USER_NOT_VERIFIED:"L'utilisateur n'a pas été vérifié.",GmErr_USER_NOT_FOUND:"Aucun utilisateur trouvé avec les informations fournies.",GmErr_USER_ID_INVALID:"L'identifiant utilisateur fourni est invalide.",GmErr_USER_AUTH_FAILED:"Échec de l'authentification utilisateur.",GmErr_USER_DUPLICATED:"L'utilisateur existe déjà dans le système.",GmErr_USER_NOT_ACTIVATED:"Le compte utilisateur n'a pas été activé.",GmErr_PASSWORD_CONTAINS_EMAIL:"Le mot de passe ne peut pas contenir l'adresse e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"Le mot de passe ne peut pas contenir le nom d'utilisateur.",GmErr_PASSWORD_CONTAINS_SPACES:"Le mot de passe ne peut pas contenir d'espaces.",GmErr_USER_4TS_CHECK_EXISTS:"La vérification utilisateur 4TS existe déjà.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"L'utilisateur est exclu de l'enregistrement.",GmErr_USER_NAV_EXCLUDED_LOGIN:"L'utilisateur est exclu de la connexion.",GmErr_USERNAME_REQUIRED:"Un nom d'utilisateur est requis.",GmErr_USER_EMAIL_NOT_VERIFIED:"L'adresse e-mail de l'utilisateur n'a pas été vérifiée.",GmErr_EMAIL_ALREADY_EXISTS:"Un utilisateur avec la même adresse e-mail existe déjà.",GmErr_EMAIL_REQUIRED:"Une adresse e-mail est requise.",GmErr_USERNAME_ALREADY_EXISTS:"Le nom d'utilisateur est déjà pris.",GmErr_DUPLICATE_PERSONAL_ID:"Un identifiant personnel dupliqué a été trouvé.",GmErr_INVALID_USER_DOCUMENT:"Le document utilisateur est invalide.",GmErr_INVALID_CODE:"Le code fourni est invalide.",GmErr_EXPIRED_TOKEN:"Le jeton a expiré.",GmErr_ATTEMPTS_EXCEEDED:"Le nombre maximum de tentatives a été dépassé.",GmErr_BLOCK_USER_INCORRECT_CODE:"L'utilisateur a été bloqué en raison d'un code incorrect.",GmErr_TOKEN_NOT_FOUND:"Le jeton n'a pas été trouvé.",GmErr_INVALID_PHONE_NUMBER:"Le numéro de téléphone fourni est invalide.",GmErr_CODE_MISSING:"Le code est manquant.",GmErr_UNREGISTERED_USER:"L'utilisateur n'est pas enregistré.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Le nombre maximum de tentatives pour générer un code a été dépassé.",GmErr_UNEXPECTED_EXCEPTION:"Une exception inattendue s'est produite.",GmErr_INVALID_USER_ID:"L'identifiant utilisateur fourni est invalide.",GmErr_NOT_ALLOWED_EXCEPTION:"Cette action n'est pas autorisée.",GmErr_CAN_NOT_FIND_ROLE:"Impossible de trouver le rôle spécifié.",GmErr_NO_SESSION_PROVIDED:"Aucune session n'a été fournie.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Aucune session active n'a été trouvée pour cet utilisateur.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"L'utilisateur a déjà été anonymisé.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Aucun rôle n'a été configuré pour être attribué.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La session fournie n'appartient pas à l'utilisateur.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La session fournie n'existe pas.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Le rôle a déjà été attribué à l'utilisateur.",GmErr_ASSIGN_USER_ROLE_FAILED:"Échec de l'attribution d'un rôle à l'utilisateur.",GmErr_BadRequest_1000:"Un problème est survenu avec le numéro d'identification personnel.",CountryRestricted:"Malheureusement, vous essayez de vous inscrire depuis un pays où nous ne pouvons pas accepter les jeux. Nous ne pouvons pas traiter votre inscription pour cette raison.",nextButton:"Suivant",backButton:"Retour",GmErr_BadRequest_Duplicate_User:"Un utilisateur avec ces informations existe déjà.",GmErr_BadRequest_PasswordContainsUsername:"Le mot de passe ne peut pas être le même que le nom d'utilisateur.",GmErr_BadRequest_PasswordContainsEmail:"Le mot de passe ne peut pas être le même que l'e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Il existe déjà une inscription avec les données que vous avez saisies ou vous avez saisi vos données dans un format incorrect.",GmErr_Forbidden_UserAccount_NavExcluded:"L'utilisateur est exclu NAV. L'inscription a été refusée.",GmErr_BadRequest_ModelValidationFailed:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_BadInternalConfigs:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_Unauthorized:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_NotFound:"Quelque chose a mal tourné... Veuillez réessayer.",BadRequest_Duplicate_User:"Un utilisateur avec le même nom d'utilisateur existe déjà.",BadRequest:"La demande est invalide, veuillez vérifier l'API.",Unauthorized:"Le numéro de compte du joueur, l'adresse e-mail ou le mot de passe est incorrect",Forbidden_TooManyAttempts:"Vous avez fait trop de tentatives de connexion invalides, votre compte a été bloqué, veuillez réessayer plus tard.",Forbidden_UserAccount_NotActive:"Il semble que vous n'avez pas encore confirmé votre adresse e-mail. Pour compléter 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 de spam. Si vous avez besoin d'aide, vous pouvez demander de l'aide via le service client.",GmErr_BadRequest_ExpiredToken:"Le jeton que vous utilisez est expiré.",GmErr_BadRequest_INVALID_CODE:"Le code que vous utilisez est invalide.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Vous avez fait trop de tentatives pour valider votre code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Vous avez fait trop de tentatives pour générer votre code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Vous avez été bloqué en raison d'un code invalide.",GmErr_BadRequest_CODE_MISSING:"Le jeton est manquant pour votre demande.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Le jeton n'a pas été trouvé pour votre demande.",GmErr_BadRequest_USER_NOT_REGISTERED:"L'utilisateur n'est pas enregistré. Veuillez vous inscrire d'abord.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Le numéro de téléphone que vous utilisez est invalide.",GmErr_BadRequest_INVALID_USER_ID:"L'ID utilisateur est invalide.",GmErr_UnexpectedException:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Le document utilisateur est invalide.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : La réponse du MoF confirme que le joueur est mineur ou n'est pas résident croate.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : Le MoF ne renvoie pas de réponse.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : Erreur interne."},es:{GmErr_AMOUNT_INVALID:"El monto especificado no es válido.",GmErr_REGISTER_OVERAGE:"El registro ha excedido el límite permitido.",GmErr_REGISTER_UNDERAGE:"El registro está por debajo del límite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"La autenticación del usuario falló debido a demasiados intentos fallidos.",GmErr_USER_ACCOUNT_BLOCKED:"La cuenta del usuario está bloqueada.",GmErr_USER_NOT_VERIFIED:"El usuario no ha sido verificado.",GmErr_USER_NOT_FOUND:"No se encontró un usuario con la información proporcionada.",GmErr_USER_ID_INVALID:"El ID de usuario proporcionado no es válido.",GmErr_USER_AUTH_FAILED:"La autenticación del usuario falló.",GmErr_USER_DUPLICATED:"El usuario ya existe en el sistema.",GmErr_USER_NOT_ACTIVATED:"La cuenta del usuario no ha sido activada.",GmErr_PASSWORD_CONTAINS_EMAIL:"La contraseña no puede contener la dirección de correo electrónico.",GmErr_PASSWORD_CONTAINS_USERNAME:"La contraseña no puede contener el nombre de usuario.",GmErr_PASSWORD_CONTAINS_SPACES:"La contraseña no puede contener espacios.",GmErr_USER_4TS_CHECK_EXISTS:"La verificación del usuario 4TS ya existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"El usuario está excluido del registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"El usuario está excluido del inicio de sesión.",GmErr_USERNAME_REQUIRED:"Se requiere un nombre de usuario.",GmErr_USER_EMAIL_NOT_VERIFIED:"La dirección de correo electrónico del usuario no ha sido verificada.",GmErr_EMAIL_ALREADY_EXISTS:"Un usuario con el mismo correo electrónico ya existe.",GmErr_EMAIL_REQUIRED:"Se requiere una dirección de correo electrónico.",GmErr_USERNAME_ALREADY_EXISTS:"El nombre de usuario ya está en uso.",GmErr_DUPLICATE_PERSONAL_ID:"Se encontró un ID personal duplicado.",GmErr_INVALID_USER_DOCUMENT:"El documento del usuario no es válido.",GmErr_INVALID_CODE:"El código proporcionado no es válido.",GmErr_EXPIRED_TOKEN:"El token ha expirado.",GmErr_ATTEMPTS_EXCEEDED:"Se ha superado el número máximo de intentos.",GmErr_BLOCK_USER_INCORRECT_CODE:"El usuario ha sido bloqueado debido a un código incorrecto.",GmErr_TOKEN_NOT_FOUND:"No se encontró el token.",GmErr_INVALID_PHONE_NUMBER:"El número de teléfono proporcionado no es válido.",GmErr_CODE_MISSING:"Falta el código.",GmErr_UNREGISTERED_USER:"El usuario no está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Se ha superado el número máximo de intentos para generar un código.",GmErr_UNEXPECTED_EXCEPTION:"Ocurrió una excepción inesperada.",GmErr_INVALID_USER_ID:"El ID de usuario proporcionado no es válido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta acción no está permitida.",GmErr_CAN_NOT_FIND_ROLE:"No se pudo encontrar el rol especificado.",GmErr_NO_SESSION_PROVIDED:"No se proporcionó ninguna sesión.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No se encontró ninguna sesión activa para este usuario.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"El usuario ya ha sido anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No se ha configurado ningún rol para asignar.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La sesión proporcionada no pertenece al usuario.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La sesión proporcionada no existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"El rol ya ha sido asignado al usuario.",GmErr_ASSIGN_USER_ROLE_FAILED:"No se pudo asignar un rol al usuario.",GmErr_BadRequest_1000:"Hubo un problema con el número de identificación personal.",CountryRestricted:"Lamentablemente, estás intentando registrarte desde un país donde no podemos aceptar el juego. No podemos procesar tu registro por esta razón.",nextButton:"Siguiente",backButton:"Atrás",doneButton:"Hecho",generalError:"Algo salió mal... Por favor, inténtalo de nuevo.",successMessage:"Registro exitoso",GmErr_BadRequest_Duplicate_User:"Ya existe un usuario con esta información.",GmErr_BadRequest_PasswordContainsUsername:"La contraseña no puede ser la misma que el nombre de usuario.",GmErr_BadRequest_PasswordContainsEmail:"La contraseña no puede ser la misma que el correo electrónico.",GmErr_BadRequest_Duplicate_PersonalId:"Ya existe un registro con los datos que ingresó o ingresó sus datos en un formato incorrecto.",GmErr_Forbidden_UserAccount_NavExcluded:"El usuario está excluido de NAV. El registro fue denegado.",GmErr_BadRequest_ModelValidationFailed:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_BadInternalConfigs:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_Unauthorized:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_NotFound:"Algo salió mal... Por favor, inténtelo de nuevo.",BadRequest_Duplicate_User:"Ya existe un usuario con el mismo nombre de usuario.",BadRequest:"La solicitud es inválida, por favor verifique la API.",Unauthorized:"El número de cuenta del jugador, la dirección de correo electrónico o la contraseña son incorrectos",Forbidden_TooManyAttempts:"Ha realizado demasiados intentos de inicio de sesión inválidos, su cuenta ha sido bloqueada, por favor intente de nuevo más tarde.",Forbidden_UserAccount_NotActive:"Parece que aún no ha confirmado su dirección de correo electrónico. Para completar su registro y acceder a su cuenta, verifique su bandeja de entrada de correo electrónico para un mensaje de confirmación. Si no ha recibido el correo electrónico, verifique también su carpeta de spam. Si necesita ayuda, puede solicitar ayuda a través del servicio de atención al cliente.",GmErr_BadRequest_ExpiredToken:"El token que está utilizando ha expirado.",GmErr_BadRequest_INVALID_CODE:"El código que está utilizando es inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Ha realizado demasiados intentos de validar su código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Ha realizado demasiados intentos de generar su código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Ha sido bloqueado debido a un código inválido.",GmErr_BadRequest_CODE_MISSING:"Falta el token para su solicitud.",GmErr_BadRequest_TOKEN_NOT_FOUND:"No se encontró el token para su solicitud.",GmErr_BadRequest_USER_NOT_REGISTERED:"El usuario no está registrado. Por favor, regístrese primero.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"El número de teléfono que está utilizando es inválido.",GmErr_BadRequest_INVALID_USER_ID:"El ID de usuario es inválido.",GmErr_UnexpectedException:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: La respuesta del MoF confirma que el jugador es menor de edad o no es residente croata.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: El MoF no devuelve una respuesta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: Error interno."},pt:{GmErr_AMOUNT_INVALID:"O valor especificado é inválido.",GmErr_REGISTER_OVERAGE:"O registro excedeu o limite permitido.",GmErr_REGISTER_UNDERAGE:"O registro está abaixo do limite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"A autenticação do usuário falhou devido a muitas tentativas malsucedidas.",GmErr_USER_ACCOUNT_BLOCKED:"A conta do usuário está bloqueada.",GmErr_USER_NOT_VERIFIED:"O usuário não foi verificado.",GmErr_USER_NOT_FOUND:"Nenhum usuário encontrado com as informações fornecidas.",GmErr_USER_ID_INVALID:"O ID de usuário fornecido é inválido.",GmErr_USER_AUTH_FAILED:"A autenticação do usuário falhou.",GmErr_USER_DUPLICATED:"O usuário já existe no sistema.",GmErr_USER_NOT_ACTIVATED:"A conta do usuário não foi ativada.",GmErr_PASSWORD_CONTAINS_EMAIL:"A senha não pode conter o endereço de e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"A senha não pode conter o nome de usuário.",GmErr_PASSWORD_CONTAINS_SPACES:"A senha não pode conter espaços.",GmErr_USER_4TS_CHECK_EXISTS:"A verificação do usuário 4TS já existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"O usuário está excluído do registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"O usuário está excluído do login.",GmErr_USERNAME_REQUIRED:"É necessário um nome de usuário.",GmErr_USER_EMAIL_NOT_VERIFIED:"O endereço de e-mail do usuário não foi verificado.",GmErr_EMAIL_ALREADY_EXISTS:"Um usuário com o mesmo e-mail já existe.",GmErr_EMAIL_REQUIRED:"É necessário um endereço de e-mail.",GmErr_USERNAME_ALREADY_EXISTS:"O nome de usuário já está em uso.",GmErr_DUPLICATE_PERSONAL_ID:"ID pessoal duplicado encontrado.",GmErr_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_INVALID_CODE:"O código fornecido é inválido.",GmErr_EXPIRED_TOKEN:"O token expirou.",GmErr_ATTEMPTS_EXCEEDED:"O número máximo de tentativas foi excedido.",GmErr_BLOCK_USER_INCORRECT_CODE:"O usuário foi bloqueado devido a um código incorreto.",GmErr_TOKEN_NOT_FOUND:"O token não foi encontrado.",GmErr_INVALID_PHONE_NUMBER:"O número de telefone fornecido é inválido.",GmErr_CODE_MISSING:"O código está ausente.",GmErr_UNREGISTERED_USER:"O usuário não está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"O número máximo de tentativas para gerar um código foi excedido.",GmErr_UNEXPECTED_EXCEPTION:"Ocorreu uma exceção inesperada.",GmErr_INVALID_USER_ID:"O ID de usuário fornecido é inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Essa ação não é permitida.",GmErr_CAN_NOT_FIND_ROLE:"Não foi possível encontrar a função especificada.",GmErr_NO_SESSION_PROVIDED:"Nenhuma sessão foi fornecida.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nenhuma sessão ativa encontrada para este usuário.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"O usuário já foi anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nenhuma função foi configurada para ser atribuída.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A sessão fornecida não pertence ao usuário.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A sessão fornecida não existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A função já foi atribuída ao usuário.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falha ao atribuir uma função ao usuário.",GmErr_BadRequest_1000:"Houve um problema com o número de identificação pessoal.",CountryRestricted:"Infelizmente, você está tentando se registrar de um país onde não podemos aceitar jogos. Não podemos processar seu registro por este motivo.",nextButton:"Próximo",backButton:"Voltar",doneButton:"Concluído",generalError:"Algo deu errado... Por favor, tente novamente.",successMessage:"Registro bem-sucedido",GmErr_BadRequest_Duplicate_User:"Um usuário com essas informações já existe.",GmErr_BadRequest_PasswordContainsUsername:"A senha não pode ser igual ao nome de usuário.",GmErr_BadRequest_PasswordContainsEmail:"A senha não pode ser igual ao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Já existe um registro com os dados que você inseriu ou você inseriu seus dados em um formato incorreto.",GmErr_Forbidden_UserAccount_NavExcluded:"Usuário está NAV Excluído. Registro foi negado.",GmErr_BadRequest_ModelValidationFailed:"Algo deu errado... Por favor, tente novamente.",GmErr_BadInternalConfigs:"Algo deu errado... Por favor, tente novamente.",GmErr_Unauthorized:"Algo deu errado... Por favor, tente novamente.",GmErr_NotFound:"Algo deu errado... Por favor, tente novamente.",BadRequest_Duplicate_User:"Usuário com o mesmo nome de usuário já existe.",BadRequest:"A solicitação é inválida, por favor, verifique a API.",Unauthorized:"O número da conta do jogador, endereço de e-mail ou senha estão incorretos",Forbidden_TooManyAttempts:"Você fez muitas tentativas de login inválidas, sua conta foi bloqueada, por favor, tente novamente mais tarde.",Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu registro e acessar sua conta, verifique sua caixa de entrada de 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 ajuda através do serviço de atendimento ao cliente.",GmErr_BadRequest_ExpiredToken:"O token que você está usando está expirado.",GmErr_BadRequest_INVALID_CODE:"O código que você está usando é inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Você fez muitas tentativas de validar seu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Você fez muitas tentativas de gerar seu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Você foi bloqueado devido a um código inválido.",GmErr_BadRequest_CODE_MISSING:"O token está faltando para sua solicitação.",GmErr_BadRequest_TOKEN_NOT_FOUND:"O token não foi encontrado para sua solicitação.",GmErr_BadRequest_USER_NOT_REGISTERED:"O usuário não está registrado. Por favor, registre-se primeiro.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"O número de telefone que você está usando é inválido.",GmErr_BadRequest_INVALID_USER_ID:"O ID do usuário é inválido.",GmErr_UnexpectedException:"Algo deu errado... Por favor, tente novamente.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: A resposta do MoF confirma que o jogador é menor de idade ou não é residente da Croácia.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: O MoF não retorna uma resposta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: Erro interno."},de:{GmErr_AMOUNT_INVALID:"Der angegebene Betrag ist ungültig.",GmErr_REGISTER_OVERAGE:"Die Registrierung hat das zulässige Limit überschritten.",GmErr_REGISTER_UNDERAGE:"Die Registrierung liegt unterhalb des zulässigen Limits.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Die Benutzeranmeldung ist aufgrund zu vieler fehlgeschlagener Versuche fehlgeschlagen.",GmErr_USER_ACCOUNT_BLOCKED:"Das Benutzerkonto ist gesperrt.",GmErr_USER_NOT_VERIFIED:"Der Benutzer wurde nicht verifiziert.",GmErr_USER_NOT_FOUND:"Kein Benutzer mit den angegebenen Informationen gefunden.",GmErr_USER_ID_INVALID:"Die angegebene Benutzer-ID ist ungültig.",GmErr_USER_AUTH_FAILED:"Die Benutzeranmeldung ist fehlgeschlagen.",GmErr_USER_DUPLICATED:"Der Benutzer ist bereits im System vorhanden.",GmErr_USER_NOT_ACTIVATED:"Das Benutzerkonto wurde nicht aktiviert.",GmErr_PASSWORD_CONTAINS_EMAIL:"Das Passwort darf keine E-Mail-Adresse enthalten.",GmErr_PASSWORD_CONTAINS_USERNAME:"Das Passwort darf keinen Benutzernamen enthalten.",GmErr_PASSWORD_CONTAINS_SPACES:"Das Passwort darf keine Leerzeichen enthalten.",GmErr_USER_4TS_CHECK_EXISTS:"Die 4TS-Überprüfung des Benutzers existiert bereits.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Der Benutzer ist von der Registrierung ausgeschlossen.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Der Benutzer ist vom Login ausgeschlossen.",GmErr_USERNAME_REQUIRED:"Ein Benutzername ist erforderlich.",GmErr_USER_EMAIL_NOT_VERIFIED:"Die E-Mail-Adresse des Benutzers wurde nicht verifiziert.",GmErr_EMAIL_ALREADY_EXISTS:"Ein Benutzer mit derselben E-Mail-Adresse existiert bereits.",GmErr_EMAIL_REQUIRED:"Eine E-Mail-Adresse ist erforderlich.",GmErr_USERNAME_ALREADY_EXISTS:"Der Benutzername ist bereits vergeben.",GmErr_DUPLICATE_PERSONAL_ID:"Doppelte persönliche ID gefunden.",GmErr_INVALID_USER_DOCUMENT:"Das Benutzerdokument ist ungültig.",GmErr_INVALID_CODE:"Der angegebene Code ist ungültig.",GmErr_EXPIRED_TOKEN:"Das Token ist abgelaufen.",GmErr_ATTEMPTS_EXCEEDED:"Die maximale Anzahl an Versuchen wurde überschritten.",GmErr_BLOCK_USER_INCORRECT_CODE:"Der Benutzer wurde aufgrund eines falschen Codes gesperrt.",GmErr_TOKEN_NOT_FOUND:"Das Token wurde nicht gefunden.",GmErr_INVALID_PHONE_NUMBER:"Die angegebene Telefonnummer ist ungültig.",GmErr_CODE_MISSING:"Der Code fehlt.",GmErr_UNREGISTERED_USER:"Der Benutzer ist nicht registriert.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Die maximale Anzahl an Versuchen, einen Code zu generieren, wurde überschritten.",GmErr_UNEXPECTED_EXCEPTION:"Es ist ein unerwarteter Fehler aufgetreten.",GmErr_INVALID_USER_ID:"Die angegebene Benutzer-ID ist ungültig.",GmErr_NOT_ALLOWED_EXCEPTION:"Diese Aktion ist nicht erlaubt.",GmErr_CAN_NOT_FIND_ROLE:"Die angegebene Rolle konnte nicht gefunden werden.",GmErr_NO_SESSION_PROVIDED:"Es wurde keine Sitzung bereitgestellt.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Es wurde keine aktive Sitzung für diesen Benutzer gefunden.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Der Benutzer wurde bereits anonymisiert.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Es wurde keine Rolle zur Zuweisung eingerichtet.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Die bereitgestellte Sitzung gehört nicht dem Benutzer.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Die bereitgestellte Sitzung existiert nicht.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Die Rolle wurde dem Benutzer bereits zugewiesen.",GmErr_ASSIGN_USER_ROLE_FAILED:"Die Zuweisung einer Rolle an den Benutzer ist fehlgeschlagen.",GmErr_BadRequest_1000:"Es gab ein Problem mit der persönlichen Identifikationsnummer.",CountryRestricted:"Leider versuchen Sie, sich aus einem Land zu registrieren, in dem wir kein Spiel zulassen können. Aus diesem Grund können wir Ihre Registrierung nicht verarbeiten.",nextButton:"Weiter",backButton:"Zurück",doneButton:"Fertig",generalError:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",successMessage:"Registrierung erfolgreich",GmErr_BadRequest_Duplicate_User:"Ein Benutzer mit diesen Informationen existiert bereits.",GmErr_BadRequest_PasswordContainsUsername:"Das Passwort darf nicht mit dem Benutzernamen übereinstimmen.",GmErr_BadRequest_PasswordContainsEmail:"Das Passwort darf nicht mit der E-Mail-Adresse übereinstimmen.",GmErr_BadRequest_Duplicate_PersonalId:"Es gibt bereits eine Registrierung mit den eingegebenen Daten oder Sie haben Ihre Daten in einem falschen Format eingegeben.",GmErr_Forbidden_UserAccount_NavExcluded:"Benutzer ist NAV ausgeschlossen. Registrierung wurde abgelehnt.",GmErr_BadRequest_ModelValidationFailed:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_BadInternalConfigs:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_Unauthorized:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_NotFound:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",BadRequest_Duplicate_User:"Ein Benutzer mit demselben Benutzernamen existiert bereits.",BadRequest:"Die Anfrage ist ungültig, bitte überprüfen Sie die API.",Unauthorized:"Die Kontonummer des Spielers, die E-Mail-Adresse oder das Passwort ist falsch",Forbidden_TooManyAttempts:"Sie haben zu viele ungültige Anmeldeversuche unternommen, Ihr Konto wurde gesperrt, bitte versuchen Sie es später erneut.",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 Ihr E-Mail-Postfach auf eine Bestätigungsnachricht. Wenn Sie die E-Mail nicht erhalten haben, überprüfen Sie bitte auch Ihren Spam-Ordner. Wenn Sie Hilfe benötigen, können Sie über den Kundenservice Hilfe anfordern.",GmErr_BadRequest_ExpiredToken:"Das von Ihnen verwendete Token ist abgelaufen.",GmErr_BadRequest_INVALID_CODE:"Der von Ihnen verwendete Code ist ungültig.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Sie haben zu viele Versuche unternommen, Ihren Code zu validieren.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Sie haben zu viele Versuche unternommen, Ihren Code zu generieren.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Sie wurden aufgrund eines ungültigen Codes gesperrt.",GmErr_BadRequest_CODE_MISSING:"Das Token fehlt für Ihre Anfrage.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Das Token wurde für Ihre Anfrage nicht gefunden.",GmErr_BadRequest_USER_NOT_REGISTERED:"Der Benutzer ist nicht registriert. Bitte registrieren Sie sich zuerst.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Die von Ihnen verwendete Telefonnummer ist ungültig.",GmErr_BadRequest_INVALID_USER_ID:"Die Benutzer-ID ist ungültig.",GmErr_UnexpectedException:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Das Benutzerdokument ist ungültig.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Die Antwort des MoF bestätigt, dass der Spieler minderjährig ist oder kein kroatischer Einwohner ist.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Das MoF gibt keine Antwort.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Interner Fehler."}},Eh=(e,t,i)=>{let r=bh[bh[t]?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");r=r.replace(i,t)}return r};function yh(){}function wh(e){return e()}function kh(){return Object.create(null)}function xh(e){e.forEach(wh)}function Sh(e){return"function"==typeof e}function Ah(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function Ih(e,...t){if(null==e){for(const e of t)e(void 0);return yh}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Ch(e,t,i){e.$$.on_destroy.push(Ih(t,i))}function Th(e){return e??""}function Dh(e,t){e.appendChild(t)}function Rh(e,t,i){const r=function(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}(e);if(!r.getElementById(t)){const e=Gh("style");e.id=t,e.textContent=i,function(e,t){Dh(e.head||e,t)}(r,e)}}function Nh(e,t,i){e.insertBefore(t,i||null)}function Oh(e){e.parentNode&&e.parentNode.removeChild(e)}function zh(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function Gh(e){return document.createElement(e)}function Mh(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Uh(e){return document.createTextNode(e)}function Bh(){return Uh(" ")}function Ph(){return Uh("")}function Lh(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function Fh(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function jh(e,t,i){const r=t.toLowerCase();r in e?e[r]="boolean"==typeof e[r]&&""===i||i:t in e?e[t]="boolean"==typeof e[t]&&""===i||i:Fh(e,t,i)}function qh(e,t){e.data!==(t=""+t)&&(e.data=t)}class Hh{is_svg=!1;e=void 0;n=void 0;t=void 0;a=void 0;constructor(e=!1){this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,i=null){this.e||(this.e=this.is_svg?Mh(t.nodeName):Gh(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)Nh(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(Oh)}}let Vh;function $h(e){Vh=e}function Xh(e){(function(){if(!Vh)throw new Error("Function called outside component initialization");return Vh})().$$.on_mount.push(e)}const Kh=[],Yh=[];let Wh=[];const Zh=[],Qh=Promise.resolve();let Jh=!1;function ec(e){Wh.push(e)}const tc=new Set;let ic=0;function rc(){if(0!==ic)return;const e=Vh;do{try{for(;ic<Kh.length;){const e=Kh[ic];ic++,$h(e),oc(e.$$)}}catch(e){throw Kh.length=0,ic=0,e}for($h(null),Kh.length=0,ic=0;Yh.length;)Yh.pop()();for(let e=0;e<Wh.length;e+=1){const t=Wh[e];tc.has(t)||(tc.add(t),t())}Wh.length=0}while(Kh.length);for(;Zh.length;)Zh.pop()();Jh=!1,tc.clear(),$h(e)}function oc(e){if(null!==e.fragment){e.update(),xh(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(ec)}}const nc=new Set;function sc(e){return void 0!==e?.length?e:Array.from(e)}function ac(e,t,i,r,o,n,s=null,a=[-1]){const l=Vh;$h(e);const h=e.$$={fragment:null,ctx:[],props:n,update:yh,not_equal:o,bound:kh(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:kh(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(h.root);let c=!1;if(h.ctx=i?i(e,t.props||{},((t,i,...r)=>{const n=r.length?r[0]:i;return h.ctx&&o(h.ctx[t],h.ctx[t]=n)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](n),c&&function(e,t){-1===e.$$.dirty[0]&&(Kh.push(e),Jh||(Jh=!0,Qh.then(rc)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),i})):[],h.update(),c=!0,xh(h.before_update),h.fragment=!!r&&r(h.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);h.fragment&&h.fragment.l(e),e.forEach(Oh)}else h.fragment&&h.fragment.c();t.intro&&function(e){e&&e.i&&(nc.delete(e),e.i(void 0))}(e.$$.fragment),function(e,t,i){const{fragment:r,after_update:o}=e.$$;r&&r.m(t,i),ec((()=>{const t=e.$$.on_mount.map(wh).filter(Sh);e.$$.on_destroy?e.$$.on_destroy.push(...t):xh(t),e.$$.on_mount=[]})),o.forEach(ec)}(e,t.target,t.anchor),rc()}$h(l)}let lc;function hc(e,t,i,r){const o=i[e]?.type;if(t="Boolean"===o&&"boolean"!=typeof t?null!=t:t,!r||!i[e])return t;if("toAttribute"===r)switch(o){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":default:return t;case"Number":return null!=t?+t:t}}function cc(e,t,i,r,o){let n=class extends lc{constructor(){super(e,i,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map((e=>(t[e].attribute||e).toLowerCase()))}};return Object.keys(t).forEach((e=>{Object.defineProperty(n.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(i){i=hc(e,i,t),this.$$d[e]=i,this.$$c?.$set({[e]:i})}})})),r.forEach((e=>{Object.defineProperty(n.prototype,e,{get(){return this.$$c?.[e]}})})),e.element=n,n}"function"==typeof HTMLElement&&(lc=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(e,t,i){super(),this.$$ctor=e,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(e,t,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,i)}removeEventListener(e,t,i){if(super.removeEventListener(e,t,i),this.$$c){const e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(e){return()=>{let t;return{c:function(){t=Gh("slot"),"default"!==e&&Fh(t,"name",e)},m:function(e,i){Nh(e,t,i)},d:function(e){e&&Oh(t)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=function(e){const t={};return e.childNodes.forEach((e=>{t[e.slot||"default"]=!0})),t}(this);for(const r of this.$$s)r in i&&(t[r]=[e(r)]);for(const e of this.attributes){const t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=hc(t,e.value,this.$$p_d,"toProp"))}for(const e in this.$$p_d)!(e in this.$$d)&&void 0!==this[e]&&(this.$$d[e]=this[e],delete this[e]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$scope:{ctx:[]}}});const r=()=>{this.$$r=!0;for(const e in this.$$p_d)if(this.$$d[e]=this.$$c.$$.ctx[this.$$c.$$.props[e]],this.$$p_d[e].reflect){const t=hc(e,this.$$d[e],this.$$p_d,"toAttribute");null==t?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const e in this.$$l)for(const t of this.$$l[e]){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}this.$$l={}}}attributeChangedCallback(e,t,i){this.$$r||(e=this.$$g_p(e),this.$$d[e]=hc(e,i,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(e){return Object.keys(this.$$p_d).find((t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e))||e}});class dc{$$=void 0;$$set=void 0;$destroy(){(function(e,t){const i=e.$$;null!==i.fragment&&(function(e){const t=[],i=[];Wh.forEach((r=>-1===e.indexOf(r)?t.push(r):i.push(r))),i.forEach((e=>e())),Wh=t}(i.after_update),xh(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])})(this,1),this.$destroy=yh}$on(e,t){if(!Sh(t))return yh;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&!function(e){return 0===Object.keys(e).length}(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function uc(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function mc(e,t){const i=new URL(t);fetch(i.href).then((e=>e.text())).then((t=>{const i=document.createElement("style");i.innerHTML=t,e&&e.appendChild(i)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}function pc(e,t){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,(t=>{i.innerHTML=t,e&&e.appendChild(i)}))}}function _c(e){Rh(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function fc(e){let t;return{c(){t=Gh("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(i,r){Nh(i,t,r),e[4](t)},p:yh,i:yh,o:yh,d(i){i&&Oh(t),e[4](null)}}}function vc(e,t,i){let r,{clientstyling:o=""}=t,{clientstylingurl:n=""}=t,{mbsource:s}=t;return Xh((()=>()=>{})),e.$$set=e=>{"clientstyling"in e&&i(1,o=e.clientstyling),"clientstylingurl"in e&&i(2,n=e.clientstylingurl),"mbsource"in e&&i(3,s=e.mbsource)},e.$$.update=()=>{3&e.$$.dirty&&o&&r&&uc(r,o),5&e.$$.dirty&&n&&r&&mc(r,n),9&e.$$.dirty&&s&&r&&pc(r,`${s}.Style`)},[r,o,n,s,function(e){Yh[e?"unshift":"push"]((()=>{r=e,i(0,r)}))}]}typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class gc extends dc{constructor(e){super(),ac(this,e,vc,fc,Ah,{clientstyling:1,clientstylingurl:2,mbsource:3},_c)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),rc()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),rc()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),rc()}}cc(gc,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);const bc=Object.freeze(Object.defineProperty({__proto__:null,default:gc},Symbol.toStringTag,{value:"Module"})),Ec=Object.freeze({__proto__:null,A:Lh,B:Uh,C:qh,D:jh,G:bc,H:Hh,S:dc,a:Ah,b:ac,c:cc,d:Mh,e:Fh,f:Nh,g:Dh,h:Oh,i:Sh,j:rc,k:Rh,l:Gh,m:Ch,n:yh,o:Xh,p:mc,q:Th,r:xh,s:Ih,t:Yh,u:uc,v:pc,w:sc,x:zh,y:Bh,z:Ph}),yc=[];function wc(e,t=yh){let i;const r=new Set;function o(t){if(Ah(e,t)&&(e=t,i)){const t=!yc.length;for(const t of r)t[1](),yc.push(t,e);if(t){for(let e=0;e<yc.length;e+=2)yc[e][0](yc[e+1]);yc.length=0}}}function n(t){o(t(e))}return{set:o,update:n,subscribe:function(s,a=yh){const l=[s,a];return r.add(l),1===r.size&&(i=t(o,n)||yh),s(e),()=>{r.delete(l),0===r.size&&i&&(i(),i=null)}}}}function kc(e,t,i){const r=!Array.isArray(e),o=r?[e]:e;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const n=t.length<2;return function(e,t){return{subscribe:wc(e,t).subscribe}}(i,((e,i)=>{let s=!1;const a=[];let l=0,h=yh;const c=()=>{if(l)return;h();const o=t(r?a[0]:a,e,i);n?e(o):h=Sh(o)?o:yh},d=o.map(((e,t)=>Ih(e,(e=>{a[t]=e,l&=~(1<<t),s&&c()}),(()=>{l|=1<<t}))));return s=!0,c(),function(){xh(d),h(),s=!1}}))}function xc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sc=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Ac}(e)}(e)},Ac="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ic(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Rc(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function Cc(e,t,i){return e.concat(t).map((function(e){return Ic(e,i)}))}function Tc(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Dc(e,t){try{return t in e}catch{return!1}}function Rc(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Cc,i.isMergeableObject=i.isMergeableObject||Sc,i.cloneUnlessOtherwiseSpecified=Ic;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):function(e,t,i){var r={};return i.isMergeableObject(e)&&Tc(e).forEach((function(t){r[t]=Ic(e[t],i)})),Tc(t).forEach((function(o){(function(e,t){return Dc(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(r[o]=Dc(e,o)&&i.isMergeableObject(t[o])?function(e,t){if(!t.customMerge)return Rc;var i=t.customMerge(e);return"function"==typeof i?i:Rc}(o,i)(e[o],t[o],i):Ic(t[o],i))})),r}(e,t,i):Ic(t,i)}Rc.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return Rc(e,i,t)}),{})};const Nc=xc(Rc);
3989
+ `}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Mo(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}),{uniqueIdPrefix:"search-input"})),this.addController(new Uo(this.inputElement,this._labelController)),this._tooltipController=new kr(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((e=>!e.opened)),this.shadowRoot.querySelector('[part="toggle-button"]').addEventListener("mousedown",(e=>e.preventDefault())),this.$.overlay.addEventListener("vaadin-overlay-close",this._onVaadinOverlayClose.bind(this))}_onVaadinOverlayClose(e){e.detail.sourceEvent&&e.detail.sourceEvent.composedPath().includes(this)&&e.preventDefault()}_toggle(e){e.stopPropagation(),this.$.overlay.opened?this.close():this.open()}_openedChanged(e){super._openedChanged(e),this.$.overlay.positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this.$.overlay.noVerticalOverlap=!0}}function Os(e){return Os="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Os(e)}function zs(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Gs(e){zs(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===Os(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function Ms(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Us(e,t){return zs(2,arguments),function(e,t){zs(2,arguments);var i=Gs(e).getTime(),r=Ms(t);return new Date(i+r)}(e,-Ms(t))}function Bs(e){zs(1,arguments);var t=Gs(e),i=t.getUTCDay(),r=(i<1?7:0)+i-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}function Ps(e){zs(1,arguments);var t=Gs(e),i=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(i+1,0,4),r.setUTCHours(0,0,0,0);var o=Bs(r),n=new Date(0);n.setUTCFullYear(i,0,4),n.setUTCHours(0,0,0,0);var s=Bs(n);return t.getTime()>=o.getTime()?i+1:t.getTime()>=s.getTime()?i:i-1}l(Ns);function Ls(e){zs(1,arguments);var t=Gs(e),i=Bs(t).getTime()-function(e){zs(1,arguments);var t=Ps(e),i=new Date(0);return i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0),Bs(i)}(t).getTime();return Math.round(i/6048e5)+1}var Fs={};function js(){return Fs}function qs(e,t){var i,r,o,n,s,a,l,h;zs(1,arguments);var c=js(),d=Ms(null!==(i=null!==(r=null!==(o=null!==(n=null==t?void 0:t.weekStartsOn)&&void 0!==n?n:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.weekStartsOn)&&void 0!==o?o:c.weekStartsOn)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=Gs(e),m=u.getUTCDay(),p=(m<d?7:0)+m-d;return u.setUTCDate(u.getUTCDate()-p),u.setUTCHours(0,0,0,0),u}function Hs(e,t){var i,r,o,n,s,a,l,h;zs(1,arguments);var c=Gs(e),d=c.getUTCFullYear(),u=js(),m=Ms(null!==(i=null!==(r=null!==(o=null!==(n=null==t?void 0:t.firstWeekContainsDate)&&void 0!==n?n:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==o?o:u.firstWeekContainsDate)&&void 0!==r?r:null===(l=u.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1);if(!(m>=1&&m<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(d+1,0,m),p.setUTCHours(0,0,0,0);var _=qs(p,t),f=new Date(0);f.setUTCFullYear(d,0,m),f.setUTCHours(0,0,0,0);var v=qs(f,t);return c.getTime()>=_.getTime()?d+1:c.getTime()>=v.getTime()?d:d-1}function Vs(e,t){zs(1,arguments);var i=Gs(e),r=qs(i,t).getTime()-function(e,t){var i,r,o,n,s,a,l,h;zs(1,arguments);var c=js(),d=Ms(null!==(i=null!==(r=null!==(o=null!==(n=null==t?void 0:t.firstWeekContainsDate)&&void 0!==n?n:null==t||null===(s=t.locale)||void 0===s||null===(a=s.options)||void 0===a?void 0:a.firstWeekContainsDate)&&void 0!==o?o:c.firstWeekContainsDate)&&void 0!==r?r:null===(l=c.locale)||void 0===l||null===(h=l.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==i?i:1),u=Hs(e,t),m=new Date(0);return m.setUTCFullYear(u,0,d),m.setUTCHours(0,0,0,0),qs(m,t)}(i,t).getTime();return Math.round(r/6048e5)+1}function $s(e,t){for(var i=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return i+r}const Xs=function(e,t){var i=e.getUTCFullYear(),r=i>0?i:1-i;return $s("yy"===t?r%100:r,t.length)},Ks=function(e,t){var i=e.getUTCMonth();return"M"===t?String(i+1):$s(i+1,2)},Ys=function(e,t){return $s(e.getUTCDate(),t.length)},Ws=function(e,t){return $s(e.getUTCHours()%12||12,t.length)},Zs=function(e,t){return $s(e.getUTCHours(),t.length)},Qs=function(e,t){return $s(e.getUTCMinutes(),t.length)},Js=function(e,t){return $s(e.getUTCSeconds(),t.length)},ea=function(e,t){var i=t.length,r=e.getUTCMilliseconds();return $s(Math.floor(r*Math.pow(10,i-3)),t.length)};function ta(e,t){var i=e>0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),n=r%60;if(0===n)return i+String(o);var s=t||"";return i+String(o)+s+$s(n,2)}function ia(e,t){return e%60==0?(e>0?"-":"+")+$s(Math.abs(e)/60,2):ra(e,t)}function ra(e,t){var i=t||"",r=e>0?"-":"+",o=Math.abs(e);return r+$s(Math.floor(o/60),2)+i+$s(o%60,2)}const oa={G:function(e,t,i){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(r,{width:"abbreviated"});case"GGGGG":return i.era(r,{width:"narrow"});default:return i.era(r,{width:"wide"})}},y:function(e,t,i){if("yo"===t){var r=e.getUTCFullYear();return i.ordinalNumber(r>0?r:1-r,{unit:"year"})}return Xs(e,t)},Y:function(e,t,i,r){var o=Hs(e,r),n=o>0?o:1-o;return"YY"===t?$s(n%100,2):"Yo"===t?i.ordinalNumber(n,{unit:"year"}):$s(n,t.length)},R:function(e,t){return $s(Ps(e),t.length)},u:function(e,t){return $s(e.getUTCFullYear(),t.length)},Q:function(e,t,i){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return $s(r,2);case"Qo":return i.ordinalNumber(r,{unit:"quarter"});case"QQQ":return i.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(r,{width:"narrow",context:"formatting"});default:return i.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,i){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return $s(r,2);case"qo":return i.ordinalNumber(r,{unit:"quarter"});case"qqq":return i.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(r,{width:"narrow",context:"standalone"});default:return i.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,i){var r=e.getUTCMonth();switch(t){case"M":case"MM":return Ks(e,t);case"Mo":return i.ordinalNumber(r+1,{unit:"month"});case"MMM":return i.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(r,{width:"narrow",context:"formatting"});default:return i.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,i){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return $s(r+1,2);case"Lo":return i.ordinalNumber(r+1,{unit:"month"});case"LLL":return i.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(r,{width:"narrow",context:"standalone"});default:return i.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,i,r){var o=Vs(e,r);return"wo"===t?i.ordinalNumber(o,{unit:"week"}):$s(o,t.length)},I:function(e,t,i){var r=Ls(e);return"Io"===t?i.ordinalNumber(r,{unit:"week"}):$s(r,t.length)},d:function(e,t,i){return"do"===t?i.ordinalNumber(e.getUTCDate(),{unit:"date"}):Ys(e,t)},D:function(e,t,i){var r=function(e){zs(1,arguments);var t=Gs(e),i=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=t.getTime();return Math.floor((i-r)/864e5)+1}(e);return"Do"===t?i.ordinalNumber(r,{unit:"dayOfYear"}):$s(r,t.length)},E:function(e,t,i){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return i.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,i,r){var o=e.getUTCDay(),n=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(n);case"ee":return $s(n,2);case"eo":return i.ordinalNumber(n,{unit:"day"});case"eee":return i.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(o,{width:"short",context:"formatting"});default:return i.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,i,r){var o=e.getUTCDay(),n=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(n);case"cc":return $s(n,t.length);case"co":return i.ordinalNumber(n,{unit:"day"});case"ccc":return i.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(o,{width:"narrow",context:"standalone"});case"cccccc":return i.day(o,{width:"short",context:"standalone"});default:return i.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,i){var r=e.getUTCDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return $s(o,t.length);case"io":return i.ordinalNumber(o,{unit:"day"});case"iii":return i.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,i){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,i){var r,o=e.getUTCHours();switch(r=12===o?"noon":0===o?"midnight":o/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,i){var r,o=e.getUTCHours();switch(r=o>=17?"evening":o>=12?"afternoon":o>=4?"morning":"night",t){case"B":case"BB":case"BBB":return i.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(r,{width:"narrow",context:"formatting"});default:return i.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,i){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),i.ordinalNumber(r,{unit:"hour"})}return Ws(e,t)},H:function(e,t,i){return"Ho"===t?i.ordinalNumber(e.getUTCHours(),{unit:"hour"}):Zs(e,t)},K:function(e,t,i){var r=e.getUTCHours()%12;return"Ko"===t?i.ordinalNumber(r,{unit:"hour"}):$s(r,t.length)},k:function(e,t,i){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?i.ordinalNumber(r,{unit:"hour"}):$s(r,t.length)},m:function(e,t,i){return"mo"===t?i.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):Qs(e,t)},s:function(e,t,i){return"so"===t?i.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):Js(e,t)},S:function(e,t){return ea(e,t)},X:function(e,t,i,r){var o=(r._originalDate||e).getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return ia(o);case"XXXX":case"XX":return ra(o);default:return ra(o,":")}},x:function(e,t,i,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return ia(o);case"xxxx":case"xx":return ra(o);default:return ra(o,":")}},O:function(e,t,i,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ta(o,":");default:return"GMT"+ra(o,":")}},z:function(e,t,i,r){var o=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ta(o,":");default:return"GMT"+ra(o,":")}},t:function(e,t,i,r){return $s(Math.floor((r._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,i,r){return $s((r._originalDate||e).getTime(),t.length)}};var na=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},sa=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},aa={p:sa,P:function(e,t){var i,r=e.match(/(P+)(p+)?/)||[],o=r[1],n=r[2];if(!n)return na(e,t);switch(o){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",na(o,t)).replace("{{time}}",sa(n,t))}};const la=aa;function ha(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var ca=["D","DD"],da=["YY","YYYY"];function ua(e){return-1!==ca.indexOf(e)}function ma(e){return-1!==da.indexOf(e)}function pa(e,t,i){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var _a={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function fa(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var va,ga={date:fa({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:fa({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:fa({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ba={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Ea(e){return function(t,i){var r;if("formatting"===(null!=i&&i.context?String(i.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,n=null!=i&&i.width?String(i.width):o;r=e.formattingValues[n]||e.formattingValues[o]}else{var s=e.defaultWidth,a=null!=i&&i.width?String(i.width):e.defaultWidth;r=e.values[a]||e.values[s]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function ya(e){return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=i.width,o=t.match(r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth]);if(!o)return null;var n,s=o[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?function(e){for(var t=0;t<e.length;t++)if(e[t].test(s))return t}(a):function(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t].test(s))return t}(a);return n=e.valueCallback?e.valueCallback(l):l,{value:n=i.valueCallback?i.valueCallback(n):n,rest:t.slice(s.length)}}}const wa={code:"en-US",formatDistance:function(e,t,i){var r,o=_a[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=i&&i.addSuffix?i.comparison&&i.comparison>0?"in "+r:r+" ago":r},formatLong:ga,formatRelative:function(e){return ba[e]},localize:{ordinalNumber:function(e){var t=Number(e),i=t%100;if(i>20||i<10)switch(i%10){case 1:return t+"st";case 2:return t+"nd";case 3:return t+"rd"}return t+"th"},era:Ea({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Ea({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Ea({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Ea({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Ea({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(va={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=e.match(va.matchPattern);if(!i)return null;var r=i[0],o=e.match(va.parsePattern);if(!o)return null;var n=va.valueCallback?va.valueCallback(o[0]):o[0];return{value:n=t.valueCallback?t.valueCallback(n):n,rest:e.slice(r.length)}}),era:ya({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:ya({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:ya({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:ya({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:ya({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var ka=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xa=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Sa=/^'([^]*?)'?$/,Aa=/''/g,Ia=/[a-zA-Z]/;function Ca(e,t,i){var r,o,n,s,a,l,h,c,d,u,m,p,_,f,v,g,b,E;zs(2,arguments);var y=String(t),w=js(),k=null!==(r=null!==(o=null==i?void 0:i.locale)&&void 0!==o?o:w.locale)&&void 0!==r?r:wa,x=Ms(null!==(n=null!==(s=null!==(a=null!==(l=null==i?void 0:i.firstWeekContainsDate)&&void 0!==l?l:null==i||null===(h=i.locale)||void 0===h||null===(c=h.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==a?a:w.firstWeekContainsDate)&&void 0!==s?s:null===(d=w.locale)||void 0===d||null===(u=d.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==n?n:1);if(!(x>=1&&x<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var S=Ms(null!==(m=null!==(p=null!==(_=null!==(f=null==i?void 0:i.weekStartsOn)&&void 0!==f?f:null==i||null===(v=i.locale)||void 0===v||null===(g=v.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==_?_:w.weekStartsOn)&&void 0!==p?p:null===(b=w.locale)||void 0===b||null===(E=b.options)||void 0===E?void 0:E.weekStartsOn)&&void 0!==m?m:0);if(!(S>=0&&S<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!k.localize)throw new RangeError("locale must contain localize property");if(!k.formatLong)throw new RangeError("locale must contain formatLong property");var A=Gs(e);if(!function(e){if(zs(1,arguments),!function(e){return zs(1,arguments),e instanceof Date||"object"===Os(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=Gs(e);return!isNaN(Number(t))}(A))throw new RangeError("Invalid time value");var I=Us(A,ha(A)),C={firstWeekContainsDate:x,weekStartsOn:S,locale:k,_originalDate:A};return y.match(xa).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,la[t])(e,k.formatLong):e})).join("").match(ka).map((function(r){if("''"===r)return"'";var o,n,s=r[0];if("'"===s)return(n=(o=r).match(Sa))?n[1].replace(Aa,"'"):o;var a=oa[s];if(a)return null!=i&&i.useAdditionalWeekYearTokens||!ma(r)||pa(r,t,String(e)),null!=i&&i.useAdditionalDayOfYearTokens||!ua(r)||pa(r,t,String(e)),a(I,r,k.localize,C);if(s.match(Ia))throw new RangeError("Format string contains an unescaped latin alphabet character `"+s+"`");return r})).join("")}function Ta(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=Array(t);i<t;i++)r[i]=e[i];return r}function Da(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(e){if("string"==typeof e)return Ta(e,t);var i={}.toString.call(e).slice(8,-1);return"Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i?Array.from(e):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Ta(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,s=!0,a=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){a=!0,n=e},f:function(){try{s||null==i.return||i.return()}finally{if(a)throw n}}}}function Ra(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}function Na(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oa(e,t){return Oa=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oa(e,t)}function za(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oa(e,t)}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ga(e)}function Ma(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Ma=function(){return!!e})()}function Ua(e){var t=Ma();return function(){var i,r=Ga(e);if(t){var o=Ga(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return function(e,t){if(t&&("object"==Os(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Na(e)}(this,i)}}function Ba(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pa(e){var t=function(e){if("object"!=Os(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=Os(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Os(t)?t:t+""}function La(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Pa(r.key),r)}}function Fa(e,t,i){return t&&La(e.prototype,t),i&&La(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function ja(e,t,i){return(t=Pa(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var qa=function(){function e(){Ba(this,e),ja(this,"priority",void 0),ja(this,"subPriority",0)}return Fa(e,[{key:"validate",value:function(){return!0}}]),e}(),Ha=function(){za(t,qa);var e=Ua(t);function t(i,r,o,n,s){var a;return Ba(this,t),(a=e.call(this)).value=i,a.validateValue=r,a.setValue=o,a.priority=n,s&&(a.subPriority=s),a}return Fa(t,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,i){return this.setValue(e,t,this.value,i)}}]),t}(),Va=function(){za(t,qa);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",10),ja(Na(i),"subPriority",-1),i}return Fa(t,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var i=new Date(0);return i.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),i.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),i}}]),t}(),$a=function(){function e(){Ba(this,e),ja(this,"incompatibleTokens",void 0),ja(this,"priority",void 0),ja(this,"subPriority",void 0)}return Fa(e,[{key:"run",value:function(e,t,i,r){var o=this.parse(e,t,i,r);return o?{setter:new Ha(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(){return!0}}]),e}(),Xa=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",140),ja(Na(i),"incompatibleTokens",["R","u","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"G":case"GG":case"GGG":return i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"});case"GGGGG":return i.era(e,{width:"narrow"});default:return i.era(e,{width:"wide"})||i.era(e,{width:"abbreviated"})||i.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,i){return t.era=i,e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Ka=/^(1[0-2]|0?\d)/,Ya=/^(3[0-1]|[0-2]?\d)/,Wa=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,Za=/^(5[0-3]|[0-4]?\d)/,Qa=/^(2[0-3]|[0-1]?\d)/,Ja=/^(2[0-4]|[0-1]?\d)/,el=/^(1[0-1]|0?\d)/,tl=/^(1[0-2]|0?\d)/,il=/^[0-5]?\d/,rl=/^[0-5]?\d/,ol=/^\d/,nl=/^\d{1,2}/,sl=/^\d{1,3}/,al=/^\d{1,4}/,ll=/^-?\d+/,hl=/^-?\d/,cl=/^-?\d{1,2}/,dl=/^-?\d{1,3}/,ul=/^-?\d{1,4}/,ml=/^([+-])(\d{2})(\d{2})?|Z/,pl=/^([+-])(\d{2})(\d{2})|Z/,_l=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,fl=/^([+-])(\d{2}):(\d{2})|Z/,vl=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function gl(e,t){return e?{value:t(e.value),rest:e.rest}:e}function bl(e,t){var i=t.match(e);return i?{value:parseInt(i[0],10),rest:t.slice(i[0].length)}:null}function El(e,t){var i=t.match(e);return i?"Z"===i[0]?{value:0,rest:t.slice(1)}:{value:("+"===i[1]?1:-1)*(36e5*(i[2]?parseInt(i[2],10):0)+6e4*(i[3]?parseInt(i[3],10):0)+1e3*(i[5]?parseInt(i[5],10):0)),rest:t.slice(i[0].length)}:null}function yl(e){return bl(ll,e)}function wl(e,t){switch(e){case 1:return bl(ol,t);case 2:return bl(nl,t);case 3:return bl(sl,t);case 4:return bl(al,t);default:return bl(new RegExp("^\\d{1,"+e+"}"),t)}}function kl(e,t){switch(e){case 1:return bl(hl,t);case 2:return bl(cl,t);case 3:return bl(dl,t);case 4:return bl(ul,t);default:return bl(new RegExp("^-?\\d{1,"+e+"}"),t)}}function xl(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Sl(e,t){var i,r=t>0,o=r?t:1-t;if(o<=50)i=e||100;else{var n=o+50;i=e+100*Math.floor(n/100)-(e>=n%100?100:0)}return r?i:1-i}function Al(e){return e%400==0||e%4==0&&e%100!=0}var Il=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",130),ja(Na(i),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return gl(wl(4,e),r);case"yo":return gl(i.ordinalNumber(e,{unit:"year"}),r);default:return gl(wl(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,i){var r=e.getUTCFullYear();if(i.isTwoDigitYear){var o=Sl(i.year,r);return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}return e.setUTCFullYear("era"in t&&1!==t.era?1-i.year:i.year,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Cl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",130),ja(Na(i),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return gl(wl(4,e),r);case"Yo":return gl(i.ordinalNumber(e,{unit:"year"}),r);default:return gl(wl(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,i,r){var o=Hs(e,r);if(i.isTwoDigitYear){var n=Sl(i.year,o);return e.setUTCFullYear(n,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),qs(e,r)}return e.setUTCFullYear("era"in t&&1!==t.era?1-i.year:i.year,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),qs(e,r)}}]),t}(),Tl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",130),ja(Na(i),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return kl("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,i){var r=new Date(0);return r.setUTCFullYear(i,0,4),r.setUTCHours(0,0,0,0),Bs(r)}}]),t}(),Dl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",130),ja(Na(i),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return kl("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,i){return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Rl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",120),ja(Na(i),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"Q":case"QQ":return wl(t.length,e);case"Qo":return i.ordinalNumber(e,{unit:"quarter"});case"QQQ":return i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return i.quarter(e,{width:"narrow",context:"formatting"});default:return i.quarter(e,{width:"wide",context:"formatting"})||i.quarter(e,{width:"abbreviated",context:"formatting"})||i.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth(3*(i-1),1),e.setUTCHours(0,0,0,0),e}}]),t}(),Nl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",120),ja(Na(i),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"q":case"qq":return wl(t.length,e);case"qo":return i.ordinalNumber(e,{unit:"quarter"});case"qqq":return i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return i.quarter(e,{width:"narrow",context:"standalone"});default:return i.quarter(e,{width:"wide",context:"standalone"})||i.quarter(e,{width:"abbreviated",context:"standalone"})||i.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth(3*(i-1),1),e.setUTCHours(0,0,0,0),e}}]),t}(),Ol=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),ja(Na(i),"priority",110),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return e-1};switch(t){case"M":return gl(bl(Ka,e),r);case"MM":return gl(wl(2,e),r);case"Mo":return gl(i.ordinalNumber(e,{unit:"month"}),r);case"MMM":return i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return i.month(e,{width:"narrow",context:"formatting"});default:return i.month(e,{width:"wide",context:"formatting"})||i.month(e,{width:"abbreviated",context:"formatting"})||i.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),t}(),zl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",110),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return e-1};switch(t){case"L":return gl(bl(Ka,e),r);case"LL":return gl(wl(2,e),r);case"Lo":return gl(i.ordinalNumber(e,{unit:"month"}),r);case"LLL":return i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return i.month(e,{width:"narrow",context:"standalone"});default:return i.month(e,{width:"wide",context:"standalone"})||i.month(e,{width:"abbreviated",context:"standalone"})||i.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),t}(),Gl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",100),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"w":return bl(Za,e);case"wo":return i.ordinalNumber(e,{unit:"week"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,i,r){return qs(function(e,t,i){zs(2,arguments);var r=Gs(e),o=Ms(t),n=Vs(r,i)-o;return r.setUTCDate(r.getUTCDate()-7*n),r}(e,i,r),r)}}]),t}(),Ml=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",100),ja(Na(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"I":return bl(Za,e);case"Io":return i.ordinalNumber(e,{unit:"week"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,i){return Bs(function(e,t){zs(2,arguments);var i=Gs(e),r=Ms(t),o=Ls(i)-r;return i.setUTCDate(i.getUTCDate()-7*o),i}(e,i))}}]),t}(),Ul=[31,28,31,30,31,30,31,31,30,31,30,31],Bl=[31,29,31,30,31,30,31,31,30,31,30,31],Pl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"subPriority",1),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"d":return bl(Ya,e);case"do":return i.ordinalNumber(e,{unit:"date"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){var i=Al(e.getUTCFullYear()),r=e.getUTCMonth();return i?t>=1&&t<=Bl[r]:t>=1&&t<=Ul[r]}},{key:"set",value:function(e,t,i){return e.setUTCDate(i),e.setUTCHours(0,0,0,0),e}}]),t}(),Ll=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"subpriority",1),ja(Na(i),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"D":case"DD":return bl(Wa,e);case"Do":return i.ordinalNumber(e,{unit:"date"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return Al(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,i){return e.setUTCMonth(0,i),e.setUTCHours(0,0,0,0),e}}]),t}();function Fl(e,t,i){var r,o,n,s,a,l,h,c;zs(2,arguments);var d=js(),u=Ms(null!==(r=null!==(o=null!==(n=null!==(s=null==i?void 0:i.weekStartsOn)&&void 0!==s?s:null==i||null===(a=i.locale)||void 0===a||null===(l=a.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==n?n:d.weekStartsOn)&&void 0!==o?o:null===(h=d.locale)||void 0===h||null===(c=h.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==r?r:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=Gs(e),p=Ms(t),_=((p%7+7)%7<u?7:0)+p-m.getUTCDay();return m.setUTCDate(m.getUTCDate()+_),m}var jl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"incompatibleTokens",["D","i","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"E":case"EE":case"EEE":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return i.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),ql=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return gl(wl(t.length,e),o);case"eo":return gl(i.ordinalNumber(e,{unit:"day"}),o);case"eee":return i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});case"eeeee":return i.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"});default:return i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),Hl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i,r){var o=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return gl(wl(t.length,e),o);case"co":return gl(i.ordinalNumber(e,{unit:"day"}),o);case"ccc":return i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});case"ccccc":return i.day(e,{width:"narrow",context:"standalone"});case"cccccc":return i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"});default:return i.day(e,{width:"wide",context:"standalone"})||i.day(e,{width:"abbreviated",context:"standalone"})||i.day(e,{width:"short",context:"standalone"})||i.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,i,r){return(e=Fl(e,i,r)).setUTCHours(0,0,0,0),e}}]),t}(),Vl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",90),ja(Na(i),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return wl(t.length,e);case"io":return i.ordinalNumber(e,{unit:"day"});case"iii":return gl(i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return gl(i.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return gl(i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r);default:return gl(i.day(e,{width:"wide",context:"formatting"})||i.day(e,{width:"abbreviated",context:"formatting"})||i.day(e,{width:"short",context:"formatting"})||i.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,i){return e=function(e,t){zs(2,arguments);var i=Ms(t);i%7==0&&(i-=7);var r=Gs(e),o=((i%7+7)%7<1?7:0)+i-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+o),r}(e,i),e.setUTCHours(0,0,0,0),e}}]),t}(),$l=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",80),ja(Na(i),"incompatibleTokens",["b","B","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"a":case"aa":case"aaa":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Xl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",80),ja(Na(i),"incompatibleTokens",["a","B","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"b":case"bb":case"bbb":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Kl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",80),ja(Na(i),"incompatibleTokens",["a","b","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"B":case"BB":case"BBB":return i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return i.dayPeriod(e,{width:"narrow",context:"formatting"});default:return i.dayPeriod(e,{width:"wide",context:"formatting"})||i.dayPeriod(e,{width:"abbreviated",context:"formatting"})||i.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,i){return e.setUTCHours(xl(i),0,0,0),e}}]),t}(),Yl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",70),ja(Na(i),"incompatibleTokens",["H","K","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"h":return bl(tl,e);case"ho":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,i){var r=e.getUTCHours()>=12;return e.setUTCHours(r&&i<12?i+12:r||12!==i?i:0,0,0,0),e}}]),t}(),Wl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",70),ja(Na(i),"incompatibleTokens",["a","b","h","K","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"H":return bl(Qa,e);case"Ho":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,i){return e.setUTCHours(i,0,0,0),e}}]),t}(),Zl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",70),ja(Na(i),"incompatibleTokens",["h","H","k","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"K":return bl(el,e);case"Ko":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,i){var r=e.getUTCHours()>=12;return e.setUTCHours(r&&i<12?i+12:i,0,0,0),e}}]),t}(),Ql=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",70),ja(Na(i),"incompatibleTokens",["a","b","h","H","K","t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"k":return bl(Ja,e);case"ko":return i.ordinalNumber(e,{unit:"hour"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,i){return e.setUTCHours(i<=24?i%24:i,0,0,0),e}}]),t}(),Jl=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",60),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"m":return bl(il,e);case"mo":return i.ordinalNumber(e,{unit:"minute"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCMinutes(i,0,0),e}}]),t}(),eh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",50),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t,i){switch(t){case"s":return bl(rl,e);case"so":return i.ordinalNumber(e,{unit:"second"});default:return wl(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCSeconds(i,0),e}}]),t}(),th=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",30),ja(Na(i),"incompatibleTokens",["t","T"]),i}return Fa(t,[{key:"parse",value:function(e,t){return gl(wl(t.length,e),(function(e){return Math.floor(e*Math.pow(10,3-t.length))}))}},{key:"set",value:function(e,t,i){return e.setUTCMilliseconds(i),e}}]),t}(),ih=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",10),ja(Na(i),"incompatibleTokens",["t","T","x"]),i}return Fa(t,[{key:"parse",value:function(e,t){switch(t){case"X":return El(ml,e);case"XX":return El(pl,e);case"XXXX":return El(_l,e);case"XXXXX":return El(vl,e);default:return El(fl,e)}}},{key:"set",value:function(e,t,i){return t.timestampIsSet?e:new Date(e.getTime()-i)}}]),t}(),rh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",10),ja(Na(i),"incompatibleTokens",["t","T","X"]),i}return Fa(t,[{key:"parse",value:function(e,t){switch(t){case"x":return El(ml,e);case"xx":return El(pl,e);case"xxxx":return El(_l,e);case"xxxxx":return El(vl,e);default:return El(fl,e)}}},{key:"set",value:function(e,t,i){return t.timestampIsSet?e:new Date(e.getTime()-i)}}]),t}(),oh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",40),ja(Na(i),"incompatibleTokens","*"),i}return Fa(t,[{key:"parse",value:function(e){return yl(e)}},{key:"set",value:function(e,t,i){return[new Date(1e3*i),{timestampIsSet:!0}]}}]),t}(),nh=function(){za(t,$a);var e=Ua(t);function t(){var i;Ba(this,t);for(var r=arguments.length,o=new Array(r),n=0;n<r;n++)o[n]=arguments[n];return ja(Na(i=e.call.apply(e,[this].concat(o))),"priority",20),ja(Na(i),"incompatibleTokens","*"),i}return Fa(t,[{key:"parse",value:function(e){return yl(e)}},{key:"set",value:function(e,t,i){return[new Date(i),{timestampIsSet:!0}]}}]),t}(),sh={G:new Xa,y:new Il,Y:new Cl,R:new Tl,u:new Dl,Q:new Rl,q:new Nl,M:new Ol,L:new zl,w:new Gl,I:new Ml,d:new Pl,D:new Ll,E:new jl,e:new ql,c:new Hl,i:new Vl,a:new $l,b:new Xl,B:new Kl,h:new Yl,H:new Wl,K:new Zl,k:new Ql,m:new Jl,s:new eh,S:new th,X:new ih,x:new rh,t:new oh,T:new nh},ah=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,lh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,hh=/^'([^]*?)'?$/,ch=/''/g,dh=/\S/,uh=/[a-zA-Z]/;function mh(e,t,i,r){var o,n,s,a,l,h,c,d,u,m,p,_,f,v,g,b,E,y;zs(3,arguments);var w=String(e),k=String(t),x=js(),S=null!==(o=null!==(n=null==r?void 0:r.locale)&&void 0!==n?n:x.locale)&&void 0!==o?o:wa;if(!S.match)throw new RangeError("locale must contain match property");var A=Ms(null!==(s=null!==(a=null!==(l=null!==(h=null==r?void 0:r.firstWeekContainsDate)&&void 0!==h?h:null==r||null===(c=r.locale)||void 0===c||null===(d=c.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:x.firstWeekContainsDate)&&void 0!==a?a:null===(u=x.locale)||void 0===u||null===(m=u.options)||void 0===m?void 0:m.firstWeekContainsDate)&&void 0!==s?s:1);if(!(A>=1&&A<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=Ms(null!==(p=null!==(_=null!==(f=null!==(v=null==r?void 0:r.weekStartsOn)&&void 0!==v?v:null==r||null===(g=r.locale)||void 0===g||null===(b=g.options)||void 0===b?void 0:b.weekStartsOn)&&void 0!==f?f:x.weekStartsOn)&&void 0!==_?_:null===(E=x.locale)||void 0===E||null===(y=E.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==p?p:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===k)return""===w?Gs(i):new Date(NaN);var C,T={firstWeekContainsDate:A,weekStartsOn:I,locale:S},D=[new Va],R=k.match(lh).map((function(e){var t=e[0];return t in la?(0,la[t])(e,S.formatLong):e})).join("").match(ah),N=[],O=Da(R);try{var z=function(){var t=C.value;null!=r&&r.useAdditionalWeekYearTokens||!ma(t)||pa(t,k,e),null!=r&&r.useAdditionalDayOfYearTokens||!ua(t)||pa(t,k,e);var i=t[0],o=sh[i];if(o){var n=o.incompatibleTokens;if(Array.isArray(n)){var s=N.find((function(e){return n.includes(e.token)||e.token===i}));if(s)throw new RangeError("The format string mustn't contain `".concat(s.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===o.incompatibleTokens&&N.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));N.push({token:i,fullToken:t});var a=o.run(w,t,S.match,T);if(!a)return{v:new Date(NaN)};D.push(a.setter),w=a.rest}else{if(i.match(uh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===t?t="'":"'"===i&&(t=t.match(hh)[1].replace(ch,"'")),0!==w.indexOf(t))return{v:new Date(NaN)};w=w.slice(t.length)}};for(O.s();!(C=O.n()).done;){var G=z();if("object"===Os(G))return G.v}}catch(e){O.e(e)}finally{O.f()}if(w.length>0&&dh.test(w))return new Date(NaN);var M=D.map((function(e){return e.priority})).sort((function(e,t){return t-e})).filter((function(e,t,i){return i.indexOf(e)===t})).map((function(e){return D.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),U=Gs(i);if(isNaN(U.getTime()))return new Date(NaN);var B,P=Us(U,ha(U)),L={},F=Da(M);try{for(F.s();!(B=F.n()).done;){var j=B.value;if(!j.validate(P,T))return new Date(NaN);var q=j.set(P,L,T);Array.isArray(q)?(P=q[0],Ra(L,q[1])):P=q}}catch(e){F.e(e)}finally{F.f()}return P}function ph(e,t){zs(2,arguments);var i=Gs(e),r=Gs(t);return i.getTime()>r.getTime()}function _h(e,t){zs(2,arguments);var i=Gs(e),r=Gs(t);return i.getTime()<r.getTime()}const fh=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.touched=!1,this.formatDate=e=>{const{year:t,month:i,day:r}=e;return Ca(new Date(t,i,r),this.dateFormat||"yyyy-MM-dd")},this.parseDate=e=>{const t=mh(e,this.dateFormat||"yyyy-MM-dd",new Date);return{year:t.getFullYear(),month:t.getMonth(),day:t.getDate()}},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.validation=void 0,this.defaultValue=void 0,this.autofilled=void 0,this.tooltip=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.dateFormat=void 0,this.emitOnClick=!1,this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){var e,t;this.minDate=mh((null===(e=this.validation.min)||void 0===e?void 0:e.toString())||"","yyyy-MM-dd",new Date),this.maxDate=mh((null===(t=this.validation.max)||void 0===t?void 0:t.toString())||"","yyyy-MM-dd",new Date)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){if(this.datePicker=this.element.shadowRoot.querySelector("vaadin-date-picker"),this.inputReference=this.element.shadowRoot.querySelector("input"),this.datePicker){const e=this.datePicker.shadowRoot.querySelector('[part="toggle-button"]');e&&e.addEventListener("click",(()=>this.handleCalendarIconClick()))}this.datePicker.i18n=Object.assign(Object.assign({},this.datePicker.i18n),{formatDate:this.formatDate,parseDate:this.parseDate}),this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}handleCalendarIconClick(){this.datePicker.opened&&this.emitOnClick&&window.postMessage({type:`registration${this.name}Clicked`},window.location.href)}handleInput(e){this.value=e.target.value,this.touched=!0,this.valueAsDate=mh(this.value||"","yyyy-MM-dd",new Date),this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}setValidity(){return!_h(this.valueAsDate,this.minDate)&&!ph(this.valueAsDate,this.maxDate)&&this.inputReference.validity.valid}setErrorMessage(){return _h(this.valueAsDate,this.minDate)||ph(this.valueAsDate,this.maxDate)?s("dateError2",this.language):this.inputReference.validity.rangeUnderflow||this.inputReference.validity.rangeOverflow?s("dateError",this.language,{values:{min:this.validation.min,max:this.validation.max}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"date__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"ad6360e0afb065a91f860574f5e3c08f5bdb2534",class:`date__wrapper ${this.autofilled?"date__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("label",{key:"3e8d26e0c8ae0983997b84e95cb34887df1f5fe5",class:`date__label ${this.validation.mandatory?"date__label--required":""}}`,htmlFor:`${this.name}__input`},this.displayName," ",this.validation.mandatory?"*":""),i("vaadin-date-picker",{key:"62ee430506c2ab1a5ebb632d72e84ef905296888",id:`${this.name}__input`,type:"date",class:`date__input ${e}`,value:this.defaultValue,readOnly:this.autofilled,placeholder:`${this.placeholder}`,required:this.validation.mandatory,max:this.validation.max,min:this.validation.min,onChange:e=>this.handleInput(e),onBlur:this.handleBlur}),i("small",{key:"6b7c0e9c3437b484bd534060f93ad4fcd9eaeb60",class:"date__error-message"},this.errorMessage),this.tooltip&&i("img",{key:"6479b29563710abfe1be584c9de110fafe69ca3d",class:"date__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};fh.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.date{font-family:"Roboto";font-style:normal}.date__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.date__wrapper--autofilled{pointer-events:none}.date__wrapper--autofilled .date__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__wrapper--autofilled .date__input::part(input-field){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.date__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.date__input{border:none;width:inherit;position:relative}.date__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.date__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.date__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.date__input>input{padding:5px 15px}.date__input::part(toggle-button){position:relative;right:10px}.date__error-message{position:absolute;top:calc(100% + 5px);left:0;color:rgba(204, 0, 0, 0.7019607843)}.date__tooltip-icon{position:absolute;right:0;bottom:10px}.date__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.date__tooltip.visible{opacity:1}';const vh=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.validation=void 0,this.defaultValue=void 0,this.autofilled=void 0,this.tooltip=void 0,this.language=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value)}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"email__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"a46093cfafc840d2fd563ee9676ccd2f16fb1620",class:`email__wrapper ${this.autofilled?"number__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"2eab4a96efc36cdb94e9f92b2a161e208f0ebcd4",class:"email__wrapper--flex"},i("label",{key:"f5ed857f61ea6763c5fe88590732258b4dedac1b",class:"email__label "+(this.validation.mandatory?"email__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"58cadc7857cd91dec968852be71e0108f55fbda7",class:"email__wrapper--relative"},this.tooltip&&i("img",{key:"03009d036fde1c36b9348ac45cefa3389194260c",class:"email__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"b2a9fd96ed301df5f1d7cf6f5a2a5b52f96ab189",id:`${this.name}__input`,type:"email",class:`email__input ${e}`,value:this.defaultValue,readOnly:this.autofilled,placeholder:`${this.placeholder}`,ref:e=>this.inputReference=e,pattern:this.validationPattern,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"edb17f53141a3406bfc657f80098b914044a8894",class:"email__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};vh.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.email{font-family:"Roboto";font-style:normal}.email__wrapper{position:relative;width:100%}.email__wrapper--autofilled{pointer-events:none}.email__wrapper--autofilled .email__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__wrapper--autofilled .email__input{color:var(--emw--color-black, #000000)}.email__wrapper--flex{display:flex;gap:5px}.email__wrapper--relative{position:relative}.email__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.email__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.email__input{font-family:inherit;border-radius:4px;width:100%;height:40px;border:2px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;font-size:16px;font-weight:300;line-height:1.5;padding:10px}.email__input:focus{outline-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.email__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__input::placeholder{color:var(--emw--color-gray-150, #828282)}.email__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.email__tooltip-icon{width:16px;height:auto}.email__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.email__tooltip.visible{opacity:1}';const gh=class{constructor(t){e(this,t),this.handleClick=e=>{this.emitOnClick&&(e.stopPropagation(),window.postMessage({type:`registration${this.name}Clicked`},window.location.href))},this.type="text",this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.action=void 0,this.validation=void 0,this.options=void 0,this.language=void 0,this.autofilled=void 0,this.tooltip=void 0,this.defaultValue=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.dateFormat=void 0,this.translationUrl="",this.emitOnClick=!1}connectedCallback(){var e;this.translationUrl&&(e=this.translationUrl,new Promise((t=>{fetch(e).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{for(let i in e[t])n[t][i]=e[t][i]})),t(!0)}))})))}renderInput(){var e;switch(null===(e=this.type)||void 0===e?void 0:e.toLowerCase()){case"text":return i("text-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"email":return i("email-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"number":return i("number-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"checkbox":return i("checkbox-input",{name:this.name,displayName:this.displayName,validation:this.validation,emitValue:this.emitValue,defaultValue:this.defaultValue,autofilled:this.autofilled,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip});case"checkboxgroup":return i("checkbox-group-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,options:this.options});case"togglecheckbox":return i("toggle-checkbox-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,options:this.options,"emit-on-click":this.emitOnClick});case"datetime":return i("date-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder,dateFormat:this.dateFormat,"emit-on-click":this.emitOnClick});case"password":return i("password-input",{name:this.name,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,autofilled:this.autofilled,emitValue:this.emitValue,language:this.language,isDuplicateInput:this.isDuplicateInput,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"radio":return i("radio-input",{name:this.name,displayName:this.displayName,optionsGroup:this.options,validation:this.validation,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling});case"tel":return i("tel-input",{name:this.name,action:this.action,displayName:this.displayName,validation:this.validation,defaultValue:this.defaultValue,emitValue:this.emitValue,language:this.language,autofilled:this.autofilled,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});case"dropdown":return i("select-input",{name:this.name,action:this.action,defaultValue:this.defaultValue,displayName:this.displayName,options:this.options,validation:this.validation,emitValue:this.emitValue,autofilled:this.autofilled,language:this.language,"client-styling":this.clientStyling,tooltip:this.tooltip,placeholder:this.placeholder});default:return i("p",null,"The ",this.type," input type is not valid")}}render(){return i(o,{key:"e1c49fc91ead165c05b30c21ac568486e55c8096",class:`general-input--${this.name}`,onClick:this.handleClick},this.renderInput())}};gh.style=":host{display:block;height:100%}";const bh={en:{GmErr_AMOUNT_INVALID:"The specified amount is invalid.",GmErr_REGISTER_OVERAGE:"The registration has exceeded the allowable limit.",GmErr_REGISTER_UNDERAGE:"The registration is under the allowable limit.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"User authentication failed due to too many unsuccessful attempts.",GmErr_USER_ACCOUNT_BLOCKED:"The user account is blocked.",GmErr_USER_NOT_VERIFIED:"The user has not been verified.",GmErr_USER_NOT_FOUND:"No user found with the provided information.",GmErr_USER_ID_INVALID:"The user ID provided is invalid.",GmErr_USER_AUTH_FAILED:"User authentication failed.",GmErr_USER_DUPLICATED:"The user already exists in the system.",GmErr_USER_NOT_ACTIVATED:"The user account has not been activated.",GmErr_PASSWORD_CONTAINS_EMAIL:"The password cannot contain the email address.",GmErr_PASSWORD_CONTAINS_USERNAME:"The password cannot contain the username.",GmErr_PASSWORD_CONTAINS_SPACES:"The password cannot contain spaces.",GmErr_USER_4TS_CHECK_EXISTS:"The user 4TS check already exists.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"The user is excluded from registration.",GmErr_USER_NAV_EXCLUDED_LOGIN:"The user is excluded from login.",GmErr_USERNAME_REQUIRED:"A username is required.",GmErr_USER_EMAIL_NOT_VERIFIED:"The user's email address has not been verified.",GmErr_EMAIL_ALREADY_EXISTS:"User with same email already exists",GmErr_EMAIL_REQUIRED:"An email address is required.",GmErr_USERNAME_ALREADY_EXISTS:"The username is already taken.",GmErr_DUPLICATE_PERSONAL_ID:"Duplicate personal ID found.",GmErr_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_INVALID_CODE:"The code provided is invalid.",GmErr_EXPIRED_TOKEN:"The token has expired.",GmErr_ATTEMPTS_EXCEEDED:"The maximum number of attempts has been exceeded.",GmErr_BLOCK_USER_INCORRECT_CODE:"The user has been blocked due to an incorrect code.",GmErr_TOKEN_NOT_FOUND:"The token was not found.",GmErr_INVALID_PHONE_NUMBER:"The phone number provided is invalid.",GmErr_CODE_MISSING:"The code is missing.",GmErr_UNREGISTERED_USER:"The user is not registered.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Maximum attempts to generate a code have been exceeded.",GmErr_UNEXPECTED_EXCEPTION:"An unexpected exception occurred.",GmErr_INVALID_USER_ID:"The user ID provided is invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"This action is not allowed.",GmErr_CAN_NOT_FIND_ROLE:"Unable to find the specified role.",GmErr_NO_SESSION_PROVIDED:"No session was provided.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No active session found for this user.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"The user has already been anonymized.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No role has been set up to be assigned.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"The provided session does not belong to the user.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"The provided session does not exist.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"The role has already been assigned to the user.",GmErr_ASSIGN_USER_ROLE_FAILED:"Failed to assign a role to the user.",GmErr_BadRequest_1000:"There was a problem with the personal identification number",CountryRestricted:"Unfortunately, you are attempting to register from a country where we cannot accept gameplay. We are unable to process your registration for this reason.",nextButton:"Next",backButton:"Back",doneButton:"Done",generalError:"Something went wrong... Please try again.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"A user with this information already exists.",GmErr_BadRequest_PasswordContainsUsername:"The password cannot be the same as the username.",GmErr_BadRequest_PasswordContainsEmail:"The password cannot be the same as the email.",GmErr_BadRequest_Duplicate_PersonalId:"There is already a registration with the data you entered or you entered your data in an incorrect format.",GmErr_Forbidden_UserAccount_NavExcluded:"User is NAV Excluded. Registration was denied.",GmErr_BadRequest_ModelValidationFailed:"Something went wrong... Please try again.",GmErr_BadInternalConfigs:"Something went wrong... Please try again.",GmErr_Unauthorized:"Something went wrong... Please try again.",GmErr_NotFound:"Something went wrong... Please try again.",BadRequest_Duplicate_User:"User with same username already exists.",BadRequest:"The request is invalid, please check the API.",Unauthorized:"The player account number, e-mail address or password is incorrect",Forbidden_TooManyAttempts:"You have made too many invalid login attempts, your account has been blocked, please try again later.",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.",GmErr_BadRequest_ExpiredToken:"The token you are using is expired.",GmErr_BadRequest_INVALID_CODE:"The code you are using is invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"You have made too many attempts to validate your code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"You have made too many attempts to generate your code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"You have been blocked due to an invalid code.",GmErr_BadRequest_CODE_MISSING:"The token is missing for your reqest.",GmErr_BadRequest_TOKEN_NOT_FOUND:"The token is not found for your request.",GmErr_BadRequest_USER_NOT_REGISTERED:"The user is not register. Please register first.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"The phone number you are using is invalid.",GmErr_BadRequest_INVALID_USER_ID:"The user ID is invalid.",GmErr_UnexpectedException:"Something went wrong... Please try again.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF response confirms player IS underaged or IS NOT a Croatian resident.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF fails to return a response.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: Internal error."},hu:{GmErr_AMOUNT_INVALID:"A megadott összeg érvénytelen.",GmErr_REGISTER_OVERAGE:"A regisztráció túllépte a megengedett határt.",GmErr_REGISTER_UNDERAGE:"A regisztráció a megengedett határ alatt van.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"A felhasználó hitelesítése túl sok sikertelen próbálkozás miatt meghiúsult.",GmErr_USER_ACCOUNT_BLOCKED:"A felhasználói fiók le van tiltva.",GmErr_USER_NOT_VERIFIED:"A felhasználó nincs ellenőrizve.",GmErr_USER_NOT_FOUND:"A megadott adatokkal nem található felhasználó.",GmErr_USER_ID_INVALID:"A megadott felhasználói azonosító érvénytelen.",GmErr_USER_AUTH_FAILED:"A felhasználó hitelesítése meghiúsult.",GmErr_USER_DUPLICATED:"A felhasználó már létezik a rendszerben.",GmErr_USER_NOT_ACTIVATED:"A felhasználó fiókja nincs aktiválva.",GmErr_PASSWORD_CONTAINS_EMAIL:"A jelszó nem tartalmazhat e-mail címet.",GmErr_PASSWORD_CONTAINS_USERNAME:"A jelszó nem tartalmazhat felhasználónevet.",GmErr_PASSWORD_CONTAINS_SPACES:"A jelszó nem tartalmazhat szóközöket.",GmErr_USER_4TS_CHECK_EXISTS:"A felhasználó 4TS ellenőrzése már létezik.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"A felhasználó kizárva a regisztrációból.",GmErr_USER_NAV_EXCLUDED_LOGIN:"A felhasználó kizárva a bejelentkezésből.",GmErr_USERNAME_REQUIRED:"Felhasználónév megadása szükséges.",GmErr_USER_EMAIL_NOT_VERIFIED:"A felhasználó e-mail címe nincs megerősítve.",GmErr_EMAIL_ALREADY_EXISTS:"A megadott e-mail címmel már létezik felhasználó",GmErr_EMAIL_REQUIRED:"E-mail cím megadása szükséges.",GmErr_USERNAME_ALREADY_EXISTS:"A felhasználónév már foglalt.",GmErr_DUPLICATE_PERSONAL_ID:"Már létező személyes azonosító.",GmErr_INVALID_USER_DOCUMENT:"A felhasználói dokumentum érvénytelen.",GmErr_INVALID_CODE:"A megadott kód érvénytelen.",GmErr_EXPIRED_TOKEN:"A token lejárt.",GmErr_ATTEMPTS_EXCEEDED:"A megengedett próbálkozások száma túllépve.",GmErr_BLOCK_USER_INCORRECT_CODE:"A felhasználó blokkolva lett a hibás kód miatt.",GmErr_TOKEN_NOT_FOUND:"A token nem található.",GmErr_INVALID_PHONE_NUMBER:"A megadott telefonszám érvénytelen.",GmErr_CODE_MISSING:"A szükséges kód hiányzik.",GmErr_UNREGISTERED_USER:"A felhasználó nincs regisztrálva.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Túllépték a kódgenerálási próbálkozások számát.",GmErr_UNEXPECTED_EXCEPTION:"Váratlan kivétel történt.",GmErr_INVALID_USER_ID:"A felhasználói azonosító érvénytelen.",GmErr_NOT_ALLOWED_EXCEPTION:"Ez a művelet nem engedélyezett.",GmErr_CAN_NOT_FIND_ROLE:"A megadott szerepkör nem található.",GmErr_NO_SESSION_PROVIDED:"Nem került megadásra munkamenet.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nincs aktív munkamenet ehhez a felhasználóhoz.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"A felhasználó már anonimizálva lett.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nincs beállítva hozzárendelhető szerepkör.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A megadott munkamenet nem tartozik a felhasználóhoz.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A megadott munkamenet nem létezik.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A szerepkör már hozzá lett rendelve a felhasználóhoz.",GmErr_ASSIGN_USER_ROLE_FAILED:"Nem sikerült a felhasználói szerepkört hozzárendelni.",GmErr_BadRequest_1000:"Probléma volt a személyi azonosító számmal",CountryRestricted:"Sajnálatos módon olyan országból próbál regisztrálni, ahonnan nem fogadhatunk játékot. Emiatt nem tudjuk feldolgozni a regisztrációját.",nextButton:"Következő",backButton:"Vissza",doneButton:"Kész",generalError:"Valami hiba történt... Próbáld újra.",successMessage:"Sikeres regisztráció",GmErr_BadRequest_Duplicate_User:"Egy ilyen információval rendelkező felhasználó már létezik.",GmErr_BadRequest_PasswordContainsUsername:"A jelszó nem lehet azonos a felhasználónévvel.",GmErr_BadRequest_PasswordContainsEmail:"A jelszó nem lehet azonos az e-mail címmel.",GmErr_BadRequest_Duplicate_PersonalId:"Már létezik egy regisztráció az Ön által megadott adatokkal, vagy helytelen formátumban adta meg az adatokat.",GmErr_Forbidden_UserAccount_NavExcluded:"A felhasználó NAV kizárt. A regisztrációt elutasították.",GmErr_BadRequest_ModelValidationFailed:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_BadInternalConfigs:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_Unauthorized:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_NotFound:"Valami hiba történt... Kérjük, próbálja újra.",BadRequest_Duplicate_User:"Már létezik egy felhasználó ugyanazzal a felhasználónévvel.",BadRequest:"A kérés érvénytelen, kérjük, ellenőrizze az API-t.",Unauthorized:"A játékos számlaszáma, e-mail címe vagy jelszava helytelen",Forbidden_TooManyAttempts:"Túl sok érvénytelen bejelentkezési kísérletet tett, fiókját zárolták, kérjük, próbálja újra később.",Forbidden_UserAccount_NotActive:"Úgy tűnik, még nem erősítette meg e-mail címét. A regisztráció befejezéséhez és fiókjához való hozzáféréshez kérjük, ellenőrizze e-mail fiókját egy megerősítő üzenetért. Ha nem kapta meg az e-mailt, kérjük, ellenőrizze a spam mappát is. Ha segítségre van szüksége, kérhet segítséget az ügyfélszolgálaton keresztül.",GmErr_BadRequest_ExpiredToken:"A használt token lejárt.",GmErr_BadRequest_INVALID_CODE:"A használt kód érvénytelen.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Túl sok kísérletet tett a kód érvényesítésére.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Túl sok kísérletet tett a kód generálására.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Érvénytelen kód miatt zárolták.",GmErr_BadRequest_CODE_MISSING:"A kéréshez hiányzik a token.",GmErr_BadRequest_TOKEN_NOT_FOUND:"A kéréshez nem található token.",GmErr_BadRequest_USER_NOT_REGISTERED:"A felhasználó nincs regisztrálva. Kérjük, regisztráljon először.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"A használt telefonszám érvénytelen.",GmErr_BadRequest_INVALID_USER_ID:"A felhasználói azonosító érvénytelen.",GmErr_UnexpectedException:"Valami hiba történt... Kérjük, próbálja újra.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"A felhasználói dokumentum érvénytelen.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF válasza megerősíti, hogy a játékos kiskorú vagy nem horvát lakos.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: A MoF nem ad választ.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"A regisztrációt blokkolták a horvát Pénzügyminisztérium PersonaID ellenőrzési hibája miatt az alábbi okkal: Belső hiba."},hr:{GmErr_AMOUNT_INVALID:"Navedeni iznos je nevažeći.",GmErr_REGISTER_OVERAGE:"Registracija je premašila dopušteni limit.",GmErr_REGISTER_UNDERAGE:"Registracija je ispod dopuštenog limita.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Neuspješno autentificiranje korisnika zbog previše pokušaja.",GmErr_USER_ACCOUNT_BLOCKED:"Korisnički račun je blokiran.",GmErr_USER_NOT_VERIFIED:"Korisnik nije verificiran.",GmErr_USER_NOT_FOUND:"Korisnik s navedenim podacima nije pronađen.",GmErr_USER_ID_INVALID:"Navedeni ID korisnika je nevažeći.",GmErr_USER_AUTH_FAILED:"Neuspješno autentificiranje korisnika.",GmErr_USER_DUPLICATED:"Korisnik već postoji u sustavu.",GmErr_USER_NOT_ACTIVATED:"Korisnički račun nije aktiviran.",GmErr_PASSWORD_CONTAINS_EMAIL:"Lozinka ne smije sadržavati e-mail adresu.",GmErr_PASSWORD_CONTAINS_USERNAME:"Lozinka ne smije sadržavati korisničko ime.",GmErr_PASSWORD_CONTAINS_SPACES:"Lozinka ne smije sadržavati razmake.",GmErr_USER_4TS_CHECK_EXISTS:"4TS provjera korisnika već postoji.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Korisnik je isključen iz registracije.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Korisnik je isključen iz prijave.",GmErr_USERNAME_REQUIRED:"Korisničko ime je obavezno.",GmErr_USER_EMAIL_NOT_VERIFIED:"E-mail adresa korisnika nije verificirana.",GmErr_EMAIL_ALREADY_EXISTS:"Korisnik s istom e-mail adresom već postoji",GmErr_EMAIL_REQUIRED:"E-mail adresa je obavezna.",GmErr_USERNAME_ALREADY_EXISTS:"Korisničko ime je već zauzeto.",GmErr_DUPLICATE_PERSONAL_ID:"Pronađen je duplicirani osobni ID.",GmErr_INVALID_USER_DOCUMENT:"Dokument korisnika je nevažeći.",GmErr_INVALID_CODE:"Navedeni kod je nevažeći.",GmErr_EXPIRED_TOKEN:"Token je istekao.",GmErr_ATTEMPTS_EXCEEDED:"Prekoračen je maksimalni broj pokušaja.",GmErr_BLOCK_USER_INCORRECT_CODE:"Korisnik je blokiran zbog pogrešnog koda.",GmErr_TOKEN_NOT_FOUND:"Token nije pronađen.",GmErr_INVALID_PHONE_NUMBER:"Navedeni broj telefona je nevažeći.",GmErr_CODE_MISSING:"Nedostaje potrebni kod.",GmErr_UNREGISTERED_USER:"Korisnik nije registriran.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Prekoračen je broj pokušaja generiranja koda.",GmErr_UNEXPECTED_EXCEPTION:"Došlo je do neočekivane iznimke.",GmErr_INVALID_USER_ID:"Navedeni ID korisnika je nevažeći.",GmErr_NOT_ALLOWED_EXCEPTION:"Ova radnja nije dopuštena.",GmErr_CAN_NOT_FIND_ROLE:"Navedena uloga nije pronađena.",GmErr_NO_SESSION_PROVIDED:"Nema pružene sesije.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nema aktivne sesije za ovog korisnika.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Korisnik je već anonimiziran.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nema postavljene uloge za dodjeljivanje.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Pružena sesija ne pripada korisniku.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Pružena sesija ne postoji.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Uloga je već dodijeljena korisniku.",GmErr_ASSIGN_USER_ROLE_FAILED:"Neuspješno dodjeljivanje uloge korisniku.",GmErr_BadRequest_1000:"Došlo je do problema s OIB-om",CountryRestricted:"Nažalost, prijavljujete se iz zemlje iz koje ne možemo prihvatiti igru. Nismo u mogućnosti obraditi registraciju iz navedenog razloga.",nextButton:"Sljedeće",backButton:"Nazad",doneButton:"Gotovo",generalError:"Korisnik s ovim podacima već postoji.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"Korisnik s ovim informacijama već postoji.",GmErr_BadRequest_PasswordContainsUsername:"Lozinka ne može biti ista kao korisničko ime.",GmErr_BadRequest_PasswordContainsEmail:"Lozinka ne može biti ista kao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Već postoji registracija s podacima koje ste unijeli ili ste unijeli podatke u pogrešnom formatu.",GmErr_Forbidden_UserAccount_NavExcluded:"Korisnik je NAV isključen. Registracija je odbijena.",GmErr_BadRequest_ModelValidationFailed:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_BadInternalConfigs:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_Unauthorized:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_NotFound:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",BadRequest_Duplicate_User:"Korisnik s istim korisničkim imenom već postoji.",BadRequest:"Zahtjev je nevažeći, molimo provjerite API.",Unauthorized:"Broj računa igrača, e-mail adresa ili lozinka su netočni",Forbidden_TooManyAttempts:"Napravili ste previše nevažećih pokušaja prijave, vaš račun je blokiran, molimo pokušajte ponovno kasnije.",Forbidden_UserAccount_NotActive:"Čini se da još niste potvrdili svoju e-mail adresu. Da biste dovršili registraciju i pristupili svom računu, provjerite svoju e-mail poštu za poruku s potvrdom. Ako niste primili e-mail, provjerite i mapu neželjene pošte. Ako trebate pomoć, možete zatražiti pomoć putem korisničke službe.",GmErr_BadRequest_ExpiredToken:"Token koji koristite je istekao.",GmErr_BadRequest_INVALID_CODE:"Kod koji koristite je nevažeći.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Napravili ste previše pokušaja za validaciju koda.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Napravili ste previše pokušaja za generiranje koda.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Blokirani ste zbog nevažećeg koda.",GmErr_BadRequest_CODE_MISSING:"Token nedostaje za vaš zahtjev.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Token nije pronađen za vaš zahtjev.",GmErr_BadRequest_USER_NOT_REGISTERED:"Korisnik nije registriran. Molimo registrirajte se prvo.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Broj telefona koji koristite je nevažeći.",GmErr_BadRequest_INVALID_USER_ID:"Korisnički ID je nevažeći.",GmErr_UnexpectedException:"Nešto je pošlo po zlu... Molimo pokušajte ponovno.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Korisnički dokument je nevažeći.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: Odgovor MoF-a potvrđuje da je igrač maloljetan ili nije stanovnik Hrvatske.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: MoF ne daje odgovor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registracija je blokirana zbog neuspjeha verifikacije PersonaID od strane Ministarstva financija Hrvatske s razlogom: Interna greška."},"pt-br":{GmErr_AMOUNT_INVALID:"O valor especificado é inválido.",GmErr_REGISTER_OVERAGE:"A inscrição excedeu o limite permitido.",GmErr_REGISTER_UNDERAGE:"A inscrição está abaixo do limite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Falha na autenticação do usuário devido a muitas tentativas sem sucesso.",GmErr_USER_ACCOUNT_BLOCKED:"A conta do usuário está bloqueada.",GmErr_USER_NOT_VERIFIED:"O usuário não foi verificado.",GmErr_USER_NOT_FOUND:"Nenhum usuário encontrado com as informações fornecidas.",GmErr_USER_ID_INVALID:"O ID do usuário fornecido é inválido.",GmErr_USER_AUTH_FAILED:"Falha na autenticação do usuário.",GmErr_USER_DUPLICATED:"O usuário já existe no sistema.",GmErr_USER_NOT_ACTIVATED:"A conta do usuário não está ativada.",GmErr_PASSWORD_CONTAINS_EMAIL:"A senha não pode conter o endereço de e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"A senha não pode conter o nome de usuário.",GmErr_PASSWORD_CONTAINS_SPACES:"A senha não pode conter espaços.",GmErr_USER_4TS_CHECK_EXISTS:"A verificação 4TS do usuário já existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"O usuário está excluído da inscrição.",GmErr_USER_NAV_EXCLUDED_LOGIN:"O usuário está excluído do login.",GmErr_USERNAME_REQUIRED:"O nome de usuário é obrigatório.",GmErr_USER_EMAIL_NOT_VERIFIED:"O e-mail do usuário não foi verificado.",GmErr_EMAIL_ALREADY_EXISTS:"Usuário com o mesmo e-mail já existe",GmErr_EMAIL_REQUIRED:"Um endereço de e-mail é obrigatório.",GmErr_USERNAME_ALREADY_EXISTS:"O nome de usuário já está em uso.",GmErr_DUPLICATE_PERSONAL_ID:"ID pessoal duplicado encontrado.",GmErr_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_INVALID_CODE:"O código fornecido é inválido.",GmErr_EXPIRED_TOKEN:"O token expirou.",GmErr_ATTEMPTS_EXCEEDED:"O número máximo de tentativas foi excedido.",GmErr_BLOCK_USER_INCORRECT_CODE:"O usuário foi bloqueado devido a um código incorreto.",GmErr_TOKEN_NOT_FOUND:"O token não foi encontrado.",GmErr_INVALID_PHONE_NUMBER:"O número de telefone fornecido é inválido.",GmErr_CODE_MISSING:"O código necessário está faltando.",GmErr_UNREGISTERED_USER:"O usuário não está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"O número máximo de tentativas para gerar um código foi excedido.",GmErr_UNEXPECTED_EXCEPTION:"Ocorreu uma exceção inesperada.",GmErr_INVALID_USER_ID:"O ID do usuário fornecido é inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta ação não é permitida.",GmErr_CAN_NOT_FIND_ROLE:"Não foi possível encontrar a função especificada.",GmErr_NO_SESSION_PROVIDED:"Nenhuma sessão foi fornecida.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nenhuma sessão ativa encontrada para este usuário.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"O usuário já foi anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nenhuma função foi configurada para ser atribuída.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A sessão fornecida não pertence ao usuário.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A sessão fornecida não existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A função já foi atribuída ao usuário.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falha ao atribuir a função ao usuário.",GmErr_BadRequest_1000:"Houve um problema com o número de identificação pessoal",CountryRestricted:"Infelizmente, você está tentando se registrar a partir de um país onde não podemos aceitar jogos. Não podemos processar seu registro por esse motivo.",nextButton:"Seguindo",backButton:"Voltar",doneButton:"Terminar",generalError:"Alguma coisa deu errado. Por favor tente outra vez",successMessage:"Registro bem-sucedido",GmErr_BadRequest_Duplicate_User:"Um usuário com essas informações já existe.",GmErr_BadRequest_PasswordContainsUsername:"A senha não pode ser igual ao nome de usuário.",GmErr_BadRequest_PasswordContainsEmail:"A senha não pode ser igual ao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Já existe um registro com os dados que você inseriu ou você inseriu seus dados em um formato incorreto.",GmErr_Forbidden_UserAccount_NavExcluded:"Usuário está NAV Excluído. Registro foi negado.",GmErr_BadRequest_ModelValidationFailed:"Algo deu errado... Por favor, tente novamente.",GmErr_BadInternalConfigs:"Algo deu errado... Por favor, tente novamente.",GmErr_Unauthorized:"Algo deu errado... Por favor, tente novamente.",GmErr_NotFound:"Algo deu errado... Por favor, tente novamente.",BadRequest_Duplicate_User:"Usuário com o mesmo nome de usuário já existe.",BadRequest:"A solicitação é inválida, por favor, verifique a API.",Unauthorized:"O número da conta do jogador, endereço de e-mail ou senha estão incorretos",Forbidden_TooManyAttempts:"Você fez muitas tentativas de login inválidas, sua conta foi bloqueada, por favor, tente novamente mais tarde.",Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu registro e acessar sua conta, verifique sua caixa de entrada de 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 ajuda através do serviço de atendimento ao cliente.",GmErr_BadRequest_ExpiredToken:"O token que você está usando está expirado.",GmErr_BadRequest_INVALID_CODE:"O código que você está usando é inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Você fez muitas tentativas de validar seu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Você fez muitas tentativas de gerar seu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Você foi bloqueado devido a um código inválido.",GmErr_BadRequest_CODE_MISSING:"O token está faltando para sua solicitação.",GmErr_BadRequest_TOKEN_NOT_FOUND:"O token não foi encontrado para sua solicitação.",GmErr_BadRequest_USER_NOT_REGISTERED:"O usuário não está registrado. Por favor, registre-se primeiro.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"O número de telefone que você está usando é inválido.",GmErr_BadRequest_INVALID_USER_ID:"O ID do usuário é inválido.",GmErr_UnexpectedException:"Algo deu errado... Por favor, tente novamente.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: A resposta do MoF confirma que o jogador é menor de idade ou não é residente da Croácia.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: O MoF não retorna uma resposta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: Erro interno."},"es-mx":{GmErr_AMOUNT_INVALID:"El monto especificado es inválido.",GmErr_REGISTER_OVERAGE:"La inscripción ha excedido el límite permitido.",GmErr_REGISTER_UNDERAGE:"La inscripción está por debajo del límite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Autenticación de usuario fallida debido a demasiados intentos fallidos.",GmErr_USER_ACCOUNT_BLOCKED:"La cuenta del usuario está bloqueada.",GmErr_USER_NOT_VERIFIED:"El usuario no ha sido verificado.",GmErr_USER_NOT_FOUND:"No se encontró ningún usuario con la información proporcionada.",GmErr_USER_ID_INVALID:"El ID de usuario proporcionado es inválido.",GmErr_USER_AUTH_FAILED:"La autenticación del usuario falló.",GmErr_USER_DUPLICATED:"El usuario ya existe en el sistema.",GmErr_USER_NOT_ACTIVATED:"La cuenta del usuario no está activada.",GmErr_PASSWORD_CONTAINS_EMAIL:"La contraseña no puede contener la dirección de correo electrónico.",GmErr_PASSWORD_CONTAINS_USERNAME:"La contraseña no puede contener el nombre de usuario.",GmErr_PASSWORD_CONTAINS_SPACES:"La contraseña no puede contener espacios.",GmErr_USER_4TS_CHECK_EXISTS:"La verificación 4TS del usuario ya existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"El usuario está excluido del registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"El usuario está excluido del inicio de sesión.",GmErr_USERNAME_REQUIRED:"Se requiere un nombre de usuario.",GmErr_USER_EMAIL_NOT_VERIFIED:"La dirección de correo electrónico del usuario no ha sido verificada.",GmErr_EMAIL_ALREADY_EXISTS:"Ya existe un usuario con el mismo correo electrónico",GmErr_EMAIL_REQUIRED:"Se requiere una dirección de correo electrónico.",GmErr_USERNAME_ALREADY_EXISTS:"El nombre de usuario ya está en uso.",GmErr_DUPLICATE_PERSONAL_ID:"Se encontró un ID personal duplicado.",GmErr_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_INVALID_CODE:"El código proporcionado es inválido.",GmErr_EXPIRED_TOKEN:"El token ha expirado.",GmErr_ATTEMPTS_EXCEEDED:"Se ha excedido el número máximo de intentos.",GmErr_BLOCK_USER_INCORRECT_CODE:"El usuario ha sido bloqueado debido a un código incorrecto.",GmErr_TOKEN_NOT_FOUND:"No se encontró el token.",GmErr_INVALID_PHONE_NUMBER:"El número de teléfono proporcionado es inválido.",GmErr_CODE_MISSING:"Falta el código necesario.",GmErr_UNREGISTERED_USER:"El usuario no está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Se ha excedido el número máximo de intentos para generar un código.",GmErr_UNEXPECTED_EXCEPTION:"Ocurrió una excepción inesperada.",GmErr_INVALID_USER_ID:"El ID de usuario proporcionado es inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta acción no está permitida.",GmErr_CAN_NOT_FIND_ROLE:"No se pudo encontrar el rol especificado.",GmErr_NO_SESSION_PROVIDED:"No se proporcionó ninguna sesión.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No se encontró ninguna sesión activa para este usuario.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"El usuario ya ha sido anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No se ha configurado ningún rol para ser asignado.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La sesión proporcionada no pertenece al usuario.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La sesión proporcionada no existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"El rol ya ha sido asignado al usuario.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falló la asignación del rol al usuario.",GmErr_BadRequest_1000:"Hubo un problema con el número de identificación personal",CountryRestricted:"Desafortunadamente, estás intentando registrarte desde un país donde no podemos aceptar juegos. No podemos procesar tu registro por esta razón.",nextButton:"Siguiente",backButton:"Atrás",doneButton:"Terminar",generalError:"Algo salió mal... Por favor intente de nuevo",successMessage:"Registro exitoso",GmErr_BadRequest_Duplicate_User:"Ya existe un usuario con esta información.",GmErr_BadRequest_PasswordContainsUsername:"La contraseña no puede ser la misma que el nombre de usuario.",GmErr_BadRequest_PasswordContainsEmail:"La contraseña no puede ser la misma que el correo electrónico.",GmErr_BadRequest_Duplicate_PersonalId:"Ya existe un registro con los datos que ingresaste o ingresaste tus datos en un formato incorrecto.",GmErr_Forbidden_UserAccount_NavExcluded:"El usuario está excluido de NAV. El registro fue denegado.",GmErr_BadRequest_ModelValidationFailed:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_BadInternalConfigs:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_Unauthorized:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_NotFound:"Algo salió mal... Por favor, inténtalo de nuevo.",BadRequest_Duplicate_User:"Ya existe un usuario con el mismo nombre de usuario.",BadRequest:"La solicitud es inválida, por favor verifica la API.",Unauthorized:"El número de cuenta del jugador, la dirección de correo electrónico o la contraseña son incorrectos",Forbidden_TooManyAttempts:"Has realizado demasiados intentos de inicio de sesión inválidos, tu cuenta ha sido bloqueada, por favor inténtalo de nuevo más tarde.",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, verifica tu bandeja de entrada de correo electrónico para un mensaje de confirmación. Si no has recibido el correo electrónico, verifica también tu carpeta de spam. Si necesitas ayuda, puedes solicitar ayuda a través del servicio de atención al cliente.",GmErr_BadRequest_ExpiredToken:"El token que estás utilizando ha expirado.",GmErr_BadRequest_INVALID_CODE:"El código que estás utilizando es inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Has realizado demasiados intentos de validar tu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Has realizado demasiados intentos de generar tu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Has sido bloqueado debido a un código inválido.",GmErr_BadRequest_CODE_MISSING:"Falta el token para tu solicitud.",GmErr_BadRequest_TOKEN_NOT_FOUND:"No se encontró el token para tu solicitud.",GmErr_BadRequest_USER_NOT_REGISTERED:"El usuario no está registrado. Por favor, regístrate primero.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"El número de teléfono que estás utilizando es inválido.",GmErr_BadRequest_INVALID_USER_ID:"El ID de usuario es inválido.",GmErr_UnexpectedException:"Algo salió mal... Por favor, inténtalo de nuevo.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: La respuesta del MoF confirma que el jugador es menor de edad o no es residente croata.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: El MoF no devuelve una respuesta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: Error interno."},tr:{GmErr_AMOUNT_INVALID:"Belirtilen miktar geçersiz.",GmErr_REGISTER_OVERAGE:"Kayıt izin verilen sınırı aştı.",GmErr_REGISTER_UNDERAGE:"Kayıt izin verilen sınırın altında.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Çok fazla başarısız deneme nedeniyle kullanıcı kimlik doğrulaması başarısız oldu.",GmErr_USER_ACCOUNT_BLOCKED:"Kullanıcı hesabı engellendi.",GmErr_USER_NOT_VERIFIED:"Kullanıcı doğrulanmadı.",GmErr_USER_NOT_FOUND:"Sağlanan bilgilerle kullanıcı bulunamadı.",GmErr_USER_ID_INVALID:"Sağlanan kullanıcı kimliği geçersiz.",GmErr_USER_AUTH_FAILED:"Kullanıcı kimlik doğrulaması başarısız oldu.",GmErr_USER_DUPLICATED:"Kullanıcı sistemde zaten mevcut.",GmErr_USER_NOT_ACTIVATED:"Kullanıcı hesabı etkinleştirilmedi.",GmErr_PASSWORD_CONTAINS_EMAIL:"Parola e-posta adresini içeremez.",GmErr_PASSWORD_CONTAINS_USERNAME:"Parola kullanıcı adını içeremez.",GmErr_PASSWORD_CONTAINS_SPACES:"Parola boşluk içeremez.",GmErr_USER_4TS_CHECK_EXISTS:"Kullanıcı 4TS kontrolü zaten mevcut.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Kullanıcı kayıttan hariç tutuldu.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Kullanıcı girişten hariç tutuldu.",GmErr_USERNAME_REQUIRED:"Bir kullanıcı adı gereklidir.",GmErr_USER_EMAIL_NOT_VERIFIED:"Kullanıcının e-posta adresi doğrulanmadı.",GmErr_EMAIL_ALREADY_EXISTS:"Aynı e-posta ile kullanıcı zaten mevcut.",GmErr_EMAIL_REQUIRED:"Bir e-posta adresi gereklidir.",GmErr_USERNAME_ALREADY_EXISTS:"Kullanıcı adı zaten alınmış.",GmErr_DUPLICATE_PERSONAL_ID:"Çift kişisel kimlik bulundu.",GmErr_INVALID_USER_DOCUMENT:"Kullanıcı belgesi geçersiz.",GmErr_INVALID_CODE:"Sağlanan kod geçersiz.",GmErr_EXPIRED_TOKEN:"Token süresi dolmuş.",GmErr_ATTEMPTS_EXCEEDED:"Maksimum deneme sayısı aşıldı.",GmErr_BLOCK_USER_INCORRECT_CODE:"Yanlış kod nedeniyle kullanıcı engellendi.",GmErr_TOKEN_NOT_FOUND:"Token bulunamadı.",GmErr_INVALID_PHONE_NUMBER:"Sağlanan telefon numarası geçersiz.",GmErr_CODE_MISSING:"Kod eksik.",GmErr_UNREGISTERED_USER:"Kullanıcı kayıtlı değil.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Kod oluşturma denemeleri maksimuma ulaştı.",GmErr_UNEXPECTED_EXCEPTION:"Beklenmeyen bir istisna oluştu.",GmErr_INVALID_USER_ID:"Sağlanan kullanıcı kimliği geçersiz.",GmErr_NOT_ALLOWED_EXCEPTION:"Bu işlem izin verilmiyor.",GmErr_CAN_NOT_FIND_ROLE:"Belirtilen rol bulunamıyor.",GmErr_NO_SESSION_PROVIDED:"Oturum sağlanmadı.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Bu kullanıcı için aktif oturum bulunamadı.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Kullanıcı zaten anonimleştirilmiş.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Atanacak bir rol ayarlanmadı.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Sağlanan oturum kullanıcıya ait değil.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Sağlanan oturum mevcut değil.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Rol zaten kullanıcıya atanmış.",GmErr_ASSIGN_USER_ROLE_FAILED:"Kullanıcıya rol atama başarısız oldu.",GmErr_BadRequest_1000:"Kişisel kimlik numarası ile ilgili bir sorun var.",CountryRestricted:"Maalesef, oyun oynayamayacağımız bir ülkeden kayıt yapmaya çalışıyorsunuz. Bu nedenle kaydınızı işleyemiyoruz.",nextButton:"İleri",backButton:"Geri",doneButton:"Tamam",generalError:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",successMessage:"Kayıt başarılı",GmErr_BadRequest_Duplicate_User:"Bu bilgilerle bir kullanıcı zaten mevcut.",GmErr_BadRequest_PasswordContainsUsername:"Parola kullanıcı adı ile aynı olamaz.",GmErr_BadRequest_PasswordContainsEmail:"Parola e-posta ile aynı olamaz.",GmErr_BadRequest_Duplicate_PersonalId:"Girdiğiniz verilerle zaten bir kayıt var veya verilerinizi yanlış formatta girdiniz.",GmErr_Forbidden_UserAccount_NavExcluded:"Kullanıcı NAV hariç tutuldu. Kayıt reddedildi.",GmErr_BadRequest_ModelValidationFailed:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_BadInternalConfigs:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_Unauthorized:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_NotFound:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",BadRequest_Duplicate_User:"Aynı kullanıcı adı ile kullanıcı zaten mevcut.",BadRequest:"İstek geçersiz, lütfen API'yi kontrol edin.",Unauthorized:"Oyuncu hesap numarası, e-posta adresi veya parola yanlış",Forbidden_TooManyAttempts:"Çok fazla geçersiz giriş denemesi yaptınız, hesabınız bloke edildi, lütfen daha sonra tekrar deneyin.",Forbidden_UserAccount_NotActive:"E-posta adresinizi henüz doğrulamadığınız görünüyor. Kaydınızı tamamlamak ve hesabınıza erişmek için e-posta gelen kutunuzu bir onay mesajı için kontrol edin. E-postayı almadıysanız, spam klasörünüzü de kontrol edin. Yardıma ihtiyacınız varsa, müşteri hizmetleri aracılığıyla yardım isteyebilirsiniz.",GmErr_BadRequest_ExpiredToken:"Kullandığınız token süresi dolmuş.",GmErr_BadRequest_INVALID_CODE:"Kullandığınız kod geçersiz.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Kodunuzu doğrulamak için çok fazla deneme yaptınız.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Kodunuzu oluşturmak için çok fazla deneme yaptınız.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Geçersiz kod nedeniyle engellendiniz.",GmErr_BadRequest_CODE_MISSING:"İsteğiniz için token eksik.",GmErr_BadRequest_TOKEN_NOT_FOUND:"İsteğiniz için token bulunamadı.",GmErr_BadRequest_USER_NOT_REGISTERED:"Kullanıcı kayıtlı değil. Lütfen önce kayıt olun.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Kullandığınız telefon numarası geçersiz.",GmErr_BadRequest_INVALID_USER_ID:"Kullanıcı kimliği geçersiz.",GmErr_UnexpectedException:"Bir şeyler ters gitti... Lütfen tekrar deneyin.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Kullanıcı belgesi geçersiz.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: MoF yanıtı, oyuncunun reşit olmadığını veya Hırvatistan sakini olmadığını doğruluyor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: MoF yanıt vermiyor.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Kayıt, Hırvatistan Maliye Bakanlığı PersonaID doğrulama hatası nedeniyle engellendi: İç hata."},"en-us":{GmErr_AMOUNT_INVALID:"The specified amount is invalid.",GmErr_REGISTER_OVERAGE:"The registration has exceeded the allowable limit.",GmErr_REGISTER_UNDERAGE:"The registration is under the allowable limit.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"User authentication failed due to too many unsuccessful attempts.",GmErr_USER_ACCOUNT_BLOCKED:"The user account is blocked.",GmErr_USER_NOT_VERIFIED:"The user has not been verified.",GmErr_USER_NOT_FOUND:"No user found with the provided information.",GmErr_USER_ID_INVALID:"The user ID provided is invalid.",GmErr_USER_AUTH_FAILED:"User authentication failed.",GmErr_USER_DUPLICATED:"The user already exists in the system.",GmErr_USER_NOT_ACTIVATED:"The user account has not been activated.",GmErr_PASSWORD_CONTAINS_EMAIL:"The password cannot contain the email address.",GmErr_PASSWORD_CONTAINS_USERNAME:"The password cannot contain the username.",GmErr_PASSWORD_CONTAINS_SPACES:"The password cannot contain spaces.",GmErr_USER_4TS_CHECK_EXISTS:"The user 4TS check already exists.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"The user is excluded from registration.",GmErr_USER_NAV_EXCLUDED_LOGIN:"The user is excluded from login.",GmErr_USERNAME_REQUIRED:"A username is required.",GmErr_USER_EMAIL_NOT_VERIFIED:"The user's email address has not been verified.",GmErr_EMAIL_ALREADY_EXISTS:"User with same email already exists",GmErr_EMAIL_REQUIRED:"An email address is required.",GmErr_USERNAME_ALREADY_EXISTS:"The username is already taken.",GmErr_DUPLICATE_PERSONAL_ID:"Duplicate personal ID found.",GmErr_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_INVALID_CODE:"The code provided is invalid.",GmErr_EXPIRED_TOKEN:"The token has expired.",GmErr_ATTEMPTS_EXCEEDED:"The maximum number of attempts has been exceeded.",GmErr_BLOCK_USER_INCORRECT_CODE:"The user has been blocked due to an incorrect code.",GmErr_TOKEN_NOT_FOUND:"The token was not found.",GmErr_INVALID_PHONE_NUMBER:"The phone number provided is invalid.",GmErr_CODE_MISSING:"The code is missing.",GmErr_UNREGISTERED_USER:"The user is not registered.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Maximum attempts to generate a code have been exceeded.",GmErr_UNEXPECTED_EXCEPTION:"An unexpected exception occurred.",GmErr_INVALID_USER_ID:"The user ID provided is invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"This action is not allowed.",GmErr_CAN_NOT_FIND_ROLE:"Unable to find the specified role.",GmErr_NO_SESSION_PROVIDED:"No session was provided.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No active session found for this user.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"The user has already been anonymized.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No role has been set up to be assigned.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"The provided session does not belong to the user.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"The provided session does not exist.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"The role has already been assigned to the user.",GmErr_ASSIGN_USER_ROLE_FAILED:"Failed to assign a role to the user.",GmErr_BadRequest_1000:"There was a problem with the personal identification number",CountryRestricted:"Unfortunately, you are attempting to register from a country where we cannot accept gameplay. We are unable to process your registration for this reason.",nextButton:"Next",backButton:"Back",doneButton:"Done",generalError:"Something went wrong... Please try again.",successMessage:"Register successful",GmErr_BadRequest_Duplicate_User:"A user with this information already exists.",GmErr_BadRequest_PasswordContainsUsername:"The password cannot be the same as the username.",GmErr_BadRequest_PasswordContainsEmail:"The password cannot be the same as the email.",GmErr_BadRequest_Duplicate_PersonalId:"There is already a registration with the data you entered or you entered your data in an incorrect format.",GmErr_Forbidden_UserAccount_NavExcluded:"User is NAV Excluded. Registration was denied.",GmErr_BadRequest_ModelValidationFailed:"Something went wrong... Please try again.",GmErr_BadInternalConfigs:"Something went wrong... Please try again.",GmErr_Unauthorized:"Something went wrong... Please try again.",GmErr_NotFound:"Something went wrong... Please try again.",BadRequest_Duplicate_User:"User with same username already exists.",BadRequest:"The request is invalid, please check the API.",Unauthorized:"The player account number, e-mail address or password is incorrect",Forbidden_TooManyAttempts:"You have made too many invalid login attempts, your account has been blocked, please try again later.",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.",GmErr_BadRequest_ExpiredToken:"The token you are using is expired.",GmErr_BadRequest_INVALID_CODE:"The code you are using is invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"You have made too many attempts to validate your code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"You have made too many attempts to generate your code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"You have been blocked due to an invalid code.",GmErr_BadRequest_CODE_MISSING:"The token is missing for your request.",GmErr_BadRequest_TOKEN_NOT_FOUND:"The token is not found for your request.",GmErr_BadRequest_USER_NOT_REGISTERED:"The user is not registered. Please register first.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"The phone number you are using is invalid.",GmErr_BadRequest_INVALID_USER_ID:"The user ID is invalid.",GmErr_UnexpectedException:"Something went wrong... Please try again.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"The user document is invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF response confirms player IS underaged or IS NOT a Croatian resident.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: MoF fails to return a response.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Registration was blocked due to the Croatian Ministry of Finance PersonaID verification failure with reason: Internal error."},ro:{GmErr_AMOUNT_INVALID:"Suma specificată este invalidă.",GmErr_REGISTER_OVERAGE:"Înregistrarea a depășit limita permisă.",GmErr_REGISTER_UNDERAGE:"Înregistrarea este sub limita permisă.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Autentificarea utilizatorului a eșuat din cauza prea multor încercări nereușite.",GmErr_USER_ACCOUNT_BLOCKED:"Contul utilizatorului este blocat.",GmErr_USER_NOT_VERIFIED:"Utilizatorul nu a fost verificat.",GmErr_USER_NOT_FOUND:"Nu s-a găsit niciun utilizator cu informațiile furnizate.",GmErr_USER_ID_INVALID:"ID-ul utilizatorului furnizat este invalid.",GmErr_USER_AUTH_FAILED:"Autentificarea utilizatorului a eșuat.",GmErr_USER_DUPLICATED:"Utilizatorul există deja în sistem.",GmErr_USER_NOT_ACTIVATED:"Contul utilizatorului nu a fost activat.",GmErr_PASSWORD_CONTAINS_EMAIL:"Parola nu poate conține adresa de email.",GmErr_PASSWORD_CONTAINS_USERNAME:"Parola nu poate conține numele de utilizator.",GmErr_PASSWORD_CONTAINS_SPACES:"Parola nu poate conține spații.",GmErr_USER_4TS_CHECK_EXISTS:"Verificarea utilizatorului 4TS există deja.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Utilizatorul este exclus de la înregistrare.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Utilizatorul este exclus de la autentificare.",GmErr_USERNAME_REQUIRED:"Este necesar un nume de utilizator.",GmErr_USER_EMAIL_NOT_VERIFIED:"Adresa de email a utilizatorului nu a fost verificată.",GmErr_EMAIL_ALREADY_EXISTS:"Un utilizator cu același email există deja.",GmErr_EMAIL_REQUIRED:"Este necesară o adresă de email.",GmErr_USERNAME_ALREADY_EXISTS:"Numele de utilizator este deja utilizat.",GmErr_DUPLICATE_PERSONAL_ID:"S-a găsit un ID personal duplicat.",GmErr_INVALID_USER_DOCUMENT:"Documentul utilizatorului este invalid.",GmErr_INVALID_CODE:"Codul furnizat este invalid.",GmErr_EXPIRED_TOKEN:"Token-ul a expirat.",GmErr_ATTEMPTS_EXCEEDED:"Numărul maxim de încercări a fost depășit.",GmErr_BLOCK_USER_INCORRECT_CODE:"Utilizatorul a fost blocat din cauza unui cod incorect.",GmErr_TOKEN_NOT_FOUND:"Token-ul nu a fost găsit.",GmErr_INVALID_PHONE_NUMBER:"Numărul de telefon furnizat este invalid.",GmErr_CODE_MISSING:"Lipsește codul.",GmErr_UNREGISTERED_USER:"Utilizatorul nu este înregistrat.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"S-a depășit numărul maxim de încercări pentru generarea unui cod.",GmErr_UNEXPECTED_EXCEPTION:"A apărut o eroare neașteptată.",GmErr_INVALID_USER_ID:"ID-ul utilizatorului furnizat este invalid.",GmErr_NOT_ALLOWED_EXCEPTION:"Acțiunea nu este permisă.",GmErr_CAN_NOT_FIND_ROLE:"Nu s-a găsit rolul specificat.",GmErr_NO_SESSION_PROVIDED:"Nu a fost furnizată nicio sesiune.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nu a fost găsită nicio sesiune activă pentru acest utilizator.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Utilizatorul a fost deja anonimizat.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nu a fost configurat niciun rol de atribuit.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Sesiunea furnizată nu aparține utilizatorului.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Sesiunea furnizată nu există.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Rolul a fost deja atribuit utilizatorului.",GmErr_ASSIGN_USER_ROLE_FAILED:"Atribuirea rolului utilizatorului a eșuat.",GmErr_BadRequest_1000:"A apărut o problemă cu numărul de identificare personal.",CountryRestricted:"Din păcate, încercați să vă înregistrați dintr-o țară unde nu putem accepta jocuri. Din acest motiv, nu vă putem procesa înregistrarea.",nextButton:"Următorul",backButton:"Înapoi",doneButton:"Finalizat",generalError:"Ceva a mers prost... Vă rugăm să încercați din nou.",successMessage:"Înregistrare reușită",GmErr_BadRequest_Duplicate_User:"Un utilizator cu aceste informații există deja.",GmErr_BadRequest_PasswordContainsUsername:"Parola nu poate fi aceeași cu numele de utilizator.",GmErr_BadRequest_PasswordContainsEmail:"Parola nu poate fi aceeași cu e-mailul.",GmErr_BadRequest_Duplicate_PersonalId:"Există deja o înregistrare cu datele pe care le-ați introdus sau ați introdus datele într-un format incorect.",GmErr_Forbidden_UserAccount_NavExcluded:"Utilizatorul este exclus NAV. Înregistrarea a fost refuzată.",GmErr_BadRequest_ModelValidationFailed:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_BadInternalConfigs:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_Unauthorized:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_NotFound:"Ceva a mers prost... Vă rugăm să încercați din nou.",BadRequest_Duplicate_User:"Există deja un utilizator cu același nume de utilizator.",BadRequest:"Cererea este invalidă, vă rugăm să verificați API-ul.",Unauthorized:"Numărul contului jucătorului, adresa de e-mail sau parola sunt incorecte",Forbidden_TooManyAttempts:"Ați făcut prea multe încercări de conectare invalide, contul dvs. a fost blocat, vă rugăm să încercați din nou mai târziu.",Forbidden_UserAccount_NotActive:"Se pare că nu v-ați confirmat încă adresa de e-mail. Pentru a finaliza înregistrarea și a accesa contul dvs., verificați căsuța de e-mail pentru un mesaj de confirmare. Dacă nu ați primit e-mailul, verificați și folderul de spam. Dacă aveți nevoie de asistență, puteți solicita ajutor prin serviciul de asistență pentru clienți.",GmErr_BadRequest_ExpiredToken:"Tokenul pe care îl utilizați este expirat.",GmErr_BadRequest_INVALID_CODE:"Codul pe care îl utilizați este invalid.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Ați făcut prea multe încercări de validare a codului.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Ați făcut prea multe încercări de generare a codului.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Ați fost blocat din cauza unui cod invalid.",GmErr_BadRequest_CODE_MISSING:"Tokenul lipsește pentru solicitarea dvs.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Tokenul nu a fost găsit pentru solicitarea dvs.",GmErr_BadRequest_USER_NOT_REGISTERED:"Utilizatorul nu este înregistrat. Vă rugăm să vă înregistrați mai întâi.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Numărul de telefon pe care îl utilizați este invalid.",GmErr_BadRequest_INVALID_USER_ID:"ID-ul utilizatorului este invalid.",GmErr_UnexpectedException:"Ceva a mers prost... Vă rugăm să încercați din nou.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Documentul utilizatorului este invalid.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: Răspunsul MoF confirmă că jucătorul este minor sau nu este rezident croat.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: MoF nu returnează un răspuns.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Înregistrarea a fost blocată din cauza eșecului verificării PersonaID de către Ministerul Finanțelor din Croația cu motivul: Eroare internă."},fr:{GmErr_AMOUNT_INVALID:"Le montant spécifié est invalide.",GmErr_REGISTER_OVERAGE:"L'inscription a dépassé la limite autorisée.",GmErr_REGISTER_UNDERAGE:"L'inscription est en dessous de la limite autorisée.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Échec de l'authentification utilisateur en raison de trop nombreuses tentatives infructueuses.",GmErr_USER_ACCOUNT_BLOCKED:"Le compte utilisateur est bloqué.",GmErr_USER_NOT_VERIFIED:"L'utilisateur n'a pas été vérifié.",GmErr_USER_NOT_FOUND:"Aucun utilisateur trouvé avec les informations fournies.",GmErr_USER_ID_INVALID:"L'identifiant utilisateur fourni est invalide.",GmErr_USER_AUTH_FAILED:"Échec de l'authentification utilisateur.",GmErr_USER_DUPLICATED:"L'utilisateur existe déjà dans le système.",GmErr_USER_NOT_ACTIVATED:"Le compte utilisateur n'a pas été activé.",GmErr_PASSWORD_CONTAINS_EMAIL:"Le mot de passe ne peut pas contenir l'adresse e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"Le mot de passe ne peut pas contenir le nom d'utilisateur.",GmErr_PASSWORD_CONTAINS_SPACES:"Le mot de passe ne peut pas contenir d'espaces.",GmErr_USER_4TS_CHECK_EXISTS:"La vérification utilisateur 4TS existe déjà.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"L'utilisateur est exclu de l'enregistrement.",GmErr_USER_NAV_EXCLUDED_LOGIN:"L'utilisateur est exclu de la connexion.",GmErr_USERNAME_REQUIRED:"Un nom d'utilisateur est requis.",GmErr_USER_EMAIL_NOT_VERIFIED:"L'adresse e-mail de l'utilisateur n'a pas été vérifiée.",GmErr_EMAIL_ALREADY_EXISTS:"Un utilisateur avec la même adresse e-mail existe déjà.",GmErr_EMAIL_REQUIRED:"Une adresse e-mail est requise.",GmErr_USERNAME_ALREADY_EXISTS:"Le nom d'utilisateur est déjà pris.",GmErr_DUPLICATE_PERSONAL_ID:"Un identifiant personnel dupliqué a été trouvé.",GmErr_INVALID_USER_DOCUMENT:"Le document utilisateur est invalide.",GmErr_INVALID_CODE:"Le code fourni est invalide.",GmErr_EXPIRED_TOKEN:"Le jeton a expiré.",GmErr_ATTEMPTS_EXCEEDED:"Le nombre maximum de tentatives a été dépassé.",GmErr_BLOCK_USER_INCORRECT_CODE:"L'utilisateur a été bloqué en raison d'un code incorrect.",GmErr_TOKEN_NOT_FOUND:"Le jeton n'a pas été trouvé.",GmErr_INVALID_PHONE_NUMBER:"Le numéro de téléphone fourni est invalide.",GmErr_CODE_MISSING:"Le code est manquant.",GmErr_UNREGISTERED_USER:"L'utilisateur n'est pas enregistré.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Le nombre maximum de tentatives pour générer un code a été dépassé.",GmErr_UNEXPECTED_EXCEPTION:"Une exception inattendue s'est produite.",GmErr_INVALID_USER_ID:"L'identifiant utilisateur fourni est invalide.",GmErr_NOT_ALLOWED_EXCEPTION:"Cette action n'est pas autorisée.",GmErr_CAN_NOT_FIND_ROLE:"Impossible de trouver le rôle spécifié.",GmErr_NO_SESSION_PROVIDED:"Aucune session n'a été fournie.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Aucune session active n'a été trouvée pour cet utilisateur.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"L'utilisateur a déjà été anonymisé.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Aucun rôle n'a été configuré pour être attribué.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La session fournie n'appartient pas à l'utilisateur.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La session fournie n'existe pas.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Le rôle a déjà été attribué à l'utilisateur.",GmErr_ASSIGN_USER_ROLE_FAILED:"Échec de l'attribution d'un rôle à l'utilisateur.",GmErr_BadRequest_1000:"Un problème est survenu avec le numéro d'identification personnel.",CountryRestricted:"Malheureusement, vous essayez de vous inscrire depuis un pays où nous ne pouvons pas accepter les jeux. Nous ne pouvons pas traiter votre inscription pour cette raison.",nextButton:"Suivant",backButton:"Retour",GmErr_BadRequest_Duplicate_User:"Un utilisateur avec ces informations existe déjà.",GmErr_BadRequest_PasswordContainsUsername:"Le mot de passe ne peut pas être le même que le nom d'utilisateur.",GmErr_BadRequest_PasswordContainsEmail:"Le mot de passe ne peut pas être le même que l'e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Il existe déjà une inscription avec les données que vous avez saisies ou vous avez saisi vos données dans un format incorrect.",GmErr_Forbidden_UserAccount_NavExcluded:"L'utilisateur est exclu NAV. L'inscription a été refusée.",GmErr_BadRequest_ModelValidationFailed:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_BadInternalConfigs:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_Unauthorized:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_NotFound:"Quelque chose a mal tourné... Veuillez réessayer.",BadRequest_Duplicate_User:"Un utilisateur avec le même nom d'utilisateur existe déjà.",BadRequest:"La demande est invalide, veuillez vérifier l'API.",Unauthorized:"Le numéro de compte du joueur, l'adresse e-mail ou le mot de passe est incorrect",Forbidden_TooManyAttempts:"Vous avez fait trop de tentatives de connexion invalides, votre compte a été bloqué, veuillez réessayer plus tard.",Forbidden_UserAccount_NotActive:"Il semble que vous n'avez pas encore confirmé votre adresse e-mail. Pour compléter 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 de spam. Si vous avez besoin d'aide, vous pouvez demander de l'aide via le service client.",GmErr_BadRequest_ExpiredToken:"Le jeton que vous utilisez est expiré.",GmErr_BadRequest_INVALID_CODE:"Le code que vous utilisez est invalide.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Vous avez fait trop de tentatives pour valider votre code.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Vous avez fait trop de tentatives pour générer votre code.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Vous avez été bloqué en raison d'un code invalide.",GmErr_BadRequest_CODE_MISSING:"Le jeton est manquant pour votre demande.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Le jeton n'a pas été trouvé pour votre demande.",GmErr_BadRequest_USER_NOT_REGISTERED:"L'utilisateur n'est pas enregistré. Veuillez vous inscrire d'abord.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Le numéro de téléphone que vous utilisez est invalide.",GmErr_BadRequest_INVALID_USER_ID:"L'ID utilisateur est invalide.",GmErr_UnexpectedException:"Quelque chose a mal tourné... Veuillez réessayer.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Le document utilisateur est invalide.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : La réponse du MoF confirme que le joueur est mineur ou n'est pas résident croate.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : Le MoF ne renvoie pas de réponse.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"L'inscription a été bloquée en raison de l'échec de la vérification PersonaID par le ministère des Finances croate avec la raison : Erreur interne."},es:{GmErr_AMOUNT_INVALID:"El monto especificado no es válido.",GmErr_REGISTER_OVERAGE:"El registro ha excedido el límite permitido.",GmErr_REGISTER_UNDERAGE:"El registro está por debajo del límite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"La autenticación del usuario falló debido a demasiados intentos fallidos.",GmErr_USER_ACCOUNT_BLOCKED:"La cuenta del usuario está bloqueada.",GmErr_USER_NOT_VERIFIED:"El usuario no ha sido verificado.",GmErr_USER_NOT_FOUND:"No se encontró un usuario con la información proporcionada.",GmErr_USER_ID_INVALID:"El ID de usuario proporcionado no es válido.",GmErr_USER_AUTH_FAILED:"La autenticación del usuario falló.",GmErr_USER_DUPLICATED:"El usuario ya existe en el sistema.",GmErr_USER_NOT_ACTIVATED:"La cuenta del usuario no ha sido activada.",GmErr_PASSWORD_CONTAINS_EMAIL:"La contraseña no puede contener la dirección de correo electrónico.",GmErr_PASSWORD_CONTAINS_USERNAME:"La contraseña no puede contener el nombre de usuario.",GmErr_PASSWORD_CONTAINS_SPACES:"La contraseña no puede contener espacios.",GmErr_USER_4TS_CHECK_EXISTS:"La verificación del usuario 4TS ya existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"El usuario está excluido del registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"El usuario está excluido del inicio de sesión.",GmErr_USERNAME_REQUIRED:"Se requiere un nombre de usuario.",GmErr_USER_EMAIL_NOT_VERIFIED:"La dirección de correo electrónico del usuario no ha sido verificada.",GmErr_EMAIL_ALREADY_EXISTS:"Un usuario con el mismo correo electrónico ya existe.",GmErr_EMAIL_REQUIRED:"Se requiere una dirección de correo electrónico.",GmErr_USERNAME_ALREADY_EXISTS:"El nombre de usuario ya está en uso.",GmErr_DUPLICATE_PERSONAL_ID:"Se encontró un ID personal duplicado.",GmErr_INVALID_USER_DOCUMENT:"El documento del usuario no es válido.",GmErr_INVALID_CODE:"El código proporcionado no es válido.",GmErr_EXPIRED_TOKEN:"El token ha expirado.",GmErr_ATTEMPTS_EXCEEDED:"Se ha superado el número máximo de intentos.",GmErr_BLOCK_USER_INCORRECT_CODE:"El usuario ha sido bloqueado debido a un código incorrecto.",GmErr_TOKEN_NOT_FOUND:"No se encontró el token.",GmErr_INVALID_PHONE_NUMBER:"El número de teléfono proporcionado no es válido.",GmErr_CODE_MISSING:"Falta el código.",GmErr_UNREGISTERED_USER:"El usuario no está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Se ha superado el número máximo de intentos para generar un código.",GmErr_UNEXPECTED_EXCEPTION:"Ocurrió una excepción inesperada.",GmErr_INVALID_USER_ID:"El ID de usuario proporcionado no es válido.",GmErr_NOT_ALLOWED_EXCEPTION:"Esta acción no está permitida.",GmErr_CAN_NOT_FIND_ROLE:"No se pudo encontrar el rol especificado.",GmErr_NO_SESSION_PROVIDED:"No se proporcionó ninguna sesión.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"No se encontró ninguna sesión activa para este usuario.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"El usuario ya ha sido anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"No se ha configurado ningún rol para asignar.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"La sesión proporcionada no pertenece al usuario.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"La sesión proporcionada no existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"El rol ya ha sido asignado al usuario.",GmErr_ASSIGN_USER_ROLE_FAILED:"No se pudo asignar un rol al usuario.",GmErr_BadRequest_1000:"Hubo un problema con el número de identificación personal.",CountryRestricted:"Lamentablemente, estás intentando registrarte desde un país donde no podemos aceptar el juego. No podemos procesar tu registro por esta razón.",nextButton:"Siguiente",backButton:"Atrás",doneButton:"Hecho",generalError:"Algo salió mal... Por favor, inténtalo de nuevo.",successMessage:"Registro exitoso",GmErr_BadRequest_Duplicate_User:"Ya existe un usuario con esta información.",GmErr_BadRequest_PasswordContainsUsername:"La contraseña no puede ser la misma que el nombre de usuario.",GmErr_BadRequest_PasswordContainsEmail:"La contraseña no puede ser la misma que el correo electrónico.",GmErr_BadRequest_Duplicate_PersonalId:"Ya existe un registro con los datos que ingresó o ingresó sus datos en un formato incorrecto.",GmErr_Forbidden_UserAccount_NavExcluded:"El usuario está excluido de NAV. El registro fue denegado.",GmErr_BadRequest_ModelValidationFailed:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_BadInternalConfigs:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_Unauthorized:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_NotFound:"Algo salió mal... Por favor, inténtelo de nuevo.",BadRequest_Duplicate_User:"Ya existe un usuario con el mismo nombre de usuario.",BadRequest:"La solicitud es inválida, por favor verifique la API.",Unauthorized:"El número de cuenta del jugador, la dirección de correo electrónico o la contraseña son incorrectos",Forbidden_TooManyAttempts:"Ha realizado demasiados intentos de inicio de sesión inválidos, su cuenta ha sido bloqueada, por favor intente de nuevo más tarde.",Forbidden_UserAccount_NotActive:"Parece que aún no ha confirmado su dirección de correo electrónico. Para completar su registro y acceder a su cuenta, verifique su bandeja de entrada de correo electrónico para un mensaje de confirmación. Si no ha recibido el correo electrónico, verifique también su carpeta de spam. Si necesita ayuda, puede solicitar ayuda a través del servicio de atención al cliente.",GmErr_BadRequest_ExpiredToken:"El token que está utilizando ha expirado.",GmErr_BadRequest_INVALID_CODE:"El código que está utilizando es inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Ha realizado demasiados intentos de validar su código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Ha realizado demasiados intentos de generar su código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Ha sido bloqueado debido a un código inválido.",GmErr_BadRequest_CODE_MISSING:"Falta el token para su solicitud.",GmErr_BadRequest_TOKEN_NOT_FOUND:"No se encontró el token para su solicitud.",GmErr_BadRequest_USER_NOT_REGISTERED:"El usuario no está registrado. Por favor, regístrese primero.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"El número de teléfono que está utilizando es inválido.",GmErr_BadRequest_INVALID_USER_ID:"El ID de usuario es inválido.",GmErr_UnexpectedException:"Algo salió mal... Por favor, inténtelo de nuevo.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"El documento del usuario es inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: La respuesta del MoF confirma que el jugador es menor de edad o no es residente croata.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: El MoF no devuelve una respuesta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"El registro fue bloqueado debido a la falla de verificación de PersonaID por parte del Ministerio de Finanzas de Croacia con la razón: Error interno."},pt:{GmErr_AMOUNT_INVALID:"O valor especificado é inválido.",GmErr_REGISTER_OVERAGE:"O registro excedeu o limite permitido.",GmErr_REGISTER_UNDERAGE:"O registro está abaixo do limite permitido.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"A autenticação do usuário falhou devido a muitas tentativas malsucedidas.",GmErr_USER_ACCOUNT_BLOCKED:"A conta do usuário está bloqueada.",GmErr_USER_NOT_VERIFIED:"O usuário não foi verificado.",GmErr_USER_NOT_FOUND:"Nenhum usuário encontrado com as informações fornecidas.",GmErr_USER_ID_INVALID:"O ID de usuário fornecido é inválido.",GmErr_USER_AUTH_FAILED:"A autenticação do usuário falhou.",GmErr_USER_DUPLICATED:"O usuário já existe no sistema.",GmErr_USER_NOT_ACTIVATED:"A conta do usuário não foi ativada.",GmErr_PASSWORD_CONTAINS_EMAIL:"A senha não pode conter o endereço de e-mail.",GmErr_PASSWORD_CONTAINS_USERNAME:"A senha não pode conter o nome de usuário.",GmErr_PASSWORD_CONTAINS_SPACES:"A senha não pode conter espaços.",GmErr_USER_4TS_CHECK_EXISTS:"A verificação do usuário 4TS já existe.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"O usuário está excluído do registro.",GmErr_USER_NAV_EXCLUDED_LOGIN:"O usuário está excluído do login.",GmErr_USERNAME_REQUIRED:"É necessário um nome de usuário.",GmErr_USER_EMAIL_NOT_VERIFIED:"O endereço de e-mail do usuário não foi verificado.",GmErr_EMAIL_ALREADY_EXISTS:"Um usuário com o mesmo e-mail já existe.",GmErr_EMAIL_REQUIRED:"É necessário um endereço de e-mail.",GmErr_USERNAME_ALREADY_EXISTS:"O nome de usuário já está em uso.",GmErr_DUPLICATE_PERSONAL_ID:"ID pessoal duplicado encontrado.",GmErr_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_INVALID_CODE:"O código fornecido é inválido.",GmErr_EXPIRED_TOKEN:"O token expirou.",GmErr_ATTEMPTS_EXCEEDED:"O número máximo de tentativas foi excedido.",GmErr_BLOCK_USER_INCORRECT_CODE:"O usuário foi bloqueado devido a um código incorreto.",GmErr_TOKEN_NOT_FOUND:"O token não foi encontrado.",GmErr_INVALID_PHONE_NUMBER:"O número de telefone fornecido é inválido.",GmErr_CODE_MISSING:"O código está ausente.",GmErr_UNREGISTERED_USER:"O usuário não está registrado.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"O número máximo de tentativas para gerar um código foi excedido.",GmErr_UNEXPECTED_EXCEPTION:"Ocorreu uma exceção inesperada.",GmErr_INVALID_USER_ID:"O ID de usuário fornecido é inválido.",GmErr_NOT_ALLOWED_EXCEPTION:"Essa ação não é permitida.",GmErr_CAN_NOT_FIND_ROLE:"Não foi possível encontrar a função especificada.",GmErr_NO_SESSION_PROVIDED:"Nenhuma sessão foi fornecida.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Nenhuma sessão ativa encontrada para este usuário.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"O usuário já foi anonimizado.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Nenhuma função foi configurada para ser atribuída.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"A sessão fornecida não pertence ao usuário.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"A sessão fornecida não existe.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"A função já foi atribuída ao usuário.",GmErr_ASSIGN_USER_ROLE_FAILED:"Falha ao atribuir uma função ao usuário.",GmErr_BadRequest_1000:"Houve um problema com o número de identificação pessoal.",CountryRestricted:"Infelizmente, você está tentando se registrar de um país onde não podemos aceitar jogos. Não podemos processar seu registro por este motivo.",nextButton:"Próximo",backButton:"Voltar",doneButton:"Concluído",generalError:"Algo deu errado... Por favor, tente novamente.",successMessage:"Registro bem-sucedido",GmErr_BadRequest_Duplicate_User:"Um usuário com essas informações já existe.",GmErr_BadRequest_PasswordContainsUsername:"A senha não pode ser igual ao nome de usuário.",GmErr_BadRequest_PasswordContainsEmail:"A senha não pode ser igual ao e-mail.",GmErr_BadRequest_Duplicate_PersonalId:"Já existe um registro com os dados que você inseriu ou você inseriu seus dados em um formato incorreto.",GmErr_Forbidden_UserAccount_NavExcluded:"Usuário está NAV Excluído. Registro foi negado.",GmErr_BadRequest_ModelValidationFailed:"Algo deu errado... Por favor, tente novamente.",GmErr_BadInternalConfigs:"Algo deu errado... Por favor, tente novamente.",GmErr_Unauthorized:"Algo deu errado... Por favor, tente novamente.",GmErr_NotFound:"Algo deu errado... Por favor, tente novamente.",BadRequest_Duplicate_User:"Usuário com o mesmo nome de usuário já existe.",BadRequest:"A solicitação é inválida, por favor, verifique a API.",Unauthorized:"O número da conta do jogador, endereço de e-mail ou senha estão incorretos",Forbidden_TooManyAttempts:"Você fez muitas tentativas de login inválidas, sua conta foi bloqueada, por favor, tente novamente mais tarde.",Forbidden_UserAccount_NotActive:"Parece que você ainda não confirmou seu endereço de e-mail. Para concluir seu registro e acessar sua conta, verifique sua caixa de entrada de 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 ajuda através do serviço de atendimento ao cliente.",GmErr_BadRequest_ExpiredToken:"O token que você está usando está expirado.",GmErr_BadRequest_INVALID_CODE:"O código que você está usando é inválido.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Você fez muitas tentativas de validar seu código.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Você fez muitas tentativas de gerar seu código.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Você foi bloqueado devido a um código inválido.",GmErr_BadRequest_CODE_MISSING:"O token está faltando para sua solicitação.",GmErr_BadRequest_TOKEN_NOT_FOUND:"O token não foi encontrado para sua solicitação.",GmErr_BadRequest_USER_NOT_REGISTERED:"O usuário não está registrado. Por favor, registre-se primeiro.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"O número de telefone que você está usando é inválido.",GmErr_BadRequest_INVALID_USER_ID:"O ID do usuário é inválido.",GmErr_UnexpectedException:"Algo deu errado... Por favor, tente novamente.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"O documento do usuário é inválido.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: A resposta do MoF confirma que o jogador é menor de idade ou não é residente da Croácia.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: O MoF não retorna uma resposta.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"O registro foi bloqueado devido à falha de verificação do PersonaID pelo Ministério das Finanças da Croácia com o motivo: Erro interno."},de:{GmErr_AMOUNT_INVALID:"Der angegebene Betrag ist ungültig.",GmErr_REGISTER_OVERAGE:"Die Registrierung hat das zulässige Limit überschritten.",GmErr_REGISTER_UNDERAGE:"Die Registrierung liegt unterhalb des zulässigen Limits.",GmErr_USER_AUTH_FAILED_TOO_MANY_ATTEMPTS:"Die Benutzeranmeldung ist aufgrund zu vieler fehlgeschlagener Versuche fehlgeschlagen.",GmErr_USER_ACCOUNT_BLOCKED:"Das Benutzerkonto ist gesperrt.",GmErr_USER_NOT_VERIFIED:"Der Benutzer wurde nicht verifiziert.",GmErr_USER_NOT_FOUND:"Kein Benutzer mit den angegebenen Informationen gefunden.",GmErr_USER_ID_INVALID:"Die angegebene Benutzer-ID ist ungültig.",GmErr_USER_AUTH_FAILED:"Die Benutzeranmeldung ist fehlgeschlagen.",GmErr_USER_DUPLICATED:"Der Benutzer ist bereits im System vorhanden.",GmErr_USER_NOT_ACTIVATED:"Das Benutzerkonto wurde nicht aktiviert.",GmErr_PASSWORD_CONTAINS_EMAIL:"Das Passwort darf keine E-Mail-Adresse enthalten.",GmErr_PASSWORD_CONTAINS_USERNAME:"Das Passwort darf keinen Benutzernamen enthalten.",GmErr_PASSWORD_CONTAINS_SPACES:"Das Passwort darf keine Leerzeichen enthalten.",GmErr_USER_4TS_CHECK_EXISTS:"Die 4TS-Überprüfung des Benutzers existiert bereits.",GmErr_USER_NAV_EXCLUDED_REGISTRATION:"Der Benutzer ist von der Registrierung ausgeschlossen.",GmErr_USER_NAV_EXCLUDED_LOGIN:"Der Benutzer ist vom Login ausgeschlossen.",GmErr_USERNAME_REQUIRED:"Ein Benutzername ist erforderlich.",GmErr_USER_EMAIL_NOT_VERIFIED:"Die E-Mail-Adresse des Benutzers wurde nicht verifiziert.",GmErr_EMAIL_ALREADY_EXISTS:"Ein Benutzer mit derselben E-Mail-Adresse existiert bereits.",GmErr_EMAIL_REQUIRED:"Eine E-Mail-Adresse ist erforderlich.",GmErr_USERNAME_ALREADY_EXISTS:"Der Benutzername ist bereits vergeben.",GmErr_DUPLICATE_PERSONAL_ID:"Doppelte persönliche ID gefunden.",GmErr_INVALID_USER_DOCUMENT:"Das Benutzerdokument ist ungültig.",GmErr_INVALID_CODE:"Der angegebene Code ist ungültig.",GmErr_EXPIRED_TOKEN:"Das Token ist abgelaufen.",GmErr_ATTEMPTS_EXCEEDED:"Die maximale Anzahl an Versuchen wurde überschritten.",GmErr_BLOCK_USER_INCORRECT_CODE:"Der Benutzer wurde aufgrund eines falschen Codes gesperrt.",GmErr_TOKEN_NOT_FOUND:"Das Token wurde nicht gefunden.",GmErr_INVALID_PHONE_NUMBER:"Die angegebene Telefonnummer ist ungültig.",GmErr_CODE_MISSING:"Der Code fehlt.",GmErr_UNREGISTERED_USER:"Der Benutzer ist nicht registriert.",GmErr_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Die maximale Anzahl an Versuchen, einen Code zu generieren, wurde überschritten.",GmErr_UNEXPECTED_EXCEPTION:"Es ist ein unerwarteter Fehler aufgetreten.",GmErr_INVALID_USER_ID:"Die angegebene Benutzer-ID ist ungültig.",GmErr_NOT_ALLOWED_EXCEPTION:"Diese Aktion ist nicht erlaubt.",GmErr_CAN_NOT_FIND_ROLE:"Die angegebene Rolle konnte nicht gefunden werden.",GmErr_NO_SESSION_PROVIDED:"Es wurde keine Sitzung bereitgestellt.",GmErr_NO_ACTIVE_SESSION_FOUND_FOR_THIS_USER:"Es wurde keine aktive Sitzung für diesen Benutzer gefunden.",GmErr_USER_HAS_ALREADY_BEEN_ANONYMIZED:"Der Benutzer wurde bereits anonymisiert.",GmErr_NO_ROLE_HAS_BEEN_SET_UP_TO_BE_ASSIGNED:"Es wurde keine Rolle zur Zuweisung eingerichtet.",GmErr_PROVIDED_SESSION_DOES_NOT_BELONG_TO_THE_USER:"Die bereitgestellte Sitzung gehört nicht dem Benutzer.",GmErr_PROVIDED_SESSION_DOES_NOT_EXIST:"Die bereitgestellte Sitzung existiert nicht.",GmErr_ROLE_ALREADY_ASSIGNED_FOR_USER:"Die Rolle wurde dem Benutzer bereits zugewiesen.",GmErr_ASSIGN_USER_ROLE_FAILED:"Die Zuweisung einer Rolle an den Benutzer ist fehlgeschlagen.",GmErr_BadRequest_1000:"Es gab ein Problem mit der persönlichen Identifikationsnummer.",CountryRestricted:"Leider versuchen Sie, sich aus einem Land zu registrieren, in dem wir kein Spiel zulassen können. Aus diesem Grund können wir Ihre Registrierung nicht verarbeiten.",nextButton:"Weiter",backButton:"Zurück",doneButton:"Fertig",generalError:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",successMessage:"Registrierung erfolgreich",GmErr_BadRequest_Duplicate_User:"Ein Benutzer mit diesen Informationen existiert bereits.",GmErr_BadRequest_PasswordContainsUsername:"Das Passwort darf nicht mit dem Benutzernamen übereinstimmen.",GmErr_BadRequest_PasswordContainsEmail:"Das Passwort darf nicht mit der E-Mail-Adresse übereinstimmen.",GmErr_BadRequest_Duplicate_PersonalId:"Es gibt bereits eine Registrierung mit den eingegebenen Daten oder Sie haben Ihre Daten in einem falschen Format eingegeben.",GmErr_Forbidden_UserAccount_NavExcluded:"Benutzer ist NAV ausgeschlossen. Registrierung wurde abgelehnt.",GmErr_BadRequest_ModelValidationFailed:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_BadInternalConfigs:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_Unauthorized:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_NotFound:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",BadRequest_Duplicate_User:"Ein Benutzer mit demselben Benutzernamen existiert bereits.",BadRequest:"Die Anfrage ist ungültig, bitte überprüfen Sie die API.",Unauthorized:"Die Kontonummer des Spielers, die E-Mail-Adresse oder das Passwort ist falsch",Forbidden_TooManyAttempts:"Sie haben zu viele ungültige Anmeldeversuche unternommen, Ihr Konto wurde gesperrt, bitte versuchen Sie es später erneut.",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 Ihr E-Mail-Postfach auf eine Bestätigungsnachricht. Wenn Sie die E-Mail nicht erhalten haben, überprüfen Sie bitte auch Ihren Spam-Ordner. Wenn Sie Hilfe benötigen, können Sie über den Kundenservice Hilfe anfordern.",GmErr_BadRequest_ExpiredToken:"Das von Ihnen verwendete Token ist abgelaufen.",GmErr_BadRequest_INVALID_CODE:"Der von Ihnen verwendete Code ist ungültig.",GmErr_BadRequest_ATTEMPTS_TO_VALIDATE_CODE_EXCEEDED:"Sie haben zu viele Versuche unternommen, Ihren Code zu validieren.",GmErr_BadRequest_ATTEMPTS_TO_GENERATE_CODE_EXCEEDED:"Sie haben zu viele Versuche unternommen, Ihren Code zu generieren.",GmErr_BadRequest_BLOCK_USER_INCORRECT_CODE:"Sie wurden aufgrund eines ungültigen Codes gesperrt.",GmErr_BadRequest_CODE_MISSING:"Das Token fehlt für Ihre Anfrage.",GmErr_BadRequest_TOKEN_NOT_FOUND:"Das Token wurde für Ihre Anfrage nicht gefunden.",GmErr_BadRequest_USER_NOT_REGISTERED:"Der Benutzer ist nicht registriert. Bitte registrieren Sie sich zuerst.",GmErr_BadRequest_INVALID_PHONE_NUMBER:"Die von Ihnen verwendete Telefonnummer ist ungültig.",GmErr_BadRequest_INVALID_USER_ID:"Die Benutzer-ID ist ungültig.",GmErr_UnexpectedException:"Etwas ist schief gelaufen... Bitte versuchen Sie es erneut.",GmErr_BadRequest_INVALID_USER_DOCUMENT:"Das Benutzerdokument ist ungültig.",GmErr_BadRequest_USER_CROATIAN_MOF_VERIFICATION_FAILURE:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Die Antwort des MoF bestätigt, dass der Spieler minderjährig ist oder kein kroatischer Einwohner ist.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_COMMUNICATION_ERROR:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Das MoF gibt keine Antwort.",GmErr_BadRequest_USER_CROATIAN_MOF_PROVIDER_UNEXPECTED_ERROR:"Die Registrierung wurde aufgrund eines Fehlers bei der PersonaID-Verifizierung durch das kroatische Finanzministerium blockiert mit dem Grund: Interner Fehler."}},Eh=(e,t,i)=>{let r=bh[bh[t]?t:"en"][e];if(void 0!==i)for(const[e,t]of Object.entries(i.values)){const i=new RegExp(`{${e}}`,"g");r=r.replace(i,t)}return r};function yh(){}function wh(e){return e()}function kh(){return Object.create(null)}function xh(e){e.forEach(wh)}function Sh(e){return"function"==typeof e}function Ah(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function Ih(e,...t){if(null==e){for(const e of t)e(void 0);return yh}const i=e.subscribe(...t);return i.unsubscribe?()=>i.unsubscribe():i}function Ch(e,t,i){e.$$.on_destroy.push(Ih(t,i))}function Th(e,t){e.appendChild(t)}function Dh(e,t,i){const r=function(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}(e);if(!r.getElementById(t)){const e=zh("style");e.id=t,e.textContent=i,function(e,t){Th(e.head||e,t)}(r,e)}}function Rh(e,t,i){e.insertBefore(t,i||null)}function Nh(e){e.parentNode&&e.parentNode.removeChild(e)}function Oh(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function zh(e){return document.createElement(e)}function Gh(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Mh(e){return document.createTextNode(e)}function Uh(){return Mh(" ")}function Bh(){return Mh("")}function Ph(e,t,i,r){return e.addEventListener(t,i,r),()=>e.removeEventListener(t,i,r)}function Lh(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function Fh(e,t,i){const r=t.toLowerCase();r in e?e[r]="boolean"==typeof e[r]&&""===i||i:t in e?e[t]="boolean"==typeof e[t]&&""===i||i:Lh(e,t,i)}function jh(e,t){e.data!==(t=""+t)&&(e.data=t)}class qh{is_svg=!1;e=void 0;n=void 0;t=void 0;a=void 0;constructor(e=!1){this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,i=null){this.e||(this.e=this.is_svg?Gh(t.nodeName):zh(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(i)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)Rh(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(Nh)}}let Hh;function Vh(e){Hh=e}function $h(e){(function(){if(!Hh)throw new Error("Function called outside component initialization");return Hh})().$$.on_mount.push(e)}const Xh=[],Kh=[];let Yh=[];const Wh=[],Zh=Promise.resolve();let Qh=!1;function Jh(e){Yh.push(e)}const ec=new Set;let tc=0;function ic(){if(0!==tc)return;const e=Hh;do{try{for(;tc<Xh.length;){const e=Xh[tc];tc++,Vh(e),rc(e.$$)}}catch(e){throw Xh.length=0,tc=0,e}for(Vh(null),Xh.length=0,tc=0;Kh.length;)Kh.pop()();for(let e=0;e<Yh.length;e+=1){const t=Yh[e];ec.has(t)||(ec.add(t),t())}Yh.length=0}while(Xh.length);for(;Wh.length;)Wh.pop()();Qh=!1,ec.clear(),Vh(e)}function rc(e){if(null!==e.fragment){e.update(),xh(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(Jh)}}const oc=new Set;function nc(e){return void 0!==e?.length?e:Array.from(e)}function sc(e,t,i,r,o,n,s=null,a=[-1]){const l=Hh;Vh(e);const h=e.$$={fragment:null,ctx:[],props:n,update:yh,not_equal:o,bound:kh(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:kh(),dirty:a,skip_bound:!1,root:t.target||l.$$.root};s&&s(h.root);let c=!1;if(h.ctx=i?i(e,t.props||{},((t,i,...r)=>{const n=r.length?r[0]:i;return h.ctx&&o(h.ctx[t],h.ctx[t]=n)&&(!h.skip_bound&&h.bound[t]&&h.bound[t](n),c&&function(e,t){-1===e.$$.dirty[0]&&(Xh.push(e),Qh||(Qh=!0,Zh.then(ic)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),i})):[],h.update(),c=!0,xh(h.before_update),h.fragment=!!r&&r(h.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.target);h.fragment&&h.fragment.l(e),e.forEach(Nh)}else h.fragment&&h.fragment.c();t.intro&&function(e){e&&e.i&&(oc.delete(e),e.i(void 0))}(e.$$.fragment),function(e,t,i){const{fragment:r,after_update:o}=e.$$;r&&r.m(t,i),Jh((()=>{const t=e.$$.on_mount.map(wh).filter(Sh);e.$$.on_destroy?e.$$.on_destroy.push(...t):xh(t),e.$$.on_mount=[]})),o.forEach(Jh)}(e,t.target,t.anchor),ic()}Vh(l)}let ac;function lc(e,t,i,r){const o=i[e]?.type;if(t="Boolean"===o&&"boolean"!=typeof t?null!=t:t,!r||!i[e])return t;if("toAttribute"===r)switch(o){case"Object":case"Array":return null==t?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t??null;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":default:return t;case"Number":return null!=t?+t:t}}function hc(e,t,i,r,o){let n=class extends ac{constructor(){super(e,i,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map((e=>(t[e].attribute||e).toLowerCase()))}};return Object.keys(t).forEach((e=>{Object.defineProperty(n.prototype,e,{get(){return this.$$c&&e in this.$$c?this.$$c[e]:this.$$d[e]},set(i){i=lc(e,i,t),this.$$d[e]=i,this.$$c?.$set({[e]:i})}})})),r.forEach((e=>{Object.defineProperty(n.prototype,e,{get(){return this.$$c?.[e]}})})),e.element=n,n}"function"==typeof HTMLElement&&(ac=class extends HTMLElement{$$ctor;$$s;$$c;$$cn=!1;$$d={};$$r=!1;$$p_d={};$$l={};$$l_u=new Map;constructor(e,t,i){super(),this.$$ctor=e,this.$$s=t,i&&this.attachShadow({mode:"open"})}addEventListener(e,t,i){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(t),this.$$c){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}super.addEventListener(e,t,i)}removeEventListener(e,t,i){if(super.removeEventListener(e,t,i),this.$$c){const e=this.$$l_u.get(t);e&&(e(),this.$$l_u.delete(t))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(e){return()=>{let t;return{c:function(){t=zh("slot"),"default"!==e&&Lh(t,"name",e)},m:function(e,i){Rh(e,t,i)},d:function(e){e&&Nh(t)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const t={},i=function(e){const t={};return e.childNodes.forEach((e=>{t[e.slot||"default"]=!0})),t}(this);for(const r of this.$$s)r in i&&(t[r]=[e(r)]);for(const e of this.attributes){const t=this.$$g_p(e.name);t in this.$$d||(this.$$d[t]=lc(t,e.value,this.$$p_d,"toProp"))}for(const e in this.$$p_d)!(e in this.$$d)&&void 0!==this[e]&&(this.$$d[e]=this[e],delete this[e]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:t,$$scope:{ctx:[]}}});const r=()=>{this.$$r=!0;for(const e in this.$$p_d)if(this.$$d[e]=this.$$c.$$.ctx[this.$$c.$$.props[e]],this.$$p_d[e].reflect){const t=lc(e,this.$$d[e],this.$$p_d,"toAttribute");null==t?this.removeAttribute(this.$$p_d[e].attribute||e):this.setAttribute(this.$$p_d[e].attribute||e,t)}this.$$r=!1};this.$$c.$$.after_update.push(r),r();for(const e in this.$$l)for(const t of this.$$l[e]){const i=this.$$c.$on(e,t);this.$$l_u.set(t,i)}this.$$l={}}}attributeChangedCallback(e,t,i){this.$$r||(e=this.$$g_p(e),this.$$d[e]=lc(e,i,this.$$p_d,"toProp"),this.$$c?.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then((()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)}))}$$g_p(e){return Object.keys(this.$$p_d).find((t=>this.$$p_d[t].attribute===e||!this.$$p_d[t].attribute&&t.toLowerCase()===e))||e}});class cc{$$=void 0;$$set=void 0;$destroy(){(function(e,t){const i=e.$$;null!==i.fragment&&(function(e){const t=[],i=[];Yh.forEach((r=>-1===e.indexOf(r)?t.push(r):i.push(r))),i.forEach((e=>e())),Yh=t}(i.after_update),xh(i.on_destroy),i.fragment&&i.fragment.d(t),i.on_destroy=i.fragment=null,i.ctx=[])})(this,1),this.$destroy=yh}$on(e,t){if(!Sh(t))return yh;const i=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return i.push(t),()=>{const e=i.indexOf(t);-1!==e&&i.splice(e,1)}}$set(e){this.$$set&&!function(e){return 0===Object.keys(e).length}(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}function dc(e,t){if(e){const i=document.createElement("style");i.innerHTML=t,e.appendChild(i)}}function uc(e,t){const i=new URL(t);fetch(i.href).then((e=>e.text())).then((t=>{const i=document.createElement("style");i.innerHTML=t,e&&e.appendChild(i)})).catch((e=>{console.error("There was an error while trying to load client styling from URL",e)}))}function mc(e,t){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,(t=>{i.innerHTML=t,e&&e.appendChild(i)}))}}function pc(e){Dh(e,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function _c(e){let t;return{c(){t=zh("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(i,r){Rh(i,t,r),e[4](t)},p:yh,i:yh,o:yh,d(i){i&&Nh(t),e[4](null)}}}function fc(e,t,i){let r,{clientstyling:o=""}=t,{clientstylingurl:n=""}=t,{mbsource:s}=t;return $h((()=>()=>{})),e.$$set=e=>{"clientstyling"in e&&i(1,o=e.clientstyling),"clientstylingurl"in e&&i(2,n=e.clientstylingurl),"mbsource"in e&&i(3,s=e.mbsource)},e.$$.update=()=>{3&e.$$.dirty&&o&&r&&dc(r,o),5&e.$$.dirty&&n&&r&&uc(r,n),9&e.$$.dirty&&s&&r&&mc(r,`${s}.Style`)},[r,o,n,s,function(e){Kh[e?"unshift":"push"]((()=>{r=e,i(0,r)}))}]}typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add("4");class vc extends cc{constructor(e){super(),sc(this,e,fc,_c,Ah,{clientstyling:1,clientstylingurl:2,mbsource:3},pc)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),ic()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),ic()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),ic()}}hc(vc,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);const gc=Object.freeze(Object.defineProperty({__proto__:null,default:vc},Symbol.toStringTag,{value:"Module"})),bc=Object.freeze({__proto__:null,A:function(e){return e},B:dc,C:uc,D:mc,G:gc,H:qh,S:cc,a:Ih,b:sc,c:hc,d:Nh,e:Rh,f:Th,g:Gh,h:Lh,i:Sh,j:ic,k:Dh,l:zh,m:Ch,n:yh,o:$h,p:Kh,q:Fh,r:xh,s:Ah,t:jh,u:Mh,v:nc,w:Oh,x:Ph,y:Uh,z:Bh}),Ec=[];function yc(e,t=yh){let i;const r=new Set;function o(t){if(Ah(e,t)&&(e=t,i)){const t=!Ec.length;for(const t of r)t[1](),Ec.push(t,e);if(t){for(let e=0;e<Ec.length;e+=2)Ec[e][0](Ec[e+1]);Ec.length=0}}}function n(t){o(t(e))}return{set:o,update:n,subscribe:function(s,a=yh){const l=[s,a];return r.add(l),1===r.size&&(i=t(o,n)||yh),s(e),()=>{r.delete(l),0===r.size&&i&&(i(),i=null)}}}}function wc(e,t,i){const r=!Array.isArray(e),o=r?[e]:e;if(!o.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const n=t.length<2;return function(e,t){return{subscribe:yc(e,t).subscribe}}(i,((e,i)=>{let s=!1;const a=[];let l=0,h=yh;const c=()=>{if(l)return;h();const o=t(r?a[0]:a,e,i);n?e(o):h=Sh(o)?o:yh},d=o.map(((e,t)=>Ih(e,(e=>{a[t]=e,l&=~(1<<t),s&&c()}),(()=>{l|=1<<t}))));return s=!0,c(),function(){xh(d),h(),s=!1}}))}function kc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var xc=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Sc}(e)}(e)},Sc="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Ac(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Dc(function(e){return Array.isArray(e)?[]:{}}(e),e,t):e}function Ic(e,t,i){return e.concat(t).map((function(e){return Ac(e,i)}))}function Cc(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Tc(e,t){try{return t in e}catch{return!1}}function Dc(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||Ic,i.isMergeableObject=i.isMergeableObject||xc,i.cloneUnlessOtherwiseSpecified=Ac;var r=Array.isArray(t);return r===Array.isArray(e)?r?i.arrayMerge(e,t,i):function(e,t,i){var r={};return i.isMergeableObject(e)&&Cc(e).forEach((function(t){r[t]=Ac(e[t],i)})),Cc(t).forEach((function(o){(function(e,t){return Tc(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,o)||(r[o]=Tc(e,o)&&i.isMergeableObject(t[o])?function(e,t){if(!t.customMerge)return Dc;var i=t.customMerge(e);return"function"==typeof i?i:Dc}(o,i)(e[o],t[o],i):Ac(t[o],i))})),r}(e,t,i):Ac(t,i)}Dc.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return Dc(e,i,t)}),{})};const Rc=kc(Dc);
3990
3990
  /*! *****************************************************************************
3991
3991
  Copyright (c) Microsoft Corporation.
3992
3992
 
@@ -4000,7 +4000,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4000
4000
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4001
4001
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4002
4002
  PERFORMANCE OF THIS SOFTWARE.
4003
- ***************************************************************************** */var Oc=function(e,t){return Oc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},Oc(e,t)};function zc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Oc(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var Gc=function(){return Gc=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Gc.apply(this,arguments)};function Mc(e,t,i){if(2===arguments.length)for(var r,o=0,n=t.length;o<n;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}function Uc(e,t){return(t&&t.strategy?t.strategy:Fc)(e,{cache:t&&t.cache?t.cache:Xc,serializer:t&&t.serializer?t.serializer:jc})}function Bc(e,t,i,r){var o=function(e){return null==e||"number"==typeof e||"boolean"==typeof e}(r)?r:i(r),n=t.get(o);return typeof n>"u"&&(n=e.call(this,r),t.set(o,n)),n}function Pc(e,t,i){var r=Array.prototype.slice.call(arguments,3),o=i(r),n=t.get(o);return typeof n>"u"&&(n=e.apply(this,r),t.set(o,n)),n}function Lc(e,t,i,r,o){return i.bind(t,e,r,o)}function Fc(e,t){return Lc(e,this,1===e.length?Bc:Pc,t.cache.create(),t.serializer)}var jc=function(){return JSON.stringify(arguments)};function qc(){this.cache=Object.create(null)}qc.prototype.get=function(e){return this.cache[e]},qc.prototype.set=function(e,t){this.cache[e]=t};var Hc,Vc,$c,Xc={create:function(){return new qc}},Kc={variadic:function(e,t){return Lc(e,this,Pc,t.cache.create(),t.serializer)},monadic:function(e,t){return Lc(e,this,Bc,t.cache.create(),t.serializer)}};function Yc(e){return e.type===Vc.literal}function Wc(e){return e.type===Vc.argument}function Zc(e){return e.type===Vc.number}function Qc(e){return e.type===Vc.date}function Jc(e){return e.type===Vc.time}function ed(e){return e.type===Vc.select}function td(e){return e.type===Vc.plural}function id(e){return e.type===Vc.pound}function rd(e){return e.type===Vc.tag}function od(e){return!(!e||"object"!=typeof e||e.type!==$c.number)}function nd(e){return!(!e||"object"!=typeof e||e.type!==$c.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Hc||(Hc={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(Vc||(Vc={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}($c||($c={}));var sd=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ad=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function ld(e){var t={};return e.replace(ad,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===i?"long":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var hd=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function cd(e){return e.replace(/^(.*?)-/,"")}var dd=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ud=/^(@+)?(\+|#+)?[rs]?$/g,md=/(\*)(0+)|(#+)(0+)|(0+)/g,pd=/^(0+)$/;function _d(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ud,(function(e,i,r){return"string"!=typeof r?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===r?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""})),t}function fd(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function vd(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!pd.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function gd(e){return fd(e)||{}}function bd(e){for(var t={},i=0,r=e;i<r.length;i++){var o=r[i];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=cd(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=Gc(Gc(Gc({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return Gc(Gc({},e),gd(t))}),{}));continue;case"engineering":t=Gc(Gc(Gc({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return Gc(Gc({},e),gd(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(md,(function(e,i,r,o,n,s){if(i)t.minimumIntegerDigits=r.length;else{if(o&&n)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(pd.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(dd.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(dd,(function(e,i,r,o,n,s){return"*"===r?t.minimumFractionDigits=i.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:n&&s?(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var n=o.options[0];"w"===n?t=Gc(Gc({},t),{trailingZeroDisplay:"stripIfInteger"}):n&&(t=Gc(Gc({},t),_d(n)))}else if(ud.test(o.stem))t=Gc(Gc({},t),_d(o.stem));else{var s=fd(o.stem);s&&(t=Gc(Gc({},t),s));var a=vd(o.stem);a&&(t=Gc(Gc({},t),a))}}return t}var Ed={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function yd(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i,r=e.language;return"root"!==r&&(i=e.maximize().region),(Ed[i||""]||Ed[r||""]||Ed["".concat(r,"-001")]||Ed["001"])[0]}var wd,kd=new RegExp("^".concat(sd.source,"*")),xd=new RegExp("".concat(sd.source,"*$"));function Sd(e,t){return{start:e,end:t}}var Ad=!!String.prototype.startsWith&&"_a".startsWith("a",1),Id=!!String.fromCodePoint,Cd=!!Object.fromEntries,Td=!!String.prototype.codePointAt,Dd=!!String.prototype.trimStart,Rd=!!String.prototype.trimEnd,Nd=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Od=!0;try{Od="a"===(null===(wd=Fd("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===wd?void 0:wd[0])}catch{Od=!1}var zd,Gd=Ad?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Md=Id?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",o=e.length,n=0;o>n;){if((i=e[n++])>1114111)throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},Ud=Cd?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var o=r[i];t[o[0]]=o[1]}return t},Bd=Td?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===i||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},Pd=Dd?function(e){return e.trimStart()}:function(e){return e.replace(kd,"")},Ld=Rd?function(e){return e.trimEnd()}:function(e){return e.replace(xd,"")};function Fd(e,t){return new RegExp(e,t)}if(Od){var jd=Fd("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");zd=function(e,t){var i;return jd.lastIndex=t,null!==(i=jd.exec(e)[1])&&void 0!==i?i:""}}else zd=function(e,t){for(var i=[];;){var r=Bd(e,t);if(void 0===r||Xd(r)||Kd(r))break;i.push(r),t+=r>=65536?2:1}return Md.apply(void 0,i)};var qd,Hd=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((n=this.parseArgument(e,i)).err)return n;r.push(n.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(Hc.UNMATCHED_CLOSING_TAG,Sd(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Vd(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n;r.push(n.val)}else{var n;if((n=this.parseLiteral(e,t)).err)return n;r.push(n.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:Vc.pound,location:Sd(s,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Vc.literal,value:"<".concat(r,"/>"),location:Sd(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var n=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Vd(this.char()))return this.error(Hc.INVALID_TAG,Sd(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(Hc.UNMATCHED_CLOSING_TAG,Sd(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Vc.tag,value:r,children:n,location:Sd(i,this.clonePosition())},err:null}:this.error(Hc.INVALID_TAG,Sd(s,this.clonePosition())))}return this.error(Hc.UNCLOSED_TAG,Sd(i,this.clonePosition()))}return this.error(Hc.INVALID_TAG,Sd(i,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&$d(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var n=this.tryParseUnquoted(e,t);if(n)r+=n;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=Sd(i,this.clonePosition());return{val:{type:Vc.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&function(e){return Vd(e)||47===e}(this.peek()||0)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return Md.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),Md(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Hc.EXPECT_ARGUMENT_CLOSING_BRACE,Sd(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Hc.EMPTY_ARGUMENT,Sd(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Hc.MALFORMED_ARGUMENT,Sd(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Hc.EXPECT_ARGUMENT_CLOSING_BRACE,Sd(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Vc.argument,value:r,location:Sd(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Hc.EXPECT_ARGUMENT_CLOSING_BRACE,Sd(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(Hc.MALFORMED_ARGUMENT,Sd(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=zd(this.message,t);return this.bumpTo(t+i.length),{value:i,location:Sd(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,r){var o,n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Hc.EXPECT_ARGUMENT_TYPE,Sd(n,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((v=this.parseSimpleArgStyleIfPossible()).err)return v;if(0===(m=Ld(v.val)).length)return this.error(Hc.EXPECT_ARGUMENT_STYLE,Sd(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Sd(h,this.clonePosition())}}if((g=this.tryParseArgumentClose(r)).err)return g;var c=Sd(r,this.clonePosition());if(l&&Gd(l?.style,"::",0)){var d=Pd(l.style.slice(2));if("number"===s)return(v=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?v:{val:{type:Vc.number,value:i,location:c,style:v.val},err:null};if(0===d.length)return this.error(Hc.EXPECT_DATE_TIME_SKELETON,c);var u=d;this.locale&&(u=function(e,t){for(var i="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var n=0;r+1<e.length&&e.charAt(r+1)===o;)n++,r++;var s=1+(1&n),a=n<2?1:3+(n>>1),l=yd(t);for(("H"==l||"k"==l)&&(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===o?"H":o}return i}(d,this.locale));var m={type:$c.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ld(u):{}};return{val:{type:"date"===s?Vc.date:Vc.time,value:i,location:c,style:m},err:null}}return{val:{type:"number"===s?Vc.number:"date"===s?Vc.date:Vc.time,value:i,location:c,style:null!==(o=l?.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Hc.EXPECT_SELECT_ARGUMENT_OPTIONS,Sd(p,Gc({},p)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),f=0;if("select"!==s&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(Hc.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Sd(this.clonePosition(),this.clonePosition()));var v;if(this.bumpSpace(),(v=this.tryParseDecimalInteger(Hc.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Hc.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return v;this.bumpSpace(),_=this.parseIdentifierIfPossible(),f=v.val}var g,b=this.tryParsePluralOrSelectOptions(e,s,t,_);if(b.err)return b;if((g=this.tryParseArgumentClose(r)).err)return g;var E=Sd(r,this.clonePosition());return"select"===s?{val:{type:Vc.select,value:i,options:Ud(b.val),location:E},err:null}:{val:{type:Vc.plural,value:i,options:Ud(b.val),offset:f,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(Hc.INVALID_ARGUMENT_TYPE,Sd(n,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Hc.EXPECT_ARGUMENT_CLOSING_BRACE,Sd(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Hc.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Sd(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(hd).filter((function(e){return e.length>0})),i=[],r=0,o=t;r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],a=n.slice(1),l=0,h=a;l<h.length;l++)if(0===h[l].length)throw new Error("Invalid number skeleton");i.push({stem:s,options:a})}return i}(e)}catch{return this.error(Hc.INVALID_NUMBER_SKELETON,t)}return{val:{type:$c.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?bd(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var o,n=!1,s=[],a=new Set,l=r.value,h=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(Hc.EXPECT_PLURAL_ARGUMENT_SELECTOR,Hc.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;h=Sd(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?Hc.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Hc.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===l&&(n=!0),this.bumpSpace();var u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Hc.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Hc.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Sd(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var p=this.tryParseArgumentClose(u);if(p.err)return p;s.push([l,{value:m.val,location:Sd(u,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(o=this.parseIdentifierIfPossible()).value,h=o.location}return 0===s.length?this.error("select"===t?Hc.EXPECT_SELECT_ARGUMENT_SELECTOR:Hc.EXPECT_PLURAL_ARGUMENT_SELECTOR,Sd(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(Hc.MISSING_OTHER_CLAUSE,Sd(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,n=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;o=!0,n=10*n+(s-48),this.bump()}var a=Sd(r,this.clonePosition());return o?Nd(n*=i)?{val:n,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Bd(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(Gd(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Xd(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null},e}();function Vd(e){return e>=97&&e<=122||e>=65&&e<=90}function $d(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Xd(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Kd(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Yd(e){e.forEach((function(e){if(delete e.location,ed(e)||td(e))for(var t in e.options)delete e.options[t].location,Yd(e.options[t].value);else Zc(e)&&od(e.style)||(Qc(e)||Jc(e))&&nd(e.style)?delete e.style.location:rd(e)&&Yd(e.children)}))}function Wd(e,t){void 0===t&&(t={}),t=Gc({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new Hd(e,t).parse();if(i.err){var r=SyntaxError(Hc[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t?.captureLocation||Yd(i.val),i.val}!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(qd||(qd={}));var Zd,Qd=function(e){function t(t,i,r){var o=e.call(this,t)||this;return o.code=i,o.originalMessage=r,o}return zc(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Jd=function(e){function t(t,i,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),qd.INVALID_VALUE,o)||this}return zc(t,e),t}(Qd),eu=function(e){function t(t,i,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),qd.INVALID_VALUE,r)||this}return zc(t,e),t}(Qd),tu=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),qd.MISSING_VALUE,i)||this}return zc(t,e),t}(Qd);function iu(e){return"function"==typeof e}function ru(e,t,i,r,o,n,s){if(1===e.length&&Yc(e[0]))return[{type:Zd.literal,value:e[0].value}];for(var a=[],l=0,h=e;l<h.length;l++){var c=h[l];if(Yc(c))a.push({type:Zd.literal,value:c.value});else if(id(c))"number"==typeof n&&a.push({type:Zd.literal,value:i.getNumberFormat(t).format(n)});else{var d=c.value;if(!o||!(d in o))throw new tu(d,s);var u=o[d];if(Wc(c))(!u||"string"==typeof u||"number"==typeof u)&&(u="string"==typeof u||"number"==typeof u?String(u):""),a.push({type:"string"==typeof u?Zd.literal:Zd.object,value:u});else if(Qc(c)){var m="string"==typeof c.style?r.date[c.style]:nd(c.style)?c.style.parsedOptions:void 0;a.push({type:Zd.literal,value:i.getDateTimeFormat(t,m).format(u)})}else if(Jc(c))m="string"==typeof c.style?r.time[c.style]:nd(c.style)?c.style.parsedOptions:r.time.medium,a.push({type:Zd.literal,value:i.getDateTimeFormat(t,m).format(u)});else if(Zc(c))(m="string"==typeof c.style?r.number[c.style]:od(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),a.push({type:Zd.literal,value:i.getNumberFormat(t,m).format(u)});else{if(rd(c)){var p=c.children,_=c.value,f=o[_];if(!iu(f))throw new eu(_,"function",s);var v=f(ru(p,t,i,r,o,n).map((function(e){return e.value})));Array.isArray(v)||(v=[v]),a.push.apply(a,v.map((function(e){return{type:"string"==typeof e?Zd.literal:Zd.object,value:e}})))}if(ed(c)){if(!(g=c.options[u]||c.options.other))throw new Jd(c.value,u,Object.keys(c.options),s);a.push.apply(a,ru(g.value,t,i,r,o))}else if(td(c)){var g;if(!(g=c.options["=".concat(u)])){if(!Intl.PluralRules)throw new Qd('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',qd.MISSING_INTL_API,s);var b=i.getPluralRules(t,{type:c.pluralType}).select(u-(c.offset||0));g=c.options[b]||c.options.other}if(!g)throw new Jd(c.value,u,Object.keys(c.options),s);a.push.apply(a,ru(g.value,t,i,r,o,u-(c.offset||0)))}}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===Zd.literal&&t.type===Zd.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function ou(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Zd||(Zd={}));var nu=function(){function e(t,i,r,o){void 0===i&&(i=e.defaultLocale);var n=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=n.formatToParts(e);if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===Zd.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return ru(n.ast,n.locales,n.formatters,n.formats,e,void 0,n.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=n.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(n.locales)[0]}},this.getAst=function(){return n.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=function(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(i[r[o]]=e[r[o]])}return i}(o||{},["formatters"]);this.ast=e.__parse(t,Gc(Gc({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((function(i,r){return i[r]=function(e,t){return t?Gc(Gc(Gc({},e||{}),t||{}),Object.keys(e).reduce((function(i,r){return i[r]=Gc(Gc({},e[r]),t[r]||{}),i}),{})):e}(e[r],t[r]),i}),Gc({},e)):e}(e.formats,r),this.formatters=o&&o.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Uc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Mc([void 0],t,!1)))}),{cache:ou(e.number),strategy:Kc.variadic}),getDateTimeFormat:Uc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Mc([void 0],t,!1)))}),{cache:ou(e.dateTime),strategy:Kc.variadic}),getPluralRules:Uc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Mc([void 0],t,!1)))}),{cache:ou(e.pluralRules),strategy:Kc.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(!(typeof Intl.Locale>"u")){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Wd,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const su={},au=(e,t,i)=>i&&(t in su||(su[t]={}),e in su[t]||(su[t][e]=i),i),lu=(e,t)=>{if(null==t)return;if(t in su&&e in su[t])return su[t][e];const i=Nu(t);for(let r=0;r<i.length;r++){const o=uu(i[r],e);if(o)return au(e,t,o)}};let hu;const cu=wc({});function du(e){return e in hu}function uu(e,t){if(!du(e))return null;const i=function(e){return hu[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let e=0;e<i.length;e++)if("object"==typeof r){if(e>0){const t=i.slice(e,i.length).join(".");if(t in r){r=r[t];break}}r=r[i[e]]}else r=void 0;return r}(i,t)}function mu(e,...t){delete su[e],cu.update((i=>(i[e]=Nc.all([i[e]||{},...t]),i)))}kc([cu],(([e])=>Object.keys(e))),cu.subscribe((e=>hu=e));const pu={};function _u(e){return pu[e]}function fu(e){return null!=e&&Nu(e).some((e=>{var t;return null==(t=_u(e))?void 0:t.size}))}const vu={};function gu(e){if(!fu(e))return e in vu?vu[e]:Promise.resolve();const t=function(e){return Nu(e).map((e=>{const t=_u(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return vu[e]=Promise.all(t.map((([e,t])=>function(e,t){return Promise.all(t.map((t=>(function(e,t){pu[e].delete(t),0===pu[e].size&&delete pu[e]}(e,t),t().then((e=>e.default||e)))))).then((t=>mu(e,...t)))}(e,t)))).then((()=>{if(fu(e))return gu(e);delete vu[e]})),vu[e]}const bu={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Eu(){return bu}const yu=wc(!1);var wu=Object.defineProperty,ku=Object.defineProperties,xu=Object.getOwnPropertyDescriptors,Su=Object.getOwnPropertySymbols,Au=Object.prototype.hasOwnProperty,Iu=Object.prototype.propertyIsEnumerable,Cu=(e,t,i)=>t in e?wu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let Tu;const Du=wc(null);function Ru(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function Nu(e,t=Eu().fallbackLocale){const i=Ru(e);return t?[...new Set([...i,...Ru(t)])]:i}function Ou(){return Tu??void 0}Du.subscribe((e=>{Tu=e??void 0,typeof window<"u"&&null!=e&&document.documentElement.setAttribute("lang",e)}));const zu=((e,t)=>ku(e,xu(t)))(((e,t)=>{for(var i in t||(t={}))Au.call(t,i)&&Cu(e,i,t[i]);if(Su)for(var i of Su(t))Iu.call(t,i)&&Cu(e,i,t[i]);return e})({},Du),{set:e=>{if(e&&function(e){if(null==e)return;const t=Nu(e);for(let e=0;e<t.length;e++){const i=t[e];if(du(i))return i}}(e)&&fu(e)){const{loadingDelay:t}=Eu();let i;return typeof window<"u"&&null!=Ou()&&t?i=window.setTimeout((()=>yu.set(!0)),t):yu.set(!0),gu(e).then((()=>{Du.set(e)})).finally((()=>{clearTimeout(i),yu.set(!1)}))}return Du.set(e)}}),Gu=e=>{const t=Object.create(null);return i=>{const r=JSON.stringify(i);return r in t?t[r]:t[r]=e(i)}};var Mu=Object.defineProperty,Uu=Object.getOwnPropertySymbols,Bu=Object.prototype.hasOwnProperty,Pu=Object.prototype.propertyIsEnumerable,Lu=(e,t,i)=>t in e?Mu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Fu=(e,t)=>{for(var i in t||(t={}))Bu.call(t,i)&&Lu(e,i,t[i]);if(Uu)for(var i of Uu(t))Pu.call(t,i)&&Lu(e,i,t[i]);return e},ju=(e,t)=>{var i={};for(var r in e)Bu.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&Uu)for(var r of Uu(e))t.indexOf(r)<0&&Pu.call(e,r)&&(i[r]=e[r]);return i};const qu=(e,t)=>{const{formats:i}=Eu();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Hu=Gu((e=>{var t=e,{locale:i,format:r}=t,o=ju(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(o=qu("number",r)),new Intl.NumberFormat(i,o)})),Vu=Gu((e=>{var t=e,{locale:i,format:r}=t,o=ju(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?o=qu("date",r):0===Object.keys(o).length&&(o=qu("date","short")),new Intl.DateTimeFormat(i,o)})),$u=Gu((e=>{var t=e,{locale:i,format:r}=t,o=ju(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?o=qu("time",r):0===Object.keys(o).length&&(o=qu("time","short")),new Intl.DateTimeFormat(i,o)})),Xu=Gu(((e,t=Ou())=>new nu(e,t,Eu().formats,{ignoreTag:Eu().ignoreTag}))),Ku=(e,t={})=>{var i,r,o,n;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Ou(),default:h}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=lu(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(n=null!=(o=null==(r=(i=Eu()).handleMissingMessage)?void 0:r.call(i,{locale:l,id:e,defaultValue:h}))?o:h)?n:e;if(!a)return c;let d=c;try{d=Xu(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Yu=(e,t)=>((e={})=>{var t=e,{locale:i=Ou()}=t,r=ju(t,["locale"]);return $u(Fu({locale:i},r))})(t).format(e),Wu=(e,t)=>((e={})=>{var t=e,{locale:i=Ou()}=t,r=ju(t,["locale"]);return Vu(Fu({locale:i},r))})(t).format(e),Zu=(e,t)=>((e={})=>{var t=e,{locale:i=Ou()}=t,r=ju(t,["locale"]);return Hu(Fu({locale:i},r))})(t).format(e),Qu=(e,t=Ou())=>lu(e,t),Ju=kc([zu,cu],(()=>Ku));function em(e,t){mu(e,t)}kc([zu],(()=>Yu)),kc([zu],(()=>Wu)),kc([zu],(()=>Zu)),kc([zu,cu],(()=>Qu));const tm={en:{invalidUrl:"Failed to construct 'URL': Invalid URL",fetchConsentsError:"Error: Could not fetch consents.",fetchPlayerConsentsError:"Error: Could not fetch player consents.",fetchConsentsCategoriesError:"Error: Could not fetch consents categories",updateConsentsError:"Error: Could not update consents.",saveChangesError:"Error: Could not save changes.",mustAcceptError:"Mandatory consents must be accepted.",title:"Consents",saveButtonContent:"Save Consents",description:"Here, you can explore and manage your preferences regarding how we collect and utilize your data. Your privacy matters to us, and this tool empowers you to make informed choices about your online experience.",marketing__category:"Marketing",Other__category:"Other",privacy__category:"Privacy and Data Sharing",dataSharing__name:"Data Sharing",dataSharing__description:"Data Sharing consent",emailMarketing__name:"Email Marketing",emailMarketing__description:"Email Marketing consent",smsMarketing__name:"SMS Marketing",smsMarketing__description:"SMS Marketing consent",cookiesAndTracking__name:"Cookies and Tracking",cookiesAndTracking__description:"Cookies and Tracking consent",termsandconditions__description:"Needed to prove user accepted terms and conditions.",emailmarketing__description:"Needed to prove email marketing consent.",sms__description:"Needed to prove sms marketing consent.","3rdparty__description":"Needed to prove 3rd party marketing consent.",noDataFound:"No data found for consents.",loading:"Loading...please wait",requiredError:"This field is mandatory",wrongModalConfig:"There was an error with the config! No expired consents found."},"zh-hk":{invalidUrl:"無法構建 'URL': 無效的URL",fetchConsentsError:"錯誤: 無法獲取同意。",fetchPlayerConsentsError:"錯誤: 無法獲取玩家同意。",fetchConsentsCategoriesError:"錯誤: 無法獲取同意類別。",updateConsentsError:"錯誤: 無法更新同意。",saveChangesError:"錯誤: 無法保存更改。",mustAcceptError:"必須接受強制性同意。",title:"同意",saveButtonContent:"保存同意",description:"在此,您可以探索和管理有關我們如何收集和使用您的數據的偏好。您的隱私對我們非常重要,這個工具可幫助您對您的在線體驗做出知情選擇。",marketing__category:"市場推廣",Other__category:"其他",privacy__category:"隱私與數據共享",dataSharing__name:"數據共享",dataSharing__description:"數據共享同意",emailMarketing__name:"電子郵件市場推廣",emailMarketing__description:"電子郵件市場推廣同意",smsMarketing__name:"短信市場推廣",smsMarketing__description:"短信市場推廣同意",cookiesAndTracking__name:"Cookies與追蹤",cookiesAndTracking__description:"Cookies與追蹤同意",termsandconditions__description:"用於證明用戶接受條款和條件。",emailmarketing__description:"用於證明電子郵件市場推廣同意。",sms__description:"用於證明短信市場推廣同意。","3rdparty__description":"用於證明第三方市場推廣同意。",noDataFound:"未找到同意數據。",loading:"加載中...請稍候",requiredError:"此字段為必填項",wrongModalConfig:"配置出錯!未找到過期的同意。"},de:{invalidUrl:"Fehler beim Erstellen von 'URL': Ungültige URL",fetchConsentsError:"Fehler: Konnte Einwilligungen nicht abrufen.",fetchPlayerConsentsError:"Fehler: Konnte Spielereinwilligungen nicht abrufen.",fetchConsentsCategoriesError:"Fehler: Konnte Einwilligungskategorien nicht abrufen.",updateConsentsError:"Fehler: Konnte Einwilligungen nicht aktualisieren.",saveChangesError:"Fehler: Änderungen konnten nicht gespeichert werden.",mustAcceptError:"Pflicht-Einwilligungen müssen akzeptiert werden.",title:"Einwilligungen",saveButtonContent:"Einwilligungen speichern",description:"Hier können Sie Ihre Präferenzen dazu verwalten, wie wir Ihre Daten sammeln und nutzen. Ihre Privatsphäre ist uns wichtig, und dieses Tool ermöglicht es Ihnen, informierte Entscheidungen über Ihr Online-Erlebnis zu treffen.",marketing__category:"Marketing",Other__category:"Sonstiges",privacy__category:"Datenschutz und Datenfreigabe",dataSharing__name:"Datenfreigabe",dataSharing__description:"Einwilligung zur Datenfreigabe",emailMarketing__name:"E-Mail-Marketing",emailMarketing__description:"Einwilligung für E-Mail-Marketing",smsMarketing__name:"SMS-Marketing",smsMarketing__description:"Einwilligung für SMS-Marketing",cookiesAndTracking__name:"Cookies und Tracking",cookiesAndTracking__description:"Einwilligung für Cookies und Tracking",termsandconditions__description:"Erforderlich, um nachzuweisen, dass der Benutzer die Bedingungen akzeptiert hat.",emailmarketing__description:"Erforderlich, um die Einwilligung für E-Mail-Marketing nachzuweisen.",sms__description:"Erforderlich, um die Einwilligung für SMS-Marketing nachzuweisen.","3rdparty__description":"Erforderlich, um die Einwilligung für Drittanbieter-Marketing nachzuweisen.",noDataFound:"Keine Daten zu Einwilligungen gefunden.",loading:"Wird geladen... bitte warten",requiredError:"Dieses Feld ist erforderlich",wrongModalConfig:"Ein Fehler in der Konfiguration ist aufgetreten! Keine abgelaufenen Einwilligungen gefunden."},it:{invalidUrl:"Impossibile costruire 'URL': URL non valido",fetchConsentsError:"Errore: Impossibile recuperare i consensi.",fetchPlayerConsentsError:"Errore: Impossibile recuperare i consensi del giocatore.",fetchConsentsCategoriesError:"Errore: Impossibile recuperare le categorie di consenso.",updateConsentsError:"Errore: Impossibile aggiornare i consensi.",saveChangesError:"Errore: Impossibile salvare le modifiche.",mustAcceptError:"I consensi obbligatori devono essere accettati.",title:"Consensi",saveButtonContent:"Salva Consensi",description:"Qui puoi esplorare e gestire le tue preferenze su come raccogliamo e utilizziamo i tuoi dati. La tua privacy è importante per noi e questo strumento ti consente di fare scelte informate sulla tua esperienza online.",marketing__category:"Marketing",Other__category:"Altro",privacy__category:"Privacy e Condivisione dei Dati",dataSharing__name:"Condivisione dei Dati",dataSharing__description:"Consenso alla condivisione dei dati",emailMarketing__name:"Email Marketing",emailMarketing__description:"Consenso all'email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Consenso all'SMS marketing",cookiesAndTracking__name:"Cookies e Tracciamento",cookiesAndTracking__description:"Consenso ai cookies e tracciamento",termsandconditions__description:"Necessario per dimostrare che l'utente ha accettato i termini e le condizioni.",emailmarketing__description:"Necessario per dimostrare il consenso all'email marketing.",sms__description:"Necessario per dimostrare il consenso all'SMS marketing.","3rdparty__description":"Necessario per dimostrare il consenso al marketing di terze parti.",noDataFound:"Nessun dato trovato per i consensi.",loading:"Caricamento... attendere",requiredError:"Questo campo è obbligatorio",wrongModalConfig:"Si è verificato un errore con la configurazione! Nessun consenso scaduto trovato."},fr:{invalidUrl:"Impossible de construire 'URL' : URL invalide",fetchConsentsError:"Erreur : Impossible de récupérer les consentements.",fetchPlayerConsentsError:"Erreur : Impossible de récupérer les consentements des joueurs.",fetchConsentsCategoriesError:"Erreur : Impossible de récupérer les catégories de consentement.",updateConsentsError:"Erreur : Impossible de mettre à jour les consentements.",saveChangesError:"Erreur : Impossible d'enregistrer les modifications.",mustAcceptError:"Les consentements obligatoires doivent être acceptés.",title:"Consentements",saveButtonContent:"Enregistrer les Consentements",description:"Ici, vous pouvez explorer et gérer vos préférences concernant la manière dont nous collectons et utilisons vos données. Votre vie privée est importante pour nous, et cet outil vous permet de faire des choix éclairés sur votre expérience en ligne.",marketing__category:"Marketing",Other__category:"Autre",privacy__category:"Confidentialité et Partage des Données",dataSharing__name:"Partage des Données",dataSharing__description:"Consentement au partage des données",emailMarketing__name:"Marketing par Email",emailMarketing__description:"Consentement au marketing par email",smsMarketing__name:"Marketing par SMS",smsMarketing__description:"Consentement au marketing par SMS",cookiesAndTracking__name:"Cookies et Suivi",cookiesAndTracking__description:"Consentement aux cookies et au suivi",termsandconditions__description:"Nécessaire pour prouver que l'utilisateur a accepté les termes et conditions.",emailmarketing__description:"Nécessaire pour prouver le consentement au marketing par email.",sms__description:"Nécessaire pour prouver le consentement au marketing par SMS.","3rdparty__description":"Nécessaire pour prouver le consentement au marketing tiers.",noDataFound:"Aucune donnée trouvée pour les consentements.",loading:"Chargement... veuillez patienter",requiredError:"Ce champ est obligatoire",wrongModalConfig:"Une erreur s'est produite avec la configuration ! Aucun consentement expiré trouvé."},es:{invalidUrl:"Error al construir 'URL': URL no válida",fetchConsentsError:"Error: No se pudieron obtener los consentimientos.",fetchPlayerConsentsError:"Error: No se pudieron obtener los consentimientos del jugador.",fetchConsentsCategoriesError:"Error: No se pudieron obtener las categorías de consentimiento.",updateConsentsError:"Error: No se pudieron actualizar los consentimientos.",saveChangesError:"Error: No se pudieron guardar los cambios.",mustAcceptError:"Se deben aceptar los consentimientos obligatorios.",title:"Consentimientos",saveButtonContent:"Guardar Consentimientos",description:"Aquí puedes explorar y gestionar tus preferencias sobre cómo recopilamos y utilizamos tus datos. Tu privacidad es importante para nosotros y esta herramienta te permite tomar decisiones informadas sobre tu experiencia en línea.",marketing__category:"Marketing",Other__category:"Otro",privacy__category:"Privacidad y Compartir Datos",dataSharing__name:"Compartir Datos",dataSharing__description:"Consentimiento para compartir datos",emailMarketing__name:"Email Marketing",emailMarketing__description:"Consentimiento para email marketing",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimiento para marketing por SMS",cookiesAndTracking__name:"Cookies y Seguimiento",cookiesAndTracking__description:"Consentimiento para cookies y seguimiento",termsandconditions__description:"Necesario para demostrar que el usuario aceptó los términos y condiciones.",emailmarketing__description:"Necesario para demostrar el consentimiento para email marketing.",sms__description:"Necesario para demostrar el consentimiento para marketing por SMS.","3rdparty__description":"Necesario para demostrar el consentimiento para marketing de terceros.",noDataFound:"No se encontraron datos para los consentimientos.",loading:"Cargando... por favor espera",requiredError:"Este campo es obligatorio",wrongModalConfig:"¡Hubo un error con la configuración! No se encontraron consentimientos expirados."},el:{invalidUrl:"Αποτυχία δημιουργίας 'URL': Μη έγκυρη διεύθυνση URL",fetchConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των συναινέσεων.",fetchPlayerConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των συναινέσεων παικτών.",fetchConsentsCategoriesError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των κατηγοριών συναινέσεων.",updateConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ενημέρωση των συναινέσεων.",saveChangesError:"Σφάλμα: Δεν ήταν δυνατή η αποθήκευση των αλλαγών.",mustAcceptError:"Πρέπει να αποδεχτείτε τις υποχρεωτικές συναινέσεις.",title:"Συναινέσεις",saveButtonContent:"Αποθήκευση Συναινέσεων",description:"Εδώ μπορείτε να εξερευνήσετε και να διαχειριστείτε τις προτιμήσεις σας σχετικά με το πώς συλλέγουμε και χρησιμοποιούμε τα δεδομένα σας. Η ιδιωτικότητά σας έχει σημασία για εμάς και αυτό το εργαλείο σας δίνει τη δυνατότητα να κάνετε ενημερωμένες επιλογές για την εμπειρία σας στο διαδίκτυο.",marketing__category:"Μάρκετινγκ",Other__category:"Άλλο",privacy__category:"Ιδιωτικότητα και Κοινοποίηση Δεδομένων",dataSharing__name:"Κοινοποίηση Δεδομένων",dataSharing__description:"Συναίνεση για κοινοποίηση δεδομένων",emailMarketing__name:"Email Marketing",emailMarketing__description:"Συναίνεση για email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Συναίνεση για SMS marketing",cookiesAndTracking__name:"Cookies και Παρακολούθηση",cookiesAndTracking__description:"Συναίνεση για cookies και παρακολούθηση",termsandconditions__description:"Απαιτείται για να αποδειχθεί ότι ο χρήστης αποδέχτηκε τους όρους και τις προϋποθέσεις.",emailmarketing__description:"Απαιτείται για να αποδειχθεί η συναίνεση για email marketing.",sms__description:"Απαιτείται για να αποδειχθεί η συναίνεση για SMS marketing.","3rdparty__description":"Απαιτείται για να αποδειχθεί η συναίνεση για marketing τρίτων.",noDataFound:"Δεν βρέθηκαν δεδομένα για τις συναινέσεις.",loading:"Φόρτωση... παρακαλώ περιμένετε",requiredError:"Αυτό το πεδίο είναι υποχρεωτικό",wrongModalConfig:"Παρουσιάστηκε σφάλμα με τη ρύθμιση! Δεν βρέθηκαν ληγμένες συναινέσεις."},tr:{invalidUrl:"'URL' oluşturulamadı: Geçersiz URL",fetchConsentsError:"Hata: Onaylar alınamadı.",fetchPlayerConsentsError:"Hata: Oyuncu onayları alınamadı.",fetchConsentsCategoriesError:"Hata: Onay kategorileri alınamadı.",updateConsentsError:"Hata: Onaylar güncellenemedi.",saveChangesError:"Hata: Değişiklikler kaydedilemedi.",mustAcceptError:"Zorunlu onaylar kabul edilmelidir.",title:"Onaylar",saveButtonContent:"Onayları Kaydet",description:"Burada, verilerinizi nasıl topladığımız ve kullandığımızla ilgili tercihlerinizi keşfedebilir ve yönetebilirsiniz. Gizliliğiniz bizim için önemlidir ve bu araç, çevrimiçi deneyiminiz hakkında bilinçli seçimler yapmanızı sağlar.",marketing__category:"Pazarlama",Other__category:"Diğer",privacy__category:"Gizlilik ve Veri Paylaşımı",dataSharing__name:"Veri Paylaşımı",dataSharing__description:"Veri paylaşımı onayı",emailMarketing__name:"E-posta Pazarlama",emailMarketing__description:"E-posta pazarlama onayı",smsMarketing__name:"SMS Pazarlama",smsMarketing__description:"SMS pazarlama onayı",cookiesAndTracking__name:"Çerezler ve İzleme",cookiesAndTracking__description:"Çerezler ve izleme onayı",termsandconditions__description:"Kullanıcının şartları ve koşulları kabul ettiğini kanıtlamak için gereklidir.",emailmarketing__description:"E-posta pazarlama onayı kanıtlamak için gereklidir.",sms__description:"SMS pazarlama onayı kanıtlamak için gereklidir.","3rdparty__description":"Üçüncü taraf pazarlama onayı kanıtlamak için gereklidir.",noDataFound:"Onaylarla ilgili veri bulunamadı.",loading:"Yükleniyor... lütfen bekleyin",requiredError:"Bu alan zorunludur",wrongModalConfig:"Yapılandırmada bir hata oluştu! Süresi dolmuş onay bulunamadı."},ru:{invalidUrl:"Не удалось создать 'URL': недопустимый URL",fetchConsentsError:"Ошибка: не удалось получить согласия.",fetchPlayerConsentsError:"Ошибка: не удалось получить согласия игроков.",fetchConsentsCategoriesError:"Ошибка: не удалось получить категории согласий.",updateConsentsError:"Ошибка: не удалось обновить согласия.",saveChangesError:"Ошибка: не удалось сохранить изменения.",mustAcceptError:"Обязательные согласия должны быть приняты.",title:"Согласия",saveButtonContent:"Сохранить согласия",description:"Здесь вы можете изучить и управлять своими предпочтениями относительно того, как мы собираем и используем ваши данные. Ваша конфиденциальность важна для нас, и этот инструмент помогает вам делать осознанный выбор о вашем онлайн-опыте.",marketing__category:"Маркетинг",Other__category:"Другое",privacy__category:"Конфиденциальность и Обмен Данными",dataSharing__name:"Обмен Данными",dataSharing__description:"Согласие на обмен данными",emailMarketing__name:"Email-Маркетинг",emailMarketing__description:"Согласие на email-маркетинг",smsMarketing__name:"SMS-Маркетинг",smsMarketing__description:"Согласие на SMS-маркетинг",cookiesAndTracking__name:"Cookies и Отслеживание",cookiesAndTracking__description:"Согласие на использование cookies и отслеживания",termsandconditions__description:"Необходимо для подтверждения принятия условий и положений.",emailmarketing__description:"Необходимо для подтверждения согласия на email-маркетинг.",sms__description:"Необходимо для подтверждения согласия на SMS-маркетинг.","3rdparty__description":"Необходимо для подтверждения согласия на маркетинг третьих лиц.",noDataFound:"Данные о согласиях не найдены.",loading:"Загрузка... пожалуйста, подождите",requiredError:"Это поле обязательно для заполнения",wrongModalConfig:"Произошла ошибка конфигурации! Истекшие согласия не найдены."},ro:{invalidUrl:"Nu s-a putut construi 'URL': URL invalid",fetchConsentsError:"Eroare: Nu s-au putut prelua consimțămintele.",fetchPlayerConsentsError:"Eroare: Nu s-au putut prelua consimțămintele utilizatorilor.",fetchConsentsCategoriesError:"Eroare: Nu s-au putut prelua categoriile de consimțământ.",updateConsentsError:"Eroare: Nu s-au putut actualiza consimțămintele.",saveChangesError:"Eroare: Nu s-au putut salva modificările.",mustAcceptError:"Consimțămintele obligatorii trebuie acceptate.",title:"Consimțăminte",saveButtonContent:"Salvează Consimțămintele",description:"Aici puteți explora și gestiona preferințele legate de modul în care colectăm și utilizăm datele dumneavoastră. Confidențialitatea dumneavoastră este importantă pentru noi, iar acest instrument vă ajută să luați decizii informate despre experiența dumneavoastră online.",marketing__category:"Marketing",Other__category:"Altele",privacy__category:"Confidențialitate și Partajare Date",dataSharing__name:"Partajare Date",dataSharing__description:"Consimțământ pentru partajarea datelor",emailMarketing__name:"Marketing prin Email",emailMarketing__description:"Consimțământ pentru marketing prin email",smsMarketing__name:"Marketing prin SMS",smsMarketing__description:"Consimțământ pentru marketing prin SMS",cookiesAndTracking__name:"Cookies și Urmărire",cookiesAndTracking__description:"Consimțământ pentru cookies și urmărire",termsandconditions__description:"Necesar pentru a demonstra acceptarea termenilor și condițiilor.",emailmarketing__description:"Necesar pentru a demonstra consimțământul pentru marketing prin email.",sms__description:"Necesar pentru a demonstra consimțământul pentru marketing prin SMS.","3rdparty__description":"Necesar pentru a demonstra consimțământul pentru marketing de la terți.",noDataFound:"Nu s-au găsit date pentru consimțăminte.",loading:"Se încarcă... vă rugăm să așteptați",requiredError:"Acest câmp este obligatoriu",wrongModalConfig:"A apărut o eroare în configurație! Nu s-au găsit consimțăminte expirate."},hr:{invalidUrl:"Nije moguće izraditi 'URL': Nevažeći URL",fetchConsentsError:"Greška: Nije moguće dohvatiti privole.",fetchPlayerConsentsError:"Greška: Nije moguće dohvatiti korisničke privole.",fetchConsentsCategoriesError:"Greška: Nije moguće dohvatiti kategorije privola.",updateConsentsError:"Greška: Nije moguće ažurirati privole.",saveChangesError:"Greška: Nije moguće spremiti promjene.",mustAcceptError:"Obavezne privole moraju biti prihvaćene.",title:"Privole",saveButtonContent:"Spremi Privole",description:"Ovdje možete istražiti i upravljati svojim preferencijama o tome kako prikupljamo i koristimo vaše podatke. Vaša privatnost nam je važna, a ovaj alat vam omogućuje donošenje informiranih odluka o vašem online iskustvu.",marketing__category:"Marketing",Other__category:"Ostalo",privacy__category:"Privatnost i Dijeljenje Podataka",dataSharing__name:"Dijeljenje Podataka",dataSharing__description:"Privola za dijeljenje podataka",emailMarketing__name:"Email Marketing",emailMarketing__description:"Privola za email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Privola za SMS marketing",cookiesAndTracking__name:"Kolačići i Praćenje",cookiesAndTracking__description:"Privola za kolačiće i praćenje",termsandconditions__description:"Potrebno za dokazivanje prihvaćanja uvjeta korištenja.",emailmarketing__description:"Potrebno za dokazivanje privole za email marketing.",sms__description:"Potrebno za dokazivanje privole za SMS marketing.","3rdparty__description":"Potrebno za dokazivanje privole za marketing treće strane.",noDataFound:"Nema podataka o privolama.",loading:"Učitavanje... molimo pričekajte",requiredError:"Ovo polje je obavezno",wrongModalConfig:"Došlo je do pogreške u konfiguraciji! Nisu pronađene istekle privole."},hu:{invalidUrl:"Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",fetchConsentsError:"Hiba: Nem sikerült lekérni a hozzájárulásokat.",fetchPlayerConsentsError:"Hiba: Nem sikerült lekérni a játékosok hozzájárulásait.",fetchConsentsCategoriesError:"Hiba: Nem sikerült lekérni a hozzájárulások kategóriáit.",updateConsentsError:"Hiba: Nem sikerült frissíteni a hozzájárulásokat.",saveChangesError:"Hiba: Nem sikerült menteni a módosításokat.",mustAcceptError:"A kötelező hozzájárulásokat el kell fogadni.",title:"Hozzájárulások",saveButtonContent:"Hozzájárulások Mentése",description:"Itt kezelheti és megismerheti azokat a preferenciákat, amelyek meghatározzák, hogyan gyűjtjük és használjuk fel az adatait. Az Ön adatvédelme fontos számunkra, és ez az eszköz lehetővé teszi, hogy tájékozott döntéseket hozzon az online élményéről.",marketing__category:"Marketing",Other__category:"Egyéb",privacy__category:"Adatvédelem és Adatmegosztás",dataSharing__name:"Adatmegosztás",dataSharing__description:"Hozzájárulás az adatmegosztáshoz",emailMarketing__name:"E-mail Marketing",emailMarketing__description:"Hozzájárulás az e-mail marketinghez",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Hozzájárulás az SMS marketinghez",cookiesAndTracking__name:"Sütik és Követés",cookiesAndTracking__description:"Hozzájárulás a sütikhez és a követéshez",termsandconditions__description:"Szükséges az Általános Szerződési Feltételek elfogadásának igazolásához.",emailmarketing__description:"Szükséges az e-mail marketing hozzájárulásának igazolásához.",sms__description:"Szükséges az SMS marketing hozzájárulásának igazolásához.","3rdparty__description":"Szükséges a harmadik felek marketingjéhez való hozzájárulás igazolásához.",noDataFound:"Nem található adat a hozzájárulásokról.",loading:"Betöltés... kérjük, várjon",requiredError:"Ez a mező kötelező",wrongModalConfig:"Hiba történt a konfigurációval! Nem található lejárt hozzájárulás."},pl:{invalidUrl:"Nie udało się utworzyć 'URL': Nieprawidłowy URL",fetchConsentsError:"Błąd: Nie udało się pobrać zgód.",fetchPlayerConsentsError:"Błąd: Nie udało się pobrać zgód użytkowników.",fetchConsentsCategoriesError:"Błąd: Nie udało się pobrać kategorii zgód.",updateConsentsError:"Błąd: Nie udało się zaktualizować zgód.",saveChangesError:"Błąd: Nie udało się zapisać zmian.",mustAcceptError:"Obowiązkowe zgody muszą zostać zaakceptowane.",title:"Zgody",saveButtonContent:"Zapisz Zgody",description:"Tutaj możesz eksplorować i zarządzać swoimi preferencjami dotyczącymi tego, jak zbieramy i wykorzystujemy Twoje dane. Twoja prywatność jest dla nas ważna, a to narzędzie pozwala podejmować świadome decyzje dotyczące Twojego doświadczenia online.",marketing__category:"Marketing",Other__category:"Inne",privacy__category:"Prywatność i Udostępnianie Danych",dataSharing__name:"Udostępnianie Danych",dataSharing__description:"Zgoda na udostępnianie danych",emailMarketing__name:"E-mail Marketing",emailMarketing__description:"Zgoda na e-mail marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Zgoda na SMS marketing",cookiesAndTracking__name:"Pliki Cookie i Śledzenie",cookiesAndTracking__description:"Zgoda na pliki cookie i śledzenie",termsandconditions__description:"Wymagane do potwierdzenia akceptacji warunków i zasad.",emailmarketing__description:"Wymagane do potwierdzenia zgody na e-mail marketing.",sms__description:"Wymagane do potwierdzenia zgody na SMS marketing.","3rdparty__description":"Wymagane do potwierdzenia zgody na marketing podmiotów trzecich.",noDataFound:"Nie znaleziono danych dotyczących zgód.",loading:"Ładowanie... proszę czekać",requiredError:"To pole jest wymagane",wrongModalConfig:"Wystąpił błąd konfiguracji! Nie znaleziono wygasłych zgód."},pt:{invalidUrl:"Não foi possível criar 'URL': URL inválido",fetchConsentsError:"Erro: Não foi possível obter os consentimentos.",fetchPlayerConsentsError:"Erro: Não foi possível obter os consentimentos dos utilizadores.",fetchConsentsCategoriesError:"Erro: Não foi possível obter as categorias de consentimento.",updateConsentsError:"Erro: Não foi possível atualizar os consentimentos.",saveChangesError:"Erro: Não foi possível salvar as alterações.",mustAcceptError:"Os consentimentos obrigatórios devem ser aceitos.",title:"Consentimentos",saveButtonContent:"Salvar Consentimentos",description:"Aqui, pode explorar e gerir as suas preferências relativamente à forma como recolhemos e utilizamos os seus dados. A sua privacidade é importante para nós e esta ferramenta permite-lhe tomar decisões informadas sobre a sua experiência online.",marketing__category:"Marketing",Other__category:"Outros",privacy__category:"Privacidade e Partilha de Dados",dataSharing__name:"Partilha de Dados",dataSharing__description:"Consentimento para partilha de dados",emailMarketing__name:"Marketing por Email",emailMarketing__description:"Consentimento para marketing por email",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimento para marketing por SMS",cookiesAndTracking__name:"Cookies e Rastreamento",cookiesAndTracking__description:"Consentimento para cookies e rastreamento",termsandconditions__description:"Necessário para comprovar a aceitação dos termos e condições.",emailmarketing__description:"Necessário para comprovar o consentimento para marketing por email.",sms__description:"Necessário para comprovar o consentimento para marketing por SMS.","3rdparty__description":"Necessário para comprovar o consentimento para marketing de terceiros.",noDataFound:"Nenhum dado encontrado para consentimentos.",loading:"Carregando... por favor, aguarde",requiredError:"Este campo é obrigatório",wrongModalConfig:"Ocorreu um erro na configuração! Nenhum consentimento expirado encontrado."},sl:{invalidUrl:"Ni bilo mogoče ustvariti 'URL': Neveljaven URL",fetchConsentsError:"Napaka: Ni bilo mogoče pridobiti soglasij.",fetchPlayerConsentsError:"Napaka: Ni bilo mogoče pridobiti uporabniških soglasij.",fetchConsentsCategoriesError:"Napaka: Ni bilo mogoče pridobiti kategorij soglasij.",updateConsentsError:"Napaka: Ni bilo mogoče posodobiti soglasij.",saveChangesError:"Napaka: Ni bilo mogoče shraniti sprememb.",mustAcceptError:"Obvezna soglasja je treba sprejeti.",title:"Soglasja",saveButtonContent:"Shrani Soglasja",description:"Tukaj lahko raziskujete in upravljate svoje nastavitve glede tega, kako zbiramo in uporabljamo vaše podatke. Vaša zasebnost je za nas pomembna, ta orodje pa vam omogoča informirane odločitve o vaši spletni izkušnji.",marketing__category:"Trženje",Other__category:"Drugo",privacy__category:"Zasebnost in Deljenje Podatkov",dataSharing__name:"Deljenje Podatkov",dataSharing__description:"Soglasje za deljenje podatkov",emailMarketing__name:"E-poštno Trženje",emailMarketing__description:"Soglasje za e-poštno trženje",smsMarketing__name:"SMS Trženje",smsMarketing__description:"Soglasje za SMS trženje",cookiesAndTracking__name:"Piškotki in Sledenje",cookiesAndTracking__description:"Soglasje za uporabo piškotkov in sledenja",termsandconditions__description:"Potrebno za potrditev sprejema pogojev in določil.",emailmarketing__description:"Potrebno za potrditev soglasja za e-poštno trženje.",sms__description:"Potrebno za potrditev soglasja za SMS trženje.","3rdparty__description":"Potrebno za potrditev soglasja za trženje tretjih oseb.",noDataFound:"Za soglasja ni bilo najdenih podatkov.",loading:"Nalaganje... prosimo, počakajte",requiredError:"To polje je obvezno",wrongModalConfig:"Prišlo je do napake v konfiguraciji! Potečena soglasja niso bila najdena."},sr:{invalidUrl:"Nije moguće kreirati 'URL': Nevažeći URL",fetchConsentsError:"Greška: Nije moguće dohvatiti saglasnosti.",fetchPlayerConsentsError:"Greška: Nije moguće dohvatiti korisničke saglasnosti.",fetchConsentsCategoriesError:"Greška: Nije moguće dohvatiti kategorije saglasnosti.",updateConsentsError:"Greška: Nije moguće ažurirati saglasnosti.",saveChangesError:"Greška: Nije moguće sačuvati promene.",mustAcceptError:"Obavezne saglasnosti moraju biti prihvaćene.",title:"Saglasnosti",saveButtonContent:"Sačuvaj Saglasnosti",description:"Ovde možete istražiti i upravljati svojim preferencijama o tome kako prikupljamo i koristimo vaše podatke. Vaša privatnost nam je važna, a ovaj alat vam omogućava donošenje informisanih odluka o vašem online iskustvu.",marketing__category:"Marketing",Other__category:"Ostalo",privacy__category:"Privatnost i Deljenje Podataka",dataSharing__name:"Deljenje Podataka",dataSharing__description:"Saglasnost za deljenje podataka",emailMarketing__name:"Email Marketing",emailMarketing__description:"Saglasnost za email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Saglasnost za SMS marketing",cookiesAndTracking__name:"Kolačići i Praćenje",cookiesAndTracking__description:"Saglasnost za kolačiće i praćenje",termsandconditions__description:"Potrebno za potvrdu prihvatanja uslova i pravila.",emailmarketing__description:"Potrebno za potvrdu saglasnosti za email marketing.",sms__description:"Potrebno za potvrdu saglasnosti za SMS marketing.","3rdparty__description":"Potrebno za potvrdu saglasnosti za marketing trećih lica.",noDataFound:"Nema podataka o saglasnostima.",loading:"Učitavanje... molimo sačekajte",requiredError:"Ovo polje je obavezno",wrongModalConfig:"Došlo je do greške u konfiguraciji! Nema pronađenih istekao saglasnosti."},"es-mx":{invalidUrl:"No se pudo construir 'URL': URL no válida",fetchConsentsError:"Error: No se pudieron obtener los consentimientos.",fetchPlayerConsentsError:"Error: No se pudieron obtener los consentimientos de los usuarios.",fetchConsentsCategoriesError:"Error: No se pudieron obtener las categorías de consentimiento.",updateConsentsError:"Error: No se pudieron actualizar los consentimientos.",saveChangesError:"Error: No se pudieron guardar los cambios.",mustAcceptError:"Se deben aceptar los consentimientos obligatorios.",title:"Consentimientos",saveButtonContent:"Guardar Consentimientos",description:"Aquí puedes explorar y administrar tus preferencias respecto a cómo recopilamos y utilizamos tus datos. Tu privacidad es importante para nosotros, y esta herramienta te permite tomar decisiones informadas sobre tu experiencia en línea.",marketing__category:"Marketing",Other__category:"Otros",privacy__category:"Privacidad y Compartición de Datos",dataSharing__name:"Compartición de Datos",dataSharing__description:"Consentimiento para la compartición de datos",emailMarketing__name:"Marketing por Correo Electrónico",emailMarketing__description:"Consentimiento para marketing por correo electrónico",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimiento para marketing por SMS",cookiesAndTracking__name:"Cookies y Rastreo",cookiesAndTracking__description:"Consentimiento para cookies y rastreo",termsandconditions__description:"Necesario para demostrar que se aceptaron los términos y condiciones.",emailmarketing__description:"Necesario para demostrar consentimiento para marketing por correo electrónico.",sms__description:"Necesario para demostrar consentimiento para marketing por SMS.","3rdparty__description":"Necesario para demostrar consentimiento para marketing de terceros.",noDataFound:"No se encontraron datos para consentimientos.",loading:"Cargando... por favor espera",requiredError:"Este campo es obligatorio",wrongModalConfig:"¡Hubo un error en la configuración! No se encontraron consentimientos vencidos."},"pt-br":{invalidUrl:"Não foi possível construir 'URL': URL inválida",fetchConsentsError:"Erro: Não foi possível buscar os consentimentos.",fetchPlayerConsentsError:"Erro: Não foi possível buscar os consentimentos dos usuários.",fetchConsentsCategoriesError:"Erro: Não foi possível buscar as categorias de consentimento.",updateConsentsError:"Erro: Não foi possível atualizar os consentimentos.",saveChangesError:"Erro: Não foi possível salvar as alterações.",mustAcceptError:"Os consentimentos obrigatórios devem ser aceitos.",title:"Consentimentos",saveButtonContent:"Salvar Consentimentos",description:"Aqui você pode explorar e gerenciar suas preferências sobre como coletamos e utilizamos seus dados. Sua privacidade é importante para nós, e esta ferramenta permite que você tome decisões informadas sobre sua experiência online.",marketing__category:"Marketing",Other__category:"Outros",privacy__category:"Privacidade e Compartilhamento de Dados",dataSharing__name:"Compartilhamento de Dados",dataSharing__description:"Consentimento para compartilhamento de dados",emailMarketing__name:"Marketing por E-mail",emailMarketing__description:"Consentimento para marketing por e-mail",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimento para marketing por SMS",cookiesAndTracking__name:"Cookies e Rastreamento",cookiesAndTracking__description:"Consentimento para cookies e rastreamento",termsandconditions__description:"Necessário para comprovar a aceitação dos termos e condições.",emailmarketing__description:"Necessário para comprovar consentimento para marketing por e-mail.",sms__description:"Necessário para comprovar consentimento para marketing por SMS.","3rdparty__description":"Necessário para comprovar consentimento para marketing de terceiros.",noDataFound:"Nenhum dado encontrado para consentimentos.",loading:"Carregando... por favor aguarde",requiredError:"Este campo é obrigatório",wrongModalConfig:"Houve um erro na configuração! Nenhum consentimento expirado encontrado."}};if(typeof window<"u"){let e=function(e){return function(...t){try{return e.apply(this,t)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=e(customElements.define),Promise.resolve().then((function(){return Ec})).then((e=>e.G)).then((({default:e})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",e.element)}))}function im(){let e,t;return{c(){e=Mh("svg"),t=Mh("path"),Fh(t,"d","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"),Fh(e,"xmlns","http://www.w3.org/2000/svg"),Fh(e,"viewBox","0 0 512 512")},m(i,r){Nh(i,e,r),Dh(e,t)},p:yh,i:yh,o:yh,d(t){t&&Oh(e)}}}function rm(e){Rh(e,"svelte-ltb9q9",'.DisplayNone.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:none}.ContainerCenter.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:30px}.AccordionHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:10px}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;padding:10px 0}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{padding-bottom:0}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{margin-bottom:0}.ConsentItem.svelte-ltb9q9 .ConsentName.svelte-ltb9q9.svelte-ltb9q9{margin:0}.ConsentItem.svelte-ltb9q9 .ConsentDescription.svelte-ltb9q9.svelte-ltb9q9{font-size:0.8rem}.ToggleSwitch.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:53px;height:30px}.ToggleSwitch.Big.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9.svelte-ltb9q9{opacity:0;width:0;height:0}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9{background-color:var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:disabled+.Slider.svelte-ltb9q9{opacity:0.1}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:focus+.Slider.svelte-ltb9q9{box-shadow:0 0 1px var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9{border-radius:34px}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9:before{border-radius:50%}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:disabled{background:var(--emw--color-pale, var(--emw--color-gray-50, #707070))}.ConsentErrorContainer.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-ltb9q9 circle-exclamation-icon.svelte-ltb9q9.svelte-ltb9q9{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox.svelte-ltb9q9.svelte-ltb9q9{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-ltb9q9.svelte-ltb9q9{position:relative}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__input.svelte-ltb9q9.svelte-ltb9q9{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label.svelte-ltb9q9.svelte-ltb9q9{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-ltb9q9.svelte-ltb9q9{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__error-message.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-ltb9q9.svelte-ltb9q9{width:16px;height:auto}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-ltb9q9.svelte-ltb9q9{opacity:1}')}function om(e,t,i){const r=e.slice();return r[64]=t[i],r}function nm(e,t,i){const r=e.slice();return r[61]=t[i],r[62]=t,r[63]=i,r}function sm(e,t,i){const r=e.slice();return r[64]=t[i],r}function am(e){let t,i,r=sc(e[9]),o=[];for(let t=0;t<r.length;t+=1)o[t]=dm(om(e,r,t));return{c(){t=Gh("div"),i=Gh("form");for(let e=0;e<o.length;e+=1)o[e].c();Fh(i,"class","checkbox svelte-ltb9q9"),Fh(t,"class","legacyStyle")},m(r,n){Nh(r,t,n),Dh(t,i);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null);e[31](i)},p(e,t){if(590336&t[0]){let n;for(r=sc(e[9]),n=0;n<r.length;n+=1){const s=om(e,r,n);o[n]?o[n].p(s,t):(o[n]=dm(s),o[n].c(),o[n].m(i,null))}for(;n<o.length;n+=1)o[n].d(1);o.length=r.length}},d(i){i&&Oh(t),zh(o,i),e[31](null)}}}function lm(e){let t,i,r,o,n,s,a,l,h=e[16]("title")||e[16]("description"),c=(e[16]("saveButtonContent")||"Save Consents")+"",d=h&&um(e),u=sc(e[8]),m=[];for(let t=0;t<u.length;t+=1)m[t]=gm(nm(e,u,t));let p=e[6]&&bm(e);return{c(){d&&d.c(),t=Bh();for(let e=0;e<m.length;e+=1)m[e].c();i=Bh(),r=Gh("button"),n=Bh(),p&&p.c(),s=Ph(),Fh(r,"class","SaveConsentsButton svelte-ltb9q9"),r.disabled=o=!e[14]},m(o,h){d&&d.m(o,h),Nh(o,t,h);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(o,h);Nh(o,i,h),Nh(o,r,h),r.innerHTML=c,Nh(o,n,h),p&&p.m(o,h),Nh(o,s,h),a||(l=Lh(r,"click",e[17]),a=!0)},p(e,n){if(65536&n[0]&&(h=e[16]("title")||e[16]("description")),h?d?d.p(e,n):(d=um(e),d.c(),d.m(t.parentNode,t)):d&&(d.d(1),d=null),867088&n[0]){let t;for(u=sc(e[8]),t=0;t<u.length;t+=1){const r=nm(e,u,t);m[t]?m[t].p(r,n):(m[t]=gm(r),m[t].c(),m[t].m(i.parentNode,i))}for(;t<m.length;t+=1)m[t].d(1);m.length=u.length}65536&n[0]&&c!==(c=(e[16]("saveButtonContent")||"Save Consents")+"")&&(r.innerHTML=c),16384&n[0]&&o!==(o=!e[14])&&(r.disabled=o),e[6]?p?p.p(e,n):(p=bm(e),p.c(),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},d(e){e&&(Oh(t),Oh(i),Oh(r),Oh(n),Oh(s)),d&&d.d(e),zh(m,e),p&&p.d(e),a=!1,l()}}}function hm(e){let t,i,r;return{c(){t=Gh("div"),i=Gh("strong"),r=Uh(e[7]),Fh(i,"class","ErrorMessage svelte-ltb9q9"),Fh(t,"class","ContainerCenter svelte-ltb9q9")},m(e,o){Nh(e,t,o),Dh(t,i),Dh(i,r)},p(e,t){128&t[0]&&qh(r,e[7])},d(e){e&&Oh(t)}}}function cm(e){let t;return{c(){t=Gh("general-animation-loading"),jh(t,"clientstyling",e[1]),jh(t,"clientstylingurl",e[2]),jh(t,"mbsource",e[3])},m(e,i){Nh(e,t,i)},p(e,i){2&i[0]&&jh(t,"clientstyling",e[1]),4&i[0]&&jh(t,"clientstylingurl",e[2]),8&i[0]&&jh(t,"mbsource",e[3])},d(e){e&&Oh(t)}}}function dm(e){let t,i,r,o,n,s,a,l,h,c,d,u,m,p,_,f,v,g=(e[16](`${e[64].tagCode}__description`)||e[64].tagCode)+"",b=e[64].mustAccept?" *":"";function E(...t){return e[30](e[64],...t)}return{c(){t=Gh("div"),i=Gh("input"),n=Bh(),s=Gh("label"),a=Gh("div"),l=new Hh(!1),h=Uh(b),d=Bh(),u=Gh("small"),p=Bh(),Fh(i,"class","checkbox__input svelte-ltb9q9"),Fh(i,"type","checkbox"),i.checked=r="1"===e[64].status,Fh(i,"id",o=`${e[64].tagCode}__input`),l.a=h,Fh(a,"class","checkbox__label-text svelte-ltb9q9"),Fh(s,"class","checkbox__label svelte-ltb9q9"),Fh(s,"for",c=`${e[64].tagCode}__input`),Fh(u,"class","checkbox__error-message svelte-ltb9q9"),Fh(u,"id",m="checkBoxError__"+e[64].tagCode),Fh(t,"class",_="checkbox__wrapper "+e[64].tagCode+"__input svelte-ltb9q9")},m(e,r){Nh(e,t,r),Dh(t,i),Dh(t,n),Dh(t,s),Dh(s,a),l.m(g,a),Dh(a,h),Dh(t,d),Dh(t,u),Dh(t,p),f||(v=Lh(i,"input",E),f=!0)},p(n,a){e=n,512&a[0]&&r!==(r="1"===e[64].status)&&(i.checked=r),512&a[0]&&o!==(o=`${e[64].tagCode}__input`)&&Fh(i,"id",o),66048&a[0]&&g!==(g=(e[16](`${e[64].tagCode}__description`)||e[64].tagCode)+"")&&l.p(g),512&a[0]&&b!==(b=e[64].mustAccept?" *":"")&&qh(h,b),512&a[0]&&c!==(c=`${e[64].tagCode}__input`)&&Fh(s,"for",c),512&a[0]&&m!==(m="checkBoxError__"+e[64].tagCode)&&Fh(u,"id",m),512&a[0]&&_!==(_="checkbox__wrapper "+e[64].tagCode+"__input svelte-ltb9q9")&&Fh(t,"class",_)},d(e){e&&Oh(t),f=!1,v()}}}function um(e){let t,i,r=e[16]("title"),o=e[16]("description"),n=r&&mm(e),s=o&&pm(e);return{c(){t=Gh("div"),n&&n.c(),i=Bh(),s&&s.c(),Fh(t,"class","PlayerConsentsHeader svelte-ltb9q9")},m(e,r){Nh(e,t,r),n&&n.m(t,null),Dh(t,i),s&&s.m(t,null)},p(e,a){65536&a[0]&&(r=e[16]("title")),r?n?n.p(e,a):(n=mm(e),n.c(),n.m(t,i)):n&&(n.d(1),n=null),65536&a[0]&&(o=e[16]("description")),o?s?s.p(e,a):(s=pm(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(e){e&&Oh(t),n&&n.d(),s&&s.d()}}}function mm(e){let t,i,r=e[16]("title")+"";return{c(){t=Gh("h2"),i=Uh(r),Fh(t,"class","PlayerConsentsTitle")},m(e,r){Nh(e,t,r),Dh(t,i)},p(e,t){65536&t[0]&&r!==(r=e[16]("title")+"")&&qh(i,r)},d(e){e&&Oh(t)}}}function pm(e){let t,i,r=e[16]("description")+"";return{c(){t=Gh("p"),i=Uh(r),Fh(t,"class","PlayerConsentsDescription")},m(e,r){Nh(e,t,r),Dh(t,i)},p(e,t){65536&t[0]&&r!==(r=e[16]("description")+"")&&qh(i,r)},d(e){e&&Oh(t)}}}function _m(){let e;return{c(){e=Gh("sup"),e.textContent="*",Fh(e,"class","ConsentRequired svelte-ltb9q9")},m(t,i){Nh(t,e,i)},d(t){t&&Oh(e)}}}function fm(e){let t,i=(e[16](`${e[64].tagCode}__description`)||e[64].description)+"";return{c(){t=Gh("p"),Fh(t,"class","ConsentDescription svelte-ltb9q9")},m(e,r){Nh(e,t,r),t.innerHTML=i},p(e,r){66304&r[0]&&i!==(i=(e[16](`${e[64].tagCode}__description`)||e[64].description)+"")&&(t.innerHTML=i)},d(e){e&&Oh(t)}}}function vm(e){let t,i,r,o,n,s,a,l,h,c,d,u,m,p,_,f=(e[16](`${e[64].tagCode}__name`)||e[64].friendlyName)+"",v=!0===e[64].mustAccept&&_m(),g="true"===e[4]&&fm(e);function b(...t){return e[29](e[64],...t)}return{c(){t=Gh("div"),i=Gh("div"),r=Gh("h4"),o=new Hh(!1),n=Bh(),v&&v.c(),s=Bh(),g&&g.c(),a=Bh(),l=Gh("label"),h=Gh("input"),u=Bh(),m=Gh("span"),o.a=n,Fh(r,"class","ConsentName svelte-ltb9q9"),Fh(i,"class","ConsentContent"),Fh(h,"type","checkbox"),h.disabled=c=!0===e[64].mustAccept&&!0===e[12][e[64].tagCode],h.checked=d=e[13][e[64].tagCode],Fh(h,"class","svelte-ltb9q9"),Fh(m,"class","Slider Round svelte-ltb9q9"),Fh(l,"class","ToggleSwitch svelte-ltb9q9"),Fh(t,"class","ConsentItem svelte-ltb9q9")},m(e,c){Nh(e,t,c),Dh(t,i),Dh(i,r),o.m(f,r),Dh(r,n),v&&v.m(r,null),Dh(i,s),g&&g.m(i,null),Dh(t,a),Dh(t,l),Dh(l,h),Dh(l,u),Dh(l,m),p||(_=Lh(h,"input",b),p=!0)},p(t,n){e=t,66304&n[0]&&f!==(f=(e[16](`${e[64].tagCode}__name`)||e[64].friendlyName)+"")&&o.p(f),!0===e[64].mustAccept?v||(v=_m(),v.c(),v.m(r,null)):v&&(v.d(1),v=null),"true"===e[4]?g?g.p(e,n):(g=fm(e),g.c(),g.m(i,null)):g&&(g.d(1),g=null),4864&n[0]&&c!==(c=!0===e[64].mustAccept&&!0===e[12][e[64].tagCode])&&(h.disabled=c),8960&n[0]&&d!==(d=e[13][e[64].tagCode])&&(h.checked=d)},d(e){e&&Oh(t),v&&v.d(),g&&g.d(),p=!1,_()}}}function gm(e){let t,i,r,o,n,s,a,l,h,c,d,u,m=(e[16](`${e[61].categoryTagCode}__category`)||e[61].friendlyName)+"";function p(){e[26].call(s,e[61])}function _(){return e[27](e[61])}function f(...t){return e[28](e[61],...t)}let v=sc(e[9].filter(f)),g=[];for(let t=0;t<v.length;t+=1)g[t]=vm(sm(e,v,t));return{c(){t=Gh("div"),i=Gh("div"),r=Gh("h3"),o=Bh(),n=Gh("label"),s=Gh("input"),a=Bh(),l=Gh("span"),h=Bh(),c=Gh("div");for(let e=0;e<g.length;e+=1)g[e].c();Fh(s,"type","checkbox"),Fh(s,"class","svelte-ltb9q9"),Fh(l,"class","Slider Round svelte-ltb9q9"),Fh(n,"class","ToggleSwitch Big svelte-ltb9q9"),Fh(i,"class","AccordionHeader svelte-ltb9q9"),Fh(c,"class","AccordionContent svelte-ltb9q9"),Fh(t,"class","AccordionItem svelte-ltb9q9")},m(f,v){Nh(f,t,v),Dh(t,i),Dh(i,r),r.innerHTML=m,Dh(i,o),Dh(i,n),Dh(n,s),s.checked=e[11][e[61].categoryTagCode],Dh(n,a),Dh(n,l),Dh(t,h),Dh(t,c);for(let e=0;e<g.length;e+=1)g[e]&&g[e].m(c,null);d||(u=[Lh(s,"change",p),Lh(s,"change",_)],d=!0)},p(t,i){if(e=t,65792&i[0]&&m!==(m=(e[16](`${e[61].categoryTagCode}__category`)||e[61].friendlyName)+"")&&(r.innerHTML=m),2304&i[0]&&(s.checked=e[11][e[61].categoryTagCode]),602896&i[0]){let t;for(v=sc(e[9].filter(f)),t=0;t<v.length;t+=1){const r=sm(e,v,t);g[t]?g[t].p(r,i):(g[t]=vm(r),g[t].c(),g[t].m(c,null))}for(;t<g.length;t+=1)g[t].d(1);g.length=v.length}},d(e){e&&Oh(t),zh(g,e),d=!1,xh(u)}}}function bm(e){let t,i,r,o,n;return{c(){t=Gh("div"),i=Gh("circle-exclamation-icon"),r=Bh(),o=Gh("strong"),n=Uh(e[6]),jh(i,"class","svelte-ltb9q9"),Fh(o,"class","ErrorMessage svelte-ltb9q9"),Fh(t,"class","ConsentErrorContainer svelte-ltb9q9")},m(e,s){Nh(e,t,s),Dh(t,i),Dh(t,r),Dh(t,o),Dh(o,n)},p(e,t){64&t[0]&&qh(n,e[6])},d(e){e&&Oh(t)}}}function Em(e){let t,i;function r(e){return e[10]?cm:e[7]?hm:e[0]?lm:e[0]?void 0:am}let o=r(e),n=o&&o(e);return{c(){t=Gh("div"),i=Gh("div"),n&&n.c(),Fh(i,"class","ConsentsContainer svelte-ltb9q9"),Fh(t,"class",Th("")+" svelte-ltb9q9")},m(r,o){Nh(r,t,o),Dh(t,i),n&&n.m(i,null),e[32](i)},p(e,t){o===(o=r(e))&&n?n.p(e,t):(n&&n.d(1),n=o&&o(e),n&&(n.c(),n.m(i,null)))},i:yh,o:yh,d(i){i&&Oh(t),n&&n.d(),e[32](null)}}}function ym(e,t,i){let r;Ch(e,Ju,(e=>i(16,r=e)));let o,n,s,{session:a=""}=t,{userid:l=""}=t,{endpoint:h=""}=t,{clientstyling:c=""}=t,{clientstylingurl:d=""}=t,{mbsource:u}=t,{lang:m="en"}=t,{displayconsentdescription:p=""}=t,{translationurl:_=""}=t,{modalconsents:f="false"}=t,v=!1,g=!1,b="",E="",y="",w="",k=[],x=[],S=[],A=!0,I=!0,C={},T={},D={},R={},N={none:{key:"0",value:"None"},accepted:{key:"1",value:"Accepted"},expired:{key:"2",value:"Expired"},denied:{key:"3",value:"Denied"},suspended:{key:"4",value:"Suspended"}},O=!1;Object.keys(tm).forEach((e=>{em(e,tm[e])}));const z=(e,t=!1)=>{t?i(7,w=e):(U(),i(6,y=e))},G=async(e,t,i,o=!1)=>{try{const o=await fetch(e,i);if(!o.ok)throw new Error(r(t));const n=await o.json();return g?n:n.filter((e=>!0===e.showOnRegister))}catch(e){throw z(e instanceof TypeError?r(t):e.message,o),e}},M=async()=>{const e=new URL(`${h}/api/v1/gm/consents`);if(e.searchParams.append("Status","Active"),!g)return await G(e.href,"fetchConsentsError",{method:"GET"},!0);const t=new URL(`${h}/api/v1/gm/user-consents/${E}`);return await Promise.all([G(e.href,"fetchConsentsError",{method:"GET"},!0),G(t.href,"fetchPlayerConsentsError",{method:"GET",headers:{"X-SessionId":b,"Content-Type":"application/json"}})])},U=()=>{i(13,R={...D}),i(11,C={...T})},B=e=>{S.filter((t=>t.category.categoryTagCode===e)).forEach((t=>{t.status=t.status===N.denied.value?N.accepted.value:N.denied.value,i(13,R[t.tagCode]=C[e]||!1,R)})),i(14,n=j())},P=(e,t,o)=>{const n=S.find((e=>e.id===o)),a=t?"value":"key";let l;if(!t&&n.mustAccept){const e=Array.from(s.children);for(const t of e)if(l=Array.from(t.children).find((e=>e.getAttribute("id")===`checkBoxError__${n.tagCode}`)),l)break}if(n.status===N.accepted[a]?(n.status=N.denied[a],l&&(l.innerHTML=r("requiredError"))):(n.status=N.accepted[a],l&&(l.innerHTML="")),t){i(13,R[n.tagCode]=!R[n.tagCode],R);const e=S.filter((e=>e.category.categoryTagCode===t.categoryTagCode)).every((e=>e.status!==N.denied.value));i(11,C[t.categoryTagCode]=e,C)}L()},L=(e=>{let t;return function(...i){const r=this;clearTimeout(t),t=setTimeout((()=>{e.apply(r,i)}),500)}})((()=>F())),F=()=>{i(14,n=j()),a||(window.postMessage({type:"isConsentsValid",isValid:n}),localStorage.setItem("playerConsents",JSON.stringify(S)))},j=()=>0===S.filter((e=>S.some((t=>e.tagCode===t.tagCode&&t.mustAccept&&(e.status===N.denied.key||e.status===N.denied.value))))).length,q=e=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:e}},window.location.href)};return Xh((()=>{setTimeout((()=>{i(25,v=!0)}),50);const e=e=>(e=>{e.data&&"setUpPlayerConsents"!==e.data.type||(e=>{const t=new URL(`${h}/api/v2/gm/legislation/consents`),r={method:"POST",body:JSON.stringify({playerConsents:S,registrationId:e}),headers:{"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,r).then((e=>{e.ok||(O=!0)})).catch((e=>(console.error(e),q(e)))).finally((()=>{i(10,A=!1)}))})(e.data.registerid)})(e);return window.addEventListener("message",e),()=>{window,window.removeEventListener("message",e)}})),e.$$set=e=>{"session"in e&&i(0,a=e.session),"userid"in e&&i(20,l=e.userid),"endpoint"in e&&i(21,h=e.endpoint),"clientstyling"in e&&i(1,c=e.clientstyling),"clientstylingurl"in e&&i(2,d=e.clientstylingurl),"mbsource"in e&&i(3,u=e.mbsource),"lang"in e&&i(22,m=e.lang),"displayconsentdescription"in e&&i(4,p=e.displayconsentdescription),"translationurl"in e&&i(23,_=e.translationurl),"modalconsents"in e&&i(24,f=e.modalconsents)},e.$$.update=()=>{33554433&e.$$.dirty[0]&&v&&a&&(a&&(b=a,g=!0),l&&(E=l),(async()=>{try{let e=[],t=[];if(g?[e,t]=await M():e=await M(),i(10,A=!1),x=[...e],i(8,k=(e=>{const t=new Map;return e.forEach((e=>{t.has(e.category.categoryTagCode)||t.set(e.category.categoryTagCode,e.category)})),Array.from(t.values())})(x).sort(((e,t)=>e.categoryTagCode.localeCompare(t.categoryTagCode)))),i(11,C=(e=>{const t=localStorage.getItem("categoryToggle"+E);if(null===t){const t=e.reduce(((e,t)=>(e[t.categoryTagCode]=!1,e)),{});return localStorage.setItem("categoryToggle"+E,JSON.stringify(t)),t}return JSON.parse(t)})(k)),T={...C},i(9,S=[...t]),x.forEach((e=>{let t=S.find((t=>t.tagCode===e.tagCode));t||(t={...e,status:N.denied.value},S.push(t)),t.description=e.description,t.orderNumber=e.orderNumber})),"true"===f){if(i(9,S=S.filter((e=>e.status===N.expired.value))),0!==S.length)return;z(r("wrongModalConfig"),!0)}S.forEach((e=>{i(12,D[e.tagCode]=e.status===N.accepted.value,D)})),i(13,R={...D})}catch(e){throw i(10,A=!1),z(e instanceof TypeError?r("invalidUrl"):e.message,!0),e}})()),1&e.$$.dirty[0]&&(a||(()=>{O=!1;const e=new URL(`${h}/api/v2/gm/legislation/consents`);fetch(e.href,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then((e=>e.ok?e.json():(O=!0,e.json().then((e=>(console.error(e),q(e))))))).then((e=>{if(!O){if(x=e,localStorage.getItem("playerConsents")){try{i(9,S=JSON.parse(localStorage.getItem("playerConsents")))}catch(e){return console.error(e),q(e)}return}return i(9,S=x.map((e=>({id:e.id,status:N.denied.key,friendlyName:e.friendlyName,tagCode:e.tagCode,selected:null,mustAccept:e.mustAccept})))),localStorage.setItem("playerConsents",JSON.stringify(S)),S}})).catch((e=>(console.error(e),q(e)))).finally((()=>{i(10,A=!1)}))})()),34&e.$$.dirty[0]&&c&&o&&uc(o,c),36&e.$$.dirty[0]&&d&&o&&mc(o,d),40&e.$$.dirty[0]&&o&&pc(o,`${u}.Style`),4194304&e.$$.dirty[0]&&m&&function(e){zu.set(e)}(m),8388608&e.$$.dirty[0]&&_&&(()=>{let e=new URL(_);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{em(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[a,c,d,u,p,o,y,w,k,S,A,C,D,R,n,s,r,async()=>{if(!I)return;I=!1;const e=[],t=[];if(Object.keys(R).forEach((i=>{const r=S.find((e=>e.tagCode===i));R[i]!==D[i]&&(r?e.push({tagCode:i,status:R[i]?N.accepted.value:N.denied.value}):t.push({tagCode:i,status:R[i]?N.accepted.value:N.denied.value}))})),!g)return localStorage.setItem("categoryToggle"+E,JSON.stringify(C)),T={...C},window.postMessage({type:"NewPlayerConsentData",data:JSON.stringify(t)},window.location.href),void(I=!0);const o=new URL(`${h}/api/v1/gm/user-consents/${E}`);try{const r=await Promise.allSettled([t.length>0&&G(o.href,"updateConsentsError",{method:"POST",headers:{"X-SessionId":b,"Content-Type":"application/json"},body:JSON.stringify({userConsents:t})}),e.length>0&&G(o.href,"updateConsentsError",{method:"PATCH",headers:{"X-SessionId":b,"Content-Type":"application/json"},body:JSON.stringify({userConsents:e})})]);r.forEach(((r,o)=>{if("rejected"===r.status||!1===r.value.ok){const r=o<t.length?t[o]:e[o-t.length];i(13,R[r.tagCode]=D[r.tagCode],R)}})),r.every((e=>"fulfilled"===e.status))&&(localStorage.setItem("categoryToggle"+E,JSON.stringify(C)),T={...C},window.postMessage({type:"PlayerConsentUpdated",success:!0},window.location.href),i(12,D={...R}))}catch(e){z(e instanceof TypeError?r("saveChangesError"):e.message),window.postMessage({type:"PlayerConsentUpdated",success:!1},window.location.href)}finally{I=!0,i(14,n=!1)}},B,P,l,h,m,_,f,v,function(e){C[e.categoryTagCode]=this.checked,i(11,C)},e=>B(e.categoryTagCode),(e,t)=>t.category.categoryTagCode===e.categoryTagCode,e=>P(0,e.category,e.id),e=>P(0,null,e.id),function(e){Yh[e?"unshift":"push"]((()=>{s=e,i(15,s)}))},function(e){Yh[e?"unshift":"push"]((()=>{o=e,i(5,o)}))}]}customElements.define("circle-exclamation-icon",cc(class extends dc{constructor(e){super(),ac(this,e,null,im,Ah,{})}},{},[],[],!0));class wm extends dc{constructor(e){super(),ac(this,e,ym,Em,Ah,{session:0,userid:20,endpoint:21,clientstyling:1,clientstylingurl:2,mbsource:3,lang:22,displayconsentdescription:4,translationurl:23,modalconsents:24},rm,[-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),rc()}get userid(){return this.$$.ctx[20]}set userid(e){this.$$set({userid:e}),rc()}get endpoint(){return this.$$.ctx[21]}set endpoint(e){this.$$set({endpoint:e}),rc()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),rc()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),rc()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),rc()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),rc()}get displayconsentdescription(){return this.$$.ctx[4]}set displayconsentdescription(e){this.$$set({displayconsentdescription:e}),rc()}get translationurl(){return this.$$.ctx[23]}set translationurl(e){this.$$set({translationurl:e}),rc()}get modalconsents(){return this.$$.ctx[24]}set modalconsents(e){this.$$set({modalconsents:e}),rc()}}cc(wm,{session:{},userid:{},endpoint:{},clientstyling:{},clientstylingurl:{},mbsource:{},lang:{},displayconsentdescription:{},translationurl:{},modalconsents:{}},[],[],!0),customElements.define=function(e){return function(...t){try{return e.apply(this,t)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}}(customElements.define),!customElements.get("player-consents")&&customElements.define("player-consents",wm.element);const km=class{constructor(i){e(this,i),this.registrationWidgetLoaded=t(this,"registrationWidgetLoaded",7),this.registrationStepUpdated=t(this,"registrationStepUpdated",7),this.listOfInputValues=[],this.listOfInputValidity=[],this.listOfActions=[],this.listOfInputs=[],this.emitValue=!1,this.backButtonPressed=!1,this.registerErrors=!1,this.extraActions=[],this.registrationStepsState={regId:null},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.host.shadowRoot.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,this.clientStyling=e,setTimeout((()=>{this.host.shadowRoot.prepend(t)}),1)}))},this.endpoint=void 0,this.language="en",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.dateFormat=void 0,this.buttonInsideForm=void 0,this.btag=null,this.emitOnClick=!1,this.errorMessage=void 0,this.isFormValid=void 0,this.isConsentValid=!1,this.isConsentReady=!1,this.isLoading=!0,this.isLoadingPOST=void 0,this.registrationStep=void 0,this.forms=[],this.limitStylingAppends=!1,this.autofilled=!1}sendStep(){this.registrationStepUpdated.emit(this.registrationStep),window.postMessage({type:"registrationStepUpdated",step:this.registrationStep},window.location.href)}handleStylingChange(e,t){e!==t&&this.setClientStyling()}handleStylingUrlChange(e,t){e!==t&&this.setClientStylingURL()}setFormValidity(){this.errorMessage="",this.listOfInputValidity&&(this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)),this.listOfInputs.some((e=>e.autofill))&&(this.autofilled=!0)}addBtag(){this.addBtagValue()}checkInputsValidityHandler(e){this.listOfInputValidity.find((t=>t.name==e.detail.name)).isValid=e.detail.valid,this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)}getInputsValueHandler(e){this.listOfInputValues.find((t=>{t.name==e.detail.name&&(t.value=e.detail.value,t.type=e.detail.type||null)})),this.stepsStateMachine({event:"set",type:"values"})}componentWillLoad(){return this.getRegisterConfig().then((e=>{this.formatConfig(e),this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity),this.stepsStateMachine({event:"set",type:"inputs"})}))}componentDidLoad(){this.registrationWidgetLoaded.emit(),window.postMessage({type:"registrationWidgetLoaded"},window.location.href),!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}messageHandler(e){e.data&&"isConsentsValid"!=e.data.type||(this.listOfInputValidity.find((e=>"Consents"===e.name)).isValid=!!e.data.isValid,this.isConsentValid=!!e.data.isValid,this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity))}nextHandler(e){e.preventDefault(),this.emitValue=!0,this.setRegisterStep()}backHandler(e){e.preventDefault(),this.registrationStep=this.stepChange("decrement"),this.stepsStateMachine({event:"get",type:"inputs"}),this.stepsStateMachine({event:"get",type:"values"})}dispatchRegisterCredentialsEvent(){let e="",t="";Object.keys(this.registrationStepsState).forEach((i=>{this.registrationStepsState[i].registerUserData&&(e||(e=this.registrationStepsState[i].registerUserData.Email?this.registrationStepsState[i].registerUserData.Email.value:e),t||(t=this.registrationStepsState[i].registerUserData.Password?this.registrationStepsState[i].registerUserData.Password.value:t))})),this.registerCredentialsEvent=new CustomEvent("RegisterCredentials",{bubbles:!0,detail:{userNameEmail:e,userPassword:t}}),window.dispatchEvent(this.registerCredentialsEvent)}stepsStateMachine(e){const t=()=>{localStorage.setItem("registrationStepsState",JSON.stringify(this.registrationStepsState))};switch(e.event){case"set":if("inputs"==e.type){const e=this.registrationStepsState[this.registrationStep];e.fields=this.listOfInputs,e.actions=this.listOfActions,e.fieldsValidity=this.listOfInputValidity}"values"==e.type&&(this.registrationStepsState[this.registrationStep].registerUserData=this.listOfInputValues.reduce(((e,t)=>(e[t.name]={value:t.value,isDuplicate:t.isDuplicate},e)),{})),t();break;case"get":const i=JSON.parse(localStorage.getItem("registrationStepsState"));if(!i)return;if("inputs"==e.type){const e=this.registrationStepsState[this.registrationStep];this.listOfInputs=e.fields,this.listOfActions=e.actions,this.listOfInputValidity=e.fieldsValidity}if("values"==e.type){const e=i[this.registrationStep].registerUserData;this.listOfInputValues=Object.keys(e).map((t=>({name:t,value:e[t].value,isDuplicate:e[t].isDuplicate}))),this.listOfInputValues.forEach((e=>{const t=this.listOfInputs.find((t=>t.name===e.name));t&&(t.defaultValue=e.value,"togglecheckbox"===t.inputType&&t.data.subFields.forEach((e=>{const t=this.listOfInputValues.find((t=>t.name===e.name));e.defaultValue=t.value})))}))}this.isConsentReady=this.listOfActions.some((e=>"/Consents"===e)),this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)}}getRegisterConfig(e){const t=new URL(`${this.endpoint}/v1/player/legislation/registration/config`),i=new Headers;i.append("Content-Type","application/json"),i.append("Accept","application/json"),e&&t.searchParams.append("registrationId",e);const r={method:"GET",headers:i};return new Promise(((e,i)=>{this.isLoading=!0,fetch(t.href,r).then((e=>e.json())).then((t=>{this.isLoading=!1,e(t)})).catch((e=>{this.isLoading=!1,console.error(e),i(e)})).finally((()=>{this.isLoading=!1}))}))}setRegisterStep(){this.isLoadingPOST=!0;const e=new URL(`${this.endpoint}/v1/player/legislation/registration/step`),t={registrationId:this.registrationID,registerUserDto:this.listOfInputValues.filter((e=>!e.isDuplicate)).reduce(((e,t)=>("TypeOfPublicArea"===t.name?e[t.name]=t.value.toLowerCase():"tel"===t.type?(e.MobilePrefix=t.value.prefix,e[t.name]=t.value.phone):"checkboxgroup"===t.type?null!==t.value&&Object.entries(t.value).forEach((([t,i])=>{e[t]=i?"true":"false"})):e[t.name]="toggle"===t.type?t.value?"true":"false":t.value,e)),{}),step:this.registrationStep},i=new Headers;i.append("Content-Type","application/json"),i.append("Accept","application/json");const r={method:"POST",body:JSON.stringify(t),headers:i};fetch(e.href,r).then((e=>e.ok?e.json():e.json().then((e=>{this.errorCode=e.thirdPartyResponse.errorCode,this.errorMessage="GmErr_BadRequest_IdomsoftVerification_ShouldRetry"==this.errorCode?e.thirdPartyResponse.message:"GmErr_Forbidden_UserAccount_NavExcluded"===this.errorCode?Eh(`${this.errorCode}`,this.language):"GmErr_BadRequest"==this.errorCode?e.thirdPartyResponse.message:Eh(`${this.errorCode}`,this.language)||Eh("generalError",this.language)})))).then((e=>{this.isLoadingPOST=!1,this.registrationID=e.registrationId,this.listOfActions.some((e=>"/register"==e))?(this.listOfActions.some((e=>"/generate-2FA-code/Generate2FACode"==e))&&this.extraActions.push("2fa"),localStorage.getItem("playerConsents")&&localStorage.removeItem("playerConsents"),this.setRegister()):(this.isConsentValid&&window.postMessage({type:"setUpPlayerConsents",registerid:this.registrationID}),this.registrationStep=this.stepChange("increment"),Object.keys(this.registrationStepsState).find((e=>e==this.registrationStep))?(this.stepsStateMachine({event:"get",type:"inputs"}),this.stepsStateMachine({event:"get",type:"values"})):this.getRegisterConfig(this.registrationID).then((e=>{this.formatConfig(e),this.stepsStateMachine({event:"set",type:"inputs"})})))})).catch((e=>{this.isLoadingPOST=!1,console.error(e)})).finally((()=>{this.isLoadingPOST=!1}))}setRegister(){this.isLoading=!0,this.registerErrors=!1;const e=new URL(`${this.endpoint}/v1/player/legislation/register`),t=new Headers;t.append("Content-Type","application/json"),t.append("Accept","application/json");const i={method:"PUT",body:JSON.stringify({registrationId:this.registrationID}),headers:t};fetch(e.href,i).then((e=>e.ok?e.json():(this.registerErrors=!0,e.json().then((e=>{this.errorCode=e.thirdPartyResponse.errorCode,this.errorMessage="GmErr_BadRequest_IdomsoftVerification_ShouldRetry"==this.errorCode||"GmErr_BadRequest"==this.errorCode?e.thirdPartyResponse.message:Eh(`${this.errorCode}`,this.language)||Eh("generalError",this.language),window.postMessage({type:"registrationFailed",errorMessage:null==e?void 0:e.thirdPartyResponse.message},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMessage}},window.location.href)}))))).then((e=>{this.isLoading=!1,this.registerErrors||(this.dispatchRegisterCredentialsEvent(),window.postMessage({type:"registrationSuccessful",userId:null==e?void 0:e.userId,extraActions:this.extraActions},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"success",message:Eh("successMessage",this.language)}},window.location.href))})).catch((e=>{this.isLoading=!1,console.error(e)})).finally((()=>{this.isLoading=!1}))}formatConfig(e){if(this.listOfInputs=e.content.fields.flatMap((e=>{const t=e.validate.custom.find((e=>"duplicate-input"===e.rule)),i=Object.assign({},e);return t?[i,Object.assign(Object.assign({},e),{name:`${e.name}Duplicate`,displayName:t.displayName,isDuplicateInput:!0})]:[i]})),this.listOfInputValidity=this.listOfInputs.reduce(((e,t)=>{var i;return"togglecheckbox"===(null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase())?t.data.subFields.forEach((t=>{e.push({name:t.name,isValid:this.setInitialValidStatus(t)})})):e.push({name:t.name,isValid:this.setInitialValidStatus(t)}),e}),[]),this.listOfInputValues=this.listOfInputs.reduce(((e,t)=>{var i;const r=null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase();return"togglecheckbox"===r&&t.data.subFields.forEach((t=>{var i;e.push({name:t.name,value:"checkbox"==(null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase())?"false":null,isDuplicate:t.isDuplicateInput||!1,type:"togglecheckbox"===r?"togglecheckbox":null})})),e.push({name:t.name,value:"checkbox"===r||"togglecheckbox"===r?"false":null,isDuplicate:t.isDuplicateInput||!1,type:"checkboxgroup"===r?"checkboxgroup":"togglecheckbox"===r?"toggle":null}),e}),[]),this.btag&&this.addBtagValue(),this.listOfActions=e.content.actions.map((e=>e)),this.registrationID=e.content.registrationID,this.registrationStep=e.content.step,this.listOfActions.some((e=>"/register"==e))&&(this.lastStep=this.registrationStep),this.listOfActions.some((e=>"/Consents"==e))){if(this.isConsentReady)return this.listOfInputValidity.find((e=>"Consents"===e.name)).isValid=!1,void(this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity));this.listOfInputValidity.push({name:"Consents",isValid:!1}),this.isConsentReady=!0}else this.isConsentReady=!1;var t;this.translationUrl?(t=this.translationUrl,new Promise((e=>{fetch(t).then((e=>e.json())).then((t=>{Object.keys(t).forEach((e=>{for(let i in t[e])bh[e][i]=t[e][i]})),e(!0)}))}))).then((()=>{this.listOfInputs.forEach((e=>{var t,i;return this.addTranslation(e),"togglecheckbox"===(null===(t=e.inputType)||void 0===t?void 0:t.toLowerCase())&&e.data.subFields.forEach((e=>this.addTranslation(e))),"checkboxgroup"===(null===(i=e.inputType)||void 0===i?void 0:i.toLowerCase())&&(this.addTranslation(e),e.data.subFields.forEach((e=>this.addTranslation(e)))),e}))})).catch((e=>{console.error("Failed to fetch translations:",e)})).finally((()=>{this.forms=[...this.forms,{[this.registrationStep]:this.listOfInputs}]})):this.forms=[...this.forms,{[this.registrationStep]:this.listOfInputs}],this.registrationStepsState.regId=this.registrationID,this.registrationStepsState[this.registrationStep]||(this.registrationStepsState[this.registrationStep]={fields:[],fieldsValidity:[],registerUserData:{},actions:[]})}addBtagValue(){const e=this.listOfInputs.find((e=>"btag"===e.name.toLowerCase()));e&&(e.defaultValue=this.btag);const t=this.listOfInputValues.find((e=>"btag"===e.name.toLowerCase()));t&&(t.value=this.btag)}addTranslation(e){bh[bh[this.language]?this.language:"en"][e.name]&&Object.keys(bh[this.language][e.name]).forEach((t=>{e[t]=bh[this.language][e.name][t]}))}setInitialValidStatus(e){var t,i,r,o;return"checkbox"==(null===(t=e.inputType)||void 0===t?void 0:t.toLowerCase())&&0==(null===(i=e.validate)||void 0===i?void 0:i.mandatory)||("checkbox"!==(null===(r=e.inputType)||void 0===r?void 0:r.toLowerCase())||!(null===(o=e.validate)||void 0===o?void 0:o.mandatory)||"true"===e.defaultValue)&&null!==e.defaultValue}stepChange(e){const t=parseInt(this.registrationStep.replace("Step",""));return"increment"===e?"Step"+(t+1):"decrement"===e?"Step"+(t-1):void 0}getInvalidStatus(e){return e.filter((e=>0==e.isValid)).length>0}renderForm(){return this.forms.map(((e,t)=>i("form",{action:".",id:`RegistrationForm${this.registrationStep}`,class:"registration__form "+(this.registrationStep!==`Step${t+1}`?"hidden":""),ref:e=>this.form=e},e[this.registrationStep]&&e[this.registrationStep].map((e=>i("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,options:e.data?"checkboxgroup"==e.inputType.toLowerCase()||"togglecheckbox"==e.inputType.toLowerCase()?e.data.subFields:e.data.values:[],defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,isDuplicateInput:e.isDuplicateInput,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:null==e.placeholder?"":e.placeholder,dateFormat:this.dateFormat,"translation-url":this.translationUrl,emitOnClick:this.emitOnClick}))),this.isConsentReady&&this.renderConsents(),this.buttonInsideForm&&this.renderButtons(),i("div",{class:"registration__wrapper--flex"},i("p",{class:"registration__error-message",innerHTML:this.errorMessage})))))}renderConsents(){return i("div",{class:"consentsContainer"},i("player-consents",{endpoint:this.endpoint}))}renderButtons(){return i("div",{class:"registration__buttons-wrapper "+(this.autofilled?"registration__buttons-wrapper--autofilled":"")},this.isLoadingPOST&&i("slot",{name:"spinner"})&&i("svg",{class:"spinner",viewBox:"0 0 50 50"},i("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"})),!this.isLoadingPOST&&i("button",{class:"registration__button registration__button--next "+(this.isFormValid?"":"registration__button--disabled"),type:"submit",form:`RegistrationForm${this.registrationStep}`,onClick:e=>this.nextHandler(e),disabled:!this.isFormValid},Eh(this.lastStep===this.registrationStep?"doneButton":"nextButton",this.language)),i("button",{class:"registration__button registration__button--back "+("Step1"==this.registrationStep?"registration__button--first-step":""),onClick:e=>this.backHandler(e)},Eh("backButton",this.language)))}render(){return this.isLoading?i("p",null,"Please wait, loading ..."):i("div",{class:`registration registration__${this.registrationStep}`},this.renderForm(),!this.buttonInsideForm&&this.renderButtons())}get host(){return r(this)}static get watchers(){return{registrationStep:["sendStep"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],forms:["setFormValidity"],btag:["addBtag"]}}};km.style='*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.registration__form.hidden {\n display: none;\n}\n\n.registration {\n font-family: "Roboto";\n font-style: normal;\n font-family: sans-serif;\n display: flex;\n flex-direction: column;\n gap: 24px;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n}\n.registration__wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.registration__error-message {\n color: var(--emw--color-error, var(--emw--color-red, #ed0909));\n font-size: 13px;\n display: block;\n justify-content: center;\n text-align: center;\n}\n.registration__form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.registration__buttons-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n position: relative;\n}\n.registration__button {\n border-radius: 5px;\n background: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n border: 1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n color: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));\n text-transform: uppercase;\n font-size: 20px;\n height: 44px;\n width: 100%;\n margin: 0px auto;\n padding: 10px 20px;\n font-weight: normal;\n box-shadow: none;\n cursor: pointer;\n}\n.registration__button--disabled {\n background: var(--emw--color-gray-100, #E6E6E6);\n border: 1px solid var(--emw--color-gray-150, #828282);\n pointer-events: none;\n box-shadow: none;\n}\n.registration__button--first-step {\n display: none;\n}\n\n@container (min-width: 450px) {\n .registration__form {\n grid-template-columns: repeat(2, 1fr);\n }\n .registration__buttons-wrapper {\n flex-direction: row-reverse;\n gap: 15px;\n }\n}\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n width: 50px;\n height: 50px;\n}\n.spinner .path {\n stroke: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}';const xm=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.validation=void 0,this.defaultValue=void 0,this.autofilled=void 0,this.tooltip=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}return this.inputReference.validity.rangeUnderflow||this.inputReference.validity.rangeOverflow?s("numberLengthError",this.language,{values:{min:this.validation.min,max:this.validation.max}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"number__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"841265bba6b75cc61a0eac1450c3f5aa5f917a2e",class:`number__wrapper ${this.autofilled?"number__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"645c7817cf5a0bdc352de9d8c0698fde235aa6d3",class:"number__wrapper--flex"},i("label",{key:"3343cbbb8482b71cd152161a8d422f318f07f3fe",class:"number__label "+(this.validation.mandatory?"number__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"1f3341b2127095870610fc0e0b4b5d220c5d2e2c",class:"number__wrapper--relative"},this.tooltip&&i("img",{key:"8bbe2fe9f62347cbcd37b753d4a1b0718dc39091",class:"number__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"100401abdc33069f34e27e0807c9f31ddf7e42ec",ref:e=>this.inputReference=e,type:"number",value:this.defaultValue,readOnly:this.autofilled,id:`${this.name}__input`,class:`number__input ${e}`,pattern:this.validationPattern,placeholder:`${this.placeholder}`,required:this.validation.mandatory,max:this.validation.max,min:this.validation.min,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"db1e0043bb9b6de2ad8e18f49f96152b9451b93c",class:"number__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};xm.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:"Roboto";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__wrapper--autofilled .number__input{color:var(--emw--color-black, #000000)}.number__wrapper--flex{display:flex;gap:5px}.number__wrapper--relative{position:relative}.number__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.number__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative;-moz-appearance:textfield;}.number__input:focus{outline-color:#3E3E3E}.number__input::-webkit-outer-spin-button,.number__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__input::placeholder{color:#979797}.number__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__tooltip-icon{width:16px;height:auto}.number__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.number__tooltip.visible{opacity:1}',
4003
+ ***************************************************************************** */var Nc=function(e,t){return Nc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},Nc(e,t)};function Oc(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}Nc(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var zc=function(){return zc=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var o in t=arguments[i])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},zc.apply(this,arguments)};function Gc(e,t,i){if(2===arguments.length)for(var r,o=0,n=t.length;o<n;o++)(r||!(o in t))&&(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||t)}function Mc(e,t){return(t&&t.strategy?t.strategy:Lc)(e,{cache:t&&t.cache?t.cache:$c,serializer:t&&t.serializer?t.serializer:Hc})}function Uc(e,t,i,r){var o=function(e){return null==e||"number"==typeof e||"boolean"==typeof e}(r)?r:i(r),n=t.get(o);return typeof n>"u"&&(n=e.call(this,r),t.set(o,n)),n}function Bc(e,t,i){var r=Array.prototype.slice.call(arguments,3),o=i(r),n=t.get(o);return typeof n>"u"&&(n=e.apply(this,r),t.set(o,n)),n}function Pc(e,t,i,r,o){return i.bind(t,e,r,o)}function Lc(e,t){return Pc(e,this,1===e.length?Uc:Bc,t.cache.create(),t.serializer)}var Fc,jc,qc,Hc=function(){return JSON.stringify(arguments)},Vc=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),$c={create:function(){return new Vc}},Xc={variadic:function(e,t){return Pc(e,this,Bc,t.cache.create(),t.serializer)}};function Kc(e){return e.type===jc.literal}function Yc(e){return e.type===jc.argument}function Wc(e){return e.type===jc.number}function Zc(e){return e.type===jc.date}function Qc(e){return e.type===jc.time}function Jc(e){return e.type===jc.select}function ed(e){return e.type===jc.plural}function td(e){return e.type===jc.pound}function id(e){return e.type===jc.tag}function rd(e){return!(!e||"object"!=typeof e||e.type!==qc.number)}function od(e){return!(!e||"object"!=typeof e||e.type!==qc.dateTime)}!function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Fc||(Fc={})),function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"}(jc||(jc={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(qc||(qc={}));var nd=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,sd=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function ad(e){var t={};return e.replace(sd,(function(e){var i=e.length;switch(e[0]){case"G":t.era=4===i?"long":5===i?"narrow":"short";break;case"y":t.year=2===i?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][i-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][i-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=4===i?"long":5===i?"narrow":"short";break;case"e":if(i<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"c":if(i<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][i-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][i-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][i-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][i-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][i-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][i-1];break;case"s":t.second=["numeric","2-digit"][i-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=i<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}var ld=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function hd(e){return e.replace(/^(.*?)-/,"")}var cd=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,dd=/^(@+)?(\+|#+)?[rs]?$/g,ud=/(\*)(0+)|(#+)(0+)|(0+)/g,md=/^(0+)$/;function pd(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(dd,(function(e,i,r){return"string"!=typeof r?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===r?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""})),t}function _d(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function fd(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!md.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function vd(e){return _d(e)||{}}function gd(e){for(var t={},i=0,r=e;i<r.length;i++){var o=r[i];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=hd(o.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=zc(zc(zc({},t),{notation:"scientific"}),o.options.reduce((function(e,t){return zc(zc({},e),vd(t))}),{}));continue;case"engineering":t=zc(zc(zc({},t),{notation:"engineering"}),o.options.reduce((function(e,t){return zc(zc({},e),vd(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(ud,(function(e,i,r,o,n,s){if(i)t.minimumIntegerDigits=r.length;else{if(o&&n)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(md.test(o.stem))t.minimumIntegerDigits=o.stem.length;else if(cd.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(cd,(function(e,i,r,o,n,s){return"*"===r?t.minimumFractionDigits=i.length:o&&"#"===o[0]?t.maximumFractionDigits=o.length:n&&s?(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var n=o.options[0];"w"===n?t=zc(zc({},t),{trailingZeroDisplay:"stripIfInteger"}):n&&(t=zc(zc({},t),pd(n)))}else if(dd.test(o.stem))t=zc(zc({},t),pd(o.stem));else{var s=_d(o.stem);s&&(t=zc(zc({},t),s));var a=fd(o.stem);a&&(t=zc(zc({},t),a))}}return t}var bd={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Ed(e){var t=e.hourCycle;if(void 0===t&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var i,r=e.language;return"root"!==r&&(i=e.maximize().region),(bd[i||""]||bd[r||""]||bd["".concat(r,"-001")]||bd["001"])[0]}var yd,wd=new RegExp("^".concat(nd.source,"*")),kd=new RegExp("".concat(nd.source,"*$"));function xd(e,t){return{start:e,end:t}}var Sd=!!String.prototype.startsWith&&"_a".startsWith("a",1),Ad=!!String.fromCodePoint,Id=!!Object.fromEntries,Cd=!!String.prototype.codePointAt,Td=!!String.prototype.trimStart,Dd=!!String.prototype.trimEnd,Rd=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Nd=!0;try{Nd="a"===(null===(yd=Ld("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===yd?void 0:yd[0])}catch{Nd=!1}var Od,zd=Sd?function(e,t,i){return e.startsWith(t,i)}:function(e,t,i){return e.slice(i,i+t.length)===t},Gd=Ad?String.fromCodePoint:function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,r="",o=e.length,n=0;o>n;){if((i=e[n++])>1114111)throw RangeError(i+" is not a valid code point");r+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return r},Md=Id?Object.fromEntries:function(e){for(var t={},i=0,r=e;i<r.length;i++){var o=r[i];t[o[0]]=o[1]}return t},Ud=Cd?function(e,t){return e.codePointAt(t)}:function(e,t){var i=e.length;if(!(t<0||t>=i)){var r,o=e.charCodeAt(t);return o<55296||o>56319||t+1===i||(r=e.charCodeAt(t+1))<56320||r>57343?o:r-56320+(o-55296<<10)+65536}},Bd=Td?function(e){return e.trimStart()}:function(e){return e.replace(wd,"")},Pd=Dd?function(e){return e.trimEnd()}:function(e){return e.replace(kd,"")};function Ld(e,t){return new RegExp(e,t)}if(Nd){var Fd=Ld("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Od=function(e,t){var i;return Fd.lastIndex=t,null!==(i=Fd.exec(e)[1])&&void 0!==i?i:""}}else Od=function(e,t){for(var i=[];;){var r=Ud(e,t);if(void 0===r||$d(r)||Xd(r))break;i.push(r),t+=r>=65536?2:1}return Gd.apply(void 0,i)};var jd,qd=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var r=[];!this.isEOF();){var o=this.char();if(123===o){if((n=this.parseArgument(e,i)).err)return n;r.push(n.val)}else{if(125===o&&e>0)break;if(35!==o||"plural"!==t&&"selectordinal"!==t){if(60===o&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(Fc.UNMATCHED_CLOSING_TAG,xd(this.clonePosition(),this.clonePosition()))}if(60===o&&!this.ignoreTag&&Hd(this.peek()||0)){if((n=this.parseTag(e,t)).err)return n;r.push(n.val)}else{var n;if((n=this.parseLiteral(e,t)).err)return n;r.push(n.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:jc.pound,location:xd(s,this.clonePosition())})}}}return{val:r,err:null}},e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:jc.literal,value:"<".concat(r,"/>"),location:xd(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(e+1,t,!0);if(o.err)return o;var n=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Hd(this.char()))return this.error(Fc.INVALID_TAG,xd(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(Fc.UNMATCHED_CLOSING_TAG,xd(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:jc.tag,value:r,children:n,location:xd(i,this.clonePosition())},err:null}:this.error(Fc.INVALID_TAG,xd(s,this.clonePosition())))}return this.error(Fc.UNCLOSED_TAG,xd(i,this.clonePosition()))}return this.error(Fc.INVALID_TAG,xd(i,this.clonePosition()))},e.prototype.parseTagName=function(){var e=this.offset();for(this.bump();!this.isEOF()&&Vd(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),r="";;){var o=this.tryParseQuote(t);if(o)r+=o;else{var n=this.tryParseUnquoted(e,t);if(n)r+=n;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=xd(i,this.clonePosition());return{val:{type:jc.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&function(e){return Hd(e)||47===e}(this.peek()||0)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var i=this.char();if(39===i){if(39!==this.peek()){this.bump();break}t.push(39),this.bump()}else t.push(i);this.bump()}return Gd.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60===i||123===i||35===i&&("plural"===t||"selectordinal"===t)||125===i&&e>0?null:(this.bump(),Gd(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xd(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Fc.EMPTY_ARGUMENT,xd(i,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(Fc.MALFORMED_ARGUMENT,xd(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xd(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:jc.argument,value:r,location:xd(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xd(i,this.clonePosition())):this.parseArgumentOptions(e,t,r,i);default:return this.error(Fc.MALFORMED_ARGUMENT,xd(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Od(this.message,t);return this.bumpTo(t+i.length),{value:i,location:xd(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,r){var o,n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();switch(s){case"":return this.error(Fc.EXPECT_ARGUMENT_TYPE,xd(n,a));case"number":case"date":case"time":this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition();if((v=this.parseSimpleArgStyleIfPossible()).err)return v;if(0===(m=Pd(v.val)).length)return this.error(Fc.EXPECT_ARGUMENT_STYLE,xd(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:xd(h,this.clonePosition())}}if((g=this.tryParseArgumentClose(r)).err)return g;var c=xd(r,this.clonePosition());if(l&&zd(l?.style,"::",0)){var d=Bd(l.style.slice(2));if("number"===s)return(v=this.parseNumberSkeletonFromString(d,l.styleLocation)).err?v:{val:{type:jc.number,value:i,location:c,style:v.val},err:null};if(0===d.length)return this.error(Fc.EXPECT_DATE_TIME_SKELETON,c);var u=d;this.locale&&(u=function(e,t){for(var i="",r=0;r<e.length;r++){var o=e.charAt(r);if("j"===o){for(var n=0;r+1<e.length&&e.charAt(r+1)===o;)n++,r++;var s=1+(1&n),a=n<2?1:3+(n>>1),l=Ed(t);for(("H"==l||"k"==l)&&(a=0);a-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===o?"H":o}return i}(d,this.locale));var m={type:qc.dateTime,pattern:u,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ad(u):{}};return{val:{type:"date"===s?jc.date:jc.time,value:i,location:c,style:m},err:null}}return{val:{type:"number"===s?jc.number:"date"===s?jc.date:jc.time,value:i,location:c,style:null!==(o=l?.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Fc.EXPECT_SELECT_ARGUMENT_OPTIONS,xd(p,zc({},p)));this.bumpSpace();var _=this.parseIdentifierIfPossible(),f=0;if("select"!==s&&"offset"===_.value){if(!this.bumpIf(":"))return this.error(Fc.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,xd(this.clonePosition(),this.clonePosition()));var v;if(this.bumpSpace(),(v=this.tryParseDecimalInteger(Fc.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Fc.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return v;this.bumpSpace(),_=this.parseIdentifierIfPossible(),f=v.val}var g,b=this.tryParsePluralOrSelectOptions(e,s,t,_);if(b.err)return b;if((g=this.tryParseArgumentClose(r)).err)return g;var E=xd(r,this.clonePosition());return"select"===s?{val:{type:jc.select,value:i,options:Md(b.val),location:E},err:null}:{val:{type:jc.plural,value:i,options:Md(b.val),offset:f,pluralType:"plural"===s?"cardinal":"ordinal",location:E},err:null};default:return this.error(Fc.INVALID_ARGUMENT_TYPE,xd(n,a))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(Fc.EXPECT_ARGUMENT_CLOSING_BRACE,xd(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Fc.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,xd(i,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");for(var t=e.split(ld).filter((function(e){return e.length>0})),i=[],r=0,o=t;r<o.length;r++){var n=o[r].split("/");if(0===n.length)throw new Error("Invalid number skeleton");for(var s=n[0],a=n.slice(1),l=0,h=a;l<h.length;l++)if(0===h[l].length)throw new Error("Invalid number skeleton");i.push({stem:s,options:a})}return i}(e)}catch{return this.error(Fc.INVALID_NUMBER_SKELETON,t)}return{val:{type:qc.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?gd(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,r){for(var o,n=!1,s=[],a=new Set,l=r.value,h=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(Fc.EXPECT_PLURAL_ARGUMENT_SELECTOR,Fc.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;h=xd(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}if(a.has(l))return this.error("select"===t?Fc.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Fc.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);"other"===l&&(n=!0),this.bumpSpace();var u=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?Fc.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Fc.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,xd(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var p=this.tryParseArgumentClose(u);if(p.err)return p;s.push([l,{value:m.val,location:xd(u,this.clonePosition())}]),a.add(l),this.bumpSpace(),l=(o=this.parseIdentifierIfPossible()).value,h=o.location}return 0===s.length?this.error("select"===t?Fc.EXPECT_SELECT_ARGUMENT_SELECTOR:Fc.EXPECT_PLURAL_ARGUMENT_SELECTOR,xd(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(Fc.MISSING_OTHER_CLAUSE,xd(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var o=!1,n=0;!this.isEOF();){var s=this.char();if(!(s>=48&&s<=57))break;o=!0,n=10*n+(s-48),this.bump()}var a=xd(r,this.clonePosition());return o?Rd(n*=i)?{val:n,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ud(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(zd(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&$d(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset();return this.message.charCodeAt(t+(e>=65536?2:1))??null},e}();function Hd(e){return e>=97&&e<=122||e>=65&&e<=90}function Vd(e){return 45===e||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function $d(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function Xd(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function Kd(e){e.forEach((function(e){if(delete e.location,Jc(e)||ed(e))for(var t in e.options)delete e.options[t].location,Kd(e.options[t].value);else Wc(e)&&rd(e.style)||(Zc(e)||Qc(e))&&od(e.style)?delete e.style.location:id(e)&&Kd(e.children)}))}function Yd(e,t){void 0===t&&(t={}),t=zc({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new qd(e,t).parse();if(i.err){var r=SyntaxError(Fc[i.err.kind]);throw r.location=i.err.location,r.originalMessage=i.err.message,r}return t?.captureLocation||Kd(i.val),i.val}!function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"}(jd||(jd={}));var Wd,Zd=function(e){function t(t,i,r){var o=e.call(this,t)||this;return o.code=i,o.originalMessage=r,o}return Oc(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Qd=function(e){function t(t,i,r,o){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(r).join('", "'),'"'),jd.INVALID_VALUE,o)||this}return Oc(t,e),t}(Zd),Jd=function(e){function t(t,i,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),jd.INVALID_VALUE,r)||this}return Oc(t,e),t}(Zd),eu=function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),jd.MISSING_VALUE,i)||this}return Oc(t,e),t}(Zd);function tu(e){return"function"==typeof e}function iu(e,t,i,r,o,n,s){if(1===e.length&&Kc(e[0]))return[{type:Wd.literal,value:e[0].value}];for(var a=[],l=0,h=e;l<h.length;l++){var c=h[l];if(Kc(c))a.push({type:Wd.literal,value:c.value});else if(td(c))"number"==typeof n&&a.push({type:Wd.literal,value:i.getNumberFormat(t).format(n)});else{var d=c.value;if(!o||!(d in o))throw new eu(d,s);var u=o[d];if(Yc(c))(!u||"string"==typeof u||"number"==typeof u)&&(u="string"==typeof u||"number"==typeof u?String(u):""),a.push({type:"string"==typeof u?Wd.literal:Wd.object,value:u});else if(Zc(c)){var m="string"==typeof c.style?r.date[c.style]:od(c.style)?c.style.parsedOptions:void 0;a.push({type:Wd.literal,value:i.getDateTimeFormat(t,m).format(u)})}else if(Qc(c))m="string"==typeof c.style?r.time[c.style]:od(c.style)?c.style.parsedOptions:r.time.medium,a.push({type:Wd.literal,value:i.getDateTimeFormat(t,m).format(u)});else if(Wc(c))(m="string"==typeof c.style?r.number[c.style]:rd(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(u*=m.scale||1),a.push({type:Wd.literal,value:i.getNumberFormat(t,m).format(u)});else{if(id(c)){var p=c.children,_=c.value,f=o[_];if(!tu(f))throw new Jd(_,"function",s);var v=f(iu(p,t,i,r,o,n).map((function(e){return e.value})));Array.isArray(v)||(v=[v]),a.push.apply(a,v.map((function(e){return{type:"string"==typeof e?Wd.literal:Wd.object,value:e}})))}if(Jc(c)){if(!(g=c.options[u]||c.options.other))throw new Qd(c.value,u,Object.keys(c.options),s);a.push.apply(a,iu(g.value,t,i,r,o))}else if(ed(c)){var g;if(!(g=c.options["=".concat(u)])){if(!Intl.PluralRules)throw new Zd('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',jd.MISSING_INTL_API,s);var b=i.getPluralRules(t,{type:c.pluralType}).select(u-(c.offset||0));g=c.options[b]||c.options.other}if(!g)throw new Qd(c.value,u,Object.keys(c.options),s);a.push.apply(a,iu(g.value,t,i,r,o,u-(c.offset||0)))}}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===Wd.literal&&t.type===Wd.literal?i.value+=t.value:e.push(t),e}),[])}(a)}function ru(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Wd||(Wd={}));var ou=function(){function e(t,i,r,o){void 0===i&&(i=e.defaultLocale);var n=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=n.formatToParts(e);if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===Wd.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return iu(n.ast,n.locales,n.formatters,n.formats,e,void 0,n.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=n.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(n.locales)[0]}},this.getAst=function(){return n.ast},this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=function(e,t){var i={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(i[r[o]]=e[r[o]])}return i}(o||{},["formatters"]);this.ast=e.__parse(t,zc(zc({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=function(e,t){return t?Object.keys(e).reduce((function(i,r){return i[r]=function(e,t){return t?zc(zc(zc({},e||{}),t||{}),Object.keys(e).reduce((function(i,r){return i[r]=zc(zc({},e[r]),t[r]||{}),i}),{})):e}(e[r],t[r]),i}),zc({},e)):e}(e.formats,r),this.formatters=o&&o.formatters||function(e){return void 0===e&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Mc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,Gc([void 0],t,!1)))}),{cache:ru(e.number),strategy:Xc.variadic}),getDateTimeFormat:Mc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,Gc([void 0],t,!1)))}),{cache:ru(e.dateTime),strategy:Xc.variadic}),getPluralRules:Mc((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,Gc([void 0],t,!1)))}),{cache:ru(e.pluralRules),strategy:Xc.variadic})}}(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(!(typeof Intl.Locale>"u")){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])}},e.__parse=Yd,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const nu={},su=(e,t,i)=>i&&(t in nu||(nu[t]={}),e in nu[t]||(nu[t][e]=i),i),au=(e,t)=>{if(null==t)return;if(t in nu&&e in nu[t])return nu[t][e];const i=Ru(t);for(let r=0;r<i.length;r++){const o=du(i[r],e);if(o)return su(e,t,o)}};let lu;const hu=yc({});function cu(e){return e in lu}function du(e,t){if(!cu(e))return null;const i=function(e){return lu[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let r=e;for(let e=0;e<i.length;e++)if("object"==typeof r){if(e>0){const t=i.slice(e,i.length).join(".");if(t in r){r=r[t];break}}r=r[i[e]]}else r=void 0;return r}(i,t)}function uu(e,...t){delete nu[e],hu.update((i=>(i[e]=Rc.all([i[e]||{},...t]),i)))}wc([hu],(([e])=>Object.keys(e))),hu.subscribe((e=>lu=e));const mu={};function pu(e){return mu[e]}function _u(e){return null!=e&&Ru(e).some((e=>{var t;return null==(t=pu(e))?void 0:t.size}))}const fu={};function vu(e){if(!_u(e))return e in fu?fu[e]:Promise.resolve();const t=function(e){return Ru(e).map((e=>{const t=pu(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return fu[e]=Promise.all(t.map((([e,t])=>function(e,t){return Promise.all(t.map((t=>(function(e,t){mu[e].delete(t),0===mu[e].size&&delete mu[e]}(e,t),t().then((e=>e.default||e)))))).then((t=>uu(e,...t)))}(e,t)))).then((()=>{if(_u(e))return vu(e);delete fu[e]})),fu[e]}const gu={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function bu(){return gu}const Eu=yc(!1);var yu=Object.defineProperty,wu=Object.defineProperties,ku=Object.getOwnPropertyDescriptors,xu=Object.getOwnPropertySymbols,Su=Object.prototype.hasOwnProperty,Au=Object.prototype.propertyIsEnumerable,Iu=(e,t,i)=>t in e?yu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let Cu;const Tu=yc(null);function Du(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function Ru(e,t=bu().fallbackLocale){const i=Du(e);return t?[...new Set([...i,...Du(t)])]:i}function Nu(){return Cu??void 0}Tu.subscribe((e=>{Cu=e??void 0,typeof window<"u"&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Ou=((e,t)=>wu(e,ku(t)))(((e,t)=>{for(var i in t||(t={}))Su.call(t,i)&&Iu(e,i,t[i]);if(xu)for(var i of xu(t))Au.call(t,i)&&Iu(e,i,t[i]);return e})({},Tu),{set:e=>{if(e&&function(e){if(null==e)return;const t=Ru(e);for(let e=0;e<t.length;e++){const i=t[e];if(cu(i))return i}}(e)&&_u(e)){const{loadingDelay:t}=bu();let i;return typeof window<"u"&&null!=Nu()&&t?i=window.setTimeout((()=>Eu.set(!0)),t):Eu.set(!0),vu(e).then((()=>{Tu.set(e)})).finally((()=>{clearTimeout(i),Eu.set(!1)}))}return Tu.set(e)}}),zu=e=>{const t=Object.create(null);return i=>{const r=JSON.stringify(i);return r in t?t[r]:t[r]=e(i)}};var Gu=Object.defineProperty,Mu=Object.getOwnPropertySymbols,Uu=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable,Pu=(e,t,i)=>t in e?Gu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,Lu=(e,t)=>{for(var i in t||(t={}))Uu.call(t,i)&&Pu(e,i,t[i]);if(Mu)for(var i of Mu(t))Bu.call(t,i)&&Pu(e,i,t[i]);return e},Fu=(e,t)=>{var i={};for(var r in e)Uu.call(e,r)&&t.indexOf(r)<0&&(i[r]=e[r]);if(null!=e&&Mu)for(var r of Mu(e))t.indexOf(r)<0&&Bu.call(e,r)&&(i[r]=e[r]);return i};const ju=(e,t)=>{const{formats:i}=bu();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qu=zu((e=>{var t=e,{locale:i,format:r}=t,o=Fu(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(o=ju("number",r)),new Intl.NumberFormat(i,o)})),Hu=zu((e=>{var t=e,{locale:i,format:r}=t,o=Fu(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?o=ju("date",r):0===Object.keys(o).length&&(o=ju("date","short")),new Intl.DateTimeFormat(i,o)})),Vu=zu((e=>{var t=e,{locale:i,format:r}=t,o=Fu(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?o=ju("time",r):0===Object.keys(o).length&&(o=ju("time","short")),new Intl.DateTimeFormat(i,o)})),$u=zu(((e,t=Nu())=>new ou(e,t,bu().formats,{ignoreTag:bu().ignoreTag}))),Xu=(e,t={})=>{var i,r,o,n;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Nu(),default:h}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=au(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(n=null!=(o=null==(r=(i=bu()).handleMissingMessage)?void 0:r.call(i,{locale:l,id:e,defaultValue:h}))?o:h)?n:e;if(!a)return c;let d=c;try{d=$u(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Ku=(e,t)=>((e={})=>{var t=e,{locale:i=Nu()}=t,r=Fu(t,["locale"]);return Vu(Lu({locale:i},r))})(t).format(e),Yu=(e,t)=>((e={})=>{var t=e,{locale:i=Nu()}=t,r=Fu(t,["locale"]);return Hu(Lu({locale:i},r))})(t).format(e),Wu=(e,t)=>((e={})=>{var t=e,{locale:i=Nu()}=t,r=Fu(t,["locale"]);return qu(Lu({locale:i},r))})(t).format(e),Zu=(e,t=Nu())=>au(e,t),Qu=wc([Ou,hu],(()=>Xu));function Ju(e,t){uu(e,t)}wc([Ou],(()=>Ku)),wc([Ou],(()=>Yu)),wc([Ou],(()=>Wu)),wc([Ou,hu],(()=>Zu));const em={en:{invalidUrl:"Failed to construct 'URL': Invalid URL",fetchConsentsError:"Error: Could not fetch consents.",fetchPlayerConsentsError:"Error: Could not fetch player consents.",fetchConsentsCategoriesError:"Error: Could not fetch consents categories",updateConsentsError:"Error: Could not update consents.",saveChangesError:"Error: Could not save changes.",mustAcceptError:"Mandatory consents must be accepted.",title:"Consents",saveButtonContent:"Save Consents",description:"Here, you can explore and manage your preferences regarding how we collect and utilize your data. Your privacy matters to us, and this tool empowers you to make informed choices about your online experience.",marketing__category:"Marketing",Other__category:"Other",privacy__category:"Privacy and Data Sharing",dataSharing__name:"Data Sharing",dataSharing__description:"Data Sharing consent",emailMarketing__name:"Email Marketing",emailMarketing__description:"Email Marketing consent",smsMarketing__name:"SMS Marketing",smsMarketing__description:"SMS Marketing consent",cookiesAndTracking__name:"Cookies and Tracking",cookiesAndTracking__description:"Cookies and Tracking consent",termsandconditions__description:"Needed to prove user accepted terms and conditions.",emailmarketing__description:"Needed to prove email marketing consent.",sms__description:"Needed to prove sms marketing consent.","3rdparty__description":"Needed to prove 3rd party marketing consent.",noDataFound:"No data found for consents.",loading:"Loading...please wait",requiredError:"This field is mandatory",wrongModalConfig:"There was an error with the config! No expired consents found."},"zh-hk":{invalidUrl:"無法構建 'URL': 無效的URL",fetchConsentsError:"錯誤: 無法獲取同意。",fetchPlayerConsentsError:"錯誤: 無法獲取玩家同意。",fetchConsentsCategoriesError:"錯誤: 無法獲取同意類別。",updateConsentsError:"錯誤: 無法更新同意。",saveChangesError:"錯誤: 無法保存更改。",mustAcceptError:"必須接受強制性同意。",title:"同意",saveButtonContent:"保存同意",description:"在此,您可以探索和管理有關我們如何收集和使用您的數據的偏好。您的隱私對我們非常重要,這個工具可幫助您對您的在線體驗做出知情選擇。",marketing__category:"市場推廣",Other__category:"其他",privacy__category:"隱私與數據共享",dataSharing__name:"數據共享",dataSharing__description:"數據共享同意",emailMarketing__name:"電子郵件市場推廣",emailMarketing__description:"電子郵件市場推廣同意",smsMarketing__name:"短信市場推廣",smsMarketing__description:"短信市場推廣同意",cookiesAndTracking__name:"Cookies與追蹤",cookiesAndTracking__description:"Cookies與追蹤同意",termsandconditions__description:"用於證明用戶接受條款和條件。",emailmarketing__description:"用於證明電子郵件市場推廣同意。",sms__description:"用於證明短信市場推廣同意。","3rdparty__description":"用於證明第三方市場推廣同意。",noDataFound:"未找到同意數據。",loading:"加載中...請稍候",requiredError:"此字段為必填項",wrongModalConfig:"配置出錯!未找到過期的同意。"},de:{invalidUrl:"Fehler beim Erstellen von 'URL': Ungültige URL",fetchConsentsError:"Fehler: Konnte Einwilligungen nicht abrufen.",fetchPlayerConsentsError:"Fehler: Konnte Spielereinwilligungen nicht abrufen.",fetchConsentsCategoriesError:"Fehler: Konnte Einwilligungskategorien nicht abrufen.",updateConsentsError:"Fehler: Konnte Einwilligungen nicht aktualisieren.",saveChangesError:"Fehler: Änderungen konnten nicht gespeichert werden.",mustAcceptError:"Pflicht-Einwilligungen müssen akzeptiert werden.",title:"Einwilligungen",saveButtonContent:"Einwilligungen speichern",description:"Hier können Sie Ihre Präferenzen dazu verwalten, wie wir Ihre Daten sammeln und nutzen. Ihre Privatsphäre ist uns wichtig, und dieses Tool ermöglicht es Ihnen, informierte Entscheidungen über Ihr Online-Erlebnis zu treffen.",marketing__category:"Marketing",Other__category:"Sonstiges",privacy__category:"Datenschutz und Datenfreigabe",dataSharing__name:"Datenfreigabe",dataSharing__description:"Einwilligung zur Datenfreigabe",emailMarketing__name:"E-Mail-Marketing",emailMarketing__description:"Einwilligung für E-Mail-Marketing",smsMarketing__name:"SMS-Marketing",smsMarketing__description:"Einwilligung für SMS-Marketing",cookiesAndTracking__name:"Cookies und Tracking",cookiesAndTracking__description:"Einwilligung für Cookies und Tracking",termsandconditions__description:"Erforderlich, um nachzuweisen, dass der Benutzer die Bedingungen akzeptiert hat.",emailmarketing__description:"Erforderlich, um die Einwilligung für E-Mail-Marketing nachzuweisen.",sms__description:"Erforderlich, um die Einwilligung für SMS-Marketing nachzuweisen.","3rdparty__description":"Erforderlich, um die Einwilligung für Drittanbieter-Marketing nachzuweisen.",noDataFound:"Keine Daten zu Einwilligungen gefunden.",loading:"Wird geladen... bitte warten",requiredError:"Dieses Feld ist erforderlich",wrongModalConfig:"Ein Fehler in der Konfiguration ist aufgetreten! Keine abgelaufenen Einwilligungen gefunden."},it:{invalidUrl:"Impossibile costruire 'URL': URL non valido",fetchConsentsError:"Errore: Impossibile recuperare i consensi.",fetchPlayerConsentsError:"Errore: Impossibile recuperare i consensi del giocatore.",fetchConsentsCategoriesError:"Errore: Impossibile recuperare le categorie di consenso.",updateConsentsError:"Errore: Impossibile aggiornare i consensi.",saveChangesError:"Errore: Impossibile salvare le modifiche.",mustAcceptError:"I consensi obbligatori devono essere accettati.",title:"Consensi",saveButtonContent:"Salva Consensi",description:"Qui puoi esplorare e gestire le tue preferenze su come raccogliamo e utilizziamo i tuoi dati. La tua privacy è importante per noi e questo strumento ti consente di fare scelte informate sulla tua esperienza online.",marketing__category:"Marketing",Other__category:"Altro",privacy__category:"Privacy e Condivisione dei Dati",dataSharing__name:"Condivisione dei Dati",dataSharing__description:"Consenso alla condivisione dei dati",emailMarketing__name:"Email Marketing",emailMarketing__description:"Consenso all'email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Consenso all'SMS marketing",cookiesAndTracking__name:"Cookies e Tracciamento",cookiesAndTracking__description:"Consenso ai cookies e tracciamento",termsandconditions__description:"Necessario per dimostrare che l'utente ha accettato i termini e le condizioni.",emailmarketing__description:"Necessario per dimostrare il consenso all'email marketing.",sms__description:"Necessario per dimostrare il consenso all'SMS marketing.","3rdparty__description":"Necessario per dimostrare il consenso al marketing di terze parti.",noDataFound:"Nessun dato trovato per i consensi.",loading:"Caricamento... attendere",requiredError:"Questo campo è obbligatorio",wrongModalConfig:"Si è verificato un errore con la configurazione! Nessun consenso scaduto trovato."},fr:{invalidUrl:"Impossible de construire 'URL' : URL invalide",fetchConsentsError:"Erreur : Impossible de récupérer les consentements.",fetchPlayerConsentsError:"Erreur : Impossible de récupérer les consentements des joueurs.",fetchConsentsCategoriesError:"Erreur : Impossible de récupérer les catégories de consentement.",updateConsentsError:"Erreur : Impossible de mettre à jour les consentements.",saveChangesError:"Erreur : Impossible d'enregistrer les modifications.",mustAcceptError:"Les consentements obligatoires doivent être acceptés.",title:"Consentements",saveButtonContent:"Enregistrer les Consentements",description:"Ici, vous pouvez explorer et gérer vos préférences concernant la manière dont nous collectons et utilisons vos données. Votre vie privée est importante pour nous, et cet outil vous permet de faire des choix éclairés sur votre expérience en ligne.",marketing__category:"Marketing",Other__category:"Autre",privacy__category:"Confidentialité et Partage des Données",dataSharing__name:"Partage des Données",dataSharing__description:"Consentement au partage des données",emailMarketing__name:"Marketing par Email",emailMarketing__description:"Consentement au marketing par email",smsMarketing__name:"Marketing par SMS",smsMarketing__description:"Consentement au marketing par SMS",cookiesAndTracking__name:"Cookies et Suivi",cookiesAndTracking__description:"Consentement aux cookies et au suivi",termsandconditions__description:"Nécessaire pour prouver que l'utilisateur a accepté les termes et conditions.",emailmarketing__description:"Nécessaire pour prouver le consentement au marketing par email.",sms__description:"Nécessaire pour prouver le consentement au marketing par SMS.","3rdparty__description":"Nécessaire pour prouver le consentement au marketing tiers.",noDataFound:"Aucune donnée trouvée pour les consentements.",loading:"Chargement... veuillez patienter",requiredError:"Ce champ est obligatoire",wrongModalConfig:"Une erreur s'est produite avec la configuration ! Aucun consentement expiré trouvé."},es:{invalidUrl:"Error al construir 'URL': URL no válida",fetchConsentsError:"Error: No se pudieron obtener los consentimientos.",fetchPlayerConsentsError:"Error: No se pudieron obtener los consentimientos del jugador.",fetchConsentsCategoriesError:"Error: No se pudieron obtener las categorías de consentimiento.",updateConsentsError:"Error: No se pudieron actualizar los consentimientos.",saveChangesError:"Error: No se pudieron guardar los cambios.",mustAcceptError:"Se deben aceptar los consentimientos obligatorios.",title:"Consentimientos",saveButtonContent:"Guardar Consentimientos",description:"Aquí puedes explorar y gestionar tus preferencias sobre cómo recopilamos y utilizamos tus datos. Tu privacidad es importante para nosotros y esta herramienta te permite tomar decisiones informadas sobre tu experiencia en línea.",marketing__category:"Marketing",Other__category:"Otro",privacy__category:"Privacidad y Compartir Datos",dataSharing__name:"Compartir Datos",dataSharing__description:"Consentimiento para compartir datos",emailMarketing__name:"Email Marketing",emailMarketing__description:"Consentimiento para email marketing",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimiento para marketing por SMS",cookiesAndTracking__name:"Cookies y Seguimiento",cookiesAndTracking__description:"Consentimiento para cookies y seguimiento",termsandconditions__description:"Necesario para demostrar que el usuario aceptó los términos y condiciones.",emailmarketing__description:"Necesario para demostrar el consentimiento para email marketing.",sms__description:"Necesario para demostrar el consentimiento para marketing por SMS.","3rdparty__description":"Necesario para demostrar el consentimiento para marketing de terceros.",noDataFound:"No se encontraron datos para los consentimientos.",loading:"Cargando... por favor espera",requiredError:"Este campo es obligatorio",wrongModalConfig:"¡Hubo un error con la configuración! No se encontraron consentimientos expirados."},el:{invalidUrl:"Αποτυχία δημιουργίας 'URL': Μη έγκυρη διεύθυνση URL",fetchConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των συναινέσεων.",fetchPlayerConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των συναινέσεων παικτών.",fetchConsentsCategoriesError:"Σφάλμα: Δεν ήταν δυνατή η ανάκτηση των κατηγοριών συναινέσεων.",updateConsentsError:"Σφάλμα: Δεν ήταν δυνατή η ενημέρωση των συναινέσεων.",saveChangesError:"Σφάλμα: Δεν ήταν δυνατή η αποθήκευση των αλλαγών.",mustAcceptError:"Πρέπει να αποδεχτείτε τις υποχρεωτικές συναινέσεις.",title:"Συναινέσεις",saveButtonContent:"Αποθήκευση Συναινέσεων",description:"Εδώ μπορείτε να εξερευνήσετε και να διαχειριστείτε τις προτιμήσεις σας σχετικά με το πώς συλλέγουμε και χρησιμοποιούμε τα δεδομένα σας. Η ιδιωτικότητά σας έχει σημασία για εμάς και αυτό το εργαλείο σας δίνει τη δυνατότητα να κάνετε ενημερωμένες επιλογές για την εμπειρία σας στο διαδίκτυο.",marketing__category:"Μάρκετινγκ",Other__category:"Άλλο",privacy__category:"Ιδιωτικότητα και Κοινοποίηση Δεδομένων",dataSharing__name:"Κοινοποίηση Δεδομένων",dataSharing__description:"Συναίνεση για κοινοποίηση δεδομένων",emailMarketing__name:"Email Marketing",emailMarketing__description:"Συναίνεση για email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Συναίνεση για SMS marketing",cookiesAndTracking__name:"Cookies και Παρακολούθηση",cookiesAndTracking__description:"Συναίνεση για cookies και παρακολούθηση",termsandconditions__description:"Απαιτείται για να αποδειχθεί ότι ο χρήστης αποδέχτηκε τους όρους και τις προϋποθέσεις.",emailmarketing__description:"Απαιτείται για να αποδειχθεί η συναίνεση για email marketing.",sms__description:"Απαιτείται για να αποδειχθεί η συναίνεση για SMS marketing.","3rdparty__description":"Απαιτείται για να αποδειχθεί η συναίνεση για marketing τρίτων.",noDataFound:"Δεν βρέθηκαν δεδομένα για τις συναινέσεις.",loading:"Φόρτωση... παρακαλώ περιμένετε",requiredError:"Αυτό το πεδίο είναι υποχρεωτικό",wrongModalConfig:"Παρουσιάστηκε σφάλμα με τη ρύθμιση! Δεν βρέθηκαν ληγμένες συναινέσεις."},tr:{invalidUrl:"'URL' oluşturulamadı: Geçersiz URL",fetchConsentsError:"Hata: Onaylar alınamadı.",fetchPlayerConsentsError:"Hata: Oyuncu onayları alınamadı.",fetchConsentsCategoriesError:"Hata: Onay kategorileri alınamadı.",updateConsentsError:"Hata: Onaylar güncellenemedi.",saveChangesError:"Hata: Değişiklikler kaydedilemedi.",mustAcceptError:"Zorunlu onaylar kabul edilmelidir.",title:"Onaylar",saveButtonContent:"Onayları Kaydet",description:"Burada, verilerinizi nasıl topladığımız ve kullandığımızla ilgili tercihlerinizi keşfedebilir ve yönetebilirsiniz. Gizliliğiniz bizim için önemlidir ve bu araç, çevrimiçi deneyiminiz hakkında bilinçli seçimler yapmanızı sağlar.",marketing__category:"Pazarlama",Other__category:"Diğer",privacy__category:"Gizlilik ve Veri Paylaşımı",dataSharing__name:"Veri Paylaşımı",dataSharing__description:"Veri paylaşımı onayı",emailMarketing__name:"E-posta Pazarlama",emailMarketing__description:"E-posta pazarlama onayı",smsMarketing__name:"SMS Pazarlama",smsMarketing__description:"SMS pazarlama onayı",cookiesAndTracking__name:"Çerezler ve İzleme",cookiesAndTracking__description:"Çerezler ve izleme onayı",termsandconditions__description:"Kullanıcının şartları ve koşulları kabul ettiğini kanıtlamak için gereklidir.",emailmarketing__description:"E-posta pazarlama onayı kanıtlamak için gereklidir.",sms__description:"SMS pazarlama onayı kanıtlamak için gereklidir.","3rdparty__description":"Üçüncü taraf pazarlama onayı kanıtlamak için gereklidir.",noDataFound:"Onaylarla ilgili veri bulunamadı.",loading:"Yükleniyor... lütfen bekleyin",requiredError:"Bu alan zorunludur",wrongModalConfig:"Yapılandırmada bir hata oluştu! Süresi dolmuş onay bulunamadı."},ru:{invalidUrl:"Не удалось создать 'URL': недопустимый URL",fetchConsentsError:"Ошибка: не удалось получить согласия.",fetchPlayerConsentsError:"Ошибка: не удалось получить согласия игроков.",fetchConsentsCategoriesError:"Ошибка: не удалось получить категории согласий.",updateConsentsError:"Ошибка: не удалось обновить согласия.",saveChangesError:"Ошибка: не удалось сохранить изменения.",mustAcceptError:"Обязательные согласия должны быть приняты.",title:"Согласия",saveButtonContent:"Сохранить согласия",description:"Здесь вы можете изучить и управлять своими предпочтениями относительно того, как мы собираем и используем ваши данные. Ваша конфиденциальность важна для нас, и этот инструмент помогает вам делать осознанный выбор о вашем онлайн-опыте.",marketing__category:"Маркетинг",Other__category:"Другое",privacy__category:"Конфиденциальность и Обмен Данными",dataSharing__name:"Обмен Данными",dataSharing__description:"Согласие на обмен данными",emailMarketing__name:"Email-Маркетинг",emailMarketing__description:"Согласие на email-маркетинг",smsMarketing__name:"SMS-Маркетинг",smsMarketing__description:"Согласие на SMS-маркетинг",cookiesAndTracking__name:"Cookies и Отслеживание",cookiesAndTracking__description:"Согласие на использование cookies и отслеживания",termsandconditions__description:"Необходимо для подтверждения принятия условий и положений.",emailmarketing__description:"Необходимо для подтверждения согласия на email-маркетинг.",sms__description:"Необходимо для подтверждения согласия на SMS-маркетинг.","3rdparty__description":"Необходимо для подтверждения согласия на маркетинг третьих лиц.",noDataFound:"Данные о согласиях не найдены.",loading:"Загрузка... пожалуйста, подождите",requiredError:"Это поле обязательно для заполнения",wrongModalConfig:"Произошла ошибка конфигурации! Истекшие согласия не найдены."},ro:{invalidUrl:"Nu s-a putut construi 'URL': URL invalid",fetchConsentsError:"Eroare: Nu s-au putut prelua consimțămintele.",fetchPlayerConsentsError:"Eroare: Nu s-au putut prelua consimțămintele utilizatorilor.",fetchConsentsCategoriesError:"Eroare: Nu s-au putut prelua categoriile de consimțământ.",updateConsentsError:"Eroare: Nu s-au putut actualiza consimțămintele.",saveChangesError:"Eroare: Nu s-au putut salva modificările.",mustAcceptError:"Consimțămintele obligatorii trebuie acceptate.",title:"Consimțăminte",saveButtonContent:"Salvează Consimțămintele",description:"Aici puteți explora și gestiona preferințele legate de modul în care colectăm și utilizăm datele dumneavoastră. Confidențialitatea dumneavoastră este importantă pentru noi, iar acest instrument vă ajută să luați decizii informate despre experiența dumneavoastră online.",marketing__category:"Marketing",Other__category:"Altele",privacy__category:"Confidențialitate și Partajare Date",dataSharing__name:"Partajare Date",dataSharing__description:"Consimțământ pentru partajarea datelor",emailMarketing__name:"Marketing prin Email",emailMarketing__description:"Consimțământ pentru marketing prin email",smsMarketing__name:"Marketing prin SMS",smsMarketing__description:"Consimțământ pentru marketing prin SMS",cookiesAndTracking__name:"Cookies și Urmărire",cookiesAndTracking__description:"Consimțământ pentru cookies și urmărire",termsandconditions__description:"Necesar pentru a demonstra acceptarea termenilor și condițiilor.",emailmarketing__description:"Necesar pentru a demonstra consimțământul pentru marketing prin email.",sms__description:"Necesar pentru a demonstra consimțământul pentru marketing prin SMS.","3rdparty__description":"Necesar pentru a demonstra consimțământul pentru marketing de la terți.",noDataFound:"Nu s-au găsit date pentru consimțăminte.",loading:"Se încarcă... vă rugăm să așteptați",requiredError:"Acest câmp este obligatoriu",wrongModalConfig:"A apărut o eroare în configurație! Nu s-au găsit consimțăminte expirate."},hr:{invalidUrl:"Nije moguće izraditi 'URL': Nevažeći URL",fetchConsentsError:"Greška: Nije moguće dohvatiti privole.",fetchPlayerConsentsError:"Greška: Nije moguće dohvatiti korisničke privole.",fetchConsentsCategoriesError:"Greška: Nije moguće dohvatiti kategorije privola.",updateConsentsError:"Greška: Nije moguće ažurirati privole.",saveChangesError:"Greška: Nije moguće spremiti promjene.",mustAcceptError:"Obavezne privole moraju biti prihvaćene.",title:"Privole",saveButtonContent:"Spremi Privole",description:"Ovdje možete istražiti i upravljati svojim preferencijama o tome kako prikupljamo i koristimo vaše podatke. Vaša privatnost nam je važna, a ovaj alat vam omogućuje donošenje informiranih odluka o vašem online iskustvu.",marketing__category:"Marketing",Other__category:"Ostalo",privacy__category:"Privatnost i Dijeljenje Podataka",dataSharing__name:"Dijeljenje Podataka",dataSharing__description:"Privola za dijeljenje podataka",emailMarketing__name:"Email Marketing",emailMarketing__description:"Privola za email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Privola za SMS marketing",cookiesAndTracking__name:"Kolačići i Praćenje",cookiesAndTracking__description:"Privola za kolačiće i praćenje",termsandconditions__description:"Potrebno za dokazivanje prihvaćanja uvjeta korištenja.",emailmarketing__description:"Potrebno za dokazivanje privole za email marketing.",sms__description:"Potrebno za dokazivanje privole za SMS marketing.","3rdparty__description":"Potrebno za dokazivanje privole za marketing treće strane.",noDataFound:"Nema podataka o privolama.",loading:"Učitavanje... molimo pričekajte",requiredError:"Ovo polje je obavezno",wrongModalConfig:"Došlo je do pogreške u konfiguraciji! Nisu pronađene istekle privole."},hu:{invalidUrl:"Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",fetchConsentsError:"Hiba: Nem sikerült lekérni a hozzájárulásokat.",fetchPlayerConsentsError:"Hiba: Nem sikerült lekérni a játékosok hozzájárulásait.",fetchConsentsCategoriesError:"Hiba: Nem sikerült lekérni a hozzájárulások kategóriáit.",updateConsentsError:"Hiba: Nem sikerült frissíteni a hozzájárulásokat.",saveChangesError:"Hiba: Nem sikerült menteni a módosításokat.",mustAcceptError:"A kötelező hozzájárulásokat el kell fogadni.",title:"Hozzájárulások",saveButtonContent:"Hozzájárulások Mentése",description:"Itt kezelheti és megismerheti azokat a preferenciákat, amelyek meghatározzák, hogyan gyűjtjük és használjuk fel az adatait. Az Ön adatvédelme fontos számunkra, és ez az eszköz lehetővé teszi, hogy tájékozott döntéseket hozzon az online élményéről.",marketing__category:"Marketing",Other__category:"Egyéb",privacy__category:"Adatvédelem és Adatmegosztás",dataSharing__name:"Adatmegosztás",dataSharing__description:"Hozzájárulás az adatmegosztáshoz",emailMarketing__name:"E-mail Marketing",emailMarketing__description:"Hozzájárulás az e-mail marketinghez",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Hozzájárulás az SMS marketinghez",cookiesAndTracking__name:"Sütik és Követés",cookiesAndTracking__description:"Hozzájárulás a sütikhez és a követéshez",termsandconditions__description:"Szükséges az Általános Szerződési Feltételek elfogadásának igazolásához.",emailmarketing__description:"Szükséges az e-mail marketing hozzájárulásának igazolásához.",sms__description:"Szükséges az SMS marketing hozzájárulásának igazolásához.","3rdparty__description":"Szükséges a harmadik felek marketingjéhez való hozzájárulás igazolásához.",noDataFound:"Nem található adat a hozzájárulásokról.",loading:"Betöltés... kérjük, várjon",requiredError:"Ez a mező kötelező",wrongModalConfig:"Hiba történt a konfigurációval! Nem található lejárt hozzájárulás."},pl:{invalidUrl:"Nie udało się utworzyć 'URL': Nieprawidłowy URL",fetchConsentsError:"Błąd: Nie udało się pobrać zgód.",fetchPlayerConsentsError:"Błąd: Nie udało się pobrać zgód użytkowników.",fetchConsentsCategoriesError:"Błąd: Nie udało się pobrać kategorii zgód.",updateConsentsError:"Błąd: Nie udało się zaktualizować zgód.",saveChangesError:"Błąd: Nie udało się zapisać zmian.",mustAcceptError:"Obowiązkowe zgody muszą zostać zaakceptowane.",title:"Zgody",saveButtonContent:"Zapisz Zgody",description:"Tutaj możesz eksplorować i zarządzać swoimi preferencjami dotyczącymi tego, jak zbieramy i wykorzystujemy Twoje dane. Twoja prywatność jest dla nas ważna, a to narzędzie pozwala podejmować świadome decyzje dotyczące Twojego doświadczenia online.",marketing__category:"Marketing",Other__category:"Inne",privacy__category:"Prywatność i Udostępnianie Danych",dataSharing__name:"Udostępnianie Danych",dataSharing__description:"Zgoda na udostępnianie danych",emailMarketing__name:"E-mail Marketing",emailMarketing__description:"Zgoda na e-mail marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Zgoda na SMS marketing",cookiesAndTracking__name:"Pliki Cookie i Śledzenie",cookiesAndTracking__description:"Zgoda na pliki cookie i śledzenie",termsandconditions__description:"Wymagane do potwierdzenia akceptacji warunków i zasad.",emailmarketing__description:"Wymagane do potwierdzenia zgody na e-mail marketing.",sms__description:"Wymagane do potwierdzenia zgody na SMS marketing.","3rdparty__description":"Wymagane do potwierdzenia zgody na marketing podmiotów trzecich.",noDataFound:"Nie znaleziono danych dotyczących zgód.",loading:"Ładowanie... proszę czekać",requiredError:"To pole jest wymagane",wrongModalConfig:"Wystąpił błąd konfiguracji! Nie znaleziono wygasłych zgód."},pt:{invalidUrl:"Não foi possível criar 'URL': URL inválido",fetchConsentsError:"Erro: Não foi possível obter os consentimentos.",fetchPlayerConsentsError:"Erro: Não foi possível obter os consentimentos dos utilizadores.",fetchConsentsCategoriesError:"Erro: Não foi possível obter as categorias de consentimento.",updateConsentsError:"Erro: Não foi possível atualizar os consentimentos.",saveChangesError:"Erro: Não foi possível salvar as alterações.",mustAcceptError:"Os consentimentos obrigatórios devem ser aceitos.",title:"Consentimentos",saveButtonContent:"Salvar Consentimentos",description:"Aqui, pode explorar e gerir as suas preferências relativamente à forma como recolhemos e utilizamos os seus dados. A sua privacidade é importante para nós e esta ferramenta permite-lhe tomar decisões informadas sobre a sua experiência online.",marketing__category:"Marketing",Other__category:"Outros",privacy__category:"Privacidade e Partilha de Dados",dataSharing__name:"Partilha de Dados",dataSharing__description:"Consentimento para partilha de dados",emailMarketing__name:"Marketing por Email",emailMarketing__description:"Consentimento para marketing por email",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimento para marketing por SMS",cookiesAndTracking__name:"Cookies e Rastreamento",cookiesAndTracking__description:"Consentimento para cookies e rastreamento",termsandconditions__description:"Necessário para comprovar a aceitação dos termos e condições.",emailmarketing__description:"Necessário para comprovar o consentimento para marketing por email.",sms__description:"Necessário para comprovar o consentimento para marketing por SMS.","3rdparty__description":"Necessário para comprovar o consentimento para marketing de terceiros.",noDataFound:"Nenhum dado encontrado para consentimentos.",loading:"Carregando... por favor, aguarde",requiredError:"Este campo é obrigatório",wrongModalConfig:"Ocorreu um erro na configuração! Nenhum consentimento expirado encontrado."},sl:{invalidUrl:"Ni bilo mogoče ustvariti 'URL': Neveljaven URL",fetchConsentsError:"Napaka: Ni bilo mogoče pridobiti soglasij.",fetchPlayerConsentsError:"Napaka: Ni bilo mogoče pridobiti uporabniških soglasij.",fetchConsentsCategoriesError:"Napaka: Ni bilo mogoče pridobiti kategorij soglasij.",updateConsentsError:"Napaka: Ni bilo mogoče posodobiti soglasij.",saveChangesError:"Napaka: Ni bilo mogoče shraniti sprememb.",mustAcceptError:"Obvezna soglasja je treba sprejeti.",title:"Soglasja",saveButtonContent:"Shrani Soglasja",description:"Tukaj lahko raziskujete in upravljate svoje nastavitve glede tega, kako zbiramo in uporabljamo vaše podatke. Vaša zasebnost je za nas pomembna, ta orodje pa vam omogoča informirane odločitve o vaši spletni izkušnji.",marketing__category:"Trženje",Other__category:"Drugo",privacy__category:"Zasebnost in Deljenje Podatkov",dataSharing__name:"Deljenje Podatkov",dataSharing__description:"Soglasje za deljenje podatkov",emailMarketing__name:"E-poštno Trženje",emailMarketing__description:"Soglasje za e-poštno trženje",smsMarketing__name:"SMS Trženje",smsMarketing__description:"Soglasje za SMS trženje",cookiesAndTracking__name:"Piškotki in Sledenje",cookiesAndTracking__description:"Soglasje za uporabo piškotkov in sledenja",termsandconditions__description:"Potrebno za potrditev sprejema pogojev in določil.",emailmarketing__description:"Potrebno za potrditev soglasja za e-poštno trženje.",sms__description:"Potrebno za potrditev soglasja za SMS trženje.","3rdparty__description":"Potrebno za potrditev soglasja za trženje tretjih oseb.",noDataFound:"Za soglasja ni bilo najdenih podatkov.",loading:"Nalaganje... prosimo, počakajte",requiredError:"To polje je obvezno",wrongModalConfig:"Prišlo je do napake v konfiguraciji! Potečena soglasja niso bila najdena."},sr:{invalidUrl:"Nije moguće kreirati 'URL': Nevažeći URL",fetchConsentsError:"Greška: Nije moguće dohvatiti saglasnosti.",fetchPlayerConsentsError:"Greška: Nije moguće dohvatiti korisničke saglasnosti.",fetchConsentsCategoriesError:"Greška: Nije moguće dohvatiti kategorije saglasnosti.",updateConsentsError:"Greška: Nije moguće ažurirati saglasnosti.",saveChangesError:"Greška: Nije moguće sačuvati promene.",mustAcceptError:"Obavezne saglasnosti moraju biti prihvaćene.",title:"Saglasnosti",saveButtonContent:"Sačuvaj Saglasnosti",description:"Ovde možete istražiti i upravljati svojim preferencijama o tome kako prikupljamo i koristimo vaše podatke. Vaša privatnost nam je važna, a ovaj alat vam omogućava donošenje informisanih odluka o vašem online iskustvu.",marketing__category:"Marketing",Other__category:"Ostalo",privacy__category:"Privatnost i Deljenje Podataka",dataSharing__name:"Deljenje Podataka",dataSharing__description:"Saglasnost za deljenje podataka",emailMarketing__name:"Email Marketing",emailMarketing__description:"Saglasnost za email marketing",smsMarketing__name:"SMS Marketing",smsMarketing__description:"Saglasnost za SMS marketing",cookiesAndTracking__name:"Kolačići i Praćenje",cookiesAndTracking__description:"Saglasnost za kolačiće i praćenje",termsandconditions__description:"Potrebno za potvrdu prihvatanja uslova i pravila.",emailmarketing__description:"Potrebno za potvrdu saglasnosti za email marketing.",sms__description:"Potrebno za potvrdu saglasnosti za SMS marketing.","3rdparty__description":"Potrebno za potvrdu saglasnosti za marketing trećih lica.",noDataFound:"Nema podataka o saglasnostima.",loading:"Učitavanje... molimo sačekajte",requiredError:"Ovo polje je obavezno",wrongModalConfig:"Došlo je do greške u konfiguraciji! Nema pronađenih istekao saglasnosti."},"es-mx":{invalidUrl:"No se pudo construir 'URL': URL no válida",fetchConsentsError:"Error: No se pudieron obtener los consentimientos.",fetchPlayerConsentsError:"Error: No se pudieron obtener los consentimientos de los usuarios.",fetchConsentsCategoriesError:"Error: No se pudieron obtener las categorías de consentimiento.",updateConsentsError:"Error: No se pudieron actualizar los consentimientos.",saveChangesError:"Error: No se pudieron guardar los cambios.",mustAcceptError:"Se deben aceptar los consentimientos obligatorios.",title:"Consentimientos",saveButtonContent:"Guardar Consentimientos",description:"Aquí puedes explorar y administrar tus preferencias respecto a cómo recopilamos y utilizamos tus datos. Tu privacidad es importante para nosotros, y esta herramienta te permite tomar decisiones informadas sobre tu experiencia en línea.",marketing__category:"Marketing",Other__category:"Otros",privacy__category:"Privacidad y Compartición de Datos",dataSharing__name:"Compartición de Datos",dataSharing__description:"Consentimiento para la compartición de datos",emailMarketing__name:"Marketing por Correo Electrónico",emailMarketing__description:"Consentimiento para marketing por correo electrónico",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimiento para marketing por SMS",cookiesAndTracking__name:"Cookies y Rastreo",cookiesAndTracking__description:"Consentimiento para cookies y rastreo",termsandconditions__description:"Necesario para demostrar que se aceptaron los términos y condiciones.",emailmarketing__description:"Necesario para demostrar consentimiento para marketing por correo electrónico.",sms__description:"Necesario para demostrar consentimiento para marketing por SMS.","3rdparty__description":"Necesario para demostrar consentimiento para marketing de terceros.",noDataFound:"No se encontraron datos para consentimientos.",loading:"Cargando... por favor espera",requiredError:"Este campo es obligatorio",wrongModalConfig:"¡Hubo un error en la configuración! No se encontraron consentimientos vencidos."},"pt-br":{invalidUrl:"Não foi possível construir 'URL': URL inválida",fetchConsentsError:"Erro: Não foi possível buscar os consentimentos.",fetchPlayerConsentsError:"Erro: Não foi possível buscar os consentimentos dos usuários.",fetchConsentsCategoriesError:"Erro: Não foi possível buscar as categorias de consentimento.",updateConsentsError:"Erro: Não foi possível atualizar os consentimentos.",saveChangesError:"Erro: Não foi possível salvar as alterações.",mustAcceptError:"Os consentimentos obrigatórios devem ser aceitos.",title:"Consentimentos",saveButtonContent:"Salvar Consentimentos",description:"Aqui você pode explorar e gerenciar suas preferências sobre como coletamos e utilizamos seus dados. Sua privacidade é importante para nós, e esta ferramenta permite que você tome decisões informadas sobre sua experiência online.",marketing__category:"Marketing",Other__category:"Outros",privacy__category:"Privacidade e Compartilhamento de Dados",dataSharing__name:"Compartilhamento de Dados",dataSharing__description:"Consentimento para compartilhamento de dados",emailMarketing__name:"Marketing por E-mail",emailMarketing__description:"Consentimento para marketing por e-mail",smsMarketing__name:"Marketing por SMS",smsMarketing__description:"Consentimento para marketing por SMS",cookiesAndTracking__name:"Cookies e Rastreamento",cookiesAndTracking__description:"Consentimento para cookies e rastreamento",termsandconditions__description:"Necessário para comprovar a aceitação dos termos e condições.",emailmarketing__description:"Necessário para comprovar consentimento para marketing por e-mail.",sms__description:"Necessário para comprovar consentimento para marketing por SMS.","3rdparty__description":"Necessário para comprovar consentimento para marketing de terceiros.",noDataFound:"Nenhum dado encontrado para consentimentos.",loading:"Carregando... por favor aguarde",requiredError:"Este campo é obrigatório",wrongModalConfig:"Houve um erro na configuração! Nenhum consentimento expirado encontrado."}};if(typeof window<"u"){let e=function(e){return function(...t){try{return e.apply(this,t)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=e(customElements.define),Promise.resolve().then((function(){return bc})).then((e=>e.G)).then((({default:e})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",e.element)}))}function tm(){let e,t;return{c(){e=Gh("svg"),t=Gh("path"),Lh(t,"d","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"),Lh(e,"xmlns","http://www.w3.org/2000/svg"),Lh(e,"viewBox","0 0 512 512")},m(i,r){Rh(i,e,r),Th(e,t)},p:yh,i:yh,o:yh,d(t){t&&Nh(e)}}}function im(e){Dh(e,"svelte-ltb9q9",'.DisplayNone.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:none}.ContainerCenter.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;min-height:219px}.ErrorMessage.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-size:12px;color:var(--emw--color-error, #ed0909)}.PlayerConsentsHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:30px}.AccordionHeader.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{font-weight:bold;cursor:pointer;border-bottom:1px solid var(--emw--color-gray-50, #cccccc);display:flex;align-items:center;justify-content:space-between}.AccordionItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{margin-bottom:10px}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;padding:10px 0}.AccordionContent.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{padding-bottom:0}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;width:100%;justify-content:space-between;align-items:center;margin-bottom:20px}.ConsentItem.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:last-of-type{margin-bottom:0}.ConsentItem.svelte-ltb9q9 .ConsentName.svelte-ltb9q9.svelte-ltb9q9{margin:0}.ConsentItem.svelte-ltb9q9 .ConsentDescription.svelte-ltb9q9.svelte-ltb9q9{font-size:0.8rem}.ToggleSwitch.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{position:relative;display:inline-block;width:40px;height:24px}.ToggleSwitch.Big.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{width:53px;height:30px}.ToggleSwitch.Big.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{width:22px;height:22px}.ToggleSwitch.Big.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(22px);-ms-transform:translateX(22px);transform:translateX(22px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9.svelte-ltb9q9{opacity:0;width:0;height:0}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9{background-color:var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:disabled+.Slider.svelte-ltb9q9{opacity:0.1}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:checked+.Slider.svelte-ltb9q9:before{-webkit-transform:translateX(16px);-ms-transform:translateX(16px);transform:translateX(16px)}.ToggleSwitch.svelte-ltb9q9 input.svelte-ltb9q9:focus+.Slider.svelte-ltb9q9{box-shadow:0 0 1px var(--emw--color-primary, #307fe2)}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--emw--color-gray-150, #a1a1a1);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.svelte-ltb9q9.svelte-ltb9q9:before{position:absolute;content:"";height:16px;width:16px;left:4px;bottom:4px;background-color:var(--emw--color-white, #fff);-webkit-transition:0.4s;transition:0.4s}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9{border-radius:34px}.ToggleSwitch.svelte-ltb9q9 .Slider.Round.svelte-ltb9q9.svelte-ltb9q9:before{border-radius:50%}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:block;width:100%;margin:50px auto;outline:none;cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924);border-radius:var(--emw--button-border-radius, 50px);padding:10px 20px;font-size:var(--emw--font-size-large, 20px);font-family:var(--emw--button-typography);color:var(--emw--button-text-color, #FFFFFF)}.SaveConsentsButton.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9:disabled{background:var(--emw--color-pale, var(--emw--color-gray-50, #707070))}.ConsentErrorContainer.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;align-items:center;border:1px dashed var(--emw--color-error, #ed0909);padding:10px;margin-bottom:10px}.ConsentErrorContainer.svelte-ltb9q9 circle-exclamation-icon.svelte-ltb9q9.svelte-ltb9q9{width:15px;fill:var(--emw--color-error, #ed0909)}.ConsentRequired.svelte-ltb9q9.svelte-ltb9q9.svelte-ltb9q9{color:var(--emw--color-error, #ed0909)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox.svelte-ltb9q9.svelte-ltb9q9{font-family:"Roboto";font-style:normal}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper.svelte-ltb9q9.svelte-ltb9q9{display:flex;gap:10px;position:relative;align-items:baseline;margin-bottom:30px}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__wrapper .checkbox__wrapper--relative.svelte-ltb9q9.svelte-ltb9q9{position:relative}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__input.svelte-ltb9q9.svelte-ltb9q9{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label.svelte-ltb9q9.svelte-ltb9q9{font-style:inherit;font-family:inherit;font-weight:400;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__label .checkbox__label-text.svelte-ltb9q9.svelte-ltb9q9{font-size:var(--emw--font-size-medium, 16px)}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__error-message.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip-icon.svelte-ltb9q9.svelte-ltb9q9{width:16px;height:auto}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.svelte-ltb9q9.svelte-ltb9q9{position:absolute;top:0;right:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.ConsentsContainer.svelte-ltb9q9 .legacyStyle .checkbox .checkbox__tooltip.visible.svelte-ltb9q9.svelte-ltb9q9{opacity:1}')}function rm(e,t,i){const r=e.slice();return r[64]=t[i],r}function om(e,t,i){const r=e.slice();return r[61]=t[i],r[62]=t,r[63]=i,r}function nm(e,t,i){const r=e.slice();return r[64]=t[i],r}function sm(e){let t,i,r=nc(e[9]),o=[];for(let t=0;t<r.length;t+=1)o[t]=cm(rm(e,r,t));return{c(){t=zh("div"),i=zh("form");for(let e=0;e<o.length;e+=1)o[e].c();Lh(i,"class","checkbox svelte-ltb9q9"),Lh(t,"class","legacyStyle")},m(r,n){Rh(r,t,n),Th(t,i);for(let e=0;e<o.length;e+=1)o[e]&&o[e].m(i,null);e[31](i)},p(e,t){if(590336&t[0]){let n;for(r=nc(e[9]),n=0;n<r.length;n+=1){const s=rm(e,r,n);o[n]?o[n].p(s,t):(o[n]=cm(s),o[n].c(),o[n].m(i,null))}for(;n<o.length;n+=1)o[n].d(1);o.length=r.length}},d(i){i&&Nh(t),Oh(o,i),e[31](null)}}}function am(e){let t,i,r,o,n,s,a,l,h=e[16]("title")||e[16]("description"),c=(e[16]("saveButtonContent")||"Save Consents")+"",d=h&&dm(e),u=nc(e[8]),m=[];for(let t=0;t<u.length;t+=1)m[t]=vm(om(e,u,t));let p=e[6]&&gm(e);return{c(){d&&d.c(),t=Uh();for(let e=0;e<m.length;e+=1)m[e].c();i=Uh(),r=zh("button"),n=Uh(),p&&p.c(),s=Bh(),Lh(r,"class","SaveConsentsButton svelte-ltb9q9"),r.disabled=o=!e[14]},m(o,h){d&&d.m(o,h),Rh(o,t,h);for(let e=0;e<m.length;e+=1)m[e]&&m[e].m(o,h);Rh(o,i,h),Rh(o,r,h),r.innerHTML=c,Rh(o,n,h),p&&p.m(o,h),Rh(o,s,h),a||(l=Ph(r,"click",e[17]),a=!0)},p(e,n){if(65536&n[0]&&(h=e[16]("title")||e[16]("description")),h?d?d.p(e,n):(d=dm(e),d.c(),d.m(t.parentNode,t)):d&&(d.d(1),d=null),867088&n[0]){let t;for(u=nc(e[8]),t=0;t<u.length;t+=1){const r=om(e,u,t);m[t]?m[t].p(r,n):(m[t]=vm(r),m[t].c(),m[t].m(i.parentNode,i))}for(;t<m.length;t+=1)m[t].d(1);m.length=u.length}65536&n[0]&&c!==(c=(e[16]("saveButtonContent")||"Save Consents")+"")&&(r.innerHTML=c),16384&n[0]&&o!==(o=!e[14])&&(r.disabled=o),e[6]?p?p.p(e,n):(p=gm(e),p.c(),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},d(e){e&&(Nh(t),Nh(i),Nh(r),Nh(n),Nh(s)),d&&d.d(e),Oh(m,e),p&&p.d(e),a=!1,l()}}}function lm(e){let t,i,r;return{c(){t=zh("div"),i=zh("strong"),r=Mh(e[7]),Lh(i,"class","ErrorMessage svelte-ltb9q9"),Lh(t,"class","ContainerCenter svelte-ltb9q9")},m(e,o){Rh(e,t,o),Th(t,i),Th(i,r)},p(e,t){128&t[0]&&jh(r,e[7])},d(e){e&&Nh(t)}}}function hm(e){let t;return{c(){t=zh("general-animation-loading"),Fh(t,"clientstyling",e[1]),Fh(t,"clientstylingurl",e[2]),Fh(t,"mbsource",e[3])},m(e,i){Rh(e,t,i)},p(e,i){2&i[0]&&Fh(t,"clientstyling",e[1]),4&i[0]&&Fh(t,"clientstylingurl",e[2]),8&i[0]&&Fh(t,"mbsource",e[3])},d(e){e&&Nh(t)}}}function cm(e){let t,i,r,o,n,s,a,l,h,c,d,u,m,p,_,f,v,g=(e[16](`${e[64].tagCode}__description`)||e[64].tagCode)+"",b=e[64].mustAccept?" *":"";function E(...t){return e[30](e[64],...t)}return{c(){t=zh("div"),i=zh("input"),n=Uh(),s=zh("label"),a=zh("div"),l=new qh(!1),h=Mh(b),d=Uh(),u=zh("small"),p=Uh(),Lh(i,"class","checkbox__input svelte-ltb9q9"),Lh(i,"type","checkbox"),i.checked=r="1"===e[64].status,Lh(i,"id",o=`${e[64].tagCode}__input`),l.a=h,Lh(a,"class","checkbox__label-text svelte-ltb9q9"),Lh(s,"class","checkbox__label svelte-ltb9q9"),Lh(s,"for",c=`${e[64].tagCode}__input`),Lh(u,"class","checkbox__error-message svelte-ltb9q9"),Lh(u,"id",m="checkBoxError__"+e[64].tagCode),Lh(t,"class",_="checkbox__wrapper "+e[64].tagCode+"__input svelte-ltb9q9")},m(e,r){Rh(e,t,r),Th(t,i),Th(t,n),Th(t,s),Th(s,a),l.m(g,a),Th(a,h),Th(t,d),Th(t,u),Th(t,p),f||(v=Ph(i,"input",E),f=!0)},p(n,a){e=n,512&a[0]&&r!==(r="1"===e[64].status)&&(i.checked=r),512&a[0]&&o!==(o=`${e[64].tagCode}__input`)&&Lh(i,"id",o),66048&a[0]&&g!==(g=(e[16](`${e[64].tagCode}__description`)||e[64].tagCode)+"")&&l.p(g),512&a[0]&&b!==(b=e[64].mustAccept?" *":"")&&jh(h,b),512&a[0]&&c!==(c=`${e[64].tagCode}__input`)&&Lh(s,"for",c),512&a[0]&&m!==(m="checkBoxError__"+e[64].tagCode)&&Lh(u,"id",m),512&a[0]&&_!==(_="checkbox__wrapper "+e[64].tagCode+"__input svelte-ltb9q9")&&Lh(t,"class",_)},d(e){e&&Nh(t),f=!1,v()}}}function dm(e){let t,i,r=e[16]("title"),o=e[16]("description"),n=r&&um(e),s=o&&mm(e);return{c(){t=zh("div"),n&&n.c(),i=Uh(),s&&s.c(),Lh(t,"class","PlayerConsentsHeader svelte-ltb9q9")},m(e,r){Rh(e,t,r),n&&n.m(t,null),Th(t,i),s&&s.m(t,null)},p(e,a){65536&a[0]&&(r=e[16]("title")),r?n?n.p(e,a):(n=um(e),n.c(),n.m(t,i)):n&&(n.d(1),n=null),65536&a[0]&&(o=e[16]("description")),o?s?s.p(e,a):(s=mm(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(e){e&&Nh(t),n&&n.d(),s&&s.d()}}}function um(e){let t,i,r=e[16]("title")+"";return{c(){t=zh("h2"),i=Mh(r),Lh(t,"class","PlayerConsentsTitle")},m(e,r){Rh(e,t,r),Th(t,i)},p(e,t){65536&t[0]&&r!==(r=e[16]("title")+"")&&jh(i,r)},d(e){e&&Nh(t)}}}function mm(e){let t,i,r=e[16]("description")+"";return{c(){t=zh("p"),i=Mh(r),Lh(t,"class","PlayerConsentsDescription")},m(e,r){Rh(e,t,r),Th(t,i)},p(e,t){65536&t[0]&&r!==(r=e[16]("description")+"")&&jh(i,r)},d(e){e&&Nh(t)}}}function pm(){let e;return{c(){e=zh("sup"),e.textContent="*",Lh(e,"class","ConsentRequired svelte-ltb9q9")},m(t,i){Rh(t,e,i)},d(t){t&&Nh(e)}}}function _m(e){let t,i=(e[16](`${e[64].tagCode}__description`)||e[64].description)+"";return{c(){t=zh("p"),Lh(t,"class","ConsentDescription svelte-ltb9q9")},m(e,r){Rh(e,t,r),t.innerHTML=i},p(e,r){66304&r[0]&&i!==(i=(e[16](`${e[64].tagCode}__description`)||e[64].description)+"")&&(t.innerHTML=i)},d(e){e&&Nh(t)}}}function fm(e){let t,i,r,o,n,s,a,l,h,c,d,u,m,p,_,f=(e[16](`${e[64].tagCode}__name`)||e[64].friendlyName)+"",v=!0===e[64].mustAccept&&pm(),g="true"===e[4]&&_m(e);function b(...t){return e[29](e[64],...t)}return{c(){t=zh("div"),i=zh("div"),r=zh("h4"),o=new qh(!1),n=Uh(),v&&v.c(),s=Uh(),g&&g.c(),a=Uh(),l=zh("label"),h=zh("input"),u=Uh(),m=zh("span"),o.a=n,Lh(r,"class","ConsentName svelte-ltb9q9"),Lh(i,"class","ConsentContent"),Lh(h,"type","checkbox"),h.disabled=c=!0===e[64].mustAccept&&!0===e[12][e[64].tagCode],h.checked=d=e[13][e[64].tagCode],Lh(h,"class","svelte-ltb9q9"),Lh(m,"class","Slider Round svelte-ltb9q9"),Lh(l,"class","ToggleSwitch svelte-ltb9q9"),Lh(t,"class","ConsentItem svelte-ltb9q9")},m(e,c){Rh(e,t,c),Th(t,i),Th(i,r),o.m(f,r),Th(r,n),v&&v.m(r,null),Th(i,s),g&&g.m(i,null),Th(t,a),Th(t,l),Th(l,h),Th(l,u),Th(l,m),p||(_=Ph(h,"input",b),p=!0)},p(t,n){e=t,66304&n[0]&&f!==(f=(e[16](`${e[64].tagCode}__name`)||e[64].friendlyName)+"")&&o.p(f),!0===e[64].mustAccept?v||(v=pm(),v.c(),v.m(r,null)):v&&(v.d(1),v=null),"true"===e[4]?g?g.p(e,n):(g=_m(e),g.c(),g.m(i,null)):g&&(g.d(1),g=null),4864&n[0]&&c!==(c=!0===e[64].mustAccept&&!0===e[12][e[64].tagCode])&&(h.disabled=c),8960&n[0]&&d!==(d=e[13][e[64].tagCode])&&(h.checked=d)},d(e){e&&Nh(t),v&&v.d(),g&&g.d(),p=!1,_()}}}function vm(e){let t,i,r,o,n,s,a,l,h,c,d,u,m=(e[16](`${e[61].categoryTagCode}__category`)||e[61].friendlyName)+"";function p(){e[26].call(s,e[61])}function _(){return e[27](e[61])}function f(...t){return e[28](e[61],...t)}let v=nc(e[9].filter(f)),g=[];for(let t=0;t<v.length;t+=1)g[t]=fm(nm(e,v,t));return{c(){t=zh("div"),i=zh("div"),r=zh("h3"),o=Uh(),n=zh("label"),s=zh("input"),a=Uh(),l=zh("span"),h=Uh(),c=zh("div");for(let e=0;e<g.length;e+=1)g[e].c();Lh(s,"type","checkbox"),Lh(s,"class","svelte-ltb9q9"),Lh(l,"class","Slider Round svelte-ltb9q9"),Lh(n,"class","ToggleSwitch Big svelte-ltb9q9"),Lh(i,"class","AccordionHeader svelte-ltb9q9"),Lh(c,"class","AccordionContent svelte-ltb9q9"),Lh(t,"class","AccordionItem svelte-ltb9q9")},m(f,v){Rh(f,t,v),Th(t,i),Th(i,r),r.innerHTML=m,Th(i,o),Th(i,n),Th(n,s),s.checked=e[11][e[61].categoryTagCode],Th(n,a),Th(n,l),Th(t,h),Th(t,c);for(let e=0;e<g.length;e+=1)g[e]&&g[e].m(c,null);d||(u=[Ph(s,"change",p),Ph(s,"change",_)],d=!0)},p(t,i){if(e=t,65792&i[0]&&m!==(m=(e[16](`${e[61].categoryTagCode}__category`)||e[61].friendlyName)+"")&&(r.innerHTML=m),2304&i[0]&&(s.checked=e[11][e[61].categoryTagCode]),602896&i[0]){let t;for(v=nc(e[9].filter(f)),t=0;t<v.length;t+=1){const r=nm(e,v,t);g[t]?g[t].p(r,i):(g[t]=fm(r),g[t].c(),g[t].m(c,null))}for(;t<g.length;t+=1)g[t].d(1);g.length=v.length}},d(e){e&&Nh(t),Oh(g,e),d=!1,xh(u)}}}function gm(e){let t,i,r,o,n;return{c(){t=zh("div"),i=zh("circle-exclamation-icon"),r=Uh(),o=zh("strong"),n=Mh(e[6]),Fh(i,"class","svelte-ltb9q9"),Lh(o,"class","ErrorMessage svelte-ltb9q9"),Lh(t,"class","ConsentErrorContainer svelte-ltb9q9")},m(e,s){Rh(e,t,s),Th(t,i),Th(t,r),Th(t,o),Th(o,n)},p(e,t){64&t[0]&&jh(n,e[6])},d(e){e&&Nh(t)}}}function bm(e){let t,i;function r(e){return e[10]?hm:e[7]?lm:e[0]?am:e[0]?void 0:sm}let o=r(e),n=o&&o(e);return{c(){t=zh("div"),i=zh("div"),n&&n.c(),Lh(i,"class","ConsentsContainer svelte-ltb9q9"),Lh(t,"class"," svelte-ltb9q9")},m(r,o){Rh(r,t,o),Th(t,i),n&&n.m(i,null),e[32](i)},p(e,t){o===(o=r(e))&&n?n.p(e,t):(n&&n.d(1),n=o&&o(e),n&&(n.c(),n.m(i,null)))},i:yh,o:yh,d(i){i&&Nh(t),n&&n.d(),e[32](null)}}}function Em(e,t,i){let r;Ch(e,Qu,(e=>i(16,r=e)));let o,n,s,{session:a=""}=t,{userid:l=""}=t,{endpoint:h=""}=t,{clientstyling:c=""}=t,{clientstylingurl:d=""}=t,{mbsource:u}=t,{lang:m="en"}=t,{displayconsentdescription:p=""}=t,{translationurl:_=""}=t,{modalconsents:f="false"}=t,v=!1,g=!1,b="",E="",y="",w="",k=[],x=[],S=[],A=!0,I=!0,C={},T={},D={},R={},N={none:{key:"0",value:"None"},accepted:{key:"1",value:"Accepted"},expired:{key:"2",value:"Expired"},denied:{key:"3",value:"Denied"},suspended:{key:"4",value:"Suspended"}},O=!1;Object.keys(em).forEach((e=>{Ju(e,em[e])}));const z=(e,t=!1)=>{t?i(7,w=e):(U(),i(6,y=e))},G=async(e,t,i,o=!1)=>{try{const o=await fetch(e,i);if(!o.ok)throw new Error(r(t));const n=await o.json();return g?n:n.filter((e=>!0===e.showOnRegister))}catch(e){throw z(e instanceof TypeError?r(t):e.message,o),e}},M=async()=>{const e=new URL(`${h}/api/v1/gm/consents`);if(e.searchParams.append("Status","Active"),!g)return await G(e.href,"fetchConsentsError",{method:"GET"},!0);const t=new URL(`${h}/api/v1/gm/user-consents/${E}`);return await Promise.all([G(e.href,"fetchConsentsError",{method:"GET"},!0),G(t.href,"fetchPlayerConsentsError",{method:"GET",headers:{"X-SessionId":b,"Content-Type":"application/json"}})])},U=()=>{i(13,R={...D}),i(11,C={...T})},B=e=>{S.filter((t=>t.category.categoryTagCode===e)).forEach((t=>{t.status=t.status===N.denied.value?N.accepted.value:N.denied.value,i(13,R[t.tagCode]=C[e]||!1,R)})),i(14,n=j())},P=(e,t,o)=>{const n=S.find((e=>e.id===o)),a=t?"value":"key";let l;if(!t&&n.mustAccept){const e=Array.from(s.children);for(const t of e)if(l=Array.from(t.children).find((e=>e.getAttribute("id")===`checkBoxError__${n.tagCode}`)),l)break}if(n.status===N.accepted[a]?(n.status=N.denied[a],l&&(l.innerHTML=r("requiredError"))):(n.status=N.accepted[a],l&&(l.innerHTML="")),t){i(13,R[n.tagCode]=!R[n.tagCode],R);const e=S.filter((e=>e.category.categoryTagCode===t.categoryTagCode)).every((e=>e.status!==N.denied.value));i(11,C[t.categoryTagCode]=e,C)}L()},L=(e=>{let t;return function(...i){const r=this;clearTimeout(t),t=setTimeout((()=>{e.apply(r,i)}),500)}})((()=>F())),F=()=>{i(14,n=j()),a||(window.postMessage({type:"isConsentsValid",isValid:n}),localStorage.setItem("playerConsents",JSON.stringify(S)))},j=()=>0===S.filter((e=>S.some((t=>e.tagCode===t.tagCode&&t.mustAccept&&(e.status===N.denied.key||e.status===N.denied.value))))).length,q=e=>{window.postMessage({type:"WidgetNotification",data:{type:"error",message:e}},window.location.href)};return $h((()=>{setTimeout((()=>{i(25,v=!0)}),50);const e=e=>(e=>{e.data&&"setUpPlayerConsents"!==e.data.type||(e=>{const t=new URL(`${h}/api/v2/gm/legislation/consents`),r={method:"POST",body:JSON.stringify({playerConsents:S,registrationId:e}),headers:{"Content-Type":"application/json",Accept:"application/json"}};fetch(t.href,r).then((e=>{e.ok||(O=!0)})).catch((e=>(console.error(e),q(e)))).finally((()=>{i(10,A=!1)}))})(e.data.registerid)})(e);return window.addEventListener("message",e),()=>{window.removeEventListener("message",e)}})),e.$$set=e=>{"session"in e&&i(0,a=e.session),"userid"in e&&i(20,l=e.userid),"endpoint"in e&&i(21,h=e.endpoint),"clientstyling"in e&&i(1,c=e.clientstyling),"clientstylingurl"in e&&i(2,d=e.clientstylingurl),"mbsource"in e&&i(3,u=e.mbsource),"lang"in e&&i(22,m=e.lang),"displayconsentdescription"in e&&i(4,p=e.displayconsentdescription),"translationurl"in e&&i(23,_=e.translationurl),"modalconsents"in e&&i(24,f=e.modalconsents)},e.$$.update=()=>{33554433&e.$$.dirty[0]&&v&&a&&(a&&(b=a,g=!0),l&&(E=l),(async()=>{try{let e=[],t=[];if(g?[e,t]=await M():e=await M(),i(10,A=!1),x=[...e],i(8,k=(e=>{const t=new Map;return e.forEach((e=>{t.has(e.category.categoryTagCode)||t.set(e.category.categoryTagCode,e.category)})),Array.from(t.values())})(x).sort(((e,t)=>e.categoryTagCode.localeCompare(t.categoryTagCode)))),i(11,C=(e=>{const t=localStorage.getItem("categoryToggle"+E);if(null===t){const t=e.reduce(((e,t)=>(e[t.categoryTagCode]=!1,e)),{});return localStorage.setItem("categoryToggle"+E,JSON.stringify(t)),t}return JSON.parse(t)})(k)),T={...C},i(9,S=[...t]),x.forEach((e=>{let t=S.find((t=>t.tagCode===e.tagCode));t||(t={...e,status:N.denied.value},S.push(t)),t.description=e.description,t.orderNumber=e.orderNumber})),"true"===f){if(i(9,S=S.filter((e=>e.status===N.expired.value))),0!==S.length)return;z(r("wrongModalConfig"),!0)}S.forEach((e=>{i(12,D[e.tagCode]=e.status===N.accepted.value,D)})),i(13,R={...D})}catch(e){throw i(10,A=!1),z(e instanceof TypeError?r("invalidUrl"):e.message,!0),e}})()),1&e.$$.dirty[0]&&(a||(()=>{O=!1;const e=new URL(`${h}/api/v2/gm/legislation/consents`);fetch(e.href,{method:"GET",headers:{"Content-Type":"application/json",Accept:"application/json"}}).then((e=>e.ok?e.json():(O=!0,e.json().then((e=>(console.error(e),q(e))))))).then((e=>{if(!O){if(x=e,localStorage.getItem("playerConsents")){try{i(9,S=JSON.parse(localStorage.getItem("playerConsents")))}catch(e){return console.error(e),q(e)}return}return i(9,S=x.map((e=>({id:e.id,status:N.denied.key,friendlyName:e.friendlyName,tagCode:e.tagCode,selected:null,mustAccept:e.mustAccept})))),localStorage.setItem("playerConsents",JSON.stringify(S)),S}})).catch((e=>(console.error(e),q(e)))).finally((()=>{i(10,A=!1)}))})()),34&e.$$.dirty[0]&&c&&o&&dc(o,c),36&e.$$.dirty[0]&&d&&o&&uc(o,d),40&e.$$.dirty[0]&&o&&mc(o,`${u}.Style`),4194304&e.$$.dirty[0]&&m&&function(e){Ou.set(e)}(m),8388608&e.$$.dirty[0]&&_&&(()=>{let e=new URL(_);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ju(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[a,c,d,u,p,o,y,w,k,S,A,C,D,R,n,s,r,async()=>{if(!I)return;I=!1;const e=[],t=[];if(Object.keys(R).forEach((i=>{const r=S.find((e=>e.tagCode===i));R[i]!==D[i]&&(r?e.push({tagCode:i,status:R[i]?N.accepted.value:N.denied.value}):t.push({tagCode:i,status:R[i]?N.accepted.value:N.denied.value}))})),!g)return localStorage.setItem("categoryToggle"+E,JSON.stringify(C)),T={...C},window.postMessage({type:"NewPlayerConsentData",data:JSON.stringify(t)},window.location.href),void(I=!0);const o=new URL(`${h}/api/v1/gm/user-consents/${E}`);try{const r=await Promise.allSettled([t.length>0&&G(o.href,"updateConsentsError",{method:"POST",headers:{"X-SessionId":b,"Content-Type":"application/json"},body:JSON.stringify({userConsents:t})}),e.length>0&&G(o.href,"updateConsentsError",{method:"PATCH",headers:{"X-SessionId":b,"Content-Type":"application/json"},body:JSON.stringify({userConsents:e})})]);r.forEach(((r,o)=>{if("rejected"===r.status||!1===r.value.ok){const r=o<t.length?t[o]:e[o-t.length];i(13,R[r.tagCode]=D[r.tagCode],R)}})),r.every((e=>"fulfilled"===e.status))&&(localStorage.setItem("categoryToggle"+E,JSON.stringify(C)),T={...C},window.postMessage({type:"PlayerConsentUpdated",success:!0},window.location.href),i(12,D={...R}))}catch(e){z(e instanceof TypeError?r("saveChangesError"):e.message),window.postMessage({type:"PlayerConsentUpdated",success:!1},window.location.href)}finally{I=!0,i(14,n=!1)}},B,P,l,h,m,_,f,v,function(e){C[e.categoryTagCode]=this.checked,i(11,C)},e=>B(e.categoryTagCode),(e,t)=>t.category.categoryTagCode===e.categoryTagCode,e=>P(0,e.category,e.id),e=>P(0,null,e.id),function(e){Kh[e?"unshift":"push"]((()=>{s=e,i(15,s)}))},function(e){Kh[e?"unshift":"push"]((()=>{o=e,i(5,o)}))}]}customElements.define("circle-exclamation-icon",hc(class extends cc{constructor(e){super(),sc(this,e,null,tm,Ah,{})}},{},[],[],!0));class ym extends cc{constructor(e){super(),sc(this,e,Em,bm,Ah,{session:0,userid:20,endpoint:21,clientstyling:1,clientstylingurl:2,mbsource:3,lang:22,displayconsentdescription:4,translationurl:23,modalconsents:24},im,[-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),ic()}get userid(){return this.$$.ctx[20]}set userid(e){this.$$set({userid:e}),ic()}get endpoint(){return this.$$.ctx[21]}set endpoint(e){this.$$set({endpoint:e}),ic()}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),ic()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),ic()}get mbsource(){return this.$$.ctx[3]}set mbsource(e){this.$$set({mbsource:e}),ic()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),ic()}get displayconsentdescription(){return this.$$.ctx[4]}set displayconsentdescription(e){this.$$set({displayconsentdescription:e}),ic()}get translationurl(){return this.$$.ctx[23]}set translationurl(e){this.$$set({translationurl:e}),ic()}get modalconsents(){return this.$$.ctx[24]}set modalconsents(e){this.$$set({modalconsents:e}),ic()}}hc(ym,{session:{},userid:{},endpoint:{},clientstyling:{},clientstylingurl:{},mbsource:{},lang:{},displayconsentdescription:{},translationurl:{},modalconsents:{}},[],[],!0),customElements.define=function(e){return function(...t){try{return e.apply(this,t)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}}(customElements.define),!customElements.get("player-consents")&&customElements.define("player-consents",ym.element);const wm=class{constructor(i){e(this,i),this.registrationWidgetLoaded=t(this,"registrationWidgetLoaded",7),this.registrationStepUpdated=t(this,"registrationStepUpdated",7),this.listOfInputValues=[],this.listOfInputValidity=[],this.listOfActions=[],this.listOfInputs=[],this.emitValue=!1,this.backButtonPressed=!1,this.registerErrors=!1,this.extraActions=[],this.registrationStepsState={regId:null},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.host.shadowRoot.prepend(e)},this.setClientStylingURL=()=>{let e=new URL(this.clientStylingUrl),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,this.clientStyling=e,setTimeout((()=>{this.host.shadowRoot.prepend(t)}),1)}))},this.endpoint=void 0,this.language="en",this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.dateFormat=void 0,this.buttonInsideForm=void 0,this.btag=null,this.emitOnClick=!1,this.errorMessage=void 0,this.isFormValid=void 0,this.isConsentValid=!1,this.isConsentReady=!1,this.isLoading=!0,this.isLoadingPOST=void 0,this.registrationStep=void 0,this.forms=[],this.limitStylingAppends=!1,this.autofilled=!1}sendStep(){this.registrationStepUpdated.emit(this.registrationStep),window.postMessage({type:"registrationStepUpdated",step:this.registrationStep},window.location.href)}handleStylingChange(e,t){e!==t&&this.setClientStyling()}handleStylingUrlChange(e,t){e!==t&&this.setClientStylingURL()}setFormValidity(){this.errorMessage="",this.listOfInputValidity&&(this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)),this.listOfInputs.some((e=>e.autofill))&&(this.autofilled=!0)}addBtag(){this.addBtagValue()}checkInputsValidityHandler(e){this.listOfInputValidity.find((t=>t.name==e.detail.name)).isValid=e.detail.valid,this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)}getInputsValueHandler(e){this.listOfInputValues.find((t=>{t.name==e.detail.name&&(t.value=e.detail.value,t.type=e.detail.type||null)})),this.stepsStateMachine({event:"set",type:"values"})}componentWillLoad(){return this.getRegisterConfig().then((e=>{this.formatConfig(e),this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity),this.stepsStateMachine({event:"set",type:"inputs"})}))}componentDidLoad(){this.registrationWidgetLoaded.emit(),window.postMessage({type:"registrationWidgetLoaded"},window.location.href),!this.limitStylingAppends&&this.host&&(this.clientStyling&&this.setClientStyling(),this.clientStylingUrl&&this.setClientStylingURL(),this.limitStylingAppends=!0)}messageHandler(e){e.data&&"isConsentsValid"!=e.data.type||(this.listOfInputValidity.find((e=>"Consents"===e.name)).isValid=!!e.data.isValid,this.isConsentValid=!!e.data.isValid,this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity))}nextHandler(e){e.preventDefault(),this.emitValue=!0,this.setRegisterStep()}backHandler(e){e.preventDefault(),this.registrationStep=this.stepChange("decrement"),this.stepsStateMachine({event:"get",type:"inputs"}),this.stepsStateMachine({event:"get",type:"values"})}dispatchRegisterCredentialsEvent(){let e="",t="";Object.keys(this.registrationStepsState).forEach((i=>{this.registrationStepsState[i].registerUserData&&(e||(e=this.registrationStepsState[i].registerUserData.Email?this.registrationStepsState[i].registerUserData.Email.value:e),t||(t=this.registrationStepsState[i].registerUserData.Password?this.registrationStepsState[i].registerUserData.Password.value:t))})),this.registerCredentialsEvent=new CustomEvent("RegisterCredentials",{bubbles:!0,detail:{userNameEmail:e,userPassword:t}}),window.dispatchEvent(this.registerCredentialsEvent)}stepsStateMachine(e){const t=()=>{localStorage.setItem("registrationStepsState",JSON.stringify(this.registrationStepsState))};switch(e.event){case"set":if("inputs"==e.type){const e=this.registrationStepsState[this.registrationStep];e.fields=this.listOfInputs,e.actions=this.listOfActions,e.fieldsValidity=this.listOfInputValidity}"values"==e.type&&(this.registrationStepsState[this.registrationStep].registerUserData=this.listOfInputValues.reduce(((e,t)=>(e[t.name]={value:t.value,isDuplicate:t.isDuplicate},e)),{})),t();break;case"get":const i=JSON.parse(localStorage.getItem("registrationStepsState"));if(!i)return;if("inputs"==e.type){const e=this.registrationStepsState[this.registrationStep];this.listOfInputs=e.fields,this.listOfActions=e.actions,this.listOfInputValidity=e.fieldsValidity}if("values"==e.type){const e=i[this.registrationStep].registerUserData;this.listOfInputValues=Object.keys(e).map((t=>({name:t,value:e[t].value,isDuplicate:e[t].isDuplicate}))),this.listOfInputValues.forEach((e=>{const t=this.listOfInputs.find((t=>t.name===e.name));t&&(t.defaultValue=e.value,"togglecheckbox"===t.inputType&&t.data.subFields.forEach((e=>{const t=this.listOfInputValues.find((t=>t.name===e.name));e.defaultValue=t.value})))}))}this.isConsentReady=this.listOfActions.some((e=>"/Consents"===e)),this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity)}}getRegisterConfig(e){const t=new URL(`${this.endpoint}/v1/player/legislation/registration/config`),i=new Headers;i.append("Content-Type","application/json"),i.append("Accept","application/json"),e&&t.searchParams.append("registrationId",e);const r={method:"GET",headers:i};return new Promise(((e,i)=>{this.isLoading=!0,fetch(t.href,r).then((e=>e.json())).then((t=>{this.isLoading=!1,e(t)})).catch((e=>{this.isLoading=!1,console.error(e),i(e)})).finally((()=>{this.isLoading=!1}))}))}setRegisterStep(){this.isLoadingPOST=!0;const e=new URL(`${this.endpoint}/v1/player/legislation/registration/step`),t={registrationId:this.registrationID,registerUserDto:this.listOfInputValues.filter((e=>!e.isDuplicate)).reduce(((e,t)=>("TypeOfPublicArea"===t.name?e[t.name]=t.value.toLowerCase():"tel"===t.type?(e.MobilePrefix=t.value.prefix,e[t.name]=t.value.phone):"checkboxgroup"===t.type?null!==t.value&&Object.entries(t.value).forEach((([t,i])=>{e[t]=i?"true":"false"})):e[t.name]="toggle"===t.type?t.value?"true":"false":t.value,e)),{}),step:this.registrationStep},i=new Headers;i.append("Content-Type","application/json"),i.append("Accept","application/json");const r={method:"POST",body:JSON.stringify(t),headers:i};fetch(e.href,r).then((e=>e.ok?e.json():e.json().then((e=>{this.errorCode=e.thirdPartyResponse.errorCode,this.errorMessage="GmErr_BadRequest_IdomsoftVerification_ShouldRetry"==this.errorCode?e.thirdPartyResponse.message:"GmErr_Forbidden_UserAccount_NavExcluded"===this.errorCode?Eh(`${this.errorCode}`,this.language):"GmErr_BadRequest"==this.errorCode?e.thirdPartyResponse.message:Eh(`${this.errorCode}`,this.language)||Eh("generalError",this.language)})))).then((e=>{this.isLoadingPOST=!1,this.registrationID=e.registrationId,this.listOfActions.some((e=>"/register"==e))?(this.listOfActions.some((e=>"/generate-2FA-code/Generate2FACode"==e))&&this.extraActions.push("2fa"),localStorage.getItem("playerConsents")&&localStorage.removeItem("playerConsents"),this.setRegister()):(this.isConsentValid&&window.postMessage({type:"setUpPlayerConsents",registerid:this.registrationID}),this.registrationStep=this.stepChange("increment"),Object.keys(this.registrationStepsState).find((e=>e==this.registrationStep))?(this.stepsStateMachine({event:"get",type:"inputs"}),this.stepsStateMachine({event:"get",type:"values"})):this.getRegisterConfig(this.registrationID).then((e=>{this.formatConfig(e),this.stepsStateMachine({event:"set",type:"inputs"})})))})).catch((e=>{this.isLoadingPOST=!1,console.error(e)})).finally((()=>{this.isLoadingPOST=!1}))}setRegister(){this.isLoading=!0,this.registerErrors=!1;const e=new URL(`${this.endpoint}/v1/player/legislation/register`),t=new Headers;t.append("Content-Type","application/json"),t.append("Accept","application/json");const i={method:"PUT",body:JSON.stringify({registrationId:this.registrationID}),headers:t};fetch(e.href,i).then((e=>e.ok?e.json():(this.registerErrors=!0,e.json().then((e=>{this.errorCode=e.thirdPartyResponse.errorCode,this.errorMessage="GmErr_BadRequest_IdomsoftVerification_ShouldRetry"==this.errorCode||"GmErr_BadRequest"==this.errorCode?e.thirdPartyResponse.message:Eh(`${this.errorCode}`,this.language)||Eh("generalError",this.language),window.postMessage({type:"registrationFailed",errorMessage:null==e?void 0:e.thirdPartyResponse.message},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"error",message:this.errorMessage}},window.location.href)}))))).then((e=>{this.isLoading=!1,this.registerErrors||(this.dispatchRegisterCredentialsEvent(),window.postMessage({type:"registrationSuccessful",userId:null==e?void 0:e.userId,extraActions:this.extraActions},window.location.href),window.postMessage({type:"WidgetNotification",data:{type:"success",message:Eh("successMessage",this.language)}},window.location.href))})).catch((e=>{this.isLoading=!1,console.error(e)})).finally((()=>{this.isLoading=!1}))}formatConfig(e){if(this.listOfInputs=e.content.fields.flatMap((e=>{const t=e.validate.custom.find((e=>"duplicate-input"===e.rule)),i=Object.assign({},e);return t?[i,Object.assign(Object.assign({},e),{name:`${e.name}Duplicate`,displayName:t.displayName,isDuplicateInput:!0})]:[i]})),this.listOfInputValidity=this.listOfInputs.reduce(((e,t)=>{var i;return"togglecheckbox"===(null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase())?t.data.subFields.forEach((t=>{e.push({name:t.name,isValid:this.setInitialValidStatus(t)})})):e.push({name:t.name,isValid:this.setInitialValidStatus(t)}),e}),[]),this.listOfInputValues=this.listOfInputs.reduce(((e,t)=>{var i;const r=null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase();return"togglecheckbox"===r&&t.data.subFields.forEach((t=>{var i;e.push({name:t.name,value:"checkbox"==(null===(i=t.inputType)||void 0===i?void 0:i.toLowerCase())?"false":null,isDuplicate:t.isDuplicateInput||!1,type:"togglecheckbox"===r?"togglecheckbox":null})})),e.push({name:t.name,value:"checkbox"===r||"togglecheckbox"===r?"false":null,isDuplicate:t.isDuplicateInput||!1,type:"checkboxgroup"===r?"checkboxgroup":"togglecheckbox"===r?"toggle":null}),e}),[]),this.btag&&this.addBtagValue(),this.listOfActions=e.content.actions.map((e=>e)),this.registrationID=e.content.registrationID,this.registrationStep=e.content.step,this.listOfActions.some((e=>"/register"==e))&&(this.lastStep=this.registrationStep),this.listOfActions.some((e=>"/Consents"==e))){if(this.isConsentReady)return this.listOfInputValidity.find((e=>"Consents"===e.name)).isValid=!1,void(this.isFormValid=!this.getInvalidStatus(this.listOfInputValidity));this.listOfInputValidity.push({name:"Consents",isValid:!1}),this.isConsentReady=!0}else this.isConsentReady=!1;var t;this.translationUrl?(t=this.translationUrl,new Promise((e=>{fetch(t).then((e=>e.json())).then((t=>{Object.keys(t).forEach((e=>{for(let i in t[e])bh[e][i]=t[e][i]})),e(!0)}))}))).then((()=>{this.listOfInputs.forEach((e=>{var t,i;return this.addTranslation(e),"togglecheckbox"===(null===(t=e.inputType)||void 0===t?void 0:t.toLowerCase())&&e.data.subFields.forEach((e=>this.addTranslation(e))),"checkboxgroup"===(null===(i=e.inputType)||void 0===i?void 0:i.toLowerCase())&&(this.addTranslation(e),e.data.subFields.forEach((e=>this.addTranslation(e)))),e}))})).catch((e=>{console.error("Failed to fetch translations:",e)})).finally((()=>{this.forms=[...this.forms,{[this.registrationStep]:this.listOfInputs}]})):this.forms=[...this.forms,{[this.registrationStep]:this.listOfInputs}],this.registrationStepsState.regId=this.registrationID,this.registrationStepsState[this.registrationStep]||(this.registrationStepsState[this.registrationStep]={fields:[],fieldsValidity:[],registerUserData:{},actions:[]})}addBtagValue(){const e=this.listOfInputs.find((e=>"btag"===e.name.toLowerCase()));e&&(e.defaultValue=this.btag);const t=this.listOfInputValues.find((e=>"btag"===e.name.toLowerCase()));t&&(t.value=this.btag)}addTranslation(e){bh[bh[this.language]?this.language:"en"][e.name]&&Object.keys(bh[this.language][e.name]).forEach((t=>{e[t]=bh[this.language][e.name][t]}))}setInitialValidStatus(e){var t,i,r,o;return"checkbox"==(null===(t=e.inputType)||void 0===t?void 0:t.toLowerCase())&&0==(null===(i=e.validate)||void 0===i?void 0:i.mandatory)||("checkbox"!==(null===(r=e.inputType)||void 0===r?void 0:r.toLowerCase())||!(null===(o=e.validate)||void 0===o?void 0:o.mandatory)||"true"===e.defaultValue)&&null!==e.defaultValue}stepChange(e){const t=parseInt(this.registrationStep.replace("Step",""));return"increment"===e?"Step"+(t+1):"decrement"===e?"Step"+(t-1):void 0}getInvalidStatus(e){return e.filter((e=>0==e.isValid)).length>0}renderForm(){return this.forms.map(((e,t)=>i("form",{action:".",id:`RegistrationForm${this.registrationStep}`,class:"registration__form "+(this.registrationStep!==`Step${t+1}`?"hidden":""),ref:e=>this.form=e},e[this.registrationStep]&&e[this.registrationStep].map((e=>i("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,options:e.data?"checkboxgroup"==e.inputType.toLowerCase()||"togglecheckbox"==e.inputType.toLowerCase()?e.data.subFields:e.data.values:[],defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,isDuplicateInput:e.isDuplicateInput,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:null==e.placeholder?"":e.placeholder,dateFormat:this.dateFormat,"translation-url":this.translationUrl,emitOnClick:this.emitOnClick}))),this.isConsentReady&&this.renderConsents(),this.buttonInsideForm&&this.renderButtons(),i("div",{class:"registration__wrapper--flex"},i("p",{class:"registration__error-message",innerHTML:this.errorMessage})))))}renderConsents(){return i("div",{class:"consentsContainer"},i("player-consents",{endpoint:this.endpoint}))}renderButtons(){return i("div",{class:"registration__buttons-wrapper "+(this.autofilled?"registration__buttons-wrapper--autofilled":"")},this.isLoadingPOST&&i("slot",{name:"spinner"})&&i("svg",{class:"spinner",viewBox:"0 0 50 50"},i("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none","stroke-width":"5"})),!this.isLoadingPOST&&i("button",{class:"registration__button registration__button--next "+(this.isFormValid?"":"registration__button--disabled"),type:"submit",form:`RegistrationForm${this.registrationStep}`,onClick:e=>this.nextHandler(e),disabled:!this.isFormValid},Eh(this.lastStep===this.registrationStep?"doneButton":"nextButton",this.language)),i("button",{class:"registration__button registration__button--back "+("Step1"==this.registrationStep?"registration__button--first-step":""),onClick:e=>this.backHandler(e)},Eh("backButton",this.language)))}render(){return this.isLoading?i("p",null,"Please wait, loading ..."):i("div",{class:`registration registration__${this.registrationStep}`},this.renderForm(),!this.buttonInsideForm&&this.renderButtons())}get host(){return r(this)}static get watchers(){return{registrationStep:["sendStep"],clientStyling:["handleStylingChange"],clientStylingUrl:["handleStylingUrlChange"],forms:["setFormValidity"],btag:["addBtag"]}}};wm.style='*,\n*::before,\n*::after {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n\n.registration__form.hidden {\n display: none;\n}\n\n.registration {\n font-family: "Roboto";\n font-style: normal;\n font-family: sans-serif;\n display: flex;\n flex-direction: column;\n gap: 24px;\n width: 100%;\n height: 100%;\n container-type: inline-size;\n}\n.registration__wrapper {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.registration__error-message {\n color: var(--emw--color-error, var(--emw--color-red, #ed0909));\n font-size: 13px;\n display: block;\n justify-content: center;\n text-align: center;\n}\n.registration__form {\n display: grid;\n grid-template-columns: repeat(1, 1fr);\n gap: 40px;\n justify-items: stretch;\n align-content: flex-start;\n overflow: auto;\n width: 100%;\n height: 100%;\n}\n.registration__buttons-wrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n align-items: center;\n position: relative;\n}\n.registration__button {\n border-radius: 5px;\n background: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n border: 1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n color: var(--emw--button-typography, var(--emw--color-white, #FFFFFF));\n text-transform: uppercase;\n font-size: 20px;\n height: 44px;\n width: 100%;\n margin: 0px auto;\n padding: 10px 20px;\n font-weight: normal;\n box-shadow: none;\n cursor: pointer;\n}\n.registration__button--disabled {\n background: var(--emw--color-gray-100, #E6E6E6);\n border: 1px solid var(--emw--color-gray-150, #828282);\n pointer-events: none;\n box-shadow: none;\n}\n.registration__button--first-step {\n display: none;\n}\n\n@container (min-width: 450px) {\n .registration__form {\n grid-template-columns: repeat(2, 1fr);\n }\n .registration__buttons-wrapper {\n flex-direction: row-reverse;\n gap: 15px;\n }\n}\n.spinner {\n animation: rotate 2s linear infinite;\n z-index: 2;\n position: absolute;\n top: 50%;\n left: 50%;\n margin: -25px 0 0 -25px;\n width: 50px;\n height: 50px;\n}\n.spinner .path {\n stroke: var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));\n stroke-linecap: round;\n animation: dash 1.5s ease-in-out infinite;\n}\n\n@keyframes rotate {\n 100% {\n transform: rotate(360deg);\n }\n}\n@keyframes dash {\n 0% {\n stroke-dasharray: 1, 150;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 90, 150;\n stroke-dashoffset: -124;\n }\n}';const km=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.touched=!0},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.validation=void 0,this.defaultValue=void 0,this.autofilled=void 0,this.tooltip=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}))}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}return this.inputReference.validity.rangeUnderflow||this.inputReference.validity.rangeOverflow?s("numberLengthError",this.language,{values:{min:this.validation.min,max:this.validation.max}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"number__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"841265bba6b75cc61a0eac1450c3f5aa5f917a2e",class:`number__wrapper ${this.autofilled?"number__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"645c7817cf5a0bdc352de9d8c0698fde235aa6d3",class:"number__wrapper--flex"},i("label",{key:"3343cbbb8482b71cd152161a8d422f318f07f3fe",class:"number__label "+(this.validation.mandatory?"number__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"1f3341b2127095870610fc0e0b4b5d220c5d2e2c",class:"number__wrapper--relative"},this.tooltip&&i("img",{key:"8bbe2fe9f62347cbcd37b753d4a1b0718dc39091",class:"number__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"100401abdc33069f34e27e0807c9f31ddf7e42ec",ref:e=>this.inputReference=e,type:"number",value:this.defaultValue,readOnly:this.autofilled,id:`${this.name}__input`,class:`number__input ${e}`,pattern:this.validationPattern,placeholder:`${this.placeholder}`,required:this.validation.mandatory,max:this.validation.max,min:this.validation.min,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"db1e0043bb9b6de2ad8e18f49f96152b9451b93c",class:"number__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};km.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.number{font-family:"Roboto";font-style:normal}.number__wrapper{position:relative;width:100%}.number__wrapper--autofilled{pointer-events:none}.number__wrapper--autofilled .number__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__wrapper--autofilled .number__input{color:var(--emw--color-black, #000000)}.number__wrapper--flex{display:flex;gap:5px}.number__wrapper--relative{position:relative}.number__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.number__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.number__input{font-family:inherit;border-radius:5px;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px;position:relative;-moz-appearance:textfield;}.number__input:focus{outline-color:#3E3E3E}.number__input::-webkit-outer-spin-button,.number__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.number__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__input::placeholder{color:#979797}.number__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.number__tooltip-icon{width:16px;height:auto}.number__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.number__tooltip.visible{opacity:1}',
4004
4004
  /**
4005
4005
  * @license
4006
4006
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
@@ -4012,17 +4012,17 @@ xe("vaadin-text-field",Zo,{moduleId:"lumo-text-field-styles"});
4012
4012
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4013
4013
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4014
4014
  */
4015
- const Sm=e=>class extends(Is(e)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(e){this.__dataValue=e}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.value&&e.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),e.value=""),this.value&&(e.value=this.value))}_setFocused(e){super._setFocused(e),!e&&document.hasFocus()&&this.validate()}_onInput(e){super._onInput(e),this.invalid&&this.validate()}_valueChanged(e,t){super._valueChanged(e,t),void 0!==t&&this.invalid&&this.validate()}}
4015
+ const xm=e=>class extends(Is(e)){static get properties(){return{autocomplete:{type:String},autocorrect:{type:String},autocapitalize:{type:String,reflectToAttribute:!0}}}static get delegateAttrs(){return[...super.delegateAttrs,"autocapitalize","autocomplete","autocorrect"]}get __data(){return this.__dataValue||{}}set __data(e){this.__dataValue=e}_inputElementChanged(e){super._inputElementChanged(e),e&&(e.value&&e.value!==this.value&&(console.warn(`Please define value on the <${this.localName}> component!`),e.value=""),this.value&&(e.value=this.value))}_setFocused(e){super._setFocused(e),!e&&document.hasFocus()&&this.validate()}_onInput(e){super._onInput(e),this.invalid&&this.validate()}_valueChanged(e,t){super._valueChanged(e,t),void 0!==t&&this.invalid&&this.validate()}}
4016
4016
  /**
4017
4017
  * @license
4018
4018
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4019
4019
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4020
- */,Am=e=>class extends(Sm(e)){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Mo(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}))),this.addController(new Uo(this.inputElement,this._labelController))}}
4020
+ */,Sm=e=>class extends(xm(e)){static get properties(){return{maxlength:{type:Number},minlength:{type:Number},pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"maxlength","minlength","pattern"]}static get constraints(){return[...super.constraints,"maxlength","minlength","pattern"]}constructor(){super(),this._setType("text")}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Mo(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}))),this.addController(new Uo(this.inputElement,this._labelController))}}
4021
4021
  /**
4022
4022
  * @license
4023
4023
  * Copyright (c) 2017 - 2024 Vaadin Ltd.
4024
4024
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4025
- */;xe("vaadin-text-field",Cs,{moduleId:"vaadin-text-field-styles"});class Im extends(Am(Te(_r(Vi)))){static get is(){return"vaadin-text-field"}static get template(){return qi`
4025
+ */;xe("vaadin-text-field",Cs,{moduleId:"vaadin-text-field-styles"});class Am extends(Sm(Te(_r(Vi)))){static get is(){return"vaadin-text-field"}static get template(){return qi`
4026
4026
  <div class="vaadin-field-container">
4027
4027
  <div part="label">
4028
4028
  <slot name="label"></slot>
@@ -4051,7 +4051,7 @@ const Sm=e=>class extends(Is(e)){static get properties(){return{autocomplete:{ty
4051
4051
  </div>
4052
4052
  </div>
4053
4053
  <slot name="tooltip"></slot>
4054
- `}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new kr(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}l(Im),xe("vaadin-password-field-button",[Yo,_`
4054
+ `}static get properties(){return{maxlength:{type:Number},minlength:{type:Number}}}ready(){super.ready(),this._tooltipController=new kr(this),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this.addController(this._tooltipController)}}l(Am),xe("vaadin-password-field-button",[Yo,_`
4055
4055
  :host {
4056
4056
  position: absolute;
4057
4057
  right: 0;
@@ -4088,22 +4088,22 @@ const Sm=e=>class extends(Is(e)){static get properties(){return{autocomplete:{ty
4088
4088
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4089
4089
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4090
4090
  */
4091
- xe("vaadin-password-field-button",Gn,{moduleId:"vaadin-password-field-button-styles"});class Cm extends(Mn(ur(Te(Vi)))){static get is(){return"vaadin-password-field-button"}static get template(){return qi``}}l(Cm);
4091
+ xe("vaadin-password-field-button",Gn,{moduleId:"vaadin-password-field-button-styles"});class Im extends(Mn(ur(Te(Vi)))){static get is(){return"vaadin-password-field-button"}static get template(){return qi``}}l(Im);
4092
4092
  /**
4093
4093
  * @license
4094
4094
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4095
4095
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4096
4096
  */
4097
- const Tm=e=>class extends(xs(io(po(go(e))))){static get properties(){return{revealButtonHidden:{type:Boolean,observer:"_revealButtonHiddenChanged",value:!1},passwordVisible:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_passwordVisibleChanged",readOnly:!0},i18n:{type:Object,value:()=>({reveal:"Show password"})}}}static get observers(){return["__i18nChanged(i18n)"]}constructor(){super(),this._setType("password"),this.__boundRevealButtonClick=this._onRevealButtonClick.bind(this),this.__boundRevealButtonMouseDown=this._onRevealButtonMouseDown.bind(this),this.__lastChange=""}get slotStyles(){return[...super.slotStyles,`\n ${this.localName} [slot="input"]::-ms-reveal {\n display: none;\n }\n `]}get _revealNode(){return this._revealButtonController&&this._revealButtonController.node}ready(){super.ready(),this._revealPart=this.shadowRoot.querySelector('[part="reveal-button"]'),this._revealButtonController=new wr(this,"reveal","vaadin-password-field-button",{initializer:e=>{e.disabled=this.disabled,e.addEventListener("click",this.__boundRevealButtonClick),e.addEventListener("mousedown",this.__boundRevealButtonMouseDown)}}),this.addController(this._revealButtonController),this.__updateAriaLabel(this.i18n),this._updateToggleState(!1),this._toggleRevealHidden(this.revealButtonHidden),this.inputElement&&(this.inputElement.autocapitalize="off")}_onChange(e){super._onChange(e),this.__lastChange=this.inputElement.value}_shouldSetFocus(e){return e.target===this.inputElement||e.target===this._revealNode}_shouldRemoveFocus(e){return!(e.relatedTarget===this._revealNode||e.relatedTarget===this.inputElement&&e.target===this._revealNode)}_setFocused(e){if(super._setFocused(e),e){const e=this.getRootNode().activeElement===this._revealNode;this.toggleAttribute("focus-ring",this._keyboardActive&&!e)}else this._setPasswordVisible(!1),this.__lastChange!==this.inputElement.value&&(this.__lastChange=this.inputElement.value,this.dispatchEvent(new CustomEvent("change",{bubbles:!0})))}__updateAriaLabel(e){e&&e.reveal&&this._revealNode&&this._revealNode.setAttribute("aria-label",e.reveal)}__i18nChanged(e){this.__updateAriaLabel(e)}_revealButtonHiddenChanged(e){this._toggleRevealHidden(e)}_togglePasswordVisibility(){this._setPasswordVisible(!this.passwordVisible)}_onRevealButtonClick(){this._togglePasswordVisibility()}_onRevealButtonMouseDown(e){e.preventDefault(),this.inputElement.focus()}_toggleRevealHidden(e){this._revealNode&&(e?(this._revealPart.setAttribute("hidden",""),this._revealNode.setAttribute("tabindex","-1"),this._revealNode.setAttribute("aria-hidden","true")):(this._revealPart.removeAttribute("hidden"),this._revealNode.setAttribute("tabindex","0"),this._revealNode.removeAttribute("aria-hidden")))}_updateToggleState(e){this._revealNode&&this._revealNode.setAttribute("aria-pressed",e?"true":"false")}_passwordVisibleChanged(e){this._setType(e?"text":"password"),this._updateToggleState(e)}_disabledChanged(e,t){super._disabledChanged(e,t),this._revealNode&&(this._revealNode.disabled=e)}}
4097
+ const Cm=e=>class extends(xs(io(po(go(e))))){static get properties(){return{revealButtonHidden:{type:Boolean,observer:"_revealButtonHiddenChanged",value:!1},passwordVisible:{type:Boolean,value:!1,reflectToAttribute:!0,observer:"_passwordVisibleChanged",readOnly:!0},i18n:{type:Object,value:()=>({reveal:"Show password"})}}}static get observers(){return["__i18nChanged(i18n)"]}constructor(){super(),this._setType("password"),this.__boundRevealButtonClick=this._onRevealButtonClick.bind(this),this.__boundRevealButtonMouseDown=this._onRevealButtonMouseDown.bind(this),this.__lastChange=""}get slotStyles(){return[...super.slotStyles,`\n ${this.localName} [slot="input"]::-ms-reveal {\n display: none;\n }\n `]}get _revealNode(){return this._revealButtonController&&this._revealButtonController.node}ready(){super.ready(),this._revealPart=this.shadowRoot.querySelector('[part="reveal-button"]'),this._revealButtonController=new wr(this,"reveal","vaadin-password-field-button",{initializer:e=>{e.disabled=this.disabled,e.addEventListener("click",this.__boundRevealButtonClick),e.addEventListener("mousedown",this.__boundRevealButtonMouseDown)}}),this.addController(this._revealButtonController),this.__updateAriaLabel(this.i18n),this._updateToggleState(!1),this._toggleRevealHidden(this.revealButtonHidden),this.inputElement&&(this.inputElement.autocapitalize="off")}_onChange(e){super._onChange(e),this.__lastChange=this.inputElement.value}_shouldSetFocus(e){return e.target===this.inputElement||e.target===this._revealNode}_shouldRemoveFocus(e){return!(e.relatedTarget===this._revealNode||e.relatedTarget===this.inputElement&&e.target===this._revealNode)}_setFocused(e){if(super._setFocused(e),e){const e=this.getRootNode().activeElement===this._revealNode;this.toggleAttribute("focus-ring",this._keyboardActive&&!e)}else this._setPasswordVisible(!1),this.__lastChange!==this.inputElement.value&&(this.__lastChange=this.inputElement.value,this.dispatchEvent(new CustomEvent("change",{bubbles:!0})))}__updateAriaLabel(e){e&&e.reveal&&this._revealNode&&this._revealNode.setAttribute("aria-label",e.reveal)}__i18nChanged(e){this.__updateAriaLabel(e)}_revealButtonHiddenChanged(e){this._toggleRevealHidden(e)}_togglePasswordVisibility(){this._setPasswordVisible(!this.passwordVisible)}_onRevealButtonClick(){this._togglePasswordVisibility()}_onRevealButtonMouseDown(e){e.preventDefault(),this.inputElement.focus()}_toggleRevealHidden(e){this._revealNode&&(e?(this._revealPart.setAttribute("hidden",""),this._revealNode.setAttribute("tabindex","-1"),this._revealNode.setAttribute("aria-hidden","true")):(this._revealPart.removeAttribute("hidden"),this._revealNode.setAttribute("tabindex","0"),this._revealNode.removeAttribute("aria-hidden")))}_updateToggleState(e){this._revealNode&&this._revealNode.setAttribute("aria-pressed",e?"true":"false")}_passwordVisibleChanged(e){this._setType(e?"text":"password"),this._updateToggleState(e)}_disabledChanged(e,t){super._disabledChanged(e,t),this._revealNode&&(this._revealNode.disabled=e)}}
4098
4098
  /**
4099
4099
  * @license
4100
4100
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4101
4101
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4102
- */,Dm=qi`
4102
+ */,Tm=qi`
4103
4103
  <div part="reveal-button" slot="suffix">
4104
4104
  <slot name="reveal"></slot>
4105
4105
  </div>
4106
- `;let Rm;class Nm extends(Tm(Im)){static get is(){return"vaadin-password-field"}static get template(){if(!Rm){Rm=super.template.cloneNode(!0);const e=Dm.content.querySelector('[part="reveal-button"]');Rm.content.querySelector('[part="input-field"]').appendChild(e)}return Rm}}l(Nm);const Om=class{constructor(i){e(this,i),this.sendOriginalValidityState=t(this,"sendOriginalValidityState",7),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=e=>{this.value=e.target.value,this.calculateComplexity(this.value),this.showPopup=!0,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleRevealField=e=>{e.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=e=>{this.value=e.target.value,this.showPopup=!1,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage()},this.handleFocus=()=>{this.showPopup=!0,this.calculateComplexity(this.value)},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.passwordComplexity=void 0,this.showPopup=void 0,this.value=""}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}valueChanged(){this.isDuplicateInput||(this.calculateComplexity(this.value),this.sendOriginalValidityState.emit({name:this.name,valid:this.setValidity()}))}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"duplicate"})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}originalValidityChangedHandler(e){this.isDuplicateInput&&(e.detail.valid?(this.originalValid=!0,this.isValid=this.setValidity()):(this.originalValid=!1,this.isValid=!1,""!==this.value&&(this.errorMessage=this.setErrorMessage())))}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value,this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())),this.name===e.detail.name+"Duplicate"&&this.name.replace("Duplicate","")===e.detail.name&&!0===this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.passwordButton=this.element.shadowRoot.querySelector("vaadin-password-field-button"),this.passwordButton.tabIndex=-1,this.passwordButton.addEventListener("click",(e=>{this.handleRevealField(e)})),this.defaultValue&&(this.value=this.defaultValue,this.calculateComplexity(this.value),this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.duplicateInputValue=this.defaultValue,this.touched=!0)),this.isValid=this.setValidity()}disconnectedCallback(){this.passwordButton.removeEventListener("click",this.handleRevealField)}calculateComplexity(e){this.passwordComplexity=this.validation.custom.filter((e=>"regex"===e.rule)).map((t=>{const i=new RegExp(t.pattern).test(e);return{rule:t.displayName,ruleKey:t.errorKey,passed:i}}))}setValidity(){var e,t;return(!this.isDuplicateInput||this.duplicateInputValue===this.value)&&!!(null===(e=this.passwordComplexity)||void 0===e?void 0:e.every((e=>e.passed)))&&(null===(t=this.inputReference)||void 0===t?void 0:t.validity.valid)}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.isDuplicateInput&&!this.originalValid)return s("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"password__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}renderComplexityPopup(){const e=this.passwordComplexity.length,t=this.passwordComplexity.filter((e=>e.passed)).length/e,r=this.passwordComplexity.every((e=>e.passed));return i("div",{class:"password__complexity "+(this.showPopup?"":"password__complexity--hidden")},i("div",{class:"password__complexity--strength"},i("p",{class:"password__complexity--text"},s("passwordStrength",this.language)," ",i("span",{class:"password__complexity--text-bold"},s(r?"passwordStrengthStrong":"passwordStrengthWeak",this.language))),i("meter",{value:t,min:"0",max:"1"})),i("div",null,this.passwordComplexity.map(((e,t)=>i("div",{key:t},i("input",{class:"password__complexity--checkbox",type:"checkbox",checked:e.passed,disabled:!0}),i("span",null,s(`${e.ruleKey}`,this.language)?s(`${e.ruleKey}`,this.language):e.rule))))))}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"36d21c63dcd15b6de2d2de417ce97b520493cd16",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7",class:"password__wrapper--flex"},i("label",{key:"74fee343f4d6adbbb22e88c5d51d3a471979d42e",class:"password__label "+(this.validation.mandatory?"password__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"d1f30d776c5612b1a5581859b929bee171105bf5",class:"password__wrapper--relative"},this.tooltip&&i("img",{key:"932201990b5fa67f448d4ab8ca7f844f757d5e47",class:"password__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("vaadin-password-field",{key:"83f00cb4452b60fd883efcd742d6eb463a8fc729",type:"password",id:`${this.name}__input`,class:`password__input ${e}`,name:this.name,readOnly:this.autofilled,value:this.defaultValue,required:this.validation.mandatory,maxlength:this.validation.maxLength,minlength:this.validation.minLength,pattern:this.validationPattern,placeholder:`${this.placeholder}`,onInput:this.handleInput,onBlur:this.handleBlur,onFocus:this.handleFocus}),i("small",{key:"0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};Om.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}';const zm=class{constructor(i){e(this,i),this.sendInputValue=t(this,"sendInputValue",7),this.sendValidityState=t(this,"sendValidityState",7),this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.optionsGroup=void 0,this.validation=void 0,this.tooltip=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}validityStateHandler(e){this.sendValidityState.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}handleClick(e){this.value=e.target.value,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"radio__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("fieldset",{key:"29ff8fcc910622397750532629ac0c202c9726ba",class:`radio__fieldset ${this.name}__input`,ref:e=>this.stylingContainer=e},i("legend",{key:"cdab5b331863f3d31aab50c1d95b5a8845d53329",class:"radio__legend"},this.displayName,":"),this.optionsGroup.map((e=>i("div",{class:"radio__wrapper"},i("input",{type:"radio",class:"radio__input",id:`${e.label}__input`,ref:e=>this.inputReference=e,value:e.value,name:this.name,required:this.validation.mandatory,onClick:e=>this.handleClick(e)}),i("label",{htmlFor:`${e.label}__input`},e.label)))),i("small",{key:"bd6cd89510e7ace1348b391f3ce9ba334a03e695",class:"radio__error-message"},this.errorMessage),this.tooltip&&i("img",{key:"27036c51c89612dbb87e5248355d3a5466c49705",class:"radio__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};zm.style="*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.radio__tooltip-icon{position:absolute;right:0;bottom:10px}.radio__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.radio__tooltip.visible{opacity:1}";const Gm=_`
4106
+ `;let Dm;class Rm extends(Cm(Am)){static get is(){return"vaadin-password-field"}static get template(){if(!Dm){Dm=super.template.cloneNode(!0);const e=Tm.content.querySelector('[part="reveal-button"]');Dm.content.querySelector('[part="input-field"]').appendChild(e)}return Dm}}l(Rm);const Nm=class{constructor(i){e(this,i),this.sendOriginalValidityState=t(this,"sendOriginalValidityState",7),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.touched=!1,this.originalValid=!1,this.validationPattern="",this.duplicateInputValue=null,this.handleInput=e=>{this.value=e.target.value,this.calculateComplexity(this.value),this.showPopup=!0,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleRevealField=e=>{e.stopPropagation(),window.postMessage({type:`registrationShow${this.name}`},window.location.href)},this.handleBlur=e=>{this.value=e.target.value,this.showPopup=!1,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage()},this.handleFocus=()=>{this.showPopup=!0,this.calculateComplexity(this.value)},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.passwordComplexity=void 0,this.showPopup=void 0,this.value=""}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}valueChanged(){this.isDuplicateInput||(this.calculateComplexity(this.value),this.sendOriginalValidityState.emit({name:this.name,valid:this.setValidity()}))}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"duplicate"})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}originalValidityChangedHandler(e){this.isDuplicateInput&&(e.detail.valid?(this.originalValid=!0,this.isValid=this.setValidity()):(this.originalValid=!1,this.isValid=!1,""!==this.value&&(this.errorMessage=this.setErrorMessage())))}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value,this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())),this.name===e.detail.name+"Duplicate"&&this.name.replace("Duplicate","")===e.detail.name&&!0===this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.passwordButton=this.element.shadowRoot.querySelector("vaadin-password-field-button"),this.passwordButton.tabIndex=-1,this.passwordButton.addEventListener("click",(e=>{this.handleRevealField(e)})),this.defaultValue&&(this.value=this.defaultValue,this.calculateComplexity(this.value),this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.duplicateInputValue=this.defaultValue,this.touched=!0)),this.isValid=this.setValidity()}disconnectedCallback(){this.passwordButton.removeEventListener("click",this.handleRevealField)}calculateComplexity(e){this.passwordComplexity=this.validation.custom.filter((e=>"regex"===e.rule)).map((t=>{const i=new RegExp(t.pattern).test(e);return{rule:t.displayName,ruleKey:t.errorKey,passed:i}}))}setValidity(){var e,t;return(!this.isDuplicateInput||this.duplicateInputValue===this.value)&&!!(null===(e=this.passwordComplexity)||void 0===e?void 0:e.every((e=>e.passed)))&&(null===(t=this.inputReference)||void 0===t?void 0:t.validity.valid)}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.isDuplicateInput&&!this.originalValid)return s("invalidOriginalPasswordError",this.language);if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"password__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}renderComplexityPopup(){const e=this.passwordComplexity.length,t=this.passwordComplexity.filter((e=>e.passed)).length/e,r=this.passwordComplexity.every((e=>e.passed));return i("div",{class:"password__complexity "+(this.showPopup?"":"password__complexity--hidden")},i("div",{class:"password__complexity--strength"},i("p",{class:"password__complexity--text"},s("passwordStrength",this.language)," ",i("span",{class:"password__complexity--text-bold"},s(r?"passwordStrengthStrong":"passwordStrengthWeak",this.language))),i("meter",{value:t,min:"0",max:"1"})),i("div",null,this.passwordComplexity.map(((e,t)=>i("div",{key:t},i("input",{class:"password__complexity--checkbox",type:"checkbox",checked:e.passed,disabled:!0}),i("span",null,s(`${e.ruleKey}`,this.language)?s(`${e.ruleKey}`,this.language):e.rule))))))}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"36d21c63dcd15b6de2d2de417ce97b520493cd16",class:`password__wrapper ${this.autofilled?"password__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"3de600f4ccbf2ffe7a8a8858e9d5a483701dd4d7",class:"password__wrapper--flex"},i("label",{key:"74fee343f4d6adbbb22e88c5d51d3a471979d42e",class:"password__label "+(this.validation.mandatory?"password__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"d1f30d776c5612b1a5581859b929bee171105bf5",class:"password__wrapper--relative"},this.tooltip&&i("img",{key:"932201990b5fa67f448d4ab8ca7f844f757d5e47",class:"password__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("vaadin-password-field",{key:"83f00cb4452b60fd883efcd742d6eb463a8fc729",type:"password",id:`${this.name}__input`,class:`password__input ${e}`,name:this.name,readOnly:this.autofilled,value:this.defaultValue,required:this.validation.mandatory,maxlength:this.validation.maxLength,minlength:this.validation.minLength,pattern:this.validationPattern,placeholder:`${this.placeholder}`,onInput:this.handleInput,onBlur:this.handleBlur,onFocus:this.handleFocus}),i("small",{key:"0f6f7ba5e9ec6f492f22a46ac77c7977f7a8e835",class:"password__error-message"},this.errorMessage),this.passwordComplexity&&this.showPopup&&!this.isDuplicateInput&&this.renderComplexityPopup())}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}}};Nm.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.password{font-family:"Roboto";font-style:normal}.password__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.password__wrapper--autofilled{pointer-events:none}.password__wrapper--autofilled .password__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__wrapper--autofilled .password__input::part(input-field){color:var(--emw--color-black, #000000)}.password__wrapper--flex{display:flex;gap:5px}.password__wrapper--relative{position:relative}.password__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.password__input{width:inherit;border:none}.password__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.password__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);background-color:var(--emw--color-white, #FFFFFF);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;position:relative;margin-bottom:unset;height:44px;padding:0;width:100%}.password__input::part(reveal-button){position:relative;right:10px}.password__input::part(reveal-button)::before{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.password__input>input{padding:5px 15px}.password__input>input:placeholder-shown{color:var(--emw--color-gray-150, #828282)}.password__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.password__complexity{position:relative;padding:10px;display:flex;flex-direction:column;gap:20px;justify-content:center;margin-top:20px;font-weight:300;background:var(--emw--color-white, #FFFFFF);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;height:150px;border:1px solid #B0B0B0;}.password__complexity meter{border-color:transparent;}.password__complexity meter[value="1"]::-moz-meter-bar{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter[value="1"]::-webkit-meter-optimum-value{background-color:var(--emw--color-valid, #48952a)}.password__complexity meter:not([value="1"])::-moz-meter-bar{background-color:var(--emw--color-error, #FD2839)}.password__complexity meter:not([value="1"])::-webkit-meter-optimum-value{background-color:var(--emw--color-error, #FD2839)}.password__complexity--strength{display:flex;justify-content:space-evenly;align-items:center}.password__complexity--strength meter::-moz-meter-bar{background:#B0B0B0}.password__complexity--hidden{display:none}.password__complexity--text-bold{font-weight:500}.password__complexity--checkbox{margin-right:5px}.password__complexity:after{content:"";position:absolute;width:25px;height:25px;border-top:1px solid var(--emw--color-gray-150, #828282);border-right:0 solid var(--emw--color-gray-150, #828282);border-left:1px solid var(--emw--color-gray-150, #828282);border-bottom:0 solid var(--emw--color-gray-150, #828282);bottom:92%;left:50%;margin-left:-25px;transform:rotate(45deg);margin-top:-25px;background-color:var(--emw--color-white, #FFFFFF)}.password__tooltip-icon{width:16px;height:auto}.password__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-150, #828282);color:#2B2D3F;padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.password__tooltip.visible{opacity:1}';const Om=class{constructor(i){e(this,i),this.sendInputValue=t(this,"sendInputValue",7),this.sendValidityState=t(this,"sendValidityState",7),this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.optionsGroup=void 0,this.validation=void 0,this.tooltip=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}validityStateHandler(e){this.sendValidityState.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}handleClick(e){this.value=e.target.value,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"radio__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("fieldset",{key:"29ff8fcc910622397750532629ac0c202c9726ba",class:`radio__fieldset ${this.name}__input`,ref:e=>this.stylingContainer=e},i("legend",{key:"cdab5b331863f3d31aab50c1d95b5a8845d53329",class:"radio__legend"},this.displayName,":"),this.optionsGroup.map((e=>i("div",{class:"radio__wrapper"},i("input",{type:"radio",class:"radio__input",id:`${e.label}__input`,ref:e=>this.inputReference=e,value:e.value,name:this.name,required:this.validation.mandatory,onClick:e=>this.handleClick(e)}),i("label",{htmlFor:`${e.label}__input`},e.label)))),i("small",{key:"bd6cd89510e7ace1348b391f3ce9ba334a03e695",class:"radio__error-message"},this.errorMessage),this.tooltip&&i("img",{key:"27036c51c89612dbb87e5248355d3a5466c49705",class:"radio__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};Om.style="*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.radio__fieldset{border:none;position:relative}.radio__wrapper{display:flex;gap:5px}.radio__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.radio__tooltip-icon{position:absolute;right:0;bottom:10px}.radio__tooltip{position:absolute;bottom:35px;right:10px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.radio__tooltip.visible{opacity:1}";const zm=_`
4107
4107
  :host {
4108
4108
  display: flex;
4109
4109
  align-items: center;
@@ -4187,7 +4187,7 @@ const Tm=e=>class extends(xs(io(po(go(e))))){static get properties(){return{reve
4187
4187
  width: var(--lumo-icon-size-m);
4188
4188
  height: var(--lumo-icon-size-m);
4189
4189
  }
4190
- `;xe("vaadin-item",Gm,{moduleId:"lumo-item"}),xe("vaadin-combo-box-item",[Gm,_`
4190
+ `;xe("vaadin-item",zm,{moduleId:"lumo-item"}),xe("vaadin-combo-box-item",[zm,_`
4191
4191
  :host {
4192
4192
  transition: background-color 100ms;
4193
4193
  overflow: hidden;
@@ -4285,12 +4285,12 @@ const Tm=e=>class extends(xs(io(po(go(e))))){static get properties(){return{reve
4285
4285
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4286
4286
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4287
4287
  */
4288
- const Mm=e=>class extends e{static get properties(){return{index:{type:Number},item:{type:Object},label:{type:String},selected:{type:Boolean,value:!1,reflectToAttribute:!0},focused:{type:Boolean,value:!1,reflectToAttribute:!0},renderer:{type:Function}}}static get observers(){return["__rendererOrItemChanged(renderer, index, item, selected, focused)","__updateLabel(label, renderer)"]}static get observedAttributes(){return[...super.observedAttributes,"hidden"]}attributeChangedCallback(e,t,i){"hidden"===e&&null!==i?this.index=void 0:super.attributeChangedCallback(e,t,i)}connectedCallback(){super.connectedCallback(),this._owner=this.parentNode.owner;const e=this._owner.getAttribute("dir");e&&this.setAttribute("dir",e)}requestContentUpdate(){this.renderer&&!this.hidden&&this.renderer(this,this._owner,{index:this.index,item:this.item,focused:this.focused,selected:this.selected})}__rendererOrItemChanged(e,t,i){void 0!==i&&void 0!==t&&(this._oldRenderer!==e&&(this.innerHTML="",delete this._$litPart$),e&&(this._oldRenderer=e,this.requestContentUpdate()))}__updateLabel(e,t){t||(this.textContent=e)}}
4288
+ const Gm=e=>class extends e{static get properties(){return{index:{type:Number},item:{type:Object},label:{type:String},selected:{type:Boolean,value:!1,reflectToAttribute:!0},focused:{type:Boolean,value:!1,reflectToAttribute:!0},renderer:{type:Function}}}static get observers(){return["__rendererOrItemChanged(renderer, index, item, selected, focused)","__updateLabel(label, renderer)"]}static get observedAttributes(){return[...super.observedAttributes,"hidden"]}attributeChangedCallback(e,t,i){"hidden"===e&&null!==i?this.index=void 0:super.attributeChangedCallback(e,t,i)}connectedCallback(){super.connectedCallback(),this._owner=this.parentNode.owner;const e=this._owner.getAttribute("dir");e&&this.setAttribute("dir",e)}requestContentUpdate(){this.renderer&&!this.hidden&&this.renderer(this,this._owner,{index:this.index,item:this.item,focused:this.focused,selected:this.selected})}__rendererOrItemChanged(e,t,i){void 0!==i&&void 0!==t&&(this._oldRenderer!==e&&(this.innerHTML="",delete this._$litPart$),e&&(this._oldRenderer=e,this.requestContentUpdate()))}__updateLabel(e,t){t||(this.textContent=e)}}
4289
4289
  /**
4290
4290
  * @license
4291
4291
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4292
4292
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4293
- */;class Um extends(Mm(Te(ur(Vi)))){static get template(){return qi`
4293
+ */;class Mm extends(Gm(Te(ur(Vi)))){static get template(){return qi`
4294
4294
  <style>
4295
4295
  :host {
4296
4296
  display: block;
@@ -4304,13 +4304,13 @@ const Mm=e=>class extends e{static get properties(){return{index:{type:Number},i
4304
4304
  <div part="content">
4305
4305
  <slot></slot>
4306
4306
  </div>
4307
- `}static get is(){return"vaadin-combo-box-item"}}l(Um);
4307
+ `}static get is(){return"vaadin-combo-box-item"}}l(Mm);
4308
4308
  /**
4309
4309
  * @license
4310
4310
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4311
4311
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4312
4312
  */
4313
- const Bm=e=>class extends(Nn(e)){static get observers(){return["_setOverlayWidth(positionTarget, opened)"]}constructor(){super(),this.requiredVerticalSpace=200}connectedCallback(){super.connectedCallback();const e=this._comboBox,t=e&&e.getAttribute("dir");t&&this.setAttribute("dir",t)}_shouldCloseOnOutsideClick(e){const t=e.composedPath();return!t.includes(this.positionTarget)&&!t.includes(this)}_mouseDownListener(e){super._mouseDownListener(e),this._shouldCloseOnOutsideClick(e)&&!co(e.composedPath()[0])&&e.preventDefault()}_updateOverlayWidth(){const e=this.localName;this.style.setProperty(`--_${e}-default-width`,`${this.positionTarget.clientWidth}px`);const t=getComputedStyle(this._comboBox).getPropertyValue(`--${e}-width`);""===t?this.style.removeProperty(`--${e}-width`):this.style.setProperty(`--${e}-width`,t)}_setOverlayWidth(e,t){e&&t&&(this._updateOverlayWidth(),this._updatePosition())}}
4313
+ const Um=e=>class extends(Nn(e)){static get observers(){return["_setOverlayWidth(positionTarget, opened)"]}constructor(){super(),this.requiredVerticalSpace=200}connectedCallback(){super.connectedCallback();const e=this._comboBox,t=e&&e.getAttribute("dir");t&&this.setAttribute("dir",t)}_shouldCloseOnOutsideClick(e){const t=e.composedPath();return!t.includes(this.positionTarget)&&!t.includes(this)}_mouseDownListener(e){super._mouseDownListener(e),this._shouldCloseOnOutsideClick(e)&&!co(e.composedPath()[0])&&e.preventDefault()}_updateOverlayWidth(){const e=this.localName;this.style.setProperty(`--_${e}-default-width`,`${this.positionTarget.clientWidth}px`);const t=getComputedStyle(this._comboBox).getPropertyValue(`--${e}-width`);""===t?this.style.removeProperty(`--${e}-width`):this.style.setProperty(`--${e}-width`,t)}_setOverlayWidth(e,t){e&&t&&(this._updateOverlayWidth(),this._updatePosition())}}
4314
4314
  /**
4315
4315
  * @license
4316
4316
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
@@ -4325,7 +4325,7 @@ const Bm=e=>class extends(Nn(e)){static get observers(){return["_setOverlayWidth
4325
4325
  flex-direction: column;
4326
4326
  height: 100%;
4327
4327
  }
4328
- `],{moduleId:"vaadin-combo-box-overlay-styles"});class Pm extends(Bm(Cn(ur(Te(Vi))))){static get is(){return"vaadin-combo-box-overlay"}static get template(){return qi`
4328
+ `],{moduleId:"vaadin-combo-box-overlay-styles"});class Bm extends(Um(Cn(ur(Te(Vi))))){static get is(){return"vaadin-combo-box-overlay"}static get template(){return qi`
4329
4329
  <div id="backdrop" part="backdrop" hidden></div>
4330
4330
  <div part="overlay" id="overlay">
4331
4331
  <div part="loader"></div>
@@ -4337,7 +4337,7 @@ const Bm=e=>class extends(Nn(e)){static get observers(){return["_setOverlayWidth
4337
4337
  * Copyright (c) 2023 - 2024 Vaadin Ltd.
4338
4338
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4339
4339
  */
4340
- function Lm(e,t){return e.split(".").reduce(((e,t)=>e?e[t]:void 0),t)}
4340
+ function Pm(e,t){return e.split(".").reduce(((e,t)=>e?e[t]:void 0),t)}
4341
4341
  /**
4342
4342
  * @license
4343
4343
  * Copyright (c) 2016 The Polymer Project Authors. All rights reserved.
@@ -4346,12 +4346,12 @@ function Lm(e,t){return e.split(".").reduce(((e,t)=>e?e[t]:void 0),t)}
4346
4346
  * The complete set of contributors may be found at http://polymer.github.io/CONTRIBUTORS.txt
4347
4347
  * Code distributed by Google as part of the polymer project is also
4348
4348
  * subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
4349
- */l(Pm);const Fm=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u),jm=Fm&&Fm[1]>=8,qm={_ratio:.5,_scrollerPaddingTop:0,_scrollPosition:0,_physicalSize:0,_physicalAverage:0,_physicalAverageCount:0,_physicalTop:0,_virtualCount:0,_estScrollHeight:0,_scrollHeight:0,_viewportHeight:0,_viewportWidth:0,_physicalItems:null,_physicalSizes:null,_firstVisibleIndexVal:null,_lastVisibleIndexVal:null,_maxPages:2,_templateCost:0,get _physicalBottom(){return this._physicalTop+this._physicalSize},get _scrollBottom(){return this._scrollPosition+this._viewportHeight},get _virtualEnd(){return this._virtualStart+this._physicalCount-1},get _hiddenContentSize(){return this._physicalSize-this._viewportHeight},get _maxScrollTop(){return this._estScrollHeight-this._viewportHeight+this._scrollOffset},get _maxVirtualStart(){return Math.max(0,this._virtualCount-this._physicalCount)},get _virtualStart(){return this._virtualStartVal||0},set _virtualStart(e){e=this._clamp(e,0,this._maxVirtualStart),this._virtualStartVal=e},get _physicalStart(){return this._physicalStartVal||0},set _physicalStart(e){(e%=this._physicalCount)<0&&(e=this._physicalCount+e),this._physicalStartVal=e},get _physicalEnd(){return(this._physicalStart+this._physicalCount-1)%this._physicalCount},get _physicalCount(){return this._physicalCountVal||0},set _physicalCount(e){this._physicalCountVal=e},get _optPhysicalSize(){return 0===this._viewportHeight?1/0:this._viewportHeight*this._maxPages},get _isVisible(){return Boolean(this.offsetWidth||this.offsetHeight)},get firstVisibleIndex(){let e=this._firstVisibleIndexVal;if(null==e){let t=this._physicalTop+this._scrollOffset;e=this._iterateItems(((e,i)=>{if(t+=this._getPhysicalSizeIncrement(e),t>this._scrollPosition)return i}))||0,this._firstVisibleIndexVal=e}return e},get lastVisibleIndex(){let e=this._lastVisibleIndexVal;if(null==e){let t=this._physicalTop+this._scrollOffset;this._iterateItems(((i,r)=>{t<this._scrollBottom&&(e=r),t+=this._getPhysicalSizeIncrement(i)})),this._lastVisibleIndexVal=e}return e},get _scrollOffset(){return this._scrollerPaddingTop+this.scrollOffset},_scrollHandler(){const e=Math.max(0,Math.min(this._maxScrollTop,this._scrollTop));let t=e-this._scrollPosition;const i=t>=0;if(this._scrollPosition=e,this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,Math.abs(t)>this._physicalSize&&this._physicalSize>0){t-=this._scrollOffset;const e=Math.round(t/this._physicalAverage);this._virtualStart+=e,this._physicalStart+=e,this._physicalTop=Math.min(Math.floor(this._virtualStart)*this._physicalAverage,this._scrollPosition),this._update()}else if(this._physicalCount>0){const e=this._getReusables(i);i?(this._physicalTop=e.physicalTop,this._virtualStart+=e.indexes.length,this._physicalStart+=e.indexes.length):(this._virtualStart-=e.indexes.length,this._physicalStart-=e.indexes.length),this._update(e.indexes,i?null:e.indexes),this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,0),rr)}},_getReusables(e){let t,i,r;const o=[],n=this._hiddenContentSize*this._ratio,s=this._virtualStart,a=this._virtualEnd,l=this._physicalCount;let h=this._physicalTop+this._scrollOffset;const c=this._scrollPosition,d=this._scrollBottom;for(e?(t=this._physicalStart,i=c-h):(t=this._physicalEnd,i=this._physicalBottom+this._scrollOffset-d);r=this._getPhysicalSizeIncrement(t),i-=r,!(o.length>=l||i<=n);)if(e){if(a+o.length+1>=this._virtualCount)break;if(h+r>=c-this._scrollOffset)break;o.push(t),h+=r,t=(t+1)%l}else{if(s-o.length<=0)break;if(h+this._physicalSize-r<=d)break;o.push(t),h-=r,t=0===t?l-1:t-1}return{indexes:o,physicalTop:h-this._scrollOffset}},_update(e,t){if(!(e&&0===e.length||0===this._physicalCount)){if(this._assignModels(e),this._updateMetrics(e),t)for(;t.length;){const e=t.pop();this._physicalTop-=this._getPhysicalSizeIncrement(e)}this._positionItems(),this._updateScrollerSize()}},_isClientFull(){return 0!==this._scrollBottom&&this._physicalBottom-1>=this._scrollBottom&&this._physicalTop<=this._scrollPosition},_increasePoolIfNeeded(e){const t=this._clamp(this._physicalCount+e,3,this._virtualCount-this._virtualStart)-this._physicalCount;let i=Math.round(.5*this._physicalCount);if(!(t<0)){if(t>0){const e=window.performance.now();[].push.apply(this._physicalItems,this._createPool(t));for(let e=0;e<t;e++)this._physicalSizes.push(0);this._physicalCount+=t,this._physicalStart>this._physicalEnd&&this._isIndexRendered(this._focusedVirtualIndex)&&this._getPhysicalIndex(this._focusedVirtualIndex)<this._physicalEnd&&(this._physicalStart+=t),this._update(),this._templateCost=(window.performance.now()-e)/t,i=Math.round(.5*this._physicalCount)}this._virtualEnd>=this._virtualCount-1||0===i||(this._isClientFull()?this._physicalSize<this._optPhysicalSize&&this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,this._clamp(Math.round(50/this._templateCost),1,i)),ir):this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,i),rr))}},_render(){if(this.isAttached&&this._isVisible)if(0!==this._physicalCount){const e=this._getReusables(!0);this._physicalTop=e.physicalTop,this._virtualStart+=e.indexes.length,this._physicalStart+=e.indexes.length,this._update(e.indexes),this._update(),this._increasePoolIfNeeded(0)}else this._virtualCount>0&&(this.updateViewportBoundaries(),this._increasePoolIfNeeded(3))},_itemsChanged(e){"items"===e.path&&(this._virtualStart=0,this._physicalTop=0,this._virtualCount=this.items?this.items.length:0,this._physicalIndexForKey={},this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,this._physicalItems||(this._physicalItems=[]),this._physicalSizes||(this._physicalSizes=[]),this._physicalStart=0,this._scrollTop>this._scrollOffset&&this._resetScrollPosition(0),this._debounce("_render",this._render,tr))},_iterateItems(e,t){let i,r,o,n;if(2===arguments.length&&t){for(n=0;n<t.length;n++)if(i=t[n],r=this._computeVidx(i),null!=(o=e.call(this,i,r)))return o}else{for(i=this._physicalStart,r=this._virtualStart;i<this._physicalCount;i++,r++)if(null!=(o=e.call(this,i,r)))return o;for(i=0;i<this._physicalStart;i++,r++)if(null!=(o=e.call(this,i,r)))return o}},_computeVidx(e){return e>=this._physicalStart?this._virtualStart+(e-this._physicalStart):this._virtualStart+(this._physicalCount-this._physicalStart)+e},_positionItems(){this._adjustScrollPosition();let e=this._physicalTop;this._iterateItems((t=>{this.translate3d(0,`${e}px`,0,this._physicalItems[t]),e+=this._physicalSizes[t]}))},_getPhysicalSizeIncrement(e){return this._physicalSizes[e]},_adjustScrollPosition(){const e=0===this._virtualStart?this._physicalTop:Math.min(this._scrollPosition+this._physicalTop,0);if(0!==e){this._physicalTop-=e;const t=this._scrollPosition;!jm&&t>0&&this._resetScrollPosition(t-e)}},_resetScrollPosition(e){this.scrollTarget&&e>=0&&(this._scrollTop=e,this._scrollPosition=this._scrollTop)},_updateScrollerSize(e){const t=this._physicalBottom+Math.max(this._virtualCount-this._physicalCount-this._virtualStart,0)*this._physicalAverage;this._estScrollHeight=t,(e||0===this._scrollHeight||this._scrollPosition>=t-this._physicalSize||Math.abs(t-this._scrollHeight)>=this._viewportHeight)&&(this.$.items.style.height=`${t}px`,this._scrollHeight=t)},scrollToIndex(e){if("number"!=typeof e||e<0||e>this.items.length-1)return;if(lr(),0===this._physicalCount)return;e=this._clamp(e,0,this._virtualCount-1),(!this._isIndexRendered(e)||e>=this._maxVirtualStart)&&(this._virtualStart=e-1),this._assignModels(),this._updateMetrics(),this._physicalTop=this._virtualStart*this._physicalAverage;let t=this._physicalStart,i=this._virtualStart,r=0;const o=this._hiddenContentSize;for(;i<e&&r<=o;)r+=this._getPhysicalSizeIncrement(t),t=(t+1)%this._physicalCount,i+=1;this._updateScrollerSize(!0),this._positionItems(),this._resetScrollPosition(this._physicalTop+this._scrollOffset+r),this._increasePoolIfNeeded(0),this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null},_resetAverage(){this._physicalAverage=0,this._physicalAverageCount=0},_resizeHandler(){this._debounce("_render",(()=>{this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,this._isVisible?(this.updateViewportBoundaries(),this.toggleScrollListener(!0),this._resetAverage(),this._render()):this.toggleScrollListener(!1)}),tr)},_isIndexRendered(e){return e>=this._virtualStart&&e<=this._virtualEnd},_getPhysicalIndex(e){return(this._physicalStart+(e-this._virtualStart))%this._physicalCount},_clamp:(e,t,i)=>Math.min(i,Math.max(t,e)),_debounce(e,t,i){this._debouncers||(this._debouncers={}),this._debouncers[e]=nr.debounce(this._debouncers[e],i,t.bind(this)),sr(this._debouncers[e])}},Hm=1e3;class Vm{constructor({createElements:e,updateElement:t,scrollTarget:i,scrollContainer:r,elementsContainer:o,reorderElements:n}){this.isAttached=!0,this._vidxOffset=0,this.createElements=e,this.updateElement=t,this.scrollTarget=i,this.scrollContainer=r,this.elementsContainer=o||r,this.reorderElements=n,this._maxPages=1.3,this.__placeholderHeight=200,this.__elementHeightQueue=Array(10),this.timeouts={SCROLL_REORDER:500,IGNORE_WHEEL:500,FIX_INVALID_ITEM_POSITIONING:100},this.__resizeObserver=new ResizeObserver((()=>this._resizeHandler())),"visible"===getComputedStyle(this.scrollTarget).overflow&&(this.scrollTarget.style.overflow="auto"),"static"===getComputedStyle(this.scrollContainer).position&&(this.scrollContainer.style.position="relative"),this.__resizeObserver.observe(this.scrollTarget),this.scrollTarget.addEventListener("scroll",(()=>this._scrollHandler())),new ResizeObserver((([{contentRect:e}])=>{const t=0===e.width&&0===e.height;!t&&this.__scrollTargetHidden&&this.scrollTarget.scrollTop!==this._scrollPosition&&(this.scrollTarget.scrollTop=this._scrollPosition),this.__scrollTargetHidden=t})).observe(this.scrollTarget),this._scrollLineHeight=this._getScrollLineHeight(),this.scrollTarget.addEventListener("wheel",(e=>this.__onWheel(e))),this.scrollTarget.addEventListener("virtualizer-element-focused",(e=>this.__onElementFocused(e))),this.elementsContainer.addEventListener("focusin",(()=>{this.scrollTarget.dispatchEvent(new CustomEvent("virtualizer-element-focused",{detail:{element:this.__getFocusedElement()}}))})),this.reorderElements&&(this.scrollTarget.addEventListener("mousedown",(()=>{this.__mouseDown=!0})),this.scrollTarget.addEventListener("mouseup",(()=>{this.__mouseDown=!1,this.__pendingReorder&&this.__reorderElements()})))}get scrollOffset(){return 0}get adjustedFirstVisibleIndex(){return this.firstVisibleIndex+this._vidxOffset}get adjustedLastVisibleIndex(){return this.lastVisibleIndex+this._vidxOffset}get _maxVirtualIndexOffset(){return this.size-this._virtualCount}__hasPlaceholders(){return this.__getVisibleElements().some((e=>e.__virtualizerPlaceholder))}scrollToIndex(e){if("number"!=typeof e||isNaN(e)||0===this.size||!this.scrollTarget.offsetHeight)return;delete this.__pendingScrollToIndex,this._physicalCount<=3&&this.flush(),e=this._clamp(e,0,this.size-1);const t=this.__getVisibleElements().length;let i=Math.floor(e/this.size*this._virtualCount);this._virtualCount-i<t?(i=this._virtualCount-(this.size-e),this._vidxOffset=this._maxVirtualIndexOffset):i<t?e<Hm?(i=e,this._vidxOffset=0):(i=Hm,this._vidxOffset=e-i):this._vidxOffset=e-i,this.__skipNextVirtualIndexAdjust=!0,super.scrollToIndex(i),this.adjustedFirstVisibleIndex!==e&&this._scrollTop<this._maxScrollTop&&!this.grid&&(this._scrollTop-=this.__getIndexScrollOffset(e)||0),this._scrollHandler(),this.__hasPlaceholders()&&(this.__pendingScrollToIndex=e)}flush(){0!==this.scrollTarget.offsetHeight&&(this._resizeHandler(),lr(),this._scrollHandler(),this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.flush(),this.__scrollReorderDebouncer&&this.__scrollReorderDebouncer.flush(),this.__debouncerWheelAnimationFrame&&this.__debouncerWheelAnimationFrame.flush())}update(e=0,t=this.size-1){const i=[];this.__getVisibleElements().forEach((r=>{r.__virtualIndex>=e&&r.__virtualIndex<=t&&(this.__updateElement(r,r.__virtualIndex,!0),i.push(r))})),this.__afterElementsUpdated(i)}_updateMetrics(e){lr();let t=0,i=0;const r=this._physicalAverageCount,o=this._physicalAverage;this._iterateItems((e=>{i+=this._physicalSizes[e],this._physicalSizes[e]=Math.ceil(this.__getBorderBoxHeight(this._physicalItems[e])),t+=this._physicalSizes[e],this._physicalAverageCount+=this._physicalSizes[e]?1:0}),e),this._physicalSize=this._physicalSize+t-i,this._physicalAverageCount!==r&&(this._physicalAverage=Math.round((o*r+t)/this._physicalAverageCount))}__getBorderBoxHeight(e){const t=getComputedStyle(e),i=parseFloat(t.height)||0;return"border-box"===t.boxSizing?i:i+(parseFloat(t.paddingBottom)||0)+(parseFloat(t.paddingTop)||0)+(parseFloat(t.borderBottomWidth)||0)+(parseFloat(t.borderTopWidth)||0)}__updateElement(e,t,i){e.__virtualizerPlaceholder&&(e.style.paddingTop="",e.style.opacity="",e.__virtualizerPlaceholder=!1),this.__preventElementUpdates||e.__lastUpdatedIndex===t&&!i||(this.updateElement(e,t),e.__lastUpdatedIndex=t)}__afterElementsUpdated(e){e.forEach((e=>{const t=e.offsetHeight;if(0===t)e.style.paddingTop=`${this.__placeholderHeight}px`,e.style.opacity="0",e.__virtualizerPlaceholder=!0,this.__placeholderClearDebouncer=nr.debounce(this.__placeholderClearDebouncer,tr,(()=>this._resizeHandler()));else{this.__elementHeightQueue.push(t),this.__elementHeightQueue.shift();const e=this.__elementHeightQueue.filter((e=>void 0!==e));this.__placeholderHeight=Math.round(e.reduce(((e,t)=>e+t),0)/e.length)}})),void 0===this.__pendingScrollToIndex||this.__hasPlaceholders()||this.scrollToIndex(this.__pendingScrollToIndex)}__getIndexScrollOffset(e){const t=this.__getVisibleElements().find((t=>t.__virtualIndex===e));return t?this.scrollTarget.getBoundingClientRect().top-t.getBoundingClientRect().top:void 0}get size(){return this.__size}set size(e){if(e===this.size)return;let t,i;if(this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.cancel(),this._debouncers&&this._debouncers._increasePoolIfNeeded&&this._debouncers._increasePoolIfNeeded.cancel(),this.__preventElementUpdates=!0,e>0&&(t=this.adjustedFirstVisibleIndex,i=this.__getIndexScrollOffset(t)),this.__size=e,this._itemsChanged({path:"items"}),lr(),e>0){t=Math.min(t,e-1),this.scrollToIndex(t);const r=this.__getIndexScrollOffset(t);void 0!==i&&void 0!==r&&(this._scrollTop+=i-r)}this.__preventElementUpdates=!1,this._isVisible||this._assignModels(),this.elementsContainer.children.length||requestAnimationFrame((()=>this._resizeHandler())),this._resizeHandler(),lr(),this._debounce("_update",this._update,rr)}get _scrollTop(){return this.scrollTarget.scrollTop}set _scrollTop(e){this.scrollTarget.scrollTop=e}get items(){return{length:Math.min(this.size,1e5)}}get offsetHeight(){return this.scrollTarget.offsetHeight}get $(){return{items:this.scrollContainer}}updateViewportBoundaries(){const e=window.getComputedStyle(this.scrollTarget);this._scrollerPaddingTop=this.scrollTarget===this?0:parseInt(e["padding-top"],10),this._isRTL=Boolean("rtl"===e.direction),this._viewportWidth=this.elementsContainer.offsetWidth,this._viewportHeight=this.scrollTarget.offsetHeight,this._scrollPageHeight=this._viewportHeight-this._scrollLineHeight,this.grid&&this._updateGridMetrics()}setAttribute(){}_createPool(e){const t=this.createElements(e),i=document.createDocumentFragment();return t.forEach((e=>{e.style.position="absolute",i.appendChild(e),this.__resizeObserver.observe(e)})),this.elementsContainer.appendChild(i),t}_assignModels(e){const t=[];this._iterateItems(((e,i)=>{const r=this._physicalItems[e];r.hidden=i>=this.size,r.hidden?delete r.__lastUpdatedIndex:(r.__virtualIndex=i+(this._vidxOffset||0),this.__updateElement(r,r.__virtualIndex),t.push(r))}),e),this.__afterElementsUpdated(t)}_isClientFull(){return setTimeout((()=>{this.__clientFull=!0})),this.__clientFull||super._isClientFull()}translate3d(e,t,i,r){r.style.transform=`translateY(${t})`}toggleScrollListener(){}__getFocusedElement(e=this.__getVisibleElements()){return e.find((e=>e.contains(this.elementsContainer.getRootNode().activeElement)||e.contains(this.scrollTarget.getRootNode().activeElement)))}__nextFocusableSiblingMissing(e,t){return t.indexOf(e)===t.length-1&&this.size>e.__virtualIndex+1}__previousFocusableSiblingMissing(e,t){return 0===t.indexOf(e)&&e.__virtualIndex>0}__onElementFocused(e){if(!this.reorderElements)return;const t=e.detail.element;if(!t)return;const i=this.__getVisibleElements();(this.__previousFocusableSiblingMissing(t,i)||this.__nextFocusableSiblingMissing(t,i))&&this.flush();const r=this.__getVisibleElements();this.__nextFocusableSiblingMissing(t,r)?(this._scrollTop+=Math.ceil(t.getBoundingClientRect().bottom)-Math.floor(this.scrollTarget.getBoundingClientRect().bottom-1),this.flush()):this.__previousFocusableSiblingMissing(t,r)&&(this._scrollTop-=Math.ceil(this.scrollTarget.getBoundingClientRect().top+1)-Math.floor(t.getBoundingClientRect().top),this.flush())}_scrollHandler(){if(0===this.scrollTarget.offsetHeight)return;this._adjustVirtualIndexOffset(this._scrollTop-(this.__previousScrollTop||0));const e=this.scrollTarget.scrollTop-this._scrollPosition;if(super._scrollHandler(),0!==this._physicalCount){const t=e>=0,i=this._getReusables(!t);i.indexes.length&&(this._physicalTop=i.physicalTop,t?(this._virtualStart-=i.indexes.length,this._physicalStart-=i.indexes.length):(this._virtualStart+=i.indexes.length,this._physicalStart+=i.indexes.length),this._resizeHandler())}e&&(this.__fixInvalidItemPositioningDebouncer=nr.debounce(this.__fixInvalidItemPositioningDebouncer,er.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING),(()=>this.__fixInvalidItemPositioning()))),this.reorderElements&&(this.__scrollReorderDebouncer=nr.debounce(this.__scrollReorderDebouncer,er.after(this.timeouts.SCROLL_REORDER),(()=>this.__reorderElements()))),this.__previousScrollTop=this._scrollTop,0===this._scrollTop&&0!==this.firstVisibleIndex&&Math.abs(e)>0&&this.scrollToIndex(0)}__fixInvalidItemPositioning(){if(!this.scrollTarget.isConnected)return;const e=this._physicalBottom<this._scrollBottom;if(this._physicalTop>this._scrollTop&&0!==this.adjustedFirstVisibleIndex||e&&this.adjustedLastVisibleIndex!==this.size-1){const t=e,i=this._ratio;this._ratio=0,this._scrollPosition=this._scrollTop+(t?-1:1),this._scrollHandler(),this._ratio=i}}__onWheel(e){if(e.ctrlKey||this._hasScrolledAncestor(e.target,e.deltaX,e.deltaY))return;let t=e.deltaY;if(e.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._scrollLineHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._scrollPageHeight),this._deltaYAcc||(this._deltaYAcc=0),this._wheelAnimationFrame)return this._deltaYAcc+=t,void e.preventDefault();t+=this._deltaYAcc,this._deltaYAcc=0,this._wheelAnimationFrame=!0,this.__debouncerWheelAnimationFrame=nr.debounce(this.__debouncerWheelAnimationFrame,tr,(()=>{this._wheelAnimationFrame=!1}));const i=Math.abs(e.deltaX)+Math.abs(t);this._canScroll(this.scrollTarget,e.deltaX,t)?(e.preventDefault(),this.scrollTarget.scrollTop+=t,this.scrollTarget.scrollLeft+=e.deltaX,this._hasResidualMomentum=!0,this._ignoreNewWheel=!0,this._debouncerIgnoreNewWheel=nr.debounce(this._debouncerIgnoreNewWheel,er.after(this.timeouts.IGNORE_WHEEL),(()=>{this._ignoreNewWheel=!1}))):this._hasResidualMomentum&&i<=this._previousMomentum||this._ignoreNewWheel?e.preventDefault():i>this._previousMomentum&&(this._hasResidualMomentum=!1),this._previousMomentum=i}_hasScrolledAncestor(e,t,i){return e!==this.scrollTarget&&e!==this.scrollTarget.getRootNode().host&&(!(!this._canScroll(e,t,i)||-1===["auto","scroll"].indexOf(getComputedStyle(e).overflow))||(e!==this&&e.parentElement?this._hasScrolledAncestor(e.parentElement,t,i):void 0))}_canScroll(e,t,i){return i>0&&e.scrollTop<e.scrollHeight-e.offsetHeight||i<0&&e.scrollTop>0||t>0&&e.scrollLeft<e.scrollWidth-e.offsetWidth||t<0&&e.scrollLeft>0}_increasePoolIfNeeded(e){if(this._physicalCount>2&&e){const t=Math.ceil(this._optPhysicalSize/this._physicalAverage);super._increasePoolIfNeeded(Math.max(e,Math.min(100,t-this._physicalCount)))}else super._increasePoolIfNeeded(e)}get _optPhysicalSize(){const e=super._optPhysicalSize;return e<=0||this.__hasPlaceholders()?e:e+this.__getItemHeightBuffer()}__getItemHeightBuffer(){if(0===this._physicalCount)return 0;const e=Math.ceil(this._viewportHeight*(this._maxPages-1)/2),t=Math.max(...this._physicalSizes);return t>Math.min(...this._physicalSizes)?Math.max(0,t-e):0}_getScrollLineHeight(){const e=document.createElement("div");e.style.fontSize="initial",e.style.display="none",document.body.appendChild(e);const t=window.getComputedStyle(e).fontSize;return document.body.removeChild(e),t?window.parseInt(t):void 0}__getVisibleElements(){return Array.from(this.elementsContainer.children).filter((e=>!e.hidden))}__reorderElements(){if(this.__mouseDown)return void(this.__pendingReorder=!0);this.__pendingReorder=!1;const e=this._virtualStart+(this._vidxOffset||0),t=this.__getVisibleElements(),i=this.__getFocusedElement(t)||t[0];if(!i)return;const r=i.__virtualIndex-e,o=t.indexOf(i)-r;if(o>0)for(let e=0;e<o;e++)this.elementsContainer.appendChild(t[e]);else if(o<0)for(let e=t.length+o;e<t.length;e++)this.elementsContainer.insertBefore(t[e],t[0]);if(dn){const{transform:e}=this.scrollTarget.style;this.scrollTarget.style.transform="translateZ(0)",setTimeout((()=>{this.scrollTarget.style.transform=e}))}}_adjustVirtualIndexOffset(e){const t=this._maxVirtualIndexOffset;if(this._virtualCount>=this.size)this._vidxOffset=0;else if(this.__skipNextVirtualIndexAdjust)this.__skipNextVirtualIndexAdjust=!1;else if(Math.abs(e)>1e4)this._vidxOffset=Math.round(this._scrollTop/(this.scrollTarget.scrollHeight-this.scrollTarget.clientHeight)*t);else{const e=this._vidxOffset,i=Hm,r=100;0===this._scrollTop?(this._vidxOffset=0,e!==this._vidxOffset&&super.scrollToIndex(0)):this.firstVisibleIndex<i&&this._vidxOffset>0&&(this._vidxOffset-=Math.min(this._vidxOffset,r),super.scrollToIndex(this.firstVisibleIndex+(e-this._vidxOffset))),this._scrollTop>=this._maxScrollTop&&this._maxScrollTop>0?(this._vidxOffset=t,e!==this._vidxOffset&&super.scrollToIndex(this._virtualCount-1)):this.firstVisibleIndex>this._virtualCount-i&&this._vidxOffset<t&&(this._vidxOffset+=Math.min(t-this._vidxOffset,r),super.scrollToIndex(this.firstVisibleIndex-(this._vidxOffset-e)))}}}Object.setPrototypeOf(Vm.prototype,qm);class $m{constructor(e){this.__adapter=new Vm(e)}get firstVisibleIndex(){return this.__adapter.adjustedFirstVisibleIndex}get lastVisibleIndex(){return this.__adapter.adjustedLastVisibleIndex}get size(){return this.__adapter.size}set size(e){this.__adapter.size=e}scrollToIndex(e){this.__adapter.scrollToIndex(e)}update(e=0,t=this.size-1){this.__adapter.update(e,t)}flush(){this.__adapter.flush()}}
4349
+ */l(Bm);const Lm=navigator.userAgent.match(/iP(?:hone|ad;(?: U;)? CPU) OS (\d+)/u),Fm=Lm&&Lm[1]>=8,jm={_ratio:.5,_scrollerPaddingTop:0,_scrollPosition:0,_physicalSize:0,_physicalAverage:0,_physicalAverageCount:0,_physicalTop:0,_virtualCount:0,_estScrollHeight:0,_scrollHeight:0,_viewportHeight:0,_viewportWidth:0,_physicalItems:null,_physicalSizes:null,_firstVisibleIndexVal:null,_lastVisibleIndexVal:null,_maxPages:2,_templateCost:0,get _physicalBottom(){return this._physicalTop+this._physicalSize},get _scrollBottom(){return this._scrollPosition+this._viewportHeight},get _virtualEnd(){return this._virtualStart+this._physicalCount-1},get _hiddenContentSize(){return this._physicalSize-this._viewportHeight},get _maxScrollTop(){return this._estScrollHeight-this._viewportHeight+this._scrollOffset},get _maxVirtualStart(){return Math.max(0,this._virtualCount-this._physicalCount)},get _virtualStart(){return this._virtualStartVal||0},set _virtualStart(e){e=this._clamp(e,0,this._maxVirtualStart),this._virtualStartVal=e},get _physicalStart(){return this._physicalStartVal||0},set _physicalStart(e){(e%=this._physicalCount)<0&&(e=this._physicalCount+e),this._physicalStartVal=e},get _physicalEnd(){return(this._physicalStart+this._physicalCount-1)%this._physicalCount},get _physicalCount(){return this._physicalCountVal||0},set _physicalCount(e){this._physicalCountVal=e},get _optPhysicalSize(){return 0===this._viewportHeight?1/0:this._viewportHeight*this._maxPages},get _isVisible(){return Boolean(this.offsetWidth||this.offsetHeight)},get firstVisibleIndex(){let e=this._firstVisibleIndexVal;if(null==e){let t=this._physicalTop+this._scrollOffset;e=this._iterateItems(((e,i)=>{if(t+=this._getPhysicalSizeIncrement(e),t>this._scrollPosition)return i}))||0,this._firstVisibleIndexVal=e}return e},get lastVisibleIndex(){let e=this._lastVisibleIndexVal;if(null==e){let t=this._physicalTop+this._scrollOffset;this._iterateItems(((i,r)=>{t<this._scrollBottom&&(e=r),t+=this._getPhysicalSizeIncrement(i)})),this._lastVisibleIndexVal=e}return e},get _scrollOffset(){return this._scrollerPaddingTop+this.scrollOffset},_scrollHandler(){const e=Math.max(0,Math.min(this._maxScrollTop,this._scrollTop));let t=e-this._scrollPosition;const i=t>=0;if(this._scrollPosition=e,this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,Math.abs(t)>this._physicalSize&&this._physicalSize>0){t-=this._scrollOffset;const e=Math.round(t/this._physicalAverage);this._virtualStart+=e,this._physicalStart+=e,this._physicalTop=Math.min(Math.floor(this._virtualStart)*this._physicalAverage,this._scrollPosition),this._update()}else if(this._physicalCount>0){const e=this._getReusables(i);i?(this._physicalTop=e.physicalTop,this._virtualStart+=e.indexes.length,this._physicalStart+=e.indexes.length):(this._virtualStart-=e.indexes.length,this._physicalStart-=e.indexes.length),this._update(e.indexes,i?null:e.indexes),this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,0),rr)}},_getReusables(e){let t,i,r;const o=[],n=this._hiddenContentSize*this._ratio,s=this._virtualStart,a=this._virtualEnd,l=this._physicalCount;let h=this._physicalTop+this._scrollOffset;const c=this._scrollPosition,d=this._scrollBottom;for(e?(t=this._physicalStart,i=c-h):(t=this._physicalEnd,i=this._physicalBottom+this._scrollOffset-d);r=this._getPhysicalSizeIncrement(t),i-=r,!(o.length>=l||i<=n);)if(e){if(a+o.length+1>=this._virtualCount)break;if(h+r>=c-this._scrollOffset)break;o.push(t),h+=r,t=(t+1)%l}else{if(s-o.length<=0)break;if(h+this._physicalSize-r<=d)break;o.push(t),h-=r,t=0===t?l-1:t-1}return{indexes:o,physicalTop:h-this._scrollOffset}},_update(e,t){if(!(e&&0===e.length||0===this._physicalCount)){if(this._assignModels(e),this._updateMetrics(e),t)for(;t.length;){const e=t.pop();this._physicalTop-=this._getPhysicalSizeIncrement(e)}this._positionItems(),this._updateScrollerSize()}},_isClientFull(){return 0!==this._scrollBottom&&this._physicalBottom-1>=this._scrollBottom&&this._physicalTop<=this._scrollPosition},_increasePoolIfNeeded(e){const t=this._clamp(this._physicalCount+e,3,this._virtualCount-this._virtualStart)-this._physicalCount;let i=Math.round(.5*this._physicalCount);if(!(t<0)){if(t>0){const e=window.performance.now();[].push.apply(this._physicalItems,this._createPool(t));for(let e=0;e<t;e++)this._physicalSizes.push(0);this._physicalCount+=t,this._physicalStart>this._physicalEnd&&this._isIndexRendered(this._focusedVirtualIndex)&&this._getPhysicalIndex(this._focusedVirtualIndex)<this._physicalEnd&&(this._physicalStart+=t),this._update(),this._templateCost=(window.performance.now()-e)/t,i=Math.round(.5*this._physicalCount)}this._virtualEnd>=this._virtualCount-1||0===i||(this._isClientFull()?this._physicalSize<this._optPhysicalSize&&this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,this._clamp(Math.round(50/this._templateCost),1,i)),ir):this._debounce("_increasePoolIfNeeded",this._increasePoolIfNeeded.bind(this,i),rr))}},_render(){if(this.isAttached&&this._isVisible)if(0!==this._physicalCount){const e=this._getReusables(!0);this._physicalTop=e.physicalTop,this._virtualStart+=e.indexes.length,this._physicalStart+=e.indexes.length,this._update(e.indexes),this._update(),this._increasePoolIfNeeded(0)}else this._virtualCount>0&&(this.updateViewportBoundaries(),this._increasePoolIfNeeded(3))},_itemsChanged(e){"items"===e.path&&(this._virtualStart=0,this._physicalTop=0,this._virtualCount=this.items?this.items.length:0,this._physicalIndexForKey={},this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,this._physicalItems||(this._physicalItems=[]),this._physicalSizes||(this._physicalSizes=[]),this._physicalStart=0,this._scrollTop>this._scrollOffset&&this._resetScrollPosition(0),this._debounce("_render",this._render,tr))},_iterateItems(e,t){let i,r,o,n;if(2===arguments.length&&t){for(n=0;n<t.length;n++)if(i=t[n],r=this._computeVidx(i),null!=(o=e.call(this,i,r)))return o}else{for(i=this._physicalStart,r=this._virtualStart;i<this._physicalCount;i++,r++)if(null!=(o=e.call(this,i,r)))return o;for(i=0;i<this._physicalStart;i++,r++)if(null!=(o=e.call(this,i,r)))return o}},_computeVidx(e){return e>=this._physicalStart?this._virtualStart+(e-this._physicalStart):this._virtualStart+(this._physicalCount-this._physicalStart)+e},_positionItems(){this._adjustScrollPosition();let e=this._physicalTop;this._iterateItems((t=>{this.translate3d(0,`${e}px`,0,this._physicalItems[t]),e+=this._physicalSizes[t]}))},_getPhysicalSizeIncrement(e){return this._physicalSizes[e]},_adjustScrollPosition(){const e=0===this._virtualStart?this._physicalTop:Math.min(this._scrollPosition+this._physicalTop,0);if(0!==e){this._physicalTop-=e;const t=this._scrollPosition;!Fm&&t>0&&this._resetScrollPosition(t-e)}},_resetScrollPosition(e){this.scrollTarget&&e>=0&&(this._scrollTop=e,this._scrollPosition=this._scrollTop)},_updateScrollerSize(e){const t=this._physicalBottom+Math.max(this._virtualCount-this._physicalCount-this._virtualStart,0)*this._physicalAverage;this._estScrollHeight=t,(e||0===this._scrollHeight||this._scrollPosition>=t-this._physicalSize||Math.abs(t-this._scrollHeight)>=this._viewportHeight)&&(this.$.items.style.height=`${t}px`,this._scrollHeight=t)},scrollToIndex(e){if("number"!=typeof e||e<0||e>this.items.length-1)return;if(lr(),0===this._physicalCount)return;e=this._clamp(e,0,this._virtualCount-1),(!this._isIndexRendered(e)||e>=this._maxVirtualStart)&&(this._virtualStart=e-1),this._assignModels(),this._updateMetrics(),this._physicalTop=this._virtualStart*this._physicalAverage;let t=this._physicalStart,i=this._virtualStart,r=0;const o=this._hiddenContentSize;for(;i<e&&r<=o;)r+=this._getPhysicalSizeIncrement(t),t=(t+1)%this._physicalCount,i+=1;this._updateScrollerSize(!0),this._positionItems(),this._resetScrollPosition(this._physicalTop+this._scrollOffset+r),this._increasePoolIfNeeded(0),this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null},_resetAverage(){this._physicalAverage=0,this._physicalAverageCount=0},_resizeHandler(){this._debounce("_render",(()=>{this._firstVisibleIndexVal=null,this._lastVisibleIndexVal=null,this._isVisible?(this.updateViewportBoundaries(),this.toggleScrollListener(!0),this._resetAverage(),this._render()):this.toggleScrollListener(!1)}),tr)},_isIndexRendered(e){return e>=this._virtualStart&&e<=this._virtualEnd},_getPhysicalIndex(e){return(this._physicalStart+(e-this._virtualStart))%this._physicalCount},_clamp:(e,t,i)=>Math.min(i,Math.max(t,e)),_debounce(e,t,i){this._debouncers||(this._debouncers={}),this._debouncers[e]=nr.debounce(this._debouncers[e],i,t.bind(this)),sr(this._debouncers[e])}},qm=1e3;class Hm{constructor({createElements:e,updateElement:t,scrollTarget:i,scrollContainer:r,elementsContainer:o,reorderElements:n}){this.isAttached=!0,this._vidxOffset=0,this.createElements=e,this.updateElement=t,this.scrollTarget=i,this.scrollContainer=r,this.elementsContainer=o||r,this.reorderElements=n,this._maxPages=1.3,this.__placeholderHeight=200,this.__elementHeightQueue=Array(10),this.timeouts={SCROLL_REORDER:500,IGNORE_WHEEL:500,FIX_INVALID_ITEM_POSITIONING:100},this.__resizeObserver=new ResizeObserver((()=>this._resizeHandler())),"visible"===getComputedStyle(this.scrollTarget).overflow&&(this.scrollTarget.style.overflow="auto"),"static"===getComputedStyle(this.scrollContainer).position&&(this.scrollContainer.style.position="relative"),this.__resizeObserver.observe(this.scrollTarget),this.scrollTarget.addEventListener("scroll",(()=>this._scrollHandler())),new ResizeObserver((([{contentRect:e}])=>{const t=0===e.width&&0===e.height;!t&&this.__scrollTargetHidden&&this.scrollTarget.scrollTop!==this._scrollPosition&&(this.scrollTarget.scrollTop=this._scrollPosition),this.__scrollTargetHidden=t})).observe(this.scrollTarget),this._scrollLineHeight=this._getScrollLineHeight(),this.scrollTarget.addEventListener("wheel",(e=>this.__onWheel(e))),this.scrollTarget.addEventListener("virtualizer-element-focused",(e=>this.__onElementFocused(e))),this.elementsContainer.addEventListener("focusin",(()=>{this.scrollTarget.dispatchEvent(new CustomEvent("virtualizer-element-focused",{detail:{element:this.__getFocusedElement()}}))})),this.reorderElements&&(this.scrollTarget.addEventListener("mousedown",(()=>{this.__mouseDown=!0})),this.scrollTarget.addEventListener("mouseup",(()=>{this.__mouseDown=!1,this.__pendingReorder&&this.__reorderElements()})))}get scrollOffset(){return 0}get adjustedFirstVisibleIndex(){return this.firstVisibleIndex+this._vidxOffset}get adjustedLastVisibleIndex(){return this.lastVisibleIndex+this._vidxOffset}get _maxVirtualIndexOffset(){return this.size-this._virtualCount}__hasPlaceholders(){return this.__getVisibleElements().some((e=>e.__virtualizerPlaceholder))}scrollToIndex(e){if("number"!=typeof e||isNaN(e)||0===this.size||!this.scrollTarget.offsetHeight)return;delete this.__pendingScrollToIndex,this._physicalCount<=3&&this.flush(),e=this._clamp(e,0,this.size-1);const t=this.__getVisibleElements().length;let i=Math.floor(e/this.size*this._virtualCount);this._virtualCount-i<t?(i=this._virtualCount-(this.size-e),this._vidxOffset=this._maxVirtualIndexOffset):i<t?e<qm?(i=e,this._vidxOffset=0):(i=qm,this._vidxOffset=e-i):this._vidxOffset=e-i,this.__skipNextVirtualIndexAdjust=!0,super.scrollToIndex(i),this.adjustedFirstVisibleIndex!==e&&this._scrollTop<this._maxScrollTop&&!this.grid&&(this._scrollTop-=this.__getIndexScrollOffset(e)||0),this._scrollHandler(),this.__hasPlaceholders()&&(this.__pendingScrollToIndex=e)}flush(){0!==this.scrollTarget.offsetHeight&&(this._resizeHandler(),lr(),this._scrollHandler(),this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.flush(),this.__scrollReorderDebouncer&&this.__scrollReorderDebouncer.flush(),this.__debouncerWheelAnimationFrame&&this.__debouncerWheelAnimationFrame.flush())}update(e=0,t=this.size-1){const i=[];this.__getVisibleElements().forEach((r=>{r.__virtualIndex>=e&&r.__virtualIndex<=t&&(this.__updateElement(r,r.__virtualIndex,!0),i.push(r))})),this.__afterElementsUpdated(i)}_updateMetrics(e){lr();let t=0,i=0;const r=this._physicalAverageCount,o=this._physicalAverage;this._iterateItems((e=>{i+=this._physicalSizes[e],this._physicalSizes[e]=Math.ceil(this.__getBorderBoxHeight(this._physicalItems[e])),t+=this._physicalSizes[e],this._physicalAverageCount+=this._physicalSizes[e]?1:0}),e),this._physicalSize=this._physicalSize+t-i,this._physicalAverageCount!==r&&(this._physicalAverage=Math.round((o*r+t)/this._physicalAverageCount))}__getBorderBoxHeight(e){const t=getComputedStyle(e),i=parseFloat(t.height)||0;return"border-box"===t.boxSizing?i:i+(parseFloat(t.paddingBottom)||0)+(parseFloat(t.paddingTop)||0)+(parseFloat(t.borderBottomWidth)||0)+(parseFloat(t.borderTopWidth)||0)}__updateElement(e,t,i){e.__virtualizerPlaceholder&&(e.style.paddingTop="",e.style.opacity="",e.__virtualizerPlaceholder=!1),this.__preventElementUpdates||e.__lastUpdatedIndex===t&&!i||(this.updateElement(e,t),e.__lastUpdatedIndex=t)}__afterElementsUpdated(e){e.forEach((e=>{const t=e.offsetHeight;if(0===t)e.style.paddingTop=`${this.__placeholderHeight}px`,e.style.opacity="0",e.__virtualizerPlaceholder=!0,this.__placeholderClearDebouncer=nr.debounce(this.__placeholderClearDebouncer,tr,(()=>this._resizeHandler()));else{this.__elementHeightQueue.push(t),this.__elementHeightQueue.shift();const e=this.__elementHeightQueue.filter((e=>void 0!==e));this.__placeholderHeight=Math.round(e.reduce(((e,t)=>e+t),0)/e.length)}})),void 0===this.__pendingScrollToIndex||this.__hasPlaceholders()||this.scrollToIndex(this.__pendingScrollToIndex)}__getIndexScrollOffset(e){const t=this.__getVisibleElements().find((t=>t.__virtualIndex===e));return t?this.scrollTarget.getBoundingClientRect().top-t.getBoundingClientRect().top:void 0}get size(){return this.__size}set size(e){if(e===this.size)return;let t,i;if(this.__fixInvalidItemPositioningDebouncer&&this.__fixInvalidItemPositioningDebouncer.cancel(),this._debouncers&&this._debouncers._increasePoolIfNeeded&&this._debouncers._increasePoolIfNeeded.cancel(),this.__preventElementUpdates=!0,e>0&&(t=this.adjustedFirstVisibleIndex,i=this.__getIndexScrollOffset(t)),this.__size=e,this._itemsChanged({path:"items"}),lr(),e>0){t=Math.min(t,e-1),this.scrollToIndex(t);const r=this.__getIndexScrollOffset(t);void 0!==i&&void 0!==r&&(this._scrollTop+=i-r)}this.__preventElementUpdates=!1,this._isVisible||this._assignModels(),this.elementsContainer.children.length||requestAnimationFrame((()=>this._resizeHandler())),this._resizeHandler(),lr(),this._debounce("_update",this._update,rr)}get _scrollTop(){return this.scrollTarget.scrollTop}set _scrollTop(e){this.scrollTarget.scrollTop=e}get items(){return{length:Math.min(this.size,1e5)}}get offsetHeight(){return this.scrollTarget.offsetHeight}get $(){return{items:this.scrollContainer}}updateViewportBoundaries(){const e=window.getComputedStyle(this.scrollTarget);this._scrollerPaddingTop=this.scrollTarget===this?0:parseInt(e["padding-top"],10),this._isRTL=Boolean("rtl"===e.direction),this._viewportWidth=this.elementsContainer.offsetWidth,this._viewportHeight=this.scrollTarget.offsetHeight,this._scrollPageHeight=this._viewportHeight-this._scrollLineHeight,this.grid&&this._updateGridMetrics()}setAttribute(){}_createPool(e){const t=this.createElements(e),i=document.createDocumentFragment();return t.forEach((e=>{e.style.position="absolute",i.appendChild(e),this.__resizeObserver.observe(e)})),this.elementsContainer.appendChild(i),t}_assignModels(e){const t=[];this._iterateItems(((e,i)=>{const r=this._physicalItems[e];r.hidden=i>=this.size,r.hidden?delete r.__lastUpdatedIndex:(r.__virtualIndex=i+(this._vidxOffset||0),this.__updateElement(r,r.__virtualIndex),t.push(r))}),e),this.__afterElementsUpdated(t)}_isClientFull(){return setTimeout((()=>{this.__clientFull=!0})),this.__clientFull||super._isClientFull()}translate3d(e,t,i,r){r.style.transform=`translateY(${t})`}toggleScrollListener(){}__getFocusedElement(e=this.__getVisibleElements()){return e.find((e=>e.contains(this.elementsContainer.getRootNode().activeElement)||e.contains(this.scrollTarget.getRootNode().activeElement)))}__nextFocusableSiblingMissing(e,t){return t.indexOf(e)===t.length-1&&this.size>e.__virtualIndex+1}__previousFocusableSiblingMissing(e,t){return 0===t.indexOf(e)&&e.__virtualIndex>0}__onElementFocused(e){if(!this.reorderElements)return;const t=e.detail.element;if(!t)return;const i=this.__getVisibleElements();(this.__previousFocusableSiblingMissing(t,i)||this.__nextFocusableSiblingMissing(t,i))&&this.flush();const r=this.__getVisibleElements();this.__nextFocusableSiblingMissing(t,r)?(this._scrollTop+=Math.ceil(t.getBoundingClientRect().bottom)-Math.floor(this.scrollTarget.getBoundingClientRect().bottom-1),this.flush()):this.__previousFocusableSiblingMissing(t,r)&&(this._scrollTop-=Math.ceil(this.scrollTarget.getBoundingClientRect().top+1)-Math.floor(t.getBoundingClientRect().top),this.flush())}_scrollHandler(){if(0===this.scrollTarget.offsetHeight)return;this._adjustVirtualIndexOffset(this._scrollTop-(this.__previousScrollTop||0));const e=this.scrollTarget.scrollTop-this._scrollPosition;if(super._scrollHandler(),0!==this._physicalCount){const t=e>=0,i=this._getReusables(!t);i.indexes.length&&(this._physicalTop=i.physicalTop,t?(this._virtualStart-=i.indexes.length,this._physicalStart-=i.indexes.length):(this._virtualStart+=i.indexes.length,this._physicalStart+=i.indexes.length),this._resizeHandler())}e&&(this.__fixInvalidItemPositioningDebouncer=nr.debounce(this.__fixInvalidItemPositioningDebouncer,er.after(this.timeouts.FIX_INVALID_ITEM_POSITIONING),(()=>this.__fixInvalidItemPositioning()))),this.reorderElements&&(this.__scrollReorderDebouncer=nr.debounce(this.__scrollReorderDebouncer,er.after(this.timeouts.SCROLL_REORDER),(()=>this.__reorderElements()))),this.__previousScrollTop=this._scrollTop,0===this._scrollTop&&0!==this.firstVisibleIndex&&Math.abs(e)>0&&this.scrollToIndex(0)}__fixInvalidItemPositioning(){if(!this.scrollTarget.isConnected)return;const e=this._physicalBottom<this._scrollBottom;if(this._physicalTop>this._scrollTop&&0!==this.adjustedFirstVisibleIndex||e&&this.adjustedLastVisibleIndex!==this.size-1){const t=e,i=this._ratio;this._ratio=0,this._scrollPosition=this._scrollTop+(t?-1:1),this._scrollHandler(),this._ratio=i}}__onWheel(e){if(e.ctrlKey||this._hasScrolledAncestor(e.target,e.deltaX,e.deltaY))return;let t=e.deltaY;if(e.deltaMode===WheelEvent.DOM_DELTA_LINE?t*=this._scrollLineHeight:e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(t*=this._scrollPageHeight),this._deltaYAcc||(this._deltaYAcc=0),this._wheelAnimationFrame)return this._deltaYAcc+=t,void e.preventDefault();t+=this._deltaYAcc,this._deltaYAcc=0,this._wheelAnimationFrame=!0,this.__debouncerWheelAnimationFrame=nr.debounce(this.__debouncerWheelAnimationFrame,tr,(()=>{this._wheelAnimationFrame=!1}));const i=Math.abs(e.deltaX)+Math.abs(t);this._canScroll(this.scrollTarget,e.deltaX,t)?(e.preventDefault(),this.scrollTarget.scrollTop+=t,this.scrollTarget.scrollLeft+=e.deltaX,this._hasResidualMomentum=!0,this._ignoreNewWheel=!0,this._debouncerIgnoreNewWheel=nr.debounce(this._debouncerIgnoreNewWheel,er.after(this.timeouts.IGNORE_WHEEL),(()=>{this._ignoreNewWheel=!1}))):this._hasResidualMomentum&&i<=this._previousMomentum||this._ignoreNewWheel?e.preventDefault():i>this._previousMomentum&&(this._hasResidualMomentum=!1),this._previousMomentum=i}_hasScrolledAncestor(e,t,i){return e!==this.scrollTarget&&e!==this.scrollTarget.getRootNode().host&&(!(!this._canScroll(e,t,i)||-1===["auto","scroll"].indexOf(getComputedStyle(e).overflow))||(e!==this&&e.parentElement?this._hasScrolledAncestor(e.parentElement,t,i):void 0))}_canScroll(e,t,i){return i>0&&e.scrollTop<e.scrollHeight-e.offsetHeight||i<0&&e.scrollTop>0||t>0&&e.scrollLeft<e.scrollWidth-e.offsetWidth||t<0&&e.scrollLeft>0}_increasePoolIfNeeded(e){if(this._physicalCount>2&&e){const t=Math.ceil(this._optPhysicalSize/this._physicalAverage);super._increasePoolIfNeeded(Math.max(e,Math.min(100,t-this._physicalCount)))}else super._increasePoolIfNeeded(e)}get _optPhysicalSize(){const e=super._optPhysicalSize;return e<=0||this.__hasPlaceholders()?e:e+this.__getItemHeightBuffer()}__getItemHeightBuffer(){if(0===this._physicalCount)return 0;const e=Math.ceil(this._viewportHeight*(this._maxPages-1)/2),t=Math.max(...this._physicalSizes);return t>Math.min(...this._physicalSizes)?Math.max(0,t-e):0}_getScrollLineHeight(){const e=document.createElement("div");e.style.fontSize="initial",e.style.display="none",document.body.appendChild(e);const t=window.getComputedStyle(e).fontSize;return document.body.removeChild(e),t?window.parseInt(t):void 0}__getVisibleElements(){return Array.from(this.elementsContainer.children).filter((e=>!e.hidden))}__reorderElements(){if(this.__mouseDown)return void(this.__pendingReorder=!0);this.__pendingReorder=!1;const e=this._virtualStart+(this._vidxOffset||0),t=this.__getVisibleElements(),i=this.__getFocusedElement(t)||t[0];if(!i)return;const r=i.__virtualIndex-e,o=t.indexOf(i)-r;if(o>0)for(let e=0;e<o;e++)this.elementsContainer.appendChild(t[e]);else if(o<0)for(let e=t.length+o;e<t.length;e++)this.elementsContainer.insertBefore(t[e],t[0]);if(dn){const{transform:e}=this.scrollTarget.style;this.scrollTarget.style.transform="translateZ(0)",setTimeout((()=>{this.scrollTarget.style.transform=e}))}}_adjustVirtualIndexOffset(e){const t=this._maxVirtualIndexOffset;if(this._virtualCount>=this.size)this._vidxOffset=0;else if(this.__skipNextVirtualIndexAdjust)this.__skipNextVirtualIndexAdjust=!1;else if(Math.abs(e)>1e4)this._vidxOffset=Math.round(this._scrollTop/(this.scrollTarget.scrollHeight-this.scrollTarget.clientHeight)*t);else{const e=this._vidxOffset,i=qm,r=100;0===this._scrollTop?(this._vidxOffset=0,e!==this._vidxOffset&&super.scrollToIndex(0)):this.firstVisibleIndex<i&&this._vidxOffset>0&&(this._vidxOffset-=Math.min(this._vidxOffset,r),super.scrollToIndex(this.firstVisibleIndex+(e-this._vidxOffset))),this._scrollTop>=this._maxScrollTop&&this._maxScrollTop>0?(this._vidxOffset=t,e!==this._vidxOffset&&super.scrollToIndex(this._virtualCount-1)):this.firstVisibleIndex>this._virtualCount-i&&this._vidxOffset<t&&(this._vidxOffset+=Math.min(t-this._vidxOffset,r),super.scrollToIndex(this.firstVisibleIndex-(this._vidxOffset-e)))}}}Object.setPrototypeOf(Hm.prototype,jm);class Vm{constructor(e){this.__adapter=new Hm(e)}get firstVisibleIndex(){return this.__adapter.adjustedFirstVisibleIndex}get lastVisibleIndex(){return this.__adapter.adjustedLastVisibleIndex}get size(){return this.__adapter.size}set size(e){this.__adapter.size=e}scrollToIndex(e){this.__adapter.scrollToIndex(e)}update(e=0,t=this.size-1){this.__adapter.update(e,t)}flush(){this.__adapter.flush()}}
4350
4350
  /**
4351
4351
  * @license
4352
4352
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4353
4353
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4354
- */const Xm=class{toString(){return""}},Km=e=>class extends e{static get properties(){return{items:{type:Array,sync:!0,observer:"__itemsChanged"},focusedIndex:{type:Number,sync:!0,observer:"__focusedIndexChanged"},loading:{type:Boolean,sync:!0,observer:"__loadingChanged"},opened:{type:Boolean,sync:!0,observer:"__openedChanged"},selectedItem:{type:Object,sync:!0,observer:"__selectedItemChanged"},itemClassNameGenerator:{type:Object,observer:"__itemClassNameGeneratorChanged"},itemIdPath:{type:String},owner:{type:Object},getItemLabel:{type:Object},renderer:{type:Object,sync:!0,observer:"__rendererChanged"},theme:{type:String}}}constructor(){super(),this.__boundOnItemClick=this.__onItemClick.bind(this)}get _viewportTotalPaddingBottom(){if(void 0===this._cachedViewportTotalPaddingBottom){const e=window.getComputedStyle(this.$.selector);this._cachedViewportTotalPaddingBottom=[e.paddingBottom,e.borderBottomWidth].map((e=>parseInt(e,10))).reduce(((e,t)=>e+t))}return this._cachedViewportTotalPaddingBottom}ready(){super.ready(),this.setAttribute("role","listbox"),this.id=`${this.localName}-${yr()}`,this.__hostTagName=this.constructor.is.replace("-scroller",""),this.addEventListener("click",(e=>e.stopPropagation())),this.__patchWheelOverScrolling()}requestContentUpdate(){this.__virtualizer&&(this.items&&(this.__virtualizer.size=this.items.length),this.opened&&this.__virtualizer.update())}scrollIntoView(e){if(!this.__virtualizer||!(this.opened&&e>=0))return;const t=this._visibleItemsCount();let i=e;e>this.__virtualizer.lastVisibleIndex-1?(this.__virtualizer.scrollToIndex(e),i=e-t+1):e>this.__virtualizer.firstVisibleIndex&&(i=this.__virtualizer.firstVisibleIndex),this.__virtualizer.scrollToIndex(Math.max(0,i));const r=[...this.children].find((e=>!e.hidden&&e.index===this.__virtualizer.lastVisibleIndex));if(!r||e!==r.index)return;const o=r.getBoundingClientRect(),n=this.getBoundingClientRect(),s=o.bottom-n.bottom+this._viewportTotalPaddingBottom;s>0&&(this.scrollTop+=s)}_isItemSelected(e,t,i){return!(e instanceof Xm)&&(i&&void 0!==e&&void 0!==t?Lm(i,e)===Lm(i,t):e===t)}__initVirtualizer(){this.__virtualizer=new $m({createElements:this.__createElements.bind(this),updateElement:this._updateElement.bind(this),elementsContainer:this,scrollTarget:this,scrollContainer:this.$.selector,reorderElements:!0})}__itemsChanged(e){e&&this.__virtualizer&&this.requestContentUpdate()}__loadingChanged(){this.requestContentUpdate()}__openedChanged(e){e&&(this.__virtualizer||this.__initVirtualizer(),this.requestContentUpdate())}__selectedItemChanged(){this.requestContentUpdate()}__itemClassNameGeneratorChanged(e,t){(e||t)&&this.requestContentUpdate()}__focusedIndexChanged(e,t){e!==t&&this.requestContentUpdate(),e>=0&&!this.loading&&this.scrollIntoView(e)}__rendererChanged(e,t){(e||t)&&this.requestContentUpdate()}__createElements(e){return[...Array(e)].map((()=>{const e=document.createElement(`${this.__hostTagName}-item`);return e.addEventListener("click",this.__boundOnItemClick),e.tabIndex="-1",e.style.width="100%",e}))}_updateElement(e,t){const i=this.items[t],r=this.focusedIndex,o=this._isItemSelected(i,this.selectedItem,this.itemIdPath);e.setProperties({item:i,index:t,label:this.getItemLabel(i),selected:o,renderer:this.renderer,focused:!this.loading&&r===t}),"function"==typeof this.itemClassNameGenerator?e.className=this.itemClassNameGenerator(i):""!==e.className&&(e.className=""),e.performUpdate&&!e.hasUpdated&&e.performUpdate(),e.id=`${this.__hostTagName}-item-${t}`,e.setAttribute("role",void 0!==t&&"option"),e.setAttribute("aria-selected",o.toString()),e.setAttribute("aria-posinset",t+1),e.setAttribute("aria-setsize",this.items.length),this.theme?e.setAttribute("theme",this.theme):e.removeAttribute("theme"),i instanceof Xm&&this.__requestItemByIndex(t)}__onItemClick(e){this.dispatchEvent(new CustomEvent("selection-changed",{detail:{item:e.currentTarget.item}}))}__patchWheelOverScrolling(){this.$.selector.addEventListener("wheel",(e=>{(0===this.scrollTop&&e.deltaY<0||this.scrollHeight-this.scrollTop-this.clientHeight<=1&&e.deltaY>0)&&e.preventDefault()}))}__requestItemByIndex(e){requestAnimationFrame((()=>{this.dispatchEvent(new CustomEvent("index-requested",{detail:{index:e}}))}))}_visibleItemsCount(){return this.__virtualizer.scrollToIndex(this.__virtualizer.firstVisibleIndex),this.__virtualizer.size>0?this.__virtualizer.lastVisibleIndex-this.__virtualizer.firstVisibleIndex+1:0}}
4354
+ */const $m=class{toString(){return""}},Xm=e=>class extends e{static get properties(){return{items:{type:Array,sync:!0,observer:"__itemsChanged"},focusedIndex:{type:Number,sync:!0,observer:"__focusedIndexChanged"},loading:{type:Boolean,sync:!0,observer:"__loadingChanged"},opened:{type:Boolean,sync:!0,observer:"__openedChanged"},selectedItem:{type:Object,sync:!0,observer:"__selectedItemChanged"},itemClassNameGenerator:{type:Object,observer:"__itemClassNameGeneratorChanged"},itemIdPath:{type:String},owner:{type:Object},getItemLabel:{type:Object},renderer:{type:Object,sync:!0,observer:"__rendererChanged"},theme:{type:String}}}constructor(){super(),this.__boundOnItemClick=this.__onItemClick.bind(this)}get _viewportTotalPaddingBottom(){if(void 0===this._cachedViewportTotalPaddingBottom){const e=window.getComputedStyle(this.$.selector);this._cachedViewportTotalPaddingBottom=[e.paddingBottom,e.borderBottomWidth].map((e=>parseInt(e,10))).reduce(((e,t)=>e+t))}return this._cachedViewportTotalPaddingBottom}ready(){super.ready(),this.setAttribute("role","listbox"),this.id=`${this.localName}-${yr()}`,this.__hostTagName=this.constructor.is.replace("-scroller",""),this.addEventListener("click",(e=>e.stopPropagation())),this.__patchWheelOverScrolling()}requestContentUpdate(){this.__virtualizer&&(this.items&&(this.__virtualizer.size=this.items.length),this.opened&&this.__virtualizer.update())}scrollIntoView(e){if(!this.__virtualizer||!(this.opened&&e>=0))return;const t=this._visibleItemsCount();let i=e;e>this.__virtualizer.lastVisibleIndex-1?(this.__virtualizer.scrollToIndex(e),i=e-t+1):e>this.__virtualizer.firstVisibleIndex&&(i=this.__virtualizer.firstVisibleIndex),this.__virtualizer.scrollToIndex(Math.max(0,i));const r=[...this.children].find((e=>!e.hidden&&e.index===this.__virtualizer.lastVisibleIndex));if(!r||e!==r.index)return;const o=r.getBoundingClientRect(),n=this.getBoundingClientRect(),s=o.bottom-n.bottom+this._viewportTotalPaddingBottom;s>0&&(this.scrollTop+=s)}_isItemSelected(e,t,i){return!(e instanceof $m)&&(i&&void 0!==e&&void 0!==t?Pm(i,e)===Pm(i,t):e===t)}__initVirtualizer(){this.__virtualizer=new Vm({createElements:this.__createElements.bind(this),updateElement:this._updateElement.bind(this),elementsContainer:this,scrollTarget:this,scrollContainer:this.$.selector,reorderElements:!0})}__itemsChanged(e){e&&this.__virtualizer&&this.requestContentUpdate()}__loadingChanged(){this.requestContentUpdate()}__openedChanged(e){e&&(this.__virtualizer||this.__initVirtualizer(),this.requestContentUpdate())}__selectedItemChanged(){this.requestContentUpdate()}__itemClassNameGeneratorChanged(e,t){(e||t)&&this.requestContentUpdate()}__focusedIndexChanged(e,t){e!==t&&this.requestContentUpdate(),e>=0&&!this.loading&&this.scrollIntoView(e)}__rendererChanged(e,t){(e||t)&&this.requestContentUpdate()}__createElements(e){return[...Array(e)].map((()=>{const e=document.createElement(`${this.__hostTagName}-item`);return e.addEventListener("click",this.__boundOnItemClick),e.tabIndex="-1",e.style.width="100%",e}))}_updateElement(e,t){const i=this.items[t],r=this.focusedIndex,o=this._isItemSelected(i,this.selectedItem,this.itemIdPath);e.setProperties({item:i,index:t,label:this.getItemLabel(i),selected:o,renderer:this.renderer,focused:!this.loading&&r===t}),"function"==typeof this.itemClassNameGenerator?e.className=this.itemClassNameGenerator(i):""!==e.className&&(e.className=""),e.performUpdate&&!e.hasUpdated&&e.performUpdate(),e.id=`${this.__hostTagName}-item-${t}`,e.setAttribute("role",void 0!==t&&"option"),e.setAttribute("aria-selected",o.toString()),e.setAttribute("aria-posinset",t+1),e.setAttribute("aria-setsize",this.items.length),this.theme?e.setAttribute("theme",this.theme):e.removeAttribute("theme"),i instanceof $m&&this.__requestItemByIndex(t)}__onItemClick(e){this.dispatchEvent(new CustomEvent("selection-changed",{detail:{item:e.currentTarget.item}}))}__patchWheelOverScrolling(){this.$.selector.addEventListener("wheel",(e=>{(0===this.scrollTop&&e.deltaY<0||this.scrollHeight-this.scrollTop-this.clientHeight<=1&&e.deltaY>0)&&e.preventDefault()}))}__requestItemByIndex(e){requestAnimationFrame((()=>{this.dispatchEvent(new CustomEvent("index-requested",{detail:{index:e}}))}))}_visibleItemsCount(){return this.__virtualizer.scrollToIndex(this.__virtualizer.firstVisibleIndex),this.__virtualizer.size>0?this.__virtualizer.lastVisibleIndex-this.__virtualizer.firstVisibleIndex+1:0}}
4355
4355
  /**
4356
4356
  * @license
4357
4357
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
@@ -4361,7 +4361,7 @@ function Lm(e,t){return e.split(".").reduce(((e,t)=>e?e[t]:void 0),t)}
4361
4361
  * @license
4362
4362
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4363
4363
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4364
- */class Ym extends(Km(Vi)){static get is(){return"vaadin-combo-box-scroller"}static get template(){return qi`
4364
+ */class Km extends(Xm(Vi)){static get is(){return"vaadin-combo-box-scroller"}static get template(){return qi`
4365
4365
  <style>
4366
4366
  :host {
4367
4367
  display: block;
@@ -4388,33 +4388,33 @@ function Lm(e,t){return e.split(".").reduce(((e,t)=>e?e[t]:void 0),t)}
4388
4388
  <div id="selector">
4389
4389
  <slot></slot>
4390
4390
  </div>
4391
- `}}l(Ym);
4391
+ `}}l(Km);
4392
4392
  /**
4393
4393
  * @license
4394
4394
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4395
4395
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4396
4396
  */
4397
- const Wm=e=>class extends(As(e)){static get properties(){return{pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"pattern"]}static get constraints(){return[...super.constraints,"pattern"]}}
4397
+ const Ym=e=>class extends(As(e)){static get properties(){return{pattern:{type:String}}}static get delegateAttrs(){return[...super.delegateAttrs,"pattern"]}static get constraints(){return[...super.constraints,"pattern"]}}
4398
4398
  /**
4399
4399
  * @license
4400
4400
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4401
4401
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4402
- */;function Zm(e,t,i=0){let r=t;for(const t of e.subCaches){const e=t.parentCacheIndex;if(r<=e)break;if(r<=e+t.flatSize)return Zm(t,r-e-1,i+1);r-=t.flatSize}return{cache:e,item:e.items[r],index:r,page:Math.floor(r/e.pageSize),level:i}}function Qm({getItemId:e},t,i,r=0,o=0){for(let n=0;n<t.items.length;n++){const s=t.items[n];if(s&&e(s)===e(i))return{cache:t,level:r,item:s,index:n,page:Math.floor(n/t.pageSize),subCache:t.getSubCache(n),flatIndex:o+t.getFlatIndex(n)}}for(const n of t.subCaches){const s=Qm({getItemId:e},n,i,r+1,o+t.getFlatIndex(n.parentCacheIndex)+1);if(s)return s}}function Jm(e,[t,...i],r=0){t===1/0&&(t=e.size-1);const o=e.getFlatIndex(t),n=e.getSubCache(t);return n&&n.flatSize>0&&i.length?Jm(n,i,r+o+1):r+o}
4402
+ */;function Wm(e,t,i=0){let r=t;for(const t of e.subCaches){const e=t.parentCacheIndex;if(r<=e)break;if(r<=e+t.flatSize)return Wm(t,r-e-1,i+1);r-=t.flatSize}return{cache:e,item:e.items[r],index:r,page:Math.floor(r/e.pageSize),level:i}}function Zm({getItemId:e},t,i,r=0,o=0){for(let n=0;n<t.items.length;n++){const s=t.items[n];if(s&&e(s)===e(i))return{cache:t,level:r,item:s,index:n,page:Math.floor(n/t.pageSize),subCache:t.getSubCache(n),flatIndex:o+t.getFlatIndex(n)}}for(const n of t.subCaches){const s=Zm({getItemId:e},n,i,r+1,o+t.getFlatIndex(n.parentCacheIndex)+1);if(s)return s}}function Qm(e,[t,...i],r=0){t===1/0&&(t=e.size-1);const o=e.getFlatIndex(t),n=e.getSubCache(t);return n&&n.flatSize>0&&i.length?Qm(n,i,r+o+1):r+o}
4403
4403
  /**
4404
4404
  * @license
4405
4405
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4406
4406
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4407
- */class ep{context;pageSize;items=[];pendingRequests={};__subCacheByIndex={};__size=0;__flatSize=0;constructor(e,t,i,r,o){this.context=e,this.pageSize=t,this.size=i,this.parentCache=r,this.parentCacheIndex=o,this.__flatSize=i||0}get parentItem(){return this.parentCache&&this.parentCache.items[this.parentCacheIndex]}get subCaches(){return Object.values(this.__subCacheByIndex)}get isLoading(){return Object.keys(this.pendingRequests).length>0||this.subCaches.some((e=>e.isLoading))}get flatSize(){return this.__flatSize}get effectiveSize(){return console.warn("<vaadin-grid> The `effectiveSize` property of ItemCache is deprecated and will be removed in Vaadin 25."),this.flatSize}get size(){return this.__size}set size(e){if(this.__size!==e){if(this.__size=e,void 0!==this.context.placeholder){this.items.length=e||0;for(let t=0;t<e;t++)this.items[t]||=this.context.placeholder}Object.keys(this.pendingRequests).forEach((e=>{parseInt(e)*this.pageSize>=this.size&&delete this.pendingRequests[e]}))}}recalculateFlatSize(){this.__flatSize=!this.parentItem||this.context.isExpanded(this.parentItem)?this.size+this.subCaches.reduce(((e,t)=>(t.recalculateFlatSize(),e+t.flatSize)),0):0}setPage(e,t){const i=e*this.pageSize;t.forEach(((e,t)=>{const r=i+t;(void 0===this.size||r<this.size)&&(this.items[r]=e)}))}getSubCache(e){return this.__subCacheByIndex[e]}removeSubCache(e){delete this.__subCacheByIndex[e]}removeSubCaches(){this.__subCacheByIndex={}}createSubCache(e){const t=new ep(this.context,this.pageSize,0,this,e);return this.__subCacheByIndex[e]=t,t}getFlatIndex(e){const t=Math.max(0,Math.min(this.size-1,e));return this.subCaches.reduce(((e,i)=>t>i.parentCacheIndex?e+i.flatSize:e),t)}getItemForIndex(e){console.warn("<vaadin-grid> The `getItemForIndex` method of ItemCache is deprecated and will be removed in Vaadin 25.");const{item:t}=Zm(this,e);return t}getCacheAndIndex(e){console.warn("<vaadin-grid> The `getCacheAndIndex` method of ItemCache is deprecated and will be removed in Vaadin 25.");const{cache:t,index:i}=Zm(this,e);return{cache:t,scaledIndex:i}}updateSize(){console.warn("<vaadin-grid> The `updateSize` method of ItemCache is deprecated and will be removed in Vaadin 25."),this.recalculateFlatSize()}ensureSubCacheForScaledIndex(e){if(console.warn("<vaadin-grid> The `ensureSubCacheForScaledIndex` method of ItemCache is deprecated and will be removed in Vaadin 25."),!this.getSubCache(e)){const t=this.createSubCache(e);this.context.__controller.__loadCachePage(t,0)}}get grid(){return console.warn("<vaadin-grid> The `grid` property of ItemCache is deprecated and will be removed in Vaadin 25."),this.context.__controller.host}get itemCaches(){return console.warn("<vaadin-grid> The `itemCaches` property of ItemCache is deprecated and will be removed in Vaadin 25."),this.__subCacheByIndex}}
4407
+ */class Jm{context;pageSize;items=[];pendingRequests={};__subCacheByIndex={};__size=0;__flatSize=0;constructor(e,t,i,r,o){this.context=e,this.pageSize=t,this.size=i,this.parentCache=r,this.parentCacheIndex=o,this.__flatSize=i||0}get parentItem(){return this.parentCache&&this.parentCache.items[this.parentCacheIndex]}get subCaches(){return Object.values(this.__subCacheByIndex)}get isLoading(){return Object.keys(this.pendingRequests).length>0||this.subCaches.some((e=>e.isLoading))}get flatSize(){return this.__flatSize}get effectiveSize(){return console.warn("<vaadin-grid> The `effectiveSize` property of ItemCache is deprecated and will be removed in Vaadin 25."),this.flatSize}get size(){return this.__size}set size(e){if(this.__size!==e){if(this.__size=e,void 0!==this.context.placeholder){this.items.length=e||0;for(let t=0;t<e;t++)this.items[t]||=this.context.placeholder}Object.keys(this.pendingRequests).forEach((e=>{parseInt(e)*this.pageSize>=this.size&&delete this.pendingRequests[e]}))}}recalculateFlatSize(){this.__flatSize=!this.parentItem||this.context.isExpanded(this.parentItem)?this.size+this.subCaches.reduce(((e,t)=>(t.recalculateFlatSize(),e+t.flatSize)),0):0}setPage(e,t){const i=e*this.pageSize;t.forEach(((e,t)=>{const r=i+t;(void 0===this.size||r<this.size)&&(this.items[r]=e)}))}getSubCache(e){return this.__subCacheByIndex[e]}removeSubCache(e){delete this.__subCacheByIndex[e]}removeSubCaches(){this.__subCacheByIndex={}}createSubCache(e){const t=new Jm(this.context,this.pageSize,0,this,e);return this.__subCacheByIndex[e]=t,t}getFlatIndex(e){const t=Math.max(0,Math.min(this.size-1,e));return this.subCaches.reduce(((e,i)=>t>i.parentCacheIndex?e+i.flatSize:e),t)}getItemForIndex(e){console.warn("<vaadin-grid> The `getItemForIndex` method of ItemCache is deprecated and will be removed in Vaadin 25.");const{item:t}=Wm(this,e);return t}getCacheAndIndex(e){console.warn("<vaadin-grid> The `getCacheAndIndex` method of ItemCache is deprecated and will be removed in Vaadin 25.");const{cache:t,index:i}=Wm(this,e);return{cache:t,scaledIndex:i}}updateSize(){console.warn("<vaadin-grid> The `updateSize` method of ItemCache is deprecated and will be removed in Vaadin 25."),this.recalculateFlatSize()}ensureSubCacheForScaledIndex(e){if(console.warn("<vaadin-grid> The `ensureSubCacheForScaledIndex` method of ItemCache is deprecated and will be removed in Vaadin 25."),!this.getSubCache(e)){const t=this.createSubCache(e);this.context.__controller.__loadCachePage(t,0)}}get grid(){return console.warn("<vaadin-grid> The `grid` property of ItemCache is deprecated and will be removed in Vaadin 25."),this.context.__controller.host}get itemCaches(){return console.warn("<vaadin-grid> The `itemCaches` property of ItemCache is deprecated and will be removed in Vaadin 25."),this.__subCacheByIndex}}
4408
4408
  /**
4409
4409
  * @license
4410
4410
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
4411
4411
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4412
- */class tp extends EventTarget{host;dataProvider;dataProviderParams;pageSize;isExpanded;getItemId;rootCache;placeholder;isPlaceholder;constructor(e,{size:t,pageSize:i,isExpanded:r,getItemId:o,isPlaceholder:n,placeholder:s,dataProvider:a,dataProviderParams:l}){super(),this.host=e,this.pageSize=i,this.getItemId=o,this.isExpanded=r,this.placeholder=s,this.isPlaceholder=n,this.dataProvider=a,this.dataProviderParams=l,this.rootCache=this.__createRootCache(t)}get flatSize(){return this.rootCache.flatSize}get __cacheContext(){return{isExpanded:this.isExpanded,placeholder:this.placeholder,__controller:this}}isLoading(){return this.rootCache.isLoading}setPageSize(e){this.pageSize=e,this.clearCache()}setDataProvider(e){this.dataProvider=e,this.clearCache()}recalculateFlatSize(){this.rootCache.recalculateFlatSize()}clearCache(){this.rootCache=this.__createRootCache(this.rootCache.size)}getFlatIndexContext(e){return Zm(this.rootCache,e)}getItemContext(e){return Qm({getItemId:this.getItemId},this.rootCache,e)}getFlatIndexByPath(e){return Jm(this.rootCache,e)}ensureFlatIndexLoaded(e){const{cache:t,page:i,item:r}=this.getFlatIndexContext(e);this.__isItemLoaded(r)||this.__loadCachePage(t,i)}ensureFlatIndexHierarchy(e){const{cache:t,item:i,index:r}=this.getFlatIndexContext(e);if(this.__isItemLoaded(i)&&this.isExpanded(i)&&!t.getSubCache(r)){const e=t.createSubCache(r);this.__loadCachePage(e,0)}}loadFirstPage(){this.__loadCachePage(this.rootCache,0)}__createRootCache(e){return new ep(this.__cacheContext,this.pageSize,e)}__loadCachePage(e,t){if(!this.dataProvider||e.pendingRequests[t])return;let i={page:t,pageSize:this.pageSize,parentItem:e.parentItem};this.dataProviderParams&&(i={...i,...this.dataProviderParams()});const r=(o,n)=>{e.pendingRequests[t]===r&&(void 0!==n?e.size=n:i.parentItem&&(e.size=o.length),e.setPage(t,o),this.recalculateFlatSize(),this.dispatchEvent(new CustomEvent("page-received")),delete e.pendingRequests[t],this.dispatchEvent(new CustomEvent("page-loaded")))};e.pendingRequests[t]=r,this.dispatchEvent(new CustomEvent("page-requested")),this.dataProvider(i,r)}__isItemLoaded(e){return this.isPlaceholder?!this.isPlaceholder(e):this.placeholder?e!==this.placeholder:!!e}}
4412
+ */class ep extends EventTarget{host;dataProvider;dataProviderParams;pageSize;isExpanded;getItemId;rootCache;placeholder;isPlaceholder;constructor(e,{size:t,pageSize:i,isExpanded:r,getItemId:o,isPlaceholder:n,placeholder:s,dataProvider:a,dataProviderParams:l}){super(),this.host=e,this.pageSize=i,this.getItemId=o,this.isExpanded=r,this.placeholder=s,this.isPlaceholder=n,this.dataProvider=a,this.dataProviderParams=l,this.rootCache=this.__createRootCache(t)}get flatSize(){return this.rootCache.flatSize}get __cacheContext(){return{isExpanded:this.isExpanded,placeholder:this.placeholder,__controller:this}}isLoading(){return this.rootCache.isLoading}setPageSize(e){this.pageSize=e,this.clearCache()}setDataProvider(e){this.dataProvider=e,this.clearCache()}recalculateFlatSize(){this.rootCache.recalculateFlatSize()}clearCache(){this.rootCache=this.__createRootCache(this.rootCache.size)}getFlatIndexContext(e){return Wm(this.rootCache,e)}getItemContext(e){return Zm({getItemId:this.getItemId},this.rootCache,e)}getFlatIndexByPath(e){return Qm(this.rootCache,e)}ensureFlatIndexLoaded(e){const{cache:t,page:i,item:r}=this.getFlatIndexContext(e);this.__isItemLoaded(r)||this.__loadCachePage(t,i)}ensureFlatIndexHierarchy(e){const{cache:t,item:i,index:r}=this.getFlatIndexContext(e);if(this.__isItemLoaded(i)&&this.isExpanded(i)&&!t.getSubCache(r)){const e=t.createSubCache(r);this.__loadCachePage(e,0)}}loadFirstPage(){this.__loadCachePage(this.rootCache,0)}__createRootCache(e){return new Jm(this.__cacheContext,this.pageSize,e)}__loadCachePage(e,t){if(!this.dataProvider||e.pendingRequests[t])return;let i={page:t,pageSize:this.pageSize,parentItem:e.parentItem};this.dataProviderParams&&(i={...i,...this.dataProviderParams()});const r=(o,n)=>{e.pendingRequests[t]===r&&(void 0!==n?e.size=n:i.parentItem&&(e.size=o.length),e.setPage(t,o),this.recalculateFlatSize(),this.dispatchEvent(new CustomEvent("page-received")),delete e.pendingRequests[t],this.dispatchEvent(new CustomEvent("page-loaded")))};e.pendingRequests[t]=r,this.dispatchEvent(new CustomEvent("page-requested")),this.dataProvider(i,r)}__isItemLoaded(e){return this.isPlaceholder?!this.isPlaceholder(e):this.placeholder?e!==this.placeholder:!!e}}
4413
4413
  /**
4414
4414
  * @license
4415
4415
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4416
4416
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4417
- */const ip=e=>class extends e{static get properties(){return{pageSize:{type:Number,value:50,observer:"_pageSizeChanged",sync:!0},size:{type:Number,observer:"_sizeChanged",sync:!0},dataProvider:{type:Object,observer:"_dataProviderChanged",sync:!0},__dataProviderInitialized:{type:Boolean,value:!1},__previousDataProviderFilter:{type:String}}}static get observers(){return["_dataProviderFilterChanged(filter)","_warnDataProviderValue(dataProvider, value)","_ensureFirstPage(opened)"]}constructor(){super(),this.__dataProviderController=new tp(this,{placeholder:new Xm,isPlaceholder:e=>e instanceof Xm,dataProviderParams:()=>({filter:this.filter})}),this.__dataProviderController.addEventListener("page-requested",this.__onDataProviderPageRequested.bind(this)),this.__dataProviderController.addEventListener("page-loaded",this.__onDataProviderPageLoaded.bind(this))}ready(){super.ready(),this._scroller.addEventListener("index-requested",(e=>{if(!this._shouldFetchData())return;const t=e.detail.index;void 0!==t&&this.__dataProviderController.ensureFlatIndexLoaded(t)})),this.__dataProviderInitialized=!0,this.dataProvider&&this.__synchronizeControllerState()}_dataProviderFilterChanged(e){void 0!==this.__previousDataProviderFilter||""!==e?this.__previousDataProviderFilter!==e&&(this.__previousDataProviderFilter=e,this.__keepOverlayOpened=!0,this.size=void 0,this.clearCache(),this.__keepOverlayOpened=!1):this.__previousDataProviderFilter=e}_shouldFetchData(){return!!this.dataProvider&&(this.opened||this.filter&&this.filter.length)}_ensureFirstPage(e){this._shouldFetchData()&&e&&(this._forceNextRequest||void 0===this.size?(this._forceNextRequest=!1,this.__dataProviderController.loadFirstPage()):this.size>0&&this.__dataProviderController.ensureFlatIndexLoaded(0))}__onDataProviderPageRequested(){this.loading=!0}__onDataProviderPageLoaded(){const{rootCache:e}=this.__dataProviderController;e.items=[...e.items],this.__synchronizeControllerState(),this.opened||this._isInputFocused()||this._commitValue()}clearCache(){this.dataProvider&&(this.__dataProviderController.clearCache(),this.__synchronizeControllerState(),this._shouldFetchData()?(this._forceNextRequest=!1,this.__dataProviderController.loadFirstPage()):this._forceNextRequest=!0)}_sizeChanged(e){const{rootCache:t}=this.__dataProviderController;t.size!==e&&(t.size=e,t.items=[...t.items],this.__synchronizeControllerState())}_filteredItemsChanged(e){if(super._filteredItemsChanged(e),this.dataProvider&&e){const{rootCache:t}=this.__dataProviderController;t.items!==e&&(t.items=e,this.__synchronizeControllerState())}}__synchronizeControllerState(){if(this.__dataProviderInitialized&&this.dataProvider){const{rootCache:e}=this.__dataProviderController;this.size=e.size,this.filteredItems=e.items,this.loading=this.__dataProviderController.isLoading()}}_pageSizeChanged(e,t){if(Math.floor(e)!==e||e<1)throw this.pageSize=t,new Error("`pageSize` value must be an integer > 0");this.__dataProviderController.setPageSize(e),this.clearCache()}_dataProviderChanged(e,t){this._ensureItemsOrDataProvider((()=>{this.dataProvider=t})),this.__dataProviderController.setDataProvider(e),this.clearCache()}_ensureItemsOrDataProvider(e){if(void 0!==this.items&&void 0!==this.dataProvider)throw e(),new Error("Using `items` and `dataProvider` together is not supported")}_warnDataProviderValue(e,t){if(e&&""!==t&&null==this.selectedItem){const e=this.__getItemIndexByValue(this.filteredItems,t);(e<0||!this._getItemLabel(this.filteredItems[e]))&&console.warn("Warning: unable to determine the label for the provided `value`. Nothing to display in the text field. This usually happens when setting an initial `value` before any items are returned from the `dataProvider` callback. Consider setting `selectedItem` instead of `value`")}}}
4417
+ */const tp=e=>class extends e{static get properties(){return{pageSize:{type:Number,value:50,observer:"_pageSizeChanged",sync:!0},size:{type:Number,observer:"_sizeChanged",sync:!0},dataProvider:{type:Object,observer:"_dataProviderChanged",sync:!0},__dataProviderInitialized:{type:Boolean,value:!1},__previousDataProviderFilter:{type:String}}}static get observers(){return["_dataProviderFilterChanged(filter)","_warnDataProviderValue(dataProvider, value)","_ensureFirstPage(opened)"]}constructor(){super(),this.__dataProviderController=new ep(this,{placeholder:new $m,isPlaceholder:e=>e instanceof $m,dataProviderParams:()=>({filter:this.filter})}),this.__dataProviderController.addEventListener("page-requested",this.__onDataProviderPageRequested.bind(this)),this.__dataProviderController.addEventListener("page-loaded",this.__onDataProviderPageLoaded.bind(this))}ready(){super.ready(),this._scroller.addEventListener("index-requested",(e=>{if(!this._shouldFetchData())return;const t=e.detail.index;void 0!==t&&this.__dataProviderController.ensureFlatIndexLoaded(t)})),this.__dataProviderInitialized=!0,this.dataProvider&&this.__synchronizeControllerState()}_dataProviderFilterChanged(e){void 0!==this.__previousDataProviderFilter||""!==e?this.__previousDataProviderFilter!==e&&(this.__previousDataProviderFilter=e,this.__keepOverlayOpened=!0,this.size=void 0,this.clearCache(),this.__keepOverlayOpened=!1):this.__previousDataProviderFilter=e}_shouldFetchData(){return!!this.dataProvider&&(this.opened||this.filter&&this.filter.length)}_ensureFirstPage(e){this._shouldFetchData()&&e&&(this._forceNextRequest||void 0===this.size?(this._forceNextRequest=!1,this.__dataProviderController.loadFirstPage()):this.size>0&&this.__dataProviderController.ensureFlatIndexLoaded(0))}__onDataProviderPageRequested(){this.loading=!0}__onDataProviderPageLoaded(){const{rootCache:e}=this.__dataProviderController;e.items=[...e.items],this.__synchronizeControllerState(),this.opened||this._isInputFocused()||this._commitValue()}clearCache(){this.dataProvider&&(this.__dataProviderController.clearCache(),this.__synchronizeControllerState(),this._shouldFetchData()?(this._forceNextRequest=!1,this.__dataProviderController.loadFirstPage()):this._forceNextRequest=!0)}_sizeChanged(e){const{rootCache:t}=this.__dataProviderController;t.size!==e&&(t.size=e,t.items=[...t.items],this.__synchronizeControllerState())}_filteredItemsChanged(e){if(super._filteredItemsChanged(e),this.dataProvider&&e){const{rootCache:t}=this.__dataProviderController;t.items!==e&&(t.items=e,this.__synchronizeControllerState())}}__synchronizeControllerState(){if(this.__dataProviderInitialized&&this.dataProvider){const{rootCache:e}=this.__dataProviderController;this.size=e.size,this.filteredItems=e.items,this.loading=this.__dataProviderController.isLoading()}}_pageSizeChanged(e,t){if(Math.floor(e)!==e||e<1)throw this.pageSize=t,new Error("`pageSize` value must be an integer > 0");this.__dataProviderController.setPageSize(e),this.clearCache()}_dataProviderChanged(e,t){this._ensureItemsOrDataProvider((()=>{this.dataProvider=t})),this.__dataProviderController.setDataProvider(e),this.clearCache()}_ensureItemsOrDataProvider(e){if(void 0!==this.items&&void 0!==this.dataProvider)throw e(),new Error("Using `items` and `dataProvider` together is not supported")}_warnDataProviderValue(e,t){if(e&&""!==t&&null==this.selectedItem){const e=this.__getItemIndexByValue(this.filteredItems,t);(e<0||!this._getItemLabel(this.filteredItems[e]))&&console.warn("Warning: unable to determine the label for the provided `value`. Nothing to display in the text field. This usually happens when setting an initial `value` before any items are returned from the `dataProvider` callback. Consider setting `selectedItem` instead of `value`")}}}
4418
4418
  /**
4419
4419
  * @license
4420
4420
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
@@ -4425,12 +4425,12 @@ const Wm=e=>class extends(As(e)){static get properties(){return{pattern:{type:St
4425
4425
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4426
4426
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4427
4427
  */
4428
- function rp(e){return null!=e}function op(e,t){return e.findIndex((e=>!(e instanceof Xm)&&t(e)))}const np=e=>class extends(Ts(Ao(zo(po(ro(go(io(e)))))))){static get properties(){return{opened:{type:Boolean,notify:!0,value:!1,reflectToAttribute:!0,sync:!0,observer:"_openedChanged"},autoOpenDisabled:{type:Boolean,sync:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},renderer:{type:Object,sync:!0},items:{type:Array,sync:!0,observer:"_itemsChanged"},allowCustomValue:{type:Boolean,value:!1},filteredItems:{type:Array,observer:"_filteredItemsChanged",sync:!0},_lastCommittedValue:String,loading:{type:Boolean,value:!1,reflectToAttribute:!0,sync:!0},_focusedIndex:{type:Number,observer:"_focusedIndexChanged",value:-1,sync:!0},filter:{type:String,value:"",notify:!0,sync:!0},selectedItem:{type:Object,notify:!0,sync:!0},itemClassNameGenerator:{type:Object},itemLabelPath:{type:String,value:"label",observer:"_itemLabelPathChanged",sync:!0},itemValuePath:{type:String,value:"value",sync:!0},itemIdPath:{type:String,sync:!0},_toggleElement:{type:Object,observer:"_toggleElementChanged"},_dropdownItems:{type:Array,sync:!0},_closeOnBlurIsPrevented:Boolean,_scroller:{type:Object,sync:!0},_overlayOpened:{type:Boolean,sync:!0,observer:"_overlayOpenedChanged"},__keepOverlayOpened:{type:Boolean,sync:!0}}}static get observers(){return["_selectedItemChanged(selectedItem, itemValuePath, itemLabelPath)","_openedOrItemsChanged(opened, _dropdownItems, loading, __keepOverlayOpened)","_updateScroller(_scroller, _dropdownItems, opened, loading, selectedItem, itemIdPath, _focusedIndex, renderer, _theme, itemClassNameGenerator)"]}constructor(){super(),this._boundOverlaySelectedItemChanged=this._overlaySelectedItemChanged.bind(this),this._boundOnClearButtonMouseDown=this.__onClearButtonMouseDown.bind(this),this._boundOnClick=this._onClick.bind(this),this._boundOnOverlayTouchAction=this._onOverlayTouchAction.bind(this),this._boundOnTouchend=this._onTouchend.bind(this)}get _tagNamePrefix(){return"vaadin-combo-box"}get _nativeInput(){return this.inputElement}_inputElementChanged(e){super._inputElementChanged(e);const t=this._nativeInput;t&&(t.autocomplete="off",t.autocapitalize="off",t.setAttribute("role","combobox"),t.setAttribute("aria-autocomplete","list"),t.setAttribute("aria-expanded",!!this.opened),t.setAttribute("spellcheck","false"),t.setAttribute("autocorrect","off"),this._revertInputValueToValue(),this.clearElement&&this.clearElement.addEventListener("mousedown",this._boundOnClearButtonMouseDown))}ready(){super.ready(),this._initOverlay(),this._initScroller(),this._lastCommittedValue=this.value,this.addEventListener("click",this._boundOnClick),this.addEventListener("touchend",this._boundOnTouchend);const e=()=>{requestAnimationFrame((()=>{this._overlayElement.bringToFront()}))};var t;this.addEventListener("mousedown",e),this.addEventListener("touchstart",e),t=this,window.Vaadin&&window.Vaadin.templateRendererCallback?window.Vaadin.templateRendererCallback(t):t.querySelector("template")&&console.warn(`WARNING: <template> inside <${t.localName}> is no longer supported. Import @vaadin/polymer-legacy-adapter/template-renderer.js to enable compatibility.`),this.addController(new Ds(this))}disconnectedCallback(){super.disconnectedCallback(),this.close()}requestContentUpdate(){this._scroller&&(this._scroller.requestContentUpdate(),this._getItemElements().forEach((e=>{e.requestContentUpdate()})))}open(){this.disabled||this.readonly||(this.opened=!0)}close(){this.opened=!1}_propertiesChanged(e,t,i){super._propertiesChanged(e,t,i),void 0!==t.filter&&this._filterChanged(t.filter)}updated(e){super.updated(e),e.has("filter")&&this._filterChanged(this.filter)}_initOverlay(){const e=this.$.overlay;e._comboBox=this,e.addEventListener("touchend",this._boundOnOverlayTouchAction),e.addEventListener("touchmove",this._boundOnOverlayTouchAction),e.addEventListener("mousedown",(e=>e.preventDefault())),e.addEventListener("opened-changed",(e=>{this._overlayOpened=e.detail.value})),this._overlayElement=e}_initScroller(e){const t=document.createElement(`${this._tagNamePrefix}-scroller`);t.owner=e||this,t.getItemLabel=this._getItemLabel.bind(this),t.addEventListener("selection-changed",this._boundOverlaySelectedItemChanged);const i=this._overlayElement;i.renderer=e=>{e.innerHTML||e.appendChild(t)},i.requestContentUpdate(),this._scroller=t}_updateScroller(e,t,i,r,o,n,s,a,l,h){if(e&&(i&&(e.style.maxHeight=getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`)||"65vh"),e.setProperties({items:i?t:[],opened:i,loading:r,selectedItem:o,itemIdPath:n,focusedIndex:s,renderer:a,theme:l,itemClassNameGenerator:h}),e.performUpdate&&!e.hasUpdated))try{e.performUpdate()}catch(e){}}_openedOrItemsChanged(e,t,i,r){this._overlayOpened=e&&(r||i||!(!t||!t.length))}_overlayOpenedChanged(e,t){e?(this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-opened",{bubbles:!0,composed:!0})),this._onOpened()):t&&this._dropdownItems&&this._dropdownItems.length&&(this.close(),this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-closed",{bubbles:!0,composed:!0})))}_focusedIndexChanged(e,t){void 0!==t&&this._updateActiveDescendant(e)}_isInputFocused(){return this.inputElement&&uo(this.inputElement)}_updateActiveDescendant(e){const t=this._nativeInput;if(!t)return;const i=this._getItemElements().find((t=>t.index===e));i?t.setAttribute("aria-activedescendant",i.id):t.removeAttribute("aria-activedescendant")}_openedChanged(e,t){if(void 0===t)return;e?this._isInputFocused()||un||this.inputElement&&this.inputElement.focus():this._onClosed();const i=this._nativeInput;i&&(i.setAttribute("aria-expanded",!!e),e?i.setAttribute("aria-controls",this._scroller.id):i.removeAttribute("aria-controls"))}_onOverlayTouchAction(){this._closeOnBlurIsPrevented=!0,this.inputElement.blur(),this._closeOnBlurIsPrevented=!1}_isClearButton(e){return e.composedPath()[0]===this.clearElement}__onClearButtonMouseDown(e){e.preventDefault(),this.inputElement.focus()}_onClearButtonClick(e){e.preventDefault(),this._onClearAction(),this.opened&&this.requestContentUpdate()}_onToggleButtonClick(e){e.preventDefault(),this.opened?this.close():this.open()}_onHostClick(e){this.autoOpenDisabled||(e.preventDefault(),this.open())}_onClick(e){this._isClearButton(e)?this._onClearButtonClick(e):e.composedPath().includes(this._toggleElement)?this._onToggleButtonClick(e):this._onHostClick(e)}_onKeyDown(e){super._onKeyDown(e),"ArrowDown"===e.key?(this._onArrowDown(),e.preventDefault()):"ArrowUp"===e.key&&(this._onArrowUp(),e.preventDefault())}_getItemLabel(e){let t=e&&this.itemLabelPath?Lm(this.itemLabelPath,e):void 0;return null==t&&(t=e?e.toString():""),t}_getItemValue(e){let t=e&&this.itemValuePath?Lm(this.itemValuePath,e):void 0;return void 0===t&&(t=e?e.toString():""),t}_onArrowDown(){if(this.opened){const e=this._dropdownItems;e&&(this._focusedIndex=Math.min(e.length-1,this._focusedIndex+1),this._prefillFocusedItemLabel())}else this.open()}_onArrowUp(){if(this.opened){if(this._focusedIndex>-1)this._focusedIndex=Math.max(0,this._focusedIndex-1);else{const e=this._dropdownItems;e&&(this._focusedIndex=e.length-1)}this._prefillFocusedItemLabel()}else this.open()}_prefillFocusedItemLabel(){this._focusedIndex>-1&&(this._inputElementValue=this._getItemLabel(this._dropdownItems[this._focusedIndex]),this._markAllSelectionRange())}_setSelectionRange(e,t){this._isInputFocused()&&this.inputElement.setSelectionRange&&this.inputElement.setSelectionRange(e,t)}_markAllSelectionRange(){void 0!==this._inputElementValue&&this._setSelectionRange(0,this._inputElementValue.length)}_clearSelectionRange(){if(void 0!==this._inputElementValue){const e=this._inputElementValue?this._inputElementValue.length:0;this._setSelectionRange(e,e)}}_closeOrCommit(){this.opened||this.loading?this.close():this._commitValue()}_onEnter(e){if(!this._hasValidInputValue())return e.preventDefault(),void e.stopPropagation();this.opened&&(e.preventDefault(),e.stopPropagation()),this._closeOrCommit()}_hasValidInputValue(){const e=this._focusedIndex<0&&""!==this._inputElementValue&&this._getItemLabel(this.selectedItem)!==this._inputElementValue;return this.allowCustomValue||!e}_onEscape(e){this.autoOpenDisabled&&(this.opened||this.value!==this._inputElementValue&&this._inputElementValue.length>0)?(e.stopPropagation(),this._focusedIndex=-1,this.cancel()):this.opened?(e.stopPropagation(),this._focusedIndex>-1?(this._focusedIndex=-1,this._revertInputValue()):this.cancel()):this.clearButtonVisible&&this.value&&!this.readonly&&(e.stopPropagation(),this._onClearAction())}_toggleElementChanged(e){e&&(e.addEventListener("mousedown",(e=>e.preventDefault())),e.addEventListener("click",(()=>{un&&!this._isInputFocused()&&document.activeElement.blur()})))}_onClearAction(){this.selectedItem=null,this.allowCustomValue&&(this.value=""),this._detectAndDispatchChange()}_clearFilter(){this.filter=""}cancel(){this._revertInputValueToValue(),this._lastCommittedValue=this.value,this._closeOrCommit()}_onOpened(){this._lastCommittedValue=this.value}_onClosed(){this.loading&&!this.allowCustomValue||this._commitValue()}_commitValue(){if(this._focusedIndex>-1){const e=this._dropdownItems[this._focusedIndex];this.selectedItem!==e&&(this.selectedItem=e),this._inputElementValue=this._getItemLabel(this.selectedItem),this._focusedIndex=-1}else if(""===this._inputElementValue||void 0===this._inputElementValue)this.selectedItem=null,this.allowCustomValue&&(this.value="");else{const e=[this.selectedItem,...this._dropdownItems||[]],t=e[this.__getItemIndexByLabel(e,this._inputElementValue)];if(this.allowCustomValue&&!t){const e=this._inputElementValue;this._lastCustomValue=e;const t=new CustomEvent("custom-value-set",{detail:e,composed:!0,cancelable:!0,bubbles:!0});this.dispatchEvent(t),t.defaultPrevented||(this.value=e)}else this.allowCustomValue||this.opened||!t?this._revertInputValueToValue():this.value=this._getItemValue(t)}this._detectAndDispatchChange(),this._clearSelectionRange(),this._clearFilter()}_onInput(e){const t=this._inputElementValue,i={};this.filter===t?this._filterChanged(this.filter):i.filter=t,this.opened||this._isClearButton(e)||this.autoOpenDisabled||(i.opened=!0),this.setProperties(i)}_onChange(e){e.stopPropagation()}_itemLabelPathChanged(e){"string"!=typeof e&&console.error("You should set itemLabelPath to a valid string")}_filterChanged(e){this._scrollIntoView(0),this._focusedIndex=-1,this.items?this.filteredItems=this._filterItems(this.items,e):this._filteredItemsChanged(this.filteredItems)}_revertInputValue(){""!==this.filter?this._inputElementValue=this.filter:this._revertInputValueToValue(),this._clearSelectionRange()}_revertInputValueToValue(){this._inputElementValue=this.allowCustomValue&&!this.selectedItem?this.value:this._getItemLabel(this.selectedItem)}_selectedItemChanged(e){if(null==e)this.filteredItems&&(this.allowCustomValue||(this.value=""),this._toggleHasValue(this._hasValue),this._inputElementValue=this.value);else{const t=this._getItemValue(e);if(this.value!==t&&(this.value=t,this.value!==t))return;this._toggleHasValue(!0),this._inputElementValue=this._getItemLabel(e)}}_valueChanged(e,t){""===e&&void 0===t||(rp(e)?(this._getItemValue(this.selectedItem)!==e&&this._selectItemForValue(e),!this.selectedItem&&this.allowCustomValue&&(this._inputElementValue=e),this._toggleHasValue(this._hasValue)):this.selectedItem=null,this._clearFilter(),this._lastCommittedValue=void 0)}_detectAndDispatchChange(){document.hasFocus()&&this.validate(),this.value!==this._lastCommittedValue&&(this.dispatchEvent(new CustomEvent("change",{bubbles:!0})),this._lastCommittedValue=this.value)}_itemsChanged(e,t){this._ensureItemsOrDataProvider((()=>{this.items=t})),e?this.filteredItems=e.slice(0):t&&(this.filteredItems=null)}_filteredItemsChanged(e){this._setDropdownItems(e)}_filterItems(e,t){if(!e)return e;const i=e.filter((e=>(t=t?t.toString().toLowerCase():"",this._getItemLabel(e).toString().toLowerCase().indexOf(t)>-1)));return i}_selectItemForValue(e){const t=this.__getItemIndexByValue(this.filteredItems,e),i=this.selectedItem;this.selectedItem=t>=0?this.filteredItems[t]:this.dataProvider&&void 0===this.selectedItem?void 0:null,null===this.selectedItem&&null===i&&this._selectedItemChanged(this.selectedItem)}_setDropdownItems(e){const t=this._dropdownItems;this._dropdownItems=e;const i=t?t[this._focusedIndex]:null,r=this.__getItemIndexByValue(e,this.value);null==this.selectedItem&&r>=0&&(this.selectedItem=e[r]);const o=this.__getItemIndexByValue(e,this._getItemValue(i));this._focusedIndex=o>-1?o:this.__getItemIndexByLabel(e,this.filter)}_getItemElements(){return Array.from(this._scroller.querySelectorAll(`${this._tagNamePrefix}-item`))}_scrollIntoView(e){this._scroller&&this._scroller.scrollIntoView(e)}__getItemIndexByValue(e,t){return e&&rp(t)?op(e,(e=>this._getItemValue(e)===t)):-1}__getItemIndexByLabel(e,t){return e&&t?op(e,(e=>this._getItemLabel(e).toString().toLowerCase()===t.toString().toLowerCase())):-1}_overlaySelectedItemChanged(e){e.stopPropagation(),e.detail.item instanceof Xm||this.opened&&(this._focusedIndex=this.filteredItems.indexOf(e.detail.item),this.close())}_setFocused(e){if(super._setFocused(e),!e&&!this.readonly&&!this._closeOnBlurIsPrevented){if(!this.opened&&this.allowCustomValue&&this._inputElementValue===this._lastCustomValue)return void delete this._lastCustomValue;if(ao())return void this._closeOrCommit();this.opened?this._overlayOpened||this.close():this._commitValue()}}_shouldRemoveFocus(e){return!(e.relatedTarget&&e.relatedTarget.localName===`${this._tagNamePrefix}-item`||e.relatedTarget===this._overlayElement&&(e.composedPath()[0].focus(),1))}_onTouchend(e){this.clearElement&&e.composedPath()[0]===this.clearElement&&(e.preventDefault(),this._onClearAction())}}
4428
+ function ip(e){return null!=e}function rp(e,t){return e.findIndex((e=>!(e instanceof $m)&&t(e)))}const op=e=>class extends(Ts(Ao(zo(po(ro(go(io(e)))))))){static get properties(){return{opened:{type:Boolean,notify:!0,value:!1,reflectToAttribute:!0,sync:!0,observer:"_openedChanged"},autoOpenDisabled:{type:Boolean,sync:!0},readonly:{type:Boolean,value:!1,reflectToAttribute:!0},renderer:{type:Object,sync:!0},items:{type:Array,sync:!0,observer:"_itemsChanged"},allowCustomValue:{type:Boolean,value:!1},filteredItems:{type:Array,observer:"_filteredItemsChanged",sync:!0},_lastCommittedValue:String,loading:{type:Boolean,value:!1,reflectToAttribute:!0,sync:!0},_focusedIndex:{type:Number,observer:"_focusedIndexChanged",value:-1,sync:!0},filter:{type:String,value:"",notify:!0,sync:!0},selectedItem:{type:Object,notify:!0,sync:!0},itemClassNameGenerator:{type:Object},itemLabelPath:{type:String,value:"label",observer:"_itemLabelPathChanged",sync:!0},itemValuePath:{type:String,value:"value",sync:!0},itemIdPath:{type:String,sync:!0},_toggleElement:{type:Object,observer:"_toggleElementChanged"},_dropdownItems:{type:Array,sync:!0},_closeOnBlurIsPrevented:Boolean,_scroller:{type:Object,sync:!0},_overlayOpened:{type:Boolean,sync:!0,observer:"_overlayOpenedChanged"},__keepOverlayOpened:{type:Boolean,sync:!0}}}static get observers(){return["_selectedItemChanged(selectedItem, itemValuePath, itemLabelPath)","_openedOrItemsChanged(opened, _dropdownItems, loading, __keepOverlayOpened)","_updateScroller(_scroller, _dropdownItems, opened, loading, selectedItem, itemIdPath, _focusedIndex, renderer, _theme, itemClassNameGenerator)"]}constructor(){super(),this._boundOverlaySelectedItemChanged=this._overlaySelectedItemChanged.bind(this),this._boundOnClearButtonMouseDown=this.__onClearButtonMouseDown.bind(this),this._boundOnClick=this._onClick.bind(this),this._boundOnOverlayTouchAction=this._onOverlayTouchAction.bind(this),this._boundOnTouchend=this._onTouchend.bind(this)}get _tagNamePrefix(){return"vaadin-combo-box"}get _nativeInput(){return this.inputElement}_inputElementChanged(e){super._inputElementChanged(e);const t=this._nativeInput;t&&(t.autocomplete="off",t.autocapitalize="off",t.setAttribute("role","combobox"),t.setAttribute("aria-autocomplete","list"),t.setAttribute("aria-expanded",!!this.opened),t.setAttribute("spellcheck","false"),t.setAttribute("autocorrect","off"),this._revertInputValueToValue(),this.clearElement&&this.clearElement.addEventListener("mousedown",this._boundOnClearButtonMouseDown))}ready(){super.ready(),this._initOverlay(),this._initScroller(),this._lastCommittedValue=this.value,this.addEventListener("click",this._boundOnClick),this.addEventListener("touchend",this._boundOnTouchend);const e=()=>{requestAnimationFrame((()=>{this._overlayElement.bringToFront()}))};var t;this.addEventListener("mousedown",e),this.addEventListener("touchstart",e),t=this,window.Vaadin&&window.Vaadin.templateRendererCallback?window.Vaadin.templateRendererCallback(t):t.querySelector("template")&&console.warn(`WARNING: <template> inside <${t.localName}> is no longer supported. Import @vaadin/polymer-legacy-adapter/template-renderer.js to enable compatibility.`),this.addController(new Ds(this))}disconnectedCallback(){super.disconnectedCallback(),this.close()}requestContentUpdate(){this._scroller&&(this._scroller.requestContentUpdate(),this._getItemElements().forEach((e=>{e.requestContentUpdate()})))}open(){this.disabled||this.readonly||(this.opened=!0)}close(){this.opened=!1}_propertiesChanged(e,t,i){super._propertiesChanged(e,t,i),void 0!==t.filter&&this._filterChanged(t.filter)}updated(e){super.updated(e),e.has("filter")&&this._filterChanged(this.filter)}_initOverlay(){const e=this.$.overlay;e._comboBox=this,e.addEventListener("touchend",this._boundOnOverlayTouchAction),e.addEventListener("touchmove",this._boundOnOverlayTouchAction),e.addEventListener("mousedown",(e=>e.preventDefault())),e.addEventListener("opened-changed",(e=>{this._overlayOpened=e.detail.value})),this._overlayElement=e}_initScroller(e){const t=document.createElement(`${this._tagNamePrefix}-scroller`);t.owner=e||this,t.getItemLabel=this._getItemLabel.bind(this),t.addEventListener("selection-changed",this._boundOverlaySelectedItemChanged);const i=this._overlayElement;i.renderer=e=>{e.innerHTML||e.appendChild(t)},i.requestContentUpdate(),this._scroller=t}_updateScroller(e,t,i,r,o,n,s,a,l,h){if(e&&(i&&(e.style.maxHeight=getComputedStyle(this).getPropertyValue(`--${this._tagNamePrefix}-overlay-max-height`)||"65vh"),e.setProperties({items:i?t:[],opened:i,loading:r,selectedItem:o,itemIdPath:n,focusedIndex:s,renderer:a,theme:l,itemClassNameGenerator:h}),e.performUpdate&&!e.hasUpdated))try{e.performUpdate()}catch(e){}}_openedOrItemsChanged(e,t,i,r){this._overlayOpened=e&&(r||i||!(!t||!t.length))}_overlayOpenedChanged(e,t){e?(this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-opened",{bubbles:!0,composed:!0})),this._onOpened()):t&&this._dropdownItems&&this._dropdownItems.length&&(this.close(),this.dispatchEvent(new CustomEvent("vaadin-combo-box-dropdown-closed",{bubbles:!0,composed:!0})))}_focusedIndexChanged(e,t){void 0!==t&&this._updateActiveDescendant(e)}_isInputFocused(){return this.inputElement&&uo(this.inputElement)}_updateActiveDescendant(e){const t=this._nativeInput;if(!t)return;const i=this._getItemElements().find((t=>t.index===e));i?t.setAttribute("aria-activedescendant",i.id):t.removeAttribute("aria-activedescendant")}_openedChanged(e,t){if(void 0===t)return;e?this._isInputFocused()||un||this.inputElement&&this.inputElement.focus():this._onClosed();const i=this._nativeInput;i&&(i.setAttribute("aria-expanded",!!e),e?i.setAttribute("aria-controls",this._scroller.id):i.removeAttribute("aria-controls"))}_onOverlayTouchAction(){this._closeOnBlurIsPrevented=!0,this.inputElement.blur(),this._closeOnBlurIsPrevented=!1}_isClearButton(e){return e.composedPath()[0]===this.clearElement}__onClearButtonMouseDown(e){e.preventDefault(),this.inputElement.focus()}_onClearButtonClick(e){e.preventDefault(),this._onClearAction(),this.opened&&this.requestContentUpdate()}_onToggleButtonClick(e){e.preventDefault(),this.opened?this.close():this.open()}_onHostClick(e){this.autoOpenDisabled||(e.preventDefault(),this.open())}_onClick(e){this._isClearButton(e)?this._onClearButtonClick(e):e.composedPath().includes(this._toggleElement)?this._onToggleButtonClick(e):this._onHostClick(e)}_onKeyDown(e){super._onKeyDown(e),"ArrowDown"===e.key?(this._onArrowDown(),e.preventDefault()):"ArrowUp"===e.key&&(this._onArrowUp(),e.preventDefault())}_getItemLabel(e){let t=e&&this.itemLabelPath?Pm(this.itemLabelPath,e):void 0;return null==t&&(t=e?e.toString():""),t}_getItemValue(e){let t=e&&this.itemValuePath?Pm(this.itemValuePath,e):void 0;return void 0===t&&(t=e?e.toString():""),t}_onArrowDown(){if(this.opened){const e=this._dropdownItems;e&&(this._focusedIndex=Math.min(e.length-1,this._focusedIndex+1),this._prefillFocusedItemLabel())}else this.open()}_onArrowUp(){if(this.opened){if(this._focusedIndex>-1)this._focusedIndex=Math.max(0,this._focusedIndex-1);else{const e=this._dropdownItems;e&&(this._focusedIndex=e.length-1)}this._prefillFocusedItemLabel()}else this.open()}_prefillFocusedItemLabel(){this._focusedIndex>-1&&(this._inputElementValue=this._getItemLabel(this._dropdownItems[this._focusedIndex]),this._markAllSelectionRange())}_setSelectionRange(e,t){this._isInputFocused()&&this.inputElement.setSelectionRange&&this.inputElement.setSelectionRange(e,t)}_markAllSelectionRange(){void 0!==this._inputElementValue&&this._setSelectionRange(0,this._inputElementValue.length)}_clearSelectionRange(){if(void 0!==this._inputElementValue){const e=this._inputElementValue?this._inputElementValue.length:0;this._setSelectionRange(e,e)}}_closeOrCommit(){this.opened||this.loading?this.close():this._commitValue()}_onEnter(e){if(!this._hasValidInputValue())return e.preventDefault(),void e.stopPropagation();this.opened&&(e.preventDefault(),e.stopPropagation()),this._closeOrCommit()}_hasValidInputValue(){const e=this._focusedIndex<0&&""!==this._inputElementValue&&this._getItemLabel(this.selectedItem)!==this._inputElementValue;return this.allowCustomValue||!e}_onEscape(e){this.autoOpenDisabled&&(this.opened||this.value!==this._inputElementValue&&this._inputElementValue.length>0)?(e.stopPropagation(),this._focusedIndex=-1,this.cancel()):this.opened?(e.stopPropagation(),this._focusedIndex>-1?(this._focusedIndex=-1,this._revertInputValue()):this.cancel()):this.clearButtonVisible&&this.value&&!this.readonly&&(e.stopPropagation(),this._onClearAction())}_toggleElementChanged(e){e&&(e.addEventListener("mousedown",(e=>e.preventDefault())),e.addEventListener("click",(()=>{un&&!this._isInputFocused()&&document.activeElement.blur()})))}_onClearAction(){this.selectedItem=null,this.allowCustomValue&&(this.value=""),this._detectAndDispatchChange()}_clearFilter(){this.filter=""}cancel(){this._revertInputValueToValue(),this._lastCommittedValue=this.value,this._closeOrCommit()}_onOpened(){this._lastCommittedValue=this.value}_onClosed(){this.loading&&!this.allowCustomValue||this._commitValue()}_commitValue(){if(this._focusedIndex>-1){const e=this._dropdownItems[this._focusedIndex];this.selectedItem!==e&&(this.selectedItem=e),this._inputElementValue=this._getItemLabel(this.selectedItem),this._focusedIndex=-1}else if(""===this._inputElementValue||void 0===this._inputElementValue)this.selectedItem=null,this.allowCustomValue&&(this.value="");else{const e=[this.selectedItem,...this._dropdownItems||[]],t=e[this.__getItemIndexByLabel(e,this._inputElementValue)];if(this.allowCustomValue&&!t){const e=this._inputElementValue;this._lastCustomValue=e;const t=new CustomEvent("custom-value-set",{detail:e,composed:!0,cancelable:!0,bubbles:!0});this.dispatchEvent(t),t.defaultPrevented||(this.value=e)}else this.allowCustomValue||this.opened||!t?this._revertInputValueToValue():this.value=this._getItemValue(t)}this._detectAndDispatchChange(),this._clearSelectionRange(),this._clearFilter()}_onInput(e){const t=this._inputElementValue,i={};this.filter===t?this._filterChanged(this.filter):i.filter=t,this.opened||this._isClearButton(e)||this.autoOpenDisabled||(i.opened=!0),this.setProperties(i)}_onChange(e){e.stopPropagation()}_itemLabelPathChanged(e){"string"!=typeof e&&console.error("You should set itemLabelPath to a valid string")}_filterChanged(e){this._scrollIntoView(0),this._focusedIndex=-1,this.items?this.filteredItems=this._filterItems(this.items,e):this._filteredItemsChanged(this.filteredItems)}_revertInputValue(){""!==this.filter?this._inputElementValue=this.filter:this._revertInputValueToValue(),this._clearSelectionRange()}_revertInputValueToValue(){this._inputElementValue=this.allowCustomValue&&!this.selectedItem?this.value:this._getItemLabel(this.selectedItem)}_selectedItemChanged(e){if(null==e)this.filteredItems&&(this.allowCustomValue||(this.value=""),this._toggleHasValue(this._hasValue),this._inputElementValue=this.value);else{const t=this._getItemValue(e);if(this.value!==t&&(this.value=t,this.value!==t))return;this._toggleHasValue(!0),this._inputElementValue=this._getItemLabel(e)}}_valueChanged(e,t){""===e&&void 0===t||(ip(e)?(this._getItemValue(this.selectedItem)!==e&&this._selectItemForValue(e),!this.selectedItem&&this.allowCustomValue&&(this._inputElementValue=e),this._toggleHasValue(this._hasValue)):this.selectedItem=null,this._clearFilter(),this._lastCommittedValue=void 0)}_detectAndDispatchChange(){document.hasFocus()&&this.validate(),this.value!==this._lastCommittedValue&&(this.dispatchEvent(new CustomEvent("change",{bubbles:!0})),this._lastCommittedValue=this.value)}_itemsChanged(e,t){this._ensureItemsOrDataProvider((()=>{this.items=t})),e?this.filteredItems=e.slice(0):t&&(this.filteredItems=null)}_filteredItemsChanged(e){this._setDropdownItems(e)}_filterItems(e,t){if(!e)return e;const i=e.filter((e=>(t=t?t.toString().toLowerCase():"",this._getItemLabel(e).toString().toLowerCase().indexOf(t)>-1)));return i}_selectItemForValue(e){const t=this.__getItemIndexByValue(this.filteredItems,e),i=this.selectedItem;this.selectedItem=t>=0?this.filteredItems[t]:this.dataProvider&&void 0===this.selectedItem?void 0:null,null===this.selectedItem&&null===i&&this._selectedItemChanged(this.selectedItem)}_setDropdownItems(e){const t=this._dropdownItems;this._dropdownItems=e;const i=t?t[this._focusedIndex]:null,r=this.__getItemIndexByValue(e,this.value);null==this.selectedItem&&r>=0&&(this.selectedItem=e[r]);const o=this.__getItemIndexByValue(e,this._getItemValue(i));this._focusedIndex=o>-1?o:this.__getItemIndexByLabel(e,this.filter)}_getItemElements(){return Array.from(this._scroller.querySelectorAll(`${this._tagNamePrefix}-item`))}_scrollIntoView(e){this._scroller&&this._scroller.scrollIntoView(e)}__getItemIndexByValue(e,t){return e&&ip(t)?rp(e,(e=>this._getItemValue(e)===t)):-1}__getItemIndexByLabel(e,t){return e&&t?rp(e,(e=>this._getItemLabel(e).toString().toLowerCase()===t.toString().toLowerCase())):-1}_overlaySelectedItemChanged(e){e.stopPropagation(),e.detail.item instanceof $m||this.opened&&(this._focusedIndex=this.filteredItems.indexOf(e.detail.item),this.close())}_setFocused(e){if(super._setFocused(e),!e&&!this.readonly&&!this._closeOnBlurIsPrevented){if(!this.opened&&this.allowCustomValue&&this._inputElementValue===this._lastCustomValue)return void delete this._lastCustomValue;if(ao())return void this._closeOrCommit();this.opened?this._overlayOpened||this.close():this._commitValue()}}_shouldRemoveFocus(e){return!(e.relatedTarget&&e.relatedTarget.localName===`${this._tagNamePrefix}-item`||e.relatedTarget===this._overlayElement&&(e.composedPath()[0].focus(),1))}_onTouchend(e){this.clearElement&&e.composedPath()[0]===this.clearElement&&(e.preventDefault(),this._onClearAction())}}
4429
4429
  /**
4430
4430
  * @license
4431
4431
  * Copyright (c) 2015 - 2024 Vaadin Ltd.
4432
4432
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
4433
- */;xe("vaadin-combo-box",Cs,{moduleId:"vaadin-combo-box-styles"});class sp extends(ip(np(Wm(Is(Te(_r(Vi))))))){static get is(){return"vaadin-combo-box"}static get template(){return qi`
4433
+ */;xe("vaadin-combo-box",Cs,{moduleId:"vaadin-combo-box-styles"});class np extends(tp(op(Ym(Is(Te(_r(Vi))))))){static get is(){return"vaadin-combo-box"}static get template(){return qi`
4434
4434
  <style>
4435
4435
  :host([opened]) {
4436
4436
  pointer-events: auto;
@@ -4475,4 +4475,4 @@ function rp(e){return null!=e}function op(e,t){return e.findIndex((e=>!(e instan
4475
4475
  ></vaadin-combo-box-overlay>
4476
4476
 
4477
4477
  <slot name="tooltip"></slot>
4478
- `}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Mo(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}))),this.addController(new Uo(this.inputElement,this._labelController)),this._tooltipController=new kr(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((e=>!e.opened)),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(e){e.stopPropagation(),super._onClearButtonClick(e)}_onHostClick(e){const t=e.composedPath();(t.includes(this._labelNode)||t.includes(this._positionTarget))&&super._onHostClick(e)}}l(sp);const ap=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.touched=!1,this.handleChange=e=>{this.touched=!0;const t=e.target.value,i=this.options.find((e=>e.value.toLowerCase()===t.toLowerCase()));this.value=i?i.value:t,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)},this.handleBlur=e=>{this.value=e.target.value,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name})},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.action=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.options=[],this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.displayedOptions=this.options.map((e=>({label:e.label,value:e.value.toUpperCase()})))}componentWillLoad(){if(this.action&&!this.options.length&&"GET"==this.action.split(" ")[0]){const e=this.action.split(" ")[1];return this.getOptions(e).then((e=>{const t=Object.keys(e)[0];this.displayedOptions=e[t].map((e=>({label:e.Name,value:e.Alpha2Code})))}))}}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue.toUpperCase(),this.valueHandler({name:this.name,value:this.value}))}getOptions(e){const t=new URL(e);return new Promise(((e,i)=>{fetch(t.href).then((e=>e.json())).then((t=>{e(t)})).catch((e=>{console.error(e),i(e)}))}))}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"select__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"f02c73635c87a1937f4718c9de8df3aae8397815",class:`select__wrapper ${this.autofilled?"select__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"26bf79a073dd4c84570e380b1f36bfe848fec568",class:"select__wrapper--flex"},i("label",{key:"6eaafabe58a2dd4e1604ac2e3d55d001e2c4bc7c",class:"select__label",htmlFor:`${this.name}__input`},`${this.displayName} ${this.validation.mandatory?"*":""}`),i("div",{key:"a1de9c4bd3dd4158b26004c6df9dca5915f73978",class:"select__wrapper--relative"},this.tooltip&&i("img",{key:"5cb869c82f53a463c91cd060fad5520d2fbc3d0d",class:"select__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("vaadin-combo-box",{key:"2e94c1faa107657034a98d70b1e98d5c5ab5caa5",name:this.name,id:`${this.name}__input`,class:`select__input ${e} ${this.autofilled?"select__input--autofilled":""}`,"item-label-path":"label","item-value-path":"value",readOnly:this.autofilled,required:this.validation.mandatory,value:this.defaultValue,placeholder:`${this.placeholder}`,items:this.displayedOptions,onChange:this.handleChange,onBlur:this.handleBlur}),i("small",{key:"2c8162576d30265ea49cdc6d99071f614d833d7e",class:"select__error-message"},this.errorMessage))}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};ap.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{height:100%}vaadin-combo-box>input{background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-weight:300;font-size:16px;-webkit-font-smoothing:initial;}.select{font-family:"Roboto";font-style:normal}.select__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__wrapper--autofilled .select__input::part(input-field){color:var(--emw--color-black, #000000)}.select__wrapper--flex{display:flex;gap:5px}.select__wrapper--relative{position:relative}.select__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.select__input{border:none;width:inherit;position:relative}.select__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.select__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__input vaadin-date-picker-overlay-content>vaadin-button{color:var(--emw--color-black, #000000)}.select__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.select__input::part(toggle-button){position:relative;right:10px}.select__input>input{padding:5px 15px}.select__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__tooltip-icon{width:16px;height:auto}.select__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.select__tooltip.visible{opacity:1}';const lp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.phoneValue=e.target.value,this.value={prefix:this.prefixValue,phone:this.phoneValue},this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.touched=!0,this.errorMessage=this.setErrorMessage()},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.showLabels=void 0,this.action=void 0,this.validation=void 0,this.defaultValue=void 0,this.autofilled=void 0,this.tooltip=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value,type:"tel"})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"tel"})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.validationPattern=this.setPattern(),this.defaultValue&&(this.prefixValue=this.defaultValue.prefix?this.defaultValue.prefix:this.defaultValue,this.phoneValue=this.defaultValue.phone||null)}componentWillLoad(){if(this.action&&"GET"==this.action.split(" ")[0]){const e=this.action.split(" ")[1];return this.getPhoneCodes(e).then((e=>{this.phoneCodesOptions=e.phoneCodes.map((e=>({label:e.Prefix,value:e.Prefix})))}))}}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value,type:"tel"}))}getPhoneCodes(e){const t=new URL(e);return new Promise(((e,i)=>{fetch(t.href).then((e=>e.json())).then((t=>{e(t)})).catch((e=>{console.error(e),i(e)}))}))}handlePrefixInput(e){this.prefixValue=e.target.value,this.value={prefix:this.prefixValue,phone:this.phoneValue},this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}return this.inputReference.validity.tooShort||this.inputReference.validity.tooLong?s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"tel__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"f0f70d8568ba083ee19f9e73e5921104f599e15f",class:`tel__wrapper ${this.autofilled?"tel__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"8da9e1c2a6b3ca19caff07540f0218266de22bb2",class:"tel__wrapper--flex-label"},i("label",{key:"d0d90bc96e3ea853f401bae9be3f033d4cfd9b17",class:"tel__label "+(this.validation.mandatory?"tel__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"fdf7929f51edcbea8568b35804b0d9e9a93a7249",class:"tel__wrapper--relative"},this.tooltip&&i("img",{key:"0fbc9b5e8c5feef727caa71ef07d4ae80007e04a",class:"tel__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("div",{key:"b4a11808a7ae5e5cddce47b51a51003bce3a84f8",class:`tel__wrapper--flex ${e}`},i("vaadin-combo-box",{key:"2d81ff4c11e559f302a8446816f4aca0de2cfcef",class:"tel__prefix",items:this.phoneCodesOptions,value:this.prefixValue,readOnly:this.autofilled,onChange:e=>this.handlePrefixInput(e)}),i("input",{key:"ab52185589bf4d52205bad4cecc9c7ecb54cd409",type:"tel",ref:e=>this.inputReference=e,id:`${this.name}__input`,readOnly:this.autofilled,class:"tel__input",value:this.phoneValue,placeholder:`${this.placeholder}`,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,pattern:this.validationPattern,onInput:this.handleInput,onBlur:this.handleBlur})),i("small",{key:"6d219de32297bc2fab31995b5a33b14f2eea21d9",class:"tel__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};lp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{font-family:"Roboto";font-style:normal}.tel__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.tel__wrapper--autofilled{pointer-events:none}.tel__wrapper--autofilled .tel__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__wrapper--autofilled .tel__input::part(input-field){color:var(--emw--color-black, #000000)}.tel__wrapper--flex{width:inherit;display:flex;align-items:center;border-radius:4px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);overflow:hidden}.tel__wrapper--flex:focus-within{border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.tel__wrapper--flex--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__wrapper--flex-label{display:flex;gap:5px}.tel__wrapper--flex--relative{position:relative}.tel__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.tel__prefix{--vaadin-field-default-width:90px}.tel__prefix[focus]{outline:none}.tel__prefix::part(input-field){border-radius:0 5px 5px 0;background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;border:none;border-right:2px solid #DDE0EE;border-image-source:linear-gradient(to bottom, rgba(221, 224, 238, 0) 25%, rgb(221, 224, 238) 25%, rgb(221, 224, 238) 75%, rgba(221, 224, 238, 0) 75%);border-image-slice:1;border-image-repeat:round}.tel__prefix::part(input-field):hover{background-color:var(--emw--color-white, #FFFFFF)}.tel__prefix::part(toggle-button){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__input{font-family:inherit;border-radius:5px;width:100%;color:var(--emw--registration-typography, var(--emw--color-black, #000000));background-color:var(--emw--color-white, #FFFFFF);border:none;width:inherit;position:relative;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px;height:42px;-moz-appearance:textfield;}.tel__input:focus{outline:none}.tel__input::-webkit-outer-spin-button,.tel__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tel__input::placeholder{color:var(--emw--color-gray-150, #979797)}.tel__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__tooltip-icon{width:16px;height:auto}.tel__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.tel__tooltip.visible{opacity:1}';const hp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.value="",this.validationPattern="",this.duplicateInputValue=null,this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name}),this.emitValueHandler(!0)}),500)},this.handleBlur=e=>{this.value=e.target.value,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name})},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.validation=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.language=void 0,this.checkValidity=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage="",this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value,this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())),this.name===e.detail.name+"Duplicate"&&this.name.replace("Duplicate","")===e.detail.name&&!0===this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.touched=!0)),this.isValid=this.setValidity()}setValidity(){var e;return(!this.isDuplicateInput||this.duplicateInputValue===this.value)&&(null===(e=this.inputReference)||void 0===e?void 0:e.validity.valid)}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"text__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"e297f841a57c6acf854535a786916aa641831556",class:`text__wrapper ${this.name}__input ${this.autofilled?"text__wrapper--autofilled":""}`,ref:e=>this.stylingContainer=e},i("div",{key:"7fd284a58e58d5c61a03caf4cc317b8dd9dbd82f",class:"text__wrapper--flex"},i("label",{key:"f80a2003386ec867e5310190a7568105c2912569",class:"text__label "+(this.validation.mandatory?"text__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"e8f5197bd370100406d600be5a336f85f4c6934d",class:"text__wrapper--relative"},this.tooltip&&i("img",{key:"ff8c38fe3495a41a41ac4a1569169ce26a1ec9ce",class:"text__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"581106e515810ab43f7d6b6eda504ccf23906b0e",name:this.name,id:`${this.name}__input`,value:this.defaultValue,type:"text",class:`text__input ${e}`,placeholder:`${this.placeholder}`,ref:e=>this.inputReference=e,readOnly:this.autofilled,pattern:this.validationPattern,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"20620710026982d5fb670a3173bab57a7fa9e7ce",class:"text__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};hp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:"Roboto";font-style:normal}.text__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emw--color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.text__input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);border-radius:5px;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px}.text__input:focus{border:1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__input::placeholder{color:var(--emw--color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.text__tooltip.visible{opacity:1}';const cp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.value="",this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.defaultValue="",this.options=void 0,this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.showFields="true"===this.defaultValue}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}handleClick(){this.showFields=this.checkboxReference.checked,this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.valueHandler({name:this.name,value:this.checkboxReference.checked?"true":"false",type:"toggle"})}setValidity(){return this.checkboxReference.validity.valid}setErrorMessage(){if(this.checkboxReference.validity.valueMissing)return s("requiredError",this.language)}renderLabel(){return i("label",{class:"togglecheckbox__label",htmlFor:`${this.name}__input`},i("div",{class:"togglecheckbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?i("div",{class:"togglecheckbox__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("div",{key:"e8be91ce94cf76ebecc58a433ab567ab549f4692",class:`togglecheckbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"dd42a6316cda06e357843165329de7525a24e3d5",class:"togglecheckbox__wrapper--flex"},i("input",{key:"932a6f8caeafa0d006f636484e33dda246c314d0",class:"togglecheckbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.checkboxReference=e,name:this.name,checked:"true"===this.defaultValue,readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel()),i("small",{key:"cbc789c8a5c21debc05971ff347371fbc25d4975",class:"togglecheckbox__error-message"},this.errorMessage),i("div",{key:"a5ce470c985829eb1f5a0567bb974cc15e3d0d64",class:"togglecheckbox__wrapper--relative"},this.tooltip&&i("img",{key:"faef05dd9341ffe44b6833ca8f4c86b85ed61956",class:"togglecheckbox__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),i("div",{key:"89fed5f103acecca78fa53eea64d57574ef42727",class:"togglecheckbox__fields-wrapper "+(this.showFields?"":"hidden")},this.options.map((e=>i("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:null==e.placeholder?"":e.placeholder})))))}static get watchers(){return{clientStyling:["handleStylingChange"]}}};cp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}';export{Ho as checkbox_group_input,Vo as checkbox_input,fh as date_input,vh as email_input,gh as general_input,km as general_registration,xm as number_input,Om as password_input,zm as radio_input,ap as select_input,lp as tel_input,hp as text_input,cp as toggle_checkbox_input}
4478
+ `}static get properties(){return{_positionTarget:{type:Object}}}get clearElement(){return this.$.clearButton}ready(){super.ready(),this.addController(new Mo(this,(e=>{this._setInputElement(e),this._setFocusElement(e),this.stateTarget=e,this.ariaTarget=e}))),this.addController(new Uo(this.inputElement,this._labelController)),this._tooltipController=new kr(this),this.addController(this._tooltipController),this._tooltipController.setPosition("top"),this._tooltipController.setAriaTarget(this.inputElement),this._tooltipController.setShouldShow((e=>!e.opened)),this._positionTarget=this.shadowRoot.querySelector('[part="input-field"]'),this._toggleElement=this.$.toggleButton}_onClearButtonClick(e){e.stopPropagation(),super._onClearButtonClick(e)}_onHostClick(e){const t=e.composedPath();(t.includes(this._labelNode)||t.includes(this._positionTarget))&&super._onHostClick(e)}}l(np);const sp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.touched=!1,this.handleChange=e=>{this.touched=!0;const t=e.target.value,i=this.options.find((e=>e.value.toLowerCase()===t.toLowerCase()));this.value=i?i.value:t,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)},this.handleBlur=e=>{this.value=e.target.value,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name})},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.action=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.options=[],this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.displayedOptions=this.options.map((e=>({label:e.label,value:e.value.toUpperCase()})))}componentWillLoad(){if(this.action&&!this.options.length&&"GET"==this.action.split(" ")[0]){const e=this.action.split(" ")[1];return this.getOptions(e).then((e=>{const t=Object.keys(e)[0];this.displayedOptions=e[t].map((e=>({label:e.Name,value:e.Alpha2Code})))}))}}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.inputReference=this.element.shadowRoot.querySelector("input"),this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue.toUpperCase(),this.valueHandler({name:this.name,value:this.value}))}getOptions(e){const t=new URL(e);return new Promise(((e,i)=>{fetch(t.href).then((e=>e.json())).then((t=>{e(t)})).catch((e=>{console.error(e),i(e)}))}))}setValidity(){return this.inputReference.validity.valid}setErrorMessage(){if(this.inputReference.validity.valueMissing)return s("requiredError",this.language)}renderTooltip(){return this.showTooltip?i("div",{class:"select__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"f02c73635c87a1937f4718c9de8df3aae8397815",class:`select__wrapper ${this.autofilled?"select__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"26bf79a073dd4c84570e380b1f36bfe848fec568",class:"select__wrapper--flex"},i("label",{key:"6eaafabe58a2dd4e1604ac2e3d55d001e2c4bc7c",class:"select__label",htmlFor:`${this.name}__input`},`${this.displayName} ${this.validation.mandatory?"*":""}`),i("div",{key:"a1de9c4bd3dd4158b26004c6df9dca5915f73978",class:"select__wrapper--relative"},this.tooltip&&i("img",{key:"5cb869c82f53a463c91cd060fad5520d2fbc3d0d",class:"select__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("vaadin-combo-box",{key:"2e94c1faa107657034a98d70b1e98d5c5ab5caa5",name:this.name,id:`${this.name}__input`,class:`select__input ${e} ${this.autofilled?"select__input--autofilled":""}`,"item-label-path":"label","item-value-path":"value",readOnly:this.autofilled,required:this.validation.mandatory,value:this.defaultValue,placeholder:`${this.placeholder}`,items:this.displayedOptions,onChange:this.handleChange,onBlur:this.handleBlur}),i("small",{key:"2c8162576d30265ea49cdc6d99071f614d833d7e",class:"select__error-message"},this.errorMessage))}get element(){return r(this)}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};sp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}:host{height:100%}vaadin-combo-box>input{background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--registration-typography, var(--emw--color-black, #000000));font-weight:300;font-size:16px;-webkit-font-smoothing:initial;}.select{font-family:"Roboto";font-style:normal}.select__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.select__wrapper--autofilled{pointer-events:none}.select__wrapper--autofilled .select__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__wrapper--autofilled .select__input::part(input-field){color:var(--emw--color-black, #000000)}.select__wrapper--flex{display:flex;gap:5px}.select__wrapper--relative{position:relative}.select__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.select__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.select__input{border:none;width:inherit;position:relative}.select__input[focused]::part(input-field){border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.select__input[invalid]::part(input-field){border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__input vaadin-date-picker-overlay-content>vaadin-button{color:var(--emw--color-black, #000000)}.select__input::part(input-field){border-radius:4px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-size:16px;font-weight:300;line-height:1.5;padding:0;height:44px}.select__input::part(toggle-button){position:relative;right:10px}.select__input>input{padding:5px 15px}.select__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.select__tooltip-icon{width:16px;height:auto}.select__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.select__tooltip.visible{opacity:1}';const ap=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.validationPattern="",this.touched=!1,this.handleInput=e=>{this.phoneValue=e.target.value,this.value={prefix:this.prefixValue,phone:this.phoneValue},this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.emitValueHandler(!0)}),500)},this.handleBlur=()=>{this.isValid=this.setValidity(),this.touched=!0,this.errorMessage=this.setErrorMessage()},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.showLabels=void 0,this.action=void 0,this.validation=void 0,this.defaultValue=void 0,this.autofilled=void 0,this.tooltip=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage=void 0,this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value,type:"tel"})}validityStateHandler(e){this.sendValidityState.emit(e)}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value,type:"tel"})}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}connectedCallback(){this.validationPattern=this.setPattern(),this.defaultValue&&(this.prefixValue=this.defaultValue.prefix?this.defaultValue.prefix:this.defaultValue,this.phoneValue=this.defaultValue.phone||null)}componentWillLoad(){if(this.action&&"GET"==this.action.split(" ")[0]){const e=this.action.split(" ")[1];return this.getPhoneCodes(e).then((e=>{this.phoneCodesOptions=e.phoneCodes.map((e=>"object"==typeof e&&e.Prefix?{label:e.Prefix,value:e.Prefix}:{label:e,value:e}))}))}}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.isValid=this.setValidity(),this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value,type:"tel"}))}getPhoneCodes(e){const t=new URL(e);return new Promise(((e,i)=>{fetch(t.href).then((e=>e.json())).then((t=>{e(t)})).catch((e=>{console.error(e),i(e)}))}))}handlePrefixInput(e){this.prefixValue=e.target.value,this.value={prefix:this.prefixValue,phone:this.phoneValue},this.emitValueHandler(!0)}setValidity(){return this.inputReference.validity.valid}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}return this.inputReference.validity.tooShort||this.inputReference.validity.tooLong?s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}}):this.inputReference.validity.valueMissing?s("requiredError",this.language):void 0}renderTooltip(){return this.showTooltip?i("div",{class:"tel__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"c301ee1d0c8c256a5f85275d0693c62c7098a537",class:`tel__wrapper ${this.autofilled?"tel__wrapper--autofilled":""} ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"4e3b00c3df0e3cd225fcaad8b53dd715a74da455",class:"tel__wrapper--flex-label"},i("label",{key:"d7a0c5e439a49a42acf0ca8d65bd91abcea5ca87",class:"tel__label "+(this.validation.mandatory?"tel__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"6ab717e5c3ca495fb5e840a7f7f071b9cb791b54",class:"tel__wrapper--relative"},this.tooltip&&i("img",{key:"54d9bc2283e91af42aca08340e55c404d57cc690",class:"tel__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("div",{key:"7ef8e2f8c5bdcfd228a1ca5debe0de39a066ded0",class:`tel__wrapper--flex ${e}`},i("vaadin-combo-box",{key:"b182d7bc2242f9d2f604360b372a29ebfbae8ca7",class:"tel__prefix",items:this.phoneCodesOptions,value:this.prefixValue,readOnly:this.autofilled,onChange:e=>this.handlePrefixInput(e)}),i("input",{key:"c0edad7e540464c2bf8f0468118ce89ec6ff7a92",type:"tel",ref:e=>this.inputReference=e,id:`${this.name}__input`,readOnly:this.autofilled,class:"tel__input",value:this.phoneValue,placeholder:`${this.placeholder}`,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,pattern:this.validationPattern,onInput:this.handleInput,onBlur:this.handleBlur})),i("small",{key:"3b427400644daa103a48429d7cf1e139ac6fa73d",class:"tel__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};ap.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.tel{font-family:"Roboto";font-style:normal}.tel__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px}.tel__wrapper--autofilled{pointer-events:none}.tel__wrapper--autofilled .tel__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__wrapper--autofilled .tel__input::part(input-field){color:var(--emw--color-black, #000000)}.tel__wrapper--flex{width:inherit;display:flex;align-items:center;border-radius:4px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);overflow:hidden}.tel__wrapper--flex:focus-within{border-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.tel__wrapper--flex--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__wrapper--flex-label{display:flex;gap:5px}.tel__wrapper--flex--relative{position:relative}.tel__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.tel__prefix{--vaadin-field-default-width:90px}.tel__prefix[focus]{outline:none}.tel__prefix::part(input-field){border-radius:0 5px 5px 0;background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);font-family:inherit;font-style:normal;font-weight:300;font-size:16px;line-height:1.5;border:none;border-right:2px solid #DDE0EE;border-image-source:linear-gradient(to bottom, rgba(221, 224, 238, 0) 25%, rgb(221, 224, 238) 25%, rgb(221, 224, 238) 75%, rgba(221, 224, 238, 0) 75%);border-image-slice:1;border-image-repeat:round}.tel__prefix::part(input-field):hover{background-color:var(--emw--color-white, #FFFFFF)}.tel__prefix::part(toggle-button){color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.tel__input{font-family:inherit;border-radius:5px;width:100%;color:var(--emw--registration-typography, var(--emw--color-black, #000000));background-color:var(--emw--color-white, #FFFFFF);border:none;width:inherit;position:relative;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px;height:42px;-moz-appearance:textfield;}.tel__input:focus{outline:none}.tel__input::-webkit-outer-spin-button,.tel__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.tel__input::placeholder{color:var(--emw--color-gray-150, #979797)}.tel__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.tel__tooltip-icon{width:16px;height:auto}.tel__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.tel__tooltip.visible{opacity:1}';const lp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.value="",this.validationPattern="",this.duplicateInputValue=null,this.touched=!1,this.handleInput=e=>{this.value=e.target.value,this.touched=!0,this.debounceTime&&clearTimeout(this.debounceTime),this.debounceTime=setTimeout((()=>{this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name}),this.emitValueHandler(!0)}),500)},this.handleBlur=e=>{this.value=e.target.value,this.touched=!0,this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage(),this.validityStateHandler({valid:this.isValid,name:this.name})},this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.placeholder=void 0,this.validation=void 0,this.defaultValue="",this.autofilled=void 0,this.tooltip=void 0,this.language=void 0,this.checkValidity=void 0,this.emitValue=void 0,this.isDuplicateInput=void 0,this.clientStyling="",this.isValid=void 0,this.errorMessage="",this.limitStylingAppends=!1,this.showTooltip=!1}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityChanged(){this.validityStateHandler({valid:this.isValid,name:this.name}),1==this.emitValue&&this.valueHandler({name:this.name,value:this.value})}emitValueHandler(e){1==e&&this.isValid&&this.valueHandler({name:this.name,value:this.value})}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}valueChangedHandler(e){this.isDuplicateInput&&this.name===e.detail.name+"Duplicate"&&(this.duplicateInputValue=e.detail.value,this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())),this.name===e.detail.name+"Duplicate"&&this.name.replace("Duplicate","")===e.detail.name&&!0===this.touched&&(this.isValid=this.setValidity(),this.errorMessage=this.setErrorMessage())}connectedCallback(){this.validationPattern=this.setPattern()}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.defaultValue&&(this.value=this.defaultValue,this.valueHandler({name:this.name,value:this.value}),this.isDuplicateInput&&(this.touched=!0)),this.isValid=this.setValidity()}setValidity(){var e;return(!this.isDuplicateInput||this.duplicateInputValue===this.value)&&(null===(e=this.inputReference)||void 0===e?void 0:e.validity.valid)}setPattern(){var e,t;if((null===(e=this.validation.custom)||void 0===e?void 0:e.length)>0)return null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.pattern}setErrorMessage(){var e,t,i,r;if(this.inputReference.validity.patternMismatch){const i=null===(e=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===e?void 0:e.errorKey,r=null===(t=this.validation.custom.find((e=>"regex"===e.rule)))||void 0===t?void 0:t.errorMessage;return s(`${i}`,this.language)?s(`${i}`,this.language):r}if(this.inputReference.validity.tooShort||this.inputReference.validity.tooLong)return s("lengthError",this.language,{values:{minLength:this.validation.minLength,maxLength:this.validation.maxLength}});if(this.inputReference.validity.valueMissing)return s("requiredError",this.language);if(this.isDuplicateInput&&this.duplicateInputValue!==this.value){const e=null===(i=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===i?void 0:i.errorKey,t=null===(r=this.validation.custom.find((e=>"duplicate-input"===e.rule)))||void 0===r?void 0:r.errorMessage;return s(`${e}`,this.language)?s(`${e}`,this.language):t}}renderTooltip(){return this.showTooltip?i("div",{class:"text__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){let e="";return this.touched&&(e=1==this.isValid||null==this.isValid?"":"text__input--invalid"),i("div",{key:"e297f841a57c6acf854535a786916aa641831556",class:`text__wrapper ${this.name}__input ${this.autofilled?"text__wrapper--autofilled":""}`,ref:e=>this.stylingContainer=e},i("div",{key:"7fd284a58e58d5c61a03caf4cc317b8dd9dbd82f",class:"text__wrapper--flex"},i("label",{key:"f80a2003386ec867e5310190a7568105c2912569",class:"text__label "+(this.validation.mandatory?"text__label--required":""),htmlFor:`${this.name}__input`},this.displayName),i("div",{key:"e8f5197bd370100406d600be5a336f85f4c6934d",class:"text__wrapper--relative"},this.tooltip&&i("img",{key:"ff8c38fe3495a41a41ac4a1569169ce26a1ec9ce",class:"text__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip())),i("input",{key:"581106e515810ab43f7d6b6eda504ccf23906b0e",name:this.name,id:`${this.name}__input`,value:this.defaultValue,type:"text",class:`text__input ${e}`,placeholder:`${this.placeholder}`,ref:e=>this.inputReference=e,readOnly:this.autofilled,pattern:this.validationPattern,required:this.validation.mandatory,minlength:this.validation.minLength,maxlength:this.validation.maxLength,onInput:this.handleInput,onBlur:this.handleBlur}),i("small",{key:"20620710026982d5fb670a3173bab57a7fa9e7ce",class:"text__error-message"},this.errorMessage))}static get watchers(){return{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}}};lp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.text{font-family:"Roboto";font-style:normal}.text__wrapper{position:relative;width:100%;display:flex;flex-direction:column;gap:5px;height:100%}.text__wrapper--autofilled{pointer-events:none}.text__wrapper--autofilled .text__label{color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__wrapper--autofilled .text__input::part(input-field){color:var(--emw--color-black, #000000)}.text__wrapper--flex{display:flex;gap:5px}.text__wrapper--relative{position:relative}.text__label{font-family:inherit;font-style:normal;font-weight:500;font-size:16px;line-height:20px;color:var(--emw--registration-typography, var(--emw--color-black, #000000))}.text__label--required::after{content:"*";font-family:inherit;color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C));margin-left:2px}.text__input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);background-color:var(--emw--color-white, #FFFFFF);color:var(--emw--color-black, #000000);border-radius:5px;font-size:16px;font-weight:300;line-height:1.5;padding:5px 15px}.text__input:focus{border:1px solid var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.text__input--invalid{border:1px solid var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__input::placeholder{color:var(--emw--color-gray-150, #828282)}.text__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.text__tooltip-icon{width:16px;height:auto}.text__tooltip{position:absolute;top:0;left:20px;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.text__tooltip.visible{opacity:1}';const hp=class{constructor(i){e(this,i),this.sendValidityState=t(this,"sendValidityState",7),this.sendInputValue=t(this,"sendInputValue",7),this.value="",this.setClientStyling=()=>{let e=document.createElement("style");e.innerHTML=this.clientStyling,this.stylingContainer.prepend(e)},this.name=void 0,this.displayName=void 0,this.defaultValue="",this.options=void 0,this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.showFields="true"===this.defaultValue}handleStylingChange(e,t){e!==t&&this.setClientStyling()}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}handleClick(){this.showFields=this.checkboxReference.checked,this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.valueHandler({name:this.name,value:this.checkboxReference.checked?"true":"false",type:"toggle"})}setValidity(){return this.checkboxReference.validity.valid}setErrorMessage(){if(this.checkboxReference.validity.valueMissing)return s("requiredError",this.language)}renderLabel(){return i("label",{class:"togglecheckbox__label",htmlFor:`${this.name}__input`},i("div",{class:"togglecheckbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?i("div",{class:"togglecheckbox__tooltip "+(this.showTooltip?"visible":""),ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return i("div",{key:"e8be91ce94cf76ebecc58a433ab567ab549f4692",class:`togglecheckbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},i("div",{key:"dd42a6316cda06e357843165329de7525a24e3d5",class:"togglecheckbox__wrapper--flex"},i("input",{key:"932a6f8caeafa0d006f636484e33dda246c314d0",class:"togglecheckbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.checkboxReference=e,name:this.name,checked:"true"===this.defaultValue,readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel()),i("small",{key:"cbc789c8a5c21debc05971ff347371fbc25d4975",class:"togglecheckbox__error-message"},this.errorMessage),i("div",{key:"a5ce470c985829eb1f5a0567bb974cc15e3d0d64",class:"togglecheckbox__wrapper--relative"},this.tooltip&&i("img",{key:"faef05dd9341ffe44b6833ca8f4c86b85ed61956",class:"togglecheckbox__tooltip-icon",src:a,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),i("div",{key:"89fed5f103acecca78fa53eea64d57574ef42727",class:"togglecheckbox__fields-wrapper "+(this.showFields?"":"hidden")},this.options.map((e=>i("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:null==e.placeholder?"":e.placeholder})))))}static get watchers(){return{clientStyling:["handleStylingChange"]}}};hp.style='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}';export{Ho as checkbox_group_input,Vo as checkbox_input,fh as date_input,vh as email_input,gh as general_input,wm as general_registration,km as number_input,Nm as password_input,Om as radio_input,sp as select_input,ap as tel_input,lp as text_input,hp as toggle_checkbox_input}