PageSourceSearch

https://smkn10bandung.sch.id/build/assets/Login-CP2XCwYS.js

js smkn10bandung.sch.id collected 2026-10-03 02:49:50 UTC 1,922 bytes, 1 lines download raw bytes

1import{j as e,W as x,r as j,Y as h}from"./app-C-EovJ48.js";import{G as f}from"./GuestLayout-4kG-GCZa.js";import{T as i,I as o}from"./TextInput-BSy0Zs9h.js";import{I as l}from"./InputLabel-DE5bXJr-.js";import{P as g}from"./PrimaryButton-B0jJ9BC4.js";function b({className:t="",...n}){return e.jsx("input",{...n,type:"checkbox",className:"rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500 "+t})}function C({status:t,canResetPassword:n}){const{data:a,setData:r,post:c,processing:d,errors:m,reset:p}=x({input_type:"",remember:!1});j.useEffect(()=>()=>{p("password")},[]);const u=s=>{s.preventDefault(),c(route("login"))};return e.jsxs(f,{children:[e.jsx(h,{title:"Log in dashboard"}),t&&e.jsx("div",{className:"mb-4 font-medium text-sm text-green-600",children:t}),e.jsxs("form",{onSubmit:u,children:[e.jsxs("div",{children:[e.jsx(l,{htmlFor:"input_type",value:"Email/Username"}),e.jsx(i,{id:"input_type",type:"text",name:"input_type",value:a.input_type,className:"mt-1 block w-full",autoComplete:"username",isFocused:!0,onChange:s=>r("input_type",s.target.value)}),e.jsx(o,{message:m.email,className:"mt-2"}),e.jsx(o,{message:m.username,className:"mt-2"})]}),e.jsxs("div",{className:"mt-4",children:[e.jsx(l,{htmlFor:"password",value:"Password"}),e.jsx(i,{id:"password",type:"password",name:"password",value:a.password,className:"mt-1 block w-full",autoComplete:"current-password",onChange:s=>r("password",s.target.value)}),e.jsx(o,{message:m.password,className:"mt-2"})]}),e.jsx("div",{className:"block mt-4",children:e.jsxs("label",{className:"flex items-center",children:[e.jsx(b,{name:"remember",checked:a.remember,onChange:s=>r("remember",s.target.checked)}),e.jsx("span",{className:"ms-2 text-sm text-gray-600",children:"Remember me"})]})}),e.jsx("div",{className:"flex items-center justify-end mt-4",children:e.jsx(g,{className:"ms-4",disabled:d,children:"Log in"})})]})]})}export{C 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.