1import{j as e,F as le,r as u,y as M,M as Q,C as P,B as Ce,d as Te}from"./ui-DSBMuj7-.js";import{u as xe,T as w,b as Oe,f as Be,c as pe,F as ge,g as H,h as ye,i as Ee,j as g,k as je,S as be,t as oe,P as de,e as Pe,l as Ne,m as ue,s as v,v as m,p as me,n as Fe,o as Re,q as Le,r as Ke,w as qe,B as Ue,x as ne,y as Ze,z as te,C as ie,E as re,G as He,K as Ve,a as Ge,H as De}from"./App-CQuV-WNo.js";import{E as Se,o as s,u as $e,F as We}from"./index-BTwNSsjE.js";import{K as X}from"./input-CwbqQrXo.js";import{I as ve}from"./checkBox-C7yBvxcB.js";import{a as ze}from"./react-Dg-2kvD6.js";import"./reactPlayer-DRUuhpoh.js";import"./surveyCore-BZNgZkpJ.js";import"./surveyUI-Dg74Dzq1.js";import"./uuid-C6aID195.js";import"./microsoftApplicationInsightsWeb-1RbxxmSS.js";const Ye=(a=!0)=>{const y=xe({token:w,key:w,guid:w,hasBody:w});return Oe({queryKey:["userProfile"],enabled:a,queryFn:async()=>pe(`${Se.API_URL}/user/profile`,{method:"GET",headers:y}),staleTime:Be})},Qe=()=>{const a=xe({token:w,key:w,guid:ge,hasBody:w});return async S=>pe(`${Se.API_URL}/user/changePassword`,{method:"POST",headers:a,body:JSON.stringify({currentPassword:S.currentPassword,newPassword:S.newPassword})})},he=()=>e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsxs("g",{clipPath:"url(#clip0_930_2075)",children:[e.jsx("path",{d:"M16.3975 6.06836C16.5342 5.82843 16.8392 5.74516 17.0791 5.88184C19.1531 7.06321 20.9432 8.93875 22.3067 11.2744L22.3926 11.4473C22.5398 11.8012 22.5399 12.2 22.3926 12.5537L22.3067 12.7266C19.9238 16.8084 16.2214 19.5 12.001 19.5C11.5574 19.5 11.1182 19.4705 10.6856 19.4121C10.4122 19.375 10.2211 19.123 10.2579 18.8496C10.2948 18.5761 10.5459 18.3842 10.8194 18.4209C11.2079 18.4734 11.6024 18.5 12.001 18.5C15.7612 18.5 19.1788 16.0992 21.4424 12.2217L21.4688 12.1689C21.5138 12.0607 21.5138 11.9392 21.4688 11.8311L21.4424 11.7783C20.1511 9.56615 18.4788 7.82936 16.584 6.75C16.3444 6.6132 16.2609 6.30816 16.3975 6.06836ZM7.40043 17.2393C7.63995 17.3765 7.72311 17.6823 7.58598 17.9219C7.44878 18.1614 7.14297 18.2445 6.90336 18.1074L7.40043 17.2393ZM12.001 4.5C12.5385 4.5 13.0691 4.54368 13.5899 4.62891L14.1075 4.72852L14.2041 4.75977C14.4167 4.85402 14.5409 5.08728 14.4893 5.32324C14.4377 5.55913 14.2275 5.71974 13.9952 5.7168L13.8946 5.70508L13.4288 5.61621C12.9606 5.53958 12.4839 5.5 12.001 5.5C8.35847 5.50019 5.03731 7.75285 2.77543 11.4189L2.56059 11.7783C2.48058 11.9155 2.47983 12.0847 2.55961 12.2217L2.80571 12.6299C4.05622 14.641 5.63112 16.2267 7.40043 17.2393L7.15141 17.6729L6.90336 18.1074C4.96708 16.9993 3.27933 15.2854 1.9561 13.1572L1.69633 12.7256C1.43457 12.2768 1.43455 11.7219 1.69633 11.2734L1.92387 10.8955C4.3113 7.02657 7.91261 4.50019 12.001 4.5ZM12 8.5C13.933 8.5 15.5 10.067 15.5 12C15.5 13.933 13.933 15.5 12 15.5C10.067 15.5 8.50004 13.933 8.50004 12C8.50004 10.067 10.067 8.5 12 8.5ZM12 9.5C10.6193 9.5 9.50004 10.6193 9.50004 12C9.50004 13.3807 10.6193 14.5 12 14.5C13.3808 14.5 14.5 13.3807 14.5 12C14.5 10.6193 13.3808 9.5 12 9.5Z",fill:"#2A4464"}),e.jsx("path",{d:"M17.2143 2.10745L6.99995 21.9988",stroke:"#2A4464",strokeLinecap:"round"})]}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_930_2075",children:e.jsx("rect",{width:"24",height:"24",fill:"white"})})})]}),fe=a=>e.jsxs(le.Group,{className:"kk-input has-icon position-relative",children:[a.label&&e.jsx(le.Label,{children:a.label}),e.jsxs("div",{className:"position-relative",children:[e.jsx(le.Control,{id:a.id,name:a==null?void 0:a.name,type:a.type,className:`${a.className} ${a.errorMessage?"form-error":""}`.trim(),placeholder:a.placeholder,onChange:a.onChange,onKeyDown:a.onKeyDown,readOnly:a.readOnly,value:a.value,required:a.required,pattern:a.pattern,isInvalid:a.isInvalid,disabled:a.disabled,as:a.as,ref:a.ref,rows:a.rows,maxLength:a.maxLength,autoComplete:a==null?void 0:a.autoComplete,"data-testid":a==null?void 0:a.testId}),e.jsx("span",{className:"icon-wrap",onClick:a==null?void 0:a.onEyeClick,"data-testid":"toggle-password-visibility",children:a.icon})]}),e.jsx("div",{className:`d-flex ${a.errorClassName}`,children:a.errorMessage&&e.jsx("div",{className:"error-msg",children:a.errorMessage})})]}),we=()=>e.jsxs("svg",{"data-testid":"show-password-svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("mask",{id:"path-1-inside-1_930_2075",fill:"white",children:e.jsx("path",{d:"M12.0006 5C15.9908 5 19.5498 7.54622 21.873 11.5258C22.044 11.8187 22.044 12.1813 21.873 12.4742C19.5498 16.4538 15.9908 19 12.0006 19C8.01046 19 4.45148 16.4538 2.12826 12.4742C1.95725 12.1813 1.95725 11.8187 2.12826 11.5258C4.45148 7.54622 8.01046 5 12.0006 5Z"})}),e.jsx("path",{d:"M12.0006 5L12.0006 4H12.0006V5ZM12.0006 19L12.0006 20L12.0006 20L12.0006 19ZM2.12826 12.4742L2.99187 11.97L2.12826 12.4742ZM21.873 11.5258L22.7366 11.0216L21.873 11.5258ZM21.873 12.4742L22.7366 12.9784L21.873 12.4742ZM12.0006 5L12.0006 6C15.5304 6 18.8054 8.25465 21.0094 12.03L21.873 11.5258L22.7366 11.0216C20.2941 6.83779 16.4512 4 12.0006 4L12.0006 5ZM2
11.873 12.4742L21.0094 11.97C18.8054 15.7453 15.5304 18 12.0006 18L12.0006 19L12.0006 20C16.4512 20 20.2941 17.1622 22.7366 12.9784L21.873 12.4742ZM12.0006 19V18C8.47082 18 5.19584 15.7453 2.99187 11.97L2.12826 12.4742L1.26465 12.9784C3.70712 17.1622 7.5501 20 12.0006 20V19ZM2.12826 11.5258L2.99187 12.03C5.19584 8.25465 8.47082 6 12.0006 6V5V4C7.5501 4 3.70712 6.83779 1.26465 11.0216L2.12826 11.5258ZM2.12826 12.4742L2.99187 11.97C3.00271 11.9886 3.00271 12.0114 2.99187 12.03L2.12826 11.5258L1.26465 11.0216C0.911783 11.6261 0.911782 12.3739 1.26465 12.9784L2.12826 12.4742ZM21.873 11.5258L21.0094 12.03C20.9986 12.0114 20.9986 11.9886 21.0094 11.97L21.873 12.4742L22.7366 12.9784C23.0895 12.3739 23.0895 11.6261 22.7366 11.0216L21.873 11.5258Z",fill:"#2A4464",mask:"url(#path-1-inside-1_930_2075)"}),e.jsx("circle",{cx:"12",cy:"12",r:"3",stroke:"#2A4464"})]}),Xe=({loading:a,setLoading:y,show:S,setShow:$,errors:_,setErrors:b})=>{const V=Qe(),T=u.useRef(null),W=u.useRef(null),O=u.useRef(null),B=H(ye),F=H(Ee),R={currentPassword:"",newPassword:"",confirmPassword:""},[c,N]=u.useState(g),[I,x]=u.useState(g),[G,A]=u.useState(g),[C,E]=u.useState(R),K=()=>{$(!1),b(r=>({...r,currentPassword:"",confirmPassword:"",newPassword:""})),E(R),A(g),x(g),N(g),oe(s.Analytics.LinkText.ProfileChangePasswordPopupClosed,{pageName:s.Analytics.PageName.Profile,linkText:s.Analytics.LinkText.Cancel,clickType:s.Analytics.ClickType.Button,userId:B??void 0,accessId:F??void 0})},Y=()=>{N(r=>r===g?ue:g)},q=()=>{x(r=>r===g?ue:g)},k=()=>{A(r=>r===g?ue:g)},p=r=>{const o=v(r.target.value);E(d=>({...d,currentPassword:o})),b(d=>{const h={...d};return o?me(o)?h.currentPassword=m.password_invalid:delete h.currentPassword:h.currentPassword=m.current_password_required,h})},z=r=>{const o=v(r.target.value);E(d=>({...d,newPassword:o})),b(d=>{const h={...d};return o?me(o)?h.newPassword=m.password_invalid:delete h.newPassword:h.newPassword=m.new_password_required,h})},U=r=>{const o=v(r.target.value);E(d=>({...d,confirmPassword:o})),b(d=>{const h={...d};return o?me(o)?h.confirmPassword=m.password_invalid:delete h.confirmPassword:h.confirmPassword=m.confirm_password_required,h})},Z=je({mutationFn:V,mutationKey:["userChangePassword"],onMutate:()=>{},onSuccess:r=>{var d;const o=r;if((o==null?void 0:o.error)===be)M.success(s.ApiSuccessMsg.ProfileUpdateSuccess),E(R),K(),oe(s.Analytics.LinkText.ProfileChangePasswordSuccess,{pageName:s.Analytics.PageName.Profile,linkText:s.Analytics.LinkText.Save,clickType:s.Analytics.ClickType.Button,userId:B??void 0,accessId:F??void 0});else if((d=o==null?void 0:o.errors)!=null&&d.currentPassword){const h=Array.isArray(o.errors.currentPassword)?o.errors.currentPassword[0]:String(o.errors.currentPassword);M.error(h)}else M.error(o==null?void 0:o.message)},onError:r=>{console.error("Validation API Error:",r),M.error(s.ApiFailMsg.CommonFail)},onSettled:()=>{y(!1)}}),J=()=>{const r={},o=v(C.currentPassword),d=v(C.newPassword),h=v(C.confirmPassword),D={currentPassword:C==null?void 0:C.currentPassword,newPassword:C==null?void 0:C.newPassword};o||(r.currentPassword=m.password_required),d||(r.newPassword=m.password_required),h||(r.confirmPassword=m.password_required),h!==d&&(r.confirmPassword=m.confirm_password_error),b(r),Object.keys(r).length>0?setTimeout(()=>{var ee,se,ae;r.currentPassword?(ee=T.current)==null||ee.focus():r.newPassword?(se=W.current)==null||se.focus():r.confirmPassword&&((ae=O.current)==null||ae.focus())},Fe):(y(!0),Z.mutate(D))};return e.jsxs(Q,{show:S,onHide:K,onEntered:()=>{var r;return(r=T.current)==null?void 0:r.focus()},children:[e.jsx(Q.Header,{children:e.jsx(Q.Title,{children:s.Button.ChangePassword})}),e.jsxs(Q.Body,{children:[e.jsx(P,{children:e.jsx(fe,{label:s.Label.CurrentPassword,icon:c!==g?e.jsx(we,{}):e.jsx(he,{}),type:c,value:C.currentPassword,onChange:p,onEyeClick:Y,maxLength:de,placeholder:s.Placeholder.Password,errorMessage:_.currentPassword,ref:T,testId:s.Label.CurrentPassword})}),e.jsx(P,{children:e.jsx(fe,{label:s.Label.NewPassword,icon:I!==g?e.jsx(we,{}):e.jsx(he,{}),type:I,placeholder:s.Placeholder.Password,onChange:z,onEyeClick:q,maxLength:de,value:C.newPassword,errorMessage:_.newPassword,ref:W,testId:s.Label.NewPassword})}),e.jsx(P,{className:"mb-4",children:e.jsx(fe,{label:s.Label.ConfirmPassword,icon:G!==g?e.jsx(we,{}):e.jsx(he,{}),type:G,onChange:U,onEyeClick:k,maxLength:de,value:C.confirmPassword,errorMessage:_.confirmPassword,ref:O,testId:s.Label.ConfirmPassword})})]}),e.jsx(Q.Footer,{children:e.jsxs(P,{className:"btn-margin-container",children:[e.jsx(Pe,{onClick:J,disabled:a,label:a?e.jsx(Ne,{}):s.Button.Save}),e.jsx(Ce,{variant:"outline-primary",onClick:K,children:s.Button.Cancel})]})})]})},Je=()=>{const a=xe({token:w,key:w,guid:w,hasBody:w});return async S=>pe(`${Se.API_URL}/user/updateProfile`,{method:"POST",headers:a,body:JSON.stringify(S)})},es=({originalCemail:a,setOriginalCemail:y,originalPhone:S,setOriginalPhone:$,originalIsEmailOptIn:_,setOriginalIsEmailOptIn:b,originalIsSMSOptIn:V,setOriginalIsSMSOptIn:T,cemail:W,setCemail:O,loading:B,setLoa
1ding:F,setShow:R,profileData:c,setProfileData:N,errors:I,setErrors:x,refetchUserRedirectDetails:G})=>{const A=ze(),C=$e(),E=Je(),K=Re(Le),Y=u.useRef(null),q=u.useRef(null),k=u.useRef(null),p=u.useRef(null),z=H(Ke),U=H(ye),Z=H(Ee),J=H(Le),r=(Array.isArray(J)?J:[]).find(n=>n.userGuid===U),[o,d]=u.useState(!1),[h,D]=u.useState(!1),ee=n=>{const i=n.target.checked,l=i!==_||c.isSMSOptIn!==V;d(l),D(!l),N(f=>({...f,isEmailOptIn:i}))},se=n=>{const i=n.target.checked,l=i!==V||c.isEmailOptIn!==_;d(l),D(!l),N(f=>({...f,isSMSOptIn:i}))},ae=n=>{const i=v(n.target.value),l=i!==a,f=te(i);O(i),d(l),D(!(l&&f)),N(t=>({...t,contactEmail:i})),x(t=>{const L={...t};return i?te(i)?delete L.contactEmail:L.contactEmail=m.contact_email_invalid:L.contactEmail=m.contact_email_required,L})},Ie=n=>{const i=ie(v(n.target.value)),l=i!==S,f=re(i);d(l),D(!(l&&f)),N(t=>({...t,phoneNumber:i})),x(t=>{const L={...t};return i?re(i)?delete L.phoneNumber:L.phoneNumber=m.contact_phone_invalid:L.phoneNumber=m.contact_phone_required,L})},ce=()=>{const n={},i=v(c.contactEmail),l=ie(v(c.phoneNumber??""));i?te(i)||(n.contactEmail=m.contact_email_invalid):n.contactEmail=m.contact_email_required,l?re(l)||(n.phoneNumber=m.contact_phone_invalid):n.phoneNumber=m.contact_phone_required,x(n),Object.keys(n).length>0?setTimeout(()=>{var f,t;n.contactEmail?(f=q.current)==null||f.focus():n.phoneNumber&&((t=k.current)==null||t.focus())},0):M.success(s.ApiSuccessMsg.profileSuccess)},ke=je({mutationFn:E,mutationKey:["saveProfileData"],onMutate:()=>{F(!0)},onSuccess:async n=>{if(n.error===be){M.success(s.ApiSuccessMsg.profileSuccess),C.invalidateQueries({queryKey:["userProfile"]});try{const{data:i}=await G(),l=(i==null?void 0:i.data)??[],f=l.map(t=>({firstName:t.firstName,lastName:t.lastName,userGuid:t.userGuid,accessId:t.accessId,isActive:t==null?void 0:t.isActive,isConsentAccepted:t==null?void 0:t.isConsentAccepted,isScreeningTestCompleted:t==null?void 0:t.isScreeningTestCompleted,isBaselineDataCollectionCompleted:t==null?void 0:t.isBaselineDataCollectionCompleted,isProfileCompleted:t==null?void 0:t.isProfileCompleted,emailSuppressed:(t==null?void 0:t.emailSuppressed)===w,smsSuppressed:(t==null?void 0:t.smsSuppressed)===w}));if(K(f),!l.length)throw new Error(s.ApiFailMsg.NoChildDataFound);for(const t of l)if(t.registrationStatus===w){if(t.isProfileCompleted===ge){A("/profile");return}if(t.isBaselineDataCollectionCompleted===ge){A("/baseline-data-collection");return}}A("/dashboard")}catch(i){console.error("User status fetch failed:",i),M.error(s.ApiFailMsg.UserStatusFetchFail)}oe(s.Analytics.LinkText.ProfileSaved,{pageName:s.Analytics.PageName.Profile,linkText:s.Analytics.LinkText.Save,clickType:s.Analytics.ClickType.Button,userId:U??void 0,accessId:Z??void 0})}else M.error(s.ApiFailMsg.profileFail)},onError:n=>{console.error("Validation API Error:",n),M.error(s.ApiFailMsg.UserProfileUpdateFail)},onSettled:()=>{F(!1)}}),Me=async()=>{var l,f,t,L;const n=v(c.contactEmail),i=ie(v(c.phoneNumber??""));if(!n){x(j=>({...j,contactEmail:m.contact_email_required})),(l=q.current)==null||l.focus();return}if(!te(n)){x(j=>({...j,contactEmail:m.contact_email_invalid})),(f=q.current)==null||f.focus();return}if(!i){x(j=>({...j,phoneNumber:m.contact_phone_required})),(t=k.current)==null||t.focus();return}if(!re(i)){x(j=>({...j,phoneNumber:m.contact_phone_invalid})),(L=k.current)==null||L.focus();return}y(W),$(i),b(c.isEmailOptIn),T(c.isSMSOptIn),d(!1);try{const j={contactEmail:n,phoneNumber:i,isEmailOptIn:c.isEmailOptIn,isSMSOptIn:c.isSMSOptIn};ke.mutate(j)}catch(j){console.error("Error updating profile:",j),M.error(s.ApiFailMsg.SomethingWentWrong)}},_e=()=>{const n=a??"",i=S??"";O(n),N(l=>({...l,contactEmail:n,phoneNumber:i,isEmailOptIn:_,isSMSOptIn:V})),x(l=>{const f={...l};return delete f.contactEmail,delete f.phoneNumber,f}),d(!1),D(!0)},Ae=()=>{R(!0),oe(s.Analytics.LinkText.ProfileChangePasswordPopupOpened,{pageName:s.Analytics.PageName.Profile,linkText:s.Analytics.LinkText.ChangePassword,clickType:s.Analytics.ClickType.Link,userId:U??void 0,accessId:Z??void 0})};return e.jsxs(e.Fragment,{children:[e.jsxs(P,{className:"login-outer-user position-relative logged-banner",children:[e.jsxs("div",{className:"login-inner m-auto text-center",children:[e.jsxs("h1",{className:"text-center",children:[s.Heading.Welcome," ",z]}),e.jsx(P,{className:"mt-5",children:e.jsx(qe,{renderButton:n=>e.jsx(Pe,{label:s.Button.SignOut,onClick:n})})})]}),e.jsx("div",{className:"login-graphics position-absolute",children:e.jsx("img",{src:Ue,alt:"",loading:"lazy"})})]}),e.jsx("div",{className:"content-area-primary ",children:e.jsx(Te,{children:e.jsxs(P,{children:[e.jsx("h2",{children:s.Heading.Account}),e.jsx(P,{className:"mb-4",children:e.jsx(X,{label:s.Label.RegistrationEmail,type:"email",value:c.registrationEmail,onKeyDown:n=>{n.key===ne&&n.preventDefault()},ref:Y,errorMessage:I.registrationEmail,disabled:!0,testId:s.Label.RegistrationEmail})}),e.jsx(P,{className:"mb-4",children:e.jsx(X,{label:s.Label.LoggedInEmail,type:"email",value:c.loggedInEmail,disabled:!0})}),e.jsx(P,{className:"mb-4",children:e.jsx(Ce,{variant:"link",onClick:Ae,children:s.Button.ChangePassword})}),e.jsxs(P,{className:"mb-4",children:[e.jsx(X,{label:s.Label.ContactEmail,type:"email",value:c.contactEmail,onChange:ae,onKeyDown:n=>{n.key===ne&&(n.preventDefault(),ce())},ref:q,required:w,errorMessage:I.contactEmail,maxLength:150,testId:s.Label.ContactEmail}),(r==null?void 0:r.emailSuppressed)===w&&c.contactEmail===a&&e.jsx("div",{className:"kk-input",children:e.jsx("div",{className:"error-msg",children:s.Heading.EmailBouncingInvalid})})]}),e.jsxs(P,{className:"mb-5",children:[e.jsx(X,{label:s.Label.ContactPhone,type:"tel",value:c.phoneNumber??"",onChange:Ie,onKeyDown:n=>{n.key===ne&&(n.preventDefault(),ce())},ref:k,required:w,errorMessage:I.phoneNumber,maxLength:Ze,testId:s.Label.ContactPhone}),(r==null?void 0:r.smsSuppressed)===w&&c.phoneNumber===S&&e.jsx("div",{className:"kk-input",children:e.jsx("div",{className:"error-msg",children:s.Heading.SmsBouncingInvalid})})]}),e.jsx("h3",{children:s.Heading.ChildInfo}),e.jsx(P,{className:"mb-4",children:e.jsx(X,{label:s.Label.Name,type:"text",value:c.name,onKeyDown:n=>{n.key===ne&&(n.preventDefault(),ce())},ref:p,errorMessage:I.name,disabled:!0,testId:s.Label.Name})}),e.jsxs(P,{className:"profile-unsubscribe mb-4",children:[e.jsx(ve,{id:"email-subscription",name:"email-subscription",type:"checkbox",label:s.Profile.Email,checked:c.isEmailOptIn??!1,onChange:ee}),e.jsx(ve,{id:"sms-subscription",name:"sms-subscription",type:"checkbox",label:s.Profile.SMS,checked:c.isSMSOptIn??!1,onChange:se})]}),e.jsxs(P,{className:"mt-5 btn-margin-container",children:[e.jsx(Pe,{onClick:Me,disabled:B||h,label:B?e.jsx(Ne,{}):s.Button.Save}),o&&!B&&e.jsx(Ce,{variant:"outline-primary",onClick:_e,children:s.Button.Cancel})]})]})})})]})},ms=()=>{const a=H(De),y=H(ye),[S,$]=u.useState(""),[_,b]=u.useState(""),[V,T]=u.useState(!1),[W,O]=u.useState(!1),[B,F]=u.useState(""),[R,c]=u.useState(!1),[N,I]=u.useState(!1),[x,G]=u.useState({registrationEmail
1:"",loggedInEmail:"",contactEmail:"",phoneNumber:"",name:"",isEmailOptIn:!1,isSMSOptIn:!1}),[A,C]=u.useState({}),{data:E,refetch:K,isLoading:Y}=Ye(!!a&&!!y),{refetch:q}=He(!1);return u.useEffect(()=>{a&&y&&K()},[a,y,K]),u.useEffect(()=>{if(E){const k=E,p=k==null?void 0:k.data;if(p){const z=p.contactEmail||"",U=ie(p.phoneNumber||""),Z={registrationEmail:p.parentEmail||"",loggedInEmail:p.azureLogin||"",contactEmail:p.contactEmail||"",phoneNumber:U,name:`${p.firstName??""}`.trim(),isEmailOptIn:p.isEmailOptIn===!0,isSMSOptIn:p.isSMSOptIn===!0};G(Z),F(z),$(z),b(U),T(Z.isEmailOptIn),O(Z.isSMSOptIn)}}},[E]),e.jsx(e.Fragment,{children:Y?e.jsx("div",{className:"d-flex justify-content-center align-items-center",style:{height:"100vh"},children:e.jsx(We,{})}):e.jsxs(e.Fragment,{children:[e.jsx(Ve,{}),e.jsx(es,{originalCemail:S,setOriginalCemail:$,originalPhone:_,setOriginalPhone:b,originalIsEmailOptIn:V,setOriginalIsEmailOptIn:T,originalIsSMSOptIn:W,setOriginalIsSMSOptIn:O,cemail:B,setCemail:F,loading:R,setLoading:c,setShow:I,profileData:x,setProfileData:G,errors:A,setErrors:C,refetchUserRedirectDetails:q}),e.jsx(Ge,{}),e.jsx(Xe,{loading:R,setLoading:c,show:N,setShow:I,errors:A,setErrors:C})]})})};export{ms as default};
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.