@everymatrix/cashier-page 1.50.1 → 1.52.0
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/{CashierHeader-D_5W3qac.js → CashierHeader-CGdNSxx6.js} +23 -16
- package/components/CashierHeader-Ckcwhr6m.cjs +1 -0
- package/components/{CashierIframeRedirect-AfYctO93.js → CashierIframeRedirect-BJdtHTt_.js} +19 -16
- package/components/CashierIframeRedirect-C7zvMq6i.cjs +1 -0
- package/components/{CashierMethodDetails-DmHFfFH5.cjs → CashierMethodDetails-BC3mVaSl.cjs} +2 -2
- package/components/{CashierMethodDetails-CaayB8Ta.js → CashierMethodDetails-DL_tl1uy.js} +139 -139
- package/components/{CashierMethodsList-COmRGzya.js → CashierMethodsList-33dhTMJI.js} +52 -46
- package/components/CashierMethodsList-BRCp8G8I.cjs +1 -0
- package/components/{CashierPage-9uZbyjKm.js → CashierPage-BcC2DuWX.js} +10 -7
- package/components/{CashierPage-B4HjN4Bk.cjs → CashierPage-JC7rmF7L.cjs} +1 -1
- package/components/{CashierReceiptPage-C5JK2JOI.js → CashierReceiptPage-DfqSz2ui.js} +224 -160
- package/components/CashierReceiptPage-bNFGBNgN.cjs +1 -0
- package/components/{CashierSessionExpirationModal-CLyCURw1.js → CashierSessionExpirationModal-AffzswDg.js} +178 -171
- package/components/{CashierSessionExpirationModal-ToViCtAl.cjs → CashierSessionExpirationModal-C0lsBgGc.cjs} +2 -2
- package/components/{CashierVerifications-B43LfrCs.cjs → CashierVerifications-DVaTZuWL.cjs} +1 -1
- package/components/{CashierVerifications-B82QHoUu.js → CashierVerifications-DZULgrQD.js} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierHeader-PU4xmDh7.cjs +0 -1
- package/components/CashierIframeRedirect-DPigb3i8.cjs +0 -1
- package/components/CashierMethodsList-jXH4wahr.cjs +0 -1
- package/components/CashierReceiptPage-H9Qapwm1.cjs +0 -1
|
@@ -10,7 +10,7 @@ var Pt = (t, n, e) => n in t ? Dr(t, n, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
Tr.call(n, e) && Pt(t, e, n[e]);
|
|
11
11
|
return t;
|
|
12
12
|
}, Nt = (t, n) => Cr(t, Sr(n));
|
|
13
|
-
import { S as _r, b as Lr, f as Re, c as Er, a as lr, d as Or, F as Pr, g as H, h as se, D as Yn, j as M, l as L, k as te, A as he, n as Bn, v as $, w as Nr, G as Fr, H as jr, E as
|
|
13
|
+
import { S as _r, b as Lr, f as Re, c as Er, a as lr, d as Or, F as Pr, g as H, h as se, D as Yn, j as M, l as L, k as te, A as he, n as Bn, v as $, w as Nr, G as Fr, H as jr, E as G, x as Et, I as Fe, y as ke, z as Me, J as mt, C as Mt, K as ht, L as Yr, M as sr, N as Be, r as In, O as pt, P as Ft } from "./CashierConfirmModal-Bho8FqJK.js";
|
|
14
14
|
import { c as wt, g as vt, a as Ir, i as Hr, $ as Rr, b as Jr } from "./CashierError-B6UnQRtt.js";
|
|
15
15
|
if (typeof window != "undefined") {
|
|
16
16
|
let t = function(n) {
|
|
@@ -72,7 +72,7 @@ if (typeof window != "undefined") {
|
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
customElements.define = t(customElements.define), import("./CashierIframeRedirect-
|
|
75
|
+
customElements.define = t(customElements.define), import("./CashierIframeRedirect-BJdtHTt_.js").then(({ default: n }) => {
|
|
76
76
|
!customElements.get("cashier-iframe-redirect") && customElements.define("cashier-iframe-redirect", n.element);
|
|
77
77
|
});
|
|
78
78
|
}
|
|
@@ -100,8 +100,8 @@ var ur = { exports: {} };
|
|
|
100
100
|
return { M: k, y: b, w: m, d: h, D: g, h: f, m: u, s: c, ms: s, Q: E }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
|
|
101
101
|
}, u: function(_) {
|
|
102
102
|
return _ === void 0;
|
|
103
|
-
} }, Q = "en",
|
|
104
|
-
|
|
103
|
+
} }, Q = "en", q = {};
|
|
104
|
+
q[Q] = j;
|
|
105
105
|
var re = "$isDayjsObject", Z = function(_) {
|
|
106
106
|
return _ instanceof ee || !(!_ || !_[re]);
|
|
107
107
|
}, fe = function _(v, D, C) {
|
|
@@ -109,21 +109,21 @@ var ur = { exports: {} };
|
|
|
109
109
|
if (!v) return Q;
|
|
110
110
|
if (typeof v == "string") {
|
|
111
111
|
var R = v.toLowerCase();
|
|
112
|
-
|
|
112
|
+
q[R] && (A = R), D && (q[R] = D, A = R);
|
|
113
113
|
var z = v.split("-");
|
|
114
114
|
if (!A && z.length > 1) return _(z[0]);
|
|
115
115
|
} else {
|
|
116
116
|
var V = v.name;
|
|
117
|
-
|
|
117
|
+
q[V] = v, A = V;
|
|
118
118
|
}
|
|
119
119
|
return !C && A && (Q = A), A || !C && Q;
|
|
120
|
-
},
|
|
120
|
+
}, K = function(_, v) {
|
|
121
121
|
if (Z(_)) return _.clone();
|
|
122
122
|
var D = typeof v == "object" ? v : {};
|
|
123
123
|
return D.date = _, D.args = arguments, new ee(D);
|
|
124
124
|
}, W = B;
|
|
125
125
|
W.l = fe, W.i = Z, W.w = function(_, v) {
|
|
126
|
-
return
|
|
126
|
+
return K(_, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
|
|
127
127
|
};
|
|
128
128
|
var ee = function() {
|
|
129
129
|
function _(D) {
|
|
@@ -153,12 +153,12 @@ var ur = { exports: {} };
|
|
|
153
153
|
}, v.isValid = function() {
|
|
154
154
|
return this.$d.toString() !== w;
|
|
155
155
|
}, v.isSame = function(D, C) {
|
|
156
|
-
var A =
|
|
156
|
+
var A = K(D);
|
|
157
157
|
return this.startOf(C) <= A && A <= this.endOf(C);
|
|
158
158
|
}, v.isAfter = function(D, C) {
|
|
159
|
-
return
|
|
159
|
+
return K(D) < this.startOf(C);
|
|
160
160
|
}, v.isBefore = function(D, C) {
|
|
161
|
-
return this.endOf(C) <
|
|
161
|
+
return this.endOf(C) < K(D);
|
|
162
162
|
}, v.$g = function(D, C, A) {
|
|
163
163
|
return W.u(D) ? this[C] : this.set(A, D);
|
|
164
164
|
}, v.unix = function() {
|
|
@@ -209,7 +209,7 @@ var ur = { exports: {} };
|
|
|
209
209
|
var A, R = this;
|
|
210
210
|
D = Number(D);
|
|
211
211
|
var z = W.p(C), V = function(we) {
|
|
212
|
-
var pe =
|
|
212
|
+
var pe = K(R);
|
|
213
213
|
return W.w(pe.date(pe.date() + Math.round(we * D)), R);
|
|
214
214
|
};
|
|
215
215
|
if (z === k) return this.set(k, this.$M + D);
|
|
@@ -289,7 +289,7 @@ var ur = { exports: {} };
|
|
|
289
289
|
}, v.utcOffset = function() {
|
|
290
290
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
291
291
|
}, v.diff = function(D, C, A) {
|
|
292
|
-
var R, z = this, V = W.p(C), ae =
|
|
292
|
+
var R, z = this, V = W.p(C), ae = K(D), ie = (ae.utcOffset() - this.utcOffset()) * a, we = this - ae, pe = function() {
|
|
293
293
|
return W.m(z, ae);
|
|
294
294
|
};
|
|
295
295
|
switch (V) {
|
|
@@ -324,7 +324,7 @@ var ur = { exports: {} };
|
|
|
324
324
|
}, v.daysInMonth = function() {
|
|
325
325
|
return this.endOf(k).$D;
|
|
326
326
|
}, v.$locale = function() {
|
|
327
|
-
return
|
|
327
|
+
return q[this.$L];
|
|
328
328
|
}, v.locale = function(D, C) {
|
|
329
329
|
if (!D) return this.$L;
|
|
330
330
|
var A = this.clone(), R = fe(D, C, !0);
|
|
@@ -341,15 +341,15 @@ var ur = { exports: {} };
|
|
|
341
341
|
return this.$d.toUTCString();
|
|
342
342
|
}, _;
|
|
343
343
|
}(), P = ee.prototype;
|
|
344
|
-
return
|
|
344
|
+
return K.prototype = P, [["$ms", s], ["$s", c], ["$m", u], ["$H", f], ["$W", h], ["$M", k], ["$y", b], ["$D", g]].forEach(function(_) {
|
|
345
345
|
P[_[1]] = function(v) {
|
|
346
346
|
return this.$g(v, _[0], _[1]);
|
|
347
347
|
};
|
|
348
|
-
}),
|
|
349
|
-
return _.$i || (_(v, ee,
|
|
350
|
-
},
|
|
351
|
-
return
|
|
352
|
-
},
|
|
348
|
+
}), K.extend = function(_, v) {
|
|
349
|
+
return _.$i || (_(v, ee, K), _.$i = !0), K;
|
|
350
|
+
}, K.locale = fe, K.isDayjs = Z, K.unix = function(_) {
|
|
351
|
+
return K(1e3 * _);
|
|
352
|
+
}, K.en = q[Q], K.Ls = q, K.p = {}, K;
|
|
353
353
|
});
|
|
354
354
|
})(ur);
|
|
355
355
|
var Wr = ur.exports;
|
|
@@ -388,9 +388,9 @@ var dr = { exports: {} };
|
|
|
388
388
|
if (I(w)) return this.$u ? 0 : I(this.$offset) ? k.call(this) : this.$offset;
|
|
389
389
|
if (typeof w == "string" && (w = function(Q) {
|
|
390
390
|
Q === void 0 && (Q = "");
|
|
391
|
-
var
|
|
392
|
-
if (!
|
|
393
|
-
var re = ("" +
|
|
391
|
+
var q = Q.match(a);
|
|
392
|
+
if (!q) return null;
|
|
393
|
+
var re = ("" + q[0]).match(o) || ["-", 0, 0], Z = re[0], fe = 60 * +re[1] + +re[2];
|
|
394
394
|
return fe === 0 ? 0 : Z === "+" ? fe : -fe;
|
|
395
395
|
}(w), w === null)) return this;
|
|
396
396
|
var j = Math.abs(w) <= 16 ? 60 * w : w, N = this;
|
|
@@ -514,7 +514,7 @@ if (typeof window != "undefined") {
|
|
|
514
514
|
}
|
|
515
515
|
};
|
|
516
516
|
};
|
|
517
|
-
customElements.define = t(customElements.define), import("./CashierReceiptPage-
|
|
517
|
+
customElements.define = t(customElements.define), import("./CashierReceiptPage-DfqSz2ui.js").then(({ default: n }) => {
|
|
518
518
|
!customElements.get("cashier-receipt-page") && customElements.define("cashier-receipt-page", n.element);
|
|
519
519
|
});
|
|
520
520
|
}
|
|
@@ -909,10 +909,10 @@ var St = function() {
|
|
|
909
909
|
var N = E[T], B = N === "\\", Q = E[T - 1] === "\\" || B;
|
|
910
910
|
if (yn[N] && !Q) {
|
|
911
911
|
j += yn[N];
|
|
912
|
-
var
|
|
913
|
-
|
|
912
|
+
var q = new RegExp(j).exec(s);
|
|
913
|
+
q && (g = !0) && w[N !== "Y" ? "push" : "unshift"]({
|
|
914
914
|
fn: Ur[N],
|
|
915
|
-
val:
|
|
915
|
+
val: q[++I]
|
|
916
916
|
});
|
|
917
917
|
} else B || (j += ".");
|
|
918
918
|
}
|
|
@@ -990,7 +990,7 @@ function Qr(t, n) {
|
|
|
990
990
|
config: Ne(Ne({}, Fn), Se.defaultConfig),
|
|
991
991
|
l10n: Vn
|
|
992
992
|
};
|
|
993
|
-
e.parseDate = _t({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = w, e._setHoursFromDate = E, e._positionCalendar = be, e.changeMonth = V, e.changeYear = me, e.clear = ae, e.close = ie, e.onMouseOver = Ae, e._createElement = ce, e.createDay =
|
|
993
|
+
e.parseDate = _t({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = w, e._setHoursFromDate = E, e._positionCalendar = be, e.changeMonth = V, e.changeYear = me, e.clear = ae, e.close = ie, e.onMouseOver = Ae, e._createElement = ce, e.createDay = q, e.destroy = we, e.isEnabled = Ce, e.jumpToDate = j, e.updateValue = Ie, e.open = Ve, e.redraw = nn, e.set = cn, e.setDate = mn, e.toggle = Dn;
|
|
994
994
|
function a() {
|
|
995
995
|
e.utils = {
|
|
996
996
|
getDaysInMonth: function(r, i) {
|
|
@@ -1151,7 +1151,7 @@ function Qr(t, n) {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
!e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1154
|
+
function q(r, i, d, p) {
|
|
1155
1155
|
var S = Ce(i, !0), O = ce("span", r, i.getDate().toString());
|
|
1156
1156
|
return O.dateObj = i, O.$i = p, O.setAttribute("aria-label", e.formatDate(i, e.config.ariaDateFormat)), r.indexOf("hidden") === -1 && Ke(i, e.now) === 0 && (e.todayDateElem = O, O.classList.add("today"), O.setAttribute("aria-current", "date")), S ? (O.tabIndex = -1, sn(i) && (O.classList.add("selected"), e.selectedDateElem = O, e.config.mode === "range" && (Je(O, "startRange", e.selectedDates[0] && Ke(i, e.selectedDates[0], !0) === 0), Je(O, "endRange", e.selectedDates[1] && Ke(i, e.selectedDates[1], !0) === 0), r === "nextMonthDay" && O.classList.add("inRange")))) : O.classList.add("flatpickr-disabled"), e.config.mode === "range" && Cn(i) && !sn(i) && O.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && r !== "prevMonthDay" && p % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(i) + "</span>"), ge("onDayCreate", O), O;
|
|
1157
1157
|
}
|
|
@@ -1173,19 +1173,19 @@ function Qr(t, n) {
|
|
|
1173
1173
|
if (U.className.indexOf("hidden") === -1 && Ce(U.dateObj) && Math.abs(r.$i - F) >= Math.abs(i))
|
|
1174
1174
|
return re(U);
|
|
1175
1175
|
}
|
|
1176
|
-
e.changeMonth(S),
|
|
1176
|
+
e.changeMonth(S), K(Z(S), 0);
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1178
|
+
function K(r, i) {
|
|
1179
1179
|
var d = s(), p = ve(d || document.body), S = r !== void 0 ? r : p ? d : e.selectedDateElem !== void 0 && ve(e.selectedDateElem) ? e.selectedDateElem : e.todayDateElem !== void 0 && ve(e.todayDateElem) ? e.todayDateElem : Z(i > 0 ? 1 : -1);
|
|
1180
1180
|
S === void 0 ? e._input.focus() : p ? fe(S, i) : re(S);
|
|
1181
1181
|
}
|
|
1182
1182
|
function W(r, i) {
|
|
1183
1183
|
for (var d = (new Date(r, i, 1).getDay() - e.l10n.firstDayOfWeek + 7) % 7, p = e.utils.getDaysInMonth((i - 1 + 12) % 12, r), S = e.utils.getDaysInMonth(i, r), O = window.document.createDocumentFragment(), x = e.config.showMonths > 1, Y = x ? "prevMonthDay hidden" : "prevMonthDay", ne = x ? "nextMonthDay hidden" : "nextMonthDay", F = p + 1 - d, U = 0; F <= p; F++, U++)
|
|
1184
|
-
O.appendChild(
|
|
1184
|
+
O.appendChild(q("flatpickr-day " + Y, new Date(r, i - 1, F), F, U));
|
|
1185
1185
|
for (F = 1; F <= S; F++, U++)
|
|
1186
|
-
O.appendChild(
|
|
1186
|
+
O.appendChild(q("flatpickr-day", new Date(r, i, F), F, U));
|
|
1187
1187
|
for (var de = S + 1; de <= 42 - d && (e.config.showMonths === 1 || U % 7 !== 0); de++, U++)
|
|
1188
|
-
O.appendChild(
|
|
1188
|
+
O.appendChild(q("flatpickr-day " + ne, new Date(r, i + 1, de % S), de, U));
|
|
1189
1189
|
var Pe = ce("div", "dayContainer");
|
|
1190
1190
|
return Pe.appendChild(O), Pe;
|
|
1191
1191
|
}
|
|
@@ -1441,7 +1441,7 @@ function Qr(t, n) {
|
|
|
1441
1441
|
var Y = s();
|
|
1442
1442
|
if (e.daysContainer !== void 0 && (p === !1 || Y && ve(Y))) {
|
|
1443
1443
|
var ne = r.keyCode === 39 ? 1 : -1;
|
|
1444
|
-
r.ctrlKey ? (r.stopPropagation(), V(ne),
|
|
1444
|
+
r.ctrlKey ? (r.stopPropagation(), V(ne), K(Z(1), 0)) : K(void 0, ne);
|
|
1445
1445
|
}
|
|
1446
1446
|
} else e.hourElement && e.hourElement.focus();
|
|
1447
1447
|
break;
|
|
@@ -1449,7 +1449,7 @@ function Qr(t, n) {
|
|
|
1449
1449
|
case 40:
|
|
1450
1450
|
r.preventDefault();
|
|
1451
1451
|
var F = r.keyCode === 40 ? 1 : -1;
|
|
1452
|
-
e.daysContainer && i.$i !== void 0 || i === e.input || i === e.altInput ? r.ctrlKey ? (r.stopPropagation(), me(e.currentYear - F),
|
|
1452
|
+
e.daysContainer && i.$i !== void 0 || i === e.input || i === e.altInput ? r.ctrlKey ? (r.stopPropagation(), me(e.currentYear - F), K(Z(1), 0)) : x || K(void 0, F * 7) : i === e.currentYearElement ? me(e.currentYear - F) : e.config.enableTime && (!x && e.hourElement && e.hourElement.focus(), f(r), e._debouncedChange());
|
|
1453
1453
|
break;
|
|
1454
1454
|
case 9:
|
|
1455
1455
|
if (x) {
|
|
@@ -2413,7 +2413,7 @@ var Lt = { exports: {} };
|
|
|
2413
2413
|
}
|
|
2414
2414
|
};
|
|
2415
2415
|
B.l10ns.ckb = Q, B.l10ns;
|
|
2416
|
-
var
|
|
2416
|
+
var q = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
2417
2417
|
l10ns: {}
|
|
2418
2418
|
}, re = {
|
|
2419
2419
|
weekdays: {
|
|
@@ -2470,7 +2470,7 @@ var Lt = { exports: {} };
|
|
|
2470
2470
|
yearAriaLabel: "Rok",
|
|
2471
2471
|
time_24hr: !0
|
|
2472
2472
|
};
|
|
2473
|
-
|
|
2473
|
+
q.l10ns.cs = re, q.l10ns;
|
|
2474
2474
|
var Z = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
2475
2475
|
l10ns: {}
|
|
2476
2476
|
}, fe = {
|
|
@@ -2523,7 +2523,7 @@ var Lt = { exports: {} };
|
|
|
2523
2523
|
time_24hr: !0
|
|
2524
2524
|
};
|
|
2525
2525
|
Z.l10ns.cy = fe, Z.l10ns;
|
|
2526
|
-
var
|
|
2526
|
+
var K = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
2527
2527
|
l10ns: {}
|
|
2528
2528
|
}, W = {
|
|
2529
2529
|
weekdays: {
|
|
@@ -2576,7 +2576,7 @@ var Lt = { exports: {} };
|
|
|
2576
2576
|
weekAbbreviation: "uge",
|
|
2577
2577
|
time_24hr: !0
|
|
2578
2578
|
};
|
|
2579
|
-
|
|
2579
|
+
K.l10ns.da = W, K.l10ns;
|
|
2580
2580
|
var ee = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
|
|
2581
2581
|
l10ns: {}
|
|
2582
2582
|
}, P = {
|
|
@@ -5428,22 +5428,22 @@ var mr = { exports: {} };
|
|
|
5428
5428
|
function w(T) {
|
|
5429
5429
|
var I, j;
|
|
5430
5430
|
I = T, j = f && f.formats;
|
|
5431
|
-
for (var N = (T = I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(
|
|
5431
|
+
for (var N = (T = I.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(K, W, ee) {
|
|
5432
5432
|
var P = ee && ee.toUpperCase();
|
|
5433
5433
|
return W || j[ee] || e[ee] || j[P].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(_, v, D) {
|
|
5434
5434
|
return v || D.slice(1);
|
|
5435
5435
|
});
|
|
5436
5436
|
})).match(a), B = N.length, Q = 0; Q < B; Q += 1) {
|
|
5437
|
-
var
|
|
5438
|
-
N[Q] = fe ? { regex: Z, parser: fe } :
|
|
5437
|
+
var q = N[Q], re = g[q], Z = re && re[0], fe = re && re[1];
|
|
5438
|
+
N[Q] = fe ? { regex: Z, parser: fe } : q.replace(/^\[|\]$/g, "");
|
|
5439
5439
|
}
|
|
5440
|
-
return function(
|
|
5440
|
+
return function(K) {
|
|
5441
5441
|
for (var W = {}, ee = 0, P = 0; ee < B; ee += 1) {
|
|
5442
5442
|
var _ = N[ee];
|
|
5443
5443
|
if (typeof _ == "string") P += _.length;
|
|
5444
5444
|
else {
|
|
5445
|
-
var v = _.regex, D = _.parser, C =
|
|
5446
|
-
D.call(W, A),
|
|
5445
|
+
var v = _.regex, D = _.parser, C = K.slice(P), A = v.exec(C)[0];
|
|
5446
|
+
D.call(W, A), K = K.replace(A, "");
|
|
5447
5447
|
}
|
|
5448
5448
|
}
|
|
5449
5449
|
return function(R) {
|
|
@@ -5459,12 +5459,12 @@ var mr = { exports: {} };
|
|
|
5459
5459
|
j.p.customParseFormat = !0, T && T.parseTwoDigitYear && (h = T.parseTwoDigitYear);
|
|
5460
5460
|
var N = I.prototype, B = N.parse;
|
|
5461
5461
|
N.parse = function(Q) {
|
|
5462
|
-
var
|
|
5462
|
+
var q = Q.date, re = Q.utc, Z = Q.args;
|
|
5463
5463
|
this.$u = re;
|
|
5464
5464
|
var fe = Z[1];
|
|
5465
5465
|
if (typeof fe == "string") {
|
|
5466
|
-
var
|
|
5467
|
-
W && (P = Z[2]), f = this.$locale(), !
|
|
5466
|
+
var K = Z[2] === !0, W = Z[3] === !0, ee = K || W, P = Z[2];
|
|
5467
|
+
W && (P = Z[2]), f = this.$locale(), !K && P && (f = j.Ls[P]), this.$d = function(C, A, R, z) {
|
|
5468
5468
|
try {
|
|
5469
5469
|
if (["x", "X"].indexOf(A) > -1) return new Date((A === "X" ? 1e3 : 1) * C);
|
|
5470
5470
|
var V = w(A)(C), ae = V.year, ie = V.month, we = V.day, pe = V.hours, ye = V.minutes, me = V.seconds, Ce = V.milliseconds, ve = V.zone, ue = V.week, De = /* @__PURE__ */ new Date(), Ae = we || (ae || ie ? 1 : De.getDate()), Oe = ae || De.getFullYear(), Ve = 0;
|
|
@@ -5474,7 +5474,7 @@ var mr = { exports: {} };
|
|
|
5474
5474
|
} catch (je) {
|
|
5475
5475
|
return /* @__PURE__ */ new Date("");
|
|
5476
5476
|
}
|
|
5477
|
-
}(
|
|
5477
|
+
}(q, fe, re, j), this.init(), P && P !== !0 && (this.$L = this.locale(P).$L), ee && q != this.format(fe) && (this.$d = /* @__PURE__ */ new Date("")), f = {};
|
|
5478
5478
|
} else if (fe instanceof Array) for (var _ = fe.length, v = 1; v <= _; v += 1) {
|
|
5479
5479
|
Z[1] = fe[v - 1];
|
|
5480
5480
|
var D = j.apply(this, Z);
|
|
@@ -5506,12 +5506,12 @@ function zt(t) {
|
|
|
5506
5506
|
let n;
|
|
5507
5507
|
return {
|
|
5508
5508
|
c() {
|
|
5509
|
-
n = H("cashier-spinner"),
|
|
5509
|
+
n = H("cashier-spinner"), G(
|
|
5510
5510
|
n,
|
|
5511
5511
|
"clientstylingurl",
|
|
5512
5512
|
/*clientstylingurl*/
|
|
5513
5513
|
t[11]
|
|
5514
|
-
),
|
|
5514
|
+
), G(
|
|
5515
5515
|
n,
|
|
5516
5516
|
"clientstyling",
|
|
5517
5517
|
/*clientstyling*/
|
|
@@ -5523,13 +5523,13 @@ function zt(t) {
|
|
|
5523
5523
|
},
|
|
5524
5524
|
p(e, a) {
|
|
5525
5525
|
a[0] & /*clientstylingurl*/
|
|
5526
|
-
2048 &&
|
|
5526
|
+
2048 && G(
|
|
5527
5527
|
n,
|
|
5528
5528
|
"clientstylingurl",
|
|
5529
5529
|
/*clientstylingurl*/
|
|
5530
5530
|
e[11]
|
|
5531
5531
|
), a[0] & /*clientstyling*/
|
|
5532
|
-
1024 &&
|
|
5532
|
+
1024 && G(
|
|
5533
5533
|
n,
|
|
5534
5534
|
"clientstyling",
|
|
5535
5535
|
/*clientstyling*/
|
|
@@ -5580,7 +5580,7 @@ function Vt(t) {
|
|
|
5580
5580
|
), Q = (
|
|
5581
5581
|
/*selectedPaymentMethod*/
|
|
5582
5582
|
t[17].Description && qt(t)
|
|
5583
|
-
),
|
|
5583
|
+
), q = !/*selectedPaymentMethod*/
|
|
5584
5584
|
t[17].HideAmountField && Kt(t), re = ht(
|
|
5585
5585
|
/*fields*/
|
|
5586
5586
|
t[12]
|
|
@@ -5593,13 +5593,13 @@ function Vt(t) {
|
|
|
5593
5593
|
P[22] ? ga : wa
|
|
5594
5594
|
);
|
|
5595
5595
|
}
|
|
5596
|
-
let
|
|
5596
|
+
let K = fe(t), W = K(t), ee = (
|
|
5597
5597
|
/*showRetryNotification*/
|
|
5598
5598
|
t[21] && tr(t)
|
|
5599
5599
|
);
|
|
5600
5600
|
return {
|
|
5601
5601
|
c() {
|
|
5602
|
-
n = H("form"), e = H("div"), a = H("div"), o = H("div"), s = H("img"), f = se(), h = H("div"), k = ke(m), E = se(), B && B.c(), b = se(), Q && Q.c(), g = se(),
|
|
5602
|
+
n = H("form"), e = H("div"), a = H("div"), o = H("div"), s = H("img"), f = se(), h = H("div"), k = ke(m), E = se(), B && B.c(), b = se(), Q && Q.c(), g = se(), q && q.c(), w = se();
|
|
5603
5603
|
for (let P = 0; P < Z.length; P += 1)
|
|
5604
5604
|
Z[P].c();
|
|
5605
5605
|
T = se(), W.c(), I = se(), ee && ee.c(), Yn(s.src, c = /*mobileView*/
|
|
@@ -5613,7 +5613,7 @@ function Vt(t) {
|
|
|
5613
5613
|
t[17].Label), M(o, "class", "SelectedLogoWrapper"), M(h, "class", "SelectedLogoDescription"), M(a, "class", "FormLogo"), M(e, "class", "FieldWrapper"), n.noValidate = !0;
|
|
5614
5614
|
},
|
|
5615
5615
|
m(P, _) {
|
|
5616
|
-
te(P, n, _), L(n, e), L(e, a), L(a, o), L(o, s), L(a, f), L(a, h), L(h, k), L(a, E), B && B.m(a, null), L(e, b), Q && Q.m(e, null), L(e, g),
|
|
5616
|
+
te(P, n, _), L(n, e), L(e, a), L(a, o), L(o, s), L(a, f), L(a, h), L(h, k), L(a, E), B && B.m(a, null), L(e, b), Q && Q.m(e, null), L(e, g), q && q.m(e, null), L(n, w);
|
|
5617
5617
|
for (let v = 0; v < Z.length; v += 1)
|
|
5618
5618
|
Z[v] && Z[v].m(n, null);
|
|
5619
5619
|
L(n, T), W.m(n, null), L(n, I), ee && ee.m(n, null), j || (N = he(n, "submit", Yr(
|
|
@@ -5639,7 +5639,7 @@ function Vt(t) {
|
|
|
5639
5639
|
P[17].Name) + "") && Me(k, m), /*mobileView*/
|
|
5640
5640
|
P[24] ? B ? B.p(P, _) : (B = Ut(P), B.c(), B.m(a, null)) : B && (B.d(1), B = null), /*selectedPaymentMethod*/
|
|
5641
5641
|
P[17].Description ? Q ? Q.p(P, _) : (Q = qt(P), Q.c(), Q.m(e, g)) : Q && (Q.d(1), Q = null), /*selectedPaymentMethod*/
|
|
5642
|
-
P[17].HideAmountField ?
|
|
5642
|
+
P[17].HideAmountField ? q && (q.d(1), q = null) : q ? q.p(P, _) : (q = Kt(P), q.c(), q.m(e, null)), _[0] & /*fields, FieldTypes, showError, fieldValidation, prepareFields, flatpickrEl, maxLookupHeight, openedLookup, openLookupTop, qrCodeContainer*/
|
|
5643
5643
|
2022035456 | _[1] & /*validateField, dateTimeValidation, onLookUpChanged, showLookup, getValueByFieldName, openUrlInNewTab, showField*/
|
|
5644
5644
|
1634816) {
|
|
5645
5645
|
re = ht(
|
|
@@ -5655,11 +5655,11 @@ function Vt(t) {
|
|
|
5655
5655
|
Z[v].d(1);
|
|
5656
5656
|
Z.length = re.length;
|
|
5657
5657
|
}
|
|
5658
|
-
|
|
5658
|
+
K === (K = fe(P)) && W ? W.p(P, _) : (W.d(1), W = K(P), W && (W.c(), W.m(n, I))), /*showRetryNotification*/
|
|
5659
5659
|
P[21] ? ee ? ee.p(P, _) : (ee = tr(P), ee.c(), ee.m(n, null)) : ee && (ee.d(1), ee = null);
|
|
5660
5660
|
},
|
|
5661
5661
|
d(P) {
|
|
5662
|
-
P && $(n), B && B.d(), Q && Q.d(),
|
|
5662
|
+
P && $(n), B && B.d(), Q && Q.d(), q && q.d(), sr(Z, P), W.d(), ee && ee.d(), j = !1, N();
|
|
5663
5663
|
}
|
|
5664
5664
|
};
|
|
5665
5665
|
}
|
|
@@ -6929,18 +6929,18 @@ function tr(t) {
|
|
|
6929
6929
|
let n, e, a;
|
|
6930
6930
|
return {
|
|
6931
6931
|
c() {
|
|
6932
|
-
n = H("cashier-notifications"),
|
|
6932
|
+
n = H("cashier-notifications"), G(
|
|
6933
6933
|
n,
|
|
6934
6934
|
"clientstylingurl",
|
|
6935
6935
|
/*clientstylingurl*/
|
|
6936
6936
|
t[11]
|
|
6937
|
-
),
|
|
6937
|
+
), G(
|
|
6938
6938
|
n,
|
|
6939
6939
|
"clientstyling",
|
|
6940
6940
|
/*clientstyling*/
|
|
6941
6941
|
t[10]
|
|
6942
|
-
),
|
|
6943
|
-
t[38]("retryText")),
|
|
6942
|
+
), G(n, "text", e = /*$_*/
|
|
6943
|
+
t[38]("retryText")), G(n, "button", a = /*$_*/
|
|
6944
6944
|
t[38]("retryButton"));
|
|
6945
6945
|
},
|
|
6946
6946
|
m(o, s) {
|
|
@@ -6948,22 +6948,22 @@ function tr(t) {
|
|
|
6948
6948
|
},
|
|
6949
6949
|
p(o, s) {
|
|
6950
6950
|
s[0] & /*clientstylingurl*/
|
|
6951
|
-
2048 &&
|
|
6951
|
+
2048 && G(
|
|
6952
6952
|
n,
|
|
6953
6953
|
"clientstylingurl",
|
|
6954
6954
|
/*clientstylingurl*/
|
|
6955
6955
|
o[11]
|
|
6956
6956
|
), s[0] & /*clientstyling*/
|
|
6957
|
-
1024 &&
|
|
6957
|
+
1024 && G(
|
|
6958
6958
|
n,
|
|
6959
6959
|
"clientstyling",
|
|
6960
6960
|
/*clientstyling*/
|
|
6961
6961
|
o[10]
|
|
6962
6962
|
), s[1] & /*$_*/
|
|
6963
6963
|
128 && e !== (e = /*$_*/
|
|
6964
|
-
o[38]("retryText")) &&
|
|
6964
|
+
o[38]("retryText")) && G(n, "text", e), s[1] & /*$_*/
|
|
6965
6965
|
128 && a !== (a = /*$_*/
|
|
6966
|
-
o[38]("retryButton")) &&
|
|
6966
|
+
o[38]("retryButton")) && G(n, "button", a);
|
|
6967
6967
|
},
|
|
6968
6968
|
d(o) {
|
|
6969
6969
|
o && $(n);
|
|
@@ -7053,52 +7053,52 @@ function ar(t) {
|
|
|
7053
7053
|
let n, e;
|
|
7054
7054
|
return {
|
|
7055
7055
|
c() {
|
|
7056
|
-
n = H("div"), e = H("cashier-receipt-page"),
|
|
7056
|
+
n = H("div"), e = H("cashier-receipt-page"), G(
|
|
7057
7057
|
e,
|
|
7058
7058
|
"lang",
|
|
7059
7059
|
/*lang*/
|
|
7060
7060
|
t[2]
|
|
7061
|
-
),
|
|
7061
|
+
), G(
|
|
7062
7062
|
e,
|
|
7063
7063
|
"translationurl",
|
|
7064
7064
|
/*translationurl*/
|
|
7065
7065
|
t[4]
|
|
7066
|
-
),
|
|
7066
|
+
), G(
|
|
7067
7067
|
e,
|
|
7068
7068
|
"local",
|
|
7069
7069
|
/*local*/
|
|
7070
7070
|
t[3]
|
|
7071
|
-
),
|
|
7071
|
+
), G(
|
|
7072
7072
|
e,
|
|
7073
7073
|
"endpoint",
|
|
7074
7074
|
/*endpoint*/
|
|
7075
7075
|
t[0]
|
|
7076
|
-
),
|
|
7076
|
+
), G(
|
|
7077
7077
|
e,
|
|
7078
7078
|
"customerid",
|
|
7079
7079
|
/*customerid*/
|
|
7080
7080
|
t[5]
|
|
7081
|
-
),
|
|
7081
|
+
), G(
|
|
7082
7082
|
e,
|
|
7083
7083
|
"assetsurl",
|
|
7084
7084
|
/*assetsurl*/
|
|
7085
7085
|
t[8]
|
|
7086
|
-
),
|
|
7086
|
+
), G(
|
|
7087
7087
|
e,
|
|
7088
7088
|
"clientstylingurl",
|
|
7089
7089
|
/*clientstylingurl*/
|
|
7090
7090
|
t[11]
|
|
7091
|
-
),
|
|
7091
|
+
), G(
|
|
7092
7092
|
e,
|
|
7093
7093
|
"clientstyling",
|
|
7094
7094
|
/*clientstyling*/
|
|
7095
7095
|
t[10]
|
|
7096
|
-
),
|
|
7096
|
+
), G(e, "showerrors", "false"), G(e, "showclosebutton", "true"), G(
|
|
7097
7097
|
e,
|
|
7098
7098
|
"transactionid",
|
|
7099
7099
|
/*transactionId*/
|
|
7100
7100
|
t[34]
|
|
7101
|
-
),
|
|
7101
|
+
), G(
|
|
7102
7102
|
e,
|
|
7103
7103
|
"session",
|
|
7104
7104
|
/*playersession*/
|
|
@@ -7110,61 +7110,61 @@ function ar(t) {
|
|
|
7110
7110
|
},
|
|
7111
7111
|
p(a, o) {
|
|
7112
7112
|
o[0] & /*lang*/
|
|
7113
|
-
4 &&
|
|
7113
|
+
4 && G(
|
|
7114
7114
|
e,
|
|
7115
7115
|
"lang",
|
|
7116
7116
|
/*lang*/
|
|
7117
7117
|
a[2]
|
|
7118
7118
|
), o[0] & /*translationurl*/
|
|
7119
|
-
16 &&
|
|
7119
|
+
16 && G(
|
|
7120
7120
|
e,
|
|
7121
7121
|
"translationurl",
|
|
7122
7122
|
/*translationurl*/
|
|
7123
7123
|
a[4]
|
|
7124
7124
|
), o[0] & /*local*/
|
|
7125
|
-
8 &&
|
|
7125
|
+
8 && G(
|
|
7126
7126
|
e,
|
|
7127
7127
|
"local",
|
|
7128
7128
|
/*local*/
|
|
7129
7129
|
a[3]
|
|
7130
7130
|
), o[0] & /*endpoint*/
|
|
7131
|
-
1 &&
|
|
7131
|
+
1 && G(
|
|
7132
7132
|
e,
|
|
7133
7133
|
"endpoint",
|
|
7134
7134
|
/*endpoint*/
|
|
7135
7135
|
a[0]
|
|
7136
7136
|
), o[0] & /*customerid*/
|
|
7137
|
-
32 &&
|
|
7137
|
+
32 && G(
|
|
7138
7138
|
e,
|
|
7139
7139
|
"customerid",
|
|
7140
7140
|
/*customerid*/
|
|
7141
7141
|
a[5]
|
|
7142
7142
|
), o[0] & /*assetsurl*/
|
|
7143
|
-
256 &&
|
|
7143
|
+
256 && G(
|
|
7144
7144
|
e,
|
|
7145
7145
|
"assetsurl",
|
|
7146
7146
|
/*assetsurl*/
|
|
7147
7147
|
a[8]
|
|
7148
7148
|
), o[0] & /*clientstylingurl*/
|
|
7149
|
-
2048 &&
|
|
7149
|
+
2048 && G(
|
|
7150
7150
|
e,
|
|
7151
7151
|
"clientstylingurl",
|
|
7152
7152
|
/*clientstylingurl*/
|
|
7153
7153
|
a[11]
|
|
7154
7154
|
), o[0] & /*clientstyling*/
|
|
7155
|
-
1024 &&
|
|
7155
|
+
1024 && G(
|
|
7156
7156
|
e,
|
|
7157
7157
|
"clientstyling",
|
|
7158
7158
|
/*clientstyling*/
|
|
7159
7159
|
a[10]
|
|
7160
7160
|
), o[1] & /*transactionId*/
|
|
7161
|
-
8 &&
|
|
7161
|
+
8 && G(
|
|
7162
7162
|
e,
|
|
7163
7163
|
"transactionid",
|
|
7164
7164
|
/*transactionId*/
|
|
7165
7165
|
a[34]
|
|
7166
7166
|
), o[0] & /*playersession*/
|
|
7167
|
-
2 &&
|
|
7167
|
+
2 && G(
|
|
7168
7168
|
e,
|
|
7169
7169
|
"session",
|
|
7170
7170
|
/*playersession*/
|
|
@@ -7227,33 +7227,33 @@ function or(t) {
|
|
|
7227
7227
|
), o, s, c, u;
|
|
7228
7228
|
return {
|
|
7229
7229
|
c() {
|
|
7230
|
-
n = H("cashier-error"), e = H("button"), o = ke(a), M(e, "slot", "button"), M(e, "class", "CashierErrorButton"),
|
|
7230
|
+
n = H("cashier-error"), e = H("button"), o = ke(a), M(e, "slot", "button"), M(e, "class", "CashierErrorButton"), G(
|
|
7231
7231
|
n,
|
|
7232
7232
|
"assetsurl",
|
|
7233
7233
|
/*assetsurl*/
|
|
7234
7234
|
t[8]
|
|
7235
|
-
),
|
|
7235
|
+
), G(
|
|
7236
7236
|
n,
|
|
7237
7237
|
"translationurl",
|
|
7238
7238
|
/*translationurl*/
|
|
7239
7239
|
t[4]
|
|
7240
|
-
),
|
|
7240
|
+
), G(
|
|
7241
7241
|
n,
|
|
7242
7242
|
"clientstylingurl",
|
|
7243
7243
|
/*clientstylingurl*/
|
|
7244
7244
|
t[11]
|
|
7245
|
-
),
|
|
7245
|
+
), G(
|
|
7246
7246
|
n,
|
|
7247
7247
|
"clientstyling",
|
|
7248
7248
|
/*clientstyling*/
|
|
7249
7249
|
t[10]
|
|
7250
|
-
),
|
|
7250
|
+
), G(
|
|
7251
7251
|
n,
|
|
7252
7252
|
"lang",
|
|
7253
7253
|
/*lang*/
|
|
7254
7254
|
t[2]
|
|
7255
|
-
),
|
|
7256
|
-
t[24]}`),
|
|
7255
|
+
), G(n, "hidebuttons", s = `${!/*mobileView*/
|
|
7256
|
+
t[24]}`), G(
|
|
7257
7257
|
n,
|
|
7258
7258
|
"errorcode",
|
|
7259
7259
|
/*errorResponseCode*/
|
|
@@ -7272,39 +7272,39 @@ function or(t) {
|
|
|
7272
7272
|
h[1] & /*$_*/
|
|
7273
7273
|
128 && a !== (a = /*$_*/
|
|
7274
7274
|
f[38]("backToMethodList") + "") && Me(o, a), h[0] & /*assetsurl*/
|
|
7275
|
-
256 &&
|
|
7275
|
+
256 && G(
|
|
7276
7276
|
n,
|
|
7277
7277
|
"assetsurl",
|
|
7278
7278
|
/*assetsurl*/
|
|
7279
7279
|
f[8]
|
|
7280
7280
|
), h[0] & /*translationurl*/
|
|
7281
|
-
16 &&
|
|
7281
|
+
16 && G(
|
|
7282
7282
|
n,
|
|
7283
7283
|
"translationurl",
|
|
7284
7284
|
/*translationurl*/
|
|
7285
7285
|
f[4]
|
|
7286
7286
|
), h[0] & /*clientstylingurl*/
|
|
7287
|
-
2048 &&
|
|
7287
|
+
2048 && G(
|
|
7288
7288
|
n,
|
|
7289
7289
|
"clientstylingurl",
|
|
7290
7290
|
/*clientstylingurl*/
|
|
7291
7291
|
f[11]
|
|
7292
7292
|
), h[0] & /*clientstyling*/
|
|
7293
|
-
1024 &&
|
|
7293
|
+
1024 && G(
|
|
7294
7294
|
n,
|
|
7295
7295
|
"clientstyling",
|
|
7296
7296
|
/*clientstyling*/
|
|
7297
7297
|
f[10]
|
|
7298
7298
|
), h[0] & /*lang*/
|
|
7299
|
-
4 &&
|
|
7299
|
+
4 && G(
|
|
7300
7300
|
n,
|
|
7301
7301
|
"lang",
|
|
7302
7302
|
/*lang*/
|
|
7303
7303
|
f[2]
|
|
7304
7304
|
), h[0] & /*mobileView*/
|
|
7305
7305
|
16777216 && s !== (s = `${!/*mobileView*/
|
|
7306
|
-
f[24]}`) &&
|
|
7307
|
-
2 &&
|
|
7306
|
+
f[24]}`) && G(n, "hidebuttons", s), h[1] & /*errorResponseCode*/
|
|
7307
|
+
2 && G(
|
|
7308
7308
|
n,
|
|
7309
7309
|
"errorcode",
|
|
7310
7310
|
/*errorResponseCode*/
|
|
@@ -7380,15 +7380,15 @@ function Da(t, n, e) {
|
|
|
7380
7380
|
}
|
|
7381
7381
|
get descriptionWithLink() {
|
|
7382
7382
|
if (m[this.type] === "Boolean" && this.placeholder || m[this.type] === "Link") {
|
|
7383
|
-
const y = /{link}/i,
|
|
7384
|
-
return this.description.match(y) ? this.description.replace(y,
|
|
7383
|
+
const y = /{link}/i, X = `<a href="${this.placeholder || this.defaultValue}" target="_blank" rel="noopener noreferrer">${this.label}</a>`;
|
|
7384
|
+
return this.description.match(y) ? this.description.replace(y, X) : `${this.description} ${X}`;
|
|
7385
7385
|
}
|
|
7386
7386
|
return this.description;
|
|
7387
7387
|
}
|
|
7388
7388
|
}
|
|
7389
7389
|
const s = (l, [y, J]) => [
|
|
7390
7390
|
...l,
|
|
7391
|
-
...Array.isArray(y) ? [...y.map((
|
|
7391
|
+
...Array.isArray(y) ? [...y.map((X) => [X, J])] : [[y, J]]
|
|
7392
7392
|
];
|
|
7393
7393
|
var c;
|
|
7394
7394
|
(function(l) {
|
|
@@ -7464,7 +7464,7 @@ function Da(t, n, e) {
|
|
|
7464
7464
|
[["Html", 19], m.Html],
|
|
7465
7465
|
[["QR", 20], m.QRCode]
|
|
7466
7466
|
].reduce(s, []));
|
|
7467
|
-
let { endpoint: w } = n, { session: T } = n, { playersession: I } = n, { lang: j = "en" } = n, { local: N = "en-US" } = n, { translationurl: B } = n, { customerid: Q } = n, { currency:
|
|
7467
|
+
let { endpoint: w } = n, { session: T } = n, { playersession: I } = n, { lang: j = "en" } = n, { local: N = "en-US" } = n, { translationurl: B } = n, { customerid: Q } = n, { currency: q } = n, { amount: re } = n, { assetsurl: Z } = n, { type: fe = c.Deposit } = n, { selectedpaymentmethodname: K } = n, { clientstyling: W = "" } = n, { clientstylingurl: ee = "" } = n, { ismobileview: P } = n, _, v = {}, D = [], C = {}, A, R = !1, z = !1, V, ae, ie, we, pe, ye, me, Ce, ve = [], ue = [], De = !1, Ae, Oe = new Intl.NumberFormat(N, { minimumFractionDigits: 2 }), Ve = "", oe = {}, Le = {}, We = !1, Xe, be, je, on, nn = !1, tn = "", xe = !1, Ye = new AbortController(), cn, ln;
|
|
7468
7468
|
const mn = () => {
|
|
7469
7469
|
ue.length && ue.forEach((l) => {
|
|
7470
7470
|
l && Se(l).destroy();
|
|
@@ -7480,7 +7480,7 @@ function Da(t, n, e) {
|
|
|
7480
7480
|
});
|
|
7481
7481
|
}, pn = (l) => {
|
|
7482
7482
|
var y;
|
|
7483
|
-
(y = Ye == null ? void 0 : Ye.signal) != null && y.aborted &&
|
|
7483
|
+
(y = Ye == null ? void 0 : Ye.signal) != null && y.aborted && K === l.detail.Name && mn();
|
|
7484
7484
|
}, gn = () => {
|
|
7485
7485
|
const l = {
|
|
7486
7486
|
[m.Time]: {
|
|
@@ -7501,9 +7501,9 @@ function Da(t, n, e) {
|
|
|
7501
7501
|
ue.forEach((y) => {
|
|
7502
7502
|
if (!y)
|
|
7503
7503
|
return;
|
|
7504
|
-
const J = JSON.parse(y.dataset.field),
|
|
7504
|
+
const J = JSON.parse(y.dataset.field), X = b.get(J.placeholder), Ee = J.type === m.DateTime ? b.get(J.placeholder.split(" ")[1]) : X;
|
|
7505
7505
|
Se(y, Nt(dt({}, l[J.type]), {
|
|
7506
|
-
dateFormat:
|
|
7506
|
+
dateFormat: X,
|
|
7507
7507
|
time_24hr: Ee === "H:i",
|
|
7508
7508
|
maxDate: J.maxValue,
|
|
7509
7509
|
minDate: J.minValue,
|
|
@@ -7537,18 +7537,18 @@ function Da(t, n, e) {
|
|
|
7537
7537
|
e(35, xe = !0);
|
|
7538
7538
|
const y = new URL(`${w}/v1/player/${Q}/payment/GetPaymentMethod`), J = new Headers();
|
|
7539
7539
|
J.append("accept", "application/json"), J.append("Content-Type", "application/json"), J.append("X-Client-Request-Timestamp", an.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
|
|
7540
|
-
const
|
|
7540
|
+
const X = {
|
|
7541
7541
|
method: "POST",
|
|
7542
7542
|
mode: "cors",
|
|
7543
7543
|
headers: J,
|
|
7544
7544
|
body: JSON.stringify({
|
|
7545
|
-
PaymentMethodName:
|
|
7546
|
-
Currency:
|
|
7545
|
+
PaymentMethodName: K,
|
|
7546
|
+
Currency: q,
|
|
7547
7547
|
XPaymentSessionToken: T,
|
|
7548
7548
|
Tags: { UserAgent: window.navigator.userAgent }
|
|
7549
7549
|
})
|
|
7550
7550
|
};
|
|
7551
|
-
fetch(y,
|
|
7551
|
+
fetch(y, X).then((Ee) => Ee.json()).then((Ee) => {
|
|
7552
7552
|
if (!l.aborted) {
|
|
7553
7553
|
if (Ee.error) {
|
|
7554
7554
|
window.postMessage(
|
|
@@ -7574,7 +7574,7 @@ function Da(t, n, e) {
|
|
|
7574
7574
|
{
|
|
7575
7575
|
type: "StartSessionCountdown",
|
|
7576
7576
|
xPaymentSessionToken: _,
|
|
7577
|
-
selectedPaymentMethodName:
|
|
7577
|
+
selectedPaymentMethodName: K
|
|
7578
7578
|
},
|
|
7579
7579
|
window.location.href
|
|
7580
7580
|
);
|
|
@@ -7638,9 +7638,9 @@ function Da(t, n, e) {
|
|
|
7638
7638
|
return;
|
|
7639
7639
|
}
|
|
7640
7640
|
l.stopPropagation(), Ce = l.composedPath()[0];
|
|
7641
|
-
const J = Ce.getBoundingClientRect(),
|
|
7641
|
+
const J = Ce.getBoundingClientRect(), X = A.getBoundingClientRect(), Ee = J.y, _e = 200;
|
|
7642
7642
|
e(29, We = window.innerHeight - Ee < _e);
|
|
7643
|
-
const Wn = J.top -
|
|
7643
|
+
const Wn = J.top - X.top - J.height, kt = X.bottom - J.bottom - J.height, kr = !We && kt < 70 ? _e - 50 : kt;
|
|
7644
7644
|
e(30, Xe = We ? Wn : kr), e(23, me = y);
|
|
7645
7645
|
}, Sn = () => {
|
|
7646
7646
|
if (on)
|
|
@@ -7657,29 +7657,29 @@ function Da(t, n, e) {
|
|
|
7657
7657
|
Transaction: {
|
|
7658
7658
|
PaymentMethod: v.Name,
|
|
7659
7659
|
Amount: be,
|
|
7660
|
-
Currency:
|
|
7660
|
+
Currency: q,
|
|
7661
7661
|
CustomFields: C
|
|
7662
7662
|
},
|
|
7663
7663
|
Account: {},
|
|
7664
7664
|
Tags: { UserAgent: window.navigator.userAgent }
|
|
7665
7665
|
})
|
|
7666
7666
|
};
|
|
7667
|
-
fetch(l, J).then((
|
|
7668
|
-
if (
|
|
7667
|
+
fetch(l, J).then((X) => X.json()).then((X) => {
|
|
7668
|
+
if (X.error) {
|
|
7669
7669
|
postMessage(
|
|
7670
7670
|
{
|
|
7671
7671
|
type: "ShowSessionError",
|
|
7672
|
-
error:
|
|
7672
|
+
error: X.error
|
|
7673
7673
|
},
|
|
7674
7674
|
window.location.href
|
|
7675
7675
|
);
|
|
7676
7676
|
return;
|
|
7677
7677
|
}
|
|
7678
|
-
if (
|
|
7679
|
-
e(32, je =
|
|
7678
|
+
if (X.ResponseCode !== u.Success) {
|
|
7679
|
+
e(32, je = X.ResponseCode), e(22, ye = !1), S(), X.ResponseCode === u.PlayerSessionIsNotValid || X.ResponseCode === u.Maintenance || X.ResponseCode === u.JwtTokenError ? $e() : d();
|
|
7680
7680
|
return;
|
|
7681
7681
|
}
|
|
7682
|
-
_ =
|
|
7682
|
+
_ = X.XPaymentSessionToken, e(22, ye = !1), R = !0, r(), S(), window.postMessage(
|
|
7683
7683
|
{
|
|
7684
7684
|
type: "StartSessionCountdown",
|
|
7685
7685
|
xPaymentSessionToken: _,
|
|
@@ -7765,19 +7765,19 @@ function Da(t, n, e) {
|
|
|
7765
7765
|
XPaymentSessionToken: _
|
|
7766
7766
|
})
|
|
7767
7767
|
};
|
|
7768
|
-
fetch(l, J).then((
|
|
7769
|
-
if (
|
|
7770
|
-
e(32, je =
|
|
7768
|
+
fetch(l, J).then((X) => X.json()).then((X) => {
|
|
7769
|
+
if (X.ResponseCode !== u.Success) {
|
|
7770
|
+
e(32, je = X.ResponseCode), e(22, ye = !1), S(), X.ResponseCode === u.PlayerSessionIsNotValid || X.ResponseCode === u.Maintenance || X.ResponseCode === u.JwtTokenError ? $e() : d();
|
|
7771
7771
|
return;
|
|
7772
7772
|
}
|
|
7773
|
-
_ =
|
|
7773
|
+
_ = X.XPaymentSessionToken, e(34, tn = X.Transaction.Code), V = X.RedirectUrl, we = h.get(X.RedirectionMode) || h.get("Default"), e(22, ye = !1), S(), i(), window.postMessage(
|
|
7774
7774
|
{
|
|
7775
7775
|
type: "StartSessionCountdown",
|
|
7776
7776
|
xPaymentSessionToken: _,
|
|
7777
|
-
selectedpaymentmethodname:
|
|
7777
|
+
selectedpaymentmethodname: K
|
|
7778
7778
|
},
|
|
7779
7779
|
window.location.href
|
|
7780
|
-
), V || e(19, z = !0), we === f.RedirectWithRetry && (ae = window.open(
|
|
7780
|
+
), V || e(19, z = !0), we === f.RedirectWithRetry && (ae = window.open(X.RedirectUrl, "_blank"), e(20, ie = !!ae), ae || e(21, pe = !0));
|
|
7781
7781
|
});
|
|
7782
7782
|
}, U = () => {
|
|
7783
7783
|
ae = window.open(V, "_blank"), e(20, ie = !0), e(21, pe = !1), i();
|
|
@@ -7795,7 +7795,7 @@ function Da(t, n, e) {
|
|
|
7795
7795
|
);
|
|
7796
7796
|
}, Te = (l, y) => {
|
|
7797
7797
|
e(18, C[l.name] = y, C), D.filter((J) => J.correlationFieldName).forEach((J) => He(J));
|
|
7798
|
-
}, en = (l, y) => y ? l.find((
|
|
7798
|
+
}, en = (l, y) => y ? l.find((X) => X.Name === y).Value : "", Ue = (l) => {
|
|
7799
7799
|
if (!l.correlationFieldName)
|
|
7800
7800
|
return !0;
|
|
7801
7801
|
const y = l.correlationFieldValue.includes(C[l.correlationFieldName]);
|
|
@@ -7820,15 +7820,15 @@ function Da(t, n, e) {
|
|
|
7820
7820
|
}
|
|
7821
7821
|
}) : "", En = () => v.IsIntegerAmount && !Number.isInteger(be) ? a("amountIntError") : "", On = () => Number(be).toFixed(2) != +be ? a("amountDecimalError") : "", Pn = (l, y) => {
|
|
7822
7822
|
if (!l) return !0;
|
|
7823
|
-
let J,
|
|
7824
|
-
return typeof l == "string" ? (
|
|
7823
|
+
let J, X;
|
|
7824
|
+
return typeof l == "string" ? (X = "", l.charAt(0) !== "^" && (X += "^"), X += l, l.charAt(l.length - 1) !== "$" && (X += "$"), J = new RegExp(X)) : (X = l.toString(), J = l), J.test(y);
|
|
7825
7825
|
}, wn = (l, y) => l.format && y && !Pn(l.format, y) ? a("invalidFieldError", { values: { field: l.label } }) : "", vn = (l, y) => typeof y != "boolean" && l.isRequired && (!y || !y.toString().trim()) ? a("errorEmptyField") : "", Hn = (l) => {
|
|
7826
7826
|
["+", "-", "e", "E"].includes(l.key) && l.preventDefault();
|
|
7827
7827
|
}, bn = () => {
|
|
7828
7828
|
e(26, Ve = dn() || Tn() || _n() || Ln() || En() || On());
|
|
7829
7829
|
}, fn = (l) => {
|
|
7830
|
-
const y = C[l.name], J = l.placeholder,
|
|
7831
|
-
if (
|
|
7830
|
+
const y = C[l.name], J = l.placeholder, X = an(y, J), Ee = an(l.maxValue, J), _e = an(l.minValue, J);
|
|
7831
|
+
if (X.isBefore(_e) || X.isAfter(Ee)) {
|
|
7832
7832
|
e(28, Le[l.name] = a("invalidFieldError", { values: { field: l.label } }), Le);
|
|
7833
7833
|
return;
|
|
7834
7834
|
}
|
|
@@ -7926,11 +7926,11 @@ function Da(t, n, e) {
|
|
|
7926
7926
|
});
|
|
7927
7927
|
}
|
|
7928
7928
|
return t.$$set = (l) => {
|
|
7929
|
-
"endpoint" in l && e(0, w = l.endpoint), "session" in l && e(54, T = l.session), "playersession" in l && e(1, I = l.playersession), "lang" in l && e(2, j = l.lang), "local" in l && e(3, N = l.local), "translationurl" in l && e(4, B = l.translationurl), "customerid" in l && e(5, Q = l.customerid), "currency" in l && e(6,
|
|
7929
|
+
"endpoint" in l && e(0, w = l.endpoint), "session" in l && e(54, T = l.session), "playersession" in l && e(1, I = l.playersession), "lang" in l && e(2, j = l.lang), "local" in l && e(3, N = l.local), "translationurl" in l && e(4, B = l.translationurl), "customerid" in l && e(5, Q = l.customerid), "currency" in l && e(6, q = l.currency), "amount" in l && e(7, re = l.amount), "assetsurl" in l && e(8, Z = l.assetsurl), "type" in l && e(9, fe = l.type), "selectedpaymentmethodname" in l && e(55, K = l.selectedpaymentmethodname), "clientstyling" in l && e(10, W = l.clientstyling), "clientstylingurl" in l && e(11, ee = l.clientstylingurl), "ismobileview" in l && e(56, P = l.ismobileview);
|
|
7930
7930
|
}, t.$$.update = () => {
|
|
7931
7931
|
t.$$.dirty[0] & /*endpoint, currency*/
|
|
7932
7932
|
65 | t.$$.dirty[1] & /*session, selectedpaymentmethodname*/
|
|
7933
|
-
25165824 && w && T &&
|
|
7933
|
+
25165824 && w && T && K && q && mn(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
7934
7934
|
9216 && W && A && sn(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
7935
7935
|
10240 && ee && A && Cn(), t.$$.dirty[0] & /*lang*/
|
|
7936
7936
|
4 && j && Mn(), t.$$.dirty[0] & /*lang, translationurl*/
|
|
@@ -7945,7 +7945,7 @@ function Da(t, n, e) {
|
|
|
7945
7945
|
N,
|
|
7946
7946
|
B,
|
|
7947
7947
|
Q,
|
|
7948
|
-
|
|
7948
|
+
q,
|
|
7949
7949
|
re,
|
|
7950
7950
|
Z,
|
|
7951
7951
|
fe,
|
|
@@ -7994,7 +7994,7 @@ function Da(t, n, e) {
|
|
|
7994
7994
|
Un,
|
|
7995
7995
|
o,
|
|
7996
7996
|
T,
|
|
7997
|
-
|
|
7997
|
+
K,
|
|
7998
7998
|
P,
|
|
7999
7999
|
qn,
|
|
8000
8000
|
Kn,
|