@everymatrix/cashier-receipt-page-nd 1.69.140 → 1.69.141

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.
@@ -14,7 +14,7 @@ var Ne = (i, e, t) => new Promise((n, r) => {
14
14
  }, l = (a) => a.done ? n(a.value) : Promise.resolve(a.value).then(o, s);
15
15
  l((t = t.apply(i, e)).next());
16
16
  });
17
- import { i as Lt, a as Ht, b as It, $ as Wt, c as yt, g as vt, S as Bt, d as Ot, f as G, s as Et, e as jt, h as zt, n as be, j as M, k as D, l as x, m as u, o as At, p as Yt, q as Ke, t as Ge, r as $t, u as Zt, v as Vt, w as h, x as j, y as Ut, z as Ft, A as Nt, B as A, C as Y, D as z, E as Kt, F as ke, G as Ze, H as Pe, I as wt, J as fe, K as qe, L as Gt, M as qt, N as Qt, O as Jt } from "./CashierError-DczBAj3_.js";
17
+ import { i as Lt, a as It, b as Ht, $ as Wt, c as yt, g as vt, S as Bt, d as Ot, f as G, s as Et, e as jt, h as zt, n as be, j as M, k as D, l as x, m as u, o as At, p as Yt, q as Ke, t as Ge, r as $t, u as Zt, v as Vt, w as h, x as j, y as Ut, z as Ft, A as Nt, B as A, C as Y, D as z, E as Kt, F as ke, G as Ze, H as Pe, I as wt, J as fe, K as qe, L as Gt, M as qt, N as Qt, O as Jt } from "./CashierError-DczBAj3_.js";
18
18
  function Qe(i, { delay: e = 0, duration: t = 400, easing: n = Lt } = {}) {
19
19
  const r = +getComputedStyle(i).opacity;
20
20
  return {
@@ -25,10 +25,10 @@ function Qe(i, { delay: e = 0, duration: t = 400, easing: n = Lt } = {}) {
25
25
  };
26
26
  }
27
27
  function Je(i, e) {
28
- Ht(i, e);
28
+ It(i, e);
29
29
  }
30
30
  function Xt(i) {
31
- It({
31
+ Ht({
32
32
  fallbackLocale: "en"
33
33
  }), Wt.set(i);
34
34
  }
@@ -444,8 +444,8 @@ var Tt = { exports: {} };
444
444
  if (!C && _.length > 1)
445
445
  return k(_[0]);
446
446
  } else {
447
- var H = g.name;
448
- L[H] = g, C = H;
447
+ var I = g.name;
448
+ L[I] = g, C = I;
449
449
  }
450
450
  return !y && C && (X = C), C || !y && X;
451
451
  }, F = function(k, g) {
@@ -474,8 +474,8 @@ var Tt = { exports: {} };
474
474
  if (typeof C == "string" && !/Z$/i.test(C)) {
475
475
  var _ = C.match(V);
476
476
  if (_) {
477
- var H = _[2] - 1 || 0, E = (_[7] || "0").substring(0, 3);
478
- return w ? new Date(Date.UTC(_[1], H, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, E)) : new Date(_[1], H, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, E);
477
+ var I = _[2] - 1 || 0, E = (_[7] || "0").substring(0, 3);
478
+ return w ? new Date(Date.UTC(_[1], I, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, E)) : new Date(_[1], I, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, E);
479
479
  }
480
480
  }
481
481
  return new Date(C);
@@ -501,7 +501,7 @@ var Tt = { exports: {} };
501
501
  }, g.valueOf = function() {
502
502
  return this.$d.getTime();
503
503
  }, g.startOf = function(f, y) {
504
- var C = this, w = !!R.u(y) || y, _ = R.p(f), H = function(oe, J) {
504
+ var C = this, w = !!R.u(y) || y, _ = R.p(f), I = function(oe, J) {
505
505
  var le = R.w(C.$u ? Date.UTC(C.$y, J, oe) : new Date(C.$y, J, oe), C);
506
506
  return w ? le : le.endOf(d);
507
507
  }, E = function(oe, J) {
@@ -509,12 +509,12 @@ var Tt = { exports: {} };
509
509
  }, B = this.$W, K = this.$M, Q = this.$D, ue = "set" + (this.$u ? "UTC" : "");
510
510
  switch (_) {
511
511
  case T:
512
- return w ? H(1, 0) : H(31, 11);
512
+ return w ? I(1, 0) : I(31, 11);
513
513
  case v:
514
- return w ? H(1, K) : H(0, K + 1);
514
+ return w ? I(1, K) : I(0, K + 1);
515
515
  case p:
516
516
  var re = this.$locale().weekStart || 0, pe = (B < re ? B + 7 : B) - re;
517
- return H(w ? Q - pe : Q + (6 - pe), K);
517
+ return I(w ? Q - pe : Q + (6 - pe), K);
518
518
  case d:
519
519
  case S:
520
520
  return E(ue + "Hours", 0);
@@ -530,12 +530,12 @@ var Tt = { exports: {} };
530
530
  }, g.endOf = function(f) {
531
531
  return this.startOf(f, !1);
532
532
  }, g.$set = function(f, y) {
533
- var C, w = R.p(f), _ = "set" + (this.$u ? "UTC" : ""), H = (C = {}, C[d] = _ + "Date", C[S] = _ + "Date", C[v] = _ + "Month", C[T] = _ + "FullYear", C[a] = _ + "Hours", C[l] = _ + "Minutes", C[s] = _ + "Seconds", C[o] = _ + "Milliseconds", C)[w], E = w === d ? this.$D + (y - this.$W) : y;
533
+ var C, w = R.p(f), _ = "set" + (this.$u ? "UTC" : ""), I = (C = {}, C[d] = _ + "Date", C[S] = _ + "Date", C[v] = _ + "Month", C[T] = _ + "FullYear", C[a] = _ + "Hours", C[l] = _ + "Minutes", C[s] = _ + "Seconds", C[o] = _ + "Milliseconds", C)[w], E = w === d ? this.$D + (y - this.$W) : y;
534
534
  if (w === v || w === T) {
535
535
  var B = this.clone().set(S, 1);
536
- B.$d[H](E), B.init(), this.$d = B.set(S, Math.min(this.$D, B.daysInMonth())).$d;
536
+ B.$d[I](E), B.init(), this.$d = B.set(S, Math.min(this.$D, B.daysInMonth())).$d;
537
537
  } else
538
- H && this.$d[H](E);
538
+ I && this.$d[I](E);
539
539
  return this.init(), this;
540
540
  }, g.set = function(f, y) {
541
541
  return this.clone().$set(f, y);
@@ -544,7 +544,7 @@ var Tt = { exports: {} };
544
544
  }, g.add = function(f, y) {
545
545
  var C, w = this;
546
546
  f = Number(f);
547
- var _ = R.p(y), H = function(K) {
547
+ var _ = R.p(y), I = function(K) {
548
548
  var Q = F(w);
549
549
  return R.w(Q.date(Q.date() + Math.round(K * f)), w);
550
550
  };
@@ -553,9 +553,9 @@ var Tt = { exports: {} };
553
553
  if (_ === T)
554
554
  return this.set(T, this.$y + f);
555
555
  if (_ === d)
556
- return H(1);
556
+ return I(1);
557
557
  if (_ === p)
558
- return H(7);
558
+ return I(7);
559
559
  var E = (C = {}, C[l] = n, C[a] = r, C[s] = t, C)[_] || 1, B = this.$d.getTime() + f * E;
560
560
  return R.w(B, this);
561
561
  }, g.subtract = function(f, y) {
@@ -564,10 +564,10 @@ var Tt = { exports: {} };
564
564
  var y = this, C = this.$locale();
565
565
  if (!this.isValid())
566
566
  return C.invalidDate || m;
567
- var w = f || "YYYY-MM-DDTHH:mm:ssZ", _ = R.z(this), H = this.$H, E = this.$m, B = this.$M, K = C.weekdays, Q = C.months, ue = C.meridiem, re = function(J, le, ce, de) {
567
+ var w = f || "YYYY-MM-DDTHH:mm:ssZ", _ = R.z(this), I = this.$H, E = this.$m, B = this.$M, K = C.weekdays, Q = C.months, ue = C.meridiem, re = function(J, le, ce, de) {
568
568
  return J && (J[le] || J(y, w)) || ce[le].slice(0, de);
569
569
  }, pe = function(J) {
570
- return R.s(H % 12 || 12, J, "0");
570
+ return R.s(I % 12 || 12, J, "0");
571
571
  }, oe = ue || function(J, le, ce) {
572
572
  var de = J < 12 ? "AM" : "PM";
573
573
  return ce ? de.toLowerCase() : de;
@@ -600,17 +600,17 @@ var Tt = { exports: {} };
600
600
  case "dddd":
601
601
  return K[y.$W];
602
602
  case "H":
603
- return String(H);
603
+ return String(I);
604
604
  case "HH":
605
- return R.s(H, 2, "0");
605
+ return R.s(I, 2, "0");
606
606
  case "h":
607
607
  return pe(1);
608
608
  case "hh":
609
609
  return pe(2);
610
610
  case "a":
611
- return oe(H, E, !0);
611
+ return oe(I, E, !0);
612
612
  case "A":
613
- return oe(H, E, !1);
613
+ return oe(I, E, !1);
614
614
  case "m":
615
615
  return String(E);
616
616
  case "mm":
@@ -630,10 +630,10 @@ var Tt = { exports: {} };
630
630
  }, g.utcOffset = function() {
631
631
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
632
632
  }, g.diff = function(f, y, C) {
633
- var w, _ = this, H = R.p(y), E = F(f), B = (E.utcOffset() - this.utcOffset()) * n, K = this - E, Q = function() {
633
+ var w, _ = this, I = R.p(y), E = F(f), B = (E.utcOffset() - this.utcOffset()) * n, K = this - E, Q = function() {
634
634
  return R.m(_, E);
635
635
  };
636
- switch (H) {
636
+ switch (I) {
637
637
  case T:
638
638
  w = Q() / 12;
639
639
  break;
@@ -857,7 +857,7 @@ function St(i) {
857
857
  }, t = i(e);
858
858
  return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
859
859
  }
860
- var Ie = St(function(i) {
860
+ var He = St(function(i) {
861
861
  return function(t) {
862
862
  i(this), this.message = t ? t.length + ` errors occurred during unsubscription:
863
863
  ` + t.map(function(n, r) {
@@ -872,7 +872,7 @@ function je(i, e) {
872
872
  0 <= t && i.splice(t, 1);
873
873
  }
874
874
  }
875
- var He = function() {
875
+ var Ie = function() {
876
876
  function i(e) {
877
877
  this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
878
878
  }
@@ -905,7 +905,7 @@ var He = function() {
905
905
  try {
906
906
  p();
907
907
  } catch (m) {
908
- o = m instanceof Ie ? m.errors : [m];
908
+ o = m instanceof He ? m.errors : [m];
909
909
  }
910
910
  var v = this._finalizers;
911
911
  if (v) {
@@ -916,7 +916,7 @@ var He = function() {
916
916
  try {
917
917
  et(S);
918
918
  } catch (m) {
919
- o = o != null ? o : [], m instanceof Ie ? o = Ee(Ee([], Oe(o)), Oe(m.errors)) : o.push(m);
919
+ o = o != null ? o : [], m instanceof He ? o = Ee(Ee([], Oe(o)), Oe(m.errors)) : o.push(m);
920
920
  }
921
921
  }
922
922
  } catch (m) {
@@ -931,7 +931,7 @@ var He = function() {
931
931
  }
932
932
  }
933
933
  if (o)
934
- throw new Ie(o);
934
+ throw new He(o);
935
935
  }
936
936
  }, i.prototype.add = function(e) {
937
937
  var t;
@@ -962,9 +962,9 @@ var He = function() {
962
962
  var e = new i();
963
963
  return e.closed = !0, e;
964
964
  }(), i;
965
- }(), xt = He.EMPTY;
965
+ }(), xt = Ie.EMPTY;
966
966
  function Mt(i) {
967
- return i instanceof He || i && "closed" in i && ge(i.remove) && ge(i.add) && ge(i.unsubscribe);
967
+ return i instanceof Ie || i && "closed" in i && ge(i.remove) && ge(i.add) && ge(i.unsubscribe);
968
968
  }
969
969
  function et(i) {
970
970
  ge(i) ? i() : i.unsubscribe();
@@ -1023,7 +1023,7 @@ var Dt = function(i) {
1023
1023
  this.unsubscribe();
1024
1024
  }
1025
1025
  }, e;
1026
- }(He), f1 = function() {
1026
+ }(Ie), f1 = function() {
1027
1027
  function i(e) {
1028
1028
  this.partialObserver = e;
1029
1029
  }
@@ -1232,7 +1232,7 @@ var y1 = St(function(i) {
1232
1232
  return this._throwIfClosed(), this._checkFinalizedStatuses(t), this._innerSubscribe(t);
1233
1233
  }, e.prototype._innerSubscribe = function(t) {
1234
1234
  var n = this, r = this, o = r.hasError, s = r.isStopped, l = r.observers;
1235
- return o || s ? xt : (this.currentObservers = null, l.push(t), new He(function() {
1235
+ return o || s ? xt : (this.currentObservers = null, l.push(t), new Ie(function() {
1236
1236
  n.currentObservers = null, je(l, t);
1237
1237
  }));
1238
1238
  }, e.prototype._checkFinalizedStatuses = function(t) {
@@ -1366,7 +1366,7 @@ if (typeof window != "undefined") {
1366
1366
  });
1367
1367
  }
1368
1368
  function k1(i) {
1369
- zt(i, "svelte-1xo6qre", '.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{height:100%;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 .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)}');
1369
+ zt(i, "svelte-10kilz0", '.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 .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)}');
1370
1370
  }
1371
1371
  function ut(i, e, t) {
1372
1372
  const n = i.slice();
@@ -1673,14 +1673,14 @@ function D1(i) {
1673
1673
  ), O, k, g, f, y = (
1674
1674
  /*$_*/
1675
1675
  i[24]("payemntMethod") + ""
1676
- ), C, w, _, H, E, B, K, Q = (
1676
+ ), C, w, _, I, E, B, K, Q = (
1677
1677
  /*$_*/
1678
1678
  i[24]("paymentTime") + ""
1679
1679
  ), ue, re, pe, oe = Le(
1680
1680
  /*txnInfo*/
1681
1681
  i[15].time
1682
1682
  ).format("MMM DD, YYYY, HH:mm:ss") + "", J, le, ce, de, me, ye, he, ve, _e;
1683
- function xe(b, I) {
1683
+ function xe(b, H) {
1684
1684
  if (
1685
1685
  /*txnStatus*/
1686
1686
  b[21] === "success"
@@ -1703,10 +1703,10 @@ function D1(i) {
1703
1703
  /*displayedButtons*/
1704
1704
  i[12].length > 0 && ht(i)
1705
1705
  );
1706
- function Me(b, I) {
1706
+ function Me(b, H) {
1707
1707
  return (
1708
1708
  /*txnInfo*/
1709
- b[15].type ? I1 : H1
1709
+ b[15].type ? H1 : I1
1710
1710
  );
1711
1711
  }
1712
1712
  let c = Me(i), W = c(i), Z = (
@@ -1718,14 +1718,14 @@ function D1(i) {
1718
1718
  e = x("div"), ne && ne.c(), t = j(), n = x("div"), r = x("div"), o = x("p"), l = Y(s), a = j(), d = x("span"), p = Y(
1719
1719
  /*amount*/
1720
1720
  i[17]
1721
- ), v = j(), P = x("div"), T = x("p"), m = Y(S), V = j(), N = x("span"), $ = Y(q), X = j(), L = x("div"), U = x("p"), te = Y(se), F = j(), R = x("span"), O = Y(ae), k = j(), g = x("div"), f = x("p"), C = Y(y), w = j(), _ = x("span"), H = Y(
1721
+ ), v = j(), P = x("div"), T = x("p"), m = Y(S), V = j(), N = x("span"), $ = Y(q), X = j(), L = x("div"), U = x("p"), te = Y(se), F = j(), R = x("span"), O = Y(ae), k = j(), g = x("div"), f = x("p"), C = Y(y), w = j(), _ = x("span"), I = Y(
1722
1722
  /*paymentmethod*/
1723
1723
  i[0]
1724
1724
  ), E = j(), B = x("div"), K = x("p"), ue = Y(Q), re = j(), pe = x("span"), J = Y(oe), le = j(), ce = x("div"), ie && ie.c(), de = j(), me = x("button"), W.c(), ye = j(), Z && Z.c(), he = Ze(), u(e, "class", "ReceiptStatusWrapper"), u(r, "class", "Amount"), u(P, "class", ee = `Status ${/*txnStatus*/
1725
1725
  i[21]}`), u(R, "class", "TxnIdText"), u(L, "class", "TxnId"), u(g, "class", "PaymentMethod"), u(B, "class", "PaymentTime"), u(n, "class", "ReceiptDetailsWrapper"), u(ce, "class", "ReceiptButtonsWrapper"), u(me, "class", "DefaultButton");
1726
1726
  },
1727
- m(b, I) {
1728
- D(b, e, I), ne && ne.m(e, null), D(b, t, I), D(b, n, I), h(n, r), h(r, o), h(o, l), h(r, a), h(r, d), h(d, p), h(n, v), h(n, P), h(P, T), h(T, m), h(P, V), h(P, N), h(N, $), h(n, X), h(n, L), h(L, U), h(U, te), h(L, F), h(L, R), h(R, O), h(n, k), h(n, g), h(g, f), h(f, C), h(g, w), h(g, _), h(_, H), h(n, E), h(n, B), h(B, K), h(K, ue), h(B, re), h(B, pe), h(pe, J), D(b, le, I), D(b, ce, I), ie && ie.m(ce, null), D(b, de, I), D(b, me, I), W.m(me, null), D(b, ye, I), Z && Z.m(b, I), D(b, he, I), ve || (_e = [
1727
+ m(b, H) {
1728
+ D(b, e, H), ne && ne.m(e, null), D(b, t, H), D(b, n, H), h(n, r), h(r, o), h(o, l), h(r, a), h(r, d), h(d, p), h(n, v), h(n, P), h(P, T), h(T, m), h(P, V), h(P, N), h(N, $), h(n, X), h(n, L), h(L, U), h(U, te), h(L, F), h(L, R), h(R, O), h(n, k), h(n, g), h(g, f), h(f, C), h(g, w), h(g, _), h(_, I), h(n, E), h(n, B), h(B, K), h(K, ue), h(B, re), h(B, pe), h(pe, J), D(b, le, H), D(b, ce, H), ie && ie.m(ce, null), D(b, de, H), D(b, me, H), W.m(me, null), D(b, ye, H), Z && Z.m(b, H), D(b, he, H), ve || (_e = [
1729
1729
  ke(
1730
1730
  R,
1731
1731
  "click",
@@ -1740,41 +1740,41 @@ function D1(i) {
1740
1740
  )
1741
1741
  ], ve = !0);
1742
1742
  },
1743
- p(b, I) {
1744
- Ce === (Ce = xe(b)) && ne ? ne.p(b, I) : (ne && ne.d(1), ne = Ce && Ce(b), ne && (ne.c(), ne.m(e, null))), I[0] & /*$_*/
1743
+ p(b, H) {
1744
+ Ce === (Ce = xe(b)) && ne ? ne.p(b, H) : (ne && ne.d(1), ne = Ce && Ce(b), ne && (ne.c(), ne.m(e, null))), H[0] & /*$_*/
1745
1745
  16777216 && s !== (s = /*$_*/
1746
- b[24]("amount") + "") && A(l, s), I[0] & /*amount*/
1746
+ b[24]("amount") + "") && A(l, s), H[0] & /*amount*/
1747
1747
  131072 && A(
1748
1748
  p,
1749
1749
  /*amount*/
1750
1750
  b[17]
1751
- ), I[0] & /*$_*/
1751
+ ), H[0] & /*$_*/
1752
1752
  16777216 && S !== (S = /*$_*/
1753
- b[24]("status") + "") && A(m, S), I[0] & /*$_, txnStatus*/
1753
+ b[24]("status") + "") && A(m, S), H[0] & /*$_, txnStatus*/
1754
1754
  18874368 && q !== (q = /*$_*/
1755
1755
  b[24](`${/*txnStatus*/
1756
- b[21]}`) + "") && A($, q), I[0] & /*txnStatus*/
1756
+ b[21]}`) + "") && A($, q), H[0] & /*txnStatus*/
1757
1757
  2097152 && ee !== (ee = `Status ${/*txnStatus*/
1758
- b[21]}`) && u(P, "class", ee), I[0] & /*$_*/
1758
+ b[21]}`) && u(P, "class", ee), H[0] & /*$_*/
1759
1759
  16777216 && se !== (se = /*$_*/
1760
- b[24]("transactionId") + "") && A(te, se), I[0] & /*txnInfo*/
1760
+ b[24]("transactionId") + "") && A(te, se), H[0] & /*txnInfo*/
1761
1761
  32768 && ae !== (ae = /*txnInfo*/
1762
- b[15].referenceId + "") && A(O, ae), I[0] & /*$_*/
1762
+ b[15].referenceId + "") && A(O, ae), H[0] & /*$_*/
1763
1763
  16777216 && y !== (y = /*$_*/
1764
- b[24]("payemntMethod") + "") && A(C, y), I[0] & /*paymentmethod*/
1764
+ b[24]("payemntMethod") + "") && A(C, y), H[0] & /*paymentmethod*/
1765
1765
  1 && A(
1766
- H,
1766
+ I,
1767
1767
  /*paymentmethod*/
1768
1768
  b[0]
1769
- ), I[0] & /*$_*/
1769
+ ), H[0] & /*$_*/
1770
1770
  16777216 && Q !== (Q = /*$_*/
1771
- b[24]("paymentTime") + "") && A(ue, Q), I[0] & /*txnInfo*/
1771
+ b[24]("paymentTime") + "") && A(ue, Q), H[0] & /*txnInfo*/
1772
1772
  32768 && oe !== (oe = Le(
1773
1773
  /*txnInfo*/
1774
1774
  b[15].time
1775
1775
  ).format("MMM DD, YYYY, HH:mm:ss") + "") && A(J, oe), /*displayedButtons*/
1776
- b[12].length > 0 ? ie ? ie.p(b, I) : (ie = ht(b), ie.c(), ie.m(ce, null)) : ie && (ie.d(1), ie = null), c === (c = Me(b)) && W ? W.p(b, I) : (W.d(1), W = c(b), W && (W.c(), W.m(me, null))), /*receiptFields*/
1777
- b[16].length ? Z ? Z.p(b, I) : (Z = Ct(b), Z.c(), Z.m(he.parentNode, he)) : Z && (Z.d(1), Z = null);
1776
+ b[12].length > 0 ? ie ? ie.p(b, H) : (ie = ht(b), ie.c(), ie.m(ce, null)) : ie && (ie.d(1), ie = null), c === (c = Me(b)) && W ? W.p(b, H) : (W.d(1), W = c(b), W && (W.c(), W.m(me, null))), /*receiptFields*/
1777
+ b[16].length ? Z ? Z.p(b, H) : (Z = Ct(b), Z.c(), Z.m(he.parentNode, he)) : Z && (Z.d(1), Z = null);
1778
1778
  },
1779
1779
  d(b) {
1780
1780
  b && (M(e), M(t), M(n), M(le), M(ce), M(de), M(me), M(ye), M(he)), ne && ne.d(), ie && ie.d(), W.d(), Z && Z.d(b), ve = !1, Kt(_e);
@@ -1992,7 +1992,7 @@ function gt(i) {
1992
1992
  }
1993
1993
  };
1994
1994
  }
1995
- function H1(i) {
1995
+ function I1(i) {
1996
1996
  let e = (
1997
1997
  /*$_*/
1998
1998
  i[24]("backHome") + ""
@@ -2014,7 +2014,7 @@ function H1(i) {
2014
2014
  }
2015
2015
  };
2016
2016
  }
2017
- function I1(i) {
2017
+ function H1(i) {
2018
2018
  let e = (
2019
2019
  /*$_*/
2020
2020
  i[24](`back${/*txnInfo*/
@@ -2312,7 +2312,7 @@ function $1(i, e, t) {
2312
2312
  [["Html", 19], O.Html],
2313
2313
  [["QR", 20], O.QRCode]
2314
2314
  ].reduce(k, []));
2315
- let f, y = [], C, w, _ = [], H, E, B = "", K = window.navigator.userAgent, Q = !1;
2315
+ let f, y = [], C, w, _ = [], I, E, B = "", K = window.navigator.userAgent, Q = !1;
2316
2316
  const ue = {
2317
2317
  promotions: {
2318
2318
  event: "Cashier:goToPromotions",
@@ -2405,7 +2405,7 @@ function $1(i, e, t) {
2405
2405
  window.postMessage(
2406
2406
  {
2407
2407
  type: "ErrorResponseCode",
2408
- errorResponseCode: H,
2408
+ errorResponseCode: I,
2409
2409
  showErrorOutsideReceiptPage: E
2410
2410
  },
2411
2411
  window.location.href
@@ -2419,15 +2419,15 @@ function $1(i, e, t) {
2419
2419
  body: JSON.stringify({ TransactionCode: P })
2420
2420
  };
2421
2421
  t(11, ee = !0), fetch(c, Z).then((b) => b.json()).then((b) => {
2422
- var I, Ve, Ue, Fe;
2422
+ var H, Ve, Ue, Fe;
2423
2423
  if (b.ResponseCode !== ae.Success) {
2424
- t(19, H = b.ResponseCode), t(20, E = a.toLowerCase() === "false" || !a), ce();
2424
+ t(19, I = b.ResponseCode), t(20, E = a.toLowerCase() === "false" || !a), ce();
2425
2425
  return;
2426
2426
  }
2427
2427
  switch (t(15, f = {
2428
2428
  type: b.Transaction.Type,
2429
2429
  referenceId: b.Transaction.Code,
2430
- status: (I = b.Transaction.Status) == null ? void 0 : I.Status,
2430
+ status: (H = b.Transaction.Status) == null ? void 0 : H.Status,
2431
2431
  message: (Ve = b.Transaction.Status) == null ? void 0 : Ve.Message,
2432
2432
  amount: (Ue = b.Transaction.Amounts[0]) == null ? void 0 : Ue.Amount,
2433
2433
  currency: (Fe = b.Transaction.Amounts[0]) == null ? void 0 : Fe.Currency,
@@ -2439,7 +2439,7 @@ function $1(i, e, t) {
2439
2439
  defaultValue: we.DefaultValue,
2440
2440
  useCopyButton: we.UseCopyButton,
2441
2441
  usePrintButton: we.UsePrintButton
2442
- })) : []), $ || t(0, $ = y[0].defaultValue), n(t1(f.status, f.type), { values: { errorText: f.message } }), t(17, C = T1(Number(f.amount), f.currency)), f.status) {
2442
+ })) : []), b.ReceiptInfo && b.ReceiptInfo.ReceiptFields && !$ && t(0, $ = y[0].defaultValue), n(t1(f.status, f.type), { values: { errorText: f.message } }), t(17, C = T1(Number(f.amount), f.currency)), f.status) {
2443
2443
  case "Voided":
2444
2444
  case "Success":
2445
2445
  re(X || "casino, livecasino, tournaments"), t(21, B = "success"), lt(
@@ -2502,8 +2502,8 @@ function $1(i, e, t) {
2502
2502
  },
2503
2503
  2e3
2504
2504
  ));
2505
- } catch (I) {
2506
- console.error("Clipboard API failed:", I);
2505
+ } catch (H) {
2506
+ console.error("Clipboard API failed:", H);
2507
2507
  }
2508
2508
  }), xe = (c) => _e(c), Ce = (c) => me(c.event);
2509
2509
  function ne(c) {
@@ -2551,7 +2551,7 @@ function $1(i, e, t) {
2551
2551
  y,
2552
2552
  C,
2553
2553
  _,
2554
- H,
2554
+ I,
2555
2555
  E,
2556
2556
  B,
2557
2557
  Q,