@everymatrix/player-account-controller-nd 1.77.11 → 1.77.13

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 (96) hide show
  1. package/components/{PlayerAccountControllerNd-Ce4u6mZL.js → PlayerAccountControllerNd-D6DUFuwi.js} +10 -10
  2. package/components/{PlayerAccountControllerNd-BlBdX9jw.js → PlayerAccountControllerNd-DJREs-4f.js} +10 -10
  3. package/components/{PlayerAccountControllerNd-CKltZolI.cjs → PlayerAccountControllerNd-yNjmMRI0.cjs} +1 -1
  4. package/components/{PlayerAccountGamingLimits-BHFdTi-b.js → PlayerAccountGamingLimits-CYnZR3hE.js} +1 -1
  5. package/components/{PlayerAccountGamingLimits-CNqLsOTQ.js → PlayerAccountGamingLimits-Cav6MkbQ.js} +1 -1
  6. package/components/{PlayerAccountGamingLimits-DBmAe71j.cjs → PlayerAccountGamingLimits-CiDMdVTv.cjs} +1 -1
  7. package/components/PlayerAccountGamingLimitsGroupEdit-1hx4IMfZ.cjs +2 -0
  8. package/components/{PlayerAccountGamingLimitsGroupEdit-BwNgvXi1.js → PlayerAccountGamingLimitsGroupEdit-DDJtWF20.js} +392 -403
  9. package/components/{PlayerAccountGamingLimitsGroupEdit-CzGr43_o.js → PlayerAccountGamingLimitsGroupEdit-SZidy2nv.js} +392 -403
  10. package/components/{PlayerAccountGamingLimitsInfoCard-B1-N6WtT.js → PlayerAccountGamingLimitsInfoCard-CC-aAGlA.js} +2 -2
  11. package/components/{PlayerAccountGamingLimitsInfoCard-bE9kzAeZ.js → PlayerAccountGamingLimitsInfoCard-CUC66vKq.js} +2 -2
  12. package/components/{PlayerAccountGamingLimitsInfoCard-CQCgzjw9.cjs → PlayerAccountGamingLimitsInfoCard-DiwA1vyP.cjs} +1 -1
  13. package/components/{PlayerAccountProductRestriction-d2SCTrU-.js → PlayerAccountProductRestriction-CKsCHn9d.js} +7 -6
  14. package/components/{PlayerAccountProductRestriction-DOBaq4Bs.js → PlayerAccountProductRestriction-Cfbg3atQ.js} +7 -6
  15. package/components/{PlayerAccountProductRestriction-B7WLKtNE.cjs → PlayerAccountProductRestriction-DpoND4WA.cjs} +7 -6
  16. package/components/{PlayerAccountSelfExclusionNd-C6PgvFDl.js → PlayerAccountSelfExclusionNd-BANDGaGw.js} +1 -1
  17. package/components/{PlayerAccountSelfExclusionNd-DQ1ADTio.cjs → PlayerAccountSelfExclusionNd-BX24BZLD.cjs} +1 -1
  18. package/components/{PlayerAccountSelfExclusionNd-yCkXY7H5.js → PlayerAccountSelfExclusionNd-DYXfjhxS.js} +1 -1
  19. package/components/{PlayerAccountTimeout-CUOGbwJv.cjs → PlayerAccountTimeout-CaW4UDeS.cjs} +1 -1
  20. package/components/{PlayerAccountTimeout-RwSOQEd2.js → PlayerAccountTimeout-CkAAhRdI.js} +2 -2
  21. package/components/{PlayerAccountTimeout-BlrXwSPL.js → PlayerAccountTimeout-DTtDGouR.js} +2 -2
  22. package/components/{PlayerAccountTransactionsHistory-mRjpo6pB.js → PlayerAccountTransactionsHistory-BEISxOCD.js} +2 -2
  23. package/components/{PlayerAccountTransactionsHistory-BqQHYVh0.js → PlayerAccountTransactionsHistory-CA9h81DH.js} +2 -2
  24. package/components/{PlayerAccountTransactionsHistory-bvwfJVfF.cjs → PlayerAccountTransactionsHistory-Ck5t3YPa.cjs} +1 -1
  25. package/components/{PlayerActiveBonuses-l9oblXvs.cjs → PlayerActiveBonuses-CATHe2_y.cjs} +1 -1
  26. package/components/{PlayerActiveBonuses-0DL7pJGO.js → PlayerActiveBonuses-LSqzOYvL.js} +1 -1
  27. package/components/{PlayerActiveBonuses-jTFZ5BGg.js → PlayerActiveBonuses-VWO_GaqX.js} +1 -1
  28. package/components/{PlayerBonusCard-DY0fnJ_l.js → PlayerBonusCard--qb8e-ea.js} +1 -1
  29. package/components/{PlayerBonusCard-ktK1IK1I.cjs → PlayerBonusCard-B-Iz8g8U.cjs} +1 -1
  30. package/components/{PlayerBonusCard-56gDai5n.js → PlayerBonusCard-Bi4RwIt8.js} +1 -1
  31. package/components/{PlayerBonusHistory-B-jGVICH.js → PlayerBonusHistory-B0YgUvFz.js} +3 -3
  32. package/components/{PlayerBonusHistory-Doizq4nV.js → PlayerBonusHistory-B539ZUXG.js} +3 -3
  33. package/components/{PlayerBonusHistory-BG9GQXmh.cjs → PlayerBonusHistory-CZ25C8D4.cjs} +1 -1
  34. package/components/{PlayerGamingHistory-i0cKykG3.js → PlayerGamingHistory-BqHgUw0y.js} +261 -255
  35. package/components/PlayerGamingHistory-CzOtTx_g.cjs +1 -0
  36. package/components/{PlayerGamingHistory-CK8raMIV.js → PlayerGamingHistory-DixNpKvJ.js} +276 -270
  37. package/es2015/player-account-controller-nd.cjs +1 -1
  38. package/es2015/player-account-controller-nd.js +1 -1
  39. package/esnext/player-account-controller-nd.js +1 -1
  40. package/lazy/{pam-change-password-tylIB01L.js → pam-change-password-8fGivTDQ.js} +1 -1
  41. package/lazy/{pam-change-password-DfqN6LGk.cjs → pam-change-password-DgPmFEYj.cjs} +1 -1
  42. package/lazy/{pam-change-password-BNhhM_c-.js → pam-change-password-DxJulz-x.js} +1 -1
  43. package/lazy/{player-account-gaming-limits-DBY5RU4t.cjs → player-account-gaming-limits-B2KO28YV.cjs} +1 -1
  44. package/lazy/{player-account-gaming-limits-DGi8ZkO-.js → player-account-gaming-limits-HHNQGgVG.js} +1 -1
  45. package/lazy/{player-account-gaming-limits-OepIVedU.js → player-account-gaming-limits-__D6g8d7.js} +1 -1
  46. package/lazy/{player-account-gaming-limits-group-edit-CFV81CCX.js → player-account-gaming-limits-group-edit-D1qG9G3U.js} +1 -1
  47. package/lazy/{player-account-gaming-limits-group-edit-B16AZL_5.cjs → player-account-gaming-limits-group-edit-DXnnPr1t.cjs} +1 -1
  48. package/lazy/{player-account-gaming-limits-group-edit-BdStffC5.js → player-account-gaming-limits-group-edit-DeXbYsfI.js} +1 -1
  49. package/lazy/{player-account-gaming-limits-info-card-CwTuCuue.js → player-account-gaming-limits-info-card-BZjepG64.js} +1 -1
  50. package/lazy/{player-account-gaming-limits-info-card-Djd6nNf_.js → player-account-gaming-limits-info-card-BojxNDe7.js} +1 -1
  51. package/lazy/{player-account-gaming-limits-info-card-FX8wVV9Z.cjs → player-account-gaming-limits-info-card-Dl5AVfDR.cjs} +1 -1
  52. package/lazy/{player-account-product-restriction-z2nlm6d9.cjs → player-account-product-restriction-BptSfY-X.cjs} +1 -1
  53. package/lazy/{player-account-product-restriction-JNLMuMTN.js → player-account-product-restriction-_EqreKWC.js} +1 -1
  54. package/lazy/{player-account-product-restriction-8FXxJGVY.js → player-account-product-restriction-i8J7ljC7.js} +1 -1
  55. package/lazy/{player-account-self-exclusion-nd-B0aejjB1.cjs → player-account-self-exclusion-nd-BV2RBXNh.cjs} +1 -1
  56. package/lazy/{player-account-self-exclusion-nd-BmkC7iZc.js → player-account-self-exclusion-nd-B_YARsgl.js} +1 -1
  57. package/lazy/{player-account-self-exclusion-nd-5cAFoXhb.js → player-account-self-exclusion-nd-CtR-st1p.js} +1 -1
  58. package/lazy/{player-account-timeout-Cw9gAu66.js → player-account-timeout-B5CC-xhy.js} +1 -1
  59. package/lazy/{player-account-timeout-9FdlsRrf.js → player-account-timeout-DJW4e1NW.js} +1 -1
  60. package/lazy/{player-account-timeout-CwDu_AdR.cjs → player-account-timeout-v3-rM2VF.cjs} +1 -1
  61. package/lazy/{player-account-transactions-history-Cy-A2v-7.js → player-account-transactions-history-escbRwvG.js} +1 -1
  62. package/lazy/{player-account-transactions-history-DavSKMv9.cjs → player-account-transactions-history-mkoEUozA.cjs} +1 -1
  63. package/lazy/{player-account-transactions-history-CSA6I9co.js → player-account-transactions-history-tTZykFHo.js} +1 -1
  64. package/lazy/{player-active-bonuses-6U_Px35k.js → player-active-bonuses-BHHYgNqe.js} +1 -1
  65. package/lazy/{player-active-bonuses-CxEwdoPk.cjs → player-active-bonuses-CAw-zrFj.cjs} +1 -1
  66. package/lazy/{player-active-bonuses-uFinJnlE.js → player-active-bonuses-CW09OXoB.js} +1 -1
  67. package/lazy/{player-bonus-card-BhoKGJsZ.cjs → player-bonus-card-B0ePpBW6.cjs} +1 -1
  68. package/lazy/{player-bonus-card-HnNTAXOO.js → player-bonus-card-Cg28SuJB.js} +1 -1
  69. package/lazy/{player-bonus-card-D5Ym04RN.js → player-bonus-card-Dy6ovb3B.js} +1 -1
  70. package/lazy/{player-bonus-history-lXHc5o_B.cjs → player-bonus-history-CFNJ4VSH.cjs} +1 -1
  71. package/lazy/{player-bonus-history-nO2GAuYd.js → player-bonus-history-Cl1dUjrp.js} +1 -1
  72. package/lazy/{player-bonus-history-DYS0YBSD.js → player-bonus-history-DOvGiYVu.js} +1 -1
  73. package/lazy/{player-gaming-history-h2IeJx0g.js → player-gaming-history-BCIzzZ4q.js} +1 -1
  74. package/lazy/{player-gaming-history-CCzX8Uhq.js → player-gaming-history-C0ojuB4I.js} +1 -1
  75. package/lazy/{player-gaming-history-CPJyPXhq.cjs → player-gaming-history-DSYvTj_Z.cjs} +1 -1
  76. package/lazy/{user-transaction-history-DqA6RN_5.js → user-transaction-history-9NQOfzj1.js} +1 -1
  77. package/lazy/{user-transaction-history-DpobEJQ0.js → user-transaction-history-B4416U-a.js} +1 -1
  78. package/lazy/{user-transaction-history-B6TGN86v.cjs → user-transaction-history-qqa609b4.cjs} +1 -1
  79. package/package.json +1 -1
  80. package/stencil/{checkbox-group-input_15-F3Z8qZgj.js → checkbox-group-input_15-C1VLXj3-.js} +9 -8
  81. package/stencil/{checkbox-group-input_15-CsV0R9Nf.cjs → checkbox-group-input_15-DsaT4Kv3.cjs} +8 -7
  82. package/stencil/{checkbox-group-input_15-kQJ1zCCP.js → checkbox-group-input_15-nf479NaC.js} +9 -8
  83. package/stencil/{pam-change-password-9aef79f2-aTOZdcZZ.js → pam-change-password-9aef79f2-B0CWDPcM.js} +1 -1
  84. package/stencil/{pam-change-password-9aef79f2-C9o7qKhD.cjs → pam-change-password-9aef79f2-Cg2a7X0m.cjs} +1 -1
  85. package/stencil/{pam-change-password-9aef79f2-DXczdkXL.js → pam-change-password-9aef79f2-CqNLWppD.js} +1 -1
  86. package/stencil/{pam-change-password-AMJB50Sf.js → pam-change-password-Bk4DJ1fr.js} +2 -2
  87. package/stencil/{pam-change-password-DcSawkGF.cjs → pam-change-password-ButHmEz5.cjs} +1 -1
  88. package/stencil/{pam-change-password-D_zgEEPs.js → pam-change-password-CecdFumi.js} +2 -2
  89. package/stencil/{user-transaction-history-DGzvTRa-.js → user-transaction-history-C5tTyvBr.js} +2 -2
  90. package/stencil/{user-transaction-history-C32qnGIS.cjs → user-transaction-history-CFcieKbG.cjs} +1 -1
  91. package/stencil/{user-transaction-history-J4HddpXQ.js → user-transaction-history-KNwoproP.js} +2 -2
  92. package/stencil/{user-transaction-history_2-5E0ILxt8.cjs → user-transaction-history_2-BdgXSIA4.cjs} +8 -7
  93. package/stencil/{user-transaction-history_2-Dna2_m6r.js → user-transaction-history_2-CcWHOflK.js} +8 -7
  94. package/stencil/{user-transaction-history_2-Dn1aAhz5.js → user-transaction-history_2-DsaQIqXl.js} +8 -7
  95. package/components/PlayerAccountGamingLimitsGroupEdit-BEnGFhHP.cjs +0 -2
  96. package/components/PlayerGamingHistory-DUdwe4j2.cjs +0 -1
@@ -1,4 +1,4 @@
1
- "use strict";const s=require("../lazy/pam-change-password-DfqN6LGk.cjs"),g="en",w={en:{title:"Change Password",btnSubmit:"Change Password",passwordPlaceholderText:"Please enter your password",newPasswordPlaceholderText:"Please enter your new password",confirmPasswordPlaceholderText:"Please confirm your new password",passwordDisplayText:"Current Password",newPasswordDisplayText:"New Password",confirmPasswordDisplayText:"Confirm Password",successMsg:"Password changed successfully",errorMsgGeneric:"There was an error when attempting to change your password","gm.pms.password_not_verified_unauthorized":"The current password you have entered is incorrect","gm.pms.password_policy_failed":"Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},fr:{title:"Changer le mot de passe",btnSubmit:"Changer le mot de passe",passwordPlaceholderText:"Veuillez entrer votre mot de passe",newPasswordPlaceholderText:"Veuillez entrer votre nouveau mot de passe",confirmPasswordPlaceholderText:"Veuillez confirmer votre nouveau mot de passe",passwordDisplayText:"Mot de passe actuel",newPasswordDisplayText:"Nouveau mot de passe",confirmPasswordDisplayText:"Confirmer le mot de passe",successMsg:"Mot de passe changé avec succès",errorMsgGeneric:"Une erreur est survenue lors de la tentative de changement de mot de passe","gm.pms.password_not_verified_unauthorized":"Le mot de passe actuel que vous avez entré est incorrect","gm.pms.password_policy_failed":"Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},ro:{title:"Schimbă Parola",btnSubmit:"Schimbă Parola",passwordPlaceholderText:"Vă rugăm să introduceți parola",newPasswordPlaceholderText:"Vă rugăm să introduceți noua parolă",confirmPasswordPlaceholderText:"Vă rugăm să confirmați noua parolă",passwordDisplayText:"Parolă Curentă",newPasswordDisplayText:"Parolă Nouă",confirmPasswordDisplayText:"Confirmă Parola",successMsg:"Parola a fost schimbată cu succes",errorMsgGeneric:"A apărut o eroare la încercarea de schimbare a parolei","gm.pms.password_not_verified_unauthorized":"Parola curentă introdusă este incorectă","gm.pms.password_policy_failed":"Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},es:{title:"Cambiar Contraseña",btnSubmit:"Cambiar Contraseña",passwordPlaceholderText:"Por favor, introduce tu contraseña",newPasswordPlaceholderText:"Por favor, introduce tu nueva contraseña",confirmPasswordPlaceholderText:"Por favor, confirma tu nueva contraseña",passwordDisplayText:"Contraseña Actual",newPasswordDisplayText:"Nueva Contraseña",confirmPasswordDisplayText:"Confirmar Contraseña",successMsg:"Contraseña cambiada con éxito",errorMsgGeneric:"Hubo un error al intentar cambiar tu contraseña","gm.pms.password_not_verified_unauthorized":"La contraseña actual que has introducido es incorrecta","gm.pms.password_policy_failed":"La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},pt:{title:"Alterar Senha",btnSubmit:"Alterar Senha",passwordPlaceholderText:"Por favor, insira sua senha",newPasswordPlaceholderText:"Por favor, insira sua nova senha",confirmPasswordPlaceholderText:"Por favor, confirme sua nova senha",passwordDisplayText:"Senha Atual",newPasswordDisplayText:"Nova Senha",confirmPasswordDisplayText:"Confirmar Senha",successMsg:"Senha alterada com sucesso",errorMsgGeneric:"Ocorreu um erro ao tentar alterar sua senha","gm.pms.password_not_verified_unauthorized":"A senha atual que você inseriu está incorreta","gm.pms.password_policy_failed":"A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},hr:{title:"Promijeni lozinku",btnSubmit:"Promijeni lozinku",passwordPlaceholderText:"Unesite svoju lozinku",newPasswordPlaceholderText:"Unesite novu lozinku",confirmPasswordPlaceholderText:"Potvrdite novu lozinku",passwordDisplayText:"Trenutna lozinka",newPasswordDisplayText:"Nova lozinka",confirmPasswordDisplayText:"Potvrdite lozinku",successMsg:"Lozinka je uspješno promijenjena",errorMsgGeneric:"Došlo je do pogreške prilikom pokušaja promjene lozinke","gm.pms.password_not_verified_unauthorized":"Unesena trenutna lozinka nije ispravna","gm.pms.password_policy_failed":"Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},tr:{title:"Şifreyi Değiştir",btnSubmit:"Şifreyi Değiştir",passwordPlaceholderText:"Lütfen şifrenizi girin",newPasswordPlaceholderText:"Lütfen yeni şifrenizi girin",confirmPasswordPlaceholderText:"Lütfen yeni şifrenizi onaylayın",passwordDisplayText:"Mevcut Şifre",newPasswordDisplayText:"Yeni Şifre",confirmPasswordDisplayText:"Şifreyi Onaylayın",successMsg:"Şifre başarıyla değiştirildi",errorMsgGeneric:"Şifrenizi değiştirirken bir hata oluştu","gm.pms.password_not_verified_unauthorized":"Girdiğiniz mevcut şifre yanlış","gm.pms.password_policy_failed":"Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},hu:{title:"Jelszó megváltoztatása",btnSubmit:"Jelszó megváltoztatása",passwordPlaceholderText:"Kérjük, adja meg a jelszavát",newPasswordPlaceholderText:"Kérjük, adja meg az új jelszavát",confirmPasswordPlaceholderText:"Kérjük, erősítse meg az új jelszavát",passwordDisplayText:"Jelenlegi jelszó",newPasswordDisplayText:"Új jelszó",confirmPasswordDisplayText:"Jelszó megerősítése",successMsg:"A jelszó sikeresen megváltozott",errorMsgGeneric:"Hiba történt a jelszó megváltoztatásakor","gm.pms.password_not_verified_unauthorized":"A megadott jelenlegi jelszó helytelen","gm.pms.password_policy_failed":"A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."}},P=a=>new Promise(n=>{fetch(a).then(e=>e.json()).then(e=>{Object.keys(e).forEach(t=>{for(let o in e[t])w[t][o]=e[t][o]}),n(!0)})}),i=(a,n,e)=>{const t=n;let o=w[t!==void 0?t:g][a];if(e!==void 0)for(const[l,r]of Object.entries(e.values)){const d=new RegExp(`{${l}}`,"g");o=o.replace(d,r)}return o};function c(){const a=navigator.userAgent.toLowerCase(),n=screen.availWidth,e=screen.availHeight;if(a.includes("iphone"))return"mobile";if(a.includes("android")){if(e>n&&n<800)return"mobile";if(n>e&&e<800)return"tablet"}return"desktop"}function m(a,n){if(a){const e=document.createElement("style");e.innerHTML=n,a.appendChild(e)}}function h(a,n){const e=new URL(n);fetch(e.href).then(t=>t.text()).then(t=>{const o=document.createElement("style");o.innerHTML=t,a&&a.appendChild(o)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function f(a,n,e){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(n,o=>{t.innerHTML=o,a&&a.appendChild(t)})}}const y=`:host {
1
+ "use strict";const s=require("../lazy/pam-change-password-DgPmFEYj.cjs"),g="en",w={en:{title:"Change Password",btnSubmit:"Change Password",passwordPlaceholderText:"Please enter your password",newPasswordPlaceholderText:"Please enter your new password",confirmPasswordPlaceholderText:"Please confirm your new password",passwordDisplayText:"Current Password",newPasswordDisplayText:"New Password",confirmPasswordDisplayText:"Confirm Password",successMsg:"Password changed successfully",errorMsgGeneric:"There was an error when attempting to change your password","gm.pms.password_not_verified_unauthorized":"The current password you have entered is incorrect","gm.pms.password_policy_failed":"Password cannot be the same as any of the {forbiddenLastPasswordsCount} previous passwords. Password cannot be changed sooner than {minimumPasswordAgeLimitHours} {hours} after the last change.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},fr:{title:"Changer le mot de passe",btnSubmit:"Changer le mot de passe",passwordPlaceholderText:"Veuillez entrer votre mot de passe",newPasswordPlaceholderText:"Veuillez entrer votre nouveau mot de passe",confirmPasswordPlaceholderText:"Veuillez confirmer votre nouveau mot de passe",passwordDisplayText:"Mot de passe actuel",newPasswordDisplayText:"Nouveau mot de passe",confirmPasswordDisplayText:"Confirmer le mot de passe",successMsg:"Mot de passe changé avec succès",errorMsgGeneric:"Une erreur est survenue lors de la tentative de changement de mot de passe","gm.pms.password_not_verified_unauthorized":"Le mot de passe actuel que vous avez entré est incorrect","gm.pms.password_policy_failed":"Le mot de passe ne peut pas être identique à l'un des {forbiddenLastPasswordsCount} derniers mots de passe. Le mot de passe ne peut pas être changé avant {minimumPasswordAgeLimitHours} {hours} après le dernier changement.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},ro:{title:"Schimbă Parola",btnSubmit:"Schimbă Parola",passwordPlaceholderText:"Vă rugăm să introduceți parola",newPasswordPlaceholderText:"Vă rugăm să introduceți noua parolă",confirmPasswordPlaceholderText:"Vă rugăm să confirmați noua parolă",passwordDisplayText:"Parolă Curentă",newPasswordDisplayText:"Parolă Nouă",confirmPasswordDisplayText:"Confirmă Parola",successMsg:"Parola a fost schimbată cu succes",errorMsgGeneric:"A apărut o eroare la încercarea de schimbare a parolei","gm.pms.password_not_verified_unauthorized":"Parola curentă introdusă este incorectă","gm.pms.password_policy_failed":"Parola nu poate fi aceeași cu oricare dintre ultimele {forbiddenLastPasswordsCount} parole. Parola nu poate fi schimbată mai devreme de {minimumPasswordAgeLimitHours} {hours} după ultima schimbare.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},es:{title:"Cambiar Contraseña",btnSubmit:"Cambiar Contraseña",passwordPlaceholderText:"Por favor, introduce tu contraseña",newPasswordPlaceholderText:"Por favor, introduce tu nueva contraseña",confirmPasswordPlaceholderText:"Por favor, confirma tu nueva contraseña",passwordDisplayText:"Contraseña Actual",newPasswordDisplayText:"Nueva Contraseña",confirmPasswordDisplayText:"Confirmar Contraseña",successMsg:"Contraseña cambiada con éxito",errorMsgGeneric:"Hubo un error al intentar cambiar tu contraseña","gm.pms.password_not_verified_unauthorized":"La contraseña actual que has introducido es incorrecta","gm.pms.password_policy_failed":"La contraseña no puede ser la misma que cualquiera de las {forbiddenLastPasswordsCount} contraseñas anteriores. La contraseña no se puede cambiar antes de {minimumPasswordAgeLimitHours} {hours} después del último cambio.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},pt:{title:"Alterar Senha",btnSubmit:"Alterar Senha",passwordPlaceholderText:"Por favor, insira sua senha",newPasswordPlaceholderText:"Por favor, insira sua nova senha",confirmPasswordPlaceholderText:"Por favor, confirme sua nova senha",passwordDisplayText:"Senha Atual",newPasswordDisplayText:"Nova Senha",confirmPasswordDisplayText:"Confirmar Senha",successMsg:"Senha alterada com sucesso",errorMsgGeneric:"Ocorreu um erro ao tentar alterar sua senha","gm.pms.password_not_verified_unauthorized":"A senha atual que você inseriu está incorreta","gm.pms.password_policy_failed":"A senha não pode ser a mesma que qualquer uma das últimas {forbiddenLastPasswordsCount} senhas. A senha não pode ser alterada antes de {minimumPasswordAgeLimitHours} {hours} após a última alteração.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},hr:{title:"Promijeni lozinku",btnSubmit:"Promijeni lozinku",passwordPlaceholderText:"Unesite svoju lozinku",newPasswordPlaceholderText:"Unesite novu lozinku",confirmPasswordPlaceholderText:"Potvrdite novu lozinku",passwordDisplayText:"Trenutna lozinka",newPasswordDisplayText:"Nova lozinka",confirmPasswordDisplayText:"Potvrdite lozinku",successMsg:"Lozinka je uspješno promijenjena",errorMsgGeneric:"Došlo je do pogreške prilikom pokušaja promjene lozinke","gm.pms.password_not_verified_unauthorized":"Unesena trenutna lozinka nije ispravna","gm.pms.password_policy_failed":"Lozinka ne može biti ista kao bilo koja od posljednjih {forbiddenLastPasswordsCount} lozinki. Lozinka se ne može promijeniti prije nego što prođe {minimumPasswordAgeLimitHours} {hours} od posljednje promjene.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},tr:{title:"Şifreyi Değiştir",btnSubmit:"Şifreyi Değiştir",passwordPlaceholderText:"Lütfen şifrenizi girin",newPasswordPlaceholderText:"Lütfen yeni şifrenizi girin",confirmPasswordPlaceholderText:"Lütfen yeni şifrenizi onaylayın",passwordDisplayText:"Mevcut Şifre",newPasswordDisplayText:"Yeni Şifre",confirmPasswordDisplayText:"Şifreyi Onaylayın",successMsg:"Şifre başarıyla değiştirildi",errorMsgGeneric:"Şifrenizi değiştirirken bir hata oluştu","gm.pms.password_not_verified_unauthorized":"Girdiğiniz mevcut şifre yanlış","gm.pms.password_policy_failed":"Şifre, son {forbiddenLastPasswordsCount} şifreden herhangi biriyle aynı olamaz. Şifre, son değişiklikten sonra {minimumPasswordAgeLimitHours} {hours} içinde değiştirilemez.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."},hu:{title:"Jelszó megváltoztatása",btnSubmit:"Jelszó megváltoztatása",passwordPlaceholderText:"Kérjük, adja meg a jelszavát",newPasswordPlaceholderText:"Kérjük, adja meg az új jelszavát",confirmPasswordPlaceholderText:"Kérjük, erősítse meg az új jelszavát",passwordDisplayText:"Jelenlegi jelszó",newPasswordDisplayText:"Új jelszó",confirmPasswordDisplayText:"Jelszó megerősítése",successMsg:"A jelszó sikeresen megváltozott",errorMsgGeneric:"Hiba történt a jelszó megváltoztatásakor","gm.pms.password_not_verified_unauthorized":"A megadott jelenlegi jelszó helytelen","gm.pms.password_policy_failed":"A jelszó nem egyezhet meg az utolsó {forbiddenLastPasswordsCount} jelszóval. A jelszó nem változtatható meg {minimumPasswordAgeLimitHours} {hours}-on belül az utolsó módosítás óta.",passwordContainsFirstName:"Password should not contain your first name.",passwordContainsLastName:"Password should not contain your last name.",passwordContainsUsername:"Password should not contain your username.",passwordContainsEmail:"Password should not contain your email.",passwordContainsFirstNamePlusLastName:"Password should not contain first name + last name.",passwordContainsFirstNameAndLastName:"Password should not contain first name and last name.",passwordContainsDateOfBirth:"Password should not contain date of birth."}},P=a=>new Promise(n=>{fetch(a).then(e=>e.json()).then(e=>{Object.keys(e).forEach(t=>{for(let o in e[t])w[t][o]=e[t][o]}),n(!0)})}),i=(a,n,e)=>{const t=n;let o=w[t!==void 0?t:g][a];if(e!==void 0)for(const[l,r]of Object.entries(e.values)){const d=new RegExp(`{${l}}`,"g");o=o.replace(d,r)}return o};function c(){const a=navigator.userAgent.toLowerCase(),n=screen.availWidth,e=screen.availHeight;if(a.includes("iphone"))return"mobile";if(a.includes("android")){if(e>n&&n<800)return"mobile";if(n>e&&e<800)return"tablet"}return"desktop"}function m(a,n){if(a){const e=document.createElement("style");e.innerHTML=n,a.appendChild(e)}}function h(a,n){const e=new URL(n);fetch(e.href).then(t=>t.text()).then(t=>{const o=document.createElement("style");o.innerHTML=t,a&&a.appendChild(o)}).catch(t=>{console.error("There was an error while trying to load client styling from URL",t)})}function f(a,n,e){if(window.emMessageBus){const t=document.createElement("style");window.emMessageBus.subscribe(n,o=>{t.innerHTML=o,a&&a.appendChild(t)})}}const y=`:host {
2
2
  display: block;
3
3
  }
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as p, h as s } from "../lazy/pam-change-password-BNhhM_c-.js";
1
+ import { r as p, h as s } from "../lazy/pam-change-password-DxJulz-x.js";
2
2
  const g = "en", w = {
3
3
  en: {
4
4
  title: "Change Password",
@@ -1,5 +1,5 @@
1
- import { b as i, p as a } from "../lazy/pam-change-password-tylIB01L.js";
2
- import { s as g } from "../lazy/pam-change-password-tylIB01L.js";
1
+ import { b as i, p as a } from "../lazy/pam-change-password-8fGivTDQ.js";
2
+ import { s as g } from "../lazy/pam-change-password-8fGivTDQ.js";
3
3
  import { g as t } from "./app-globals-0f993ce5-DzSE6TtH.js";
4
4
  var n = () => {
5
5
  const e = import.meta.url, l = {};
@@ -1 +1 @@
1
- "use strict";var u=(l,i,a)=>new Promise((g,s)=>{var r=e=>{try{t(a.next(e))}catch(n){s(n)}},p=e=>{try{t(a.throw(e))}catch(n){s(n)}},t=e=>e.done?g(e.value):Promise.resolve(e.value).then(r,p);t((a=a.apply(l,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../lazy/pam-change-password-DfqN6LGk.cjs"),c=require("./app-globals-0f993ce5-DgYhdguE.cjs");var d=typeof document!="undefined"?document.currentScript:null,m=()=>{const l=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:d&&d.tagName.toUpperCase()==="SCRIPT"&&d.src||new URL("stencil/pam-change-password-DcSawkGF.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),o.promiseResolve(i)};m().then(l=>u(exports,null,function*(){return yield c.globalScripts(),o.bootstrapLazy([["checkbox-group-input_15",[[1,"pam-change-password",{language:[513],endpoint:[513],session:[513],token:[513],forgotMode:[513,"forgot-mode"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[513,"translation-url"],isBtnSubmitEnabled:[32],isSkeletonLoading:[32],isMobile:[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}],[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],hidePasswordComplexity:[516,"hide-password-complexity"],noValidation:[516,"no-validation"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"],twofaDestination:[513,"twofa-destination"],twofaResendIntervalSeconds:[514,"twofa-resend-interval-seconds"]}],[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"]}],[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32],showCheckboxes:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],noValidation:[516,"no-validation"],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],hidePasswordComplexity:[516,"hide-password-complexity"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],disablePhonePrefix:[32],phoneValue:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"twofa-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],destination:[513],resendIntervalSeconds:[514,"resend-interval-seconds"],clientStyling:[513,"client-styling"],limitStylingAppends:[32],isValid:[32],isResendButtonAvailable:[32],showTooltip:[32],errorMessage:[32],code:[32],resendIntervalSecondsLeft:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]]],l)}));exports.setNonce=o.setNonce;
1
+ "use strict";var u=(l,i,a)=>new Promise((g,s)=>{var r=e=>{try{t(a.next(e))}catch(n){s(n)}},p=e=>{try{t(a.throw(e))}catch(n){s(n)}},t=e=>e.done?g(e.value):Promise.resolve(e.value).then(r,p);t((a=a.apply(l,i)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../lazy/pam-change-password-DgPmFEYj.cjs"),c=require("./app-globals-0f993ce5-DgYhdguE.cjs");var d=typeof document!="undefined"?document.currentScript:null,m=()=>{const l=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:d&&d.tagName.toUpperCase()==="SCRIPT"&&d.src||new URL("stencil/pam-change-password-ButHmEz5.cjs",document.baseURI).href,i={};return l!==""&&(i.resourcesUrl=new URL(".",l).href),o.promiseResolve(i)};m().then(l=>u(exports,null,function*(){return yield c.globalScripts(),o.bootstrapLazy([["checkbox-group-input_15",[[1,"pam-change-password",{language:[513],endpoint:[513],session:[513],token:[513],forgotMode:[513,"forgot-mode"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[1,"mb-source"],translationUrl:[513,"translation-url"],isBtnSubmitEnabled:[32],isSkeletonLoading:[32],isMobile:[32]},[[0,"sendValidityState","sendValidityStateHandler"],[0,"sendInputValue","sendInputValueHandler"]],{clientStyling:["handleClientStylingChange","handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}],[1,"general-input",{type:[513],name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],validation:[16],options:[520],language:[513],autofilled:[516],tooltip:[513],defaultValue:[520,"default-value"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],hidePasswordComplexity:[516,"hide-password-complexity"],noValidation:[516,"no-validation"],clientStyling:[520,"client-styling"],dateFormat:[513,"date-format"],translationUrl:[513,"translation-url"],emitOnClick:[516,"emit-on-click"],twofaDestination:[513,"twofa-destination"],twofaResendIntervalSeconds:[514,"twofa-resend-interval-seconds"]}],[1,"toggle-checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],options:[16],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],showFields:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"]}],[1,"checkbox-group-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32],selectedValues:[32],showCheckboxes:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],selectedValues:["setValue"],emitValue:["emitValueHandler"]}],[1,"checkbox-input",{name:[513],displayName:[513,"display-name"],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"date-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],dateFormat:[513,"date-format"],emitOnClick:[516,"emit-on-click"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"email-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"number-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"password-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],validation:[16],noValidation:[516,"no-validation"],language:[513],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],hidePasswordComplexity:[516,"hide-password-complexity"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],passwordComplexity:[32],showPopup:[32],value:[32]},[[16,"sendOriginalValidityState","originalValidityChangedHandler"],[16,"sendInputValue","valueChangedHandler"],[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],value:["valueChanged"],emitValue:["emitValueHandler"]}],[1,"radio-input",{name:[513],displayName:[513,"display-name"],optionsGroup:[16],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"select-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],action:[513],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],options:[16],validation:[16],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],errorMessage:[32],isValid:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"tel-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],showLabels:[516,"show-labels"],action:[513],validation:[16],defaultValue:[520,"default-value"],autofilled:[516],tooltip:[513],language:[513],emitValue:[516,"emit-value"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32],disablePhonePrefix:[32],phoneValue:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"text-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],defaultValue:[513,"default-value"],autofilled:[516],tooltip:[513],language:[513],checkValidity:[516,"check-validity"],emitValue:[516,"emit-value"],isDuplicateInput:[516,"is-duplicate-input"],clientStyling:[513,"client-styling"],isValid:[32],errorMessage:[32],limitStylingAppends:[32],showTooltip:[32]},[[10,"click","handleClickOutside"],[16,"sendInputValue","valueChangedHandler"],[16,"validationChange","handleValidationChange"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}],[1,"twofa-input",{name:[513],displayName:[513,"display-name"],placeholder:[513],validation:[16],tooltip:[513],language:[513],emitValue:[516,"emit-value"],destination:[513],resendIntervalSeconds:[514,"resend-interval-seconds"],clientStyling:[513,"client-styling"],limitStylingAppends:[32],isValid:[32],isResendButtonAvailable:[32],showTooltip:[32],errorMessage:[32],code:[32],resendIntervalSecondsLeft:[32]},[[10,"click","handleClickOutside"]],{clientStyling:["handleStylingChange"],isValid:["validityChanged"],emitValue:["emitValueHandler"]}]]]],l)}));exports.setNonce=o.setNonce;
@@ -14,8 +14,8 @@ var o = (l, i, a) => new Promise((s, d) => {
14
14
  }, t = (e) => e.done ? s(e.value) : Promise.resolve(e.value).then(u, g);
15
15
  t((a = a.apply(l, i)).next());
16
16
  });
17
- import { b as p, p as r } from "../lazy/pam-change-password-BNhhM_c-.js";
18
- import { s as C } from "../lazy/pam-change-password-BNhhM_c-.js";
17
+ import { b as p, p as r } from "../lazy/pam-change-password-DxJulz-x.js";
18
+ import { s as C } from "../lazy/pam-change-password-DxJulz-x.js";
19
19
  import { g as c } from "./app-globals-0f993ce5-DzSE6TtH.js";
20
20
  var m = () => {
21
21
  const l = import.meta.url, i = {};
@@ -1,5 +1,5 @@
1
- import { b as r, p as a } from "../lazy/user-transaction-history-DqA6RN_5.js";
2
- import { s as c } from "../lazy/user-transaction-history-DqA6RN_5.js";
1
+ import { b as r, p as a } from "../lazy/user-transaction-history-9NQOfzj1.js";
2
+ import { s as c } from "../lazy/user-transaction-history-9NQOfzj1.js";
3
3
  import { d as i } from "./app-globals-0f993ce5-DzSE6TtH.js";
4
4
  var n = () => {
5
5
  const t = import.meta.url, e = {};
@@ -1 +1 @@
1
- "use strict";var c=(t,n,r)=>new Promise((u,s)=>{var p=e=>{try{i(r.next(e))}catch(a){s(a)}},g=e=>{try{i(r.throw(e))}catch(a){s(a)}},i=e=>e.done?u(e.value):Promise.resolve(e.value).then(p,g);i((r=r.apply(t,n)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../lazy/user-transaction-history-B6TGN86v.cjs"),h=require("./app-globals-0f993ce5-DgYhdguE.cjs");var o=typeof document!="undefined"?document.currentScript:null,d=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/user-transaction-history-C32qnGIS.cjs",document.baseURI).href,n={};return t!==""&&(n.resourcesUrl=new URL(".",t).href),l.promiseResolve(n)};d().then(t=>c(exports,null,function*(){return yield h.globalScripts$4(),l.bootstrapLazy([["user-transaction-history_2",[[1,"user-transaction-history",{endpoint:[513],session:[513],language:[513],userId:[513,"user-id"],translationUrl:[513,"translation-url"],mobile:[516],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[513,"mb-source"],dateFormat:[513,"date-format"],page:[32],pageSize:[32],showMobileFilter:[32],to:[32],from:[32],type:[32],transactions:[32],showLoader:[32]},[[9,"resize","getComponentHeight"]],{page:["watchMultiple"],type:["watchMultiple"],session:["watchMultiple"],userId:["watchMultiple"],pageSize:["watchMultiple"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],showMobileFilter:["getComponentHeight"]}],[0,"user-transaction-history-filter",{from:[513],to:[513],language:[513],dateformat:[513],startDate:[32],endDate:[32]}]]]],t)}));exports.setNonce=l.setNonce;
1
+ "use strict";var c=(t,n,r)=>new Promise((u,s)=>{var p=e=>{try{i(r.next(e))}catch(a){s(a)}},g=e=>{try{i(r.throw(e))}catch(a){s(a)}},i=e=>e.done?u(e.value):Promise.resolve(e.value).then(p,g);i((r=r.apply(t,n)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../lazy/user-transaction-history-qqa609b4.cjs"),h=require("./app-globals-0f993ce5-DgYhdguE.cjs");var o=typeof document!="undefined"?document.currentScript:null,d=()=>{const t=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/user-transaction-history-CFcieKbG.cjs",document.baseURI).href,n={};return t!==""&&(n.resourcesUrl=new URL(".",t).href),l.promiseResolve(n)};d().then(t=>c(exports,null,function*(){return yield h.globalScripts$4(),l.bootstrapLazy([["user-transaction-history_2",[[1,"user-transaction-history",{endpoint:[513],session:[513],language:[513],userId:[513,"user-id"],translationUrl:[513,"translation-url"],mobile:[516],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],mbSource:[513,"mb-source"],dateFormat:[513,"date-format"],page:[32],pageSize:[32],showMobileFilter:[32],to:[32],from:[32],type:[32],transactions:[32],showLoader:[32]},[[9,"resize","getComponentHeight"]],{page:["watchMultiple"],type:["watchMultiple"],session:["watchMultiple"],userId:["watchMultiple"],pageSize:["watchMultiple"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],showMobileFilter:["getComponentHeight"]}],[0,"user-transaction-history-filter",{from:[513],to:[513],language:[513],dateformat:[513],startDate:[32],endDate:[32]}]]]],t)}));exports.setNonce=l.setNonce;
@@ -14,8 +14,8 @@ var l = (e, r, a) => new Promise((s, o) => {
14
14
  }, i = (t) => t.done ? s(t.value) : Promise.resolve(t.value).then(p, c);
15
15
  i((a = a.apply(e, r)).next());
16
16
  });
17
- import { b as g, p as u } from "../lazy/user-transaction-history-DpobEJQ0.js";
18
- import { s as b } from "../lazy/user-transaction-history-DpobEJQ0.js";
17
+ import { b as g, p as u } from "../lazy/user-transaction-history-B4416U-a.js";
18
+ import { s as b } from "../lazy/user-transaction-history-B4416U-a.js";
19
19
  import { d as h } from "./app-globals-0f993ce5-DzSE6TtH.js";
20
20
  var m = () => {
21
21
  const e = import.meta.url, r = {};
@@ -1,4 +1,4 @@
1
- "use strict";var Vt=(o,e,t)=>new Promise((r,i)=>{var a=l=>{try{s(t.next(l))}catch(d){i(d)}},n=l=>{try{s(t.throw(l))}catch(d){i(d)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,n);s((t=t.apply(o,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../lazy/user-transaction-history-B6TGN86v.cjs"),As={en:{deposit:"Deposit",withdrawals:"Withdrawals",show:"Show",from:"From",to:"To",filter:"Filter",transactionId:"Transaction ID",date:"Date",amount:"Amount",productType:"Product Type",status:"Status",noData:"There are no account activities",transactionTitle:"Transaction History"},hr:{deposit:"Uplate",withdrawals:"Isplate",show:"Prikaži",from:"Od",to:"Do",filter:"Filter",transactionId:"ID transakcije",date:"Datum",amount:"Iznos",productType:"Vrsta proizvoda",status:"Status",noData:"Nema aktivnosti na računu",transactionTitle:"Povijest transakcija"}};class I{constructor(){}static loadCustomTranslations(e){return Vt(this,null,function*(){try{const t=yield fetch(e,{headers:{"Content-Type":"application/json"}});if(!t.ok){const i=yield t.text();throw new Error(i)}const r=yield t.json();I.updateTranslations(r)}catch(t){console.error(`Failed to load translations ${e}. ${t.message}`)}})}static translate(e,t){var r,i;const a=I.getAvaliableLanguages(t);return((i=(r=I.customTranslation)===null||r===void 0?void 0:r[a.customLanguage])===null||i===void 0?void 0:i[e])||I.defaultTranslation[a.predefinedLanguage][e]}static getAvaliableLanguages(e){var t;const r=!((t=I.customLanguages)===null||t===void 0)&&t.includes(e)?e:I.defaultLanguage;return{predefinedLanguage:I.supportedLanguages.includes(e)?e:I.defaultLanguage,customLanguage:r}}static updateTranslations(e){I.customLanguages=Array.from(new Set([...I.supportedLanguages,...Object.keys(e).map(t=>t.toLowerCase())])),I.customTranslation=e}}I.defaultLanguage="en";I.supportedLanguages=["en"];I.defaultTranslation=As;const Ps=()=>m.h("div",{class:"loader"},m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null));function _e(o){"@babel/helpers - typeof";return _e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_e(o)}function V(o,e){if(e.length<o)throw new TypeError(o+" argument"+(o>1?"s":"")+" required, but only "+e.length+" present")}function Is(o){return V(1,arguments),o instanceof Date||_e(o)==="object"&&Object.prototype.toString.call(o)==="[object Date]"}function K(o){V(1,arguments);var e=Object.prototype.toString.call(o);return o instanceof Date||_e(o)==="object"&&e==="[object Date]"?new Date(o.getTime()):typeof o=="number"||e==="[object Number]"?new Date(o):((typeof o=="string"||e==="[object String]")&&typeof console!="undefined"&&(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 Ss(o){if(V(1,arguments),!Is(o)&&typeof o!="number")return!1;var e=K(o);return!isNaN(Number(e))}function Q(o){if(o===null||o===!0||o===!1)return NaN;var e=Number(o);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function Ds(o,e){V(2,arguments);var t=K(o).getTime(),r=Q(e);return new Date(t+r)}function ga(o,e){V(2,arguments);var t=Q(e);return Ds(o,-t)}var Os=864e5;function Ms(o){V(1,arguments);var e=K(o),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),i=t-r;return Math.floor(i/Os)+1}function qe(o){V(1,arguments);var e=1,t=K(o),r=t.getUTCDay(),i=(r<e?7:0)+r-e;return t.setUTCDate(t.getUTCDate()-i),t.setUTCHours(0,0,0,0),t}function ba(o){V(1,arguments);var e=K(o),t=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(t+1,0,4),r.setUTCHours(0,0,0,0);var i=qe(r),a=new Date(0);a.setUTCFullYear(t,0,4),a.setUTCHours(0,0,0,0);var n=qe(a);return e.getTime()>=i.getTime()?t+1:e.getTime()>=n.getTime()?t:t-1}function zs(o){V(1,arguments);var e=ba(o),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var r=qe(t);return r}var Ns=6048e5;function ya(o){V(1,arguments);var e=K(o),t=qe(e).getTime()-zs(e).getTime();return Math.round(t/Ns)+1}var Ls={};function Xe(){return Ls}function De(o,e){var t,r,i,a,n,s,l,d;V(1,arguments);var c=Xe(),h=Q((t=(r=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(n=e.locale)===null||n===void 0||(s=n.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&r!==void 0?r:(l=c.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&t!==void 0?t:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=K(o),p=u.getUTCDay(),b=(p<h?7:0)+p-h;return u.setUTCDate(u.getUTCDate()-b),u.setUTCHours(0,0,0,0),u}function gi(o,e){var t,r,i,a,n,s,l,d;V(1,arguments);var c=K(o),h=c.getUTCFullYear(),u=Xe(),p=Q((t=(r=(i=(a=e==null?void 0:e.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(n=e.locale)===null||n===void 0||(s=n.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:u.firstWeekContainsDate)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(h+1,0,p),b.setUTCHours(0,0,0,0);var N=De(b,e),D=new Date(0);D.setUTCFullYear(h,0,p),D.setUTCHours(0,0,0,0);var O=De(D,e);return c.getTime()>=N.getTime()?h+1:c.getTime()>=O.getTime()?h:h-1}function Fs(o,e){var t,r,i,a,n,s,l,d;V(1,arguments);var c=Xe(),h=Q((t=(r=(i=(a=e==null?void 0:e.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(n=e.locale)===null||n===void 0||(s=n.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&r!==void 0?r:(l=c.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1),u=gi(o,e),p=new Date(0);p.setUTCFullYear(u,0,h),p.setUTCHours(0,0,0,0);var b=De(p,e);return b}var Bs=6048e5;function wa(o,e){V(1,arguments);var t=K(o),r=De(t,e).getTime()-Fs(t,e).getTime();return Math.round(r/Bs)+1}function M(o,e){for(var t=o<0?"-":"",r=Math.abs(o).toString();r.length<e;)r="0"+r;return t+r}var Vs={y:function(e,t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return M(t==="yy"?i%100:i,t.length)},M:function(e,t){var r=e.getUTCMonth();return t==="M"?String(r+1):M(r+1,2)},d:function(e,t){return M(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,t){return M(e.getUTCHours()%12||12,t.length)},H:function(e,t){return M(e.getUTCHours(),t.length)},m:function(e,t){return M(e.getUTCMinutes(),t.length)},s:function(e,t){return M(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,i=e.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,r-3));return M(a,t.length)}};const be=Vs;var Fe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Rs={G:function(e,t,r){var i=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){var i=e.getUTCFullYear(),a=i>0?i:1-i;return r.ordinalNumber(a,{unit:"year"})}return be.y(e,t)},Y:function(e,t,r,i){var a=gi(e,i),n=a>0?a:1-a;if(t==="YY"){var s=n%100;return M(s,2)}return t==="Yo"?r.ordinalNumber(n,{unit:"year"}):M(n,t.length)},R:function(e,t){var r=ba(e);return M(r,t.length)},u:function(e,t){var r=e.getUTCFullYear();return M(r,t.length)},Q:function(e,t,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return M(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return M(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,r){var i=e.getUTCMonth();switch(t){case"M":case"MM":return be.M(e,t);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,r){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return M(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,r,i){var a=wa(e,i);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):M(a,t.length)},I:function(e,t,r){var i=ya(e);return t==="Io"?r.ordinalNumber(i,{unit:"week"}):M(i,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):be.d(e,t)},D:function(e,t,r){var i=Ms(e);return t==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):M(i,t.length)},E:function(e,t,r){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,r,i){var a=e.getUTCDay(),n=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(n);case"ee":return M(n,2);case"eo":return r.ordinalNumber(n,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,i){var a=e.getUTCDay(),n=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(n);case"cc":return M(n,t.length);case"co":return r.ordinalNumber(n,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){var i=e.getUTCDay(),a=i===0?7:i;switch(t){case"i":return String(a);case"ii":return M(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,r){var i=e.getUTCHours(),a=i/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,r){var i=e.getUTCHours(),a;switch(i===12?a=Fe.noon:i===0?a=Fe.midnight:a=i/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){var i=e.getUTCHours(),a;switch(i>=17?a=Fe.evening:i>=12?a=Fe.afternoon:i>=4?a=Fe.morning:a=Fe.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){var i=e.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return be.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):be.H(e,t)},K:function(e,t,r){var i=e.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(i,{unit:"hour"}):M(i,t.length)},k:function(e,t,r){var i=e.getUTCHours();return i===0&&(i=24),t==="ko"?r.ordinalNumber(i,{unit:"hour"}):M(i,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):be.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):be.s(e,t)},S:function(e,t){return be.S(e,t)},X:function(e,t,r,i){var a=i._originalDate||e,n=a.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return mo(n);case"XXXX":case"XX":return Te(n);case"XXXXX":case"XXX":default:return Te(n,":")}},x:function(e,t,r,i){var a=i._originalDate||e,n=a.getTimezoneOffset();switch(t){case"x":return mo(n);case"xxxx":case"xx":return Te(n);case"xxxxx":case"xxx":default:return Te(n,":")}},O:function(e,t,r,i){var a=i._originalDate||e,n=a.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+po(n,":");case"OOOO":default:return"GMT"+Te(n,":")}},z:function(e,t,r,i){var a=i._originalDate||e,n=a.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+po(n,":");case"zzzz":default:return"GMT"+Te(n,":")}},t:function(e,t,r,i){var a=i._originalDate||e,n=Math.floor(a.getTime()/1e3);return M(n,t.length)},T:function(e,t,r,i){var a=i._originalDate||e,n=a.getTime();return M(n,t.length)}};function po(o,e){var t=o>0?"-":"+",r=Math.abs(o),i=Math.floor(r/60),a=r%60;if(a===0)return t+String(i);var n=e;return t+String(i)+n+M(a,2)}function mo(o,e){if(o%60===0){var t=o>0?"-":"+";return t+M(Math.abs(o)/60,2)}return Te(o,e)}function Te(o,e){var t=e||"",r=o>0?"-":"+",i=Math.abs(o),a=M(Math.floor(i/60),2),n=M(i%60,2);return r+a+t+n}const $s=Rs;var fo=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"});case"PPPP":default:return t.date({width:"full"})}},xa=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"});case"pppp":default:return t.time({width:"full"})}},Hs=function(e,t){var r=e.match(/(P+)(p+)?/)||[],i=r[1],a=r[2];if(!a)return fo(e,t);var n;switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"});break}return n.replace("{{date}}",fo(i,t)).replace("{{time}}",xa(a,t))},Us={p:xa,P:Hs};const qr=Us;function Ca(o){var e=new Date(Date.UTC(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds()));return e.setUTCFullYear(o.getFullYear()),o.getTime()-e.getTime()}var Ws=["D","DD"],qs=["YY","YYYY"];function ka(o){return Ws.indexOf(o)!==-1}function Ea(o){return qs.indexOf(o)!==-1}function Qt(o,e,t){if(o==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Ys={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"}},js=function(e,t,r){var i,a=Ys[e];return typeof a=="string"?i=a:t===1?i=a.one:i=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};const Gs=js;function Ir(o){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width?String(e.width):o.defaultWidth,r=o.formats[t]||o.formats[o.defaultWidth];return r}}var Ks={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Xs={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Qs={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Js={date:Ir({formats:Ks,defaultWidth:"full"}),time:Ir({formats:Xs,defaultWidth:"full"}),dateTime:Ir({formats:Qs,defaultWidth:"full"})};const Zs=Js;var el={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tl=function(e,t,r,i){return el[e]};const rl=tl;function ot(o){return function(e,t){var r=t!=null&&t.context?String(t.context):"standalone",i;if(r==="formatting"&&o.formattingValues){var a=o.defaultFormattingWidth||o.defaultWidth,n=t!=null&&t.width?String(t.width):a;i=o.formattingValues[n]||o.formattingValues[a]}else{var s=o.defaultWidth,l=t!=null&&t.width?String(t.width):o.defaultWidth;i=o.values[l]||o.values[s]}var d=o.argumentCallback?o.argumentCallback(e):e;return i[d]}}var il={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ol={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},al={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"]},nl={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"]},sl={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"}},ll={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"}},dl=function(e,t){var r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},cl={ordinalNumber:dl,era:ot({values:il,defaultWidth:"wide"}),quarter:ot({values:ol,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:ot({values:al,defaultWidth:"wide"}),day:ot({values:nl,defaultWidth:"wide"}),dayPeriod:ot({values:sl,defaultWidth:"wide",formattingValues:ll,defaultFormattingWidth:"wide"})};const hl=cl;function at(o){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,i=r&&o.matchPatterns[r]||o.matchPatterns[o.defaultMatchWidth],a=e.match(i);if(!a)return null;var n=a[0],s=r&&o.parsePatterns[r]||o.parsePatterns[o.defaultParseWidth],l=Array.isArray(s)?pl(s,function(h){return h.test(n)}):ul(s,function(h){return h.test(n)}),d;d=o.valueCallback?o.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;var c=e.slice(n.length);return{value:d,rest:c}}}function ul(o,e){for(var t in o)if(o.hasOwnProperty(t)&&e(o[t]))return t}function pl(o,e){for(var t=0;t<o.length;t++)if(e(o[t]))return t}function ml(o){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(o.matchPattern);if(!r)return null;var i=r[0],a=e.match(o.parsePattern);if(!a)return null;var n=o.valueCallback?o.valueCallback(a[0]):a[0];n=t.valueCallback?t.valueCallback(n):n;var s=e.slice(i.length);return{value:n,rest:s}}}var fl=/^(\d+)(th|st|nd|rd)?/i,_l=/\d+/i,vl={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},gl={any:[/^b/i,/^(a|c)/i]},bl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},yl={any:[/1/i,/2/i,/3/i,/4/i]},wl={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},xl={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]},Cl={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},kl={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]},El={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},Tl={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}},Al={ordinalNumber:ml({matchPattern:fl,parsePattern:_l,valueCallback:function(e){return parseInt(e,10)}}),era:at({matchPatterns:vl,defaultMatchWidth:"wide",parsePatterns:gl,defaultParseWidth:"any"}),quarter:at({matchPatterns:bl,defaultMatchWidth:"wide",parsePatterns:yl,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:at({matchPatterns:wl,defaultMatchWidth:"wide",parsePatterns:xl,defaultParseWidth:"any"}),day:at({matchPatterns:Cl,defaultMatchWidth:"wide",parsePatterns:kl,defaultParseWidth:"any"}),dayPeriod:at({matchPatterns:El,defaultMatchWidth:"any",parsePatterns:Tl,defaultParseWidth:"any"})};const Pl=Al;var Il={code:"en-US",formatDistance:Gs,formatLong:Zs,formatRelative:rl,localize:hl,match:Pl,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Ta=Il;var Sl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ol=/^'([^]*?)'?$/,Ml=/''/g,zl=/[a-zA-Z]/;function Ie(o,e,t){var r,i,a,n,s,l,d,c,h,u,p,b,N,D;V(2,arguments);var O=String(e),A=Xe(),U=(r=(i=void 0)!==null&&i!==void 0?i:A.locale)!==null&&r!==void 0?r:Ta,W=Q((a=(n=(s=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&s!==void 0?s:A.firstWeekContainsDate)!==null&&n!==void 0?n:(d=A.locale)===null||d===void 0||(c=d.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(W>=1&&W<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var ne=Q((h=(u=(p=(b=void 0)!==null&&b!==void 0?b:void 0)!==null&&p!==void 0?p:A.weekStartsOn)!==null&&u!==void 0?u:(N=A.locale)===null||N===void 0||(D=N.options)===null||D===void 0?void 0:D.weekStartsOn)!==null&&h!==void 0?h:0);if(!(ne>=0&&ne<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!U.localize)throw new RangeError("locale must contain localize property");if(!U.formatLong)throw new RangeError("locale must contain formatLong property");var ge=K(o);if(!Ss(ge))throw new RangeError("Invalid time value");var et=Ca(ge),tt=ga(ge,et),rt={firstWeekContainsDate:W,weekStartsOn:ne,locale:U,_originalDate:ge},Tr=O.match(Dl).map(function(j){var ee=j[0];if(ee==="p"||ee==="P"){var ke=qr[ee];return ke(j,U.formatLong)}return j}).join("").match(Sl).map(function(j){if(j==="''")return"'";var ee=j[0];if(ee==="'")return Nl(j);var ke=$s[ee];if(ke)return Ea(j)&&Qt(j,e,String(o)),ka(j)&&Qt(j,e,String(o)),ke(tt,j,U.localize,rt);if(ee.match(zl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ee+"`");return j}).join("");return Tr}function Nl(o){var e=o.match(Ol);return e?e[1].replace(Ml,"'"):o}class Aa{constructor(){}static dateToFormatedString(e,t){const r=t?Ie(e,t):e.toLocaleDateString("en-gb"),i=e.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1});return`${r}, ${i}`}}class Pa{constructor(){}static format(e,t){let r=`${t} ${e}`;try{r=new Intl.NumberFormat("en-US",{style:"currency",currency:e}).format(t)}catch(i){}return r}}const Ll=o=>m.h("div",{class:"data-transaction"},m.h("p",null,o.productType),m.h("p",{class:"text-style text-style-status"},m.h("span",{class:o.status.toLowerCase()},o.status)),m.h("p",{class:"date"},o.transId," | ",Aa.dateToFormatedString(new Date(o.created),o.dateformat)),m.h("p",{class:"text-style"},Pa.format(o.currency,o.realAmount)," ")),Fl=o=>m.h("div",{class:"page-size"},m.h("span",null,I.translate("show",o.language)),o.pageSizes.map(e=>m.h("button",{class:o.currentPageSize===e?"active":"",onClick:()=>o.changePageSize(e)},e))),Bl=({source:o,language:e,dateformat:t})=>{const r=[{name:I.translate("transactionId",e)},{name:I.translate("date",e)},{name:I.translate("amount",e)},{name:I.translate("productType",e)},{name:I.translate("status",e)}];return m.h("table",null,m.h("thead",null,m.h("tr",null,r.map(i=>m.h("th",null,i.name)))),m.h("tbody",null,o.map(i=>m.h("tr",null,m.h("td",null,i.transId),m.h("td",null,Aa.dateToFormatedString(new Date(i.created),t)),m.h("td",null,Pa.format(i.currency,i.realAmount)," "),m.h("td",null,i.productType),m.h("td",null,m.h("span",{class:i.status.toLowerCase()},i.status))))))};function _o(o,e){if(o){const t=document.createElement("style");t.innerHTML=e,o.appendChild(t)}}function vo(o,e){const t=new URL(e);fetch(t.href).then(r=>r.text()).then(r=>{const i=document.createElement("style");i.innerHTML=r,o&&o.appendChild(i)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Vl(o,e,t){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(e,i=>{r.innerHTML=i,o&&o.appendChild(r)})}}function go(o,e){(e==null||e>o.length)&&(e=o.length);for(var t=0,r=Array(e);t<e;t++)r[t]=o[t];return r}function Rl(o,e){if(o){if(typeof o=="string")return go(o,e);var t={}.toString.call(o).slice(8,-1);return t==="Object"&&o.constructor&&(t=o.constructor.name),t==="Map"||t==="Set"?Array.from(o):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?go(o,e):void 0}}function bo(o,e){var t=typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!t){if(Array.isArray(o)||(t=Rl(o))||e){t&&(o=t);var r=0,i=function(){};return{s:i,n:function(){return r>=o.length?{done:!0}:{done:!1,value:o[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ "use strict";var Vt=(o,e,t)=>new Promise((r,i)=>{var a=l=>{try{s(t.next(l))}catch(d){i(d)}},n=l=>{try{s(t.throw(l))}catch(d){i(d)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,n);s((t=t.apply(o,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../lazy/user-transaction-history-qqa609b4.cjs"),As={en:{deposit:"Deposit",withdrawals:"Withdrawals",show:"Show",from:"From",to:"To",filter:"Filter",transactionId:"Transaction ID",date:"Date",amount:"Amount",productType:"Product Type",status:"Status",noData:"There are no account activities",transactionTitle:"Transaction History"},hr:{deposit:"Uplate",withdrawals:"Isplate",show:"Prikaži",from:"Od",to:"Do",filter:"Filter",transactionId:"ID transakcije",date:"Datum",amount:"Iznos",productType:"Vrsta proizvoda",status:"Status",noData:"Nema aktivnosti na računu",transactionTitle:"Povijest transakcija"}};class I{constructor(){}static loadCustomTranslations(e){return Vt(this,null,function*(){try{const t=yield fetch(e,{headers:{"Content-Type":"application/json"}});if(!t.ok){const i=yield t.text();throw new Error(i)}const r=yield t.json();I.updateTranslations(r)}catch(t){console.error(`Failed to load translations ${e}. ${t.message}`)}})}static translate(e,t){var r,i;const a=I.getAvaliableLanguages(t);return((i=(r=I.customTranslation)===null||r===void 0?void 0:r[a.customLanguage])===null||i===void 0?void 0:i[e])||I.defaultTranslation[a.predefinedLanguage][e]}static getAvaliableLanguages(e){var t;const r=!((t=I.customLanguages)===null||t===void 0)&&t.includes(e)?e:I.defaultLanguage;return{predefinedLanguage:I.supportedLanguages.includes(e)?e:I.defaultLanguage,customLanguage:r}}static updateTranslations(e){I.customLanguages=Array.from(new Set([...I.supportedLanguages,...Object.keys(e).map(t=>t.toLowerCase())])),I.customTranslation=e}}I.defaultLanguage="en";I.supportedLanguages=["en"];I.defaultTranslation=As;const Ps=()=>m.h("div",{class:"loader"},m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null),m.h("div",null));function _e(o){"@babel/helpers - typeof";return _e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_e(o)}function V(o,e){if(e.length<o)throw new TypeError(o+" argument"+(o>1?"s":"")+" required, but only "+e.length+" present")}function Is(o){return V(1,arguments),o instanceof Date||_e(o)==="object"&&Object.prototype.toString.call(o)==="[object Date]"}function K(o){V(1,arguments);var e=Object.prototype.toString.call(o);return o instanceof Date||_e(o)==="object"&&e==="[object Date]"?new Date(o.getTime()):typeof o=="number"||e==="[object Number]"?new Date(o):((typeof o=="string"||e==="[object String]")&&typeof console!="undefined"&&(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 Ss(o){if(V(1,arguments),!Is(o)&&typeof o!="number")return!1;var e=K(o);return!isNaN(Number(e))}function Q(o){if(o===null||o===!0||o===!1)return NaN;var e=Number(o);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function Ds(o,e){V(2,arguments);var t=K(o).getTime(),r=Q(e);return new Date(t+r)}function ga(o,e){V(2,arguments);var t=Q(e);return Ds(o,-t)}var Os=864e5;function Ms(o){V(1,arguments);var e=K(o),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),i=t-r;return Math.floor(i/Os)+1}function qe(o){V(1,arguments);var e=1,t=K(o),r=t.getUTCDay(),i=(r<e?7:0)+r-e;return t.setUTCDate(t.getUTCDate()-i),t.setUTCHours(0,0,0,0),t}function ba(o){V(1,arguments);var e=K(o),t=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(t+1,0,4),r.setUTCHours(0,0,0,0);var i=qe(r),a=new Date(0);a.setUTCFullYear(t,0,4),a.setUTCHours(0,0,0,0);var n=qe(a);return e.getTime()>=i.getTime()?t+1:e.getTime()>=n.getTime()?t:t-1}function zs(o){V(1,arguments);var e=ba(o),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var r=qe(t);return r}var Ns=6048e5;function ya(o){V(1,arguments);var e=K(o),t=qe(e).getTime()-zs(e).getTime();return Math.round(t/Ns)+1}var Ls={};function Xe(){return Ls}function De(o,e){var t,r,i,a,n,s,l,d;V(1,arguments);var c=Xe(),h=Q((t=(r=(i=(a=e==null?void 0:e.weekStartsOn)!==null&&a!==void 0?a:e==null||(n=e.locale)===null||n===void 0||(s=n.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&i!==void 0?i:c.weekStartsOn)!==null&&r!==void 0?r:(l=c.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&t!==void 0?t:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=K(o),p=u.getUTCDay(),b=(p<h?7:0)+p-h;return u.setUTCDate(u.getUTCDate()-b),u.setUTCHours(0,0,0,0),u}function gi(o,e){var t,r,i,a,n,s,l,d;V(1,arguments);var c=K(o),h=c.getUTCFullYear(),u=Xe(),p=Q((t=(r=(i=(a=e==null?void 0:e.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(n=e.locale)===null||n===void 0||(s=n.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:u.firstWeekContainsDate)!==null&&r!==void 0?r:(l=u.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1);if(!(p>=1&&p<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(h+1,0,p),b.setUTCHours(0,0,0,0);var N=De(b,e),D=new Date(0);D.setUTCFullYear(h,0,p),D.setUTCHours(0,0,0,0);var O=De(D,e);return c.getTime()>=N.getTime()?h+1:c.getTime()>=O.getTime()?h:h-1}function Fs(o,e){var t,r,i,a,n,s,l,d;V(1,arguments);var c=Xe(),h=Q((t=(r=(i=(a=e==null?void 0:e.firstWeekContainsDate)!==null&&a!==void 0?a:e==null||(n=e.locale)===null||n===void 0||(s=n.options)===null||s===void 0?void 0:s.firstWeekContainsDate)!==null&&i!==void 0?i:c.firstWeekContainsDate)!==null&&r!==void 0?r:(l=c.locale)===null||l===void 0||(d=l.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&t!==void 0?t:1),u=gi(o,e),p=new Date(0);p.setUTCFullYear(u,0,h),p.setUTCHours(0,0,0,0);var b=De(p,e);return b}var Bs=6048e5;function wa(o,e){V(1,arguments);var t=K(o),r=De(t,e).getTime()-Fs(t,e).getTime();return Math.round(r/Bs)+1}function M(o,e){for(var t=o<0?"-":"",r=Math.abs(o).toString();r.length<e;)r="0"+r;return t+r}var Vs={y:function(e,t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return M(t==="yy"?i%100:i,t.length)},M:function(e,t){var r=e.getUTCMonth();return t==="M"?String(r+1):M(r+1,2)},d:function(e,t){return M(e.getUTCDate(),t.length)},a:function(e,t){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];case"aaaa":default:return r==="am"?"a.m.":"p.m."}},h:function(e,t){return M(e.getUTCHours()%12||12,t.length)},H:function(e,t){return M(e.getUTCHours(),t.length)},m:function(e,t){return M(e.getUTCMinutes(),t.length)},s:function(e,t){return M(e.getUTCSeconds(),t.length)},S:function(e,t){var r=t.length,i=e.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,r-3));return M(a,t.length)}};const be=Vs;var Fe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Rs={G:function(e,t,r){var i=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(i,{width:"abbreviated"});case"GGGGG":return r.era(i,{width:"narrow"});case"GGGG":default:return r.era(i,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){var i=e.getUTCFullYear(),a=i>0?i:1-i;return r.ordinalNumber(a,{unit:"year"})}return be.y(e,t)},Y:function(e,t,r,i){var a=gi(e,i),n=a>0?a:1-a;if(t==="YY"){var s=n%100;return M(s,2)}return t==="Yo"?r.ordinalNumber(n,{unit:"year"}):M(n,t.length)},R:function(e,t){var r=ba(e);return M(r,t.length)},u:function(e,t){var r=e.getUTCFullYear();return M(r,t.length)},Q:function(e,t,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return M(i,2);case"Qo":return r.ordinalNumber(i,{unit:"quarter"});case"QQQ":return r.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,r){var i=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return M(i,2);case"qo":return r.ordinalNumber(i,{unit:"quarter"});case"qqq":return r.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,r){var i=e.getUTCMonth();switch(t){case"M":case"MM":return be.M(e,t);case"Mo":return r.ordinalNumber(i+1,{unit:"month"});case"MMM":return r.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,r){var i=e.getUTCMonth();switch(t){case"L":return String(i+1);case"LL":return M(i+1,2);case"Lo":return r.ordinalNumber(i+1,{unit:"month"});case"LLL":return r.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,r,i){var a=wa(e,i);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):M(a,t.length)},I:function(e,t,r){var i=ya(e);return t==="Io"?r.ordinalNumber(i,{unit:"week"}):M(i,t.length)},d:function(e,t,r){return t==="do"?r.ordinalNumber(e.getUTCDate(),{unit:"date"}):be.d(e,t)},D:function(e,t,r){var i=Ms(e);return t==="Do"?r.ordinalNumber(i,{unit:"dayOfYear"}):M(i,t.length)},E:function(e,t,r){var i=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(i,{width:"short",context:"formatting"});case"EEEE":default:return r.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,r,i){var a=e.getUTCDay(),n=(a-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(n);case"ee":return M(n,2);case"eo":return r.ordinalNumber(n,{unit:"day"});case"eee":return r.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(a,{width:"short",context:"formatting"});case"eeee":default:return r.day(a,{width:"wide",context:"formatting"})}},c:function(e,t,r,i){var a=e.getUTCDay(),n=(a-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(n);case"cc":return M(n,t.length);case"co":return r.ordinalNumber(n,{unit:"day"});case"ccc":return r.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(a,{width:"narrow",context:"standalone"});case"cccccc":return r.day(a,{width:"short",context:"standalone"});case"cccc":default:return r.day(a,{width:"wide",context:"standalone"})}},i:function(e,t,r){var i=e.getUTCDay(),a=i===0?7:i;switch(t){case"i":return String(a);case"ii":return M(a,t.length);case"io":return r.ordinalNumber(a,{unit:"day"});case"iii":return r.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(i,{width:"short",context:"formatting"});case"iiii":default:return r.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,r){var i=e.getUTCHours(),a=i/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(e,t,r){var i=e.getUTCHours(),a;switch(i===12?a=Fe.noon:i===0?a=Fe.midnight:a=i/12>=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(e,t,r){var i=e.getUTCHours(),a;switch(i>=17?a=Fe.evening:i>=12?a=Fe.afternoon:i>=4?a=Fe.morning:a=Fe.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return r.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(e,t,r){if(t==="ho"){var i=e.getUTCHours()%12;return i===0&&(i=12),r.ordinalNumber(i,{unit:"hour"})}return be.h(e,t)},H:function(e,t,r){return t==="Ho"?r.ordinalNumber(e.getUTCHours(),{unit:"hour"}):be.H(e,t)},K:function(e,t,r){var i=e.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(i,{unit:"hour"}):M(i,t.length)},k:function(e,t,r){var i=e.getUTCHours();return i===0&&(i=24),t==="ko"?r.ordinalNumber(i,{unit:"hour"}):M(i,t.length)},m:function(e,t,r){return t==="mo"?r.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):be.m(e,t)},s:function(e,t,r){return t==="so"?r.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):be.s(e,t)},S:function(e,t){return be.S(e,t)},X:function(e,t,r,i){var a=i._originalDate||e,n=a.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return mo(n);case"XXXX":case"XX":return Te(n);case"XXXXX":case"XXX":default:return Te(n,":")}},x:function(e,t,r,i){var a=i._originalDate||e,n=a.getTimezoneOffset();switch(t){case"x":return mo(n);case"xxxx":case"xx":return Te(n);case"xxxxx":case"xxx":default:return Te(n,":")}},O:function(e,t,r,i){var a=i._originalDate||e,n=a.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+po(n,":");case"OOOO":default:return"GMT"+Te(n,":")}},z:function(e,t,r,i){var a=i._originalDate||e,n=a.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+po(n,":");case"zzzz":default:return"GMT"+Te(n,":")}},t:function(e,t,r,i){var a=i._originalDate||e,n=Math.floor(a.getTime()/1e3);return M(n,t.length)},T:function(e,t,r,i){var a=i._originalDate||e,n=a.getTime();return M(n,t.length)}};function po(o,e){var t=o>0?"-":"+",r=Math.abs(o),i=Math.floor(r/60),a=r%60;if(a===0)return t+String(i);var n=e;return t+String(i)+n+M(a,2)}function mo(o,e){if(o%60===0){var t=o>0?"-":"+";return t+M(Math.abs(o)/60,2)}return Te(o,e)}function Te(o,e){var t=e||"",r=o>0?"-":"+",i=Math.abs(o),a=M(Math.floor(i/60),2),n=M(i%60,2);return r+a+t+n}const $s=Rs;var fo=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"});case"PPPP":default:return t.date({width:"full"})}},xa=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"});case"pppp":default:return t.time({width:"full"})}},Hs=function(e,t){var r=e.match(/(P+)(p+)?/)||[],i=r[1],a=r[2];if(!a)return fo(e,t);var n;switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;case"PPPP":default:n=t.dateTime({width:"full"});break}return n.replace("{{date}}",fo(i,t)).replace("{{time}}",xa(a,t))},Us={p:xa,P:Hs};const qr=Us;function Ca(o){var e=new Date(Date.UTC(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),o.getMinutes(),o.getSeconds(),o.getMilliseconds()));return e.setUTCFullYear(o.getFullYear()),o.getTime()-e.getTime()}var Ws=["D","DD"],qs=["YY","YYYY"];function ka(o){return Ws.indexOf(o)!==-1}function Ea(o){return qs.indexOf(o)!==-1}function Qt(o,e,t){if(o==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(e,"`) for formatting years to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(o==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(e,"`) for formatting days of the month to the input `").concat(t,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var Ys={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"}},js=function(e,t,r){var i,a=Ys[e];return typeof a=="string"?i=a:t===1?i=a.one:i=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i};const Gs=js;function Ir(o){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width?String(e.width):o.defaultWidth,r=o.formats[t]||o.formats[o.defaultWidth];return r}}var Ks={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Xs={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Qs={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Js={date:Ir({formats:Ks,defaultWidth:"full"}),time:Ir({formats:Xs,defaultWidth:"full"}),dateTime:Ir({formats:Qs,defaultWidth:"full"})};const Zs=Js;var el={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},tl=function(e,t,r,i){return el[e]};const rl=tl;function ot(o){return function(e,t){var r=t!=null&&t.context?String(t.context):"standalone",i;if(r==="formatting"&&o.formattingValues){var a=o.defaultFormattingWidth||o.defaultWidth,n=t!=null&&t.width?String(t.width):a;i=o.formattingValues[n]||o.formattingValues[a]}else{var s=o.defaultWidth,l=t!=null&&t.width?String(t.width):o.defaultWidth;i=o.values[l]||o.values[s]}var d=o.argumentCallback?o.argumentCallback(e):e;return i[d]}}var il={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},ol={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},al={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"]},nl={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"]},sl={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"}},ll={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"}},dl=function(e,t){var r=Number(e),i=r%100;if(i>20||i<10)switch(i%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},cl={ordinalNumber:dl,era:ot({values:il,defaultWidth:"wide"}),quarter:ot({values:ol,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:ot({values:al,defaultWidth:"wide"}),day:ot({values:nl,defaultWidth:"wide"}),dayPeriod:ot({values:sl,defaultWidth:"wide",formattingValues:ll,defaultFormattingWidth:"wide"})};const hl=cl;function at(o){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,i=r&&o.matchPatterns[r]||o.matchPatterns[o.defaultMatchWidth],a=e.match(i);if(!a)return null;var n=a[0],s=r&&o.parsePatterns[r]||o.parsePatterns[o.defaultParseWidth],l=Array.isArray(s)?pl(s,function(h){return h.test(n)}):ul(s,function(h){return h.test(n)}),d;d=o.valueCallback?o.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;var c=e.slice(n.length);return{value:d,rest:c}}}function ul(o,e){for(var t in o)if(o.hasOwnProperty(t)&&e(o[t]))return t}function pl(o,e){for(var t=0;t<o.length;t++)if(e(o[t]))return t}function ml(o){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(o.matchPattern);if(!r)return null;var i=r[0],a=e.match(o.parsePattern);if(!a)return null;var n=o.valueCallback?o.valueCallback(a[0]):a[0];n=t.valueCallback?t.valueCallback(n):n;var s=e.slice(i.length);return{value:n,rest:s}}}var fl=/^(\d+)(th|st|nd|rd)?/i,_l=/\d+/i,vl={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},gl={any:[/^b/i,/^(a|c)/i]},bl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},yl={any:[/1/i,/2/i,/3/i,/4/i]},wl={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},xl={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]},Cl={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},kl={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]},El={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},Tl={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}},Al={ordinalNumber:ml({matchPattern:fl,parsePattern:_l,valueCallback:function(e){return parseInt(e,10)}}),era:at({matchPatterns:vl,defaultMatchWidth:"wide",parsePatterns:gl,defaultParseWidth:"any"}),quarter:at({matchPatterns:bl,defaultMatchWidth:"wide",parsePatterns:yl,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:at({matchPatterns:wl,defaultMatchWidth:"wide",parsePatterns:xl,defaultParseWidth:"any"}),day:at({matchPatterns:Cl,defaultMatchWidth:"wide",parsePatterns:kl,defaultParseWidth:"any"}),dayPeriod:at({matchPatterns:El,defaultMatchWidth:"any",parsePatterns:Tl,defaultParseWidth:"any"})};const Pl=Al;var Il={code:"en-US",formatDistance:Gs,formatLong:Zs,formatRelative:rl,localize:hl,match:Pl,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Ta=Il;var Sl=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Dl=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ol=/^'([^]*?)'?$/,Ml=/''/g,zl=/[a-zA-Z]/;function Ie(o,e,t){var r,i,a,n,s,l,d,c,h,u,p,b,N,D;V(2,arguments);var O=String(e),A=Xe(),U=(r=(i=void 0)!==null&&i!==void 0?i:A.locale)!==null&&r!==void 0?r:Ta,W=Q((a=(n=(s=(l=void 0)!==null&&l!==void 0?l:void 0)!==null&&s!==void 0?s:A.firstWeekContainsDate)!==null&&n!==void 0?n:(d=A.locale)===null||d===void 0||(c=d.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(W>=1&&W<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var ne=Q((h=(u=(p=(b=void 0)!==null&&b!==void 0?b:void 0)!==null&&p!==void 0?p:A.weekStartsOn)!==null&&u!==void 0?u:(N=A.locale)===null||N===void 0||(D=N.options)===null||D===void 0?void 0:D.weekStartsOn)!==null&&h!==void 0?h:0);if(!(ne>=0&&ne<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!U.localize)throw new RangeError("locale must contain localize property");if(!U.formatLong)throw new RangeError("locale must contain formatLong property");var ge=K(o);if(!Ss(ge))throw new RangeError("Invalid time value");var et=Ca(ge),tt=ga(ge,et),rt={firstWeekContainsDate:W,weekStartsOn:ne,locale:U,_originalDate:ge},Tr=O.match(Dl).map(function(j){var ee=j[0];if(ee==="p"||ee==="P"){var ke=qr[ee];return ke(j,U.formatLong)}return j}).join("").match(Sl).map(function(j){if(j==="''")return"'";var ee=j[0];if(ee==="'")return Nl(j);var ke=$s[ee];if(ke)return Ea(j)&&Qt(j,e,String(o)),ka(j)&&Qt(j,e,String(o)),ke(tt,j,U.localize,rt);if(ee.match(zl))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ee+"`");return j}).join("");return Tr}function Nl(o){var e=o.match(Ol);return e?e[1].replace(Ml,"'"):o}class Aa{constructor(){}static dateToFormatedString(e,t){const r=t?Ie(e,t):e.toLocaleDateString("en-gb"),i=e.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1});return`${r}, ${i}`}}class Pa{constructor(){}static format(e,t){let r=`${t} ${e}`;try{r=new Intl.NumberFormat("en-US",{style:"currency",currency:e}).format(t)}catch(i){}return r}}const Ll=o=>m.h("div",{class:"data-transaction"},m.h("p",null,o.productType),m.h("p",{class:"text-style text-style-status"},m.h("span",{class:o.status.toLowerCase()},o.status)),m.h("p",{class:"date"},o.transId," | ",Aa.dateToFormatedString(new Date(o.created),o.dateformat)),m.h("p",{class:"text-style"},Pa.format(o.currency,o.realAmount)," ")),Fl=o=>m.h("div",{class:"page-size"},m.h("span",null,I.translate("show",o.language)),o.pageSizes.map(e=>m.h("button",{class:o.currentPageSize===e?"active":"",onClick:()=>o.changePageSize(e)},e))),Bl=({source:o,language:e,dateformat:t})=>{const r=[{name:I.translate("transactionId",e)},{name:I.translate("date",e)},{name:I.translate("amount",e)},{name:I.translate("productType",e)},{name:I.translate("status",e)}];return m.h("table",null,m.h("thead",null,m.h("tr",null,r.map(i=>m.h("th",null,i.name)))),m.h("tbody",null,o.map(i=>m.h("tr",null,m.h("td",null,i.transId),m.h("td",null,Aa.dateToFormatedString(new Date(i.created),t)),m.h("td",null,Pa.format(i.currency,i.realAmount)," "),m.h("td",null,i.productType),m.h("td",null,m.h("span",{class:i.status.toLowerCase()},i.status))))))};function _o(o,e){if(o){const t=document.createElement("style");t.innerHTML=e,o.appendChild(t)}}function vo(o,e){const t=new URL(e);fetch(t.href).then(r=>r.text()).then(r=>{const i=document.createElement("style");i.innerHTML=r,o&&o.appendChild(i)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function Vl(o,e,t){if(window.emMessageBus){const r=document.createElement("style");window.emMessageBus.subscribe(e,i=>{r.innerHTML=i,o&&o.appendChild(r)})}}function go(o,e){(e==null||e>o.length)&&(e=o.length);for(var t=0,r=Array(e);t<e;t++)r[t]=o[t];return r}function Rl(o,e){if(o){if(typeof o=="string")return go(o,e);var t={}.toString.call(o).slice(8,-1);return t==="Object"&&o.constructor&&(t=o.constructor.name),t==="Map"||t==="Set"?Array.from(o):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?go(o,e):void 0}}function bo(o,e){var t=typeof Symbol!="undefined"&&o[Symbol.iterator]||o["@@iterator"];if(!t){if(Array.isArray(o)||(t=Rl(o))||e){t&&(o=t);var r=0,i=function(){};return{s:i,n:function(){return r>=o.length?{done:!0}:{done:!1,value:o[r++]}},e:function(d){throw d},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,n=!0,s=!1;return{s:function(){t=t.call(o)},n:function(){var d=t.next();return n=d.done,d},e:function(d){s=!0,a=d},f:function(){try{n||t.return==null||t.return()}finally{if(s)throw a}}}}function $l(o,e){if(o==null)throw new TypeError("assign requires that input parameter not be null or undefined");for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(o[t]=e[t]);return o}function v(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Yr(o,e){return Yr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},Yr(o,e)}function E(o,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(e&&e.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),e&&Yr(o,e)}function Jt(o){return Jt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jt(o)}function Ia(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ia=function(){return!!o})()}function Hl(o,e){if(e&&(_e(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(o)}function T(o){var e=Ia();return function(){var t,r=Jt(o);if(e){var i=Jt(this).constructor;t=Reflect.construct(r,arguments,i)}else t=r.apply(this,arguments);return Hl(this,t)}}function w(o,e){if(!(o instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(o,e){if(_e(o)!="object"||!o)return o;var t=o[Symbol.toPrimitive];if(t!==void 0){var r=t.call(o,e);if(_e(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(o)}function Sa(o){var e=Ul(o,"string");return _e(e)=="symbol"?e:e+""}function Wl(o,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(o,Sa(r.key),r)}}function x(o,e,t){return e&&Wl(o.prototype,e),Object.defineProperty(o,"prototype",{writable:!1}),o}function _(o,e,t){return(e=Sa(e))in o?Object.defineProperty(o,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):o[e]=t,o}var ql=10,Da=function(){function o(){w(this,o),_(this,"priority",void 0),_(this,"subPriority",0)}return x(o,[{key:"validate",value:function(t,r){return!0}}]),o}(),Yl=function(o){E(t,o);var e=T(t);function t(r,i,a,n,s){var l;return w(this,t),l=e.call(this),l.value=r,l.validateValue=i,l.setValue=a,l.priority=n,s&&(l.subPriority=s),l}return x(t,[{key:"validate",value:function(i,a){return this.validateValue(i,this.value,a)}},{key:"set",value:function(i,a,n){return this.setValue(i,a,this.value,n)}}]),t}(Da),jl=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",ql),_(v(r),"subPriority",-1),r}return x(t,[{key:"set",value:function(i,a){if(a.timestampIsSet)return i;var n=new Date(0);return n.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),n.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),n}}]),t}(Da),S=function(){function o(){w(this,o),_(this,"incompatibleTokens",void 0),_(this,"priority",void 0),_(this,"subPriority",void 0)}return x(o,[{key:"run",value:function(t,r,i,a){var n=this.parse(t,r,i,a);return n?{setter:new Yl(n.value,this.validate,this.set,this.priority,this.subPriority),rest:n.rest}:null}},{key:"validate",value:function(t,r,i){return!0}}]),o}(),Gl=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",140),_(v(r),"incompatibleTokens",["R","u","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"})||n.era(i,{width:"narrow"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})||n.era(i,{width:"abbreviated"})||n.era(i,{width:"narrow"})}}},{key:"set",value:function(i,a,n){return a.era=n,i.setUTCFullYear(n,0,1),i.setUTCHours(0,0,0,0),i}}]),t}(S),Kl=6e4,Xl=36e5,Ql=1e3,R={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},de={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function $(o,e){return o&&{value:e(o.value),rest:o.rest}}function F(o,e){var t=e.match(o);return t?{value:parseInt(t[0],10),rest:e.slice(t[0].length)}:null}function ce(o,e){var t=e.match(o);if(!t)return null;if(t[0]==="Z")return{value:0,rest:e.slice(1)};var r=t[1]==="+"?1:-1,i=t[2]?parseInt(t[2],10):0,a=t[3]?parseInt(t[3],10):0,n=t[5]?parseInt(t[5],10):0;return{value:r*(i*Xl+a*Kl+n*Ql),rest:e.slice(t[0].length)}}function Oa(o){return F(R.anyDigitsSigned,o)}function B(o,e){switch(o){case 1:return F(R.singleDigit,e);case 2:return F(R.twoDigits,e);case 3:return F(R.threeDigits,e);case 4:return F(R.fourDigits,e);default:return F(new RegExp("^\\d{1,"+o+"}"),e)}}function Zt(o,e){switch(o){case 1:return F(R.singleDigitSigned,e);case 2:return F(R.twoDigitsSigned,e);case 3:return F(R.threeDigitsSigned,e);case 4:return F(R.fourDigitsSigned,e);default:return F(new RegExp("^-?\\d{1,"+o+"}"),e)}}function bi(o){switch(o){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;case"am":case"midnight":case"night":default:return 0}}function Ma(o,e){var t=e>0,r=t?e:1-e,i;if(r<=50)i=o||100;else{var a=r+50,n=Math.floor(a/100)*100,s=o>=a%100;i=o+n-(s?100:0)}return t?i:1-i}function za(o){return o%400===0||o%4===0&&o%100!==0}var Jl=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",130),_(v(r),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){var s=function(d){return{year:d,isTwoDigitYear:a==="yy"}};switch(a){case"y":return $(B(4,i),s);case"yo":return $(n.ordinalNumber(i,{unit:"year"}),s);default:return $(B(a.length,i),s)}}},{key:"validate",value:function(i,a){return a.isTwoDigitYear||a.year>0}},{key:"set",value:function(i,a,n){var s=i.getUTCFullYear();if(n.isTwoDigitYear){var l=Ma(n.year,s);return i.setUTCFullYear(l,0,1),i.setUTCHours(0,0,0,0),i}var d=!("era"in a)||a.era===1?n.year:1-n.year;return i.setUTCFullYear(d,0,1),i.setUTCHours(0,0,0,0),i}}]),t}(S),Zl=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",130),_(v(r),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){var s=function(d){return{year:d,isTwoDigitYear:a==="YY"}};switch(a){case"Y":return $(B(4,i),s);case"Yo":return $(n.ordinalNumber(i,{unit:"year"}),s);default:return $(B(a.length,i),s)}}},{key:"validate",value:function(i,a){return a.isTwoDigitYear||a.year>0}},{key:"set",value:function(i,a,n,s){var l=gi(i,s);if(n.isTwoDigitYear){var d=Ma(n.year,l);return i.setUTCFullYear(d,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),De(i,s)}var c=!("era"in a)||a.era===1?n.year:1-n.year;return i.setUTCFullYear(c,0,s.firstWeekContainsDate),i.setUTCHours(0,0,0,0),De(i,s)}}]),t}(S),ed=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",130),_(v(r),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a){return Zt(a==="R"?4:a.length,i)}},{key:"set",value:function(i,a,n){var s=new Date(0);return s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0),qe(s)}}]),t}(S),td=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",130),_(v(r),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a){return Zt(a==="u"?4:a.length,i)}},{key:"set",value:function(i,a,n){return i.setUTCFullYear(n,0,1),i.setUTCHours(0,0,0,0),i}}]),t}(S),rd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",120),_(v(r),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"Q":case"QQ":return B(a.length,i);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"})||n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})||n.quarter(i,{width:"abbreviated",context:"formatting"})||n.quarter(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,a){return a>=1&&a<=4}},{key:"set",value:function(i,a,n){return i.setUTCMonth((n-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),t}(S),id=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",120),_(v(r),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"q":case"qq":return B(a.length,i);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"})||n.quarter(i,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})||n.quarter(i,{width:"abbreviated",context:"standalone"})||n.quarter(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,a){return a>=1&&a<=4}},{key:"set",value:function(i,a,n){return i.setUTCMonth((n-1)*3,1),i.setUTCHours(0,0,0,0),i}}]),t}(S),od=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),_(v(r),"priority",110),r}return x(t,[{key:"parse",value:function(i,a,n){var s=function(d){return d-1};switch(a){case"M":return $(F(R.month,i),s);case"MM":return $(B(2,i),s);case"Mo":return $(n.ordinalNumber(i,{unit:"month"}),s);case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"})||n.month(i,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})||n.month(i,{width:"abbreviated",context:"formatting"})||n.month(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,a){return a>=0&&a<=11}},{key:"set",value:function(i,a,n){return i.setUTCMonth(n,1),i.setUTCHours(0,0,0,0),i}}]),t}(S),ad=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",110),_(v(r),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){var s=function(d){return d-1};switch(a){case"L":return $(F(R.month,i),s);case"LL":return $(B(2,i),s);case"Lo":return $(n.ordinalNumber(i,{unit:"month"}),s);case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"})||n.month(i,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})||n.month(i,{width:"abbreviated",context:"standalone"})||n.month(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,a){return a>=0&&a<=11}},{key:"set",value:function(i,a,n){return i.setUTCMonth(n,1),i.setUTCHours(0,0,0,0),i}}]),t}(S);function nd(o,e,t){V(2,arguments);var r=K(o),i=Q(e),a=wa(r,t)-i;return r.setUTCDate(r.getUTCDate()-a*7),r}var sd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",100),_(v(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"w":return F(R.week,i);case"wo":return n.ordinalNumber(i,{unit:"week"});default:return B(a.length,i)}}},{key:"validate",value:function(i,a){return a>=1&&a<=53}},{key:"set",value:function(i,a,n,s){return De(nd(i,n,s),s)}}]),t}(S);function ld(o,e){V(2,arguments);var t=K(o),r=Q(e),i=ya(t)-r;return t.setUTCDate(t.getUTCDate()-i*7),t}var dd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",100),_(v(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"I":return F(R.week,i);case"Io":return n.ordinalNumber(i,{unit:"week"});default:return B(a.length,i)}}},{key:"validate",value:function(i,a){return a>=1&&a<=53}},{key:"set",value:function(i,a,n){return qe(ld(i,n))}}]),t}(S),cd=[31,28,31,30,31,30,31,31,30,31,30,31],hd=[31,29,31,30,31,30,31,31,30,31,30,31],ud=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",90),_(v(r),"subPriority",1),_(v(r),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"d":return F(R.date,i);case"do":return n.ordinalNumber(i,{unit:"date"});default:return B(a.length,i)}}},{key:"validate",value:function(i,a){var n=i.getUTCFullYear(),s=za(n),l=i.getUTCMonth();return s?a>=1&&a<=hd[l]:a>=1&&a<=cd[l]}},{key:"set",value:function(i,a,n){return i.setUTCDate(n),i.setUTCHours(0,0,0,0),i}}]),t}(S),pd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",90),_(v(r),"subpriority",1),_(v(r),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"D":case"DD":return F(R.dayOfYear,i);case"Do":return n.ordinalNumber(i,{unit:"date"});default:return B(a.length,i)}}},{key:"validate",value:function(i,a){var n=i.getUTCFullYear(),s=za(n);return s?a>=1&&a<=366:a>=1&&a<=365}},{key:"set",value:function(i,a,n){return i.setUTCMonth(0,n),i.setUTCHours(0,0,0,0),i}}]),t}(S);function yi(o,e,t){var r,i,a,n,s,l,d,c;V(2,arguments);var h=Xe(),u=Q((r=(i=(a=(n=t==null?void 0:t.weekStartsOn)!==null&&n!==void 0?n:t==null||(s=t.locale)===null||s===void 0||(l=s.options)===null||l===void 0?void 0:l.weekStartsOn)!==null&&a!==void 0?a:h.weekStartsOn)!==null&&i!==void 0?i:(d=h.locale)===null||d===void 0||(c=d.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=K(o),b=Q(e),N=p.getUTCDay(),D=b%7,O=(D+7)%7,A=(O<u?7:0)+b-N;return p.setUTCDate(p.getUTCDate()+A),p}var md=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",90),_(v(r),"incompatibleTokens",["D","i","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})||n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,a){return a>=0&&a<=6}},{key:"set",value:function(i,a,n,s){return i=yi(i,n,s),i.setUTCHours(0,0,0,0),i}}]),t}(S),fd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",90),_(v(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n,s){var l=function(c){var h=Math.floor((c-1)/7)*7;return(c+s.weekStartsOn+6)%7+h};switch(a){case"e":case"ee":return $(B(a.length,i),l);case"eo":return $(n.ordinalNumber(i,{unit:"day"}),l);case"eee":return n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(i,{width:"wide",context:"formatting"})||n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(i,a){return a>=0&&a<=6}},{key:"set",value:function(i,a,n,s){return i=yi(i,n,s),i.setUTCHours(0,0,0,0),i}}]),t}(S),_d=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",90),_(v(r),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n,s){var l=function(c){var h=Math.floor((c-1)/7)*7;return(c+s.weekStartsOn+6)%7+h};switch(a){case"c":case"cc":return $(B(a.length,i),l);case"co":return $(n.ordinalNumber(i,{unit:"day"}),l);case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"})||n.day(i,{width:"short",context:"standalone"})||n.day(i,{width:"narrow",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"})||n.day(i,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(i,{width:"wide",context:"standalone"})||n.day(i,{width:"abbreviated",context:"standalone"})||n.day(i,{width:"short",context:"standalone"})||n.day(i,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(i,a){return a>=0&&a<=6}},{key:"set",value:function(i,a,n,s){return i=yi(i,n,s),i.setUTCHours(0,0,0,0),i}}]),t}(S);function vd(o,e){V(2,arguments);var t=Q(e);t%7===0&&(t=t-7);var r=1,i=K(o),a=i.getUTCDay(),n=t%7,s=(n+7)%7,l=(s<r?7:0)+t-a;return i.setUTCDate(i.getUTCDate()+l),i}var gd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",90),_(v(r),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){var s=function(d){return d===0?7:d};switch(a){case"i":case"ii":return B(a.length,i);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return $(n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"}),s);case"iiiii":return $(n.day(i,{width:"narrow",context:"formatting"}),s);case"iiiiii":return $(n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"}),s);case"iiii":default:return $(n.day(i,{width:"wide",context:"formatting"})||n.day(i,{width:"abbreviated",context:"formatting"})||n.day(i,{width:"short",context:"formatting"})||n.day(i,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(i,a){return a>=1&&a<=7}},{key:"set",value:function(i,a,n){return i=vd(i,n),i.setUTCHours(0,0,0,0),i}}]),t}(S),bd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",80),_(v(r),"incompatibleTokens",["b","B","H","k","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"a":case"aa":case"aaa":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})||n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,a,n){return i.setUTCHours(bi(n),0,0,0),i}}]),t}(S),yd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",80),_(v(r),"incompatibleTokens",["a","B","H","k","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"b":case"bb":case"bbb":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})||n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,a,n){return i.setUTCHours(bi(n),0,0,0),i}}]),t}(S),wd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",80),_(v(r),"incompatibleTokens",["a","b","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"B":case"BB":case"BBB":return n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(i,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(i,{width:"wide",context:"formatting"})||n.dayPeriod(i,{width:"abbreviated",context:"formatting"})||n.dayPeriod(i,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(i,a,n){return i.setUTCHours(bi(n),0,0,0),i}}]),t}(S),xd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",70),_(v(r),"incompatibleTokens",["H","K","k","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"h":return F(R.hour12h,i);case"ho":return n.ordinalNumber(i,{unit:"hour"});default:return B(a.length,i)}}},{key:"validate",value:function(i,a){return a>=1&&a<=12}},{key:"set",value:function(i,a,n){var s=i.getUTCHours()>=12;return s&&n<12?i.setUTCHours(n+12,0,0,0):!s&&n===12?i.setUTCHours(0,0,0,0):i.setUTCHours(n,0,0,0),i}}]),t}(S),Cd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",70),_(v(r),"incompatibleTokens",["a","b","h","K","k","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"H":return F(R.hour23h,i);case"Ho":return n.ordinalNumber(i,{unit:"hour"});default:return B(a.length,i)}}},{key:"validate",value:function(i,a){return a>=0&&a<=23}},{key:"set",value:function(i,a,n){return i.setUTCHours(n,0,0,0),i}}]),t}(S),kd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",70),_(v(r),"incompatibleTokens",["h","H","k","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"K":return F(R.hour11h,i);case"Ko":return n.ordinalNumber(i,{unit:"hour"});default:return B(a.length,i)}}},{key:"validate",value:function(i,a){return a>=0&&a<=11}},{key:"set",value:function(i,a,n){var s=i.getUTCHours()>=12;return s&&n<12?i.setUTCHours(n+12,0,0,0):i.setUTCHours(n,0,0,0),i}}]),t}(S),Ed=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",70),_(v(r),"incompatibleTokens",["a","b","h","H","K","t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"k":return F(R.hour24h,i);case"ko":return n.ordinalNumber(i,{unit:"hour"});default:return B(a.length,i)}}},{key:"validate",value:function(i,a){return a>=1&&a<=24}},{key:"set",value:function(i,a,n){var s=n<=24?n%24:n;return i.setUTCHours(s,0,0,0),i}}]),t}(S),Td=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",60),_(v(r),"incompatibleTokens",["t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"m":return F(R.minute,i);case"mo":return n.ordinalNumber(i,{unit:"minute"});default:return B(a.length,i)}}},{key:"validate",value:function(i,a){return a>=0&&a<=59}},{key:"set",value:function(i,a,n){return i.setUTCMinutes(n,0,0),i}}]),t}(S),Ad=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",50),_(v(r),"incompatibleTokens",["t","T"]),r}return x(t,[{key:"parse",value:function(i,a,n){switch(a){case"s":return F(R.second,i);case"so":return n.ordinalNumber(i,{unit:"second"});default:return B(a.length,i)}}},{key:"validate",value:function(i,a){return a>=0&&a<=59}},{key:"set",value:function(i,a,n){return i.setUTCSeconds(n,0),i}}]),t}(S),Pd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",30),_(v(r),"incompatibleTokens",["t","T"]),r}return x(t,[{key:"parse",value:function(i,a){var n=function(l){return Math.floor(l*Math.pow(10,-a.length+3))};return $(B(a.length,i),n)}},{key:"set",value:function(i,a,n){return i.setUTCMilliseconds(n),i}}]),t}(S),Id=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",10),_(v(r),"incompatibleTokens",["t","T","x"]),r}return x(t,[{key:"parse",value:function(i,a){switch(a){case"X":return ce(de.basicOptionalMinutes,i);case"XX":return ce(de.basic,i);case"XXXX":return ce(de.basicOptionalSeconds,i);case"XXXXX":return ce(de.extendedOptionalSeconds,i);case"XXX":default:return ce(de.extended,i)}}},{key:"set",value:function(i,a,n){return a.timestampIsSet?i:new Date(i.getTime()-n)}}]),t}(S),Sd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",10),_(v(r),"incompatibleTokens",["t","T","X"]),r}return x(t,[{key:"parse",value:function(i,a){switch(a){case"x":return ce(de.basicOptionalMinutes,i);case"xx":return ce(de.basic,i);case"xxxx":return ce(de.basicOptionalSeconds,i);case"xxxxx":return ce(de.extendedOptionalSeconds,i);case"xxx":default:return ce(de.extended,i)}}},{key:"set",value:function(i,a,n){return a.timestampIsSet?i:new Date(i.getTime()-n)}}]),t}(S),Dd=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",40),_(v(r),"incompatibleTokens","*"),r}return x(t,[{key:"parse",value:function(i){return Oa(i)}},{key:"set",value:function(i,a,n){return[new Date(n*1e3),{timestampIsSet:!0}]}}]),t}(S),Od=function(o){E(t,o);var e=T(t);function t(){var r;w(this,t);for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",20),_(v(r),"incompatibleTokens","*"),r}return x(t,[{key:"parse",value:function(i){return Oa(i)}},{key:"set",value:function(i,a,n){return[new Date(n),{timestampIsSet:!0}]}}]),t}(S),Md={G:new Gl,y:new Jl,Y:new Zl,R:new ed,u:new td,Q:new rd,q:new id,M:new od,L:new ad,w:new sd,I:new dd,d:new ud,D:new pd,E:new md,e:new fd,c:new _d,i:new gd,a:new bd,b:new yd,B:new wd,h:new xd,H:new Cd,K:new kd,k:new Ed,m:new Td,s:new Ad,S:new Pd,X:new Id,x:new Sd,t:new Dd,T:new Od},zd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Nd=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Ld=/^'([^]*?)'?$/,Fd=/''/g,Bd=/\S/,Vd=/[a-zA-Z]/;function Na(o,e,t,r){var i,a,n,s,l,d,c,h,u,p,b,N,D,O;V(3,arguments);var A=String(o),U=String(e),W=Xe(),ne=(i=(a=void 0)!==null&&a!==void 0?a:W.locale)!==null&&i!==void 0?i:Ta;if(!ne.match)throw new RangeError("locale must contain match property");var ge=Q((n=(s=(l=(d=void 0)!==null&&d!==void 0?d:void 0)!==null&&l!==void 0?l:W.firstWeekContainsDate)!==null&&s!==void 0?s:(c=W.locale)===null||c===void 0||(h=c.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&n!==void 0?n:1);if(!(ge>=1&&ge<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var et=Q((u=(p=(b=(N=void 0)!==null&&N!==void 0?N:void 0)!==null&&b!==void 0?b:W.weekStartsOn)!==null&&p!==void 0?p:(D=W.locale)===null||D===void 0||(O=D.options)===null||O===void 0?void 0:O.weekStartsOn)!==null&&u!==void 0?u:0);if(!(et>=0&&et<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(U==="")return A===""?K(t):new Date(NaN);var tt={firstWeekContainsDate:ge,weekStartsOn:et,locale:ne},rt=[new jl],Tr=U.match(Nd).map(function(q){var L=q[0];if(L in qr){var ae=qr[L];return ae(q,ne.formatLong)}return q}).join("").match(zd),j=[],ee=bo(Tr),ke;try{var Es=function(){var L=ke.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&Ea(L)&&Qt(L,U,o),!(r!=null&&r.useAdditionalDayOfYearTokens)&&ka(L)&&Qt(L,U,o);var ae=L[0],Bt=Md[ae];if(Bt){var co=Bt.incompatibleTokens;if(Array.isArray(co)){var ho=j.find(function(uo){return co.includes(uo.token)||uo.token===ae});if(ho)throw new RangeError("The format string mustn't contain `".concat(ho.fullToken,"` and `").concat(L,"` at the same time"))}else if(Bt.incompatibleTokens==="*"&&j.length>0)throw new RangeError("The format string mustn't contain `".concat(L,"` and any other token at the same time"));j.push({token:ae,fullToken:L});var Pr=Bt.run(A,L,ne.match,tt);if(!Pr)return{v:new Date(NaN)};rt.push(Pr.setter),A=Pr.rest}else{if(ae.match(Vd))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ae+"`");if(L==="''"?L="'":ae==="'"&&(L=Rd(L)),A.indexOf(L)===0)A=A.slice(L.length);else return{v:new Date(NaN)}}};for(ee.s();!(ke=ee.n()).done;){var ao=Es();if(_e(ao)==="object")return ao.v}}catch(q){ee.e(q)}finally{ee.f()}if(A.length>0&&Bd.test(A))return new Date(NaN);var Ts=rt.map(function(q){return q.priority}).sort(function(q,L){return L-q}).filter(function(q,L,ae){return ae.indexOf(q)===L}).map(function(q){return rt.filter(function(L){return L.priority===q}).sort(function(L,ae){return ae.subPriority-L.subPriority})}).map(function(q){return q[0]}),Ar=K(t);if(isNaN(Ar.getTime()))return new Date(NaN);var it=ga(Ar,Ca(Ar)),no={},Lt=bo(Ts),so;try{for(Lt.s();!(so=Lt.n()).done;){var lo=so.value;if(!lo.validate(it,tt))return new Date(NaN);var Ft=lo.set(it,no,tt);Array.isArray(Ft)?(it=Ft[0],$l(no,Ft[1])):it=Ft}}catch(q){Lt.e(q)}finally{Lt.f()}return it}function Rd(o){return o.match(Ld)[1].replace(Fd,"'")}function $d(o,e){V(2,arguments);var t=K(o),r=Q(e);if(isNaN(r))return new Date(NaN);if(!r)return t;var i=t.getDate(),a=new Date(t.getTime());a.setMonth(t.getMonth()+r+1,0);var n=a.getDate();return i>=n?a:(t.setFullYear(a.getFullYear(),a.getMonth(),i),t)}function Hd(o,e){V(2,arguments);var t=Q(e);return $d(o,-t)}const Ud=':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--hoverBackground:#ffffff;--background:#e4e6e8;--success:#7ac345;--heightScrollableContainer:400px;--borderColor:#d3d3d3;--borderColorButton:#c4c4c4;--textColor:#002554;--textColorHover:#7ac345;--errorColor:#c23b21;--loaderColor:#7ac345;--headerTableBackground:#cdcdcd;--borderTable:#dedede;--shadowBorderTable:#f1f1f1;--backgroundTable:#ffffff;font-family:Roboto, Arial, sans-serif;font-size:14px;color:var(--textColor);display:block;background-color:var(--background)}:host .wrapper{height:100%;padding:1rem}:host .types{display:flex;width:100%;gap:5px}:host .transaction-type{background:inherit;font-weight:600;padding:0.6rem 1.6rem;border:1px solid #6c757d;cursor:pointer}:host .transaction-type:hover{color:var(--activeButtonBackground);border-color:var(--activeButtonBackground);background:var(--hoverBackground)}:host .clicked{background-color:var(--activeButtonBackground);border-color:var(--activeButtonBackground)}:host .types-mobile{justify-content:center;margin-bottom:15px}:host .types-desktop{justify-content:flex-end;margin-bottom:3rem}:host .page-size{display:flex;width:100%;justify-content:flex-end;align-items:center}:host .page-size button{background:transparent;border:none;cursor:pointer;margin:0.4rem;width:2rem;height:2rem}:host .page-size button:hover{color:var(--textColorHover)}:host .page-size button.active{background:var(--activeButtonBackground);color:var(--textColor);font-weight:600;border-radius:0.4rem}:host .period{display:flex;width:100%;align-items:flex-end;justify-content:center;gap:10px;background:#f0f0f0;border-bottom:2px solid #e9e9e9;padding:1.6rem 0 0;margin-bottom:4rem}@media (max-width: 801px){:host .period{margin-bottom:0;flex-direction:column;align-items:stretch;width:auto;padding:1.4rem 2.8rem;box-shadow:0 4px 5px 0 rgba(90, 90, 90, 0.24)}}:host .period .range{color:var(--errorColor)}:host .period .filter-btn{height:40px;background:transparent;border:0.1rem solid var(--borderColorButton);min-width:12rem;max-width:17rem;cursor:pointer}@media (max-width: 801px){:host .period .filter-btn{max-width:none;min-width:none;margin-top:1rem}}:host .period .filter-btn:hover{border:none;background:var(--hoverBackground)}:host .period .duet-date__input{padding:7px 60px 7px 7px}:host .period+button{padding:9px 15px}:host .period-content{display:flex;flex-direction:row;width:100%;justify-content:center;align-items:flex-end;margin:0 auto 1.6rem}@media (max-width: 801px){:host .period-content{flex-direction:column;align-items:stretch}}:host .period-content span{height:40px;display:flex;align-items:center;justify-content:center}@media (max-width: 801px){:host .period-content span{display:none}}:host .period-content .filter-btn{margin-left:60px}@media (max-width: 801px){:host .period-content .filter-btn{margin-left:0}}:host .period-content .date-input{padding:0 4px}@media (max-width: 801px){:host .period-content .date-input{width:auto}:host .period-content .date-input:first-child{margin-bottom:0.5rem}}:host .period-content .date-input label{display:inline-block;margin-bottom:0.9rem}:host .period-content .date-input input{border:0.1rem solid var(--borderColor);box-sizing:border-box;border-radius:0.2rem}:host .pagination{display:flex;width:100%;justify-content:center;margin-top:1.5rem}:host .pagination button{cursor:pointer;border:none;background-color:var(--activeButtonBackground);color:#fff;opacity:0.5;padding:7px 12px}:host .pagination button:hover{opacity:1}:host .pagination button:focus{opacity:1}:host button.active{color:var(--activeButtonFont);background-color:var(--activeButtonBackground)}.mobile-filter-button{display:flex;justify-content:center;align-items:center;width:100%;height:2.8rem;background:inherit;border:1px solid var(--borderColorButton)}.mobile-filter-button img{height:50%;margin-right:0.5rem}.noData{display:flex;align-items:center;box-shadow:0 0.4rem 0.4rem rgba(0, 0, 0, 0.25);padding:1.1rem;border-radius:0.6rem}.noData span{margin-left:0.5rem}.table{height:var(--heightScrollableContainer);overflow-y:auto}.table .mobile-table{height:100%}.data-transaction{border-bottom:1px solid var(--borderColor);background-color:var(--hoverBackground);padding:0 20px;display:grid;grid-template-columns:repeat(2, 1fr)}.data-transaction .text-style-status{font-weight:600}.data-transaction .text-style-status .success{color:var(--success)}.data-transaction .text-style-status .error{color:var(--errorColor)}.data-transaction .text-style{text-align:end}.data-transaction .date{font-size:12px;display:flex;align-items:center}.loader{display:inline-block;position:absolute;width:80px;height:80px;top:calc(50% - 40px);left:calc(50% - 40px);z-index:100}.loader::before{content:"";position:fixed;top:0;bottom:0;left:0;right:0;background-color:rgba(255, 255, 255, 0.6)}.loader div{position:absolute;width:6px;height:6px;background:var(--loaderColor);border-radius:50%;animation:loader 1.2s linear infinite}.loader div:nth-child(1){animation-delay:0s;top:37px;left:66px}.loader div:nth-child(2){animation-delay:-0.1s;top:22px;left:62px}.loader div:nth-child(3){animation-delay:-0.2s;top:11px;left:52px}.loader div:nth-child(4){animation-delay:-0.3s;top:7px;left:37px}.loader div:nth-child(5){animation-delay:-0.4s;top:11px;left:22px}.loader div:nth-child(6){animation-delay:-0.5s;top:22px;left:11px}.loader div:nth-child(7){animation-delay:-0.6s;top:37px;left:7px}.loader div:nth-child(8){animation-delay:-0.7s;top:52px;left:11px}.loader div:nth-child(9){animation-delay:-0.8s;top:62px;left:22px}.loader div:nth-child(10){animation-delay:-0.9s;top:66px;left:37px}.loader div:nth-child(11){animation-delay:-1s;top:62px;left:52px}.loader div:nth-child(12){animation-delay:-1.1s;top:52px;left:62px}@keyframes loader{0%,20%,80%,100%{transform:scale(1)}50%{transform:scale(1.5)}}.table thead th{position:sticky;top:0}table{border-collapse:collapse;width:100%}table th{padding:14px 24px;text-align:left;font-weight:600;color:var(--textColor);background:var(--headerTableBackground)}table td{padding:1rem 1.7rem;box-shadow:0 -1px 0 0 var(--shadowBorderTable) inset;border-bottom:0.1rem solid var(--borderTable);text-align:left;color:var(--textColor)}table tbody{background:var(--backgroundTable)}table .success{color:var(--success)}table .error{color:var(--errorColor)}vaadin-date-picker{min-width:320px}@media (max-width: 1261px){vaadin-date-picker{width:auto;min-width:auto}}@media (max-width: 801px){vaadin-date-picker{width:100%}}.MenuReturnButton{font:inherit;color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.MenuReturnButton h2.TransactionTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}',Wd=Ud,La=class{constructor(o){m.registerInstance(this,o),this.pageSizes=[10,25,50],this.pagination=null,this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.mobile},window.location.href)},this.endpoint=void 0,this.session=void 0,this.language=I.defaultLanguage,this.userId=void 0,this.translationUrl=void 0,this.mobile=!1,this.clientStyling=null,this.clientStylingUrl=null,this.mbSource=void 0,this.dateFormat="",this.page=0,this.pageSize=this.pageSizes[0],this.showMobileFilter=!1,this.to=void 0,this.from=void 0,this.type="0",this.transactions=void 0,this.showLoader=!0}watchMultiple(){this.loadTransactions()}handleClientStylingChange(o,e){o!=e&&_o(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(o,e){o!=e&&this.clientStylingUrl&&vo(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Vt(this,null,function*(){this.translationUrl&&(yield I.loadCustomTranslations(this.translationUrl)),this.to=Ie(new Date,`${this.dateFormat||"yyyy-MM-dd"}`),this.from=Ie(Hd(new Date,1),`${this.dateFormat||"yyyy-MM-dd"}`),this.loadTransactions()})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?Vl(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&_o(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&vo(this.stylingContainer,this.clientStylingUrl)))}componentDidRender(){this.getComponentHeight()}getComponentHeight(){var o;if(this.mobile){let e=this.el.getBoundingClientRect().height-((o=this.el.shadowRoot.querySelector(".table"))===null||o===void 0?void 0:o.getBoundingClientRect().y);this.el.style.setProperty("--heightScrollableContainer",e+"px")}}setHeightTableProperty(){let o=this.getComponentHeight();this.el.style.setProperty("--heightScrollableContainer",o+"px")}changeTransactionsType(o){this.type=o}changePageSize(o){this.pageSize=o}prev(){var o;!((o=this.pagination)===null||o===void 0)&&o.previous&&this.page--}next(){var o;!((o=this.pagination)===null||o===void 0)&&o.next&&this.page++}applyFilters(o,e){this.from=o,this.to=e,this.loadTransactions()}showFilter(){this.showMobileFilter=!this.showMobileFilter}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){var o;const e=m.getAssetPath("../assets/filter.svg"),t=m.getAssetPath("../assets/warning.svg");return m.h(m.Host,{key:"395328866f9fbae0a79d1dcf9dc5e9fd6e321406"},this.showLoader?m.h(Ps,null):"",m.h("div",{key:"fcb0efc2b0c9f2daa3df8c6c1d541dabe76c8126",class:"wrapper",ref:r=>this.stylingContainer=r},this.mobile?m.h("div",{class:"MenuReturnButton",onClick:this.toggleScreen},m.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},m.h("defs",null),m.h("g",{transform:"translate(-20 -158)"},m.h("g",{transform:"translate(20 158)"},m.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),m.h("h2",{class:"TransactionTitleMobile"},I.translate("transactionTitle",this.language))):m.h("h2",{class:"TransactionTitle"},I.translate("transactionTitle",this.language)),m.h("div",{key:"3fcb0ac0f3bc81ce2c3e298e53649a7050a53cb2",class:{"types types-mobile":this.mobile,"types types-desktop":!this.mobile}},m.h("button",{key:"1fcfd5dbf9857488bd0594f5b908e845a66f0d05",class:"transaction-type "+(this.type==="0"?"clicked":""),onClick:()=>this.changeTransactionsType("0")},I.translate("deposit",this.language)),m.h("button",{key:"58c6707975e3854e8a4afcf270a11dacd3c15947",class:"transaction-type "+(this.type==="1"?"clicked":""),onClick:()=>this.changeTransactionsType("1")},I.translate("withdrawals",this.language))),this.mobile?"":m.h(Fl,{language:this.language,pageSizes:this.pageSizes,currentPageSize:this.pageSize,changePageSize:r=>this.changePageSize(r)}),this.mobile?m.h("button",{class:"mobile-filter-button",onClick:()=>this.showFilter()},m.h("img",{src:e,alt:"Filter"}),I.translate("filter",this.language)):"",!this.mobile||this.showMobileFilter&&this.mobile?m.h("user-transaction-history-filter",{language:this.language,onApplyFilters:({detail:{from:r,to:i}})=>this.applyFilters(r,i),from:this.from,to:this.to,dateformat:this.dateFormat}):"",((o=this.transactions)===null||o===void 0?void 0:o.length)>0?m.h("div",{class:"table"},this.mobile?m.h("div",{class:"mobile-table"},this.transactions.map(r=>m.h(Ll,Object.assign({},r,{dateformat:this.dateFormat})))):m.h(Bl,{source:this.transactions,language:this.language,dateformat:this.dateFormat})):m.h("div",{class:"noData"},m.h("img",{src:t,alt:"Warning"}),m.h("span",null,I.translate("noData",this.language))),m.h("div",{key:"a58ec540ecc0d4162bb32eae5bd453e37cf7fed1",class:"pagination"},m.h("button",{key:"f21b01b72d7a4470e1cbbefdec50169e6e5bc222",onClick:()=>this.prev()},"<"),m.h("button",{key:"d14d057b3620a30ae3c11a5f22640913c0a1d32e",onClick:()=>this.next()},">"))))}loadTransactions(){return Vt(this,null,function*(){this.showLoader=!0;try{const o=`${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`,e=yield fetch(o,{headers:{"X-Sessionid":this.session,"Content-Type":"application/json"}});if(!e.ok){const r=yield e.text();throw new Error(r)}const t=yield e.json();this.pagination=t.pagination,this.transactions=t.transactions}catch(o){console.error(o)}finally{this.showLoader=!1}})}formatDateForApi(o){const e=Na(o,`${this.dateFormat||"yyyy-MM-dd"}`,new Date);return Ie(e,"yyyy-MM-dd")}getParams(){const o=(this.page*this.pageSize).toString(),e=this.formatDateForApi(this.from),t=this.formatDateForApi(this.to);return`offset=${o}&endDate=${t}&startDate=${e}&type=${this.type}&limit=${this.pageSize}`}static get assetsDirs(){return["../assets"]}get el(){return m.getElement(this)}static get watchers(){return{page:["watchMultiple"],type:["watchMultiple"],session:["watchMultiple"],userId:["watchMultiple"],pageSize:["watchMultiple"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"],showMobileFilter:["getComponentHeight"]}}};La.style=Wd;var qd=Object.defineProperty,Yd=Object.defineProperties,jd=Object.getOwnPropertyDescriptors,yo=Object.getOwnPropertySymbols,Gd=Object.prototype.hasOwnProperty,Kd=Object.prototype.propertyIsEnumerable,jr=(o,e,t)=>e in o?qd(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t,er=(o,e)=>{for(var t in e||(e={}))Gd.call(e,t)&&jr(o,t,e[t]);if(yo)for(var t of yo(e))Kd.call(e,t)&&jr(o,t,e[t]);return o},Fa=(o,e)=>Yd(o,jd(e)),X=(o,e,t)=>(jr(o,typeof e!="symbol"?e+"":e,t),t),tr=(o,e,t)=>new Promise((r,i)=>{var a=l=>{try{s(t.next(l))}catch(d){i(d)}},n=l=>{try{s(t.throw(l))}catch(d){i(d)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,n);s((t=t.apply(o,e)).next())});/**
3
3
  * @license
4
4
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
@@ -6081,6 +6081,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6081
6081
  overflow: hidden;
6082
6082
  min-width: var(--lumo-size-m);
6083
6083
  -webkit-user-select: none;
6084
+ -moz-user-select: none;
6084
6085
  user-select: none;
6085
6086
  --_focus-ring-color: var(--vaadin-focus-ring-color, var(--lumo-primary-color-50pct));
6086
6087
  --_focus-ring-width: var(--vaadin-focus-ring-width, 2px);
@@ -6290,11 +6291,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6290
6291
  }
6291
6292
  `,{moduleId:"lumo-tab"});/**
6292
6293
  * @license
6293
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6294
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6294
6295
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6295
6296
  */const df=o=>class extends ws(o){ready(){super.ready(),this.setAttribute("role","tab")}_onKeyUp(e){const t=this.hasAttribute("active");if(super._onKeyUp(e),t){const r=this.querySelector("a");r&&r.click()}}};/**
6296
6297
  * @license
6297
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6298
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6298
6299
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6299
6300
  */const cf=f`
6300
6301
  :host {
@@ -6317,7 +6318,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6317
6318
  }
6318
6319
  `;/**
6319
6320
  * @license
6320
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6321
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6321
6322
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6322
6323
  */g("vaadin-tab",cf,{moduleId:"vaadin-tab-styles"});class hf extends oe(z(df(he(k)))){static get template(){return C`
6323
6324
  <slot></slot>
@@ -6562,11 +6563,11 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6562
6563
  }
6563
6564
  `,{moduleId:"lumo-tabs"});/**
6564
6565
  * @license
6565
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6566
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6566
6567
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6567
6568
  */const uf=o=>class extends bs(Cs(o)){static get properties(){return{orientation:{value:"horizontal",type:String,reflectToAttribute:!0,sync:!0},selected:{value:0,type:Number}}}static get observers(){return["__tabsItemsChanged(items)"]}constructor(){super(),this.__itemsResizeObserver=new ResizeObserver(()=>{setTimeout(()=>this._updateOverflow())})}get _scrollOffset(){return this._vertical?this._scrollerElement.offsetHeight:this._scrollerElement.offsetWidth}get _scrollerElement(){return this.$.scroll}get __direction(){return!this._vertical&&this.__isRTL?1:-1}ready(){super.ready(),this._scrollerElement.addEventListener("scroll",()=>this._updateOverflow()),this.setAttribute("role","tablist"),ji(this,()=>{this._updateOverflow()})}_onResize(){this._updateOverflow()}__tabsItemsChanged(e){this.__itemsResizeObserver.disconnect(),(e||[]).forEach(t=>{this.__itemsResizeObserver.observe(t)}),this._updateOverflow()}_scrollForward(){const e=this._getNavigationButtonVisibleWidth("forward-button"),t=this._getNavigationButtonVisibleWidth("back-button"),r=this._scrollerElement.getBoundingClientRect(),i=[...this.items].reverse().find(s=>this._isItemVisible(s,e,t,r)).getBoundingClientRect(),a=20+this.shadowRoot.querySelector('[part="back-button"]').clientWidth;let n;if(this.__isRTL){const s=r.right-a;n=i.right-s}else{const s=r.left+a;n=i.left-s}-this.__direction*n<1&&(n=-this.__direction*(this._scrollOffset-a)),this._scroll(n)}_scrollBack(){const e=this._getNavigationButtonVisibleWidth("forward-button"),t=this._getNavigationButtonVisibleWidth("back-button"),r=this._scrollerElement.getBoundingClientRect(),i=this.items.find(s=>this._isItemVisible(s,e,t,r)).getBoundingClientRect(),a=20+this.shadowRoot.querySelector('[part="forward-button"]').clientWidth;let n;if(this.__isRTL){const s=r.left+a;n=i.left-s}else{const s=r.right-a;n=i.right-s}this.__direction*n<1&&(n=this.__direction*(this._scrollOffset-a)),this._scroll(n)}_isItemVisible(e,t,r,i){if(this._vertical)throw new Error("Visibility check is only supported for horizontal tabs.");const a=this.__isRTL?r:t,n=this.__isRTL?t:r,s=i.right-a,l=i.left+n,d=e.getBoundingClientRect();return s>Math.floor(d.left)&&l<Math.ceil(d.right)}_getNavigationButtonVisibleWidth(e){const t=this.shadowRoot.querySelector(`[part="${e}"]`);return window.getComputedStyle(t).opacity==="0"?0:t.clientWidth}_updateOverflow(){const e=this._vertical?this._scrollerElement.scrollTop:xs(this._scrollerElement,this.getAttribute("dir")),t=this._vertical?this._scrollerElement.scrollHeight:this._scrollerElement.scrollWidth;let r=Math.floor(e)>1?"start":"";Math.ceil(e)<Math.ceil(t-this._scrollOffset)&&(r+=" end"),this.__direction===1&&(r=r.replace(/start|end/giu,i=>i==="start"?"end":"start")),r?this.setAttribute("overflow",r.trim()):this.removeAttribute("overflow")}};/**
6568
6569
  * @license
6569
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6570
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6570
6571
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6571
6572
  */const pf=f`
6572
6573
  :host {
@@ -6646,7 +6647,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
6646
6647
  }
6647
6648
  `;/**
6648
6649
  * @license
6649
- * Copyright (c) 2017 - 2025 Vaadin Ltd.
6650
+ * Copyright (c) 2017 - 2024 Vaadin Ltd.
6650
6651
  * This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
6651
6652
  */g("vaadin-tabs",pf,{moduleId:"vaadin-tabs-styles"});class mf extends uf(oe(z(k))){static get template(){return C`
6652
6653
  <div on-click="_scrollBack" part="back-button" aria-hidden="true"></div>