1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8732],{8053:(e,t,s)=>{"use strict";s.d(t,{Ay:()=>a,UB:()=>l,dU:()=>i,uB:()=>r});var n=s(37876);s(14232);let a=e=>{let{children:t,className:s,outChildren:a}=e;return a?(0,n.jsxs)("div",{className:"overflow-auto flex items-center w-full flex-col h-full",children:[(0,n.jsx)("div",{className:"w-full sm:w-[592px]",children:a}),(0,n.jsx)("div",{id:"ShadowContainer",className:"\n overflow-auto grow bg-bg1\n relative flex flex-col h-full sm:h-[calc(100%-40px)]\n px-5 max-h-[860px] border-line\n sm:rounded-[20px] my-0 sm:mt-4 sm:mb-10\n sm:border sm:px-0\n w-full sm:w-[592px] mx-auto text-primary-text !text-sm\n ".concat(s,"\n "),children:t})]}):(0,n.jsx)("div",{id:"ShadowContainer",className:"\n overflow-auto grow\n relative flex flex-col h-full sm:h-[calc(100%-40px)]\n px-5 max-h-[860px] border-line\n sm:rounded-[20px] my-0 sm:mt-4 sm:mb-10\n sm:border sm:px-0\n w-full sm:w-[592px] mx-auto text-primary-text !text-sm\n ".concat(s,"\n "),children:t})},l=e=>{let{children:t,className:s}=e;return(0,n.jsx)("div",{id:"ContainerWithoutShadow",className:"\n relative w-full mx-auto text-primary-text !text-sm my-0 h-full\n sm:my-5 sm:w-[486px]\n ".concat(s,"\n "),children:t})},i=e=>{let{children:t,className:s,outChildren:a}=e;return a?(0,n.jsxs)("div",{className:"relative m-auto sm:w-[592px] sm:h-[680px] ",children:[(0,n.jsx)("div",{className:" sm:w-[592px]",children:a}),(0,n.jsx)("div",{id:"FixedHeightContainer",className:"\n border rounded-[20px] border-transparent text-primary-text h-screen mt-8\n sm:w-[592px] sm:h-[680px] sm:border-line\n ".concat(s,"\n "),children:t})]}):(0,n.jsx)("div",{className:"relative m-auto sm:w-[592px] sm:h-[680px] ",children:(0,n.jsx)("div",{id:"FixedHeightContainer",className:"\n border rounded-[20px] border-transparent text-primary-text h-screen mt-8\n sm:w-[592px] sm:h-[680px] sm:border-line\n ".concat(s,"\n "),children:t})})},r=e=>{let{children:t,className:s}=e;return(0,n.jsx)("div",{className:"\n w-full sm:w-[486px] mx-auto relative\n flex flex-col flex-1 px-4 sm:px-0\n ".concat(s||"","\n "),children:t})}},11220:e=>{var t="\ud800-\udfff",s="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",n="\ud83c[\udffb-\udfff]",a="[^"+t+"]",l="(?:\ud83c[\udde6-\uddff]){2}",i="[\ud800-\udbff][\udc00-\udfff]",r="(?:"+s+"|"+n+")?",o="[\\ufe0e\\ufe0f]?",d="(?:\\u200d(?:"+[a,l,i].join("|")+")"+o+r+")*",c=RegExp(n+"(?="+n+")|"+("(?:"+[a+s+"?",s,l,i,"["+t+"]"].join("|"))+")"+(o+r+d),"g");e.exports=function(e){return e.match(c)||[]}},11928:(e,t,s)=>{"use strict";s.d(t,{A:()=>i,L:()=>l});var n=s(10252),a=s(14232),l=function(e){return e.login="login",e.signup="signup",e.setPWD="setPWD",e.verificationCode="verificationCode",e.TwoFaTip="TwoFaTip",e}({});let i=(0,n.kQ)(()=>{let[e,t]=(0,a.useState)(""),[s,n]=(0,a.useState)(),[l,i]=(0,a.useState)(""),[r,o]=(0,a.useState)(),[d,c]=(0,a.useState)(),[u,m]=(0,a.useState)(),[x,v]=(0,a.useState)(!1),[f,p]=(0,a.useState)(),[h,w]=(0,a.useState)("login");return{codeError:f,setCodeError:p,emailNotChange:x,setEmailNotChange:v,code:u,setCode:m,step:h,setStep:w,pwdError:r,setPwdError:o,email:e,setEmail:t,emailError:s,setEmailError:n,pwd:l,setpwd:i,loginError:d,setLoginError:c}})},12438:(e,t,s)=>{var n=s(59038);e.exports=function(e){return null==e?"":n(e)}},14377:(e,t,s)=>{"use strict";let n;s.d(t,{A:()=>g});var a=s(37876),l=s(84952),i=s(91251),r=s(58725),o=s(11928),d=s(14232),c=s(34846),u=s(91408),m=s(16247),x=s(54587),v=s.n(x),f=s(61329),p=s(66523),h=s(66852),w=s(95690),S=s(82565),N=s(33558),A=s.n(N),j=s(92094);let g=()=>{let{t:e}=(0,c.Bd)(),[t,s]=(0,d.useState)(!1),{email:x,setEmail:N,emailError:g,setEmailError:b,setStep:k,step:E,code:I,setCode:_,codeError:C,setCodeError:y}=(0,o.A)(),[T,R]=(0,d.useState)(0),[B,U]=(0,d.useState)(""),[O,P]=(0,d.useState)(!0),[F,L]=(0,d.useState)(!0),G=!x||g||!O||!I&&1===T||B,H=(0,d.useRef)(60),[D,Z]=(0,d.useState)(60);(0,d.useEffect)(()=>{y("")},[y]),(0,p.A)({handleCheck:e=>{y(""),(0,f.q$)({email:x,verifyBusiness:(0,h.UG)(j.Bm.orderToken)?"KYB_REGIST
1ER_IN_ORDER":"KYB_REGISTER",recaptchaToken:e,nonInductiveVerification:!0}),n=setInterval(()=>{if(0===H.current){clearInterval(n),Z(60);return}Z(e=>e-1)},1e3),R(1)}}),(0,d.useEffect)(()=>{H.current=D},[D]);let M=(0,d.useCallback)(()=>{n&&clearInterval(n),window.grecaptcha.reset(),setTimeout(()=>{window.grecaptcha.execute()},150)},[]);(0,d.useEffect)(()=>{0===T&&_("")},[T,_]);let{doBusinessLogin:W}=(0,w.A)(),Y=()=>{(0,f.bJ)({email:x,emailVerifyCode:A()(I),verifyBusiness:(0,h.UG)(j.Bm.orderToken)?"KYB_REGISTER_IN_ORDER":"KYB_REGISTER",nonInductiveVerification:!0,orderToken:(0,h.UG)("orderToken")}).then(async e=>{let{data:t}=e;t.token.token?(await W(t.token.token,t.token.validTime),y(""),k(o.L.setPWD)):y("InvalidCodePleasetryagain")}).catch(t=>{var s,n,a,l,i,r;(null==t?void 0:null===(n=t.response)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:s.code)==="USE000002003"?y(e("InvalidCodePleasetryagain")):(null==t?void 0:null===(l=t.response)||void 0===l?void 0:null===(a=l.data)||void 0===a?void 0:a.code)==="USE004002000"?y(e("tooManyTimes")):y(null==t?void 0:null===(r=t.response)||void 0===r?void 0:null===(i=r.data)||void 0===i?void 0:i.msg)})},$=60!==D||!x||g;return(0,a.jsxs)("div",{className:"flex flex-col flex-1 items-center h-full w-full justify-between",children:[(0,a.jsxs)("div",{className:"w-full h-full",children:[(0,a.jsx)(r.A,{placeholder:e("Email"),suffix:x&&(0,a.jsx)(v(),{onClick:()=>N(""),src:m.A,alt:"closeSvg",className:"cursor-pointer"}),value:x,error:g,setError:b,className:" ",rules:(0,u.Yj)().matches(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$|^$/i,e("InvalidEmailAddress")).test("privaterelayEmailTips",e("privaterelayEmailTips"),e=>!!(e&&-1===e.indexOf("@privaterelay.appleid.com"))),onInput:e=>{U(""),N(e.target.value)}}),1===T&&(0,a.jsx)(r.A,{placeholder:e("VerificationCode"),value:I,error:C,className:" ",suffix:(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)("div",{onClick:()=>{$||M()},className:"text-lg ".concat($?"text-disabled":"text-link"," cursor-pointer"),children:60!==D?(0,a.jsx)("div",{className:"text-disabled",children:"(".concat(D,"s)")}):(0,a.jsx)("span",{children:e("Resend")})}),I&&(0,a.jsx)(v(),{onClick:()=>{_(""),y("")},src:m.A,alt:"closeSvg",className:"cursor-pointer ml-1"})]}),rules:(0,u.Yj)().required(e("FieldIsRequired")),onInput:e=>_(e.target.value)}),B&&(0,a.jsx)("div",{className:"ml-3 text-sm text-[#CF304A] mt-1",children:B}),x&&(0,a.jsx)("div",{className:"ml-3 text-sm text-[#CF304A] mt-1",children:g}),C&&(0,a.jsx)("div",{className:"ml-3 text-sm text-[#CF304A] mt-1",children:C})]}),(0,a.jsxs)("div",{className:"w-full mb-6",children:[0===T&&(0,a.jsxs)("div",{className:" w-[calc(100%-40px)]",children:[(0,a.jsxs)("div",{className:"flex items-center mb-2",children:[(0,a.jsx)(i.A,{className:" shrink-0",check:O,setCheck:P}),(0,a.jsx)("span",{className:" ml-2 text-secondary ",dangerouslySetInnerHTML:{__html:e("loginTips")}})]}),(0,a.jsxs)("div",{className:"flex items-center mb-4",children:[(0,a.jsx)(i.A,{className:"shrink-0",check:F,setCheck:L}),(0,a.jsx)("span",{className:" ml-2 text-secondary break-words",children:e("checkbox2")})]})]}),(0,a.jsx)("div",{className:"w-full text-center",children:(0,a.jsx)(l.A,{loading:t,onClick:()=>{E===o.L.signup&&(0===T?(s(!0),(0,f.sx)({email:x}).then(t=>{let{data:s}=t;if(null==s?void 0:s.existsPassword){U(e("AccountExisting"));return}S.A.success({text:e("Signupwith").replace("{{email}}",x)}),M()}).finally(()=>{s(!1)})):Y())},inactive:!!G,className:"w-full sm:!w-[400px]",showContinue:!0,showContinueBtnText:e("Next")})}),(0,a.jsxs)("div",{className:"mt-2 text-center",children:[(0,a.jsx)("span",{className:"text-base text-secondary",children:e("AlreadyHaveAnAccount")}),(0,a.jsxs)("span",{onClick:()=>{k(o.L.login)},className:"text-link font-bold text-base cursor-pointer",children:[" ",e("login")]})]})]})]})}},19204:e=>{e.exports=function(e,t,s){var n=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(s=s>a?a:s)<0&&(s+=a),a=t>s?0:s-t>>>0,t>>>=0;for(var l=Array(a);++n<a;)l[n]=e[n+t];return l}},20816:(e,t,s)=>{var n=s(67895);e.exports=function(e,t){for(var s=-1,a=e.length;++s<a&&n(t,e[s],0)>-1;);return s}},21854:(e,t,s)=>{var n=s(19204);e.exports=function(e,t,s){var a=e.length;return s=void 0===s?a:s,!t&&s>=a?e:n(e,t,s)}},26020:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});let n={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/paymonade-v2-logo.b619d27e.svg",height:32,width:189,blurWidth:0,blurHeight:0}},29355:(e,t,s)=>{"use strict";s.d(t,{A:()=>v});var n=s(37876),a=s(48910),l=s(14232),i=s(38243),r=s(11928),o=s(61329),d=s(66852),c=s(34846),u=s(95690),m=s(51259),x=s(40941);let v=()=>{let{email:e,pwd:t,loginError:s,setLoginError:v}=(0,r.A)(),{t:f}=(0,c.Bd)(),{doBusinessLogin:p}=(0,u.A)(),{afterLoginKyb:h}=(0,m.A)(),{setStep:w}=(0,r.A)(),{bindStatus:S,verifyOpen:N,gaVerificateInfo:A,fetchBindStatus:j,run2FaCheck:g,modal:b,otpStep:k}=(0,a.A)((0,x.t)()===x.H.BusinessIndependent?"BUSSINESS_USER_LOGIN_TFA":"BUSSINESS_USER_LOGIN_TFA_IN_ORDER",{noNeedInit:!0,verficationType:"independent",onConfirmCallBack:async s=>{let n=window.location.pathname.includes("independent");await (0,o.U)({email:e,password:t,orderToken:(0,d.UG)("orderToken"),otpCode:s,scenario:(0,x.t)()===x.H.BusinessIndependent?"BUSSINESS_USER_LOGIN_TFA":"BUSSINESS_USER_LOGIN_TFA_IN_ORDER"}).then(async e=>{let{data:t}=e;if(!1===t.passwordCheckResult&&!t.token){v(f("InvalidEmailOrPassword"));return}await p(t.token.token,t.token.validTime),h({isIndependent:n})}).catch(e=>{var t,s,n,a,l,i;(null==e?void 0:null===(s=e.response)||void 0===s?void 0:null===(t=s.data)||void 0===t?void 0:t.code)==="USE000000003"?v(f("InvalidEmailOrPassword")):(null==e?void 0:null===(a=e.response)||void 0===a?void 0:null===(n=a.data)||void 0===n?void 0:n.code)==="USE004002000"?v(f("tooManyTimes")):v(null==e?void 0:null===(i=e.response)||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:l.msg)})},error:s,setError:v,extroContent:(0,n.jsxs)("div",{className:"mt-2 text-center",children:[(0,n.jsx)("span",{className:"text-base text-secondary",children:f("DontHaveAnAccount")}
1),(0,n.jsxs)("span",{onClick:()=>w(r.L.signup),className:"text-link font-bold text-base cursor-pointer",children:[" ",f("SignUp")]})]})});return(0,l.useEffect)(()=>{g({noNeedCheck:!0,otpStep:i.Pv.GA_OTP,bindStatus:i.wb.binded})},[k,g]),(0,n.jsx)(n.Fragment,{children:b})}},30520:(e,t,s)=>{"use strict";s.d(t,{A:()=>i,N:()=>l});var n=s(10252),a=s(14232),l=function(e){return e.sendEmail="sendEmail",e.verificationCode="verificationCode",e.setPWD="setPWD",e}({});let i=(0,n.kQ)(()=>{let[e,t]=(0,a.useState)(""),[s,n]=(0,a.useState)(),[l,i]=(0,a.useState)(""),[r,o]=(0,a.useState)(),[d,c]=(0,a.useState)(),[u,m]=(0,a.useState)(),[x,v]=(0,a.useState)(),[f,p]=(0,a.useState)("sendEmail"),[h,w]=(0,a.useState)("");return{process_token:h,setProcess_token:w,codeError:x,setCodeError:v,code:u,setCode:m,step:f,setStep:p,pwdError:r,setPwdError:o,email:e,setEmail:t,emailError:s,setEmailError:n,pwd:l,setpwd:i,loginError:d,setLoginError:c}})},33558:(e,t,s)=>{var n=s(59038),a=s(88046),l=s(21854),i=s(79663),r=s(20816),o=s(82180),d=s(12438);e.exports=function(e,t,s){if((e=d(e))&&(s||void 0===t))return a(e);if(!e||!(t=n(t)))return e;var c=o(e),u=o(t),m=r(c,u),x=i(c,u)+1;return l(c,m,x).join("")}},42660:(e,t,s)=>{"use strict";s.d(t,{A:()=>j});var n=s(37876),a=s(84952),l=s(58725),i=s(11928),r=s(54587),o=s.n(r),d=s(14232),c=s(34846),u=s(91408),m=s(16247),x=s(61329),v=s(82565),f=s(51259),p=s(92094),h=s(30520),w=s(83415),S=s(95256);let N=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[ -\/:-@\[-`{-~])[A-Za-z\d -\/:-@\[-`{-~]{12,}$/,A=/^[A-Za-z\d -\/:-@\[-`{-~]+$/,j=e=>{let{isReset:t}=e,{t:s}=(0,c.Bd)(),{setpwd:r,pwd:j,pwdError:g,setPwdError:b,setStep:k,step:E}=(0,i.A)(),[I,_]=(0,d.useState)(!1),C=!j||g||I,[y,T]=(0,d.useState)(),[R,B]=(0,d.useState)(),{process_token:U}=(0,h.A)(),O=!!R;(0,d.useEffect)(()=>{j&&(A.test(j)?N.test(j)?b(""):b(s("pwderror1")):b(s("pwderror2")))},[j,b,s]),(0,d.useEffect)(()=>{j&&y&&(j!==y?B(s("PasswordMismatch")):B(""))},[j,y,s]),(0,d.useEffect)(()=>{r(""),T("")},[r]);let{afterLoginKyb:P,goBusinessLogin:F}=(0,f.A)(),[L,G]=(0,d.useState)(!1),H=()=>{window.location.pathname.includes("independent"),G(!0),t?(0,x.RH)({processToken:U,password:j}).then(e=>{let{data:t}=e;t&&(_(!0),v.A.success({text:s("ResetPasswordSuccessful")}),setTimeout(()=>{F()},1500))}).catch(e=>{var t,s,n,a;G(!1),(null==e?void 0:null===(s=e.response)||void 0===s?void 0:null===(t=s.data)||void 0===t?void 0:t.msg)&&v.A.info({text:null==e?void 0:null===(a=e.response)||void 0===a?void 0:null===(n=a.data)||void 0===n?void 0:n.msg})}):(0,x.rx)({password:j}).then(async e=>{let{data:t}=e;t?k(i.L.TwoFaTip):G(!1)})},D=(0,S.uU)();return(0,n.jsxs)("div",{className:"flex flex-col flex-1 items-center h-full w-full justify-between",children:[(0,n.jsxs)("div",{className:"w-full",children:[t&&(0,n.jsxs)("div",{className:"px-3 py-2 flex items-start bg-alertbg text-secondary rounded-xl text-sm",children:[(0,n.jsx)(o(),{alt:"ICInfoSvg",src:w.A}),(0,n.jsx)("div",{className:"ml-1",children:s("changepwd24HourTips2")})]}),(0,n.jsx)(l.A,{type:"password",suffix:j&&(0,n.jsx)(o(),{onClick:()=>r(""),src:m.A,alt:"closeSvg",className:"cursor-pointer"}),placeholder:s("Password"),value:j,error:R,className:"!mt-2",onInput:e=>r(e.target.value)}),g&&(0,n.jsx)("div",{className:"text-sm text-[#CF304A] mt-1",children:g}),(0,n.jsx)(l.A,{type:"password",suffix:y&&(0,n.jsx)(o(),{onClick:()=>T(""),src:m.A,alt:"closeSvg",className:"cursor-pointer"}),placeholder:s("RepeatPassword"),value:y,error:R,className:"!mt-2",rules:(0,u.Yj)().required(s("FieldIsRequired")),onInput:e=>T(e.target.value)}),R&&(0,n.jsx)("div",{className:"text-sm text-[#CF304A] mt-1",children:R}),g&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:g},className:" rounded-xl text-secondary font-medium p-3 mt-2 bg-alertbg"})]}),(0,n.jsx)("div",{className:"mb-4 w-full flex ",children:t?(0,n.jsxs)("div",{className:"mb-6 w-full mt-6 flex flex-col items-center",children:[(0,n.jsx)(a.A,{className:"w-full shrink-0 sm:!w-[400px]",inactive:!!C,onClick:()=>{H()},showContinue:!0,showContinueBtnText:s("Next")}),(0,n.jsx)("div",{onClick:()=>(0,p.ZB)(D),className:"text-center mt-2 font-bold text-link cursor-pointer",children:s("Login")})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.A,{outline:!0,onClick:()=>{k(i.L.signup)},children:s("Back")}),(0,n.jsx)(a.A,{loading:L,disabled:O,onClick:()=>{H()},inactive:!!C,className:"ml-2 ",showContinue:!0,showContinueBtnText:s("Next")})]})})]})}},47508:(e,t,s)=>{"use strict";s.d(t,{A:()=>N});var n=s(37876),a=s(84952),l=s(58725),i=s(11928),r=s(54587),o=s.n(r),d=s(14232),c=s(34846),u=s(91408),m=s(16247),x=s(61329),v=s(66852),f=s(95690),p=s(
151259),h=s(48910),w=s(38243),S=s(40941);let N=()=>{let{t:e}=(0,c.Bd)(),{email:t,setEmail:s,emailError:r,setEmailError:N,setpwd:A,pwd:j,loginError:g,setLoginError:b,pwdError:k,setPwdError:E,setStep:I,step:_,emailNotChange:C}=(0,i.A)(),{doBusinessLogin:y}=(0,f.A)(),T=!t||!j||r||k,R=!!r,{goBusinessVerification:B,goResetPwd:U,goBusinessHome:O,businessGotoTradePage:P,afterLoginKyb:F}=(0,p.A)(),[L,G]=(0,d.useState)(!1),{bindStatus:H,verifyOpen:D,gaVerificateInfo:Z,fetchBindStatus:M,run2FaCheck:W,modal:Y,otpStep:$}=(0,h.A)((0,S.t)()===S.H.BusinessIndependent?"BUSSINESS_USER_LOGIN_TFA":"BUSSINESS_USER_LOGIN_TFA_IN_ORDER",{noNeedInit:!0,verficationType:"independent"});return(0,d.useEffect)(()=>{D&&(b(""),I(i.L.verificationCode))},[D,I,b]),(0,d.useEffect)(()=>{let e=window.location.pathname.includes("independent");(async()=>{if($&&($===w.Pv.SKIP_OTP||(null==Z?void 0:Z.status)&&$===w.Pv.GA_OTP))try{await F({isIndependent:e})}catch(e){}finally{G(!1)}})()},[F,null==Z?void 0:Z.status,$]),(0,d.useEffect)(()=>{j||(E(""),b(""))},[j,b,E]),(0,d.useEffect)(()=>{t||(E(""),b(""))},[t,b,E]),(0,d.useEffect)(()=>()=>{E("")},[E]),(0,n.jsxs)("div",{className:"flex flex-col flex-1 items-center h-full w-full justify-between",children:[(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)(l.A,{disabled:C,suffix:t&&(0,n.jsx)(o(),{onClick:()=>s(""),src:m.A,alt:"closeSvg",className:"cursor-pointer"}),placeholder:e("Email"),value:t,error:r||g,setError:N,className:" w-full",rules:(0,u.Yj)().matches(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$|^$/i,e("InvalidEmailAddress")),onInput:e=>s(e.target.value)}),t&&(0,n.jsx)("div",{className:"ml-3 text-sm text-[#CF304A] mt-1",children:r}),(0,n.jsx)(l.A,{id:"password",type:"password",suffix:j&&(0,n.jsx)(o(),{onClick:()=>A(""),src:m.A,alt:"closeSvg",className:"cursor-pointer"}),placeholder:e("Password"),value:j,error:k||g,setError:E,className:"!mt-2 w-full",onInput:e=>{A(e.target.value),b("")}}),g&&(0,n.jsx)("div",{className:"ml-3 text-sm text-[#CF304A] mt-1",children:g}),(0,n.jsx)("div",{onClick:U,className:" font-medium ml-3 text-link text-base mt-2 cursor-pointer",children:e("ForgotPassword")})]}),(0,n.jsxs)("div",{className:"mb-4 w-full text-center",children:[(0,n.jsx)(a.A,{className:"!w-full sm:!w-[400px]",loading:L,onClick:()=>{G(!0),(0,x.U)({email:t,password:j,orderToken:(0,v.UG)("orderToken"),scenario:(0,S.t)()===S.H.BusinessIndependent?"BUSSINESS_USER_LOGIN_TFA":"BUSSINESS_USER_LOGIN_TFA_IN_ORDER"}).then(async t=>{var s;let{data:n}=t;if(!1===n.passwordCheckResult&&!n.token){b(e("InvalidEmailOrPassword")),G(!1);return}n.accountBasicInfo.otpStatus===w.wb.binded&&(null===(s=n.token)||void 0===s?void 0:s.token)?(await y(n.token.token,n.token.validTime),F({isIndependent:(0,S.t)()===S.H.BusinessIndependent||(0,S.t)()===S.H.Independent})):n.accountBasicInfo.otpStatus===w.wb.none?(await y(n.token.token,n.token.validTime),await M(),await W()):n.accountBasicInfo.otpStatus===w.wb.binded&&await W({noNeedCheck:!0,otpStep:w.Pv.GA_OTP,bindStatus:w.wb.binded})}).catch(t=>{var s,n,a,l,i,r;(null==t?void 0:null===(n=t.response)||void 0===n?void 0:null===(s=n.data)||void 0===s?void 0:s.code)==="USE000000003"?b(e("InvalidEmailOrPassword")):(null==t?void 0:null===(l=t.response)||void 0===l?void 0:null===(a=l.data)||void 0===a?void 0:a.code)==="USE004002000"?b(e("tooManyTimes")):b(null==t?void 0:null===(r=t.response)||void 0===r?void 0:null===(i=r.data)||void 0===i?void 0:i.msg),G(!1)})},disabled:!!R,inactive:!!T,showContinue:!0,showContinueBtnText:e("Next")}),(0,n.jsxs)("div",{className:"mt-2 text-center",children:[(0,n.jsx)("span",{className:"text-base text-secondary",children:e("DontHaveAnAccount")}),(0,n.jsxs)("span",{onClick:()=>I(i.L.signup),className:"font-medium text-link text-base cursor-pointer",children:[" ",e("SignUp")]})]})]}),Y]})}},49035:e=>{e.exports=function(e,t,s){for(var n=s-1,a=e.length;++n<a;)if(e[n]===t)return n;return -1}},51480:e=>{var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},54355:e=>{e.exports=function(e,t,s,n){for(var a=e.length,l=s+(n?1:-1);n?l--:++l<a;)if(t(e[l],l,e))return l;return -1}},59038:(e,t,s)=>{var n=s(64451),a=s(59930),l=s(93007),i=s(76014),r=1/0,o=n?n.prototype:void 0,d=o?o.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(l(t))return a(t,e)+"";if(i(t))return d?d.call(t):"";var s=t+"";return"0"==s&&1/t==-r?"-0":s}},59930:e=>{e.exports=function(e,t){for(var s=-1,n=null==e?0:e.length,a=Array(n);++s<n;)a[s]=t(e[s],s,e);return a}},66523:(e,t,s)=>{"use strict";s.d(t,{A:()=>l});var n=s(37876),a=s(14232);let l=e=>{let{handleCheck:t}=e;return(0,a.useEffect)(()=>{t&&(window.__RecaptchaInvisibleOnSubmit=e=>{null==t||t(e)})},[t]),{initRecaptchaInvisible:(0,a.useCallback)(()=>{let e="paymonade_google_recaptcha_script_id";if(document.querySelector("#".concat(e)))return;let t=document.createElement("script");t.id=e,t.src="https://www.google.com/recaptcha/api.js",document.head.appendChild(t);let s=document.createElement("style");s.innerHTML="\n .grecaptcha-badge {\n display: none;\n }\n ",document.head.appendChild(s)},[]),RecaptchaInvisibleComponent:(0,a.useCallback)(()=>(0,n.jsx)("div",{className:" g-recaptcha-wrapper",children:(0,n.jsx)("div",{className:"g
1-recaptcha","data-sitekey":"6Lejt60pAAAAAK1bQpLJT-BRjf_zW6Zc3o3J6AMl","data-callback":"__RecaptchaInvisibleOnSubmit","data-size":"invisible"})}),[])}}},67895:(e,t,s)=>{var n=s(54355),a=s(95975),l=s(49035);e.exports=function(e,t,s){return t==t?l(e,t,s):n(e,a,s)}},79663:(e,t,s)=>{var n=s(67895);e.exports=function(e,t){for(var s=e.length;s--&&n(t,e[s],0)>-1;);return s}},82180:(e,t,s)=>{var n=s(84204),a=s(51480),l=s(11220);e.exports=function(e){return a(e)?l(e):n(e)}},83415:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});let n={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/ICInfo.116fba79.svg",height:16,width:16,blurWidth:0,blurHeight:0}},84204:e=>{e.exports=function(e){return e.split("")}},90049:(e,t,s)=>{"use strict";s.d(t,{A:()=>v});var n=s(37876),a=s(84952),l=s(48910),i=s(11928),r=s(54587),o=s.n(r),d=s(14232),c=s(93642),u=s(34846),m=s(38243),x=s(40941);let v=()=>{let{bindStatus:e,verifyOpen:t,gaVerificateInfo:s,fetchBindStatus:r,run2FaCheck:v,modal:f,otpStep:p}=(0,l.A)((0,x.t)()===x.H.BusinessIndependent?"BUSSINESS_USER_LOGIN_TFA":"BUSSINESS_USER_LOGIN_TFA_IN_ORDER",{noNeedInit:!0,verficationType:"independent"}),{setStep:h}=(0,i.A)(),[w,S]=(0,d.useState)(0);(0,d.useEffect)(()=>{t&&h(i.L.verificationCode)},[t,h]),(0,d.useEffect)(()=>{(async()=>{await r(),await v({noNeedCheck:!0,otpStep:m.Pv.GA_OTP,bindStatus:m.wb.none})})()},[r,v,w]);let{t:N}=(0,u.Bd)();return(0,n.jsxs)("div",{className:"w-full",children:[(0,n.jsx)("div",{className:"flex flex-1 w-full justify-center",children:(0,n.jsx)(o(),{src:c.A,alt:"2fa"})}),(0,n.jsx)("div",{className:"mt-6 text-center text-base",dangerouslySetInnerHTML:{__html:N("2faDesc")}}),(0,n.jsx)("div",{className:"absolute flex items-center justify-center bottom-6 text-center w-full",children:(0,n.jsx)(a.A,{className:"w-full sm:!w-[400px]",showContinue:!0,onClick:()=>{S(e=>e+1)}})}),f]})}},93007:e=>{e.exports=Array.isArray},95975:e=>{e.exports=function(e){return e!=e}}}]);
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.