globalThis.process ??= {};
globalThis.process.env ??= {};
import { r as __exportAll } from "./rolldown-runtime_-UtK6b3T.mjs";
import { d as renderTemplate, i as renderComponent } from "./server_DAChoow1.mjs";
import { t as createComponent } from "./compiler_CLrjY88v.mjs";
import { n as $$DefaultNotFoundBody, p as resolveScreen, t as resolveModTheme } from "./registry_CB_IcduS.mjs";
import { t as $$Base } from "./Base_AuO_PBeT.mjs";
import { t as errorCopy } from "./dist_Bx_lJW-e.mjs";
import { t as loadAppearanceSelection } from "./appearance-server_BGcx6aOu.mjs";
import { env } from "cloudflare:workers";
//#region src/pages/404.astro
var _404_exports = /* @__PURE__ */ __exportAll({
	default: () => $$404,
	file: () => $$file,
	prerender: () => false,
	url: () => $$url
});
var $$404 = createComponent(async ($$result, $$props, $$slots) => {
	const copy = errorCopy(404);
	const selection = await loadAppearanceSelection(env);
	const NotFoundBody = resolveScreen(resolveModTheme(selection.themeId), "not-found", $$DefaultNotFoundBody);
	return renderTemplate`${renderComponent($$result, "Base", $$Base, {
		"title": `${copy.title} · mod-cms`,
		"noindex": true,
		"selection": selection
	}, { "default": ($$result) => renderTemplate`${renderComponent($$result, "NotFoundBody", NotFoundBody, {})}` })}`;
}, "/home/user/runs/run-20260823T175424Z-2fpke4/repo/apps/mod-cms/src/pages/404.astro", void 0);
var $$file = "/home/user/runs/run-20260823T175424Z-2fpke4/repo/apps/mod-cms/src/pages/404.astro";
var $$url = "/404";
//#endregion
//#region \0virtual:astro:page:src/pages/404@_@astro
var page = () => _404_exports;
//#endregion
export { page };
