@everymatrix/cashier-page 1.87.41 → 1.87.43

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 (55) hide show
  1. package/components/{CashierCarousel-CTc4yyes.cjs → CashierCarousel-BxC5hbTV.cjs} +1 -1
  2. package/components/{CashierCarousel-bboODhdA.js → CashierCarousel-CmV5fpwJ.js} +2 -2
  3. package/components/{CashierCarousel-0xZo1gES.js → CashierCarousel-DrhN1JLj.js} +2 -2
  4. package/components/{CashierError-DDxdFe1Z.js → CashierError-BybYYTes.js} +2 -2
  5. package/components/{CashierError-To855Uh8.js → CashierError-CW2EyOLI.js} +2 -2
  6. package/components/{CashierError-BG0puw7Q.cjs → CashierError-FICCQ3em.cjs} +1 -1
  7. package/components/{CashierHeader-C34sx3iv.cjs → CashierHeader-BxQ1q53p.cjs} +1 -1
  8. package/components/{CashierHeader-ZdCYbpAD.js → CashierHeader-C8jFHgZh.js} +1 -1
  9. package/components/{CashierHeader-B-MiUqDu.js → CashierHeader-bC4gKTpf.js} +1 -1
  10. package/components/{CashierIframeRedirect-DAhkwwBO.js → CashierIframeRedirect-CBIxR0JF.js} +3 -3
  11. package/components/{CashierIframeRedirect-DZHvCE1Y.js → CashierIframeRedirect-CVMUaDnJ.js} +3 -3
  12. package/components/{CashierIframeRedirect-D3QxvMJI.cjs → CashierIframeRedirect-DOuOqj9i.cjs} +1 -1
  13. package/components/{CashierMethodDetails-CHLwq_SD.js → CashierMethodDetails-4HWWEPLv.js} +756 -754
  14. package/components/{CashierMethodDetails-BHyQHh7b.cjs → CashierMethodDetails-CzaSxmgv.cjs} +4 -4
  15. package/components/{CashierMethodDetails-BwzUwOZQ.js → CashierMethodDetails-D8D1Frrk.js} +753 -751
  16. package/components/{CashierMethodsList-DybOxKcV.cjs → CashierMethodsList-C_yrv_jE.cjs} +1 -1
  17. package/components/{CashierMethodsList-CLmZ5enC.js → CashierMethodsList-DIq5rQug.js} +2 -2
  18. package/components/{CashierMethodsList-DgXpgOi5.js → CashierMethodsList-RtV4RWn9.js} +2 -2
  19. package/components/{CashierModal-DXmHg1iF.js → CashierModal-CkbILW7K.js} +2 -2
  20. package/components/{CashierModal-BA7Y5tFX.cjs → CashierModal-Cs5OJnfa.cjs} +1 -1
  21. package/components/{CashierModal-DSkwW14u.js → CashierModal-ZQs6JpJ0.js} +2 -2
  22. package/components/{CashierNotifications-C51a44-4.js → CashierNotifications-BiCENfRh.js} +1 -1
  23. package/components/{CashierNotifications-BG5PwQcE.js → CashierNotifications-DA33xv9L.js} +1 -1
  24. package/components/{CashierNotifications-DnFUR0pv.cjs → CashierNotifications-DjCcV6bS.cjs} +1 -1
  25. package/components/{CashierPage-CnReQV08.cjs → CashierPage-CakEjHZc.cjs} +1 -1
  26. package/components/{CashierPage-C0nhoSpy.js → CashierPage-DkZN1_r2.js} +10 -10
  27. package/components/{CashierPage-fWDW-t7q.js → CashierPage-_9y17laW.js} +10 -10
  28. package/components/{CashierReceiptPage-BqjUrAaW.js → CashierReceiptPage-BabYaJnk.js} +3 -3
  29. package/components/{CashierReceiptPage-VvlMKLl1.cjs → CashierReceiptPage-BgUhWBcH.cjs} +1 -1
  30. package/components/{CashierReceiptPage-C-WcZdVu.js → CashierReceiptPage-Da6eba_d.js} +3 -3
  31. package/components/{CashierSessionExpirationModal-BWmxnVIf.js → CashierSessionExpirationModal-B4H9ldJ8.js} +2 -2
  32. package/components/{CashierSessionExpirationModal-CDoIuj0L.cjs → CashierSessionExpirationModal-DAM8131f.cjs} +1 -1
  33. package/components/{CashierSessionExpirationModal-B99AtkVH.js → CashierSessionExpirationModal-DeL8lrn9.js} +2 -2
  34. package/components/{CashierSpinner-25MWmu9L.js → CashierSpinner-BbaSwjFv.js} +2 -2
  35. package/components/{CashierSpinner-Cd-Ze4Dc.js → CashierSpinner-ChSenyaz.js} +2 -2
  36. package/components/{CashierSpinner-B9AvBOzg.cjs → CashierSpinner-Csg_EtFh.cjs} +1 -1
  37. package/components/{CashierStepUp-D0XIkrCV.js → CashierStepUp-BeDekA2v.js} +2 -2
  38. package/components/{CashierStepUp-DsWlbIiv.cjs → CashierStepUp-D4CiEva4.cjs} +1 -1
  39. package/components/{CashierStepUp-C63itZlS.js → CashierStepUp-Dw6ubu5H.js} +2 -2
  40. package/components/{CashierTransactionHistory-Qbq4uqR_.js → CashierTransactionHistory-BYq8_nsA.js} +5 -5
  41. package/components/{CashierTransactionHistory-C75M8QcN.cjs → CashierTransactionHistory-CTurTyPi.cjs} +1 -1
  42. package/components/{CashierTransactionHistory-CYKR4mAv.js → CashierTransactionHistory-SIpDM8CB.js} +5 -5
  43. package/components/{CashierVerifications-DDvm-t1I.js → CashierVerifications-BtukLToU.js} +3 -3
  44. package/components/{CashierVerifications-B6z9zI7d.cjs → CashierVerifications-G0OQu0PX.cjs} +1 -1
  45. package/components/{CashierVerifications-CViQksVL.js → CashierVerifications-dDl284TM.js} +3 -3
  46. package/components/{TxnStatusIcon-BtBa4IGC.cjs → TxnStatusIcon-3TfTrSWf.cjs} +1 -1
  47. package/components/{TxnStatusIcon-Bl61uGtP.js → TxnStatusIcon-Cfj5z-hL.js} +1 -1
  48. package/components/{TxnStatusIcon-BnlSefQv.js → TxnStatusIcon-DvjfrPqZ.js} +1 -1
  49. package/components/{TxnTypeIcons-BDxGo0sw.js → TxnTypeIcons-B8thoXGv.js} +1 -1
  50. package/components/{TxnTypeIcons-DXz0_Yz5.js → TxnTypeIcons-YTHUaGg3.js} +1 -1
  51. package/components/{TxnTypeIcons-QDTNsDgn.cjs → TxnTypeIcons-kcmjhuO-.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
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-CnReQV08.cjs"),K=require("./CashierHeader-C34sx3iv.cjs");function ne(t,a){e.addMessages(t,a)}function me(t){e.init({fallbackLocale:"en"}),e.$locale.set(t)}const ie={en:{generalMin:"Min",generalMax:"Max",error:"Error",noFavoritePaymentMethods:"No favorite payment methods available",DepositRealTime:"Instant deposit",WithdrawRealTime:"Instant withdrawal",DepositVariable:"Variable",WithdrawVariable:"Variable",carouselTitle:"Favorite Methods",carouselSubtitle:"The most popular payment methods"},tr:{generalMin:"Min",generalMax:"Maks",error:"Hata",noFavoritePaymentMethods:"Favori ödeme yöntemi mevcut değil",DepositRealTime:"Anında para yatırma",WithdrawRealTime:"Anında para çekme",DepositVariable:"Değişken",WithdrawVariable:"Değişken",carouselTitle:"Favori Yöntemler",carouselSubtitle:"En popüler ödeme yöntemleri"},fr:{generalMin:"Min",generalMax:"Max",error:"Erreur",noFavoritePaymentMethods:"Aucun moyen de paiement favori disponible",DepositRealTime:"Dépôt instantané",WithdrawRealTime:"Retrait instantané",DepositVariable:"Variable",WithdrawVariable:"Variable",carouselTitle:"Méthodes favorites",carouselSubtitle:"Les moyens de paiement les plus populaires"}};function fe(t){e.append_styles(t,"svelte-1v34r4p",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:5px;height:115px;width:78px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:100px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}')}function le(t,a,r){const l=t.slice();return l[40]=a[r],l[42]=r,l}function se(t,a,r){const l=t.slice();return l[43]=a[r],l[42]=r,l}function he(t){let a,r=t[8]("noFavoritePaymentMethods")+"",l;return{c(){a=e.element("p"),l=e.text(r),e.attr(a,"class","NoFavoritePaymentMethods")},m(o,m){e.insert(o,a,m),e.append(a,l)},p(o,m){m[0]&256&&r!==(r=o[8]("noFavoritePaymentMethods")+"")&&e.set_data(l,r)},d(o){o&&e.detach(a)}}}function ge(t){let a,r=!e.isMobile(t[9])&&t[5].length>1,l,o,m,k=!e.isMobile(t[9])&&t[5].length>1,v,C,g,M,D,f=r&&oe(t),h=e.ensure_array_like(t[5]),d=[];for(let i=0;i<h.length;i+=1)d[i]=ce(se(t,h,i));let u=k&&de(t),p=e.ensure_array_like(Array(t[5].length)),y=[];for(let i=0;i<p.length;i+=1)y[i]=ue(le(t,p,i));return{c(){a=e.element("div"),f&&f.c(),l=e.space(),o=e.element("div");for(let i=0;i<d.length;i+=1)d[i].c();m=e.space(),u&&u.c(),C=e.space(),g=e.element("div");for(let i=0;i<y.length;i+=1)y[i].c();e.attr(o,"class","Carousel"),e.attr(a,"class","CarouselCardsContainer"),e.add_render_callback(()=>t[28].call(a)),e.attr(g,"class","VisualDotIndicator")},m(i,c){e.insert(i,a,c),f&&f.m(a,null),e.append(a,l),e.append(a,o);for(let s=0;s<d.length;s+=1)d[s]&&d[s].m(o,null);t[26](o),e.append(a,m),u&&u.m(a,null),v=e.add_iframe_resize_listener(a,t[28].bind(a)),e.insert(i,C,c),e.insert(i,g,c);for(let s=0;s<y.length;s+=1)y[s]&&y[s].m(g,null);M||(D=[e.listen(o,"touchstart",t[11]),e.listen(o,"touchmove",t[12]),e.listen(o,"touchend",t[13])],M=!0)},p(i,c){if(c[0]&32&&(r=!e.isMobile(i[9])&&i[5].length>1),r?f?f.p(i,c):(f=oe(i),f.c(),f.m(a,l)):f&&(f.d(1),f=null),c[0]&1521){h=e.ensure_array_like(i[5]);let s;for(s=0;s<h.length;s+=1){const L=se(i,h,s);d[s]?d[s].p(L,c):(d[s]=ce(L),d[s].c(),d[s].m(o,null))}for(;s<d.length;s+=1)d[s].d(1);d.length=h.length}if(c[0]&32&&(k=!e.isMobile(i[9])&&i[5].length>1),k?u?u.p(i,c):(u=de(i),u.c(),u.m(a,null)):u&&(u.d(1),u=null),c[0]&96){p=e.ensure_array_like(Array(i[5].length));let s;for(s=0;s<p.length;s+=1){const L=le(i,p,s);y[s]?y[s].p(L,c):(y[s]=ue(L),y[s].c(),y[s].m(g,null))}for(;s<y.length;s+=1)y[s].d(1);y.length=p.length}},d(i){i&&(e.detach(a),e.detach(C),e.detach(g)),f&&f.d(),e.destroy_each(d,i),t[26](null),u&&u.d(),v(),e.destroy_each(y,i),M=!1,e.run_all(D)}}}function oe(t){let a,r,l;return{c(){a=e.element("div"),a.innerHTML='<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>',e.attr(a,"class","NavigationArrow Left")},m(o,m){e.insert(o,a,m),r||(l=e.listen(a,"click",t[24]),r=!0)},p:e.noop,d(o){o&&e.detach(a),r=!1,l()}}}function ce(t){var q,U,O,B,n,b,w,A;let a,r,l,o,m,k,v,C,g,M=(t[43].Label||t[43].Name)+"",D,f,h,d,u=t[8](`${t[0]}${t[43].ProcessingTime}`)+"",p,y,i,c,s,L=t[8]("generalMin")+"",W,_,T=e.formatCurrency(t[43].DisplayCurrency.MinAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(U=(q=t[43])==null?void 0:q.DisplayCurrency)==null?void 0:U.Name]||t[7],minimumFractionDigits:t[4][(B=(O=t[43])==null?void 0:O.DisplayCurrency)==null?void 0:B.Name]||t[7]})+"",X,E,z,I=t[8]("generalMax")+"",x,P,V=e.formatCurrency(t[43].DisplayCurrency.MaxAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(b=(n=t[43])==null?void 0:n.DisplayCurrency)==null?void 0:b.Name]||t[7],minimumFractionDigits:t[4][(A=(w=t[43])==null?void 0:w.DisplayCurrency)==null?void 0:A.Name]||t[7]})+"",H,j,R,F,Z;function G(){return t[25](t[43],t[42])}return{c(){a=e.element("div"),r=e.element("div"),l=e.element("img"),k=e.space(),v=e.element("div"),C=e.element("div"),g=e.element("span"),D=e.text(M),f=e.space(),h=e.element("div"),d=e.element("span"),p=e.text(u),y=e.space(),i=e.element("div"),c=e.element("span"),s=e.element("span"),W=e.text(L),_=e.space(),X=e.text(T),E=e.space(),z=e.element("span"),x=e.text(I),P=e.space(),H=e.text(V),j=e.space(),e.src_url_equal(l.src,o=t[43].LogoUrl)||e.attr(l,"src",o),e.attr(l,"alt",m=t[43].Label),e.attr(r,"class","MethodLogo"),e.attr(C,"class","MethodTitle"),e.attr(h,"class","MethodProcessingTime"),e.attr(c,"class","Limits"),e.attr(i,"class","MethodLimits"),e.attr(v,"class","MethodInfo"),e.attr(a,"class",R=`CarouselCardWrapper ${t[42]===t[6]?"active":""}`)},m(S,N){e.insert(S,a,N),e.append(a,r),e.append(r,l),e.append(a,k),e.append(a,v),e.append(v,C),e.append(C,g),e.append(g,D),e.append(v,f),e.append(v,h),e.append(h,d),e.append(d,p),e.append(v,y),e.append(v,i),e.append(i,c),e.append(c,s),e.append(s,W),e.append(s,_),e.append(s,X),e.append(c,E),e.append(c,z),e.append(z,x),e.append(z,P),e.append(z,H),e.append(a,j),F||(Z=e.listen(a,"click",G),F=!0)},p(S,N){var Y,J,Q,$,ee,te,ae,re;t=S,N[0]&32&&!e.src_url_equal(l.src,o=t[43].LogoUrl)&&e.attr(l,"src",o),N[0]&32&&m!==(m=t[43].Label)&&e.attr(l,"alt",m),N[0]&32&&M!==(M=(t[43].Label||t[43].Name)+"")&&e.set_data(D,M),N[0]&289&&u!==(u=t[8](`${t[0]}${t[43].ProcessingTime}`)+"")&&e.set_data(p,u),N[0]&256&&L!==(L=t[8]("generalMin")+"")&&e.set_data(W,L),N[0]&176&&T!==(T=e.formatCurrency(t[43].DisplayCurrency.MinAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(J=(Y=t[43])==null?void 0:Y.DisplayCurrency)==null?void 0:J.Name]||t[7],minimumFractionDigits:t[4][($=(Q=t[43])==null?void 0:Q.DisplayCurrency)==null?void 0:$.Name]||t[7]})+"")&&e.set_data(X,T),N[0]&256&&I!==(I=t[8]("generalMax")+"")&&e.set_data(x,I),N[0]&176&&V!==(V=e.formatCurrency(t[43].DisplayCurrency.MaxAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(te=(ee=t[43])==null?void 0:ee.DisplayCurrency)==null?void 0:te.Name]||t[7],minimumFractionDigits:t[4][(re=(ae=t[43])==null?void 0:ae.DisplayCurrency)==null?void 0:re.Name]||t[7]})+"")&&e.set_data(H,V),N[0]&64&&R!==(R=`CarouselCardWrapper ${t[42]===t[6]?"active":""}`)&&e.attr(a,"class",R)},d(S){S&&e.detach(a),F=!1,Z()}}}function de(t){let a,r,l;return{c(){a=e.element("div"),a.innerHTML='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>',e.attr(a,"class","NavigationArrow Right")},m(o,m){e.insert(o,a,m),r||(l=e.listen(a,"click",t[27]),r=!0)},p:e.noop,d(o){o&&e.detach(a),r=!1,l()}}}function ue(t){let a,r;return{c(){a=e.element("div"),e.attr(a,"class",r=`Dot ${t[42]===t[6]?"active":""}`)},m(l,o){e.insert(l,a,o)},p(l,o){o[0]&64&&r!==(r=`Dot ${l[42]===l[6]?"active":""}`)&&e.attr(a,"class",r)},d(l){l&&e.detach(a)}}}function ye(t){let a,r,l,o,m=t[8]("carouselTitle")+"",k,v,C,g=t[8]("carouselSubtitle")+"",M,D;function f(u,p){return u[5].length>0?ge:he}let h=f(t),d=h(t);return{c(){a=e.element("div"),r=e.element("div"),l=e.element("div"),o=e.element("h4"),k=e.text(m),v=e.space(),C=e.element("p"),M=e.text(g),D=e.space(),d.c(),e.attr(l,"class","CarouselHeader"),e.attr(r,"class","CashierCarouselWarpper")},m(u,p){e.insert(u,a,p),e.append(a,r),e.append(r,l),e.append(l,o),e.append(o,k),e.append(l,v),e.append(l,C),e.append(C,M),e.append(r,D),d.m(r,null),t[29](a)},p(u,p){p[0]&256&&m!==(m=u[8]("carouselTitle")+"")&&e.set_data(k,m),p[0]&256&&g!==(g=u[8]("carouselSubtitle")+"")&&e.set_data(M,g),h===(h=f(u))&&d?d.p(u,p):(d.d(1),d=h(u),d&&(d.c(),d.m(r,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(a),d.d(),t[29](null)}}}function be(t,a,r){let l,o;e.component_subscribe(t,e.$format,n=>r(8,o=n));let{lang:m="en"}=a,{local:k="en-US"}=a,{currencysymbol:v="true"}=a,{currencyposition:C=""}=a,{currencydecimals:g="0"}=a,{methodtype:M=""}=a,{clientstyling:D=""}=a,{clientstylingurl:f=""}=a,{mbsource:h=""}=a,{translationurl:d=""}=a,u={},p,y,i=[],c=0,s=!0,L=0,W=!1,_,T,X=window.navigator.userAgent;const E=n=>{var w,A;const{data:{type:b}={}}=n||{};switch(b){case"PromotedPaymentMethods":{r(5,i=(w=n==null?void 0:n.data)==null?void 0:w.promotedPaymentMethods),r(6,c=Math.floor((i.length-1)/2));break}case"PrecisionCurrenciesMap":{r(4,u=((A=n==null?void 0:n.data)==null?void 0:A.payload)||{});break}}};Object.keys(ie).forEach(n=>{ne(n,ie[n])});const z=()=>{let n=d;if(n)return fetch(n).then(b=>b.json()).then(b=>{Object.keys(b).forEach(w=>{ne(w,b[w])})}).catch(b=>{console.log(b)})},I=()=>{me(m)},x=(n,b)=>{r(6,c=b),r(2,_.style.transform=P(),_),n.Name,window.postMessage({type:"SelectPayMeth",details:n},window.location.href),dispatchEvent(new CustomEvent("selectPayMeth",{detail:n,bubbles:!0,cancelable:!0,composed:!0}))},P=()=>{if(i.length==1)return"translateX(0px)";const w=78+5,A=w*i.length;let S;i.length%2===1?S=Math.floor(i.length/2):S=Math.floor(i.length/2)-.5;let N=T-A;const Y=S-c;return`translateX(${N/2+Y*w-20}px)`},V=n=>{L=n.touches[0].clientX,W=!0,_.classList.add("dragging")},H=n=>{if(!W)return;const b=n.touches[0].clientX;Math.abs(b-L)>10&&n.preventDefault()},j=n=>{if(!W)return;W=!1,_.classList.remove("dragging");const b=n.changedTouches[0].clientX,w=L-b;Math.abs(w)>50&&(w>0&&c<i.length-1?r(6,c++,c):w<0&&c>0&&r(6,c--,c),r(2,_.style.transform=P(),_))},R=()=>{s&&(r(2,_.style.transform=P(),_),s=!1)},F=n=>{n==="next"&&c<i.length-1?r(6,c++,c):n==="prev"&&c>0&&r(6,c--,c),r(2,_.style.transform=P(),_)};e.onMount(()=>(e.initCurrencyFormatter(k,v,C,g),window.addEventListener("message",E),window.postMessage({type:"CashierCarouselReady"},window.location.href),_&&P(),()=>{window.removeEventListener("message",E)}));const Z=()=>F("prev"),G=(n,b)=>x(n,b);function q(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,r(2,_)})}const U=()=>F("next");function O(){T=this.clientWidth,r(3,T)}function B(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,r(1,p)})}return t.$$set=n=>{"lang"in n&&r(15,m=n.lang),"local"in n&&r(16,k=n.local),"currencysymbol"in n&&r(17,v=n.currencysymbol),"currencyposition"in n&&r(18,C=n.currencyposition),"currencydecimals"in n&&r(19,g=n.currencydecimals),"methodtype"in n&&r(0,M=n.methodtype),"clientstyling"in n&&r(20,D=n.clientstyling),"clientstylingurl"in n&&r(21,f=n.clientstylingurl),"mbsource"in n&&r(22,h=n.mbsource),"translationurl"in n&&r(23,d=n.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&32768&&m&&I(),t.$$.dirty[0]&8421376&&m&&d&&z(),t.$$.dirty[0]&12&&_&&T&&R(),t.$$.dirty[0]&1048578&&D&&p&&K.setClientStyling(p,D),t.$$.dirty[0]&2097154&&f&&p&&K.setClientStylingURL(p,f),t.$$.dirty[0]&4194306&&h&&p&&K.setStreamStyling(p,`${h}.Style`,y),t.$$.dirty[0]&524288&&r(7,l=Number(g))},[M,p,_,T,u,i,c,l,o,X,x,V,H,j,F,m,k,v,C,g,D,f,h,d,Z,G,q,U,O,B]}class pe extends e.SvelteComponent{constructor(a){super(),e.init$1(this,a,be,ye,e.safe_not_equal,{lang:15,local:16,currencysymbol:17,currencyposition:18,currencydecimals:19,methodtype:0,clientstyling:20,clientstylingurl:21,mbsource:22,translationurl:23},fe,[-1,-1])}get lang(){return this.$$.ctx[15]}set lang(a){this.$$set({lang:a}),e.flush()}get local(){return this.$$.ctx[16]}set local(a){this.$$set({local:a}),e.flush()}get currencysymbol(){return this.$$.ctx[17]}set currencysymbol(a){this.$$set({currencysymbol:a}),e.flush()}get currencyposition(){return this.$$.ctx[18]}set currencyposition(a){this.$$set({currencyposition:a}),e.flush()}get currencydecimals(){return this.$$.ctx[19]}set currencydecimals(a){this.$$set({currencydecimals:a}),e.flush()}get methodtype(){return this.$$.ctx[0]}set methodtype(a){this.$$set({methodtype:a}),e.flush()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(pe,{lang:{},local:{},currencysymbol:{},currencyposition:{},currencydecimals:{},methodtype:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=pe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-CakEjHZc.cjs"),K=require("./CashierHeader-BxQ1q53p.cjs");function ne(t,a){e.addMessages(t,a)}function me(t){e.init({fallbackLocale:"en"}),e.$locale.set(t)}const ie={en:{generalMin:"Min",generalMax:"Max",error:"Error",noFavoritePaymentMethods:"No favorite payment methods available",DepositRealTime:"Instant deposit",WithdrawRealTime:"Instant withdrawal",DepositVariable:"Variable",WithdrawVariable:"Variable",carouselTitle:"Favorite Methods",carouselSubtitle:"The most popular payment methods"},tr:{generalMin:"Min",generalMax:"Maks",error:"Hata",noFavoritePaymentMethods:"Favori ödeme yöntemi mevcut değil",DepositRealTime:"Anında para yatırma",WithdrawRealTime:"Anında para çekme",DepositVariable:"Değişken",WithdrawVariable:"Değişken",carouselTitle:"Favori Yöntemler",carouselSubtitle:"En popüler ödeme yöntemleri"},fr:{generalMin:"Min",generalMax:"Max",error:"Erreur",noFavoritePaymentMethods:"Aucun moyen de paiement favori disponible",DepositRealTime:"Dépôt instantané",WithdrawRealTime:"Retrait instantané",DepositVariable:"Variable",WithdrawVariable:"Variable",carouselTitle:"Méthodes favorites",carouselSubtitle:"Les moyens de paiement les plus populaires"}};function fe(t){e.append_styles(t,"svelte-1v34r4p",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281f));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.NavigationArrow{height:220px;z-index:20;display:flex;transition:all 0.3s ease;position:absolute}.NavigationArrow:hover{cursor:pointer}.NavigationArrow:hover svg{opacity:1;transform:scale(1.1);filter:drop-shadow(0 0 0.75rem var(--emw--color-black))}.NavigationArrow svg{opacity:0.6;width:32px;height:32px;align-self:center;fill:var(--emw--color-white);transition:all 0.3s ease}.NavigationArrow.Left{left:0;background:linear-gradient(to right, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.NavigationArrow.Right{right:0;background:linear-gradient(to left, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 35%, transparent 100%)}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.NoFavoritePaymentMethods{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:12px}.CarouselCardsContainer{display:flex;justify-content:space-between;align-items:center;overflow:hidden;position:relative;max-width:100%}.Carousel{display:flex;gap:10px;height:220px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #f9c405);height:10px;width:10px;opacity:0.5;transition:all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);transform:scale(1)}.VisualDotIndicator .Dot.active{opacity:1;width:30px;transform:scale(1);animation:dotPulse 0.6s ease-out}@keyframes dotPulse{0%{transform:scale(0.8);opacity:0.5}50%{transform:scale(1.15)}100%{transform:scale(1);opacity:1}}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:5px;height:115px;width:78px;transition:all 0.3s ease;cursor:pointer;user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.CarouselCardWrapper.active{height:132px;width:100px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #f9c405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281f)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:20px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:var(--emw--font-size-small, 10px);font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #f9c405);font-style:italic;font-size:var(--emw--font-size-x-small, 8px)}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{display:flex;flex-direction:column;max-width:100%;font-size:var(--emw--font-size-x-small, 8px);font-weight:var(--emw--font-weight-normal, 300)}')}function le(t,a,r){const l=t.slice();return l[40]=a[r],l[42]=r,l}function se(t,a,r){const l=t.slice();return l[43]=a[r],l[42]=r,l}function he(t){let a,r=t[8]("noFavoritePaymentMethods")+"",l;return{c(){a=e.element("p"),l=e.text(r),e.attr(a,"class","NoFavoritePaymentMethods")},m(o,m){e.insert(o,a,m),e.append(a,l)},p(o,m){m[0]&256&&r!==(r=o[8]("noFavoritePaymentMethods")+"")&&e.set_data(l,r)},d(o){o&&e.detach(a)}}}function ge(t){let a,r=!e.isMobile(t[9])&&t[5].length>1,l,o,m,k=!e.isMobile(t[9])&&t[5].length>1,v,C,g,M,D,f=r&&oe(t),h=e.ensure_array_like(t[5]),d=[];for(let i=0;i<h.length;i+=1)d[i]=ce(se(t,h,i));let u=k&&de(t),p=e.ensure_array_like(Array(t[5].length)),y=[];for(let i=0;i<p.length;i+=1)y[i]=ue(le(t,p,i));return{c(){a=e.element("div"),f&&f.c(),l=e.space(),o=e.element("div");for(let i=0;i<d.length;i+=1)d[i].c();m=e.space(),u&&u.c(),C=e.space(),g=e.element("div");for(let i=0;i<y.length;i+=1)y[i].c();e.attr(o,"class","Carousel"),e.attr(a,"class","CarouselCardsContainer"),e.add_render_callback(()=>t[28].call(a)),e.attr(g,"class","VisualDotIndicator")},m(i,c){e.insert(i,a,c),f&&f.m(a,null),e.append(a,l),e.append(a,o);for(let s=0;s<d.length;s+=1)d[s]&&d[s].m(o,null);t[26](o),e.append(a,m),u&&u.m(a,null),v=e.add_iframe_resize_listener(a,t[28].bind(a)),e.insert(i,C,c),e.insert(i,g,c);for(let s=0;s<y.length;s+=1)y[s]&&y[s].m(g,null);M||(D=[e.listen(o,"touchstart",t[11]),e.listen(o,"touchmove",t[12]),e.listen(o,"touchend",t[13])],M=!0)},p(i,c){if(c[0]&32&&(r=!e.isMobile(i[9])&&i[5].length>1),r?f?f.p(i,c):(f=oe(i),f.c(),f.m(a,l)):f&&(f.d(1),f=null),c[0]&1521){h=e.ensure_array_like(i[5]);let s;for(s=0;s<h.length;s+=1){const L=se(i,h,s);d[s]?d[s].p(L,c):(d[s]=ce(L),d[s].c(),d[s].m(o,null))}for(;s<d.length;s+=1)d[s].d(1);d.length=h.length}if(c[0]&32&&(k=!e.isMobile(i[9])&&i[5].length>1),k?u?u.p(i,c):(u=de(i),u.c(),u.m(a,null)):u&&(u.d(1),u=null),c[0]&96){p=e.ensure_array_like(Array(i[5].length));let s;for(s=0;s<p.length;s+=1){const L=le(i,p,s);y[s]?y[s].p(L,c):(y[s]=ue(L),y[s].c(),y[s].m(g,null))}for(;s<y.length;s+=1)y[s].d(1);y.length=p.length}},d(i){i&&(e.detach(a),e.detach(C),e.detach(g)),f&&f.d(),e.destroy_each(d,i),t[26](null),u&&u.d(),v(),e.destroy_each(y,i),M=!1,e.run_all(D)}}}function oe(t){let a,r,l;return{c(){a=e.element("div"),a.innerHTML='<svg viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M15.9997 5.33335C21.8907 5.33335 26.6663 10.109 26.6663 16C26.6663 21.8911 21.8907 26.6667 15.9997 26.6667C10.1086 26.6667 5.33301 21.8911 5.33301 16C5.33301 10.109 10.1086 5.33335 15.9997 5.33335ZM29.333 16C29.333 8.63622 23.3635 2.66669 15.9997 2.66669C8.63588 2.66669 2.66634 8.63622 2.66634 16C2.66634 23.3638 8.63588 29.3334 15.9997 29.3334C23.3635 29.3334 29.333 23.3638 29.333 16ZM18.2758 11.0572C17.7551 10.5365 16.9109 10.5365 16.3902 11.0572L12.3902 15.0572C11.8695 15.5779 11.8695 16.4221 12.3902 16.9428L16.3902 20.9428C16.9109 21.4635 17.7551 21.4635 18.2758 20.9428C18.7965 20.4221 18.7965 19.5779 18.2758 19.0572L15.2186 16L18.2758 12.9428C18.7965 12.4221 18.7965 11.5779 18.2758 11.0572Z"></path></svg>',e.attr(a,"class","NavigationArrow Left")},m(o,m){e.insert(o,a,m),r||(l=e.listen(a,"click",t[24]),r=!0)},p:e.noop,d(o){o&&e.detach(a),r=!1,l()}}}function ce(t){var q,U,O,B,n,b,w,A;let a,r,l,o,m,k,v,C,g,M=(t[43].Label||t[43].Name)+"",D,f,h,d,u=t[8](`${t[0]}${t[43].ProcessingTime}`)+"",p,y,i,c,s,L=t[8]("generalMin")+"",W,_,T=e.formatCurrency(t[43].DisplayCurrency.MinAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(U=(q=t[43])==null?void 0:q.DisplayCurrency)==null?void 0:U.Name]||t[7],minimumFractionDigits:t[4][(B=(O=t[43])==null?void 0:O.DisplayCurrency)==null?void 0:B.Name]||t[7]})+"",X,E,z,I=t[8]("generalMax")+"",x,P,V=e.formatCurrency(t[43].DisplayCurrency.MaxAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(b=(n=t[43])==null?void 0:n.DisplayCurrency)==null?void 0:b.Name]||t[7],minimumFractionDigits:t[4][(A=(w=t[43])==null?void 0:w.DisplayCurrency)==null?void 0:A.Name]||t[7]})+"",H,j,R,F,Z;function G(){return t[25](t[43],t[42])}return{c(){a=e.element("div"),r=e.element("div"),l=e.element("img"),k=e.space(),v=e.element("div"),C=e.element("div"),g=e.element("span"),D=e.text(M),f=e.space(),h=e.element("div"),d=e.element("span"),p=e.text(u),y=e.space(),i=e.element("div"),c=e.element("span"),s=e.element("span"),W=e.text(L),_=e.space(),X=e.text(T),E=e.space(),z=e.element("span"),x=e.text(I),P=e.space(),H=e.text(V),j=e.space(),e.src_url_equal(l.src,o=t[43].LogoUrl)||e.attr(l,"src",o),e.attr(l,"alt",m=t[43].Label),e.attr(r,"class","MethodLogo"),e.attr(C,"class","MethodTitle"),e.attr(h,"class","MethodProcessingTime"),e.attr(c,"class","Limits"),e.attr(i,"class","MethodLimits"),e.attr(v,"class","MethodInfo"),e.attr(a,"class",R=`CarouselCardWrapper ${t[42]===t[6]?"active":""}`)},m(S,N){e.insert(S,a,N),e.append(a,r),e.append(r,l),e.append(a,k),e.append(a,v),e.append(v,C),e.append(C,g),e.append(g,D),e.append(v,f),e.append(v,h),e.append(h,d),e.append(d,p),e.append(v,y),e.append(v,i),e.append(i,c),e.append(c,s),e.append(s,W),e.append(s,_),e.append(s,X),e.append(c,E),e.append(c,z),e.append(z,x),e.append(z,P),e.append(z,H),e.append(a,j),F||(Z=e.listen(a,"click",G),F=!0)},p(S,N){var Y,J,Q,$,ee,te,ae,re;t=S,N[0]&32&&!e.src_url_equal(l.src,o=t[43].LogoUrl)&&e.attr(l,"src",o),N[0]&32&&m!==(m=t[43].Label)&&e.attr(l,"alt",m),N[0]&32&&M!==(M=(t[43].Label||t[43].Name)+"")&&e.set_data(D,M),N[0]&289&&u!==(u=t[8](`${t[0]}${t[43].ProcessingTime}`)+"")&&e.set_data(p,u),N[0]&256&&L!==(L=t[8]("generalMin")+"")&&e.set_data(W,L),N[0]&176&&T!==(T=e.formatCurrency(t[43].DisplayCurrency.MinAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(J=(Y=t[43])==null?void 0:Y.DisplayCurrency)==null?void 0:J.Name]||t[7],minimumFractionDigits:t[4][($=(Q=t[43])==null?void 0:Q.DisplayCurrency)==null?void 0:$.Name]||t[7]})+"")&&e.set_data(X,T),N[0]&256&&I!==(I=t[8]("generalMax")+"")&&e.set_data(x,I),N[0]&176&&V!==(V=e.formatCurrency(t[43].DisplayCurrency.MaxAmountLimit,t[43].DisplayCurrency.Name,{maximumFractionDigits:t[4][(te=(ee=t[43])==null?void 0:ee.DisplayCurrency)==null?void 0:te.Name]||t[7],minimumFractionDigits:t[4][(re=(ae=t[43])==null?void 0:ae.DisplayCurrency)==null?void 0:re.Name]||t[7]})+"")&&e.set_data(H,V),N[0]&64&&R!==(R=`CarouselCardWrapper ${t[42]===t[6]?"active":""}`)&&e.attr(a,"class",R)},d(S){S&&e.detach(a),F=!1,Z()}}}function de(t){let a,r,l;return{c(){a=e.element("div"),a.innerHTML='<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.0003 5.33335C10.1093 5.33335 5.33366 10.109 5.33366 16C5.33366 21.8911 10.1093 26.6667 16.0003 26.6667C21.8914 26.6667 26.667 21.8911 26.667 16C26.667 10.109 21.8914 5.33335 16.0003 5.33335ZM2.66699 16C2.66699 8.63622 8.63653 2.66669 16.0003 2.66669C23.3641 2.66669 29.3337 8.63622 29.3337 16C29.3337 23.3638 23.3641 29.3334 16.0003 29.3334C8.63653 29.3334 2.66699 23.3638 2.66699 16ZM13.7242 11.0572C14.2449 10.5365 15.0891 10.5365 15.6098 11.0572L19.6098 15.0572C20.1305 15.5779 20.1305 16.4221 19.6098 16.9428L15.6098 20.9428C15.0891 21.4635 14.2449 21.4635 13.7242 20.9428C13.2035 20.4221 13.2035 19.5779 13.7242 19.0572L16.7814 16L13.7242 12.9428C13.2035 12.4221 13.2035 11.5779 13.7242 11.0572Z"></path></svg>',e.attr(a,"class","NavigationArrow Right")},m(o,m){e.insert(o,a,m),r||(l=e.listen(a,"click",t[27]),r=!0)},p:e.noop,d(o){o&&e.detach(a),r=!1,l()}}}function ue(t){let a,r;return{c(){a=e.element("div"),e.attr(a,"class",r=`Dot ${t[42]===t[6]?"active":""}`)},m(l,o){e.insert(l,a,o)},p(l,o){o[0]&64&&r!==(r=`Dot ${l[42]===l[6]?"active":""}`)&&e.attr(a,"class",r)},d(l){l&&e.detach(a)}}}function ye(t){let a,r,l,o,m=t[8]("carouselTitle")+"",k,v,C,g=t[8]("carouselSubtitle")+"",M,D;function f(u,p){return u[5].length>0?ge:he}let h=f(t),d=h(t);return{c(){a=e.element("div"),r=e.element("div"),l=e.element("div"),o=e.element("h4"),k=e.text(m),v=e.space(),C=e.element("p"),M=e.text(g),D=e.space(),d.c(),e.attr(l,"class","CarouselHeader"),e.attr(r,"class","CashierCarouselWarpper")},m(u,p){e.insert(u,a,p),e.append(a,r),e.append(r,l),e.append(l,o),e.append(o,k),e.append(l,v),e.append(l,C),e.append(C,M),e.append(r,D),d.m(r,null),t[29](a)},p(u,p){p[0]&256&&m!==(m=u[8]("carouselTitle")+"")&&e.set_data(k,m),p[0]&256&&g!==(g=u[8]("carouselSubtitle")+"")&&e.set_data(M,g),h===(h=f(u))&&d?d.p(u,p):(d.d(1),d=h(u),d&&(d.c(),d.m(r,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(a),d.d(),t[29](null)}}}function be(t,a,r){let l,o;e.component_subscribe(t,e.$format,n=>r(8,o=n));let{lang:m="en"}=a,{local:k="en-US"}=a,{currencysymbol:v="true"}=a,{currencyposition:C=""}=a,{currencydecimals:g="0"}=a,{methodtype:M=""}=a,{clientstyling:D=""}=a,{clientstylingurl:f=""}=a,{mbsource:h=""}=a,{translationurl:d=""}=a,u={},p,y,i=[],c=0,s=!0,L=0,W=!1,_,T,X=window.navigator.userAgent;const E=n=>{var w,A;const{data:{type:b}={}}=n||{};switch(b){case"PromotedPaymentMethods":{r(5,i=(w=n==null?void 0:n.data)==null?void 0:w.promotedPaymentMethods),r(6,c=Math.floor((i.length-1)/2));break}case"PrecisionCurrenciesMap":{r(4,u=((A=n==null?void 0:n.data)==null?void 0:A.payload)||{});break}}};Object.keys(ie).forEach(n=>{ne(n,ie[n])});const z=()=>{let n=d;if(n)return fetch(n).then(b=>b.json()).then(b=>{Object.keys(b).forEach(w=>{ne(w,b[w])})}).catch(b=>{console.log(b)})},I=()=>{me(m)},x=(n,b)=>{r(6,c=b),r(2,_.style.transform=P(),_),n.Name,window.postMessage({type:"SelectPayMeth",details:n},window.location.href),dispatchEvent(new CustomEvent("selectPayMeth",{detail:n,bubbles:!0,cancelable:!0,composed:!0}))},P=()=>{if(i.length==1)return"translateX(0px)";const w=78+5,A=w*i.length;let S;i.length%2===1?S=Math.floor(i.length/2):S=Math.floor(i.length/2)-.5;let N=T-A;const Y=S-c;return`translateX(${N/2+Y*w-20}px)`},V=n=>{L=n.touches[0].clientX,W=!0,_.classList.add("dragging")},H=n=>{if(!W)return;const b=n.touches[0].clientX;Math.abs(b-L)>10&&n.preventDefault()},j=n=>{if(!W)return;W=!1,_.classList.remove("dragging");const b=n.changedTouches[0].clientX,w=L-b;Math.abs(w)>50&&(w>0&&c<i.length-1?r(6,c++,c):w<0&&c>0&&r(6,c--,c),r(2,_.style.transform=P(),_))},R=()=>{s&&(r(2,_.style.transform=P(),_),s=!1)},F=n=>{n==="next"&&c<i.length-1?r(6,c++,c):n==="prev"&&c>0&&r(6,c--,c),r(2,_.style.transform=P(),_)};e.onMount(()=>(e.initCurrencyFormatter(k,v,C,g),window.addEventListener("message",E),window.postMessage({type:"CashierCarouselReady"},window.location.href),_&&P(),()=>{window.removeEventListener("message",E)}));const Z=()=>F("prev"),G=(n,b)=>x(n,b);function q(n){e.binding_callbacks[n?"unshift":"push"](()=>{_=n,r(2,_)})}const U=()=>F("next");function O(){T=this.clientWidth,r(3,T)}function B(n){e.binding_callbacks[n?"unshift":"push"](()=>{p=n,r(1,p)})}return t.$$set=n=>{"lang"in n&&r(15,m=n.lang),"local"in n&&r(16,k=n.local),"currencysymbol"in n&&r(17,v=n.currencysymbol),"currencyposition"in n&&r(18,C=n.currencyposition),"currencydecimals"in n&&r(19,g=n.currencydecimals),"methodtype"in n&&r(0,M=n.methodtype),"clientstyling"in n&&r(20,D=n.clientstyling),"clientstylingurl"in n&&r(21,f=n.clientstylingurl),"mbsource"in n&&r(22,h=n.mbsource),"translationurl"in n&&r(23,d=n.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&32768&&m&&I(),t.$$.dirty[0]&8421376&&m&&d&&z(),t.$$.dirty[0]&12&&_&&T&&R(),t.$$.dirty[0]&1048578&&D&&p&&K.setClientStyling(p,D),t.$$.dirty[0]&2097154&&f&&p&&K.setClientStylingURL(p,f),t.$$.dirty[0]&4194306&&h&&p&&K.setStreamStyling(p,`${h}.Style`,y),t.$$.dirty[0]&524288&&r(7,l=Number(g))},[M,p,_,T,u,i,c,l,o,X,x,V,H,j,F,m,k,v,C,g,D,f,h,d,Z,G,q,U,O,B]}class pe extends e.SvelteComponent{constructor(a){super(),e.init$1(this,a,be,ye,e.safe_not_equal,{lang:15,local:16,currencysymbol:17,currencyposition:18,currencydecimals:19,methodtype:0,clientstyling:20,clientstylingurl:21,mbsource:22,translationurl:23},fe,[-1,-1])}get lang(){return this.$$.ctx[15]}set lang(a){this.$$set({lang:a}),e.flush()}get local(){return this.$$.ctx[16]}set local(a){this.$$set({local:a}),e.flush()}get currencysymbol(){return this.$$.ctx[17]}set currencysymbol(a){this.$$set({currencysymbol:a}),e.flush()}get currencyposition(){return this.$$.ctx[18]}set currencyposition(a){this.$$set({currencyposition:a}),e.flush()}get currencydecimals(){return this.$$.ctx[19]}set currencydecimals(a){this.$$set({currencydecimals:a}),e.flush()}get methodtype(){return this.$$.ctx[0]}set methodtype(a){this.$$set({methodtype:a}),e.flush()}get clientstyling(){return this.$$.ctx[20]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[21]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(a){this.$$set({translationurl:a}),e.flush()}}e.create_custom_element(pe,{lang:{},local:{},currencysymbol:{},currencyposition:{},currencydecimals:{},methodtype:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=pe;
@@ -1,5 +1,5 @@
1
- import { a as we, i as Ce, $ as _e, S as Me, b as ke, s as De, f as z, d as Le, z as te, g as I, w as F, l as V, m as c, n as g, x as P, o as W, p, q as Ne, r as Te, y as le, C as Q, D as $, E as ne, F as We, G as Ae, A as B, H as Se, I as ee, J as se, K as ze, c as Fe, B as Pe } from "./CashierPage-C0nhoSpy.js";
2
- import { s as Ie, a as Ve, b as Re } from "./CashierHeader-B-MiUqDu.js";
1
+ import { a as we, i as Ce, $ as _e, S as Me, b as ke, s as De, f as z, d as Le, z as te, g as I, w as F, l as V, m as c, n as g, x as P, o as W, p, q as Ne, r as Te, y as le, C as Q, D as $, E as ne, F as We, G as Ae, A as B, H as Se, I as ee, J as se, K as ze, c as Fe, B as Pe } from "./CashierPage-DkZN1_r2.js";
2
+ import { s as Ie, a as Ve, b as Re } from "./CashierHeader-bC4gKTpf.js";
3
3
  function oe(e, t) {
4
4
  we(e, t);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { a as Ne, i as Te, $ as We, S as Ae, b as Se, s as ze, f as z, c as Fe, y as se, e as V, v as P, k as R, l as c, m as g, w as I, n as A, o as p, p as Pe, q as Ie, x as pe, C as re, D as le, E as ye, F as Ve, G as Re, z as O, H as Xe, I as ne, J as be, K as Ee, A as xe, B as He } from "./CashierPage-fWDW-t7q.js";
2
- import { s as je, a as Ze, b as Ue } from "./CashierHeader-ZdCYbpAD.js";
1
+ import { a as Ne, i as Te, $ as We, S as Ae, b as Se, s as ze, f as z, c as Fe, y as se, e as V, v as P, k as R, l as c, m as g, w as I, n as A, o as p, p as Pe, q as Ie, x as pe, C as re, D as le, E as ye, F as Ve, G as Re, z as O, H as Xe, I as ne, J as be, K as Ee, A as xe, B as He } from "./CashierPage-_9y17laW.js";
2
+ import { s as je, a as Ze, b as Ue } from "./CashierHeader-C8jFHgZh.js";
3
3
  function ve(e, t) {
4
4
  Ne(e, t);
5
5
  }
@@ -1,5 +1,5 @@
1
- import { a as J, i as K, $ as j, S as Y, b as X, s as Q, f as v, c as Z, d as T, e as C, t as L, g as A, u as M, h as I, j as D, k as E, l as b, m as z, n as R, o as x, p as $, q as ee, r as te, v as F, w as G, z as re, x as ie, J as O, O as P, A as ae, B as ne } from "./CashierPage-fWDW-t7q.js";
2
- import { s as oe, a as se, b as le } from "./CashierHeader-ZdCYbpAD.js";
1
+ import { a as J, i as K, $ as j, S as Y, b as X, s as Q, f as v, c as Z, d as T, e as C, t as L, g as A, u as M, h as I, j as D, k as E, l as b, m as z, n as R, o as x, p as $, q as ee, r as te, v as F, w as G, z as re, x as ie, J as O, O as P, A as ae, B as ne } from "./CashierPage-_9y17laW.js";
2
+ import { s as oe, a as se, b as le } from "./CashierHeader-C8jFHgZh.js";
3
3
  import "../stencil/ui-image-CNaRr0ax.js";
4
4
  function V(t, e) {
5
5
  J(t, e);
@@ -1,5 +1,5 @@
1
- import { a as J, i as K, $ as j, S as Y, b as X, s as Q, f as v, d as Z, e as T, g as C, t as L, h as A, u as M, j as I, k as D, l as E, m as b, n as z, o as R, p as x, q as $, r as ee, v as te, w as F, x as G, A as re, y as ie, J as O, O as P, c as ae, B as ne } from "./CashierPage-C0nhoSpy.js";
2
- import { s as oe, a as se, b as le } from "./CashierHeader-B-MiUqDu.js";
1
+ import { a as J, i as K, $ as j, S as Y, b as X, s as Q, f as v, d as Z, e as T, g as C, t as L, h as A, u as M, j as I, k as D, l as E, m as b, n as z, o as R, p as x, q as $, r as ee, v as te, w as F, x as G, A as re, y as ie, J as O, O as P, c as ae, B as ne } from "./CashierPage-DkZN1_r2.js";
2
+ import { s as oe, a as se, b as le } from "./CashierHeader-bC4gKTpf.js";
3
3
  import "../stencil/ui-image-BsYHwNhO.js";
4
4
  function V(t, e) {
5
5
  J(t, e);
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-CnReQV08.cjs"),z=require("./CashierHeader-C34sx3iv.cjs");require("../stencil/ui-image-IJc7Zz_R.cjs");function C(r,t){e.addMessages(r,t)}function P(r){e.init({fallbackLocale:"en"}),e.$locale.set(r)}const E={en:{errorGeneralTitle:"Error Occurred",errorGeneralText:"Something went wrong",errorGeneralButton:"CLOSE",PlayerSessionIsNotValid:"Player session is not valid",VendorCommunicationError:"We apologise, but your payment provider has declined to process due to technical error. Please try later or contact your payment solution provider for further assistance. Error Code 21297",PaymentMethodNotAllowed:"We apologise, but this payment method is unavailable at this time, please contact Customer Support for further assistance. Error Code 11402",InvalidPaymentDetails:"We apologise, but you payment details are not valid. Please make sure you entered all payment details correctly and try again or contact Customer Support for further assistance. Error Code 13555",MerchantUserHasWithdrawBlockRole:"Dear Player! Please be informed that currently you are not allowed to initiate withdrawal transactions from your player account. Error Code: 21122",MerchantUserHasDepositBlockRole:"Dear Player! Please be informed that currently you are not allowed to initiate deposit transactions from your player account. Error Code: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"We apologise, but we cannot process the transaction because you haven't completed KYC. Please verify your identity or contact Customer Support for further assistance. Error Code 23601",InsufficientCasinoFunds:" Your withdrawal is over your available balance. Please check your available balance to adjust your withdrawal amount",DepositWageringLimit:"Attention! Your winnings balance has less than the amount you want to withdraw.",AmountMinLimitExceeded:"Amount is smaller than PaymentMethod minimum limit",AmountMaxLimitExceeded:"Amount is bigger than PaymentMethod maximum limit",AmountIsMissing:"Amount is missing",MaxCustomerTransactionsCountReached:"Looks like you have reached the frequency limit of the transaction attempts per minute. The server is taking too long to respond. Please wait a bit and try again in a while",VendorTimeoutError:"Looks like the payment vendor has some issues. The server is taking too long to respond. Please wait a bit and try again in a while. Error Code 21292",MerchantUserAccountIsInactive:"Declined by merchant user account is inactive",MerchantUserHasDepositDenyRole:"Declined by merchant user has deposit deny role",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Your session has expired. Please try again",TwoFactorAuthRequired:"Two-factor authentication is required",DeclinedByMerchant:"We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",FraudSuspectedError:"We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",OnlyOnePendingTransactionPerUserlsAllowed:"Only one pending transaction per user is allowed",TransactionFrequencyLimitReached:"Transaction frequency limit reached",NotMappedVendorError:"Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider"},tr:{errorGeneralTitle:"Hata oluştu",errorGeneralText:"Bir şeyler ters gitti",errorGeneralButton:"KAPALI",PlayerSessionIsNotValid:"Hesabınızla ilgili oturum geçersiz veya süresi dolmuş görünüyor. Lütfen tekrar giriş yapınız",VendorCommunicationError:"Özür dileriz, ancak ödeme sağlayıcınız teknik hata nedeniyle işlemi yapmayı reddetti. Lütfen daha sonra deneyin veya daha fazla yardım için ödeme çözümü sağlayıcınızla iletişime geçin. Hata Kodu 21297",PaymentMethodNotAllowed:"Özür dileriz, ancak bu ödeme yöntemi şu anda kullanılamıyor. Daha fazla yardım için lütfen Müşteri Desteğiyle iletişime geçin. Hata Kodu 11402",InvalidPaymentDetails:"Özür dileriz, ancak ödeme bilgileriniz geçerli değil. Lütfen tüm ödeme ayrıntılarını doğru girdiğinizden emin olun ve tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 13555",MerchantUserHasWithdrawBlockRole:"Sevgili Oyuncu! Şu anda oyuncu hesabınızdan para çekme işlemi başlatmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21122",MerchantUserHasDepositBlockRole:"Değerli Oyuncumuz, Şu anda hesabınız üzerinden para yatırma işlemi yapmanıza izin verilmemektedir. Hata Kodu: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. ",InsufficientCasinoFunds:"Çekmek istediğiniz tutar, mevcut bakiyenizin üzerindedir. Lütfen çekim tutarınızı belirlemek için bakiyenizi kontrol ediniz",DepositWageringLimit:"Para çekim işleminizi gerçekleştirebilmek için ana para çevriminizi tamamlamanız gerekmektedir. Ana para çevrimi hakkında bilgi almak için sitemiz genel şartlar ve kurallar bölümünü ziyaret edebilir ya da destek kanallarımız üzerinden bilgi alabilirsiniz.",AmountMinLimitExceeded:"Tutar, Ödeme Yöntemi minimum sınırından daha küçük",AmountMaxLimitExceeded:"Tutar, Ödeme Yöntemi maksimum sınırından daha büyük",AmountIsMissing:"Tutar eksik",MaxCustomerTransactionsCountReached:"İşlem denemelerinin sıklık sınırına ulaştınız. Sunucunun yanıt vermesi çok uzun sürüyor. Lütfen biraz bekleyin ve bir süre sonra tekrar deneyin.",VendorTechnicalError:"Özür dileriz, fakat bir teknik hata nedeniyle işleminiz sağlayıcı tarafından reddedildi. Lütfen daha sonra tekrar deneyin veya servis sağlayıcınızla iletişime geçin. Hata kodu 21298",MerchantUserAccountIsInactive:"Tüccar tarafından reddedildi kullanıcı hesabı etkin değil",MerchantUserHasDepositDenyRole:"Sevgili Oyuncu! Şu anda hesabınıza para yatırmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21123",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Beklenmedik bir hata oluştu, lütfen tekrar deneyin.",TwoFactorAuthRequired:"İki faktörlü kimlik doğrulama gereklidi",DeclinedByMerchant:"Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin.",FraudSuspectedError:"Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",OnlyOnePendingTransactionPerUserlsAllowed:"Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",TransactionFrequencyLimitReached:"İşlem sıklığı limiti aşıldı",NotMappedVendorError:"Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin"},fr:{errorGeneralTitle:"Une erreur s’est produite",errorGeneralText:"Une erreur est survenue",errorGeneralButton:"FERMER",PlayerSessionIsNotValid:"La session du joueur n’est pas valide",VendorCommunicationError:"Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter la demande en raison d’une erreur technique. Veuillez réessayer plus tard ou contacter votre prestataire de paiement pour obtenir de l’aide. Code d’erreur 21297",PaymentMethodNotAllowed:"Nous sommes désolés, mais ce moyen de paiement n’est pas disponible pour le moment. Veuillez contacter le service client pour obtenir de l’aide. Code d’erreur 11402",InvalidPaymentDetails:"Nous sommes désolés, mais vos informations de paiement ne sont pas valides. Veuillez vérifier que vous avez correctement saisi toutes les informations de paiement et réessayer, ou contacter le service client pour obtenir de l’aide. Code d’erreur 13555",MerchantUserHasWithdrawBlockRole:"Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de retrait depuis votre compte joueur. Code d’erreur : 21122",MerchantUserHasDepositBlockRole:"Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de dépôt depuis votre compte joueur. Code d’erreur : 21123",JwtTokenError:"IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"Nous sommes désolés, mais nous ne pouvons pas traiter la transaction car vous n’avez pas complété le KYC. Veuillez vérifier votre identité ou contacter le service client pour obtenir de l’aide. Code d’erreur 23601",InsufficientCasinoFunds:"Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",DepositWageringLimit:"Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",AmountMinLimitExceeded:"Le montant est inférieur à la limite minimale du moyen de paiement",AmountMaxLimitExceeded:"Le montant est supérieur à la limite maximale du moyen de paiement",AmountIsMissing:"Le montant est manquant",MaxCustomerTransactionsCountReached:"Il semble que vous ayez atteint la limite de fréquence des tentatives de transaction par minute. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard",VendorTimeoutError:"Il semble que le prestataire de paiement rencontre des problèmes. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard. Code d’erreur 21292",MerchantUserAccountIsInactive:"Refusé : le compte utilisateur marchand est inactif",MerchantUserHasDepositDenyRole:"Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",TransactionCodeIsInvalid:"Le code de transaction n’est pas valide",InvalidSession:"Votre session a expiré. Veuillez réessayer",TwoFactorAuthRequired:"L’authentification à deux facteurs est requise",DeclinedByMerchant:"Nous sommes désolés, mais la transaction a été clôturée par le marchand. Veuillez contacter le service client pour obtenir de l’aide.",FraudSuspectedError:"Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",OnlyOnePendingTransactionPerUserlsAllowed:"Une seule transaction en attente par utilisateur est autorisée",TransactionFrequencyLimitReached:"Limite de fréquence des transactions atteinte",NotMappedVendorError:"Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication"}};function S(r){e.append_styles(r,"svelte-m958fw",".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}")}const R=r=>({}),T=r=>({}),x=r=>({}),L=r=>({}),O=r=>({}),M=r=>({}),V=r=>({}),A=r=>({class:"CashierErrorIcon"});function I(r){let t,i;return{c(){t=e.element("ui-image"),e.src_url_equal(t.src,i=`${r[0]}/error-general-icon.png`)||e.set_custom_element_data(t,"src",i),e.set_custom_element_data(t,"width","300px"),e.set_custom_element_data(t,"alt","error")},m(o,s){e.insert(o,t,s)},p(o,s){s&1&&!e.src_url_equal(t.src,i=`${o[0]}/error-general-icon.png`)&&e.set_custom_element_data(t,"src",i)},d(o){o&&e.detach(t)}}}function B(r){let t,i=r[0]&&I(r);return{c(){i&&i.c(),t=e.empty()},m(o,s){i&&i.m(o,s),e.insert(o,t,s)},p(o,s){o[0]?i?i.p(o,s):(i=I(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(o){o&&e.detach(t),i&&i.d(o)}}}function N(r){let t,i=r[3](`${r[1]||"errorGeneralText"}`)+"",o;return{c(){t=e.element("span"),o=e.text(i),e.attr(t,"class","CashierErrorText")},m(s,f){e.insert(s,t,f),e.append(t,o)},p(s,f){f&10&&i!==(i=s[3](`${s[1]||"errorGeneralText"}`)+"")&&e.set_data(o,i)},d(s){s&&e.detach(t)}}}function q(r){let t,i,o=r[3]("errorGeneralButton")+"",s,f,l;return{c(){t=e.element("button"),i=e.element("span"),s=e.text(o),e.attr(t,"class","CashierErrorButton")},m(d,y){e.insert(d,t,y),e.append(t,i),e.append(i,s),f||(l=e.listen(t,"click",r[4]),f=!0)},p(d,y){y&8&&o!==(o=d[3]("errorGeneralButton")+"")&&e.set_data(s,o)},d(d){d&&e.detach(t),f=!1,l()}}}function W(r){let t,i,o,s,f,l;const d=r[11].icon,y=e.create_slot(d,r,r[10],A),u=y||B(r),g=r[11].title,c=e.create_slot(g,r,r[10],M),_=r[11].text,m=e.create_slot(_,r,r[10],L),h=m||N(r),k=r[11].button,v=e.create_slot(k,r,r[10],T),p=v||q(r);return{c(){t=e.element("div"),i=e.element("div"),u&&u.c(),o=e.space(),c&&c.c(),s=e.space(),h&&h.c(),f=e.space(),p&&p.c(),e.attr(i,"class","CashierErrorContent"),e.attr(t,"class","CashierError")},m(a,n){e.insert(a,t,n),e.append(t,i),u&&u.m(i,null),e.append(i,o),c&&c.m(i,null),e.append(i,s),h&&h.m(i,null),e.append(i,f),p&&p.m(i,null),r[12](t),l=!0},p(a,[n]){y?y.p&&(!l||n&1024)&&e.update_slot_base(y,d,a,a[10],l?e.get_slot_changes(d,a[10],n,V):e.get_all_dirty_from_scope(a[10]),A):u&&u.p&&(!l||n&1)&&u.p(a,l?n:-1),c&&c.p&&(!l||n&1024)&&e.update_slot_base(c,g,a,a[10],l?e.get_slot_changes(g,a[10],n,O):e.get_all_dirty_from_scope(a[10]),M),m?m.p&&(!l||n&1024)&&e.update_slot_base(m,_,a,a[10],l?e.get_slot_changes(_,a[10],n,x):e.get_all_dirty_from_scope(a[10]),L):h&&h.p&&(!l||n&10)&&h.p(a,l?n:-1),v?v.p&&(!l||n&1024)&&e.update_slot_base(v,k,a,a[10],l?e.get_slot_changes(k,a[10],n,R):e.get_all_dirty_from_scope(a[10]),T):p&&p.p&&(!l||n&8)&&p.p(a,l?n:-1)},i(a){l||(e.transition_in(u,a),e.transition_in(c,a),e.transition_in(h,a),e.transition_in(p,a),l=!0)},o(a){e.transition_out(u,a),e.transition_out(c,a),e.transition_out(h,a),e.transition_out(p,a),l=!1},d(a){a&&e.detach(t),u&&u.d(a),c&&c.d(a),h&&h.d(a),p&&p.d(a),r[12](null)}}}function H(r,t,i){let o;e.component_subscribe(r,e.$format,n=>i(3,o=n));let{$$slots:s={},$$scope:f}=t,{assetsurl:l=""}=t,{lang:d="en"}=t,{errorcode:y=""}=t,{clientstyling:u=""}=t,{clientstylingurl:g=""}=t,{translationurl:c=""}=t,{mbsource:_=""}=t,m,h;const k=()=>{P(d)},v=()=>{fetch(c).then(b=>b.json()).then(b=>{Object.keys(b).forEach(w=>{C(w,b[w])})}).catch(b=>{console.error(b)})};Object.keys(E).forEach(n=>{C(n,E[n])});const p=()=>{window.postMessage({type:"ErrorClose"},window.location.href)};e.onMount(()=>()=>{});function a(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,i(2,m)})}return r.$$set=n=>{"assetsurl"in n&&i(0,l=n.assetsurl),"lang"in n&&i(5,d=n.lang),"errorcode"in n&&i(1,y=n.errorcode),"clientstyling"in n&&i(6,u=n.clientstyling),"clientstylingurl"in n&&i(7,g=n.clientstylingurl),"translationurl"in n&&i(8,c=n.translationurl),"mbsource"in n&&i(9,_=n.mbsource),"$$scope"in n&&i(10,f=n.$$scope)},r.$$.update=()=>{r.$$.dirty&32&&d&&k(),r.$$.dirty&68&&u&&m&&z.setClientStyling(m,u),r.$$.dirty&132&&g&&m&&z.setClientStylingURL(m,g),r.$$.dirty&516&&_&&m&&z.setStreamStyling(m,`${_}.Style`,h),r.$$.dirty&256&&c&&v()},[l,y,m,o,p,d,u,g,c,_,f,s,a]}class D extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,H,W,e.safe_not_equal,{assetsurl:0,lang:5,errorcode:1,clientstyling:6,clientstylingurl:7,translationurl:8,mbsource:9},S)}get assetsurl(){return this.$$.ctx[0]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get errorcode(){return this.$$.ctx[1]}set errorcode(t){this.$$set({errorcode:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[8]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(D,{assetsurl:{},lang:{},errorcode:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=D;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-CakEjHZc.cjs"),z=require("./CashierHeader-BxQ1q53p.cjs");require("../stencil/ui-image-IJc7Zz_R.cjs");function C(r,t){e.addMessages(r,t)}function P(r){e.init({fallbackLocale:"en"}),e.$locale.set(r)}const E={en:{errorGeneralTitle:"Error Occurred",errorGeneralText:"Something went wrong",errorGeneralButton:"CLOSE",PlayerSessionIsNotValid:"Player session is not valid",VendorCommunicationError:"We apologise, but your payment provider has declined to process due to technical error. Please try later or contact your payment solution provider for further assistance. Error Code 21297",PaymentMethodNotAllowed:"We apologise, but this payment method is unavailable at this time, please contact Customer Support for further assistance. Error Code 11402",InvalidPaymentDetails:"We apologise, but you payment details are not valid. Please make sure you entered all payment details correctly and try again or contact Customer Support for further assistance. Error Code 13555",MerchantUserHasWithdrawBlockRole:"Dear Player! Please be informed that currently you are not allowed to initiate withdrawal transactions from your player account. Error Code: 21122",MerchantUserHasDepositBlockRole:"Dear Player! Please be informed that currently you are not allowed to initiate deposit transactions from your player account. Error Code: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"We apologise, but we cannot process the transaction because you haven't completed KYC. Please verify your identity or contact Customer Support for further assistance. Error Code 23601",InsufficientCasinoFunds:" Your withdrawal is over your available balance. Please check your available balance to adjust your withdrawal amount",DepositWageringLimit:"Attention! Your winnings balance has less than the amount you want to withdraw.",AmountMinLimitExceeded:"Amount is smaller than PaymentMethod minimum limit",AmountMaxLimitExceeded:"Amount is bigger than PaymentMethod maximum limit",AmountIsMissing:"Amount is missing",MaxCustomerTransactionsCountReached:"Looks like you have reached the frequency limit of the transaction attempts per minute. The server is taking too long to respond. Please wait a bit and try again in a while",VendorTimeoutError:"Looks like the payment vendor has some issues. The server is taking too long to respond. Please wait a bit and try again in a while. Error Code 21292",MerchantUserAccountIsInactive:"Declined by merchant user account is inactive",MerchantUserHasDepositDenyRole:"Declined by merchant user has deposit deny role",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Your session has expired. Please try again",TwoFactorAuthRequired:"Two-factor authentication is required",DeclinedByMerchant:"We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",FraudSuspectedError:"We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",OnlyOnePendingTransactionPerUserlsAllowed:"Only one pending transaction per user is allowed",TransactionFrequencyLimitReached:"Transaction frequency limit reached",NotMappedVendorError:"Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Your balance is insufficient or you may have reached your transaction limit. Please contact your Telecommunication service provider"},tr:{errorGeneralTitle:"Hata oluştu",errorGeneralText:"Bir şeyler ters gitti",errorGeneralButton:"KAPALI",PlayerSessionIsNotValid:"Hesabınızla ilgili oturum geçersiz veya süresi dolmuş görünüyor. Lütfen tekrar giriş yapınız",VendorCommunicationError:"Özür dileriz, ancak ödeme sağlayıcınız teknik hata nedeniyle işlemi yapmayı reddetti. Lütfen daha sonra deneyin veya daha fazla yardım için ödeme çözümü sağlayıcınızla iletişime geçin. Hata Kodu 21297",PaymentMethodNotAllowed:"Özür dileriz, ancak bu ödeme yöntemi şu anda kullanılamıyor. Daha fazla yardım için lütfen Müşteri Desteğiyle iletişime geçin. Hata Kodu 11402",InvalidPaymentDetails:"Özür dileriz, ancak ödeme bilgileriniz geçerli değil. Lütfen tüm ödeme ayrıntılarını doğru girdiğinizden emin olun ve tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 13555",MerchantUserHasWithdrawBlockRole:"Sevgili Oyuncu! Şu anda oyuncu hesabınızdan para çekme işlemi başlatmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21122",MerchantUserHasDepositBlockRole:"Değerli Oyuncumuz, Şu anda hesabınız üzerinden para yatırma işlemi yapmanıza izin verilmemektedir. Hata Kodu: 21123",JwtTokenError:"IDX12741: JWT must have three segments (JWS) or five segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. ",InsufficientCasinoFunds:"Çekmek istediğiniz tutar, mevcut bakiyenizin üzerindedir. Lütfen çekim tutarınızı belirlemek için bakiyenizi kontrol ediniz",DepositWageringLimit:"Para çekim işleminizi gerçekleştirebilmek için ana para çevriminizi tamamlamanız gerekmektedir. Ana para çevrimi hakkında bilgi almak için sitemiz genel şartlar ve kurallar bölümünü ziyaret edebilir ya da destek kanallarımız üzerinden bilgi alabilirsiniz.",AmountMinLimitExceeded:"Tutar, Ödeme Yöntemi minimum sınırından daha küçük",AmountMaxLimitExceeded:"Tutar, Ödeme Yöntemi maksimum sınırından daha büyük",AmountIsMissing:"Tutar eksik",MaxCustomerTransactionsCountReached:"İşlem denemelerinin sıklık sınırına ulaştınız. Sunucunun yanıt vermesi çok uzun sürüyor. Lütfen biraz bekleyin ve bir süre sonra tekrar deneyin.",VendorTechnicalError:"Özür dileriz, fakat bir teknik hata nedeniyle işleminiz sağlayıcı tarafından reddedildi. Lütfen daha sonra tekrar deneyin veya servis sağlayıcınızla iletişime geçin. Hata kodu 21298",MerchantUserAccountIsInactive:"Tüccar tarafından reddedildi kullanıcı hesabı etkin değil",MerchantUserHasDepositDenyRole:"Sevgili Oyuncu! Şu anda hesabınıza para yatırmanıza izin verilmediğini lütfen unutmayın. Hata Kodu: 21123",TransactionCodeIsInvalid:"Transaction code is invalid",InvalidSession:"Beklenmedik bir hata oluştu, lütfen tekrar deneyin.",TwoFactorAuthRequired:"İki faktörlü kimlik doğrulama gereklidi",DeclinedByMerchant:"Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin.",FraudSuspectedError:"Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",OnlyOnePendingTransactionPerUserlsAllowed:"Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",TransactionFrequencyLimitReached:"İşlem sıklığı limiti aşıldı",NotMappedVendorError:"Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Bakiyeniz yetersiz veya işlem limitinize ulaşmış olabilirsiniz. Lütfen Telekom servis sağlayıcınızla iletişime geçin"},fr:{errorGeneralTitle:"Une erreur s’est produite",errorGeneralText:"Une erreur est survenue",errorGeneralButton:"FERMER",PlayerSessionIsNotValid:"La session du joueur n’est pas valide",VendorCommunicationError:"Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter la demande en raison d’une erreur technique. Veuillez réessayer plus tard ou contacter votre prestataire de paiement pour obtenir de l’aide. Code d’erreur 21297",PaymentMethodNotAllowed:"Nous sommes désolés, mais ce moyen de paiement n’est pas disponible pour le moment. Veuillez contacter le service client pour obtenir de l’aide. Code d’erreur 11402",InvalidPaymentDetails:"Nous sommes désolés, mais vos informations de paiement ne sont pas valides. Veuillez vérifier que vous avez correctement saisi toutes les informations de paiement et réessayer, ou contacter le service client pour obtenir de l’aide. Code d’erreur 13555",MerchantUserHasWithdrawBlockRole:"Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de retrait depuis votre compte joueur. Code d’erreur : 21122",MerchantUserHasDepositBlockRole:"Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de dépôt depuis votre compte joueur. Code d’erreur : 21123",JwtTokenError:"IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",TransactionIsBlockedDueToNotCompletedKyc:"Nous sommes désolés, mais nous ne pouvons pas traiter la transaction car vous n’avez pas complété le KYC. Veuillez vérifier votre identité ou contacter le service client pour obtenir de l’aide. Code d’erreur 23601",InsufficientCasinoFunds:"Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",DepositWageringLimit:"Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",AmountMinLimitExceeded:"Le montant est inférieur à la limite minimale du moyen de paiement",AmountMaxLimitExceeded:"Le montant est supérieur à la limite maximale du moyen de paiement",AmountIsMissing:"Le montant est manquant",MaxCustomerTransactionsCountReached:"Il semble que vous ayez atteint la limite de fréquence des tentatives de transaction par minute. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard",VendorTimeoutError:"Il semble que le prestataire de paiement rencontre des problèmes. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard. Code d’erreur 21292",MerchantUserAccountIsInactive:"Refusé : le compte utilisateur marchand est inactif",MerchantUserHasDepositDenyRole:"Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",TransactionCodeIsInvalid:"Le code de transaction n’est pas valide",InvalidSession:"Votre session a expiré. Veuillez réessayer",TwoFactorAuthRequired:"L’authentification à deux facteurs est requise",DeclinedByMerchant:"Nous sommes désolés, mais la transaction a été clôturée par le marchand. Veuillez contacter le service client pour obtenir de l’aide.",FraudSuspectedError:"Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",OnlyOnePendingTransactionPerUserlsAllowed:"Une seule transaction en attente par utilisateur est autorisée",TransactionFrequencyLimitReached:"Limite de fréquence des transactions atteinte",NotMappedVendorError:"Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication",LOW_BALANCE_OR_PAYEE_LIMIT_REACHED_OR_NOT_ALLOWED:"Votre solde est insuffisant ou vous avez peut-être atteint votre limite de transaction. Veuillez contacter votre fournisseur de services de télécommunication"}};function S(r){e.append_styles(r,"svelte-m958fw",".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}")}const R=r=>({}),T=r=>({}),x=r=>({}),L=r=>({}),O=r=>({}),M=r=>({}),V=r=>({}),A=r=>({class:"CashierErrorIcon"});function I(r){let t,i;return{c(){t=e.element("ui-image"),e.src_url_equal(t.src,i=`${r[0]}/error-general-icon.png`)||e.set_custom_element_data(t,"src",i),e.set_custom_element_data(t,"width","300px"),e.set_custom_element_data(t,"alt","error")},m(o,s){e.insert(o,t,s)},p(o,s){s&1&&!e.src_url_equal(t.src,i=`${o[0]}/error-general-icon.png`)&&e.set_custom_element_data(t,"src",i)},d(o){o&&e.detach(t)}}}function B(r){let t,i=r[0]&&I(r);return{c(){i&&i.c(),t=e.empty()},m(o,s){i&&i.m(o,s),e.insert(o,t,s)},p(o,s){o[0]?i?i.p(o,s):(i=I(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null)},d(o){o&&e.detach(t),i&&i.d(o)}}}function N(r){let t,i=r[3](`${r[1]||"errorGeneralText"}`)+"",o;return{c(){t=e.element("span"),o=e.text(i),e.attr(t,"class","CashierErrorText")},m(s,f){e.insert(s,t,f),e.append(t,o)},p(s,f){f&10&&i!==(i=s[3](`${s[1]||"errorGeneralText"}`)+"")&&e.set_data(o,i)},d(s){s&&e.detach(t)}}}function q(r){let t,i,o=r[3]("errorGeneralButton")+"",s,f,l;return{c(){t=e.element("button"),i=e.element("span"),s=e.text(o),e.attr(t,"class","CashierErrorButton")},m(d,y){e.insert(d,t,y),e.append(t,i),e.append(i,s),f||(l=e.listen(t,"click",r[4]),f=!0)},p(d,y){y&8&&o!==(o=d[3]("errorGeneralButton")+"")&&e.set_data(s,o)},d(d){d&&e.detach(t),f=!1,l()}}}function W(r){let t,i,o,s,f,l;const d=r[11].icon,y=e.create_slot(d,r,r[10],A),u=y||B(r),g=r[11].title,c=e.create_slot(g,r,r[10],M),_=r[11].text,m=e.create_slot(_,r,r[10],L),h=m||N(r),k=r[11].button,v=e.create_slot(k,r,r[10],T),p=v||q(r);return{c(){t=e.element("div"),i=e.element("div"),u&&u.c(),o=e.space(),c&&c.c(),s=e.space(),h&&h.c(),f=e.space(),p&&p.c(),e.attr(i,"class","CashierErrorContent"),e.attr(t,"class","CashierError")},m(a,n){e.insert(a,t,n),e.append(t,i),u&&u.m(i,null),e.append(i,o),c&&c.m(i,null),e.append(i,s),h&&h.m(i,null),e.append(i,f),p&&p.m(i,null),r[12](t),l=!0},p(a,[n]){y?y.p&&(!l||n&1024)&&e.update_slot_base(y,d,a,a[10],l?e.get_slot_changes(d,a[10],n,V):e.get_all_dirty_from_scope(a[10]),A):u&&u.p&&(!l||n&1)&&u.p(a,l?n:-1),c&&c.p&&(!l||n&1024)&&e.update_slot_base(c,g,a,a[10],l?e.get_slot_changes(g,a[10],n,O):e.get_all_dirty_from_scope(a[10]),M),m?m.p&&(!l||n&1024)&&e.update_slot_base(m,_,a,a[10],l?e.get_slot_changes(_,a[10],n,x):e.get_all_dirty_from_scope(a[10]),L):h&&h.p&&(!l||n&10)&&h.p(a,l?n:-1),v?v.p&&(!l||n&1024)&&e.update_slot_base(v,k,a,a[10],l?e.get_slot_changes(k,a[10],n,R):e.get_all_dirty_from_scope(a[10]),T):p&&p.p&&(!l||n&8)&&p.p(a,l?n:-1)},i(a){l||(e.transition_in(u,a),e.transition_in(c,a),e.transition_in(h,a),e.transition_in(p,a),l=!0)},o(a){e.transition_out(u,a),e.transition_out(c,a),e.transition_out(h,a),e.transition_out(p,a),l=!1},d(a){a&&e.detach(t),u&&u.d(a),c&&c.d(a),h&&h.d(a),p&&p.d(a),r[12](null)}}}function H(r,t,i){let o;e.component_subscribe(r,e.$format,n=>i(3,o=n));let{$$slots:s={},$$scope:f}=t,{assetsurl:l=""}=t,{lang:d="en"}=t,{errorcode:y=""}=t,{clientstyling:u=""}=t,{clientstylingurl:g=""}=t,{translationurl:c=""}=t,{mbsource:_=""}=t,m,h;const k=()=>{P(d)},v=()=>{fetch(c).then(b=>b.json()).then(b=>{Object.keys(b).forEach(w=>{C(w,b[w])})}).catch(b=>{console.error(b)})};Object.keys(E).forEach(n=>{C(n,E[n])});const p=()=>{window.postMessage({type:"ErrorClose"},window.location.href)};e.onMount(()=>()=>{});function a(n){e.binding_callbacks[n?"unshift":"push"](()=>{m=n,i(2,m)})}return r.$$set=n=>{"assetsurl"in n&&i(0,l=n.assetsurl),"lang"in n&&i(5,d=n.lang),"errorcode"in n&&i(1,y=n.errorcode),"clientstyling"in n&&i(6,u=n.clientstyling),"clientstylingurl"in n&&i(7,g=n.clientstylingurl),"translationurl"in n&&i(8,c=n.translationurl),"mbsource"in n&&i(9,_=n.mbsource),"$$scope"in n&&i(10,f=n.$$scope)},r.$$.update=()=>{r.$$.dirty&32&&d&&k(),r.$$.dirty&68&&u&&m&&z.setClientStyling(m,u),r.$$.dirty&132&&g&&m&&z.setClientStylingURL(m,g),r.$$.dirty&516&&_&&m&&z.setStreamStyling(m,`${_}.Style`,h),r.$$.dirty&256&&c&&v()},[l,y,m,o,p,d,u,g,c,_,f,s,a]}class D extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,H,W,e.safe_not_equal,{assetsurl:0,lang:5,errorcode:1,clientstyling:6,clientstylingurl:7,translationurl:8,mbsource:9},S)}get assetsurl(){return this.$$.ctx[0]}set assetsurl(t){this.$$set({assetsurl:t}),e.flush()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get errorcode(){return this.$$.ctx[1]}set errorcode(t){this.$$set({errorcode:t}),e.flush()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[8]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(D,{assetsurl:{},lang:{},errorcode:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},["icon","title","text","button"],[],!0);exports.default=D;
@@ -1 +1 @@
1
- "use strict";const n=require("./CashierPage-CnReQV08.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=>{var c;if(!s)return;const l=s.getRootNode(),i=window[b];let a=(c=i[t])==null?void 0:c.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-CakEjHZc.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=>{var c;if(!s)return;const l=s.getRootNode(),i=window[b];let a=(c=i[t])==null?void 0:c.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, 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-fWDW-t7q.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-_9y17laW.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, 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-C0nhoSpy.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-DkZN1_r2.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-fWDW-t7q.js";
2
- import { s as Y, a as x, b as $ } from "./CashierHeader-ZdCYbpAD.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-_9y17laW.js";
2
+ import { s as Y, a as x, b as $ } from "./CashierHeader-C8jFHgZh.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-25MWmu9L.js").then(({ default: e }) => {
34
+ customElements.define = i(customElements.define), import("./CashierSpinner-BbaSwjFv.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-C0nhoSpy.js";
2
- import { s as Y, a as x, b as $ } from "./CashierHeader-B-MiUqDu.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-DkZN1_r2.js";
2
+ import { s as Y, a as x, b as $ } from "./CashierHeader-bC4gKTpf.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-Cd-Ze4Dc.js").then(({ default: e }) => {
34
+ customElements.define = i(customElements.define), import("./CashierSpinner-ChSenyaz.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-CnReQV08.cjs"),w=require("./CashierHeader-C34sx3iv.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-B9AvBOzg.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-CakEjHZc.cjs"),w=require("./CashierHeader-BxQ1q53p.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-Csg_EtFh.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;