// The HTML document around the app's streamed body. bankai owns the //
(charset, viewport, title, asset links) and the tail // (window.initialState + ); the app's view owns . // Page scripts live in (type=module defers itself); the one // exception is the initialState script, which must be inline and is // emitted after the body — inline scripts execute during parse, module // scripts only after it, so the order still holds. export function documentHead ({ title, css = [], modulepreload = [], scripts = [] }) { let head = '\n\n\n\n\n' if (title) head += `