import { r as __toESM } from "../_runtime.mjs";
import { a as require_react, i as require_jsx_runtime } from "../_libs/react+tanstack__react-query.mjs";
import { h as Link } from "../_libs/@tanstack/react-router+[...].mjs";
import { a as ChevronRight, i as Menu, n as ShoppingCart, r as Search, t as X } from "../_libs/lucide-react.mjs";
//#region node_modules/.nitro/vite/services/ssr/assets/Layout-mJm59hV1.js
var import_react = /* @__PURE__ */ __toESM(require_react());
var import_jsx_runtime = require_jsx_runtime();
var parchment_bg_default = "/assets/parchment-bg-CC_6hLWH.jpg";
var asi_logo_default = "/assets/asi-logo-CuaOtCCa.png";
var megaMenu = [
	{
		title: "Christmas & Holiday Gift Ideas for Map & Print Lovers",
		to: "/browse-all",
		items: []
	},
	{
		title: "Ancient Maps",
		to: "/ancient-maps-sale",
		items: [
			{
				label: "Browse All",
				to: "/ancient-maps-sale"
			},
			{
				label: "Ancient China",
				to: "/product-category/ancient-maps/china"
			},
			{
				label: "Ancient Egypt",
				to: "/product-category/ancient-maps/egypt"
			},
			{
				label: "Ancient Greece",
				to: "/product-category/ancient-maps/greece"
			},
			{
				label: "Ancient India",
				to: "/product-category/ancient-maps/india"
			},
			{
				label: "Ancient Israel",
				to: "/product-category/ancient-maps/israel"
			}
		]
	},
	{
		title: "Original, Antique Maps",
		to: "/original-antique-maps",
		items: [
			{
				label: "Browse All",
				to: "/original-antique-maps"
			},
			{
				label: "Browse by Location",
				to: "/original-antique-maps-by-location"
			},
			{
				label: "City & County Maps",
				to: "/product-category/antique-maps/city-county-maps"
			},
			{
				label: "Framed Maps",
				to: "/product-category/antique-maps/framed-maps"
			},
			{
				label: "Rare Maps",
				to: "/product-category/antique-maps/rare"
			},
			{
				label: "Military Maps",
				to: "/product-category/antique-maps/military"
			},
			{
				label: "U.S. Coastal Survey Maps",
				to: "/product-category/antique-maps/coastal-charts"
			},
			{
				label: "General Land Office",
				to: "/product-category/antique-maps/general-land-office"
			}
		]
	},
	{
		title: "Old Map Reproductions",
		to: "/old-map-reproductions",
		items: [
			{
				label: "Browse All",
				to: "/old-map-reproductions"
			},
			{
				label: "U.S. City Bird's Eye Views",
				to: "/product-category/old-map-reproductions/birds-eye-views"
			},
			{
				label: "Manuscript Maps",
				to: "/product-category/old-map-reproductions/manuscript"
			},
			{
				label: "War Maps",
				to: "/product-category/old-map-reproductions/war"
			},
			{
				label: "Coastal",
				to: "/product-category/old-map-reproductions/coastal"
			}
		]
	},
	{
		title: "Old World Maps",
		to: "/old-world-maps",
		items: [
			{
				label: "Browse All",
				to: "/old-world-maps"
			},
			{
				label: "Original",
				to: "/product-category/old-world-maps/original"
			},
			{
				label: "Giclée Reproductions",
				to: "/product-category/old-world-maps/giclee"
			}
		]
	},
	{
		title: "Vintage Prints",
		to: "/vintage-prints-sale",
		items: [
			{
				label: "Browse All",
				to: "/vintage-prints-sale"
			},
			{
				label: "Birds",
				to: "/product-category/vintage-prints/birds"
			},
			{
				label: "Botanicals",
				to: "/product-category/vintage-prints/botanicals"
			},
			{
				label: "Fish",
				to: "/product-category/vintage-prints/fish"
			},
			{
				label: "American Life Views",
				to: "/product-category/vintage-prints/american-life-views"
			}
		]
	},
	{
		title: "Vintage Posters",
		to: "/vintage-posters-for-sale",
		items: [
			{
				label: "Collecting Posters",
				to: "/collecting-posters"
			},
			{
				label: "Browse All",
				to: "/vintage-posters-for-sale"
			},
			{
				label: "Original",
				to: "/product-category/vintage-posters/original"
			},
			{
				label: "Lithograph Reproductions",
				to: "/product-category/vintage-posters/lithograph"
			},
			{
				label: "Giclée Reproductions",
				to: "/product-category/vintage-posters/giclee"
			}
		]
	},
	{
		title: "Replogle Globes",
		to: "/globes-for-sale",
		items: [
			{
				label: "Browse All",
				to: "/globes-for-sale"
			},
			{
				label: "Desk Models",
				to: "/product-category/replogle-globes/desk"
			},
			{
				label: "Floor Models",
				to: "/product-category/replogle-globes/floor"
			},
			{
				label: "Illuminated",
				to: "/product-category/replogle-globes/illuminated"
			},
			{
				label: "12\"",
				to: "/product-category/replogle-globes/12-inch"
			},
			{
				label: "16\"",
				to: "/product-category/replogle-globes/16-inch"
			},
			{
				label: "20\"",
				to: "/product-category/replogle-globes/20-inch"
			}
		]
	},
	{
		title: "Books",
		to: "/books",
		items: [
			{
				label: "Browse All",
				to: "/books"
			},
			{
				label: "Books with Maps",
				to: "/product-category/books/books-with-maps"
			},
			{
				label: "Atlases",
				to: "/product-category/books/atlases"
			},
			{
				label: "Reference Books",
				to: "/product-category/books/reference"
			}
		]
	},
	{
		title: "Historic Colorado Photos",
		to: "/historic-colorado-photos",
		items: [
			{
				label: "Browse All",
				to: "/historic-colorado-photos"
			},
			{
				label: "Boulder",
				to: "/product-category/historic-colorado-photos/boulder"
			},
			{
				label: "Denver",
				to: "/product-category/historic-colorado-photos/denver"
			},
			{
				label: "Colorado Ski Towns",
				to: "/product-category/historic-colorado-photos/ski-towns"
			}
		]
	}
];
var nav = [
	{
		label: "Home",
		to: "/"
	},
	{
		label: "Browse All",
		to: "/browse-all",
		mega: true
	},
	{
		label: "Puzzles",
		to: "/puzzles"
	},
	{
		label: "Vintage Maps",
		to: "/original-antique-maps"
	},
	{
		label: "Old Map Reproductions",
		to: "/old-map-reproductions"
	},
	{
		label: "Vintage Prints",
		to: "/vintage-prints-sale"
	},
	{
		label: "Custom Framing",
		to: "/custom-framing"
	},
	{
		label: "Collector's Guide",
		to: "/collectors-guide"
	},
	{
		label: "About Us",
		to: "/about-us"
	},
	{
		label: "Careers",
		to: "/careers"
	},
	{
		label: "Request Or Sell an Item",
		to: "/request-an-item"
	}
];
function Header() {
	const [megaOpen, setMegaOpen] = (0, import_react.useState)(false);
	const [mobileOpen, setMobileOpen] = (0, import_react.useState)(false);
	return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("header", {
		className: "relative z-40",
		children: [
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
				className: "bg-maroon-dark text-primary-foreground",
				children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
					className: "mx-auto flex max-w-[1400px] items-center justify-between px-4 py-2 text-[13px] tracking-wide",
					children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
						className: "uppercase",
						children: "Free shipping on orders over $100"
					}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("nav", {
						className: "flex items-center gap-8",
						children: [
							/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
								to: "/contact-us",
								className: "hover:text-gold",
								children: "Contact Us"
							}),
							/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
								to: "/checkout",
								className: "hover:text-gold",
								children: "Checkout"
							}),
							/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
								className: "flex items-center gap-2 text-gold",
								children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ShoppingCart, { className: "h-4 w-4" }), " CART"]
							})
						]
					})]
				})
			}),
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
				className: "bg-maroon text-primary-foreground",
				children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
					className: "mx-auto flex max-w-[1400px] flex-wrap items-center justify-between gap-4 px-4 py-4",
					children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Link, {
						to: "/",
						className: "flex items-center gap-4",
						children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", {
							src: asi_logo_default,
							alt: "Art Source International",
							width: 72,
							height: 72,
							className: "h-16 w-16"
						}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
							className: "block",
							children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
								className: "font-display block text-3xl leading-none tracking-wide text-gold sm:text-[2.6rem]",
								children: [
									"A",
									/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
										className: "text-[0.7em]",
										children: "RT"
									}),
									" S",
									/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
										className: "text-[0.7em]",
										children: "OURCE"
									}),
									" ",
									"I",
									/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
										className: "text-[0.7em]",
										children: "NTERNATIONAL"
									})
								]
							}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
								className: "mt-1 block font-display text-sm italic text-gold-soft sm:text-base",
								children: "The world's largest and best vintage maps and posters website!"
							})]
						})]
					}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("form", {
						className: "flex w-full max-w-md items-stretch",
						onSubmit: (e) => e.preventDefault(),
						children: [
							/* @__PURE__ */ (0, import_jsx_runtime.jsx)("label", {
								className: "sr-only",
								htmlFor: "site-search",
								children: "Search"
							}),
							/* @__PURE__ */ (0, import_jsx_runtime.jsx)("input", {
								id: "site-search",
								placeholder: "Search...",
								className: "h-11 w-full bg-card px-4 text-foreground outline-none"
							}),
							/* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
								type: "submit",
								"aria-label": "Search",
								className: "flex h-11 w-12 items-center justify-center bg-[color:var(--gold-soft)] text-maroon-dark",
								children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Search, { className: "h-5 w-5" })
							})
						]
					})]
				})
			}),
			/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
				className: "border-t border-[color:var(--gold)]/30 bg-maroon",
				children: [
					/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
						className: "mx-auto flex max-w-[1400px] items-center px-4",
						children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("button", {
							className: "py-3 text-gold lg:hidden",
							onClick: () => setMobileOpen((v) => !v),
							"aria-label": "Toggle menu",
							children: mobileOpen ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(X, { className: "h-6 w-6" }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Menu, { className: "h-6 w-6" })
						}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("nav", {
							className: "hidden flex-wrap items-center lg:flex",
							children: nav.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
								onMouseEnter: () => setMegaOpen(Boolean(item.mega)),
								onMouseLeave: () => item.mega && setMegaOpen(false),
								children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
									to: item.to,
									className: "block px-4 py-3 text-[15px] text-gold transition-colors hover:text-primary-foreground",
									activeProps: { className: "text-primary-foreground border-b-2 border-primary-foreground" },
									activeOptions: { exact: item.to === "/" },
									children: item.label
								})
							}, item.to))
						})]
					}),
					megaOpen && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
						className: "absolute left-0 right-0 hidden border-b border-border bg-popover shadow-xl lg:block",
						onMouseEnter: () => setMegaOpen(true),
						onMouseLeave: () => setMegaOpen(false),
						children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
							className: "mx-auto grid max-w-[1400px] grid-cols-5 gap-x-8 gap-y-10 px-8 py-8",
							children: megaMenu.map((col) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", {
								className: "mb-3 font-display text-xl text-[color:var(--gold)]",
								children: col.to ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
									to: col.to,
									children: col.title
								}) : col.title
							}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", {
								className: "space-y-1.5",
								children: col.items.map((it) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Link, {
									to: it.to,
									className: "flex items-center gap-1 text-[15px] text-foreground hover:text-maroon",
									children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronRight, { className: "h-3.5 w-3.5 text-muted-foreground" }), it.label]
								}) }, it.to))
							})] }, col.title))
						})
					}),
					mobileOpen && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("nav", {
						className: "border-t border-[color:var(--gold)]/20 bg-maroon-dark px-4 py-2 lg:hidden",
						children: nav.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
							to: item.to,
							onClick: () => setMobileOpen(false),
							className: "block border-b border-[color:var(--gold)]/10 py-2.5 text-gold",
							children: item.label
						}, item.to))
					})
				]
			})
		]
	});
}
var columns = [
	{
		title: "Antique Maps",
		links: [
			{
				label: "Antique Maps from 1500s through WWII",
				to: "/original-antique-maps"
			},
			{
				label: "Coastal Survey Maps",
				to: "/product-category/antique-maps/coastal-charts"
			},
			{
				label: "Civil War Maps",
				to: "/product-category/old-map-reproductions/war"
			},
			{
				label: "World Maps",
				to: "/old-world-maps"
			},
			{
				label: "City and State Maps",
				to: "/product-category/antique-maps/city-county-maps"
			}
		]
	},
	{
		title: "Reproduction Maps",
		links: [
			{
				label: "Fine Giclée reproduction maps of all regions",
				to: "/old-map-reproductions"
			},
			{
				label: "Maps dating as early as the 1400's",
				to: "/old-map-reproductions"
			},
			{
				label: "One of a kind manuscript maps",
				to: "/product-category/old-map-reproductions/manuscript"
			},
			{
				label: "19th Century birds eye view maps",
				to: "/product-category/old-map-reproductions/birds-eye-views"
			},
			{
				label: "Larger Sizes Available",
				to: "/old-map-reproductions"
			}
		]
	},
	{
		title: "Classic Globes from Replogle",
		links: [
			{
				label: "Replogle's entire line of globes",
				to: "/globes-for-sale"
			},
			{
				label: "90 quality globe styles",
				to: "/globes-for-sale"
			},
			{
				label: "Desk & floor models",
				to: "/product-category/replogle-globes/desk"
			},
			{
				label: "Illuminated & raised relief",
				to: "/product-category/replogle-globes/illuminated"
			}
		]
	},
	{
		title: "Antique Prints",
		links: [
			{
				label: "Architecture",
				to: "/product-category/vintage-prints/architecture"
			},
			{
				label: "Birds",
				to: "/product-category/vintage-prints/birds"
			},
			{
				label: "Botanicals",
				to: "/product-category/vintage-prints/botanicals"
			},
			{
				label: "City & Town Views",
				to: "/product-category/vintage-prints/american-life-views"
			},
			{
				label: "Ships & The Ocean",
				to: "/product-category/vintage-prints/ships"
			}
		]
	}
];
function Footer() {
	return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("footer", {
		className: "mt-16 bg-maroon text-primary-foreground",
		children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
			className: "mx-auto grid max-w-[1400px] gap-10 px-6 py-14 md:grid-cols-2 lg:grid-cols-4",
			children: columns.map((col) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", {
				className: "mb-4 font-display text-2xl text-gold",
				children: col.title
			}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", {
				className: "space-y-2 text-sm text-primary-foreground/85",
				children: col.links.map((l) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
					to: l.to,
					className: "hover:text-gold",
					children: l.label
				}) }, l.label))
			})] }, col.title))
		}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
			className: "border-t border-[color:var(--gold)]/25",
			children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
				className: "mx-auto flex max-w-[1400px] flex-col gap-3 px-6 py-6 text-sm text-primary-foreground/75 md:flex-row md:items-center md:justify-between",
				children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
					"© ",
					(/* @__PURE__ */ new Date()).getFullYear(),
					" Art Source International · 1237 Pearl Street, Boulder, Colorado 80302 · (303) 444-4080"
				] }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("nav", {
					className: "flex flex-wrap gap-5",
					children: [
						/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
							to: "/about-us",
							className: "hover:text-gold",
							children: "About Us"
						}),
						/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
							to: "/careers",
							className: "hover:text-gold",
							children: "Careers"
						}),
						/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
							to: "/categories-of-our-catalog",
							className: "hover:text-gold",
							children: "Categories"
						}),
						/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
							to: "/contact-us",
							className: "hover:text-gold",
							children: "Contact Us"
						}),
						/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Link, {
							to: "/admin",
							className: "hover:text-gold",
							children: "Admin"
						})
					]
				})]
			})
		})]
	});
}
function SiteLayout({ children }) {
	return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
		className: "flex min-h-screen flex-col",
		children: [
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Header, {}),
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)("main", {
				className: "flex-1 parchment-surface",
				style: { backgroundImage: `linear-gradient(oklch(0.96 0.03 74 / 0.82), oklch(0.96 0.03 74 / 0.88)), url(${parchment_bg_default})` },
				children
			}),
			/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Footer, {})
		]
	});
}
function PageBody({ children }) {
	return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
		className: "mx-auto max-w-[1400px] px-6 py-12",
		children
	});
}
function PageTitle({ children }) {
	return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", {
		className: "font-display text-4xl text-maroon sm:text-5xl",
		children
	});
}
function Prose({ children }) {
	return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
		className: "mt-6 max-w-4xl space-y-4 text-[17px] leading-relaxed text-foreground/90",
		children
	});
}
//#endregion
export { SiteLayout as i, PageTitle as n, Prose as r, PageBody as t };
