@powersync/web 0.0.0-dev-20240729071401 → 0.0.0-dev-20240807140418
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_2e65-_0749-_dcb9-_0b6f-_ff61-_ec48-_1dff-_983a.index.umd.js +84 -0
- package/dist/_2e65-_0749-_dcb9-_0b6f-_ff61-_ec48-_1dff-_983a.index.umd.js.map +1 -0
- package/dist/a7933e62dba1e4ff0664.wasm +0 -0
- package/dist/index.umd.js +4816 -0
- package/dist/index.umd.js.map +1 -0
- package/dist/lib_src_worker_db_SharedWASQLiteDB_worker_js.index.umd.js +490 -0
- package/dist/lib_src_worker_db_SharedWASQLiteDB_worker_js.index.umd.js.map +1 -0
- package/dist/lib_src_worker_db_WASQLiteDB_worker_js.index.umd.js +443 -0
- package/dist/lib_src_worker_db_WASQLiteDB_worker_js.index.umd.js.map +1 -0
- package/dist/lib_src_worker_sync_SharedSyncImplementation_worker_js.index.umd.js +1698 -0
- package/dist/lib_src_worker_sync_SharedSyncImplementation_worker_js.index.umd.js.map +1 -0
- package/dist/vendors-node_modules_async-mutex_index_mjs-node_modules_comlink_dist_esm_comlink_mjs-node_mod-037150.index.umd.js +2339 -0
- package/dist/vendors-node_modules_async-mutex_index_mjs-node_modules_comlink_dist_esm_comlink_mjs-node_mod-037150.index.umd.js.map +1 -0
- package/dist/vendors-node_modules_bson_lib_bson_mjs.index.umd.js +4437 -0
- package/dist/vendors-node_modules_bson_lib_bson_mjs.index.umd.js.map +1 -0
- package/dist/vendors-node_modules_crypto-browserify_index_js.index.umd.js +33502 -0
- package/dist/vendors-node_modules_crypto-browserify_index_js.index.umd.js.map +1 -0
- package/dist/vendors-node_modules_journeyapps_wa-sqlite_dist_wa-sqlite-async_mjs.index.umd.js +173 -0
- package/dist/vendors-node_modules_journeyapps_wa-sqlite_dist_wa-sqlite-async_mjs.index.umd.js.map +1 -0
- package/dist/vendors-node_modules_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js.index.umd.js +1926 -0
- package/dist/vendors-node_modules_journeyapps_wa-sqlite_src_examples_IDBBatchAtomicVFS_js.index.umd.js.map +1 -0
- package/lib/src/db/PowerSyncDatabase.d.ts +2 -2
- package/lib/src/db/PowerSyncDatabase.js +9 -5
- package/lib/src/db/PowerSyncDatabase.js.map +1 -0
- package/lib/src/db/adapters/AbstractWebPowerSyncDatabaseOpenFactory.js +1 -0
- package/lib/src/db/adapters/AbstractWebPowerSyncDatabaseOpenFactory.js.map +1 -0
- package/lib/src/db/adapters/AbstractWebSQLOpenFactory.js +1 -0
- package/lib/src/db/adapters/AbstractWebSQLOpenFactory.js.map +1 -0
- package/lib/src/db/adapters/SSRDBAdapter.js +1 -0
- package/lib/src/db/adapters/SSRDBAdapter.js.map +1 -0
- package/lib/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.js +1 -0
- package/lib/src/db/adapters/wa-sqlite/WASQLiteDBAdapter.js.map +1 -0
- package/lib/src/db/adapters/wa-sqlite/WASQLiteOpenFactory.js +1 -0
- package/lib/src/db/adapters/wa-sqlite/WASQLiteOpenFactory.js.map +1 -0
- package/lib/src/db/adapters/wa-sqlite/WASQLitePowerSyncDatabaseOpenFactory.js +1 -0
- package/lib/src/db/adapters/wa-sqlite/WASQLitePowerSyncDatabaseOpenFactory.js.map +1 -0
- package/lib/src/db/adapters/web-sql-flags.js +1 -0
- package/lib/src/db/adapters/web-sql-flags.js.map +1 -0
- package/lib/src/db/sync/SSRWebStreamingSyncImplementation.js +1 -0
- package/lib/src/db/sync/SSRWebStreamingSyncImplementation.js.map +1 -0
- package/lib/src/db/sync/SharedWebStreamingSyncImplementation.js +1 -0
- package/lib/src/db/sync/SharedWebStreamingSyncImplementation.js.map +1 -0
- package/lib/src/db/sync/WebRemote.js +1 -0
- package/lib/src/db/sync/WebRemote.js.map +1 -0
- package/lib/src/db/sync/WebStreamingSyncImplementation.js +1 -0
- package/lib/src/db/sync/WebStreamingSyncImplementation.js.map +1 -0
- package/lib/src/index.js +1 -0
- package/lib/src/index.js.map +1 -0
- package/lib/src/shared/open-db.js +1 -0
- package/lib/src/shared/open-db.js.map +1 -0
- package/lib/src/shared/types.js +1 -0
- package/lib/src/shared/types.js.map +1 -0
- package/lib/src/worker/db/SharedWASQLiteDB.worker.js +1 -0
- package/lib/src/worker/db/SharedWASQLiteDB.worker.js.map +1 -0
- package/lib/src/worker/db/WASQLiteDB.worker.js +1 -0
- package/lib/src/worker/db/WASQLiteDB.worker.js.map +1 -0
- package/lib/src/worker/db/open-worker-database.js +1 -0
- package/lib/src/worker/db/open-worker-database.js.map +1 -0
- package/lib/src/worker/sync/AbstractSharedSyncClientProvider.js +1 -0
- package/lib/src/worker/sync/AbstractSharedSyncClientProvider.js.map +1 -0
- package/lib/src/worker/sync/BroadcastLogger.js +1 -0
- package/lib/src/worker/sync/BroadcastLogger.js.map +1 -0
- package/lib/src/worker/sync/SharedSyncImplementation.js +1 -0
- package/lib/src/worker/sync/SharedSyncImplementation.js.map +1 -0
- package/lib/src/worker/sync/SharedSyncImplementation.worker.js +1 -0
- package/lib/src/worker/sync/SharedSyncImplementation.worker.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +14 -5
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
(self["webpackChunksdk_web"] = self["webpackChunksdk_web"] || []).push([["vendors-node_modules_journeyapps_wa-sqlite_dist_wa-sqlite-async_mjs"],{
|
|
3
|
+
|
|
4
|
+
/***/ "../../node_modules/@journeyapps/wa-sqlite/dist/wa-sqlite-async.wasm":
|
|
5
|
+
/*!***************************************************************************!*\
|
|
6
|
+
!*** ../../node_modules/@journeyapps/wa-sqlite/dist/wa-sqlite-async.wasm ***!
|
|
7
|
+
\***************************************************************************/
|
|
8
|
+
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
|
|
9
|
+
|
|
10
|
+
module.exports = __webpack_require__.p + "a7933e62dba1e4ff0664.wasm";
|
|
11
|
+
|
|
12
|
+
/***/ }),
|
|
13
|
+
|
|
14
|
+
/***/ "../../node_modules/@journeyapps/wa-sqlite/dist/wa-sqlite-async.mjs":
|
|
15
|
+
/*!**************************************************************************!*\
|
|
16
|
+
!*** ../../node_modules/@journeyapps/wa-sqlite/dist/wa-sqlite-async.mjs ***!
|
|
17
|
+
\**************************************************************************/
|
|
18
|
+
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
|
|
19
|
+
|
|
20
|
+
__webpack_require__.r(__webpack_exports__);
|
|
21
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
22
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
23
|
+
/* harmony export */ });
|
|
24
|
+
|
|
25
|
+
var Module = (() => {
|
|
26
|
+
var _scriptDir = "file:///home/runner/work/powersync-js/powersync-js/node_modules/@journeyapps/wa-sqlite/dist/wa-sqlite-async.mjs";
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
function(moduleArg = {}) {
|
|
30
|
+
|
|
31
|
+
var d=moduleArg,aa,ba,readyPromise=new Promise((a,b)=>{aa=a;ba=b}),ca=Object.assign({},d),da="./this.program",ea=(a,b)=>{throw b;},fa="object"==typeof window,ha="function"==typeof importScripts,g="",ia;
|
|
32
|
+
if(fa||ha)ha?g=self.location.href:"undefined"!=typeof document&&document.currentScript&&(g=document.currentScript.src),_scriptDir&&(g=_scriptDir),g.startsWith("blob:")?g="":g=g.substr(0,g.replace(/[?#].*/,"").lastIndexOf("/")+1),ha&&(ia=a=>{var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)});var ja=d.print||console.log.bind(console),r=d.printErr||console.error.bind(console);Object.assign(d,ca);ca=null;d.thisProgram&&(da=d.thisProgram);
|
|
33
|
+
d.quit&&(ea=d.quit);var la;d.wasmBinary&&(la=d.wasmBinary);var ma,u=!1,na,v,w,x,oa,z,B,pa,qa;function ra(){var a=ma.buffer;d.HEAP8=v=new Int8Array(a);d.HEAP16=x=new Int16Array(a);d.HEAPU8=w=new Uint8Array(a);d.HEAPU16=oa=new Uint16Array(a);d.HEAP32=z=new Int32Array(a);d.HEAPU32=B=new Uint32Array(a);d.HEAPF32=pa=new Float32Array(a);d.HEAPF64=qa=new Float64Array(a)}var sa=[],ta=[],ua=[],va=[];function wa(){var a=d.preRun.shift();sa.unshift(a)}var xa=0,ya=null,za=null;
|
|
34
|
+
function C(a){d.onAbort?.(a);a="Aborted("+a+")";r(a);u=!0;na=1;a=new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info.");ba(a);throw a;}var Aa=a=>a.startsWith("data:application/octet-stream;base64,"),Ba;if(d.locateFile){if(Ba="wa-sqlite-async.wasm",!Aa(Ba)){var Ca=Ba;Ba=d.locateFile?d.locateFile(Ca,g):g+Ca}}else Ba=(new URL(/* asset import */ __webpack_require__(/*! wa-sqlite-async.wasm */ "../../node_modules/@journeyapps/wa-sqlite/dist/wa-sqlite-async.wasm"), __webpack_require__.b)).href;
|
|
35
|
+
function Da(a){if(a==Ba&&la)return new Uint8Array(la);if(ia)return ia(a);throw"both async and sync fetching of the wasm failed";}function Ea(a){return la||!fa&&!ha||"function"!=typeof fetch?Promise.resolve().then(()=>Da(a)):fetch(a,{credentials:"same-origin"}).then(b=>{if(!b.ok)throw`failed to load wasm binary file at '${a}'`;return b.arrayBuffer()}).catch(()=>Da(a))}
|
|
36
|
+
function Fa(a,b,c){return Ea(a).then(e=>WebAssembly.instantiate(e,b)).then(c,e=>{r(`failed to asynchronously prepare wasm: ${e}`);C(e)})}function Ga(a,b){var c=Ba;return la||"function"!=typeof WebAssembly.instantiateStreaming||Aa(c)||"function"!=typeof fetch?Fa(c,a,b):fetch(c,{credentials:"same-origin"}).then(e=>WebAssembly.instantiateStreaming(e,a).then(b,function(f){r(`wasm streaming compile failed: ${f}`);r("falling back to ArrayBuffer instantiation");return Fa(c,a,b)}))}var D,F;
|
|
37
|
+
function Ha(a){this.name="ExitStatus";this.message=`Program terminated with exit(${a})`;this.status=a}var Ia=a=>{for(;0<a.length;)a.shift()(d)};function H(a,b="i8"){b.endsWith("*")&&(b="*");switch(b){case "i1":return v[a];case "i8":return v[a];case "i16":return x[a>>1];case "i32":return z[a>>2];case "i64":C("to do getValue(i64) use WASM_BIGINT");case "float":return pa[a>>2];case "double":return qa[a>>3];case "*":return B[a>>2];default:C(`invalid type for getValue: ${b}`)}}
|
|
38
|
+
var Ja=d.noExitRuntime||!0;function I(a,b,c="i8"){c.endsWith("*")&&(c="*");switch(c){case "i1":v[a]=b;break;case "i8":v[a]=b;break;case "i16":x[a>>1]=b;break;case "i32":z[a>>2]=b;break;case "i64":C("to do setValue(i64) use WASM_BIGINT");case "float":pa[a>>2]=b;break;case "double":qa[a>>3]=b;break;case "*":B[a>>2]=b;break;default:C(`invalid type for setValue: ${c}`)}}
|
|
39
|
+
var Ka="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,J=(a,b,c)=>{var e=b+c;for(c=b;a[c]&&!(c>=e);)++c;if(16<c-b&&a.buffer&&Ka)return Ka.decode(a.subarray(b,c));for(e="";b<c;){var f=a[b++];if(f&128){var h=a[b++]&63;if(192==(f&224))e+=String.fromCharCode((f&31)<<6|h);else{var k=a[b++]&63;f=224==(f&240)?(f&15)<<12|h<<6|k:(f&7)<<18|h<<12|k<<6|a[b++]&63;65536>f?e+=String.fromCharCode(f):(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else e+=String.fromCharCode(f)}return e},
|
|
40
|
+
La=(a,b)=>{for(var c=0,e=a.length-1;0<=e;e--){var f=a[e];"."===f?a.splice(e,1):".."===f?(a.splice(e,1),c++):c&&(a.splice(e,1),c--)}if(b)for(;c;c--)a.unshift("..");return a},Ma=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=La(a.split("/").filter(e=>!!e),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},Na=a=>{var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&=b.substr(0,b.length-1);return a+b},Oa=a=>{if("/"===
|
|
41
|
+
a)return"/";a=Ma(a);a=a.replace(/\/$/,"");var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)},Pa=()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return a=>crypto.getRandomValues(a);C("initRandomDevice")},Qa=a=>(Qa=Pa())(a),Ra=(...a)=>{for(var b="",c=!1,e=a.length-1;-1<=e&&!c;e--){c=0<=e?a[e]:"/";if("string"!=typeof c)throw new TypeError("Arguments to path.resolve must be strings");if(!c)return"";b=c+"/"+b;c="/"===c.charAt(0)}b=La(b.split("/").filter(f=>!!f),!c).join("/");
|
|
42
|
+
return(c?"/":"")+b||"."},Sa=[],Ta=a=>{for(var b=0,c=0;c<a.length;++c){var e=a.charCodeAt(c);127>=e?b++:2047>=e?b+=2:55296<=e&&57343>=e?(b+=4,++c):b+=3}return b},K=(a,b,c,e)=>{if(!(0<e))return 0;var f=c;e=c+e-1;for(var h=0;h<a.length;++h){var k=a.charCodeAt(h);if(55296<=k&&57343>=k){var n=a.charCodeAt(++h);k=65536+((k&1023)<<10)|n&1023}if(127>=k){if(c>=e)break;b[c++]=k}else{if(2047>=k){if(c+1>=e)break;b[c++]=192|k>>6}else{if(65535>=k){if(c+2>=e)break;b[c++]=224|k>>12}else{if(c+3>=e)break;b[c++]=240|
|
|
43
|
+
k>>18;b[c++]=128|k>>12&63}b[c++]=128|k>>6&63}b[c++]=128|k&63}}b[c]=0;return c-f};function Ua(a,b,c){c=Array(0<c?c:Ta(a)+1);a=K(a,c,0,c.length);b&&(c.length=a);return c}var Va=[];function Wa(a,b){Va[a]={input:[],Gf:[],Rf:b};Xa(a,Ya)}
|
|
44
|
+
var Ya={open(a){var b=Va[a.node.Uf];if(!b)throw new N(43);a.Hf=b;a.seekable=!1},close(a){a.Hf.Rf.Xf(a.Hf)},Xf(a){a.Hf.Rf.Xf(a.Hf)},read(a,b,c,e){if(!a.Hf||!a.Hf.Rf.lg)throw new N(60);for(var f=0,h=0;h<e;h++){try{var k=a.Hf.Rf.lg(a.Hf)}catch(n){throw new N(29);}if(void 0===k&&0===f)throw new N(6);if(null===k||void 0===k)break;f++;b[c+h]=k}f&&(a.node.timestamp=Date.now());return f},write(a,b,c,e){if(!a.Hf||!a.Hf.Rf.fg)throw new N(60);try{for(var f=0;f<e;f++)a.Hf.Rf.fg(a.Hf,b[c+f])}catch(h){throw new N(29);
|
|
45
|
+
}e&&(a.node.timestamp=Date.now());return f}},Za={lg(){a:{if(!Sa.length){var a=null;"undefined"!=typeof window&&"function"==typeof window.prompt?(a=window.prompt("Input: "),null!==a&&(a+="\n")):"function"==typeof readline&&(a=readline(),null!==a&&(a+="\n"));if(!a){a=null;break a}Sa=Ua(a,!0)}a=Sa.shift()}return a},fg(a,b){null===b||10===b?(ja(J(a.Gf,0)),a.Gf=[]):0!=b&&a.Gf.push(b)},Xf(a){a.Gf&&0<a.Gf.length&&(ja(J(a.Gf,0)),a.Gf=[])},Mg(){return{Hg:25856,Jg:5,Gg:191,Ig:35387,Fg:[3,28,127,21,4,0,1,0,
|
|
46
|
+
17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},Ng(){return 0},Og(){return[24,80]}},$a={fg(a,b){null===b||10===b?(r(J(a.Gf,0)),a.Gf=[]):0!=b&&a.Gf.push(b)},Xf(a){a.Gf&&0<a.Gf.length&&(r(J(a.Gf,0)),a.Gf=[])}};function ab(a,b){var c=a.Cf?a.Cf.length:0;c>=b||(b=Math.max(b,c*(1048576>c?2:1.125)>>>0),0!=c&&(b=Math.max(b,256)),c=a.Cf,a.Cf=new Uint8Array(b),0<a.Ef&&a.Cf.set(c.subarray(0,a.Ef),0))}
|
|
47
|
+
var O={Kf:null,Jf(){return O.createNode(null,"/",16895,0)},createNode(a,b,c,e){if(24576===(c&61440)||4096===(c&61440))throw new N(63);O.Kf||(O.Kf={dir:{node:{If:O.Af.If,Ff:O.Af.Ff,Sf:O.Af.Sf,Yf:O.Af.Yf,pg:O.Af.pg,cg:O.Af.cg,ag:O.Af.ag,og:O.Af.og,bg:O.Af.bg},stream:{Of:O.Bf.Of}},file:{node:{If:O.Af.If,Ff:O.Af.Ff},stream:{Of:O.Bf.Of,read:O.Bf.read,write:O.Bf.write,ig:O.Bf.ig,Zf:O.Bf.Zf,$f:O.Bf.$f}},link:{node:{If:O.Af.If,Ff:O.Af.Ff,Vf:O.Af.Vf},stream:{}},jg:{node:{If:O.Af.If,Ff:O.Af.Ff},stream:bb}});
|
|
48
|
+
c=cb(a,b,c,e);P(c.mode)?(c.Af=O.Kf.dir.node,c.Bf=O.Kf.dir.stream,c.Cf={}):32768===(c.mode&61440)?(c.Af=O.Kf.file.node,c.Bf=O.Kf.file.stream,c.Ef=0,c.Cf=null):40960===(c.mode&61440)?(c.Af=O.Kf.link.node,c.Bf=O.Kf.link.stream):8192===(c.mode&61440)&&(c.Af=O.Kf.jg.node,c.Bf=O.Kf.jg.stream);c.timestamp=Date.now();a&&(a.Cf[b]=c,a.timestamp=c.timestamp);return c},Lg(a){return a.Cf?a.Cf.subarray?a.Cf.subarray(0,a.Ef):new Uint8Array(a.Cf):new Uint8Array(0)},Af:{If(a){var b={};b.vg=8192===(a.mode&61440)?a.id:
|
|
49
|
+
1;b.mg=a.id;b.mode=a.mode;b.Bg=1;b.uid=0;b.yg=0;b.Uf=a.Uf;P(a.mode)?b.size=4096:32768===(a.mode&61440)?b.size=a.Ef:40960===(a.mode&61440)?b.size=a.link.length:b.size=0;b.rg=new Date(a.timestamp);b.Ag=new Date(a.timestamp);b.ug=new Date(a.timestamp);b.sg=4096;b.tg=Math.ceil(b.size/b.sg);return b},Ff(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);if(void 0!==b.size&&(b=b.size,a.Ef!=b))if(0==b)a.Cf=null,a.Ef=0;else{var c=a.Cf;a.Cf=new Uint8Array(b);c&&a.Cf.set(c.subarray(0,
|
|
50
|
+
Math.min(b,a.Ef)));a.Ef=b}},Sf(){throw db[44];},Yf(a,b,c,e){return O.createNode(a,b,c,e)},pg(a,b,c){if(P(a.mode)){try{var e=eb(b,c)}catch(h){}if(e)for(var f in e.Cf)throw new N(55);}delete a.parent.Cf[a.name];a.parent.timestamp=Date.now();a.name=c;b.Cf[c]=a;b.timestamp=a.parent.timestamp;a.parent=b},cg(a,b){delete a.Cf[b];a.timestamp=Date.now()},ag(a,b){var c=eb(a,b),e;for(e in c.Cf)throw new N(55);delete a.Cf[b];a.timestamp=Date.now()},og(a){var b=[".",".."],c;for(c of Object.keys(a.Cf))b.push(c);
|
|
51
|
+
return b},bg(a,b,c){a=O.createNode(a,b,41471,0);a.link=c;return a},Vf(a){if(40960!==(a.mode&61440))throw new N(28);return a.link}},Bf:{read(a,b,c,e,f){var h=a.node.Cf;if(f>=a.node.Ef)return 0;a=Math.min(a.node.Ef-f,e);if(8<a&&h.subarray)b.set(h.subarray(f,f+a),c);else for(e=0;e<a;e++)b[c+e]=h[f+e];return a},write(a,b,c,e,f,h){b.buffer===v.buffer&&(h=!1);if(!e)return 0;a=a.node;a.timestamp=Date.now();if(b.subarray&&(!a.Cf||a.Cf.subarray)){if(h)return a.Cf=b.subarray(c,c+e),a.Ef=e;if(0===a.Ef&&0===
|
|
52
|
+
f)return a.Cf=b.slice(c,c+e),a.Ef=e;if(f+e<=a.Ef)return a.Cf.set(b.subarray(c,c+e),f),e}ab(a,f+e);if(a.Cf.subarray&&b.subarray)a.Cf.set(b.subarray(c,c+e),f);else for(h=0;h<e;h++)a.Cf[f+h]=b[c+h];a.Ef=Math.max(a.Ef,f+e);return e},Of(a,b,c){1===c?b+=a.position:2===c&&32768===(a.node.mode&61440)&&(b+=a.node.Ef);if(0>b)throw new N(28);return b},ig(a,b,c){ab(a.node,b+c);a.node.Ef=Math.max(a.node.Ef,b+c)},Zf(a,b,c,e,f){if(32768!==(a.node.mode&61440))throw new N(43);a=a.node.Cf;if(f&2||a.buffer!==v.buffer){if(0<
|
|
53
|
+
c||c+b<a.length)a.subarray?a=a.subarray(c,c+b):a=Array.prototype.slice.call(a,c,c+b);c=!0;b=65536*Math.ceil(b/65536);(f=fb(65536,b))?(w.fill(0,f,f+b),b=f):b=0;if(!b)throw new N(48);v.set(a,b)}else c=!1,b=a.byteOffset;return{Cg:b,qg:c}},$f(a,b,c,e){O.Bf.write(a,b,0,e,c,!1);return 0}}},gb=(a,b)=>{var c=0;a&&(c|=365);b&&(c|=146);return c},hb=null,ib={},jb=[],kb=1,Q=null,lb=!0,N=class{constructor(a){this.name="ErrnoError";this.Df=a}},db={},mb=class{constructor(){this.Wf={};this.node=null}get flags(){return this.Wf.flags}set flags(a){this.Wf.flags=
|
|
54
|
+
a}get position(){return this.Wf.position}set position(a){this.Wf.position=a}},nb=class{constructor(a,b,c,e){a||=this;this.parent=a;this.Jf=a.Jf;this.Pf=null;this.id=kb++;this.name=b;this.mode=c;this.Af={};this.Bf={};this.Uf=e}get read(){return 365===(this.mode&365)}set read(a){a?this.mode|=365:this.mode&=-366}get write(){return 146===(this.mode&146)}set write(a){a?this.mode|=146:this.mode&=-147}};
|
|
55
|
+
function R(a,b={}){a=Ra(a);if(!a)return{path:"",node:null};b=Object.assign({kg:!0,gg:0},b);if(8<b.gg)throw new N(32);a=a.split("/").filter(k=>!!k);for(var c=hb,e="/",f=0;f<a.length;f++){var h=f===a.length-1;if(h&&b.parent)break;c=eb(c,a[f]);e=Ma(e+"/"+a[f]);c.Pf&&(!h||h&&b.kg)&&(c=c.Pf.root);if(!h||b.Nf)for(h=0;40960===(c.mode&61440);)if(c=ob(e),e=Ra(Na(e),c),c=R(e,{gg:b.gg+1}).node,40<h++)throw new N(32);}return{path:e,node:c}}
|
|
56
|
+
function pb(a){for(var b;;){if(a===a.parent)return a=a.Jf.ng,b?"/"!==a[a.length-1]?`${a}/${b}`:a+b:a;b=b?`${a.name}/${b}`:a.name;a=a.parent}}function qb(a,b){for(var c=0,e=0;e<b.length;e++)c=(c<<5)-c+b.charCodeAt(e)|0;return(a+c>>>0)%Q.length}function rb(a){var b=qb(a.parent.id,a.name);if(Q[b]===a)Q[b]=a.Qf;else for(b=Q[b];b;){if(b.Qf===a){b.Qf=a.Qf;break}b=b.Qf}}
|
|
57
|
+
function eb(a,b){var c=P(a.mode)?(c=sb(a,"x"))?c:a.Af.Sf?0:2:54;if(c)throw new N(c);for(c=Q[qb(a.id,b)];c;c=c.Qf){var e=c.name;if(c.parent.id===a.id&&e===b)return c}return a.Af.Sf(a,b)}function cb(a,b,c,e){a=new nb(a,b,c,e);b=qb(a.parent.id,a.name);a.Qf=Q[b];return Q[b]=a}function P(a){return 16384===(a&61440)}function tb(a){var b=["r","w","rw"][a&3];a&512&&(b+="w");return b}
|
|
58
|
+
function sb(a,b){if(lb)return 0;if(!b.includes("r")||a.mode&292){if(b.includes("w")&&!(a.mode&146)||b.includes("x")&&!(a.mode&73))return 2}else return 2;return 0}function ub(a,b){try{return eb(a,b),20}catch(c){}return sb(a,"wx")}function vb(a,b,c){try{var e=eb(a,b)}catch(f){return f.Df}if(a=sb(a,"wx"))return a;if(c){if(!P(e.mode))return 54;if(e===e.parent||"/"===pb(e))return 10}else if(P(e.mode))return 31;return 0}function S(a){a=jb[a];if(!a)throw new N(8);return a}
|
|
59
|
+
function wb(a,b=-1){a=Object.assign(new mb,a);if(-1==b)a:{for(b=0;4096>=b;b++)if(!jb[b])break a;throw new N(33);}a.Lf=b;return jb[b]=a}function xb(a,b=-1){a=wb(a,b);a.Bf?.Kg?.(a);return a}var bb={open(a){a.Bf=ib[a.node.Uf].Bf;a.Bf.open?.(a)},Of(){throw new N(70);}};function Xa(a,b){ib[a]={Bf:b}}
|
|
60
|
+
function yb(a,b){var c="/"===b;if(c&&hb)throw new N(10);if(!c&&b){var e=R(b,{kg:!1});b=e.path;e=e.node;if(e.Pf)throw new N(10);if(!P(e.mode))throw new N(54);}b={type:a,Pg:{},ng:b,zg:[]};a=a.Jf(b);a.Jf=b;b.root=a;c?hb=a:e&&(e.Pf=b,e.Jf&&e.Jf.zg.push(b))}function zb(a,b,c){var e=R(a,{parent:!0}).node;a=Oa(a);if(!a||"."===a||".."===a)throw new N(28);var f=ub(e,a);if(f)throw new N(f);if(!e.Af.Yf)throw new N(63);return e.Af.Yf(e,a,b,c)}function T(a,b){return zb(a,(void 0!==b?b:511)&1023|16384,0)}
|
|
61
|
+
function Ab(a,b,c){"undefined"==typeof c&&(c=b,b=438);zb(a,b|8192,c)}function Bb(a,b){if(!Ra(a))throw new N(44);var c=R(b,{parent:!0}).node;if(!c)throw new N(44);b=Oa(b);var e=ub(c,b);if(e)throw new N(e);if(!c.Af.bg)throw new N(63);c.Af.bg(c,b,a)}function Cb(a){var b=R(a,{parent:!0}).node;a=Oa(a);var c=eb(b,a),e=vb(b,a,!0);if(e)throw new N(e);if(!b.Af.ag)throw new N(63);if(c.Pf)throw new N(10);b.Af.ag(b,a);rb(c)}
|
|
62
|
+
function ob(a){a=R(a).node;if(!a)throw new N(44);if(!a.Af.Vf)throw new N(28);return Ra(pb(a.parent),a.Af.Vf(a))}function Db(a,b){a=R(a,{Nf:!b}).node;if(!a)throw new N(44);if(!a.Af.If)throw new N(63);return a.Af.If(a)}function Eb(a){return Db(a,!0)}function Fb(a,b){a="string"==typeof a?R(a,{Nf:!0}).node:a;if(!a.Af.Ff)throw new N(63);a.Af.Ff(a,{mode:b&4095|a.mode&-4096,timestamp:Date.now()})}
|
|
63
|
+
function Gb(a,b){if(0>b)throw new N(28);a="string"==typeof a?R(a,{Nf:!0}).node:a;if(!a.Af.Ff)throw new N(63);if(P(a.mode))throw new N(31);if(32768!==(a.mode&61440))throw new N(28);var c=sb(a,"w");if(c)throw new N(c);a.Af.Ff(a,{size:b,timestamp:Date.now()})}
|
|
64
|
+
function Hb(a,b,c){if(""===a)throw new N(44);if("string"==typeof b){var e={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[b];if("undefined"==typeof e)throw Error(`Unknown file open mode: ${b}`);b=e}c=b&64?("undefined"==typeof c?438:c)&4095|32768:0;if("object"==typeof a)var f=a;else{a=Ma(a);try{f=R(a,{Nf:!(b&131072)}).node}catch(h){}}e=!1;if(b&64)if(f){if(b&128)throw new N(20);}else f=zb(a,c,0),e=!0;if(!f)throw new N(44);8192===(f.mode&61440)&&(b&=-513);if(b&65536&&!P(f.mode))throw new N(54);if(!e&&(c=
|
|
65
|
+
f?40960===(f.mode&61440)?32:P(f.mode)&&("r"!==tb(b)||b&512)?31:sb(f,tb(b)):44))throw new N(c);b&512&&!e&&Gb(f,0);b&=-131713;f=wb({node:f,path:pb(f),flags:b,seekable:!0,position:0,Bf:f.Bf,Eg:[],error:!1});f.Bf.open&&f.Bf.open(f);!d.logReadFiles||b&1||(Ib||={},a in Ib||(Ib[a]=1));return f}function Jb(a,b,c){if(null===a.Lf)throw new N(8);if(!a.seekable||!a.Bf.Of)throw new N(70);if(0!=c&&1!=c&&2!=c)throw new N(28);a.position=a.Bf.Of(a,b,c);a.Eg=[]}var Kb;
|
|
66
|
+
function Lb(a,b,c){a=Ma("/dev/"+a);var e=gb(!!b,!!c);Mb||=64;var f=Mb++<<8|0;Xa(f,{open(h){h.seekable=!1},close(){c?.buffer?.length&&c(10)},read(h,k,n,l){for(var m=0,p=0;p<l;p++){try{var q=b()}catch(t){throw new N(29);}if(void 0===q&&0===m)throw new N(6);if(null===q||void 0===q)break;m++;k[n+p]=q}m&&(h.node.timestamp=Date.now());return m},write(h,k,n,l){for(var m=0;m<l;m++)try{c(k[n+m])}catch(p){throw new N(29);}l&&(h.node.timestamp=Date.now());return m}});Ab(a,e,f)}var Mb,U={},Ib;
|
|
67
|
+
function Nb(a,b,c){if("/"===b.charAt(0))return b;a=-100===a?"/":S(a).path;if(0==b.length){if(!c)throw new N(44);return a}return Ma(a+"/"+b)}
|
|
68
|
+
function Ob(a,b,c){a=a(b);z[c>>2]=a.vg;z[c+4>>2]=a.mode;B[c+8>>2]=a.Bg;z[c+12>>2]=a.uid;z[c+16>>2]=a.yg;z[c+20>>2]=a.Uf;F=[a.size>>>0,(D=a.size,1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[c+24>>2]=F[0];z[c+28>>2]=F[1];z[c+32>>2]=4096;z[c+36>>2]=a.tg;b=a.rg.getTime();var e=a.Ag.getTime(),f=a.ug.getTime();F=[Math.floor(b/1E3)>>>0,(D=Math.floor(b/1E3),1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:
|
|
69
|
+
0)];z[c+40>>2]=F[0];z[c+44>>2]=F[1];B[c+48>>2]=b%1E3*1E3;F=[Math.floor(e/1E3)>>>0,(D=Math.floor(e/1E3),1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[c+56>>2]=F[0];z[c+60>>2]=F[1];B[c+64>>2]=e%1E3*1E3;F=[Math.floor(f/1E3)>>>0,(D=Math.floor(f/1E3),1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[c+72>>2]=F[0];z[c+76>>2]=F[1];B[c+80>>2]=f%1E3*1E3;F=[a.mg>>>0,(D=a.mg,1<=+Math.abs(D)?0<D?+Math.floor(D/
|
|
70
|
+
4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[c+88>>2]=F[0];z[c+92>>2]=F[1];return 0}var Pb=void 0;function Qb(){var a=z[+Pb>>2];Pb+=4;return a}
|
|
71
|
+
var Rb=(a,b)=>b+2097152>>>0<4194305-!!a?(a>>>0)+4294967296*b:NaN,Sb=[0,31,60,91,121,152,182,213,244,274,305,335],Tb=[0,31,59,90,120,151,181,212,243,273,304,334],Ub={},Wb=()=>{if(!Vb){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:da||"./this.program"},b;for(b in Ub)void 0===Ub[b]?delete a[b]:a[b]=Ub[b];var c=[];for(b in a)c.push(`${b}=${a[b]}`);Vb=c}return Vb},
|
|
72
|
+
Vb;function Xb(){}function Yb(){}function Zb(){}function $b(){}function ac(){}function bc(){}function cc(){}function dc(){}function ec(){}function fc(){}function gc(){}function hc(){}function ic(){}function jc(){}function kc(){}function lc(){}function mc(){}function nc(){}function oc(){}function pc(){}function qc(){}function rc(){}function sc(){}function tc(){}function uc(){}function vc(){}function wc(){}function xc(){}function yc(){}function zc(){}function Ac(){}function Bc(){}function Cc(){}
|
|
73
|
+
function Dc(){}function Ec(){}function Fc(){}function Gc(){}function Hc(){}function Ic(){}var Jc=0,Kc=a=>{na=a;Ja||0<Jc||(d.onExit?.(a),u=!0);ea(a,new Ha(a))},Lc=a=>{a instanceof Ha||"unwind"==a||ea(1,a)},Mc=a=>{try{a()}catch(b){C(b)}},Nc=a=>{if(!u)try{if(a(),!(Ja||0<Jc))try{na=a=na,Kc(a)}catch(b){Lc(b)}}catch(b){Lc(b)}};
|
|
74
|
+
function Oc(){var a=V,b={};for(let [c,e]of Object.entries(a))b[c]="function"==typeof e?(...f)=>{Pc.push(c);try{return e(...f)}finally{u||(Pc.pop(),W&&1===Y&&0===Pc.length&&(Y=0,Mc(Qc),"undefined"!=typeof Fibers&&Fibers.Qg()))}}:e;return b}var Y=0,W=null,Rc=0,Pc=[],Sc={},Tc={},Uc=0,Vc=null,Wc=[];function Xc(){return new Promise((a,b)=>{Vc={resolve:a,reject:b}})}
|
|
75
|
+
function Yc(){var a=Zc(16396),b=a+12;B[a>>2]=b;B[a+4>>2]=b+16384;b=Pc[0];var c=Sc[b];void 0===c&&(c=Uc++,Sc[b]=c,Tc[c]=b);z[a+8>>2]=c;return a}
|
|
76
|
+
function $c(a){if(!u){if(0===Y){var b=!1,c=!1;a((e=0)=>{if(!u&&(Rc=e,b=!0,c)){Y=2;Mc(()=>ad(W));"undefined"!=typeof Browser&&Browser.eg.xg&&Browser.eg.resume();e=!1;try{var f=(0,V[Tc[z[W+8>>2]]])()}catch(n){f=n,e=!0}var h=!1;if(!W){var k=Vc;k&&(Vc=null,(e?k.reject:k.resolve)(f),h=!0)}if(e&&!h)throw f;}});c=!0;b||(Y=1,W=Yc(),"undefined"!=typeof Browser&&Browser.eg.xg&&Browser.eg.pause(),Mc(()=>bd(W)))}else 2===Y?(Y=0,Mc(cd),dd(W),W=null,Wc.forEach(Nc)):C(`invalid state: ${Y}`);return Rc}}
|
|
77
|
+
function ed(a){return $c(b=>{a().then(b)})}
|
|
78
|
+
var fd={},gd,hd,jd=[],Z=(a,b,c,e,f)=>{function h(q){--Jc;0!==l&&kd(l);return"string"===b?q?J(w,q):"":"boolean"===b?!!q:q}var k={string:q=>{var t=0;if(null!==q&&void 0!==q&&0!==q){t=Ta(q)+1;var y=ld(t);K(q,w,y,t);t=y}return t},array:q=>{var t=ld(q.length);v.set(q,t);return t}};a=d["_"+a];var n=[],l=0;if(e)for(var m=0;m<e.length;m++){var p=k[c[m]];p?(0===l&&(l=md()),n[m]=p(e[m])):n[m]=e[m]}c=W;e=a(...n);f=f?.async;Jc+=1;if(W!=c)return Xc().then(h);e=h(e);return f?Promise.resolve(e):e},nd="undefined"!=
|
|
79
|
+
typeof TextDecoder?new TextDecoder("utf-16le"):void 0;[44].forEach(a=>{db[a]=new N(a);db[a].stack="<generic error, no stack>"});Q=Array(4096);yb(O,"/");T("/tmp");T("/home");T("/home/web_user");(function(){T("/dev");Xa(259,{read:()=>0,write:(e,f,h,k)=>k});Ab("/dev/null",259);Wa(1280,Za);Wa(1536,$a);Ab("/dev/tty",1280);Ab("/dev/tty1",1536);var a=new Uint8Array(1024),b=0,c=()=>{0===b&&(b=Qa(a).byteLength);return a[--b]};Lb("random",c);Lb("urandom",c);T("/dev/shm");T("/dev/shm/tmp")})();
|
|
80
|
+
(function(){T("/proc");var a=T("/proc/self");T("/proc/self/fd");yb({Jf(){var b=cb(a,"fd",16895,73);b.Af={Sf(c,e){var f=S(+e);c={parent:null,Jf:{ng:"fake"},Af:{Vf:()=>f.path}};return c.parent=c}};return b}},"/proc/self/fd")})();
|
|
81
|
+
(function(){const a=new Map;d.setAuthorizer=function(b,c,e){c?a.set(b,{f:c,hg:e}):a.delete(b);return Z("set_authorizer","number",["number"],[b])};Xb=function(b,c,e,f,h,k){if(a.has(b)){const {f:n,hg:l}=a.get(b);return n(l,c,e?e?J(w,e):"":null,f?f?J(w,f):"":null,h?h?J(w,h):"":null,k?k?J(w,k):"":null)}return 0}})();
|
|
82
|
+
(function(){const a=new Map,b=new Map;d.createFunction=function(c,e,f,h,k,n){const l=a.size;a.set(l,{f:n,Mf:k});return Z("create_function","number","number string number number number number".split(" "),[c,e,f,h,l,0])};d.createAggregate=function(c,e,f,h,k,n,l){const m=a.size;a.set(m,{step:n,wg:l,Mf:k});return Z("create_function","number","number string number number number number".split(" "),[c,e,f,h,m,1])};d.getFunctionUserData=function(c){return b.get(c)};Zb=function(c,e,f,h){c=a.get(c);b.set(e,
|
|
83
|
+
c.Mf);c.f(e,new Uint32Array(w.buffer,h,f));b.delete(e)};ac=function(c,e,f,h){c=a.get(c);b.set(e,c.Mf);c.step(e,new Uint32Array(w.buffer,h,f));b.delete(e)};Yb=function(c,e){c=a.get(c);b.set(e,c.Mf);c.wg(e);b.delete(e)}})();(function(){const a=new Map;d.progressHandler=function(b,c,e,f){e?a.set(b,{f:e,hg:f}):a.delete(b);return Z("progress_handler",null,["number","number"],[b,c])};$b=function(b){if(a.has(b)){const {f:c,hg:e}=a.get(b);return c(e)}return 0}})();
|
|
84
|
+
(function(){function a(l,m){const p=`get${l}`,q=`set${l}`;return new Proxy(new DataView(w.buffer,m,"Int32"===l?4:8),{get(t,y){if(y===p)return function(A,G){if(!G)throw Error("must be little endian");return t[y](A,G)};if(y===q)return function(A,G,E){if(!E)throw Error("must be little endian");return t[y](A,G,E)};if("string"===typeof y&&y.match(/^(get)|(set)/))throw Error("invalid type");return t[y]}})}const b="object"===typeof fd,c=new Map,e=new Map,f=new Map,h=b?new Set:null,k=b?new Set:null,n=new Map;
|
|
85
|
+
rc=function(l,m,p,q){n.set(l?J(w,l):"",{size:m,Tf:Array.from(new Uint32Array(w.buffer,q,p))})};d.createModule=function(l,m,p,q){b&&(p.handleAsync=ed);const t=c.size;c.set(t,{module:p,Mf:q});q=0;p.xCreate&&(q|=1);p.xConnect&&(q|=2);p.xBestIndex&&(q|=4);p.xDisconnect&&(q|=8);p.xDestroy&&(q|=16);p.xOpen&&(q|=32);p.xClose&&(q|=64);p.xFilter&&(q|=128);p.xNext&&(q|=256);p.xEof&&(q|=512);p.xColumn&&(q|=1024);p.xRowid&&(q|=2048);p.xUpdate&&(q|=4096);p.xBegin&&(q|=8192);p.xSync&&(q|=16384);p.xCommit&&(q|=
|
|
86
|
+
32768);p.xRollback&&(q|=65536);p.xFindFunction&&(q|=131072);p.xRename&&(q|=262144);return Z("create_module","number",["number","string","number","number"],[l,m,t,q])};hc=function(l,m,p,q,t,y){m=c.get(m);e.set(t,m);if(b){h.delete(t);for(const A of h)e.delete(A)}q=Array.from(new Uint32Array(w.buffer,q,p)).map(A=>A?J(w,A):"");return m.module.xCreate(l,m.Mf,q,t,a("Int32",y))};gc=function(l,m,p,q,t,y){m=c.get(m);e.set(t,m);if(b){h.delete(t);for(const A of h)e.delete(A)}q=Array.from(new Uint32Array(w.buffer,
|
|
87
|
+
q,p)).map(A=>A?J(w,A):"");return m.module.xConnect(l,m.Mf,q,t,a("Int32",y))};cc=function(l,m){var p=e.get(l),q=n.get("sqlite3_index_info").Tf;const t={};t.nConstraint=H(m+q[0],"i32");t.aConstraint=[];var y=H(m+q[1],"*"),A=n.get("sqlite3_index_constraint").size;for(var G=0;G<t.nConstraint;++G){var E=t.aConstraint,M=E.push,L=y+G*A,ka=n.get("sqlite3_index_constraint").Tf,X={};X.iColumn=H(L+ka[0],"i32");X.op=H(L+ka[1],"i8");X.usable=!!H(L+ka[2],"i8");M.call(E,X)}t.nOrderBy=H(m+q[2],"i32");t.aOrderBy=
|
|
88
|
+
[];y=H(m+q[3],"*");A=n.get("sqlite3_index_orderby").size;for(G=0;G<t.nOrderBy;++G)E=t.aOrderBy,M=E.push,L=y+G*A,ka=n.get("sqlite3_index_orderby").Tf,X={},X.iColumn=H(L+ka[0],"i32"),X.desc=!!H(L+ka[1],"i8"),M.call(E,X);t.aConstraintUsage=[];for(y=0;y<t.nConstraint;++y)t.aConstraintUsage.push({argvIndex:0,omit:!1});t.idxNum=H(m+q[5],"i32");t.idxStr=null;t.orderByConsumed=!!H(m+q[8],"i8");t.estimatedCost=H(m+q[9],"double");t.estimatedRows=H(m+q[10],"i32");t.idxFlags=H(m+q[11],"i32");t.colUsed=H(m+q[12],
|
|
89
|
+
"i32");l=p.module.xBestIndex(l,t);p=n.get("sqlite3_index_info").Tf;q=H(m+p[4],"*");y=n.get("sqlite3_index_constraint_usage").size;for(M=0;M<t.nConstraint;++M)A=q+M*y,E=t.aConstraintUsage[M],L=n.get("sqlite3_index_constraint_usage").Tf,I(A+L[0],E.argvIndex,"i32"),I(A+L[1],E.omit?1:0,"i8");I(m+p[5],t.idxNum,"i32");"string"===typeof t.idxStr&&(q=Ta(t.idxStr),y=Z("sqlite3_malloc","number",["number"],[q+1]),K(t.idxStr,w,y,q+1),I(m+p[6],y,"*"),I(m+p[7],1,"i32"));I(m+p[8],t.orderByConsumed,"i32");I(m+p[9],
|
|
90
|
+
t.estimatedCost,"double");I(m+p[10],t.estimatedRows,"i32");I(m+p[11],t.idxFlags,"i32");return l};jc=function(l){const m=e.get(l);b?h.add(l):e.delete(l);return m.module.xDisconnect(l)};ic=function(l){const m=e.get(l);b?h.add(l):e.delete(l);return m.module.xDestroy(l)};nc=function(l,m){const p=e.get(l);f.set(m,p);if(b){k.delete(m);for(const q of k)f.delete(q)}return p.module.xOpen(l,m)};dc=function(l){const m=f.get(l);b?k.add(l):f.delete(l);return m.module.xClose(l)};kc=function(l){return f.get(l).module.xEof(l)?
|
|
91
|
+
1:0};lc=function(l,m,p,q,t){const y=f.get(l);p=p?p?J(w,p):"":null;t=new Uint32Array(w.buffer,t,q);return y.module.xFilter(l,m,p,t)};mc=function(l){return f.get(l).module.xNext(l)};ec=function(l,m,p){return f.get(l).module.xColumn(l,m,p)};qc=function(l,m){return f.get(l).module.xRowid(l,a("BigInt64",m))};tc=function(l,m,p,q){const t=e.get(l);p=new Uint32Array(w.buffer,p,m);return t.module.xUpdate(l,p,a("BigInt64",q))};bc=function(l){return e.get(l).module.xBegin(l)};sc=function(l){return e.get(l).module.xSync(l)};
|
|
92
|
+
fc=function(l){return e.get(l).module.xCommit(l)};pc=function(l){return e.get(l).module.xRollback(l)};oc=function(l,m){const p=e.get(l);m=m?J(w,m):"";return p.module.xRename(l,m)}})();
|
|
93
|
+
(function(){function a(h,k){const n=`get${h}`,l=`set${h}`;return new Proxy(new DataView(w.buffer,k,"Int32"===h?4:8),{get(m,p){if(p===n)return function(q,t){if(!t)throw Error("must be little endian");return m[p](q,t)};if(p===l)return function(q,t,y){if(!y)throw Error("must be little endian");return m[p](q,t,y)};if("string"===typeof p&&p.match(/^(get)|(set)/))throw Error("invalid type");return m[p]}})}const b="object"===typeof fd;b&&(d.handleAsync=ed);const c=new Map,e=new Map;d.registerVFS=function(h,
|
|
94
|
+
k){if(Z("sqlite3_vfs_find","number",["string"],[h.name]))throw Error(`VFS '${h.name}' already registered`);b&&(h.handleAsync=ed);var n=h.mxPathName??64;const l=d._malloc(4);k=Z("register_vfs","number",["string","number","number","number"],[h.name,n,k?1:0,l]);k||(n=H(l,"*"),c.set(n,h));d._free(l);return k};const f=b?new Set:null;wc=function(h){const k=e.get(h);b?f.add(h):e.delete(h);return k.xClose(h)};Dc=function(h,k,n,l,m){return e.get(h).xRead(h,w.subarray(k,k+n),4294967296*m+l+(0>l?2**32:0))};
|
|
95
|
+
Ic=function(h,k,n,l,m){return e.get(h).xWrite(h,w.subarray(k,k+n),4294967296*m+l+(0>l?2**32:0))};Gc=function(h,k,n){return e.get(h).xTruncate(h,4294967296*n+k+(0>k?2**32:0))};Fc=function(h,k){return e.get(h).xSync(h,k)};Ac=function(h,k){const n=e.get(h);k=a("BigInt64",k);return n.xFileSize(h,k)};Bc=function(h,k){return e.get(h).xLock(h,k)};Hc=function(h,k){return e.get(h).xUnlock(h,k)};vc=function(h,k){const n=e.get(h);k=a("Int32",k);return n.xCheckReservedLock(h,k)};zc=function(h,k,n){const l=e.get(h);
|
|
96
|
+
n=new DataView(w.buffer,n);return l.xFileControl(h,k,n)};Ec=function(h){return e.get(h).xSectorSize(h)};yc=function(h){return e.get(h).xDeviceCharacteristics(h)};Cc=function(h,k,n,l,m){h=c.get(h);e.set(n,h);if(b){f.delete(n);for(var p of f)e.delete(p)}p=null;if(l&64){p=1;const q=[];for(;p;){const t=w[k++];if(t)q.push(t);else switch(w[k]||(p=null),p){case 1:q.push(63);p=2;break;case 2:q.push(61);p=3;break;case 3:q.push(38),p=2}}p=(new TextDecoder).decode(new Uint8Array(q))}else k&&(p=k?J(w,k):"");
|
|
97
|
+
m=a("Int32",m);return h.xOpen(p,n,l,m)};xc=function(h,k,n){return c.get(h).xDelete(k?J(w,k):"",n)};uc=function(h,k,n,l){h=c.get(h);l=a("Int32",l);return h.xAccess(k?J(w,k):"",n,l)}})();
|
|
98
|
+
var od={a:(a,b,c,e)=>{C(`Assertion failed: ${a?J(w,a):""}, at: `+[b?b?J(w,b):"":"unknown filename",c,e?e?J(w,e):"":"unknown function"])},N:function(a,b){try{return a=a?J(w,a):"",Fb(a,b),0}catch(c){if("undefined"==typeof U||"ErrnoError"!==c.name)throw c;return-c.Df}},Q:function(a,b,c){try{b=b?J(w,b):"";b=Nb(a,b);if(c&-8)return-28;var e=R(b,{Nf:!0}).node;if(!e)return-44;a="";c&4&&(a+="r");c&2&&(a+="w");c&1&&(a+="x");return a&&sb(e,a)?-2:0}catch(f){if("undefined"==typeof U||"ErrnoError"!==f.name)throw f;
|
|
99
|
+
return-f.Df}},O:function(a,b){try{var c=S(a);Fb(c.node,b);return 0}catch(e){if("undefined"==typeof U||"ErrnoError"!==e.name)throw e;return-e.Df}},M:function(a){try{var b=S(a).node;var c="string"==typeof b?R(b,{Nf:!0}).node:b;if(!c.Af.Ff)throw new N(63);c.Af.Ff(c,{timestamp:Date.now()});return 0}catch(e){if("undefined"==typeof U||"ErrnoError"!==e.name)throw e;return-e.Df}},b:function(a,b,c){Pb=c;try{var e=S(a);switch(b){case 0:var f=Qb();if(0>f)break;for(;jb[f];)f++;return xb(e,f).Lf;case 1:case 2:return 0;
|
|
100
|
+
case 3:return e.flags;case 4:return f=Qb(),e.flags|=f,0;case 12:return f=Qb(),x[f+0>>1]=2,0;case 13:case 14:return 0}return-28}catch(h){if("undefined"==typeof U||"ErrnoError"!==h.name)throw h;return-h.Df}},L:function(a,b){try{var c=S(a);return Ob(Db,c.path,b)}catch(e){if("undefined"==typeof U||"ErrnoError"!==e.name)throw e;return-e.Df}},n:function(a,b,c){b=Rb(b,c);try{if(isNaN(b))return 61;var e=S(a);if(0===(e.flags&2097155))throw new N(28);Gb(e.node,b);return 0}catch(f){if("undefined"==typeof U||
|
|
101
|
+
"ErrnoError"!==f.name)throw f;return-f.Df}},F:function(a,b){try{if(0===b)return-28;var c=Ta("/")+1;if(b<c)return-68;K("/",w,a,b);return c}catch(e){if("undefined"==typeof U||"ErrnoError"!==e.name)throw e;return-e.Df}},J:function(a,b){try{return a=a?J(w,a):"",Ob(Eb,a,b)}catch(c){if("undefined"==typeof U||"ErrnoError"!==c.name)throw c;return-c.Df}},C:function(a,b,c){try{return b=b?J(w,b):"",b=Nb(a,b),b=Ma(b),"/"===b[b.length-1]&&(b=b.substr(0,b.length-1)),T(b,c),0}catch(e){if("undefined"==typeof U||
|
|
102
|
+
"ErrnoError"!==e.name)throw e;return-e.Df}},H:function(a,b,c,e){try{b=b?J(w,b):"";var f=e&256;b=Nb(a,b,e&4096);return Ob(f?Eb:Db,b,c)}catch(h){if("undefined"==typeof U||"ErrnoError"!==h.name)throw h;return-h.Df}},B:function(a,b,c,e){Pb=e;try{b=b?J(w,b):"";b=Nb(a,b);var f=e?Qb():0;return Hb(b,c,f).Lf}catch(h){if("undefined"==typeof U||"ErrnoError"!==h.name)throw h;return-h.Df}},z:function(a,b,c,e){try{b=b?J(w,b):"";b=Nb(a,b);if(0>=e)return-28;var f=ob(b),h=Math.min(e,Ta(f)),k=v[c+h];K(f,w,c,e+1);v[c+
|
|
103
|
+
h]=k;return h}catch(n){if("undefined"==typeof U||"ErrnoError"!==n.name)throw n;return-n.Df}},y:function(a){try{return a=a?J(w,a):"",Cb(a),0}catch(b){if("undefined"==typeof U||"ErrnoError"!==b.name)throw b;return-b.Df}},K:function(a,b){try{return a=a?J(w,a):"",Ob(Db,a,b)}catch(c){if("undefined"==typeof U||"ErrnoError"!==c.name)throw c;return-c.Df}},u:function(a,b,c){try{b=b?J(w,b):"";b=Nb(a,b);if(0===c){a=b;var e=R(a,{parent:!0}).node;if(!e)throw new N(44);var f=Oa(a),h=eb(e,f),k=vb(e,f,!1);if(k)throw new N(k);
|
|
104
|
+
if(!e.Af.cg)throw new N(63);if(h.Pf)throw new N(10);e.Af.cg(e,f);rb(h)}else 512===c?Cb(b):C("Invalid flags passed to unlinkat");return 0}catch(n){if("undefined"==typeof U||"ErrnoError"!==n.name)throw n;return-n.Df}},t:function(a,b,c){try{b=b?J(w,b):"";b=Nb(a,b,!0);if(c){var e=B[c>>2]+4294967296*z[c+4>>2],f=z[c+8>>2];h=1E3*e+f/1E6;c+=16;e=B[c>>2]+4294967296*z[c+4>>2];f=z[c+8>>2];k=1E3*e+f/1E6}else var h=Date.now(),k=h;a=h;var n=R(b,{Nf:!0}).node;n.Af.Ff(n,{timestamp:Math.max(a,k)});return 0}catch(l){if("undefined"==
|
|
105
|
+
typeof U||"ErrnoError"!==l.name)throw l;return-l.Df}},k:function(a,b,c){a=new Date(1E3*Rb(a,b));z[c>>2]=a.getSeconds();z[c+4>>2]=a.getMinutes();z[c+8>>2]=a.getHours();z[c+12>>2]=a.getDate();z[c+16>>2]=a.getMonth();z[c+20>>2]=a.getFullYear()-1900;z[c+24>>2]=a.getDay();b=a.getFullYear();z[c+28>>2]=(0!==b%4||0===b%100&&0!==b%400?Tb:Sb)[a.getMonth()]+a.getDate()-1|0;z[c+36>>2]=-(60*a.getTimezoneOffset());b=(new Date(a.getFullYear(),6,1)).getTimezoneOffset();var e=(new Date(a.getFullYear(),0,1)).getTimezoneOffset();
|
|
106
|
+
z[c+32>>2]=(b!=e&&a.getTimezoneOffset()==Math.min(e,b))|0},i:function(a,b,c,e,f,h,k,n){f=Rb(f,h);try{if(isNaN(f))return 61;var l=S(e);if(0!==(b&2)&&0===(c&2)&&2!==(l.flags&2097155))throw new N(2);if(1===(l.flags&2097155))throw new N(2);if(!l.Bf.Zf)throw new N(43);var m=l.Bf.Zf(l,a,f,b,c);var p=m.Cg;z[k>>2]=m.qg;B[n>>2]=p;return 0}catch(q){if("undefined"==typeof U||"ErrnoError"!==q.name)throw q;return-q.Df}},j:function(a,b,c,e,f,h,k){h=Rb(h,k);try{var n=S(f);if(c&2){if(32768!==(n.node.mode&61440))throw new N(43);
|
|
107
|
+
e&2||n.Bf.$f&&n.Bf.$f(n,w.slice(a,a+b),h,b,e)}}catch(l){if("undefined"==typeof U||"ErrnoError"!==l.name)throw l;return-l.Df}},v:(a,b,c,e)=>{var f=(new Date).getFullYear(),h=new Date(f,0,1),k=new Date(f,6,1);f=h.getTimezoneOffset();var n=k.getTimezoneOffset();B[a>>2]=60*Math.max(f,n);z[b>>2]=Number(f!=n);a=l=>l.toLocaleTimeString(void 0,{hour12:!1,timeZoneName:"short"}).split(" ")[1];h=a(h);k=a(k);n<f?(K(h,w,c,17),K(k,w,e,17)):(K(h,w,e,17),K(k,w,c,17))},e:()=>Date.now(),d:()=>performance.now(),r:a=>
|
|
108
|
+
{var b=w.length;a>>>=0;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var e=b*(1+.2/c);e=Math.min(e,a+100663296);var f=Math;e=Math.max(a,e);a:{f=(f.min.call(f,2147483648,e+(65536-e%65536)%65536)-ma.buffer.byteLength+65535)/65536;try{ma.grow(f);ra();var h=1;break a}catch(k){}h=void 0}if(h)return!0}return!1},D:(a,b)=>{var c=0;Wb().forEach((e,f)=>{var h=b+c;f=B[a+4*f>>2]=h;for(h=0;h<e.length;++h)v[f++]=e.charCodeAt(h);v[f]=0;c+=e.length+1});return 0},E:(a,b)=>{var c=Wb();B[a>>2]=c.length;var e=0;c.forEach(f=>
|
|
109
|
+
e+=f.length+1);B[b>>2]=e;return 0},f:function(a){try{var b=S(a);if(null===b.Lf)throw new N(8);b.dg&&(b.dg=null);try{b.Bf.close&&b.Bf.close(b)}catch(c){throw c;}finally{jb[b.Lf]=null}b.Lf=null;return 0}catch(c){if("undefined"==typeof U||"ErrnoError"!==c.name)throw c;return c.Df}},s:function(a,b){try{var c=S(a);v[b]=c.Hf?2:P(c.mode)?3:40960===(c.mode&61440)?7:4;x[b+2>>1]=0;F=[0,(D=0,1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[b+8>>2]=F[0];z[b+
|
|
110
|
+
12>>2]=F[1];F=[0,(D=0,1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[b+16>>2]=F[0];z[b+20>>2]=F[1];return 0}catch(e){if("undefined"==typeof U||"ErrnoError"!==e.name)throw e;return e.Df}},A:function(a,b,c,e){try{a:{var f=S(a);a=b;for(var h,k=b=0;k<c;k++){var n=B[a>>2],l=B[a+4>>2];a+=8;var m=f,p=h,q=v;if(0>l||0>p)throw new N(28);if(null===m.Lf)throw new N(8);if(1===(m.flags&2097155))throw new N(8);if(P(m.node.mode))throw new N(31);if(!m.Bf.read)throw new N(28);
|
|
111
|
+
var t="undefined"!=typeof p;if(!t)p=m.position;else if(!m.seekable)throw new N(70);var y=m.Bf.read(m,q,n,l,p);t||(m.position+=y);var A=y;if(0>A){var G=-1;break a}b+=A;if(A<l)break;"undefined"!=typeof h&&(h+=A)}G=b}B[e>>2]=G;return 0}catch(E){if("undefined"==typeof U||"ErrnoError"!==E.name)throw E;return E.Df}},l:function(a,b,c,e,f){b=Rb(b,c);try{if(isNaN(b))return 61;var h=S(a);Jb(h,b,e);F=[h.position>>>0,(D=h.position,1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/
|
|
112
|
+
4294967296)>>>0:0)];z[f>>2]=F[0];z[f+4>>2]=F[1];h.dg&&0===b&&0===e&&(h.dg=null);return 0}catch(k){if("undefined"==typeof U||"ErrnoError"!==k.name)throw k;return k.Df}},G:function(a){try{var b=S(a);return $c(c=>{var e=b.node.Jf;e.type.Dg?e.type.Dg(e,!1,f=>{f?c(29):c(0)}):c(0)})}catch(c){if("undefined"==typeof U||"ErrnoError"!==c.name)throw c;return c.Df}},w:function(a,b,c,e){try{a:{var f=S(a);a=b;for(var h,k=b=0;k<c;k++){var n=B[a>>2],l=B[a+4>>2];a+=8;var m=f,p=n,q=l,t=h,y=v;if(0>q||0>t)throw new N(28);
|
|
113
|
+
if(null===m.Lf)throw new N(8);if(0===(m.flags&2097155))throw new N(8);if(P(m.node.mode))throw new N(31);if(!m.Bf.write)throw new N(28);m.seekable&&m.flags&1024&&Jb(m,0,2);var A="undefined"!=typeof t;if(!A)t=m.position;else if(!m.seekable)throw new N(70);var G=m.Bf.write(m,y,p,q,t,void 0);A||(m.position+=G);var E=G;if(0>E){var M=-1;break a}b+=E;"undefined"!=typeof h&&(h+=E)}M=b}B[e>>2]=M;return 0}catch(L){if("undefined"==typeof U||"ErrnoError"!==L.name)throw L;return L.Df}},ta:(a,b)=>{Qa(w.subarray(a,
|
|
114
|
+
a+b));return 0},ia:Xb,I:Yb,_:Zb,ca:$b,P:ac,la:bc,m:cc,sa:dc,oa:ec,ja:fc,ea:gc,fa:hc,g:ic,h:jc,pa:kc,ra:lc,qa:mc,da:nc,ga:oc,ha:pc,na:qc,c:rc,ka:sc,ma:tc,x:function(a,b,c,e){(0,globalThis.__onTablesChanged)?.(a,b,c,e)},aa:uc,V:vc,$:wc,ba:xc,S:yc,U:zc,Y:Ac,X:Bc,R:Cc,q:Dc,T:Ec,Z:Fc,o:Gc,W:Hc,p:Ic},V=function(){function a(c){V=c.exports;V=Oc();ma=V.ua;ra();gd=V.qf;ta.unshift(V.va);xa--;d.monitorRunDependencies?.(xa);0==xa&&(null!==ya&&(clearInterval(ya),ya=null),za&&(c=za,za=null,c()));return V}var b=
|
|
115
|
+
{a:od};xa++;d.monitorRunDependencies?.(xa);if(d.instantiateWasm)try{return d.instantiateWasm(b,a)}catch(c){r(`Module.instantiateWasm callback failed with error: ${c}`),ba(c)}Ga(b,function(c){a(c.instance)}).catch(ba);return{}}();d._sqlite3_auto_extension=a=>(d._sqlite3_auto_extension=V.wa)(a);d._sqlite3_free=a=>(d._sqlite3_free=V.xa)(a);d._sqlite3_malloc=a=>(d._sqlite3_malloc=V.ya)(a);d._sqlite3_bind_blob=(a,b,c,e,f)=>(d._sqlite3_bind_blob=V.za)(a,b,c,e,f);
|
|
116
|
+
d._sqlite3_shutdown=()=>(d._sqlite3_shutdown=V.Aa)();d._sqlite3_bind_int=(a,b,c)=>(d._sqlite3_bind_int=V.Ba)(a,b,c);d._sqlite3_bind_int64=(a,b,c,e)=>(d._sqlite3_bind_int64=V.Ca)(a,b,c,e);d._sqlite3_bind_double=(a,b,c)=>(d._sqlite3_bind_double=V.Da)(a,b,c);d._sqlite3_bind_null=(a,b)=>(d._sqlite3_bind_null=V.Ea)(a,b);d._sqlite3_clear_bindings=a=>(d._sqlite3_clear_bindings=V.Fa)(a);d._sqlite3_bind_text=(a,b,c,e,f)=>(d._sqlite3_bind_text=V.Ga)(a,b,c,e,f);
|
|
117
|
+
d._sqlite3_bind_pointer=(a,b,c,e,f)=>(d._sqlite3_bind_pointer=V.Ha)(a,b,c,e,f);d._sqlite3_bind_value=(a,b,c)=>(d._sqlite3_bind_value=V.Ia)(a,b,c);d._sqlite3_close=a=>(d._sqlite3_close=V.Ja)(a);d._sqlite3_vtab_config=(a,b,c)=>(d._sqlite3_vtab_config=V.Ka)(a,b,c);d._sqlite3_commit_hook=(a,b,c)=>(d._sqlite3_commit_hook=V.La)(a,b,c);d._sqlite3_column_type=(a,b)=>(d._sqlite3_column_type=V.Ma)(a,b);d._sqlite3_column_count=a=>(d._sqlite3_column_count=V.Na)(a);
|
|
118
|
+
d._sqlite3_column_text=(a,b)=>(d._sqlite3_column_text=V.Oa)(a,b);d._sqlite3_column_blob=(a,b)=>(d._sqlite3_column_blob=V.Pa)(a,b);d._sqlite3_column_bytes=(a,b)=>(d._sqlite3_column_bytes=V.Qa)(a,b);d._sqlite3_column_value=(a,b)=>(d._sqlite3_column_value=V.Ra)(a,b);d._sqlite3_column_double=(a,b)=>(d._sqlite3_column_double=V.Sa)(a,b);d._sqlite3_column_int=(a,b)=>(d._sqlite3_column_int=V.Ta)(a,b);d._sqlite3_column_int64=(a,b)=>(d._sqlite3_column_int64=V.Ua)(a,b);
|
|
119
|
+
d._sqlite3_column_name=(a,b)=>(d._sqlite3_column_name=V.Va)(a,b);d._sqlite3_context_db_handle=a=>(d._sqlite3_context_db_handle=V.Wa)(a);d._sqlite3_create_function_v2=(a,b,c,e,f,h,k,n,l)=>(d._sqlite3_create_function_v2=V.Xa)(a,b,c,e,f,h,k,n,l);d._sqlite3_create_module_v2=(a,b,c,e,f)=>(d._sqlite3_create_module_v2=V.Ya)(a,b,c,e,f);d._sqlite3_declare_vtab=(a,b)=>(d._sqlite3_declare_vtab=V.Za)(a,b);d._sqlite3_errcode=a=>(d._sqlite3_errcode=V._a)(a);d._sqlite3_errmsg=a=>(d._sqlite3_errmsg=V.$a)(a);
|
|
120
|
+
d._sqlite3_exec=(a,b,c,e,f)=>(d._sqlite3_exec=V.ab)(a,b,c,e,f);d._sqlite3_finalize=a=>(d._sqlite3_finalize=V.bb)(a);d._sqlite3_get_auxdata=(a,b)=>(d._sqlite3_get_auxdata=V.cb)(a,b);d._sqlite3_next_stmt=(a,b)=>(d._sqlite3_next_stmt=V.db)(a,b);d._sqlite3_open=(a,b)=>(d._sqlite3_open=V.eb)(a,b);d._sqlite3_prepare_v2=(a,b,c,e,f)=>(d._sqlite3_prepare_v2=V.fb)(a,b,c,e,f);d._sqlite3_prepare_v3=(a,b,c,e,f,h)=>(d._sqlite3_prepare_v3=V.gb)(a,b,c,e,f,h);
|
|
121
|
+
d._sqlite3_randomness=(a,b)=>(d._sqlite3_randomness=V.hb)(a,b);d._sqlite3_result_int=(a,b)=>(d._sqlite3_result_int=V.ib)(a,b);d._sqlite3_result_blob=(a,b,c,e)=>(d._sqlite3_result_blob=V.jb)(a,b,c,e);d._sqlite3_result_int64=(a,b,c)=>(d._sqlite3_result_int64=V.kb)(a,b,c);d._sqlite3_result_double=(a,b)=>(d._sqlite3_result_double=V.lb)(a,b);d._sqlite3_result_null=a=>(d._sqlite3_result_null=V.mb)(a);d._sqlite3_result_pointer=(a,b,c,e)=>(d._sqlite3_result_pointer=V.nb)(a,b,c,e);
|
|
122
|
+
d._sqlite3_result_error=(a,b,c)=>(d._sqlite3_result_error=V.ob)(a,b,c);d._sqlite3_result_error_code=(a,b)=>(d._sqlite3_result_error_code=V.pb)(a,b);d._sqlite3_result_value=(a,b)=>(d._sqlite3_result_value=V.qb)(a,b);d._sqlite3_result_text=(a,b,c,e)=>(d._sqlite3_result_text=V.rb)(a,b,c,e);d._sqlite3_result_subtype=(a,b)=>(d._sqlite3_result_subtype=V.sb)(a,b);d._sqlite3_set_authorizer=(a,b,c)=>(d._sqlite3_set_authorizer=V.tb)(a,b,c);
|
|
123
|
+
d._sqlite3_set_auxdata=(a,b,c,e)=>(d._sqlite3_set_auxdata=V.ub)(a,b,c,e);d._sqlite3_sql=a=>(d._sqlite3_sql=V.vb)(a);d._sqlite3_reset=a=>(d._sqlite3_reset=V.wb)(a);d._sqlite3_value_text=a=>(d._sqlite3_value_text=V.xb)(a);d._sqlite3_value_type=a=>(d._sqlite3_value_type=V.yb)(a);d._sqlite3_value_bytes=a=>(d._sqlite3_value_bytes=V.zb)(a);d._sqlite3_value_blob=a=>(d._sqlite3_value_blob=V.Ab)(a);d._sqlite3_value_int=a=>(d._sqlite3_value_int=V.Bb)(a);d._sqlite3_value_int64=a=>(d._sqlite3_value_int64=V.Cb)(a);
|
|
124
|
+
d._sqlite3_value_double=a=>(d._sqlite3_value_double=V.Db)(a);d._sqlite3_value_pointer=(a,b)=>(d._sqlite3_value_pointer=V.Eb)(a,b);d._sqlite3_vtab_distinct=a=>(d._sqlite3_vtab_distinct=V.Fb)(a);d._sqlite3_get_autocommit=a=>(d._sqlite3_get_autocommit=V.Gb)(a);d._sqlite3_step=a=>(d._sqlite3_step=V.Hb)(a);d._sqlite3_status64=(a,b,c,e)=>(d._sqlite3_status64=V.Ib)(a,b,c,e);d._sqlite3_status=(a,b,c,e)=>(d._sqlite3_status=V.Jb)(a,b,c,e);
|
|
125
|
+
d._sqlite3_db_status=(a,b,c,e,f)=>(d._sqlite3_db_status=V.Kb)(a,b,c,e,f);d._sqlite3_msize=a=>(d._sqlite3_msize=V.Lb)(a);d._sqlite3_vfs_find=a=>(d._sqlite3_vfs_find=V.Mb)(a);d._sqlite3_vfs_register=(a,b)=>(d._sqlite3_vfs_register=V.Nb)(a,b);d._sqlite3_vfs_unregister=a=>(d._sqlite3_vfs_unregister=V.Ob)(a);d._sqlite3_release_memory=a=>(d._sqlite3_release_memory=V.Pb)(a);d._sqlite3_soft_heap_limit64=(a,b)=>(d._sqlite3_soft_heap_limit64=V.Qb)(a,b);d._sqlite3_memory_used=()=>(d._sqlite3_memory_used=V.Rb)();
|
|
126
|
+
d._sqlite3_hard_heap_limit64=(a,b)=>(d._sqlite3_hard_heap_limit64=V.Sb)(a,b);d._sqlite3_memory_highwater=a=>(d._sqlite3_memory_highwater=V.Tb)(a);d._sqlite3_malloc64=(a,b)=>(d._sqlite3_malloc64=V.Ub)(a,b);d._sqlite3_realloc=(a,b)=>(d._sqlite3_realloc=V.Vb)(a,b);d._sqlite3_realloc64=(a,b,c)=>(d._sqlite3_realloc64=V.Wb)(a,b,c);d._sqlite3_str_vappendf=(a,b,c)=>(d._sqlite3_str_vappendf=V.Xb)(a,b,c);d._sqlite3_str_append=(a,b,c)=>(d._sqlite3_str_append=V.Yb)(a,b,c);
|
|
127
|
+
d._sqlite3_str_appendchar=(a,b,c)=>(d._sqlite3_str_appendchar=V.Zb)(a,b,c);d._sqlite3_str_appendall=(a,b)=>(d._sqlite3_str_appendall=V._b)(a,b);d._sqlite3_str_appendf=(a,b,c)=>(d._sqlite3_str_appendf=V.$b)(a,b,c);d._sqlite3_str_finish=a=>(d._sqlite3_str_finish=V.ac)(a);d._sqlite3_str_errcode=a=>(d._sqlite3_str_errcode=V.bc)(a);d._sqlite3_str_length=a=>(d._sqlite3_str_length=V.cc)(a);d._sqlite3_str_value=a=>(d._sqlite3_str_value=V.dc)(a);d._sqlite3_str_reset=a=>(d._sqlite3_str_reset=V.ec)(a);
|
|
128
|
+
d._sqlite3_str_new=a=>(d._sqlite3_str_new=V.fc)(a);d._sqlite3_vmprintf=(a,b)=>(d._sqlite3_vmprintf=V.gc)(a,b);d._sqlite3_mprintf=(a,b)=>(d._sqlite3_mprintf=V.hc)(a,b);d._sqlite3_vsnprintf=(a,b,c,e)=>(d._sqlite3_vsnprintf=V.ic)(a,b,c,e);d._sqlite3_snprintf=(a,b,c,e)=>(d._sqlite3_snprintf=V.jc)(a,b,c,e);d._sqlite3_log=(a,b,c)=>(d._sqlite3_log=V.kc)(a,b,c);d._sqlite3_stricmp=(a,b)=>(d._sqlite3_stricmp=V.lc)(a,b);d._sqlite3_strnicmp=(a,b,c)=>(d._sqlite3_strnicmp=V.mc)(a,b,c);
|
|
129
|
+
d._sqlite3_os_init=()=>(d._sqlite3_os_init=V.nc)();d._sqlite3_os_end=()=>(d._sqlite3_os_end=V.oc)();d._sqlite3_serialize=(a,b,c,e)=>(d._sqlite3_serialize=V.pc)(a,b,c,e);d._sqlite3_deserialize=(a,b,c,e,f,h,k,n)=>(d._sqlite3_deserialize=V.qc)(a,b,c,e,f,h,k,n);d._sqlite3_database_file_object=a=>(d._sqlite3_database_file_object=V.rc)(a);d._sqlite3_backup_init=(a,b,c,e)=>(d._sqlite3_backup_init=V.sc)(a,b,c,e);d._sqlite3_backup_step=(a,b)=>(d._sqlite3_backup_step=V.tc)(a,b);
|
|
130
|
+
d._sqlite3_backup_finish=a=>(d._sqlite3_backup_finish=V.uc)(a);d._sqlite3_backup_remaining=a=>(d._sqlite3_backup_remaining=V.vc)(a);d._sqlite3_backup_pagecount=a=>(d._sqlite3_backup_pagecount=V.wc)(a);d._sqlite3_value_bytes16=a=>(d._sqlite3_value_bytes16=V.xc)(a);d._sqlite3_value_subtype=a=>(d._sqlite3_value_subtype=V.yc)(a);d._sqlite3_value_text16=a=>(d._sqlite3_value_text16=V.zc)(a);d._sqlite3_value_text16be=a=>(d._sqlite3_value_text16be=V.Ac)(a);
|
|
131
|
+
d._sqlite3_value_text16le=a=>(d._sqlite3_value_text16le=V.Bc)(a);d._sqlite3_value_encoding=a=>(d._sqlite3_value_encoding=V.Cc)(a);d._sqlite3_value_nochange=a=>(d._sqlite3_value_nochange=V.Dc)(a);d._sqlite3_value_frombind=a=>(d._sqlite3_value_frombind=V.Ec)(a);d._sqlite3_value_dup=a=>(d._sqlite3_value_dup=V.Fc)(a);d._sqlite3_value_free=a=>(d._sqlite3_value_free=V.Gc)(a);d._sqlite3_result_blob64=(a,b,c,e,f)=>(d._sqlite3_result_blob64=V.Hc)(a,b,c,e,f);
|
|
132
|
+
d._sqlite3_result_error16=(a,b,c)=>(d._sqlite3_result_error16=V.Ic)(a,b,c);d._sqlite3_result_text64=(a,b,c,e,f,h)=>(d._sqlite3_result_text64=V.Jc)(a,b,c,e,f,h);d._sqlite3_result_text16=(a,b,c,e)=>(d._sqlite3_result_text16=V.Kc)(a,b,c,e);d._sqlite3_result_text16be=(a,b,c,e)=>(d._sqlite3_result_text16be=V.Lc)(a,b,c,e);d._sqlite3_result_text16le=(a,b,c,e)=>(d._sqlite3_result_text16le=V.Mc)(a,b,c,e);d._sqlite3_result_error_toobig=a=>(d._sqlite3_result_error_toobig=V.Nc)(a);
|
|
133
|
+
d._sqlite3_result_zeroblob=(a,b)=>(d._sqlite3_result_zeroblob=V.Oc)(a,b);d._sqlite3_result_zeroblob64=(a,b,c)=>(d._sqlite3_result_zeroblob64=V.Pc)(a,b,c);d._sqlite3_result_error_nomem=a=>(d._sqlite3_result_error_nomem=V.Qc)(a);d._sqlite3_user_data=a=>(d._sqlite3_user_data=V.Rc)(a);d._sqlite3_vtab_nochange=a=>(d._sqlite3_vtab_nochange=V.Sc)(a);d._sqlite3_vtab_in_first=(a,b)=>(d._sqlite3_vtab_in_first=V.Tc)(a,b);d._sqlite3_vtab_in_next=(a,b)=>(d._sqlite3_vtab_in_next=V.Uc)(a,b);
|
|
134
|
+
d._sqlite3_aggregate_context=(a,b)=>(d._sqlite3_aggregate_context=V.Vc)(a,b);d._sqlite3_data_count=a=>(d._sqlite3_data_count=V.Wc)(a);d._sqlite3_column_bytes16=(a,b)=>(d._sqlite3_column_bytes16=V.Xc)(a,b);d._sqlite3_column_text16=(a,b)=>(d._sqlite3_column_text16=V.Yc)(a,b);d._sqlite3_column_name16=(a,b)=>(d._sqlite3_column_name16=V.Zc)(a,b);d._sqlite3_bind_blob64=(a,b,c,e,f,h)=>(d._sqlite3_bind_blob64=V._c)(a,b,c,e,f,h);
|
|
135
|
+
d._sqlite3_bind_text64=(a,b,c,e,f,h,k)=>(d._sqlite3_bind_text64=V.$c)(a,b,c,e,f,h,k);d._sqlite3_bind_text16=(a,b,c,e,f)=>(d._sqlite3_bind_text16=V.ad)(a,b,c,e,f);d._sqlite3_bind_zeroblob=(a,b,c)=>(d._sqlite3_bind_zeroblob=V.bd)(a,b,c);d._sqlite3_bind_zeroblob64=(a,b,c,e)=>(d._sqlite3_bind_zeroblob64=V.cd)(a,b,c,e);d._sqlite3_bind_parameter_count=a=>(d._sqlite3_bind_parameter_count=V.dd)(a);d._sqlite3_bind_parameter_name=(a,b)=>(d._sqlite3_bind_parameter_name=V.ed)(a,b);
|
|
136
|
+
d._sqlite3_bind_parameter_index=(a,b)=>(d._sqlite3_bind_parameter_index=V.fd)(a,b);d._sqlite3_db_handle=a=>(d._sqlite3_db_handle=V.gd)(a);d._sqlite3_stmt_readonly=a=>(d._sqlite3_stmt_readonly=V.hd)(a);d._sqlite3_stmt_isexplain=a=>(d._sqlite3_stmt_isexplain=V.id)(a);d._sqlite3_stmt_explain=(a,b)=>(d._sqlite3_stmt_explain=V.jd)(a,b);d._sqlite3_stmt_busy=a=>(d._sqlite3_stmt_busy=V.kd)(a);d._sqlite3_stmt_status=(a,b,c)=>(d._sqlite3_stmt_status=V.ld)(a,b,c);
|
|
137
|
+
d._sqlite3_expanded_sql=a=>(d._sqlite3_expanded_sql=V.md)(a);d._sqlite3_value_numeric_type=a=>(d._sqlite3_value_numeric_type=V.nd)(a);d._sqlite3_blob_open=(a,b,c,e,f,h,k,n)=>(d._sqlite3_blob_open=V.od)(a,b,c,e,f,h,k,n);d._sqlite3_blob_close=a=>(d._sqlite3_blob_close=V.pd)(a);d._sqlite3_blob_read=(a,b,c,e)=>(d._sqlite3_blob_read=V.qd)(a,b,c,e);d._sqlite3_blob_write=(a,b,c,e)=>(d._sqlite3_blob_write=V.rd)(a,b,c,e);d._sqlite3_blob_bytes=a=>(d._sqlite3_blob_bytes=V.sd)(a);
|
|
138
|
+
d._sqlite3_blob_reopen=(a,b,c)=>(d._sqlite3_blob_reopen=V.td)(a,b,c);d._sqlite3_strglob=(a,b)=>(d._sqlite3_strglob=V.ud)(a,b);d._sqlite3_strlike=(a,b,c)=>(d._sqlite3_strlike=V.vd)(a,b,c);d._sqlite3_cancel_auto_extension=a=>(d._sqlite3_cancel_auto_extension=V.wd)(a);d._sqlite3_reset_auto_extension=()=>(d._sqlite3_reset_auto_extension=V.xd)();d._sqlite3_prepare=(a,b,c,e,f)=>(d._sqlite3_prepare=V.yd)(a,b,c,e,f);d._sqlite3_prepare16=(a,b,c,e,f)=>(d._sqlite3_prepare16=V.zd)(a,b,c,e,f);
|
|
139
|
+
d._sqlite3_prepare16_v2=(a,b,c,e,f)=>(d._sqlite3_prepare16_v2=V.Ad)(a,b,c,e,f);d._sqlite3_prepare16_v3=(a,b,c,e,f,h)=>(d._sqlite3_prepare16_v3=V.Bd)(a,b,c,e,f,h);d._sqlite3_get_table=(a,b,c,e,f,h)=>(d._sqlite3_get_table=V.Cd)(a,b,c,e,f,h);d._sqlite3_free_table=a=>(d._sqlite3_free_table=V.Dd)(a);d._sqlite3_create_module=(a,b,c,e)=>(d._sqlite3_create_module=V.Ed)(a,b,c,e);d._sqlite3_drop_modules=(a,b)=>(d._sqlite3_drop_modules=V.Fd)(a,b);d._sqlite3_vtab_on_conflict=a=>(d._sqlite3_vtab_on_conflict=V.Gd)(a);
|
|
140
|
+
d._sqlite3_vtab_collation=(a,b)=>(d._sqlite3_vtab_collation=V.Hd)(a,b);d._sqlite3_vtab_in=(a,b,c)=>(d._sqlite3_vtab_in=V.Id)(a,b,c);d._sqlite3_vtab_rhs_value=(a,b,c)=>(d._sqlite3_vtab_rhs_value=V.Jd)(a,b,c);d._sqlite3_keyword_name=(a,b,c)=>(d._sqlite3_keyword_name=V.Kd)(a,b,c);d._sqlite3_keyword_count=()=>(d._sqlite3_keyword_count=V.Ld)();d._sqlite3_keyword_check=(a,b)=>(d._sqlite3_keyword_check=V.Md)(a,b);d._sqlite3_complete=a=>(d._sqlite3_complete=V.Nd)(a);
|
|
141
|
+
d._sqlite3_complete16=a=>(d._sqlite3_complete16=V.Od)(a);d._sqlite3_libversion=()=>(d._sqlite3_libversion=V.Pd)();d._sqlite3_libversion_number=()=>(d._sqlite3_libversion_number=V.Qd)();d._sqlite3_threadsafe=()=>(d._sqlite3_threadsafe=V.Rd)();d._sqlite3_initialize=()=>(d._sqlite3_initialize=V.Sd)();d._sqlite3_config=(a,b)=>(d._sqlite3_config=V.Td)(a,b);d._sqlite3_db_mutex=a=>(d._sqlite3_db_mutex=V.Ud)(a);d._sqlite3_db_release_memory=a=>(d._sqlite3_db_release_memory=V.Vd)(a);
|
|
142
|
+
d._sqlite3_db_cacheflush=a=>(d._sqlite3_db_cacheflush=V.Wd)(a);d._sqlite3_db_config=(a,b,c)=>(d._sqlite3_db_config=V.Xd)(a,b,c);d._sqlite3_last_insert_rowid=a=>(d._sqlite3_last_insert_rowid=V.Yd)(a);d._sqlite3_set_last_insert_rowid=(a,b,c)=>(d._sqlite3_set_last_insert_rowid=V.Zd)(a,b,c);d._sqlite3_changes64=a=>(d._sqlite3_changes64=V._d)(a);d._sqlite3_changes=a=>(d._sqlite3_changes=V.$d)(a);d._sqlite3_total_changes64=a=>(d._sqlite3_total_changes64=V.ae)(a);
|
|
143
|
+
d._sqlite3_total_changes=a=>(d._sqlite3_total_changes=V.be)(a);d._sqlite3_txn_state=(a,b)=>(d._sqlite3_txn_state=V.ce)(a,b);d._sqlite3_close_v2=a=>(d._sqlite3_close_v2=V.de)(a);d._sqlite3_busy_handler=(a,b,c)=>(d._sqlite3_busy_handler=V.ee)(a,b,c);d._sqlite3_progress_handler=(a,b,c,e)=>(d._sqlite3_progress_handler=V.fe)(a,b,c,e);d._sqlite3_busy_timeout=(a,b)=>(d._sqlite3_busy_timeout=V.ge)(a,b);d._sqlite3_interrupt=a=>(d._sqlite3_interrupt=V.he)(a);
|
|
144
|
+
d._sqlite3_is_interrupted=a=>(d._sqlite3_is_interrupted=V.ie)(a);d._sqlite3_create_function=(a,b,c,e,f,h,k,n)=>(d._sqlite3_create_function=V.je)(a,b,c,e,f,h,k,n);d._sqlite3_create_window_function=(a,b,c,e,f,h,k,n,l,m)=>(d._sqlite3_create_window_function=V.ke)(a,b,c,e,f,h,k,n,l,m);d._sqlite3_create_function16=(a,b,c,e,f,h,k,n)=>(d._sqlite3_create_function16=V.le)(a,b,c,e,f,h,k,n);d._sqlite3_overload_function=(a,b,c)=>(d._sqlite3_overload_function=V.me)(a,b,c);
|
|
145
|
+
d._sqlite3_trace_v2=(a,b,c,e)=>(d._sqlite3_trace_v2=V.ne)(a,b,c,e);d._sqlite3_update_hook=(a,b,c)=>(d._sqlite3_update_hook=V.oe)(a,b,c);d._sqlite3_rollback_hook=(a,b,c)=>(d._sqlite3_rollback_hook=V.pe)(a,b,c);d._sqlite3_autovacuum_pages=(a,b,c,e)=>(d._sqlite3_autovacuum_pages=V.qe)(a,b,c,e);d._sqlite3_wal_autocheckpoint=(a,b)=>(d._sqlite3_wal_autocheckpoint=V.re)(a,b);d._sqlite3_wal_hook=(a,b,c)=>(d._sqlite3_wal_hook=V.se)(a,b,c);
|
|
146
|
+
d._sqlite3_wal_checkpoint_v2=(a,b,c,e,f)=>(d._sqlite3_wal_checkpoint_v2=V.te)(a,b,c,e,f);d._sqlite3_wal_checkpoint=(a,b)=>(d._sqlite3_wal_checkpoint=V.ue)(a,b);d._sqlite3_error_offset=a=>(d._sqlite3_error_offset=V.ve)(a);d._sqlite3_errmsg16=a=>(d._sqlite3_errmsg16=V.we)(a);d._sqlite3_extended_errcode=a=>(d._sqlite3_extended_errcode=V.xe)(a);d._sqlite3_system_errno=a=>(d._sqlite3_system_errno=V.ye)(a);d._sqlite3_errstr=a=>(d._sqlite3_errstr=V.ze)(a);
|
|
147
|
+
d._sqlite3_limit=(a,b,c)=>(d._sqlite3_limit=V.Ae)(a,b,c);d._sqlite3_open_v2=(a,b,c,e)=>(d._sqlite3_open_v2=V.Be)(a,b,c,e);d._sqlite3_open16=(a,b)=>(d._sqlite3_open16=V.Ce)(a,b);d._sqlite3_create_collation=(a,b,c,e,f)=>(d._sqlite3_create_collation=V.De)(a,b,c,e,f);d._sqlite3_create_collation_v2=(a,b,c,e,f,h)=>(d._sqlite3_create_collation_v2=V.Ee)(a,b,c,e,f,h);d._sqlite3_create_collation16=(a,b,c,e,f)=>(d._sqlite3_create_collation16=V.Fe)(a,b,c,e,f);
|
|
148
|
+
d._sqlite3_collation_needed=(a,b,c)=>(d._sqlite3_collation_needed=V.Ge)(a,b,c);d._sqlite3_collation_needed16=(a,b,c)=>(d._sqlite3_collation_needed16=V.He)(a,b,c);d._sqlite3_get_clientdata=(a,b)=>(d._sqlite3_get_clientdata=V.Ie)(a,b);d._sqlite3_set_clientdata=(a,b,c,e)=>(d._sqlite3_set_clientdata=V.Je)(a,b,c,e);d._sqlite3_table_column_metadata=(a,b,c,e,f,h,k,n,l)=>(d._sqlite3_table_column_metadata=V.Ke)(a,b,c,e,f,h,k,n,l);d._sqlite3_sleep=a=>(d._sqlite3_sleep=V.Le)(a);
|
|
149
|
+
d._sqlite3_extended_result_codes=(a,b)=>(d._sqlite3_extended_result_codes=V.Me)(a,b);d._sqlite3_file_control=(a,b,c,e)=>(d._sqlite3_file_control=V.Ne)(a,b,c,e);d._sqlite3_test_control=(a,b)=>(d._sqlite3_test_control=V.Oe)(a,b);d._sqlite3_create_filename=(a,b,c,e,f)=>(d._sqlite3_create_filename=V.Pe)(a,b,c,e,f);d._sqlite3_free_filename=a=>(d._sqlite3_free_filename=V.Qe)(a);d._sqlite3_uri_parameter=(a,b)=>(d._sqlite3_uri_parameter=V.Re)(a,b);d._sqlite3_uri_key=(a,b)=>(d._sqlite3_uri_key=V.Se)(a,b);
|
|
150
|
+
d._sqlite3_uri_boolean=(a,b,c)=>(d._sqlite3_uri_boolean=V.Te)(a,b,c);d._sqlite3_uri_int64=(a,b,c,e)=>(d._sqlite3_uri_int64=V.Ue)(a,b,c,e);d._sqlite3_filename_database=a=>(d._sqlite3_filename_database=V.Ve)(a);d._sqlite3_filename_journal=a=>(d._sqlite3_filename_journal=V.We)(a);d._sqlite3_filename_wal=a=>(d._sqlite3_filename_wal=V.Xe)(a);d._sqlite3_db_name=(a,b)=>(d._sqlite3_db_name=V.Ye)(a,b);d._sqlite3_db_filename=(a,b)=>(d._sqlite3_db_filename=V.Ze)(a,b);
|
|
151
|
+
d._sqlite3_db_readonly=(a,b)=>(d._sqlite3_db_readonly=V._e)(a,b);d._sqlite3_compileoption_used=a=>(d._sqlite3_compileoption_used=V.$e)(a);d._sqlite3_compileoption_get=a=>(d._sqlite3_compileoption_get=V.af)(a);d._sqlite3_sourceid=()=>(d._sqlite3_sourceid=V.bf)();var Zc=d._malloc=a=>(Zc=d._malloc=V.cf)(a),dd=d._free=a=>(dd=d._free=V.df)(a);d._RegisterExtensionFunctions=a=>(d._RegisterExtensionFunctions=V.ef)(a);d._set_authorizer=a=>(d._set_authorizer=V.ff)(a);
|
|
152
|
+
d._create_function=(a,b,c,e,f,h)=>(d._create_function=V.gf)(a,b,c,e,f,h);d._on_tables_changed=(a,b,c,e,f,h)=>(d._on_tables_changed=V.hf)(a,b,c,e,f,h);d._register_table_update_hook=a=>(d._register_table_update_hook=V.jf)(a);d._create_module=(a,b,c,e)=>(d._create_module=V.kf)(a,b,c,e);d._progress_handler=(a,b)=>(d._progress_handler=V.lf)(a,b);d._register_vfs=(a,b,c,e)=>(d._register_vfs=V.mf)(a,b,c,e);d._getSqliteFree=()=>(d._getSqliteFree=V.nf)();var pd=d._main=(a,b)=>(pd=d._main=V.of)(a,b);
|
|
153
|
+
d._setup_powersync=()=>(d._setup_powersync=V.pf)();var fb=(a,b)=>(fb=V.rf)(a,b),qd=()=>(qd=V.sf)(),kd=a=>(kd=V.tf)(a),ld=a=>(ld=V.uf)(a),md=()=>(md=V.vf)(),bd=a=>(bd=V.wf)(a),Qc=()=>(Qc=V.xf)(),ad=a=>(ad=V.yf)(a),cd=()=>(cd=V.zf)();d._sqlite3_version=44971;d.getTempRet0=()=>qd();d.ccall=Z;d.cwrap=(a,b,c,e)=>{var f=!c||c.every(h=>"number"===h||"boolean"===h);return"string"!==b&&f&&!e?d["_"+a]:(...h)=>Z(a,b,c,h,e)};
|
|
154
|
+
d.addFunction=(a,b)=>{if(!hd){hd=new WeakMap;var c=gd.length;if(hd)for(var e=0;e<0+c;e++){var f=gd.get(e);f&&hd.set(f,e)}}if(c=hd.get(a)||0)return c;if(jd.length)c=jd.pop();else{try{gd.grow(1)}catch(n){if(!(n instanceof RangeError))throw n;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.";}c=gd.length-1}try{gd.set(c,a)}catch(n){if(!(n instanceof TypeError))throw n;if("function"==typeof WebAssembly.Function){e=WebAssembly.Function;f={i:"i32",j:"i64",f:"f32",d:"f64",e:"externref",p:"i32"};for(var h=
|
|
155
|
+
{parameters:[],results:"v"==b[0]?[]:[f[b[0]]]},k=1;k<b.length;++k)h.parameters.push(f[b[k]]);b=new e(h,a)}else{e=[1];f=b.slice(0,1);b=b.slice(1);h={i:127,p:127,j:126,f:125,d:124,e:111};e.push(96);k=b.length;128>k?e.push(k):e.push(k%128|128,k>>7);for(k=0;k<b.length;++k)e.push(h[b[k]]);"v"==f?e.push(0):e.push(1,h[f]);b=[0,97,115,109,1,0,0,0,1];f=e.length;128>f?b.push(f):b.push(f%128|128,f>>7);b.push(...e);b.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);b=new WebAssembly.Module(new Uint8Array(b));b=(new WebAssembly.Instance(b,
|
|
156
|
+
{e:{f:a}})).exports.f}gd.set(c,b)}hd.set(a,c);return c};d.setValue=I;d.getValue=H;d.UTF8ToString=(a,b)=>a?J(w,a,b):"";d.stringToUTF8=(a,b,c)=>K(a,w,b,c);d.lengthBytesUTF8=Ta;d.intArrayFromString=Ua;d.intArrayToString=function(a){for(var b=[],c=0;c<a.length;c++){var e=a[c];255<e&&(e&=255);b.push(String.fromCharCode(e))}return b.join("")};d.AsciiToString=a=>{for(var b="";;){var c=w[a++];if(!c)return b;b+=String.fromCharCode(c)}};
|
|
157
|
+
d.UTF16ToString=(a,b)=>{var c=a>>1;for(var e=c+b/2;!(c>=e)&&oa[c];)++c;c<<=1;if(32<c-a&&nd)return nd.decode(w.subarray(a,c));c="";for(e=0;!(e>=b/2);++e){var f=x[a+2*e>>1];if(0==f)break;c+=String.fromCharCode(f)}return c};d.stringToUTF16=(a,b,c)=>{c??=2147483647;if(2>c)return 0;c-=2;var e=b;c=c<2*a.length?c/2:a.length;for(var f=0;f<c;++f)x[b>>1]=a.charCodeAt(f),b+=2;x[b>>1]=0;return b-e};
|
|
158
|
+
d.UTF32ToString=(a,b)=>{for(var c=0,e="";!(c>=b/4);){var f=z[a+4*c>>2];if(0==f)break;++c;65536<=f?(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023)):e+=String.fromCharCode(f)}return e};d.stringToUTF32=(a,b,c)=>{c??=2147483647;if(4>c)return 0;var e=b;c=e+c-4;for(var f=0;f<a.length;++f){var h=a.charCodeAt(f);if(55296<=h&&57343>=h){var k=a.charCodeAt(++f);h=65536+((h&1023)<<10)|k&1023}z[b>>2]=h;b+=4;if(b+4>c)break}z[b>>2]=0;return b-e};d.writeArrayToMemory=(a,b)=>{v.set(a,b)};var rd;
|
|
159
|
+
za=function sd(){rd||td();rd||(za=sd)};
|
|
160
|
+
function td(){function a(){if(!rd&&(rd=!0,d.calledRun=!0,!u)){d.noFSInit||Kb||(Kb=!0,d.stdin=d.stdin,d.stdout=d.stdout,d.stderr=d.stderr,d.stdin?Lb("stdin",d.stdin):Bb("/dev/tty","/dev/stdin"),d.stdout?Lb("stdout",null,d.stdout):Bb("/dev/tty","/dev/stdout"),d.stderr?Lb("stderr",null,d.stderr):Bb("/dev/tty1","/dev/stderr"),Hb("/dev/stdin",0),Hb("/dev/stdout",1),Hb("/dev/stderr",1));lb=!1;Ia(ta);Ia(ua);aa(d);if(d.onRuntimeInitialized)d.onRuntimeInitialized();if(ud){var b=pd;try{var c=b(0,0);na=c;Kc(c)}catch(e){Lc(e)}}if(d.postRun)for("function"==
|
|
161
|
+
typeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;)b=d.postRun.shift(),va.unshift(b);Ia(va)}}if(!(0<xa)){if(d.preRun)for("function"==typeof d.preRun&&(d.preRun=[d.preRun]);d.preRun.length;)wa();Ia(sa);0<xa||(d.setStatus?(d.setStatus("Running..."),setTimeout(function(){setTimeout(function(){d.setStatus("")},1);a()},1)):a())}}if(d.preInit)for("function"==typeof d.preInit&&(d.preInit=[d.preInit]);0<d.preInit.length;)d.preInit.pop()();var ud=!0;d.noInitialRun&&(ud=!1);td();
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
return readyPromise
|
|
165
|
+
}
|
|
166
|
+
);
|
|
167
|
+
})();
|
|
168
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (Module);
|
|
169
|
+
|
|
170
|
+
/***/ })
|
|
171
|
+
|
|
172
|
+
}]);
|
|
173
|
+
//# sourceMappingURL=vendors-node_modules_journeyapps_wa-sqlite_dist_wa-sqlite-async_mjs.index.umd.js.map
|
package/dist/vendors-node_modules_journeyapps_wa-sqlite_dist_wa-sqlite-async_mjs.index.umd.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vendors-node_modules_journeyapps_wa-sqlite_dist_wa-sqlite-async_mjs.index.umd.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":["webpack://sdk_web/../../node_modules/@journeyapps/wa-sqlite/dist/wa-sqlite-async.mjs"],"sourcesContent":["\nvar Module = (() => {\n var _scriptDir = import.meta.url;\n \n return (\nfunction(moduleArg = {}) {\n\nvar d=moduleArg,aa,ba,readyPromise=new Promise((a,b)=>{aa=a;ba=b}),ca=Object.assign({},d),da=\"./this.program\",ea=(a,b)=>{throw b;},fa=\"object\"==typeof window,ha=\"function\"==typeof importScripts,g=\"\",ia;\nif(fa||ha)ha?g=self.location.href:\"undefined\"!=typeof document&&document.currentScript&&(g=document.currentScript.src),_scriptDir&&(g=_scriptDir),g.startsWith(\"blob:\")?g=\"\":g=g.substr(0,g.replace(/[?#].*/,\"\").lastIndexOf(\"/\")+1),ha&&(ia=a=>{var b=new XMLHttpRequest;b.open(\"GET\",a,!1);b.responseType=\"arraybuffer\";b.send(null);return new Uint8Array(b.response)});var ja=d.print||console.log.bind(console),r=d.printErr||console.error.bind(console);Object.assign(d,ca);ca=null;d.thisProgram&&(da=d.thisProgram);\nd.quit&&(ea=d.quit);var la;d.wasmBinary&&(la=d.wasmBinary);var ma,u=!1,na,v,w,x,oa,z,B,pa,qa;function ra(){var a=ma.buffer;d.HEAP8=v=new Int8Array(a);d.HEAP16=x=new Int16Array(a);d.HEAPU8=w=new Uint8Array(a);d.HEAPU16=oa=new Uint16Array(a);d.HEAP32=z=new Int32Array(a);d.HEAPU32=B=new Uint32Array(a);d.HEAPF32=pa=new Float32Array(a);d.HEAPF64=qa=new Float64Array(a)}var sa=[],ta=[],ua=[],va=[];function wa(){var a=d.preRun.shift();sa.unshift(a)}var xa=0,ya=null,za=null;\nfunction C(a){d.onAbort?.(a);a=\"Aborted(\"+a+\")\";r(a);u=!0;na=1;a=new WebAssembly.RuntimeError(a+\". Build with -sASSERTIONS for more info.\");ba(a);throw a;}var Aa=a=>a.startsWith(\"data:application/octet-stream;base64,\"),Ba;if(d.locateFile){if(Ba=\"wa-sqlite-async.wasm\",!Aa(Ba)){var Ca=Ba;Ba=d.locateFile?d.locateFile(Ca,g):g+Ca}}else Ba=(new URL(\"wa-sqlite-async.wasm\",import.meta.url)).href;\nfunction Da(a){if(a==Ba&&la)return new Uint8Array(la);if(ia)return ia(a);throw\"both async and sync fetching of the wasm failed\";}function Ea(a){return la||!fa&&!ha||\"function\"!=typeof fetch?Promise.resolve().then(()=>Da(a)):fetch(a,{credentials:\"same-origin\"}).then(b=>{if(!b.ok)throw`failed to load wasm binary file at '${a}'`;return b.arrayBuffer()}).catch(()=>Da(a))}\nfunction Fa(a,b,c){return Ea(a).then(e=>WebAssembly.instantiate(e,b)).then(c,e=>{r(`failed to asynchronously prepare wasm: ${e}`);C(e)})}function Ga(a,b){var c=Ba;return la||\"function\"!=typeof WebAssembly.instantiateStreaming||Aa(c)||\"function\"!=typeof fetch?Fa(c,a,b):fetch(c,{credentials:\"same-origin\"}).then(e=>WebAssembly.instantiateStreaming(e,a).then(b,function(f){r(`wasm streaming compile failed: ${f}`);r(\"falling back to ArrayBuffer instantiation\");return Fa(c,a,b)}))}var D,F;\nfunction Ha(a){this.name=\"ExitStatus\";this.message=`Program terminated with exit(${a})`;this.status=a}var Ia=a=>{for(;0<a.length;)a.shift()(d)};function H(a,b=\"i8\"){b.endsWith(\"*\")&&(b=\"*\");switch(b){case \"i1\":return v[a];case \"i8\":return v[a];case \"i16\":return x[a>>1];case \"i32\":return z[a>>2];case \"i64\":C(\"to do getValue(i64) use WASM_BIGINT\");case \"float\":return pa[a>>2];case \"double\":return qa[a>>3];case \"*\":return B[a>>2];default:C(`invalid type for getValue: ${b}`)}}\nvar Ja=d.noExitRuntime||!0;function I(a,b,c=\"i8\"){c.endsWith(\"*\")&&(c=\"*\");switch(c){case \"i1\":v[a]=b;break;case \"i8\":v[a]=b;break;case \"i16\":x[a>>1]=b;break;case \"i32\":z[a>>2]=b;break;case \"i64\":C(\"to do setValue(i64) use WASM_BIGINT\");case \"float\":pa[a>>2]=b;break;case \"double\":qa[a>>3]=b;break;case \"*\":B[a>>2]=b;break;default:C(`invalid type for setValue: ${c}`)}}\nvar Ka=\"undefined\"!=typeof TextDecoder?new TextDecoder(\"utf8\"):void 0,J=(a,b,c)=>{var e=b+c;for(c=b;a[c]&&!(c>=e);)++c;if(16<c-b&&a.buffer&&Ka)return Ka.decode(a.subarray(b,c));for(e=\"\";b<c;){var f=a[b++];if(f&128){var h=a[b++]&63;if(192==(f&224))e+=String.fromCharCode((f&31)<<6|h);else{var k=a[b++]&63;f=224==(f&240)?(f&15)<<12|h<<6|k:(f&7)<<18|h<<12|k<<6|a[b++]&63;65536>f?e+=String.fromCharCode(f):(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023))}}else e+=String.fromCharCode(f)}return e},\nLa=(a,b)=>{for(var c=0,e=a.length-1;0<=e;e--){var f=a[e];\".\"===f?a.splice(e,1):\"..\"===f?(a.splice(e,1),c++):c&&(a.splice(e,1),c--)}if(b)for(;c;c--)a.unshift(\"..\");return a},Ma=a=>{var b=\"/\"===a.charAt(0),c=\"/\"===a.substr(-1);(a=La(a.split(\"/\").filter(e=>!!e),!b).join(\"/\"))||b||(a=\".\");a&&c&&(a+=\"/\");return(b?\"/\":\"\")+a},Na=a=>{var b=/^(\\/?|)([\\s\\S]*?)((?:\\.{1,2}|[^\\/]+?|)(\\.[^.\\/]*|))(?:[\\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return\".\";b&&=b.substr(0,b.length-1);return a+b},Oa=a=>{if(\"/\"===\na)return\"/\";a=Ma(a);a=a.replace(/\\/$/,\"\");var b=a.lastIndexOf(\"/\");return-1===b?a:a.substr(b+1)},Pa=()=>{if(\"object\"==typeof crypto&&\"function\"==typeof crypto.getRandomValues)return a=>crypto.getRandomValues(a);C(\"initRandomDevice\")},Qa=a=>(Qa=Pa())(a),Ra=(...a)=>{for(var b=\"\",c=!1,e=a.length-1;-1<=e&&!c;e--){c=0<=e?a[e]:\"/\";if(\"string\"!=typeof c)throw new TypeError(\"Arguments to path.resolve must be strings\");if(!c)return\"\";b=c+\"/\"+b;c=\"/\"===c.charAt(0)}b=La(b.split(\"/\").filter(f=>!!f),!c).join(\"/\");\nreturn(c?\"/\":\"\")+b||\".\"},Sa=[],Ta=a=>{for(var b=0,c=0;c<a.length;++c){var e=a.charCodeAt(c);127>=e?b++:2047>=e?b+=2:55296<=e&&57343>=e?(b+=4,++c):b+=3}return b},K=(a,b,c,e)=>{if(!(0<e))return 0;var f=c;e=c+e-1;for(var h=0;h<a.length;++h){var k=a.charCodeAt(h);if(55296<=k&&57343>=k){var n=a.charCodeAt(++h);k=65536+((k&1023)<<10)|n&1023}if(127>=k){if(c>=e)break;b[c++]=k}else{if(2047>=k){if(c+1>=e)break;b[c++]=192|k>>6}else{if(65535>=k){if(c+2>=e)break;b[c++]=224|k>>12}else{if(c+3>=e)break;b[c++]=240|\nk>>18;b[c++]=128|k>>12&63}b[c++]=128|k>>6&63}b[c++]=128|k&63}}b[c]=0;return c-f};function Ua(a,b,c){c=Array(0<c?c:Ta(a)+1);a=K(a,c,0,c.length);b&&(c.length=a);return c}var Va=[];function Wa(a,b){Va[a]={input:[],Gf:[],Rf:b};Xa(a,Ya)}\nvar Ya={open(a){var b=Va[a.node.Uf];if(!b)throw new N(43);a.Hf=b;a.seekable=!1},close(a){a.Hf.Rf.Xf(a.Hf)},Xf(a){a.Hf.Rf.Xf(a.Hf)},read(a,b,c,e){if(!a.Hf||!a.Hf.Rf.lg)throw new N(60);for(var f=0,h=0;h<e;h++){try{var k=a.Hf.Rf.lg(a.Hf)}catch(n){throw new N(29);}if(void 0===k&&0===f)throw new N(6);if(null===k||void 0===k)break;f++;b[c+h]=k}f&&(a.node.timestamp=Date.now());return f},write(a,b,c,e){if(!a.Hf||!a.Hf.Rf.fg)throw new N(60);try{for(var f=0;f<e;f++)a.Hf.Rf.fg(a.Hf,b[c+f])}catch(h){throw new N(29);\n}e&&(a.node.timestamp=Date.now());return f}},Za={lg(){a:{if(!Sa.length){var a=null;\"undefined\"!=typeof window&&\"function\"==typeof window.prompt?(a=window.prompt(\"Input: \"),null!==a&&(a+=\"\\n\")):\"function\"==typeof readline&&(a=readline(),null!==a&&(a+=\"\\n\"));if(!a){a=null;break a}Sa=Ua(a,!0)}a=Sa.shift()}return a},fg(a,b){null===b||10===b?(ja(J(a.Gf,0)),a.Gf=[]):0!=b&&a.Gf.push(b)},Xf(a){a.Gf&&0<a.Gf.length&&(ja(J(a.Gf,0)),a.Gf=[])},Mg(){return{Hg:25856,Jg:5,Gg:191,Ig:35387,Fg:[3,28,127,21,4,0,1,0,\n17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},Ng(){return 0},Og(){return[24,80]}},$a={fg(a,b){null===b||10===b?(r(J(a.Gf,0)),a.Gf=[]):0!=b&&a.Gf.push(b)},Xf(a){a.Gf&&0<a.Gf.length&&(r(J(a.Gf,0)),a.Gf=[])}};function ab(a,b){var c=a.Cf?a.Cf.length:0;c>=b||(b=Math.max(b,c*(1048576>c?2:1.125)>>>0),0!=c&&(b=Math.max(b,256)),c=a.Cf,a.Cf=new Uint8Array(b),0<a.Ef&&a.Cf.set(c.subarray(0,a.Ef),0))}\nvar O={Kf:null,Jf(){return O.createNode(null,\"/\",16895,0)},createNode(a,b,c,e){if(24576===(c&61440)||4096===(c&61440))throw new N(63);O.Kf||(O.Kf={dir:{node:{If:O.Af.If,Ff:O.Af.Ff,Sf:O.Af.Sf,Yf:O.Af.Yf,pg:O.Af.pg,cg:O.Af.cg,ag:O.Af.ag,og:O.Af.og,bg:O.Af.bg},stream:{Of:O.Bf.Of}},file:{node:{If:O.Af.If,Ff:O.Af.Ff},stream:{Of:O.Bf.Of,read:O.Bf.read,write:O.Bf.write,ig:O.Bf.ig,Zf:O.Bf.Zf,$f:O.Bf.$f}},link:{node:{If:O.Af.If,Ff:O.Af.Ff,Vf:O.Af.Vf},stream:{}},jg:{node:{If:O.Af.If,Ff:O.Af.Ff},stream:bb}});\nc=cb(a,b,c,e);P(c.mode)?(c.Af=O.Kf.dir.node,c.Bf=O.Kf.dir.stream,c.Cf={}):32768===(c.mode&61440)?(c.Af=O.Kf.file.node,c.Bf=O.Kf.file.stream,c.Ef=0,c.Cf=null):40960===(c.mode&61440)?(c.Af=O.Kf.link.node,c.Bf=O.Kf.link.stream):8192===(c.mode&61440)&&(c.Af=O.Kf.jg.node,c.Bf=O.Kf.jg.stream);c.timestamp=Date.now();a&&(a.Cf[b]=c,a.timestamp=c.timestamp);return c},Lg(a){return a.Cf?a.Cf.subarray?a.Cf.subarray(0,a.Ef):new Uint8Array(a.Cf):new Uint8Array(0)},Af:{If(a){var b={};b.vg=8192===(a.mode&61440)?a.id:\n1;b.mg=a.id;b.mode=a.mode;b.Bg=1;b.uid=0;b.yg=0;b.Uf=a.Uf;P(a.mode)?b.size=4096:32768===(a.mode&61440)?b.size=a.Ef:40960===(a.mode&61440)?b.size=a.link.length:b.size=0;b.rg=new Date(a.timestamp);b.Ag=new Date(a.timestamp);b.ug=new Date(a.timestamp);b.sg=4096;b.tg=Math.ceil(b.size/b.sg);return b},Ff(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);if(void 0!==b.size&&(b=b.size,a.Ef!=b))if(0==b)a.Cf=null,a.Ef=0;else{var c=a.Cf;a.Cf=new Uint8Array(b);c&&a.Cf.set(c.subarray(0,\nMath.min(b,a.Ef)));a.Ef=b}},Sf(){throw db[44];},Yf(a,b,c,e){return O.createNode(a,b,c,e)},pg(a,b,c){if(P(a.mode)){try{var e=eb(b,c)}catch(h){}if(e)for(var f in e.Cf)throw new N(55);}delete a.parent.Cf[a.name];a.parent.timestamp=Date.now();a.name=c;b.Cf[c]=a;b.timestamp=a.parent.timestamp;a.parent=b},cg(a,b){delete a.Cf[b];a.timestamp=Date.now()},ag(a,b){var c=eb(a,b),e;for(e in c.Cf)throw new N(55);delete a.Cf[b];a.timestamp=Date.now()},og(a){var b=[\".\",\"..\"],c;for(c of Object.keys(a.Cf))b.push(c);\nreturn b},bg(a,b,c){a=O.createNode(a,b,41471,0);a.link=c;return a},Vf(a){if(40960!==(a.mode&61440))throw new N(28);return a.link}},Bf:{read(a,b,c,e,f){var h=a.node.Cf;if(f>=a.node.Ef)return 0;a=Math.min(a.node.Ef-f,e);if(8<a&&h.subarray)b.set(h.subarray(f,f+a),c);else for(e=0;e<a;e++)b[c+e]=h[f+e];return a},write(a,b,c,e,f,h){b.buffer===v.buffer&&(h=!1);if(!e)return 0;a=a.node;a.timestamp=Date.now();if(b.subarray&&(!a.Cf||a.Cf.subarray)){if(h)return a.Cf=b.subarray(c,c+e),a.Ef=e;if(0===a.Ef&&0===\nf)return a.Cf=b.slice(c,c+e),a.Ef=e;if(f+e<=a.Ef)return a.Cf.set(b.subarray(c,c+e),f),e}ab(a,f+e);if(a.Cf.subarray&&b.subarray)a.Cf.set(b.subarray(c,c+e),f);else for(h=0;h<e;h++)a.Cf[f+h]=b[c+h];a.Ef=Math.max(a.Ef,f+e);return e},Of(a,b,c){1===c?b+=a.position:2===c&&32768===(a.node.mode&61440)&&(b+=a.node.Ef);if(0>b)throw new N(28);return b},ig(a,b,c){ab(a.node,b+c);a.node.Ef=Math.max(a.node.Ef,b+c)},Zf(a,b,c,e,f){if(32768!==(a.node.mode&61440))throw new N(43);a=a.node.Cf;if(f&2||a.buffer!==v.buffer){if(0<\nc||c+b<a.length)a.subarray?a=a.subarray(c,c+b):a=Array.prototype.slice.call(a,c,c+b);c=!0;b=65536*Math.ceil(b/65536);(f=fb(65536,b))?(w.fill(0,f,f+b),b=f):b=0;if(!b)throw new N(48);v.set(a,b)}else c=!1,b=a.byteOffset;return{Cg:b,qg:c}},$f(a,b,c,e){O.Bf.write(a,b,0,e,c,!1);return 0}}},gb=(a,b)=>{var c=0;a&&(c|=365);b&&(c|=146);return c},hb=null,ib={},jb=[],kb=1,Q=null,lb=!0,N=class{constructor(a){this.name=\"ErrnoError\";this.Df=a}},db={},mb=class{constructor(){this.Wf={};this.node=null}get flags(){return this.Wf.flags}set flags(a){this.Wf.flags=\na}get position(){return this.Wf.position}set position(a){this.Wf.position=a}},nb=class{constructor(a,b,c,e){a||=this;this.parent=a;this.Jf=a.Jf;this.Pf=null;this.id=kb++;this.name=b;this.mode=c;this.Af={};this.Bf={};this.Uf=e}get read(){return 365===(this.mode&365)}set read(a){a?this.mode|=365:this.mode&=-366}get write(){return 146===(this.mode&146)}set write(a){a?this.mode|=146:this.mode&=-147}};\nfunction R(a,b={}){a=Ra(a);if(!a)return{path:\"\",node:null};b=Object.assign({kg:!0,gg:0},b);if(8<b.gg)throw new N(32);a=a.split(\"/\").filter(k=>!!k);for(var c=hb,e=\"/\",f=0;f<a.length;f++){var h=f===a.length-1;if(h&&b.parent)break;c=eb(c,a[f]);e=Ma(e+\"/\"+a[f]);c.Pf&&(!h||h&&b.kg)&&(c=c.Pf.root);if(!h||b.Nf)for(h=0;40960===(c.mode&61440);)if(c=ob(e),e=Ra(Na(e),c),c=R(e,{gg:b.gg+1}).node,40<h++)throw new N(32);}return{path:e,node:c}}\nfunction pb(a){for(var b;;){if(a===a.parent)return a=a.Jf.ng,b?\"/\"!==a[a.length-1]?`${a}/${b}`:a+b:a;b=b?`${a.name}/${b}`:a.name;a=a.parent}}function qb(a,b){for(var c=0,e=0;e<b.length;e++)c=(c<<5)-c+b.charCodeAt(e)|0;return(a+c>>>0)%Q.length}function rb(a){var b=qb(a.parent.id,a.name);if(Q[b]===a)Q[b]=a.Qf;else for(b=Q[b];b;){if(b.Qf===a){b.Qf=a.Qf;break}b=b.Qf}}\nfunction eb(a,b){var c=P(a.mode)?(c=sb(a,\"x\"))?c:a.Af.Sf?0:2:54;if(c)throw new N(c);for(c=Q[qb(a.id,b)];c;c=c.Qf){var e=c.name;if(c.parent.id===a.id&&e===b)return c}return a.Af.Sf(a,b)}function cb(a,b,c,e){a=new nb(a,b,c,e);b=qb(a.parent.id,a.name);a.Qf=Q[b];return Q[b]=a}function P(a){return 16384===(a&61440)}function tb(a){var b=[\"r\",\"w\",\"rw\"][a&3];a&512&&(b+=\"w\");return b}\nfunction sb(a,b){if(lb)return 0;if(!b.includes(\"r\")||a.mode&292){if(b.includes(\"w\")&&!(a.mode&146)||b.includes(\"x\")&&!(a.mode&73))return 2}else return 2;return 0}function ub(a,b){try{return eb(a,b),20}catch(c){}return sb(a,\"wx\")}function vb(a,b,c){try{var e=eb(a,b)}catch(f){return f.Df}if(a=sb(a,\"wx\"))return a;if(c){if(!P(e.mode))return 54;if(e===e.parent||\"/\"===pb(e))return 10}else if(P(e.mode))return 31;return 0}function S(a){a=jb[a];if(!a)throw new N(8);return a}\nfunction wb(a,b=-1){a=Object.assign(new mb,a);if(-1==b)a:{for(b=0;4096>=b;b++)if(!jb[b])break a;throw new N(33);}a.Lf=b;return jb[b]=a}function xb(a,b=-1){a=wb(a,b);a.Bf?.Kg?.(a);return a}var bb={open(a){a.Bf=ib[a.node.Uf].Bf;a.Bf.open?.(a)},Of(){throw new N(70);}};function Xa(a,b){ib[a]={Bf:b}}\nfunction yb(a,b){var c=\"/\"===b;if(c&&hb)throw new N(10);if(!c&&b){var e=R(b,{kg:!1});b=e.path;e=e.node;if(e.Pf)throw new N(10);if(!P(e.mode))throw new N(54);}b={type:a,Pg:{},ng:b,zg:[]};a=a.Jf(b);a.Jf=b;b.root=a;c?hb=a:e&&(e.Pf=b,e.Jf&&e.Jf.zg.push(b))}function zb(a,b,c){var e=R(a,{parent:!0}).node;a=Oa(a);if(!a||\".\"===a||\"..\"===a)throw new N(28);var f=ub(e,a);if(f)throw new N(f);if(!e.Af.Yf)throw new N(63);return e.Af.Yf(e,a,b,c)}function T(a,b){return zb(a,(void 0!==b?b:511)&1023|16384,0)}\nfunction Ab(a,b,c){\"undefined\"==typeof c&&(c=b,b=438);zb(a,b|8192,c)}function Bb(a,b){if(!Ra(a))throw new N(44);var c=R(b,{parent:!0}).node;if(!c)throw new N(44);b=Oa(b);var e=ub(c,b);if(e)throw new N(e);if(!c.Af.bg)throw new N(63);c.Af.bg(c,b,a)}function Cb(a){var b=R(a,{parent:!0}).node;a=Oa(a);var c=eb(b,a),e=vb(b,a,!0);if(e)throw new N(e);if(!b.Af.ag)throw new N(63);if(c.Pf)throw new N(10);b.Af.ag(b,a);rb(c)}\nfunction ob(a){a=R(a).node;if(!a)throw new N(44);if(!a.Af.Vf)throw new N(28);return Ra(pb(a.parent),a.Af.Vf(a))}function Db(a,b){a=R(a,{Nf:!b}).node;if(!a)throw new N(44);if(!a.Af.If)throw new N(63);return a.Af.If(a)}function Eb(a){return Db(a,!0)}function Fb(a,b){a=\"string\"==typeof a?R(a,{Nf:!0}).node:a;if(!a.Af.Ff)throw new N(63);a.Af.Ff(a,{mode:b&4095|a.mode&-4096,timestamp:Date.now()})}\nfunction Gb(a,b){if(0>b)throw new N(28);a=\"string\"==typeof a?R(a,{Nf:!0}).node:a;if(!a.Af.Ff)throw new N(63);if(P(a.mode))throw new N(31);if(32768!==(a.mode&61440))throw new N(28);var c=sb(a,\"w\");if(c)throw new N(c);a.Af.Ff(a,{size:b,timestamp:Date.now()})}\nfunction Hb(a,b,c){if(\"\"===a)throw new N(44);if(\"string\"==typeof b){var e={r:0,\"r+\":2,w:577,\"w+\":578,a:1089,\"a+\":1090}[b];if(\"undefined\"==typeof e)throw Error(`Unknown file open mode: ${b}`);b=e}c=b&64?(\"undefined\"==typeof c?438:c)&4095|32768:0;if(\"object\"==typeof a)var f=a;else{a=Ma(a);try{f=R(a,{Nf:!(b&131072)}).node}catch(h){}}e=!1;if(b&64)if(f){if(b&128)throw new N(20);}else f=zb(a,c,0),e=!0;if(!f)throw new N(44);8192===(f.mode&61440)&&(b&=-513);if(b&65536&&!P(f.mode))throw new N(54);if(!e&&(c=\nf?40960===(f.mode&61440)?32:P(f.mode)&&(\"r\"!==tb(b)||b&512)?31:sb(f,tb(b)):44))throw new N(c);b&512&&!e&&Gb(f,0);b&=-131713;f=wb({node:f,path:pb(f),flags:b,seekable:!0,position:0,Bf:f.Bf,Eg:[],error:!1});f.Bf.open&&f.Bf.open(f);!d.logReadFiles||b&1||(Ib||={},a in Ib||(Ib[a]=1));return f}function Jb(a,b,c){if(null===a.Lf)throw new N(8);if(!a.seekable||!a.Bf.Of)throw new N(70);if(0!=c&&1!=c&&2!=c)throw new N(28);a.position=a.Bf.Of(a,b,c);a.Eg=[]}var Kb;\nfunction Lb(a,b,c){a=Ma(\"/dev/\"+a);var e=gb(!!b,!!c);Mb||=64;var f=Mb++<<8|0;Xa(f,{open(h){h.seekable=!1},close(){c?.buffer?.length&&c(10)},read(h,k,n,l){for(var m=0,p=0;p<l;p++){try{var q=b()}catch(t){throw new N(29);}if(void 0===q&&0===m)throw new N(6);if(null===q||void 0===q)break;m++;k[n+p]=q}m&&(h.node.timestamp=Date.now());return m},write(h,k,n,l){for(var m=0;m<l;m++)try{c(k[n+m])}catch(p){throw new N(29);}l&&(h.node.timestamp=Date.now());return m}});Ab(a,e,f)}var Mb,U={},Ib;\nfunction Nb(a,b,c){if(\"/\"===b.charAt(0))return b;a=-100===a?\"/\":S(a).path;if(0==b.length){if(!c)throw new N(44);return a}return Ma(a+\"/\"+b)}\nfunction Ob(a,b,c){a=a(b);z[c>>2]=a.vg;z[c+4>>2]=a.mode;B[c+8>>2]=a.Bg;z[c+12>>2]=a.uid;z[c+16>>2]=a.yg;z[c+20>>2]=a.Uf;F=[a.size>>>0,(D=a.size,1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[c+24>>2]=F[0];z[c+28>>2]=F[1];z[c+32>>2]=4096;z[c+36>>2]=a.tg;b=a.rg.getTime();var e=a.Ag.getTime(),f=a.ug.getTime();F=[Math.floor(b/1E3)>>>0,(D=Math.floor(b/1E3),1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:\n0)];z[c+40>>2]=F[0];z[c+44>>2]=F[1];B[c+48>>2]=b%1E3*1E3;F=[Math.floor(e/1E3)>>>0,(D=Math.floor(e/1E3),1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[c+56>>2]=F[0];z[c+60>>2]=F[1];B[c+64>>2]=e%1E3*1E3;F=[Math.floor(f/1E3)>>>0,(D=Math.floor(f/1E3),1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[c+72>>2]=F[0];z[c+76>>2]=F[1];B[c+80>>2]=f%1E3*1E3;F=[a.mg>>>0,(D=a.mg,1<=+Math.abs(D)?0<D?+Math.floor(D/\n4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[c+88>>2]=F[0];z[c+92>>2]=F[1];return 0}var Pb=void 0;function Qb(){var a=z[+Pb>>2];Pb+=4;return a}\nvar Rb=(a,b)=>b+2097152>>>0<4194305-!!a?(a>>>0)+4294967296*b:NaN,Sb=[0,31,60,91,121,152,182,213,244,274,305,335],Tb=[0,31,59,90,120,151,181,212,243,273,304,334],Ub={},Wb=()=>{if(!Vb){var a={USER:\"web_user\",LOGNAME:\"web_user\",PATH:\"/\",PWD:\"/\",HOME:\"/home/web_user\",LANG:(\"object\"==typeof navigator&&navigator.languages&&navigator.languages[0]||\"C\").replace(\"-\",\"_\")+\".UTF-8\",_:da||\"./this.program\"},b;for(b in Ub)void 0===Ub[b]?delete a[b]:a[b]=Ub[b];var c=[];for(b in a)c.push(`${b}=${a[b]}`);Vb=c}return Vb},\nVb;function Xb(){}function Yb(){}function Zb(){}function $b(){}function ac(){}function bc(){}function cc(){}function dc(){}function ec(){}function fc(){}function gc(){}function hc(){}function ic(){}function jc(){}function kc(){}function lc(){}function mc(){}function nc(){}function oc(){}function pc(){}function qc(){}function rc(){}function sc(){}function tc(){}function uc(){}function vc(){}function wc(){}function xc(){}function yc(){}function zc(){}function Ac(){}function Bc(){}function Cc(){}\nfunction Dc(){}function Ec(){}function Fc(){}function Gc(){}function Hc(){}function Ic(){}var Jc=0,Kc=a=>{na=a;Ja||0<Jc||(d.onExit?.(a),u=!0);ea(a,new Ha(a))},Lc=a=>{a instanceof Ha||\"unwind\"==a||ea(1,a)},Mc=a=>{try{a()}catch(b){C(b)}},Nc=a=>{if(!u)try{if(a(),!(Ja||0<Jc))try{na=a=na,Kc(a)}catch(b){Lc(b)}}catch(b){Lc(b)}};\nfunction Oc(){var a=V,b={};for(let [c,e]of Object.entries(a))b[c]=\"function\"==typeof e?(...f)=>{Pc.push(c);try{return e(...f)}finally{u||(Pc.pop(),W&&1===Y&&0===Pc.length&&(Y=0,Mc(Qc),\"undefined\"!=typeof Fibers&&Fibers.Qg()))}}:e;return b}var Y=0,W=null,Rc=0,Pc=[],Sc={},Tc={},Uc=0,Vc=null,Wc=[];function Xc(){return new Promise((a,b)=>{Vc={resolve:a,reject:b}})}\nfunction Yc(){var a=Zc(16396),b=a+12;B[a>>2]=b;B[a+4>>2]=b+16384;b=Pc[0];var c=Sc[b];void 0===c&&(c=Uc++,Sc[b]=c,Tc[c]=b);z[a+8>>2]=c;return a}\nfunction $c(a){if(!u){if(0===Y){var b=!1,c=!1;a((e=0)=>{if(!u&&(Rc=e,b=!0,c)){Y=2;Mc(()=>ad(W));\"undefined\"!=typeof Browser&&Browser.eg.xg&&Browser.eg.resume();e=!1;try{var f=(0,V[Tc[z[W+8>>2]]])()}catch(n){f=n,e=!0}var h=!1;if(!W){var k=Vc;k&&(Vc=null,(e?k.reject:k.resolve)(f),h=!0)}if(e&&!h)throw f;}});c=!0;b||(Y=1,W=Yc(),\"undefined\"!=typeof Browser&&Browser.eg.xg&&Browser.eg.pause(),Mc(()=>bd(W)))}else 2===Y?(Y=0,Mc(cd),dd(W),W=null,Wc.forEach(Nc)):C(`invalid state: ${Y}`);return Rc}}\nfunction ed(a){return $c(b=>{a().then(b)})}\nvar fd={},gd,hd,jd=[],Z=(a,b,c,e,f)=>{function h(q){--Jc;0!==l&&kd(l);return\"string\"===b?q?J(w,q):\"\":\"boolean\"===b?!!q:q}var k={string:q=>{var t=0;if(null!==q&&void 0!==q&&0!==q){t=Ta(q)+1;var y=ld(t);K(q,w,y,t);t=y}return t},array:q=>{var t=ld(q.length);v.set(q,t);return t}};a=d[\"_\"+a];var n=[],l=0;if(e)for(var m=0;m<e.length;m++){var p=k[c[m]];p?(0===l&&(l=md()),n[m]=p(e[m])):n[m]=e[m]}c=W;e=a(...n);f=f?.async;Jc+=1;if(W!=c)return Xc().then(h);e=h(e);return f?Promise.resolve(e):e},nd=\"undefined\"!=\ntypeof TextDecoder?new TextDecoder(\"utf-16le\"):void 0;[44].forEach(a=>{db[a]=new N(a);db[a].stack=\"<generic error, no stack>\"});Q=Array(4096);yb(O,\"/\");T(\"/tmp\");T(\"/home\");T(\"/home/web_user\");(function(){T(\"/dev\");Xa(259,{read:()=>0,write:(e,f,h,k)=>k});Ab(\"/dev/null\",259);Wa(1280,Za);Wa(1536,$a);Ab(\"/dev/tty\",1280);Ab(\"/dev/tty1\",1536);var a=new Uint8Array(1024),b=0,c=()=>{0===b&&(b=Qa(a).byteLength);return a[--b]};Lb(\"random\",c);Lb(\"urandom\",c);T(\"/dev/shm\");T(\"/dev/shm/tmp\")})();\n(function(){T(\"/proc\");var a=T(\"/proc/self\");T(\"/proc/self/fd\");yb({Jf(){var b=cb(a,\"fd\",16895,73);b.Af={Sf(c,e){var f=S(+e);c={parent:null,Jf:{ng:\"fake\"},Af:{Vf:()=>f.path}};return c.parent=c}};return b}},\"/proc/self/fd\")})();\n(function(){const a=new Map;d.setAuthorizer=function(b,c,e){c?a.set(b,{f:c,hg:e}):a.delete(b);return Z(\"set_authorizer\",\"number\",[\"number\"],[b])};Xb=function(b,c,e,f,h,k){if(a.has(b)){const {f:n,hg:l}=a.get(b);return n(l,c,e?e?J(w,e):\"\":null,f?f?J(w,f):\"\":null,h?h?J(w,h):\"\":null,k?k?J(w,k):\"\":null)}return 0}})();\n(function(){const a=new Map,b=new Map;d.createFunction=function(c,e,f,h,k,n){const l=a.size;a.set(l,{f:n,Mf:k});return Z(\"create_function\",\"number\",\"number string number number number number\".split(\" \"),[c,e,f,h,l,0])};d.createAggregate=function(c,e,f,h,k,n,l){const m=a.size;a.set(m,{step:n,wg:l,Mf:k});return Z(\"create_function\",\"number\",\"number string number number number number\".split(\" \"),[c,e,f,h,m,1])};d.getFunctionUserData=function(c){return b.get(c)};Zb=function(c,e,f,h){c=a.get(c);b.set(e,\nc.Mf);c.f(e,new Uint32Array(w.buffer,h,f));b.delete(e)};ac=function(c,e,f,h){c=a.get(c);b.set(e,c.Mf);c.step(e,new Uint32Array(w.buffer,h,f));b.delete(e)};Yb=function(c,e){c=a.get(c);b.set(e,c.Mf);c.wg(e);b.delete(e)}})();(function(){const a=new Map;d.progressHandler=function(b,c,e,f){e?a.set(b,{f:e,hg:f}):a.delete(b);return Z(\"progress_handler\",null,[\"number\",\"number\"],[b,c])};$b=function(b){if(a.has(b)){const {f:c,hg:e}=a.get(b);return c(e)}return 0}})();\n(function(){function a(l,m){const p=`get${l}`,q=`set${l}`;return new Proxy(new DataView(w.buffer,m,\"Int32\"===l?4:8),{get(t,y){if(y===p)return function(A,G){if(!G)throw Error(\"must be little endian\");return t[y](A,G)};if(y===q)return function(A,G,E){if(!E)throw Error(\"must be little endian\");return t[y](A,G,E)};if(\"string\"===typeof y&&y.match(/^(get)|(set)/))throw Error(\"invalid type\");return t[y]}})}const b=\"object\"===typeof fd,c=new Map,e=new Map,f=new Map,h=b?new Set:null,k=b?new Set:null,n=new Map;\nrc=function(l,m,p,q){n.set(l?J(w,l):\"\",{size:m,Tf:Array.from(new Uint32Array(w.buffer,q,p))})};d.createModule=function(l,m,p,q){b&&(p.handleAsync=ed);const t=c.size;c.set(t,{module:p,Mf:q});q=0;p.xCreate&&(q|=1);p.xConnect&&(q|=2);p.xBestIndex&&(q|=4);p.xDisconnect&&(q|=8);p.xDestroy&&(q|=16);p.xOpen&&(q|=32);p.xClose&&(q|=64);p.xFilter&&(q|=128);p.xNext&&(q|=256);p.xEof&&(q|=512);p.xColumn&&(q|=1024);p.xRowid&&(q|=2048);p.xUpdate&&(q|=4096);p.xBegin&&(q|=8192);p.xSync&&(q|=16384);p.xCommit&&(q|=\n32768);p.xRollback&&(q|=65536);p.xFindFunction&&(q|=131072);p.xRename&&(q|=262144);return Z(\"create_module\",\"number\",[\"number\",\"string\",\"number\",\"number\"],[l,m,t,q])};hc=function(l,m,p,q,t,y){m=c.get(m);e.set(t,m);if(b){h.delete(t);for(const A of h)e.delete(A)}q=Array.from(new Uint32Array(w.buffer,q,p)).map(A=>A?J(w,A):\"\");return m.module.xCreate(l,m.Mf,q,t,a(\"Int32\",y))};gc=function(l,m,p,q,t,y){m=c.get(m);e.set(t,m);if(b){h.delete(t);for(const A of h)e.delete(A)}q=Array.from(new Uint32Array(w.buffer,\nq,p)).map(A=>A?J(w,A):\"\");return m.module.xConnect(l,m.Mf,q,t,a(\"Int32\",y))};cc=function(l,m){var p=e.get(l),q=n.get(\"sqlite3_index_info\").Tf;const t={};t.nConstraint=H(m+q[0],\"i32\");t.aConstraint=[];var y=H(m+q[1],\"*\"),A=n.get(\"sqlite3_index_constraint\").size;for(var G=0;G<t.nConstraint;++G){var E=t.aConstraint,M=E.push,L=y+G*A,ka=n.get(\"sqlite3_index_constraint\").Tf,X={};X.iColumn=H(L+ka[0],\"i32\");X.op=H(L+ka[1],\"i8\");X.usable=!!H(L+ka[2],\"i8\");M.call(E,X)}t.nOrderBy=H(m+q[2],\"i32\");t.aOrderBy=\n[];y=H(m+q[3],\"*\");A=n.get(\"sqlite3_index_orderby\").size;for(G=0;G<t.nOrderBy;++G)E=t.aOrderBy,M=E.push,L=y+G*A,ka=n.get(\"sqlite3_index_orderby\").Tf,X={},X.iColumn=H(L+ka[0],\"i32\"),X.desc=!!H(L+ka[1],\"i8\"),M.call(E,X);t.aConstraintUsage=[];for(y=0;y<t.nConstraint;++y)t.aConstraintUsage.push({argvIndex:0,omit:!1});t.idxNum=H(m+q[5],\"i32\");t.idxStr=null;t.orderByConsumed=!!H(m+q[8],\"i8\");t.estimatedCost=H(m+q[9],\"double\");t.estimatedRows=H(m+q[10],\"i32\");t.idxFlags=H(m+q[11],\"i32\");t.colUsed=H(m+q[12],\n\"i32\");l=p.module.xBestIndex(l,t);p=n.get(\"sqlite3_index_info\").Tf;q=H(m+p[4],\"*\");y=n.get(\"sqlite3_index_constraint_usage\").size;for(M=0;M<t.nConstraint;++M)A=q+M*y,E=t.aConstraintUsage[M],L=n.get(\"sqlite3_index_constraint_usage\").Tf,I(A+L[0],E.argvIndex,\"i32\"),I(A+L[1],E.omit?1:0,\"i8\");I(m+p[5],t.idxNum,\"i32\");\"string\"===typeof t.idxStr&&(q=Ta(t.idxStr),y=Z(\"sqlite3_malloc\",\"number\",[\"number\"],[q+1]),K(t.idxStr,w,y,q+1),I(m+p[6],y,\"*\"),I(m+p[7],1,\"i32\"));I(m+p[8],t.orderByConsumed,\"i32\");I(m+p[9],\nt.estimatedCost,\"double\");I(m+p[10],t.estimatedRows,\"i32\");I(m+p[11],t.idxFlags,\"i32\");return l};jc=function(l){const m=e.get(l);b?h.add(l):e.delete(l);return m.module.xDisconnect(l)};ic=function(l){const m=e.get(l);b?h.add(l):e.delete(l);return m.module.xDestroy(l)};nc=function(l,m){const p=e.get(l);f.set(m,p);if(b){k.delete(m);for(const q of k)f.delete(q)}return p.module.xOpen(l,m)};dc=function(l){const m=f.get(l);b?k.add(l):f.delete(l);return m.module.xClose(l)};kc=function(l){return f.get(l).module.xEof(l)?\n1:0};lc=function(l,m,p,q,t){const y=f.get(l);p=p?p?J(w,p):\"\":null;t=new Uint32Array(w.buffer,t,q);return y.module.xFilter(l,m,p,t)};mc=function(l){return f.get(l).module.xNext(l)};ec=function(l,m,p){return f.get(l).module.xColumn(l,m,p)};qc=function(l,m){return f.get(l).module.xRowid(l,a(\"BigInt64\",m))};tc=function(l,m,p,q){const t=e.get(l);p=new Uint32Array(w.buffer,p,m);return t.module.xUpdate(l,p,a(\"BigInt64\",q))};bc=function(l){return e.get(l).module.xBegin(l)};sc=function(l){return e.get(l).module.xSync(l)};\nfc=function(l){return e.get(l).module.xCommit(l)};pc=function(l){return e.get(l).module.xRollback(l)};oc=function(l,m){const p=e.get(l);m=m?J(w,m):\"\";return p.module.xRename(l,m)}})();\n(function(){function a(h,k){const n=`get${h}`,l=`set${h}`;return new Proxy(new DataView(w.buffer,k,\"Int32\"===h?4:8),{get(m,p){if(p===n)return function(q,t){if(!t)throw Error(\"must be little endian\");return m[p](q,t)};if(p===l)return function(q,t,y){if(!y)throw Error(\"must be little endian\");return m[p](q,t,y)};if(\"string\"===typeof p&&p.match(/^(get)|(set)/))throw Error(\"invalid type\");return m[p]}})}const b=\"object\"===typeof fd;b&&(d.handleAsync=ed);const c=new Map,e=new Map;d.registerVFS=function(h,\nk){if(Z(\"sqlite3_vfs_find\",\"number\",[\"string\"],[h.name]))throw Error(`VFS '${h.name}' already registered`);b&&(h.handleAsync=ed);var n=h.mxPathName??64;const l=d._malloc(4);k=Z(\"register_vfs\",\"number\",[\"string\",\"number\",\"number\",\"number\"],[h.name,n,k?1:0,l]);k||(n=H(l,\"*\"),c.set(n,h));d._free(l);return k};const f=b?new Set:null;wc=function(h){const k=e.get(h);b?f.add(h):e.delete(h);return k.xClose(h)};Dc=function(h,k,n,l,m){return e.get(h).xRead(h,w.subarray(k,k+n),4294967296*m+l+(0>l?2**32:0))};\nIc=function(h,k,n,l,m){return e.get(h).xWrite(h,w.subarray(k,k+n),4294967296*m+l+(0>l?2**32:0))};Gc=function(h,k,n){return e.get(h).xTruncate(h,4294967296*n+k+(0>k?2**32:0))};Fc=function(h,k){return e.get(h).xSync(h,k)};Ac=function(h,k){const n=e.get(h);k=a(\"BigInt64\",k);return n.xFileSize(h,k)};Bc=function(h,k){return e.get(h).xLock(h,k)};Hc=function(h,k){return e.get(h).xUnlock(h,k)};vc=function(h,k){const n=e.get(h);k=a(\"Int32\",k);return n.xCheckReservedLock(h,k)};zc=function(h,k,n){const l=e.get(h);\nn=new DataView(w.buffer,n);return l.xFileControl(h,k,n)};Ec=function(h){return e.get(h).xSectorSize(h)};yc=function(h){return e.get(h).xDeviceCharacteristics(h)};Cc=function(h,k,n,l,m){h=c.get(h);e.set(n,h);if(b){f.delete(n);for(var p of f)e.delete(p)}p=null;if(l&64){p=1;const q=[];for(;p;){const t=w[k++];if(t)q.push(t);else switch(w[k]||(p=null),p){case 1:q.push(63);p=2;break;case 2:q.push(61);p=3;break;case 3:q.push(38),p=2}}p=(new TextDecoder).decode(new Uint8Array(q))}else k&&(p=k?J(w,k):\"\");\nm=a(\"Int32\",m);return h.xOpen(p,n,l,m)};xc=function(h,k,n){return c.get(h).xDelete(k?J(w,k):\"\",n)};uc=function(h,k,n,l){h=c.get(h);l=a(\"Int32\",l);return h.xAccess(k?J(w,k):\"\",n,l)}})();\nvar od={a:(a,b,c,e)=>{C(`Assertion failed: ${a?J(w,a):\"\"}, at: `+[b?b?J(w,b):\"\":\"unknown filename\",c,e?e?J(w,e):\"\":\"unknown function\"])},N:function(a,b){try{return a=a?J(w,a):\"\",Fb(a,b),0}catch(c){if(\"undefined\"==typeof U||\"ErrnoError\"!==c.name)throw c;return-c.Df}},Q:function(a,b,c){try{b=b?J(w,b):\"\";b=Nb(a,b);if(c&-8)return-28;var e=R(b,{Nf:!0}).node;if(!e)return-44;a=\"\";c&4&&(a+=\"r\");c&2&&(a+=\"w\");c&1&&(a+=\"x\");return a&&sb(e,a)?-2:0}catch(f){if(\"undefined\"==typeof U||\"ErrnoError\"!==f.name)throw f;\nreturn-f.Df}},O:function(a,b){try{var c=S(a);Fb(c.node,b);return 0}catch(e){if(\"undefined\"==typeof U||\"ErrnoError\"!==e.name)throw e;return-e.Df}},M:function(a){try{var b=S(a).node;var c=\"string\"==typeof b?R(b,{Nf:!0}).node:b;if(!c.Af.Ff)throw new N(63);c.Af.Ff(c,{timestamp:Date.now()});return 0}catch(e){if(\"undefined\"==typeof U||\"ErrnoError\"!==e.name)throw e;return-e.Df}},b:function(a,b,c){Pb=c;try{var e=S(a);switch(b){case 0:var f=Qb();if(0>f)break;for(;jb[f];)f++;return xb(e,f).Lf;case 1:case 2:return 0;\ncase 3:return e.flags;case 4:return f=Qb(),e.flags|=f,0;case 12:return f=Qb(),x[f+0>>1]=2,0;case 13:case 14:return 0}return-28}catch(h){if(\"undefined\"==typeof U||\"ErrnoError\"!==h.name)throw h;return-h.Df}},L:function(a,b){try{var c=S(a);return Ob(Db,c.path,b)}catch(e){if(\"undefined\"==typeof U||\"ErrnoError\"!==e.name)throw e;return-e.Df}},n:function(a,b,c){b=Rb(b,c);try{if(isNaN(b))return 61;var e=S(a);if(0===(e.flags&2097155))throw new N(28);Gb(e.node,b);return 0}catch(f){if(\"undefined\"==typeof U||\n\"ErrnoError\"!==f.name)throw f;return-f.Df}},F:function(a,b){try{if(0===b)return-28;var c=Ta(\"/\")+1;if(b<c)return-68;K(\"/\",w,a,b);return c}catch(e){if(\"undefined\"==typeof U||\"ErrnoError\"!==e.name)throw e;return-e.Df}},J:function(a,b){try{return a=a?J(w,a):\"\",Ob(Eb,a,b)}catch(c){if(\"undefined\"==typeof U||\"ErrnoError\"!==c.name)throw c;return-c.Df}},C:function(a,b,c){try{return b=b?J(w,b):\"\",b=Nb(a,b),b=Ma(b),\"/\"===b[b.length-1]&&(b=b.substr(0,b.length-1)),T(b,c),0}catch(e){if(\"undefined\"==typeof U||\n\"ErrnoError\"!==e.name)throw e;return-e.Df}},H:function(a,b,c,e){try{b=b?J(w,b):\"\";var f=e&256;b=Nb(a,b,e&4096);return Ob(f?Eb:Db,b,c)}catch(h){if(\"undefined\"==typeof U||\"ErrnoError\"!==h.name)throw h;return-h.Df}},B:function(a,b,c,e){Pb=e;try{b=b?J(w,b):\"\";b=Nb(a,b);var f=e?Qb():0;return Hb(b,c,f).Lf}catch(h){if(\"undefined\"==typeof U||\"ErrnoError\"!==h.name)throw h;return-h.Df}},z:function(a,b,c,e){try{b=b?J(w,b):\"\";b=Nb(a,b);if(0>=e)return-28;var f=ob(b),h=Math.min(e,Ta(f)),k=v[c+h];K(f,w,c,e+1);v[c+\nh]=k;return h}catch(n){if(\"undefined\"==typeof U||\"ErrnoError\"!==n.name)throw n;return-n.Df}},y:function(a){try{return a=a?J(w,a):\"\",Cb(a),0}catch(b){if(\"undefined\"==typeof U||\"ErrnoError\"!==b.name)throw b;return-b.Df}},K:function(a,b){try{return a=a?J(w,a):\"\",Ob(Db,a,b)}catch(c){if(\"undefined\"==typeof U||\"ErrnoError\"!==c.name)throw c;return-c.Df}},u:function(a,b,c){try{b=b?J(w,b):\"\";b=Nb(a,b);if(0===c){a=b;var e=R(a,{parent:!0}).node;if(!e)throw new N(44);var f=Oa(a),h=eb(e,f),k=vb(e,f,!1);if(k)throw new N(k);\nif(!e.Af.cg)throw new N(63);if(h.Pf)throw new N(10);e.Af.cg(e,f);rb(h)}else 512===c?Cb(b):C(\"Invalid flags passed to unlinkat\");return 0}catch(n){if(\"undefined\"==typeof U||\"ErrnoError\"!==n.name)throw n;return-n.Df}},t:function(a,b,c){try{b=b?J(w,b):\"\";b=Nb(a,b,!0);if(c){var e=B[c>>2]+4294967296*z[c+4>>2],f=z[c+8>>2];h=1E3*e+f/1E6;c+=16;e=B[c>>2]+4294967296*z[c+4>>2];f=z[c+8>>2];k=1E3*e+f/1E6}else var h=Date.now(),k=h;a=h;var n=R(b,{Nf:!0}).node;n.Af.Ff(n,{timestamp:Math.max(a,k)});return 0}catch(l){if(\"undefined\"==\ntypeof U||\"ErrnoError\"!==l.name)throw l;return-l.Df}},k:function(a,b,c){a=new Date(1E3*Rb(a,b));z[c>>2]=a.getSeconds();z[c+4>>2]=a.getMinutes();z[c+8>>2]=a.getHours();z[c+12>>2]=a.getDate();z[c+16>>2]=a.getMonth();z[c+20>>2]=a.getFullYear()-1900;z[c+24>>2]=a.getDay();b=a.getFullYear();z[c+28>>2]=(0!==b%4||0===b%100&&0!==b%400?Tb:Sb)[a.getMonth()]+a.getDate()-1|0;z[c+36>>2]=-(60*a.getTimezoneOffset());b=(new Date(a.getFullYear(),6,1)).getTimezoneOffset();var e=(new Date(a.getFullYear(),0,1)).getTimezoneOffset();\nz[c+32>>2]=(b!=e&&a.getTimezoneOffset()==Math.min(e,b))|0},i:function(a,b,c,e,f,h,k,n){f=Rb(f,h);try{if(isNaN(f))return 61;var l=S(e);if(0!==(b&2)&&0===(c&2)&&2!==(l.flags&2097155))throw new N(2);if(1===(l.flags&2097155))throw new N(2);if(!l.Bf.Zf)throw new N(43);var m=l.Bf.Zf(l,a,f,b,c);var p=m.Cg;z[k>>2]=m.qg;B[n>>2]=p;return 0}catch(q){if(\"undefined\"==typeof U||\"ErrnoError\"!==q.name)throw q;return-q.Df}},j:function(a,b,c,e,f,h,k){h=Rb(h,k);try{var n=S(f);if(c&2){if(32768!==(n.node.mode&61440))throw new N(43);\ne&2||n.Bf.$f&&n.Bf.$f(n,w.slice(a,a+b),h,b,e)}}catch(l){if(\"undefined\"==typeof U||\"ErrnoError\"!==l.name)throw l;return-l.Df}},v:(a,b,c,e)=>{var f=(new Date).getFullYear(),h=new Date(f,0,1),k=new Date(f,6,1);f=h.getTimezoneOffset();var n=k.getTimezoneOffset();B[a>>2]=60*Math.max(f,n);z[b>>2]=Number(f!=n);a=l=>l.toLocaleTimeString(void 0,{hour12:!1,timeZoneName:\"short\"}).split(\" \")[1];h=a(h);k=a(k);n<f?(K(h,w,c,17),K(k,w,e,17)):(K(h,w,e,17),K(k,w,c,17))},e:()=>Date.now(),d:()=>performance.now(),r:a=>\n{var b=w.length;a>>>=0;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var e=b*(1+.2/c);e=Math.min(e,a+100663296);var f=Math;e=Math.max(a,e);a:{f=(f.min.call(f,2147483648,e+(65536-e%65536)%65536)-ma.buffer.byteLength+65535)/65536;try{ma.grow(f);ra();var h=1;break a}catch(k){}h=void 0}if(h)return!0}return!1},D:(a,b)=>{var c=0;Wb().forEach((e,f)=>{var h=b+c;f=B[a+4*f>>2]=h;for(h=0;h<e.length;++h)v[f++]=e.charCodeAt(h);v[f]=0;c+=e.length+1});return 0},E:(a,b)=>{var c=Wb();B[a>>2]=c.length;var e=0;c.forEach(f=>\ne+=f.length+1);B[b>>2]=e;return 0},f:function(a){try{var b=S(a);if(null===b.Lf)throw new N(8);b.dg&&(b.dg=null);try{b.Bf.close&&b.Bf.close(b)}catch(c){throw c;}finally{jb[b.Lf]=null}b.Lf=null;return 0}catch(c){if(\"undefined\"==typeof U||\"ErrnoError\"!==c.name)throw c;return c.Df}},s:function(a,b){try{var c=S(a);v[b]=c.Hf?2:P(c.mode)?3:40960===(c.mode&61440)?7:4;x[b+2>>1]=0;F=[0,(D=0,1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[b+8>>2]=F[0];z[b+\n12>>2]=F[1];F=[0,(D=0,1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/4294967296)>>>0:0)];z[b+16>>2]=F[0];z[b+20>>2]=F[1];return 0}catch(e){if(\"undefined\"==typeof U||\"ErrnoError\"!==e.name)throw e;return e.Df}},A:function(a,b,c,e){try{a:{var f=S(a);a=b;for(var h,k=b=0;k<c;k++){var n=B[a>>2],l=B[a+4>>2];a+=8;var m=f,p=h,q=v;if(0>l||0>p)throw new N(28);if(null===m.Lf)throw new N(8);if(1===(m.flags&2097155))throw new N(8);if(P(m.node.mode))throw new N(31);if(!m.Bf.read)throw new N(28);\nvar t=\"undefined\"!=typeof p;if(!t)p=m.position;else if(!m.seekable)throw new N(70);var y=m.Bf.read(m,q,n,l,p);t||(m.position+=y);var A=y;if(0>A){var G=-1;break a}b+=A;if(A<l)break;\"undefined\"!=typeof h&&(h+=A)}G=b}B[e>>2]=G;return 0}catch(E){if(\"undefined\"==typeof U||\"ErrnoError\"!==E.name)throw E;return E.Df}},l:function(a,b,c,e,f){b=Rb(b,c);try{if(isNaN(b))return 61;var h=S(a);Jb(h,b,e);F=[h.position>>>0,(D=h.position,1<=+Math.abs(D)?0<D?+Math.floor(D/4294967296)>>>0:~~+Math.ceil((D-+(~~D>>>0))/\n4294967296)>>>0:0)];z[f>>2]=F[0];z[f+4>>2]=F[1];h.dg&&0===b&&0===e&&(h.dg=null);return 0}catch(k){if(\"undefined\"==typeof U||\"ErrnoError\"!==k.name)throw k;return k.Df}},G:function(a){try{var b=S(a);return $c(c=>{var e=b.node.Jf;e.type.Dg?e.type.Dg(e,!1,f=>{f?c(29):c(0)}):c(0)})}catch(c){if(\"undefined\"==typeof U||\"ErrnoError\"!==c.name)throw c;return c.Df}},w:function(a,b,c,e){try{a:{var f=S(a);a=b;for(var h,k=b=0;k<c;k++){var n=B[a>>2],l=B[a+4>>2];a+=8;var m=f,p=n,q=l,t=h,y=v;if(0>q||0>t)throw new N(28);\nif(null===m.Lf)throw new N(8);if(0===(m.flags&2097155))throw new N(8);if(P(m.node.mode))throw new N(31);if(!m.Bf.write)throw new N(28);m.seekable&&m.flags&1024&&Jb(m,0,2);var A=\"undefined\"!=typeof t;if(!A)t=m.position;else if(!m.seekable)throw new N(70);var G=m.Bf.write(m,y,p,q,t,void 0);A||(m.position+=G);var E=G;if(0>E){var M=-1;break a}b+=E;\"undefined\"!=typeof h&&(h+=E)}M=b}B[e>>2]=M;return 0}catch(L){if(\"undefined\"==typeof U||\"ErrnoError\"!==L.name)throw L;return L.Df}},ta:(a,b)=>{Qa(w.subarray(a,\na+b));return 0},ia:Xb,I:Yb,_:Zb,ca:$b,P:ac,la:bc,m:cc,sa:dc,oa:ec,ja:fc,ea:gc,fa:hc,g:ic,h:jc,pa:kc,ra:lc,qa:mc,da:nc,ga:oc,ha:pc,na:qc,c:rc,ka:sc,ma:tc,x:function(a,b,c,e){(0,globalThis.__onTablesChanged)?.(a,b,c,e)},aa:uc,V:vc,$:wc,ba:xc,S:yc,U:zc,Y:Ac,X:Bc,R:Cc,q:Dc,T:Ec,Z:Fc,o:Gc,W:Hc,p:Ic},V=function(){function a(c){V=c.exports;V=Oc();ma=V.ua;ra();gd=V.qf;ta.unshift(V.va);xa--;d.monitorRunDependencies?.(xa);0==xa&&(null!==ya&&(clearInterval(ya),ya=null),za&&(c=za,za=null,c()));return V}var b=\n{a:od};xa++;d.monitorRunDependencies?.(xa);if(d.instantiateWasm)try{return d.instantiateWasm(b,a)}catch(c){r(`Module.instantiateWasm callback failed with error: ${c}`),ba(c)}Ga(b,function(c){a(c.instance)}).catch(ba);return{}}();d._sqlite3_auto_extension=a=>(d._sqlite3_auto_extension=V.wa)(a);d._sqlite3_free=a=>(d._sqlite3_free=V.xa)(a);d._sqlite3_malloc=a=>(d._sqlite3_malloc=V.ya)(a);d._sqlite3_bind_blob=(a,b,c,e,f)=>(d._sqlite3_bind_blob=V.za)(a,b,c,e,f);\nd._sqlite3_shutdown=()=>(d._sqlite3_shutdown=V.Aa)();d._sqlite3_bind_int=(a,b,c)=>(d._sqlite3_bind_int=V.Ba)(a,b,c);d._sqlite3_bind_int64=(a,b,c,e)=>(d._sqlite3_bind_int64=V.Ca)(a,b,c,e);d._sqlite3_bind_double=(a,b,c)=>(d._sqlite3_bind_double=V.Da)(a,b,c);d._sqlite3_bind_null=(a,b)=>(d._sqlite3_bind_null=V.Ea)(a,b);d._sqlite3_clear_bindings=a=>(d._sqlite3_clear_bindings=V.Fa)(a);d._sqlite3_bind_text=(a,b,c,e,f)=>(d._sqlite3_bind_text=V.Ga)(a,b,c,e,f);\nd._sqlite3_bind_pointer=(a,b,c,e,f)=>(d._sqlite3_bind_pointer=V.Ha)(a,b,c,e,f);d._sqlite3_bind_value=(a,b,c)=>(d._sqlite3_bind_value=V.Ia)(a,b,c);d._sqlite3_close=a=>(d._sqlite3_close=V.Ja)(a);d._sqlite3_vtab_config=(a,b,c)=>(d._sqlite3_vtab_config=V.Ka)(a,b,c);d._sqlite3_commit_hook=(a,b,c)=>(d._sqlite3_commit_hook=V.La)(a,b,c);d._sqlite3_column_type=(a,b)=>(d._sqlite3_column_type=V.Ma)(a,b);d._sqlite3_column_count=a=>(d._sqlite3_column_count=V.Na)(a);\nd._sqlite3_column_text=(a,b)=>(d._sqlite3_column_text=V.Oa)(a,b);d._sqlite3_column_blob=(a,b)=>(d._sqlite3_column_blob=V.Pa)(a,b);d._sqlite3_column_bytes=(a,b)=>(d._sqlite3_column_bytes=V.Qa)(a,b);d._sqlite3_column_value=(a,b)=>(d._sqlite3_column_value=V.Ra)(a,b);d._sqlite3_column_double=(a,b)=>(d._sqlite3_column_double=V.Sa)(a,b);d._sqlite3_column_int=(a,b)=>(d._sqlite3_column_int=V.Ta)(a,b);d._sqlite3_column_int64=(a,b)=>(d._sqlite3_column_int64=V.Ua)(a,b);\nd._sqlite3_column_name=(a,b)=>(d._sqlite3_column_name=V.Va)(a,b);d._sqlite3_context_db_handle=a=>(d._sqlite3_context_db_handle=V.Wa)(a);d._sqlite3_create_function_v2=(a,b,c,e,f,h,k,n,l)=>(d._sqlite3_create_function_v2=V.Xa)(a,b,c,e,f,h,k,n,l);d._sqlite3_create_module_v2=(a,b,c,e,f)=>(d._sqlite3_create_module_v2=V.Ya)(a,b,c,e,f);d._sqlite3_declare_vtab=(a,b)=>(d._sqlite3_declare_vtab=V.Za)(a,b);d._sqlite3_errcode=a=>(d._sqlite3_errcode=V._a)(a);d._sqlite3_errmsg=a=>(d._sqlite3_errmsg=V.$a)(a);\nd._sqlite3_exec=(a,b,c,e,f)=>(d._sqlite3_exec=V.ab)(a,b,c,e,f);d._sqlite3_finalize=a=>(d._sqlite3_finalize=V.bb)(a);d._sqlite3_get_auxdata=(a,b)=>(d._sqlite3_get_auxdata=V.cb)(a,b);d._sqlite3_next_stmt=(a,b)=>(d._sqlite3_next_stmt=V.db)(a,b);d._sqlite3_open=(a,b)=>(d._sqlite3_open=V.eb)(a,b);d._sqlite3_prepare_v2=(a,b,c,e,f)=>(d._sqlite3_prepare_v2=V.fb)(a,b,c,e,f);d._sqlite3_prepare_v3=(a,b,c,e,f,h)=>(d._sqlite3_prepare_v3=V.gb)(a,b,c,e,f,h);\nd._sqlite3_randomness=(a,b)=>(d._sqlite3_randomness=V.hb)(a,b);d._sqlite3_result_int=(a,b)=>(d._sqlite3_result_int=V.ib)(a,b);d._sqlite3_result_blob=(a,b,c,e)=>(d._sqlite3_result_blob=V.jb)(a,b,c,e);d._sqlite3_result_int64=(a,b,c)=>(d._sqlite3_result_int64=V.kb)(a,b,c);d._sqlite3_result_double=(a,b)=>(d._sqlite3_result_double=V.lb)(a,b);d._sqlite3_result_null=a=>(d._sqlite3_result_null=V.mb)(a);d._sqlite3_result_pointer=(a,b,c,e)=>(d._sqlite3_result_pointer=V.nb)(a,b,c,e);\nd._sqlite3_result_error=(a,b,c)=>(d._sqlite3_result_error=V.ob)(a,b,c);d._sqlite3_result_error_code=(a,b)=>(d._sqlite3_result_error_code=V.pb)(a,b);d._sqlite3_result_value=(a,b)=>(d._sqlite3_result_value=V.qb)(a,b);d._sqlite3_result_text=(a,b,c,e)=>(d._sqlite3_result_text=V.rb)(a,b,c,e);d._sqlite3_result_subtype=(a,b)=>(d._sqlite3_result_subtype=V.sb)(a,b);d._sqlite3_set_authorizer=(a,b,c)=>(d._sqlite3_set_authorizer=V.tb)(a,b,c);\nd._sqlite3_set_auxdata=(a,b,c,e)=>(d._sqlite3_set_auxdata=V.ub)(a,b,c,e);d._sqlite3_sql=a=>(d._sqlite3_sql=V.vb)(a);d._sqlite3_reset=a=>(d._sqlite3_reset=V.wb)(a);d._sqlite3_value_text=a=>(d._sqlite3_value_text=V.xb)(a);d._sqlite3_value_type=a=>(d._sqlite3_value_type=V.yb)(a);d._sqlite3_value_bytes=a=>(d._sqlite3_value_bytes=V.zb)(a);d._sqlite3_value_blob=a=>(d._sqlite3_value_blob=V.Ab)(a);d._sqlite3_value_int=a=>(d._sqlite3_value_int=V.Bb)(a);d._sqlite3_value_int64=a=>(d._sqlite3_value_int64=V.Cb)(a);\nd._sqlite3_value_double=a=>(d._sqlite3_value_double=V.Db)(a);d._sqlite3_value_pointer=(a,b)=>(d._sqlite3_value_pointer=V.Eb)(a,b);d._sqlite3_vtab_distinct=a=>(d._sqlite3_vtab_distinct=V.Fb)(a);d._sqlite3_get_autocommit=a=>(d._sqlite3_get_autocommit=V.Gb)(a);d._sqlite3_step=a=>(d._sqlite3_step=V.Hb)(a);d._sqlite3_status64=(a,b,c,e)=>(d._sqlite3_status64=V.Ib)(a,b,c,e);d._sqlite3_status=(a,b,c,e)=>(d._sqlite3_status=V.Jb)(a,b,c,e);\nd._sqlite3_db_status=(a,b,c,e,f)=>(d._sqlite3_db_status=V.Kb)(a,b,c,e,f);d._sqlite3_msize=a=>(d._sqlite3_msize=V.Lb)(a);d._sqlite3_vfs_find=a=>(d._sqlite3_vfs_find=V.Mb)(a);d._sqlite3_vfs_register=(a,b)=>(d._sqlite3_vfs_register=V.Nb)(a,b);d._sqlite3_vfs_unregister=a=>(d._sqlite3_vfs_unregister=V.Ob)(a);d._sqlite3_release_memory=a=>(d._sqlite3_release_memory=V.Pb)(a);d._sqlite3_soft_heap_limit64=(a,b)=>(d._sqlite3_soft_heap_limit64=V.Qb)(a,b);d._sqlite3_memory_used=()=>(d._sqlite3_memory_used=V.Rb)();\nd._sqlite3_hard_heap_limit64=(a,b)=>(d._sqlite3_hard_heap_limit64=V.Sb)(a,b);d._sqlite3_memory_highwater=a=>(d._sqlite3_memory_highwater=V.Tb)(a);d._sqlite3_malloc64=(a,b)=>(d._sqlite3_malloc64=V.Ub)(a,b);d._sqlite3_realloc=(a,b)=>(d._sqlite3_realloc=V.Vb)(a,b);d._sqlite3_realloc64=(a,b,c)=>(d._sqlite3_realloc64=V.Wb)(a,b,c);d._sqlite3_str_vappendf=(a,b,c)=>(d._sqlite3_str_vappendf=V.Xb)(a,b,c);d._sqlite3_str_append=(a,b,c)=>(d._sqlite3_str_append=V.Yb)(a,b,c);\nd._sqlite3_str_appendchar=(a,b,c)=>(d._sqlite3_str_appendchar=V.Zb)(a,b,c);d._sqlite3_str_appendall=(a,b)=>(d._sqlite3_str_appendall=V._b)(a,b);d._sqlite3_str_appendf=(a,b,c)=>(d._sqlite3_str_appendf=V.$b)(a,b,c);d._sqlite3_str_finish=a=>(d._sqlite3_str_finish=V.ac)(a);d._sqlite3_str_errcode=a=>(d._sqlite3_str_errcode=V.bc)(a);d._sqlite3_str_length=a=>(d._sqlite3_str_length=V.cc)(a);d._sqlite3_str_value=a=>(d._sqlite3_str_value=V.dc)(a);d._sqlite3_str_reset=a=>(d._sqlite3_str_reset=V.ec)(a);\nd._sqlite3_str_new=a=>(d._sqlite3_str_new=V.fc)(a);d._sqlite3_vmprintf=(a,b)=>(d._sqlite3_vmprintf=V.gc)(a,b);d._sqlite3_mprintf=(a,b)=>(d._sqlite3_mprintf=V.hc)(a,b);d._sqlite3_vsnprintf=(a,b,c,e)=>(d._sqlite3_vsnprintf=V.ic)(a,b,c,e);d._sqlite3_snprintf=(a,b,c,e)=>(d._sqlite3_snprintf=V.jc)(a,b,c,e);d._sqlite3_log=(a,b,c)=>(d._sqlite3_log=V.kc)(a,b,c);d._sqlite3_stricmp=(a,b)=>(d._sqlite3_stricmp=V.lc)(a,b);d._sqlite3_strnicmp=(a,b,c)=>(d._sqlite3_strnicmp=V.mc)(a,b,c);\nd._sqlite3_os_init=()=>(d._sqlite3_os_init=V.nc)();d._sqlite3_os_end=()=>(d._sqlite3_os_end=V.oc)();d._sqlite3_serialize=(a,b,c,e)=>(d._sqlite3_serialize=V.pc)(a,b,c,e);d._sqlite3_deserialize=(a,b,c,e,f,h,k,n)=>(d._sqlite3_deserialize=V.qc)(a,b,c,e,f,h,k,n);d._sqlite3_database_file_object=a=>(d._sqlite3_database_file_object=V.rc)(a);d._sqlite3_backup_init=(a,b,c,e)=>(d._sqlite3_backup_init=V.sc)(a,b,c,e);d._sqlite3_backup_step=(a,b)=>(d._sqlite3_backup_step=V.tc)(a,b);\nd._sqlite3_backup_finish=a=>(d._sqlite3_backup_finish=V.uc)(a);d._sqlite3_backup_remaining=a=>(d._sqlite3_backup_remaining=V.vc)(a);d._sqlite3_backup_pagecount=a=>(d._sqlite3_backup_pagecount=V.wc)(a);d._sqlite3_value_bytes16=a=>(d._sqlite3_value_bytes16=V.xc)(a);d._sqlite3_value_subtype=a=>(d._sqlite3_value_subtype=V.yc)(a);d._sqlite3_value_text16=a=>(d._sqlite3_value_text16=V.zc)(a);d._sqlite3_value_text16be=a=>(d._sqlite3_value_text16be=V.Ac)(a);\nd._sqlite3_value_text16le=a=>(d._sqlite3_value_text16le=V.Bc)(a);d._sqlite3_value_encoding=a=>(d._sqlite3_value_encoding=V.Cc)(a);d._sqlite3_value_nochange=a=>(d._sqlite3_value_nochange=V.Dc)(a);d._sqlite3_value_frombind=a=>(d._sqlite3_value_frombind=V.Ec)(a);d._sqlite3_value_dup=a=>(d._sqlite3_value_dup=V.Fc)(a);d._sqlite3_value_free=a=>(d._sqlite3_value_free=V.Gc)(a);d._sqlite3_result_blob64=(a,b,c,e,f)=>(d._sqlite3_result_blob64=V.Hc)(a,b,c,e,f);\nd._sqlite3_result_error16=(a,b,c)=>(d._sqlite3_result_error16=V.Ic)(a,b,c);d._sqlite3_result_text64=(a,b,c,e,f,h)=>(d._sqlite3_result_text64=V.Jc)(a,b,c,e,f,h);d._sqlite3_result_text16=(a,b,c,e)=>(d._sqlite3_result_text16=V.Kc)(a,b,c,e);d._sqlite3_result_text16be=(a,b,c,e)=>(d._sqlite3_result_text16be=V.Lc)(a,b,c,e);d._sqlite3_result_text16le=(a,b,c,e)=>(d._sqlite3_result_text16le=V.Mc)(a,b,c,e);d._sqlite3_result_error_toobig=a=>(d._sqlite3_result_error_toobig=V.Nc)(a);\nd._sqlite3_result_zeroblob=(a,b)=>(d._sqlite3_result_zeroblob=V.Oc)(a,b);d._sqlite3_result_zeroblob64=(a,b,c)=>(d._sqlite3_result_zeroblob64=V.Pc)(a,b,c);d._sqlite3_result_error_nomem=a=>(d._sqlite3_result_error_nomem=V.Qc)(a);d._sqlite3_user_data=a=>(d._sqlite3_user_data=V.Rc)(a);d._sqlite3_vtab_nochange=a=>(d._sqlite3_vtab_nochange=V.Sc)(a);d._sqlite3_vtab_in_first=(a,b)=>(d._sqlite3_vtab_in_first=V.Tc)(a,b);d._sqlite3_vtab_in_next=(a,b)=>(d._sqlite3_vtab_in_next=V.Uc)(a,b);\nd._sqlite3_aggregate_context=(a,b)=>(d._sqlite3_aggregate_context=V.Vc)(a,b);d._sqlite3_data_count=a=>(d._sqlite3_data_count=V.Wc)(a);d._sqlite3_column_bytes16=(a,b)=>(d._sqlite3_column_bytes16=V.Xc)(a,b);d._sqlite3_column_text16=(a,b)=>(d._sqlite3_column_text16=V.Yc)(a,b);d._sqlite3_column_name16=(a,b)=>(d._sqlite3_column_name16=V.Zc)(a,b);d._sqlite3_bind_blob64=(a,b,c,e,f,h)=>(d._sqlite3_bind_blob64=V._c)(a,b,c,e,f,h);\nd._sqlite3_bind_text64=(a,b,c,e,f,h,k)=>(d._sqlite3_bind_text64=V.$c)(a,b,c,e,f,h,k);d._sqlite3_bind_text16=(a,b,c,e,f)=>(d._sqlite3_bind_text16=V.ad)(a,b,c,e,f);d._sqlite3_bind_zeroblob=(a,b,c)=>(d._sqlite3_bind_zeroblob=V.bd)(a,b,c);d._sqlite3_bind_zeroblob64=(a,b,c,e)=>(d._sqlite3_bind_zeroblob64=V.cd)(a,b,c,e);d._sqlite3_bind_parameter_count=a=>(d._sqlite3_bind_parameter_count=V.dd)(a);d._sqlite3_bind_parameter_name=(a,b)=>(d._sqlite3_bind_parameter_name=V.ed)(a,b);\nd._sqlite3_bind_parameter_index=(a,b)=>(d._sqlite3_bind_parameter_index=V.fd)(a,b);d._sqlite3_db_handle=a=>(d._sqlite3_db_handle=V.gd)(a);d._sqlite3_stmt_readonly=a=>(d._sqlite3_stmt_readonly=V.hd)(a);d._sqlite3_stmt_isexplain=a=>(d._sqlite3_stmt_isexplain=V.id)(a);d._sqlite3_stmt_explain=(a,b)=>(d._sqlite3_stmt_explain=V.jd)(a,b);d._sqlite3_stmt_busy=a=>(d._sqlite3_stmt_busy=V.kd)(a);d._sqlite3_stmt_status=(a,b,c)=>(d._sqlite3_stmt_status=V.ld)(a,b,c);\nd._sqlite3_expanded_sql=a=>(d._sqlite3_expanded_sql=V.md)(a);d._sqlite3_value_numeric_type=a=>(d._sqlite3_value_numeric_type=V.nd)(a);d._sqlite3_blob_open=(a,b,c,e,f,h,k,n)=>(d._sqlite3_blob_open=V.od)(a,b,c,e,f,h,k,n);d._sqlite3_blob_close=a=>(d._sqlite3_blob_close=V.pd)(a);d._sqlite3_blob_read=(a,b,c,e)=>(d._sqlite3_blob_read=V.qd)(a,b,c,e);d._sqlite3_blob_write=(a,b,c,e)=>(d._sqlite3_blob_write=V.rd)(a,b,c,e);d._sqlite3_blob_bytes=a=>(d._sqlite3_blob_bytes=V.sd)(a);\nd._sqlite3_blob_reopen=(a,b,c)=>(d._sqlite3_blob_reopen=V.td)(a,b,c);d._sqlite3_strglob=(a,b)=>(d._sqlite3_strglob=V.ud)(a,b);d._sqlite3_strlike=(a,b,c)=>(d._sqlite3_strlike=V.vd)(a,b,c);d._sqlite3_cancel_auto_extension=a=>(d._sqlite3_cancel_auto_extension=V.wd)(a);d._sqlite3_reset_auto_extension=()=>(d._sqlite3_reset_auto_extension=V.xd)();d._sqlite3_prepare=(a,b,c,e,f)=>(d._sqlite3_prepare=V.yd)(a,b,c,e,f);d._sqlite3_prepare16=(a,b,c,e,f)=>(d._sqlite3_prepare16=V.zd)(a,b,c,e,f);\nd._sqlite3_prepare16_v2=(a,b,c,e,f)=>(d._sqlite3_prepare16_v2=V.Ad)(a,b,c,e,f);d._sqlite3_prepare16_v3=(a,b,c,e,f,h)=>(d._sqlite3_prepare16_v3=V.Bd)(a,b,c,e,f,h);d._sqlite3_get_table=(a,b,c,e,f,h)=>(d._sqlite3_get_table=V.Cd)(a,b,c,e,f,h);d._sqlite3_free_table=a=>(d._sqlite3_free_table=V.Dd)(a);d._sqlite3_create_module=(a,b,c,e)=>(d._sqlite3_create_module=V.Ed)(a,b,c,e);d._sqlite3_drop_modules=(a,b)=>(d._sqlite3_drop_modules=V.Fd)(a,b);d._sqlite3_vtab_on_conflict=a=>(d._sqlite3_vtab_on_conflict=V.Gd)(a);\nd._sqlite3_vtab_collation=(a,b)=>(d._sqlite3_vtab_collation=V.Hd)(a,b);d._sqlite3_vtab_in=(a,b,c)=>(d._sqlite3_vtab_in=V.Id)(a,b,c);d._sqlite3_vtab_rhs_value=(a,b,c)=>(d._sqlite3_vtab_rhs_value=V.Jd)(a,b,c);d._sqlite3_keyword_name=(a,b,c)=>(d._sqlite3_keyword_name=V.Kd)(a,b,c);d._sqlite3_keyword_count=()=>(d._sqlite3_keyword_count=V.Ld)();d._sqlite3_keyword_check=(a,b)=>(d._sqlite3_keyword_check=V.Md)(a,b);d._sqlite3_complete=a=>(d._sqlite3_complete=V.Nd)(a);\nd._sqlite3_complete16=a=>(d._sqlite3_complete16=V.Od)(a);d._sqlite3_libversion=()=>(d._sqlite3_libversion=V.Pd)();d._sqlite3_libversion_number=()=>(d._sqlite3_libversion_number=V.Qd)();d._sqlite3_threadsafe=()=>(d._sqlite3_threadsafe=V.Rd)();d._sqlite3_initialize=()=>(d._sqlite3_initialize=V.Sd)();d._sqlite3_config=(a,b)=>(d._sqlite3_config=V.Td)(a,b);d._sqlite3_db_mutex=a=>(d._sqlite3_db_mutex=V.Ud)(a);d._sqlite3_db_release_memory=a=>(d._sqlite3_db_release_memory=V.Vd)(a);\nd._sqlite3_db_cacheflush=a=>(d._sqlite3_db_cacheflush=V.Wd)(a);d._sqlite3_db_config=(a,b,c)=>(d._sqlite3_db_config=V.Xd)(a,b,c);d._sqlite3_last_insert_rowid=a=>(d._sqlite3_last_insert_rowid=V.Yd)(a);d._sqlite3_set_last_insert_rowid=(a,b,c)=>(d._sqlite3_set_last_insert_rowid=V.Zd)(a,b,c);d._sqlite3_changes64=a=>(d._sqlite3_changes64=V._d)(a);d._sqlite3_changes=a=>(d._sqlite3_changes=V.$d)(a);d._sqlite3_total_changes64=a=>(d._sqlite3_total_changes64=V.ae)(a);\nd._sqlite3_total_changes=a=>(d._sqlite3_total_changes=V.be)(a);d._sqlite3_txn_state=(a,b)=>(d._sqlite3_txn_state=V.ce)(a,b);d._sqlite3_close_v2=a=>(d._sqlite3_close_v2=V.de)(a);d._sqlite3_busy_handler=(a,b,c)=>(d._sqlite3_busy_handler=V.ee)(a,b,c);d._sqlite3_progress_handler=(a,b,c,e)=>(d._sqlite3_progress_handler=V.fe)(a,b,c,e);d._sqlite3_busy_timeout=(a,b)=>(d._sqlite3_busy_timeout=V.ge)(a,b);d._sqlite3_interrupt=a=>(d._sqlite3_interrupt=V.he)(a);\nd._sqlite3_is_interrupted=a=>(d._sqlite3_is_interrupted=V.ie)(a);d._sqlite3_create_function=(a,b,c,e,f,h,k,n)=>(d._sqlite3_create_function=V.je)(a,b,c,e,f,h,k,n);d._sqlite3_create_window_function=(a,b,c,e,f,h,k,n,l,m)=>(d._sqlite3_create_window_function=V.ke)(a,b,c,e,f,h,k,n,l,m);d._sqlite3_create_function16=(a,b,c,e,f,h,k,n)=>(d._sqlite3_create_function16=V.le)(a,b,c,e,f,h,k,n);d._sqlite3_overload_function=(a,b,c)=>(d._sqlite3_overload_function=V.me)(a,b,c);\nd._sqlite3_trace_v2=(a,b,c,e)=>(d._sqlite3_trace_v2=V.ne)(a,b,c,e);d._sqlite3_update_hook=(a,b,c)=>(d._sqlite3_update_hook=V.oe)(a,b,c);d._sqlite3_rollback_hook=(a,b,c)=>(d._sqlite3_rollback_hook=V.pe)(a,b,c);d._sqlite3_autovacuum_pages=(a,b,c,e)=>(d._sqlite3_autovacuum_pages=V.qe)(a,b,c,e);d._sqlite3_wal_autocheckpoint=(a,b)=>(d._sqlite3_wal_autocheckpoint=V.re)(a,b);d._sqlite3_wal_hook=(a,b,c)=>(d._sqlite3_wal_hook=V.se)(a,b,c);\nd._sqlite3_wal_checkpoint_v2=(a,b,c,e,f)=>(d._sqlite3_wal_checkpoint_v2=V.te)(a,b,c,e,f);d._sqlite3_wal_checkpoint=(a,b)=>(d._sqlite3_wal_checkpoint=V.ue)(a,b);d._sqlite3_error_offset=a=>(d._sqlite3_error_offset=V.ve)(a);d._sqlite3_errmsg16=a=>(d._sqlite3_errmsg16=V.we)(a);d._sqlite3_extended_errcode=a=>(d._sqlite3_extended_errcode=V.xe)(a);d._sqlite3_system_errno=a=>(d._sqlite3_system_errno=V.ye)(a);d._sqlite3_errstr=a=>(d._sqlite3_errstr=V.ze)(a);\nd._sqlite3_limit=(a,b,c)=>(d._sqlite3_limit=V.Ae)(a,b,c);d._sqlite3_open_v2=(a,b,c,e)=>(d._sqlite3_open_v2=V.Be)(a,b,c,e);d._sqlite3_open16=(a,b)=>(d._sqlite3_open16=V.Ce)(a,b);d._sqlite3_create_collation=(a,b,c,e,f)=>(d._sqlite3_create_collation=V.De)(a,b,c,e,f);d._sqlite3_create_collation_v2=(a,b,c,e,f,h)=>(d._sqlite3_create_collation_v2=V.Ee)(a,b,c,e,f,h);d._sqlite3_create_collation16=(a,b,c,e,f)=>(d._sqlite3_create_collation16=V.Fe)(a,b,c,e,f);\nd._sqlite3_collation_needed=(a,b,c)=>(d._sqlite3_collation_needed=V.Ge)(a,b,c);d._sqlite3_collation_needed16=(a,b,c)=>(d._sqlite3_collation_needed16=V.He)(a,b,c);d._sqlite3_get_clientdata=(a,b)=>(d._sqlite3_get_clientdata=V.Ie)(a,b);d._sqlite3_set_clientdata=(a,b,c,e)=>(d._sqlite3_set_clientdata=V.Je)(a,b,c,e);d._sqlite3_table_column_metadata=(a,b,c,e,f,h,k,n,l)=>(d._sqlite3_table_column_metadata=V.Ke)(a,b,c,e,f,h,k,n,l);d._sqlite3_sleep=a=>(d._sqlite3_sleep=V.Le)(a);\nd._sqlite3_extended_result_codes=(a,b)=>(d._sqlite3_extended_result_codes=V.Me)(a,b);d._sqlite3_file_control=(a,b,c,e)=>(d._sqlite3_file_control=V.Ne)(a,b,c,e);d._sqlite3_test_control=(a,b)=>(d._sqlite3_test_control=V.Oe)(a,b);d._sqlite3_create_filename=(a,b,c,e,f)=>(d._sqlite3_create_filename=V.Pe)(a,b,c,e,f);d._sqlite3_free_filename=a=>(d._sqlite3_free_filename=V.Qe)(a);d._sqlite3_uri_parameter=(a,b)=>(d._sqlite3_uri_parameter=V.Re)(a,b);d._sqlite3_uri_key=(a,b)=>(d._sqlite3_uri_key=V.Se)(a,b);\nd._sqlite3_uri_boolean=(a,b,c)=>(d._sqlite3_uri_boolean=V.Te)(a,b,c);d._sqlite3_uri_int64=(a,b,c,e)=>(d._sqlite3_uri_int64=V.Ue)(a,b,c,e);d._sqlite3_filename_database=a=>(d._sqlite3_filename_database=V.Ve)(a);d._sqlite3_filename_journal=a=>(d._sqlite3_filename_journal=V.We)(a);d._sqlite3_filename_wal=a=>(d._sqlite3_filename_wal=V.Xe)(a);d._sqlite3_db_name=(a,b)=>(d._sqlite3_db_name=V.Ye)(a,b);d._sqlite3_db_filename=(a,b)=>(d._sqlite3_db_filename=V.Ze)(a,b);\nd._sqlite3_db_readonly=(a,b)=>(d._sqlite3_db_readonly=V._e)(a,b);d._sqlite3_compileoption_used=a=>(d._sqlite3_compileoption_used=V.$e)(a);d._sqlite3_compileoption_get=a=>(d._sqlite3_compileoption_get=V.af)(a);d._sqlite3_sourceid=()=>(d._sqlite3_sourceid=V.bf)();var Zc=d._malloc=a=>(Zc=d._malloc=V.cf)(a),dd=d._free=a=>(dd=d._free=V.df)(a);d._RegisterExtensionFunctions=a=>(d._RegisterExtensionFunctions=V.ef)(a);d._set_authorizer=a=>(d._set_authorizer=V.ff)(a);\nd._create_function=(a,b,c,e,f,h)=>(d._create_function=V.gf)(a,b,c,e,f,h);d._on_tables_changed=(a,b,c,e,f,h)=>(d._on_tables_changed=V.hf)(a,b,c,e,f,h);d._register_table_update_hook=a=>(d._register_table_update_hook=V.jf)(a);d._create_module=(a,b,c,e)=>(d._create_module=V.kf)(a,b,c,e);d._progress_handler=(a,b)=>(d._progress_handler=V.lf)(a,b);d._register_vfs=(a,b,c,e)=>(d._register_vfs=V.mf)(a,b,c,e);d._getSqliteFree=()=>(d._getSqliteFree=V.nf)();var pd=d._main=(a,b)=>(pd=d._main=V.of)(a,b);\nd._setup_powersync=()=>(d._setup_powersync=V.pf)();var fb=(a,b)=>(fb=V.rf)(a,b),qd=()=>(qd=V.sf)(),kd=a=>(kd=V.tf)(a),ld=a=>(ld=V.uf)(a),md=()=>(md=V.vf)(),bd=a=>(bd=V.wf)(a),Qc=()=>(Qc=V.xf)(),ad=a=>(ad=V.yf)(a),cd=()=>(cd=V.zf)();d._sqlite3_version=44971;d.getTempRet0=()=>qd();d.ccall=Z;d.cwrap=(a,b,c,e)=>{var f=!c||c.every(h=>\"number\"===h||\"boolean\"===h);return\"string\"!==b&&f&&!e?d[\"_\"+a]:(...h)=>Z(a,b,c,h,e)};\nd.addFunction=(a,b)=>{if(!hd){hd=new WeakMap;var c=gd.length;if(hd)for(var e=0;e<0+c;e++){var f=gd.get(e);f&&hd.set(f,e)}}if(c=hd.get(a)||0)return c;if(jd.length)c=jd.pop();else{try{gd.grow(1)}catch(n){if(!(n instanceof RangeError))throw n;throw\"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.\";}c=gd.length-1}try{gd.set(c,a)}catch(n){if(!(n instanceof TypeError))throw n;if(\"function\"==typeof WebAssembly.Function){e=WebAssembly.Function;f={i:\"i32\",j:\"i64\",f:\"f32\",d:\"f64\",e:\"externref\",p:\"i32\"};for(var h=\n{parameters:[],results:\"v\"==b[0]?[]:[f[b[0]]]},k=1;k<b.length;++k)h.parameters.push(f[b[k]]);b=new e(h,a)}else{e=[1];f=b.slice(0,1);b=b.slice(1);h={i:127,p:127,j:126,f:125,d:124,e:111};e.push(96);k=b.length;128>k?e.push(k):e.push(k%128|128,k>>7);for(k=0;k<b.length;++k)e.push(h[b[k]]);\"v\"==f?e.push(0):e.push(1,h[f]);b=[0,97,115,109,1,0,0,0,1];f=e.length;128>f?b.push(f):b.push(f%128|128,f>>7);b.push(...e);b.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0);b=new WebAssembly.Module(new Uint8Array(b));b=(new WebAssembly.Instance(b,\n{e:{f:a}})).exports.f}gd.set(c,b)}hd.set(a,c);return c};d.setValue=I;d.getValue=H;d.UTF8ToString=(a,b)=>a?J(w,a,b):\"\";d.stringToUTF8=(a,b,c)=>K(a,w,b,c);d.lengthBytesUTF8=Ta;d.intArrayFromString=Ua;d.intArrayToString=function(a){for(var b=[],c=0;c<a.length;c++){var e=a[c];255<e&&(e&=255);b.push(String.fromCharCode(e))}return b.join(\"\")};d.AsciiToString=a=>{for(var b=\"\";;){var c=w[a++];if(!c)return b;b+=String.fromCharCode(c)}};\nd.UTF16ToString=(a,b)=>{var c=a>>1;for(var e=c+b/2;!(c>=e)&&oa[c];)++c;c<<=1;if(32<c-a&&nd)return nd.decode(w.subarray(a,c));c=\"\";for(e=0;!(e>=b/2);++e){var f=x[a+2*e>>1];if(0==f)break;c+=String.fromCharCode(f)}return c};d.stringToUTF16=(a,b,c)=>{c??=2147483647;if(2>c)return 0;c-=2;var e=b;c=c<2*a.length?c/2:a.length;for(var f=0;f<c;++f)x[b>>1]=a.charCodeAt(f),b+=2;x[b>>1]=0;return b-e};\nd.UTF32ToString=(a,b)=>{for(var c=0,e=\"\";!(c>=b/4);){var f=z[a+4*c>>2];if(0==f)break;++c;65536<=f?(f-=65536,e+=String.fromCharCode(55296|f>>10,56320|f&1023)):e+=String.fromCharCode(f)}return e};d.stringToUTF32=(a,b,c)=>{c??=2147483647;if(4>c)return 0;var e=b;c=e+c-4;for(var f=0;f<a.length;++f){var h=a.charCodeAt(f);if(55296<=h&&57343>=h){var k=a.charCodeAt(++f);h=65536+((h&1023)<<10)|k&1023}z[b>>2]=h;b+=4;if(b+4>c)break}z[b>>2]=0;return b-e};d.writeArrayToMemory=(a,b)=>{v.set(a,b)};var rd;\nza=function sd(){rd||td();rd||(za=sd)};\nfunction td(){function a(){if(!rd&&(rd=!0,d.calledRun=!0,!u)){d.noFSInit||Kb||(Kb=!0,d.stdin=d.stdin,d.stdout=d.stdout,d.stderr=d.stderr,d.stdin?Lb(\"stdin\",d.stdin):Bb(\"/dev/tty\",\"/dev/stdin\"),d.stdout?Lb(\"stdout\",null,d.stdout):Bb(\"/dev/tty\",\"/dev/stdout\"),d.stderr?Lb(\"stderr\",null,d.stderr):Bb(\"/dev/tty1\",\"/dev/stderr\"),Hb(\"/dev/stdin\",0),Hb(\"/dev/stdout\",1),Hb(\"/dev/stderr\",1));lb=!1;Ia(ta);Ia(ua);aa(d);if(d.onRuntimeInitialized)d.onRuntimeInitialized();if(ud){var b=pd;try{var c=b(0,0);na=c;Kc(c)}catch(e){Lc(e)}}if(d.postRun)for(\"function\"==\ntypeof d.postRun&&(d.postRun=[d.postRun]);d.postRun.length;)b=d.postRun.shift(),va.unshift(b);Ia(va)}}if(!(0<xa)){if(d.preRun)for(\"function\"==typeof d.preRun&&(d.preRun=[d.preRun]);d.preRun.length;)wa();Ia(sa);0<xa||(d.setStatus?(d.setStatus(\"Running...\"),setTimeout(function(){setTimeout(function(){d.setStatus(\"\")},1);a()},1)):a())}}if(d.preInit)for(\"function\"==typeof d.preInit&&(d.preInit=[d.preInit]);0<d.preInit.length;)d.preInit.pop()();var ud=!0;d.noInitialRun&&(ud=!1);td();\n\n\n return readyPromise\n}\n);\n})();\nexport default Module;"],"names":[],"sourceRoot":""}
|