@everymatrix/cashier-page 1.93.15 → 1.93.30

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 (80) hide show
  1. package/components/CashierCarousel-DJXsZKF9.js +5797 -0
  2. package/components/CashierCarousel-DMrMmClP.cjs +23 -0
  3. package/components/CashierCarousel-DwrGzk7c.js +5835 -0
  4. package/components/CashierError-BL_rmfvV.cjs +1 -0
  5. package/components/{CashierError-CmQqKE96.js → CashierError-Bqtyy8-q.js} +11 -12
  6. package/components/{CashierError-lww0Xhhd.js → CashierError-D054pa3k.js} +12 -13
  7. package/components/CashierHeader-BNDmkX5f.js +397 -0
  8. package/components/CashierHeader-DJYOdmdi.js +397 -0
  9. package/components/CashierHeader-PvXFHPzQ.cjs +1 -0
  10. package/components/CashierIframeRedirect-C0AQ3pLh.cjs +1 -0
  11. package/components/{CashierIframeRedirect-Cp8i9DwX.js → CashierIframeRedirect-CF8dL6ee.js} +106 -91
  12. package/components/{CashierIframeRedirect-D8w_XK4C.js → CashierIframeRedirect-CbC9sVb1.js} +108 -93
  13. package/components/CashierMethodDetails-D43_BByC.js +11362 -0
  14. package/components/CashierMethodDetails-QnYW0RhM.js +11321 -0
  15. package/components/CashierMethodDetails-fgXAscSs.cjs +85 -0
  16. package/components/CashierMethodsList-CIZqw7vl.cjs +1 -0
  17. package/components/{CashierMethodsList-Cj6o2dtI.js → CashierMethodsList-CxX_fYhq.js} +165 -159
  18. package/components/{CashierMethodsList-COnGq2tb.js → CashierMethodsList-D9Cau8Pp.js} +181 -175
  19. package/components/CashierModal-BLrymidc.cjs +1 -0
  20. package/components/{CashierModal-DYVHfktP.js → CashierModal-CV1Fn4BP.js} +34 -35
  21. package/components/{CashierModal-DANMfzKu.js → CashierModal-ZV_9oeml.js} +48 -49
  22. package/components/CashierNotifications-B8bRZMac.cjs +1 -0
  23. package/components/{CashierNotifications-IhAYYFLY.js → CashierNotifications-C_xReVni.js} +3 -3
  24. package/components/{CashierNotifications-Yvo_vvrp.js → CashierNotifications-DHKh64xU.js} +5 -5
  25. package/components/CashierPage-Ct9EikF7.cjs +1 -0
  26. package/components/CashierPage-DMD49nLC.js +4584 -0
  27. package/components/CashierPage-DVMUYXPq.js +4550 -0
  28. package/components/{CashierReceiptPage-CYUSXFbL.js → CashierReceiptPage-BLs2bB7p.js} +80 -79
  29. package/components/{CashierReceiptPage-BtK09hHe.js → CashierReceiptPage-BaWYLIjg.js} +79 -78
  30. package/components/CashierReceiptPage-C94sLh_w.cjs +26 -0
  31. package/components/{CashierSessionExpirationModal-C5gv5Kex.js → CashierSessionExpirationModal-BQqOUaL1.js} +132 -131
  32. package/components/CashierSessionExpirationModal-D9p_gSiz.cjs +2 -0
  33. package/components/{CashierSessionExpirationModal-YLys2PDl.js → CashierSessionExpirationModal-OB-OzKmD.js} +132 -131
  34. package/components/{CashierSpinner-DEY3bxsG.js → CashierSpinner-D3HhhmOb.js} +10 -11
  35. package/components/CashierSpinner-DKYO0FtD.cjs +1 -0
  36. package/components/{CashierSpinner-C_YWOPLu.js → CashierSpinner-DyemUXs_.js} +12 -13
  37. package/components/{CashierStepUp-C-C7MzQF.js → CashierStepUp-CSZd5C7z.js} +245 -246
  38. package/components/{CashierStepUp-OocwQDO8.js → CashierStepUp-CmTcFbG9.js} +168 -169
  39. package/components/CashierStepUp-DKytvkqu.cjs +1 -0
  40. package/components/{CashierTransactionHistory-uR3LgcWt.js → CashierTransactionHistory-DScR_cOH.js} +53 -52
  41. package/components/CashierTransactionHistory-Df2Bbdf6.cjs +1 -0
  42. package/components/{CashierTransactionHistory-Cr0MttRX.js → CashierTransactionHistory-DnPpQqqR.js} +53 -52
  43. package/components/{CashierVerifications-k6yPLmW_.js → CashierVerifications-BDF-0-Ps.js} +151 -167
  44. package/components/CashierVerifications-CRuBWs_5.cjs +1 -0
  45. package/components/{CashierVerifications-CZkslVbR.js → CashierVerifications-CSrCD2d3.js} +140 -156
  46. package/components/{TxnStatusIcon-Diii3Es2.js → TxnStatusIcon-BwvCa-Ig.js} +1 -1
  47. package/components/TxnStatusIcon-CWkyVMIU.cjs +1 -0
  48. package/components/{TxnStatusIcon-Dgm2t94G.js → TxnStatusIcon-ssLhQR5N.js} +8 -8
  49. package/components/{TxnTypeIcons-BpmVN0J8.js → TxnTypeIcons-B84nFRMh.js} +1 -1
  50. package/components/TxnTypeIcons-CTQXT_j5.cjs +1 -0
  51. package/components/{TxnTypeIcons-DXpOeTfk.js → TxnTypeIcons-DhwUYw-o.js} +1 -1
  52. package/es2015/cashier-page.cjs +1 -1
  53. package/es2015/cashier-page.js +1 -1
  54. package/esnext/cashier-page.js +1 -1
  55. package/package.json +1 -1
  56. package/components/CashierCarousel-2Y_QFlk8.js +0 -675
  57. package/components/CashierCarousel-LFH0uftr.js +0 -672
  58. package/components/CashierCarousel-Njl1VM8D.cjs +0 -1
  59. package/components/CashierError-zaQMVBwa.cjs +0 -1
  60. package/components/CashierHeader-BRtZK3Yj.cjs +0 -1
  61. package/components/CashierHeader-BXQCcYBU.js +0 -456
  62. package/components/CashierHeader-CV1mrRsd.js +0 -456
  63. package/components/CashierIframeRedirect-CYEQyHaS.cjs +0 -1
  64. package/components/CashierMethodDetails-BvSDCKZN.cjs +0 -85
  65. package/components/CashierMethodDetails-D1X3MbmW.js +0 -10890
  66. package/components/CashierMethodDetails-xNqhPyCs.js +0 -10849
  67. package/components/CashierMethodsList-BOpP96gM.cjs +0 -1
  68. package/components/CashierModal--1fztdGJ.cjs +0 -1
  69. package/components/CashierNotifications-CHbG6OoC.cjs +0 -1
  70. package/components/CashierPage-Bl4ava_U.js +0 -10064
  71. package/components/CashierPage-C7hbc8P5.cjs +0 -23
  72. package/components/CashierPage-DY5ngRhg.js +0 -10011
  73. package/components/CashierReceiptPage-DAfRN8k6.cjs +0 -26
  74. package/components/CashierSessionExpirationModal-Cd-Gd4Ir.cjs +0 -2
  75. package/components/CashierSpinner-Bvspj0cH.cjs +0 -1
  76. package/components/CashierStepUp-4B7szI7i.cjs +0 -1
  77. package/components/CashierTransactionHistory-Cpr3zr_V.cjs +0 -1
  78. package/components/CashierVerifications-Ddf15TF_.cjs +0 -1
  79. package/components/TxnStatusIcon-_lk_AnRy.cjs +0 -1
  80. package/components/TxnTypeIcons-CmilEOnE.cjs +0 -1
@@ -0,0 +1 @@
1
+ "use strict";var Ve=Object.defineProperty,Be=Object.defineProperties;var He=Object.getOwnPropertyDescriptors;var he=Object.getOwnPropertySymbols;var Ne=Object.prototype.hasOwnProperty,We=Object.prototype.propertyIsEnumerable;var ge=(a,n,t)=>n in a?Ve(a,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[n]=t,ce=(a,n)=>{for(var t in n||(n={}))Ne.call(n,t)&&ge(a,t,n[t]);if(he)for(var t of he(n))We.call(n,t)&&ge(a,t,n[t]);return a},_e=(a,n)=>Be(a,He(n));var ae=(a,n,t)=>new Promise((r,l)=>{var o=p=>{try{s(t.next(p))}catch(u){l(u)}},c=p=>{try{s(t.throw(p))}catch(u){l(u)}},s=p=>p.done?r(p.value):Promise.resolve(p.value).then(o,c);s((t=t.apply(a,n)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DMrMmClP.cjs");function be(a,n){e.addMessages(a,n)}function qe(a){e.$locale.set(a)}const we={en:{otpTitle:"Code verification is required",popupMessage:"Please enter the security code received on your SMS/email address to perform the update.",popupMessageLastWarning:"If the next validation attempt is failed, your transaction will fail and you will be returned back to payment method.",minutes:"minutes",errorHeader:"Error",configError:"Unable to load OTP data. Please try again later.",otpHeading:"Enter OTP",resendOtp:"Resent OTP",submit:"Submit",close:"Close",invalidOtp:"The code you've sent is not valid. Please try again.",accountBlocked:"Too many attempts for OTP. Your account has been blocked for one hour.",submissionError:"Something went wrong. Please try again.",otpExpiredMessage:"Validation code has expired, please request a new one to continue.",timeRemaining:"Code expires in:",selectChannelTitle:"Select verification method",selectChannelMessage:"Choose how you would like to receive your verification code",channelSMS:"SMS",channelEmail:"Email",sendCode:"Send code",waitSeconds:"Please wait for before resending:"},tr:{otpTitle:"Kod doğrulaması gereklidir",popupMessage:"Güncellemeyi gerçekleştirmek için SMS/e-posta adresinize gönderilen güvenlik kodunu girin.",popupMessageLastWarning:"Bir sonraki doğrulama denemesi başarısız olursa, işleminiz başarısız olacak ve ödeme yöntemine geri döndürüleceksiniz.",minutes:"dakika",errorHeader:"Hata",configError:"OTP verileri yüklenemedi. Lütfen daha sonra tekrar deneyin.",otpHeading:"OTP Girin",resendOtp:"OTP'yi Yeniden Gönder",submit:"Gönder",close:"Kapat",invalidOtp:"Gönderdiğiniz kod geçerli değil. Lütfen tekrar deneyin.",accountBlocked:"OTP için çok fazla deneme yapıldı. Hesabınız bir saat süreyle engellenmiştir.",submissionError:"Bir şeyler ters gitti. Lütfen tekrar deneyin.",otpExpiredMessage:"Doğrulama kodunun süresi doldu, devam etmek için lütfen yeni bir kod isteyin.",timeRemaining:"Kodun süresi doluyor:",selectChannelTitle:"Doğrulama yöntemi seçin",selectChannelMessage:"Doğrulama kodunuzu nasıl almak istediğinizi seçin",channelSMS:"SMS kodu",channelEmail:"E-posta kodu",sendCode:"Kodu gönder",waitSeconds:"Tekrar göndermeden önce lütfen bekleyin:"},fr:{otpTitle:"La vérification par code est requise",popupMessage:"Veuillez saisir le code de sécurité reçu par SMS ou par e-mail afin d’effectuer la mise à jour.",popupMessageLastWarning:"Si la prochaine tentative de validation échoue, votre transaction échouera et vous serez redirigé vers le moyen de paiement.",minutes:"minutes",errorHeader:"Erreur",configError:"Impossible de charger les données OTP. Veuillez réessayer plus tard.",otpHeading:"Saisir le code OTP",resendOtp:"Renvoyer le code OTP",submit:"Valider",close:"Fermer",invalidOtp:"Le code que vous avez saisi n’est pas valide. Veuillez réessayer.",accountBlocked:"Trop de tentatives de code OTP. Votre compte a été bloqué pendant une heure.",submissionError:"Une erreur s’est produite. Veuillez réessayer.",otpExpiredMessage:"Le code de validation a expiré. Veuillez en demander un nouveau pour continuer.",timeRemaining:"Le code expire dans :",selectChannelTitle:"Sélectionner la méthode de vérification",selectChannelMessage:"Choisissez comment vous souhaitez recevoir votre code de vérification",channelSMS:"SMS",channelEmail:"E-mail",sendCode:"Envoyer le code",waitSeconds:"Veuillez patienter avant de renvoyer le code :"}};function Fe(a){e.append_styles(a,"svelte-gpy3mu",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.RadioIndicator{width:20px;height:20px;border-radius:50%;border:2px solid var(--emw--color-typography, #fff);position:relative;flex-shrink:0;margin-right:8px;transition:all 0.2s ease;opacity:0.7}.RadioIndicator.checked::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:10px;height:10px;border-radius:50%;opacity:1;background:var(--emw--color-primary, #fff)}.RadioIndicator.checked{border:2px solid var(--emw--color-primary, #fff)}.ModalCloseIcon{padding:0px;position:absolute;right:0;top:0;margin:15px 20px;z-index:20;transition:all 0.3s ease}.ModalCloseIcon svg{width:11px;height:11px;fill:var(--emw--color-primary, red);cursor:pointer}.ModalCloseIcon:hover{transform:rotate(90deg)}.OtpContent{width:100%;display:flex;flex-direction:column;gap:var(--emw--spacing-large, 20px)}.OtpFieldWrapper{display:flex;flex-direction:column;gap:10px}.OtpFieldWrapper h2{margin:0}.OtpButton{text-transform:uppercase;font-weight:var(--emw--font-weight-medium, 500);color:var(--emw--color-typography-button, #000000);text-align:center;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-family:inherit;height:46px;line-height:normal;border:none;background:var(--emw--color-primary, #f9c408);border-radius:10px;width:100%;margin:var(--emw--spacing-small, 12px) 0;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-2x-small-plus, 5px);transition:all 0.2s linear}.OtpButton:active{box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-active, #fecd1c)}.OtpButton[disabled],.OtpButton.disabled{filter:saturate(50%);opacity:0.5;cursor:not-allowed;pointer-events:none}.OtpButton:hover:not([disabled]):not(.disabled){box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);background-color:var(--emw--color-hover, #dbac03)}@container (max-width: 500px){.OtpDescription{font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-size-big, 20px)}}.OtpDescription{display:flex;color:var(--emw--color-typography, #fff);flex-direction:column;gap:12px;font-size:var(--emw--font-size-small, 12px)}.OtpDescription .Title{font-size:var(--emw--font-medium, 16px);font-weight:var(--emw--font-weight-medium, 600)}.OtpError{display:flex;flex-direction:column;gap:20px;align-items:center}.OtpError .OtpErrorHeader{display:flex;justify-content:center;gap:5px;align-items:center}.OtpError h2{margin:0;color:var(--emw--color-typography, #fff)}.OtpError p{color:var(--emw--color-typography, #fff);text-align:center;font-size:var(--emw--font-size-small, 12px)}.OtpError svg{width:25px;fill:var(--emw--color-error, #dd3434)}.ChannelSelection{display:flex;flex-direction:row;justify-content:space-between}.ChannelCheckbox{display:flex;align-items:center;padding:var(--emw--spacing-medium, 16px);cursor:pointer;transition:all 0.2s ease}.ChannelCheckbox input[type=radio]{display:none}.ChannelCheckbox .ChannelContent{display:flex;align-items:center;gap:3px;width:100%;color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-medium, 500)}.ChannelCheckbox .ChannelContent svg{flex-shrink:0;opacity:0.7;width:20px;height:20px}.ChannelCheckbox .ChannelContent span{text-transform:uppercase}.ChannelCheckbox.selected .ChannelContent{color:var(--emw--color-primary, #000000)}.ChannelCheckbox.selected .ChannelContent svg{stroke:var(--emw--color-primary, #000000);opacity:1}.ChannelCheckbox:hover:not(.selected){color:var(--emw--color-active, #fff)}.OtpField{display:flex;justify-content:space-between;margin:10px}.OtpField input{width:45px;font-size:32px;padding:5px;text-align:center;border-radius:5px;margin:6px;font-weight:bold;outline:none;background:var(--emw--color-background);border:0;transition:all 0.1s;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);color:var(--emw--color-typography, #fff)}.OtpField input.space{margin-right:1rem !important}.OtpField input:focus{box-shadow:0 0 1px 1px var(--emw--color-primary, #007bff)}.OtpActionButtons{display:flex;justify-content:space-between;gap:40px}.OtpErrorMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpNoticeMessage{color:var(--emw--color-primary, #f9c408);font-weight:bold}.LastWarningMessage{color:var(--emw--color-error, #dd3434);font-weight:bold}.OtpLoaderContainer{width:100%;display:flex;justify-content:center;align-items:center;padding:20px 0}.OtpLoader{width:48px;height:48px;border:5px solid var(--emw--color-secondary, #b3d8ff);border-bottom-color:var(--emw--color-primary, #007bff);border-radius:50%;display:inline-block;box-sizing:border-box;animation:rotation 1s linear infinite}@keyframes rotation{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.OtpTimer{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-small, 12px);opacity:0.8}@container (max-width: 500px){.OtpContent{padding:var(--emw--spacing-small, 10px)}.OtpField input{width:40px;font-size:28px;margin:4px}}')}function ye(a,n,t){const r=a.slice();return r[69]=n[t],r[70]=n,r[71]=t,r}function Ue(a){let n,t,r,l,o,c,s,p,u,b,_,E,C,g,f,w,v,M=a[19]("channelSMS")+"",H,D,A,T,X,j,q,Y,F,k,O,P,J,Q,Z=a[19]("channelEmail")+"",V,re,B,R,W,$,ee;function te(d,y){return d[9]?Ye:d[12]?Ke:Ge}let U=te(a),N=U(a),I=a[0]&&ke(a);function le(d,y){if(d[3]&&d[12])return tt;if(d[12]&&d[4])return et}let K=le(a),x=K&&K(a);function ie(d,y){if(d[9])return at;if(d[12]&&d[4])return nt}let G=ie(a),L=G&&G(a);return{c(){n=e.element("div"),N.c(),t=e.space(),r=e.element("div"),l=e.element("label"),o=e.element("div"),c=e.space(),s=e.element("input"),u=e.space(),b=e.element("div"),_=e.svg_element("svg"),E=e.svg_element("path"),C=e.svg_element("circle"),g=e.svg_element("circle"),f=e.svg_element("circle"),w=e.space(),v=e.element("span"),H=e.text(M),D=e.space(),A=e.element("label"),T=e.element("div"),X=e.space(),j=e.element("input"),Y=e.space(),F=e.element("div"),k=e.svg_element("svg"),O=e.svg_element("rect"),P=e.svg_element("path"),J=e.space(),Q=e.element("span"),V=e.text(Z),re=e.space(),I&&I.c(),B=e.space(),x&&x.c(),R=e.space(),W=e.element("div"),L&&L.c(),e.attr(n,"class","OtpDescription"),e.attr(o,"class","RadioIndicator"),e.toggle_class(o,"checked",a[0]===a[20].SMS),e.attr(s,"type","radio"),e.attr(s,"name","channel"),s.value=a[20].SMS,s.checked=p=a[0]===a[20].SMS,e.attr(E,"d","M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"),e.attr(C,"cx","9"),e.attr(C,"cy","11"),e.attr(C,"r","0.5"),e.attr(C,"fill","currentColor"),e.attr(g,"cx","12"),e.attr(g,"cy","11"),e.attr(g,"r","0.5"),e.attr(g,"fill","currentColor"),e.attr(f,"cx","15"),e.attr(f,"cy","11"),e.attr(f,"r","0.5"),e.attr(f,"fill","currentColor"),e.attr(_,"xmlns","http://www.w3.org/2000/svg"),e.attr(_,"width","24"),e.attr(_,"height","24"),e.attr(_,"viewBox","0 0 24 24"),e.attr(_,"fill","none"),e.attr(_,"stroke","currentColor"),e.attr(_,"stroke-width","2"),e.attr(_,"stroke-linecap","round"),e.attr(_,"stroke-linejoin","round"),e.attr(b,"class","ChannelContent"),e.attr(l,"class","ChannelCheckbox"),e.toggle_class(l,"selected",a[0]===a[20].SMS),e.attr(T,"class","RadioIndicator"),e.toggle_class(T,"checked",a[0]===a[20].EMAIL),e.attr(j,"type","radio"),e.attr(j,"name","channel"),j.value=a[20].EMAIL,j.checked=q=a[0]===a[20].EMAIL,e.attr(O,"x","2"),e.attr(O,"y","4"),e.attr(O,"width","20"),e.attr(O,"height","16"),e.attr(O,"rx","2"),e.attr(P,"d","m2 7 10 6 10-6"),e.attr(k,"xmlns","http://www.w3.org/2000/svg"),e.attr(k,"width","24"),e.attr(k,"height","24"),e.attr(k,"viewBox","0 0 24 24"),e.attr(k,"fill","none"),e.attr(k,"stroke","currentColor"),e.attr(k,"stroke-width","2"),e.attr(k,"stroke-linecap","round"),e.attr(k,"stroke-linejoin","round"),e.attr(F,"class","ChannelContent"),e.attr(A,"class","ChannelCheckbox"),e.toggle_class(A,"selected",a[0]===a[20].EMAIL),e.attr(r,"class","ChannelSelection"),e.attr(W,"class","OtpActionButtons")},m(d,y){e.insert(d,n,y),N.m(n,null),e.insert(d,t,y),e.insert(d,r,y),e.append(r,l),e.append(l,o),e.append(l,c),e.append(l,s),e.append(l,u),e.append(l,b),e.append(b,_),e.append(_,E),e.append(_,C),e.append(_,g),e.append(_,f),e.append(b,w),e.append(b,v),e.append(v,H),e.append(r,D),e.append(r,A),e.append(A,T),e.append(A,X),e.append(A,j),e.append(A,Y),e.append(A,F),e.append(F,k),e.append(k,O),e.append(k,P),e.append(F,J),e.append(F,Q),e.append(Q,V),e.insert(d,re,y),I&&I.m(d,y),e.insert(d,B,y),x&&x.m(d,y),e.insert(d,R,y),e.insert(d,W,y),L&&L.m(W,null),$||(ee=[e.listen(s,"change",a[39]),e.listen(j,"change",a[40])],$=!0)},p(d,y){U===(U=te(d))&&N?N.p(d,y):(N.d(1),N=U(d),N&&(N.c(),N.m(n,null))),y[0]&1048577&&e.toggle_class(o,"checked",d[0]===d[20].SMS),y[0]&1&&p!==(p=d[0]===d[20].SMS)&&(s.checked=p),y[0]&524288&&M!==(M=d[19]("channelSMS")+"")&&e.set_data(H,M),y[0]&1048577&&e.toggle_class(l,"selected",d[0]===d[20].SMS),y[0]&1048577&&e.toggle_class(T,"checked",d[0]===d[20].EMAIL),y[0]&1&&q!==(q=d[0]===d[20].EMAIL)&&(j.checked=q),y[0]&524288&&Z!==(Z=d[19]("channelEmail")+"")&&e.set_data(V,Z),y[0]&1048577&&e.toggle_class(A,"selected",d[0]===d[20].EMAIL),d[0]?I?I.p(d,y):(I=ke(d),I.c(),I.m(B.parentNode,B)):I&&(I.d(1),I=null),K===(K=le(d))&&x?x.p(d,y):(x&&x.d(1),x=K&&K(d),x&&(x.c(),x.m(R.parentNode,R))),G===(G=ie(d))&&L?L.p(d,y):(L&&L.d(1),L=G&&G(d),L&&(L.c(),L.m(W,null)))},d(d){d&&(e.detach(n),e.detach(t),e.detach(r),e.detach(re),e.detach(B),e.detach(R),e.detach(W)),N.d(),I&&I.d(d),x&&x.d(d),L&&L.d(),$=!1,e.run_all(ee)}}}function Xe(a){let n,t,r,l,o,c,s=a[19]("errorHeader")+"",p,u,b,_,E,C,g=a[19]("close")+"",f,w,v;return{c(){n=e.element("div"),t=e.element("div"),r=e.svg_element("svg"),l=e.svg_element("path"),o=e.space(),c=e.element("h2"),p=e.text(s),u=e.space(),b=e.element("p"),_=e.text(a[8]),E=e.space(),C=e.element("button"),f=e.text(g),e.attr(l,"d","M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24l0 112c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-112c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"),e.attr(r,"xmlns","http://www.w3.org/2000/svg"),e.attr(r,"viewBox","0 0 512 512"),e.attr(t,"class","OtpErrorHeader"),e.attr(C,"class","OtpButton error"),e.attr(n,"class","OtpError")},m(M,H){e.insert(M,n,H),e.append(n,t),e.append(t,r),e.append(r,l),e.append(t,o),e.append(t,c),e.append(c,p),e.append(n,u),e.append(n,b),e.append(b,_),e.append(n,E),e.append(n,C),e.append(C,f),w||(v=e.listen(C,"click",a[28]),w=!0)},p(M,H){H[0]&524288&&s!==(s=M[19]("errorHeader")+"")&&e.set_data(p,s),H[0]&256&&e.set_data(_,M[8]),H[0]&524288&&g!==(g=M[19]("close")+"")&&e.set_data(f,g)},d(M){M&&e.detach(n),w=!1,v()}}}function Ke(a){let n,t,r,l;function o(u,b){return u[10]?Qe:Je}let c=o(a),s=c(a),p=a[6]&&ve(a);return{c(){n=e.element("p"),s.c(),r=e.space(),p&&p.c(),l=e.empty(),e.attr(n,"class",t=a[10]?"LastWarningMessage":"")},m(u,b){e.insert(u,n,b),s.m(n,null),e.insert(u,r,b),p&&p.m(u,b),e.insert(u,l,b)},p(u,b){c===(c=o(u))&&s?s.p(u,b):(s.d(1),s=c(u),s&&(s.c(),s.m(n,null))),b[0]&1024&&t!==(t=u[10]?"LastWarningMessage":"")&&e.attr(n,"class",t),u[6]?p?p.p(u,b):(p=ve(u),p.c(),p.m(l.parentNode,l)):p&&(p.d(1),p=null)},d(u){u&&(e.detach(n),e.detach(r),e.detach(l)),s.d(),p&&p.d(u)}}}function Ge(a){let n,t=(a[19]("selectChannelMessage")||"Selectează metoda prin care vrei să primești codul OTP")+"",r;return{c(){n=e.element("p"),r=e.text(t)},m(l,o){e.insert(l,n,o),e.append(n,r)},p(l,o){o[0]&524288&&t!==(t=(l[19]("selectChannelMessage")||"Selectează metoda prin care vrei să primești codul OTP")+"")&&e.set_data(r,t)},d(l){l&&e.detach(n)}}}function Ye(a){let n,t=a[19]("otpExpiredMessage")+"",r;return{c(){n=e.element("p"),r=e.text(t),e.attr(n,"class","OtpNoticeMessage"),e.attr(n,"role","alert")},m(l,o){e.insert(l,n,o),e.append(n,r)},p(l,o){o[0]&524288&&t!==(t=l[19]("otpExpiredMessage")+"")&&e.set_data(r,t)},d(l){l&&e.detach(n)}}}function Je(a){let n=a[19]("popupMessage")+"",t;return{c(){t=e.text(n)},m(r,l){e.insert(r,t,l)},p(r,l){l[0]&524288&&n!==(n=r[19]("popupMessage")+"")&&e.set_data(t,n)},d(r){r&&e.detach(t)}}}function Qe(a){let n=a[19]("popupMessageLastWarning")+"",t;return{c(){t=e.text(n)},m(r,l){e.insert(r,t,l)},p(r,l){l[0]&524288&&n!==(n=r[19]("popupMessageLastWarning")+"")&&e.set_data(t,n)},d(r){r&&e.detach(t)}}}function ve(a){let n,t;return{c(){n=e.element("p"),t=e.text(a[8]),e.attr(n,"class","OtpErrorMessage"),e.attr(n,"role","alert")},m(r,l){e.insert(r,n,l),e.append(n,t)},p(r,l){l[0]&256&&e.set_data(t,r[8])},d(r){r&&e.detach(n)}}}function ke(a){let n,t,r,l;function o(p,u){return p[17]>0?$e:Ze}let c=o(a),s=c(a);return{c(){n=e.element("button"),s.c(),e.attr(n,"class","OtpButton"),n.disabled=t=!a[18],e.toggle_class(n,"disabled",!a[18]||a[16])},m(p,u){e.insert(p,n,u),s.m(n,null),r||(l=e.listen(n,"click",a[22]),r=!0)},p(p,u){c===(c=o(p))&&s?s.p(p,u):(s.d(1),s=c(p),s&&(s.c(),s.m(n,null))),u[0]&262144&&t!==(t=!p[18])&&(n.disabled=t),u[0]&327680&&e.toggle_class(n,"disabled",!p[18]||p[16])},d(p){p&&e.detach(n),s.d(),r=!1,l()}}}function Ze(a){let n=a[19]("sendCode")+"",t;return{c(){t=e.text(n)},m(r,l){e.insert(r,t,l)},p(r,l){l[0]&524288&&n!==(n=r[19]("sendCode")+"")&&e.set_data(t,n)},d(r){r&&e.detach(t)}}}function $e(a){let n=a[19]("waitSeconds")+"",t,r,l,o;return{c(){t=e.text(n),r=e.text(" ("),l=e.text(a[17]),o=e.text("s)")},m(c,s){e.insert(c,t,s),e.insert(c,r,s),e.insert(c,l,s),e.insert(c,o,s)},p(c,s){s[0]&524288&&n!==(n=c[19]("waitSeconds")+"")&&e.set_data(t,n),s[0]&131072&&e.set_data(l,c[17])},d(c){c&&(e.detach(t),e.detach(r),e.detach(l),e.detach(o))}}}function et(a){let n,t,r=a[19]("timeRemaining")+"",l,o,c=a[23](a[5])+"",s,p,u=a[19]("minutes")+"",b,_,E,C=e.ensure_array_like(a[2]),g=[];for(let f=0;f<C.length;f+=1)g[f]=Ce(ye(a,C,f));return{c(){n=e.element("div"),t=e.element("div"),l=e.text(r),o=e.space(),s=e.text(c),p=e.space(),b=e.text(u),_=e.space(),E=e.element("div");for(let f=0;f<g.length;f+=1)g[f].c();e.attr(t,"class","OtpTimer"),e.attr(E,"class","OtpField"),e.attr(n,"class","OtpFieldWrapper")},m(f,w){e.insert(f,n,w),e.append(n,t),e.append(t,l),e.append(t,o),e.append(t,s),e.append(t,p),e.append(t,b),e.append(n,_),e.append(n,E);for(let v=0;v<g.length;v+=1)g[v]&&g[v].m(E,null)},p(f,w){if(w[0]&524288&&r!==(r=f[19]("timeRemaining")+"")&&e.set_data(l,r),w[0]&32&&c!==(c=f[23](f[5])+"")&&e.set_data(s,c),w[0]&524288&&u!==(u=f[19]("minutes")+"")&&e.set_data(b,u),w[0]&117458964){C=e.ensure_array_like(f[2]);let v;for(v=0;v<C.length;v+=1){const M=ye(f,C,v);g[v]?g[v].p(M,w):(g[v]=Ce(M),g[v].c(),g[v].m(E,null))}for(;v<g.length;v+=1)g[v].d(1);g.length=C.length}},d(f){f&&e.detach(n),e.destroy_each(g,f)}}}function tt(a){let n;return{c(){n=e.element("div"),n.innerHTML='<span class="OtpLoader"></span>',e.attr(n,"class","OtpLoaderContainer")},m(t,r){e.insert(t,n,r)},p:e.noop,d(t){t&&e.detach(n)}}}function Ce(a){let n,t,r,l=a[71],o,c;const s=()=>a[41](n,l),p=()=>a[41](null,l);function u(..._){return a[42](a[71],..._)}function b(..._){return a[43](a[71],..._)}return{c(){n=e.element("input"),e.attr(n,"id",`otp-input-${a[71]}`),e.attr(n,"type","text"),e.attr(n,"class",t=`otp-box ${a[4].inputLength%2===0&&a[71]===a[4].inputLength/2-1?"space":""}`),e.attr(n,"maxlength",1),n.value=r=a[69],e.attr(n,"inputmode","numeric"),n.disabled=a[11],e.attr(n,"autocomplete","off")},m(_,E){e.insert(_,n,E),s(),o||(c=[e.listen(n,"input",u),e.listen(n,"keydown",b),e.listen(n,"paste",a[24])],o=!0)},p(_,E){a=_,E[0]&16&&t!==(t=`otp-box ${a[4].inputLength%2===0&&a[71]===a[4].inputLength/2-1?"space":""}`)&&e.attr(n,"class",t),E[0]&4&&r!==(r=a[69])&&n.value!==r&&(n.value=r),E[0]&2048&&(n.disabled=a[11]),l!==a[71]&&(p(),l=a[71],s())},d(_){_&&e.detach(n),p(),o=!1,e.run_all(c)}}}function nt(a){let n,t=a[19]("submit")+"",r,l,o,c;return{c(){n=e.element("button"),r=e.text(t),e.attr(n,"class","OtpButton"),n.disabled=l=a[2].join("").length!==a[4].inputLength||a[13]||a[15]},m(s,p){e.insert(s,n,p),e.append(n,r),o||(c=e.listen(n,"click",a[29]),o=!0)},p(s,p){p[0]&524288&&t!==(t=s[19]("submit")+"")&&e.set_data(r,t),p[0]&40980&&l!==(l=s[2].join("").length!==s[4].inputLength||s[13]||s[15])&&(n.disabled=l)},d(s){s&&e.detach(n),o=!1,c()}}}function at(a){let n,t=a[19]("resendOtp")+"",r,l,o;return{c(){n=e.element("button"),r=e.text(t),e.attr(n,"class","OtpButton")},m(c,s){e.insert(c,n,s),e.append(n,r),l||(o=e.listen(n,"click",a[27]),l=!0)},p(c,s){s[0]&524288&&t!==(t=c[19]("resendOtp")+"")&&e.set_data(r,t)},d(c){c&&e.detach(n),l=!1,o()}}}function rt(a){let n;function t(o,c){return o[7]?Xe:Ue}let r=t(a),l=r(a);return{c(){n=e.element("div"),l.c(),e.attr(n,"class","OtpContent")},m(o,c){e.insert(o,n,c),l.m(n,null),a[44](n)},p(o,c){r===(r=t(o))&&l?l.p(o,c):(l.d(1),l=r(o),l&&(l.c(),l.m(n,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(n),l.d(),a[44](null)}}}function lt(a,n,t){let r,l,o;e.component_subscribe(a,e.$format,i=>t(19,o=i));let{clientstyling:c=""}=n,{clientstylingurl:s=""}=n,{mbsource:p}=n,{lang:u="en"}=n,{endpoint:b}=n,{session:_}=n,{translationurl:E}=n,{templateid:C}=n,g=[],f=!0,w=null,v=0,M="",H="",D=!1,A=!1,T="",X="",j="",q=!1,Y=!1,F=!1,k="",O={},P=null,J=!1,Q=!1,Z="",V,re,B=[],R=null,W=0,$=!1,ee=!1;const te={SMS:"sms",EMAIL:"email"},U={MAX_ATTEMPTS_EXCEEDED:"gm.twofa.token_max_attempts_exceeded",INTERNAL_SERVER_ERROR:"gm.multifactorauthentication.internal_server_error",MAX_INVALIDATE:"gm.multifactorauthentication.challenge_internal_server_error"};Object.keys(we).forEach(i=>{be(i,we[i])});const N=()=>{qe(u)},I=()=>{fetch(E).then(i=>i.json()).then(i=>{Object.keys(i).forEach(m=>{be(m,i[m])})}).catch(i=>{console.log(i)})},le=i=>ae(this,null,function*(){var m;if((m=i.detail)!=null&&m["x-step-up-required"]){if(t(7,A=!1),t(6,D=!1),t(8,T=""),X=i.detail["x-step-up-token"],j=i.detail.flow,!X||!j){t(3,f=!1),t(7,A=!0),t(8,T=o("configError"));return}t(12,J=!1),t(3,f=!1)}}),K=()=>{R&&(clearInterval(R),R=null),P&&(clearInterval(P),P=null),t(6,D=!1),t(7,A=!1),t(8,T=""),t(10,Y=!1),t(2,g=[]),t(4,w=null),t(3,f=!0),t(0,k=""),t(12,J=!1),t(38,O={})},x=()=>{K()},ie=()=>new Promise((i,m)=>{const h=new URL(`${b}/api/pam/v1/mfa/challenge/${X}`),S=new Headers;S.append("accept","application/json"),S.append("Content-Type","application/json"),S.append("X-SessionId",`${_}`),t(16,ee=!0);const ne={method:"PATCH",headers:S,body:JSON.stringify({channel:k,templateId:C})};fetch(h,ne).then(me=>me.json()).then(()=>{t(15,$=!1),y(),se(),i()}).catch(me=>{m()})}),G=()=>{P&&clearInterval(P),P=setInterval(()=>{const i=ce({},O);let m=!1;Object.keys(i).forEach(h=>{i[h]>0&&(i[h]--,m=!0)}),t(38,O=i),!m&&P&&(clearInterval(P),P=null)},1e3)},L=i=>{t(0,k=i)},d=()=>ae(this,null,function*(){if(!(!k||O[k]&&O[k]>0)){t(3,f=!0),C&&C.startsWith("2fa-")&&t(30,C=`2fa-${k}`);try{yield ie(),yield pe(),t(38,O=_e(ce({},O),{[k]:30})),G(),t(12,J=!0),y(),se()}catch(i){console.error("Error submitting channel:",i),t(6,D=!0),t(8,T=o("submissionError"))}finally{t(3,f=!1)}}}),y=()=>{const i=new Date(M),m=new Date(H),h=new Date,S=m.getTime()-h.getTime();W=i.getTime()-S;const z=Date.now(),ne=Math.max(0,Math.floor((W-z)/1e3));t(5,v=ne)},se=()=>{R&&clearInterval(R),R=setInterval(()=>{const i=Date.now(),m=Math.max(0,Math.floor((W-i)/1e3));t(5,v=m),t(11,F=m<=0),m<=0&&(clearInterval(R),R=null,t(9,q=!0),t(6,D=!1),t(10,Y=!1))},1e3)},Oe=i=>{const m=Math.floor(i/60),h=i%60;return`${m.toString().padStart(2,"0")}:${h.toString().padStart(2,"0")}`},oe=(i,m)=>{const h=[...g];h[i]=m.toUpperCase(),t(2,g=h),h.join("")!==Z&&t(13,Q=!1)},Se=i=>{var S,z,ne;i.preventDefault();const h=(((z=(S=i.clipboardData)==null?void 0:S.getData("text"))==null?void 0:z.trim())||"").slice(0,w.inputLength).split("");t(2,g=[...h,...Array(w.inputLength-h.length).fill("")]),(ne=B[h.length])==null||ne.focus(),h.length===w.inputLength&&fe()},de=(i,m)=>{const h=i.target,S=h.value;if(/^[a-z0-9]$/i.test(S)){oe(m,S);const z=B[m+1];z==null||z.focus()}h.value=""},ue=(i,m)=>{const h=i.key,S=i.ctrlKey||i.metaKey;if(/^[a-z0-9]$/i.test(h)){if(S&&h.toLowerCase()==="v")return;i.preventDefault(),oe(m,h);const z=B[m+1];z==null||z.focus()}else if(h==="Backspace"){i.preventDefault(),g[m]!==""&&oe(m,"");const z=B[m-1];z==null||z.focus()}},Me=()=>{j=="stateful"&&(ie(),t(9,q=!1));const i=new CustomEvent("otpResendRequested");window.dispatchEvent(i)},Te=i=>{window.dispatchEvent(new CustomEvent("otpSubmitted",{detail:{code:i,maxAttempts:w.maxValidationAttempts,validatedAttempts:w.numberOfValidateAttempts}}))},Le=i=>ae(this,null,function*(){const m=new URL(`/api/nwa/api/v1/mfa/challenge/${X}/validate`,b);m.searchParams.append("input",i);try{const h=yield fetch(m.href,{method:"POST"});if(h.status===200){xe();return}const S=yield h.json();throw new Error(S.message)}catch(h){if(yield pe(),h.message===U.INTERNAL_SERVER_ERROR){if(w.numberOfValidateAttempts===w.maxValidationAttempts-1){window.dispatchEvent(new CustomEvent("otpSetTimeout")),window.postMessage({type:"WidgetNotification",data:{type:"error",message:o("accountBlocked")}},window.location.href),window.dispatchEvent(new CustomEvent("manualClosePopup"));return}t(6,D=!0),t(8,T=o("invalidOtp")),pe();return}h.message===U.MAX_INVALIDATE&&(t(6,D=!0),t(8,T=o("invalidOtp"))),h.details===U.MAX_ATTEMPTS_EXCEEDED&&t(15,$=!0),console.error("OTP submission failed:",h),t(6,D=!0),t(8,T=o("submissionError"))}finally{t(3,f=!1)}}),xe=()=>{window.dispatchEvent(new CustomEvent("otpSuccess",{detail:{message:"User successfully authenticated"}}))},ze=()=>{window.dispatchEvent(new CustomEvent("manualClosePopup"))},fe=()=>ae(this,null,function*(){if(g.join("").length!==w.inputLength){t(6,D=!0),t(8,T=o("invalidOtp"));return}const i=g.join("");t(13,Q=!0),Z=i,t(3,f=!0),t(6,D=!1),t(8,T=""),j==="stateless"&&Te(i),j==="stateful"&&(yield Le(i))}),pe=()=>ae(this,null,function*(){if(b)try{t(3,f=!0);const i=new URL(`/api/nwa/api/v1/mfa/challenge/${X}/config`,b),m=yield fetch(i.href),h=yield m.json();if(m.ok)t(4,w=h),t(2,g=Array(w.inputLength).fill("")),t(9,q=!1),M=w.expirationTime,H=w.serverTime,w.numberOfValidateAttempts!==0&&(t(6,D=!0),t(8,T=o("invalidOtp"))),w.numberOfValidateAttempts===w.maxValidationAttempts-1&&t(10,Y=!0),t(3,f=!1),y(),se(),t(16,ee=!1);else if(h&&h.details===U.MAX_ATTEMPTS_EXCEEDED)window.dispatchEvent(new CustomEvent("manualClosePopup"));else{const S=h&&h.message||`Failed to load config. Status: ${m.status}`;throw new Error(S)}}catch(i){t(3,f=!1),t(7,A=!0),t(8,T=o("configError")),window.dispatchEvent(new CustomEvent("2fa-loading",{detail:{isLoading:!1}})),console.error("Error loading 2FA config:",i)}});e.onMount(()=>(window.addEventListener("stepUpAuthRequired",le,!1),window.addEventListener("closePopup",x,!1),()=>{window.removeEventListener("stepUpAuthRequired",le),window.removeEventListener("closePopup",x,!1),R&&clearInterval(R),P&&clearInterval(P)}));const Ae=()=>L(te.SMS),Re=()=>L(te.EMAIL);function Ie(i,m){e.binding_callbacks[i?"unshift":"push"](()=>{B[m]=i,t(14,B)})}const Pe=(i,m)=>de(m,i),De=(i,m)=>ue(m,i);function je(i){e.binding_callbacks[i?"unshift":"push"](()=>{V=i,t(1,V)})}return a.$$set=i=>{"clientstyling"in i&&t(31,c=i.clientstyling),"clientstylingurl"in i&&t(32,s=i.clientstylingurl),"mbsource"in i&&t(33,p=i.mbsource),"lang"in i&&t(34,u=i.lang),"endpoint"in i&&t(35,b=i.endpoint),"session"in i&&t(36,_=i.session),"translationurl"in i&&t(37,E=i.translationurl),"templateid"in i&&t(30,C=i.templateid)},a.$$.update=()=>{a.$$.dirty[0]&2|a.$$.dirty[1]&1&&c&&V&&e.setClientStyling(V,c),a.$$.dirty[0]&2|a.$$.dirty[1]&2&&s&&V&&e.setClientStylingURL(V,s),a.$$.dirty[0]&2|a.$$.dirty[1]&4&&p&&V&&e.setStreamStyling(V,`${p}.Style`,re),a.$$.dirty[1]&8&&u&&N(),a.$$.dirty[1]&72&&u&&E&&I(),a.$$.dirty[0]&1|a.$$.dirty[1]&128&&t(18,r=k&&(!O[k]||O[k]===0)),a.$$.dirty[0]&1|a.$$.dirty[1]&128&&t(17,l=k&&O[k]||0)},[k,V,g,f,w,v,D,A,T,q,Y,F,J,Q,B,$,ee,l,r,o,te,L,d,Oe,Se,de,ue,Me,ze,fe,C,c,s,p,u,b,_,E,O,Ae,Re,Ie,Pe,De,je]}class Ee extends e.SvelteComponent{constructor(n){super(),e.init$1(this,n,lt,rt,e.safe_not_equal,{clientstyling:31,clientstylingurl:32,mbsource:33,lang:34,endpoint:35,session:36,translationurl:37,templateid:30},Fe,[-1,-1,-1])}get clientstyling(){return this.$$.ctx[31]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[32]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}get lang(){return this.$$.ctx[34]}set lang(n){this.$$set({lang:n}),e.flush()}get endpoint(){return this.$$.ctx[35]}set endpoint(n){this.$$set({endpoint:n}),e.flush()}get session(){return this.$$.ctx[36]}set session(n){this.$$set({session:n}),e.flush()}get translationurl(){return this.$$.ctx[37]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}get templateid(){return this.$$.ctx[30]}set templateid(n){this.$$set({templateid:n}),e.flush()}}e.create_custom_element(Ee,{clientstyling:{},clientstylingurl:{},mbsource:{},lang:{},endpoint:{},session:{},translationurl:{},templateid:{}},[],[],!0);exports.default=Ee;
@@ -1,8 +1,9 @@
1
- import { a as it, $ as at, i as lt, S as nt, b as rt, s as ot, f as I, d as ct, g as R, t as B, h as F, a7 as ye, a8 as _e, l as A, n as h, p as m, q as ut, M as te, r as mt, D as $, E as He, w as H, L as ee, m as r, o as S, x as w, z as M, O as K, y as dt, ac as ft, ab as Fe, H as Ze, ad as Ke, A as Ae, v as $e, ae as ke, J as Pe, Q as De, af as et, ag as tt, ah as st, c as pt, B as ht } from "./CashierPage-DY5ngRhg.js";
2
- import { s as vt, a as gt, b as xt } from "./CashierHeader-BXQCcYBU.js";
1
+ import { a as it, $ as at, i as lt, S as nt, b as rt, s as ot, f as I, c as ct, e as R, t as B, g as F, a6 as ye, a7 as _e, k as A, m as h, o as m, p as ut, q as mt, Z as $, a4 as He, v as H, W as ee, l as r, n as S, w, G as M, A as Q, y as dt, ae as ft, L as Ke, af as Qe, x as Ae, r as $e, ah as ke, z as Fe, X as De, ai as et, aj as tt, ak as st, B as pt, C as ht, D as vt, E as gt, F as xt } from "./CashierCarousel-DJXsZKF9.js";
2
+ import { f as Pe } from "./CashierPage-DVMUYXPq.js";
3
+ import { d as te } from "./CashierMethodDetails-QnYW0RhM.js";
3
4
  import "../stencil/ui-image-BsYHwNhO.js";
4
- import { T as yt } from "./TxnTypeIcons-BpmVN0J8.js";
5
- import { T as _t } from "./TxnStatusIcon-Diii3Es2.js";
5
+ import { T as yt } from "./TxnTypeIcons-DhwUYw-o.js";
6
+ import { T as _t } from "./TxnStatusIcon-ssLhQR5N.js";
6
7
  lt({
7
8
  fallbackLocale: "en"
8
9
  });
@@ -112,30 +113,30 @@ function wt(i) {
112
113
  let e;
113
114
  return {
114
115
  c() {
115
- e = h("cashier-spinner"), K(
116
+ e = h("cashier-spinner"), Q(
116
117
  e,
117
118
  "clientstylingurl",
118
119
  /*clientstylingurl*/
119
120
  i[1]
120
- ), K(
121
+ ), Q(
121
122
  e,
122
123
  "clientstyling",
123
124
  /*clientstyling*/
124
125
  i[0]
125
- ), K(e, "class", "svelte-1xsmrqu");
126
+ ), Q(e, "class", "svelte-1xsmrqu");
126
127
  },
127
128
  m(s, t) {
128
129
  A(s, e, t);
129
130
  },
130
131
  p(s, t) {
131
132
  t[0] & /*clientstylingurl*/
132
- 2 && K(
133
+ 2 && Q(
133
134
  e,
134
135
  "clientstylingurl",
135
136
  /*clientstylingurl*/
136
137
  s[1]
137
138
  ), t[0] & /*clientstyling*/
138
- 1 && K(
139
+ 1 && Q(
139
140
  e,
140
141
  "clientstyling",
141
142
  /*clientstyling*/
@@ -167,7 +168,7 @@ function bt(i) {
167
168
  i[7]
168
169
  ), b = [];
169
170
  for (let p = 0; p < N.length; p += 1)
170
- b[p] = Qe(Ee(i, N, p));
171
+ b[p] = Je(Ee(i, N, p));
171
172
  const se = (p) => B(b[p], 1, 1, () => {
172
173
  b[p] = null;
173
174
  });
@@ -226,7 +227,7 @@ function bt(i) {
226
227
  let v;
227
228
  for (v = 0; v < N.length; v += 1) {
228
229
  const V = Ee(p, N, v);
229
- b[v] ? (b[v].p(V, C), F(b[v], 1)) : (b[v] = Qe(V), b[v].c(), F(b[v], 1), b[v].m(x, null));
230
+ b[v] ? (b[v].p(V, C), F(b[v], 1)) : (b[v] = Je(V), b[v].c(), F(b[v], 1), b[v].m(x, null));
230
231
  }
231
232
  for (ye(), v = N.length; v < b.length; v += 1)
232
233
  se(v);
@@ -277,12 +278,12 @@ function Ve(i) {
277
278
  i[12]("copyTransactionId") + "") && H(t, s);
278
279
  },
279
280
  i(o) {
280
- c || (o && Ze(() => {
281
- c && (u && u.end(1), a = Ke(e, Fe, { duration: 100 }), a.start());
281
+ c || (o && Ke(() => {
282
+ c && (u && u.end(1), a = Qe(e, Pe, { duration: 100 }), a.start());
282
283
  }), c = !0);
283
284
  },
284
285
  o(o) {
285
- a && a.invalidate(), o && (u = ft(e, Fe, { duration: (
286
+ a && a.invalidate(), o && (u = ft(e, Pe, { duration: (
286
287
  /*tooltipduration*/
287
288
  i[2]
288
289
  ) })), c = !1;
@@ -699,34 +700,34 @@ function Be(i) {
699
700
  ).format(
700
701
  /*datetimeformat*/
701
702
  i[5]
702
- ) + "", v, V, E, G, re = (
703
+ ) + "", v, V, E, Z, re = (
703
704
  /*$_*/
704
705
  i[12]("transactionPaymentMethodTitle") + ""
705
- ), ie, pe, he, X, W = (
706
+ ), ie, pe, he, G, W = (
706
707
  /*transaction*/
707
708
  i[45].PaymentMethod + ""
708
- ), oe, ce, Q, ae, ue = (
709
+ ), oe, ce, J, ae, ue = (
709
710
  /*$_*/
710
711
  i[12]("transactionCodeTitle") + ""
711
712
  ), ve, qe, me, Y, de, fe = (
712
713
  /*transaction*/
713
714
  i[45].Code + ""
714
- ), ge, Te, J, Z, n, y, j, P, le, xe, je, we, ne, be, Se, Ce, Ie, Re, ze, O = (
715
+ ), ge, Te, X, K, n, y, j, P, le, xe, je, we, ne, be, Se, Ce, Ie, Re, ze, O = (
715
716
  /*transaction*/
716
- i[45].RejectionNote && Je(i)
717
+ i[45].RejectionNote && Xe(i)
717
718
  ), U = (
718
719
  /*transaction*/
719
- i[45].PaymentFields && Xe(i)
720
+ i[45].PaymentFields && Ge(i)
720
721
  );
721
722
  return {
722
723
  c() {
723
- e = h("tr"), s = h("td"), t = h("div"), a = h("div"), u = h("div"), c = h("span"), l = w(o), g = w(" :"), q = S(), f = h("span"), x = w(d), _ = S(), T = h("div"), z = h("span"), N = w(k), b = w(" :"), se = S(), p = h("span"), v = w(C), V = S(), E = h("div"), G = h("span"), ie = w(re), pe = w(" :"), he = S(), X = h("span"), oe = w(W), ce = S(), Q = h("div"), ae = h("span"), ve = w(ue), qe = w(" :"), me = S(), Y = h("span"), de = h("span"), ge = w(fe), Te = S(), J = De("svg"), Z = De("g"), n = De("path"), y = De("path"), P = S(), O && O.c(), le = S(), xe = h("div"), U && U.c(), je = S(), we = h("div"), ne = h("ui-image"), Ie = S(), m(c, "class", "DetailsTitle svelte-1xsmrqu"), m(f, "class", "DetailsValue svelte-1xsmrqu"), m(u, "class", "DetailsRow svelte-1xsmrqu"), m(z, "class", "DetailsTitle svelte-1xsmrqu"), m(p, "class", "DetailsValue svelte-1xsmrqu"), m(T, "class", "DetailsRow svelte-1xsmrqu"), m(G, "class", "DetailsTitle svelte-1xsmrqu"), m(X, "class", "DetailsValue svelte-1xsmrqu"), m(E, "class", "DetailsRow svelte-1xsmrqu"), m(ae, "class", "DetailsTitle svelte-1xsmrqu"), m(de, "class", "svelte-1xsmrqu"), m(n, "d", "M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"), m(n, "stroke", "#666666"), m(n, "stroke-linecap", "round"), m(n, "stroke-linejoin", "round"), m(n, "class", "svelte-1xsmrqu"), m(y, "d", "M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"), m(y, "stroke", "#666666"), m(y, "stroke-linecap", "round"), m(y, "stroke-linejoin", "round"), m(y, "class", "svelte-1xsmrqu"), m(Z, "opacity", "0.5"), m(Z, "class", "svelte-1xsmrqu"), m(J, "xmlns", "http://www.w3.org/2000/svg"), m(J, "width", "19"), m(J, "height", "19"), m(J, "viewBox", "0 0 19 19"), m(J, "fill", "none"), m(J, "class", "svelte-1xsmrqu"), m(Y, "data-copy", j = /*transaction*/
724
- i[45].Code), m(Y, "class", "DetailsValue CopyCode svelte-1xsmrqu"), m(Q, "class", "DetailsRow svelte-1xsmrqu"), m(a, "class", "StaticDetails svelte-1xsmrqu"), m(xe, "class", "DynamicDetails svelte-1xsmrqu"), Pe(ne.src, be = /*transaction*/
725
- i[45].Logo) || K(ne, "src", be), K(ne, "class", "svelte-1xsmrqu"), m(we, "class", "DetailsLogo svelte-1xsmrqu"), m(t, "class", "ExpandedContent svelte-1xsmrqu"), m(s, "colspan", Ce = /*tableColumns*/
724
+ e = h("tr"), s = h("td"), t = h("div"), a = h("div"), u = h("div"), c = h("span"), l = w(o), g = w(" :"), q = S(), f = h("span"), x = w(d), _ = S(), T = h("div"), z = h("span"), N = w(k), b = w(" :"), se = S(), p = h("span"), v = w(C), V = S(), E = h("div"), Z = h("span"), ie = w(re), pe = w(" :"), he = S(), G = h("span"), oe = w(W), ce = S(), J = h("div"), ae = h("span"), ve = w(ue), qe = w(" :"), me = S(), Y = h("span"), de = h("span"), ge = w(fe), Te = S(), X = De("svg"), K = De("g"), n = De("path"), y = De("path"), P = S(), O && O.c(), le = S(), xe = h("div"), U && U.c(), je = S(), we = h("div"), ne = h("ui-image"), Ie = S(), m(c, "class", "DetailsTitle svelte-1xsmrqu"), m(f, "class", "DetailsValue svelte-1xsmrqu"), m(u, "class", "DetailsRow svelte-1xsmrqu"), m(z, "class", "DetailsTitle svelte-1xsmrqu"), m(p, "class", "DetailsValue svelte-1xsmrqu"), m(T, "class", "DetailsRow svelte-1xsmrqu"), m(Z, "class", "DetailsTitle svelte-1xsmrqu"), m(G, "class", "DetailsValue svelte-1xsmrqu"), m(E, "class", "DetailsRow svelte-1xsmrqu"), m(ae, "class", "DetailsTitle svelte-1xsmrqu"), m(de, "class", "svelte-1xsmrqu"), m(n, "d", "M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"), m(n, "stroke", "#666666"), m(n, "stroke-linecap", "round"), m(n, "stroke-linejoin", "round"), m(n, "class", "svelte-1xsmrqu"), m(y, "d", "M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"), m(y, "stroke", "#666666"), m(y, "stroke-linecap", "round"), m(y, "stroke-linejoin", "round"), m(y, "class", "svelte-1xsmrqu"), m(K, "opacity", "0.5"), m(K, "class", "svelte-1xsmrqu"), m(X, "xmlns", "http://www.w3.org/2000/svg"), m(X, "width", "19"), m(X, "height", "19"), m(X, "viewBox", "0 0 19 19"), m(X, "fill", "none"), m(X, "class", "svelte-1xsmrqu"), m(Y, "data-copy", j = /*transaction*/
725
+ i[45].Code), m(Y, "class", "DetailsValue CopyCode svelte-1xsmrqu"), m(J, "class", "DetailsRow svelte-1xsmrqu"), m(a, "class", "StaticDetails svelte-1xsmrqu"), m(xe, "class", "DynamicDetails svelte-1xsmrqu"), Fe(ne.src, be = /*transaction*/
726
+ i[45].Logo) || Q(ne, "src", be), Q(ne, "class", "svelte-1xsmrqu"), m(we, "class", "DetailsLogo svelte-1xsmrqu"), m(t, "class", "ExpandedContent svelte-1xsmrqu"), m(s, "colspan", Ce = /*tableColumns*/
726
727
  i[10].length), m(s, "class", "no-padding svelte-1xsmrqu"), m(e, "class", "ExpandedRow svelte-1xsmrqu");
727
728
  },
728
729
  m(D, L) {
729
- A(D, e, L), r(e, s), r(s, t), r(t, a), r(a, u), r(u, c), r(c, l), r(c, g), r(u, q), r(u, f), r(f, x), r(a, _), r(a, T), r(T, z), r(z, N), r(z, b), r(T, se), r(T, p), r(p, v), r(a, V), r(a, E), r(E, G), r(G, ie), r(G, pe), r(E, he), r(E, X), r(X, oe), r(a, ce), r(a, Q), r(Q, ae), r(ae, ve), r(ae, qe), r(Q, me), r(Q, Y), r(Y, de), r(de, ge), r(Y, Te), r(Y, J), r(J, Z), r(Z, n), r(Z, y), r(a, P), O && O.m(a, null), r(t, le), r(t, xe), U && U.m(xe, null), r(t, je), r(t, we), r(we, ne), r(e, Ie), Re || (ze = Ae(
730
+ A(D, e, L), r(e, s), r(s, t), r(t, a), r(a, u), r(u, c), r(c, l), r(c, g), r(u, q), r(u, f), r(f, x), r(a, _), r(a, T), r(T, z), r(z, N), r(z, b), r(T, se), r(T, p), r(p, v), r(a, V), r(a, E), r(E, Z), r(Z, ie), r(Z, pe), r(E, he), r(E, G), r(G, oe), r(a, ce), r(a, J), r(J, ae), r(ae, ve), r(ae, qe), r(J, me), r(J, Y), r(Y, de), r(de, ge), r(Y, Te), r(Y, X), r(X, K), r(K, n), r(K, y), r(a, P), O && O.m(a, null), r(t, le), r(t, xe), U && U.m(xe, null), r(t, je), r(t, we), r(we, ne), r(e, Ie), Re || (ze = Ae(
730
731
  Y,
731
732
  "mousedown",
732
733
  /*mousedown_handler*/
@@ -759,16 +760,16 @@ function Be(i) {
759
760
  D[45].Code + "") && H(ge, fe), L[0] & /*txnHistory*/
760
761
  128 && j !== (j = /*transaction*/
761
762
  D[45].Code) && m(Y, "data-copy", j), /*transaction*/
762
- D[45].RejectionNote ? O ? O.p(D, L) : (O = Je(D), O.c(), O.m(a, null)) : O && (O.d(1), O = null), /*transaction*/
763
- D[45].PaymentFields ? U ? U.p(D, L) : (U = Xe(D), U.c(), U.m(xe, null)) : U && (U.d(1), U = null), L[0] & /*txnHistory*/
764
- 128 && !Pe(ne.src, be = /*transaction*/
765
- D[45].Logo) && K(ne, "src", be), L[0] & /*tableColumns*/
763
+ D[45].RejectionNote ? O ? O.p(D, L) : (O = Xe(D), O.c(), O.m(a, null)) : O && (O.d(1), O = null), /*transaction*/
764
+ D[45].PaymentFields ? U ? U.p(D, L) : (U = Ge(D), U.c(), U.m(xe, null)) : U && (U.d(1), U = null), L[0] & /*txnHistory*/
765
+ 128 && !Fe(ne.src, be = /*transaction*/
766
+ D[45].Logo) && Q(ne, "src", be), L[0] & /*tableColumns*/
766
767
  1024 && Ce !== (Ce = /*tableColumns*/
767
768
  D[10].length) && m(s, "colspan", Ce);
768
769
  },
769
770
  i(D) {
770
- D && (Se || Ze(() => {
771
- Se = Ke(
771
+ D && (Se || Ke(() => {
772
+ Se = Qe(
772
773
  t,
773
774
  /*slideInOnly*/
774
775
  i[15],
@@ -782,7 +783,7 @@ function Be(i) {
782
783
  }
783
784
  };
784
785
  }
785
- function Je(i) {
786
+ function Xe(i) {
786
787
  let e, s, t = (
787
788
  /*$_*/
788
789
  i[12]("transactionRejectionNoteTitle") + ""
@@ -809,13 +810,13 @@ function Je(i) {
809
810
  }
810
811
  };
811
812
  }
812
- function Xe(i) {
813
+ function Ge(i) {
813
814
  let e, s = $(Object.entries(
814
815
  /*transaction*/
815
816
  i[45].PaymentFields
816
817
  )), t = [];
817
818
  for (let a = 0; a < s.length; a += 1)
818
- t[a] = Ge(Le(i, s, a));
819
+ t[a] = Ze(Le(i, s, a));
819
820
  return {
820
821
  c() {
821
822
  for (let a = 0; a < t.length; a += 1)
@@ -837,7 +838,7 @@ function Xe(i) {
837
838
  let c;
838
839
  for (c = 0; c < s.length; c += 1) {
839
840
  const o = Le(a, s, c);
840
- t[c] ? t[c].p(o, u) : (t[c] = Ge(o), t[c].c(), t[c].m(e.parentNode, e));
841
+ t[c] ? t[c].p(o, u) : (t[c] = Ze(o), t[c].c(), t[c].m(e.parentNode, e));
841
842
  }
842
843
  for (; c < t.length; c += 1)
843
844
  t[c].d(1);
@@ -849,7 +850,7 @@ function Xe(i) {
849
850
  }
850
851
  };
851
852
  }
852
- function Ge(i) {
853
+ function Ze(i) {
853
854
  let e, s, t = (
854
855
  /*$_*/
855
856
  i[12](`transaction${/*key*/
@@ -884,7 +885,7 @@ function Ge(i) {
884
885
  }
885
886
  };
886
887
  }
887
- function Qe(i) {
888
+ function Je(i) {
888
889
  let e, s, t, a, u, c, o = $(
889
890
  /*tableColumns*/
890
891
  i[10]
@@ -1022,8 +1023,8 @@ function zt(i) {
1022
1023
  }
1023
1024
  function Ft(i, e, s) {
1024
1025
  let t;
1025
- ut(i, ht, (n) => s(12, t = n));
1026
- let { endpoint: a } = e, { session: u } = e, { lang: c = "en" } = e, { customerid: o } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: q } = e, { tooltipduration: f = 1e3 } = e, { txncount: d } = e, { mbsource: x = "" } = e, { columns: _ } = e, { page: T = "0" } = e, { calculateprofit: z = "false" } = e, { fromdate: k = te().subtract(3, "month") } = e, { todate: N = te() } = e, { isshorttransactionhistory: b = "false" } = e, { dateformat: se = "DD.MM.YYYY" } = e, { datetimeformat: p = "DD.MM.YYYY HH:mm:ss" } = e, { userroles: C = "" } = e, v = [], V = !1, E, G, re, ie = !1, pe = [], he = [], X;
1026
+ ut(i, xt, (n) => s(12, t = n));
1027
+ let { endpoint: a } = e, { session: u } = e, { lang: c = "en" } = e, { customerid: o } = e, { clientstyling: l = "" } = e, { clientstylingurl: g = "" } = e, { translationurl: q } = e, { tooltipduration: f = 1e3 } = e, { txncount: d } = e, { mbsource: x = "" } = e, { columns: _ } = e, { page: T = "0" } = e, { calculateprofit: z = "false" } = e, { fromdate: k = te().subtract(3, "month") } = e, { todate: N = te() } = e, { isshorttransactionhistory: b = "false" } = e, { dateformat: se = "DD.MM.YYYY" } = e, { datetimeformat: p = "DD.MM.YYYY HH:mm:ss" } = e, { userroles: C = "" } = e, v = [], V = !1, E, Z, re, ie = !1, pe = [], he = [], G;
1027
1028
  var W;
1028
1029
  (function(n) {
1029
1030
  n.Deposit = "deposit", n.Withdraw = "withdraw", n.Refund = "refund", n.Unknown = "unknown", n.TaxDeduction = "taxDeduction";
@@ -1045,7 +1046,7 @@ function Ft(i, e, s) {
1045
1046
  n.Authorized = "Authorized", n.Success = "Success", n.Failed = "Failed", n.Rejected = "Rejected", n.Pending = "Pending";
1046
1047
  })(ce || (ce = {})), mt(() => () => {
1047
1048
  });
1048
- const Q = () => {
1049
+ const J = () => {
1049
1050
  let n = q;
1050
1051
  if (n)
1051
1052
  return fetch(n).then((y) => y.json()).then((y) => {
@@ -1093,7 +1094,7 @@ function Ft(i, e, s) {
1093
1094
  };
1094
1095
  z === "true" && (le.statistic = P.statistic), window.postMessage(le, window.location.href);
1095
1096
  }).catch((P) => console.log(P)).finally(() => s(9, ie = !1));
1096
- }, ve = (n) => (s(10, he = _.split(",")), s(11, X = null), n.map((y) => {
1097
+ }, ve = (n) => (s(10, he = _.split(",")), s(11, G = null), n.map((y) => {
1097
1098
  let j = y.generalFields.status;
1098
1099
  return y.generalFields.status.toLowerCase().includes("pending") && (j = ce.Pending), {
1099
1100
  Code: y.generalFields.code,
@@ -1116,7 +1117,7 @@ function Ft(i, e, s) {
1116
1117
  }, me = (n, y = !0) => {
1117
1118
  const P = n.currentTarget.dataset.copy;
1118
1119
  P && navigator.clipboard.writeText(P).then(() => {
1119
- y && (s(8, V = !0), clearTimeout(G), G = setTimeout(
1120
+ y && (s(8, V = !0), clearTimeout(Z), Z = setTimeout(
1120
1121
  () => {
1121
1122
  s(8, V = !1);
1122
1123
  },
@@ -1126,15 +1127,15 @@ function Ft(i, e, s) {
1126
1127
  console.error("Could not copy text: ", le);
1127
1128
  });
1128
1129
  }, Y = (n) => {
1129
- b !== "true" && s(11, X = X === n ? null : n);
1130
+ b !== "true" && s(11, G = G === n ? null : n);
1130
1131
  }, de = (n, y) => ({
1131
1132
  delay: 0,
1132
1133
  duration: 250,
1133
1134
  css: (j) => `overflow: hidden; transform: translateY(${(1 - j) * 20}px); opacity: ${j}`
1134
1135
  }), fe = () => {
1135
1136
  C.length > 0 && (pe = C.split(","));
1136
- }, ge = (n) => me(n), Te = (n) => Y(n), J = (n) => me(n, !1);
1137
- function Z(n) {
1137
+ }, ge = (n) => me(n), Te = (n) => Y(n), X = (n) => me(n, !1);
1138
+ function K(n) {
1138
1139
  dt[n ? "unshift" : "push"](() => {
1139
1140
  E = n, s(6, E);
1140
1141
  });
@@ -1144,11 +1145,11 @@ function Ft(i, e, s) {
1144
1145
  }, i.$$.update = () => {
1145
1146
  i.$$.dirty[0] & /*lang*/
1146
1147
  262144 && c && ae(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
1147
- 65 && l && E && vt(E, l), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1148
- 66 && g && E && gt(E, g), i.$$.dirty[0] & /*endpoint, session, customerid, lang, fromdate, todate, page, calculateprofit*/
1148
+ 65 && l && E && pt(E, l), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
1149
+ 66 && g && E && ht(E, g), i.$$.dirty[0] & /*endpoint, session, customerid, lang, fromdate, todate, page, calculateprofit*/
1149
1150
  252641280 && a && u && o && c && k && N && T && z && ue(), i.$$.dirty[0] & /*translationurl*/
1150
- 1048576 && q && Q(), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
1151
- 4194368 && x && E && xt(E, `${x}.Style`, re), i.$$.dirty[0] & /*userroles*/
1151
+ 1048576 && q && J(), i.$$.dirty[0] & /*mbsource, customStylingContainer*/
1152
+ 4194368 && x && E && vt(E, `${x}.Style`, re), i.$$.dirty[0] & /*userroles*/
1152
1153
  268435456 && C && fe();
1153
1154
  }, [
1154
1155
  l,
@@ -1162,7 +1163,7 @@ function Ft(i, e, s) {
1162
1163
  V,
1163
1164
  ie,
1164
1165
  he,
1165
- X,
1166
+ G,
1166
1167
  t,
1167
1168
  me,
1168
1169
  Y,
@@ -1182,8 +1183,8 @@ function Ft(i, e, s) {
1182
1183
  C,
1183
1184
  ge,
1184
1185
  Te,
1185
- J,
1186
- Z
1186
+ X,
1187
+ K
1187
1188
  ];
1188
1189
  }
1189
1190
  class Pt extends nt {
@@ -1334,7 +1335,7 @@ class Pt extends nt {
1334
1335
  this.$$set({ userroles: e }), I();
1335
1336
  }
1336
1337
  }
1337
- pt(Pt, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {}, mbsource: {}, columns: {}, page: {}, calculateprofit: {}, fromdate: {}, todate: {}, isshorttransactionhistory: {}, dateformat: {}, datetimeformat: {}, userroles: {} }, [], [], !0);
1338
+ gt(Pt, { endpoint: {}, session: {}, lang: {}, customerid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, tooltipduration: {}, txncount: {}, mbsource: {}, columns: {}, page: {}, calculateprofit: {}, fromdate: {}, todate: {}, isshorttransactionhistory: {}, dateformat: {}, datetimeformat: {}, userroles: {} }, [], [], !0);
1338
1339
  export {
1339
1340
  Pt as default
1340
1341
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CashierCarousel-DMrMmClP.cjs"),he=require("./CashierPage-Ct9EikF7.cjs"),O=require("./CashierMethodDetails-fgXAscSs.cjs");require("../stencil/ui-image-IJc7Zz_R.cjs");const je=require("./TxnTypeIcons-CTQXT_j5.cjs"),Ie=require("./TxnStatusIcon-CWkyVMIU.cjs");e.init({fallbackLocale:"en"});function _e(a,t){e.addMessages(a,t)}function Ae(a){e.$locale.set(a)}const ve={en:{transactionHistoryTitle:"Transaction History",transactionCodeTitle:"ID",transactionDateTitle:"Date",transactionDateTimeTitle:"Date",transactionTypeTitle:"Type",transactionStatusTitle:"Status",transactionStatusIconTitle:"Status",transactionTypeIconTitle:"Type",copyTransactionId:"Transaction Id copied to clipboard",transactionAmountTitle:"Amount",transactionPaymentMethodTitle:"Payment Method",transactionRejectionNoteTitle:"Rejection Note",transactionStatus:{Authorized:"Authorized",Success:"Success",Failed:"Failed",Rejected:"Rejected",Pending:"Pending"},transactionType:{Deposit:"Deposit",Withdraw:"Withdraw"}},tr:{transactionHistoryTitle:"İşlem Geçmişi",transactionIdTitle:"İşlem ID'si",transactionDateTitle:"Tarih",transactionDateTimeTitle:"Tarih",transactionTypeTitle:"Tip",transactionStatusTitle:"Durum",transactionStatusIconTitle:"Durum",transactionTypeIconTitle:"Tip",transactionAmountTitle:"Tutar",transactionRejectionNoteTitle:"Reddetme Notu",transactionPaymentMethodTitle:"Ödeme Yöntemi",copyTransactionId:"İşlem ID’si kopyalandı",transactionStatus:{Authorized:"Onaylandı",Success:"Başarılı",Failed:"Başarısız",Rejected:"Reddedildi",Pending:"Beklemede"},transactionType:{Deposit:"Para Yatır",Withdraw:"Çekim"}},fr:{transactionHistoryTitle:"Historique des transactions",transactionCodeTitle:"ID",transactionDateTitle:"Date",transactionDateTimeTitle:"Date",transactionTypeTitle:"Type",transactionStatusTitle:"Statut",transactionStatusIconTitle:"Statut",transactionTypeIconTitle:"Type",copyTransactionId:"ID de transaction copié dans le presse-papiers",transactionAmountTitle:"Montant",transactionPaymentMethodTitle:"Moyen de paiement",transactionRejectionNoteTitle:"Motif du rejet",transactionStatus:{Authorized:"Autorisé",Success:"Succès",Failed:"Échec",Rejected:"Rejeté",Pending:"En attente"},transactionType:{Deposit:"Dépôt",Withdraw:"Retrait"}}};function Pe(a){e.append_styles(a,"svelte-1xsmrqu",'.svelte-1xsmrqu.svelte-1xsmrqu,.svelte-1xsmrqu.svelte-1xsmrqu::before,.svelte-1xsmrqu.svelte-1xsmrqu::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-style:inherit}.CopyTooltip.svelte-1xsmrqu.svelte-1xsmrqu{width:50%;max-width:400px;display:flex;align-items:center;justify-content:center;background-color:var(--emw--color-primary, rgba(249, 196, 5, 0.6078431373));transform:translateX(-50%);color:var(--emw--color-typography-button, #000000);border-radius:var(--mmw--border-radius-medium-plus, 6px);z-index:2;opacity:1;container-name:copy-tooltip;font-size:var(--emw--font-size-medium, 16px);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);padding:15px;position:fixed;left:50%;top:40%;box-shadow:inset 0px 0px 0px 2px rgba(255, 255, 255, 0.2)}.CashierTransactionHistoryContainer.svelte-1xsmrqu.svelte-1xsmrqu{position:relative;width:calc(100% - 20px);margin:auto}.CashierTransactionHistory.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;position:relative;width:100%;row-gap:var(--emw--spacing-small, 12px);container-name:transaction-history;container-type:inline-size;margin-bottom:var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{font-size:var(--emw--font-size-medium, 16px);word-break:break-all;width:100%;border-collapse:collapse;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;text-align:center;margin-bottom:var(--emw--spacing-small-minus, 10px)}.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu:not(:last-child){margin-bottom:var(--emw--spacing-large, 20px)}.CashierTransactionHistory.svelte-1xsmrqu thead tr.svelte-1xsmrqu{color:var(--emw--color-primary, #F9C405);font-size:12px;height:50px;background-color:rgba(255, 255, 255, 0.05)}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:12px;font-weight:200}.CashierTransactionHistory.svelte-1xsmrqu tbody tr.svelte-1xsmrqu:not(:last-child):not(.Expanded){border-bottom:1px solid rgba(232, 233, 235, 0.2117647059)}.CashierTransactionHistory.svelte-1xsmrqu .TypeIcon.svelte-1xsmrqu{display:flex}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon svg.svelte-1xsmrqu{flex:0 0 auto;width:18px;height:18px}.CashierTransactionHistory.svelte-1xsmrqu .StatusIcon span.svelte-1xsmrqu{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;width:80px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{max-width:250px;vertical-align:middle;height:40px;line-height:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 var(--emw--spacing-large, 20px) 0 var(--emw--spacing-small, 12px)}.CashierTransactionHistory.svelte-1xsmrqu td:last-child .CashierTransactionHistoryStatusText.svelte-1xsmrqu{width:calc(100% - var(--emw--spacing-2x-small-plus, 6px) * 3 - 5px);display:block}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:first-child{text-align:left;border-radius:10px 0 0 10px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:last-child{border-radius:0 10px 10px 0}.CashierTransactionHistory.svelte-1xsmrqu td .ExpandedContent.svelte-1xsmrqu{line-height:100%}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu{position:relative}.CashierTransactionHistory.svelte-1xsmrqu tr.svelte-1xsmrqu:not(.ExpandedRow):not(.CashierTransactionHistoryHeader):not(.AllowExpand):hover{background:var(--emw--color-gray-50, #F7F8FA)}@container transaction-history (width < 750px){.CashierTransactionHistory.svelte-1xsmrqu .CopyTooltip.svelte-1xsmrqu{width:100%}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu:has(.Code){max-width:135px}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-small, 12px) 0 var(--emw--spacing-small, 12px)}}@container transaction-history (width < 475px){.CashierTransactionHistory.svelte-1xsmrqu .CashierTransactionHistoryWrapper.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.svelte-1xsmrqu{padding:0 var(--emw--spacing-2x-small-plus, 6px)}.CashierTransactionHistory.svelte-1xsmrqu td.column-TypeIcon.svelte-1xsmrqu:first-child{width:40px;text-align:left}.CashierTransactionHistory.svelte-1xsmrqu td.column-Code.svelte-1xsmrqu:first-child{max-width:60px;text-align:left}}@container transaction-history (width < 350px){.CashierTransactionHistory.svelte-1xsmrqu table.svelte-1xsmrqu{table-layout:fixed}.CashierTransactionHistory.svelte-1xsmrqu table td.svelte-1xsmrqu{padding:0 0 0 var(--emw--spacing-small, 5px)}}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu{background:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));width:100%;box-sizing:border-box;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);padding:10px;z-index:1}.CashierTransactionHistoryWrapper.svelte-1xsmrqu.svelte-1xsmrqu::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-black, #000000) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 60%, var(--emw--color-white, #f5f5f5) 95%);opacity:0.2}.CashierTransactionHistoryTitle.svelte-1xsmrqu.svelte-1xsmrqu{display:none;color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-normal, 500);line-height:calc(var(--emw--font-size-medium, 16px) + 2px);text-align:left}.Code.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer;-webkit-user-select:none;-ms-user-select:none;user-select:none;line-height:inherit;display:inline}.StatusIcon.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;justify-content:center;gap:var(--emw--spacing-x-small, 6px)}.StatusIcon.svelte-1xsmrqu .StatusIconText.svelte-1xsmrqu{width:100px}.CashierTransactionHistoryStatus.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;gap:5px}.Amount.Withdraw.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"-"}.Amount.Deposit.svelte-1xsmrqu.svelte-1xsmrqu:before{content:"+"}.Amount.Deposit.Success.svelte-1xsmrqu.svelte-1xsmrqu{color:var(--emw--color-primary-dark, #4b975d)}.CashierTransactionHistoryStatusText.svelte-1xsmrqu.svelte-1xsmrqu{line-height:calc(var(--emw--font-size-medium, 16px) + 2px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CashierTransactionHistoryContent.svelte-1xsmrqu.svelte-1xsmrqu{width:100%;overflow:auto}.CashierTransactionHistoryIcon.svelte-1xsmrqu.svelte-1xsmrqu{vertical-align:middle;height:var(--emw--font-size-medium, 16px);width:var(--emw--font-size-medium, 16px)}.TransactionHistoryRow.svelte-1xsmrqu.svelte-1xsmrqu{cursor:pointer}.ShortHistory.svelte-1xsmrqu .CashierTransactionHistoryTitle.svelte-1xsmrqu{display:inline-block;margin:10px;font-weight:500}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu{cursor:auto}.ShortHistory.svelte-1xsmrqu .TransactionHistoryRow.svelte-1xsmrqu:hover{background:unset}.ExpandedContent.svelte-1xsmrqu.svelte-1xsmrqu{padding:var(--emw--spacing-large, 30px) var(--emw--spacing-small, 12px);position:relative;display:flex;flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.ExpandedContent.svelte-1xsmrqu .DetailsLogo.svelte-1xsmrqu{width:65px;position:absolute;top:var(--emw--spacing-large, 30px);right:var(--emw--spacing-small, 12px)}.StaticDetails.svelte-1xsmrqu.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;flex-direction:column;gap:var(--emw--spacing-small, 12px);width:100%}.StaticDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsTitle.svelte-1xsmrqu{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-size:var(--emw--font-size-medium, 16px);padding-right:6px}.StaticDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu,.DynamicDetails.svelte-1xsmrqu .DetailsValue.svelte-1xsmrqu{color:var(--emw--color-typography, #fff);font-size:var(--emw--font-size-medium, 12px);font-weight:200;white-space:normal;overflow-wrap:break-word;max-width:100%;word-break:normal}.DetailsRow.svelte-1xsmrqu.svelte-1xsmrqu{display:flex;align-items:center;flex-wrap:wrap;word-break:normal;overflow-wrap:break-word;white-space:normal}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code){max-width:250px}td.svelte-1xsmrqu.svelte-1xsmrqu:has(.Code):hover{background:rgba(255, 255, 255, 0.2);border-radius:10px}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu{display:inline-flex;gap:6px;align-items:center;cursor:pointer;border-radius:var(--mmw--border-radius-medium-plus, 6px);padding:4px 6px;max-width:60%}.CopyCode.svelte-1xsmrqu.svelte-1xsmrqu:hover{background:var(--emw--color-primary, rgba(249, 196, 5, 0.4117647059))}.CopyCode.svelte-1xsmrqu span.svelte-1xsmrqu{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block}.CopyCode.svelte-1xsmrqu svg.svelte-1xsmrqu{flex-shrink:0}')}function ge(a,t,n){const s=a.slice();return s[45]=t[n],s[47]=n,s}function xe(a,t,n){const s=a.slice();return s[48]=t[n][0],s[49]=t[n][1],s}function ye(a,t,n){const s=a.slice();return s[52]=t[n],s[47]=n,s}function qe(a,t,n){const s=a.slice();return s[52]=t[n],s[47]=n,s}function ze(a){let t;return{c(){t=e.element("cashier-spinner"),e.set_custom_element_data(t,"clientstylingurl",a[1]),e.set_custom_element_data(t,"clientstyling",a[0]),e.set_custom_element_data(t,"class","svelte-1xsmrqu")},m(n,s){e.insert(n,t,s)},p(n,s){s[0]&2&&e.set_custom_element_data(t,"clientstylingurl",n[1]),s[0]&1&&e.set_custom_element_data(t,"clientstyling",n[0])},i:e.noop,o:e.noop,d(n){n&&e.detach(t)}}}function Fe(a){let t,n,s,i,u=a[12]("transactionHistoryTitle")+"",c,o,l,h,x,p,d,_,g,y=a[8]&&Te(a),D=e.ensure_array_like(a[10]),w=[];for(let m=0;m<D.length;m+=1)w[m]=we(qe(a,D,m));let S=e.ensure_array_like(a[7]),q=[];for(let m=0;m<S.length;m+=1)q[m]=He(ge(a,S,m));const U=m=>e.transition_out(q[m],1,1,()=>{q[m]=null});return{c(){t=e.element("div"),y&&y.c(),n=e.space(),s=e.element("div"),i=e.element("h3"),c=e.text(u),o=e.space(),l=e.element("div"),h=e.element("table"),x=e.element("thead"),p=e.element("tr");for(let m=0;m<w.length;m+=1)w[m].c();d=e.space(),_=e.element("tbody");for(let m=0;m<q.length;m+=1)q[m].c();e.attr(i,"class","CashierTransactionHistoryTitle svelte-1xsmrqu"),e.attr(p,"class","CashierTransactionHistoryHeader svelte-1xsmrqu"),e.attr(x,"class","svelte-1xsmrqu"),e.attr(_,"class","svelte-1xsmrqu"),e.attr(h,"class","svelte-1xsmrqu"),e.attr(l,"class","CashierTransactionHistoryContent svelte-1xsmrqu"),e.attr(s,"class","CashierTransactionHistoryWrapper svelte-1xsmrqu"),e.attr(t,"class","CashierTransactionHistory svelte-1xsmrqu"),e.toggle_class(t,"ShortHistory",a[3]==="true")},m(m,T){e.insert(m,t,T),y&&y.m(t,null),e.append(t,n),e.append(t,s),e.append(s,i),e.append(i,c),e.append(s,o),e.append(s,l),e.append(l,h),e.append(h,x),e.append(x,p);for(let f=0;f<w.length;f+=1)w[f]&&w[f].m(p,null);e.append(h,d),e.append(h,_);for(let f=0;f<q.length;f+=1)q[f]&&q[f].m(_,null);a[32](t),g=!0},p(m,T){if(m[8]?y?(y.p(m,T),T[0]&256&&e.transition_in(y,1)):(y=Te(m),y.c(),e.transition_in(y,1),y.m(t,n)):y&&(e.group_outros(),e.transition_out(y,1,1,()=>{y=null}),e.check_outros()),(!g||T[0]&4096)&&u!==(u=m[12]("transactionHistoryTitle")+"")&&e.set_data(c,u),T[0]&5120){D=e.ensure_array_like(m[10]);let f;for(f=0;f<D.length;f+=1){const A=qe(m,D,f);w[f]?w[f].p(A,T):(w[f]=we(A),w[f].c(),w[f].m(p,null))}for(;f<w.length;f+=1)w[f].d(1);w.length=D.length}if(T[0]&32184){S=e.ensure_array_like(m[7]);let f;for(f=0;f<S.length;f+=1){const A=ge(m,S,f);q[f]?(q[f].p(A,T),e.transition_in(q[f],1)):(q[f]=He(A),q[f].c(),e.transition_in(q[f],1),q[f].m(_,null))}for(e.group_outros(),f=S.length;f<q.length;f+=1)U(f);e.check_outros()}(!g||T[0]&8)&&e.toggle_class(t,"ShortHistory",m[3]==="true")},i(m){if(!g){e.transition_in(y);for(let T=0;T<S.length;T+=1)e.transition_in(q[T]);g=!0}},o(m){e.transition_out(y),q=q.filter(Boolean);for(let T=0;T<q.length;T+=1)e.transition_out(q[T]);g=!1},d(m){m&&e.detach(t),y&&y.d(),e.destroy_each(w,m),e.destroy_each(q,m),a[32](null)}}}function Te(a){let t,n=a[12]("copyTransactionId")+"",s,i,u,c;return{c(){t=e.element("div"),s=e.text(n),e.attr(t,"class","CopyTooltip svelte-1xsmrqu")},m(o,l){e.insert(o,t,l),e.append(t,s),c=!0},p(o,l){a=o,(!c||l[0]&4096)&&n!==(n=a[12]("copyTransactionId")+"")&&e.set_data(s,n)},i(o){c||(o&&e.add_render_callback(()=>{c&&(u&&u.end(1),i=e.create_in_transition(t,he.fade,{duration:100}),i.start())}),c=!0)},o(o){i&&i.invalidate(),o&&(u=e.create_out_transition(t,he.fade,{duration:a[2]})),c=!1},d(o){o&&e.detach(t),o&&u&&u.end()}}}function we(a){let t,n=a[12](`transaction${a[52]}Title`)+"",s;return{c(){t=e.element("td"),s=e.text(n),e.attr(t,"class","svelte-1xsmrqu")},m(i,u){e.insert(i,t,u),e.append(t,s)},p(i,u){u[0]&5120&&n!==(n=i[12](`transaction${i[52]}Title`)+"")&&e.set_data(s,n)},d(i){i&&e.detach(t)}}}function Me(a){let t,n=a[45][a[52]]+"",s;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"class","svelte-1xsmrqu")},m(i,u){e.insert(i,t,u),e.append(t,s)},p(i,u){u[0]&1152&&n!==(n=i[45][i[52]]+"")&&e.set_data(s,n)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function Ne(a){let t=O.dayjs(a[45].DateTime).format(a[5])+"",n;return{c(){n=e.text(t)},m(s,i){e.insert(s,n,i)},p(s,i){i[0]&160&&t!==(t=O.dayjs(s[45].DateTime).format(s[5])+"")&&e.set_data(n,t)},i:e.noop,o:e.noop,d(s){s&&e.detach(n)}}}function Ee(a){let t=O.dayjs(a[45].Date).format(a[4])+"",n;return{c(){n=e.text(t)},m(s,i){e.insert(s,n,i)},p(s,i){i[0]&144&&t!==(t=O.dayjs(s[45].Date).format(s[4])+"")&&e.set_data(n,t)},i:e.noop,o:e.noop,d(s){s&&e.detach(n)}}}function Le(a){let t=a[12](`transactionStatus.${a[45].Status}`)+"",n;return{c(){n=e.text(t)},m(s,i){e.insert(s,n,i)},p(s,i){i[0]&4224&&t!==(t=s[12](`transactionStatus.${s[45].Status}`)+"")&&e.set_data(n,t)},i:e.noop,o:e.noop,d(s){s&&e.detach(n)}}}function Oe(a){let t,n,s,i=a[12](`transactionStatus.${a[45].Status}`)+"",u,c;return t=new Ie.TxnStatusIcon({props:{status:a[45].Status}}),{c(){e.create_component(t.$$.fragment),n=e.space(),s=e.element("span"),u=e.text(i),e.attr(s,"class","StatusIconText svelte-1xsmrqu")},m(o,l){e.mount_component(t,o,l),e.insert(o,n,l),e.insert(o,s,l),e.append(s,u),c=!0},p(o,l){const h={};l[0]&128&&(h.status=o[45].Status),t.$set(h),(!c||l[0]&4224)&&i!==(i=o[12](`transactionStatus.${o[45].Status}`)+"")&&e.set_data(u,i)},i(o){c||(e.transition_in(t.$$.fragment,o),c=!0)},o(o){e.transition_out(t.$$.fragment,o),c=!1},d(o){o&&(e.detach(n),e.detach(s)),e.destroy_component(t,o)}}}function Ue(a){let t,n=a[45].Amount+"",s,i,u=a[45].Currency+"",c,o;return{c(){t=e.element("span"),s=e.text(n),i=e.space(),c=e.text(u),e.attr(t,"class",o="Amount "+a[45].Type+" "+a[45].Status+" svelte-1xsmrqu")},m(l,h){e.insert(l,t,h),e.append(t,s),e.append(t,i),e.append(t,c)},p(l,h){h[0]&128&&n!==(n=l[45].Amount+"")&&e.set_data(s,n),h[0]&128&&u!==(u=l[45].Currency+"")&&e.set_data(c,u),h[0]&128&&o!==(o="Amount "+l[45].Type+" "+l[45].Status+" svelte-1xsmrqu")&&e.attr(t,"class",o)},i:e.noop,o:e.noop,d(l){l&&e.detach(t)}}}function Ve(a){let t,n=a[45].Code+"",s,i,u,c;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"data-copy",i=a[45].Code),e.attr(t,"class","svelte-1xsmrqu"),e.toggle_class(t,"copied",a[8])},m(o,l){e.insert(o,t,l),e.append(t,s),u||(c=e.listen(t,"click",a[29]),u=!0)},p(o,l){l[0]&128&&n!==(n=o[45].Code+"")&&e.set_data(s,n),l[0]&128&&i!==(i=o[45].Code)&&e.attr(t,"data-copy",i),l[0]&256&&e.toggle_class(t,"copied",o[8])},i:e.noop,o:e.noop,d(o){o&&e.detach(t),u=!1,c()}}}function We(a){let t,n;return t=new je.TxnTypeIcons({props:{type:a[45].Type}}),{c(){e.create_component(t.$$.fragment)},m(s,i){e.mount_component(t,s,i),n=!0},p(s,i){const u={};i[0]&128&&(u.type=s[45].Type),t.$set(u)},i(s){n||(e.transition_in(t.$$.fragment,s),n=!0)},o(s){e.transition_out(t.$$.fragment,s),n=!1},d(s){e.destroy_component(t,s)}}}function Ye(a){let t,n=a[12](`transactionType.${a[45].Type}`)+"",s;return{c(){t=e.element("span"),s=e.text(n),e.attr(t,"class","svelte-1xsmrqu")},m(i,u){e.insert(i,t,u),e.append(t,s)},p(i,u){u[0]&4224&&n!==(n=i[12](`transactionType.${i[45].Type}`)+"")&&e.set_data(s,n)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function be(a){let t,n,s,i,u,c,o,l;const h=[Ye,We,Ve,Ue,Oe,Le,Ee,Ne,Me],x=[];function p(d,_){return d[52]==="Type"?0:d[52]==="TypeIcon"?1:d[52]==="Code"?2:d[52]==="Amount"?3:d[52]==="StatusIcon"?4:d[52]==="Status"?5:d[52]==="Date"?6:d[52]==="DateTime"?7:8}return s=p(a),i=x[s]=h[s](a),{c(){t=e.element("td"),n=e.element("span"),i.c(),c=e.space(),e.attr(n,"class",u=e.null_to_empty(a[52])+" svelte-1xsmrqu"),e.attr(t,"class",o=e.null_to_empty(`column-${a[52]}`)+" svelte-1xsmrqu")},m(d,_){e.insert(d,t,_),e.append(t,n),x[s].m(n,null),e.append(t,c),l=!0},p(d,_){let g=s;s=p(d),s===g?x[s].p(d,_):(e.group_outros(),e.transition_out(x[g],1,1,()=>{x[g]=null}),e.check_outros(),i=x[s],i?i.p(d,_):(i=x[s]=h[s](d),i.c()),e.transition_in(i,1),i.m(n,null)),(!l||_[0]&1024&&u!==(u=e.null_to_empty(d[52])+" svelte-1xsmrqu"))&&e.attr(n,"class",u),(!l||_[0]&1024&&o!==(o=e.null_to_empty(`column-${d[52]}`)+" svelte-1xsmrqu"))&&e.attr(t,"class",o)},i(d){l||(e.transition_in(i),l=!0)},o(d){e.transition_out(i),l=!1},d(d){d&&e.detach(t),x[s].d()}}}function Ce(a){let t,n,s,i,u,c,o=a[12]("transactionTypeTitle")+"",l,h,x,p,d=a[12](`transactionType.${a[45].Type}`)+"",_,g,y,D,w=a[12]("transactionDateTitle")+"",S,q,U,m,T=O.dayjs(a[45].DateTime).format(a[5])+"",f,A,H,N,X=a[12]("transactionPaymentMethodTitle")+"",V,ee,te,M,P=a[45].PaymentMethod+"",G,J,E,W,Z=a[12]("transactionCodeTitle")+"",se,ie,K,z,Q,$=a[45].Code+"",ne,le,F,L,r,v,C,k,Y,ae,pe,re,B,oe,ue,ce,me,de,fe,j=a[45].RejectionNote&&ke(a),I=a[45].PaymentFields&&De(a);return{c(){t=e.element("tr"),n=e.element("td"),s=e.element("div"),i=e.element("div"),u=e.element("div"),c=e.element("span"),l=e.text(o),h=e.text(" :"),x=e.space(),p=e.element("span"),_=e.text(d),g=e.space(),y=e.element("div"),D=e.element("span"),S=e.text(w),q=e.text(" :"),U=e.space(),m=e.element("span"),f=e.text(T),A=e.space(),H=e.element("div"),N=e.element("span"),V=e.text(X),ee=e.text(" :"),te=e.space(),M=e.element("span"),G=e.text(P),J=e.space(),E=e.element("div"),W=e.element("span"),se=e.text(Z),ie=e.text(" :"),K=e.space(),z=e.element("span"),Q=e.element("span"),ne=e.text($),le=e.space(),F=e.svg_element("svg"),L=e.svg_element("g"),r=e.svg_element("path"),v=e.svg_element("path"),k=e.space(),j&&j.c(),Y=e.space(),ae=e.element("div"),I&&I.c(),pe=e.space(),re=e.element("div"),B=e.element("ui-image"),me=e.space(),e.attr(c,"class","DetailsTitle svelte-1xsmrqu"),e.attr(p,"class","DetailsValue svelte-1xsmrqu"),e.attr(u,"class","DetailsRow svelte-1xsmrqu"),e.attr(D,"class","DetailsTitle svelte-1xsmrqu"),e.attr(m,"class","DetailsValue svelte-1xsmrqu"),e.attr(y,"class","DetailsRow svelte-1xsmrqu"),e.attr(N,"class","DetailsTitle svelte-1xsmrqu"),e.attr(M,"class","DetailsValue svelte-1xsmrqu"),e.attr(H,"class","DetailsRow svelte-1xsmrqu"),e.attr(W,"class","DetailsTitle svelte-1xsmrqu"),e.attr(Q,"class","svelte-1xsmrqu"),e.attr(r,"d","M12.6663 4.375H5.54134C4.66689 4.375 3.95801 5.1585 3.95801 6.125V14C3.95801 14.9665 4.66689 15.75 5.54134 15.75H12.6663C13.5408 15.75 14.2497 14.9665 14.2497 14V6.125C14.2497 5.1585 13.5408 4.375 12.6663 4.375Z"),e.attr(r,"stroke","#666666"),e.attr(r,"stroke-linecap","round"),e.attr(r,"stroke-linejoin","round"),e.attr(r,"class","svelte-1xsmrqu"),e.attr(v,"d","M3.95801 13.125H3.16634C2.74642 13.125 2.34369 12.9406 2.04676 12.6124C1.74982 12.2842 1.58301 11.8391 1.58301 11.375V3.5C1.58301 3.03587 1.74982 2.59075 2.04676 2.26256C2.34369 1.93437 2.74642 1.75 3.16634 1.75H10.2913C10.7113 1.75 11.114 1.93437 11.4109 2.26256C11.7079 2.59075 11.8747 3.03587 11.8747 3.5V4.375"),e.attr(v,"stroke","#666666"),e.attr(v,"stroke-linecap","round"),e.attr(v,"stroke-linejoin","round"),e.attr(v,"class","svelte-1xsmrqu"),e.attr(L,"opacity","0.5"),e.attr(L,"class","svelte-1xsmrqu"),e.attr(F,"xmlns","http://www.w3.org/2000/svg"),e.attr(F,"width","19"),e.attr(F,"height","19"),e.attr(F,"viewBox","0 0 19 19"),e.attr(F,"fill","none"),e.attr(F,"class","svelte-1xsmrqu"),e.attr(z,"data-copy",C=a[45].Code),e.attr(z,"class","DetailsValue CopyCode svelte-1xsmrqu"),e.attr(E,"class","DetailsRow svelte-1xsmrqu"),e.attr(i,"class","StaticDetails svelte-1xsmrqu"),e.attr(ae,"class","DynamicDetails svelte-1xsmrqu"),e.src_url_equal(B.src,oe=a[45].Logo)||e.set_custom_element_data(B,"src",oe),e.set_custom_element_data(B,"class","svelte-1xsmrqu"),e.attr(re,"class","DetailsLogo svelte-1xsmrqu"),e.attr(s,"class","ExpandedContent svelte-1xsmrqu"),e.attr(n,"colspan",ce=a[10].length),e.attr(n,"class","no-padding svelte-1xsmrqu"),e.attr(t,"class","ExpandedRow svelte-1xsmrqu")},m(b,R){e.insert(b,t,R),e.append(t,n),e.append(n,s),e.append(s,i),e.append(i,u),e.append(u,c),e.append(c,l),e.append(c,h),e.append(u,x),e.append(u,p),e.append(p,_),e.append(i,g),e.append(i,y),e.append(y,D),e.append(D,S),e.append(D,q),e.append(y,U),e.append(y,m),e.append(m,f),e.append(i,A),e.append(i,H),e.append(H,N),e.append(N,V),e.append(N,ee),e.append(H,te),e.append(H,M),e.append(M,G),e.append(i,J),e.append(i,E),e.append(E,W),e.append(W,se),e.append(W,ie),e.append(E,K),e.append(E,z),e.append(z,Q),e.append(Q,ne),e.append(z,le),e.append(z,F),e.append(F,L),e.append(L,r),e.append(L,v),e.append(i,k),j&&j.m(i,null),e.append(s,Y),e.append(s,ae),I&&I.m(ae,null),e.append(s,pe),e.append(s,re),e.append(re,B),e.append(t,me),de||(fe=e.listen(z,"mousedown",a[31]),de=!0)},p(b,R){R[0]&4096&&o!==(o=b[12]("transactionTypeTitle")+"")&&e.set_data(l,o),R[0]&4224&&d!==(d=b[12](`transactionType.${b[45].Type}`)+"")&&e.set_data(_,d),R[0]&4096&&w!==(w=b[12]("transactionDateTitle")+"")&&e.set_data(S,w),R[0]&160&&T!==(T=O.dayjs(b[45].DateTime).format(b[5])+"")&&e.set_data(f,T),R[0]&4096&&X!==(X=b[12]("transactionPaymentMethodTitle")+"")&&e.set_data(V,X),R[0]&128&&P!==(P=b[45].PaymentMethod+"")&&e.set_data(G,P),R[0]&4096&&Z!==(Z=b[12]("transactionCodeTitle")+"")&&e.set_data(se,Z),R[0]&128&&$!==($=b[45].Code+"")&&e.set_data(ne,$),R[0]&128&&C!==(C=b[45].Code)&&e.attr(z,"data-copy",C),b[45].RejectionNote?j?j.p(b,R):(j=ke(b),j.c(),j.m(i,null)):j&&(j.d(1),j=null),b[45].PaymentFields?I?I.p(b,R):(I=De(b),I.c(),I.m(ae,null)):I&&(I.d(1),I=null),R[0]&128&&!e.src_url_equal(B.src,oe=b[45].Logo)&&e.set_custom_element_data(B,"src",oe),R[0]&1024&&ce!==(ce=b[10].length)&&e.attr(n,"colspan",ce)},i(b){b&&(ue||e.add_render_callback(()=>{ue=e.create_in_transition(s,a[15],{}),ue.start()}))},o:e.noop,d(b){b&&e.detach(t),j&&j.d(),I&&I.d(),de=!1,fe()}}}function ke(a){let t,n,s=a[12]("transactionRejectionNoteTitle")+"",i,u,c,o,l=a[45].RejectionNote+"",h;return{c(){t=e.element("div"),n=e.element("span"),i=e.text(s),u=e.text(" :"),c=e.space(),o=e.element("span"),h=e.text(l),e.attr(n,"class","DetailsTitle svelte-1xsmrqu"),e.attr(o,"class","DetailsValue svelte-1xsmrqu"),e.attr(t,"class","DetailsRow svelte-1xsmrqu")},m(x,p){e.insert(x,t,p),e.append(t,n),e.append(n,i),e.append(n,u),e.append(t,c),e.append(t,o),e.append(o,h)},p(x,p){p[0]&4096&&s!==(s=x[12]("transactionRejectionNoteTitle")+"")&&e.set_data(i,s),p[0]&128&&l!==(l=x[45].RejectionNote+"")&&e.set_data(h,l)},d(x){x&&e.detach(t)}}}function De(a){let t,n=e.ensure_array_like(Object.entries(a[45].PaymentFields)),s=[];for(let i=0;i<n.length;i+=1)s[i]=Se(xe(a,n,i));return{c(){for(let i=0;i<s.length;i+=1)s[i].c();t=e.empty()},m(i,u){for(let c=0;c<s.length;c+=1)s[c]&&s[c].m(i,u);e.insert(i,t,u)},p(i,u){if(u[0]&4224){n=e.ensure_array_like(Object.entries(i[45].PaymentFields));let c;for(c=0;c<n.length;c+=1){const o=xe(i,n,c);s[c]?s[c].p(o,u):(s[c]=Se(o),s[c].c(),s[c].m(t.parentNode,t))}for(;c<s.length;c+=1)s[c].d(1);s.length=n.length}},d(i){i&&e.detach(t),e.destroy_each(s,i)}}}function Se(a){let t,n,s=a[12](`transaction${a[48]}Detail`,{default:a[48]})+"",i,u,c,o,l=a[49]+"",h,x;return{c(){t=e.element("div"),n=e.element("span"),i=e.text(s),u=e.text(" :"),c=e.space(),o=e.element("span"),h=e.text(l),x=e.space(),e.attr(n,"class","DetailsTitle svelte-1xsmrqu"),e.attr(o,"class","DetailsValue svelte-1xsmrqu"),e.attr(t,"class","DetailsRow svelte-1xsmrqu")},m(p,d){e.insert(p,t,d),e.append(t,n),e.append(n,i),e.append(n,u),e.append(t,c),e.append(t,o),e.append(o,h),e.append(t,x)},p(p,d){d[0]&4224&&s!==(s=p[12](`transaction${p[48]}Detail`,{default:p[48]})+"")&&e.set_data(i,s),d[0]&128&&l!==(l=p[49]+"")&&e.set_data(h,l)},d(p){p&&e.detach(t)}}}function He(a){let t,n,s,i,u,c,o=e.ensure_array_like(a[10]),l=[];for(let d=0;d<o.length;d+=1)l[d]=be(ye(a,o,d));const h=d=>e.transition_out(l[d],1,1,()=>{l[d]=null});function x(){return a[30](a[47])}let p=a[11]===a[47]&&Ce(a);return{c(){t=e.element("tr");for(let d=0;d<l.length;d+=1)l[d].c();n=e.space(),p&&p.c(),s=e.empty(),e.attr(t,"class","TransactionHistoryRow svelte-1xsmrqu"),e.toggle_class(t,"AllowExpand",a[3]==="true"),e.toggle_class(t,"Expanded",a[11]===a[47])},m(d,_){e.insert(d,t,_);for(let g=0;g<l.length;g+=1)l[g]&&l[g].m(t,null);e.insert(d,n,_),p&&p.m(d,_),e.insert(d,s,_),i=!0,u||(c=e.listen(t,"click",x),u=!0)},p(d,_){if(a=d,_[0]&13744){o=e.ensure_array_like(a[10]);let g;for(g=0;g<o.length;g+=1){const y=ye(a,o,g);l[g]?(l[g].p(y,_),e.transition_in(l[g],1)):(l[g]=be(y),l[g].c(),e.transition_in(l[g],1),l[g].m(t,null))}for(e.group_outros(),g=o.length;g<l.length;g+=1)h(g);e.check_outros()}(!i||_[0]&8)&&e.toggle_class(t,"AllowExpand",a[3]==="true"),(!i||_[0]&2048)&&e.toggle_class(t,"Expanded",a[11]===a[47]),a[11]===a[47]?p?(p.p(a,_),_[0]&2048&&e.transition_in(p,1)):(p=Ce(a),p.c(),e.transition_in(p,1),p.m(s.parentNode,s)):p&&(p.d(1),p=null)},i(d){if(!i){for(let _=0;_<o.length;_+=1)e.transition_in(l[_]);e.transition_in(p),i=!0}},o(d){l=l.filter(Boolean);for(let _=0;_<l.length;_+=1)e.transition_out(l[_]);i=!1},d(d){d&&(e.detach(t),e.detach(n),e.detach(s)),e.destroy_each(l,d),p&&p.d(d),u=!1,c()}}}function Be(a){let t,n,s,i;const u=[Fe,ze],c=[];function o(l,h){return l[7].length?0:l[9]?1:-1}return~(n=o(a))&&(s=c[n]=u[n](a)),{c(){t=e.element("div"),s&&s.c(),e.attr(t,"class","CashierTransactionHistoryContainer svelte-1xsmrqu")},m(l,h){e.insert(l,t,h),~n&&c[n].m(t,null),i=!0},p(l,h){let x=n;n=o(l),n===x?~n&&c[n].p(l,h):(s&&(e.group_outros(),e.transition_out(c[x],1,1,()=>{c[x]=null}),e.check_outros()),~n?(s=c[n],s?s.p(l,h):(s=c[n]=u[n](l),s.c()),e.transition_in(s,1),s.m(t,null)):s=null)},i(l){i||(e.transition_in(s),i=!0)},o(l){e.transition_out(s),i=!1},d(l){l&&e.detach(t),~n&&c[n].d()}}}function Xe(a,t,n){let s;e.component_subscribe(a,e.$format,r=>n(12,s=r));let{endpoint:i}=t,{session:u}=t,{lang:c="en"}=t,{customerid:o}=t,{clientstyling:l=""}=t,{clientstylingurl:h=""}=t,{translationurl:x}=t,{tooltipduration:p=1e3}=t,{txncount:d}=t,{mbsource:_=""}=t,{columns:g}=t,{page:y="0"}=t,{calculateprofit:D="false"}=t,{fromdate:w=O.dayjs().subtract(3,"month")}=t,{todate:S=O.dayjs()}=t,{isshorttransactionhistory:q="false"}=t,{dateformat:U="DD.MM.YYYY"}=t,{datetimeformat:m="DD.MM.YYYY HH:mm:ss"}=t,{userroles:T=""}=t,f=[],A=!1,H,N,X,V=!1,ee=[],te=[],M;var P;(function(r){r.Deposit="deposit",r.Withdraw="withdraw",r.Refund="refund",r.Unknown="unknown",r.TaxDeduction="taxDeduction"})(P||(P={}));const G=["Authorized","Success","Failed","Rejected","PendingApprovalStage1","PendingApprovalStage2","PendingApprovalStage3","PendingNotification","PendingOfflineNotification","PendingConfirmation"];var J;(function(r){r.Authorized="Authorized",r.Success="Success",r.Failed="Failed",r.Rejected="Rejected",r.Pending="Pending"})(J||(J={})),e.onMount(()=>()=>{});const E=()=>{let r=x;if(r)return fetch(r).then(v=>v.json()).then(v=>{Object.keys(v).forEach(C=>{_e(C,v[C])})}).catch(v=>{console.log(v)})};Object.keys(ve).forEach(r=>{_e(r,ve[r])});const W=()=>{Ae(c)},Z=()=>{const r=new URL(`${i}/api/v1/mm/payment/gettransactionshistory`),v=new Headers;v.append("accept","application/json"),v.append("Content-Type","application/json"),v.append("X-SessionId",`${u}`),ee.indexOf("MM_CHANNEL_BETA")!=-1&&v.append("MM_CHANNEL","BETA");const C={method:"POST",mode:"cors",headers:v,body:JSON.stringify({language:c,customerId:o,count:+d,page:+y,fromDate:w,toDate:S,statuses:{[P.Deposit]:G,[P.Withdraw]:G,[P.Refund]:["Unknown"],[P.TaxDeduction]:["Unknown"],[P.Unknown]:["Unknown"]},calculateProfit:D==="true"})};n(9,V=!0),fetch(r,C).then(k=>k.json()).then(k=>{n(7,f=se((k==null?void 0:k.items)||[]));const Y={type:"TransactionsLoaded",total:k.total};D==="true"&&(Y.statistic=k.statistic),window.postMessage(Y,window.location.href)}).catch(k=>console.log(k)).finally(()=>n(9,V=!1))},se=r=>(n(10,te=g.split(",")),n(11,M=null),r.map(v=>{let C=v.generalFields.status;return v.generalFields.status.toLowerCase().includes("pending")&&(C=J.Pending),{Code:v.generalFields.code,Date:v.generalFields.created,DateTime:v.generalFields.created,Status:C,Type:v.generalFields.type,Amount:v.generalFields.amount,Currency:v.generalFields.currency,PaymentMethod:v.generalFields.paymentMethod,RejectionNote:v.generalFields.rejectionNote,PaymentFields:v.paymentFields&&Object.keys(v.paymentFields).length>0?v.paymentFields:null,Logo:ie(v.logos)}})||[]),ie=r=>{if(r&&r.length){const v=r.find(k=>k.logoType==="Mobile"),C=r.find(k=>k.logoType==="Desktop");return v&&v.logoUrl||C&&C.logoUrl}},K=(r,v=!0)=>{const k=r.currentTarget.dataset.copy;k&&navigator.clipboard.writeText(k).then(()=>{v&&(n(8,A=!0),clearTimeout(N),N=setTimeout(()=>{n(8,A=!1)},2e3))}).catch(Y=>{console.error("Could not copy text: ",Y)})},z=r=>{q!=="true"&&n(11,M=M===r?null:r)},Q=(r,v)=>({delay:0,duration:250,css:C=>`overflow: hidden; transform: translateY(${(1-C)*20}px); opacity: ${C}`}),$=()=>{T.length>0&&(ee=T.split(","))},ne=r=>K(r),le=r=>z(r),F=r=>K(r,!1);function L(r){e.binding_callbacks[r?"unshift":"push"](()=>{H=r,n(6,H)})}return a.$$set=r=>{"endpoint"in r&&n(16,i=r.endpoint),"session"in r&&n(17,u=r.session),"lang"in r&&n(18,c=r.lang),"customerid"in r&&n(19,o=r.customerid),"clientstyling"in r&&n(0,l=r.clientstyling),"clientstylingurl"in r&&n(1,h=r.clientstylingurl),"translationurl"in r&&n(20,x=r.translationurl),"tooltipduration"in r&&n(2,p=r.tooltipduration),"txncount"in r&&n(21,d=r.txncount),"mbsource"in r&&n(22,_=r.mbsource),"columns"in r&&n(23,g=r.columns),"page"in r&&n(24,y=r.page),"calculateprofit"in r&&n(25,D=r.calculateprofit),"fromdate"in r&&n(26,w=r.fromdate),"todate"in r&&n(27,S=r.todate),"isshorttransactionhistory"in r&&n(3,q=r.isshorttransactionhistory),"dateformat"in r&&n(4,U=r.dateformat),"datetimeformat"in r&&n(5,m=r.datetimeformat),"userroles"in r&&n(28,T=r.userroles)},a.$$.update=()=>{a.$$.dirty[0]&262144&&c&&W(),a.$$.dirty[0]&65&&l&&H&&e.setClientStyling(H,l),a.$$.dirty[0]&66&&h&&H&&e.setClientStylingURL(H,h),a.$$.dirty[0]&252641280&&i&&u&&o&&c&&w&&S&&y&&D&&Z(),a.$$.dirty[0]&1048576&&x&&E(),a.$$.dirty[0]&4194368&&_&&H&&e.setStreamStyling(H,`${_}.Style`,X),a.$$.dirty[0]&268435456&&T&&$()},[l,h,p,q,U,m,H,f,A,V,te,M,s,K,z,Q,i,u,c,o,x,d,_,g,y,D,w,S,T,ne,le,F,L]}class Re extends e.SvelteComponent{constructor(t){super(),e.init$1(this,t,Xe,Be,e.safe_not_equal,{endpoint:16,session:17,lang:18,customerid:19,clientstyling:0,clientstylingurl:1,translationurl:20,tooltipduration:2,txncount:21,mbsource:22,columns:23,page:24,calculateprofit:25,fromdate:26,todate:27,isshorttransactionhistory:3,dateformat:4,datetimeformat:5,userroles:28},Pe,[-1,-1])}get endpoint(){return this.$$.ctx[16]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[17]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[18]}set lang(t){this.$$set({lang:t}),e.flush()}get customerid(){return this.$$.ctx[19]}set customerid(t){this.$$set({customerid:t}),e.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[20]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get tooltipduration(){return this.$$.ctx[2]}set tooltipduration(t){this.$$set({tooltipduration:t}),e.flush()}get txncount(){return this.$$.ctx[21]}set txncount(t){this.$$set({txncount:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get columns(){return this.$$.ctx[23]}set columns(t){this.$$set({columns:t}),e.flush()}get page(){return this.$$.ctx[24]}set page(t){this.$$set({page:t}),e.flush()}get calculateprofit(){return this.$$.ctx[25]}set calculateprofit(t){this.$$set({calculateprofit:t}),e.flush()}get fromdate(){return this.$$.ctx[26]}set fromdate(t){this.$$set({fromdate:t}),e.flush()}get todate(){return this.$$.ctx[27]}set todate(t){this.$$set({todate:t}),e.flush()}get isshorttransactionhistory(){return this.$$.ctx[3]}set isshorttransactionhistory(t){this.$$set({isshorttransactionhistory:t}),e.flush()}get dateformat(){return this.$$.ctx[4]}set dateformat(t){this.$$set({dateformat:t}),e.flush()}get datetimeformat(){return this.$$.ctx[5]}set datetimeformat(t){this.$$set({datetimeformat:t}),e.flush()}get userroles(){return this.$$.ctx[28]}set userroles(t){this.$$set({userroles:t}),e.flush()}}e.create_custom_element(Re,{endpoint:{},session:{},lang:{},customerid:{},clientstyling:{},clientstylingurl:{},translationurl:{},tooltipduration:{},txncount:{},mbsource:{},columns:{},page:{},calculateprofit:{},fromdate:{},todate:{},isshorttransactionhistory:{},dateformat:{},datetimeformat:{},userroles:{}},[],[],!0);exports.default=Re;