import { jsx as t, jsxs as m } from "react/jsx-runtime";
import { cn as n } from "../../../lib/utils.js";
function s({ className: e, ...r }) {
  return /* @__PURE__ */ t(
    "div",
    {
      className: n(
        "relative flex min-h-svh w-full flex-col items-center justify-center overflow-hidden bg-background pb-12 text-foreground",
        e
      ),
      ...r
    }
  );
}
function c({
  className: e,
  ...r
}) {
  return /* @__PURE__ */ t("div", { className: n("mb-6", e), ...r });
}
function i({
  className: e,
  ...r
}) {
  return /* @__PURE__ */ t("div", { className: n("mb-6", e), ...r });
}
function u({
  className: e,
  ...r
}) {
  return /* @__PURE__ */ t(
    "main",
    {
      className: n(
        "relative mx-auto flex w-full max-w-2xl flex-col items-center text-center",
        e
      ),
      ...r
    }
  );
}
function x({
  className: e,
  ...r
}) {
  return /* @__PURE__ */ t(
    "h1",
    {
      className: n(
        "font-medium text-muted-foreground text-sm uppercase tracking-[0.2em]",
        e
      ),
      ...r
    }
  );
}
function d({
  className: e,
  ...r
}) {
  return /* @__PURE__ */ t(
    "p",
    {
      className: n(
        "mx-auto mt-3 max-w-md text-muted-foreground text-sm leading-relaxed",
        e
      ),
      ...r
    }
  );
}
function f({
  className: e,
  url: r,
  ...o
}) {
  return /* @__PURE__ */ m(
    "div",
    {
      className: n(
        "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",
        e
      ),
      ...o,
      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: r })
      ]
    }
  );
}
function p({
  className: e,
  ...r
}) {
  return /* @__PURE__ */ t(
    "div",
    {
      className: n(
        "mt-8 flex w-full flex-col gap-3 sm:flex-row sm:justify-center",
        e
      ),
      ...r
    }
  );
}
export {
  s as ErrorTemplate,
  p as ErrorTemplateActions,
  u as ErrorTemplateContent,
  d as ErrorTemplateDescription,
  i as ErrorTemplateIcon,
  c as ErrorTemplateLogo,
  x as ErrorTemplateTitle,
  f as ErrorTemplateUrl
};
