PageSourceSearch

https://app.sortly.com/scripts/set_password-BiBzWkpU_bundle.js

js sortly.com collected 2026-09-24 08:49:32 UTC 1,987 bytes, 2 lines download raw bytes

1import{cl as f,r as o,bV as h,de as S,j as s}from"./vendor-ct_YKIP6_bundle.js";import{pF as y,u as j,et as C,i$ as g,pK as T,aw as P,ab as _,d as E,A as R,pu as A,pv as k,pw as F,pL as W,pM as v,px as V,ec as l,H as c,a8 as B,pz as I,pA as L}from"./registration-BfOA5mCx_bundle.js";import"./moment-DyvZl3Ud_bundle.js";import"./sentry-DLDmuXKN_bundle.js";import"./datadog-DxmyjtSX_bundle.js";const Q=()=>{const{t}=f();y();const[a,u]=o.useState(""),r=h(),{locationReplace:m}=j(),{handleSubmit:w,formState:{isValid:x,errors:M},register:n,getFieldState:i}=S({mode:"onChange",resolver:e=>C(e,{password:T,passwordConfirmation:g})});o.useEffect(()=>{const e=P(r.search);u(e.token),m(r.pathname)},[]);const{confirmResetPassword:p}=_(),d=E(),b=o.useCallback(e=>{d({type:R.CONFIRM_RESET_PASSWORD_REQUEST,payload:{token:a,values:e}})},[d,a]);return s.jsxs(A,{compact:!0,children:[s.jsx(k,{children:s.jsx(F,{children:s.jsx(W,{maxWidth:"420px",pb:"32px",children:s.jsxs(v,{autoComplete:"off",onSubmit:w(b),children:[s.jsx(V,{fontBold:!0,mb:"62px",children:t("reset_password.title")}),s.jsx(l,{...n("password"),"data-testid":"reset-new-password-field",...i("password"),togglePasswordVisibility:!0,customErrorStyles:{top:"48px","white-space":"initial",bottom:"auto","word-break":"break-word"},label:t("common.new_password"),styleType:"borderless",type:"password"}),s.jsx(c,{top:8,children:s.jsx(l,{...n("passwordConfirmation"),"data-testid":"reset-repeat-password-field",...i("passwordConfirmation"),togglePasswordVisibility:!0,autoComplete:"set-new-password-confirmation",label:t("common.repeat_new_password"),styleType:"borderless",type:"password"})}),s.jsx(c,{fullWidth:!0,top:14,children:s.jsx(B,{disabled:!x||p,"data-testid":"reset-password-submit-button",offsetType:"compact",showSpinner:p,styleType:"red",textTransform:"none",children:t("reset_password.form.button")})})]})})})}),s.jsx(I,{children:s.jsx(L,{})})]})};export{Q as default};
2//# sourceMappingURL=set_password-BiBzWkpU_bundle.js.map

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.