@oliphaunt/wasix-ts 0.2.0 → 0.2.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.1]() (2026-10-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **packaging:** restore WASIX initdb and isolate Android C++ runtime ([#245](https://github.com/f0rr0/oliphaunt/issues/245)) ([96c566a](https://github.com/f0rr0/oliphaunt/commit/96c566a7251aae09e441cc0fc4479c58c8809f58))
9
+
3
10
  ## [0.2.0]() (2026-09-29)
4
11
 
5
12
 
@@ -8,4 +8,4 @@
8
8
  * @repository git+https://github.com/wasmerio/wasmer-js.git
9
9
  * @license MIT
10
10
  */
11
- var e=Object.freeze({__proto__:null,oliphauntFastClockImport:function(e,t){let n;const _=new Map;let r=e.buffer,i=new DataView(r);function o(t){const n=t>>>0;return r!==e.buffer&&(r=e.buffer,i=new DataView(r)),n+8<=r.byteLength?n:void 0}function c(e,_,r){const i=t(e,_,r);if(0===i){const e=Date.now();Number.isFinite(e)&&e>=0&&(n=e)}return i}return function(e,t,r){let a,s;if(0===e){if(a=Date.now(),!Number.isFinite(a)||a<0)return c(e,t,r);s=1000000n*BigInt(Math.trunc(a))}else{if(1!==e)return c(e,t,r);{if(void 0===globalThis.performance)return c(e,t,r);if(a=globalThis.performance.now(),!Number.isFinite(a)||a<0)return c(e,t,r);const n=_.get(e);if(void 0===n||a<n.millis||a-n.millis>=16)return function(e,t,n,r){const a=c(e,t,n);if(0!==a||void 0===r)return a;const s=o(n);if(void 0===s)return a;const b=globalThis.performance.now();return!Number.isFinite(b)||b<r?(_.delete(e),a):(_.set(e,{millis:b,nanoseconds:i.getBigUint64(s,!0)}),a)}(e,t,r,a);s=n.nanoseconds+BigInt(Math.round(1e6*(a-n.millis)))}}const b=Date.now();if(!Number.isFinite(b)||b<0||void 0===n||b<n||b-n>=16)return c(e,t,r);const g=o(r);return void 0===g?c(e,t,r):(i.setBigUint64(g,s,!0),0)}}});var t=Object.freeze({__proto__:null,oliphaunt_monotonic_time_ms:function(){return performance.timeOrigin+performance.now()}});let n,_=null;function r(){return null!==_&&_.buffer===n.memory.buffer||(_=new Uint8Array(n.memory.buffer)),_}let i="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&i.decode();const o=2146435072;let c=0;function a(e,t){return function(e,t){return c+=t,c>=o&&(i="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}},i.decode(),c=t),i.decode(r().slice(e,e+t))}(e>>>=0,t)}let s=0;const b="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},g=function(e,t){const n=b.encode(e);return t.set(n),{read:e.length,written:n.length}};function w(e,t,n){if(void 0===n){const n=b.encode(e),_=t(n.length,1)>>>0;return r().subarray(_,_+n.length).set(n),s=n.length,_}let _=e.length,i=t(_,1)>>>0;const o=r();let c=0;for(;c<_;c++){const t=e.charCodeAt(c);if(t>127)break;o[i+c]=t}if(c!==_){0!==c&&(e=e.slice(c)),i=n(i,_,_=c+3*e.length,1)>>>0;const t=r().subarray(i+c,i+_);c+=g(e,t).written,i=n(i,_,c,1)>>>0}return s=c,i}let u=null;function f(){return null!==u&&u.buffer===n.memory.buffer||(u=new DataView(n.memory.buffer)),u}function l(e){return null==e}function d(e){const t=n.__externref_table_alloc();return n.__wbindgen_export_5.set(t,e),t}function p(e,t){try{return e.apply(this,t)}catch(e){const t=d(e);n.__wbindgen_exn_store(t)}}function y(e,t){return e>>>=0,r().subarray(e/1,e/1+t)}const h="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>{n.__wbindgen_export_6.get(e.dtor)(e.a,e.b)}));function m(e,t,_,r){const i={a:e,b:t,cnt:1,dtor:_},o=(...e)=>{i.cnt++;const t=i.a;i.a=0;try{return r(t,i.b,...e)}finally{0==--i.cnt?(n.__wbindgen_export_6.get(i.dtor)(t,i.b),h.unregister(i)):i.a=t}};return o.original=i,h.register(o,i,i),o}function R(e,t,_,r){const i={a:e,b:t,cnt:1,dtor:_},o=(...e)=>{i.cnt++;try{return r(i.a,i.b,...e)}finally{0==--i.cnt&&(n.__wbindgen_export_6.get(i.dtor)(i.a,i.b),i.a=0,h.unregister(i))}};return o.original=i,h.register(o,i,i),o}function v(e){const t=typeof e;if("number"==t||"boolean"==t||null==e)return`${e}`;if("string"==t)return`"${e}"`;if("symbol"==t){const t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==t){const t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){const t=e.length;let n="[";t>0&&(n+=v(e[0]));for(let _=1;_<t;_++)n+=", "+v(e[_]);return n+="]",n}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(!(n&&n.length>1))return toString.call(e);if(_=n[1],"Object"==_)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:_}function A(e){const t=n.__wbindgen_export_5.get(e);return n.__externref_table_dealloc(e),t}function k(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s,r=n.wat2wasm(t,_);if(r[2])throw A(r[1]);return A(r[0])}function F(){n.on_start()}function x(e){n.setSDKUrl(e)}function z(e){n.setWorkerUrl(e)}function I(e,t,_){return n.instantiateOliphauntDirect(e,t,_)}function O(e,t){const _=n.prepareOliphauntTool(e,t);if(_[2])throw A(_[1]);return ae.__wrap(_[0])}function j(e,t){if(!(e instanceof t))throw new Error(`expected instance of ${t.name}`)}function S(e,t,_,r){j(e,ae);return n.runOliphauntToolDirect(e.__wbg_ptr,t,_,r)}function W(e){var t=l(e)?0:w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;const r=n.initializeLogger(t,_);if(r[1])throw A(r[0])}function M(e,t){return n.runWasix(e,t)}function T(e,t,_){n.closure505_externref_shim(e,t,_)}function U(e,t){return n.closure643_externref_shim(e,t)}function D(e,t,_){return n.closure646_externref_shim(e,t,_)}function B(e,t,_){const r=n.closure1338_externref_shim_multivalue_shim(e,t,_);if(r[2])throw A(r[1]);return A(r[0])}function L(e,t,_){const r=n.closure1337_externref_shim_multivalue_shim(e,t,_);if(r[1])throw A(r[0])}const E=["blob","arraybuffer"],C=["omit","same-origin","include"],P=["same-origin","no-cors","cors","navigate"],q=["classic","module"],G="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_atom_free(e>>>0,1)));class N{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,G.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_atom_free(e,0)}}const $="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_command_free(e>>>0,1)));class V{static __wrap(e){e>>>=0;const t=Object.create(V.prototype);return t.__wbg_ptr=e,$.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_command_free(e,0)}get name(){return n.__wbg_get_command_name(this.__wbg_ptr)}set name(e){n.__wbg_set_command_name(this.__wbg_ptr,e)}run(e){return n.command_run(this.__wbg_ptr,l(e)?0:d(e))}binary(){return n.command_binary(this.__wbg_ptr)}}const K="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_deployedapp_free(e>>>0,1)));class H{static __wrap(e){e>>>=0;const t=Object.create(H.prototype);return t.__wbg_ptr=e,K.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,K.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_deployedapp_free(e,0)}get id(){let e,t;try{const _=n.__wbg_get_deployedapp_id(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set id(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_id(this.__wbg_ptr,t,_)}get created_at(){let e,t;try{const _=n.__wbg_get_deployedapp_created_at(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set created_at(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_created_at(this.__wbg_ptr,t,_)}get version(){let e,t;try{const _=n.__wbg_get_deployedapp_version(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set version(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_version(this.__wbg_ptr,t,_)}get description(){const e=n.__wbg_get_deployedapp_description(this.__wbg_ptr);let t;return 0!==e[0]&&(t=a(e[0],e[1]).slice(),n.canonical_abi_free(e[0],1*e[1],1)),t}set description(e){var t=l(e)?0:w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_description(this.__wbg_ptr,t,_)}get yaml_config(){let e,t;try{const _=n.__wbg_get_deployedapp_yaml_config(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set yaml_config(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_yaml_config(this.__wbg_ptr,t,_)}get user_yaml_config(){let e,t;try{const _=n.__wbg_get_deployedapp_user_yaml_config(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set user_yaml_config(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_user_yaml_config(this.__wbg_ptr,t,_)}get config(){let e,t;try{const _=n.__wbg_get_deployedapp_config(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set config(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_config(this.__wbg_ptr,t,_)}get json_config(){let e,t;try{const _=n.__wbg_get_deployedapp_json_config(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set json_config(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_json_config(this.__wbg_ptr,t,_)}get url(){let e,t;try{const _=n.__wbg_get_deployedapp_url(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set url(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_url(this.__wbg_ptr,t,_)}get app_id(){const e=n.__wbg_get_deployedapp_app_id(this.__wbg_ptr);let t;return 0!==e[0]&&(t=a(e[0],e[1]).slice(),n.canonical_abi_free(e[0],1*e[1],1)),t}set app_id(e){var t=l(e)?0:w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_app_id(this.__wbg_ptr,t,_)}}const J="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_directory_free(e>>>0,1)));class Y{static __wrap(e){e>>>=0;const t=Object.create(Y.prototype);return t.__wbg_ptr=e,J.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,J.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_directory_free(e,0)}__getClassname(){let e,t;try{const _=n.directory___getClassname(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}constructor(e){const t=n.directory_new(l(e)?0:d(e));if(t[2])throw A(t[1]);return this.__wbg_ptr=t[0]>>>0,J.register(this,this.__wbg_ptr,this),this}static createSync(e,t){const _=n.directory_createSync(e,t);if(_[2])throw A(_[1]);return Y.__wrap(_[0])}readDir(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_readDir(this.__wbg_ptr,t,_)}writeFile(e,t){const _=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;return n.directory_writeFile(this.__wbg_ptr,_,r,t)}readFile(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_readFile(this.__wbg_ptr,t,_)}readTextFile(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_readTextFile(this.__wbg_ptr,t,_)}createDir(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_createDir(this.__wbg_ptr,t,_)}removeDir(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_removeDir(this.__wbg_ptr,t,_)}removeFile(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_removeFile(this.__wbg_ptr,t,_)}changedPaths(){const e=n.directory_changedPaths(this.__wbg_ptr);if(e[2])throw A(e[1]);return A(e[0])}clearChanges(){const e=n.directory_clearChanges(this.__wbg_ptr);if(e[1])throw A(e[0])}entryType(e){let t,_;try{const o=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=s,b=n.directory_entryType(this.__wbg_ptr,o,c);var r=b[0],i=b[1];if(b[3])throw r=0,i=0,A(b[2]);return t=r,_=i,a(r,i)}finally{n.canonical_abi_free(t,_,1)}}}const Q="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_instance_free(e>>>0,1)));class X{static __wrap(e){e>>>=0;const t=Object.create(X.prototype);return t.__wbg_ptr=e,Q.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_instance_free(e,0)}get stdin(){return n.__wbg_get_instance_stdin(this.__wbg_ptr)}get stdout(){return n.__wbg_get_instance_stdout(this.__wbg_ptr)}get stderr(){return n.__wbg_get_instance_stderr(this.__wbg_ptr)}wait(){const e=this.__destroy_into_raw();return n.instance_wait(e)}}const Z="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_intounderlyingbytesource_free(e>>>0,1)));class ee{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_intounderlyingbytesource_free(e,0)}get type(){let e,t;try{const _=n.intounderlyingbytesource_type(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}get autoAllocateChunkSize(){return n.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr)>>>0}start(e){n.intounderlyingbytesource_start(this.__wbg_ptr,e)}pull(e){return n.intounderlyingbytesource_pull(this.__wbg_ptr,e)}cancel(){const e=this.__destroy_into_raw();n.intounderlyingbytesource_cancel(e)}}const te="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_intounderlyingsink_free(e>>>0,1)));class ne{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,te.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_intounderlyingsink_free(e,0)}write(e){return n.intounderlyingsink_write(this.__wbg_ptr,e)}close(){const e=this.__destroy_into_raw();return n.intounderlyingsink_close(e)}abort(e){const t=this.__destroy_into_raw();return n.intounderlyingsink_abort(t,e)}}const _e="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_intounderlyingsource_free(e>>>0,1)));class re{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,_e.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_intounderlyingsource_free(e,0)}pull(e){return n.intounderlyingsource_pull(this.__wbg_ptr,e)}cancel(){const e=this.__destroy_into_raw();n.intounderlyingsource_cancel(e)}}const ie="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_oliphauntdirectinstance_free(e>>>0,1)));class oe{static __wrap(e){e>>>=0;const t=Object.create(oe.prototype);return t.__wbg_ptr=e,ie.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ie.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_oliphauntdirectinstance_free(e,0)}startup(e){const t=n.oliphauntdirectinstance_startup(this.__wbg_ptr,e);if(t[2])throw A(t[1]);return A(t[0])}execProtocolRaw(e){const t=n.oliphauntdirectinstance_execProtocolRaw(this.__wbg_ptr,e);if(t[2])throw A(t[1]);return A(t[0])}execProtocolStream(e,t){const _=n.oliphauntdirectinstance_execProtocolStream(this.__wbg_ptr,e,t);if(_[2])throw A(_[1]);return _[0]>>>0}execProtocolDuplex(e,t,_){const r=n.oliphauntdirectinstance_execProtocolDuplex(this.__wbg_ptr,e,t,_);if(r[1])throw A(r[0])}close(){const e=n.oliphauntdirectinstance_close(this.__wbg_ptr);if(e[1])throw A(e[0])}}const ce="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_oliphauntpreparedtool_free(e>>>0,1)));class ae{static __wrap(e){e>>>=0;const t=Object.create(ae.prototype);return t.__wbg_ptr=e,ce.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ce.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_oliphauntpreparedtool_free(e,0)}}const se="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_publishpackageoutput_free(e>>>0,1)));class be{static __wrap(e){e>>>=0;const t=Object.create(be.prototype);return t.__wbg_ptr=e,se.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,se.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_publishpackageoutput_free(e,0)}get manifest(){return n.__wbg_get_publishpackageoutput_manifest(this.__wbg_ptr)}set manifest(e){n.__wbg_set_publishpackageoutput_manifest(this.__wbg_ptr,e)}get hash(){let e,t;try{const _=n.__wbg_get_publishpackageoutput_hash(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set hash(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_id(this.__wbg_ptr,t,_)}}const ge="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_readablestreamsource_free(e>>>0,1)));class we{static __wrap(e){e>>>=0;const t=Object.create(we.prototype);return t.__wbg_ptr=e,ge.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ge.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_readablestreamsource_free(e,0)}pull(e){return n.readablestreamsource_pull(this.__wbg_ptr,e)}cancel(){n.readablestreamsource_cancel(this.__wbg_ptr)}get type(){return n.readablestreamsource_type(this.__wbg_ptr)}}const ue="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_runtime_free(e>>>0,1)));class fe{static __wrap(e){e>>>=0;const t=Object.create(fe.prototype);return t.__wbg_ptr=e,ue.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ue.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_runtime_free(e,0)}__getClassname(){let e,t;try{const _=n.runtime___getClassname(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}constructor(e){const t=n.runtime_js_new(l(e)?0:d(e));if(t[2])throw A(t[1]);return this.__wbg_ptr=t[0]>>>0,ue.register(this,this.__wbg_ptr,this),this}static global(e){const t=n.runtime_global(l(e)?16777215:e?1:0);if(t[2])throw A(t[1]);return 0===t[0]?void 0:fe.__wrap(t[0])}}const le="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_threadpoolworker_free(e>>>0,1)));class de{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,le.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_threadpoolworker_free(e,0)}constructor(e){const t=n.threadpoolworker_new(e);return this.__wbg_ptr=t>>>0,le.register(this,this.__wbg_ptr,this),this}handle(e){return n.threadpoolworker_handle(this.__wbg_ptr,e)}}const pe="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_trap_free(e>>>0,1)));class ye{static __wrap(e){e>>>=0;const t=Object.create(ye.prototype);return t.__wbg_ptr=e,pe.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,pe.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_trap_free(e,0)}static __wbg_wasmer_trap(){n.trap___wbg_wasmer_trap()}}const he="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_user_free(e>>>0,1)));class me{static __wrap(e){e>>>=0;const t=Object.create(me.prototype);return t.__wbg_ptr=e,he.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,he.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_user_free(e,0)}get id(){let e,t;try{const _=n.__wbg_get_user_id(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set id(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_user_id(this.__wbg_ptr,t,_)}get username(){let e,t;try{const _=n.__wbg_get_user_username(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set username(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_user_username(this.__wbg_ptr,t,_)}}const Re="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_userpackagedefinition_free(e>>>0,1)));class ve{static __wrap(e){e>>>=0;const t=Object.create(ve.prototype);return t.__wbg_ptr=e,Re.register(t,t.__wbg_ptr,t),t}static __unwrap(e){return e instanceof ve?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Re.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_userpackagedefinition_free(e,0)}__getClassname(){let e,t;try{const _=n.userpackagedefinition___getClassname(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}get hash(){let e,t;try{const _=n.__wbg_get_userpackagedefinition_hash(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set hash(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_userpackagedefinition_hash(this.__wbg_ptr,t,_)}}const Ae="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_volume_free(e>>>0,1)));class ke{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Ae.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_volume_free(e,0)}}const Fe="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_wasmer_free(e>>>0,1)));class xe{static __wrap(e){e>>>=0;const t=Object.create(xe.prototype);return t.__wbg_ptr=e,Fe.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Fe.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_wasmer_free(e,0)}__getClassname(){let e,t;try{const _=n.wasmer___getClassname(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}get entrypoint(){const e=n.__wbg_get_wasmer_entrypoint(this.__wbg_ptr);return 0===e?void 0:V.__wrap(e)}set entrypoint(e){let t=0;l(e)||(j(e,V),t=e.__destroy_into_raw()),n.__wbg_set_wasmer_entrypoint(this.__wbg_ptr,t)}get commands(){return n.__wbg_get_wasmer_commands(this.__wbg_ptr)}set commands(e){n.__wbg_set_wasmer_commands(this.__wbg_ptr,e)}get pkg(){const e=n.__wbg_get_wasmer_pkg(this.__wbg_ptr);return 0===e?void 0:ve.__wrap(e)}set pkg(e){let t=0;l(e)||(j(e,ve),t=e.__destroy_into_raw()),n.__wbg_set_wasmer_pkg(this.__wbg_ptr,t)}static fromRegistry(e,t){const _=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;return n.wasmer_fromRegistry(_,r,l(t)?0:d(t))}static fromFile(e,t){return n.wasmer_fromFile(e,l(t)?0:d(t))}static fromWasm(e,t){const _=n.wasmer_fromWasm(e,l(t)?0:d(t));if(_[2])throw A(_[1]);return xe.__wrap(_[0])}static deployApp(e){return n.wasmer_deployApp(e)}static deleteApp(e){return n.wasmer_deleteApp(e)}static whoami(){return n.wasmer_whoami()}static createPackage(e){return n.wasmer_createPackage(e)}static publishPackage(e){j(e,xe);return n.wasmer_publishPackage(e.__wbg_ptr)}}const ze="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_wasmerpackage_free(e>>>0,1)));class Ie{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ze.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_wasmerpackage_free(e,0)}get manifest(){return n.__wbg_get_wasmerpackage_manifest(this.__wbg_ptr)}set manifest(e){n.__wbg_set_wasmerpackage_manifest(this.__wbg_ptr,e)}get data(){const e=n.__wbg_get_wasmerpackage_data(this.__wbg_ptr);var t=y(e[0],e[1]).slice();return n.canonical_abi_free(e[0],1*e[1],1),t}set data(e){const t=function(e,t){const n=t(1*e.length,1)>>>0;return r().set(e,n/1),s=e.length,n}(e,n.__wbindgen_malloc),_=s;n.__wbg_set_deployedapp_id(this.__wbg_ptr,t,_)}}const Oe="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_writablestreamsink_free(e>>>0,1)));class je{static __wrap(e){e>>>=0;const t=Object.create(je.prototype);return t.__wbg_ptr=e,Oe.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Oe.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_writablestreamsink_free(e,0)}close(){return n.writablestreamsink_close(this.__wbg_ptr)}abort(e){n.writablestreamsink_abort(this.__wbg_ptr,e)}write(e){return n.writablestreamsink_write(this.__wbg_ptr,e)}}const Se=new Set(["basic","cors","default"]);function We(){const _={wbg:{}};return _.wbg.__wbg_BigInt_6e3a01c3311ee796=function(e){return BigInt(e)},_.wbg.__wbg_Error_0497d5bdba9362e5=function(e,t){return Error(a(e,t))},_.wbg.__wbg_String_8f0eb39a4a4c2f66=function(e,t){const _=w(String(t),n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbg_abort_18ba44d46e13d7fe=function(e){e.abort()},_.wbg.__wbg_apiKey_136c64a1dd577ea4=function(e,t){const _=t.apiKey;var r=l(_)?0:w(_,n.__wbindgen_malloc,n.__wbindgen_realloc),i=s;f().setInt32(e+4,i,!0),f().setInt32(e+0,r,!0)},_.wbg.__wbg_append_0342728346e47425=function(){return p((function(e,t,n,_,r){e.append(a(t,n),a(_,r))}),arguments)},_.wbg.__wbg_apply_8745fdcf855d21f5=function(){return p((function(e,t,n){return e.apply(t,n)}),arguments)},_.wbg.__wbg_apply_d49e9c0472b015cc=function(){return p((function(e,t,n){return Reflect.apply(e,t,n)}),arguments)},_.wbg.__wbg_args_ce3906bca5fd2b6f=function(e){const t=e.args;return l(t)?0:d(t)},_.wbg.__wbg_arrayBuffer_d58b858456021d7f=function(){return p((function(e){return e.arrayBuffer()}),arguments)},_.wbg.__wbg_assert_83d6354717cc805b=function(e,t){console.assert(0!==e,t)},_.wbg.__wbg_async_89f8ca583cefeb81=function(e){return e.async},_.wbg.__wbg_bind_1e748fe02d440d48=function(e,t,n){return e.bind(t,n)},_.wbg.__wbg_bind_d075481af636a524=function(e,t,n,_){return e.bind(t,n,_)},_.wbg.__wbg_buffer_a1a27a0dfa70165d=function(e){return e.buffer},_.wbg.__wbg_buffer_e495ba54cee589cc=function(e){return e.buffer},_.wbg.__wbg_byobRequest_56aa768ee4dfed17=function(e){const t=e.byobRequest;return l(t)?0:d(t)},_.wbg.__wbg_byteLength_937f8a52f9697148=function(e){return e.byteLength},_.wbg.__wbg_byteLength_bf6d30ef92bae19b=function(e){return e.byteLength},_.wbg.__wbg_byteOffset_4d94b7170e641898=function(e){return e.byteOffset},_.wbg.__wbg_call_f2db6205e5c51dc8=function(){return p((function(e,t,n){return e.call(t,n)}),arguments)},_.wbg.__wbg_call_fbe8be8bf6436ce5=function(){return p((function(e,t){return e.call(t)}),arguments)},_.wbg.__wbg_close_290fb040af98d3ac=function(){return p((function(e){e.close()}),arguments)},_.wbg.__wbg_close_b2641ef0870e518c=function(){return p((function(e){e.close()}),arguments)},_.wbg.__wbg_close_f203332f9561bf29=function(e){return e.close()},_.wbg.__wbg_colno_1fbc9165b6cd1b26=function(e){return e.colno},_.wbg.__wbg_command_new=function(e){return V.__wrap(e)},_.wbg.__wbg_compile_b206843d6dde9918=function(e){return WebAssembly.compile(e)},_.wbg.__wbg_constructor_1a4f07ad72d5cac3=function(e){return e.constructor},_.wbg.__wbg_createObjectURL_1acd82bf8749f5a9=function(){return p((function(e,t){const _=w(URL.createObjectURL(t),n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)}),arguments)},_.wbg.__wbg_crypto_ed58b8e10a292839=function(e){return e.crypto},_.wbg.__wbg_customSections_3a8a19674e217d36=function(e,t,n){return WebAssembly.Module.customSections(e,a(t,n))},_.wbg.__wbg_cwd_13b069cde8a90c68=function(e,t){const _=t.cwd;var r=l(_)?0:w(_,n.__wbindgen_malloc,n.__wbindgen_realloc),i=s;f().setInt32(e+4,i,!0),f().setInt32(e+0,r,!0)},_.wbg.__wbg_data_fffd43bf0ca75fff=function(e){return e.data},_.wbg.__wbg_defineProperty_6a428a581612fed4=function(e,t,n){return Object.defineProperty(e,t,n)},_.wbg.__wbg_deleteProperty_ec71c2c829351683=function(){return p((function(e,t){return Reflect.deleteProperty(e,t)}),arguments)},_.wbg.__wbg_deployedapp_new=function(e){return H.__wrap(e)},_.wbg.__wbg_desiredSize_dd7689d8aa7da7dd=function(e,t){const n=t.desiredSize;f().setFloat64(e+8,l(n)?0:n,!0),f().setInt32(e+0,!l(n),!0)},_.wbg.__wbg_done_4d01f352bade43b7=function(e){return e.done},_.wbg.__wbg_enqueue_a62faa171c4fd287=function(){return p((function(e,t){e.enqueue(t)}),arguments)},_.wbg.__wbg_entries_41651c850143b957=function(e){return Object.entries(e)},_.wbg.__wbg_env_6b7462d491e7d2ae=function(e){return e.env},_.wbg.__wbg_error_1950bd19b566135e=function(e,t){e.error(t)},_.wbg.__wbg_error_7534b8e9a36f1ab4=function(e,t){let _,r;try{_=e,r=t,console.error(a(e,t))}finally{n.canonical_abi_free(_,r,1)}},_.wbg.__wbg_exports_5cb55953fb23c405=function(e){return e.exports},_.wbg.__wbg_exports_93f662ec1dd2b1e2=function(e){return WebAssembly.Module.exports(e)},_.wbg.__wbg_fetch_03b6c973bb6da9b8=function(e){return fetch(e)},_.wbg.__wbg_fetch_6e679fcfa9759479=function(e,t){return e.fetch(t)},_.wbg.__wbg_fetch_a8e43a4e138dfc93=function(e,t){return e.fetch(t)},_.wbg.__wbg_filename_5c8881452d91f4fd=function(e,t){const _=w(t.filename,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbg_for_555902b1a859c603=function(e,t){return Symbol.for(a(e,t))},_.wbg.__wbg_from_12ff8e47307bd4c7=function(e){return Array.from(e)},_.wbg.__wbg_getPrototypeOf_a1794d62c12daab4=function(){return p((function(e){return Reflect.getPrototypeOf(e)}),arguments)},_.wbg.__wbg_getRandomValues_bcb4912f16000dc4=function(){return p((function(e,t){e.getRandomValues(t)}),arguments)},_.wbg.__wbg_getTime_2afe67905d873e92=function(e){return e.getTime()},_.wbg.__wbg_get_92470be87867c2e5=function(){return p((function(e,t){return Reflect.get(e,t)}),arguments)},_.wbg.__wbg_get_a131a44bd1eb6979=function(e,t){return e[t>>>0]},_.wbg.__wbg_get_be8d302ec5bf8863=function(){return p((function(e,t){return e.get(t>>>0)}),arguments)},_.wbg.__wbg_getwithrefkey_1dc361bd10053bfe=function(e,t){return e[t]},_.wbg.__wbg_grow_0a942972adfcde67=function(){return p((function(e,t){return e.grow(t>>>0)}),arguments)},_.wbg.__wbg_grow_ae9c73e837b2d936=function(e,t){return e.grow(t>>>0)},_.wbg.__wbg_grow_d034989fce14cc8e=function(){return p((function(e,t){return e.grow(t>>>0)}),arguments)},_.wbg.__wbg_hardwareConcurrency_10d7194b406e56d2=function(e){return e.hardwareConcurrency},_.wbg.__wbg_hardwareConcurrency_fd778a5fdf975150=function(e){return e.hardwareConcurrency},_.wbg.__wbg_has_809e438ee9d787a7=function(){return p((function(e,t){return Reflect.has(e,t)}),arguments)},_.wbg.__wbg_headers_0f0cbdc6290b6780=function(e){return e.headers},_.wbg.__wbg_headers_67fbc7839fe933b3=function(e){return e.headers},_.wbg.__wbg_imports_1f5c972c2e57dfb5=function(e){return WebAssembly.Module.imports(e)},_.wbg.__wbg_instance_new=function(e){return X.__wrap(e)},_.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc=function(e){let t;try{t=e instanceof ArrayBuffer}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Blob_2688511ca2a71508=function(e){let t;try{t=e instanceof Blob}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Date_ef7e3d6f544a9d16=function(e){let t;try{t=e instanceof Date}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Error_58a92d81483a4b16=function(e){let t;try{t=e instanceof Error}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Function_4de5a228b53c20c3=function(e){let t;try{t=e instanceof Function}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Global_d43eb3e1373e574d=function(e){let t;try{t=e instanceof WebAssembly.Global}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Map_80cc65041c96417a=function(e){let t;try{t=e instanceof Map}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Memory_613951003465ef5c=function(e){let t;try{t=e instanceof WebAssembly.Memory}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Module_ac6579472cc013d8=function(e){let t;try{t=e instanceof WebAssembly.Module}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Object_9a05796038b7a8f6=function(e){let t;try{t=e instanceof Object}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_RangeError_67b19cb7651a2151=function(e){let t;try{t=e instanceof RangeError}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2=function(e){let t;try{t=e instanceof Response}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Table_a5fae5b77c0e21e8=function(e){let t;try{t=e instanceof WebAssembly.Table}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Tag_ff306496211677da=function(e){let t;try{t=e instanceof WebAssembly.Tag}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_TypeError_16d245a01d4dd626=function(e){let t;try{t=e instanceof TypeError}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827=function(e){let t;try{t=e instanceof Uint8Array}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Window_68f3f67bad1729c1=function(e){let t;try{t=e instanceof Window}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_WorkerGlobalScope_11f8a14c11024785=function(e){let t;try{t=e instanceof WorkerGlobalScope}catch(e){t=!1}return t},_.wbg.__wbg_instantiate_f487a4cdb9ad18ac=function(e,t){return WebAssembly.instantiate(e,t)},_.wbg.__wbg_isArray_2a07fd175d45c496=function(e){return Array.isArray(e)},_.wbg.__wbg_isArray_5f090bed72bd4f89=function(e){return Array.isArray(e)},_.wbg.__wbg_isSafeInteger_90d7c4674047d684=function(e){return Number.isSafeInteger(e)},_.wbg.__wbg_is_49ee71a294f7d2fe=function(e,t){return Object.is(e,t)},_.wbg.__wbg_iterator_4068add5b2aef7a6=function(){return Symbol.iterator},_.wbg.__wbg_keys_42062809bf87339e=function(e){return Object.keys(e)},_.wbg.__wbg_length_865e6e8de4a8c6cb=function(e){return e.length},_.wbg.__wbg_length_ab6d22b5ead75c72=function(e){return e.length},_.wbg.__wbg_length_f00ec12454a5d9fd=function(e){return e.length},_.wbg.__wbg_lineno_9fe2a23a82cebd53=function(e){return e.lineno},_.wbg.__wbg_locked_c5cc88823268db66=function(e){return e.locked},_.wbg.__wbg_log_ea240990d83e374e=function(e){console.log(e)},_.wbg.__wbg_message_4159c15dac08c5e9=function(e){return e.message},_.wbg.__wbg_message_44ef9b801b7d8bc3=function(e,t){const _=w(t.message,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbg_moduleBytes_32de83ad4e0b2ed1=function(e){const t=e.moduleBytes;return l(t)?0:d(t)},_.wbg.__wbg_mount_dfb06836b0f9b20b=function(e){return e.mount},_.wbg.__wbg_msCrypto_0a36e2ec3a343d26=function(e){return e.msCrypto},_.wbg.__wbg_navigator_6db993f5ffeb46be=function(e){return e.navigator},_.wbg.__wbg_navigator_fc64ba1417939b25=function(e){return e.navigator},_.wbg.__wbg_networkGateway_79e326cb5c82e7fd=function(e,t){const _=t.networkGateway;var r=l(_)?0:w(_,n.__wbindgen_malloc,n.__wbindgen_realloc),i=s;f().setInt32(e+4,i,!0),f().setInt32(e+0,r,!0)},_.wbg.__wbg_new_07b483f72211fd66=function(){return new Object},_.wbg.__wbg_new_104a6fcd57ac32c0=function(){return p((function(){return new FileReader}),arguments)},_.wbg.__wbg_new_181343b7eb238d99=function(e){return new Int32Array(e)},_.wbg.__wbg_new_186abcfdff244e42=function(){return p((function(){return new AbortController}),arguments)},_.wbg.__wbg_new_2debb2b422bd07bd=function(){return p((function(e,t){return new WebAssembly.Global(e,t)}),arguments)},_.wbg.__wbg_new_39fae4e38868373c=function(){return p((function(e,t){return new Worker(a(e,t))}),arguments)},_.wbg.__wbg_new_476169e6d59f23ae=function(e,t){return new Error(a(e,t))},_.wbg.__wbg_new_4796e1cd2eb9ea6d=function(){return p((function(){return new Headers}),arguments)},_.wbg.__wbg_new_58353953ad2097cc=function(){return new Array},_.wbg.__wbg_new_5dd74caa1b362828=function(){return p((function(e){return new WebAssembly.Module(e)}),arguments)},_.wbg.__wbg_new_7449da607adc249f=function(){return p((function(e,t){return new WebAssembly.Instance(e,t)}),arguments)},_.wbg.__wbg_new_75fba833e24e4ae9=function(){return p((function(e){return new WebAssembly.Memory(e)}),arguments)},_.wbg.__wbg_new_8a6f238a6ece86ea=function(){return new Error},_.wbg.__wbg_new_a4e7a0370d48e1b4=function(){return p((function(e){return new ReadableStreamDefaultReader(e)}),arguments)},_.wbg.__wbg_new_a979b4b45bd55c7f=function(){return new Map},_.wbg.__wbg_new_b60148568efca43b=function(e,t){return new TypeError(a(e,t))},_.wbg.__wbg_new_e30c39c06edaabf2=function(e,t){try{var _={a:e,b:t};const r=new Promise(((e,t)=>{const r=_.a;_.a=0;try{return function(e,t,_,r){n.closure262_externref_shim(e,t,_,r)}(r,_.b,e,t)}finally{_.a=r}}));return r}finally{_.a=_.b=0}},_.wbg.__wbg_new_e52b3efaaa774f96=function(e){return new Uint8Array(e)},_.wbg.__wbg_new_e769da3b652f0d9f=function(){return p((function(e){return new WebAssembly.Table(e)}),arguments)},_.wbg.__wbg_new_f42a001532528172=function(){return p((function(e,t){return new WebSocket(a(e,t))}),arguments)},_.wbg.__wbg_new_fd4b538754de98d6=function(){return p((function(e){return new WebAssembly.Tag(e)}),arguments)},_.wbg.__wbg_newfromslice_7c05ab1297cb2d88=function(e,t){return new Uint8Array(y(e,t))},_.wbg.__wbg_newnoargs_ff528e72d35de39a=function(e,t){return new Function(a(e,t))},_.wbg.__wbg_newwithargs_17a05078fc85d3aa=function(e,t,n,_){return new Function(a(e,t),a(n,_))},_.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8=function(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)},_.wbg.__wbg_newwithlength_08f872dc1e3ada2e=function(e){return new Uint8Array(e>>>0)},_.wbg.__wbg_newwithlength_6ee231411efd06b6=function(e){return new Array(e>>>0)},_.wbg.__wbg_newwithoptions_9931e161b714ebf9=function(){return p((function(e,t,n){return new Worker(a(e,t),n)}),arguments)},_.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37=function(){return p((function(e,t,n){return new Request(a(e,t),n)}),arguments)},_.wbg.__wbg_newwithu8arraysequenceandoptions_3b5b6ab7317ffd8f=function(){return p((function(e,t){return new Blob(e,t)}),arguments)},_.wbg.__wbg_newwithunderlyingsinkandstrategy_481c2b5a223a4560=function(){return p((function(e,t){return new WritableStream(e,t)}),arguments)},_.wbg.__wbg_newwithunderlyingsourceandstrategy_594ea2be3e0723ff=function(){return p((function(e,t){return new ReadableStream(e,t)}),arguments)},_.wbg.__wbg_next_8bb824d217961b5d=function(e){return e.next},_.wbg.__wbg_next_e2da48d8fff7439a=function(){return p((function(e){return e.next()}),arguments)},_.wbg.__wbg_node_02999533c4ea02e3=function(e){return e.node},_.wbg.__wbg_now_7ab37f05ab2d0b81=function(e){return e.now()},_.wbg.__wbg_now_eb0821f3bd9f6529=function(){return Date.now()},_.wbg.__wbg_of_995ab9c48c3965f1=function(e,t,n){return Array.of(e,t,n)},_.wbg.__wbg_oliphauntCopyFromGuest_8c2c6e2520c9fc95=function(){return p((function(e,t,n){var _,r;return _=t>>>0,r=n>>>0,new Uint8Array(e.buffer,_,r).slice()}),arguments)},_.wbg.__wbg_oliphauntCopyToGuest_a8e15be4fb526fed=function(){return p((function(e,t,n){var _,r;_=t>>>0,r=n,new Uint8Array(e.buffer,_,r.byteLength).set(r)}),arguments)},_.wbg.__wbg_oliphauntdirectinstance_new=function(e){return oe.__wrap(e)},_.wbg.__wbg_postMessage_54ce7f4b41ac732e=function(){return p((function(e,t){e.postMessage(t)}),arguments)},_.wbg.__wbg_postMessage_95ef4554c6b7ca0c=function(){return p((function(e,t){e.postMessage(t)}),arguments)},_.wbg.__wbg_process_5c1d670bc53614b8=function(e){return e.process},_.wbg.__wbg_program_0ccd177127e926dc=function(e){return e.program},_.wbg.__wbg_publishpackageoutput_new=function(e){return be.__wrap(e)},_.wbg.__wbg_push_73fd7b5550ebf707=function(e,t){return e.push(t)},_.wbg.__wbg_queueMicrotask_46c1df247678729f=function(e){queueMicrotask(e)},_.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11=function(e){return e.queueMicrotask},_.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740=function(){return p((function(e,t){e.randomFillSync(t)}),arguments)},_.wbg.__wbg_random_210bb7fbfa33591d=function(){return Math.random()},_.wbg.__wbg_readAsArrayBuffer_ec86f70be9ee80e9=function(){return p((function(e,t){e.readAsArrayBuffer(t)}),arguments)},_.wbg.__wbg_read_f4b89f69cc51efc7=function(e){return e.read()},_.wbg.__wbg_readablestreamsource_new=function(e){return we.__wrap(e)},_.wbg.__wbg_redirected_380499cd18bc27c0=function(e){return e.redirected},_.wbg.__wbg_registry_0193688f92324c7c=function(e){const t=e.registry;return l(t)?0:d(t)},_.wbg.__wbg_releaseLock_c589dd51c0812aca=function(e){e.releaseLock()},_.wbg.__wbg_require_79b1e9274cde3c87=function(){return p((function(){return module.require}),arguments)},_.wbg.__wbg_resolve_0dac8c580ffd4678=function(e){return Promise.resolve(e)},_.wbg.__wbg_respond_b227f1c3be2bb879=function(){return p((function(e,t){e.respond(t>>>0)}),arguments)},_.wbg.__wbg_result_142fc4d88cbccb26=function(){return p((function(e){return e.result}),arguments)},_.wbg.__wbg_runtime_3a007260b7cad09f=function(e){return e.runtime},_.wbg.__wbg_send_05456d2bf190b017=function(){return p((function(e,t){e.send(t)}),arguments)},_.wbg.__wbg_setTimeout_84a114fc6c4403f8=function(){return p((function(e,t,n){return e.setTimeout(t,n)}),arguments)},_.wbg.__wbg_setTimeout_906fea9a7279f446=function(){return p((function(e,t,n){return e.setTimeout(t,n)}),arguments)},_.wbg.__wbg_set_3f1d0b984ed272ed=function(e,t,n){e[t]=n},_.wbg.__wbg_set_7422acbe992d64ab=function(e,t,n){e[t>>>0]=n},_.wbg.__wbg_set_b042eef31c50834d=function(){return p((function(e,t,n,_,r){e.set(a(t,n),a(_,r))}),arguments)},_.wbg.__wbg_set_c43293f93a35998a=function(){return p((function(e,t,n){return Reflect.set(e,t,n)}),arguments)},_.wbg.__wbg_set_d6bdfd275fb8a4ce=function(e,t,n){return e.set(t,n)},_.wbg.__wbg_set_eeace154fc5ce736=function(){return p((function(e,t,n){e.set(t>>>0,n)}),arguments)},_.wbg.__wbg_set_fe4e79d1ed3b0e9b=function(e,t,n){e.set(t,n>>>0)},_.wbg.__wbg_setbinaryType_52787d6025601cc5=function(e,t){e.binaryType=E[t]},_.wbg.__wbg_setbody_971ec015fc13d6b4=function(e,t){e.body=t},_.wbg.__wbg_setcredentials_920d91fb5984c94a=function(e,t){e.credentials=C[t]},_.wbg.__wbg_setheaders_65a4eb4c0443ae61=function(e,t){e.headers=t},_.wbg.__wbg_sethighwatermark_3017ad772d071dcb=function(e,t){e.highWaterMark=t},_.wbg.__wbg_setmethod_8ce1be0b4d701b7c=function(e,t,n){e.method=a(t,n)},_.wbg.__wbg_setmode_bd35f026f55b6247=function(e,t){e.mode=P[t]},_.wbg.__wbg_setname_9b01ac306adf8bfd=function(e,t,n){e.name=a(t,n)},_.wbg.__wbg_setonclose_c6db38f935250174=function(e,t){e.onclose=t},_.wbg.__wbg_setonerror_890bfd1ff86e9c78=function(e,t){e.onerror=t},_.wbg.__wbg_setonloadend_a6c211075855db45=function(e,t){e.onloadend=t},_.wbg.__wbg_setonmessage_49ca623a77cfb3e6=function(e,t){e.onmessage=t},_.wbg.__wbg_setonmessage_f6cf46183c427754=function(e,t){e.onmessage=t},_.wbg.__wbg_setonopen_1475cbeb761c101f=function(e,t){e.onopen=t},_.wbg.__wbg_setsignal_8e72abfe7ee03c97=function(e,t){e.signal=t},_.wbg.__wbg_setsize_13f2192310db9b34=function(e,t){e.size=t},_.wbg.__wbg_settype_acc38e64fddb9e3f=function(e,t,n){e.type=a(t,n)},_.wbg.__wbg_settype_ca83ae32b7117898=function(e,t){e.type=q[t]},_.wbg.__wbg_setvalue_bd9df7c968e4b416=function(e,t){e.value=t},_.wbg.__wbg_signal_b96223519a041faa=function(e){return e.signal},_.wbg.__wbg_slice_3d0e7815d7b9d2ee=function(e,t,n){return e.slice(t>>>0,n>>>0)},_.wbg.__wbg_stack_0ed75d68575b0f3c=function(e,t){const _=w(t.stack,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d=function(){const e="undefined"==typeof global?null:global;return l(e)?0:d(e)},_.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291=function(){const e="undefined"==typeof globalThis?null:globalThis;return l(e)?0:d(e)},_.wbg.__wbg_static_accessor_SELF_78c9e3071b912620=function(){const e="undefined"==typeof self?null:self;return l(e)?0:d(e)},_.wbg.__wbg_static_accessor_WINDOW_a093d21393777366=function(){const e="undefined"==typeof window?null:window;return l(e)?0:d(e)},_.wbg.__wbg_status_a54682bbe52f9058=function(e){return e.status},_.wbg.__wbg_stdin_4d05ba90fc2c39de=function(e){const t=e.stdin;return l(t)?0:d(t)},_.wbg.__wbg_stringify_c242842b97f054cc=function(){return p((function(e){return JSON.stringify(e)}),arguments)},_.wbg.__wbg_subarray_dd4ade7d53bd8e26=function(e,t,n){return e.subarray(t>>>0,n>>>0)},_.wbg.__wbg_terminate_af36b01db24a1745=function(e){e.terminate()},_.wbg.__wbg_text_ec0e22f60e30dd2f=function(){return p((function(e){return e.text()}),arguments)},_.wbg.__wbg_then_82ab9fb4080f1707=function(e,t,n){return e.then(t,n)},_.wbg.__wbg_then_db882932c0c714c6=function(e,t){return e.then(t)},_.wbg.__wbg_toString_2a748bb7135f7e4d=function(e,t,_){const r=w(t.toString(_),n.__wbindgen_malloc,n.__wbindgen_realloc),i=s;f().setInt32(e+4,i,!0),f().setInt32(e+0,r,!0)},_.wbg.__wbg_toString_bc7a05a172b5cf14=function(e){return e.toString()},_.wbg.__wbg_trap_new=function(e){return ye.__wrap(e)},_.wbg.__wbg_url_e6ed869ea05b7a71=function(e,t){const _=w(t.url,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbg_userAgent_470abfd84e4eedcb=function(){return p((function(e,t){const _=w(t.userAgent,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)}),arguments)},_.wbg.__wbg_userAgent_a24a493cd80cbd00=function(){return p((function(e,t){const _=w(t.userAgent,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)}),arguments)},_.wbg.__wbg_user_new=function(e){return me.__wrap(e)},_.wbg.__wbg_userpackagedefinition_unwrap=function(e){return ve.__unwrap(e)},_.wbg.__wbg_uses_7494620cc35a86ad=function(e){const t=e.uses;return l(t)?0:d(t)},_.wbg.__wbg_value_17b896954e14f896=function(e){return e.value},_.wbg.__wbg_value_c22dc41e42f5d813=function(e){return e.value},_.wbg.__wbg_value_f8fe3ce05407a213=function(e){return e.value},_.wbg.__wbg_versions_c71aa1626a93e0a1=function(e){return e.versions},_.wbg.__wbg_view_a9ad80dcbad7cf1c=function(e){const t=e.view;return l(t)?0:d(t)},_.wbg.__wbg_waitAsync_c3398694eaa5aeab=function(e,t,n){return Atomics.waitAsync(e,t>>>0,n)},_.wbg.__wbg_waitAsync_e36f18e2e26c3b7d=function(){return Atomics.waitAsync},_.wbg.__wbg_wasmer_new=function(e){return xe.__wrap(e)},_.wbg.__wbg_writablestreamsink_new=function(e){return je.__wrap(e)},_.wbg.__wbindgen_array_new=function(){return[]},_.wbg.__wbindgen_array_push=function(e,t){e.push(t)},_.wbg.__wbindgen_as_number=function(e){return+e},_.wbg.__wbindgen_bigint_from_i64=function(e){return e},_.wbg.__wbindgen_bigint_from_u128=function(e,t){return BigInt.asUintN(64,e)<<BigInt(64)|BigInt.asUintN(64,t)},_.wbg.__wbindgen_bigint_from_u64=function(e){return BigInt.asUintN(64,e)},_.wbg.__wbindgen_bigint_get_as_i64=function(e,t){const n="bigint"==typeof t?t:void 0;f().setBigInt64(e+8,l(n)?BigInt(0):n,!0),f().setInt32(e+0,!l(n),!0)},_.wbg.__wbindgen_boolean_get=function(e){return"boolean"==typeof e?e?1:0:2},_.wbg.__wbindgen_cb_drop=function(e){const t=e.original;if(1==t.cnt--)return t.a=0,!0;return!1},_.wbg.__wbindgen_closure_wrapper1484=function(e,t,n){return m(e,t,504,T)},_.wbg.__wbindgen_closure_wrapper1485=function(e,t,n){return m(e,t,504,T)},_.wbg.__wbindgen_closure_wrapper5058=function(e,t,n){return m(e,t,504,T)},_.wbg.__wbindgen_closure_wrapper6322=function(e,t,n){return R(e,t,504,U)},_.wbg.__wbindgen_closure_wrapper6328=function(e,t,n){return m(e,t,504,T)},_.wbg.__wbindgen_closure_wrapper6334=function(e,t,n){return R(e,t,504,D)},_.wbg.__wbindgen_closure_wrapper8399=function(e,t,n){return m(e,t,504,B)},_.wbg.__wbindgen_closure_wrapper8400=function(e,t,n){return m(e,t,504,B)},_.wbg.__wbindgen_closure_wrapper8401=function(e,t,n){return m(e,t,504,L)},_.wbg.__wbindgen_debug_string=function(e,t){const _=w(v(t),n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbindgen_function_table=function(){return n.__wbindgen_export_6},_.wbg.__wbindgen_in=function(e,t){return e in t},_.wbg.__wbindgen_init_externref_table=function(){const e=n.__wbindgen_export_5,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)},_.wbg.__wbindgen_is_bigint=function(e){return"bigint"==typeof e},_.wbg.__wbindgen_is_falsy=function(e){return!e},_.wbg.__wbindgen_is_function=function(e){return"function"==typeof e},_.wbg.__wbindgen_is_null=function(e){return null===e},_.wbg.__wbindgen_is_object=function(e){return"object"==typeof e&&null!==e},_.wbg.__wbindgen_is_string=function(e){return"string"==typeof e},_.wbg.__wbindgen_is_undefined=function(e){return void 0===e},_.wbg.__wbindgen_jsval_eq=function(e,t){return e===t},_.wbg.__wbindgen_jsval_loose_eq=function(e,t){return e==t},_.wbg.__wbindgen_link_db87ac8434ca3f93=function(e){const t="onmessage = function (ev) {\n let [ia, index, value] = ev.data;\n ia = new Int32Array(ia.buffer);\n let result = Atomics.wait(ia, index, value);\n postMessage(result);\n };\n ",_=w(void 0===URL.createObjectURL?"data:application/javascript,"+encodeURIComponent(t):URL.createObjectURL(new Blob([t],{type:"text/javascript"})),n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbindgen_lt=function(e,t){return e<t},_.wbg.__wbindgen_memory=function(){return n.memory},_.wbg.__wbindgen_module=function(){return De.__wbindgen_wasm_module},_.wbg.__wbindgen_neg=function(e){return-e},_.wbg.__wbindgen_number_get=function(e,t){const n="number"==typeof t?t:void 0;f().setFloat64(e+8,l(n)?0:n,!0),f().setInt32(e+0,!l(n),!0)},_.wbg.__wbindgen_number_new=function(e){return e},_.wbg.__wbindgen_rethrow=function(e){throw e},_.wbg.__wbindgen_shr=function(e,t){return e>>t},_.wbg.__wbindgen_string_get=function(e,t){const _="string"==typeof t?t:void 0;var r=l(_)?0:w(_,n.__wbindgen_malloc,n.__wbindgen_realloc),i=s;f().setInt32(e+4,i,!0),f().setInt32(e+0,r,!0)},_.wbg.__wbindgen_string_new=function(e,t){return a(e,t)},_.wbg.__wbindgen_throw=function(e,t){throw new Error(a(e,t))},_["./snippets/wasmer-wasix-4747c544ebbe2187/inline0.js"]=e,_["./snippets/wasmer-wasix-4747c544ebbe2187/inline1.js"]=t,_}function Me(e,t){e.wbg.memory=t||new WebAssembly.Memory({initial:34,maximum:16384,shared:!0})}function Te(e,t,r){if(n=e.exports,De.__wbindgen_wasm_module=t,u=null,_=null,void 0!==r&&("number"!=typeof r||0===r||r%65536!=0))throw"invalid stack size";return n.__wbindgen_start(r),n}function Ue(e,t){if(void 0!==n)return n;let _;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module:e,memory:t,thread_stack_size:_}=e):console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const r=We();Me(r,t),e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e));return Te(new WebAssembly.Instance(e,r),e,_)}async function De(e,t){if(void 0!==n)return n;let _;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module_or_path:e,memory:t,thread_stack_size:_}=e):console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===e&&(e=new URL("wasmer_js_bg.wasm",import.meta.url));const r=We();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e)),Me(r,t);const{instance:i,module:o}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(!e.ok||!Se.has(e.type)||"application/wasm"===e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}(await e,r);return Te(i,o,_)}const Be=async(e,t)=>{e?(e instanceof WebAssembly.Module||e instanceof URL||e instanceof WebAssembly.Module)&&(t?(console.info("Passing the module and memory as first arguments to the init function is deprecated, please use: `init({module: WASM_MODULE, memory: WASM_MEMORY})`"),e={module:e,memory:t}):(console.info("Passing the module as first argument to the init function is deprecated, please use: `init({module: WASM_MODULE})`"),e={module:e})):e={},Le(e);let n=await De({module_or_path:e.module,memory:e.memory});return e.log&&W(e.log),e.workerUrl&&z(e.workerUrl.toString()),e.sdkUrl?x(e.sdkUrl.toString()):x(new URL("index.mjs",import.meta.url).toString()),n},Le=e=>{globalThis.__WASMER_REGISTRY__={registryUrl:e.registryUrl,token:e.token}};export{N as Atom,V as Command,H as DeployedApp,Y as Directory,X as Instance,ee as IntoUnderlyingByteSource,ne as IntoUnderlyingSink,re as IntoUnderlyingSource,oe as OliphauntDirectInstance,ae as OliphauntPreparedTool,be as PublishPackageOutput,we as ReadableStreamSource,fe as Runtime,de as ThreadPoolWorker,ye as Trap,me as User,ve as UserPackageDefinition,ke as Volume,xe as Wasmer,Ie as WasmerPackage,je as WritableStreamSink,Be as init,Ue as initSync,W as initializeLogger,I as instantiateOliphauntDirect,F as on_start,O as prepareOliphauntTool,S as runOliphauntToolDirect,M as runWasix,Le as setRegistry,x as setSDKUrl,z as setWorkerUrl,k as wat2wasm};
11
+ var e=Object.freeze({__proto__:null,oliphauntFastClockImport:function(e,t){let n;const _=new Map;let r=e.buffer,i=new DataView(r);function o(t){const n=t>>>0;return r!==e.buffer&&(r=e.buffer,i=new DataView(r)),n+8<=r.byteLength?n:void 0}function c(e,_,r){const i=t(e,_,r);if(0===i){const e=Date.now();Number.isFinite(e)&&e>=0&&(n=e)}return i}return function(e,t,r){let a,s;if(0===e){if(a=Date.now(),!Number.isFinite(a)||a<0)return c(e,t,r);s=1000000n*BigInt(Math.trunc(a))}else{if(1!==e)return c(e,t,r);{if(void 0===globalThis.performance)return c(e,t,r);if(a=globalThis.performance.now(),!Number.isFinite(a)||a<0)return c(e,t,r);const n=_.get(e);if(void 0===n||a<n.millis||a-n.millis>=16)return function(e,t,n,r){const a=c(e,t,n);if(0!==a||void 0===r)return a;const s=o(n);if(void 0===s)return a;const b=globalThis.performance.now();return!Number.isFinite(b)||b<r?(_.delete(e),a):(_.set(e,{millis:b,nanoseconds:i.getBigUint64(s,!0)}),a)}(e,t,r,a);s=n.nanoseconds+BigInt(Math.round(1e6*(a-n.millis)))}}const b=Date.now();if(!Number.isFinite(b)||b<0||void 0===n||b<n||b-n>=16)return c(e,t,r);const g=o(r);return void 0===g?c(e,t,r):(i.setBigUint64(g,s,!0),0)}}});var t=Object.freeze({__proto__:null,oliphaunt_monotonic_time_ms:function(){return performance.timeOrigin+performance.now()}});let n,_=null;function r(){return null!==_&&_.buffer===n.memory.buffer||(_=new Uint8Array(n.memory.buffer)),_}let i="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&i.decode();const o=2146435072;let c=0;function a(e,t){return function(e,t){return c+=t,c>=o&&(i="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}},i.decode(),c=t),i.decode(r().slice(e,e+t))}(e>>>=0,t)}let s=0;const b="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},g=function(e,t){const n=b.encode(e);return t.set(n),{read:e.length,written:n.length}};function w(e,t,n){if(void 0===n){const n=b.encode(e),_=t(n.length,1)>>>0;return r().subarray(_,_+n.length).set(n),s=n.length,_}let _=e.length,i=t(_,1)>>>0;const o=r();let c=0;for(;c<_;c++){const t=e.charCodeAt(c);if(t>127)break;o[i+c]=t}if(c!==_){0!==c&&(e=e.slice(c)),i=n(i,_,_=c+3*e.length,1)>>>0;const t=r().subarray(i+c,i+_);c+=g(e,t).written,i=n(i,_,c,1)>>>0}return s=c,i}let u=null;function f(){return null!==u&&u.buffer===n.memory.buffer||(u=new DataView(n.memory.buffer)),u}function l(e){return null==e}function d(e){const t=n.__externref_table_alloc();return n.__wbindgen_export_5.set(t,e),t}function p(e,t){try{return e.apply(this,t)}catch(e){const t=d(e);n.__wbindgen_exn_store(t)}}function y(e,t){return e>>>=0,r().subarray(e/1,e/1+t)}const h="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>{n.__wbindgen_export_6.get(e.dtor)(e.a,e.b)}));function m(e,t,_,r){const i={a:e,b:t,cnt:1,dtor:_},o=(...e)=>{i.cnt++;const t=i.a;i.a=0;try{return r(t,i.b,...e)}finally{0==--i.cnt?(n.__wbindgen_export_6.get(i.dtor)(t,i.b),h.unregister(i)):i.a=t}};return o.original=i,h.register(o,i,i),o}function R(e,t,_,r){const i={a:e,b:t,cnt:1,dtor:_},o=(...e)=>{i.cnt++;try{return r(i.a,i.b,...e)}finally{0==--i.cnt&&(n.__wbindgen_export_6.get(i.dtor)(i.a,i.b),i.a=0,h.unregister(i))}};return o.original=i,h.register(o,i,i),o}function v(e){const t=typeof e;if("number"==t||"boolean"==t||null==e)return`${e}`;if("string"==t)return`"${e}"`;if("symbol"==t){const t=e.description;return null==t?"Symbol":`Symbol(${t})`}if("function"==t){const t=e.name;return"string"==typeof t&&t.length>0?`Function(${t})`:"Function"}if(Array.isArray(e)){const t=e.length;let n="[";t>0&&(n+=v(e[0]));for(let _=1;_<t;_++)n+=", "+v(e[_]);return n+="]",n}const n=/\[object ([^\]]+)\]/.exec(toString.call(e));let _;if(!(n&&n.length>1))return toString.call(e);if(_=n[1],"Object"==_)try{return"Object("+JSON.stringify(e)+")"}catch(e){return"Object"}return e instanceof Error?`${e.name}: ${e.message}\n${e.stack}`:_}function A(e){const t=n.__wbindgen_export_5.get(e);return n.__externref_table_dealloc(e),t}function k(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s,r=n.wat2wasm(t,_);if(r[2])throw A(r[1]);return A(r[0])}function F(){n.on_start()}function x(e){n.setSDKUrl(e)}function z(e){n.setWorkerUrl(e)}function I(e,t,_){return n.instantiateOliphauntDirect(e,t,_)}function O(e,t){const _=n.prepareOliphauntTool(e,t);if(_[2])throw A(_[1]);return ae.__wrap(_[0])}function j(e,t){if(!(e instanceof t))throw new Error(`expected instance of ${t.name}`)}function S(e,t,_,r){j(e,ae);return n.runOliphauntToolDirect(e.__wbg_ptr,t,_,r)}function W(e){var t=l(e)?0:w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;const r=n.initializeLogger(t,_);if(r[1])throw A(r[0])}function M(e,t){return n.runWasix(e,t)}function T(e,t,_){n.closure497_externref_shim(e,t,_)}function U(e,t,_){return n.closure634_externref_shim(e,t,_)}function D(e,t){return n.closure638_externref_shim(e,t)}function B(e,t,_){const r=n.closure1337_externref_shim_multivalue_shim(e,t,_);if(r[2])throw A(r[1]);return A(r[0])}function L(e,t,_){const r=n.closure1338_externref_shim_multivalue_shim(e,t,_);if(r[1])throw A(r[0])}const E=["blob","arraybuffer"],C=["omit","same-origin","include"],P=["same-origin","no-cors","cors","navigate"],q=["classic","module"],G="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_atom_free(e>>>0,1)));class N{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,G.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_atom_free(e,0)}}const $="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_command_free(e>>>0,1)));class V{static __wrap(e){e>>>=0;const t=Object.create(V.prototype);return t.__wbg_ptr=e,$.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_command_free(e,0)}get name(){return n.__wbg_get_command_name(this.__wbg_ptr)}set name(e){n.__wbg_set_command_name(this.__wbg_ptr,e)}run(e){return n.command_run(this.__wbg_ptr,l(e)?0:d(e))}binary(){return n.command_binary(this.__wbg_ptr)}}const K="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_deployedapp_free(e>>>0,1)));class H{static __wrap(e){e>>>=0;const t=Object.create(H.prototype);return t.__wbg_ptr=e,K.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,K.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_deployedapp_free(e,0)}get id(){let e,t;try{const _=n.__wbg_get_deployedapp_id(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set id(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_id(this.__wbg_ptr,t,_)}get created_at(){let e,t;try{const _=n.__wbg_get_deployedapp_created_at(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set created_at(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_created_at(this.__wbg_ptr,t,_)}get version(){let e,t;try{const _=n.__wbg_get_deployedapp_version(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set version(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_version(this.__wbg_ptr,t,_)}get description(){const e=n.__wbg_get_deployedapp_description(this.__wbg_ptr);let t;return 0!==e[0]&&(t=a(e[0],e[1]).slice(),n.canonical_abi_free(e[0],1*e[1],1)),t}set description(e){var t=l(e)?0:w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_description(this.__wbg_ptr,t,_)}get yaml_config(){let e,t;try{const _=n.__wbg_get_deployedapp_yaml_config(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set yaml_config(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_yaml_config(this.__wbg_ptr,t,_)}get user_yaml_config(){let e,t;try{const _=n.__wbg_get_deployedapp_user_yaml_config(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set user_yaml_config(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_user_yaml_config(this.__wbg_ptr,t,_)}get config(){let e,t;try{const _=n.__wbg_get_deployedapp_config(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set config(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_config(this.__wbg_ptr,t,_)}get json_config(){let e,t;try{const _=n.__wbg_get_deployedapp_json_config(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set json_config(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_json_config(this.__wbg_ptr,t,_)}get url(){let e,t;try{const _=n.__wbg_get_deployedapp_url(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set url(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_url(this.__wbg_ptr,t,_)}get app_id(){const e=n.__wbg_get_deployedapp_app_id(this.__wbg_ptr);let t;return 0!==e[0]&&(t=a(e[0],e[1]).slice(),n.canonical_abi_free(e[0],1*e[1],1)),t}set app_id(e){var t=l(e)?0:w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_app_id(this.__wbg_ptr,t,_)}}const J="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_directory_free(e>>>0,1)));class Y{static __wrap(e){e>>>=0;const t=Object.create(Y.prototype);return t.__wbg_ptr=e,J.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,J.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_directory_free(e,0)}__getClassname(){let e,t;try{const _=n.directory___getClassname(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}constructor(e){const t=n.directory_new(l(e)?0:d(e));if(t[2])throw A(t[1]);return this.__wbg_ptr=t[0]>>>0,J.register(this,this.__wbg_ptr,this),this}static createSync(e,t){const _=n.directory_createSync(e,t);if(_[2])throw A(_[1]);return Y.__wrap(_[0])}readDir(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_readDir(this.__wbg_ptr,t,_)}writeFile(e,t){const _=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;return n.directory_writeFile(this.__wbg_ptr,_,r,t)}readFile(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_readFile(this.__wbg_ptr,t,_)}readTextFile(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_readTextFile(this.__wbg_ptr,t,_)}createDir(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_createDir(this.__wbg_ptr,t,_)}removeDir(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_removeDir(this.__wbg_ptr,t,_)}removeFile(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;return n.directory_removeFile(this.__wbg_ptr,t,_)}changedPaths(){const e=n.directory_changedPaths(this.__wbg_ptr);if(e[2])throw A(e[1]);return A(e[0])}clearChanges(){const e=n.directory_clearChanges(this.__wbg_ptr);if(e[1])throw A(e[0])}entryType(e){let t,_;try{const o=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=s,b=n.directory_entryType(this.__wbg_ptr,o,c);var r=b[0],i=b[1];if(b[3])throw r=0,i=0,A(b[2]);return t=r,_=i,a(r,i)}finally{n.canonical_abi_free(t,_,1)}}}const Q="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_instance_free(e>>>0,1)));class X{static __wrap(e){e>>>=0;const t=Object.create(X.prototype);return t.__wbg_ptr=e,Q.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_instance_free(e,0)}get stdin(){return n.__wbg_get_instance_stdin(this.__wbg_ptr)}get stdout(){return n.__wbg_get_instance_stdout(this.__wbg_ptr)}get stderr(){return n.__wbg_get_instance_stderr(this.__wbg_ptr)}wait(){const e=this.__destroy_into_raw();return n.instance_wait(e)}}const Z="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_intounderlyingbytesource_free(e>>>0,1)));class ee{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Z.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_intounderlyingbytesource_free(e,0)}get type(){let e,t;try{const _=n.intounderlyingbytesource_type(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}get autoAllocateChunkSize(){return n.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr)>>>0}start(e){n.intounderlyingbytesource_start(this.__wbg_ptr,e)}pull(e){return n.intounderlyingbytesource_pull(this.__wbg_ptr,e)}cancel(){const e=this.__destroy_into_raw();n.intounderlyingbytesource_cancel(e)}}const te="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_intounderlyingsink_free(e>>>0,1)));class ne{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,te.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_intounderlyingsink_free(e,0)}write(e){return n.intounderlyingsink_write(this.__wbg_ptr,e)}close(){const e=this.__destroy_into_raw();return n.intounderlyingsink_close(e)}abort(e){const t=this.__destroy_into_raw();return n.intounderlyingsink_abort(t,e)}}const _e="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_intounderlyingsource_free(e>>>0,1)));class re{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,_e.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_intounderlyingsource_free(e,0)}pull(e){return n.intounderlyingsource_pull(this.__wbg_ptr,e)}cancel(){const e=this.__destroy_into_raw();n.intounderlyingsource_cancel(e)}}const ie="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_oliphauntdirectinstance_free(e>>>0,1)));class oe{static __wrap(e){e>>>=0;const t=Object.create(oe.prototype);return t.__wbg_ptr=e,ie.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ie.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_oliphauntdirectinstance_free(e,0)}startup(e){const t=n.oliphauntdirectinstance_startup(this.__wbg_ptr,e);if(t[2])throw A(t[1]);return A(t[0])}execProtocolRaw(e){const t=n.oliphauntdirectinstance_execProtocolRaw(this.__wbg_ptr,e);if(t[2])throw A(t[1]);return A(t[0])}execProtocolStream(e,t){const _=n.oliphauntdirectinstance_execProtocolStream(this.__wbg_ptr,e,t);if(_[2])throw A(_[1]);return _[0]>>>0}execProtocolDuplex(e,t,_){const r=n.oliphauntdirectinstance_execProtocolDuplex(this.__wbg_ptr,e,t,_);if(r[1])throw A(r[0])}close(){const e=n.oliphauntdirectinstance_close(this.__wbg_ptr);if(e[1])throw A(e[0])}}const ce="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_oliphauntpreparedtool_free(e>>>0,1)));class ae{static __wrap(e){e>>>=0;const t=Object.create(ae.prototype);return t.__wbg_ptr=e,ce.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ce.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_oliphauntpreparedtool_free(e,0)}}const se="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_publishpackageoutput_free(e>>>0,1)));class be{static __wrap(e){e>>>=0;const t=Object.create(be.prototype);return t.__wbg_ptr=e,se.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,se.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_publishpackageoutput_free(e,0)}get manifest(){return n.__wbg_get_publishpackageoutput_manifest(this.__wbg_ptr)}set manifest(e){n.__wbg_set_publishpackageoutput_manifest(this.__wbg_ptr,e)}get hash(){let e,t;try{const _=n.__wbg_get_publishpackageoutput_hash(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set hash(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_deployedapp_id(this.__wbg_ptr,t,_)}}const ge="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_readablestreamsource_free(e>>>0,1)));class we{static __wrap(e){e>>>=0;const t=Object.create(we.prototype);return t.__wbg_ptr=e,ge.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ge.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_readablestreamsource_free(e,0)}pull(e){return n.readablestreamsource_pull(this.__wbg_ptr,e)}cancel(){n.readablestreamsource_cancel(this.__wbg_ptr)}get type(){return n.readablestreamsource_type(this.__wbg_ptr)}}const ue="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_runtime_free(e>>>0,1)));class fe{static __wrap(e){e>>>=0;const t=Object.create(fe.prototype);return t.__wbg_ptr=e,ue.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ue.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_runtime_free(e,0)}__getClassname(){let e,t;try{const _=n.runtime___getClassname(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}constructor(e){const t=n.runtime_js_new(l(e)?0:d(e));if(t[2])throw A(t[1]);return this.__wbg_ptr=t[0]>>>0,ue.register(this,this.__wbg_ptr,this),this}static global(e){const t=n.runtime_global(l(e)?16777215:e?1:0);if(t[2])throw A(t[1]);return 0===t[0]?void 0:fe.__wrap(t[0])}}const le="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_threadpoolworker_free(e>>>0,1)));class de{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,le.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_threadpoolworker_free(e,0)}constructor(e){const t=n.threadpoolworker_new(e);return this.__wbg_ptr=t>>>0,le.register(this,this.__wbg_ptr,this),this}handle(e){return n.threadpoolworker_handle(this.__wbg_ptr,e)}}const pe="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_trap_free(e>>>0,1)));class ye{static __wrap(e){e>>>=0;const t=Object.create(ye.prototype);return t.__wbg_ptr=e,pe.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,pe.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_trap_free(e,0)}static __wbg_wasmer_trap(){n.trap___wbg_wasmer_trap()}}const he="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_user_free(e>>>0,1)));class me{static __wrap(e){e>>>=0;const t=Object.create(me.prototype);return t.__wbg_ptr=e,he.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,he.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_user_free(e,0)}get id(){let e,t;try{const _=n.__wbg_get_user_id(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set id(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_user_id(this.__wbg_ptr,t,_)}get username(){let e,t;try{const _=n.__wbg_get_user_username(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set username(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_user_username(this.__wbg_ptr,t,_)}}const Re="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_userpackagedefinition_free(e>>>0,1)));class ve{static __wrap(e){e>>>=0;const t=Object.create(ve.prototype);return t.__wbg_ptr=e,Re.register(t,t.__wbg_ptr,t),t}static __unwrap(e){return e instanceof ve?e.__destroy_into_raw():0}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Re.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_userpackagedefinition_free(e,0)}__getClassname(){let e,t;try{const _=n.userpackagedefinition___getClassname(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}get hash(){let e,t;try{const _=n.__wbg_get_userpackagedefinition_hash(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}set hash(e){const t=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),_=s;n.__wbg_set_userpackagedefinition_hash(this.__wbg_ptr,t,_)}}const Ae="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_volume_free(e>>>0,1)));class ke{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Ae.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_volume_free(e,0)}}const Fe="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_wasmer_free(e>>>0,1)));class xe{static __wrap(e){e>>>=0;const t=Object.create(xe.prototype);return t.__wbg_ptr=e,Fe.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Fe.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_wasmer_free(e,0)}__getClassname(){let e,t;try{const _=n.wasmer___getClassname(this.__wbg_ptr);return e=_[0],t=_[1],a(_[0],_[1])}finally{n.canonical_abi_free(e,t,1)}}get entrypoint(){const e=n.__wbg_get_wasmer_entrypoint(this.__wbg_ptr);return 0===e?void 0:V.__wrap(e)}set entrypoint(e){let t=0;l(e)||(j(e,V),t=e.__destroy_into_raw()),n.__wbg_set_wasmer_entrypoint(this.__wbg_ptr,t)}get commands(){return n.__wbg_get_wasmer_commands(this.__wbg_ptr)}set commands(e){n.__wbg_set_wasmer_commands(this.__wbg_ptr,e)}get pkg(){const e=n.__wbg_get_wasmer_pkg(this.__wbg_ptr);return 0===e?void 0:ve.__wrap(e)}set pkg(e){let t=0;l(e)||(j(e,ve),t=e.__destroy_into_raw()),n.__wbg_set_wasmer_pkg(this.__wbg_ptr,t)}static fromRegistry(e,t){const _=w(e,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;return n.wasmer_fromRegistry(_,r,l(t)?0:d(t))}static fromFile(e,t){return n.wasmer_fromFile(e,l(t)?0:d(t))}static fromWasm(e,t){const _=n.wasmer_fromWasm(e,l(t)?0:d(t));if(_[2])throw A(_[1]);return xe.__wrap(_[0])}static deployApp(e){return n.wasmer_deployApp(e)}static deleteApp(e){return n.wasmer_deleteApp(e)}static whoami(){return n.wasmer_whoami()}static createPackage(e){return n.wasmer_createPackage(e)}static publishPackage(e){j(e,xe);return n.wasmer_publishPackage(e.__wbg_ptr)}}const ze="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_wasmerpackage_free(e>>>0,1)));class Ie{__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,ze.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_wasmerpackage_free(e,0)}get manifest(){return n.__wbg_get_wasmerpackage_manifest(this.__wbg_ptr)}set manifest(e){n.__wbg_set_wasmerpackage_manifest(this.__wbg_ptr,e)}get data(){const e=n.__wbg_get_wasmerpackage_data(this.__wbg_ptr);var t=y(e[0],e[1]).slice();return n.canonical_abi_free(e[0],1*e[1],1),t}set data(e){const t=function(e,t){const n=t(1*e.length,1)>>>0;return r().set(e,n/1),s=e.length,n}(e,n.__wbindgen_malloc),_=s;n.__wbg_set_deployedapp_id(this.__wbg_ptr,t,_)}}const Oe="undefined"==typeof FinalizationRegistry?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry((e=>n.__wbg_writablestreamsink_free(e>>>0,1)));class je{static __wrap(e){e>>>=0;const t=Object.create(je.prototype);return t.__wbg_ptr=e,Oe.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,Oe.unregister(this),e}free(){const e=this.__destroy_into_raw();n.__wbg_writablestreamsink_free(e,0)}close(){return n.writablestreamsink_close(this.__wbg_ptr)}abort(e){n.writablestreamsink_abort(this.__wbg_ptr,e)}write(e){return n.writablestreamsink_write(this.__wbg_ptr,e)}}const Se=new Set(["basic","cors","default"]);function We(){const _={wbg:{}};return _.wbg.__wbg_BigInt_6e3a01c3311ee796=function(e){return BigInt(e)},_.wbg.__wbg_Error_0497d5bdba9362e5=function(e,t){return Error(a(e,t))},_.wbg.__wbg_String_8f0eb39a4a4c2f66=function(e,t){const _=w(String(t),n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbg_abort_18ba44d46e13d7fe=function(e){e.abort()},_.wbg.__wbg_apiKey_136c64a1dd577ea4=function(e,t){const _=t.apiKey;var r=l(_)?0:w(_,n.__wbindgen_malloc,n.__wbindgen_realloc),i=s;f().setInt32(e+4,i,!0),f().setInt32(e+0,r,!0)},_.wbg.__wbg_append_0342728346e47425=function(){return p((function(e,t,n,_,r){e.append(a(t,n),a(_,r))}),arguments)},_.wbg.__wbg_apply_8745fdcf855d21f5=function(){return p((function(e,t,n){return e.apply(t,n)}),arguments)},_.wbg.__wbg_apply_d49e9c0472b015cc=function(){return p((function(e,t,n){return Reflect.apply(e,t,n)}),arguments)},_.wbg.__wbg_args_ce3906bca5fd2b6f=function(e){const t=e.args;return l(t)?0:d(t)},_.wbg.__wbg_arrayBuffer_d58b858456021d7f=function(){return p((function(e){return e.arrayBuffer()}),arguments)},_.wbg.__wbg_assert_83d6354717cc805b=function(e,t){console.assert(0!==e,t)},_.wbg.__wbg_async_89f8ca583cefeb81=function(e){return e.async},_.wbg.__wbg_bind_1e748fe02d440d48=function(e,t,n){return e.bind(t,n)},_.wbg.__wbg_bind_d075481af636a524=function(e,t,n,_){return e.bind(t,n,_)},_.wbg.__wbg_buffer_a1a27a0dfa70165d=function(e){return e.buffer},_.wbg.__wbg_buffer_e495ba54cee589cc=function(e){return e.buffer},_.wbg.__wbg_byobRequest_56aa768ee4dfed17=function(e){const t=e.byobRequest;return l(t)?0:d(t)},_.wbg.__wbg_byteLength_937f8a52f9697148=function(e){return e.byteLength},_.wbg.__wbg_byteLength_bf6d30ef92bae19b=function(e){return e.byteLength},_.wbg.__wbg_byteOffset_4d94b7170e641898=function(e){return e.byteOffset},_.wbg.__wbg_call_f2db6205e5c51dc8=function(){return p((function(e,t,n){return e.call(t,n)}),arguments)},_.wbg.__wbg_call_fbe8be8bf6436ce5=function(){return p((function(e,t){return e.call(t)}),arguments)},_.wbg.__wbg_close_290fb040af98d3ac=function(){return p((function(e){e.close()}),arguments)},_.wbg.__wbg_close_b2641ef0870e518c=function(){return p((function(e){e.close()}),arguments)},_.wbg.__wbg_close_f203332f9561bf29=function(e){return e.close()},_.wbg.__wbg_colno_1fbc9165b6cd1b26=function(e){return e.colno},_.wbg.__wbg_command_new=function(e){return V.__wrap(e)},_.wbg.__wbg_compile_b206843d6dde9918=function(e){return WebAssembly.compile(e)},_.wbg.__wbg_constructor_1a4f07ad72d5cac3=function(e){return e.constructor},_.wbg.__wbg_createObjectURL_1acd82bf8749f5a9=function(){return p((function(e,t){const _=w(URL.createObjectURL(t),n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)}),arguments)},_.wbg.__wbg_crypto_ed58b8e10a292839=function(e){return e.crypto},_.wbg.__wbg_customSections_3a8a19674e217d36=function(e,t,n){return WebAssembly.Module.customSections(e,a(t,n))},_.wbg.__wbg_cwd_13b069cde8a90c68=function(e,t){const _=t.cwd;var r=l(_)?0:w(_,n.__wbindgen_malloc,n.__wbindgen_realloc),i=s;f().setInt32(e+4,i,!0),f().setInt32(e+0,r,!0)},_.wbg.__wbg_data_fffd43bf0ca75fff=function(e){return e.data},_.wbg.__wbg_defineProperty_6a428a581612fed4=function(e,t,n){return Object.defineProperty(e,t,n)},_.wbg.__wbg_deleteProperty_ec71c2c829351683=function(){return p((function(e,t){return Reflect.deleteProperty(e,t)}),arguments)},_.wbg.__wbg_deployedapp_new=function(e){return H.__wrap(e)},_.wbg.__wbg_desiredSize_dd7689d8aa7da7dd=function(e,t){const n=t.desiredSize;f().setFloat64(e+8,l(n)?0:n,!0),f().setInt32(e+0,!l(n),!0)},_.wbg.__wbg_done_4d01f352bade43b7=function(e){return e.done},_.wbg.__wbg_enqueue_a62faa171c4fd287=function(){return p((function(e,t){e.enqueue(t)}),arguments)},_.wbg.__wbg_entries_41651c850143b957=function(e){return Object.entries(e)},_.wbg.__wbg_env_6b7462d491e7d2ae=function(e){return e.env},_.wbg.__wbg_error_1950bd19b566135e=function(e,t){e.error(t)},_.wbg.__wbg_error_7534b8e9a36f1ab4=function(e,t){let _,r;try{_=e,r=t,console.error(a(e,t))}finally{n.canonical_abi_free(_,r,1)}},_.wbg.__wbg_exports_5cb55953fb23c405=function(e){return e.exports},_.wbg.__wbg_exports_93f662ec1dd2b1e2=function(e){return WebAssembly.Module.exports(e)},_.wbg.__wbg_fetch_03b6c973bb6da9b8=function(e){return fetch(e)},_.wbg.__wbg_fetch_6e679fcfa9759479=function(e,t){return e.fetch(t)},_.wbg.__wbg_fetch_a8e43a4e138dfc93=function(e,t){return e.fetch(t)},_.wbg.__wbg_filename_5c8881452d91f4fd=function(e,t){const _=w(t.filename,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbg_for_555902b1a859c603=function(e,t){return Symbol.for(a(e,t))},_.wbg.__wbg_from_12ff8e47307bd4c7=function(e){return Array.from(e)},_.wbg.__wbg_getPrototypeOf_a1794d62c12daab4=function(){return p((function(e){return Reflect.getPrototypeOf(e)}),arguments)},_.wbg.__wbg_getRandomValues_bcb4912f16000dc4=function(){return p((function(e,t){e.getRandomValues(t)}),arguments)},_.wbg.__wbg_getTime_2afe67905d873e92=function(e){return e.getTime()},_.wbg.__wbg_get_92470be87867c2e5=function(){return p((function(e,t){return Reflect.get(e,t)}),arguments)},_.wbg.__wbg_get_a131a44bd1eb6979=function(e,t){return e[t>>>0]},_.wbg.__wbg_get_be8d302ec5bf8863=function(){return p((function(e,t){return e.get(t>>>0)}),arguments)},_.wbg.__wbg_getwithrefkey_1dc361bd10053bfe=function(e,t){return e[t]},_.wbg.__wbg_grow_0a942972adfcde67=function(){return p((function(e,t){return e.grow(t>>>0)}),arguments)},_.wbg.__wbg_grow_ae9c73e837b2d936=function(e,t){return e.grow(t>>>0)},_.wbg.__wbg_grow_d034989fce14cc8e=function(){return p((function(e,t){return e.grow(t>>>0)}),arguments)},_.wbg.__wbg_hardwareConcurrency_10d7194b406e56d2=function(e){return e.hardwareConcurrency},_.wbg.__wbg_hardwareConcurrency_fd778a5fdf975150=function(e){return e.hardwareConcurrency},_.wbg.__wbg_has_809e438ee9d787a7=function(){return p((function(e,t){return Reflect.has(e,t)}),arguments)},_.wbg.__wbg_headers_0f0cbdc6290b6780=function(e){return e.headers},_.wbg.__wbg_headers_67fbc7839fe933b3=function(e){return e.headers},_.wbg.__wbg_imports_1f5c972c2e57dfb5=function(e){return WebAssembly.Module.imports(e)},_.wbg.__wbg_instance_new=function(e){return X.__wrap(e)},_.wbg.__wbg_instanceof_ArrayBuffer_a8b6f580b363f2bc=function(e){let t;try{t=e instanceof ArrayBuffer}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Blob_2688511ca2a71508=function(e){let t;try{t=e instanceof Blob}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Date_ef7e3d6f544a9d16=function(e){let t;try{t=e instanceof Date}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Error_58a92d81483a4b16=function(e){let t;try{t=e instanceof Error}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Function_4de5a228b53c20c3=function(e){let t;try{t=e instanceof Function}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Global_d43eb3e1373e574d=function(e){let t;try{t=e instanceof WebAssembly.Global}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Map_80cc65041c96417a=function(e){let t;try{t=e instanceof Map}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Memory_613951003465ef5c=function(e){let t;try{t=e instanceof WebAssembly.Memory}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Module_ac6579472cc013d8=function(e){let t;try{t=e instanceof WebAssembly.Module}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Object_9a05796038b7a8f6=function(e){let t;try{t=e instanceof Object}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_RangeError_67b19cb7651a2151=function(e){let t;try{t=e instanceof RangeError}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Response_e80ce8b7a2b968d2=function(e){let t;try{t=e instanceof Response}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Table_a5fae5b77c0e21e8=function(e){let t;try{t=e instanceof WebAssembly.Table}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Tag_ff306496211677da=function(e){let t;try{t=e instanceof WebAssembly.Tag}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_TypeError_16d245a01d4dd626=function(e){let t;try{t=e instanceof TypeError}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Uint8Array_ca460677bc155827=function(e){let t;try{t=e instanceof Uint8Array}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_Window_68f3f67bad1729c1=function(e){let t;try{t=e instanceof Window}catch(e){t=!1}return t},_.wbg.__wbg_instanceof_WorkerGlobalScope_11f8a14c11024785=function(e){let t;try{t=e instanceof WorkerGlobalScope}catch(e){t=!1}return t},_.wbg.__wbg_instantiate_f487a4cdb9ad18ac=function(e,t){return WebAssembly.instantiate(e,t)},_.wbg.__wbg_isArray_2a07fd175d45c496=function(e){return Array.isArray(e)},_.wbg.__wbg_isArray_5f090bed72bd4f89=function(e){return Array.isArray(e)},_.wbg.__wbg_isSafeInteger_90d7c4674047d684=function(e){return Number.isSafeInteger(e)},_.wbg.__wbg_is_49ee71a294f7d2fe=function(e,t){return Object.is(e,t)},_.wbg.__wbg_iterator_4068add5b2aef7a6=function(){return Symbol.iterator},_.wbg.__wbg_keys_42062809bf87339e=function(e){return Object.keys(e)},_.wbg.__wbg_length_865e6e8de4a8c6cb=function(e){return e.length},_.wbg.__wbg_length_ab6d22b5ead75c72=function(e){return e.length},_.wbg.__wbg_length_f00ec12454a5d9fd=function(e){return e.length},_.wbg.__wbg_lineno_9fe2a23a82cebd53=function(e){return e.lineno},_.wbg.__wbg_locked_c5cc88823268db66=function(e){return e.locked},_.wbg.__wbg_log_ea240990d83e374e=function(e){console.log(e)},_.wbg.__wbg_message_4159c15dac08c5e9=function(e){return e.message},_.wbg.__wbg_message_44ef9b801b7d8bc3=function(e,t){const _=w(t.message,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbg_moduleBytes_32de83ad4e0b2ed1=function(e){const t=e.moduleBytes;return l(t)?0:d(t)},_.wbg.__wbg_mount_dfb06836b0f9b20b=function(e){return e.mount},_.wbg.__wbg_msCrypto_0a36e2ec3a343d26=function(e){return e.msCrypto},_.wbg.__wbg_navigator_6db993f5ffeb46be=function(e){return e.navigator},_.wbg.__wbg_navigator_fc64ba1417939b25=function(e){return e.navigator},_.wbg.__wbg_networkGateway_79e326cb5c82e7fd=function(e,t){const _=t.networkGateway;var r=l(_)?0:w(_,n.__wbindgen_malloc,n.__wbindgen_realloc),i=s;f().setInt32(e+4,i,!0),f().setInt32(e+0,r,!0)},_.wbg.__wbg_new_07b483f72211fd66=function(){return new Object},_.wbg.__wbg_new_104a6fcd57ac32c0=function(){return p((function(){return new FileReader}),arguments)},_.wbg.__wbg_new_181343b7eb238d99=function(e){return new Int32Array(e)},_.wbg.__wbg_new_186abcfdff244e42=function(){return p((function(){return new AbortController}),arguments)},_.wbg.__wbg_new_2debb2b422bd07bd=function(){return p((function(e,t){return new WebAssembly.Global(e,t)}),arguments)},_.wbg.__wbg_new_39fae4e38868373c=function(){return p((function(e,t){return new Worker(a(e,t))}),arguments)},_.wbg.__wbg_new_476169e6d59f23ae=function(e,t){return new Error(a(e,t))},_.wbg.__wbg_new_4796e1cd2eb9ea6d=function(){return p((function(){return new Headers}),arguments)},_.wbg.__wbg_new_58353953ad2097cc=function(){return new Array},_.wbg.__wbg_new_5dd74caa1b362828=function(){return p((function(e){return new WebAssembly.Module(e)}),arguments)},_.wbg.__wbg_new_7449da607adc249f=function(){return p((function(e,t){return new WebAssembly.Instance(e,t)}),arguments)},_.wbg.__wbg_new_75fba833e24e4ae9=function(){return p((function(e){return new WebAssembly.Memory(e)}),arguments)},_.wbg.__wbg_new_8a6f238a6ece86ea=function(){return new Error},_.wbg.__wbg_new_a4e7a0370d48e1b4=function(){return p((function(e){return new ReadableStreamDefaultReader(e)}),arguments)},_.wbg.__wbg_new_a979b4b45bd55c7f=function(){return new Map},_.wbg.__wbg_new_b60148568efca43b=function(e,t){return new TypeError(a(e,t))},_.wbg.__wbg_new_e30c39c06edaabf2=function(e,t){try{var _={a:e,b:t};const r=new Promise(((e,t)=>{const r=_.a;_.a=0;try{return function(e,t,_,r){n.closure254_externref_shim(e,t,_,r)}(r,_.b,e,t)}finally{_.a=r}}));return r}finally{_.a=_.b=0}},_.wbg.__wbg_new_e52b3efaaa774f96=function(e){return new Uint8Array(e)},_.wbg.__wbg_new_e769da3b652f0d9f=function(){return p((function(e){return new WebAssembly.Table(e)}),arguments)},_.wbg.__wbg_new_f42a001532528172=function(){return p((function(e,t){return new WebSocket(a(e,t))}),arguments)},_.wbg.__wbg_new_fd4b538754de98d6=function(){return p((function(e){return new WebAssembly.Tag(e)}),arguments)},_.wbg.__wbg_newfromslice_7c05ab1297cb2d88=function(e,t){return new Uint8Array(y(e,t))},_.wbg.__wbg_newnoargs_ff528e72d35de39a=function(e,t){return new Function(a(e,t))},_.wbg.__wbg_newwithargs_17a05078fc85d3aa=function(e,t,n,_){return new Function(a(e,t),a(n,_))},_.wbg.__wbg_newwithbyteoffsetandlength_3b01ecda099177e8=function(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)},_.wbg.__wbg_newwithlength_08f872dc1e3ada2e=function(e){return new Uint8Array(e>>>0)},_.wbg.__wbg_newwithlength_6ee231411efd06b6=function(e){return new Array(e>>>0)},_.wbg.__wbg_newwithoptions_9931e161b714ebf9=function(){return p((function(e,t,n){return new Worker(a(e,t),n)}),arguments)},_.wbg.__wbg_newwithstrandinit_f8a9dbe009d6be37=function(){return p((function(e,t,n){return new Request(a(e,t),n)}),arguments)},_.wbg.__wbg_newwithu8arraysequenceandoptions_3b5b6ab7317ffd8f=function(){return p((function(e,t){return new Blob(e,t)}),arguments)},_.wbg.__wbg_newwithunderlyingsinkandstrategy_481c2b5a223a4560=function(){return p((function(e,t){return new WritableStream(e,t)}),arguments)},_.wbg.__wbg_newwithunderlyingsourceandstrategy_594ea2be3e0723ff=function(){return p((function(e,t){return new ReadableStream(e,t)}),arguments)},_.wbg.__wbg_next_8bb824d217961b5d=function(e){return e.next},_.wbg.__wbg_next_e2da48d8fff7439a=function(){return p((function(e){return e.next()}),arguments)},_.wbg.__wbg_node_02999533c4ea02e3=function(e){return e.node},_.wbg.__wbg_now_7ab37f05ab2d0b81=function(e){return e.now()},_.wbg.__wbg_now_eb0821f3bd9f6529=function(){return Date.now()},_.wbg.__wbg_of_995ab9c48c3965f1=function(e,t,n){return Array.of(e,t,n)},_.wbg.__wbg_oliphauntCopyFromGuest_8c2c6e2520c9fc95=function(){return p((function(e,t,n){var _,r;return _=t>>>0,r=n>>>0,new Uint8Array(e.buffer,_,r).slice()}),arguments)},_.wbg.__wbg_oliphauntCopyToGuest_a8e15be4fb526fed=function(){return p((function(e,t,n){var _,r;_=t>>>0,r=n,new Uint8Array(e.buffer,_,r.byteLength).set(r)}),arguments)},_.wbg.__wbg_oliphauntdirectinstance_new=function(e){return oe.__wrap(e)},_.wbg.__wbg_postMessage_54ce7f4b41ac732e=function(){return p((function(e,t){e.postMessage(t)}),arguments)},_.wbg.__wbg_postMessage_95ef4554c6b7ca0c=function(){return p((function(e,t){e.postMessage(t)}),arguments)},_.wbg.__wbg_process_5c1d670bc53614b8=function(e){return e.process},_.wbg.__wbg_program_0ccd177127e926dc=function(e){return e.program},_.wbg.__wbg_publishpackageoutput_new=function(e){return be.__wrap(e)},_.wbg.__wbg_push_73fd7b5550ebf707=function(e,t){return e.push(t)},_.wbg.__wbg_queueMicrotask_46c1df247678729f=function(e){queueMicrotask(e)},_.wbg.__wbg_queueMicrotask_8acf3ccb75ed8d11=function(e){return e.queueMicrotask},_.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740=function(){return p((function(e,t){e.randomFillSync(t)}),arguments)},_.wbg.__wbg_random_210bb7fbfa33591d=function(){return Math.random()},_.wbg.__wbg_readAsArrayBuffer_ec86f70be9ee80e9=function(){return p((function(e,t){e.readAsArrayBuffer(t)}),arguments)},_.wbg.__wbg_read_f4b89f69cc51efc7=function(e){return e.read()},_.wbg.__wbg_readablestreamsource_new=function(e){return we.__wrap(e)},_.wbg.__wbg_redirected_380499cd18bc27c0=function(e){return e.redirected},_.wbg.__wbg_registry_0193688f92324c7c=function(e){const t=e.registry;return l(t)?0:d(t)},_.wbg.__wbg_releaseLock_c589dd51c0812aca=function(e){e.releaseLock()},_.wbg.__wbg_require_79b1e9274cde3c87=function(){return p((function(){return module.require}),arguments)},_.wbg.__wbg_resolve_0dac8c580ffd4678=function(e){return Promise.resolve(e)},_.wbg.__wbg_respond_b227f1c3be2bb879=function(){return p((function(e,t){e.respond(t>>>0)}),arguments)},_.wbg.__wbg_result_142fc4d88cbccb26=function(){return p((function(e){return e.result}),arguments)},_.wbg.__wbg_runtime_3a007260b7cad09f=function(e){return e.runtime},_.wbg.__wbg_send_05456d2bf190b017=function(){return p((function(e,t){e.send(t)}),arguments)},_.wbg.__wbg_setTimeout_84a114fc6c4403f8=function(){return p((function(e,t,n){return e.setTimeout(t,n)}),arguments)},_.wbg.__wbg_setTimeout_906fea9a7279f446=function(){return p((function(e,t,n){return e.setTimeout(t,n)}),arguments)},_.wbg.__wbg_set_3f1d0b984ed272ed=function(e,t,n){e[t]=n},_.wbg.__wbg_set_7422acbe992d64ab=function(e,t,n){e[t>>>0]=n},_.wbg.__wbg_set_b042eef31c50834d=function(){return p((function(e,t,n,_,r){e.set(a(t,n),a(_,r))}),arguments)},_.wbg.__wbg_set_c43293f93a35998a=function(){return p((function(e,t,n){return Reflect.set(e,t,n)}),arguments)},_.wbg.__wbg_set_d6bdfd275fb8a4ce=function(e,t,n){return e.set(t,n)},_.wbg.__wbg_set_eeace154fc5ce736=function(){return p((function(e,t,n){e.set(t>>>0,n)}),arguments)},_.wbg.__wbg_set_fe4e79d1ed3b0e9b=function(e,t,n){e.set(t,n>>>0)},_.wbg.__wbg_setbinaryType_52787d6025601cc5=function(e,t){e.binaryType=E[t]},_.wbg.__wbg_setbody_971ec015fc13d6b4=function(e,t){e.body=t},_.wbg.__wbg_setcredentials_920d91fb5984c94a=function(e,t){e.credentials=C[t]},_.wbg.__wbg_setheaders_65a4eb4c0443ae61=function(e,t){e.headers=t},_.wbg.__wbg_sethighwatermark_3017ad772d071dcb=function(e,t){e.highWaterMark=t},_.wbg.__wbg_setmethod_8ce1be0b4d701b7c=function(e,t,n){e.method=a(t,n)},_.wbg.__wbg_setmode_bd35f026f55b6247=function(e,t){e.mode=P[t]},_.wbg.__wbg_setname_9b01ac306adf8bfd=function(e,t,n){e.name=a(t,n)},_.wbg.__wbg_setonclose_c6db38f935250174=function(e,t){e.onclose=t},_.wbg.__wbg_setonerror_890bfd1ff86e9c78=function(e,t){e.onerror=t},_.wbg.__wbg_setonloadend_a6c211075855db45=function(e,t){e.onloadend=t},_.wbg.__wbg_setonmessage_49ca623a77cfb3e6=function(e,t){e.onmessage=t},_.wbg.__wbg_setonmessage_f6cf46183c427754=function(e,t){e.onmessage=t},_.wbg.__wbg_setonopen_1475cbeb761c101f=function(e,t){e.onopen=t},_.wbg.__wbg_setsignal_8e72abfe7ee03c97=function(e,t){e.signal=t},_.wbg.__wbg_setsize_13f2192310db9b34=function(e,t){e.size=t},_.wbg.__wbg_settype_acc38e64fddb9e3f=function(e,t,n){e.type=a(t,n)},_.wbg.__wbg_settype_ca83ae32b7117898=function(e,t){e.type=q[t]},_.wbg.__wbg_setvalue_bd9df7c968e4b416=function(e,t){e.value=t},_.wbg.__wbg_signal_b96223519a041faa=function(e){return e.signal},_.wbg.__wbg_slice_3d0e7815d7b9d2ee=function(e,t,n){return e.slice(t>>>0,n>>>0)},_.wbg.__wbg_stack_0ed75d68575b0f3c=function(e,t){const _=w(t.stack,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbg_static_accessor_GLOBAL_487c52c58d65314d=function(){const e="undefined"==typeof global?null:global;return l(e)?0:d(e)},_.wbg.__wbg_static_accessor_GLOBAL_THIS_ee9704f328b6b291=function(){const e="undefined"==typeof globalThis?null:globalThis;return l(e)?0:d(e)},_.wbg.__wbg_static_accessor_SELF_78c9e3071b912620=function(){const e="undefined"==typeof self?null:self;return l(e)?0:d(e)},_.wbg.__wbg_static_accessor_WINDOW_a093d21393777366=function(){const e="undefined"==typeof window?null:window;return l(e)?0:d(e)},_.wbg.__wbg_status_a54682bbe52f9058=function(e){return e.status},_.wbg.__wbg_stdin_4d05ba90fc2c39de=function(e){const t=e.stdin;return l(t)?0:d(t)},_.wbg.__wbg_stringify_c242842b97f054cc=function(){return p((function(e){return JSON.stringify(e)}),arguments)},_.wbg.__wbg_subarray_dd4ade7d53bd8e26=function(e,t,n){return e.subarray(t>>>0,n>>>0)},_.wbg.__wbg_terminate_af36b01db24a1745=function(e){e.terminate()},_.wbg.__wbg_text_ec0e22f60e30dd2f=function(){return p((function(e){return e.text()}),arguments)},_.wbg.__wbg_then_82ab9fb4080f1707=function(e,t,n){return e.then(t,n)},_.wbg.__wbg_then_db882932c0c714c6=function(e,t){return e.then(t)},_.wbg.__wbg_toString_2a748bb7135f7e4d=function(e,t,_){const r=w(t.toString(_),n.__wbindgen_malloc,n.__wbindgen_realloc),i=s;f().setInt32(e+4,i,!0),f().setInt32(e+0,r,!0)},_.wbg.__wbg_toString_bc7a05a172b5cf14=function(e){return e.toString()},_.wbg.__wbg_trap_new=function(e){return ye.__wrap(e)},_.wbg.__wbg_url_e6ed869ea05b7a71=function(e,t){const _=w(t.url,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbg_userAgent_470abfd84e4eedcb=function(){return p((function(e,t){const _=w(t.userAgent,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)}),arguments)},_.wbg.__wbg_userAgent_a24a493cd80cbd00=function(){return p((function(e,t){const _=w(t.userAgent,n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)}),arguments)},_.wbg.__wbg_user_new=function(e){return me.__wrap(e)},_.wbg.__wbg_userpackagedefinition_unwrap=function(e){return ve.__unwrap(e)},_.wbg.__wbg_uses_7494620cc35a86ad=function(e){const t=e.uses;return l(t)?0:d(t)},_.wbg.__wbg_value_17b896954e14f896=function(e){return e.value},_.wbg.__wbg_value_c22dc41e42f5d813=function(e){return e.value},_.wbg.__wbg_value_f8fe3ce05407a213=function(e){return e.value},_.wbg.__wbg_versions_c71aa1626a93e0a1=function(e){return e.versions},_.wbg.__wbg_view_a9ad80dcbad7cf1c=function(e){const t=e.view;return l(t)?0:d(t)},_.wbg.__wbg_waitAsync_c3398694eaa5aeab=function(e,t,n){return Atomics.waitAsync(e,t>>>0,n)},_.wbg.__wbg_waitAsync_e36f18e2e26c3b7d=function(){return Atomics.waitAsync},_.wbg.__wbg_wasmer_new=function(e){return xe.__wrap(e)},_.wbg.__wbg_writablestreamsink_new=function(e){return je.__wrap(e)},_.wbg.__wbindgen_array_new=function(){return[]},_.wbg.__wbindgen_array_push=function(e,t){e.push(t)},_.wbg.__wbindgen_as_number=function(e){return+e},_.wbg.__wbindgen_bigint_from_i64=function(e){return e},_.wbg.__wbindgen_bigint_from_u128=function(e,t){return BigInt.asUintN(64,e)<<BigInt(64)|BigInt.asUintN(64,t)},_.wbg.__wbindgen_bigint_from_u64=function(e){return BigInt.asUintN(64,e)},_.wbg.__wbindgen_bigint_get_as_i64=function(e,t){const n="bigint"==typeof t?t:void 0;f().setBigInt64(e+8,l(n)?BigInt(0):n,!0),f().setInt32(e+0,!l(n),!0)},_.wbg.__wbindgen_boolean_get=function(e){return"boolean"==typeof e?e?1:0:2},_.wbg.__wbindgen_cb_drop=function(e){const t=e.original;if(1==t.cnt--)return t.a=0,!0;return!1},_.wbg.__wbindgen_closure_wrapper1482=function(e,t,n){return m(e,t,496,T)},_.wbg.__wbindgen_closure_wrapper1483=function(e,t,n){return m(e,t,496,T)},_.wbg.__wbindgen_closure_wrapper5052=function(e,t,n){return m(e,t,496,T)},_.wbg.__wbindgen_closure_wrapper6308=function(e,t,n){return R(e,t,496,U)},_.wbg.__wbindgen_closure_wrapper6312=function(e,t,n){return m(e,t,496,T)},_.wbg.__wbindgen_closure_wrapper6325=function(e,t,n){return R(e,t,496,D)},_.wbg.__wbindgen_closure_wrapper8404=function(e,t,n){return m(e,t,496,B)},_.wbg.__wbindgen_closure_wrapper8405=function(e,t,n){return m(e,t,496,B)},_.wbg.__wbindgen_closure_wrapper8406=function(e,t,n){return m(e,t,496,L)},_.wbg.__wbindgen_debug_string=function(e,t){const _=w(v(t),n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbindgen_function_table=function(){return n.__wbindgen_export_6},_.wbg.__wbindgen_in=function(e,t){return e in t},_.wbg.__wbindgen_init_externref_table=function(){const e=n.__wbindgen_export_5,t=e.grow(4);e.set(0,void 0),e.set(t+0,void 0),e.set(t+1,null),e.set(t+2,!0),e.set(t+3,!1)},_.wbg.__wbindgen_is_bigint=function(e){return"bigint"==typeof e},_.wbg.__wbindgen_is_falsy=function(e){return!e},_.wbg.__wbindgen_is_function=function(e){return"function"==typeof e},_.wbg.__wbindgen_is_null=function(e){return null===e},_.wbg.__wbindgen_is_object=function(e){return"object"==typeof e&&null!==e},_.wbg.__wbindgen_is_string=function(e){return"string"==typeof e},_.wbg.__wbindgen_is_undefined=function(e){return void 0===e},_.wbg.__wbindgen_jsval_eq=function(e,t){return e===t},_.wbg.__wbindgen_jsval_loose_eq=function(e,t){return e==t},_.wbg.__wbindgen_link_db87ac8434ca3f93=function(e){const t="onmessage = function (ev) {\n let [ia, index, value] = ev.data;\n ia = new Int32Array(ia.buffer);\n let result = Atomics.wait(ia, index, value);\n postMessage(result);\n };\n ",_=w(void 0===URL.createObjectURL?"data:application/javascript,"+encodeURIComponent(t):URL.createObjectURL(new Blob([t],{type:"text/javascript"})),n.__wbindgen_malloc,n.__wbindgen_realloc),r=s;f().setInt32(e+4,r,!0),f().setInt32(e+0,_,!0)},_.wbg.__wbindgen_lt=function(e,t){return e<t},_.wbg.__wbindgen_memory=function(){return n.memory},_.wbg.__wbindgen_module=function(){return De.__wbindgen_wasm_module},_.wbg.__wbindgen_neg=function(e){return-e},_.wbg.__wbindgen_number_get=function(e,t){const n="number"==typeof t?t:void 0;f().setFloat64(e+8,l(n)?0:n,!0),f().setInt32(e+0,!l(n),!0)},_.wbg.__wbindgen_number_new=function(e){return e},_.wbg.__wbindgen_rethrow=function(e){throw e},_.wbg.__wbindgen_shr=function(e,t){return e>>t},_.wbg.__wbindgen_string_get=function(e,t){const _="string"==typeof t?t:void 0;var r=l(_)?0:w(_,n.__wbindgen_malloc,n.__wbindgen_realloc),i=s;f().setInt32(e+4,i,!0),f().setInt32(e+0,r,!0)},_.wbg.__wbindgen_string_new=function(e,t){return a(e,t)},_.wbg.__wbindgen_throw=function(e,t){throw new Error(a(e,t))},_["./snippets/wasmer-wasix-4747c544ebbe2187/inline0.js"]=e,_["./snippets/wasmer-wasix-4747c544ebbe2187/inline1.js"]=t,_}function Me(e,t){e.wbg.memory=t||new WebAssembly.Memory({initial:34,maximum:16384,shared:!0})}function Te(e,t,r){if(n=e.exports,De.__wbindgen_wasm_module=t,u=null,_=null,void 0!==r&&("number"!=typeof r||0===r||r%65536!=0))throw"invalid stack size";return n.__wbindgen_start(r),n}function Ue(e,t){if(void 0!==n)return n;let _;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module:e,memory:t,thread_stack_size:_}=e):console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));const r=We();Me(r,t),e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e));return Te(new WebAssembly.Instance(e,r),e,_)}async function De(e,t){if(void 0!==n)return n;let _;void 0!==e&&(Object.getPrototypeOf(e)===Object.prototype?({module_or_path:e,memory:t,thread_stack_size:_}=e):console.warn("using deprecated parameters for the initialization function; pass a single object instead")),void 0===e&&(e=new URL("wasmer_js_bg.wasm",import.meta.url));const r=We();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e)),Me(r,t);const{instance:i,module:o}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if(!e.ok||!Se.has(e.type)||"application/wasm"===e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const n=await e.arrayBuffer();return await WebAssembly.instantiate(n,t)}{const n=await WebAssembly.instantiate(e,t);return n instanceof WebAssembly.Instance?{instance:n,module:e}:n}}(await e,r);return Te(i,o,_)}const Be=async(e,t)=>{e?(e instanceof WebAssembly.Module||e instanceof URL||e instanceof WebAssembly.Module)&&(t?(console.info("Passing the module and memory as first arguments to the init function is deprecated, please use: `init({module: WASM_MODULE, memory: WASM_MEMORY})`"),e={module:e,memory:t}):(console.info("Passing the module as first argument to the init function is deprecated, please use: `init({module: WASM_MODULE})`"),e={module:e})):e={},Le(e);let n=await De({module_or_path:e.module,memory:e.memory});return e.log&&W(e.log),e.workerUrl&&z(e.workerUrl.toString()),e.sdkUrl?x(e.sdkUrl.toString()):x(new URL("index.mjs",import.meta.url).toString()),n},Le=e=>{globalThis.__WASMER_REGISTRY__={registryUrl:e.registryUrl,token:e.token}};export{N as Atom,V as Command,H as DeployedApp,Y as Directory,X as Instance,ee as IntoUnderlyingByteSource,ne as IntoUnderlyingSink,re as IntoUnderlyingSource,oe as OliphauntDirectInstance,ae as OliphauntPreparedTool,be as PublishPackageOutput,we as ReadableStreamSource,fe as Runtime,de as ThreadPoolWorker,ye as Trap,me as User,ve as UserPackageDefinition,ke as Volume,xe as Wasmer,Ie as WasmerPackage,je as WritableStreamSink,Be as init,Ue as initSync,W as initializeLogger,I as instantiateOliphauntDirect,F as on_start,O as prepareOliphauntTool,S as runOliphauntToolDirect,M as runWasix,Le as setRegistry,x as setSDKUrl,z as setWorkerUrl,k as wat2wasm};
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oliphaunt/wasix-ts",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Portable Oliphaunt WASIX TypeScript SDK for browsers, Node.js, Bun, Deno, and Electron.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -19,7 +19,7 @@
19
19
  "homepage": "https://oliphaunt.dev",
20
20
  "oliphaunt": {
21
21
  "runtimeProduct": "liboliphaunt-wasix",
22
- "runtimeVersion": "0.3.0",
22
+ "runtimeVersion": "0.3.1",
23
23
  "wasixNapiProduct": "oliphaunt-wasix-napi",
24
24
  "wasixNapiVersion": "0.2.0",
25
25
  "wasixAddonAbiVersion": 3,
@@ -140,7 +140,7 @@
140
140
  "THIRD_PARTY_NOTICES.md"
141
141
  ],
142
142
  "dependencies": {
143
- "@oliphaunt/liboliphaunt-wasix": "0.3.0",
143
+ "@oliphaunt/liboliphaunt-wasix": "0.3.1",
144
144
  "@oliphaunt/ts-query": "0.1.1",
145
145
  "fzstd": "0.1.1"
146
146
  },