1import { l as f, o as w, i as _, f as m, e as a, u as e, n as v, a as s, t as i, B as h, C as $, d as b } from "./app-BQglH-tG.js"; 2import { _ as y } from "./Button-D46kyzeA.js"; 3import { _ as n } from "./Input-jOJgaDHU.js"; 4import { _ as p } from "./Label-C0NzFEdU.js"; 5import { _ as V } from "./ValidationErrors-DOKcaQ9k.js"; 6import { _ as g } from "./GuestLayout-DFFi2sj1.js"; 7import "./ApplicationLogo-BE-OKeyv.js"; 8import "./functions-DNMBuN0o.js"; 9const x = { class: "flex flex-col items-center" }, k = { class: "text-3xl font-bold" }, S = { class: "my-8 sm:mx-auto sm:w-full sm:max-w-md" }, B = { class: "bg-white px-4 py-8 shadow sm:rounded-lg sm:px-10" }, C = { class: "mt-6" }, N = { class: "mt-2 text-sm font-normal text-gray-500" }, R = { class: "mt-6" }, q = { class: "mt-6" }, E = { __name: "ResetPassword", props: { email: String, token: String }, setup(c) { 10 const d = c, o = f({ token: d.token, email: d.email, password: "", password_confirmation: "" }), u = () => { 11 o.post(route("password.update"), { onFinish: () => o.reset("password", "password_confirmation") }); 12 }; 13 return (t, r) =>
13 (w(), _(g, null, { default: m(() => [a(e(v), { title: t.$t("Reset password") }, null, 8, ["title"]), s("div", x, [s("div", k, i(t.$t("Reset password")), 1)]), a(V, { class: "mb-4" }), s("div", S, [s("div", B, [s("form", { class: "space-y-6", onSubmit: h(u, ["prevent"]) }, [s("div", C, [a(p, { for: "password", value: t.$t("New password") }, null, 8, ["value"]), a(n, { id: "password", modelValue: e(o).password, "onUpdate:modelValue": r[0] || (r[0] = (l) => e(o).password = l), type: "password", class: "mt-1 block w-full py-1.5", required: "", autocomplete: "new-password" }, null, 8, ["modelValue"]), s("p", N, i(t.$t("Minimum 8 characters")), 1)]), s("div", R, [a(p, { for: "password_confirmation", value: t.$t("Confirm new password") }, null, 8, ["value"]), a(n, { id: "password_confirmation", modelValue: e(o).password_confirmation, "onUpdate:modelValue": r[1] || (r[1] = (l) => e(o).password_confirmation = l), type: "password", class: "mt-1 block w-full", required: "", autocomplete: "new-password" }, null, 8, ["modelValue"])]), s("div", q, [a(y, { class: $(["w-full", { "opacity-25": e(o).processing }]), disabled: e(o).processing }
13, { default: m(() => [b(i(t.$t("Save password")), 1)]), _: 1 }, 8, ["class", "disabled"])])], 32)])])]), _: 1 })); 14} }; 15export { 16 E as default 17};
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.