PageSourceSearch

https://dashboard.velocity.in/assets/index-DqgzE0K-.js

js velocity.in collected 2026-10-01 11:34:15 UTC 1,918 bytes, 1 lines download raw bytes

1import{d as x,r as d,j as e,c as p,N as g,dk as w,B as _,D as h,e as O}from"./index-BYjmYzu-.js";import{O as j}from"./otp_sent_successfully-B3OpUb-M.js";import{s as T}from"./signup_utils-iwq6UqOF.js";import"./otp_component-e7Myzayc.js";import"./otp_resend_component-Dr8iMwol.js";import"./form_utils-BRD3em_d.js";import"./input_styles.module-DexRyFjS.js";import"./password_component-BhVQ1jmy.js";import"./CheckOutlined-MXWxCOVM.js";import"./CloseOutlined-Dj9ziNvG.js";import"./auth_header-2E-MzbYc.js";import"./index-B5-8UM3L.js";import"./css-CG3sgCP8.js";import"./DialogWrap-BcWh8mEF.js";import"./Portal-BnIU9h3K.js";import"./getScrollBarSize-BX5bDlpW.js";import"./useId-CCfbXMy0.js";import"./common.module-BU3MzYIw.js";import"./index-CEDzluRn.js";import"./Skeleton-DbxtqGSl.js";import"./index-CneRmXqw.js";import"./Dropdown-Dy0ThnTD.js";import"./PlusOutlined-ByZyTB3m.js";const v="_container_8dk7e_10",N="_item_8dk7e_14",c={container:v,item:N};function S(){const{isLoading:m,profile:i,profileLoadingText:u}=x(),[f,s]=d.useState(!0);if(m)return e.jsx(p,{text:u});const{phone:l,uuid:o,set_password_required:r}=i||{},P=async()=>{var a,n;s(!0);var t=await T(!0,o,((a=w)==null?void 0:a.client)||"web");(n=t==null?void 0:t.data)!=null&&n.data?(_({uuid:t.data.data.otp_uuid,phoneVerified:t.data.data.phone_verified,maskedPhone:t.data.data.masked_phone}),h({message:"OTP sent",description:"OTP is initiated"})):O({message:"OTP error",description:"OTP initiation failed"}),s(!1)};return d.useEffect(()=>{r&&o&&P()},[i]),r?f?e.jsx(p,{}):e.jsx("div",{className:c.container,children:e.jsx("div",{className:c.item,children:e.jsx(j,{title:"Set Password",description:`Please set password of your account, 6-digit OTP has been sent to ${l}`,successMsg:"Password created successfully!",showBack:!1,redirectUrl:"/finance/overview",showForgotSection:!1})})}):e.jsx(g,{to:"/product"})}S.displayName="SetPassword";export{S as Component};

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.