@everymatrix/cashier-page 1.76.13 → 1.76.14

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 (77) hide show
  1. package/components/{CashierError-BuW5dJfP.js → CashierError-BD6RqW_4.js} +767 -735
  2. package/components/CashierError-BVTgkQx8.cjs +21 -0
  3. package/components/{CashierError-BL7OTzSK.js → CashierError-_mJg7htJ.js} +744 -712
  4. package/components/{CashierHeader-CkyrZZ8s.js → CashierHeader-CLenwFLu.js} +35 -35
  5. package/components/{CashierHeader-FDYsDrpF.js → CashierHeader-DGMIDhtj.js} +37 -37
  6. package/components/{CashierHeader-D5eAmyvG.cjs → CashierHeader-s4ev8t3u.cjs} +1 -1
  7. package/components/{CashierIframeRedirect-wlE_YN39.js → CashierIframeRedirect-BVU6BJJW.js} +34 -34
  8. package/components/{CashierIframeRedirect-Db-zgjwP.cjs → CashierIframeRedirect-CVCo8t0b.cjs} +1 -1
  9. package/components/{CashierIframeRedirect-CmdPA_aZ.js → CashierIframeRedirect-i-bgiInf.js} +28 -28
  10. package/components/{CashierMethodDetails-B7K0CIlB.cjs → CashierMethodDetails-DNAJHYhK.cjs} +5 -18
  11. package/components/{CashierMethodDetails-BSBqkHNa.js → CashierMethodDetails-PPgUijPf.js} +694 -743
  12. package/components/{CashierMethodDetails-C7dG4t8m.js → CashierMethodDetails-Yh-raa4P.js} +835 -884
  13. package/components/{CashierMethodsList-gPmctW-Q.js → CashierMethodsList-Bq89MePx.js} +92 -92
  14. package/components/{CashierMethodsList-pakwpTY2.cjs → CashierMethodsList-GFY_3ABy.cjs} +1 -1
  15. package/components/{CashierMethodsList-FNgy0d7U.js → CashierMethodsList-odtc9D1r.js} +83 -83
  16. package/components/{CashierModal-vCh-dC6Q.cjs → CashierModal-Btsbp3nD.cjs} +1 -1
  17. package/components/{CashierModal-BAzO-8NU.js → CashierModal-DTVOjm1x.js} +40 -40
  18. package/components/{CashierModal-CIWk9EpH.js → CashierModal-wzdkmyre.js} +46 -46
  19. package/components/{CashierNotifications-BhA-DfA9.js → CashierNotifications-Ci6C686m.js} +32 -32
  20. package/components/{CashierNotifications-CfzNxd6q.js → CashierNotifications-CmEFRQ8z.js} +32 -32
  21. package/components/{CashierNotifications-Bgf97-ym.cjs → CashierNotifications-mcKpgb8B.cjs} +1 -1
  22. package/components/{CashierPage-DcwM8mwG.cjs → CashierPage-CfG1gBA4.cjs} +1 -1
  23. package/components/{CashierPage-DbHvX6nI.js → CashierPage-D8Py7RSY.js} +109 -109
  24. package/components/{CashierPage-D8YY3wAI.js → CashierPage-mgwXJuuN.js} +135 -135
  25. package/components/{CashierReceiptPage-CQyluI1J.cjs → CashierReceiptPage-BVPfyaQD.cjs} +1 -1
  26. package/components/{CashierReceiptPage-BzjCwk2b.js → CashierReceiptPage-DS7FVfNe.js} +76 -76
  27. package/components/{CashierReceiptPage-A1MYfWGW.js → CashierReceiptPage-DlVdltM6.js} +76 -76
  28. package/components/{CashierSessionExpirationModal-CtakjuI_.js → CashierSessionExpirationModal-CeThEk8x.js} +94 -85
  29. package/components/{CashierSessionExpirationModal-Bh3jmXl_.cjs → CashierSessionExpirationModal-Dj_Kbuv7.cjs} +2 -2
  30. package/components/{CashierSessionExpirationModal-YWIpKzje.js → CashierSessionExpirationModal-DvN0J2as.js} +94 -85
  31. package/components/{CashierSpinner-CAqB2_pw.js → CashierSpinner-BCIciib1.js} +19 -19
  32. package/components/{CashierSpinner-DTztqXMW.cjs → CashierSpinner-DFXOVOqQ.cjs} +1 -1
  33. package/components/{CashierSpinner-DXrTfpLq.js → CashierSpinner-yNXiNCOs.js} +19 -19
  34. package/components/{CashierTransactionHistory-c_0mTjNo.cjs → CashierTransactionHistory-BUPbSA6h.cjs} +1 -1
  35. package/components/{CashierTransactionHistory-Y1g5hagc.js → CashierTransactionHistory-CqwwMSVN.js} +76 -76
  36. package/components/{CashierTransactionHistory-U9Il8eZb.js → CashierTransactionHistory-pyelfuDA.js} +119 -119
  37. package/components/{CashierVerifications-BlWTY2gh.cjs → CashierVerifications-B5JCN--3.cjs} +1 -1
  38. package/components/{CashierVerifications-BA7PsePr.js → CashierVerifications-ChzwoJWn.js} +41 -41
  39. package/components/{CashierVerifications-BTvFySIg.js → CashierVerifications-DkzSmAn4.js} +30 -30
  40. package/components/{TxnStatusIcon-ClddwA7r.js → TxnStatusIcon-BogP6LJ2.js} +23 -23
  41. package/components/{TxnStatusIcon-Dapc6xhT.cjs → TxnStatusIcon-DCMCZZCQ.cjs} +1 -1
  42. package/components/{TxnStatusIcon-DPmmaKoK.js → TxnStatusIcon-DasCjrqn.js} +27 -27
  43. package/components/{TxnTypeIcons-w8LBVBiN.cjs → TxnTypeIcons-BByZ1nXT.cjs} +1 -1
  44. package/components/{TxnTypeIcons-CEcfPpqm.js → TxnTypeIcons-Bg5MfuGX.js} +14 -14
  45. package/components/{TxnTypeIcons-CWojIltL.js → TxnTypeIcons-DavAdp_P.js} +14 -14
  46. package/es2015/cashier-page.cjs +1 -1
  47. package/es2015/cashier-page.js +1 -1
  48. package/esnext/cashier-page.js +1 -1
  49. package/package.json +1 -1
  50. package/stencil/index-242ac81a-Bl2OSy8h.js +538 -0
  51. package/stencil/index-242ac81a-Czg480dJ.js +554 -0
  52. package/stencil/index-242ac81a-DDPF_SYN.cjs +1 -0
  53. package/stencil/index-b2193545-ByMYc64n.cjs +1 -0
  54. package/stencil/index-b2193545-DWKmtYUG.js +503 -0
  55. package/stencil/index-b2193545-Dfy4Cgny.js +519 -0
  56. package/stencil/{ui-image-2ff23cd5-BHGIWJop.cjs → ui-image-2ff23cd5-BU5r6gJa.cjs} +1 -1
  57. package/stencil/{ui-image-2ff23cd5-DCLQ0SIO.js → ui-image-2ff23cd5-CBX1vdMZ.js} +1 -1
  58. package/stencil/{ui-image-2ff23cd5-D0rXudCW.js → ui-image-2ff23cd5-DZZYCsK1.js} +1 -1
  59. package/stencil/{ui-image-BRBJSkg1.js → ui-image-BGfwfp_F.js} +1 -1
  60. package/stencil/{ui-image-C0iABVS5.cjs → ui-image-CBGIeQyw.cjs} +1 -1
  61. package/stencil/{ui-image-e4W3SkhP.js → ui-image-Cgsi32kw.js} +1 -1
  62. package/stencil/{ui-image_2-CLk629jW.cjs → ui-image_2-Bsl4RJfi.cjs} +1 -1
  63. package/stencil/{ui-image_2-VgK3B8gQ.js → ui-image_2-ID_1Oi3k.js} +2 -2
  64. package/stencil/{ui-image_2-B21W_djK.js → ui-image_2-exO7RXKL.js} +2 -2
  65. package/stencil/{ui-skeleton-4-zrLsIW.js → ui-skeleton-BTr272EW.js} +2 -2
  66. package/stencil/{ui-skeleton-DgAs7VA3.cjs → ui-skeleton-C4Ir1ffm.cjs} +1 -1
  67. package/stencil/{ui-skeleton-9boHSjtG.js → ui-skeleton-P4PO_42z.js} +2 -2
  68. package/stencil/{ui-skeleton-ae35c6f2-IN_dPA5_.js → ui-skeleton-ae35c6f2-BIdXBK8D.js} +1 -1
  69. package/stencil/{ui-skeleton-ae35c6f2-8tYGV8SR.js → ui-skeleton-ae35c6f2-C7WHUwAT.js} +1 -1
  70. package/stencil/{ui-skeleton-ae35c6f2-DLHrpWJM.cjs → ui-skeleton-ae35c6f2-jcrjm-Kl.cjs} +1 -1
  71. package/components/CashierError-BEEnpeVH.cjs +0 -8
  72. package/stencil/index-242ac81a-BqeIndhr.js +0 -554
  73. package/stencil/index-242ac81a-CI4JxPRf.js +0 -538
  74. package/stencil/index-242ac81a-CjjM4VND.cjs +0 -1
  75. package/stencil/index-b2193545-BoSqyMpB.js +0 -519
  76. package/stencil/index-b2193545-D4dOaNlR.js +0 -503
  77. package/stencil/index-b2193545-DGHOe8n4.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as U2, i as O2, $ as B2, S as H2, b as z2, s as W2, f as S, d as I2, z as a2, g as j, l as G, o as k, v as j2, q as d2, r as G2, O as i2, P as p2, m as a, n as u, p as m, w as Z, F as U, x as A, y as R2, R as k2, G as Q, N as $, A as t2, C as q2, D as V2, E as Y2, c as X2, B as J2 } from "./CashierError-BL7OTzSK.js";
2
- import { d as h2, u as K2, i as Q2, x as u2, f as Y, a as $2 } from "./CashierMethodDetails-BSBqkHNa.js";
1
+ import { a as U2, i as O2, $ as B2, S as H2, b as z2, f as S, c as W2, s as j2, d as I2, h as k, x as G2, k as I, D as a2, p as G, q as d2, r as R2, v as V2, w as q2, R as i2, g as u, j as m, l as a, U as p2, y as Z, G as Q, P as $, C as t2, z as A, V as k2, F as U, A as Y2, B as X2, E as J2 } from "./CashierError-_mJg7htJ.js";
2
+ import { d as h2, u as K2, f as Y, x as u2, i as Q2, a as $2 } from "./CashierMethodDetails-PPgUijPf.js";
3
3
  function f2(t, e) {
4
4
  U2(t, e);
5
5
  }
@@ -87,7 +87,7 @@ function w2(t) {
87
87
  c = k(), L && L.c(), g = k(), y && y.c(), m(o, "class", "CashierMethodList Promoted"), m(l, "class", "CashierMethodList"), m(e, "class", "CashierMethodListWidget");
88
88
  },
89
89
  m(r, d) {
90
- G(r, e, d), a(e, o);
90
+ I(r, e, d), a(e, o);
91
91
  for (let n = 0; n < h.length; n += 1)
92
92
  h[n] && h[n].m(o, null);
93
93
  a(e, i), a(e, l);
@@ -132,7 +132,7 @@ function w2(t) {
132
132
  r[8] ? y ? y.p(r, d) : (y = _2(r), y.c(), y.m(e, null)) : y && (y.d(1), y = null);
133
133
  },
134
134
  d(r) {
135
- r && j(e), p2(h, r), p2(p, r), L && L.d(), y && y.d(), t[31](null);
135
+ r && G(e), p2(h, r), p2(p, r), L && L.d(), y && y.d(), t[31](null);
136
136
  }
137
137
  };
138
138
  }
@@ -157,7 +157,7 @@ function M2(t) {
157
157
  t[51].DisplayCurrency.MaxAmountLimit,
158
158
  /*payMeth*/
159
159
  t[51].DisplayCurrency.Name
160
- ) + "", E, W, I, q, N = (
160
+ ) + "", E, W, j, V, T = (
161
161
  /*$_*/
162
162
  t[15]("promoLabel") + ""
163
163
  ), _, e2, X, o2;
@@ -172,9 +172,9 @@ function M2(t) {
172
172
  }
173
173
  return {
174
174
  c() {
175
- e = u("div"), o = u("div"), i = u("img"), g = k(), f = u("div"), h = u("div"), M = u("span"), L = A(p), y = k(), r = u("div"), d = u("span"), w = A(n), z = k(), O = A(F), R = k(), C = u("span"), D = A(B), H = k(), E = A(P), W = k(), I = u("div"), q = u("span"), _ = A(N), e2 = k(), Q(i.src, l = /*payMeth*/
175
+ e = u("div"), o = u("div"), i = u("img"), g = k(), f = u("div"), h = u("div"), M = u("span"), L = Z(p), y = k(), r = u("div"), d = u("span"), w = Z(n), z = k(), O = Z(F), R = k(), C = u("span"), D = Z(B), H = k(), E = Z(P), W = k(), j = u("div"), V = u("span"), _ = Z(T), e2 = k(), Q(i.src, l = /*payMeth*/
176
176
  t[51].LogoUrl) || m(i, "src", l), m(i, "alt", c = /*payMeth*/
177
- t[51].Label), m(o, "class", "MethodLogo"), m(h, "class", "MethodTitle"), m(d, "class", "Limits"), m(C, "class", "Limits"), m(r, "class", "MethodLimits"), m(f, "class", "MethodInfo"), m(I, "class", "MethodPromoLabel"), m(e, "class", "SelectorWrapper"), $(
177
+ t[51].Label), m(o, "class", "MethodLogo"), m(h, "class", "MethodTitle"), m(d, "class", "Limits"), m(C, "class", "Limits"), m(r, "class", "MethodLimits"), m(f, "class", "MethodInfo"), m(j, "class", "MethodPromoLabel"), m(e, "class", "SelectorWrapper"), $(
178
178
  e,
179
179
  "checked",
180
180
  /*selectedPaymentMethod*/
@@ -182,39 +182,39 @@ function M2(t) {
182
182
  t[51].Name
183
183
  );
184
184
  },
185
- m(J, T) {
186
- G(J, e, T), a(e, o), a(o, i), a(e, g), a(e, f), a(f, h), a(h, M), a(M, L), a(f, y), a(f, r), a(r, d), a(d, w), a(d, z), a(d, O), a(r, R), a(r, C), a(C, D), a(C, H), a(C, E), a(e, W), a(e, I), a(I, q), a(q, _), a(e, e2), X || (o2 = [
185
+ m(J, N) {
186
+ I(J, e, N), a(e, o), a(o, i), a(e, g), a(e, f), a(f, h), a(h, M), a(M, L), a(f, y), a(f, r), a(r, d), a(d, w), a(d, z), a(d, O), a(r, R), a(r, C), a(C, D), a(C, H), a(C, E), a(e, W), a(e, j), a(j, V), a(V, _), a(e, e2), X || (o2 = [
187
187
  t2(e, "click", l2),
188
188
  t2(e, "keyup", re)
189
189
  ], X = !0);
190
190
  },
191
- p(J, T) {
192
- t = J, T[0] & /*promotedPaymentMethods*/
191
+ p(J, N) {
192
+ t = J, N[0] & /*promotedPaymentMethods*/
193
193
  1024 && !Q(i.src, l = /*payMeth*/
194
- t[51].LogoUrl) && m(i, "src", l), T[0] & /*promotedPaymentMethods*/
194
+ t[51].LogoUrl) && m(i, "src", l), N[0] & /*promotedPaymentMethods*/
195
195
  1024 && c !== (c = /*payMeth*/
196
- t[51].Label) && m(i, "alt", c), T[0] & /*promotedPaymentMethods*/
196
+ t[51].Label) && m(i, "alt", c), N[0] & /*promotedPaymentMethods*/
197
197
  1024 && p !== (p = /*payMeth*/
198
198
  (t[51].Label || /*payMeth*/
199
- t[51].Name) + "") && Z(L, p), T[0] & /*$_*/
199
+ t[51].Name) + "") && A(L, p), N[0] & /*$_*/
200
200
  32768 && n !== (n = /*$_*/
201
- t[15]("generalMin") + "") && Z(w, n), T[0] & /*promotedPaymentMethods*/
201
+ t[15]("generalMin") + "") && A(w, n), N[0] & /*promotedPaymentMethods*/
202
202
  1024 && F !== (F = Y(
203
203
  /*payMeth*/
204
204
  t[51].DisplayCurrency.MinAmountLimit,
205
205
  /*payMeth*/
206
206
  t[51].DisplayCurrency.Name
207
- ) + "") && Z(O, F), T[0] & /*$_*/
207
+ ) + "") && A(O, F), N[0] & /*$_*/
208
208
  32768 && B !== (B = /*$_*/
209
- t[15]("generalMax") + "") && Z(D, B), T[0] & /*promotedPaymentMethods*/
209
+ t[15]("generalMax") + "") && A(D, B), N[0] & /*promotedPaymentMethods*/
210
210
  1024 && P !== (P = Y(
211
211
  /*payMeth*/
212
212
  t[51].DisplayCurrency.MaxAmountLimit,
213
213
  /*payMeth*/
214
214
  t[51].DisplayCurrency.Name
215
- ) + "") && Z(E, P), T[0] & /*$_*/
216
- 32768 && N !== (N = /*$_*/
217
- t[15]("promoLabel") + "") && Z(_, N), T[0] & /*selectedPaymentMethod, promotedPaymentMethods*/
215
+ ) + "") && A(E, P), N[0] & /*$_*/
216
+ 32768 && T !== (T = /*$_*/
217
+ t[15]("promoLabel") + "") && A(_, T), N[0] & /*selectedPaymentMethod, promotedPaymentMethods*/
218
218
  1152 && $(
219
219
  e,
220
220
  "checked",
@@ -224,7 +224,7 @@ function M2(t) {
224
224
  );
225
225
  },
226
226
  d(J) {
227
- J && j(e), X = !1, k2(o2);
227
+ J && G(e), X = !1, k2(o2);
228
228
  }
229
229
  };
230
230
  }
@@ -249,8 +249,8 @@ function C2(t) {
249
249
  t[51].DisplayCurrency.MaxAmountLimit,
250
250
  /*payMeth*/
251
251
  t[51].DisplayCurrency.Name
252
- ) + "", E, W, I;
253
- function q() {
252
+ ) + "", E, W, j;
253
+ function V() {
254
254
  return (
255
255
  /*click_handler_1*/
256
256
  t[29](
@@ -261,7 +261,7 @@ function C2(t) {
261
261
  }
262
262
  return {
263
263
  c() {
264
- e = u("div"), o = u("div"), i = u("img"), g = k(), f = u("div"), h = u("div"), M = u("span"), L = A(p), y = k(), r = u("div"), d = u("span"), w = A(n), z = k(), O = A(F), R = k(), C = u("span"), D = A(B), H = k(), E = A(P), Q(i.src, l = /*payMeth*/
264
+ e = u("div"), o = u("div"), i = u("img"), g = k(), f = u("div"), h = u("div"), M = u("span"), L = Z(p), y = k(), r = u("div"), d = u("span"), w = Z(n), z = k(), O = Z(F), R = k(), C = u("span"), D = Z(B), H = k(), E = Z(P), Q(i.src, l = /*payMeth*/
265
265
  t[51].LogoUrl) || m(i, "src", l), m(i, "alt", c = /*payMeth*/
266
266
  t[51].Label), m(o, "class", "MethodLogo"), m(h, "class", "MethodTitle"), m(d, "class", "Limits"), m(C, "class", "Limits"), m(r, "class", "MethodLimits"), m(f, "class", "MethodInfo"), m(e, "class", "SelectorWrapper"), $(
267
267
  e,
@@ -271,37 +271,37 @@ function C2(t) {
271
271
  t[51].Name
272
272
  );
273
273
  },
274
- m(N, _) {
275
- G(N, e, _), a(e, o), a(o, i), a(e, g), a(e, f), a(f, h), a(h, M), a(M, L), a(f, y), a(f, r), a(r, d), a(d, w), a(d, z), a(d, O), a(r, R), a(r, C), a(C, D), a(C, H), a(C, E), W || (I = [
276
- t2(e, "click", q),
274
+ m(T, _) {
275
+ I(T, e, _), a(e, o), a(o, i), a(e, g), a(e, f), a(f, h), a(h, M), a(M, L), a(f, y), a(f, r), a(r, d), a(d, w), a(d, z), a(d, O), a(r, R), a(r, C), a(C, D), a(C, H), a(C, E), W || (j = [
276
+ t2(e, "click", V),
277
277
  t2(e, "keyup", ae)
278
278
  ], W = !0);
279
279
  },
280
- p(N, _) {
281
- t = N, _[0] & /*paymentMethodsToShow*/
280
+ p(T, _) {
281
+ t = T, _[0] & /*paymentMethodsToShow*/
282
282
  512 && !Q(i.src, l = /*payMeth*/
283
283
  t[51].LogoUrl) && m(i, "src", l), _[0] & /*paymentMethodsToShow*/
284
284
  512 && c !== (c = /*payMeth*/
285
285
  t[51].Label) && m(i, "alt", c), _[0] & /*paymentMethodsToShow*/
286
286
  512 && p !== (p = /*payMeth*/
287
287
  (t[51].Label || /*payMeth*/
288
- t[51].Name) + "") && Z(L, p), _[0] & /*$_*/
288
+ t[51].Name) + "") && A(L, p), _[0] & /*$_*/
289
289
  32768 && n !== (n = /*$_*/
290
- t[15]("generalMin") + "") && Z(w, n), _[0] & /*paymentMethodsToShow*/
290
+ t[15]("generalMin") + "") && A(w, n), _[0] & /*paymentMethodsToShow*/
291
291
  512 && F !== (F = Y(
292
292
  /*payMeth*/
293
293
  t[51].DisplayCurrency.MinAmountLimit,
294
294
  /*payMeth*/
295
295
  t[51].DisplayCurrency.Name
296
- ) + "") && Z(O, F), _[0] & /*$_*/
296
+ ) + "") && A(O, F), _[0] & /*$_*/
297
297
  32768 && B !== (B = /*$_*/
298
- t[15]("generalMax") + "") && Z(D, B), _[0] & /*paymentMethodsToShow*/
298
+ t[15]("generalMax") + "") && A(D, B), _[0] & /*paymentMethodsToShow*/
299
299
  512 && P !== (P = Y(
300
300
  /*payMeth*/
301
301
  t[51].DisplayCurrency.MaxAmountLimit,
302
302
  /*payMeth*/
303
303
  t[51].DisplayCurrency.Name
304
- ) + "") && Z(E, P), _[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
304
+ ) + "") && A(E, P), _[0] & /*selectedPaymentMethod, paymentMethodsToShow*/
305
305
  640 && $(
306
306
  e,
307
307
  "checked",
@@ -310,8 +310,8 @@ function C2(t) {
310
310
  t[51].Name
311
311
  );
312
312
  },
313
- d(N) {
314
- N && j(e), W = !1, k2(I);
313
+ d(T) {
314
+ T && G(e), W = !1, k2(j);
315
315
  }
316
316
  };
317
317
  }
@@ -332,7 +332,7 @@ function b2(t) {
332
332
  let r = y(t), d = r(t);
333
333
  return {
334
334
  c() {
335
- e = u("div"), o = u("div"), d.c(), i = k(), l = u("div"), c = u("p"), f = A(g), h = k(), M = u("p"), L = A(p), m(o, "class", "EmptyContentMessageImg"), m(c, "class", "EmptyContentMessageTitle"), m(M, "class", "EmptyContentMessageText"), m(l, "class", "EmptyContentMessageContent"), m(e, "class", "EmptyContentMessageWrapper"), $(
335
+ e = u("div"), o = u("div"), d.c(), i = k(), l = u("div"), c = u("p"), f = Z(g), h = k(), M = u("p"), L = Z(p), m(o, "class", "EmptyContentMessageImg"), m(c, "class", "EmptyContentMessageTitle"), m(M, "class", "EmptyContentMessageText"), m(l, "class", "EmptyContentMessageContent"), m(e, "class", "EmptyContentMessageWrapper"), $(
336
336
  e,
337
337
  "EmptyContentMessageDesktop",
338
338
  /*desktopView*/
@@ -340,14 +340,14 @@ function b2(t) {
340
340
  );
341
341
  },
342
342
  m(n, w) {
343
- G(n, e, w), a(e, o), d.m(o, null), a(e, i), a(e, l), a(l, c), a(c, f), a(l, h), a(l, M), a(M, L);
343
+ I(n, e, w), a(e, o), d.m(o, null), a(e, i), a(e, l), a(l, c), a(c, f), a(l, h), a(l, M), a(M, L);
344
344
  },
345
345
  p(n, w) {
346
346
  r === (r = y(n)) && d ? d.p(n, w) : (d.d(1), d = r(n), d && (d.c(), d.m(o, null))), w[0] & /*$_*/
347
347
  32768 && g !== (g = /*$_*/
348
- n[15]("error") + "") && Z(f, g), w[0] & /*$_*/
348
+ n[15]("error") + "") && A(f, g), w[0] & /*$_*/
349
349
  32768 && p !== (p = /*$_*/
350
- n[15]("noPaymentMethods") + "") && Z(L, p), w[0] & /*desktopView*/
350
+ n[15]("noPaymentMethods") + "") && A(L, p), w[0] & /*desktopView*/
351
351
  4096 && $(
352
352
  e,
353
353
  "EmptyContentMessageDesktop",
@@ -356,7 +356,7 @@ function b2(t) {
356
356
  );
357
357
  },
358
358
  d(n) {
359
- n && j(e), d.d();
359
+ n && G(e), d.d();
360
360
  }
361
361
  };
362
362
  }
@@ -367,11 +367,11 @@ function se(t) {
367
367
  e = u("img"), Q(e.src, o = te) || m(e, "src", o), m(e, "alt", "empty-payment-method-list");
368
368
  },
369
369
  m(i, l) {
370
- G(i, e, l);
370
+ I(i, e, l);
371
371
  },
372
372
  p: a2,
373
373
  d(i) {
374
- i && j(e);
374
+ i && G(e);
375
375
  }
376
376
  };
377
377
  }
@@ -383,7 +383,7 @@ function ie(t) {
383
383
  t[1]}/empty-pay-meth-list.png`) || m(e, "src", o), m(e, "width", "300px"), m(e, "alt", "empty-payment-method-list");
384
384
  },
385
385
  m(i, l) {
386
- G(i, e, l);
386
+ I(i, e, l);
387
387
  },
388
388
  p(i, l) {
389
389
  l[0] & /*assetsurl*/
@@ -391,7 +391,7 @@ function ie(t) {
391
391
  i[1]}/empty-pay-meth-list.png`) && m(e, "src", o);
392
392
  },
393
393
  d(i) {
394
- i && j(e);
394
+ i && G(e);
395
395
  }
396
396
  };
397
397
  }
@@ -399,13 +399,13 @@ function _2(t) {
399
399
  let e, o, i, l;
400
400
  return {
401
401
  c() {
402
- e = u("div"), o = A(
402
+ e = u("div"), o = Z(
403
403
  /*methodsButtonToggleText*/
404
404
  t[8]
405
405
  ), m(e, "class", "ShowAllButton");
406
406
  },
407
407
  m(c, g) {
408
- G(c, e, g), a(e, o), i || (l = t2(
408
+ I(c, e, g), a(e, o), i || (l = t2(
409
409
  e,
410
410
  "click",
411
411
  /*click_handler_2*/
@@ -414,14 +414,14 @@ function _2(t) {
414
414
  },
415
415
  p(c, g) {
416
416
  g[0] & /*methodsButtonToggleText*/
417
- 256 && Z(
417
+ 256 && A(
418
418
  o,
419
419
  /*methodsButtonToggleText*/
420
420
  c[8]
421
421
  );
422
422
  },
423
423
  d(c) {
424
- c && j(e), i = !1, l();
424
+ c && G(e), i = !1, l();
425
425
  }
426
426
  };
427
427
  }
@@ -429,7 +429,7 @@ function v2(t) {
429
429
  let e, o, i;
430
430
  return {
431
431
  c() {
432
- e = u("cashier-error"), o = u("span"), i = A(
432
+ e = u("cashier-error"), o = u("span"), i = Z(
433
433
  /*errorMessage*/
434
434
  t[11]
435
435
  ), m(o, "slot", "text"), U(
@@ -465,11 +465,11 @@ function v2(t) {
465
465
  ), U(e, "hidebuttons", "true");
466
466
  },
467
467
  m(l, c) {
468
- G(l, e, c), a(e, o), a(o, i);
468
+ I(l, e, c), a(e, o), a(o, i);
469
469
  },
470
470
  p(l, c) {
471
471
  c[0] & /*errorMessage*/
472
- 2048 && Z(
472
+ 2048 && A(
473
473
  i,
474
474
  /*errorMessage*/
475
475
  l[11]
@@ -512,7 +512,7 @@ function v2(t) {
512
512
  );
513
513
  },
514
514
  d(l) {
515
- l && j(e);
515
+ l && G(e);
516
516
  }
517
517
  };
518
518
  }
@@ -526,10 +526,10 @@ function le(t) {
526
526
  );
527
527
  return {
528
528
  c() {
529
- i && i.c(), e = k(), l && l.c(), o = j2();
529
+ i && i.c(), e = k(), l && l.c(), o = G2();
530
530
  },
531
531
  m(c, g) {
532
- i && i.m(c, g), G(c, e, g), l && l.m(c, g), G(c, o, g);
532
+ i && i.m(c, g), I(c, e, g), l && l.m(c, g), I(c, o, g);
533
533
  },
534
534
  p(c, g) {
535
535
  /*isDataLoaded*/
@@ -539,7 +539,7 @@ function le(t) {
539
539
  i: a2,
540
540
  o: a2,
541
541
  d(c) {
542
- c && (j(e), j(o)), i && i.d(c), l && l.d(c);
542
+ c && (G(e), G(o)), i && i.d(c), l && l.d(c);
543
543
  }
544
544
  };
545
545
  }
@@ -549,7 +549,7 @@ const ne = "PaymentPromotion", re = () => {
549
549
  function ce(t, e, o) {
550
550
  let i, l;
551
551
  d2(t, J2, (s) => o(15, i = s)), d2(t, u2, (s) => o(36, l = s)), h2.extend(K2);
552
- let { lang: c = "en" } = e, { local: g = "en-US" } = e, { endpoint: f } = e, { paymentsession: h } = e, { playersession: M } = e, { customerid: p } = e, { assetsurl: L } = e, { currency: y } = e, { numberofmethodsshown: r } = e, { translationurl: d = "" } = e, { mbsource: n } = e, { clientstyling: w } = e, { clientstylingurl: z } = e, { currencydecimals: F = "2" } = e, { currencysymbol: O = "" } = e, { currencyposition: R = "" } = e, C, B = window.navigator.userAgent, D = [], H, P = "", E = [], W = [], I = "", q, N = !0, _ = !1, e2 = !1;
552
+ let { lang: c = "en" } = e, { local: g = "en-US" } = e, { endpoint: f } = e, { paymentsession: h } = e, { playersession: M } = e, { customerid: p } = e, { assetsurl: L } = e, { currency: y } = e, { numberofmethodsshown: r } = e, { translationurl: d = "" } = e, { mbsource: n } = e, { clientstyling: w } = e, { clientstylingurl: z } = e, { currencydecimals: F = "2" } = e, { currencysymbol: O = "" } = e, { currencyposition: R = "" } = e, C, B = window.navigator.userAgent, D = [], H, P = "", E = [], W = [], j = "", V, T = !0, _ = !1, e2 = !1;
553
553
  var X;
554
554
  (function(s) {
555
555
  s.PlayerSessionIsNotValid = "PlayerSessionIsNotValid", s.Success = "Success", s.JwtTokenError = "JwtTokenError";
@@ -558,8 +558,8 @@ function ce(t, e, o) {
558
558
  let s = d;
559
559
  if (s)
560
560
  return fetch(s).then((v) => v.json()).then((v) => {
561
- Object.keys(v).forEach((V) => {
562
- f2(V, v[V]);
561
+ Object.keys(v).forEach((q) => {
562
+ f2(q, v[q]);
563
563
  });
564
564
  }).catch((v) => {
565
565
  console.log(v);
@@ -571,12 +571,12 @@ function ce(t, e, o) {
571
571
  const l2 = () => {
572
572
  ee(c);
573
573
  }, J = () => {
574
- l && T();
575
- }, T = () => {
574
+ l && N();
575
+ }, N = () => {
576
576
  window.postMessage({ type: "DataLoading", isDataLoaded: _ });
577
577
  const s = new URL(`${f}/v2/player/${p}/payment/GetPaymentMetadata`), v = new Headers();
578
578
  v.append("accept", "application/json"), v.append("Content-Type", "application/json"), v.append("X-Client-Request-Timestamp", h2.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), v.append("X-SessionId", `${M}`), v.append("X-Payment-Session-Token", `${h || l}`);
579
- const V = {
579
+ const q = {
580
580
  method: "POST",
581
581
  headers: v,
582
582
  body: JSON.stringify({
@@ -584,16 +584,16 @@ function ce(t, e, o) {
584
584
  Tags: { UserAgent: window.navigator.userAgent }
585
585
  })
586
586
  };
587
- fetch(s, V).then((b) => {
587
+ fetch(s, q).then((b) => {
588
588
  const x = b.headers.get("X-Payment-Session-Token");
589
589
  return x && u2.set(x), b.json();
590
590
  }).then((b) => {
591
591
  if (b.error) {
592
- o(11, I = b.error);
592
+ o(11, j = b.error);
593
593
  return;
594
594
  }
595
595
  if (b.ResponseCode !== X.Success) {
596
- q = b.ResponseCode, x2();
596
+ V = b.ResponseCode, x2();
597
597
  return;
598
598
  }
599
599
  D = b.PaymentMethods?.Ordering ? D2(b) : E2(b), o(8, P = r && +r > 0 && D.length > +r ? i("showAll") : ""), o(9, E = P ? D.slice(0, +r) : D), o(14, e2 = !E.length), window.postMessage(
@@ -608,10 +608,10 @@ function ce(t, e, o) {
608
608
  });
609
609
  }, D2 = (s) => {
610
610
  const v = [];
611
- return s.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((V) => {
612
- const b = s.PaymentMethods.PaymentMethods.find((x) => x.Name === V);
611
+ return s.PaymentMethods.Ordering.DefaultPaymentMethodsOrder.forEach((q) => {
612
+ const b = s.PaymentMethods.PaymentMethods.find((x) => x.Name === q);
613
613
  if (b) {
614
- const x = b?.Logos.find((r2) => r2.LogoType === "Desktop") || {}, s2 = b?.Logos.find((r2) => r2.LogoType === "Mobile") || {}, K = N ? x : s2;
614
+ const x = b?.Logos.find((r2) => r2.LogoType === "Desktop") || {}, s2 = b?.Logos.find((r2) => r2.LogoType === "Mobile") || {}, K = T ? x : s2;
615
615
  b.isMethodPromoted = m2(b.Tags), b.LogoUrl = K.LogoUrl ? `https:${K.LogoUrl}` : "", b.isMethodPromoted ? W.push(b) : v.push(b);
616
616
  }
617
617
  }), v;
@@ -620,11 +620,11 @@ function ce(t, e, o) {
620
620
  ...x,
621
621
  isMethodPromoted: m2(x.Tags),
622
622
  LogoUrl: x.Logos && x.Logos.length && x.Logos[0].LogoUrl ? `https:${x.Logos[0].LogoUrl}` : ""
623
- })), [V, b] = v.reduce(
623
+ })), [q, b] = v.reduce(
624
624
  ([x, s2], K) => (K && K.isMethodPromoted ? x.push(K) : s2.promo(K), [x, s2]),
625
625
  [[], []]
626
626
  );
627
- return o(10, W = V), b;
627
+ return o(10, W = q), b;
628
628
  }, n2 = (s) => {
629
629
  o(7, H = s.Name), window.postMessage({ type: "SelectPayMeth", details: s }, window.location.href), dispatchEvent(new CustomEvent(
630
630
  "selectPayMeth",
@@ -639,12 +639,12 @@ function ce(t, e, o) {
639
639
  window.postMessage(
640
640
  {
641
641
  type: "ErrorResponseCode",
642
- errorResponseCode: q
642
+ errorResponseCode: V
643
643
  },
644
644
  window.location.href
645
645
  );
646
646
  }, S2 = () => {
647
- o(12, N = !Q2(B));
647
+ o(12, T = !Q2(B));
648
648
  }, c2 = () => {
649
649
  E == D ? Z2() : P2();
650
650
  }, P2 = () => {
@@ -652,11 +652,11 @@ function ce(t, e, o) {
652
652
  }, Z2 = () => {
653
653
  o(9, E = D.slice(0, +r)), H && !E.find((s) => s.Name === H) && E.splice(0, 0, D.find((s) => s.Name === H)), o(8, P = i("showAll"));
654
654
  }, m2 = (s) => s && s.split(",").some((v) => v === ne);
655
- G2(() => (S2(), $2(g, O, R, F), () => {
655
+ R2(() => (S2(), $2(g, O, R, F), () => {
656
656
  }));
657
- const A2 = (s) => n2(s), N2 = (s) => n2(s), T2 = () => c2();
657
+ const A2 = (s) => n2(s), T2 = (s) => n2(s), N2 = () => c2();
658
658
  function F2(s) {
659
- R2[s ? "unshift" : "push"](() => {
659
+ Y2[s ? "unshift" : "push"](() => {
660
660
  C = s, o(6, C);
661
661
  });
662
662
  }
@@ -664,12 +664,12 @@ function ce(t, e, o) {
664
664
  "lang" in s && o(0, c = s.lang), "local" in s && o(18, g = s.local), "endpoint" in s && o(19, f = s.endpoint), "paymentsession" in s && o(20, h = s.paymentsession), "playersession" in s && o(21, M = s.playersession), "customerid" in s && o(22, p = s.customerid), "assetsurl" in s && o(1, L = s.assetsurl), "currency" in s && o(23, y = s.currency), "numberofmethodsshown" in s && o(24, r = s.numberofmethodsshown), "translationurl" in s && o(2, d = s.translationurl), "mbsource" in s && o(3, n = s.mbsource), "clientstyling" in s && o(4, w = s.clientstyling), "clientstylingurl" in s && o(5, z = s.clientstylingurl), "currencydecimals" in s && o(25, F = s.currencydecimals), "currencysymbol" in s && o(26, O = s.currencysymbol), "currencyposition" in s && o(27, R = s.currencyposition);
665
665
  }, t.$$.update = () => {
666
666
  t.$$.dirty[0] & /*endpoint, paymentsession, customerid*/
667
- 5767168 && f && h && p && T(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid*/
667
+ 5767168 && f && h && p && N(), t.$$.dirty[0] & /*endpoint, paymentsession, customerid*/
668
668
  5767168 && f && !h && p && J(), t.$$.dirty[0] & /*lang*/
669
669
  1 && c && l2(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
670
- 80 && w && C && q2(C, w), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
670
+ 80 && w && C && X2(C, w), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
671
671
  96 && z && C && V2(C, z), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
672
- 72 && n && C && Y2(C, `${n}.Style`), t.$$.dirty[0] & /*lang, translationurl*/
672
+ 72 && n && C && q2(C, `${n}.Style`), t.$$.dirty[0] & /*lang, translationurl*/
673
673
  5 && c && d && o2();
674
674
  }, [
675
675
  c,
@@ -683,8 +683,8 @@ function ce(t, e, o) {
683
683
  P,
684
684
  E,
685
685
  W,
686
- I,
687
- N,
686
+ j,
687
+ T,
688
688
  _,
689
689
  e2,
690
690
  i,
@@ -701,8 +701,8 @@ function ce(t, e, o) {
701
701
  O,
702
702
  R,
703
703
  A2,
704
- N2,
705
704
  T2,
705
+ N2,
706
706
  F2
707
707
  ];
708
708
  }
@@ -713,7 +713,7 @@ class me extends H2 {
713
713
  e,
714
714
  ce,
715
715
  le,
716
- W2,
716
+ j2,
717
717
  {
718
718
  lang: 0,
719
719
  local: 18,
@@ -833,7 +833,7 @@ class me extends H2 {
833
833
  this.$$set({ currencyposition: e }), S();
834
834
  }
835
835
  }
836
- X2(me, { lang: {}, local: {}, endpoint: {}, paymentsession: {}, playersession: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, currencydecimals: {}, currencysymbol: {}, currencyposition: {} }, [], [], !0);
836
+ W2(me, { lang: {}, local: {}, endpoint: {}, paymentsession: {}, playersession: {}, customerid: {}, assetsurl: {}, currency: {}, numberofmethodsshown: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, currencydecimals: {}, currencysymbol: {}, currencyposition: {} }, [], [], !0);
837
837
  export {
838
838
  me as default
839
839
  };
@@ -1 +1 @@
1
- "use strict";const t=require("./CashierError-BEEnpeVH.cjs");function y(i,{delay:e=0,duration:n=400,easing:l=t.identity}={}){const r=+getComputedStyle(i).opacity;return{delay:e,duration:n,easing:l,css:o=>`opacity: ${o*r}`}}function x(i){t.append_styles(i,"svelte-16p7bax","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}")}const S=i=>({}),b=i=>({});function w(i){let e,n,l,r,o,g,d,h,u=i[3]!=="error"&&C(i);const m=i[12].content,c=t.create_slot(m,i,i[11],b);return{c(){e=t.element("div"),n=t.element("div"),l=t.element("div"),u&&u.c(),r=t.space(),c&&c.c(),t.attr(l,"class","ModalContainer"),t.attr(l,"style",o=i[3]==="video"?"height: 70%":"height: auto"),t.attr(n,"id","Modal"),t.add_render_callback(()=>i[14].call(n))},m(a,f){t.insert(a,e,f),t.append(e,n),t.append(n,l),u&&u.m(l,null),t.append(l,r),c&&c.m(l,null),i[13](n),g=t.add_iframe_resize_listener(n,i[14].bind(n)),i[15](e),h=!0},p(a,f){i=a,i[3]!=="error"?u?u.p(i,f):(u=C(i),u.c(),u.m(l,r)):u&&(u.d(1),u=null),c&&c.p&&(!h||f&2048)&&t.update_slot_base(c,m,i,i[11],h?t.get_slot_changes(m,i[11],f,S):t.get_all_dirty_from_scope(i[11]),b),(!h||f&8&&o!==(o=i[3]==="video"?"height: 70%":"height: auto"))&&t.attr(l,"style",o)},i(a){h||(t.transition_in(c,a),a&&t.add_render_callback(()=>{h&&(d||(d=t.create_bidirectional_transition(n,y,i[4],!0)),d.run(1))}),h=!0)},o(a){t.transition_out(c,a),a&&(d||(d=t.create_bidirectional_transition(n,y,i[4],!1)),d.run(0)),h=!1},d(a){a&&t.detach(e),u&&u.d(),c&&c.d(a),i[13](null),g(),a&&d&&d.end(),i[15](null)}}}function C(i){let e,n,l,r;return{c(){e=t.svg_element("svg"),n=t.svg_element("path"),t.attr(n,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),t.attr(n,"fill","#111111"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","13"),t.attr(e,"height","13"),t.attr(e,"viewBox","0 0 13 13"),t.attr(e,"fill","none"),t.attr(e,"class","CloseButton")},m(o,g){t.insert(o,e,g),t.append(e,n),l||(r=t.listen(e,"click",i[7]),l=!0)},p:t.noop,d(o){o&&t.detach(e),l=!1,r()}}}function z(i){let e,n,l=i[2]==="true"&&w(i);return{c(){l&&l.c(),e=t.empty()},m(r,o){l&&l.m(r,o),t.insert(r,e,o),n=!0},p(r,[o]){r[2]==="true"?l?(l.p(r,o),o&4&&t.transition_in(l,1)):(l=w(r),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(r){n||(t.transition_in(l),n=!0)},o(r){t.transition_out(l),n=!1},d(r){r&&t.detach(e),l&&l.d(r)}}}function j(i,e,n){let{$$slots:l={},$$scope:r}=e,{mbsource:o}=e,{clientstyling:g}=e,{clientstylingurl:d}=e,{show:h}=e,{modaltype:u=""}=e,{duration:m=200}=e,{width:c}=e,{height:a}=e,f,_;const v=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))};t.onMount(()=>()=>{});function k(s){t.binding_callbacks[s?"unshift":"push"](()=>{f=s,n(6,f)})}function L(){c=this.clientWidth,a=this.clientHeight,n(0,c),n(1,a)}function M(s){t.binding_callbacks[s?"unshift":"push"](()=>{_=s,n(5,_)})}return i.$$set=s=>{"mbsource"in s&&n(8,o=s.mbsource),"clientstyling"in s&&n(9,g=s.clientstyling),"clientstylingurl"in s&&n(10,d=s.clientstylingurl),"show"in s&&n(2,h=s.show),"modaltype"in s&&n(3,u=s.modaltype),"duration"in s&&n(4,m=s.duration),"width"in s&&n(0,c=s.width),"height"in s&&n(1,a=s.height),"$$scope"in s&&n(11,r=s.$$scope)},i.$$.update=()=>{i.$$.dirty&544&&g&&_&&t.setClientStyling(_,g),i.$$.dirty&1056&&d&&_&&t.setClientStylingURL(_,d),i.$$.dirty&288&&o&&_&&t.setStreamStyling(_,`${o}.Style`)},[c,a,h,u,m,_,f,v,o,g,d,r,l,k,L,M]}class p extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,j,z,t.safe_not_equal,{mbsource:8,clientstyling:9,clientstylingurl:10,show:2,modaltype:3,duration:4,width:0,height:1},x)}get mbsource(){return this.$$.ctx[8]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),t.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(e){this.$$set({modaltype:e}),t.flush()}get duration(){return this.$$.ctx[4]}set duration(e){this.$$set({duration:e}),t.flush()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),t.flush()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),t.flush()}}t.create_custom_element(p,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},duration:{},width:{},height:{}},["content"],[],!0);const E=Object.freeze(Object.defineProperty({__proto__:null,default:p},Symbol.toStringTag,{value:"Module"}));exports.CashierModal_ce=E;exports.fade=y;
1
+ "use strict";const t=require("./CashierError-BVTgkQx8.cjs");function y(i,{delay:e=0,duration:n=400,easing:l=t.identity}={}){const r=+getComputedStyle(i).opacity;return{delay:e,duration:n,easing:l,css:o=>`opacity: ${o*r}`}}function x(i){t.append_styles(i,"svelte-16p7bax","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}#Modal{position:fixed;width:100%;height:100%;top:0;left:0;background:var(--emw--color-black-transparency-10, rgba(0, 0, 0, 0.1));display:flex;justify-content:center;align-items:center;z-index:10}.ModalContainer{min-width:300px;height:100%;max-height:70%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:var(--emw--spacing-large, 20px);position:relative;padding:var(--emw--spacing-medium, 15px);min-height:200px;border-radius:var(--mmw--border-radius-large-plus, 10px);background-color:var(--emw--color-white, #fff);max-width:600px}.CloseButton{position:absolute;left:0;top:0;margin:10px;z-index:20}@container (max-width: 475px){.ModalContainer{max-width:90%;max-height:80vh;margin:auto}}")}const S=i=>({}),b=i=>({});function w(i){let e,n,l,r,o,g,d,h,u=i[3]!=="error"&&C(i);const m=i[12].content,c=t.create_slot(m,i,i[11],b);return{c(){e=t.element("div"),n=t.element("div"),l=t.element("div"),u&&u.c(),r=t.space(),c&&c.c(),t.attr(l,"class","ModalContainer"),t.attr(l,"style",o=i[3]==="video"?"height: 70%":"height: auto"),t.attr(n,"id","Modal"),t.add_render_callback(()=>i[14].call(n))},m(a,f){t.insert(a,e,f),t.append(e,n),t.append(n,l),u&&u.m(l,null),t.append(l,r),c&&c.m(l,null),i[13](n),g=t.add_iframe_resize_listener(n,i[14].bind(n)),i[15](e),h=!0},p(a,f){i=a,i[3]!=="error"?u?u.p(i,f):(u=C(i),u.c(),u.m(l,r)):u&&(u.d(1),u=null),c&&c.p&&(!h||f&2048)&&t.update_slot_base(c,m,i,i[11],h?t.get_slot_changes(m,i[11],f,S):t.get_all_dirty_from_scope(i[11]),b),(!h||f&8&&o!==(o=i[3]==="video"?"height: 70%":"height: auto"))&&t.attr(l,"style",o)},i(a){h||(t.transition_in(c,a),a&&t.add_render_callback(()=>{h&&(d||(d=t.create_bidirectional_transition(n,y,i[4],!0)),d.run(1))}),h=!0)},o(a){t.transition_out(c,a),a&&(d||(d=t.create_bidirectional_transition(n,y,i[4],!1)),d.run(0)),h=!1},d(a){a&&t.detach(e),u&&u.d(),c&&c.d(a),i[13](null),g(),a&&d&&d.end(),i[15](null)}}}function C(i){let e,n,l,r;return{c(){e=t.svg_element("svg"),n=t.svg_element("path"),t.attr(n,"d","M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"),t.attr(n,"fill","#111111"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","13"),t.attr(e,"height","13"),t.attr(e,"viewBox","0 0 13 13"),t.attr(e,"fill","none"),t.attr(e,"class","CloseButton")},m(o,g){t.insert(o,e,g),t.append(e,n),l||(r=t.listen(e,"click",i[7]),l=!0)},p:t.noop,d(o){o&&t.detach(e),l=!1,r()}}}function z(i){let e,n,l=i[2]==="true"&&w(i);return{c(){l&&l.c(),e=t.empty()},m(r,o){l&&l.m(r,o),t.insert(r,e,o),n=!0},p(r,[o]){r[2]==="true"?l?(l.p(r,o),o&4&&t.transition_in(l,1)):(l=w(r),l.c(),t.transition_in(l,1),l.m(e.parentNode,e)):l&&(t.group_outros(),t.transition_out(l,1,1,()=>{l=null}),t.check_outros())},i(r){n||(t.transition_in(l),n=!0)},o(r){t.transition_out(l),n=!1},d(r){r&&t.detach(e),l&&l.d(r)}}}function j(i,e,n){let{$$slots:l={},$$scope:r}=e,{mbsource:o}=e,{clientstyling:g}=e,{clientstylingurl:d}=e,{show:h}=e,{modaltype:u=""}=e,{duration:m=200}=e,{width:c}=e,{height:a}=e,f,_;const v=()=>{window.dispatchEvent(new CustomEvent("modal-update",{detail:{type:"closed",data:{}}}))};t.onMount(()=>()=>{});function k(s){t.binding_callbacks[s?"unshift":"push"](()=>{f=s,n(6,f)})}function L(){c=this.clientWidth,a=this.clientHeight,n(0,c),n(1,a)}function M(s){t.binding_callbacks[s?"unshift":"push"](()=>{_=s,n(5,_)})}return i.$$set=s=>{"mbsource"in s&&n(8,o=s.mbsource),"clientstyling"in s&&n(9,g=s.clientstyling),"clientstylingurl"in s&&n(10,d=s.clientstylingurl),"show"in s&&n(2,h=s.show),"modaltype"in s&&n(3,u=s.modaltype),"duration"in s&&n(4,m=s.duration),"width"in s&&n(0,c=s.width),"height"in s&&n(1,a=s.height),"$$scope"in s&&n(11,r=s.$$scope)},i.$$.update=()=>{i.$$.dirty&544&&g&&_&&t.setClientStyling(_,g),i.$$.dirty&1056&&d&&_&&t.setClientStylingURL(_,d),i.$$.dirty&288&&o&&_&&t.setStreamStyling(_,`${o}.Style`)},[c,a,h,u,m,_,f,v,o,g,d,r,l,k,L,M]}class p extends t.SvelteComponent{constructor(e){super(),t.init$1(this,e,j,z,t.safe_not_equal,{mbsource:8,clientstyling:9,clientstylingurl:10,show:2,modaltype:3,duration:4,width:0,height:1},x)}get mbsource(){return this.$$.ctx[8]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get show(){return this.$$.ctx[2]}set show(e){this.$$set({show:e}),t.flush()}get modaltype(){return this.$$.ctx[3]}set modaltype(e){this.$$set({modaltype:e}),t.flush()}get duration(){return this.$$.ctx[4]}set duration(e){this.$$set({duration:e}),t.flush()}get width(){return this.$$.ctx[0]}set width(e){this.$$set({width:e}),t.flush()}get height(){return this.$$.ctx[1]}set height(e){this.$$set({height:e}),t.flush()}}t.create_custom_element(p,{mbsource:{},clientstyling:{},clientstylingurl:{},show:{},modaltype:{},duration:{},width:{},height:{}},["content"],[],!0);const E=Object.freeze(Object.defineProperty({__proto__:null,default:p},Symbol.toStringTag,{value:"Module"}));exports.CashierModal_ce=E;exports.fade=y;