"use client";
'use strict';

const jsxRuntime = require('react/jsx-runtime');
const context = require('@btst/stack/context');
const errorPlaceholder = require('../shared/error-placeholder.cjs');
const index = require('../../localization/index.cjs');

function NotFoundPage({ message }) {
  const { localization } = context.usePluginOverrides("ai-chat", {
    localization: index.AI_CHAT_LOCALIZATION
  });
  const title = localization?.CHAT_PAGE_NOT_FOUND_TITLE ?? index.AI_CHAT_LOCALIZATION.CHAT_PAGE_NOT_FOUND_TITLE;
  const desc = message || (localization?.CHAT_PAGE_NOT_FOUND_DESCRIPTION ?? index.AI_CHAT_LOCALIZATION.CHAT_PAGE_NOT_FOUND_DESCRIPTION);
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-testid": "404-page", className: "flex flex-col h-[calc(100vh-4rem)]", children: /* @__PURE__ */ jsxRuntime.jsx(errorPlaceholder.ErrorPlaceholder, { title, message: desc }) });
}

exports.NotFoundPage = NotFoundPage;
