// Server-rendered views (hono/html) β faithful Tailwind/Alpine markup.
// The original Tailwind classes + Alpine/HTMX attributes are reproduced verbatim; the browser-runtime
// Tailwind (static/vendor/tailwind.js) and vendored Alpine/HTMX/Flatpickr/marked render them identically.
import { html, raw } from "hono/html";
import type { HtmlEscapedString } from "hono/utils/html";
import type { CourseWithSteps, KnowledgeEntry, Lesson, Settings } from "../core/models";
import type { SharedLesson } from "../core/share";
type Html = HtmlEscapedString | Promise;
/** JSON encoded for safe embedding inside a
${o.head ?? ""}
${o.body}
${o.scripts ?? ""}