1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2724],{168:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>X});var n=l(37876),i=l(83415),s=l(14446),a=l(31716),o=l(54587),r=l.n(o),d=l(82565),c=l(47316),u=l(34846),x=l(14232),p=l(92094),v=l(52397),m=l(44975),b=l(87387),h=l(43677),y=l(17745),f=l(34636),A=l(94875),j=l(38243),N=l(9694),g=l(66852),k=l(51259),C=l(52543),w=l(36860),_=l(85093),B=l(22329),E=l(91447),T=l(81099),R=l(42231),I=l(14318),P=l(92123),S=l(57064),D=l(56633);let M=()=>{var e,t,l;let{t:o}=(0,u.Bd)(),{orderInfo:M,channelCode:L,setShowhowToMakeDeposit:O,defaultCryptoCurrency:$,setDefaultCryptCurrency:F,fromChooseCoin:U,setBanktransferStep:G,promotionList:K,setPromotionList:J}=(0,m.A)(),{channelAccount:W,accountList:V,showDetail:z,setShowDetail:H,setBusinessAccountsOpen:Y,setManageAccountOpen:Z,setAddAccountOpen:Q,businessCurrentAccount:X,businessAccountList:q,setBusinessAccountList:ee}=(0,b.A)(),[et,el]=(0,x.useState)(!1),{ga4log:en}=(0,y.A)(),{accountInfo:ei}=(0,f.A)(),{getQuoteFn:es}=(0,h.A)(),{goDashboard:ea}=(0,k.A)(),[eo,er]=(0,x.useState)(!1),[ed,ec]=(0,x.useState)(!1),eu=L===p.k$.BANK_FRICK;p.k$.CLEAR_JUNCTION;let ex=L===p.k$.ROMA,ep=(null==ei?void 0:ei.userType)==="Corporate";(0,D.A)(),(0,x.useEffect)(()=>{ec(!!(0,g.UG)(p.wJ))},[]),(0,x.useEffect)(()=>{(null==M?void 0:M.cryptoCurrency)&&F(M.cryptoCurrency)},[null==M?void 0:M.cryptoCurrency,F]),(0,x.useEffect)(()=>{$&&L&&es($)},[es,$,L]),(0,x.useEffect)(()=>{en({element_id:"paymonade3_banktransfer_trade_pagview",extraInfo:{type:"buy"}})},[en]);let ev=e=>{navigator.clipboard.writeText(e).then(()=>{d.A.info({text:o("copySucceed"),options:{position:d.y.top,Icon:null}})})},em=e=>{let{title:t,content:l="",copyAbled:i=!0,copyDelSpace:s=!1,index:o}=e;return(0,n.jsxs)("div",{className:"w-full ".concat(o?"mt-3 text-left":"text-left"),children:[(0,n.jsx)("div",{className:"text-small-body text-secondary",children:t}),(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)("div",{className:"text-regular-body-bold text-primary-text",children:l}),i&&(0,n.jsx)(a.A,{className:"w-6 h-6 text-third hover:text-link cursor-pointer",onClick:()=>ev(s?l.replace(/\s/g,""):l)})]})]})},eb=(0,x.useMemo)(()=>({[p.k$.FLOW_BANK]:[{title:o("AccountType"),content:o("CorporateBusiness"),copyAbled:!1},{title:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("span",{children:o("PaymentReference")}),(0,n.jsx)(c.A,{tips:o("PaymentReferenceTips"),children:(0,n.jsx)(E.A,{className:"w-4 h-4 text-third hover:text-link",alt:"info"})})]}),content:(null==W?void 0:W.reference)||"N/A",copyAbled:!!(null==W?void 0:W.reference)},{title:(0,n.jsxs)("div",{className:"flex items-center justify-start",children:[(0,n.jsx)("span",{children:o("BeneficiaryName")}),(0,n.jsx)("div",{className:"bg-alertbg py-[2px] px-1 rounded-[4px] text-link font-medium text-caption-sub ml-1",children:o("MustEnterCorrectly")})]}),content:null==W?void 0:W.payeeName,copyAbled:!0},{title:o("IBAN"),copyDelSpace:!0,content:((null==W?void 0:W.iban)||"").replace(/(.{4})/g,"$1 "),copyAbled:!0},{title:o("BankAccountNumber"),content:null==W?void 0:W.accountNumber,copyAbled:!0},{title:o("BankCountry"),content:null==W?void 0:W.bankCountry,copyAbled:!0},{title:o("BankName"),content:null==W?void 0:W.bankName,copyAbled:!0},{title:o("BankAddress"),content:null==W?void 0:W.bankAddress,copyAbled:!0},{title:o("SwiftCode"),content:null==W?void 0:W.bic,copyAbled:!0}],[p.k$.BANK_FRICK]:[{title:o("AccountType"),content:o("CorporateBusiness"),copyAbled:!1},{title:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("span",{children:o("PaymentReference")}),eu?(0,n.jsx)("div",{className:"bg-alertbg py-[2px] px-1 rounded-[4px] text-link font-medium text-caption-sub ml-1",children:o("MustEnterCorrectly")}):(0,n.jsx)(n.Fragment,{}),(0,n.jsx)(c.A,{tips:o("PaymentReferenceTips"),children:(0,n.jsx)(E.A,{className:"ml-1 w-4 h-4 text-third hover:text-link cursor-pointer"})})]}),content:(null==W?void 0:W.reference)||"N/A",copyAbled:!!(null==W?void 0:W.reference)},{title:(0,n.jsxs)("div",{className:"flex items-center justify-start",children:[(0,n.jsx)("span",{children:o("BeneficiaryName")}),(0,n.jsx)("div",{className:"bg-alertbg py-[2px] px-1 rounded-[4px] text-link font-medium text-caption-sub ml-1",children:o("MustEnterCorrectly")})]}),content:null==W?void 0:W.payeeName,copyAbled:!0},{title:o("IBAN"),copyDelSpace:!0,content:((null==W?void 0:W.iban)||"").replace(/(.{4})/g,"$1 "),copyAbled:!0},{title:o("BankCountry"),content:null==W?void 0:W.bankCountry,copyAbled:!0},{title:o("BankName"),content:null==W?void 0:W.bankName,copyAbled:!0},{title:o("BankAddress"),content:null==W?void 0:W.bankAddress,copyAbled:!0},{title:o("SwiftCode"),content:null==W?void 0:W.bic,copyAbled:!0}],[p.k$.CLEAR_JUNCTION]:[{title:o("AccountType"),content:o("CorporateBusiness"),copyAbled:!1},{title:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("span",{children:o("PaymentReference")}
1),(0,n.jsx)(c.A,{tips:o("PaymentReferenceTips"),children:(0,n.jsx)(E.A,{className:"ml-1 w-4 h-4 text-third hover:text-link cursor-pointer"})})]}),content:(null==W?void 0:W.reference)||"N/A",copyAbled:!!(null==W?void 0:W.reference)},{title:(0,n.jsxs)("div",{className:"flex items-center justify-start",children:[(0,n.jsx)("span",{children:o("BeneficiaryName")}),(0,n.jsx)("div",{className:"bg-alertbg py-[2px] px-1 rounded-[4px] text-link font-medium text-caption-sub ml-1",children:o("MustEnterCorrectly")})]}),content:null==W?void 0:W.payeeName,copyAbled:!0},{title:o("IBAN"),copyDelSpace:!0,content:((null==W?void 0:W.iban)||"").replace(/(.{4})/g,"$1 "),copyAbled:!0},{title:o("BankCountry"),content:null==W?void 0:W.bankCountry,copyAbled:!0},{title:o("BankName"),content:null==W?void 0:W.bankName,copyAbled:!0},{title:o("BankAddress"),content:null==W?void 0:W.bankAddress,copyAbled:!0},{title:o("SwiftCode"),content:null==W?void 0:W.bic,copyAbled:!0}],[p.k$.CLEAR_JUNCTION_GBP]:[{title:o("AccountType"),content:o("CorporateBusiness"),copyAbled:!1},{title:(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)("span",{children:o("PaymentReference")}),(0,n.jsx)(c.A,{tips:o("PaymentReferenceTips"),children:(0,n.jsx)(r(),{className:"cursor-pointer ml-1",alt:"ICInfo",src:i.A})})]}),content:(null==W?void 0:W.reference)||"N/A",copyAbled:!!(null==W?void 0:W.reference)},{title:(0,n.jsxs)("div",{className:"flex items-center justify-start",children:[(0,n.jsx)("span",{children:o("BeneficiaryName")}),(0,n.jsx)("div",{className:"bg-alertbg py-[2px] px-1 rounded-[4px] text-link font-medium text-caption-sub ml-1",children:o("MustEnterCorrectly")})]}),content:null==W?void 0:W.payeeName,copyAbled:!0},{title:o("AccountNumber"),content:null==W?void 0:W.accountNumber,copyAbled:!0},{title:o("SortCode"),content:null==W?void 0:W.sortCode,copyAbled:!0},{title:o("BankName"),content:null==W?void 0:W.bankName,copyAbled:!0},{title:o("BankAddress"),content:null==W?void 0:W.bankAddress,copyAbled:!0}],[p.k$.ROMA]:[{title:o("AccountType"),content:o("CorporateBusiness"),copyAbled:!1},{title:(0,n.jsxs)("div",{className:"flex items-center justify-start",children:[(0,n.jsx)("span",{children:o("BeneficiaryName")}),(0,n.jsx)(c.A,{tips:o("RomaBeneficiaryNameTips"),children:(0,n.jsx)(E.A,{className:"ml-1 w-4 h-4 text-third hover:text-link cursor-pointer"})}),(0,n.jsx)("div",{className:"bg-alertbg py-[2px] px-1 rounded-[4px] text-link font-medium text-caption-sub ml-1",children:o("MustEnterCorrectly")})]}),content:null==W?void 0:W.payeeName,copyAbled:!0},{title:o("IBAN"),content:null==W?void 0:W.iban,copyAbled:!0},{title:o("paymentCodePurpose"),content:o("financialServices"),copyAbled:!0},{title:o("BankCountry"),content:null==W?void 0:W.bankCountry,copyAbled:!0},{title:o("BankName"),content:null==W?void 0:W.bankName,copyAbled:!0},{title:o("BankAddress"),content:null==W?void 0:W.bankAddress,copyAbled:!0},{title:o("SwiftCode"),content:null==W?void 0:W.bankingRoutingCodeValue,copyAbled:!0}],[p.k$.EASY_EURO]:[{title:(0,n.jsxs)("div",{className:"flex items-center justify-start",children:[(0,n.jsx)("span",{children:o("BeneficiaryName")}),(0,n.jsx)("div",{className:"bg-alertbg py-[2px] px-1 rounded-[4px] text-link font-medium text-caption-sub ml-1",children:o("MustEnterCorrectly")})]}),content:null==W?void 0:W.payeeName,copyAbled:!0},{title:o("IBAN"),copyDelSpace:!0,content:((null==W?void 0:W.iban)||"").replace(/(.{4})/g,"$1 "),copyAbled:!0},{title:o("BankCountry"),content:null==W?void 0:W.bankCountry,copyAbled:!0},{title:o("BankName"),content:null==W?void 0:W.bankName,copyAbled:!0},{title:o("BankAddress"),content:null==W?void 0:W.bankAddress,copyAbled:!0},{title:o("SwiftCode"),content:null==W?void 0:W.bic,copyAbled:!0}]}),[null==W?void 0:W.accountNumber,null==W?void 0:W.bankAddress,null==W?void 0:W.bankCountry,null==W?void 0:W.bankName,null==W?void 0:W.bankingRoutingCodeType,null==W?void 0:W.bic,null==W?void 0:W.iban,null==W?void 0:W.payeeName,null==W?void 0:W.reference,null==W?void 0:W.sortCode,eu,o]),eh=(0,x.useMemo)(()=>L===p.k$.CLEAR_JUNCTION&&(null==M?void 0:M.fiatCurrency)==="GBP"?eb[p.k$.CLEAR_JUNCTION_GBP]:eb[L],[eb,L,null==M?void 0:M.fiatCurrency]),ey=(0,x.useMemo)(()=>L===p.k$.CLEAR_JUNCTION&&(null==M?void 0:M.fiatCurrency)==="GBP"?({[p.k$.CLEAR_JUNCTION_GBP]:null==eh?void 0:eh.slice(0,5)})[p.k$.CLEAR_JUNCTION_GBP]:L===p.k$.FLOW_BANK?null==eh?void 0:eh.slice(0,6):L===p.k$.BANK_FRICK||L===p.k$.ROMA?null==eh?void 0:eh.slice(0,5):L===p.k$.EASY_EURO?null==eh?void 0:eh.slice(0,4):({[p.k$.CLEAR_JUNCTION]:null==eh?void 0:eh.slice(0,5)})[L],[eh,L,null==M?void 0:M.fiatCurrency]),{CJTips:ef}=(0,C.A)({channelCode:L}),{EETips:eA}=(0,S.A)({channelCode:L}),ej=(0,x.useCallback)(()=>{(0,g.UG)(p.wJ)?ea():(0,p.V3)()},[ea]);(0,x.useCallback)(()=>
1{if(ed){var e,t;null===(t=window)||void 0===t||null===(e=t.history)||void 0===e||e.go(-1)}else G(j.gG.chooseCoin)},[ed,G]),L===p.k$.FLOW_BANK&&(null==ei||ei.userType);let eN=(0,x.useCallback)(()=>{if(ep&&eu){var e;(null===(e=q.data)||void 0===e?void 0:e.length)?Y(!0):Q(!0);return}},[ep,eu,null===(e=q.data)||void 0===e?void 0:e.length,Y,Q]);return(0,n.jsxs)("div",{className:"sm:px-5 px-0 flex flex-col flex-1 overflow-hidden",children:[!ex&&(0,n.jsx)(R.A,{title:o("TransferFund"),hideBack:!0}),(0,n.jsxs)("div",{className:"flex-1 overflow-auto pb-4 px-5 -mx-5 ",children:[ef,eA,(null==W?void 0:W.displayNotice)&&(0,n.jsxs)("div",{className:"bg-alertbg px-2 py-3 flex text-xs mt-4 leading-4 items-start rounded-xl",children:[(0,n.jsx)(r(),{src:i.A,alt:"ICInfo"}),(0,n.jsx)("div",{className:"ml-1",children:(0,n.jsx)("span",{className:"text-primary-text",children:o("MicaTips")})})]}),(0,n.jsxs)("div",{className:"flex ".concat(ex?"flex-col":"justify-between items-center"," px-4 pt-4 pb-2 bg-bg2 ")+"rounded-xl",children:[(0,n.jsx)("div",{className:"text-regular-body-bold",children:(0,n.jsx)(u.x6,{t:o,i18nKey:"TransferEUR",components:{s:(0,n.jsx)("span",{className:"text-link text-m"})},values:{currency:null==M?void 0:M.fiatCurrency}})}),!ex&&(0,n.jsxs)("div",{className:"flex",children:[!(0,N.l)(null==M?void 0:M.businessType,p.c.DEPOSIT)&&(0,n.jsx)(r(),{className:"z-10 relative left-3",width:"32",height:"32",src:"".concat("https://static2.paymonade.tech","/crypto/").concat($,"_256.png"),alt:""}),(0,n.jsx)(r(),{className:"z-0",width:"32",height:"32",src:"".concat("https://static2.paymonade.tech","/fiat/").concat(null==M?void 0:M.fiatCurrency,"_256.png"),alt:""})]}),ex&&ep&&(0,n.jsx)("div",{children:o("WeekendTransfersMayBeDelayed")})]}),(0,n.jsxs)("div",{className:"bg-bg2 flex justify-between items-center relative",children:[(0,n.jsx)("div",{className:"w-2 h-4 rounded-tr-full rounded-br-full bg-bg1 relative"}),(0,n.jsx)("div",{className:"grow border-dashed border-t h-0 border-line relative mx-2"}),(0,n.jsx)("div",{className:"w-2 h-4 rounded-tl-full rounded-bl-full bg-bg1 relative"})]}),(0,n.jsxs)("div",{className:"bg-bg2 rounded-br-xl rounded-bl-xl px-3 pt-2 pb-3 overflow-hidden",children:[L===p.k$.BANK_FRICK&&(null===(t=q.data)||void 0===t?void 0:t.length)?(0,n.jsxs)("div",{onClick:eN,className:" cursor-pointer border-b border-line mx-[-12px] px-3 text-regular-body-sub mb-4 pb-3",children:[(0,n.jsxs)("div",{className:"flex justify-between",children:[(0,n.jsx)("div",{children:o("ManageAccount")}),(0,n.jsx)(r(),{className:"rotate-180",src:s.A,alt:"right"})]}),(0,n.jsx)("div",{className:"text-secondary mt-1 text-small-body",children:o("manageAccountDesc1")})]}):(0,n.jsx)(n.Fragment,{}),et?(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[null==eh?void 0:eh.map((e,t)=>(0,n.jsx)(em,{copyDelSpace:e.copyDelSpace,index:t,copyAbled:e.copyAbled,title:e.title,content:e.content},t)),(0,n.jsxs)("div",{onClick:()=>el(!1),className:"w-40 py-2 bg-bg1 cursor-pointer flex gap-1 items-center justify-center rounded-full mt-3 text-link hover:text-primary",children:[(0,n.jsx)("span",{className:"text-small-body-bold",children:o("ViewLess")}),(0,n.jsx)(P.A,{className:"w-4 h-4 -rotate-90"})]})]}):(0,n.jsxs)("div",{className:"flex flex-col items-center",children:[null==ey?void 0:ey.map((e,t)=>(0,n.jsx)(em,{copyDelSpace:e.copyDelSpace,index:t,copyAbled:e.copyAbled,title:e.title,content:e.content},t)),(0,n.jsxs)("div",{onClick:()=>el(!0),className:"w-40 py-2 bg-bg1 cursor-pointer flex gap-1 items-center justify-center rounded-full mt-3 text-link hover:text-primary",children:[(0,n.jsx)("span",{className:"text-small-body-bold",children:o("ViewMore")}),(0,n.jsx)(P.A,{className:"w-4 h-4 rotate-90"})]})]}),L===p.k$.ROMA&&(null===(l=V.data)||void 0===l?void 0:l.length)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"bg-bg2 -mx-3 mb-2 flex justify-between items-center relative",children:[(0,n.jsx)("div",{className:"w-2 h-4 rounded-tr-full rounded-br-full bg-bg1 relative"}),(0,n.jsx)("div",{className:"grow border-dashed border-t h-0 border-line relative mx-2"}),(0,n.jsx)("div",{className:"w-2 h-4 rounded-tl-full rounded-bl-full bg-bg1 relative"})]}),(0,n.jsxs)("div",{onClick:()=>er(!eo),className:"group cursor-pointer text-regular-body-sub mb-2 flex justify-between items-center",children:[(0,n.jsxs)("div",{className:"flex flex-col justify-between",children:[(0,n.jsx)("div",{children:o("WhitelistAccount")}
1),(0,n.jsx)("div",{className:"text-secondary text-small-body",children:o("manageAccountDescRoma")})]}),(0,n.jsx)(P.A,{className:"w-6 h-6 text-third group-hover:text-link"})]})]}):(0,n.jsx)(n.Fragment,{})]}),(0,n.jsx)(T.A,{channelCode:L,accountInfo:ei})]}),(0,n.jsx)(A.A,{className:"",hideBtn:!ex,onClick:ej,btnText:ed?o("BackToHomepage"):o("BackToMerchant").replace("{{Merchant}}",ex?"Binance":(0,v._W)(p.ck.merchantCode))}),(null==ei?void 0:ei.userType)?ep&&eu?(0,n.jsx)(B.y,{type:"payin"}):(0,n.jsx)(w.A,{subTitle:(0,n.jsx)("div",{className:"pt-3",children:o("manageAccountDesc2")}),title:o("ManageAccount"),hiddenBtn:!0,hiddenChoose:!0}):(0,n.jsx)(n.Fragment,{}),(0,n.jsx)(_.A,{}),ex?(0,n.jsx)(I.A,{open:eo,setOpen:er}):(0,n.jsx)(n.Fragment,{})]})};var L=l(59039),O=l(95215),$=l(8053),F=l(91556),U=l(88442),G=l(38835),K=l(83979),J=l(19851),W=l(83035),V=l(99996),z=l(7419),H=l(13715),Y=l(36327),Z=l(61329),Q=l(79829);let X=()=>{let{t:e}=(0,u.Bd)(),t="true"===(0,v._W)(p.Bm.isRoma),{ga4log:l}=(0,y.A)(),{orderInfo:i,banktransferStep:s,unavailableReason:a,openAccountError:o,loadingModal:d,setShowMenuBtn:c,channelCode:b}=(0,m.A)(),{verifyRiskStatus:h,getRiskReminderPageUrl:f}=(0,W.E)(),{promotionLoading:A,migrateCashback:N,setMigrateCashback:g,setPromotionAccountCheck:k,setPormotionLoading:C,welcomePageDescription:w,setWelcomePageDescription:_,welcomePageNeedPop:B,setWelcomePageNeedPop:E,welcomePagePopTitle:T,setWelcomePagePopTitle:R,welcomePagePopDescription:P,setWelcomePagePopDescription:S}=(0,Y.A)(),D=(0,v._W)(p.Bm.email)||"";(0,x.useEffect)(()=>{},[D,N,g,C,k,_,E,S,R]),(0,x.useEffect)(()=>{(null==i?void 0:i.orderId)&&(C(!0),(0,Q.ys)({orderId:null==i?void 0:i.orderId}).then(e=>{var t,l,n,i,s,a,o,r,d,c,u;C(!1),g(null===(l=e.data)||void 0===l?void 0:null===(t=l[0])||void 0===t?void 0:t.name),_(null===(i=e.data)||void 0===i?void 0:null===(n=i[0])||void 0===n?void 0:n.orderDetailPageDescription),E((null===(a=e.data)||void 0===a?void 0:null===(s=a[0])||void 0===s?void 0:s.welcomePageNeedPop)||!1),R((null===(r=e.data)||void 0===r?void 0:null===(o=r[0])||void 0===o?void 0:o.welcomePagePopTitle)||""),S((null===(c=e.data)||void 0===c?void 0:null===(d=c[0])||void 0===d?void 0:d.welcomePagePopDescription)||""),(null===(u=e.data)||void 0===u?void 0:u.length)||(C(!0),(0,Z.LU)({email:D,flowStep:"SEPA_BUY"}).then(e=>{var t,l,n,i,s,a,o,r,d,c,u,x,p,v,m,b;C(!1),k((null===(t=e.data)||void 0===t?void 0:t.entityOfCurrentAccounts)||[]),g(null===(i=e.data)||void 0===i?void 0:null===(n=i.promotionList)||void 0===n?void 0:null===(l=n[0])||void 0===l?void 0:l.name),_((null===(o=e.data)||void 0===o?void 0:null===(a=o.promotionList)||void 0===a?void 0:null===(s=a[0])||void 0===s?void 0:s.welcomePageDescription)||""),E((null===(c=e.data)||void 0===c?void 0:null===(d=c.promotionList)||void 0===d?void 0:null===(r=d[0])||void 0===r?void 0:r.welcomePageNeedPop)||!1),R((null===(p=e.data)||void 0===p?void 0:null===(x=p.promotionList)||void 0===x?void 0:null===(u=x[0])||void 0===u?void 0:u.welcomePagePopTitle)||""),S((null===(b=e.data)||void 0===b?void 0:null===(m=b.promotionList)||void 0===m?void 0:null===(v=m[0])||void 0===v?void 0:v.welcomePagePopDescription)||"")}).catch(e=>{C(!0)}))}).finally(()=>{C(!1)}))},[null==i?void 0:i.orderId]),(0,x.useEffect)(()=>{h().then(e=>{"go_warning_page"===e&&f(window.location.href)})},[h,f]),(0,x.useEffect)(()=>{c(!0),l({element_id:"paymonade3_banktransfer_pagview",extraInfo:{type:"buy"}})},[l,c]);let{trackAndGa:X}=(0,z.A)();(0,x.useEffect)(()=>{b&&X({elementId:"banktransfer_buy_pageview",channelCode:b})},[X,b]),(0,x.useEffect)(()=>{A||(console.log("promition_logElementID","promition_".concat(N||"nopromotion","_pageview"),{email:D}),X({elementId:"promition_".concat(N||"nopromotion","_pageview"),extraData:{email:D}}))},[D,N,A,X]),(0,F.A)();let[q,ee]=(0,x.useState)(!1);return(0,n.jsxs)($.Ay,{className:"sm:!h-[calc(100%-96px)]",children:[!A&&N&&(0,n.jsx)(H.A,{childrenText:w,showPop:B,popText:P,popTitle:T}),s===j.gG.loading&&s===j.gG.loading&&(0,n.jsx)(K.A,{title:(0,n.jsx)("div",{className:"py-4 sm:px-5 font-bold text-lg",children:e("TransferFund")})}),s===j.gG.trade&&(0,n.jsx)(M,{}),s===j.gG.unavailable&&(0,n.jsx)(O.A,{dangerouslySetInnerHTML:{__html:a?e("channeldisabledDesc"):e("createAccountFailedDesc_binance").replace("{{error}}",o?"(".concat(o,")"):"")}}),s===j.gG.TradingPairUnsupported&&(0,n.jsx)(O.A,{ServicesUnavailableTitle:e("TradingPairUnsupported"),ServicesUnavailableDesc:e("TradingPairUnsupportedDesc")}),s===j.gG.AccountNotReady&&(0,n.jsx)(O.A,{ServicesUnavailableTitle:e("AccountNotReady"),ServicesUnavailableDesc:e("AccountNotReadyDesc")}),s===j.gG.chooseCoin&&(0,n.jsx)(U.A,{}),(0,n.jsx)(J.A,{icon:(0,n.jsx)(r(),{style:{width:"80px",height:"80px"},src:L.A,alt:"KycIcon"}),open:null==d?void 0:d.open,tips:e("loadingDesc3mins")}),(0,n.jsx)(V.A,{}),t?(0,n.jsx)(I.A,{open:q,setOpen:ee}):(0,n.jsx)(n.Fragment,{}),(0,n.jsx)(G.A,{})]})}},28516:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lng]/banktransfer-buy",function(){return l(168)}])},31780:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var n=l(37876);l(14232);let i=e=>{let{className:t="",...l}=e;return(0,n.jsx)("div",{className:"".concat(t),children:(0,n.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full fill-current origin-center",...l,children:(0,n.jsx)("path",{d:"M11.06 11.6374C10.5704 12.4207 9.42956 12.4207 8.93998 11.6374L7.02862 8.57918C6.50827 7.74662 7.10682 6.66668 8.08862 6.66668L11.9113 6.66668C12.8931 6.66668 13.4917 7.74662 12.9713 8.57918L11.06 11.6374Z"})})})}},42146:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});let n={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/nodata.3c7849e6.svg",height:64,width:64,blurWidth:0,blurHeight:0}},63434:(e,t,l)=>{"use strict";l.d(t,{A:()=>m});var n=l(37876),i=l(14232),s=l(91408),a=l(91959),o=l(54587),r=l.n(o),d=l(34846),c=l(56820),u=l(83081);let x=e=>{let{defaultCheck:t,onChange:l,className:s}=e,a=(0,i.useRef)(null),[o,d]=(0,i.useState)(t||!1);return(0,n.jsxs)("div",{onClick:e=>{var t,n,i,s;d(i=!(null===(t=a.current)||void 0===t?void 0:t.checked)),l(s=!(null===(n=a.current)||void 0===n?void 0:n.checked))},className:"cursor-pointer w-[14px] h-[14px] rounded-sm flex items-center justify-center ".concat(o?"bg-[#91E500] border border-[#91E500]":"border-[#
1EAECEF] border "," ").concat(s),children:[o?(0,n.jsx)(r(),{src:u.A,alt:"right"}):null,(0,n.jsx)("input",{readOnly:!0,checked:o,ref:a,hidden:!0,type:"checkbox"})]})};var p=l(42146),v=l(31780);function m(e){var t,l,o;let{className:u,required:m,containerClassName:b,dropdownCLassName:h,IconClassName:y,label:f,rules:A,options:j,value:N,onChange:g,onClick:k,onChildrenChange:C,disabled:w,displayType:_,placeholder:B,noBg:E,...T}=e,[R,I]=(0,i.useState)(),[P,S]=(0,i.useState)(!0),[D,M]=(0,i.useState)(!1),[L,O]=(0,i.useState)((null===(t=j.find(e=>e.value===N))||void 0===t?void 0:t.label)||""),$=(0,i.useRef)(!1),F=(0,i.useRef)(null),U=(0,i.useMemo)(()=>(0,s.Ik)().shape({value:A}),[A]),{t:G}=(0,d.Bd)(),K=(0,i.useRef)(null);(0,i.useEffect)(()=>{P||$.current||D||U.validate({value:L}).then(()=>I(void 0)).catch(e=>I(e.errors[0]))},[U,P,L,D]);let J=e=>{S(!1);let t=j.find(t=>t.value===e.target.value).label;O(t),$.current=!1,F.current.value=t,M(!1),null==g||g(e)};(0,i.useEffect)(()=>{var e;let t=(null===(e=j.find(e=>e.value===N))||void 0===e?void 0:e.label)||"";D?(F.current&&(F.current.value="",F.current.placeholder=G("Search")),O("")):(F.current&&(F.current.value=t),O(t))},[j,D,N,G]);let W=j.filter(e=>-1!==e.label.toLowerCase().indexOf(L.toLowerCase()));(0,i.useEffect)(()=>{setTimeout(()=>{if(K.current&&D){var e,t;null===(t=K.current)||void 0===t||null===(e=t.scrollIntoView)||void 0===e||e.call(t,{block:"center",inline:"center"})}},150)},[N,D]);let V=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=e=>{M(!1)};return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}},[]),(0,n.jsx)("div",{className:u,children:(0,n.jsxs)(n.Fragment,{children:["hidden"!==_?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"text-sm text-primary-text flex items-end",children:[f," ",(0,n.jsx)("span",{className:"text-sell ml-1",children:m?"*":""})]}),(0,n.jsx)("div",{className:"relative inline-block w-full",children:(0,n.jsxs)("div",{className:"\n outline-none relative rounded-xl transition-all duration-150\n border min-h-11 mt-1 ".concat(E?"":"bg-bg2"," disabled:bg-line\n text-[#1E2329] disabled:text-disabled ").concat(R?"border-sell ":"border-line ","\n ").concat(R||w?"":"hover:border-primary ","\n ").concat(b,"\n "),style:{fontSize:"14px",width:"100%"},children:[(0,n.jsxs)("div",{onClick:e=>{w||(M(!0),null==k||k(),e.stopPropagation())},className:"w-full flex items-center relative justify-between",children:[(0,n.jsx)("div",{onClick:()=>{setTimeout(()=>{var e;null===(e=V.current)||void 0===e||e.scrollIntoView({behavior:"smooth",block:"center",inline:"center"})},150)},className:"".concat(D?"none":"shrink-0 absolute top-0 left-0 z-10 w-full")}),(0,n.jsx)("input",{className:"\n shrink-0 outline-none rounded-xl w-full py-3 px-3 text-small-body-sub\n ".concat(E?"":"bg-bg2"," text-primary-text\n disabled:bg-line disabled:text-disabled\n ").concat(D?"rounded-b-none border-b-line":"","\n "),disabled:w,value:L,ref:F,placeholder:B,onInput:e=>{O(e.target.value),$.current=!0}}),(0,n.jsx)(v.A,{className:"transition-all duration-150 shrink-0 w-5 h-5 text-primary-text absolute top-[calc(50%)] right-3 transform -translate-y-1/2 ".concat(D?"rotate-180":""," ").concat(y),alt:"caretDownF"})]}),(0,n.jsx)("div",{onClick:e=>e.stopPropagation(),ref:V,className:"\n transition-[height] duration-75 ease-in-out\n ".concat(D?"h-64 py-3 border-t border-t-line hover:border-primary hover:border-t-line rounded-b-xl ".concat(E?"":"bg-bg2"," relative top-0 left-3 w-full -mx-3 overflow-auto ").concat(h):"h-0 overflow-hidden","\n "),children:W.length?W.map(e=>(0,n.jsxs)("div",{ref:N===e.value?K:null,onMouseDown:()=>{e.disabled||J({target:{value:e.value}})},className:"px-2 mx-2 rounded-lg py-2 ".concat(E?"":"bg-bg2"," cursor-pointer text-primary-text hover:text-link justify-between flex items-center hover:bg-bg3 transition-all duration-150 ").concat(e.disabled?"text-disabled hover:text-disabled cursor-not-allowed":""),children:[(0,n.jsx)("span",{className:"".concat(N===e.value?"text-link ":""),children:e.labelComponent||e.label}),N===e.value?(0,n.jsx)(r(),{src:a.A,alt:"rightGreen"}):(0,n.jsx)(n.Fragment,{})]},e.value)):(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center px-4 py-2 text-regular-body text-third cursor-not-allowed",children:[(0,n.jsx)(r(),{className:"mt-16",src:p.A,alt:"nodata"}),(0,n.jsx)("div",{children:G("NoData")})]})})]})}),R&&(0,n.jsx)("div",{className:"text-sm text-sell mt-1",children:R})]}):(0,n.jsx)(n.Fragment,{}),null===(o=j.find(e=>e.value===N))||void 0===o?void 0:null===(l=o.children)||void 0===l?void 0:l.map(e=>(0,n.jsx)("div",{className:"mt-6",children:"Input"===e.type&&"hidden"
1!==e.displayType?(0,n.jsx)(c.A,{disabled:e._front_disabled,value:e.myAnswer,onChange:t=>null==C?void 0:C({...e,value:t.target.value}),placeholder:e.inputPlaceholder,label:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:e.subQuestion||""}})}):"SingleCheckBox"===e.type&&"hidden"!==e.displayType?(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(x,{defaultCheck:"Y"===e.myAnswer,onChange:t=>{null==C||C({...e,value:t?"Y":"N"})}}),(0,n.jsx)("div",{className:"ml-2 text-secondary",children:e.subQuestion})]}):""},e.subQuestion))]})})}},91447:(e,t,l)=>{"use strict";l.d(t,{A:()=>i});var n=l(37876);l(14232);let i=e=>{let{className:t="",...l}=e;return(0,n.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"fill-current ".concat(t),...l,children:(0,n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM13.5 6.5C13.5 7.32843 12.8284 8 12 8C11.1716 8 10.5 7.32843 10.5 6.5C10.5 5.67157 11.1716 5 12 5C12.8284 5 13.5 5.67157 13.5 6.5ZM12 9.5C12.8284 9.5 13.5 10.2089 13.5 11.0833V17.4167C13.5 18.2911 12.8284 19 12 19C11.1716 19 10.5 18.2911 10.5 17.4167V11.0833C10.5 10.2089 11.1716 9.5 12 9.5Z"})})}},91959:(e,t,l)=>{"use strict";l.d(t,{A:()=>n});let n={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/right-green.fe58f836.svg",height:16,width:16,blurWidth:0,blurHeight:0}},94196:(e,t,l)=>{"use strict";l.d(t,{A:()=>s});var n=l(37876),i=l(88050);let s=e=>{let{className:t,containerClassName:l}=e;return(0,n.jsx)("div",{id:"loadingComponent",className:"flex justify-center items-center h-full w-full p-10 ".concat(l),children:(0,n.jsx)(i.A,{size:8,color:"#A7EA33",speedMultiplier:.7})})}}},e=>{var t=t=>e(e.s=t);e.O(0,[8069,6077,6351,8319,7956,3689,5974,5996,8442,636,6593,8792],()=>t(28516)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.