@everymatrix/cashier-page 1.92.8 → 1.92.21

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 (78) hide show
  1. package/components/CashierCarousel-B-cM-nlR.js +5797 -0
  2. package/components/CashierCarousel-CXoovlrR.js +5835 -0
  3. package/components/CashierCarousel-DMrMmClP.cjs +23 -0
  4. package/components/{CashierError-C854_1dB.js → CashierError-66WHxjwV.js} +45 -44
  5. package/components/{CashierError-D638x9x-.js → CashierError-BCtelxyY.js} +46 -45
  6. package/components/CashierError-BL_rmfvV.cjs +1 -0
  7. package/components/CashierHeader-B7FnLv3f.js +397 -0
  8. package/components/CashierHeader-BbP0idUh.js +397 -0
  9. package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
  10. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
  11. package/components/{CashierIframeRedirect-BUcU3T5U.js → CashierIframeRedirect-C3muwYdO.js} +106 -91
  12. package/components/{CashierIframeRedirect-BhmYmTKc.js → CashierIframeRedirect-Ti9O6xV-.js} +108 -93
  13. package/components/{CashierMethodDetails-iZTHVxaU.js → CashierMethodDetails-C7odWYEI.js} +3987 -3408
  14. package/components/CashierMethodDetails-DjLhLSey.cjs +85 -0
  15. package/components/{CashierMethodDetails-BOhUmKCH.js → CashierMethodDetails-JQOw_ppF.js} +4016 -3438
  16. package/components/{CashierMethodsList-B97v3Xuh.js → CashierMethodsList-C-7-CmRx.js} +65 -65
  17. package/components/CashierMethodsList-CNxb5rVf.cjs +1 -0
  18. package/components/{CashierMethodsList-eUczF6XC.js → CashierMethodsList-CZxMoF32.js} +56 -56
  19. package/components/{CashierModal-C4MoXHG7.js → CashierModal-B1pfSpCs.js} +36 -37
  20. package/components/{CashierModal-BUkNhHpl.js → CashierModal-BsrmgnKi.js} +32 -33
  21. package/components/CashierModal-DF8meLAZ.cjs +1 -0
  22. package/components/CashierNotifications-B8bRZMac.cjs +1 -0
  23. package/components/{CashierNotifications-BatwRhbq.js → CashierNotifications-BXxNDzMM.js} +3 -3
  24. package/components/{CashierNotifications-C0NjswTn.js → CashierNotifications-DbJuswYZ.js} +5 -5
  25. package/components/CashierPage-Bhgj76MY.js +4490 -0
  26. package/components/CashierPage-CIxAkXYb.js +4460 -0
  27. package/components/CashierPage-iIGUB5g4.cjs +1 -0
  28. package/components/CashierReceiptPage-B530KWIS.cjs +26 -0
  29. package/components/{CashierReceiptPage-CdqmVXe9.js → CashierReceiptPage-DGZSqJFO.js} +169 -156
  30. package/components/{CashierReceiptPage-2rVfG2fm.js → CashierReceiptPage-DjfCUH2F.js} +177 -164
  31. package/components/{CashierSessionExpirationModal-CK0YLZbU.js → CashierSessionExpirationModal-BKxhGCj9.js} +254 -267
  32. package/components/CashierSessionExpirationModal-C6owPr_u.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-0EbJrsdx.js → CashierSessionExpirationModal-CU8HtTwA.js} +267 -280
  34. package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
  35. package/components/{CashierSpinner-hEROg29-.js → CashierSpinner-DMrM0bGx.js} +10 -11
  36. package/components/{CashierSpinner-DGz_dycp.js → CashierSpinner-gJqeYU1n.js} +12 -13
  37. package/components/{CashierStepUp-CrJocLXp.js → CashierStepUp-B530YrSp.js} +168 -169
  38. package/components/{CashierStepUp-q7iSJelQ.js → CashierStepUp-BtmD9q4i.js} +245 -246
  39. package/components/CashierStepUp-DKytvkqu.cjs +1 -0
  40. package/components/{CashierTransactionHistory-sGV35WcB.js → CashierTransactionHistory-CWxjn4dO.js} +71 -71
  41. package/components/CashierTransactionHistory-CYaB1hEN.cjs +1 -0
  42. package/components/{CashierTransactionHistory-BrgrDNsw.js → CashierTransactionHistory-D1hopcmz.js} +66 -66
  43. package/components/{CashierVerifications-yC2Ur1H-.js → CashierVerifications-B3UcXWeI.js} +142 -158
  44. package/components/{CashierVerifications-DnM9z8za.js → CashierVerifications-CWsTc0hE.js} +102 -118
  45. package/components/CashierVerifications-D3X4oFbB.cjs +1 -0
  46. package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
  47. package/components/{TxnStatusIcon-BduMMfo6.js → TxnStatusIcon-DCSCOAn2.js} +1 -1
  48. package/components/{TxnStatusIcon-rwPr0B_L.js → TxnStatusIcon-DRFHs_0F.js} +8 -8
  49. package/components/{TxnTypeIcons-ByJ8NlBp.js → TxnTypeIcons-Bg7QJKuH.js} +1 -1
  50. package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
  51. package/components/{TxnTypeIcons-DQrCawdt.js → TxnTypeIcons-D37zQDwq.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +7 -7
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-CFDrfBto.cjs +0 -1
  57. package/components/CashierCarousel-JhSTmzvt.js +0 -672
  58. package/components/CashierCarousel-PsCjjLe2.js +0 -675
  59. package/components/CashierError-zeIQl4g_.cjs +0 -1
  60. package/components/CashierHeader-Bp8vaWrp.cjs +0 -1
  61. package/components/CashierHeader-D-mMGt-Y.js +0 -456
  62. package/components/CashierHeader-il09PBLP.js +0 -456
  63. package/components/CashierIframeRedirect-CMcw96Fv.cjs +0 -1
  64. package/components/CashierMethodDetails-DnbNzQW6.cjs +0 -85
  65. package/components/CashierMethodsList-B_9i2Q2s.cjs +0 -1
  66. package/components/CashierModal-Dq36GGc7.cjs +0 -1
  67. package/components/CashierNotifications-BB8FN1j_.cjs +0 -1
  68. package/components/CashierPage-Cc-WWhS2.cjs +0 -23
  69. package/components/CashierPage-DRWrUyaV.js +0 -9936
  70. package/components/CashierPage-HxKce2E6.js +0 -9989
  71. package/components/CashierReceiptPage-CF7knTfT.cjs +0 -26
  72. package/components/CashierSessionExpirationModal-Dht4fdo7.cjs +0 -2
  73. package/components/CashierSpinner-D78lroyw.cjs +0 -1
  74. package/components/CashierStepUp-Dr4sPwOr.cjs +0 -1
  75. package/components/CashierTransactionHistory-sQ3KzTVb.cjs +0 -1
  76. package/components/CashierVerifications-t7V-5Qq2.cjs +0 -1
  77. package/components/TxnStatusIcon-DwP4kCaz.cjs +0 -1
  78. package/components/TxnTypeIcons-DwmzII52.cjs +0 -1
@@ -1,13 +1,21 @@
1
- import { a as $1, i as ee, $ as te, S as ne, b as ie, s as ae, f as L, d as oe, z as d1, g as h, l as w, n as C, p as l, q as se, M as D1, N as re, r as le, K as ce, I as ue, Z as W1, y as H1, C as I1, h as z1, a8 as pe, t as de, a9 as fe, m as c, o as k, ac as me, H as Ce, ad as ge, w as R, x as M, O as T, F as he, A as M1, v as P1, D as L1, E as X1, P as N, J as A1, c as we, B as be } from "./CashierPage-DRWrUyaV.js";
2
- import { f as j1 } from "./CashierSessionExpirationModal-0EbJrsdx.js";
3
- import { s as ye, a as ve, b as _e } from "./CashierHeader-il09PBLP.js";
1
+ import { ac as ee, a as te, i as ne, $ as ie, S as ae, b as oe, s as se, f as L, c as re, G as d1, e as h, k as w, m as C, o as l, p as le, q as ce, O as ue, U as pe, y as W1, N as H1, g as I1, a6 as de, t as fe, a7 as me, l as c, n as k, ad as Ce, L as ge, ae as he, v as R, w as S, A as T, a2 as we, x as S1, r as P1, Z as D1, a4 as X1, X as N, z as z1, B as be, C as ye, D as ve, E as _e, F as ke } from "./CashierCarousel-B-cM-nlR.js";
2
+ import { d as L1, u as Te, a as A1 } from "./CashierMethodDetails-JQOw_ppF.js";
3
+ function j1(i, { delay: e = 0, duration: t = 400, easing: n = ee } = {}) {
4
+ const a = +getComputedStyle(i).opacity;
5
+ return {
6
+ delay: e,
7
+ duration: t,
8
+ easing: n,
9
+ css: (s) => `opacity: ${s * a}`
10
+ };
11
+ }
4
12
  function Z1(i, e) {
5
- $1(i, e);
13
+ te(i, e);
6
14
  }
7
- function ke(i) {
8
- ee({
15
+ function Re(i) {
16
+ ne({
9
17
  fallbackLocale: "en"
10
- }), te.set(i);
18
+ }), ie.set(i);
11
19
  }
12
20
  const V1 = {
13
21
  en: {
@@ -286,7 +294,7 @@ const V1 = {
286
294
  uploadDocuments: "Télécharger des documents",
287
295
  goToHomepage: "Aller à la page d’accueil"
288
296
  }
289
- }, Te = (i, e) => `${i + xe[e]}`, Re = (i, e) => `${Se[e]}.${J1[i]}.text`, Me = (i) => `${J1[`${i}`]}`, xe = {
297
+ }, Se = (i, e) => `${i + De[e]}`, Me = (i, e) => `${Le[e]}.${J1[i]}.text`, xe = (i) => `${J1[`${i}`]}`, De = {
290
298
  Success: "/txn-success.png",
291
299
  Voided: "/txn-success.png",
292
300
  Rejected: "/txn-failed.png",
@@ -298,7 +306,7 @@ const V1 = {
298
306
  PendingApprovalStage2: "/txn-pending.png",
299
307
  PendingApprovalStage3: "/txn-pending.png",
300
308
  PendingOfflineNotification: "/txn-pending.png"
301
- }, Se = {
309
+ }, Le = {
302
310
  Deposit: "deposit",
303
311
  Withdraw: "withdrawal"
304
312
  }, J1 = {
@@ -343,8 +351,8 @@ const V1 = {
343
351
  </svg>
344
352
  `
345
353
  };
346
- function De(i) {
347
- oe(i, "svelte-nkabfs", '.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);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:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}');
354
+ function Pe(i) {
355
+ re(i, "svelte-nkabfs", '.LoadingOverlay{width:100%;height:100%;display:flex;position:relative;top:0;left:0;justify-content:center;align-items:center;z-index:100;background:transparent}.CopyTooltip{transform:translateX(-50%);color:var(--emw--color-typography, #fff);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:15px;position:fixed;left:50%;top:40%;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:#12191f;max-width:600px;z-index:3;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3)}.CopyTooltip::before{content:"";position:absolute;inset:0;opacity:0.2;z-index:-1;pointer-events:none;border-radius:10px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-black, #12191f) 65%)}.Spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid var(--emw--color-primary, #f9c405);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.CashierReceiptPageWidget{position:relative}.CashierReceiptPage{border-radius:var(--emw--border-radius-medium-plus, 6px);background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));padding:0 0 var(--emw--spacing-small-minus, 10px) 0;margin:0 auto;position:relative;word-wrap:break-word;display:flex;flex-direction:column;justify-content:space-between;height:100%}.ReceiptWrapper{width:100%;height:200px;border-bottom:1px solid var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;align-items:flex-end;flex-direction:row-reverse;position:relative}.ReceiptWrapper .ImagePlaceholder{height:100%;width:100%;background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.success{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.fail{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.pending{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.cancel{background:#e6e6e6}.ReceiptWrapper .ImagePlaceholder.rejected{background:#e6e6e6}.ReceiptStatusWrapper{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 30px 0;gap:10px}.ReceiptStatusWrapper .ReceiptStatusIcon.success svg,.ReceiptStatusWrapper .ReceiptStatusIcon.success circle,.ReceiptStatusWrapper .ReceiptStatusIcon.success path{fill:var(--emw--color-valid, #41d195)}.ReceiptStatusWrapper .ReceiptStatusIcon.pending svg,.ReceiptStatusWrapper .ReceiptStatusIcon.pending circle,.ReceiptStatusWrapper .ReceiptStatusIcon.pending path{fill:var(--emw--color-pending, #ff6836)}.ReceiptStatusWrapper .ReceiptStatusIcon.failed svg,.ReceiptStatusWrapper .ReceiptStatusIcon.failed circle,.ReceiptStatusWrapper .ReceiptStatusIcon.failed path{fill:var(--emw--color-error, #ff3636)}.ReceiptStatusWrapper .ReceiptStatusText{text-align:center}.ReceiptStatusWrapper .ReceiptStatusText h3,.ReceiptStatusWrapper .ReceiptStatusText p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));padding:0;margin:10px}.ReceiptStatusWrapper .ReceiptStatusText p{font-size:14px;font-weight:200}.ReceiptStatusWrapper .TryAgainBtn,.ReceiptStatusWrapper .RefreshButton{border-radius:20px;padding:7px 20px;border:none;box-shadow:inset 0px 0px 0px 2px rgba(255, 226, 123, 0.3);color:var(--emw--color-white, #ffffff);background-color:rgba(249, 196, 8, 0.3019607843)}.ReceiptDetailsWrapper{position:relative;display:flex;flex-direction:column;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:20px;margin:10px;z-index:1}.ReceiptDetailsWrapper::before{content:"";position:absolute;inset:0;opacity:0.3;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%)}.ReceiptDetailsWrapper .TxnId{cursor:pointer}.ReceiptDetailsWrapper .TxnId .TxnIdText{overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap}.ReceiptDetailsWrapper .Amount,.ReceiptDetailsWrapper .Status,.ReceiptDetailsWrapper .TxnId,.ReceiptDetailsWrapper .PaymentMethod,.ReceiptDetailsWrapper .PaymentTime{display:flex;justify-content:space-between;align-items:center;color:var(--emw--color-typography, var(--emw--color-white, #ffffff))}.ReceiptDetailsWrapper .Amount p,.ReceiptDetailsWrapper .Status p,.ReceiptDetailsWrapper .TxnId p,.ReceiptDetailsWrapper .PaymentMethod p,.ReceiptDetailsWrapper .PaymentTime p{font-weight:200;font-size:12px;margin-right:5px;width:auto}.ReceiptDetailsWrapper .Amount span,.ReceiptDetailsWrapper .Status span,.ReceiptDetailsWrapper .TxnId span,.ReceiptDetailsWrapper .PaymentMethod span,.ReceiptDetailsWrapper .PaymentTime span{font-size:12px;word-break:break-all;font-weight:500;max-width:70%;text-align:right}.ReceiptDetailsWrapper .Status{border-bottom:1px solid rgba(255, 255, 255, 0.276);padding-bottom:10px}.ReceiptDetailsWrapper .Status span{padding:10px;font-size:var(--emw--font-size-small, 12px);border-radius:16px}.ReceiptDetailsWrapper .Status.success span{background-color:rgba(65, 209, 149, 0.1215686275);color:var(--emw--color-valid, #41d195)}.ReceiptDetailsWrapper .Status.pending span{background-color:rgba(255, 104, 54, 0.1215686275);color:var(--emw--color-pending, #ff6836)}.ReceiptDetailsWrapper .Status.failed span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .Status.rejected span{background-color:rgba(209, 65, 65, 0.1215686275);color:var(--emw--color-error, #ff3636)}.ReceiptDetailsWrapper .TxnId{margin-top:15px}.TitleWrapper{display:flex;position:absolute;left:0;bottom:11px;flex-direction:column;justify-content:flex-end;flex-shrink:0}.Title{color:var(--emw--color-gray-10, #111);font-size:var(--emw--font-size-x-large-plus, 26px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;line-height:var(--emw--font-size-x-large-plus, 26px)}.SubTitle{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-290, #666);margin-top:var(--emw--spacing-small, 12px)}.Text{padding:var(--emw--spacing-small, 12px) 0;font-size:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-10, #111)}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:130%;text-align:center}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.Reference{color:var(--emw--color-gray-290, #666);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-normal, 400);margin:0}.ReceiptButtonsWrapper{display:grid;grid-template-columns:1fr 1fr 1fr;height:75px;gap:8px;margin:0 10px}.ReceiptButtonsWrapper .GoToButton{cursor:pointer;border-radius:8px;border:none;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-gey-600, rgba(237, 237, 237, 0.0784313725));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px;transition:all 0.3s ease}.ReceiptButtonsWrapper .GoToButton:hover,.ReceiptButtonsWrapper .GoToButton:active{transform:scale(1.05)}.DefaultButton{text-transform:uppercase;font-weight:var(--emw--font-weight-semibold, 600);color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));border:none;background:var(--emw--color-primary, #f9c408);cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;border-radius:var(--emw--border-radius-medium, 12px);min-height:44px;font-size:var(--emw--font-size-medium, 16px);font-family:inherit;margin:20px 10px;width:calc(100% - 20px);transition:background 0.3s ease}.DefaultButton:hover{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-hover, #dbac03)}.DefaultButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background:var(--emw--color-active, #fecd1c)}.HeaderButtonContainer{position:absolute;z-index:1;right:0;top:0;display:flex;align-items:baseline;gap:var(--emw--spacing-small, 12px);padding:var(--emw--spacing-small, 12px) 0}.HeaderButtonContainer>span{cursor:pointer}.ReceiptField{font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-medium, 16px);line-height:var(--emw--font-size-medium, 16px);color:var(--emw--color-gray-150, #666);margin:var(--emw--spacing-small, 12px)}@media(min-width: 750px){.CashierReceiptPage{background-color:transparent}.CashierReceiptPageWidget{position:absolute;width:calc(100% - 20px)}}.CustomButtonSvg svg{width:32px;height:32px;fill:var(--emw--color-primary)}');
348
356
  }
349
357
  function N1(i, e, t) {
350
358
  const n = i.slice();
@@ -354,8 +362,8 @@ function Y1(i, e, t) {
354
362
  const n = i.slice();
355
363
  return n[73] = e[t], n;
356
364
  }
357
- function Le(i) {
358
- let e, t, n = I1(
365
+ function Be(i) {
366
+ let e, t, n = H1(
359
367
  /*userAgent*/
360
368
  i[25]
361
369
  ) && /*showverifications*/
@@ -369,13 +377,13 @@ function Le(i) {
369
377
  /*txnInfo*/
370
378
  u[15]
371
379
  )
372
- return We;
380
+ return Ie;
373
381
  if (
374
382
  /*errorResponseCode*/
375
383
  u[19] && !/*showErrorOutsideReceiptPage*/
376
384
  u[20]
377
385
  )
378
- return Be;
386
+ return He;
379
387
  }
380
388
  let d = p(i), f = d && d(i);
381
389
  return {
@@ -388,10 +396,10 @@ function Le(i) {
388
396
  p(u, g) {
389
397
  /*copied*/
390
398
  u[23] ? s ? (s.p(u, g), g[0] & /*copied*/
391
- 8388608 && z1(s, 1)) : (s = K1(u), s.c(), z1(s, 1), s.m(e.parentNode, e)) : s && (pe(), de(s, 1, 1, () => {
399
+ 8388608 && I1(s, 1)) : (s = K1(u), s.c(), I1(s, 1), s.m(e.parentNode, e)) : s && (de(), fe(s, 1, 1, () => {
392
400
  s = null;
393
- }), fe()), g[0] & /*showverifications, displayVerifications*/
394
- 4194816 && (n = I1(
401
+ }), me()), g[0] & /*showverifications, displayVerifications*/
402
+ 4194816 && (n = H1(
395
403
  /*userAgent*/
396
404
  u[25]
397
405
  ) && /*showverifications*/
@@ -403,7 +411,7 @@ function Le(i) {
403
411
  }
404
412
  };
405
413
  }
406
- function Pe(i) {
414
+ function We(i) {
407
415
  let e;
408
416
  return {
409
417
  c() {
@@ -425,7 +433,7 @@ function K1(i) {
425
433
  ), n, a, s, o;
426
434
  return {
427
435
  c() {
428
- e = C("div"), n = M(t), l(e, "class", "CopyTooltip");
436
+ e = C("div"), n = S(t), l(e, "class", "CopyTooltip");
429
437
  },
430
438
  m(p, d) {
431
439
  w(p, e, d), c(e, n), o = !0;
@@ -436,12 +444,12 @@ function K1(i) {
436
444
  p[24]("copyTransactionId") + "") && R(n, t);
437
445
  },
438
446
  i(p) {
439
- o || (p && Ce(() => {
440
- o && (s && s.end(1), a = ge(e, j1, { duration: 100 }), a.start());
447
+ o || (p && ge(() => {
448
+ o && (s && s.end(1), a = he(e, j1, { duration: 100 }), a.start());
441
449
  }), o = !0);
442
450
  },
443
451
  o(p) {
444
- a && a.invalidate(), p && (s = me(e, j1, { duration: 1e3 })), o = !1;
452
+ a && a.invalidate(), p && (s = Ce(e, j1, { duration: 1e3 })), o = !1;
445
453
  },
446
454
  d(p) {
447
455
  p && h(e), p && s && s.end();
@@ -542,11 +550,11 @@ function U1(i) {
542
550
  }
543
551
  };
544
552
  }
545
- function Be(i) {
553
+ function He(i) {
546
554
  let e, t = (
547
555
  /*errorResponseCode*/
548
556
  i[19] === /*ResponseCode*/
549
- i[13].Maintenance && F1(i)
557
+ i[13].Maintenance && O1(i)
550
558
  );
551
559
  return {
552
560
  c() {
@@ -588,7 +596,7 @@ function Be(i) {
588
596
  p(n, a) {
589
597
  /*errorResponseCode*/
590
598
  n[19] === /*ResponseCode*/
591
- n[13].Maintenance ? t ? t.p(n, a) : (t = F1(n), t.c(), t.m(e, null)) : t && (t.d(1), t = null), a[0] & /*assetsurl*/
599
+ n[13].Maintenance ? t ? t.p(n, a) : (t = O1(n), t.c(), t.m(e, null)) : t && (t.d(1), t = null), a[0] & /*assetsurl*/
592
600
  32 && T(
593
601
  e,
594
602
  "assetsurl",
@@ -631,7 +639,7 @@ function Be(i) {
631
639
  }
632
640
  };
633
641
  }
634
- function We(i) {
642
+ function Ie(i) {
635
643
  let e, t, n, a, s, o = (
636
644
  /*$_*/
637
645
  i[24]("amount") + ""
@@ -645,16 +653,16 @@ function We(i) {
645
653
  ), E, Y, a1, D, H, J = (
646
654
  /*$_*/
647
655
  i[24]("transactionId") + ""
648
- ), o1, f1, F, s1 = (
656
+ ), o1, f1, O, s1 = (
649
657
  /*txnInfo*/
650
658
  i[15].referenceId + ""
651
- ), m1, C1, Q, $, x = (
659
+ ), m1, C1, Q, $, M = (
652
660
  /*$_*/
653
661
  i[24]("payemntMethod") + ""
654
- ), y1, x1, S, r1, v1, A, e1, t1 = (
662
+ ), y1, M1, x, r1, v1, A, e1, t1 = (
655
663
  /*$_*/
656
664
  i[24]("paymentTime") + ""
657
- ), l1, c1, _1, u1 = D1(
665
+ ), l1, c1, _1, u1 = L1(
658
666
  /*txnInfo*/
659
667
  i[15].time
660
668
  ).format("MMM DD, YYYY, HH:mm:ss") + "", g1, n1, i1, h1, X, k1, p1, w1, T1;
@@ -663,54 +671,54 @@ function We(i) {
663
671
  /*txnStatus*/
664
672
  m[21] === "success"
665
673
  )
666
- return ze;
674
+ return je;
667
675
  if (
668
676
  /*txnStatus*/
669
677
  m[21] === "pending"
670
678
  )
671
- return Ie;
679
+ return Ae;
672
680
  if (
673
681
  /*txnStatus*/
674
682
  m[21] === "failed" || /*txnStatus*/
675
683
  m[21] === "rejected" || /*txnStatus*/
676
684
  m[21] === "canceled"
677
685
  )
678
- return He;
686
+ return ze;
679
687
  }
680
688
  let G = R1(i), I = G && G(i), z = (
681
689
  /*displayedButtons*/
682
- i[12].length > 0 && O1(i)
690
+ i[12].length > 0 && F1(i)
683
691
  );
684
- function S1(m, _) {
692
+ function x1(m, _) {
685
693
  return (
686
694
  /*txnInfo*/
687
- m[15].type ? je : Ae
695
+ m[15].type ? Ve : Ze
688
696
  );
689
697
  }
690
- let b1 = S1(i), K = b1(i), j = (
698
+ let b1 = x1(i), K = b1(i), j = (
691
699
  /*receiptFields*/
692
700
  i[16].length && q1(i)
693
701
  );
694
702
  return {
695
703
  c() {
696
- e = C("div"), I && I.c(), t = k(), n = C("div"), a = C("div"), s = C("p"), p = M(o), d = k(), f = C("span"), u = M(
704
+ e = C("div"), I && I.c(), t = k(), n = C("div"), a = C("div"), s = C("p"), p = S(o), d = k(), f = C("span"), u = S(
697
705
  /*amount*/
698
706
  i[17]
699
- ), g = k(), y = C("div"), b = C("p"), B = M(v), U = k(), Z = C("span"), E = M(V), a1 = k(), D = C("div"), H = C("p"), o1 = M(J), f1 = k(), F = C("span"), m1 = M(s1), C1 = k(), Q = C("div"), $ = C("p"), y1 = M(x), x1 = k(), S = C("span"), r1 = M(
707
+ ), g = k(), y = C("div"), b = C("p"), B = S(v), U = k(), Z = C("span"), E = S(V), a1 = k(), D = C("div"), H = C("p"), o1 = S(J), f1 = k(), O = C("span"), m1 = S(s1), C1 = k(), Q = C("div"), $ = C("p"), y1 = S(M), M1 = k(), x = C("span"), r1 = S(
700
708
  /*paymentmethod*/
701
709
  i[0]
702
- ), v1 = k(), A = C("div"), e1 = C("p"), l1 = M(t1), c1 = k(), _1 = C("span"), g1 = M(u1), n1 = k(), i1 = C("div"), z && z.c(), h1 = k(), X = C("button"), K.c(), k1 = k(), j && j.c(), p1 = P1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", Y = `Status ${/*txnStatus*/
703
- i[21]}`), l(F, "class", "TxnIdText"), l(D, "class", "TxnId"), l(Q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(i1, "class", "ReceiptButtonsWrapper"), l(X, "class", "DefaultButton");
710
+ ), v1 = k(), A = C("div"), e1 = C("p"), l1 = S(t1), c1 = k(), _1 = C("span"), g1 = S(u1), n1 = k(), i1 = C("div"), z && z.c(), h1 = k(), X = C("button"), K.c(), k1 = k(), j && j.c(), p1 = P1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(y, "class", Y = `Status ${/*txnStatus*/
711
+ i[21]}`), l(O, "class", "TxnIdText"), l(D, "class", "TxnId"), l(Q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(i1, "class", "ReceiptButtonsWrapper"), l(X, "class", "DefaultButton");
704
712
  },
705
713
  m(m, _) {
706
- w(m, e, _), I && I.m(e, null), w(m, t, _), w(m, n, _), c(n, a), c(a, s), c(s, p), c(a, d), c(a, f), c(f, u), c(n, g), c(n, y), c(y, b), c(b, B), c(y, U), c(y, Z), c(Z, E), c(n, a1), c(n, D), c(D, H), c(H, o1), c(D, f1), c(D, F), c(F, m1), c(n, C1), c(n, Q), c(Q, $), c($, y1), c(Q, x1), c(Q, S), c(S, r1), c(n, v1), c(n, A), c(A, e1), c(e1, l1), c(A, c1), c(A, _1), c(_1, g1), w(m, n1, _), w(m, i1, _), z && z.m(i1, null), w(m, h1, _), w(m, X, _), K.m(X, null), w(m, k1, _), j && j.m(m, _), w(m, p1, _), w1 || (T1 = [
707
- M1(
708
- F,
714
+ w(m, e, _), I && I.m(e, null), w(m, t, _), w(m, n, _), c(n, a), c(a, s), c(s, p), c(a, d), c(a, f), c(f, u), c(n, g), c(n, y), c(y, b), c(b, B), c(y, U), c(y, Z), c(Z, E), c(n, a1), c(n, D), c(D, H), c(H, o1), c(D, f1), c(D, O), c(O, m1), c(n, C1), c(n, Q), c(Q, $), c($, y1), c(Q, M1), c(Q, x), c(x, r1), c(n, v1), c(n, A), c(A, e1), c(e1, l1), c(A, c1), c(A, _1), c(_1, g1), w(m, n1, _), w(m, i1, _), z && z.m(i1, null), w(m, h1, _), w(m, X, _), K.m(X, null), w(m, k1, _), j && j.m(m, _), w(m, p1, _), w1 || (T1 = [
715
+ S1(
716
+ O,
709
717
  "click",
710
718
  /*click_handler*/
711
719
  i[45]
712
720
  ),
713
- M1(
721
+ S1(
714
722
  X,
715
723
  "click",
716
724
  /*closeReceipt*/
@@ -738,8 +746,8 @@ function We(i) {
738
746
  m[24]("transactionId") + "") && R(o1, J), _[0] & /*txnInfo*/
739
747
  32768 && s1 !== (s1 = /*txnInfo*/
740
748
  m[15].referenceId + "") && R(m1, s1), _[0] & /*$_*/
741
- 16777216 && x !== (x = /*$_*/
742
- m[24]("payemntMethod") + "") && R(y1, x), _[0] & /*paymentmethod*/
749
+ 16777216 && M !== (M = /*$_*/
750
+ m[24]("payemntMethod") + "") && R(y1, M), _[0] & /*paymentmethod*/
743
751
  1 && R(
744
752
  r1,
745
753
  /*paymentmethod*/
@@ -747,19 +755,19 @@ function We(i) {
747
755
  ), _[0] & /*$_*/
748
756
  16777216 && t1 !== (t1 = /*$_*/
749
757
  m[24]("paymentTime") + "") && R(l1, t1), _[0] & /*txnInfo*/
750
- 32768 && u1 !== (u1 = D1(
758
+ 32768 && u1 !== (u1 = L1(
751
759
  /*txnInfo*/
752
760
  m[15].time
753
761
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && R(g1, u1), /*displayedButtons*/
754
- m[12].length > 0 ? z ? z.p(m, _) : (z = O1(m), z.c(), z.m(i1, null)) : z && (z.d(1), z = null), b1 === (b1 = S1(m)) && K ? K.p(m, _) : (K.d(1), K = b1(m), K && (K.c(), K.m(X, null))), /*receiptFields*/
762
+ m[12].length > 0 ? z ? z.p(m, _) : (z = F1(m), z.c(), z.m(i1, null)) : z && (z.d(1), z = null), b1 === (b1 = x1(m)) && K ? K.p(m, _) : (K.d(1), K = b1(m), K && (K.c(), K.m(X, null))), /*receiptFields*/
755
763
  m[16].length ? j ? j.p(m, _) : (j = q1(m), j.c(), j.m(p1.parentNode, p1)) : j && (j.d(1), j = null);
756
764
  },
757
765
  d(m) {
758
- m && (h(e), h(t), h(n), h(n1), h(i1), h(h1), h(X), h(k1), h(p1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), w1 = !1, he(T1);
766
+ m && (h(e), h(t), h(n), h(n1), h(i1), h(h1), h(X), h(k1), h(p1)), I && I.d(), z && z.d(), K.d(), j && j.d(m), w1 = !1, we(T1);
759
767
  }
760
768
  };
761
769
  }
762
- function F1(i) {
770
+ function O1(i) {
763
771
  let e, t, n, a = (
764
772
  /*$_*/
765
773
  i[24]("receipt.maintenance.title") + ""
@@ -769,7 +777,7 @@ function F1(i) {
769
777
  ), f;
770
778
  return {
771
779
  c() {
772
- e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = C("span"), s = M(a), o = k(), p = C("span"), f = M(d), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(p, "slot", "text"), l(p, "class", "CashierErrorText");
780
+ e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = k(), n = C("span"), s = S(a), o = k(), p = C("span"), f = S(d), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(p, "slot", "text"), l(p, "class", "CashierErrorText");
773
781
  },
774
782
  m(u, g) {
775
783
  w(u, e, g), w(u, t, g), w(u, n, g), c(n, s), w(u, o, g), w(u, p, g), c(p, f);
@@ -786,7 +794,7 @@ function F1(i) {
786
794
  }
787
795
  };
788
796
  }
789
- function He(i) {
797
+ function ze(i) {
790
798
  let e, t, n, a, s, o, p, d = (
791
799
  /*$_*/
792
800
  i[24](`${/*txnInfo*/
@@ -798,7 +806,7 @@ function He(i) {
798
806
  ), b;
799
807
  return {
800
808
  c() {
801
- e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = k(), o = C("div"), p = C("h3"), f = M(d), u = k(), g = C("p"), b = M(y), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(o, "class", "ReceiptStatusText");
809
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = k(), o = C("div"), p = C("h3"), f = S(d), u = k(), g = C("p"), b = S(y), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D14141"), l(t, "fill-opacity", "0.12"), l(n, "x", "19.335"), l(n, "y", "19"), l(n, "width", "33.33"), l(n, "height", "33.33"), l(n, "rx", "16.665"), l(n, "fill", "#FF3636"), l(a, "d", "M29.085 41.915L41.585 29.415M41.585 41.915L29.085 29.415"), l(a, "stroke", "black"), l(a, "stroke-width", "2.09016"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon failed"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(o, "class", "ReceiptStatusText");
802
810
  },
803
811
  m(v, B) {
804
812
  w(v, e, B), c(e, t), c(e, n), c(e, a), w(v, s, B), w(v, o, B), c(o, p), c(p, f), c(o, u), c(o, g), c(g, b);
@@ -817,7 +825,7 @@ function He(i) {
817
825
  }
818
826
  };
819
827
  }
820
- function Ie(i) {
828
+ function Ae(i) {
821
829
  let e, t, n, a, s, o, p, d, f, u = (
822
830
  /*$_*/
823
831
  i[24](`${/*txnInfo*/
@@ -832,10 +840,10 @@ function Ie(i) {
832
840
  ), E, Y, a1;
833
841
  return {
834
842
  c() {
835
- e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), p = k(), d = C("div"), f = C("h3"), g = M(u), y = k(), b = C("p"), B = M(v), U = k(), Z = C("button"), E = M(V), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(s, "d", "M36 32V36L38 38"), l(s, "stroke", "black"), l(s, "stroke-width", "1.5"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(d, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
843
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), p = k(), d = C("div"), f = C("h3"), g = S(u), y = k(), b = C("p"), B = S(v), U = k(), Z = C("button"), E = S(V), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#D19A41"), l(t, "fill-opacity", "0.12"), l(n, "x", "19"), l(n, "y", "19"), l(n, "width", "34"), l(n, "height", "34"), l(n, "rx", "17"), l(n, "fill", "#FF6836"), l(a, "d", "M36 46C30.4771 46 26 41.5228 26 36C26 30.4772 30.4772 26 36 26C40.4776 26 44.2257 28.9429 45.5 33H43"), l(a, "stroke", "black"), l(a, "stroke-width", "1.5"), l(a, "stroke-linecap", "round"), l(a, "stroke-linejoin", "round"), l(s, "d", "M36 32V36L38 38"), l(s, "stroke", "black"), l(s, "stroke-width", "1.5"), l(s, "stroke-linecap", "round"), l(s, "stroke-linejoin", "round"), l(o, "d", "M45.9551 37C45.9848 36.6709 46 36.3373 46 36M39 46C39.3416 45.8876 39.6753 45.7564 40 45.6078M44.7906 41C44.9835 40.6284 45.1555 40.2433 45.305 39.8462M42.1925 44.2292C42.5369 43.9441 42.8631 43.6358 43.1688 43.3065"), l(o, "stroke", "black"), l(o, "stroke-width", "1.5"), l(o, "stroke-linecap", "round"), l(o, "stroke-linejoin", "round"), l(e, "class", "ReceiptStatusIcon pending"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(d, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
836
844
  },
837
845
  m(D, H) {
838
- w(D, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(D, p, H), w(D, d, H), c(d, f), c(f, g), c(d, y), c(d, b), c(b, B), w(D, U, H), w(D, Z, H), c(Z, E), Y || (a1 = M1(
846
+ w(D, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(D, p, H), w(D, d, H), c(d, f), c(f, g), c(d, y), c(d, b), c(b, B), w(D, U, H), w(D, Z, H), c(Z, E), Y || (a1 = S1(
839
847
  Z,
840
848
  "click",
841
849
  /*getPaymentInfo*/
@@ -858,7 +866,7 @@ function Ie(i) {
858
866
  }
859
867
  };
860
868
  }
861
- function ze(i) {
869
+ function je(i) {
862
870
  let e, t, n, a, s, o, p = (
863
871
  /*$_*/
864
872
  i[24](`${/*txnInfo*/
@@ -870,7 +878,7 @@ function ze(i) {
870
878
  ), y;
871
879
  return {
872
880
  c() {
873
- e = N("svg"), t = N("circle"), n = N("path"), a = k(), s = C("div"), o = C("h3"), d = M(p), f = k(), u = C("p"), y = M(g), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#F9C408"), l(t, "fill-opacity", "0.12"), l(n, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), l(n, "fill", "#F9C408"), l(e, "class", "ReceiptStatusIcon success"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(s, "class", "ReceiptStatusText");
881
+ e = N("svg"), t = N("circle"), n = N("path"), a = k(), s = C("div"), o = C("h3"), d = S(p), f = k(), u = C("p"), y = S(g), l(t, "cx", "36"), l(t, "cy", "36"), l(t, "r", "36"), l(t, "fill", "#F9C408"), l(t, "fill-opacity", "0.12"), l(n, "d", "M36.5 19.3333C27.3167 19.3333 19.8333 26.8166 19.8333 36C19.8333 45.1833 27.3167 52.6666 36.5 52.6666C45.6833 52.6666 53.1667 45.1833 53.1667 36C53.1667 26.8166 45.6833 19.3333 36.5 19.3333ZM44.4667 32.1666L35.0167 41.6166C34.7833 41.85 34.4667 41.9833 34.1333 41.9833C33.8 41.9833 33.4833 41.85 33.25 41.6166L28.5333 36.9C28.05 36.4166 28.05 35.6166 28.5333 35.1333C29.0167 34.65 29.8167 34.65 30.3 35.1333L34.1333 38.9666L42.7 30.4C43.1833 29.9166 43.9833 29.9166 44.4667 30.4C44.95 30.8833 44.95 31.6666 44.4667 32.1666Z"), l(n, "fill", "#F9C408"), l(e, "class", "ReceiptStatusIcon success"), l(e, "width", "72"), l(e, "height", "72"), l(e, "viewBox", "0 0 72 72"), l(e, "fill", "none"), l(e, "xmlns", "http://www.w3.org/2000/svg"), l(s, "class", "ReceiptStatusText");
874
882
  },
875
883
  m(b, v) {
876
884
  w(b, e, v), c(e, t), c(e, n), w(b, a, v), w(b, s, v), c(s, o), c(o, d), c(s, f), c(s, u), c(u, y);
@@ -889,8 +897,8 @@ function ze(i) {
889
897
  }
890
898
  };
891
899
  }
892
- function O1(i) {
893
- let e, t = L1(
900
+ function F1(i) {
901
+ let e, t = D1(
894
902
  /*displayedButtons*/
895
903
  i[12]
896
904
  ), n = [];
@@ -910,7 +918,7 @@ function O1(i) {
910
918
  p(a, s) {
911
919
  if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
912
920
  285216768) {
913
- t = L1(
921
+ t = D1(
914
922
  /*displayedButtons*/
915
923
  a[12]
916
924
  );
@@ -947,11 +955,11 @@ function G1(i) {
947
955
  }
948
956
  return {
949
957
  c() {
950
- e = C("button"), t = C("div"), a = k(), o = M(s), p = k(), l(t, "class", "CustomButtonSvg"), l(e, "class", d = `${/*btn*/
958
+ e = C("button"), t = C("div"), a = k(), o = S(s), p = k(), l(t, "class", "CustomButtonSvg"), l(e, "class", d = `${/*btn*/
951
959
  i[73].type} GoToButton`);
952
960
  },
953
961
  m(y, b) {
954
- w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u = M1(e, "click", g), f = !0);
962
+ w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, p), f || (u = S1(e, "click", g), f = !0);
955
963
  },
956
964
  p(y, b) {
957
965
  i = y, b[0] & /*displayedButtons*/
@@ -968,14 +976,14 @@ function G1(i) {
968
976
  }
969
977
  };
970
978
  }
971
- function Ae(i) {
979
+ function Ze(i) {
972
980
  let e = (
973
981
  /*$_*/
974
982
  i[24]("backHome") + ""
975
983
  ), t;
976
984
  return {
977
985
  c() {
978
- t = M(e);
986
+ t = S(e);
979
987
  },
980
988
  m(n, a) {
981
989
  w(n, t, a);
@@ -990,7 +998,7 @@ function Ae(i) {
990
998
  }
991
999
  };
992
1000
  }
993
- function je(i) {
1001
+ function Ve(i) {
994
1002
  let e = (
995
1003
  /*$_*/
996
1004
  i[24](`back${/*txnInfo*/
@@ -998,7 +1006,7 @@ function je(i) {
998
1006
  ), t;
999
1007
  return {
1000
1008
  c() {
1001
- t = M(e);
1009
+ t = S(e);
1002
1010
  },
1003
1011
  m(n, a) {
1004
1012
  w(n, t, a);
@@ -1015,7 +1023,7 @@ function je(i) {
1015
1023
  };
1016
1024
  }
1017
1025
  function q1(i) {
1018
- let e, t = L1(
1026
+ let e, t = D1(
1019
1027
  /*receiptFields*/
1020
1028
  i[16]
1021
1029
  ), n = [];
@@ -1035,7 +1043,7 @@ function q1(i) {
1035
1043
  p(a, s) {
1036
1044
  if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
1037
1045
  537214976) {
1038
- t = L1(
1046
+ t = D1(
1039
1047
  /*receiptFields*/
1040
1048
  a[16]
1041
1049
  );
@@ -1054,14 +1062,14 @@ function q1(i) {
1054
1062
  }
1055
1063
  };
1056
1064
  }
1057
- function Ze(i) {
1065
+ function Ee(i) {
1058
1066
  let e, t = (
1059
1067
  /*field*/
1060
1068
  i[70].defaultValue + ""
1061
1069
  ), n;
1062
1070
  return {
1063
1071
  c() {
1064
- e = C("span"), n = M(t), l(e, "class", "Label");
1072
+ e = C("span"), n = S(t), l(e, "class", "Label");
1065
1073
  },
1066
1074
  m(a, s) {
1067
1075
  w(a, e, s), c(e, n);
@@ -1076,10 +1084,10 @@ function Ze(i) {
1076
1084
  }
1077
1085
  };
1078
1086
  }
1079
- function Ve(i) {
1087
+ function Ne(i) {
1080
1088
  return { c: d1, m: d1, p: d1, d: d1 };
1081
1089
  }
1082
- function Ee(i) {
1090
+ function Ye(i) {
1083
1091
  let e, t = (
1084
1092
  /*field*/
1085
1093
  i[70].description + ""
@@ -1089,7 +1097,7 @@ function Ee(i) {
1089
1097
  ), p, d;
1090
1098
  return {
1091
1099
  c() {
1092
- e = C("span"), n = M(t), a = k(), s = C("a"), p = M(o), l(s, "href", d = /*field*/
1100
+ e = C("span"), n = S(t), a = k(), s = C("a"), p = S(o), l(s, "href", d = /*field*/
1093
1101
  i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
1094
1102
  },
1095
1103
  m(f, u) {
@@ -1109,11 +1117,11 @@ function Ee(i) {
1109
1117
  }
1110
1118
  };
1111
1119
  }
1112
- function Ne(i) {
1120
+ function Ke(i) {
1113
1121
  let e, t, n;
1114
1122
  return {
1115
1123
  c() {
1116
- e = C("img"), A1(e.src, t = /*field*/
1124
+ e = C("img"), z1(e.src, t = /*field*/
1117
1125
  i[70].defaultValue) || l(e, "src", t), l(e, "title", n = /*field*/
1118
1126
  i[70].description), l(e, "alt", "");
1119
1127
  },
@@ -1122,7 +1130,7 @@ function Ne(i) {
1122
1130
  },
1123
1131
  p(a, s) {
1124
1132
  s[0] & /*receiptFields*/
1125
- 65536 && !A1(e.src, t = /*field*/
1133
+ 65536 && !z1(e.src, t = /*field*/
1126
1134
  a[70].defaultValue) && l(e, "src", t), s[0] & /*receiptFields*/
1127
1135
  65536 && n !== (n = /*field*/
1128
1136
  a[70].description) && l(e, "title", n);
@@ -1132,7 +1140,7 @@ function Ne(i) {
1132
1140
  }
1133
1141
  };
1134
1142
  }
1135
- function Ye(i) {
1143
+ function Ue(i) {
1136
1144
  let e, t = (
1137
1145
  /*field*/
1138
1146
  i[70].defaultValue + ""
@@ -1154,7 +1162,7 @@ function Ye(i) {
1154
1162
  }
1155
1163
  };
1156
1164
  }
1157
- function Ke(i) {
1165
+ function Oe(i) {
1158
1166
  let e, t, n = (
1159
1167
  /*field*/
1160
1168
  i[70].defaultValue + ""
@@ -1170,10 +1178,10 @@ function Ke(i) {
1170
1178
  }
1171
1179
  return {
1172
1180
  c() {
1173
- e = C("div"), t = C("div"), a = M(n), l(e, "class", "QRCode");
1181
+ e = C("div"), t = C("div"), a = S(n), l(e, "class", "QRCode");
1174
1182
  },
1175
1183
  m(d, f) {
1176
- w(d, e, f), c(e, t), c(t, a), i[47](t), s || (o = M1(e, "click", p), s = !0);
1184
+ w(d, e, f), c(e, t), c(t, a), i[47](t), s || (o = S1(e, "click", p), s = !0);
1177
1185
  },
1178
1186
  p(d, f) {
1179
1187
  i = d, f[0] & /*receiptFields*/
@@ -1191,19 +1199,19 @@ function Q1(i) {
1191
1199
  return (
1192
1200
  /*field*/
1193
1201
  o[70].type === /*FieldTypes*/
1194
- o[14].QRCode ? Ke : (
1202
+ o[14].QRCode ? Oe : (
1195
1203
  /*field*/
1196
1204
  o[70].type === /*FieldTypes*/
1197
- o[14].Html ? Ye : (
1205
+ o[14].Html ? Ue : (
1198
1206
  /*field*/
1199
1207
  o[70].type === /*FieldTypes*/
1200
- o[14].Image ? Ne : (
1208
+ o[14].Image ? Ke : (
1201
1209
  /*field*/
1202
1210
  o[70].type === /*FieldTypes*/
1203
- o[14].Link ? Ee : (
1211
+ o[14].Link ? Ye : (
1204
1212
  /*field*/
1205
1213
  o[70].type === /*FieldTypes*/
1206
- o[14].Hidden ? Ve : Ze
1214
+ o[14].Hidden ? Ne : Ee
1207
1215
  )
1208
1216
  )
1209
1217
  )
@@ -1226,12 +1234,12 @@ function Q1(i) {
1226
1234
  }
1227
1235
  };
1228
1236
  }
1229
- function Ue(i) {
1237
+ function Fe(i) {
1230
1238
  let e;
1231
1239
  function t(s, o) {
1232
1240
  return (
1233
1241
  /*isLoading*/
1234
- s[11] ? Pe : Le
1242
+ s[11] ? We : Be
1235
1243
  );
1236
1244
  }
1237
1245
  let n = t(i), a = n(i);
@@ -1252,43 +1260,43 @@ function Ue(i) {
1252
1260
  }
1253
1261
  };
1254
1262
  }
1255
- let Fe = "_blank";
1256
- function Oe(i, e, t) {
1263
+ let Ge = "_blank";
1264
+ function qe(i, e, t) {
1257
1265
  let n;
1258
- se(i, be, (r) => t(24, n = r)), D1.extend(re);
1259
- let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: p = "en-US" } = e, { showerrors: d = "true" } = e, { translationurl: f } = e, { assetsurl: u = "" } = e, { customerid: g } = e, { transactionid: y } = e, { currencydecimals: b = "0" } = e, { type: v } = e, { clientstyling: B = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, Y = !1, a1, { customsucceessbuttons: D = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: J = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: F = "" } = e, { windowsize: s1 } = e, { p2p: m1 = "false" } = e, C1 = [], Q = [];
1266
+ le(i, ke, (r) => t(24, n = r)), L1.extend(Te);
1267
+ let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: p = "en-US" } = e, { showerrors: d = "true" } = e, { translationurl: f } = e, { assetsurl: u = "" } = e, { customerid: g } = e, { transactionid: y } = e, { currencydecimals: b = "0" } = e, { type: v } = e, { clientstyling: B = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, Y = !1, a1, { customsucceessbuttons: D = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: J = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: O = "" } = e, { windowsize: s1 } = e, { p2p: m1 = "false" } = e, C1 = [], Q = [];
1260
1268
  var $;
1261
1269
  (function(r) {
1262
1270
  r.Success = "Success", r.Maintenance = "Maintenance";
1263
1271
  })($ || ($ = {}));
1264
- var x;
1272
+ var M;
1265
1273
  (function(r) {
1266
1274
  r.Unknown = "Unknown", r.Text = "Text", r.Boolean = "Boolean", r.Number = "Number", r.Money = "Money", r.DateTime = "DateTime", r.Lookup = "Lookup", r.IpAddress = "IpAddress", r.Date = "Date", r.Time = "Time", r.LookupCollection = "LookupCollection", r.Hidden = "Hidden", r.Label = "Label", r.Password = "Password", r.Link = "Link", r.Image = "Image", r.Html = "Html", r.QRCode = "QR";
1267
- })(x || (x = {}));
1268
- const y1 = (r, [W, O]) => [
1275
+ })(M || (M = {}));
1276
+ const y1 = (r, [W, F]) => [
1269
1277
  ...r,
1270
- ...Array.isArray(W) ? [...W.map((P) => [P, O])] : [[W, O]]
1271
- ], x1 = new Map([
1272
- [["Unknown", 0], x.Unknown],
1273
- [["Text", 1], x.Text],
1274
- [["Boolean", 2], x.Boolean],
1275
- [["Number", 3], x.Number],
1276
- [["Money", 4], x.Money],
1277
- [["DateTime", 5], x.DateTime],
1278
- [["Lookup", 6], x.Lookup],
1279
- [["IpAddress", 7], x.IpAddress],
1280
- [["Date", 8], x.Date],
1281
- [["Time", 9], x.Time],
1282
- [["LookupCollection", 10], x.LookupCollection],
1283
- [["Hidden", 11], x.Hidden],
1284
- [["Label", 12], x.Label],
1285
- [["Password", 13], x.Password],
1286
- [["Link", 14], x.Link],
1287
- [["Image", 15], x.Image],
1288
- [["Html", 19], x.Html],
1289
- [["QR", 20], x.QRCode]
1278
+ ...Array.isArray(W) ? [...W.map((P) => [P, F])] : [[W, F]]
1279
+ ], M1 = new Map([
1280
+ [["Unknown", 0], M.Unknown],
1281
+ [["Text", 1], M.Text],
1282
+ [["Boolean", 2], M.Boolean],
1283
+ [["Number", 3], M.Number],
1284
+ [["Money", 4], M.Money],
1285
+ [["DateTime", 5], M.DateTime],
1286
+ [["Lookup", 6], M.Lookup],
1287
+ [["IpAddress", 7], M.IpAddress],
1288
+ [["Date", 8], M.Date],
1289
+ [["Time", 9], M.Time],
1290
+ [["LookupCollection", 10], M.LookupCollection],
1291
+ [["Hidden", 11], M.Hidden],
1292
+ [["Label", 12], M.Label],
1293
+ [["Password", 13], M.Password],
1294
+ [["Link", 14], M.Link],
1295
+ [["Image", 15], M.Image],
1296
+ [["Html", 19], M.Html],
1297
+ [["QR", 20], M.QRCode]
1290
1298
  ].reduce(y1, []));
1291
- let S, r1 = [], v1, A, e1 = [], t1, l1, c1 = "", _1 = window.navigator.userAgent, u1 = !1;
1299
+ let x, r1 = [], v1, A, e1 = [], t1, l1, c1 = "", _1 = window.navigator.userAgent, u1 = !1;
1292
1300
  const g1 = {
1293
1301
  promotions: {
1294
1302
  event: "Cashier:goToPromotions",
@@ -1346,13 +1354,13 @@ function Oe(i, e, t) {
1346
1354
  type: "CloseButton"
1347
1355
  }
1348
1356
  }, n1 = (r) => {
1349
- t(12, C1 = []), r.split(",").forEach((O) => {
1350
- g1[O.trim()] && C1.push(g1[O.trim()]);
1357
+ t(12, C1 = []), r.split(",").forEach((F) => {
1358
+ g1[F.trim()] && C1.push(g1[F.trim()]);
1351
1359
  });
1352
1360
  }, i1 = () => {
1353
- ke(o);
1361
+ Re(o);
1354
1362
  };
1355
- le(() => (window.addEventListener("message", h1, !1), ce(p, o1, f1, b), () => {
1363
+ ce(() => (window.addEventListener("message", h1, !1), ue(p, o1, f1, b), () => {
1356
1364
  window.removeEventListener("message", h1);
1357
1365
  }));
1358
1366
  const h1 = (r) => {
@@ -1365,8 +1373,8 @@ function Oe(i, e, t) {
1365
1373
  let r = f;
1366
1374
  if (r)
1367
1375
  return fetch(r).then((W) => W.json()).then((W) => {
1368
- Object.keys(W).forEach((O) => {
1369
- Z1(O, W[O]);
1376
+ Object.keys(W).forEach((F) => {
1377
+ Z1(F, W[F]);
1370
1378
  });
1371
1379
  }).catch(() => {
1372
1380
  });
@@ -1387,18 +1395,18 @@ function Oe(i, e, t) {
1387
1395
  );
1388
1396
  }, w1 = () => {
1389
1397
  const r = new URL(`${a}/v1/player/${g}/payment/GetPaymentInfo`), W = new Headers();
1390
- W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", D1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
1391
- const O = {
1398
+ W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", L1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), Q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
1399
+ const F = {
1392
1400
  method: "POST",
1393
1401
  headers: W,
1394
1402
  body: JSON.stringify({ TransactionCode: y })
1395
1403
  };
1396
- t(11, Y = !0), fetch(r, O).then((P) => P.json()).then((P) => {
1404
+ t(11, Y = !0), fetch(r, F).then((P) => P.json()).then((P) => {
1397
1405
  if (P.ResponseCode !== $.Success) {
1398
1406
  t(19, t1 = P.ResponseCode), t(20, l1 = d.toLowerCase() === "false" || !d), p1();
1399
1407
  return;
1400
1408
  }
1401
- switch (t(15, S = {
1409
+ switch (t(15, x = {
1402
1410
  type: P.Transaction.Type,
1403
1411
  referenceId: P.Transaction.Code,
1404
1412
  status: P.Transaction.Status?.Status,
@@ -1407,36 +1415,36 @@ function Oe(i, e, t) {
1407
1415
  currency: P.Transaction.Amounts[0]?.Currency,
1408
1416
  time: P.Transaction.Status.Created
1409
1417
  }), t(16, r1 = P.ReceiptInfo && P.ReceiptInfo.ReceiptFields ? P.ReceiptInfo.ReceiptFields.map((q) => ({
1410
- type: x1.get(q.Type),
1418
+ type: M1.get(q.Type),
1411
1419
  name: q.Name,
1412
1420
  description: q.Description,
1413
1421
  defaultValue: q.DefaultValue,
1414
1422
  useCopyButton: q.UseCopyButton,
1415
1423
  usePrintButton: q.UsePrintButton
1416
- })) : []), P.ReceiptInfo && P.ReceiptInfo.ReceiptFields && !E && t(0, E = r1[0].defaultValue), n(Re(S.status, S.type), { values: { errorText: S.message } }), t(17, v1 = ue(Number(S.amount), S.currency)), S.status) {
1424
+ })) : []), P.ReceiptInfo && P.ReceiptInfo.ReceiptFields && !E && t(0, E = r1[0].defaultValue), n(Me(x.status, x.type), { values: { errorText: x.message } }), t(17, v1 = pe(Number(x.amount), x.currency)), x.status) {
1417
1425
  case "Voided":
1418
1426
  case "Success":
1419
- if (n1(D || "casino, livecasino, tournaments"), t(21, c1 = "success"), S.type === "Deposit") {
1427
+ if (n1(D || "casino, livecasino, tournaments"), t(21, c1 = "success"), x.type === "Deposit") {
1420
1428
  const q = P.Transaction?.Flags?.NewDepositCustomer, B1 = P?.Transaction?.Payloads;
1421
1429
  window.postMessage(
1422
1430
  {
1423
1431
  type: q === "True" ? "FirstDeposit" : "ConfirmedDeposit",
1424
1432
  method: E,
1425
- amount: S.amount,
1426
- currency: S.currency,
1433
+ amount: x.amount,
1434
+ currency: x.currency,
1427
1435
  depositType: B1?.TagManagerDepositType ?? "",
1428
1436
  publicPaymentId: B1?.TagManagerCode ?? ""
1429
1437
  },
1430
1438
  window.location.href
1431
1439
  );
1432
1440
  }
1433
- W1(
1434
- S.type === "Deposit" ? "deposit_success" : "withdrawal_success",
1441
+ A1(
1442
+ x.type === "Deposit" ? "deposit_success" : "withdrawal_success",
1435
1443
  {
1436
1444
  userID: g,
1437
- amount: S.amount,
1438
- currency: S.currency,
1439
- failureReason: S.message
1445
+ amount: x.amount,
1446
+ currency: x.currency,
1447
+ failureReason: x.message
1440
1448
  }
1441
1449
  );
1442
1450
  break;
@@ -1451,20 +1459,20 @@ function Oe(i, e, t) {
1451
1459
  case "Rejected":
1452
1460
  case "Cancelled":
1453
1461
  case "Failed":
1454
- n1(J || "casino, livecasino, tournaments"), t(21, c1 = S.status.toLowerCase()), W1(
1455
- S.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
1462
+ n1(J || "casino, livecasino, tournaments"), t(21, c1 = x.status.toLowerCase()), A1(
1463
+ x.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
1456
1464
  {
1457
1465
  userID: g,
1458
- amount: S.amount,
1459
- currency: S.currency,
1460
- failureReason: S.message
1466
+ amount: x.amount,
1467
+ currency: x.currency,
1468
+ failureReason: x.message
1461
1469
  }
1462
1470
  ), V === "true" && t(22, u1 = !0);
1463
1471
  break;
1464
1472
  default:
1465
1473
  n1("close");
1466
1474
  }
1467
- u ? Te(u, S.status) : Me(S.status);
1475
+ u ? Se(u, x.status) : xe(x.status);
1468
1476
  }).finally(() => t(11, Y = !1));
1469
1477
  }, T1 = (r) => {
1470
1478
  window.postMessage({ type: r }, window.location.href);
@@ -1473,7 +1481,7 @@ function Oe(i, e, t) {
1473
1481
  {
1474
1482
  type: "NavigateTo",
1475
1483
  path: r,
1476
- target: Fe,
1484
+ target: Ge,
1477
1485
  externalLink: !1
1478
1486
  },
1479
1487
  window.location.href
@@ -1493,11 +1501,11 @@ function Oe(i, e, t) {
1493
1501
  } catch (q) {
1494
1502
  console.error("Clipboard API failed:", q);
1495
1503
  }
1496
- }, S1 = () => {
1497
- F.length > 0 && (Q = F.split(","));
1504
+ }, x1 = () => {
1505
+ O.length > 0 && (Q = O.split(","));
1498
1506
  }, b1 = (r) => z(r), K = (r) => T1(r.event);
1499
1507
  function j(r) {
1500
- H1[r ? "unshift" : "push"](() => {
1508
+ W1[r ? "unshift" : "push"](() => {
1501
1509
  e1[e1.length] = r, t(18, e1);
1502
1510
  });
1503
1511
  }
@@ -1505,23 +1513,23 @@ function Oe(i, e, t) {
1505
1513
  R1(r.description);
1506
1514
  };
1507
1515
  function _(r) {
1508
- H1[r ? "unshift" : "push"](() => {
1516
+ W1[r ? "unshift" : "push"](() => {
1509
1517
  A = r, t(10, A);
1510
1518
  });
1511
1519
  }
1512
1520
  return i.$$set = (r) => {
1513
- "endpoint" in r && t(1, a = r.endpoint), "session" in r && t(2, s = r.session), "lang" in r && t(3, o = r.lang), "local" in r && t(31, p = r.local), "showerrors" in r && t(32, d = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, u = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, y = r.transactionid), "currencydecimals" in r && t(34, b = r.currencydecimals), "type" in r && t(35, v = r.type), "clientstyling" in r && t(7, B = r.clientstyling), "clientstylingurl" in r && t(8, U = r.clientstylingurl), "mbsource" in r && t(36, Z = r.mbsource), "showverifications" in r && t(9, V = r.showverifications), "paymentmethod" in r && t(0, E = r.paymentmethod), "customsucceessbuttons" in r && t(37, D = r.customsucceessbuttons), "custompendingbuttons" in r && t(38, H = r.custompendingbuttons), "customfailedbuttons" in r && t(39, J = r.customfailedbuttons), "currencysymbol" in r && t(40, o1 = r.currencysymbol), "currencyposition" in r && t(41, f1 = r.currencyposition), "userroles" in r && t(42, F = r.userroles), "windowsize" in r && t(43, s1 = r.windowsize), "p2p" in r && t(44, m1 = r.p2p);
1521
+ "endpoint" in r && t(1, a = r.endpoint), "session" in r && t(2, s = r.session), "lang" in r && t(3, o = r.lang), "local" in r && t(31, p = r.local), "showerrors" in r && t(32, d = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, u = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, y = r.transactionid), "currencydecimals" in r && t(34, b = r.currencydecimals), "type" in r && t(35, v = r.type), "clientstyling" in r && t(7, B = r.clientstyling), "clientstylingurl" in r && t(8, U = r.clientstylingurl), "mbsource" in r && t(36, Z = r.mbsource), "showverifications" in r && t(9, V = r.showverifications), "paymentmethod" in r && t(0, E = r.paymentmethod), "customsucceessbuttons" in r && t(37, D = r.customsucceessbuttons), "custompendingbuttons" in r && t(38, H = r.custompendingbuttons), "customfailedbuttons" in r && t(39, J = r.customfailedbuttons), "currencysymbol" in r && t(40, o1 = r.currencysymbol), "currencyposition" in r && t(41, f1 = r.currencyposition), "userroles" in r && t(42, O = r.userroles), "windowsize" in r && t(43, s1 = r.windowsize), "p2p" in r && t(44, m1 = r.p2p);
1514
1522
  }, i.$$.update = () => {
1515
1523
  i.$$.dirty[1] & /*userroles*/
1516
- 2048 && F && S1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
1524
+ 2048 && O && x1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
1517
1525
  70 | i.$$.dirty[1] & /*transactionid, showerrors*/
1518
1526
  6 && a && s && g && y && d && w1(), i.$$.dirty[0] & /*lang*/
1519
1527
  8 && o && i1(), i.$$.dirty[0] & /*lang, translationurl*/
1520
1528
  24 && o && f && X(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1521
- 1152 && B && A && ye(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1522
- 1280 && U && A && ve(A, U), i.$$.dirty[0] & /*customStylingContainer*/
1529
+ 1152 && B && A && be(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1530
+ 1280 && U && A && ye(A, U), i.$$.dirty[0] & /*customStylingContainer*/
1523
1531
  1024 | i.$$.dirty[1] & /*mbsource*/
1524
- 32 && Z && A && _e(A, `${Z}.Style`, a1);
1532
+ 32 && Z && A && ve(A, `${Z}.Style`, a1);
1525
1533
  }, [
1526
1534
  E,
1527
1535
  a,
@@ -1537,8 +1545,8 @@ function Oe(i, e, t) {
1537
1545
  Y,
1538
1546
  C1,
1539
1547
  $,
1548
+ M,
1540
1549
  x,
1541
- S,
1542
1550
  r1,
1543
1551
  v1,
1544
1552
  e1,
@@ -1565,7 +1573,7 @@ function Oe(i, e, t) {
1565
1573
  J,
1566
1574
  o1,
1567
1575
  f1,
1568
- F,
1576
+ O,
1569
1577
  s1,
1570
1578
  m1,
1571
1579
  b1,
@@ -1575,14 +1583,14 @@ function Oe(i, e, t) {
1575
1583
  _
1576
1584
  ];
1577
1585
  }
1578
- class Ge extends ne {
1586
+ class $1 extends ae {
1579
1587
  constructor(e) {
1580
- super(), ie(
1588
+ super(), oe(
1581
1589
  this,
1582
1590
  e,
1583
- Oe,
1584
- Ue,
1585
- ae,
1591
+ qe,
1592
+ Fe,
1593
+ se,
1586
1594
  {
1587
1595
  endpoint: 1,
1588
1596
  session: 2,
@@ -1609,7 +1617,7 @@ class Ge extends ne {
1609
1617
  windowsize: 43,
1610
1618
  p2p: 44
1611
1619
  },
1612
- De,
1620
+ Pe,
1613
1621
  [-1, -1, -1]
1614
1622
  );
1615
1623
  }
@@ -1758,7 +1766,12 @@ class Ge extends ne {
1758
1766
  this.$$set({ p2p: e }), L();
1759
1767
  }
1760
1768
  }
1761
- we(Ge, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, userroles: {}, windowsize: {}, p2p: {} }, [], [], !0);
1769
+ _e($1, { endpoint: {}, session: {}, lang: {}, local: {}, showerrors: {}, translationurl: {}, assetsurl: {}, customerid: {}, transactionid: {}, currencydecimals: {}, type: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, showverifications: {}, paymentmethod: {}, customsucceessbuttons: {}, custompendingbuttons: {}, customfailedbuttons: {}, currencysymbol: {}, currencyposition: {}, userroles: {}, windowsize: {}, p2p: {} }, [], [], !0);
1770
+ const Je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1771
+ __proto__: null,
1772
+ default: $1
1773
+ }, Symbol.toStringTag, { value: "Module" }));
1762
1774
  export {
1763
- Ge as default
1775
+ Je as C,
1776
+ j1 as f
1764
1777
  };