import{WorkerEntrypoint as je}from"cloudflare:workers";var K=globalThis.__worker_init_state={criticalError:!1,instanceId:0};import te from"./index_bg.wasm";var I=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ge.unregister(this),e}free(){let e=this.__destroy_into_raw();c();try{i.__wbg_containerstartupoptions_free(e,0)}catch(t){o(t)}}get enableInternet(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.__wbg_get_containerstartupoptions_enableInternet(this.__wbg_ptr)}catch(t){o(t)}return e===16777215?void 0:e!==0}get entrypoint(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.__wbg_get_containerstartupoptions_entrypoint(this.__wbg_ptr)}catch(n){o(n)}var t=ye(e[0],e[1]);return i.__wbindgen_free(e[0],e[1]*4,4),t}get env(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.__wbg_get_containerstartupoptions_env(this.__wbg_ptr)}catch(t){o(t)}return e}set enableInternet(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");c();try{i.__wbg_set_containerstartupoptions_enableInternet(this.__wbg_ptr,u(e)?16777215:e?1:0)}catch(t){o(t)}}set entrypoint(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let t=me(e,i.__wbindgen_malloc),n=d;c();try{i.__wbg_set_containerstartupoptions_entrypoint(this.__wbg_ptr,t,n)}catch(r){o(r)}}set env(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");c();try{i.__wbg_set_containerstartupoptions_env(this.__wbg_ptr,e)}catch(t){o(t)}}};Symbol.dispose&&(I.prototype[Symbol.dispose]=I.prototype.free);var z=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,de.unregister(this),e}free(){let e=this.__destroy_into_raw();c();try{i.__wbg_intounderlyingbytesource_free(e,0)}catch(t){o(t)}}get autoAllocateChunkSize(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.intounderlyingbytesource_autoAllocateChunkSize(this.__wbg_ptr)}catch(t){o(t)}return e>>>0}cancel(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e=this.__destroy_into_raw();c();try{i.intounderlyingbytesource_cancel(e)}catch(t){o(t)}}pull(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let t;c();try{t=i.intounderlyingbytesource_pull(this.__wbg_ptr,e)}catch(n){o(n)}return t}start(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");c();try{i.intounderlyingbytesource_start(this.__wbg_ptr,e)}catch(t){o(t)}}get type(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.intounderlyingbytesource_type(this.__wbg_ptr)}catch(t){o(t)}return ue[e]}};Symbol.dispose&&(z.prototype[Symbol.dispose]=z.prototype.free);var T=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,le.unregister(this),e}free(){let e=this.__destroy_into_raw();c();try{i.__wbg_intounderlyingsink_free(e,0)}catch(t){o(t)}}abort(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let t=this.__destroy_into_raw(),n;c();try{n=i.intounderlyingsink_abort(t,e)}catch(r){o(r)}return n}close(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e=this.__destroy_into_raw(),t;c();try{t=i.intounderlyingsink_close(e)}catch(n){o(n)}return t}write(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let t;c();try{t=i.intounderlyingsink_write(this.__wbg_ptr,e)}catch(n){o(n)}return t}};Symbol.dispose&&(T.prototype[Symbol.dispose]=T.prototype.free);var O=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,he.unregister(this),e}free(){let e=this.__destroy_into_raw();c();try{i.__wbg_intounderlyingsource_free(e,0)}catch(t){o(t)}}cancel(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e=this.__destroy_into_raw();c();try{i.intounderlyingsource_cancel(e)}catch(t){o(t)}}pull(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let t;c();try{t=i.intounderlyingsource_pull(this.__wbg_ptr,e)}catch(n){o(n)}return t}};Symbol.dispose&&(O.prototype[Symbol.dispose]=O.prototype.free);var E=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Q.unregister(this),e}free(){let e=this.__destroy_into_raw();c();try{i.__wbg_jobrunner_free(e,0)}catch(t){o(t)}}alarm(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.jobrunner_alarm(this.__wbg_ptr)}catch(t){o(t)}return e}connect(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let t;c();try{t=i.jobrunner_connect(this.__wbg_ptr,e)}catch(n){o(n)}return t}fetch(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let t;c();try{t=i.jobrunner_fetch(this.__wbg_ptr,e)}catch(n){o(n)}return t}constructor(e,t){let n;c();try{n=i.jobrunner_new(e,t)}catch(r){o(r)}return this.__wbg_ptr=n,Object.defineProperty(this,"__wbg_inst",{value:s,writable:!0}),Q.register(this,{ptr:n,instance:s},this),this}webSocketClose(e,t,n,r){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let a=p(n,i.__wbindgen_malloc,i.__wbindgen_realloc),f=d,b;c();try{b=i.jobrunner_webSocketClose(this.__wbg_ptr,e,t,a,f,r)}catch(g){o(g)}return b}webSocketError(e,t){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let n;c();try{n=i.jobrunner_webSocketError(this.__wbg_ptr,e,t)}catch(r){o(r)}return n}webSocketMessage(e,t){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let n;c();try{n=i.jobrunner_webSocketMessage(this.__wbg_ptr,e,t)}catch(r){o(r)}return n}};Symbol.dispose&&(E.prototype[Symbol.dispose]=E.prototype.free);var v=class _{static __wrap(e){let t=Object.create(_.prototype);return t.__wbg_ptr=e,Object.defineProperty(t,"__wbg_inst",{value:s,writable:!0}),X.register(t,{ptr:e,instance:s},t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,X.unregister(this),e}free(){let e=this.__destroy_into_raw();c();try{i.__wbg_minifyconfig_free(e,0)}catch(t){o(t)}}get css(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.__wbg_get_minifyconfig_css(this.__wbg_ptr)}catch(t){o(t)}return e!==0}get html(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.__wbg_get_minifyconfig_html(this.__wbg_ptr)}catch(t){o(t)}return e!==0}get js(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.__wbg_get_minifyconfig_js(this.__wbg_ptr)}catch(t){o(t)}return e!==0}set css(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");c();try{i.__wbg_set_minifyconfig_css(this.__wbg_ptr,e)}catch(t){o(t)}}set html(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");c();try{i.__wbg_set_minifyconfig_html(this.__wbg_ptr,e)}catch(t){o(t)}}set js(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");c();try{i.__wbg_set_minifyconfig_js(this.__wbg_ptr,e)}catch(t){o(t)}}};Symbol.dispose&&(v.prototype[Symbol.dispose]=v.prototype.free);var j=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,pe.unregister(this),e}free(){let e=this.__destroy_into_raw();c();try{i.__wbg_r2range_free(e,0)}catch(t){o(t)}}get length(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.__wbg_get_r2range_length(this.__wbg_ptr)}catch(t){o(t)}return e[0]===0?void 0:e[1]}get offset(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.__wbg_get_r2range_offset(this.__wbg_ptr)}catch(t){o(t)}return e[0]===0?void 0:e[1]}get suffix(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.__wbg_get_r2range_suffix(this.__wbg_ptr)}catch(t){o(t)}return e[0]===0?void 0:e[1]}set length(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");c();try{i.__wbg_set_r2range_length(this.__wbg_ptr,!u(e),u(e)?0:e)}catch(t){o(t)}}set offset(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");c();try{i.__wbg_set_r2range_offset(this.__wbg_ptr,!u(e),u(e)?0:e)}catch(t){o(t)}}set suffix(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");c();try{i.__wbg_set_r2range_suffix(this.__wbg_ptr,!u(e),u(e)?0:e)}catch(t){o(t)}}};Symbol.dispose&&(j.prototype[Symbol.dispose]=j.prototype.free);var x=class{__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,Y.unregister(this),e}free(){let e=this.__destroy_into_raw();c();try{i.__wbg_runner_free(e,0)}catch(t){o(t)}}alarm(){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let e;c();try{e=i.runner_alarm(this.__wbg_ptr)}catch(t){o(t)}return e}connect(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let t;c();try{t=i.runner_connect(this.__wbg_ptr,e)}catch(n){o(n)}return t}fetch(e){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let t;c();try{t=i.runner_fetch(this.__wbg_ptr,e)}catch(n){o(n)}return t}constructor(e,t){let n;c();try{n=i.runner_new(e,t)}catch(r){o(r)}return this.__wbg_ptr=n,Object.defineProperty(this,"__wbg_inst",{value:s,writable:!0}),Y.register(this,{ptr:n,instance:s},this),this}webSocketClose(e,t,n,r){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let a=p(n,i.__wbindgen_malloc,i.__wbindgen_realloc),f=d,b;c();try{b=i.runner_webSocketClose(this.__wbg_ptr,e,t,a,f,r)}catch(g){o(g)}return b}webSocketError(e,t){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let n;c();try{n=i.runner_webSocketError(this.__wbg_ptr,e,t)}catch(r){o(r)}return n}webSocketMessage(e,t){if(this.__wbg_inst!==void 0&&this.__wbg_inst!==s)throw new Error("Invalid stale object from previous Wasm instance");let n;c();try{n=i.runner_webSocketMessage(this.__wbg_ptr,e,t)}catch(r){o(r)}return n}};Symbol.dispose&&(x.prototype[Symbol.dispose]=x.prototype.free);function P(){s++,m=null,S=null,W=null,typeof numBytesDecoded<"u"&&(numBytesDecoded=0),typeof d<"u"&&(d=0),B=!1,M=!1,N=new WebAssembly.Instance(te,re()),i=N.exports,i.__wbindgen_start()}function ne(){let _;c();try{_=i.__worker_init_state()}catch(e){o(e)}return _}function _e(_,e,t){let n;c();try{n=i.fetch(_,e,t)}catch(r){o(r)}return n}function re(){return{__proto__:null,"./index_bg.js":{__proto__:null,__wbg_Error_30c8987f7c2ed4e2:function(e,t){return Error(l(e,t))},__wbg_String_8564e559799eccda:function(e,t){let n=String(t),r=p(n,i.__wbindgen_malloc,i.__wbindgen_realloc),a=d;w().setInt32(e+4,a,!0),w().setInt32(e+0,r,!0)},__wbg___wbindgen_bigint_get_as_i64_a2383202b9353e4c:function(e,t){let n=t,r=typeof n=="bigint"?n:void 0;w().setBigInt64(e+8,u(r)?BigInt(0):r,!0),w().setInt32(e+0,!u(r),!0)},__wbg___wbindgen_boolean_get_5b446f51afd21013:function(e){let t=e,n=typeof t=="boolean"?t:void 0;return u(n)?16777215:n?1:0},__wbg___wbindgen_debug_string_4687d8d8c2017d52:function(e,t){let n=D(t),r=p(n,i.__wbindgen_malloc,i.__wbindgen_realloc),a=d;w().setInt32(e+4,a,!0),w().setInt32(e+0,r,!0)},__wbg___wbindgen_in_92f62ee1427d9e49:function(e,t){return e in t},__wbg___wbindgen_is_bigint_b123553bed3bb382:function(e){return typeof e=="bigint"},__wbg___wbindgen_is_function_1f9d30630b8b1d3d:function(e){return typeof e=="function"},__wbg___wbindgen_is_null_or_undefined_f9435d56bdcc06df:function(e){return e==null},__wbg___wbindgen_is_object_3c45d4f2dde4e749:function(e){let t=e;return typeof t=="object"&&t!==null},__wbg___wbindgen_is_string_90b56bc79aad6f6c:function(e){return typeof e=="string"},__wbg___wbindgen_is_undefined_8865fb403f8fe9d8:function(e){return e===void 0},__wbg___wbindgen_jsval_eq_02babf21faa37971:function(e,t){return e===t},__wbg___wbindgen_jsval_loose_eq_677f21e468d6b461:function(e,t){return e==t},__wbg___wbindgen_number_get_2e0e7dee9f701a71:function(e,t){let n=t,r=typeof n=="number"?n:void 0;w().setFloat64(e+8,u(r)?0:r,!0),w().setInt32(e+0,!u(r),!0)},__wbg___wbindgen_reinit_3f79fdb34dee3ea9:function(){M=!0},__wbg___wbindgen_string_get_0380ccaa2f57f0d9:function(e,t){let n=t,r=typeof n=="string"?n:void 0;var a=u(r)?0:p(r,i.__wbindgen_malloc,i.__wbindgen_realloc),f=d;w().setInt32(e+4,f,!0),w().setInt32(e+0,a,!0)},__wbg___wbindgen_throw_41e9ee4f547fc59a:function(e,t){throw new WebAssembly.Exception(V,[new Error(l(e,t))])},__wbg__wbg_cb_unref_dcc1a90847f04c41:function(e){e._wbg_cb_unref()},__wbg_body_4e088733babc630d:function(e){let t=e.body;return u(t)?0:h(t)},__wbg_buffer_56ec2905a66f58b9:function(e){return e.buffer},__wbg_byobRequest_54f7ce41d584549a:function(e){let t=e.byobRequest;return u(t)?0:h(t)},__wbg_byteLength_9f985b8373f1f3fe:function(e){return e.byteLength},__wbg_byteOffset_0bd5a6a03553639c:function(e){return e.byteOffset},__wbg_call_187d372bd5fdd4aa:function(e,t,n){return e.call(t,n)},__wbg_call_6137034ef55c9d0f:function(e,t){return e.call(t)},__wbg_cancel_7c2a08c8db4c73f3:function(e){return e.cancel()},__wbg_catch_92594c2d17f55f12:function(e,t){return e.catch(t)},__wbg_cause_19276d032a32d4bd:function(e){return e.cause},__wbg_cf_909bcfb212a8822c:function(e){let t=e.cf;return u(t)?0:h(t)},__wbg_cf_b47fe5ff6d015a0d:function(e){let t=e.cf;return u(t)?0:h(t)},__wbg_clearTimeout_d49a4afcd9b218b7:function(e,t){e.clearTimeout(t)},__wbg_close_185286988f30f252:function(e){e.close()},__wbg_close_748f26698dabe269:function(e){e.close()},__wbg_constructor_076176ce0f386e16:function(e){return e.constructor},__wbg_container_a7a6d1128f1f4929:function(e){let t=e.container;return u(t)?0:h(t)},__wbg_deleteAlarm_41b782f41af1320f:function(e,t){return e.deleteAlarm(t)},__wbg_destroy_9bd90a9126ff8691:function(e,t,n){return e.destroy(t===0?void 0:l(t,n))},__wbg_done_b41a1d26cdb37fb6:function(e){return e.done},__wbg_enqueue_4a01c128f9a0de16:function(e,t){e.enqueue(t)},__wbg_entries_fb6397112b1de25f:function(e){return Object.entries(e)},__wbg_error_a30e98d44009f1bb:function(e,t){console.error(e,t)},__wbg_error_c9cf3fc2064683a9:function(e){console.error(e)},__wbg_fetch_ae9b55b3c1c0b596:function(e,t){return e.fetch(t)},__wbg_getReader_bf34f92ee19c42b4:function(e){return e.getReader()},__wbg_getTime_f5a55efff2585d5d:function(e){return e.getTime()},__wbg_get_31af05bd4842a84f:function(e,t){return Reflect.get(e,t)},__wbg_get_45707891be3847e4:function(e,t,n){return e.get(t,n)},__wbg_get_658f6698067d9515:function(e,t){return Reflect.get(e,t)},__wbg_get_6c896e0571ddae51:function(e,t){return e[t>>>0]},__wbg_get_88983e33467eae60:function(e,t){let n=Reflect.get(e,t);return u(n)?0:h(n)},__wbg_get_done_7020b91c987365c7:function(e){let t=e.done;return u(t)?16777215:t?1:0},__wbg_get_f75619e20cb68514:function(e,t,n,r){let a=t.get(l(n,r));var f=u(a)?0:p(a,i.__wbindgen_malloc,i.__wbindgen_realloc),b=d;w().setInt32(e+4,b,!0),w().setInt32(e+0,f,!0)},__wbg_get_fc33ed5f5416f95a:function(e,t){return e.get(t)},__wbg_get_unchecked_288889d017702237:function(e,t){return e[t>>>0]},__wbg_get_value_87fbd6ad1283f2e7:function(e){return e.value},__wbg_headers_6930a8bd09b630de:function(e){return e.headers},__wbg_headers_eba93595f8944c2f:function(e){return e.headers},__wbg_idFromName_de3147ec40aecd0e:function(e,t,n){return e.idFromName(l(t,n))},__wbg_idFromString_bbb29eab09f78792:function(e,t,n){return e.idFromString(l(t,n))},__wbg_instanceId_9b67ff33ae8bef8a:function(e){return e.instanceId},__wbg_instanceof_ArrayBuffer_a99f175873e5d9b8:function(e){let t;try{t=e instanceof ArrayBuffer}catch{t=!1}return t},__wbg_instanceof_Error_80a725f81f2e102d:function(e){let t;try{t=e instanceof Error}catch{t=!1}return t},__wbg_instanceof_Map_b2611749102d7ba3:function(e){let t;try{t=e instanceof Map}catch{t=!1}return t},__wbg_instanceof_Promise_e1dc6893aa1ece28:function(e){let t;try{t=e instanceof Promise}catch{t=!1}return t},__wbg_instanceof_ReadableStream_e2d77912575119ab:function(e){let t;try{t=e instanceof ReadableStream}catch{t=!1}return t},__wbg_instanceof_Response_b8758567269c30b2:function(e){let t;try{t=e instanceof Response}catch{t=!1}return t},__wbg_instanceof_Uint8Array_828cef2aaacafc31:function(e){let t;try{t=e instanceof Uint8Array}catch{t=!1}return t},__wbg_isArray_e15a2ff68ffdbef2:function(e){return Array.isArray(e)},__wbg_isSafeInteger_717808ad6a54bd9e:function(e){return Number.isSafeInteger(e)},__wbg_iterator_e3c31c892080e444:function(){return Symbol.iterator},__wbg_json_62c1da850fdfa792:function(e){return e.json()},__wbg_keys_bac434c8972731d5:function(e){return e.keys()},__wbg_length_7f3c00c40364105e:function(e){return e.length},__wbg_length_d4bdea10311bd9cf:function(e){return e.length},__wbg_message_5f8387f0c32b90a7:function(e){return e.message},__wbg_method_6d02ee0808a7de31:function(e,t){let n=t.method,r=p(n,i.__wbindgen_malloc,i.__wbindgen_realloc),a=d;w().setInt32(e+4,a,!0),w().setInt32(e+0,r,!0)},__wbg_minifyconfig_new:function(e){return v.__wrap(e)},__wbg_name_e2eac7cdfa054f65:function(e){return e.name},__wbg_name_f9b814d78e8e299f:function(e){return e.name},__wbg_new_0_72d020f0c63443d4:function(){return new Date},__wbg_new_1dbf7428bba60a42:function(e){return new Uint8Array(e)},__wbg_new_28744009d011f847:function(){return new Map},__wbg_new_343a093a3c2ffb4e:function(e,t){return new Error(l(e,t))},__wbg_new_34e56228080aa9f8:function(e){return new Date(e)},__wbg_new_617a8cdb8bb1130e:function(){return new Object},__wbg_new_83ca405eae412a62:function(){return new Headers},__wbg_new_typed_b01cb72a8af741a3:function(e,t){try{var n={a:e,b:t},r=(f,b)=>{let g=n.a;n.a=0;try{return fe(g,n.b,f,b)}finally{n.a=g}};return new Promise(r)}finally{n.a=0}},__wbg_new_with_byte_offset_and_length_2f5d7fc2a828b74d:function(e,t,n){return new Uint8Array(e,t>>>0,n>>>0)},__wbg_new_with_length_3da0ad195f6f63ba:function(e){return new Uint8Array(e>>>0)},__wbg_new_with_opt_buffer_source_and_init_c1b859a23c80afca:function(e,t){return new Response(e,t)},__wbg_new_with_opt_readable_stream_and_init_df114f2d364f216d:function(e,t){return new Response(e,t)},__wbg_new_with_opt_str_and_init_33bef1b272950372:function(e,t,n){return new Response(e===0?void 0:l(e,t),n)},__wbg_new_with_str_and_init_4618dee4e950224f:function(e,t,n){return new Request(l(e,t),n)},__wbg_next_33784799010f1bbe:function(e){return e.next},__wbg_next_f4aac29c42af995c:function(e){return e.next()},__wbg_of_dde0b9d3265685ee:function(e,t,n){return Array.of(e,t,n)},__wbg_prototypesetcall_bc27214492979395:function(e,t,n){Uint8Array.prototype.set.call(ee(e,t),n)},__wbg_queueMicrotask_9833f9a49df95a49:function(e){return e.queueMicrotask},__wbg_queueMicrotask_a72f977e97f23c5f:function(e){queueMicrotask(e)},__wbg_read_2a943774344c9728:function(e){return e.read()},__wbg_readable_7c6bc793dd899969:function(e){return e.readable},__wbg_releaseLock_eb64cd83aa9fcfe4:function(e){e.releaseLock()},__wbg_resolve_0076e10020304ede:function(e){return Promise.resolve(e)},__wbg_respond_c102fabcc79e5ef0:function(e,t){e.respond(t>>>0)},__wbg_running_d000d83f90851f1a:function(e){return e.running},__wbg_setAlarm_c5fe74baa2cbb03d:function(e,t,n){return e.setAlarm(t,n)},__wbg_setTimeout_7fb1e1fe294b6ad9:function(e,t,n){return e.setTimeout(t,n)},__wbg_set_145a351398b48c65:function(e,t,n){return Reflect.set(e,t,n)},__wbg_set_575d3ddb70fe831d:function(e,t,n){e.set(ee(t,n))},__wbg_set_6ae97e73113c4f0b:function(e,t,n){return e.set(t,n)},__wbg_set_6be42768c690e380:function(e,t,n){e[t]=n},__wbg_set_af5932e3f78b5648:function(e,t,n,r,a){e.set(l(t,n),l(r,a))},__wbg_set_body_1fb0f1008bfc7df6:function(e,t){e.body=t},__wbg_set_cache_7507c4cc5938ccc7:function(e,t){e.cache=be[t]},__wbg_set_criticalError_3904d60fe2a0b05b:function(e,t){e.criticalError=t!==0},__wbg_set_headers_40ad33dcf016613f:function(e,t){e.headers=t},__wbg_set_headers_69ef7c46a2e6c742:function(e,t){e.headers=t},__wbg_set_instanceId_9ad5caac0a4e519c:function(e,t){e.instanceId=t>>>0},__wbg_set_method_dcb32343247ec427:function(e,t,n){e.method=l(t,n)},__wbg_set_redirect_cc128ab2411da334:function(e,t){e.redirect=we[t]},__wbg_set_status_678f122cbe435d95:function(e,t){e.status=t},__wbg_static_accessor_GLOBAL_266715b9d96ba635:function(){let e=typeof global>"u"?null:global;return u(e)?0:h(e)},__wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179:function(){let e=typeof globalThis>"u"?null:globalThis;return u(e)?0:h(e)},__wbg_static_accessor_INIT_STATE_e3fce2ad8a08e94e:function(){return K},__wbg_static_accessor_SELF_0b583911f537483a:function(){let e=typeof self>"u"?null:self;return u(e)?0:h(e)},__wbg_static_accessor_WINDOW_d7f903d1508cbdc4:function(){let e=typeof window>"u"?null:window;return u(e)?0:h(e)},__wbg_status_ce0a98d3c57125f3:function(e){return e.status},__wbg_storage_dbf440e5000527fe:function(e){return e.storage},__wbg_stringify_52ff602c1cc4fbb6:function(e){return JSON.stringify(e)},__wbg_then_c949d5a25a4e78f8:function(e,t,n){return e.then(t,n)},__wbg_then_e71170d78fcf8954:function(e,t){return e.then(t)},__wbg_toString_707fda221efebf7b:function(e,t){let n=t.toString(),r=p(n,i.__wbindgen_malloc,i.__wbindgen_realloc),a=d;w().setInt32(e+4,a,!0),w().setInt32(e+0,r,!0)},__wbg_url_7bfada5c2297bc70:function(e,t){let n=t.url,r=p(n,i.__wbindgen_malloc,i.__wbindgen_realloc),a=d;w().setInt32(e+4,a,!0),w().setInt32(e+0,r,!0)},__wbg_value_f3c585ee8f5ba40c:function(e){return e.value},__wbg_view_9c570f33e8d6ab96:function(e){let t=e.view;return u(t)?0:h(t)},__wbg_webSocket_2b7e8e9549bed673:function(e){let t=e.webSocket;return u(t)?0:h(t)},__wbg_writable_a897472079c09078:function(e){return e.writable},__wbindgen_generic_0000000000000001:function(e,t){return L(e,t,ce)},__wbindgen_generic_0000000000000002:function(e,t){return L(e,t,ae)},__wbindgen_generic_0000000000000003:function(e,t){return L(e,t,oe)},__wbindgen_generic_0000000000000004:function(e){return e},__wbindgen_generic_0000000000000005:function(e){return e},__wbindgen_generic_0000000000000006:function(e,t){return l(e,t)},__wbindgen_generic_0000000000000007:function(e){return BigInt.asUintN(64,e)},__wbindgen_init_externref_table:function(){let e=i.__wbindgen_externrefs,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)},__wbindgen_jstag:WebAssembly.JSTag,__wbindgen_rethrow_critical:function(e){throw new Error("Critical error",{cause:e})}}}}var V=new WebAssembly.Tag({parameters:["externref"]}),q,B=!1;function ie(){B=!0;try{let _=$()[i.__abort_handler.value/4];_&&i.__wbindgen_export.get(_)()}catch{}}function o(_){throw _ instanceof WebAssembly.Exception&&_.is(V)?_.getArg(V,0):($()[q]=1,ie(),_)}function c(){if(q??=i.__instance_terminated.value/4,$()[q]){if(B||ie(),M){P();return}throw new Error("Module terminated")}else M&&P()}function oe(_,e){c();try{i.wasm_bindgen_ea9bf1193e68f72a___convert__closures_____invoke_______true_(_,e)}catch(t){o(t)}}function ce(_,e,t){c();try{i.wasm_bindgen_ea9bf1193e68f72a___convert__closures_____invoke___wasm_bindgen_ea9bf1193e68f72a___JsValue______true_(_,e,t)}catch(n){o(n)}}function ae(_,e,t){let n;c();try{n=i.wasm_bindgen_ea9bf1193e68f72a___convert__closures_____invoke___wasm_bindgen_ea9bf1193e68f72a___JsValue__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_ea9bf1193e68f72a___JsError___true_(_,e,t)}catch(r){o(r)}if(n[1])throw ve(n[0])}function fe(_,e,t,n){c();try{i.wasm_bindgen_ea9bf1193e68f72a___convert__closures_____invoke___js_sys_4fe8a652124d7b8b___Function_fn_wasm_bindgen_ea9bf1193e68f72a___JsValue_____wasm_bindgen_ea9bf1193e68f72a___sys__Undefined___js_sys_4fe8a652124d7b8b___Function_fn_wasm_bindgen_ea9bf1193e68f72a___JsValue_____wasm_bindgen_ea9bf1193e68f72a___sys__Undefined_______true_(_,e,t,n)}catch(r){o(r)}}var ue=["bytes"],be=["default","no-store","reload","no-cache","force-cache","only-if-cached"],we=["follow","error","manual"],s=0,ge=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:_,instance:e})=>{e===s&&i.__wbg_containerstartupoptions_free(_,1)}),de=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:_,instance:e})=>{e===s&&i.__wbg_intounderlyingbytesource_free(_,1)}),le=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:_,instance:e})=>{e===s&&i.__wbg_intounderlyingsink_free(_,1)}),he=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:_,instance:e})=>{e===s&&i.__wbg_intounderlyingsource_free(_,1)}),Q=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:_,instance:e})=>{e===s&&i.__wbg_jobrunner_free(_,1)}),X=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:_,instance:e})=>{e===s&&i.__wbg_minifyconfig_free(_,1)}),pe=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:_,instance:e})=>{e===s&&i.__wbg_r2range_free(_,1)}),Y=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(({ptr:_,instance:e})=>{e===s&&i.__wbg_runner_free(_,1)});function h(_){let e=i.__externref_table_alloc();return i.__wbindgen_externrefs.set(e,_),e}var Z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>{_.instance===s&&i.__wbindgen_destroy_closure(_.a,_.b)});function D(_){let e=typeof _;if(e=="number"||e=="boolean"||_==null)return`${_}`;if(e=="string")return`"${_}"`;if(e=="symbol"){let r=_.description;return r==null?"Symbol":`Symbol(${r})`}if(e=="function"){let r=_.name;return typeof r=="string"&&r.length>0?`Function(${r})`:"Function"}if(Array.isArray(_)){let r=_.length,a="[";r>0&&(a+=D(_[0]));for(let f=1;f<r;f++)a+=", "+D(_[f]);return a+="]",a}let t=/\[object ([^\]]+)\]/.exec(toString.call(_)),n;if(t&&t.length>1)n=t[1];else return toString.call(_);if(n=="Object")try{return"Object("+JSON.stringify(_)+")"}catch{return"Object"}return _ instanceof Error?`${_.name}: ${_.message}
${_.stack}`:n}function ye(_,e){_=_>>>0;let t=w(),n=[];for(let r=_;r<_+4*e;r+=4)n.push(i.__wbindgen_externrefs.get(t.getUint32(r,!0)));return i.__externref_drop_slice(_,e),n}function ee(_,e){return _=_>>>0,k().subarray(_/1,_/1+e)}var m=null;function w(){return(m===null||m.buffer.detached===!0||m.buffer.detached===void 0&&m.buffer!==i.memory.buffer)&&(m=new DataView(i.memory.buffer)),m}var S=null;function $(){return(S===null||S.byteLength===0)&&(S=new Int32Array(i.memory.buffer)),S}function l(_,e){return Ie(_>>>0,e)}var W=null;function k(){return(W===null||W.byteLength===0)&&(W=new Uint8Array(i.memory.buffer)),W}function u(_){return _==null}function L(_,e,t){let n={a:_,b:e,cnt:1,instance:s},r=(...a)=>{if(n.instance!==s)throw new Error("Cannot invoke closure from previous WASM instance");n.cnt++;let f=n.a;n.a=0;try{return t(f,n.b,...a)}finally{n.a=f,r._wbg_cb_unref()}};return r._wbg_cb_unref=()=>{--n.cnt===0&&(i.__wbindgen_destroy_closure(n.a,n.b),n.a=0,Z.unregister(n))},Z.register(r,n,n),r}function me(_,e){let t=e(_.length*4,4)>>>0;for(let n=0;n<_.length;n++){let r=h(_[n]);w().setUint32(t+4*n,r,!0)}return d=_.length,t}function p(_,e,t){if(t===void 0){let b=A.encode(_),g=e(b.length,1)>>>0;return k().subarray(g,g+b.length).set(b),d=b.length,g}let n=_.length,r=e(n,1)>>>0,a=k(),f=0;for(;f<n;f++){let b=_.charCodeAt(f);if(b>127)break;a[r+f]=b}if(f!==n){f!==0&&(_=_.slice(f)),r=t(r,n,n=f+_.length*3,1)>>>0;let b=k().subarray(r+f,r+n),g=A.encodeInto(_,b);f+=g.written,r=t(r,n,f,1)>>>0}return d=f,r}var M=!1;function ve(_){let e=i.__wbindgen_externrefs.get(_);return i.__externref_table_dealloc(_),e}var se=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});se.decode();function Ie(_,e){return se.decode(k().subarray(_,_+e))}var A=new TextEncoder;"encodeInto"in A||(A.encodeInto=function(_,e){let t=A.encode(_);return e.set(t),{read:_.length,written:t.length}});var d=0,N=new WebAssembly.Instance(te,re()),i=N.exports;i.__wbindgen_start();Error.stackTraceLimit=100;var y=ne();function H(){y.criticalError&&(console.log("Reinitializing Wasm application"),P(),y.criticalError=!1,y.instanceId++)}addEventListener("error",_=>{G(_.error)});function G(_){_ instanceof WebAssembly.RuntimeError&&(console.error("Critical",_),y.criticalError=!0)}var C=class extends je{};C.prototype.fetch=function(e){return _e.call(this,e,this.env,this.ctx)};var xe={set:(_,e,t,n)=>Reflect.set(_.instance,e,t,n),has:(_,e)=>Reflect.has(_.instance,e),deleteProperty:(_,e)=>Reflect.deleteProperty(_.instance,e),apply:(_,e,t)=>Reflect.apply(_.instance,e,t),construct:(_,e,t)=>Reflect.construct(_.instance,e,t),getPrototypeOf:_=>Reflect.getPrototypeOf(_.instance),setPrototypeOf:(_,e)=>Reflect.setPrototypeOf(_.instance,e),isExtensible:_=>Reflect.isExtensible(_.instance),preventExtensions:_=>Reflect.preventExtensions(_.instance),getOwnPropertyDescriptor:(_,e)=>Reflect.getOwnPropertyDescriptor(_.instance,e),defineProperty:(_,e,t)=>Reflect.defineProperty(_.instance,e,t),ownKeys:_=>Reflect.ownKeys(_.instance)},R={construct(_,e,t){try{H();let n={instance:Reflect.construct(_,e,t),instanceId:y.instanceId,ctor:_,args:e,newTarget:t};return new Proxy(n,{...xe,get(r,a,f){r.instanceId!==y.instanceId&&(r.instance=Reflect.construct(r.ctor,r.args,r.newTarget),r.instanceId=y.instanceId);let b=Reflect.get(r.instance,a,f);return typeof b!="function"?b:b.constructor===Function?new Proxy(b,{apply(g,U,J){H();try{return g.apply(U,J)}catch(F){throw G(F),F}}}):new Proxy(b,{async apply(g,U,J){H();try{return await g.apply(U,J)}catch(F){throw G(F),F}}})}})}catch(n){throw y.criticalError=!0,n}}},ke=new Proxy(C,R),Ae=new Proxy(I,R),ze=new Proxy(E,R),Te=new Proxy(v,R),Oe=new Proxy(j,R),Pe=new Proxy(x,R);export{Ae as ContainerStartupOptions,ze as JobRunner,Te as MinifyConfig,Oe as R2Range,Pe as Runner,ke as default};