1import{j as r,L as n}from"./vendor-BEUer1XH.js";import{L as p}from"./LoadingOutlined-2EExpueA.js";import{u}from"./useCustomerAuth-DwzWAjwz.js";import{F as a}from"./FormResetPhoneNumber-C6zPqUYy.js";import{M as c}from"./index-BJNvwC5j.js";import{B as h}from"./Breadcrumb-DW4w8HQp.js";import{T as m}from"./index-DENArrSa.js";import{S as l}from"./index-CCT_oRJ6.js";import"./index-DkfwU8zk.js";import"./utils-w1iDNRBg.js";import"./index-xmoZg6gj.js";import"./customer.api-CQHdDpwz.js";import"./format.phone-BhePyXg2.js";import"./useMutation-KANBv_r7.js";import"./index-BYqFq3zo.js";import"./collapse-BbEVqHco.js";import"./useForm-DrUwT_4T.js";import"./useBreakpoint-BBrUbbpN.js";import"./mediaQueryUtil-BSyvLspT.js";import"./index-CW5BAikS.js";import"./Input-CD5EvbY1.js";import"./EyeOutlined-D647LYEE.js";import"./Search-cPbr6bPB.js";import"./SearchOutlined-DVVMytpw.js";import"./DownOutlined-CeXDrnPO.js";import"./dropdown-qHy0AlcK.js";import"./LeftOutlined-CpjQE-vN.js";import"./RightOutlined-9GOMZsx1.js";import"./Dropdown-CDCCRALY.js";import"./PurePanel-CbtVgttN.js";import"./index-BzPrgs7b.js";import"./EllipsisOutlined-Djar-icM.js";import"./Overflow-CAQIMHA2.js";import"./index-CUWDS_la.js";const{Title:d}=m,U=()=>{var t,o,i;const{customer:e,refetchCustomer:s}=u();return r.jsxs(r.Fragment,{children:[r.jsx(c,{title:"Reset Phone Number"}),r.jsx(h,{className:"block mb-4 md:hidden",items:[{title:r.jsx(n,{to:"/accounts",children:"..."})},{title:r.jsx(m.Text,{className:"capitalize",children:"Reset Phone Number"})}]}),r.jsx(d,{level:4,children:"Reset Phone Number"}),r.jsx(l,{spinning:!e,indicator:r.jsx(p,{spin:!0}),children:e&&r.jsxs(r.Fragment,{children:[r.jsxs("p",{className:"mb-4",children:["Your current phone number ends with ",(t=e==null?void 0:e.registered_customer)==null?void 0:t.phone_number.substring(e.registered_customer.phone_number.length-4)]}),r.jsx(a,{isCustomer:!0,initialValues:{id:(o=e.registered_customer)==null?void 0:o.id,phone_number:(i=e.registered_customer)==null?void 0:i.phone_number,new_phone_number:""},onVerify:s})]})})]})};export{U 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.