@everymatrix/cashier-page 1.73.1 → 1.73.2

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 (63) hide show
  1. package/components/{CashierConfirmModal-BCk4hvRj.js → CashierConfirmModal-Bl65cs4j.js} +505 -470
  2. package/components/CashierConfirmModal-Dbth1Vwp.cjs +4 -0
  3. package/components/{CashierConfirmModal-DXlKhIue.js → CashierConfirmModal-DiJy6WCC.js} +359 -324
  4. package/components/CashierError-CUi7dlhw.cjs +5 -0
  5. package/components/CashierError-DT8XXsZb.js +3798 -0
  6. package/components/CashierError-sabBjpnx.js +3798 -0
  7. package/components/{CashierHeader-DtS_U-De.js → CashierHeader-B_TbzRzY.js} +181 -184
  8. package/components/CashierHeader-C87PEbuI.cjs +1 -0
  9. package/components/{CashierHeader-86wrgmgP.js → CashierHeader-CRNLSN-X.js} +182 -185
  10. package/components/{CashierIframeRedirect-Xzpx4Rjk.js → CashierIframeRedirect-DcI_fdtE.js} +79 -109
  11. package/components/CashierIframeRedirect-q6Z4Yxd2.cjs +1 -0
  12. package/components/{CashierIframeRedirect-CmqcfGcT.js → CashierIframeRedirect-zBfOGfH0.js} +79 -109
  13. package/components/{CashierMethodDetails-B1jSb3IC.js → CashierMethodDetails-BSFTmQGh.js} +11 -12
  14. package/components/{CashierMethodDetails-D9tO8F-N.cjs → CashierMethodDetails-Bn2T2uqA.cjs} +6 -6
  15. package/components/{CashierMethodDetails-CZ1Xj4bB.js → CashierMethodDetails-Dw38VRXT.js} +11 -12
  16. package/components/{CashierMethodsList-BoP67Zj_.js → CashierMethodsList-BoxBSxdg.js} +42 -43
  17. package/components/CashierMethodsList-BraJmcfY.cjs +1 -0
  18. package/components/{CashierMethodsList-pOyUlgCs.js → CashierMethodsList-DpB8OQgM.js} +47 -48
  19. package/components/CashierModal-BUzTqeZq.cjs +1 -0
  20. package/components/{CashierModal-B4b12-Am.js → CashierModal-C9DRbWKa.js} +24 -25
  21. package/components/{CashierModal-DCgiaC4V.js → CashierModal-l0r5lSbV.js} +28 -29
  22. package/components/{CashierNotifications-CWqwdi55.js → CashierNotifications-BRaPHw0O.js} +3 -3
  23. package/components/{CashierNotifications-BLJS7gpv.cjs → CashierNotifications-BrGm-gyx.cjs} +1 -1
  24. package/components/{CashierNotifications-BZCaBrRm.js → CashierNotifications-C60PYJS0.js} +9 -9
  25. package/components/{CashierPage-BZCoKtSr.cjs → CashierPage-9Ld9PtFx.cjs} +1 -1
  26. package/components/{CashierPage-BVN_y5LM.js → CashierPage-DPeHCblC.js} +12 -12
  27. package/components/{CashierPage-B14Zambu.js → CashierPage-Kr04tUC9.js} +12 -12
  28. package/components/{CashierReceiptPage-hbrIFE7Z.js → CashierReceiptPage-BJsytdmQ.js} +47 -47
  29. package/components/{CashierReceiptPage-BM8IB2en.js → CashierReceiptPage-D8xJxpP4.js} +47 -47
  30. package/components/CashierReceiptPage-Y3xANFuN.cjs +1 -0
  31. package/components/CashierSessionExpirationModal-B5KZiMN1.cjs +2 -0
  32. package/components/{CashierSessionExpirationModal-4QgY4tj0.js → CashierSessionExpirationModal-CLmExJ5_.js} +13 -14
  33. package/components/{CashierSessionExpirationModal-BZjFbzTF.js → CashierSessionExpirationModal-COQu8IVr.js} +13 -14
  34. package/components/{CashierSpinner-BdeNFm1c.js → CashierSpinner-CC_b-bLQ.js} +10 -11
  35. package/components/{CashierSpinner-COjPdCUV.js → CashierSpinner-DGvxbV84.js} +6 -7
  36. package/components/CashierSpinner-Dek1XIlD.cjs +1 -0
  37. package/components/{CashierTransactionHistory-DwBe7fCZ.js → CashierTransactionHistory-BtCGDpsh.js} +83 -84
  38. package/components/{CashierTransactionHistory-DzdL--gs.js → CashierTransactionHistory-_dzkXj9B.js} +69 -70
  39. package/components/CashierTransactionHistory-yWcSzIDX.cjs +1 -0
  40. package/components/{CashierVerifications-Ct5BMC4Z.js → CashierVerifications-CFZOQaUC.js} +31 -32
  41. package/components/CashierVerifications-Deeuh5dM.cjs +1 -0
  42. package/components/{CashierVerifications-bo5F0ePz.js → CashierVerifications-df_pAaWn.js} +31 -32
  43. package/components/CashierVideoModal-BVDx9GT8.cjs +1 -0
  44. package/components/{CashierVideoModal-CzRdJr4V.js → CashierVideoModal-C4pk_kaX.js} +28 -29
  45. package/components/{CashierVideoModal-CQLJKJAK.js → CashierVideoModal-DfOU6IDE.js} +35 -36
  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/components/CashierConfirmModal-DMmJumcl.cjs +0 -4
  51. package/components/CashierError-BydkW7s_.js +0 -3800
  52. package/components/CashierError-Dpt_Z7yL.cjs +0 -5
  53. package/components/CashierError-Dz_HsnJl.js +0 -3800
  54. package/components/CashierHeader-BXKYku0i.cjs +0 -1
  55. package/components/CashierIframeRedirect-BARMuRTc.cjs +0 -1
  56. package/components/CashierMethodsList-F_QBfadW.cjs +0 -1
  57. package/components/CashierModal-C-yyjQ8m.cjs +0 -1
  58. package/components/CashierReceiptPage-DY4vYKOg.cjs +0 -1
  59. package/components/CashierSessionExpirationModal-B-JloK58.cjs +0 -2
  60. package/components/CashierSpinner-CpkB8Zoj.cjs +0 -1
  61. package/components/CashierTransactionHistory-BRRK3_Wm.cjs +0 -1
  62. package/components/CashierVerifications-DEJgktmX.cjs +0 -1
  63. package/components/CashierVideoModal-8I67tMwv.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { S as q, b as N, s as F, f as b, c as P, n as L, e as v, C as a, B as R, q as w, l as k, m as _, A as M, o as p, p as E, F as Z, z as G, E as J } from "./CashierConfirmModal-DXlKhIue.js";
2
- import { a as K, i as Q, $ as V } from "./CashierError-Dz_HsnJl.js";
1
+ import { S as z, b as N, s as U, f as b, c as Z, n as L, e as v, D as a, C as S, q as w, l as k, m as _, B as H, o as p, p as E, w as F, A as G, F as P, G as J, H as K, I as Q } from "./CashierConfirmModal-DiJy6WCC.js";
2
+ import { a as V, i as W, $ as X } from "./CashierError-DT8XXsZb.js";
3
3
  if (typeof window < "u") {
4
4
  let i = function(e) {
5
5
  return function(...t) {
@@ -12,7 +12,7 @@ if (typeof window < "u") {
12
12
  }
13
13
  };
14
14
  };
15
- customElements.define = i(customElements.define), import("./CashierHeader-86wrgmgP.js").then(({ default: e }) => {
15
+ customElements.define = i(customElements.define), import("./CashierHeader-B_TbzRzY.js").then(({ default: e }) => {
16
16
  !customElements.get("cashier-header") && customElements.define("cashier-header", e.element);
17
17
  });
18
18
  }
@@ -28,42 +28,19 @@ if (typeof window < "u") {
28
28
  }
29
29
  };
30
30
  };
31
- customElements.define = i(customElements.define), import("./CashierSpinner-COjPdCUV.js").then(({ default: e }) => {
31
+ customElements.define = i(customElements.define), import("./CashierSpinner-DGvxbV84.js").then(({ default: e }) => {
32
32
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
33
33
  });
34
34
  }
35
- function W(i, e) {
36
- if (i) {
37
- const t = document.createElement("style");
38
- t.innerHTML = e, i.appendChild(t);
39
- }
40
- }
41
- function X(i, e) {
42
- const t = new URL(e);
43
- fetch(t.href).then((n) => n.text()).then((n) => {
44
- const o = document.createElement("style");
45
- o.innerHTML = n, i && i.appendChild(o);
46
- }).catch((n) => {
47
- console.error("There was an error while trying to load client styling from URL", n);
48
- });
35
+ function R(i, e) {
36
+ V(i, e);
49
37
  }
50
- function Y(i, e, t) {
51
- if (window.emMessageBus) {
52
- const n = document.createElement("style");
53
- window.emMessageBus.subscribe(e, (o) => {
54
- n.innerHTML = o, i && i.appendChild(n);
55
- });
56
- }
57
- }
58
- function S(i, e) {
59
- K(i, e);
60
- }
61
- function x(i) {
62
- Q({
38
+ function Y(i) {
39
+ W({
63
40
  fallbackLocale: "en"
64
- }), V.set(i);
41
+ }), X.set(i);
65
42
  }
66
- const T = {
43
+ const D = {
67
44
  en: {
68
45
  redirectHeader: "Deposit redirect"
69
46
  },
@@ -80,17 +57,17 @@ const T = {
80
57
  redirectHeader: "Deposit redirect"
81
58
  }
82
59
  };
83
- function $(i) {
84
- P(i, "svelte-wuv80u", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
60
+ function x(i) {
61
+ Z(i, "svelte-wuv80u", ".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
85
62
  }
86
- function O(i) {
63
+ function I(i) {
87
64
  let e, t, n;
88
65
  return {
89
66
  c() {
90
67
  e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', w(e, "slot", "leftButton"), w(e, "class", "CashierHeaderLeftButton");
91
68
  },
92
- m(o, h) {
93
- k(o, e, h), t || (n = M(
69
+ m(f, h) {
70
+ k(f, e, h), t || (n = H(
94
71
  e,
95
72
  "click",
96
73
  /*close*/
@@ -98,19 +75,19 @@ function O(i) {
98
75
  ), t = !0);
99
76
  },
100
77
  p: L,
101
- d(o) {
102
- o && v(e), t = !1, n();
78
+ d(f) {
79
+ f && v(e), t = !1, n();
103
80
  }
104
81
  };
105
82
  }
106
- function j(i) {
83
+ function O(i) {
107
84
  let e, t, n;
108
85
  return {
109
86
  c() {
110
87
  e = p("div"), e.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path 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" fill="#111111"></path></svg>', w(e, "slot", "rightButton"), w(e, "class", "CashierHeaderRightButton");
111
88
  },
112
- m(o, h) {
113
- k(o, e, h), t || (n = M(
89
+ m(f, h) {
90
+ k(f, e, h), t || (n = H(
114
91
  e,
115
92
  "click",
116
93
  /*close*/
@@ -118,12 +95,12 @@ function j(i) {
118
95
  ), t = !0);
119
96
  },
120
97
  p: L,
121
- d(o) {
122
- o && v(e), t = !1, n();
98
+ d(f) {
99
+ f && v(e), t = !1, n();
123
100
  }
124
101
  };
125
102
  }
126
- function D(i) {
103
+ function T(i) {
127
104
  let e;
128
105
  return {
129
106
  c() {
@@ -173,18 +150,18 @@ function D(i) {
173
150
  }
174
151
  };
175
152
  }
176
- function ee(i) {
177
- let e, t, n, o, h, m, d, g, y, c = !!/*showbackbutton*/
153
+ function $(i) {
154
+ let e, t, n, f, h, m, d, g, C, o = !!/*showbackbutton*/
178
155
  i[3] && /*showbackbutton*/
179
- i[3] !== "false" && O(i), r = (!/*showbackbutton*/
156
+ i[3] !== "false" && I(i), r = (!/*showbackbutton*/
180
157
  i[3] || /*showbackbutton*/
181
- i[3] === "false") && j(i), u = (
158
+ i[3] === "false") && O(i), c = (
182
159
  /*isLoading*/
183
- i[9] && D(i)
160
+ i[9] && T(i)
184
161
  );
185
162
  return {
186
163
  c() {
187
- e = p("div"), t = p("cashier-header"), c && c.c(), n = E(), r && r.c(), o = E(), u && u.c(), h = E(), m = p("iframe"), a(
164
+ e = p("div"), t = p("cashier-header"), o && o.c(), n = E(), r && r.c(), f = E(), c && c.c(), h = E(), m = p("iframe"), a(
188
165
  t,
189
166
  "lang",
190
167
  /*lang*/
@@ -219,141 +196,141 @@ function ee(i) {
219
196
  "mbsource",
220
197
  /*mbsource*/
221
198
  i[4]
222
- ), R(m.src, d = /*iframeurl*/
199
+ ), S(m.src, d = /*iframeurl*/
223
200
  i[1]) || w(m, "src", d), w(m, "frameborder", "0"), w(e, "class", "CashierRedirectIframe");
224
201
  },
225
- m(l, f) {
226
- k(l, e, f), _(e, t), c && c.m(t, null), _(t, n), r && r.m(t, null), _(e, o), u && u.m(e, null), _(e, h), _(e, m), i[13](e), g || (y = M(
202
+ m(l, u) {
203
+ k(l, e, u), _(e, t), o && o.m(t, null), _(t, n), r && r.m(t, null), _(e, f), c && c.m(e, null), _(e, h), _(e, m), i[13](e), g || (C = H(
227
204
  m,
228
205
  "load",
229
206
  /*load_handler*/
230
207
  i[12]
231
208
  ), g = !0);
232
209
  },
233
- p(l, [f]) {
210
+ p(l, [u]) {
234
211
  /*showbackbutton*/
235
212
  l[3] && /*showbackbutton*/
236
- l[3] !== "false" ? c ? c.p(l, f) : (c = O(l), c.c(), c.m(t, n)) : c && (c.d(1), c = null), !/*showbackbutton*/
213
+ l[3] !== "false" ? o ? o.p(l, u) : (o = I(l), o.c(), o.m(t, n)) : o && (o.d(1), o = null), !/*showbackbutton*/
237
214
  l[3] || /*showbackbutton*/
238
- l[3] === "false" ? r ? r.p(l, f) : (r = j(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), f & /*lang*/
215
+ l[3] === "false" ? r ? r.p(l, u) : (r = O(l), r.c(), r.m(t, null)) : r && (r.d(1), r = null), u & /*lang*/
239
216
  1 && a(
240
217
  t,
241
218
  "lang",
242
219
  /*lang*/
243
220
  l[0]
244
- ), f & /*translationurl*/
221
+ ), u & /*translationurl*/
245
222
  4 && a(
246
223
  t,
247
224
  "translationurl",
248
225
  /*translationurl*/
249
226
  l[2]
250
- ), f & /*title*/
227
+ ), u & /*title*/
251
228
  128 && a(
252
229
  t,
253
230
  "title",
254
231
  /*title*/
255
232
  l[7]
256
- ), f & /*showbackbutton*/
233
+ ), u & /*showbackbutton*/
257
234
  8 && a(
258
235
  t,
259
236
  "showbackbutton",
260
237
  /*showbackbutton*/
261
238
  l[3]
262
- ), f & /*clientstylingurl*/
239
+ ), u & /*clientstylingurl*/
263
240
  64 && a(
264
241
  t,
265
242
  "clientstylingurl",
266
243
  /*clientstylingurl*/
267
244
  l[6]
268
- ), f & /*clientstyling*/
245
+ ), u & /*clientstyling*/
269
246
  32 && a(
270
247
  t,
271
248
  "clientstyling",
272
249
  /*clientstyling*/
273
250
  l[5]
274
- ), f & /*mbsource*/
251
+ ), u & /*mbsource*/
275
252
  16 && a(
276
253
  t,
277
254
  "mbsource",
278
255
  /*mbsource*/
279
256
  l[4]
280
257
  ), /*isLoading*/
281
- l[9] ? u ? u.p(l, f) : (u = D(l), u.c(), u.m(e, h)) : u && (u.d(1), u = null), f & /*iframeurl*/
282
- 2 && !R(m.src, d = /*iframeurl*/
258
+ l[9] ? c ? c.p(l, u) : (c = T(l), c.c(), c.m(e, h)) : c && (c.d(1), c = null), u & /*iframeurl*/
259
+ 2 && !S(m.src, d = /*iframeurl*/
283
260
  l[1]) && w(m, "src", d);
284
261
  },
285
262
  i: L,
286
263
  o: L,
287
264
  d(l) {
288
- l && v(e), c && c.d(), r && r.d(), u && u.d(), i[13](null), g = !1, y();
265
+ l && v(e), o && o.d(), r && r.d(), c && c.d(), i[13](null), g = !1, C();
289
266
  }
290
267
  };
291
268
  }
292
- function te(i, e, t) {
293
- let { lang: n = "en" } = e, { iframeurl: o } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: y } = e, { title: c = "" } = e, r, u = !0;
269
+ function ee(i, e, t) {
270
+ let { lang: n = "en" } = e, { iframeurl: f } = e, { translationurl: h = "" } = e, { showbackbutton: m = "" } = e, { mbsource: d } = e, { clientstyling: g } = e, { clientstylingurl: C } = e, { title: o = "" } = e, r, c = !0;
294
271
  const l = () => {
295
272
  let s = h;
296
273
  if (s)
297
- return fetch(s).then((C) => C.json()).then((C) => {
298
- Object.keys(C).forEach((B) => {
299
- S(B, C[B]);
274
+ return fetch(s).then((y) => y.json()).then((y) => {
275
+ Object.keys(y).forEach((M) => {
276
+ R(M, y[M]);
300
277
  });
301
- }).catch((C) => {
302
- console.log(C);
278
+ }).catch((y) => {
279
+ console.log(y);
303
280
  });
304
281
  };
305
- Object.keys(T).forEach((s) => {
306
- S(s, T[s]);
282
+ Object.keys(D).forEach((s) => {
283
+ R(s, D[s]);
307
284
  });
308
- const f = () => {
309
- x(n);
310
- }, z = () => {
285
+ const u = () => {
286
+ Y(n);
287
+ }, j = () => {
311
288
  window.postMessage({ type: "CloseIframe" }, window.location.href);
312
- }, H = (s) => {
313
- s.target.src && t(9, u = !1);
289
+ }, B = (s) => {
290
+ s.target.src && t(9, c = !1);
314
291
  };
315
- Z(() => () => {
292
+ F(() => () => {
316
293
  });
317
- const A = (s) => H(s);
318
- function U(s) {
294
+ const A = (s) => B(s);
295
+ function q(s) {
319
296
  G[s ? "unshift" : "push"](() => {
320
297
  r = s, t(8, r);
321
298
  });
322
299
  }
323
300
  return i.$$set = (s) => {
324
- "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, o = s.iframeurl), "translationurl" in s && t(2, h = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, y = s.clientstylingurl), "title" in s && t(7, c = s.title);
301
+ "lang" in s && t(0, n = s.lang), "iframeurl" in s && t(1, f = s.iframeurl), "translationurl" in s && t(2, h = s.translationurl), "showbackbutton" in s && t(3, m = s.showbackbutton), "mbsource" in s && t(4, d = s.mbsource), "clientstyling" in s && t(5, g = s.clientstyling), "clientstylingurl" in s && t(6, C = s.clientstylingurl), "title" in s && t(7, o = s.title);
325
302
  }, i.$$.update = () => {
326
303
  i.$$.dirty & /*lang*/
327
- 1 && n && f(), i.$$.dirty & /*translationurl*/
304
+ 1 && n && u(), i.$$.dirty & /*translationurl*/
328
305
  4 && h && l(), i.$$.dirty & /*clientstyling, customStylingContainer*/
329
- 288 && g && r && W(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
330
- 320 && y && r && X(r, y), i.$$.dirty & /*mbsource, customStylingContainer*/
331
- 272 && d && r && Y(r, `${d}.Style`);
306
+ 288 && g && r && P(r, g), i.$$.dirty & /*clientstylingurl, customStylingContainer*/
307
+ 320 && C && r && J(r, C), i.$$.dirty & /*mbsource, customStylingContainer*/
308
+ 272 && d && r && K(r, `${d}.Style`);
332
309
  }, [
333
310
  n,
334
- o,
311
+ f,
335
312
  h,
336
313
  m,
337
314
  d,
338
315
  g,
339
- y,
340
- c,
316
+ C,
317
+ o,
341
318
  r,
342
- u,
343
- z,
344
- H,
319
+ c,
320
+ j,
321
+ B,
345
322
  A,
346
- U
323
+ q
347
324
  ];
348
325
  }
349
- class I extends q {
326
+ class te extends z {
350
327
  constructor(e) {
351
328
  super(), N(
352
329
  this,
353
330
  e,
354
- te,
355
331
  ee,
356
- F,
332
+ $,
333
+ U,
357
334
  {
358
335
  lang: 0,
359
336
  iframeurl: 1,
@@ -364,7 +341,7 @@ class I extends q {
364
341
  clientstylingurl: 6,
365
342
  title: 7
366
343
  },
367
- $
344
+ x
368
345
  );
369
346
  }
370
347
  get lang() {
@@ -416,14 +393,7 @@ class I extends q {
416
393
  this.$$set({ title: e }), b();
417
394
  }
418
395
  }
419
- J(I, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
420
- const se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
421
- __proto__: null,
422
- default: I
423
- }, Symbol.toStringTag, { value: "Module" }));
396
+ Q(te, { lang: {}, iframeurl: {}, translationurl: {}, showbackbutton: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, title: {} }, [], [], !0);
424
397
  export {
425
- se as C,
426
- X as a,
427
- Y as b,
428
- W as s
398
+ te as default
429
399
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierConfirmModal-Dbth1Vwp.cjs"),w=require("./CashierError-CUi7dlhw.cjs");if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierHeader-C87PEbuI.cjs")).then(({default:t})=>{!customElements.get("cashier-header")&&customElements.define("cashier-header",t.element)})}if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-Dek1XIlD.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function y(i,t){w.addMessages(i,t)}function R(i){w.init({fallbackLocale:"en"}),w.$locale.set(i)}const L={en:{redirectHeader:"Deposit redirect"},"pt-br":{redirectHeader:"Redirecionar depósito"},"es-mx":{redirectHeader:"Redirigir depósito"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},"en-us":{redirectHeader:"Deposit redirect"}};function q(i){e.append_styles(i,"svelte-wuv80u",".CashierRedirectIframe{height:inherit;width:inherit}iframe{border-radius:0 0 6px 6px;border:1px solid var(--emw--color-grey-105, #E8E9EB);height:calc(100% - var(--emw--header-height, 40px));width:100%;box-sizing:border-box}.CashierHeaderLeftButton{color:var(--emw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--emw--color-grey-10, #111)}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}")}function v(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function k(i){let t,n,s;return{c(){t=e.element("div"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path 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" fill="#111111"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(s=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,s()}}}function E(i){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",i[6]),e.set_custom_element_data(t,"clientstyling",i[5]),e.set_custom_element_data(t,"mbsource",i[4])},m(n,s){e.insert(n,t,s)},p(n,s){s&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),s&32&&e.set_custom_element_data(t,"clientstyling",n[5]),s&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function D(i){let t,n,s,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&v(i),a=(!i[3]||i[3]==="false")&&k(i),u=i[9]&&E(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),s=e.space(),a&&a.c(),f=e.space(),u&&u.c(),m=e.space(),d=e.element("iframe"),e.set_custom_element_data(n,"lang",i[0]),e.set_custom_element_data(n,"translationurl",i[2]),e.set_custom_element_data(n,"title",i[7]),e.set_custom_element_data(n,"showbackbutton",i[3]),e.set_custom_element_data(n,"clientstylingurl",i[6]),e.set_custom_element_data(n,"clientstyling",i[5]),e.set_custom_element_data(n,"mbsource",i[4]),e.src_url_equal(d.src,h=i[1])||e.attr(d,"src",h),e.attr(d,"frameborder","0"),e.attr(t,"class","CashierRedirectIframe")},m(r,c){e.insert(r,t,c),e.append(t,n),o&&o.m(n,null),e.append(n,s),a&&a.m(n,null),e.append(t,f),u&&u.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(r,[c]){r[3]&&r[3]!=="false"?o?o.p(r,c):(o=v(r),o.c(),o.m(n,s)):o&&(o.d(1),o=null),!r[3]||r[3]==="false"?a?a.p(r,c):(a=k(r),a.c(),a.m(n,null)):a&&(a.d(1),a=null),c&1&&e.set_custom_element_data(n,"lang",r[0]),c&4&&e.set_custom_element_data(n,"translationurl",r[2]),c&128&&e.set_custom_element_data(n,"title",r[7]),c&8&&e.set_custom_element_data(n,"showbackbutton",r[3]),c&64&&e.set_custom_element_data(n,"clientstylingurl",r[6]),c&32&&e.set_custom_element_data(n,"clientstyling",r[5]),c&16&&e.set_custom_element_data(n,"mbsource",r[4]),r[9]?u?u.p(r,c):(u=E(r),u.c(),u.m(t,m)):u&&(u.d(1),u=null),c&2&&!e.src_url_equal(d.src,h=r[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(r){r&&e.detach(t),o&&o.d(),a&&a.d(),u&&u.d(),i[13](null),g=!1,_()}}}function O(i,t,n){let{lang:s="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,a,u=!0;const r=()=>{let l=m;if(l)return fetch(l).then(b=>b.json()).then(b=>{Object.keys(b).forEach(p=>{y(p,b[p])})}).catch(b=>{console.log(b)})};Object.keys(L).forEach(l=>{y(l,L[l])});const c=()=>{R(s)},M=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},C=l=>{l.target.src&&n(9,u=!1)};e.onMount(()=>()=>{});const S=l=>C(l);function B(l){e.binding_callbacks[l?"unshift":"push"](()=>{a=l,n(8,a)})}return i.$$set=l=>{"lang"in l&&n(0,s=l.lang),"iframeurl"in l&&n(1,f=l.iframeurl),"translationurl"in l&&n(2,m=l.translationurl),"showbackbutton"in l&&n(3,d=l.showbackbutton),"mbsource"in l&&n(4,h=l.mbsource),"clientstyling"in l&&n(5,g=l.clientstyling),"clientstylingurl"in l&&n(6,_=l.clientstylingurl),"title"in l&&n(7,o=l.title)},i.$$.update=()=>{i.$$.dirty&1&&s&&c(),i.$$.dirty&4&&m&&r(),i.$$.dirty&288&&g&&a&&e.setClientStyling(a,g),i.$$.dirty&320&&_&&a&&e.setClientStylingURL(a,_),i.$$.dirty&272&&h&&a&&e.setStreamStyling(a,`${h}.Style`)},[s,f,m,d,h,g,_,o,a,u,M,C,S,B]}class H extends e.SvelteComponent{constructor(t){super(),e.init(this,t,O,D,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},q)}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get iframeurl(){return this.$$.ctx[1]}set iframeurl(t){this.$$set({iframeurl:t}),e.flush()}get translationurl(){return this.$$.ctx[2]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get showbackbutton(){return this.$$.ctx[3]}set showbackbutton(t){this.$$set({showbackbutton:t}),e.flush()}get mbsource(){return this.$$.ctx[4]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get title(){return this.$$.ctx[7]}set title(t){this.$$set({title:t}),e.flush()}}e.create_custom_element(H,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=H;