const GS_DEFAULTS = /*EDITMODE-BEGIN*/{ "headline": 1, "slideSec": 5.5, "nav": "Black pill", "grain": true, "cursor": true }/*EDITMODE-END*/; const gsUseTweaks = window.useTweaks || ((d) => [d, () => {}]); function App() { const [t, setTweak] = gsUseTweaks(GS_DEFAULTS); window.GS_T = t; const TP = window.TweaksPanel; const [page, setPage] = React.useState('home'); const [pf, setPf] = React.useState(null); const nav = (p, opts) => { setPage(p); setPf(opts || null); const s = document.getElementById('scroll'); if (s) s.scrollTop = 0; }; return (