@everymatrix/cashier-method-details 1.50.0 → 1.51.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,8 +10,8 @@ var Pt = (n, t, e) => t in n ? Dr(n, t, { enumerable: !0, configurable: !0, writ
10
10
  Tr.call(t, e) && Pt(n, e, t[e]);
11
11
  return n;
12
12
  }, Nt = (n, t) => Cr(n, Sr(t));
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 q, 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-Ccz0Sdnq.js";
14
- import { a as Ir, i as Hr, $ as Rr, c as wt, g as vt, b as Jr } from "./CashierError-CHjWGH0v.js";
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-Ccz0Sdnq.js";
14
+ import { a as Ir, i as Hr, $ as Rr, c as wt, g as vt, b as Jr } from "./CashierError-DHY1mLRH.js";
15
15
  function jt(n, t) {
16
16
  Ir(n, t);
17
17
  }
@@ -80,7 +80,7 @@ if (typeof window != "undefined") {
80
80
  }
81
81
  };
82
82
  };
83
- customElements.define = n(customElements.define), import("./CashierIframeRedirect-m4eYACeo.js").then(({ default: t }) => {
83
+ customElements.define = n(customElements.define), import("./CashierIframeRedirect-B4imEacT.js").then(({ default: t }) => {
84
84
  !customElements.get("cashier-iframe-redirect") && customElements.define("cashier-iframe-redirect", t.element);
85
85
  });
86
86
  }
@@ -128,7 +128,7 @@ if (typeof window != "undefined") {
128
128
  }
129
129
  };
130
130
  };
131
- customElements.define = n(customElements.define), import("./CashierError-CHjWGH0v.js").then((t) => t.C).then(({ default: t }) => {
131
+ customElements.define = n(customElements.define), import("./CashierError-DHY1mLRH.js").then((t) => t.C).then(({ default: t }) => {
132
132
  !customElements.get("cashier-error") && customElements.define("cashier-error", t.element);
133
133
  });
134
134
  }
@@ -160,7 +160,7 @@ if (typeof window != "undefined") {
160
160
  }
161
161
  };
162
162
  };
163
- customElements.define = n(customElements.define), import("./CashierReceiptPage-QdntvLZa.js").then(({ default: t }) => {
163
+ customElements.define = n(customElements.define), import("./CashierReceiptPage-CRawcUcd.js").then(({ default: t }) => {
164
164
  !customElements.get("cashier-receipt-page") && customElements.define("cashier-receipt-page", t.element);
165
165
  });
166
166
  }
@@ -555,10 +555,10 @@ var St = function() {
555
555
  var N = E[T], B = N === "\\", Q = E[T - 1] === "\\" || B;
556
556
  if (yn[N] && !Q) {
557
557
  j += yn[N];
558
- var K = new RegExp(j).exec(s);
559
- K && (g = !0) && w[N !== "Y" ? "push" : "unshift"]({
558
+ var q = new RegExp(j).exec(s);
559
+ q && (g = !0) && w[N !== "Y" ? "push" : "unshift"]({
560
560
  fn: zr[N],
561
- val: K[++I]
561
+ val: q[++I]
562
562
  });
563
563
  } else B || (j += ".");
564
564
  }
@@ -636,7 +636,7 @@ function Kr(n, t) {
636
636
  config: Ne(Ne({}, Fn), Se.defaultConfig),
637
637
  l10n: Vn
638
638
  };
639
- 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 = K, 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;
639
+ 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;
640
640
  function a() {
641
641
  e.utils = {
642
642
  getDaysInMonth: function(r, i) {
@@ -797,7 +797,7 @@ function Kr(n, t) {
797
797
  }
798
798
  !e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
799
799
  }
800
- function K(r, i, d, p) {
800
+ function q(r, i, d, p) {
801
801
  var S = Ce(i, !0), O = ce("span", r, i.getDate().toString());
802
802
  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;
803
803
  }
@@ -819,19 +819,19 @@ function Kr(n, t) {
819
819
  if (U.className.indexOf("hidden") === -1 && Ce(U.dateObj) && Math.abs(r.$i - F) >= Math.abs(i))
820
820
  return re(U);
821
821
  }
822
- e.changeMonth(S), X(Z(S), 0);
822
+ e.changeMonth(S), K(Z(S), 0);
823
823
  }
824
- function X(r, i) {
824
+ function K(r, i) {
825
825
  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);
826
826
  S === void 0 ? e._input.focus() : p ? fe(S, i) : re(S);
827
827
  }
828
828
  function W(r, i) {
829
829
  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++)
830
- O.appendChild(K("flatpickr-day " + Y, new Date(r, i - 1, F), F, U));
830
+ O.appendChild(q("flatpickr-day " + Y, new Date(r, i - 1, F), F, U));
831
831
  for (F = 1; F <= S; F++, U++)
832
- O.appendChild(K("flatpickr-day", new Date(r, i, F), F, U));
832
+ O.appendChild(q("flatpickr-day", new Date(r, i, F), F, U));
833
833
  for (var de = S + 1; de <= 42 - d && (e.config.showMonths === 1 || U % 7 !== 0); de++, U++)
834
- O.appendChild(K("flatpickr-day " + ne, new Date(r, i + 1, de % S), de, U));
834
+ O.appendChild(q("flatpickr-day " + ne, new Date(r, i + 1, de % S), de, U));
835
835
  var Pe = ce("div", "dayContainer");
836
836
  return Pe.appendChild(O), Pe;
837
837
  }
@@ -1087,7 +1087,7 @@ function Kr(n, t) {
1087
1087
  var Y = s();
1088
1088
  if (e.daysContainer !== void 0 && (p === !1 || Y && ve(Y))) {
1089
1089
  var ne = r.keyCode === 39 ? 1 : -1;
1090
- r.ctrlKey ? (r.stopPropagation(), V(ne), X(Z(1), 0)) : X(void 0, ne);
1090
+ r.ctrlKey ? (r.stopPropagation(), V(ne), K(Z(1), 0)) : K(void 0, ne);
1091
1091
  }
1092
1092
  } else e.hourElement && e.hourElement.focus();
1093
1093
  break;
@@ -1095,7 +1095,7 @@ function Kr(n, t) {
1095
1095
  case 40:
1096
1096
  r.preventDefault();
1097
1097
  var F = r.keyCode === 40 ? 1 : -1;
1098
- e.daysContainer && i.$i !== void 0 || i === e.input || i === e.altInput ? r.ctrlKey ? (r.stopPropagation(), me(e.currentYear - F), X(Z(1), 0)) : x || X(void 0, F * 7) : i === e.currentYearElement ? me(e.currentYear - F) : e.config.enableTime && (!x && e.hourElement && e.hourElement.focus(), f(r), e._debouncedChange());
1098
+ 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());
1099
1099
  break;
1100
1100
  case 9:
1101
1101
  if (x) {
@@ -2059,7 +2059,7 @@ var Lt = { exports: {} };
2059
2059
  }
2060
2060
  };
2061
2061
  B.l10ns.ckb = Q, B.l10ns;
2062
- var K = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2062
+ var q = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2063
2063
  l10ns: {}
2064
2064
  }, re = {
2065
2065
  weekdays: {
@@ -2116,7 +2116,7 @@ var Lt = { exports: {} };
2116
2116
  yearAriaLabel: "Rok",
2117
2117
  time_24hr: !0
2118
2118
  };
2119
- K.l10ns.cs = re, K.l10ns;
2119
+ q.l10ns.cs = re, q.l10ns;
2120
2120
  var Z = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2121
2121
  l10ns: {}
2122
2122
  }, fe = {
@@ -2169,7 +2169,7 @@ var Lt = { exports: {} };
2169
2169
  time_24hr: !0
2170
2170
  };
2171
2171
  Z.l10ns.cy = fe, Z.l10ns;
2172
- var X = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2172
+ var K = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2173
2173
  l10ns: {}
2174
2174
  }, W = {
2175
2175
  weekdays: {
@@ -2222,7 +2222,7 @@ var Lt = { exports: {} };
2222
2222
  weekAbbreviation: "uge",
2223
2223
  time_24hr: !0
2224
2224
  };
2225
- X.l10ns.da = W, X.l10ns;
2225
+ K.l10ns.da = W, K.l10ns;
2226
2226
  var ee = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2227
2227
  l10ns: {}
2228
2228
  }, P = {
@@ -5038,8 +5038,8 @@ var fr = { exports: {} };
5038
5038
  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$/, "");
5039
5039
  }, u: function(_) {
5040
5040
  return _ === void 0;
5041
- } }, Q = "en", K = {};
5042
- K[Q] = j;
5041
+ } }, Q = "en", q = {};
5042
+ q[Q] = j;
5043
5043
  var re = "$isDayjsObject", Z = function(_) {
5044
5044
  return _ instanceof ee || !(!_ || !_[re]);
5045
5045
  }, fe = function _(v, D, C) {
@@ -5047,21 +5047,21 @@ var fr = { exports: {} };
5047
5047
  if (!v) return Q;
5048
5048
  if (typeof v == "string") {
5049
5049
  var R = v.toLowerCase();
5050
- K[R] && (A = R), D && (K[R] = D, A = R);
5050
+ q[R] && (A = R), D && (q[R] = D, A = R);
5051
5051
  var z = v.split("-");
5052
5052
  if (!A && z.length > 1) return _(z[0]);
5053
5053
  } else {
5054
5054
  var V = v.name;
5055
- K[V] = v, A = V;
5055
+ q[V] = v, A = V;
5056
5056
  }
5057
5057
  return !C && A && (Q = A), A || !C && Q;
5058
- }, X = function(_, v) {
5058
+ }, K = function(_, v) {
5059
5059
  if (Z(_)) return _.clone();
5060
5060
  var D = typeof v == "object" ? v : {};
5061
5061
  return D.date = _, D.args = arguments, new ee(D);
5062
5062
  }, W = B;
5063
5063
  W.l = fe, W.i = Z, W.w = function(_, v) {
5064
- return X(_, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
5064
+ return K(_, { locale: v.$L, utc: v.$u, x: v.$x, $offset: v.$offset });
5065
5065
  };
5066
5066
  var ee = function() {
5067
5067
  function _(D) {
@@ -5091,12 +5091,12 @@ var fr = { exports: {} };
5091
5091
  }, v.isValid = function() {
5092
5092
  return this.$d.toString() !== w;
5093
5093
  }, v.isSame = function(D, C) {
5094
- var A = X(D);
5094
+ var A = K(D);
5095
5095
  return this.startOf(C) <= A && A <= this.endOf(C);
5096
5096
  }, v.isAfter = function(D, C) {
5097
- return X(D) < this.startOf(C);
5097
+ return K(D) < this.startOf(C);
5098
5098
  }, v.isBefore = function(D, C) {
5099
- return this.endOf(C) < X(D);
5099
+ return this.endOf(C) < K(D);
5100
5100
  }, v.$g = function(D, C, A) {
5101
5101
  return W.u(D) ? this[C] : this.set(A, D);
5102
5102
  }, v.unix = function() {
@@ -5147,7 +5147,7 @@ var fr = { exports: {} };
5147
5147
  var A, R = this;
5148
5148
  D = Number(D);
5149
5149
  var z = W.p(C), V = function(we) {
5150
- var pe = X(R);
5150
+ var pe = K(R);
5151
5151
  return W.w(pe.date(pe.date() + Math.round(we * D)), R);
5152
5152
  };
5153
5153
  if (z === k) return this.set(k, this.$M + D);
@@ -5227,7 +5227,7 @@ var fr = { exports: {} };
5227
5227
  }, v.utcOffset = function() {
5228
5228
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5229
5229
  }, v.diff = function(D, C, A) {
5230
- var R, z = this, V = W.p(C), ae = X(D), ie = (ae.utcOffset() - this.utcOffset()) * a, we = this - ae, pe = function() {
5230
+ var R, z = this, V = W.p(C), ae = K(D), ie = (ae.utcOffset() - this.utcOffset()) * a, we = this - ae, pe = function() {
5231
5231
  return W.m(z, ae);
5232
5232
  };
5233
5233
  switch (V) {
@@ -5262,7 +5262,7 @@ var fr = { exports: {} };
5262
5262
  }, v.daysInMonth = function() {
5263
5263
  return this.endOf(k).$D;
5264
5264
  }, v.$locale = function() {
5265
- return K[this.$L];
5265
+ return q[this.$L];
5266
5266
  }, v.locale = function(D, C) {
5267
5267
  if (!D) return this.$L;
5268
5268
  var A = this.clone(), R = fe(D, C, !0);
@@ -5279,15 +5279,15 @@ var fr = { exports: {} };
5279
5279
  return this.$d.toUTCString();
5280
5280
  }, _;
5281
5281
  }(), P = ee.prototype;
5282
- return X.prototype = P, [["$ms", s], ["$s", c], ["$m", u], ["$H", f], ["$W", h], ["$M", k], ["$y", b], ["$D", g]].forEach(function(_) {
5282
+ return K.prototype = P, [["$ms", s], ["$s", c], ["$m", u], ["$H", f], ["$W", h], ["$M", k], ["$y", b], ["$D", g]].forEach(function(_) {
5283
5283
  P[_[1]] = function(v) {
5284
5284
  return this.$g(v, _[0], _[1]);
5285
5285
  };
5286
- }), X.extend = function(_, v) {
5287
- return _.$i || (_(v, ee, X), _.$i = !0), X;
5288
- }, X.locale = fe, X.isDayjs = Z, X.unix = function(_) {
5289
- return X(1e3 * _);
5290
- }, X.en = K[Q], X.Ls = K, X.p = {}, X;
5286
+ }), K.extend = function(_, v) {
5287
+ return _.$i || (_(v, ee, K), _.$i = !0), K;
5288
+ }, K.locale = fe, K.isDayjs = Z, K.unix = function(_) {
5289
+ return K(1e3 * _);
5290
+ }, K.en = q[Q], K.Ls = q, K.p = {}, K;
5291
5291
  });
5292
5292
  })(fr);
5293
5293
  var Gr = fr.exports;
@@ -5326,9 +5326,9 @@ var cr = { exports: {} };
5326
5326
  if (I(w)) return this.$u ? 0 : I(this.$offset) ? k.call(this) : this.$offset;
5327
5327
  if (typeof w == "string" && (w = function(Q) {
5328
5328
  Q === void 0 && (Q = "");
5329
- var K = Q.match(a);
5330
- if (!K) return null;
5331
- var re = ("" + K[0]).match(o) || ["-", 0, 0], Z = re[0], fe = 60 * +re[1] + +re[2];
5329
+ var q = Q.match(a);
5330
+ if (!q) return null;
5331
+ var re = ("" + q[0]).match(o) || ["-", 0, 0], Z = re[0], fe = 60 * +re[1] + +re[2];
5332
5332
  return fe === 0 ? 0 : Z === "+" ? fe : -fe;
5333
5333
  }(w), w === null)) return this;
5334
5334
  var j = Math.abs(w) <= 16 ? 60 * w : w, N = this;
@@ -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(X, W, ee) {
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 K = N[Q], re = g[K], Z = re && re[0], fe = re && re[1];
5438
- N[Q] = fe ? { regex: Z, parser: fe } : K.replace(/^\[|\]$/g, "");
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(X) {
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 = X.slice(P), A = v.exec(C)[0];
5446
- D.call(W, A), X = X.replace(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 K = Q.date, re = Q.utc, Z = Q.args;
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 X = Z[2] === !0, W = Z[3] === !0, ee = X || W, P = Z[2];
5467
- W && (P = Z[2]), f = this.$locale(), !X && P && (f = j.Ls[P]), this.$d = function(C, A, R, z) {
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
- }(K, fe, re, j), this.init(), P && P !== !0 && (this.$L = this.locale(P).$L), ee && K != this.format(fe) && (this.$d = /* @__PURE__ */ new Date("")), f = {};
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(n) {
5506
5506
  let t;
5507
5507
  return {
5508
5508
  c() {
5509
- t = H("cashier-spinner"), q(
5509
+ t = H("cashier-spinner"), G(
5510
5510
  t,
5511
5511
  "clientstylingurl",
5512
5512
  /*clientstylingurl*/
5513
5513
  n[11]
5514
- ), q(
5514
+ ), G(
5515
5515
  t,
5516
5516
  "clientstyling",
5517
5517
  /*clientstyling*/
@@ -5523,13 +5523,13 @@ function zt(n) {
5523
5523
  },
5524
5524
  p(e, a) {
5525
5525
  a[0] & /*clientstylingurl*/
5526
- 2048 && q(
5526
+ 2048 && G(
5527
5527
  t,
5528
5528
  "clientstylingurl",
5529
5529
  /*clientstylingurl*/
5530
5530
  e[11]
5531
5531
  ), a[0] & /*clientstyling*/
5532
- 1024 && q(
5532
+ 1024 && G(
5533
5533
  t,
5534
5534
  "clientstyling",
5535
5535
  /*clientstyling*/
@@ -5580,7 +5580,7 @@ function Vt(n) {
5580
5580
  ), Q = (
5581
5581
  /*selectedPaymentMethod*/
5582
5582
  n[17].Description && qt(n)
5583
- ), K = !/*selectedPaymentMethod*/
5583
+ ), q = !/*selectedPaymentMethod*/
5584
5584
  n[17].HideAmountField && Kt(n), re = ht(
5585
5585
  /*fields*/
5586
5586
  n[12]
@@ -5593,13 +5593,13 @@ function Vt(n) {
5593
5593
  P[22] ? ga : wa
5594
5594
  );
5595
5595
  }
5596
- let X = fe(n), W = X(n), ee = (
5596
+ let K = fe(n), W = K(n), ee = (
5597
5597
  /*showRetryNotification*/
5598
5598
  n[21] && tr(n)
5599
5599
  );
5600
5600
  return {
5601
5601
  c() {
5602
- t = 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(), K && K.c(), w = se();
5602
+ t = 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(n) {
5613
5613
  n[17].Label), M(o, "class", "SelectedLogoWrapper"), M(h, "class", "SelectedLogoDescription"), M(a, "class", "FormLogo"), M(e, "class", "FieldWrapper"), t.noValidate = !0;
5614
5614
  },
5615
5615
  m(P, _) {
5616
- te(P, t, _), L(t, 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), K && K.m(e, null), L(t, w);
5616
+ te(P, t, _), L(t, 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(t, w);
5617
5617
  for (let v = 0; v < Z.length; v += 1)
5618
5618
  Z[v] && Z[v].m(t, null);
5619
5619
  L(t, T), W.m(t, null), L(t, I), ee && ee.m(t, null), j || (N = he(t, "submit", Yr(
@@ -5639,7 +5639,7 @@ function Vt(n) {
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 ? K && (K.d(1), K = null) : K ? K.p(P, _) : (K = Kt(P), K.c(), K.m(e, null)), _[0] & /*fields, FieldTypes, showError, fieldValidation, prepareFields, flatpickrEl, maxLookupHeight, openedLookup, openLookupTop, qrCodeContainer*/
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(n) {
5655
5655
  Z[v].d(1);
5656
5656
  Z.length = re.length;
5657
5657
  }
5658
- X === (X = fe(P)) && W ? W.p(P, _) : (W.d(1), W = X(P), W && (W.c(), W.m(t, I))), /*showRetryNotification*/
5658
+ K === (K = fe(P)) && W ? W.p(P, _) : (W.d(1), W = K(P), W && (W.c(), W.m(t, I))), /*showRetryNotification*/
5659
5659
  P[21] ? ee ? ee.p(P, _) : (ee = tr(P), ee.c(), ee.m(t, null)) : ee && (ee.d(1), ee = null);
5660
5660
  },
5661
5661
  d(P) {
5662
- P && $(t), B && B.d(), Q && Q.d(), K && K.d(), sr(Z, P), W.d(), ee && ee.d(), j = !1, N();
5662
+ P && $(t), 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(n) {
6929
6929
  let t, e, a;
6930
6930
  return {
6931
6931
  c() {
6932
- t = H("cashier-notifications"), q(
6932
+ t = H("cashier-notifications"), G(
6933
6933
  t,
6934
6934
  "clientstylingurl",
6935
6935
  /*clientstylingurl*/
6936
6936
  n[11]
6937
- ), q(
6937
+ ), G(
6938
6938
  t,
6939
6939
  "clientstyling",
6940
6940
  /*clientstyling*/
6941
6941
  n[10]
6942
- ), q(t, "text", e = /*$_*/
6943
- n[38]("retryText")), q(t, "button", a = /*$_*/
6942
+ ), G(t, "text", e = /*$_*/
6943
+ n[38]("retryText")), G(t, "button", a = /*$_*/
6944
6944
  n[38]("retryButton"));
6945
6945
  },
6946
6946
  m(o, s) {
@@ -6948,22 +6948,22 @@ function tr(n) {
6948
6948
  },
6949
6949
  p(o, s) {
6950
6950
  s[0] & /*clientstylingurl*/
6951
- 2048 && q(
6951
+ 2048 && G(
6952
6952
  t,
6953
6953
  "clientstylingurl",
6954
6954
  /*clientstylingurl*/
6955
6955
  o[11]
6956
6956
  ), s[0] & /*clientstyling*/
6957
- 1024 && q(
6957
+ 1024 && G(
6958
6958
  t,
6959
6959
  "clientstyling",
6960
6960
  /*clientstyling*/
6961
6961
  o[10]
6962
6962
  ), s[1] & /*$_*/
6963
6963
  128 && e !== (e = /*$_*/
6964
- o[38]("retryText")) && q(t, "text", e), s[1] & /*$_*/
6964
+ o[38]("retryText")) && G(t, "text", e), s[1] & /*$_*/
6965
6965
  128 && a !== (a = /*$_*/
6966
- o[38]("retryButton")) && q(t, "button", a);
6966
+ o[38]("retryButton")) && G(t, "button", a);
6967
6967
  },
6968
6968
  d(o) {
6969
6969
  o && $(t);
@@ -7053,52 +7053,52 @@ function ar(n) {
7053
7053
  let t, e;
7054
7054
  return {
7055
7055
  c() {
7056
- t = H("div"), e = H("cashier-receipt-page"), q(
7056
+ t = H("div"), e = H("cashier-receipt-page"), G(
7057
7057
  e,
7058
7058
  "lang",
7059
7059
  /*lang*/
7060
7060
  n[2]
7061
- ), q(
7061
+ ), G(
7062
7062
  e,
7063
7063
  "translationurl",
7064
7064
  /*translationurl*/
7065
7065
  n[4]
7066
- ), q(
7066
+ ), G(
7067
7067
  e,
7068
7068
  "local",
7069
7069
  /*local*/
7070
7070
  n[3]
7071
- ), q(
7071
+ ), G(
7072
7072
  e,
7073
7073
  "endpoint",
7074
7074
  /*endpoint*/
7075
7075
  n[0]
7076
- ), q(
7076
+ ), G(
7077
7077
  e,
7078
7078
  "customerid",
7079
7079
  /*customerid*/
7080
7080
  n[5]
7081
- ), q(
7081
+ ), G(
7082
7082
  e,
7083
7083
  "assetsurl",
7084
7084
  /*assetsurl*/
7085
7085
  n[8]
7086
- ), q(
7086
+ ), G(
7087
7087
  e,
7088
7088
  "clientstylingurl",
7089
7089
  /*clientstylingurl*/
7090
7090
  n[11]
7091
- ), q(
7091
+ ), G(
7092
7092
  e,
7093
7093
  "clientstyling",
7094
7094
  /*clientstyling*/
7095
7095
  n[10]
7096
- ), q(e, "showerrors", "false"), q(e, "showclosebutton", "true"), q(e, "showcontactbutton", "true"), q(
7096
+ ), G(e, "showerrors", "false"), G(e, "showclosebutton", "true"), G(
7097
7097
  e,
7098
7098
  "transactionid",
7099
7099
  /*transactionId*/
7100
7100
  n[34]
7101
- ), q(
7101
+ ), G(
7102
7102
  e,
7103
7103
  "session",
7104
7104
  /*playersession*/
@@ -7110,61 +7110,61 @@ function ar(n) {
7110
7110
  },
7111
7111
  p(a, o) {
7112
7112
  o[0] & /*lang*/
7113
- 4 && q(
7113
+ 4 && G(
7114
7114
  e,
7115
7115
  "lang",
7116
7116
  /*lang*/
7117
7117
  a[2]
7118
7118
  ), o[0] & /*translationurl*/
7119
- 16 && q(
7119
+ 16 && G(
7120
7120
  e,
7121
7121
  "translationurl",
7122
7122
  /*translationurl*/
7123
7123
  a[4]
7124
7124
  ), o[0] & /*local*/
7125
- 8 && q(
7125
+ 8 && G(
7126
7126
  e,
7127
7127
  "local",
7128
7128
  /*local*/
7129
7129
  a[3]
7130
7130
  ), o[0] & /*endpoint*/
7131
- 1 && q(
7131
+ 1 && G(
7132
7132
  e,
7133
7133
  "endpoint",
7134
7134
  /*endpoint*/
7135
7135
  a[0]
7136
7136
  ), o[0] & /*customerid*/
7137
- 32 && q(
7137
+ 32 && G(
7138
7138
  e,
7139
7139
  "customerid",
7140
7140
  /*customerid*/
7141
7141
  a[5]
7142
7142
  ), o[0] & /*assetsurl*/
7143
- 256 && q(
7143
+ 256 && G(
7144
7144
  e,
7145
7145
  "assetsurl",
7146
7146
  /*assetsurl*/
7147
7147
  a[8]
7148
7148
  ), o[0] & /*clientstylingurl*/
7149
- 2048 && q(
7149
+ 2048 && G(
7150
7150
  e,
7151
7151
  "clientstylingurl",
7152
7152
  /*clientstylingurl*/
7153
7153
  a[11]
7154
7154
  ), o[0] & /*clientstyling*/
7155
- 1024 && q(
7155
+ 1024 && G(
7156
7156
  e,
7157
7157
  "clientstyling",
7158
7158
  /*clientstyling*/
7159
7159
  a[10]
7160
7160
  ), o[1] & /*transactionId*/
7161
- 8 && q(
7161
+ 8 && G(
7162
7162
  e,
7163
7163
  "transactionid",
7164
7164
  /*transactionId*/
7165
7165
  a[34]
7166
7166
  ), o[0] & /*playersession*/
7167
- 2 && q(
7167
+ 2 && G(
7168
7168
  e,
7169
7169
  "session",
7170
7170
  /*playersession*/
@@ -7227,33 +7227,33 @@ function or(n) {
7227
7227
  ), o, s, c, u;
7228
7228
  return {
7229
7229
  c() {
7230
- t = H("cashier-error"), e = H("button"), o = ke(a), M(e, "slot", "button"), M(e, "class", "CashierErrorButton"), q(
7230
+ t = H("cashier-error"), e = H("button"), o = ke(a), M(e, "slot", "button"), M(e, "class", "CashierErrorButton"), G(
7231
7231
  t,
7232
7232
  "assetsurl",
7233
7233
  /*assetsurl*/
7234
7234
  n[8]
7235
- ), q(
7235
+ ), G(
7236
7236
  t,
7237
7237
  "translationurl",
7238
7238
  /*translationurl*/
7239
7239
  n[4]
7240
- ), q(
7240
+ ), G(
7241
7241
  t,
7242
7242
  "clientstylingurl",
7243
7243
  /*clientstylingurl*/
7244
7244
  n[11]
7245
- ), q(
7245
+ ), G(
7246
7246
  t,
7247
7247
  "clientstyling",
7248
7248
  /*clientstyling*/
7249
7249
  n[10]
7250
- ), q(
7250
+ ), G(
7251
7251
  t,
7252
7252
  "lang",
7253
7253
  /*lang*/
7254
7254
  n[2]
7255
- ), q(t, "hidebuttons", s = `${!/*mobileView*/
7256
- n[24]}`), q(
7255
+ ), G(t, "hidebuttons", s = `${!/*mobileView*/
7256
+ n[24]}`), G(
7257
7257
  t,
7258
7258
  "errorcode",
7259
7259
  /*errorResponseCode*/
@@ -7272,39 +7272,39 @@ function or(n) {
7272
7272
  h[1] & /*$_*/
7273
7273
  128 && a !== (a = /*$_*/
7274
7274
  f[38]("backToMethodList") + "") && Me(o, a), h[0] & /*assetsurl*/
7275
- 256 && q(
7275
+ 256 && G(
7276
7276
  t,
7277
7277
  "assetsurl",
7278
7278
  /*assetsurl*/
7279
7279
  f[8]
7280
7280
  ), h[0] & /*translationurl*/
7281
- 16 && q(
7281
+ 16 && G(
7282
7282
  t,
7283
7283
  "translationurl",
7284
7284
  /*translationurl*/
7285
7285
  f[4]
7286
7286
  ), h[0] & /*clientstylingurl*/
7287
- 2048 && q(
7287
+ 2048 && G(
7288
7288
  t,
7289
7289
  "clientstylingurl",
7290
7290
  /*clientstylingurl*/
7291
7291
  f[11]
7292
7292
  ), h[0] & /*clientstyling*/
7293
- 1024 && q(
7293
+ 1024 && G(
7294
7294
  t,
7295
7295
  "clientstyling",
7296
7296
  /*clientstyling*/
7297
7297
  f[10]
7298
7298
  ), h[0] & /*lang*/
7299
- 4 && q(
7299
+ 4 && G(
7300
7300
  t,
7301
7301
  "lang",
7302
7302
  /*lang*/
7303
7303
  f[2]
7304
7304
  ), h[0] & /*mobileView*/
7305
7305
  16777216 && s !== (s = `${!/*mobileView*/
7306
- f[24]}`) && q(t, "hidebuttons", s), h[1] & /*errorResponseCode*/
7307
- 2 && q(
7306
+ f[24]}`) && G(t, "hidebuttons", s), h[1] & /*errorResponseCode*/
7307
+ 2 && G(
7308
7308
  t,
7309
7309
  "errorcode",
7310
7310
  /*errorResponseCode*/
@@ -7380,15 +7380,15 @@ function Da(n, t, 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, G = `<a href="${this.placeholder || this.defaultValue}" target="_blank" rel="noopener noreferrer">${this.label}</a>`;
7384
- return this.description.match(y) ? this.description.replace(y, G) : `${this.description} ${G}`;
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((G) => [G, J])] : [[y, J]]
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(n, t, e) {
7464
7464
  [["Html", 19], m.Html],
7465
7465
  [["QR", 20], m.QRCode]
7466
7466
  ].reduce(s, []));
7467
- let { endpoint: w } = t, { session: T } = t, { playersession: I } = t, { lang: j = "en" } = t, { local: N = "en-US" } = t, { translationurl: B } = t, { customerid: Q } = t, { currency: K } = t, { amount: re } = t, { assetsurl: Z } = t, { type: fe = c.Deposit } = t, { selectedpaymentmethodname: X } = t, { clientstyling: W = "" } = t, { clientstylingurl: ee = "" } = t, { ismobileview: P } = t, _, 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;
7467
+ let { endpoint: w } = t, { session: T } = t, { playersession: I } = t, { lang: j = "en" } = t, { local: N = "en-US" } = t, { translationurl: B } = t, { customerid: Q } = t, { currency: q } = t, { amount: re } = t, { assetsurl: Z } = t, { type: fe = c.Deposit } = t, { selectedpaymentmethodname: K } = t, { clientstyling: W = "" } = t, { clientstylingurl: ee = "" } = t, { ismobileview: P } = t, _, 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(n, t, e) {
7480
7480
  });
7481
7481
  }, pn = (l) => {
7482
7482
  var y;
7483
- (y = Ye == null ? void 0 : Ye.signal) != null && y.aborted && X === l.detail.Name && mn();
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(n, t, e) {
7501
7501
  ue.forEach((y) => {
7502
7502
  if (!y)
7503
7503
  return;
7504
- const J = JSON.parse(y.dataset.field), G = b.get(J.placeholder), Ee = J.type === m.DateTime ? b.get(J.placeholder.split(" ")[1]) : G;
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: G,
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(n, t, 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 G = {
7540
+ const X = {
7541
7541
  method: "POST",
7542
7542
  mode: "cors",
7543
7543
  headers: J,
7544
7544
  body: JSON.stringify({
7545
- PaymentMethodName: X,
7546
- Currency: K,
7545
+ PaymentMethodName: K,
7546
+ Currency: q,
7547
7547
  XPaymentSessionToken: T,
7548
7548
  Tags: { UserAgent: window.navigator.userAgent }
7549
7549
  })
7550
7550
  };
7551
- fetch(y, G).then((Ee) => Ee.json()).then((Ee) => {
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(n, t, e) {
7574
7574
  {
7575
7575
  type: "StartSessionCountdown",
7576
7576
  xPaymentSessionToken: _,
7577
- selectedPaymentMethodName: X
7577
+ selectedPaymentMethodName: K
7578
7578
  },
7579
7579
  window.location.href
7580
7580
  );
@@ -7638,9 +7638,9 @@ function Da(n, t, e) {
7638
7638
  return;
7639
7639
  }
7640
7640
  l.stopPropagation(), Ce = l.composedPath()[0];
7641
- const J = Ce.getBoundingClientRect(), G = A.getBoundingClientRect(), Ee = J.y, _e = 200;
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 - G.top - J.height, kt = G.bottom - J.bottom - J.height, kr = !We && kt < 70 ? _e - 50 : kt;
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(n, t, e) {
7657
7657
  Transaction: {
7658
7658
  PaymentMethod: v.Name,
7659
7659
  Amount: be,
7660
- Currency: K,
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((G) => G.json()).then((G) => {
7668
- if (G.error) {
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: G.error
7672
+ error: X.error
7673
7673
  },
7674
7674
  window.location.href
7675
7675
  );
7676
7676
  return;
7677
7677
  }
7678
- if (G.ResponseCode !== u.Success) {
7679
- e(32, je = G.ResponseCode), e(22, ye = !1), S(), G.ResponseCode === u.PlayerSessionIsNotValid || G.ResponseCode === u.Maintenance || G.ResponseCode === u.JwtTokenError ? $e() : d();
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
- _ = G.XPaymentSessionToken, e(22, ye = !1), R = !0, r(), S(), window.postMessage(
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(n, t, e) {
7765
7765
  XPaymentSessionToken: _
7766
7766
  })
7767
7767
  };
7768
- fetch(l, J).then((G) => G.json()).then((G) => {
7769
- if (G.ResponseCode !== u.Success) {
7770
- e(32, je = G.ResponseCode), e(22, ye = !1), S(), G.ResponseCode === u.PlayerSessionIsNotValid || G.ResponseCode === u.Maintenance || G.ResponseCode === u.JwtTokenError ? $e() : d();
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
- _ = G.XPaymentSessionToken, e(34, tn = G.Transaction.Code), V = G.RedirectUrl, we = h.get(G.RedirectionMode) || h.get("Default"), e(22, ye = !1), S(), i(), window.postMessage(
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: X
7777
+ selectedpaymentmethodname: K
7778
7778
  },
7779
7779
  window.location.href
7780
- ), V || e(19, z = !0), we === f.RedirectWithRetry && (ae = window.open(G.RedirectUrl, "_blank"), e(20, ie = !!ae), ae || e(21, pe = !0));
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(n, t, 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((G) => G.Name === y).Value : "", Ue = (l) => {
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(n, t, 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, G;
7824
- return typeof l == "string" ? (G = "", l.charAt(0) !== "^" && (G += "^"), G += l, l.charAt(l.length - 1) !== "$" && (G += "$"), J = new RegExp(G)) : (G = l.toString(), J = l), J.test(y);
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, G = an(y, J), Ee = an(l.maxValue, J), _e = an(l.minValue, J);
7831
- if (G.isBefore(_e) || G.isAfter(Ee)) {
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(n, t, e) {
7926
7926
  });
7927
7927
  }
7928
7928
  return n.$$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, K = 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, X = 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);
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
  }, n.$$.update = () => {
7931
7931
  n.$$.dirty[0] & /*endpoint, currency*/
7932
7932
  65 | n.$$.dirty[1] & /*session, selectedpaymentmethodname*/
7933
- 25165824 && w && T && X && K && mn(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
7933
+ 25165824 && w && T && K && q && mn(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
7934
7934
  9216 && W && A && sn(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
7935
7935
  10240 && ee && A && Cn(), n.$$.dirty[0] & /*lang*/
7936
7936
  4 && j && Mn(), n.$$.dirty[0] & /*lang, translationurl*/
@@ -7945,7 +7945,7 @@ function Da(n, t, e) {
7945
7945
  N,
7946
7946
  B,
7947
7947
  Q,
7948
- K,
7948
+ q,
7949
7949
  re,
7950
7950
  Z,
7951
7951
  fe,
@@ -7994,7 +7994,7 @@ function Da(n, t, e) {
7994
7994
  Un,
7995
7995
  o,
7996
7996
  T,
7997
- X,
7997
+ K,
7998
7998
  P,
7999
7999
  qn,
8000
8000
  Kn,