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

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