PageSourceSearch

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

js velocity.in collected 2026-10-01 11:32:19 UTC 832 bytes, 1 lines download raw bytes

1import{r as e,u as m,q as p,j as s,T as f,f as y,c as x,g as S,h as j,e as E}from"./index-BYjmYzu-.js";const{Text:T}=f,w="Velocity-c808fb9a-a015-404d-95c9-558f4a156920",P=r=>{switch(r){case"myntra":return"https://myntra.velocity.in/auth/login";default:return"/auth/login"}};function R(){const[r,a]=e.useState(!1),[o,n]=e.useState(""),[l]=m(),i=p(l),g=async()=>{if(i.cidx==w)n("myntra");else{a(!0),n("");return}await S(i,o).then(t=>{j(t.headers),window.location.href="/"}).catch(t=>{var u,h;const c=(h=(u=t.response)==null?void 0:u.data)==null?void 0:h.title;E({message:"Sign In error",description:c||"Something went wrong"}),a(!0)})};e.useEffect(()=>{g()},[]);const d=P(o);return r?s.jsxs(T,{children:["Error logging in. Please ",s.jsx(y,{to:d,children:"Try Again"})]}):s.jsx(x,{text:"Authenticating user"})}export{R 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.