import{apply,navigate,prefetch,router,}from"https://unpkg.com/million@1.11.5/dist/router.mjs";export const attachSPARouting=(e,t)=>{window.Million={apply,navigate,prefetch,router};const n=()=>requestAnimationFrame(t);window.addEventListener("DOMContentLoaded",()=>{apply(t=>e(t)),e(),router(".singlePage"),n()}),window.addEventListener("million:navigate",n)}