glassjar 0.7.0 → 0.8.0
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/assets/{worker-uI0K1NG6.js → worker-DKKpKTP_.js} +383 -404
- package/dist/engine_bg.wasm +0 -0
- package/dist/glassjar.js +1550 -904
- package/dist/glassjar.umd.cjs +5 -2
- package/dist/index.d.ts +17 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/python-packages.d.ts +65 -0
- package/dist/python-packages.d.ts.map +1 -0
- package/dist/python-stdlib-modules.json.d.ts +4 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
class
|
|
1
|
+
class S {
|
|
2
2
|
static __wrap(A) {
|
|
3
3
|
A = A >>> 0;
|
|
4
|
-
const
|
|
5
|
-
return
|
|
4
|
+
const I = Object.create(S.prototype);
|
|
5
|
+
return I.__wbg_ptr = A, T.register(I, I.__wbg_ptr, I), I;
|
|
6
6
|
}
|
|
7
7
|
__destroy_into_raw() {
|
|
8
8
|
const A = this.__wbg_ptr;
|
|
@@ -20,10 +20,10 @@ class h {
|
|
|
20
20
|
B.trap___wbg_wasmer_trap();
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
|
-
Symbol.dispose && (
|
|
24
|
-
function
|
|
25
|
-
const
|
|
26
|
-
B.configure_compiler_toolchain(
|
|
23
|
+
Symbol.dispose && (S.prototype[Symbol.dispose] = S.prototype.free);
|
|
24
|
+
function f(C, A, I, g, Q, E) {
|
|
25
|
+
const D = V(C, B.__wbindgen_malloc), i = F, o = V(A, B.__wbindgen_malloc), q = F, L = k(I, B.__wbindgen_malloc, B.__wbindgen_realloc), p = F, O = k(g, B.__wbindgen_malloc, B.__wbindgen_realloc), t = F, l = k(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), P = F;
|
|
26
|
+
B.configure_compiler_toolchain(D, i, o, q, L, p, O, t, l, P, E);
|
|
27
27
|
}
|
|
28
28
|
function b() {
|
|
29
29
|
B.main();
|
|
@@ -45,33 +45,33 @@ function n() {
|
|
|
45
45
|
__wbg_BigInt_b7bbccdff258c9f2: function(A) {
|
|
46
46
|
return BigInt(A);
|
|
47
47
|
},
|
|
48
|
-
__wbg_Error_8c4e43fe74559d73: function(A,
|
|
49
|
-
return Error(
|
|
48
|
+
__wbg_Error_8c4e43fe74559d73: function(A, I) {
|
|
49
|
+
return Error(G(A, I));
|
|
50
50
|
},
|
|
51
51
|
__wbg_Number_04624de7d0e8332d: function(A) {
|
|
52
52
|
return Number(A);
|
|
53
53
|
},
|
|
54
|
-
__wbg_String_8f0eb39a4a4c2f66: function(A,
|
|
55
|
-
const
|
|
54
|
+
__wbg_String_8f0eb39a4a4c2f66: function(A, I) {
|
|
55
|
+
const g = String(I), Q = k(g, B.__wbindgen_malloc, B.__wbindgen_realloc), E = F;
|
|
56
56
|
N().setInt32(A + 4, E, !0), N().setInt32(A + 0, Q, !0);
|
|
57
57
|
},
|
|
58
|
-
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: function(A,
|
|
59
|
-
const
|
|
58
|
+
__wbg___wbindgen_bigint_get_as_i64_8fcf4ce7f1ca72a2: function(A, I) {
|
|
59
|
+
const g = I, Q = typeof g == "bigint" ? g : void 0;
|
|
60
60
|
N().setBigInt64(A + 8, M(Q) ? BigInt(0) : Q, !0), N().setInt32(A + 0, !M(Q), !0);
|
|
61
61
|
},
|
|
62
62
|
__wbg___wbindgen_boolean_get_bbbb1c18aa2f5e25: function(A) {
|
|
63
|
-
const
|
|
64
|
-
return M(
|
|
63
|
+
const I = A, g = typeof I == "boolean" ? I : void 0;
|
|
64
|
+
return M(g) ? 16777215 : g ? 1 : 0;
|
|
65
65
|
},
|
|
66
|
-
__wbg___wbindgen_debug_string_0bc8482c6e3508ae: function(A,
|
|
67
|
-
const
|
|
66
|
+
__wbg___wbindgen_debug_string_0bc8482c6e3508ae: function(A, I) {
|
|
67
|
+
const g = j(I), Q = k(g, B.__wbindgen_malloc, B.__wbindgen_realloc), E = F;
|
|
68
68
|
N().setInt32(A + 4, E, !0), N().setInt32(A + 0, Q, !0);
|
|
69
69
|
},
|
|
70
70
|
__wbg___wbindgen_function_table_5ae7216dfcbcc506: function() {
|
|
71
71
|
return B.__wbindgen_export;
|
|
72
72
|
},
|
|
73
|
-
__wbg___wbindgen_in_47fa6863be6f2f25: function(A,
|
|
74
|
-
return A in
|
|
73
|
+
__wbg___wbindgen_in_47fa6863be6f2f25: function(A, I) {
|
|
74
|
+
return A in I;
|
|
75
75
|
},
|
|
76
76
|
__wbg___wbindgen_is_bigint_31b12575b56f32fc: function(A) {
|
|
77
77
|
return typeof A == "bigint";
|
|
@@ -80,8 +80,8 @@ function n() {
|
|
|
80
80
|
return typeof A == "function";
|
|
81
81
|
},
|
|
82
82
|
__wbg___wbindgen_is_object_5ae8e5880f2c1fbd: function(A) {
|
|
83
|
-
const
|
|
84
|
-
return typeof
|
|
83
|
+
const I = A;
|
|
84
|
+
return typeof I == "object" && I !== null;
|
|
85
85
|
},
|
|
86
86
|
__wbg___wbindgen_is_string_cd444516edc5b180: function(A) {
|
|
87
87
|
return typeof A == "string";
|
|
@@ -89,64 +89,64 @@ function n() {
|
|
|
89
89
|
__wbg___wbindgen_is_undefined_9e4d92534c42d778: function(A) {
|
|
90
90
|
return A === void 0;
|
|
91
91
|
},
|
|
92
|
-
__wbg___wbindgen_jsval_eq_11888390b0186270: function(A,
|
|
93
|
-
return A ===
|
|
92
|
+
__wbg___wbindgen_jsval_eq_11888390b0186270: function(A, I) {
|
|
93
|
+
return A === I;
|
|
94
94
|
},
|
|
95
|
-
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: function(A,
|
|
96
|
-
return A ==
|
|
95
|
+
__wbg___wbindgen_jsval_loose_eq_9dd77d8cd6671811: function(A, I) {
|
|
96
|
+
return A == I;
|
|
97
97
|
},
|
|
98
|
-
__wbg___wbindgen_lt_bb59cc3d23526e0d: function(A,
|
|
99
|
-
return A <
|
|
98
|
+
__wbg___wbindgen_lt_bb59cc3d23526e0d: function(A, I) {
|
|
99
|
+
return A < I;
|
|
100
100
|
},
|
|
101
101
|
__wbg___wbindgen_neg_6b4d356dff49dcc6: function(A) {
|
|
102
102
|
return -A;
|
|
103
103
|
},
|
|
104
|
-
__wbg___wbindgen_number_get_8ff4255516ccad3e: function(A,
|
|
105
|
-
const
|
|
104
|
+
__wbg___wbindgen_number_get_8ff4255516ccad3e: function(A, I) {
|
|
105
|
+
const g = I, Q = typeof g == "number" ? g : void 0;
|
|
106
106
|
N().setFloat64(A + 8, M(Q) ? 0 : Q, !0), N().setInt32(A + 0, !M(Q), !0);
|
|
107
107
|
},
|
|
108
108
|
__wbg___wbindgen_rethrow_05525c567f154472: function(A) {
|
|
109
109
|
throw A;
|
|
110
110
|
},
|
|
111
|
-
__wbg___wbindgen_shr_ef8e07cce709eb54: function(A,
|
|
112
|
-
return A >>
|
|
111
|
+
__wbg___wbindgen_shr_ef8e07cce709eb54: function(A, I) {
|
|
112
|
+
return A >> I;
|
|
113
113
|
},
|
|
114
|
-
__wbg___wbindgen_string_get_72fb696202c56729: function(A,
|
|
115
|
-
const
|
|
116
|
-
var E = M(Q) ? 0 :
|
|
117
|
-
N().setInt32(A + 4,
|
|
114
|
+
__wbg___wbindgen_string_get_72fb696202c56729: function(A, I) {
|
|
115
|
+
const g = I, Q = typeof g == "string" ? g : void 0;
|
|
116
|
+
var E = M(Q) ? 0 : k(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), D = F;
|
|
117
|
+
N().setInt32(A + 4, D, !0), N().setInt32(A + 0, E, !0);
|
|
118
118
|
},
|
|
119
|
-
__wbg___wbindgen_throw_be289d5034ed271b: function(A,
|
|
120
|
-
throw new Error(
|
|
119
|
+
__wbg___wbindgen_throw_be289d5034ed271b: function(A, I) {
|
|
120
|
+
throw new Error(G(A, I));
|
|
121
121
|
},
|
|
122
122
|
__wbg__wbg_cb_unref_d9b87ff7982e3b21: function(A) {
|
|
123
123
|
A._wbg_cb_unref();
|
|
124
124
|
},
|
|
125
125
|
__wbg_addEventListener_3acb0aad4483804c: function() {
|
|
126
|
-
return
|
|
127
|
-
A.addEventListener(
|
|
126
|
+
return w(function(A, I, g, Q) {
|
|
127
|
+
A.addEventListener(G(I, g), Q);
|
|
128
128
|
}, arguments);
|
|
129
129
|
},
|
|
130
130
|
__wbg_apply_2e22c45cb4f12415: function() {
|
|
131
|
-
return
|
|
132
|
-
return Reflect.apply(A,
|
|
131
|
+
return w(function(A, I, g) {
|
|
132
|
+
return Reflect.apply(A, I, g);
|
|
133
133
|
}, arguments);
|
|
134
134
|
},
|
|
135
135
|
__wbg_apply_ada2ee1a60ac7b3c: function() {
|
|
136
|
-
return
|
|
137
|
-
return A.apply(
|
|
136
|
+
return w(function(A, I, g) {
|
|
137
|
+
return A.apply(I, g);
|
|
138
138
|
}, arguments);
|
|
139
139
|
},
|
|
140
140
|
__wbg_arrayBuffer_bb54076166006c39: function() {
|
|
141
|
-
return
|
|
141
|
+
return w(function(A) {
|
|
142
142
|
return A.arrayBuffer();
|
|
143
143
|
}, arguments);
|
|
144
144
|
},
|
|
145
|
-
__wbg_bind_1dc37de2b9939128: function(A,
|
|
146
|
-
return A.bind(
|
|
145
|
+
__wbg_bind_1dc37de2b9939128: function(A, I, g, Q) {
|
|
146
|
+
return A.bind(I, g, Q);
|
|
147
147
|
},
|
|
148
|
-
__wbg_bind_29ba380591735d8c: function(A,
|
|
149
|
-
return A.bind(
|
|
148
|
+
__wbg_bind_29ba380591735d8c: function(A, I, g) {
|
|
149
|
+
return A.bind(I, g);
|
|
150
150
|
},
|
|
151
151
|
__wbg_buffer_7b5f53e46557d8f1: function(A) {
|
|
152
152
|
return A.buffer;
|
|
@@ -158,18 +158,18 @@ function n() {
|
|
|
158
158
|
return A.byteLength;
|
|
159
159
|
},
|
|
160
160
|
__wbg_call_389efe28435a9388: function() {
|
|
161
|
-
return
|
|
162
|
-
return A.call(
|
|
161
|
+
return w(function(A, I) {
|
|
162
|
+
return A.call(I);
|
|
163
163
|
}, arguments);
|
|
164
164
|
},
|
|
165
165
|
__wbg_call_4708e0c13bdc8e95: function() {
|
|
166
|
-
return
|
|
167
|
-
return A.call(
|
|
166
|
+
return w(function(A, I, g) {
|
|
167
|
+
return A.call(I, g);
|
|
168
168
|
}, arguments);
|
|
169
169
|
},
|
|
170
170
|
__wbg_compareExchange_b578410c358e695e: function() {
|
|
171
|
-
return
|
|
172
|
-
return Atomics.compareExchange(A,
|
|
171
|
+
return w(function(A, I, g, Q) {
|
|
172
|
+
return Atomics.compareExchange(A, I >>> 0, g, Q);
|
|
173
173
|
}, arguments);
|
|
174
174
|
},
|
|
175
175
|
__wbg_constructor_ad6c0ed428f55d34: function(A) {
|
|
@@ -178,8 +178,8 @@ function n() {
|
|
|
178
178
|
__wbg_crypto_86f2631e91b51511: function(A) {
|
|
179
179
|
return A.crypto;
|
|
180
180
|
},
|
|
181
|
-
__wbg_customSections_193491b069139fb1: function(A,
|
|
182
|
-
return WebAssembly.Module.customSections(A,
|
|
181
|
+
__wbg_customSections_193491b069139fb1: function(A, I, g) {
|
|
182
|
+
return WebAssembly.Module.customSections(A, G(I, g));
|
|
183
183
|
},
|
|
184
184
|
__wbg_data_5330da50312d0bc1: function(A) {
|
|
185
185
|
return A.data;
|
|
@@ -190,12 +190,12 @@ function n() {
|
|
|
190
190
|
__wbg_entries_58c7934c745daac7: function(A) {
|
|
191
191
|
return Object.entries(A);
|
|
192
192
|
},
|
|
193
|
-
__wbg_error_7534b8e9a36f1ab4: function(A,
|
|
194
|
-
let
|
|
193
|
+
__wbg_error_7534b8e9a36f1ab4: function(A, I) {
|
|
194
|
+
let g, Q;
|
|
195
195
|
try {
|
|
196
|
-
|
|
196
|
+
g = A, Q = I, console.error(G(A, I));
|
|
197
197
|
} finally {
|
|
198
|
-
B.__wbindgen_free(
|
|
198
|
+
B.__wbindgen_free(g, Q, 1);
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
201
|
__wbg_exports_794a42000dacd046: function(A) {
|
|
@@ -204,20 +204,20 @@ function n() {
|
|
|
204
204
|
__wbg_exports_86b4926134c40288: function(A) {
|
|
205
205
|
return A.exports;
|
|
206
206
|
},
|
|
207
|
-
__wbg_fetch_d1488f40cef1e210: function(A,
|
|
208
|
-
return A.fetch(
|
|
207
|
+
__wbg_fetch_d1488f40cef1e210: function(A, I, g) {
|
|
208
|
+
return A.fetch(G(I, g));
|
|
209
209
|
},
|
|
210
210
|
__wbg_from_bddd64e7d5ff6941: function(A) {
|
|
211
211
|
return Array.from(A);
|
|
212
212
|
},
|
|
213
213
|
__wbg_getPrototypeOf_2653517f1dc884d5: function() {
|
|
214
|
-
return
|
|
214
|
+
return w(function(A) {
|
|
215
215
|
return Reflect.getPrototypeOf(A);
|
|
216
216
|
}, arguments);
|
|
217
217
|
},
|
|
218
218
|
__wbg_getRandomValues_b3f15fcbfabb0f8b: function() {
|
|
219
|
-
return
|
|
220
|
-
A.getRandomValues(
|
|
219
|
+
return w(function(A, I) {
|
|
220
|
+
A.getRandomValues(I);
|
|
221
221
|
}, arguments);
|
|
222
222
|
},
|
|
223
223
|
__wbg_getTime_1e3cd1391c5c3995: function(A) {
|
|
@@ -226,169 +226,169 @@ function n() {
|
|
|
226
226
|
__wbg_getTimezoneOffset_81776d10a4ec18a8: function(A) {
|
|
227
227
|
return A.getTimezoneOffset();
|
|
228
228
|
},
|
|
229
|
-
__wbg_getUint32_bb6f5a401408e7fa: function(A,
|
|
230
|
-
return A.getUint32(
|
|
229
|
+
__wbg_getUint32_bb6f5a401408e7fa: function(A, I, g) {
|
|
230
|
+
return A.getUint32(I >>> 0, g !== 0);
|
|
231
231
|
},
|
|
232
232
|
__wbg_get_7efbcc3819719b0f: function() {
|
|
233
|
-
return
|
|
234
|
-
return A.get(
|
|
233
|
+
return w(function(A, I) {
|
|
234
|
+
return A.get(I >>> 0);
|
|
235
235
|
}, arguments);
|
|
236
236
|
},
|
|
237
|
-
__wbg_get_9b94d73e6221f75c: function(A,
|
|
238
|
-
return A[
|
|
237
|
+
__wbg_get_9b94d73e6221f75c: function(A, I) {
|
|
238
|
+
return A[I >>> 0];
|
|
239
239
|
},
|
|
240
240
|
__wbg_get_b3ed3ad4be2bc8ac: function() {
|
|
241
|
-
return
|
|
242
|
-
return Reflect.get(A,
|
|
241
|
+
return w(function(A, I) {
|
|
242
|
+
return Reflect.get(A, I);
|
|
243
243
|
}, arguments);
|
|
244
244
|
},
|
|
245
|
-
__wbg_get_index_253dd2a9e007656d: function(A,
|
|
246
|
-
return A[
|
|
245
|
+
__wbg_get_index_253dd2a9e007656d: function(A, I) {
|
|
246
|
+
return A[I >>> 0];
|
|
247
247
|
},
|
|
248
|
-
__wbg_get_index_9a5bfdd2ca49c65f: function(A,
|
|
249
|
-
return A[
|
|
248
|
+
__wbg_get_index_9a5bfdd2ca49c65f: function(A, I) {
|
|
249
|
+
return A[I >>> 0];
|
|
250
250
|
},
|
|
251
|
-
__wbg_get_with_ref_key_1dc361bd10053bfe: function(A,
|
|
252
|
-
return A[
|
|
251
|
+
__wbg_get_with_ref_key_1dc361bd10053bfe: function(A, I) {
|
|
252
|
+
return A[I];
|
|
253
253
|
},
|
|
254
254
|
__wbg_grow_5d42bf28c2da22cb: function() {
|
|
255
|
-
return
|
|
256
|
-
return A.grow(
|
|
255
|
+
return w(function(A, I) {
|
|
256
|
+
return A.grow(I >>> 0);
|
|
257
257
|
}, arguments);
|
|
258
258
|
},
|
|
259
259
|
__wbg_grow_d034989fce14cc8e: function() {
|
|
260
|
-
return
|
|
261
|
-
return A.grow(
|
|
260
|
+
return w(function(A, I) {
|
|
261
|
+
return A.grow(I >>> 0);
|
|
262
262
|
}, arguments);
|
|
263
263
|
},
|
|
264
264
|
__wbg_imports_8333d40ab24779ad: function(A) {
|
|
265
265
|
return WebAssembly.Module.imports(A);
|
|
266
266
|
},
|
|
267
267
|
__wbg_instanceof_ArrayBuffer_c367199e2fa2aa04: function(A) {
|
|
268
|
-
let
|
|
268
|
+
let I;
|
|
269
269
|
try {
|
|
270
|
-
|
|
270
|
+
I = A instanceof ArrayBuffer;
|
|
271
271
|
} catch {
|
|
272
|
-
|
|
272
|
+
I = !1;
|
|
273
273
|
}
|
|
274
|
-
return
|
|
274
|
+
return I;
|
|
275
275
|
},
|
|
276
276
|
__wbg_instanceof_Error_8573fe0b0b480f46: function(A) {
|
|
277
|
-
let
|
|
277
|
+
let I;
|
|
278
278
|
try {
|
|
279
|
-
|
|
279
|
+
I = A instanceof Error;
|
|
280
280
|
} catch {
|
|
281
|
-
|
|
281
|
+
I = !1;
|
|
282
282
|
}
|
|
283
|
-
return
|
|
283
|
+
return I;
|
|
284
284
|
},
|
|
285
285
|
__wbg_instanceof_Function_2a29eec978bb3b11: function(A) {
|
|
286
|
-
let
|
|
286
|
+
let I;
|
|
287
287
|
try {
|
|
288
|
-
|
|
288
|
+
I = A instanceof Function;
|
|
289
289
|
} catch {
|
|
290
|
-
|
|
290
|
+
I = !1;
|
|
291
291
|
}
|
|
292
|
-
return
|
|
292
|
+
return I;
|
|
293
293
|
},
|
|
294
294
|
__wbg_instanceof_Global_2db767b6b2347f01: function(A) {
|
|
295
|
-
let
|
|
295
|
+
let I;
|
|
296
296
|
try {
|
|
297
|
-
|
|
297
|
+
I = A instanceof WebAssembly.Global;
|
|
298
298
|
} catch {
|
|
299
|
-
|
|
299
|
+
I = !1;
|
|
300
300
|
}
|
|
301
|
-
return
|
|
301
|
+
return I;
|
|
302
302
|
},
|
|
303
303
|
__wbg_instanceof_Map_53af74335dec57f4: function(A) {
|
|
304
|
-
let
|
|
304
|
+
let I;
|
|
305
305
|
try {
|
|
306
|
-
|
|
306
|
+
I = A instanceof Map;
|
|
307
307
|
} catch {
|
|
308
|
-
|
|
308
|
+
I = !1;
|
|
309
309
|
}
|
|
310
|
-
return
|
|
310
|
+
return I;
|
|
311
311
|
},
|
|
312
312
|
__wbg_instanceof_Memory_dc8c61e3f831ee37: function(A) {
|
|
313
|
-
let
|
|
313
|
+
let I;
|
|
314
314
|
try {
|
|
315
|
-
|
|
315
|
+
I = A instanceof WebAssembly.Memory;
|
|
316
316
|
} catch {
|
|
317
|
-
|
|
317
|
+
I = !1;
|
|
318
318
|
}
|
|
319
|
-
return
|
|
319
|
+
return I;
|
|
320
320
|
},
|
|
321
321
|
__wbg_instanceof_Module_d0d412b14363ba9a: function(A) {
|
|
322
|
-
let
|
|
322
|
+
let I;
|
|
323
323
|
try {
|
|
324
|
-
|
|
324
|
+
I = A instanceof WebAssembly.Module;
|
|
325
325
|
} catch {
|
|
326
|
-
|
|
326
|
+
I = !1;
|
|
327
327
|
}
|
|
328
|
-
return
|
|
328
|
+
return I;
|
|
329
329
|
},
|
|
330
330
|
__wbg_instanceof_Object_1c6af87502b733ed: function(A) {
|
|
331
|
-
let
|
|
331
|
+
let I;
|
|
332
332
|
try {
|
|
333
|
-
|
|
333
|
+
I = A instanceof Object;
|
|
334
334
|
} catch {
|
|
335
|
-
|
|
335
|
+
I = !1;
|
|
336
336
|
}
|
|
337
|
-
return
|
|
337
|
+
return I;
|
|
338
338
|
},
|
|
339
339
|
__wbg_instanceof_RangeError_0b0dd056bc557b89: function(A) {
|
|
340
|
-
let
|
|
340
|
+
let I;
|
|
341
341
|
try {
|
|
342
|
-
|
|
342
|
+
I = A instanceof RangeError;
|
|
343
343
|
} catch {
|
|
344
|
-
|
|
344
|
+
I = !1;
|
|
345
345
|
}
|
|
346
|
-
return
|
|
346
|
+
return I;
|
|
347
347
|
},
|
|
348
348
|
__wbg_instanceof_Response_ee1d54d79ae41977: function(A) {
|
|
349
|
-
let
|
|
349
|
+
let I;
|
|
350
350
|
try {
|
|
351
|
-
|
|
351
|
+
I = A instanceof Response;
|
|
352
352
|
} catch {
|
|
353
|
-
|
|
353
|
+
I = !1;
|
|
354
354
|
}
|
|
355
|
-
return
|
|
355
|
+
return I;
|
|
356
356
|
},
|
|
357
357
|
__wbg_instanceof_SharedArrayBuffer_91d8a2fa16a2cc26: function(A) {
|
|
358
|
-
let
|
|
358
|
+
let I;
|
|
359
359
|
try {
|
|
360
|
-
|
|
360
|
+
I = A instanceof SharedArrayBuffer;
|
|
361
361
|
} catch {
|
|
362
|
-
|
|
362
|
+
I = !1;
|
|
363
363
|
}
|
|
364
|
-
return
|
|
364
|
+
return I;
|
|
365
365
|
},
|
|
366
366
|
__wbg_instanceof_Table_127f216e592f4159: function(A) {
|
|
367
|
-
let
|
|
367
|
+
let I;
|
|
368
368
|
try {
|
|
369
|
-
|
|
369
|
+
I = A instanceof WebAssembly.Table;
|
|
370
370
|
} catch {
|
|
371
|
-
|
|
371
|
+
I = !1;
|
|
372
372
|
}
|
|
373
|
-
return
|
|
373
|
+
return I;
|
|
374
374
|
},
|
|
375
375
|
__wbg_instanceof_Tag_f1d6b24a98b95210: function(A) {
|
|
376
|
-
let
|
|
376
|
+
let I;
|
|
377
377
|
try {
|
|
378
|
-
|
|
378
|
+
I = A instanceof WebAssembly.Tag;
|
|
379
379
|
} catch {
|
|
380
|
-
|
|
380
|
+
I = !1;
|
|
381
381
|
}
|
|
382
|
-
return
|
|
382
|
+
return I;
|
|
383
383
|
},
|
|
384
384
|
__wbg_instanceof_Uint8Array_9b9075935c74707c: function(A) {
|
|
385
|
-
let
|
|
385
|
+
let I;
|
|
386
386
|
try {
|
|
387
|
-
|
|
387
|
+
I = A instanceof Uint8Array;
|
|
388
388
|
} catch {
|
|
389
|
-
|
|
389
|
+
I = !1;
|
|
390
390
|
}
|
|
391
|
-
return
|
|
391
|
+
return I;
|
|
392
392
|
},
|
|
393
393
|
__wbg_isArray_d314bb98fcf08331: function(A) {
|
|
394
394
|
return Array.isArray(A);
|
|
@@ -396,8 +396,8 @@ function n() {
|
|
|
396
396
|
__wbg_isSafeInteger_bfbc7332a9768d2a: function(A) {
|
|
397
397
|
return Number.isSafeInteger(A);
|
|
398
398
|
},
|
|
399
|
-
__wbg_is_f29129f676e5410c: function(A,
|
|
400
|
-
return Object.is(A,
|
|
399
|
+
__wbg_is_f29129f676e5410c: function(A, I) {
|
|
400
|
+
return Object.is(A, I);
|
|
401
401
|
},
|
|
402
402
|
__wbg_iterator_6ff6560ca1568e55: function() {
|
|
403
403
|
return Symbol.iterator;
|
|
@@ -412,8 +412,8 @@ function n() {
|
|
|
412
412
|
return A.length;
|
|
413
413
|
},
|
|
414
414
|
__wbg_load_eff64ff5e429a422: function() {
|
|
415
|
-
return
|
|
416
|
-
return Atomics.load(A,
|
|
415
|
+
return w(function(A, I) {
|
|
416
|
+
return Atomics.load(A, I >>> 0);
|
|
417
417
|
}, arguments);
|
|
418
418
|
},
|
|
419
419
|
__wbg_message_9ddc4b9a62a7c379: function(A) {
|
|
@@ -422,19 +422,14 @@ function n() {
|
|
|
422
422
|
__wbg_msCrypto_d562bbe83e0d4b91: function(A) {
|
|
423
423
|
return A.msCrypto;
|
|
424
424
|
},
|
|
425
|
-
__wbg_new_0728bd2d4c5d41dd: function() {
|
|
426
|
-
return D(function(A) {
|
|
427
|
-
return new WebAssembly.Tag(A);
|
|
428
|
-
}, arguments);
|
|
429
|
-
},
|
|
430
425
|
__wbg_new_0_73afc35eb544e539: function() {
|
|
431
426
|
return /* @__PURE__ */ new Date();
|
|
432
427
|
},
|
|
433
428
|
__wbg_new_245cd5c49157e602: function(A) {
|
|
434
429
|
return new Date(A);
|
|
435
430
|
},
|
|
436
|
-
__wbg_new_2ac7fa8be584d280: function(A,
|
|
437
|
-
return new DataView(A,
|
|
431
|
+
__wbg_new_2ac7fa8be584d280: function(A, I, g) {
|
|
432
|
+
return new DataView(A, I >>> 0, g >>> 0);
|
|
438
433
|
},
|
|
439
434
|
__wbg_new_361308b2356cecd0: function() {
|
|
440
435
|
return new Object();
|
|
@@ -443,47 +438,42 @@ function n() {
|
|
|
443
438
|
return new Array();
|
|
444
439
|
},
|
|
445
440
|
__wbg_new_4a996a46a82782b6: function() {
|
|
446
|
-
return
|
|
447
|
-
return new WebAssembly.Global(A,
|
|
441
|
+
return w(function(A, I) {
|
|
442
|
+
return new WebAssembly.Global(A, I);
|
|
448
443
|
}, arguments);
|
|
449
444
|
},
|
|
450
445
|
__wbg_new_57c27ff3ddf5b62c: function() {
|
|
451
|
-
return
|
|
446
|
+
return w(function(A) {
|
|
452
447
|
return new WebAssembly.Module(A);
|
|
453
448
|
}, arguments);
|
|
454
449
|
},
|
|
455
|
-
__wbg_new_67274f72d5abea37: function() {
|
|
456
|
-
return D(function(A) {
|
|
457
|
-
return new WebAssembly.Table(A);
|
|
458
|
-
}, arguments);
|
|
459
|
-
},
|
|
460
450
|
__wbg_new_8a6f238a6ece86ea: function() {
|
|
461
451
|
return new Error();
|
|
462
452
|
},
|
|
463
453
|
__wbg_new_a4e3cab1cdd635ba: function() {
|
|
464
|
-
return
|
|
465
|
-
return new WebAssembly.Instance(A,
|
|
454
|
+
return w(function(A, I) {
|
|
455
|
+
return new WebAssembly.Instance(A, I);
|
|
466
456
|
}, arguments);
|
|
467
457
|
},
|
|
468
458
|
__wbg_new_b061c0550d9f3281: function() {
|
|
469
|
-
return
|
|
459
|
+
return w(function(A) {
|
|
470
460
|
return new WebAssembly.Memory(A);
|
|
471
461
|
}, arguments);
|
|
472
462
|
},
|
|
473
|
-
__wbg_new_b5d9e2fb389fef91: function(A,
|
|
463
|
+
__wbg_new_b5d9e2fb389fef91: function(A, I) {
|
|
474
464
|
try {
|
|
475
|
-
var
|
|
476
|
-
const o =
|
|
477
|
-
|
|
465
|
+
var g = { a: A, b: I }, Q = (D, i) => {
|
|
466
|
+
const o = g.a;
|
|
467
|
+
g.a = 0;
|
|
478
468
|
try {
|
|
479
|
-
return $(o,
|
|
469
|
+
return $(o, g.b, D, i);
|
|
480
470
|
} finally {
|
|
481
|
-
|
|
471
|
+
g.a = o;
|
|
482
472
|
}
|
|
483
473
|
};
|
|
484
474
|
return new Promise(Q);
|
|
485
475
|
} finally {
|
|
486
|
-
|
|
476
|
+
g.a = g.b = 0;
|
|
487
477
|
}
|
|
488
478
|
},
|
|
489
479
|
__wbg_new_ca409f861989e0c5: function(A) {
|
|
@@ -495,23 +485,23 @@ function n() {
|
|
|
495
485
|
__wbg_new_dd2b680c8bf6ae29: function(A) {
|
|
496
486
|
return new Uint8Array(A);
|
|
497
487
|
},
|
|
498
|
-
__wbg_new_from_slice_a3d2629dc1826784: function(A,
|
|
499
|
-
return new Uint8Array(
|
|
488
|
+
__wbg_new_from_slice_a3d2629dc1826784: function(A, I) {
|
|
489
|
+
return new Uint8Array(s(A, I));
|
|
500
490
|
},
|
|
501
|
-
__wbg_new_no_args_1c7c842f08d00ebb: function(A,
|
|
502
|
-
return new Function(
|
|
491
|
+
__wbg_new_no_args_1c7c842f08d00ebb: function(A, I) {
|
|
492
|
+
return new Function(G(A, I));
|
|
503
493
|
},
|
|
504
|
-
__wbg_new_with_args_7bba34e94b1cfa40: function(A,
|
|
505
|
-
return new Function(
|
|
494
|
+
__wbg_new_with_args_7bba34e94b1cfa40: function(A, I, g, Q) {
|
|
495
|
+
return new Function(G(A, I), G(g, Q));
|
|
506
496
|
},
|
|
507
|
-
__wbg_new_with_byte_offset_9120ba79e057895b: function(A,
|
|
508
|
-
return new Uint8Array(A,
|
|
497
|
+
__wbg_new_with_byte_offset_9120ba79e057895b: function(A, I) {
|
|
498
|
+
return new Uint8Array(A, I >>> 0);
|
|
509
499
|
},
|
|
510
|
-
__wbg_new_with_byte_offset_and_length_aa261d9c9da49eb1: function(A,
|
|
511
|
-
return new Uint8Array(A,
|
|
500
|
+
__wbg_new_with_byte_offset_and_length_aa261d9c9da49eb1: function(A, I, g) {
|
|
501
|
+
return new Uint8Array(A, I >>> 0, g >>> 0);
|
|
512
502
|
},
|
|
513
|
-
__wbg_new_with_byte_offset_and_length_bc2e7b72cc96d1c1: function(A,
|
|
514
|
-
return new Int32Array(A,
|
|
503
|
+
__wbg_new_with_byte_offset_and_length_bc2e7b72cc96d1c1: function(A, I, g) {
|
|
504
|
+
return new Int32Array(A, I >>> 0, g >>> 0);
|
|
515
505
|
},
|
|
516
506
|
__wbg_new_with_length_1763c527b2923202: function(A) {
|
|
517
507
|
return new Array(A >>> 0);
|
|
@@ -520,7 +510,7 @@ function n() {
|
|
|
520
510
|
return new Uint8Array(A >>> 0);
|
|
521
511
|
},
|
|
522
512
|
__wbg_next_3482f54c49e8af19: function() {
|
|
523
|
-
return
|
|
513
|
+
return w(function(A) {
|
|
524
514
|
return A.next();
|
|
525
515
|
}, arguments);
|
|
526
516
|
},
|
|
@@ -531,8 +521,8 @@ function n() {
|
|
|
531
521
|
return A.node;
|
|
532
522
|
},
|
|
533
523
|
__wbg_notify_78a90977fab74963: function() {
|
|
534
|
-
return
|
|
535
|
-
return Atomics.notify(A,
|
|
524
|
+
return w(function(A, I) {
|
|
525
|
+
return Atomics.notify(A, I >>> 0);
|
|
536
526
|
}, arguments);
|
|
537
527
|
},
|
|
538
528
|
__wbg_now_a3af9a2f4bbaa4d1: function() {
|
|
@@ -545,18 +535,18 @@ function n() {
|
|
|
545
535
|
return A.ok;
|
|
546
536
|
},
|
|
547
537
|
__wbg_postMessage_2041f4e90af61318: function() {
|
|
548
|
-
return
|
|
549
|
-
A.postMessage(
|
|
538
|
+
return w(function(A, I) {
|
|
539
|
+
A.postMessage(I);
|
|
550
540
|
}, arguments);
|
|
551
541
|
},
|
|
552
542
|
__wbg_process_3975fd6c72f520aa: function(A) {
|
|
553
543
|
return A.process;
|
|
554
544
|
},
|
|
555
|
-
__wbg_prototypesetcall_bdcdcc5842e4d77d: function(A,
|
|
556
|
-
Uint8Array.prototype.set.call(
|
|
545
|
+
__wbg_prototypesetcall_bdcdcc5842e4d77d: function(A, I, g) {
|
|
546
|
+
Uint8Array.prototype.set.call(s(A, I), g);
|
|
557
547
|
},
|
|
558
|
-
__wbg_push_8ffdcb2063340ba5: function(A,
|
|
559
|
-
return A.push(
|
|
548
|
+
__wbg_push_8ffdcb2063340ba5: function(A, I) {
|
|
549
|
+
return A.push(I);
|
|
560
550
|
},
|
|
561
551
|
__wbg_queueMicrotask_0aa0a927f78f5d98: function(A) {
|
|
562
552
|
return A.queueMicrotask;
|
|
@@ -565,17 +555,17 @@ function n() {
|
|
|
565
555
|
queueMicrotask(A);
|
|
566
556
|
},
|
|
567
557
|
__wbg_randomFillSync_f8c153b79f285817: function() {
|
|
568
|
-
return
|
|
569
|
-
A.randomFillSync(
|
|
558
|
+
return w(function(A, I) {
|
|
559
|
+
A.randomFillSync(I);
|
|
570
560
|
}, arguments);
|
|
571
561
|
},
|
|
572
562
|
__wbg_removeEventListener_e63328781a5b9af9: function() {
|
|
573
|
-
return
|
|
574
|
-
A.removeEventListener(
|
|
563
|
+
return w(function(A, I, g, Q) {
|
|
564
|
+
A.removeEventListener(G(I, g), Q);
|
|
575
565
|
}, arguments);
|
|
576
566
|
},
|
|
577
567
|
__wbg_require_b74f47fc2d022fd6: function() {
|
|
578
|
-
return
|
|
568
|
+
return w(function() {
|
|
579
569
|
return module.require;
|
|
580
570
|
}, arguments);
|
|
581
571
|
},
|
|
@@ -583,99 +573,99 @@ function n() {
|
|
|
583
573
|
return Promise.resolve(A);
|
|
584
574
|
},
|
|
585
575
|
__wbg_setTimeout_e0aacd5a637418a6: function() {
|
|
586
|
-
return
|
|
587
|
-
return A.setTimeout(
|
|
576
|
+
return w(function(A, I, g) {
|
|
577
|
+
return A.setTimeout(I, g);
|
|
588
578
|
}, arguments);
|
|
589
579
|
},
|
|
590
|
-
__wbg_setUint32_d168af7751a8557e: function(A,
|
|
591
|
-
A.setUint32(
|
|
580
|
+
__wbg_setUint32_d168af7751a8557e: function(A, I, g, Q) {
|
|
581
|
+
A.setUint32(I >>> 0, g >>> 0, Q !== 0);
|
|
592
582
|
},
|
|
593
583
|
__wbg_set_0af2522656c2a71b: function() {
|
|
594
|
-
return
|
|
595
|
-
A.set(
|
|
584
|
+
return w(function(A, I, g) {
|
|
585
|
+
A.set(I >>> 0, g);
|
|
596
586
|
}, arguments);
|
|
597
587
|
},
|
|
598
|
-
__wbg_set_1eb0999cf5d27fc8: function(A,
|
|
599
|
-
return A.set(
|
|
588
|
+
__wbg_set_1eb0999cf5d27fc8: function(A, I, g) {
|
|
589
|
+
return A.set(I, g);
|
|
600
590
|
},
|
|
601
|
-
__wbg_set_25cf9deff6bf0ea8: function(A,
|
|
602
|
-
A.set(
|
|
591
|
+
__wbg_set_25cf9deff6bf0ea8: function(A, I, g) {
|
|
592
|
+
A.set(I, g >>> 0);
|
|
603
593
|
},
|
|
604
|
-
__wbg_set_3f1d0b984ed272ed: function(A,
|
|
605
|
-
A[
|
|
594
|
+
__wbg_set_3f1d0b984ed272ed: function(A, I, g) {
|
|
595
|
+
A[I] = g;
|
|
606
596
|
},
|
|
607
597
|
__wbg_set_6cb8631f80447a67: function() {
|
|
608
|
-
return
|
|
609
|
-
return Reflect.set(A,
|
|
598
|
+
return w(function(A, I, g) {
|
|
599
|
+
return Reflect.set(A, I, g);
|
|
610
600
|
}, arguments);
|
|
611
601
|
},
|
|
612
|
-
__wbg_set_cc56eefd2dd91957: function(A,
|
|
613
|
-
A.set(
|
|
602
|
+
__wbg_set_cc56eefd2dd91957: function(A, I, g) {
|
|
603
|
+
A.set(s(I, g));
|
|
614
604
|
},
|
|
615
|
-
__wbg_set_f43e577aea94465b: function(A,
|
|
616
|
-
A[
|
|
605
|
+
__wbg_set_f43e577aea94465b: function(A, I, g) {
|
|
606
|
+
A[I >>> 0] = g;
|
|
617
607
|
},
|
|
618
|
-
__wbg_set_index_b3244a6c458021e4: function(A,
|
|
619
|
-
A[
|
|
608
|
+
__wbg_set_index_b3244a6c458021e4: function(A, I, g) {
|
|
609
|
+
A[I >>> 0] = g;
|
|
620
610
|
},
|
|
621
|
-
__wbg_set_index_f259b54e97f7b177: function(A,
|
|
622
|
-
A[
|
|
611
|
+
__wbg_set_index_f259b54e97f7b177: function(A, I, g) {
|
|
612
|
+
A[I >>> 0] = g;
|
|
623
613
|
},
|
|
624
|
-
__wbg_set_onmessage_ea7cc2ba099021cd: function(A,
|
|
625
|
-
A.onmessage =
|
|
614
|
+
__wbg_set_onmessage_ea7cc2ba099021cd: function(A, I) {
|
|
615
|
+
A.onmessage = I;
|
|
626
616
|
},
|
|
627
|
-
__wbg_set_value_fc06e541de098215: function(A,
|
|
628
|
-
A.value =
|
|
617
|
+
__wbg_set_value_fc06e541de098215: function(A, I) {
|
|
618
|
+
A.value = I;
|
|
629
619
|
},
|
|
630
|
-
__wbg_slice_8bbd46adb2100583: function(A,
|
|
631
|
-
return A.slice(
|
|
620
|
+
__wbg_slice_8bbd46adb2100583: function(A, I, g) {
|
|
621
|
+
return A.slice(I >>> 0, g >>> 0);
|
|
632
622
|
},
|
|
633
|
-
__wbg_stack_0ed75d68575b0f3c: function(A,
|
|
634
|
-
const
|
|
623
|
+
__wbg_stack_0ed75d68575b0f3c: function(A, I) {
|
|
624
|
+
const g = I.stack, Q = k(g, B.__wbindgen_malloc, B.__wbindgen_realloc), E = F;
|
|
635
625
|
N().setInt32(A + 4, E, !0), N().setInt32(A + 0, Q, !0);
|
|
636
626
|
},
|
|
637
627
|
__wbg_static_accessor_GLOBAL_12837167ad935116: function() {
|
|
638
628
|
const A = typeof global > "u" ? null : global;
|
|
639
|
-
return M(A) ? 0 :
|
|
629
|
+
return M(A) ? 0 : Y(A);
|
|
640
630
|
},
|
|
641
631
|
__wbg_static_accessor_GLOBAL_THIS_e628e89ab3b1c95f: function() {
|
|
642
632
|
const A = typeof globalThis > "u" ? null : globalThis;
|
|
643
|
-
return M(A) ? 0 :
|
|
633
|
+
return M(A) ? 0 : Y(A);
|
|
644
634
|
},
|
|
645
635
|
__wbg_static_accessor_SELF_a621d3dfbb60d0ce: function() {
|
|
646
636
|
const A = typeof self > "u" ? null : self;
|
|
647
|
-
return M(A) ? 0 :
|
|
637
|
+
return M(A) ? 0 : Y(A);
|
|
648
638
|
},
|
|
649
639
|
__wbg_static_accessor_WINDOW_f8727f0cf888e0bd: function() {
|
|
650
640
|
const A = typeof window > "u" ? null : window;
|
|
651
|
-
return M(A) ? 0 :
|
|
641
|
+
return M(A) ? 0 : Y(A);
|
|
652
642
|
},
|
|
653
643
|
__wbg_store_d1d951c98d9bed41: function() {
|
|
654
|
-
return
|
|
655
|
-
return Atomics.store(A,
|
|
644
|
+
return w(function(A, I, g) {
|
|
645
|
+
return Atomics.store(A, I >>> 0, g);
|
|
656
646
|
}, arguments);
|
|
657
647
|
},
|
|
658
|
-
__wbg_subarray_a96e1fef17ed23cb: function(A,
|
|
659
|
-
return A.subarray(
|
|
648
|
+
__wbg_subarray_a96e1fef17ed23cb: function(A, I, g) {
|
|
649
|
+
return A.subarray(I >>> 0, g >>> 0);
|
|
660
650
|
},
|
|
661
|
-
__wbg_then_0d9fe2c7b1857d32: function(A,
|
|
662
|
-
return A.then(
|
|
651
|
+
__wbg_then_0d9fe2c7b1857d32: function(A, I, g) {
|
|
652
|
+
return A.then(I, g);
|
|
663
653
|
},
|
|
664
|
-
__wbg_then_b9e7b3b5f1a9e1b5: function(A,
|
|
665
|
-
return A.then(
|
|
654
|
+
__wbg_then_b9e7b3b5f1a9e1b5: function(A, I) {
|
|
655
|
+
return A.then(I);
|
|
666
656
|
},
|
|
667
|
-
__wbg_toString_56d946daff83867b: function(A,
|
|
668
|
-
const Q =
|
|
669
|
-
N().setInt32(A + 4,
|
|
657
|
+
__wbg_toString_56d946daff83867b: function(A, I, g) {
|
|
658
|
+
const Q = I.toString(g), E = k(Q, B.__wbindgen_malloc, B.__wbindgen_realloc), D = F;
|
|
659
|
+
N().setInt32(A + 4, D, !0), N().setInt32(A + 0, E, !0);
|
|
670
660
|
},
|
|
671
661
|
__wbg_toString_964ff7fe6eca8362: function(A) {
|
|
672
662
|
return A.toString();
|
|
673
663
|
},
|
|
674
664
|
__wbg_trap_new: function(A) {
|
|
675
|
-
return
|
|
665
|
+
return S.__wrap(A);
|
|
676
666
|
},
|
|
677
667
|
__wbg_validate_71c2d02a71bda62f: function() {
|
|
678
|
-
return
|
|
668
|
+
return w(function(A) {
|
|
679
669
|
return WebAssembly.validate(A);
|
|
680
670
|
}, arguments);
|
|
681
671
|
},
|
|
@@ -689,30 +679,30 @@ function n() {
|
|
|
689
679
|
return A.versions;
|
|
690
680
|
},
|
|
691
681
|
__wbg_wait_be5dae1e53f590f1: function() {
|
|
692
|
-
return
|
|
693
|
-
return Atomics.wait(A,
|
|
682
|
+
return w(function(A, I, g) {
|
|
683
|
+
return Atomics.wait(A, I >>> 0, g);
|
|
694
684
|
}, arguments);
|
|
695
685
|
},
|
|
696
|
-
__wbg_warn_81ab00e6e16e886d: function(A,
|
|
697
|
-
console.warn(A,
|
|
686
|
+
__wbg_warn_81ab00e6e16e886d: function(A, I, g) {
|
|
687
|
+
console.warn(A, I, g);
|
|
698
688
|
},
|
|
699
|
-
__wbindgen_cast_0000000000000001: function(A,
|
|
700
|
-
return
|
|
689
|
+
__wbindgen_cast_0000000000000001: function(A, I) {
|
|
690
|
+
return AA(A, I, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_core_37ee0ce0c4cd57d5___ops__function__Fn__web_sys_ca373f7aaf47173f___features__gen_MessageEvent__MessageEvent____Output_______, v);
|
|
701
691
|
},
|
|
702
|
-
__wbindgen_cast_0000000000000002: function(A,
|
|
703
|
-
return
|
|
692
|
+
__wbindgen_cast_0000000000000002: function(A, I) {
|
|
693
|
+
return R(A, I, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_core_37ee0ce0c4cd57d5___ops__function__Fn__web_sys_ca373f7aaf47173f___features__gen_MessageEvent__MessageEvent____Output_______, u);
|
|
704
694
|
},
|
|
705
|
-
__wbindgen_cast_0000000000000003: function(A,
|
|
706
|
-
return
|
|
695
|
+
__wbindgen_cast_0000000000000003: function(A, I) {
|
|
696
|
+
return R(A, I, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_for__a__core_37ee0ce0c4cd57d5___ops__function__FnMut____a_js_sys_9eaf8169b8189500___Array____Output___core_37ee0ce0c4cd57d5___result__Result_js_sys_9eaf8169b8189500___Array__wasm_bindgen_36932265c58943ab___JsValue___, Z);
|
|
707
697
|
},
|
|
708
|
-
__wbindgen_cast_0000000000000004: function(A,
|
|
709
|
-
return
|
|
698
|
+
__wbindgen_cast_0000000000000004: function(A, I) {
|
|
699
|
+
return R(A, I, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_for__a__core_37ee0ce0c4cd57d5___ops__function__FnMut____a_js_sys_9eaf8169b8189500___Array____Output___core_37ee0ce0c4cd57d5___result__Result_js_sys_9eaf8169b8189500___Array__wasm_bindgen_36932265c58943ab___JsValue___, Z);
|
|
710
700
|
},
|
|
711
|
-
__wbindgen_cast_0000000000000005: function(A,
|
|
712
|
-
return
|
|
701
|
+
__wbindgen_cast_0000000000000005: function(A, I) {
|
|
702
|
+
return R(A, I, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_for__a__core_37ee0ce0c4cd57d5___ops__function__FnMut____a_js_sys_9eaf8169b8189500___Array____Output___core_37ee0ce0c4cd57d5___result__Result_js_sys_9eaf8169b8189500___Array__wasm_bindgen_36932265c58943ab___JsValue___, _);
|
|
713
703
|
},
|
|
714
|
-
__wbindgen_cast_0000000000000006: function(A,
|
|
715
|
-
return
|
|
704
|
+
__wbindgen_cast_0000000000000006: function(A, I) {
|
|
705
|
+
return R(A, I, B.wasm_bindgen_36932265c58943ab___closure__destroy___dyn_core_37ee0ce0c4cd57d5___ops__function__FnMut__wasm_bindgen_36932265c58943ab___JsValue____Output_______, e);
|
|
716
706
|
},
|
|
717
707
|
__wbindgen_cast_0000000000000007: function(A) {
|
|
718
708
|
return A;
|
|
@@ -720,64 +710,60 @@ function n() {
|
|
|
720
710
|
__wbindgen_cast_0000000000000008: function(A) {
|
|
721
711
|
return A;
|
|
722
712
|
},
|
|
723
|
-
__wbindgen_cast_0000000000000009: function(A,
|
|
724
|
-
return
|
|
713
|
+
__wbindgen_cast_0000000000000009: function(A, I) {
|
|
714
|
+
return s(A, I);
|
|
725
715
|
},
|
|
726
|
-
__wbindgen_cast_000000000000000a: function(A,
|
|
727
|
-
return
|
|
716
|
+
__wbindgen_cast_000000000000000a: function(A, I) {
|
|
717
|
+
return G(A, I);
|
|
728
718
|
},
|
|
729
|
-
__wbindgen_cast_000000000000000b: function(A,
|
|
730
|
-
return BigInt.asUintN(64, A) | BigInt.asUintN(64,
|
|
719
|
+
__wbindgen_cast_000000000000000b: function(A, I) {
|
|
720
|
+
return BigInt.asUintN(64, A) | BigInt.asUintN(64, I) << BigInt(64);
|
|
731
721
|
},
|
|
732
722
|
__wbindgen_cast_000000000000000c: function(A) {
|
|
733
723
|
return BigInt.asUintN(64, A);
|
|
734
724
|
},
|
|
735
|
-
__wbindgen_cast_000000000000000d: function(A, g) {
|
|
736
|
-
var I = AA(A, g).slice();
|
|
737
|
-
return B.__wbindgen_free(A, g * 4, 4), I;
|
|
738
|
-
},
|
|
739
725
|
__wbindgen_init_externref_table: function() {
|
|
740
|
-
const A = B.__wbindgen_externrefs,
|
|
741
|
-
A.set(0, void 0), A.set(
|
|
726
|
+
const A = B.__wbindgen_externrefs, I = A.grow(4);
|
|
727
|
+
A.set(0, void 0), A.set(I + 0, void 0), A.set(I + 1, null), A.set(I + 2, !0), A.set(I + 3, !1);
|
|
742
728
|
}
|
|
743
729
|
}
|
|
744
730
|
};
|
|
745
731
|
}
|
|
746
|
-
function
|
|
747
|
-
B.
|
|
732
|
+
function v(C, A, I) {
|
|
733
|
+
B.wasm_bindgen_36932265c58943ab___convert__closures_____invoke___web_sys_ca373f7aaf47173f___features__gen_MessageEvent__MessageEvent_____(C, A, I);
|
|
748
734
|
}
|
|
749
|
-
function
|
|
750
|
-
B.
|
|
735
|
+
function u(C, A, I) {
|
|
736
|
+
B.wasm_bindgen_36932265c58943ab___convert__closures_____invoke___web_sys_ca373f7aaf47173f___features__gen_MessageEvent__MessageEvent______1_(C, A, I);
|
|
751
737
|
}
|
|
752
|
-
function e(C, A,
|
|
753
|
-
B.
|
|
738
|
+
function e(C, A, I) {
|
|
739
|
+
B.wasm_bindgen_36932265c58943ab___convert__closures_____invoke___wasm_bindgen_36932265c58943ab___JsValue_____(C, A, I);
|
|
754
740
|
}
|
|
755
|
-
function _(C, A,
|
|
756
|
-
const
|
|
757
|
-
if (
|
|
758
|
-
throw
|
|
741
|
+
function _(C, A, I) {
|
|
742
|
+
const g = B.wasm_bindgen_36932265c58943ab___convert__closures________invoke___js_sys_9eaf8169b8189500___Array__core_37ee0ce0c4cd57d5___result__Result_____wasm_bindgen_36932265c58943ab___JsValue__(C, A, I);
|
|
743
|
+
if (g[1])
|
|
744
|
+
throw W(g[0]);
|
|
759
745
|
}
|
|
760
|
-
function
|
|
761
|
-
const
|
|
762
|
-
if (
|
|
763
|
-
throw
|
|
764
|
-
return
|
|
746
|
+
function Z(C, A, I) {
|
|
747
|
+
const g = B.wasm_bindgen_36932265c58943ab___convert__closures________invoke___js_sys_9eaf8169b8189500___Array__core_37ee0ce0c4cd57d5___result__Result_js_sys_9eaf8169b8189500___Array__wasm_bindgen_36932265c58943ab___JsValue__(C, A, I);
|
|
748
|
+
if (g[2])
|
|
749
|
+
throw W(g[1]);
|
|
750
|
+
return W(g[0]);
|
|
765
751
|
}
|
|
766
|
-
function $(C, A,
|
|
767
|
-
B.wasm_bindgen_36932265c58943ab___convert__closures_____invoke___wasm_bindgen_36932265c58943ab___JsValue__wasm_bindgen_36932265c58943ab___JsValue_____(C, A,
|
|
752
|
+
function $(C, A, I, g) {
|
|
753
|
+
B.wasm_bindgen_36932265c58943ab___convert__closures_____invoke___wasm_bindgen_36932265c58943ab___JsValue__wasm_bindgen_36932265c58943ab___JsValue_____(C, A, I, g);
|
|
768
754
|
}
|
|
769
755
|
typeof FinalizationRegistry > "u" || new FinalizationRegistry((C) => B.__wbg_dapadapter_free(C >>> 0, 1));
|
|
770
756
|
const T = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
771
757
|
}, unregister: () => {
|
|
772
758
|
} } : new FinalizationRegistry((C) => B.__wbg_trap_free(C >>> 0, 1));
|
|
773
|
-
function
|
|
759
|
+
function Y(C) {
|
|
774
760
|
const A = B.__externref_table_alloc();
|
|
775
761
|
return B.__wbindgen_externrefs.set(A, C), A;
|
|
776
762
|
}
|
|
777
763
|
const H = typeof FinalizationRegistry > "u" ? { register: () => {
|
|
778
764
|
}, unregister: () => {
|
|
779
765
|
} } : new FinalizationRegistry((C) => C.dtor(C.a, C.b));
|
|
780
|
-
function
|
|
766
|
+
function j(C) {
|
|
781
767
|
const A = typeof C;
|
|
782
768
|
if (A == "number" || A == "boolean" || C == null)
|
|
783
769
|
return `${C}`;
|
|
@@ -794,63 +780,56 @@ function O(C) {
|
|
|
794
780
|
if (Array.isArray(C)) {
|
|
795
781
|
const Q = C.length;
|
|
796
782
|
let E = "[";
|
|
797
|
-
Q > 0 && (E +=
|
|
798
|
-
for (let
|
|
799
|
-
E += ", " +
|
|
783
|
+
Q > 0 && (E += j(C[0]));
|
|
784
|
+
for (let D = 1; D < Q; D++)
|
|
785
|
+
E += ", " + j(C[D]);
|
|
800
786
|
return E += "]", E;
|
|
801
787
|
}
|
|
802
|
-
const
|
|
803
|
-
let
|
|
804
|
-
if (
|
|
805
|
-
|
|
788
|
+
const I = /\[object ([^\]]+)\]/.exec(toString.call(C));
|
|
789
|
+
let g;
|
|
790
|
+
if (I && I.length > 1)
|
|
791
|
+
g = I[1];
|
|
806
792
|
else
|
|
807
793
|
return toString.call(C);
|
|
808
|
-
if (
|
|
794
|
+
if (g == "Object")
|
|
809
795
|
try {
|
|
810
796
|
return "Object(" + JSON.stringify(C) + ")";
|
|
811
797
|
} catch {
|
|
812
798
|
return "Object";
|
|
813
799
|
}
|
|
814
800
|
return C instanceof Error ? `${C.name}: ${C.message}
|
|
815
|
-
${C.stack}` :
|
|
801
|
+
${C.stack}` : g;
|
|
816
802
|
}
|
|
817
|
-
function
|
|
818
|
-
C = C >>> 0;
|
|
819
|
-
const g = N(), I = [];
|
|
820
|
-
for (let Q = C; Q < C + 4 * A; Q += 4)
|
|
821
|
-
I.push(B.__wbindgen_externrefs.get(g.getUint32(Q, !0)));
|
|
822
|
-
return B.__externref_drop_slice(C, A), I;
|
|
823
|
-
}
|
|
824
|
-
function c(C, A) {
|
|
825
|
-
return C = C >>> 0, R().subarray(C / 1, C / 1 + A);
|
|
803
|
+
function s(C, A) {
|
|
804
|
+
return C = C >>> 0, U().subarray(C / 1, C / 1 + A);
|
|
826
805
|
}
|
|
827
806
|
let K = null;
|
|
828
807
|
function N() {
|
|
829
808
|
return (K === null || K.buffer.detached === !0 || K.buffer.detached === void 0 && K.buffer !== B.memory.buffer) && (K = new DataView(B.memory.buffer)), K;
|
|
830
809
|
}
|
|
831
|
-
function
|
|
832
|
-
return C = C >>> 0,
|
|
810
|
+
function G(C, A) {
|
|
811
|
+
return C = C >>> 0, gA(C, A);
|
|
833
812
|
}
|
|
834
813
|
let J = null;
|
|
835
|
-
function
|
|
814
|
+
function U() {
|
|
836
815
|
return (J === null || J.byteLength === 0) && (J = new Uint8Array(B.memory.buffer)), J;
|
|
837
816
|
}
|
|
838
|
-
function
|
|
817
|
+
function w(C, A) {
|
|
839
818
|
try {
|
|
840
819
|
return C.apply(this, A);
|
|
841
|
-
} catch (
|
|
842
|
-
const
|
|
843
|
-
B.__wbindgen_exn_store(
|
|
820
|
+
} catch (I) {
|
|
821
|
+
const g = Y(I);
|
|
822
|
+
B.__wbindgen_exn_store(g);
|
|
844
823
|
}
|
|
845
824
|
}
|
|
846
825
|
function M(C) {
|
|
847
826
|
return C == null;
|
|
848
827
|
}
|
|
849
|
-
function
|
|
850
|
-
const Q = { a: C, b: A, cnt: 1, dtor:
|
|
828
|
+
function AA(C, A, I, g) {
|
|
829
|
+
const Q = { a: C, b: A, cnt: 1, dtor: I }, E = (...D) => {
|
|
851
830
|
Q.cnt++;
|
|
852
831
|
try {
|
|
853
|
-
return
|
|
832
|
+
return g(Q.a, Q.b, ...D);
|
|
854
833
|
} finally {
|
|
855
834
|
E._wbg_cb_unref();
|
|
856
835
|
}
|
|
@@ -859,13 +838,13 @@ function gA(C, A, g, I) {
|
|
|
859
838
|
--Q.cnt === 0 && (Q.dtor(Q.a, Q.b), Q.a = 0, H.unregister(Q));
|
|
860
839
|
}, H.register(E, Q, Q), E;
|
|
861
840
|
}
|
|
862
|
-
function
|
|
863
|
-
const Q = { a: C, b: A, cnt: 1, dtor:
|
|
841
|
+
function R(C, A, I, g) {
|
|
842
|
+
const Q = { a: C, b: A, cnt: 1, dtor: I }, E = (...D) => {
|
|
864
843
|
Q.cnt++;
|
|
865
844
|
const i = Q.a;
|
|
866
845
|
Q.a = 0;
|
|
867
846
|
try {
|
|
868
|
-
return
|
|
847
|
+
return g(i, Q.b, ...D);
|
|
869
848
|
} finally {
|
|
870
849
|
Q.a = i, E._wbg_cb_unref();
|
|
871
850
|
}
|
|
@@ -874,72 +853,72 @@ function Y(C, A, g, I) {
|
|
|
874
853
|
--Q.cnt === 0 && (Q.dtor(Q.a, Q.b), Q.a = 0, H.unregister(Q));
|
|
875
854
|
}, H.register(E, Q, Q), E;
|
|
876
855
|
}
|
|
877
|
-
function
|
|
878
|
-
const
|
|
879
|
-
return
|
|
856
|
+
function V(C, A) {
|
|
857
|
+
const I = A(C.length * 1, 1) >>> 0;
|
|
858
|
+
return U().set(C, I / 1), F = C.length, I;
|
|
880
859
|
}
|
|
881
|
-
function
|
|
882
|
-
if (
|
|
883
|
-
const i =
|
|
884
|
-
return
|
|
860
|
+
function k(C, A, I) {
|
|
861
|
+
if (I === void 0) {
|
|
862
|
+
const i = h.encode(C), o = A(i.length, 1) >>> 0;
|
|
863
|
+
return U().subarray(o, o + i.length).set(i), F = i.length, o;
|
|
885
864
|
}
|
|
886
|
-
let
|
|
887
|
-
const E =
|
|
888
|
-
let
|
|
889
|
-
for (;
|
|
890
|
-
const i = C.charCodeAt(
|
|
865
|
+
let g = C.length, Q = A(g, 1) >>> 0;
|
|
866
|
+
const E = U();
|
|
867
|
+
let D = 0;
|
|
868
|
+
for (; D < g; D++) {
|
|
869
|
+
const i = C.charCodeAt(D);
|
|
891
870
|
if (i > 127) break;
|
|
892
|
-
E[Q +
|
|
871
|
+
E[Q + D] = i;
|
|
893
872
|
}
|
|
894
|
-
if (
|
|
895
|
-
|
|
896
|
-
const i =
|
|
897
|
-
|
|
873
|
+
if (D !== g) {
|
|
874
|
+
D !== 0 && (C = C.slice(D)), Q = I(Q, g, g = D + C.length * 3, 1) >>> 0;
|
|
875
|
+
const i = U().subarray(Q + D, Q + g), o = h.encodeInto(C, i);
|
|
876
|
+
D += o.written, Q = I(Q, g, D, 1) >>> 0;
|
|
898
877
|
}
|
|
899
|
-
return F =
|
|
878
|
+
return F = D, Q;
|
|
900
879
|
}
|
|
901
|
-
function
|
|
880
|
+
function W(C) {
|
|
902
881
|
const A = B.__wbindgen_externrefs.get(C);
|
|
903
882
|
return B.__externref_table_dealloc(C), A;
|
|
904
883
|
}
|
|
905
|
-
let
|
|
906
|
-
|
|
884
|
+
let c = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 });
|
|
885
|
+
c.decode();
|
|
907
886
|
const IA = 2146435072;
|
|
908
|
-
let
|
|
909
|
-
function
|
|
910
|
-
return
|
|
887
|
+
let x = 0;
|
|
888
|
+
function gA(C, A) {
|
|
889
|
+
return x += A, x >= IA && (c = new TextDecoder("utf-8", { ignoreBOM: !0, fatal: !0 }), c.decode(), x = A), c.decode(U().subarray(C, C + A));
|
|
911
890
|
}
|
|
912
|
-
const
|
|
913
|
-
"encodeInto" in
|
|
914
|
-
const
|
|
915
|
-
return A.set(
|
|
891
|
+
const h = new TextEncoder();
|
|
892
|
+
"encodeInto" in h || (h.encodeInto = function(C, A) {
|
|
893
|
+
const I = h.encode(C);
|
|
894
|
+
return A.set(I), {
|
|
916
895
|
read: C.length,
|
|
917
|
-
written:
|
|
896
|
+
written: I.length
|
|
918
897
|
};
|
|
919
898
|
});
|
|
920
899
|
let F = 0, B;
|
|
921
|
-
function
|
|
900
|
+
function CA(C, A) {
|
|
922
901
|
return B = C.exports, K = null, J = null, B.__wbindgen_start(), B;
|
|
923
902
|
}
|
|
924
|
-
async function
|
|
903
|
+
async function QA(C, A) {
|
|
925
904
|
if (typeof Response == "function" && C instanceof Response) {
|
|
926
905
|
if (typeof WebAssembly.instantiateStreaming == "function")
|
|
927
906
|
try {
|
|
928
907
|
return await WebAssembly.instantiateStreaming(C, A);
|
|
929
908
|
} catch (Q) {
|
|
930
|
-
if (C.ok &&
|
|
909
|
+
if (C.ok && I(C.type) && C.headers.get("Content-Type") !== "application/wasm")
|
|
931
910
|
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", Q);
|
|
932
911
|
else
|
|
933
912
|
throw Q;
|
|
934
913
|
}
|
|
935
|
-
const
|
|
936
|
-
return await WebAssembly.instantiate(
|
|
914
|
+
const g = await C.arrayBuffer();
|
|
915
|
+
return await WebAssembly.instantiate(g, A);
|
|
937
916
|
} else {
|
|
938
|
-
const
|
|
939
|
-
return
|
|
917
|
+
const g = await WebAssembly.instantiate(C, A);
|
|
918
|
+
return g instanceof WebAssembly.Instance ? { instance: g, module: C } : g;
|
|
940
919
|
}
|
|
941
|
-
function g
|
|
942
|
-
switch (
|
|
920
|
+
function I(g) {
|
|
921
|
+
switch (g) {
|
|
943
922
|
case "basic":
|
|
944
923
|
case "cors":
|
|
945
924
|
case "default":
|
|
@@ -948,16 +927,16 @@ async function BA(C, A) {
|
|
|
948
927
|
return !1;
|
|
949
928
|
}
|
|
950
929
|
}
|
|
951
|
-
async function
|
|
930
|
+
async function BA(C) {
|
|
952
931
|
if (B !== void 0) return B;
|
|
953
932
|
C !== void 0 && (Object.getPrototypeOf(C) === Object.prototype ? { module_or_path: C } = C : console.warn("using deprecated parameters for the initialization function; pass a single object instead")), C === void 0 && (C = new URL("", import.meta.url));
|
|
954
933
|
const A = n();
|
|
955
934
|
(typeof C == "string" || typeof Request == "function" && C instanceof Request || typeof URL == "function" && C instanceof URL) && (C = fetch(C));
|
|
956
|
-
const { instance:
|
|
957
|
-
return
|
|
935
|
+
const { instance: I, module: g } = await QA(await C, A);
|
|
936
|
+
return CA(I);
|
|
958
937
|
}
|
|
959
|
-
var
|
|
960
|
-
class
|
|
938
|
+
var EA = new URL("https://cdn.jsdelivr.net/npm/glassjar@0.8.0/dist/engine_bg.wasm");
|
|
939
|
+
class DA {
|
|
961
940
|
enabled = !1;
|
|
962
941
|
verified;
|
|
963
942
|
verifiedBytes = 0;
|
|
@@ -968,41 +947,41 @@ class wA {
|
|
|
968
947
|
constructor(A) {
|
|
969
948
|
this.emit = A;
|
|
970
949
|
}
|
|
971
|
-
configure({ cacheCompilerModule: A, compilerModule:
|
|
972
|
-
this.generation++, this.enabled = A, this.retained = void 0, this.stats = this.emptyStats(), A &&
|
|
950
|
+
configure({ cacheCompilerModule: A, compilerModule: I }) {
|
|
951
|
+
this.generation++, this.enabled = A, this.retained = void 0, this.stats = this.emptyStats(), A && I?.module instanceof WebAssembly.Module && I.bytes instanceof Uint8Array && /^[a-f0-9]{64}$/.test(I.sha256) && (this.retained = { ...I, bytes: new Uint8Array(I.bytes) });
|
|
973
952
|
}
|
|
974
953
|
/** Private worker seed received only from the engine's verified owner. */
|
|
975
|
-
configureVerified(A,
|
|
976
|
-
this.enabled =
|
|
954
|
+
configureVerified(A, I) {
|
|
955
|
+
this.enabled = I, this.verifiedBytes = A.compiler.byteLength, this.verified = { ...A, compiler: new Uint8Array(), sysroot: new Uint8Array() }, this.retained = void 0, this.stats = this.emptyStats();
|
|
977
956
|
}
|
|
978
957
|
beginOperation() {
|
|
979
958
|
this.stats = this.emptyStats();
|
|
980
959
|
}
|
|
981
960
|
constructVerified(A) {
|
|
982
|
-
const
|
|
983
|
-
if (!
|
|
984
|
-
if (
|
|
985
|
-
return this.stats.hits++, this.publishStats(),
|
|
961
|
+
const I = this.verified;
|
|
962
|
+
if (!I) throw new Error("Compiler toolchain is not configured");
|
|
963
|
+
if (I.module && this.enabled)
|
|
964
|
+
return this.stats.hits++, this.publishStats(), I.module;
|
|
986
965
|
this.stats.misses++;
|
|
987
|
-
const
|
|
988
|
-
return this.enabled && (
|
|
966
|
+
const g = this.compile(A);
|
|
967
|
+
return this.enabled && (I.module = g), this.publishStats(), g;
|
|
989
968
|
}
|
|
990
969
|
async construct(A) {
|
|
991
970
|
if (!this.enabled) return this.compile(A);
|
|
992
|
-
const
|
|
971
|
+
const I = this.generation, g = this.stats, Q = new Uint8Array(A);
|
|
993
972
|
let E;
|
|
994
|
-
const
|
|
973
|
+
const D = performance.now();
|
|
995
974
|
try {
|
|
996
|
-
const
|
|
975
|
+
const p = await crypto.subtle.digest("SHA-256", Q);
|
|
997
976
|
E = Array.from(
|
|
998
|
-
new Uint8Array(
|
|
999
|
-
(
|
|
977
|
+
new Uint8Array(p),
|
|
978
|
+
(O) => O.toString(16).padStart(2, "0")
|
|
1000
979
|
).join("");
|
|
1001
980
|
} catch {
|
|
1002
|
-
return
|
|
981
|
+
return g.hashMs += performance.now() - D, g.bypasses++, I === this.generation && (this.retained = void 0), this.compile(Q, g);
|
|
1003
982
|
}
|
|
1004
|
-
if (
|
|
1005
|
-
const i = performance.now(), o = this.retained, q = o?.sha256 === E && o.bytes.length === Q.length &&
|
|
983
|
+
if (g.hashMs += performance.now() - D, I !== this.generation) return this.compile(Q, g);
|
|
984
|
+
const i = performance.now(), o = this.retained, q = o?.sha256 === E && o.bytes.length === Q.length && wA(o.bytes, Q);
|
|
1006
985
|
if (this.stats.compareMs += performance.now() - i, q)
|
|
1007
986
|
return this.stats.hits++, this.publishStats(), o.module;
|
|
1008
987
|
this.stats.misses++, this.retained = void 0;
|
|
@@ -1013,12 +992,12 @@ class wA {
|
|
|
1013
992
|
instantiated(A) {
|
|
1014
993
|
Number.isFinite(A) && A >= 0 && (this.stats.instantiateMs += A), this.publishStats();
|
|
1015
994
|
}
|
|
1016
|
-
compile(A,
|
|
1017
|
-
const
|
|
995
|
+
compile(A, I = this.stats) {
|
|
996
|
+
const g = performance.now();
|
|
1018
997
|
try {
|
|
1019
998
|
return new WebAssembly.Module(A);
|
|
1020
999
|
} finally {
|
|
1021
|
-
|
|
1000
|
+
I.compileMs += performance.now() - g;
|
|
1022
1001
|
}
|
|
1023
1002
|
}
|
|
1024
1003
|
publishStats() {
|
|
@@ -1049,20 +1028,20 @@ class wA {
|
|
|
1049
1028
|
}
|
|
1050
1029
|
}
|
|
1051
1030
|
}
|
|
1052
|
-
function
|
|
1053
|
-
for (let
|
|
1054
|
-
if (C[
|
|
1031
|
+
function wA(C, A) {
|
|
1032
|
+
for (let I = 0; I < C.length; I++)
|
|
1033
|
+
if (C[I] !== A[I]) return !1;
|
|
1055
1034
|
return !0;
|
|
1056
1035
|
}
|
|
1057
|
-
const
|
|
1058
|
-
function
|
|
1059
|
-
const
|
|
1060
|
-
if (
|
|
1061
|
-
throw new TypeError(`Engine Wasm must be served over http(s), not ${
|
|
1062
|
-
return
|
|
1036
|
+
const z = "glassjar-wasm:";
|
|
1037
|
+
function iA(C, A) {
|
|
1038
|
+
const I = new URL(String(C), A);
|
|
1039
|
+
if (I.protocol !== "https:" && I.protocol !== "http:")
|
|
1040
|
+
throw new TypeError(`Engine Wasm must be served over http(s), not ${I.protocol}`);
|
|
1041
|
+
return I.href;
|
|
1063
1042
|
}
|
|
1064
1043
|
let y = { scopeEpoch: 0, operationId: 0, cacheEpoch: 0 }, d;
|
|
1065
|
-
const a = new
|
|
1044
|
+
const a = new DA(
|
|
1066
1045
|
(C) => postMessage({ ...C, ...y })
|
|
1067
1046
|
);
|
|
1068
1047
|
addEventListener(
|
|
@@ -1071,7 +1050,7 @@ addEventListener(
|
|
|
1071
1050
|
const A = C.data;
|
|
1072
1051
|
if (A?.type === "configure_cpp") {
|
|
1073
1052
|
if (C.stopImmediatePropagation(), !A.toolchain) throw new Error("Missing verified compiler seed");
|
|
1074
|
-
a.configureVerified(A.toolchain, A.cacheCompilerModule),
|
|
1053
|
+
a.configureVerified(A.toolchain, A.cacheCompilerModule), f(
|
|
1075
1054
|
A.toolchain.compiler,
|
|
1076
1055
|
A.toolchain.sysroot,
|
|
1077
1056
|
A.toolchain.compilerHash,
|
|
@@ -1081,10 +1060,10 @@ addEventListener(
|
|
|
1081
1060
|
);
|
|
1082
1061
|
} else if (A?.type === "object_build_ack") {
|
|
1083
1062
|
C.stopImmediatePropagation();
|
|
1084
|
-
const
|
|
1085
|
-
if (
|
|
1086
|
-
const
|
|
1087
|
-
d = void 0,
|
|
1063
|
+
const I = A;
|
|
1064
|
+
if (I.scopeEpoch === y.scopeEpoch && I.operationId === y.operationId && I.cacheEpoch === y.cacheEpoch) {
|
|
1065
|
+
const g = d;
|
|
1066
|
+
d = void 0, g?.();
|
|
1088
1067
|
}
|
|
1089
1068
|
} else typeof A?.operation_id == "number" && (a.beginOperation(), y = {
|
|
1090
1069
|
scopeEpoch: A.scope_epoch,
|
|
@@ -1094,15 +1073,15 @@ addEventListener(
|
|
|
1094
1073
|
}
|
|
1095
1074
|
);
|
|
1096
1075
|
try {
|
|
1097
|
-
const C = self.name ?? "", A = C.startsWith(
|
|
1098
|
-
await
|
|
1099
|
-
(
|
|
1076
|
+
const C = self.name ?? "", A = C.startsWith(z) ? iA(C.slice(z.length)) : void 0;
|
|
1077
|
+
await BA({ module_or_path: A ?? EA }), m(
|
|
1078
|
+
(I) => a.constructVerified(I)
|
|
1100
1079
|
), r(
|
|
1101
|
-
() => new Promise((
|
|
1102
|
-
d =
|
|
1080
|
+
() => new Promise((I) => {
|
|
1081
|
+
d = I, postMessage({ type: "object_build_complete", ...y });
|
|
1103
1082
|
})
|
|
1104
1083
|
), X(
|
|
1105
|
-
(
|
|
1084
|
+
(I) => a.instantiated(I)
|
|
1106
1085
|
), b();
|
|
1107
1086
|
} catch (C) {
|
|
1108
1087
|
postMessage({
|