@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
@@ -14,16 +14,24 @@ var N1 = (i, e, t) => new Promise((n, a) => {
14
14
  }, u = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(s, o);
15
15
  u((t = t.apply(i, e)).next());
16
16
  });
17
- import { a as ce, i as ue, $ as pe, S as de, b as fe, s as me, f as P, c as Ce, y as d1, e as h, k as w, m as C, o as l, p as ge, M as P1, N as he, q as we, K as be, I as ye, Z as Y1, x as K1, C as U1, g as F1, a8 as ve, t as _e, a9 as ke, l as c, n as _, ac as Te, H as Re, ad as Me, v as R, w as M, O as T, F as xe, z as x1, r as W1, D as B1, E as re, P as N, J as O1, A as Se, B as De } from "./CashierPage-HxKce2E6.js";
18
- import { f as G1 } from "./CashierSessionExpirationModal-CK0YLZbU.js";
19
- import { s as Le, a as Pe, b as Be } from "./CashierHeader-D-mMGt-Y.js";
17
+ import { ac as ue, a as pe, i as de, $ as fe, S as me, b as Ce, s as ge, f as P, c as he, G as d1, e as h, k as w, m as C, o as l, p as we, q as be, O as ye, U as ve, y as Y1, N as K1, g as U1, a6 as _e, t as ke, a7 as Te, l as c, n as _, ad as Re, L as Se, ae as Me, v as R, w as S, A as T, a2 as xe, x as M1, r as W1, Z as P1, a4 as re, X as N, z as O1, B as De, C as Le, D as Pe, E as Be, F as We } from "./CashierCarousel-CXoovlrR.js";
18
+ import { d as B1, u as He, a as F1 } from "./CashierMethodDetails-C7odWYEI.js";
19
+ function G1(i, { delay: e = 0, duration: t = 400, easing: n = ue } = {}) {
20
+ const a = +getComputedStyle(i).opacity;
21
+ return {
22
+ delay: e,
23
+ duration: t,
24
+ easing: n,
25
+ css: (s) => `opacity: ${s * a}`
26
+ };
27
+ }
20
28
  function q1(i, e) {
21
- ce(i, e);
29
+ pe(i, e);
22
30
  }
23
- function We(i) {
24
- ue({
31
+ function Ie(i) {
32
+ de({
25
33
  fallbackLocale: "en"
26
- }), pe.set(i);
34
+ }), fe.set(i);
27
35
  }
28
36
  const Q1 = {
29
37
  en: {
@@ -302,7 +310,7 @@ const Q1 = {
302
310
  uploadDocuments: "Télécharger des documents",
303
311
  goToHomepage: "Aller à la page d’accueil"
304
312
  }
305
- }, He = (i, e) => `${i + Ae[e]}`, Ie = (i, e) => `${je[e]}.${le[i]}.text`, ze = (i) => `${le[`${i}`]}`, Ae = {
313
+ }, ze = (i, e) => `${i + Ze[e]}`, Ae = (i, e) => `${Ve[e]}.${le[i]}.text`, je = (i) => `${le[`${i}`]}`, Ze = {
306
314
  Success: "/txn-success.png",
307
315
  Voided: "/txn-success.png",
308
316
  Rejected: "/txn-failed.png",
@@ -314,7 +322,7 @@ const Q1 = {
314
322
  PendingApprovalStage2: "/txn-pending.png",
315
323
  PendingApprovalStage3: "/txn-pending.png",
316
324
  PendingOfflineNotification: "/txn-pending.png"
317
- }, je = {
325
+ }, Ve = {
318
326
  Deposit: "deposit",
319
327
  Withdraw: "withdrawal"
320
328
  }, le = {
@@ -359,8 +367,8 @@ const Q1 = {
359
367
  </svg>
360
368
  `
361
369
  };
362
- function Ze(i) {
363
- Ce(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)}');
370
+ function Ee(i) {
371
+ he(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)}');
364
372
  }
365
373
  function J1(i, e, t) {
366
374
  const n = i.slice();
@@ -370,8 +378,8 @@ function $1(i, e, t) {
370
378
  const n = i.slice();
371
379
  return n[73] = e[t], n;
372
380
  }
373
- function Ve(i) {
374
- let e, t, n = U1(
381
+ function Ne(i) {
382
+ let e, t, n = K1(
375
383
  /*userAgent*/
376
384
  i[25]
377
385
  ) && /*showverifications*/
@@ -385,13 +393,13 @@ function Ve(i) {
385
393
  /*txnInfo*/
386
394
  d[15]
387
395
  )
388
- return Ye;
396
+ return Ue;
389
397
  if (
390
398
  /*errorResponseCode*/
391
399
  d[19] && !/*showErrorOutsideReceiptPage*/
392
400
  d[20]
393
401
  )
394
- return Ne;
402
+ return Ke;
395
403
  }
396
404
  let p = u(i), f = p && p(i);
397
405
  return {
@@ -404,10 +412,10 @@ function Ve(i) {
404
412
  p(d, g) {
405
413
  /*copied*/
406
414
  d[23] ? s ? (s.p(d, g), g[0] & /*copied*/
407
- 8388608 && F1(s, 1)) : (s = ee(d), s.c(), F1(s, 1), s.m(e.parentNode, e)) : s && (ve(), _e(s, 1, 1, () => {
415
+ 8388608 && U1(s, 1)) : (s = ee(d), s.c(), U1(s, 1), s.m(e.parentNode, e)) : s && (_e(), ke(s, 1, 1, () => {
408
416
  s = null;
409
- }), ke()), g[0] & /*showverifications, displayVerifications*/
410
- 4194816 && (n = U1(
417
+ }), Te()), g[0] & /*showverifications, displayVerifications*/
418
+ 4194816 && (n = K1(
411
419
  /*userAgent*/
412
420
  d[25]
413
421
  ) && /*showverifications*/
@@ -419,7 +427,7 @@ function Ve(i) {
419
427
  }
420
428
  };
421
429
  }
422
- function Ee(i) {
430
+ function Ye(i) {
423
431
  let e;
424
432
  return {
425
433
  c() {
@@ -441,7 +449,7 @@ function ee(i) {
441
449
  ), n, a, s, o;
442
450
  return {
443
451
  c() {
444
- e = C("div"), n = M(t), l(e, "class", "CopyTooltip");
452
+ e = C("div"), n = S(t), l(e, "class", "CopyTooltip");
445
453
  },
446
454
  m(u, p) {
447
455
  w(u, e, p), c(e, n), o = !0;
@@ -452,12 +460,12 @@ function ee(i) {
452
460
  u[24]("copyTransactionId") + "") && R(n, t);
453
461
  },
454
462
  i(u) {
455
- o || (u && Re(() => {
463
+ o || (u && Se(() => {
456
464
  o && (s && s.end(1), a = Me(e, G1, { duration: 100 }), a.start());
457
465
  }), o = !0);
458
466
  },
459
467
  o(u) {
460
- a && a.invalidate(), u && (s = Te(e, G1, { duration: 1e3 })), o = !1;
468
+ a && a.invalidate(), u && (s = Re(e, G1, { duration: 1e3 })), o = !1;
461
469
  },
462
470
  d(u) {
463
471
  u && h(e), u && s && s.end();
@@ -558,7 +566,7 @@ function te(i) {
558
566
  }
559
567
  };
560
568
  }
561
- function Ne(i) {
569
+ function Ke(i) {
562
570
  let e, t = (
563
571
  /*errorResponseCode*/
564
572
  i[19] === /*ResponseCode*/
@@ -647,7 +655,7 @@ function Ne(i) {
647
655
  }
648
656
  };
649
657
  }
650
- function Ye(i) {
658
+ function Ue(i) {
651
659
  let e, t, n, a, s, o = (
652
660
  /*$_*/
653
661
  i[24]("amount") + ""
@@ -661,46 +669,46 @@ function Ye(i) {
661
669
  ), E, Y, a1, L, H, X = (
662
670
  /*$_*/
663
671
  i[24]("transactionId") + ""
664
- ), o1, f1, F, s1 = (
672
+ ), o1, f1, O, s1 = (
665
673
  /*txnInfo*/
666
674
  i[15].referenceId + ""
667
- ), m1, C1, q, J, x = (
675
+ ), m1, C1, q, J, M = (
668
676
  /*$_*/
669
677
  i[24]("payemntMethod") + ""
670
- ), v1, S1, S, r1, _1, A, $, e1 = (
678
+ ), v1, x1, x, r1, _1, A, $, e1 = (
671
679
  /*$_*/
672
680
  i[24]("paymentTime") + ""
673
- ), l1, c1, k1, u1 = P1(
681
+ ), l1, c1, k1, u1 = B1(
674
682
  /*txnInfo*/
675
683
  i[15].time
676
684
  ).format("MMM DD, YYYY, HH:mm:ss") + "", g1, t1, n1, h1, Q, T1, p1, w1, R1;
677
- function M1(m, v) {
685
+ function S1(m, v) {
678
686
  if (
679
687
  /*txnStatus*/
680
688
  m[21] === "success"
681
689
  )
682
- return Fe;
690
+ return Ge;
683
691
  if (
684
692
  /*txnStatus*/
685
693
  m[21] === "pending"
686
694
  )
687
- return Ue;
695
+ return Fe;
688
696
  if (
689
697
  /*txnStatus*/
690
698
  m[21] === "failed" || /*txnStatus*/
691
699
  m[21] === "rejected" || /*txnStatus*/
692
700
  m[21] === "canceled"
693
701
  )
694
- return Ke;
702
+ return Oe;
695
703
  }
696
- let G = M1(i), I = G && G(i), z = (
704
+ let G = S1(i), I = G && G(i), z = (
697
705
  /*displayedButtons*/
698
706
  i[12].length > 0 && ie(i)
699
707
  );
700
708
  function D1(m, v) {
701
709
  return (
702
710
  /*txnInfo*/
703
- m[15].type ? Ge : Oe
711
+ m[15].type ? Qe : qe
704
712
  );
705
713
  }
706
714
  let b1 = D1(i), K = b1(i), j = (
@@ -709,24 +717,24 @@ function Ye(i) {
709
717
  );
710
718
  return {
711
719
  c() {
712
- e = C("div"), I && I.c(), t = _(), n = C("div"), a = C("div"), s = C("p"), u = M(o), p = _(), f = C("span"), d = M(
720
+ e = C("div"), I && I.c(), t = _(), n = C("div"), a = C("div"), s = C("p"), u = S(o), p = _(), f = C("span"), d = S(
713
721
  /*amount*/
714
722
  i[17]
715
- ), g = _(), k = C("div"), y = C("p"), B = M(b), U = _(), Z = C("span"), E = M(V), a1 = _(), L = C("div"), H = C("p"), o1 = M(X), f1 = _(), F = C("span"), m1 = M(s1), C1 = _(), q = C("div"), J = C("p"), v1 = M(x), S1 = _(), S = C("span"), r1 = M(
723
+ ), g = _(), k = C("div"), y = C("p"), B = S(b), U = _(), Z = C("span"), E = S(V), a1 = _(), L = C("div"), H = C("p"), o1 = S(X), f1 = _(), O = C("span"), m1 = S(s1), C1 = _(), q = C("div"), J = C("p"), v1 = S(M), x1 = _(), x = C("span"), r1 = S(
716
724
  /*paymentmethod*/
717
725
  i[0]
718
- ), _1 = _(), A = C("div"), $ = C("p"), l1 = M(e1), c1 = _(), k1 = C("span"), g1 = M(u1), t1 = _(), n1 = C("div"), z && z.c(), h1 = _(), Q = C("button"), K.c(), T1 = _(), j && j.c(), p1 = W1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(k, "class", Y = `Status ${/*txnStatus*/
719
- i[21]}`), l(F, "class", "TxnIdText"), l(L, "class", "TxnId"), l(q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(n1, "class", "ReceiptButtonsWrapper"), l(Q, "class", "DefaultButton");
726
+ ), _1 = _(), A = C("div"), $ = C("p"), l1 = S(e1), c1 = _(), k1 = C("span"), g1 = S(u1), t1 = _(), n1 = C("div"), z && z.c(), h1 = _(), Q = C("button"), K.c(), T1 = _(), j && j.c(), p1 = W1(), l(e, "class", "ReceiptStatusWrapper"), l(a, "class", "Amount"), l(k, "class", Y = `Status ${/*txnStatus*/
727
+ i[21]}`), l(O, "class", "TxnIdText"), l(L, "class", "TxnId"), l(q, "class", "PaymentMethod"), l(A, "class", "PaymentTime"), l(n, "class", "ReceiptDetailsWrapper"), l(n1, "class", "ReceiptButtonsWrapper"), l(Q, "class", "DefaultButton");
720
728
  },
721
729
  m(m, v) {
722
- w(m, e, v), I && I.m(e, null), w(m, t, v), w(m, n, v), c(n, a), c(a, s), c(s, u), c(a, p), c(a, f), c(f, d), c(n, g), c(n, k), c(k, y), c(y, B), c(k, U), c(k, Z), c(Z, E), c(n, a1), c(n, L), c(L, H), c(H, o1), c(L, f1), c(L, F), c(F, m1), c(n, C1), c(n, q), c(q, J), c(J, v1), c(q, S1), c(q, S), c(S, r1), c(n, _1), c(n, A), c(A, $), c($, l1), c(A, c1), c(A, k1), c(k1, g1), w(m, t1, v), w(m, n1, v), z && z.m(n1, null), w(m, h1, v), w(m, Q, v), K.m(Q, null), w(m, T1, v), j && j.m(m, v), w(m, p1, v), w1 || (R1 = [
723
- x1(
724
- F,
730
+ w(m, e, v), I && I.m(e, null), w(m, t, v), w(m, n, v), c(n, a), c(a, s), c(s, u), c(a, p), c(a, f), c(f, d), c(n, g), c(n, k), c(k, y), c(y, B), c(k, U), c(k, Z), c(Z, E), c(n, a1), c(n, L), c(L, H), c(H, o1), c(L, f1), c(L, O), c(O, m1), c(n, C1), c(n, q), c(q, J), c(J, v1), c(q, x1), c(q, x), c(x, r1), c(n, _1), c(n, A), c(A, $), c($, l1), c(A, c1), c(A, k1), c(k1, g1), w(m, t1, v), w(m, n1, v), z && z.m(n1, null), w(m, h1, v), w(m, Q, v), K.m(Q, null), w(m, T1, v), j && j.m(m, v), w(m, p1, v), w1 || (R1 = [
731
+ M1(
732
+ O,
725
733
  "click",
726
734
  /*click_handler*/
727
735
  i[45]
728
736
  ),
729
- x1(
737
+ M1(
730
738
  Q,
731
739
  "click",
732
740
  /*closeReceipt*/
@@ -735,7 +743,7 @@ function Ye(i) {
735
743
  ], w1 = !0);
736
744
  },
737
745
  p(m, v) {
738
- G === (G = M1(m)) && I ? I.p(m, v) : (I && I.d(1), I = G && G(m), I && (I.c(), I.m(e, null))), v[0] & /*$_*/
746
+ G === (G = S1(m)) && I ? I.p(m, v) : (I && I.d(1), I = G && G(m), I && (I.c(), I.m(e, null))), v[0] & /*$_*/
739
747
  16777216 && o !== (o = /*$_*/
740
748
  m[24]("amount") + "") && R(u, o), v[0] & /*amount*/
741
749
  131072 && R(
@@ -754,8 +762,8 @@ function Ye(i) {
754
762
  m[24]("transactionId") + "") && R(o1, X), v[0] & /*txnInfo*/
755
763
  32768 && s1 !== (s1 = /*txnInfo*/
756
764
  m[15].referenceId + "") && R(m1, s1), v[0] & /*$_*/
757
- 16777216 && x !== (x = /*$_*/
758
- m[24]("payemntMethod") + "") && R(v1, x), v[0] & /*paymentmethod*/
765
+ 16777216 && M !== (M = /*$_*/
766
+ m[24]("payemntMethod") + "") && R(v1, M), v[0] & /*paymentmethod*/
759
767
  1 && R(
760
768
  r1,
761
769
  /*paymentmethod*/
@@ -763,7 +771,7 @@ function Ye(i) {
763
771
  ), v[0] & /*$_*/
764
772
  16777216 && e1 !== (e1 = /*$_*/
765
773
  m[24]("paymentTime") + "") && R(l1, e1), v[0] & /*txnInfo*/
766
- 32768 && u1 !== (u1 = P1(
774
+ 32768 && u1 !== (u1 = B1(
767
775
  /*txnInfo*/
768
776
  m[15].time
769
777
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && R(g1, u1), /*displayedButtons*/
@@ -785,7 +793,7 @@ function ne(i) {
785
793
  ), f;
786
794
  return {
787
795
  c() {
788
- e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = _(), n = C("span"), s = M(a), o = _(), u = C("span"), f = M(p), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(u, "slot", "text"), l(u, "class", "CashierErrorText");
796
+ e = C("div"), e.innerHTML = '<div class="ImagePlaceholder Maintenance"></div>', t = _(), n = C("span"), s = S(a), o = _(), u = C("span"), f = S(p), l(e, "slot", "icon"), l(n, "slot", "title"), l(n, "class", "CashierErrorTitle"), l(u, "slot", "text"), l(u, "class", "CashierErrorText");
789
797
  },
790
798
  m(d, g) {
791
799
  w(d, e, g), w(d, t, g), w(d, n, g), c(n, s), w(d, o, g), w(d, u, g), c(u, f);
@@ -802,7 +810,7 @@ function ne(i) {
802
810
  }
803
811
  };
804
812
  }
805
- function Ke(i) {
813
+ function Oe(i) {
806
814
  let e, t, n, a, s, o, u, p = (
807
815
  /*$_*/
808
816
  i[24](`${/*txnInfo*/
@@ -814,7 +822,7 @@ function Ke(i) {
814
822
  ), y;
815
823
  return {
816
824
  c() {
817
- e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = _(), o = C("div"), u = C("h3"), f = M(p), d = _(), g = C("p"), y = M(k), 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");
825
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = _(), o = C("div"), u = C("h3"), f = S(p), d = _(), g = C("p"), y = S(k), 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");
818
826
  },
819
827
  m(b, B) {
820
828
  w(b, e, B), c(e, t), c(e, n), c(e, a), w(b, s, B), w(b, o, B), c(o, u), c(u, f), c(o, d), c(o, g), c(g, y);
@@ -833,7 +841,7 @@ function Ke(i) {
833
841
  }
834
842
  };
835
843
  }
836
- function Ue(i) {
844
+ function Fe(i) {
837
845
  let e, t, n, a, s, o, u, p, f, d = (
838
846
  /*$_*/
839
847
  i[24](`${/*txnInfo*/
@@ -848,10 +856,10 @@ function Ue(i) {
848
856
  ), E, Y, a1;
849
857
  return {
850
858
  c() {
851
- e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), u = _(), p = C("div"), f = C("h3"), g = M(d), k = _(), y = C("p"), B = M(b), U = _(), 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(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
859
+ e = N("svg"), t = N("circle"), n = N("rect"), a = N("path"), s = N("path"), o = N("path"), u = _(), p = C("div"), f = C("h3"), g = S(d), k = _(), y = C("p"), B = S(b), U = _(), 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(p, "class", "ReceiptStatusText"), l(Z, "class", "RefreshButton");
852
860
  },
853
861
  m(L, H) {
854
- w(L, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(L, u, H), w(L, p, H), c(p, f), c(f, g), c(p, k), c(p, y), c(y, B), w(L, U, H), w(L, Z, H), c(Z, E), Y || (a1 = x1(
862
+ w(L, e, H), c(e, t), c(e, n), c(e, a), c(e, s), c(e, o), w(L, u, H), w(L, p, H), c(p, f), c(f, g), c(p, k), c(p, y), c(y, B), w(L, U, H), w(L, Z, H), c(Z, E), Y || (a1 = M1(
855
863
  Z,
856
864
  "click",
857
865
  /*getPaymentInfo*/
@@ -874,7 +882,7 @@ function Ue(i) {
874
882
  }
875
883
  };
876
884
  }
877
- function Fe(i) {
885
+ function Ge(i) {
878
886
  let e, t, n, a, s, o, u = (
879
887
  /*$_*/
880
888
  i[24](`${/*txnInfo*/
@@ -886,7 +894,7 @@ function Fe(i) {
886
894
  ), k;
887
895
  return {
888
896
  c() {
889
- e = N("svg"), t = N("circle"), n = N("path"), a = _(), s = C("div"), o = C("h3"), p = M(u), f = _(), d = C("p"), k = 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");
897
+ e = N("svg"), t = N("circle"), n = N("path"), a = _(), s = C("div"), o = C("h3"), p = S(u), f = _(), d = C("p"), k = 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");
890
898
  },
891
899
  m(y, b) {
892
900
  w(y, e, b), c(e, t), c(e, n), w(y, a, b), w(y, s, b), c(s, o), c(o, p), c(s, f), c(s, d), c(d, k);
@@ -906,7 +914,7 @@ function Fe(i) {
906
914
  };
907
915
  }
908
916
  function ie(i) {
909
- let e, t = B1(
917
+ let e, t = P1(
910
918
  /*displayedButtons*/
911
919
  i[12]
912
920
  ), n = [];
@@ -926,7 +934,7 @@ function ie(i) {
926
934
  p(a, s) {
927
935
  if (s[0] & /*displayedButtons, handleCustomButtonClick, $_*/
928
936
  285216768) {
929
- t = B1(
937
+ t = P1(
930
938
  /*displayedButtons*/
931
939
  a[12]
932
940
  );
@@ -964,11 +972,11 @@ function ae(i) {
964
972
  }
965
973
  return {
966
974
  c() {
967
- e = C("button"), t = C("div"), a = _(), o = M(s), u = _(), l(t, "class", "CustomButtonSvg"), l(e, "class", p = `${/*btn*/
975
+ e = C("button"), t = C("div"), a = _(), o = S(s), u = _(), l(t, "class", "CustomButtonSvg"), l(e, "class", p = `${/*btn*/
968
976
  i[73].type} GoToButton`);
969
977
  },
970
978
  m(y, b) {
971
- w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u), f || (d = x1(e, "click", g), f = !0);
979
+ w(y, e, b), c(e, t), t.innerHTML = n, c(e, a), c(e, o), c(e, u), f || (d = M1(e, "click", g), f = !0);
972
980
  },
973
981
  p(y, b) {
974
982
  var B;
@@ -986,14 +994,14 @@ function ae(i) {
986
994
  }
987
995
  };
988
996
  }
989
- function Oe(i) {
997
+ function qe(i) {
990
998
  let e = (
991
999
  /*$_*/
992
1000
  i[24]("backHome") + ""
993
1001
  ), t;
994
1002
  return {
995
1003
  c() {
996
- t = M(e);
1004
+ t = S(e);
997
1005
  },
998
1006
  m(n, a) {
999
1007
  w(n, t, a);
@@ -1008,7 +1016,7 @@ function Oe(i) {
1008
1016
  }
1009
1017
  };
1010
1018
  }
1011
- function Ge(i) {
1019
+ function Qe(i) {
1012
1020
  let e = (
1013
1021
  /*$_*/
1014
1022
  i[24](`back${/*txnInfo*/
@@ -1016,7 +1024,7 @@ function Ge(i) {
1016
1024
  ), t;
1017
1025
  return {
1018
1026
  c() {
1019
- t = M(e);
1027
+ t = S(e);
1020
1028
  },
1021
1029
  m(n, a) {
1022
1030
  w(n, t, a);
@@ -1033,7 +1041,7 @@ function Ge(i) {
1033
1041
  };
1034
1042
  }
1035
1043
  function oe(i) {
1036
- let e, t = B1(
1044
+ let e, t = P1(
1037
1045
  /*receiptFields*/
1038
1046
  i[16]
1039
1047
  ), n = [];
@@ -1053,7 +1061,7 @@ function oe(i) {
1053
1061
  p(a, s) {
1054
1062
  if (s[0] & /*openUrlInNewTab, receiptFields, qrCodeContainer, FieldTypes*/
1055
1063
  537214976) {
1056
- t = B1(
1064
+ t = P1(
1057
1065
  /*receiptFields*/
1058
1066
  a[16]
1059
1067
  );
@@ -1072,14 +1080,14 @@ function oe(i) {
1072
1080
  }
1073
1081
  };
1074
1082
  }
1075
- function qe(i) {
1083
+ function Xe(i) {
1076
1084
  let e, t = (
1077
1085
  /*field*/
1078
1086
  i[70].defaultValue + ""
1079
1087
  ), n;
1080
1088
  return {
1081
1089
  c() {
1082
- e = C("span"), n = M(t), l(e, "class", "Label");
1090
+ e = C("span"), n = S(t), l(e, "class", "Label");
1083
1091
  },
1084
1092
  m(a, s) {
1085
1093
  w(a, e, s), c(e, n);
@@ -1094,10 +1102,10 @@ function qe(i) {
1094
1102
  }
1095
1103
  };
1096
1104
  }
1097
- function Qe(i) {
1105
+ function Je(i) {
1098
1106
  return { c: d1, m: d1, p: d1, d: d1 };
1099
1107
  }
1100
- function Xe(i) {
1108
+ function $e(i) {
1101
1109
  let e, t = (
1102
1110
  /*field*/
1103
1111
  i[70].description + ""
@@ -1107,7 +1115,7 @@ function Xe(i) {
1107
1115
  ), u, p;
1108
1116
  return {
1109
1117
  c() {
1110
- e = C("span"), n = M(t), a = _(), s = C("a"), u = M(o), l(s, "href", p = /*field*/
1118
+ e = C("span"), n = S(t), a = _(), s = C("a"), u = S(o), l(s, "href", p = /*field*/
1111
1119
  i[70].defaultValue), l(s, "target", "_blank"), l(s, "rel", "noopener noreferrer");
1112
1120
  },
1113
1121
  m(f, d) {
@@ -1127,7 +1135,7 @@ function Xe(i) {
1127
1135
  }
1128
1136
  };
1129
1137
  }
1130
- function Je(i) {
1138
+ function et(i) {
1131
1139
  let e, t, n;
1132
1140
  return {
1133
1141
  c() {
@@ -1150,7 +1158,7 @@ function Je(i) {
1150
1158
  }
1151
1159
  };
1152
1160
  }
1153
- function $e(i) {
1161
+ function tt(i) {
1154
1162
  let e, t = (
1155
1163
  /*field*/
1156
1164
  i[70].defaultValue + ""
@@ -1172,7 +1180,7 @@ function $e(i) {
1172
1180
  }
1173
1181
  };
1174
1182
  }
1175
- function et(i) {
1183
+ function nt(i) {
1176
1184
  let e, t, n = (
1177
1185
  /*field*/
1178
1186
  i[70].defaultValue + ""
@@ -1188,10 +1196,10 @@ function et(i) {
1188
1196
  }
1189
1197
  return {
1190
1198
  c() {
1191
- e = C("div"), t = C("div"), a = M(n), l(e, "class", "QRCode");
1199
+ e = C("div"), t = C("div"), a = S(n), l(e, "class", "QRCode");
1192
1200
  },
1193
1201
  m(p, f) {
1194
- w(p, e, f), c(e, t), c(t, a), i[47](t), s || (o = x1(e, "click", u), s = !0);
1202
+ w(p, e, f), c(e, t), c(t, a), i[47](t), s || (o = M1(e, "click", u), s = !0);
1195
1203
  },
1196
1204
  p(p, f) {
1197
1205
  i = p, f[0] & /*receiptFields*/
@@ -1209,19 +1217,19 @@ function se(i) {
1209
1217
  return (
1210
1218
  /*field*/
1211
1219
  o[70].type === /*FieldTypes*/
1212
- o[14].QRCode ? et : (
1220
+ o[14].QRCode ? nt : (
1213
1221
  /*field*/
1214
1222
  o[70].type === /*FieldTypes*/
1215
- o[14].Html ? $e : (
1223
+ o[14].Html ? tt : (
1216
1224
  /*field*/
1217
1225
  o[70].type === /*FieldTypes*/
1218
- o[14].Image ? Je : (
1226
+ o[14].Image ? et : (
1219
1227
  /*field*/
1220
1228
  o[70].type === /*FieldTypes*/
1221
- o[14].Link ? Xe : (
1229
+ o[14].Link ? $e : (
1222
1230
  /*field*/
1223
1231
  o[70].type === /*FieldTypes*/
1224
- o[14].Hidden ? Qe : qe
1232
+ o[14].Hidden ? Je : Xe
1225
1233
  )
1226
1234
  )
1227
1235
  )
@@ -1244,12 +1252,12 @@ function se(i) {
1244
1252
  }
1245
1253
  };
1246
1254
  }
1247
- function tt(i) {
1255
+ function it(i) {
1248
1256
  let e;
1249
1257
  function t(s, o) {
1250
1258
  return (
1251
1259
  /*isLoading*/
1252
- s[11] ? Ee : Ve
1260
+ s[11] ? Ye : Ne
1253
1261
  );
1254
1262
  }
1255
1263
  let n = t(i), a = n(i);
@@ -1270,43 +1278,43 @@ function tt(i) {
1270
1278
  }
1271
1279
  };
1272
1280
  }
1273
- let nt = "_blank";
1274
- function it(i, e, t) {
1281
+ let at = "_blank";
1282
+ function ot(i, e, t) {
1275
1283
  let n;
1276
- ge(i, De, (r) => t(24, n = r)), P1.extend(he);
1277
- let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: f } = e, { assetsurl: d = "" } = e, { customerid: g } = e, { transactionid: k } = e, { currencydecimals: y = "0" } = e, { type: b } = e, { clientstyling: B = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, Y = !1, a1, { customsucceessbuttons: L = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: F = "" } = e, { windowsize: s1 } = e, { p2p: m1 = "false" } = e, C1 = [], q = [];
1284
+ we(i, We, (r) => t(24, n = r)), B1.extend(He);
1285
+ let { endpoint: a } = e, { session: s } = e, { lang: o = "en" } = e, { local: u = "en-US" } = e, { showerrors: p = "true" } = e, { translationurl: f } = e, { assetsurl: d = "" } = e, { customerid: g } = e, { transactionid: k } = e, { currencydecimals: y = "0" } = e, { type: b } = e, { clientstyling: B = "" } = e, { clientstylingurl: U = "" } = e, { mbsource: Z = "" } = e, { showverifications: V = "true" } = e, { paymentmethod: E = "" } = e, Y = !1, a1, { customsucceessbuttons: L = "" } = e, { custompendingbuttons: H = "" } = e, { customfailedbuttons: X = "" } = e, { currencysymbol: o1 = "" } = e, { currencyposition: f1 = "" } = e, { userroles: O = "" } = e, { windowsize: s1 } = e, { p2p: m1 = "false" } = e, C1 = [], q = [];
1278
1286
  var J;
1279
1287
  (function(r) {
1280
1288
  r.Success = "Success", r.Maintenance = "Maintenance";
1281
1289
  })(J || (J = {}));
1282
- var x;
1290
+ var M;
1283
1291
  (function(r) {
1284
1292
  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";
1285
- })(x || (x = {}));
1286
- const v1 = (r, [W, O]) => [
1293
+ })(M || (M = {}));
1294
+ const v1 = (r, [W, F]) => [
1287
1295
  ...r,
1288
- ...Array.isArray(W) ? [...W.map((D) => [D, O])] : [[W, O]]
1289
- ], S1 = new Map([
1290
- [["Unknown", 0], x.Unknown],
1291
- [["Text", 1], x.Text],
1292
- [["Boolean", 2], x.Boolean],
1293
- [["Number", 3], x.Number],
1294
- [["Money", 4], x.Money],
1295
- [["DateTime", 5], x.DateTime],
1296
- [["Lookup", 6], x.Lookup],
1297
- [["IpAddress", 7], x.IpAddress],
1298
- [["Date", 8], x.Date],
1299
- [["Time", 9], x.Time],
1300
- [["LookupCollection", 10], x.LookupCollection],
1301
- [["Hidden", 11], x.Hidden],
1302
- [["Label", 12], x.Label],
1303
- [["Password", 13], x.Password],
1304
- [["Link", 14], x.Link],
1305
- [["Image", 15], x.Image],
1306
- [["Html", 19], x.Html],
1307
- [["QR", 20], x.QRCode]
1296
+ ...Array.isArray(W) ? [...W.map((D) => [D, F])] : [[W, F]]
1297
+ ], x1 = new Map([
1298
+ [["Unknown", 0], M.Unknown],
1299
+ [["Text", 1], M.Text],
1300
+ [["Boolean", 2], M.Boolean],
1301
+ [["Number", 3], M.Number],
1302
+ [["Money", 4], M.Money],
1303
+ [["DateTime", 5], M.DateTime],
1304
+ [["Lookup", 6], M.Lookup],
1305
+ [["IpAddress", 7], M.IpAddress],
1306
+ [["Date", 8], M.Date],
1307
+ [["Time", 9], M.Time],
1308
+ [["LookupCollection", 10], M.LookupCollection],
1309
+ [["Hidden", 11], M.Hidden],
1310
+ [["Label", 12], M.Label],
1311
+ [["Password", 13], M.Password],
1312
+ [["Link", 14], M.Link],
1313
+ [["Image", 15], M.Image],
1314
+ [["Html", 19], M.Html],
1315
+ [["QR", 20], M.QRCode]
1308
1316
  ].reduce(v1, []));
1309
- let S, r1 = [], _1, A, $ = [], e1, l1, c1 = "", k1 = window.navigator.userAgent, u1 = !1;
1317
+ let x, r1 = [], _1, A, $ = [], e1, l1, c1 = "", k1 = window.navigator.userAgent, u1 = !1;
1310
1318
  const g1 = {
1311
1319
  promotions: {
1312
1320
  event: "Cashier:goToPromotions",
@@ -1364,13 +1372,13 @@ function it(i, e, t) {
1364
1372
  type: "CloseButton"
1365
1373
  }
1366
1374
  }, t1 = (r) => {
1367
- t(12, C1 = []), r.split(",").forEach((O) => {
1368
- g1[O.trim()] && C1.push(g1[O.trim()]);
1375
+ t(12, C1 = []), r.split(",").forEach((F) => {
1376
+ g1[F.trim()] && C1.push(g1[F.trim()]);
1369
1377
  });
1370
1378
  }, n1 = () => {
1371
- We(o);
1379
+ Ie(o);
1372
1380
  };
1373
- we(() => (window.addEventListener("message", h1, !1), be(u, o1, f1, y), () => {
1381
+ be(() => (window.addEventListener("message", h1, !1), ye(u, o1, f1, y), () => {
1374
1382
  window.removeEventListener("message", h1);
1375
1383
  }));
1376
1384
  const h1 = (r) => {
@@ -1384,8 +1392,8 @@ function it(i, e, t) {
1384
1392
  let r = f;
1385
1393
  if (r)
1386
1394
  return fetch(r).then((W) => W.json()).then((W) => {
1387
- Object.keys(W).forEach((O) => {
1388
- q1(O, W[O]);
1395
+ Object.keys(W).forEach((F) => {
1396
+ q1(F, W[F]);
1389
1397
  });
1390
1398
  }).catch(() => {
1391
1399
  });
@@ -1406,19 +1414,19 @@ function it(i, e, t) {
1406
1414
  );
1407
1415
  }, w1 = () => {
1408
1416
  const r = new URL(`${a}/v1/player/${g}/payment/GetPaymentInfo`), W = new Headers();
1409
- W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", P1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
1410
- const O = {
1417
+ W.append("accept", "application/json"), W.append("Content-Type", "application/json"), W.append("X-SessionId", `${s}`), W.append("X-Client-Request-Timestamp", B1.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), q.indexOf("MM_CHANNEL_BETA") != -1 && W.append("MM_CHANNEL", "BETA");
1418
+ const F = {
1411
1419
  method: "POST",
1412
1420
  headers: W,
1413
1421
  body: JSON.stringify({ TransactionCode: k })
1414
1422
  };
1415
- t(11, Y = !0), fetch(r, O).then((D) => D.json()).then((D) => {
1423
+ t(11, Y = !0), fetch(r, F).then((D) => D.json()).then((D) => {
1416
1424
  var L1, H1, I1, z1, A1, j1, Z1, V1, E1;
1417
1425
  if (D.ResponseCode !== J.Success) {
1418
1426
  t(19, e1 = D.ResponseCode), t(20, l1 = p.toLowerCase() === "false" || !p), p1();
1419
1427
  return;
1420
1428
  }
1421
- switch (t(15, S = {
1429
+ switch (t(15, x = {
1422
1430
  type: D.Transaction.Type,
1423
1431
  referenceId: D.Transaction.Code,
1424
1432
  status: (L1 = D.Transaction.Status) == null ? void 0 : L1.Status,
@@ -1427,36 +1435,36 @@ function it(i, e, t) {
1427
1435
  currency: (z1 = D.Transaction.Amounts[0]) == null ? void 0 : z1.Currency,
1428
1436
  time: D.Transaction.Status.Created
1429
1437
  }), t(16, r1 = D.ReceiptInfo && D.ReceiptInfo.ReceiptFields ? D.ReceiptInfo.ReceiptFields.map((i1) => ({
1430
- type: S1.get(i1.Type),
1438
+ type: x1.get(i1.Type),
1431
1439
  name: i1.Name,
1432
1440
  description: i1.Description,
1433
1441
  defaultValue: i1.DefaultValue,
1434
1442
  useCopyButton: i1.UseCopyButton,
1435
1443
  usePrintButton: i1.UsePrintButton
1436
- })) : []), D.ReceiptInfo && D.ReceiptInfo.ReceiptFields && !E && t(0, E = r1[0].defaultValue), n(Ie(S.status, S.type), { values: { errorText: S.message } }), t(17, _1 = ye(Number(S.amount), S.currency)), S.status) {
1444
+ })) : []), D.ReceiptInfo && D.ReceiptInfo.ReceiptFields && !E && t(0, E = r1[0].defaultValue), n(Ae(x.status, x.type), { values: { errorText: x.message } }), t(17, _1 = ve(Number(x.amount), x.currency)), x.status) {
1437
1445
  case "Voided":
1438
1446
  case "Success":
1439
- if (t1(L || "casino, livecasino, tournaments"), t(21, c1 = "success"), S.type === "Deposit") {
1447
+ if (t1(L || "casino, livecasino, tournaments"), t(21, c1 = "success"), x.type === "Deposit") {
1440
1448
  const i1 = (j1 = (A1 = D.Transaction) == null ? void 0 : A1.Flags) == null ? void 0 : j1.NewDepositCustomer, y1 = (Z1 = D == null ? void 0 : D.Transaction) == null ? void 0 : Z1.Payloads;
1441
1449
  window.postMessage(
1442
1450
  {
1443
1451
  type: i1 === "True" ? "FirstDeposit" : "ConfirmedDeposit",
1444
1452
  method: E,
1445
- amount: S.amount,
1446
- currency: S.currency,
1453
+ amount: x.amount,
1454
+ currency: x.currency,
1447
1455
  depositType: (V1 = y1 == null ? void 0 : y1.TagManagerDepositType) != null ? V1 : "",
1448
1456
  publicPaymentId: (E1 = y1 == null ? void 0 : y1.TagManagerCode) != null ? E1 : ""
1449
1457
  },
1450
1458
  window.location.href
1451
1459
  );
1452
1460
  }
1453
- Y1(
1454
- S.type === "Deposit" ? "deposit_success" : "withdrawal_success",
1461
+ F1(
1462
+ x.type === "Deposit" ? "deposit_success" : "withdrawal_success",
1455
1463
  {
1456
1464
  userID: g,
1457
- amount: S.amount,
1458
- currency: S.currency,
1459
- failureReason: S.message
1465
+ amount: x.amount,
1466
+ currency: x.currency,
1467
+ failureReason: x.message
1460
1468
  }
1461
1469
  );
1462
1470
  break;
@@ -1471,29 +1479,29 @@ function it(i, e, t) {
1471
1479
  case "Rejected":
1472
1480
  case "Cancelled":
1473
1481
  case "Failed":
1474
- t1(X || "casino, livecasino, tournaments"), t(21, c1 = S.status.toLowerCase()), Y1(
1475
- S.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
1482
+ t1(X || "casino, livecasino, tournaments"), t(21, c1 = x.status.toLowerCase()), F1(
1483
+ x.type === "Deposit" ? "deposit_failed" : "withdrawal_failed",
1476
1484
  {
1477
1485
  userID: g,
1478
- amount: S.amount,
1479
- currency: S.currency,
1480
- failureReason: S.message
1486
+ amount: x.amount,
1487
+ currency: x.currency,
1488
+ failureReason: x.message
1481
1489
  }
1482
1490
  ), V === "true" && t(22, u1 = !0);
1483
1491
  break;
1484
1492
  default:
1485
1493
  t1("close");
1486
1494
  }
1487
- d ? He(d, S.status) : ze(S.status);
1495
+ d ? ze(d, x.status) : je(x.status);
1488
1496
  }).finally(() => t(11, Y = !1));
1489
1497
  }, R1 = (r) => {
1490
1498
  window.postMessage({ type: r }, window.location.href);
1491
- }, M1 = (r) => {
1499
+ }, S1 = (r) => {
1492
1500
  r && window.postMessage(
1493
1501
  {
1494
1502
  type: "NavigateTo",
1495
1503
  path: r,
1496
- target: nt,
1504
+ target: at,
1497
1505
  externalLink: !1
1498
1506
  },
1499
1507
  window.location.href
@@ -1514,34 +1522,34 @@ function it(i, e, t) {
1514
1522
  console.error("Clipboard API failed:", L1);
1515
1523
  }
1516
1524
  }), D1 = () => {
1517
- F.length > 0 && (q = F.split(","));
1525
+ O.length > 0 && (q = O.split(","));
1518
1526
  }, b1 = (r) => z(r), K = (r) => R1(r.event);
1519
1527
  function j(r) {
1520
- K1[r ? "unshift" : "push"](() => {
1528
+ Y1[r ? "unshift" : "push"](() => {
1521
1529
  $[$.length] = r, t(18, $);
1522
1530
  });
1523
1531
  }
1524
1532
  const m = (r) => {
1525
- M1(r.description);
1533
+ S1(r.description);
1526
1534
  };
1527
1535
  function v(r) {
1528
- K1[r ? "unshift" : "push"](() => {
1536
+ Y1[r ? "unshift" : "push"](() => {
1529
1537
  A = r, t(10, A);
1530
1538
  });
1531
1539
  }
1532
1540
  return i.$$set = (r) => {
1533
- "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, u = r.local), "showerrors" in r && t(32, p = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, d = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, k = r.transactionid), "currencydecimals" in r && t(34, y = r.currencydecimals), "type" in r && t(35, b = 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, L = r.customsucceessbuttons), "custompendingbuttons" in r && t(38, H = r.custompendingbuttons), "customfailedbuttons" in r && t(39, X = 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);
1541
+ "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, u = r.local), "showerrors" in r && t(32, p = r.showerrors), "translationurl" in r && t(4, f = r.translationurl), "assetsurl" in r && t(5, d = r.assetsurl), "customerid" in r && t(6, g = r.customerid), "transactionid" in r && t(33, k = r.transactionid), "currencydecimals" in r && t(34, y = r.currencydecimals), "type" in r && t(35, b = 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, L = r.customsucceessbuttons), "custompendingbuttons" in r && t(38, H = r.custompendingbuttons), "customfailedbuttons" in r && t(39, X = 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);
1534
1542
  }, i.$$.update = () => {
1535
1543
  i.$$.dirty[1] & /*userroles*/
1536
- 2048 && F && D1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
1544
+ 2048 && O && D1(), i.$$.dirty[0] & /*endpoint, session, customerid*/
1537
1545
  70 | i.$$.dirty[1] & /*transactionid, showerrors*/
1538
1546
  6 && a && s && g && k && p && w1(), i.$$.dirty[0] & /*lang*/
1539
1547
  8 && o && n1(), i.$$.dirty[0] & /*lang, translationurl*/
1540
1548
  24 && o && f && Q(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1541
- 1152 && B && A && Le(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1542
- 1280 && U && A && Pe(A, U), i.$$.dirty[0] & /*customStylingContainer*/
1549
+ 1152 && B && A && De(A, B), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1550
+ 1280 && U && A && Le(A, U), i.$$.dirty[0] & /*customStylingContainer*/
1543
1551
  1024 | i.$$.dirty[1] & /*mbsource*/
1544
- 32 && Z && A && Be(A, `${Z}.Style`, a1);
1552
+ 32 && Z && A && Pe(A, `${Z}.Style`, a1);
1545
1553
  }, [
1546
1554
  E,
1547
1555
  a,
@@ -1557,8 +1565,8 @@ function it(i, e, t) {
1557
1565
  Y,
1558
1566
  C1,
1559
1567
  J,
1568
+ M,
1560
1569
  x,
1561
- S,
1562
1570
  r1,
1563
1571
  _1,
1564
1572
  $,
@@ -1572,7 +1580,7 @@ function it(i, e, t) {
1572
1580
  T1,
1573
1581
  w1,
1574
1582
  R1,
1575
- M1,
1583
+ S1,
1576
1584
  z,
1577
1585
  u,
1578
1586
  p,
@@ -1585,7 +1593,7 @@ function it(i, e, t) {
1585
1593
  X,
1586
1594
  o1,
1587
1595
  f1,
1588
- F,
1596
+ O,
1589
1597
  s1,
1590
1598
  m1,
1591
1599
  b1,
@@ -1595,14 +1603,14 @@ function it(i, e, t) {
1595
1603
  v
1596
1604
  ];
1597
1605
  }
1598
- class at extends de {
1606
+ class ce extends me {
1599
1607
  constructor(e) {
1600
- super(), fe(
1608
+ super(), Ce(
1601
1609
  this,
1602
1610
  e,
1611
+ ot,
1603
1612
  it,
1604
- tt,
1605
- me,
1613
+ ge,
1606
1614
  {
1607
1615
  endpoint: 1,
1608
1616
  session: 2,
@@ -1629,7 +1637,7 @@ class at extends de {
1629
1637
  windowsize: 43,
1630
1638
  p2p: 44
1631
1639
  },
1632
- Ze,
1640
+ Ee,
1633
1641
  [-1, -1, -1]
1634
1642
  );
1635
1643
  }
@@ -1778,7 +1786,12 @@ class at extends de {
1778
1786
  this.$$set({ p2p: e }), P();
1779
1787
  }
1780
1788
  }
1781
- Se(at, { 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);
1789
+ Be(ce, { 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);
1790
+ const ct = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1791
+ __proto__: null,
1792
+ default: ce
1793
+ }, Symbol.toStringTag, { value: "Module" }));
1782
1794
  export {
1783
- at as default
1795
+ ct as C,
1796
+ G1 as f
1784
1797
  };