@everymatrix/cashier-page 1.92.8 → 1.92.21

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 (78) hide show
  1. package/components/CashierCarousel-B-cM-nlR.js +5797 -0
  2. package/components/CashierCarousel-CXoovlrR.js +5835 -0
  3. package/components/CashierCarousel-DMrMmClP.cjs +23 -0
  4. package/components/{CashierError-C854_1dB.js → CashierError-66WHxjwV.js} +45 -44
  5. package/components/{CashierError-D638x9x-.js → CashierError-BCtelxyY.js} +46 -45
  6. package/components/CashierError-BL_rmfvV.cjs +1 -0
  7. package/components/CashierHeader-B7FnLv3f.js +397 -0
  8. package/components/CashierHeader-BbP0idUh.js +397 -0
  9. package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
  10. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
  11. package/components/{CashierIframeRedirect-BUcU3T5U.js → CashierIframeRedirect-C3muwYdO.js} +106 -91
  12. package/components/{CashierIframeRedirect-BhmYmTKc.js → CashierIframeRedirect-Ti9O6xV-.js} +108 -93
  13. package/components/{CashierMethodDetails-iZTHVxaU.js → CashierMethodDetails-C7odWYEI.js} +3987 -3408
  14. package/components/CashierMethodDetails-DjLhLSey.cjs +85 -0
  15. package/components/{CashierMethodDetails-BOhUmKCH.js → CashierMethodDetails-JQOw_ppF.js} +4016 -3438
  16. package/components/{CashierMethodsList-B97v3Xuh.js → CashierMethodsList-C-7-CmRx.js} +65 -65
  17. package/components/CashierMethodsList-CNxb5rVf.cjs +1 -0
  18. package/components/{CashierMethodsList-eUczF6XC.js → CashierMethodsList-CZxMoF32.js} +56 -56
  19. package/components/{CashierModal-C4MoXHG7.js → CashierModal-B1pfSpCs.js} +36 -37
  20. package/components/{CashierModal-BUkNhHpl.js → CashierModal-BsrmgnKi.js} +32 -33
  21. package/components/CashierModal-DF8meLAZ.cjs +1 -0
  22. package/components/CashierNotifications-B8bRZMac.cjs +1 -0
  23. package/components/{CashierNotifications-BatwRhbq.js → CashierNotifications-BXxNDzMM.js} +3 -3
  24. package/components/{CashierNotifications-C0NjswTn.js → CashierNotifications-DbJuswYZ.js} +5 -5
  25. package/components/CashierPage-Bhgj76MY.js +4490 -0
  26. package/components/CashierPage-CIxAkXYb.js +4460 -0
  27. package/components/CashierPage-iIGUB5g4.cjs +1 -0
  28. package/components/CashierReceiptPage-B530KWIS.cjs +26 -0
  29. package/components/{CashierReceiptPage-CdqmVXe9.js → CashierReceiptPage-DGZSqJFO.js} +169 -156
  30. package/components/{CashierReceiptPage-2rVfG2fm.js → CashierReceiptPage-DjfCUH2F.js} +177 -164
  31. package/components/{CashierSessionExpirationModal-CK0YLZbU.js → CashierSessionExpirationModal-BKxhGCj9.js} +254 -267
  32. package/components/CashierSessionExpirationModal-C6owPr_u.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-0EbJrsdx.js → CashierSessionExpirationModal-CU8HtTwA.js} +267 -280
  34. package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
  35. package/components/{CashierSpinner-hEROg29-.js → CashierSpinner-DMrM0bGx.js} +10 -11
  36. package/components/{CashierSpinner-DGz_dycp.js → CashierSpinner-gJqeYU1n.js} +12 -13
  37. package/components/{CashierStepUp-CrJocLXp.js → CashierStepUp-B530YrSp.js} +168 -169
  38. package/components/{CashierStepUp-q7iSJelQ.js → CashierStepUp-BtmD9q4i.js} +245 -246
  39. package/components/CashierStepUp-DKytvkqu.cjs +1 -0
  40. package/components/{CashierTransactionHistory-sGV35WcB.js → CashierTransactionHistory-CWxjn4dO.js} +71 -71
  41. package/components/CashierTransactionHistory-CYaB1hEN.cjs +1 -0
  42. package/components/{CashierTransactionHistory-BrgrDNsw.js → CashierTransactionHistory-D1hopcmz.js} +66 -66
  43. package/components/{CashierVerifications-yC2Ur1H-.js → CashierVerifications-B3UcXWeI.js} +142 -158
  44. package/components/{CashierVerifications-DnM9z8za.js → CashierVerifications-CWsTc0hE.js} +102 -118
  45. package/components/CashierVerifications-D3X4oFbB.cjs +1 -0
  46. package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
  47. package/components/{TxnStatusIcon-BduMMfo6.js → TxnStatusIcon-DCSCOAn2.js} +1 -1
  48. package/components/{TxnStatusIcon-rwPr0B_L.js → TxnStatusIcon-DRFHs_0F.js} +8 -8
  49. package/components/{TxnTypeIcons-ByJ8NlBp.js → TxnTypeIcons-Bg7QJKuH.js} +1 -1
  50. package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
  51. package/components/{TxnTypeIcons-DQrCawdt.js → TxnTypeIcons-D37zQDwq.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +7 -7
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-CFDrfBto.cjs +0 -1
  57. package/components/CashierCarousel-JhSTmzvt.js +0 -672
  58. package/components/CashierCarousel-PsCjjLe2.js +0 -675
  59. package/components/CashierError-zeIQl4g_.cjs +0 -1
  60. package/components/CashierHeader-Bp8vaWrp.cjs +0 -1
  61. package/components/CashierHeader-D-mMGt-Y.js +0 -456
  62. package/components/CashierHeader-il09PBLP.js +0 -456
  63. package/components/CashierIframeRedirect-CMcw96Fv.cjs +0 -1
  64. package/components/CashierMethodDetails-DnbNzQW6.cjs +0 -85
  65. package/components/CashierMethodsList-B_9i2Q2s.cjs +0 -1
  66. package/components/CashierModal-Dq36GGc7.cjs +0 -1
  67. package/components/CashierNotifications-BB8FN1j_.cjs +0 -1
  68. package/components/CashierPage-Cc-WWhS2.cjs +0 -23
  69. package/components/CashierPage-DRWrUyaV.js +0 -9936
  70. package/components/CashierPage-HxKce2E6.js +0 -9989
  71. package/components/CashierReceiptPage-CF7knTfT.cjs +0 -26
  72. package/components/CashierSessionExpirationModal-Dht4fdo7.cjs +0 -2
  73. package/components/CashierSpinner-D78lroyw.cjs +0 -1
  74. package/components/CashierStepUp-Dr4sPwOr.cjs +0 -1
  75. package/components/CashierTransactionHistory-sQ3KzTVb.cjs +0 -1
  76. package/components/CashierVerifications-t7V-5Qq2.cjs +0 -1
  77. package/components/TxnStatusIcon-DwP4kCaz.cjs +0 -1
  78. package/components/TxnTypeIcons-DwmzII52.cjs +0 -1
@@ -1,456 +0,0 @@
1
- import { a as tt, i as et, $ as st, S as nt, b as it, f as b, s as lt, c as ot, d as at, e as S, g as p, t as B, h as L, u as v, j as H, k as T, l as C, m as M, n as y, o as E, p as k, q as rt, r as ct, v as G, w as ut, x as ft, y as ht, z as I, A as P, B as dt } from "./CashierPage-DRWrUyaV.js";
2
- function O(s, t) {
3
- tt(s, t);
4
- }
5
- function gt(s) {
6
- et({
7
- fallbackLocale: "en"
8
- }), st.set(s);
9
- }
10
- const z = {
11
- en: {
12
- header: {
13
- general: "Cashier",
14
- deposit: "Deposit",
15
- withdraw: "Withdraw"
16
- }
17
- },
18
- tr: {
19
- header: {
20
- general: "Cashier",
21
- deposit: "Para Yatır",
22
- withdraw: "Çekim"
23
- }
24
- },
25
- fr: {
26
- header: {
27
- general: "Caisse",
28
- deposit: "Dépôt",
29
- withdraw: "Retrait"
30
- }
31
- }
32
- }, m = "__WIDGET_GLOBAL_STYLE_CACHE__";
33
- function wt(s, t) {
34
- if (s) {
35
- const e = document.createElement("style");
36
- e.innerHTML = t, s.appendChild(e);
37
- }
38
- }
39
- function _t(s, t) {
40
- if (!s || !t)
41
- return;
42
- const e = new URL(t);
43
- fetch(e.href).then((i) => i.text()).then((i) => {
44
- const n = document.createElement("style");
45
- n.innerHTML = i, s && s.appendChild(n);
46
- }).catch((i) => {
47
- console.error("There was an error while trying to load client styling from URL", i);
48
- });
49
- }
50
- function bt(s, t, e, i = !1) {
51
- if (!window.emMessageBus)
52
- return;
53
- if (!("adoptedStyleSheets" in Document.prototype) || !i)
54
- return e = mt(s, t), e;
55
- window[m] || (window[m] = {}), e = pt(s, t);
56
- const a = e.unsubscribe.bind(e), h = () => {
57
- if (window[m][t]) {
58
- const r = window[m][t];
59
- r.refCount > 1 ? r.refCount = r.refCount - 1 : delete window[m][t];
60
- }
61
- a();
62
- };
63
- return e.unsubscribe = h, e;
64
- }
65
- function mt(s, t) {
66
- const e = document.createElement("style");
67
- return window.emMessageBus.subscribe(t, (i) => {
68
- s && (e.innerHTML = i, s.appendChild(e));
69
- });
70
- }
71
- function pt(s, t) {
72
- return window.emMessageBus.subscribe(t, (e) => {
73
- if (!s)
74
- return;
75
- const i = s.getRootNode(), n = window[m];
76
- let a = n[t] && n[t].sheet;
77
- a ? n[t].refCount = n[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(e), n[t] = {
78
- sheet: a,
79
- refCount: 1
80
- });
81
- const h = i.adoptedStyleSheets || [];
82
- h.includes(a) || (i.adoptedStyleSheets = [...h, a]);
83
- });
84
- }
85
- function Ct(s) {
86
- at(s, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.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;fill:var(--emw--color-primary, #F9C405)}");
87
- }
88
- const yt = (s) => ({}), N = (s) => ({}), kt = (s) => ({}), x = (s) => ({}), St = (s) => ({}), U = (s) => ({});
89
- function D(s) {
90
- let t, e, i;
91
- return {
92
- c() {
93
- t = y("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', k(t, "class", "CashierHeaderLeftButton");
94
- },
95
- m(n, a) {
96
- C(n, t, a), e || (i = P(
97
- t,
98
- "click",
99
- /*back*/
100
- s[6]
101
- ), e = !0);
102
- },
103
- p: I,
104
- d(n) {
105
- n && p(t), e = !1, i();
106
- }
107
- };
108
- }
109
- function Bt(s) {
110
- let t, e = (
111
- /*backButton*/
112
- s[1] && D(s)
113
- );
114
- return {
115
- c() {
116
- e && e.c(), t = G();
117
- },
118
- m(i, n) {
119
- e && e.m(i, n), C(i, t, n);
120
- },
121
- p(i, n) {
122
- /*backButton*/
123
- i[1] ? e ? e.p(i, n) : (e = D(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
124
- },
125
- d(i) {
126
- i && p(t), e && e.d(i);
127
- }
128
- };
129
- }
130
- function Lt(s) {
131
- let t, e = (
132
- /*$_*/
133
- s[4](
134
- /*titleText*/
135
- s[2]
136
- ) + ""
137
- ), i;
138
- return {
139
- c() {
140
- t = y("span"), i = ft(e), k(t, "class", "CashierHeaderTitle");
141
- },
142
- m(n, a) {
143
- C(n, t, a), M(t, i);
144
- },
145
- p(n, a) {
146
- a & /*$_, titleText*/
147
- 20 && e !== (e = /*$_*/
148
- n[4](
149
- /*titleText*/
150
- n[2]
151
- ) + "") && ut(i, e);
152
- },
153
- d(n) {
154
- n && p(t);
155
- }
156
- };
157
- }
158
- function q(s) {
159
- let t, e, i;
160
- return {
161
- c() {
162
- t = y("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', k(t, "class", "CashierHeaderRightButton");
163
- },
164
- m(n, a) {
165
- C(n, t, a), e || (i = P(
166
- t,
167
- "click",
168
- /*close*/
169
- s[5]
170
- ), e = !0);
171
- },
172
- p: I,
173
- d(n) {
174
- n && p(t), e = !1, i();
175
- }
176
- };
177
- }
178
- function vt(s) {
179
- let t, e = (
180
- /*closeButton*/
181
- s[3] && q(s)
182
- );
183
- return {
184
- c() {
185
- e && e.c(), t = G();
186
- },
187
- m(i, n) {
188
- e && e.m(i, n), C(i, t, n);
189
- },
190
- p(i, n) {
191
- /*closeButton*/
192
- i[3] ? e ? e.p(i, n) : (e = q(i), e.c(), e.m(t.parentNode, t)) : e && (e.d(1), e = null);
193
- },
194
- d(i) {
195
- i && p(t), e && e.d(i);
196
- }
197
- };
198
- }
199
- function Ht(s) {
200
- let t, e, i, n;
201
- const a = (
202
- /*#slots*/
203
- s[16].leftButton
204
- ), h = S(
205
- a,
206
- s,
207
- /*$$scope*/
208
- s[15],
209
- U
210
- ), r = h || Bt(s), _ = (
211
- /*#slots*/
212
- s[16].title
213
- ), d = S(
214
- _,
215
- s,
216
- /*$$scope*/
217
- s[15],
218
- x
219
- ), c = d || Lt(s), g = (
220
- /*#slots*/
221
- s[16].rightButton
222
- ), w = S(
223
- g,
224
- s,
225
- /*$$scope*/
226
- s[15],
227
- N
228
- ), u = w || vt(s);
229
- return {
230
- c() {
231
- t = y("div"), r && r.c(), e = E(), c && c.c(), i = E(), u && u.c(), k(t, "class", "CashierHeader");
232
- },
233
- m(l, f) {
234
- C(l, t, f), r && r.m(t, null), M(t, e), c && c.m(t, null), M(t, i), u && u.m(t, null), s[17](t), n = !0;
235
- },
236
- p(l, [f]) {
237
- h ? h.p && (!n || f & /*$$scope*/
238
- 32768) && v(
239
- h,
240
- a,
241
- l,
242
- /*$$scope*/
243
- l[15],
244
- n ? T(
245
- a,
246
- /*$$scope*/
247
- l[15],
248
- f,
249
- St
250
- ) : H(
251
- /*$$scope*/
252
- l[15]
253
- ),
254
- U
255
- ) : r && r.p && (!n || f & /*backButton*/
256
- 2) && r.p(l, n ? f : -1), d ? d.p && (!n || f & /*$$scope*/
257
- 32768) && v(
258
- d,
259
- _,
260
- l,
261
- /*$$scope*/
262
- l[15],
263
- n ? T(
264
- _,
265
- /*$$scope*/
266
- l[15],
267
- f,
268
- kt
269
- ) : H(
270
- /*$$scope*/
271
- l[15]
272
- ),
273
- x
274
- ) : c && c.p && (!n || f & /*$_, titleText*/
275
- 20) && c.p(l, n ? f : -1), w ? w.p && (!n || f & /*$$scope*/
276
- 32768) && v(
277
- w,
278
- g,
279
- l,
280
- /*$$scope*/
281
- l[15],
282
- n ? T(
283
- g,
284
- /*$$scope*/
285
- l[15],
286
- f,
287
- yt
288
- ) : H(
289
- /*$$scope*/
290
- l[15]
291
- ),
292
- N
293
- ) : u && u.p && (!n || f & /*closeButton*/
294
- 8) && u.p(l, n ? f : -1);
295
- },
296
- i(l) {
297
- n || (L(r, l), L(c, l), L(u, l), n = !0);
298
- },
299
- o(l) {
300
- B(r, l), B(c, l), B(u, l), n = !1;
301
- },
302
- d(l) {
303
- l && p(t), r && r.d(l), c && c.d(l), u && u.d(l), s[17](null);
304
- }
305
- };
306
- }
307
- function Tt(s, t, e) {
308
- let i;
309
- rt(s, dt, (o) => e(4, i = o));
310
- let { $$slots: n = {}, $$scope: a } = t, { clientstyling: h = "" } = t, { clientstylingurl: r = "" } = t, { translationurl: _ = "" } = t, { showbackbutton: d = "" } = t, { title: c = "header.general" } = t, { lang: g = "en" } = t, { showclosebutton: w = "" } = t, { mbsource: u = "" } = t, l, f, A = !1, j, F = !1;
311
- const Y = () => {
312
- fetch(_).then((o) => o.json()).then((o) => {
313
- Object.keys(o).forEach((R) => {
314
- O(R, o[R]);
315
- });
316
- }).catch((o) => {
317
- console.log(o);
318
- });
319
- };
320
- Object.keys(z).forEach((o) => {
321
- O(o, z[o]);
322
- });
323
- const Z = () => {
324
- gt(g);
325
- }, K = () => {
326
- window.postMessage({ type: "CloseCashier" }, window.location.href);
327
- }, J = () => {
328
- window.postMessage({ type: "BackCashier" }, window.location.href);
329
- }, Q = () => {
330
- e(1, A = !!d && d !== "false");
331
- }, V = () => {
332
- e(3, F = !!w && w !== "false");
333
- }, X = () => {
334
- e(2, j = c || "header.general");
335
- };
336
- ct(() => () => {
337
- });
338
- function $(o) {
339
- ht[o ? "unshift" : "push"](() => {
340
- l = o, e(0, l);
341
- });
342
- }
343
- return s.$$set = (o) => {
344
- "clientstyling" in o && e(7, h = o.clientstyling), "clientstylingurl" in o && e(8, r = o.clientstylingurl), "translationurl" in o && e(9, _ = o.translationurl), "showbackbutton" in o && e(10, d = o.showbackbutton), "title" in o && e(11, c = o.title), "lang" in o && e(12, g = o.lang), "showclosebutton" in o && e(13, w = o.showclosebutton), "mbsource" in o && e(14, u = o.mbsource), "$$scope" in o && e(15, a = o.$$scope);
345
- }, s.$$.update = () => {
346
- s.$$.dirty & /*lang*/
347
- 4096 && g && Z(), s.$$.dirty & /*lang, title*/
348
- 6144 && g && c && X(), s.$$.dirty & /*clientstyling, customStylingContainer*/
349
- 129 && h && l && wt(l, h), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
350
- 257 && r && l && _t(l, r), s.$$.dirty & /*mbsource, customStylingContainer*/
351
- 16385 && u && l && bt(l, `${u}.Style`, f), s.$$.dirty & /*lang, translationurl*/
352
- 4608 && g && _ && Y(), s.$$.dirty & /*showbackbutton*/
353
- 1024 && d && Q(), s.$$.dirty & /*showclosebutton*/
354
- 8192 && w && V();
355
- }, [
356
- l,
357
- A,
358
- j,
359
- F,
360
- i,
361
- K,
362
- J,
363
- h,
364
- r,
365
- _,
366
- d,
367
- c,
368
- g,
369
- w,
370
- u,
371
- a,
372
- n,
373
- $
374
- ];
375
- }
376
- class W extends nt {
377
- constructor(t) {
378
- super(), it(
379
- this,
380
- t,
381
- Tt,
382
- Ht,
383
- lt,
384
- {
385
- clientstyling: 7,
386
- clientstylingurl: 8,
387
- translationurl: 9,
388
- showbackbutton: 10,
389
- title: 11,
390
- lang: 12,
391
- showclosebutton: 13,
392
- mbsource: 14
393
- },
394
- Ct
395
- );
396
- }
397
- get clientstyling() {
398
- return this.$$.ctx[7];
399
- }
400
- set clientstyling(t) {
401
- this.$$set({ clientstyling: t }), b();
402
- }
403
- get clientstylingurl() {
404
- return this.$$.ctx[8];
405
- }
406
- set clientstylingurl(t) {
407
- this.$$set({ clientstylingurl: t }), b();
408
- }
409
- get translationurl() {
410
- return this.$$.ctx[9];
411
- }
412
- set translationurl(t) {
413
- this.$$set({ translationurl: t }), b();
414
- }
415
- get showbackbutton() {
416
- return this.$$.ctx[10];
417
- }
418
- set showbackbutton(t) {
419
- this.$$set({ showbackbutton: t }), b();
420
- }
421
- get title() {
422
- return this.$$.ctx[11];
423
- }
424
- set title(t) {
425
- this.$$set({ title: t }), b();
426
- }
427
- get lang() {
428
- return this.$$.ctx[12];
429
- }
430
- set lang(t) {
431
- this.$$set({ lang: t }), b();
432
- }
433
- get showclosebutton() {
434
- return this.$$.ctx[13];
435
- }
436
- set showclosebutton(t) {
437
- this.$$set({ showclosebutton: t }), b();
438
- }
439
- get mbsource() {
440
- return this.$$.ctx[14];
441
- }
442
- set mbsource(t) {
443
- this.$$set({ mbsource: t }), b();
444
- }
445
- }
446
- ot(W, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
447
- const At = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
448
- __proto__: null,
449
- default: W
450
- }, Symbol.toStringTag, { value: "Module" }));
451
- export {
452
- At as C,
453
- _t as a,
454
- bt as b,
455
- wt as s
456
- };
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-Cc-WWhS2.cjs"),w=require("./CashierHeader-Bp8vaWrp.cjs");function y(i,t){e.addMessages(i,t)}function q(i){e.init({fallbackLocale:"en"}),e.$locale.set(i)}const v={en:{redirectHeader:"Deposit redirect"},tr:{redirectHeader:"Para yatırma yönlendirmesi"},fr:{redirectHeader:"Redirection du dépôt"}};if(typeof window!="undefined"){let i=function(t){return function(...n){try{return t.apply(this,n)}catch(a){if(a instanceof DOMException&&a.message.includes("has already been used with this registry")||a.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw a}}};customElements.define=i(customElements.define),Promise.resolve().then(()=>require("./CashierSpinner-D78lroyw.cjs")).then(({default:t})=>{!customElements.get("cashier-spinner")&&customElements.define("cashier-spinner",t.element)})}function T(i){e.append_styles(i,"svelte-14e65vo",".CashierRedirectIframe{height:100%;width:100%;position:fixed;top:0;left:0;display:flex;align-items:center;justify-content:center;flex-direction:column}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;width:100%;height:100%;background-color:var(--emw--color-background, #F9FAFF)}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.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;fill:var(--emw--color-primary, #F9C405)}")}function L(i){let t,n,a;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"><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"></path></svg>',e.attr(t,"slot","leftButton"),e.attr(t,"class","CashierHeaderLeftButton")},m(f,m){e.insert(f,t,m),n||(a=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,a()}}}function k(i){let t,n,a;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"><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"></path></svg>',e.attr(t,"slot","rightButton"),e.attr(t,"class","CashierHeaderRightButton")},m(f,m){e.insert(f,t,m),n||(a=e.listen(t,"click",i[10]),n=!0)},p:e.noop,d(f){f&&e.detach(t),n=!1,a()}}}function S(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,a){e.insert(n,t,a)},p(n,a){a&64&&e.set_custom_element_data(t,"clientstylingurl",n[6]),a&32&&e.set_custom_element_data(t,"clientstyling",n[5]),a&16&&e.set_custom_element_data(t,"mbsource",n[4])},d(n){n&&e.detach(t)}}}function I(i){let t,n,a,f,m,d,h,g,_,o=!!i[3]&&i[3]!=="false"&&L(i),r=(!i[3]||i[3]==="false")&&k(i),c=i[9]&&S(i);return{c(){t=e.element("div"),n=e.element("cashier-header"),o&&o.c(),a=e.space(),r&&r.c(),f=e.space(),c&&c.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(s,u){e.insert(s,t,u),e.append(t,n),o&&o.m(n,null),e.append(n,a),r&&r.m(n,null),e.append(t,f),c&&c.m(t,null),e.append(t,m),e.append(t,d),i[13](t),g||(_=e.listen(d,"load",i[12]),g=!0)},p(s,[u]){s[3]&&s[3]!=="false"?o?o.p(s,u):(o=L(s),o.c(),o.m(n,a)):o&&(o.d(1),o=null),!s[3]||s[3]==="false"?r?r.p(s,u):(r=k(s),r.c(),r.m(n,null)):r&&(r.d(1),r=null),u&1&&e.set_custom_element_data(n,"lang",s[0]),u&4&&e.set_custom_element_data(n,"translationurl",s[2]),u&128&&e.set_custom_element_data(n,"title",s[7]),u&8&&e.set_custom_element_data(n,"showbackbutton",s[3]),u&64&&e.set_custom_element_data(n,"clientstylingurl",s[6]),u&32&&e.set_custom_element_data(n,"clientstyling",s[5]),u&16&&e.set_custom_element_data(n,"mbsource",s[4]),s[9]?c?c.p(s,u):(c=S(s),c.c(),c.m(t,m)):c&&(c.d(1),c=null),u&2&&!e.src_url_equal(d.src,h=s[1])&&e.attr(d,"src",h)},i:e.noop,o:e.noop,d(s){s&&e.detach(t),o&&o.d(),r&&r.d(),c&&c.d(),i[13](null),g=!1,_()}}}function O(i,t,n){let{lang:a="en"}=t,{iframeurl:f}=t,{translationurl:m=""}=t,{showbackbutton:d=""}=t,{mbsource:h}=t,{clientstyling:g}=t,{clientstylingurl:_}=t,{title:o=""}=t,r,c,s=!0;const u=()=>{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(v).forEach(l=>{y(l,v[l])});const E=()=>{q(a)},H=()=>{window.postMessage({type:"CloseIframe"},window.location.href)},C=l=>{l.target.src&&n(9,s=!1)},B=()=>window.postMessage({type:"DisableScroll"},window.location.href),R=()=>window.postMessage({type:"EnableScroll"},window.location.href);e.onMount(()=>(B(),()=>{R()}));const F=l=>C(l);function j(l){e.binding_callbacks[l?"unshift":"push"](()=>{r=l,n(8,r)})}return i.$$set=l=>{"lang"in l&&n(0,a=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&&a&&E(),i.$$.dirty&4&&m&&u(),i.$$.dirty&288&&g&&r&&w.setClientStyling(r,g),i.$$.dirty&320&&_&&r&&w.setClientStylingURL(r,_),i.$$.dirty&272&&h&&r&&w.setStreamStyling(r,`${h}.Style`,c)},[a,f,m,d,h,g,_,o,r,s,H,C,F,j]}class M extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,O,I,e.safe_not_equal,{lang:0,iframeurl:1,translationurl:2,showbackbutton:3,mbsource:4,clientstyling:5,clientstylingurl:6,title:7},T)}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(M,{lang:{},iframeurl:{},translationurl:{},showbackbutton:{},mbsource:{},clientstyling:{},clientstylingurl:{},title:{}},[],[],!0);exports.default=M;