module.exports=[401475,s=>{"use strict";var t=s.i(861219),i=s.i(455561),r=s.i(522734),e=s.i(814747);(0,i.j)();var o=class extends t.e{constructor(s){super(s),this.rootDir=e.resolve(s),r.existsSync(e.join(this.rootDir))||r.mkdirSync(this.rootDir)}async init(s,i){return this.pg=s,{emscriptenOpts:{...i,preRun:[...i.preRun||[],s=>{let i=s.FS.filesystems.NODEFS;s.FS.mkdir(t.d),s.FS.mount(i,{root:this.rootDir},t.d)}]}}}async closeFs(){this.pg.Module.FS.quit()}};s.s(["NodeFS",0,o])}];

//# sourceMappingURL=0fty_%40electric-sql_pglite_dist_fs_nodefs_0ev1kna.js.map