@everymatrix/cashier-page 1.72.15 → 1.72.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/components/{CashierMethodDetails-D9LMcpvB.js → CashierMethodDetails-B2Q0N6-P.js} +487 -487
  2. package/components/{CashierMethodDetails-D15hTT9t.cjs → CashierMethodDetails-CuT9cUt-.cjs} +4 -4
  3. package/components/{CashierMethodDetails-CdOgeOYu.js → CashierMethodDetails-cP520SDO.js} +521 -521
  4. package/components/{CashierMethodsList-Cdr6K2iW.js → CashierMethodsList-BudJp3h6.js} +1 -1
  5. package/components/{CashierMethodsList-8x37Sn7t.js → CashierMethodsList-DsbOwZ-l.js} +1 -1
  6. package/components/{CashierMethodsList-CflVHLgk.cjs → CashierMethodsList-Fb7u2SCj.cjs} +1 -1
  7. package/components/{CashierPage-DdltH_EG.js → CashierPage-CZP7KrAk.js} +6 -6
  8. package/components/{CashierPage-vH5xJrfC.js → CashierPage-Ckgcnb7d.js} +6 -6
  9. package/components/{CashierPage-DEuCIeqy.cjs → CashierPage-D-8NpHia.cjs} +1 -1
  10. package/components/{CashierReceiptPage-DbMdLbDk.js → CashierReceiptPage-DG53SHAi.js} +1 -1
  11. package/components/{CashierReceiptPage-BZRrrM6D.cjs → CashierReceiptPage-KmJmWqjB.cjs} +1 -1
  12. package/components/{CashierReceiptPage-DfFBO9zi.js → CashierReceiptPage-e0J4Jj_4.js} +1 -1
  13. package/components/{CashierSessionExpirationModal-uMR60HXO.js → CashierSessionExpirationModal-4-8OXpcg.js} +1 -1
  14. package/components/{CashierSessionExpirationModal-CMQyg2NI.cjs → CashierSessionExpirationModal-BAtEZPEI.cjs} +1 -1
  15. package/components/{CashierSessionExpirationModal-DEF2eoYP.js → CashierSessionExpirationModal-DKpN-6hn.js} +1 -1
  16. package/components/{CashierTransactionHistory-CDVb-X5A.js → CashierTransactionHistory-BA58NyG-.js} +1 -1
  17. package/components/{CashierTransactionHistory-DtxPwrCD.js → CashierTransactionHistory-BuurO49D.js} +1 -1
  18. package/components/{CashierTransactionHistory-MYICMruN.cjs → CashierTransactionHistory-DsUkov7d.cjs} +1 -1
  19. package/components/{CashierVerifications-B3OfGIJe.cjs → CashierVerifications-Dmojugye.cjs} +1 -1
  20. package/components/{CashierVerifications-DyaC4mH9.js → CashierVerifications-PN9ShNVL.js} +1 -1
  21. package/components/{CashierVerifications-BxZjHCY2.js → CashierVerifications-xUfCCQdH.js} +1 -1
  22. package/es2015/cashier-page.cjs +1 -1
  23. package/es2015/cashier-page.js +1 -1
  24. package/esnext/cashier-page.js +1 -1
  25. package/package.json +1 -1
@@ -10,7 +10,7 @@ var jt = (n, t, e) => t in n ? Ur(n, t, { enumerable: !0, configurable: !0, writ
10
10
  Gr.call(t, e) && jt(n, e, t[e]);
11
11
  return n;
12
12
  }, St = (n, t) => qr(n, Kr(t));
13
- import { S as Qr, b as Zr, s as hr, f as Je, c as xr, F as $r, n as Gn, e as K, o as _, G as ea, m as Q, B as fe, p as j, q as le, C as zn, v as A, w as It, H as na, D as R, x as Ft, y as ye, z as ke, I as gt, A as Ct, J as Ae, K as wt, L as pr, M as ta, r as Tn, N as Ie, O as bt, P as Yt, E as ra } from "./CashierConfirmModal-CoKn35XS.js";
13
+ import { S as Qr, b as Zr, s as hr, f as Je, c as xr, F as $r, n as Gn, e as K, o as _, G as ea, m as Q, B as ce, p as j, q as le, C as zn, v as A, w as It, H as na, D as R, x as Ft, y as ye, z as ke, I as gt, A as Ct, J as Ae, K as wt, L as pr, M as ta, r as Tn, N as Ye, O as bt, P as Yt, E as ra } from "./CashierConfirmModal-CoKn35XS.js";
14
14
  import { w as aa, g as yt, c as kt, a as ia, i as oa, $ as la, b as sa } from "./CashierError-2HPZABjH.js";
15
15
  import "../stencil/ui-image-C7s6Uvn5.js";
16
16
  let ct = aa(null);
@@ -83,20 +83,20 @@ var gr = { exports: {} };
83
83
  (function(e, r) {
84
84
  n.exports = r();
85
85
  })(kt, function() {
86
- var e = 1e3, r = 6e4, o = 36e5, s = "millisecond", h = "second", u = "minute", m = "hour", f = "day", g = "week", w = "month", v = "quarter", S = "year", p = "date", c = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, H = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, I = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
87
- var y = ["th", "st", "nd", "rd"], k = E % 100;
88
- return "[" + E + (y[(k - 20) % 10] || y[k] || y[0]) + "]";
89
- } }, z = function(E, y, k) {
86
+ var e = 1e3, r = 6e4, o = 36e5, s = "millisecond", h = "second", u = "minute", m = "hour", f = "day", g = "week", w = "month", v = "quarter", S = "year", p = "date", c = "Invalid Date", O = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, H = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, Y = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(E) {
87
+ var k = ["th", "st", "nd", "rd"], M = E % 100;
88
+ return "[" + E + (k[(M - 20) % 10] || k[M] || k[0]) + "]";
89
+ } }, z = function(E, k, M) {
90
90
  var C = String(E);
91
- return !C || C.length >= y ? E : "" + Array(y + 1 - C.length).join(k) + E;
91
+ return !C || C.length >= k ? E : "" + Array(k + 1 - C.length).join(M) + E;
92
92
  }, ee = { s: z, z: function(E) {
93
- var y = -E.utcOffset(), k = Math.abs(y), C = Math.floor(k / 60), M = k % 60;
94
- return (y <= 0 ? "+" : "-") + z(C, 2, "0") + ":" + z(M, 2, "0");
95
- }, m: function E(y, k) {
96
- if (y.date() < k.date())
97
- return -E(k, y);
98
- var C = 12 * (k.year() - y.year()) + (k.month() - y.month()), M = y.clone().add(C, w), F = k - M < 0, W = y.clone().add(C + (F ? -1 : 1), w);
99
- return +(-(C + (k - M) / (F ? M - W : W - M)) || 0);
93
+ var k = -E.utcOffset(), M = Math.abs(k), C = Math.floor(M / 60), y = M % 60;
94
+ return (k <= 0 ? "+" : "-") + z(C, 2, "0") + ":" + z(y, 2, "0");
95
+ }, m: function E(k, M) {
96
+ if (k.date() < M.date())
97
+ return -E(M, k);
98
+ var C = 12 * (M.year() - k.year()) + (M.month() - k.month()), y = k.clone().add(C, w), F = M - y < 0, W = k.clone().add(C + (F ? -1 : 1), w);
99
+ return +(-(C + (M - y) / (F ? y - W : W - y)) || 0);
100
100
  }, a: function(E) {
101
101
  return E < 0 ? Math.ceil(E) || 0 : Math.floor(E);
102
102
  }, p: function(E) {
@@ -104,91 +104,91 @@ var gr = { exports: {} };
104
104
  }, u: function(E) {
105
105
  return E === void 0;
106
106
  } }, ne = "en", U = {};
107
- U[ne] = I;
107
+ U[ne] = Y;
108
108
  var X = "$isDayjsObject", te = function(E) {
109
109
  return E instanceof ae || !(!E || !E[X]);
110
- }, $ = function E(y, k, C) {
111
- var M;
112
- if (!y)
110
+ }, $ = function E(k, M, C) {
111
+ var y;
112
+ if (!k)
113
113
  return ne;
114
- if (typeof y == "string") {
115
- var F = y.toLowerCase();
116
- U[F] && (M = F), k && (U[F] = k, M = F);
117
- var W = y.split("-");
118
- if (!M && W.length > 1)
114
+ if (typeof k == "string") {
115
+ var F = k.toLowerCase();
116
+ U[F] && (y = F), M && (U[F] = M, y = F);
117
+ var W = k.split("-");
118
+ if (!y && W.length > 1)
119
119
  return E(W[0]);
120
120
  } else {
121
- var Z = y.name;
122
- U[Z] = y, M = Z;
121
+ var Z = k.name;
122
+ U[Z] = k, y = Z;
123
123
  }
124
- return !C && M && (ne = M), M || !C && ne;
125
- }, B = function(E, y) {
124
+ return !C && y && (ne = y), y || !C && ne;
125
+ }, B = function(E, k) {
126
126
  if (te(E))
127
127
  return E.clone();
128
- var k = typeof y == "object" ? y : {};
129
- return k.date = E, k.args = arguments, new ae(k);
128
+ var M = typeof k == "object" ? k : {};
129
+ return M.date = E, M.args = arguments, new ae(M);
130
130
  }, V = ee;
131
- V.l = $, V.i = te, V.w = function(E, y) {
132
- return B(E, { locale: y.$L, utc: y.$u, x: y.$x, $offset: y.$offset });
131
+ V.l = $, V.i = te, V.w = function(E, k) {
132
+ return B(E, { locale: k.$L, utc: k.$u, x: k.$x, $offset: k.$offset });
133
133
  };
134
134
  var ae = function() {
135
- function E(k) {
136
- this.$L = $(k.locale, null, !0), this.parse(k), this.$x = this.$x || k.x || {}, this[X] = !0;
135
+ function E(M) {
136
+ this.$L = $(M.locale, null, !0), this.parse(M), this.$x = this.$x || M.x || {}, this[X] = !0;
137
137
  }
138
- var y = E.prototype;
139
- return y.parse = function(k) {
138
+ var k = E.prototype;
139
+ return k.parse = function(M) {
140
140
  this.$d = function(C) {
141
- var M = C.date, F = C.utc;
142
- if (M === null)
141
+ var y = C.date, F = C.utc;
142
+ if (y === null)
143
143
  return /* @__PURE__ */ new Date(NaN);
144
- if (V.u(M))
144
+ if (V.u(y))
145
145
  return /* @__PURE__ */ new Date();
146
- if (M instanceof Date)
147
- return new Date(M);
148
- if (typeof M == "string" && !/Z$/i.test(M)) {
149
- var W = M.match(O);
146
+ if (y instanceof Date)
147
+ return new Date(y);
148
+ if (typeof y == "string" && !/Z$/i.test(y)) {
149
+ var W = y.match(O);
150
150
  if (W) {
151
151
  var Z = W[2] - 1 || 0, oe = (W[7] || "0").substring(0, 3);
152
152
  return F ? new Date(Date.UTC(W[1], Z, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, oe)) : new Date(W[1], Z, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, oe);
153
153
  }
154
154
  }
155
- return new Date(M);
156
- }(k), this.init();
157
- }, y.init = function() {
158
- var k = this.$d;
159
- this.$y = k.getFullYear(), this.$M = k.getMonth(), this.$D = k.getDate(), this.$W = k.getDay(), this.$H = k.getHours(), this.$m = k.getMinutes(), this.$s = k.getSeconds(), this.$ms = k.getMilliseconds();
160
- }, y.$utils = function() {
155
+ return new Date(y);
156
+ }(M), this.init();
157
+ }, k.init = function() {
158
+ var M = this.$d;
159
+ this.$y = M.getFullYear(), this.$M = M.getMonth(), this.$D = M.getDate(), this.$W = M.getDay(), this.$H = M.getHours(), this.$m = M.getMinutes(), this.$s = M.getSeconds(), this.$ms = M.getMilliseconds();
160
+ }, k.$utils = function() {
161
161
  return V;
162
- }, y.isValid = function() {
162
+ }, k.isValid = function() {
163
163
  return this.$d.toString() !== c;
164
- }, y.isSame = function(k, C) {
165
- var M = B(k);
166
- return this.startOf(C) <= M && M <= this.endOf(C);
167
- }, y.isAfter = function(k, C) {
168
- return B(k) < this.startOf(C);
169
- }, y.isBefore = function(k, C) {
170
- return this.endOf(C) < B(k);
171
- }, y.$g = function(k, C, M) {
172
- return V.u(k) ? this[C] : this.set(M, k);
173
- }, y.unix = function() {
164
+ }, k.isSame = function(M, C) {
165
+ var y = B(M);
166
+ return this.startOf(C) <= y && y <= this.endOf(C);
167
+ }, k.isAfter = function(M, C) {
168
+ return B(M) < this.startOf(C);
169
+ }, k.isBefore = function(M, C) {
170
+ return this.endOf(C) < B(M);
171
+ }, k.$g = function(M, C, y) {
172
+ return V.u(M) ? this[C] : this.set(y, M);
173
+ }, k.unix = function() {
174
174
  return Math.floor(this.valueOf() / 1e3);
175
- }, y.valueOf = function() {
175
+ }, k.valueOf = function() {
176
176
  return this.$d.getTime();
177
- }, y.startOf = function(k, C) {
178
- var M = this, F = !!V.u(C) || C, W = V.p(k), Z = function(De, ce) {
179
- var be = V.w(M.$u ? Date.UTC(M.$y, ce, De) : new Date(M.$y, ce, De), M);
177
+ }, k.startOf = function(M, C) {
178
+ var y = this, F = !!V.u(C) || C, W = V.p(M), Z = function(De, me) {
179
+ var be = V.w(y.$u ? Date.UTC(y.$y, me, De) : new Date(y.$y, me, De), y);
180
180
  return F ? be : be.endOf(f);
181
- }, oe = function(De, ce) {
182
- return V.w(M.toDate()[De].apply(M.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ce)), M);
183
- }, re = this.$W, he = this.$M, pe = this.$D, Le = "set" + (this.$u ? "UTC" : "");
181
+ }, oe = function(De, me) {
182
+ return V.w(y.toDate()[De].apply(y.toDate("s"), (F ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(me)), y);
183
+ }, re = this.$W, pe = this.$M, ge = this.$D, Le = "set" + (this.$u ? "UTC" : "");
184
184
  switch (W) {
185
185
  case S:
186
186
  return F ? Z(1, 0) : Z(31, 11);
187
187
  case w:
188
- return F ? Z(1, he) : Z(0, he + 1);
188
+ return F ? Z(1, pe) : Z(0, pe + 1);
189
189
  case g:
190
- var ge = this.$locale().weekStart || 0, ue = (re < ge ? re + 7 : re) - ge;
191
- return Z(F ? pe - ue : pe + (6 - ue), he);
190
+ var we = this.$locale().weekStart || 0, ue = (re < we ? re + 7 : re) - we;
191
+ return Z(F ? ge - ue : ge + (6 - ue), pe);
192
192
  case f:
193
193
  case p:
194
194
  return oe(Le + "Hours", 0);
@@ -201,52 +201,52 @@ var gr = { exports: {} };
201
201
  default:
202
202
  return this.clone();
203
203
  }
204
- }, y.endOf = function(k) {
205
- return this.startOf(k, !1);
206
- }, y.$set = function(k, C) {
207
- var M, F = V.p(k), W = "set" + (this.$u ? "UTC" : ""), Z = (M = {}, M[f] = W + "Date", M[p] = W + "Date", M[w] = W + "Month", M[S] = W + "FullYear", M[m] = W + "Hours", M[u] = W + "Minutes", M[h] = W + "Seconds", M[s] = W + "Milliseconds", M)[F], oe = F === f ? this.$D + (C - this.$W) : C;
204
+ }, k.endOf = function(M) {
205
+ return this.startOf(M, !1);
206
+ }, k.$set = function(M, C) {
207
+ var y, F = V.p(M), W = "set" + (this.$u ? "UTC" : ""), Z = (y = {}, y[f] = W + "Date", y[p] = W + "Date", y[w] = W + "Month", y[S] = W + "FullYear", y[m] = W + "Hours", y[u] = W + "Minutes", y[h] = W + "Seconds", y[s] = W + "Milliseconds", y)[F], oe = F === f ? this.$D + (C - this.$W) : C;
208
208
  if (F === w || F === S) {
209
209
  var re = this.clone().set(p, 1);
210
210
  re.$d[Z](oe), re.init(), this.$d = re.set(p, Math.min(this.$D, re.daysInMonth())).$d;
211
211
  } else
212
212
  Z && this.$d[Z](oe);
213
213
  return this.init(), this;
214
- }, y.set = function(k, C) {
215
- return this.clone().$set(k, C);
216
- }, y.get = function(k) {
217
- return this[V.p(k)]();
218
- }, y.add = function(k, C) {
219
- var M, F = this;
220
- k = Number(k);
221
- var W = V.p(C), Z = function(he) {
222
- var pe = B(F);
223
- return V.w(pe.date(pe.date() + Math.round(he * k)), F);
214
+ }, k.set = function(M, C) {
215
+ return this.clone().$set(M, C);
216
+ }, k.get = function(M) {
217
+ return this[V.p(M)]();
218
+ }, k.add = function(M, C) {
219
+ var y, F = this;
220
+ M = Number(M);
221
+ var W = V.p(C), Z = function(pe) {
222
+ var ge = B(F);
223
+ return V.w(ge.date(ge.date() + Math.round(pe * M)), F);
224
224
  };
225
225
  if (W === w)
226
- return this.set(w, this.$M + k);
226
+ return this.set(w, this.$M + M);
227
227
  if (W === S)
228
- return this.set(S, this.$y + k);
228
+ return this.set(S, this.$y + M);
229
229
  if (W === f)
230
230
  return Z(1);
231
231
  if (W === g)
232
232
  return Z(7);
233
- var oe = (M = {}, M[u] = r, M[m] = o, M[h] = e, M)[W] || 1, re = this.$d.getTime() + k * oe;
233
+ var oe = (y = {}, y[u] = r, y[m] = o, y[h] = e, y)[W] || 1, re = this.$d.getTime() + M * oe;
234
234
  return V.w(re, this);
235
- }, y.subtract = function(k, C) {
236
- return this.add(-1 * k, C);
237
- }, y.format = function(k) {
238
- var C = this, M = this.$locale();
235
+ }, k.subtract = function(M, C) {
236
+ return this.add(-1 * M, C);
237
+ }, k.format = function(M) {
238
+ var C = this, y = this.$locale();
239
239
  if (!this.isValid())
240
- return M.invalidDate || c;
241
- var F = k || "YYYY-MM-DDTHH:mm:ssZ", W = V.z(this), Z = this.$H, oe = this.$m, re = this.$M, he = M.weekdays, pe = M.months, Le = M.meridiem, ge = function(ce, be, Se, Ne) {
242
- return ce && (ce[be] || ce(C, F)) || Se[be].slice(0, Ne);
243
- }, ue = function(ce) {
244
- return V.s(Z % 12 || 12, ce, "0");
245
- }, De = Le || function(ce, be, Se) {
246
- var Ne = ce < 12 ? "AM" : "PM";
247
- return Se ? Ne.toLowerCase() : Ne;
240
+ return y.invalidDate || c;
241
+ var F = M || "YYYY-MM-DDTHH:mm:ssZ", W = V.z(this), Z = this.$H, oe = this.$m, re = this.$M, pe = y.weekdays, ge = y.months, Le = y.meridiem, we = function(me, be, Se, je) {
242
+ return me && (me[be] || me(C, F)) || Se[be].slice(0, je);
243
+ }, ue = function(me) {
244
+ return V.s(Z % 12 || 12, me, "0");
245
+ }, De = Le || function(me, be, Se) {
246
+ var je = me < 12 ? "AM" : "PM";
247
+ return Se ? je.toLowerCase() : je;
248
248
  };
249
- return F.replace(H, function(ce, be) {
249
+ return F.replace(H, function(me, be) {
250
250
  return be || function(Se) {
251
251
  switch (Se) {
252
252
  case "YY":
@@ -258,9 +258,9 @@ var gr = { exports: {} };
258
258
  case "MM":
259
259
  return V.s(re + 1, 2, "0");
260
260
  case "MMM":
261
- return ge(M.monthsShort, re, pe, 3);
261
+ return we(y.monthsShort, re, ge, 3);
262
262
  case "MMMM":
263
- return ge(pe, re);
263
+ return we(ge, re);
264
264
  case "D":
265
265
  return C.$D;
266
266
  case "DD":
@@ -268,11 +268,11 @@ var gr = { exports: {} };
268
268
  case "d":
269
269
  return String(C.$W);
270
270
  case "dd":
271
- return ge(M.weekdaysMin, C.$W, he, 2);
271
+ return we(y.weekdaysMin, C.$W, pe, 2);
272
272
  case "ddd":
273
- return ge(M.weekdaysShort, C.$W, he, 3);
273
+ return we(y.weekdaysShort, C.$W, pe, 3);
274
274
  case "dddd":
275
- return he[C.$W];
275
+ return pe[C.$W];
276
276
  case "H":
277
277
  return String(Z);
278
278
  case "HH":
@@ -299,70 +299,70 @@ var gr = { exports: {} };
299
299
  return W;
300
300
  }
301
301
  return null;
302
- }(ce) || W.replace(":", "");
302
+ }(me) || W.replace(":", "");
303
303
  });
304
- }, y.utcOffset = function() {
304
+ }, k.utcOffset = function() {
305
305
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
306
- }, y.diff = function(k, C, M) {
307
- var F, W = this, Z = V.p(C), oe = B(k), re = (oe.utcOffset() - this.utcOffset()) * r, he = this - oe, pe = function() {
306
+ }, k.diff = function(M, C, y) {
307
+ var F, W = this, Z = V.p(C), oe = B(M), re = (oe.utcOffset() - this.utcOffset()) * r, pe = this - oe, ge = function() {
308
308
  return V.m(W, oe);
309
309
  };
310
310
  switch (Z) {
311
311
  case S:
312
- F = pe() / 12;
312
+ F = ge() / 12;
313
313
  break;
314
314
  case w:
315
- F = pe();
315
+ F = ge();
316
316
  break;
317
317
  case v:
318
- F = pe() / 3;
318
+ F = ge() / 3;
319
319
  break;
320
320
  case g:
321
- F = (he - re) / 6048e5;
321
+ F = (pe - re) / 6048e5;
322
322
  break;
323
323
  case f:
324
- F = (he - re) / 864e5;
324
+ F = (pe - re) / 864e5;
325
325
  break;
326
326
  case m:
327
- F = he / o;
327
+ F = pe / o;
328
328
  break;
329
329
  case u:
330
- F = he / r;
330
+ F = pe / r;
331
331
  break;
332
332
  case h:
333
- F = he / e;
333
+ F = pe / e;
334
334
  break;
335
335
  default:
336
- F = he;
336
+ F = pe;
337
337
  }
338
- return M ? F : V.a(F);
339
- }, y.daysInMonth = function() {
338
+ return y ? F : V.a(F);
339
+ }, k.daysInMonth = function() {
340
340
  return this.endOf(w).$D;
341
- }, y.$locale = function() {
341
+ }, k.$locale = function() {
342
342
  return U[this.$L];
343
- }, y.locale = function(k, C) {
344
- if (!k)
343
+ }, k.locale = function(M, C) {
344
+ if (!M)
345
345
  return this.$L;
346
- var M = this.clone(), F = $(k, C, !0);
347
- return F && (M.$L = F), M;
348
- }, y.clone = function() {
346
+ var y = this.clone(), F = $(M, C, !0);
347
+ return F && (y.$L = F), y;
348
+ }, k.clone = function() {
349
349
  return V.w(this.$d, this);
350
- }, y.toDate = function() {
350
+ }, k.toDate = function() {
351
351
  return new Date(this.valueOf());
352
- }, y.toJSON = function() {
352
+ }, k.toJSON = function() {
353
353
  return this.isValid() ? this.toISOString() : null;
354
- }, y.toISOString = function() {
354
+ }, k.toISOString = function() {
355
355
  return this.$d.toISOString();
356
- }, y.toString = function() {
356
+ }, k.toString = function() {
357
357
  return this.$d.toUTCString();
358
358
  }, E;
359
359
  }(), ie = ae.prototype;
360
360
  return B.prototype = ie, [["$ms", s], ["$s", h], ["$m", u], ["$H", m], ["$W", f], ["$M", w], ["$y", S], ["$D", p]].forEach(function(E) {
361
- ie[E[1]] = function(y) {
362
- return this.$g(y, E[0], E[1]);
361
+ ie[E[1]] = function(k) {
362
+ return this.$g(k, E[0], E[1]);
363
363
  };
364
- }), B.extend = function(E, y) {
365
- return E.$i || (E(y, ae, B), E.$i = !0), B;
364
+ }), B.extend = function(E, k) {
365
+ return E.$i || (E(k, ae, B), E.$i = !0), B;
366
366
  }, B.locale = $, B.isDayjs = te, B.unix = function(E) {
367
367
  return B(1e3 * E);
368
368
  }, B.en = U[ne], B.Ls = U, B.p = {}, B;
@@ -413,12 +413,12 @@ var wr = { exports: {} };
413
413
  return $ === 0 ? 0 : te === "+" ? $ : -$;
414
414
  }(c), c === null))
415
415
  return this;
416
- var I = Math.abs(c) <= 16 ? 60 * c : c, z = this;
416
+ var Y = Math.abs(c) <= 16 ? 60 * c : c, z = this;
417
417
  if (O)
418
- return z.$offset = I, z.$u = c === 0, z;
418
+ return z.$offset = Y, z.$u = c === 0, z;
419
419
  if (c !== 0) {
420
420
  var ee = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
421
- (z = this.local().add(I + ee, e)).$offset = I, z.$x.$localOffset = ee;
421
+ (z = this.local().add(Y + ee, e)).$offset = Y, z.$x.$localOffset = ee;
422
422
  } else
423
423
  z = this.utc();
424
424
  return z;
@@ -445,8 +445,8 @@ var wr = { exports: {} };
445
445
  m.diff = function(c, O, H) {
446
446
  if (c && this.$u === c.$u)
447
447
  return p.call(this, c, O, H);
448
- var I = this.local(), z = u(c).local();
449
- return p.call(I, z, O, H);
448
+ var Y = this.local(), z = u(c).local();
449
+ return p.call(Y, z, O, H);
450
450
  };
451
451
  };
452
452
  });
@@ -537,7 +537,7 @@ if (typeof window != "undefined") {
537
537
  }
538
538
  };
539
539
  };
540
- customElements.define = n(customElements.define), import("./CashierReceiptPage-DbMdLbDk.js").then(({ default: t }) => {
540
+ customElements.define = n(customElements.define), import("./CashierReceiptPage-DG53SHAi.js").then(({ default: t }) => {
541
541
  !customElements.get("cashier-receipt-page") && customElements.define("cashier-receipt-page", t.element);
542
542
  });
543
543
  }
@@ -708,7 +708,7 @@ function We(n, t, e) {
708
708
  return n.classList.add(t);
709
709
  n.classList.remove(t);
710
710
  }
711
- function me(n, t, e) {
711
+ function he(n, t, e) {
712
712
  var r = window.document.createElement(n);
713
713
  return t = t || "", e = e || "", r.className = t, e !== void 0 && (r.textContent = e), r;
714
714
  }
@@ -723,7 +723,7 @@ function br(n, t) {
723
723
  return br(n.parentNode, t);
724
724
  }
725
725
  function ht(n, t) {
726
- var e = me("div", "numInputWrapper"), r = me("input", "numInput " + n), o = me("span", "arrowUp"), s = me("span", "arrowDown");
726
+ var e = he("div", "numInputWrapper"), r = he("input", "numInput " + n), o = he("span", "arrowUp"), s = he("span", "arrowDown");
727
727
  if (navigator.userAgent.indexOf("MSIE 9.0") === -1 ? r.type = "number" : (r.type = "text", r.pattern = "\\d*"), t !== void 0)
728
728
  for (var h in t)
729
729
  r.setAttribute(h, t[h]);
@@ -928,17 +928,17 @@ var Tt = function() {
928
928
  else if (/Z$/.test(S) || /GMT$/.test(S))
929
929
  g = new Date(s);
930
930
  else {
931
- for (var p = void 0, c = [], O = 0, H = 0, I = ""; O < v.length; O++) {
931
+ for (var p = void 0, c = [], O = 0, H = 0, Y = ""; O < v.length; O++) {
932
932
  var z = v[O], ee = z === "\\", ne = v[O - 1] === "\\" || ee;
933
933
  if (_n[z] && !ne) {
934
- I += _n[z];
935
- var U = new RegExp(I).exec(s);
934
+ Y += _n[z];
935
+ var U = new RegExp(Y).exec(s);
936
936
  U && (p = !0) && c[z !== "Y" ? "push" : "unshift"]({
937
937
  fn: ma[z],
938
938
  val: U[++H]
939
939
  });
940
940
  } else
941
- ee || (I += ".");
941
+ ee || (Y += ".");
942
942
  }
943
943
  g = !e || !e.noCalendar ? new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1, 0, 0, 0, 0) : new Date((/* @__PURE__ */ new Date()).setHours(0, 0, 0, 0)), c.forEach(function(X) {
944
944
  var te = X.fn, $ = X.val;
@@ -994,15 +994,15 @@ typeof Object.assign != "function" && (Object.assign = function(n) {
994
994
  }
995
995
  return n;
996
996
  });
997
- var je = function() {
998
- return je = Object.assign || function(n) {
997
+ var Ie = function() {
998
+ return Ie = Object.assign || function(n) {
999
999
  for (var t, e = 1, r = arguments.length; e < r; e++) {
1000
1000
  t = arguments[e];
1001
1001
  for (var o in t)
1002
1002
  Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]);
1003
1003
  }
1004
1004
  return n;
1005
- }, je.apply(this, arguments);
1005
+ }, Ie.apply(this, arguments);
1006
1006
  }, Wt = function() {
1007
1007
  for (var n = 0, t = 0, e = arguments.length; t < e; t++)
1008
1008
  n += arguments[t].length;
@@ -1013,10 +1013,10 @@ var je = function() {
1013
1013
  }, wa = 300;
1014
1014
  function ba(n, t) {
1015
1015
  var e = {
1016
- config: je(je({}, Jn), Te.defaultConfig),
1016
+ config: Ie(Ie({}, Jn), Te.defaultConfig),
1017
1017
  l10n: Qn
1018
1018
  };
1019
- e.parseDate = Ot({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = c, e._setHoursFromDate = v, e._positionCalendar = tn, e.changeMonth = Z, e.changeYear = ge, e.clear = oe, e.close = re, e.onMouseOver = Se, e._createElement = me, e.createDay = U, e.destroy = he, e.isEnabled = ue, e.jumpToDate = I, e.updateValue = He, e.open = Ke, e.redraw = an, e.set = Xe, e.setDate = kn, e.toggle = on;
1019
+ e.parseDate = Ot({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = c, e._setHoursFromDate = v, e._positionCalendar = tn, e.changeMonth = Z, e.changeYear = we, e.clear = oe, e.close = re, e.onMouseOver = Se, e._createElement = he, e.createDay = U, e.destroy = pe, e.isEnabled = ue, e.jumpToDate = Y, e.updateValue = He, e.open = Ke, e.redraw = an, e.set = Xe, e.setDate = kn, e.toggle = on;
1020
1020
  function r() {
1021
1021
  e.utils = {
1022
1022
  getDaysInMonth: function(a, i) {
@@ -1025,7 +1025,7 @@ function ba(n, t) {
1025
1025
  };
1026
1026
  }
1027
1027
  function o() {
1028
- e.element = e.input = n, e.isOpen = !1, we(), nn(), Ge(), $e(), r(), e.isMobile || ne(), H(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && v(e.config.noCalendar ? e.latestSelectedDateObj : void 0), He(!1)), u();
1028
+ e.element = e.input = n, e.isOpen = !1, de(), nn(), Ge(), $e(), r(), e.isMobile || ne(), H(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && v(e.config.noCalendar ? e.latestSelectedDateObj : void 0), He(!1)), u();
1029
1029
  var a = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
1030
1030
  !e.isMobile && a && tn(), ve("onReady");
1031
1031
  }
@@ -1099,7 +1099,7 @@ function ba(n, t) {
1099
1099
  }
1100
1100
  function p(a) {
1101
1101
  var i = Ue(a), d = parseInt(i.value) + (a.delta || 0);
1102
- (d / 1e3 > 1 || a.key === "Enter" && !/[^\d]/.test(d.toString())) && ge(d);
1102
+ (d / 1e3 > 1 || a.key === "Enter" && !/[^\d]/.test(d.toString())) && we(d);
1103
1103
  }
1104
1104
  function c(a, i, d, b) {
1105
1105
  if (i instanceof Array)
@@ -1128,7 +1128,7 @@ function ba(n, t) {
1128
1128
  Ln();
1129
1129
  return;
1130
1130
  }
1131
- var a = Jt(Ne, 50);
1131
+ var a = Jt(je, 50);
1132
1132
  if (e._debouncedChange = Jt(O, wa), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && c(e.daysContainer, "mouseover", function(d) {
1133
1133
  e.config.mode === "range" && Se(Ue(d));
1134
1134
  }), c(e._input, "keydown", be), e.calendarContainer !== void 0 && c(e.calendarContainer, "keydown", be), !e.config.inline && !e.config.static && c(window, "resize", a), window.ontouchstart !== void 0 ? c(window.document, "touchstart", Le) : c(window.document, "mousedown", Le), c(window.document, "focus", Le, { capture: !0 }), e.config.clickOpens === !0 && (c(e._input, "focus", e.open), c(e._input, "click", e.open)), e.daysContainer !== void 0 && (c(e.monthNav, "click", Mn), c(e.monthNav, ["keyup", "increment"], p), c(e.daysContainer, "click", mn)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
@@ -1141,9 +1141,9 @@ function ba(n, t) {
1141
1141
  m(d);
1142
1142
  });
1143
1143
  }
1144
- e.config.allowInput && c(e._input, "blur", ce);
1144
+ e.config.allowInput && c(e._input, "blur", me);
1145
1145
  }
1146
- function I(a, i) {
1146
+ function Y(a, i) {
1147
1147
  var d = a !== void 0 ? e.parseDate(a) : e.latestSelectedDateObj || (e.config.minDate && e.config.minDate > e.now ? e.config.minDate : e.config.maxDate && e.config.maxDate < e.now ? e.config.maxDate : e.now), b = e.currentYear, T = e.currentMonth;
1148
1148
  try {
1149
1149
  d !== void 0 && (e.currentYear = d.getFullYear(), e.currentMonth = d.getMonth());
@@ -1162,23 +1162,23 @@ function ba(n, t) {
1162
1162
  }
1163
1163
  function ne() {
1164
1164
  var a = window.document.createDocumentFragment();
1165
- if (e.calendarContainer = me("div", "flatpickr-calendar"), e.calendarContainer.tabIndex = -1, !e.config.noCalendar) {
1166
- if (a.appendChild(k()), e.innerContainer = me("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
1165
+ if (e.calendarContainer = he("div", "flatpickr-calendar"), e.calendarContainer.tabIndex = -1, !e.config.noCalendar) {
1166
+ if (a.appendChild(M()), e.innerContainer = he("div", "flatpickr-innerContainer"), e.config.weekNumbers) {
1167
1167
  var i = W(), d = i.weekWrapper, b = i.weekNumbers;
1168
1168
  e.innerContainer.appendChild(d), e.weekNumbers = b, e.weekWrapper = d;
1169
1169
  }
1170
- e.rContainer = me("div", "flatpickr-rContainer"), e.rContainer.appendChild(M()), e.daysContainer || (e.daysContainer = me("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), ae(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), a.appendChild(e.innerContainer);
1170
+ e.rContainer = he("div", "flatpickr-rContainer"), e.rContainer.appendChild(y()), e.daysContainer || (e.daysContainer = he("div", "flatpickr-days"), e.daysContainer.tabIndex = -1), ae(), e.rContainer.appendChild(e.daysContainer), e.innerContainer.appendChild(e.rContainer), a.appendChild(e.innerContainer);
1171
1171
  }
1172
1172
  e.config.enableTime && a.appendChild(C()), We(e.calendarContainer, "rangeMode", e.config.mode === "range"), We(e.calendarContainer, "animate", e.config.animate === !0), We(e.calendarContainer, "multiMonth", e.config.showMonths > 1), e.calendarContainer.appendChild(a);
1173
1173
  var T = e.config.appendTo !== void 0 && e.config.appendTo.nodeType !== void 0;
1174
1174
  if ((e.config.inline || e.config.static) && (e.calendarContainer.classList.add(e.config.inline ? "inline" : "static"), e.config.inline && (!T && e.element.parentNode ? e.element.parentNode.insertBefore(e.calendarContainer, e._input.nextSibling) : e.config.appendTo !== void 0 && e.config.appendTo.appendChild(e.calendarContainer)), e.config.static)) {
1175
- var L = me("div", "flatpickr-wrapper");
1175
+ var L = he("div", "flatpickr-wrapper");
1176
1176
  e.element.parentNode && e.element.parentNode.insertBefore(L, e.element), L.appendChild(e.element), e.altInput && L.appendChild(e.altInput), L.appendChild(e.calendarContainer);
1177
1177
  }
1178
1178
  !e.config.static && !e.config.inline && (e.config.appendTo !== void 0 ? e.config.appendTo : window.document.body).appendChild(e.calendarContainer);
1179
1179
  }
1180
1180
  function U(a, i, d, b) {
1181
- var T = ue(i, !0), L = me("span", a, i.getDate().toString());
1181
+ var T = ue(i, !0), L = he("span", a, i.getDate().toString());
1182
1182
  return L.dateObj = i, L.$i = b, L.setAttribute("aria-label", e.formatDate(i, e.config.ariaDateFormat)), a.indexOf("hidden") === -1 && qe(i, e.now) === 0 && (e.todayDateElem = L, L.classList.add("today"), L.setAttribute("aria-current", "date")), T ? (L.tabIndex = -1, ln(i) && (L.classList.add("selected"), e.selectedDateElem = L, e.config.mode === "range" && (We(L, "startRange", e.selectedDates[0] && qe(i, e.selectedDates[0], !0) === 0), We(L, "endRange", e.selectedDates[1] && qe(i, e.selectedDates[1], !0) === 0), a === "nextMonthDay" && L.classList.add("inRange")))) : L.classList.add("flatpickr-disabled"), e.config.mode === "range" && En(i) && !ln(i) && L.classList.add("inRange"), e.weekNumbers && e.config.showMonths === 1 && a !== "prevMonthDay" && b % 7 === 6 && e.weekNumbers.insertAdjacentHTML("beforeend", "<span class='flatpickr-day'>" + e.config.getWeek(i) + "</span>"), ve("onDayCreate", L), L;
1183
1183
  }
1184
1184
  function X(a) {
@@ -1210,9 +1210,9 @@ function ba(n, t) {
1210
1210
  L.appendChild(U("flatpickr-day " + N, new Date(a, i - 1, P), P, J));
1211
1211
  for (P = 1; P <= T; P++, J++)
1212
1212
  L.appendChild(U("flatpickr-day", new Date(a, i, P), P, J));
1213
- for (var de = T + 1; de <= 42 - d && (e.config.showMonths === 1 || J % 7 !== 0); de++, J++)
1214
- L.appendChild(U("flatpickr-day " + x, new Date(a, i + 1, de % T), de, J));
1215
- var Re = me("div", "dayContainer");
1213
+ for (var fe = T + 1; fe <= 42 - d && (e.config.showMonths === 1 || J % 7 !== 0); fe++, J++)
1214
+ L.appendChild(U("flatpickr-day " + x, new Date(a, i + 1, fe % T), fe, J));
1215
+ var Re = he("div", "dayContainer");
1216
1216
  return Re.appendChild(L), Re;
1217
1217
  }
1218
1218
  function ae() {
@@ -1233,27 +1233,27 @@ function ba(n, t) {
1233
1233
  e.monthsDropdownContainer.tabIndex = -1, e.monthsDropdownContainer.innerHTML = "";
1234
1234
  for (var i = 0; i < 12; i++)
1235
1235
  if (a(i)) {
1236
- var d = me("option", "flatpickr-monthDropdown-month");
1236
+ var d = he("option", "flatpickr-monthDropdown-month");
1237
1237
  d.value = new Date(e.currentYear, i).getMonth().toString(), d.textContent = vt(i, e.config.shorthandCurrentMonth, e.l10n), d.tabIndex = -1, e.currentMonth === i && (d.selected = !0), e.monthsDropdownContainer.appendChild(d);
1238
1238
  }
1239
1239
  }
1240
1240
  }
1241
1241
  function E() {
1242
- var a = me("div", "flatpickr-month"), i = window.document.createDocumentFragment(), d;
1243
- e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? d = me("span", "cur-month") : (e.monthsDropdownContainer = me("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), c(e.monthsDropdownContainer, "change", function(G) {
1242
+ var a = he("div", "flatpickr-month"), i = window.document.createDocumentFragment(), d;
1243
+ e.config.showMonths > 1 || e.config.monthSelectorType === "static" ? d = he("span", "cur-month") : (e.monthsDropdownContainer = he("select", "flatpickr-monthDropdown-months"), e.monthsDropdownContainer.setAttribute("aria-label", e.l10n.monthAriaLabel), c(e.monthsDropdownContainer, "change", function(G) {
1244
1244
  var N = Ue(G), x = parseInt(N.value, 10);
1245
1245
  e.changeMonth(x - e.currentMonth), ve("onMonthChange");
1246
1246
  }), ie(), d = e.monthsDropdownContainer);
1247
1247
  var b = ht("cur-year", { tabindex: "-1" }), T = b.getElementsByTagName("input")[0];
1248
1248
  T.setAttribute("aria-label", e.l10n.yearAriaLabel), e.config.minDate && T.setAttribute("min", e.config.minDate.getFullYear().toString()), e.config.maxDate && (T.setAttribute("max", e.config.maxDate.getFullYear().toString()), T.disabled = !!e.config.minDate && e.config.minDate.getFullYear() === e.config.maxDate.getFullYear());
1249
- var L = me("div", "flatpickr-current-month");
1249
+ var L = he("div", "flatpickr-current-month");
1250
1250
  return L.appendChild(d), L.appendChild(b), i.appendChild(L), a.appendChild(i), {
1251
1251
  container: a,
1252
1252
  yearElement: T,
1253
1253
  monthElement: d
1254
1254
  };
1255
1255
  }
1256
- function y() {
1256
+ function k() {
1257
1257
  mt(e.monthNav), e.monthNav.appendChild(e.prevMonthNav), e.config.showMonths && (e.yearElements = [], e.monthElements = []);
1258
1258
  for (var a = e.config.showMonths; a--; ) {
1259
1259
  var i = E();
@@ -1261,8 +1261,8 @@ function ba(n, t) {
1261
1261
  }
1262
1262
  e.monthNav.appendChild(e.nextMonthNav);
1263
1263
  }
1264
- function k() {
1265
- return e.monthNav = me("div", "flatpickr-months"), e.yearElements = [], e.monthElements = [], e.prevMonthNav = me("span", "flatpickr-prev-month"), e.prevMonthNav.innerHTML = e.config.prevArrow, e.nextMonthNav = me("span", "flatpickr-next-month"), e.nextMonthNav.innerHTML = e.config.nextArrow, y(), Object.defineProperty(e, "_hidePrevMonthArrow", {
1264
+ function M() {
1265
+ return e.monthNav = he("div", "flatpickr-months"), e.yearElements = [], e.monthElements = [], e.prevMonthNav = he("span", "flatpickr-prev-month"), e.prevMonthNav.innerHTML = e.config.prevArrow, e.nextMonthNav = he("span", "flatpickr-next-month"), e.nextMonthNav.innerHTML = e.config.nextArrow, k(), Object.defineProperty(e, "_hidePrevMonthArrow", {
1266
1266
  get: function() {
1267
1267
  return e.__hidePrevMonthArrow;
1268
1268
  },
@@ -1281,8 +1281,8 @@ function ba(n, t) {
1281
1281
  function C() {
1282
1282
  e.calendarContainer.classList.add("hasTime"), e.config.noCalendar && e.calendarContainer.classList.add("noCalendar");
1283
1283
  var a = Et(e.config);
1284
- e.timeContainer = me("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
1285
- var i = me("span", "flatpickr-time-separator", ":"), d = ht("flatpickr-hour", {
1284
+ e.timeContainer = he("div", "flatpickr-time"), e.timeContainer.tabIndex = -1;
1285
+ var i = he("span", "flatpickr-time-separator", ":"), d = ht("flatpickr-hour", {
1286
1286
  "aria-label": e.l10n.hourAriaLabel
1287
1287
  });
1288
1288
  e.hourElement = d.getElementsByTagName("input")[0];
@@ -1292,14 +1292,14 @@ function ba(n, t) {
1292
1292
  if (e.minuteElement = b.getElementsByTagName("input")[0], e.hourElement.tabIndex = e.minuteElement.tabIndex = -1, e.hourElement.value = ze(e.latestSelectedDateObj ? e.latestSelectedDateObj.getHours() : e.config.time_24hr ? a.hours : g(a.hours)), e.minuteElement.value = ze(e.latestSelectedDateObj ? e.latestSelectedDateObj.getMinutes() : a.minutes), e.hourElement.setAttribute("step", e.config.hourIncrement.toString()), e.minuteElement.setAttribute("step", e.config.minuteIncrement.toString()), e.hourElement.setAttribute("min", e.config.time_24hr ? "0" : "1"), e.hourElement.setAttribute("max", e.config.time_24hr ? "23" : "12"), e.hourElement.setAttribute("maxlength", "2"), e.minuteElement.setAttribute("min", "0"), e.minuteElement.setAttribute("max", "59"), e.minuteElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(d), e.timeContainer.appendChild(i), e.timeContainer.appendChild(b), e.config.time_24hr && e.timeContainer.classList.add("time24hr"), e.config.enableSeconds) {
1293
1293
  e.timeContainer.classList.add("hasSeconds");
1294
1294
  var T = ht("flatpickr-second");
1295
- e.secondElement = T.getElementsByTagName("input")[0], e.secondElement.value = ze(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : a.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(me("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(T);
1295
+ e.secondElement = T.getElementsByTagName("input")[0], e.secondElement.value = ze(e.latestSelectedDateObj ? e.latestSelectedDateObj.getSeconds() : a.seconds), e.secondElement.setAttribute("step", e.minuteElement.getAttribute("step")), e.secondElement.setAttribute("min", "0"), e.secondElement.setAttribute("max", "59"), e.secondElement.setAttribute("maxlength", "2"), e.timeContainer.appendChild(he("span", "flatpickr-time-separator", ":")), e.timeContainer.appendChild(T);
1296
1296
  }
1297
- return e.config.time_24hr || (e.amPM = me("span", "flatpickr-am-pm", e.l10n.amPM[Ze((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
1297
+ return e.config.time_24hr || (e.amPM = he("span", "flatpickr-am-pm", e.l10n.amPM[Ze((e.latestSelectedDateObj ? e.hourElement.value : e.config.defaultHour) > 11)]), e.amPM.title = e.l10n.toggleTitle, e.amPM.tabIndex = -1, e.timeContainer.appendChild(e.amPM)), e.timeContainer;
1298
1298
  }
1299
- function M() {
1300
- e.weekdayContainer ? mt(e.weekdayContainer) : e.weekdayContainer = me("div", "flatpickr-weekdays");
1299
+ function y() {
1300
+ e.weekdayContainer ? mt(e.weekdayContainer) : e.weekdayContainer = he("div", "flatpickr-weekdays");
1301
1301
  for (var a = e.config.showMonths; a--; ) {
1302
- var i = me("div", "flatpickr-weekdaycontainer");
1302
+ var i = he("div", "flatpickr-weekdaycontainer");
1303
1303
  e.weekdayContainer.appendChild(i);
1304
1304
  }
1305
1305
  return F(), e.weekdayContainer;
@@ -1318,9 +1318,9 @@ function ba(n, t) {
1318
1318
  }
1319
1319
  function W() {
1320
1320
  e.calendarContainer.classList.add("hasWeeks");
1321
- var a = me("div", "flatpickr-weekwrapper");
1322
- a.appendChild(me("span", "flatpickr-weekday", e.l10n.weekAbbreviation));
1323
- var i = me("div", "flatpickr-weeks");
1321
+ var a = he("div", "flatpickr-weekwrapper");
1322
+ a.appendChild(he("span", "flatpickr-weekday", e.l10n.weekAbbreviation));
1323
+ var i = he("div", "flatpickr-weeks");
1324
1324
  return a.appendChild(i), {
1325
1325
  weekWrapper: a,
1326
1326
  weekNumbers: i
@@ -1341,7 +1341,7 @@ function ba(n, t) {
1341
1341
  function re() {
1342
1342
  e.isOpen = !1, e.isMobile || (e.calendarContainer !== void 0 && e.calendarContainer.classList.remove("open"), e._input !== void 0 && e._input.classList.remove("active")), ve("onClose");
1343
1343
  }
1344
- function he() {
1344
+ function pe() {
1345
1345
  e.config !== void 0 && ve("onDestroy");
1346
1346
  for (var a = e._handlers.length; a--; )
1347
1347
  e._handlers[a].remove();
@@ -1394,18 +1394,18 @@ function ba(n, t) {
1394
1394
  }
1395
1395
  });
1396
1396
  }
1397
- function pe(a) {
1397
+ function ge(a) {
1398
1398
  return e.calendarContainer.contains(a);
1399
1399
  }
1400
1400
  function Le(a) {
1401
1401
  if (e.isOpen && !e.config.inline) {
1402
- var i = Ue(a), d = pe(i), b = i === e.input || i === e.altInput || e.element.contains(i) || a.path && a.path.indexOf && (~a.path.indexOf(e.input) || ~a.path.indexOf(e.altInput)), T = !b && !d && !pe(a.relatedTarget), L = !e.config.ignoredFocusElements.some(function(G) {
1402
+ var i = Ue(a), d = ge(i), b = i === e.input || i === e.altInput || e.element.contains(i) || a.path && a.path.indexOf && (~a.path.indexOf(e.input) || ~a.path.indexOf(e.altInput)), T = !b && !d && !ge(a.relatedTarget), L = !e.config.ignoredFocusElements.some(function(G) {
1403
1403
  return G.contains(i);
1404
1404
  });
1405
1405
  T && L && (e.config.allowInput && e.setDate(e._input.value, !1, e.config.altInput ? e.config.altFormat : e.config.dateFormat), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0 && e.input.value !== "" && e.input.value !== void 0 && m(), e.close(), e.config && e.config.mode === "range" && e.selectedDates.length === 1 && e.clear(!1));
1406
1406
  }
1407
1407
  }
1408
- function ge(a) {
1408
+ function we(a) {
1409
1409
  if (!(!a || e.config.minDate && a < e.config.minDate.getFullYear() || e.config.maxDate && a > e.config.maxDate.getFullYear())) {
1410
1410
  var i = a, d = e.currentYear !== i;
1411
1411
  e.currentYear = i || e.currentYear, e.config.maxDate && e.currentYear === e.config.maxDate.getFullYear() ? e.currentMonth = Math.min(e.config.maxDate.getMonth(), e.currentMonth) : e.config.minDate && e.currentYear === e.config.minDate.getFullYear() && (e.currentMonth = Math.max(e.config.minDate.getMonth(), e.currentMonth)), d && (e.redraw(), ve("onYearChange"), ie());
@@ -1437,9 +1437,9 @@ function ba(n, t) {
1437
1437
  function De(a) {
1438
1438
  return e.daysContainer !== void 0 ? a.className.indexOf("hidden") === -1 && a.className.indexOf("flatpickr-disabled") === -1 && e.daysContainer.contains(a) : !1;
1439
1439
  }
1440
- function ce(a) {
1440
+ function me(a) {
1441
1441
  var i = a.target === e._input, d = e._input.value.trimEnd() !== bn();
1442
- i && d && !(a.relatedTarget && pe(a.relatedTarget)) && e.setDate(e._input.value, !0, a.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
1442
+ i && d && !(a.relatedTarget && ge(a.relatedTarget)) && e.setDate(e._input.value, !0, a.target === e.altInput ? e.config.altFormat : e.config.dateFormat);
1443
1443
  }
1444
1444
  function be(a) {
1445
1445
  var i = Ue(a), d = e.config.wrap ? n.contains(i) : i === e._input, b = e.config.allowInput, T = e.isOpen && (!b || !d), L = e.config.inline && d && !b;
@@ -1447,7 +1447,7 @@ function ba(n, t) {
1447
1447
  if (b)
1448
1448
  return e.setDate(e._input.value, !0, i === e.altInput ? e.config.altFormat : e.config.dateFormat), e.close(), i.blur();
1449
1449
  e.open();
1450
- } else if (pe(i) || T || L) {
1450
+ } else if (ge(i) || T || L) {
1451
1451
  var G = !!e.timeContainer && e.timeContainer.contains(i);
1452
1452
  switch (a.keyCode) {
1453
1453
  case 13:
@@ -1476,7 +1476,7 @@ function ba(n, t) {
1476
1476
  case 40:
1477
1477
  a.preventDefault();
1478
1478
  var P = a.keyCode === 40 ? 1 : -1;
1479
- e.daysContainer && i.$i !== void 0 || i === e.input || i === e.altInput ? a.ctrlKey ? (a.stopPropagation(), ge(e.currentYear - P), B(te(1), 0)) : G || B(void 0, P * 7) : i === e.currentYearElement ? ge(e.currentYear - P) : e.config.enableTime && (!G && e.hourElement && e.hourElement.focus(), m(a), e._debouncedChange());
1479
+ e.daysContainer && i.$i !== void 0 || i === e.input || i === e.altInput ? a.ctrlKey ? (a.stopPropagation(), we(e.currentYear - P), B(te(1), 0)) : G || B(void 0, P * 7) : i === e.currentYearElement ? we(e.currentYear - P) : e.config.enableTime && (!G && e.hourElement && e.hourElement.focus(), m(a), e._debouncedChange());
1480
1480
  break;
1481
1481
  case 9:
1482
1482
  if (G) {
@@ -1485,11 +1485,11 @@ function ba(n, t) {
1485
1485
  e.minuteElement,
1486
1486
  e.secondElement,
1487
1487
  e.amPM
1488
- ].concat(e.pluginElements).filter(function(Oe) {
1489
- return Oe;
1490
- }), de = J.indexOf(i);
1491
- if (de !== -1) {
1492
- var Re = J[de + (a.shiftKey ? -1 : 1)];
1488
+ ].concat(e.pluginElements).filter(function(Pe) {
1489
+ return Pe;
1490
+ }), fe = J.indexOf(i);
1491
+ if (fe !== -1) {
1492
+ var Re = J[fe + (a.shiftKey ? -1 : 1)];
1493
1493
  a.preventDefault(), (Re || e._input).focus();
1494
1494
  }
1495
1495
  } else
@@ -1508,29 +1508,29 @@ function ba(n, t) {
1508
1508
  e.amPM.textContent = e.l10n.amPM[1], w(), He();
1509
1509
  break;
1510
1510
  }
1511
- (d || pe(i)) && ve("onKeyDown", a);
1511
+ (d || ge(i)) && ve("onKeyDown", a);
1512
1512
  }
1513
1513
  function Se(a, i) {
1514
1514
  if (i === void 0 && (i = "flatpickr-day"), !(e.selectedDates.length !== 1 || a && (!a.classList.contains(i) || a.classList.contains("flatpickr-disabled")))) {
1515
1515
  for (var d = a ? a.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), b = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), T = Math.min(d, e.selectedDates[0].getTime()), L = Math.max(d, e.selectedDates[0].getTime()), G = !1, N = 0, x = 0, P = T; P < L; P += ga.DAY)
1516
1516
  ue(new Date(P), !0) || (G = G || P > T && P < L, P < b && (!N || P > N) ? N = P : P > b && (!x || P < x) && (x = P));
1517
1517
  var J = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + i));
1518
- J.forEach(function(de) {
1519
- var Re = de.dateObj, Oe = Re.getTime(), rn = N > 0 && Oe < N || x > 0 && Oe > x;
1518
+ J.forEach(function(fe) {
1519
+ var Re = fe.dateObj, Pe = Re.getTime(), rn = N > 0 && Pe < N || x > 0 && Pe > x;
1520
1520
  if (rn) {
1521
- de.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(en) {
1522
- de.classList.remove(en);
1521
+ fe.classList.add("notAllowed"), ["inRange", "startRange", "endRange"].forEach(function(en) {
1522
+ fe.classList.remove(en);
1523
1523
  });
1524
1524
  return;
1525
1525
  } else if (G && !rn)
1526
1526
  return;
1527
1527
  ["startRange", "inRange", "endRange", "notAllowed"].forEach(function(en) {
1528
- de.classList.remove(en);
1529
- }), a !== void 0 && (a.classList.add(d <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), b < d && Oe === b ? de.classList.add("startRange") : b > d && Oe === b && de.classList.add("endRange"), Oe >= N && (x === 0 || Oe <= x) && ha(Oe, b, d) && de.classList.add("inRange"));
1528
+ fe.classList.remove(en);
1529
+ }), a !== void 0 && (a.classList.add(d <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), b < d && Pe === b ? fe.classList.add("startRange") : b > d && Pe === b && fe.classList.add("endRange"), Pe >= N && (x === 0 || Pe <= x) && ha(Pe, b, d) && fe.classList.add("inRange"));
1530
1530
  });
1531
1531
  }
1532
1532
  }
1533
- function Ne() {
1533
+ function je() {
1534
1534
  e.isOpen && !e.config.static && !e.config.inline && tn();
1535
1535
  }
1536
1536
  function Ke(a, i) {
@@ -1557,7 +1557,7 @@ function ba(n, t) {
1557
1557
  }), !e.selectedDates.length && a === "min" && v(d), He()), e.daysContainer && (an(), d !== void 0 ? e.currentYearElement[a] = d.getFullYear().toString() : e.currentYearElement.removeAttribute(a), e.currentYearElement.disabled = !!b && d !== void 0 && b.getFullYear() === d.getFullYear());
1558
1558
  };
1559
1559
  }
1560
- function we() {
1560
+ function de() {
1561
1561
  var a = [
1562
1562
  "wrap",
1563
1563
  "weekNumbers",
@@ -1573,7 +1573,7 @@ function ba(n, t) {
1573
1573
  "static",
1574
1574
  "enableSeconds",
1575
1575
  "disableMobile"
1576
- ], i = je(je({}, JSON.parse(JSON.stringify(n.dataset || {}))), t), d = {};
1576
+ ], i = Ie(Ie({}, JSON.parse(JSON.stringify(n.dataset || {}))), t), d = {};
1577
1577
  e.config.parseDate = i.parseDate, e.config.formatDate = i.formatDate, Object.defineProperty(e.config, "enable", {
1578
1578
  get: function() {
1579
1579
  return e.config._enable;
@@ -1610,8 +1610,8 @@ function ba(n, t) {
1610
1610
  set: Be("max")
1611
1611
  });
1612
1612
  var G = function(J) {
1613
- return function(de) {
1614
- e.config[J === "min" ? "_minTime" : "_maxTime"] = e.parseDate(de, "H:i:S");
1613
+ return function(fe) {
1614
+ e.config[J === "min" ? "_minTime" : "_maxTime"] = e.parseDate(fe, "H:i:S");
1615
1615
  };
1616
1616
  };
1617
1617
  Object.defineProperty(e.config, "minTime", {
@@ -1637,14 +1637,14 @@ function ba(n, t) {
1637
1637
  for (var P in x)
1638
1638
  At.indexOf(P) > -1 ? e.config[P] = _t(x[P]).map(h).concat(e.config[P]) : typeof i[P] == "undefined" && (e.config[P] = x[P]);
1639
1639
  }
1640
- i.altInputClass || (e.config.altInputClass = Ye().className + " " + e.config.altInputClass), ve("onParseConfig");
1640
+ i.altInputClass || (e.config.altInputClass = Ee().className + " " + e.config.altInputClass), ve("onParseConfig");
1641
1641
  }
1642
- function Ye() {
1642
+ function Ee() {
1643
1643
  return e.config.wrap ? n.querySelector("[data-input]") : n;
1644
1644
  }
1645
1645
  function nn() {
1646
- typeof e.config.locale != "object" && typeof Te.l10ns[e.config.locale] == "undefined" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = je(je({}, Te.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? Te.l10ns[e.config.locale] : void 0), _n.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", _n.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", _n.M = "(" + e.l10n.months.shorthand.join("|") + ")", _n.F = "(" + e.l10n.months.longhand.join("|") + ")", _n.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
1647
- var a = je(je({}, t), JSON.parse(JSON.stringify(n.dataset || {})));
1646
+ typeof e.config.locale != "object" && typeof Te.l10ns[e.config.locale] == "undefined" && e.config.errorHandler(new Error("flatpickr: invalid locale " + e.config.locale)), e.l10n = Ie(Ie({}, Te.l10ns.default), typeof e.config.locale == "object" ? e.config.locale : e.config.locale !== "default" ? Te.l10ns[e.config.locale] : void 0), _n.D = "(" + e.l10n.weekdays.shorthand.join("|") + ")", _n.l = "(" + e.l10n.weekdays.longhand.join("|") + ")", _n.M = "(" + e.l10n.months.shorthand.join("|") + ")", _n.F = "(" + e.l10n.months.longhand.join("|") + ")", _n.K = "(" + e.l10n.amPM[0] + "|" + e.l10n.amPM[1] + "|" + e.l10n.amPM[0].toLowerCase() + "|" + e.l10n.amPM[1].toLowerCase() + ")";
1647
+ var a = Ie(Ie({}, t), JSON.parse(JSON.stringify(n.dataset || {})));
1648
1648
  a.time_24hr === void 0 && Te.defaultConfig.time_24hr === void 0 && (e.config.time_24hr = e.l10n.time_24hr), e.formatDate = vr(e), e.parseDate = Ot({ config: e.config, l10n: e.l10n });
1649
1649
  }
1650
1650
  function tn(a) {
@@ -1656,16 +1656,16 @@ function ba(n, t) {
1656
1656
  return Yn + un.offsetHeight;
1657
1657
  }, 0), b = e.calendarContainer.offsetWidth, T = e.config.position.split(" "), L = T[0], G = T.length > 1 ? T[1] : null, N = i.getBoundingClientRect(), x = window.innerHeight - N.bottom, P = L === "above" || L !== "below" && x < d && N.top > d, J = window.pageYOffset + N.top + (P ? -d - 2 : i.offsetHeight + 2);
1658
1658
  if (We(e.calendarContainer, "arrowTop", !P), We(e.calendarContainer, "arrowBottom", P), !e.config.inline) {
1659
- var de = window.pageXOffset + N.left, Re = !1, Oe = !1;
1660
- G === "center" ? (de -= (b - N.width) / 2, Re = !0) : G === "right" && (de -= b - N.width, Oe = !0), We(e.calendarContainer, "arrowLeft", !Re && !Oe), We(e.calendarContainer, "arrowCenter", Re), We(e.calendarContainer, "arrowRight", Oe);
1661
- var rn = window.document.body.offsetWidth - (window.pageXOffset + N.right), en = de + b > window.document.body.offsetWidth, Pn = rn + b > window.document.body.offsetWidth;
1659
+ var fe = window.pageXOffset + N.left, Re = !1, Pe = !1;
1660
+ G === "center" ? (fe -= (b - N.width) / 2, Re = !0) : G === "right" && (fe -= b - N.width, Pe = !0), We(e.calendarContainer, "arrowLeft", !Re && !Pe), We(e.calendarContainer, "arrowCenter", Re), We(e.calendarContainer, "arrowRight", Pe);
1661
+ var rn = window.document.body.offsetWidth - (window.pageXOffset + N.right), en = fe + b > window.document.body.offsetWidth, Pn = rn + b > window.document.body.offsetWidth;
1662
1662
  if (We(e.calendarContainer, "rightMost", en), !e.config.static)
1663
1663
  if (e.calendarContainer.style.top = J + "px", !en)
1664
- e.calendarContainer.style.left = de + "px", e.calendarContainer.style.right = "auto";
1664
+ e.calendarContainer.style.left = fe + "px", e.calendarContainer.style.right = "auto";
1665
1665
  else if (!Pn)
1666
1666
  e.calendarContainer.style.left = "auto", e.calendarContainer.style.right = rn + "px";
1667
1667
  else {
1668
- var vn = Ee();
1668
+ var vn = Oe();
1669
1669
  if (vn === void 0)
1670
1670
  return;
1671
1671
  var Fn = window.document.body.offsetWidth, Nn = Math.max(0, Fn / 2 - b / 2), jn = ".flatpickr-calendar.centerMost:before", Dn = ".flatpickr-calendar.centerMost:after", Sn = vn.cssRules.length, In = "{left:" + N.left + "px;right:auto;}";
@@ -1674,7 +1674,7 @@ function ba(n, t) {
1674
1674
  }
1675
1675
  }
1676
1676
  }
1677
- function Ee() {
1677
+ function Oe() {
1678
1678
  for (var a = null, i = 0; i < document.styleSheets.length; i++) {
1679
1679
  var d = document.styleSheets[i];
1680
1680
  if (d.cssRules) {
@@ -1687,9 +1687,9 @@ function ba(n, t) {
1687
1687
  break;
1688
1688
  }
1689
1689
  }
1690
- return a != null ? a : Pe();
1690
+ return a != null ? a : Fe();
1691
1691
  }
1692
- function Pe() {
1692
+ function Fe() {
1693
1693
  var a = document.createElement("style");
1694
1694
  return document.head.appendChild(a), a.sheet;
1695
1695
  }
@@ -1712,8 +1712,8 @@ function ba(n, t) {
1712
1712
  var G = ln(T);
1713
1713
  G ? e.selectedDates.splice(parseInt(G), 1) : e.selectedDates.push(T);
1714
1714
  } else
1715
- e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = T, e.selectedDates.push(T), qe(T, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(J, de) {
1716
- return J.getTime() - de.getTime();
1715
+ e.config.mode === "range" && (e.selectedDates.length === 2 && e.clear(!1, !1), e.latestSelectedDateObj = T, e.selectedDates.push(T), qe(T, e.selectedDates[0], !0) !== 0 && e.selectedDates.sort(function(J, fe) {
1716
+ return J.getTime() - fe.getTime();
1717
1717
  }));
1718
1718
  if (w(), L) {
1719
1719
  var N = e.currentYear !== T.getFullYear();
@@ -1728,9 +1728,9 @@ function ba(n, t) {
1728
1728
  }
1729
1729
  var Ve = {
1730
1730
  locale: [nn, F],
1731
- showMonths: [y, u, M],
1732
- minDate: [I],
1733
- maxDate: [I],
1731
+ showMonths: [k, u, y],
1732
+ minDate: [Y],
1733
+ maxDate: [Y],
1734
1734
  positionElement: [gn],
1735
1735
  clickOpens: [
1736
1736
  function() {
@@ -1787,7 +1787,7 @@ function ba(n, t) {
1787
1787
  function kn(a, i, d) {
1788
1788
  if (i === void 0 && (i = !1), d === void 0 && (d = e.config.dateFormat), a !== 0 && !a || a instanceof Array && a.length === 0)
1789
1789
  return e.clear(i);
1790
- hn(a, d), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), I(void 0, i), v(), e.selectedDates.length === 0 && e.clear(!1), He(i), i && ve("onChange");
1790
+ hn(a, d), e.latestSelectedDateObj = e.selectedDates[e.selectedDates.length - 1], e.redraw(), Y(void 0, i), v(), e.selectedDates.length === 0 && e.clear(!1), He(i), i && ve("onChange");
1791
1791
  }
1792
1792
  function pn(a) {
1793
1793
  return a.slice().map(function(i) {
@@ -1805,18 +1805,18 @@ function ba(n, t) {
1805
1805
  a && hn(a, e.config.dateFormat), e._initialDate = e.selectedDates.length > 0 ? e.selectedDates[0] : e.config.minDate && e.config.minDate.getTime() > e.now.getTime() ? e.config.minDate : e.config.maxDate && e.config.maxDate.getTime() < e.now.getTime() ? e.config.maxDate : e.now, e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth(), e.selectedDates.length > 0 && (e.latestSelectedDateObj = e.selectedDates[0]), e.config.minTime !== void 0 && (e.config.minTime = e.parseDate(e.config.minTime, "H:i")), e.config.maxTime !== void 0 && (e.config.maxTime = e.parseDate(e.config.maxTime, "H:i")), e.minDateHasTime = !!e.config.minDate && (e.config.minDate.getHours() > 0 || e.config.minDate.getMinutes() > 0 || e.config.minDate.getSeconds() > 0), e.maxDateHasTime = !!e.config.maxDate && (e.config.maxDate.getHours() > 0 || e.config.maxDate.getMinutes() > 0 || e.config.maxDate.getSeconds() > 0);
1806
1806
  }
1807
1807
  function Ge() {
1808
- if (e.input = Ye(), !e.input) {
1808
+ if (e.input = Ee(), !e.input) {
1809
1809
  e.config.errorHandler(new Error("Invalid input element specified"));
1810
1810
  return;
1811
1811
  }
1812
- e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = me(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), gn();
1812
+ e.input._type = e.input.type, e.input.type = "text", e.input.classList.add("flatpickr-input"), e._input = e.input, e.config.altInput && (e.altInput = he(e.input.nodeName, e.config.altInputClass), e._input = e.altInput, e.altInput.placeholder = e.input.placeholder, e.altInput.disabled = e.input.disabled, e.altInput.required = e.input.required, e.altInput.tabIndex = e.input.tabIndex, e.altInput.type = "text", e.input.setAttribute("type", "hidden"), !e.config.static && e.input.parentNode && e.input.parentNode.insertBefore(e.altInput, e.input.nextSibling)), e.config.allowInput || e._input.setAttribute("readonly", "readonly"), gn();
1813
1813
  }
1814
1814
  function gn() {
1815
1815
  e._positionElement = e.config.positionElement || e._input;
1816
1816
  }
1817
1817
  function Ln() {
1818
1818
  var a = e.config.enableTime ? e.config.noCalendar ? "time" : "datetime-local" : "date";
1819
- e.mobileInput = me("input", e.input.className + " flatpickr-mobile"), e.mobileInput.tabIndex = 1, e.mobileInput.type = a, e.mobileInput.disabled = e.input.disabled, e.mobileInput.required = e.input.required, e.mobileInput.placeholder = e.input.placeholder, e.mobileFormatStr = a === "datetime-local" ? "Y-m-d\\TH:i:S" : a === "date" ? "Y-m-d" : "H:i:S", e.selectedDates.length > 0 && (e.mobileInput.defaultValue = e.mobileInput.value = e.formatDate(e.selectedDates[0], e.mobileFormatStr)), e.config.minDate && (e.mobileInput.min = e.formatDate(e.config.minDate, "Y-m-d")), e.config.maxDate && (e.mobileInput.max = e.formatDate(e.config.maxDate, "Y-m-d")), e.input.getAttribute("step") && (e.mobileInput.step = String(e.input.getAttribute("step"))), e.input.type = "hidden", e.altInput !== void 0 && (e.altInput.type = "hidden");
1819
+ e.mobileInput = he("input", e.input.className + " flatpickr-mobile"), e.mobileInput.tabIndex = 1, e.mobileInput.type = a, e.mobileInput.disabled = e.input.disabled, e.mobileInput.required = e.input.required, e.mobileInput.placeholder = e.input.placeholder, e.mobileFormatStr = a === "datetime-local" ? "Y-m-d\\TH:i:S" : a === "date" ? "Y-m-d" : "H:i:S", e.selectedDates.length > 0 && (e.mobileInput.defaultValue = e.mobileInput.value = e.formatDate(e.selectedDates[0], e.mobileFormatStr)), e.config.minDate && (e.mobileInput.min = e.formatDate(e.config.minDate, "Y-m-d")), e.config.maxDate && (e.mobileInput.max = e.formatDate(e.config.maxDate, "Y-m-d")), e.input.getAttribute("step") && (e.mobileInput.step = String(e.input.getAttribute("step"))), e.input.type = "hidden", e.altInput !== void 0 && (e.altInput.type = "hidden");
1820
1820
  try {
1821
1821
  e.input.parentNode && e.input.parentNode.insertBefore(e.mobileInput, e.input.nextSibling);
1822
1822
  } catch (i) {
@@ -1881,8 +1881,8 @@ function ba(n, t) {
1881
1881
  e.amPM !== void 0 && d === e.amPM && (e.amPM.textContent = e.l10n.amPM[Ze(e.amPM.textContent === e.l10n.amPM[0])]);
1882
1882
  var T = parseFloat(b.getAttribute("min")), L = parseFloat(b.getAttribute("max")), G = parseFloat(b.getAttribute("step")), N = parseInt(b.value, 10), x = a.delta || (i ? a.which === 38 ? 1 : -1 : 0), P = N + G * x;
1883
1883
  if (typeof b.value != "undefined" && b.value.length === 2) {
1884
- var J = b === e.hourElement, de = b === e.minuteElement;
1885
- P < T ? (P = L + P + Ze(!J) + (Ze(J) && Ze(!e.amPM)), de && ee(void 0, -1, e.hourElement)) : P > L && (P = b === e.hourElement ? P - L - Ze(!e.amPM) : T, de && ee(void 0, 1, e.hourElement)), e.amPM && J && (G === 1 ? P + N === 23 : Math.abs(P - N) > G) && (e.amPM.textContent = e.l10n.amPM[Ze(e.amPM.textContent === e.l10n.amPM[0])]), b.value = ze(P);
1884
+ var J = b === e.hourElement, fe = b === e.minuteElement;
1885
+ P < T ? (P = L + P + Ze(!J) + (Ze(J) && Ze(!e.amPM)), fe && ee(void 0, -1, e.hourElement)) : P > L && (P = b === e.hourElement ? P - L - Ze(!e.amPM) : T, fe && ee(void 0, 1, e.hourElement)), e.amPM && J && (G === 1 ? P + N === 23 : Math.abs(P - N) > G) && (e.amPM.textContent = e.l10n.amPM[Ze(e.amPM.textContent === e.l10n.amPM[0])]), b.value = ze(P);
1886
1886
  }
1887
1887
  }
1888
1888
  return o(), e;
@@ -1912,14 +1912,14 @@ var Te = function(n, t) {
1912
1912
  };
1913
1913
  Te.defaultConfig = {};
1914
1914
  Te.l10ns = {
1915
- en: je({}, Qn),
1916
- default: je({}, Qn)
1915
+ en: Ie({}, Qn),
1916
+ default: Ie({}, Qn)
1917
1917
  };
1918
1918
  Te.localize = function(n) {
1919
- Te.l10ns.default = je(je({}, Te.l10ns.default), n);
1919
+ Te.l10ns.default = Ie(Ie({}, Te.l10ns.default), n);
1920
1920
  };
1921
1921
  Te.setDefaults = function(n) {
1922
- Te.defaultConfig = je(je({}, Te.defaultConfig), n);
1922
+ Te.defaultConfig = Ie(Ie({}, Te.defaultConfig), n);
1923
1923
  };
1924
1924
  Te.parseDate = Ot({});
1925
1925
  Te.formatDate = vr({});
@@ -2317,7 +2317,7 @@ var Pt = { exports: {} };
2317
2317
  }
2318
2318
  };
2319
2319
  O.l10ns.bn = H, O.l10ns;
2320
- var I = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2320
+ var Y = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2321
2321
  l10ns: {}
2322
2322
  }, z = {
2323
2323
  weekdays: {
@@ -2383,7 +2383,7 @@ var Pt = { exports: {} };
2383
2383
  rangeSeparator: " a ",
2384
2384
  time_24hr: !0
2385
2385
  };
2386
- I.l10ns.cat = I.l10ns.ca = z, I.l10ns;
2386
+ Y.l10ns.cat = Y.l10ns.ca = z, Y.l10ns;
2387
2387
  var ee = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2388
2388
  l10ns: {}
2389
2389
  }, ne = {
@@ -2730,9 +2730,9 @@ var Pt = { exports: {} };
2730
2730
  hourAriaLabel: "Hour",
2731
2731
  minuteAriaLabel: "Minute",
2732
2732
  time_24hr: !1
2733
- }, y = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2733
+ }, k = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2734
2734
  l10ns: {}
2735
- }, k = {
2735
+ }, M = {
2736
2736
  firstDayOfWeek: 1,
2737
2737
  rangeSeparator: " ĝis ",
2738
2738
  weekAbbreviation: "Sem",
@@ -2785,10 +2785,10 @@ var Pt = { exports: {} };
2785
2785
  },
2786
2786
  time_24hr: !0
2787
2787
  };
2788
- y.l10ns.eo = k, y.l10ns;
2788
+ k.l10ns.eo = M, k.l10ns;
2789
2789
  var C = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2790
2790
  l10ns: {}
2791
- }, M = {
2791
+ }, y = {
2792
2792
  weekdays: {
2793
2793
  shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
2794
2794
  longhand: [
@@ -2838,7 +2838,7 @@ var Pt = { exports: {} };
2838
2838
  rangeSeparator: " a ",
2839
2839
  time_24hr: !0
2840
2840
  };
2841
- C.l10ns.es = M, C.l10ns;
2841
+ C.l10ns.es = y, C.l10ns;
2842
2842
  var F = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2843
2843
  l10ns: {}
2844
2844
  }, W = {
@@ -2948,7 +2948,7 @@ var Pt = { exports: {} };
2948
2948
  Z.l10ns.fa = oe, Z.l10ns;
2949
2949
  var re = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
2950
2950
  l10ns: {}
2951
- }, he = {
2951
+ }, pe = {
2952
2952
  firstDayOfWeek: 1,
2953
2953
  weekdays: {
2954
2954
  shorthand: ["su", "ma", "ti", "ke", "to", "pe", "la"],
@@ -2997,8 +2997,8 @@ var Pt = { exports: {} };
2997
2997
  },
2998
2998
  time_24hr: !0
2999
2999
  };
3000
- re.l10ns.fi = he, re.l10ns;
3001
- var pe = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3000
+ re.l10ns.fi = pe, re.l10ns;
3001
+ var ge = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3002
3002
  l10ns: {}
3003
3003
  }, Le = {
3004
3004
  weekdays: {
@@ -3054,8 +3054,8 @@ var Pt = { exports: {} };
3054
3054
  yearAriaLabel: "Ár",
3055
3055
  time_24hr: !0
3056
3056
  };
3057
- pe.l10ns.fo = Le, pe.l10ns;
3058
- var ge = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3057
+ ge.l10ns.fo = Le, ge.l10ns;
3058
+ var we = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3059
3059
  l10ns: {}
3060
3060
  }, ue = {
3061
3061
  firstDayOfWeek: 1,
@@ -3110,10 +3110,10 @@ var Pt = { exports: {} };
3110
3110
  toggleTitle: "Cliquer pour basculer",
3111
3111
  time_24hr: !0
3112
3112
  };
3113
- ge.l10ns.fr = ue, ge.l10ns;
3113
+ we.l10ns.fr = ue, we.l10ns;
3114
3114
  var De = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3115
3115
  l10ns: {}
3116
- }, ce = {
3116
+ }, me = {
3117
3117
  weekdays: {
3118
3118
  shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
3119
3119
  longhand: [
@@ -3170,7 +3170,7 @@ var Pt = { exports: {} };
3170
3170
  hourAriaLabel: "ώρα",
3171
3171
  minuteAriaLabel: "λεπτό"
3172
3172
  };
3173
- De.l10ns.gr = ce, De.l10ns;
3173
+ De.l10ns.gr = me, De.l10ns;
3174
3174
  var be = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3175
3175
  l10ns: {}
3176
3176
  }, Se = {
@@ -3212,7 +3212,7 @@ var Pt = { exports: {} };
3212
3212
  time_24hr: !0
3213
3213
  };
3214
3214
  be.l10ns.he = Se, be.l10ns;
3215
- var Ne = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3215
+ var je = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3216
3216
  l10ns: {}
3217
3217
  }, Ke = {
3218
3218
  weekdays: {
@@ -3258,10 +3258,10 @@ var Pt = { exports: {} };
3258
3258
  ]
3259
3259
  }
3260
3260
  };
3261
- Ne.l10ns.hi = Ke, Ne.l10ns;
3261
+ je.l10ns.hi = Ke, je.l10ns;
3262
3262
  var Be = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3263
3263
  l10ns: {}
3264
- }, we = {
3264
+ }, de = {
3265
3265
  firstDayOfWeek: 1,
3266
3266
  weekdays: {
3267
3267
  shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
@@ -3307,8 +3307,8 @@ var Pt = { exports: {} };
3307
3307
  },
3308
3308
  time_24hr: !0
3309
3309
  };
3310
- Be.l10ns.hr = we, Be.l10ns;
3311
- var Ye = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3310
+ Be.l10ns.hr = de, Be.l10ns;
3311
+ var Ee = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3312
3312
  l10ns: {}
3313
3313
  }, nn = {
3314
3314
  firstDayOfWeek: 1,
@@ -3363,10 +3363,10 @@ var Pt = { exports: {} };
3363
3363
  rangeSeparator: " - ",
3364
3364
  time_24hr: !0
3365
3365
  };
3366
- Ye.l10ns.hu = nn, Ye.l10ns;
3366
+ Ee.l10ns.hu = nn, Ee.l10ns;
3367
3367
  var tn = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3368
3368
  l10ns: {}
3369
- }, Ee = {
3369
+ }, Oe = {
3370
3370
  weekdays: {
3371
3371
  shorthand: ["Կիր", "Երկ", "Երք", "Չրք", "Հնգ", "Ուրբ", "Շբթ"],
3372
3372
  longhand: [
@@ -3424,8 +3424,8 @@ var Pt = { exports: {} };
3424
3424
  minuteAriaLabel: "Րոպե",
3425
3425
  time_24hr: !0
3426
3426
  };
3427
- tn.l10ns.hy = Ee, tn.l10ns;
3428
- var Pe = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3427
+ tn.l10ns.hy = Oe, tn.l10ns;
3428
+ var Fe = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3429
3429
  l10ns: {}
3430
3430
  }, an = {
3431
3431
  weekdays: {
@@ -3469,7 +3469,7 @@ var Pt = { exports: {} };
3469
3469
  time_24hr: !0,
3470
3470
  rangeSeparator: " - "
3471
3471
  };
3472
- Pe.l10ns.id = an, Pe.l10ns;
3472
+ Fe.l10ns.id = an, Fe.l10ns;
3473
3473
  var xe = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
3474
3474
  l10ns: {}
3475
3475
  }, mn = {
@@ -4321,7 +4321,7 @@ var Pt = { exports: {} };
4321
4321
  }
4322
4322
  };
4323
4323
  P.l10ns.no = J, P.l10ns;
4324
- var de = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
4324
+ var fe = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
4325
4325
  l10ns: {}
4326
4326
  }, Re = {
4327
4327
  weekdays: {
@@ -4368,8 +4368,8 @@ var Pt = { exports: {} };
4368
4368
  },
4369
4369
  time_24hr: !0
4370
4370
  };
4371
- de.l10ns.pa = Re, de.l10ns;
4372
- var Oe = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
4371
+ fe.l10ns.pa = Re, fe.l10ns;
4372
+ var Pe = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
4373
4373
  l10ns: {}
4374
4374
  }, rn = {
4375
4375
  weekdays: {
@@ -4424,7 +4424,7 @@ var Pt = { exports: {} };
4424
4424
  return ".";
4425
4425
  }
4426
4426
  };
4427
- Oe.l10ns.pl = rn, Oe.l10ns;
4427
+ Pe.l10ns.pl = rn, Pe.l10ns;
4428
4428
  var en = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
4429
4429
  l10ns: {}
4430
4430
  }, Pn = {
@@ -5117,7 +5117,7 @@ var Pt = { exports: {} };
5117
5117
  time_24hr: !0
5118
5118
  };
5119
5119
  Cn.l10ns.uz = yn, Cn.l10ns;
5120
- var Fe = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
5120
+ var Ne = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
5121
5121
  l10ns: {}
5122
5122
  }, it = {
5123
5123
  weekdays: {
@@ -5174,7 +5174,7 @@ var Pt = { exports: {} };
5174
5174
  yearAriaLabel: "Yil",
5175
5175
  time_24hr: !0
5176
5176
  };
5177
- Fe.l10ns.uz_latn = it, Fe.l10ns;
5177
+ Ne.l10ns.uz_latn = it, Ne.l10ns;
5178
5178
  var ot = typeof window != "undefined" && window.flatpickr !== void 0 ? window.flatpickr : {
5179
5179
  l10ns: {}
5180
5180
  }, lt = {
@@ -5343,19 +5343,19 @@ var Pt = { exports: {} };
5343
5343
  de: ie,
5344
5344
  default: r({}, E),
5345
5345
  en: E,
5346
- eo: k,
5347
- es: M,
5346
+ eo: M,
5347
+ es: y,
5348
5348
  et: W,
5349
5349
  fa: oe,
5350
- fi: he,
5350
+ fi: pe,
5351
5351
  fo: Le,
5352
5352
  fr: ue,
5353
- gr: ce,
5353
+ gr: me,
5354
5354
  he: Se,
5355
5355
  hi: Ke,
5356
- hr: we,
5356
+ hr: de,
5357
5357
  hu: nn,
5358
- hy: Ee,
5358
+ hy: Oe,
5359
5359
  id: an,
5360
5360
  is: mn,
5361
5361
  it: Xe,
@@ -5413,17 +5413,17 @@ var yr = { exports: {} };
5413
5413
  (this.zone || (this.zone = {})).offset = function(O) {
5414
5414
  if (!O || O === "Z")
5415
5415
  return 0;
5416
- var H = O.match(/([+-]|\d\d)/g), I = 60 * H[1] + (+H[2] || 0);
5417
- return I === 0 ? 0 : H[0] === "+" ? -I : I;
5416
+ var H = O.match(/([+-]|\d\d)/g), Y = 60 * H[1] + (+H[2] || 0);
5417
+ return Y === 0 ? 0 : H[0] === "+" ? -Y : Y;
5418
5418
  }(c);
5419
5419
  }], w = function(c) {
5420
5420
  var O = u[c];
5421
5421
  return O && (O.indexOf ? O : O.s.concat(O.f));
5422
5422
  }, v = function(c, O) {
5423
- var H, I = u.meridiem;
5424
- if (I) {
5423
+ var H, Y = u.meridiem;
5424
+ if (Y) {
5425
5425
  for (var z = 1; z <= 24; z += 1)
5426
- if (c.indexOf(I(z, 0, O)) > -1) {
5426
+ if (c.indexOf(Y(z, 0, O)) > -1) {
5427
5427
  H = z > 12;
5428
5428
  break;
5429
5429
  }
@@ -5443,11 +5443,11 @@ var yr = { exports: {} };
5443
5443
  }], s: [s, f("seconds")], ss: [s, f("seconds")], m: [s, f("minutes")], mm: [s, f("minutes")], H: [s, f("hours")], h: [s, f("hours")], HH: [s, f("hours")], hh: [s, f("hours")], D: [s, f("day")], DD: [o, f("day")], Do: [h, function(c) {
5444
5444
  var O = u.ordinal, H = c.match(/\d+/);
5445
5445
  if (this.day = H[0], O)
5446
- for (var I = 1; I <= 31; I += 1)
5447
- O(I).replace(/\[|\]/g, "") === c && (this.day = I);
5446
+ for (var Y = 1; Y <= 31; Y += 1)
5447
+ O(Y).replace(/\[|\]/g, "") === c && (this.day = Y);
5448
5448
  }], M: [s, f("month")], MM: [o, f("month")], MMM: [h, function(c) {
5449
- var O = w("months"), H = (w("monthsShort") || O.map(function(I) {
5450
- return I.slice(0, 3);
5449
+ var O = w("months"), H = (w("monthsShort") || O.map(function(Y) {
5450
+ return Y.slice(0, 3);
5451
5451
  })).indexOf(c) + 1;
5452
5452
  if (H < 1)
5453
5453
  throw new Error();
@@ -5463,61 +5463,61 @@ var yr = { exports: {} };
5463
5463
  function p(c) {
5464
5464
  var O, H;
5465
5465
  O = c, H = u && u.formats;
5466
- for (var I = (c = O.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function($, B, V) {
5466
+ for (var Y = (c = O.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function($, B, V) {
5467
5467
  var ae = V && V.toUpperCase();
5468
- return B || H[V] || e[V] || H[ae].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(ie, E, y) {
5469
- return E || y.slice(1);
5468
+ return B || H[V] || e[V] || H[ae].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(ie, E, k) {
5469
+ return E || k.slice(1);
5470
5470
  });
5471
- })).match(r), z = I.length, ee = 0; ee < z; ee += 1) {
5472
- var ne = I[ee], U = S[ne], X = U && U[0], te = U && U[1];
5473
- I[ee] = te ? { regex: X, parser: te } : ne.replace(/^\[|\]$/g, "");
5471
+ })).match(r), z = Y.length, ee = 0; ee < z; ee += 1) {
5472
+ var ne = Y[ee], U = S[ne], X = U && U[0], te = U && U[1];
5473
+ Y[ee] = te ? { regex: X, parser: te } : ne.replace(/^\[|\]$/g, "");
5474
5474
  }
5475
5475
  return function($) {
5476
5476
  for (var B = {}, V = 0, ae = 0; V < z; V += 1) {
5477
- var ie = I[V];
5477
+ var ie = Y[V];
5478
5478
  if (typeof ie == "string")
5479
5479
  ae += ie.length;
5480
5480
  else {
5481
- var E = ie.regex, y = ie.parser, k = $.slice(ae), C = E.exec(k)[0];
5482
- y.call(B, C), $ = $.replace(C, "");
5481
+ var E = ie.regex, k = ie.parser, M = $.slice(ae), C = E.exec(M)[0];
5482
+ k.call(B, C), $ = $.replace(C, "");
5483
5483
  }
5484
5484
  }
5485
- return function(M) {
5486
- var F = M.afternoon;
5485
+ return function(y) {
5486
+ var F = y.afternoon;
5487
5487
  if (F !== void 0) {
5488
- var W = M.hours;
5489
- F ? W < 12 && (M.hours += 12) : W === 12 && (M.hours = 0), delete M.afternoon;
5488
+ var W = y.hours;
5489
+ F ? W < 12 && (y.hours += 12) : W === 12 && (y.hours = 0), delete y.afternoon;
5490
5490
  }
5491
5491
  }(B), B;
5492
5492
  };
5493
5493
  }
5494
5494
  return function(c, O, H) {
5495
5495
  H.p.customParseFormat = !0, c && c.parseTwoDigitYear && (m = c.parseTwoDigitYear);
5496
- var I = O.prototype, z = I.parse;
5497
- I.parse = function(ee) {
5496
+ var Y = O.prototype, z = Y.parse;
5497
+ Y.parse = function(ee) {
5498
5498
  var ne = ee.date, U = ee.utc, X = ee.args;
5499
5499
  this.$u = U;
5500
5500
  var te = X[1];
5501
5501
  if (typeof te == "string") {
5502
5502
  var $ = X[2] === !0, B = X[3] === !0, V = $ || B, ae = X[2];
5503
- B && (ae = X[2]), u = this.$locale(), !$ && ae && (u = H.Ls[ae]), this.$d = function(k, C, M) {
5503
+ B && (ae = X[2]), u = this.$locale(), !$ && ae && (u = H.Ls[ae]), this.$d = function(M, C, y) {
5504
5504
  try {
5505
5505
  if (["x", "X"].indexOf(C) > -1)
5506
- return new Date((C === "X" ? 1e3 : 1) * k);
5507
- var F = p(C)(k), W = F.year, Z = F.month, oe = F.day, re = F.hours, he = F.minutes, pe = F.seconds, Le = F.milliseconds, ge = F.zone, ue = /* @__PURE__ */ new Date(), De = oe || (W || Z ? 1 : ue.getDate()), ce = W || ue.getFullYear(), be = 0;
5506
+ return new Date((C === "X" ? 1e3 : 1) * M);
5507
+ var F = p(C)(M), W = F.year, Z = F.month, oe = F.day, re = F.hours, pe = F.minutes, ge = F.seconds, Le = F.milliseconds, we = F.zone, ue = /* @__PURE__ */ new Date(), De = oe || (W || Z ? 1 : ue.getDate()), me = W || ue.getFullYear(), be = 0;
5508
5508
  W && !Z || (be = Z > 0 ? Z - 1 : ue.getMonth());
5509
- var Se = re || 0, Ne = he || 0, Ke = pe || 0, Be = Le || 0;
5510
- return ge ? new Date(Date.UTC(ce, be, De, Se, Ne, Ke, Be + 60 * ge.offset * 1e3)) : M ? new Date(Date.UTC(ce, be, De, Se, Ne, Ke, Be)) : new Date(ce, be, De, Se, Ne, Ke, Be);
5511
- } catch (we) {
5509
+ var Se = re || 0, je = pe || 0, Ke = ge || 0, Be = Le || 0;
5510
+ return we ? new Date(Date.UTC(me, be, De, Se, je, Ke, Be + 60 * we.offset * 1e3)) : y ? new Date(Date.UTC(me, be, De, Se, je, Ke, Be)) : new Date(me, be, De, Se, je, Ke, Be);
5511
+ } catch (de) {
5512
5512
  return /* @__PURE__ */ new Date("");
5513
5513
  }
5514
5514
  }(ne, te, U), this.init(), ae && ae !== !0 && (this.$L = this.locale(ae).$L), V && ne != this.format(te) && (this.$d = /* @__PURE__ */ new Date("")), u = {};
5515
5515
  } else if (te instanceof Array)
5516
5516
  for (var ie = te.length, E = 1; E <= ie; E += 1) {
5517
5517
  X[1] = te[E - 1];
5518
- var y = H.apply(this, X);
5519
- if (y.isValid()) {
5520
- this.$d = y.$d, this.$L = y.$L, this.init();
5518
+ var k = H.apply(this, X);
5519
+ if (k.isValid()) {
5520
+ this.$d = k.$d, this.$L = k.$L, this.init();
5521
5521
  break;
5522
5522
  }
5523
5523
  E === ie && (this.$d = /* @__PURE__ */ new Date(""));
@@ -5613,7 +5613,7 @@ function Xt(n) {
5613
5613
  /*selectedPaymentMethod*/
5614
5614
  (n[17].Label || /*selectedPaymentMethod*/
5615
5615
  n[17].Name) + ""
5616
- ), w, v, S, p, c, O, H, I, z, ee, ne = (
5616
+ ), w, v, S, p, c, O, H, Y, z, ee, ne = (
5617
5617
  /*mobileView*/
5618
5618
  n[24] && Gt(n)
5619
5619
  ), U = (
@@ -5624,16 +5624,16 @@ function Xt(n) {
5624
5624
  /*fields*/
5625
5625
  n[12]
5626
5626
  ), $ = [];
5627
- for (let y = 0; y < te.length; y += 1)
5628
- $[y] = ar(Vt(n, te, y));
5627
+ for (let k = 0; k < te.length; k += 1)
5628
+ $[k] = ar(Vt(n, te, k));
5629
5629
  let B = (
5630
5630
  /*showAliasInput*/
5631
5631
  n[38] && ir(n)
5632
5632
  );
5633
- function V(y, k) {
5633
+ function V(k, M) {
5634
5634
  return (
5635
5635
  /*isProcessingTxn*/
5636
- y[22] ? Ya : Ha
5636
+ k[22] ? Ya : Ha
5637
5637
  );
5638
5638
  }
5639
5639
  let ae = V(n), ie = ae(n), E = (
@@ -5643,9 +5643,9 @@ function Xt(n) {
5643
5643
  return {
5644
5644
  c() {
5645
5645
  t = j("form"), e = j("div"), r = j("div"), o = j("div"), s = j("ui-image"), m = le(), f = j("div"), w = ke(g), v = le(), ne && ne.c(), S = le(), U && U.c(), p = le(), X && X.c(), c = le();
5646
- for (let y = 0; y < $.length; y += 1)
5647
- $[y].c();
5648
- O = le(), B && B.c(), H = le(), ie.c(), I = le(), E && E.c(), zn(s.src, h = /*mobileView*/
5646
+ for (let k = 0; k < $.length; k += 1)
5647
+ $[k].c();
5648
+ O = le(), B && B.c(), H = le(), ie.c(), Y = le(), E && E.c(), zn(s.src, h = /*mobileView*/
5649
5649
  n[24] ? (
5650
5650
  /*mobileLogo*/
5651
5651
  n[37].LogoUrl
@@ -5655,55 +5655,55 @@ function Xt(n) {
5655
5655
  )) || R(s, "src", h), R(s, "alt", u = /*selectedPaymentMethod*/
5656
5656
  n[17].Label), A(o, "class", "SelectedLogoWrapper"), A(f, "class", "SelectedLogoDescription"), A(r, "class", "FormLogo"), A(e, "class", "FieldWrapper"), t.noValidate = !0;
5657
5657
  },
5658
- m(y, k) {
5659
- Q(y, t, k), _(t, e), _(e, r), _(r, o), _(o, s), _(r, m), _(r, f), _(f, w), _(r, v), ne && ne.m(r, null), _(e, S), U && U.m(e, null), _(e, p), X && X.m(e, null), _(t, c);
5658
+ m(k, M) {
5659
+ Q(k, t, M), _(t, e), _(e, r), _(r, o), _(o, s), _(r, m), _(r, f), _(f, w), _(r, v), ne && ne.m(r, null), _(e, S), U && U.m(e, null), _(e, p), X && X.m(e, null), _(t, c);
5660
5660
  for (let C = 0; C < $.length; C += 1)
5661
5661
  $[C] && $[C].m(t, null);
5662
- _(t, O), B && B.m(t, null), _(t, H), ie.m(t, null), _(t, I), E && E.m(t, null), z || (ee = fe(t, "submit", ta(
5662
+ _(t, O), B && B.m(t, null), _(t, H), ie.m(t, null), _(t, Y), E && E.m(t, null), z || (ee = ce(t, "submit", ta(
5663
5663
  /*prepareTxn*/
5664
5664
  n[43]
5665
5665
  )), z = !0);
5666
5666
  },
5667
- p(y, k) {
5668
- if (k[0] & /*mobileView*/
5669
- 16777216 | k[1] & /*mobileLogo, desktopLogo*/
5667
+ p(k, M) {
5668
+ if (M[0] & /*mobileView*/
5669
+ 16777216 | M[1] & /*mobileLogo, desktopLogo*/
5670
5670
  96 && !zn(s.src, h = /*mobileView*/
5671
- y[24] ? (
5671
+ k[24] ? (
5672
5672
  /*mobileLogo*/
5673
- y[37].LogoUrl
5673
+ k[37].LogoUrl
5674
5674
  ) : (
5675
5675
  /*desktopLogo*/
5676
- y[36].LogoUrl
5677
- )) && R(s, "src", h), k[0] & /*selectedPaymentMethod*/
5676
+ k[36].LogoUrl
5677
+ )) && R(s, "src", h), M[0] & /*selectedPaymentMethod*/
5678
5678
  131072 && u !== (u = /*selectedPaymentMethod*/
5679
- y[17].Label) && R(s, "alt", u), k[0] & /*selectedPaymentMethod*/
5679
+ k[17].Label) && R(s, "alt", u), M[0] & /*selectedPaymentMethod*/
5680
5680
  131072 && g !== (g = /*selectedPaymentMethod*/
5681
- (y[17].Label || /*selectedPaymentMethod*/
5682
- y[17].Name) + "") && ye(w, g), /*mobileView*/
5683
- y[24] ? ne ? ne.p(y, k) : (ne = Gt(y), ne.c(), ne.m(r, null)) : ne && (ne.d(1), ne = null), /*selectedPaymentMethod*/
5684
- y[17].Description ? U ? U.p(y, k) : (U = Qt(y), U.c(), U.m(e, p)) : U && (U.d(1), U = null), /*selectedPaymentMethod*/
5685
- y[17].HideAmountField ? X && (X.d(1), X = null) : X ? X.p(y, k) : (X = Zt(y), X.c(), X.m(e, null)), k[0] & /*fields, FieldTypes, showError, fieldValidation, prepareFields, flatpickrEl, maxLookupHeight, openedLookup, openLookupTop, qrCodeContainer*/
5686
- 2022035456 | k[1] & /*validateField, dateTimeValidation, onLookUpChanged, showLookup, getValueByFieldName, openUrlInNewTab, showField*/
5681
+ (k[17].Label || /*selectedPaymentMethod*/
5682
+ k[17].Name) + "") && ye(w, g), /*mobileView*/
5683
+ k[24] ? ne ? ne.p(k, M) : (ne = Gt(k), ne.c(), ne.m(r, null)) : ne && (ne.d(1), ne = null), /*selectedPaymentMethod*/
5684
+ k[17].Description ? U ? U.p(k, M) : (U = Qt(k), U.c(), U.m(e, p)) : U && (U.d(1), U = null), /*selectedPaymentMethod*/
5685
+ k[17].HideAmountField ? X && (X.d(1), X = null) : X ? X.p(k, M) : (X = Zt(k), X.c(), X.m(e, null)), M[0] & /*fields, FieldTypes, showError, fieldValidation, prepareFields, flatpickrEl, maxLookupHeight, openedLookup, openLookupTop, qrCodeContainer*/
5686
+ 2022035456 | M[1] & /*validateField, dateTimeValidation, onLookUpChanged, showLookup, getValueByFieldName, openUrlInNewTab, showField*/
5687
5687
  6539264) {
5688
5688
  te = wt(
5689
5689
  /*fields*/
5690
- y[12]
5690
+ k[12]
5691
5691
  );
5692
5692
  let C;
5693
5693
  for (C = 0; C < te.length; C += 1) {
5694
- const M = Vt(y, te, C);
5695
- $[C] ? $[C].p(M, k) : ($[C] = ar(M), $[C].c(), $[C].m(t, O));
5694
+ const y = Vt(k, te, C);
5695
+ $[C] ? $[C].p(y, M) : ($[C] = ar(y), $[C].c(), $[C].m(t, O));
5696
5696
  }
5697
5697
  for (; C < $.length; C += 1)
5698
5698
  $[C].d(1);
5699
5699
  $.length = te.length;
5700
5700
  }
5701
5701
  /*showAliasInput*/
5702
- y[38] ? B ? B.p(y, k) : (B = ir(y), B.c(), B.m(t, H)) : B && (B.d(1), B = null), ae === (ae = V(y)) && ie ? ie.p(y, k) : (ie.d(1), ie = ae(y), ie && (ie.c(), ie.m(t, I))), /*showRetryNotification*/
5703
- y[21] ? E ? E.p(y, k) : (E = ur(y), E.c(), E.m(t, null)) : E && (E.d(1), E = null);
5702
+ k[38] ? B ? B.p(k, M) : (B = ir(k), B.c(), B.m(t, H)) : B && (B.d(1), B = null), ae === (ae = V(k)) && ie ? ie.p(k, M) : (ie.d(1), ie = ae(k), ie && (ie.c(), ie.m(t, Y))), /*showRetryNotification*/
5703
+ k[21] ? E ? E.p(k, M) : (E = ur(k), E.c(), E.m(t, null)) : E && (E.d(1), E = null);
5704
5704
  },
5705
- d(y) {
5706
- y && K(t), ne && ne.d(), U && U.d(), X && X.d(), pr($, y), B && B.d(), ie.d(), E && E.d(), z = !1, ee();
5705
+ d(k) {
5706
+ k && K(t), ne && ne.d(), U && U.d(), X && X.d(), pr($, k), B && B.d(), ie.d(), E && E.d(), z = !1, ee();
5707
5707
  }
5708
5708
  };
5709
5709
  }
@@ -5717,7 +5717,7 @@ function Gt(n) {
5717
5717
  t = j("div"), r = ke(e), A(t, "class", "ChangePaymeth");
5718
5718
  },
5719
5719
  m(h, u) {
5720
- Q(h, t, u), _(t, r), o || (s = fe(
5720
+ Q(h, t, u), _(t, r), o || (s = ce(
5721
5721
  t,
5722
5722
  "click",
5723
5723
  /*click_handler*/
@@ -5851,30 +5851,30 @@ function Ca(n) {
5851
5851
  n[40]("amountPlaceholder")), A(s, "class", "Alert");
5852
5852
  },
5853
5853
  m(S, p) {
5854
- w && w.m(S, p), Q(S, t, p), Q(S, e, p), Ie(
5854
+ w && w.m(S, p), Q(S, t, p), Q(S, e, p), Ye(
5855
5855
  e,
5856
5856
  /*editedAmount*/
5857
5857
  n[31]
5858
5858
  ), Q(S, o, p), Q(S, s, p), _(s, h), Q(S, u, p), v && v.m(S, p), Q(S, m, p), f || (g = [
5859
- fe(
5859
+ ce(
5860
5860
  e,
5861
5861
  "input",
5862
5862
  /*input_input_handler*/
5863
5863
  n[61]
5864
5864
  ),
5865
- fe(
5865
+ ce(
5866
5866
  e,
5867
5867
  "input",
5868
5868
  /*input_handler*/
5869
5869
  n[62]
5870
5870
  ),
5871
- fe(
5871
+ ce(
5872
5872
  e,
5873
5873
  "keydown",
5874
5874
  /*keydown_handler*/
5875
5875
  n[63]
5876
5876
  ),
5877
- fe(
5877
+ ce(
5878
5878
  e,
5879
5879
  "blur",
5880
5880
  /*blur_handler*/
@@ -5888,7 +5888,7 @@ function Ca(n) {
5888
5888
  512 && r !== (r = /*$_*/
5889
5889
  S[40]("amountPlaceholder")) && A(e, "placeholder", r), p[1] & /*editedAmount*/
5890
5890
  1 && gt(e.value) !== /*editedAmount*/
5891
- S[31] && Ie(
5891
+ S[31] && Ye(
5892
5892
  e,
5893
5893
  /*editedAmount*/
5894
5894
  S[31]
@@ -6192,14 +6192,14 @@ function Aa(n) {
6192
6192
  n[159].placeholder);
6193
6193
  },
6194
6194
  m(h, u) {
6195
- Q(h, t, u), Ie(
6195
+ Q(h, t, u), Ye(
6196
6196
  t,
6197
6197
  /*prepareFields*/
6198
6198
  n[18][
6199
6199
  /*field*/
6200
6200
  n[159].name
6201
6201
  ]
6202
- ), r || (o = fe(t, "input", s), r = !0);
6202
+ ), r || (o = ce(t, "input", s), r = !0);
6203
6203
  },
6204
6204
  p(h, u) {
6205
6205
  n = h, u[0] & /*fields*/
@@ -6209,7 +6209,7 @@ function Aa(n) {
6209
6209
  n[18][
6210
6210
  /*field*/
6211
6211
  n[159].name
6212
- ] && Ie(
6212
+ ] && Ye(
6213
6213
  t,
6214
6214
  /*prepareFields*/
6215
6215
  n[18][
@@ -6279,7 +6279,7 @@ function La(n) {
6279
6279
  t = j("div"), e = j("div"), o = ke(r), A(t, "class", "QRCode");
6280
6280
  },
6281
6281
  m(m, f) {
6282
- Q(m, t, f), _(t, e), _(e, o), n[84](e), s || (h = fe(t, "click", u), s = !0);
6282
+ Q(m, t, f), _(t, e), _(e, o), n[84](e), s || (h = ce(t, "click", u), s = !0);
6283
6283
  },
6284
6284
  p(m, f) {
6285
6285
  n = m, f[0] & /*fields*/
@@ -6328,8 +6328,8 @@ function Ea(n) {
6328
6328
  /*field*/
6329
6329
  n[159].name
6330
6330
  ], _(t, o), _(t, s), _(t, h), _(t, u), u.innerHTML = m, f || (g = [
6331
- fe(e, "change", w),
6332
- fe(e, "change", v)
6331
+ ce(e, "change", w),
6332
+ ce(e, "change", v)
6333
6333
  ], f = !0);
6334
6334
  },
6335
6335
  p(S, p) {
@@ -6412,7 +6412,7 @@ function Oa(n) {
6412
6412
  Q(S, t, p), _(t, e), _(e, r), _(r, s), _(t, h), _(t, u);
6413
6413
  for (let c = 0; c < v.length; c += 1)
6414
6414
  v[c] && v[c].m(u, null);
6415
- m || (f = fe(e, "click", g), m = !0);
6415
+ m || (f = ce(e, "click", g), m = !0);
6416
6416
  },
6417
6417
  p(S, p) {
6418
6418
  if (n = S, p[0] & /*fields, prepareFields*/
@@ -6478,20 +6478,20 @@ function Pa(n) {
6478
6478
  n[159].placeholder);
6479
6479
  },
6480
6480
  m(h, u) {
6481
- Q(h, t, u), Ie(
6481
+ Q(h, t, u), Ye(
6482
6482
  t,
6483
6483
  /*prepareFields*/
6484
6484
  n[18][
6485
6485
  /*field*/
6486
6486
  n[159].name
6487
6487
  ]
6488
- ), r || (o = fe(t, "input", s), r = !0);
6488
+ ), r || (o = ce(t, "input", s), r = !0);
6489
6489
  },
6490
6490
  p(h, u) {
6491
6491
  n = h, u[0] & /*fields*/
6492
6492
  4096 && e !== (e = /*field*/
6493
6493
  n[159].placeholder) && A(t, "placeholder", e), u[0] & /*prepareFields, fields*/
6494
- 266240 && Ie(
6494
+ 266240 && Ye(
6495
6495
  t,
6496
6496
  /*prepareFields*/
6497
6497
  n[18][
@@ -6538,7 +6538,7 @@ function Fa(n) {
6538
6538
  n[159].placeholder);
6539
6539
  },
6540
6540
  m(m, f) {
6541
- Q(m, t, f), Ie(
6541
+ Q(m, t, f), Ye(
6542
6542
  t,
6543
6543
  /*prepareFields*/
6544
6544
  n[18][
@@ -6546,9 +6546,9 @@ function Fa(n) {
6546
6546
  n[159].name
6547
6547
  ]
6548
6548
  ), r || (o = [
6549
- fe(t, "input", s),
6550
- fe(t, "input", h),
6551
- fe(t, "blur", u)
6549
+ ce(t, "input", s),
6550
+ ce(t, "input", h),
6551
+ ce(t, "blur", u)
6552
6552
  ], r = !0);
6553
6553
  },
6554
6554
  p(m, f) {
@@ -6559,7 +6559,7 @@ function Fa(n) {
6559
6559
  n[18][
6560
6560
  /*field*/
6561
6561
  n[159].name
6562
- ] && Ie(
6562
+ ] && Ye(
6563
6563
  t,
6564
6564
  /*prepareFields*/
6565
6565
  n[18][
@@ -6606,7 +6606,7 @@ function Na(n) {
6606
6606
  n[159].placeholder);
6607
6607
  },
6608
6608
  m(m, f) {
6609
- Q(m, t, f), Ie(
6609
+ Q(m, t, f), Ye(
6610
6610
  t,
6611
6611
  /*prepareFields*/
6612
6612
  n[18][
@@ -6614,9 +6614,9 @@ function Na(n) {
6614
6614
  n[159].name
6615
6615
  ]
6616
6616
  ), r || (o = [
6617
- fe(t, "input", s),
6618
- fe(t, "input", h),
6619
- fe(t, "blur", u)
6617
+ ce(t, "input", s),
6618
+ ce(t, "input", h),
6619
+ ce(t, "blur", u)
6620
6620
  ], r = !0);
6621
6621
  },
6622
6622
  p(m, f) {
@@ -6627,7 +6627,7 @@ function Na(n) {
6627
6627
  n[18][
6628
6628
  /*field*/
6629
6629
  n[159].name
6630
- ] && Ie(
6630
+ ] && Ye(
6631
6631
  t,
6632
6632
  /*prepareFields*/
6633
6633
  n[18][
@@ -6694,7 +6694,7 @@ function ja(n) {
6694
6694
  n[159].placeholder), A(u, "class", "MobileDateInput"), A(t, "class", "DateInput");
6695
6695
  },
6696
6696
  m(O, H) {
6697
- Q(O, t, H), _(t, e), Ie(
6697
+ Q(O, t, H), _(t, e), Ye(
6698
6698
  e,
6699
6699
  /*prepareFields*/
6700
6700
  n[18][
@@ -6702,10 +6702,10 @@ function ja(n) {
6702
6702
  n[159].name
6703
6703
  ]
6704
6704
  ), n[72](e), _(t, h), _(t, u), _(u, f), g || (w = [
6705
- fe(e, "input", v),
6706
- fe(e, "input", S),
6707
- fe(e, "change", p),
6708
- fe(e, "blur", c)
6705
+ ce(e, "input", v),
6706
+ ce(e, "input", S),
6707
+ ce(e, "change", p),
6708
+ ce(e, "blur", c)
6709
6709
  ], g = !0);
6710
6710
  },
6711
6711
  p(O, H) {
@@ -6722,7 +6722,7 @@ function ja(n) {
6722
6722
  n[18][
6723
6723
  /*field*/
6724
6724
  n[159].name
6725
- ] && Ie(
6725
+ ] && Ye(
6726
6726
  e,
6727
6727
  /*prepareFields*/
6728
6728
  n[18][
@@ -6775,7 +6775,7 @@ function Ia(n) {
6775
6775
  n[159].placeholder);
6776
6776
  },
6777
6777
  m(m, f) {
6778
- Q(m, t, f), Ie(
6778
+ Q(m, t, f), Ye(
6779
6779
  t,
6780
6780
  /*prepareFields*/
6781
6781
  n[18][
@@ -6783,9 +6783,9 @@ function Ia(n) {
6783
6783
  n[159].name
6784
6784
  ]
6785
6785
  ), r || (o = [
6786
- fe(t, "input", s),
6787
- fe(t, "input", h),
6788
- fe(t, "blur", u)
6786
+ ce(t, "input", s),
6787
+ ce(t, "input", h),
6788
+ ce(t, "blur", u)
6789
6789
  ], r = !0);
6790
6790
  },
6791
6791
  p(m, f) {
@@ -6796,7 +6796,7 @@ function Ia(n) {
6796
6796
  n[18][
6797
6797
  /*field*/
6798
6798
  n[159].name
6799
- ] && Ie(
6799
+ ] && Ye(
6800
6800
  t,
6801
6801
  /*prepareFields*/
6802
6802
  n[18][
@@ -6831,7 +6831,7 @@ function rr(n) {
6831
6831
  t = j("div"), e = j("span"), o = ke(r), s = le();
6832
6832
  },
6833
6833
  m(f, g) {
6834
- Q(f, t, g), _(t, e), _(e, o), _(t, s), h || (u = fe(t, "click", m), h = !0);
6834
+ Q(f, t, g), _(t, e), _(e, o), _(t, s), h || (u = ce(t, "click", m), h = !0);
6835
6835
  },
6836
6836
  p(f, g) {
6837
6837
  n = f, g[0] & /*fields*/
@@ -6915,7 +6915,7 @@ function ir(n) {
6915
6915
  );
6916
6916
  },
6917
6917
  m(w, v) {
6918
- Q(w, t, v), _(t, e), f && f.m(e, null), _(e, r), g && g.m(e, null), _(e, o), _(e, s), Ie(
6918
+ Q(w, t, v), _(t, e), f && f.m(e, null), _(e, r), g && g.m(e, null), _(e, o), _(e, s), Ye(
6919
6919
  s,
6920
6920
  /*prepareFields*/
6921
6921
  n[18][
@@ -6923,19 +6923,19 @@ function ir(n) {
6923
6923
  n[39].name
6924
6924
  ]
6925
6925
  ), u || (m = [
6926
- fe(
6926
+ ce(
6927
6927
  s,
6928
6928
  "input",
6929
6929
  /*input_input_handler_7*/
6930
6930
  n[87]
6931
6931
  ),
6932
- fe(
6932
+ ce(
6933
6933
  s,
6934
6934
  "input",
6935
6935
  /*input_handler_5*/
6936
6936
  n[88]
6937
6937
  ),
6938
- fe(
6938
+ ce(
6939
6939
  s,
6940
6940
  "blur",
6941
6941
  /*blur_handler_5*/
@@ -6966,7 +6966,7 @@ function ir(n) {
6966
6966
  w[18][
6967
6967
  /*aliasObject*/
6968
6968
  w[39].name
6969
- ] && Ie(
6969
+ ] && Ye(
6970
6970
  s,
6971
6971
  /*prepareFields*/
6972
6972
  w[18][
@@ -7217,13 +7217,13 @@ function dr(n) {
7217
7217
  z[8] ? Ja : Ra
7218
7218
  );
7219
7219
  }
7220
- let H = O(n), I = H(n);
7220
+ let H = O(n), Y = H(n);
7221
7221
  return {
7222
7222
  c() {
7223
- t = j("div"), I.c(), e = le(), r = j("span"), s = ke(o), h = le(), u = j("span"), f = ke(m), g = le(), w = j("div"), S = ke(v), A(r, "class", "RedirectionTitle"), A(u, "class", "RedirectionMessage"), A(w, "class", "RedirectionClose"), A(t, "class", "RedirectionNotification");
7223
+ t = j("div"), Y.c(), e = le(), r = j("span"), s = ke(o), h = le(), u = j("span"), f = ke(m), g = le(), w = j("div"), S = ke(v), A(r, "class", "RedirectionTitle"), A(u, "class", "RedirectionMessage"), A(w, "class", "RedirectionClose"), A(t, "class", "RedirectionNotification");
7224
7224
  },
7225
7225
  m(z, ee) {
7226
- Q(z, t, ee), I.m(t, null), _(t, e), _(t, r), _(r, s), _(t, h), _(t, u), _(u, f), _(t, g), _(t, w), _(w, S), p || (c = fe(
7226
+ Q(z, t, ee), Y.m(t, null), _(t, e), _(t, r), _(r, s), _(t, h), _(t, u), _(u, f), _(t, g), _(t, w), _(w, S), p || (c = ce(
7227
7227
  w,
7228
7228
  "click",
7229
7229
  /*click_handler_4*/
@@ -7231,7 +7231,7 @@ function dr(n) {
7231
7231
  ), p = !0);
7232
7232
  },
7233
7233
  p(z, ee) {
7234
- H === (H = O(z)) && I ? I.p(z, ee) : (I.d(1), I = H(z), I && (I.c(), I.m(t, e))), ee[1] & /*$_*/
7234
+ H === (H = O(z)) && Y ? Y.p(z, ee) : (Y.d(1), Y = H(z), Y && (Y.c(), Y.m(t, e))), ee[1] & /*$_*/
7235
7235
  512 && o !== (o = /*$_*/
7236
7236
  z[40]("redirectTitle") + "") && ye(s, o), ee[1] & /*$_*/
7237
7237
  512 && m !== (m = /*$_*/
@@ -7240,7 +7240,7 @@ function dr(n) {
7240
7240
  z[40]("backToPayment") + "") && ye(S, v);
7241
7241
  },
7242
7242
  d(z) {
7243
- z && K(t), I.d(), p = !1, c();
7243
+ z && K(t), Y.d(), p = !1, c();
7244
7244
  }
7245
7245
  };
7246
7246
  }
@@ -7491,7 +7491,7 @@ function mr(n) {
7491
7491
  );
7492
7492
  },
7493
7493
  m(m, f) {
7494
- Q(m, t, f), _(t, e), _(e, o), h || (u = fe(
7494
+ Q(m, t, f), _(t, e), _(e, o), h || (u = ce(
7495
7495
  e,
7496
7496
  "click",
7497
7497
  /*backToMethodList*/
@@ -7569,7 +7569,7 @@ function Wa(n) {
7569
7569
  t = j("script"), r = j("link"), o = le(), s = j("div"), g && g.c(), h = le(), w && w.c(), u = le(), v && v.c(), zn(t.src, e = za) || A(t, "src", e), A(r, "rel", "stylesheet"), A(r, "href", "https://esm.sh/flatpickr@4.6.13/dist/flatpickr.min.css"), A(s, "class", "CashierMethodDetails");
7570
7570
  },
7571
7571
  m(p, c) {
7572
- _(Bt.head, t), _(Bt.head, r), Q(p, o, c), Q(p, s, c), g && g.m(s, null), _(s, h), w && w.m(s, null), _(s, u), v && v.m(s, null), n[91](s), m || (f = fe(
7572
+ _(Bt.head, t), _(Bt.head, r), Q(p, o, c), Q(p, s, c), g && g.m(s, null), _(s, h), w && w.m(s, null), _(s, u), v && v.m(s, null), n[91](s), m || (f = ce(
7573
7573
  kr,
7574
7574
  "resize",
7575
7575
  /*onwindowresize*/
@@ -7602,11 +7602,11 @@ function Ba(n, t, e) {
7602
7602
  calcDefaultValue(D) {
7603
7603
  return this.type === v.Boolean ? D.DefaultValue === "True" : p.has(D.Type) ? this.setValue(D, S.DefaultValue) : D.DefaultValue || null;
7604
7604
  }
7605
- setPlaceholderOrFormat(D, Y) {
7606
- return p.has(D.Type) && !c.get(D.Placeholder) ? p.get(D.Type)[Y] : D[Y] || null;
7605
+ setPlaceholderOrFormat(D, I) {
7606
+ return p.has(D.Type) && !c.get(D.Placeholder) ? p.get(D.Type)[I] : D[I] || null;
7607
7607
  }
7608
- setValue(D, Y) {
7609
- return p.has(D.Type) && !c.get(D.Placeholder) ? cn(D[Y], D.Placeholder).format(p.get(D.Type).Placeholder) : D[Y] || null;
7608
+ setValue(D, I) {
7609
+ return p.has(D.Type) && !c.get(D.Placeholder) ? cn(D[I], D.Placeholder).format(p.get(D.Type).Placeholder) : D[I] || null;
7610
7610
  }
7611
7611
  get descriptionWithLink() {
7612
7612
  if (v[this.type] === "Boolean" && this.placeholder || v[this.type] === "Link") {
@@ -7682,9 +7682,9 @@ function Ba(n, t, e) {
7682
7682
  </svg>
7683
7683
  </div>
7684
7684
  </body>
7685
- </html> `, u = (l, [D, Y]) => [
7685
+ </html> `, u = (l, [D, I]) => [
7686
7686
  ...l,
7687
- ...Array.isArray(D) ? [...D.map((q) => [q, Y])] : [[D, Y]]
7687
+ ...Array.isArray(D) ? [...D.map((q) => [q, I])] : [[D, I]]
7688
7688
  ];
7689
7689
  var m;
7690
7690
  (function(l) {
@@ -7761,17 +7761,17 @@ function Ba(n, t, e) {
7761
7761
  [["Html", 19], v.Html],
7762
7762
  [["QR", 20], v.QRCode]
7763
7763
  ].reduce(u, []));
7764
- let { endpoint: H } = t, { session: I } = t, { playersession: z } = t, { lang: ee = "en" } = t, { local: ne = "en-US" } = t, { translationurl: U } = t, { customerid: X } = t, { currency: te } = t, { amount: $ } = t, { assetsurl: B } = t, { type: V = m.Deposit } = t, { selectedpaymentmethodname: ae } = t, { clientstyling: ie = "" } = t, { clientstylingurl: E = "" } = t, { ismobileview: y } = t, k = {}, C = [], M = {}, F, W = !1, Z = !1, oe, re, he, pe, Le, ge, ue, De, ce = [], be = [], Se = !1, Ne, Ke = new Intl.NumberFormat(ne, { minimumFractionDigits: 2 }), Be = "", we = {}, Ye = {}, nn = !1, tn, Ee, Pe, an, xe = !1, mn = "", Ve = !1, Xe = new AbortController(), hn, kn, pn = "", $e = !1, Ge = !1, gn = {};
7764
+ let { endpoint: H } = t, { session: Y } = t, { playersession: z } = t, { lang: ee = "en" } = t, { local: ne = "en-US" } = t, { translationurl: U } = t, { customerid: X } = t, { currency: te } = t, { amount: $ } = t, { assetsurl: B } = t, { type: V = m.Deposit } = t, { selectedpaymentmethodname: ae } = t, { clientstyling: ie = "" } = t, { clientstylingurl: E = "" } = t, { ismobileview: k } = t, M = {}, C = [], y = {}, F, W = !1, Z = !1, oe, re, pe, ge, Le, we, ue, De, me = [], be = [], Se = !1, je, Ke = new Intl.NumberFormat(ne, { minimumFractionDigits: 2 }), Be = "", de = {}, Ee = {}, nn = !1, tn, Oe, Fe, an, xe = !1, mn = "", Ve = !1, Xe = new AbortController(), hn, kn, pn = "", $e = !1, Ge = !1, gn = {};
7765
7765
  const Ln = () => {
7766
7766
  o && on();
7767
7767
  }, on = () => {
7768
7768
  be.length && be.forEach((l) => {
7769
7769
  l && Te(l).destroy();
7770
- }), e(19, Z = !1), e(21, Le = !1), e(15, be = []), e(12, C = []), e(18, M = {}), e(27, we = {}), e(28, Ye = {}), e(14, ce = []), e(17, k = null), e(32, Pe = ""), e(33, xe = !1), e(35, Ve = !0), e(20, he = !1), e(23, ue = null), L(), He();
7770
+ }), e(19, Z = !1), e(21, Le = !1), e(15, be = []), e(12, C = []), e(18, y = {}), e(27, de = {}), e(28, Ee = {}), e(14, me = []), e(17, M = null), e(32, Fe = ""), e(33, xe = !1), e(35, Ve = !0), e(20, pe = !1), e(23, ue = null), L(), He();
7771
7771
  }, ve = () => {
7772
- e(24, Se = y === "true");
7772
+ e(24, Se = k === "true");
7773
7773
  }, wn = () => {
7774
- ce.forEach((l) => {
7774
+ me.forEach((l) => {
7775
7775
  if (l && l.innerText) {
7776
7776
  const D = l.innerText;
7777
7777
  l.innerText = "", new QRCode(l, { text: D, width: 250, height: 250 });
@@ -7800,18 +7800,18 @@ function Ba(n, t, e) {
7800
7800
  be.forEach((D) => {
7801
7801
  if (!D)
7802
7802
  return;
7803
- const Y = JSON.parse(D.dataset.field), q = c.get(Y.placeholder), Me = Y.type === v.DateTime ? c.get(Y.placeholder.split(" ")[1]) : q;
7804
- Te(D, St(An({}, l[Y.type]), {
7803
+ const I = JSON.parse(D.dataset.field), q = c.get(I.placeholder), Me = I.type === v.DateTime ? c.get(I.placeholder.split(" ")[1]) : q;
7804
+ Te(D, St(An({}, l[I.type]), {
7805
7805
  dateFormat: q,
7806
7806
  time_24hr: Me === "H:i",
7807
- maxDate: Y.maxValue,
7808
- minDate: Y.minValue,
7809
- defaultDate: Y.defaultValue,
7807
+ maxDate: I.maxValue,
7808
+ minDate: I.minValue,
7809
+ defaultDate: I.defaultValue,
7810
7810
  onReady: (Ce, fn) => {
7811
- e(18, M[Y.name] = fn, M), yn(Y);
7811
+ e(18, y[I.name] = fn, y), yn(I);
7812
7812
  },
7813
7813
  onClose: (Ce, fn, _e) => {
7814
- Ye[Y.name] ? e(18, M[Y.name] = "", M) : e(18, M[Y.name] = fn, M);
7814
+ Ee[I.name] ? e(18, y[I.name] = "", y) : e(18, y[I.name] = fn, y);
7815
7815
  }
7816
7816
  }));
7817
7817
  });
@@ -7821,8 +7821,8 @@ function Ba(n, t, e) {
7821
7821
  let l = U;
7822
7822
  if (l)
7823
7823
  return fetch(l).then((D) => D.json()).then((D) => {
7824
- Object.keys(D).forEach((Y) => {
7825
- Ht(Y, D[Y]);
7824
+ Object.keys(D).forEach((I) => {
7825
+ Ht(I, D[I]);
7826
7826
  });
7827
7827
  }).catch((D) => {
7828
7828
  });
@@ -7834,16 +7834,16 @@ function Ba(n, t, e) {
7834
7834
  Mn(), Xe = new AbortController();
7835
7835
  const l = Xe.signal;
7836
7836
  e(35, Ve = !0);
7837
- const D = new URL(`${H}/v1/player/${X}/payment/GetPaymentMethod`), Y = new Headers();
7838
- Y.append("accept", "application/json"), Y.append("Content-Type", "application/json"), Y.append("X-Client-Request-Timestamp", cn.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
7837
+ const D = new URL(`${H}/v1/player/${X}/payment/GetPaymentMethod`), I = new Headers();
7838
+ I.append("accept", "application/json"), I.append("Content-Type", "application/json"), I.append("X-Client-Request-Timestamp", cn.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
7839
7839
  const q = {
7840
7840
  method: "POST",
7841
7841
  mode: "cors",
7842
- headers: Y,
7842
+ headers: I,
7843
7843
  body: JSON.stringify({
7844
7844
  PaymentMethodName: ae,
7845
7845
  Currency: te,
7846
- XPaymentSessionToken: I || o,
7846
+ XPaymentSessionToken: Y || o,
7847
7847
  Tags: { UserAgent: window.navigator.userAgent }
7848
7848
  })
7849
7849
  };
@@ -7860,15 +7860,15 @@ function Ba(n, t, e) {
7860
7860
  return;
7861
7861
  }
7862
7862
  if (Me.ResponseCode === f.PlayerSessionIsNotValid || Me.ResponseCode === f.Maintenance || Me.ResponseCode === f.JwtTokenError) {
7863
- e(32, Pe = Me.ResponseCode), L();
7863
+ e(32, Fe = Me.ResponseCode), L();
7864
7864
  return;
7865
7865
  }
7866
7866
  if (Me.ResponseCode !== f.Success) {
7867
- e(32, Pe = Me.ResponseCode);
7867
+ e(32, Fe = Me.ResponseCode);
7868
7868
  return;
7869
7869
  }
7870
- Me.XPaymentSessionToken && ct.set(Me.XPaymentSessionToken), e(17, k = Me.PaymentMethod), e(31, Ee = Number($) || null), k.HideAmountField ? e(26, Be = "") : Cn(), pe = w.get(k.RedirectionMode) || w.get("Default"), Me.PaymentMethod.Settings && (Me.PaymentMethod.Settings.ValidationPageType && Me.PaymentMethod.Settings.ValidationMethodType ? (Ge = !0, gn = Me.PaymentMethod.Settings) : Ge = !1), e(36, hn = (k == null ? void 0 : k.Logos.find((Ce) => Ce.LogoType === "Desktop")) || {}), e(37, kn = (k == null ? void 0 : k.Logos.find((Ce) => Ce.LogoType === "Mobile")) || {}), e(12, C = k.Fields && k.Fields.map((Ce) => new s(Ce))), C.forEach((Ce) => {
7871
- Ce != null && Ce.defaultValue && e(18, M[Ce.name] = Ce.defaultValue, M), Fe(Ce);
7870
+ Me.XPaymentSessionToken && ct.set(Me.XPaymentSessionToken), e(17, M = Me.PaymentMethod), e(31, Oe = Number($) || null), M.HideAmountField ? e(26, Be = "") : Cn(), ge = w.get(M.RedirectionMode) || w.get("Default"), Me.PaymentMethod.Settings && (Me.PaymentMethod.Settings.ValidationPageType && Me.PaymentMethod.Settings.ValidationMethodType ? (Ge = !0, gn = Me.PaymentMethod.Settings) : Ge = !1), e(36, hn = (M == null ? void 0 : M.Logos.find((Ce) => Ce.LogoType === "Desktop")) || {}), e(37, kn = (M == null ? void 0 : M.Logos.find((Ce) => Ce.LogoType === "Mobile")) || {}), e(12, C = M.Fields && M.Fields.map((Ce) => new s(Ce))), C.forEach((Ce) => {
7871
+ Ce != null && Ce.defaultValue && e(18, y[Ce.name] = Ce.defaultValue, y), Ne(Ce);
7872
7872
  }), G(), L(), Re(), window.postMessage(
7873
7873
  {
7874
7874
  type: "StartSessionCountdown",
@@ -7887,8 +7887,8 @@ function Ba(n, t, e) {
7887
7887
  l.innerHTML = ie, F.appendChild(l);
7888
7888
  }, a = () => {
7889
7889
  let l = new URL(E), D = document.createElement("style");
7890
- fetch(l.href).then((Y) => Y.text()).then((Y) => {
7891
- D.innerHTML = Y, setTimeout(
7890
+ fetch(l.href).then((I) => I.text()).then((I) => {
7891
+ D.innerHTML = I, setTimeout(
7892
7892
  () => {
7893
7893
  F.appendChild(D);
7894
7894
  },
@@ -7902,7 +7902,7 @@ function Ba(n, t, e) {
7902
7902
  }, i = (l) => {
7903
7903
  switch (l.data.type) {
7904
7904
  case "ErrorResponseCode":
7905
- e(32, Pe = l.data.errorResponseCode), e(19, Z = l.data.showErrorOutsideReceiptPage);
7905
+ e(32, Fe = l.data.errorResponseCode), e(19, Z = l.data.showErrorOutsideReceiptPage);
7906
7906
  break;
7907
7907
  case "ReceiptLoaded":
7908
7908
  case "CloseIframe":
@@ -7912,7 +7912,7 @@ function Ba(n, t, e) {
7912
7912
  P();
7913
7913
  break;
7914
7914
  case "CloseCashierReceiptPage":
7915
- He(), jn();
7915
+ He(), jn(), on();
7916
7916
  break;
7917
7917
  case "CloseModal":
7918
7918
  en();
@@ -7924,19 +7924,19 @@ function Ba(n, t, e) {
7924
7924
  Nn();
7925
7925
  break;
7926
7926
  case "CloseReceiptInSecondTab":
7927
- e(20, he = !1);
7927
+ e(20, pe = !1);
7928
7928
  break;
7929
7929
  case "2FAResponse":
7930
7930
  pn = l.data.code, $e = !0, T();
7931
7931
  break;
7932
7932
  case "2FACancel":
7933
- $e = !1, e(22, ge = !1);
7933
+ $e = !1, e(22, we = !1);
7934
7934
  break;
7935
7935
  case "2FAAuthFailed":
7936
- e(32, Pe = "2FA Kimlik Doğrulaması başarısız oldu"), $e = !1, e(22, ge = !1), e(33, xe = !0), window.postMessage(
7936
+ e(32, Fe = "2FA Kimlik Doğrulaması başarısız oldu"), $e = !1, e(22, we = !1), e(33, xe = !0), window.postMessage(
7937
7937
  {
7938
7938
  type: "ShowCashierModal",
7939
- modalErrorMessage: Pe
7939
+ modalErrorMessage: Fe
7940
7940
  },
7941
7941
  window.location.href
7942
7942
  );
@@ -7947,41 +7947,41 @@ function Ba(n, t, e) {
7947
7947
  window.removeEventListener("selectPayMeth", ln, !1), window.removeEventListener("message", i);
7948
7948
  }));
7949
7949
  const d = (l) => {
7950
- ue && (e(27, we[ue] = !0, we), Fe(C.find((D) => D.name === ue))), l.composedPath().includes(De) || e(23, ue = null);
7950
+ ue && (e(27, de[ue] = !0, de), Ne(C.find((D) => D.name === ue))), l.composedPath().includes(De) || e(23, ue = null);
7951
7951
  }, b = (l, D) => {
7952
7952
  if (D === ue) {
7953
- e(27, we[ue] = !0, we), Fe(C.find((Vr) => Vr.name === ue)), e(23, ue = null);
7953
+ e(27, de[ue] = !0, de), Ne(C.find((Vr) => Vr.name === ue)), e(23, ue = null);
7954
7954
  return;
7955
7955
  }
7956
7956
  l.stopPropagation(), De = l.composedPath()[0];
7957
- const Y = De.getBoundingClientRect(), q = F.getBoundingClientRect(), Me = Y.y, Ce = 200;
7958
- e(29, nn = window.innerHeight - Me < Ce || q.bottom - Y.bottom < Ce);
7959
- const fn = Y.top - q.top - Y.height, _e = q.bottom - Y.bottom - Y.height, Br = !nn && _e < 70 ? Ce - 50 : _e;
7957
+ const I = De.getBoundingClientRect(), q = F.getBoundingClientRect(), Me = I.y, Ce = 200;
7958
+ e(29, nn = window.innerHeight - Me < Ce || q.bottom - I.bottom < Ce);
7959
+ const fn = I.top - q.top - I.height, _e = q.bottom - I.bottom - I.height, Br = !nn && _e < 70 ? Ce - 50 : _e;
7960
7960
  e(30, tn = nn ? fn : Br), e(23, ue = D);
7961
7961
  }, T = () => {
7962
7962
  if (an)
7963
7963
  return;
7964
- e(22, ge = !0);
7964
+ e(22, we = !0);
7965
7965
  const l = new URL(`${H}/v1/player/${X}/payment/GetPaymentPrepare`), D = new Headers();
7966
7966
  D.append("accept", "application/json"), D.append("Content-Type", "application/json"), D.append("X-Client-Request-Timestamp", cn.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), J();
7967
- const Y = M.PaymentAccountToken == "AddNewPaymentAccount";
7968
- Ge = Ge && Y;
7967
+ const I = y.PaymentAccountToken == "AddNewPaymentAccount";
7968
+ Ge = Ge && I;
7969
7969
  let q = "", Me = {
7970
7970
  XPaymentSessionToken: o,
7971
7971
  Transaction: {
7972
- PaymentMethod: k.Name,
7973
- Amount: Ee || Number($),
7972
+ PaymentMethod: M.Name,
7973
+ Amount: Oe || Number($),
7974
7974
  Currency: te,
7975
- CustomFields: $e ? St(An({}, M), {
7975
+ CustomFields: $e ? St(An({}, y), {
7976
7976
  ValidationNonce: pn
7977
- }) : M
7977
+ }) : y
7978
7978
  },
7979
7979
  Account: {},
7980
7980
  Tags: An({
7981
7981
  UserAgent: window.navigator.userAgent
7982
7982
  }, Ge && An({}, gn))
7983
7983
  };
7984
- Ge && e(18, M.SaveMyPaymentAccount = M.SaveMyPaymentAccount || !1, M);
7984
+ Ge && e(18, y.SaveMyPaymentAccount = y.SaveMyPaymentAccount || !1, y);
7985
7985
  try {
7986
7986
  q = JSON.stringify(Me);
7987
7987
  } catch (_e) {
@@ -7996,7 +7996,7 @@ function Ba(n, t, e) {
7996
7996
  let fn;
7997
7997
  fetch(l, Ce).then((_e) => (fn = _e.status, _e.json())).then((_e) => {
7998
7998
  if (fn == 400 && _e.RedirectionMode !== "Redirect") {
7999
- e(32, Pe = _e.ResponseMessage), e(22, ge = !1), J(), x();
7999
+ e(32, Fe = _e.ResponseMessage), e(22, we = !1), J(), x();
8000
8000
  return;
8001
8001
  }
8002
8002
  if (Ge && !$e && fn !== 200)
@@ -8016,13 +8016,13 @@ function Ba(n, t, e) {
8016
8016
  return;
8017
8017
  }
8018
8018
  if (_e.ResponseCode !== f.Success) {
8019
- e(32, Pe = _e.ResponseCode), e(22, ge = !1), J(), _e.ResponseCode === f.PlayerSessionIsNotValid || _e.ResponseCode === f.Maintenance || _e.ResponseCode === f.JwtTokenError ? L() : x();
8019
+ e(32, Fe = _e.ResponseCode), e(22, we = !1), J(), _e.ResponseCode === f.PlayerSessionIsNotValid || _e.ResponseCode === f.Maintenance || _e.ResponseCode === f.JwtTokenError ? L() : x();
8020
8020
  return;
8021
8021
  }
8022
- _e.XPaymentSessionToken && ct.set(_e.XPaymentSessionToken), e(22, ge = !1), W = !0, G(), J(), window.postMessage(
8022
+ _e.XPaymentSessionToken && ct.set(_e.XPaymentSessionToken), e(22, we = !1), W = !0, G(), J(), window.postMessage(
8023
8023
  {
8024
8024
  type: "StartSessionCountdown",
8025
- selectedPaymentMethodName: k.Name
8025
+ selectedPaymentMethodName: M.Name
8026
8026
  },
8027
8027
  window.location.href
8028
8028
  );
@@ -8032,7 +8032,7 @@ function Ba(n, t, e) {
8032
8032
  window.postMessage(
8033
8033
  {
8034
8034
  type: "ErrorResponseCode",
8035
- errorResponseCode: Pe
8035
+ errorResponseCode: Fe
8036
8036
  },
8037
8037
  window.location.href
8038
8038
  );
@@ -8041,8 +8041,8 @@ function Ba(n, t, e) {
8041
8041
  {
8042
8042
  type: "ShowConfirmModal",
8043
8043
  showConfirmModal: W,
8044
- editedAmount: Ee,
8045
- hideAmountField: k.HideAmountField
8044
+ editedAmount: Oe,
8045
+ hideAmountField: M.HideAmountField
8046
8046
  },
8047
8047
  window.location.href
8048
8048
  );
@@ -8050,7 +8050,7 @@ function Ba(n, t, e) {
8050
8050
  window.postMessage(
8051
8051
  {
8052
8052
  type: "RedirectInfo",
8053
- redirectMode: pe,
8053
+ redirectMode: ge,
8054
8054
  redirectUrl: oe
8055
8055
  },
8056
8056
  window.location.href
@@ -8059,21 +8059,21 @@ function Ba(n, t, e) {
8059
8059
  e(33, xe = !0), window.postMessage(
8060
8060
  {
8061
8061
  type: "ShowCashierModal",
8062
- modalErrorMessage: Pe
8062
+ modalErrorMessage: Fe
8063
8063
  },
8064
8064
  window.location.href
8065
8065
  );
8066
8066
  }, P = () => {
8067
- window.postMessage({ type: "BackToMethodList" }, window.location.href), de();
8067
+ window.postMessage({ type: "BackToMethodList" }, window.location.href), fe();
8068
8068
  }, J = () => {
8069
8069
  window.postMessage(
8070
8070
  {
8071
8071
  type: "ToggleDisableActionOnPage",
8072
- disable: ge
8072
+ disable: we
8073
8073
  },
8074
8074
  window.location.href
8075
8075
  );
8076
- }, de = () => {
8076
+ }, fe = () => {
8077
8077
  Ve && Mn(), window.postMessage(
8078
8078
  {
8079
8079
  type: "HidePaymentDetails",
@@ -8089,17 +8089,17 @@ function Ba(n, t, e) {
8089
8089
  },
8090
8090
  window.location.href
8091
8091
  );
8092
- }, Oe = () => {
8092
+ }, Pe = () => {
8093
8093
  window.postMessage({ "MMFE:vendorRedirect": oe }, window.location.href);
8094
8094
  }, rn = () => {
8095
8095
  oe = null, e(19, Z = !0), N();
8096
8096
  }, en = () => {
8097
8097
  W = !1;
8098
8098
  }, Pn = () => {
8099
- e(22, ge = !0);
8099
+ e(22, we = !0);
8100
8100
  const l = new URL(`${H}/v1/player/${X}/payment/GetPaymentConfirm`), D = new Headers();
8101
8101
  D.append("accept", "application/json"), D.append("Content-Type", "application/json"), D.append("X-Client-Request-Timestamp", cn.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), J();
8102
- const Y = {
8102
+ const I = {
8103
8103
  method: "POST",
8104
8104
  mode: "cors",
8105
8105
  headers: D,
@@ -8107,29 +8107,29 @@ function Ba(n, t, e) {
8107
8107
  XPaymentSessionToken: o
8108
8108
  })
8109
8109
  };
8110
- vn(), fetch(l, Y).then((q) => q.json()).then((q) => {
8110
+ vn(), fetch(l, I).then((q) => q.json()).then((q) => {
8111
8111
  if (q.ResponseCode !== f.Success) {
8112
- e(32, Pe = q.ResponseCode), e(22, ge = !1), J(), re == null || re.close(), q.ResponseCode === f.PlayerSessionIsNotValid || q.ResponseCode === f.Maintenance || q.ResponseCode === f.JwtTokenError ? L() : x();
8112
+ e(32, Fe = q.ResponseCode), e(22, we = !1), J(), re == null || re.close(), q.ResponseCode === f.PlayerSessionIsNotValid || q.ResponseCode === f.Maintenance || q.ResponseCode === f.JwtTokenError ? L() : x();
8113
8113
  return;
8114
8114
  }
8115
- q.XPaymentSessionToken && ct.set(q.XPaymentSessionToken), e(34, mn = q.Transaction.Code), oe = q.RedirectUrl, e(22, ge = !1), e(38, un = !1), on(), J(), N(), window.postMessage(
8115
+ q.XPaymentSessionToken && ct.set(q.XPaymentSessionToken), e(34, mn = q.Transaction.Code), oe = q.RedirectUrl, e(22, we = !1), e(38, un = !1), J(), N(), window.postMessage(
8116
8116
  {
8117
8117
  type: "StartSessionCountdown",
8118
8118
  selectedpaymentmethodname: ae
8119
8119
  },
8120
8120
  window.location.href
8121
- ), oe || e(19, Z = !0), pe !== g.Default && (Oe(), Fn(q.RedirectUrl));
8121
+ ), oe || e(19, Z = !0), ge !== g.Default && (Pe(), Fn(q.RedirectUrl));
8122
8122
  });
8123
8123
  }, vn = () => {
8124
- if (pe === g.Redirect) {
8124
+ if (ge === g.Redirect) {
8125
8125
  re = window.open("", pt), re.document.write(h);
8126
8126
  let l = document.createElement("style");
8127
8127
  l.innerHTML = ie, re.document.body.appendChild(l);
8128
8128
  }
8129
8129
  }, Fn = (l) => {
8130
- pe === g.Redirect && re ? re.location.href = oe : (pe === g.RedirectWithRetry || !re) && (re = window.open(l, pt), e(21, Le = !re)), e(20, he = !!re);
8130
+ ge === g.Redirect && re ? re.location.href = oe : (ge === g.RedirectWithRetry || !re) && (re = window.open(l, pt), e(21, Le = !re)), e(20, pe = !!re);
8131
8131
  }, Nn = () => {
8132
- re = window.open(oe, pt), e(20, he = !0), e(21, Le = !1), N();
8132
+ re = window.open(oe, pt), e(20, pe = !0), e(21, Le = !1), N();
8133
8133
  }, jn = () => {
8134
8134
  e(19, Z = !1);
8135
8135
  }, Dn = (l) => {
@@ -8143,90 +8143,90 @@ function Ba(n, t, e) {
8143
8143
  window.location.href
8144
8144
  );
8145
8145
  }, Sn = (l, D) => {
8146
- e(18, M[l.name] = D, M), C.filter((Y) => Y.correlationFieldName).forEach((Y) => Fe(Y));
8146
+ e(18, y[l.name] = D, y), C.filter((I) => I.correlationFieldName).forEach((I) => Ne(I));
8147
8147
  }, In = (l, D) => D ? l.find((q) => q.Name === D).Value : "", Yn = (l) => l == !0 ? "True" : l == !1 ? "False" : l;
8148
8148
  let un = !1, dn;
8149
8149
  const Hn = (l) => {
8150
8150
  if (!l.correlationFieldName)
8151
8151
  return !0;
8152
8152
  C.filter((q) => q.correlationFieldName === l.name).forEach((q) => {
8153
- q.name == "PaymentAccountAlias" && (q.correlationFieldValue.includes(Yn(M[q.correlationFieldName])) ? (e(38, un = !0), e(39, dn = q)) : e(38, un = !1));
8153
+ q.name == "PaymentAccountAlias" && (q.correlationFieldValue.includes(Yn(y[q.correlationFieldName])) ? (e(38, un = !0), e(39, dn = q), e(18, y.PaymentAccountAlias = "", y), e(28, Ee.PaymentAccountAlias = "error", Ee)) : (e(38, un = !1), e(28, Ee.PaymentAccountAlias = "", Ee), e(18, y.PaymentAccountAlias = "", y), e(27, de.PaymentAccountAlias = !1, de)));
8154
8154
  });
8155
- const Y = l.correlationFieldValue.includes(M[l.correlationFieldName]);
8156
- return l.name !== "PaymentAccountAlias" && !Y && M[l.name] && delete M[l.name], Y;
8155
+ const I = l.correlationFieldValue.includes(y[l.correlationFieldName]);
8156
+ return l.name !== "PaymentAccountAlias" && !I && y[l.name] && delete y[l.name], I;
8157
8157
  }, Zn = () => r("amountMultiplier", {
8158
8158
  values: {
8159
- multiplier: k.AmountMultiplier
8159
+ multiplier: M.AmountMultiplier
8160
8160
  }
8161
- }), xn = () => !Ee && Ee !== 0 ? r("errorEmptyField") : "", $n = () => k.DisplayCurrency.MinAmountLimit > Ee ? r("minAmountError", {
8161
+ }), xn = () => !Oe && Oe !== 0 ? r("errorEmptyField") : "", $n = () => M.DisplayCurrency.MinAmountLimit > Oe ? r("minAmountError", {
8162
8162
  values: {
8163
- amount: Ke.format(k.DisplayCurrency.MinAmountLimit),
8164
- currency: k.DisplayCurrency.Name
8163
+ amount: Ke.format(M.DisplayCurrency.MinAmountLimit),
8164
+ currency: M.DisplayCurrency.Name
8165
8165
  }
8166
- }) : "", et = () => k.DisplayCurrency.MaxAmountLimit < Ee ? r("maxAmountError", {
8166
+ }) : "", et = () => M.DisplayCurrency.MaxAmountLimit < Oe ? r("maxAmountError", {
8167
8167
  values: {
8168
- amount: Ke.format(k.DisplayCurrency.MaxAmountLimit),
8169
- currency: k.DisplayCurrency.Name
8168
+ amount: Ke.format(M.DisplayCurrency.MaxAmountLimit),
8169
+ currency: M.DisplayCurrency.Name
8170
8170
  }
8171
- }) : "", nt = () => k.AmountMultiplier && Ee % k.AmountMultiplier !== 0 ? r("amountMultiplierError", {
8171
+ }) : "", nt = () => M.AmountMultiplier && Oe % M.AmountMultiplier !== 0 ? r("amountMultiplierError", {
8172
8172
  values: {
8173
- multiplier: k.AmountMultiplier
8173
+ multiplier: M.AmountMultiplier
8174
8174
  }
8175
- }) : "", tt = () => k.IsIntegerAmount && !Number.isInteger(Ee) ? r("amountIntError") : "", rt = () => Number(Ee).toFixed(2) != +Ee ? r("amountDecimalError") : "", at = (l, D) => {
8175
+ }) : "", tt = () => M.IsIntegerAmount && !Number.isInteger(Oe) ? r("amountIntError") : "", rt = () => Number(Oe).toFixed(2) != +Oe ? r("amountDecimalError") : "", at = (l, D) => {
8176
8176
  if (!l)
8177
8177
  return !0;
8178
- let Y, q;
8179
- return typeof l == "string" ? (q = "", l.charAt(0) !== "^" && (q += "^"), q += l, l.charAt(l.length - 1) !== "$" && (q += "$"), Y = new RegExp(q)) : (q = l.toString(), Y = l), Y.test(D);
8178
+ let I, q;
8179
+ return typeof l == "string" ? (q = "", l.charAt(0) !== "^" && (q += "^"), q += l, l.charAt(l.length - 1) !== "$" && (q += "$"), I = new RegExp(q)) : (q = l.toString(), I = l), I.test(D);
8180
8180
  }, Bn = (l, D) => l.format && D && !at(l.format, D) ? r("invalidFieldError", { values: { field: l.label } }) : "", Vn = (l, D) => typeof D != "boolean" && l.isRequired && (!D || !D.toString().trim()) ? r("errorEmptyField") : "", Un = (l) => {
8181
8181
  ["+", "-", "e", "E"].includes(l.key) && l.preventDefault();
8182
8182
  }, Cn = () => {
8183
8183
  e(26, Be = xn() || $n() || et() || nt() || tt() || rt());
8184
8184
  }, yn = (l) => {
8185
- const D = M[l.name], Y = l.placeholder, q = cn(D, Y), Me = cn(l.maxValue, Y), Ce = cn(l.minValue, Y);
8185
+ const D = y[l.name], I = l.placeholder, q = cn(D, I), Me = cn(l.maxValue, I), Ce = cn(l.minValue, I);
8186
8186
  if (q.isBefore(Ce) || q.isAfter(Me)) {
8187
- e(28, Ye[l.name] = r("invalidFieldError", { values: { field: l.label } }), Ye);
8187
+ e(28, Ee[l.name] = r("invalidFieldError", { values: { field: l.label } }), Ee);
8188
8188
  return;
8189
8189
  }
8190
8190
  e(
8191
8191
  28,
8192
- Ye[l.name] = Hn(l) ? Vn(l, D) || Bn(l, D) : "",
8193
- Ye
8192
+ Ee[l.name] = Hn(l) ? Vn(l, D) || Bn(l, D) : "",
8193
+ Ee
8194
8194
  );
8195
- }, Fe = (l) => {
8196
- const D = M[l.name];
8195
+ }, Ne = (l, D = !1) => {
8196
+ const I = y[l.name];
8197
8197
  e(
8198
8198
  28,
8199
- Ye[l.name] = Hn(l) ? Vn(l, D) || Bn(l, D) : "",
8200
- Ye
8199
+ Ee[l.name] = Hn(l) || D ? Vn(l, I) || Bn(l, I) : "",
8200
+ Ee
8201
8201
  );
8202
- }, it = (l, D) => (an = !!l || Object.values(D).some((Y) => !!Y), an);
8202
+ }, it = (l, D) => (an = !!l || Object.values(D).some((I) => !!I), an);
8203
8203
  function ot() {
8204
- e(25, Ne = kr.innerWidth);
8204
+ e(25, je = kr.innerWidth);
8205
8205
  }
8206
8206
  const lt = () => P();
8207
8207
  function st() {
8208
- Ee = gt(this.value), e(31, Ee);
8208
+ Oe = gt(this.value), e(31, Oe);
8209
8209
  }
8210
8210
  const ut = () => Cn(), dt = (l) => Un(l), ft = () => {
8211
- e(27, we.amount = !0, we), Cn();
8211
+ e(27, de.amount = !0, de), Cn();
8212
8212
  };
8213
8213
  function Mt(l) {
8214
- M[l.name] = this.value, e(18, M);
8214
+ y[l.name] = this.value, e(18, y);
8215
8215
  }
8216
8216
  const se = (l) => {
8217
- Fe(l);
8217
+ Ne(l);
8218
8218
  }, Qe = (l) => {
8219
- e(27, we[l.name] = !0, we), Fe(l);
8219
+ e(27, de[l.name] = !0, de), Ne(l);
8220
8220
  };
8221
8221
  function Rn(l) {
8222
- M[l.name] = this.value, e(18, M);
8222
+ y[l.name] = this.value, e(18, y);
8223
8223
  }
8224
8224
  const qn = (l) => {
8225
- e(27, we[l.name] = !0, we), yn(l);
8225
+ e(27, de[l.name] = !0, de), yn(l);
8226
8226
  }, Dt = (l) => {
8227
- e(27, we[l.name] = !0, we), yn(l);
8227
+ e(27, de[l.name] = !0, de), yn(l);
8228
8228
  }, Kn = (l) => {
8229
- e(27, we[l.name] = !0, we), yn(l);
8229
+ e(27, de[l.name] = !0, de), yn(l);
8230
8230
  };
8231
8231
  function Dr(l) {
8232
8232
  Ct[l ? "unshift" : "push"](() => {
@@ -8234,53 +8234,53 @@ function Ba(n, t, e) {
8234
8234
  });
8235
8235
  }
8236
8236
  function Sr(l) {
8237
- M[l.name] = gt(this.value), e(18, M);
8237
+ y[l.name] = gt(this.value), e(18, y);
8238
8238
  }
8239
8239
  const Cr = (l) => {
8240
- Fe(l);
8240
+ Ne(l);
8241
8241
  }, Ar = (l) => {
8242
- e(27, we[l.name] = !0, we), Fe(l);
8242
+ e(27, de[l.name] = !0, de), Ne(l);
8243
8243
  };
8244
8244
  function _r(l) {
8245
- M[l.name] = this.value, e(18, M);
8245
+ y[l.name] = this.value, e(18, y);
8246
8246
  }
8247
8247
  const Tr = (l) => {
8248
- Fe(l);
8248
+ Ne(l);
8249
8249
  }, Lr = (l) => {
8250
- e(27, we[l.name] = !0, we), Fe(l);
8250
+ e(27, de[l.name] = !0, de), Ne(l);
8251
8251
  };
8252
8252
  function Er(l) {
8253
- M[l.name] = this.value, e(18, M);
8253
+ y[l.name] = this.value, e(18, y);
8254
8254
  }
8255
8255
  const Or = (l, D) => b(D, l.name), Pr = (l, D) => {
8256
8256
  Sn(l, D.Name), e(12, C);
8257
8257
  };
8258
8258
  function Fr(l) {
8259
- M[l.name] = this.checked, e(18, M);
8259
+ y[l.name] = this.checked, e(18, y);
8260
8260
  }
8261
8261
  const Nr = (l) => {
8262
- e(27, we[l.name] = !0, we), Fe(l);
8262
+ e(27, de[l.name] = !0, de), Ne(l);
8263
8263
  };
8264
8264
  function jr(l) {
8265
8265
  Ct[l ? "unshift" : "push"](() => {
8266
- ce[ce.length] = l, e(14, ce);
8266
+ me[me.length] = l, e(14, me);
8267
8267
  });
8268
8268
  }
8269
8269
  const Ir = (l) => {
8270
8270
  Dn(l.description);
8271
8271
  };
8272
8272
  function Yr(l) {
8273
- M[l.name] = this.value, e(18, M);
8273
+ y[l.name] = this.value, e(18, y);
8274
8274
  }
8275
8275
  function Hr() {
8276
- M[dn.name] = this.value, e(18, M);
8276
+ y[dn.name] = this.value, e(18, y);
8277
8277
  }
8278
8278
  const Rr = () => {
8279
- Fe(dn);
8279
+ Ne(dn, !0);
8280
8280
  }, Jr = () => {
8281
- e(27, we[dn.name] = !0, we), Fe(dn);
8281
+ e(27, de[dn.name] = !0, de), Ne(dn, !0);
8282
8282
  }, Wr = () => {
8283
- e(20, he = !1);
8283
+ e(20, pe = !1);
8284
8284
  };
8285
8285
  function zr(l) {
8286
8286
  Ct[l ? "unshift" : "push"](() => {
@@ -8288,20 +8288,20 @@ function Ba(n, t, e) {
8288
8288
  });
8289
8289
  }
8290
8290
  return n.$$set = (l) => {
8291
- "endpoint" in l && e(0, H = l.endpoint), "session" in l && e(56, I = l.session), "playersession" in l && e(1, z = l.playersession), "lang" in l && e(2, ee = l.lang), "local" in l && e(3, ne = l.local), "translationurl" in l && e(4, U = l.translationurl), "customerid" in l && e(5, X = l.customerid), "currency" in l && e(6, te = l.currency), "amount" in l && e(7, $ = l.amount), "assetsurl" in l && e(8, B = l.assetsurl), "type" in l && e(9, V = l.type), "selectedpaymentmethodname" in l && e(57, ae = l.selectedpaymentmethodname), "clientstyling" in l && e(10, ie = l.clientstyling), "clientstylingurl" in l && e(11, E = l.clientstylingurl), "ismobileview" in l && e(58, y = l.ismobileview);
8291
+ "endpoint" in l && e(0, H = l.endpoint), "session" in l && e(56, Y = l.session), "playersession" in l && e(1, z = l.playersession), "lang" in l && e(2, ee = l.lang), "local" in l && e(3, ne = l.local), "translationurl" in l && e(4, U = l.translationurl), "customerid" in l && e(5, X = l.customerid), "currency" in l && e(6, te = l.currency), "amount" in l && e(7, $ = l.amount), "assetsurl" in l && e(8, B = l.assetsurl), "type" in l && e(9, V = l.type), "selectedpaymentmethodname" in l && e(57, ae = l.selectedpaymentmethodname), "clientstyling" in l && e(10, ie = l.clientstyling), "clientstylingurl" in l && e(11, E = l.clientstylingurl), "ismobileview" in l && e(58, k = l.ismobileview);
8292
8292
  }, n.$$.update = () => {
8293
8293
  n.$$.dirty[0] & /*endpoint, currency*/
8294
8294
  65 | n.$$.dirty[1] & /*session, selectedpaymentmethodname*/
8295
- 100663296 && H && I && ae && te && on(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
8295
+ 100663296 && H && Y && ae && te && on(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
8296
8296
  9216 && ie && F && On(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
8297
8297
  10240 && E && F && a(), n.$$.dirty[0] & /*lang*/
8298
8298
  4 && ee && sn(), n.$$.dirty[0] & /*lang, translationurl*/
8299
8299
  20 && ee && U && bn(), n.$$.dirty[1] & /*ismobileview*/
8300
- 134217728 && y && ve(), n.$$.dirty[0] & /*fields, qrCodeContainer*/
8301
- 20480 && C.length && ce.length && wn(), n.$$.dirty[0] & /*fields, flatpickrEl*/
8300
+ 134217728 && k && ve(), n.$$.dirty[0] & /*fields, qrCodeContainer*/
8301
+ 20480 && C.length && me.length && wn(), n.$$.dirty[0] & /*fields, flatpickrEl*/
8302
8302
  36864 && C.length && be.length && En(), n.$$.dirty[0] & /*endpoint, currency*/
8303
8303
  65 | n.$$.dirty[1] & /*session, selectedpaymentmethodname*/
8304
- 100663296 && H && !I && ae && te && Ln();
8304
+ 100663296 && H && !Y && ae && te && Ln();
8305
8305
  }, [
8306
8306
  H,
8307
8307
  z,
@@ -8317,25 +8317,25 @@ function Ba(n, t, e) {
8317
8317
  E,
8318
8318
  C,
8319
8319
  F,
8320
- ce,
8320
+ me,
8321
8321
  be,
8322
8322
  v,
8323
- k,
8324
8323
  M,
8324
+ y,
8325
8325
  Z,
8326
- he,
8326
+ pe,
8327
8327
  Le,
8328
- ge,
8328
+ we,
8329
8329
  ue,
8330
8330
  Se,
8331
- Ne,
8331
+ je,
8332
8332
  Be,
8333
- we,
8334
- Ye,
8333
+ de,
8334
+ Ee,
8335
8335
  nn,
8336
8336
  tn,
8337
- Ee,
8338
- Pe,
8337
+ Oe,
8338
+ Fe,
8339
8339
  xe,
8340
8340
  mn,
8341
8341
  Ve,
@@ -8356,12 +8356,12 @@ function Ba(n, t, e) {
8356
8356
  Un,
8357
8357
  Cn,
8358
8358
  yn,
8359
- Fe,
8359
+ Ne,
8360
8360
  it,
8361
8361
  s,
8362
- I,
8362
+ Y,
8363
8363
  ae,
8364
- y,
8364
+ k,
8365
8365
  ot,
8366
8366
  lt,
8367
8367
  st,