@everymatrix/cashier-page 1.65.0 → 1.65.1

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 (59) hide show
  1. package/components/{CashierConfirmModal-DV0Fu11y.js → CashierConfirmModal-4RYp7Eiq.js} +35 -35
  2. package/components/{CashierConfirmModal-CV61pzu0.js → CashierConfirmModal-untxGhsx.js} +35 -35
  3. package/components/{CashierError-CnuLsRCl.js → CashierError-7GtTdX3g.js} +623 -619
  4. package/components/{CashierError-BexC5v5g.cjs → CashierError-CmR-nZrh.cjs} +3 -16
  5. package/components/{CashierError-SQ6WMDgs.js → CashierError-CpPMMDmw.js} +622 -618
  6. package/components/{CashierHeader-DUQCQqzC.js → CashierHeader-BPW81bpS.js} +38 -38
  7. package/components/{CashierHeader-8L7nZ-F-.js → CashierHeader-CS1LfHNH.js} +36 -36
  8. package/components/{CashierHeader-CSswd5tN.cjs → CashierHeader-DKJ2es6H.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-DYcS1OPf.js → CashierIframeRedirect-CQOqJJue.js} +32 -32
  10. package/components/{CashierIframeRedirect-DHx9WyMT.js → CashierIframeRedirect-CblW0VT6.js} +39 -39
  11. package/components/{CashierIframeRedirect-BrpsV2Un.cjs → CashierIframeRedirect-Ddfq0L8C.cjs} +1 -1
  12. package/components/{CashierMethodDetails-BkMrmz0j.cjs → CashierMethodDetails-EaBEBoQO.cjs} +1 -1
  13. package/components/{CashierMethodDetails-IbjwyU8O.js → CashierMethodDetails-I-aP27hH.js} +64 -64
  14. package/components/{CashierMethodDetails-B28vx3QT.js → CashierMethodDetails-NF4M3BjK.js} +64 -64
  15. package/components/{CashierMethodsList-BO1U03T8.js → CashierMethodsList-6w8FuO9r.js} +111 -111
  16. package/components/{CashierMethodsList-BpD4OpC8.js → CashierMethodsList-Dda8_29U.js} +106 -106
  17. package/components/{CashierMethodsList-DJjtUT4x.cjs → CashierMethodsList-DyQac0D0.cjs} +1 -1
  18. package/components/{CashierModal-BfZMj1i-.js → CashierModal-BrwIBn9a.js} +35 -35
  19. package/components/{CashierModal-CYI7bxDr.js → CashierModal-ZfKvGxFq.js} +40 -40
  20. package/components/{CashierNotifications-DvJFewVg.js → CashierNotifications-C48iLynX.js} +19 -19
  21. package/components/{CashierNotifications-CpgeC0kF.js → CashierNotifications-dn6rnyK_.js} +18 -18
  22. package/components/{CashierPage-BwXNUMwX.js → CashierPage-C8LZCit2.js} +92 -92
  23. package/components/{CashierPage-DM9rnTmG.cjs → CashierPage-DMjvnG0Z.cjs} +1 -1
  24. package/components/{CashierPage-DCYRk3m5.js → CashierPage-DnFKJ1eh.js} +94 -94
  25. package/components/{CashierReceiptPage-lQxOhYq3.cjs → CashierReceiptPage-C14xuKTb.cjs} +1 -1
  26. package/components/{CashierReceiptPage-DQpQFz30.js → CashierReceiptPage-Dd5y5Qy1.js} +28 -28
  27. package/components/{CashierReceiptPage-C861CuF9.js → CashierReceiptPage-sT1NOysr.js} +28 -28
  28. package/components/{CashierSessionExpirationModal-BRMeBIfT.js → CashierSessionExpirationModal-ChmcV7j1.js} +46 -55
  29. package/components/{CashierSessionExpirationModal-B933huuB.js → CashierSessionExpirationModal-Cnf5emOX.js} +46 -55
  30. package/components/{CashierSessionExpirationModal-ITeELxud.cjs → CashierSessionExpirationModal-bYWJ13Hc.cjs} +2 -2
  31. package/components/{CashierSpinner-CnPYs9vs.js → CashierSpinner-BAfTKICK.js} +17 -17
  32. package/components/{CashierSpinner-CW0tb4Ek.js → CashierSpinner-y6HodxHT.js} +14 -14
  33. package/components/{CashierTransactionHistory-DUYERKso.js → CashierTransactionHistory-B8xfM-3Z.js} +86 -86
  34. package/components/{CashierTransactionHistory-BJsiKme9.cjs → CashierTransactionHistory-CSdqhIc7.cjs} +1 -1
  35. package/components/{CashierTransactionHistory-Cs4V32c8.js → CashierTransactionHistory-EEJUUScb.js} +73 -73
  36. package/components/{CashierVerifications-Cp2GiS5X.js → CashierVerifications-B9d8CIlA.js} +31 -31
  37. package/components/{CashierVerifications-DKeZ48d6.cjs → CashierVerifications-CsbiMD4K.cjs} +1 -1
  38. package/components/{CashierVerifications-EW5bcumJ.js → CashierVerifications-euYL9X7J.js} +31 -31
  39. package/components/{CashierVideoModal-D5QKr-_P.js → CashierVideoModal-CVDvqrcy.js} +39 -39
  40. package/components/{CashierVideoModal-onqH-Fiw.js → CashierVideoModal-DHNu0BQz.js} +38 -38
  41. package/es2015/cashier-page.cjs +1 -1
  42. package/es2015/cashier-page.js +1 -1
  43. package/esnext/cashier-page.js +1 -1
  44. package/package.json +1 -1
  45. package/stencil/index-97d17652-BEnqZAxL.js +558 -0
  46. package/stencil/index-97d17652-D5_8Vwfn.cjs +1 -0
  47. package/stencil/index-97d17652-WK_DbPS4.js +542 -0
  48. package/stencil/{ui-image-DzutkFSv.cjs → ui-image-CMb1eK44.cjs} +1 -1
  49. package/stencil/{ui-image-BmTbGz5h.js → ui-image-CQQDA5b0.js} +1 -1
  50. package/stencil/{ui-image-CFddgpOe.js → ui-image-CmwNU-jf.js} +1 -1
  51. package/stencil/{ui-image-b7b48fe5-7wF4sIlr.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +1 -1
  52. package/stencil/{ui-image-b7b48fe5-DQE3WxuL.cjs → ui-image-b7b48fe5-DCck2kk1.cjs} +1 -1
  53. package/stencil/{ui-image-b7b48fe5-kIlLPkYB.js → ui-image-b7b48fe5-V9vp4faA.js} +1 -1
  54. package/stencil/{ui-image_2-oohpKuRS.js → ui-image_2-B56t6kXT.js} +2 -2
  55. package/stencil/{ui-image_2-Db7N7hzA.js → ui-image_2-BncuYpLi.js} +2 -2
  56. package/stencil/{ui-image_2-CJHJWEhi.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  57. package/stencil/index-97d17652-BzQXAkmg.js +0 -558
  58. package/stencil/index-97d17652-DYGS0vqJ.cjs +0 -1
  59. package/stencil/index-97d17652-mbOyENH9.js +0 -542
@@ -1,15 +1,15 @@
1
- import { S as ie, b as ne, f as E, c as ae, a as le, d as oe, x as re, k as O, n as V, v as W, w as ce, K as X, g as v, h as j, y as I, j as t, l, t as G, B as he, p as de, q as ue, z as B, M as fe, F as me, V as ve, W as pe, I as J, A as ge, C as we, O as b } from "./CashierConfirmModal-DV0Fu11y.js";
2
- import { f as K } from "./CashierModal-CYI7bxDr.js";
3
- import { i as ye, a as Te, $ as _e, b as be } from "./CashierError-SQ6WMDgs.js";
4
- import { d as xe } from "./CashierMethodDetails-B28vx3QT.js";
5
- ye({
1
+ import { S as ie, b as ne, s as ae, f as U, c as le, n as J, e as W, l as N, w as oe, v as re, K as V, L as ce, g as X, D as he, t as de, k as ue, x as B, m as l, o as v, p as j, y as I, q as t, z as fe, V as me, F as ve, W as pe, J as G, A as ge, N as b, E as we } from "./CashierConfirmModal-untxGhsx.js";
2
+ import { f as K } from "./CashierModal-BrwIBn9a.js";
3
+ import { a as ye, $ as Te, i as _e, b as be } from "./CashierError-7GtTdX3g.js";
4
+ import { d as xe } from "./CashierMethodDetails-I-aP27hH.js";
5
+ _e({
6
6
  fallbackLocale: "en"
7
7
  });
8
8
  function Q(a, e) {
9
- Te(a, e);
9
+ ye(a, e);
10
10
  }
11
11
  function ke(a) {
12
- _e.set(a);
12
+ Te.set(a);
13
13
  }
14
14
  const Z = {
15
15
  en: {
@@ -67,7 +67,7 @@ function Se(a, e) {
67
67
  });
68
68
  }
69
69
  function He(a) {
70
- oe(a, "svelte-1hhe323", ".svelte-1hhe323.svelte-1hhe323,.svelte-1hhe323.svelte-1hhe323::before,.svelte-1hhe323.svelte-1hhe323::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1hhe323.svelte-1hhe323{width:50%;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, #7EC51E);position:absolute;top:-6px;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);padding:4px}.CashierTransactionHistory.svelte-1hhe323.svelte-1hhe323{display:flex;flex-direction:column;position:relative;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-1hhe323 table.svelte-1hhe323{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-1hhe323 table.svelte-1hhe323:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1hhe323 thead tr.svelte-1hhe323{border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);color:var(--mmw--color-grey-10, #111);height:50px}.CashierTransactionHistory.svelte-1hhe323 tbody tr.svelte-1hhe323{color:var(--mmw--color-grey-290, #666)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{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-1hhe323 tr.svelte-1hhe323{position:relative}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1hhe323 .CopyTooltip.svelte-1hhe323{width:100%}.CashierTransactionHistory.svelte-1hhe323 .CashierTransactionId.svelte-1hhe323{max-width:135px}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1hhe323 .CashierTransactionHistoryWrapper.svelte-1hhe323{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323:first-child{max-width:60px}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1hhe323 table.svelte-1hhe323{table-layout:fixed}.CashierTransactionHistory.svelte-1hhe323 table td.svelte-1hhe323{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1hhe323.svelte-1hhe323{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-1hhe323.svelte-1hhe323{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-1hhe323.svelte-1hhe323{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.CashierTransactionId.svelte-1hhe323.svelte-1hhe323:hover{background-color:var(--emw--color-gray-50, #F7F8FA)}.CashierTransactionHistoryStatus.svelte-1hhe323.svelte-1hhe323{display:flex;gap:5px}.CashierTransactionHistoryStatusText.svelte-1hhe323.svelte-1hhe323{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1hhe323.svelte-1hhe323{width:100%}.CashierTransactionHistoryIcon.svelte-1hhe323.svelte-1hhe323{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}");
70
+ le(a, "svelte-1hhe323", ".svelte-1hhe323.svelte-1hhe323,.svelte-1hhe323.svelte-1hhe323::before,.svelte-1hhe323.svelte-1hhe323::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1hhe323.svelte-1hhe323{width:50%;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, #7EC51E);position:absolute;top:-6px;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);padding:4px}.CashierTransactionHistory.svelte-1hhe323.svelte-1hhe323{display:flex;flex-direction:column;position:relative;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-1hhe323 table.svelte-1hhe323{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-1hhe323 table.svelte-1hhe323:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1hhe323 thead tr.svelte-1hhe323{border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);color:var(--mmw--color-grey-10, #111);height:50px}.CashierTransactionHistory.svelte-1hhe323 tbody tr.svelte-1hhe323{color:var(--mmw--color-grey-290, #666)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{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-1hhe323 tr.svelte-1hhe323{position:relative}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1hhe323 .CopyTooltip.svelte-1hhe323{width:100%}.CashierTransactionHistory.svelte-1hhe323 .CashierTransactionId.svelte-1hhe323{max-width:135px}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1hhe323 .CashierTransactionHistoryWrapper.svelte-1hhe323{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323:first-child{max-width:60px}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1hhe323 table.svelte-1hhe323{table-layout:fixed}.CashierTransactionHistory.svelte-1hhe323 table td.svelte-1hhe323{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1hhe323.svelte-1hhe323{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-1hhe323.svelte-1hhe323{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-1hhe323.svelte-1hhe323{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.CashierTransactionId.svelte-1hhe323.svelte-1hhe323:hover{background-color:var(--emw--color-gray-50, #F7F8FA)}.CashierTransactionHistoryStatus.svelte-1hhe323.svelte-1hhe323{display:flex;gap:5px}.CashierTransactionHistoryStatusText.svelte-1hhe323.svelte-1hhe323{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1hhe323.svelte-1hhe323{width:100%}.CashierTransactionHistoryIcon.svelte-1hhe323.svelte-1hhe323{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}");
71
71
  }
72
72
  function $(a, e, s) {
73
73
  const i = a.slice();
@@ -77,36 +77,36 @@ function ee(a) {
77
77
  let e, s, i, o = (
78
78
  /*$_*/
79
79
  a[5]("transactionHistoryTitle") + ""
80
- ), c, d, u, w, x, k, p, H, R = (
80
+ ), c, d, u, w, x, k, p, H, L = (
81
81
  /*$_*/
82
82
  a[5]("transactionIdTitle") + ""
83
- ), z, y, C, _ = (
83
+ ), D, y, C, _ = (
84
84
  /*$_*/
85
85
  a[5]("transactionDateTitle") + ""
86
- ), A, D, L, M = (
86
+ ), A, z, R, M = (
87
87
  /*$_*/
88
88
  a[5]("transactionTypeTitle") + ""
89
- ), U, Y, P, S = (
89
+ ), E, Y, P, S = (
90
90
  /*$_*/
91
91
  a[5]("transactionStatusTitle") + ""
92
92
  ), g, n, r, h = (
93
93
  /*copied*/
94
94
  a[3] && te(a)
95
- ), N = X(
95
+ ), O = V(
96
96
  /*txnHistory*/
97
97
  a[2]
98
98
  ), m = [];
99
- for (let f = 0; f < N.length; f += 1)
100
- m[f] = se($(a, N, f));
99
+ for (let f = 0; f < O.length; f += 1)
100
+ m[f] = se($(a, O, f));
101
101
  return {
102
102
  c() {
103
- e = v("div"), h && h.c(), s = j(), i = v("h3"), c = I(o), d = j(), u = v("div"), w = v("div"), x = v("table"), k = v("thead"), p = v("tr"), H = v("td"), z = I(R), y = j(), C = v("td"), A = I(_), D = j(), L = v("td"), U = I(M), Y = j(), P = v("td"), g = I(S), n = j(), r = v("tbody");
103
+ e = v("div"), h && h.c(), s = j(), i = v("h3"), c = I(o), d = j(), u = v("div"), w = v("div"), x = v("table"), k = v("thead"), p = v("tr"), H = v("td"), D = I(L), y = j(), C = v("td"), A = I(_), z = j(), R = v("td"), E = I(M), Y = j(), P = v("td"), g = I(S), n = j(), r = v("tbody");
104
104
  for (let f = 0; f < m.length; f += 1)
105
105
  m[f].c();
106
- t(i, "class", "CashierTransactionHistoryTitle svelte-1hhe323"), t(H, "class", "svelte-1hhe323"), t(C, "class", "svelte-1hhe323"), t(L, "class", "svelte-1hhe323"), t(P, "class", "svelte-1hhe323"), t(p, "class", "svelte-1hhe323"), t(k, "class", "svelte-1hhe323"), t(r, "class", "svelte-1hhe323"), t(x, "class", "svelte-1hhe323"), t(w, "class", "CashierTransactionHistoryContent svelte-1hhe323"), t(u, "class", "CashierTransactionHistoryWrapper svelte-1hhe323"), t(e, "class", "CashierTransactionHistory svelte-1hhe323");
106
+ t(i, "class", "CashierTransactionHistoryTitle svelte-1hhe323"), t(H, "class", "svelte-1hhe323"), t(C, "class", "svelte-1hhe323"), t(R, "class", "svelte-1hhe323"), t(P, "class", "svelte-1hhe323"), t(p, "class", "svelte-1hhe323"), t(k, "class", "svelte-1hhe323"), t(r, "class", "svelte-1hhe323"), t(x, "class", "svelte-1hhe323"), t(w, "class", "CashierTransactionHistoryContent svelte-1hhe323"), t(u, "class", "CashierTransactionHistoryWrapper svelte-1hhe323"), t(e, "class", "CashierTransactionHistory svelte-1hhe323");
107
107
  },
108
108
  m(f, F) {
109
- O(f, e, F), h && h.m(e, null), l(e, s), l(e, i), l(i, c), l(e, d), l(e, u), l(u, w), l(w, x), l(x, k), l(k, p), l(p, H), l(H, z), l(p, y), l(p, C), l(C, A), l(p, D), l(p, L), l(L, U), l(p, Y), l(p, P), l(P, g), l(x, n), l(x, r);
109
+ N(f, e, F), h && h.m(e, null), l(e, s), l(e, i), l(i, c), l(e, d), l(e, u), l(u, w), l(w, x), l(x, k), l(k, p), l(p, H), l(H, D), l(p, y), l(p, C), l(C, A), l(p, z), l(p, R), l(R, E), l(p, Y), l(p, P), l(P, g), l(x, n), l(x, r);
110
110
  for (let T = 0; T < m.length; T += 1)
111
111
  m[T] && m[T].m(r, null);
112
112
  a[16](e);
@@ -114,36 +114,36 @@ function ee(a) {
114
114
  p(f, F) {
115
115
  if (/*copied*/
116
116
  f[3] ? h ? (h.p(f, F), F & /*copied*/
117
- 8 && G(h, 1)) : (h = te(f), h.c(), G(h, 1), h.m(e, s)) : h && (he(), de(h, 1, 1, () => {
117
+ 8 && X(h, 1)) : (h = te(f), h.c(), X(h, 1), h.m(e, s)) : h && (he(), de(h, 1, 1, () => {
118
118
  h = null;
119
119
  }), ue()), F & /*$_*/
120
120
  32 && o !== (o = /*$_*/
121
121
  f[5]("transactionHistoryTitle") + "") && B(c, o), F & /*$_*/
122
- 32 && R !== (R = /*$_*/
123
- f[5]("transactionIdTitle") + "") && B(z, R), F & /*$_*/
122
+ 32 && L !== (L = /*$_*/
123
+ f[5]("transactionIdTitle") + "") && B(D, L), F & /*$_*/
124
124
  32 && _ !== (_ = /*$_*/
125
125
  f[5]("transactionDateTitle") + "") && B(A, _), F & /*$_*/
126
126
  32 && M !== (M = /*$_*/
127
- f[5]("transactionTypeTitle") + "") && B(U, M), F & /*$_*/
127
+ f[5]("transactionTypeTitle") + "") && B(E, M), F & /*$_*/
128
128
  32 && S !== (S = /*$_*/
129
129
  f[5]("transactionStatusTitle") + "") && B(g, S), F & /*$_, txnHistory, TransactionMainStatus, copied, copyToClipboard*/
130
130
  124) {
131
- N = X(
131
+ O = V(
132
132
  /*txnHistory*/
133
133
  f[2]
134
134
  );
135
135
  let T;
136
- for (T = 0; T < N.length; T += 1) {
137
- const q = $(f, N, T);
136
+ for (T = 0; T < O.length; T += 1) {
137
+ const q = $(f, O, T);
138
138
  m[T] ? m[T].p(q, F) : (m[T] = se(q), m[T].c(), m[T].m(r, null));
139
139
  }
140
140
  for (; T < m.length; T += 1)
141
141
  m[T].d(1);
142
- m.length = N.length;
142
+ m.length = O.length;
143
143
  }
144
144
  },
145
145
  d(f) {
146
- f && W(e), h && h.d(), fe(m, f), a[16](null);
146
+ f && W(e), h && h.d(), ce(m, f), a[16](null);
147
147
  }
148
148
  };
149
149
  }
@@ -157,7 +157,7 @@ function te(a) {
157
157
  e = v("div"), i = I(s), t(e, "class", "CopyTooltip svelte-1hhe323");
158
158
  },
159
159
  m(u, w) {
160
- O(u, e, w), l(e, i), d = !0;
160
+ N(u, e, w), l(e, i), d = !0;
161
161
  },
162
162
  p(u, w) {
163
163
  a = u, (!d || w & /*$_*/
@@ -165,12 +165,12 @@ function te(a) {
165
165
  a[5]("copyTransactionId") + "") && B(i, s);
166
166
  },
167
167
  i(u) {
168
- d || (u && me(() => {
169
- d && (c && c.end(1), o = ve(e, K, { duration: 100 }), o.start());
168
+ d || (u && ve(() => {
169
+ d && (c && c.end(1), o = pe(e, K, { duration: 100 }), o.start());
170
170
  }), d = !0);
171
171
  },
172
172
  o(u) {
173
- o && o.invalidate(), u && (c = pe(e, K, { duration: (
173
+ o && o.invalidate(), u && (c = me(e, K, { duration: (
174
174
  /*tooltipduration*/
175
175
  a[0]
176
176
  ) })), d = !1;
@@ -180,28 +180,28 @@ function te(a) {
180
180
  }
181
181
  };
182
182
  }
183
- function ze(a) {
183
+ function De(a) {
184
184
  let e, s, i;
185
185
  return {
186
186
  c() {
187
187
  e = b("svg"), s = b("circle"), i = b("path"), t(s, "cx", "12"), t(s, "cy", "12"), t(s, "r", "10"), t(s, "stroke", "#25bf00"), t(s, "stroke-width", "2"), t(s, "class", "svelte-1hhe323"), t(i, "d", "M8 12L11 15L16 9"), t(i, "stroke", "#25bf00"), t(i, "stroke-width", "2"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(i, "class", "svelte-1hhe323"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 24 24"), t(e, "fill", "none"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "class", "svelte-1hhe323");
188
188
  },
189
189
  m(o, c) {
190
- O(o, e, c), l(e, s), l(e, i);
190
+ N(o, e, c), l(e, s), l(e, i);
191
191
  },
192
192
  d(o) {
193
193
  o && W(e);
194
194
  }
195
195
  };
196
196
  }
197
- function De(a) {
197
+ function ze(a) {
198
198
  let e, s, i, o;
199
199
  return {
200
200
  c() {
201
201
  e = b("svg"), s = b("circle"), i = b("text"), o = I("R"), t(s, "cx", "12"), t(s, "cy", "12"), t(s, "r", "10"), t(s, "stroke", "#dd6617d4"), t(s, "stroke-width", "2"), t(s, "class", "svelte-1hhe323"), t(i, "x", "50%"), t(i, "y", "54%"), t(i, "text-anchor", "middle"), t(i, "dominant-baseline", "middle"), t(i, "font-size", "14"), t(i, "font-weight", "bold"), t(i, "fill", "#dd6617d4"), t(i, "font-family", "Arial Rounded MT Bold, Arial, sans-serif"), t(i, "class", "svelte-1hhe323"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 24 24"), t(e, "fill", "none"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "class", "svelte-1hhe323");
202
202
  },
203
203
  m(c, d) {
204
- O(c, e, d), l(e, s), l(e, i), l(i, o);
204
+ N(c, e, d), l(e, s), l(e, i), l(i, o);
205
205
  },
206
206
  d(c) {
207
207
  c && W(e);
@@ -215,7 +215,7 @@ function Ie(a) {
215
215
  e = b("svg"), s = b("circle"), i = b("path"), t(s, "cx", "12"), t(s, "cy", "12"), t(s, "r", "10"), t(s, "stroke", "#f0a85f"), t(s, "stroke-width", "2"), t(s, "class", "svelte-1hhe323"), t(i, "d", "M12 7V12L15 14"), t(i, "stroke", "#f0a85f"), t(i, "stroke-width", "2"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(i, "class", "svelte-1hhe323"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 24 24"), t(e, "fill", "none"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "class", "svelte-1hhe323");
216
216
  },
217
217
  m(o, c) {
218
- O(o, e, c), l(e, s), l(e, i);
218
+ N(o, e, c), l(e, s), l(e, i);
219
219
  },
220
220
  d(o) {
221
221
  o && W(e);
@@ -229,7 +229,7 @@ function Ae(a) {
229
229
  e = b("svg"), s = b("circle"), i = b("path"), t(s, "cx", "12"), t(s, "cy", "12"), t(s, "r", "10"), t(s, "stroke", "#e76049"), t(s, "stroke-width", "2"), t(s, "class", "svelte-1hhe323"), t(i, "d", "M9 9L15 15M15 9L9 15"), t(i, "stroke", "#e76049"), t(i, "stroke-width", "2"), t(i, "stroke-linecap", "round"), t(i, "stroke-linejoin", "round"), t(i, "class", "svelte-1hhe323"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 24 24"), t(e, "fill", "none"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "class", "svelte-1hhe323");
230
230
  },
231
231
  m(o, c) {
232
- O(o, e, c), l(e, s), l(e, i);
232
+ N(o, e, c), l(e, s), l(e, i);
233
233
  },
234
234
  d(o) {
235
235
  o && W(e);
@@ -243,7 +243,7 @@ function Fe(a) {
243
243
  e = b("svg"), s = b("circle"), i = b("text"), o = I("A"), t(s, "cx", "12"), t(s, "cy", "12"), t(s, "r", "10"), t(s, "stroke", "#32b398"), t(s, "stroke-width", "2"), t(s, "class", "svelte-1hhe323"), t(i, "x", "50%"), t(i, "y", "54%"), t(i, "text-anchor", "middle"), t(i, "dominant-baseline", "middle"), t(i, "font-size", "14"), t(i, "font-weight", "bold"), t(i, "fill", "#32b398"), t(i, "font-family", "Arial Rounded MT Bold, Arial, sans-serif"), t(i, "class", "svelte-1hhe323"), t(e, "width", "18"), t(e, "height", "18"), t(e, "viewBox", "0 0 24 24"), t(e, "fill", "none"), t(e, "xmlns", "http://www.w3.org/2000/svg"), t(e, "class", "svelte-1hhe323");
244
244
  },
245
245
  m(c, d) {
246
- O(c, e, d), l(e, s), l(e, i), l(i, o);
246
+ N(c, e, d), l(e, s), l(e, i), l(i, o);
247
247
  },
248
248
  d(c) {
249
249
  c && W(e);
@@ -261,11 +261,11 @@ function se(a) {
261
261
  /*$_*/
262
262
  a[5](`transactionType.${/*transaction*/
263
263
  a[24].Type}`) + ""
264
- ), H, R, z, y, C, _, A, D = (
264
+ ), H, L, D, y, C, _, A, z = (
265
265
  /*$_*/
266
266
  a[5](`transactionStatus.${/*transaction*/
267
267
  a[24].Status}`) + ""
268
- ), L, M, U, Y;
268
+ ), R, M, E, Y;
269
269
  function P(n, r) {
270
270
  if (
271
271
  /*transaction*/
@@ -290,37 +290,37 @@ function se(a) {
290
290
  n[24].Status === /*TransactionMainStatus*/
291
291
  n[4].Rejected
292
292
  )
293
- return De;
293
+ return ze;
294
294
  if (
295
295
  /*transaction*/
296
296
  n[24].Status === /*TransactionMainStatus*/
297
297
  n[4].Success
298
298
  )
299
- return ze;
299
+ return De;
300
300
  }
301
301
  let S = P(a), g = S && S(a);
302
302
  return {
303
303
  c() {
304
- e = v("tr"), s = v("td"), o = I(i), c = j(), d = v("td"), w = I(u), x = j(), k = v("td"), H = I(p), R = j(), z = v("td"), y = v("div"), C = v("span"), g && g.c(), _ = j(), A = v("span"), L = I(D), M = j(), t(s, "class", "CashierTransactionId svelte-1hhe323"), J(
304
+ e = v("tr"), s = v("td"), o = I(i), c = j(), d = v("td"), w = I(u), x = j(), k = v("td"), H = I(p), L = j(), D = v("td"), y = v("div"), C = v("span"), g && g.c(), _ = j(), A = v("span"), R = I(z), M = j(), t(s, "class", "CashierTransactionId svelte-1hhe323"), G(
305
305
  s,
306
306
  "copied",
307
307
  /*copied*/
308
308
  a[3]
309
- ), t(d, "class", "svelte-1hhe323"), t(k, "class", "svelte-1hhe323"), t(C, "class", "CashierTransactionHistoryIcon svelte-1hhe323"), t(A, "class", "CashierTransactionHistoryStatusText svelte-1hhe323"), t(y, "class", "CashierTransactionHistoryStatus svelte-1hhe323"), t(z, "class", "svelte-1hhe323"), t(e, "class", "svelte-1hhe323");
309
+ ), t(d, "class", "svelte-1hhe323"), t(k, "class", "svelte-1hhe323"), t(C, "class", "CashierTransactionHistoryIcon svelte-1hhe323"), t(A, "class", "CashierTransactionHistoryStatusText svelte-1hhe323"), t(y, "class", "CashierTransactionHistoryStatus svelte-1hhe323"), t(D, "class", "svelte-1hhe323"), t(e, "class", "svelte-1hhe323");
310
310
  },
311
311
  m(n, r) {
312
- O(n, e, r), l(e, s), l(s, o), l(e, c), l(e, d), l(d, w), l(e, x), l(e, k), l(k, H), l(e, R), l(e, z), l(z, y), l(y, C), g && g.m(C, null), l(y, _), l(y, A), l(A, L), l(e, M), U || (Y = ge(
312
+ N(n, e, r), l(e, s), l(s, o), l(e, c), l(e, d), l(d, w), l(e, x), l(e, k), l(k, H), l(e, L), l(e, D), l(D, y), l(y, C), g && g.m(C, null), l(y, _), l(y, A), l(A, R), l(e, M), E || (Y = ge(
313
313
  s,
314
314
  "mousedown",
315
315
  /*mousedown_handler*/
316
316
  a[15]
317
- ), U = !0);
317
+ ), E = !0);
318
318
  },
319
319
  p(n, r) {
320
320
  r & /*txnHistory*/
321
321
  4 && i !== (i = /*transaction*/
322
322
  n[24].Code + "") && B(o, i), r & /*copied*/
323
- 8 && J(
323
+ 8 && G(
324
324
  s,
325
325
  "copied",
326
326
  /*copied*/
@@ -331,12 +331,12 @@ function se(a) {
331
331
  36 && p !== (p = /*$_*/
332
332
  n[5](`transactionType.${/*transaction*/
333
333
  n[24].Type}`) + "") && B(H, p), S !== (S = P(n)) && (g && g.d(1), g = S && S(n), g && (g.c(), g.m(C, null))), r & /*$_, txnHistory*/
334
- 36 && D !== (D = /*$_*/
334
+ 36 && z !== (z = /*$_*/
335
335
  n[5](`transactionStatus.${/*transaction*/
336
- n[24].Status}`) + "") && B(L, D);
336
+ n[24].Status}`) + "") && B(R, z);
337
337
  },
338
338
  d(n) {
339
- n && W(e), g && g.d(), U = !1, Y();
339
+ n && W(e), g && g.d(), E = !1, Y();
340
340
  }
341
341
  };
342
342
  }
@@ -347,27 +347,27 @@ function je(a) {
347
347
  );
348
348
  return {
349
349
  c() {
350
- s && s.c(), e = re();
350
+ s && s.c(), e = oe();
351
351
  },
352
352
  m(i, o) {
353
- s && s.m(i, o), O(i, e, o);
353
+ s && s.m(i, o), N(i, e, o);
354
354
  },
355
355
  p(i, [o]) {
356
356
  /*txnHistory*/
357
357
  i[2].length ? s ? s.p(i, o) : (s = ee(i), s.c(), s.m(e.parentNode, e)) : s && (s.d(1), s = null);
358
358
  },
359
- i: V,
360
- o: V,
359
+ i: J,
360
+ o: J,
361
361
  d(i) {
362
362
  i && W(e), s && s.d(i);
363
363
  }
364
364
  };
365
365
  }
366
- const Re = "DD.MM.YYYY";
367
- function Le(a, e, s) {
366
+ const Le = "DD.MM.YYYY";
367
+ function Re(a, e, s) {
368
368
  let i;
369
- ce(a, be, (n) => s(5, i = n));
370
- let { endpoint: o } = e, { session: c } = e, { lang: d = "en" } = e, { customerid: u } = e, { clientstyling: w = "" } = e, { clientstylingurl: x = "" } = e, { translationurl: k } = e, { tooltipduration: p = 1e3 } = e, { txncount: H = 3 } = e, R = [], z = !1, y, C;
369
+ re(a, be, (n) => s(5, i = n));
370
+ let { endpoint: o } = e, { session: c } = e, { lang: d = "en" } = e, { customerid: u } = e, { clientstyling: w = "" } = e, { clientstylingurl: x = "" } = e, { translationurl: k } = e, { tooltipduration: p = 1e3 } = e, { txncount: H = 3 } = e, L = [], D = !1, y, C;
371
371
  var _;
372
372
  (function(n) {
373
373
  n.Deposit = "deposit", n.Withdraw = "withdraw", n.Refund = "refund", n.Unknown = "unknown", n.TaxDeduction = "taxDeduction";
@@ -384,11 +384,11 @@ function Le(a, e, s) {
384
384
  "PendingOfflineNotification",
385
385
  "PendingConfirmation"
386
386
  ];
387
- var D;
387
+ var z;
388
388
  (function(n) {
389
389
  n.Authorized = "Authorized", n.Success = "Success", n.Failed = "Failed", n.Rejected = "Rejected", n.Pending = "Pending";
390
- })(D || (D = {}));
391
- const L = () => {
390
+ })(z || (z = {}));
391
+ const R = () => {
392
392
  let n = k;
393
393
  if (n)
394
394
  return fetch(n).then((r) => r.json()).then((r) => {
@@ -404,10 +404,10 @@ function Le(a, e, s) {
404
404
  });
405
405
  const M = () => {
406
406
  ke(d);
407
- }, U = () => {
407
+ }, E = () => {
408
408
  const n = new URL(`${o}/api/v1/mm/payment/gettransactionshistory`), r = new Headers();
409
409
  r.append("accept", "application/json"), r.append("Content-Type", "application/json"), r.append("X-SessionId", `${c}`);
410
- const h = new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 3)).toISOString(), N = {
410
+ const h = new Date((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 3)).toISOString(), O = {
411
411
  method: "POST",
412
412
  mode: "cors",
413
413
  headers: r,
@@ -428,23 +428,23 @@ function Le(a, e, s) {
428
428
  calculateProfit: !1
429
429
  })
430
430
  };
431
- fetch(n, N).then((m) => m.json()).then((m) => {
432
- s(2, R = Y((m == null ? void 0 : m.items) || []));
431
+ fetch(n, O).then((m) => m.json()).then((m) => {
432
+ s(2, L = Y(m?.items || []));
433
433
  }).catch((m) => console.log(m));
434
434
  }, Y = (n) => n.map((r) => {
435
435
  let h = r.generalFields.status;
436
- return r.generalFields.status.toLowerCase().includes("pending") && (h = D.Pending), {
436
+ return r.generalFields.status.toLowerCase().includes("pending") && (h = z.Pending), {
437
437
  Code: r.generalFields.code,
438
- Date: xe(r.generalFields.created).format(Re),
438
+ Date: xe(r.generalFields.created).format(Le),
439
439
  Status: h,
440
440
  Type: r.generalFields.type
441
441
  };
442
442
  }) || [], P = (n) => {
443
443
  const r = n.currentTarget;
444
444
  n.target === r && navigator.clipboard.writeText(r.innerText).then(() => {
445
- s(3, z = !0), clearTimeout(C), C = setTimeout(
445
+ s(3, D = !0), clearTimeout(C), C = setTimeout(
446
446
  () => {
447
- s(3, z = !1);
447
+ s(3, D = !1);
448
448
  },
449
449
  2e3
450
450
  );
@@ -453,7 +453,7 @@ function Le(a, e, s) {
453
453
  });
454
454
  }, S = (n) => P(n);
455
455
  function g(n) {
456
- we[n ? "unshift" : "push"](() => {
456
+ fe[n ? "unshift" : "push"](() => {
457
457
  y = n, s(1, y);
458
458
  });
459
459
  }
@@ -464,14 +464,14 @@ function Le(a, e, s) {
464
464
  512 && d && M(), a.$$.dirty & /*clientstyling, customStylingContainer*/
465
465
  2050 && w && y && Ce(y, w), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
466
466
  4098 && x && y && Se(y, x), a.$$.dirty & /*endpoint, session, customerid, lang*/
467
- 1920 && o && c && u && d && U(), a.$$.dirty & /*translationurl*/
468
- 8192 && k && L();
467
+ 1920 && o && c && u && d && E(), a.$$.dirty & /*translationurl*/
468
+ 8192 && k && R();
469
469
  }, [
470
470
  p,
471
471
  y,
472
- R,
473
- z,
472
+ L,
474
473
  D,
474
+ z,
475
475
  i,
476
476
  P,
477
477
  o,
@@ -491,9 +491,9 @@ class Pe extends ie {
491
491
  super(), ne(
492
492
  this,
493
493
  e,
494
- Le,
494
+ Re,
495
495
  je,
496
- le,
496
+ ae,
497
497
  {
498
498
  endpoint: 7,
499
499
  session: 8,
@@ -512,58 +512,58 @@ class Pe extends ie {
512
512
  return this.$$.ctx[7];
513
513
  }
514
514
  set endpoint(e) {
515
- this.$$set({ endpoint: e }), E();
515
+ this.$$set({ endpoint: e }), U();
516
516
  }
517
517
  get session() {
518
518
  return this.$$.ctx[8];
519
519
  }
520
520
  set session(e) {
521
- this.$$set({ session: e }), E();
521
+ this.$$set({ session: e }), U();
522
522
  }
523
523
  get lang() {
524
524
  return this.$$.ctx[9];
525
525
  }
526
526
  set lang(e) {
527
- this.$$set({ lang: e }), E();
527
+ this.$$set({ lang: e }), U();
528
528
  }
529
529
  get customerid() {
530
530
  return this.$$.ctx[10];
531
531
  }
532
532
  set customerid(e) {
533
- this.$$set({ customerid: e }), E();
533
+ this.$$set({ customerid: e }), U();
534
534
  }
535
535
  get clientstyling() {
536
536
  return this.$$.ctx[11];
537
537
  }
538
538
  set clientstyling(e) {
539
- this.$$set({ clientstyling: e }), E();
539
+ this.$$set({ clientstyling: e }), U();
540
540
  }
541
541
  get clientstylingurl() {
542
542
  return this.$$.ctx[12];
543
543
  }
544
544
  set clientstylingurl(e) {
545
- this.$$set({ clientstylingurl: e }), E();
545
+ this.$$set({ clientstylingurl: e }), U();
546
546
  }
547
547
  get translationurl() {
548
548
  return this.$$.ctx[13];
549
549
  }
550
550
  set translationurl(e) {
551
- this.$$set({ translationurl: e }), E();
551
+ this.$$set({ translationurl: e }), U();
552
552
  }
553
553
  get tooltipduration() {
554
554
  return this.$$.ctx[0];
555
555
  }
556
556
  set tooltipduration(e) {
557
- this.$$set({ tooltipduration: e }), E();
557
+ this.$$set({ tooltipduration: e }), U();
558
558
  }
559
559
  get txncount() {
560
560
  return this.$$.ctx[14];
561
561
  }
562
562
  set txncount(e) {
563
- this.$$set({ txncount: e }), E();
563
+ this.$$set({ txncount: e }), U();
564
564
  }
565
565
  }
566
- ae(Pe, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {} }, [], [], !0);
566
+ we(Pe, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {} }, [], [], !0);
567
567
  export {
568
568
  Pe as default
569
569
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-DMmJumcl.cjs"),B=require("./CashierModal-BuM2Yq-y.cjs"),L=require("./CashierError-BexC5v5g.cjs"),X=require("./CashierMethodDetails-BkMrmz0j.cjs");L.init({fallbackLocale:"en"});function E(i,e){L.addMessages(i,e)}function G(i){L.$locale.set(i)}const U={en:{transactionHistoryTitle:"Transaction History",transactionIdTitle:"ID",transactionDateTitle:"Date",transactionTypeTitle:"Type",transactionStatusTitle:"Status",copyTransactionId:"Transaction Id copied to clipboard",transactionStatus:{Authorized:"Authorized",Success:"Success",Failed:"Failed",Rejected:"Rejected",Pending:"Pending"},transactionType:{Deposit:"Deposit",Withdraw:"Withdraw"}},tr:{transactionHistoryTitle:"İşlem Geçmişi",transactionIdTitle:"İşlem ID'si",transactionDateTitle:"Tarih",transactionTypeTitle:"Tip",transactionStatusTitle:"Durum",copyTransactionId:"İşlem ID’si kopyalandı",transactionStatus:{Authorized:"Onaylandı",Success:"Başarılı",Failed:"Başarısız",Rejected:"Reddedildi",Pending:"Beklemede"},transactionType:{Deposit:"Para Yatır",Withdraw:"Çekim"}}};function J(i,e){if(i){const a=document.createElement("style");a.innerHTML=e,i.appendChild(a)}}function V(i,e){const a=new URL(e);fetch(a.href).then(n=>n.text()).then(n=>{const r=document.createElement("style");r.innerHTML=n,i&&i.appendChild(r)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function K(i){t.append_styles(i,"svelte-1hhe323",".svelte-1hhe323.svelte-1hhe323,.svelte-1hhe323.svelte-1hhe323::before,.svelte-1hhe323.svelte-1hhe323::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1hhe323.svelte-1hhe323{width:50%;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, #7EC51E);position:absolute;top:-6px;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);padding:4px}.CashierTransactionHistory.svelte-1hhe323.svelte-1hhe323{display:flex;flex-direction:column;position:relative;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-1hhe323 table.svelte-1hhe323{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-1hhe323 table.svelte-1hhe323:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1hhe323 thead tr.svelte-1hhe323{border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);color:var(--mmw--color-grey-10, #111);height:50px}.CashierTransactionHistory.svelte-1hhe323 tbody tr.svelte-1hhe323{color:var(--mmw--color-grey-290, #666)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{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-1hhe323 tr.svelte-1hhe323{position:relative}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1hhe323 .CopyTooltip.svelte-1hhe323{width:100%}.CashierTransactionHistory.svelte-1hhe323 .CashierTransactionId.svelte-1hhe323{max-width:135px}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1hhe323 .CashierTransactionHistoryWrapper.svelte-1hhe323{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323:first-child{max-width:60px}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1hhe323 table.svelte-1hhe323{table-layout:fixed}.CashierTransactionHistory.svelte-1hhe323 table td.svelte-1hhe323{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1hhe323.svelte-1hhe323{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-1hhe323.svelte-1hhe323{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-1hhe323.svelte-1hhe323{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.CashierTransactionId.svelte-1hhe323.svelte-1hhe323:hover{background-color:var(--emw--color-gray-50, #F7F8FA)}.CashierTransactionHistoryStatus.svelte-1hhe323.svelte-1hhe323{display:flex;gap:5px}.CashierTransactionHistoryStatusText.svelte-1hhe323.svelte-1hhe323{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1hhe323.svelte-1hhe323{width:100%}.CashierTransactionHistoryIcon.svelte-1hhe323.svelte-1hhe323{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}")}function O(i,e,a){const n=i.slice();return n[24]=e[a],n[26]=a,n}function W(i){let e,a,n,r=i[5]("transactionHistoryTitle")+"",o,h,d,v,_,T,m,k,z=i[5]("transactionIdTitle")+"",C,g,x,y=i[5]("transactionDateTitle")+"",H,S,I,F=i[5]("transactionTypeTitle")+"",j,R,A,b=i[5]("transactionStatusTitle")+"",f,s,l,c=i[3]&&N(i),P=t.ensure_array_like(i[2]),u=[];for(let p=0;p<P.length;p+=1)u[p]=q(O(i,P,p));return{c(){e=t.element("div"),c&&c.c(),a=t.space(),n=t.element("h3"),o=t.text(r),h=t.space(),d=t.element("div"),v=t.element("div"),_=t.element("table"),T=t.element("thead"),m=t.element("tr"),k=t.element("td"),C=t.text(z),g=t.space(),x=t.element("td"),H=t.text(y),S=t.space(),I=t.element("td"),j=t.text(F),R=t.space(),A=t.element("td"),f=t.text(b),s=t.space(),l=t.element("tbody");for(let p=0;p<u.length;p+=1)u[p].c();t.attr(n,"class","CashierTransactionHistoryTitle svelte-1hhe323"),t.attr(k,"class","svelte-1hhe323"),t.attr(x,"class","svelte-1hhe323"),t.attr(I,"class","svelte-1hhe323"),t.attr(A,"class","svelte-1hhe323"),t.attr(m,"class","svelte-1hhe323"),t.attr(T,"class","svelte-1hhe323"),t.attr(l,"class","svelte-1hhe323"),t.attr(_,"class","svelte-1hhe323"),t.attr(v,"class","CashierTransactionHistoryContent svelte-1hhe323"),t.attr(d,"class","CashierTransactionHistoryWrapper svelte-1hhe323"),t.attr(e,"class","CashierTransactionHistory svelte-1hhe323")},m(p,D){t.insert(p,e,D),c&&c.m(e,null),t.append(e,a),t.append(e,n),t.append(n,o),t.append(e,h),t.append(e,d),t.append(d,v),t.append(v,_),t.append(_,T),t.append(T,m),t.append(m,k),t.append(k,C),t.append(m,g),t.append(m,x),t.append(x,H),t.append(m,S),t.append(m,I),t.append(I,j),t.append(m,R),t.append(m,A),t.append(A,f),t.append(_,s),t.append(_,l);for(let w=0;w<u.length;w+=1)u[w]&&u[w].m(l,null);i[16](e)},p(p,D){if(p[3]?c?(c.p(p,D),D&8&&t.transition_in(c,1)):(c=N(p),c.c(),t.transition_in(c,1),c.m(e,a)):c&&(t.group_outros(),t.transition_out(c,1,1,()=>{c=null}),t.check_outros()),D&32&&r!==(r=p[5]("transactionHistoryTitle")+"")&&t.set_data(o,r),D&32&&z!==(z=p[5]("transactionIdTitle")+"")&&t.set_data(C,z),D&32&&y!==(y=p[5]("transactionDateTitle")+"")&&t.set_data(H,y),D&32&&F!==(F=p[5]("transactionTypeTitle")+"")&&t.set_data(j,F),D&32&&b!==(b=p[5]("transactionStatusTitle")+"")&&t.set_data(f,b),D&124){P=t.ensure_array_like(p[2]);let w;for(w=0;w<P.length;w+=1){const M=O(p,P,w);u[w]?u[w].p(M,D):(u[w]=q(M),u[w].c(),u[w].m(l,null))}for(;w<u.length;w+=1)u[w].d(1);u.length=P.length}},d(p){p&&t.detach(e),c&&c.d(),t.destroy_each(u,p),i[16](null)}}}function N(i){let e,a=i[5]("copyTransactionId")+"",n,r,o,h;return{c(){e=t.element("div"),n=t.text(a),t.attr(e,"class","CopyTooltip svelte-1hhe323")},m(d,v){t.insert(d,e,v),t.append(e,n),h=!0},p(d,v){i=d,(!h||v&32)&&a!==(a=i[5]("copyTransactionId")+"")&&t.set_data(n,a)},i(d){h||(d&&t.add_render_callback(()=>{h&&(o&&o.end(1),r=t.create_in_transition(e,B.fade,{duration:100}),r.start())}),h=!0)},o(d){r&&r.invalidate(),d&&(o=t.create_out_transition(e,B.fade,{duration:i[0]})),h=!1},d(d){d&&t.detach(e),d&&o&&o.end()}}}function Q(i){let e,a,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("circle"),n=t.svg_element("path"),t.attr(a,"cx","12"),t.attr(a,"cy","12"),t.attr(a,"r","10"),t.attr(a,"stroke","#25bf00"),t.attr(a,"stroke-width","2"),t.attr(a,"class","svelte-1hhe323"),t.attr(n,"d","M8 12L11 15L16 9"),t.attr(n,"stroke","#25bf00"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(n,"class","svelte-1hhe323"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1hhe323")},m(r,o){t.insert(r,e,o),t.append(e,a),t.append(e,n)},d(r){r&&t.detach(e)}}}function Z(i){let e,a,n,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("circle"),n=t.svg_element("text"),r=t.text("R"),t.attr(a,"cx","12"),t.attr(a,"cy","12"),t.attr(a,"r","10"),t.attr(a,"stroke","#dd6617d4"),t.attr(a,"stroke-width","2"),t.attr(a,"class","svelte-1hhe323"),t.attr(n,"x","50%"),t.attr(n,"y","54%"),t.attr(n,"text-anchor","middle"),t.attr(n,"dominant-baseline","middle"),t.attr(n,"font-size","14"),t.attr(n,"font-weight","bold"),t.attr(n,"fill","#dd6617d4"),t.attr(n,"font-family","Arial Rounded MT Bold, Arial, sans-serif"),t.attr(n,"class","svelte-1hhe323"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1hhe323")},m(o,h){t.insert(o,e,h),t.append(e,a),t.append(e,n),t.append(n,r)},d(o){o&&t.detach(e)}}}function $(i){let e,a,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("circle"),n=t.svg_element("path"),t.attr(a,"cx","12"),t.attr(a,"cy","12"),t.attr(a,"r","10"),t.attr(a,"stroke","#f0a85f"),t.attr(a,"stroke-width","2"),t.attr(a,"class","svelte-1hhe323"),t.attr(n,"d","M12 7V12L15 14"),t.attr(n,"stroke","#f0a85f"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(n,"class","svelte-1hhe323"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1hhe323")},m(r,o){t.insert(r,e,o),t.append(e,a),t.append(e,n)},d(r){r&&t.detach(e)}}}function tt(i){let e,a,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("circle"),n=t.svg_element("path"),t.attr(a,"cx","12"),t.attr(a,"cy","12"),t.attr(a,"r","10"),t.attr(a,"stroke","#e76049"),t.attr(a,"stroke-width","2"),t.attr(a,"class","svelte-1hhe323"),t.attr(n,"d","M9 9L15 15M15 9L9 15"),t.attr(n,"stroke","#e76049"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(n,"class","svelte-1hhe323"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1hhe323")},m(r,o){t.insert(r,e,o),t.append(e,a),t.append(e,n)},d(r){r&&t.detach(e)}}}function et(i){let e,a,n,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("circle"),n=t.svg_element("text"),r=t.text("A"),t.attr(a,"cx","12"),t.attr(a,"cy","12"),t.attr(a,"r","10"),t.attr(a,"stroke","#32b398"),t.attr(a,"stroke-width","2"),t.attr(a,"class","svelte-1hhe323"),t.attr(n,"x","50%"),t.attr(n,"y","54%"),t.attr(n,"text-anchor","middle"),t.attr(n,"dominant-baseline","middle"),t.attr(n,"font-size","14"),t.attr(n,"font-weight","bold"),t.attr(n,"fill","#32b398"),t.attr(n,"font-family","Arial Rounded MT Bold, Arial, sans-serif"),t.attr(n,"class","svelte-1hhe323"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1hhe323")},m(o,h){t.insert(o,e,h),t.append(e,a),t.append(e,n),t.append(n,r)},d(o){o&&t.detach(e)}}}function q(i){let e,a,n=i[24].Code+"",r,o,h,d=i[24].Date+"",v,_,T,m=i[5](`transactionType.${i[24].Type}`)+"",k,z,C,g,x,y,H,S=i[5](`transactionStatus.${i[24].Status}`)+"",I,F,j,R;function A(s,l){if(s[24].Status===s[4].Authorized)return et;if(s[24].Status===s[4].Failed)return tt;if(s[24].Status===s[4].Pending)return $;if(s[24].Status===s[4].Rejected)return Z;if(s[24].Status===s[4].Success)return Q}let b=A(i),f=b&&b(i);return{c(){e=t.element("tr"),a=t.element("td"),r=t.text(n),o=t.space(),h=t.element("td"),v=t.text(d),_=t.space(),T=t.element("td"),k=t.text(m),z=t.space(),C=t.element("td"),g=t.element("div"),x=t.element("span"),f&&f.c(),y=t.space(),H=t.element("span"),I=t.text(S),F=t.space(),t.attr(a,"class","CashierTransactionId svelte-1hhe323"),t.toggle_class(a,"copied",i[3]),t.attr(h,"class","svelte-1hhe323"),t.attr(T,"class","svelte-1hhe323"),t.attr(x,"class","CashierTransactionHistoryIcon svelte-1hhe323"),t.attr(H,"class","CashierTransactionHistoryStatusText svelte-1hhe323"),t.attr(g,"class","CashierTransactionHistoryStatus svelte-1hhe323"),t.attr(C,"class","svelte-1hhe323"),t.attr(e,"class","svelte-1hhe323")},m(s,l){t.insert(s,e,l),t.append(e,a),t.append(a,r),t.append(e,o),t.append(e,h),t.append(h,v),t.append(e,_),t.append(e,T),t.append(T,k),t.append(e,z),t.append(e,C),t.append(C,g),t.append(g,x),f&&f.m(x,null),t.append(g,y),t.append(g,H),t.append(H,I),t.append(e,F),j||(R=t.listen(a,"mousedown",i[15]),j=!0)},p(s,l){l&4&&n!==(n=s[24].Code+"")&&t.set_data(r,n),l&8&&t.toggle_class(a,"copied",s[3]),l&4&&d!==(d=s[24].Date+"")&&t.set_data(v,d),l&36&&m!==(m=s[5](`transactionType.${s[24].Type}`)+"")&&t.set_data(k,m),b!==(b=A(s))&&(f&&f.d(1),f=b&&b(s),f&&(f.c(),f.m(x,null))),l&36&&S!==(S=s[5](`transactionStatus.${s[24].Status}`)+"")&&t.set_data(I,S)},d(s){s&&t.detach(e),f&&f.d(),j=!1,R()}}}function at(i){let e,a=i[2].length&&W(i);return{c(){a&&a.c(),e=t.empty()},m(n,r){a&&a.m(n,r),t.insert(n,e,r)},p(n,[r]){n[2].length?a?a.p(n,r):(a=W(n),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null)},i:t.noop,o:t.noop,d(n){n&&t.detach(e),a&&a.d(n)}}}const nt="DD.MM.YYYY";function st(i,e,a){let n;t.component_subscribe(i,L.$format,s=>a(5,n=s));let{endpoint:r}=e,{session:o}=e,{lang:h="en"}=e,{customerid:d}=e,{clientstyling:v=""}=e,{clientstylingurl:_=""}=e,{translationurl:T}=e,{tooltipduration:m=1e3}=e,{txncount:k=3}=e,z=[],C=!1,g,x;var y;(function(s){s.Deposit="deposit",s.Withdraw="withdraw",s.Refund="refund",s.Unknown="unknown",s.TaxDeduction="taxDeduction"})(y||(y={}));const H=["Authorized","Success","Failed","Rejected","PendingApprovalStage1","PendingApprovalStage2","PendingApprovalStage3","PendingNotification","PendingOfflineNotification","PendingConfirmation"];var S;(function(s){s.Authorized="Authorized",s.Success="Success",s.Failed="Failed",s.Rejected="Rejected",s.Pending="Pending"})(S||(S={}));const I=()=>{let s=T;if(s)return fetch(s).then(l=>l.json()).then(l=>{Object.keys(l).forEach(c=>{E(c,l[c])})}).catch(l=>{console.log(l)})};Object.keys(U).forEach(s=>{E(s,U[s])});const F=()=>{G(h)},j=()=>{const s=new URL(`${r}/api/v1/mm/payment/gettransactionshistory`),l=new Headers;l.append("accept","application/json"),l.append("Content-Type","application/json"),l.append("X-SessionId",`${o}`);const c=new Date(new Date().setMonth(new Date().getMonth()-3)).toISOString(),P={method:"POST",mode:"cors",headers:l,body:JSON.stringify({language:h,customerId:d,count:k,page:0,fromDate:c,toDate:null,statuses:{[y.Deposit]:H,[y.Withdraw]:H,[y.Refund]:["Unknown"],[y.TaxDeduction]:["Unknown"],[y.Unknown]:["Unknown"]},calculateProfit:!1})};fetch(s,P).then(u=>u.json()).then(u=>{a(2,z=R((u==null?void 0:u.items)||[]))}).catch(u=>console.log(u))},R=s=>s.map(l=>{let c=l.generalFields.status;return l.generalFields.status.toLowerCase().includes("pending")&&(c=S.Pending),{Code:l.generalFields.code,Date:X.dayjs(l.generalFields.created).format(nt),Status:c,Type:l.generalFields.type}})||[],A=s=>{const l=s.currentTarget;s.target===l&&navigator.clipboard.writeText(l.innerText).then(()=>{a(3,C=!0),clearTimeout(x),x=setTimeout(()=>{a(3,C=!1)},2e3)}).catch(c=>{console.error("Could not copy text: ",c)})},b=s=>A(s);function f(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(1,g)})}return i.$$set=s=>{"endpoint"in s&&a(7,r=s.endpoint),"session"in s&&a(8,o=s.session),"lang"in s&&a(9,h=s.lang),"customerid"in s&&a(10,d=s.customerid),"clientstyling"in s&&a(11,v=s.clientstyling),"clientstylingurl"in s&&a(12,_=s.clientstylingurl),"translationurl"in s&&a(13,T=s.translationurl),"tooltipduration"in s&&a(0,m=s.tooltipduration),"txncount"in s&&a(14,k=s.txncount)},i.$$.update=()=>{i.$$.dirty&512&&h&&F(),i.$$.dirty&2050&&v&&g&&J(g,v),i.$$.dirty&4098&&_&&g&&V(g,_),i.$$.dirty&1920&&r&&o&&d&&h&&j(),i.$$.dirty&8192&&T&&I()},[m,g,z,C,S,n,A,r,o,h,d,v,_,T,k,b,f]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,st,at,t.safe_not_equal,{endpoint:7,session:8,lang:9,customerid:10,clientstyling:11,clientstylingurl:12,translationurl:13,tooltipduration:0,txncount:14},K)}get endpoint(){return this.$$.ctx[7]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get customerid(){return this.$$.ctx[10]}set customerid(e){this.$$set({customerid:e}),t.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get tooltipduration(){return this.$$.ctx[0]}set tooltipduration(e){this.$$set({tooltipduration:e}),t.flush()}get txncount(){return this.$$.ctx[14]}set txncount(e){this.$$set({txncount:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},session:{},lang:{},customerid:{},clientstyling:{},clientstylingurl:{},translationurl:{},tooltipduration:{},txncount:{}},[],[],!0);exports.default=Y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CashierConfirmModal-DMmJumcl.cjs"),B=require("./CashierModal-BuM2Yq-y.cjs"),L=require("./CashierError-CmR-nZrh.cjs"),X=require("./CashierMethodDetails-EaBEBoQO.cjs");L.init({fallbackLocale:"en"});function E(i,e){L.addMessages(i,e)}function G(i){L.$locale.set(i)}const U={en:{transactionHistoryTitle:"Transaction History",transactionIdTitle:"ID",transactionDateTitle:"Date",transactionTypeTitle:"Type",transactionStatusTitle:"Status",copyTransactionId:"Transaction Id copied to clipboard",transactionStatus:{Authorized:"Authorized",Success:"Success",Failed:"Failed",Rejected:"Rejected",Pending:"Pending"},transactionType:{Deposit:"Deposit",Withdraw:"Withdraw"}},tr:{transactionHistoryTitle:"İşlem Geçmişi",transactionIdTitle:"İşlem ID'si",transactionDateTitle:"Tarih",transactionTypeTitle:"Tip",transactionStatusTitle:"Durum",copyTransactionId:"İşlem ID’si kopyalandı",transactionStatus:{Authorized:"Onaylandı",Success:"Başarılı",Failed:"Başarısız",Rejected:"Reddedildi",Pending:"Beklemede"},transactionType:{Deposit:"Para Yatır",Withdraw:"Çekim"}}};function J(i,e){if(i){const a=document.createElement("style");a.innerHTML=e,i.appendChild(a)}}function V(i,e){const a=new URL(e);fetch(a.href).then(n=>n.text()).then(n=>{const r=document.createElement("style");r.innerHTML=n,i&&i.appendChild(r)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function K(i){t.append_styles(i,"svelte-1hhe323",".svelte-1hhe323.svelte-1hhe323,.svelte-1hhe323.svelte-1hhe323::before,.svelte-1hhe323.svelte-1hhe323::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1hhe323.svelte-1hhe323{width:50%;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, #7EC51E);position:absolute;top:-6px;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);padding:4px}.CashierTransactionHistory.svelte-1hhe323.svelte-1hhe323{display:flex;flex-direction:column;position:relative;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-1hhe323 table.svelte-1hhe323{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-1hhe323 table.svelte-1hhe323:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1hhe323 thead tr.svelte-1hhe323{border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);color:var(--mmw--color-grey-10, #111);height:50px}.CashierTransactionHistory.svelte-1hhe323 tbody tr.svelte-1hhe323{color:var(--mmw--color-grey-290, #666)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{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-1hhe323 tr.svelte-1hhe323{position:relative}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1hhe323 .CopyTooltip.svelte-1hhe323{width:100%}.CashierTransactionHistory.svelte-1hhe323 .CashierTransactionId.svelte-1hhe323{max-width:135px}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1hhe323 .CashierTransactionHistoryWrapper.svelte-1hhe323{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1hhe323 td.svelte-1hhe323:first-child{max-width:60px}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1hhe323 table.svelte-1hhe323{table-layout:fixed}.CashierTransactionHistory.svelte-1hhe323 table td.svelte-1hhe323{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1hhe323.svelte-1hhe323{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-1hhe323.svelte-1hhe323{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-1hhe323.svelte-1hhe323{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none}.CashierTransactionId.svelte-1hhe323.svelte-1hhe323:hover{background-color:var(--emw--color-gray-50, #F7F8FA)}.CashierTransactionHistoryStatus.svelte-1hhe323.svelte-1hhe323{display:flex;gap:5px}.CashierTransactionHistoryStatusText.svelte-1hhe323.svelte-1hhe323{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1hhe323.svelte-1hhe323{width:100%}.CashierTransactionHistoryIcon.svelte-1hhe323.svelte-1hhe323{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}")}function O(i,e,a){const n=i.slice();return n[24]=e[a],n[26]=a,n}function W(i){let e,a,n,r=i[5]("transactionHistoryTitle")+"",o,h,d,v,_,T,m,k,z=i[5]("transactionIdTitle")+"",C,g,x,y=i[5]("transactionDateTitle")+"",H,S,I,F=i[5]("transactionTypeTitle")+"",j,R,A,b=i[5]("transactionStatusTitle")+"",f,s,l,c=i[3]&&N(i),P=t.ensure_array_like(i[2]),u=[];for(let p=0;p<P.length;p+=1)u[p]=q(O(i,P,p));return{c(){e=t.element("div"),c&&c.c(),a=t.space(),n=t.element("h3"),o=t.text(r),h=t.space(),d=t.element("div"),v=t.element("div"),_=t.element("table"),T=t.element("thead"),m=t.element("tr"),k=t.element("td"),C=t.text(z),g=t.space(),x=t.element("td"),H=t.text(y),S=t.space(),I=t.element("td"),j=t.text(F),R=t.space(),A=t.element("td"),f=t.text(b),s=t.space(),l=t.element("tbody");for(let p=0;p<u.length;p+=1)u[p].c();t.attr(n,"class","CashierTransactionHistoryTitle svelte-1hhe323"),t.attr(k,"class","svelte-1hhe323"),t.attr(x,"class","svelte-1hhe323"),t.attr(I,"class","svelte-1hhe323"),t.attr(A,"class","svelte-1hhe323"),t.attr(m,"class","svelte-1hhe323"),t.attr(T,"class","svelte-1hhe323"),t.attr(l,"class","svelte-1hhe323"),t.attr(_,"class","svelte-1hhe323"),t.attr(v,"class","CashierTransactionHistoryContent svelte-1hhe323"),t.attr(d,"class","CashierTransactionHistoryWrapper svelte-1hhe323"),t.attr(e,"class","CashierTransactionHistory svelte-1hhe323")},m(p,D){t.insert(p,e,D),c&&c.m(e,null),t.append(e,a),t.append(e,n),t.append(n,o),t.append(e,h),t.append(e,d),t.append(d,v),t.append(v,_),t.append(_,T),t.append(T,m),t.append(m,k),t.append(k,C),t.append(m,g),t.append(m,x),t.append(x,H),t.append(m,S),t.append(m,I),t.append(I,j),t.append(m,R),t.append(m,A),t.append(A,f),t.append(_,s),t.append(_,l);for(let w=0;w<u.length;w+=1)u[w]&&u[w].m(l,null);i[16](e)},p(p,D){if(p[3]?c?(c.p(p,D),D&8&&t.transition_in(c,1)):(c=N(p),c.c(),t.transition_in(c,1),c.m(e,a)):c&&(t.group_outros(),t.transition_out(c,1,1,()=>{c=null}),t.check_outros()),D&32&&r!==(r=p[5]("transactionHistoryTitle")+"")&&t.set_data(o,r),D&32&&z!==(z=p[5]("transactionIdTitle")+"")&&t.set_data(C,z),D&32&&y!==(y=p[5]("transactionDateTitle")+"")&&t.set_data(H,y),D&32&&F!==(F=p[5]("transactionTypeTitle")+"")&&t.set_data(j,F),D&32&&b!==(b=p[5]("transactionStatusTitle")+"")&&t.set_data(f,b),D&124){P=t.ensure_array_like(p[2]);let w;for(w=0;w<P.length;w+=1){const M=O(p,P,w);u[w]?u[w].p(M,D):(u[w]=q(M),u[w].c(),u[w].m(l,null))}for(;w<u.length;w+=1)u[w].d(1);u.length=P.length}},d(p){p&&t.detach(e),c&&c.d(),t.destroy_each(u,p),i[16](null)}}}function N(i){let e,a=i[5]("copyTransactionId")+"",n,r,o,h;return{c(){e=t.element("div"),n=t.text(a),t.attr(e,"class","CopyTooltip svelte-1hhe323")},m(d,v){t.insert(d,e,v),t.append(e,n),h=!0},p(d,v){i=d,(!h||v&32)&&a!==(a=i[5]("copyTransactionId")+"")&&t.set_data(n,a)},i(d){h||(d&&t.add_render_callback(()=>{h&&(o&&o.end(1),r=t.create_in_transition(e,B.fade,{duration:100}),r.start())}),h=!0)},o(d){r&&r.invalidate(),d&&(o=t.create_out_transition(e,B.fade,{duration:i[0]})),h=!1},d(d){d&&t.detach(e),d&&o&&o.end()}}}function Q(i){let e,a,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("circle"),n=t.svg_element("path"),t.attr(a,"cx","12"),t.attr(a,"cy","12"),t.attr(a,"r","10"),t.attr(a,"stroke","#25bf00"),t.attr(a,"stroke-width","2"),t.attr(a,"class","svelte-1hhe323"),t.attr(n,"d","M8 12L11 15L16 9"),t.attr(n,"stroke","#25bf00"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(n,"class","svelte-1hhe323"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1hhe323")},m(r,o){t.insert(r,e,o),t.append(e,a),t.append(e,n)},d(r){r&&t.detach(e)}}}function Z(i){let e,a,n,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("circle"),n=t.svg_element("text"),r=t.text("R"),t.attr(a,"cx","12"),t.attr(a,"cy","12"),t.attr(a,"r","10"),t.attr(a,"stroke","#dd6617d4"),t.attr(a,"stroke-width","2"),t.attr(a,"class","svelte-1hhe323"),t.attr(n,"x","50%"),t.attr(n,"y","54%"),t.attr(n,"text-anchor","middle"),t.attr(n,"dominant-baseline","middle"),t.attr(n,"font-size","14"),t.attr(n,"font-weight","bold"),t.attr(n,"fill","#dd6617d4"),t.attr(n,"font-family","Arial Rounded MT Bold, Arial, sans-serif"),t.attr(n,"class","svelte-1hhe323"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1hhe323")},m(o,h){t.insert(o,e,h),t.append(e,a),t.append(e,n),t.append(n,r)},d(o){o&&t.detach(e)}}}function $(i){let e,a,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("circle"),n=t.svg_element("path"),t.attr(a,"cx","12"),t.attr(a,"cy","12"),t.attr(a,"r","10"),t.attr(a,"stroke","#f0a85f"),t.attr(a,"stroke-width","2"),t.attr(a,"class","svelte-1hhe323"),t.attr(n,"d","M12 7V12L15 14"),t.attr(n,"stroke","#f0a85f"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(n,"class","svelte-1hhe323"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1hhe323")},m(r,o){t.insert(r,e,o),t.append(e,a),t.append(e,n)},d(r){r&&t.detach(e)}}}function tt(i){let e,a,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("circle"),n=t.svg_element("path"),t.attr(a,"cx","12"),t.attr(a,"cy","12"),t.attr(a,"r","10"),t.attr(a,"stroke","#e76049"),t.attr(a,"stroke-width","2"),t.attr(a,"class","svelte-1hhe323"),t.attr(n,"d","M9 9L15 15M15 9L9 15"),t.attr(n,"stroke","#e76049"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(n,"class","svelte-1hhe323"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1hhe323")},m(r,o){t.insert(r,e,o),t.append(e,a),t.append(e,n)},d(r){r&&t.detach(e)}}}function et(i){let e,a,n,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("circle"),n=t.svg_element("text"),r=t.text("A"),t.attr(a,"cx","12"),t.attr(a,"cy","12"),t.attr(a,"r","10"),t.attr(a,"stroke","#32b398"),t.attr(a,"stroke-width","2"),t.attr(a,"class","svelte-1hhe323"),t.attr(n,"x","50%"),t.attr(n,"y","54%"),t.attr(n,"text-anchor","middle"),t.attr(n,"dominant-baseline","middle"),t.attr(n,"font-size","14"),t.attr(n,"font-weight","bold"),t.attr(n,"fill","#32b398"),t.attr(n,"font-family","Arial Rounded MT Bold, Arial, sans-serif"),t.attr(n,"class","svelte-1hhe323"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"class","svelte-1hhe323")},m(o,h){t.insert(o,e,h),t.append(e,a),t.append(e,n),t.append(n,r)},d(o){o&&t.detach(e)}}}function q(i){let e,a,n=i[24].Code+"",r,o,h,d=i[24].Date+"",v,_,T,m=i[5](`transactionType.${i[24].Type}`)+"",k,z,C,g,x,y,H,S=i[5](`transactionStatus.${i[24].Status}`)+"",I,F,j,R;function A(s,l){if(s[24].Status===s[4].Authorized)return et;if(s[24].Status===s[4].Failed)return tt;if(s[24].Status===s[4].Pending)return $;if(s[24].Status===s[4].Rejected)return Z;if(s[24].Status===s[4].Success)return Q}let b=A(i),f=b&&b(i);return{c(){e=t.element("tr"),a=t.element("td"),r=t.text(n),o=t.space(),h=t.element("td"),v=t.text(d),_=t.space(),T=t.element("td"),k=t.text(m),z=t.space(),C=t.element("td"),g=t.element("div"),x=t.element("span"),f&&f.c(),y=t.space(),H=t.element("span"),I=t.text(S),F=t.space(),t.attr(a,"class","CashierTransactionId svelte-1hhe323"),t.toggle_class(a,"copied",i[3]),t.attr(h,"class","svelte-1hhe323"),t.attr(T,"class","svelte-1hhe323"),t.attr(x,"class","CashierTransactionHistoryIcon svelte-1hhe323"),t.attr(H,"class","CashierTransactionHistoryStatusText svelte-1hhe323"),t.attr(g,"class","CashierTransactionHistoryStatus svelte-1hhe323"),t.attr(C,"class","svelte-1hhe323"),t.attr(e,"class","svelte-1hhe323")},m(s,l){t.insert(s,e,l),t.append(e,a),t.append(a,r),t.append(e,o),t.append(e,h),t.append(h,v),t.append(e,_),t.append(e,T),t.append(T,k),t.append(e,z),t.append(e,C),t.append(C,g),t.append(g,x),f&&f.m(x,null),t.append(g,y),t.append(g,H),t.append(H,I),t.append(e,F),j||(R=t.listen(a,"mousedown",i[15]),j=!0)},p(s,l){l&4&&n!==(n=s[24].Code+"")&&t.set_data(r,n),l&8&&t.toggle_class(a,"copied",s[3]),l&4&&d!==(d=s[24].Date+"")&&t.set_data(v,d),l&36&&m!==(m=s[5](`transactionType.${s[24].Type}`)+"")&&t.set_data(k,m),b!==(b=A(s))&&(f&&f.d(1),f=b&&b(s),f&&(f.c(),f.m(x,null))),l&36&&S!==(S=s[5](`transactionStatus.${s[24].Status}`)+"")&&t.set_data(I,S)},d(s){s&&t.detach(e),f&&f.d(),j=!1,R()}}}function at(i){let e,a=i[2].length&&W(i);return{c(){a&&a.c(),e=t.empty()},m(n,r){a&&a.m(n,r),t.insert(n,e,r)},p(n,[r]){n[2].length?a?a.p(n,r):(a=W(n),a.c(),a.m(e.parentNode,e)):a&&(a.d(1),a=null)},i:t.noop,o:t.noop,d(n){n&&t.detach(e),a&&a.d(n)}}}const nt="DD.MM.YYYY";function st(i,e,a){let n;t.component_subscribe(i,L.$format,s=>a(5,n=s));let{endpoint:r}=e,{session:o}=e,{lang:h="en"}=e,{customerid:d}=e,{clientstyling:v=""}=e,{clientstylingurl:_=""}=e,{translationurl:T}=e,{tooltipduration:m=1e3}=e,{txncount:k=3}=e,z=[],C=!1,g,x;var y;(function(s){s.Deposit="deposit",s.Withdraw="withdraw",s.Refund="refund",s.Unknown="unknown",s.TaxDeduction="taxDeduction"})(y||(y={}));const H=["Authorized","Success","Failed","Rejected","PendingApprovalStage1","PendingApprovalStage2","PendingApprovalStage3","PendingNotification","PendingOfflineNotification","PendingConfirmation"];var S;(function(s){s.Authorized="Authorized",s.Success="Success",s.Failed="Failed",s.Rejected="Rejected",s.Pending="Pending"})(S||(S={}));const I=()=>{let s=T;if(s)return fetch(s).then(l=>l.json()).then(l=>{Object.keys(l).forEach(c=>{E(c,l[c])})}).catch(l=>{console.log(l)})};Object.keys(U).forEach(s=>{E(s,U[s])});const F=()=>{G(h)},j=()=>{const s=new URL(`${r}/api/v1/mm/payment/gettransactionshistory`),l=new Headers;l.append("accept","application/json"),l.append("Content-Type","application/json"),l.append("X-SessionId",`${o}`);const c=new Date(new Date().setMonth(new Date().getMonth()-3)).toISOString(),P={method:"POST",mode:"cors",headers:l,body:JSON.stringify({language:h,customerId:d,count:k,page:0,fromDate:c,toDate:null,statuses:{[y.Deposit]:H,[y.Withdraw]:H,[y.Refund]:["Unknown"],[y.TaxDeduction]:["Unknown"],[y.Unknown]:["Unknown"]},calculateProfit:!1})};fetch(s,P).then(u=>u.json()).then(u=>{a(2,z=R((u==null?void 0:u.items)||[]))}).catch(u=>console.log(u))},R=s=>s.map(l=>{let c=l.generalFields.status;return l.generalFields.status.toLowerCase().includes("pending")&&(c=S.Pending),{Code:l.generalFields.code,Date:X.dayjs(l.generalFields.created).format(nt),Status:c,Type:l.generalFields.type}})||[],A=s=>{const l=s.currentTarget;s.target===l&&navigator.clipboard.writeText(l.innerText).then(()=>{a(3,C=!0),clearTimeout(x),x=setTimeout(()=>{a(3,C=!1)},2e3)}).catch(c=>{console.error("Could not copy text: ",c)})},b=s=>A(s);function f(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(1,g)})}return i.$$set=s=>{"endpoint"in s&&a(7,r=s.endpoint),"session"in s&&a(8,o=s.session),"lang"in s&&a(9,h=s.lang),"customerid"in s&&a(10,d=s.customerid),"clientstyling"in s&&a(11,v=s.clientstyling),"clientstylingurl"in s&&a(12,_=s.clientstylingurl),"translationurl"in s&&a(13,T=s.translationurl),"tooltipduration"in s&&a(0,m=s.tooltipduration),"txncount"in s&&a(14,k=s.txncount)},i.$$.update=()=>{i.$$.dirty&512&&h&&F(),i.$$.dirty&2050&&v&&g&&J(g,v),i.$$.dirty&4098&&_&&g&&V(g,_),i.$$.dirty&1920&&r&&o&&d&&h&&j(),i.$$.dirty&8192&&T&&I()},[m,g,z,C,S,n,A,r,o,h,d,v,_,T,k,b,f]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,st,at,t.safe_not_equal,{endpoint:7,session:8,lang:9,customerid:10,clientstyling:11,clientstylingurl:12,translationurl:13,tooltipduration:0,txncount:14},K)}get endpoint(){return this.$$.ctx[7]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),t.flush()}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),t.flush()}get customerid(){return this.$$.ctx[10]}set customerid(e){this.$$set({customerid:e}),t.flush()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get tooltipduration(){return this.$$.ctx[0]}set tooltipduration(e){this.$$set({tooltipduration:e}),t.flush()}get txncount(){return this.$$.ctx[14]}set txncount(e){this.$$set({txncount:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},session:{},lang:{},customerid:{},clientstyling:{},clientstylingurl:{},translationurl:{},tooltipduration:{},txncount:{}},[],[],!0);exports.default=Y;