PageSourceSearch

https://sso.openedu.ru/resources/jh0n6/login/openedu-theme/dist/assets/update-password-page--k6vOmuf.js

js openedu.ru collected 2026-10-02 03:38:21 UTC 1,443 bytes, 1 lines download raw bytes

1import{r as a,j as s}from"./index-Bd0yfiIk.js";/* empty css                    */import{A as g,L as l,S as P}from"./auth-page-template-BxqveKgY.js";import{P as N}from"./base-CpUadHfj.js";import"./i18nInstance-CSCEjc5j.js";const v=({kcContext:r,i18n:o})=>{const{url:i}=r,{msgStr:t}=o,[n,d]=a.useState(""),[m,c]=a.useState(""),[p,u]=a.useState(""),[w,f]=a.useState(""),h=e=>{n.length<6?(u("Пароль слишком короткий, минимальная длина 6."),e.preventDefault()):n!==m&&(f("Два поля с паролями не совпадают."),e.preventDefault())};return s.jsx(N,{kcContext:r,i18n:o,children:s.jsx(g,{className:"update-password-page-content",children:s.jsx("div",{className:"auth-wrapper",children:s.jsxs("div",{className:"auth-section",children:[s.jsx("div",{className:"rel_title",children:s.jsx("span",{className:"rel_title__label",children:t("updatePasswordTitle")})}),s.jsxs("form",{method:"post",action:i.loginAction,onSubmit:h,children:[s.jsx(l,{className:"auth-section__labeled-input",label:t("newPassword"),name:"password-new",autoComplete:"off",type:"password",onChange:e=>d(e.target.value),errorMessage:p}),s.jsx(l,{className:"auth-section__labeled-input",label:t("confirmNewPassword"),name:"password-confirm",autoComplete:"off",type:"password",onChange:e=>c(e.target.value),errorMessage:w}),s.jsx(P,{type:"submit",children:t("updatePasswordSubmitButton")})]})]})})})})};export{v 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.