@lat-murmeldjur/weeb_3 0.0.295001
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/LICENSE +21 -0
- package/README.md +205 -0
- package/package.json +46 -0
- package/snippets/web3-0742d85b024bb6f5/inline0.js +1 -0
- package/weeb_3.d.ts +131 -0
- package/weeb_3.js +1921 -0
- package/weeb_3_bg.wasm +0 -0
- package/weeb_3_bg.wasm.d.ts +52 -0
package/weeb_3.js
ADDED
|
@@ -0,0 +1,1921 @@
|
|
|
1
|
+
/* @ts-self-types="./weeb_3.d.ts" */
|
|
2
|
+
import { get_provider_js } from './snippets/web3-0742d85b024bb6f5/inline0.js';
|
|
3
|
+
|
|
4
|
+
export class BootstrapNode {
|
|
5
|
+
static __unwrap(jsValue) {
|
|
6
|
+
if (!(jsValue instanceof BootstrapNode)) {
|
|
7
|
+
return 0;
|
|
8
|
+
}
|
|
9
|
+
return jsValue.__destroy_into_raw();
|
|
10
|
+
}
|
|
11
|
+
__destroy_into_raw() {
|
|
12
|
+
const ptr = this.__wbg_ptr;
|
|
13
|
+
this.__wbg_ptr = 0;
|
|
14
|
+
BootstrapNodeFinalization.unregister(this);
|
|
15
|
+
return ptr;
|
|
16
|
+
}
|
|
17
|
+
free() {
|
|
18
|
+
const ptr = this.__destroy_into_raw();
|
|
19
|
+
wasm.__wbg_bootstrapnode_free(ptr, 0);
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @returns {string}
|
|
23
|
+
*/
|
|
24
|
+
get multiaddr() {
|
|
25
|
+
let deferred1_0;
|
|
26
|
+
let deferred1_1;
|
|
27
|
+
try {
|
|
28
|
+
const ret = wasm.bootstrapnode_multiaddr(this.__wbg_ptr);
|
|
29
|
+
deferred1_0 = ret[0];
|
|
30
|
+
deferred1_1 = ret[1];
|
|
31
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
32
|
+
} finally {
|
|
33
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @param {string} multiaddr
|
|
38
|
+
* @param {boolean} usable
|
|
39
|
+
*/
|
|
40
|
+
constructor(multiaddr, usable) {
|
|
41
|
+
const ptr0 = passStringToWasm0(multiaddr, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
42
|
+
const len0 = WASM_VECTOR_LEN;
|
|
43
|
+
const ret = wasm.bootstrapnode_new(ptr0, len0, usable);
|
|
44
|
+
this.__wbg_ptr = ret >>> 0;
|
|
45
|
+
BootstrapNodeFinalization.register(this, this.__wbg_ptr, this);
|
|
46
|
+
return this;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @returns {boolean}
|
|
50
|
+
*/
|
|
51
|
+
get usable() {
|
|
52
|
+
const ret = wasm.bootstrapnode_usable(this.__wbg_ptr);
|
|
53
|
+
return ret !== 0;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
if (Symbol.dispose) BootstrapNode.prototype[Symbol.dispose] = BootstrapNode.prototype.free;
|
|
57
|
+
|
|
58
|
+
export class RequestArguments {
|
|
59
|
+
static __wrap(ptr) {
|
|
60
|
+
ptr = ptr >>> 0;
|
|
61
|
+
const obj = Object.create(RequestArguments.prototype);
|
|
62
|
+
obj.__wbg_ptr = ptr;
|
|
63
|
+
RequestArgumentsFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
64
|
+
return obj;
|
|
65
|
+
}
|
|
66
|
+
__destroy_into_raw() {
|
|
67
|
+
const ptr = this.__wbg_ptr;
|
|
68
|
+
this.__wbg_ptr = 0;
|
|
69
|
+
RequestArgumentsFinalization.unregister(this);
|
|
70
|
+
return ptr;
|
|
71
|
+
}
|
|
72
|
+
free() {
|
|
73
|
+
const ptr = this.__destroy_into_raw();
|
|
74
|
+
wasm.__wbg_requestarguments_free(ptr, 0);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* @returns {string}
|
|
78
|
+
*/
|
|
79
|
+
get method() {
|
|
80
|
+
let deferred1_0;
|
|
81
|
+
let deferred1_1;
|
|
82
|
+
try {
|
|
83
|
+
const ret = wasm.requestarguments_method(this.__wbg_ptr);
|
|
84
|
+
deferred1_0 = ret[0];
|
|
85
|
+
deferred1_1 = ret[1];
|
|
86
|
+
return getStringFromWasm0(ret[0], ret[1]);
|
|
87
|
+
} finally {
|
|
88
|
+
wasm.__wbindgen_free(deferred1_0, deferred1_1, 1);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @returns {Array<any>}
|
|
93
|
+
*/
|
|
94
|
+
get params() {
|
|
95
|
+
const ret = wasm.requestarguments_params(this.__wbg_ptr);
|
|
96
|
+
return ret;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
if (Symbol.dispose) RequestArguments.prototype[Symbol.dispose] = RequestArguments.prototype.free;
|
|
100
|
+
|
|
101
|
+
export class Sekirei {
|
|
102
|
+
static __wrap(ptr) {
|
|
103
|
+
ptr = ptr >>> 0;
|
|
104
|
+
const obj = Object.create(Sekirei.prototype);
|
|
105
|
+
obj.__wbg_ptr = ptr;
|
|
106
|
+
SekireiFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
107
|
+
return obj;
|
|
108
|
+
}
|
|
109
|
+
__destroy_into_raw() {
|
|
110
|
+
const ptr = this.__wbg_ptr;
|
|
111
|
+
this.__wbg_ptr = 0;
|
|
112
|
+
SekireiFinalization.unregister(this);
|
|
113
|
+
return ptr;
|
|
114
|
+
}
|
|
115
|
+
free() {
|
|
116
|
+
const ptr = this.__destroy_into_raw();
|
|
117
|
+
wasm.__wbg_sekirei_free(ptr, 0);
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @param {string} address
|
|
121
|
+
* @returns {Promise<Uint8Array>}
|
|
122
|
+
*/
|
|
123
|
+
acquire(address) {
|
|
124
|
+
const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
125
|
+
const len0 = WASM_VECTOR_LEN;
|
|
126
|
+
const ret = wasm.sekirei_acquire(this.__wbg_ptr, ptr0, len0);
|
|
127
|
+
return ret;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* @param {string} address
|
|
131
|
+
* @param {string} _id
|
|
132
|
+
* @param {boolean} usable_in_protocols
|
|
133
|
+
* @returns {Promise<Uint8Array>}
|
|
134
|
+
*/
|
|
135
|
+
change_bootnode_address(address, _id, usable_in_protocols) {
|
|
136
|
+
const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
137
|
+
const len0 = WASM_VECTOR_LEN;
|
|
138
|
+
const ptr1 = passStringToWasm0(_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
139
|
+
const len1 = WASM_VECTOR_LEN;
|
|
140
|
+
const ret = wasm.sekirei_change_bootnode_address(this.__wbg_ptr, ptr0, len0, ptr1, len1, usable_in_protocols);
|
|
141
|
+
return ret;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* @returns {Promise<bigint>}
|
|
145
|
+
*/
|
|
146
|
+
get_connections() {
|
|
147
|
+
const ret = wasm.sekirei_get_connections(this.__wbg_ptr);
|
|
148
|
+
return ret;
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @returns {Promise<string[]>}
|
|
152
|
+
*/
|
|
153
|
+
get_current_logs() {
|
|
154
|
+
const ret = wasm.sekirei_get_current_logs(this.__wbg_ptr);
|
|
155
|
+
return ret;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @returns {Promise<bigint>}
|
|
159
|
+
*/
|
|
160
|
+
get_ongoing_connections() {
|
|
161
|
+
const ret = wasm.sekirei_get_ongoing_connections(this.__wbg_ptr);
|
|
162
|
+
return ret;
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* @param {string} log0
|
|
166
|
+
*/
|
|
167
|
+
interface_log(log0) {
|
|
168
|
+
const ptr0 = passStringToWasm0(log0, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
169
|
+
const len0 = WASM_VECTOR_LEN;
|
|
170
|
+
wasm.sekirei_interface_log(this.__wbg_ptr, ptr0, len0);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* @param {string} _st
|
|
174
|
+
* @returns {Sekirei}
|
|
175
|
+
*/
|
|
176
|
+
static new(_st) {
|
|
177
|
+
const ptr0 = passStringToWasm0(_st, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
178
|
+
const len0 = WASM_VECTOR_LEN;
|
|
179
|
+
const ret = wasm.sekirei_new(ptr0, len0);
|
|
180
|
+
return Sekirei.__wrap(ret);
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* @param {Uint8Array} d
|
|
184
|
+
* @param {boolean} soc
|
|
185
|
+
* @param {Uint8Array} chunk_address
|
|
186
|
+
* @param {Uint8Array} stamp
|
|
187
|
+
* @returns {Promise<Uint8Array>}
|
|
188
|
+
*/
|
|
189
|
+
post_push_chunk(d, soc, chunk_address, stamp) {
|
|
190
|
+
const ptr0 = passArray8ToWasm0(d, wasm.__wbindgen_malloc);
|
|
191
|
+
const len0 = WASM_VECTOR_LEN;
|
|
192
|
+
const ptr1 = passArray8ToWasm0(chunk_address, wasm.__wbindgen_malloc);
|
|
193
|
+
const len1 = WASM_VECTOR_LEN;
|
|
194
|
+
const ptr2 = passArray8ToWasm0(stamp, wasm.__wbindgen_malloc);
|
|
195
|
+
const len2 = WASM_VECTOR_LEN;
|
|
196
|
+
const ret = wasm.sekirei_post_push_chunk(this.__wbg_ptr, ptr0, len0, soc, ptr1, len1, ptr2, len2);
|
|
197
|
+
return ret;
|
|
198
|
+
}
|
|
199
|
+
/**
|
|
200
|
+
* @param {File} file
|
|
201
|
+
* @param {boolean} encryption
|
|
202
|
+
* @param {string} index_string
|
|
203
|
+
* @param {boolean} add_to_feed
|
|
204
|
+
* @param {string} feed_topic
|
|
205
|
+
* @returns {Promise<Uint8Array>}
|
|
206
|
+
*/
|
|
207
|
+
post_upload(file, encryption, index_string, add_to_feed, feed_topic) {
|
|
208
|
+
const ptr0 = passStringToWasm0(index_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
209
|
+
const len0 = WASM_VECTOR_LEN;
|
|
210
|
+
const ptr1 = passStringToWasm0(feed_topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
211
|
+
const len1 = WASM_VECTOR_LEN;
|
|
212
|
+
const ret = wasm.sekirei_post_upload(this.__wbg_ptr, file, encryption, ptr0, len0, add_to_feed, ptr1, len1);
|
|
213
|
+
return ret;
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* @returns {Promise<Uint8Array>}
|
|
217
|
+
*/
|
|
218
|
+
reset_stamp() {
|
|
219
|
+
const ret = wasm.sekirei_reset_stamp(this.__wbg_ptr);
|
|
220
|
+
return ret;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* @param {string} _st
|
|
224
|
+
* @returns {Promise<void>}
|
|
225
|
+
*/
|
|
226
|
+
run(_st) {
|
|
227
|
+
const ptr0 = passStringToWasm0(_st, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
228
|
+
const len0 = WASM_VECTOR_LEN;
|
|
229
|
+
const ret = wasm.sekirei_run(this.__wbg_ptr, ptr0, len0);
|
|
230
|
+
return ret;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
if (Symbol.dispose) Sekirei.prototype[Symbol.dispose] = Sekirei.prototype.free;
|
|
234
|
+
|
|
235
|
+
export class SekireiNo103 {
|
|
236
|
+
__destroy_into_raw() {
|
|
237
|
+
const ptr = this.__wbg_ptr;
|
|
238
|
+
this.__wbg_ptr = 0;
|
|
239
|
+
SekireiNo103Finalization.unregister(this);
|
|
240
|
+
return ptr;
|
|
241
|
+
}
|
|
242
|
+
free() {
|
|
243
|
+
const ptr = this.__destroy_into_raw();
|
|
244
|
+
wasm.__wbg_sekireino103_free(ptr, 0);
|
|
245
|
+
}
|
|
246
|
+
constructor() {
|
|
247
|
+
const ret = wasm.sekireino103_new();
|
|
248
|
+
this.__wbg_ptr = ret >>> 0;
|
|
249
|
+
SekireiNo103Finalization.register(this, this.__wbg_ptr, this);
|
|
250
|
+
return this;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* @param {Uint8Array} data
|
|
254
|
+
* @param {boolean} soc
|
|
255
|
+
* @param {Uint8Array} chunk_address
|
|
256
|
+
* @param {Uint8Array} stamp
|
|
257
|
+
* @returns {Promise<string>}
|
|
258
|
+
*/
|
|
259
|
+
postPushChunk(data, soc, chunk_address, stamp) {
|
|
260
|
+
const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
|
|
261
|
+
const len0 = WASM_VECTOR_LEN;
|
|
262
|
+
const ptr1 = passArray8ToWasm0(chunk_address, wasm.__wbindgen_malloc);
|
|
263
|
+
const len1 = WASM_VECTOR_LEN;
|
|
264
|
+
const ptr2 = passArray8ToWasm0(stamp, wasm.__wbindgen_malloc);
|
|
265
|
+
const len2 = WASM_VECTOR_LEN;
|
|
266
|
+
const ret = wasm.sekireino103_postPushChunk(this.__wbg_ptr, ptr0, len0, soc, ptr1, len1, ptr2, len2);
|
|
267
|
+
return ret;
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* @returns {Promise<object>}
|
|
271
|
+
*/
|
|
272
|
+
resetStamp() {
|
|
273
|
+
const ret = wasm.sekireino103_resetStamp(this.__wbg_ptr);
|
|
274
|
+
return ret;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* @param {string} address
|
|
278
|
+
* @returns {Promise<Array<any>>}
|
|
279
|
+
*/
|
|
280
|
+
retrieve(address) {
|
|
281
|
+
const ptr0 = passStringToWasm0(address, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
282
|
+
const len0 = WASM_VECTOR_LEN;
|
|
283
|
+
const ret = wasm.sekireino103_retrieve(this.__wbg_ptr, ptr0, len0);
|
|
284
|
+
return ret;
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* @param {BootstrapNode[]} bootstrap_nodes
|
|
288
|
+
* @param {string} network_id
|
|
289
|
+
*/
|
|
290
|
+
start(bootstrap_nodes, network_id) {
|
|
291
|
+
const ptr0 = passArrayJsValueToWasm0(bootstrap_nodes, wasm.__wbindgen_malloc);
|
|
292
|
+
const len0 = WASM_VECTOR_LEN;
|
|
293
|
+
const ptr1 = passStringToWasm0(network_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
294
|
+
const len1 = WASM_VECTOR_LEN;
|
|
295
|
+
wasm.sekireino103_start(this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* @param {File} file
|
|
299
|
+
* @param {boolean} encryption
|
|
300
|
+
* @param {string} index_string
|
|
301
|
+
* @param {boolean} add_to_feed
|
|
302
|
+
* @param {string} feed_topic
|
|
303
|
+
* @returns {Promise<object>}
|
|
304
|
+
*/
|
|
305
|
+
upload(file, encryption, index_string, add_to_feed, feed_topic) {
|
|
306
|
+
const ptr0 = passStringToWasm0(index_string, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
307
|
+
const len0 = WASM_VECTOR_LEN;
|
|
308
|
+
const ptr1 = passStringToWasm0(feed_topic, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
309
|
+
const len1 = WASM_VECTOR_LEN;
|
|
310
|
+
const ret = wasm.sekireino103_upload(this.__wbg_ptr, file, encryption, ptr0, len0, add_to_feed, ptr1, len1);
|
|
311
|
+
return ret;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
if (Symbol.dispose) SekireiNo103.prototype[Symbol.dispose] = SekireiNo103.prototype.free;
|
|
315
|
+
|
|
316
|
+
export class Wings {
|
|
317
|
+
__destroy_into_raw() {
|
|
318
|
+
const ptr = this.__wbg_ptr;
|
|
319
|
+
this.__wbg_ptr = 0;
|
|
320
|
+
WingsFinalization.unregister(this);
|
|
321
|
+
return ptr;
|
|
322
|
+
}
|
|
323
|
+
free() {
|
|
324
|
+
const ptr = this.__destroy_into_raw();
|
|
325
|
+
wasm.__wbg_wings_free(ptr, 0);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
if (Symbol.dispose) Wings.prototype[Symbol.dispose] = Wings.prototype.free;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* @param {string} _st
|
|
332
|
+
* @returns {Promise<void>}
|
|
333
|
+
*/
|
|
334
|
+
export function interweeb(_st) {
|
|
335
|
+
const ptr0 = passStringToWasm0(_st, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
336
|
+
const len0 = WASM_VECTOR_LEN;
|
|
337
|
+
const ret = wasm.interweeb(ptr0, len0);
|
|
338
|
+
return ret;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
function __wbg_get_imports() {
|
|
342
|
+
const import0 = {
|
|
343
|
+
__proto__: null,
|
|
344
|
+
__wbg_Error_2e59b1b37a9a34c3: function(arg0, arg1) {
|
|
345
|
+
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
346
|
+
return ret;
|
|
347
|
+
},
|
|
348
|
+
__wbg_Number_e6ffdb596c888833: function(arg0) {
|
|
349
|
+
const ret = Number(arg0);
|
|
350
|
+
return ret;
|
|
351
|
+
},
|
|
352
|
+
__wbg_String_8564e559799eccda: function(arg0, arg1) {
|
|
353
|
+
const ret = String(arg1);
|
|
354
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
355
|
+
const len1 = WASM_VECTOR_LEN;
|
|
356
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
357
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
358
|
+
},
|
|
359
|
+
__wbg_Window_70131fc0c91e4b3c: function(arg0) {
|
|
360
|
+
const ret = arg0.Window;
|
|
361
|
+
return ret;
|
|
362
|
+
},
|
|
363
|
+
__wbg_WorkerGlobalScope_601c48015b8cc78e: function(arg0) {
|
|
364
|
+
const ret = arg0.WorkerGlobalScope;
|
|
365
|
+
return ret;
|
|
366
|
+
},
|
|
367
|
+
__wbg_WorkerGlobalScope_b4478a9b327693d5: function(arg0) {
|
|
368
|
+
const ret = arg0.WorkerGlobalScope;
|
|
369
|
+
return ret;
|
|
370
|
+
},
|
|
371
|
+
__wbg___wbindgen_bigint_get_as_i64_2c5082002e4826e2: function(arg0, arg1) {
|
|
372
|
+
const v = arg1;
|
|
373
|
+
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
374
|
+
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
375
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
376
|
+
},
|
|
377
|
+
__wbg___wbindgen_boolean_get_a86c216575a75c30: function(arg0) {
|
|
378
|
+
const v = arg0;
|
|
379
|
+
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
380
|
+
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
381
|
+
},
|
|
382
|
+
__wbg___wbindgen_debug_string_dd5d2d07ce9e6c57: function(arg0, arg1) {
|
|
383
|
+
const ret = debugString(arg1);
|
|
384
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
385
|
+
const len1 = WASM_VECTOR_LEN;
|
|
386
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
387
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
388
|
+
},
|
|
389
|
+
__wbg___wbindgen_in_4bd7a57e54337366: function(arg0, arg1) {
|
|
390
|
+
const ret = arg0 in arg1;
|
|
391
|
+
return ret;
|
|
392
|
+
},
|
|
393
|
+
__wbg___wbindgen_is_bigint_6c98f7e945dacdde: function(arg0) {
|
|
394
|
+
const ret = typeof(arg0) === 'bigint';
|
|
395
|
+
return ret;
|
|
396
|
+
},
|
|
397
|
+
__wbg___wbindgen_is_function_49868bde5eb1e745: function(arg0) {
|
|
398
|
+
const ret = typeof(arg0) === 'function';
|
|
399
|
+
return ret;
|
|
400
|
+
},
|
|
401
|
+
__wbg___wbindgen_is_null_344c8750a8525473: function(arg0) {
|
|
402
|
+
const ret = arg0 === null;
|
|
403
|
+
return ret;
|
|
404
|
+
},
|
|
405
|
+
__wbg___wbindgen_is_object_40c5a80572e8f9d3: function(arg0) {
|
|
406
|
+
const val = arg0;
|
|
407
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
408
|
+
return ret;
|
|
409
|
+
},
|
|
410
|
+
__wbg___wbindgen_is_string_b29b5c5a8065ba1a: function(arg0) {
|
|
411
|
+
const ret = typeof(arg0) === 'string';
|
|
412
|
+
return ret;
|
|
413
|
+
},
|
|
414
|
+
__wbg___wbindgen_is_undefined_c0cca72b82b86f4d: function(arg0) {
|
|
415
|
+
const ret = arg0 === undefined;
|
|
416
|
+
return ret;
|
|
417
|
+
},
|
|
418
|
+
__wbg___wbindgen_jsval_eq_7d430e744a913d26: function(arg0, arg1) {
|
|
419
|
+
const ret = arg0 === arg1;
|
|
420
|
+
return ret;
|
|
421
|
+
},
|
|
422
|
+
__wbg___wbindgen_jsval_loose_eq_3a72ae764d46d944: function(arg0, arg1) {
|
|
423
|
+
const ret = arg0 == arg1;
|
|
424
|
+
return ret;
|
|
425
|
+
},
|
|
426
|
+
__wbg___wbindgen_number_get_7579aab02a8a620c: function(arg0, arg1) {
|
|
427
|
+
const obj = arg1;
|
|
428
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
429
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
430
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
431
|
+
},
|
|
432
|
+
__wbg___wbindgen_string_get_914df97fcfa788f2: function(arg0, arg1) {
|
|
433
|
+
const obj = arg1;
|
|
434
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
435
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
436
|
+
var len1 = WASM_VECTOR_LEN;
|
|
437
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
438
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
439
|
+
},
|
|
440
|
+
__wbg___wbindgen_throw_81fc77679af83bc6: function(arg0, arg1) {
|
|
441
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
442
|
+
},
|
|
443
|
+
__wbg__wbg_cb_unref_3c3b4f651835fbcb: function(arg0) {
|
|
444
|
+
arg0._wbg_cb_unref();
|
|
445
|
+
},
|
|
446
|
+
__wbg_abort_5ee4083ce26e0b01: function(arg0) {
|
|
447
|
+
arg0.abort();
|
|
448
|
+
},
|
|
449
|
+
__wbg_abort_cfab06d16d2d33a6: function() { return handleError(function (arg0) {
|
|
450
|
+
arg0.abort();
|
|
451
|
+
}, arguments); },
|
|
452
|
+
__wbg_active_1dd39ac090fb74a8: function(arg0) {
|
|
453
|
+
const ret = arg0.active;
|
|
454
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
455
|
+
},
|
|
456
|
+
__wbg_addEventListener_83ef16da0995f634: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
457
|
+
arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
458
|
+
}, arguments); },
|
|
459
|
+
__wbg_alert_fe5b1df60bec6592: function() { return handleError(function (arg0, arg1, arg2) {
|
|
460
|
+
arg0.alert(getStringFromWasm0(arg1, arg2));
|
|
461
|
+
}, arguments); },
|
|
462
|
+
__wbg_append_c015600138ae60bb: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
463
|
+
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
464
|
+
}, arguments); },
|
|
465
|
+
__wbg_arrayBuffer_7bba74066875530e: function(arg0) {
|
|
466
|
+
const ret = arg0.arrayBuffer();
|
|
467
|
+
return ret;
|
|
468
|
+
},
|
|
469
|
+
__wbg_arrayBuffer_dae084a298aa5fe0: function() { return handleError(function (arg0) {
|
|
470
|
+
const ret = arg0.arrayBuffer();
|
|
471
|
+
return ret;
|
|
472
|
+
}, arguments); },
|
|
473
|
+
__wbg_bootstrapnode_unwrap: function(arg0) {
|
|
474
|
+
const ret = BootstrapNode.__unwrap(arg0);
|
|
475
|
+
return ret;
|
|
476
|
+
},
|
|
477
|
+
__wbg_bound_88db1072ea68e901: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
478
|
+
const ret = IDBKeyRange.bound(arg0, arg1, arg2 !== 0, arg3 !== 0);
|
|
479
|
+
return ret;
|
|
480
|
+
}, arguments); },
|
|
481
|
+
__wbg_bufferedAmount_22f5c8c3d56b8df6: function(arg0) {
|
|
482
|
+
const ret = arg0.bufferedAmount;
|
|
483
|
+
return ret;
|
|
484
|
+
},
|
|
485
|
+
__wbg_call_7f2987183bb62793: function() { return handleError(function (arg0, arg1) {
|
|
486
|
+
const ret = arg0.call(arg1);
|
|
487
|
+
return ret;
|
|
488
|
+
}, arguments); },
|
|
489
|
+
__wbg_call_d578befcc3145dee: function() { return handleError(function (arg0, arg1, arg2) {
|
|
490
|
+
const ret = arg0.call(arg1, arg2);
|
|
491
|
+
return ret;
|
|
492
|
+
}, arguments); },
|
|
493
|
+
__wbg_checked_65962e3958007db9: function(arg0) {
|
|
494
|
+
const ret = arg0.checked;
|
|
495
|
+
return ret;
|
|
496
|
+
},
|
|
497
|
+
__wbg_clearInterval_67d546a614ec27a1: function(arg0, arg1) {
|
|
498
|
+
arg0.clearInterval(arg1);
|
|
499
|
+
},
|
|
500
|
+
__wbg_clearInterval_c7f2b17b895f0bc4: function(arg0, arg1) {
|
|
501
|
+
arg0.clearInterval(arg1);
|
|
502
|
+
},
|
|
503
|
+
__wbg_clearTimeout_01406e55473040f6: function(arg0) {
|
|
504
|
+
const ret = clearTimeout(arg0);
|
|
505
|
+
return ret;
|
|
506
|
+
},
|
|
507
|
+
__wbg_clearTimeout_113b1cde814ec762: function(arg0) {
|
|
508
|
+
const ret = clearTimeout(arg0);
|
|
509
|
+
return ret;
|
|
510
|
+
},
|
|
511
|
+
__wbg_close_040c0e5be6c74f11: function(arg0) {
|
|
512
|
+
arg0.close();
|
|
513
|
+
},
|
|
514
|
+
__wbg_close_3e4a7f6f4f053e99: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
515
|
+
arg0.close(arg1, getStringFromWasm0(arg2, arg3));
|
|
516
|
+
}, arguments); },
|
|
517
|
+
__wbg_commit_e9c1332714c53826: function() { return handleError(function (arg0) {
|
|
518
|
+
arg0.commit();
|
|
519
|
+
}, arguments); },
|
|
520
|
+
__wbg_confirm_00c6b3648d09534c: function() { return handleError(function (arg0, arg1, arg2) {
|
|
521
|
+
const ret = arg0.confirm(getStringFromWasm0(arg1, arg2));
|
|
522
|
+
return ret;
|
|
523
|
+
}, arguments); },
|
|
524
|
+
__wbg_createElement_8640e331213b402e: function() { return handleError(function (arg0, arg1, arg2) {
|
|
525
|
+
const ret = arg0.createElement(getStringFromWasm0(arg1, arg2));
|
|
526
|
+
return ret;
|
|
527
|
+
}, arguments); },
|
|
528
|
+
__wbg_createObjectStore_6e567b25160be2fa: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
529
|
+
const ret = arg0.createObjectStore(getStringFromWasm0(arg1, arg2), arg3);
|
|
530
|
+
return ret;
|
|
531
|
+
}, arguments); },
|
|
532
|
+
__wbg_createObjectURL_470fa06cc4a9e8f0: function() { return handleError(function (arg0, arg1) {
|
|
533
|
+
const ret = URL.createObjectURL(arg1);
|
|
534
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
535
|
+
const len1 = WASM_VECTOR_LEN;
|
|
536
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
537
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
538
|
+
}, arguments); },
|
|
539
|
+
__wbg_crypto_38df2bab126b63dc: function(arg0) {
|
|
540
|
+
const ret = arg0.crypto;
|
|
541
|
+
return ret;
|
|
542
|
+
},
|
|
543
|
+
__wbg_data_60b50110c5bd9349: function(arg0) {
|
|
544
|
+
const ret = arg0.data;
|
|
545
|
+
return ret;
|
|
546
|
+
},
|
|
547
|
+
__wbg_deleteDatabase_107758393aeef1ba: function() { return handleError(function (arg0, arg1, arg2) {
|
|
548
|
+
const ret = arg0.deleteDatabase(getStringFromWasm0(arg1, arg2));
|
|
549
|
+
return ret;
|
|
550
|
+
}, arguments); },
|
|
551
|
+
__wbg_document_a28a21ae315de4ea: function(arg0) {
|
|
552
|
+
const ret = arg0.document;
|
|
553
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
554
|
+
},
|
|
555
|
+
__wbg_done_547d467e97529006: function(arg0) {
|
|
556
|
+
const ret = arg0.done;
|
|
557
|
+
return ret;
|
|
558
|
+
},
|
|
559
|
+
__wbg_entries_616b1a459b85be0b: function(arg0) {
|
|
560
|
+
const ret = Object.entries(arg0);
|
|
561
|
+
return ret;
|
|
562
|
+
},
|
|
563
|
+
__wbg_error_38bec0a78dd8ded8: function(arg0) {
|
|
564
|
+
console.error(arg0);
|
|
565
|
+
},
|
|
566
|
+
__wbg_error_58469b8474e13592: function() { return handleError(function (arg0) {
|
|
567
|
+
const ret = arg0.error;
|
|
568
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
569
|
+
}, arguments); },
|
|
570
|
+
__wbg_fetch_1a731e18c5e21884: function(arg0, arg1) {
|
|
571
|
+
const ret = arg0.fetch(arg1);
|
|
572
|
+
return ret;
|
|
573
|
+
},
|
|
574
|
+
__wbg_fetch_fda7bc27c982b1f3: function(arg0) {
|
|
575
|
+
const ret = fetch(arg0);
|
|
576
|
+
return ret;
|
|
577
|
+
},
|
|
578
|
+
__wbg_files_becc181f99e4c14c: function(arg0) {
|
|
579
|
+
const ret = arg0.files;
|
|
580
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
581
|
+
},
|
|
582
|
+
__wbg_from_741da0f916ab74aa: function(arg0) {
|
|
583
|
+
const ret = Array.from(arg0);
|
|
584
|
+
return ret;
|
|
585
|
+
},
|
|
586
|
+
__wbg_getElementById_1a2b69d69d3a074f: function(arg0, arg1, arg2) {
|
|
587
|
+
const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
|
|
588
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
589
|
+
},
|
|
590
|
+
__wbg_getRandomValues_3f44b700395062e5: function() { return handleError(function (arg0, arg1) {
|
|
591
|
+
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
592
|
+
}, arguments); },
|
|
593
|
+
__wbg_getRandomValues_c44a50d8cfdaebeb: function() { return handleError(function (arg0, arg1) {
|
|
594
|
+
arg0.getRandomValues(arg1);
|
|
595
|
+
}, arguments); },
|
|
596
|
+
__wbg_getRegistration_93e22e8ba486546a: function(arg0) {
|
|
597
|
+
const ret = arg0.getRegistration();
|
|
598
|
+
return ret;
|
|
599
|
+
},
|
|
600
|
+
__wbg_get_4848e350b40afc16: function(arg0, arg1) {
|
|
601
|
+
const ret = arg0[arg1 >>> 0];
|
|
602
|
+
return ret;
|
|
603
|
+
},
|
|
604
|
+
__wbg_get_560cb483e5c0133e: function() { return handleError(function (arg0, arg1) {
|
|
605
|
+
const ret = arg0.get(arg1);
|
|
606
|
+
return ret;
|
|
607
|
+
}, arguments); },
|
|
608
|
+
__wbg_get_ed0642c4b9d31ddf: function() { return handleError(function (arg0, arg1) {
|
|
609
|
+
const ret = Reflect.get(arg0, arg1);
|
|
610
|
+
return ret;
|
|
611
|
+
}, arguments); },
|
|
612
|
+
__wbg_get_f96702c6245e4ef9: function() { return handleError(function (arg0, arg1) {
|
|
613
|
+
const ret = Reflect.get(arg0, arg1);
|
|
614
|
+
return ret;
|
|
615
|
+
}, arguments); },
|
|
616
|
+
__wbg_get_provider_js_92bb8eb887ed425c: function() { return handleError(function () {
|
|
617
|
+
const ret = get_provider_js();
|
|
618
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
619
|
+
}, arguments); },
|
|
620
|
+
__wbg_get_unchecked_7d7babe32e9e6a54: function(arg0, arg1) {
|
|
621
|
+
const ret = arg0[arg1 >>> 0];
|
|
622
|
+
return ret;
|
|
623
|
+
},
|
|
624
|
+
__wbg_get_with_ref_key_6412cf3094599694: function(arg0, arg1) {
|
|
625
|
+
const ret = arg0[arg1];
|
|
626
|
+
return ret;
|
|
627
|
+
},
|
|
628
|
+
__wbg_global_e30ac0b7684506d0: function(arg0) {
|
|
629
|
+
const ret = arg0.global;
|
|
630
|
+
return ret;
|
|
631
|
+
},
|
|
632
|
+
__wbg_has_3ec5c22db2e5237a: function() { return handleError(function (arg0, arg1) {
|
|
633
|
+
const ret = Reflect.has(arg0, arg1);
|
|
634
|
+
return ret;
|
|
635
|
+
}, arguments); },
|
|
636
|
+
__wbg_headers_e08dcb5aa09b9a63: function(arg0) {
|
|
637
|
+
const ret = arg0.headers;
|
|
638
|
+
return ret;
|
|
639
|
+
},
|
|
640
|
+
__wbg_history_e0fde1755ec7a020: function() { return handleError(function (arg0) {
|
|
641
|
+
const ret = arg0.history;
|
|
642
|
+
return ret;
|
|
643
|
+
}, arguments); },
|
|
644
|
+
__wbg_href_e111373f8d7ae763: function() { return handleError(function (arg0, arg1) {
|
|
645
|
+
const ret = arg1.href;
|
|
646
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
647
|
+
const len1 = WASM_VECTOR_LEN;
|
|
648
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
649
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
650
|
+
}, arguments); },
|
|
651
|
+
__wbg_indexedDB_065ce3ad400579e3: function() { return handleError(function (arg0) {
|
|
652
|
+
const ret = arg0.indexedDB;
|
|
653
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
654
|
+
}, arguments); },
|
|
655
|
+
__wbg_indexedDB_a2139150e2ea2a08: function() { return handleError(function (arg0) {
|
|
656
|
+
const ret = arg0.indexedDB;
|
|
657
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
658
|
+
}, arguments); },
|
|
659
|
+
__wbg_indexedDB_af74cb6df65fa636: function() { return handleError(function (arg0) {
|
|
660
|
+
const ret = arg0.indexedDB;
|
|
661
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
662
|
+
}, arguments); },
|
|
663
|
+
__wbg_instanceof_ArrayBuffer_ff7c1337a5e3b33a: function(arg0) {
|
|
664
|
+
let result;
|
|
665
|
+
try {
|
|
666
|
+
result = arg0 instanceof ArrayBuffer;
|
|
667
|
+
} catch (_) {
|
|
668
|
+
result = false;
|
|
669
|
+
}
|
|
670
|
+
const ret = result;
|
|
671
|
+
return ret;
|
|
672
|
+
},
|
|
673
|
+
__wbg_instanceof_DomException_37f96d3fb69189bd: function(arg0) {
|
|
674
|
+
let result;
|
|
675
|
+
try {
|
|
676
|
+
result = arg0 instanceof DOMException;
|
|
677
|
+
} catch (_) {
|
|
678
|
+
result = false;
|
|
679
|
+
}
|
|
680
|
+
const ret = result;
|
|
681
|
+
return ret;
|
|
682
|
+
},
|
|
683
|
+
__wbg_instanceof_Error_e3390d6805733dad: function(arg0) {
|
|
684
|
+
let result;
|
|
685
|
+
try {
|
|
686
|
+
result = arg0 instanceof Error;
|
|
687
|
+
} catch (_) {
|
|
688
|
+
result = false;
|
|
689
|
+
}
|
|
690
|
+
const ret = result;
|
|
691
|
+
return ret;
|
|
692
|
+
},
|
|
693
|
+
__wbg_instanceof_File_f48a30500b43b096: function(arg0) {
|
|
694
|
+
let result;
|
|
695
|
+
try {
|
|
696
|
+
result = arg0 instanceof File;
|
|
697
|
+
} catch (_) {
|
|
698
|
+
result = false;
|
|
699
|
+
}
|
|
700
|
+
const ret = result;
|
|
701
|
+
return ret;
|
|
702
|
+
},
|
|
703
|
+
__wbg_instanceof_HtmlButtonElement_94e31ca453766121: function(arg0) {
|
|
704
|
+
let result;
|
|
705
|
+
try {
|
|
706
|
+
result = arg0 instanceof HTMLButtonElement;
|
|
707
|
+
} catch (_) {
|
|
708
|
+
result = false;
|
|
709
|
+
}
|
|
710
|
+
const ret = result;
|
|
711
|
+
return ret;
|
|
712
|
+
},
|
|
713
|
+
__wbg_instanceof_HtmlElement_43b8bbfdb4aaefd5: function(arg0) {
|
|
714
|
+
let result;
|
|
715
|
+
try {
|
|
716
|
+
result = arg0 instanceof HTMLElement;
|
|
717
|
+
} catch (_) {
|
|
718
|
+
result = false;
|
|
719
|
+
}
|
|
720
|
+
const ret = result;
|
|
721
|
+
return ret;
|
|
722
|
+
},
|
|
723
|
+
__wbg_instanceof_HtmlInputElement_ed700e6a857d360a: function(arg0) {
|
|
724
|
+
let result;
|
|
725
|
+
try {
|
|
726
|
+
result = arg0 instanceof HTMLInputElement;
|
|
727
|
+
} catch (_) {
|
|
728
|
+
result = false;
|
|
729
|
+
}
|
|
730
|
+
const ret = result;
|
|
731
|
+
return ret;
|
|
732
|
+
},
|
|
733
|
+
__wbg_instanceof_HtmlSelectElement_feb06e3a70c5282d: function(arg0) {
|
|
734
|
+
let result;
|
|
735
|
+
try {
|
|
736
|
+
result = arg0 instanceof HTMLSelectElement;
|
|
737
|
+
} catch (_) {
|
|
738
|
+
result = false;
|
|
739
|
+
}
|
|
740
|
+
const ret = result;
|
|
741
|
+
return ret;
|
|
742
|
+
},
|
|
743
|
+
__wbg_instanceof_HtmlSpanElement_24feb74016652b5e: function(arg0) {
|
|
744
|
+
let result;
|
|
745
|
+
try {
|
|
746
|
+
result = arg0 instanceof HTMLSpanElement;
|
|
747
|
+
} catch (_) {
|
|
748
|
+
result = false;
|
|
749
|
+
}
|
|
750
|
+
const ret = result;
|
|
751
|
+
return ret;
|
|
752
|
+
},
|
|
753
|
+
__wbg_instanceof_IdbDatabase_0af111edb4be95f4: function(arg0) {
|
|
754
|
+
let result;
|
|
755
|
+
try {
|
|
756
|
+
result = arg0 instanceof IDBDatabase;
|
|
757
|
+
} catch (_) {
|
|
758
|
+
result = false;
|
|
759
|
+
}
|
|
760
|
+
const ret = result;
|
|
761
|
+
return ret;
|
|
762
|
+
},
|
|
763
|
+
__wbg_instanceof_IdbRequest_fc5918c726448f04: function(arg0) {
|
|
764
|
+
let result;
|
|
765
|
+
try {
|
|
766
|
+
result = arg0 instanceof IDBRequest;
|
|
767
|
+
} catch (_) {
|
|
768
|
+
result = false;
|
|
769
|
+
}
|
|
770
|
+
const ret = result;
|
|
771
|
+
return ret;
|
|
772
|
+
},
|
|
773
|
+
__wbg_instanceof_Map_a10a2795ef4bfe97: function(arg0) {
|
|
774
|
+
let result;
|
|
775
|
+
try {
|
|
776
|
+
result = arg0 instanceof Map;
|
|
777
|
+
} catch (_) {
|
|
778
|
+
result = false;
|
|
779
|
+
}
|
|
780
|
+
const ret = result;
|
|
781
|
+
return ret;
|
|
782
|
+
},
|
|
783
|
+
__wbg_instanceof_MessagePort_773e7871fc10429d: function(arg0) {
|
|
784
|
+
let result;
|
|
785
|
+
try {
|
|
786
|
+
result = arg0 instanceof MessagePort;
|
|
787
|
+
} catch (_) {
|
|
788
|
+
result = false;
|
|
789
|
+
}
|
|
790
|
+
const ret = result;
|
|
791
|
+
return ret;
|
|
792
|
+
},
|
|
793
|
+
__wbg_instanceof_Object_72ee0c53dd8f0726: function(arg0) {
|
|
794
|
+
let result;
|
|
795
|
+
try {
|
|
796
|
+
result = arg0 instanceof Object;
|
|
797
|
+
} catch (_) {
|
|
798
|
+
result = false;
|
|
799
|
+
}
|
|
800
|
+
const ret = result;
|
|
801
|
+
return ret;
|
|
802
|
+
},
|
|
803
|
+
__wbg_instanceof_Promise_95d523058012a13d: function(arg0) {
|
|
804
|
+
let result;
|
|
805
|
+
try {
|
|
806
|
+
result = arg0 instanceof Promise;
|
|
807
|
+
} catch (_) {
|
|
808
|
+
result = false;
|
|
809
|
+
}
|
|
810
|
+
const ret = result;
|
|
811
|
+
return ret;
|
|
812
|
+
},
|
|
813
|
+
__wbg_instanceof_Response_06795eab66cc4036: function(arg0) {
|
|
814
|
+
let result;
|
|
815
|
+
try {
|
|
816
|
+
result = arg0 instanceof Response;
|
|
817
|
+
} catch (_) {
|
|
818
|
+
result = false;
|
|
819
|
+
}
|
|
820
|
+
const ret = result;
|
|
821
|
+
return ret;
|
|
822
|
+
},
|
|
823
|
+
__wbg_instanceof_ServiceWorkerRegistration_3e562d4326d9735d: function(arg0) {
|
|
824
|
+
let result;
|
|
825
|
+
try {
|
|
826
|
+
result = arg0 instanceof ServiceWorkerRegistration;
|
|
827
|
+
} catch (_) {
|
|
828
|
+
result = false;
|
|
829
|
+
}
|
|
830
|
+
const ret = result;
|
|
831
|
+
return ret;
|
|
832
|
+
},
|
|
833
|
+
__wbg_instanceof_Uint8Array_4b8da683deb25d72: function(arg0) {
|
|
834
|
+
let result;
|
|
835
|
+
try {
|
|
836
|
+
result = arg0 instanceof Uint8Array;
|
|
837
|
+
} catch (_) {
|
|
838
|
+
result = false;
|
|
839
|
+
}
|
|
840
|
+
const ret = result;
|
|
841
|
+
return ret;
|
|
842
|
+
},
|
|
843
|
+
__wbg_instanceof_Window_c0fee4c064502536: function(arg0) {
|
|
844
|
+
let result;
|
|
845
|
+
try {
|
|
846
|
+
result = arg0 instanceof Window;
|
|
847
|
+
} catch (_) {
|
|
848
|
+
result = false;
|
|
849
|
+
}
|
|
850
|
+
const ret = result;
|
|
851
|
+
return ret;
|
|
852
|
+
},
|
|
853
|
+
__wbg_isArray_db61795ad004c139: function(arg0) {
|
|
854
|
+
const ret = Array.isArray(arg0);
|
|
855
|
+
return ret;
|
|
856
|
+
},
|
|
857
|
+
__wbg_isSafeInteger_ea83862ba994770c: function(arg0) {
|
|
858
|
+
const ret = Number.isSafeInteger(arg0);
|
|
859
|
+
return ret;
|
|
860
|
+
},
|
|
861
|
+
__wbg_item_70b809a22a88b423: function(arg0, arg1) {
|
|
862
|
+
const ret = arg0.item(arg1 >>> 0);
|
|
863
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
864
|
+
},
|
|
865
|
+
__wbg_iterator_de403ef31815a3e6: function() {
|
|
866
|
+
const ret = Symbol.iterator;
|
|
867
|
+
return ret;
|
|
868
|
+
},
|
|
869
|
+
__wbg_length_0c32cb8543c8e4c8: function(arg0) {
|
|
870
|
+
const ret = arg0.length;
|
|
871
|
+
return ret;
|
|
872
|
+
},
|
|
873
|
+
__wbg_length_6e821edde497a532: function(arg0) {
|
|
874
|
+
const ret = arg0.length;
|
|
875
|
+
return ret;
|
|
876
|
+
},
|
|
877
|
+
__wbg_location_75e85ed32b99c4fa: function(arg0) {
|
|
878
|
+
const ret = arg0.location;
|
|
879
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
880
|
+
},
|
|
881
|
+
__wbg_location_91b3fdbca3c76d9e: function(arg0) {
|
|
882
|
+
const ret = arg0.location;
|
|
883
|
+
return ret;
|
|
884
|
+
},
|
|
885
|
+
__wbg_log_4c0baeb8af2f8f89: function(arg0) {
|
|
886
|
+
console.log(arg0);
|
|
887
|
+
},
|
|
888
|
+
__wbg_lowerBound_279c232a69ac0f79: function() { return handleError(function (arg0, arg1) {
|
|
889
|
+
const ret = IDBKeyRange.lowerBound(arg0, arg1 !== 0);
|
|
890
|
+
return ret;
|
|
891
|
+
}, arguments); },
|
|
892
|
+
__wbg_message_52a9425f28c45ebc: function(arg0, arg1) {
|
|
893
|
+
const ret = arg1.message;
|
|
894
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
895
|
+
const len1 = WASM_VECTOR_LEN;
|
|
896
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
897
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
898
|
+
},
|
|
899
|
+
__wbg_message_7367f8c7d0fa1589: function(arg0) {
|
|
900
|
+
const ret = arg0.message;
|
|
901
|
+
return ret;
|
|
902
|
+
},
|
|
903
|
+
__wbg_msCrypto_bd5a034af96bcba6: function(arg0) {
|
|
904
|
+
const ret = arg0.msCrypto;
|
|
905
|
+
return ret;
|
|
906
|
+
},
|
|
907
|
+
__wbg_name_c20e84db554b626b: function(arg0, arg1) {
|
|
908
|
+
const ret = arg1.name;
|
|
909
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
910
|
+
const len1 = WASM_VECTOR_LEN;
|
|
911
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
912
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
913
|
+
},
|
|
914
|
+
__wbg_name_d7bb38b41d6d953e: function(arg0, arg1) {
|
|
915
|
+
const ret = arg1.name;
|
|
916
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
917
|
+
const len1 = WASM_VECTOR_LEN;
|
|
918
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
919
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
920
|
+
},
|
|
921
|
+
__wbg_name_e1232a033aa6f7d8: function(arg0, arg1) {
|
|
922
|
+
const ret = arg1.name;
|
|
923
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
924
|
+
const len1 = WASM_VECTOR_LEN;
|
|
925
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
926
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
927
|
+
},
|
|
928
|
+
__wbg_navigator_9b09ea705d03d227: function(arg0) {
|
|
929
|
+
const ret = arg0.navigator;
|
|
930
|
+
return ret;
|
|
931
|
+
},
|
|
932
|
+
__wbg_newVersion_23cd7fcdb28f54e8: function(arg0, arg1) {
|
|
933
|
+
const ret = arg1.newVersion;
|
|
934
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
935
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
936
|
+
},
|
|
937
|
+
__wbg_new_3a112826a89cb962: function() { return handleError(function () {
|
|
938
|
+
const ret = new Headers();
|
|
939
|
+
return ret;
|
|
940
|
+
}, arguments); },
|
|
941
|
+
__wbg_new_40792555590ec35c: function(arg0, arg1) {
|
|
942
|
+
try {
|
|
943
|
+
var state0 = {a: arg0, b: arg1};
|
|
944
|
+
var cb0 = (arg0, arg1) => {
|
|
945
|
+
const a = state0.a;
|
|
946
|
+
state0.a = 0;
|
|
947
|
+
try {
|
|
948
|
+
return wasm_bindgen__convert__closures_____invoke__h88996e8058e7b4cf(a, state0.b, arg0, arg1);
|
|
949
|
+
} finally {
|
|
950
|
+
state0.a = a;
|
|
951
|
+
}
|
|
952
|
+
};
|
|
953
|
+
const ret = new Promise(cb0);
|
|
954
|
+
return ret;
|
|
955
|
+
} finally {
|
|
956
|
+
state0.a = 0;
|
|
957
|
+
}
|
|
958
|
+
},
|
|
959
|
+
__wbg_new_4f9fafbb3909af72: function() {
|
|
960
|
+
const ret = new Object();
|
|
961
|
+
return ret;
|
|
962
|
+
},
|
|
963
|
+
__wbg_new_99cabae501c0a8a0: function() {
|
|
964
|
+
const ret = new Map();
|
|
965
|
+
return ret;
|
|
966
|
+
},
|
|
967
|
+
__wbg_new_9abbf7148481485e: function() { return handleError(function () {
|
|
968
|
+
const ret = new AbortController();
|
|
969
|
+
return ret;
|
|
970
|
+
}, arguments); },
|
|
971
|
+
__wbg_new_a2462ba0d0525642: function() { return handleError(function () {
|
|
972
|
+
const ret = new MessageChannel();
|
|
973
|
+
return ret;
|
|
974
|
+
}, arguments); },
|
|
975
|
+
__wbg_new_a2d8434834334bbf: function() { return handleError(function (arg0, arg1) {
|
|
976
|
+
const ret = new WebSocket(getStringFromWasm0(arg0, arg1));
|
|
977
|
+
return ret;
|
|
978
|
+
}, arguments); },
|
|
979
|
+
__wbg_new_a560378ea1240b14: function(arg0) {
|
|
980
|
+
const ret = new Uint8Array(arg0);
|
|
981
|
+
return ret;
|
|
982
|
+
},
|
|
983
|
+
__wbg_new_e3b04b4d53d1b593: function(arg0, arg1) {
|
|
984
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
985
|
+
return ret;
|
|
986
|
+
},
|
|
987
|
+
__wbg_new_f3c9df4f38f3f798: function() {
|
|
988
|
+
const ret = new Array();
|
|
989
|
+
return ret;
|
|
990
|
+
},
|
|
991
|
+
__wbg_new_from_slice_2580ff33d0d10520: function(arg0, arg1) {
|
|
992
|
+
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
993
|
+
return ret;
|
|
994
|
+
},
|
|
995
|
+
__wbg_new_typed_14d7cc391ce53d2c: function(arg0, arg1) {
|
|
996
|
+
try {
|
|
997
|
+
var state0 = {a: arg0, b: arg1};
|
|
998
|
+
var cb0 = (arg0, arg1) => {
|
|
999
|
+
const a = state0.a;
|
|
1000
|
+
state0.a = 0;
|
|
1001
|
+
try {
|
|
1002
|
+
return wasm_bindgen__convert__closures_____invoke__h88996e8058e7b4cf(a, state0.b, arg0, arg1);
|
|
1003
|
+
} finally {
|
|
1004
|
+
state0.a = a;
|
|
1005
|
+
}
|
|
1006
|
+
};
|
|
1007
|
+
const ret = new Promise(cb0);
|
|
1008
|
+
return ret;
|
|
1009
|
+
} finally {
|
|
1010
|
+
state0.a = 0;
|
|
1011
|
+
}
|
|
1012
|
+
},
|
|
1013
|
+
__wbg_new_with_length_9cedd08484b73942: function(arg0) {
|
|
1014
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
1015
|
+
return ret;
|
|
1016
|
+
},
|
|
1017
|
+
__wbg_new_with_str_and_init_f663b6d334baa878: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1018
|
+
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
1019
|
+
return ret;
|
|
1020
|
+
}, arguments); },
|
|
1021
|
+
__wbg_new_with_u8_array_sequence_and_options_0ea871c78d13a6d8: function() { return handleError(function (arg0, arg1) {
|
|
1022
|
+
const ret = new Blob(arg0, arg1);
|
|
1023
|
+
return ret;
|
|
1024
|
+
}, arguments); },
|
|
1025
|
+
__wbg_new_with_u8_array_sequence_and_options_6f9c126b0cac2c0c: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1026
|
+
const ret = new File(arg0, getStringFromWasm0(arg1, arg2), arg3);
|
|
1027
|
+
return ret;
|
|
1028
|
+
}, arguments); },
|
|
1029
|
+
__wbg_next_01132ed6134b8ef5: function(arg0) {
|
|
1030
|
+
const ret = arg0.next;
|
|
1031
|
+
return ret;
|
|
1032
|
+
},
|
|
1033
|
+
__wbg_next_b3713ec761a9dbfd: function() { return handleError(function (arg0) {
|
|
1034
|
+
const ret = arg0.next();
|
|
1035
|
+
return ret;
|
|
1036
|
+
}, arguments); },
|
|
1037
|
+
__wbg_node_84ea875411254db1: function(arg0) {
|
|
1038
|
+
const ret = arg0.node;
|
|
1039
|
+
return ret;
|
|
1040
|
+
},
|
|
1041
|
+
__wbg_now_88621c9c9a4f3ffc: function() {
|
|
1042
|
+
const ret = Date.now();
|
|
1043
|
+
return ret;
|
|
1044
|
+
},
|
|
1045
|
+
__wbg_now_e7c6795a7f81e10f: function(arg0) {
|
|
1046
|
+
const ret = arg0.now();
|
|
1047
|
+
return ret;
|
|
1048
|
+
},
|
|
1049
|
+
__wbg_objectStore_3d4cade4416cd432: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1050
|
+
const ret = arg0.objectStore(getStringFromWasm0(arg1, arg2));
|
|
1051
|
+
return ret;
|
|
1052
|
+
}, arguments); },
|
|
1053
|
+
__wbg_of_cc32e7afcce5ea8e: function(arg0) {
|
|
1054
|
+
const ret = Array.of(arg0);
|
|
1055
|
+
return ret;
|
|
1056
|
+
},
|
|
1057
|
+
__wbg_oldVersion_f2860d32ce6f6bd7: function(arg0) {
|
|
1058
|
+
const ret = arg0.oldVersion;
|
|
1059
|
+
return ret;
|
|
1060
|
+
},
|
|
1061
|
+
__wbg_on_f4145ffe4fe22bf2: function(arg0, arg1, arg2, arg3) {
|
|
1062
|
+
arg0.on(getStringFromWasm0(arg1, arg2), arg3);
|
|
1063
|
+
},
|
|
1064
|
+
__wbg_open_254d9b392262d9ef: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1065
|
+
const ret = arg0.open(getStringFromWasm0(arg1, arg2));
|
|
1066
|
+
return ret;
|
|
1067
|
+
}, arguments); },
|
|
1068
|
+
__wbg_open_ac04ec9d75d0eeaf: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1069
|
+
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 >>> 0);
|
|
1070
|
+
return ret;
|
|
1071
|
+
}, arguments); },
|
|
1072
|
+
__wbg_origin_068a8b12f26e8142: function() { return handleError(function (arg0, arg1) {
|
|
1073
|
+
const ret = arg1.origin;
|
|
1074
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1075
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1076
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1077
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1078
|
+
}, arguments); },
|
|
1079
|
+
__wbg_pathname_40d21f6d8f0abeb3: function() { return handleError(function (arg0, arg1) {
|
|
1080
|
+
const ret = arg1.pathname;
|
|
1081
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1082
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1083
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1084
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1085
|
+
}, arguments); },
|
|
1086
|
+
__wbg_performance_3fcf6e32a7e1ed0a: function(arg0) {
|
|
1087
|
+
const ret = arg0.performance;
|
|
1088
|
+
return ret;
|
|
1089
|
+
},
|
|
1090
|
+
__wbg_port1_d72a5cca31405ac5: function(arg0) {
|
|
1091
|
+
const ret = arg0.port1;
|
|
1092
|
+
return ret;
|
|
1093
|
+
},
|
|
1094
|
+
__wbg_port2_f95d9ccf4595d78d: function(arg0) {
|
|
1095
|
+
const ret = arg0.port2;
|
|
1096
|
+
return ret;
|
|
1097
|
+
},
|
|
1098
|
+
__wbg_ports_a29c4593f8829f1e: function(arg0) {
|
|
1099
|
+
const ret = arg0.ports;
|
|
1100
|
+
return ret;
|
|
1101
|
+
},
|
|
1102
|
+
__wbg_postMessage_23ca58f9dc1d7752: function() { return handleError(function (arg0, arg1) {
|
|
1103
|
+
arg0.postMessage(arg1);
|
|
1104
|
+
}, arguments); },
|
|
1105
|
+
__wbg_postMessage_b1704e2afe17141c: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1106
|
+
arg0.postMessage(arg1, arg2);
|
|
1107
|
+
}, arguments); },
|
|
1108
|
+
__wbg_prepend_5b567a40328acb69: function() { return handleError(function (arg0, arg1) {
|
|
1109
|
+
arg0.prepend(arg1);
|
|
1110
|
+
}, arguments); },
|
|
1111
|
+
__wbg_process_44c7a14e11e9f69e: function(arg0) {
|
|
1112
|
+
const ret = arg0.process;
|
|
1113
|
+
return ret;
|
|
1114
|
+
},
|
|
1115
|
+
__wbg_prototypesetcall_3e05eb9545565046: function(arg0, arg1, arg2) {
|
|
1116
|
+
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
1117
|
+
},
|
|
1118
|
+
__wbg_push_6bdbc990be5ac37b: function(arg0, arg1) {
|
|
1119
|
+
const ret = arg0.push(arg1);
|
|
1120
|
+
return ret;
|
|
1121
|
+
},
|
|
1122
|
+
__wbg_put_4485a4012273f7ef: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1123
|
+
const ret = arg0.put(arg1, arg2);
|
|
1124
|
+
return ret;
|
|
1125
|
+
}, arguments); },
|
|
1126
|
+
__wbg_queueMicrotask_abaf92f0bd4e80a4: function(arg0) {
|
|
1127
|
+
const ret = arg0.queueMicrotask;
|
|
1128
|
+
return ret;
|
|
1129
|
+
},
|
|
1130
|
+
__wbg_queueMicrotask_df5a6dac26d818f3: function(arg0) {
|
|
1131
|
+
queueMicrotask(arg0);
|
|
1132
|
+
},
|
|
1133
|
+
__wbg_randomFillSync_6c25eac9869eb53c: function() { return handleError(function (arg0, arg1) {
|
|
1134
|
+
arg0.randomFillSync(arg1);
|
|
1135
|
+
}, arguments); },
|
|
1136
|
+
__wbg_readyState_631d9f7c37e595d7: function(arg0) {
|
|
1137
|
+
const ret = arg0.readyState;
|
|
1138
|
+
return ret;
|
|
1139
|
+
},
|
|
1140
|
+
__wbg_readyState_accbdf425c074d9c: function(arg0) {
|
|
1141
|
+
const ret = arg0.readyState;
|
|
1142
|
+
return (__wbindgen_enum_IdbRequestReadyState.indexOf(ret) + 1 || 3) - 1;
|
|
1143
|
+
},
|
|
1144
|
+
__wbg_ready_809df225bb232489: function() { return handleError(function (arg0) {
|
|
1145
|
+
const ret = arg0.ready;
|
|
1146
|
+
return ret;
|
|
1147
|
+
}, arguments); },
|
|
1148
|
+
__wbg_register_efca5c55a610146f: function(arg0, arg1, arg2) {
|
|
1149
|
+
const ret = arg0.register(getStringFromWasm0(arg1, arg2));
|
|
1150
|
+
return ret;
|
|
1151
|
+
},
|
|
1152
|
+
__wbg_removeListener_250a33965641c61b: function(arg0, arg1, arg2, arg3) {
|
|
1153
|
+
arg0.removeListener(getStringFromWasm0(arg1, arg2), arg3);
|
|
1154
|
+
},
|
|
1155
|
+
__wbg_replaceState_b24491ac1a491629: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
1156
|
+
arg0.replaceState(arg1, getStringFromWasm0(arg2, arg3), arg4 === 0 ? undefined : getStringFromWasm0(arg4, arg5));
|
|
1157
|
+
}, arguments); },
|
|
1158
|
+
__wbg_request_23303be4687a2540: function() { return handleError(function (arg0, arg1) {
|
|
1159
|
+
const ret = arg0.request(RequestArguments.__wrap(arg1));
|
|
1160
|
+
return ret;
|
|
1161
|
+
}, arguments); },
|
|
1162
|
+
__wbg_require_b4edbdcf3e2a1ef0: function() { return handleError(function () {
|
|
1163
|
+
const ret = module.require;
|
|
1164
|
+
return ret;
|
|
1165
|
+
}, arguments); },
|
|
1166
|
+
__wbg_resolve_0a79de24e9d2267b: function(arg0) {
|
|
1167
|
+
const ret = Promise.resolve(arg0);
|
|
1168
|
+
return ret;
|
|
1169
|
+
},
|
|
1170
|
+
__wbg_result_452c1006fc727317: function() { return handleError(function (arg0) {
|
|
1171
|
+
const ret = arg0.result;
|
|
1172
|
+
return ret;
|
|
1173
|
+
}, arguments); },
|
|
1174
|
+
__wbg_send_64dd480ad0d86a31: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1175
|
+
arg0.send(getArrayU8FromWasm0(arg1, arg2));
|
|
1176
|
+
}, arguments); },
|
|
1177
|
+
__wbg_serviceWorker_962a7f5da83d7ed8: function(arg0) {
|
|
1178
|
+
const ret = arg0.serviceWorker;
|
|
1179
|
+
return ret;
|
|
1180
|
+
},
|
|
1181
|
+
__wbg_setAttribute_5799fb5befe29601: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
1182
|
+
arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
1183
|
+
}, arguments); },
|
|
1184
|
+
__wbg_setInterval_02b8838e27cfe2ac: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1185
|
+
const ret = arg0.setInterval(arg1, arg2, ...arg3);
|
|
1186
|
+
return ret;
|
|
1187
|
+
}, arguments); },
|
|
1188
|
+
__wbg_setInterval_7e07ec6d390353c6: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1189
|
+
const ret = arg0.setInterval(arg1, arg2, ...arg3);
|
|
1190
|
+
return ret;
|
|
1191
|
+
}, arguments); },
|
|
1192
|
+
__wbg_setTimeout_613a21b62dc655a1: function() { return handleError(function (arg0, arg1) {
|
|
1193
|
+
const ret = setTimeout(arg0, arg1);
|
|
1194
|
+
return ret;
|
|
1195
|
+
}, arguments); },
|
|
1196
|
+
__wbg_setTimeout_ef24d2fc3ad97385: function() { return handleError(function (arg0, arg1) {
|
|
1197
|
+
const ret = setTimeout(arg0, arg1);
|
|
1198
|
+
return ret;
|
|
1199
|
+
}, arguments); },
|
|
1200
|
+
__wbg_set_08463b1df38a7e29: function(arg0, arg1, arg2) {
|
|
1201
|
+
const ret = arg0.set(arg1, arg2);
|
|
1202
|
+
return ret;
|
|
1203
|
+
},
|
|
1204
|
+
__wbg_set_16a9c1a07b3d38ec: function(arg0, arg1, arg2) {
|
|
1205
|
+
arg0.set(getArrayU8FromWasm0(arg1, arg2));
|
|
1206
|
+
},
|
|
1207
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
1208
|
+
arg0[arg1] = arg2;
|
|
1209
|
+
},
|
|
1210
|
+
__wbg_set_6c60b2e8ad0e9383: function(arg0, arg1, arg2) {
|
|
1211
|
+
arg0[arg1 >>> 0] = arg2;
|
|
1212
|
+
},
|
|
1213
|
+
__wbg_set_8ee2d34facb8466e: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1214
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
1215
|
+
return ret;
|
|
1216
|
+
}, arguments); },
|
|
1217
|
+
__wbg_set_auto_increment_37227907cc70bd30: function(arg0, arg1) {
|
|
1218
|
+
arg0.autoIncrement = arg1 !== 0;
|
|
1219
|
+
},
|
|
1220
|
+
__wbg_set_binaryType_95c0a0f7586a3903: function(arg0, arg1) {
|
|
1221
|
+
arg0.binaryType = __wbindgen_enum_BinaryType[arg1];
|
|
1222
|
+
},
|
|
1223
|
+
__wbg_set_body_a304d09cb50cefbe: function(arg0, arg1) {
|
|
1224
|
+
arg0.body = arg1;
|
|
1225
|
+
},
|
|
1226
|
+
__wbg_set_credentials_7693e63055f5e838: function(arg0, arg1) {
|
|
1227
|
+
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
1228
|
+
},
|
|
1229
|
+
__wbg_set_headers_6ab1105e542834e2: function(arg0, arg1) {
|
|
1230
|
+
arg0.headers = arg1;
|
|
1231
|
+
},
|
|
1232
|
+
__wbg_set_innerHTML_7e29b346becaeb8b: function(arg0, arg1, arg2) {
|
|
1233
|
+
arg0.innerHTML = getStringFromWasm0(arg1, arg2);
|
|
1234
|
+
},
|
|
1235
|
+
__wbg_set_last_modified_060455604bf3ff8b: function(arg0, arg1) {
|
|
1236
|
+
arg0.lastModified = arg1;
|
|
1237
|
+
},
|
|
1238
|
+
__wbg_set_method_1971272fe557e972: function(arg0, arg1, arg2) {
|
|
1239
|
+
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
1240
|
+
},
|
|
1241
|
+
__wbg_set_mode_d1b643087602281a: function(arg0, arg1) {
|
|
1242
|
+
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
1243
|
+
},
|
|
1244
|
+
__wbg_set_onabort_6b6df7a41aa97c23: function(arg0, arg1) {
|
|
1245
|
+
arg0.onabort = arg1;
|
|
1246
|
+
},
|
|
1247
|
+
__wbg_set_onclick_60f72f3e80d65322: function(arg0, arg1) {
|
|
1248
|
+
arg0.onclick = arg1;
|
|
1249
|
+
},
|
|
1250
|
+
__wbg_set_onclose_47cce56c686db4fb: function(arg0, arg1) {
|
|
1251
|
+
arg0.onclose = arg1;
|
|
1252
|
+
},
|
|
1253
|
+
__wbg_set_oncomplete_20fb27150b4ee0d4: function(arg0, arg1) {
|
|
1254
|
+
arg0.oncomplete = arg1;
|
|
1255
|
+
},
|
|
1256
|
+
__wbg_set_onerror_2b7dfa4e6dea4159: function(arg0, arg1) {
|
|
1257
|
+
arg0.onerror = arg1;
|
|
1258
|
+
},
|
|
1259
|
+
__wbg_set_onerror_3c4b5087146b11b6: function(arg0, arg1) {
|
|
1260
|
+
arg0.onerror = arg1;
|
|
1261
|
+
},
|
|
1262
|
+
__wbg_set_onerror_3db8bc3e52b2b10b: function(arg0, arg1) {
|
|
1263
|
+
arg0.onerror = arg1;
|
|
1264
|
+
},
|
|
1265
|
+
__wbg_set_oninput_ab8592ebda2868c4: function(arg0, arg1) {
|
|
1266
|
+
arg0.oninput = arg1;
|
|
1267
|
+
},
|
|
1268
|
+
__wbg_set_onmessage_196c757df3bc1d57: function(arg0, arg1) {
|
|
1269
|
+
arg0.onmessage = arg1;
|
|
1270
|
+
},
|
|
1271
|
+
__wbg_set_onmessage_45bd33b110c54f5b: function(arg0, arg1) {
|
|
1272
|
+
arg0.onmessage = arg1;
|
|
1273
|
+
},
|
|
1274
|
+
__wbg_set_onopen_7ffeb01f8a628209: function(arg0, arg1) {
|
|
1275
|
+
arg0.onopen = arg1;
|
|
1276
|
+
},
|
|
1277
|
+
__wbg_set_onsuccess_f7e5b5cbed5008b1: function(arg0, arg1) {
|
|
1278
|
+
arg0.onsuccess = arg1;
|
|
1279
|
+
},
|
|
1280
|
+
__wbg_set_onupgradeneeded_d7e8e03a1999bf5d: function(arg0, arg1) {
|
|
1281
|
+
arg0.onupgradeneeded = arg1;
|
|
1282
|
+
},
|
|
1283
|
+
__wbg_set_signal_8564a226c5c6853c: function(arg0, arg1) {
|
|
1284
|
+
arg0.signal = arg1;
|
|
1285
|
+
},
|
|
1286
|
+
__wbg_set_type_71c5768aa00cb03f: function(arg0, arg1, arg2) {
|
|
1287
|
+
arg0.type = getStringFromWasm0(arg1, arg2);
|
|
1288
|
+
},
|
|
1289
|
+
__wbg_set_type_ef754f25329c9096: function(arg0, arg1, arg2) {
|
|
1290
|
+
arg0.type = getStringFromWasm0(arg1, arg2);
|
|
1291
|
+
},
|
|
1292
|
+
__wbg_signal_9172c3282bfba2f5: function(arg0) {
|
|
1293
|
+
const ret = arg0.signal;
|
|
1294
|
+
return ret;
|
|
1295
|
+
},
|
|
1296
|
+
__wbg_size_7306c9406e13bf29: function(arg0) {
|
|
1297
|
+
const ret = arg0.size;
|
|
1298
|
+
return ret;
|
|
1299
|
+
},
|
|
1300
|
+
__wbg_slice_ed46d66aac8f9db9: function() { return handleError(function (arg0, arg1, arg2) {
|
|
1301
|
+
const ret = arg0.slice(arg1, arg2);
|
|
1302
|
+
return ret;
|
|
1303
|
+
}, arguments); },
|
|
1304
|
+
__wbg_static_accessor_GLOBAL_THIS_a1248013d790bf5f: function() {
|
|
1305
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
1306
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1307
|
+
},
|
|
1308
|
+
__wbg_static_accessor_GLOBAL_f2e0f995a21329ff: function() {
|
|
1309
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
1310
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1311
|
+
},
|
|
1312
|
+
__wbg_static_accessor_SELF_24f78b6d23f286ea: function() {
|
|
1313
|
+
const ret = typeof self === 'undefined' ? null : self;
|
|
1314
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1315
|
+
},
|
|
1316
|
+
__wbg_static_accessor_WINDOW_59fd959c540fe405: function() {
|
|
1317
|
+
const ret = typeof window === 'undefined' ? null : window;
|
|
1318
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1319
|
+
},
|
|
1320
|
+
__wbg_status_44ecb0ac1da253f4: function(arg0) {
|
|
1321
|
+
const ret = arg0.status;
|
|
1322
|
+
return ret;
|
|
1323
|
+
},
|
|
1324
|
+
__wbg_stringify_a2c39d991e1bf91d: function() { return handleError(function (arg0) {
|
|
1325
|
+
const ret = JSON.stringify(arg0);
|
|
1326
|
+
return ret;
|
|
1327
|
+
}, arguments); },
|
|
1328
|
+
__wbg_subarray_0f98d3fb634508ad: function(arg0, arg1, arg2) {
|
|
1329
|
+
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
1330
|
+
return ret;
|
|
1331
|
+
},
|
|
1332
|
+
__wbg_target_732d56b173b7e87c: function(arg0) {
|
|
1333
|
+
const ret = arg0.target;
|
|
1334
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
1335
|
+
},
|
|
1336
|
+
__wbg_then_00eed3ac0b8e82cb: function(arg0, arg1, arg2) {
|
|
1337
|
+
const ret = arg0.then(arg1, arg2);
|
|
1338
|
+
return ret;
|
|
1339
|
+
},
|
|
1340
|
+
__wbg_then_a0c8db0381c8994c: function(arg0, arg1) {
|
|
1341
|
+
const ret = arg0.then(arg1);
|
|
1342
|
+
return ret;
|
|
1343
|
+
},
|
|
1344
|
+
__wbg_toString_891d991e862e1d44: function(arg0) {
|
|
1345
|
+
const ret = arg0.toString();
|
|
1346
|
+
return ret;
|
|
1347
|
+
},
|
|
1348
|
+
__wbg_transaction_cc65dcef07fabb06: function(arg0) {
|
|
1349
|
+
const ret = arg0.transaction;
|
|
1350
|
+
return ret;
|
|
1351
|
+
},
|
|
1352
|
+
__wbg_transaction_f909284bfed41115: function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
1353
|
+
const ret = arg0.transaction(getStringFromWasm0(arg1, arg2), __wbindgen_enum_IdbTransactionMode[arg3]);
|
|
1354
|
+
return ret;
|
|
1355
|
+
}, arguments); },
|
|
1356
|
+
__wbg_type_8f15c453c9572b22: function(arg0, arg1) {
|
|
1357
|
+
const ret = arg1.type;
|
|
1358
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1359
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1360
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1361
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1362
|
+
},
|
|
1363
|
+
__wbg_update_2b01ecf05f39aeca: function() { return handleError(function (arg0) {
|
|
1364
|
+
const ret = arg0.update();
|
|
1365
|
+
return ret;
|
|
1366
|
+
}, arguments); },
|
|
1367
|
+
__wbg_upperBound_2f3c07fb628c7a3c: function() { return handleError(function (arg0, arg1) {
|
|
1368
|
+
const ret = IDBKeyRange.upperBound(arg0, arg1 !== 0);
|
|
1369
|
+
return ret;
|
|
1370
|
+
}, arguments); },
|
|
1371
|
+
__wbg_url_95d8a83d33709572: function(arg0, arg1) {
|
|
1372
|
+
const ret = arg1.url;
|
|
1373
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1374
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1375
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1376
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1377
|
+
},
|
|
1378
|
+
__wbg_value_06d86250ed92951a: function(arg0, arg1) {
|
|
1379
|
+
const ret = arg1.value;
|
|
1380
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1381
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1382
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1383
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1384
|
+
},
|
|
1385
|
+
__wbg_value_7f6052747ccf940f: function(arg0) {
|
|
1386
|
+
const ret = arg0.value;
|
|
1387
|
+
return ret;
|
|
1388
|
+
},
|
|
1389
|
+
__wbg_value_c88240b8ee29611a: function(arg0, arg1) {
|
|
1390
|
+
const ret = arg1.value;
|
|
1391
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1392
|
+
const len1 = WASM_VECTOR_LEN;
|
|
1393
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
1394
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1395
|
+
},
|
|
1396
|
+
__wbg_versions_276b2795b1c6a219: function(arg0) {
|
|
1397
|
+
const ret = arg0.versions;
|
|
1398
|
+
return ret;
|
|
1399
|
+
},
|
|
1400
|
+
__wbg_warn_2b0a27f629a4bb1e: function(arg0) {
|
|
1401
|
+
console.warn(arg0);
|
|
1402
|
+
},
|
|
1403
|
+
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
1404
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2035, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1405
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h2c2b25660306fe52);
|
|
1406
|
+
return ret;
|
|
1407
|
+
},
|
|
1408
|
+
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
1409
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 2313, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1410
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h06a7e7b2a563bd9a);
|
|
1411
|
+
return ret;
|
|
1412
|
+
},
|
|
1413
|
+
__wbindgen_cast_0000000000000003: function(arg0, arg1) {
|
|
1414
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("CloseEvent")], shim_idx: 1210, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1415
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h592ace81aa415f10);
|
|
1416
|
+
return ret;
|
|
1417
|
+
},
|
|
1418
|
+
__wbindgen_cast_0000000000000004: function(arg0, arg1) {
|
|
1419
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 1210, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1420
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h592ace81aa415f10_3);
|
|
1421
|
+
return ret;
|
|
1422
|
+
},
|
|
1423
|
+
__wbindgen_cast_0000000000000005: function(arg0, arg1) {
|
|
1424
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 930, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1425
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb7695be2fdd72d20);
|
|
1426
|
+
return ret;
|
|
1427
|
+
},
|
|
1428
|
+
__wbindgen_cast_0000000000000006: function(arg0, arg1) {
|
|
1429
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IDBVersionChangeEvent")], shim_idx: 890, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
1430
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h2b3586c1e5138808);
|
|
1431
|
+
return ret;
|
|
1432
|
+
},
|
|
1433
|
+
__wbindgen_cast_0000000000000007: function(arg0, arg1) {
|
|
1434
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("MessageEvent")], shim_idx: 1210, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1435
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h592ace81aa415f10_6);
|
|
1436
|
+
return ret;
|
|
1437
|
+
},
|
|
1438
|
+
__wbindgen_cast_0000000000000008: function(arg0, arg1) {
|
|
1439
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2078, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1440
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__hb28937c0609bdd79);
|
|
1441
|
+
return ret;
|
|
1442
|
+
},
|
|
1443
|
+
__wbindgen_cast_0000000000000009: function(arg0, arg1) {
|
|
1444
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 2295, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1445
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h294687bdb60910fc);
|
|
1446
|
+
return ret;
|
|
1447
|
+
},
|
|
1448
|
+
__wbindgen_cast_000000000000000a: function(arg0, arg1) {
|
|
1449
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 932, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
|
|
1450
|
+
const ret = makeMutClosure(arg0, arg1, wasm_bindgen__convert__closures_____invoke__h41947166d8d508a5);
|
|
1451
|
+
return ret;
|
|
1452
|
+
},
|
|
1453
|
+
__wbindgen_cast_000000000000000b: function(arg0) {
|
|
1454
|
+
// Cast intrinsic for `F64 -> Externref`.
|
|
1455
|
+
const ret = arg0;
|
|
1456
|
+
return ret;
|
|
1457
|
+
},
|
|
1458
|
+
__wbindgen_cast_000000000000000c: function(arg0) {
|
|
1459
|
+
// Cast intrinsic for `I64 -> Externref`.
|
|
1460
|
+
const ret = arg0;
|
|
1461
|
+
return ret;
|
|
1462
|
+
},
|
|
1463
|
+
__wbindgen_cast_000000000000000d: function(arg0, arg1) {
|
|
1464
|
+
// Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
|
|
1465
|
+
const ret = getArrayU8FromWasm0(arg0, arg1);
|
|
1466
|
+
return ret;
|
|
1467
|
+
},
|
|
1468
|
+
__wbindgen_cast_000000000000000e: function(arg0, arg1) {
|
|
1469
|
+
// Cast intrinsic for `Ref(String) -> Externref`.
|
|
1470
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
1471
|
+
return ret;
|
|
1472
|
+
},
|
|
1473
|
+
__wbindgen_cast_000000000000000f: function(arg0) {
|
|
1474
|
+
// Cast intrinsic for `U64 -> Externref`.
|
|
1475
|
+
const ret = BigInt.asUintN(64, arg0);
|
|
1476
|
+
return ret;
|
|
1477
|
+
},
|
|
1478
|
+
__wbindgen_cast_0000000000000010: function(arg0, arg1) {
|
|
1479
|
+
var v0 = getArrayJsValueFromWasm0(arg0, arg1).slice();
|
|
1480
|
+
wasm.__wbindgen_free(arg0, arg1 * 4, 4);
|
|
1481
|
+
// Cast intrinsic for `Vector(NamedExternref("string")) -> Externref`.
|
|
1482
|
+
const ret = v0;
|
|
1483
|
+
return ret;
|
|
1484
|
+
},
|
|
1485
|
+
__wbindgen_cast_0000000000000011: function(arg0, arg1) {
|
|
1486
|
+
var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
|
|
1487
|
+
wasm.__wbindgen_free(arg0, arg1 * 1, 1);
|
|
1488
|
+
// Cast intrinsic for `Vector(U8) -> Externref`.
|
|
1489
|
+
const ret = v0;
|
|
1490
|
+
return ret;
|
|
1491
|
+
},
|
|
1492
|
+
__wbindgen_init_externref_table: function() {
|
|
1493
|
+
const table = wasm.__wbindgen_externrefs;
|
|
1494
|
+
const offset = table.grow(4);
|
|
1495
|
+
table.set(0, undefined);
|
|
1496
|
+
table.set(offset + 0, undefined);
|
|
1497
|
+
table.set(offset + 1, null);
|
|
1498
|
+
table.set(offset + 2, true);
|
|
1499
|
+
table.set(offset + 3, false);
|
|
1500
|
+
},
|
|
1501
|
+
};
|
|
1502
|
+
return {
|
|
1503
|
+
__proto__: null,
|
|
1504
|
+
"./weeb_3_bg.js": import0,
|
|
1505
|
+
};
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
function wasm_bindgen__convert__closures_____invoke__hb28937c0609bdd79(arg0, arg1) {
|
|
1509
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb28937c0609bdd79(arg0, arg1);
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
function wasm_bindgen__convert__closures_____invoke__h294687bdb60910fc(arg0, arg1) {
|
|
1513
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h294687bdb60910fc(arg0, arg1);
|
|
1514
|
+
}
|
|
1515
|
+
|
|
1516
|
+
function wasm_bindgen__convert__closures_____invoke__h41947166d8d508a5(arg0, arg1) {
|
|
1517
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h41947166d8d508a5(arg0, arg1);
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
function wasm_bindgen__convert__closures_____invoke__h2c2b25660306fe52(arg0, arg1, arg2) {
|
|
1521
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h2c2b25660306fe52(arg0, arg1, arg2);
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
function wasm_bindgen__convert__closures_____invoke__h592ace81aa415f10(arg0, arg1, arg2) {
|
|
1525
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h592ace81aa415f10(arg0, arg1, arg2);
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
function wasm_bindgen__convert__closures_____invoke__h592ace81aa415f10_3(arg0, arg1, arg2) {
|
|
1529
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h592ace81aa415f10_3(arg0, arg1, arg2);
|
|
1530
|
+
}
|
|
1531
|
+
|
|
1532
|
+
function wasm_bindgen__convert__closures_____invoke__hb7695be2fdd72d20(arg0, arg1, arg2) {
|
|
1533
|
+
wasm.wasm_bindgen__convert__closures_____invoke__hb7695be2fdd72d20(arg0, arg1, arg2);
|
|
1534
|
+
}
|
|
1535
|
+
|
|
1536
|
+
function wasm_bindgen__convert__closures_____invoke__h592ace81aa415f10_6(arg0, arg1, arg2) {
|
|
1537
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h592ace81aa415f10_6(arg0, arg1, arg2);
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
function wasm_bindgen__convert__closures_____invoke__h06a7e7b2a563bd9a(arg0, arg1, arg2) {
|
|
1541
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h06a7e7b2a563bd9a(arg0, arg1, arg2);
|
|
1542
|
+
if (ret[1]) {
|
|
1543
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
function wasm_bindgen__convert__closures_____invoke__h2b3586c1e5138808(arg0, arg1, arg2) {
|
|
1548
|
+
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h2b3586c1e5138808(arg0, arg1, arg2);
|
|
1549
|
+
if (ret[1]) {
|
|
1550
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
function wasm_bindgen__convert__closures_____invoke__h88996e8058e7b4cf(arg0, arg1, arg2, arg3) {
|
|
1555
|
+
wasm.wasm_bindgen__convert__closures_____invoke__h88996e8058e7b4cf(arg0, arg1, arg2, arg3);
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
|
|
1559
|
+
const __wbindgen_enum_BinaryType = ["blob", "arraybuffer"];
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
|
+
const __wbindgen_enum_IdbRequestReadyState = ["pending", "done"];
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
const __wbindgen_enum_IdbTransactionMode = ["readonly", "readwrite", "versionchange", "readwriteflush", "cleanup"];
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
const __wbindgen_enum_RequestMode = ["same-origin", "no-cors", "cors", "navigate"];
|
|
1572
|
+
const BootstrapNodeFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1573
|
+
? { register: () => {}, unregister: () => {} }
|
|
1574
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_bootstrapnode_free(ptr >>> 0, 1));
|
|
1575
|
+
const RequestArgumentsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1576
|
+
? { register: () => {}, unregister: () => {} }
|
|
1577
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_requestarguments_free(ptr >>> 0, 1));
|
|
1578
|
+
const SekireiFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1579
|
+
? { register: () => {}, unregister: () => {} }
|
|
1580
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sekirei_free(ptr >>> 0, 1));
|
|
1581
|
+
const SekireiNo103Finalization = (typeof FinalizationRegistry === 'undefined')
|
|
1582
|
+
? { register: () => {}, unregister: () => {} }
|
|
1583
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_sekireino103_free(ptr >>> 0, 1));
|
|
1584
|
+
const WingsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
1585
|
+
? { register: () => {}, unregister: () => {} }
|
|
1586
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_wings_free(ptr >>> 0, 1));
|
|
1587
|
+
|
|
1588
|
+
function addToExternrefTable0(obj) {
|
|
1589
|
+
const idx = wasm.__externref_table_alloc();
|
|
1590
|
+
wasm.__wbindgen_externrefs.set(idx, obj);
|
|
1591
|
+
return idx;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
1595
|
+
? { register: () => {}, unregister: () => {} }
|
|
1596
|
+
: new FinalizationRegistry(state => wasm.__wbindgen_destroy_closure(state.a, state.b));
|
|
1597
|
+
|
|
1598
|
+
function debugString(val) {
|
|
1599
|
+
// primitive types
|
|
1600
|
+
const type = typeof val;
|
|
1601
|
+
if (type == 'number' || type == 'boolean' || val == null) {
|
|
1602
|
+
return `${val}`;
|
|
1603
|
+
}
|
|
1604
|
+
if (type == 'string') {
|
|
1605
|
+
return `"${val}"`;
|
|
1606
|
+
}
|
|
1607
|
+
if (type == 'symbol') {
|
|
1608
|
+
const description = val.description;
|
|
1609
|
+
if (description == null) {
|
|
1610
|
+
return 'Symbol';
|
|
1611
|
+
} else {
|
|
1612
|
+
return `Symbol(${description})`;
|
|
1613
|
+
}
|
|
1614
|
+
}
|
|
1615
|
+
if (type == 'function') {
|
|
1616
|
+
const name = val.name;
|
|
1617
|
+
if (typeof name == 'string' && name.length > 0) {
|
|
1618
|
+
return `Function(${name})`;
|
|
1619
|
+
} else {
|
|
1620
|
+
return 'Function';
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
// objects
|
|
1624
|
+
if (Array.isArray(val)) {
|
|
1625
|
+
const length = val.length;
|
|
1626
|
+
let debug = '[';
|
|
1627
|
+
if (length > 0) {
|
|
1628
|
+
debug += debugString(val[0]);
|
|
1629
|
+
}
|
|
1630
|
+
for(let i = 1; i < length; i++) {
|
|
1631
|
+
debug += ', ' + debugString(val[i]);
|
|
1632
|
+
}
|
|
1633
|
+
debug += ']';
|
|
1634
|
+
return debug;
|
|
1635
|
+
}
|
|
1636
|
+
// Test for built-in
|
|
1637
|
+
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
1638
|
+
let className;
|
|
1639
|
+
if (builtInMatches && builtInMatches.length > 1) {
|
|
1640
|
+
className = builtInMatches[1];
|
|
1641
|
+
} else {
|
|
1642
|
+
// Failed to match the standard '[object ClassName]'
|
|
1643
|
+
return toString.call(val);
|
|
1644
|
+
}
|
|
1645
|
+
if (className == 'Object') {
|
|
1646
|
+
// we're a user defined class or Object
|
|
1647
|
+
// JSON.stringify avoids problems with cycles, and is generally much
|
|
1648
|
+
// easier than looping through ownProperties of `val`.
|
|
1649
|
+
try {
|
|
1650
|
+
return 'Object(' + JSON.stringify(val) + ')';
|
|
1651
|
+
} catch (_) {
|
|
1652
|
+
return 'Object';
|
|
1653
|
+
}
|
|
1654
|
+
}
|
|
1655
|
+
// errors
|
|
1656
|
+
if (val instanceof Error) {
|
|
1657
|
+
return `${val.name}: ${val.message}\n${val.stack}`;
|
|
1658
|
+
}
|
|
1659
|
+
// TODO we could test for more things here, like `Set`s and `Map`s.
|
|
1660
|
+
return className;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
1664
|
+
ptr = ptr >>> 0;
|
|
1665
|
+
const mem = getDataViewMemory0();
|
|
1666
|
+
const result = [];
|
|
1667
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
1668
|
+
result.push(wasm.__wbindgen_externrefs.get(mem.getUint32(i, true)));
|
|
1669
|
+
}
|
|
1670
|
+
wasm.__externref_drop_slice(ptr, len);
|
|
1671
|
+
return result;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
function getArrayU8FromWasm0(ptr, len) {
|
|
1675
|
+
ptr = ptr >>> 0;
|
|
1676
|
+
return getUint8ArrayMemory0().subarray(ptr / 1, ptr / 1 + len);
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
let cachedDataViewMemory0 = null;
|
|
1680
|
+
function getDataViewMemory0() {
|
|
1681
|
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
1682
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
1683
|
+
}
|
|
1684
|
+
return cachedDataViewMemory0;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
function getStringFromWasm0(ptr, len) {
|
|
1688
|
+
ptr = ptr >>> 0;
|
|
1689
|
+
return decodeText(ptr, len);
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
let cachedUint8ArrayMemory0 = null;
|
|
1693
|
+
function getUint8ArrayMemory0() {
|
|
1694
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
1695
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
1696
|
+
}
|
|
1697
|
+
return cachedUint8ArrayMemory0;
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
function handleError(f, args) {
|
|
1701
|
+
try {
|
|
1702
|
+
return f.apply(this, args);
|
|
1703
|
+
} catch (e) {
|
|
1704
|
+
const idx = addToExternrefTable0(e);
|
|
1705
|
+
wasm.__wbindgen_exn_store(idx);
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
function isLikeNone(x) {
|
|
1710
|
+
return x === undefined || x === null;
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
function makeMutClosure(arg0, arg1, f) {
|
|
1714
|
+
const state = { a: arg0, b: arg1, cnt: 1 };
|
|
1715
|
+
const real = (...args) => {
|
|
1716
|
+
|
|
1717
|
+
// First up with a closure we increment the internal reference
|
|
1718
|
+
// count. This ensures that the Rust closure environment won't
|
|
1719
|
+
// be deallocated while we're invoking it.
|
|
1720
|
+
state.cnt++;
|
|
1721
|
+
const a = state.a;
|
|
1722
|
+
state.a = 0;
|
|
1723
|
+
try {
|
|
1724
|
+
return f(a, state.b, ...args);
|
|
1725
|
+
} finally {
|
|
1726
|
+
state.a = a;
|
|
1727
|
+
real._wbg_cb_unref();
|
|
1728
|
+
}
|
|
1729
|
+
};
|
|
1730
|
+
real._wbg_cb_unref = () => {
|
|
1731
|
+
if (--state.cnt === 0) {
|
|
1732
|
+
wasm.__wbindgen_destroy_closure(state.a, state.b);
|
|
1733
|
+
state.a = 0;
|
|
1734
|
+
CLOSURE_DTORS.unregister(state);
|
|
1735
|
+
}
|
|
1736
|
+
};
|
|
1737
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
1738
|
+
return real;
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
1742
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
1743
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
1744
|
+
WASM_VECTOR_LEN = arg.length;
|
|
1745
|
+
return ptr;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
1749
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
1750
|
+
for (let i = 0; i < array.length; i++) {
|
|
1751
|
+
const add = addToExternrefTable0(array[i]);
|
|
1752
|
+
getDataViewMemory0().setUint32(ptr + 4 * i, add, true);
|
|
1753
|
+
}
|
|
1754
|
+
WASM_VECTOR_LEN = array.length;
|
|
1755
|
+
return ptr;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
function passStringToWasm0(arg, malloc, realloc) {
|
|
1759
|
+
if (realloc === undefined) {
|
|
1760
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
1761
|
+
const ptr = malloc(buf.length, 1) >>> 0;
|
|
1762
|
+
getUint8ArrayMemory0().subarray(ptr, ptr + buf.length).set(buf);
|
|
1763
|
+
WASM_VECTOR_LEN = buf.length;
|
|
1764
|
+
return ptr;
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
let len = arg.length;
|
|
1768
|
+
let ptr = malloc(len, 1) >>> 0;
|
|
1769
|
+
|
|
1770
|
+
const mem = getUint8ArrayMemory0();
|
|
1771
|
+
|
|
1772
|
+
let offset = 0;
|
|
1773
|
+
|
|
1774
|
+
for (; offset < len; offset++) {
|
|
1775
|
+
const code = arg.charCodeAt(offset);
|
|
1776
|
+
if (code > 0x7F) break;
|
|
1777
|
+
mem[ptr + offset] = code;
|
|
1778
|
+
}
|
|
1779
|
+
if (offset !== len) {
|
|
1780
|
+
if (offset !== 0) {
|
|
1781
|
+
arg = arg.slice(offset);
|
|
1782
|
+
}
|
|
1783
|
+
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
1784
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
1785
|
+
const ret = cachedTextEncoder.encodeInto(arg, view);
|
|
1786
|
+
|
|
1787
|
+
offset += ret.written;
|
|
1788
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
WASM_VECTOR_LEN = offset;
|
|
1792
|
+
return ptr;
|
|
1793
|
+
}
|
|
1794
|
+
|
|
1795
|
+
function takeFromExternrefTable0(idx) {
|
|
1796
|
+
const value = wasm.__wbindgen_externrefs.get(idx);
|
|
1797
|
+
wasm.__externref_table_dealloc(idx);
|
|
1798
|
+
return value;
|
|
1799
|
+
}
|
|
1800
|
+
|
|
1801
|
+
let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
1802
|
+
cachedTextDecoder.decode();
|
|
1803
|
+
const MAX_SAFARI_DECODE_BYTES = 2146435072;
|
|
1804
|
+
let numBytesDecoded = 0;
|
|
1805
|
+
function decodeText(ptr, len) {
|
|
1806
|
+
numBytesDecoded += len;
|
|
1807
|
+
if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
|
|
1808
|
+
cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
|
|
1809
|
+
cachedTextDecoder.decode();
|
|
1810
|
+
numBytesDecoded = len;
|
|
1811
|
+
}
|
|
1812
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
1813
|
+
}
|
|
1814
|
+
|
|
1815
|
+
const cachedTextEncoder = new TextEncoder();
|
|
1816
|
+
|
|
1817
|
+
if (!('encodeInto' in cachedTextEncoder)) {
|
|
1818
|
+
cachedTextEncoder.encodeInto = function (arg, view) {
|
|
1819
|
+
const buf = cachedTextEncoder.encode(arg);
|
|
1820
|
+
view.set(buf);
|
|
1821
|
+
return {
|
|
1822
|
+
read: arg.length,
|
|
1823
|
+
written: buf.length
|
|
1824
|
+
};
|
|
1825
|
+
};
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
let WASM_VECTOR_LEN = 0;
|
|
1829
|
+
|
|
1830
|
+
let wasmModule, wasm;
|
|
1831
|
+
function __wbg_finalize_init(instance, module) {
|
|
1832
|
+
wasm = instance.exports;
|
|
1833
|
+
wasmModule = module;
|
|
1834
|
+
cachedDataViewMemory0 = null;
|
|
1835
|
+
cachedUint8ArrayMemory0 = null;
|
|
1836
|
+
wasm.__wbindgen_start();
|
|
1837
|
+
return wasm;
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
async function __wbg_load(module, imports) {
|
|
1841
|
+
if (typeof Response === 'function' && module instanceof Response) {
|
|
1842
|
+
if (typeof WebAssembly.instantiateStreaming === 'function') {
|
|
1843
|
+
try {
|
|
1844
|
+
return await WebAssembly.instantiateStreaming(module, imports);
|
|
1845
|
+
} catch (e) {
|
|
1846
|
+
const validResponse = module.ok && expectedResponseType(module.type);
|
|
1847
|
+
|
|
1848
|
+
if (validResponse && module.headers.get('Content-Type') !== 'application/wasm') {
|
|
1849
|
+
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", e);
|
|
1850
|
+
|
|
1851
|
+
} else { throw e; }
|
|
1852
|
+
}
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
const bytes = await module.arrayBuffer();
|
|
1856
|
+
return await WebAssembly.instantiate(bytes, imports);
|
|
1857
|
+
} else {
|
|
1858
|
+
const instance = await WebAssembly.instantiate(module, imports);
|
|
1859
|
+
|
|
1860
|
+
if (instance instanceof WebAssembly.Instance) {
|
|
1861
|
+
return { instance, module };
|
|
1862
|
+
} else {
|
|
1863
|
+
return instance;
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
|
|
1867
|
+
function expectedResponseType(type) {
|
|
1868
|
+
switch (type) {
|
|
1869
|
+
case 'basic': case 'cors': case 'default': return true;
|
|
1870
|
+
}
|
|
1871
|
+
return false;
|
|
1872
|
+
}
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
function initSync(module) {
|
|
1876
|
+
if (wasm !== undefined) return wasm;
|
|
1877
|
+
|
|
1878
|
+
|
|
1879
|
+
if (module !== undefined) {
|
|
1880
|
+
if (Object.getPrototypeOf(module) === Object.prototype) {
|
|
1881
|
+
({module} = module)
|
|
1882
|
+
} else {
|
|
1883
|
+
console.warn('using deprecated parameters for `initSync()`; pass a single object instead')
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
const imports = __wbg_get_imports();
|
|
1888
|
+
if (!(module instanceof WebAssembly.Module)) {
|
|
1889
|
+
module = new WebAssembly.Module(module);
|
|
1890
|
+
}
|
|
1891
|
+
const instance = new WebAssembly.Instance(module, imports);
|
|
1892
|
+
return __wbg_finalize_init(instance, module);
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
async function __wbg_init(module_or_path) {
|
|
1896
|
+
if (wasm !== undefined) return wasm;
|
|
1897
|
+
|
|
1898
|
+
|
|
1899
|
+
if (module_or_path !== undefined) {
|
|
1900
|
+
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
1901
|
+
({module_or_path} = module_or_path)
|
|
1902
|
+
} else {
|
|
1903
|
+
console.warn('using deprecated parameters for the initialization function; pass a single object instead')
|
|
1904
|
+
}
|
|
1905
|
+
}
|
|
1906
|
+
|
|
1907
|
+
if (module_or_path === undefined) {
|
|
1908
|
+
module_or_path = new URL('weeb_3_bg.wasm', import.meta.url);
|
|
1909
|
+
}
|
|
1910
|
+
const imports = __wbg_get_imports();
|
|
1911
|
+
|
|
1912
|
+
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {
|
|
1913
|
+
module_or_path = fetch(module_or_path);
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1916
|
+
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
1917
|
+
|
|
1918
|
+
return __wbg_finalize_init(instance, module);
|
|
1919
|
+
}
|
|
1920
|
+
|
|
1921
|
+
export { initSync, __wbg_init as default };
|