@everymatrix/cashier-page 1.92.6 → 1.92.8
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.
- package/components/{CashierCarousel-d4mJHQPK.cjs → CashierCarousel-CFDrfBto.cjs} +1 -1
- package/components/{CashierCarousel-BdoLpd1z.js → CashierCarousel-JhSTmzvt.js} +2 -2
- package/components/{CashierCarousel-Dm6pElSH.js → CashierCarousel-PsCjjLe2.js} +2 -2
- package/components/{CashierError-BtTrCYMD.js → CashierError-C854_1dB.js} +85 -81
- package/components/{CashierError-ClqFIkSB.js → CashierError-D638x9x-.js} +87 -83
- package/components/CashierError-zeIQl4g_.cjs +1 -0
- package/components/{CashierHeader-DfirkAcE.cjs → CashierHeader-Bp8vaWrp.cjs} +1 -1
- package/components/{CashierHeader-DyhE3GVl.js → CashierHeader-D-mMGt-Y.js} +1 -1
- package/components/{CashierHeader-DHsztoTw.js → CashierHeader-il09PBLP.js} +1 -1
- package/components/{CashierIframeRedirect-C29ziMhb.js → CashierIframeRedirect-BUcU3T5U.js} +3 -3
- package/components/{CashierIframeRedirect-CuLYG9xr.js → CashierIframeRedirect-BhmYmTKc.js} +3 -3
- package/components/{CashierIframeRedirect-DdRoAy4F.cjs → CashierIframeRedirect-CMcw96Fv.cjs} +1 -1
- package/components/{CashierMethodDetails-OosAoulF.js → CashierMethodDetails-BOhUmKCH.js} +192 -192
- package/components/{CashierMethodDetails-C-jqPR3d.cjs → CashierMethodDetails-DnbNzQW6.cjs} +4 -4
- package/components/{CashierMethodDetails-d_AKmb76.js → CashierMethodDetails-iZTHVxaU.js} +308 -308
- package/components/{CashierMethodsList-DOB0-kD7.js → CashierMethodsList-B97v3Xuh.js} +2 -2
- package/components/{CashierMethodsList-ltdPl32R.cjs → CashierMethodsList-B_9i2Q2s.cjs} +1 -1
- package/components/{CashierMethodsList-DnpK4Uwy.js → CashierMethodsList-eUczF6XC.js} +2 -2
- package/components/{CashierModal-V16Sm2fR.js → CashierModal-BUkNhHpl.js} +2 -2
- package/components/{CashierModal-BSeBmQ-x.js → CashierModal-C4MoXHG7.js} +2 -2
- package/components/{CashierModal-sr6AH-vx.cjs → CashierModal-Dq36GGc7.cjs} +1 -1
- package/components/{CashierNotifications-BAi9kL7b.cjs → CashierNotifications-BB8FN1j_.cjs} +1 -1
- package/components/{CashierNotifications-GUK0apWs.js → CashierNotifications-BatwRhbq.js} +1 -1
- package/components/{CashierNotifications-B_SNlo6O.js → CashierNotifications-C0NjswTn.js} +1 -1
- package/components/{CashierPage-C_5KlMIl.cjs → CashierPage-Cc-WWhS2.cjs} +1 -1
- package/components/{CashierPage-NlISJ9TH.js → CashierPage-DRWrUyaV.js} +10 -10
- package/components/{CashierPage-hl5l0CdL.js → CashierPage-HxKce2E6.js} +10 -10
- package/components/{CashierReceiptPage-DPqBqOKW.js → CashierReceiptPage-2rVfG2fm.js} +3 -3
- package/components/{CashierReceiptPage-w4NT8lar.cjs → CashierReceiptPage-CF7knTfT.cjs} +1 -1
- package/components/{CashierReceiptPage-B232Ocac.js → CashierReceiptPage-CdqmVXe9.js} +3 -3
- package/components/{CashierSessionExpirationModal-C5m2e7d6.js → CashierSessionExpirationModal-0EbJrsdx.js} +2 -2
- package/components/{CashierSessionExpirationModal-Br_JyqWW.js → CashierSessionExpirationModal-CK0YLZbU.js} +2 -2
- package/components/{CashierSessionExpirationModal-DNjbhYll.cjs → CashierSessionExpirationModal-Dht4fdo7.cjs} +1 -1
- package/components/{CashierSpinner-LNPCgyJZ.cjs → CashierSpinner-D78lroyw.cjs} +1 -1
- package/components/{CashierSpinner-CB-KjUUP.js → CashierSpinner-DGz_dycp.js} +2 -2
- package/components/{CashierSpinner-DsxRZA4E.js → CashierSpinner-hEROg29-.js} +2 -2
- package/components/{CashierStepUp-CGYp65k-.js → CashierStepUp-CrJocLXp.js} +2 -2
- package/components/{CashierStepUp-iChAa0q9.cjs → CashierStepUp-Dr4sPwOr.cjs} +1 -1
- package/components/{CashierStepUp-BcUTnl47.js → CashierStepUp-q7iSJelQ.js} +2 -2
- package/components/{CashierTransactionHistory-DRyX1GPJ.js → CashierTransactionHistory-BrgrDNsw.js} +5 -5
- package/components/{CashierTransactionHistory-5geyKx1d.js → CashierTransactionHistory-sGV35WcB.js} +5 -5
- package/components/{CashierTransactionHistory-ILaPNcOG.cjs → CashierTransactionHistory-sQ3KzTVb.cjs} +1 -1
- package/components/{CashierVerifications-CAihnqZi.js → CashierVerifications-DnM9z8za.js} +3 -3
- package/components/{CashierVerifications-DBCw80w7.cjs → CashierVerifications-t7V-5Qq2.cjs} +1 -1
- package/components/{CashierVerifications-BYfuHznq.js → CashierVerifications-yC2Ur1H-.js} +3 -3
- package/components/{TxnStatusIcon-DrUkBxQ5.js → TxnStatusIcon-BduMMfo6.js} +1 -1
- package/components/{TxnStatusIcon-ChE2TlXR.cjs → TxnStatusIcon-DwP4kCaz.cjs} +1 -1
- package/components/{TxnStatusIcon-BeksmDgc.js → TxnStatusIcon-rwPr0B_L.js} +1 -1
- package/components/{TxnTypeIcons--g3GhVFU.js → TxnTypeIcons-ByJ8NlBp.js} +1 -1
- package/components/{TxnTypeIcons-B9SkI86r.js → TxnTypeIcons-DQrCawdt.js} +1 -1
- package/components/{TxnTypeIcons-PxoSWwc7.cjs → TxnTypeIcons-DwmzII52.cjs} +1 -1
- package/es2015/cashier-page.cjs +1 -1
- package/es2015/cashier-page.js +1 -1
- package/esnext/cashier-page.js +1 -1
- package/package.json +1 -1
- package/components/CashierError-CHW8Vrm2.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierPage-C_5KlMIl.cjs"),Q=require("./CashierHeader-DfirkAcE.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 he(t){e.append_styles(t,"svelte-1tnzy1r",'*,*::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%;width:inherit}.Carousel{display:flex;gap:var(--emw-cashier-card-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;z-index:1;padding:5px;height:115px;width:var(--emw-cashier-card-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:var(--emw-cashier-card-width-active, 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[42]=a[r],l[44]=r,l}function se(t,a,r){const l=t.slice();return l[45]=a[r],l[44]=r,l}function fe(t){let a,r=t[9]("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]&512&&r!==(r=o[9]("noFavoritePaymentMethods")+"")&&e.set_data(l,r)},d(o){o&&e.detach(a)}}}function ge(t){let a,r=!e.isMobile(t[10])&&t[5].length>1,l,o,m,D=!e.isMobile(t[10])&&t[5].length>1,_,M,y,k,L,h=r&&oe(t),f=e.ensure_array_like(t[5]),d=[];for(let i=0;i<f.length;i+=1)d[i]=ce(se(t,f,i));let u=D&&de(t),p=e.ensure_array_like(Array(t[5].length)),b=[];for(let i=0;i<p.length;i+=1)b[i]=ue(le(t,p,i));return{c(){a=e.element("div"),h&&h.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(),M=e.space(),y=e.element("div");for(let i=0;i<b.length;i+=1)b[i].c();e.attr(o,"class","Carousel"),e.attr(a,"class","CarouselCardsContainer"),e.add_render_callback(()=>t[30].call(a)),e.attr(y,"class","VisualDotIndicator")},m(i,c){e.insert(i,a,c),h&&h.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[28](o),e.append(a,m),u&&u.m(a,null),_=e.add_iframe_resize_listener(a,t[30].bind(a)),e.insert(i,M,c),e.insert(i,y,c);for(let s=0;s<b.length;s+=1)b[s]&&b[s].m(y,null);k||(L=[e.listen(o,"touchstart",t[12]),e.listen(o,"touchmove",t[13]),e.listen(o,"touchend",t[14])],k=!0)},p(i,c){if(c[0]&32&&(r=!e.isMobile(i[10])&&i[5].length>1),r?h?h.p(i,c):(h=oe(i),h.c(),h.m(a,l)):h&&(h.d(1),h=null),c[0]&3057){f=e.ensure_array_like(i[5]);let s;for(s=0;s<f.length;s+=1){const N=se(i,f,s);d[s]?d[s].p(N,c):(d[s]=ce(N),d[s].c(),d[s].m(o,null))}for(;s<d.length;s+=1)d[s].d(1);d.length=f.length}if(c[0]&32&&(D=!e.isMobile(i[10])&&i[5].length>1),D?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 N=le(i,p,s);b[s]?b[s].p(N,c):(b[s]=ue(N),b[s].c(),b[s].m(y,null))}for(;s<b.length;s+=1)b[s].d(1);b.length=p.length}},d(i){i&&(e.detach(a),e.detach(M),e.detach(y)),h&&h.d(),e.destroy_each(d,i),t[28](null),u&&u.d(),_(),e.destroy_each(b,i),k=!1,e.run_all(L)}}}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[25]),r=!0)},p:e.noop,d(o){o&&e.detach(a),r=!1,l()}}}function ce(t){var j,Z,q,U,O,B,n,g;let a,r,l,o,m,D,_,M,y,k=(t[45].Label||t[45].Name)+"",L,h,f,d,u=t[9](`${t[0]}${t[45].ProcessingTime}`)+"",p,b,i,c,s,N=t[9]("generalMin")+"",W,v,T=e.formatCurrency(t[45].DisplayCurrency.MinAmountLimit,t[45].DisplayCurrency.Name,{maximumFractionDigits:t[4][(Z=(j=t[45])==null?void 0:j.DisplayCurrency)==null?void 0:Z.Name]||t[8],minimumFractionDigits:t[4][(U=(q=t[45])==null?void 0:q.DisplayCurrency)==null?void 0:U.Name]||t[8]})+"",S,x,A,F=t[9]("generalMax")+"",I,R,P=e.formatCurrency(t[45].DisplayCurrency.MaxAmountLimit,t[45].DisplayCurrency.Name,{maximumFractionDigits:t[4][(B=(O=t[45])==null?void 0:O.DisplayCurrency)==null?void 0:B.Name]||t[8],minimumFractionDigits:t[4][(g=(n=t[45])==null?void 0:n.DisplayCurrency)==null?void 0:g.Name]||t[8]})+"",E,H,z,X,V;function J(){return t[26](t[45],t[44])}return{c(){a=e.element("div"),r=e.element("div"),l=e.element("img"),D=e.space(),_=e.element("div"),M=e.element("div"),y=e.element("span"),L=e.text(k),h=e.space(),f=e.element("div"),d=e.element("span"),p=e.text(u),b=e.space(),i=e.element("div"),c=e.element("span"),s=e.element("span"),W=e.text(N),v=e.space(),S=e.text(T),x=e.space(),A=e.element("span"),I=e.text(F),R=e.space(),E=e.text(P),H=e.space(),e.src_url_equal(l.src,o=t[45].LogoUrl)||e.attr(l,"src",o),e.attr(l,"alt",m=t[45].Label),e.attr(r,"class","MethodLogo"),e.attr(M,"class","MethodTitle"),e.attr(f,"class","MethodProcessingTime"),e.attr(c,"class","Limits"),e.attr(i,"class","MethodLimits"),e.attr(_,"class","MethodInfo"),e.attr(a,"class",z=`CarouselCardWrapper ${t[44]===t[6]?"active":""}`)},m(w,C){e.insert(w,a,C),e.append(a,r),e.append(r,l),e.append(a,D),e.append(a,_),e.append(_,M),e.append(M,y),e.append(y,L),e.append(_,h),e.append(_,f),e.append(f,d),e.append(d,p),e.append(_,b),e.append(_,i),e.append(i,c),e.append(c,s),e.append(s,W),e.append(s,v),e.append(s,S),e.append(c,x),e.append(c,A),e.append(A,I),e.append(A,R),e.append(A,E),e.append(a,H),t[27](a),X||(V=e.listen(a,"click",J),X=!0)},p(w,C){var Y,G,K,$,ee,te,ae,re;t=w,C[0]&32&&!e.src_url_equal(l.src,o=t[45].LogoUrl)&&e.attr(l,"src",o),C[0]&32&&m!==(m=t[45].Label)&&e.attr(l,"alt",m),C[0]&32&&k!==(k=(t[45].Label||t[45].Name)+"")&&e.set_data(L,k),C[0]&545&&u!==(u=t[9](`${t[0]}${t[45].ProcessingTime}`)+"")&&e.set_data(p,u),C[0]&512&&N!==(N=t[9]("generalMin")+"")&&e.set_data(W,N),C[0]&304&&T!==(T=e.formatCurrency(t[45].DisplayCurrency.MinAmountLimit,t[45].DisplayCurrency.Name,{maximumFractionDigits:t[4][(G=(Y=t[45])==null?void 0:Y.DisplayCurrency)==null?void 0:G.Name]||t[8],minimumFractionDigits:t[4][($=(K=t[45])==null?void 0:K.DisplayCurrency)==null?void 0:$.Name]||t[8]})+"")&&e.set_data(S,T),C[0]&512&&F!==(F=t[9]("generalMax")+"")&&e.set_data(I,F),C[0]&304&&P!==(P=e.formatCurrency(t[45].DisplayCurrency.MaxAmountLimit,t[45].DisplayCurrency.Name,{maximumFractionDigits:t[4][(te=(ee=t[45])==null?void 0:ee.DisplayCurrency)==null?void 0:te.Name]||t[8],minimumFractionDigits:t[4][(re=(ae=t[45])==null?void 0:ae.DisplayCurrency)==null?void 0:re.Name]||t[8]})+"")&&e.set_data(E,P),C[0]&64&&z!==(z=`CarouselCardWrapper ${t[44]===t[6]?"active":""}`)&&e.attr(a,"class",z)},d(w){w&&e.detach(a),t[27](null),X=!1,V()}}}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[29]),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[44]===t[6]?"active":""}`)},m(l,o){e.insert(l,a,o)},p(l,o){o[0]&64&&r!==(r=`Dot ${l[44]===l[6]?"active":""}`)&&e.attr(a,"class",r)},d(l){l&&e.detach(a)}}}function ye(t){let a,r,l,o,m=t[9]("carouselTitle")+"",D,_,M,y=t[9]("carouselSubtitle")+"",k,L;function h(u,p){return u[5].length>0?ge:fe}let f=h(t),d=f(t);return{c(){a=e.element("div"),r=e.element("div"),l=e.element("div"),o=e.element("h4"),D=e.text(m),_=e.space(),M=e.element("p"),k=e.text(y),L=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,D),e.append(l,_),e.append(l,M),e.append(M,k),e.append(r,L),d.m(r,null),t[31](a)},p(u,p){p[0]&512&&m!==(m=u[9]("carouselTitle")+"")&&e.set_data(D,m),p[0]&512&&y!==(y=u[9]("carouselSubtitle")+"")&&e.set_data(k,y),f===(f=h(u))&&d?d.p(u,p):(d.d(1),d=f(u),d&&(d.c(),d.m(r,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(a),d.d(),t[31](null)}}}function be(t,a,r){let l,o;e.component_subscribe(t,e.$format,n=>r(9,o=n));let{lang:m="en"}=a,{local:D="en-US"}=a,{currencysymbol:_="true"}=a,{currencyposition:M=""}=a,{currencydecimals:y="0"}=a,{methodtype:k=""}=a,{clientstyling:L=""}=a,{clientstylingurl:h=""}=a,{mbsource:f=""}=a,{translationurl:d=""}=a,u={},p,b,i=[],c=0,s=!0,N=0,W=!1,v,T,S,x=window.navigator.userAgent;const A=n=>{var w,C;const{data:{type:g}={}}=n||{};switch(g){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=((C=n==null?void 0:n.data)==null?void 0:C.payload)||{});break}}};Object.keys(ie).forEach(n=>{ne(n,ie[n])});const F=()=>{let n=d;if(n)return fetch(n).then(g=>g.json()).then(g=>{Object.keys(g).forEach(w=>{ne(w,g[w])})}).catch(g=>{console.log(g)})},I=()=>{me(m)},R=(n,g)=>{r(6,c=g),r(2,v.style.transform=P(),v),n.Name,window.postMessage({type:"SelectPayMeth",details:n},window.location.href),dispatchEvent(new CustomEvent("selectPayMeth",{detail:n,bubbles:!0,cancelable:!0,composed:!0}))},P=()=>{const n=parseFloat(getComputedStyle(S).getPropertyValue("--emw-cashier-card-width"))||78,g=parseFloat(getComputedStyle(v).getPropertyValue("--emw-cashier-card-gap"))||10,w=parseFloat(getComputedStyle(S).getPropertyValue("--emw-cashier-card-width-active"))||100,C=n+g,Y=T/2,G=c*C+w/2;return`translateX(${Y-G}px)`},E=n=>{N=n.touches[0].clientX,W=!0,v.classList.add("dragging")},H=n=>{if(!W)return;const g=n.touches[0].clientX;Math.abs(g-N)>10&&n.preventDefault()},z=n=>{if(!W)return;W=!1,v.classList.remove("dragging");const g=n.changedTouches[0].clientX,w=N-g;Math.abs(w)>50&&(w>0&&c<i.length-1?r(6,c++,c):w<0&&c>0&&r(6,c--,c),r(2,v.style.transform=P(),v))},X=()=>{s&&(r(2,v.style.transform=P(),v),s=!1)},V=n=>{n==="next"&&c<i.length-1?r(6,c++,c):n==="prev"&&c>0&&r(6,c--,c),r(2,v.style.transform=P(),v)};e.onMount(()=>(e.initCurrencyFormatter(D,_,M,y),window.addEventListener("message",A),window.postMessage({type:"CashierCarouselReady"},window.location.href),v&&P(),()=>{window.removeEventListener("message",A)}));const J=()=>V("prev"),j=(n,g)=>R(n,g);function Z(n){e.binding_callbacks[n?"unshift":"push"](()=>{S=n,r(7,S)})}function q(n){e.binding_callbacks[n?"unshift":"push"](()=>{v=n,r(2,v)})}const U=()=>V("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(16,m=n.lang),"local"in n&&r(17,D=n.local),"currencysymbol"in n&&r(18,_=n.currencysymbol),"currencyposition"in n&&r(19,M=n.currencyposition),"currencydecimals"in n&&r(20,y=n.currencydecimals),"methodtype"in n&&r(0,k=n.methodtype),"clientstyling"in n&&r(21,L=n.clientstyling),"clientstylingurl"in n&&r(22,h=n.clientstylingurl),"mbsource"in n&&r(23,f=n.mbsource),"translationurl"in n&&r(24,d=n.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&65536&&m&&I(),t.$$.dirty[0]&16842752&&m&&d&&F(),t.$$.dirty[0]&12&&v&&T&&X(),t.$$.dirty[0]&2097154&&L&&p&&Q.setClientStyling(p,L),t.$$.dirty[0]&4194306&&h&&p&&Q.setClientStylingURL(p,h),t.$$.dirty[0]&8388610&&f&&p&&Q.setStreamStyling(p,`${f}.Style`,b),t.$$.dirty[0]&1048576&&r(8,l=Number(y))},[k,p,v,T,u,i,c,S,l,o,x,R,E,H,z,V,m,D,_,M,y,L,h,f,d,J,j,Z,q,U,O,B]}class pe extends e.SvelteComponent{constructor(a){super(),e.init$1(this,a,be,ye,e.safe_not_equal,{lang:16,local:17,currencysymbol:18,currencyposition:19,currencydecimals:20,methodtype:0,clientstyling:21,clientstylingurl:22,mbsource:23,translationurl:24},he,[-1,-1])}get lang(){return this.$$.ctx[16]}set lang(a){this.$$set({lang:a}),e.flush()}get local(){return this.$$.ctx[17]}set local(a){this.$$set({local:a}),e.flush()}get currencysymbol(){return this.$$.ctx[18]}set currencysymbol(a){this.$$set({currencysymbol:a}),e.flush()}get currencyposition(){return this.$$.ctx[19]}set currencyposition(a){this.$$set({currencyposition:a}),e.flush()}get currencydecimals(){return this.$$.ctx[20]}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[21]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get mbsource(){return this.$$.ctx[23]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get translationurl(){return this.$$.ctx[24]}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-Cc-WWhS2.cjs"),Q=require("./CashierHeader-Bp8vaWrp.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 he(t){e.append_styles(t,"svelte-1tnzy1r",'*,*::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%;width:inherit}.Carousel{display:flex;gap:var(--emw-cashier-card-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;z-index:1;padding:5px;height:115px;width:var(--emw-cashier-card-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:var(--emw-cashier-card-width-active, 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[42]=a[r],l[44]=r,l}function se(t,a,r){const l=t.slice();return l[45]=a[r],l[44]=r,l}function fe(t){let a,r=t[9]("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]&512&&r!==(r=o[9]("noFavoritePaymentMethods")+"")&&e.set_data(l,r)},d(o){o&&e.detach(a)}}}function ge(t){let a,r=!e.isMobile(t[10])&&t[5].length>1,l,o,m,D=!e.isMobile(t[10])&&t[5].length>1,_,M,y,k,L,h=r&&oe(t),f=e.ensure_array_like(t[5]),d=[];for(let i=0;i<f.length;i+=1)d[i]=ce(se(t,f,i));let u=D&&de(t),p=e.ensure_array_like(Array(t[5].length)),b=[];for(let i=0;i<p.length;i+=1)b[i]=ue(le(t,p,i));return{c(){a=e.element("div"),h&&h.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(),M=e.space(),y=e.element("div");for(let i=0;i<b.length;i+=1)b[i].c();e.attr(o,"class","Carousel"),e.attr(a,"class","CarouselCardsContainer"),e.add_render_callback(()=>t[30].call(a)),e.attr(y,"class","VisualDotIndicator")},m(i,c){e.insert(i,a,c),h&&h.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[28](o),e.append(a,m),u&&u.m(a,null),_=e.add_iframe_resize_listener(a,t[30].bind(a)),e.insert(i,M,c),e.insert(i,y,c);for(let s=0;s<b.length;s+=1)b[s]&&b[s].m(y,null);k||(L=[e.listen(o,"touchstart",t[12]),e.listen(o,"touchmove",t[13]),e.listen(o,"touchend",t[14])],k=!0)},p(i,c){if(c[0]&32&&(r=!e.isMobile(i[10])&&i[5].length>1),r?h?h.p(i,c):(h=oe(i),h.c(),h.m(a,l)):h&&(h.d(1),h=null),c[0]&3057){f=e.ensure_array_like(i[5]);let s;for(s=0;s<f.length;s+=1){const N=se(i,f,s);d[s]?d[s].p(N,c):(d[s]=ce(N),d[s].c(),d[s].m(o,null))}for(;s<d.length;s+=1)d[s].d(1);d.length=f.length}if(c[0]&32&&(D=!e.isMobile(i[10])&&i[5].length>1),D?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 N=le(i,p,s);b[s]?b[s].p(N,c):(b[s]=ue(N),b[s].c(),b[s].m(y,null))}for(;s<b.length;s+=1)b[s].d(1);b.length=p.length}},d(i){i&&(e.detach(a),e.detach(M),e.detach(y)),h&&h.d(),e.destroy_each(d,i),t[28](null),u&&u.d(),_(),e.destroy_each(b,i),k=!1,e.run_all(L)}}}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[25]),r=!0)},p:e.noop,d(o){o&&e.detach(a),r=!1,l()}}}function ce(t){var j,Z,q,U,O,B,n,g;let a,r,l,o,m,D,_,M,y,k=(t[45].Label||t[45].Name)+"",L,h,f,d,u=t[9](`${t[0]}${t[45].ProcessingTime}`)+"",p,b,i,c,s,N=t[9]("generalMin")+"",W,v,T=e.formatCurrency(t[45].DisplayCurrency.MinAmountLimit,t[45].DisplayCurrency.Name,{maximumFractionDigits:t[4][(Z=(j=t[45])==null?void 0:j.DisplayCurrency)==null?void 0:Z.Name]||t[8],minimumFractionDigits:t[4][(U=(q=t[45])==null?void 0:q.DisplayCurrency)==null?void 0:U.Name]||t[8]})+"",S,x,A,F=t[9]("generalMax")+"",I,R,P=e.formatCurrency(t[45].DisplayCurrency.MaxAmountLimit,t[45].DisplayCurrency.Name,{maximumFractionDigits:t[4][(B=(O=t[45])==null?void 0:O.DisplayCurrency)==null?void 0:B.Name]||t[8],minimumFractionDigits:t[4][(g=(n=t[45])==null?void 0:n.DisplayCurrency)==null?void 0:g.Name]||t[8]})+"",E,H,z,X,V;function J(){return t[26](t[45],t[44])}return{c(){a=e.element("div"),r=e.element("div"),l=e.element("img"),D=e.space(),_=e.element("div"),M=e.element("div"),y=e.element("span"),L=e.text(k),h=e.space(),f=e.element("div"),d=e.element("span"),p=e.text(u),b=e.space(),i=e.element("div"),c=e.element("span"),s=e.element("span"),W=e.text(N),v=e.space(),S=e.text(T),x=e.space(),A=e.element("span"),I=e.text(F),R=e.space(),E=e.text(P),H=e.space(),e.src_url_equal(l.src,o=t[45].LogoUrl)||e.attr(l,"src",o),e.attr(l,"alt",m=t[45].Label),e.attr(r,"class","MethodLogo"),e.attr(M,"class","MethodTitle"),e.attr(f,"class","MethodProcessingTime"),e.attr(c,"class","Limits"),e.attr(i,"class","MethodLimits"),e.attr(_,"class","MethodInfo"),e.attr(a,"class",z=`CarouselCardWrapper ${t[44]===t[6]?"active":""}`)},m(w,C){e.insert(w,a,C),e.append(a,r),e.append(r,l),e.append(a,D),e.append(a,_),e.append(_,M),e.append(M,y),e.append(y,L),e.append(_,h),e.append(_,f),e.append(f,d),e.append(d,p),e.append(_,b),e.append(_,i),e.append(i,c),e.append(c,s),e.append(s,W),e.append(s,v),e.append(s,S),e.append(c,x),e.append(c,A),e.append(A,I),e.append(A,R),e.append(A,E),e.append(a,H),t[27](a),X||(V=e.listen(a,"click",J),X=!0)},p(w,C){var Y,G,K,$,ee,te,ae,re;t=w,C[0]&32&&!e.src_url_equal(l.src,o=t[45].LogoUrl)&&e.attr(l,"src",o),C[0]&32&&m!==(m=t[45].Label)&&e.attr(l,"alt",m),C[0]&32&&k!==(k=(t[45].Label||t[45].Name)+"")&&e.set_data(L,k),C[0]&545&&u!==(u=t[9](`${t[0]}${t[45].ProcessingTime}`)+"")&&e.set_data(p,u),C[0]&512&&N!==(N=t[9]("generalMin")+"")&&e.set_data(W,N),C[0]&304&&T!==(T=e.formatCurrency(t[45].DisplayCurrency.MinAmountLimit,t[45].DisplayCurrency.Name,{maximumFractionDigits:t[4][(G=(Y=t[45])==null?void 0:Y.DisplayCurrency)==null?void 0:G.Name]||t[8],minimumFractionDigits:t[4][($=(K=t[45])==null?void 0:K.DisplayCurrency)==null?void 0:$.Name]||t[8]})+"")&&e.set_data(S,T),C[0]&512&&F!==(F=t[9]("generalMax")+"")&&e.set_data(I,F),C[0]&304&&P!==(P=e.formatCurrency(t[45].DisplayCurrency.MaxAmountLimit,t[45].DisplayCurrency.Name,{maximumFractionDigits:t[4][(te=(ee=t[45])==null?void 0:ee.DisplayCurrency)==null?void 0:te.Name]||t[8],minimumFractionDigits:t[4][(re=(ae=t[45])==null?void 0:ae.DisplayCurrency)==null?void 0:re.Name]||t[8]})+"")&&e.set_data(E,P),C[0]&64&&z!==(z=`CarouselCardWrapper ${t[44]===t[6]?"active":""}`)&&e.attr(a,"class",z)},d(w){w&&e.detach(a),t[27](null),X=!1,V()}}}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[29]),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[44]===t[6]?"active":""}`)},m(l,o){e.insert(l,a,o)},p(l,o){o[0]&64&&r!==(r=`Dot ${l[44]===l[6]?"active":""}`)&&e.attr(a,"class",r)},d(l){l&&e.detach(a)}}}function ye(t){let a,r,l,o,m=t[9]("carouselTitle")+"",D,_,M,y=t[9]("carouselSubtitle")+"",k,L;function h(u,p){return u[5].length>0?ge:fe}let f=h(t),d=f(t);return{c(){a=e.element("div"),r=e.element("div"),l=e.element("div"),o=e.element("h4"),D=e.text(m),_=e.space(),M=e.element("p"),k=e.text(y),L=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,D),e.append(l,_),e.append(l,M),e.append(M,k),e.append(r,L),d.m(r,null),t[31](a)},p(u,p){p[0]&512&&m!==(m=u[9]("carouselTitle")+"")&&e.set_data(D,m),p[0]&512&&y!==(y=u[9]("carouselSubtitle")+"")&&e.set_data(k,y),f===(f=h(u))&&d?d.p(u,p):(d.d(1),d=f(u),d&&(d.c(),d.m(r,null)))},i:e.noop,o:e.noop,d(u){u&&e.detach(a),d.d(),t[31](null)}}}function be(t,a,r){let l,o;e.component_subscribe(t,e.$format,n=>r(9,o=n));let{lang:m="en"}=a,{local:D="en-US"}=a,{currencysymbol:_="true"}=a,{currencyposition:M=""}=a,{currencydecimals:y="0"}=a,{methodtype:k=""}=a,{clientstyling:L=""}=a,{clientstylingurl:h=""}=a,{mbsource:f=""}=a,{translationurl:d=""}=a,u={},p,b,i=[],c=0,s=!0,N=0,W=!1,v,T,S,x=window.navigator.userAgent;const A=n=>{var w,C;const{data:{type:g}={}}=n||{};switch(g){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=((C=n==null?void 0:n.data)==null?void 0:C.payload)||{});break}}};Object.keys(ie).forEach(n=>{ne(n,ie[n])});const F=()=>{let n=d;if(n)return fetch(n).then(g=>g.json()).then(g=>{Object.keys(g).forEach(w=>{ne(w,g[w])})}).catch(g=>{console.log(g)})},I=()=>{me(m)},R=(n,g)=>{r(6,c=g),r(2,v.style.transform=P(),v),n.Name,window.postMessage({type:"SelectPayMeth",details:n},window.location.href),dispatchEvent(new CustomEvent("selectPayMeth",{detail:n,bubbles:!0,cancelable:!0,composed:!0}))},P=()=>{const n=parseFloat(getComputedStyle(S).getPropertyValue("--emw-cashier-card-width"))||78,g=parseFloat(getComputedStyle(v).getPropertyValue("--emw-cashier-card-gap"))||10,w=parseFloat(getComputedStyle(S).getPropertyValue("--emw-cashier-card-width-active"))||100,C=n+g,Y=T/2,G=c*C+w/2;return`translateX(${Y-G}px)`},E=n=>{N=n.touches[0].clientX,W=!0,v.classList.add("dragging")},H=n=>{if(!W)return;const g=n.touches[0].clientX;Math.abs(g-N)>10&&n.preventDefault()},z=n=>{if(!W)return;W=!1,v.classList.remove("dragging");const g=n.changedTouches[0].clientX,w=N-g;Math.abs(w)>50&&(w>0&&c<i.length-1?r(6,c++,c):w<0&&c>0&&r(6,c--,c),r(2,v.style.transform=P(),v))},X=()=>{s&&(r(2,v.style.transform=P(),v),s=!1)},V=n=>{n==="next"&&c<i.length-1?r(6,c++,c):n==="prev"&&c>0&&r(6,c--,c),r(2,v.style.transform=P(),v)};e.onMount(()=>(e.initCurrencyFormatter(D,_,M,y),window.addEventListener("message",A),window.postMessage({type:"CashierCarouselReady"},window.location.href),v&&P(),()=>{window.removeEventListener("message",A)}));const J=()=>V("prev"),j=(n,g)=>R(n,g);function Z(n){e.binding_callbacks[n?"unshift":"push"](()=>{S=n,r(7,S)})}function q(n){e.binding_callbacks[n?"unshift":"push"](()=>{v=n,r(2,v)})}const U=()=>V("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(16,m=n.lang),"local"in n&&r(17,D=n.local),"currencysymbol"in n&&r(18,_=n.currencysymbol),"currencyposition"in n&&r(19,M=n.currencyposition),"currencydecimals"in n&&r(20,y=n.currencydecimals),"methodtype"in n&&r(0,k=n.methodtype),"clientstyling"in n&&r(21,L=n.clientstyling),"clientstylingurl"in n&&r(22,h=n.clientstylingurl),"mbsource"in n&&r(23,f=n.mbsource),"translationurl"in n&&r(24,d=n.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&65536&&m&&I(),t.$$.dirty[0]&16842752&&m&&d&&F(),t.$$.dirty[0]&12&&v&&T&&X(),t.$$.dirty[0]&2097154&&L&&p&&Q.setClientStyling(p,L),t.$$.dirty[0]&4194306&&h&&p&&Q.setClientStylingURL(p,h),t.$$.dirty[0]&8388610&&f&&p&&Q.setStreamStyling(p,`${f}.Style`,b),t.$$.dirty[0]&1048576&&r(8,l=Number(y))},[k,p,v,T,u,i,c,S,l,o,x,R,E,H,z,V,m,D,_,M,y,L,h,f,d,J,j,Z,q,U,O,B]}class pe extends e.SvelteComponent{constructor(a){super(),e.init$1(this,a,be,ye,e.safe_not_equal,{lang:16,local:17,currencysymbol:18,currencyposition:19,currencydecimals:20,methodtype:0,clientstyling:21,clientstylingurl:22,mbsource:23,translationurl:24},he,[-1,-1])}get lang(){return this.$$.ctx[16]}set lang(a){this.$$set({lang:a}),e.flush()}get local(){return this.$$.ctx[17]}set local(a){this.$$set({local:a}),e.flush()}get currencysymbol(){return this.$$.ctx[18]}set currencysymbol(a){this.$$set({currencysymbol:a}),e.flush()}get currencyposition(){return this.$$.ctx[19]}set currencyposition(a){this.$$set({currencyposition:a}),e.flush()}get currencydecimals(){return this.$$.ctx[20]}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[21]}set clientstyling(a){this.$$set({clientstyling:a}),e.flush()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(a){this.$$set({clientstylingurl:a}),e.flush()}get mbsource(){return this.$$.ctx[23]}set mbsource(a){this.$$set({mbsource:a}),e.flush()}get translationurl(){return this.$$.ctx[24]}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 Ce, i as _e, $ as Me, S as ke, b as De, s as Le, f as A, d as Ne, z as te, g as R, w as I, l as E, m as c, n as g, x as V, o as S, p, q as Te, r as Se, y as re, C as Q, D as $, E as le, F as Pe, G as We, A as q, H as Ae, I as ee, J as ne, K as Fe, c as ze, B as Ie } from "./CashierPage-
|
|
2
|
-
import { s as Ve, a as Re, b as Ee } from "./CashierHeader-
|
|
1
|
+
import { a as Ce, i as _e, $ as Me, S as ke, b as De, s as Le, f as A, d as Ne, z as te, g as R, w as I, l as E, m as c, n as g, x as V, o as S, p, q as Te, r as Se, y as re, C as Q, D as $, E as le, F as Pe, G as We, A as q, H as Ae, I as ee, J as ne, K as Fe, c as ze, B as Ie } from "./CashierPage-DRWrUyaV.js";
|
|
2
|
+
import { s as Ve, a as Re, b as Ee } from "./CashierHeader-il09PBLP.js";
|
|
3
3
|
function se(e, t) {
|
|
4
4
|
Ce(e, t);
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Ne, i as Te, $ as Se, S as Pe, b as We, s as Ae, f as F, c as Fe, y as oe, e as R, v as I, k as E, l as c, m as g, w as V, n as P, o as p, p as ze, q as Ie, x as de, C as le, D as ne, E as ye, F as Ve, G as Re, z as x, H as Ee, I as se, J as ve, K as Xe, A as He, B as je } from "./CashierPage-
|
|
2
|
-
import { s as Ze, a as Ue, b as xe } from "./CashierHeader-
|
|
1
|
+
import { a as Ne, i as Te, $ as Se, S as Pe, b as We, s as Ae, f as F, c as Fe, y as oe, e as R, v as I, k as E, l as c, m as g, w as V, n as P, o as p, p as ze, q as Ie, x as de, C as le, D as ne, E as ye, F as Ve, G as Re, z as x, H as Ee, I as se, J as ve, K as Xe, A as He, B as je } from "./CashierPage-HxKce2E6.js";
|
|
2
|
+
import { s as Ze, a as Ue, b as xe } from "./CashierHeader-D-mMGt-Y.js";
|
|
3
3
|
function be(e, t) {
|
|
4
4
|
Ne(e, t);
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as $, i as ee, $ as te, S as ie, b as ne, s as ae, f as
|
|
2
|
-
import { s as me, a as fe, b as pe } from "./CashierHeader-
|
|
1
|
+
import { a as $, i as ee, $ as te, S as ie, b as ne, s as ae, f as E, d as re, e as M, g as h, t as A, h as P, u as W, j as x, k as O, l as v, m as b, n as k, o as L, p as T, q as oe, r as se, v as S, w as D, x as I, A as le, y as ue, J as R, O as V, c as de, B as ce } from "./CashierPage-DRWrUyaV.js";
|
|
2
|
+
import { s as me, a as fe, b as pe } from "./CashierHeader-il09PBLP.js";
|
|
3
3
|
import "../stencil/ui-image-BsYHwNhO.js";
|
|
4
4
|
function N(i, e) {
|
|
5
5
|
$(i, e);
|
|
@@ -56,7 +56,9 @@ const q = {
|
|
|
56
56
|
CommunicationTimeoutError: "Communication timeout",
|
|
57
57
|
MissingPaymentDetails: "Missing payment details",
|
|
58
58
|
InvalidAccount: "Invalid account",
|
|
59
|
-
DuplicatePaymentAccount: "The account you used to request a withdrawal has been deemed suspicious, and your transaction has been canceled for security reasons. Please contact our live support for more details."
|
|
59
|
+
DuplicatePaymentAccount: "The account you used to request a withdrawal has been deemed suspicious, and your transaction has been canceled for security reasons. Please contact our live support for more details.",
|
|
60
|
+
InvalidCardHolder: "Invalid card holder",
|
|
61
|
+
VendorInvalidCard: "Vendor invalid card"
|
|
60
62
|
},
|
|
61
63
|
tr: {
|
|
62
64
|
VendorMicroserviceCommunicationError: "Özür dileriz, ancak ödeme sağlayıcınız bir mikroservis iletişim hatası nedeniyle işlemi gerçekleştiremedi. Lütfen daha sonra tekrar deneyin.",
|
|
@@ -105,7 +107,9 @@ const q = {
|
|
|
105
107
|
CommunicationTimeoutError: "İletişim zaman aşımı",
|
|
106
108
|
MissingPaymentDetails: "Eksik ödeme bilgileri",
|
|
107
109
|
InvalidAccount: "Geçersiz hesap",
|
|
108
|
-
DuplicatePaymentAccount: "Çekim talebinde bulunduğunuz hesap şüpheli olarak değerlendirilmiş ve işleminiz güvenlik nedeniyle iptal edilmiştir. Detaylı bilgi almak için lütfen canlı destek hattımızla iletişime geçiniz."
|
|
110
|
+
DuplicatePaymentAccount: "Çekim talebinde bulunduğunuz hesap şüpheli olarak değerlendirilmiş ve işleminiz güvenlik nedeniyle iptal edilmiştir. Detaylı bilgi almak için lütfen canlı destek hattımızla iletişime geçiniz.",
|
|
111
|
+
InvalidCardHolder: "Geçersiz kart sahibi",
|
|
112
|
+
VendorInvalidCard: "Özür dileriz, fakat sağlayıcınız hatalı kart bilgileri nedeniyle işleminizi reddetti. Lütfen kart bilgilerinizi yeniden girin veya Destek ekibimizle iletişime geçin. Hata kodu 13500"
|
|
109
113
|
},
|
|
110
114
|
fr: {
|
|
111
115
|
VendorMicroserviceCommunicationError: "Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter en raison d’une erreur de communication de microservice. Veuillez réessayer plus tard.",
|
|
@@ -159,13 +163,13 @@ const q = {
|
|
|
159
163
|
function ge(i) {
|
|
160
164
|
re(i, "svelte-y815d8", '.WageringFetch{margin:10px}.LoadingText::after{content:"";animation:dots 1.5s steps(4, end) infinite}@keyframes dots{0%{content:""}25%{content:"."}50%{content:".."}75%{content:"..."}}.CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}');
|
|
161
165
|
}
|
|
162
|
-
const he = (i) => ({}), F = (i) => ({}), ve = (i) => ({}),
|
|
166
|
+
const he = (i) => ({}), F = (i) => ({}), ve = (i) => ({}), H = (i) => ({}), be = (i) => ({}), U = (i) => ({}), ke = (i) => ({}), K = (i) => ({ class: "CashierErrorIcon" });
|
|
163
167
|
function G(i) {
|
|
164
168
|
let e, t;
|
|
165
169
|
return {
|
|
166
170
|
c() {
|
|
167
171
|
e = k("ui-image"), R(e.src, t = `${/*assetsurl*/
|
|
168
|
-
i[0]}/error-general-icon.png`) ||
|
|
172
|
+
i[0]}/error-general-icon.png`) || V(e, "src", t), V(e, "width", "300px"), V(e, "alt", "error");
|
|
169
173
|
},
|
|
170
174
|
m(r, o) {
|
|
171
175
|
v(r, e, o);
|
|
@@ -173,7 +177,7 @@ function G(i) {
|
|
|
173
177
|
p(r, o) {
|
|
174
178
|
o & /*assetsurl*/
|
|
175
179
|
1 && !R(e.src, t = `${/*assetsurl*/
|
|
176
|
-
r[0]}/error-general-icon.png`) &&
|
|
180
|
+
r[0]}/error-general-icon.png`) && V(e, "src", t);
|
|
177
181
|
},
|
|
178
182
|
d(r) {
|
|
179
183
|
r && h(e);
|
|
@@ -187,7 +191,7 @@ function _e(i) {
|
|
|
187
191
|
);
|
|
188
192
|
return {
|
|
189
193
|
c() {
|
|
190
|
-
t && t.c(), e =
|
|
194
|
+
t && t.c(), e = S();
|
|
191
195
|
},
|
|
192
196
|
m(r, o) {
|
|
193
197
|
t && t.m(r, o), v(r, e, o);
|
|
@@ -206,13 +210,13 @@ function j(i) {
|
|
|
206
210
|
function t(a, n) {
|
|
207
211
|
return (
|
|
208
212
|
/*depositWageringAmount*/
|
|
209
|
-
a[3] < 0 ?
|
|
213
|
+
a[3] < 0 ? Ce : ze
|
|
210
214
|
);
|
|
211
215
|
}
|
|
212
216
|
let r = t(i), o = r(i);
|
|
213
217
|
return {
|
|
214
218
|
c() {
|
|
215
|
-
o.c(), e =
|
|
219
|
+
o.c(), e = S();
|
|
216
220
|
},
|
|
217
221
|
m(a, n) {
|
|
218
222
|
o.m(a, n), v(a, e, n);
|
|
@@ -235,7 +239,7 @@ function ze(i) {
|
|
|
235
239
|
);
|
|
236
240
|
return {
|
|
237
241
|
c() {
|
|
238
|
-
e = k("span"), r =
|
|
242
|
+
e = k("span"), r = I(t), o = L(), a && a.c(), T(e, "class", "CashierErrorText");
|
|
239
243
|
},
|
|
240
244
|
m(n, u) {
|
|
241
245
|
v(n, e, u), b(e, r), b(e, o), a && a.m(e, null);
|
|
@@ -251,14 +255,14 @@ function ze(i) {
|
|
|
251
255
|
}
|
|
252
256
|
};
|
|
253
257
|
}
|
|
254
|
-
function
|
|
258
|
+
function Ce(i) {
|
|
255
259
|
let e, t, r = (
|
|
256
260
|
/*$_*/
|
|
257
261
|
i[5]("DepositWageringFetching") + ""
|
|
258
262
|
), o;
|
|
259
263
|
return {
|
|
260
264
|
c() {
|
|
261
|
-
e = k("div"), t = k("span"), o =
|
|
265
|
+
e = k("div"), t = k("span"), o = I(r), T(t, "class", "CashierErrorText LoadingText"), T(e, "class", "WageringFetch");
|
|
262
266
|
},
|
|
263
267
|
m(a, n) {
|
|
264
268
|
v(a, e, n), b(e, t), b(t, o);
|
|
@@ -277,10 +281,10 @@ function J(i) {
|
|
|
277
281
|
let e, t, r;
|
|
278
282
|
return {
|
|
279
283
|
c() {
|
|
280
|
-
e =
|
|
284
|
+
e = I(
|
|
281
285
|
/*depositWageringAmount*/
|
|
282
286
|
i[3]
|
|
283
|
-
), t = L(), r =
|
|
287
|
+
), t = L(), r = I(
|
|
284
288
|
/*depositWageringCurrency*/
|
|
285
289
|
i[4]
|
|
286
290
|
);
|
|
@@ -306,7 +310,7 @@ function J(i) {
|
|
|
306
310
|
}
|
|
307
311
|
};
|
|
308
312
|
}
|
|
309
|
-
function
|
|
313
|
+
function Ee(i) {
|
|
310
314
|
let e, t = (
|
|
311
315
|
/*$_*/
|
|
312
316
|
i[5](`${/*errorcode*/
|
|
@@ -317,42 +321,42 @@ function Te(i) {
|
|
|
317
321
|
);
|
|
318
322
|
return {
|
|
319
323
|
c() {
|
|
320
|
-
e = k("span"), r =
|
|
324
|
+
e = k("span"), r = I(t), o = L(), n && n.c(), a = S(), T(e, "class", "CashierErrorText");
|
|
321
325
|
},
|
|
322
|
-
m(u,
|
|
323
|
-
v(u, e,
|
|
326
|
+
m(u, d) {
|
|
327
|
+
v(u, e, d), b(e, r), v(u, o, d), n && n.m(u, d), v(u, a, d);
|
|
324
328
|
},
|
|
325
|
-
p(u,
|
|
326
|
-
|
|
329
|
+
p(u, d) {
|
|
330
|
+
d & /*$_, errorcode*/
|
|
327
331
|
34 && t !== (t = /*$_*/
|
|
328
332
|
u[5](`${/*errorcode*/
|
|
329
333
|
u[1] || "errorGeneralText"}`) + "") && D(r, t), /*errorcode*/
|
|
330
|
-
u[1] == "DepositWageringLimit" ? n ? n.p(u,
|
|
334
|
+
u[1] == "DepositWageringLimit" ? n ? n.p(u, d) : (n = j(u), n.c(), n.m(a.parentNode, a)) : n && (n.d(1), n = null);
|
|
331
335
|
},
|
|
332
336
|
d(u) {
|
|
333
337
|
u && (h(e), h(o), h(a)), n && n.d(u);
|
|
334
338
|
}
|
|
335
339
|
};
|
|
336
340
|
}
|
|
337
|
-
function
|
|
341
|
+
function Te(i) {
|
|
338
342
|
let e, t, r = (
|
|
339
343
|
/*$_*/
|
|
340
344
|
i[5]("errorGeneralButton") + ""
|
|
341
345
|
), o, a, n;
|
|
342
346
|
return {
|
|
343
347
|
c() {
|
|
344
|
-
e = k("button"), t = k("span"), o =
|
|
348
|
+
e = k("button"), t = k("span"), o = I(r), T(e, "class", "CashierErrorButton");
|
|
345
349
|
},
|
|
346
|
-
m(u,
|
|
347
|
-
v(u, e,
|
|
350
|
+
m(u, d) {
|
|
351
|
+
v(u, e, d), b(e, t), b(t, o), a || (n = le(
|
|
348
352
|
e,
|
|
349
353
|
"click",
|
|
350
354
|
/*close*/
|
|
351
355
|
i[6]
|
|
352
356
|
), a = !0);
|
|
353
357
|
},
|
|
354
|
-
p(u,
|
|
355
|
-
|
|
358
|
+
p(u, d) {
|
|
359
|
+
d & /*$_*/
|
|
356
360
|
32 && r !== (r = /*$_*/
|
|
357
361
|
u[5]("errorGeneralButton") + "") && D(o, r);
|
|
358
362
|
},
|
|
@@ -361,56 +365,56 @@ function we(i) {
|
|
|
361
365
|
}
|
|
362
366
|
};
|
|
363
367
|
}
|
|
364
|
-
function
|
|
368
|
+
function we(i) {
|
|
365
369
|
let e, t, r, o, a, n;
|
|
366
370
|
const u = (
|
|
367
371
|
/*#slots*/
|
|
368
372
|
i[13].icon
|
|
369
|
-
),
|
|
373
|
+
), d = M(
|
|
370
374
|
u,
|
|
371
375
|
i,
|
|
372
376
|
/*$$scope*/
|
|
373
377
|
i[12],
|
|
374
378
|
K
|
|
375
|
-
), f =
|
|
379
|
+
), f = d || _e(i), _ = (
|
|
376
380
|
/*#slots*/
|
|
377
381
|
i[13].title
|
|
378
|
-
), m =
|
|
382
|
+
), m = M(
|
|
379
383
|
_,
|
|
380
384
|
i,
|
|
381
385
|
/*$$scope*/
|
|
382
386
|
i[12],
|
|
383
|
-
|
|
387
|
+
U
|
|
384
388
|
), z = (
|
|
385
389
|
/*#slots*/
|
|
386
390
|
i[13].text
|
|
387
|
-
), p =
|
|
391
|
+
), p = M(
|
|
388
392
|
z,
|
|
389
393
|
i,
|
|
390
394
|
/*$$scope*/
|
|
391
395
|
i[12],
|
|
392
|
-
|
|
393
|
-
), y = p ||
|
|
396
|
+
H
|
|
397
|
+
), y = p || Ee(i), w = (
|
|
394
398
|
/*#slots*/
|
|
395
399
|
i[13].button
|
|
396
|
-
),
|
|
397
|
-
|
|
400
|
+
), C = M(
|
|
401
|
+
w,
|
|
398
402
|
i,
|
|
399
403
|
/*$$scope*/
|
|
400
404
|
i[12],
|
|
401
405
|
F
|
|
402
|
-
), g =
|
|
406
|
+
), g = C || Te(i);
|
|
403
407
|
return {
|
|
404
408
|
c() {
|
|
405
|
-
e = k("div"), t = k("div"), f && f.c(), r = L(), m && m.c(), o = L(), y && y.c(), a = L(), g && g.c(),
|
|
409
|
+
e = k("div"), t = k("div"), f && f.c(), r = L(), m && m.c(), o = L(), y && y.c(), a = L(), g && g.c(), T(t, "class", "CashierErrorContent"), T(e, "class", "CashierError");
|
|
406
410
|
},
|
|
407
|
-
m(s,
|
|
408
|
-
v(s, e,
|
|
411
|
+
m(s, c) {
|
|
412
|
+
v(s, e, c), b(e, t), f && f.m(t, null), b(t, r), m && m.m(t, null), b(t, o), y && y.m(t, null), b(t, a), g && g.m(t, null), i[14](e), n = !0;
|
|
409
413
|
},
|
|
410
|
-
p(s, [
|
|
411
|
-
|
|
414
|
+
p(s, [c]) {
|
|
415
|
+
d ? d.p && (!n || c & /*$$scope*/
|
|
412
416
|
4096) && W(
|
|
413
|
-
|
|
417
|
+
d,
|
|
414
418
|
u,
|
|
415
419
|
s,
|
|
416
420
|
/*$$scope*/
|
|
@@ -419,15 +423,15 @@ function Ce(i) {
|
|
|
419
423
|
u,
|
|
420
424
|
/*$$scope*/
|
|
421
425
|
s[12],
|
|
422
|
-
|
|
426
|
+
c,
|
|
423
427
|
ke
|
|
424
428
|
) : x(
|
|
425
429
|
/*$$scope*/
|
|
426
430
|
s[12]
|
|
427
431
|
),
|
|
428
432
|
K
|
|
429
|
-
) : f && f.p && (!n ||
|
|
430
|
-
1) && f.p(s, n ?
|
|
433
|
+
) : f && f.p && (!n || c & /*assetsurl*/
|
|
434
|
+
1) && f.p(s, n ? c : -1), m && m.p && (!n || c & /*$$scope*/
|
|
431
435
|
4096) && W(
|
|
432
436
|
m,
|
|
433
437
|
_,
|
|
@@ -438,14 +442,14 @@ function Ce(i) {
|
|
|
438
442
|
_,
|
|
439
443
|
/*$$scope*/
|
|
440
444
|
s[12],
|
|
441
|
-
|
|
445
|
+
c,
|
|
442
446
|
be
|
|
443
447
|
) : x(
|
|
444
448
|
/*$$scope*/
|
|
445
449
|
s[12]
|
|
446
450
|
),
|
|
447
|
-
|
|
448
|
-
), p ? p.p && (!n ||
|
|
451
|
+
U
|
|
452
|
+
), p ? p.p && (!n || c & /*$$scope*/
|
|
449
453
|
4096) && W(
|
|
450
454
|
p,
|
|
451
455
|
z,
|
|
@@ -456,40 +460,40 @@ function Ce(i) {
|
|
|
456
460
|
z,
|
|
457
461
|
/*$$scope*/
|
|
458
462
|
s[12],
|
|
459
|
-
|
|
463
|
+
c,
|
|
460
464
|
ve
|
|
461
465
|
) : x(
|
|
462
466
|
/*$$scope*/
|
|
463
467
|
s[12]
|
|
464
468
|
),
|
|
465
|
-
|
|
466
|
-
) : y && y.p && (!n ||
|
|
467
|
-
58) && y.p(s, n ?
|
|
469
|
+
H
|
|
470
|
+
) : y && y.p && (!n || c & /*$_, depositWageringAmount, depositWageringCurrency, errorcode*/
|
|
471
|
+
58) && y.p(s, n ? c : -1), C ? C.p && (!n || c & /*$$scope*/
|
|
468
472
|
4096) && W(
|
|
469
|
-
E,
|
|
470
473
|
C,
|
|
474
|
+
w,
|
|
471
475
|
s,
|
|
472
476
|
/*$$scope*/
|
|
473
477
|
s[12],
|
|
474
478
|
n ? O(
|
|
475
|
-
|
|
479
|
+
w,
|
|
476
480
|
/*$$scope*/
|
|
477
481
|
s[12],
|
|
478
|
-
|
|
482
|
+
c,
|
|
479
483
|
he
|
|
480
484
|
) : x(
|
|
481
485
|
/*$$scope*/
|
|
482
486
|
s[12]
|
|
483
487
|
),
|
|
484
488
|
F
|
|
485
|
-
) : g && g.p && (!n ||
|
|
486
|
-
32) && g.p(s, n ?
|
|
489
|
+
) : g && g.p && (!n || c & /*$_*/
|
|
490
|
+
32) && g.p(s, n ? c : -1);
|
|
487
491
|
},
|
|
488
492
|
i(s) {
|
|
489
493
|
n || (P(f, s), P(m, s), P(y, s), P(g, s), n = !0);
|
|
490
494
|
},
|
|
491
495
|
o(s) {
|
|
492
|
-
|
|
496
|
+
A(f, s), A(m, s), A(y, s), A(g, s), n = !1;
|
|
493
497
|
},
|
|
494
498
|
d(s) {
|
|
495
499
|
s && h(e), f && f.d(s), m && m.d(s), y && y.d(s), g && g.d(s), i[14](null);
|
|
@@ -498,8 +502,8 @@ function Ce(i) {
|
|
|
498
502
|
}
|
|
499
503
|
function Le(i, e, t) {
|
|
500
504
|
let r;
|
|
501
|
-
oe(i,
|
|
502
|
-
let { $$slots: o = {}, $$scope: a } = e, { assetsurl: n = "" } = e, { lang: u = "en" } = e, { errorcode:
|
|
505
|
+
oe(i, ce, (l) => t(5, r = l));
|
|
506
|
+
let { $$slots: o = {}, $$scope: a } = e, { assetsurl: n = "" } = e, { lang: u = "en" } = e, { errorcode: d = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: _ = "" } = e, { translationurl: m = "" } = e, { mbsource: z = "" } = e, p, y, w = -1, C;
|
|
503
507
|
const g = () => {
|
|
504
508
|
ye(u);
|
|
505
509
|
}, s = async () => {
|
|
@@ -519,18 +523,18 @@ function Le(i, e, t) {
|
|
|
519
523
|
Object.keys(q).forEach((l) => {
|
|
520
524
|
N(l, q[l]);
|
|
521
525
|
});
|
|
522
|
-
const
|
|
526
|
+
const c = () => {
|
|
523
527
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
524
|
-
},
|
|
528
|
+
}, B = (l) => {
|
|
525
529
|
if (l.data)
|
|
526
530
|
switch (l.data.type) {
|
|
527
531
|
case "DepositWageringAmount":
|
|
528
|
-
t(3,
|
|
532
|
+
t(3, w = l.data.amount), t(4, C = l.data.currency);
|
|
529
533
|
break;
|
|
530
534
|
}
|
|
531
535
|
};
|
|
532
|
-
se(() => (window.addEventListener("message",
|
|
533
|
-
window.removeEventListener("message",
|
|
536
|
+
se(() => (window.addEventListener("message", B, !1), () => {
|
|
537
|
+
window.removeEventListener("message", B);
|
|
534
538
|
}));
|
|
535
539
|
function Y(l) {
|
|
536
540
|
ue[l ? "unshift" : "push"](() => {
|
|
@@ -538,7 +542,7 @@ function Le(i, e, t) {
|
|
|
538
542
|
});
|
|
539
543
|
}
|
|
540
544
|
return i.$$set = (l) => {
|
|
541
|
-
"assetsurl" in l && t(0, n = l.assetsurl), "lang" in l && t(7, u = l.lang), "errorcode" in l && t(1,
|
|
545
|
+
"assetsurl" in l && t(0, n = l.assetsurl), "lang" in l && t(7, u = l.lang), "errorcode" in l && t(1, d = l.errorcode), "clientstyling" in l && t(8, f = l.clientstyling), "clientstylingurl" in l && t(9, _ = l.clientstylingurl), "translationurl" in l && t(10, m = l.translationurl), "mbsource" in l && t(11, z = l.mbsource), "$$scope" in l && t(12, a = l.$$scope);
|
|
542
546
|
}, i.$$.update = () => {
|
|
543
547
|
i.$$.dirty & /*lang*/
|
|
544
548
|
128 && u && g(), i.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
@@ -548,12 +552,12 @@ function Le(i, e, t) {
|
|
|
548
552
|
1024 && m && s();
|
|
549
553
|
}, [
|
|
550
554
|
n,
|
|
551
|
-
|
|
555
|
+
d,
|
|
552
556
|
p,
|
|
557
|
+
w,
|
|
553
558
|
C,
|
|
554
|
-
E,
|
|
555
559
|
r,
|
|
556
|
-
|
|
560
|
+
c,
|
|
557
561
|
u,
|
|
558
562
|
f,
|
|
559
563
|
_,
|
|
@@ -570,7 +574,7 @@ class De extends ie {
|
|
|
570
574
|
this,
|
|
571
575
|
e,
|
|
572
576
|
Le,
|
|
573
|
-
|
|
577
|
+
we,
|
|
574
578
|
ae,
|
|
575
579
|
{
|
|
576
580
|
assetsurl: 0,
|
|
@@ -588,46 +592,46 @@ class De extends ie {
|
|
|
588
592
|
return this.$$.ctx[0];
|
|
589
593
|
}
|
|
590
594
|
set assetsurl(e) {
|
|
591
|
-
this.$$set({ assetsurl: e }),
|
|
595
|
+
this.$$set({ assetsurl: e }), E();
|
|
592
596
|
}
|
|
593
597
|
get lang() {
|
|
594
598
|
return this.$$.ctx[7];
|
|
595
599
|
}
|
|
596
600
|
set lang(e) {
|
|
597
|
-
this.$$set({ lang: e }),
|
|
601
|
+
this.$$set({ lang: e }), E();
|
|
598
602
|
}
|
|
599
603
|
get errorcode() {
|
|
600
604
|
return this.$$.ctx[1];
|
|
601
605
|
}
|
|
602
606
|
set errorcode(e) {
|
|
603
|
-
this.$$set({ errorcode: e }),
|
|
607
|
+
this.$$set({ errorcode: e }), E();
|
|
604
608
|
}
|
|
605
609
|
get clientstyling() {
|
|
606
610
|
return this.$$.ctx[8];
|
|
607
611
|
}
|
|
608
612
|
set clientstyling(e) {
|
|
609
|
-
this.$$set({ clientstyling: e }),
|
|
613
|
+
this.$$set({ clientstyling: e }), E();
|
|
610
614
|
}
|
|
611
615
|
get clientstylingurl() {
|
|
612
616
|
return this.$$.ctx[9];
|
|
613
617
|
}
|
|
614
618
|
set clientstylingurl(e) {
|
|
615
|
-
this.$$set({ clientstylingurl: e }),
|
|
619
|
+
this.$$set({ clientstylingurl: e }), E();
|
|
616
620
|
}
|
|
617
621
|
get translationurl() {
|
|
618
622
|
return this.$$.ctx[10];
|
|
619
623
|
}
|
|
620
624
|
set translationurl(e) {
|
|
621
|
-
this.$$set({ translationurl: e }),
|
|
625
|
+
this.$$set({ translationurl: e }), E();
|
|
622
626
|
}
|
|
623
627
|
get mbsource() {
|
|
624
628
|
return this.$$.ctx[11];
|
|
625
629
|
}
|
|
626
630
|
set mbsource(e) {
|
|
627
|
-
this.$$set({ mbsource: e }),
|
|
631
|
+
this.$$set({ mbsource: e }), E();
|
|
628
632
|
}
|
|
629
633
|
}
|
|
630
|
-
|
|
634
|
+
de(De, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
631
635
|
export {
|
|
632
636
|
De as default
|
|
633
637
|
};
|