@cosmol-studio/cosmol-viewer 0.6.3-rc.1 → 0.6.3

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.
@@ -31,7 +31,7 @@ export class Animation {
31
31
  addFrame(scene) {
32
32
  try {
33
33
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
34
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
34
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
35
35
  _assertNum(this.__wbg_ptr);
36
36
  _assertClass(scene, Scene);
37
37
  if (scene.__wbg_ptr === 0) {
@@ -41,7 +41,7 @@ export class Animation {
41
41
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
42
42
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
43
43
  if (r1) {
44
- throw takeObject(r0);
44
+ throw takeFromExternrefTable0(r0);
45
45
  }
46
46
  } finally {
47
47
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -53,14 +53,14 @@ export class Animation {
53
53
  frameCount() {
54
54
  try {
55
55
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
56
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
56
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
57
57
  _assertNum(this.__wbg_ptr);
58
58
  wasm.animation_frameCount(retptr, this.__wbg_ptr);
59
59
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
60
60
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
61
61
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
62
62
  if (r2) {
63
- throw takeObject(r1);
63
+ throw takeFromExternrefTable0(r1);
64
64
  }
65
65
  return r0 >>> 0;
66
66
  } finally {
@@ -75,13 +75,13 @@ export class Animation {
75
75
  */
76
76
  static new(interval, loops, interpolate) {
77
77
  try {
78
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
79
- wasm.animation_new(retptr, addHeapObject(interval), addHeapObject(loops), addHeapObject(interpolate));
78
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
79
+ wasm.animation_new(retptr, interval, loops, interpolate);
80
80
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
81
81
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
82
82
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
83
83
  if (r2) {
84
- throw takeObject(r1);
84
+ throw takeFromExternrefTable0(r1);
85
85
  }
86
86
  return Animation.__wrap(r0);
87
87
  } finally {
@@ -94,13 +94,13 @@ export class Animation {
94
94
  setInterpolate(interpolate) {
95
95
  try {
96
96
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
97
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
97
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
98
98
  _assertNum(this.__wbg_ptr);
99
- wasm.animation_setInterpolate(retptr, this.__wbg_ptr, addHeapObject(interpolate));
99
+ wasm.animation_setInterpolate(retptr, this.__wbg_ptr, interpolate);
100
100
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
101
101
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
102
102
  if (r1) {
103
- throw takeObject(r0);
103
+ throw takeFromExternrefTable0(r0);
104
104
  }
105
105
  } finally {
106
106
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -112,13 +112,13 @@ export class Animation {
112
112
  setInterval(interval) {
113
113
  try {
114
114
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
115
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
115
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
116
116
  _assertNum(this.__wbg_ptr);
117
- wasm.animation_setInterval(retptr, this.__wbg_ptr, addHeapObject(interval));
117
+ wasm.animation_setInterval(retptr, this.__wbg_ptr, interval);
118
118
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
119
119
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
120
120
  if (r1) {
121
- throw takeObject(r0);
121
+ throw takeFromExternrefTable0(r0);
122
122
  }
123
123
  } finally {
124
124
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -130,13 +130,13 @@ export class Animation {
130
130
  setLoops(loops) {
131
131
  try {
132
132
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
133
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
133
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
134
134
  _assertNum(this.__wbg_ptr);
135
- wasm.animation_setLoops(retptr, this.__wbg_ptr, addHeapObject(loops));
135
+ wasm.animation_setLoops(retptr, this.__wbg_ptr, loops);
136
136
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
137
137
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
138
138
  if (r1) {
139
- throw takeObject(r0);
139
+ throw takeFromExternrefTable0(r0);
140
140
  }
141
141
  } finally {
142
142
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -148,7 +148,7 @@ export class Animation {
148
148
  setStaticScene(scene) {
149
149
  try {
150
150
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
151
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
151
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
152
152
  _assertNum(this.__wbg_ptr);
153
153
  _assertClass(scene, Scene);
154
154
  if (scene.__wbg_ptr === 0) {
@@ -158,7 +158,7 @@ export class Animation {
158
158
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
159
159
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
160
160
  if (r1) {
161
- throw takeObject(r0);
161
+ throw takeFromExternrefTable0(r0);
162
162
  }
163
163
  } finally {
164
164
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -172,7 +172,7 @@ export class Animation {
172
172
  let deferred2_1;
173
173
  try {
174
174
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
175
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
175
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
176
176
  _assertNum(this.__wbg_ptr);
177
177
  wasm.animation_toJson(retptr, this.__wbg_ptr);
178
178
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -183,19 +183,105 @@ export class Animation {
183
183
  var len1 = r1;
184
184
  if (r3) {
185
185
  ptr1 = 0; len1 = 0;
186
- throw takeObject(r2);
186
+ throw takeFromExternrefTable0(r2);
187
187
  }
188
188
  deferred2_0 = ptr1;
189
189
  deferred2_1 = len1;
190
190
  return getStringFromWasm0(ptr1, len1);
191
191
  } finally {
192
192
  wasm.__wbindgen_add_to_stack_pointer(16);
193
- wasm.__wbindgen_export4(deferred2_0, deferred2_1, 1);
193
+ wasm.__wbindgen_export3(deferred2_0, deferred2_1, 1);
194
194
  }
195
195
  }
196
196
  }
197
197
  if (Symbol.dispose) Animation.prototype[Symbol.dispose] = Animation.prototype.free;
198
198
 
199
+ /**
200
+ * Reusable element and per-atom colors for molecular displays.
201
+ */
202
+ export class MoleculeColors {
203
+ constructor() {
204
+ throw new Error('cannot invoke `new` directly');
205
+ }
206
+ static __wrap(ptr) {
207
+ const obj = Object.create(MoleculeColors.prototype);
208
+ obj.__wbg_ptr = ptr;
209
+ MoleculeColorsFinalization.register(obj, obj.__wbg_ptr, obj);
210
+ return obj;
211
+ }
212
+ __destroy_into_raw() {
213
+ const ptr = this.__wbg_ptr;
214
+ this.__wbg_ptr = 0;
215
+ MoleculeColorsFinalization.unregister(this);
216
+ return ptr;
217
+ }
218
+ free() {
219
+ const ptr = this.__destroy_into_raw();
220
+ wasm.__wbg_moleculecolors_free(ptr, 0);
221
+ }
222
+ /**
223
+ * Return the built-in molecular color scheme.
224
+ * @returns {MoleculeColors}
225
+ */
226
+ static default() {
227
+ try {
228
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
229
+ wasm.moleculecolors_default(retptr);
230
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
231
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
232
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
233
+ if (r2) {
234
+ throw takeFromExternrefTable0(r1);
235
+ }
236
+ return MoleculeColors.__wrap(r0);
237
+ } finally {
238
+ wasm.__wbindgen_add_to_stack_pointer(16);
239
+ }
240
+ }
241
+ /**
242
+ * @param {ColorEntries} elements
243
+ * @returns {MoleculeColors}
244
+ */
245
+ static new(elements) {
246
+ try {
247
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
248
+ wasm.moleculecolors_new(retptr, elements);
249
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
250
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
251
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
252
+ if (r2) {
253
+ throw takeFromExternrefTable0(r1);
254
+ }
255
+ return MoleculeColors.__wrap(r0);
256
+ } finally {
257
+ wasm.__wbindgen_add_to_stack_pointer(16);
258
+ }
259
+ }
260
+ /**
261
+ * Return a new scheme with colors keyed by zero-based CK atom ID.
262
+ * @param {ColorEntries} atoms
263
+ * @returns {MoleculeColors}
264
+ */
265
+ withAtomColors(atoms) {
266
+ try {
267
+ if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
268
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
269
+ _assertNum(this.__wbg_ptr);
270
+ wasm.moleculecolors_withAtomColors(retptr, this.__wbg_ptr, atoms);
271
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
272
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
273
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
274
+ if (r2) {
275
+ throw takeFromExternrefTable0(r1);
276
+ }
277
+ return MoleculeColors.__wrap(r0);
278
+ } finally {
279
+ wasm.__wbindgen_add_to_stack_pointer(16);
280
+ }
281
+ }
282
+ }
283
+ if (Symbol.dispose) MoleculeColors.prototype[Symbol.dispose] = MoleculeColors.prototype.free;
284
+
199
285
  /**
200
286
  * Reusable scene state. Cloned binding handles refer to the same scene.
201
287
  */
@@ -226,17 +312,16 @@ export class Scene {
226
312
  add(item, style) {
227
313
  try {
228
314
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
229
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
315
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
230
316
  _assertNum(this.__wbg_ptr);
231
- wasm.scene_add(retptr, this.__wbg_ptr, addBorrowedObject(item), isLikeNone(style) ? 0 : addHeapObject(style));
317
+ wasm.scene_add(retptr, this.__wbg_ptr, item, isLikeNone(style) ? 0 : addToExternrefTable0(style));
232
318
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
233
319
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
234
320
  if (r1) {
235
- throw takeObject(r0);
321
+ throw takeFromExternrefTable0(r0);
236
322
  }
237
323
  } finally {
238
324
  wasm.__wbindgen_add_to_stack_pointer(16);
239
- heap[stack_pointer++] = undefined;
240
325
  }
241
326
  }
242
327
  /**
@@ -246,14 +331,14 @@ export class Scene {
246
331
  cloneScene() {
247
332
  try {
248
333
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
249
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
334
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
250
335
  _assertNum(this.__wbg_ptr);
251
336
  wasm.scene_cloneScene(retptr, this.__wbg_ptr);
252
337
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
253
338
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
254
339
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
255
340
  if (r2) {
256
- throw takeObject(r1);
341
+ throw takeFromExternrefTable0(r1);
257
342
  }
258
343
  return Scene.__wrap(r0);
259
344
  } finally {
@@ -266,7 +351,7 @@ export class Scene {
266
351
  mergeShapes(other) {
267
352
  try {
268
353
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
269
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
354
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
270
355
  _assertNum(this.__wbg_ptr);
271
356
  _assertClass(other, Scene);
272
357
  if (other.__wbg_ptr === 0) {
@@ -276,7 +361,7 @@ export class Scene {
276
361
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
277
362
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
278
363
  if (r1) {
279
- throw takeObject(r0);
364
+ throw takeFromExternrefTable0(r0);
280
365
  }
281
366
  } finally {
282
367
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -287,13 +372,13 @@ export class Scene {
287
372
  */
288
373
  static new() {
289
374
  try {
290
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
375
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
291
376
  wasm.scene_new(retptr);
292
377
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
293
378
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
294
379
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
295
380
  if (r2) {
296
- throw takeObject(r1);
381
+ throw takeFromExternrefTable0(r1);
297
382
  }
298
383
  return Scene.__wrap(r0);
299
384
  } finally {
@@ -306,17 +391,16 @@ export class Scene {
306
391
  recenterOn(source) {
307
392
  try {
308
393
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
309
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
394
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
310
395
  _assertNum(this.__wbg_ptr);
311
- wasm.scene_recenterOn(retptr, this.__wbg_ptr, addBorrowedObject(source));
396
+ wasm.scene_recenterOn(retptr, this.__wbg_ptr, source);
312
397
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
313
398
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
314
399
  if (r1) {
315
- throw takeObject(r0);
400
+ throw takeFromExternrefTable0(r0);
316
401
  }
317
402
  } finally {
318
403
  wasm.__wbindgen_add_to_stack_pointer(16);
319
- heap[stack_pointer++] = undefined;
320
404
  }
321
405
  }
322
406
  /**
@@ -325,13 +409,13 @@ export class Scene {
325
409
  recenter(center) {
326
410
  try {
327
411
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
328
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
412
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
329
413
  _assertNum(this.__wbg_ptr);
330
- wasm.scene_recenter(retptr, this.__wbg_ptr, addHeapObject(center));
414
+ wasm.scene_recenter(retptr, this.__wbg_ptr, center);
331
415
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
332
416
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
333
417
  if (r1) {
334
- throw takeObject(r0);
418
+ throw takeFromExternrefTable0(r0);
335
419
  }
336
420
  } finally {
337
421
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -343,13 +427,13 @@ export class Scene {
343
427
  removeShape(id) {
344
428
  try {
345
429
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
346
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
430
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
347
431
  _assertNum(this.__wbg_ptr);
348
- wasm.scene_removeShape(retptr, this.__wbg_ptr, addHeapObject(id));
432
+ wasm.scene_removeShape(retptr, this.__wbg_ptr, id);
349
433
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
350
434
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
351
435
  if (r1) {
352
- throw takeObject(r0);
436
+ throw takeFromExternrefTable0(r0);
353
437
  }
354
438
  } finally {
355
439
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -363,13 +447,13 @@ export class Scene {
363
447
  rotateCamera(azimuth_delta, elevation_delta, roll_delta) {
364
448
  try {
365
449
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
366
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
450
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
367
451
  _assertNum(this.__wbg_ptr);
368
- wasm.scene_rotateCamera(retptr, this.__wbg_ptr, addHeapObject(azimuth_delta), addHeapObject(elevation_delta), addHeapObject(roll_delta));
452
+ wasm.scene_rotateCamera(retptr, this.__wbg_ptr, azimuth_delta, elevation_delta, roll_delta);
369
453
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
370
454
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
371
455
  if (r1) {
372
- throw takeObject(r0);
456
+ throw takeFromExternrefTable0(r0);
373
457
  }
374
458
  } finally {
375
459
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -381,13 +465,13 @@ export class Scene {
381
465
  setAmbientLight(intensity) {
382
466
  try {
383
467
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
384
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
468
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
385
469
  _assertNum(this.__wbg_ptr);
386
- wasm.scene_setAmbientLight(retptr, this.__wbg_ptr, addHeapObject(intensity));
470
+ wasm.scene_setAmbientLight(retptr, this.__wbg_ptr, intensity);
387
471
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
388
472
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
389
473
  if (r1) {
390
- throw takeObject(r0);
474
+ throw takeFromExternrefTable0(r0);
391
475
  }
392
476
  } finally {
393
477
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -400,13 +484,13 @@ export class Scene {
400
484
  setAutoRotate(enabled, speed) {
401
485
  try {
402
486
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
403
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
487
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
404
488
  _assertNum(this.__wbg_ptr);
405
- wasm.scene_setAutoRotate(retptr, this.__wbg_ptr, addHeapObject(enabled), addHeapObject(speed));
489
+ wasm.scene_setAutoRotate(retptr, this.__wbg_ptr, enabled, speed);
406
490
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
407
491
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
408
492
  if (r1) {
409
- throw takeObject(r0);
493
+ throw takeFromExternrefTable0(r0);
410
494
  }
411
495
  } finally {
412
496
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -419,13 +503,13 @@ export class Scene {
419
503
  setBackgroundColor(color) {
420
504
  try {
421
505
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
422
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
506
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
423
507
  _assertNum(this.__wbg_ptr);
424
- wasm.scene_setBackgroundColor(retptr, this.__wbg_ptr, addHeapObject(color));
508
+ wasm.scene_setBackgroundColor(retptr, this.__wbg_ptr, color);
425
509
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
426
510
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
427
511
  if (r1) {
428
- throw takeObject(r0);
512
+ throw takeFromExternrefTable0(r0);
429
513
  }
430
514
  } finally {
431
515
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -437,13 +521,13 @@ export class Scene {
437
521
  setCameraDistance(distance) {
438
522
  try {
439
523
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
440
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
524
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
441
525
  _assertNum(this.__wbg_ptr);
442
- wasm.scene_setCameraDistance(retptr, this.__wbg_ptr, addHeapObject(distance));
526
+ wasm.scene_setCameraDistance(retptr, this.__wbg_ptr, distance);
443
527
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
444
528
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
445
529
  if (r1) {
446
- throw takeObject(r0);
530
+ throw takeFromExternrefTable0(r0);
447
531
  }
448
532
  } finally {
449
533
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -455,13 +539,13 @@ export class Scene {
455
539
  setCameraFov(fov) {
456
540
  try {
457
541
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
458
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
542
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
459
543
  _assertNum(this.__wbg_ptr);
460
- wasm.scene_setCameraFov(retptr, this.__wbg_ptr, addHeapObject(fov));
544
+ wasm.scene_setCameraFov(retptr, this.__wbg_ptr, fov);
461
545
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
462
546
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
463
547
  if (r1) {
464
- throw takeObject(r0);
548
+ throw takeFromExternrefTable0(r0);
465
549
  }
466
550
  } finally {
467
551
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -473,13 +557,13 @@ export class Scene {
473
557
  setCameraTarget(target) {
474
558
  try {
475
559
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
476
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
560
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
477
561
  _assertNum(this.__wbg_ptr);
478
- wasm.scene_setCameraTarget(retptr, this.__wbg_ptr, addHeapObject(target));
562
+ wasm.scene_setCameraTarget(retptr, this.__wbg_ptr, target);
479
563
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
480
564
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
481
565
  if (r1) {
482
- throw takeObject(r0);
566
+ throw takeFromExternrefTable0(r0);
483
567
  }
484
568
  } finally {
485
569
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -496,13 +580,13 @@ export class Scene {
496
580
  setCameraView(azimuth, elevation, roll, distance, target, fov) {
497
581
  try {
498
582
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
499
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
583
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
500
584
  _assertNum(this.__wbg_ptr);
501
- wasm.scene_setCameraView(retptr, this.__wbg_ptr, addHeapObject(azimuth), addHeapObject(elevation), addHeapObject(roll), addHeapObject(distance), addHeapObject(target), addHeapObject(fov));
585
+ wasm.scene_setCameraView(retptr, this.__wbg_ptr, azimuth, elevation, roll, distance, target, fov);
502
586
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
503
587
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
504
588
  if (r1) {
505
- throw takeObject(r0);
589
+ throw takeFromExternrefTable0(r0);
506
590
  }
507
591
  } finally {
508
592
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -514,13 +598,13 @@ export class Scene {
514
598
  setDepthCueColor(color) {
515
599
  try {
516
600
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
517
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
601
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
518
602
  _assertNum(this.__wbg_ptr);
519
- wasm.scene_setDepthCueColor(retptr, this.__wbg_ptr, addHeapObject(color));
603
+ wasm.scene_setDepthCueColor(retptr, this.__wbg_ptr, color);
520
604
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
521
605
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
522
606
  if (r1) {
523
- throw takeObject(r0);
607
+ throw takeFromExternrefTable0(r0);
524
608
  }
525
609
  } finally {
526
610
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -533,13 +617,13 @@ export class Scene {
533
617
  setDepthCueRange(start, end) {
534
618
  try {
535
619
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
536
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
620
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
537
621
  _assertNum(this.__wbg_ptr);
538
- wasm.scene_setDepthCueRange(retptr, this.__wbg_ptr, addHeapObject(start), addHeapObject(end));
622
+ wasm.scene_setDepthCueRange(retptr, this.__wbg_ptr, start, end);
539
623
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
540
624
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
541
625
  if (r1) {
542
- throw takeObject(r0);
626
+ throw takeFromExternrefTable0(r0);
543
627
  }
544
628
  } finally {
545
629
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -551,13 +635,13 @@ export class Scene {
551
635
  setDepthCue(enabled) {
552
636
  try {
553
637
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
554
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
638
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
555
639
  _assertNum(this.__wbg_ptr);
556
- wasm.scene_setDepthCue(retptr, this.__wbg_ptr, addHeapObject(enabled));
640
+ wasm.scene_setDepthCue(retptr, this.__wbg_ptr, enabled);
557
641
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
558
642
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
559
643
  if (r1) {
560
- throw takeObject(r0);
644
+ throw takeFromExternrefTable0(r0);
561
645
  }
562
646
  } finally {
563
647
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -569,13 +653,13 @@ export class Scene {
569
653
  setLightColor(color) {
570
654
  try {
571
655
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
572
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
656
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
573
657
  _assertNum(this.__wbg_ptr);
574
- wasm.scene_setLightColor(retptr, this.__wbg_ptr, addHeapObject(color));
658
+ wasm.scene_setLightColor(retptr, this.__wbg_ptr, color);
575
659
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
576
660
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
577
661
  if (r1) {
578
- throw takeObject(r0);
662
+ throw takeFromExternrefTable0(r0);
579
663
  }
580
664
  } finally {
581
665
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -587,13 +671,13 @@ export class Scene {
587
671
  setLightIntensity(intensity) {
588
672
  try {
589
673
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
590
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
674
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
591
675
  _assertNum(this.__wbg_ptr);
592
- wasm.scene_setLightIntensity(retptr, this.__wbg_ptr, addHeapObject(intensity));
676
+ wasm.scene_setLightIntensity(retptr, this.__wbg_ptr, intensity);
593
677
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
594
678
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
595
679
  if (r1) {
596
- throw takeObject(r0);
680
+ throw takeFromExternrefTable0(r0);
597
681
  }
598
682
  } finally {
599
683
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -609,13 +693,37 @@ export class Scene {
609
693
  setLighting(ambient, diffuse, specular, intensity, color) {
610
694
  try {
611
695
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
612
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
696
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
697
+ _assertNum(this.__wbg_ptr);
698
+ wasm.scene_setLighting(retptr, this.__wbg_ptr, ambient, diffuse, specular, intensity, color);
699
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
700
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
701
+ if (r1) {
702
+ throw takeFromExternrefTable0(r0);
703
+ }
704
+ } finally {
705
+ wasm.__wbindgen_add_to_stack_pointer(16);
706
+ }
707
+ }
708
+ /**
709
+ * Set the element palette for subsequent molecular displays.
710
+ * Use MoleculeColors.default() to restore the built-in palette.
711
+ * @param {MoleculeColors} colors
712
+ */
713
+ setMoleculePalette(colors) {
714
+ try {
715
+ if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
716
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
613
717
  _assertNum(this.__wbg_ptr);
614
- wasm.scene_setLighting(retptr, this.__wbg_ptr, addHeapObject(ambient), addHeapObject(diffuse), addHeapObject(specular), addHeapObject(intensity), addHeapObject(color));
718
+ _assertClass(colors, MoleculeColors);
719
+ if (colors.__wbg_ptr === 0) {
720
+ throw new Error('Attempt to use a moved value');
721
+ }
722
+ wasm.scene_setMoleculePalette(retptr, this.__wbg_ptr, colors.__wbg_ptr);
615
723
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
616
724
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
617
725
  if (r1) {
618
- throw takeObject(r0);
726
+ throw takeFromExternrefTable0(r0);
619
727
  }
620
728
  } finally {
621
729
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -627,13 +735,13 @@ export class Scene {
627
735
  setScale(scale) {
628
736
  try {
629
737
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
630
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
738
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
631
739
  _assertNum(this.__wbg_ptr);
632
- wasm.scene_setScale(retptr, this.__wbg_ptr, addHeapObject(scale));
740
+ wasm.scene_setScale(retptr, this.__wbg_ptr, scale);
633
741
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
634
742
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
635
743
  if (r1) {
636
- throw takeObject(r0);
744
+ throw takeFromExternrefTable0(r0);
637
745
  }
638
746
  } finally {
639
747
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -645,13 +753,13 @@ export class Scene {
645
753
  setTransparentBackground(enabled) {
646
754
  try {
647
755
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
648
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
756
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
649
757
  _assertNum(this.__wbg_ptr);
650
- wasm.scene_setTransparentBackground(retptr, this.__wbg_ptr, addHeapObject(enabled));
758
+ wasm.scene_setTransparentBackground(retptr, this.__wbg_ptr, enabled);
651
759
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
652
760
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
653
761
  if (r1) {
654
- throw takeObject(r0);
762
+ throw takeFromExternrefTable0(r0);
655
763
  }
656
764
  } finally {
657
765
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -663,13 +771,13 @@ export class Scene {
663
771
  setZoomDisabled(disabled) {
664
772
  try {
665
773
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
666
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
774
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
667
775
  _assertNum(this.__wbg_ptr);
668
- wasm.scene_setZoomDisabled(retptr, this.__wbg_ptr, addHeapObject(disabled));
776
+ wasm.scene_setZoomDisabled(retptr, this.__wbg_ptr, disabled);
669
777
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
670
778
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
671
779
  if (r1) {
672
- throw takeObject(r0);
780
+ throw takeFromExternrefTable0(r0);
673
781
  }
674
782
  } finally {
675
783
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -683,17 +791,16 @@ export class Scene {
683
791
  set(name, item, style) {
684
792
  try {
685
793
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
686
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
794
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
687
795
  _assertNum(this.__wbg_ptr);
688
- wasm.scene_set(retptr, this.__wbg_ptr, addHeapObject(name), addBorrowedObject(item), isLikeNone(style) ? 0 : addHeapObject(style));
796
+ wasm.scene_set(retptr, this.__wbg_ptr, name, item, isLikeNone(style) ? 0 : addToExternrefTable0(style));
689
797
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
690
798
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
691
799
  if (r1) {
692
- throw takeObject(r0);
800
+ throw takeFromExternrefTable0(r0);
693
801
  }
694
802
  } finally {
695
803
  wasm.__wbindgen_add_to_stack_pointer(16);
696
- heap[stack_pointer++] = undefined;
697
804
  }
698
805
  }
699
806
  /**
@@ -702,14 +809,14 @@ export class Scene {
702
809
  shapeCount() {
703
810
  try {
704
811
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
705
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
812
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
706
813
  _assertNum(this.__wbg_ptr);
707
814
  wasm.scene_shapeCount(retptr, this.__wbg_ptr);
708
815
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
709
816
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
710
817
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
711
818
  if (r2) {
712
- throw takeObject(r1);
819
+ throw takeFromExternrefTable0(r1);
713
820
  }
714
821
  return r0 >>> 0;
715
822
  } finally {
@@ -725,7 +832,7 @@ export class Scene {
725
832
  let deferred2_1;
726
833
  try {
727
834
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
728
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
835
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
729
836
  _assertNum(this.__wbg_ptr);
730
837
  wasm.scene_toJson(retptr, this.__wbg_ptr);
731
838
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -736,26 +843,26 @@ export class Scene {
736
843
  var len1 = r1;
737
844
  if (r3) {
738
845
  ptr1 = 0; len1 = 0;
739
- throw takeObject(r2);
846
+ throw takeFromExternrefTable0(r2);
740
847
  }
741
848
  deferred2_0 = ptr1;
742
849
  deferred2_1 = len1;
743
850
  return getStringFromWasm0(ptr1, len1);
744
851
  } finally {
745
852
  wasm.__wbindgen_add_to_stack_pointer(16);
746
- wasm.__wbindgen_export4(deferred2_0, deferred2_1, 1);
853
+ wasm.__wbindgen_export3(deferred2_0, deferred2_1, 1);
747
854
  }
748
855
  }
749
856
  useBlackBackground() {
750
857
  try {
751
858
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
752
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
859
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
753
860
  _assertNum(this.__wbg_ptr);
754
861
  wasm.scene_useBlackBackground(retptr, this.__wbg_ptr);
755
862
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
756
863
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
757
864
  if (r1) {
758
- throw takeObject(r0);
865
+ throw takeFromExternrefTable0(r0);
759
866
  }
760
867
  } finally {
761
868
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -796,14 +903,14 @@ export class Selection {
796
903
  aromatic() {
797
904
  try {
798
905
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
799
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
906
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
800
907
  _assertNum(this.__wbg_ptr);
801
908
  wasm.selection_aromatic(retptr, this.__wbg_ptr);
802
909
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
803
910
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
804
911
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
805
912
  if (r2) {
806
- throw takeObject(r1);
913
+ throw takeFromExternrefTable0(r1);
807
914
  }
808
915
  return Selection.__wrap(r0);
809
916
  } finally {
@@ -817,14 +924,14 @@ export class Selection {
817
924
  cloneSelection() {
818
925
  try {
819
926
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
820
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
927
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
821
928
  _assertNum(this.__wbg_ptr);
822
929
  wasm.selection_cloneSelection(retptr, this.__wbg_ptr);
823
930
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
824
931
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
825
932
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
826
933
  if (r2) {
827
- throw takeObject(r1);
934
+ throw takeFromExternrefTable0(r1);
828
935
  }
829
936
  return Selection.__wrap(r0);
830
937
  } finally {
@@ -839,7 +946,7 @@ export class Selection {
839
946
  difference(other) {
840
947
  try {
841
948
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
842
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
949
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
843
950
  _assertNum(this.__wbg_ptr);
844
951
  _assertClass(other, Selection);
845
952
  if (other.__wbg_ptr === 0) {
@@ -850,7 +957,7 @@ export class Selection {
850
957
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
851
958
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
852
959
  if (r2) {
853
- throw takeObject(r1);
960
+ throw takeFromExternrefTable0(r1);
854
961
  }
855
962
  return Selection.__wrap(r0);
856
963
  } finally {
@@ -864,19 +971,18 @@ export class Selection {
864
971
  element(element) {
865
972
  try {
866
973
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
867
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
974
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
868
975
  _assertNum(this.__wbg_ptr);
869
- wasm.selection_element(retptr, this.__wbg_ptr, addBorrowedObject(element));
976
+ wasm.selection_element(retptr, this.__wbg_ptr, element);
870
977
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
871
978
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
872
979
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
873
980
  if (r2) {
874
- throw takeObject(r1);
981
+ throw takeFromExternrefTable0(r1);
875
982
  }
876
983
  return Selection.__wrap(r0);
877
984
  } finally {
878
985
  wasm.__wbindgen_add_to_stack_pointer(16);
879
- heap[stack_pointer++] = undefined;
880
986
  }
881
987
  }
882
988
  /**
@@ -887,14 +993,14 @@ export class Selection {
887
993
  filterIds(ids) {
888
994
  try {
889
995
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
890
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
996
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
891
997
  _assertNum(this.__wbg_ptr);
892
- wasm.selection_filterIds(retptr, this.__wbg_ptr, addHeapObject(ids));
998
+ wasm.selection_filterIds(retptr, this.__wbg_ptr, ids);
893
999
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
894
1000
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
895
1001
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
896
1002
  if (r2) {
897
- throw takeObject(r1);
1003
+ throw takeFromExternrefTable0(r1);
898
1004
  }
899
1005
  return Selection.__wrap(r0);
900
1006
  } finally {
@@ -907,7 +1013,7 @@ export class Selection {
907
1013
  ids() {
908
1014
  try {
909
1015
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
910
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1016
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
911
1017
  _assertNum(this.__wbg_ptr);
912
1018
  wasm.selection_ids(retptr, this.__wbg_ptr);
913
1019
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -915,10 +1021,10 @@ export class Selection {
915
1021
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
916
1022
  var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
917
1023
  if (r3) {
918
- throw takeObject(r2);
1024
+ throw takeFromExternrefTable0(r2);
919
1025
  }
920
1026
  var v1 = getArrayU32FromWasm0(r0, r1).slice();
921
- wasm.__wbindgen_export4(r0, r1 * 4, 4);
1027
+ wasm.__wbindgen_export3(r0, r1 * 4, 4);
922
1028
  return v1;
923
1029
  } finally {
924
1030
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -930,14 +1036,14 @@ export class Selection {
930
1036
  len() {
931
1037
  try {
932
1038
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
933
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1039
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
934
1040
  _assertNum(this.__wbg_ptr);
935
1041
  wasm.selection_len(retptr, this.__wbg_ptr);
936
1042
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
937
1043
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
938
1044
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
939
1045
  if (r2) {
940
- throw takeObject(r1);
1046
+ throw takeFromExternrefTable0(r1);
941
1047
  }
942
1048
  return r0 >>> 0;
943
1049
  } finally {
@@ -952,14 +1058,14 @@ export class Selection {
952
1058
  residueIds(ids) {
953
1059
  try {
954
1060
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
955
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1061
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
956
1062
  _assertNum(this.__wbg_ptr);
957
- wasm.selection_residueIds(retptr, this.__wbg_ptr, addHeapObject(ids));
1063
+ wasm.selection_residueIds(retptr, this.__wbg_ptr, ids);
958
1064
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
959
1065
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
960
1066
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
961
1067
  if (r2) {
962
- throw takeObject(r1);
1068
+ throw takeFromExternrefTable0(r1);
963
1069
  }
964
1070
  return Selection.__wrap(r0);
965
1071
  } finally {
@@ -973,14 +1079,14 @@ export class Selection {
973
1079
  sidechain() {
974
1080
  try {
975
1081
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
976
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1082
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
977
1083
  _assertNum(this.__wbg_ptr);
978
1084
  wasm.selection_sidechain(retptr, this.__wbg_ptr);
979
1085
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
980
1086
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
981
1087
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
982
1088
  if (r2) {
983
- throw takeObject(r1);
1089
+ throw takeFromExternrefTable0(r1);
984
1090
  }
985
1091
  return Selection.__wrap(r0);
986
1092
  } finally {
@@ -1016,14 +1122,14 @@ export class Selector {
1016
1122
  atoms() {
1017
1123
  try {
1018
1124
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1019
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1125
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1020
1126
  _assertNum(this.__wbg_ptr);
1021
1127
  wasm.selector_atoms(retptr, this.__wbg_ptr);
1022
1128
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1023
1129
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1024
1130
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1025
1131
  if (r2) {
1026
- throw takeObject(r1);
1132
+ throw takeFromExternrefTable0(r1);
1027
1133
  }
1028
1134
  return Selection.__wrap(r0);
1029
1135
  } finally {
@@ -1036,14 +1142,14 @@ export class Selector {
1036
1142
  bonds() {
1037
1143
  try {
1038
1144
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1039
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1145
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1040
1146
  _assertNum(this.__wbg_ptr);
1041
1147
  wasm.selector_bonds(retptr, this.__wbg_ptr);
1042
1148
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1043
1149
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1044
1150
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1045
1151
  if (r2) {
1046
- throw takeObject(r1);
1152
+ throw takeFromExternrefTable0(r1);
1047
1153
  }
1048
1154
  return Selection.__wrap(r0);
1049
1155
  } finally {
@@ -1056,14 +1162,14 @@ export class Selector {
1056
1162
  residues() {
1057
1163
  try {
1058
1164
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1059
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1165
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1060
1166
  _assertNum(this.__wbg_ptr);
1061
1167
  wasm.selector_residues(retptr, this.__wbg_ptr);
1062
1168
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1063
1169
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1064
1170
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1065
1171
  if (r2) {
1066
- throw takeObject(r1);
1172
+ throw takeFromExternrefTable0(r1);
1067
1173
  }
1068
1174
  return Selection.__wrap(r0);
1069
1175
  } finally {
@@ -1105,14 +1211,14 @@ export class Sphere {
1105
1211
  cloneShape() {
1106
1212
  try {
1107
1213
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1108
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1214
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1109
1215
  _assertNum(this.__wbg_ptr);
1110
1216
  wasm.sphere_cloneShape(retptr, this.__wbg_ptr);
1111
1217
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1112
1218
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1113
1219
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1114
1220
  if (r2) {
1115
- throw takeObject(r1);
1221
+ throw takeFromExternrefTable0(r1);
1116
1222
  }
1117
1223
  return Sphere.__wrap(r0);
1118
1224
  } finally {
@@ -1126,14 +1232,14 @@ export class Sphere {
1126
1232
  color(rgb) {
1127
1233
  try {
1128
1234
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1129
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1235
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1130
1236
  _assertNum(this.__wbg_ptr);
1131
- wasm.sphere_color(retptr, this.__wbg_ptr, addHeapObject(rgb));
1237
+ wasm.sphere_color(retptr, this.__wbg_ptr, rgb);
1132
1238
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1133
1239
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1134
1240
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1135
1241
  if (r2) {
1136
- throw takeObject(r1);
1242
+ throw takeFromExternrefTable0(r1);
1137
1243
  }
1138
1244
  return Sphere.__wrap(r0);
1139
1245
  } finally {
@@ -1147,13 +1253,13 @@ export class Sphere {
1147
1253
  */
1148
1254
  static new(center, radius) {
1149
1255
  try {
1150
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1151
- wasm.sphere_new(retptr, addHeapObject(center), addHeapObject(radius));
1256
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1257
+ wasm.sphere_new(retptr, center, radius);
1152
1258
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1153
1259
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1154
1260
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1155
1261
  if (r2) {
1156
- throw takeObject(r1);
1262
+ throw takeFromExternrefTable0(r1);
1157
1263
  }
1158
1264
  return Sphere.__wrap(r0);
1159
1265
  } finally {
@@ -1167,14 +1273,14 @@ export class Sphere {
1167
1273
  opacity(opacity) {
1168
1274
  try {
1169
1275
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1170
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1276
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1171
1277
  _assertNum(this.__wbg_ptr);
1172
- wasm.sphere_opacity(retptr, this.__wbg_ptr, addHeapObject(opacity));
1278
+ wasm.sphere_opacity(retptr, this.__wbg_ptr, opacity);
1173
1279
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1174
1280
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1175
1281
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1176
1282
  if (r2) {
1177
- throw takeObject(r1);
1283
+ throw takeFromExternrefTable0(r1);
1178
1284
  }
1179
1285
  return Sphere.__wrap(r0);
1180
1286
  } finally {
@@ -1216,14 +1322,14 @@ export class Stick {
1216
1322
  cloneShape() {
1217
1323
  try {
1218
1324
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1219
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1325
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1220
1326
  _assertNum(this.__wbg_ptr);
1221
1327
  wasm.stick_cloneShape(retptr, this.__wbg_ptr);
1222
1328
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1223
1329
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1224
1330
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1225
1331
  if (r2) {
1226
- throw takeObject(r1);
1332
+ throw takeFromExternrefTable0(r1);
1227
1333
  }
1228
1334
  return Stick.__wrap(r0);
1229
1335
  } finally {
@@ -1237,14 +1343,14 @@ export class Stick {
1237
1343
  color(rgb) {
1238
1344
  try {
1239
1345
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1240
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1346
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1241
1347
  _assertNum(this.__wbg_ptr);
1242
- wasm.stick_color(retptr, this.__wbg_ptr, addHeapObject(rgb));
1348
+ wasm.stick_color(retptr, this.__wbg_ptr, rgb);
1243
1349
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1244
1350
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1245
1351
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1246
1352
  if (r2) {
1247
- throw takeObject(r1);
1353
+ throw takeFromExternrefTable0(r1);
1248
1354
  }
1249
1355
  return Stick.__wrap(r0);
1250
1356
  } finally {
@@ -1259,13 +1365,13 @@ export class Stick {
1259
1365
  */
1260
1366
  static new(start, end, radius) {
1261
1367
  try {
1262
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1263
- wasm.stick_new(retptr, addHeapObject(start), addHeapObject(end), addHeapObject(radius));
1368
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1369
+ wasm.stick_new(retptr, start, end, radius);
1264
1370
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1265
1371
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1266
1372
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1267
1373
  if (r2) {
1268
- throw takeObject(r1);
1374
+ throw takeFromExternrefTable0(r1);
1269
1375
  }
1270
1376
  return Stick.__wrap(r0);
1271
1377
  } finally {
@@ -1279,14 +1385,14 @@ export class Stick {
1279
1385
  opacity(opacity) {
1280
1386
  try {
1281
1387
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1282
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1388
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1283
1389
  _assertNum(this.__wbg_ptr);
1284
- wasm.stick_opacity(retptr, this.__wbg_ptr, addHeapObject(opacity));
1390
+ wasm.stick_opacity(retptr, this.__wbg_ptr, opacity);
1285
1391
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1286
1392
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1287
1393
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1288
1394
  if (r2) {
1289
- throw takeObject(r1);
1395
+ throw takeFromExternrefTable0(r1);
1290
1396
  }
1291
1397
  return Stick.__wrap(r0);
1292
1398
  } finally {
@@ -1327,13 +1433,13 @@ export class Style {
1327
1433
  */
1328
1434
  static ballAndStick() {
1329
1435
  try {
1330
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1436
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1331
1437
  wasm.style_ballAndStick(retptr);
1332
1438
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1333
1439
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1334
1440
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1335
1441
  if (r2) {
1336
- throw takeObject(r1);
1442
+ throw takeFromExternrefTable0(r1);
1337
1443
  }
1338
1444
  return Style.__wrap(r0);
1339
1445
  } finally {
@@ -1345,13 +1451,13 @@ export class Style {
1345
1451
  */
1346
1452
  static cartoon() {
1347
1453
  try {
1348
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1454
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1349
1455
  wasm.style_cartoon(retptr);
1350
1456
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1351
1457
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1352
1458
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1353
1459
  if (r2) {
1354
- throw takeObject(r1);
1460
+ throw takeFromExternrefTable0(r1);
1355
1461
  }
1356
1462
  return Style.__wrap(r0);
1357
1463
  } finally {
@@ -1364,14 +1470,14 @@ export class Style {
1364
1470
  cloneStyle() {
1365
1471
  try {
1366
1472
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1367
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1473
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1368
1474
  _assertNum(this.__wbg_ptr);
1369
1475
  wasm.style_cloneStyle(retptr, this.__wbg_ptr);
1370
1476
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1371
1477
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1372
1478
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1373
1479
  if (r2) {
1374
- throw takeObject(r1);
1480
+ throw takeFromExternrefTable0(r1);
1375
1481
  }
1376
1482
  return Style.__wrap(r0);
1377
1483
  } finally {
@@ -1385,14 +1491,40 @@ export class Style {
1385
1491
  color(rgb) {
1386
1492
  try {
1387
1493
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1388
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1494
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1495
+ _assertNum(this.__wbg_ptr);
1496
+ wasm.style_color(retptr, this.__wbg_ptr, rgb);
1497
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1498
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1499
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1500
+ if (r2) {
1501
+ throw takeFromExternrefTable0(r1);
1502
+ }
1503
+ return Style.__wrap(r0);
1504
+ } finally {
1505
+ wasm.__wbindgen_add_to_stack_pointer(16);
1506
+ }
1507
+ }
1508
+ /**
1509
+ * Apply a reusable molecular color scheme.
1510
+ * @param {MoleculeColors} colors
1511
+ * @returns {Style}
1512
+ */
1513
+ colors(colors) {
1514
+ try {
1515
+ if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1516
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1389
1517
  _assertNum(this.__wbg_ptr);
1390
- wasm.style_color(retptr, this.__wbg_ptr, addHeapObject(rgb));
1518
+ _assertClass(colors, MoleculeColors);
1519
+ if (colors.__wbg_ptr === 0) {
1520
+ throw new Error('Attempt to use a moved value');
1521
+ }
1522
+ wasm.style_colors(retptr, this.__wbg_ptr, colors.__wbg_ptr);
1391
1523
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1392
1524
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1393
1525
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1394
1526
  if (r2) {
1395
- throw takeObject(r1);
1527
+ throw takeFromExternrefTable0(r1);
1396
1528
  }
1397
1529
  return Style.__wrap(r0);
1398
1530
  } finally {
@@ -1409,14 +1541,14 @@ export class Style {
1409
1541
  configureSurface(probe_radius, grid_spacing, solvent_accessible, sharp_boundaries) {
1410
1542
  try {
1411
1543
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1412
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1544
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1413
1545
  _assertNum(this.__wbg_ptr);
1414
- wasm.style_configureSurface(retptr, this.__wbg_ptr, addHeapObject(probe_radius), addHeapObject(grid_spacing), addHeapObject(solvent_accessible), addHeapObject(sharp_boundaries));
1546
+ wasm.style_configureSurface(retptr, this.__wbg_ptr, probe_radius, grid_spacing, solvent_accessible, sharp_boundaries);
1415
1547
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1416
1548
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1417
1549
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1418
1550
  if (r2) {
1419
- throw takeObject(r1);
1551
+ throw takeFromExternrefTable0(r1);
1420
1552
  }
1421
1553
  return Style.__wrap(r0);
1422
1554
  } finally {
@@ -1430,14 +1562,14 @@ export class Style {
1430
1562
  conformer(id) {
1431
1563
  try {
1432
1564
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1433
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1565
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1434
1566
  _assertNum(this.__wbg_ptr);
1435
- wasm.style_conformer(retptr, this.__wbg_ptr, addHeapObject(id));
1567
+ wasm.style_conformer(retptr, this.__wbg_ptr, id);
1436
1568
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1437
1569
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1438
1570
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1439
1571
  if (r2) {
1440
- throw takeObject(r1);
1572
+ throw takeFromExternrefTable0(r1);
1441
1573
  }
1442
1574
  return Style.__wrap(r0);
1443
1575
  } finally {
@@ -1450,14 +1582,14 @@ export class Style {
1450
1582
  coordinates2d() {
1451
1583
  try {
1452
1584
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1453
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1585
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1454
1586
  _assertNum(this.__wbg_ptr);
1455
1587
  wasm.style_coordinates2d(retptr, this.__wbg_ptr);
1456
1588
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1457
1589
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1458
1590
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1459
1591
  if (r2) {
1460
- throw takeObject(r1);
1592
+ throw takeFromExternrefTable0(r1);
1461
1593
  }
1462
1594
  return Style.__wrap(r0);
1463
1595
  } finally {
@@ -1471,14 +1603,14 @@ export class Style {
1471
1603
  metallic(value) {
1472
1604
  try {
1473
1605
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1474
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1606
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1475
1607
  _assertNum(this.__wbg_ptr);
1476
- wasm.style_metallic(retptr, this.__wbg_ptr, addHeapObject(value));
1608
+ wasm.style_metallic(retptr, this.__wbg_ptr, value);
1477
1609
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1478
1610
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1479
1611
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1480
1612
  if (r2) {
1481
- throw takeObject(r1);
1613
+ throw takeFromExternrefTable0(r1);
1482
1614
  }
1483
1615
  return Style.__wrap(r0);
1484
1616
  } finally {
@@ -1492,14 +1624,14 @@ export class Style {
1492
1624
  opacity(value) {
1493
1625
  try {
1494
1626
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1495
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1627
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1496
1628
  _assertNum(this.__wbg_ptr);
1497
- wasm.style_opacity(retptr, this.__wbg_ptr, addHeapObject(value));
1629
+ wasm.style_opacity(retptr, this.__wbg_ptr, value);
1498
1630
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1499
1631
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1500
1632
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1501
1633
  if (r2) {
1502
- throw takeObject(r1);
1634
+ throw takeFromExternrefTable0(r1);
1503
1635
  }
1504
1636
  return Style.__wrap(r0);
1505
1637
  } finally {
@@ -1514,14 +1646,14 @@ export class Style {
1514
1646
  outline(rgb, width) {
1515
1647
  try {
1516
1648
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1517
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1649
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1518
1650
  _assertNum(this.__wbg_ptr);
1519
- wasm.style_outline(retptr, this.__wbg_ptr, addHeapObject(rgb), addHeapObject(width));
1651
+ wasm.style_outline(retptr, this.__wbg_ptr, rgb, width);
1520
1652
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1521
1653
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1522
1654
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1523
1655
  if (r2) {
1524
- throw takeObject(r1);
1656
+ throw takeFromExternrefTable0(r1);
1525
1657
  }
1526
1658
  return Style.__wrap(r0);
1527
1659
  } finally {
@@ -1534,14 +1666,14 @@ export class Style {
1534
1666
  rainbowResidues() {
1535
1667
  try {
1536
1668
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1537
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1669
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1538
1670
  _assertNum(this.__wbg_ptr);
1539
1671
  wasm.style_rainbowResidues(retptr, this.__wbg_ptr);
1540
1672
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1541
1673
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1542
1674
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1543
1675
  if (r2) {
1544
- throw takeObject(r1);
1676
+ throw takeFromExternrefTable0(r1);
1545
1677
  }
1546
1678
  return Style.__wrap(r0);
1547
1679
  } finally {
@@ -1555,14 +1687,14 @@ export class Style {
1555
1687
  roughness(value) {
1556
1688
  try {
1557
1689
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1558
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1690
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1559
1691
  _assertNum(this.__wbg_ptr);
1560
- wasm.style_roughness(retptr, this.__wbg_ptr, addHeapObject(value));
1692
+ wasm.style_roughness(retptr, this.__wbg_ptr, value);
1561
1693
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1562
1694
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1563
1695
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1564
1696
  if (r2) {
1565
- throw takeObject(r1);
1697
+ throw takeFromExternrefTable0(r1);
1566
1698
  }
1567
1699
  return Style.__wrap(r0);
1568
1700
  } finally {
@@ -1576,14 +1708,14 @@ export class Style {
1576
1708
  scale(value) {
1577
1709
  try {
1578
1710
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1579
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1711
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1580
1712
  _assertNum(this.__wbg_ptr);
1581
- wasm.style_scale(retptr, this.__wbg_ptr, addHeapObject(value));
1713
+ wasm.style_scale(retptr, this.__wbg_ptr, value);
1582
1714
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1583
1715
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1584
1716
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1585
1717
  if (r2) {
1586
- throw takeObject(r1);
1718
+ throw takeFromExternrefTable0(r1);
1587
1719
  }
1588
1720
  return Style.__wrap(r0);
1589
1721
  } finally {
@@ -1595,13 +1727,13 @@ export class Style {
1595
1727
  */
1596
1728
  static sphere() {
1597
1729
  try {
1598
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1730
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1599
1731
  wasm.style_sphere(retptr);
1600
1732
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1601
1733
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1602
1734
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1603
1735
  if (r2) {
1604
- throw takeObject(r1);
1736
+ throw takeFromExternrefTable0(r1);
1605
1737
  }
1606
1738
  return Style.__wrap(r0);
1607
1739
  } finally {
@@ -1613,13 +1745,13 @@ export class Style {
1613
1745
  */
1614
1746
  static stick() {
1615
1747
  try {
1616
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1748
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1617
1749
  wasm.style_stick(retptr);
1618
1750
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1619
1751
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1620
1752
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1621
1753
  if (r2) {
1622
- throw takeObject(r1);
1754
+ throw takeFromExternrefTable0(r1);
1623
1755
  }
1624
1756
  return Style.__wrap(r0);
1625
1757
  } finally {
@@ -1631,13 +1763,13 @@ export class Style {
1631
1763
  */
1632
1764
  static surface() {
1633
1765
  try {
1634
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1766
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1635
1767
  wasm.style_surface(retptr);
1636
1768
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1637
1769
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1638
1770
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1639
1771
  if (r2) {
1640
- throw takeObject(r1);
1772
+ throw takeFromExternrefTable0(r1);
1641
1773
  }
1642
1774
  return Style.__wrap(r0);
1643
1775
  } finally {
@@ -1676,13 +1808,13 @@ export class Viewer {
1676
1808
  cameraParameterLogging(enabled) {
1677
1809
  try {
1678
1810
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1679
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1811
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1680
1812
  _assertNum(this.__wbg_ptr);
1681
- wasm.viewer_cameraParameterLogging(retptr, this.__wbg_ptr, addHeapObject(enabled));
1813
+ wasm.viewer_cameraParameterLogging(retptr, this.__wbg_ptr, enabled);
1682
1814
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1683
1815
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1684
1816
  if (r1) {
1685
- throw takeObject(r0);
1817
+ throw takeFromExternrefTable0(r0);
1686
1818
  }
1687
1819
  } finally {
1688
1820
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1694,13 +1826,13 @@ export class Viewer {
1694
1826
  close() {
1695
1827
  try {
1696
1828
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1697
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1829
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1698
1830
  _assertNum(this.__wbg_ptr);
1699
1831
  wasm.viewer_close(retptr, this.__wbg_ptr);
1700
1832
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1701
1833
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1702
1834
  if (r1) {
1703
- throw takeObject(r0);
1835
+ throw takeFromExternrefTable0(r0);
1704
1836
  }
1705
1837
  } finally {
1706
1838
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1713,13 +1845,13 @@ export class Viewer {
1713
1845
  dispatch(payload) {
1714
1846
  try {
1715
1847
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1716
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1848
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1717
1849
  _assertNum(this.__wbg_ptr);
1718
- wasm.viewer_dispatch(retptr, this.__wbg_ptr, addHeapObject(payload));
1850
+ wasm.viewer_dispatch(retptr, this.__wbg_ptr, payload);
1719
1851
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1720
1852
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1721
1853
  if (r1) {
1722
- throw takeObject(r0);
1854
+ throw takeFromExternrefTable0(r0);
1723
1855
  }
1724
1856
  } finally {
1725
1857
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1733,13 +1865,13 @@ export class Viewer {
1733
1865
  */
1734
1866
  static new(canvas_id) {
1735
1867
  try {
1736
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1737
- wasm.viewer_new(retptr, addHeapObject(canvas_id));
1868
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1869
+ wasm.viewer_new(retptr, canvas_id);
1738
1870
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1739
1871
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1740
1872
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1741
1873
  if (r2) {
1742
- throw takeObject(r1);
1874
+ throw takeFromExternrefTable0(r1);
1743
1875
  }
1744
1876
  return Viewer.__wrap(r0);
1745
1877
  } finally {
@@ -1753,8 +1885,8 @@ export class Viewer {
1753
1885
  * @returns {Promise<Viewer>}
1754
1886
  */
1755
1887
  static openNotebook(canvas_id, payload) {
1756
- const ret = wasm.viewer_openNotebook(addHeapObject(canvas_id), addHeapObject(payload));
1757
- return takeObject(ret);
1888
+ const ret = wasm.viewer_openNotebook(canvas_id, payload);
1889
+ return ret;
1758
1890
  }
1759
1891
  /**
1760
1892
  * Internal notebook animation startup, accepting the versioned transport envelope.
@@ -1763,8 +1895,8 @@ export class Viewer {
1763
1895
  * @returns {Promise<Viewer>}
1764
1896
  */
1765
1897
  static playNotebook(canvas_id, payload) {
1766
- const ret = wasm.viewer_playNotebook(addHeapObject(canvas_id), addHeapObject(payload));
1767
- return takeObject(ret);
1898
+ const ret = wasm.viewer_playNotebook(canvas_id, payload);
1899
+ return ret;
1768
1900
  }
1769
1901
  /**
1770
1902
  * Play an animation on this viewer's canvas, replacing previous content.
@@ -1779,7 +1911,7 @@ export class Viewer {
1779
1911
  throw new Error('Attempt to use a moved value');
1780
1912
  }
1781
1913
  const ret = wasm.viewer_play(this.__wbg_ptr, animation.__wbg_ptr);
1782
- return takeObject(ret);
1914
+ return ret;
1783
1915
  }
1784
1916
  /**
1785
1917
  * Render a scene on this viewer's canvas, stopping any previous animation.
@@ -1795,7 +1927,7 @@ export class Viewer {
1795
1927
  throw new Error('Attempt to use a moved value');
1796
1928
  }
1797
1929
  const ret = wasm.viewer_render(this.__wbg_ptr, scene.__wbg_ptr);
1798
- return takeObject(ret);
1930
+ return ret;
1799
1931
  }
1800
1932
  /**
1801
1933
  * Show live camera parameters over the viewport, independently of logging.
@@ -1804,13 +1936,13 @@ export class Viewer {
1804
1936
  showCameraParameters(enabled) {
1805
1937
  try {
1806
1938
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1807
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1939
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1808
1940
  _assertNum(this.__wbg_ptr);
1809
- wasm.viewer_showCameraParameters(retptr, this.__wbg_ptr, addHeapObject(enabled));
1941
+ wasm.viewer_showCameraParameters(retptr, this.__wbg_ptr, enabled);
1810
1942
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1811
1943
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1812
1944
  if (r1) {
1813
- throw takeObject(r0);
1945
+ throw takeFromExternrefTable0(r0);
1814
1946
  }
1815
1947
  } finally {
1816
1948
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1824,13 +1956,13 @@ export class Viewer {
1824
1956
  showFps(enabled) {
1825
1957
  try {
1826
1958
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1827
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1959
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1828
1960
  _assertNum(this.__wbg_ptr);
1829
- wasm.viewer_showFps(retptr, this.__wbg_ptr, addHeapObject(enabled));
1961
+ wasm.viewer_showFps(retptr, this.__wbg_ptr, enabled);
1830
1962
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1831
1963
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1832
1964
  if (r1) {
1833
- throw takeObject(r0);
1965
+ throw takeFromExternrefTable0(r0);
1834
1966
  }
1835
1967
  } finally {
1836
1968
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1844,7 +1976,7 @@ export class Viewer {
1844
1976
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1845
1977
  _assertNum(this.__wbg_ptr);
1846
1978
  const ret = wasm.viewer_takeScreenshot(this.__wbg_ptr);
1847
- return takeObject(ret);
1979
+ return ret;
1848
1980
  }
1849
1981
  /**
1850
1982
  * Queue a typed scene update. The renderer applies it on a subsequent frame.
@@ -1853,7 +1985,7 @@ export class Viewer {
1853
1985
  update(scene) {
1854
1986
  try {
1855
1987
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1856
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1988
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1857
1989
  _assertNum(this.__wbg_ptr);
1858
1990
  _assertClass(scene, Scene);
1859
1991
  if (scene.__wbg_ptr === 0) {
@@ -1863,7 +1995,7 @@ export class Viewer {
1863
1995
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1864
1996
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1865
1997
  if (r1) {
1866
- throw takeObject(r0);
1998
+ throw takeFromExternrefTable0(r0);
1867
1999
  }
1868
2000
  } finally {
1869
2001
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1878,7 +2010,7 @@ if (Symbol.dispose) Viewer.prototype[Symbol.dispose] = Viewer.prototype.free;
1878
2010
  * @param {Function} element
1879
2011
  */
1880
2012
  export function __setCkTypes(molecule, protein, element) {
1881
- wasm.__setCkTypes(addHeapObject(molecule), addHeapObject(protein), addHeapObject(element));
2013
+ wasm.__setCkTypes(molecule, protein, element);
1882
2014
  }
1883
2015
 
1884
2016
  /**
@@ -1888,7 +2020,7 @@ export function __setCkTypes(molecule, protein, element) {
1888
2020
  * @param {Function} style
1889
2021
  */
1890
2022
  export function __setViewerTypes(selection, sphere, stick, style) {
1891
- wasm.__setViewerTypes(addHeapObject(selection), addHeapObject(sphere), addHeapObject(stick), addHeapObject(style));
2023
+ wasm.__setViewerTypes(selection, sphere, stick, style);
1892
2024
  }
1893
2025
 
1894
2026
  /**
@@ -1898,7 +2030,7 @@ export function bindingContractJson() {
1898
2030
  let deferred1_0;
1899
2031
  let deferred1_1;
1900
2032
  try {
1901
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
2033
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1902
2034
  wasm.bindingContractJson(retptr);
1903
2035
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1904
2036
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
@@ -1907,7 +2039,7 @@ export function bindingContractJson() {
1907
2039
  return getStringFromWasm0(r0, r1);
1908
2040
  } finally {
1909
2041
  wasm.__wbindgen_add_to_stack_pointer(16);
1910
- wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
2042
+ wasm.__wbindgen_export3(deferred1_0, deferred1_1, 1);
1911
2043
  }
1912
2044
  }
1913
2045
 
@@ -1917,18 +2049,17 @@ export function bindingContractJson() {
1917
2049
  */
1918
2050
  export function select(source) {
1919
2051
  try {
1920
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1921
- wasm.select(retptr, addBorrowedObject(source));
2052
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
2053
+ wasm.select(retptr, source);
1922
2054
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1923
2055
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1924
2056
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1925
2057
  if (r2) {
1926
- throw takeObject(r1);
2058
+ throw takeFromExternrefTable0(r1);
1927
2059
  }
1928
2060
  return Selector.__wrap(r0);
1929
2061
  } finally {
1930
2062
  wasm.__wbindgen_add_to_stack_pointer(16);
1931
- heap[stack_pointer++] = undefined;
1932
2063
  }
1933
2064
  }
1934
2065
 
@@ -1938,500 +2069,504 @@ export function select(source) {
1938
2069
  function __wbg_get_imports() {
1939
2070
  const import0 = {
1940
2071
  __proto__: null,
1941
- __wbg_Error_30c8987f7c2ed4e2: function() { return logError(function (arg0, arg1) {
2072
+ __wbg_Error_208446807d0d1e30: function() { return logError(function (arg0, arg1) {
1942
2073
  const ret = Error(getStringFromWasm0(arg0, arg1));
1943
- return addHeapObject(ret);
2074
+ return ret;
1944
2075
  }, arguments); },
1945
- __wbg_Number_14af1003b8dd5ead: function() { return logError(function (arg0) {
1946
- const ret = Number(getObject(arg0));
2076
+ __wbg_Number_ff192a72a0dcdf6d: function() { return logError(function (arg0) {
2077
+ const ret = Number(arg0);
1947
2078
  return ret;
1948
2079
  }, arguments); },
1949
2080
  __wbg_String_8564e559799eccda: function() { return logError(function (arg0, arg1) {
1950
- const ret = String(getObject(arg1));
2081
+ const ret = String(arg1);
1951
2082
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1952
2083
  const len1 = WASM_VECTOR_LEN;
1953
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1954
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2084
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2085
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
1955
2086
  }, arguments); },
1956
- __wbg___wbindgen_bigint_get_as_i64_a2383202b9353e4c: function(arg0, arg1) {
1957
- const v = getObject(arg1);
2087
+ __wbg___wbindgen_bigint_get_as_i64_11da4b52cd0aedef: function(arg0, arg1) {
2088
+ const v = arg1;
1958
2089
  const ret = typeof(v) === 'bigint' ? v : undefined;
1959
2090
  if (!isLikeNone(ret)) {
1960
2091
  _assertBigInt(ret);
1961
2092
  }
1962
- getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
1963
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
2093
+ getDataViewMemory0().setBigInt64((arg0 >>> 0) + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
2094
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, !isLikeNone(ret), true);
1964
2095
  },
1965
- __wbg___wbindgen_boolean_get_5b446f51afd21013: function(arg0) {
1966
- const v = getObject(arg0);
2096
+ __wbg___wbindgen_boolean_get_4f1baf9a00be3c74: function(arg0) {
2097
+ const v = arg0;
1967
2098
  const ret = typeof(v) === 'boolean' ? v : undefined;
1968
2099
  if (!isLikeNone(ret)) {
1969
2100
  _assertBoolean(ret);
1970
2101
  }
1971
2102
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
1972
2103
  },
1973
- __wbg___wbindgen_debug_string_4687d8d8c2017d52: function(arg0, arg1) {
1974
- const ret = debugString(getObject(arg1));
2104
+ __wbg___wbindgen_debug_string_f249a2a76caa9a55: function(arg0, arg1) {
2105
+ const ret = debugString(arg1);
1975
2106
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1976
2107
  const len1 = WASM_VECTOR_LEN;
1977
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1978
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2108
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2109
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
1979
2110
  },
1980
- __wbg___wbindgen_in_92f62ee1427d9e49: function(arg0, arg1) {
1981
- const ret = getObject(arg0) in getObject(arg1);
2111
+ __wbg___wbindgen_in_3f58a9d3b3a7eed2: function(arg0, arg1) {
2112
+ const ret = arg0 in arg1;
1982
2113
  _assertBoolean(ret);
1983
2114
  return ret;
1984
2115
  },
1985
- __wbg___wbindgen_is_bigint_b123553bed3bb382: function(arg0) {
1986
- const ret = typeof(getObject(arg0)) === 'bigint';
2116
+ __wbg___wbindgen_is_bigint_5fa10641e039d3ef: function(arg0) {
2117
+ const ret = typeof(arg0) === 'bigint';
1987
2118
  _assertBoolean(ret);
1988
2119
  return ret;
1989
2120
  },
1990
- __wbg___wbindgen_is_function_1f9d30630b8b1d3d: function(arg0) {
1991
- const ret = typeof(getObject(arg0)) === 'function';
2121
+ __wbg___wbindgen_is_function_741ff2bb612836f5: function(arg0) {
2122
+ const ret = typeof(arg0) === 'function';
1992
2123
  _assertBoolean(ret);
1993
2124
  return ret;
1994
2125
  },
1995
- __wbg___wbindgen_is_object_3c45d4f2dde4e749: function(arg0) {
1996
- const val = getObject(arg0);
2126
+ __wbg___wbindgen_is_object_8b968c3ab8e96595: function(arg0) {
2127
+ const val = arg0;
1997
2128
  const ret = typeof(val) === 'object' && val !== null;
1998
2129
  _assertBoolean(ret);
1999
2130
  return ret;
2000
2131
  },
2001
- __wbg___wbindgen_is_undefined_8865fb403f8fe9d8: function(arg0) {
2002
- const ret = getObject(arg0) === undefined;
2132
+ __wbg___wbindgen_is_undefined_be5b34249ff1fc15: function(arg0) {
2133
+ const ret = arg0 === undefined;
2003
2134
  _assertBoolean(ret);
2004
2135
  return ret;
2005
2136
  },
2006
- __wbg___wbindgen_jsval_eq_02babf21faa37971: function(arg0, arg1) {
2007
- const ret = getObject(arg0) === getObject(arg1);
2137
+ __wbg___wbindgen_jsval_eq_38d7bfbe4cc84039: function(arg0, arg1) {
2138
+ const ret = arg0 === arg1;
2008
2139
  _assertBoolean(ret);
2009
2140
  return ret;
2010
2141
  },
2011
- __wbg___wbindgen_jsval_loose_eq_677f21e468d6b461: function(arg0, arg1) {
2012
- const ret = getObject(arg0) == getObject(arg1);
2142
+ __wbg___wbindgen_jsval_loose_eq_b2f214e2e4b30e36: function(arg0, arg1) {
2143
+ const ret = arg0 == arg1;
2013
2144
  _assertBoolean(ret);
2014
2145
  return ret;
2015
2146
  },
2016
- __wbg___wbindgen_number_get_2e0e7dee9f701a71: function(arg0, arg1) {
2017
- const obj = getObject(arg1);
2147
+ __wbg___wbindgen_number_get_934b640d0889af78: function(arg0, arg1) {
2148
+ const obj = arg1;
2018
2149
  const ret = typeof(obj) === 'number' ? obj : undefined;
2019
2150
  if (!isLikeNone(ret)) {
2020
2151
  _assertNum(ret);
2021
2152
  }
2022
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
2023
- getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
2153
+ getDataViewMemory0().setFloat64((arg0 >>> 0) + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
2154
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, !isLikeNone(ret), true);
2024
2155
  },
2025
- __wbg___wbindgen_string_get_0380ccaa2f57f0d9: function(arg0, arg1) {
2026
- const obj = getObject(arg1);
2156
+ __wbg___wbindgen_string_get_7ce8eee7fd327545: function(arg0, arg1) {
2157
+ const obj = arg1;
2027
2158
  const ret = typeof(obj) === 'string' ? obj : undefined;
2028
2159
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2029
2160
  var len1 = WASM_VECTOR_LEN;
2030
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2031
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2161
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2162
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2032
2163
  },
2033
- __wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
2164
+ __wbg___wbindgen_throw_4c88d8bf264fd984: function(arg0, arg1) {
2034
2165
  throw new Error(getStringFromWasm0(arg0, arg1));
2035
2166
  },
2036
- __wbg__wbg_cb_unref_dcc1a90847f04c41: function() { return logError(function (arg0) {
2037
- getObject(arg0)._wbg_cb_unref();
2167
+ __wbg__wbg_cb_unref_09736879a3f67559: function() { return logError(function (arg0) {
2168
+ arg0._wbg_cb_unref();
2038
2169
  }, arguments); },
2039
- __wbg_activeElement_1e45e0df6b6ac829: function() { return logError(function (arg0) {
2040
- const ret = getObject(arg0).activeElement;
2041
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2170
+ __wbg_activeElement_6c30fe7fda33ef51: function() { return logError(function (arg0) {
2171
+ const ret = arg0.activeElement;
2172
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2042
2173
  }, arguments); },
2043
- __wbg_activeElement_69b55e3697f14d9b: function() { return logError(function (arg0) {
2044
- const ret = getObject(arg0).activeElement;
2045
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2174
+ __wbg_activeElement_f9fa238dd2650f32: function() { return logError(function (arg0) {
2175
+ const ret = arg0.activeElement;
2176
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2046
2177
  }, arguments); },
2047
- __wbg_activeTexture_11079673eac5c921: function() { return logError(function (arg0, arg1) {
2048
- getObject(arg0).activeTexture(arg1 >>> 0);
2178
+ __wbg_activeTexture_45b425a49df733ce: function() { return logError(function (arg0, arg1) {
2179
+ arg0.activeTexture(arg1 >>> 0);
2049
2180
  }, arguments); },
2050
- __wbg_activeTexture_2fad46c01cafe6b1: function() { return logError(function (arg0, arg1) {
2051
- getObject(arg0).activeTexture(arg1 >>> 0);
2181
+ __wbg_activeTexture_89cef8c297ad0698: function() { return logError(function (arg0, arg1) {
2182
+ arg0.activeTexture(arg1 >>> 0);
2052
2183
  }, arguments); },
2053
- __wbg_addEventListener_8d3235978b9c69a8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2054
- getObject(arg0).addEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3), getObject(arg4));
2184
+ __wbg_addEventListener_f2d27251d333a631: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2185
+ arg0.addEventListener(getStringFromWasm0(arg1, arg2), arg3, arg4);
2055
2186
  }, arguments); },
2056
- __wbg_alert_e913f93d6718c2f3: function() { return handleError(function (arg0, arg1, arg2) {
2057
- getObject(arg0).alert(getStringFromWasm0(arg1, arg2));
2187
+ __wbg_alert_97bd30812974a43e: function() { return handleError(function (arg0, arg1, arg2) {
2188
+ arg0.alert(getStringFromWasm0(arg1, arg2));
2058
2189
  }, arguments); },
2059
- __wbg_altKey_1e5fe17a42050103: function() { return logError(function (arg0) {
2060
- const ret = getObject(arg0).altKey;
2190
+ __wbg_altKey_423da1d67b588078: function() { return logError(function (arg0) {
2191
+ const ret = arg0.altKey;
2061
2192
  _assertBoolean(ret);
2062
2193
  return ret;
2063
2194
  }, arguments); },
2064
- __wbg_altKey_cfb4c4fab9a7d0d0: function() { return logError(function (arg0) {
2065
- const ret = getObject(arg0).altKey;
2195
+ __wbg_altKey_f158b37d4bccf5ff: function() { return logError(function (arg0) {
2196
+ const ret = arg0.altKey;
2066
2197
  _assertBoolean(ret);
2067
2198
  return ret;
2068
2199
  }, arguments); },
2069
- __wbg_appendChild_fb8c52e7dd8484ea: function() { return handleError(function (arg0, arg1) {
2070
- const ret = getObject(arg0).appendChild(getObject(arg1));
2071
- return addHeapObject(ret);
2200
+ __wbg_appendChild_dbf7ad2f48413560: function() { return handleError(function (arg0, arg1) {
2201
+ const ret = arg0.appendChild(arg1);
2202
+ return ret;
2072
2203
  }, arguments); },
2073
- __wbg_arrayBuffer_0fe6e1300abcf908: function() { return logError(function (arg0) {
2074
- const ret = getObject(arg0).arrayBuffer();
2075
- return addHeapObject(ret);
2204
+ __wbg_arrayBuffer_5abbcb61bd48f427: function() { return logError(function (arg0) {
2205
+ const ret = arg0.arrayBuffer();
2206
+ return ret;
2076
2207
  }, arguments); },
2077
- __wbg_at_31a66e62eefd72ad: function() { return logError(function (arg0, arg1) {
2078
- const ret = getObject(arg0).at(arg1);
2079
- return addHeapObject(ret);
2208
+ __wbg_at_3e5065dbded96e2e: function() { return logError(function (arg0, arg1) {
2209
+ const ret = arg0.at(arg1);
2210
+ return ret;
2080
2211
  }, arguments); },
2081
- __wbg_attachShader_8920a5beea54aba7: function() { return logError(function (arg0, arg1, arg2) {
2082
- getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
2212
+ __wbg_attachShader_3ed301cc92db59f6: function() { return logError(function (arg0, arg1, arg2) {
2213
+ arg0.attachShader(arg1, arg2);
2083
2214
  }, arguments); },
2084
- __wbg_attachShader_9567ae57af6746d5: function() { return logError(function (arg0, arg1, arg2) {
2085
- getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
2215
+ __wbg_attachShader_817dcec9e79fd18f: function() { return logError(function (arg0, arg1, arg2) {
2216
+ arg0.attachShader(arg1, arg2);
2086
2217
  }, arguments); },
2087
- __wbg_bindBuffer_0324f62b876c4403: function() { return logError(function (arg0, arg1, arg2) {
2088
- getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
2218
+ __wbg_bindBuffer_b3bb001fdbee089a: function() { return logError(function (arg0, arg1, arg2) {
2219
+ arg0.bindBuffer(arg1 >>> 0, arg2);
2089
2220
  }, arguments); },
2090
- __wbg_bindBuffer_2195e89b585ce0c3: function() { return logError(function (arg0, arg1, arg2) {
2091
- getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
2221
+ __wbg_bindBuffer_cbc9075f76fffa51: function() { return logError(function (arg0, arg1, arg2) {
2222
+ arg0.bindBuffer(arg1 >>> 0, arg2);
2092
2223
  }, arguments); },
2093
- __wbg_bindTexture_3cf008f256f3ed99: function() { return logError(function (arg0, arg1, arg2) {
2094
- getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
2224
+ __wbg_bindTexture_6f822943b2790466: function() { return logError(function (arg0, arg1, arg2) {
2225
+ arg0.bindTexture(arg1 >>> 0, arg2);
2095
2226
  }, arguments); },
2096
- __wbg_bindTexture_613a47b8917a0ccd: function() { return logError(function (arg0, arg1, arg2) {
2097
- getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
2227
+ __wbg_bindTexture_a23350e1b573ddfd: function() { return logError(function (arg0, arg1, arg2) {
2228
+ arg0.bindTexture(arg1 >>> 0, arg2);
2098
2229
  }, arguments); },
2099
- __wbg_bindVertexArrayOES_3141815cb8234a6e: function() { return logError(function (arg0, arg1) {
2100
- getObject(arg0).bindVertexArrayOES(getObject(arg1));
2230
+ __wbg_bindVertexArrayOES_5161c1f5b1fea3f9: function() { return logError(function (arg0, arg1) {
2231
+ arg0.bindVertexArrayOES(arg1);
2101
2232
  }, arguments); },
2102
- __wbg_bindVertexArray_f58af0a346185ec5: function() { return logError(function (arg0, arg1) {
2103
- getObject(arg0).bindVertexArray(getObject(arg1));
2233
+ __wbg_bindVertexArray_cc64c48bf67ab8d4: function() { return logError(function (arg0, arg1) {
2234
+ arg0.bindVertexArray(arg1);
2104
2235
  }, arguments); },
2105
- __wbg_blendEquationSeparate_0a17fa4ea863d445: function() { return logError(function (arg0, arg1, arg2) {
2106
- getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
2236
+ __wbg_blendEquationSeparate_0dceb23863585a87: function() { return logError(function (arg0, arg1, arg2) {
2237
+ arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
2107
2238
  }, arguments); },
2108
- __wbg_blendEquationSeparate_fa2d4e5dde5ad8b3: function() { return logError(function (arg0, arg1, arg2) {
2109
- getObject(arg0).blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
2239
+ __wbg_blendEquationSeparate_156fe040a9aebfd6: function() { return logError(function (arg0, arg1, arg2) {
2240
+ arg0.blendEquationSeparate(arg1 >>> 0, arg2 >>> 0);
2110
2241
  }, arguments); },
2111
- __wbg_blendFuncSeparate_28abe082febb1a26: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2112
- getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
2242
+ __wbg_blendFuncSeparate_6db2212299fd7f1e: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2243
+ arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
2113
2244
  }, arguments); },
2114
- __wbg_blendFuncSeparate_2af9d47f7efc0452: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2115
- getObject(arg0).blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
2245
+ __wbg_blendFuncSeparate_eb9098d760f4a25c: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2246
+ arg0.blendFuncSeparate(arg1 >>> 0, arg2 >>> 0, arg3 >>> 0, arg4 >>> 0);
2116
2247
  }, arguments); },
2117
- __wbg_blockSize_1e07d486d3f2411b: function() { return logError(function (arg0) {
2118
- const ret = getObject(arg0).blockSize;
2248
+ __wbg_blockSize_4a396ef99671a8a3: function() { return logError(function (arg0) {
2249
+ const ret = arg0.blockSize;
2119
2250
  return ret;
2120
2251
  }, arguments); },
2121
- __wbg_blur_cb8bd1ead8743f99: function() { return handleError(function (arg0) {
2122
- getObject(arg0).blur();
2252
+ __wbg_blur_c2856e0bcfec2cc0: function() { return handleError(function (arg0) {
2253
+ arg0.blur();
2123
2254
  }, arguments); },
2124
- __wbg_body_e549239eaff082e1: function() { return logError(function (arg0) {
2125
- const ret = getObject(arg0).body;
2126
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2255
+ __wbg_body_5f971cbc6950ca4f: function() { return logError(function (arg0) {
2256
+ const ret = arg0.body;
2257
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2127
2258
  }, arguments); },
2128
- __wbg_bottom_29cd36a415d12885: function() { return logError(function (arg0) {
2129
- const ret = getObject(arg0).bottom;
2259
+ __wbg_bottom_fd840749aac1de6e: function() { return logError(function (arg0) {
2260
+ const ret = arg0.bottom;
2130
2261
  return ret;
2131
2262
  }, arguments); },
2132
- __wbg_bufferData_53e0f7a06b58fe81: function() { return logError(function (arg0, arg1, arg2, arg3) {
2133
- getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
2263
+ __wbg_bufferData_2fb8740d60478bf0: function() { return logError(function (arg0, arg1, arg2, arg3) {
2264
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
2134
2265
  }, arguments); },
2135
- __wbg_bufferData_5fa44d94fe7a3878: function() { return logError(function (arg0, arg1, arg2, arg3) {
2136
- getObject(arg0).bufferData(arg1 >>> 0, getObject(arg2), arg3 >>> 0);
2266
+ __wbg_bufferData_9eb9c4c5053ac480: function() { return logError(function (arg0, arg1, arg2, arg3) {
2267
+ arg0.bufferData(arg1 >>> 0, arg2, arg3 >>> 0);
2137
2268
  }, arguments); },
2138
- __wbg_button_1aa380c7ca420cd1: function() { return logError(function (arg0) {
2139
- const ret = getObject(arg0).button;
2269
+ __wbg_button_653210370515dd71: function() { return logError(function (arg0) {
2270
+ const ret = arg0.button;
2140
2271
  _assertNum(ret);
2141
2272
  return ret;
2142
2273
  }, arguments); },
2143
- __wbg_call_187d372bd5fdd4aa: function() { return handleError(function (arg0, arg1, arg2) {
2144
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
2145
- return addHeapObject(ret);
2274
+ __wbg_call_40b008ba32f73991: function() { return handleError(function (arg0, arg1) {
2275
+ const ret = arg0.call(arg1);
2276
+ return ret;
2146
2277
  }, arguments); },
2147
- __wbg_call_6137034ef55c9d0f: function() { return handleError(function (arg0, arg1) {
2148
- const ret = getObject(arg0).call(getObject(arg1));
2149
- return addHeapObject(ret);
2278
+ __wbg_call_a410eb4b59ed5965: function() { return handleError(function (arg0, arg1, arg2) {
2279
+ const ret = arg0.call(arg1, arg2);
2280
+ return ret;
2150
2281
  }, arguments); },
2151
- __wbg_cancelAnimationFrame_6d30ac112c49342a: function() { return handleError(function (arg0, arg1) {
2152
- getObject(arg0).cancelAnimationFrame(arg1);
2282
+ __wbg_cancelAnimationFrame_c0d19c5f7cfd7aae: function() { return handleError(function (arg0, arg1) {
2283
+ arg0.cancelAnimationFrame(arg1);
2153
2284
  }, arguments); },
2154
- __wbg_changedTouches_df984754af5ef0fa: function() { return logError(function (arg0) {
2155
- const ret = getObject(arg0).changedTouches;
2156
- return addHeapObject(ret);
2285
+ __wbg_changedTouches_133917dec6f0866e: function() { return logError(function (arg0) {
2286
+ const ret = arg0.changedTouches;
2287
+ return ret;
2157
2288
  }, arguments); },
2158
- __wbg_clearColor_3f6aa096dc12e8b7: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2159
- getObject(arg0).clearColor(arg1, arg2, arg3, arg4);
2289
+ __wbg_clearColor_0a9b08857907c212: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2290
+ arg0.clearColor(arg1, arg2, arg3, arg4);
2160
2291
  }, arguments); },
2161
- __wbg_clearColor_796427e8ac60fe14: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2162
- getObject(arg0).clearColor(arg1, arg2, arg3, arg4);
2292
+ __wbg_clearColor_195b5a731bca5836: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2293
+ arg0.clearColor(arg1, arg2, arg3, arg4);
2163
2294
  }, arguments); },
2164
- __wbg_clearInterval_f1a050672da2658c: function() { return logError(function (arg0, arg1) {
2165
- getObject(arg0).clearInterval(arg1);
2295
+ __wbg_clearInterval_75e54e39df78e754: function() { return logError(function (arg0, arg1) {
2296
+ arg0.clearInterval(arg1);
2166
2297
  }, arguments); },
2167
- __wbg_clearTimeout_c7bc4c3c7a7774af: function() { return logError(function (arg0, arg1) {
2168
- getObject(arg0).clearTimeout(arg1);
2298
+ __wbg_clearTimeout_fd2c5dfcf4c67f84: function() { return logError(function (arg0, arg1) {
2299
+ arg0.clearTimeout(arg1);
2169
2300
  }, arguments); },
2170
- __wbg_clear_175cf3cb6d98d72b: function() { return logError(function (arg0, arg1) {
2171
- getObject(arg0).clear(arg1 >>> 0);
2301
+ __wbg_clear_3ffa1ed794f92a04: function() { return logError(function (arg0, arg1) {
2302
+ arg0.clear(arg1 >>> 0);
2172
2303
  }, arguments); },
2173
- __wbg_clear_cb96796cc568b7c8: function() { return logError(function (arg0, arg1) {
2174
- getObject(arg0).clear(arg1 >>> 0);
2304
+ __wbg_clear_ccb3d618da90fea3: function() { return logError(function (arg0, arg1) {
2305
+ arg0.clear(arg1 >>> 0);
2175
2306
  }, arguments); },
2176
- __wbg_clientX_5075231ed45e8ef5: function() { return logError(function (arg0) {
2177
- const ret = getObject(arg0).clientX;
2307
+ __wbg_clientX_7207eed549b03753: function() { return logError(function (arg0) {
2308
+ const ret = arg0.clientX;
2178
2309
  _assertNum(ret);
2179
2310
  return ret;
2180
2311
  }, arguments); },
2181
- __wbg_clientX_80fda6c64299fd4d: function() { return logError(function (arg0) {
2182
- const ret = getObject(arg0).clientX;
2312
+ __wbg_clientX_8c315b448e031608: function() { return logError(function (arg0) {
2313
+ const ret = arg0.clientX;
2183
2314
  _assertNum(ret);
2184
2315
  return ret;
2185
2316
  }, arguments); },
2186
- __wbg_clientY_0206292d4e8f94cb: function() { return logError(function (arg0) {
2187
- const ret = getObject(arg0).clientY;
2317
+ __wbg_clientY_3371139730cd6f74: function() { return logError(function (arg0) {
2318
+ const ret = arg0.clientY;
2188
2319
  _assertNum(ret);
2189
2320
  return ret;
2190
2321
  }, arguments); },
2191
- __wbg_clientY_846c39814ce02ab2: function() { return logError(function (arg0) {
2192
- const ret = getObject(arg0).clientY;
2322
+ __wbg_clientY_864eb3eff334b02a: function() { return logError(function (arg0) {
2323
+ const ret = arg0.clientY;
2193
2324
  _assertNum(ret);
2194
2325
  return ret;
2195
2326
  }, arguments); },
2196
- __wbg_clipboardData_0048090643ed57a2: function() { return logError(function (arg0) {
2197
- const ret = getObject(arg0).clipboardData;
2198
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2327
+ __wbg_clipboardData_40289949920202d6: function() { return logError(function (arg0) {
2328
+ const ret = arg0.clipboardData;
2329
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2199
2330
  }, arguments); },
2200
- __wbg_clipboard_9bf6a11ffd0b00a8: function() { return logError(function (arg0) {
2201
- const ret = getObject(arg0).clipboard;
2202
- return addHeapObject(ret);
2331
+ __wbg_clipboard_047ad3d952a13066: function() { return logError(function (arg0) {
2332
+ const ret = arg0.clipboard;
2333
+ return ret;
2203
2334
  }, arguments); },
2204
- __wbg_colorMask_4d6afbbbc3022fbe: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2205
- getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
2335
+ __wbg_colorMask_24c1b6c3ec53f8c8: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2336
+ arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
2206
2337
  }, arguments); },
2207
- __wbg_colorMask_8c903995f6f873be: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2208
- getObject(arg0).colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
2338
+ __wbg_colorMask_cfc2d619716d01ed: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2339
+ arg0.colorMask(arg1 !== 0, arg2 !== 0, arg3 !== 0, arg4 !== 0);
2209
2340
  }, arguments); },
2210
- __wbg_compileShader_073a75409aaf96d2: function() { return logError(function (arg0, arg1) {
2211
- getObject(arg0).compileShader(getObject(arg1));
2341
+ __wbg_compileShader_11eb6754e9b15970: function() { return logError(function (arg0, arg1) {
2342
+ arg0.compileShader(arg1);
2212
2343
  }, arguments); },
2213
- __wbg_compileShader_c2b53ff3a8851f60: function() { return logError(function (arg0, arg1) {
2214
- getObject(arg0).compileShader(getObject(arg1));
2344
+ __wbg_compileShader_54c3771819e6caba: function() { return logError(function (arg0, arg1) {
2345
+ arg0.compileShader(arg1);
2215
2346
  }, arguments); },
2216
- __wbg_contentBoxSize_1c91213ed1ddb06d: function() { return logError(function (arg0) {
2217
- const ret = getObject(arg0).contentBoxSize;
2218
- return addHeapObject(ret);
2347
+ __wbg_contentBoxSize_d394eb8fa40e0155: function() { return logError(function (arg0) {
2348
+ const ret = arg0.contentBoxSize;
2349
+ return ret;
2219
2350
  }, arguments); },
2220
- __wbg_contentRect_65cd41b1e711b4e1: function() { return logError(function (arg0) {
2221
- const ret = getObject(arg0).contentRect;
2222
- return addHeapObject(ret);
2351
+ __wbg_contentRect_efd2ab04babd2afb: function() { return logError(function (arg0) {
2352
+ const ret = arg0.contentRect;
2353
+ return ret;
2223
2354
  }, arguments); },
2224
- __wbg_createBuffer_d1dd23bf8704564c: function() { return logError(function (arg0) {
2225
- const ret = getObject(arg0).createBuffer();
2226
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2355
+ __wbg_createBuffer_2c27ad5f899d418d: function() { return logError(function (arg0) {
2356
+ const ret = arg0.createBuffer();
2357
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2227
2358
  }, arguments); },
2228
- __wbg_createBuffer_ffe613371d42cfd3: function() { return logError(function (arg0) {
2229
- const ret = getObject(arg0).createBuffer();
2230
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2359
+ __wbg_createBuffer_ca6ca40e9fb13678: function() { return logError(function (arg0) {
2360
+ const ret = arg0.createBuffer();
2361
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2231
2362
  }, arguments); },
2232
- __wbg_createElement_74049073a11f9c31: function() { return handleError(function (arg0, arg1, arg2) {
2233
- const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
2234
- return addHeapObject(ret);
2363
+ __wbg_createElement_de4a31ed2fb252be: function() { return handleError(function (arg0, arg1, arg2) {
2364
+ const ret = arg0.createElement(getStringFromWasm0(arg1, arg2));
2365
+ return ret;
2235
2366
  }, arguments); },
2236
- __wbg_createProgram_cbf448e6f18a9402: function() { return logError(function (arg0) {
2237
- const ret = getObject(arg0).createProgram();
2238
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2367
+ __wbg_createProgram_de0881c688a8e43b: function() { return logError(function (arg0) {
2368
+ const ret = arg0.createProgram();
2369
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2239
2370
  }, arguments); },
2240
- __wbg_createProgram_e0c81b0d2b8d0fd0: function() { return logError(function (arg0) {
2241
- const ret = getObject(arg0).createProgram();
2242
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2371
+ __wbg_createProgram_ea784724f6f0074f: function() { return logError(function (arg0) {
2372
+ const ret = arg0.createProgram();
2373
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2243
2374
  }, arguments); },
2244
- __wbg_createShader_6c1a2295587878a5: function() { return logError(function (arg0, arg1) {
2245
- const ret = getObject(arg0).createShader(arg1 >>> 0);
2246
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2375
+ __wbg_createShader_9754a1e4ef374e84: function() { return logError(function (arg0, arg1) {
2376
+ const ret = arg0.createShader(arg1 >>> 0);
2377
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2247
2378
  }, arguments); },
2248
- __wbg_createShader_7c9d99a21ecb08c0: function() { return logError(function (arg0, arg1) {
2249
- const ret = getObject(arg0).createShader(arg1 >>> 0);
2250
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2379
+ __wbg_createShader_d2d90020273cef2b: function() { return logError(function (arg0, arg1) {
2380
+ const ret = arg0.createShader(arg1 >>> 0);
2381
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2251
2382
  }, arguments); },
2252
- __wbg_createTexture_01e8e591b64237de: function() { return logError(function (arg0) {
2253
- const ret = getObject(arg0).createTexture();
2254
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2383
+ __wbg_createTexture_3287f26407473071: function() { return logError(function (arg0) {
2384
+ const ret = arg0.createTexture();
2385
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2255
2386
  }, arguments); },
2256
- __wbg_createTexture_5f2583508ebe379b: function() { return logError(function (arg0) {
2257
- const ret = getObject(arg0).createTexture();
2258
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2387
+ __wbg_createTexture_eec9a1994aabeca7: function() { return logError(function (arg0) {
2388
+ const ret = arg0.createTexture();
2389
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2259
2390
  }, arguments); },
2260
- __wbg_createVertexArrayOES_a8dc8498b56df937: function() { return logError(function (arg0) {
2261
- const ret = getObject(arg0).createVertexArrayOES();
2262
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2391
+ __wbg_createVertexArrayOES_3eaf087ef22da1cb: function() { return logError(function (arg0) {
2392
+ const ret = arg0.createVertexArrayOES();
2393
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2263
2394
  }, arguments); },
2264
- __wbg_createVertexArray_b223ea69dd08fcab: function() { return logError(function (arg0) {
2265
- const ret = getObject(arg0).createVertexArray();
2266
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2395
+ __wbg_createVertexArray_1293d2ffa8346be2: function() { return logError(function (arg0) {
2396
+ const ret = arg0.createVertexArray();
2397
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2267
2398
  }, arguments); },
2268
- __wbg_ctrlKey_282349f48e6cb157: function() { return logError(function (arg0) {
2269
- const ret = getObject(arg0).ctrlKey;
2399
+ __wbg_ctrlKey_97b77227d0599549: function() { return logError(function (arg0) {
2400
+ const ret = arg0.ctrlKey;
2270
2401
  _assertBoolean(ret);
2271
2402
  return ret;
2272
2403
  }, arguments); },
2273
- __wbg_ctrlKey_8b5101745e8782fa: function() { return logError(function (arg0) {
2274
- const ret = getObject(arg0).ctrlKey;
2404
+ __wbg_ctrlKey_b7978e4cf78dc62b: function() { return logError(function (arg0) {
2405
+ const ret = arg0.ctrlKey;
2275
2406
  _assertBoolean(ret);
2276
2407
  return ret;
2277
2408
  }, arguments); },
2278
- __wbg_cullFace_12123c1c97f1ba2c: function() { return logError(function (arg0, arg1) {
2279
- getObject(arg0).cullFace(arg1 >>> 0);
2409
+ __wbg_cullFace_208151a46885a1fa: function() { return logError(function (arg0, arg1) {
2410
+ arg0.cullFace(arg1 >>> 0);
2280
2411
  }, arguments); },
2281
- __wbg_cullFace_1a01f0b6d5aeb687: function() { return logError(function (arg0, arg1) {
2282
- getObject(arg0).cullFace(arg1 >>> 0);
2412
+ __wbg_cullFace_9eaca57652d7ed37: function() { return logError(function (arg0, arg1) {
2413
+ arg0.cullFace(arg1 >>> 0);
2283
2414
  }, arguments); },
2284
- __wbg_dataTransfer_afa27477f2f9e0e6: function() { return logError(function (arg0) {
2285
- const ret = getObject(arg0).dataTransfer;
2286
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2415
+ __wbg_dataTransfer_3f478a3e477952f6: function() { return logError(function (arg0) {
2416
+ const ret = arg0.dataTransfer;
2417
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2287
2418
  }, arguments); },
2288
- __wbg_data_64004cd467093bab: function() { return logError(function (arg0, arg1) {
2289
- const ret = getObject(arg1).data;
2419
+ __wbg_data_6419bc2d9a3951a4: function() { return logError(function (arg0, arg1) {
2420
+ const ret = arg1.data;
2290
2421
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2291
2422
  var len1 = WASM_VECTOR_LEN;
2292
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2293
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2423
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2424
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2294
2425
  }, arguments); },
2295
- __wbg_data_7fb5381a4f605ae4: function() { return logError(function (arg0, arg1) {
2296
- const ret = getObject(arg1).data;
2426
+ __wbg_data_fb9a3ebd8ff4b3fd: function() { return logError(function (arg0, arg1) {
2427
+ const ret = arg1.data;
2297
2428
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2298
2429
  var len1 = WASM_VECTOR_LEN;
2299
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2300
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2430
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2431
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2301
2432
  }, arguments); },
2302
2433
  __wbg_debug_2171f116875ea377: function() { return logError(function (arg0, arg1) {
2303
2434
  console.debug(getStringFromWasm0(arg0, arg1));
2304
2435
  }, arguments); },
2305
- __wbg_deleteBuffer_070e58aaaf2a7a8b: function() { return logError(function (arg0, arg1) {
2306
- getObject(arg0).deleteBuffer(getObject(arg1));
2436
+ __wbg_deleteBuffer_673584ba5a55669d: function() { return logError(function (arg0, arg1) {
2437
+ arg0.deleteBuffer(arg1);
2307
2438
  }, arguments); },
2308
- __wbg_deleteBuffer_7775ee9e248c8468: function() { return logError(function (arg0, arg1) {
2309
- getObject(arg0).deleteBuffer(getObject(arg1));
2439
+ __wbg_deleteBuffer_ffa760fd3b0b5ef1: function() { return logError(function (arg0, arg1) {
2440
+ arg0.deleteBuffer(arg1);
2310
2441
  }, arguments); },
2311
- __wbg_deleteProgram_822906f0368175d0: function() { return logError(function (arg0, arg1) {
2312
- getObject(arg0).deleteProgram(getObject(arg1));
2442
+ __wbg_deleteProgram_8c38fff0f4a88dea: function() { return logError(function (arg0, arg1) {
2443
+ arg0.deleteProgram(arg1);
2313
2444
  }, arguments); },
2314
- __wbg_deleteProgram_b524b30ad176cdb4: function() { return logError(function (arg0, arg1) {
2315
- getObject(arg0).deleteProgram(getObject(arg1));
2445
+ __wbg_deleteProgram_c07d952a1b0c1cb6: function() { return logError(function (arg0, arg1) {
2446
+ arg0.deleteProgram(arg1);
2316
2447
  }, arguments); },
2317
- __wbg_deleteShader_a70f6cc1918d67eb: function() { return logError(function (arg0, arg1) {
2318
- getObject(arg0).deleteShader(getObject(arg1));
2448
+ __wbg_deleteShader_320530dd636bc187: function() { return logError(function (arg0, arg1) {
2449
+ arg0.deleteShader(arg1);
2319
2450
  }, arguments); },
2320
- __wbg_deleteShader_da18a294158c2d15: function() { return logError(function (arg0, arg1) {
2321
- getObject(arg0).deleteShader(getObject(arg1));
2451
+ __wbg_deleteShader_ac74568b64a1c3c7: function() { return logError(function (arg0, arg1) {
2452
+ arg0.deleteShader(arg1);
2322
2453
  }, arguments); },
2323
- __wbg_deleteTexture_78c170241204a466: function() { return logError(function (arg0, arg1) {
2324
- getObject(arg0).deleteTexture(getObject(arg1));
2454
+ __wbg_deleteTexture_1653a9994a44215e: function() { return logError(function (arg0, arg1) {
2455
+ arg0.deleteTexture(arg1);
2325
2456
  }, arguments); },
2326
- __wbg_deleteTexture_9f42750adb092e4f: function() { return logError(function (arg0, arg1) {
2327
- getObject(arg0).deleteTexture(getObject(arg1));
2457
+ __wbg_deleteTexture_89bd1d49ae4fb309: function() { return logError(function (arg0, arg1) {
2458
+ arg0.deleteTexture(arg1);
2328
2459
  }, arguments); },
2329
- __wbg_deltaMode_6280d8266d5520f5: function() { return logError(function (arg0) {
2330
- const ret = getObject(arg0).deltaMode;
2460
+ __wbg_deltaMode_d2ba7673c0228446: function() { return logError(function (arg0) {
2461
+ const ret = arg0.deltaMode;
2331
2462
  _assertNum(ret);
2332
2463
  return ret;
2333
2464
  }, arguments); },
2334
- __wbg_deltaX_d330516e89f03877: function() { return logError(function (arg0) {
2335
- const ret = getObject(arg0).deltaX;
2465
+ __wbg_deltaX_6ad2483f3f4c0349: function() { return logError(function (arg0) {
2466
+ const ret = arg0.deltaX;
2336
2467
  return ret;
2337
2468
  }, arguments); },
2338
- __wbg_deltaY_7abc8fc9878d0002: function() { return logError(function (arg0) {
2339
- const ret = getObject(arg0).deltaY;
2469
+ __wbg_deltaY_37dc0a54748a91f4: function() { return logError(function (arg0) {
2470
+ const ret = arg0.deltaY;
2340
2471
  return ret;
2341
2472
  }, arguments); },
2342
- __wbg_depthFunc_92e96d8f46a23300: function() { return logError(function (arg0, arg1) {
2343
- getObject(arg0).depthFunc(arg1 >>> 0);
2473
+ __wbg_depthFunc_04abd9f6ff980ba9: function() { return logError(function (arg0, arg1) {
2474
+ arg0.depthFunc(arg1 >>> 0);
2344
2475
  }, arguments); },
2345
- __wbg_depthFunc_a41fb5adacb22e09: function() { return logError(function (arg0, arg1) {
2346
- getObject(arg0).depthFunc(arg1 >>> 0);
2476
+ __wbg_depthFunc_584bfa0174e7628a: function() { return logError(function (arg0, arg1) {
2477
+ arg0.depthFunc(arg1 >>> 0);
2347
2478
  }, arguments); },
2348
- __wbg_depthMask_06ecff4d4514c38f: function() { return logError(function (arg0, arg1) {
2349
- getObject(arg0).depthMask(arg1 !== 0);
2479
+ __wbg_depthMask_276856a569045897: function() { return logError(function (arg0, arg1) {
2480
+ arg0.depthMask(arg1 !== 0);
2350
2481
  }, arguments); },
2351
- __wbg_depthMask_0d7c3dec3b8405ee: function() { return logError(function (arg0, arg1) {
2352
- getObject(arg0).depthMask(arg1 !== 0);
2482
+ __wbg_depthMask_2ba7e83178c3cec3: function() { return logError(function (arg0, arg1) {
2483
+ arg0.depthMask(arg1 !== 0);
2353
2484
  }, arguments); },
2354
- __wbg_detachShader_1ed15fc2d289cf15: function() { return logError(function (arg0, arg1, arg2) {
2355
- getObject(arg0).detachShader(getObject(arg1), getObject(arg2));
2485
+ __wbg_detachShader_c85365fd7844e9b3: function() { return logError(function (arg0, arg1, arg2) {
2486
+ arg0.detachShader(arg1, arg2);
2356
2487
  }, arguments); },
2357
- __wbg_detachShader_67dabaaad80a795e: function() { return logError(function (arg0, arg1, arg2) {
2358
- getObject(arg0).detachShader(getObject(arg1), getObject(arg2));
2488
+ __wbg_detachShader_f1bbf36cb414e038: function() { return logError(function (arg0, arg1, arg2) {
2489
+ arg0.detachShader(arg1, arg2);
2359
2490
  }, arguments); },
2360
- __wbg_devicePixelContentBoxSize_83d4c55aa7829e7a: function() { return logError(function (arg0) {
2361
- const ret = getObject(arg0).devicePixelContentBoxSize;
2362
- return addHeapObject(ret);
2491
+ __wbg_devicePixelContentBoxSize_762c920a20c8b97f: function() { return logError(function (arg0) {
2492
+ const ret = arg0.devicePixelContentBoxSize;
2493
+ return ret;
2363
2494
  }, arguments); },
2364
- __wbg_devicePixelRatio_7d39e9af5448d3d4: function() { return logError(function (arg0) {
2365
- const ret = getObject(arg0).devicePixelRatio;
2495
+ __wbg_devicePixelRatio_90ee4024cee5d5f4: function() { return logError(function (arg0) {
2496
+ const ret = arg0.devicePixelRatio;
2366
2497
  return ret;
2367
2498
  }, arguments); },
2368
- __wbg_disableVertexAttribArray_11c9f11bee30c9d8: function() { return logError(function (arg0, arg1) {
2369
- getObject(arg0).disableVertexAttribArray(arg1 >>> 0);
2499
+ __wbg_disableVertexAttribArray_011898581287ef1e: function() { return logError(function (arg0, arg1) {
2500
+ arg0.disableVertexAttribArray(arg1 >>> 0);
2370
2501
  }, arguments); },
2371
- __wbg_disableVertexAttribArray_c4c8af1f9e4120d4: function() { return logError(function (arg0, arg1) {
2372
- getObject(arg0).disableVertexAttribArray(arg1 >>> 0);
2502
+ __wbg_disableVertexAttribArray_5c66375eba552ee7: function() { return logError(function (arg0, arg1) {
2503
+ arg0.disableVertexAttribArray(arg1 >>> 0);
2373
2504
  }, arguments); },
2374
- __wbg_disable_19fe787eccdf0272: function() { return logError(function (arg0, arg1) {
2375
- getObject(arg0).disable(arg1 >>> 0);
2505
+ __wbg_disable_2ead6c11cefd0322: function() { return logError(function (arg0, arg1) {
2506
+ arg0.disable(arg1 >>> 0);
2376
2507
  }, arguments); },
2377
- __wbg_disable_81b2cb5f8cea15ae: function() { return logError(function (arg0, arg1) {
2378
- getObject(arg0).disable(arg1 >>> 0);
2508
+ __wbg_disable_8a9e81e6d64d046b: function() { return logError(function (arg0, arg1) {
2509
+ arg0.disable(arg1 >>> 0);
2379
2510
  }, arguments); },
2380
- __wbg_disconnect_1eac4c705724307d: function() { return logError(function (arg0) {
2381
- getObject(arg0).disconnect();
2511
+ __wbg_disconnect_cfb0d06aca1c1b50: function() { return logError(function (arg0) {
2512
+ arg0.disconnect();
2382
2513
  }, arguments); },
2383
- __wbg_document_9854e03c05fc8834: function() { return logError(function (arg0) {
2384
- const ret = getObject(arg0).document;
2385
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2514
+ __wbg_document_3b5c3071b43e97ee: function() { return logError(function (arg0) {
2515
+ const ret = arg0.document;
2516
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2386
2517
  }, arguments); },
2387
- __wbg_done_b41a1d26cdb37fb6: function() { return logError(function (arg0) {
2388
- const ret = getObject(arg0).done;
2518
+ __wbg_done_57e08d0be6e30c02: function() { return logError(function (arg0) {
2519
+ const ret = arg0.done;
2389
2520
  _assertBoolean(ret);
2390
2521
  return ret;
2391
2522
  }, arguments); },
2392
- __wbg_drawArraysInstancedANGLE_b76512b5abba6668: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2393
- getObject(arg0).drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
2523
+ __wbg_drawArraysInstancedANGLE_635e10224985b842: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2524
+ arg0.drawArraysInstancedANGLE(arg1 >>> 0, arg2, arg3, arg4);
2394
2525
  }, arguments); },
2395
- __wbg_drawArraysInstanced_9b44aa78a087154d: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2396
- getObject(arg0).drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
2526
+ __wbg_drawArraysInstanced_762b36f2147c7a85: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2527
+ arg0.drawArraysInstanced(arg1 >>> 0, arg2, arg3, arg4);
2397
2528
  }, arguments); },
2398
- __wbg_drawArrays_08872e02fb57b847: function() { return logError(function (arg0, arg1, arg2, arg3) {
2399
- getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3);
2529
+ __wbg_drawArrays_a9c18db2e94f4a82: function() { return logError(function (arg0, arg1, arg2, arg3) {
2530
+ arg0.drawArrays(arg1 >>> 0, arg2, arg3);
2400
2531
  }, arguments); },
2401
- __wbg_drawArrays_741af5c3f8db636f: function() { return logError(function (arg0, arg1, arg2, arg3) {
2402
- getObject(arg0).drawArrays(arg1 >>> 0, arg2, arg3);
2532
+ __wbg_drawArrays_fe5a51410bfabb5b: function() { return logError(function (arg0, arg1, arg2, arg3) {
2533
+ arg0.drawArrays(arg1 >>> 0, arg2, arg3);
2403
2534
  }, arguments); },
2404
- __wbg_drawElementsInstancedANGLE_c3fc0cfa9e29a1bc: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
2405
- getObject(arg0).drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
2535
+ __wbg_drawElementsInstancedANGLE_470ce8b489eeafa5: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
2536
+ arg0.drawElementsInstancedANGLE(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
2406
2537
  }, arguments); },
2407
- __wbg_drawElementsInstanced_d7c396aa034159b6: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
2408
- getObject(arg0).drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
2538
+ __wbg_drawElementsInstanced_3240c0c168d6af87: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
2539
+ arg0.drawElementsInstanced(arg1 >>> 0, arg2, arg3 >>> 0, arg4, arg5);
2409
2540
  }, arguments); },
2410
- __wbg_drawElements_c8988ba71de1101a: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2411
- getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
2541
+ __wbg_drawElements_c70e0887282fa70e: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2542
+ arg0.drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
2412
2543
  }, arguments); },
2413
- __wbg_drawElements_cc1e6c631e89eddf: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2414
- getObject(arg0).drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
2544
+ __wbg_drawElements_d76df94ac144b73b: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2545
+ arg0.drawElements(arg1 >>> 0, arg2, arg3 >>> 0, arg4);
2415
2546
  }, arguments); },
2416
- __wbg_elementFromPoint_8f6f88cd3ac4b9e8: function() { return logError(function (arg0, arg1, arg2) {
2417
- const ret = getObject(arg0).elementFromPoint(arg1, arg2);
2418
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2547
+ __wbg_elementFromPoint_980d6f496a4e8662: function() { return logError(function (arg0, arg1, arg2) {
2548
+ const ret = arg0.elementFromPoint(arg1, arg2);
2549
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2419
2550
  }, arguments); },
2420
- __wbg_elementFromPoint_fb48b4624ec3dd6a: function() { return logError(function (arg0, arg1, arg2) {
2421
- const ret = getObject(arg0).elementFromPoint(arg1, arg2);
2422
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2551
+ __wbg_elementFromPoint_d54699de5ca534da: function() { return logError(function (arg0, arg1, arg2) {
2552
+ const ret = arg0.elementFromPoint(arg1, arg2);
2553
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2423
2554
  }, arguments); },
2424
- __wbg_enableVertexAttribArray_1496b78a8dbab9fd: function() { return logError(function (arg0, arg1) {
2425
- getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
2555
+ __wbg_enableVertexAttribArray_d485706ade6bebf8: function() { return logError(function (arg0, arg1) {
2556
+ arg0.enableVertexAttribArray(arg1 >>> 0);
2426
2557
  }, arguments); },
2427
- __wbg_enableVertexAttribArray_d52693866bc8b8dd: function() { return logError(function (arg0, arg1) {
2428
- getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
2558
+ __wbg_enableVertexAttribArray_eeecc6185af24227: function() { return logError(function (arg0, arg1) {
2559
+ arg0.enableVertexAttribArray(arg1 >>> 0);
2429
2560
  }, arguments); },
2430
- __wbg_enable_6eeb9c0e9b483cee: function() { return logError(function (arg0, arg1) {
2431
- getObject(arg0).enable(arg1 >>> 0);
2561
+ __wbg_enable_c3c00565c89d3175: function() { return logError(function (arg0, arg1) {
2562
+ arg0.enable(arg1 >>> 0);
2432
2563
  }, arguments); },
2433
- __wbg_enable_cb4fc19b51148c37: function() { return logError(function (arg0, arg1) {
2434
- getObject(arg0).enable(arg1 >>> 0);
2564
+ __wbg_enable_e955d456ef6b93f7: function() { return logError(function (arg0, arg1) {
2565
+ arg0.enable(arg1 >>> 0);
2566
+ }, arguments); },
2567
+ __wbg_entries_7bb1459bd9b5c2b9: function() { return logError(function (arg0) {
2568
+ const ret = Object.entries(arg0);
2569
+ return ret;
2435
2570
  }, arguments); },
2436
2571
  __wbg_error_26c06b769da3d042: function() { return logError(function (arg0, arg1) {
2437
2572
  let deferred0_0;
@@ -2441,265 +2576,280 @@ function __wbg_get_imports() {
2441
2576
  deferred0_1 = arg1;
2442
2577
  console.error(getStringFromWasm0(arg0, arg1));
2443
2578
  } finally {
2444
- wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
2579
+ wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
2445
2580
  }
2446
2581
  }, arguments); },
2447
- __wbg_error_c9cf3fc2064683a9: function() { return logError(function (arg0) {
2448
- console.error(getObject(arg0));
2582
+ __wbg_error_d1fc0193610e0e39: function() { return logError(function (arg0) {
2583
+ console.error(arg0);
2449
2584
  }, arguments); },
2450
- __wbg_files_fe03006f0ba1a5f0: function() { return logError(function (arg0) {
2451
- const ret = getObject(arg0).files;
2452
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2585
+ __wbg_files_2d8b9138ca028e2c: function() { return logError(function (arg0) {
2586
+ const ret = arg0.files;
2587
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2453
2588
  }, arguments); },
2454
- __wbg_focus_f740d61348f422e7: function() { return handleError(function (arg0) {
2455
- getObject(arg0).focus();
2589
+ __wbg_focus_d5e2fdbdb56416f0: function() { return handleError(function (arg0) {
2590
+ arg0.focus();
2456
2591
  }, arguments); },
2457
- __wbg_force_7632bf44933b4388: function() { return logError(function (arg0) {
2458
- const ret = getObject(arg0).force;
2592
+ __wbg_force_f08aaeb22f5ab738: function() { return logError(function (arg0) {
2593
+ const ret = arg0.force;
2459
2594
  return ret;
2460
2595
  }, arguments); },
2461
- __wbg_frontFace_6751b4b97f997aeb: function() { return logError(function (arg0, arg1) {
2462
- getObject(arg0).frontFace(arg1 >>> 0);
2596
+ __wbg_frontFace_124bb11a73cc0dd1: function() { return logError(function (arg0, arg1) {
2597
+ arg0.frontFace(arg1 >>> 0);
2463
2598
  }, arguments); },
2464
- __wbg_frontFace_b064adb15b6f3772: function() { return logError(function (arg0, arg1) {
2465
- getObject(arg0).frontFace(arg1 >>> 0);
2599
+ __wbg_frontFace_8bbd77ca3b8f90a6: function() { return logError(function (arg0, arg1) {
2600
+ arg0.frontFace(arg1 >>> 0);
2466
2601
  }, arguments); },
2467
- __wbg_generateMipmap_c63604006bfa52d5: function() { return logError(function (arg0, arg1) {
2468
- getObject(arg0).generateMipmap(arg1 >>> 0);
2602
+ __wbg_generateMipmap_41bc066b35a6cd3d: function() { return logError(function (arg0, arg1) {
2603
+ arg0.generateMipmap(arg1 >>> 0);
2469
2604
  }, arguments); },
2470
- __wbg_generateMipmap_cd49f6eec9558721: function() { return logError(function (arg0, arg1) {
2471
- getObject(arg0).generateMipmap(arg1 >>> 0);
2605
+ __wbg_generateMipmap_e1a3b00736bb27bf: function() { return logError(function (arg0, arg1) {
2606
+ arg0.generateMipmap(arg1 >>> 0);
2472
2607
  }, arguments); },
2473
- __wbg_getAttribLocation_5071f5fc51f90b1a: function() { return logError(function (arg0, arg1, arg2, arg3) {
2474
- const ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
2608
+ __wbg_getAttribLocation_239fdc3b9bf96547: function() { return logError(function (arg0, arg1, arg2, arg3) {
2609
+ const ret = arg0.getAttribLocation(arg1, getStringFromWasm0(arg2, arg3));
2475
2610
  _assertNum(ret);
2476
2611
  return ret;
2477
2612
  }, arguments); },
2478
- __wbg_getAttribLocation_ee9dfb2293fb9f7f: function() { return logError(function (arg0, arg1, arg2, arg3) {
2479
- const ret = getObject(arg0).getAttribLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
2613
+ __wbg_getAttribLocation_8e502cd753de95f7: function() { return logError(function (arg0, arg1, arg2, arg3) {
2614
+ const ret = arg0.getAttribLocation(arg1, getStringFromWasm0(arg2, arg3));
2480
2615
  _assertNum(ret);
2481
2616
  return ret;
2482
2617
  }, arguments); },
2483
- __wbg_getBoundingClientRect_57152b1a20f3de34: function() { return logError(function (arg0) {
2484
- const ret = getObject(arg0).getBoundingClientRect();
2485
- return addHeapObject(ret);
2618
+ __wbg_getBoundingClientRect_329ca748ec918b0c: function() { return logError(function (arg0) {
2619
+ const ret = arg0.getBoundingClientRect();
2620
+ return ret;
2486
2621
  }, arguments); },
2487
- __wbg_getComputedStyle_dd0f456804795fd6: function() { return handleError(function (arg0, arg1) {
2488
- const ret = getObject(arg0).getComputedStyle(getObject(arg1));
2489
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2622
+ __wbg_getComputedStyle_3be93eadae0000a9: function() { return handleError(function (arg0, arg1) {
2623
+ const ret = arg0.getComputedStyle(arg1);
2624
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2490
2625
  }, arguments); },
2491
- __wbg_getContext_635e36719cad2623: function() { return handleError(function (arg0, arg1, arg2) {
2492
- const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
2493
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2626
+ __wbg_getContext_d93f904b714852ae: function() { return handleError(function (arg0, arg1, arg2) {
2627
+ const ret = arg0.getContext(getStringFromWasm0(arg1, arg2));
2628
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2494
2629
  }, arguments); },
2495
- __wbg_getData_bc58070c107b7d8a: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2496
- const ret = getObject(arg1).getData(getStringFromWasm0(arg2, arg3));
2630
+ __wbg_getData_a7ee5645c60062ce: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2631
+ const ret = arg1.getData(getStringFromWasm0(arg2, arg3));
2497
2632
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2498
2633
  const len1 = WASM_VECTOR_LEN;
2499
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2500
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2634
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2635
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2501
2636
  }, arguments); },
2502
- __wbg_getElementById_cc94972b404e4eaa: function() { return logError(function (arg0, arg1, arg2) {
2503
- const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
2504
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2637
+ __wbg_getElementById_7ee213db584f37b0: function() { return logError(function (arg0, arg1, arg2) {
2638
+ const ret = arg0.getElementById(getStringFromWasm0(arg1, arg2));
2639
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2505
2640
  }, arguments); },
2506
- __wbg_getError_d626fee76ccfa3d2: function() { return logError(function (arg0) {
2507
- const ret = getObject(arg0).getError();
2641
+ __wbg_getError_8687e93ec4a1d62e: function() { return logError(function (arg0) {
2642
+ const ret = arg0.getError();
2508
2643
  _assertNum(ret);
2509
2644
  return ret;
2510
2645
  }, arguments); },
2511
- __wbg_getError_dd9903fdd93a6802: function() { return logError(function (arg0) {
2512
- const ret = getObject(arg0).getError();
2646
+ __wbg_getError_bb38cafe57b0913f: function() { return logError(function (arg0) {
2647
+ const ret = arg0.getError();
2513
2648
  _assertNum(ret);
2514
2649
  return ret;
2515
2650
  }, arguments); },
2516
- __wbg_getExtension_1d23846cc4d1b9ed: function() { return handleError(function (arg0, arg1, arg2) {
2517
- const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));
2518
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2651
+ __wbg_getExtension_30c10f49f67eb05d: function() { return handleError(function (arg0, arg1, arg2) {
2652
+ const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
2653
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2519
2654
  }, arguments); },
2520
- __wbg_getExtension_abfda2c5db286b07: function() { return handleError(function (arg0, arg1, arg2) {
2521
- const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));
2522
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2655
+ __wbg_getExtension_6b9dbc54fff39405: function() { return handleError(function (arg0, arg1, arg2) {
2656
+ const ret = arg0.getExtension(getStringFromWasm0(arg1, arg2));
2657
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2523
2658
  }, arguments); },
2524
- __wbg_getItem_4c80b7663197c7ff: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2525
- const ret = getObject(arg1).getItem(getStringFromWasm0(arg2, arg3));
2659
+ __wbg_getItem_49556a3e59cfb688: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2660
+ const ret = arg1.getItem(getStringFromWasm0(arg2, arg3));
2526
2661
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2527
2662
  var len1 = WASM_VECTOR_LEN;
2528
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2529
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2663
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2664
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2530
2665
  }, arguments); },
2531
- __wbg_getParameter_974595a6624c6c10: function() { return handleError(function (arg0, arg1) {
2532
- const ret = getObject(arg0).getParameter(arg1 >>> 0);
2533
- return addHeapObject(ret);
2666
+ __wbg_getParameter_4c67158a3cef7a34: function() { return handleError(function (arg0, arg1) {
2667
+ const ret = arg0.getParameter(arg1 >>> 0);
2668
+ return ret;
2534
2669
  }, arguments); },
2535
- __wbg_getParameter_a97f491753b05668: function() { return handleError(function (arg0, arg1) {
2536
- const ret = getObject(arg0).getParameter(arg1 >>> 0);
2537
- return addHeapObject(ret);
2670
+ __wbg_getParameter_7fbe79a0114e119f: function() { return handleError(function (arg0, arg1) {
2671
+ const ret = arg0.getParameter(arg1 >>> 0);
2672
+ return ret;
2538
2673
  }, arguments); },
2539
- __wbg_getProgramInfoLog_208fb1ff31006495: function() { return logError(function (arg0, arg1, arg2) {
2540
- const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
2674
+ __wbg_getProgramInfoLog_01799fd7b07b7f3c: function() { return logError(function (arg0, arg1, arg2) {
2675
+ const ret = arg1.getProgramInfoLog(arg2);
2541
2676
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2542
2677
  var len1 = WASM_VECTOR_LEN;
2543
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2544
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2678
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2679
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2545
2680
  }, arguments); },
2546
- __wbg_getProgramInfoLog_3276b294d6d42fe2: function() { return logError(function (arg0, arg1, arg2) {
2547
- const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
2681
+ __wbg_getProgramInfoLog_92d61551e1ab39ea: function() { return logError(function (arg0, arg1, arg2) {
2682
+ const ret = arg1.getProgramInfoLog(arg2);
2548
2683
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2549
2684
  var len1 = WASM_VECTOR_LEN;
2550
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2551
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2685
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2686
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2552
2687
  }, arguments); },
2553
- __wbg_getProgramParameter_50bafab01cf88652: function() { return logError(function (arg0, arg1, arg2) {
2554
- const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
2555
- return addHeapObject(ret);
2688
+ __wbg_getProgramParameter_1e7562e7d66170c3: function() { return logError(function (arg0, arg1, arg2) {
2689
+ const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
2690
+ return ret;
2556
2691
  }, arguments); },
2557
- __wbg_getProgramParameter_fc7124bb9fb7c675: function() { return logError(function (arg0, arg1, arg2) {
2558
- const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
2559
- return addHeapObject(ret);
2692
+ __wbg_getProgramParameter_3edd526f9e5f6c10: function() { return logError(function (arg0, arg1, arg2) {
2693
+ const ret = arg0.getProgramParameter(arg1, arg2 >>> 0);
2694
+ return ret;
2560
2695
  }, arguments); },
2561
- __wbg_getPropertyValue_e90a3628c2de4fb6: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2562
- const ret = getObject(arg1).getPropertyValue(getStringFromWasm0(arg2, arg3));
2696
+ __wbg_getPropertyValue_c0aae8b8341401f1: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2697
+ const ret = arg1.getPropertyValue(getStringFromWasm0(arg2, arg3));
2563
2698
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2564
2699
  const len1 = WASM_VECTOR_LEN;
2565
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2566
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2700
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2701
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2567
2702
  }, arguments); },
2568
- __wbg_getRootNode_76c323f0bf80bdcd: function() { return logError(function (arg0) {
2569
- const ret = getObject(arg0).getRootNode();
2570
- return addHeapObject(ret);
2703
+ __wbg_getRootNode_6de097189559981d: function() { return logError(function (arg0) {
2704
+ const ret = arg0.getRootNode();
2705
+ return ret;
2571
2706
  }, arguments); },
2572
- __wbg_getShaderInfoLog_7e0cbba353ca95da: function() { return logError(function (arg0, arg1, arg2) {
2573
- const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
2707
+ __wbg_getShaderInfoLog_3cfe5b3e097d0f2d: function() { return logError(function (arg0, arg1, arg2) {
2708
+ const ret = arg1.getShaderInfoLog(arg2);
2574
2709
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2575
2710
  var len1 = WASM_VECTOR_LEN;
2576
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2577
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2711
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2712
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2578
2713
  }, arguments); },
2579
- __wbg_getShaderInfoLog_bb64c5a52df0b7a3: function() { return logError(function (arg0, arg1, arg2) {
2580
- const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
2714
+ __wbg_getShaderInfoLog_8758e8aea7960121: function() { return logError(function (arg0, arg1, arg2) {
2715
+ const ret = arg1.getShaderInfoLog(arg2);
2581
2716
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2582
2717
  var len1 = WASM_VECTOR_LEN;
2583
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2584
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2718
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2719
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2720
+ }, arguments); },
2721
+ __wbg_getShaderParameter_a346f74d5ba41c4b: function() { return logError(function (arg0, arg1, arg2) {
2722
+ const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
2723
+ return ret;
2585
2724
  }, arguments); },
2586
- __wbg_getShaderParameter_745acf10b8e45e31: function() { return logError(function (arg0, arg1, arg2) {
2587
- const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
2588
- return addHeapObject(ret);
2725
+ __wbg_getShaderParameter_fc64069fbc010d19: function() { return logError(function (arg0, arg1, arg2) {
2726
+ const ret = arg0.getShaderParameter(arg1, arg2 >>> 0);
2727
+ return ret;
2589
2728
  }, arguments); },
2590
- __wbg_getShaderParameter_e55ea9c456df5484: function() { return logError(function (arg0, arg1, arg2) {
2591
- const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
2592
- return addHeapObject(ret);
2729
+ __wbg_getSupportedExtensions_3cf028ec80655a75: function() { return logError(function (arg0) {
2730
+ const ret = arg0.getSupportedExtensions();
2731
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2593
2732
  }, arguments); },
2594
- __wbg_getSupportedExtensions_1459bad37860c0c3: function() { return logError(function (arg0) {
2595
- const ret = getObject(arg0).getSupportedExtensions();
2596
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2733
+ __wbg_getSupportedExtensions_f48b337512e8f8ce: function() { return logError(function (arg0) {
2734
+ const ret = arg0.getSupportedExtensions();
2735
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2597
2736
  }, arguments); },
2598
- __wbg_getSupportedExtensions_5ff7ed28c30a8baa: function() { return logError(function (arg0) {
2599
- const ret = getObject(arg0).getSupportedExtensions();
2600
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2737
+ __wbg_getUniformLocation_6352e0669c8f5393: function() { return logError(function (arg0, arg1, arg2, arg3) {
2738
+ const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
2739
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2601
2740
  }, arguments); },
2602
- __wbg_getUniformLocation_50ba45dade572703: function() { return logError(function (arg0, arg1, arg2, arg3) {
2603
- const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
2604
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2741
+ __wbg_getUniformLocation_e0d11c86376cdd26: function() { return logError(function (arg0, arg1, arg2, arg3) {
2742
+ const ret = arg0.getUniformLocation(arg1, getStringFromWasm0(arg2, arg3));
2743
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2605
2744
  }, arguments); },
2606
- __wbg_getUniformLocation_cb4e3e121235f91a: function() { return logError(function (arg0, arg1, arg2, arg3) {
2607
- const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
2608
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2745
+ __wbg_get_2080c49015e35254: function() { return handleError(function (arg0, arg1) {
2746
+ const ret = Reflect.get(arg0, arg1);
2747
+ return ret;
2609
2748
  }, arguments); },
2610
- __wbg_get_31af05bd4842a84f: function() { return handleError(function (arg0, arg1) {
2611
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
2612
- return addHeapObject(ret);
2749
+ __wbg_get_635eea311fa1a291: function() { return handleError(function (arg0, arg1) {
2750
+ const ret = Reflect.get(arg0, arg1);
2751
+ return ret;
2613
2752
  }, arguments); },
2614
- __wbg_get_5dde8a29f073d908: function() { return logError(function (arg0, arg1) {
2615
- const ret = getObject(arg0)[arg1 >>> 0];
2616
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2753
+ __wbg_get_955bde2b2fe2defa: function() { return logError(function (arg0, arg1) {
2754
+ const ret = arg0[arg1 >>> 0];
2755
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2617
2756
  }, arguments); },
2618
- __wbg_get_658f6698067d9515: function() { return handleError(function (arg0, arg1) {
2619
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
2620
- return addHeapObject(ret);
2757
+ __wbg_get_a1361571ec6a08ad: function() { return logError(function (arg0, arg1) {
2758
+ const ret = arg0[arg1 >>> 0];
2759
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2621
2760
  }, arguments); },
2622
- __wbg_get_9356b22e2a46465d: function() { return logError(function (arg0, arg1) {
2623
- const ret = getObject(arg0)[arg1 >>> 0];
2624
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2761
+ __wbg_get_c69af7448e1ad5c0: function() { return logError(function (arg0, arg1) {
2762
+ const ret = arg0[arg1 >>> 0];
2763
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2625
2764
  }, arguments); },
2626
- __wbg_get_b64ce72bb2abf052: function() { return logError(function (arg0, arg1) {
2627
- const ret = getObject(arg0)[arg1 >>> 0];
2628
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
2765
+ __wbg_get_d7176cfb76d71114: function() { return logError(function (arg0, arg1) {
2766
+ const ret = arg0[arg1 >>> 0];
2767
+ return ret;
2629
2768
  }, arguments); },
2630
- __wbg_get_unchecked_288889d017702237: function() { return logError(function (arg0, arg1) {
2631
- const ret = getObject(arg0)[arg1 >>> 0];
2632
- return addHeapObject(ret);
2769
+ __wbg_get_unchecked_e6325ad374eff861: function() { return logError(function (arg0, arg1) {
2770
+ const ret = arg0[arg1 >>> 0];
2771
+ return ret;
2633
2772
  }, arguments); },
2634
- __wbg_hasInstance_62b7bb420e7d02aa: function() { return logError(function () {
2773
+ __wbg_hasInstance_fd39faf1b56b7341: function() { return logError(function () {
2635
2774
  const ret = Symbol.hasInstance;
2636
- return addHeapObject(ret);
2775
+ return ret;
2637
2776
  }, arguments); },
2638
- __wbg_hash_c4083658cccb641b: function() { return handleError(function (arg0, arg1) {
2639
- const ret = getObject(arg1).hash;
2777
+ __wbg_hash_20c2dd23244d8e75: function() { return handleError(function (arg0, arg1) {
2778
+ const ret = arg1.hash;
2640
2779
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2641
2780
  const len1 = WASM_VECTOR_LEN;
2642
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2643
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2781
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2782
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2644
2783
  }, arguments); },
2645
- __wbg_height_c9feb8f4a9a61abc: function() { return logError(function (arg0) {
2646
- const ret = getObject(arg0).height;
2784
+ __wbg_height_4e985809fcad22ec: function() { return logError(function (arg0) {
2785
+ const ret = arg0.height;
2647
2786
  return ret;
2648
2787
  }, arguments); },
2649
- __wbg_height_fc97e1a0c2e7331f: function() { return logError(function (arg0) {
2650
- const ret = getObject(arg0).height;
2788
+ __wbg_height_ac6f1c3f49c13fe2: function() { return logError(function (arg0) {
2789
+ const ret = arg0.height;
2651
2790
  _assertNum(ret);
2652
2791
  return ret;
2653
2792
  }, arguments); },
2654
- __wbg_hidden_2ba371ecafe013fa: function() { return logError(function (arg0) {
2655
- const ret = getObject(arg0).hidden;
2793
+ __wbg_hidden_34dfd3711ef53b31: function() { return logError(function (arg0) {
2794
+ const ret = arg0.hidden;
2656
2795
  _assertBoolean(ret);
2657
2796
  return ret;
2658
2797
  }, arguments); },
2659
- __wbg_host_75aa3342c78db1a2: function() { return handleError(function (arg0, arg1) {
2660
- const ret = getObject(arg1).host;
2798
+ __wbg_host_0832e2670dc79e53: function() { return handleError(function (arg0, arg1) {
2799
+ const ret = arg1.host;
2661
2800
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2662
2801
  const len1 = WASM_VECTOR_LEN;
2663
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2664
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2802
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2803
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2665
2804
  }, arguments); },
2666
- __wbg_hostname_b9a71dd3c2da0eef: function() { return handleError(function (arg0, arg1) {
2667
- const ret = getObject(arg1).hostname;
2805
+ __wbg_hostname_e42e6cb425d7924e: function() { return handleError(function (arg0, arg1) {
2806
+ const ret = arg1.hostname;
2668
2807
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2669
2808
  const len1 = WASM_VECTOR_LEN;
2670
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2671
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2809
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2810
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2672
2811
  }, arguments); },
2673
- __wbg_href_abc902beb29d526e: function() { return handleError(function (arg0, arg1) {
2674
- const ret = getObject(arg1).href;
2812
+ __wbg_href_a0128fb7c568d8e5: function() { return handleError(function (arg0, arg1) {
2813
+ const ret = arg1.href;
2675
2814
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2676
2815
  const len1 = WASM_VECTOR_LEN;
2677
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2678
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2816
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2817
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2679
2818
  }, arguments); },
2680
- __wbg_id_957842593c7d0e05: function() { return logError(function (arg0, arg1) {
2681
- const ret = getObject(arg1).id;
2819
+ __wbg_id_2aec05cae0b5abeb: function() { return logError(function (arg0, arg1) {
2820
+ const ret = arg1.id;
2682
2821
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2683
2822
  const len1 = WASM_VECTOR_LEN;
2684
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2685
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
2823
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
2824
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2686
2825
  }, arguments); },
2687
- __wbg_identifier_24ee7ee6118f12a7: function() { return logError(function (arg0) {
2688
- const ret = getObject(arg0).identifier;
2826
+ __wbg_identifier_a3f04561174d66d3: function() { return logError(function (arg0) {
2827
+ const ret = arg0.identifier;
2689
2828
  _assertNum(ret);
2690
2829
  return ret;
2691
2830
  }, arguments); },
2692
2831
  __wbg_info_0908a023ebb06a24: function() { return logError(function (arg0, arg1) {
2693
2832
  console.info(getStringFromWasm0(arg0, arg1));
2694
2833
  }, arguments); },
2695
- __wbg_inlineSize_edbf0c52598aa763: function() { return logError(function (arg0) {
2696
- const ret = getObject(arg0).inlineSize;
2834
+ __wbg_inlineSize_0be24bd91656e021: function() { return logError(function (arg0) {
2835
+ const ret = arg0.inlineSize;
2836
+ return ret;
2837
+ }, arguments); },
2838
+ __wbg_instanceof_ArrayBuffer_12cdaa4161423e6b: function() { return logError(function (arg0) {
2839
+ let result;
2840
+ try {
2841
+ result = arg0 instanceof ArrayBuffer;
2842
+ } catch (_) {
2843
+ result = false;
2844
+ }
2845
+ const ret = result;
2846
+ _assertBoolean(ret);
2697
2847
  return ret;
2698
2848
  }, arguments); },
2699
- __wbg_instanceof_ArrayBuffer_a99f175873e5d9b8: function() { return logError(function (arg0) {
2849
+ __wbg_instanceof_Document_b3d3a5e7905b4a2f: function() { return logError(function (arg0) {
2700
2850
  let result;
2701
2851
  try {
2702
- result = getObject(arg0) instanceof ArrayBuffer;
2852
+ result = arg0 instanceof Document;
2703
2853
  } catch (_) {
2704
2854
  result = false;
2705
2855
  }
@@ -2707,10 +2857,10 @@ function __wbg_get_imports() {
2707
2857
  _assertBoolean(ret);
2708
2858
  return ret;
2709
2859
  }, arguments); },
2710
- __wbg_instanceof_Document_b2a06e9deaeb61d1: function() { return logError(function (arg0) {
2860
+ __wbg_instanceof_Element_05dbb22ded594343: function() { return logError(function (arg0) {
2711
2861
  let result;
2712
2862
  try {
2713
- result = getObject(arg0) instanceof Document;
2863
+ result = arg0 instanceof Element;
2714
2864
  } catch (_) {
2715
2865
  result = false;
2716
2866
  }
@@ -2718,10 +2868,10 @@ function __wbg_get_imports() {
2718
2868
  _assertBoolean(ret);
2719
2869
  return ret;
2720
2870
  }, arguments); },
2721
- __wbg_instanceof_Element_818e11074cdb63b5: function() { return logError(function (arg0) {
2871
+ __wbg_instanceof_Float32Array_94718abab7dc1d7f: function() { return logError(function (arg0) {
2722
2872
  let result;
2723
2873
  try {
2724
- result = getObject(arg0) instanceof Element;
2874
+ result = arg0 instanceof Float32Array;
2725
2875
  } catch (_) {
2726
2876
  result = false;
2727
2877
  }
@@ -2729,10 +2879,10 @@ function __wbg_get_imports() {
2729
2879
  _assertBoolean(ret);
2730
2880
  return ret;
2731
2881
  }, arguments); },
2732
- __wbg_instanceof_Float32Array_595afb0f28b828c9: function() { return logError(function (arg0) {
2882
+ __wbg_instanceof_HtmlCanvasElement_89f280683e987b9e: function() { return logError(function (arg0) {
2733
2883
  let result;
2734
2884
  try {
2735
- result = getObject(arg0) instanceof Float32Array;
2885
+ result = arg0 instanceof HTMLCanvasElement;
2736
2886
  } catch (_) {
2737
2887
  result = false;
2738
2888
  }
@@ -2740,10 +2890,10 @@ function __wbg_get_imports() {
2740
2890
  _assertBoolean(ret);
2741
2891
  return ret;
2742
2892
  }, arguments); },
2743
- __wbg_instanceof_HtmlCanvasElement_0a30c11fbbf41841: function() { return logError(function (arg0) {
2893
+ __wbg_instanceof_HtmlElement_ea32ea7121e0a496: function() { return logError(function (arg0) {
2744
2894
  let result;
2745
2895
  try {
2746
- result = getObject(arg0) instanceof HTMLCanvasElement;
2896
+ result = arg0 instanceof HTMLElement;
2747
2897
  } catch (_) {
2748
2898
  result = false;
2749
2899
  }
@@ -2751,10 +2901,10 @@ function __wbg_get_imports() {
2751
2901
  _assertBoolean(ret);
2752
2902
  return ret;
2753
2903
  }, arguments); },
2754
- __wbg_instanceof_HtmlElement_32fb153a5a0e2349: function() { return logError(function (arg0) {
2904
+ __wbg_instanceof_HtmlInputElement_28751c98d77a5a65: function() { return logError(function (arg0) {
2755
2905
  let result;
2756
2906
  try {
2757
- result = getObject(arg0) instanceof HTMLElement;
2907
+ result = arg0 instanceof HTMLInputElement;
2758
2908
  } catch (_) {
2759
2909
  result = false;
2760
2910
  }
@@ -2762,10 +2912,10 @@ function __wbg_get_imports() {
2762
2912
  _assertBoolean(ret);
2763
2913
  return ret;
2764
2914
  }, arguments); },
2765
- __wbg_instanceof_HtmlInputElement_5c33d1de59c09c49: function() { return logError(function (arg0) {
2915
+ __wbg_instanceof_Map_0b4fc8b62e73f163: function() { return logError(function (arg0) {
2766
2916
  let result;
2767
2917
  try {
2768
- result = getObject(arg0) instanceof HTMLInputElement;
2918
+ result = arg0 instanceof Map;
2769
2919
  } catch (_) {
2770
2920
  result = false;
2771
2921
  }
@@ -2773,10 +2923,10 @@ function __wbg_get_imports() {
2773
2923
  _assertBoolean(ret);
2774
2924
  return ret;
2775
2925
  }, arguments); },
2776
- __wbg_instanceof_ResizeObserverEntry_159abe6614a8e952: function() { return logError(function (arg0) {
2926
+ __wbg_instanceof_ResizeObserverEntry_a0c6243afc3437cc: function() { return logError(function (arg0) {
2777
2927
  let result;
2778
2928
  try {
2779
- result = getObject(arg0) instanceof ResizeObserverEntry;
2929
+ result = arg0 instanceof ResizeObserverEntry;
2780
2930
  } catch (_) {
2781
2931
  result = false;
2782
2932
  }
@@ -2784,10 +2934,10 @@ function __wbg_get_imports() {
2784
2934
  _assertBoolean(ret);
2785
2935
  return ret;
2786
2936
  }, arguments); },
2787
- __wbg_instanceof_ResizeObserverSize_f9d47e3f8cfd50db: function() { return logError(function (arg0) {
2937
+ __wbg_instanceof_ResizeObserverSize_f8702ac4737486d8: function() { return logError(function (arg0) {
2788
2938
  let result;
2789
2939
  try {
2790
- result = getObject(arg0) instanceof ResizeObserverSize;
2940
+ result = arg0 instanceof ResizeObserverSize;
2791
2941
  } catch (_) {
2792
2942
  result = false;
2793
2943
  }
@@ -2795,10 +2945,10 @@ function __wbg_get_imports() {
2795
2945
  _assertBoolean(ret);
2796
2946
  return ret;
2797
2947
  }, arguments); },
2798
- __wbg_instanceof_ShadowRoot_0ef114d846d9fd90: function() { return logError(function (arg0) {
2948
+ __wbg_instanceof_ShadowRoot_cd78159e03fed884: function() { return logError(function (arg0) {
2799
2949
  let result;
2800
2950
  try {
2801
- result = getObject(arg0) instanceof ShadowRoot;
2951
+ result = arg0 instanceof ShadowRoot;
2802
2952
  } catch (_) {
2803
2953
  result = false;
2804
2954
  }
@@ -2806,10 +2956,10 @@ function __wbg_get_imports() {
2806
2956
  _assertBoolean(ret);
2807
2957
  return ret;
2808
2958
  }, arguments); },
2809
- __wbg_instanceof_Uint8Array_828cef2aaacafc31: function() { return logError(function (arg0) {
2959
+ __wbg_instanceof_Uint8Array_d7aeb0dcb3108fea: function() { return logError(function (arg0) {
2810
2960
  let result;
2811
2961
  try {
2812
- result = getObject(arg0) instanceof Uint8Array;
2962
+ result = arg0 instanceof Uint8Array;
2813
2963
  } catch (_) {
2814
2964
  result = false;
2815
2965
  }
@@ -2817,10 +2967,10 @@ function __wbg_get_imports() {
2817
2967
  _assertBoolean(ret);
2818
2968
  return ret;
2819
2969
  }, arguments); },
2820
- __wbg_instanceof_WebGl2RenderingContext_64c994c14c0790fb: function() { return logError(function (arg0) {
2970
+ __wbg_instanceof_WebGl2RenderingContext_de6feb460369d6c6: function() { return logError(function (arg0) {
2821
2971
  let result;
2822
2972
  try {
2823
- result = getObject(arg0) instanceof WebGL2RenderingContext;
2973
+ result = arg0 instanceof WebGL2RenderingContext;
2824
2974
  } catch (_) {
2825
2975
  result = false;
2826
2976
  }
@@ -2828,10 +2978,10 @@ function __wbg_get_imports() {
2828
2978
  _assertBoolean(ret);
2829
2979
  return ret;
2830
2980
  }, arguments); },
2831
- __wbg_instanceof_WebGlRenderingContext_5e5e16df2e7a4904: function() { return logError(function (arg0) {
2981
+ __wbg_instanceof_WebGlRenderingContext_6e70e224f022d27a: function() { return logError(function (arg0) {
2832
2982
  let result;
2833
2983
  try {
2834
- result = getObject(arg0) instanceof WebGLRenderingContext;
2984
+ result = arg0 instanceof WebGLRenderingContext;
2835
2985
  } catch (_) {
2836
2986
  result = false;
2837
2987
  }
@@ -2839,10 +2989,10 @@ function __wbg_get_imports() {
2839
2989
  _assertBoolean(ret);
2840
2990
  return ret;
2841
2991
  }, arguments); },
2842
- __wbg_instanceof_Window_82d71df4eddf88bc: function() { return logError(function (arg0) {
2992
+ __wbg_instanceof_Window_5cf453f5639aa1a2: function() { return logError(function (arg0) {
2843
2993
  let result;
2844
2994
  try {
2845
- result = getObject(arg0) instanceof Window;
2995
+ result = arg0 instanceof Window;
2846
2996
  } catch (_) {
2847
2997
  result = false;
2848
2998
  }
@@ -2850,712 +3000,718 @@ function __wbg_get_imports() {
2850
3000
  _assertBoolean(ret);
2851
3001
  return ret;
2852
3002
  }, arguments); },
2853
- __wbg_isArray_e15a2ff68ffdbef2: function() { return logError(function (arg0) {
2854
- const ret = Array.isArray(getObject(arg0));
3003
+ __wbg_isArray_bcf1376d0d732d08: function() { return logError(function (arg0) {
3004
+ const ret = Array.isArray(arg0);
2855
3005
  _assertBoolean(ret);
2856
3006
  return ret;
2857
3007
  }, arguments); },
2858
- __wbg_isComposing_600c9236938f8e5a: function() { return logError(function (arg0) {
2859
- const ret = getObject(arg0).isComposing;
3008
+ __wbg_isComposing_4b9450ae90c4e806: function() { return logError(function (arg0) {
3009
+ const ret = arg0.isComposing;
2860
3010
  _assertBoolean(ret);
2861
3011
  return ret;
2862
3012
  }, arguments); },
2863
- __wbg_isComposing_d03a4fd2d6155b14: function() { return logError(function (arg0) {
2864
- const ret = getObject(arg0).isComposing;
3013
+ __wbg_isComposing_b1e74068b6ff27e2: function() { return logError(function (arg0) {
3014
+ const ret = arg0.isComposing;
2865
3015
  _assertBoolean(ret);
2866
3016
  return ret;
2867
3017
  }, arguments); },
2868
- __wbg_isSafeInteger_717808ad6a54bd9e: function() { return logError(function (arg0) {
2869
- const ret = Number.isSafeInteger(getObject(arg0));
3018
+ __wbg_isSafeInteger_1a35ba4d31e71d38: function() { return logError(function (arg0) {
3019
+ const ret = Number.isSafeInteger(arg0);
2870
3020
  _assertBoolean(ret);
2871
3021
  return ret;
2872
3022
  }, arguments); },
2873
- __wbg_isSecureContext_e61363f740acf8de: function() { return logError(function (arg0) {
2874
- const ret = getObject(arg0).isSecureContext;
3023
+ __wbg_isSecureContext_6b3c96e6b1051931: function() { return logError(function (arg0) {
3024
+ const ret = arg0.isSecureContext;
2875
3025
  _assertBoolean(ret);
2876
3026
  return ret;
2877
3027
  }, arguments); },
2878
- __wbg_is_4b278c0bd3caba97: function() { return logError(function (arg0, arg1) {
2879
- const ret = Object.is(getObject(arg0), getObject(arg1));
3028
+ __wbg_isView_7c4f5a7c257b3a84: function() { return logError(function (arg0) {
3029
+ const ret = ArrayBuffer.isView(arg0);
2880
3030
  _assertBoolean(ret);
2881
3031
  return ret;
2882
3032
  }, arguments); },
2883
- __wbg_item_0c8f652c0830e437: function() { return logError(function (arg0, arg1) {
2884
- const ret = getObject(arg0).item(arg1 >>> 0);
2885
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3033
+ __wbg_is_2248ff2b575d60c7: function() { return logError(function (arg0, arg1) {
3034
+ const ret = Object.is(arg0, arg1);
3035
+ _assertBoolean(ret);
3036
+ return ret;
2886
3037
  }, arguments); },
2887
- __wbg_items_25f8ccc11891dbeb: function() { return logError(function (arg0) {
2888
- const ret = getObject(arg0).items;
2889
- return addHeapObject(ret);
3038
+ __wbg_item_18c413e928250a06: function() { return logError(function (arg0, arg1) {
3039
+ const ret = arg0.item(arg1 >>> 0);
3040
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2890
3041
  }, arguments); },
2891
- __wbg_iterator_e3c31c892080e444: function() { return logError(function () {
3042
+ __wbg_items_37c99e94f307e5a6: function() { return logError(function (arg0) {
3043
+ const ret = arg0.items;
3044
+ return ret;
3045
+ }, arguments); },
3046
+ __wbg_iterator_e4c5e8f68ada7b58: function() { return logError(function () {
2892
3047
  const ret = Symbol.iterator;
2893
- return addHeapObject(ret);
3048
+ return ret;
2894
3049
  }, arguments); },
2895
- __wbg_keyCode_fbee6c8fd374ff5e: function() { return logError(function (arg0) {
2896
- const ret = getObject(arg0).keyCode;
3050
+ __wbg_keyCode_8de649c9821071f4: function() { return logError(function (arg0) {
3051
+ const ret = arg0.keyCode;
2897
3052
  _assertNum(ret);
2898
3053
  return ret;
2899
3054
  }, arguments); },
2900
- __wbg_key_1193871533b99ae5: function() { return logError(function (arg0, arg1) {
2901
- const ret = getObject(arg1).key;
3055
+ __wbg_key_76125a528069feff: function() { return logError(function (arg0, arg1) {
3056
+ const ret = arg1.key;
2902
3057
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2903
3058
  const len1 = WASM_VECTOR_LEN;
2904
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2905
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3059
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3060
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2906
3061
  }, arguments); },
2907
- __wbg_lastModified_6c50da7084f8ec7e: function() { return logError(function (arg0) {
2908
- const ret = getObject(arg0).lastModified;
3062
+ __wbg_lastModified_c103c69e6c705fd3: function() { return logError(function (arg0) {
3063
+ const ret = arg0.lastModified;
2909
3064
  return ret;
2910
3065
  }, arguments); },
2911
- __wbg_left_e0a244490fe2f293: function() { return logError(function (arg0) {
2912
- const ret = getObject(arg0).left;
3066
+ __wbg_left_9df47701ff317a35: function() { return logError(function (arg0) {
3067
+ const ret = arg0.left;
2913
3068
  return ret;
2914
3069
  }, arguments); },
2915
- __wbg_length_06ca2697fe194eac: function() { return logError(function (arg0) {
2916
- const ret = getObject(arg0).length;
3070
+ __wbg_length_186163212ffe79c3: function() { return logError(function (arg0) {
3071
+ const ret = arg0.length;
2917
3072
  _assertNum(ret);
2918
3073
  return ret;
2919
3074
  }, arguments); },
2920
- __wbg_length_357ad61f15f550be: function() { return logError(function (arg0) {
2921
- const ret = getObject(arg0).length;
3075
+ __wbg_length_5031527eccbd59fd: function() { return logError(function (arg0) {
3076
+ const ret = arg0.length;
2922
3077
  _assertNum(ret);
2923
3078
  return ret;
2924
3079
  }, arguments); },
2925
- __wbg_length_7f3c00c40364105e: function() { return logError(function (arg0) {
2926
- const ret = getObject(arg0).length;
3080
+ __wbg_length_694310723930d77e: function() { return logError(function (arg0) {
3081
+ const ret = arg0.length;
2927
3082
  _assertNum(ret);
2928
3083
  return ret;
2929
3084
  }, arguments); },
2930
- __wbg_length_d4bdea10311bd9cf: function() { return logError(function (arg0) {
2931
- const ret = getObject(arg0).length;
3085
+ __wbg_length_b03a0fabb109b1e9: function() { return logError(function (arg0) {
3086
+ const ret = arg0.length;
2932
3087
  _assertNum(ret);
2933
3088
  return ret;
2934
3089
  }, arguments); },
2935
- __wbg_length_ff6b2e0dd257ad9a: function() { return logError(function (arg0) {
2936
- const ret = getObject(arg0).length;
3090
+ __wbg_length_ee846b4d1e8404a8: function() { return logError(function (arg0) {
3091
+ const ret = arg0.length;
2937
3092
  _assertNum(ret);
2938
3093
  return ret;
2939
3094
  }, arguments); },
2940
- __wbg_linkProgram_571a9ea00d38ff83: function() { return logError(function (arg0, arg1) {
2941
- getObject(arg0).linkProgram(getObject(arg1));
3095
+ __wbg_linkProgram_99848b73f1ebab5f: function() { return logError(function (arg0, arg1) {
3096
+ arg0.linkProgram(arg1);
2942
3097
  }, arguments); },
2943
- __wbg_linkProgram_acdc299c43d734a0: function() { return logError(function (arg0, arg1) {
2944
- getObject(arg0).linkProgram(getObject(arg1));
3098
+ __wbg_linkProgram_dee7cda98bacb12f: function() { return logError(function (arg0, arg1) {
3099
+ arg0.linkProgram(arg1);
2945
3100
  }, arguments); },
2946
- __wbg_localStorage_567c24950edbc178: function() { return handleError(function (arg0) {
2947
- const ret = getObject(arg0).localStorage;
2948
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3101
+ __wbg_localStorage_6827cfe6db14a9f6: function() { return handleError(function (arg0) {
3102
+ const ret = arg0.localStorage;
3103
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2949
3104
  }, arguments); },
2950
- __wbg_location_9c46e8ada95d3174: function() { return logError(function (arg0) {
2951
- const ret = getObject(arg0).location;
2952
- return addHeapObject(ret);
3105
+ __wbg_location_7320782274fc691b: function() { return logError(function (arg0) {
3106
+ const ret = arg0.location;
3107
+ return ret;
2953
3108
  }, arguments); },
2954
- __wbg_log_17c30ef363c61cf4: function() { return logError(function (arg0) {
2955
- console.log(getObject(arg0));
3109
+ __wbg_log_ff86bbb34c295e21: function() { return logError(function (arg0) {
3110
+ console.log(arg0);
2956
3111
  }, arguments); },
2957
- __wbg_matchMedia_8a4857f947f11f82: function() { return handleError(function (arg0, arg1, arg2) {
2958
- const ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2));
2959
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3112
+ __wbg_matchMedia_b53687d22ec43649: function() { return handleError(function (arg0, arg1, arg2) {
3113
+ const ret = arg0.matchMedia(getStringFromWasm0(arg1, arg2));
3114
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
2960
3115
  }, arguments); },
2961
- __wbg_matches_778d0873b064b1bf: function() { return logError(function (arg0) {
2962
- const ret = getObject(arg0).matches;
3116
+ __wbg_matches_a47c420646498c64: function() { return logError(function (arg0) {
3117
+ const ret = arg0.matches;
2963
3118
  _assertBoolean(ret);
2964
3119
  return ret;
2965
3120
  }, arguments); },
2966
- __wbg_metaKey_9c3be2ab835b0148: function() { return logError(function (arg0) {
2967
- const ret = getObject(arg0).metaKey;
3121
+ __wbg_metaKey_33c588e07fd74724: function() { return logError(function (arg0) {
3122
+ const ret = arg0.metaKey;
2968
3123
  _assertBoolean(ret);
2969
3124
  return ret;
2970
3125
  }, arguments); },
2971
- __wbg_metaKey_fb78da4d237d5bbb: function() { return logError(function (arg0) {
2972
- const ret = getObject(arg0).metaKey;
3126
+ __wbg_metaKey_34b378e7ba352fd6: function() { return logError(function (arg0) {
3127
+ const ret = arg0.metaKey;
2973
3128
  _assertBoolean(ret);
2974
3129
  return ret;
2975
3130
  }, arguments); },
2976
- __wbg_name_06fefa2542c6ce51: function() { return logError(function (arg0, arg1) {
2977
- const ret = getObject(arg1).name;
3131
+ __wbg_name_f721590be23206c9: function() { return logError(function (arg0, arg1) {
3132
+ const ret = arg1.name;
2978
3133
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2979
3134
  const len1 = WASM_VECTOR_LEN;
2980
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2981
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3135
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3136
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
2982
3137
  }, arguments); },
2983
- __wbg_navigator_2156486643462a87: function() { return logError(function (arg0) {
2984
- const ret = getObject(arg0).navigator;
2985
- return addHeapObject(ret);
3138
+ __wbg_navigator_c17f443a6fe5d38d: function() { return logError(function (arg0) {
3139
+ const ret = arg0.navigator;
3140
+ return ret;
2986
3141
  }, arguments); },
2987
- __wbg_new_1a8d2827bd9e1a2e: function() { return handleError(function (arg0) {
2988
- const ret = new ResizeObserver(getObject(arg0));
2989
- return addHeapObject(ret);
3142
+ __wbg_new_13de428334042d26: function() { return logError(function (arg0) {
3143
+ const ret = new Uint8Array(arg0);
3144
+ return ret;
2990
3145
  }, arguments); },
2991
- __wbg_new_1dbf7428bba60a42: function() { return logError(function (arg0) {
2992
- const ret = new Uint8Array(getObject(arg0));
2993
- return addHeapObject(ret);
3146
+ __wbg_new_37eb45aaf5eeb820: function() { return logError(function () {
3147
+ const ret = new Array();
3148
+ return ret;
2994
3149
  }, arguments); },
2995
- __wbg_new_2bdcdfcebdfc34d2: function() { return logError(function (arg0, arg1) {
3150
+ __wbg_new_4416a2fe2fac9c65: function() { return logError(function (arg0, arg1) {
2996
3151
  const ret = new TypeError(getStringFromWasm0(arg0, arg1));
2997
- return addHeapObject(ret);
3152
+ return ret;
2998
3153
  }, arguments); },
2999
- __wbg_new_343a093a3c2ffb4e: function() { return logError(function (arg0, arg1) {
3154
+ __wbg_new_787b9fb330d55d78: function() { return logError(function (arg0, arg1) {
3000
3155
  const ret = new Error(getStringFromWasm0(arg0, arg1));
3001
- return addHeapObject(ret);
3156
+ return ret;
3002
3157
  }, arguments); },
3003
- __wbg_new_5279b10692d16d29: function() { return logError(function () {
3004
- const ret = new Error();
3005
- return addHeapObject(ret);
3158
+ __wbg_new_8a1847cd91d0d7fb: function() { return logError(function (arg0, arg1) {
3159
+ const ret = new RangeError(getStringFromWasm0(arg0, arg1));
3160
+ return ret;
3006
3161
  }, arguments); },
3007
- __wbg_new_617a8cdb8bb1130e: function() { return logError(function () {
3008
- const ret = new Object();
3009
- return addHeapObject(ret);
3162
+ __wbg_new_a4f3a9cdd1555813: function() { return logError(function () {
3163
+ const ret = new Error();
3164
+ return ret;
3010
3165
  }, arguments); },
3011
- __wbg_new_6ab88fbe741af6b5: function() { return logError(function (arg0, arg1) {
3012
- const ret = new RangeError(getStringFromWasm0(arg0, arg1));
3013
- return addHeapObject(ret);
3166
+ __wbg_new_bdf613c6b0b3d702: function() { return handleError(function (arg0) {
3167
+ const ret = new ResizeObserver(arg0);
3168
+ return ret;
3014
3169
  }, arguments); },
3015
- __wbg_new_ee2291f50781bf1d: function() { return logError(function () {
3016
- const ret = new Array();
3017
- return addHeapObject(ret);
3170
+ __wbg_new_cd4348290afae586: function() { return logError(function () {
3171
+ const ret = new Object();
3172
+ return ret;
3018
3173
  }, arguments); },
3019
- __wbg_new_from_slice_9a868026ffa4208a: function() { return logError(function (arg0, arg1) {
3174
+ __wbg_new_from_slice_b8daf545a41c6aa0: function() { return logError(function (arg0, arg1) {
3020
3175
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
3021
- return addHeapObject(ret);
3176
+ return ret;
3022
3177
  }, arguments); },
3023
- __wbg_new_typed_b01cb72a8af741a3: function() { return logError(function (arg0, arg1) {
3178
+ __wbg_new_typed_e09da9dae6ee5935: function() { return logError(function (arg0, arg1) {
3024
3179
  try {
3025
3180
  var state0 = {a: arg0, b: arg1};
3026
3181
  var cb0 = (arg0, arg1) => {
3027
3182
  const a = state0.a;
3028
3183
  state0.a = 0;
3029
3184
  try {
3030
- return __wasm_bindgen_func_elem_8447(a, state0.b, arg0, arg1);
3185
+ return __wasm_bindgen_func_elem_8694(a, state0.b, arg0, arg1);
3031
3186
  } finally {
3032
3187
  state0.a = a;
3033
3188
  }
3034
3189
  };
3035
3190
  const ret = new Promise(cb0);
3036
- return addHeapObject(ret);
3191
+ return ret;
3037
3192
  } finally {
3038
3193
  state0.a = 0;
3039
3194
  }
3040
3195
  }, arguments); },
3041
- __wbg_new_with_record_from_str_to_blob_promise_d8b08e210be436ad: function() { return handleError(function (arg0) {
3042
- const ret = new ClipboardItem(getObject(arg0));
3043
- return addHeapObject(ret);
3196
+ __wbg_new_with_record_from_str_to_blob_promise_ecd5efb169d8daf2: function() { return handleError(function (arg0) {
3197
+ const ret = new ClipboardItem(arg0);
3198
+ return ret;
3044
3199
  }, arguments); },
3045
- __wbg_new_with_u8_array_sequence_and_options_fccc08fe93f4b8fd: function() { return handleError(function (arg0, arg1) {
3046
- const ret = new Blob(getObject(arg0), getObject(arg1));
3047
- return addHeapObject(ret);
3200
+ __wbg_new_with_u8_array_sequence_and_options_ca80bf9b8bbc67cf: function() { return handleError(function (arg0, arg1) {
3201
+ const ret = new Blob(arg0, arg1);
3202
+ return ret;
3048
3203
  }, arguments); },
3049
- __wbg_next_33784799010f1bbe: function() { return logError(function (arg0) {
3050
- const ret = getObject(arg0).next;
3051
- return addHeapObject(ret);
3204
+ __wbg_next_178c1651c11432b3: function() { return logError(function (arg0) {
3205
+ const ret = arg0.next;
3206
+ return ret;
3052
3207
  }, arguments); },
3053
- __wbg_next_f4aac29c42af995c: function() { return handleError(function (arg0) {
3054
- const ret = getObject(arg0).next();
3055
- return addHeapObject(ret);
3208
+ __wbg_next_af5ac6a08bb0a717: function() { return handleError(function (arg0) {
3209
+ const ret = arg0.next();
3210
+ return ret;
3056
3211
  }, arguments); },
3057
- __wbg_now_d0b7f4bea9f38490: function() { return logError(function (arg0) {
3058
- const ret = getObject(arg0).now();
3212
+ __wbg_now_043d245551b22f9c: function() { return logError(function (arg0) {
3213
+ const ret = arg0.now();
3059
3214
  return ret;
3060
3215
  }, arguments); },
3061
3216
  __wbg_now_e7c6795a7f81e10f: function() { return logError(function (arg0) {
3062
- const ret = getObject(arg0).now();
3217
+ const ret = arg0.now();
3063
3218
  return ret;
3064
3219
  }, arguments); },
3065
- __wbg_observe_d2d34ca6fcb958b1: function() { return logError(function (arg0, arg1, arg2) {
3066
- getObject(arg0).observe(getObject(arg1), getObject(arg2));
3220
+ __wbg_observe_2ffc8a70dc1147d1: function() { return logError(function (arg0, arg1, arg2) {
3221
+ arg0.observe(arg1, arg2);
3067
3222
  }, arguments); },
3068
- __wbg_of_d5dbecdc59e02e34: function() { return logError(function (arg0) {
3069
- const ret = Array.of(getObject(arg0));
3070
- return addHeapObject(ret);
3223
+ __wbg_of_027eb15371aac932: function() { return logError(function (arg0) {
3224
+ const ret = Array.of(arg0);
3225
+ return ret;
3071
3226
  }, arguments); },
3072
- __wbg_offsetTop_c36b688834dcdce3: function() { return logError(function (arg0) {
3073
- const ret = getObject(arg0).offsetTop;
3227
+ __wbg_offsetTop_18b5450f7d71de7f: function() { return logError(function (arg0) {
3228
+ const ret = arg0.offsetTop;
3074
3229
  _assertNum(ret);
3075
3230
  return ret;
3076
3231
  }, arguments); },
3077
- __wbg_open_d426932d10a5f130: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3078
- const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3079
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3232
+ __wbg_open_25109992994e4492: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3233
+ const ret = arg0.open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3234
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3080
3235
  }, arguments); },
3081
- __wbg_origin_96d72883773c6d82: function() { return handleError(function (arg0, arg1) {
3082
- const ret = getObject(arg1).origin;
3236
+ __wbg_origin_dafa41a3ee9236b1: function() { return handleError(function (arg0, arg1) {
3237
+ const ret = arg1.origin;
3083
3238
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3084
3239
  const len1 = WASM_VECTOR_LEN;
3085
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3086
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3240
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3241
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
3087
3242
  }, arguments); },
3088
- __wbg_performance_3fcf6e32a7e1ed0a: function() { return logError(function (arg0) {
3089
- const ret = getObject(arg0).performance;
3090
- return addHeapObject(ret);
3243
+ __wbg_performance_50e6a3f8dc80bbca: function() { return logError(function (arg0) {
3244
+ const ret = arg0.performance;
3245
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3091
3246
  }, arguments); },
3092
- __wbg_performance_d0d7b03fc649b694: function() { return logError(function (arg0) {
3093
- const ret = getObject(arg0).performance;
3094
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3247
+ __wbg_performance_7e4e4494fdc9d07a: function() { return logError(function (arg0) {
3248
+ const ret = arg0.performance;
3249
+ return ret;
3095
3250
  }, arguments); },
3096
- __wbg_pixelStorei_af18e636b3e7b725: function() { return logError(function (arg0, arg1, arg2) {
3097
- getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
3251
+ __wbg_pixelStorei_43dc7945a0d4d49c: function() { return logError(function (arg0, arg1, arg2) {
3252
+ arg0.pixelStorei(arg1 >>> 0, arg2);
3098
3253
  }, arguments); },
3099
- __wbg_pixelStorei_cb4e43466f5b8703: function() { return logError(function (arg0, arg1, arg2) {
3100
- getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
3254
+ __wbg_pixelStorei_6dd56b4da047c480: function() { return logError(function (arg0, arg1, arg2) {
3255
+ arg0.pixelStorei(arg1 >>> 0, arg2);
3101
3256
  }, arguments); },
3102
- __wbg_port_73ba89eedf847423: function() { return handleError(function (arg0, arg1) {
3103
- const ret = getObject(arg1).port;
3257
+ __wbg_port_114bc900ca0e4c6d: function() { return handleError(function (arg0, arg1) {
3258
+ const ret = arg1.port;
3104
3259
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3105
3260
  const len1 = WASM_VECTOR_LEN;
3106
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3107
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3261
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3262
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
3108
3263
  }, arguments); },
3109
- __wbg_preventDefault_af59afb0f0a02e20: function() { return logError(function (arg0) {
3110
- getObject(arg0).preventDefault();
3264
+ __wbg_preventDefault_cfb06b02e7406899: function() { return logError(function (arg0) {
3265
+ arg0.preventDefault();
3111
3266
  }, arguments); },
3112
- __wbg_protocol_c29b929bd710072b: function() { return handleError(function (arg0, arg1) {
3113
- const ret = getObject(arg1).protocol;
3267
+ __wbg_protocol_c60aedf8a6fa9fca: function() { return handleError(function (arg0, arg1) {
3268
+ const ret = arg1.protocol;
3114
3269
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3115
3270
  const len1 = WASM_VECTOR_LEN;
3116
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3117
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3271
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3272
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
3118
3273
  }, arguments); },
3119
- __wbg_prototypesetcall_bc27214492979395: function() { return logError(function (arg0, arg1, arg2) {
3120
- Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
3274
+ __wbg_prototypesetcall_13162965d1fe7aa3: function() { return logError(function (arg0, arg1, arg2) {
3275
+ Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
3121
3276
  }, arguments); },
3122
- __wbg_push_2baf45db356cf468: function() { return logError(function (arg0, arg1) {
3123
- const ret = getObject(arg0).push(getObject(arg1));
3277
+ __wbg_push_c9f4893fc209f768: function() { return logError(function (arg0, arg1) {
3278
+ const ret = arg0.push(arg1);
3124
3279
  _assertNum(ret);
3125
3280
  return ret;
3126
3281
  }, arguments); },
3127
- __wbg_queueMicrotask_9833f9a49df95a49: function() { return logError(function (arg0) {
3128
- const ret = getObject(arg0).queueMicrotask;
3129
- return addHeapObject(ret);
3282
+ __wbg_queueMicrotask_1e8503a8a690f0a3: function() { return logError(function (arg0) {
3283
+ const ret = arg0.queueMicrotask;
3284
+ return ret;
3130
3285
  }, arguments); },
3131
- __wbg_queueMicrotask_a72f977e97f23c5f: function() { return logError(function (arg0) {
3132
- queueMicrotask(getObject(arg0));
3286
+ __wbg_queueMicrotask_4a1a4d8dd332373b: function() { return logError(function (arg0) {
3287
+ queueMicrotask(arg0);
3133
3288
  }, arguments); },
3134
- __wbg_readPixels_31e44e70558ac590: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
3135
- getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7));
3289
+ __wbg_readPixels_22316d250d820aff: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
3290
+ arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
3136
3291
  }, arguments); },
3137
- __wbg_readPixels_3321086a7818a739: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
3138
- getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, getObject(arg7));
3292
+ __wbg_readPixels_56a96c4d106afcbc: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
3293
+ arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
3139
3294
  }, arguments); },
3140
- __wbg_readPixels_eb030cd9976eeca5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
3141
- getObject(arg0).readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
3295
+ __wbg_readPixels_7c7b54a733248182: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
3296
+ arg0.readPixels(arg1, arg2, arg3, arg4, arg5 >>> 0, arg6 >>> 0, arg7);
3142
3297
  }, arguments); },
3143
- __wbg_removeEventListener_6e68185345978771: function() { return handleError(function (arg0, arg1, arg2, arg3) {
3144
- getObject(arg0).removeEventListener(getStringFromWasm0(arg1, arg2), getObject(arg3));
3298
+ __wbg_removeEventListener_4e20bd5fac3de092: function() { return handleError(function (arg0, arg1, arg2, arg3) {
3299
+ arg0.removeEventListener(getStringFromWasm0(arg1, arg2), arg3);
3145
3300
  }, arguments); },
3146
- __wbg_removeItem_f7b602722ed566dd: function() { return handleError(function (arg0, arg1, arg2) {
3147
- getObject(arg0).removeItem(getStringFromWasm0(arg1, arg2));
3301
+ __wbg_removeItem_6db621e167d16a1c: function() { return handleError(function (arg0, arg1, arg2) {
3302
+ arg0.removeItem(getStringFromWasm0(arg1, arg2));
3148
3303
  }, arguments); },
3149
- __wbg_remove_9a5288388316028c: function() { return logError(function (arg0) {
3150
- getObject(arg0).remove();
3304
+ __wbg_remove_8228e91d7ddbc755: function() { return logError(function (arg0) {
3305
+ arg0.remove();
3151
3306
  }, arguments); },
3152
- __wbg_requestAnimationFrame_7b526ab7aa550c74: function() { return handleError(function (arg0, arg1) {
3153
- const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
3307
+ __wbg_requestAnimationFrame_9ba49d36a19ca83c: function() { return handleError(function (arg0, arg1) {
3308
+ const ret = arg0.requestAnimationFrame(arg1);
3154
3309
  _assertNum(ret);
3155
3310
  return ret;
3156
3311
  }, arguments); },
3157
- __wbg_resolve_0076e10020304ede: function() { return logError(function (arg0) {
3158
- const ret = Promise.resolve(getObject(arg0));
3159
- return addHeapObject(ret);
3312
+ __wbg_resolve_dbf78ab4942478b0: function() { return logError(function (arg0) {
3313
+ const ret = Promise.resolve(arg0);
3314
+ return ret;
3160
3315
  }, arguments); },
3161
- __wbg_right_1dca6be6342de981: function() { return logError(function (arg0) {
3162
- const ret = getObject(arg0).right;
3316
+ __wbg_right_87f14139bda7986d: function() { return logError(function (arg0) {
3317
+ const ret = arg0.right;
3163
3318
  return ret;
3164
3319
  }, arguments); },
3165
- __wbg_scissor_12ddc324094acd50: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3166
- getObject(arg0).scissor(arg1, arg2, arg3, arg4);
3320
+ __wbg_scissor_17956d9d23dfe025: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3321
+ arg0.scissor(arg1, arg2, arg3, arg4);
3167
3322
  }, arguments); },
3168
- __wbg_scissor_a9468482697c2bdb: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3169
- getObject(arg0).scissor(arg1, arg2, arg3, arg4);
3323
+ __wbg_scissor_bb7201f050f220ac: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3324
+ arg0.scissor(arg1, arg2, arg3, arg4);
3170
3325
  }, arguments); },
3171
- __wbg_search_31c06ba77ebf51f4: function() { return handleError(function (arg0, arg1) {
3172
- const ret = getObject(arg1).search;
3326
+ __wbg_search_b8ba44c19bb02b19: function() { return handleError(function (arg0, arg1) {
3327
+ const ret = arg1.search;
3173
3328
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3174
3329
  const len1 = WASM_VECTOR_LEN;
3175
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3176
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3330
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3331
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
3177
3332
  }, arguments); },
3178
- __wbg_selectionEnd_582c88abcc45a9f3: function() { return handleError(function (arg0) {
3179
- const ret = getObject(arg0).selectionEnd;
3333
+ __wbg_selectionEnd_785eea54e3259c55: function() { return handleError(function (arg0) {
3334
+ const ret = arg0.selectionEnd;
3180
3335
  if (!isLikeNone(ret)) {
3181
3336
  _assertNum(ret);
3182
3337
  }
3183
3338
  return isLikeNone(ret) ? Number.MAX_SAFE_INTEGER : (ret) >>> 0;
3184
3339
  }, arguments); },
3185
- __wbg_selectionStart_b1db69e8858218c6: function() { return handleError(function (arg0) {
3186
- const ret = getObject(arg0).selectionStart;
3340
+ __wbg_selectionStart_e1929323816eb3da: function() { return handleError(function (arg0) {
3341
+ const ret = arg0.selectionStart;
3187
3342
  if (!isLikeNone(ret)) {
3188
3343
  _assertNum(ret);
3189
3344
  }
3190
3345
  return isLikeNone(ret) ? Number.MAX_SAFE_INTEGER : (ret) >>> 0;
3191
3346
  }, arguments); },
3192
3347
  __wbg_selection_unwrap: function() { return logError(function (arg0) {
3193
- const ret = Selection.__unwrap(getObject(arg0));
3348
+ const ret = Selection.__unwrap(arg0);
3194
3349
  _assertNum(ret);
3195
3350
  return ret;
3196
3351
  }, arguments); },
3197
- __wbg_setAttribute_9e7d603908f63705: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3198
- getObject(arg0).setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3352
+ __wbg_setAttribute_f75317b2b5cabfb4: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3353
+ arg0.setAttribute(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3199
3354
  }, arguments); },
3200
- __wbg_setItem_c5fb0966b484ecd3: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3201
- getObject(arg0).setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3355
+ __wbg_setItem_cfa3cb31f271776a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3356
+ arg0.setItem(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3202
3357
  }, arguments); },
3203
- __wbg_setProperty_097bc3d55ce44513: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3204
- getObject(arg0).setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3358
+ __wbg_setProperty_3fe74e09d53acb0b: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3359
+ arg0.setProperty(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
3205
3360
  }, arguments); },
3206
- __wbg_setTimeout_db7bbc18a17e152a: function() { return handleError(function (arg0, arg1, arg2) {
3207
- const ret = getObject(arg0).setTimeout(getObject(arg1), arg2);
3361
+ __wbg_setTimeout_9ef22b48643bd7de: function() { return handleError(function (arg0, arg1, arg2) {
3362
+ const ret = arg0.setTimeout(arg1, arg2);
3208
3363
  _assertNum(ret);
3209
3364
  return ret;
3210
3365
  }, arguments); },
3211
- __wbg_set_145a351398b48c65: function() { return handleError(function (arg0, arg1, arg2) {
3212
- const ret = Reflect.set(getObject(arg0), getObject(arg1), getObject(arg2));
3366
+ __wbg_set_2793479888329cb6: function() { return handleError(function (arg0, arg1, arg2) {
3367
+ const ret = Reflect.set(arg0, arg1, arg2);
3213
3368
  _assertBoolean(ret);
3214
3369
  return ret;
3215
3370
  }, arguments); },
3216
- __wbg_set_autofocus_d18c73b8967571a7: function() { return handleError(function (arg0, arg1) {
3217
- getObject(arg0).autofocus = arg1 !== 0;
3371
+ __wbg_set_autofocus_9ee3c5b796002f34: function() { return handleError(function (arg0, arg1) {
3372
+ arg0.autofocus = arg1 !== 0;
3218
3373
  }, arguments); },
3219
- __wbg_set_box_921bf38648f10dfe: function() { return logError(function (arg0, arg1) {
3220
- getObject(arg0).box = __wbindgen_enum_ResizeObserverBoxOptions[arg1];
3374
+ __wbg_set_box_fc386a28d2eedbf8: function() { return logError(function (arg0, arg1) {
3375
+ arg0.box = __wbindgen_enum_ResizeObserverBoxOptions[arg1];
3221
3376
  }, arguments); },
3222
- __wbg_set_height_c9789c1c77eaedff: function() { return logError(function (arg0, arg1) {
3223
- getObject(arg0).height = arg1 >>> 0;
3377
+ __wbg_set_height_ae0610d318c3428c: function() { return logError(function (arg0, arg1) {
3378
+ arg0.height = arg1 >>> 0;
3224
3379
  }, arguments); },
3225
- __wbg_set_once_8c45bbbfb71d1b34: function() { return logError(function (arg0, arg1) {
3226
- getObject(arg0).once = arg1 !== 0;
3380
+ __wbg_set_once_ee3e8ed5823add1f: function() { return logError(function (arg0, arg1) {
3381
+ arg0.once = arg1 !== 0;
3227
3382
  }, arguments); },
3228
- __wbg_set_tabIndex_6999832ea5d5197e: function() { return logError(function (arg0, arg1) {
3229
- getObject(arg0).tabIndex = arg1;
3383
+ __wbg_set_tabIndex_38e2c0c2e76c66c5: function() { return logError(function (arg0, arg1) {
3384
+ arg0.tabIndex = arg1;
3230
3385
  }, arguments); },
3231
- __wbg_set_type_19b6e3a56c3fa1f1: function() { return logError(function (arg0, arg1, arg2) {
3232
- getObject(arg0).type = getStringFromWasm0(arg1, arg2);
3386
+ __wbg_set_type_609b0cea6429d7bb: function() { return logError(function (arg0, arg1, arg2) {
3387
+ arg0.type = getStringFromWasm0(arg1, arg2);
3233
3388
  }, arguments); },
3234
- __wbg_set_type_dcf75b2afa60c694: function() { return logError(function (arg0, arg1, arg2) {
3235
- getObject(arg0).type = getStringFromWasm0(arg1, arg2);
3389
+ __wbg_set_type_9f32b0fcce9b6bbd: function() { return logError(function (arg0, arg1, arg2) {
3390
+ arg0.type = getStringFromWasm0(arg1, arg2);
3236
3391
  }, arguments); },
3237
- __wbg_set_value_fbd659f94bfb9181: function() { return logError(function (arg0, arg1, arg2) {
3238
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
3392
+ __wbg_set_value_cb7e77c93a95e491: function() { return logError(function (arg0, arg1, arg2) {
3393
+ arg0.value = getStringFromWasm0(arg1, arg2);
3239
3394
  }, arguments); },
3240
- __wbg_set_width_b0e1267db4b196b5: function() { return logError(function (arg0, arg1) {
3241
- getObject(arg0).width = arg1 >>> 0;
3395
+ __wbg_set_width_5f89a551b5472887: function() { return logError(function (arg0, arg1) {
3396
+ arg0.width = arg1 >>> 0;
3242
3397
  }, arguments); },
3243
- __wbg_shaderSource_06379dac249994dd: function() { return logError(function (arg0, arg1, arg2, arg3) {
3244
- getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
3398
+ __wbg_shaderSource_519d0f56b613b2f9: function() { return logError(function (arg0, arg1, arg2, arg3) {
3399
+ arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
3245
3400
  }, arguments); },
3246
- __wbg_shaderSource_c8812639b47d87b9: function() { return logError(function (arg0, arg1, arg2, arg3) {
3247
- getObject(arg0).shaderSource(getObject(arg1), getStringFromWasm0(arg2, arg3));
3401
+ __wbg_shaderSource_c4c06a3cbc2e7bf3: function() { return logError(function (arg0, arg1, arg2, arg3) {
3402
+ arg0.shaderSource(arg1, getStringFromWasm0(arg2, arg3));
3248
3403
  }, arguments); },
3249
- __wbg_shiftKey_be6d5295ee392b33: function() { return logError(function (arg0) {
3250
- const ret = getObject(arg0).shiftKey;
3404
+ __wbg_shiftKey_6a84be2563ae8a55: function() { return logError(function (arg0) {
3405
+ const ret = arg0.shiftKey;
3251
3406
  _assertBoolean(ret);
3252
3407
  return ret;
3253
3408
  }, arguments); },
3254
- __wbg_shiftKey_ecdc496db72e8a50: function() { return logError(function (arg0) {
3255
- const ret = getObject(arg0).shiftKey;
3409
+ __wbg_shiftKey_a6ce93ef743d5834: function() { return logError(function (arg0) {
3410
+ const ret = arg0.shiftKey;
3256
3411
  _assertBoolean(ret);
3257
3412
  return ret;
3258
3413
  }, arguments); },
3259
- __wbg_size_8f1c0b1a1fbb3810: function() { return logError(function (arg0) {
3260
- const ret = getObject(arg0).size;
3414
+ __wbg_size_9d1084e29743663c: function() { return logError(function (arg0) {
3415
+ const ret = arg0.size;
3261
3416
  return ret;
3262
3417
  }, arguments); },
3263
3418
  __wbg_sphere_unwrap: function() { return logError(function (arg0) {
3264
- const ret = Sphere.__unwrap(getObject(arg0));
3419
+ const ret = Sphere.__unwrap(arg0);
3265
3420
  _assertNum(ret);
3266
3421
  return ret;
3267
3422
  }, arguments); },
3268
- __wbg_stack_6476d1d46b80665a: function() { return logError(function (arg0, arg1) {
3269
- const ret = getObject(arg1).stack;
3423
+ __wbg_stack_752111df7db7b0ca: function() { return logError(function (arg0, arg1) {
3424
+ const ret = arg1.stack;
3270
3425
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3271
3426
  const len1 = WASM_VECTOR_LEN;
3272
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3273
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3427
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3428
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
3274
3429
  }, arguments); },
3275
- __wbg_static_accessor_GLOBAL_266715b9d96ba635: function() { return logError(function () {
3276
- const ret = typeof global === 'undefined' ? null : global;
3277
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3430
+ __wbg_static_accessor_GLOBAL_THIS_003ee833af9699fc: function() { return logError(function () {
3431
+ const ret = typeof globalThis === 'undefined' ? undefined : globalThis;
3432
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3278
3433
  }, arguments); },
3279
- __wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179: function() { return logError(function () {
3280
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
3281
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3434
+ __wbg_static_accessor_GLOBAL_e4293fb22cbe77da: function() { return logError(function () {
3435
+ const ret = typeof global === 'undefined' ? undefined : global;
3436
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3282
3437
  }, arguments); },
3283
- __wbg_static_accessor_SELF_0b583911f537483a: function() { return logError(function () {
3284
- const ret = typeof self === 'undefined' ? null : self;
3285
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3438
+ __wbg_static_accessor_SELF_53bb20457401453d: function() { return logError(function () {
3439
+ const ret = typeof self === 'undefined' ? undefined : self;
3440
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3286
3441
  }, arguments); },
3287
- __wbg_static_accessor_WINDOW_d7f903d1508cbdc4: function() { return logError(function () {
3288
- const ret = typeof window === 'undefined' ? null : window;
3289
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3442
+ __wbg_static_accessor_WINDOW_b5e0810bfecb7feb: function() { return logError(function () {
3443
+ const ret = typeof window === 'undefined' ? undefined : window;
3444
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3290
3445
  }, arguments); },
3291
3446
  __wbg_stick_unwrap: function() { return logError(function (arg0) {
3292
- const ret = Stick.__unwrap(getObject(arg0));
3447
+ const ret = Stick.__unwrap(arg0);
3293
3448
  _assertNum(ret);
3294
3449
  return ret;
3295
3450
  }, arguments); },
3296
- __wbg_stopPropagation_effafbc3bc773f1c: function() { return logError(function (arg0) {
3297
- getObject(arg0).stopPropagation();
3451
+ __wbg_stopPropagation_e4181c041abda4c3: function() { return logError(function (arg0) {
3452
+ arg0.stopPropagation();
3298
3453
  }, arguments); },
3299
- __wbg_style_4bce24230e493a7c: function() { return logError(function (arg0) {
3300
- const ret = getObject(arg0).style;
3301
- return addHeapObject(ret);
3454
+ __wbg_style_f499e599ac70277f: function() { return logError(function (arg0) {
3455
+ const ret = arg0.style;
3456
+ return ret;
3302
3457
  }, arguments); },
3303
3458
  __wbg_style_unwrap: function() { return logError(function (arg0) {
3304
- const ret = Style.__unwrap(getObject(arg0));
3459
+ const ret = Style.__unwrap(arg0);
3305
3460
  _assertNum(ret);
3306
3461
  return ret;
3307
3462
  }, arguments); },
3308
- __wbg_texImage2D_82bf2b4c8aa9a1db: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3309
- getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
3463
+ __wbg_texImage2D_20b5002326193fe6: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3464
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
3310
3465
  }, arguments); },
3311
- __wbg_texImage2D_a856af552acdc9d9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3312
- getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
3466
+ __wbg_texImage2D_5048d2cd8540da16: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3467
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
3313
3468
  }, arguments); },
3314
- __wbg_texImage2D_ca3d0fe24620ec85: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3315
- getObject(arg0).texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
3469
+ __wbg_texImage2D_84bdef619a1ea935: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3470
+ arg0.texImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
3316
3471
  }, arguments); },
3317
- __wbg_texParameteri_647fdb1426809cb5: function() { return logError(function (arg0, arg1, arg2, arg3) {
3318
- getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
3472
+ __wbg_texParameteri_0afc5d515132fed2: function() { return logError(function (arg0, arg1, arg2, arg3) {
3473
+ arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
3319
3474
  }, arguments); },
3320
- __wbg_texParameteri_7864076abcdb03e0: function() { return logError(function (arg0, arg1, arg2, arg3) {
3321
- getObject(arg0).texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
3475
+ __wbg_texParameteri_e24e4fdc17153838: function() { return logError(function (arg0, arg1, arg2, arg3) {
3476
+ arg0.texParameteri(arg1 >>> 0, arg2 >>> 0, arg3);
3322
3477
  }, arguments); },
3323
- __wbg_texSubImage2D_31a0c2797aa04f32: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3324
- getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
3478
+ __wbg_texSubImage2D_4343af4633b8b8f8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3479
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
3325
3480
  }, arguments); },
3326
- __wbg_texSubImage2D_5e90c7a719d40256: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3327
- getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
3481
+ __wbg_texSubImage2D_4aef07460a86c81e: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3482
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
3328
3483
  }, arguments); },
3329
- __wbg_texSubImage2D_bb322aae90f7657f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3330
- getObject(arg0).texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, getObject(arg9));
3484
+ __wbg_texSubImage2D_a26a8700e734449a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3485
+ arg0.texSubImage2D(arg1 >>> 0, arg2, arg3, arg4, arg5, arg6, arg7 >>> 0, arg8 >>> 0, arg9);
3331
3486
  }, arguments); },
3332
- __wbg_then_c949d5a25a4e78f8: function() { return logError(function (arg0, arg1, arg2) {
3333
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
3334
- return addHeapObject(ret);
3487
+ __wbg_then_656f253a5dd7d8ea: function() { return logError(function (arg0, arg1, arg2) {
3488
+ const ret = arg0.then(arg1, arg2);
3489
+ return ret;
3335
3490
  }, arguments); },
3336
- __wbg_then_e71170d78fcf8954: function() { return logError(function (arg0, arg1) {
3337
- const ret = getObject(arg0).then(getObject(arg1));
3338
- return addHeapObject(ret);
3491
+ __wbg_then_e3f7f2d365708be8: function() { return logError(function (arg0, arg1) {
3492
+ const ret = arg0.then(arg1);
3493
+ return ret;
3339
3494
  }, arguments); },
3340
- __wbg_top_ff4627294d2cdeb8: function() { return logError(function (arg0) {
3341
- const ret = getObject(arg0).top;
3495
+ __wbg_top_2d45cda4e060d8bf: function() { return logError(function (arg0) {
3496
+ const ret = arg0.top;
3342
3497
  return ret;
3343
3498
  }, arguments); },
3344
- __wbg_touches_7b36d35cdb1673fa: function() { return logError(function (arg0) {
3345
- const ret = getObject(arg0).touches;
3346
- return addHeapObject(ret);
3499
+ __wbg_touches_3e4459518c751cbf: function() { return logError(function (arg0) {
3500
+ const ret = arg0.touches;
3501
+ return ret;
3347
3502
  }, arguments); },
3348
- __wbg_type_85d2ff75f5f5adb0: function() { return logError(function (arg0, arg1) {
3349
- const ret = getObject(arg1).type;
3503
+ __wbg_type_7fa681d1ded98131: function() { return logError(function (arg0, arg1) {
3504
+ const ret = arg1.type;
3350
3505
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3351
3506
  const len1 = WASM_VECTOR_LEN;
3352
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3353
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3507
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3508
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
3354
3509
  }, arguments); },
3355
- __wbg_type_d44713a24aa37493: function() { return logError(function (arg0, arg1) {
3356
- const ret = getObject(arg1).type;
3510
+ __wbg_type_c93f3ee8b7eb4f89: function() { return logError(function (arg0, arg1) {
3511
+ const ret = arg1.type;
3357
3512
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3358
3513
  const len1 = WASM_VECTOR_LEN;
3359
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3360
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3514
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3515
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
3361
3516
  }, arguments); },
3362
- __wbg_uniform1f_9cfecfaeb8cf43c1: function() { return logError(function (arg0, arg1, arg2) {
3363
- getObject(arg0).uniform1f(getObject(arg1), arg2);
3517
+ __wbg_uniform1f_0b36dc15cb2b4991: function() { return logError(function (arg0, arg1, arg2) {
3518
+ arg0.uniform1f(arg1, arg2);
3364
3519
  }, arguments); },
3365
- __wbg_uniform1f_b5856e35a43b65a1: function() { return logError(function (arg0, arg1, arg2) {
3366
- getObject(arg0).uniform1f(getObject(arg1), arg2);
3520
+ __wbg_uniform1f_fe417acc7c7a1dc5: function() { return logError(function (arg0, arg1, arg2) {
3521
+ arg0.uniform1f(arg1, arg2);
3367
3522
  }, arguments); },
3368
- __wbg_uniform1i_531b98c4a7177366: function() { return logError(function (arg0, arg1, arg2) {
3369
- getObject(arg0).uniform1i(getObject(arg1), arg2);
3523
+ __wbg_uniform1i_385ebc488d4d763f: function() { return logError(function (arg0, arg1, arg2) {
3524
+ arg0.uniform1i(arg1, arg2);
3370
3525
  }, arguments); },
3371
- __wbg_uniform1i_fc2dc8cadc49d8ec: function() { return logError(function (arg0, arg1, arg2) {
3372
- getObject(arg0).uniform1i(getObject(arg1), arg2);
3526
+ __wbg_uniform1i_778a02a48ecdceed: function() { return logError(function (arg0, arg1, arg2) {
3527
+ arg0.uniform1i(arg1, arg2);
3373
3528
  }, arguments); },
3374
- __wbg_uniform2f_131da2d4bf17e4b9: function() { return logError(function (arg0, arg1, arg2, arg3) {
3375
- getObject(arg0).uniform2f(getObject(arg1), arg2, arg3);
3529
+ __wbg_uniform2f_6bd82d6e7f81060b: function() { return logError(function (arg0, arg1, arg2, arg3) {
3530
+ arg0.uniform2f(arg1, arg2, arg3);
3376
3531
  }, arguments); },
3377
- __wbg_uniform2f_a92b5bb95dc5b4d9: function() { return logError(function (arg0, arg1, arg2, arg3) {
3378
- getObject(arg0).uniform2f(getObject(arg1), arg2, arg3);
3532
+ __wbg_uniform2f_7e4c627c4106dd3f: function() { return logError(function (arg0, arg1, arg2, arg3) {
3533
+ arg0.uniform2f(arg1, arg2, arg3);
3379
3534
  }, arguments); },
3380
- __wbg_uniform2fv_319c49f0ce340f26: function() { return logError(function (arg0, arg1, arg2, arg3) {
3381
- getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
3535
+ __wbg_uniform2fv_486658e6bcddfbaf: function() { return logError(function (arg0, arg1, arg2, arg3) {
3536
+ arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
3382
3537
  }, arguments); },
3383
- __wbg_uniform2fv_a7d3c1830d18c1b2: function() { return logError(function (arg0, arg1, arg2, arg3) {
3384
- getObject(arg0).uniform2fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
3538
+ __wbg_uniform2fv_71fe605c72879b61: function() { return logError(function (arg0, arg1, arg2, arg3) {
3539
+ arg0.uniform2fv(arg1, getArrayF32FromWasm0(arg2, arg3));
3385
3540
  }, arguments); },
3386
- __wbg_uniform3fv_055ea5ac38af4fce: function() { return logError(function (arg0, arg1, arg2, arg3) {
3387
- getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
3541
+ __wbg_uniform3fv_431207a9407b7d29: function() { return logError(function (arg0, arg1, arg2, arg3) {
3542
+ arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
3388
3543
  }, arguments); },
3389
- __wbg_uniform3fv_58520ffe22a6e27c: function() { return logError(function (arg0, arg1, arg2, arg3) {
3390
- getObject(arg0).uniform3fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
3544
+ __wbg_uniform3fv_58fa948c65cb5f6c: function() { return logError(function (arg0, arg1, arg2, arg3) {
3545
+ arg0.uniform3fv(arg1, getArrayF32FromWasm0(arg2, arg3));
3391
3546
  }, arguments); },
3392
- __wbg_uniform4fv_3ef2f5121fcb78ae: function() { return logError(function (arg0, arg1, arg2, arg3) {
3393
- getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
3547
+ __wbg_uniform4fv_a1415c11925ac651: function() { return logError(function (arg0, arg1, arg2, arg3) {
3548
+ arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
3394
3549
  }, arguments); },
3395
- __wbg_uniform4fv_cf8ff646c36232c8: function() { return logError(function (arg0, arg1, arg2, arg3) {
3396
- getObject(arg0).uniform4fv(getObject(arg1), getArrayF32FromWasm0(arg2, arg3));
3550
+ __wbg_uniform4fv_d3afea28181f5342: function() { return logError(function (arg0, arg1, arg2, arg3) {
3551
+ arg0.uniform4fv(arg1, getArrayF32FromWasm0(arg2, arg3));
3397
3552
  }, arguments); },
3398
- __wbg_uniformMatrix3fv_472e7824735acce1: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3399
- getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
3553
+ __wbg_uniformMatrix3fv_15b2b1f5505b8506: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3554
+ arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
3400
3555
  }, arguments); },
3401
- __wbg_uniformMatrix3fv_83fdc9c3c0d43204: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3402
- getObject(arg0).uniformMatrix3fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
3556
+ __wbg_uniformMatrix3fv_df1958f8b617c8d6: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3557
+ arg0.uniformMatrix3fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
3403
3558
  }, arguments); },
3404
- __wbg_uniformMatrix4fv_dff9738d995fd0b1: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3405
- getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
3559
+ __wbg_uniformMatrix4fv_cd0ba72d1d780759: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3560
+ arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
3406
3561
  }, arguments); },
3407
- __wbg_uniformMatrix4fv_e691d7f14d3609f7: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3408
- getObject(arg0).uniformMatrix4fv(getObject(arg1), arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
3562
+ __wbg_uniformMatrix4fv_edd2b51dbb1caffd: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3563
+ arg0.uniformMatrix4fv(arg1, arg2 !== 0, getArrayF32FromWasm0(arg3, arg4));
3409
3564
  }, arguments); },
3410
- __wbg_useProgram_5bdae58fd9f9826f: function() { return logError(function (arg0, arg1) {
3411
- getObject(arg0).useProgram(getObject(arg1));
3565
+ __wbg_useProgram_d9c24a7d8632c4c1: function() { return logError(function (arg0, arg1) {
3566
+ arg0.useProgram(arg1);
3412
3567
  }, arguments); },
3413
- __wbg_useProgram_e075c2902e420761: function() { return logError(function (arg0, arg1) {
3414
- getObject(arg0).useProgram(getObject(arg1));
3568
+ __wbg_useProgram_f6341ea2eeea1e5a: function() { return logError(function (arg0, arg1) {
3569
+ arg0.useProgram(arg1);
3415
3570
  }, arguments); },
3416
- __wbg_userAgent_cde4c65cc98db425: function() { return handleError(function (arg0, arg1) {
3417
- const ret = getObject(arg1).userAgent;
3571
+ __wbg_userAgent_a20b4771d027eeaa: function() { return handleError(function (arg0, arg1) {
3572
+ const ret = arg1.userAgent;
3418
3573
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3419
3574
  const len1 = WASM_VECTOR_LEN;
3420
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3421
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3575
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3576
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
3422
3577
  }, arguments); },
3423
- __wbg_value_05305a761dfa3e0e: function() { return logError(function (arg0, arg1) {
3424
- const ret = getObject(arg1).value;
3578
+ __wbg_value_df0a0e29a4d182fe: function() { return logError(function (arg0, arg1) {
3579
+ const ret = arg1.value;
3425
3580
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3426
3581
  const len1 = WASM_VECTOR_LEN;
3427
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3428
- getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
3582
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 1, len1, true);
3583
+ getDataViewMemory0().setInt32((arg0 >>> 0) + 4 * 0, ptr1, true);
3429
3584
  }, arguments); },
3430
- __wbg_value_f3c585ee8f5ba40c: function() { return logError(function (arg0) {
3431
- const ret = getObject(arg0).value;
3432
- return addHeapObject(ret);
3585
+ __wbg_value_e0f328965e184931: function() { return logError(function (arg0) {
3586
+ const ret = arg0.value;
3587
+ return ret;
3433
3588
  }, arguments); },
3434
- __wbg_vertexAttribDivisorANGLE_659fb027198a47c3: function() { return logError(function (arg0, arg1, arg2) {
3435
- getObject(arg0).vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
3589
+ __wbg_vertexAttribDivisorANGLE_5bec9a774ccd1cf8: function() { return logError(function (arg0, arg1, arg2) {
3590
+ arg0.vertexAttribDivisorANGLE(arg1 >>> 0, arg2 >>> 0);
3436
3591
  }, arguments); },
3437
- __wbg_vertexAttribDivisor_7575d382215322f7: function() { return logError(function (arg0, arg1, arg2) {
3438
- getObject(arg0).vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
3592
+ __wbg_vertexAttribDivisor_5b64fc697c0496e1: function() { return logError(function (arg0, arg1, arg2) {
3593
+ arg0.vertexAttribDivisor(arg1 >>> 0, arg2 >>> 0);
3439
3594
  }, arguments); },
3440
- __wbg_vertexAttribPointer_24b495e18df325dc: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
3441
- getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
3595
+ __wbg_vertexAttribPointer_39b706eb26c50057: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
3596
+ arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
3442
3597
  }, arguments); },
3443
- __wbg_vertexAttribPointer_54d56b18f71a946d: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
3444
- getObject(arg0).vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
3598
+ __wbg_vertexAttribPointer_9e0e4517b8d274bd: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
3599
+ arg0.vertexAttribPointer(arg1 >>> 0, arg2, arg3 >>> 0, arg4 !== 0, arg5, arg6);
3445
3600
  }, arguments); },
3446
3601
  __wbg_viewer_new: function() { return logError(function (arg0) {
3447
3602
  const ret = Viewer.__wrap(arg0);
3448
- return addHeapObject(ret);
3603
+ return ret;
3449
3604
  }, arguments); },
3450
- __wbg_viewport_16936692526e2ce6: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3451
- getObject(arg0).viewport(arg1, arg2, arg3, arg4);
3605
+ __wbg_viewport_aaac6dd8cff1831a: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3606
+ arg0.viewport(arg1, arg2, arg3, arg4);
3452
3607
  }, arguments); },
3453
- __wbg_viewport_e35d16c542d2ce70: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3454
- getObject(arg0).viewport(arg1, arg2, arg3, arg4);
3608
+ __wbg_viewport_cdae9e8b2f33343d: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3609
+ arg0.viewport(arg1, arg2, arg3, arg4);
3455
3610
  }, arguments); },
3456
3611
  __wbg_warn_bc3ecc257d0f3fed: function() { return logError(function (arg0, arg1) {
3457
3612
  console.warn(getStringFromWasm0(arg0, arg1));
3458
3613
  }, arguments); },
3459
- __wbg_width_3d0dce3d9892e35e: function() { return logError(function (arg0) {
3460
- const ret = getObject(arg0).width;
3461
- _assertNum(ret);
3614
+ __wbg_width_b81b030bc60498d5: function() { return logError(function (arg0) {
3615
+ const ret = arg0.width;
3462
3616
  return ret;
3463
3617
  }, arguments); },
3464
- __wbg_width_bf3733dbc880874d: function() { return logError(function (arg0) {
3465
- const ret = getObject(arg0).width;
3618
+ __wbg_width_babc5dc7654771b1: function() { return logError(function (arg0) {
3619
+ const ret = arg0.width;
3620
+ _assertNum(ret);
3466
3621
  return ret;
3467
3622
  }, arguments); },
3468
- __wbg_writeText_79a2b37e525e9424: function() { return logError(function (arg0, arg1, arg2) {
3469
- const ret = getObject(arg0).writeText(getStringFromWasm0(arg1, arg2));
3470
- return addHeapObject(ret);
3623
+ __wbg_writeText_6b6a85b68a7dd3eb: function() { return logError(function (arg0, arg1, arg2) {
3624
+ const ret = arg0.writeText(getStringFromWasm0(arg1, arg2));
3625
+ return ret;
3471
3626
  }, arguments); },
3472
- __wbg_write_f88c29d142d623bd: function() { return logError(function (arg0, arg1) {
3473
- const ret = getObject(arg0).write(getObject(arg1));
3474
- return addHeapObject(ret);
3627
+ __wbg_write_e913e5c019572491: function() { return logError(function (arg0, arg1) {
3628
+ const ret = arg0.write(arg1);
3629
+ return ret;
3475
3630
  }, arguments); },
3476
3631
  __wbindgen_generic_0000000000000001: function() { return logError(function (arg0, arg1) {
3477
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1394, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3478
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_8445);
3479
- return addHeapObject(ret);
3632
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1416, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3633
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_8692);
3634
+ return ret;
3480
3635
  }, arguments); },
3481
3636
  __wbindgen_generic_0000000000000002: function() { return logError(function (arg0, arg1) {
3482
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 560, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3483
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3978);
3484
- return addHeapObject(ret);
3637
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 590, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3638
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3830);
3639
+ return ret;
3485
3640
  }, arguments); },
3486
3641
  __wbindgen_generic_0000000000000003: function() { return logError(function (arg0, arg1) {
3487
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 560, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3488
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3978_91);
3489
- return addHeapObject(ret);
3642
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 590, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3643
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3830_96);
3644
+ return ret;
3490
3645
  }, arguments); },
3491
3646
  __wbindgen_generic_0000000000000004: function() { return logError(function (arg0, arg1) {
3492
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 563, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3493
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3977);
3494
- return addHeapObject(ret);
3647
+ // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 593, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3648
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_3829);
3649
+ return ret;
3495
3650
  }, arguments); },
3496
3651
  __wbindgen_generic_0000000000000005: function() { return logError(function (arg0) {
3497
3652
  // Cast intrinsic for `I64 -> Externref`.
3498
3653
  const ret = arg0;
3499
- return addHeapObject(ret);
3654
+ return ret;
3500
3655
  }, arguments); },
3501
3656
  __wbindgen_generic_0000000000000006: function() { return logError(function (arg0, arg1) {
3502
3657
  // Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
3503
3658
  const ret = getArrayF32FromWasm0(arg0, arg1);
3504
- return addHeapObject(ret);
3659
+ return ret;
3505
3660
  }, arguments); },
3506
3661
  __wbindgen_generic_0000000000000007: function() { return logError(function (arg0, arg1) {
3507
3662
  // Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
3508
3663
  const ret = getArrayI16FromWasm0(arg0, arg1);
3509
- return addHeapObject(ret);
3664
+ return ret;
3510
3665
  }, arguments); },
3511
3666
  __wbindgen_generic_0000000000000008: function() { return logError(function (arg0, arg1) {
3512
3667
  // Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
3513
3668
  const ret = getArrayI32FromWasm0(arg0, arg1);
3514
- return addHeapObject(ret);
3669
+ return ret;
3515
3670
  }, arguments); },
3516
3671
  __wbindgen_generic_0000000000000009: function() { return logError(function (arg0, arg1) {
3517
3672
  // Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
3518
3673
  const ret = getArrayI8FromWasm0(arg0, arg1);
3519
- return addHeapObject(ret);
3674
+ return ret;
3520
3675
  }, arguments); },
3521
3676
  __wbindgen_generic_000000000000000a: function() { return logError(function (arg0, arg1) {
3522
3677
  // Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
3523
3678
  const ret = getArrayU16FromWasm0(arg0, arg1);
3524
- return addHeapObject(ret);
3679
+ return ret;
3525
3680
  }, arguments); },
3526
3681
  __wbindgen_generic_000000000000000b: function() { return logError(function (arg0, arg1) {
3527
3682
  // Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
3528
3683
  const ret = getArrayU32FromWasm0(arg0, arg1);
3529
- return addHeapObject(ret);
3684
+ return ret;
3530
3685
  }, arguments); },
3531
3686
  __wbindgen_generic_000000000000000c: function() { return logError(function (arg0, arg1) {
3532
3687
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
3533
3688
  const ret = getArrayU8FromWasm0(arg0, arg1);
3534
- return addHeapObject(ret);
3689
+ return ret;
3535
3690
  }, arguments); },
3536
3691
  __wbindgen_generic_000000000000000d: function() { return logError(function (arg0, arg1) {
3537
3692
  // Cast intrinsic for `Ref(String) -> Externref`.
3538
3693
  const ret = getStringFromWasm0(arg0, arg1);
3539
- return addHeapObject(ret);
3694
+ return ret;
3540
3695
  }, arguments); },
3541
3696
  __wbindgen_generic_000000000000000e: function() { return logError(function (arg0) {
3542
3697
  // Cast intrinsic for `U64 -> Externref`.
3543
3698
  const ret = BigInt.asUintN(64, arg0);
3544
- return addHeapObject(ret);
3699
+ return ret;
3545
3700
  }, arguments); },
3546
3701
  __wbindgen_generic_000000000000000f: function() { return logError(function (arg0, arg1) {
3547
3702
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
3548
- wasm.__wbindgen_export4(arg0, arg1 * 1, 1);
3703
+ wasm.__wbindgen_export3(arg0, arg1 * 1, 1);
3549
3704
  // Cast intrinsic for `Vector(U8) -> Externref`.
3550
3705
  const ret = v0;
3551
- return addHeapObject(ret);
3706
+ return ret;
3552
3707
  }, arguments); },
3553
- __wbindgen_object_clone_ref: function(arg0) {
3554
- const ret = getObject(arg0);
3555
- return addHeapObject(ret);
3556
- },
3557
- __wbindgen_object_drop_ref: function(arg0) {
3558
- takeObject(arg0);
3708
+ __wbindgen_init_externref_table: function() {
3709
+ const table = wasm.__wbindgen_externrefs;
3710
+ table.set(0, undefined);
3711
+ table.set(1024, undefined);
3712
+ table.set(1025, null);
3713
+ table.set(1026, true);
3714
+ table.set(1027, false);
3559
3715
  },
3560
3716
  };
3561
3717
  return {
@@ -3566,50 +3722,50 @@ function __wbg_get_imports() {
3566
3722
 
3567
3723
 
3568
3724
  //#endregion
3569
- function __wasm_bindgen_func_elem_3978(arg0, arg1, arg2) {
3725
+ function __wasm_bindgen_func_elem_3830(arg0, arg1, arg2) {
3726
+ _assertNum(arg0);
3727
+ _assertNum(arg1);
3728
+ wasm.__wasm_bindgen_func_elem_3830(arg0, arg1, arg2);
3729
+ }
3730
+
3731
+ function __wasm_bindgen_func_elem_3830_96(arg0, arg1, arg2) {
3570
3732
  _assertNum(arg0);
3571
3733
  _assertNum(arg1);
3572
- wasm.__wasm_bindgen_func_elem_3978(arg0, arg1, addHeapObject(arg2));
3734
+ wasm.__wasm_bindgen_func_elem_3830_96(arg0, arg1, arg2);
3573
3735
  }
3574
3736
 
3575
- function __wasm_bindgen_func_elem_3978_91(arg0, arg1, arg2) {
3737
+ function __wasm_bindgen_func_elem_8694(arg0, arg1, arg2, arg3) {
3576
3738
  _assertNum(arg0);
3577
3739
  _assertNum(arg1);
3578
- wasm.__wasm_bindgen_func_elem_3978_91(arg0, arg1, addHeapObject(arg2));
3740
+ wasm.__wasm_bindgen_func_elem_8694(arg0, arg1, arg2, arg3);
3579
3741
  }
3580
3742
 
3581
- function __wasm_bindgen_func_elem_3977(arg0, arg1) {
3743
+ function __wasm_bindgen_func_elem_3829(arg0, arg1) {
3582
3744
  try {
3583
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3745
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
3584
3746
  _assertNum(arg0);
3585
3747
  _assertNum(arg1);
3586
- wasm.__wasm_bindgen_func_elem_3977(retptr, arg0, arg1);
3748
+ wasm.__wasm_bindgen_func_elem_3829(retptr, arg0, arg1);
3587
3749
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3588
3750
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3589
3751
  if (r1) {
3590
- throw takeObject(r0);
3752
+ throw takeFromExternrefTable0(r0);
3591
3753
  }
3592
3754
  } finally {
3593
3755
  wasm.__wbindgen_add_to_stack_pointer(16);
3594
3756
  }
3595
3757
  }
3596
3758
 
3597
- function __wasm_bindgen_func_elem_8447(arg0, arg1, arg2, arg3) {
3598
- _assertNum(arg0);
3599
- _assertNum(arg1);
3600
- wasm.__wasm_bindgen_func_elem_8447(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
3601
- }
3602
-
3603
- function __wasm_bindgen_func_elem_8445(arg0, arg1, arg2) {
3759
+ function __wasm_bindgen_func_elem_8692(arg0, arg1, arg2) {
3604
3760
  try {
3605
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3761
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
3606
3762
  _assertNum(arg0);
3607
3763
  _assertNum(arg1);
3608
- wasm.__wasm_bindgen_func_elem_8445(retptr, arg0, arg1, addHeapObject(arg2));
3764
+ wasm.__wasm_bindgen_func_elem_8692(retptr, arg0, arg1, arg2);
3609
3765
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3610
3766
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3611
3767
  if (r1) {
3612
- throw takeObject(r0);
3768
+ throw takeFromExternrefTable0(r0);
3613
3769
  }
3614
3770
  } finally {
3615
3771
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -3621,6 +3777,9 @@ const __wbindgen_enum_ResizeObserverBoxOptions = ["border-box", "content-box", "
3621
3777
  const AnimationFinalization = (typeof FinalizationRegistry === 'undefined')
3622
3778
  ? { register: () => {}, unregister: () => {} }
3623
3779
  : new FinalizationRegistry(ptr => wasm.__wbg_animation_free(ptr, 1));
3780
+ const MoleculeColorsFinalization = (typeof FinalizationRegistry === 'undefined')
3781
+ ? { register: () => {}, unregister: () => {} }
3782
+ : new FinalizationRegistry(ptr => wasm.__wbg_moleculecolors_free(ptr, 1));
3624
3783
  const SceneFinalization = (typeof FinalizationRegistry === 'undefined')
3625
3784
  ? { register: () => {}, unregister: () => {} }
3626
3785
  : new FinalizationRegistry(ptr => wasm.__wbg_scene_free(ptr, 1));
@@ -3645,12 +3804,9 @@ const ViewerFinalization = (typeof FinalizationRegistry === 'undefined')
3645
3804
 
3646
3805
 
3647
3806
  //#region intrinsics
3648
- function addHeapObject(obj) {
3649
- if (heap_next === heap.length) heap.push(heap.length + 1);
3650
- const idx = heap_next;
3651
- heap_next = heap[idx];
3652
- if (typeof(heap_next) !== 'number') throw new Error('corrupt heap');
3653
- heap[idx] = obj;
3807
+ function addToExternrefTable0(obj) {
3808
+ const idx = wasm.__wbindgen_export4();
3809
+ wasm.__wbindgen_externrefs.set(idx, obj);
3654
3810
  return idx;
3655
3811
  }
3656
3812
 
@@ -3674,85 +3830,66 @@ function _assertNum(n) {
3674
3830
  if (typeof(n) !== 'number') throw new Error(`expected a number argument, found ${typeof(n)}`);
3675
3831
  }
3676
3832
 
3677
- function addBorrowedObject(obj) {
3678
- if (stack_pointer == 1) throw new Error('out of js stack');
3679
- heap[--stack_pointer] = obj;
3680
- return stack_pointer;
3681
- }
3682
-
3683
3833
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
3684
3834
  ? { register: () => {}, unregister: () => {} }
3685
- : new FinalizationRegistry(state => wasm.__wbindgen_export5(state.a, state.b));
3835
+ : new FinalizationRegistry(state => wasm.__wbindgen_export6(state.a, state.b));
3686
3836
 
3687
3837
  function debugString(val) {
3688
- // primitive types
3689
- const type = typeof val;
3690
- if (type == 'number' || type == 'boolean' || val == null) {
3691
- return `${val}`;
3692
- }
3693
- if (type == 'string') {
3694
- return `"${val}"`;
3695
- }
3696
- if (type == 'symbol') {
3697
- const description = val.description;
3698
- if (description == null) {
3699
- return 'Symbol';
3700
- } else {
3701
- return `Symbol(${description})`;
3702
- }
3703
- }
3704
- if (type == 'function') {
3705
- const name = val.name;
3706
- if (typeof name == 'string' && name.length > 0) {
3707
- return `Function(${name})`;
3708
- } else {
3709
- return 'Function';
3710
- }
3711
- }
3712
- // objects
3713
- if (Array.isArray(val)) {
3714
- const length = val.length;
3715
- let debug = '[';
3716
- if (length > 0) {
3717
- debug += debugString(val[0]);
3718
- }
3719
- for(let i = 1; i < length; i++) {
3720
- debug += ', ' + debugString(val[i]);
3721
- }
3722
- debug += ']';
3723
- return debug;
3724
- }
3725
- // Test for built-in
3726
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
3727
- let className;
3728
- if (builtInMatches && builtInMatches.length > 1) {
3729
- className = builtInMatches[1];
3730
- } else {
3731
- // Failed to match the standard '[object ClassName]'
3732
- return toString.call(val);
3733
- }
3734
- if (className == 'Object') {
3735
- // we're a user defined class or Object
3736
- // JSON.stringify avoids problems with cycles, and is generally much
3737
- // easier than looping through ownProperties of `val`.
3738
- try {
3739
- return 'Object(' + JSON.stringify(val) + ')';
3740
- } catch (_) {
3741
- return 'Object';
3838
+ switch (typeof val) {
3839
+ // primitive types
3840
+ case 'number':
3841
+ case 'boolean':
3842
+ case 'undefined':
3843
+ return `${val}`;
3844
+ case 'string':
3845
+ return JSON.stringify(val);
3846
+ case 'bigint':
3847
+ return `${val}n`;
3848
+ case 'symbol':
3849
+ return val.description !== undefined
3850
+ ? `Symbol(${val.description})`
3851
+ : 'Symbol';
3852
+ case 'function':
3853
+ return typeof val.name === 'string' && val.name !== ''
3854
+ ? `Function(${val.name})`
3855
+ : 'Function';
3856
+ case 'object': {
3857
+ if (val === null) {
3858
+ return 'null';
3859
+ }
3860
+ // objects
3861
+ if (Array.isArray(val)) {
3862
+ return '[' + Array.from(val, debugString).join(', ') + ']';
3863
+ }
3864
+ // errors
3865
+ if (val instanceof Error) {
3866
+ return `${val.name}: ${val.message}\n${val.stack}`;
3867
+ }
3868
+
3869
+ const toStringOutput = toString.call(val);
3870
+ // Test for built-in
3871
+ const className = /\[object ([^\]]+)\]/.exec(toStringOutput)?.[1];
3872
+
3873
+ // Failed to match the standard '[object ClassName]'
3874
+ if (className === undefined) {
3875
+ return toStringOutput;
3876
+ }
3877
+ if (className === 'Object') {
3878
+ // we're a user defined class or Object
3879
+ // JSON.stringify avoids problems with cycles, and is generally much
3880
+ // easier than looping through ownProperties of `val`.
3881
+ try {
3882
+ return 'Object(' + JSON.stringify(val) + ')';
3883
+ } catch (_) {
3884
+ return 'Object';
3885
+ }
3886
+ }
3887
+ // TODO we could test for more things here, like `Set`s and `Map`s.
3888
+ return className;
3742
3889
  }
3890
+ // Per MDN: 'This list of values is exhaustive.'
3891
+ // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof#description
3743
3892
  }
3744
- // errors
3745
- if (val instanceof Error) {
3746
- return `${val.name}: ${val.message}\n${val.stack}`;
3747
- }
3748
- // TODO we could test for more things here, like `Set`s and `Map`s.
3749
- return className;
3750
- }
3751
-
3752
- function dropObject(idx) {
3753
- if (idx < 1028) return;
3754
- heap[idx] = heap_next;
3755
- heap_next = idx;
3756
3893
  }
3757
3894
 
3758
3895
  function getArrayF32FromWasm0(ptr, len) {
@@ -3831,7 +3968,8 @@ function getInt8ArrayMemory0() {
3831
3968
  }
3832
3969
 
3833
3970
  function getStringFromWasm0(ptr, len) {
3834
- return decodeText(ptr >>> 0, len);
3971
+ ptr = ptr >>> 0;
3972
+ return decodeText(getUint8ArrayMemory0().subarray(ptr, ptr + len));
3835
3973
  }
3836
3974
 
3837
3975
  let cachedUint16ArrayMemory0 = null;
@@ -3858,21 +3996,15 @@ function getUint8ArrayMemory0() {
3858
3996
  return cachedUint8ArrayMemory0;
3859
3997
  }
3860
3998
 
3861
- function getObject(idx) { return heap[idx]; }
3862
-
3863
3999
  function handleError(f, args) {
3864
4000
  try {
3865
4001
  return f.apply(this, args);
3866
4002
  } catch (e) {
3867
- wasm.__wbindgen_export3(addHeapObject(e));
4003
+ const idx = addToExternrefTable0(e);
4004
+ wasm.__wbindgen_export5(idx);
3868
4005
  }
3869
4006
  }
3870
4007
 
3871
- let heap = new Array(1024).fill(undefined);
3872
- heap.push(undefined, null, true, false);
3873
-
3874
- let heap_next = heap.length;
3875
-
3876
4008
  function isLikeNone(x) {
3877
4009
  return x === undefined || x === null;
3878
4010
  }
@@ -3912,7 +4044,7 @@ function makeMutClosure(arg0, arg1, f) {
3912
4044
  };
3913
4045
  real._wbg_cb_unref = () => {
3914
4046
  if (--state.cnt === 0) {
3915
- wasm.__wbindgen_export5(state.a, state.b);
4047
+ wasm.__wbindgen_export6(state.a, state.b);
3916
4048
  state.a = 0;
3917
4049
  CLOSURE_DTORS.unregister(state);
3918
4050
  }
@@ -3959,26 +4091,24 @@ function passStringToWasm0(arg, malloc, realloc) {
3959
4091
  return ptr;
3960
4092
  }
3961
4093
 
3962
- let stack_pointer = 1024;
3963
-
3964
- function takeObject(idx) {
3965
- const ret = getObject(idx);
3966
- dropObject(idx);
3967
- return ret;
4094
+ function takeFromExternrefTable0(idx) {
4095
+ const value = wasm.__wbindgen_externrefs.get(idx);
4096
+ wasm.__wbindgen_export7(idx);
4097
+ return value;
3968
4098
  }
3969
4099
 
3970
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
4100
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true });
3971
4101
  cachedTextDecoder.decode();
3972
4102
  const MAX_SAFARI_DECODE_BYTES = 2146435072;
3973
4103
  let numBytesDecoded = 0;
3974
- function decodeText(ptr, len) {
3975
- numBytesDecoded += len;
4104
+ function decodeText(bytes) {
4105
+ numBytesDecoded += bytes.length;
3976
4106
  if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
3977
- cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
4107
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true });
3978
4108
  cachedTextDecoder.decode();
3979
- numBytesDecoded = len;
4109
+ numBytesDecoded = bytes.length;
3980
4110
  }
3981
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
4111
+ return cachedTextDecoder.decode(bytes);
3982
4112
  }
3983
4113
 
3984
4114
  const cachedTextEncoder = new TextEncoder();
@@ -4013,6 +4143,7 @@ function __wbg_finalize_init(instance, module) {
4013
4143
  cachedUint16ArrayMemory0 = null;
4014
4144
  cachedUint32ArrayMemory0 = null;
4015
4145
  cachedUint8ArrayMemory0 = null;
4146
+ wasm.__wbindgen_start();
4016
4147
  return wasm;
4017
4148
  }
4018
4149
 
@@ -4075,9 +4206,17 @@ function initSync(module) {
4075
4206
  return __wbg_finalize_init(instance, module);
4076
4207
  }
4077
4208
 
4209
+ let __wbg_init_promise;
4078
4210
  async function __wbg_init(module_or_path) {
4079
4211
  if (wasm !== undefined) return wasm;
4212
+ if (__wbg_init_promise === undefined) {
4213
+ __wbg_init_promise = __wbg_init_once(module_or_path);
4214
+ __wbg_init_promise.catch(() => { __wbg_init_promise = undefined; });
4215
+ }
4216
+ return __wbg_init_promise;
4217
+ }
4080
4218
 
4219
+ async function __wbg_init_once(module_or_path) {
4081
4220
 
4082
4221
  if (module_or_path !== undefined) {
4083
4222
  if (Object.getPrototypeOf(module_or_path) === Object.prototype) {