@everymatrix/player-account-controller-nd 1.74.1 → 1.74.3

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 (158) hide show
  1. package/components/{GeneralLogout-BdAdrjMv.js → GeneralLogout-C-KQBmk3.js} +1405 -1426
  2. package/components/{GeneralLogout-CYLHL5E7.js → GeneralLogout-C52-PhwD.js} +1400 -1421
  3. package/components/GeneralLogout-COm1JcKW.cjs +21 -0
  4. package/components/{PlayerAccountBettingHistory-CsGtQY-A.js → PlayerAccountBettingHistory-5QM3bGgT.js} +27 -27
  5. package/components/{PlayerAccountBettingHistory-DSfSEyQQ.js → PlayerAccountBettingHistory-B91V20F2.js} +27 -27
  6. package/components/{PlayerAccountBettingHistory-la7IEPsJ.cjs → PlayerAccountBettingHistory-CE023VGz.cjs} +1 -1
  7. package/components/{PlayerAccountBiometrics-CAzo4viq.js → PlayerAccountBiometrics-C5FFOJ5V.js} +22 -22
  8. package/components/{PlayerAccountBiometrics-E4avOt95.cjs → PlayerAccountBiometrics-DPdT285K.cjs} +1 -1
  9. package/components/{PlayerAccountBiometrics-Czd9Ct1j.js → PlayerAccountBiometrics-DuvDCmjx.js} +22 -22
  10. package/components/{PlayerAccountClosureNd-Bi2g2Gww.js → PlayerAccountClosureNd-BEMKT7IM.js} +17 -17
  11. package/components/{PlayerAccountClosureNd-CqY0NmNH.cjs → PlayerAccountClosureNd-CMzRAP8U.cjs} +1 -1
  12. package/components/{PlayerAccountClosureNd-CpNCuvuR.js → PlayerAccountClosureNd-CYHq0859.js} +17 -17
  13. package/components/{PlayerAccountControllerNd-CzhD1On9.js → PlayerAccountControllerNd-DT1zgS33.js} +1191 -1161
  14. package/components/PlayerAccountControllerNd-DaC8DFbI.cjs +1 -0
  15. package/components/{PlayerAccountControllerNd-DWpHqrim.js → PlayerAccountControllerNd-DiPqm9wR.js} +1189 -1159
  16. package/components/{PlayerAccountGamingLimits-CWXEw1xn.cjs → PlayerAccountGamingLimits-B2vzRems.cjs} +1 -1
  17. package/components/{PlayerAccountGamingLimits-B2Oz8I6p.js → PlayerAccountGamingLimits-B7ppWJQ6.js} +19 -19
  18. package/components/{PlayerAccountGamingLimits-DkVJEMbG.js → PlayerAccountGamingLimits-DMS9a3TN.js} +19 -19
  19. package/components/PlayerAccountGamingLimitsConfirmationModal-BR2Qm3Iq.cjs +1 -0
  20. package/components/{PlayerAccountGamingLimitsConfirmationModal-7V0Exu-P.js → PlayerAccountGamingLimitsConfirmationModal-Crt7TSIB.js} +53 -53
  21. package/components/{PlayerAccountGamingLimitsConfirmationModal-Ca9yI46R.js → PlayerAccountGamingLimitsConfirmationModal-rkO4-ifF.js} +53 -53
  22. package/components/{PlayerAccountGamingLimitsGroupEdit-CrNEtU-b.js → PlayerAccountGamingLimitsGroupEdit-B-MqO4BJ.js} +1081 -1079
  23. package/components/{PlayerAccountGamingLimitsGroupEdit-B-rcQp3D.js → PlayerAccountGamingLimitsGroupEdit-CDRqETAd.js} +1081 -1079
  24. package/components/PlayerAccountGamingLimitsGroupEdit-JerzRaIW.cjs +2 -0
  25. package/components/{PlayerAccountGamingLimitsHistory2Nd-PGPGM6GK.js → PlayerAccountGamingLimitsHistory2Nd-C5ysmYyV.js} +78 -78
  26. package/components/{PlayerAccountGamingLimitsHistory2Nd-DyOI5bfO.js → PlayerAccountGamingLimitsHistory2Nd-C85Ls9oF.js} +78 -78
  27. package/components/{PlayerAccountGamingLimitsHistory2Nd-CoPkM0Xe.cjs → PlayerAccountGamingLimitsHistory2Nd-CG8WJl-W.cjs} +1 -1
  28. package/components/{PlayerAccountGamingLimitsInfoCard-D7fWwpMa.js → PlayerAccountGamingLimitsInfoCard-BYwQnhb5.js} +80 -80
  29. package/components/{PlayerAccountGamingLimitsInfoCard-CzmG8TN_.cjs → PlayerAccountGamingLimitsInfoCard-DRRou8s9.cjs} +1 -1
  30. package/components/{PlayerAccountGamingLimitsInfoCard-Ot58uqDo.js → PlayerAccountGamingLimitsInfoCard-DjnVkaho.js} +80 -80
  31. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-DOSgqK9Q.js → PlayerAccountGamingLimitsPage2Gm16Nd-B5anV-nN.js} +127 -127
  32. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Bpa-1f-t.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-BHvCpWdQ.cjs} +2 -2
  33. package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CRzGvu3h.js → PlayerAccountGamingLimitsPage2Gm16Nd-C8ApQooV.js} +119 -119
  34. package/components/{PlayerAccountGamingLimitsPopup-DgRyoXv_.js → PlayerAccountGamingLimitsPopup-1ObhRFHn.js} +28 -28
  35. package/components/{PlayerAccountGamingLimitsPopup-D6BfVLoR.cjs → PlayerAccountGamingLimitsPopup-D16rhs4n.cjs} +1 -1
  36. package/components/{PlayerAccountGamingLimitsPopup-llXzPPpc.js → PlayerAccountGamingLimitsPopup-lZ7y_RVP.js} +28 -28
  37. package/components/{PlayerAccountGamingLimitsWrapper2Nd-BREG6R1Z.js → PlayerAccountGamingLimitsWrapper2Nd-BCujxf1t.js} +37 -37
  38. package/components/{PlayerAccountGamingLimitsWrapper2Nd-ZZloOnfI.js → PlayerAccountGamingLimitsWrapper2Nd-BJqrN_4e.js} +37 -37
  39. package/components/{PlayerAccountGamingLimitsWrapper2Nd-B25oN7Hd.cjs → PlayerAccountGamingLimitsWrapper2Nd-DnDh7MDz.cjs} +1 -1
  40. package/components/PlayerAccountGeneralConfirmationModal-BajaU0jJ.cjs +1 -0
  41. package/components/{PlayerAccountGeneralConfirmationModal-CIl_YRWC.js → PlayerAccountGeneralConfirmationModal-Bgat7eVE.js} +68 -68
  42. package/components/{PlayerAccountGeneralConfirmationModal-B0i5nR9N.js → PlayerAccountGeneralConfirmationModal-DrgjMSLh.js} +68 -68
  43. package/components/{PlayerAccountMenuNd-CnLr0a3P.js → PlayerAccountMenuNd-V9EOIgPS.js} +29 -29
  44. package/components/{PlayerAccountMenuNd-f2lPjmd8.cjs → PlayerAccountMenuNd-Yk5u12tl.cjs} +1 -1
  45. package/components/{PlayerAccountMenuNd-DPLv8pdq.js → PlayerAccountMenuNd-alDPH0d2.js} +29 -29
  46. package/components/{PlayerAccountModal-CPgcGye0.js → PlayerAccountModal-9FK6eAt0.js} +25 -25
  47. package/components/{PlayerAccountModal-D4PQfUQX.js → PlayerAccountModal-DCsw7iyn.js} +25 -25
  48. package/components/{PlayerAccountModal-C70Mycg9.cjs → PlayerAccountModal-DvJ0OsPC.cjs} +1 -1
  49. package/components/{PlayerAccountNotifications-Dr1OXSBm.js → PlayerAccountNotifications-BVfKQdMA.js} +36 -36
  50. package/components/{PlayerAccountNotifications-DlbpGqRz.js → PlayerAccountNotifications-BzEDVvTZ.js} +35 -35
  51. package/components/{PlayerAccountNotifications-IX9W_3ma.cjs → PlayerAccountNotifications-CdPeCghS.cjs} +1 -1
  52. package/components/{PlayerAccountProductRestriction-BGq67a4g.js → PlayerAccountProductRestriction-CcPYpLl8.js} +4458 -9466
  53. package/components/PlayerAccountProductRestriction-DuSld9Fq.cjs +5639 -0
  54. package/components/{PlayerAccountProductRestriction-BOVIsS9y.js → PlayerAccountProductRestriction-SQvhNniP.js} +4491 -9499
  55. package/components/{PlayerAccountSelfExclusionNd-ClAXhdOy.js → PlayerAccountSelfExclusionNd-CKKz2hD-.js} +1203 -1201
  56. package/components/{PlayerAccountSelfExclusionNd-Bqp3pr8i.cjs → PlayerAccountSelfExclusionNd-C_bVFBeq.cjs} +156 -156
  57. package/components/{PlayerAccountSelfExclusionNd-ByBnkH37.js → PlayerAccountSelfExclusionNd-D04olil_.js} +899 -897
  58. package/components/{PlayerAccountTimeout-rGTWWD08.cjs → PlayerAccountTimeout-BBMZeoy0.cjs} +1 -1
  59. package/components/{PlayerAccountTimeout-BeOffzFH.js → PlayerAccountTimeout-PtXajzgs.js} +103 -103
  60. package/components/{PlayerAccountTimeout-DuZ92ehP.js → PlayerAccountTimeout-Yl_hqLQQ.js} +103 -103
  61. package/components/PlayerAccountTransactionsHistory-BhssK-Iv.js +1950 -0
  62. package/components/PlayerAccountTransactionsHistory-Cc3yOabd.cjs +4 -0
  63. package/components/PlayerAccountTransactionsHistory-xfI9u1Su.js +1919 -0
  64. package/components/{PlayerActiveBonuses-CxiTJG5s.js → PlayerActiveBonuses-D4OBnwNa.js} +54 -54
  65. package/components/{PlayerActiveBonuses-CypcOO7I.cjs → PlayerActiveBonuses-Me5Q3o65.cjs} +1 -1
  66. package/components/{PlayerActiveBonuses-CVusv6Ts.js → PlayerActiveBonuses-zLuqH4eW.js} +48 -48
  67. package/components/{PlayerBonusCard-Bvt46KEL.js → PlayerBonusCard-BbRQx8Gg.js} +81 -81
  68. package/components/{PlayerBonusCard-U73hQG0H.js → PlayerBonusCard-BhW_g3sH.js} +81 -81
  69. package/components/{PlayerBonusCard-DE6BCU2O.cjs → PlayerBonusCard-DgyhSYBs.cjs} +1 -1
  70. package/components/{PlayerBonusHistory-CKlnyjJA.cjs → PlayerBonusHistory-B1tNYVjn.cjs} +1 -1
  71. package/components/{PlayerBonusHistory-CxHNEb-g.js → PlayerBonusHistory-DCywP_Ob.js} +30 -30
  72. package/components/{PlayerBonusHistory-K-Rdd1el.js → PlayerBonusHistory-DzAVFv5h.js} +30 -30
  73. package/components/{PlayerChangePasswordNd-CZAp_RNE.cjs → PlayerChangePasswordNd-DSIi_04v.cjs} +1 -1
  74. package/components/{PlayerChangePasswordNd-DX5IiSEC.js → PlayerChangePasswordNd-DUzbCK4p.js} +71 -71
  75. package/components/{PlayerChangePasswordNd-D_2LOeww.js → PlayerChangePasswordNd-DWsHRVAH.js} +71 -71
  76. package/components/{PlayerDeposit-D5DDIXav.js → PlayerDeposit-BeGgsgNu.js} +29 -29
  77. package/components/{PlayerDeposit-i04eIYke.js → PlayerDeposit-CI5GIyAe.js} +29 -29
  78. package/components/{PlayerDeposit-BhF3WSC-.cjs → PlayerDeposit-CmBFg6tX.cjs} +1 -1
  79. package/components/{PlayerGamingHistory-DPjGK6WG.js → PlayerGamingHistory-BDRIcUGH.js} +419 -409
  80. package/components/PlayerGamingHistory-DEncqPtG.cjs +1 -0
  81. package/components/{PlayerGamingHistory-BDQ565Vu.js → PlayerGamingHistory-Dmx0DAm4.js} +445 -435
  82. package/components/{PlayerPendingWithdrawals-BF_KEVdD.js → PlayerPendingWithdrawals-BL4JTLkC.js} +26 -26
  83. package/components/{PlayerPendingWithdrawals-DreodXib.cjs → PlayerPendingWithdrawals-D-KWiMH6.cjs} +1 -1
  84. package/components/{PlayerPendingWithdrawals-D4OCG3tG.js → PlayerPendingWithdrawals-o6_OjL5C.js} +26 -26
  85. package/components/{PlayerProfileInfo-DoCBLeLO.cjs → PlayerProfileInfo-CwZQ79SV.cjs} +1 -1
  86. package/components/{PlayerProfileInfo-B2rBHNy8.js → PlayerProfileInfo-D0A3aRV_.js} +158 -158
  87. package/components/{PlayerProfileInfo-DRL36liV.js → PlayerProfileInfo-xRMbiw1T.js} +146 -146
  88. package/components/{PlayerRealityCheck-BAoNcaQX.js → PlayerRealityCheck-BEiZhn6p.js} +45 -45
  89. package/components/{PlayerRealityCheck-pfW8N43I.js → PlayerRealityCheck-CYU_NrFB.js} +44 -44
  90. package/components/{PlayerRealityCheck-xMuEFtt1.cjs → PlayerRealityCheck-JdOGHDG6.cjs} +1 -1
  91. package/components/{PlayerTransactionHistory-BGE7Z32A.js → PlayerTransactionHistory-BS1LjP09.js} +19 -19
  92. package/components/{PlayerTransactionHistory-D9_hI05B.js → PlayerTransactionHistory-DdbQZ6mw.js} +19 -19
  93. package/components/{PlayerTransactionHistory-DmL-_293.cjs → PlayerTransactionHistory-Hz2IWD73.cjs} +1 -1
  94. package/components/{PlayerWithdrawal-CaWCjAf3.js → PlayerWithdrawal-DGN4Y9QP.js} +19 -19
  95. package/components/{PlayerWithdrawal-DcIfaC72.js → PlayerWithdrawal-DOec04Iq.js} +19 -19
  96. package/components/{PlayerWithdrawal-B2WqUhR-.cjs → PlayerWithdrawal-P_0MIA-u.cjs} +1 -1
  97. package/es2015/player-account-controller-nd.cjs +1 -1
  98. package/es2015/player-account-controller-nd.js +1 -1
  99. package/esnext/player-account-controller-nd.js +1 -1
  100. package/package.json +1 -1
  101. package/stencil/{checkbox-group-input_15-DRUhTFo_.cjs → checkbox-group-input_15-0289QK04.cjs} +419 -2326
  102. package/stencil/{checkbox-group-input_15-Qj_31WMH.js → checkbox-group-input_15-BAlJ2RSB.js} +4321 -9389
  103. package/stencil/{checkbox-group-input_15-Di0yQpHU.js → checkbox-group-input_15-P5bpc-le.js} +4318 -9386
  104. package/stencil/{index-13661b98-CnuGTCF7.js → index-13661b98-0KqdpSwq.js} +215 -215
  105. package/stencil/{index-13661b98-B8S3l1ae.js → index-13661b98-Cjrw92L5.js} +207 -207
  106. package/stencil/index-13661b98-DmQ3LyqA.cjs +1 -0
  107. package/stencil/index-1ef3a64c-DD-PHh2g.cjs +1 -0
  108. package/stencil/{index-1ef3a64c-zEGNB-u8.js → index-1ef3a64c-DQk1yZfC.js} +185 -185
  109. package/stencil/{index-1ef3a64c-HE2lDlEL.js → index-1ef3a64c-DuKSFSN8.js} +192 -192
  110. package/stencil/{index-7c5e707a-DGb2dQ60.js → index-7c5e707a-B54Yjxc3.js} +209 -209
  111. package/stencil/index-7c5e707a-BHFN5Fx4.js +643 -0
  112. package/stencil/index-7c5e707a-CFlTnjRT.cjs +1 -0
  113. package/stencil/{index-9c0f6c58-Hy2JqCeP.js → index-9c0f6c58-BVjt1-QR.js} +176 -176
  114. package/stencil/{index-9c0f6c58-DxzXe6Kn.js → index-9c0f6c58-BjPD5eYu.js} +180 -180
  115. package/stencil/index-9c0f6c58-DZU9DhI3.cjs +1 -0
  116. package/stencil/index-b2193545-BMFR9-V2.cjs +1 -0
  117. package/stencil/index-b2193545-DPKCFIaU.js +503 -0
  118. package/stencil/index-b2193545-LzjWxki5.js +519 -0
  119. package/stencil/{pam-change-password-dL9KfXLS.cjs → pam-change-password-CCtkdO47.cjs} +1 -1
  120. package/stencil/{pam-change-password-FFVgwD-8.js → pam-change-password-CGyD6M-i.js} +1 -1
  121. package/stencil/{pam-change-password-DtxM39I2.js → pam-change-password-DTgd0kl_.js} +1 -1
  122. package/stencil/{pam-change-password-f4a1e7e7-D3kiiFR8.cjs → pam-change-password-f4a1e7e7-BN6Jj_HN.cjs} +1 -1
  123. package/stencil/{pam-change-password-f4a1e7e7-De_EUl35.js → pam-change-password-f4a1e7e7-D8x0jD6p.js} +1 -1
  124. package/stencil/{pam-change-password-f4a1e7e7-BkkC3LDV.js → pam-change-password-f4a1e7e7-DtYo6Qns.js} +1 -1
  125. package/stencil/{player-kyc-verification-CvOTQFbs.js → player-kyc-verification-BN1-EiQk.js} +12 -12
  126. package/stencil/{player-kyc-verification-BVPPMf62.cjs → player-kyc-verification-D347xSwD.cjs} +2 -2
  127. package/stencil/{player-kyc-verification-BX-zXzBh.js → player-kyc-verification-XNdgNWvR.js} +9 -9
  128. package/stencil/{ui-skeleton-C_FDz0NJ.js → ui-skeleton-2XsWxl4S.js} +2 -2
  129. package/stencil/{ui-skeleton-GEqIXVxo.cjs → ui-skeleton-Cbqo0oYF.cjs} +1 -1
  130. package/stencil/{ui-skeleton-mkMdvWYI.js → ui-skeleton-LneRlsD3.js} +2 -2
  131. package/stencil/{ui-skeleton-ae35c6f2-e6Wte4qi.js → ui-skeleton-ae35c6f2-8s3Rqu1P.js} +1 -1
  132. package/stencil/{ui-skeleton-ae35c6f2-CeNpgiKf.cjs → ui-skeleton-ae35c6f2-B4ncHe9g.cjs} +1 -1
  133. package/stencil/{ui-skeleton-ae35c6f2-BreM325l.js → ui-skeleton-ae35c6f2-OnzqIAY0.js} +1 -1
  134. package/stencil/{user-deposit-withdrawal-BuFBx-hr.cjs → user-deposit-withdrawal-BP58nPO1.cjs} +2 -2
  135. package/stencil/{user-deposit-withdrawal-DdJYJeX1.js → user-deposit-withdrawal-CSakhNt1.js} +45 -45
  136. package/stencil/{user-deposit-withdrawal-Cr0-V-2c.js → user-deposit-withdrawal-DcVKAa80.js} +45 -45
  137. package/stencil/{user-transaction-history-DBXbHHd_.js → user-transaction-history-BrBScppC.js} +618 -616
  138. package/stencil/{user-transaction-history-CQuIy63_.js → user-transaction-history-D0jBcRwe.js} +645 -643
  139. package/stencil/user-transaction-history-HA_tfHfo.cjs +1 -0
  140. package/components/GeneralLogout-CUey30IA.cjs +0 -21
  141. package/components/PlayerAccountControllerNd-CjX_5nyS.cjs +0 -1
  142. package/components/PlayerAccountGamingLimitsConfirmationModal-BDEiLyA5.cjs +0 -1
  143. package/components/PlayerAccountGamingLimitsGroupEdit-Cf-jXwM4.cjs +0 -2
  144. package/components/PlayerAccountGeneralConfirmationModal-CeG-uqHr.cjs +0 -1
  145. package/components/PlayerAccountProductRestriction-BMsZXr0T.cjs +0 -7546
  146. package/components/PlayerAccountTransactionsHistory-B3BEv6hM.cjs +0 -4
  147. package/components/PlayerAccountTransactionsHistory-D01jeTvA.js +0 -1890
  148. package/components/PlayerAccountTransactionsHistory-DQMajwWl.js +0 -1859
  149. package/components/PlayerGamingHistory-BUyNNOUO.cjs +0 -1
  150. package/stencil/index-13661b98-BfIn8C3l.cjs +0 -1
  151. package/stencil/index-1ef3a64c-DR7bpfUj.cjs +0 -1
  152. package/stencil/index-7c5e707a-2YIJtUZe.js +0 -643
  153. package/stencil/index-7c5e707a-_iYAV2Cv.cjs +0 -1
  154. package/stencil/index-9c0f6c58-CtHWkW4O.cjs +0 -1
  155. package/stencil/index-b2193545-DQUvHUpa.cjs +0 -1
  156. package/stencil/index-b2193545-DoYU_tL8.js +0 -503
  157. package/stencil/index-b2193545-_I2wisuY.js +0 -519
  158. package/stencil/user-transaction-history-BhBMJPP0.cjs +0 -1
@@ -1,29 +1,29 @@
1
- var U = (e, t, a) => new Promise((n, r) => {
1
+ var U = (t, e, n) => new Promise((a, r) => {
2
2
  var i = (l) => {
3
3
  try {
4
- u(a.next(l));
5
- } catch (h) {
6
- r(h);
4
+ d(n.next(l));
5
+ } catch (f) {
6
+ r(f);
7
7
  }
8
8
  }, o = (l) => {
9
9
  try {
10
- u(a.throw(l));
11
- } catch (h) {
12
- r(h);
10
+ d(n.throw(l));
11
+ } catch (f) {
12
+ r(f);
13
13
  }
14
- }, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(i, o);
15
- u((a = a.apply(e, t)).next());
14
+ }, d = (l) => l.done ? a(l.value) : Promise.resolve(l.value).then(i, o);
15
+ d((n = n.apply(t, e)).next());
16
16
  });
17
- import { b as it, p as ot, r as st, g as q, h as s, H as lt, a as ut } from "./index-7c5e707a-2YIJtUZe.js";
18
- import { d as dt } from "./app-globals-0f993ce5-DzSE6TtH.js";
19
- var ct = () => {
20
- const e = import.meta.url, t = {};
21
- return e !== "" && (t.resourcesUrl = new URL(".", e).href), ot(t);
17
+ import { b as ie, p as oe, r as se, g as q, h as s, H as le, a as ue } from "./index-7c5e707a-BHFN5Fx4.js";
18
+ import { d as de } from "./app-globals-0f993ce5-DzSE6TtH.js";
19
+ var ce = () => {
20
+ const t = import.meta.url, e = {};
21
+ return t !== "" && (e.resourcesUrl = new URL(".", t).href), oe(e);
22
22
  };
23
- ct().then((e) => U(void 0, null, function* () {
24
- return yield dt(), it([["user-transaction-history", [[1, "user-transaction-history", { endpoint: [513], session: [513], language: [513], userId: [513, "user-id"], translationUrl: [513, "translation-url"], mobile: [516], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], mbSource: [513, "mb-source"], dateFormat: [513, "date-format"], page: [32], pageSize: [32], showMobileFilter: [32], to: [32], from: [32], type: [32], transactions: [32], showLoader: [32] }, [[9, "resize", "getComponentHeight"]], { page: ["watchMultiple"], type: ["watchMultiple"], session: ["watchMultiple"], userId: ["watchMultiple"], pageSize: ["watchMultiple"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"], showMobileFilter: ["getComponentHeight"] }]]]], e);
23
+ ce().then((t) => U(void 0, null, function* () {
24
+ return yield de(), ie([["user-transaction-history", [[1, "user-transaction-history", { endpoint: [513], session: [513], language: [513], userId: [513, "user-id"], translationUrl: [513, "translation-url"], mobile: [516], clientStyling: [513, "client-styling"], clientStylingUrl: [513, "client-styling-url"], mbSource: [513, "mb-source"], dateFormat: [513, "date-format"], page: [32], pageSize: [32], showMobileFilter: [32], to: [32], from: [32], type: [32], transactions: [32], showLoader: [32] }, [[9, "resize", "getComponentHeight"]], { page: ["watchMultiple"], type: ["watchMultiple"], session: ["watchMultiple"], userId: ["watchMultiple"], pageSize: ["watchMultiple"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"], showMobileFilter: ["getComponentHeight"] }]]]], t);
25
25
  }));
26
- const ht = {
26
+ const fe = {
27
27
  en: {
28
28
  deposit: "Deposit",
29
29
  withdrawals: "Withdrawals",
@@ -37,7 +37,7 @@ const ht = {
37
37
  productType: "Product Type",
38
38
  status: "Status",
39
39
  noData: "There are no account activities",
40
- back: "Back"
40
+ transactionTitle: "Transaction History"
41
41
  },
42
42
  hr: {
43
43
  deposit: "Uplate",
@@ -52,49 +52,49 @@ const ht = {
52
52
  productType: "Vrsta proizvoda",
53
53
  status: "Status",
54
54
  noData: "Nema aktivnosti na računu",
55
- back: "Geri"
55
+ transactionTitle: "Povijest transakcija"
56
56
  }
57
57
  };
58
- class d {
58
+ class u {
59
59
  constructor() {
60
60
  }
61
- static loadCustomTranslations(t) {
61
+ static loadCustomTranslations(e) {
62
62
  return U(this, null, function* () {
63
63
  try {
64
- const a = yield fetch(t, {
64
+ const n = yield fetch(e, {
65
65
  headers: {
66
66
  "Content-Type": "application/json"
67
67
  }
68
68
  });
69
- if (!a.ok) {
70
- const r = yield a.text();
69
+ if (!n.ok) {
70
+ const r = yield n.text();
71
71
  throw new Error(r);
72
72
  }
73
- const n = yield a.json();
74
- d.updateTranslations(n);
75
- } catch (a) {
76
- console.error(`Failed to load translations ${t}. ${a.message}`);
73
+ const a = yield n.json();
74
+ u.updateTranslations(a);
75
+ } catch (n) {
76
+ console.error(`Failed to load translations ${e}. ${n.message}`);
77
77
  }
78
78
  });
79
79
  }
80
- static translate(t, a) {
81
- var n, r;
82
- const i = d.getAvaliableLanguages(a);
83
- return ((r = (n = d.customTranslation) === null || n === void 0 ? void 0 : n[i.customLanguage]) === null || r === void 0 ? void 0 : r[t]) || d.defaultTranslation[i.predefinedLanguage][t];
80
+ static translate(e, n) {
81
+ var a, r;
82
+ const i = u.getAvaliableLanguages(n);
83
+ return ((r = (a = u.customTranslation) === null || a === void 0 ? void 0 : a[i.customLanguage]) === null || r === void 0 ? void 0 : r[e]) || u.defaultTranslation[i.predefinedLanguage][e];
84
84
  }
85
- static getAvaliableLanguages(t) {
86
- var a;
87
- const n = !((a = d.customLanguages) === null || a === void 0) && a.includes(t) ? t : d.defaultLanguage;
88
- return { predefinedLanguage: d.supportedLanguages.includes(t) ? t : d.defaultLanguage, customLanguage: n };
85
+ static getAvaliableLanguages(e) {
86
+ var n;
87
+ const a = !((n = u.customLanguages) === null || n === void 0) && n.includes(e) ? e : u.defaultLanguage;
88
+ return { predefinedLanguage: u.supportedLanguages.includes(e) ? e : u.defaultLanguage, customLanguage: a };
89
89
  }
90
- static updateTranslations(t) {
91
- d.customLanguages = Array.from(/* @__PURE__ */ new Set([...d.supportedLanguages, ...Object.keys(t).map((a) => a.toLowerCase())])), d.customTranslation = t;
90
+ static updateTranslations(e) {
91
+ u.customLanguages = Array.from(/* @__PURE__ */ new Set([...u.supportedLanguages, ...Object.keys(e).map((n) => n.toLowerCase())])), u.customTranslation = e;
92
92
  }
93
93
  }
94
- d.defaultLanguage = "en";
95
- d.supportedLanguages = ["en"];
96
- d.defaultTranslation = ht;
97
- const ft = () => s(
94
+ u.defaultLanguage = "en";
95
+ u.supportedLanguages = ["en"];
96
+ u.defaultTranslation = fe;
97
+ const he = () => s(
98
98
  "div",
99
99
  { class: "loader" },
100
100
  s("div", null),
@@ -110,236 +110,238 @@ const ft = () => s(
110
110
  s("div", null),
111
111
  s("div", null)
112
112
  );
113
- function _(e) {
113
+ function _(t) {
114
114
  "@babel/helpers - typeof";
115
- return _ = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
116
- return typeof t;
117
- } : function(t) {
118
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
119
- }, _(e);
115
+ return _ = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
116
+ return typeof e;
117
+ } : function(e) {
118
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
119
+ }, _(t);
120
120
  }
121
- function v(e, t) {
122
- if (t.length < e)
123
- throw new TypeError(e + " argument" + (e > 1 ? "s" : "") + " required, but only " + t.length + " present");
121
+ function p(t, e) {
122
+ if (e.length < t)
123
+ throw new TypeError(t + " argument" + (t > 1 ? "s" : "") + " required, but only " + e.length + " present");
124
124
  }
125
- function mt(e) {
126
- return v(1, arguments), e instanceof Date || _(e) === "object" && Object.prototype.toString.call(e) === "[object Date]";
125
+ function me(t) {
126
+ return p(1, arguments), t instanceof Date || _(t) === "object" && Object.prototype.toString.call(t) === "[object Date]";
127
127
  }
128
- function y(e) {
129
- v(1, arguments);
130
- var t = Object.prototype.toString.call(e);
131
- return e instanceof Date || _(e) === "object" && t === "[object Date]" ? new Date(e.getTime()) : typeof e == "number" || t === "[object Number]" ? new Date(e) : ((typeof e == "string" || t === "[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)), /* @__PURE__ */ new Date(NaN));
128
+ function y(t) {
129
+ p(1, arguments);
130
+ var e = Object.prototype.toString.call(t);
131
+ return t instanceof Date || _(t) === "object" && e === "[object Date]" ? new Date(t.getTime()) : typeof t == "number" || e === "[object Number]" ? new Date(t) : ((typeof t == "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)), /* @__PURE__ */ new Date(NaN));
132
132
  }
133
- function gt(e) {
134
- if (v(1, arguments), !mt(e) && typeof e != "number")
133
+ function ge(t) {
134
+ if (p(1, arguments), !me(t) && typeof t != "number")
135
135
  return !1;
136
- var t = y(e);
137
- return !isNaN(Number(t));
136
+ var e = y(t);
137
+ return !isNaN(Number(e));
138
138
  }
139
- function k(e) {
140
- if (e === null || e === !0 || e === !1)
139
+ function k(t) {
140
+ if (t === null || t === !0 || t === !1)
141
141
  return NaN;
142
- var t = Number(e);
143
- return isNaN(t) ? t : t < 0 ? Math.ceil(t) : Math.floor(t);
142
+ var e = Number(t);
143
+ return isNaN(e) ? e : e < 0 ? Math.ceil(e) : Math.floor(e);
144
144
  }
145
- function vt(e, t) {
146
- v(2, arguments);
147
- var a = y(e).getTime(), n = k(t);
148
- return new Date(a + n);
145
+ function pe(t, e) {
146
+ p(2, arguments);
147
+ var n = y(t).getTime(), a = k(e);
148
+ return new Date(n + a);
149
149
  }
150
- function pt(e, t) {
151
- v(2, arguments);
152
- var a = k(t);
153
- return vt(e, -a);
150
+ function ve(t, e) {
151
+ p(2, arguments);
152
+ var n = k(e);
153
+ return pe(t, -n);
154
154
  }
155
- var bt = 864e5;
156
- function wt(e) {
157
- v(1, arguments);
158
- var t = y(e), a = t.getTime();
159
- t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
160
- var n = t.getTime(), r = a - n;
161
- return Math.floor(r / bt) + 1;
155
+ var be = 864e5;
156
+ function we(t) {
157
+ p(1, arguments);
158
+ var e = y(t), n = e.getTime();
159
+ e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
160
+ var a = e.getTime(), r = n - a;
161
+ return Math.floor(r / be) + 1;
162
162
  }
163
- function B(e) {
164
- v(1, arguments);
165
- var t = 1, a = y(e), n = a.getUTCDay(), r = (n < t ? 7 : 0) + n - t;
166
- return a.setUTCDate(a.getUTCDate() - r), a.setUTCHours(0, 0, 0, 0), a;
163
+ function L(t) {
164
+ p(1, arguments);
165
+ var e = 1, n = y(t), a = n.getUTCDay(), r = (a < e ? 7 : 0) + a - e;
166
+ return n.setUTCDate(n.getUTCDate() - r), n.setUTCHours(0, 0, 0, 0), n;
167
167
  }
168
- function V(e) {
169
- v(1, arguments);
170
- var t = y(e), a = t.getUTCFullYear(), n = /* @__PURE__ */ new Date(0);
171
- n.setUTCFullYear(a + 1, 0, 4), n.setUTCHours(0, 0, 0, 0);
172
- var r = B(n), i = /* @__PURE__ */ new Date(0);
173
- i.setUTCFullYear(a, 0, 4), i.setUTCHours(0, 0, 0, 0);
174
- var o = B(i);
175
- return t.getTime() >= r.getTime() ? a + 1 : t.getTime() >= o.getTime() ? a : a - 1;
168
+ function V(t) {
169
+ p(1, arguments);
170
+ var e = y(t), n = e.getUTCFullYear(), a = /* @__PURE__ */ new Date(0);
171
+ a.setUTCFullYear(n + 1, 0, 4), a.setUTCHours(0, 0, 0, 0);
172
+ var r = L(a), i = /* @__PURE__ */ new Date(0);
173
+ i.setUTCFullYear(n, 0, 4), i.setUTCHours(0, 0, 0, 0);
174
+ var o = L(i);
175
+ return e.getTime() >= r.getTime() ? n + 1 : e.getTime() >= o.getTime() ? n : n - 1;
176
176
  }
177
- function yt(e) {
178
- v(1, arguments);
179
- var t = V(e), a = /* @__PURE__ */ new Date(0);
180
- a.setUTCFullYear(t, 0, 4), a.setUTCHours(0, 0, 0, 0);
181
- var n = B(a);
182
- return n;
177
+ function ye(t) {
178
+ p(1, arguments);
179
+ var e = V(t), n = /* @__PURE__ */ new Date(0);
180
+ n.setUTCFullYear(e, 0, 4), n.setUTCHours(0, 0, 0, 0);
181
+ var a = L(n);
182
+ return a;
183
183
  }
184
- var xt = 6048e5;
185
- function Tt(e) {
186
- v(1, arguments);
187
- var t = y(e), a = B(t).getTime() - yt(t).getTime();
188
- return Math.round(a / xt) + 1;
184
+ var xe = 6048e5;
185
+ function Te(t) {
186
+ p(1, arguments);
187
+ var e = y(t), n = L(e).getTime() - ye(e).getTime();
188
+ return Math.round(n / xe) + 1;
189
189
  }
190
- var Ct = {};
190
+ var Ce = {};
191
191
  function $() {
192
- return Ct;
192
+ return Ce;
193
193
  }
194
- function L(e, t) {
195
- var a, n, r, i, o, u, l, h;
196
- v(1, arguments);
197
- var m = $(), f = k((a = (n = (r = (i = t == null ? void 0 : t.weekStartsOn) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (u = o.options) === null || u === void 0 ? void 0 : u.weekStartsOn) !== null && r !== void 0 ? r : m.weekStartsOn) !== null && n !== void 0 ? n : (l = m.locale) === null || l === void 0 || (h = l.options) === null || h === void 0 ? void 0 : h.weekStartsOn) !== null && a !== void 0 ? a : 0);
198
- if (!(f >= 0 && f <= 6))
194
+ function B(t, e) {
195
+ var n, a, r, i, o, d, l, f;
196
+ p(1, arguments);
197
+ var m = $(), h = k((n = (a = (r = (i = e == null ? void 0 : e.weekStartsOn) !== null && i !== void 0 ? i : e == null || (o = e.locale) === null || o === void 0 || (d = o.options) === null || d === void 0 ? void 0 : d.weekStartsOn) !== null && r !== void 0 ? r : m.weekStartsOn) !== null && a !== void 0 ? a : (l = m.locale) === null || l === void 0 || (f = l.options) === null || f === void 0 ? void 0 : f.weekStartsOn) !== null && n !== void 0 ? n : 0);
198
+ if (!(h >= 0 && h <= 6))
199
199
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
200
- var p = y(e), g = p.getUTCDay(), w = (g < f ? 7 : 0) + g - f;
201
- return p.setUTCDate(p.getUTCDate() - w), p.setUTCHours(0, 0, 0, 0), p;
200
+ var v = y(t), g = v.getUTCDay(), w = (g < h ? 7 : 0) + g - h;
201
+ return v.setUTCDate(v.getUTCDate() - w), v.setUTCHours(0, 0, 0, 0), v;
202
202
  }
203
- function J(e, t) {
204
- var a, n, r, i, o, u, l, h;
205
- v(1, arguments);
206
- var m = y(e), f = m.getUTCFullYear(), p = $(), g = k((a = (n = (r = (i = t == null ? void 0 : t.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (u = o.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : p.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = p.locale) === null || l === void 0 || (h = l.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && a !== void 0 ? a : 1);
203
+ function J(t, e) {
204
+ var n, a, r, i, o, d, l, f;
205
+ p(1, arguments);
206
+ var m = y(t), h = m.getUTCFullYear(), v = $(), g = k((n = (a = (r = (i = e == null ? void 0 : e.firstWeekContainsDate) !== null && i !== void 0 ? i : e == null || (o = e.locale) === null || o === void 0 || (d = o.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && r !== void 0 ? r : v.firstWeekContainsDate) !== null && a !== void 0 ? a : (l = v.locale) === null || l === void 0 || (f = l.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && n !== void 0 ? n : 1);
207
207
  if (!(g >= 1 && g <= 7))
208
208
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
209
209
  var w = /* @__PURE__ */ new Date(0);
210
- w.setUTCFullYear(f + 1, 0, g), w.setUTCHours(0, 0, 0, 0);
211
- var D = L(w, t), C = /* @__PURE__ */ new Date(0);
212
- C.setUTCFullYear(f, 0, g), C.setUTCHours(0, 0, 0, 0);
213
- var N = L(C, t);
214
- return m.getTime() >= D.getTime() ? f + 1 : m.getTime() >= N.getTime() ? f : f - 1;
210
+ w.setUTCFullYear(h + 1, 0, g), w.setUTCHours(0, 0, 0, 0);
211
+ var D = B(w, e), C = /* @__PURE__ */ new Date(0);
212
+ C.setUTCFullYear(h, 0, g), C.setUTCHours(0, 0, 0, 0);
213
+ var N = B(C, e);
214
+ return m.getTime() >= D.getTime() ? h + 1 : m.getTime() >= N.getTime() ? h : h - 1;
215
215
  }
216
- function St(e, t) {
217
- var a, n, r, i, o, u, l, h;
218
- v(1, arguments);
219
- var m = $(), f = k((a = (n = (r = (i = t == null ? void 0 : t.firstWeekContainsDate) !== null && i !== void 0 ? i : t == null || (o = t.locale) === null || o === void 0 || (u = o.options) === null || u === void 0 ? void 0 : u.firstWeekContainsDate) !== null && r !== void 0 ? r : m.firstWeekContainsDate) !== null && n !== void 0 ? n : (l = m.locale) === null || l === void 0 || (h = l.options) === null || h === void 0 ? void 0 : h.firstWeekContainsDate) !== null && a !== void 0 ? a : 1), p = J(e, t), g = /* @__PURE__ */ new Date(0);
220
- g.setUTCFullYear(p, 0, f), g.setUTCHours(0, 0, 0, 0);
221
- var w = L(g, t);
216
+ function Se(t, e) {
217
+ var n, a, r, i, o, d, l, f;
218
+ p(1, arguments);
219
+ var m = $(), h = k((n = (a = (r = (i = e == null ? void 0 : e.firstWeekContainsDate) !== null && i !== void 0 ? i : e == null || (o = e.locale) === null || o === void 0 || (d = o.options) === null || d === void 0 ? void 0 : d.firstWeekContainsDate) !== null && r !== void 0 ? r : m.firstWeekContainsDate) !== null && a !== void 0 ? a : (l = m.locale) === null || l === void 0 || (f = l.options) === null || f === void 0 ? void 0 : f.firstWeekContainsDate) !== null && n !== void 0 ? n : 1), v = J(t, e), g = /* @__PURE__ */ new Date(0);
220
+ g.setUTCFullYear(v, 0, h), g.setUTCHours(0, 0, 0, 0);
221
+ var w = B(g, e);
222
222
  return w;
223
223
  }
224
- var kt = 6048e5;
225
- function Mt(e, t) {
226
- v(1, arguments);
227
- var a = y(e), n = L(a, t).getTime() - St(a, t).getTime();
228
- return Math.round(n / kt) + 1;
224
+ var ke = 6048e5;
225
+ function Me(t, e) {
226
+ p(1, arguments);
227
+ var n = y(t), a = B(n, e).getTime() - Se(n, e).getTime();
228
+ return Math.round(a / ke) + 1;
229
229
  }
230
- function c(e, t) {
231
- for (var a = e < 0 ? "-" : "", n = Math.abs(e).toString(); n.length < t; )
232
- n = "0" + n;
233
- return a + n;
230
+ function c(t, e) {
231
+ for (var n = t < 0 ? "-" : "", a = Math.abs(t).toString(); a.length < e; )
232
+ a = "0" + a;
233
+ return n + a;
234
234
  }
235
- var Dt = {
235
+ var De = {
236
236
  // Year
237
- y: function(t, a) {
238
- var n = t.getUTCFullYear(), r = n > 0 ? n : 1 - n;
239
- return c(a === "yy" ? r % 100 : r, a.length);
237
+ y: function(e, n) {
238
+ var a = e.getUTCFullYear(), r = a > 0 ? a : 1 - a;
239
+ return c(n === "yy" ? r % 100 : r, n.length);
240
240
  },
241
241
  // Month
242
- M: function(t, a) {
243
- var n = t.getUTCMonth();
244
- return a === "M" ? String(n + 1) : c(n + 1, 2);
242
+ M: function(e, n) {
243
+ var a = e.getUTCMonth();
244
+ return n === "M" ? String(a + 1) : c(a + 1, 2);
245
245
  },
246
246
  // Day of the month
247
- d: function(t, a) {
248
- return c(t.getUTCDate(), a.length);
247
+ d: function(e, n) {
248
+ return c(e.getUTCDate(), n.length);
249
249
  },
250
250
  // AM or PM
251
- a: function(t, a) {
252
- var n = t.getUTCHours() / 12 >= 1 ? "pm" : "am";
253
- switch (a) {
251
+ a: function(e, n) {
252
+ var a = e.getUTCHours() / 12 >= 1 ? "pm" : "am";
253
+ switch (n) {
254
254
  case "a":
255
255
  case "aa":
256
- return n.toUpperCase();
256
+ return a.toUpperCase();
257
257
  case "aaa":
258
- return n;
258
+ return a;
259
259
  case "aaaaa":
260
- return n[0];
260
+ return a[0];
261
261
  case "aaaa":
262
262
  default:
263
- return n === "am" ? "a.m." : "p.m.";
263
+ return a === "am" ? "a.m." : "p.m.";
264
264
  }
265
265
  },
266
266
  // Hour [1-12]
267
- h: function(t, a) {
268
- return c(t.getUTCHours() % 12 || 12, a.length);
267
+ h: function(e, n) {
268
+ return c(e.getUTCHours() % 12 || 12, n.length);
269
269
  },
270
270
  // Hour [0-23]
271
- H: function(t, a) {
272
- return c(t.getUTCHours(), a.length);
271
+ H: function(e, n) {
272
+ return c(e.getUTCHours(), n.length);
273
273
  },
274
274
  // Minute
275
- m: function(t, a) {
276
- return c(t.getUTCMinutes(), a.length);
275
+ m: function(e, n) {
276
+ return c(e.getUTCMinutes(), n.length);
277
277
  },
278
278
  // Second
279
- s: function(t, a) {
280
- return c(t.getUTCSeconds(), a.length);
279
+ s: function(e, n) {
280
+ return c(e.getUTCSeconds(), n.length);
281
281
  },
282
282
  // Fraction of second
283
- S: function(t, a) {
284
- var n = a.length, r = t.getUTCMilliseconds(), i = Math.floor(r * Math.pow(10, n - 3));
285
- return c(i, a.length);
283
+ S: function(e, n) {
284
+ var a = n.length, r = e.getUTCMilliseconds(), i = Math.floor(r * Math.pow(10, a - 3));
285
+ return c(i, n.length);
286
286
  }
287
287
  };
288
- const T = Dt;
288
+ const T = De;
289
289
  var M = {
290
+ am: "am",
291
+ pm: "pm",
290
292
  midnight: "midnight",
291
293
  noon: "noon",
292
294
  morning: "morning",
293
295
  afternoon: "afternoon",
294
296
  evening: "evening",
295
297
  night: "night"
296
- }, Ot = {
298
+ }, Pe = {
297
299
  // Era
298
- G: function(t, a, n) {
299
- var r = t.getUTCFullYear() > 0 ? 1 : 0;
300
- switch (a) {
300
+ G: function(e, n, a) {
301
+ var r = e.getUTCFullYear() > 0 ? 1 : 0;
302
+ switch (n) {
301
303
  case "G":
302
304
  case "GG":
303
305
  case "GGG":
304
- return n.era(r, {
306
+ return a.era(r, {
305
307
  width: "abbreviated"
306
308
  });
307
309
  case "GGGGG":
308
- return n.era(r, {
310
+ return a.era(r, {
309
311
  width: "narrow"
310
312
  });
311
313
  case "GGGG":
312
314
  default:
313
- return n.era(r, {
315
+ return a.era(r, {
314
316
  width: "wide"
315
317
  });
316
318
  }
317
319
  },
318
320
  // Year
319
- y: function(t, a, n) {
320
- if (a === "yo") {
321
- var r = t.getUTCFullYear(), i = r > 0 ? r : 1 - r;
322
- return n.ordinalNumber(i, {
321
+ y: function(e, n, a) {
322
+ if (n === "yo") {
323
+ var r = e.getUTCFullYear(), i = r > 0 ? r : 1 - r;
324
+ return a.ordinalNumber(i, {
323
325
  unit: "year"
324
326
  });
325
327
  }
326
- return T.y(t, a);
328
+ return T.y(e, n);
327
329
  },
328
330
  // Local week-numbering year
329
- Y: function(t, a, n, r) {
330
- var i = J(t, r), o = i > 0 ? i : 1 - i;
331
- if (a === "YY") {
332
- var u = o % 100;
333
- return c(u, 2);
331
+ Y: function(e, n, a, r) {
332
+ var i = J(e, r), o = i > 0 ? i : 1 - i;
333
+ if (n === "YY") {
334
+ var d = o % 100;
335
+ return c(d, 2);
334
336
  }
335
- return a === "Yo" ? n.ordinalNumber(o, {
337
+ return n === "Yo" ? a.ordinalNumber(o, {
336
338
  unit: "year"
337
- }) : c(o, a.length);
339
+ }) : c(o, n.length);
338
340
  },
339
341
  // ISO week-numbering year
340
- R: function(t, a) {
341
- var n = V(t);
342
- return c(n, a.length);
342
+ R: function(e, n) {
343
+ var a = V(e);
344
+ return c(a, n.length);
343
345
  },
344
346
  // Extended year. This is a single number designating the year of this calendar system.
345
347
  // The main difference between `y` and `u` localizers are B.C. years:
@@ -350,422 +352,422 @@ var M = {
350
352
  // | BC 2 | 2 | -1 |
351
353
  // Also `yy` always returns the last two digits of a year,
352
354
  // while `uu` pads single digit years to 2 characters and returns other years unchanged.
353
- u: function(t, a) {
354
- var n = t.getUTCFullYear();
355
- return c(n, a.length);
355
+ u: function(e, n) {
356
+ var a = e.getUTCFullYear();
357
+ return c(a, n.length);
356
358
  },
357
359
  // Quarter
358
- Q: function(t, a, n) {
359
- var r = Math.ceil((t.getUTCMonth() + 1) / 3);
360
- switch (a) {
360
+ Q: function(e, n, a) {
361
+ var r = Math.ceil((e.getUTCMonth() + 1) / 3);
362
+ switch (n) {
361
363
  case "Q":
362
364
  return String(r);
363
365
  case "QQ":
364
366
  return c(r, 2);
365
367
  case "Qo":
366
- return n.ordinalNumber(r, {
368
+ return a.ordinalNumber(r, {
367
369
  unit: "quarter"
368
370
  });
369
371
  case "QQQ":
370
- return n.quarter(r, {
372
+ return a.quarter(r, {
371
373
  width: "abbreviated",
372
374
  context: "formatting"
373
375
  });
374
376
  case "QQQQQ":
375
- return n.quarter(r, {
377
+ return a.quarter(r, {
376
378
  width: "narrow",
377
379
  context: "formatting"
378
380
  });
379
381
  case "QQQQ":
380
382
  default:
381
- return n.quarter(r, {
383
+ return a.quarter(r, {
382
384
  width: "wide",
383
385
  context: "formatting"
384
386
  });
385
387
  }
386
388
  },
387
389
  // Stand-alone quarter
388
- q: function(t, a, n) {
389
- var r = Math.ceil((t.getUTCMonth() + 1) / 3);
390
- switch (a) {
390
+ q: function(e, n, a) {
391
+ var r = Math.ceil((e.getUTCMonth() + 1) / 3);
392
+ switch (n) {
391
393
  case "q":
392
394
  return String(r);
393
395
  case "qq":
394
396
  return c(r, 2);
395
397
  case "qo":
396
- return n.ordinalNumber(r, {
398
+ return a.ordinalNumber(r, {
397
399
  unit: "quarter"
398
400
  });
399
401
  case "qqq":
400
- return n.quarter(r, {
402
+ return a.quarter(r, {
401
403
  width: "abbreviated",
402
404
  context: "standalone"
403
405
  });
404
406
  case "qqqqq":
405
- return n.quarter(r, {
407
+ return a.quarter(r, {
406
408
  width: "narrow",
407
409
  context: "standalone"
408
410
  });
409
411
  case "qqqq":
410
412
  default:
411
- return n.quarter(r, {
413
+ return a.quarter(r, {
412
414
  width: "wide",
413
415
  context: "standalone"
414
416
  });
415
417
  }
416
418
  },
417
419
  // Month
418
- M: function(t, a, n) {
419
- var r = t.getUTCMonth();
420
- switch (a) {
420
+ M: function(e, n, a) {
421
+ var r = e.getUTCMonth();
422
+ switch (n) {
421
423
  case "M":
422
424
  case "MM":
423
- return T.M(t, a);
425
+ return T.M(e, n);
424
426
  case "Mo":
425
- return n.ordinalNumber(r + 1, {
427
+ return a.ordinalNumber(r + 1, {
426
428
  unit: "month"
427
429
  });
428
430
  case "MMM":
429
- return n.month(r, {
431
+ return a.month(r, {
430
432
  width: "abbreviated",
431
433
  context: "formatting"
432
434
  });
433
435
  case "MMMMM":
434
- return n.month(r, {
436
+ return a.month(r, {
435
437
  width: "narrow",
436
438
  context: "formatting"
437
439
  });
438
440
  case "MMMM":
439
441
  default:
440
- return n.month(r, {
442
+ return a.month(r, {
441
443
  width: "wide",
442
444
  context: "formatting"
443
445
  });
444
446
  }
445
447
  },
446
448
  // Stand-alone month
447
- L: function(t, a, n) {
448
- var r = t.getUTCMonth();
449
- switch (a) {
449
+ L: function(e, n, a) {
450
+ var r = e.getUTCMonth();
451
+ switch (n) {
450
452
  case "L":
451
453
  return String(r + 1);
452
454
  case "LL":
453
455
  return c(r + 1, 2);
454
456
  case "Lo":
455
- return n.ordinalNumber(r + 1, {
457
+ return a.ordinalNumber(r + 1, {
456
458
  unit: "month"
457
459
  });
458
460
  case "LLL":
459
- return n.month(r, {
461
+ return a.month(r, {
460
462
  width: "abbreviated",
461
463
  context: "standalone"
462
464
  });
463
465
  case "LLLLL":
464
- return n.month(r, {
466
+ return a.month(r, {
465
467
  width: "narrow",
466
468
  context: "standalone"
467
469
  });
468
470
  case "LLLL":
469
471
  default:
470
- return n.month(r, {
472
+ return a.month(r, {
471
473
  width: "wide",
472
474
  context: "standalone"
473
475
  });
474
476
  }
475
477
  },
476
478
  // Local week of year
477
- w: function(t, a, n, r) {
478
- var i = Mt(t, r);
479
- return a === "wo" ? n.ordinalNumber(i, {
479
+ w: function(e, n, a, r) {
480
+ var i = Me(e, r);
481
+ return n === "wo" ? a.ordinalNumber(i, {
480
482
  unit: "week"
481
- }) : c(i, a.length);
483
+ }) : c(i, n.length);
482
484
  },
483
485
  // ISO week of year
484
- I: function(t, a, n) {
485
- var r = Tt(t);
486
- return a === "Io" ? n.ordinalNumber(r, {
486
+ I: function(e, n, a) {
487
+ var r = Te(e);
488
+ return n === "Io" ? a.ordinalNumber(r, {
487
489
  unit: "week"
488
- }) : c(r, a.length);
490
+ }) : c(r, n.length);
489
491
  },
490
492
  // Day of the month
491
- d: function(t, a, n) {
492
- return a === "do" ? n.ordinalNumber(t.getUTCDate(), {
493
+ d: function(e, n, a) {
494
+ return n === "do" ? a.ordinalNumber(e.getUTCDate(), {
493
495
  unit: "date"
494
- }) : T.d(t, a);
496
+ }) : T.d(e, n);
495
497
  },
496
498
  // Day of year
497
- D: function(t, a, n) {
498
- var r = wt(t);
499
- return a === "Do" ? n.ordinalNumber(r, {
499
+ D: function(e, n, a) {
500
+ var r = we(e);
501
+ return n === "Do" ? a.ordinalNumber(r, {
500
502
  unit: "dayOfYear"
501
- }) : c(r, a.length);
503
+ }) : c(r, n.length);
502
504
  },
503
505
  // Day of week
504
- E: function(t, a, n) {
505
- var r = t.getUTCDay();
506
- switch (a) {
506
+ E: function(e, n, a) {
507
+ var r = e.getUTCDay();
508
+ switch (n) {
507
509
  case "E":
508
510
  case "EE":
509
511
  case "EEE":
510
- return n.day(r, {
512
+ return a.day(r, {
511
513
  width: "abbreviated",
512
514
  context: "formatting"
513
515
  });
514
516
  case "EEEEE":
515
- return n.day(r, {
517
+ return a.day(r, {
516
518
  width: "narrow",
517
519
  context: "formatting"
518
520
  });
519
521
  case "EEEEEE":
520
- return n.day(r, {
522
+ return a.day(r, {
521
523
  width: "short",
522
524
  context: "formatting"
523
525
  });
524
526
  case "EEEE":
525
527
  default:
526
- return n.day(r, {
528
+ return a.day(r, {
527
529
  width: "wide",
528
530
  context: "formatting"
529
531
  });
530
532
  }
531
533
  },
532
534
  // Local day of week
533
- e: function(t, a, n, r) {
534
- var i = t.getUTCDay(), o = (i - r.weekStartsOn + 8) % 7 || 7;
535
- switch (a) {
535
+ e: function(e, n, a, r) {
536
+ var i = e.getUTCDay(), o = (i - r.weekStartsOn + 8) % 7 || 7;
537
+ switch (n) {
536
538
  case "e":
537
539
  return String(o);
538
540
  case "ee":
539
541
  return c(o, 2);
540
542
  case "eo":
541
- return n.ordinalNumber(o, {
543
+ return a.ordinalNumber(o, {
542
544
  unit: "day"
543
545
  });
544
546
  case "eee":
545
- return n.day(i, {
547
+ return a.day(i, {
546
548
  width: "abbreviated",
547
549
  context: "formatting"
548
550
  });
549
551
  case "eeeee":
550
- return n.day(i, {
552
+ return a.day(i, {
551
553
  width: "narrow",
552
554
  context: "formatting"
553
555
  });
554
556
  case "eeeeee":
555
- return n.day(i, {
557
+ return a.day(i, {
556
558
  width: "short",
557
559
  context: "formatting"
558
560
  });
559
561
  case "eeee":
560
562
  default:
561
- return n.day(i, {
563
+ return a.day(i, {
562
564
  width: "wide",
563
565
  context: "formatting"
564
566
  });
565
567
  }
566
568
  },
567
569
  // Stand-alone local day of week
568
- c: function(t, a, n, r) {
569
- var i = t.getUTCDay(), o = (i - r.weekStartsOn + 8) % 7 || 7;
570
- switch (a) {
570
+ c: function(e, n, a, r) {
571
+ var i = e.getUTCDay(), o = (i - r.weekStartsOn + 8) % 7 || 7;
572
+ switch (n) {
571
573
  case "c":
572
574
  return String(o);
573
575
  case "cc":
574
- return c(o, a.length);
576
+ return c(o, n.length);
575
577
  case "co":
576
- return n.ordinalNumber(o, {
578
+ return a.ordinalNumber(o, {
577
579
  unit: "day"
578
580
  });
579
581
  case "ccc":
580
- return n.day(i, {
582
+ return a.day(i, {
581
583
  width: "abbreviated",
582
584
  context: "standalone"
583
585
  });
584
586
  case "ccccc":
585
- return n.day(i, {
587
+ return a.day(i, {
586
588
  width: "narrow",
587
589
  context: "standalone"
588
590
  });
589
591
  case "cccccc":
590
- return n.day(i, {
592
+ return a.day(i, {
591
593
  width: "short",
592
594
  context: "standalone"
593
595
  });
594
596
  case "cccc":
595
597
  default:
596
- return n.day(i, {
598
+ return a.day(i, {
597
599
  width: "wide",
598
600
  context: "standalone"
599
601
  });
600
602
  }
601
603
  },
602
604
  // ISO day of week
603
- i: function(t, a, n) {
604
- var r = t.getUTCDay(), i = r === 0 ? 7 : r;
605
- switch (a) {
605
+ i: function(e, n, a) {
606
+ var r = e.getUTCDay(), i = r === 0 ? 7 : r;
607
+ switch (n) {
606
608
  case "i":
607
609
  return String(i);
608
610
  case "ii":
609
- return c(i, a.length);
611
+ return c(i, n.length);
610
612
  case "io":
611
- return n.ordinalNumber(i, {
613
+ return a.ordinalNumber(i, {
612
614
  unit: "day"
613
615
  });
614
616
  case "iii":
615
- return n.day(r, {
617
+ return a.day(r, {
616
618
  width: "abbreviated",
617
619
  context: "formatting"
618
620
  });
619
621
  case "iiiii":
620
- return n.day(r, {
622
+ return a.day(r, {
621
623
  width: "narrow",
622
624
  context: "formatting"
623
625
  });
624
626
  case "iiiiii":
625
- return n.day(r, {
627
+ return a.day(r, {
626
628
  width: "short",
627
629
  context: "formatting"
628
630
  });
629
631
  case "iiii":
630
632
  default:
631
- return n.day(r, {
633
+ return a.day(r, {
632
634
  width: "wide",
633
635
  context: "formatting"
634
636
  });
635
637
  }
636
638
  },
637
639
  // AM or PM
638
- a: function(t, a, n) {
639
- var r = t.getUTCHours(), i = r / 12 >= 1 ? "pm" : "am";
640
- switch (a) {
640
+ a: function(e, n, a) {
641
+ var r = e.getUTCHours(), i = r / 12 >= 1 ? "pm" : "am";
642
+ switch (n) {
641
643
  case "a":
642
644
  case "aa":
643
- return n.dayPeriod(i, {
645
+ return a.dayPeriod(i, {
644
646
  width: "abbreviated",
645
647
  context: "formatting"
646
648
  });
647
649
  case "aaa":
648
- return n.dayPeriod(i, {
650
+ return a.dayPeriod(i, {
649
651
  width: "abbreviated",
650
652
  context: "formatting"
651
653
  }).toLowerCase();
652
654
  case "aaaaa":
653
- return n.dayPeriod(i, {
655
+ return a.dayPeriod(i, {
654
656
  width: "narrow",
655
657
  context: "formatting"
656
658
  });
657
659
  case "aaaa":
658
660
  default:
659
- return n.dayPeriod(i, {
661
+ return a.dayPeriod(i, {
660
662
  width: "wide",
661
663
  context: "formatting"
662
664
  });
663
665
  }
664
666
  },
665
667
  // AM, PM, midnight, noon
666
- b: function(t, a, n) {
667
- var r = t.getUTCHours(), i;
668
- switch (r === 12 ? i = M.noon : r === 0 ? i = M.midnight : i = r / 12 >= 1 ? "pm" : "am", a) {
668
+ b: function(e, n, a) {
669
+ var r = e.getUTCHours(), i;
670
+ switch (r === 12 ? i = M.noon : r === 0 ? i = M.midnight : i = r / 12 >= 1 ? "pm" : "am", n) {
669
671
  case "b":
670
672
  case "bb":
671
- return n.dayPeriod(i, {
673
+ return a.dayPeriod(i, {
672
674
  width: "abbreviated",
673
675
  context: "formatting"
674
676
  });
675
677
  case "bbb":
676
- return n.dayPeriod(i, {
678
+ return a.dayPeriod(i, {
677
679
  width: "abbreviated",
678
680
  context: "formatting"
679
681
  }).toLowerCase();
680
682
  case "bbbbb":
681
- return n.dayPeriod(i, {
683
+ return a.dayPeriod(i, {
682
684
  width: "narrow",
683
685
  context: "formatting"
684
686
  });
685
687
  case "bbbb":
686
688
  default:
687
- return n.dayPeriod(i, {
689
+ return a.dayPeriod(i, {
688
690
  width: "wide",
689
691
  context: "formatting"
690
692
  });
691
693
  }
692
694
  },
693
695
  // in the morning, in the afternoon, in the evening, at night
694
- B: function(t, a, n) {
695
- var r = t.getUTCHours(), i;
696
- switch (r >= 17 ? i = M.evening : r >= 12 ? i = M.afternoon : r >= 4 ? i = M.morning : i = M.night, a) {
696
+ B: function(e, n, a) {
697
+ var r = e.getUTCHours(), i;
698
+ switch (r >= 17 ? i = M.evening : r >= 12 ? i = M.afternoon : r >= 4 ? i = M.morning : i = M.night, n) {
697
699
  case "B":
698
700
  case "BB":
699
701
  case "BBB":
700
- return n.dayPeriod(i, {
702
+ return a.dayPeriod(i, {
701
703
  width: "abbreviated",
702
704
  context: "formatting"
703
705
  });
704
706
  case "BBBBB":
705
- return n.dayPeriod(i, {
707
+ return a.dayPeriod(i, {
706
708
  width: "narrow",
707
709
  context: "formatting"
708
710
  });
709
711
  case "BBBB":
710
712
  default:
711
- return n.dayPeriod(i, {
713
+ return a.dayPeriod(i, {
712
714
  width: "wide",
713
715
  context: "formatting"
714
716
  });
715
717
  }
716
718
  },
717
719
  // Hour [1-12]
718
- h: function(t, a, n) {
719
- if (a === "ho") {
720
- var r = t.getUTCHours() % 12;
721
- return r === 0 && (r = 12), n.ordinalNumber(r, {
720
+ h: function(e, n, a) {
721
+ if (n === "ho") {
722
+ var r = e.getUTCHours() % 12;
723
+ return r === 0 && (r = 12), a.ordinalNumber(r, {
722
724
  unit: "hour"
723
725
  });
724
726
  }
725
- return T.h(t, a);
727
+ return T.h(e, n);
726
728
  },
727
729
  // Hour [0-23]
728
- H: function(t, a, n) {
729
- return a === "Ho" ? n.ordinalNumber(t.getUTCHours(), {
730
+ H: function(e, n, a) {
731
+ return n === "Ho" ? a.ordinalNumber(e.getUTCHours(), {
730
732
  unit: "hour"
731
- }) : T.H(t, a);
733
+ }) : T.H(e, n);
732
734
  },
733
735
  // Hour [0-11]
734
- K: function(t, a, n) {
735
- var r = t.getUTCHours() % 12;
736
- return a === "Ko" ? n.ordinalNumber(r, {
736
+ K: function(e, n, a) {
737
+ var r = e.getUTCHours() % 12;
738
+ return n === "Ko" ? a.ordinalNumber(r, {
737
739
  unit: "hour"
738
- }) : c(r, a.length);
740
+ }) : c(r, n.length);
739
741
  },
740
742
  // Hour [1-24]
741
- k: function(t, a, n) {
742
- var r = t.getUTCHours();
743
- return r === 0 && (r = 24), a === "ko" ? n.ordinalNumber(r, {
743
+ k: function(e, n, a) {
744
+ var r = e.getUTCHours();
745
+ return r === 0 && (r = 24), n === "ko" ? a.ordinalNumber(r, {
744
746
  unit: "hour"
745
- }) : c(r, a.length);
747
+ }) : c(r, n.length);
746
748
  },
747
749
  // Minute
748
- m: function(t, a, n) {
749
- return a === "mo" ? n.ordinalNumber(t.getUTCMinutes(), {
750
+ m: function(e, n, a) {
751
+ return n === "mo" ? a.ordinalNumber(e.getUTCMinutes(), {
750
752
  unit: "minute"
751
- }) : T.m(t, a);
753
+ }) : T.m(e, n);
752
754
  },
753
755
  // Second
754
- s: function(t, a, n) {
755
- return a === "so" ? n.ordinalNumber(t.getUTCSeconds(), {
756
+ s: function(e, n, a) {
757
+ return n === "so" ? a.ordinalNumber(e.getUTCSeconds(), {
756
758
  unit: "second"
757
- }) : T.s(t, a);
759
+ }) : T.s(e, n);
758
760
  },
759
761
  // Fraction of second
760
- S: function(t, a) {
761
- return T.S(t, a);
762
+ S: function(e, n) {
763
+ return T.S(e, n);
762
764
  },
763
765
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
764
- X: function(t, a, n, r) {
765
- var i = r._originalDate || t, o = i.getTimezoneOffset();
766
+ X: function(e, n, a, r) {
767
+ var i = r._originalDate || e, o = i.getTimezoneOffset();
766
768
  if (o === 0)
767
769
  return "Z";
768
- switch (a) {
770
+ switch (n) {
769
771
  case "X":
770
772
  return z(o);
771
773
  case "XXXX":
@@ -778,9 +780,9 @@ var M = {
778
780
  }
779
781
  },
780
782
  // Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
781
- x: function(t, a, n, r) {
782
- var i = r._originalDate || t, o = i.getTimezoneOffset();
783
- switch (a) {
783
+ x: function(e, n, a, r) {
784
+ var i = r._originalDate || e, o = i.getTimezoneOffset();
785
+ switch (n) {
784
786
  case "x":
785
787
  return z(o);
786
788
  case "xxxx":
@@ -793,9 +795,9 @@ var M = {
793
795
  }
794
796
  },
795
797
  // Timezone (GMT)
796
- O: function(t, a, n, r) {
797
- var i = r._originalDate || t, o = i.getTimezoneOffset();
798
- switch (a) {
798
+ O: function(e, n, a, r) {
799
+ var i = r._originalDate || e, o = i.getTimezoneOffset();
800
+ switch (n) {
799
801
  case "O":
800
802
  case "OO":
801
803
  case "OOO":
@@ -806,9 +808,9 @@ var M = {
806
808
  }
807
809
  },
808
810
  // Timezone (specific non-location)
809
- z: function(t, a, n, r) {
810
- var i = r._originalDate || t, o = i.getTimezoneOffset();
811
- switch (a) {
811
+ z: function(e, n, a, r) {
812
+ var i = r._originalDate || e, o = i.getTimezoneOffset();
813
+ switch (n) {
812
814
  case "z":
813
815
  case "zz":
814
816
  case "zzz":
@@ -819,131 +821,131 @@ var M = {
819
821
  }
820
822
  },
821
823
  // Seconds timestamp
822
- t: function(t, a, n, r) {
823
- var i = r._originalDate || t, o = Math.floor(i.getTime() / 1e3);
824
- return c(o, a.length);
824
+ t: function(e, n, a, r) {
825
+ var i = r._originalDate || e, o = Math.floor(i.getTime() / 1e3);
826
+ return c(o, n.length);
825
827
  },
826
828
  // Milliseconds timestamp
827
- T: function(t, a, n, r) {
828
- var i = r._originalDate || t, o = i.getTime();
829
- return c(o, a.length);
829
+ T: function(e, n, a, r) {
830
+ var i = r._originalDate || e, o = i.getTime();
831
+ return c(o, n.length);
830
832
  }
831
833
  };
832
- function j(e, t) {
833
- var a = e > 0 ? "-" : "+", n = Math.abs(e), r = Math.floor(n / 60), i = n % 60;
834
+ function j(t, e) {
835
+ var n = t > 0 ? "-" : "+", a = Math.abs(t), r = Math.floor(a / 60), i = a % 60;
834
836
  if (i === 0)
835
- return a + String(r);
836
- var o = t;
837
- return a + String(r) + o + c(i, 2);
837
+ return n + String(r);
838
+ var o = e;
839
+ return n + String(r) + o + c(i, 2);
838
840
  }
839
- function z(e, t) {
840
- if (e % 60 === 0) {
841
- var a = e > 0 ? "-" : "+";
842
- return a + c(Math.abs(e) / 60, 2);
841
+ function z(t, e) {
842
+ if (t % 60 === 0) {
843
+ var n = t > 0 ? "-" : "+";
844
+ return n + c(Math.abs(t) / 60, 2);
843
845
  }
844
- return S(e, t);
846
+ return S(t, e);
845
847
  }
846
- function S(e, t) {
847
- var a = t || "", n = e > 0 ? "-" : "+", r = Math.abs(e), i = c(Math.floor(r / 60), 2), o = c(r % 60, 2);
848
- return n + i + a + o;
848
+ function S(t, e) {
849
+ var n = e || "", a = t > 0 ? "-" : "+", r = Math.abs(t), i = c(Math.floor(r / 60), 2), o = c(r % 60, 2);
850
+ return a + i + n + o;
849
851
  }
850
- const Pt = Ot;
851
- var A = function(t, a) {
852
- switch (t) {
852
+ const Oe = Pe;
853
+ var A = function(e, n) {
854
+ switch (e) {
853
855
  case "P":
854
- return a.date({
856
+ return n.date({
855
857
  width: "short"
856
858
  });
857
859
  case "PP":
858
- return a.date({
860
+ return n.date({
859
861
  width: "medium"
860
862
  });
861
863
  case "PPP":
862
- return a.date({
864
+ return n.date({
863
865
  width: "long"
864
866
  });
865
867
  case "PPPP":
866
868
  default:
867
- return a.date({
869
+ return n.date({
868
870
  width: "full"
869
871
  });
870
872
  }
871
- }, K = function(t, a) {
872
- switch (t) {
873
+ }, K = function(e, n) {
874
+ switch (e) {
873
875
  case "p":
874
- return a.time({
876
+ return n.time({
875
877
  width: "short"
876
878
  });
877
879
  case "pp":
878
- return a.time({
880
+ return n.time({
879
881
  width: "medium"
880
882
  });
881
883
  case "ppp":
882
- return a.time({
884
+ return n.time({
883
885
  width: "long"
884
886
  });
885
887
  case "pppp":
886
888
  default:
887
- return a.time({
889
+ return n.time({
888
890
  width: "full"
889
891
  });
890
892
  }
891
- }, Ut = function(t, a) {
892
- var n = t.match(/(P+)(p+)?/) || [], r = n[1], i = n[2];
893
+ }, Ue = function(e, n) {
894
+ var a = e.match(/(P+)(p+)?/) || [], r = a[1], i = a[2];
893
895
  if (!i)
894
- return A(t, a);
896
+ return A(e, n);
895
897
  var o;
896
898
  switch (r) {
897
899
  case "P":
898
- o = a.dateTime({
900
+ o = n.dateTime({
899
901
  width: "short"
900
902
  });
901
903
  break;
902
904
  case "PP":
903
- o = a.dateTime({
905
+ o = n.dateTime({
904
906
  width: "medium"
905
907
  });
906
908
  break;
907
909
  case "PPP":
908
- o = a.dateTime({
910
+ o = n.dateTime({
909
911
  width: "long"
910
912
  });
911
913
  break;
912
914
  case "PPPP":
913
915
  default:
914
- o = a.dateTime({
916
+ o = n.dateTime({
915
917
  width: "full"
916
918
  });
917
919
  break;
918
920
  }
919
- return o.replace("{{date}}", A(r, a)).replace("{{time}}", K(i, a));
920
- }, Wt = {
921
+ return o.replace("{{date}}", A(r, n)).replace("{{time}}", K(i, n));
922
+ }, We = {
921
923
  p: K,
922
- P: Ut
924
+ P: Ue
923
925
  };
924
- const Ft = Wt;
925
- function Et(e) {
926
- var t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
927
- return t.setUTCFullYear(e.getFullYear()), e.getTime() - t.getTime();
926
+ const Fe = We;
927
+ function Ee(t) {
928
+ var e = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
929
+ return e.setUTCFullYear(t.getFullYear()), t.getTime() - e.getTime();
928
930
  }
929
- var Yt = ["D", "DD"], _t = ["YY", "YYYY"];
930
- function Bt(e) {
931
- return Yt.indexOf(e) !== -1;
931
+ var Ye = ["D", "DD"], _e = ["YY", "YYYY"];
932
+ function Le(t) {
933
+ return Ye.indexOf(t) !== -1;
932
934
  }
933
- function Lt(e) {
934
- return _t.indexOf(e) !== -1;
935
+ function Be(t) {
936
+ return _e.indexOf(t) !== -1;
935
937
  }
936
- function Q(e, t, a) {
937
- if (e === "YYYY")
938
- throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
939
- if (e === "YY")
940
- throw new RangeError("Use `yy` instead of `YY` (in `".concat(t, "`) for formatting years to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
941
- if (e === "D")
942
- throw new RangeError("Use `d` instead of `D` (in `".concat(t, "`) for formatting days of the month to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
943
- if (e === "DD")
944
- throw new RangeError("Use `dd` instead of `DD` (in `".concat(t, "`) for formatting days of the month to the input `").concat(a, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
938
+ function Q(t, e, n) {
939
+ if (t === "YYYY")
940
+ throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(e, "`) for formatting years to the input `").concat(n, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
941
+ if (t === "YY")
942
+ throw new RangeError("Use `yy` instead of `YY` (in `".concat(e, "`) for formatting years to the input `").concat(n, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
943
+ if (t === "D")
944
+ throw new RangeError("Use `d` instead of `D` (in `".concat(e, "`) for formatting days of the month to the input `").concat(n, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
945
+ if (t === "DD")
946
+ throw new RangeError("Use `dd` instead of `DD` (in `".concat(e, "`) for formatting days of the month to the input `").concat(n, "`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));
945
947
  }
946
- var $t = {
948
+ var $e = {
947
949
  lessThanXSeconds: {
948
950
  one: "less than a second",
949
951
  other: "less than {{count}} seconds"
@@ -1005,90 +1007,90 @@ var $t = {
1005
1007
  one: "almost 1 year",
1006
1008
  other: "almost {{count}} years"
1007
1009
  }
1008
- }, Nt = function(t, a, n) {
1009
- var r, i = $t[t];
1010
- return typeof i == "string" ? r = i : a === 1 ? r = i.one : r = i.other.replace("{{count}}", a.toString()), n != null && n.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
1010
+ }, Ne = function(e, n, a) {
1011
+ var r, i = $e[e];
1012
+ return typeof i == "string" ? r = i : n === 1 ? r = i.one : r = i.other.replace("{{count}}", n.toString()), a != null && a.addSuffix ? a.comparison && a.comparison > 0 ? "in " + r : r + " ago" : r;
1011
1013
  };
1012
- const Ht = Nt;
1013
- function R(e) {
1014
+ const He = Ne;
1015
+ function R(t) {
1014
1016
  return function() {
1015
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, a = t.width ? String(t.width) : e.defaultWidth, n = e.formats[a] || e.formats[e.defaultWidth];
1016
- return n;
1017
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = e.width ? String(e.width) : t.defaultWidth, a = t.formats[n] || t.formats[t.defaultWidth];
1018
+ return a;
1017
1019
  };
1018
1020
  }
1019
- var It = {
1021
+ var Ie = {
1020
1022
  full: "EEEE, MMMM do, y",
1021
1023
  long: "MMMM do, y",
1022
1024
  medium: "MMM d, y",
1023
1025
  short: "MM/dd/yyyy"
1024
- }, Rt = {
1026
+ }, Re = {
1025
1027
  full: "h:mm:ss a zzzz",
1026
1028
  long: "h:mm:ss a z",
1027
1029
  medium: "h:mm:ss a",
1028
1030
  short: "h:mm a"
1029
- }, qt = {
1031
+ }, qe = {
1030
1032
  full: "{{date}} 'at' {{time}}",
1031
1033
  long: "{{date}} 'at' {{time}}",
1032
1034
  medium: "{{date}}, {{time}}",
1033
1035
  short: "{{date}}, {{time}}"
1034
- }, jt = {
1036
+ }, je = {
1035
1037
  date: R({
1036
- formats: It,
1038
+ formats: Ie,
1037
1039
  defaultWidth: "full"
1038
1040
  }),
1039
1041
  time: R({
1040
- formats: Rt,
1042
+ formats: Re,
1041
1043
  defaultWidth: "full"
1042
1044
  }),
1043
1045
  dateTime: R({
1044
- formats: qt,
1046
+ formats: qe,
1045
1047
  defaultWidth: "full"
1046
1048
  })
1047
1049
  };
1048
- const zt = jt;
1049
- var At = {
1050
+ const ze = je;
1051
+ var Ae = {
1050
1052
  lastWeek: "'last' eeee 'at' p",
1051
1053
  yesterday: "'yesterday at' p",
1052
1054
  today: "'today at' p",
1053
1055
  tomorrow: "'tomorrow at' p",
1054
1056
  nextWeek: "eeee 'at' p",
1055
1057
  other: "P"
1056
- }, Qt = function(t, a, n, r) {
1057
- return At[t];
1058
+ }, Qe = function(e, n, a, r) {
1059
+ return Ae[e];
1058
1060
  };
1059
- const Xt = Qt;
1060
- function W(e) {
1061
- return function(t, a) {
1062
- var n = a != null && a.context ? String(a.context) : "standalone", r;
1063
- if (n === "formatting" && e.formattingValues) {
1064
- var i = e.defaultFormattingWidth || e.defaultWidth, o = a != null && a.width ? String(a.width) : i;
1065
- r = e.formattingValues[o] || e.formattingValues[i];
1061
+ const Xe = Qe;
1062
+ function W(t) {
1063
+ return function(e, n) {
1064
+ var a = n != null && n.context ? String(n.context) : "standalone", r;
1065
+ if (a === "formatting" && t.formattingValues) {
1066
+ var i = t.defaultFormattingWidth || t.defaultWidth, o = n != null && n.width ? String(n.width) : i;
1067
+ r = t.formattingValues[o] || t.formattingValues[i];
1066
1068
  } else {
1067
- var u = e.defaultWidth, l = a != null && a.width ? String(a.width) : e.defaultWidth;
1068
- r = e.values[l] || e.values[u];
1069
+ var d = t.defaultWidth, l = n != null && n.width ? String(n.width) : t.defaultWidth;
1070
+ r = t.values[l] || t.values[d];
1069
1071
  }
1070
- var h = e.argumentCallback ? e.argumentCallback(t) : t;
1071
- return r[h];
1072
+ var f = t.argumentCallback ? t.argumentCallback(e) : e;
1073
+ return r[f];
1072
1074
  };
1073
1075
  }
1074
- var Gt = {
1076
+ var Ge = {
1075
1077
  narrow: ["B", "A"],
1076
1078
  abbreviated: ["BC", "AD"],
1077
1079
  wide: ["Before Christ", "Anno Domini"]
1078
- }, Vt = {
1080
+ }, Ve = {
1079
1081
  narrow: ["1", "2", "3", "4"],
1080
1082
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
1081
1083
  wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
1082
- }, Jt = {
1084
+ }, Je = {
1083
1085
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
1084
1086
  abbreviated: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
1085
1087
  wide: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
1086
- }, Kt = {
1088
+ }, Ke = {
1087
1089
  narrow: ["S", "M", "T", "W", "T", "F", "S"],
1088
1090
  short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
1089
1091
  abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
1090
1092
  wide: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
1091
- }, Zt = {
1093
+ }, Ze = {
1092
1094
  narrow: {
1093
1095
  am: "a",
1094
1096
  pm: "p",
@@ -1119,7 +1121,7 @@ var Gt = {
1119
1121
  evening: "evening",
1120
1122
  night: "night"
1121
1123
  }
1122
- }, te = {
1124
+ }, et = {
1123
1125
  narrow: {
1124
1126
  am: "a",
1125
1127
  pm: "p",
@@ -1150,123 +1152,123 @@ var Gt = {
1150
1152
  evening: "in the evening",
1151
1153
  night: "at night"
1152
1154
  }
1153
- }, ee = function(t, a) {
1154
- var n = Number(t), r = n % 100;
1155
+ }, tt = function(e, n) {
1156
+ var a = Number(e), r = a % 100;
1155
1157
  if (r > 20 || r < 10)
1156
1158
  switch (r % 10) {
1157
1159
  case 1:
1158
- return n + "st";
1160
+ return a + "st";
1159
1161
  case 2:
1160
- return n + "nd";
1162
+ return a + "nd";
1161
1163
  case 3:
1162
- return n + "rd";
1164
+ return a + "rd";
1163
1165
  }
1164
- return n + "th";
1165
- }, ae = {
1166
- ordinalNumber: ee,
1166
+ return a + "th";
1167
+ }, nt = {
1168
+ ordinalNumber: tt,
1167
1169
  era: W({
1168
- values: Gt,
1170
+ values: Ge,
1169
1171
  defaultWidth: "wide"
1170
1172
  }),
1171
1173
  quarter: W({
1172
- values: Vt,
1174
+ values: Ve,
1173
1175
  defaultWidth: "wide",
1174
- argumentCallback: function(t) {
1175
- return t - 1;
1176
+ argumentCallback: function(e) {
1177
+ return e - 1;
1176
1178
  }
1177
1179
  }),
1178
1180
  month: W({
1179
- values: Jt,
1181
+ values: Je,
1180
1182
  defaultWidth: "wide"
1181
1183
  }),
1182
1184
  day: W({
1183
- values: Kt,
1185
+ values: Ke,
1184
1186
  defaultWidth: "wide"
1185
1187
  }),
1186
1188
  dayPeriod: W({
1187
- values: Zt,
1189
+ values: Ze,
1188
1190
  defaultWidth: "wide",
1189
- formattingValues: te,
1191
+ formattingValues: et,
1190
1192
  defaultFormattingWidth: "wide"
1191
1193
  })
1192
1194
  };
1193
- const ne = ae;
1194
- function F(e) {
1195
- return function(t) {
1196
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = a.width, r = n && e.matchPatterns[n] || e.matchPatterns[e.defaultMatchWidth], i = t.match(r);
1195
+ const at = nt;
1196
+ function F(t) {
1197
+ return function(e) {
1198
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = n.width, r = a && t.matchPatterns[a] || t.matchPatterns[t.defaultMatchWidth], i = e.match(r);
1197
1199
  if (!i)
1198
1200
  return null;
1199
- var o = i[0], u = n && e.parsePatterns[n] || e.parsePatterns[e.defaultParseWidth], l = Array.isArray(u) ? ie(u, function(f) {
1200
- return f.test(o);
1201
- }) : re(u, function(f) {
1202
- return f.test(o);
1203
- }), h;
1204
- h = e.valueCallback ? e.valueCallback(l) : l, h = a.valueCallback ? a.valueCallback(h) : h;
1205
- var m = t.slice(o.length);
1201
+ var o = i[0], d = a && t.parsePatterns[a] || t.parsePatterns[t.defaultParseWidth], l = Array.isArray(d) ? it(d, function(h) {
1202
+ return h.test(o);
1203
+ }) : rt(d, function(h) {
1204
+ return h.test(o);
1205
+ }), f;
1206
+ f = t.valueCallback ? t.valueCallback(l) : l, f = n.valueCallback ? n.valueCallback(f) : f;
1207
+ var m = e.slice(o.length);
1206
1208
  return {
1207
- value: h,
1209
+ value: f,
1208
1210
  rest: m
1209
1211
  };
1210
1212
  };
1211
1213
  }
1212
- function re(e, t) {
1213
- for (var a in e)
1214
- if (e.hasOwnProperty(a) && t(e[a]))
1215
- return a;
1214
+ function rt(t, e) {
1215
+ for (var n in t)
1216
+ if (t.hasOwnProperty(n) && e(t[n]))
1217
+ return n;
1216
1218
  }
1217
- function ie(e, t) {
1218
- for (var a = 0; a < e.length; a++)
1219
- if (t(e[a]))
1220
- return a;
1219
+ function it(t, e) {
1220
+ for (var n = 0; n < t.length; n++)
1221
+ if (e(t[n]))
1222
+ return n;
1221
1223
  }
1222
- function oe(e) {
1223
- return function(t) {
1224
- var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = t.match(e.matchPattern);
1225
- if (!n)
1224
+ function ot(t) {
1225
+ return function(e) {
1226
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = e.match(t.matchPattern);
1227
+ if (!a)
1226
1228
  return null;
1227
- var r = n[0], i = t.match(e.parsePattern);
1229
+ var r = a[0], i = e.match(t.parsePattern);
1228
1230
  if (!i)
1229
1231
  return null;
1230
- var o = e.valueCallback ? e.valueCallback(i[0]) : i[0];
1231
- o = a.valueCallback ? a.valueCallback(o) : o;
1232
- var u = t.slice(r.length);
1232
+ var o = t.valueCallback ? t.valueCallback(i[0]) : i[0];
1233
+ o = n.valueCallback ? n.valueCallback(o) : o;
1234
+ var d = e.slice(r.length);
1233
1235
  return {
1234
1236
  value: o,
1235
- rest: u
1237
+ rest: d
1236
1238
  };
1237
1239
  };
1238
1240
  }
1239
- var se = /^(\d+)(th|st|nd|rd)?/i, le = /\d+/i, ue = {
1241
+ var st = /^(\d+)(th|st|nd|rd)?/i, lt = /\d+/i, ut = {
1240
1242
  narrow: /^(b|a)/i,
1241
1243
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
1242
1244
  wide: /^(before christ|before common era|anno domini|common era)/i
1243
- }, de = {
1245
+ }, dt = {
1244
1246
  any: [/^b/i, /^(a|c)/i]
1245
- }, ce = {
1247
+ }, ct = {
1246
1248
  narrow: /^[1234]/i,
1247
1249
  abbreviated: /^q[1234]/i,
1248
1250
  wide: /^[1234](th|st|nd|rd)? quarter/i
1249
- }, he = {
1251
+ }, ft = {
1250
1252
  any: [/1/i, /2/i, /3/i, /4/i]
1251
- }, fe = {
1253
+ }, ht = {
1252
1254
  narrow: /^[jfmasond]/i,
1253
1255
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
1254
1256
  wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
1255
- }, me = {
1257
+ }, mt = {
1256
1258
  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],
1257
1259
  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]
1258
- }, ge = {
1260
+ }, gt = {
1259
1261
  narrow: /^[smtwf]/i,
1260
1262
  short: /^(su|mo|tu|we|th|fr|sa)/i,
1261
1263
  abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
1262
1264
  wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
1263
- }, ve = {
1265
+ }, pt = {
1264
1266
  narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
1265
1267
  any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
1266
- }, pe = {
1268
+ }, vt = {
1267
1269
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
1268
1270
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
1269
- }, be = {
1271
+ }, bt = {
1270
1272
  any: {
1271
1273
  am: /^a/i,
1272
1274
  pm: /^p/i,
@@ -1277,166 +1279,166 @@ var se = /^(\d+)(th|st|nd|rd)?/i, le = /\d+/i, ue = {
1277
1279
  evening: /evening/i,
1278
1280
  night: /night/i
1279
1281
  }
1280
- }, we = {
1281
- ordinalNumber: oe({
1282
- matchPattern: se,
1283
- parsePattern: le,
1284
- valueCallback: function(t) {
1285
- return parseInt(t, 10);
1282
+ }, wt = {
1283
+ ordinalNumber: ot({
1284
+ matchPattern: st,
1285
+ parsePattern: lt,
1286
+ valueCallback: function(e) {
1287
+ return parseInt(e, 10);
1286
1288
  }
1287
1289
  }),
1288
1290
  era: F({
1289
- matchPatterns: ue,
1291
+ matchPatterns: ut,
1290
1292
  defaultMatchWidth: "wide",
1291
- parsePatterns: de,
1293
+ parsePatterns: dt,
1292
1294
  defaultParseWidth: "any"
1293
1295
  }),
1294
1296
  quarter: F({
1295
- matchPatterns: ce,
1297
+ matchPatterns: ct,
1296
1298
  defaultMatchWidth: "wide",
1297
- parsePatterns: he,
1299
+ parsePatterns: ft,
1298
1300
  defaultParseWidth: "any",
1299
- valueCallback: function(t) {
1300
- return t + 1;
1301
+ valueCallback: function(e) {
1302
+ return e + 1;
1301
1303
  }
1302
1304
  }),
1303
1305
  month: F({
1304
- matchPatterns: fe,
1306
+ matchPatterns: ht,
1305
1307
  defaultMatchWidth: "wide",
1306
- parsePatterns: me,
1308
+ parsePatterns: mt,
1307
1309
  defaultParseWidth: "any"
1308
1310
  }),
1309
1311
  day: F({
1310
- matchPatterns: ge,
1312
+ matchPatterns: gt,
1311
1313
  defaultMatchWidth: "wide",
1312
- parsePatterns: ve,
1314
+ parsePatterns: pt,
1313
1315
  defaultParseWidth: "any"
1314
1316
  }),
1315
1317
  dayPeriod: F({
1316
- matchPatterns: pe,
1318
+ matchPatterns: vt,
1317
1319
  defaultMatchWidth: "any",
1318
- parsePatterns: be,
1320
+ parsePatterns: bt,
1319
1321
  defaultParseWidth: "any"
1320
1322
  })
1321
1323
  };
1322
- const ye = we;
1323
- var xe = {
1324
+ const yt = wt;
1325
+ var xt = {
1324
1326
  code: "en-US",
1325
- formatDistance: Ht,
1326
- formatLong: zt,
1327
- formatRelative: Xt,
1328
- localize: ne,
1329
- match: ye,
1327
+ formatDistance: He,
1328
+ formatLong: ze,
1329
+ formatRelative: Xe,
1330
+ localize: at,
1331
+ match: yt,
1330
1332
  options: {
1331
1333
  weekStartsOn: 0,
1332
1334
  firstWeekContainsDate: 1
1333
1335
  }
1334
1336
  };
1335
- const Te = xe;
1336
- var Ce = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, Se = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ke = /^'([^]*?)'?$/, Me = /''/g, De = /[a-zA-Z]/;
1337
- function Oe(e, t, a) {
1338
- var n, r, i, o, u, l, h, m, f, p, g, w, D, C;
1339
- v(2, arguments);
1340
- var N = String(t), O = $(), P = (n = (r = void 0) !== null && r !== void 0 ? r : O.locale) !== null && n !== void 0 ? n : Te, H = k((i = (o = (u = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && u !== void 0 ? u : O.firstWeekContainsDate) !== null && o !== void 0 ? o : (h = O.locale) === null || h === void 0 || (m = h.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
1337
+ const Tt = xt;
1338
+ var Ct = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, St = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, kt = /^'([^]*?)'?$/, Mt = /''/g, Dt = /[a-zA-Z]/;
1339
+ function Pt(t, e, n) {
1340
+ var a, r, i, o, d, l, f, m, h, v, g, w, D, C;
1341
+ p(2, arguments);
1342
+ var N = String(e), P = $(), O = (a = (r = void 0) !== null && r !== void 0 ? r : P.locale) !== null && a !== void 0 ? a : Tt, H = k((i = (o = (d = (l = void 0) !== null && l !== void 0 ? l : void 0) !== null && d !== void 0 ? d : P.firstWeekContainsDate) !== null && o !== void 0 ? o : (f = P.locale) === null || f === void 0 || (m = f.options) === null || m === void 0 ? void 0 : m.firstWeekContainsDate) !== null && i !== void 0 ? i : 1);
1341
1343
  if (!(H >= 1 && H <= 7))
1342
1344
  throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
1343
- var I = k((f = (p = (g = (w = void 0) !== null && w !== void 0 ? w : void 0) !== null && g !== void 0 ? g : O.weekStartsOn) !== null && p !== void 0 ? p : (D = O.locale) === null || D === void 0 || (C = D.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && f !== void 0 ? f : 0);
1345
+ var I = k((h = (v = (g = (w = void 0) !== null && w !== void 0 ? w : void 0) !== null && g !== void 0 ? g : P.weekStartsOn) !== null && v !== void 0 ? v : (D = P.locale) === null || D === void 0 || (C = D.options) === null || C === void 0 ? void 0 : C.weekStartsOn) !== null && h !== void 0 ? h : 0);
1344
1346
  if (!(I >= 0 && I <= 6))
1345
1347
  throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
1346
- if (!P.localize)
1348
+ if (!O.localize)
1347
1349
  throw new RangeError("locale must contain localize property");
1348
- if (!P.formatLong)
1350
+ if (!O.formatLong)
1349
1351
  throw new RangeError("locale must contain formatLong property");
1350
- var E = y(e);
1351
- if (!gt(E))
1352
+ var E = y(t);
1353
+ if (!ge(E))
1352
1354
  throw new RangeError("Invalid time value");
1353
- var et = Et(E), at = pt(E, et), nt = {
1355
+ var te = Ee(E), ne = ve(E, te), ae = {
1354
1356
  firstWeekContainsDate: H,
1355
1357
  weekStartsOn: I,
1356
- locale: P,
1358
+ locale: O,
1357
1359
  _originalDate: E
1358
- }, rt = N.match(Se).map(function(b) {
1360
+ }, re = N.match(St).map(function(b) {
1359
1361
  var x = b[0];
1360
1362
  if (x === "p" || x === "P") {
1361
- var Y = Ft[x];
1362
- return Y(b, P.formatLong);
1363
+ var Y = Fe[x];
1364
+ return Y(b, O.formatLong);
1363
1365
  }
1364
1366
  return b;
1365
- }).join("").match(Ce).map(function(b) {
1367
+ }).join("").match(Ct).map(function(b) {
1366
1368
  if (b === "''")
1367
1369
  return "'";
1368
1370
  var x = b[0];
1369
1371
  if (x === "'")
1370
- return Pe(b);
1371
- var Y = Pt[x];
1372
+ return Ot(b);
1373
+ var Y = Oe[x];
1372
1374
  if (Y)
1373
- return Lt(b) && Q(b, t, String(e)), Bt(b) && Q(b, t, String(e)), Y(at, b, P.localize, nt);
1374
- if (x.match(De))
1375
+ return Be(b) && Q(b, e, String(t)), Le(b) && Q(b, e, String(t)), Y(ne, b, O.localize, ae);
1376
+ if (x.match(Dt))
1375
1377
  throw new RangeError("Format string contains an unescaped latin alphabet character `" + x + "`");
1376
1378
  return b;
1377
1379
  }).join("");
1378
- return rt;
1380
+ return re;
1379
1381
  }
1380
- function Pe(e) {
1381
- var t = e.match(ke);
1382
- return t ? t[1].replace(Me, "'") : e;
1382
+ function Ot(t) {
1383
+ var e = t.match(kt);
1384
+ return e ? e[1].replace(Mt, "'") : t;
1383
1385
  }
1384
1386
  class Z {
1385
1387
  constructor() {
1386
1388
  }
1387
- static dateToFormatedString(t, a) {
1388
- const n = a ? Oe(t, a) : t.toLocaleDateString("en-gb"), r = t.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", hour12: !1 });
1389
- return `${n}, ${r}`;
1389
+ static dateToFormatedString(e, n) {
1390
+ const a = n ? Pt(e, n) : e.toLocaleDateString("en-gb"), r = e.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit", hour12: !1 });
1391
+ return `${a}, ${r}`;
1390
1392
  }
1391
1393
  }
1392
- class tt {
1394
+ class ee {
1393
1395
  constructor() {
1394
1396
  }
1395
- static format(t, a) {
1396
- let n = `${a} ${t}`;
1397
+ static format(e, n) {
1398
+ let a = `${n} ${e}`;
1397
1399
  try {
1398
- n = new Intl.NumberFormat("en-US", {
1400
+ a = new Intl.NumberFormat("en-US", {
1399
1401
  style: "currency",
1400
- currency: t
1401
- }).format(a);
1402
+ currency: e
1403
+ }).format(n);
1402
1404
  } catch (r) {
1403
1405
  }
1404
- return n;
1406
+ return a;
1405
1407
  }
1406
1408
  }
1407
- const Ue = (e) => s(
1409
+ const Ut = (t) => s(
1408
1410
  "div",
1409
1411
  { class: "data-transaction" },
1410
- s("p", null, e.productType),
1412
+ s("p", null, t.productType),
1411
1413
  s(
1412
1414
  "p",
1413
1415
  { class: "text-style text-style-status" },
1414
- s("span", { class: e.status.toLowerCase() }, e.status)
1416
+ s("span", { class: t.status.toLowerCase() }, t.status)
1415
1417
  ),
1416
1418
  s(
1417
1419
  "p",
1418
1420
  { class: "date" },
1419
- e.transId,
1421
+ t.transId,
1420
1422
  " | ",
1421
- Z.dateToFormatedString(new Date(e.created), e.dateformat)
1423
+ Z.dateToFormatedString(new Date(t.created), t.dateformat)
1422
1424
  ),
1423
1425
  s(
1424
1426
  "p",
1425
1427
  { class: "text-style" },
1426
- tt.format(e.currency, e.realAmount),
1428
+ ee.format(t.currency, t.realAmount),
1427
1429
  " "
1428
1430
  )
1429
- ), We = (e) => s(
1431
+ ), Wt = (t) => s(
1430
1432
  "div",
1431
1433
  { class: "page-size" },
1432
- s("span", null, d.translate("show", e.language)),
1433
- e.pageSizes.map((t) => s("button", { class: e.currentPageSize === t ? "active" : "", onClick: () => e.changePageSize(t) }, t))
1434
- ), Fe = ({ from: e, to: t, applyFilters: a, language: n }) => {
1434
+ s("span", null, u.translate("show", t.language)),
1435
+ t.pageSizes.map((e) => s("button", { class: t.currentPageSize === e ? "active" : "", onClick: () => t.changePageSize(e) }, e))
1436
+ ), Ft = ({ from: t, to: e, applyFilters: n, language: a }) => {
1435
1437
  let r, i;
1436
1438
  const o = () => {
1437
- e = r.value;
1438
- }, u = () => {
1439
- t = i.value;
1439
+ t = r.value;
1440
+ }, d = () => {
1441
+ e = i.value;
1440
1442
  };
1441
1443
  return s(
1442
1444
  "div",
@@ -1447,7 +1449,7 @@ const Ue = (e) => s(
1447
1449
  s(
1448
1450
  "div",
1449
1451
  { class: "date-input" },
1450
- s("vaadin-date-picker", { value: e, ref: (l) => r = l, label: d.translate("from", n), onChange: o })
1452
+ s("vaadin-date-picker", { value: t, ref: (l) => r = l, label: u.translate("from", a), onChange: o })
1451
1453
  ),
1452
1454
  s(
1453
1455
  "span",
@@ -1461,23 +1463,23 @@ const Ue = (e) => s(
1461
1463
  s(
1462
1464
  "div",
1463
1465
  { class: "date-input" },
1464
- s("vaadin-date-picker", { value: t, ref: (l) => i = l, label: d.translate("to", n), onChange: u })
1466
+ s("vaadin-date-picker", { value: e, ref: (l) => i = l, label: u.translate("to", a), onChange: d })
1465
1467
  ),
1466
- s("button", { class: "filter-btn", onClick: () => a(e, t) }, d.translate("filter", n))
1468
+ s("button", { class: "filter-btn", onClick: () => n(t, e) }, u.translate("filter", a))
1467
1469
  )
1468
1470
  );
1469
- }, Ee = ({ source: e, language: t, dateformat: a }) => {
1470
- const n = [
1471
- { name: d.translate("transactionId", t) },
1471
+ }, Et = ({ source: t, language: e, dateformat: n }) => {
1472
+ const a = [
1473
+ { name: u.translate("transactionId", e) },
1472
1474
  {
1473
- name: d.translate("date", t)
1475
+ name: u.translate("date", e)
1474
1476
  },
1475
1477
  {
1476
- name: d.translate("amount", t)
1478
+ name: u.translate("amount", e)
1477
1479
  },
1478
- { name: d.translate("productType", t) },
1480
+ { name: u.translate("productType", e) },
1479
1481
  {
1480
- name: d.translate("status", t)
1482
+ name: u.translate("status", e)
1481
1483
  }
1482
1484
  ];
1483
1485
  return s(
@@ -1486,17 +1488,17 @@ const Ue = (e) => s(
1486
1488
  s(
1487
1489
  "thead",
1488
1490
  null,
1489
- s("tr", null, n.map((r) => s("th", null, r.name)))
1491
+ s("tr", null, a.map((r) => s("th", null, r.name)))
1490
1492
  ),
1491
- s("tbody", null, e.map((r) => s(
1493
+ s("tbody", null, t.map((r) => s(
1492
1494
  "tr",
1493
1495
  null,
1494
1496
  s("td", null, r.transId),
1495
- s("td", null, Z.dateToFormatedString(new Date(r.created), a)),
1497
+ s("td", null, Z.dateToFormatedString(new Date(r.created), n)),
1496
1498
  s(
1497
1499
  "td",
1498
1500
  null,
1499
- tt.format(r.currency, r.realAmount),
1501
+ ee.format(r.currency, r.realAmount),
1500
1502
  " "
1501
1503
  ),
1502
1504
  s("td", null, r.productType),
@@ -1508,82 +1510,82 @@ const Ue = (e) => s(
1508
1510
  )))
1509
1511
  );
1510
1512
  };
1511
- function X(e, t) {
1512
- if (e) {
1513
- const a = document.createElement("style");
1514
- a.innerHTML = t, e.appendChild(a);
1513
+ function X(t, e) {
1514
+ if (t) {
1515
+ const n = document.createElement("style");
1516
+ n.innerHTML = e, t.appendChild(n);
1515
1517
  }
1516
1518
  }
1517
- function G(e, t) {
1518
- const a = new URL(t);
1519
- fetch(a.href).then((n) => n.text()).then((n) => {
1519
+ function G(t, e) {
1520
+ const n = new URL(e);
1521
+ fetch(n.href).then((a) => a.text()).then((a) => {
1520
1522
  const r = document.createElement("style");
1521
- r.innerHTML = n, e && e.appendChild(r);
1522
- }).catch((n) => {
1523
- console.error("There was an error while trying to load client styling from URL", n);
1523
+ r.innerHTML = a, t && t.appendChild(r);
1524
+ }).catch((a) => {
1525
+ console.error("There was an error while trying to load client styling from URL", a);
1524
1526
  });
1525
1527
  }
1526
- function Ye(e, t, a) {
1528
+ function Yt(t, e, n) {
1527
1529
  if (window.emMessageBus) {
1528
- const n = document.createElement("style");
1529
- window.emMessageBus.subscribe(t, (r) => {
1530
- n.innerHTML = r, e && e.appendChild(n);
1530
+ const a = document.createElement("style");
1531
+ window.emMessageBus.subscribe(e, (r) => {
1532
+ a.innerHTML = r, t && t.appendChild(a);
1531
1533
  });
1532
1534
  }
1533
1535
  }
1534
- const _e = ':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.CategoryTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}', Be = _e, Le = class {
1535
- constructor(e) {
1536
- st(this, e), this.pageSizes = [10, 25, 50], this.pagination = null, this.toggleScreen = () => {
1536
+ const _t = ':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))}', Lt = _t, Bt = class {
1537
+ constructor(t) {
1538
+ se(this, t), this.pageSizes = [10, 25, 50], this.pagination = null, this.toggleScreen = () => {
1537
1539
  window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.mobile }, window.location.href);
1538
- }, this.endpoint = void 0, this.session = void 0, this.language = d.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;
1540
+ }, this.endpoint = void 0, this.session = void 0, this.language = u.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;
1539
1541
  }
1540
1542
  watchMultiple() {
1541
1543
  this.loadTransactions();
1542
1544
  }
1543
- handleClientStylingChange(e, t) {
1544
- e != t && X(this.stylingContainer, this.clientStyling);
1545
+ handleClientStylingChange(t, e) {
1546
+ t != e && X(this.stylingContainer, this.clientStyling);
1545
1547
  }
1546
- handleClientStylingUrlChange(e, t) {
1547
- e != t && this.clientStylingUrl && G(this.stylingContainer, this.clientStylingUrl);
1548
+ handleClientStylingUrlChange(t, e) {
1549
+ t != e && this.clientStylingUrl && G(this.stylingContainer, this.clientStylingUrl);
1548
1550
  }
1549
1551
  componentWillLoad() {
1550
1552
  return U(this, null, function* () {
1551
- this.translationUrl && (yield d.loadCustomTranslations(this.translationUrl)), this.loadTransactions();
1553
+ this.translationUrl && (yield u.loadCustomTranslations(this.translationUrl)), this.loadTransactions();
1552
1554
  });
1553
1555
  }
1554
1556
  componentDidLoad() {
1555
- this.stylingContainer && (window.emMessageBus != null ? Ye(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && X(this.stylingContainer, this.clientStyling), this.clientStylingUrl && G(this.stylingContainer, this.clientStylingUrl)));
1557
+ this.stylingContainer && (window.emMessageBus != null ? Yt(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && X(this.stylingContainer, this.clientStyling), this.clientStylingUrl && G(this.stylingContainer, this.clientStylingUrl)));
1556
1558
  }
1557
1559
  componentDidRender() {
1558
1560
  this.getComponentHeight();
1559
1561
  }
1560
1562
  getComponentHeight() {
1561
- var e;
1563
+ var t;
1562
1564
  if (this.mobile) {
1563
- let t = this.el.getBoundingClientRect().height - ((e = this.el.shadowRoot.querySelector(".table")) === null || e === void 0 ? void 0 : e.getBoundingClientRect().y);
1564
- this.el.style.setProperty("--heightScrollableContainer", t + "px");
1565
+ let e = this.el.getBoundingClientRect().height - ((t = this.el.shadowRoot.querySelector(".table")) === null || t === void 0 ? void 0 : t.getBoundingClientRect().y);
1566
+ this.el.style.setProperty("--heightScrollableContainer", e + "px");
1565
1567
  }
1566
1568
  }
1567
1569
  setHeightTableProperty() {
1568
- let e = this.getComponentHeight();
1569
- this.el.style.setProperty("--heightScrollableContainer", e + "px");
1570
+ let t = this.getComponentHeight();
1571
+ this.el.style.setProperty("--heightScrollableContainer", t + "px");
1570
1572
  }
1571
- changeTransactionsType(e) {
1572
- this.type = e;
1573
+ changeTransactionsType(t) {
1574
+ this.type = t;
1573
1575
  }
1574
- changePageSize(e) {
1575
- this.pageSize = e;
1576
+ changePageSize(t) {
1577
+ this.pageSize = t;
1576
1578
  }
1577
1579
  prev() {
1578
- var e;
1579
- !((e = this.pagination) === null || e === void 0) && e.previous && this.page--;
1580
+ var t;
1581
+ !((t = this.pagination) === null || t === void 0) && t.previous && this.page--;
1580
1582
  }
1581
1583
  next() {
1582
- var e;
1583
- !((e = this.pagination) === null || e === void 0) && e.next && this.page++;
1584
+ var t;
1585
+ !((t = this.pagination) === null || t === void 0) && t.next && this.page++;
1584
1586
  }
1585
- applyFilters(e, t) {
1586
- this.from = e ? new Date(e).toISOString() : null, this.to = t ? new Date(t).toISOString() : null, this.loadTransactions();
1587
+ applyFilters(t, e) {
1588
+ this.from = t ? new Date(t).toISOString() : null, this.to = e ? new Date(e).toISOString() : null, this.loadTransactions();
1587
1589
  }
1588
1590
  showFilter() {
1589
1591
  this.showMobileFilter = !this.showMobileFilter;
@@ -1592,43 +1594,43 @@ const _e = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
1592
1594
  this.stylingSubscription && this.stylingSubscription.unsubscribe();
1593
1595
  }
1594
1596
  render() {
1595
- var e;
1596
- const t = q("../assets/filter.svg"), a = q("../assets/warning.svg");
1597
- return s(lt, { key: "2c1d74e9d321eb73796caa26b58faa1b130d1da1" }, this.showLoader ? s(ft, null) : "", s("div", { key: "a33973c114c4baa184a3699d46e8eb970f3b9dcc", class: "wrapper", ref: (n) => this.stylingContainer = n }, this.mobile ? s("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, s("defs", null), s("g", { transform: "translate(-20 -158)" }, s("g", { transform: "translate(20 158)" }, s("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)" })))), s("h2", { class: "CategoryTitleMobile" }, d.translate("back", this.language))) : null, s("div", { key: "0e1599e3453a357abaa41af809f7bbf3aebce4f8", class: { "types types-mobile": this.mobile, "types types-desktop": !this.mobile } }, s("button", { key: "2db4c38935c1d7eab9f2269774433240ef989a8c", class: "transaction-type " + (this.type === "0" ? "clicked" : ""), onClick: () => this.changeTransactionsType("0") }, d.translate("deposit", this.language)), s("button", { key: "d09f84ad02e73a77af885fad40d2456fa7572939", class: "transaction-type " + (this.type === "1" ? "clicked" : ""), onClick: () => this.changeTransactionsType("1") }, d.translate("withdrawals", this.language))), this.mobile ? "" : s(We, { language: this.language, pageSizes: this.pageSizes, currentPageSize: this.pageSize, changePageSize: (n) => this.changePageSize(n) }), this.mobile ? s("button", { class: "mobile-filter-button", onClick: () => this.showFilter() }, s("img", { src: t, alt: "Filter" }), d.translate("filter", this.language)) : "", !this.mobile || this.showMobileFilter && this.mobile ? s(Fe, { language: this.language, applyFilters: (n, r) => this.applyFilters(n, r) }) : "", ((e = this.transactions) === null || e === void 0 ? void 0 : e.length) > 0 ? s("div", { class: "table" }, this.mobile ? s("div", { class: "mobile-table" }, this.transactions.map((n) => s(Ue, Object.assign({}, n, { dateformat: this.dateFormat })))) : s(Ee, { source: this.transactions, language: this.language, dateformat: this.dateFormat })) : s("div", { class: "noData" }, s("img", { src: a, alt: "Warning" }), s("span", null, d.translate("noData", this.language))), s("div", { key: "4a00bc8d3404724b388df8332f8d2ea60ab141bf", class: "pagination" }, s("button", { key: "23c111e2e09d1a30c3fa12602f90595742b519c0", onClick: () => this.prev() }, "<"), s("button", { key: "aa6cd0cc7c32a8603869b1832445ceaeacf0a242", onClick: () => this.next() }, ">"))));
1597
+ var t;
1598
+ const e = q("../assets/filter.svg"), n = q("../assets/warning.svg");
1599
+ return s(le, { key: "2c1d74e9d321eb73796caa26b58faa1b130d1da1" }, this.showLoader ? s(he, null) : "", s("div", { key: "a33973c114c4baa184a3699d46e8eb970f3b9dcc", class: "wrapper", ref: (a) => this.stylingContainer = a }, this.mobile ? s("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, s("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, s("defs", null), s("g", { transform: "translate(-20 -158)" }, s("g", { transform: "translate(20 158)" }, s("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)" })))), s("h2", { class: "TransactionTitleMobile" }, u.translate("transactionTitle", this.language))) : s("h2", { class: "TransactionTitle" }, u.translate("transactionTitle", this.language)), s("div", { key: "2609cf88acf3364e4b40510d451ed49eface97e6", class: { "types types-mobile": this.mobile, "types types-desktop": !this.mobile } }, s("button", { key: "7efdac157edfb5dc08f4219b91cf784ac6961d0c", class: "transaction-type " + (this.type === "0" ? "clicked" : ""), onClick: () => this.changeTransactionsType("0") }, u.translate("deposit", this.language)), s("button", { key: "eaf33173f0e6d6271724816400f63f571874906a", class: "transaction-type " + (this.type === "1" ? "clicked" : ""), onClick: () => this.changeTransactionsType("1") }, u.translate("withdrawals", this.language))), this.mobile ? "" : s(Wt, { language: this.language, pageSizes: this.pageSizes, currentPageSize: this.pageSize, changePageSize: (a) => this.changePageSize(a) }), this.mobile ? s("button", { class: "mobile-filter-button", onClick: () => this.showFilter() }, s("img", { src: e, alt: "Filter" }), u.translate("filter", this.language)) : "", !this.mobile || this.showMobileFilter && this.mobile ? s(Ft, { language: this.language, applyFilters: (a, r) => this.applyFilters(a, r) }) : "", ((t = this.transactions) === null || t === void 0 ? void 0 : t.length) > 0 ? s("div", { class: "table" }, this.mobile ? s("div", { class: "mobile-table" }, this.transactions.map((a) => s(Ut, Object.assign({}, a, { dateformat: this.dateFormat })))) : s(Et, { source: this.transactions, language: this.language, dateformat: this.dateFormat })) : s("div", { class: "noData" }, s("img", { src: n, alt: "Warning" }), s("span", null, u.translate("noData", this.language))), s("div", { key: "c8b5f7a1cac64df3fb7879ad020379b81672b8ae", class: "pagination" }, s("button", { key: "ac06e5c8c62367626b2c72c8d5ee552cefafd3fa", onClick: () => this.prev() }, "<"), s("button", { key: "bff70f58f1815d8da93fa8e5b2b541893a4f475c", onClick: () => this.next() }, ">"))));
1598
1600
  }
1599
1601
  loadTransactions() {
1600
1602
  return U(this, null, function* () {
1601
1603
  this.showLoader = !0;
1602
1604
  try {
1603
- const e = `${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`, t = yield fetch(e, {
1605
+ const t = `${this.endpoint}/v1/player/${this.userId}/transactions/banking?${this.getParams()}`, e = yield fetch(t, {
1604
1606
  headers: {
1605
1607
  "X-Sessionid": this.session,
1606
1608
  "Content-Type": "application/json"
1607
1609
  }
1608
1610
  });
1609
- if (!t.ok) {
1610
- const n = yield t.text();
1611
- throw new Error(n);
1611
+ if (!e.ok) {
1612
+ const a = yield e.text();
1613
+ throw new Error(a);
1612
1614
  }
1613
- const a = yield t.json();
1614
- this.pagination = a.pagination, this.transactions = a.transactions;
1615
- } catch (e) {
1616
- console.error(e);
1615
+ const n = yield e.json();
1616
+ this.pagination = n.pagination, this.transactions = n.transactions;
1617
+ } catch (t) {
1618
+ console.error(t);
1617
1619
  } finally {
1618
1620
  this.showLoader = !1;
1619
1621
  }
1620
1622
  });
1621
1623
  }
1622
1624
  getParams() {
1623
- var e, t;
1624
- const a = /* @__PURE__ */ new Date(), n = (this.page * this.pageSize).toString(), r = (e = this.from) !== null && e !== void 0 ? e : new Date(a.getFullYear(), a.getMonth(), 1).toISOString(), i = (t = this.to) !== null && t !== void 0 ? t : new Date(a.getFullYear(), a.getMonth() + 1, 0).toISOString();
1625
- return `offset=${n}&endDate=${i}&startDate=${r}&type=${this.type}&limit=${this.pageSize}`;
1625
+ var t, e;
1626
+ const n = /* @__PURE__ */ new Date(), a = (this.page * this.pageSize).toString(), r = (t = this.from) !== null && t !== void 0 ? t : new Date(n.getFullYear(), n.getMonth(), 1).toISOString(), i = (e = this.to) !== null && e !== void 0 ? e : new Date(n.getFullYear(), n.getMonth() + 1, 0).toISOString();
1627
+ return `offset=${a}&endDate=${i}&startDate=${r}&type=${this.type}&limit=${this.pageSize}`;
1626
1628
  }
1627
1629
  static get assetsDirs() {
1628
1630
  return ["../assets"];
1629
1631
  }
1630
1632
  get el() {
1631
- return ut(this);
1633
+ return ue(this);
1632
1634
  }
1633
1635
  static get watchers() {
1634
1636
  return {
@@ -1643,7 +1645,7 @@ const _e = ':host{--activeButtonBackground:#7ec51e;--activeButtonFont:#002149;--
1643
1645
  };
1644
1646
  }
1645
1647
  };
1646
- Le.style = Be;
1648
+ Bt.style = Lt;
1647
1649
  export {
1648
- Le as user_transaction_history
1650
+ Bt as user_transaction_history
1649
1651
  };