1import { G, j as jsxRuntimeExports, S as Se } from "./app-DJioUbN4.js"; 2import { G as Guest } from "./GuestLayout-Di0ttZmJ.js"; 3import { I as InputError } from "./InputError-DXDw12iU.js"; 4import { I as InputLabel } from "./InputLabel-B32VKn2G.js"; 5import { P as PrimaryButton } from "./PrimaryButton-BsIcP_5r.js"; 6import { T as TextInput } from "./TextInput-_FA7co_u.js"; 7import "./logo-DZUjIKjN.js"; 8function ConfirmPassword() { 9 const { data, setData, post, processing, errors, reset } = G({ 10 password: "" 11 }); 12 const submit = (e) => { 13 e.preventDefault(); 14 post(route("password.confirm"), { 15 onFinish: () => reset("password") 16 }); 17 }; 18 return /* @__PURE__ */ jsxRuntimeExports.jsxs(Guest, { children: [ 19 /* @__PURE__ */ jsxRuntimeExports.jsx(Se, { title: "Confirm Password" }), 20 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "mb-4 text-sm text-gray-600", children: "This is a secure area of the application. Please confirm your password before continuing." }), 21 /* @__PURE__ */ jsxRuntimeExports.jsxs("form", { onSubmit: submit, children: [
22 /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "mt-4", children: [ 23 /* @__PURE__ */ jsxRuntimeExports.jsx(InputLabel, { htmlFor: "password", value: "Password" }), 24 /* @__PURE__ */ jsxRuntimeExports.jsx( 25 TextInput, 26 { 27 id: "password", 28 type: "password", 29 name: "password", 30 value: data.password, 31 className: "mt-1 block w-full", 32 isFocused: true, 33 onChange: (e) => setData("password", e.target.value) 34 } 35 ), 36 /* @__PURE__ */ jsxRuntimeExports.jsx(InputError, { message: errors.password, className: "mt-2" }) 37 ] }), 38 /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex items-center justify-end mt-4", children: /* @__PURE__ */ jsxRuntimeExports.jsx(PrimaryButton, { className: "ms-4", disabled: processing, children: "Confirm" }) }) 39 ] }) 40 ] }); 41} 42export { 43 ConfirmPassword as default 44};
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.