import { i as require_jsx_runtime } from "../_libs/react+tanstack__react-query.mjs";
import { i as SiteLayout, n as PageTitle, r as Prose, t as PageBody } from "./Layout-mJm59hV1.mjs";
import { n as toast } from "../_libs/sonner.mjs";
//#region node_modules/.nitro/vite/services/ssr/assets/request-an-item-CC6xx7Ui.js
var import_jsx_runtime = require_jsx_runtime();
function Page() {
	return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SiteLayout, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(PageBody, { children: [
		/* @__PURE__ */ (0, import_jsx_runtime.jsx)(PageTitle, { children: "Request an item" }),
		/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Prose, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "Only a fraction of our inventory is catalogued online. If you have a place, subject, mapmaker or date in mind, describe it below and we will search the drawers and send photographs of what we find." }) }),
		/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("form", {
			onSubmit: (e) => {
				e.preventDefault();
				toast.success("Request received — we'll be in touch.");
				e.currentTarget.reset();
			},
			className: "mt-8 max-w-2xl border border-border bg-card p-6 shadow-sm",
			children: [
				/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
					className: "grid gap-4 sm:grid-cols-2",
					children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", {
						className: "block text-sm font-semibold text-maroon",
						children: ["Name", /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", {
							required: true,
							maxLength: 120,
							className: "mt-1 w-full border border-input bg-background px-3 py-2 font-normal outline-none focus:border-gold"
						})]
					}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", {
						className: "block text-sm font-semibold text-maroon",
						children: ["Email", /* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", {
							type: "email",
							required: true,
							maxLength: 255,
							className: "mt-1 w-full border border-input bg-background px-3 py-2 font-normal outline-none focus:border-gold"
						})]
					})]
				}),
				/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("label", {
					className: "mt-4 block text-sm font-semibold text-maroon",
					children: ["What are you looking for?", /* @__PURE__ */ (0, import_jsx_runtime.jsx)("textarea", {
						rows: 6,
						required: true,
						maxLength: 2e3,
						className: "mt-1 w-full border border-input bg-background px-3 py-2 font-normal outline-none focus:border-gold"
					})]
				}),
				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
					type: "submit",
					className: "mt-5 bg-maroon px-6 py-3 uppercase tracking-wide text-primary-foreground hover:bg-maroon-dark",
					children: "Send request"
				})
			]
		})
	] }) });
}
//#endregion
export { Page as component };
