PageSourceSearch

https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_n…/setting-34ce94cc3d65000c.js

js paymonade.tech collected 2026-10-04 05:40:19 UTC 6,695 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8336],{14446:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/ICBack.509d1d22.svg",height:20,width:20,blurWidth:0,blurHeight:0}},80131:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>k});var a=t(37876),l=t(89009),d=t(34846);let i={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/ga.2bfd6df7.svg",height:48,width:48,blurWidth:0,blurHeight:0},r={src:"https://static2.paymonade.tech/static/prod/paymonade-channel-ui/_next/static/media/pwd.f8fc7af6.svg",height:48,width:48,blurWidth:0,blurHeight:0};var n=t(54587),c=t.n(n),o=t(14232),m=t(99190),x=t(83415),p=t(58725),h=t(84952),u=t(48910),v=t(55492),f=t(5398),w=t(76352),j=t(47514),b=t(82565),N=t(61329),g=t(52397),y=t(92094),A=t(51259),S=t(38243),_=t(92327);let C=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@#$%^&*])[A-Za-z\d@#$%^&*]{12,}$/,k=()=>{let{t:e}=(0,d.Bd)(),[s,t]=(0,o.useState)(!1),[n,k]=(0,o.useState)(""),[P,T]=(0,o.useState)(""),[I,E]=(0,o.useState)(""),{goBusinessLogin:O}=(0,A.A)(),[B,H]=(0,o.useState)(""),[R,D]=(0,o.useState)(""),[M,W]=(0,o.useState)(""),[z,L]=(0,o.useState)(!1),[G,$]=(0,o.useState)(""),[K,U]=(0,o.useState)(!1),[V,X]=(0,o.useState)(!1),{gaVerificateInfo:Z,setGaVerificateInfo:F,bindStatus:Y,run2FaCheck:q,modal:J,otpStep:Q}=(0,u.A)("BUSSINESS_USER_SETTINGS_TFA",{onStatusChange:e=>{let{gaVerificateInfo:s,otpStep:t}=e;(null==s?void 0:s.status)&&t===S.Pv.GA_OTP&&el(s)}});(0,o.useEffect)(()=>{(0,v.Lh)().then(e=>{let{data:s}=e;$(null==s?void 0:s.method)})},[]);let ee=e=>{(null==e?void 0:e.status)&&(F(e),X(!0))},es=(0,o.useCallback)(()=>{"EMAIL_OTP"===G?L(!0):U(!0)},[G]),et=P||I,ea=!B&&!R&&!M&&!et;(0,o.useEffect)(()=>{B&&(C.test(B)?T(""):T(e("pwdtips")))},[B,T,e]),(0,o.useEffect)(()=>{B&&R&&(B!==R?E(e("PasswordMismatch")):E(""))},[B,R,e]);let el=(0,o.useCallback)(s=>{(0,N.tP)({oldPassword:M,password:B,otpType:null==s?void 0:s.verifyOtpType,otpCode:null==s?void 0:s.verifyCode,verifyBusiness:"PASSWORD_RESET"}).then(s=>{let{data:a}=s;b.A.success({text:e("changePWDTips")}),t(!1),setTimeout(()=>{(0,g.KY)(y.Bm.token,""),O()},1500)})},[O,M,B,e]);return(0,a.jsxs)("div",{className:"w-full h-full ",children:[(0,a.jsx)(_.A,{title:e("SecurityCenter")}),(0,a.jsxs)("div",{className:"max-w-[1680px] m-auto flex flex-1 w-full justify-between md:flex-row ",children:[(0,a.jsx)("div",{className:"w-full  md:w-[calc((100%-32px)/3*2)] pl-5 md:pl-8 pr-5 md:pr-0 items-start flex flex-col",children:(0,a.jsx)("div",{className:"w-full flex-wrap mb-40 md:mb-0 flex-col flex sm:border border-0 md:min-h-[588px] border-line py-4 rounded-[20px] sm:px-6",children:(0,a.jsxs)("div",{className:"flex justify-between md:flex-row flex-col",children:[(0,a.jsxs)("div",{className:"md:w-[calc(50%-12px)] rounded-xl bg-bg2 p-4",children:[(0,a.jsx)(c(),{src:r,alt:"ga",width:48,height:48}),(0,a.jsx)("div",{className:"mt-2 font-bold text-base",children:e("Password")}),(0,a.jsx)("div",{className:"text-secondary h-10",children:e("pwdDesc")}),(0,a.jsx)("div",{onClick:()=>{W(""),H(""),D(""),t(!0)},className:"cursor-pointer text-link mt-4 font-medium",children:e("ChangePassword")})]}),Y!==S.wb.none&&(0,a.jsxs)("div",{className:"mt-4 md:mt-0 md:w-[calc(50%-12px)] rounded-xl bg-bg2 p-4",children:[(0,a.jsx)(c(),{src:i,alt:"ga",width:48,height:48}),(0,a.jsx)("div",{className:"mt-2 font-bold text-base",children:e("GoogleAuthenticator")}),(0,a.jsx)("div",{className:"text-secondary h-10",children:e("gaDesc")}),(0,a.jsx)("div",{onClick:es,className:"cursor-pointer text-link mt-4 font-medium",children:e("RelinkAuthenticatorPopTitle")})]})]})})}),(0,a.jsx)("div",{className:" md:pr-8 pr-5  hidden md:block w-full md:w-[calc((100%-32px)/3)] pl-5 md:pl-0",children:(0,a.jsx)("div",{className:"border-line border md:px-5 px-4 py-6 rounded-[20px]",children:(0,a.jsx)(l.A,{})})})]}),(0,a.jsx)(m.Ay,{title:e("ChangePassword"),showMask:!0,open:s,setOpen:t,children:(0,a.jsxs)("div",{className:" relative",children:[(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)("div",{className:"px-3 py-2 flex items-start bg-alertbg rounded-xl text-sm",children:[(0,a.jsx)(c(),{alt:"ICInfoSvg",src:x.A}),(0,a.jsx)("div",{className:"ml-1",children:e("changepwd24HourTips")})]}),(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)(p.A,{value:M,onInput:e=>{W(e.target.value),k("")},type:"password",placeholder:e("OldPassword"),error:n}),(0,a.jsx)("div",{className:"px-3 mt-2 text-sell",children:n})]}),(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsx)(p.A,{value:B,onInput:e=>H(e.target.value),type:"password",placeholder:e("NewPassword")}),(0,a.jsx)("div",{className:"px-3 mt-2 text-xs text-third",children:e("pwdTips")})]}),(0,a.jsxs)("div",{className:"mt-2",children:[(0,a.jsx)(p.A,{value:R,onInput:e=>
1D(e.target.value),type:"password",placeholder:e("RepeatPassword"),error:I||P}),(0,a.jsx)("div",{className:"px-3 mt-2 text-sell",dangerouslySetInnerHTML:{__html:P||I}})]}),(0,a.jsx)("div",{className:"mt-4",children:e("pwdTips2")})]}),(0,a.jsx)("div",{className:"pt-3 mt-6 w-full",children:(0,a.jsx)(h.A,{onClick:()=>{(0,N._g)({oldPassword:M,password:B}).then(e=>{let{data:s}=e;s&&(Q===S.Pv.SKIP_OTP?el():q())}).catch(e=>{k(e.response.data.msg)})},disabled:!!et,inactive:ea,showContinue:!0,showContinueBtnText:e("Confirm")})})]})}),J,(0,a.jsx)(j.A,{type:G,gaVerificateInfo:Z,open:V,setOpen:X}),(0,a.jsx)(f.A,{onConfirmCallBack:ee,open:z,setOpen:L}),(0,a.jsx)(w.A,{onConfirmCallBack:ee,isRelink:!0,open:K,setOpen:U})]})}},89009:(e,s,t)=>{"use strict";t.d(s,{A:()=>d});var a=t(37876),l=t(34846);let d=()=>{let{t:e}=(0,l.Bd)();return(0,a.jsxs)("div",{className:"w-full",children:[(0,a.jsx)("div",{className:"text-base text-primary-text font-bold",children:e("NeedHelp")}),(0,a.jsx)("div",{className:"mt-3 text-base text-secondary",dangerouslySetInnerHTML:{__html:e("NeedHelpDesc")}})]})}},92327:(e,s,t)=>{"use strict";t.d(s,{A:()=>o});var a=t(37876),l=t(51259),d=t(54587),i=t.n(d),r=t(14446),n=t(34846),c=t(44975);let o=e=>{let{title:s}=e,{goBusinessHome:t}=(0,l.A)(),{t:d}=(0,n.Bd)(),{showMenu:o}=(0,c.A)();return(0,a.jsxs)("div",{className:"m-auto max-w-[1680px] sm:relative sticky top-0 sm:pb-0 pb-4 bg-white ".concat(o?"z-0":"z-20"," flex items-center text-large-body-bold sm:text-h5 font-bold px-6 sm:px-8 sm:mb-10"),children:[(0,a.jsx)(i(),{onClick:()=>t(),className:"cursor-pointer sm:hidden mr-2",src:r.A,alt:"ICBack"}),(0,a.jsx)("span",{children:s})]})}},98652:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[lng]/corporation-portal/setting",function(){return t(80131)}])}},e=>{var s=s=>e(e.s=s);e.O(0,[7514,636,6593,8792],()=>s(98652)),_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.