import { cn as e } from "../../../lib/utils.js";
import { jsx as t, jsxs as n } from "react/jsx-runtime";
//#region lib/components/ui/templates/error-template.tsx
function r({ className: n, ...r }) {
	return /* @__PURE__ */ t("div", {
		className: e("relative flex min-h-svh w-full flex-col items-center justify-center overflow-hidden bg-background pb-12 text-foreground", n),
		...r
	});
}
function i({ className: n, ...r }) {
	return /* @__PURE__ */ t("div", {
		className: e("mb-6", n),
		...r
	});
}
function a({ className: n, ...r }) {
	return /* @__PURE__ */ t("div", {
		className: e("mb-6", n),
		...r
	});
}
function o({ className: n, ...r }) {
	return /* @__PURE__ */ t("main", {
		className: e("relative mx-auto flex w-full max-w-2xl flex-col items-center text-center", n),
		...r
	});
}
function s({ className: n, ...r }) {
	return /* @__PURE__ */ t("h1", {
		className: e("font-medium text-muted-foreground text-sm uppercase tracking-[0.2em]", n),
		...r
	});
}
function c({ className: n, ...r }) {
	return /* @__PURE__ */ t("p", {
		className: e("mx-auto mt-3 max-w-md text-muted-foreground text-sm leading-relaxed", n),
		...r
	});
}
function l({ className: r, url: i, ...a }) {
	return /* @__PURE__ */ n("div", {
		className: e("mt-5 inline-flex max-w-sm items-center gap-2 rounded-lg border border-border/40 bg-muted/20 px-3 py-1.5", r),
		...a,
		children: [
			/* @__PURE__ */ t("span", {
				className: "shrink-0 text-muted-foreground text-xs uppercase tracking-widest",
				children: "URL"
			}),
			/* @__PURE__ */ t("span", { className: "h-3 w-px bg-border/60" }),
			/* @__PURE__ */ t("span", {
				className: "truncate font-mono text-foreground/70 text-xs",
				children: i
			})
		]
	});
}
function u({ className: n, ...r }) {
	return /* @__PURE__ */ t("div", {
		className: e("mt-8 flex w-full flex-col gap-3 sm:flex-row sm:justify-center", n),
		...r
	});
}
//#endregion
export { r as ErrorTemplate, u as ErrorTemplateActions, o as ErrorTemplateContent, c as ErrorTemplateDescription, a as ErrorTemplateIcon, i as ErrorTemplateLogo, s as ErrorTemplateTitle, l as ErrorTemplateUrl };
