PageSourceSearch

https://www.sharebibles.com/assets/signin-DCZUMjYz.js

js sharebibles.com collected 2026-10-02 00:55:51 UTC 1,720 bytes, 1 lines download raw bytes

1import{j as e,L as c,d as j,b as h,r as t,H as f,A as N}from"./index-uKcWP_2j.js";import{I as m}from"./Input-C4Oy4UQK.js";import{B as v}from"./Button-uuBhqwZq.js";import"./index-CiHT37Lv.js";const d={email:"",password:""};function w(){const{signIn:g}=j(),u=h(),[s,n]=t.useState(d),[o,r]=t.useState(null),[_,i]=t.useState(!1),p=async a=>{a.preventDefault(),i(!0),r(null);try{await g(s.email,s.password),n(d),u({to:f})}catch(l){r(l instanceof Error?l.message:"Sign in failed")}finally{i(!1)}},x=!s.password||!s.email;return e.jsxs("form",{onSubmit:p,children:[e.jsx(m,{className:"inputMarginBottom",name:"email",value:s.email,onChange:a=>n({...s,email:a.target.value}),type:"text",labelName:"Email",required:!0}),e.jsx(m,{className:"inputMarginBottom",name:"password",value:s.password,onChange:a=>n({...s,password:a.target.value}),type:"password",labelName:"Password",required:!0}),e.jsx(v,{disabled:x||_,type:"submit",text:"Log in"}),o&&e.jsx("p",{className:"error",children:o})]})}function I(){return e.jsxs("div",{className:"login",children:[e.jsx("div",{className:"login__content",children:e.jsxs("div",{className:"login__content__inner",children:[e.jsx("div",{className:"login__content__header",children:e.jsx(c,{to:"/",children:e.jsx("img",{className:"login__content__header__logo",src:"/LogoWithName.jpg",alt:"logo"})})}),e.jsxs("div",{className:"login__content__login-form",children:[e.jsx("div",{className:"login__content__form",children:e.jsx(w,{})}),e.jsx("div",{className:"login__content__password-forget",children:e.jsx(c,{to:"/pw-forget",children:"Forgot Password?"})})]})]})}),e.jsx("div",{className:"login__image"})]})}function L(){return e.jsx(N,{hideNav:!0,children:e.jsx(I,{})})}export{L 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.