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

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