@everymatrix/cashier-page 1.93.40 → 1.93.41

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 (67) hide show
  1. package/components/{CashierCarousel-DwrGzk7c.js → CashierCarousel-BF_HlGOD.js} +286 -250
  2. package/components/{CashierCarousel-DMrMmClP.cjs → CashierCarousel-BekweMPA.cjs} +5 -5
  3. package/components/{CashierCarousel-DJXsZKF9.js → CashierCarousel-CLJ0LFIF.js} +268 -232
  4. package/components/CashierError-BbVldMYx.js +833 -0
  5. package/components/CashierError-_gnSAmvS.js +817 -0
  6. package/components/CashierError-fUSdzhdH.cjs +1 -0
  7. package/components/CashierHeader-CCqfqjfy.cjs +1 -0
  8. package/components/{CashierHeader-DJYOdmdi.js → CashierHeader-D9k7KIOI.js} +130 -109
  9. package/components/{CashierHeader-BNDmkX5f.js → CashierHeader-DTBnopYC.js} +131 -110
  10. package/components/{CashierIframeRedirect-CbC9sVb1.js → CashierIframeRedirect-B3zzWY9U.js} +48 -39
  11. package/components/CashierIframeRedirect-BjtL1epU.cjs +1 -0
  12. package/components/{CashierIframeRedirect-CF8dL6ee.js → CashierIframeRedirect-FZgVK5wR.js} +48 -39
  13. package/components/{CashierMethodDetails-RvdJ1C5s.js → CashierMethodDetails-KYord9AV.js} +2299 -2000
  14. package/components/CashierMethodDetails-_67TFZ8e.cjs +85 -0
  15. package/components/{CashierMethodDetails-D5zqf686.js → CashierMethodDetails-sqVvZ97J.js} +2085 -1786
  16. package/components/{CashierMethodsList-lFN0tDnv.js → CashierMethodsList-BkdHLzG_.js} +178 -134
  17. package/components/{CashierMethodsList-Cbh3LWkT.js → CashierMethodsList-D9HNzA2H.js} +202 -158
  18. package/components/CashierMethodsList-DuMpJ709.cjs +1 -0
  19. package/components/{CashierModal-ZV_9oeml.js → CashierModal-CSQpOKaO.js} +1 -1
  20. package/components/{CashierModal-BLrymidc.cjs → CashierModal-D_cTbvqs.cjs} +1 -1
  21. package/components/{CashierModal-CV1Fn4BP.js → CashierModal-o_uhTD6s.js} +1 -1
  22. package/components/{CashierNotifications-C_xReVni.js → CashierNotifications-B-gpCpQP.js} +1 -1
  23. package/components/{CashierNotifications-DHKh64xU.js → CashierNotifications-DZHeYrIW.js} +1 -1
  24. package/components/{CashierNotifications-B8bRZMac.cjs → CashierNotifications-O-t5pi8m.cjs} +1 -1
  25. package/components/CashierPage-B3SciGJL.cjs +1 -0
  26. package/components/{CashierPage-CD2qxexq.js → CashierPage-C880yzJN.js} +1487 -1333
  27. package/components/{CashierPage-2KmHM6zH.js → CashierPage-Dp6qWNTR.js} +1734 -1580
  28. package/components/{CashierReceiptPage-DECgCKrA.cjs → CashierReceiptPage-DNAim9Cr.cjs} +2 -2
  29. package/components/{CashierReceiptPage-yyz93m_1.js → CashierReceiptPage-G24iBxV-.js} +799 -523
  30. package/components/{CashierReceiptPage-BHu7eFQe.js → CashierReceiptPage-pyAnCnEZ.js} +758 -482
  31. package/components/{CashierSessionExpirationModal-DSlaopTF.js → CashierSessionExpirationModal-BSoPp4VY.js} +353 -329
  32. package/components/CashierSessionExpirationModal-DWEZf8me.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-DulGbuH9.js → CashierSessionExpirationModal-VOUfMaj5.js} +325 -301
  34. package/components/{CashierSpinner-D3HhhmOb.js → CashierSpinner-B0vWR4K9.js} +1 -1
  35. package/components/{CashierSpinner-DKYO0FtD.cjs → CashierSpinner-BNkBVuft.cjs} +1 -1
  36. package/components/{CashierSpinner-DyemUXs_.js → CashierSpinner-Dg8R5Bdz.js} +1 -1
  37. package/components/CashierStepUp-BFJ7us6S.cjs +1 -0
  38. package/components/{CashierStepUp-CSZd5C7z.js → CashierStepUp-CDPGUhQW.js} +462 -393
  39. package/components/{CashierStepUp-CmTcFbG9.js → CashierStepUp-D_qwOVdk.js} +450 -381
  40. package/components/{CashierTransactionHistory-CThHgzsf.js → CashierTransactionHistory-BEW1QDQd.js} +548 -473
  41. package/components/CashierTransactionHistory-BuYXfrPI.cjs +1 -0
  42. package/components/{CashierTransactionHistory-BbYNhBtq.js → CashierTransactionHistory-D1txhiVz.js} +561 -486
  43. package/components/CashierVerifications-CFvLHZKw.cjs +1 -0
  44. package/components/{CashierVerifications-DC27ce9g.js → CashierVerifications-Cb6a2I_x.js} +305 -244
  45. package/components/{CashierVerifications-BbrGxnsr.js → CashierVerifications-D49v3jYP.js} +301 -248
  46. package/components/{TxnStatusIcon-CWkyVMIU.cjs → TxnStatusIcon-BcQgw6kQ.cjs} +1 -1
  47. package/components/{TxnStatusIcon-ssLhQR5N.js → TxnStatusIcon-CT8QMlhW.js} +1 -1
  48. package/components/{TxnStatusIcon-BwvCa-Ig.js → TxnStatusIcon-W5JMdIgF.js} +1 -1
  49. package/components/{TxnTypeIcons-B84nFRMh.js → TxnTypeIcons-D0LUvdSq.js} +1 -1
  50. package/components/{TxnTypeIcons-DhwUYw-o.js → TxnTypeIcons-DmYGvDDw.js} +1 -1
  51. package/components/{TxnTypeIcons-CTQXT_j5.cjs → TxnTypeIcons-keA0IcNM.cjs} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierError-BL_rmfvV.cjs +0 -1
  57. package/components/CashierError-Bqtyy8-q.js +0 -638
  58. package/components/CashierError-D054pa3k.js +0 -654
  59. package/components/CashierHeader-PvXFHPzQ.cjs +0 -1
  60. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +0 -1
  61. package/components/CashierMethodDetails-KWA_Sq4l.cjs +0 -85
  62. package/components/CashierMethodsList-Bgo_LwHP.cjs +0 -1
  63. package/components/CashierPage-xLl95GUo.cjs +0 -1
  64. package/components/CashierSessionExpirationModal-Chi9ZGEw.cjs +0 -2
  65. package/components/CashierStepUp-DKytvkqu.cjs +0 -1
  66. package/components/CashierTransactionHistory-SwiU26Df.cjs +0 -1
  67. package/components/CashierVerifications-WhS-2imA.cjs +0 -1
@@ -1,14 +1,14 @@
1
- import { a as Xe, i as Je, $ as Ve, S as Ze, b as Ke, s as Qe, f as y, c as $e, G as ge, e as A, k as x, n as P, r as ze, p as pe, q as et, O as tt, l as a, m as f, o as h, v as D, A as N, w as T, N as ot, y as st, x as me, W as le, Z as ye, a4 as nt, U as re, a2 as it, z as we, B as rt, C as lt, D as at, E as mt, F as ct } from "./CashierCarousel-DJXsZKF9.js";
2
- import { d as Me, u as dt, x as be } from "./CashierMethodDetails-RvdJ1C5s.js";
3
- function _e(t, e) {
4
- Xe(t, e);
1
+ import { a as Ve, i as Xe, $ as Ze, S as Je, b as Ke, s as Qe, f as y, c as $e, G as ge, e as z, k as x, n as P, r as Ae, p as pe, q as et, O as tt, l as a, m as f, o as h, v as E, A as N, w as D, N as ot, y as st, x as me, W as le, Z as ye, a4 as nt, U as re, a2 as it, z as we, B as rt, C as lt, D as at, E as mt, F as ct } from "./CashierCarousel-CLJ0LFIF.js";
2
+ import { d as Me, u as dt, x as be } from "./CashierMethodDetails-KYord9AV.js";
3
+ function ve(t, e) {
4
+ Ve(t, e);
5
5
  }
6
6
  function ut(t) {
7
- Je({
7
+ Xe({
8
8
  fallbackLocale: "en"
9
- }), Ve.set(t);
9
+ }), Ze.set(t);
10
10
  }
11
- const ve = {
11
+ const _e = {
12
12
  en: {
13
13
  generalMin: "Min",
14
14
  generalMax: "Max",
@@ -44,6 +44,42 @@ const ve = {
44
44
  promoLabel: "Recommandé",
45
45
  otherMethodsTitle: "Toutes les méthodes",
46
46
  otherMethodsDescription: "Découvrez notre incroyable sélection de produits uniques à ne pas manquer !"
47
+ },
48
+ da: {
49
+ generalMin: "Min",
50
+ generalMax: "Maks",
51
+ showAll: "VIS ALLE",
52
+ showLess: "VIS FÆRRE",
53
+ error: "Fejl",
54
+ noPaymentMethods: "Ingen betalingsmetoder tilgængelige",
55
+ favorite: "Favorit",
56
+ promoLabel: "Anbefalet",
57
+ otherMethodsTitle: "Alle metoder",
58
+ otherMethodsDescription: "Oplev vores utrolige udvalg af unikke produkter, som du ikke vil gå glip af!"
59
+ },
60
+ de: {
61
+ generalMin: "Min",
62
+ generalMax: "Max",
63
+ showAll: "ALLE ANZEIGEN",
64
+ showLess: "WENIGER ANZEIGEN",
65
+ error: "Fehler",
66
+ noPaymentMethods: "Keine Zahlungsmethoden verfügbar",
67
+ favorite: "Favorit",
68
+ promoLabel: "Empfohlen",
69
+ otherMethodsTitle: "Alle Methoden",
70
+ otherMethodsDescription: "Entdecken Sie unsere unglaubliche Auswahl an einzigartigen Produkten, die Sie nicht verpassen möchten!"
71
+ },
72
+ nl: {
73
+ generalMin: "Min",
74
+ generalMax: "Max",
75
+ showAll: "ALLES TONEN",
76
+ showLess: "MINDER TONEN",
77
+ error: "Fout",
78
+ noPaymentMethods: "Geen betaalmethoden beschikbaar",
79
+ favorite: "Favoriet",
80
+ promoLabel: "Aanbevolen",
81
+ otherMethodsTitle: "Alle methoden",
82
+ otherMethodsDescription: "Ontdek onze ongelooflijke selectie van unieke producten die u niet wilt missen!"
47
83
  }
48
84
  };
49
85
  function ft(t) {
@@ -65,7 +101,7 @@ function ke(t) {
65
101
  }
66
102
  let d = l(t), u = d(t), m = (
67
103
  /*methodsButtonToggleText*/
68
- t[10] && Ee(t)
104
+ t[10] && Se(t)
69
105
  );
70
106
  return {
71
107
  c() {
@@ -77,10 +113,10 @@ function ke(t) {
77
113
  p(c, g) {
78
114
  /*noPaymentMethodsAvailable*/
79
115
  c[15] ? i && (i.d(1), i = null) : i ? i.p(c, g) : (i = Ce(c), i.c(), i.m(e, o)), d === (d = l(c)) && u ? u.p(c, g) : (u.d(1), u = d(c), u && (u.c(), u.m(n, null))), /*methodsButtonToggleText*/
80
- c[10] ? m ? m.p(c, g) : (m = Ee(c), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
116
+ c[10] ? m ? m.p(c, g) : (m = Se(c), m.c(), m.m(e, null)) : m && (m.d(1), m = null);
81
117
  },
82
118
  d(c) {
83
- c && A(e), i && i.d(), u.d(), m && m.d(), t[34](null);
119
+ c && z(e), i && i.d(), u.d(), m && m.d(), t[34](null);
84
120
  }
85
121
  };
86
122
  }
@@ -94,7 +130,7 @@ function Ce(t) {
94
130
  ), u;
95
131
  return {
96
132
  c() {
97
- e = f("div"), o = f("h3"), s = T(n), i = P(), l = f("p"), u = T(d), h(e, "class", "MethodsListDescription");
133
+ e = f("div"), o = f("h3"), s = D(n), i = P(), l = f("p"), u = D(d), h(e, "class", "MethodsListDescription");
98
134
  },
99
135
  m(m, c) {
100
136
  x(m, e, c), a(e, o), a(o, s), a(e, i), a(e, l), a(l, u);
@@ -102,12 +138,12 @@ function Ce(t) {
102
138
  p(m, c) {
103
139
  c[0] & /*$_*/
104
140
  131072 && n !== (n = /*$_*/
105
- m[17]("otherMethodsTitle") + "") && D(s, n), c[0] & /*$_*/
141
+ m[17]("otherMethodsTitle") + "") && E(s, n), c[0] & /*$_*/
106
142
  131072 && d !== (d = /*$_*/
107
- m[17]("otherMethodsDescription") + "") && D(u, d);
143
+ m[17]("otherMethodsDescription") + "") && E(u, d);
108
144
  },
109
145
  d(m) {
110
- m && A(e);
146
+ m && z(e);
111
147
  }
112
148
  };
113
149
  }
@@ -117,12 +153,12 @@ function ht(t) {
117
153
  t[11]
118
154
  ), n = [];
119
155
  for (let s = 0; s < o.length; s += 1)
120
- n[s] = Se(Le(t, o, s));
156
+ n[s] = Te(Le(t, o, s));
121
157
  return {
122
158
  c() {
123
159
  for (let s = 0; s < n.length; s += 1)
124
160
  n[s].c();
125
- e = ze();
161
+ e = Ae();
126
162
  },
127
163
  m(s, i) {
128
164
  for (let l = 0; l < n.length; l += 1)
@@ -139,7 +175,7 @@ function ht(t) {
139
175
  let l;
140
176
  for (l = 0; l < o.length; l += 1) {
141
177
  const d = Le(s, o, l);
142
- n[l] ? n[l].p(d, i) : (n[l] = Se(d), n[l].c(), n[l].m(e.parentNode, e));
178
+ n[l] ? n[l].p(d, i) : (n[l] = Te(d), n[l].c(), n[l].m(e.parentNode, e));
143
179
  }
144
180
  for (; l < n.length; l += 1)
145
181
  n[l].d(1);
@@ -147,7 +183,7 @@ function ht(t) {
147
183
  }
148
184
  },
149
185
  d(s) {
150
- s && A(e), nt(n, s);
186
+ s && z(e), nt(n, s);
151
187
  }
152
188
  };
153
189
  }
@@ -161,7 +197,7 @@ function gt(t) {
161
197
  ), m;
162
198
  return {
163
199
  c() {
164
- e = f("div"), o = f("div"), n = f("p"), i = T(s), l = P(), d = f("p"), m = T(u), h(n, "class", "EmptyContentMessageTitle"), h(d, "class", "EmptyContentMessageText"), h(o, "class", "EmptyContentMessageContent"), h(e, "class", "EmptyContentMessageWrapper"), le(
200
+ e = f("div"), o = f("div"), n = f("p"), i = D(s), l = P(), d = f("p"), m = D(u), h(n, "class", "EmptyContentMessageTitle"), h(d, "class", "EmptyContentMessageText"), h(o, "class", "EmptyContentMessageContent"), h(e, "class", "EmptyContentMessageWrapper"), le(
165
201
  e,
166
202
  "EmptyContentMessageDesktop",
167
203
  /*desktopView*/
@@ -174,9 +210,9 @@ function gt(t) {
174
210
  p(c, g) {
175
211
  g[0] & /*$_*/
176
212
  131072 && s !== (s = /*$_*/
177
- c[17]("error") + "") && D(i, s), g[0] & /*$_*/
213
+ c[17]("error") + "") && E(i, s), g[0] & /*$_*/
178
214
  131072 && u !== (u = /*$_*/
179
- c[17]("noPaymentMethods") + "") && D(m, u), g[0] & /*desktopView*/
215
+ c[17]("noPaymentMethods") + "") && E(m, u), g[0] & /*desktopView*/
180
216
  8192 && le(
181
217
  e,
182
218
  "EmptyContentMessageDesktop",
@@ -185,7 +221,7 @@ function gt(t) {
185
221
  );
186
222
  },
187
223
  d(c) {
188
- c && A(e);
224
+ c && z(e);
189
225
  }
190
226
  };
191
227
  }
@@ -196,7 +232,7 @@ function Pe(t) {
196
232
  ), n;
197
233
  return {
198
234
  c() {
199
- e = f("p"), n = T(o);
235
+ e = f("p"), n = D(o);
200
236
  },
201
237
  m(s, i) {
202
238
  x(s, e, i), a(e, n);
@@ -204,14 +240,14 @@ function Pe(t) {
204
240
  p(s, i) {
205
241
  i[0] & /*$_*/
206
242
  131072 && o !== (o = /*$_*/
207
- s[17]("favorite") + "") && D(n, o);
243
+ s[17]("favorite") + "") && E(n, o);
208
244
  },
209
245
  d(s) {
210
- s && A(e);
246
+ s && z(e);
211
247
  }
212
248
  };
213
249
  }
214
- function De(t) {
250
+ function Ee(t) {
215
251
  let e, o = (
216
252
  /*$_*/
217
253
  t[17](`${/*type*/
@@ -220,7 +256,7 @@ function De(t) {
220
256
  ), n;
221
257
  return {
222
258
  c() {
223
- e = f("span"), n = T(o), h(e, "class", "PaymentProcessing");
259
+ e = f("span"), n = D(o), h(e, "class", "PaymentProcessing");
224
260
  },
225
261
  m(s, i) {
226
262
  x(s, e, i), a(e, n);
@@ -230,14 +266,14 @@ function De(t) {
230
266
  133184 && o !== (o = /*$_*/
231
267
  s[17](`${/*type*/
232
268
  s[6]}${/*payMeth*/
233
- s[58].ProcessingTime}`) + "") && D(n, o);
269
+ s[58].ProcessingTime}`) + "") && E(n, o);
234
270
  },
235
271
  d(s) {
236
- s && A(e);
272
+ s && z(e);
237
273
  }
238
274
  };
239
275
  }
240
- function Te(t) {
276
+ function De(t) {
241
277
  let e, o = (
242
278
  /*$_*/
243
279
  t[17](`${/*type*/
@@ -246,7 +282,7 @@ function Te(t) {
246
282
  ), n;
247
283
  return {
248
284
  c() {
249
- e = f("span"), n = T(o), h(e, "class", "PaymentProcessing");
285
+ e = f("span"), n = D(o), h(e, "class", "PaymentProcessing");
250
286
  },
251
287
  m(s, i) {
252
288
  x(s, e, i), a(e, n);
@@ -256,22 +292,22 @@ function Te(t) {
256
292
  133184 && o !== (o = /*$_*/
257
293
  s[17](`${/*type*/
258
294
  s[6]}${/*payMeth*/
259
- s[58].ProcessingTime}`) + "") && D(n, o);
295
+ s[58].ProcessingTime}`) + "") && E(n, o);
260
296
  },
261
297
  d(s) {
262
- s && A(e);
298
+ s && z(e);
263
299
  }
264
300
  };
265
301
  }
266
- function Se(t) {
267
- let e, o, n, s, i, l, d, u, m, c, g, J = (
302
+ function Te(t) {
303
+ let e, o, n, s, i, l, d, u, m, c, g, X = (
268
304
  /*payMeth*/
269
305
  (t[58].Label || /*payMeth*/
270
306
  t[58].Name) + ""
271
- ), V, O, W, j, F, R, I = (
307
+ ), Z, R, W, I, F, O, U = (
272
308
  /*$_*/
273
309
  t[17]("generalMin") + ""
274
- ), Z, ee, q = re(
310
+ ), J, ee, G = re(
275
311
  /*payMeth*/
276
312
  t[58].DisplayCurrency.MinAmountLimit,
277
313
  /*payMeth*/
@@ -294,10 +330,10 @@ function Se(t) {
294
330
  t[16]
295
331
  )
296
332
  }
297
- ) + "", te, B, H, K = (
333
+ ) + "", te, q, j, K = (
298
334
  /*$_*/
299
335
  t[17]("generalMax") + ""
300
- ), S, ne, oe = re(
336
+ ), T, ne, oe = re(
301
337
  /*payMeth*/
302
338
  t[58].DisplayCurrency.MaxAmountLimit,
303
339
  /*payMeth*/
@@ -320,13 +356,13 @@ function Se(t) {
320
356
  t[16]
321
357
  )
322
358
  }
323
- ) + "", E, Y, G, k, Q, M = (
359
+ ) + "", S, B, Y, k, Q, M = (
324
360
  /*payMeth*/
325
361
  t[58].isMethodPromoted && Pe(t)
326
362
  ), b = !/*desktopView*/
327
- t[13] && De(t), w = (
363
+ t[13] && Ee(t), w = (
328
364
  /*desktopView*/
329
- t[13] && Te(t)
365
+ t[13] && De(t)
330
366
  );
331
367
  function ie() {
332
368
  return (
@@ -339,9 +375,13 @@ function Se(t) {
339
375
  }
340
376
  return {
341
377
  c() {
342
- e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), M && M.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), V = T(J), O = P(), b && b.c(), W = P(), j = f("div"), F = f("span"), R = f("p"), Z = T(I), ee = P(), te = T(q), B = P(), H = f("p"), S = T(K), ne = P(), E = T(oe), Y = P(), w && w.c(), G = P(), we(n.src, s = /*payMeth*/
343
- t[58].LogoUrl) || h(n, "src", s), h(n, "alt", i = /*payMeth*/
344
- t[58].Label), h(o, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(F, "class", "Limits"), h(j, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), le(
378
+ e = f("div"), o = f("div"), n = f("img"), l = P(), d = f("div"), M && M.c(), u = P(), m = f("div"), c = f("div"), g = f("span"), Z = D(X), R = P(), b && b.c(), W = P(), I = f("div"), F = f("span"), O = f("p"), J = D(U), ee = P(), te = D(G), q = P(), j = f("p"), T = D(K), ne = P(), S = D(oe), B = P(), w && w.c(), Y = P(), we(n.src, s = /*payMeth*/
379
+ t[58].LogoRelativeUrl ? `${window.origin}${/*payMeth*/
380
+ t[58].LogoRelativeUrl}` : (
381
+ /*payMeth*/
382
+ t[58].LogoUrl
383
+ )) || h(n, "src", s), h(n, "alt", i = /*payMeth*/
384
+ t[58].Label), h(o, "class", "MethodLogo"), h(d, "class", "MethodFavorite"), h(c, "class", "MethodTitle"), h(F, "class", "Limits"), h(I, "class", "MethodLimits"), h(m, "class", "MethodInfo"), h(e, "class", "SelectorWrapper"), le(
345
385
  e,
346
386
  "checked",
347
387
  /*selectedPaymentMethod*/
@@ -349,26 +389,30 @@ function Se(t) {
349
389
  t[58].Name
350
390
  );
351
391
  },
352
- m(X, _) {
353
- x(X, e, _), a(e, o), a(o, n), a(e, l), a(e, d), M && M.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, V), a(m, O), b && b.m(m, null), a(m, W), a(m, j), a(j, F), a(F, R), a(R, Z), a(R, ee), a(R, te), a(F, B), a(F, H), a(H, S), a(H, ne), a(H, E), a(m, Y), w && w.m(m, null), a(e, G), k || (Q = [
392
+ m(V, v) {
393
+ x(V, e, v), a(e, o), a(o, n), a(e, l), a(e, d), M && M.m(d, null), a(e, u), a(e, m), a(m, c), a(c, g), a(g, Z), a(m, R), b && b.m(m, null), a(m, W), a(m, I), a(I, F), a(F, O), a(O, J), a(O, ee), a(O, te), a(F, q), a(F, j), a(j, T), a(j, ne), a(j, S), a(m, B), w && w.m(m, null), a(e, Y), k || (Q = [
354
394
  me(e, "click", ie),
355
395
  me(e, "keyup", wt)
356
396
  ], k = !0);
357
397
  },
358
- p(X, _) {
359
- t = X, _[0] & /*paymentMethodsToShow*/
398
+ p(V, v) {
399
+ t = V, v[0] & /*paymentMethodsToShow*/
360
400
  2048 && !we(n.src, s = /*payMeth*/
361
- t[58].LogoUrl) && h(n, "src", s), _[0] & /*paymentMethodsToShow*/
401
+ t[58].LogoRelativeUrl ? `${window.origin}${/*payMeth*/
402
+ t[58].LogoRelativeUrl}` : (
403
+ /*payMeth*/
404
+ t[58].LogoUrl
405
+ )) && h(n, "src", s), v[0] & /*paymentMethodsToShow*/
362
406
  2048 && i !== (i = /*payMeth*/
363
407
  t[58].Label) && h(n, "alt", i), /*payMeth*/
364
- t[58].isMethodPromoted ? M ? M.p(t, _) : (M = Pe(t), M.c(), M.m(d, null)) : M && (M.d(1), M = null), _[0] & /*paymentMethodsToShow*/
365
- 2048 && J !== (J = /*payMeth*/
408
+ t[58].isMethodPromoted ? M ? M.p(t, v) : (M = Pe(t), M.c(), M.m(d, null)) : M && (M.d(1), M = null), v[0] & /*paymentMethodsToShow*/
409
+ 2048 && X !== (X = /*payMeth*/
366
410
  (t[58].Label || /*payMeth*/
367
- t[58].Name) + "") && D(V, J), /*desktopView*/
368
- t[13] ? b && (b.d(1), b = null) : b ? b.p(t, _) : (b = De(t), b.c(), b.m(m, W)), _[0] & /*$_*/
369
- 131072 && I !== (I = /*$_*/
370
- t[17]("generalMin") + "") && D(Z, I), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
371
- 67840 && q !== (q = re(
411
+ t[58].Name) + "") && E(Z, X), /*desktopView*/
412
+ t[13] ? b && (b.d(1), b = null) : b ? b.p(t, v) : (b = Ee(t), b.c(), b.m(m, W)), v[0] & /*$_*/
413
+ 131072 && U !== (U = /*$_*/
414
+ t[17]("generalMin") + "") && E(J, U), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
415
+ 67840 && G !== (G = re(
372
416
  /*payMeth*/
373
417
  t[58].DisplayCurrency.MinAmountLimit,
374
418
  /*payMeth*/
@@ -391,9 +435,9 @@ function Se(t) {
391
435
  t[16]
392
436
  )
393
437
  }
394
- ) + "") && D(te, q), _[0] & /*$_*/
438
+ ) + "") && E(te, G), v[0] & /*$_*/
395
439
  131072 && K !== (K = /*$_*/
396
- t[17]("generalMax") + "") && D(S, K), _[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
440
+ t[17]("generalMax") + "") && E(T, K), v[0] & /*paymentMethodsToShow, precisionCurrenciesMap, numericCurrencyDecimals*/
397
441
  67840 && oe !== (oe = re(
398
442
  /*payMeth*/
399
443
  t[58].DisplayCurrency.MaxAmountLimit,
@@ -417,8 +461,8 @@ function Se(t) {
417
461
  t[16]
418
462
  )
419
463
  }
420
- ) + "") && D(E, oe), /*desktopView*/
421
- t[13] ? w ? w.p(t, _) : (w = Te(t), w.c(), w.m(m, null)) : w && (w.d(1), w = null), _[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
464
+ ) + "") && E(S, oe), /*desktopView*/
465
+ t[13] ? w ? w.p(t, v) : (w = De(t), w.c(), w.m(m, null)) : w && (w.d(1), w = null), v[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
422
466
  2560 && le(
423
467
  e,
424
468
  "checked",
@@ -427,16 +471,16 @@ function Se(t) {
427
471
  t[58].Name
428
472
  );
429
473
  },
430
- d(X) {
431
- X && A(e), M && M.d(), b && b.d(), w && w.d(), k = !1, it(Q);
474
+ d(V) {
475
+ V && z(e), M && M.d(), b && b.d(), w && w.d(), k = !1, it(Q);
432
476
  }
433
477
  };
434
478
  }
435
- function Ee(t) {
479
+ function Se(t) {
436
480
  let e, o, n, s;
437
481
  return {
438
482
  c() {
439
- e = f("div"), o = T(
483
+ e = f("div"), o = D(
440
484
  /*methodsButtonToggleText*/
441
485
  t[10]
442
486
  ), h(e, "class", "ShowAllButton");
@@ -451,14 +495,14 @@ function Ee(t) {
451
495
  },
452
496
  p(i, l) {
453
497
  l[0] & /*methodsButtonToggleText*/
454
- 1024 && D(
498
+ 1024 && E(
455
499
  o,
456
500
  /*methodsButtonToggleText*/
457
501
  i[10]
458
502
  );
459
503
  },
460
504
  d(i) {
461
- i && A(e), n = !1, s();
505
+ i && z(e), n = !1, s();
462
506
  }
463
507
  };
464
508
  }
@@ -466,7 +510,7 @@ function Ne(t) {
466
510
  let e, o, n;
467
511
  return {
468
512
  c() {
469
- e = f("cashier-error"), o = f("span"), n = T(
513
+ e = f("cashier-error"), o = f("span"), n = D(
470
514
  /*errorMessage*/
471
515
  t[12]
472
516
  ), h(o, "class", "ErrorMessage"), h(o, "slot", "text"), N(
@@ -506,7 +550,7 @@ function Ne(t) {
506
550
  },
507
551
  p(s, i) {
508
552
  i[0] & /*errorMessage*/
509
- 4096 && D(
553
+ 4096 && E(
510
554
  n,
511
555
  /*errorMessage*/
512
556
  s[12]
@@ -549,7 +593,7 @@ function Ne(t) {
549
593
  );
550
594
  },
551
595
  d(s) {
552
- s && A(e);
596
+ s && z(e);
553
597
  }
554
598
  };
555
599
  }
@@ -563,7 +607,7 @@ function pt(t) {
563
607
  );
564
608
  return {
565
609
  c() {
566
- n && n.c(), e = P(), s && s.c(), o = ze();
610
+ n && n.c(), e = P(), s && s.c(), o = Ae();
567
611
  },
568
612
  m(i, l) {
569
613
  n && n.m(i, l), x(i, e, l), s && s.m(i, l), x(i, o, l);
@@ -576,7 +620,7 @@ function pt(t) {
576
620
  i: ge,
577
621
  o: ge,
578
622
  d(i) {
579
- i && (A(e), A(o)), n && n.d(i), s && s.d(i);
623
+ i && (z(e), z(o)), n && n.d(i), s && s.d(i);
580
624
  }
581
625
  };
582
626
  }
@@ -585,44 +629,44 @@ const yt = "PaymentPromotion", wt = () => {
585
629
  function Mt(t, e, o) {
586
630
  let n, s, i;
587
631
  pe(t, ct, (r) => o(17, s = r)), pe(t, be, (r) => o(42, i = r)), Me.extend(dt);
588
- let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: J } = e, { currency: V } = e, { numberofmethodsshown: O } = e, { translationurl: W = "" } = e, { mbsource: j } = e, { clientstyling: F } = e, { clientstylingurl: R } = e, { currencydecimals: I = "0" } = e, { currencysymbol: Z = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: q = "false" } = e, { type: te } = e, { userroles: B = "" } = e, H, K = {}, S, ne, oe = window.navigator.userAgent, E = [], Y, G = "", k = [], Q = [], M = "", b, w = !0, ie = !1, X = !1, _ = [];
632
+ let { lang: l = "en" } = e, { local: d = "en-US" } = e, { endpoint: u } = e, { paymentsession: m } = e, { playersession: c } = e, { customerid: g } = e, { assetsurl: X } = e, { currency: Z } = e, { numberofmethodsshown: R } = e, { translationurl: W = "" } = e, { mbsource: I } = e, { clientstyling: F } = e, { clientstylingurl: O } = e, { currencydecimals: U = "0" } = e, { currencysymbol: J = "" } = e, { currencyposition: ee = "" } = e, { promotedmethods: G = "false" } = e, { type: te } = e, { userroles: q = "" } = e, j, K = {}, T, ne, oe = window.navigator.userAgent, S = [], B, Y = "", k = [], Q = [], M = "", b, w = !0, ie = !1, V = !1, v = [];
589
633
  var ae;
590
634
  (function(r) {
591
635
  r.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", r.Success = "Success", r.JwtTokenError = "JwtTokenError";
592
636
  })(ae || (ae = {}));
593
- const Ae = () => {
637
+ const ze = () => {
594
638
  let r = W;
595
639
  if (r)
596
640
  return fetch(r).then((p) => p.json()).then((p) => {
597
641
  Object.keys(p).forEach(($) => {
598
- _e($, p[$]);
642
+ ve($, p[$]);
599
643
  });
600
644
  }).catch((p) => {
601
645
  console.log(p);
602
646
  });
603
647
  };
604
- Object.keys(ve).forEach((r) => {
605
- _e(r, ve[r]);
648
+ Object.keys(_e).forEach((r) => {
649
+ ve(r, _e[r]);
606
650
  });
607
651
  const xe = () => {
608
652
  ut(l);
609
653
  }, Fe = (r) => {
610
- i && Oe(r);
611
- }, Oe = (r) => {
612
- const { currency: p } = r, v = H !== void 0 && H !== p ? "MetadataLoading" : "DataLoading";
613
- H = p, window.postMessage({ type: v, isDataLoaded: !1 }, window.location.href);
614
- const L = new URL(`${u}/v2/player/${g}/payment/GetPaymentMetadata`), z = new Headers();
615
- z.append("accept", "application/json"), z.append("Content-Type", "application/json"), z.append("X-Client-Request-Timestamp", Me.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), z.append("X-SessionId", `${c}`), z.append("X-Payment-Session-Token", `${m || i}`), _.indexOf("MM_CHANNEL_BETA") != -1 && z.append("MM_CHANNEL", "BETA");
616
- const U = {
654
+ i && Re(r);
655
+ }, Re = (r) => {
656
+ const { currency: p } = r, _ = j !== void 0 && j !== p ? "MetadataLoading" : "DataLoading";
657
+ j = p, window.postMessage({ type: _, isDataLoaded: !1 }, window.location.href);
658
+ const L = new URL(`${u}/v2/player/${g}/payment/GetPaymentMetadata`), A = new Headers();
659
+ A.append("accept", "application/json"), A.append("Content-Type", "application/json"), A.append("X-Client-Request-Timestamp", Me.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), A.append("X-SessionId", `${c}`), A.append("X-Payment-Session-Token", `${m || i}`), v.indexOf("MM_CHANNEL_BETA") != -1 && A.append("MM_CHANNEL", "BETA");
660
+ const H = {
617
661
  method: "POST",
618
- headers: z,
662
+ headers: A,
619
663
  mode: "cors",
620
664
  body: JSON.stringify({
621
665
  ...p && { Currency: p },
622
666
  Tags: { UserAgent: window.navigator.userAgent }
623
667
  })
624
668
  };
625
- fetch(L, U).then((C) => {
669
+ fetch(L, H).then((C) => {
626
670
  const se = C.headers.get("X-Payment-Session-Token");
627
671
  return se && be.set(se), C.json();
628
672
  }).then((C) => {
@@ -631,46 +675,46 @@ function Mt(t, e, o) {
631
675
  return;
632
676
  }
633
677
  if (C.ResponseCode !== ae.Success) {
634
- b = C.ResponseCode, je();
678
+ b = C.ResponseCode, Ue();
635
679
  return;
636
680
  }
637
- E = C.PaymentMethods?.Ordering ? Re(C) : Ue(C), window.postMessage(
681
+ S = C.PaymentMethods?.Ordering ? Oe(C) : Ie(C), window.postMessage(
638
682
  {
639
683
  type: "PromotedPaymentMethods",
640
684
  promotedPaymentMethods: Q
641
685
  },
642
686
  window.location.href
643
- ), o(10, G = O && +O > 0 && E.length > +O ? s("showAll") : ""), o(11, k = G ? E.slice(0, +O) : E), q == "false" && o(11, k = k.sort((se, he) => se.isMethodPromoted && !he.isMethodPromoted ? -1 : !se.isMethodPromoted && he.isMethodPromoted ? 1 : 0)), o(15, X = !k.length), window.postMessage(
687
+ ), o(10, Y = R && +R > 0 && S.length > +R ? s("showAll") : ""), o(11, k = Y ? S.slice(0, +R) : S), G == "false" && o(11, k = k.sort((se, he) => se.isMethodPromoted && !he.isMethodPromoted ? -1 : !se.isMethodPromoted && he.isMethodPromoted ? 1 : 0)), o(15, V = !k.length), window.postMessage(
644
688
  {
645
689
  type: "StartSessionCountdown",
646
- paymentMethodName: E[0].Name
690
+ paymentMethodName: S[0].Name
647
691
  },
648
692
  window.location.href
649
- ), window.postMessage({ type: v, isDataLoaded: !0 }, window.location.href);
693
+ ), window.postMessage({ type: _, isDataLoaded: !0 }, window.location.href);
650
694
  }).finally(() => {
651
- o(14, ie = !0), window.postMessage({ type: v, isDataLoaded: !0 }, window.location.href);
695
+ o(14, ie = !0), window.postMessage({ type: _, isDataLoaded: !0 }, window.location.href);
652
696
  });
653
- }, Re = (r) => {
697
+ }, Oe = (r) => {
654
698
  const p = [];
655
699
  return Q = [], r.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach(($) => {
656
- const v = r.PaymentMethods.PaymentMethods.find((L) => L.Name === $);
657
- if (v) {
658
- const L = v?.Logos.find((C) => C.LogoType === "Desktop") || {}, z = v?.Logos.find((C) => C.LogoType === "Mobile") || {}, U = w ? L : z;
659
- v.isMethodPromoted = ue(v.Tags), v.LogoUrl = U.LogoRelativeUrl ? `${window.origin}${U.LogoRelativeUrl}` : `${U.LogoUrl}`, v.isMethodPromoted && Q.push(v), p.push(v);
700
+ const _ = r.PaymentMethods.PaymentMethods.find((L) => L.Name === $);
701
+ if (_) {
702
+ const L = _?.Logos.find((C) => C.LogoType === "Desktop") || {}, A = _?.Logos.find((C) => C.LogoType === "Mobile") || {}, H = w ? L : A;
703
+ _.isMethodPromoted = ue(_.Tags), _.LogoUrl = H.LogoUrl ? `https:${H.LogoUrl}` : "", _.isMethodPromoted && Q.push(_), p.push(_);
660
704
  }
661
705
  }), p;
662
- }, Ue = (r) => {
706
+ }, Ie = (r) => {
663
707
  const p = r.PaymentMethods.PaymentMethods.map((L) => ({
664
708
  ...L,
665
709
  isMethodPromoted: ue(L.Tags),
666
710
  LogoUrl: L.Logos && L.Logos.length && L.Logos[0].LogoUrl ? `https:${L.Logos[0].LogoUrl}` : ""
667
- })), [$, v] = p.reduce(
668
- ([L, z], U) => (U && U.isMethodPromoted ? L.push(U) : z.promo(U), [L, z]),
711
+ })), [$, _] = p.reduce(
712
+ ([L, A], H) => (H && H.isMethodPromoted ? L.push(H) : A.promo(H), [L, A]),
669
713
  [[], []]
670
714
  );
671
- return Q = $, v;
715
+ return Q = $, _;
672
716
  }, ce = (r) => {
673
- o(9, Y = r.Name), window.postMessage({ type: "SelectPayMeth", details: r }, window.location.href), dispatchEvent(new CustomEvent(
717
+ o(9, B = r.Name), window.postMessage({ type: "SelectPayMeth", details: r }, window.location.href), dispatchEvent(new CustomEvent(
674
718
  "selectPayMeth",
675
719
  {
676
720
  detail: r,
@@ -679,7 +723,7 @@ function Mt(t, e, o) {
679
723
  composed: !0
680
724
  }
681
725
  ));
682
- }, je = () => {
726
+ }, Ue = () => {
683
727
  window.postMessage(
684
728
  {
685
729
  type: "ErrorResponseCode",
@@ -687,14 +731,14 @@ function Mt(t, e, o) {
687
731
  },
688
732
  window.location.href
689
733
  );
690
- }, Ie = () => {
734
+ }, je = () => {
691
735
  o(13, w = !ot(oe));
692
736
  }, de = () => {
693
- k == E ? We() : He();
737
+ k == S ? We() : He();
694
738
  }, He = () => {
695
- o(11, k = E), o(10, G = s("showLess"));
739
+ o(11, k = S), o(10, Y = s("showLess"));
696
740
  }, We = () => {
697
- o(11, k = E.slice(0, +O)), Y && !k.find((r) => r.Name === Y) && k.splice(0, 0, E.find((r) => r.Name === Y)), o(10, G = s("showAll"));
741
+ o(11, k = S.slice(0, +R)), B && !k.find((r) => r.Name === B) && k.splice(0, 0, S.find((r) => r.Name === B)), o(10, Y = s("showAll"));
698
742
  }, ue = (r) => r && r.split(",").some((p) => p === yt), fe = (r) => {
699
743
  const { data: { type: p } = {} } = r || {};
700
744
  switch (p) {
@@ -703,47 +747,47 @@ function Mt(t, e, o) {
703
747
  break;
704
748
  }
705
749
  }
706
- }, qe = () => {
707
- B.length > 0 && (_ = B.split(","));
750
+ }, Ge = () => {
751
+ q.length > 0 && (v = q.split(","));
708
752
  };
709
- et(() => (Ie(), tt(d, Z, ee, I), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", fe), () => {
753
+ et(() => (je(), tt(d, J, ee, U), window.postMessage({ type: "CashierMethodsListReady" }, window.location.href), window.addEventListener("message", fe), () => {
710
754
  window.removeEventListener("message", fe);
711
755
  }));
712
- const Be = (r) => ce(r), Ye = () => de();
713
- function Ge(r) {
756
+ const qe = (r) => ce(r), Be = () => de();
757
+ function Ye(r) {
714
758
  st[r ? "unshift" : "push"](() => {
715
- S = r, o(7, S);
759
+ T = r, o(7, T);
716
760
  });
717
761
  }
718
762
  return t.$$set = (r) => {
719
- "lang" in r && o(0, l = r.lang), "local" in r && o(20, d = r.local), "endpoint" in r && o(21, u = r.endpoint), "paymentsession" in r && o(22, m = r.paymentsession), "playersession" in r && o(23, c = r.playersession), "customerid" in r && o(24, g = r.customerid), "assetsurl" in r && o(1, J = r.assetsurl), "currency" in r && o(25, V = r.currency), "numberofmethodsshown" in r && o(26, O = r.numberofmethodsshown), "translationurl" in r && o(2, W = r.translationurl), "mbsource" in r && o(3, j = r.mbsource), "clientstyling" in r && o(4, F = r.clientstyling), "clientstylingurl" in r && o(5, R = r.clientstylingurl), "currencydecimals" in r && o(27, I = r.currencydecimals), "currencysymbol" in r && o(28, Z = r.currencysymbol), "currencyposition" in r && o(29, ee = r.currencyposition), "promotedmethods" in r && o(30, q = r.promotedmethods), "type" in r && o(6, te = r.type), "userroles" in r && o(31, B = r.userroles);
763
+ "lang" in r && o(0, l = r.lang), "local" in r && o(20, d = r.local), "endpoint" in r && o(21, u = r.endpoint), "paymentsession" in r && o(22, m = r.paymentsession), "playersession" in r && o(23, c = r.playersession), "customerid" in r && o(24, g = r.customerid), "assetsurl" in r && o(1, X = r.assetsurl), "currency" in r && o(25, Z = r.currency), "numberofmethodsshown" in r && o(26, R = r.numberofmethodsshown), "translationurl" in r && o(2, W = r.translationurl), "mbsource" in r && o(3, I = r.mbsource), "clientstyling" in r && o(4, F = r.clientstyling), "clientstylingurl" in r && o(5, O = r.clientstylingurl), "currencydecimals" in r && o(27, U = r.currencydecimals), "currencysymbol" in r && o(28, J = r.currencysymbol), "currencyposition" in r && o(29, ee = r.currencyposition), "promotedmethods" in r && o(30, G = r.promotedmethods), "type" in r && o(6, te = r.type), "userroles" in r && o(31, q = r.userroles);
720
764
  }, t.$$.update = () => {
721
765
  t.$$.dirty[1] & /*userroles*/
722
- 1 && B && qe(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
723
- 56623104 && u && !m && g && Fe({ currency: V }), t.$$.dirty[0] & /*lang*/
766
+ 1 && q && Ge(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid, currency*/
767
+ 56623104 && u && !m && g && Fe({ currency: Z }), t.$$.dirty[0] & /*lang*/
724
768
  1 && l && xe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
725
- 144 && F && S && rt(S, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
726
- 160 && R && S && lt(S, R), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
727
- 136 && j && S && at(S, `${j}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
728
- 5 && l && W && Ae(), t.$$.dirty[0] & /*currencydecimals*/
729
- 134217728 && o(16, n = Number(I));
769
+ 144 && F && T && rt(T, F), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
770
+ 160 && O && T && lt(T, O), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
771
+ 136 && I && T && at(T, `${I}.Style`, ne), t.$$.dirty[0] & /*lang, translationurl*/
772
+ 5 && l && W && ze(), t.$$.dirty[0] & /*currencydecimals*/
773
+ 134217728 && o(16, n = Number(U));
730
774
  }, [
731
775
  l,
732
- J,
776
+ X,
733
777
  W,
734
- j,
778
+ I,
735
779
  F,
736
- R,
780
+ O,
737
781
  te,
738
- S,
782
+ T,
739
783
  K,
784
+ B,
740
785
  Y,
741
- G,
742
786
  k,
743
787
  M,
744
788
  w,
745
789
  ie,
746
- X,
790
+ V,
747
791
  n,
748
792
  s,
749
793
  ce,
@@ -753,19 +797,19 @@ function Mt(t, e, o) {
753
797
  m,
754
798
  c,
755
799
  g,
756
- V,
757
- O,
758
- I,
759
800
  Z,
801
+ R,
802
+ U,
803
+ J,
760
804
  ee,
805
+ G,
761
806
  q,
762
- B,
807
+ qe,
763
808
  Be,
764
- Ye,
765
- Ge
809
+ Ye
766
810
  ];
767
811
  }
768
- class bt extends Ze {
812
+ class bt extends Je {
769
813
  constructor(e) {
770
814
  super(), Ke(
771
815
  this,