@everymatrix/player-account-controller 1.94.2 → 1.94.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/components/{GeneralLogout-CiQVyfJR.js → GeneralLogout-7tP5h3jn.js} +1 -1
  2. package/components/{GeneralLogout-C1KWLRvw.js → GeneralLogout-Bha0yTpv.js} +1 -1
  3. package/components/{GeneralLogout-MWlMEMui.cjs → GeneralLogout-CnVAejR5.cjs} +1 -1
  4. package/components/{PlayerAccountBettingHistory-DJpEA4l1.js → PlayerAccountBettingHistory-BLKHpLDv.js} +1 -1
  5. package/components/{PlayerAccountBettingHistory-Bzn7zhTv.cjs → PlayerAccountBettingHistory-BWmHoBAe.cjs} +1 -1
  6. package/components/{PlayerAccountBettingHistory-D4JNMX1U.js → PlayerAccountBettingHistory-CzSUqX4-.js} +1 -1
  7. package/components/{PlayerAccountBiometrics-CZ77Ztyc.js → PlayerAccountBiometrics-BbWTzLmW.js} +2 -2
  8. package/components/{PlayerAccountBiometrics-DipOuxL2.cjs → PlayerAccountBiometrics-NRYQDR1V.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-CZxJ6eg9.js → PlayerAccountBiometrics-wJjVWuLg.js} +2 -2
  10. package/components/{PlayerAccountBiometricsAction-DkSGBqQr.cjs → PlayerAccountBiometricsAction-B94gsCP8.cjs} +1 -1
  11. package/components/{PlayerAccountBiometricsAction-BCxooM-G.js → PlayerAccountBiometricsAction-C_Ds4M9z.js} +1 -1
  12. package/components/{PlayerAccountBiometricsAction-iH61eCKz.js → PlayerAccountBiometricsAction-DTE7fauZ.js} +1 -1
  13. package/components/{PlayerAccountClosure-qSDghXQE.js → PlayerAccountClosure--RdqSNxo.js} +1 -1
  14. package/components/{PlayerAccountClosure-DFqXIXbP.js → PlayerAccountClosure-9e1V1Bgg.js} +1 -1
  15. package/components/{PlayerAccountClosure-DYqfecjB.cjs → PlayerAccountClosure-C49V_7aD.cjs} +1 -1
  16. package/components/{PlayerAccountController-SYnkGtb2.js → PlayerAccountController-B430ceZf.js} +25 -25
  17. package/components/{PlayerAccountController-D-iw4Gm1.cjs → PlayerAccountController-CPE5eIap.cjs} +2 -2
  18. package/components/{PlayerAccountController-Dp_erLKA.js → PlayerAccountController-DVklos1f.js} +25 -25
  19. package/components/{PlayerAccountGamingLimits-CQY0G_uB.js → PlayerAccountGamingLimits-Bd7JHvzc.js} +2 -2
  20. package/components/{PlayerAccountGamingLimits-COyTX71p.js → PlayerAccountGamingLimits-CAbMnlAS.js} +2 -2
  21. package/components/{PlayerAccountGamingLimits-B15eCgme.cjs → PlayerAccountGamingLimits-T7LipEE_.cjs} +1 -1
  22. package/components/{PlayerAccountGamingLimitsConfirmationModal-Cm-RQN5t.js → PlayerAccountGamingLimitsConfirmationModal-BvQbZgf9.js} +1 -1
  23. package/components/{PlayerAccountGamingLimitsConfirmationModal-BH0OV5eK.cjs → PlayerAccountGamingLimitsConfirmationModal-CWtPbAJA.cjs} +1 -1
  24. package/components/{PlayerAccountGamingLimitsConfirmationModal-Dc3s4o1Q.js → PlayerAccountGamingLimitsConfirmationModal-qmX0rgQK.js} +1 -1
  25. package/components/{PlayerAccountGamingLimitsGroupEdit-BVUUAj2h.js → PlayerAccountGamingLimitsGroupEdit-7nm5cjrt.js} +5 -5
  26. package/components/{PlayerAccountGamingLimitsGroupEdit-C8v4nT2e.cjs → PlayerAccountGamingLimitsGroupEdit-BJeQE4sA.cjs} +1 -1
  27. package/components/{PlayerAccountGamingLimitsGroupEdit-fH4M7tFv.js → PlayerAccountGamingLimitsGroupEdit-CDF7eCZN.js} +5 -5
  28. package/components/{PlayerAccountGamingLimitsHistory2-CqD-ISyD.js → PlayerAccountGamingLimitsHistory2-C0PbUvKM.js} +1 -1
  29. package/components/{PlayerAccountGamingLimitsHistory2-Dzh-CQXK.js → PlayerAccountGamingLimitsHistory2-GzGGIvMm.js} +1 -1
  30. package/components/{PlayerAccountGamingLimitsHistory2-CBlHRmrE.cjs → PlayerAccountGamingLimitsHistory2-yyHOWMEJ.cjs} +1 -1
  31. package/components/{PlayerAccountGamingLimitsInfoCard-DOkGyTOt.js → PlayerAccountGamingLimitsInfoCard-BlHaLjVK.js} +4 -4
  32. package/components/{PlayerAccountGamingLimitsInfoCard-DKRI7D9w.js → PlayerAccountGamingLimitsInfoCard-CblD1OVC.js} +4 -4
  33. package/components/{PlayerAccountGamingLimitsInfoCard-Doajed3W.cjs → PlayerAccountGamingLimitsInfoCard-Tofo4vZN.cjs} +1 -1
  34. package/components/{PlayerAccountGamingLimitsPage2Gm16-P5RWYm8p.cjs → PlayerAccountGamingLimitsPage2Gm16-B_y_Eo11.cjs} +1 -1
  35. package/components/{PlayerAccountGamingLimitsPage2Gm16-PV8PjIQg.js → PlayerAccountGamingLimitsPage2Gm16-CGlHVADm.js} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPage2Gm16-BBUHxhmC.js → PlayerAccountGamingLimitsPage2Gm16-Cn67nizU.js} +1 -1
  37. package/components/{PlayerAccountGamingLimitsPopup-CyFgSuiz.js → PlayerAccountGamingLimitsPopup-BbNgJsHZ.js} +1 -1
  38. package/components/{PlayerAccountGamingLimitsPopup-_7IgGj19.js → PlayerAccountGamingLimitsPopup-CeOcyDI3.js} +1 -1
  39. package/components/{PlayerAccountGamingLimitsPopup-tZb8farN.cjs → PlayerAccountGamingLimitsPopup-CrmeCoDe.cjs} +1 -1
  40. package/components/{PlayerAccountGamingLimitsWrapper2-C44qlMd9.cjs → PlayerAccountGamingLimitsWrapper2-BIOoxplS.cjs} +1 -1
  41. package/components/{PlayerAccountGamingLimitsWrapper2-C3jtv8xY.js → PlayerAccountGamingLimitsWrapper2-BjqyubKt.js} +3 -3
  42. package/components/{PlayerAccountGamingLimitsWrapper2-CN0ni_t1.js → PlayerAccountGamingLimitsWrapper2-CcYreFqv.js} +3 -3
  43. package/components/{PlayerAccountGeneralConfirmationModal-BddPCP6_.js → PlayerAccountGeneralConfirmationModal-B200_trQ.js} +1 -1
  44. package/components/{PlayerAccountGeneralConfirmationModal-Bt6qRu6u.cjs → PlayerAccountGeneralConfirmationModal-DM0WWO2-.cjs} +1 -1
  45. package/components/{PlayerAccountGeneralConfirmationModal-DCeF6KK8.js → PlayerAccountGeneralConfirmationModal-DRvL_r6O.js} +1 -1
  46. package/components/{PlayerAccountMenu-BxliWxSX.js → PlayerAccountMenu-D6Z78XnT.js} +2 -2
  47. package/components/{PlayerAccountMenu-BwFD7onO.cjs → PlayerAccountMenu-D7KXle_O.cjs} +1 -1
  48. package/components/{PlayerAccountMenu-DusUWIlC.js → PlayerAccountMenu-c3gM3MPi.js} +2 -2
  49. package/components/{PlayerAccountModal-NtKRkErX.js → PlayerAccountModal-Cc07dmeL.js} +1 -1
  50. package/components/{PlayerAccountModal-BpsSzItd.cjs → PlayerAccountModal-Dju6j_C4.cjs} +1 -1
  51. package/components/{PlayerAccountModal-BsKMrXHH.js → PlayerAccountModal-Y5eL_L2Z.js} +1 -1
  52. package/components/{PlayerAccountNotifications-2m5scfUL.js → PlayerAccountNotifications-1PCTvR7e.js} +1 -1
  53. package/components/{PlayerAccountNotifications-CHvVDz-S.cjs → PlayerAccountNotifications-BNWMouzN.cjs} +1 -1
  54. package/components/{PlayerAccountNotifications-Dc_zKmh_.js → PlayerAccountNotifications-D4xCBw7G.js} +1 -1
  55. package/components/{PlayerAccountProductRestriction-DJV7kbl0.js → PlayerAccountProductRestriction-4FPDh3Hk.js} +3 -3
  56. package/components/{PlayerAccountProductRestriction-_aL_JwHJ.js → PlayerAccountProductRestriction-DVpMIVrg.js} +3 -3
  57. package/components/{PlayerAccountProductRestriction-B8RqVuaM.cjs → PlayerAccountProductRestriction-DfSfUmAF.cjs} +1 -1
  58. package/components/{PlayerAccountReviewFrequency-BhAACqPf.js → PlayerAccountReviewFrequency-BczDG8au.js} +1 -1
  59. package/components/{PlayerAccountReviewFrequency-NZLIic5S.cjs → PlayerAccountReviewFrequency-CqsHl6Q3.cjs} +1 -1
  60. package/components/{PlayerAccountReviewFrequency-DNUAgwcU.js → PlayerAccountReviewFrequency-wyzvT3Ik.js} +1 -1
  61. package/components/{PlayerAccountSelfExclusion-tGBZuvd4.cjs → PlayerAccountSelfExclusion-MJhERUGk.cjs} +1 -1
  62. package/components/{PlayerAccountSelfExclusion-AyC4-RDs.js → PlayerAccountSelfExclusion-PRFgILKF.js} +2 -2
  63. package/components/{PlayerAccountSelfExclusion-hGTAvkjG.js → PlayerAccountSelfExclusion-XdDh-fNL.js} +2 -2
  64. package/components/{PlayerAccountTimeout-B_8NcUA8.cjs → PlayerAccountTimeout-Ao1JVo5-.cjs} +3 -3
  65. package/components/{PlayerAccountTimeout--0cBq2Kg.js → PlayerAccountTimeout-CxDwxebO.js} +4 -4
  66. package/components/{PlayerAccountTimeout-6FD2Lwiw.js → PlayerAccountTimeout-wNjiIPLI.js} +4 -4
  67. package/components/{PlayerAccountTransactionsHistory-C5oNPHOx.js → PlayerAccountTransactionsHistory-CA9cbykX.js} +4 -4
  68. package/components/{PlayerAccountTransactionsHistory-C5mRRE_D.js → PlayerAccountTransactionsHistory-D8A0SS05.js} +4 -4
  69. package/components/{PlayerAccountTransactionsHistory-DE8XgXFB.cjs → PlayerAccountTransactionsHistory-cMyiqG_0.cjs} +1 -1
  70. package/components/{PlayerActiveBonuses-DtdcEwRk.cjs → PlayerActiveBonuses-BOFs5nLV.cjs} +1 -1
  71. package/components/{PlayerActiveBonuses-C2htEcPk.js → PlayerActiveBonuses-BVdNdqEt.js} +2 -2
  72. package/components/{PlayerActiveBonuses-BZtVJ0tO.js → PlayerActiveBonuses-C6FKMj_X.js} +2 -2
  73. package/components/{PlayerBonusCard-BDsAdzuV.cjs → PlayerBonusCard-CYIktzur.cjs} +1 -1
  74. package/components/{PlayerBonusCard-CCyXYxHk.js → PlayerBonusCard-DHQTr3aH.js} +2 -2
  75. package/components/{PlayerBonusCard-DFd45Hiy.js → PlayerBonusCard-DrJ4bS7D.js} +2 -2
  76. package/components/{PlayerBonusHistory-Dl3OhBaM.js → PlayerBonusHistory-Cs6Gdps6.js} +3 -3
  77. package/components/{PlayerBonusHistory-DXHnya6D.cjs → PlayerBonusHistory-D1ZIKvKy.cjs} +2 -2
  78. package/components/{PlayerBonusHistory-DNrE8L0N.js → PlayerBonusHistory-of8uKAmD.js} +3 -3
  79. package/components/{PlayerChangePassword-KWET13cT.js → PlayerChangePassword-DYRkG5nE.js} +1 -1
  80. package/components/{PlayerChangePassword-Cov4z9CH.cjs → PlayerChangePassword-DoWdtlBb.cjs} +1 -1
  81. package/components/{PlayerChangePassword-CfYOw08o.js → PlayerChangePassword-eJGqfAII.js} +1 -1
  82. package/components/{PlayerDeposit-DnJa8Yl3.js → PlayerDeposit-4_o_NFGK.js} +1 -1
  83. package/components/{PlayerDeposit-B2ac6D8s.js → PlayerDeposit-6hXz_9v7.js} +1 -1
  84. package/components/{PlayerDeposit-VlR9R2HM.cjs → PlayerDeposit-BDODxxlC.cjs} +1 -1
  85. package/components/{PlayerGamingHistory-DCnHiCje.js → PlayerGamingHistory-C9xM29Vi.js} +3 -3
  86. package/components/{PlayerGamingHistory-DEZMZgyp.js → PlayerGamingHistory-D5dMYWVN.js} +3 -3
  87. package/components/{PlayerGamingHistory-CViEAUHh.cjs → PlayerGamingHistory-DdUzR5OW.cjs} +1 -1
  88. package/components/{PlayerPendingWithdrawals-ID5cnEfB.js → PlayerPendingWithdrawals--OYoMoFM.js} +1 -1
  89. package/components/{PlayerPendingWithdrawals-DnIuozwG.cjs → PlayerPendingWithdrawals-3U8OWD5l.cjs} +1 -1
  90. package/components/{PlayerPendingWithdrawals-RKAmjSTJ.js → PlayerPendingWithdrawals-DGogVO8X.js} +1 -1
  91. package/components/{PlayerProfileInfo-B8b5KNTI.cjs → PlayerProfileInfo-BKKrxITi.cjs} +1 -1
  92. package/components/{PlayerProfileInfo-D7Lgohmb.js → PlayerProfileInfo-C02AbZW2.js} +3 -3
  93. package/components/{PlayerProfileInfo-BvAv9pYw.js → PlayerProfileInfo-DP8fJSNR.js} +3 -3
  94. package/components/{PlayerRealityCheck-C-6W6BY0.cjs → PlayerRealityCheck-BP88i1lx.cjs} +1 -1
  95. package/components/{PlayerRealityCheck-C0Y1Zl_P.js → PlayerRealityCheck-Cd4dAGMs.js} +1 -1
  96. package/components/{PlayerRealityCheck-7fVeEeFe.js → PlayerRealityCheck-_0ZGOtHq.js} +1 -1
  97. package/components/{PlayerTransactionHistory-G98VK3oH.js → PlayerTransactionHistory-ApS5e3Vt.js} +1 -1
  98. package/components/{PlayerTransactionHistory-dWDqxRu8.cjs → PlayerTransactionHistory-B-WtWjm5.cjs} +1 -1
  99. package/components/{PlayerTransactionHistory-ClwBJKRp.js → PlayerTransactionHistory-CN2H47lf.js} +1 -1
  100. package/components/{PlayerWithdrawal-jAhz1Aeb.js → PlayerWithdrawal-DEiwVGDy.js} +1 -1
  101. package/components/{PlayerWithdrawal-VlKyb1Pk.cjs → PlayerWithdrawal-DI7dGjmC.cjs} +1 -1
  102. package/components/{PlayerWithdrawal-FJUVucSx.js → PlayerWithdrawal-g6QfK2Iy.js} +1 -1
  103. package/components/{QrSessionGenerator-CUbR8FbA.js → QrSessionGenerator-BkgpTp0U.js} +1 -1
  104. package/components/{QrSessionGenerator-DttwdIra.js → QrSessionGenerator-FKRJT6BR.js} +1 -1
  105. package/components/{QrSessionGenerator-ce2wxm3H.cjs → QrSessionGenerator-fnnwM7n6.cjs} +1 -1
  106. package/es2015/player-account-controller.cjs +1 -1
  107. package/es2015/player-account-controller.js +1 -1
  108. package/esnext/player-account-controller.js +1 -1
  109. package/package.json +1 -1
  110. package/stencil/{checkbox-group-input_16-_13Kv9Zi.js → checkbox-group-input_16-BzEg4TpU.js} +4 -4
  111. package/stencil/{checkbox-group-input_16-BzGXxdU9.cjs → checkbox-group-input_16-DTlEvXD1.cjs} +2 -2
  112. package/stencil/{checkbox-group-input_16-BClc1QAF.js → checkbox-group-input_16-nRSc7WyI.js} +4 -4
  113. package/stencil/{index-6e523641-CqeGydRJ.cjs → index-6e523641-CHZRFi0W.cjs} +1 -1
  114. package/stencil/{index-6e523641-txnZxPs0.js → index-6e523641-CzpA6fqp.js} +1 -1
  115. package/stencil/{index-6e523641-M8saYcGO.js → index-6e523641-n8F0I2Fs.js} +1 -1
  116. package/stencil/{index-7469517b-Bmgiy_n-.js → index-7469517b-B-IR-z1N.js} +1 -1
  117. package/stencil/{index-7469517b-ulg1Qmdy.js → index-7469517b-C42JdpYE.js} +1 -1
  118. package/stencil/{index-7469517b-8Vfz7n3C.cjs → index-7469517b-DxaDYmkD.cjs} +1 -1
  119. package/stencil/{index-9c0f6c58-DlXOBm1V.cjs → index-9c0f6c58-CLDl-isE.cjs} +1 -1
  120. package/stencil/{index-9c0f6c58-BLHPAiHp.js → index-9c0f6c58-CeHgKkkN.js} +1 -1
  121. package/stencil/{index-9c0f6c58-Dt7MQ5_j.js → index-9c0f6c58-DGo4u6sZ.js} +1 -1
  122. package/stencil/{pam-change-password-259289fa-CR3dv02q.cjs → pam-change-password-259289fa-B5K_myvf.cjs} +1 -1
  123. package/stencil/{pam-change-password-259289fa-DvjX931m.js → pam-change-password-259289fa-CkW8tAwL.js} +1 -1
  124. package/stencil/{pam-change-password-259289fa-7sJvUi0P.js → pam-change-password-259289fa-DS0Y7TKw.js} +1 -1
  125. package/stencil/{pam-change-password-DnCN0UHR.cjs → pam-change-password-C4n9m8Jg.cjs} +1 -1
  126. package/stencil/{pam-change-password-Dil_uhA4.js → pam-change-password-Cd7FdKp2.js} +1 -1
  127. package/stencil/{pam-change-password-BiAsiO8l.js → pam-change-password-Fz6dpHWP.js} +1 -1
  128. package/stencil/player-kyc-verification-9Ic-jm7L.cjs +210 -0
  129. package/stencil/{player-kyc-verification-BhngQMYp.js → player-kyc-verification-ByWsZG6l.js} +20 -15
  130. package/stencil/{player-kyc-verification-BO_q93r0.js → player-kyc-verification-Cm-zE62-.js} +20 -15
  131. package/stencil/{user-transaction-history-CZc5JwuK.cjs → user-transaction-history-CH5LwNcg.cjs} +1 -1
  132. package/stencil/{user-transaction-history-CQl_PHMr.js → user-transaction-history-DF87ngqZ.js} +1 -1
  133. package/stencil/{user-transaction-history-DObkYfdi.js → user-transaction-history-p2F_rXVi.js} +1 -1
  134. package/stencil/{user-transaction-history_2-CoqbioXa.cjs → user-transaction-history_2--tfZWSJL.cjs} +2 -2
  135. package/stencil/{user-transaction-history_2-C2zT8Uc5.js → user-transaction-history_2-CanvRRkc.js} +2 -2
  136. package/stencil/{user-transaction-history_2-Bl8RpF35.js → user-transaction-history_2-ChdfveXx.js} +2 -2
  137. package/stencil/player-kyc-verification-ISE1zaDp.cjs +0 -210
@@ -1,4 +1,4 @@
1
- "use strict";var Rt=(i,e,t)=>new Promise((r,o)=>{var a=l=>{try{s(t.next(l))}catch(d){o(d)}},n=l=>{try{s(t.throw(l))}catch(d){o(d)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,n);s((t=t.apply(i,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index-6e523641-CqeGydRJ.cjs"),Is={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 Rt(this,null,function*(){try{const t=yield fetch(e,{headers:{"Content-Type":"application/json"}});if(!t.ok){const o=yield t.text();throw new Error(o)}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,o;const a=I.getAvaliableLanguages(t);return((o=(r=I.customTranslation)===null||r===void 0?void 0:r[a.customLanguage])===null||o===void 0?void 0:o[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=Is;const Ss=()=>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(i){"@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(i)}function V(i,e){if(e.length<i)throw new TypeError(i+" argument"+(i>1?"s":"")+" required, but only "+e.length+" present")}function Ds(i){return V(1,arguments),i instanceof Date||_e(i)==="object"&&Object.prototype.toString.call(i)==="[object Date]"}function K(i){V(1,arguments);var e=Object.prototype.toString.call(i);return i instanceof Date||_e(i)==="object"&&e==="[object Date]"?new Date(i.getTime()):typeof i=="number"||e==="[object Number]"?new Date(i):((typeof i=="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 Os(i){if(V(1,arguments),!Ds(i)&&typeof i!="number")return!1;var e=K(i);return!isNaN(Number(e))}function Q(i){if(i===null||i===!0||i===!1)return NaN;var e=Number(i);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function Ms(i,e){V(2,arguments);var t=K(i).getTime(),r=Q(e);return new Date(t+r)}function ya(i,e){V(2,arguments);var t=Q(e);return Ms(i,-t)}var zs=864e5;function Ns(i){V(1,arguments);var e=K(i),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),o=t-r;return Math.floor(o/zs)+1}function Ye(i){V(1,arguments);var e=1,t=K(i),r=t.getUTCDay(),o=(r<e?7:0)+r-e;return t.setUTCDate(t.getUTCDate()-o),t.setUTCHours(0,0,0,0),t}function wa(i){V(1,arguments);var e=K(i),t=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(t+1,0,4),r.setUTCHours(0,0,0,0);var o=Ye(r),a=new Date(0);a.setUTCFullYear(t,0,4),a.setUTCHours(0,0,0,0);var n=Ye(a);return e.getTime()>=o.getTime()?t+1:e.getTime()>=n.getTime()?t:t-1}function Ls(i){V(1,arguments);var e=wa(i),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var r=Ye(t);return r}var Fs=6048e5;function xa(i){V(1,arguments);var e=K(i),t=Ye(e).getTime()-Ls(e).getTime();return Math.round(t/Fs)+1}var Bs={};function Qe(){return Bs}function De(i,e){var t,r,o,a,n,s,l,d;V(1,arguments);var c=Qe(),h=Q((t=(r=(o=(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&&o!==void 0?o: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(i),p=u.getUTCDay(),b=(p<h?7:0)+p-h;return u.setUTCDate(u.getUTCDate()-b),u.setUTCHours(0,0,0,0),u}function bi(i,e){var t,r,o,a,n,s,l,d;V(1,arguments);var c=K(i),h=c.getUTCFullYear(),u=Qe(),p=Q((t=(r=(o=(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&&o!==void 0?o: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 Vs(i,e){var t,r,o,a,n,s,l,d;V(1,arguments);var c=Qe(),h=Q((t=(r=(o=(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&&o!==void 0?o: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=bi(i,e),p=new Date(0);p.setUTCFullYear(u,0,h),p.setUTCHours(0,0,0,0);var b=De(p,e);return b}var Rs=6048e5;function Ca(i,e){V(1,arguments);var t=K(i),r=De(t,e).getTime()-Vs(t,e).getTime();return Math.round(r/Rs)+1}function M(i,e){for(var t=i<0?"-":"",r=Math.abs(i).toString();r.length<e;)r="0"+r;return t+r}var $s={y:function(e,t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return M(t==="yy"?o%100:o,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,o=e.getUTCMilliseconds(),a=Math.floor(o*Math.pow(10,r-3));return M(a,t.length)}};const be=$s;var Fe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Hs={G:function(e,t,r){var o=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(o,{width:"abbreviated"});case"GGGGG":return r.era(o,{width:"narrow"});case"GGGG":default:return r.era(o,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){var o=e.getUTCFullYear(),a=o>0?o:1-o;return r.ordinalNumber(a,{unit:"year"})}return be.y(e,t)},Y:function(e,t,r,o){var a=bi(e,o),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=wa(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 o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return M(o,2);case"Qo":return r.ordinalNumber(o,{unit:"quarter"});case"QQQ":return r.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,r){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return M(o,2);case"qo":return r.ordinalNumber(o,{unit:"quarter"});case"qqq":return r.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,r){var o=e.getUTCMonth();switch(t){case"M":case"MM":return be.M(e,t);case"Mo":return r.ordinalNumber(o+1,{unit:"month"});case"MMM":return r.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,r){var o=e.getUTCMonth();switch(t){case"L":return String(o+1);case"LL":return M(o+1,2);case"Lo":return r.ordinalNumber(o+1,{unit:"month"});case"LLL":return r.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,r,o){var a=Ca(e,o);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):M(a,t.length)},I:function(e,t,r){var o=xa(e);return t==="Io"?r.ordinalNumber(o,{unit:"week"}):M(o,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 o=Ns(e);return t==="Do"?r.ordinalNumber(o,{unit:"dayOfYear"}):M(o,t.length)},E:function(e,t,r){var o=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(o,{width:"short",context:"formatting"});case"EEEE":default:return r.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,r,o){var a=e.getUTCDay(),n=(a-o.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,o){var a=e.getUTCDay(),n=(a-o.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 o=e.getUTCDay(),a=o===0?7:o;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(o,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(o,{width:"short",context:"formatting"});case"iiii":default:return r.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,r){var o=e.getUTCHours(),a=o/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 o=e.getUTCHours(),a;switch(o===12?a=Fe.noon:o===0?a=Fe.midnight:a=o/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 o=e.getUTCHours(),a;switch(o>=17?a=Fe.evening:o>=12?a=Fe.afternoon:o>=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 o=e.getUTCHours()%12;return o===0&&(o=12),r.ordinalNumber(o,{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 o=e.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(o,{unit:"hour"}):M(o,t.length)},k:function(e,t,r){var o=e.getUTCHours();return o===0&&(o=24),t==="ko"?r.ordinalNumber(o,{unit:"hour"}):M(o,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,o){var a=o._originalDate||e,n=a.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return fo(n);case"XXXX":case"XX":return Te(n);case"XXXXX":case"XXX":default:return Te(n,":")}},x:function(e,t,r,o){var a=o._originalDate||e,n=a.getTimezoneOffset();switch(t){case"x":return fo(n);case"xxxx":case"xx":return Te(n);case"xxxxx":case"xxx":default:return Te(n,":")}},O:function(e,t,r,o){var a=o._originalDate||e,n=a.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+mo(n,":");case"OOOO":default:return"GMT"+Te(n,":")}},z:function(e,t,r,o){var a=o._originalDate||e,n=a.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+mo(n,":");case"zzzz":default:return"GMT"+Te(n,":")}},t:function(e,t,r,o){var a=o._originalDate||e,n=Math.floor(a.getTime()/1e3);return M(n,t.length)},T:function(e,t,r,o){var a=o._originalDate||e,n=a.getTime();return M(n,t.length)}};function mo(i,e){var t=i>0?"-":"+",r=Math.abs(i),o=Math.floor(r/60),a=r%60;if(a===0)return t+String(o);var n=e;return t+String(o)+n+M(a,2)}function fo(i,e){if(i%60===0){var t=i>0?"-":"+";return t+M(Math.abs(i)/60,2)}return Te(i,e)}function Te(i,e){var t=e||"",r=i>0?"-":"+",o=Math.abs(i),a=M(Math.floor(o/60),2),n=M(o%60,2);return r+a+t+n}const Us=Hs;var _o=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"})}},ka=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"})}},Ws=function(e,t){var r=e.match(/(P+)(p+)?/)||[],o=r[1],a=r[2];if(!a)return _o(e,t);var n;switch(o){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}}",_o(o,t)).replace("{{time}}",ka(a,t))},qs={p:ka,P:Ws};const Yr=qs;function Ea(i){var e=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return e.setUTCFullYear(i.getFullYear()),i.getTime()-e.getTime()}var Ys=["D","DD"],js=["YY","YYYY"];function Ta(i){return Ys.indexOf(i)!==-1}function Aa(i){return js.indexOf(i)!==-1}function Jt(i,e,t){if(i==="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(i==="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(i==="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(i==="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 Gs={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"}},Ks=function(e,t,r){var o,a=Gs[e];return typeof a=="string"?o=a:t===1?o=a.one:o=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};const Xs=Ks;function Sr(i){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width?String(e.width):i.defaultWidth,r=i.formats[t]||i.formats[i.defaultWidth];return r}}var Qs={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Js={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Zs={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},el={date:Sr({formats:Qs,defaultWidth:"full"}),time:Sr({formats:Js,defaultWidth:"full"}),dateTime:Sr({formats:Zs,defaultWidth:"full"})};const tl=el;var rl={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},il=function(e,t,r,o){return rl[e]};const ol=il;function at(i){return function(e,t){var r=t!=null&&t.context?String(t.context):"standalone",o;if(r==="formatting"&&i.formattingValues){var a=i.defaultFormattingWidth||i.defaultWidth,n=t!=null&&t.width?String(t.width):a;o=i.formattingValues[n]||i.formattingValues[a]}else{var s=i.defaultWidth,l=t!=null&&t.width?String(t.width):i.defaultWidth;o=i.values[l]||i.values[s]}var d=i.argumentCallback?i.argumentCallback(e):e;return o[d]}}var al={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},nl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},sl={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"]},ll={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"]},dl={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"}},cl={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"}},hl=function(e,t){var r=Number(e),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},ul={ordinalNumber:hl,era:at({values:al,defaultWidth:"wide"}),quarter:at({values:nl,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:at({values:sl,defaultWidth:"wide"}),day:at({values:ll,defaultWidth:"wide"}),dayPeriod:at({values:dl,defaultWidth:"wide",formattingValues:cl,defaultFormattingWidth:"wide"})};const pl=ul;function nt(i){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,o=r&&i.matchPatterns[r]||i.matchPatterns[i.defaultMatchWidth],a=e.match(o);if(!a)return null;var n=a[0],s=r&&i.parsePatterns[r]||i.parsePatterns[i.defaultParseWidth],l=Array.isArray(s)?fl(s,function(h){return h.test(n)}):ml(s,function(h){return h.test(n)}),d;d=i.valueCallback?i.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;var c=e.slice(n.length);return{value:d,rest:c}}}function ml(i,e){for(var t in i)if(i.hasOwnProperty(t)&&e(i[t]))return t}function fl(i,e){for(var t=0;t<i.length;t++)if(e(i[t]))return t}function _l(i){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(i.matchPattern);if(!r)return null;var o=r[0],a=e.match(i.parsePattern);if(!a)return null;var n=i.valueCallback?i.valueCallback(a[0]):a[0];n=t.valueCallback?t.valueCallback(n):n;var s=e.slice(o.length);return{value:n,rest:s}}}var vl=/^(\d+)(th|st|nd|rd)?/i,gl=/\d+/i,bl={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},yl={any:[/^b/i,/^(a|c)/i]},wl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},xl={any:[/1/i,/2/i,/3/i,/4/i]},Cl={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},kl={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]},El={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},Tl={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]},Al={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},Pl={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}},Il={ordinalNumber:_l({matchPattern:vl,parsePattern:gl,valueCallback:function(e){return parseInt(e,10)}}),era:nt({matchPatterns:bl,defaultMatchWidth:"wide",parsePatterns:yl,defaultParseWidth:"any"}),quarter:nt({matchPatterns:wl,defaultMatchWidth:"wide",parsePatterns:xl,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:nt({matchPatterns:Cl,defaultMatchWidth:"wide",parsePatterns:kl,defaultParseWidth:"any"}),day:nt({matchPatterns:El,defaultMatchWidth:"wide",parsePatterns:Tl,defaultParseWidth:"any"}),dayPeriod:nt({matchPatterns:Al,defaultMatchWidth:"any",parsePatterns:Pl,defaultParseWidth:"any"})};const Sl=Il;var Dl={code:"en-US",formatDistance:Xs,formatLong:tl,formatRelative:ol,localize:pl,match:Sl,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Pa=Dl;var Ol=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ml=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zl=/^'([^]*?)'?$/,Nl=/''/g,Ll=/[a-zA-Z]/;function Ie(i,e,t){var r,o,a,n,s,l,d,c,h,u,p,b,N,D;V(2,arguments);var O=String(e),A=Qe(),U=(r=(o=void 0)!==null&&o!==void 0?o:A.locale)!==null&&r!==void 0?r:Pa,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(i);if(!Os(ge))throw new RangeError("Invalid time value");var tt=Ea(ge),rt=ya(ge,tt),it={firstWeekContainsDate:W,weekStartsOn:ne,locale:U,_originalDate:ge},Ar=O.match(Ml).map(function(j){var ee=j[0];if(ee==="p"||ee==="P"){var ke=Yr[ee];return ke(j,U.formatLong)}return j}).join("").match(Ol).map(function(j){if(j==="''")return"'";var ee=j[0];if(ee==="'")return Fl(j);var ke=Us[ee];if(ke)return Aa(j)&&Jt(j,e,String(i)),Ta(j)&&Jt(j,e,String(i)),ke(rt,j,U.localize,it);if(ee.match(Ll))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ee+"`");return j}).join("");return Ar}function Fl(i){var e=i.match(zl);return e?e[1].replace(Nl,"'"):i}class Ia{constructor(){}static dateToFormatedString(e,t){const r=t?Ie(e,t):e.toLocaleDateString("en-gb"),o=e.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1});return`${r}, ${o}`}}class Sa{constructor(){}static format(e,t){let r=`${t} ${e}`;try{r=new Intl.NumberFormat("en-US",{style:"currency",currency:e}).format(t)}catch(o){}return r}}const Bl=i=>m.h("div",{class:"data-transaction"},m.h("p",null,i.productType),m.h("p",{class:"text-style text-style-status"},m.h("span",{class:i.status.toLowerCase()},i.status)),m.h("p",{class:"date"},i.transId," | ",Ia.dateToFormatedString(new Date(i.created),i.dateformat)),m.h("p",{class:"text-style"},Sa.format(i.currency,i.realAmount)," ")),Vl=i=>m.h("div",{class:"page-size"},m.h("span",null,I.translate("show",i.language)),i.pageSizes.map(e=>m.h("button",{class:i.currentPageSize===e?"active":"",onClick:()=>i.changePageSize(e)},e))),Rl=({source:i,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(o=>m.h("th",null,o.name)))),m.h("tbody",null,i.map(o=>m.h("tr",null,m.h("td",null,o.transId),m.h("td",null,Ia.dateToFormatedString(new Date(o.created),t)),m.h("td",null,Sa.format(o.currency,o.realAmount)," "),m.h("td",null,o.productType),m.h("td",null,m.h("span",{class:o.status.toLowerCase()},o.status))))))},Ve="__WIDGET_GLOBAL_STYLE_CACHE__";function vo(i,e){if(i){const t=document.createElement("style");t.innerHTML=e,i.appendChild(t)}}function go(i,e){if(!i||!e)return;const t=new URL(e);fetch(t.href).then(r=>r.text()).then(r=>{const o=document.createElement("style");o.innerHTML=r,i&&i.appendChild(o)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function $l(i,e,t,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return t=Hl(i,e),t;window[Ve]||(window[Ve]={}),t=Ul(i,e);const a=t.unsubscribe.bind(t),n=()=>{if(window[Ve][e]){const s=window[Ve][e];s.refCount>1?s.refCount=s.refCount-1:delete window[Ve][e]}a()};return t.unsubscribe=n,t}function Hl(i,e){const t=document.createElement("style");return window.emMessageBus.subscribe(e,r=>{i&&(t.innerHTML=r,i.appendChild(t))})}function Ul(i,e){return window.emMessageBus.subscribe(e,t=>{if(!i)return;const r=i.getRootNode(),o=window[Ve];let a=o[e]&&o[e].sheet;a?o[e].refCount=o[e].refCount+1:(a=new CSSStyleSheet,a.replaceSync(t),o[e]={sheet:a,refCount:1});const n=r.adoptedStyleSheets||[];n.includes(a)||(r.adoptedStyleSheets=[...n,a])})}function bo(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,r=Array(e);t<e;t++)r[t]=i[t];return r}function Wl(i,e){if(i){if(typeof i=="string")return bo(i,e);var t={}.toString.call(i).slice(8,-1);return t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set"?Array.from(i):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?bo(i,e):void 0}}function yo(i,e){var t=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(!t){if(Array.isArray(i)||(t=Wl(i))||e){t&&(i=t);var r=0,o=function(){};return{s:o,n:function(){return r>=i.length?{done:!0}:{done:!1,value:i[r++]}},e:function(d){throw d},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ "use strict";var Rt=(i,e,t)=>new Promise((r,o)=>{var a=l=>{try{s(t.next(l))}catch(d){o(d)}},n=l=>{try{s(t.throw(l))}catch(d){o(d)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,n);s((t=t.apply(i,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index-6e523641-CHZRFi0W.cjs"),Is={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 Rt(this,null,function*(){try{const t=yield fetch(e,{headers:{"Content-Type":"application/json"}});if(!t.ok){const o=yield t.text();throw new Error(o)}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,o;const a=I.getAvaliableLanguages(t);return((o=(r=I.customTranslation)===null||r===void 0?void 0:r[a.customLanguage])===null||o===void 0?void 0:o[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=Is;const Ss=()=>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(i){"@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(i)}function V(i,e){if(e.length<i)throw new TypeError(i+" argument"+(i>1?"s":"")+" required, but only "+e.length+" present")}function Ds(i){return V(1,arguments),i instanceof Date||_e(i)==="object"&&Object.prototype.toString.call(i)==="[object Date]"}function K(i){V(1,arguments);var e=Object.prototype.toString.call(i);return i instanceof Date||_e(i)==="object"&&e==="[object Date]"?new Date(i.getTime()):typeof i=="number"||e==="[object Number]"?new Date(i):((typeof i=="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 Os(i){if(V(1,arguments),!Ds(i)&&typeof i!="number")return!1;var e=K(i);return!isNaN(Number(e))}function Q(i){if(i===null||i===!0||i===!1)return NaN;var e=Number(i);return isNaN(e)?e:e<0?Math.ceil(e):Math.floor(e)}function Ms(i,e){V(2,arguments);var t=K(i).getTime(),r=Q(e);return new Date(t+r)}function ya(i,e){V(2,arguments);var t=Q(e);return Ms(i,-t)}var zs=864e5;function Ns(i){V(1,arguments);var e=K(i),t=e.getTime();e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);var r=e.getTime(),o=t-r;return Math.floor(o/zs)+1}function Ye(i){V(1,arguments);var e=1,t=K(i),r=t.getUTCDay(),o=(r<e?7:0)+r-e;return t.setUTCDate(t.getUTCDate()-o),t.setUTCHours(0,0,0,0),t}function wa(i){V(1,arguments);var e=K(i),t=e.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(t+1,0,4),r.setUTCHours(0,0,0,0);var o=Ye(r),a=new Date(0);a.setUTCFullYear(t,0,4),a.setUTCHours(0,0,0,0);var n=Ye(a);return e.getTime()>=o.getTime()?t+1:e.getTime()>=n.getTime()?t:t-1}function Ls(i){V(1,arguments);var e=wa(i),t=new Date(0);t.setUTCFullYear(e,0,4),t.setUTCHours(0,0,0,0);var r=Ye(t);return r}var Fs=6048e5;function xa(i){V(1,arguments);var e=K(i),t=Ye(e).getTime()-Ls(e).getTime();return Math.round(t/Fs)+1}var Bs={};function Qe(){return Bs}function De(i,e){var t,r,o,a,n,s,l,d;V(1,arguments);var c=Qe(),h=Q((t=(r=(o=(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&&o!==void 0?o: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(i),p=u.getUTCDay(),b=(p<h?7:0)+p-h;return u.setUTCDate(u.getUTCDate()-b),u.setUTCHours(0,0,0,0),u}function bi(i,e){var t,r,o,a,n,s,l,d;V(1,arguments);var c=K(i),h=c.getUTCFullYear(),u=Qe(),p=Q((t=(r=(o=(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&&o!==void 0?o: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 Vs(i,e){var t,r,o,a,n,s,l,d;V(1,arguments);var c=Qe(),h=Q((t=(r=(o=(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&&o!==void 0?o: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=bi(i,e),p=new Date(0);p.setUTCFullYear(u,0,h),p.setUTCHours(0,0,0,0);var b=De(p,e);return b}var Rs=6048e5;function Ca(i,e){V(1,arguments);var t=K(i),r=De(t,e).getTime()-Vs(t,e).getTime();return Math.round(r/Rs)+1}function M(i,e){for(var t=i<0?"-":"",r=Math.abs(i).toString();r.length<e;)r="0"+r;return t+r}var $s={y:function(e,t){var r=e.getUTCFullYear(),o=r>0?r:1-r;return M(t==="yy"?o%100:o,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,o=e.getUTCMilliseconds(),a=Math.floor(o*Math.pow(10,r-3));return M(a,t.length)}};const be=$s;var Fe={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Hs={G:function(e,t,r){var o=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(o,{width:"abbreviated"});case"GGGGG":return r.era(o,{width:"narrow"});case"GGGG":default:return r.era(o,{width:"wide"})}},y:function(e,t,r){if(t==="yo"){var o=e.getUTCFullYear(),a=o>0?o:1-o;return r.ordinalNumber(a,{unit:"year"})}return be.y(e,t)},Y:function(e,t,r,o){var a=bi(e,o),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=wa(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 o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return M(o,2);case"Qo":return r.ordinalNumber(o,{unit:"quarter"});case"QQQ":return r.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return r.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,r){var o=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return M(o,2);case"qo":return r.ordinalNumber(o,{unit:"quarter"});case"qqq":return r.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return r.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,r){var o=e.getUTCMonth();switch(t){case"M":case"MM":return be.M(e,t);case"Mo":return r.ordinalNumber(o+1,{unit:"month"});case"MMM":return r.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return r.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,r){var o=e.getUTCMonth();switch(t){case"L":return String(o+1);case"LL":return M(o+1,2);case"Lo":return r.ordinalNumber(o+1,{unit:"month"});case"LLL":return r.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return r.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,r,o){var a=Ca(e,o);return t==="wo"?r.ordinalNumber(a,{unit:"week"}):M(a,t.length)},I:function(e,t,r){var o=xa(e);return t==="Io"?r.ordinalNumber(o,{unit:"week"}):M(o,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 o=Ns(e);return t==="Do"?r.ordinalNumber(o,{unit:"dayOfYear"}):M(o,t.length)},E:function(e,t,r){var o=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return r.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(o,{width:"short",context:"formatting"});case"EEEE":default:return r.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,r,o){var a=e.getUTCDay(),n=(a-o.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,o){var a=e.getUTCDay(),n=(a-o.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 o=e.getUTCDay(),a=o===0?7:o;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(o,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(o,{width:"short",context:"formatting"});case"iiii":default:return r.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,r){var o=e.getUTCHours(),a=o/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 o=e.getUTCHours(),a;switch(o===12?a=Fe.noon:o===0?a=Fe.midnight:a=o/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 o=e.getUTCHours(),a;switch(o>=17?a=Fe.evening:o>=12?a=Fe.afternoon:o>=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 o=e.getUTCHours()%12;return o===0&&(o=12),r.ordinalNumber(o,{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 o=e.getUTCHours()%12;return t==="Ko"?r.ordinalNumber(o,{unit:"hour"}):M(o,t.length)},k:function(e,t,r){var o=e.getUTCHours();return o===0&&(o=24),t==="ko"?r.ordinalNumber(o,{unit:"hour"}):M(o,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,o){var a=o._originalDate||e,n=a.getTimezoneOffset();if(n===0)return"Z";switch(t){case"X":return fo(n);case"XXXX":case"XX":return Te(n);case"XXXXX":case"XXX":default:return Te(n,":")}},x:function(e,t,r,o){var a=o._originalDate||e,n=a.getTimezoneOffset();switch(t){case"x":return fo(n);case"xxxx":case"xx":return Te(n);case"xxxxx":case"xxx":default:return Te(n,":")}},O:function(e,t,r,o){var a=o._originalDate||e,n=a.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+mo(n,":");case"OOOO":default:return"GMT"+Te(n,":")}},z:function(e,t,r,o){var a=o._originalDate||e,n=a.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+mo(n,":");case"zzzz":default:return"GMT"+Te(n,":")}},t:function(e,t,r,o){var a=o._originalDate||e,n=Math.floor(a.getTime()/1e3);return M(n,t.length)},T:function(e,t,r,o){var a=o._originalDate||e,n=a.getTime();return M(n,t.length)}};function mo(i,e){var t=i>0?"-":"+",r=Math.abs(i),o=Math.floor(r/60),a=r%60;if(a===0)return t+String(o);var n=e;return t+String(o)+n+M(a,2)}function fo(i,e){if(i%60===0){var t=i>0?"-":"+";return t+M(Math.abs(i)/60,2)}return Te(i,e)}function Te(i,e){var t=e||"",r=i>0?"-":"+",o=Math.abs(i),a=M(Math.floor(o/60),2),n=M(o%60,2);return r+a+t+n}const Us=Hs;var _o=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"})}},ka=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"})}},Ws=function(e,t){var r=e.match(/(P+)(p+)?/)||[],o=r[1],a=r[2];if(!a)return _o(e,t);var n;switch(o){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}}",_o(o,t)).replace("{{time}}",ka(a,t))},qs={p:ka,P:Ws};const Yr=qs;function Ea(i){var e=new Date(Date.UTC(i.getFullYear(),i.getMonth(),i.getDate(),i.getHours(),i.getMinutes(),i.getSeconds(),i.getMilliseconds()));return e.setUTCFullYear(i.getFullYear()),i.getTime()-e.getTime()}var Ys=["D","DD"],js=["YY","YYYY"];function Ta(i){return Ys.indexOf(i)!==-1}function Aa(i){return js.indexOf(i)!==-1}function Jt(i,e,t){if(i==="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(i==="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(i==="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(i==="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 Gs={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"}},Ks=function(e,t,r){var o,a=Gs[e];return typeof a=="string"?o=a:t===1?o=a.one:o=a.other.replace("{{count}}",t.toString()),r!=null&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o};const Xs=Ks;function Sr(i){return function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.width?String(e.width):i.defaultWidth,r=i.formats[t]||i.formats[i.defaultWidth];return r}}var Qs={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Js={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Zs={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},el={date:Sr({formats:Qs,defaultWidth:"full"}),time:Sr({formats:Js,defaultWidth:"full"}),dateTime:Sr({formats:Zs,defaultWidth:"full"})};const tl=el;var rl={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},il=function(e,t,r,o){return rl[e]};const ol=il;function at(i){return function(e,t){var r=t!=null&&t.context?String(t.context):"standalone",o;if(r==="formatting"&&i.formattingValues){var a=i.defaultFormattingWidth||i.defaultWidth,n=t!=null&&t.width?String(t.width):a;o=i.formattingValues[n]||i.formattingValues[a]}else{var s=i.defaultWidth,l=t!=null&&t.width?String(t.width):i.defaultWidth;o=i.values[l]||i.values[s]}var d=i.argumentCallback?i.argumentCallback(e):e;return o[d]}}var al={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},nl={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},sl={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"]},ll={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"]},dl={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"}},cl={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"}},hl=function(e,t){var r=Number(e),o=r%100;if(o>20||o<10)switch(o%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},ul={ordinalNumber:hl,era:at({values:al,defaultWidth:"wide"}),quarter:at({values:nl,defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:at({values:sl,defaultWidth:"wide"}),day:at({values:ll,defaultWidth:"wide"}),dayPeriod:at({values:dl,defaultWidth:"wide",formattingValues:cl,defaultFormattingWidth:"wide"})};const pl=ul;function nt(i){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.width,o=r&&i.matchPatterns[r]||i.matchPatterns[i.defaultMatchWidth],a=e.match(o);if(!a)return null;var n=a[0],s=r&&i.parsePatterns[r]||i.parsePatterns[i.defaultParseWidth],l=Array.isArray(s)?fl(s,function(h){return h.test(n)}):ml(s,function(h){return h.test(n)}),d;d=i.valueCallback?i.valueCallback(l):l,d=t.valueCallback?t.valueCallback(d):d;var c=e.slice(n.length);return{value:d,rest:c}}}function ml(i,e){for(var t in i)if(i.hasOwnProperty(t)&&e(i[t]))return t}function fl(i,e){for(var t=0;t<i.length;t++)if(e(i[t]))return t}function _l(i){return function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=e.match(i.matchPattern);if(!r)return null;var o=r[0],a=e.match(i.parsePattern);if(!a)return null;var n=i.valueCallback?i.valueCallback(a[0]):a[0];n=t.valueCallback?t.valueCallback(n):n;var s=e.slice(o.length);return{value:n,rest:s}}}var vl=/^(\d+)(th|st|nd|rd)?/i,gl=/\d+/i,bl={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},yl={any:[/^b/i,/^(a|c)/i]},wl={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},xl={any:[/1/i,/2/i,/3/i,/4/i]},Cl={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},kl={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]},El={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},Tl={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]},Al={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},Pl={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}},Il={ordinalNumber:_l({matchPattern:vl,parsePattern:gl,valueCallback:function(e){return parseInt(e,10)}}),era:nt({matchPatterns:bl,defaultMatchWidth:"wide",parsePatterns:yl,defaultParseWidth:"any"}),quarter:nt({matchPatterns:wl,defaultMatchWidth:"wide",parsePatterns:xl,defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:nt({matchPatterns:Cl,defaultMatchWidth:"wide",parsePatterns:kl,defaultParseWidth:"any"}),day:nt({matchPatterns:El,defaultMatchWidth:"wide",parsePatterns:Tl,defaultParseWidth:"any"}),dayPeriod:nt({matchPatterns:Al,defaultMatchWidth:"any",parsePatterns:Pl,defaultParseWidth:"any"})};const Sl=Il;var Dl={code:"en-US",formatDistance:Xs,formatLong:tl,formatRelative:ol,localize:pl,match:Sl,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Pa=Dl;var Ol=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Ml=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,zl=/^'([^]*?)'?$/,Nl=/''/g,Ll=/[a-zA-Z]/;function Ie(i,e,t){var r,o,a,n,s,l,d,c,h,u,p,b,N,D;V(2,arguments);var O=String(e),A=Qe(),U=(r=(o=void 0)!==null&&o!==void 0?o:A.locale)!==null&&r!==void 0?r:Pa,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(i);if(!Os(ge))throw new RangeError("Invalid time value");var tt=Ea(ge),rt=ya(ge,tt),it={firstWeekContainsDate:W,weekStartsOn:ne,locale:U,_originalDate:ge},Ar=O.match(Ml).map(function(j){var ee=j[0];if(ee==="p"||ee==="P"){var ke=Yr[ee];return ke(j,U.formatLong)}return j}).join("").match(Ol).map(function(j){if(j==="''")return"'";var ee=j[0];if(ee==="'")return Fl(j);var ke=Us[ee];if(ke)return Aa(j)&&Jt(j,e,String(i)),Ta(j)&&Jt(j,e,String(i)),ke(rt,j,U.localize,it);if(ee.match(Ll))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ee+"`");return j}).join("");return Ar}function Fl(i){var e=i.match(zl);return e?e[1].replace(Nl,"'"):i}class Ia{constructor(){}static dateToFormatedString(e,t){const r=t?Ie(e,t):e.toLocaleDateString("en-gb"),o=e.toLocaleTimeString([],{hour:"2-digit",minute:"2-digit",hour12:!1});return`${r}, ${o}`}}class Sa{constructor(){}static format(e,t){let r=`${t} ${e}`;try{r=new Intl.NumberFormat("en-US",{style:"currency",currency:e}).format(t)}catch(o){}return r}}const Bl=i=>m.h("div",{class:"data-transaction"},m.h("p",null,i.productType),m.h("p",{class:"text-style text-style-status"},m.h("span",{class:i.status.toLowerCase()},i.status)),m.h("p",{class:"date"},i.transId," | ",Ia.dateToFormatedString(new Date(i.created),i.dateformat)),m.h("p",{class:"text-style"},Sa.format(i.currency,i.realAmount)," ")),Vl=i=>m.h("div",{class:"page-size"},m.h("span",null,I.translate("show",i.language)),i.pageSizes.map(e=>m.h("button",{class:i.currentPageSize===e?"active":"",onClick:()=>i.changePageSize(e)},e))),Rl=({source:i,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(o=>m.h("th",null,o.name)))),m.h("tbody",null,i.map(o=>m.h("tr",null,m.h("td",null,o.transId),m.h("td",null,Ia.dateToFormatedString(new Date(o.created),t)),m.h("td",null,Sa.format(o.currency,o.realAmount)," "),m.h("td",null,o.productType),m.h("td",null,m.h("span",{class:o.status.toLowerCase()},o.status))))))},Ve="__WIDGET_GLOBAL_STYLE_CACHE__";function vo(i,e){if(i){const t=document.createElement("style");t.innerHTML=e,i.appendChild(t)}}function go(i,e){if(!i||!e)return;const t=new URL(e);fetch(t.href).then(r=>r.text()).then(r=>{const o=document.createElement("style");o.innerHTML=r,i&&i.appendChild(o)}).catch(r=>{console.error("There was an error while trying to load client styling from URL",r)})}function $l(i,e,t,r=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!r)return t=Hl(i,e),t;window[Ve]||(window[Ve]={}),t=Ul(i,e);const a=t.unsubscribe.bind(t),n=()=>{if(window[Ve][e]){const s=window[Ve][e];s.refCount>1?s.refCount=s.refCount-1:delete window[Ve][e]}a()};return t.unsubscribe=n,t}function Hl(i,e){const t=document.createElement("style");return window.emMessageBus.subscribe(e,r=>{i&&(t.innerHTML=r,i.appendChild(t))})}function Ul(i,e){return window.emMessageBus.subscribe(e,t=>{if(!i)return;const r=i.getRootNode(),o=window[Ve];let a=o[e]&&o[e].sheet;a?o[e].refCount=o[e].refCount+1:(a=new CSSStyleSheet,a.replaceSync(t),o[e]={sheet:a,refCount:1});const n=r.adoptedStyleSheets||[];n.includes(a)||(r.adoptedStyleSheets=[...n,a])})}function bo(i,e){(e==null||e>i.length)&&(e=i.length);for(var t=0,r=Array(e);t<e;t++)r[t]=i[t];return r}function Wl(i,e){if(i){if(typeof i=="string")return bo(i,e);var t={}.toString.call(i).slice(8,-1);return t==="Object"&&i.constructor&&(t=i.constructor.name),t==="Map"||t==="Set"?Array.from(i):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?bo(i,e):void 0}}function yo(i,e){var t=typeof Symbol!="undefined"&&i[Symbol.iterator]||i["@@iterator"];if(!t){if(Array.isArray(i)||(t=Wl(i))||e){t&&(i=t);var r=0,o=function(){};return{s:o,n:function(){return r>=i.length?{done:!0}:{done:!1,value:i[r++]}},e:function(d){throw d},f:o}}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(i)},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 ql(i,e){if(i==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)&&(i[t]=e[t]);return i}function v(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}function jr(i,e){return jr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,r){return t.__proto__=r,t},jr(i,e)}function E(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");i.prototype=Object.create(e&&e.prototype,{constructor:{value:i,writable:!0,configurable:!0}}),Object.defineProperty(i,"prototype",{writable:!1}),e&&jr(i,e)}function Zt(i){return Zt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Zt(i)}function Da(){try{var i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Da=function(){return!!i})()}function Yl(i,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(i)}function T(i){var e=Da();return function(){var t,r=Zt(i);if(e){var o=Zt(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return Yl(this,t)}}function w(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}function jl(i,e){if(_e(i)!="object"||!i)return i;var t=i[Symbol.toPrimitive];if(t!==void 0){var r=t.call(i,e);if(_e(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}function Oa(i){var e=jl(i,"string");return _e(e)=="symbol"?e:e+""}function Gl(i,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(i,Oa(r.key),r)}}function x(i,e,t){return e&&Gl(i.prototype,e),Object.defineProperty(i,"prototype",{writable:!1}),i}function _(i,e,t){return(e=Oa(e))in i?Object.defineProperty(i,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):i[e]=t,i}var Kl=10,Ma=function(){function i(){w(this,i),_(this,"priority",void 0),_(this,"subPriority",0)}return x(i,[{key:"validate",value:function(t,r){return!0}}]),i}(),Xl=function(i){E(t,i);var e=T(t);function t(r,o,a,n,s){var l;return w(this,t),l=e.call(this),l.value=r,l.validateValue=o,l.setValue=a,l.priority=n,s&&(l.subPriority=s),l}return x(t,[{key:"validate",value:function(o,a){return this.validateValue(o,this.value,a)}},{key:"set",value:function(o,a,n){return this.setValue(o,a,this.value,n)}}]),t}(Ma),Ql=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;n++)a[n]=arguments[n];return r=e.call.apply(e,[this].concat(a)),_(v(r),"priority",Kl),_(v(r),"subPriority",-1),r}return x(t,[{key:"set",value:function(o,a){if(a.timestampIsSet)return o;var n=new Date(0);return n.setFullYear(o.getUTCFullYear(),o.getUTCMonth(),o.getUTCDate()),n.setHours(o.getUTCHours(),o.getUTCMinutes(),o.getUTCSeconds(),o.getUTCMilliseconds()),n}}]),t}(Ma),S=function(){function i(){w(this,i),_(this,"incompatibleTokens",void 0),_(this,"priority",void 0),_(this,"subPriority",void 0)}return x(i,[{key:"run",value:function(t,r,o,a){var n=this.parse(t,r,o,a);return n?{setter:new Xl(n.value,this.validate,this.set,this.priority,this.subPriority),rest:n.rest}:null}},{key:"validate",value:function(t,r,o){return!0}}]),i}(),Jl=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"})||n.era(o,{width:"narrow"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})||n.era(o,{width:"abbreviated"})||n.era(o,{width:"narrow"})}}},{key:"set",value:function(o,a,n){return a.era=n,o.setUTCFullYear(n,0,1),o.setUTCHours(0,0,0,0),o}}]),t}(S),Zl=6e4,ed=36e5,td=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 $(i,e){return i&&{value:e(i.value),rest:i.rest}}function F(i,e){var t=e.match(i);return t?{value:parseInt(t[0],10),rest:e.slice(t[0].length)}:null}function ce(i,e){var t=e.match(i);if(!t)return null;if(t[0]==="Z")return{value:0,rest:e.slice(1)};var r=t[1]==="+"?1:-1,o=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*(o*ed+a*Zl+n*td),rest:e.slice(t[0].length)}}function za(i){return F(R.anyDigitsSigned,i)}function B(i,e){switch(i){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,"+i+"}"),e)}}function er(i,e){switch(i){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,"+i+"}"),e)}}function yi(i){switch(i){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 Na(i,e){var t=e>0,r=t?e:1-e,o;if(r<=50)o=i||100;else{var a=r+50,n=Math.floor(a/100)*100,s=i>=a%100;o=i+n-(s?100:0)}return t?o:1-o}function La(i){return i%400===0||i%4===0&&i%100!==0}var rd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){var s=function(d){return{year:d,isTwoDigitYear:a==="yy"}};switch(a){case"y":return $(B(4,o),s);case"yo":return $(n.ordinalNumber(o,{unit:"year"}),s);default:return $(B(a.length,o),s)}}},{key:"validate",value:function(o,a){return a.isTwoDigitYear||a.year>0}},{key:"set",value:function(o,a,n){var s=o.getUTCFullYear();if(n.isTwoDigitYear){var l=Na(n.year,s);return o.setUTCFullYear(l,0,1),o.setUTCHours(0,0,0,0),o}var d=!("era"in a)||a.era===1?n.year:1-n.year;return o.setUTCFullYear(d,0,1),o.setUTCHours(0,0,0,0),o}}]),t}(S),id=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){var s=function(d){return{year:d,isTwoDigitYear:a==="YY"}};switch(a){case"Y":return $(B(4,o),s);case"Yo":return $(n.ordinalNumber(o,{unit:"year"}),s);default:return $(B(a.length,o),s)}}},{key:"validate",value:function(o,a){return a.isTwoDigitYear||a.year>0}},{key:"set",value:function(o,a,n,s){var l=bi(o,s);if(n.isTwoDigitYear){var d=Na(n.year,l);return o.setUTCFullYear(d,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),De(o,s)}var c=!("era"in a)||a.era===1?n.year:1-n.year;return o.setUTCFullYear(c,0,s.firstWeekContainsDate),o.setUTCHours(0,0,0,0),De(o,s)}}]),t}(S),od=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a){return er(a==="R"?4:a.length,o)}},{key:"set",value:function(o,a,n){var s=new Date(0);return s.setUTCFullYear(n,0,4),s.setUTCHours(0,0,0,0),Ye(s)}}]),t}(S),ad=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a){return er(a==="u"?4:a.length,o)}},{key:"set",value:function(o,a,n){return o.setUTCFullYear(n,0,1),o.setUTCHours(0,0,0,0),o}}]),t}(S),nd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"Q":case"QQ":return B(a.length,o);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"})||n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})||n.quarter(o,{width:"abbreviated",context:"formatting"})||n.quarter(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,a){return a>=1&&a<=4}},{key:"set",value:function(o,a,n){return o.setUTCMonth((n-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),t}(S),sd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"q":case"qq":return B(a.length,o);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"})||n.quarter(o,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})||n.quarter(o,{width:"abbreviated",context:"standalone"})||n.quarter(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,a){return a>=1&&a<=4}},{key:"set",value:function(o,a,n){return o.setUTCMonth((n-1)*3,1),o.setUTCHours(0,0,0,0),o}}]),t}(S),ld=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){var s=function(d){return d-1};switch(a){case"M":return $(F(R.month,o),s);case"MM":return $(B(2,o),s);case"Mo":return $(n.ordinalNumber(o,{unit:"month"}),s);case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"})||n.month(o,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})||n.month(o,{width:"abbreviated",context:"formatting"})||n.month(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,a){return a>=0&&a<=11}},{key:"set",value:function(o,a,n){return o.setUTCMonth(n,1),o.setUTCHours(0,0,0,0),o}}]),t}(S),dd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){var s=function(d){return d-1};switch(a){case"L":return $(F(R.month,o),s);case"LL":return $(B(2,o),s);case"Lo":return $(n.ordinalNumber(o,{unit:"month"}),s);case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"})||n.month(o,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})||n.month(o,{width:"abbreviated",context:"standalone"})||n.month(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,a){return a>=0&&a<=11}},{key:"set",value:function(o,a,n){return o.setUTCMonth(n,1),o.setUTCHours(0,0,0,0),o}}]),t}(S);function cd(i,e,t){V(2,arguments);var r=K(i),o=Q(e),a=Ca(r,t)-o;return r.setUTCDate(r.getUTCDate()-a*7),r}var hd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"w":return F(R.week,o);case"wo":return n.ordinalNumber(o,{unit:"week"});default:return B(a.length,o)}}},{key:"validate",value:function(o,a){return a>=1&&a<=53}},{key:"set",value:function(o,a,n,s){return De(cd(o,n,s),s)}}]),t}(S);function ud(i,e){V(2,arguments);var t=K(i),r=Q(e),o=xa(t)-r;return t.setUTCDate(t.getUTCDate()-o*7),t}var pd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"I":return F(R.week,o);case"Io":return n.ordinalNumber(o,{unit:"week"});default:return B(a.length,o)}}},{key:"validate",value:function(o,a){return a>=1&&a<=53}},{key:"set",value:function(o,a,n){return Ye(ud(o,n))}}]),t}(S),md=[31,28,31,30,31,30,31,31,30,31,30,31],fd=[31,29,31,30,31,30,31,31,30,31,30,31],_d=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"d":return F(R.date,o);case"do":return n.ordinalNumber(o,{unit:"date"});default:return B(a.length,o)}}},{key:"validate",value:function(o,a){var n=o.getUTCFullYear(),s=La(n),l=o.getUTCMonth();return s?a>=1&&a<=fd[l]:a>=1&&a<=md[l]}},{key:"set",value:function(o,a,n){return o.setUTCDate(n),o.setUTCHours(0,0,0,0),o}}]),t}(S),vd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"D":case"DD":return F(R.dayOfYear,o);case"Do":return n.ordinalNumber(o,{unit:"date"});default:return B(a.length,o)}}},{key:"validate",value:function(o,a){var n=o.getUTCFullYear(),s=La(n);return s?a>=1&&a<=366:a>=1&&a<=365}},{key:"set",value:function(o,a,n){return o.setUTCMonth(0,n),o.setUTCHours(0,0,0,0),o}}]),t}(S);function wi(i,e,t){var r,o,a,n,s,l,d,c;V(2,arguments);var h=Qe(),u=Q((r=(o=(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&&o!==void 0?o:(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(i),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 gd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"})||n.day(o,{width:"short",context:"formatting"})||n.day(o,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"})||n.day(o,{width:"narrow",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})||n.day(o,{width:"abbreviated",context:"formatting"})||n.day(o,{width:"short",context:"formatting"})||n.day(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,a){return a>=0&&a<=6}},{key:"set",value:function(o,a,n,s){return o=wi(o,n,s),o.setUTCHours(0,0,0,0),o}}]),t}(S),bd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,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,o),l);case"eo":return $(n.ordinalNumber(o,{unit:"day"}),l);case"eee":return n.day(o,{width:"abbreviated",context:"formatting"})||n.day(o,{width:"short",context:"formatting"})||n.day(o,{width:"narrow",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"})||n.day(o,{width:"narrow",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})||n.day(o,{width:"abbreviated",context:"formatting"})||n.day(o,{width:"short",context:"formatting"})||n.day(o,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(o,a){return a>=0&&a<=6}},{key:"set",value:function(o,a,n,s){return o=wi(o,n,s),o.setUTCHours(0,0,0,0),o}}]),t}(S),yd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,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,o),l);case"co":return $(n.ordinalNumber(o,{unit:"day"}),l);case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"})||n.day(o,{width:"short",context:"standalone"})||n.day(o,{width:"narrow",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"})||n.day(o,{width:"narrow",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})||n.day(o,{width:"abbreviated",context:"standalone"})||n.day(o,{width:"short",context:"standalone"})||n.day(o,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(o,a){return a>=0&&a<=6}},{key:"set",value:function(o,a,n,s){return o=wi(o,n,s),o.setUTCHours(0,0,0,0),o}}]),t}(S);function wd(i,e){V(2,arguments);var t=Q(e);t%7===0&&(t=t-7);var r=1,o=K(i),a=o.getUTCDay(),n=t%7,s=(n+7)%7,l=(s<r?7:0)+t-a;return o.setUTCDate(o.getUTCDate()+l),o}var xd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){var s=function(d){return d===0?7:d};switch(a){case"i":case"ii":return B(a.length,o);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return $(n.day(o,{width:"abbreviated",context:"formatting"})||n.day(o,{width:"short",context:"formatting"})||n.day(o,{width:"narrow",context:"formatting"}),s);case"iiiii":return $(n.day(o,{width:"narrow",context:"formatting"}),s);case"iiiiii":return $(n.day(o,{width:"short",context:"formatting"})||n.day(o,{width:"narrow",context:"formatting"}),s);case"iiii":default:return $(n.day(o,{width:"wide",context:"formatting"})||n.day(o,{width:"abbreviated",context:"formatting"})||n.day(o,{width:"short",context:"formatting"})||n.day(o,{width:"narrow",context:"formatting"}),s)}}},{key:"validate",value:function(o,a){return a>=1&&a<=7}},{key:"set",value:function(o,a,n){return o=wd(o,n),o.setUTCHours(0,0,0,0),o}}]),t}(S),Cd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"a":case"aa":case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"})||n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})||n.dayPeriod(o,{width:"abbreviated",context:"formatting"})||n.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,a,n){return o.setUTCHours(yi(n),0,0,0),o}}]),t}(S),kd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"b":case"bb":case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"})||n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})||n.dayPeriod(o,{width:"abbreviated",context:"formatting"})||n.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,a,n){return o.setUTCHours(yi(n),0,0,0),o}}]),t}(S),Ed=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"})||n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})||n.dayPeriod(o,{width:"abbreviated",context:"formatting"})||n.dayPeriod(o,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(o,a,n){return o.setUTCHours(yi(n),0,0,0),o}}]),t}(S),Td=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"h":return F(R.hour12h,o);case"ho":return n.ordinalNumber(o,{unit:"hour"});default:return B(a.length,o)}}},{key:"validate",value:function(o,a){return a>=1&&a<=12}},{key:"set",value:function(o,a,n){var s=o.getUTCHours()>=12;return s&&n<12?o.setUTCHours(n+12,0,0,0):!s&&n===12?o.setUTCHours(0,0,0,0):o.setUTCHours(n,0,0,0),o}}]),t}(S),Ad=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"H":return F(R.hour23h,o);case"Ho":return n.ordinalNumber(o,{unit:"hour"});default:return B(a.length,o)}}},{key:"validate",value:function(o,a){return a>=0&&a<=23}},{key:"set",value:function(o,a,n){return o.setUTCHours(n,0,0,0),o}}]),t}(S),Pd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"K":return F(R.hour11h,o);case"Ko":return n.ordinalNumber(o,{unit:"hour"});default:return B(a.length,o)}}},{key:"validate",value:function(o,a){return a>=0&&a<=11}},{key:"set",value:function(o,a,n){var s=o.getUTCHours()>=12;return s&&n<12?o.setUTCHours(n+12,0,0,0):o.setUTCHours(n,0,0,0),o}}]),t}(S),Id=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"k":return F(R.hour24h,o);case"ko":return n.ordinalNumber(o,{unit:"hour"});default:return B(a.length,o)}}},{key:"validate",value:function(o,a){return a>=1&&a<=24}},{key:"set",value:function(o,a,n){var s=n<=24?n%24:n;return o.setUTCHours(s,0,0,0),o}}]),t}(S),Sd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"m":return F(R.minute,o);case"mo":return n.ordinalNumber(o,{unit:"minute"});default:return B(a.length,o)}}},{key:"validate",value:function(o,a){return a>=0&&a<=59}},{key:"set",value:function(o,a,n){return o.setUTCMinutes(n,0,0),o}}]),t}(S),Dd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a,n){switch(a){case"s":return F(R.second,o);case"so":return n.ordinalNumber(o,{unit:"second"});default:return B(a.length,o)}}},{key:"validate",value:function(o,a){return a>=0&&a<=59}},{key:"set",value:function(o,a,n){return o.setUTCSeconds(n,0),o}}]),t}(S),Od=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a){var n=function(l){return Math.floor(l*Math.pow(10,-a.length+3))};return $(B(a.length,o),n)}},{key:"set",value:function(o,a,n){return o.setUTCMilliseconds(n),o}}]),t}(S),Md=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a){switch(a){case"X":return ce(de.basicOptionalMinutes,o);case"XX":return ce(de.basic,o);case"XXXX":return ce(de.basicOptionalSeconds,o);case"XXXXX":return ce(de.extendedOptionalSeconds,o);case"XXX":default:return ce(de.extended,o)}}},{key:"set",value:function(o,a,n){return a.timestampIsSet?o:new Date(o.getTime()-n)}}]),t}(S),zd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o,a){switch(a){case"x":return ce(de.basicOptionalMinutes,o);case"xx":return ce(de.basic,o);case"xxxx":return ce(de.basicOptionalSeconds,o);case"xxxxx":return ce(de.extendedOptionalSeconds,o);case"xxx":default:return ce(de.extended,o)}}},{key:"set",value:function(o,a,n){return a.timestampIsSet?o:new Date(o.getTime()-n)}}]),t}(S),Nd=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o){return za(o)}},{key:"set",value:function(o,a,n){return[new Date(n*1e3),{timestampIsSet:!0}]}}]),t}(S),Ld=function(i){E(t,i);var e=T(t);function t(){var r;w(this,t);for(var o=arguments.length,a=new Array(o),n=0;n<o;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(o){return za(o)}},{key:"set",value:function(o,a,n){return[new Date(n),{timestampIsSet:!0}]}}]),t}(S),Fd={G:new Jl,y:new rd,Y:new id,R:new od,u:new ad,Q:new nd,q:new sd,M:new ld,L:new dd,w:new hd,I:new pd,d:new _d,D:new vd,E:new gd,e:new bd,c:new yd,i:new xd,a:new Cd,b:new kd,B:new Ed,h:new Td,H:new Ad,K:new Pd,k:new Id,m:new Sd,s:new Dd,S:new Od,X:new Md,x:new zd,t:new Nd,T:new Ld},Bd=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Vd=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Rd=/^'([^]*?)'?$/,$d=/''/g,Hd=/\S/,Ud=/[a-zA-Z]/;function Fa(i,e,t,r){var o,a,n,s,l,d,c,h,u,p,b,N,D,O;V(3,arguments);var A=String(i),U=String(e),W=Qe(),ne=(o=(a=void 0)!==null&&a!==void 0?a:W.locale)!==null&&o!==void 0?o:Pa;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 tt=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(!(tt>=0&&tt<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(U==="")return A===""?K(t):new Date(NaN);var rt={firstWeekContainsDate:ge,weekStartsOn:tt,locale:ne},it=[new Ql],Ar=U.match(Vd).map(function(q){var L=q[0];if(L in Yr){var ae=Yr[L];return ae(q,ne.formatLong)}return q}).join("").match(Bd),j=[],ee=yo(Ar),ke;try{var As=function(){var L=ke.value;!(r!=null&&r.useAdditionalWeekYearTokens)&&Aa(L)&&Jt(L,U,i),!(r!=null&&r.useAdditionalDayOfYearTokens)&&Ta(L)&&Jt(L,U,i);var ae=L[0],Vt=Fd[ae];if(Vt){var ho=Vt.incompatibleTokens;if(Array.isArray(ho)){var uo=j.find(function(po){return ho.includes(po.token)||po.token===ae});if(uo)throw new RangeError("The format string mustn't contain `".concat(uo.fullToken,"` and `").concat(L,"` at the same time"))}else if(Vt.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 Ir=Vt.run(A,L,ne.match,rt);if(!Ir)return{v:new Date(NaN)};it.push(Ir.setter),A=Ir.rest}else{if(ae.match(Ud))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ae+"`");if(L==="''"?L="'":ae==="'"&&(L=Wd(L)),A.indexOf(L)===0)A=A.slice(L.length);else return{v:new Date(NaN)}}};for(ee.s();!(ke=ee.n()).done;){var no=As();if(_e(no)==="object")return no.v}}catch(q){ee.e(q)}finally{ee.f()}if(A.length>0&&Hd.test(A))return new Date(NaN);var Ps=it.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 it.filter(function(L){return L.priority===q}).sort(function(L,ae){return ae.subPriority-L.subPriority})}).map(function(q){return q[0]}),Pr=K(t);if(isNaN(Pr.getTime()))return new Date(NaN);var ot=ya(Pr,Ea(Pr)),so={},Ft=yo(Ps),lo;try{for(Ft.s();!(lo=Ft.n()).done;){var co=lo.value;if(!co.validate(ot,rt))return new Date(NaN);var Bt=co.set(ot,so,rt);Array.isArray(Bt)?(ot=Bt[0],ql(so,Bt[1])):ot=Bt}}catch(q){Ft.e(q)}finally{Ft.f()}return ot}function Wd(i){return i.match(Rd)[1].replace($d,"'")}function qd(i,e){V(2,arguments);var t=K(i),r=Q(e);if(isNaN(r))return new Date(NaN);if(!r)return t;var o=t.getDate(),a=new Date(t.getTime());a.setMonth(t.getMonth()+r+1,0);var n=a.getDate();return o>=n?a:(t.setFullYear(a.getFullYear(),a.getMonth(),o),t)}function Yd(i,e){V(2,arguments);var t=Q(e);return qd(i,-t)}const jd=':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))}',Gd=jd,Ba=class{constructor(i){m.registerInstance(this,i),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(i,e){i!=e&&vo(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(i,e){i!=e&&this.clientStylingUrl&&go(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Rt(this,null,function*(){this.translationUrl&&(yield I.loadCustomTranslations(this.translationUrl)),this.to=Ie(new Date,`${this.dateFormat||"yyyy-MM-dd"}`),this.from=Ie(Yd(new Date,1),`${this.dateFormat||"yyyy-MM-dd"}`),this.loadTransactions()})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?$l(this.stylingContainer,`${this.mbSource}.Style`,this.stylingSubscription):(this.clientStyling&&vo(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&go(this.stylingContainer,this.clientStylingUrl)))}componentDidRender(){this.getComponentHeight()}getComponentHeight(){var i;if(this.mobile){let e=this.el.getBoundingClientRect().height-((i=this.el.shadowRoot.querySelector(".table"))===null||i===void 0?void 0:i.getBoundingClientRect().y);this.el.style.setProperty("--heightScrollableContainer",e+"px")}}setHeightTableProperty(){let i=this.getComponentHeight();this.el.style.setProperty("--heightScrollableContainer",i+"px")}changeTransactionsType(i){this.type=i}changePageSize(i){this.pageSize=i}prev(){var i;!((i=this.pagination)===null||i===void 0)&&i.previous&&this.page--}next(){var i;!((i=this.pagination)===null||i===void 0)&&i.next&&this.page++}applyFilters(i,e){this.from=i,this.to=e,this.loadTransactions()}showFilter(){this.showMobileFilter=!this.showMobileFilter}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){var i;const e=m.getAssetPath("../assets/filter.svg"),t=m.getAssetPath("../assets/warning.svg");return m.h(m.Host,{key:"395328866f9fbae0a79d1dcf9dc5e9fd6e321406"},this.showLoader?m.h(Ss,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(Vl,{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:o}})=>this.applyFilters(r,o),from:this.from,to:this.to,dateformat:this.dateFormat}):"",((i=this.transactions)===null||i===void 0?void 0:i.length)>0?m.h("div",{class:"table"},this.mobile?m.h("div",{class:"mobile-table"},this.transactions.map(r=>m.h(Bl,Object.assign({},r,{dateformat:this.dateFormat})))):m.h(Rl,{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 Rt(this,null,function*(){this.showLoader=!0;try{const i=`${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`,e=yield fetch(i,{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(i){console.error(i)}finally{this.showLoader=!1}})}formatDateForApi(i){const e=Fa(i,`${this.dateFormat||"yyyy-MM-dd"}`,new Date);return Ie(e,"yyyy-MM-dd")}getParams(){const i=(this.page*this.pageSize).toString(),e=this.formatDateForApi(this.from),t=this.formatDateForApi(this.to);return`offset=${i}&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"]}}};Ba.style=Gd;var Kd=Object.defineProperty,Xd=Object.defineProperties,Qd=Object.getOwnPropertyDescriptors,wo=Object.getOwnPropertySymbols,Jd=Object.prototype.hasOwnProperty,Zd=Object.prototype.propertyIsEnumerable,Gr=(i,e,t)=>e in i?Kd(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t,tr=(i,e)=>{for(var t in e||(e={}))Jd.call(e,t)&&Gr(i,t,e[t]);if(wo)for(var t of wo(e))Zd.call(e,t)&&Gr(i,t,e[t]);return i},Va=(i,e)=>Xd(i,Qd(e)),X=(i,e,t)=>(Gr(i,typeof e!="symbol"?e+"":e,t),t),rr=(i,e,t)=>new Promise((r,o)=>{var a=l=>{try{s(t.next(l))}catch(d){o(d)}},n=l=>{try{s(t.throw(l))}catch(d){o(d)}},s=l=>l.done?r(l.value):Promise.resolve(l.value).then(a,n);s((t=t.apply(i,e)).next())});/**
3
3
  * @license
4
4
  * Copyright (c) 2021 - 2024 Vaadin Ltd.
@@ -21,7 +21,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
21
21
  * SPDX-License-Identifier: BSD-3-Clause
22
22
  */const ir=globalThis,Po=i=>i,or=ir.trustedTypes,Io=or?or.createPolicy("lit-html",{createHTML:i=>i}):void 0,Ha="$lit$",ye=`lit$${Math.random().toFixed(9).slice(2)}$`,Ua="?"+ye,dc=`<${Ua}>`,Oe=document,vt=()=>Oe.createComment(""),gt=i=>i===null||typeof i!="object"&&typeof i!="function",Ei=Array.isArray,cc=i=>Ei(i)||typeof(i==null?void 0:i[Symbol.iterator])=="function",Dr=`[
23
23
  \f\r]`,st=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,So=/-->/g,Do=/>/g,Ee=RegExp(`>|${Dr}(?:([^\\s"'>=/]+)(${Dr}*=${Dr}*(?:[^
24
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Oo=/'/g,Mo=/"/g,Wa=/^(?:script|style|textarea|title)$/i,Ge=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),zo=new WeakMap,Ae=Oe.createTreeWalker(Oe,129);function qa(i,e){if(!Ei(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Io!==void 0?Io.createHTML(e):e}const hc=(i,e)=>{const t=i.length-1,r=[];let o,a=e===2?"<svg>":e===3?"<math>":"",n=st;for(let s=0;s<t;s++){const l=i[s];let d,c,h=-1,u=0;for(;u<l.length&&(n.lastIndex=u,c=n.exec(l),c!==null);)u=n.lastIndex,n===st?c[1]==="!--"?n=So:c[1]!==void 0?n=Do:c[2]!==void 0?(Wa.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=Ee):c[3]!==void 0&&(n=Ee):n===Ee?c[0]===">"?(n=o!=null?o:st,h=-1):c[1]===void 0?h=-2:(h=n.lastIndex-c[2].length,d=c[1],n=c[3]===void 0?Ee:c[3]==='"'?Mo:Oo):n===Mo||n===Oo?n=Ee:n===So||n===Do?n=st:(n=Ee,o=void 0);const p=n===Ee&&i[s+1].startsWith("/>")?" ":"";a+=n===st?l+dc:h>=0?(r.push(d),l.slice(0,h)+Ha+l.slice(h)+ye+p):l+ye+(h===-2?s:p)}return[qa(i,a+(i[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),r]};class bt{constructor({strings:e,_$litType$:t},r){let o;this.parts=[];let a=0,n=0;const s=e.length-1,l=this.parts,[d,c]=hc(e,t);if(this.el=bt.createElement(d,r),Ae.currentNode=this.el.content,t===2||t===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(o=Ae.nextNode())!==null&&l.length<s;){if(o.nodeType===1){if(o.hasAttributes())for(const h of o.getAttributeNames())if(h.endsWith(Ha)){const u=c[n++],p=o.getAttribute(h).split(ye),b=/([.?@])?(.*)/.exec(u);l.push({type:1,index:a,name:b[2],strings:p,ctor:b[1]==="."?pc:b[1]==="?"?mc:b[1]==="@"?fc:mr}),o.removeAttribute(h)}else h.startsWith(ye)&&(l.push({type:6,index:a}),o.removeAttribute(h));if(Wa.test(o.tagName)){const h=o.textContent.split(ye),u=h.length-1;if(u>0){o.textContent=or?or.emptyScript:"";for(let p=0;p<u;p++)o.append(h[p],vt()),Ae.nextNode(),l.push({type:2,index:++a});o.append(h[u],vt())}}}else if(o.nodeType===8)if(o.data===Ua)l.push({type:2,index:a});else{let h=-1;for(;(h=o.data.indexOf(ye,h+1))!==-1;)l.push({type:7,index:a}),h+=ye.length-1}a++}}static createElement(e,t){const r=Oe.createElement("template");return r.innerHTML=e,r}}function Ke(i,e,t=i,r){var o,a,n;if(e===Ge)return e;let s=r!==void 0?(o=t._$Co)==null?void 0:o[r]:t._$Cl;const l=gt(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==l&&((a=s==null?void 0:s._$AO)==null||a.call(s,!1),l===void 0?s=void 0:(s=new l(i),s._$AT(i,t,r)),r!==void 0?((n=t._$Co)!=null?n:t._$Co=[])[r]=s:t._$Cl=s),s!==void 0&&(e=Ke(i,s._$AS(i,e.values),s,r)),e}class uc{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:r},parts:o}=this._$AD,a=((t=e==null?void 0:e.creationScope)!=null?t:Oe).importNode(r,!0);Ae.currentNode=a;let n=Ae.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let c;d.type===2?c=new It(n,n.nextSibling,this,e):d.type===1?c=new d.ctor(n,d.name,d.strings,this,e):d.type===6&&(c=new _c(n,this,e)),this._$AV.push(c),d=o[++l]}s!==(d==null?void 0:d.index)&&(n=Ae.nextNode(),s++)}return Ae.currentNode=Oe,a}p(e){let t=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class It{get _$AU(){var e,t;return(t=(e=this._$AM)==null?void 0:e._$AU)!=null?t:this._$Cv}constructor(e,t,r,o){var a;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=o,this._$Cv=(a=o==null?void 0:o.isConnected)!=null?a:!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Ke(this,e,t),gt(e)?e===Y||e==null||e===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):e!==this._$AH&&e!==Ge&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):cc(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==Y&&gt(this._$AH)?this._$AA.nextSibling.data=e:this.T(Oe.createTextNode(e)),this._$AH=e}$(e){var t;const{values:r,_$litType$:o}=e,a=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=bt.createElement(qa(o.h,o.h[0]),this.options)),o);if(((t=this._$AH)==null?void 0:t._$AD)===a)this._$AH.p(r);else{const n=new uc(a,this),s=n.u(this.options);n.p(r),this.T(s),this._$AH=n}}_$AC(e){let t=zo.get(e.strings);return t===void 0&&zo.set(e.strings,t=new bt(e)),t}k(e){Ei(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let r,o=0;for(const a of e)o===t.length?t.push(r=new It(this.O(vt()),this.O(vt()),this,this.options)):r=t[o],r._$AI(a),o++;o<t.length&&(this._$AR(r&&r._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,t);e!==this._$AB;){const o=Po(e).nextSibling;Po(e).remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}}class mr{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,r,o,a){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Y}_$AI(e,t=this,r,o){const a=this.strings;let n=!1;if(a===void 0)e=Ke(this,e,t,0),n=!gt(e)||e!==this._$AH&&e!==Ge,n&&(this._$AH=e);else{const s=e;let l,d;for(e=a[0],l=0;l<a.length-1;l++)d=Ke(this,s[r+l],t,l),d===Ge&&(d=this._$AH[l]),n||(n=!gt(d)||d!==this._$AH[l]),d===Y?e=Y:e!==Y&&(e+=(d!=null?d:"")+a[l+1]),this._$AH[l]=d}n&&!o&&this.j(e)}j(e){e===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}}class pc extends mr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Y?void 0:e}}class mc extends mr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Y)}}class fc extends mr{constructor(e,t,r,o,a){super(e,t,r,o,a),this.type=5}_$AI(e,t=this){var r;if((e=(r=Ke(this,e,t,0))!=null?r:Y)===Ge)return;const o=this._$AH,a=e===Y&&o!==Y||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,n=e!==Y&&(o===Y||a);a&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,r;typeof this._$AH=="function"?this._$AH.call((r=(t=this.options)==null?void 0:t.host)!=null?r:this.element,e):this._$AH.handleEvent(e)}}class _c{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Ke(this,e)}}const No=ir.litHtmlPolyfillSupport;var Lo;No==null||No(bt,It),((Lo=ir.litHtmlVersions)!=null?Lo:ir.litHtmlVersions=[]).push("3.3.2");const Ya=(i,e,t)=>{var r,o;const a=(r=t==null?void 0:t.renderBefore)!=null?r:e;let n=a._$litPart$;if(n===void 0){const s=(o=t==null?void 0:t.renderBefore)!=null?o:null;a._$litPart$=n=new It(e.insertBefore(vt(),s),s,void 0,t!=null?t:{})}return n._$AI(i),n};/**
24
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Oo=/'/g,Mo=/"/g,Wa=/^(?:script|style|textarea|title)$/i,Ge=Symbol.for("lit-noChange"),Y=Symbol.for("lit-nothing"),zo=new WeakMap,Ae=Oe.createTreeWalker(Oe,129);function qa(i,e){if(!Ei(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Io!==void 0?Io.createHTML(e):e}const hc=(i,e)=>{const t=i.length-1,r=[];let o,a=e===2?"<svg>":e===3?"<math>":"",n=st;for(let s=0;s<t;s++){const l=i[s];let d,c,h=-1,u=0;for(;u<l.length&&(n.lastIndex=u,c=n.exec(l),c!==null);)u=n.lastIndex,n===st?c[1]==="!--"?n=So:c[1]!==void 0?n=Do:c[2]!==void 0?(Wa.test(c[2])&&(o=RegExp("</"+c[2],"g")),n=Ee):c[3]!==void 0&&(n=Ee):n===Ee?c[0]===">"?(n=o!=null?o:st,h=-1):c[1]===void 0?h=-2:(h=n.lastIndex-c[2].length,d=c[1],n=c[3]===void 0?Ee:c[3]==='"'?Mo:Oo):n===Mo||n===Oo?n=Ee:n===So||n===Do?n=st:(n=Ee,o=void 0);const p=n===Ee&&i[s+1].startsWith("/>")?" ":"";a+=n===st?l+dc:h>=0?(r.push(d),l.slice(0,h)+Ha+l.slice(h)+ye+p):l+ye+(h===-2?s:p)}return[qa(i,a+(i[t]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),r]};class bt{constructor({strings:e,_$litType$:t},r){let o;this.parts=[];let a=0,n=0;const s=e.length-1,l=this.parts,[d,c]=hc(e,t);if(this.el=bt.createElement(d,r),Ae.currentNode=this.el.content,t===2||t===3){const h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(o=Ae.nextNode())!==null&&l.length<s;){if(o.nodeType===1){if(o.hasAttributes())for(const h of o.getAttributeNames())if(h.endsWith(Ha)){const u=c[n++],p=o.getAttribute(h).split(ye),b=/([.?@])?(.*)/.exec(u);l.push({type:1,index:a,name:b[2],strings:p,ctor:b[1]==="."?pc:b[1]==="?"?mc:b[1]==="@"?fc:mr}),o.removeAttribute(h)}else h.startsWith(ye)&&(l.push({type:6,index:a}),o.removeAttribute(h));if(Wa.test(o.tagName)){const h=o.textContent.split(ye),u=h.length-1;if(u>0){o.textContent=or?or.emptyScript:"";for(let p=0;p<u;p++)o.append(h[p],vt()),Ae.nextNode(),l.push({type:2,index:++a});o.append(h[u],vt())}}}else if(o.nodeType===8)if(o.data===Ua)l.push({type:2,index:a});else{let h=-1;for(;(h=o.data.indexOf(ye,h+1))!==-1;)l.push({type:7,index:a}),h+=ye.length-1}a++}}static createElement(e,t){const r=Oe.createElement("template");return r.innerHTML=e,r}}function Ke(i,e,t=i,r){var o,a,n;if(e===Ge)return e;let s=r!==void 0?(o=t._$Co)==null?void 0:o[r]:t._$Cl;const l=gt(e)?void 0:e._$litDirective$;return(s==null?void 0:s.constructor)!==l&&((a=s==null?void 0:s._$AO)==null||a.call(s,!1),l===void 0?s=void 0:(s=new l(i),s._$AT(i,t,r)),r!==void 0?((n=t._$Co)!=null?n:t._$Co=[])[r]=s:t._$Cl=s),s!==void 0&&(e=Ke(i,s._$AS(i,e.values),s,r)),e}class uc{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:r},parts:o}=this._$AD,a=((t=e==null?void 0:e.creationScope)!=null?t:Oe).importNode(r,!0);Ae.currentNode=a;let n=Ae.nextNode(),s=0,l=0,d=o[0];for(;d!==void 0;){if(s===d.index){let c;d.type===2?c=new It(n,n.nextSibling,this,e):d.type===1?c=new d.ctor(n,d.name,d.strings,this,e):d.type===6&&(c=new _c(n,this,e)),this._$AV.push(c),d=o[++l]}s!==(d==null?void 0:d.index)&&(n=Ae.nextNode(),s++)}return Ae.currentNode=Oe,a}p(e){let t=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class It{get _$AU(){var e,t;return(t=(e=this._$AM)==null?void 0:e._$AU)!=null?t:this._$Cv}constructor(e,t,r,o){var a;this.type=2,this._$AH=Y,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=o,this._$Cv=(a=o==null?void 0:o.isConnected)!=null?a:!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return t!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=Ke(this,e,t),gt(e)?e===Y||e==null||e===""?(this._$AH!==Y&&this._$AR(),this._$AH=Y):e!==this._$AH&&e!==Ge&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):cc(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==Y&&gt(this._$AH)?this._$AA.nextSibling.data=e:this.T(Oe.createTextNode(e)),this._$AH=e}$(e){var t;const{values:r,_$litType$:o}=e,a=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=bt.createElement(qa(o.h,o.h[0]),this.options)),o);if(((t=this._$AH)==null?void 0:t._$AD)===a)this._$AH.p(r);else{const n=new uc(a,this),s=n.u(this.options);n.p(r),this.T(s),this._$AH=n}}_$AC(e){let t=zo.get(e.strings);return t===void 0&&zo.set(e.strings,t=new bt(e)),t}k(e){Ei(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let r,o=0;for(const a of e)o===t.length?t.push(r=new It(this.O(vt()),this.O(vt()),this,this.options)):r=t[o],r._$AI(a),o++;o<t.length&&(this._$AR(r&&r._$AB.nextSibling,o),t.length=o)}_$AR(e=this._$AA.nextSibling,t){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,t);e!==this._$AB;){const o=Po(e).nextSibling;Po(e).remove(),e=o}}setConnected(e){var t;this._$AM===void 0&&(this._$Cv=e,(t=this._$AP)==null||t.call(this,e))}}class mr{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,r,o,a){this.type=1,this._$AH=Y,this._$AN=void 0,this.element=e,this.name=t,this._$AM=o,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=Y}_$AI(e,t=this,r,o){const a=this.strings;let n=!1;if(a===void 0)e=Ke(this,e,t,0),n=!gt(e)||e!==this._$AH&&e!==Ge,n&&(this._$AH=e);else{const s=e;let l,d;for(e=a[0],l=0;l<a.length-1;l++)d=Ke(this,s[r+l],t,l),d===Ge&&(d=this._$AH[l]),n||(n=!gt(d)||d!==this._$AH[l]),d===Y?e=Y:e!==Y&&(e+=(d!=null?d:"")+a[l+1]),this._$AH[l]=d}n&&!o&&this.j(e)}j(e){e===Y?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}}class pc extends mr{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===Y?void 0:e}}class mc extends mr{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==Y)}}class fc extends mr{constructor(e,t,r,o,a){super(e,t,r,o,a),this.type=5}_$AI(e,t=this){var r;if((e=(r=Ke(this,e,t,0))!=null?r:Y)===Ge)return;const o=this._$AH,a=e===Y&&o!==Y||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,n=e!==Y&&(o===Y||a);a&&this.element.removeEventListener(this.name,this,o),n&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,r;typeof this._$AH=="function"?this._$AH.call((r=(t=this.options)==null?void 0:t.host)!=null?r:this.element,e):this._$AH.handleEvent(e)}}class _c{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Ke(this,e)}}const No=ir.litHtmlPolyfillSupport;var Lo;No==null||No(bt,It),((Lo=ir.litHtmlVersions)!=null?Lo:ir.litHtmlVersions=[]).push("3.3.3");const Ya=(i,e,t)=>{var r,o;const a=(r=t==null?void 0:t.renderBefore)!=null?r:e;let n=a._$litPart$;if(n===void 0){const s=(o=t==null?void 0:t.renderBefore)!=null?o:null;a._$litPart$=n=new It(e.insertBefore(vt(),s),s,void 0,t!=null?t:{})}return n._$AI(i),n};/**
25
25
  * @license
26
26
  * Copyright 2017 Google LLC
27
27
  * SPDX-License-Identifier: BSD-3-Clause
@@ -14,7 +14,7 @@ var Rt = (i, e, t) => new Promise((r, o) => {
14
14
  }, s = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(a, n);
15
15
  s((t = t.apply(i, e)).next());
16
16
  });
17
- import { r as wa, g as mo, h as m, H as Ss, a as Ds, c as Os } from "./index-6e523641-M8saYcGO.js";
17
+ import { r as wa, g as mo, h as m, H as Ss, a as Ds, c as Os } from "./index-6e523641-n8F0I2Fs.js";
18
18
  const Ms = {
19
19
  en: {
20
20
  deposit: "Deposit",
@@ -4153,7 +4153,7 @@ class wc {
4153
4153
  }
4154
4154
  const Lo = ir.litHtmlPolyfillSupport;
4155
4155
  var Fo;
4156
- Lo == null || Lo(bt, It), ((Fo = ir.litHtmlVersions) != null ? Fo : ir.litHtmlVersions = []).push("3.3.2");
4156
+ Lo == null || Lo(bt, It), ((Fo = ir.litHtmlVersions) != null ? Fo : ir.litHtmlVersions = []).push("3.3.3");
4157
4157
  const ja = (i, e, t) => {
4158
4158
  var r, o;
4159
4159
  const a = (r = t == null ? void 0 : t.renderBefore) != null ? r : e;
@@ -1,4 +1,4 @@
1
- import { r as ya, g as po, h as m, H as Is, a as Ss, c as Ds } from "./index-6e523641-txnZxPs0.js";
1
+ import { r as ya, g as po, h as m, H as Is, a as Ss, c as Ds } from "./index-6e523641-CzpA6fqp.js";
2
2
  const Os = {
3
3
  en: {
4
4
  deposit: "Deposit",
@@ -4131,7 +4131,7 @@ class yc {
4131
4131
  }
4132
4132
  const No = rr.litHtmlPolyfillSupport;
4133
4133
  var Lo;
4134
- No?.(bt, It), ((Lo = rr.litHtmlVersions) != null ? Lo : rr.litHtmlVersions = []).push("3.3.2");
4134
+ No?.(bt, It), ((Lo = rr.litHtmlVersions) != null ? Lo : rr.litHtmlVersions = []).push("3.3.3");
4135
4135
  const Ya = (i, e, t) => {
4136
4136
  var r, o;
4137
4137
  const a = (r = t?.renderBefore) != null ? r : e;