@everymatrix/cashier-page 1.56.0 → 1.56.2

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 (50) hide show
  1. package/components/{CashierConfirmModal-DjJI47WY.js → CashierConfirmModal-B0WZGuf5.js} +48 -41
  2. package/components/{CashierConfirmModal-CnmhfysD.js → CashierConfirmModal-BErwh2fQ.js} +49 -42
  3. package/components/{CashierConfirmModal-B_XfWSC2.cjs → CashierConfirmModal-BVT51ZOp.cjs} +1 -1
  4. package/components/{CashierError-CcFXZ705.js → CashierError-DoHJAf67.js} +524 -502
  5. package/components/{CashierError-BhW9Bd5u.js → CashierError-Dyf5BWS1.js} +523 -501
  6. package/components/{CashierError-wHAQP3_C.cjs → CashierError-YmV_PQP8.cjs} +16 -3
  7. package/components/{CashierHeader-BKrGT2Ae.cjs → CashierHeader-B-wIMGOV.cjs} +1 -1
  8. package/components/{CashierHeader-B_qUwnRz.js → CashierHeader-C8XVzyv9.js} +42 -42
  9. package/components/{CashierHeader-BUMem-fU.js → CashierHeader-Dm79zFE4.js} +44 -44
  10. package/components/{CashierIframeRedirect-DK3-V6GJ.js → CashierIframeRedirect-B_5Lg8hb.js} +33 -33
  11. package/components/{CashierIframeRedirect-BDIr-k4X.cjs → CashierIframeRedirect-CXErmVjw.cjs} +1 -1
  12. package/components/{CashierIframeRedirect-DiWIODGM.js → CashierIframeRedirect-D7qTJ1C9.js} +32 -32
  13. package/components/CashierMethodDetails-Ba0LNaer.cjs +18 -0
  14. package/components/{CashierMethodDetails-B5Y9sYOg.js → CashierMethodDetails-C6upoqd2.js} +1810 -1773
  15. package/components/{CashierMethodDetails-C-KT1A-h.js → CashierMethodDetails-T4mbzimW.js} +1870 -1833
  16. package/components/{CashierMethodsList-CbNajSX5.js → CashierMethodsList-6aZ0rauJ.js} +92 -92
  17. package/components/{CashierMethodsList-DCPVijk5.cjs → CashierMethodsList-Ds7TEIYj.cjs} +1 -1
  18. package/components/{CashierMethodsList-Q3OYWKGV.js → CashierMethodsList-K1Zqnlt7.js} +67 -67
  19. package/components/{CashierModal-B9SMcvPJ.cjs → CashierModal-BhCdxWcE.cjs} +1 -1
  20. package/components/{CashierModal-DoTNxAOf.js → CashierModal-CpN2LT2L.js} +31 -31
  21. package/components/{CashierModal-BQ75P20m.js → CashierModal-DB1wg0l3.js} +37 -37
  22. package/components/{CashierNotifications-BdcWgN-t.js → CashierNotifications-B5qfr68o.js} +18 -18
  23. package/components/{CashierNotifications-C5qqk3s5.cjs → CashierNotifications-BVAanyOB.cjs} +1 -1
  24. package/components/{CashierNotifications-DVCfwUo9.js → CashierNotifications-BmAkkuzD.js} +19 -19
  25. package/components/{CashierPage-BGaDrX6p.js → CashierPage-CJg_L4B4.js} +68 -68
  26. package/components/{CashierPage-C67H_0uR.cjs → CashierPage-C_as9ye4.cjs} +1 -1
  27. package/components/{CashierPage-Ckv_ecQa.js → CashierPage-TC37oBbP.js} +66 -66
  28. package/components/{CashierReceiptPage-bBNHsfW5.cjs → CashierReceiptPage-BH5T05dg.cjs} +1 -1
  29. package/components/{CashierReceiptPage-Cjz4isz4.js → CashierReceiptPage-BOTRblW6.js} +215 -202
  30. package/components/{CashierReceiptPage-B6Ot4u-u.js → CashierReceiptPage-BsbiLGZK.js} +191 -179
  31. package/components/{CashierSessionExpirationModal-CWKlvhPF.cjs → CashierSessionExpirationModal-CxpesQtf.cjs} +2 -2
  32. package/components/{CashierSessionExpirationModal-CbrAJQvx.js → CashierSessionExpirationModal-DZgsGvVp.js} +60 -49
  33. package/components/{CashierSessionExpirationModal-8p7dxVmt.js → CashierSessionExpirationModal-V8MYd-oY.js} +60 -49
  34. package/components/{CashierSpinner-Y3YCsQEf.js → CashierSpinner-BI29nSq_.js} +25 -25
  35. package/components/{CashierSpinner-Cv-DKF1H.js → CashierSpinner-FzCMnj7X.js} +26 -26
  36. package/components/{CashierSpinner-CxYzgF3b.cjs → CashierSpinner-H763izjz.cjs} +1 -1
  37. package/components/{CashierTransactionHistory-DRX91Hoc.cjs → CashierTransactionHistory-8gcj3WQW.cjs} +1 -1
  38. package/components/{CashierTransactionHistory-DmVVMYYd.js → CashierTransactionHistory-BfGfxyd8.js} +92 -87
  39. package/components/{CashierTransactionHistory-SjIsxvK5.js → CashierTransactionHistory-CN06GWPY.js} +111 -106
  40. package/components/{CashierVerifications-Cqc-k576.js → CashierVerifications-BOYrzIos.js} +72 -72
  41. package/components/{CashierVerifications-D-3Ycigl.cjs → CashierVerifications-BXTVbpjh.cjs} +1 -1
  42. package/components/{CashierVerifications-DL2hsNCJ.js → CashierVerifications-qhXfC9Fa.js} +26 -26
  43. package/components/{CashierVideoModal-CBBnFyqd.cjs → CashierVideoModal-CjR0Fzuu.cjs} +1 -1
  44. package/components/{CashierVideoModal-DkujQ3WY.js → CashierVideoModal-DGBQZz-C.js} +33 -33
  45. package/components/{CashierVideoModal-YsTJSZa7.js → CashierVideoModal-DPG12DK0.js} +37 -37
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/components/CashierMethodDetails-D8AGMiCO.cjs +0 -18
@@ -1,15 +1,15 @@
1
- import { S as ie, b as se, s as ne, f as G, c as ae, n as B, e as E, m as U, x as re, w as oe, K as Y, L as de, g as q, k as ce, t as ue, l as he, y as P, o as s, p as m, q as j, z as I, v as t, A as fe, W as ge, F as pe, X as ve, J as X, B as me, N as f, D as be } from "./CashierConfirmModal-CnmhfysD.js";
2
- import { f as J } from "./CashierModal-BQ75P20m.js";
3
- import { a as ke, $ as we, i as ye, b as Te } from "./CashierError-CcFXZ705.js";
4
- import { d as _e } from "./CashierMethodDetails-C-KT1A-h.js";
5
- ye({
1
+ import { S as ie, b as se, f as G, c as ne, a as ae, d as re, x as oe, k as E, n as N, v as U, w as de, K as Y, g as m, h as j, y as I, j as t, l as s, t as q, B as ce, p as ue, q as he, z as M, M as fe, F as ge, W as pe, X as ve, I as X, A as me, C as be, O as f } from "./CashierConfirmModal-BErwh2fQ.js";
2
+ import { f as J } from "./CashierModal-CpN2LT2L.js";
3
+ import { i as ke, a as we, $ as ye, b as Te } from "./CashierError-DoHJAf67.js";
4
+ import { d as Ce } from "./CashierMethodDetails-T4mbzimW.js";
5
+ ke({
6
6
  fallbackLocale: "en"
7
7
  });
8
8
  function K(a, e) {
9
- ke(a, e);
9
+ we(a, e);
10
10
  }
11
- function xe(a) {
12
- we.set(a);
11
+ function _e(a) {
12
+ ye.set(a);
13
13
  }
14
14
  const Q = {
15
15
  en: {
@@ -51,7 +51,7 @@ const Q = {
51
51
  }
52
52
  }
53
53
  };
54
- function Ce(a, e) {
54
+ function xe(a, e) {
55
55
  if (a) {
56
56
  const l = document.createElement("style");
57
57
  l.innerHTML = e, a.appendChild(l);
@@ -67,7 +67,7 @@ function He(a, e) {
67
67
  });
68
68
  }
69
69
  function Se(a) {
70
- ae(a, "svelte-1klbu7d", ".svelte-1klbu7d.svelte-1klbu7d,.svelte-1klbu7d.svelte-1klbu7d::before,.svelte-1klbu7d.svelte-1klbu7d::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1klbu7d.svelte-1klbu7d{width:calc(50% - var(--emw--spacing-x-small, 10px) - var(--emw--spacing-x-small, 10px));display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, #7EC51E);position:absolute;top:0;left:50%;transform:translateX(-50%);color:var(--emw--color-white, #FFF);border-radius:var(--mmw--border-radius-medium-plus, 6px);z-index:1;opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierTransactionHistory.svelte-1klbu7d.svelte-1klbu7d{display:flex;flex-direction:column;width:100%;row-gap:var(--emw--spacing-small, 12px);container-name:transaction-history;container-type:inline-size;margin-bottom:var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1klbu7d table.svelte-1klbu7d{font-size:var(--emw--font-size-medium, 16px);word-break:break-all;width:100%;border-collapse:collapse;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;margin-bottom:var(--emw--spacing-small-minus, 10px)}.CashierTransactionHistory.svelte-1klbu7d table.svelte-1klbu7d:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1klbu7d thead tr.svelte-1klbu7d{border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);color:var(--mmw--color-grey-10, #111);height:50px}.CashierTransactionHistory.svelte-1klbu7d tbody tr.svelte-1klbu7d{color:var(--mmw--color-grey-290, #666)}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d{max-width:250px;vertical-align:middle;height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 var(--emw--spacing-large, 20px) 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1klbu7d tr.svelte-1klbu7d{position:relative}@container deposit-page (max-width: 750px){.CashierTransactionHistory.svelte-1klbu7d .CopyTooltip.svelte-1klbu7d{left:0;transform:none;width:100%;font-size:var(--emw--font-size-small, 14px);line-height:calc(var(--emw--font-size-small, 14px) + 2px);border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.CashierTransactionHistory.svelte-1klbu7d .CashierTransactionHistoryStatus.svelte-1klbu7d{line-height:calc(var(--emw--font-size-small, 14px) + 2px)}}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1klbu7d .CashierTransactionHistoryWrapper.svelte-1klbu7d{width:100%;padding:0;margin:0}.CashierTransactionHistory.svelte-1klbu7d table.svelte-1klbu7d{font-size:var(--emw--font-size-small, 14px);line-height:calc(var(--emw--font-size-small, 14px) + 2px)}.CashierTransactionHistory.svelte-1klbu7d table.svelte-1klbu7d:last-child{margin-bottom:0}.CashierTransactionHistory.svelte-1klbu7d thead tr.svelte-1klbu7d{height:unset}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d{height:25px;padding:0 0 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d:first-child{max-width:187px}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d:not(:first-child){min-width:max-content}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d:last-child{padding-right:var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1klbu7d .CashierTransactionHistoryIcon svg.svelte-1klbu7d{height:14px;width:14px}}@container transaction-history (width < 450px){.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d{padding-right:var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d:first-child{max-width:85px}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d{padding:0 0 0 var(--emw--spacing-small, 5px)}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1klbu7d table.svelte-1klbu7d{table-layout:fixed}}.CashierTransactionHistoryWrapper.svelte-1klbu7d.svelte-1klbu7d{background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));border-radius:var(--mmw--border-radius-medium-plus, 6px);width:100%;box-sizing:border-box;padding:0 var(--emw--spacing-small, 12px)}.CashierTransactionHistoryTitle.svelte-1klbu7d.svelte-1klbu7d{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 400);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);text-align:left}.CashierTransactionId.svelte-1klbu7d.svelte-1klbu7d{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.CashierTransactionId.svelte-1klbu7d.svelte-1klbu7d:hover{background-color:var(--emw--color-gray-50, #F7F8FA)}.CashierTransactionHistoryStatus.svelte-1klbu7d.svelte-1klbu7d{line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierTransactionHistoryContent.svelte-1klbu7d.svelte-1klbu7d{width:100%}.CashierTransactionHistoryIcon.svelte-1klbu7d.svelte-1klbu7d{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}");
70
+ re(a, "svelte-1klbu7d", ".svelte-1klbu7d.svelte-1klbu7d,.svelte-1klbu7d.svelte-1klbu7d::before,.svelte-1klbu7d.svelte-1klbu7d::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1klbu7d.svelte-1klbu7d{width:calc(50% - var(--emw--spacing-x-small, 10px) - var(--emw--spacing-x-small, 10px));display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, #7EC51E);position:absolute;top:0;left:50%;transform:translateX(-50%);color:var(--emw--color-white, #FFF);border-radius:var(--mmw--border-radius-medium-plus, 6px);z-index:1;opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierTransactionHistory.svelte-1klbu7d.svelte-1klbu7d{display:flex;flex-direction:column;width:100%;row-gap:var(--emw--spacing-small, 12px);container-name:transaction-history;container-type:inline-size;margin-bottom:var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1klbu7d table.svelte-1klbu7d{font-size:var(--emw--font-size-medium, 16px);word-break:break-all;width:100%;border-collapse:collapse;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;margin-bottom:var(--emw--spacing-small-minus, 10px)}.CashierTransactionHistory.svelte-1klbu7d table.svelte-1klbu7d:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1klbu7d thead tr.svelte-1klbu7d{border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);color:var(--mmw--color-grey-10, #111);height:50px}.CashierTransactionHistory.svelte-1klbu7d tbody tr.svelte-1klbu7d{color:var(--mmw--color-grey-290, #666)}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d{max-width:250px;vertical-align:middle;height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 var(--emw--spacing-large, 20px) 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1klbu7d tr.svelte-1klbu7d{position:relative}@container deposit-page (max-width: 750px){.CashierTransactionHistory.svelte-1klbu7d .CopyTooltip.svelte-1klbu7d{left:0;transform:none;width:100%;font-size:var(--emw--font-size-small, 14px);line-height:calc(var(--emw--font-size-small, 14px) + 2px);border-radius:0 0 var(--mmw--border-radius-medium-plus, 6px) var(--mmw--border-radius-medium-plus, 6px)}.CashierTransactionHistory.svelte-1klbu7d .CashierTransactionHistoryStatus.svelte-1klbu7d{line-height:calc(var(--emw--font-size-small, 14px) + 2px)}}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1klbu7d .CashierTransactionHistoryWrapper.svelte-1klbu7d{width:100%;padding:0;margin:0}.CashierTransactionHistory.svelte-1klbu7d table.svelte-1klbu7d{font-size:var(--emw--font-size-small, 14px);line-height:calc(var(--emw--font-size-small, 14px) + 2px)}.CashierTransactionHistory.svelte-1klbu7d table.svelte-1klbu7d:last-child{margin-bottom:0}.CashierTransactionHistory.svelte-1klbu7d thead tr.svelte-1klbu7d{height:unset}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d{height:25px;padding:0 0 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d:first-child{max-width:187px}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d:not(:first-child){min-width:max-content}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d:last-child{padding-right:var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1klbu7d .CashierTransactionHistoryIcon svg.svelte-1klbu7d{height:14px;width:14px}}@container transaction-history (width < 450px){.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d{padding-right:var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d:first-child{max-width:85px}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1klbu7d td.svelte-1klbu7d{padding:0 0 0 var(--emw--spacing-small, 5px)}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1klbu7d table.svelte-1klbu7d{table-layout:fixed}}.CashierTransactionHistoryWrapper.svelte-1klbu7d.svelte-1klbu7d{background:var(--emw--color-background, #fff);box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1));border-radius:var(--mmw--border-radius-medium-plus, 6px);width:100%;box-sizing:border-box;padding:0 var(--emw--spacing-small, 12px)}.CashierTransactionHistoryTitle.svelte-1klbu7d.svelte-1klbu7d{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 400);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);text-align:left}.CashierTransactionId.svelte-1klbu7d.svelte-1klbu7d{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.CashierTransactionId.svelte-1klbu7d.svelte-1klbu7d:hover{background-color:var(--emw--color-gray-50, #F7F8FA)}.CashierTransactionHistoryStatus.svelte-1klbu7d.svelte-1klbu7d{line-height:calc(var(--emw--font-size-medium, 16px) + 2px)}.CashierTransactionHistoryContent.svelte-1klbu7d.svelte-1klbu7d{width:100%}.CashierTransactionHistoryIcon.svelte-1klbu7d.svelte-1klbu7d{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}");
71
71
  }
72
72
  function $(a, e, l) {
73
73
  const i = a.slice();
@@ -77,38 +77,38 @@ function ee(a) {
77
77
  let e, l, i, r = (
78
78
  /*$_*/
79
79
  a[5]("transactionHistoryTitle") + ""
80
- ), d, o, c, g, k, C, w, z, F = (
80
+ ), d, o, c, g, k, x, w, z, F = (
81
81
  /*$_*/
82
82
  a[5]("transactionIdTitle") + ""
83
- ), H, x, L, y = (
83
+ ), H, _, A, y = (
84
84
  /*$_*/
85
85
  a[5]("transactionDateTitle") + ""
86
- ), R, D, M, A = (
86
+ ), R, D, P, L = (
87
87
  /*$_*/
88
88
  a[5]("transactionTypeTitle") + ""
89
- ), W, N, S, b = (
89
+ ), O, Z, S, b = (
90
90
  /*$_*/
91
91
  a[5]("transactionStatusTitle") + ""
92
92
  ), h, n, p, v = (
93
93
  /*copied*/
94
94
  a[3] && te(a)
95
- ), Z = Y(
95
+ ), W = Y(
96
96
  /*txnHistory*/
97
97
  a[2]
98
98
  ), T = [];
99
- for (let u = 0; u < Z.length; u += 1)
100
- T[u] = le($(a, Z, u));
99
+ for (let u = 0; u < W.length; u += 1)
100
+ T[u] = le($(a, W, u));
101
101
  return {
102
102
  c() {
103
- e = m("div"), v && v.c(), l = j(), i = m("h3"), d = I(r), o = j(), c = m("div"), g = m("div"), k = m("table"), C = m("thead"), w = m("tr"), z = m("td"), H = I(F), x = j(), L = m("td"), R = I(y), D = j(), M = m("td"), W = I(A), N = j(), S = m("td"), h = I(b), n = j(), p = m("tbody");
103
+ e = m("div"), v && v.c(), l = j(), i = m("h3"), d = I(r), o = j(), c = m("div"), g = m("div"), k = m("table"), x = m("thead"), w = m("tr"), z = m("td"), H = I(F), _ = j(), A = m("td"), R = I(y), D = j(), P = m("td"), O = I(L), Z = j(), S = m("td"), h = I(b), n = j(), p = m("tbody");
104
104
  for (let u = 0; u < T.length; u += 1)
105
105
  T[u].c();
106
- t(i, "class", "CashierTransactionHistoryTitle svelte-1klbu7d"), t(z, "class", "svelte-1klbu7d"), t(L, "class", "svelte-1klbu7d"), t(M, "class", "svelte-1klbu7d"), t(S, "class", "svelte-1klbu7d"), t(w, "class", "svelte-1klbu7d"), t(C, "class", "svelte-1klbu7d"), t(p, "class", "svelte-1klbu7d"), t(k, "class", "svelte-1klbu7d"), t(g, "class", "CashierTransactionHistoryContent svelte-1klbu7d"), t(c, "class", "CashierTransactionHistoryWrapper svelte-1klbu7d"), t(e, "class", "CashierTransactionHistory svelte-1klbu7d");
106
+ t(i, "class", "CashierTransactionHistoryTitle svelte-1klbu7d"), t(z, "class", "svelte-1klbu7d"), t(A, "class", "svelte-1klbu7d"), t(P, "class", "svelte-1klbu7d"), t(S, "class", "svelte-1klbu7d"), t(w, "class", "svelte-1klbu7d"), t(x, "class", "svelte-1klbu7d"), t(p, "class", "svelte-1klbu7d"), t(k, "class", "svelte-1klbu7d"), t(g, "class", "CashierTransactionHistoryContent svelte-1klbu7d"), t(c, "class", "CashierTransactionHistoryWrapper svelte-1klbu7d"), t(e, "class", "CashierTransactionHistory svelte-1klbu7d");
107
107
  },
108
108
  m(u, V) {
109
- U(u, e, V), v && v.m(e, null), s(e, l), s(e, i), s(i, d), s(e, o), s(e, c), s(c, g), s(g, k), s(k, C), s(C, w), s(w, z), s(z, H), s(w, x), s(w, L), s(L, R), s(w, D), s(w, M), s(M, W), s(w, N), s(w, S), s(S, h), s(k, n), s(k, p);
110
- for (let _ = 0; _ < T.length; _ += 1)
111
- T[_] && T[_].m(p, null);
109
+ E(u, e, V), v && v.m(e, null), s(e, l), s(e, i), s(i, d), s(e, o), s(e, c), s(c, g), s(g, k), s(k, x), s(x, w), s(w, z), s(z, H), s(w, _), s(w, A), s(A, R), s(w, D), s(w, P), s(P, O), s(w, Z), s(w, S), s(S, h), s(k, n), s(k, p);
110
+ for (let C = 0; C < T.length; C += 1)
111
+ T[C] && T[C].m(p, null);
112
112
  a[16](e);
113
113
  },
114
114
  p(u, V) {
@@ -118,32 +118,32 @@ function ee(a) {
118
118
  v = null;
119
119
  }), he()), V & /*$_*/
120
120
  32 && r !== (r = /*$_*/
121
- u[5]("transactionHistoryTitle") + "") && P(d, r), V & /*$_*/
121
+ u[5]("transactionHistoryTitle") + "") && M(d, r), V & /*$_*/
122
122
  32 && F !== (F = /*$_*/
123
- u[5]("transactionIdTitle") + "") && P(H, F), V & /*$_*/
123
+ u[5]("transactionIdTitle") + "") && M(H, F), V & /*$_*/
124
124
  32 && y !== (y = /*$_*/
125
- u[5]("transactionDateTitle") + "") && P(R, y), V & /*$_*/
126
- 32 && A !== (A = /*$_*/
127
- u[5]("transactionTypeTitle") + "") && P(W, A), V & /*$_*/
125
+ u[5]("transactionDateTitle") + "") && M(R, y), V & /*$_*/
126
+ 32 && L !== (L = /*$_*/
127
+ u[5]("transactionTypeTitle") + "") && M(O, L), V & /*$_*/
128
128
  32 && b !== (b = /*$_*/
129
- u[5]("transactionStatusTitle") + "") && P(h, b), V & /*$_, txnHistory, TransactionMainStatus, copied, copyToClipboard*/
129
+ u[5]("transactionStatusTitle") + "") && M(h, b), V & /*$_, txnHistory, TransactionMainStatus, copied, copyToClipboard*/
130
130
  124) {
131
- Z = Y(
131
+ W = Y(
132
132
  /*txnHistory*/
133
133
  u[2]
134
134
  );
135
- let _;
136
- for (_ = 0; _ < Z.length; _ += 1) {
137
- const O = $(u, Z, _);
138
- T[_] ? T[_].p(O, V) : (T[_] = le(O), T[_].c(), T[_].m(p, null));
135
+ let C;
136
+ for (C = 0; C < W.length; C += 1) {
137
+ const B = $(u, W, C);
138
+ T[C] ? T[C].p(B, V) : (T[C] = le(B), T[C].c(), T[C].m(p, null));
139
139
  }
140
- for (; _ < T.length; _ += 1)
141
- T[_].d(1);
142
- T.length = Z.length;
140
+ for (; C < T.length; C += 1)
141
+ T[C].d(1);
142
+ T.length = W.length;
143
143
  }
144
144
  },
145
145
  d(u) {
146
- u && E(e), v && v.d(), de(T, u), a[16](null);
146
+ u && U(e), v && v.d(), fe(T, u), a[16](null);
147
147
  }
148
148
  };
149
149
  }
@@ -157,29 +157,29 @@ function te(a) {
157
157
  e = m("div"), i = I(l), t(e, "class", "CopyTooltip svelte-1klbu7d");
158
158
  },
159
159
  m(c, g) {
160
- U(c, e, g), s(e, i), o = !0;
160
+ E(c, e, g), s(e, i), o = !0;
161
161
  },
162
162
  p(c, g) {
163
163
  a = c, (!o || g & /*$_*/
164
164
  32) && l !== (l = /*$_*/
165
- a[5]("copyTransactionId") + "") && P(i, l);
165
+ a[5]("copyTransactionId") + "") && M(i, l);
166
166
  },
167
167
  i(c) {
168
- o || (c && pe(() => {
169
- o && (d && d.end(1), r = ve(e, J, { duration: (
168
+ o || (c && ge(() => {
169
+ o && (d && d.end(1), r = pe(e, J, { duration: (
170
170
  /*tooltipduration*/
171
171
  a[0]
172
172
  ) }), r.start());
173
173
  }), o = !0);
174
174
  },
175
175
  o(c) {
176
- r && r.invalidate(), c && (d = ge(e, J, { duration: (
176
+ r && r.invalidate(), c && (d = ve(e, J, { duration: (
177
177
  /*tooltipduration*/
178
178
  a[0]
179
179
  ) })), o = !1;
180
180
  },
181
181
  d(c) {
182
- c && E(e), c && d && d.end();
182
+ c && U(e), c && d && d.end();
183
183
  }
184
184
  };
185
185
  }
@@ -190,10 +190,10 @@ function ze(a) {
190
190
  e = f("svg"), l = f("g"), i = f("g"), r = f("g"), d = f("path"), t(l, "id", "SVGRepo_bgCarrier"), t(l, "stroke-width", "0"), t(l, "class", "svelte-1klbu7d"), t(i, "id", "SVGRepo_tracerCarrier"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(i, "class", "svelte-1klbu7d"), t(d, "fill-rule", "evenodd"), t(d, "clip-rule", "evenodd"), t(d, "d", "M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM16.0303 8.96967C16.3232 9.26256 16.3232 9.73744 16.0303 10.0303L11.0303 15.0303C10.7374 15.3232 10.2626 15.3232 9.96967 15.0303L7.96967 13.0303C7.67678 12.7374 7.67678 12.2626 7.96967 11.9697C8.26256 11.6768 8.73744 11.6768 9.03033 11.9697L10.5 13.4393L12.7348 11.2045L14.9697 8.96967C15.2626 8.67678 15.7374 8.67678 16.0303 8.96967Z"), t(d, "fill", "#7EC51E"), t(d, "class", "svelte-1klbu7d"), t(r, "id", "SVGRepo_iconCarrier"), t(r, "class", "svelte-1klbu7d"), t(e, "width", "16px"), t(e, "height", "16px"), t(e, "viewBox", "0 0 24 24"), t(e, "fill", "none"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "class", "svelte-1klbu7d");
191
191
  },
192
192
  m(o, c) {
193
- U(o, e, c), s(e, l), s(e, i), s(e, r), s(r, d);
193
+ E(o, e, c), s(e, l), s(e, i), s(e, r), s(r, d);
194
194
  },
195
195
  d(o) {
196
- o && E(e);
196
+ o && U(e);
197
197
  }
198
198
  };
199
199
  }
@@ -204,10 +204,10 @@ function Re(a) {
204
204
  e = f("svg"), l = f("g"), i = f("rect"), r = f("g"), d = f("g"), o = f("text"), c = I("R j"), t(i, "x", "-2.4"), t(i, "y", "-2.4"), t(i, "width", "28.80"), t(i, "height", "28.80"), t(i, "rx", "14.4"), t(i, "fill", "#dd6617d4"), t(i, "class", "svelte-1klbu7d"), t(l, "id", "SVGRepo_bgCarrier"), t(l, "stroke-width", "0"), t(l, "class", "svelte-1klbu7d"), t(r, "id", "SVGRepo_tracerCarrier"), t(r, "stroke-linecap", "round"), t(r, "stroke-linejoin", "round"), t(r, "class", "svelte-1klbu7d"), t(o, "x", "42%"), t(o, "y", "50%"), t(o, "dominant-baseline", "middle"), t(o, "text-anchor", "middle"), t(o, "font-family", "Arial"), t(o, "font-size", "16"), t(o, "fill", "#ffffff"), t(o, "class", "svelte-1klbu7d"), t(d, "id", "SVGRepo_iconCarrier"), t(d, "class", "svelte-1klbu7d"), t(e, "width", "16px"), t(e, "height", "16px"), t(e, "viewBox", "-2.4 -2.4 28.80 28.80"), t(e, "fill", "none"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "class", "svelte-1klbu7d");
205
205
  },
206
206
  m(g, k) {
207
- U(g, e, k), s(e, l), s(l, i), s(e, r), s(e, d), s(d, o), s(o, c);
207
+ E(g, e, k), s(e, l), s(l, i), s(e, r), s(e, d), s(d, o), s(o, c);
208
208
  },
209
209
  d(g) {
210
- g && E(e);
210
+ g && U(e);
211
211
  }
212
212
  };
213
213
  }
@@ -218,10 +218,10 @@ function De(a) {
218
218
  e = f("svg"), l = f("g"), i = f("rect"), r = f("g"), d = f("g"), o = f("path"), c = f("path"), t(i, "x", "-2.4"), t(i, "y", "-2.4"), t(i, "width", "28.80"), t(i, "height", "28.80"), t(i, "rx", "14.4"), t(i, "fill", "#dd6617d4"), t(i, "class", "svelte-1klbu7d"), t(l, "id", "SVGRepo_bgCarrier"), t(l, "stroke-width", "0"), t(l, "class", "svelte-1klbu7d"), t(r, "id", "SVGRepo_tracerCarrier"), t(r, "stroke-linecap", "round"), t(r, "stroke-linejoin", "round"), t(r, "class", "svelte-1klbu7d"), t(o, "d", "M13 6H11V7C11 7.55228 11.4477 8 12 8C12.5523 8 13 7.55228 13 7V6Z"), t(o, "fill", "#ffffff"), t(o, "class", "svelte-1klbu7d"), t(c, "fill-rule", "evenodd"), t(c, "clip-rule", "evenodd"), t(c, "d", "M6 2V4H7V7C7 9.76142 9.23858 12 12 12C9.23858 12 7 14.2386 7 17V20H6V22H18V20H17V17C17 14.2386 14.7614 12 12 12C14.7614 12 17 9.76142 17 7V4H18V2H6ZM9 4H15V7C15 8.65685 13.6569 10 12 10C10.3431 10 9 8.65685 9 7V4ZM9 17V20H15V17C15 15.3431 13.6569 14 12 14C10.3431 14 9 15.3431 9 17Z"), t(c, "fill", "#ffffff"), t(c, "class", "svelte-1klbu7d"), t(d, "id", "SVGRepo_iconCarrier"), t(d, "class", "svelte-1klbu7d"), t(e, "width", "16px"), t(e, "height", "16px"), t(e, "viewBox", "-2.4 -2.4 28.80 28.80"), t(e, "fill", "none"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "class", "svelte-1klbu7d");
219
219
  },
220
220
  m(g, k) {
221
- U(g, e, k), s(e, l), s(l, i), s(e, r), s(e, d), s(d, o), s(d, c);
221
+ E(g, e, k), s(e, l), s(l, i), s(e, r), s(e, d), s(d, o), s(d, c);
222
222
  },
223
223
  d(g) {
224
- g && E(e);
224
+ g && U(e);
225
225
  }
226
226
  };
227
227
  }
@@ -232,10 +232,10 @@ function Ve(a) {
232
232
  e = f("svg"), l = f("g"), i = f("g"), r = f("g"), d = f("path"), t(l, "id", "SVGRepo_bgCarrier"), t(l, "stroke-width", "0"), t(l, "class", "svelte-1klbu7d"), t(i, "id", "SVGRepo_tracerCarrier"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(i, "class", "svelte-1klbu7d"), t(d, "d", "M960 0c530.193 0 960 429.807 960 960s-429.807 960-960 960S0 1490.193 0 960 429.807 0 960 0Zm-9.838 1342.685c-84.47 0-153.19 68.721-153.19 153.19 0 84.47 68.72 153.192 153.19 153.192s153.19-68.721 153.19-153.191-68.72-153.19-153.19-153.19ZM1153.658 320H746.667l99.118 898.623h208.755L1153.658 320Z"), t(d, "fill-rule", "evenodd"), t(d, "class", "svelte-1klbu7d"), t(r, "id", "SVGRepo_iconCarrier"), t(r, "class", "svelte-1klbu7d"), t(e, "fill", "#ed0909"), t(e, "width", "16px"), t(e, "height", "16px"), t(e, "viewBox", "0 0 1920 1920"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "class", "svelte-1klbu7d");
233
233
  },
234
234
  m(o, c) {
235
- U(o, e, c), s(e, l), s(e, i), s(e, r), s(r, d);
235
+ E(o, e, c), s(e, l), s(e, i), s(e, r), s(r, d);
236
236
  },
237
237
  d(o) {
238
- o && E(e);
238
+ o && U(e);
239
239
  }
240
240
  };
241
241
  }
@@ -246,10 +246,10 @@ function je(a) {
246
246
  e = f("svg"), l = f("g"), i = f("g"), r = f("g"), d = f("circle"), o = f("path"), t(l, "id", "SVGRepo_bgCarrier"), t(l, "stroke-width", "0"), t(l, "class", "svelte-1klbu7d"), t(i, "id", "SVGRepo_tracerCarrier"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(i, "class", "svelte-1klbu7d"), t(d, "cx", "32"), t(d, "cy", "32"), t(d, "r", "30"), t(d, "fill", "#4fd1d9"), t(d, "class", "svelte-1klbu7d"), t(o, "d", "M28.6 17.5h6.9l10.3 29h-6.6l-1.9-6H26.6l-2 6h-6.3l10.3-29m-.4 18h7.4L32 24.1l-3.8 11.4"), t(o, "fill", "#ffffff"), t(o, "class", "svelte-1klbu7d"), t(r, "id", "SVGRepo_iconCarrier"), t(r, "class", "svelte-1klbu7d"), t(e, "width", "14px"), t(e, "height", "14px"), t(e, "viewBox", "0 0 64 64"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "xmlns:xlink", "http://www.w3.org/1999/xlink"), t(e, "aria-hidden", "true"), t(e, "role", "img"), t(e, "class", "iconify iconify--emojione svelte-1klbu7d"), t(e, "preserveAspectRatio", "xMidYMid meet"), t(e, "fill", "#000000");
247
247
  },
248
248
  m(c, g) {
249
- U(c, e, g), s(e, l), s(e, i), s(e, r), s(r, d), s(r, o);
249
+ E(c, e, g), s(e, l), s(e, i), s(e, r), s(r, d), s(r, o);
250
250
  },
251
251
  d(c) {
252
- c && E(e);
252
+ c && U(e);
253
253
  }
254
254
  };
255
255
  }
@@ -260,64 +260,69 @@ function le(a) {
260
260
  ), r, d, o, c = (
261
261
  /*transaction*/
262
262
  a[24].Date + ""
263
- ), g, k, C, w = (
263
+ ), g, k, x, w = (
264
264
  /*$_*/
265
265
  a[5](`transactionType.${/*transaction*/
266
266
  a[24].Type}`) + ""
267
- ), z, F, H, x, L, y, R = (
267
+ ), z, F, H, _, A, y, R = (
268
268
  /*$_*/
269
269
  a[5](`transactionStatus.${/*transaction*/
270
270
  a[24].Status}`) + ""
271
- ), D, M, A, W;
272
- function N(h, n) {
271
+ ), D, P, L, O;
272
+ function Z(h, n) {
273
273
  if (
274
274
  /*transaction*/
275
275
  h[24].Status === /*TransactionMainStatus*/
276
276
  h[4].Authorized
277
- ) return je;
277
+ )
278
+ return je;
278
279
  if (
279
280
  /*transaction*/
280
281
  h[24].Status === /*TransactionMainStatus*/
281
282
  h[4].Failed
282
- ) return Ve;
283
+ )
284
+ return Ve;
283
285
  if (
284
286
  /*transaction*/
285
287
  h[24].Status === /*TransactionMainStatus*/
286
288
  h[4].Pending
287
- ) return De;
289
+ )
290
+ return De;
288
291
  if (
289
292
  /*transaction*/
290
293
  h[24].Status === /*TransactionMainStatus*/
291
294
  h[4].Rejected
292
- ) return Re;
295
+ )
296
+ return Re;
293
297
  if (
294
298
  /*transaction*/
295
299
  h[24].Status === /*TransactionMainStatus*/
296
300
  h[4].Success
297
- ) return ze;
301
+ )
302
+ return ze;
298
303
  }
299
- let S = N(a), b = S && S(a);
304
+ let S = Z(a), b = S && S(a);
300
305
  return {
301
306
  c() {
302
- e = m("tr"), l = m("td"), r = I(i), d = j(), o = m("td"), g = I(c), k = j(), C = m("td"), z = I(w), F = j(), H = m("td"), x = m("span"), b && b.c(), L = j(), y = m("span"), D = I(R), M = j(), t(l, "class", "CashierTransactionId svelte-1klbu7d"), X(
307
+ e = m("tr"), l = m("td"), r = I(i), d = j(), o = m("td"), g = I(c), k = j(), x = m("td"), z = I(w), F = j(), H = m("td"), _ = m("span"), b && b.c(), A = j(), y = m("span"), D = I(R), P = j(), t(l, "class", "CashierTransactionId svelte-1klbu7d"), X(
303
308
  l,
304
309
  "copied",
305
310
  /*copied*/
306
311
  a[3]
307
- ), t(o, "class", "svelte-1klbu7d"), t(C, "class", "svelte-1klbu7d"), t(x, "class", "CashierTransactionHistoryIcon svelte-1klbu7d"), t(y, "class", "CashierTransactionHistoryStatus svelte-1klbu7d"), t(H, "class", "svelte-1klbu7d"), t(e, "class", "svelte-1klbu7d");
312
+ ), t(o, "class", "svelte-1klbu7d"), t(x, "class", "svelte-1klbu7d"), t(_, "class", "CashierTransactionHistoryIcon svelte-1klbu7d"), t(y, "class", "CashierTransactionHistoryStatus svelte-1klbu7d"), t(H, "class", "svelte-1klbu7d"), t(e, "class", "svelte-1klbu7d");
308
313
  },
309
314
  m(h, n) {
310
- U(h, e, n), s(e, l), s(l, r), s(e, d), s(e, o), s(o, g), s(e, k), s(e, C), s(C, z), s(e, F), s(e, H), s(H, x), b && b.m(x, null), s(H, L), s(H, y), s(y, D), s(e, M), A || (W = me(
315
+ E(h, e, n), s(e, l), s(l, r), s(e, d), s(e, o), s(o, g), s(e, k), s(e, x), s(x, z), s(e, F), s(e, H), s(H, _), b && b.m(_, null), s(H, A), s(H, y), s(y, D), s(e, P), L || (O = me(
311
316
  l,
312
317
  "mousedown",
313
318
  /*mousedown_handler*/
314
319
  a[15]
315
- ), A = !0);
320
+ ), L = !0);
316
321
  },
317
322
  p(h, n) {
318
323
  n & /*txnHistory*/
319
324
  4 && i !== (i = /*transaction*/
320
- h[24].Code + "") && P(r, i), n & /*copied*/
325
+ h[24].Code + "") && M(r, i), n & /*copied*/
321
326
  8 && X(
322
327
  l,
323
328
  "copied",
@@ -325,16 +330,16 @@ function le(a) {
325
330
  h[3]
326
331
  ), n & /*txnHistory*/
327
332
  4 && c !== (c = /*transaction*/
328
- h[24].Date + "") && P(g, c), n & /*$_, txnHistory*/
333
+ h[24].Date + "") && M(g, c), n & /*$_, txnHistory*/
329
334
  36 && w !== (w = /*$_*/
330
335
  h[5](`transactionType.${/*transaction*/
331
- h[24].Type}`) + "") && P(z, w), S !== (S = N(h)) && (b && b.d(1), b = S && S(h), b && (b.c(), b.m(x, null))), n & /*$_, txnHistory*/
336
+ h[24].Type}`) + "") && M(z, w), S !== (S = Z(h)) && (b && b.d(1), b = S && S(h), b && (b.c(), b.m(_, null))), n & /*$_, txnHistory*/
332
337
  36 && R !== (R = /*$_*/
333
338
  h[5](`transactionStatus.${/*transaction*/
334
- h[24].Status}`) + "") && P(D, R);
339
+ h[24].Status}`) + "") && M(D, R);
335
340
  },
336
341
  d(h) {
337
- h && E(e), b && b.d(), A = !1, W();
342
+ h && U(e), b && b.d(), L = !1, O();
338
343
  }
339
344
  };
340
345
  }
@@ -345,27 +350,27 @@ function Ie(a) {
345
350
  );
346
351
  return {
347
352
  c() {
348
- l && l.c(), e = re();
353
+ l && l.c(), e = oe();
349
354
  },
350
355
  m(i, r) {
351
- l && l.m(i, r), U(i, e, r);
356
+ l && l.m(i, r), E(i, e, r);
352
357
  },
353
358
  p(i, [r]) {
354
359
  /*txnHistory*/
355
360
  i[2].length ? l ? l.p(i, r) : (l = ee(i), l.c(), l.m(e.parentNode, e)) : l && (l.d(1), l = null);
356
361
  },
357
- i: B,
358
- o: B,
362
+ i: N,
363
+ o: N,
359
364
  d(i) {
360
- i && E(e), l && l.d(i);
365
+ i && U(e), l && l.d(i);
361
366
  }
362
367
  };
363
368
  }
364
369
  const Fe = "DD.MM.YYYY";
365
- function Le(a, e, l) {
370
+ function Ae(a, e, l) {
366
371
  let i;
367
- oe(a, Te, (n) => l(5, i = n));
368
- let { endpoint: r } = e, { session: d } = e, { lang: o = "en" } = e, { customerid: c } = e, { clientstyling: g = "" } = e, { clientstylingurl: k = "" } = e, { translationurl: C } = e, { tooltipduration: w = 1e3 } = e, { txncount: z = 3 } = e, F = [], H = !1, x, L;
372
+ de(a, Te, (n) => l(5, i = n));
373
+ let { endpoint: r } = e, { session: d } = e, { lang: o = "en" } = e, { customerid: c } = e, { clientstyling: g = "" } = e, { clientstylingurl: k = "" } = e, { translationurl: x } = e, { tooltipduration: w = 1e3 } = e, { txncount: z = 3 } = e, F = [], H = !1, _, A;
369
374
  var y;
370
375
  (function(n) {
371
376
  n.Deposit = "deposit", n.Withdraw = "withdraw", n.Refund = "refund", n.Unknown = "unknown", n.TaxDeduction = "taxDeduction";
@@ -386,8 +391,8 @@ function Le(a, e, l) {
386
391
  (function(n) {
387
392
  n.Authorized = "Authorized", n.Success = "Success", n.Failed = "Failed", n.Rejected = "Rejected", n.Pending = "Pending";
388
393
  })(D || (D = {}));
389
- const M = () => {
390
- let n = C;
394
+ const P = () => {
395
+ let n = x;
391
396
  if (n)
392
397
  return fetch(n).then((p) => p.json()).then((p) => {
393
398
  Object.keys(p).forEach((v) => {
@@ -400,12 +405,12 @@ function Le(a, e, l) {
400
405
  Object.keys(Q).forEach((n) => {
401
406
  K(n, Q[n]);
402
407
  });
403
- const A = () => {
404
- xe(o);
405
- }, W = () => {
408
+ const L = () => {
409
+ _e(o);
410
+ }, O = () => {
406
411
  const n = new URL(`${r}/api/v1/mm/payment/gettransactionshistory`), p = new Headers();
407
412
  p.append("accept", "application/json"), p.append("Content-Type", "application/json"), p.append("X-SessionId", `${d}`);
408
- const v = new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 3)).toISOString(), Z = new Date((/* @__PURE__ */ new Date()).setHours((/* @__PURE__ */ new Date()).getHours() + 24)).toISOString(), T = {
413
+ const v = new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 3)).toISOString(), W = new Date((/* @__PURE__ */ new Date()).setHours((/* @__PURE__ */ new Date()).getHours() + 24)).toISOString(), T = {
409
414
  method: "POST",
410
415
  mode: "cors",
411
416
  headers: p,
@@ -415,7 +420,7 @@ function Le(a, e, l) {
415
420
  count: z,
416
421
  page: 0,
417
422
  fromDate: v,
418
- toDate: Z,
423
+ toDate: W,
419
424
  statuses: {
420
425
  [y.Deposit]: R,
421
426
  [y.Withdraw]: R,
@@ -427,20 +432,20 @@ function Le(a, e, l) {
427
432
  })
428
433
  };
429
434
  fetch(n, T).then((u) => u.json()).then((u) => {
430
- l(2, F = N((u == null ? void 0 : u.items) || []));
435
+ l(2, F = Z((u == null ? void 0 : u.items) || []));
431
436
  }).catch((u) => console.log(u));
432
- }, N = (n) => n.map((p) => {
437
+ }, Z = (n) => n.map((p) => {
433
438
  let v = p.generalFields.status;
434
439
  return p.generalFields.status.toLowerCase().includes("pending") && (v = D.Pending), {
435
440
  Code: p.generalFields.code,
436
- Date: _e(p.generalFields.created).format(Fe),
441
+ Date: Ce(p.generalFields.created).format(Fe),
437
442
  Status: v,
438
443
  Type: p.generalFields.type
439
444
  };
440
445
  }) || [], S = (n) => {
441
446
  const p = n.currentTarget;
442
447
  n.target === p && navigator.clipboard.writeText(p.innerText).then(() => {
443
- l(3, H = !0), clearTimeout(L), L = setTimeout(
448
+ l(3, H = !0), clearTimeout(A), A = setTimeout(
444
449
  () => {
445
450
  l(3, H = !1);
446
451
  },
@@ -451,22 +456,22 @@ function Le(a, e, l) {
451
456
  });
452
457
  }, b = (n) => S(n);
453
458
  function h(n) {
454
- fe[n ? "unshift" : "push"](() => {
455
- x = n, l(1, x);
459
+ be[n ? "unshift" : "push"](() => {
460
+ _ = n, l(1, _);
456
461
  });
457
462
  }
458
463
  return a.$$set = (n) => {
459
- "endpoint" in n && l(7, r = n.endpoint), "session" in n && l(8, d = n.session), "lang" in n && l(9, o = n.lang), "customerid" in n && l(10, c = n.customerid), "clientstyling" in n && l(11, g = n.clientstyling), "clientstylingurl" in n && l(12, k = n.clientstylingurl), "translationurl" in n && l(13, C = n.translationurl), "tooltipduration" in n && l(0, w = n.tooltipduration), "txncount" in n && l(14, z = n.txncount);
464
+ "endpoint" in n && l(7, r = n.endpoint), "session" in n && l(8, d = n.session), "lang" in n && l(9, o = n.lang), "customerid" in n && l(10, c = n.customerid), "clientstyling" in n && l(11, g = n.clientstyling), "clientstylingurl" in n && l(12, k = n.clientstylingurl), "translationurl" in n && l(13, x = n.translationurl), "tooltipduration" in n && l(0, w = n.tooltipduration), "txncount" in n && l(14, z = n.txncount);
460
465
  }, a.$$.update = () => {
461
466
  a.$$.dirty & /*lang*/
462
- 512 && o && A(), a.$$.dirty & /*clientstyling, customStylingContainer*/
463
- 2050 && g && x && Ce(x, g), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
464
- 4098 && k && x && He(x, k), a.$$.dirty & /*endpoint, session, customerid, lang*/
465
- 1920 && r && d && c && o && W(), a.$$.dirty & /*translationurl*/
466
- 8192 && C && M();
467
+ 512 && o && L(), a.$$.dirty & /*clientstyling, customStylingContainer*/
468
+ 2050 && g && _ && xe(_, g), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
469
+ 4098 && k && _ && He(_, k), a.$$.dirty & /*endpoint, session, customerid, lang*/
470
+ 1920 && r && d && c && o && O(), a.$$.dirty & /*translationurl*/
471
+ 8192 && x && P();
467
472
  }, [
468
473
  w,
469
- x,
474
+ _,
470
475
  F,
471
476
  H,
472
477
  D,
@@ -478,20 +483,20 @@ function Le(a, e, l) {
478
483
  c,
479
484
  g,
480
485
  k,
481
- C,
486
+ x,
482
487
  z,
483
488
  b,
484
489
  h
485
490
  ];
486
491
  }
487
- class Ae extends ie {
492
+ class Le extends ie {
488
493
  constructor(e) {
489
494
  super(), se(
490
495
  this,
491
496
  e,
492
- Le,
497
+ Ae,
493
498
  Ie,
494
- ne,
499
+ ae,
495
500
  {
496
501
  endpoint: 7,
497
502
  session: 8,
@@ -561,7 +566,7 @@ class Ae extends ie {
561
566
  this.$$set({ txncount: e }), G();
562
567
  }
563
568
  }
564
- be(Ae, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {} }, [], [], !0);
569
+ ne(Le, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {} }, [], [], !0);
565
570
  export {
566
- Ae as default
571
+ Le as default
567
572
  };