// ESM wrapper for sql.js (UMD) — loads as classic script, re-exports the global
await new Promise((resolve, reject) => {
    const s = document.createElement("script");
    s.src = new URL("../../node_modules/sql.js/dist/sql-wasm.js", import.meta.url).href;
    s.onload = resolve;
    s.onerror = reject;
    document.head.appendChild(s);
});
const initSqlJs = globalThis.initSqlJs;
export default initSqlJs;
