PageSourceSearch

https://www.hamienet.com/assets/DocuCenter-CB6t7hbB.js

js hamienet.com collected 2026-10-02 05:01:41 UTC 2,111 bytes, 27 lines download raw bytes

1import { r as reactExports, j as jsxRuntimeExports } from "./vendor-react-Bay9Y7Lb.js";
2import { d_ as Book } from "./vendor-D0P4XgNj.js";
3import "./vendor-i18n-BC7ZMXWQ.js";
4const DocuCenter = () => {
5  const [content, setContent] = reactExports.useState("");
6  const [loading, setLoading] = reactExports.useState(true);
7  reactExports.useEffect(() => {
8    setLoading(true);
9    fetch("/api/admin/docs").then((res) => res.json()).then((data) => {
10      setContent(data.content || "# No content");
11      setLoading(false);
12    }).catch(() => setLoading(false));
13  }, []);
14  return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "flex flex-col h-full space-y-6 animate-in fade-in", children: [
15    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex justify-between items-center bg-white dark:bg-zinc-900 p-4 rounded-xl border border-zinc-200 dark:border-zinc-800 shadow-sm shrink-0", children: /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
16      /* @__PURE__ */ jsxRuntimeExports.jsxs("h2", { className: "text-xl font-bold text-zinc-900 dark:text-white flex items-center gap-2", children: [
17        /* @__PURE__ */ jsxRuntimeExports.jsx(Book, { className: "text-indigo-500" }),
18        " DocuCenter"
19      ] }),
20      /* @__PURE__ */ jsxRuntimeExports.jsx("p", { className: "text-sm text-zinc-500 dark:text-zinc-400", children: "System documentation and architectural overview." })
21    ] }) }),
22    /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex-1 overflow-y-auto bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-xl p-8 shadow-sm", children: loading ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "p-10 text-center text-zinc-500 italic", children: "Loading documentation..." }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "prose prose-indigo dark:prose-invert max-w-none", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "whitespace-pre-wrap font-sans text-zinc-800 dark:text-zinc-200 leading-relaxed", children: content }) }) })
23  ] });
24};
25export {
26  DocuCenter as default
27};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.