@everymatrix/cashier-page 1.74.6 → 1.74.7
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/{CashierConfirmModal-D6-yvknK.js → CashierConfirmModal-Dx60VYf6.js} +76 -76
- package/components/{CashierConfirmModal-C5Z0fFCo.cjs → CashierConfirmModal-irSMDzV_.cjs} +2 -2
- package/components/{CashierConfirmModal-DluW6utN.js → CashierConfirmModal-rwhmlwC5.js} +183 -183
- package/components/{CashierError-B_HILIqI.js → CashierError-BIqFaX3H.js} +1 -1
- package/components/{CashierError-CQ8ceQ8e.js → CashierError-BWuNinWy.js} +1 -1
- package/components/{CashierError-DZ5vqVXV.cjs → CashierError-CORG04aE.cjs} +1 -1
- package/components/{CashierHeader-CNyLXgin.js → CashierHeader-CXaZ-6Ua.js} +2 -2
- package/components/{CashierHeader-DW3Xs1f3.js → CashierHeader-Ca2cghIW.js} +2 -2
- package/components/{CashierHeader-Cjxrbu0V.cjs → CashierHeader-Dl6r6hK0.cjs} +1 -1
- package/components/{CashierIframeRedirect-IwNw_njq.js → CashierIframeRedirect-7GBPLJHr.js} +4 -4
- package/components/{CashierIframeRedirect-DU1GgNLD.cjs → CashierIframeRedirect-BjLvrvKL.cjs} +1 -1
- package/components/{CashierIframeRedirect-D81gVeBk.js → CashierIframeRedirect-ChyzshIQ.js} +4 -4
- package/components/{CashierMethodDetails-CfpOwAD9.js → CashierMethodDetails-BuRbRo-R.js} +1283 -1260
- package/components/{CashierMethodDetails-BI-MRKy-.js → CashierMethodDetails-CEFupmfP.js} +1173 -1150
- package/components/CashierMethodDetails-DxYPk7Br.cjs +86 -0
- package/components/{CashierMethodsList-CsOA_enM.cjs → CashierMethodsList-BI_GHUxf.cjs} +1 -1
- package/components/{CashierMethodsList-PU5P66EA.js → CashierMethodsList-BqmFmDOC.js} +3 -3
- package/components/{CashierMethodsList-CqVd20oA.js → CashierMethodsList-CB_m5hK-.js} +3 -3
- package/components/CashierModal-Bh6E-PDS.js +229 -0
- package/components/CashierModal-BwVWBmwZ.cjs +1 -0
- package/components/CashierModal-CTayVmDw.js +229 -0
- package/components/{CashierNotifications-CkXKlPIz.js → CashierNotifications-77FpsD4N.js} +1 -1
- package/components/{CashierNotifications-a3GpFzzw.js → CashierNotifications-CM4Cti_x.js} +1 -1
- package/components/{CashierNotifications-JBaW5ppf.cjs → CashierNotifications-YOOhP2yz.cjs} +1 -1
- package/components/{CashierPage-oKC2gyuD.js → CashierPage-B90j2bUX.js} +1133 -1124
- package/components/CashierPage-Bi90dl_Y.cjs +1 -0
- package/components/{CashierPage-CmBa1fJm.js → CashierPage-Dq-XwH-T.js} +1133 -1124
- package/components/{CashierReceiptPage-CZHo7bk4.js → CashierReceiptPage-BsBy8_a9.js} +213 -197
- package/components/{CashierReceiptPage-D1aUxYNu.cjs → CashierReceiptPage-C-5P1j5e.cjs} +1 -1
- package/components/{CashierReceiptPage-DKAwy-XO.js → CashierReceiptPage-TGTe-vYp.js} +211 -195
- package/components/{CashierSessionExpirationModal-B1ynET49.js → CashierSessionExpirationModal-Bwks132l.js} +46 -46
- package/components/{CashierSessionExpirationModal-CswZVz0A.js → CashierSessionExpirationModal-D7u1LLSa.js} +46 -46
- package/components/{CashierSessionExpirationModal-DztF8_bN.cjs → CashierSessionExpirationModal-lqr-I0nF.cjs} +2 -2
- package/components/{CashierSpinner-C0dfKfvc.cjs → CashierSpinner-BhE9RAhI.cjs} +1 -1
- package/components/{CashierSpinner-Pf85g3j2.js → CashierSpinner-C6RPqoHx.js} +1 -1
- package/components/{CashierSpinner-nZ-w8uRg.js → CashierSpinner-sEBjrLfs.js} +1 -1
- package/components/CashierTransactionHistory-BSO5XGtr.cjs +1 -0
- package/components/CashierTransactionHistory-CkMKi6Fz.js +1306 -0
- package/components/CashierTransactionHistory-DiONlMGi.js +1306 -0
- package/components/{CashierVerifications-DmMaSPNE.js → CashierVerifications-B63zidU5.js} +281 -351
- package/components/{CashierVerifications-CEYgwiGj.js → CashierVerifications-DkUcWYyo.js} +286 -356
- package/components/CashierVerifications-J6r2bd7v.cjs +1 -0
- package/components/{TxnStatusIcon-DIdoWxaS.js → TxnStatusIcon-Bqtf3sG3.js} +1 -1
- package/components/{TxnStatusIcon-Bk0oBxLN.cjs → TxnStatusIcon-C9hNDByt.cjs} +1 -1
- package/components/{TxnStatusIcon-DN0llRTe.js → TxnStatusIcon-fiVxFVX_.js} +1 -1
- package/components/{TxnTypeIcons-BPVFmF5k.js → TxnTypeIcons-CA9VDuG4.js} +1 -1
- package/components/{TxnTypeIcons-CVoF9ajj.cjs → TxnTypeIcons-D6ZYjaVc.cjs} +1 -1
- package/components/{TxnTypeIcons-BuQgMseI.js → TxnTypeIcons-DMjccElF.js} +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/CashierMethodDetails-CijnX6lX.cjs +0 -86
- package/components/CashierModal-B4of2Oxh.js +0 -228
- package/components/CashierModal-CvWSs-3j.js +0 -228
- package/components/CashierModal-DSuBZJDR.cjs +0 -1
- package/components/CashierPage-BRFjfzR5.cjs +0 -1
- package/components/CashierTransactionHistory-BcgsMpUM.js +0 -1303
- package/components/CashierTransactionHistory-CLxBvVPx.cjs +0 -1
- package/components/CashierTransactionHistory-DSCunt4_.js +0 -1303
- package/components/CashierVerifications-CaQ-G815.cjs +0 -1
- package/components/CashierVideoModal-BAMzRbW4.js +0 -198
- package/components/CashierVideoModal-CqlPtM2X.js +0 -198
- package/components/CashierVideoModal-z4snZUdS.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CashierConfirmModal-irSMDzV_.cjs"),T=require("./CashierError-CORG04aE.cjs"),D=require("./CashierMethodDetails-DxYPk7Br.cjs");require("./CashierPage-Bi90dl_Y.cjs");function H(r,t){T.addMessages(r,t)}function we(r){T.init({fallbackLocale:"en"}),T.$locale.set(r)}const N={en:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"},tr:{"verification.video.how-to":"Kimlik doğrulama nasıl yapılır","verification.idenfy.referred-awaiting":"Kimlik doğrulaması işlemde. Doğrulama tamamlandığında size haber vereceğiz","verification.message.failed":"Döküman doğrulama başarısız, hesabınız doğrulanamadı","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"Hesabınızdan çekim yapabilmek için kullanıcı doğrulaması gerekiyor. Lütfen kimliğinizi hazır edin ve {link} adresinden doğrulamayı başlatın","verification.shuftipro.in-progress.Biometric":"İşlemi gerçekleştirmek için kullanıcı doğrulamasını geçmeniz gerekmektedir. Doğrulamayı başlatmak için Lütfen linke tıklayın {Biometric}","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Doğrulama Yap","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"Lütfen Doğrulamayı tamamladıktan sonra işleme devam ediniz"},hr:{"verification.video.how-to":"How to verify yourself","verification.idenfy.referred-awaiting":"ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back","verification.message.failed":"We apologize, but we were unable to verify your account. Please contact support team","verification.idenfy.link-name":"link","verification.idenfy.in-progress":"To withdraw funds to your account you are required to pass user verification. Please have your ID ready and follow the {link} to start verification","verification.shuftipro.in-progress.Biometric":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification.","verification.shuftipro.in-progress.Biometric.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {Documents} verification.","verification.shuftipro.in-progress.Biometric.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification, {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Biometric.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Biometric} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.Documents":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification.","verification.shuftipro.in-progress.Documents.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {Documents} verification and {ProofOfAddress} verification.","verification.shuftipro.in-progress.ProofOfAddress":"To proceed with a transaction you are required to pass user verification. Please follow the link to start {ProofOfAddress} verification.","verification.shuftipro.link-name.Biometric":"Biometric","verification.shuftipro.link-name.Documents":"Documents","verification.shuftipro.link-name.ProofOfAddress":"Proof Of Address","verification.shuftipro.validations-started":"After completing verification, please proceed with the transaction"}};function ye(r){i.append_styles(r,"svelte-3ui5us","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}")}function W(r,t,n){const c=r.slice();return c[53]=t[n],c[55]=n,c}function ke(r){let t,n,c,a=i.ensure_array_like(r[3]),s=[];for(let f=0;f<a.length;f+=1)s[f]=K(W(r,a,f));let l=r[6]&&G(r);return{c(){t=i.element("div");for(let f=0;f<s.length;f+=1)s[f].c();n=i.space(),l&&l.c(),c=i.empty(),i.attr(t,"class","CashierVerificationsWrapper")},m(f,m){i.insert(f,t,m);for(let u=0;u<s.length;u+=1)s[u]&&s[u].m(t,null);i.insert(f,n,m),l&&l.m(f,m),i.insert(f,c,m)},p(f,m){if(m[0]&536){a=i.ensure_array_like(f[3]);let u;for(u=0;u<a.length;u+=1){const h=W(f,a,u);s[u]?s[u].p(h,m):(s[u]=K(h),s[u].c(),s[u].m(t,null))}for(;u<s.length;u+=1)s[u].d(1);s.length=a.length}f[6]?l?l.p(f,m):(l=G(f),l.c(),l.m(c.parentNode,c)):l&&(l.d(1),l=null)},d(f){f&&(i.detach(t),i.detach(n),i.detach(c)),i.destroy_each(s,f),l&&l.d(f)}}}function _e(r){let t;return{c(){t=i.element("cashier-spinner"),i.set_custom_element_data(t,"clientstylingurl",r[1]),i.set_custom_element_data(t,"clientstyling",r[0])},m(n,c){i.insert(n,t,c)},p(n,c){c[0]&2&&i.set_custom_element_data(t,"clientstylingurl",n[1]),c[0]&1&&i.set_custom_element_data(t,"clientstyling",n[0])},d(n){n&&i.detach(t)}}}function Y(r){let t,n,c;function a(...s){return r[19](r[55],...s)}return{c(){t=i.element("span"),t.innerHTML='<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>',i.attr(t,"class","CashierVerificationChevron")},m(s,l){i.insert(s,t,l),n||(c=i.listen(t,"click",a),n=!0)},p(s,l){r=s},d(s){s&&i.detach(t),n=!1,c()}}}function K(r){let t,n,c,a,s=r[53]+"",l,f,m,u,h=r[3].length>1&&r[55]===0&&Y(r);function V(...v){return r[20](r[55],...v)}return{c(){t=i.element("div"),n=i.element("div"),n.innerHTML='<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>',c=i.space(),a=i.element("p"),l=i.space(),h&&h.c(),f=i.space(),i.attr(n,"class","IconVerification"),i.attr(a,"class","text"),i.attr(t,"class","CashierVerificationMessage"),i.toggle_class(t,"ShowAll",r[4])},m(v,w){i.insert(v,t,w),i.append(t,n),i.append(t,c),i.append(t,a),a.innerHTML=s,i.append(t,l),h&&h.m(t,null),i.append(t,f),m||(u=i.listen(t,"click",V),m=!0)},p(v,w){r=v,w[0]&8&&s!==(s=r[53]+"")&&(a.innerHTML=s),r[3].length>1&&r[55]===0?h?h.p(r,w):(h=Y(r),h.c(),h.m(t,f)):h&&(h.d(1),h=null),w[0]&16&&i.toggle_class(t,"ShowAll",r[4])},d(v){v&&i.detach(t),h&&h.d(),m=!1,u()}}}function G(r){let t,n,c,a,s=r[8]("verification.video.how-to")+"",l,f,m;return{c(){t=i.element("div"),n=i.element("div"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>',c=i.space(),a=i.element("div"),l=i.text(s),i.attr(n,"class","IconVideo"),i.attr(a,"class","CashierVerificationVideoLink"),i.toggle_class(a,"CashierVerificationVideoLinkDesktop",r[5]),i.attr(t,"class","CashierVerificationVideo")},m(u,h){i.insert(u,t,h),i.append(t,n),i.append(t,c),i.append(t,a),i.append(a,l),f||(m=i.listen(a,"click",r[10]),f=!0)},p(u,h){h[0]&256&&s!==(s=u[8]("verification.video.how-to")+"")&&i.set_data(l,s),h[0]&32&&i.toggle_class(a,"CashierVerificationVideoLinkDesktop",u[5])},d(u){u&&i.detach(t),f=!1,m()}}}function Ve(r){let t;function n(s,l){if(s[7])return _e;if(s[3])return ke}let c=n(r),a=c&&c(r);return{c(){t=i.element("div"),a&&a.c(),i.attr(t,"class","CashierVerifications"),i.toggle_class(t,"CashierVerificationsDesktop",r[5])},m(s,l){i.insert(s,t,l),a&&a.m(t,null),r[21](t)},p(s,l){c===(c=n(s))&&a?a.p(s,l):(a&&a.d(1),a=c&&c(s),a&&(a.c(),a.m(t,null))),l[0]&32&&i.toggle_class(t,"CashierVerificationsDesktop",s[5])},i:i.noop,o:i.noop,d(s){s&&i.detach(t),a&&a.d(),r[21](null)}}}const Pe="verification_explanation_video_widgets.MP4";function be(r,t,n){let c,a;i.component_subscribe(r,T.$format,e=>n(8,c=e)),i.component_subscribe(r,D.xPaymentSessionToken,e=>n(28,a=e)),D.dayjs.extend(D.utc);let{endpoint:s}=t,{lang:l="en"}=t,{translationurl:f=""}=t,{clientstyling:m=""}=t,{clientstylingurl:u=""}=t,{session:h=""}=t,{customerid:V=""}=t,{playersession:v=""}=t,{mbsource:w=""}=t,k,z=new Set,I=new Set,S,C,O,M=!0,R=!0,B=!1,q="",L=!1,J=window.navigator.userAgent;var P;(function(e){e.Manual="Manual",e.ShuftiPro="ShuftiPro"})(P||(P={}));var x;(function(e){e.Requested="Requested"})(x||(x={}));var g;(function(e){e.Unknown="Unknown",e.Unverified="Unverified",e.InProgress="InProgress",e.Failed="Failed",e.Verified="Verified",e.Referred="Referred",e.True="True",e.False="False",e.AwaitingForResponse="AwaitingForResponse"})(g||(g={}));var b;(function(e){e.Unknown="Unknown",e.Documents="Documents",e.Age="Age",e.Pep="Pep",e.Sanction="Sanction",e.Aml="Aml",e.ProofOfAddress="ProofOfAddress",e.SourceOfWealth="SourceOfWealth",e.SocialMedia="SocialMedia",e.Biometric="Biometric"})(b||(b={})),i.onMount(()=>(ue(),()=>{}));const X=[g.InProgress,g.Referred,g.AwaitingForResponse],Q=()=>{let e=f;if(e)return fetch(e).then(o=>o.json()).then(o=>{Object.keys(o).forEach(d=>{H(d,o[d])})}).catch(o=>{console.log(o)})};Object.keys(N).forEach(e=>{H(e,N[e])});const $=()=>{we(l)},U=()=>{n(18,C=te());const e=new URL(`${s}/v1/player/${V}/verification/GetKYCCustomerStatus?language=${l}`),o=new Headers;o.append("accept","application/json"),o.append("Content-Type","application/json"),o.append("x-sessionid",`${v}`),o.append("X-Client-Request-Timestamp",D.dayjs.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));const d={method:"POST",headers:o,body:JSON.stringify({})};n(7,L=!0),fetch(e,d).then(p=>p.json()).then(p=>{const y=ee(p==null?void 0:p.Verifications);S=re(y),S.VerificationStatuses.forEach(A=>{A.VerificationUrlType!=="Widget"&&z.add(A.Vendor)}),n(3,O=j())}).finally(()=>n(7,L=!1))},ee=e=>e?e.sort((o,d)=>new Date(d.Created).getTime()-new Date(o.Created).getTime()):[],ie=()=>{a&&U()},te=()=>{let e=(h||a).split(".")[1];if(e){let o=JSON.parse(atob(e));return o.cdn+"/cashier/operator-assets/"+(o==null?void 0:o.mid)}return""},re=e=>{var d;if(!e||!e.length)return{VerificationSummaryStatus:g.Unverified,VerificationStatuses:[]};const o=ne(e);if(o&&o.length){const p=oe(o);return{VerificationSummaryStatus:p.Status,VerificationUrl:(d=p.Flags)==null?void 0:d.DeferredUrlKey,VerificationStatuses:E(o,p.Status)}}else return{VerificationSummaryStatus:e.some(y=>y.Status===g.Failed)?g.Failed:g.Verified,VerificationStatuses:E(e,[g.Failed])}},oe=e=>e.reduce((o,d)=>o?new Date(o)<new Date(d)?d:o:d,0),E=(e,o)=>e.filter(d=>o.includes(d.Status)).map(d=>{var p,y;return{Type:d.Type,Vendor:d.VendorName,VerificationDocuments:d.Documents?[...d.Documents]:[],VerificationUrlType:(p=d.FlowInfo)==null?void 0:p.Type,VerificationUrl:(y=d.FlowInfo)==null?void 0:y.Url}}),ne=e=>e.filter(o=>X.includes(o.Status)?o.FlowInfo&&o.FlowInfo.Url||se(o)||ae(o):!1),se=e=>{const o=e.Documents&&e.VendorName===P.Manual,d=e.Documents&&e.Documents.some(p=>p.Status===x.Requested);return o&&d},ae=e=>e.VendorName===P.ShuftiPro&&e.Status===g.Referred,j=()=>{switch(S.VerificationSummaryStatus){case g.InProgress:const e=[];return z.forEach(o=>{e.push(ce(o))}),e;case g.Referred:return[c("verification.idenfy.referred-awaiting")];case g.Failed:return[c("verification.message.failed")]}},ce=e=>{const o=S.VerificationStatuses.filter(d=>d.Vendor===e);if(e===P.ShuftiPro)return le(o);{const d=c("verification.idenfy.link-name"),p={link:`<a href="${o[0].VerificationUrl}" target="_blank">${d}</a>`};return c("verification.idenfy.in-progress",{values:p})}},le=e=>{const o=[],d={},p=[b.Biometric,b.Documents,b.ProofOfAddress];e.forEach(_=>{p.includes(_.Type)&&(o.push(_.Type),d[_.Type]=fe(_,de(_.Type)))});let y=o.every(_=>I.has(_)),A=`verification.shuftipro.in-progress.${o.sort().join(".")}`;return y?c("verification.shuftipro.validations-started"):c(A,{values:d})},fe=(e,o)=>`<a class="verificationLink ${e.Type}" href=" ${e.VerificationUrl} " target="_blank">${o}</a>`,de=e=>c(`verification.shuftipro.link-name.${e}`),F=(e,o)=>{if(e.stopPropagation(),e.target&&(e.target.href||e.target.closest("a"))){if(e.target.closest(".verificationLink")){const d=e.target.className.split(" ")[1];I.add(d),n(3,O=j())}return}o===0&&n(4,M=!M)},ue=()=>{n(5,R=!D.isMobile(J))},he=()=>{q=C+"/"+l+"/"+Pe;try{fetch(q,{method:"HEAD"}).then(e=>{n(6,B=e.ok)})}catch(e){n(6,B=!1)}},me=()=>{window.postMessage({type:"ShowVideoModal",videoSrc:q},window.location.href)},pe=(e,o)=>F(o,e),ge=(e,o)=>F(o,e);function ve(e){i.binding_callbacks[e?"unshift":"push"](()=>{k=e,n(2,k)})}return r.$$set=e=>{"endpoint"in e&&n(11,s=e.endpoint),"lang"in e&&n(12,l=e.lang),"translationurl"in e&&n(13,f=e.translationurl),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(1,u=e.clientstylingurl),"session"in e&&n(14,h=e.session),"customerid"in e&&n(15,V=e.customerid),"playersession"in e&&n(16,v=e.playersession),"mbsource"in e&&n(17,w=e.mbsource)},r.$$.update=()=>{r.$$.dirty[0]&4096&&l&&$(),r.$$.dirty[0]&83968&&s&&h&&v&&U(),r.$$.dirty[0]&83968&&s&&!h&&v&&ie(),r.$$.dirty[0]&8192&&f&&Q(),r.$$.dirty[0]&5&&m&&k&&i.setClientStyling(),r.$$.dirty[0]&6&&u&&k&&i.setClientStylingURL(),r.$$.dirty[0]&262144&&C&&he(),r.$$.dirty[0]&131076&&w&&k&&i.setStreamStyling(k,`${w}.Style`)},[m,u,k,O,M,R,B,L,c,F,me,s,l,f,h,V,v,w,C,pe,ge,ve]}class Z extends i.SvelteComponent{constructor(t){super(),i.init(this,t,be,Ve,i.safe_not_equal,{endpoint:11,lang:12,translationurl:13,clientstyling:0,clientstylingurl:1,session:14,customerid:15,playersession:16,mbsource:17},ye,[-1,-1])}get endpoint(){return this.$$.ctx[11]}set endpoint(t){this.$$set({endpoint:t}),i.flush()}get lang(){return this.$$.ctx[12]}set lang(t){this.$$set({lang:t}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(t){this.$$set({translationurl:t}),i.flush()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[1]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get session(){return this.$$.ctx[14]}set session(t){this.$$set({session:t}),i.flush()}get customerid(){return this.$$.ctx[15]}set customerid(t){this.$$set({customerid:t}),i.flush()}get playersession(){return this.$$.ctx[16]}set playersession(t){this.$$set({playersession:t}),i.flush()}get mbsource(){return this.$$.ctx[17]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(Z,{endpoint:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},session:{},customerid:{},playersession:{},mbsource:{}},[],[],!0);exports.default=Z;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as f, S as u, b as p, a as w, f as v, d as g, A as k, k as a, n as d, v as h, R as r, j as t, l as o } from "./CashierConfirmModal-
|
|
1
|
+
import { c as f, S as u, b as p, a as w, f as v, d as g, A as k, k as a, n as d, v as h, R as r, j as t, l as o } from "./CashierConfirmModal-Dx60VYf6.js";
|
|
2
2
|
function _(n) {
|
|
3
3
|
g(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./CashierConfirmModal-
|
|
1
|
+
"use strict";const t=require("./CashierConfirmModal-irSMDzV_.cjs");function o(l){t.append_styles(l,"svelte-17lvd7j","svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}")}function c(l){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#4A975C"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12.5 7L8.11111 12L5 8.5"),t.attr(r,"stroke","#4A975C"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function d(l){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#DD6617"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M9.02911 10.048C8.91711 10.056 8.80111 10.064 8.68111 10.072C8.56911 10.072 8.45311 10.072 8.33311 10.072C8.19711 10.072 8.06111 10.072 7.92511 10.072C7.78911 10.072 7.63711 10.064 7.46911 10.048V12.484C7.46911 12.74 7.40511 12.9 7.27711 12.964C7.15711 13.02 7.00511 13.048 6.82111 13.048C6.72511 13.048 6.64911 13.04 6.59311 13.024C6.53711 13.016 6.48911 12.996 6.44911 12.964C6.41711 12.924 6.38911 12.868 6.36511 12.796C6.34911 12.724 6.33711 12.624 6.32911 12.496C6.31311 12.352 6.30111 12.144 6.29311 11.872C6.28511 11.592 6.27711 11.232 6.26911 10.792C6.26911 10.352 6.26511 9.82 6.25711 9.196C6.25711 8.564 6.25711 7.824 6.25711 6.976C6.25711 6.648 6.29711 6.332 6.37711 6.028C6.45711 5.716 6.60111 5.444 6.80911 5.212C7.01711 4.972 7.29711 4.78 7.64911 4.636C8.00911 4.492 8.46511 4.42 9.01711 4.42C9.40911 4.42 9.78911 4.464 10.1571 4.552C10.5331 4.64 10.8651 4.792 11.1531 5.008C11.4411 5.224 11.6731 5.516 11.8491 5.884C12.0251 6.252 12.1131 6.712 12.1131 7.264C12.1131 8 11.9531 8.572 11.6331 8.98C11.3211 9.38 10.8891 9.664 10.3371 9.832L11.9451 12.04C12.0891 12.232 12.1611 12.428 12.1611 12.628C12.1611 12.788 12.1051 12.912 11.9931 13C11.8891 13.096 11.7571 13.144 11.5971 13.144C11.4211 13.144 11.2691 13.096 11.1411 13C11.0131 12.896 10.8931 12.764 10.7811 12.604L9.02911 10.048ZM10.9131 7.252C10.9131 6.7 10.7451 6.292 10.4091 6.028C10.0811 5.756 9.55711 5.62 8.83711 5.62C8.57311 5.62 8.35311 5.644 8.17711 5.692C8.00111 5.732 7.86111 5.812 7.75711 5.932C7.65311 6.052 7.57711 6.22 7.52911 6.436C7.48911 6.644 7.46911 6.912 7.46911 7.24C7.46911 7.472 7.46911 7.744 7.46911 8.056C7.46911 8.368 7.47311 8.652 7.48111 8.908C7.66511 8.916 7.86911 8.92 8.09311 8.92C8.32511 8.92 8.54111 8.92 8.74111 8.92C8.96511 8.92 9.20111 8.908 9.44911 8.884C9.70511 8.852 9.94111 8.78 10.1571 8.668C10.3731 8.548 10.5531 8.38 10.6971 8.164C10.8411 7.94 10.9131 7.636 10.9131 7.252Z"),t.attr(r,"fill","#DD6617"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function h(l){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F0A85F"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M8.99967 14.6666C12.1293 14.6666 14.6663 12.1296 14.6663 8.99998C14.6663 5.87037 12.1293 3.33331 8.99967 3.33331C5.87006 3.33331 3.33301 5.87037 3.33301 8.99998C3.33301 12.1296 5.87006 14.6666 8.99967 14.6666Z"),t.attr(r,"stroke","#F0A85F"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M9 6V9L11 10"),t.attr(n,"stroke","#F0A85F"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(i,s){t.insert(i,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(i){i&&t.detach(e)}}}function p(l){let e,a,r,n;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),n=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#F35A23"),t.attr(a,"fill-opacity","0.29"),t.attr(r,"d","M12 6L6 12"),t.attr(r,"stroke","#F35A23"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(n,"d","M6 6L12 12"),t.attr(n,"stroke","#F35A23"),t.attr(n,"stroke-width","2"),t.attr(n,"stroke-linecap","round"),t.attr(n,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(i,s){t.insert(i,e,s),t.append(e,a),t.append(e,r),t.append(e,n)},d(i){i&&t.detach(e)}}}function f(l){let e,a,r;return{c(){e=t.svg_element("svg"),a=t.svg_element("rect"),r=t.svg_element("path"),t.attr(a,"width","18"),t.attr(a,"height","18"),t.attr(a,"rx","9"),t.attr(a,"fill","#32B398"),t.attr(a,"fill-opacity","0.3"),t.attr(r,"d","M11.1679 12.388C11.0879 12.196 10.9999 11.976 10.9039 11.728C10.8159 11.472 10.7199 11.204 10.6159 10.924C10.3759 10.932 10.1239 10.94 9.85992 10.948C9.59592 10.948 9.32792 10.948 9.05592 10.948C8.71192 10.948 8.39992 10.948 8.11992 10.948C7.83992 10.948 7.58392 10.944 7.35192 10.936C7.25592 11.216 7.16392 11.48 7.07592 11.728C6.98792 11.976 6.90392 12.196 6.82392 12.388C6.66392 12.796 6.43192 13 6.12792 13C6.01592 13 5.90792 12.964 5.80392 12.892C5.70792 12.82 5.65992 12.716 5.65992 12.58C5.65992 12.444 5.68392 12.268 5.73192 12.052C5.77992 11.828 5.83992 11.592 5.91192 11.344C5.99192 11.088 6.07592 10.828 6.16392 10.564C6.25192 10.292 6.33592 10.04 6.41592 9.808C6.49592 9.552 6.60792 9.228 6.75192 8.836C6.90392 8.436 7.06392 8.02 7.23192 7.588C7.39992 7.156 7.56792 6.732 7.73592 6.316C7.90392 5.892 8.05592 5.524 8.19192 5.212C8.22392 5.132 8.26392 5.044 8.31192 4.948C8.35992 4.844 8.41592 4.748 8.47992 4.66C8.55192 4.572 8.62792 4.496 8.70792 4.432C8.79592 4.368 8.89192 4.336 8.99592 4.336C9.09992 4.336 9.19592 4.372 9.28392 4.444C9.37192 4.508 9.44792 4.588 9.51192 4.684C9.58392 4.78 9.64392 4.88 9.69192 4.984C9.74792 5.088 9.79192 5.18 9.82392 5.26C9.95192 5.58 10.0959 5.948 10.2559 6.364C10.4239 6.78 10.5879 7.2 10.7479 7.624C10.9159 8.048 11.0719 8.452 11.2159 8.836C11.3599 9.22 11.4759 9.544 11.5639 9.808C11.6359 10.04 11.7159 10.288 11.8039 10.552C11.8999 10.816 11.9879 11.076 12.0679 11.332C12.1479 11.588 12.2119 11.828 12.2599 12.052C12.3159 12.268 12.3439 12.444 12.3439 12.58C12.3439 12.716 12.2919 12.82 12.1879 12.892C12.0919 12.964 11.9879 13 11.8759 13C11.7319 13 11.5999 12.952 11.4799 12.856C11.3599 12.752 11.2559 12.596 11.1679 12.388ZM9.04392 9.748C9.23592 9.748 9.42792 9.752 9.61992 9.76C9.81192 9.76 10.0039 9.764 10.1959 9.772C10.0999 9.492 10.0039 9.212 9.90792 8.932C9.81192 8.652 9.71992 8.384 9.63192 8.128C9.55192 7.872 9.47592 7.636 9.40392 7.42C9.33992 7.196 9.28392 7 9.23592 6.832C9.20392 6.728 9.16792 6.644 9.12792 6.58C9.08792 6.516 9.03592 6.484 8.97192 6.484C8.90792 6.484 8.85592 6.52 8.81592 6.592C8.77592 6.656 8.73992 6.74 8.70792 6.844C8.61192 7.172 8.47592 7.6 8.29992 8.128C8.13192 8.648 7.95192 9.196 7.75992 9.772C7.97592 9.764 8.19192 9.76 8.40792 9.76C8.62392 9.752 8.83592 9.748 9.04392 9.748Z"),t.attr(r,"fill","#32B398"),t.attr(r,"fill-opacity","0.831373"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","18"),t.attr(e,"height","18"),t.attr(e,"viewBox","0 0 18 18"),t.attr(e,"fill","none"),t.attr(e,"class","svelte-17lvd7j")},m(n,i){t.insert(n,e,i),t.append(e,a),t.append(e,r)},d(n){n&&t.detach(e)}}}function u(l){let e;function a(i,s){if(i[0]==="Authorized")return f;if(i[0]==="Failed")return p;if(i[0]==="Pending")return h;if(i[0]==="Rejected")return d;if(i[0]==="Success")return c}let r=a(l),n=r&&r(l);return{c(){n&&n.c(),e=t.empty()},m(i,s){n&&n.m(i,s),t.insert(i,e,s)},p(i,[s]){r!==(r=a(i))&&(n&&n.d(1),n=r&&r(i),n&&(n.c(),n.m(e.parentNode,e)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),n&&n.d(i)}}}function v(l,e,a){let{status:r=""}=e;return l.$$set=n=>{"status"in n&&a(0,r=n.status)},[r]}class C extends t.SvelteComponent{constructor(e){super(),t.init(this,e,v,u,t.safe_not_equal,{status:0},o)}get status(){return this.$$.ctx[0]}set status(e){this.$$set({status:e}),t.flush()}}t.create_custom_element(C,{status:{}},[],[],!0);exports.TxnStatusIcon=C;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as f, S as u, b as p, a as w, f as v, d as g, A as k, k as a, n as d, v as h, R as r, j as t, l as o } from "./CashierConfirmModal-
|
|
1
|
+
import { c as f, S as u, b as p, a as w, f as v, d as g, A as k, k as a, n as d, v as h, R as r, j as t, l as o } from "./CashierConfirmModal-rwhmlwC5.js";
|
|
2
2
|
function _(n) {
|
|
3
3
|
g(n, "svelte-17lvd7j", "svg.svelte-17lvd7j{flex:0 0 auto;width:18px;height:18px}");
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as u, S as k, b as w, a as _, f as g, A as m, k as d, n as p, v as h, R as s, j as t, l as a } from "./CashierConfirmModal-
|
|
1
|
+
import { c as u, S as k, b as w, a as _, f as g, A as m, k as d, n as p, v as h, R as s, j as t, l as a } from "./CashierConfirmModal-rwhmlwC5.js";
|
|
2
2
|
function y(c) {
|
|
3
3
|
let e, o, r, i, n;
|
|
4
4
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("./CashierConfirmModal-
|
|
1
|
+
"use strict";const t=require("./CashierConfirmModal-irSMDzV_.cjs");function d(s){let e,n,a,r,i;return{c(){e=t.svg_element("svg"),n=t.svg_element("rect"),a=t.svg_element("path"),r=t.svg_element("path"),i=t.svg_element("path"),t.attr(n,"width","24"),t.attr(n,"height","24"),t.attr(n,"rx","12"),t.attr(n,"fill","#F38123"),t.attr(n,"fill-opacity","0.29"),t.attr(a,"d","M16 8L8 16"),t.attr(a,"stroke","#F38123"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(r,"d","M16 18C17.1046 18 18 17.1046 18 16C18 14.8954 17.1046 14 16 14C14.8954 14 14 14.8954 14 16C14 17.1046 14.8954 18 16 18Z"),t.attr(r,"stroke","#F38123"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(i,"d","M8 10C9.10457 10 10 9.10457 10 8C10 6.89543 9.10457 6 8 6C6.89543 6 6 6.89543 6 8C6 9.10457 6.89543 10 8 10Z"),t.attr(i,"stroke","#F38123"),t.attr(i,"stroke-width","2"),t.attr(i,"stroke-linecap","round"),t.attr(i,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none")},m(o,p){t.insert(o,e,p),t.append(e,n),t.append(e,a),t.append(e,r),t.append(e,i)},d(o){o&&t.detach(e)}}}function c(s){let e,n,a,r;return{c(){e=t.svg_element("svg"),n=t.svg_element("rect"),a=t.svg_element("path"),r=t.svg_element("path"),t.attr(n,"width","24"),t.attr(n,"height","24"),t.attr(n,"rx","12"),t.attr(n,"fill","#F35A23"),t.attr(n,"fill-opacity","0.28"),t.attr(a,"d","M12.5345 7.20005L7.20117 12L12.5345 16.8"),t.attr(a,"stroke","#F35A23"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(r,"d","M16.9773 12L7.86621 12"),t.attr(r,"stroke","#F35A23"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none")},m(i,o){t.insert(i,e,o),t.append(e,n),t.append(e,a),t.append(e,r)},d(i){i&&t.detach(e)}}}function h(s){let e,n,a,r;return{c(){e=t.svg_element("svg"),n=t.svg_element("rect"),a=t.svg_element("path"),r=t.svg_element("path"),t.attr(n,"width","24"),t.attr(n,"height","24"),t.attr(n,"rx","12"),t.attr(n,"fill","#4A975C"),t.attr(n,"fill-opacity","0.29"),t.attr(a,"d","M11.6442 7.19999L16.9775 12L11.6442 16.8"),t.attr(a,"stroke","#4A975C"),t.attr(a,"stroke-width","2"),t.attr(a,"stroke-linecap","round"),t.attr(a,"stroke-linejoin","round"),t.attr(r,"d","M7.20041 12L16.3115 12"),t.attr(r,"stroke","#4A975C"),t.attr(r,"stroke-width","2"),t.attr(r,"stroke-linecap","round"),t.attr(r,"stroke-linejoin","round"),t.attr(e,"xmlns","http://www.w3.org/2000/svg"),t.attr(e,"width","24"),t.attr(e,"height","24"),t.attr(e,"viewBox","0 0 24 24"),t.attr(e,"fill","none")},m(i,o){t.insert(i,e,o),t.append(e,n),t.append(e,a),t.append(e,r)},d(i){i&&t.detach(e)}}}function u(s){let e;function n(i,o){if(i[0]==="Deposit")return h;if(i[0]==="Withdraw")return c;if(i[0]==="TaxDeduction")return d}let a=n(s),r=a&&a(s);return{c(){r&&r.c(),e=t.empty()},m(i,o){r&&r.m(i,o),t.insert(i,e,o)},p(i,[o]){a!==(a=n(i))&&(r&&r.d(1),r=a&&a(i),r&&(r.c(),r.m(e.parentNode,e)))},i:t.noop,o:t.noop,d(i){i&&t.detach(e),r&&r.d(i)}}}function f(s,e,n){let{type:a=""}=e;return s.$$set=r=>{"type"in r&&n(0,a=r.type)},[a]}class l extends t.SvelteComponent{constructor(e){super(),t.init(this,e,f,u,t.safe_not_equal,{type:0})}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),t.flush()}}t.create_custom_element(l,{type:{}},[],[],!0);exports.TxnTypeIcons=l;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as u, S as k, b as w, a as _, f as g, A as m, k as d, n as p, v as h, R as s, j as t, l as a } from "./CashierConfirmModal-
|
|
1
|
+
import { c as u, S as k, b as w, a as _, f as g, A as m, k as d, n as p, v as h, R as s, j as t, l as a } from "./CashierConfirmModal-Dx60VYf6.js";
|
|
2
2
|
function y(c) {
|
|
3
3
|
let e, o, r, i, n;
|
|
4
4
|
return {
|
package/es2015/cashier-page.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CashierPage-Bi90dl_Y.cjs")).then(({default:t})=>{!customElements.get("cashier-page")&&customElements.define("cashier-page",t.element)})}
|
package/es2015/cashier-page.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CashierPage-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CashierPage-Dq-XwH-T.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("cashier-page") && customElements.define("cashier-page", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/esnext/cashier-page.js
CHANGED