PageSourceSearch

https://sso.editage.com/build/assets/InputPassword-D_BjRx2D.js

js editage.com collected 2026-09-24 08:51:24 UTC 848 bytes, 1 lines download raw bytes

1import{r as l,j as s}from"./app-BIxlAa1M.js";function m({type:n,label:a,error:o="",...t}){const[e,i]=l.useState(n),[d,c]=l.useState("/assets/images/eye-close.svg"),r=()=>{i(e==="password"?"text":"password"),c(e==="password"?"/assets/images/eye-open.svg":"/assets/images/eye-close.svg")};return s.jsxs("div",{className:"ol-form-field",children:[s.jsxs("div",{className:"relative",children:[s.jsx("button",{tabIndex:-1,type:"button",onClick:r,onKeyDown:r,className:"password-toggle",children:s.jsx("img",{src:d,alt:"Toggle Password"})}),s.jsx("input",{type:e,"aria-label":"input box to enter password",className:`ol-form-input ${o?"form-error":""}`,placeholder:a,...t}),s.jsxs("div",{className:"form-label ip-f-label",children:[a,t.required&&s.jsx("span",{children:"*"})]})]}),s.jsx("div",{className:"error-msg",children:o})]})}export{m 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.