@everymatrix/cashier-receipt-page-nd 1.69.140 → 1.69.142
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.
- package/components/{CashierReceiptPage-BM5w-Kgo.js → CashierReceiptPage-C27hA2XK.js} +68 -68
- package/components/{CashierReceiptPage-C08uwbjk.cjs → CashierReceiptPage-DFy21v-B.cjs} +3 -3
- package/components/{CashierReceiptPage-H6Kf4Ej6.js → CashierReceiptPage-Ng2JT1bv.js} +71 -71
- package/es2015/cashier-receipt-page-nd.cjs +1 -1
- package/es2015/cashier-receipt-page-nd.js +1 -1
- package/esnext/cashier-receipt-page-nd.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as xt, a as Mt, b as Dt, $ as Rt, c as mt, g as ht, d as Pt, S as Lt, e as
|
|
1
|
+
import { i as xt, a as Mt, b as Dt, $ as Rt, c as mt, g as ht, d as Pt, S as Lt, e as It, s as Ht, f as G, h as Wt, n as be, j as x, k as M, l as S, m as u, o as Bt, p as Ot, q as Ze, t as Ve, r as Et, u as jt, v as d, w as j, x as zt, y as At, z as Yt, A, B as Y, C as z, D as $t, E as Te, F as $e, G as Re, H as gt, I as fe, J as Ue, K as Zt, L as Vt, M as Ut, N as Ft, O as Nt } from "./CashierError-DI8hSfAP.js";
|
|
2
2
|
function Fe(i, { delay: e = 0, duration: t = 400, easing: n = xt } = {}) {
|
|
3
3
|
const r = +getComputedStyle(i).opacity;
|
|
4
4
|
return {
|
|
@@ -413,8 +413,8 @@ var bt = { exports: {} };
|
|
|
413
413
|
return { M: v, y: T, w: p, d: h, D, h: a, m: c, s, ms: o, Q: R }[k] || String(k || "").toLowerCase().replace(/s$/, "");
|
|
414
414
|
}, u: function(k) {
|
|
415
415
|
return k === void 0;
|
|
416
|
-
} }, X = "en",
|
|
417
|
-
|
|
416
|
+
} }, X = "en", I = {};
|
|
417
|
+
I[X] = q;
|
|
418
418
|
var U = "$isDayjsObject", se = function(k) {
|
|
419
419
|
return k instanceof ae || !(!k || !k[U]);
|
|
420
420
|
}, te = function k(g, f, y) {
|
|
@@ -423,13 +423,13 @@ var bt = { exports: {} };
|
|
|
423
423
|
return X;
|
|
424
424
|
if (typeof g == "string") {
|
|
425
425
|
var w = g.toLowerCase();
|
|
426
|
-
|
|
426
|
+
I[w] && (C = w), f && (I[w] = f, C = w);
|
|
427
427
|
var _ = g.split("-");
|
|
428
428
|
if (!C && _.length > 1)
|
|
429
429
|
return k(_[0]);
|
|
430
430
|
} else {
|
|
431
|
-
var
|
|
432
|
-
H
|
|
431
|
+
var H = g.name;
|
|
432
|
+
I[H] = g, C = H;
|
|
433
433
|
}
|
|
434
434
|
return !y && C && (X = C), C || !y && X;
|
|
435
435
|
}, F = function(k, g) {
|
|
@@ -458,8 +458,8 @@ var bt = { exports: {} };
|
|
|
458
458
|
if (typeof C == "string" && !/Z$/i.test(C)) {
|
|
459
459
|
var _ = C.match(V);
|
|
460
460
|
if (_) {
|
|
461
|
-
var
|
|
462
|
-
return w ? new Date(Date.UTC(_[1],
|
|
461
|
+
var H = _[2] - 1 || 0, O = (_[7] || "0").substring(0, 3);
|
|
462
|
+
return w ? new Date(Date.UTC(_[1], H, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, O)) : new Date(_[1], H, _[3] || 1, _[4] || 0, _[5] || 0, _[6] || 0, O);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
return new Date(C);
|
|
@@ -485,7 +485,7 @@ var bt = { exports: {} };
|
|
|
485
485
|
}, g.valueOf = function() {
|
|
486
486
|
return this.$d.getTime();
|
|
487
487
|
}, g.startOf = function(f, y) {
|
|
488
|
-
var C = this, w = !!P.u(y) || y, _ = P.p(f),
|
|
488
|
+
var C = this, w = !!P.u(y) || y, _ = P.p(f), H = function(oe, J) {
|
|
489
489
|
var le = P.w(C.$u ? Date.UTC(C.$y, J, oe) : new Date(C.$y, J, oe), C);
|
|
490
490
|
return w ? le : le.endOf(h);
|
|
491
491
|
}, O = function(oe, J) {
|
|
@@ -493,12 +493,12 @@ var bt = { exports: {} };
|
|
|
493
493
|
}, W = this.$W, K = this.$M, Q = this.$D, ue = "set" + (this.$u ? "UTC" : "");
|
|
494
494
|
switch (_) {
|
|
495
495
|
case T:
|
|
496
|
-
return w ?
|
|
496
|
+
return w ? H(1, 0) : H(31, 11);
|
|
497
497
|
case v:
|
|
498
|
-
return w ?
|
|
498
|
+
return w ? H(1, K) : H(0, K + 1);
|
|
499
499
|
case p:
|
|
500
500
|
var re = this.$locale().weekStart || 0, pe = (W < re ? W + 7 : W) - re;
|
|
501
|
-
return
|
|
501
|
+
return H(w ? Q - pe : Q + (6 - pe), K);
|
|
502
502
|
case h:
|
|
503
503
|
case D:
|
|
504
504
|
return O(ue + "Hours", 0);
|
|
@@ -514,12 +514,12 @@ var bt = { exports: {} };
|
|
|
514
514
|
}, g.endOf = function(f) {
|
|
515
515
|
return this.startOf(f, !1);
|
|
516
516
|
}, g.$set = function(f, y) {
|
|
517
|
-
var C, w = P.p(f), _ = "set" + (this.$u ? "UTC" : ""),
|
|
517
|
+
var C, w = P.p(f), _ = "set" + (this.$u ? "UTC" : ""), H = (C = {}, C[h] = _ + "Date", C[D] = _ + "Date", C[v] = _ + "Month", C[T] = _ + "FullYear", C[a] = _ + "Hours", C[c] = _ + "Minutes", C[s] = _ + "Seconds", C[o] = _ + "Milliseconds", C)[w], O = w === h ? this.$D + (y - this.$W) : y;
|
|
518
518
|
if (w === v || w === T) {
|
|
519
519
|
var W = this.clone().set(D, 1);
|
|
520
|
-
W.$d[
|
|
520
|
+
W.$d[H](O), W.init(), this.$d = W.set(D, Math.min(this.$D, W.daysInMonth())).$d;
|
|
521
521
|
} else
|
|
522
|
-
|
|
522
|
+
H && this.$d[H](O);
|
|
523
523
|
return this.init(), this;
|
|
524
524
|
}, g.set = function(f, y) {
|
|
525
525
|
return this.clone().$set(f, y);
|
|
@@ -528,7 +528,7 @@ var bt = { exports: {} };
|
|
|
528
528
|
}, g.add = function(f, y) {
|
|
529
529
|
var C, w = this;
|
|
530
530
|
f = Number(f);
|
|
531
|
-
var _ = P.p(y),
|
|
531
|
+
var _ = P.p(y), H = function(K) {
|
|
532
532
|
var Q = F(w);
|
|
533
533
|
return P.w(Q.date(Q.date() + Math.round(K * f)), w);
|
|
534
534
|
};
|
|
@@ -537,9 +537,9 @@ var bt = { exports: {} };
|
|
|
537
537
|
if (_ === T)
|
|
538
538
|
return this.set(T, this.$y + f);
|
|
539
539
|
if (_ === h)
|
|
540
|
-
return
|
|
540
|
+
return H(1);
|
|
541
541
|
if (_ === p)
|
|
542
|
-
return
|
|
542
|
+
return H(7);
|
|
543
543
|
var O = (C = {}, C[c] = n, C[a] = r, C[s] = t, C)[_] || 1, W = this.$d.getTime() + f * O;
|
|
544
544
|
return P.w(W, this);
|
|
545
545
|
}, g.subtract = function(f, y) {
|
|
@@ -548,10 +548,10 @@ var bt = { exports: {} };
|
|
|
548
548
|
var y = this, C = this.$locale();
|
|
549
549
|
if (!this.isValid())
|
|
550
550
|
return C.invalidDate || m;
|
|
551
|
-
var w = f || "YYYY-MM-DDTHH:mm:ssZ", _ = P.z(this),
|
|
551
|
+
var w = f || "YYYY-MM-DDTHH:mm:ssZ", _ = P.z(this), H = this.$H, O = this.$m, W = this.$M, K = C.weekdays, Q = C.months, ue = C.meridiem, re = function(J, le, ce, de) {
|
|
552
552
|
return J && (J[le] || J(y, w)) || ce[le].slice(0, de);
|
|
553
553
|
}, pe = function(J) {
|
|
554
|
-
return P.s(
|
|
554
|
+
return P.s(H % 12 || 12, J, "0");
|
|
555
555
|
}, oe = ue || function(J, le, ce) {
|
|
556
556
|
var de = J < 12 ? "AM" : "PM";
|
|
557
557
|
return ce ? de.toLowerCase() : de;
|
|
@@ -584,17 +584,17 @@ var bt = { exports: {} };
|
|
|
584
584
|
case "dddd":
|
|
585
585
|
return K[y.$W];
|
|
586
586
|
case "H":
|
|
587
|
-
return String(
|
|
587
|
+
return String(H);
|
|
588
588
|
case "HH":
|
|
589
|
-
return P.s(
|
|
589
|
+
return P.s(H, 2, "0");
|
|
590
590
|
case "h":
|
|
591
591
|
return pe(1);
|
|
592
592
|
case "hh":
|
|
593
593
|
return pe(2);
|
|
594
594
|
case "a":
|
|
595
|
-
return oe(
|
|
595
|
+
return oe(H, O, !0);
|
|
596
596
|
case "A":
|
|
597
|
-
return oe(
|
|
597
|
+
return oe(H, O, !1);
|
|
598
598
|
case "m":
|
|
599
599
|
return String(O);
|
|
600
600
|
case "mm":
|
|
@@ -614,10 +614,10 @@ var bt = { exports: {} };
|
|
|
614
614
|
}, g.utcOffset = function() {
|
|
615
615
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
616
616
|
}, g.diff = function(f, y, C) {
|
|
617
|
-
var w, _ = this,
|
|
617
|
+
var w, _ = this, H = P.p(y), O = F(f), W = (O.utcOffset() - this.utcOffset()) * n, K = this - O, Q = function() {
|
|
618
618
|
return P.m(_, O);
|
|
619
619
|
};
|
|
620
|
-
switch (
|
|
620
|
+
switch (H) {
|
|
621
621
|
case T:
|
|
622
622
|
w = Q() / 12;
|
|
623
623
|
break;
|
|
@@ -649,7 +649,7 @@ var bt = { exports: {} };
|
|
|
649
649
|
}, g.daysInMonth = function() {
|
|
650
650
|
return this.endOf(v).$D;
|
|
651
651
|
}, g.$locale = function() {
|
|
652
|
-
return
|
|
652
|
+
return I[this.$L];
|
|
653
653
|
}, g.locale = function(f, y) {
|
|
654
654
|
if (!f)
|
|
655
655
|
return this.$L;
|
|
@@ -675,7 +675,7 @@ var bt = { exports: {} };
|
|
|
675
675
|
return k.$i || (k(g, ae, F), k.$i = !0), F;
|
|
676
676
|
}, F.locale = te, F.isDayjs = se, F.unix = function(k) {
|
|
677
677
|
return F(1e3 * k);
|
|
678
|
-
}, F.en =
|
|
678
|
+
}, F.en = I[X], F.Ls = I, F.p = {}, F;
|
|
679
679
|
});
|
|
680
680
|
})(bt);
|
|
681
681
|
var e1 = bt.exports;
|
|
@@ -716,10 +716,10 @@ var yt = { exports: {} };
|
|
|
716
716
|
return this.$u ? 0 : N(this.$offset) ? v.call(this) : this.$offset;
|
|
717
717
|
if (typeof m == "string" && (m = function(X) {
|
|
718
718
|
X === void 0 && (X = "");
|
|
719
|
-
var
|
|
720
|
-
if (!
|
|
719
|
+
var I = X.match(n);
|
|
720
|
+
if (!I)
|
|
721
721
|
return null;
|
|
722
|
-
var U = ("" +
|
|
722
|
+
var U = ("" + I[0]).match(r) || ["-", 0, 0], se = U[0], te = 60 * +U[1] + +U[2];
|
|
723
723
|
return te === 0 ? 0 : se === "+" ? te : -te;
|
|
724
724
|
}(m), m === null))
|
|
725
725
|
return this;
|
|
@@ -777,18 +777,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
777
777
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
778
778
|
PERFORMANCE OF THIS SOFTWARE.
|
|
779
779
|
***************************************************************************** */
|
|
780
|
-
var
|
|
781
|
-
return
|
|
780
|
+
var He = function(i, e) {
|
|
781
|
+
return He = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, n) {
|
|
782
782
|
t.__proto__ = n;
|
|
783
783
|
} || function(t, n) {
|
|
784
784
|
for (var r in n)
|
|
785
785
|
Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
|
|
786
|
-
},
|
|
786
|
+
}, He(i, e);
|
|
787
787
|
};
|
|
788
788
|
function ke(i, e) {
|
|
789
789
|
if (typeof e != "function" && e !== null)
|
|
790
790
|
throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
|
|
791
|
-
|
|
791
|
+
He(i, e);
|
|
792
792
|
function t() {
|
|
793
793
|
this.constructor = i;
|
|
794
794
|
}
|
|
@@ -841,7 +841,7 @@ function vt(i) {
|
|
|
841
841
|
}, t = i(e);
|
|
842
842
|
return t.prototype = Object.create(Error.prototype), t.prototype.constructor = t, t;
|
|
843
843
|
}
|
|
844
|
-
var
|
|
844
|
+
var Ie = vt(function(i) {
|
|
845
845
|
return function(t) {
|
|
846
846
|
i(this), this.message = t ? t.length + ` errors occurred during unsubscription:
|
|
847
847
|
` + t.map(function(n, r) {
|
|
@@ -889,7 +889,7 @@ var Le = function() {
|
|
|
889
889
|
try {
|
|
890
890
|
p();
|
|
891
891
|
} catch (m) {
|
|
892
|
-
o = m instanceof
|
|
892
|
+
o = m instanceof Ie ? m.errors : [m];
|
|
893
893
|
}
|
|
894
894
|
var v = this._finalizers;
|
|
895
895
|
if (v) {
|
|
@@ -900,7 +900,7 @@ var Le = function() {
|
|
|
900
900
|
try {
|
|
901
901
|
Ge(D);
|
|
902
902
|
} catch (m) {
|
|
903
|
-
o = o ?? [], m instanceof
|
|
903
|
+
o = o ?? [], m instanceof Ie ? o = Oe(Oe([], Be(o)), Be(m.errors)) : o.push(m);
|
|
904
904
|
}
|
|
905
905
|
}
|
|
906
906
|
} catch (m) {
|
|
@@ -915,7 +915,7 @@ var Le = function() {
|
|
|
915
915
|
}
|
|
916
916
|
}
|
|
917
917
|
if (o)
|
|
918
|
-
throw new
|
|
918
|
+
throw new Ie(o);
|
|
919
919
|
}
|
|
920
920
|
}, i.prototype.add = function(e) {
|
|
921
921
|
var t;
|
|
@@ -1350,7 +1350,7 @@ if (typeof window < "u") {
|
|
|
1350
1350
|
});
|
|
1351
1351
|
}
|
|
1352
1352
|
function y1(i) {
|
|
1353
|
-
Wt(i, "svelte-
|
|
1353
|
+
Wt(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)}');
|
|
1354
1354
|
}
|
|
1355
1355
|
function ot(i, e, t) {
|
|
1356
1356
|
const n = i.slice();
|
|
@@ -1648,7 +1648,7 @@ function T1(i) {
|
|
|
1648
1648
|
/*$_*/
|
|
1649
1649
|
i[24](`${/*txnStatus*/
|
|
1650
1650
|
i[21]}`) + ""
|
|
1651
|
-
), $, ee, X,
|
|
1651
|
+
), $, ee, X, I, U, se = (
|
|
1652
1652
|
/*$_*/
|
|
1653
1653
|
i[24]("transactionId") + ""
|
|
1654
1654
|
), te, F, P, ae = (
|
|
@@ -1657,7 +1657,7 @@ function T1(i) {
|
|
|
1657
1657
|
), B, k, g, f, y = (
|
|
1658
1658
|
/*$_*/
|
|
1659
1659
|
i[24]("payemntMethod") + ""
|
|
1660
|
-
), C, w, _,
|
|
1660
|
+
), C, w, _, H, O, W, K, Q = (
|
|
1661
1661
|
/*$_*/
|
|
1662
1662
|
i[24]("paymentTime") + ""
|
|
1663
1663
|
), ue, re, pe, oe = Pe(
|
|
@@ -1702,14 +1702,14 @@ function T1(i) {
|
|
|
1702
1702
|
e = S("div"), ne && ne.c(), t = j(), n = S("div"), r = S("div"), o = S("p"), c = Y(s), a = j(), h = S("span"), p = Y(
|
|
1703
1703
|
/*amount*/
|
|
1704
1704
|
i[17]
|
|
1705
|
-
), v = j(), R = S("div"), T = S("p"), m = Y(D), V = j(), N = S("span"), $ = Y(q), X = j(),
|
|
1705
|
+
), v = j(), R = S("div"), T = S("p"), m = Y(D), V = j(), N = S("span"), $ = Y(q), X = j(), I = S("div"), U = S("p"), te = Y(se), F = j(), P = S("span"), B = Y(ae), k = j(), g = S("div"), f = S("p"), C = Y(y), w = j(), _ = S("span"), H = Y(
|
|
1706
1706
|
/*paymentmethod*/
|
|
1707
1707
|
i[0]
|
|
1708
1708
|
), O = j(), W = S("div"), K = S("p"), ue = Y(Q), re = j(), pe = S("span"), J = Y(oe), le = j(), ce = S("div"), ie && ie.c(), de = j(), me = S("button"), E.c(), ye = j(), Z && Z.c(), he = $e(), u(e, "class", "ReceiptStatusWrapper"), u(r, "class", "Amount"), u(R, "class", ee = `Status ${/*txnStatus*/
|
|
1709
|
-
i[21]}`), u(P, "class", "TxnIdText"), u(
|
|
1709
|
+
i[21]}`), u(P, "class", "TxnIdText"), u(I, "class", "TxnId"), u(g, "class", "PaymentMethod"), u(W, "class", "PaymentTime"), u(n, "class", "ReceiptDetailsWrapper"), u(ce, "class", "ReceiptButtonsWrapper"), u(me, "class", "DefaultButton");
|
|
1710
1710
|
},
|
|
1711
1711
|
m(b, L) {
|
|
1712
|
-
M(b, e, L), ne && ne.m(e, null), M(b, t, L), M(b, n, L), d(n, r), d(r, o), d(o, c), d(r, a), d(r, h), d(h, p), d(n, v), d(n, R), d(R, T), d(T, m), d(R, V), d(R, N), d(N, $), d(n, X), d(n,
|
|
1712
|
+
M(b, e, L), ne && ne.m(e, null), M(b, t, L), M(b, n, L), d(n, r), d(r, o), d(o, c), d(r, a), d(r, h), d(h, p), d(n, v), d(n, R), d(R, T), d(T, m), d(R, V), d(R, N), d(N, $), d(n, X), d(n, I), d(I, U), d(U, te), d(I, F), d(I, P), d(P, B), d(n, k), d(n, g), d(g, f), d(f, C), d(g, w), d(g, _), d(_, H), d(n, O), d(n, W), d(W, K), d(K, ue), d(W, re), d(W, pe), d(pe, J), M(b, le, L), M(b, ce, L), ie && ie.m(ce, null), M(b, de, L), M(b, me, L), E.m(me, null), M(b, ye, L), Z && Z.m(b, L), M(b, he, L), ve || (we = [
|
|
1713
1713
|
Te(
|
|
1714
1714
|
P,
|
|
1715
1715
|
"click",
|
|
@@ -1747,7 +1747,7 @@ function T1(i) {
|
|
|
1747
1747
|
16777216 && y !== (y = /*$_*/
|
|
1748
1748
|
b[24]("payemntMethod") + "") && A(C, y), L[0] & /*paymentmethod*/
|
|
1749
1749
|
1 && A(
|
|
1750
|
-
|
|
1750
|
+
H,
|
|
1751
1751
|
/*paymentmethod*/
|
|
1752
1752
|
b[0]
|
|
1753
1753
|
), L[0] & /*$_*/
|
|
@@ -1840,27 +1840,27 @@ function S1(i) {
|
|
|
1840
1840
|
c() {
|
|
1841
1841
|
e = fe("svg"), t = fe("circle"), n = fe("rect"), r = fe("path"), o = fe("path"), s = fe("path"), c = j(), a = S("div"), h = S("h3"), v = Y(p), R = j(), T = S("p"), m = Y(D), V = j(), N = S("button"), $ = Y(q), u(t, "cx", "36"), u(t, "cy", "36"), u(t, "r", "36"), u(t, "fill", "#D19A41"), u(t, "fill-opacity", "0.12"), u(n, "x", "19"), u(n, "y", "19"), u(n, "width", "34"), u(n, "height", "34"), u(n, "rx", "17"), u(n, "fill", "#FF6836"), u(r, "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"), u(r, "stroke", "black"), u(r, "stroke-width", "1.5"), u(r, "stroke-linecap", "round"), u(r, "stroke-linejoin", "round"), u(o, "d", "M36 32V36L38 38"), u(o, "stroke", "black"), u(o, "stroke-width", "1.5"), u(o, "stroke-linecap", "round"), u(o, "stroke-linejoin", "round"), u(s, "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"), u(s, "stroke", "black"), u(s, "stroke-width", "1.5"), u(s, "stroke-linecap", "round"), u(s, "stroke-linejoin", "round"), u(e, "width", "72"), u(e, "height", "72"), u(e, "viewBox", "0 0 72 72"), u(e, "fill", "none"), u(e, "xmlns", "http://www.w3.org/2000/svg"), u(a, "class", "ReceiptStatusText"), u(N, "class", "RefreshButton");
|
|
1842
1842
|
},
|
|
1843
|
-
m(
|
|
1844
|
-
M(
|
|
1843
|
+
m(I, U) {
|
|
1844
|
+
M(I, e, U), d(e, t), d(e, n), d(e, r), d(e, o), d(e, s), M(I, c, U), M(I, a, U), d(a, h), d(h, v), d(a, R), d(a, T), d(T, m), M(I, V, U), M(I, N, U), d(N, $), ee || (X = Te(
|
|
1845
1845
|
N,
|
|
1846
1846
|
"click",
|
|
1847
1847
|
/*getPaymentInfo*/
|
|
1848
1848
|
i[27]
|
|
1849
1849
|
), ee = !0);
|
|
1850
1850
|
},
|
|
1851
|
-
p(
|
|
1851
|
+
p(I, U) {
|
|
1852
1852
|
U[0] & /*$_, txnInfo*/
|
|
1853
1853
|
16809984 && p !== (p = /*$_*/
|
|
1854
|
-
|
|
1855
|
-
|
|
1854
|
+
I[24](`${/*txnInfo*/
|
|
1855
|
+
I[15].type.toLowerCase()}.pending.title`) + "") && A(v, p), U[0] & /*$_, txnInfo*/
|
|
1856
1856
|
16809984 && D !== (D = /*$_*/
|
|
1857
|
-
|
|
1858
|
-
|
|
1857
|
+
I[24](`${/*txnInfo*/
|
|
1858
|
+
I[15].type.toLowerCase()}.pending.text`) + "") && A(m, D), U[0] & /*$_*/
|
|
1859
1859
|
16777216 && q !== (q = /*$_*/
|
|
1860
|
-
|
|
1860
|
+
I[24]("refreshButton") + "") && A($, q);
|
|
1861
1861
|
},
|
|
1862
|
-
d(
|
|
1863
|
-
|
|
1862
|
+
d(I) {
|
|
1863
|
+
I && (x(e), x(c), x(a), x(V), x(N)), ee = !1, X();
|
|
1864
1864
|
}
|
|
1865
1865
|
};
|
|
1866
1866
|
}
|
|
@@ -2115,7 +2115,7 @@ function L1(i) {
|
|
|
2115
2115
|
}
|
|
2116
2116
|
};
|
|
2117
2117
|
}
|
|
2118
|
-
function
|
|
2118
|
+
function I1(i) {
|
|
2119
2119
|
let e, t, n;
|
|
2120
2120
|
return {
|
|
2121
2121
|
c() {
|
|
@@ -2138,7 +2138,7 @@ function H1(i) {
|
|
|
2138
2138
|
}
|
|
2139
2139
|
};
|
|
2140
2140
|
}
|
|
2141
|
-
function
|
|
2141
|
+
function H1(i) {
|
|
2142
2142
|
let e, t = (
|
|
2143
2143
|
/*field*/
|
|
2144
2144
|
i[64].defaultValue + ""
|
|
@@ -2200,10 +2200,10 @@ function dt(i) {
|
|
|
2200
2200
|
s[14].QRCode ? W1 : (
|
|
2201
2201
|
/*field*/
|
|
2202
2202
|
s[64].type === /*FieldTypes*/
|
|
2203
|
-
s[14].Html ?
|
|
2203
|
+
s[14].Html ? H1 : (
|
|
2204
2204
|
/*field*/
|
|
2205
2205
|
s[64].type === /*FieldTypes*/
|
|
2206
|
-
s[14].Image ?
|
|
2206
|
+
s[14].Image ? I1 : (
|
|
2207
2207
|
/*field*/
|
|
2208
2208
|
s[64].type === /*FieldTypes*/
|
|
2209
2209
|
s[14].Link ? L1 : (
|
|
@@ -2262,7 +2262,7 @@ let O1 = "_blank";
|
|
|
2262
2262
|
function E1(i, e, t) {
|
|
2263
2263
|
let n;
|
|
2264
2264
|
Bt(i, Vt, (l) => t(24, n = l)), Pe.extend(n1);
|
|
2265
|
-
let { endpoint: r } = e, { session: o } = e, { lang: s = "en" } = e, { local: c = "en-US" } = e, { showerrors: a = "true" } = e, { translationurl: h } = e, { assetsurl: p = "" } = e, { customerid: v } = e, { transactionid: R } = e, { currencydecimals: T = "2" } = e, { type: D } = e, { clientstyling: m = "" } = e, { clientstylingurl: V = "" } = e, { mbsource: N = "" } = e, { showverifications: q = "true" } = e, { paymentmethod: $ = "" } = e, ee = !1, { customsucceessbuttons: X = "" } = e, { custompendingbuttons:
|
|
2265
|
+
let { endpoint: r } = e, { session: o } = e, { lang: s = "en" } = e, { local: c = "en-US" } = e, { showerrors: a = "true" } = e, { translationurl: h } = e, { assetsurl: p = "" } = e, { customerid: v } = e, { transactionid: R } = e, { currencydecimals: T = "2" } = e, { type: D } = e, { clientstyling: m = "" } = e, { clientstylingurl: V = "" } = e, { mbsource: N = "" } = e, { showverifications: q = "true" } = e, { paymentmethod: $ = "" } = e, ee = !1, { customsucceessbuttons: X = "" } = e, { custompendingbuttons: I = "" } = e, { customfailedbuttons: U = "" } = e, { currencysymbol: se = "" } = e, { currencyposition: te = "" } = e, { windowsize: F } = e, P = [];
|
|
2266
2266
|
var ae;
|
|
2267
2267
|
(function(l) {
|
|
2268
2268
|
l.Success = "Success", l.Maintenance = "Maintenance";
|
|
@@ -2294,7 +2294,7 @@ function E1(i, e, t) {
|
|
|
2294
2294
|
[["Html", 19], B.Html],
|
|
2295
2295
|
[["QR", 20], B.QRCode]
|
|
2296
2296
|
].reduce(k, []));
|
|
2297
|
-
let f, y = [], C, w, _ = [],
|
|
2297
|
+
let f, y = [], C, w, _ = [], H, O, W = "", K = window.navigator.userAgent, Q = !1;
|
|
2298
2298
|
const ue = {
|
|
2299
2299
|
promotions: {
|
|
2300
2300
|
event: "Cashier:goToPromotions",
|
|
@@ -2386,7 +2386,7 @@ function E1(i, e, t) {
|
|
|
2386
2386
|
window.postMessage(
|
|
2387
2387
|
{
|
|
2388
2388
|
type: "ErrorResponseCode",
|
|
2389
|
-
errorResponseCode:
|
|
2389
|
+
errorResponseCode: H,
|
|
2390
2390
|
showErrorOutsideReceiptPage: O
|
|
2391
2391
|
},
|
|
2392
2392
|
window.location.href
|
|
@@ -2401,7 +2401,7 @@ function E1(i, e, t) {
|
|
|
2401
2401
|
};
|
|
2402
2402
|
t(11, ee = !0), fetch(l, Z).then((b) => b.json()).then((b) => {
|
|
2403
2403
|
if (b.ResponseCode !== ae.Success) {
|
|
2404
|
-
t(19,
|
|
2404
|
+
t(19, H = b.ResponseCode), t(20, O = a.toLowerCase() === "false" || !a), ce();
|
|
2405
2405
|
return;
|
|
2406
2406
|
}
|
|
2407
2407
|
switch (t(15, f = {
|
|
@@ -2419,7 +2419,7 @@ function E1(i, e, t) {
|
|
|
2419
2419
|
defaultValue: L.DefaultValue,
|
|
2420
2420
|
useCopyButton: L.UseCopyButton,
|
|
2421
2421
|
usePrintButton: L.UsePrintButton
|
|
2422
|
-
})) : []),
|
|
2422
|
+
})) : []), b.ReceiptInfo && b.ReceiptInfo.ReceiptFields && !$ && t(0, $ = y[0].defaultValue), n(qt(f.status, f.type), { values: { errorText: f.message } }), t(17, C = b1(Number(f.amount), f.currency)), f.status) {
|
|
2423
2423
|
case "Voided":
|
|
2424
2424
|
case "Success":
|
|
2425
2425
|
re(X || "casino, livecasino, tournaments"), t(21, W = "success"), it(
|
|
@@ -2438,7 +2438,7 @@ function E1(i, e, t) {
|
|
|
2438
2438
|
case "PendingApprovalStage2":
|
|
2439
2439
|
case "PendingApprovalStage3":
|
|
2440
2440
|
case "PendingOfflineNotification":
|
|
2441
|
-
re(
|
|
2441
|
+
re(I || "casino, livecasino, tournaments"), t(21, W = "pending");
|
|
2442
2442
|
break;
|
|
2443
2443
|
case "Rejected":
|
|
2444
2444
|
case "Cancelled":
|
|
@@ -2500,7 +2500,7 @@ function E1(i, e, t) {
|
|
|
2500
2500
|
});
|
|
2501
2501
|
}
|
|
2502
2502
|
return i.$$set = (l) => {
|
|
2503
|
-
"endpoint" in l && t(1, r = l.endpoint), "session" in l && t(2, o = l.session), "lang" in l && t(3, s = l.lang), "local" in l && t(31, c = l.local), "showerrors" in l && t(32, a = l.showerrors), "translationurl" in l && t(4, h = l.translationurl), "assetsurl" in l && t(5, p = l.assetsurl), "customerid" in l && t(6, v = l.customerid), "transactionid" in l && t(33, R = l.transactionid), "currencydecimals" in l && t(34, T = l.currencydecimals), "type" in l && t(35, D = l.type), "clientstyling" in l && t(7, m = l.clientstyling), "clientstylingurl" in l && t(8, V = l.clientstylingurl), "mbsource" in l && t(36, N = l.mbsource), "showverifications" in l && t(9, q = l.showverifications), "paymentmethod" in l && t(0, $ = l.paymentmethod), "customsucceessbuttons" in l && t(37, X = l.customsucceessbuttons), "custompendingbuttons" in l && t(38,
|
|
2503
|
+
"endpoint" in l && t(1, r = l.endpoint), "session" in l && t(2, o = l.session), "lang" in l && t(3, s = l.lang), "local" in l && t(31, c = l.local), "showerrors" in l && t(32, a = l.showerrors), "translationurl" in l && t(4, h = l.translationurl), "assetsurl" in l && t(5, p = l.assetsurl), "customerid" in l && t(6, v = l.customerid), "transactionid" in l && t(33, R = l.transactionid), "currencydecimals" in l && t(34, T = l.currencydecimals), "type" in l && t(35, D = l.type), "clientstyling" in l && t(7, m = l.clientstyling), "clientstylingurl" in l && t(8, V = l.clientstylingurl), "mbsource" in l && t(36, N = l.mbsource), "showverifications" in l && t(9, q = l.showverifications), "paymentmethod" in l && t(0, $ = l.paymentmethod), "customsucceessbuttons" in l && t(37, X = l.customsucceessbuttons), "custompendingbuttons" in l && t(38, I = l.custompendingbuttons), "customfailedbuttons" in l && t(39, U = l.customfailedbuttons), "currencysymbol" in l && t(40, se = l.currencysymbol), "currencyposition" in l && t(41, te = l.currencyposition), "windowsize" in l && t(42, F = l.windowsize);
|
|
2504
2504
|
}, i.$$.update = () => {
|
|
2505
2505
|
i.$$.dirty[0] & /*endpoint, session, customerid*/
|
|
2506
2506
|
70 | i.$$.dirty[1] & /*transactionid, showerrors*/
|
|
@@ -2531,7 +2531,7 @@ function E1(i, e, t) {
|
|
|
2531
2531
|
y,
|
|
2532
2532
|
C,
|
|
2533
2533
|
_,
|
|
2534
|
-
|
|
2534
|
+
H,
|
|
2535
2535
|
O,
|
|
2536
2536
|
W,
|
|
2537
2537
|
Q,
|
|
@@ -2550,7 +2550,7 @@ function E1(i, e, t) {
|
|
|
2550
2550
|
D,
|
|
2551
2551
|
N,
|
|
2552
2552
|
X,
|
|
2553
|
-
|
|
2553
|
+
I,
|
|
2554
2554
|
U,
|
|
2555
2555
|
se,
|
|
2556
2556
|
te,
|
|
@@ -2564,12 +2564,12 @@ function E1(i, e, t) {
|
|
|
2564
2564
|
}
|
|
2565
2565
|
class j1 extends Lt {
|
|
2566
2566
|
constructor(e) {
|
|
2567
|
-
super(),
|
|
2567
|
+
super(), It(
|
|
2568
2568
|
this,
|
|
2569
2569
|
e,
|
|
2570
2570
|
E1,
|
|
2571
2571
|
B1,
|
|
2572
|
-
|
|
2572
|
+
Ht,
|
|
2573
2573
|
{
|
|
2574
2574
|
endpoint: 1,
|
|
2575
2575
|
session: 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierReceiptPage-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierReceiptPage-DFy21v-B.cjs")).then(({default:t})=>{!customElements.get("cashier-receipt-page-nd")&&customElements.define("cashier-receipt-page-nd",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierReceiptPage-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierReceiptPage-C27hA2XK.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("cashier-receipt-page-nd") && customElements.define("cashier-receipt-page-nd", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|