oriverse-engine 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AGENT_ONBOARDING.md +74 -74
- package/dist/CODEX_PROMPT.md +9 -9
- package/dist/examples/coin_collector.weave +70 -70
- package/dist/examples/dodge_blocks.weave +70 -70
- package/dist/examples/target_range.weave +82 -82
- package/dist/ktx_bridge.js +121 -121
- package/dist/ktx_lib.js +1 -1
- package/dist/ktx_lib.wasm +0 -0
- package/dist/oriverse_wgpu.d.ts +80 -45
- package/dist/oriverse_wgpu.js +344 -112
- package/dist/oriverse_wgpu_bg.wasm +0 -0
- package/dist/oriverse_wgpu_bg.wasm.d.ts +50 -44
- package/dist/prewarm.js +11 -0
- package/dist/shader_prewarm_manifest.json +1 -1
- package/dist/snippets/oriverse_market_client-0cd3013288f3c49c/inline1.js +41 -0
- package/dist/snippets/oriverse_wgpu-255445ce6d9a0851/inline0.js +26 -58
- package/dist/snippets/oriverse_wgpu-255445ce6d9a0851/inline1.js +58 -20
- package/dist/starter/AGENTS.md +2 -2
- package/dist/starter/CLAUDE.md +2 -2
- package/dist/starter/game.html +8 -8
- package/dist/templates/game.html +2 -2
- package/dist/templates/game_cdn.html +8 -8
- package/dist/weave_documentation.txt +2886 -175
- package/package.json +1 -1
package/dist/oriverse_wgpu.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* @ts-self-types="./oriverse_wgpu.d.ts" */
|
|
2
2
|
import { marketClientInitMessageBridge, marketClientPostMessage } from './snippets/oriverse_market_client-0cd3013288f3c49c/inline0.js';
|
|
3
|
+
import { marketClientReadIndexedDbValue } from './snippets/oriverse_market_client-0cd3013288f3c49c/inline1.js';
|
|
3
4
|
|
|
4
5
|
export class IntoUnderlyingByteSource {
|
|
5
6
|
__destroy_into_raw() {
|
|
@@ -137,6 +138,76 @@ export function init_market_client_message_bridge(worker) {
|
|
|
137
138
|
}
|
|
138
139
|
}
|
|
139
140
|
|
|
141
|
+
/**
|
|
142
|
+
* Worker-side entry for `live_sim_log_objects_at_frames` on wasm.
|
|
143
|
+
* @param {string} world_text
|
|
144
|
+
* @param {string} args_json
|
|
145
|
+
* @returns {string}
|
|
146
|
+
*/
|
|
147
|
+
export function live_sim_log_objects_entry(world_text, args_json) {
|
|
148
|
+
let deferred3_0;
|
|
149
|
+
let deferred3_1;
|
|
150
|
+
try {
|
|
151
|
+
const ptr0 = passStringToWasm0(world_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
152
|
+
const len0 = WASM_VECTOR_LEN;
|
|
153
|
+
const ptr1 = passStringToWasm0(args_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
154
|
+
const len1 = WASM_VECTOR_LEN;
|
|
155
|
+
const ret = wasm.live_sim_log_objects_entry(ptr0, len0, ptr1, len1);
|
|
156
|
+
deferred3_0 = ret[0];
|
|
157
|
+
deferred3_1 = ret[1];
|
|
158
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
159
|
+
} finally {
|
|
160
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Worker-side entry for `live_sim_log_simcalls` on wasm.
|
|
166
|
+
* @param {string} world_text
|
|
167
|
+
* @param {string} args_json
|
|
168
|
+
* @returns {string}
|
|
169
|
+
*/
|
|
170
|
+
export function live_sim_log_simcalls_entry(world_text, args_json) {
|
|
171
|
+
let deferred3_0;
|
|
172
|
+
let deferred3_1;
|
|
173
|
+
try {
|
|
174
|
+
const ptr0 = passStringToWasm0(world_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
175
|
+
const len0 = WASM_VECTOR_LEN;
|
|
176
|
+
const ptr1 = passStringToWasm0(args_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
177
|
+
const len1 = WASM_VECTOR_LEN;
|
|
178
|
+
const ret = wasm.live_sim_log_simcalls_entry(ptr0, len0, ptr1, len1);
|
|
179
|
+
deferred3_0 = ret[0];
|
|
180
|
+
deferred3_1 = ret[1];
|
|
181
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
182
|
+
} finally {
|
|
183
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Worker-side entry for the `materialize_temp_weave_patch` source half on wasm: runs
|
|
189
|
+
* the sandbox sim and returns the `MaterializedTempWeavePatch` JSON as `text`.
|
|
190
|
+
* @param {string} world_text
|
|
191
|
+
* @param {string} args_json
|
|
192
|
+
* @returns {string}
|
|
193
|
+
*/
|
|
194
|
+
export function materialize_source_entry(world_text, args_json) {
|
|
195
|
+
let deferred3_0;
|
|
196
|
+
let deferred3_1;
|
|
197
|
+
try {
|
|
198
|
+
const ptr0 = passStringToWasm0(world_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
199
|
+
const len0 = WASM_VECTOR_LEN;
|
|
200
|
+
const ptr1 = passStringToWasm0(args_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
201
|
+
const len1 = WASM_VECTOR_LEN;
|
|
202
|
+
const ret = wasm.materialize_source_entry(ptr0, len0, ptr1, len1);
|
|
203
|
+
deferred3_0 = ret[0];
|
|
204
|
+
deferred3_1 = ret[1];
|
|
205
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
206
|
+
} finally {
|
|
207
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
140
211
|
/**
|
|
141
212
|
* @param {number} world_ptr
|
|
142
213
|
* @param {number} netctx_ptr
|
|
@@ -151,9 +222,11 @@ export function init_market_client_message_bridge(worker) {
|
|
|
151
222
|
* @param {number} latest_no_visual_world_generation_arc
|
|
152
223
|
* @param {number} latest_no_visual_seq_arc
|
|
153
224
|
* @param {number} start_flag_arc
|
|
225
|
+
* @param {number} predict_ship_arc
|
|
226
|
+
* @param {number} predict_recycle_arc
|
|
154
227
|
*/
|
|
155
|
-
export function sim_worker_init(world_ptr, netctx_ptr, client_arc, undo_arc, updates_arc, display_packets_arc, display_packets_count_arc, force_next_full_visual_sync_arc, last_display_visual_fingerprint_arc, latest_no_visual_frame_id_arc, latest_no_visual_world_generation_arc, latest_no_visual_seq_arc, start_flag_arc) {
|
|
156
|
-
wasm.sim_worker_init(world_ptr, netctx_ptr, client_arc, undo_arc, updates_arc, display_packets_arc, display_packets_count_arc, force_next_full_visual_sync_arc, last_display_visual_fingerprint_arc, latest_no_visual_frame_id_arc, latest_no_visual_world_generation_arc, latest_no_visual_seq_arc, start_flag_arc);
|
|
228
|
+
export function sim_worker_init(world_ptr, netctx_ptr, client_arc, undo_arc, updates_arc, display_packets_arc, display_packets_count_arc, force_next_full_visual_sync_arc, last_display_visual_fingerprint_arc, latest_no_visual_frame_id_arc, latest_no_visual_world_generation_arc, latest_no_visual_seq_arc, start_flag_arc, predict_ship_arc, predict_recycle_arc) {
|
|
229
|
+
wasm.sim_worker_init(world_ptr, netctx_ptr, client_arc, undo_arc, updates_arc, display_packets_arc, display_packets_count_arc, force_next_full_visual_sync_arc, last_display_visual_fingerprint_arc, latest_no_visual_frame_id_arc, latest_no_visual_world_generation_arc, latest_no_visual_seq_arc, start_flag_arc, predict_ship_arc, predict_recycle_arc);
|
|
157
230
|
}
|
|
158
231
|
|
|
159
232
|
/**
|
|
@@ -173,6 +246,55 @@ export function start_wasm_oriverse() {
|
|
|
173
246
|
wasm.start_wasm_oriverse();
|
|
174
247
|
}
|
|
175
248
|
|
|
249
|
+
/**
|
|
250
|
+
* Worker-side entry for the one-shot hidden-tab playtest fallback. Runs ONLY inside a
|
|
251
|
+
* fresh-memory worker instance (never the live heap - B42's wasm analog); mirrors the
|
|
252
|
+
* validate path's process flags so headless load/sim behave like the desktop text lane.
|
|
253
|
+
* Returns {"ok":true,"text"} or {"ok":false,"error","arg_error"}.
|
|
254
|
+
* @param {string} world_text
|
|
255
|
+
* @param {string} args_json
|
|
256
|
+
* @returns {string}
|
|
257
|
+
*/
|
|
258
|
+
export function text_playtest_entry(world_text, args_json) {
|
|
259
|
+
let deferred3_0;
|
|
260
|
+
let deferred3_1;
|
|
261
|
+
try {
|
|
262
|
+
const ptr0 = passStringToWasm0(world_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
263
|
+
const len0 = WASM_VECTOR_LEN;
|
|
264
|
+
const ptr1 = passStringToWasm0(args_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
265
|
+
const len1 = WASM_VECTOR_LEN;
|
|
266
|
+
const ret = wasm.text_playtest_entry(ptr0, len0, ptr1, len1);
|
|
267
|
+
deferred3_0 = ret[0];
|
|
268
|
+
deferred3_1 = ret[1];
|
|
269
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
270
|
+
} finally {
|
|
271
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Worker-side entry for `ui_inspect` (incl. `actions` interaction) on wasm.
|
|
277
|
+
* @param {string} world_text
|
|
278
|
+
* @param {string} args_json
|
|
279
|
+
* @returns {string}
|
|
280
|
+
*/
|
|
281
|
+
export function ui_inspect_entry(world_text, args_json) {
|
|
282
|
+
let deferred3_0;
|
|
283
|
+
let deferred3_1;
|
|
284
|
+
try {
|
|
285
|
+
const ptr0 = passStringToWasm0(world_text, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
286
|
+
const len0 = WASM_VECTOR_LEN;
|
|
287
|
+
const ptr1 = passStringToWasm0(args_json, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
288
|
+
const len1 = WASM_VECTOR_LEN;
|
|
289
|
+
const ret = wasm.ui_inspect_entry(ptr0, len0, ptr1, len1);
|
|
290
|
+
deferred3_0 = ret[0];
|
|
291
|
+
deferred3_1 = ret[1];
|
|
292
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
293
|
+
} finally {
|
|
294
|
+
wasm.__wbindgen_free(deferred3_0, deferred3_1, 1);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
176
298
|
/**
|
|
177
299
|
* Synchronous `#[wasm_bindgen]` export the worker calls inside `onmessage`. The whole
|
|
178
300
|
* sim path (`simulate_world_description` -> `simulate_build_world` -> `run_n_frames`)
|
|
@@ -480,6 +602,10 @@ function __wbg_get_imports() {
|
|
|
480
602
|
const ret = arg0.call(arg1);
|
|
481
603
|
return ret;
|
|
482
604
|
}, arguments); },
|
|
605
|
+
__wbg_call_f858478a02f9600f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
606
|
+
const ret = arg0.call(arg1, arg2, arg3, arg4);
|
|
607
|
+
return ret;
|
|
608
|
+
}, arguments); },
|
|
483
609
|
__wbg_cancelAnimationFrame_43fad84647f46036: function() { return handleError(function (arg0, arg1) {
|
|
484
610
|
arg0.cancelAnimationFrame(arg1);
|
|
485
611
|
}, arguments); },
|
|
@@ -545,6 +671,10 @@ function __wbg_get_imports() {
|
|
|
545
671
|
const ret = arg0.clientY;
|
|
546
672
|
return ret;
|
|
547
673
|
},
|
|
674
|
+
__wbg_clipboardData_643239fa2d14590e: function(arg0) {
|
|
675
|
+
const ret = arg0.clipboardData;
|
|
676
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
677
|
+
},
|
|
548
678
|
__wbg_clipboard_0285d75eacda5282: function(arg0) {
|
|
549
679
|
const ret = arg0.clipboard;
|
|
550
680
|
return ret;
|
|
@@ -732,6 +862,13 @@ function __wbg_get_imports() {
|
|
|
732
862
|
const ret = arg0.decode();
|
|
733
863
|
return ret;
|
|
734
864
|
},
|
|
865
|
+
__wbg_defaultPrevented_494d697930800139: function(arg0) {
|
|
866
|
+
const ret = arg0.defaultPrevented;
|
|
867
|
+
return ret;
|
|
868
|
+
},
|
|
869
|
+
__wbg_delete_e0564e7741071916: function(arg0, arg1, arg2) {
|
|
870
|
+
arg0.delete(getStringFromWasm0(arg1, arg2));
|
|
871
|
+
},
|
|
735
872
|
__wbg_deltaMode_e239727f16c7ad68: function(arg0) {
|
|
736
873
|
const ret = arg0.deltaMode;
|
|
737
874
|
return ret;
|
|
@@ -935,6 +1072,13 @@ function __wbg_get_imports() {
|
|
|
935
1072
|
const ret = arg0.getCurrentTexture();
|
|
936
1073
|
return ret;
|
|
937
1074
|
}, arguments); },
|
|
1075
|
+
__wbg_getData_f1a32ff1c8973144: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1076
|
+
const ret = arg1.getData(getStringFromWasm0(arg2, arg3));
|
|
1077
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1078
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1079
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1080
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1081
|
+
}, arguments); },
|
|
938
1082
|
__wbg_getElementById_d1f25d287b19a833: function(arg0, arg1, arg2) {
|
|
939
1083
|
const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
|
|
940
1084
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -991,6 +1135,13 @@ function __wbg_get_imports() {
|
|
|
991
1135
|
const ret = arg0.getTimezoneOffset();
|
|
992
1136
|
return ret;
|
|
993
1137
|
},
|
|
1138
|
+
__wbg_get_1b6e981d97421840: function(arg0, arg1, arg2, arg3) {
|
|
1139
|
+
const ret = arg1.get(getStringFromWasm0(arg2, arg3));
|
|
1140
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1141
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1142
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1143
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1144
|
+
},
|
|
994
1145
|
__wbg_get_326e41e095fb2575: function() { return handleError(function (arg0, arg1) {
|
|
995
1146
|
const ret = Reflect.get(arg0, arg1);
|
|
996
1147
|
return ret;
|
|
@@ -1031,6 +1182,18 @@ function __wbg_get_imports() {
|
|
|
1031
1182
|
const ret = arg0.grow(arg1 >>> 0);
|
|
1032
1183
|
return ret;
|
|
1033
1184
|
}, arguments); },
|
|
1185
|
+
__wbg_hardwareConcurrency_a8e3f7c0d77df6d3: function(arg0) {
|
|
1186
|
+
const ret = arg0.hardwareConcurrency;
|
|
1187
|
+
return ret;
|
|
1188
|
+
},
|
|
1189
|
+
__wbg_hasFocus_40081865140fa6ee: function() { return handleError(function (arg0) {
|
|
1190
|
+
const ret = arg0.hasFocus();
|
|
1191
|
+
return ret;
|
|
1192
|
+
}, arguments); },
|
|
1193
|
+
__wbg_has_24a35e83d7aba311: function(arg0, arg1, arg2) {
|
|
1194
|
+
const ret = arg0.has(getStringFromWasm0(arg1, arg2));
|
|
1195
|
+
return ret;
|
|
1196
|
+
},
|
|
1034
1197
|
__wbg_has_926ef2ff40b308cf: function() { return handleError(function (arg0, arg1) {
|
|
1035
1198
|
const ret = Reflect.has(arg0, arg1);
|
|
1036
1199
|
return ret;
|
|
@@ -1055,6 +1218,10 @@ function __wbg_get_imports() {
|
|
|
1055
1218
|
const ret = arg0.hidden;
|
|
1056
1219
|
return ret;
|
|
1057
1220
|
},
|
|
1221
|
+
__wbg_history_26b8c29b7753d0e8: function() { return handleError(function (arg0) {
|
|
1222
|
+
const ret = arg0.history;
|
|
1223
|
+
return ret;
|
|
1224
|
+
}, arguments); },
|
|
1058
1225
|
__wbg_hostname_a30ece22df1c8b63: function() { return handleError(function (arg0, arg1) {
|
|
1059
1226
|
const ret = arg1.hostname;
|
|
1060
1227
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1204,6 +1371,16 @@ function __wbg_get_imports() {
|
|
|
1204
1371
|
const ret = result;
|
|
1205
1372
|
return ret;
|
|
1206
1373
|
},
|
|
1374
|
+
__wbg_instanceof_GpuError_c1d288529bc3c6aa: function(arg0) {
|
|
1375
|
+
let result;
|
|
1376
|
+
try {
|
|
1377
|
+
result = arg0 instanceof GPUError;
|
|
1378
|
+
} catch (_) {
|
|
1379
|
+
result = false;
|
|
1380
|
+
}
|
|
1381
|
+
const ret = result;
|
|
1382
|
+
return ret;
|
|
1383
|
+
},
|
|
1207
1384
|
__wbg_instanceof_GpuOutOfMemoryError_5ac5c50ce9ee21d2: function(arg0) {
|
|
1208
1385
|
let result;
|
|
1209
1386
|
try {
|
|
@@ -1360,6 +1537,13 @@ function __wbg_get_imports() {
|
|
|
1360
1537
|
const ret = Symbol.iterator;
|
|
1361
1538
|
return ret;
|
|
1362
1539
|
},
|
|
1540
|
+
__wbg_key_84733a6ee7e4d63e: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1541
|
+
const ret = arg1.key(arg2 >>> 0);
|
|
1542
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1543
|
+
var len1 = WASM_VECTOR_LEN;
|
|
1544
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1545
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1546
|
+
}, arguments); },
|
|
1363
1547
|
__wbg_key_99eb0f0a1000963d: function(arg0, arg1) {
|
|
1364
1548
|
const ret = arg1.key;
|
|
1365
1549
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1385,6 +1569,10 @@ function __wbg_get_imports() {
|
|
|
1385
1569
|
const ret = arg0.length;
|
|
1386
1570
|
return ret;
|
|
1387
1571
|
},
|
|
1572
|
+
__wbg_length_8632bd8b5ab30449: function() { return handleError(function (arg0) {
|
|
1573
|
+
const ret = arg0.length;
|
|
1574
|
+
return ret;
|
|
1575
|
+
}, arguments); },
|
|
1388
1576
|
__wbg_length_913f63493d251eea: function(arg0) {
|
|
1389
1577
|
const ret = arg0.length;
|
|
1390
1578
|
return ret;
|
|
@@ -1457,6 +1645,10 @@ function __wbg_get_imports() {
|
|
|
1457
1645
|
__wbg_marketClientPostMessage_f220cbf0b0912aff: function(arg0, arg1, arg2, arg3) {
|
|
1458
1646
|
marketClientPostMessage(getStringFromWasm0(arg0, arg1), arg2 === 0 ? undefined : getStringFromWasm0(arg2, arg3));
|
|
1459
1647
|
},
|
|
1648
|
+
__wbg_marketClientReadIndexedDbValue_00018e02d39d9b45: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1649
|
+
const ret = marketClientReadIndexedDbValue(getStringFromWasm0(arg0, arg1), getStringFromWasm0(arg2, arg3), getStringFromWasm0(arg4, arg5));
|
|
1650
|
+
return ret;
|
|
1651
|
+
}, arguments); },
|
|
1460
1652
|
__wbg_matchMedia_b27489ec503ba2a5: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1461
1653
|
const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
|
|
1462
1654
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -1774,7 +1966,7 @@ function __wbg_get_imports() {
|
|
|
1774
1966
|
const a = state0.a;
|
|
1775
1967
|
state0.a = 0;
|
|
1776
1968
|
try {
|
|
1777
|
-
return
|
|
1969
|
+
return wasm_bindgen__convert__closures_____invoke__h4e1d18a25cb702b7(a, state0.b, arg0, arg1);
|
|
1778
1970
|
} finally {
|
|
1779
1971
|
state0.a = a;
|
|
1780
1972
|
}
|
|
@@ -1946,6 +2138,10 @@ function __wbg_get_imports() {
|
|
|
1946
2138
|
const ret = arg0.pointerId;
|
|
1947
2139
|
return ret;
|
|
1948
2140
|
},
|
|
2141
|
+
__wbg_pointerLockElement_351ae3d599753f4f: function(arg0) {
|
|
2142
|
+
const ret = arg0.pointerLockElement;
|
|
2143
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
2144
|
+
},
|
|
1949
2145
|
__wbg_pointerType_02525bef1df5f79c: function(arg0, arg1) {
|
|
1950
2146
|
const ret = arg1.pointerType;
|
|
1951
2147
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -2054,9 +2250,19 @@ function __wbg_get_imports() {
|
|
|
2054
2250
|
const ret = arg0.reason;
|
|
2055
2251
|
return (__wbindgen_enum_GpuDeviceLostReason.indexOf(ret) + 1 || 3) - 1;
|
|
2056
2252
|
},
|
|
2253
|
+
__wbg_referrer_ea1546f57cf0bd3f: function(arg0, arg1) {
|
|
2254
|
+
const ret = arg1.referrer;
|
|
2255
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2256
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2257
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2258
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2259
|
+
},
|
|
2057
2260
|
__wbg_releaseLock_ef7766a5da654ff8: function(arg0) {
|
|
2058
2261
|
arg0.releaseLock();
|
|
2059
2262
|
},
|
|
2263
|
+
__wbg_reload_297a8108e49bb93a: function() { return handleError(function (arg0) {
|
|
2264
|
+
arg0.reload();
|
|
2265
|
+
}, arguments); },
|
|
2060
2266
|
__wbg_removeEventListener_d27694700fc0df8b: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
2061
2267
|
arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
2062
2268
|
}, arguments); },
|
|
@@ -2080,6 +2286,9 @@ function __wbg_get_imports() {
|
|
|
2080
2286
|
const ret = arg0.repeat;
|
|
2081
2287
|
return ret;
|
|
2082
2288
|
},
|
|
2289
|
+
__wbg_replaceState_2dd9c86c164b292e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
2290
|
+
arg0.replaceState(arg1, getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5));
|
|
2291
|
+
}, arguments); },
|
|
2083
2292
|
__wbg_replace_ac021aa56ba20cbb: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2084
2293
|
arg0.replace(getStringFromWasm0(arg1, arg2));
|
|
2085
2294
|
}, arguments); },
|
|
@@ -2210,6 +2419,10 @@ function __wbg_get_imports() {
|
|
|
2210
2419
|
__wbg_setIndexBuffer_17431786d06c1b7c: function(arg0, arg1, arg2, arg3, arg4) {
|
|
2211
2420
|
arg0.setIndexBuffer(arg1, __wbindgen_enum_GpuIndexFormat[arg2], arg3, arg4);
|
|
2212
2421
|
},
|
|
2422
|
+
__wbg_setInterval_2cc6fda2bedb96bc: function() { return handleError(function (arg0, arg1, arg2) {
|
|
2423
|
+
const ret = arg0.setInterval(arg1, arg2);
|
|
2424
|
+
return ret;
|
|
2425
|
+
}, arguments); },
|
|
2213
2426
|
__wbg_setItem_5f84aeef0d7f3c17: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
2214
2427
|
arg0.setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
2215
2428
|
}, arguments); },
|
|
@@ -2463,6 +2676,9 @@ function __wbg_get_imports() {
|
|
|
2463
2676
|
__wbg_set_depth_read_only_138a11b10c731094: function(arg0, arg1) {
|
|
2464
2677
|
arg0.depthReadOnly = arg1 !== 0;
|
|
2465
2678
|
},
|
|
2679
|
+
__wbg_set_depth_slice_dd2814a03f61b700: function(arg0, arg1) {
|
|
2680
|
+
arg0.depthSlice = arg1 >>> 0;
|
|
2681
|
+
},
|
|
2466
2682
|
__wbg_set_depth_stencil_1bd50dbc450c8650: function(arg0, arg1) {
|
|
2467
2683
|
arg0.depthStencil = arg1;
|
|
2468
2684
|
},
|
|
@@ -3041,6 +3257,10 @@ function __wbg_get_imports() {
|
|
|
3041
3257
|
__wbg_start_f837ba2bac4733b5: function(arg0) {
|
|
3042
3258
|
arg0.start();
|
|
3043
3259
|
},
|
|
3260
|
+
__wbg_state_a4d9e52dfc1783cb: function(arg0) {
|
|
3261
|
+
const ret = arg0.state;
|
|
3262
|
+
return (__wbindgen_enum_AudioContextState.indexOf(ret) + 1 || 4) - 1;
|
|
3263
|
+
},
|
|
3044
3264
|
__wbg_static_accessor_GLOBAL_8adb955bd33fac2f: function() {
|
|
3045
3265
|
const ret = typeof global === 'undefined' ? null : global;
|
|
3046
3266
|
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
@@ -3231,146 +3451,151 @@ function __wbg_get_imports() {
|
|
|
3231
3451
|
arg0.writeTexture(arg1, getArrayU8FromWasm0(arg2, arg3), arg4, arg5);
|
|
3232
3452
|
}, arguments); },
|
|
3233
3453
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
3234
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3235
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3454
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1409, function: Function { arguments: [NamedExternref("ClipboardEvent")], shim_idx: 1410, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3455
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h08502510f6f722ca, wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5);
|
|
3236
3456
|
return ret;
|
|
3237
3457
|
},
|
|
3238
3458
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
3239
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3240
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3459
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1409, function: Function { arguments: [NamedExternref("MouseEvent")], shim_idx: 1410, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3460
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h08502510f6f722ca, wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5_1);
|
|
3241
3461
|
return ret;
|
|
3242
3462
|
},
|
|
3243
3463
|
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
3244
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3245
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3464
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1409, function: Function { arguments: [String, String, Boolean], shim_idx: 1414, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3465
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h08502510f6f722ca, wasm_bindgen__convert__closures_____invoke__hb8ca66f61e41cce5);
|
|
3246
3466
|
return ret;
|
|
3247
3467
|
},
|
|
3248
3468
|
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
3249
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3250
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3469
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 1409, function: Function { arguments: [U32, U32, F64], shim_idx: 1412, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3470
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h08502510f6f722ca, wasm_bindgen__convert__closures_____invoke__hee217a849ef8cb8a);
|
|
3251
3471
|
return ret;
|
|
3252
3472
|
},
|
|
3253
3473
|
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
3254
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3255
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3474
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2060, function: Function { arguments: [Externref, Externref], shim_idx: 2066, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3475
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h175ea9953c111419, wasm_bindgen__convert__closures_____invoke__h5403ccc7e321a332);
|
|
3256
3476
|
return ret;
|
|
3257
3477
|
},
|
|
3258
3478
|
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
3259
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3260
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3479
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2060, function: Function { arguments: [NamedExternref("ErrorEvent")], shim_idx: 2061, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3480
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h175ea9953c111419, wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac);
|
|
3261
3481
|
return ret;
|
|
3262
3482
|
},
|
|
3263
3483
|
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
3264
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3265
|
-
const ret =
|
|
3484
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2060, function: Function { arguments: [NamedExternref("Event")], shim_idx: 2061, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3485
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h175ea9953c111419, wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_6);
|
|
3266
3486
|
return ret;
|
|
3267
3487
|
},
|
|
3268
3488
|
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
3269
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3270
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3489
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2060, function: Function { arguments: [NamedExternref("RTCDataChannelEvent")], shim_idx: 2061, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3490
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h175ea9953c111419, wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_7);
|
|
3271
3491
|
return ret;
|
|
3272
3492
|
},
|
|
3273
3493
|
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
3274
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3275
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3494
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 2060, function: Function { arguments: [NamedExternref("RTCPeerConnectionIceEvent")], shim_idx: 2061, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3495
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h175ea9953c111419, wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_8);
|
|
3276
3496
|
return ret;
|
|
3277
3497
|
},
|
|
3278
3498
|
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
3279
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3280
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3499
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 3245, function: Function { arguments: [], shim_idx: 3246, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3500
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h89c85bd0b07be596, wasm_bindgen__convert__closures_____invoke__hbfcfb7f057cbec16);
|
|
3281
3501
|
return ret;
|
|
3282
3502
|
},
|
|
3283
3503
|
__wbindgen_cast_000000000000000b: function(arg0, arg1) {
|
|
3284
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3285
|
-
const ret =
|
|
3504
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4444, function: Function { arguments: [String], shim_idx: 4445, ret: Unit, inner_ret: Some(Unit) }, mutable: false }) -> Externref`.
|
|
3505
|
+
const ret = makeClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__hd809ba2104dce3be, wasm_bindgen__convert__closures_____invoke__hb11eab9190fa9385);
|
|
3286
3506
|
return ret;
|
|
3287
3507
|
},
|
|
3288
3508
|
__wbindgen_cast_000000000000000c: function(arg0, arg1) {
|
|
3289
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3290
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3509
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4511, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 4512, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3510
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h788eb94be5c10650, wasm_bindgen__convert__closures_____invoke__h549f7ddd74327602);
|
|
3291
3511
|
return ret;
|
|
3292
3512
|
},
|
|
3293
3513
|
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
3294
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3295
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3514
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4663, function: Function { arguments: [Externref], shim_idx: 4664, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3515
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h41503ab709c8af95, wasm_bindgen__convert__closures_____invoke__hb901e6d890fc7df6);
|
|
3296
3516
|
return ret;
|
|
3297
3517
|
},
|
|
3298
3518
|
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
3299
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3300
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3519
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [Externref], shim_idx: 4747, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3520
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186);
|
|
3301
3521
|
return ret;
|
|
3302
3522
|
},
|
|
3303
3523
|
__wbindgen_cast_000000000000000f: function(arg0, arg1) {
|
|
3304
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3305
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3524
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [NamedExternref("Array<any>"), NamedExternref("ResizeObserver")], shim_idx: 4755, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3525
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h81d27409c27c1959);
|
|
3306
3526
|
return ret;
|
|
3307
3527
|
},
|
|
3308
3528
|
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
3309
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3310
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3529
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 4747, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3530
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_15);
|
|
3311
3531
|
return ret;
|
|
3312
3532
|
},
|
|
3313
3533
|
__wbindgen_cast_0000000000000011: function(arg0, arg1) {
|
|
3314
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3315
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3534
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [NamedExternref("Event")], shim_idx: 4747, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3535
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_16);
|
|
3316
3536
|
return ret;
|
|
3317
3537
|
},
|
|
3318
3538
|
__wbindgen_cast_0000000000000012: function(arg0, arg1) {
|
|
3319
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3320
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3539
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [NamedExternref("FocusEvent")], shim_idx: 4747, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3540
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_17);
|
|
3321
3541
|
return ret;
|
|
3322
3542
|
},
|
|
3323
3543
|
__wbindgen_cast_0000000000000013: function(arg0, arg1) {
|
|
3324
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3325
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3544
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [NamedExternref("KeyboardEvent")], shim_idx: 4747, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3545
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_18);
|
|
3326
3546
|
return ret;
|
|
3327
3547
|
},
|
|
3328
3548
|
__wbindgen_cast_0000000000000014: function(arg0, arg1) {
|
|
3329
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3330
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3549
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [NamedExternref("PageTransitionEvent")], shim_idx: 4747, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3550
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_19);
|
|
3331
3551
|
return ret;
|
|
3332
3552
|
},
|
|
3333
3553
|
__wbindgen_cast_0000000000000015: function(arg0, arg1) {
|
|
3334
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3335
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3554
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [NamedExternref("PointerEvent")], shim_idx: 4747, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3555
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_20);
|
|
3336
3556
|
return ret;
|
|
3337
3557
|
},
|
|
3338
3558
|
__wbindgen_cast_0000000000000016: function(arg0, arg1) {
|
|
3339
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3340
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3559
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [NamedExternref("WheelEvent")], shim_idx: 4747, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3560
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_21);
|
|
3341
3561
|
return ret;
|
|
3342
3562
|
},
|
|
3343
3563
|
__wbindgen_cast_0000000000000017: function(arg0, arg1) {
|
|
3344
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3345
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3564
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [Option(NamedExternref("Blob"))], shim_idx: 4758, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3565
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h164dda84a5e68923);
|
|
3346
3566
|
return ret;
|
|
3347
3567
|
},
|
|
3348
3568
|
__wbindgen_cast_0000000000000018: function(arg0, arg1) {
|
|
3349
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3350
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3569
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 4746, function: Function { arguments: [], shim_idx: 4760, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3570
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h401c85a5dc4f689e, wasm_bindgen__convert__closures_____invoke__h22f7f8bf18d68a3c);
|
|
3351
3571
|
return ret;
|
|
3352
3572
|
},
|
|
3353
3573
|
__wbindgen_cast_0000000000000019: function(arg0, arg1) {
|
|
3354
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3355
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3574
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5603, function: Function { arguments: [], shim_idx: 5604, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3575
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h2504b00990fec809, wasm_bindgen__convert__closures_____invoke__hcb86fb251f5bd754);
|
|
3356
3576
|
return ret;
|
|
3357
3577
|
},
|
|
3358
3578
|
__wbindgen_cast_000000000000001a: function(arg0, arg1) {
|
|
3359
|
-
// Cast intrinsic for `Closure(Closure { dtor_idx:
|
|
3360
|
-
const ret = makeMutClosure(arg0, arg1, wasm.
|
|
3579
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5629, function: Function { arguments: [Externref], shim_idx: 5630, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
3580
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h6f1d7755af5a834d, wasm_bindgen__convert__closures_____invoke__h8be819b8043379a0);
|
|
3361
3581
|
return ret;
|
|
3362
3582
|
},
|
|
3363
|
-
__wbindgen_cast_000000000000001b: function(arg0) {
|
|
3583
|
+
__wbindgen_cast_000000000000001b: function(arg0, arg1) {
|
|
3584
|
+
// Cast intrinsic for `Closure(Closure { dtor_idx: 5782, function: Function { arguments: [Externref], shim_idx: 5783, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
3585
|
+
const ret = makeMutClosure(arg0, arg1, wasm.wasm_bindgen__closure__destroy__h780a4b6abdc124b2, wasm_bindgen__convert__closures_____invoke__hc8bca67d3586a92f);
|
|
3586
|
+
return ret;
|
|
3587
|
+
},
|
|
3588
|
+
__wbindgen_cast_000000000000001c: function(arg0) {
|
|
3364
3589
|
// Cast intrinsic for `F64 -> Externref`.
|
|
3365
3590
|
const ret = arg0;
|
|
3366
3591
|
return ret;
|
|
3367
3592
|
},
|
|
3368
|
-
|
|
3593
|
+
__wbindgen_cast_000000000000001d: function(arg0, arg1) {
|
|
3369
3594
|
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
3370
3595
|
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
3371
3596
|
return ret;
|
|
3372
3597
|
},
|
|
3373
|
-
|
|
3598
|
+
__wbindgen_cast_000000000000001e: function(arg0, arg1) {
|
|
3374
3599
|
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
3375
3600
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
3376
3601
|
return ret;
|
|
@@ -3396,124 +3621,131 @@ function __wbg_get_imports() {
|
|
|
3396
3621
|
}
|
|
3397
3622
|
|
|
3398
3623
|
const lAudioContext = (typeof AudioContext !== 'undefined' ? AudioContext : (typeof webkitAudioContext !== 'undefined' ? webkitAudioContext : undefined));
|
|
3399
|
-
function
|
|
3400
|
-
wasm.
|
|
3624
|
+
function wasm_bindgen__convert__closures_____invoke__hbfcfb7f057cbec16(arg0, arg1) {
|
|
3625
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hbfcfb7f057cbec16(arg0, arg1);
|
|
3401
3626
|
}
|
|
3402
3627
|
|
|
3403
|
-
function
|
|
3404
|
-
wasm.
|
|
3628
|
+
function wasm_bindgen__convert__closures_____invoke__h22f7f8bf18d68a3c(arg0, arg1) {
|
|
3629
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h22f7f8bf18d68a3c(arg0, arg1);
|
|
3405
3630
|
}
|
|
3406
3631
|
|
|
3407
|
-
function
|
|
3408
|
-
wasm.
|
|
3632
|
+
function wasm_bindgen__convert__closures_____invoke__hcb86fb251f5bd754(arg0, arg1) {
|
|
3633
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hcb86fb251f5bd754(arg0, arg1);
|
|
3409
3634
|
}
|
|
3410
3635
|
|
|
3411
|
-
function
|
|
3412
|
-
wasm.
|
|
3636
|
+
function wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5(arg0, arg1, arg2) {
|
|
3637
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5(arg0, arg1, arg2);
|
|
3413
3638
|
}
|
|
3414
3639
|
|
|
3415
|
-
function
|
|
3416
|
-
wasm.
|
|
3640
|
+
function wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5_1(arg0, arg1, arg2) {
|
|
3641
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h172a54633ef89cf5_1(arg0, arg1, arg2);
|
|
3417
3642
|
}
|
|
3418
3643
|
|
|
3419
|
-
function
|
|
3420
|
-
wasm.
|
|
3644
|
+
function wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac(arg0, arg1, arg2) {
|
|
3645
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac(arg0, arg1, arg2);
|
|
3421
3646
|
}
|
|
3422
3647
|
|
|
3423
|
-
function
|
|
3424
|
-
wasm.
|
|
3648
|
+
function wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_6(arg0, arg1, arg2) {
|
|
3649
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_6(arg0, arg1, arg2);
|
|
3425
3650
|
}
|
|
3426
3651
|
|
|
3427
|
-
function
|
|
3428
|
-
wasm.
|
|
3652
|
+
function wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_7(arg0, arg1, arg2) {
|
|
3653
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_7(arg0, arg1, arg2);
|
|
3429
3654
|
}
|
|
3430
3655
|
|
|
3431
|
-
function
|
|
3432
|
-
wasm.
|
|
3656
|
+
function wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_8(arg0, arg1, arg2) {
|
|
3657
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h3406abafb95730ac_8(arg0, arg1, arg2);
|
|
3433
3658
|
}
|
|
3434
3659
|
|
|
3435
|
-
function
|
|
3436
|
-
wasm.
|
|
3660
|
+
function wasm_bindgen__convert__closures_____invoke__h549f7ddd74327602(arg0, arg1, arg2) {
|
|
3661
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h549f7ddd74327602(arg0, arg1, arg2);
|
|
3437
3662
|
}
|
|
3438
3663
|
|
|
3439
|
-
function
|
|
3440
|
-
wasm.
|
|
3664
|
+
function wasm_bindgen__convert__closures_____invoke__hb901e6d890fc7df6(arg0, arg1, arg2) {
|
|
3665
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb901e6d890fc7df6(arg0, arg1, arg2);
|
|
3441
3666
|
}
|
|
3442
3667
|
|
|
3443
|
-
function
|
|
3444
|
-
wasm.
|
|
3668
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186(arg0, arg1, arg2) {
|
|
3669
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186(arg0, arg1, arg2);
|
|
3445
3670
|
}
|
|
3446
3671
|
|
|
3447
|
-
function
|
|
3448
|
-
wasm.
|
|
3672
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_15(arg0, arg1, arg2) {
|
|
3673
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_15(arg0, arg1, arg2);
|
|
3449
3674
|
}
|
|
3450
3675
|
|
|
3451
|
-
function
|
|
3452
|
-
wasm.
|
|
3676
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_16(arg0, arg1, arg2) {
|
|
3677
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_16(arg0, arg1, arg2);
|
|
3453
3678
|
}
|
|
3454
3679
|
|
|
3455
|
-
function
|
|
3456
|
-
wasm.
|
|
3680
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_17(arg0, arg1, arg2) {
|
|
3681
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_17(arg0, arg1, arg2);
|
|
3457
3682
|
}
|
|
3458
3683
|
|
|
3459
|
-
function
|
|
3460
|
-
wasm.
|
|
3684
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_18(arg0, arg1, arg2) {
|
|
3685
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_18(arg0, arg1, arg2);
|
|
3461
3686
|
}
|
|
3462
3687
|
|
|
3463
|
-
function
|
|
3464
|
-
wasm.
|
|
3688
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_19(arg0, arg1, arg2) {
|
|
3689
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_19(arg0, arg1, arg2);
|
|
3465
3690
|
}
|
|
3466
3691
|
|
|
3467
|
-
function
|
|
3468
|
-
wasm.
|
|
3692
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_20(arg0, arg1, arg2) {
|
|
3693
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_20(arg0, arg1, arg2);
|
|
3469
3694
|
}
|
|
3470
3695
|
|
|
3471
|
-
function
|
|
3472
|
-
wasm.
|
|
3696
|
+
function wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_21(arg0, arg1, arg2) {
|
|
3697
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h47a1f4e9ed4c9186_21(arg0, arg1, arg2);
|
|
3473
3698
|
}
|
|
3474
3699
|
|
|
3475
|
-
function
|
|
3476
|
-
|
|
3700
|
+
function wasm_bindgen__convert__closures_____invoke__h8be819b8043379a0(arg0, arg1, arg2) {
|
|
3701
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h8be819b8043379a0(arg0, arg1, arg2);
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
function wasm_bindgen__convert__closures_____invoke__hc8bca67d3586a92f(arg0, arg1, arg2) {
|
|
3705
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__hc8bca67d3586a92f(arg0, arg1, arg2);
|
|
3477
3706
|
if (ret[1]) {
|
|
3478
3707
|
throw takeFromExternrefTable0(ret[0]);
|
|
3479
3708
|
}
|
|
3480
3709
|
}
|
|
3481
3710
|
|
|
3482
|
-
function
|
|
3483
|
-
wasm.
|
|
3711
|
+
function wasm_bindgen__convert__closures_____invoke__h5403ccc7e321a332(arg0, arg1, arg2, arg3) {
|
|
3712
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h5403ccc7e321a332(arg0, arg1, arg2, arg3);
|
|
3484
3713
|
}
|
|
3485
3714
|
|
|
3486
|
-
function
|
|
3487
|
-
wasm.
|
|
3715
|
+
function wasm_bindgen__convert__closures_____invoke__h81d27409c27c1959(arg0, arg1, arg2, arg3) {
|
|
3716
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h81d27409c27c1959(arg0, arg1, arg2, arg3);
|
|
3488
3717
|
}
|
|
3489
3718
|
|
|
3490
|
-
function
|
|
3491
|
-
wasm.
|
|
3719
|
+
function wasm_bindgen__convert__closures_____invoke__h4e1d18a25cb702b7(arg0, arg1, arg2, arg3) {
|
|
3720
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h4e1d18a25cb702b7(arg0, arg1, arg2, arg3);
|
|
3492
3721
|
}
|
|
3493
3722
|
|
|
3494
|
-
function
|
|
3495
|
-
wasm.
|
|
3723
|
+
function wasm_bindgen__convert__closures_____invoke__h164dda84a5e68923(arg0, arg1, arg2) {
|
|
3724
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h164dda84a5e68923(arg0, arg1, isLikeNone(arg2) ? 0 : addToExternrefTable0(arg2));
|
|
3496
3725
|
}
|
|
3497
3726
|
|
|
3498
|
-
function
|
|
3727
|
+
function wasm_bindgen__convert__closures_____invoke__hb11eab9190fa9385(arg0, arg1, arg2) {
|
|
3499
3728
|
const ptr0 = passStringToWasm0(arg2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3500
3729
|
const len0 = WASM_VECTOR_LEN;
|
|
3501
|
-
wasm.
|
|
3730
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb11eab9190fa9385(arg0, arg1, ptr0, len0);
|
|
3502
3731
|
}
|
|
3503
3732
|
|
|
3504
|
-
function
|
|
3733
|
+
function wasm_bindgen__convert__closures_____invoke__hb8ca66f61e41cce5(arg0, arg1, arg2, arg3, arg4) {
|
|
3505
3734
|
const ptr0 = passStringToWasm0(arg2, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3506
3735
|
const len0 = WASM_VECTOR_LEN;
|
|
3507
3736
|
const ptr1 = passStringToWasm0(arg3, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3508
3737
|
const len1 = WASM_VECTOR_LEN;
|
|
3509
|
-
wasm.
|
|
3738
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb8ca66f61e41cce5(arg0, arg1, ptr0, len0, ptr1, len1, arg4);
|
|
3510
3739
|
}
|
|
3511
3740
|
|
|
3512
|
-
function
|
|
3513
|
-
wasm.
|
|
3741
|
+
function wasm_bindgen__convert__closures_____invoke__hee217a849ef8cb8a(arg0, arg1, arg2, arg3, arg4) {
|
|
3742
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hee217a849ef8cb8a(arg0, arg1, arg2, arg3, arg4);
|
|
3514
3743
|
}
|
|
3515
3744
|
|
|
3516
3745
|
|
|
3746
|
+
const __wbindgen_enum_AudioContextState = ["suspended", "running", "closed"];
|
|
3747
|
+
|
|
3748
|
+
|
|
3517
3749
|
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
3518
3750
|
|
|
3519
3751
|
|