1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="5d924368-d755-400d-a407-2cc966e20c8c",e._sentryDebugIdIdentifier="sentry-dbid-5d924368-d755-400d-a407-2cc966e20c8c")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2136],{4525:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var l=n(37876);n(14232);var o=n(44610),i=n(82167),r=n(21651);let a=i.Ay.svg.withConfig({componentId:"sc-548cafd8-0"})(["",""],e=>e.color.includes("#")?e.color:"color: ".concat((0,r.y)("colors.".concat(e.color))(e))),s=e=>{let{color:t="#ABC0F0",height:n="14px",width:o="14px",stroke:i,...r}=e;return(0,l.jsx)(a,{color:t,fill:"none",height:n,width:o,xmlns:"http://www.w3.org/2000/svg",...r,children:(0,l.jsx)("path",{d:"M7 0.332031C5.71442 0.332031 4.45772 0.71325 3.3888 1.42748C2.31988 2.14171 1.48676 3.15687 0.994786 4.34459C0.502816 5.53231 0.374095 6.83924 0.624899 8.10012C0.875703 9.361 1.49477 10.5192 2.40381 11.4282C3.31285 12.3373 4.47104 12.9563 5.73192 13.2071C6.99279 13.4579 8.29973 13.3292 9.48744 12.8372C10.6752 12.3453 11.6903 11.5122 12.4046 10.4432C13.1188 9.37432 13.5 8.11761 13.5 6.83203C13.4982 5.10868 12.8128 3.45644 11.5942 2.23785C10.3756 1.01925 8.72335 0.333851 7 0.332031ZM7 12.332C5.91221 12.332 4.84884 12.0095 3.94437 11.4051C3.0399 10.8008 2.33495 9.94178 1.91867 8.93679C1.50238 7.9318 1.39347 6.82593 1.60568 5.75903C1.8179 4.69214 2.34173 3.71213 3.11092 2.94294C3.8801 2.17376 4.86011 1.64993 5.92701 1.43771C6.9939 1.22549 8.09977 1.33441 9.10476 1.75069C10.1098 2.16698 10.9687 2.87192 11.5731 3.77639C12.1774 4.68087 12.5 5.74423 12.5 6.83203C12.4983 8.29021 11.9184 9.6882 10.8873 10.7193C9.85617 11.7504 8.45819 12.3304 7 12.332ZM8 9.83203C8 9.96464 7.94732 10.0918 7.85356 10.1856C7.75979 10.2794 7.63261 10.332 7.5 10.332C7.23479 10.332 6.98043 10.2267 6.7929 10.0391C6.60536 9.8516 6.5 9.59725 6.5 9.33203V6.83203C6.36739 6.83203 6.24022 6.77935 6.14645 6.68558C6.05268 6.59182 6 6.46464 6 6.33203C6 6.19942 6.05268 6.07225 6.14645 5.97848C6.24022 5.88471 6.36739 5.83203 6.5 5.83203C6.76522 5.83203 7.01957 5.93739 7.20711 6.12492C7.39465 6.31246 7.5 6.56681 7.5 6.83203V9.33203C7.63261 9.33203 7.75979 9.38471 7.85356 9.47848C7.94732 9.57225 8 9.69942 8 9.83203ZM6 4.08203C6 3.9337 6.04399 3.78869 6.1264 3.66535C6.20881 3.54202 6.32595 3.44589 6.46299 3.38912C6.60003 3.33236 6.75083 3.3175 6.89632 3.34644C7.04181 3.37538 7.17544 3.44681 7.28033 3.5517C7.38522 3.65659 7.45665 3.79023 7.48559 3.93571C7.51453 4.0812 7.49968 4.232 7.44291 4.36904C7.38615 4.50609 7.29002 4.62322 7.16668 4.70563C7.04334 4.78804 6.89834 4.83203 6.75 4.83203C6.55109 4.83203 6.36032 4.75301 6.21967 4.61236C6.07902 4.47171 6 4.28094 6 4.08203Z",fill:"currentColor"})})};function d(e){let{caption:t,textVariant:n="caption1"}=e;return(0,l.jsxs)(o.pT,{borderColor:"B.3",borderRadius:4,borderStyle:"solid",borderWidth:"1px",gap:2,px:4,py:"10px",children:[(0,l.jsx)(o.pT,{p:"2px",children:(0,l.jsx)(s,{height:"14px",name:"info",width:"14px"})}),(0,l.jsx)(o.EY,{color:"BT.2",variant:n,children:t})]})}},9084:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboard/account-settings/edit-details",function(){return n(91729)}])},58722:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var l=n(37876),o=n(14232),i=n(21651),r=n(82167),a=n(48011),s=n(2965),d=n(66941),c=n(44610),u=n(64047),h=n(54440);let m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4;return h.Ik().shape({otp:u.bN(e,t)})};var p=n(26948),g=n(5219),x=n(21489);let b=(0,r.Ay)(c.EY).withConfig({componentId:"sc-7d6521c9-0"})(["text-decoration:none;"]),C=(0,r.Ay)(c.pT).withConfig({componentId:"sc-7d6521c9-1"})([".countdown{> .countdown__time{color:",";}}"],(0,i.y)("colors.N.1")),v=(0,r.Ay)(c.EY).withConfig({componentId:"sc-7d6521c9-2"})(["cursor:",";"],e=>e.resendEnabled?"pointer":"not-allowed"),f=(0,r.Ay)(c.az).withConfig({componentId:"sc-7d6521c9-3"})(["> button{height:auto;padding:","px ","px;}"],(0,i.y)("space.2"),(0,i.y)("space.7")),j=e=>{var t;let{strings:{errors:n,auth_page:{login_otp_page:i,otp_container_section:{resend_sms_cta:r}},general:{otp_section:{whatsapp_otp_cta:u,whatsapp_blocking_text:h,resend_sms_cta:j}}},geography:y}=(0,d.Ym)(),[T,A]=(0,o.useState)(null),[S,w]=(0,o.useState)(!1),E=null!=(t=e.isTotpVerified)&&t,[B,P]=(0,o.useState)(()=>!0===E?"TOTP":"SMS"),_=(0,o.useRef)(null),{successMessage:k,showSuccess:F,error:O,waitTime:M,resendEnabled:I,setResendEnabled:D,title:Y,showVerifyButton:W,onVerify:N,maxWidth:L,alignText:U,infoText:V,caption:z,generateOtp:R,otpSuccess:H,otpFailure:K,onModeChange:Q,clearError:$}=e,G=e=>{let{otp:t}=e;N(t,()=>{Z.resetForm({otp:""})},S,B)},q="TOTP"===B?6:4,Z=(0,p.Wx)({initialValues:{otp:""},validationSchema:(0,o.useMemo)(()=>m(n,q),[n,q]),onSubmit:G,enableReinitialize:!0});(0,o.useEffect)(()=>{W||String(Z.values.otp).length!==q||G(Z.values)},[Z.values,W,q]),(0,o.useEffect)(()=>($&&$(),()=>{$&&$()}),[]);let X=(null==e?void 0:e.emailOtpAllowed)&&y===s.XN.SG&&((null==e?void 0:e.signupMethod)==="MANUAL"||(null==e?void 0:e.signupMethod)==="EMAIL"),J=(0,a.d4)(e=>g.AU.getIsFeatureEnabled(e,x.gH.WHATSAPP_OTP))&&(null==e?void 0:e.context)!=="email";return(0,l.jsx)(c.az,{maxWidth:L,mx:"auto",pt:12,children:F?(0,l.jsxs)(c.pT,{alignItems:"center",flexDirection:"column",children:[(0,l.jsx)(c.C0,{newTheme:!0,height:"34px",name:"circledTick",width:"34px"}),(0,l.jsx)(c.EY,{color:"N.1",mb:{_:10,md:0},mt:4,variant:"body1",children:k||""})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(c.EY,{align:U,color:"BT.2",mb:6,variant:"body1",children:"TOTP"===B?"Enter 6-digit code from your authenticator app":null!=z?z:"Enter the 4 digit OTP"}),"TOTP"!==B&&(0,l.jsx)(c.EY,{align:U,color:"N.1",mb:6,variant:"body1",children:Y}),(0,l.jsxs)("form",{onSubmit:Z.handleSubmit,children:[(0,l.jsxs)(c.pT,{alignItems:"baseline",children:[(0,l.jsx)(c.pd,{errorText:Z.errors.otp,fillType:"outlined",label:"TOTP"===B?"6-digit code":"4-digit code",maxLength:q,name:"otp",onBlur:Z.handleBlur,onChange:e=>{let t=e.target.value.replace(/\D/g,"");t.length>q||(t.length===q&&_.current&&_.current.blur(),T&&A(!1),O&&$&&$(),Z.setFieldValue("otp",t))},pattern:"\\d*",ref:_,theme:"dashboard",type:"number",value:Z.values.otp?Z.values.otp:"",error:!!(Z.touched.otp&&Z.errors.otp&&Z.errors.otp.length>0)}),!!W&&(0,l.jsx)(f,{ml:8,children:(0,l.jsx)(c.$n,{disabled:!Z.isValid||Z.values.otp.toString().length!==q,children:"Verify"})})]}),!!(T||O)&&(0,l.jsx)(c.EY,{align:U,as:"div",color:"F.4",mt:4*!!Z.errors.otp,variant:"caption1",children:T||O})]}),"TOTP"===B?(0,l.jsxs)(c.pT,{alignItems:"center",flexDirection:"column",justifyContent:"center",mt:4,children:[(0,l.jsx)(c.EY,{color:"BT.2",textAlign:"center",variant:"caption1",children:"Can't access your authenticator app?"}),(0,l.jsx)(b,{cp:!0,color:"F.4",mt:1,onClick:()=>{P("SMS"),Z.resetForm({otp:""}),A(""),$&&$(),w(!1),D&&D(!1),Q&&Q("SMS"),e.regenerateOtp?e.regenerateOtp(!1,!1):R&&H&&K&&R(H,K,!1)},textAlign:"center",variant:"caption1",children:"Use SMS OTP instead."})]}):(0,l.jsxs)(l.Fragment,{children:[!!V&&(0,l.jsx)(c.EY,{align:"center",as:"div",color:"BT.2",variant:"caption1",children:V}),(0,l.jsxs)(c.pT,{flexWrap:"wrap",gap:2,justifyContent:"space-around",mt:6,rowGap:4,children:[!e.hideResendSmsCta&&(0,l.jsx)(v,{c
1olor:I?"F.4":"BT.7",forwardedAs:"div",onClick:I?()=>{Z.resetForm({otp:""}),A("");let t="TOTP"===B;P("SMS"),w(!1),Q&&Q("SMS"),t&&R&&H&&K||e.regenerateOtp(!1,!1)}:void 0,resendEnabled:I,textAlign:"center",variant:"button1",children:"email"===e.context?r:j}),(0,l.jsx)(v,{color:I?"F.4":"BT.7",forwardedAs:"div",onClick:I?()=>{Z.resetForm({otp:""}),A(""),P("CALL"),w(!0),Q&&Q("CALL"),e.regenerateOtp(!0,!1)}:void 0,resendEnabled:I,textAlign:"center",variant:"button1",children:"Get voice OTP"}),J&&(0,l.jsx)(v,{color:I?"F.4":"BT.7",forwardedAs:"div",onClick:I?()=>{Z.resetForm({otp:""}),A(""),P("WHATSAPP"),w(!1),D&&D(!1),Q&&Q("WHATSAPP"),e.regenerateOtp(!1,!1,!0)}:void 0,resendEnabled:I,textAlign:"center",variant:"button1",children:u})]}),J&&(0,l.jsx)(c.EY,{align:"center",as:"div",color:"BT.2",mt:2,variant:"caption1",children:(0,l.jsx)(d.In,{str:h,components:{highlight:(0,l.jsx)(c.EY,{as:"span",color:"BT.2",fontWeight:"600",variant:"caption1"})}})}),!!(X&&I)&&(0,l.jsx)(c.pT,{justifyContent:"center",mt:12,width:"100%",children:(0,l.jsx)(c.EY,{color:"N.1",variant:"caption1",children:(0,l.jsx)(d.In,{str:i.use_email_text,components:{CTA:(0,l.jsx)(b,{cp:!0,color:"F.4",onClick:()=>{Z.resetForm({otp:""}),A(""),P("EMAIL"),w(!1),Q&&Q("EMAIL"),e.regenerateOtp(!1,!0)}})}})})}),(0,l.jsx)(C,{justifyContent:"center",mb:{_:10,md:0},mt:4,children:!I&&(0,l.jsx)(c.M4,{onTimeUp:()=>D(!0),time:M||30})})]})]})})};j.defaultProps={successMessage:"Successfully updated",maxWidth:"400px",showSuccess:!1,showVerifyButton:!1};let y=j},72726:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var l=n(37876),o=n(14232),i=n(95118),r=n(53918),a=n(44610),s=n(48011),d=n(74222),c=n(13918),u=n(5219);let h=(0,s.Ng)(e=>({globalBreadcrumbs:u.vB.getBreadCrumbs(e),globalTitle:u.vB.getTitle(e),location:e.router.location}),e=>({addCrumb:t=>e(c.v_.addCrumb(t)),removeCrumb:t=>e(c.v_.removeCrumb(t)),navigate:t=>e((0,d.VC)(t)),goBack:()=>e((0,d.OE)())})),m=e=>{let{location:t,titleQueryKey:n,alternativeTitle:s,hideBackButton:d}=e,c="";if(n&&!e.title){let e=(0,i.V8)(t.search,n);e&&(c=e.toUpperCase()),s&&!c&&(c=s)}o.useEffect(()=>{let{breadcrumbs:t,addCrumb:n,removeCrumb:l}=e;return t&&t.map(e=>n({label:e.label,link:e.link,fetchQueryParameter:e.fetchQueryParameter})),function(){t&&t.map(e=>l({label:e.label,link:e.link,fetchQueryParameter:e.fetchQueryParameter}))}},[e.breadcrumbs]);let{headerComponent:u,globalBreadcrumbs:h}=e;return!n&&!e.title&&h&&h.length>0&&(c=h[h.length-1].label),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.A,{renderOn:["desktop",...e.tabletSameAsDesktop?["tablet"]:[]],children:e.children}),(0,l.jsx)(r.A,{renderOn:["phone",...e.tabletSameAsDesktop?[]:["tablet"]],children:(0,l.jsx)(a._x,{childrenBgColor:e.popupBgColor,elevation:e.elevation,headerBgColor:e.popupBgColor,hideBackButton:d,title:e.globalTitle||c||e.title,withGradient:!e.notWithGradient,onIconClick:()=>{e.iconClickRoute?e.navigate(e.iconClickRoute):e.goBack()},children:(0,l.jsxs)(l.Fragment,{children:[e.headerComponent&&(0,l.jsx)(u,{}),e.children]})})})]})};m.defaultProps={elevation:"z2"};let p=h(m)},91729:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>I});var l=n(37876),o=n(14232),i=n(93004),r=n(44610),a=n(52373),s=n(89099),d=n(2965),c=n(40400),u=n(27106);n(95118);var h=n(50338),m=n(49104),p=n(4525),g=n(16923),x=n(66941),b=n(26445),C=n(21651),v=n(82167),f=n(58722),j=n(48011),y=n(74222),T=n(13918),A=n(5219);let S=(0,j.Ng)(e=>({user:A.$u.getUser(e),errorMessage:A.HI.getErrorMessage(e),resendWaitTime:A.HI.getResendWaitTime(e),userDetails:A.$u.getUserDetails(e),kycDetails:A.$u.getMobileDetails(e),isKycCompletedForWealth:A.$u.isKycCompletedForWealth(e),responsiveUtility:e.responsiveUtility,accessToken:A.o_.getAccessToken(e)}),e=>({logout:()=>e(T.I2.logout(i.T_y)),navigate:t=>e((0,y.VC)(t)),refreshUserInfo:t=>e(T.zV.getUserInfo(t)),availPromo:(t,n,l)=>e(T.Pu.availPromo(t,n,l)),generateAccountContactDetailOTP:(t,n,l,o,i,r)=>e(T.mD.generateAccountContactDetailOTP(t,n,l,o,i,r)),updateUserEmail:t=>e(T.I2.updateUserDetails(t)),verifyAccountContactDetails:(t,n,l,o)=>{let{confirmationMessage:i,showConfirmationAlert:r}=o;return e(T.mD.verifyAccountContactDetails(t,n,l,{confirmationMessage:i,showConfirmationAlert:r}))}})),w="#9AABCC",E=(0,v.Ay)(r.az).withConfig({componentId:"sc-a13eb3fb-0"})(["&:nth-child(1){","}"," flex:100%;@media (min-width:","){border:none;&:nth-child(1){","}}"],e=>e.showMobileBorder&&"border-bottom:1px solid ".concat(w,"; "),e=>e.isBothFieldChanged&&"margin-top: 100px;",(0,C.y)("breakpoints.md"),e=>e.isBothFieldChanged&&"border-right:1px solid ".concat(w,"; ")),B=S(e=>{let[t,n]=(0,o.useState)(!1),[r,a]=(0,o.useState)(!1),[s,d]=(0,o.useState)(""),[c,u]=(0,o.useState)(0),[h,m]=(0,o.useState)(!1),[p,g]=(0,o.useState)(!1),{mobile:b,email:C,context:v,isBothFieldChanged:j,verifyAccountContactDetails:y,refreshUserInfo:T,updateUserEmail:A,isOneFieldUpdated:S,updateOneFieldStatus:w,isPhone:B,token:P}=e,_=!e.isBothFieldChanged||S,{strings:{general:{otp_section:{receive_otp_phone_text:k,receive_otp_sms_text:F,receive_otp_whatsapp_text:O}}}}=(0,x.Ym)();(0,o.useEffect)(()=>{e.initialError&&(d(e.initialError),n(!0))},[e.initialError]);let M=e=>{var t,l,o,i,r;d((null==e||null==(l=e.response)||null==(t=l.data)?void 0:t.message)||"Something went wrong");let a=(null==e||null==(r=e.response)||null==(i=r.data)||null==(o=i.details)?void 0:o.waitTime)||30;a&&(u(a),n(!1))},I=()=>{n(!1),d("")};return(0,l.jsx)(E,{isBothFieldChanged:j,showMobileBorder:j&&B,children:(0,l.jsx)(f.A,{alignText:B||!j?"center":"left",error:s,maxWidth:j?"480px":"400px",onVerify:(e,t,n,l)=>{let o={};y(o="mobile"===v?{phone:{value:b,otp:e,otpMode:"WHATSAPP"===l||p?"WHATSAPP":"TOTP"===l?"TOTP":h?"CALL":"SMS"}}:{email:{value:C,otp:e}},()=>{a(!0),"email"===v&&A({email:C}
1),_?T({nextUrl:i.BKL}):w()},e=>{M(e),t&&t()},{confirmationMessage:"mobile"===v?"Mobile number updated successfully!":"Email updated successfully!",showConfirmationAlert:_})},regenerateOtp:function(){let n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],l=(arguments.length>1&&void 0!==arguments[1]&&arguments[1],arguments.length>2&&void 0!==arguments[2]&&arguments[2]);if(t){let t=(()=>{let{isBothFieldChanged:t,context:n}=e,l={token:P},o={email:e.email},i={phone:e.mobile};return t?{...o,...i}:"mobile"===n?{...l,...i}:{...l,...o}})();m(n),g(l),e.generateAccountContactDetailOTP(t,I,M,n,{showConfirmationAlert:!0,confirmationIsNotification:!0,confirmationMessage:n?k:l&&O||F,confirmationIcon:!1,confirmationTheme:"dashboard"},l)}},resendEnabled:t,setResendEnabled:n,showSuccess:r,showVerifyButton:j,title:"mobile"===v?e.mobile:e.email,waitTime:c,successMessage:"mobile"===v?"Mobile number updated successfully! ":"Email updated successfully!",context:v,hideResendSmsCta:e.hideResendSmsCta})})});var P=n(54440),_=n(64047),k=n(26948);let F=S(e=>{let{strings:{errors:t,forms:{labels:{mobile_verification_section:n}},edit_details_page:{security_info_text:a}}}=(0,x.Ym)(),C=(0,b.Kb)(),{syfeTopCountryCodes:v=[],syfeCountryCodes:f={}}=C,j=C[d.gh],y=C[d.z$],T=(0,u.Ss)(j,y),[A,S]=(0,o.useState)(!1),[w,E]=(0,o.useState)(!1),[F,O]=(0,o.useState)(!1),[M,I]=(0,o.useState)(""),[D,Y]=(0,o.useState)(!1),[W,N]=(0,o.useState)(""),[L,U]=(0,o.useState)(!1),{kycDetail
1s:V,user:z,responsiveUtility:R,accessToken:H}=e,K=(0,s.useRouter)(),Q=(0,k.Wx)({initialValues:{countryCode:null==V?void 0:V.mobileCountryCode,email:null==z?void 0:z.email,mobile:null==V?void 0:V.mobileNumber},validationSchema:(e=>P.Ik().shape({countryCode:P.Yj().required(e.required_caption),mobile:_._o(e),email:_.au(e)}))(t),onSubmit:e=>{O(!F)}}),$=()=>Y(!0),{step:G}=K.query;(0,o.useEffect)(()=>{"form"===G&&(A||w)&&(S(!1),E(!1),O(!1),I(""),Y(!1),N(""),U(!1))},[G]);let q=Q.values.email!==(null==z?void 0:z.email),Z=Q.values.countryCode!==(null==V?void 0:V.mobileCountryCode),X=Q.values.mobile!==(null==V?void 0:V.mobileNumber)||Z,J=e=>{M&&I(""),Q.handleChange(e)};if(!e.isKycCompletedForWealth)return K.replace(i.BKL),null;"verification"!==G||q||X||K.replace("".concat(i.YO5,"?step=form"));let ee="+".concat((e=>Number.isNaN(parseInt(e))?j[e].code:e)(Q.values.countryCode),"-").concat(Q.values.mobile),et=z.email.toLowerCase()===Q.values.email.toLowerCase(),en=()=>{q&&S(!0),X&&E(!0),N(""),U(!1),window.history.pushState({},null,"?step=verification")},el=e=>{var t,n,l,o;X&&e.response&&e.response.status==c.Yq?(N((null==(n=e.response)||null==(t=n.data)?void 0:t.message)||""),U(!0),E(!0),window.history.pushState({},null,"?step=verification")):I(null==e||null==(o=e.response)||null==(l=o.data)?void 0:l.message)},eo=(0,l.jsx)(r.pd,{errorText:Q.errors.email,fillType:"outlined",label:"Email",name:"email",onBlur:Q.handleBlur,onChange:J,placeholder:"Email",theme:"dashboard",type:"text",value:Q.values.email,error:Q.touched.email&&Q.errors.email&&Q.errors.email.length>0}),ei=(0,h.k)(n),er=(0,u.jQ)(ei.country(T).options,v.map(e=>{var t;return null==(t=f[e])?void 0:t.code})),ea=(0,l.jsxs)(r.pT,{mt:9,children:[(0,l.jsx)(r.az,{flex:"30%",mr:4,children:(0,l.jsx)(r.fd,{...(0,m.A)("country",ei.country(T).label,{},Q),dropdownMaxHeight:"230px",fillType:"outlined",onChange:e=>{Q.setFieldValue("countryCode",e)},options:er,renderValue:e=>"+".concat(e),theme:"dashboard",value:Q.values.countryCode})}),(0,l.jsx)(r.az,{flex:"70%",children:(0,l.jsx)(r.pd,{errorText:Q.errors.mobile,fillType:"outlined",label:"Mobile",name:"mobile",onBlur:Q.handleBlur,onChange:J,theme:"dashboard",value:Q.values.mobile,error:Q.touched.mobile&&Q.errors.mobile&&Q.errors.mobile.length>0})})]}),es=A&&w,ed=!(q||X||Z)||!Q.isValid||q&&et;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(r.az,{height:"100%",mb:{_:6,md:0},px:{_:6,md:0},children:[(0,l.jsx)(g.A,{test:!(A||w),children:(0,l.jsxs)(r.pT,{flexDirection:"column",height:"100%",maxWidth:"400px",mx:"auto",pt:{_:6,md:12},children:[!R.isPhone&&(0,l.jsx)(r.EY,{color:"BT.2",mb:10,variant:"body1",children:"Edit account details"}),(0,l.jsxs)(r.pT,{as:"form",flexDirection:"column",height:"100%",onSubmit:Q.handleSubmit,children:[eo,ea,M&&(0,l.jsx)(r.EY,{align:"center",as:"div",color:"F.4",mt:4,variant:"caption1",children:M}),(0,l.jsx)(r.az,{my:6,children:(0,l.jsx)(p.A,{caption:a})}),(0,l.jsx)(r.az,{mt:{_:"auto",md:10},children:(0,l.jsx)(r.$n,{fullWidth:!0,disabled:ed,children:"Update"})})]})]})}),(0,l.jsx)(g.A,{test:A||w,children:(0,l.jsxs)(r.pT,{flexDirection:"column",height:"100%",children:[(0,l.jsxs)(r.pT,{flexDirection:{_:"column",md:"row"},children:[(0,l.jsx)(g.A,{test:A,children:(0,l.jsx)(B,{context:"email",email:Q.values.email,isBothFieldChanged:es,isOneFieldUpdated:D,isPhone:e.responsiveUtility.isPhone,mobile:ee,token:H,updateOneFieldStatus:$})}),(0,l.jsx)(g.A,{test:w,children:(0,l.jsx)(B,{context:"mobile",email:Q.values.email,hideResendSmsCta:L,initialError:W,isBothFieldChanged:es,isOneFieldUpdated:D,isPhone:e.responsiveUtility.isPhone,mobile:ee,token:H,updateOneFieldStatus:$})})]}),(0,l.jsx)(r.pT,{justifyContent:"center",maxWidth:es?"480px":"400px",mb:{md:10},mt:{md:30,_:"auto"},mx:"auto",children:(0,l.jsx)(r.A,{to:i.hg5,children:(0,l.jsx)(r.EY,{as:"div",color:"B.1",textAlign:"center",variant:"button1",children:"Need help?"})})})]})})]}),F&&(0,l.jsx)(r.QQ,{bg:"B.6",cancelLabel:(0,l.jsx)(r.EY,{color:"BT.1",children:"Cancel"}),onCancel:()=>O(!1),onPrimaryAction:()=>{O(!1);let t={token:H};q&&(t={...t,email:Q.values.email}),X&&(t={...t,phone:ee}),e.generateAccountContactDetailOTP(t,en,el)},primaryActionLabel:(0,l.jsx)(r.EY,{children:"Confirm"}),children:(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)(r.EY,{color:"BT.2",variant:"body2",children:["Are you sure you want to update your",R.isPhone&&(0,l.jsx)("br",{})," details ?"]})})})]})});var O=n(36815),M=n(72726);function I(){return(0,l.jsx)(r.mc,{children:(0,l.jsx)(M.A,{breadcrumbs:[{label:"Menu",link:i.BKL},{label:"Edit account details",link:i.YO5}],children:(0,l.jsx)(F,{})})})}I.getLayout=function(e){return(0,l.jsx)(a.A,{children:(0,l.jsx)(O.A,{children:e})})}}},e=>{e.O(0,[5912,6340,1854,8998,2965,6277,6031,2373,636,6593,8792],()=>e(e.s=9084)),_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.