@everymatrix/cashier-page 1.93.7 → 1.93.9

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 (57) hide show
  1. package/components/{CashierCarousel-CNFfg68P.js → CashierCarousel-BwLnmSXU.js} +2 -2
  2. package/components/{CashierCarousel-NjbvgUt5.js → CashierCarousel-C-Ot76T6.js} +2 -2
  3. package/components/{CashierCarousel-DQjGmx-R.cjs → CashierCarousel-DDb20K1N.cjs} +1 -1
  4. package/components/CashierError-CXfdPtyr.cjs +1 -0
  5. package/components/{CashierError-D8oRXBlu.js → CashierError-Ctxy-Qme.js} +36 -34
  6. package/components/{CashierError-fB9W_ag3.js → CashierError-DB5YsbBD.js} +36 -34
  7. package/components/{CashierHeader-Bm1oAMH_.cjs → CashierHeader-B_yj6ExY.cjs} +1 -1
  8. package/components/{CashierHeader-YSVT0MqV.js → CashierHeader-BzNh2baU.js} +1 -1
  9. package/components/{CashierHeader-ciapVow2.js → CashierHeader-D-e-mT_m.js} +1 -1
  10. package/components/{CashierIframeRedirect-B28DJ5h4.js → CashierIframeRedirect-Bk8o0Qj8.js} +3 -3
  11. package/components/{CashierIframeRedirect-cdMML0YM.js → CashierIframeRedirect-Bn1MQyKU.js} +3 -3
  12. package/components/{CashierIframeRedirect-dL4jZsFk.cjs → CashierIframeRedirect-C-YEoMVL.cjs} +1 -1
  13. package/components/CashierMethodDetails-AGQll-Bs.cjs +85 -0
  14. package/components/{CashierMethodDetails-DiQf2f_Q.js → CashierMethodDetails-Cy5LUMPY.js} +2200 -2192
  15. package/components/{CashierMethodDetails-DfV8DTGh.js → CashierMethodDetails-s3Hc8rYm.js} +2074 -2067
  16. package/components/{CashierMethodsList-CXw009jr.cjs → CashierMethodsList-Cgdq7Tsg.cjs} +1 -1
  17. package/components/{CashierMethodsList-CAdmvg5I.js → CashierMethodsList-DuzZueLm.js} +2 -2
  18. package/components/{CashierMethodsList-JKXep9_L.js → CashierMethodsList-I3LmBH8B.js} +2 -2
  19. package/components/{CashierModal-B4Bmcz1_.cjs → CashierModal-CeXTp3KK.cjs} +1 -1
  20. package/components/{CashierModal-CJzaVh_e.js → CashierModal-DLTEFU_5.js} +2 -2
  21. package/components/{CashierModal-Dlimu5X_.js → CashierModal-YH0ssoDW.js} +2 -2
  22. package/components/{CashierNotifications-DioYIggf.cjs → CashierNotifications-BGytN-Gv.cjs} +1 -1
  23. package/components/{CashierNotifications-BhEBd-7F.js → CashierNotifications-Cy13OoBN.js} +1 -1
  24. package/components/{CashierNotifications-C4yZcEB3.js → CashierNotifications-xuLO2HYj.js} +1 -1
  25. package/components/{CashierPage-BCcULeu_.cjs → CashierPage-Bifz2vCe.cjs} +6 -6
  26. package/components/{CashierPage-BbOshc3G.js → CashierPage-CMQ7DtMT.js} +17 -12
  27. package/components/{CashierPage-CR67vYjp.js → CashierPage-CbuACs4z.js} +17 -12
  28. package/components/{CashierReceiptPage-DO123wUp.js → CashierReceiptPage-5rd84VrZ.js} +3 -3
  29. package/components/{CashierReceiptPage-DZ-tcOoC.cjs → CashierReceiptPage-Bz2xnqoo.cjs} +1 -1
  30. package/components/{CashierReceiptPage-BGTmgYDD.js → CashierReceiptPage-CNGFTadr.js} +3 -3
  31. package/components/{CashierSessionExpirationModal-BmdXtIyA.js → CashierSessionExpirationModal-BBNk7wZj.js} +2 -2
  32. package/components/{CashierSessionExpirationModal-CDNBmdxc.js → CashierSessionExpirationModal-BWx6wGH0.js} +2 -2
  33. package/components/{CashierSessionExpirationModal-CVBVU9BD.cjs → CashierSessionExpirationModal-CoCyXGRj.cjs} +1 -1
  34. package/components/{CashierSpinner-D_NXI8W3.cjs → CashierSpinner-BypYEt1A.cjs} +1 -1
  35. package/components/{CashierSpinner-BjOtjouc.js → CashierSpinner-CZrbrabH.js} +2 -2
  36. package/components/{CashierSpinner-MkvbnZbM.js → CashierSpinner-CnCm7Ry-.js} +2 -2
  37. package/components/{CashierStepUp-CgUCOPPi.js → CashierStepUp-CIaBB7t3.js} +2 -2
  38. package/components/{CashierStepUp-BQ4kBkkH.cjs → CashierStepUp-DX8ZLZdO.cjs} +1 -1
  39. package/components/{CashierStepUp-4XlHc2Ta.js → CashierStepUp-LlSZLWb0.js} +2 -2
  40. package/components/{CashierTransactionHistory-Cb2LDY6J.js → CashierTransactionHistory-CUVZgNXA.js} +5 -5
  41. package/components/{CashierTransactionHistory-Dfwirxg7.cjs → CashierTransactionHistory-SQgdS3dm.cjs} +1 -1
  42. package/components/{CashierTransactionHistory-CLjjWrTE.js → CashierTransactionHistory-bnB5LNyT.js} +5 -5
  43. package/components/{CashierVerifications-DF8sTdHg.cjs → CashierVerifications-Bp105B_B.cjs} +1 -1
  44. package/components/{CashierVerifications-QLXFANRy.js → CashierVerifications-C_1h2g9S.js} +3 -3
  45. package/components/{CashierVerifications-z6w1AgZH.js → CashierVerifications-m5uz1XgQ.js} +3 -3
  46. package/components/{TxnStatusIcon-MwOdS7yx.js → TxnStatusIcon-DBIUEpXY.js} +1 -1
  47. package/components/{TxnStatusIcon-DFxwblpr.cjs → TxnStatusIcon-Mfv7-0P4.cjs} +1 -1
  48. package/components/{TxnStatusIcon-B0KPnDeX.js → TxnStatusIcon-dtcAqT1J.js} +1 -1
  49. package/components/{TxnTypeIcons-BTpFb1Ay.js → TxnTypeIcons-BszDHg0k.js} +1 -1
  50. package/components/{TxnTypeIcons-DNQZNctp.js → TxnTypeIcons-CO9tJMGM.js} +1 -1
  51. package/components/{TxnTypeIcons-DweZjuCP.cjs → TxnTypeIcons-DA1l09Wa.cjs} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierError-BR4x0KHw.cjs +0 -1
  57. package/components/CashierMethodDetails-B3SH6O4A.cjs +0 -85
@@ -1,5 +1,5 @@
1
- import { a as $, i as ee, $ as te, S as ie, b as ne, s as ae, f as E, d as re, e as M, g as h, t as A, h as P, u as W, j as x, k as O, l as v, m as b, n as k, o as L, p as T, q as oe, r as se, v as S, w as D, x as I, A as le, y as ue, J as R, O as V, c as de, B as ce } from "./CashierPage-BbOshc3G.js";
2
- import { s as me, a as fe, b as pe } from "./CashierHeader-YSVT0MqV.js";
1
+ import { a as $, i as ee, $ as te, S as ie, b as ne, s as ae, f as T, d as re, e as M, g as h, t as A, h as P, u as W, j as x, k as O, l as v, m as k, n as b, o as L, p as E, q as oe, r as se, v as B, w as D, x as I, A as le, y as ue, J as R, O as V, c as de, B as ce } from "./CashierPage-CMQ7DtMT.js";
2
+ import { s as me, a as fe, b as pe } from "./CashierHeader-BzNh2baU.js";
3
3
  import "../stencil/ui-image-BsYHwNhO.js";
4
4
  function N(i, e) {
5
5
  $(i, e);
@@ -58,7 +58,8 @@ const q = {
58
58
  InvalidAccount: "Invalid account",
59
59
  DuplicatePaymentAccount: "The account you used to request a withdrawal has been deemed suspicious, and your transaction has been canceled for security reasons. Please contact our live support for more details.",
60
60
  InvalidCardHolder: "Invalid card holder",
61
- VendorInvalidCard: "Vendor invalid card"
61
+ VendorInvalidCard: "Vendor invalid card",
62
+ CardTokenIsBlocked: "Card token is blocked"
62
63
  },
63
64
  tr: {
64
65
  VendorMicroserviceCommunicationError: "Özür dileriz, ancak ödeme sağlayıcınız bir mikroservis iletişim hatası nedeniyle işlemi gerçekleştiremedi. Lütfen daha sonra tekrar deneyin.",
@@ -109,7 +110,8 @@ const q = {
109
110
  InvalidAccount: "Geçersiz hesap",
110
111
  DuplicatePaymentAccount: "Çekim talebinde bulunduğunuz hesap şüpheli olarak değerlendirilmiş ve işleminiz güvenlik nedeniyle iptal edilmiştir. Detaylı bilgi almak için lütfen canlı destek hattımızla iletişime geçiniz.",
111
112
  InvalidCardHolder: "Geçersiz kart sahibi",
112
- VendorInvalidCard: "Özür dileriz, fakat sağlayıcınız hatalı kart bilgileri nedeniyle işleminizi reddetti. Lütfen kart bilgilerinizi yeniden girin veya Destek ekibimizle iletişime geçin. Hata kodu 13500"
113
+ VendorInvalidCard: "Özür dileriz, fakat sağlayıcınız hatalı kart bilgileri nedeniyle işleminizi reddetti. Lütfen kart bilgilerinizi yeniden girin veya Destek ekibimizle iletişime geçin. Hata kodu 13500",
114
+ CardTokenIsBlocked: "Kart jetonu engellendi"
113
115
  },
114
116
  fr: {
115
117
  VendorMicroserviceCommunicationError: "Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter en raison d’une erreur de communication de microservice. Veuillez réessayer plus tard.",
@@ -163,12 +165,12 @@ const q = {
163
165
  function ge(i) {
164
166
  re(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
165
167
  }
166
- const he = (i) => ({}), F = (i) => ({}), ve = (i) => ({}), H = (i) => ({}), be = (i) => ({}), U = (i) => ({}), ke = (i) => ({}), K = (i) => ({ class: "CashierErrorIcon" });
168
+ const he = (i) => ({}), F = (i) => ({}), ve = (i) => ({}), H = (i) => ({}), ke = (i) => ({}), U = (i) => ({}), be = (i) => ({}), K = (i) => ({ class: "CashierErrorIcon" });
167
169
  function G(i) {
168
170
  let e, t;
169
171
  return {
170
172
  c() {
171
- e = k("ui-image"), R(e.src, t = `${/*assetsurl*/
173
+ e = b("ui-image"), R(e.src, t = `${/*assetsurl*/
172
174
  i[0]}/error-general-icon.png`) || V(e, "src", t), V(e, "width", "300px"), V(e, "alt", "error");
173
175
  },
174
176
  m(r, o) {
@@ -191,7 +193,7 @@ function _e(i) {
191
193
  );
192
194
  return {
193
195
  c() {
194
- t && t.c(), e = S();
196
+ t && t.c(), e = B();
195
197
  },
196
198
  m(r, o) {
197
199
  t && t.m(r, o), v(r, e, o);
@@ -216,7 +218,7 @@ function j(i) {
216
218
  let r = t(i), o = r(i);
217
219
  return {
218
220
  c() {
219
- o.c(), e = S();
221
+ o.c(), e = B();
220
222
  },
221
223
  m(a, n) {
222
224
  o.m(a, n), v(a, e, n);
@@ -239,10 +241,10 @@ function ze(i) {
239
241
  );
240
242
  return {
241
243
  c() {
242
- e = k("span"), r = I(t), o = L(), a && a.c(), T(e, "class", "CashierErrorText");
244
+ e = b("span"), r = I(t), o = L(), a && a.c(), E(e, "class", "CashierErrorText");
243
245
  },
244
246
  m(n, u) {
245
- v(n, e, u), b(e, r), b(e, o), a && a.m(e, null);
247
+ v(n, e, u), k(e, r), k(e, o), a && a.m(e, null);
246
248
  },
247
249
  p(n, u) {
248
250
  u & /*$_*/
@@ -262,10 +264,10 @@ function Ce(i) {
262
264
  ), o;
263
265
  return {
264
266
  c() {
265
- e = k("div"), t = k("span"), o = I(r), T(t, "class", "CashierErrorText LoadingText"), T(e, "class", "WageringFetch");
267
+ e = b("div"), t = b("span"), o = I(r), E(t, "class", "CashierErrorText LoadingText"), E(e, "class", "WageringFetch");
266
268
  },
267
269
  m(a, n) {
268
- v(a, e, n), b(e, t), b(t, o);
270
+ v(a, e, n), k(e, t), k(t, o);
269
271
  },
270
272
  p(a, n) {
271
273
  n & /*$_*/
@@ -310,7 +312,7 @@ function J(i) {
310
312
  }
311
313
  };
312
314
  }
313
- function Ee(i) {
315
+ function Te(i) {
314
316
  let e, t = (
315
317
  /*$_*/
316
318
  i[5](`${/*errorcode*/
@@ -321,10 +323,10 @@ function Ee(i) {
321
323
  );
322
324
  return {
323
325
  c() {
324
- e = k("span"), r = I(t), o = L(), n && n.c(), a = S(), T(e, "class", "CashierErrorText");
326
+ e = b("span"), r = I(t), o = L(), n && n.c(), a = B(), E(e, "class", "CashierErrorText");
325
327
  },
326
328
  m(u, d) {
327
- v(u, e, d), b(e, r), v(u, o, d), n && n.m(u, d), v(u, a, d);
329
+ v(u, e, d), k(e, r), v(u, o, d), n && n.m(u, d), v(u, a, d);
328
330
  },
329
331
  p(u, d) {
330
332
  d & /*$_, errorcode*/
@@ -338,17 +340,17 @@ function Ee(i) {
338
340
  }
339
341
  };
340
342
  }
341
- function Te(i) {
343
+ function Ee(i) {
342
344
  let e, t, r = (
343
345
  /*$_*/
344
346
  i[5]("errorGeneralButton") + ""
345
347
  ), o, a, n;
346
348
  return {
347
349
  c() {
348
- e = k("button"), t = k("span"), o = I(r), T(e, "class", "CashierErrorButton");
350
+ e = b("button"), t = b("span"), o = I(r), E(e, "class", "CashierErrorButton");
349
351
  },
350
352
  m(u, d) {
351
- v(u, e, d), b(e, t), b(t, o), a || (n = le(
353
+ v(u, e, d), k(e, t), k(t, o), a || (n = le(
352
354
  e,
353
355
  "click",
354
356
  /*close*/
@@ -394,7 +396,7 @@ function we(i) {
394
396
  /*$$scope*/
395
397
  i[12],
396
398
  H
397
- ), y = p || Ee(i), w = (
399
+ ), y = p || Te(i), w = (
398
400
  /*#slots*/
399
401
  i[13].button
400
402
  ), C = M(
@@ -403,13 +405,13 @@ function we(i) {
403
405
  /*$$scope*/
404
406
  i[12],
405
407
  F
406
- ), g = C || Te(i);
408
+ ), g = C || Ee(i);
407
409
  return {
408
410
  c() {
409
- e = k("div"), t = k("div"), f && f.c(), r = L(), m && m.c(), o = L(), y && y.c(), a = L(), g && g.c(), T(t, "class", "CashierErrorContent"), T(e, "class", "CashierError");
411
+ e = b("div"), t = b("div"), f && f.c(), r = L(), m && m.c(), o = L(), y && y.c(), a = L(), g && g.c(), E(t, "class", "CashierErrorContent"), E(e, "class", "CashierError");
410
412
  },
411
413
  m(s, c) {
412
- v(s, e, c), b(e, t), f && f.m(t, null), b(t, r), m && m.m(t, null), b(t, o), y && y.m(t, null), b(t, a), g && g.m(t, null), i[14](e), n = !0;
414
+ v(s, e, c), k(e, t), f && f.m(t, null), k(t, r), m && m.m(t, null), k(t, o), y && y.m(t, null), k(t, a), g && g.m(t, null), i[14](e), n = !0;
413
415
  },
414
416
  p(s, [c]) {
415
417
  d ? d.p && (!n || c & /*$$scope*/
@@ -424,7 +426,7 @@ function we(i) {
424
426
  /*$$scope*/
425
427
  s[12],
426
428
  c,
427
- ke
429
+ be
428
430
  ) : x(
429
431
  /*$$scope*/
430
432
  s[12]
@@ -443,7 +445,7 @@ function we(i) {
443
445
  /*$$scope*/
444
446
  s[12],
445
447
  c,
446
- be
448
+ ke
447
449
  ) : x(
448
450
  /*$$scope*/
449
451
  s[12]
@@ -525,7 +527,7 @@ function Le(i, e, t) {
525
527
  });
526
528
  const c = () => {
527
529
  window.postMessage({ type: "ErrorClose" }, window.location.href);
528
- }, B = (l) => {
530
+ }, S = (l) => {
529
531
  if (l.data)
530
532
  switch (l.data.type) {
531
533
  case "DepositWageringAmount":
@@ -533,8 +535,8 @@ function Le(i, e, t) {
533
535
  break;
534
536
  }
535
537
  };
536
- se(() => (window.addEventListener("message", B, !1), () => {
537
- window.removeEventListener("message", B);
538
+ se(() => (window.addEventListener("message", S, !1), () => {
539
+ window.removeEventListener("message", S);
538
540
  }));
539
541
  function Y(l) {
540
542
  ue[l ? "unshift" : "push"](() => {
@@ -592,43 +594,43 @@ class De extends ie {
592
594
  return this.$$.ctx[0];
593
595
  }
594
596
  set assetsurl(e) {
595
- this.$$set({ assetsurl: e }), E();
597
+ this.$$set({ assetsurl: e }), T();
596
598
  }
597
599
  get lang() {
598
600
  return this.$$.ctx[7];
599
601
  }
600
602
  set lang(e) {
601
- this.$$set({ lang: e }), E();
603
+ this.$$set({ lang: e }), T();
602
604
  }
603
605
  get errorcode() {
604
606
  return this.$$.ctx[1];
605
607
  }
606
608
  set errorcode(e) {
607
- this.$$set({ errorcode: e }), E();
609
+ this.$$set({ errorcode: e }), T();
608
610
  }
609
611
  get clientstyling() {
610
612
  return this.$$.ctx[8];
611
613
  }
612
614
  set clientstyling(e) {
613
- this.$$set({ clientstyling: e }), E();
615
+ this.$$set({ clientstyling: e }), T();
614
616
  }
615
617
  get clientstylingurl() {
616
618
  return this.$$.ctx[9];
617
619
  }
618
620
  set clientstylingurl(e) {
619
- this.$$set({ clientstylingurl: e }), E();
621
+ this.$$set({ clientstylingurl: e }), T();
620
622
  }
621
623
  get translationurl() {
622
624
  return this.$$.ctx[10];
623
625
  }
624
626
  set translationurl(e) {
625
- this.$$set({ translationurl: e }), E();
627
+ this.$$set({ translationurl: e }), T();
626
628
  }
627
629
  get mbsource() {
628
630
  return this.$$.ctx[11];
629
631
  }
630
632
  set mbsource(e) {
631
- this.$$set({ mbsource: e }), E();
633
+ this.$$set({ mbsource: e }), T();
632
634
  }
633
635
  }
634
636
  de(De, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
@@ -1 +1 @@
1
- "use strict";const n=require("./CashierPage-BCcULeu_.cjs");function k(s,t){n.addMessages(s,t)}function q(s){n.init({fallbackLocale:"en"}),n.$locale.set(s)}const L={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}}},b="__WIDGET_GLOBAL_STYLE_CACHE__";function R(s,t){if(s){const e=document.createElement("style");e.innerHTML=t,s.appendChild(e)}}function A(s,t){if(!s||!t)return;const e=new URL(t);fetch(e.href).then(l=>l.text()).then(l=>{const i=document.createElement("style");i.innerHTML=l,s&&s.appendChild(i)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function F(s,t,e,l=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!l)return e=G(s,t),e;window[b]||(window[b]={}),e=I(s,t);const a=e.unsubscribe.bind(e),d=()=>{if(window[b][t]){const c=window[b][t];c.refCount>1?c.refCount=c.refCount-1:delete window[b][t]}a()};return e.unsubscribe=d,e}function G(s,t){const e=document.createElement("style");return window.emMessageBus.subscribe(t,l=>{s&&(e.innerHTML=l,s.appendChild(e))})}function I(s,t){return window.emMessageBus.subscribe(t,e=>{if(!s)return;const l=s.getRootNode(),i=window[b];let a=i[t]&&i[t].sheet;a?i[t].refCount=i[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(e),i[t]={sheet:a,refCount:1});const d=l.adoptedStyleSheets||[];d.includes(a)||(l.adoptedStyleSheets=[...d,a])})}function W(s){n.append_styles(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)}")}const Y=s=>({}),B=s=>({}),Z=s=>({}),v=s=>({}),K=s=>({}),H=s=>({});function T(s){let t,e,l;return{c(){t=n.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>',n.attr(t,"class","CashierHeaderLeftButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[6]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function J(s){let t,e=s[1]&&T(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[1]?e?e.p(l,i):(e=T(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function Q(s){let t,e=s[4](s[2])+"",l;return{c(){t=n.element("span"),l=n.text(e),n.attr(t,"class","CashierHeaderTitle")},m(i,a){n.insert(i,t,a),n.append(t,l)},p(i,a){a&20&&e!==(e=i[4](i[2])+"")&&n.set_data(l,e)},d(i){i&&n.detach(t)}}}function M(s){let t,e,l;return{c(){t=n.element("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>',n.attr(t,"class","CashierHeaderRightButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[5]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function V(s){let t,e=s[3]&&M(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[3]?e?e.p(l,i):(e=M(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function X(s){let t,e,l,i;const a=s[16].leftButton,d=n.create_slot(a,s,s[15],H),c=d||J(s),m=s[16].title,g=n.create_slot(m,s,s[15],v),u=g||Q(s),_=s[16].rightButton,w=n.create_slot(_,s,s[15],B),f=w||V(s);return{c(){t=n.element("div"),c&&c.c(),e=n.space(),u&&u.c(),l=n.space(),f&&f.c(),n.attr(t,"class","CashierHeader")},m(o,h){n.insert(o,t,h),c&&c.m(t,null),n.append(t,e),u&&u.m(t,null),n.append(t,l),f&&f.m(t,null),s[17](t),i=!0},p(o,[h]){d?d.p&&(!i||h&32768)&&n.update_slot_base(d,a,o,o[15],i?n.get_slot_changes(a,o[15],h,K):n.get_all_dirty_from_scope(o[15]),H):c&&c.p&&(!i||h&2)&&c.p(o,i?h:-1),g?g.p&&(!i||h&32768)&&n.update_slot_base(g,m,o,o[15],i?n.get_slot_changes(m,o[15],h,Z):n.get_all_dirty_from_scope(o[15]),v):u&&u.p&&(!i||h&20)&&u.p(o,i?h:-1),w?w.p&&(!i||h&32768)&&n.update_slot_base(w,_,o,o[15],i?n.get_slot_changes(_,o[15],h,Y):n.get_all_dirty_from_scope(o[15]),B):f&&f.p&&(!i||h&8)&&f.p(o,i?h:-1)},i(o){i||(n.transition_in(c,o),n.transition_in(u,o),n.transition_in(f,o),i=!0)},o(o){n.transition_out(c,o),n.transition_out(u,o),n.transition_out(f,o),i=!1},d(o){o&&n.detach(t),c&&c.d(o),u&&u.d(o),f&&f.d(o),s[17](null)}}}function $(s,t,e){let l;n.component_subscribe(s,n.$format,r=>e(4,l=r));let{$$slots:i={},$$scope:a}=t,{clientstyling:d=""}=t,{clientstylingurl:c=""}=t,{translationurl:m=""}=t,{showbackbutton:g=""}=t,{title:u="header.general"}=t,{lang:_="en"}=t,{showclosebutton:w=""}=t,{mbsource:f=""}=t,o,h,p=!1,C,y=!1;const E=()=>{fetch(m).then(r=>r.json()).then(r=>{Object.keys(r).forEach(S=>{k(S,r[S])})}).catch(r=>{console.log(r)})};Object.keys(L).forEach(r=>{k(r,L[r])});const O=()=>{q(_)},N=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},U=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{e(1,p=!!g&&g!=="false")},D=()=>{e(3,y=!!w&&w!=="false")},x=()=>{e(2,C=u||"header.general")};n.onMount(()=>()=>{});function P(r){n.binding_callbacks[r?"unshift":"push"](()=>{o=r,e(0,o)})}return s.$$set=r=>{"clientstyling"in r&&e(7,d=r.clientstyling),"clientstylingurl"in r&&e(8,c=r.clientstylingurl),"translationurl"in r&&e(9,m=r.translationurl),"showbackbutton"in r&&e(10,g=r.showbackbutton),"title"in r&&e(11,u=r.title),"lang"in r&&e(12,_=r.lang),"showclosebutton"in r&&e(13,w=r.showclosebutton),"mbsource"in r&&e(14,f=r.mbsource),"$$scope"in r&&e(15,a=r.$$scope)},s.$$.update=()=>{s.$$.dirty&4096&&_&&O(),s.$$.dirty&6144&&_&&u&&x(),s.$$.dirty&129&&d&&o&&R(o,d),s.$$.dirty&257&&c&&o&&A(o,c),s.$$.dirty&16385&&f&&o&&F(o,`${f}.Style`,h),s.$$.dirty&4608&&_&&m&&E(),s.$$.dirty&1024&&g&&z(),s.$$.dirty&8192&&w&&D()},[o,p,C,y,l,N,U,d,c,m,g,u,_,w,f,a,i,P]}class j extends n.SvelteComponent{constructor(t){super(),n.init$1(this,t,$,X,n.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},W)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),n.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),n.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),n.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),n.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),n.flush()}}n.create_custom_element(j,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);const tt=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"}));exports.CashierHeader_ce=tt;exports.setClientStyling=R;exports.setClientStylingURL=A;exports.setStreamStyling=F;
1
+ "use strict";const n=require("./CashierPage-Bifz2vCe.cjs");function k(s,t){n.addMessages(s,t)}function q(s){n.init({fallbackLocale:"en"}),n.$locale.set(s)}const L={en:{header:{general:"Cashier",deposit:"Deposit",withdraw:"Withdraw"}},tr:{header:{general:"Cashier",deposit:"Para Yatır",withdraw:"Çekim"}},fr:{header:{general:"Caisse",deposit:"Dépôt",withdraw:"Retrait"}}},b="__WIDGET_GLOBAL_STYLE_CACHE__";function R(s,t){if(s){const e=document.createElement("style");e.innerHTML=t,s.appendChild(e)}}function A(s,t){if(!s||!t)return;const e=new URL(t);fetch(e.href).then(l=>l.text()).then(l=>{const i=document.createElement("style");i.innerHTML=l,s&&s.appendChild(i)}).catch(l=>{console.error("There was an error while trying to load client styling from URL",l)})}function F(s,t,e,l=!1){if(!window.emMessageBus)return;if(!("adoptedStyleSheets"in Document.prototype)||!l)return e=G(s,t),e;window[b]||(window[b]={}),e=I(s,t);const a=e.unsubscribe.bind(e),d=()=>{if(window[b][t]){const c=window[b][t];c.refCount>1?c.refCount=c.refCount-1:delete window[b][t]}a()};return e.unsubscribe=d,e}function G(s,t){const e=document.createElement("style");return window.emMessageBus.subscribe(t,l=>{s&&(e.innerHTML=l,s.appendChild(e))})}function I(s,t){return window.emMessageBus.subscribe(t,e=>{if(!s)return;const l=s.getRootNode(),i=window[b];let a=i[t]&&i[t].sheet;a?i[t].refCount=i[t].refCount+1:(a=new CSSStyleSheet,a.replaceSync(e),i[t]={sheet:a,refCount:1});const d=l.adoptedStyleSheets||[];d.includes(a)||(l.adoptedStyleSheets=[...d,a])})}function W(s){n.append_styles(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)}")}const Y=s=>({}),B=s=>({}),Z=s=>({}),v=s=>({}),K=s=>({}),H=s=>({});function T(s){let t,e,l;return{c(){t=n.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>',n.attr(t,"class","CashierHeaderLeftButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[6]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function J(s){let t,e=s[1]&&T(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[1]?e?e.p(l,i):(e=T(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function Q(s){let t,e=s[4](s[2])+"",l;return{c(){t=n.element("span"),l=n.text(e),n.attr(t,"class","CashierHeaderTitle")},m(i,a){n.insert(i,t,a),n.append(t,l)},p(i,a){a&20&&e!==(e=i[4](i[2])+"")&&n.set_data(l,e)},d(i){i&&n.detach(t)}}}function M(s){let t,e,l;return{c(){t=n.element("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>',n.attr(t,"class","CashierHeaderRightButton")},m(i,a){n.insert(i,t,a),e||(l=n.listen(t,"click",s[5]),e=!0)},p:n.noop,d(i){i&&n.detach(t),e=!1,l()}}}function V(s){let t,e=s[3]&&M(s);return{c(){e&&e.c(),t=n.empty()},m(l,i){e&&e.m(l,i),n.insert(l,t,i)},p(l,i){l[3]?e?e.p(l,i):(e=M(l),e.c(),e.m(t.parentNode,t)):e&&(e.d(1),e=null)},d(l){l&&n.detach(t),e&&e.d(l)}}}function X(s){let t,e,l,i;const a=s[16].leftButton,d=n.create_slot(a,s,s[15],H),c=d||J(s),m=s[16].title,g=n.create_slot(m,s,s[15],v),u=g||Q(s),_=s[16].rightButton,w=n.create_slot(_,s,s[15],B),f=w||V(s);return{c(){t=n.element("div"),c&&c.c(),e=n.space(),u&&u.c(),l=n.space(),f&&f.c(),n.attr(t,"class","CashierHeader")},m(o,h){n.insert(o,t,h),c&&c.m(t,null),n.append(t,e),u&&u.m(t,null),n.append(t,l),f&&f.m(t,null),s[17](t),i=!0},p(o,[h]){d?d.p&&(!i||h&32768)&&n.update_slot_base(d,a,o,o[15],i?n.get_slot_changes(a,o[15],h,K):n.get_all_dirty_from_scope(o[15]),H):c&&c.p&&(!i||h&2)&&c.p(o,i?h:-1),g?g.p&&(!i||h&32768)&&n.update_slot_base(g,m,o,o[15],i?n.get_slot_changes(m,o[15],h,Z):n.get_all_dirty_from_scope(o[15]),v):u&&u.p&&(!i||h&20)&&u.p(o,i?h:-1),w?w.p&&(!i||h&32768)&&n.update_slot_base(w,_,o,o[15],i?n.get_slot_changes(_,o[15],h,Y):n.get_all_dirty_from_scope(o[15]),B):f&&f.p&&(!i||h&8)&&f.p(o,i?h:-1)},i(o){i||(n.transition_in(c,o),n.transition_in(u,o),n.transition_in(f,o),i=!0)},o(o){n.transition_out(c,o),n.transition_out(u,o),n.transition_out(f,o),i=!1},d(o){o&&n.detach(t),c&&c.d(o),u&&u.d(o),f&&f.d(o),s[17](null)}}}function $(s,t,e){let l;n.component_subscribe(s,n.$format,r=>e(4,l=r));let{$$slots:i={},$$scope:a}=t,{clientstyling:d=""}=t,{clientstylingurl:c=""}=t,{translationurl:m=""}=t,{showbackbutton:g=""}=t,{title:u="header.general"}=t,{lang:_="en"}=t,{showclosebutton:w=""}=t,{mbsource:f=""}=t,o,h,p=!1,C,y=!1;const E=()=>{fetch(m).then(r=>r.json()).then(r=>{Object.keys(r).forEach(S=>{k(S,r[S])})}).catch(r=>{console.log(r)})};Object.keys(L).forEach(r=>{k(r,L[r])});const O=()=>{q(_)},N=()=>{window.postMessage({type:"CloseCashier"},window.location.href)},U=()=>{window.postMessage({type:"BackCashier"},window.location.href)},z=()=>{e(1,p=!!g&&g!=="false")},D=()=>{e(3,y=!!w&&w!=="false")},x=()=>{e(2,C=u||"header.general")};n.onMount(()=>()=>{});function P(r){n.binding_callbacks[r?"unshift":"push"](()=>{o=r,e(0,o)})}return s.$$set=r=>{"clientstyling"in r&&e(7,d=r.clientstyling),"clientstylingurl"in r&&e(8,c=r.clientstylingurl),"translationurl"in r&&e(9,m=r.translationurl),"showbackbutton"in r&&e(10,g=r.showbackbutton),"title"in r&&e(11,u=r.title),"lang"in r&&e(12,_=r.lang),"showclosebutton"in r&&e(13,w=r.showclosebutton),"mbsource"in r&&e(14,f=r.mbsource),"$$scope"in r&&e(15,a=r.$$scope)},s.$$.update=()=>{s.$$.dirty&4096&&_&&O(),s.$$.dirty&6144&&_&&u&&x(),s.$$.dirty&129&&d&&o&&R(o,d),s.$$.dirty&257&&c&&o&&A(o,c),s.$$.dirty&16385&&f&&o&&F(o,`${f}.Style`,h),s.$$.dirty&4608&&_&&m&&E(),s.$$.dirty&1024&&g&&z(),s.$$.dirty&8192&&w&&D()},[o,p,C,y,l,N,U,d,c,m,g,u,_,w,f,a,i,P]}class j extends n.SvelteComponent{constructor(t){super(),n.init$1(this,t,$,X,n.safe_not_equal,{clientstyling:7,clientstylingurl:8,translationurl:9,showbackbutton:10,title:11,lang:12,showclosebutton:13,mbsource:14},W)}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),n.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),n.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(t){this.$$set({translationurl:t}),n.flush()}get showbackbutton(){return this.$$.ctx[10]}set showbackbutton(t){this.$$set({showbackbutton:t}),n.flush()}get title(){return this.$$.ctx[11]}set title(t){this.$$set({title:t}),n.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),n.flush()}get showclosebutton(){return this.$$.ctx[13]}set showclosebutton(t){this.$$set({showclosebutton:t}),n.flush()}get mbsource(){return this.$$.ctx[14]}set mbsource(t){this.$$set({mbsource:t}),n.flush()}}n.create_custom_element(j,{clientstyling:{},clientstylingurl:{},translationurl:{},showbackbutton:{},title:{},lang:{},showclosebutton:{},mbsource:{}},["leftButton","title","rightButton"],[],!0);const tt=Object.freeze(Object.defineProperty({__proto__:null,default:j},Symbol.toStringTag,{value:"Module"}));exports.CashierHeader_ce=tt;exports.setClientStyling=R;exports.setClientStylingURL=A;exports.setStreamStyling=F;
@@ -1,4 +1,4 @@
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-BbOshc3G.js";
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-CMQ7DtMT.js";
2
2
  function O(s, t) {
3
3
  tt(s, t);
4
4
  }
@@ -1,4 +1,4 @@
1
- import { a as tt, i as et, $ as st, S as nt, b as it, s as lt, f as b, c as ot, d as S, e as p, t as B, g as L, u as v, h as H, j as T, k as C, l as M, m as y, n as E, o as k, p as at, q as rt, r as G, v as ct, w as ut, x as ft, y as I, z as P, A as ht, B as dt } from "./CashierPage-CR67vYjp.js";
1
+ import { a as tt, i as et, $ as st, S as nt, b as it, s as lt, f as b, c as ot, d as S, e as p, t as B, g as L, u as v, h as H, j as T, k as C, l as M, m as y, n as E, o as k, p as at, q as rt, r as G, v as ct, w as ut, x as ft, y as I, z as P, A as ht, B as dt } from "./CashierPage-CbuACs4z.js";
2
2
  function O(s, t) {
3
3
  tt(s, t);
4
4
  }
@@ -1,5 +1,5 @@
1
- import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, c as Q, y as L, e as k, O as a, J as H, o as w, k as v, l as _, z as E, m as p, n as S, q as V, x as W, A as X } from "./CashierPage-CR67vYjp.js";
2
- import { s as Y, a as x, b as $ } from "./CashierHeader-ciapVow2.js";
1
+ import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, c as Q, y as L, e as k, O as a, J as H, o as w, k as v, l as _, z as E, m as p, n as S, q as V, x as W, A as X } from "./CashierPage-CbuACs4z.js";
2
+ import { s as Y, a as x, b as $ } from "./CashierHeader-D-e-mT_m.js";
3
3
  function R(i, e) {
4
4
  U(i, e);
5
5
  }
@@ -31,7 +31,7 @@ if (typeof window != "undefined") {
31
31
  }
32
32
  };
33
33
  };
34
- customElements.define = i(customElements.define), import("./CashierSpinner-MkvbnZbM.js").then(({ default: e }) => {
34
+ customElements.define = i(customElements.define), import("./CashierSpinner-CnCm7Ry-.js").then(({ default: e }) => {
35
35
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
36
36
  });
37
37
  }
@@ -1,5 +1,5 @@
1
- import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, d as Q, z as L, g as k, O as a, J as H, p as w, l as v, m as _, A as E, n as p, o as S, r as V, y as W, c as X } from "./CashierPage-BbOshc3G.js";
2
- import { s as Y, a as x, b as $ } from "./CashierHeader-YSVT0MqV.js";
1
+ import { a as U, i as Z, $ as J, S as P, b as G, s as K, f as b, d as Q, z as L, g as k, O as a, J as H, p as w, l as v, m as _, A as E, n as p, o as S, r as V, y as W, c as X } from "./CashierPage-CMQ7DtMT.js";
2
+ import { s as Y, a as x, b as $ } from "./CashierHeader-BzNh2baU.js";
3
3
  function R(i, e) {
4
4
  U(i, e);
5
5
  }
@@ -31,7 +31,7 @@ if (typeof window < "u") {
31
31
  }
32
32
  };
33
33
  };
34
- customElements.define = i(customElements.define), import("./CashierSpinner-BjOtjouc.js").then(({ default: e }) => {
34
+ customElements.define = i(customElements.define), import("./CashierSpinner-CZrbrabH.js").then(({ default: e }) => {
35
35
  !customElements.get("cashier-spinner") && customElements.define("cashier-spinner", e.element);
36
36
  });
37
37
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-BCcULeu_.cjs"),w=require("./CashierHeader-Bm1oAMH_.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-D_NXI8W3.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;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-Bifz2vCe.cjs"),w=require("./CashierHeader-B_yj6ExY.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-BypYEt1A.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;