@cosmol-studio/cosmol-viewer 0.6.2 → 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,40 @@ 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);
825
+ }
826
+ return Selection.__wrap(r0);
827
+ } finally {
828
+ wasm.__wbindgen_add_to_stack_pointer(16);
829
+ }
830
+ }
831
+ /**
832
+ * Remove a selection of the same kind from the same source.
833
+ * @param {Selection} other
834
+ * @returns {Selection}
835
+ */
836
+ difference(other) {
837
+ try {
838
+ if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
839
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
840
+ _assertNum(this.__wbg_ptr);
841
+ _assertClass(other, Selection);
842
+ if (other.__wbg_ptr === 0) {
843
+ throw new Error('Attempt to use a moved value');
844
+ }
845
+ wasm.selection_difference(retptr, this.__wbg_ptr, other.__wbg_ptr);
846
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
847
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
848
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
849
+ if (r2) {
850
+ throw takeFromExternrefTable0(r1);
828
851
  }
829
852
  return Selection.__wrap(r0);
830
853
  } finally {
@@ -838,19 +861,40 @@ export class Selection {
838
861
  element(element) {
839
862
  try {
840
863
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
841
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
864
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
842
865
  _assertNum(this.__wbg_ptr);
843
- wasm.selection_element(retptr, this.__wbg_ptr, addBorrowedObject(element));
866
+ wasm.selection_element(retptr, this.__wbg_ptr, element);
844
867
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
845
868
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
846
869
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
847
870
  if (r2) {
848
- throw takeObject(r1);
871
+ throw takeFromExternrefTable0(r1);
872
+ }
873
+ return Selection.__wrap(r0);
874
+ } finally {
875
+ wasm.__wbindgen_add_to_stack_pointer(16);
876
+ }
877
+ }
878
+ /**
879
+ * Keep only these zero-based source IDs, preserving source order.
880
+ * @param {IndexArrayInput} ids
881
+ * @returns {Selection}
882
+ */
883
+ filterIds(ids) {
884
+ try {
885
+ if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
886
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
887
+ _assertNum(this.__wbg_ptr);
888
+ wasm.selection_filterIds(retptr, this.__wbg_ptr, ids);
889
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
890
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
891
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
892
+ if (r2) {
893
+ throw takeFromExternrefTable0(r1);
849
894
  }
850
895
  return Selection.__wrap(r0);
851
896
  } finally {
852
897
  wasm.__wbindgen_add_to_stack_pointer(16);
853
- heap[stack_pointer++] = undefined;
854
898
  }
855
899
  }
856
900
  /**
@@ -859,7 +903,7 @@ export class Selection {
859
903
  ids() {
860
904
  try {
861
905
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
862
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
906
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
863
907
  _assertNum(this.__wbg_ptr);
864
908
  wasm.selection_ids(retptr, this.__wbg_ptr);
865
909
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
@@ -867,10 +911,10 @@ export class Selection {
867
911
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
868
912
  var r3 = getDataViewMemory0().getInt32(retptr + 4 * 3, true);
869
913
  if (r3) {
870
- throw takeObject(r2);
914
+ throw takeFromExternrefTable0(r2);
871
915
  }
872
916
  var v1 = getArrayU32FromWasm0(r0, r1).slice();
873
- wasm.__wbindgen_export4(r0, r1 * 4, 4);
917
+ wasm.__wbindgen_export3(r0, r1 * 4, 4);
874
918
  return v1;
875
919
  } finally {
876
920
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -882,20 +926,63 @@ export class Selection {
882
926
  len() {
883
927
  try {
884
928
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
885
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
929
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
886
930
  _assertNum(this.__wbg_ptr);
887
931
  wasm.selection_len(retptr, this.__wbg_ptr);
888
932
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
889
933
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
890
934
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
891
935
  if (r2) {
892
- throw takeObject(r1);
936
+ throw takeFromExternrefTable0(r1);
893
937
  }
894
938
  return r0 >>> 0;
895
939
  } finally {
896
940
  wasm.__wbindgen_add_to_stack_pointer(16);
897
941
  }
898
942
  }
943
+ /**
944
+ * Keep atoms in zero-based CK residue IDs, not PDB sequence numbers.
945
+ * @param {U32ArrayInput} ids
946
+ * @returns {Selection}
947
+ */
948
+ residueIds(ids) {
949
+ try {
950
+ if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
951
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
952
+ _assertNum(this.__wbg_ptr);
953
+ wasm.selection_residueIds(retptr, this.__wbg_ptr, ids);
954
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
955
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
956
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
957
+ if (r2) {
958
+ throw takeFromExternrefTable0(r1);
959
+ }
960
+ return Selection.__wrap(r0);
961
+ } finally {
962
+ wasm.__wbindgen_add_to_stack_pointer(16);
963
+ }
964
+ }
965
+ /**
966
+ * Select side-chain heavy atoms; excludes H and N, CA, C, O, OXT.
967
+ * @returns {Selection}
968
+ */
969
+ sidechain() {
970
+ try {
971
+ if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
972
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
973
+ _assertNum(this.__wbg_ptr);
974
+ wasm.selection_sidechain(retptr, this.__wbg_ptr);
975
+ var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
976
+ var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
977
+ var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
978
+ if (r2) {
979
+ throw takeFromExternrefTable0(r1);
980
+ }
981
+ return Selection.__wrap(r0);
982
+ } finally {
983
+ wasm.__wbindgen_add_to_stack_pointer(16);
984
+ }
985
+ }
899
986
  }
900
987
  if (Symbol.dispose) Selection.prototype[Symbol.dispose] = Selection.prototype.free;
901
988
 
@@ -925,14 +1012,14 @@ export class Selector {
925
1012
  atoms() {
926
1013
  try {
927
1014
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
928
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1015
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
929
1016
  _assertNum(this.__wbg_ptr);
930
1017
  wasm.selector_atoms(retptr, this.__wbg_ptr);
931
1018
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
932
1019
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
933
1020
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
934
1021
  if (r2) {
935
- throw takeObject(r1);
1022
+ throw takeFromExternrefTable0(r1);
936
1023
  }
937
1024
  return Selection.__wrap(r0);
938
1025
  } finally {
@@ -945,14 +1032,14 @@ export class Selector {
945
1032
  bonds() {
946
1033
  try {
947
1034
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
948
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1035
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
949
1036
  _assertNum(this.__wbg_ptr);
950
1037
  wasm.selector_bonds(retptr, this.__wbg_ptr);
951
1038
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
952
1039
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
953
1040
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
954
1041
  if (r2) {
955
- throw takeObject(r1);
1042
+ throw takeFromExternrefTable0(r1);
956
1043
  }
957
1044
  return Selection.__wrap(r0);
958
1045
  } finally {
@@ -965,14 +1052,14 @@ export class Selector {
965
1052
  residues() {
966
1053
  try {
967
1054
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
968
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1055
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
969
1056
  _assertNum(this.__wbg_ptr);
970
1057
  wasm.selector_residues(retptr, this.__wbg_ptr);
971
1058
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
972
1059
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
973
1060
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
974
1061
  if (r2) {
975
- throw takeObject(r1);
1062
+ throw takeFromExternrefTable0(r1);
976
1063
  }
977
1064
  return Selection.__wrap(r0);
978
1065
  } finally {
@@ -1014,14 +1101,14 @@ export class Sphere {
1014
1101
  cloneShape() {
1015
1102
  try {
1016
1103
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1017
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1104
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1018
1105
  _assertNum(this.__wbg_ptr);
1019
1106
  wasm.sphere_cloneShape(retptr, this.__wbg_ptr);
1020
1107
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1021
1108
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1022
1109
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1023
1110
  if (r2) {
1024
- throw takeObject(r1);
1111
+ throw takeFromExternrefTable0(r1);
1025
1112
  }
1026
1113
  return Sphere.__wrap(r0);
1027
1114
  } finally {
@@ -1035,14 +1122,14 @@ export class Sphere {
1035
1122
  color(rgb) {
1036
1123
  try {
1037
1124
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1038
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1125
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1039
1126
  _assertNum(this.__wbg_ptr);
1040
- wasm.sphere_color(retptr, this.__wbg_ptr, addHeapObject(rgb));
1127
+ wasm.sphere_color(retptr, this.__wbg_ptr, rgb);
1041
1128
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1042
1129
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1043
1130
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1044
1131
  if (r2) {
1045
- throw takeObject(r1);
1132
+ throw takeFromExternrefTable0(r1);
1046
1133
  }
1047
1134
  return Sphere.__wrap(r0);
1048
1135
  } finally {
@@ -1056,13 +1143,13 @@ export class Sphere {
1056
1143
  */
1057
1144
  static new(center, radius) {
1058
1145
  try {
1059
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1060
- 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);
1061
1148
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1062
1149
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1063
1150
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1064
1151
  if (r2) {
1065
- throw takeObject(r1);
1152
+ throw takeFromExternrefTable0(r1);
1066
1153
  }
1067
1154
  return Sphere.__wrap(r0);
1068
1155
  } finally {
@@ -1076,14 +1163,14 @@ export class Sphere {
1076
1163
  opacity(opacity) {
1077
1164
  try {
1078
1165
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1079
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1166
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1080
1167
  _assertNum(this.__wbg_ptr);
1081
- wasm.sphere_opacity(retptr, this.__wbg_ptr, addHeapObject(opacity));
1168
+ wasm.sphere_opacity(retptr, this.__wbg_ptr, opacity);
1082
1169
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1083
1170
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1084
1171
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1085
1172
  if (r2) {
1086
- throw takeObject(r1);
1173
+ throw takeFromExternrefTable0(r1);
1087
1174
  }
1088
1175
  return Sphere.__wrap(r0);
1089
1176
  } finally {
@@ -1125,14 +1212,14 @@ export class Stick {
1125
1212
  cloneShape() {
1126
1213
  try {
1127
1214
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1128
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1215
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1129
1216
  _assertNum(this.__wbg_ptr);
1130
1217
  wasm.stick_cloneShape(retptr, this.__wbg_ptr);
1131
1218
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1132
1219
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1133
1220
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1134
1221
  if (r2) {
1135
- throw takeObject(r1);
1222
+ throw takeFromExternrefTable0(r1);
1136
1223
  }
1137
1224
  return Stick.__wrap(r0);
1138
1225
  } finally {
@@ -1146,14 +1233,14 @@ export class Stick {
1146
1233
  color(rgb) {
1147
1234
  try {
1148
1235
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1149
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1236
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1150
1237
  _assertNum(this.__wbg_ptr);
1151
- wasm.stick_color(retptr, this.__wbg_ptr, addHeapObject(rgb));
1238
+ wasm.stick_color(retptr, this.__wbg_ptr, rgb);
1152
1239
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1153
1240
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1154
1241
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1155
1242
  if (r2) {
1156
- throw takeObject(r1);
1243
+ throw takeFromExternrefTable0(r1);
1157
1244
  }
1158
1245
  return Stick.__wrap(r0);
1159
1246
  } finally {
@@ -1168,13 +1255,13 @@ export class Stick {
1168
1255
  */
1169
1256
  static new(start, end, radius) {
1170
1257
  try {
1171
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1172
- 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);
1173
1260
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1174
1261
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1175
1262
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1176
1263
  if (r2) {
1177
- throw takeObject(r1);
1264
+ throw takeFromExternrefTable0(r1);
1178
1265
  }
1179
1266
  return Stick.__wrap(r0);
1180
1267
  } finally {
@@ -1188,14 +1275,14 @@ export class Stick {
1188
1275
  opacity(opacity) {
1189
1276
  try {
1190
1277
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1191
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1278
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1192
1279
  _assertNum(this.__wbg_ptr);
1193
- wasm.stick_opacity(retptr, this.__wbg_ptr, addHeapObject(opacity));
1280
+ wasm.stick_opacity(retptr, this.__wbg_ptr, opacity);
1194
1281
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1195
1282
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1196
1283
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1197
1284
  if (r2) {
1198
- throw takeObject(r1);
1285
+ throw takeFromExternrefTable0(r1);
1199
1286
  }
1200
1287
  return Stick.__wrap(r0);
1201
1288
  } finally {
@@ -1236,13 +1323,13 @@ export class Style {
1236
1323
  */
1237
1324
  static ballAndStick() {
1238
1325
  try {
1239
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1326
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1240
1327
  wasm.style_ballAndStick(retptr);
1241
1328
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1242
1329
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1243
1330
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1244
1331
  if (r2) {
1245
- throw takeObject(r1);
1332
+ throw takeFromExternrefTable0(r1);
1246
1333
  }
1247
1334
  return Style.__wrap(r0);
1248
1335
  } finally {
@@ -1254,13 +1341,13 @@ export class Style {
1254
1341
  */
1255
1342
  static cartoon() {
1256
1343
  try {
1257
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1344
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1258
1345
  wasm.style_cartoon(retptr);
1259
1346
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1260
1347
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1261
1348
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1262
1349
  if (r2) {
1263
- throw takeObject(r1);
1350
+ throw takeFromExternrefTable0(r1);
1264
1351
  }
1265
1352
  return Style.__wrap(r0);
1266
1353
  } finally {
@@ -1273,14 +1360,14 @@ export class Style {
1273
1360
  cloneStyle() {
1274
1361
  try {
1275
1362
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1276
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1363
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1277
1364
  _assertNum(this.__wbg_ptr);
1278
1365
  wasm.style_cloneStyle(retptr, this.__wbg_ptr);
1279
1366
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1280
1367
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1281
1368
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1282
1369
  if (r2) {
1283
- throw takeObject(r1);
1370
+ throw takeFromExternrefTable0(r1);
1284
1371
  }
1285
1372
  return Style.__wrap(r0);
1286
1373
  } finally {
@@ -1294,14 +1381,14 @@ export class Style {
1294
1381
  color(rgb) {
1295
1382
  try {
1296
1383
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1297
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1384
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1298
1385
  _assertNum(this.__wbg_ptr);
1299
- wasm.style_color(retptr, this.__wbg_ptr, addHeapObject(rgb));
1386
+ wasm.style_color(retptr, this.__wbg_ptr, rgb);
1300
1387
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1301
1388
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1302
1389
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1303
1390
  if (r2) {
1304
- throw takeObject(r1);
1391
+ throw takeFromExternrefTable0(r1);
1305
1392
  }
1306
1393
  return Style.__wrap(r0);
1307
1394
  } finally {
@@ -1318,14 +1405,14 @@ export class Style {
1318
1405
  configureSurface(probe_radius, grid_spacing, solvent_accessible, sharp_boundaries) {
1319
1406
  try {
1320
1407
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1321
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1408
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1322
1409
  _assertNum(this.__wbg_ptr);
1323
- 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);
1324
1411
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1325
1412
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1326
1413
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1327
1414
  if (r2) {
1328
- throw takeObject(r1);
1415
+ throw takeFromExternrefTable0(r1);
1329
1416
  }
1330
1417
  return Style.__wrap(r0);
1331
1418
  } finally {
@@ -1339,14 +1426,14 @@ export class Style {
1339
1426
  conformer(id) {
1340
1427
  try {
1341
1428
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1342
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1429
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1343
1430
  _assertNum(this.__wbg_ptr);
1344
- wasm.style_conformer(retptr, this.__wbg_ptr, addHeapObject(id));
1431
+ wasm.style_conformer(retptr, this.__wbg_ptr, id);
1345
1432
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1346
1433
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1347
1434
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1348
1435
  if (r2) {
1349
- throw takeObject(r1);
1436
+ throw takeFromExternrefTable0(r1);
1350
1437
  }
1351
1438
  return Style.__wrap(r0);
1352
1439
  } finally {
@@ -1359,14 +1446,14 @@ export class Style {
1359
1446
  coordinates2d() {
1360
1447
  try {
1361
1448
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1362
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1449
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1363
1450
  _assertNum(this.__wbg_ptr);
1364
1451
  wasm.style_coordinates2d(retptr, this.__wbg_ptr);
1365
1452
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1366
1453
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1367
1454
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1368
1455
  if (r2) {
1369
- throw takeObject(r1);
1456
+ throw takeFromExternrefTable0(r1);
1370
1457
  }
1371
1458
  return Style.__wrap(r0);
1372
1459
  } finally {
@@ -1380,14 +1467,14 @@ export class Style {
1380
1467
  metallic(value) {
1381
1468
  try {
1382
1469
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1383
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1470
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1384
1471
  _assertNum(this.__wbg_ptr);
1385
- wasm.style_metallic(retptr, this.__wbg_ptr, addHeapObject(value));
1472
+ wasm.style_metallic(retptr, this.__wbg_ptr, value);
1386
1473
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1387
1474
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1388
1475
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1389
1476
  if (r2) {
1390
- throw takeObject(r1);
1477
+ throw takeFromExternrefTable0(r1);
1391
1478
  }
1392
1479
  return Style.__wrap(r0);
1393
1480
  } finally {
@@ -1401,14 +1488,14 @@ export class Style {
1401
1488
  opacity(value) {
1402
1489
  try {
1403
1490
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1404
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1491
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1405
1492
  _assertNum(this.__wbg_ptr);
1406
- wasm.style_opacity(retptr, this.__wbg_ptr, addHeapObject(value));
1493
+ wasm.style_opacity(retptr, this.__wbg_ptr, value);
1407
1494
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1408
1495
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1409
1496
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1410
1497
  if (r2) {
1411
- throw takeObject(r1);
1498
+ throw takeFromExternrefTable0(r1);
1412
1499
  }
1413
1500
  return Style.__wrap(r0);
1414
1501
  } finally {
@@ -1423,14 +1510,14 @@ export class Style {
1423
1510
  outline(rgb, width) {
1424
1511
  try {
1425
1512
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1426
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1513
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1427
1514
  _assertNum(this.__wbg_ptr);
1428
- wasm.style_outline(retptr, this.__wbg_ptr, addHeapObject(rgb), addHeapObject(width));
1515
+ wasm.style_outline(retptr, this.__wbg_ptr, rgb, width);
1429
1516
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1430
1517
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1431
1518
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1432
1519
  if (r2) {
1433
- throw takeObject(r1);
1520
+ throw takeFromExternrefTable0(r1);
1434
1521
  }
1435
1522
  return Style.__wrap(r0);
1436
1523
  } finally {
@@ -1443,14 +1530,14 @@ export class Style {
1443
1530
  rainbowResidues() {
1444
1531
  try {
1445
1532
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1446
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1533
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1447
1534
  _assertNum(this.__wbg_ptr);
1448
1535
  wasm.style_rainbowResidues(retptr, this.__wbg_ptr);
1449
1536
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1450
1537
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1451
1538
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1452
1539
  if (r2) {
1453
- throw takeObject(r1);
1540
+ throw takeFromExternrefTable0(r1);
1454
1541
  }
1455
1542
  return Style.__wrap(r0);
1456
1543
  } finally {
@@ -1464,14 +1551,14 @@ export class Style {
1464
1551
  roughness(value) {
1465
1552
  try {
1466
1553
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1467
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1554
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1468
1555
  _assertNum(this.__wbg_ptr);
1469
- wasm.style_roughness(retptr, this.__wbg_ptr, addHeapObject(value));
1556
+ wasm.style_roughness(retptr, this.__wbg_ptr, value);
1470
1557
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1471
1558
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1472
1559
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1473
1560
  if (r2) {
1474
- throw takeObject(r1);
1561
+ throw takeFromExternrefTable0(r1);
1475
1562
  }
1476
1563
  return Style.__wrap(r0);
1477
1564
  } finally {
@@ -1485,14 +1572,14 @@ export class Style {
1485
1572
  scale(value) {
1486
1573
  try {
1487
1574
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1488
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1575
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1489
1576
  _assertNum(this.__wbg_ptr);
1490
- wasm.style_scale(retptr, this.__wbg_ptr, addHeapObject(value));
1577
+ wasm.style_scale(retptr, this.__wbg_ptr, value);
1491
1578
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1492
1579
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1493
1580
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1494
1581
  if (r2) {
1495
- throw takeObject(r1);
1582
+ throw takeFromExternrefTable0(r1);
1496
1583
  }
1497
1584
  return Style.__wrap(r0);
1498
1585
  } finally {
@@ -1504,13 +1591,13 @@ export class Style {
1504
1591
  */
1505
1592
  static sphere() {
1506
1593
  try {
1507
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1594
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1508
1595
  wasm.style_sphere(retptr);
1509
1596
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1510
1597
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1511
1598
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1512
1599
  if (r2) {
1513
- throw takeObject(r1);
1600
+ throw takeFromExternrefTable0(r1);
1514
1601
  }
1515
1602
  return Style.__wrap(r0);
1516
1603
  } finally {
@@ -1522,13 +1609,13 @@ export class Style {
1522
1609
  */
1523
1610
  static stick() {
1524
1611
  try {
1525
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1612
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1526
1613
  wasm.style_stick(retptr);
1527
1614
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1528
1615
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1529
1616
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1530
1617
  if (r2) {
1531
- throw takeObject(r1);
1618
+ throw takeFromExternrefTable0(r1);
1532
1619
  }
1533
1620
  return Style.__wrap(r0);
1534
1621
  } finally {
@@ -1540,13 +1627,13 @@ export class Style {
1540
1627
  */
1541
1628
  static surface() {
1542
1629
  try {
1543
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1630
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1544
1631
  wasm.style_surface(retptr);
1545
1632
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1546
1633
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1547
1634
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1548
1635
  if (r2) {
1549
- throw takeObject(r1);
1636
+ throw takeFromExternrefTable0(r1);
1550
1637
  }
1551
1638
  return Style.__wrap(r0);
1552
1639
  } finally {
@@ -1585,13 +1672,13 @@ export class Viewer {
1585
1672
  cameraParameterLogging(enabled) {
1586
1673
  try {
1587
1674
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1588
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1675
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1589
1676
  _assertNum(this.__wbg_ptr);
1590
- wasm.viewer_cameraParameterLogging(retptr, this.__wbg_ptr, addHeapObject(enabled));
1677
+ wasm.viewer_cameraParameterLogging(retptr, this.__wbg_ptr, enabled);
1591
1678
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1592
1679
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1593
1680
  if (r1) {
1594
- throw takeObject(r0);
1681
+ throw takeFromExternrefTable0(r0);
1595
1682
  }
1596
1683
  } finally {
1597
1684
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1603,13 +1690,13 @@ export class Viewer {
1603
1690
  close() {
1604
1691
  try {
1605
1692
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1606
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1693
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1607
1694
  _assertNum(this.__wbg_ptr);
1608
1695
  wasm.viewer_close(retptr, this.__wbg_ptr);
1609
1696
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1610
1697
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1611
1698
  if (r1) {
1612
- throw takeObject(r0);
1699
+ throw takeFromExternrefTable0(r0);
1613
1700
  }
1614
1701
  } finally {
1615
1702
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1622,13 +1709,13 @@ export class Viewer {
1622
1709
  dispatch(payload) {
1623
1710
  try {
1624
1711
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1625
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1712
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1626
1713
  _assertNum(this.__wbg_ptr);
1627
- wasm.viewer_dispatch(retptr, this.__wbg_ptr, addHeapObject(payload));
1714
+ wasm.viewer_dispatch(retptr, this.__wbg_ptr, payload);
1628
1715
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1629
1716
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1630
1717
  if (r1) {
1631
- throw takeObject(r0);
1718
+ throw takeFromExternrefTable0(r0);
1632
1719
  }
1633
1720
  } finally {
1634
1721
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1642,13 +1729,13 @@ export class Viewer {
1642
1729
  */
1643
1730
  static new(canvas_id) {
1644
1731
  try {
1645
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1646
- 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);
1647
1734
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1648
1735
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1649
1736
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1650
1737
  if (r2) {
1651
- throw takeObject(r1);
1738
+ throw takeFromExternrefTable0(r1);
1652
1739
  }
1653
1740
  return Viewer.__wrap(r0);
1654
1741
  } finally {
@@ -1662,8 +1749,8 @@ export class Viewer {
1662
1749
  * @returns {Promise<Viewer>}
1663
1750
  */
1664
1751
  static openNotebook(canvas_id, payload) {
1665
- const ret = wasm.viewer_openNotebook(addHeapObject(canvas_id), addHeapObject(payload));
1666
- return takeObject(ret);
1752
+ const ret = wasm.viewer_openNotebook(canvas_id, payload);
1753
+ return ret;
1667
1754
  }
1668
1755
  /**
1669
1756
  * Internal notebook animation startup, accepting the versioned transport envelope.
@@ -1672,8 +1759,8 @@ export class Viewer {
1672
1759
  * @returns {Promise<Viewer>}
1673
1760
  */
1674
1761
  static playNotebook(canvas_id, payload) {
1675
- const ret = wasm.viewer_playNotebook(addHeapObject(canvas_id), addHeapObject(payload));
1676
- return takeObject(ret);
1762
+ const ret = wasm.viewer_playNotebook(canvas_id, payload);
1763
+ return ret;
1677
1764
  }
1678
1765
  /**
1679
1766
  * Play an animation on this viewer's canvas, replacing previous content.
@@ -1688,7 +1775,7 @@ export class Viewer {
1688
1775
  throw new Error('Attempt to use a moved value');
1689
1776
  }
1690
1777
  const ret = wasm.viewer_play(this.__wbg_ptr, animation.__wbg_ptr);
1691
- return takeObject(ret);
1778
+ return ret;
1692
1779
  }
1693
1780
  /**
1694
1781
  * Render a scene on this viewer's canvas, stopping any previous animation.
@@ -1704,7 +1791,7 @@ export class Viewer {
1704
1791
  throw new Error('Attempt to use a moved value');
1705
1792
  }
1706
1793
  const ret = wasm.viewer_render(this.__wbg_ptr, scene.__wbg_ptr);
1707
- return takeObject(ret);
1794
+ return ret;
1708
1795
  }
1709
1796
  /**
1710
1797
  * Show live camera parameters over the viewport, independently of logging.
@@ -1713,13 +1800,13 @@ export class Viewer {
1713
1800
  showCameraParameters(enabled) {
1714
1801
  try {
1715
1802
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1716
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1803
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1717
1804
  _assertNum(this.__wbg_ptr);
1718
- wasm.viewer_showCameraParameters(retptr, this.__wbg_ptr, addHeapObject(enabled));
1805
+ wasm.viewer_showCameraParameters(retptr, this.__wbg_ptr, enabled);
1719
1806
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1720
1807
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1721
1808
  if (r1) {
1722
- throw takeObject(r0);
1809
+ throw takeFromExternrefTable0(r0);
1723
1810
  }
1724
1811
  } finally {
1725
1812
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1733,13 +1820,13 @@ export class Viewer {
1733
1820
  showFps(enabled) {
1734
1821
  try {
1735
1822
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1736
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1823
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1737
1824
  _assertNum(this.__wbg_ptr);
1738
- wasm.viewer_showFps(retptr, this.__wbg_ptr, addHeapObject(enabled));
1825
+ wasm.viewer_showFps(retptr, this.__wbg_ptr, enabled);
1739
1826
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1740
1827
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1741
1828
  if (r1) {
1742
- throw takeObject(r0);
1829
+ throw takeFromExternrefTable0(r0);
1743
1830
  }
1744
1831
  } finally {
1745
1832
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1753,7 +1840,7 @@ export class Viewer {
1753
1840
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1754
1841
  _assertNum(this.__wbg_ptr);
1755
1842
  const ret = wasm.viewer_takeScreenshot(this.__wbg_ptr);
1756
- return takeObject(ret);
1843
+ return ret;
1757
1844
  }
1758
1845
  /**
1759
1846
  * Queue a typed scene update. The renderer applies it on a subsequent frame.
@@ -1762,7 +1849,7 @@ export class Viewer {
1762
1849
  update(scene) {
1763
1850
  try {
1764
1851
  if (this.__wbg_ptr == 0) throw new Error('Attempt to use a moved value');
1765
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1852
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1766
1853
  _assertNum(this.__wbg_ptr);
1767
1854
  _assertClass(scene, Scene);
1768
1855
  if (scene.__wbg_ptr === 0) {
@@ -1772,7 +1859,7 @@ export class Viewer {
1772
1859
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1773
1860
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1774
1861
  if (r1) {
1775
- throw takeObject(r0);
1862
+ throw takeFromExternrefTable0(r0);
1776
1863
  }
1777
1864
  } finally {
1778
1865
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -1787,7 +1874,7 @@ if (Symbol.dispose) Viewer.prototype[Symbol.dispose] = Viewer.prototype.free;
1787
1874
  * @param {Function} element
1788
1875
  */
1789
1876
  export function __setCkTypes(molecule, protein, element) {
1790
- wasm.__setCkTypes(addHeapObject(molecule), addHeapObject(protein), addHeapObject(element));
1877
+ wasm.__setCkTypes(molecule, protein, element);
1791
1878
  }
1792
1879
 
1793
1880
  /**
@@ -1797,7 +1884,7 @@ export function __setCkTypes(molecule, protein, element) {
1797
1884
  * @param {Function} style
1798
1885
  */
1799
1886
  export function __setViewerTypes(selection, sphere, stick, style) {
1800
- wasm.__setViewerTypes(addHeapObject(selection), addHeapObject(sphere), addHeapObject(stick), addHeapObject(style));
1887
+ wasm.__setViewerTypes(selection, sphere, stick, style);
1801
1888
  }
1802
1889
 
1803
1890
  /**
@@ -1807,7 +1894,7 @@ export function bindingContractJson() {
1807
1894
  let deferred1_0;
1808
1895
  let deferred1_1;
1809
1896
  try {
1810
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1897
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1811
1898
  wasm.bindingContractJson(retptr);
1812
1899
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1813
1900
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
@@ -1816,7 +1903,7 @@ export function bindingContractJson() {
1816
1903
  return getStringFromWasm0(r0, r1);
1817
1904
  } finally {
1818
1905
  wasm.__wbindgen_add_to_stack_pointer(16);
1819
- wasm.__wbindgen_export4(deferred1_0, deferred1_1, 1);
1906
+ wasm.__wbindgen_export3(deferred1_0, deferred1_1, 1);
1820
1907
  }
1821
1908
  }
1822
1909
 
@@ -1826,18 +1913,17 @@ export function bindingContractJson() {
1826
1913
  */
1827
1914
  export function select(source) {
1828
1915
  try {
1829
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
1830
- wasm.select(retptr, addBorrowedObject(source));
1916
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
1917
+ wasm.select(retptr, source);
1831
1918
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
1832
1919
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
1833
1920
  var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
1834
1921
  if (r2) {
1835
- throw takeObject(r1);
1922
+ throw takeFromExternrefTable0(r1);
1836
1923
  }
1837
1924
  return Selector.__wrap(r0);
1838
1925
  } finally {
1839
1926
  wasm.__wbindgen_add_to_stack_pointer(16);
1840
- heap[stack_pointer++] = undefined;
1841
1927
  }
1842
1928
  }
1843
1929
 
@@ -1847,500 +1933,500 @@ export function select(source) {
1847
1933
  function __wbg_get_imports() {
1848
1934
  const import0 = {
1849
1935
  __proto__: null,
1850
- __wbg_Error_30c8987f7c2ed4e2: function() { return logError(function (arg0, arg1) {
1936
+ __wbg_Error_208446807d0d1e30: function() { return logError(function (arg0, arg1) {
1851
1937
  const ret = Error(getStringFromWasm0(arg0, arg1));
1852
- return addHeapObject(ret);
1938
+ return ret;
1853
1939
  }, arguments); },
1854
- __wbg_Number_14af1003b8dd5ead: function() { return logError(function (arg0) {
1855
- const ret = Number(getObject(arg0));
1940
+ __wbg_Number_ff192a72a0dcdf6d: function() { return logError(function (arg0) {
1941
+ const ret = Number(arg0);
1856
1942
  return ret;
1857
1943
  }, arguments); },
1858
1944
  __wbg_String_8564e559799eccda: function() { return logError(function (arg0, arg1) {
1859
- const ret = String(getObject(arg1));
1945
+ const ret = String(arg1);
1860
1946
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1861
1947
  const len1 = WASM_VECTOR_LEN;
1862
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1863
- 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);
1864
1950
  }, arguments); },
1865
- __wbg___wbindgen_bigint_get_as_i64_a2383202b9353e4c: function(arg0, arg1) {
1866
- const v = getObject(arg1);
1951
+ __wbg___wbindgen_bigint_get_as_i64_11da4b52cd0aedef: function(arg0, arg1) {
1952
+ const v = arg1;
1867
1953
  const ret = typeof(v) === 'bigint' ? v : undefined;
1868
1954
  if (!isLikeNone(ret)) {
1869
1955
  _assertBigInt(ret);
1870
1956
  }
1871
- getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
1872
- 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);
1873
1959
  },
1874
- __wbg___wbindgen_boolean_get_5b446f51afd21013: function(arg0) {
1875
- const v = getObject(arg0);
1960
+ __wbg___wbindgen_boolean_get_4f1baf9a00be3c74: function(arg0) {
1961
+ const v = arg0;
1876
1962
  const ret = typeof(v) === 'boolean' ? v : undefined;
1877
1963
  if (!isLikeNone(ret)) {
1878
1964
  _assertBoolean(ret);
1879
1965
  }
1880
1966
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
1881
1967
  },
1882
- __wbg___wbindgen_debug_string_4687d8d8c2017d52: function(arg0, arg1) {
1883
- const ret = debugString(getObject(arg1));
1968
+ __wbg___wbindgen_debug_string_f249a2a76caa9a55: function(arg0, arg1) {
1969
+ const ret = debugString(arg1);
1884
1970
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1885
1971
  const len1 = WASM_VECTOR_LEN;
1886
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1887
- 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);
1888
1974
  },
1889
- __wbg___wbindgen_in_92f62ee1427d9e49: function(arg0, arg1) {
1890
- const ret = getObject(arg0) in getObject(arg1);
1975
+ __wbg___wbindgen_in_3f58a9d3b3a7eed2: function(arg0, arg1) {
1976
+ const ret = arg0 in arg1;
1891
1977
  _assertBoolean(ret);
1892
1978
  return ret;
1893
1979
  },
1894
- __wbg___wbindgen_is_bigint_b123553bed3bb382: function(arg0) {
1895
- const ret = typeof(getObject(arg0)) === 'bigint';
1980
+ __wbg___wbindgen_is_bigint_5fa10641e039d3ef: function(arg0) {
1981
+ const ret = typeof(arg0) === 'bigint';
1896
1982
  _assertBoolean(ret);
1897
1983
  return ret;
1898
1984
  },
1899
- __wbg___wbindgen_is_function_1f9d30630b8b1d3d: function(arg0) {
1900
- const ret = typeof(getObject(arg0)) === 'function';
1985
+ __wbg___wbindgen_is_function_741ff2bb612836f5: function(arg0) {
1986
+ const ret = typeof(arg0) === 'function';
1901
1987
  _assertBoolean(ret);
1902
1988
  return ret;
1903
1989
  },
1904
- __wbg___wbindgen_is_object_3c45d4f2dde4e749: function(arg0) {
1905
- const val = getObject(arg0);
1990
+ __wbg___wbindgen_is_object_8b968c3ab8e96595: function(arg0) {
1991
+ const val = arg0;
1906
1992
  const ret = typeof(val) === 'object' && val !== null;
1907
1993
  _assertBoolean(ret);
1908
1994
  return ret;
1909
1995
  },
1910
- __wbg___wbindgen_is_undefined_8865fb403f8fe9d8: function(arg0) {
1911
- const ret = getObject(arg0) === undefined;
1996
+ __wbg___wbindgen_is_undefined_be5b34249ff1fc15: function(arg0) {
1997
+ const ret = arg0 === undefined;
1912
1998
  _assertBoolean(ret);
1913
1999
  return ret;
1914
2000
  },
1915
- __wbg___wbindgen_jsval_eq_02babf21faa37971: function(arg0, arg1) {
1916
- const ret = getObject(arg0) === getObject(arg1);
2001
+ __wbg___wbindgen_jsval_eq_38d7bfbe4cc84039: function(arg0, arg1) {
2002
+ const ret = arg0 === arg1;
1917
2003
  _assertBoolean(ret);
1918
2004
  return ret;
1919
2005
  },
1920
- __wbg___wbindgen_jsval_loose_eq_677f21e468d6b461: function(arg0, arg1) {
1921
- const ret = getObject(arg0) == getObject(arg1);
2006
+ __wbg___wbindgen_jsval_loose_eq_b2f214e2e4b30e36: function(arg0, arg1) {
2007
+ const ret = arg0 == arg1;
1922
2008
  _assertBoolean(ret);
1923
2009
  return ret;
1924
2010
  },
1925
- __wbg___wbindgen_number_get_2e0e7dee9f701a71: function(arg0, arg1) {
1926
- const obj = getObject(arg1);
2011
+ __wbg___wbindgen_number_get_934b640d0889af78: function(arg0, arg1) {
2012
+ const obj = arg1;
1927
2013
  const ret = typeof(obj) === 'number' ? obj : undefined;
1928
2014
  if (!isLikeNone(ret)) {
1929
2015
  _assertNum(ret);
1930
2016
  }
1931
- getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
1932
- 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);
1933
2019
  },
1934
- __wbg___wbindgen_string_get_0380ccaa2f57f0d9: function(arg0, arg1) {
1935
- const obj = getObject(arg1);
2020
+ __wbg___wbindgen_string_get_7ce8eee7fd327545: function(arg0, arg1) {
2021
+ const obj = arg1;
1936
2022
  const ret = typeof(obj) === 'string' ? obj : undefined;
1937
2023
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
1938
2024
  var len1 = WASM_VECTOR_LEN;
1939
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
1940
- 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);
1941
2027
  },
1942
- __wbg___wbindgen_throw_41e9ee4f547fc59a: function(arg0, arg1) {
2028
+ __wbg___wbindgen_throw_4c88d8bf264fd984: function(arg0, arg1) {
1943
2029
  throw new Error(getStringFromWasm0(arg0, arg1));
1944
2030
  },
1945
- __wbg__wbg_cb_unref_dcc1a90847f04c41: function() { return logError(function (arg0) {
1946
- getObject(arg0)._wbg_cb_unref();
2031
+ __wbg__wbg_cb_unref_09736879a3f67559: function() { return logError(function (arg0) {
2032
+ arg0._wbg_cb_unref();
1947
2033
  }, arguments); },
1948
- __wbg_activeElement_1e45e0df6b6ac829: function() { return logError(function (arg0) {
1949
- const ret = getObject(arg0).activeElement;
1950
- 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);
1951
2037
  }, arguments); },
1952
- __wbg_activeElement_69b55e3697f14d9b: function() { return logError(function (arg0) {
1953
- const ret = getObject(arg0).activeElement;
1954
- 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);
1955
2041
  }, arguments); },
1956
- __wbg_activeTexture_11079673eac5c921: function() { return logError(function (arg0, arg1) {
1957
- getObject(arg0).activeTexture(arg1 >>> 0);
2042
+ __wbg_activeTexture_45b425a49df733ce: function() { return logError(function (arg0, arg1) {
2043
+ arg0.activeTexture(arg1 >>> 0);
1958
2044
  }, arguments); },
1959
- __wbg_activeTexture_2fad46c01cafe6b1: function() { return logError(function (arg0, arg1) {
1960
- getObject(arg0).activeTexture(arg1 >>> 0);
2045
+ __wbg_activeTexture_89cef8c297ad0698: function() { return logError(function (arg0, arg1) {
2046
+ arg0.activeTexture(arg1 >>> 0);
1961
2047
  }, arguments); },
1962
- __wbg_addEventListener_8d3235978b9c69a8: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
1963
- 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);
1964
2050
  }, arguments); },
1965
- __wbg_alert_e913f93d6718c2f3: function() { return handleError(function (arg0, arg1, arg2) {
1966
- getObject(arg0).alert(getStringFromWasm0(arg1, arg2));
2051
+ __wbg_alert_97bd30812974a43e: function() { return handleError(function (arg0, arg1, arg2) {
2052
+ arg0.alert(getStringFromWasm0(arg1, arg2));
1967
2053
  }, arguments); },
1968
- __wbg_altKey_1e5fe17a42050103: function() { return logError(function (arg0) {
1969
- const ret = getObject(arg0).altKey;
2054
+ __wbg_altKey_423da1d67b588078: function() { return logError(function (arg0) {
2055
+ const ret = arg0.altKey;
1970
2056
  _assertBoolean(ret);
1971
2057
  return ret;
1972
2058
  }, arguments); },
1973
- __wbg_altKey_cfb4c4fab9a7d0d0: function() { return logError(function (arg0) {
1974
- const ret = getObject(arg0).altKey;
2059
+ __wbg_altKey_f158b37d4bccf5ff: function() { return logError(function (arg0) {
2060
+ const ret = arg0.altKey;
1975
2061
  _assertBoolean(ret);
1976
2062
  return ret;
1977
2063
  }, arguments); },
1978
- __wbg_appendChild_fb8c52e7dd8484ea: function() { return handleError(function (arg0, arg1) {
1979
- const ret = getObject(arg0).appendChild(getObject(arg1));
1980
- return addHeapObject(ret);
2064
+ __wbg_appendChild_dbf7ad2f48413560: function() { return handleError(function (arg0, arg1) {
2065
+ const ret = arg0.appendChild(arg1);
2066
+ return ret;
1981
2067
  }, arguments); },
1982
- __wbg_arrayBuffer_0fe6e1300abcf908: function() { return logError(function (arg0) {
1983
- const ret = getObject(arg0).arrayBuffer();
1984
- return addHeapObject(ret);
2068
+ __wbg_arrayBuffer_5abbcb61bd48f427: function() { return logError(function (arg0) {
2069
+ const ret = arg0.arrayBuffer();
2070
+ return ret;
1985
2071
  }, arguments); },
1986
- __wbg_at_31a66e62eefd72ad: function() { return logError(function (arg0, arg1) {
1987
- const ret = getObject(arg0).at(arg1);
1988
- return addHeapObject(ret);
2072
+ __wbg_at_3e5065dbded96e2e: function() { return logError(function (arg0, arg1) {
2073
+ const ret = arg0.at(arg1);
2074
+ return ret;
1989
2075
  }, arguments); },
1990
- __wbg_attachShader_8920a5beea54aba7: function() { return logError(function (arg0, arg1, arg2) {
1991
- getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
2076
+ __wbg_attachShader_3ed301cc92db59f6: function() { return logError(function (arg0, arg1, arg2) {
2077
+ arg0.attachShader(arg1, arg2);
1992
2078
  }, arguments); },
1993
- __wbg_attachShader_9567ae57af6746d5: function() { return logError(function (arg0, arg1, arg2) {
1994
- getObject(arg0).attachShader(getObject(arg1), getObject(arg2));
2079
+ __wbg_attachShader_817dcec9e79fd18f: function() { return logError(function (arg0, arg1, arg2) {
2080
+ arg0.attachShader(arg1, arg2);
1995
2081
  }, arguments); },
1996
- __wbg_bindBuffer_0324f62b876c4403: function() { return logError(function (arg0, arg1, arg2) {
1997
- getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
2082
+ __wbg_bindBuffer_b3bb001fdbee089a: function() { return logError(function (arg0, arg1, arg2) {
2083
+ arg0.bindBuffer(arg1 >>> 0, arg2);
1998
2084
  }, arguments); },
1999
- __wbg_bindBuffer_2195e89b585ce0c3: function() { return logError(function (arg0, arg1, arg2) {
2000
- getObject(arg0).bindBuffer(arg1 >>> 0, getObject(arg2));
2085
+ __wbg_bindBuffer_cbc9075f76fffa51: function() { return logError(function (arg0, arg1, arg2) {
2086
+ arg0.bindBuffer(arg1 >>> 0, arg2);
2001
2087
  }, arguments); },
2002
- __wbg_bindTexture_3cf008f256f3ed99: function() { return logError(function (arg0, arg1, arg2) {
2003
- getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
2088
+ __wbg_bindTexture_6f822943b2790466: function() { return logError(function (arg0, arg1, arg2) {
2089
+ arg0.bindTexture(arg1 >>> 0, arg2);
2004
2090
  }, arguments); },
2005
- __wbg_bindTexture_613a47b8917a0ccd: function() { return logError(function (arg0, arg1, arg2) {
2006
- getObject(arg0).bindTexture(arg1 >>> 0, getObject(arg2));
2091
+ __wbg_bindTexture_a23350e1b573ddfd: function() { return logError(function (arg0, arg1, arg2) {
2092
+ arg0.bindTexture(arg1 >>> 0, arg2);
2007
2093
  }, arguments); },
2008
- __wbg_bindVertexArrayOES_3141815cb8234a6e: function() { return logError(function (arg0, arg1) {
2009
- getObject(arg0).bindVertexArrayOES(getObject(arg1));
2094
+ __wbg_bindVertexArrayOES_5161c1f5b1fea3f9: function() { return logError(function (arg0, arg1) {
2095
+ arg0.bindVertexArrayOES(arg1);
2010
2096
  }, arguments); },
2011
- __wbg_bindVertexArray_f58af0a346185ec5: function() { return logError(function (arg0, arg1) {
2012
- getObject(arg0).bindVertexArray(getObject(arg1));
2097
+ __wbg_bindVertexArray_cc64c48bf67ab8d4: function() { return logError(function (arg0, arg1) {
2098
+ arg0.bindVertexArray(arg1);
2013
2099
  }, arguments); },
2014
- __wbg_blendEquationSeparate_0a17fa4ea863d445: function() { return logError(function (arg0, arg1, arg2) {
2015
- 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);
2016
2102
  }, arguments); },
2017
- __wbg_blendEquationSeparate_fa2d4e5dde5ad8b3: function() { return logError(function (arg0, arg1, arg2) {
2018
- 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);
2019
2105
  }, arguments); },
2020
- __wbg_blendFuncSeparate_28abe082febb1a26: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2021
- 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);
2022
2108
  }, arguments); },
2023
- __wbg_blendFuncSeparate_2af9d47f7efc0452: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2024
- 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);
2025
2111
  }, arguments); },
2026
- __wbg_blockSize_1e07d486d3f2411b: function() { return logError(function (arg0) {
2027
- const ret = getObject(arg0).blockSize;
2112
+ __wbg_blockSize_4a396ef99671a8a3: function() { return logError(function (arg0) {
2113
+ const ret = arg0.blockSize;
2028
2114
  return ret;
2029
2115
  }, arguments); },
2030
- __wbg_blur_cb8bd1ead8743f99: function() { return handleError(function (arg0) {
2031
- getObject(arg0).blur();
2116
+ __wbg_blur_c2856e0bcfec2cc0: function() { return handleError(function (arg0) {
2117
+ arg0.blur();
2032
2118
  }, arguments); },
2033
- __wbg_body_e549239eaff082e1: function() { return logError(function (arg0) {
2034
- const ret = getObject(arg0).body;
2035
- 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);
2036
2122
  }, arguments); },
2037
- __wbg_bottom_29cd36a415d12885: function() { return logError(function (arg0) {
2038
- const ret = getObject(arg0).bottom;
2123
+ __wbg_bottom_fd840749aac1de6e: function() { return logError(function (arg0) {
2124
+ const ret = arg0.bottom;
2039
2125
  return ret;
2040
2126
  }, arguments); },
2041
- __wbg_bufferData_53e0f7a06b58fe81: function() { return logError(function (arg0, arg1, arg2, arg3) {
2042
- 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);
2043
2129
  }, arguments); },
2044
- __wbg_bufferData_5fa44d94fe7a3878: function() { return logError(function (arg0, arg1, arg2, arg3) {
2045
- 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);
2046
2132
  }, arguments); },
2047
- __wbg_button_1aa380c7ca420cd1: function() { return logError(function (arg0) {
2048
- const ret = getObject(arg0).button;
2133
+ __wbg_button_653210370515dd71: function() { return logError(function (arg0) {
2134
+ const ret = arg0.button;
2049
2135
  _assertNum(ret);
2050
2136
  return ret;
2051
2137
  }, arguments); },
2052
- __wbg_call_187d372bd5fdd4aa: function() { return handleError(function (arg0, arg1, arg2) {
2053
- const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
2054
- return addHeapObject(ret);
2138
+ __wbg_call_40b008ba32f73991: function() { return handleError(function (arg0, arg1) {
2139
+ const ret = arg0.call(arg1);
2140
+ return ret;
2055
2141
  }, arguments); },
2056
- __wbg_call_6137034ef55c9d0f: function() { return handleError(function (arg0, arg1) {
2057
- const ret = getObject(arg0).call(getObject(arg1));
2058
- return addHeapObject(ret);
2142
+ __wbg_call_a410eb4b59ed5965: function() { return handleError(function (arg0, arg1, arg2) {
2143
+ const ret = arg0.call(arg1, arg2);
2144
+ return ret;
2059
2145
  }, arguments); },
2060
- __wbg_cancelAnimationFrame_6d30ac112c49342a: function() { return handleError(function (arg0, arg1) {
2061
- getObject(arg0).cancelAnimationFrame(arg1);
2146
+ __wbg_cancelAnimationFrame_c0d19c5f7cfd7aae: function() { return handleError(function (arg0, arg1) {
2147
+ arg0.cancelAnimationFrame(arg1);
2062
2148
  }, arguments); },
2063
- __wbg_changedTouches_df984754af5ef0fa: function() { return logError(function (arg0) {
2064
- const ret = getObject(arg0).changedTouches;
2065
- return addHeapObject(ret);
2149
+ __wbg_changedTouches_133917dec6f0866e: function() { return logError(function (arg0) {
2150
+ const ret = arg0.changedTouches;
2151
+ return ret;
2066
2152
  }, arguments); },
2067
- __wbg_clearColor_3f6aa096dc12e8b7: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2068
- 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);
2069
2155
  }, arguments); },
2070
- __wbg_clearColor_796427e8ac60fe14: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2071
- 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);
2072
2158
  }, arguments); },
2073
- __wbg_clearInterval_f1a050672da2658c: function() { return logError(function (arg0, arg1) {
2074
- getObject(arg0).clearInterval(arg1);
2159
+ __wbg_clearInterval_75e54e39df78e754: function() { return logError(function (arg0, arg1) {
2160
+ arg0.clearInterval(arg1);
2075
2161
  }, arguments); },
2076
- __wbg_clearTimeout_c7bc4c3c7a7774af: function() { return logError(function (arg0, arg1) {
2077
- getObject(arg0).clearTimeout(arg1);
2162
+ __wbg_clearTimeout_fd2c5dfcf4c67f84: function() { return logError(function (arg0, arg1) {
2163
+ arg0.clearTimeout(arg1);
2078
2164
  }, arguments); },
2079
- __wbg_clear_175cf3cb6d98d72b: function() { return logError(function (arg0, arg1) {
2080
- getObject(arg0).clear(arg1 >>> 0);
2165
+ __wbg_clear_3ffa1ed794f92a04: function() { return logError(function (arg0, arg1) {
2166
+ arg0.clear(arg1 >>> 0);
2081
2167
  }, arguments); },
2082
- __wbg_clear_cb96796cc568b7c8: function() { return logError(function (arg0, arg1) {
2083
- getObject(arg0).clear(arg1 >>> 0);
2168
+ __wbg_clear_ccb3d618da90fea3: function() { return logError(function (arg0, arg1) {
2169
+ arg0.clear(arg1 >>> 0);
2084
2170
  }, arguments); },
2085
- __wbg_clientX_5075231ed45e8ef5: function() { return logError(function (arg0) {
2086
- const ret = getObject(arg0).clientX;
2171
+ __wbg_clientX_7207eed549b03753: function() { return logError(function (arg0) {
2172
+ const ret = arg0.clientX;
2087
2173
  _assertNum(ret);
2088
2174
  return ret;
2089
2175
  }, arguments); },
2090
- __wbg_clientX_80fda6c64299fd4d: function() { return logError(function (arg0) {
2091
- const ret = getObject(arg0).clientX;
2176
+ __wbg_clientX_8c315b448e031608: function() { return logError(function (arg0) {
2177
+ const ret = arg0.clientX;
2092
2178
  _assertNum(ret);
2093
2179
  return ret;
2094
2180
  }, arguments); },
2095
- __wbg_clientY_0206292d4e8f94cb: function() { return logError(function (arg0) {
2096
- const ret = getObject(arg0).clientY;
2181
+ __wbg_clientY_3371139730cd6f74: function() { return logError(function (arg0) {
2182
+ const ret = arg0.clientY;
2097
2183
  _assertNum(ret);
2098
2184
  return ret;
2099
2185
  }, arguments); },
2100
- __wbg_clientY_846c39814ce02ab2: function() { return logError(function (arg0) {
2101
- const ret = getObject(arg0).clientY;
2186
+ __wbg_clientY_864eb3eff334b02a: function() { return logError(function (arg0) {
2187
+ const ret = arg0.clientY;
2102
2188
  _assertNum(ret);
2103
2189
  return ret;
2104
2190
  }, arguments); },
2105
- __wbg_clipboardData_0048090643ed57a2: function() { return logError(function (arg0) {
2106
- const ret = getObject(arg0).clipboardData;
2107
- 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);
2108
2194
  }, arguments); },
2109
- __wbg_clipboard_9bf6a11ffd0b00a8: function() { return logError(function (arg0) {
2110
- const ret = getObject(arg0).clipboard;
2111
- return addHeapObject(ret);
2195
+ __wbg_clipboard_047ad3d952a13066: function() { return logError(function (arg0) {
2196
+ const ret = arg0.clipboard;
2197
+ return ret;
2112
2198
  }, arguments); },
2113
- __wbg_colorMask_4d6afbbbc3022fbe: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2114
- 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);
2115
2201
  }, arguments); },
2116
- __wbg_colorMask_8c903995f6f873be: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2117
- 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);
2118
2204
  }, arguments); },
2119
- __wbg_compileShader_073a75409aaf96d2: function() { return logError(function (arg0, arg1) {
2120
- getObject(arg0).compileShader(getObject(arg1));
2205
+ __wbg_compileShader_11eb6754e9b15970: function() { return logError(function (arg0, arg1) {
2206
+ arg0.compileShader(arg1);
2121
2207
  }, arguments); },
2122
- __wbg_compileShader_c2b53ff3a8851f60: function() { return logError(function (arg0, arg1) {
2123
- getObject(arg0).compileShader(getObject(arg1));
2208
+ __wbg_compileShader_54c3771819e6caba: function() { return logError(function (arg0, arg1) {
2209
+ arg0.compileShader(arg1);
2124
2210
  }, arguments); },
2125
- __wbg_contentBoxSize_1c91213ed1ddb06d: function() { return logError(function (arg0) {
2126
- const ret = getObject(arg0).contentBoxSize;
2127
- return addHeapObject(ret);
2211
+ __wbg_contentBoxSize_d394eb8fa40e0155: function() { return logError(function (arg0) {
2212
+ const ret = arg0.contentBoxSize;
2213
+ return ret;
2128
2214
  }, arguments); },
2129
- __wbg_contentRect_65cd41b1e711b4e1: function() { return logError(function (arg0) {
2130
- const ret = getObject(arg0).contentRect;
2131
- return addHeapObject(ret);
2215
+ __wbg_contentRect_efd2ab04babd2afb: function() { return logError(function (arg0) {
2216
+ const ret = arg0.contentRect;
2217
+ return ret;
2132
2218
  }, arguments); },
2133
- __wbg_createBuffer_d1dd23bf8704564c: function() { return logError(function (arg0) {
2134
- const ret = getObject(arg0).createBuffer();
2135
- 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);
2136
2222
  }, arguments); },
2137
- __wbg_createBuffer_ffe613371d42cfd3: function() { return logError(function (arg0) {
2138
- const ret = getObject(arg0).createBuffer();
2139
- 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);
2140
2226
  }, arguments); },
2141
- __wbg_createElement_74049073a11f9c31: function() { return handleError(function (arg0, arg1, arg2) {
2142
- const ret = getObject(arg0).createElement(getStringFromWasm0(arg1, arg2));
2143
- 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;
2144
2230
  }, arguments); },
2145
- __wbg_createProgram_cbf448e6f18a9402: function() { return logError(function (arg0) {
2146
- const ret = getObject(arg0).createProgram();
2147
- 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);
2148
2234
  }, arguments); },
2149
- __wbg_createProgram_e0c81b0d2b8d0fd0: function() { return logError(function (arg0) {
2150
- const ret = getObject(arg0).createProgram();
2151
- 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);
2152
2238
  }, arguments); },
2153
- __wbg_createShader_6c1a2295587878a5: function() { return logError(function (arg0, arg1) {
2154
- const ret = getObject(arg0).createShader(arg1 >>> 0);
2155
- 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);
2156
2242
  }, arguments); },
2157
- __wbg_createShader_7c9d99a21ecb08c0: function() { return logError(function (arg0, arg1) {
2158
- const ret = getObject(arg0).createShader(arg1 >>> 0);
2159
- 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);
2160
2246
  }, arguments); },
2161
- __wbg_createTexture_01e8e591b64237de: function() { return logError(function (arg0) {
2162
- const ret = getObject(arg0).createTexture();
2163
- 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);
2164
2250
  }, arguments); },
2165
- __wbg_createTexture_5f2583508ebe379b: function() { return logError(function (arg0) {
2166
- const ret = getObject(arg0).createTexture();
2167
- 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);
2168
2254
  }, arguments); },
2169
- __wbg_createVertexArrayOES_a8dc8498b56df937: function() { return logError(function (arg0) {
2170
- const ret = getObject(arg0).createVertexArrayOES();
2171
- 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);
2172
2258
  }, arguments); },
2173
- __wbg_createVertexArray_b223ea69dd08fcab: function() { return logError(function (arg0) {
2174
- const ret = getObject(arg0).createVertexArray();
2175
- 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);
2176
2262
  }, arguments); },
2177
- __wbg_ctrlKey_282349f48e6cb157: function() { return logError(function (arg0) {
2178
- const ret = getObject(arg0).ctrlKey;
2263
+ __wbg_ctrlKey_97b77227d0599549: function() { return logError(function (arg0) {
2264
+ const ret = arg0.ctrlKey;
2179
2265
  _assertBoolean(ret);
2180
2266
  return ret;
2181
2267
  }, arguments); },
2182
- __wbg_ctrlKey_8b5101745e8782fa: function() { return logError(function (arg0) {
2183
- const ret = getObject(arg0).ctrlKey;
2268
+ __wbg_ctrlKey_b7978e4cf78dc62b: function() { return logError(function (arg0) {
2269
+ const ret = arg0.ctrlKey;
2184
2270
  _assertBoolean(ret);
2185
2271
  return ret;
2186
2272
  }, arguments); },
2187
- __wbg_cullFace_12123c1c97f1ba2c: function() { return logError(function (arg0, arg1) {
2188
- getObject(arg0).cullFace(arg1 >>> 0);
2273
+ __wbg_cullFace_208151a46885a1fa: function() { return logError(function (arg0, arg1) {
2274
+ arg0.cullFace(arg1 >>> 0);
2189
2275
  }, arguments); },
2190
- __wbg_cullFace_1a01f0b6d5aeb687: function() { return logError(function (arg0, arg1) {
2191
- getObject(arg0).cullFace(arg1 >>> 0);
2276
+ __wbg_cullFace_9eaca57652d7ed37: function() { return logError(function (arg0, arg1) {
2277
+ arg0.cullFace(arg1 >>> 0);
2192
2278
  }, arguments); },
2193
- __wbg_dataTransfer_afa27477f2f9e0e6: function() { return logError(function (arg0) {
2194
- const ret = getObject(arg0).dataTransfer;
2195
- 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);
2196
2282
  }, arguments); },
2197
- __wbg_data_64004cd467093bab: function() { return logError(function (arg0, arg1) {
2198
- const ret = getObject(arg1).data;
2283
+ __wbg_data_6419bc2d9a3951a4: function() { return logError(function (arg0, arg1) {
2284
+ const ret = arg1.data;
2199
2285
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2200
2286
  var len1 = WASM_VECTOR_LEN;
2201
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2202
- 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);
2203
2289
  }, arguments); },
2204
- __wbg_data_7fb5381a4f605ae4: function() { return logError(function (arg0, arg1) {
2205
- const ret = getObject(arg1).data;
2290
+ __wbg_data_fb9a3ebd8ff4b3fd: function() { return logError(function (arg0, arg1) {
2291
+ const ret = arg1.data;
2206
2292
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2207
2293
  var len1 = WASM_VECTOR_LEN;
2208
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2209
- 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);
2210
2296
  }, arguments); },
2211
2297
  __wbg_debug_2171f116875ea377: function() { return logError(function (arg0, arg1) {
2212
2298
  console.debug(getStringFromWasm0(arg0, arg1));
2213
2299
  }, arguments); },
2214
- __wbg_deleteBuffer_070e58aaaf2a7a8b: function() { return logError(function (arg0, arg1) {
2215
- getObject(arg0).deleteBuffer(getObject(arg1));
2300
+ __wbg_deleteBuffer_673584ba5a55669d: function() { return logError(function (arg0, arg1) {
2301
+ arg0.deleteBuffer(arg1);
2216
2302
  }, arguments); },
2217
- __wbg_deleteBuffer_7775ee9e248c8468: function() { return logError(function (arg0, arg1) {
2218
- getObject(arg0).deleteBuffer(getObject(arg1));
2303
+ __wbg_deleteBuffer_ffa760fd3b0b5ef1: function() { return logError(function (arg0, arg1) {
2304
+ arg0.deleteBuffer(arg1);
2219
2305
  }, arguments); },
2220
- __wbg_deleteProgram_822906f0368175d0: function() { return logError(function (arg0, arg1) {
2221
- getObject(arg0).deleteProgram(getObject(arg1));
2306
+ __wbg_deleteProgram_8c38fff0f4a88dea: function() { return logError(function (arg0, arg1) {
2307
+ arg0.deleteProgram(arg1);
2222
2308
  }, arguments); },
2223
- __wbg_deleteProgram_b524b30ad176cdb4: function() { return logError(function (arg0, arg1) {
2224
- getObject(arg0).deleteProgram(getObject(arg1));
2309
+ __wbg_deleteProgram_c07d952a1b0c1cb6: function() { return logError(function (arg0, arg1) {
2310
+ arg0.deleteProgram(arg1);
2225
2311
  }, arguments); },
2226
- __wbg_deleteShader_a70f6cc1918d67eb: function() { return logError(function (arg0, arg1) {
2227
- getObject(arg0).deleteShader(getObject(arg1));
2312
+ __wbg_deleteShader_320530dd636bc187: function() { return logError(function (arg0, arg1) {
2313
+ arg0.deleteShader(arg1);
2228
2314
  }, arguments); },
2229
- __wbg_deleteShader_da18a294158c2d15: function() { return logError(function (arg0, arg1) {
2230
- getObject(arg0).deleteShader(getObject(arg1));
2315
+ __wbg_deleteShader_ac74568b64a1c3c7: function() { return logError(function (arg0, arg1) {
2316
+ arg0.deleteShader(arg1);
2231
2317
  }, arguments); },
2232
- __wbg_deleteTexture_78c170241204a466: function() { return logError(function (arg0, arg1) {
2233
- getObject(arg0).deleteTexture(getObject(arg1));
2318
+ __wbg_deleteTexture_1653a9994a44215e: function() { return logError(function (arg0, arg1) {
2319
+ arg0.deleteTexture(arg1);
2234
2320
  }, arguments); },
2235
- __wbg_deleteTexture_9f42750adb092e4f: function() { return logError(function (arg0, arg1) {
2236
- getObject(arg0).deleteTexture(getObject(arg1));
2321
+ __wbg_deleteTexture_89bd1d49ae4fb309: function() { return logError(function (arg0, arg1) {
2322
+ arg0.deleteTexture(arg1);
2237
2323
  }, arguments); },
2238
- __wbg_deltaMode_6280d8266d5520f5: function() { return logError(function (arg0) {
2239
- const ret = getObject(arg0).deltaMode;
2324
+ __wbg_deltaMode_d2ba7673c0228446: function() { return logError(function (arg0) {
2325
+ const ret = arg0.deltaMode;
2240
2326
  _assertNum(ret);
2241
2327
  return ret;
2242
2328
  }, arguments); },
2243
- __wbg_deltaX_d330516e89f03877: function() { return logError(function (arg0) {
2244
- const ret = getObject(arg0).deltaX;
2329
+ __wbg_deltaX_6ad2483f3f4c0349: function() { return logError(function (arg0) {
2330
+ const ret = arg0.deltaX;
2245
2331
  return ret;
2246
2332
  }, arguments); },
2247
- __wbg_deltaY_7abc8fc9878d0002: function() { return logError(function (arg0) {
2248
- const ret = getObject(arg0).deltaY;
2333
+ __wbg_deltaY_37dc0a54748a91f4: function() { return logError(function (arg0) {
2334
+ const ret = arg0.deltaY;
2249
2335
  return ret;
2250
2336
  }, arguments); },
2251
- __wbg_depthFunc_92e96d8f46a23300: function() { return logError(function (arg0, arg1) {
2252
- getObject(arg0).depthFunc(arg1 >>> 0);
2337
+ __wbg_depthFunc_04abd9f6ff980ba9: function() { return logError(function (arg0, arg1) {
2338
+ arg0.depthFunc(arg1 >>> 0);
2253
2339
  }, arguments); },
2254
- __wbg_depthFunc_a41fb5adacb22e09: function() { return logError(function (arg0, arg1) {
2255
- getObject(arg0).depthFunc(arg1 >>> 0);
2340
+ __wbg_depthFunc_584bfa0174e7628a: function() { return logError(function (arg0, arg1) {
2341
+ arg0.depthFunc(arg1 >>> 0);
2256
2342
  }, arguments); },
2257
- __wbg_depthMask_06ecff4d4514c38f: function() { return logError(function (arg0, arg1) {
2258
- getObject(arg0).depthMask(arg1 !== 0);
2343
+ __wbg_depthMask_276856a569045897: function() { return logError(function (arg0, arg1) {
2344
+ arg0.depthMask(arg1 !== 0);
2259
2345
  }, arguments); },
2260
- __wbg_depthMask_0d7c3dec3b8405ee: function() { return logError(function (arg0, arg1) {
2261
- getObject(arg0).depthMask(arg1 !== 0);
2346
+ __wbg_depthMask_2ba7e83178c3cec3: function() { return logError(function (arg0, arg1) {
2347
+ arg0.depthMask(arg1 !== 0);
2262
2348
  }, arguments); },
2263
- __wbg_detachShader_1ed15fc2d289cf15: function() { return logError(function (arg0, arg1, arg2) {
2264
- getObject(arg0).detachShader(getObject(arg1), getObject(arg2));
2349
+ __wbg_detachShader_c85365fd7844e9b3: function() { return logError(function (arg0, arg1, arg2) {
2350
+ arg0.detachShader(arg1, arg2);
2265
2351
  }, arguments); },
2266
- __wbg_detachShader_67dabaaad80a795e: function() { return logError(function (arg0, arg1, arg2) {
2267
- getObject(arg0).detachShader(getObject(arg1), getObject(arg2));
2352
+ __wbg_detachShader_f1bbf36cb414e038: function() { return logError(function (arg0, arg1, arg2) {
2353
+ arg0.detachShader(arg1, arg2);
2268
2354
  }, arguments); },
2269
- __wbg_devicePixelContentBoxSize_83d4c55aa7829e7a: function() { return logError(function (arg0) {
2270
- const ret = getObject(arg0).devicePixelContentBoxSize;
2271
- return addHeapObject(ret);
2355
+ __wbg_devicePixelContentBoxSize_762c920a20c8b97f: function() { return logError(function (arg0) {
2356
+ const ret = arg0.devicePixelContentBoxSize;
2357
+ return ret;
2272
2358
  }, arguments); },
2273
- __wbg_devicePixelRatio_7d39e9af5448d3d4: function() { return logError(function (arg0) {
2274
- const ret = getObject(arg0).devicePixelRatio;
2359
+ __wbg_devicePixelRatio_90ee4024cee5d5f4: function() { return logError(function (arg0) {
2360
+ const ret = arg0.devicePixelRatio;
2275
2361
  return ret;
2276
2362
  }, arguments); },
2277
- __wbg_disableVertexAttribArray_11c9f11bee30c9d8: function() { return logError(function (arg0, arg1) {
2278
- getObject(arg0).disableVertexAttribArray(arg1 >>> 0);
2363
+ __wbg_disableVertexAttribArray_011898581287ef1e: function() { return logError(function (arg0, arg1) {
2364
+ arg0.disableVertexAttribArray(arg1 >>> 0);
2279
2365
  }, arguments); },
2280
- __wbg_disableVertexAttribArray_c4c8af1f9e4120d4: function() { return logError(function (arg0, arg1) {
2281
- getObject(arg0).disableVertexAttribArray(arg1 >>> 0);
2366
+ __wbg_disableVertexAttribArray_5c66375eba552ee7: function() { return logError(function (arg0, arg1) {
2367
+ arg0.disableVertexAttribArray(arg1 >>> 0);
2282
2368
  }, arguments); },
2283
- __wbg_disable_19fe787eccdf0272: function() { return logError(function (arg0, arg1) {
2284
- getObject(arg0).disable(arg1 >>> 0);
2369
+ __wbg_disable_2ead6c11cefd0322: function() { return logError(function (arg0, arg1) {
2370
+ arg0.disable(arg1 >>> 0);
2285
2371
  }, arguments); },
2286
- __wbg_disable_81b2cb5f8cea15ae: function() { return logError(function (arg0, arg1) {
2287
- getObject(arg0).disable(arg1 >>> 0);
2372
+ __wbg_disable_8a9e81e6d64d046b: function() { return logError(function (arg0, arg1) {
2373
+ arg0.disable(arg1 >>> 0);
2288
2374
  }, arguments); },
2289
- __wbg_disconnect_1eac4c705724307d: function() { return logError(function (arg0) {
2290
- getObject(arg0).disconnect();
2375
+ __wbg_disconnect_cfb0d06aca1c1b50: function() { return logError(function (arg0) {
2376
+ arg0.disconnect();
2291
2377
  }, arguments); },
2292
- __wbg_document_9854e03c05fc8834: function() { return logError(function (arg0) {
2293
- const ret = getObject(arg0).document;
2294
- 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);
2295
2381
  }, arguments); },
2296
- __wbg_done_b41a1d26cdb37fb6: function() { return logError(function (arg0) {
2297
- const ret = getObject(arg0).done;
2382
+ __wbg_done_57e08d0be6e30c02: function() { return logError(function (arg0) {
2383
+ const ret = arg0.done;
2298
2384
  _assertBoolean(ret);
2299
2385
  return ret;
2300
2386
  }, arguments); },
2301
- __wbg_drawArraysInstancedANGLE_b76512b5abba6668: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2302
- 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);
2303
2389
  }, arguments); },
2304
- __wbg_drawArraysInstanced_9b44aa78a087154d: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2305
- 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);
2306
2392
  }, arguments); },
2307
- __wbg_drawArrays_08872e02fb57b847: function() { return logError(function (arg0, arg1, arg2, arg3) {
2308
- 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);
2309
2395
  }, arguments); },
2310
- __wbg_drawArrays_741af5c3f8db636f: function() { return logError(function (arg0, arg1, arg2, arg3) {
2311
- 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);
2312
2398
  }, arguments); },
2313
- __wbg_drawElementsInstancedANGLE_c3fc0cfa9e29a1bc: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
2314
- 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);
2315
2401
  }, arguments); },
2316
- __wbg_drawElementsInstanced_d7c396aa034159b6: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5) {
2317
- 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);
2318
2404
  }, arguments); },
2319
- __wbg_drawElements_c8988ba71de1101a: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2320
- 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);
2321
2407
  }, arguments); },
2322
- __wbg_drawElements_cc1e6c631e89eddf: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
2323
- 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);
2324
2410
  }, arguments); },
2325
- __wbg_elementFromPoint_8f6f88cd3ac4b9e8: function() { return logError(function (arg0, arg1, arg2) {
2326
- const ret = getObject(arg0).elementFromPoint(arg1, arg2);
2327
- 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);
2328
2414
  }, arguments); },
2329
- __wbg_elementFromPoint_fb48b4624ec3dd6a: function() { return logError(function (arg0, arg1, arg2) {
2330
- const ret = getObject(arg0).elementFromPoint(arg1, arg2);
2331
- 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);
2332
2418
  }, arguments); },
2333
- __wbg_enableVertexAttribArray_1496b78a8dbab9fd: function() { return logError(function (arg0, arg1) {
2334
- getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
2419
+ __wbg_enableVertexAttribArray_d485706ade6bebf8: function() { return logError(function (arg0, arg1) {
2420
+ arg0.enableVertexAttribArray(arg1 >>> 0);
2335
2421
  }, arguments); },
2336
- __wbg_enableVertexAttribArray_d52693866bc8b8dd: function() { return logError(function (arg0, arg1) {
2337
- getObject(arg0).enableVertexAttribArray(arg1 >>> 0);
2422
+ __wbg_enableVertexAttribArray_eeecc6185af24227: function() { return logError(function (arg0, arg1) {
2423
+ arg0.enableVertexAttribArray(arg1 >>> 0);
2338
2424
  }, arguments); },
2339
- __wbg_enable_6eeb9c0e9b483cee: function() { return logError(function (arg0, arg1) {
2340
- getObject(arg0).enable(arg1 >>> 0);
2425
+ __wbg_enable_c3c00565c89d3175: function() { return logError(function (arg0, arg1) {
2426
+ arg0.enable(arg1 >>> 0);
2341
2427
  }, arguments); },
2342
- __wbg_enable_cb4fc19b51148c37: function() { return logError(function (arg0, arg1) {
2343
- getObject(arg0).enable(arg1 >>> 0);
2428
+ __wbg_enable_e955d456ef6b93f7: function() { return logError(function (arg0, arg1) {
2429
+ arg0.enable(arg1 >>> 0);
2344
2430
  }, arguments); },
2345
2431
  __wbg_error_26c06b769da3d042: function() { return logError(function (arg0, arg1) {
2346
2432
  let deferred0_0;
@@ -2350,265 +2436,265 @@ function __wbg_get_imports() {
2350
2436
  deferred0_1 = arg1;
2351
2437
  console.error(getStringFromWasm0(arg0, arg1));
2352
2438
  } finally {
2353
- wasm.__wbindgen_export4(deferred0_0, deferred0_1, 1);
2439
+ wasm.__wbindgen_export3(deferred0_0, deferred0_1, 1);
2354
2440
  }
2355
2441
  }, arguments); },
2356
- __wbg_error_c9cf3fc2064683a9: function() { return logError(function (arg0) {
2357
- console.error(getObject(arg0));
2442
+ __wbg_error_d1fc0193610e0e39: function() { return logError(function (arg0) {
2443
+ console.error(arg0);
2358
2444
  }, arguments); },
2359
- __wbg_files_fe03006f0ba1a5f0: function() { return logError(function (arg0) {
2360
- const ret = getObject(arg0).files;
2361
- 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);
2362
2448
  }, arguments); },
2363
- __wbg_focus_f740d61348f422e7: function() { return handleError(function (arg0) {
2364
- getObject(arg0).focus();
2449
+ __wbg_focus_d5e2fdbdb56416f0: function() { return handleError(function (arg0) {
2450
+ arg0.focus();
2365
2451
  }, arguments); },
2366
- __wbg_force_7632bf44933b4388: function() { return logError(function (arg0) {
2367
- const ret = getObject(arg0).force;
2452
+ __wbg_force_f08aaeb22f5ab738: function() { return logError(function (arg0) {
2453
+ const ret = arg0.force;
2368
2454
  return ret;
2369
2455
  }, arguments); },
2370
- __wbg_frontFace_6751b4b97f997aeb: function() { return logError(function (arg0, arg1) {
2371
- getObject(arg0).frontFace(arg1 >>> 0);
2456
+ __wbg_frontFace_124bb11a73cc0dd1: function() { return logError(function (arg0, arg1) {
2457
+ arg0.frontFace(arg1 >>> 0);
2372
2458
  }, arguments); },
2373
- __wbg_frontFace_b064adb15b6f3772: function() { return logError(function (arg0, arg1) {
2374
- getObject(arg0).frontFace(arg1 >>> 0);
2459
+ __wbg_frontFace_8bbd77ca3b8f90a6: function() { return logError(function (arg0, arg1) {
2460
+ arg0.frontFace(arg1 >>> 0);
2375
2461
  }, arguments); },
2376
- __wbg_generateMipmap_c63604006bfa52d5: function() { return logError(function (arg0, arg1) {
2377
- getObject(arg0).generateMipmap(arg1 >>> 0);
2462
+ __wbg_generateMipmap_41bc066b35a6cd3d: function() { return logError(function (arg0, arg1) {
2463
+ arg0.generateMipmap(arg1 >>> 0);
2378
2464
  }, arguments); },
2379
- __wbg_generateMipmap_cd49f6eec9558721: function() { return logError(function (arg0, arg1) {
2380
- getObject(arg0).generateMipmap(arg1 >>> 0);
2465
+ __wbg_generateMipmap_e1a3b00736bb27bf: function() { return logError(function (arg0, arg1) {
2466
+ arg0.generateMipmap(arg1 >>> 0);
2381
2467
  }, arguments); },
2382
- __wbg_getAttribLocation_5071f5fc51f90b1a: function() { return logError(function (arg0, arg1, arg2, arg3) {
2383
- 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));
2384
2470
  _assertNum(ret);
2385
2471
  return ret;
2386
2472
  }, arguments); },
2387
- __wbg_getAttribLocation_ee9dfb2293fb9f7f: function() { return logError(function (arg0, arg1, arg2, arg3) {
2388
- 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));
2389
2475
  _assertNum(ret);
2390
2476
  return ret;
2391
2477
  }, arguments); },
2392
- __wbg_getBoundingClientRect_57152b1a20f3de34: function() { return logError(function (arg0) {
2393
- const ret = getObject(arg0).getBoundingClientRect();
2394
- return addHeapObject(ret);
2478
+ __wbg_getBoundingClientRect_329ca748ec918b0c: function() { return logError(function (arg0) {
2479
+ const ret = arg0.getBoundingClientRect();
2480
+ return ret;
2395
2481
  }, arguments); },
2396
- __wbg_getComputedStyle_dd0f456804795fd6: function() { return handleError(function (arg0, arg1) {
2397
- const ret = getObject(arg0).getComputedStyle(getObject(arg1));
2398
- 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);
2399
2485
  }, arguments); },
2400
- __wbg_getContext_635e36719cad2623: function() { return handleError(function (arg0, arg1, arg2) {
2401
- const ret = getObject(arg0).getContext(getStringFromWasm0(arg1, arg2));
2402
- 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);
2403
2489
  }, arguments); },
2404
- __wbg_getData_bc58070c107b7d8a: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2405
- 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));
2406
2492
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2407
2493
  const len1 = WASM_VECTOR_LEN;
2408
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2409
- 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);
2410
2496
  }, arguments); },
2411
- __wbg_getElementById_cc94972b404e4eaa: function() { return logError(function (arg0, arg1, arg2) {
2412
- const ret = getObject(arg0).getElementById(getStringFromWasm0(arg1, arg2));
2413
- 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);
2414
2500
  }, arguments); },
2415
- __wbg_getError_d626fee76ccfa3d2: function() { return logError(function (arg0) {
2416
- const ret = getObject(arg0).getError();
2501
+ __wbg_getError_8687e93ec4a1d62e: function() { return logError(function (arg0) {
2502
+ const ret = arg0.getError();
2417
2503
  _assertNum(ret);
2418
2504
  return ret;
2419
2505
  }, arguments); },
2420
- __wbg_getError_dd9903fdd93a6802: function() { return logError(function (arg0) {
2421
- const ret = getObject(arg0).getError();
2506
+ __wbg_getError_bb38cafe57b0913f: function() { return logError(function (arg0) {
2507
+ const ret = arg0.getError();
2422
2508
  _assertNum(ret);
2423
2509
  return ret;
2424
2510
  }, arguments); },
2425
- __wbg_getExtension_1d23846cc4d1b9ed: function() { return handleError(function (arg0, arg1, arg2) {
2426
- const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));
2427
- 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);
2428
2514
  }, arguments); },
2429
- __wbg_getExtension_abfda2c5db286b07: function() { return handleError(function (arg0, arg1, arg2) {
2430
- const ret = getObject(arg0).getExtension(getStringFromWasm0(arg1, arg2));
2431
- 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);
2432
2518
  }, arguments); },
2433
- __wbg_getItem_4c80b7663197c7ff: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2434
- 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));
2435
2521
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2436
2522
  var len1 = WASM_VECTOR_LEN;
2437
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2438
- 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);
2439
2525
  }, arguments); },
2440
- __wbg_getParameter_974595a6624c6c10: function() { return handleError(function (arg0, arg1) {
2441
- const ret = getObject(arg0).getParameter(arg1 >>> 0);
2442
- return addHeapObject(ret);
2526
+ __wbg_getParameter_4c67158a3cef7a34: function() { return handleError(function (arg0, arg1) {
2527
+ const ret = arg0.getParameter(arg1 >>> 0);
2528
+ return ret;
2443
2529
  }, arguments); },
2444
- __wbg_getParameter_a97f491753b05668: function() { return handleError(function (arg0, arg1) {
2445
- const ret = getObject(arg0).getParameter(arg1 >>> 0);
2446
- return addHeapObject(ret);
2530
+ __wbg_getParameter_7fbe79a0114e119f: function() { return handleError(function (arg0, arg1) {
2531
+ const ret = arg0.getParameter(arg1 >>> 0);
2532
+ return ret;
2447
2533
  }, arguments); },
2448
- __wbg_getProgramInfoLog_208fb1ff31006495: function() { return logError(function (arg0, arg1, arg2) {
2449
- const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
2534
+ __wbg_getProgramInfoLog_01799fd7b07b7f3c: function() { return logError(function (arg0, arg1, arg2) {
2535
+ const ret = arg1.getProgramInfoLog(arg2);
2450
2536
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2451
2537
  var len1 = WASM_VECTOR_LEN;
2452
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2453
- 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);
2454
2540
  }, arguments); },
2455
- __wbg_getProgramInfoLog_3276b294d6d42fe2: function() { return logError(function (arg0, arg1, arg2) {
2456
- const ret = getObject(arg1).getProgramInfoLog(getObject(arg2));
2541
+ __wbg_getProgramInfoLog_92d61551e1ab39ea: function() { return logError(function (arg0, arg1, arg2) {
2542
+ const ret = arg1.getProgramInfoLog(arg2);
2457
2543
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2458
2544
  var len1 = WASM_VECTOR_LEN;
2459
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2460
- 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);
2461
2547
  }, arguments); },
2462
- __wbg_getProgramParameter_50bafab01cf88652: function() { return logError(function (arg0, arg1, arg2) {
2463
- const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
2464
- 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;
2465
2551
  }, arguments); },
2466
- __wbg_getProgramParameter_fc7124bb9fb7c675: function() { return logError(function (arg0, arg1, arg2) {
2467
- const ret = getObject(arg0).getProgramParameter(getObject(arg1), arg2 >>> 0);
2468
- 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;
2469
2555
  }, arguments); },
2470
- __wbg_getPropertyValue_e90a3628c2de4fb6: function() { return handleError(function (arg0, arg1, arg2, arg3) {
2471
- 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));
2472
2558
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2473
2559
  const len1 = WASM_VECTOR_LEN;
2474
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2475
- 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);
2476
2562
  }, arguments); },
2477
- __wbg_getRootNode_76c323f0bf80bdcd: function() { return logError(function (arg0) {
2478
- const ret = getObject(arg0).getRootNode();
2479
- return addHeapObject(ret);
2563
+ __wbg_getRootNode_6de097189559981d: function() { return logError(function (arg0) {
2564
+ const ret = arg0.getRootNode();
2565
+ return ret;
2480
2566
  }, arguments); },
2481
- __wbg_getShaderInfoLog_7e0cbba353ca95da: function() { return logError(function (arg0, arg1, arg2) {
2482
- const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
2567
+ __wbg_getShaderInfoLog_3cfe5b3e097d0f2d: function() { return logError(function (arg0, arg1, arg2) {
2568
+ const ret = arg1.getShaderInfoLog(arg2);
2483
2569
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2484
2570
  var len1 = WASM_VECTOR_LEN;
2485
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2486
- 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);
2487
2573
  }, arguments); },
2488
- __wbg_getShaderInfoLog_bb64c5a52df0b7a3: function() { return logError(function (arg0, arg1, arg2) {
2489
- const ret = getObject(arg1).getShaderInfoLog(getObject(arg2));
2574
+ __wbg_getShaderInfoLog_8758e8aea7960121: function() { return logError(function (arg0, arg1, arg2) {
2575
+ const ret = arg1.getShaderInfoLog(arg2);
2490
2576
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2491
2577
  var len1 = WASM_VECTOR_LEN;
2492
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2493
- 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);
2494
2580
  }, arguments); },
2495
- __wbg_getShaderParameter_745acf10b8e45e31: function() { return logError(function (arg0, arg1, arg2) {
2496
- const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
2497
- 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;
2498
2584
  }, arguments); },
2499
- __wbg_getShaderParameter_e55ea9c456df5484: function() { return logError(function (arg0, arg1, arg2) {
2500
- const ret = getObject(arg0).getShaderParameter(getObject(arg1), arg2 >>> 0);
2501
- 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;
2502
2588
  }, arguments); },
2503
- __wbg_getSupportedExtensions_1459bad37860c0c3: function() { return logError(function (arg0) {
2504
- const ret = getObject(arg0).getSupportedExtensions();
2505
- 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);
2506
2592
  }, arguments); },
2507
- __wbg_getSupportedExtensions_5ff7ed28c30a8baa: function() { return logError(function (arg0) {
2508
- const ret = getObject(arg0).getSupportedExtensions();
2509
- 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);
2510
2596
  }, arguments); },
2511
- __wbg_getUniformLocation_50ba45dade572703: function() { return logError(function (arg0, arg1, arg2, arg3) {
2512
- const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
2513
- 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);
2514
2600
  }, arguments); },
2515
- __wbg_getUniformLocation_cb4e3e121235f91a: function() { return logError(function (arg0, arg1, arg2, arg3) {
2516
- const ret = getObject(arg0).getUniformLocation(getObject(arg1), getStringFromWasm0(arg2, arg3));
2517
- 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);
2518
2604
  }, arguments); },
2519
- __wbg_get_31af05bd4842a84f: function() { return handleError(function (arg0, arg1) {
2520
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
2521
- return addHeapObject(ret);
2605
+ __wbg_get_2080c49015e35254: function() { return handleError(function (arg0, arg1) {
2606
+ const ret = Reflect.get(arg0, arg1);
2607
+ return ret;
2522
2608
  }, arguments); },
2523
- __wbg_get_5dde8a29f073d908: function() { return logError(function (arg0, arg1) {
2524
- const ret = getObject(arg0)[arg1 >>> 0];
2525
- 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;
2526
2612
  }, arguments); },
2527
- __wbg_get_658f6698067d9515: function() { return handleError(function (arg0, arg1) {
2528
- const ret = Reflect.get(getObject(arg0), getObject(arg1));
2529
- 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);
2530
2616
  }, arguments); },
2531
- __wbg_get_9356b22e2a46465d: function() { return logError(function (arg0, arg1) {
2532
- const ret = getObject(arg0)[arg1 >>> 0];
2533
- 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);
2534
2620
  }, arguments); },
2535
- __wbg_get_b64ce72bb2abf052: function() { return logError(function (arg0, arg1) {
2536
- const ret = getObject(arg0)[arg1 >>> 0];
2537
- 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);
2538
2624
  }, arguments); },
2539
- __wbg_get_unchecked_288889d017702237: function() { return logError(function (arg0, arg1) {
2540
- const ret = getObject(arg0)[arg1 >>> 0];
2541
- return addHeapObject(ret);
2625
+ __wbg_get_unchecked_e6325ad374eff861: function() { return logError(function (arg0, arg1) {
2626
+ const ret = arg0[arg1 >>> 0];
2627
+ return ret;
2542
2628
  }, arguments); },
2543
- __wbg_hasInstance_62b7bb420e7d02aa: function() { return logError(function () {
2629
+ __wbg_hasInstance_fd39faf1b56b7341: function() { return logError(function () {
2544
2630
  const ret = Symbol.hasInstance;
2545
- return addHeapObject(ret);
2631
+ return ret;
2546
2632
  }, arguments); },
2547
- __wbg_hash_c4083658cccb641b: function() { return handleError(function (arg0, arg1) {
2548
- const ret = getObject(arg1).hash;
2633
+ __wbg_hash_20c2dd23244d8e75: function() { return handleError(function (arg0, arg1) {
2634
+ const ret = arg1.hash;
2549
2635
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2550
2636
  const len1 = WASM_VECTOR_LEN;
2551
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2552
- 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);
2553
2639
  }, arguments); },
2554
- __wbg_height_c9feb8f4a9a61abc: function() { return logError(function (arg0) {
2555
- const ret = getObject(arg0).height;
2640
+ __wbg_height_4e985809fcad22ec: function() { return logError(function (arg0) {
2641
+ const ret = arg0.height;
2556
2642
  return ret;
2557
2643
  }, arguments); },
2558
- __wbg_height_fc97e1a0c2e7331f: function() { return logError(function (arg0) {
2559
- const ret = getObject(arg0).height;
2644
+ __wbg_height_ac6f1c3f49c13fe2: function() { return logError(function (arg0) {
2645
+ const ret = arg0.height;
2560
2646
  _assertNum(ret);
2561
2647
  return ret;
2562
2648
  }, arguments); },
2563
- __wbg_hidden_2ba371ecafe013fa: function() { return logError(function (arg0) {
2564
- const ret = getObject(arg0).hidden;
2649
+ __wbg_hidden_34dfd3711ef53b31: function() { return logError(function (arg0) {
2650
+ const ret = arg0.hidden;
2565
2651
  _assertBoolean(ret);
2566
2652
  return ret;
2567
2653
  }, arguments); },
2568
- __wbg_host_75aa3342c78db1a2: function() { return handleError(function (arg0, arg1) {
2569
- const ret = getObject(arg1).host;
2654
+ __wbg_host_0832e2670dc79e53: function() { return handleError(function (arg0, arg1) {
2655
+ const ret = arg1.host;
2570
2656
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2571
2657
  const len1 = WASM_VECTOR_LEN;
2572
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2573
- 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);
2574
2660
  }, arguments); },
2575
- __wbg_hostname_b9a71dd3c2da0eef: function() { return handleError(function (arg0, arg1) {
2576
- const ret = getObject(arg1).hostname;
2661
+ __wbg_hostname_e42e6cb425d7924e: function() { return handleError(function (arg0, arg1) {
2662
+ const ret = arg1.hostname;
2577
2663
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2578
2664
  const len1 = WASM_VECTOR_LEN;
2579
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2580
- 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);
2581
2667
  }, arguments); },
2582
- __wbg_href_abc902beb29d526e: function() { return handleError(function (arg0, arg1) {
2583
- const ret = getObject(arg1).href;
2668
+ __wbg_href_a0128fb7c568d8e5: function() { return handleError(function (arg0, arg1) {
2669
+ const ret = arg1.href;
2584
2670
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2585
2671
  const len1 = WASM_VECTOR_LEN;
2586
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2587
- 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);
2588
2674
  }, arguments); },
2589
- __wbg_id_957842593c7d0e05: function() { return logError(function (arg0, arg1) {
2590
- const ret = getObject(arg1).id;
2675
+ __wbg_id_2aec05cae0b5abeb: function() { return logError(function (arg0, arg1) {
2676
+ const ret = arg1.id;
2591
2677
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2592
2678
  const len1 = WASM_VECTOR_LEN;
2593
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2594
- 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);
2595
2681
  }, arguments); },
2596
- __wbg_identifier_24ee7ee6118f12a7: function() { return logError(function (arg0) {
2597
- const ret = getObject(arg0).identifier;
2682
+ __wbg_identifier_a3f04561174d66d3: function() { return logError(function (arg0) {
2683
+ const ret = arg0.identifier;
2598
2684
  _assertNum(ret);
2599
2685
  return ret;
2600
2686
  }, arguments); },
2601
2687
  __wbg_info_0908a023ebb06a24: function() { return logError(function (arg0, arg1) {
2602
2688
  console.info(getStringFromWasm0(arg0, arg1));
2603
2689
  }, arguments); },
2604
- __wbg_inlineSize_edbf0c52598aa763: function() { return logError(function (arg0) {
2605
- const ret = getObject(arg0).inlineSize;
2690
+ __wbg_inlineSize_0be24bd91656e021: function() { return logError(function (arg0) {
2691
+ const ret = arg0.inlineSize;
2606
2692
  return ret;
2607
2693
  }, arguments); },
2608
- __wbg_instanceof_ArrayBuffer_a99f175873e5d9b8: function() { return logError(function (arg0) {
2694
+ __wbg_instanceof_ArrayBuffer_12cdaa4161423e6b: function() { return logError(function (arg0) {
2609
2695
  let result;
2610
2696
  try {
2611
- result = getObject(arg0) instanceof ArrayBuffer;
2697
+ result = arg0 instanceof ArrayBuffer;
2612
2698
  } catch (_) {
2613
2699
  result = false;
2614
2700
  }
@@ -2616,10 +2702,10 @@ function __wbg_get_imports() {
2616
2702
  _assertBoolean(ret);
2617
2703
  return ret;
2618
2704
  }, arguments); },
2619
- __wbg_instanceof_Document_b2a06e9deaeb61d1: function() { return logError(function (arg0) {
2705
+ __wbg_instanceof_Document_b3d3a5e7905b4a2f: function() { return logError(function (arg0) {
2620
2706
  let result;
2621
2707
  try {
2622
- result = getObject(arg0) instanceof Document;
2708
+ result = arg0 instanceof Document;
2623
2709
  } catch (_) {
2624
2710
  result = false;
2625
2711
  }
@@ -2627,10 +2713,10 @@ function __wbg_get_imports() {
2627
2713
  _assertBoolean(ret);
2628
2714
  return ret;
2629
2715
  }, arguments); },
2630
- __wbg_instanceof_Element_818e11074cdb63b5: function() { return logError(function (arg0) {
2716
+ __wbg_instanceof_Element_05dbb22ded594343: function() { return logError(function (arg0) {
2631
2717
  let result;
2632
2718
  try {
2633
- result = getObject(arg0) instanceof Element;
2719
+ result = arg0 instanceof Element;
2634
2720
  } catch (_) {
2635
2721
  result = false;
2636
2722
  }
@@ -2638,10 +2724,10 @@ function __wbg_get_imports() {
2638
2724
  _assertBoolean(ret);
2639
2725
  return ret;
2640
2726
  }, arguments); },
2641
- __wbg_instanceof_Float32Array_595afb0f28b828c9: function() { return logError(function (arg0) {
2727
+ __wbg_instanceof_Float32Array_94718abab7dc1d7f: function() { return logError(function (arg0) {
2642
2728
  let result;
2643
2729
  try {
2644
- result = getObject(arg0) instanceof Float32Array;
2730
+ result = arg0 instanceof Float32Array;
2645
2731
  } catch (_) {
2646
2732
  result = false;
2647
2733
  }
@@ -2649,10 +2735,10 @@ function __wbg_get_imports() {
2649
2735
  _assertBoolean(ret);
2650
2736
  return ret;
2651
2737
  }, arguments); },
2652
- __wbg_instanceof_HtmlCanvasElement_0a30c11fbbf41841: function() { return logError(function (arg0) {
2738
+ __wbg_instanceof_HtmlCanvasElement_89f280683e987b9e: function() { return logError(function (arg0) {
2653
2739
  let result;
2654
2740
  try {
2655
- result = getObject(arg0) instanceof HTMLCanvasElement;
2741
+ result = arg0 instanceof HTMLCanvasElement;
2656
2742
  } catch (_) {
2657
2743
  result = false;
2658
2744
  }
@@ -2660,10 +2746,10 @@ function __wbg_get_imports() {
2660
2746
  _assertBoolean(ret);
2661
2747
  return ret;
2662
2748
  }, arguments); },
2663
- __wbg_instanceof_HtmlElement_32fb153a5a0e2349: function() { return logError(function (arg0) {
2749
+ __wbg_instanceof_HtmlElement_ea32ea7121e0a496: function() { return logError(function (arg0) {
2664
2750
  let result;
2665
2751
  try {
2666
- result = getObject(arg0) instanceof HTMLElement;
2752
+ result = arg0 instanceof HTMLElement;
2667
2753
  } catch (_) {
2668
2754
  result = false;
2669
2755
  }
@@ -2671,10 +2757,10 @@ function __wbg_get_imports() {
2671
2757
  _assertBoolean(ret);
2672
2758
  return ret;
2673
2759
  }, arguments); },
2674
- __wbg_instanceof_HtmlInputElement_5c33d1de59c09c49: function() { return logError(function (arg0) {
2760
+ __wbg_instanceof_HtmlInputElement_28751c98d77a5a65: function() { return logError(function (arg0) {
2675
2761
  let result;
2676
2762
  try {
2677
- result = getObject(arg0) instanceof HTMLInputElement;
2763
+ result = arg0 instanceof HTMLInputElement;
2678
2764
  } catch (_) {
2679
2765
  result = false;
2680
2766
  }
@@ -2682,10 +2768,10 @@ function __wbg_get_imports() {
2682
2768
  _assertBoolean(ret);
2683
2769
  return ret;
2684
2770
  }, arguments); },
2685
- __wbg_instanceof_ResizeObserverEntry_159abe6614a8e952: function() { return logError(function (arg0) {
2771
+ __wbg_instanceof_ResizeObserverEntry_a0c6243afc3437cc: function() { return logError(function (arg0) {
2686
2772
  let result;
2687
2773
  try {
2688
- result = getObject(arg0) instanceof ResizeObserverEntry;
2774
+ result = arg0 instanceof ResizeObserverEntry;
2689
2775
  } catch (_) {
2690
2776
  result = false;
2691
2777
  }
@@ -2693,10 +2779,10 @@ function __wbg_get_imports() {
2693
2779
  _assertBoolean(ret);
2694
2780
  return ret;
2695
2781
  }, arguments); },
2696
- __wbg_instanceof_ResizeObserverSize_f9d47e3f8cfd50db: function() { return logError(function (arg0) {
2782
+ __wbg_instanceof_ResizeObserverSize_f8702ac4737486d8: function() { return logError(function (arg0) {
2697
2783
  let result;
2698
2784
  try {
2699
- result = getObject(arg0) instanceof ResizeObserverSize;
2785
+ result = arg0 instanceof ResizeObserverSize;
2700
2786
  } catch (_) {
2701
2787
  result = false;
2702
2788
  }
@@ -2704,10 +2790,10 @@ function __wbg_get_imports() {
2704
2790
  _assertBoolean(ret);
2705
2791
  return ret;
2706
2792
  }, arguments); },
2707
- __wbg_instanceof_ShadowRoot_0ef114d846d9fd90: function() { return logError(function (arg0) {
2793
+ __wbg_instanceof_ShadowRoot_cd78159e03fed884: function() { return logError(function (arg0) {
2708
2794
  let result;
2709
2795
  try {
2710
- result = getObject(arg0) instanceof ShadowRoot;
2796
+ result = arg0 instanceof ShadowRoot;
2711
2797
  } catch (_) {
2712
2798
  result = false;
2713
2799
  }
@@ -2715,10 +2801,10 @@ function __wbg_get_imports() {
2715
2801
  _assertBoolean(ret);
2716
2802
  return ret;
2717
2803
  }, arguments); },
2718
- __wbg_instanceof_Uint8Array_828cef2aaacafc31: function() { return logError(function (arg0) {
2804
+ __wbg_instanceof_Uint8Array_d7aeb0dcb3108fea: function() { return logError(function (arg0) {
2719
2805
  let result;
2720
2806
  try {
2721
- result = getObject(arg0) instanceof Uint8Array;
2807
+ result = arg0 instanceof Uint8Array;
2722
2808
  } catch (_) {
2723
2809
  result = false;
2724
2810
  }
@@ -2726,10 +2812,10 @@ function __wbg_get_imports() {
2726
2812
  _assertBoolean(ret);
2727
2813
  return ret;
2728
2814
  }, arguments); },
2729
- __wbg_instanceof_WebGl2RenderingContext_64c994c14c0790fb: function() { return logError(function (arg0) {
2815
+ __wbg_instanceof_WebGl2RenderingContext_de6feb460369d6c6: function() { return logError(function (arg0) {
2730
2816
  let result;
2731
2817
  try {
2732
- result = getObject(arg0) instanceof WebGL2RenderingContext;
2818
+ result = arg0 instanceof WebGL2RenderingContext;
2733
2819
  } catch (_) {
2734
2820
  result = false;
2735
2821
  }
@@ -2737,10 +2823,10 @@ function __wbg_get_imports() {
2737
2823
  _assertBoolean(ret);
2738
2824
  return ret;
2739
2825
  }, arguments); },
2740
- __wbg_instanceof_WebGlRenderingContext_5e5e16df2e7a4904: function() { return logError(function (arg0) {
2826
+ __wbg_instanceof_WebGlRenderingContext_6e70e224f022d27a: function() { return logError(function (arg0) {
2741
2827
  let result;
2742
2828
  try {
2743
- result = getObject(arg0) instanceof WebGLRenderingContext;
2829
+ result = arg0 instanceof WebGLRenderingContext;
2744
2830
  } catch (_) {
2745
2831
  result = false;
2746
2832
  }
@@ -2748,10 +2834,10 @@ function __wbg_get_imports() {
2748
2834
  _assertBoolean(ret);
2749
2835
  return ret;
2750
2836
  }, arguments); },
2751
- __wbg_instanceof_Window_82d71df4eddf88bc: function() { return logError(function (arg0) {
2837
+ __wbg_instanceof_Window_5cf453f5639aa1a2: function() { return logError(function (arg0) {
2752
2838
  let result;
2753
2839
  try {
2754
- result = getObject(arg0) instanceof Window;
2840
+ result = arg0 instanceof Window;
2755
2841
  } catch (_) {
2756
2842
  result = false;
2757
2843
  }
@@ -2759,712 +2845,713 @@ function __wbg_get_imports() {
2759
2845
  _assertBoolean(ret);
2760
2846
  return ret;
2761
2847
  }, arguments); },
2762
- __wbg_isArray_e15a2ff68ffdbef2: function() { return logError(function (arg0) {
2763
- const ret = Array.isArray(getObject(arg0));
2848
+ __wbg_isArray_bcf1376d0d732d08: function() { return logError(function (arg0) {
2849
+ const ret = Array.isArray(arg0);
2764
2850
  _assertBoolean(ret);
2765
2851
  return ret;
2766
2852
  }, arguments); },
2767
- __wbg_isComposing_600c9236938f8e5a: function() { return logError(function (arg0) {
2768
- const ret = getObject(arg0).isComposing;
2853
+ __wbg_isComposing_4b9450ae90c4e806: function() { return logError(function (arg0) {
2854
+ const ret = arg0.isComposing;
2769
2855
  _assertBoolean(ret);
2770
2856
  return ret;
2771
2857
  }, arguments); },
2772
- __wbg_isComposing_d03a4fd2d6155b14: function() { return logError(function (arg0) {
2773
- const ret = getObject(arg0).isComposing;
2858
+ __wbg_isComposing_b1e74068b6ff27e2: function() { return logError(function (arg0) {
2859
+ const ret = arg0.isComposing;
2774
2860
  _assertBoolean(ret);
2775
2861
  return ret;
2776
2862
  }, arguments); },
2777
- __wbg_isSafeInteger_717808ad6a54bd9e: function() { return logError(function (arg0) {
2778
- const ret = Number.isSafeInteger(getObject(arg0));
2863
+ __wbg_isSafeInteger_1a35ba4d31e71d38: function() { return logError(function (arg0) {
2864
+ const ret = Number.isSafeInteger(arg0);
2779
2865
  _assertBoolean(ret);
2780
2866
  return ret;
2781
2867
  }, arguments); },
2782
- __wbg_isSecureContext_e61363f740acf8de: function() { return logError(function (arg0) {
2783
- const ret = getObject(arg0).isSecureContext;
2868
+ __wbg_isSecureContext_6b3c96e6b1051931: function() { return logError(function (arg0) {
2869
+ const ret = arg0.isSecureContext;
2784
2870
  _assertBoolean(ret);
2785
2871
  return ret;
2786
2872
  }, arguments); },
2787
- __wbg_is_4b278c0bd3caba97: function() { return logError(function (arg0, arg1) {
2788
- 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);
2789
2875
  _assertBoolean(ret);
2790
2876
  return ret;
2791
2877
  }, arguments); },
2792
- __wbg_item_0c8f652c0830e437: function() { return logError(function (arg0, arg1) {
2793
- const ret = getObject(arg0).item(arg1 >>> 0);
2794
- 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);
2795
2881
  }, arguments); },
2796
- __wbg_items_25f8ccc11891dbeb: function() { return logError(function (arg0) {
2797
- const ret = getObject(arg0).items;
2798
- return addHeapObject(ret);
2882
+ __wbg_items_37c99e94f307e5a6: function() { return logError(function (arg0) {
2883
+ const ret = arg0.items;
2884
+ return ret;
2799
2885
  }, arguments); },
2800
- __wbg_iterator_e3c31c892080e444: function() { return logError(function () {
2886
+ __wbg_iterator_e4c5e8f68ada7b58: function() { return logError(function () {
2801
2887
  const ret = Symbol.iterator;
2802
- return addHeapObject(ret);
2888
+ return ret;
2803
2889
  }, arguments); },
2804
- __wbg_keyCode_fbee6c8fd374ff5e: function() { return logError(function (arg0) {
2805
- const ret = getObject(arg0).keyCode;
2890
+ __wbg_keyCode_8de649c9821071f4: function() { return logError(function (arg0) {
2891
+ const ret = arg0.keyCode;
2806
2892
  _assertNum(ret);
2807
2893
  return ret;
2808
2894
  }, arguments); },
2809
- __wbg_key_1193871533b99ae5: function() { return logError(function (arg0, arg1) {
2810
- const ret = getObject(arg1).key;
2895
+ __wbg_key_76125a528069feff: function() { return logError(function (arg0, arg1) {
2896
+ const ret = arg1.key;
2811
2897
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2812
2898
  const len1 = WASM_VECTOR_LEN;
2813
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2814
- 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);
2815
2901
  }, arguments); },
2816
- __wbg_lastModified_6c50da7084f8ec7e: function() { return logError(function (arg0) {
2817
- const ret = getObject(arg0).lastModified;
2902
+ __wbg_lastModified_c103c69e6c705fd3: function() { return logError(function (arg0) {
2903
+ const ret = arg0.lastModified;
2818
2904
  return ret;
2819
2905
  }, arguments); },
2820
- __wbg_left_e0a244490fe2f293: function() { return logError(function (arg0) {
2821
- const ret = getObject(arg0).left;
2906
+ __wbg_left_9df47701ff317a35: function() { return logError(function (arg0) {
2907
+ const ret = arg0.left;
2822
2908
  return ret;
2823
2909
  }, arguments); },
2824
- __wbg_length_06ca2697fe194eac: function() { return logError(function (arg0) {
2825
- const ret = getObject(arg0).length;
2910
+ __wbg_length_186163212ffe79c3: function() { return logError(function (arg0) {
2911
+ const ret = arg0.length;
2826
2912
  _assertNum(ret);
2827
2913
  return ret;
2828
2914
  }, arguments); },
2829
- __wbg_length_357ad61f15f550be: function() { return logError(function (arg0) {
2830
- const ret = getObject(arg0).length;
2915
+ __wbg_length_5031527eccbd59fd: function() { return logError(function (arg0) {
2916
+ const ret = arg0.length;
2831
2917
  _assertNum(ret);
2832
2918
  return ret;
2833
2919
  }, arguments); },
2834
- __wbg_length_7f3c00c40364105e: function() { return logError(function (arg0) {
2835
- const ret = getObject(arg0).length;
2920
+ __wbg_length_694310723930d77e: function() { return logError(function (arg0) {
2921
+ const ret = arg0.length;
2836
2922
  _assertNum(ret);
2837
2923
  return ret;
2838
2924
  }, arguments); },
2839
- __wbg_length_d4bdea10311bd9cf: function() { return logError(function (arg0) {
2840
- const ret = getObject(arg0).length;
2925
+ __wbg_length_b03a0fabb109b1e9: function() { return logError(function (arg0) {
2926
+ const ret = arg0.length;
2841
2927
  _assertNum(ret);
2842
2928
  return ret;
2843
2929
  }, arguments); },
2844
- __wbg_length_ff6b2e0dd257ad9a: function() { return logError(function (arg0) {
2845
- const ret = getObject(arg0).length;
2930
+ __wbg_length_ee846b4d1e8404a8: function() { return logError(function (arg0) {
2931
+ const ret = arg0.length;
2846
2932
  _assertNum(ret);
2847
2933
  return ret;
2848
2934
  }, arguments); },
2849
- __wbg_linkProgram_571a9ea00d38ff83: function() { return logError(function (arg0, arg1) {
2850
- getObject(arg0).linkProgram(getObject(arg1));
2935
+ __wbg_linkProgram_99848b73f1ebab5f: function() { return logError(function (arg0, arg1) {
2936
+ arg0.linkProgram(arg1);
2851
2937
  }, arguments); },
2852
- __wbg_linkProgram_acdc299c43d734a0: function() { return logError(function (arg0, arg1) {
2853
- getObject(arg0).linkProgram(getObject(arg1));
2938
+ __wbg_linkProgram_dee7cda98bacb12f: function() { return logError(function (arg0, arg1) {
2939
+ arg0.linkProgram(arg1);
2854
2940
  }, arguments); },
2855
- __wbg_localStorage_567c24950edbc178: function() { return handleError(function (arg0) {
2856
- const ret = getObject(arg0).localStorage;
2857
- 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);
2858
2944
  }, arguments); },
2859
- __wbg_location_9c46e8ada95d3174: function() { return logError(function (arg0) {
2860
- const ret = getObject(arg0).location;
2861
- return addHeapObject(ret);
2945
+ __wbg_location_7320782274fc691b: function() { return logError(function (arg0) {
2946
+ const ret = arg0.location;
2947
+ return ret;
2862
2948
  }, arguments); },
2863
- __wbg_log_17c30ef363c61cf4: function() { return logError(function (arg0) {
2864
- console.log(getObject(arg0));
2949
+ __wbg_log_ff86bbb34c295e21: function() { return logError(function (arg0) {
2950
+ console.log(arg0);
2865
2951
  }, arguments); },
2866
- __wbg_matchMedia_8a4857f947f11f82: function() { return handleError(function (arg0, arg1, arg2) {
2867
- const ret = getObject(arg0).matchMedia(getStringFromWasm0(arg1, arg2));
2868
- 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);
2869
2955
  }, arguments); },
2870
- __wbg_matches_778d0873b064b1bf: function() { return logError(function (arg0) {
2871
- const ret = getObject(arg0).matches;
2956
+ __wbg_matches_a47c420646498c64: function() { return logError(function (arg0) {
2957
+ const ret = arg0.matches;
2872
2958
  _assertBoolean(ret);
2873
2959
  return ret;
2874
2960
  }, arguments); },
2875
- __wbg_metaKey_9c3be2ab835b0148: function() { return logError(function (arg0) {
2876
- const ret = getObject(arg0).metaKey;
2961
+ __wbg_metaKey_33c588e07fd74724: function() { return logError(function (arg0) {
2962
+ const ret = arg0.metaKey;
2877
2963
  _assertBoolean(ret);
2878
2964
  return ret;
2879
2965
  }, arguments); },
2880
- __wbg_metaKey_fb78da4d237d5bbb: function() { return logError(function (arg0) {
2881
- const ret = getObject(arg0).metaKey;
2966
+ __wbg_metaKey_34b378e7ba352fd6: function() { return logError(function (arg0) {
2967
+ const ret = arg0.metaKey;
2882
2968
  _assertBoolean(ret);
2883
2969
  return ret;
2884
2970
  }, arguments); },
2885
- __wbg_name_06fefa2542c6ce51: function() { return logError(function (arg0, arg1) {
2886
- const ret = getObject(arg1).name;
2971
+ __wbg_name_f721590be23206c9: function() { return logError(function (arg0, arg1) {
2972
+ const ret = arg1.name;
2887
2973
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2888
2974
  const len1 = WASM_VECTOR_LEN;
2889
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2890
- 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);
2891
2977
  }, arguments); },
2892
- __wbg_navigator_2156486643462a87: function() { return logError(function (arg0) {
2893
- const ret = getObject(arg0).navigator;
2894
- return addHeapObject(ret);
2978
+ __wbg_navigator_c17f443a6fe5d38d: function() { return logError(function (arg0) {
2979
+ const ret = arg0.navigator;
2980
+ return ret;
2895
2981
  }, arguments); },
2896
- __wbg_new_1a8d2827bd9e1a2e: function() { return handleError(function (arg0) {
2897
- const ret = new ResizeObserver(getObject(arg0));
2898
- return addHeapObject(ret);
2982
+ __wbg_new_13de428334042d26: function() { return logError(function (arg0) {
2983
+ const ret = new Uint8Array(arg0);
2984
+ return ret;
2899
2985
  }, arguments); },
2900
- __wbg_new_1dbf7428bba60a42: function() { return logError(function (arg0) {
2901
- const ret = new Uint8Array(getObject(arg0));
2902
- return addHeapObject(ret);
2986
+ __wbg_new_37eb45aaf5eeb820: function() { return logError(function () {
2987
+ const ret = new Array();
2988
+ return ret;
2903
2989
  }, arguments); },
2904
- __wbg_new_2bdcdfcebdfc34d2: function() { return logError(function (arg0, arg1) {
2990
+ __wbg_new_4416a2fe2fac9c65: function() { return logError(function (arg0, arg1) {
2905
2991
  const ret = new TypeError(getStringFromWasm0(arg0, arg1));
2906
- return addHeapObject(ret);
2992
+ return ret;
2907
2993
  }, arguments); },
2908
- __wbg_new_343a093a3c2ffb4e: function() { return logError(function (arg0, arg1) {
2994
+ __wbg_new_787b9fb330d55d78: function() { return logError(function (arg0, arg1) {
2909
2995
  const ret = new Error(getStringFromWasm0(arg0, arg1));
2910
- return addHeapObject(ret);
2996
+ return ret;
2911
2997
  }, arguments); },
2912
- __wbg_new_5279b10692d16d29: function() { return logError(function () {
2913
- const ret = new Error();
2914
- return addHeapObject(ret);
2998
+ __wbg_new_8a1847cd91d0d7fb: function() { return logError(function (arg0, arg1) {
2999
+ const ret = new RangeError(getStringFromWasm0(arg0, arg1));
3000
+ return ret;
2915
3001
  }, arguments); },
2916
- __wbg_new_617a8cdb8bb1130e: function() { return logError(function () {
2917
- const ret = new Object();
2918
- return addHeapObject(ret);
3002
+ __wbg_new_a4f3a9cdd1555813: function() { return logError(function () {
3003
+ const ret = new Error();
3004
+ return ret;
2919
3005
  }, arguments); },
2920
- __wbg_new_6ab88fbe741af6b5: function() { return logError(function (arg0, arg1) {
2921
- const ret = new RangeError(getStringFromWasm0(arg0, arg1));
2922
- return addHeapObject(ret);
3006
+ __wbg_new_bdf613c6b0b3d702: function() { return handleError(function (arg0) {
3007
+ const ret = new ResizeObserver(arg0);
3008
+ return ret;
2923
3009
  }, arguments); },
2924
- __wbg_new_ee2291f50781bf1d: function() { return logError(function () {
2925
- const ret = new Array();
2926
- return addHeapObject(ret);
3010
+ __wbg_new_cd4348290afae586: function() { return logError(function () {
3011
+ const ret = new Object();
3012
+ return ret;
2927
3013
  }, arguments); },
2928
- __wbg_new_from_slice_9a868026ffa4208a: function() { return logError(function (arg0, arg1) {
3014
+ __wbg_new_from_slice_b8daf545a41c6aa0: function() { return logError(function (arg0, arg1) {
2929
3015
  const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
2930
- return addHeapObject(ret);
3016
+ return ret;
2931
3017
  }, arguments); },
2932
- __wbg_new_typed_b01cb72a8af741a3: function() { return logError(function (arg0, arg1) {
3018
+ __wbg_new_typed_e09da9dae6ee5935: function() { return logError(function (arg0, arg1) {
2933
3019
  try {
2934
3020
  var state0 = {a: arg0, b: arg1};
2935
3021
  var cb0 = (arg0, arg1) => {
2936
3022
  const a = state0.a;
2937
3023
  state0.a = 0;
2938
3024
  try {
2939
- return __wasm_bindgen_func_elem_7667(a, state0.b, arg0, arg1);
3025
+ return __wasm_bindgen_func_elem_8605(a, state0.b, arg0, arg1);
2940
3026
  } finally {
2941
3027
  state0.a = a;
2942
3028
  }
2943
3029
  };
2944
3030
  const ret = new Promise(cb0);
2945
- return addHeapObject(ret);
3031
+ return ret;
2946
3032
  } finally {
2947
3033
  state0.a = 0;
2948
3034
  }
2949
3035
  }, arguments); },
2950
- __wbg_new_with_record_from_str_to_blob_promise_d8b08e210be436ad: function() { return handleError(function (arg0) {
2951
- const ret = new ClipboardItem(getObject(arg0));
2952
- 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;
2953
3039
  }, arguments); },
2954
- __wbg_new_with_u8_array_sequence_and_options_fccc08fe93f4b8fd: function() { return handleError(function (arg0, arg1) {
2955
- const ret = new Blob(getObject(arg0), getObject(arg1));
2956
- 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;
2957
3043
  }, arguments); },
2958
- __wbg_next_33784799010f1bbe: function() { return logError(function (arg0) {
2959
- const ret = getObject(arg0).next;
2960
- return addHeapObject(ret);
3044
+ __wbg_next_178c1651c11432b3: function() { return logError(function (arg0) {
3045
+ const ret = arg0.next;
3046
+ return ret;
2961
3047
  }, arguments); },
2962
- __wbg_next_f4aac29c42af995c: function() { return handleError(function (arg0) {
2963
- const ret = getObject(arg0).next();
2964
- return addHeapObject(ret);
3048
+ __wbg_next_af5ac6a08bb0a717: function() { return handleError(function (arg0) {
3049
+ const ret = arg0.next();
3050
+ return ret;
2965
3051
  }, arguments); },
2966
- __wbg_now_d0b7f4bea9f38490: function() { return logError(function (arg0) {
2967
- const ret = getObject(arg0).now();
3052
+ __wbg_now_043d245551b22f9c: function() { return logError(function (arg0) {
3053
+ const ret = arg0.now();
2968
3054
  return ret;
2969
3055
  }, arguments); },
2970
3056
  __wbg_now_e7c6795a7f81e10f: function() { return logError(function (arg0) {
2971
- const ret = getObject(arg0).now();
3057
+ const ret = arg0.now();
2972
3058
  return ret;
2973
3059
  }, arguments); },
2974
- __wbg_observe_d2d34ca6fcb958b1: function() { return logError(function (arg0, arg1, arg2) {
2975
- getObject(arg0).observe(getObject(arg1), getObject(arg2));
3060
+ __wbg_observe_2ffc8a70dc1147d1: function() { return logError(function (arg0, arg1, arg2) {
3061
+ arg0.observe(arg1, arg2);
2976
3062
  }, arguments); },
2977
- __wbg_of_d5dbecdc59e02e34: function() { return logError(function (arg0) {
2978
- const ret = Array.of(getObject(arg0));
2979
- return addHeapObject(ret);
3063
+ __wbg_of_027eb15371aac932: function() { return logError(function (arg0) {
3064
+ const ret = Array.of(arg0);
3065
+ return ret;
2980
3066
  }, arguments); },
2981
- __wbg_offsetTop_c36b688834dcdce3: function() { return logError(function (arg0) {
2982
- const ret = getObject(arg0).offsetTop;
3067
+ __wbg_offsetTop_18b5450f7d71de7f: function() { return logError(function (arg0) {
3068
+ const ret = arg0.offsetTop;
2983
3069
  _assertNum(ret);
2984
3070
  return ret;
2985
3071
  }, arguments); },
2986
- __wbg_open_d426932d10a5f130: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
2987
- const ret = getObject(arg0).open(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
2988
- 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);
2989
3075
  }, arguments); },
2990
- __wbg_origin_96d72883773c6d82: function() { return handleError(function (arg0, arg1) {
2991
- const ret = getObject(arg1).origin;
3076
+ __wbg_origin_dafa41a3ee9236b1: function() { return handleError(function (arg0, arg1) {
3077
+ const ret = arg1.origin;
2992
3078
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
2993
3079
  const len1 = WASM_VECTOR_LEN;
2994
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
2995
- 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);
2996
3082
  }, arguments); },
2997
- __wbg_performance_3fcf6e32a7e1ed0a: function() { return logError(function (arg0) {
2998
- const ret = getObject(arg0).performance;
2999
- return addHeapObject(ret);
3083
+ __wbg_performance_50e6a3f8dc80bbca: function() { return logError(function (arg0) {
3084
+ const ret = arg0.performance;
3085
+ return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
3000
3086
  }, arguments); },
3001
- __wbg_performance_d0d7b03fc649b694: function() { return logError(function (arg0) {
3002
- const ret = getObject(arg0).performance;
3003
- return isLikeNone(ret) ? 0 : addHeapObject(ret);
3087
+ __wbg_performance_7e4e4494fdc9d07a: function() { return logError(function (arg0) {
3088
+ const ret = arg0.performance;
3089
+ return ret;
3004
3090
  }, arguments); },
3005
- __wbg_pixelStorei_af18e636b3e7b725: function() { return logError(function (arg0, arg1, arg2) {
3006
- getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
3091
+ __wbg_pixelStorei_43dc7945a0d4d49c: function() { return logError(function (arg0, arg1, arg2) {
3092
+ arg0.pixelStorei(arg1 >>> 0, arg2);
3007
3093
  }, arguments); },
3008
- __wbg_pixelStorei_cb4e43466f5b8703: function() { return logError(function (arg0, arg1, arg2) {
3009
- getObject(arg0).pixelStorei(arg1 >>> 0, arg2);
3094
+ __wbg_pixelStorei_6dd56b4da047c480: function() { return logError(function (arg0, arg1, arg2) {
3095
+ arg0.pixelStorei(arg1 >>> 0, arg2);
3010
3096
  }, arguments); },
3011
- __wbg_port_73ba89eedf847423: function() { return handleError(function (arg0, arg1) {
3012
- const ret = getObject(arg1).port;
3097
+ __wbg_port_114bc900ca0e4c6d: function() { return handleError(function (arg0, arg1) {
3098
+ const ret = arg1.port;
3013
3099
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3014
3100
  const len1 = WASM_VECTOR_LEN;
3015
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3016
- 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);
3017
3103
  }, arguments); },
3018
- __wbg_preventDefault_af59afb0f0a02e20: function() { return logError(function (arg0) {
3019
- getObject(arg0).preventDefault();
3104
+ __wbg_preventDefault_cfb06b02e7406899: function() { return logError(function (arg0) {
3105
+ arg0.preventDefault();
3020
3106
  }, arguments); },
3021
- __wbg_protocol_c29b929bd710072b: function() { return handleError(function (arg0, arg1) {
3022
- const ret = getObject(arg1).protocol;
3107
+ __wbg_protocol_c60aedf8a6fa9fca: function() { return handleError(function (arg0, arg1) {
3108
+ const ret = arg1.protocol;
3023
3109
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3024
3110
  const len1 = WASM_VECTOR_LEN;
3025
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3026
- 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);
3027
3113
  }, arguments); },
3028
- __wbg_prototypesetcall_bc27214492979395: function() { return logError(function (arg0, arg1, arg2) {
3029
- 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);
3030
3116
  }, arguments); },
3031
- __wbg_push_2baf45db356cf468: function() { return logError(function (arg0, arg1) {
3032
- const ret = getObject(arg0).push(getObject(arg1));
3117
+ __wbg_push_c9f4893fc209f768: function() { return logError(function (arg0, arg1) {
3118
+ const ret = arg0.push(arg1);
3033
3119
  _assertNum(ret);
3034
3120
  return ret;
3035
3121
  }, arguments); },
3036
- __wbg_queueMicrotask_9833f9a49df95a49: function() { return logError(function (arg0) {
3037
- const ret = getObject(arg0).queueMicrotask;
3038
- return addHeapObject(ret);
3122
+ __wbg_queueMicrotask_1e8503a8a690f0a3: function() { return logError(function (arg0) {
3123
+ const ret = arg0.queueMicrotask;
3124
+ return ret;
3039
3125
  }, arguments); },
3040
- __wbg_queueMicrotask_a72f977e97f23c5f: function() { return logError(function (arg0) {
3041
- queueMicrotask(getObject(arg0));
3126
+ __wbg_queueMicrotask_4a1a4d8dd332373b: function() { return logError(function (arg0) {
3127
+ queueMicrotask(arg0);
3042
3128
  }, arguments); },
3043
- __wbg_readPixels_31e44e70558ac590: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
3044
- 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);
3045
3131
  }, arguments); },
3046
- __wbg_readPixels_3321086a7818a739: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
3047
- 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);
3048
3134
  }, arguments); },
3049
- __wbg_readPixels_eb030cd9976eeca5: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7) {
3050
- 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);
3051
3137
  }, arguments); },
3052
- __wbg_removeEventListener_6e68185345978771: function() { return handleError(function (arg0, arg1, arg2, arg3) {
3053
- 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);
3054
3140
  }, arguments); },
3055
- __wbg_removeItem_f7b602722ed566dd: function() { return handleError(function (arg0, arg1, arg2) {
3056
- getObject(arg0).removeItem(getStringFromWasm0(arg1, arg2));
3141
+ __wbg_removeItem_6db621e167d16a1c: function() { return handleError(function (arg0, arg1, arg2) {
3142
+ arg0.removeItem(getStringFromWasm0(arg1, arg2));
3057
3143
  }, arguments); },
3058
- __wbg_remove_9a5288388316028c: function() { return logError(function (arg0) {
3059
- getObject(arg0).remove();
3144
+ __wbg_remove_8228e91d7ddbc755: function() { return logError(function (arg0) {
3145
+ arg0.remove();
3060
3146
  }, arguments); },
3061
- __wbg_requestAnimationFrame_7b526ab7aa550c74: function() { return handleError(function (arg0, arg1) {
3062
- const ret = getObject(arg0).requestAnimationFrame(getObject(arg1));
3147
+ __wbg_requestAnimationFrame_9ba49d36a19ca83c: function() { return handleError(function (arg0, arg1) {
3148
+ const ret = arg0.requestAnimationFrame(arg1);
3063
3149
  _assertNum(ret);
3064
3150
  return ret;
3065
3151
  }, arguments); },
3066
- __wbg_resolve_0076e10020304ede: function() { return logError(function (arg0) {
3067
- const ret = Promise.resolve(getObject(arg0));
3068
- return addHeapObject(ret);
3152
+ __wbg_resolve_dbf78ab4942478b0: function() { return logError(function (arg0) {
3153
+ const ret = Promise.resolve(arg0);
3154
+ return ret;
3069
3155
  }, arguments); },
3070
- __wbg_right_1dca6be6342de981: function() { return logError(function (arg0) {
3071
- const ret = getObject(arg0).right;
3156
+ __wbg_right_87f14139bda7986d: function() { return logError(function (arg0) {
3157
+ const ret = arg0.right;
3072
3158
  return ret;
3073
3159
  }, arguments); },
3074
- __wbg_scissor_12ddc324094acd50: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3075
- 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);
3076
3162
  }, arguments); },
3077
- __wbg_scissor_a9468482697c2bdb: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3078
- 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);
3079
3165
  }, arguments); },
3080
- __wbg_search_31c06ba77ebf51f4: function() { return handleError(function (arg0, arg1) {
3081
- const ret = getObject(arg1).search;
3166
+ __wbg_search_b8ba44c19bb02b19: function() { return handleError(function (arg0, arg1) {
3167
+ const ret = arg1.search;
3082
3168
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3083
3169
  const len1 = WASM_VECTOR_LEN;
3084
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3085
- 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);
3086
3172
  }, arguments); },
3087
- __wbg_selectionEnd_582c88abcc45a9f3: function() { return handleError(function (arg0) {
3088
- const ret = getObject(arg0).selectionEnd;
3173
+ __wbg_selectionEnd_785eea54e3259c55: function() { return handleError(function (arg0) {
3174
+ const ret = arg0.selectionEnd;
3089
3175
  if (!isLikeNone(ret)) {
3090
3176
  _assertNum(ret);
3091
3177
  }
3092
3178
  return isLikeNone(ret) ? Number.MAX_SAFE_INTEGER : (ret) >>> 0;
3093
3179
  }, arguments); },
3094
- __wbg_selectionStart_b1db69e8858218c6: function() { return handleError(function (arg0) {
3095
- const ret = getObject(arg0).selectionStart;
3180
+ __wbg_selectionStart_e1929323816eb3da: function() { return handleError(function (arg0) {
3181
+ const ret = arg0.selectionStart;
3096
3182
  if (!isLikeNone(ret)) {
3097
3183
  _assertNum(ret);
3098
3184
  }
3099
3185
  return isLikeNone(ret) ? Number.MAX_SAFE_INTEGER : (ret) >>> 0;
3100
3186
  }, arguments); },
3101
3187
  __wbg_selection_unwrap: function() { return logError(function (arg0) {
3102
- const ret = Selection.__unwrap(getObject(arg0));
3188
+ const ret = Selection.__unwrap(arg0);
3103
3189
  _assertNum(ret);
3104
3190
  return ret;
3105
3191
  }, arguments); },
3106
- __wbg_setAttribute_9e7d603908f63705: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3107
- 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));
3108
3194
  }, arguments); },
3109
- __wbg_setItem_c5fb0966b484ecd3: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3110
- 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));
3111
3197
  }, arguments); },
3112
- __wbg_setProperty_097bc3d55ce44513: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
3113
- 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));
3114
3200
  }, arguments); },
3115
- __wbg_setTimeout_db7bbc18a17e152a: function() { return handleError(function (arg0, arg1, arg2) {
3116
- 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);
3117
3203
  _assertNum(ret);
3118
3204
  return ret;
3119
3205
  }, arguments); },
3120
- __wbg_set_145a351398b48c65: function() { return handleError(function (arg0, arg1, arg2) {
3121
- 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);
3122
3208
  _assertBoolean(ret);
3123
3209
  return ret;
3124
3210
  }, arguments); },
3125
- __wbg_set_autofocus_d18c73b8967571a7: function() { return handleError(function (arg0, arg1) {
3126
- getObject(arg0).autofocus = arg1 !== 0;
3211
+ __wbg_set_autofocus_9ee3c5b796002f34: function() { return handleError(function (arg0, arg1) {
3212
+ arg0.autofocus = arg1 !== 0;
3127
3213
  }, arguments); },
3128
- __wbg_set_box_921bf38648f10dfe: function() { return logError(function (arg0, arg1) {
3129
- 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];
3130
3216
  }, arguments); },
3131
- __wbg_set_height_c9789c1c77eaedff: function() { return logError(function (arg0, arg1) {
3132
- getObject(arg0).height = arg1 >>> 0;
3217
+ __wbg_set_height_ae0610d318c3428c: function() { return logError(function (arg0, arg1) {
3218
+ arg0.height = arg1 >>> 0;
3133
3219
  }, arguments); },
3134
- __wbg_set_once_8c45bbbfb71d1b34: function() { return logError(function (arg0, arg1) {
3135
- getObject(arg0).once = arg1 !== 0;
3220
+ __wbg_set_once_ee3e8ed5823add1f: function() { return logError(function (arg0, arg1) {
3221
+ arg0.once = arg1 !== 0;
3136
3222
  }, arguments); },
3137
- __wbg_set_tabIndex_6999832ea5d5197e: function() { return logError(function (arg0, arg1) {
3138
- getObject(arg0).tabIndex = arg1;
3223
+ __wbg_set_tabIndex_38e2c0c2e76c66c5: function() { return logError(function (arg0, arg1) {
3224
+ arg0.tabIndex = arg1;
3139
3225
  }, arguments); },
3140
- __wbg_set_type_19b6e3a56c3fa1f1: function() { return logError(function (arg0, arg1, arg2) {
3141
- getObject(arg0).type = getStringFromWasm0(arg1, arg2);
3226
+ __wbg_set_type_609b0cea6429d7bb: function() { return logError(function (arg0, arg1, arg2) {
3227
+ arg0.type = getStringFromWasm0(arg1, arg2);
3142
3228
  }, arguments); },
3143
- __wbg_set_type_dcf75b2afa60c694: function() { return logError(function (arg0, arg1, arg2) {
3144
- getObject(arg0).type = getStringFromWasm0(arg1, arg2);
3229
+ __wbg_set_type_9f32b0fcce9b6bbd: function() { return logError(function (arg0, arg1, arg2) {
3230
+ arg0.type = getStringFromWasm0(arg1, arg2);
3145
3231
  }, arguments); },
3146
- __wbg_set_value_fbd659f94bfb9181: function() { return logError(function (arg0, arg1, arg2) {
3147
- getObject(arg0).value = getStringFromWasm0(arg1, arg2);
3232
+ __wbg_set_value_cb7e77c93a95e491: function() { return logError(function (arg0, arg1, arg2) {
3233
+ arg0.value = getStringFromWasm0(arg1, arg2);
3148
3234
  }, arguments); },
3149
- __wbg_set_width_b0e1267db4b196b5: function() { return logError(function (arg0, arg1) {
3150
- getObject(arg0).width = arg1 >>> 0;
3235
+ __wbg_set_width_5f89a551b5472887: function() { return logError(function (arg0, arg1) {
3236
+ arg0.width = arg1 >>> 0;
3151
3237
  }, arguments); },
3152
- __wbg_shaderSource_06379dac249994dd: function() { return logError(function (arg0, arg1, arg2, arg3) {
3153
- 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));
3154
3240
  }, arguments); },
3155
- __wbg_shaderSource_c8812639b47d87b9: function() { return logError(function (arg0, arg1, arg2, arg3) {
3156
- 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));
3157
3243
  }, arguments); },
3158
- __wbg_shiftKey_be6d5295ee392b33: function() { return logError(function (arg0) {
3159
- const ret = getObject(arg0).shiftKey;
3244
+ __wbg_shiftKey_6a84be2563ae8a55: function() { return logError(function (arg0) {
3245
+ const ret = arg0.shiftKey;
3160
3246
  _assertBoolean(ret);
3161
3247
  return ret;
3162
3248
  }, arguments); },
3163
- __wbg_shiftKey_ecdc496db72e8a50: function() { return logError(function (arg0) {
3164
- const ret = getObject(arg0).shiftKey;
3249
+ __wbg_shiftKey_a6ce93ef743d5834: function() { return logError(function (arg0) {
3250
+ const ret = arg0.shiftKey;
3165
3251
  _assertBoolean(ret);
3166
3252
  return ret;
3167
3253
  }, arguments); },
3168
- __wbg_size_8f1c0b1a1fbb3810: function() { return logError(function (arg0) {
3169
- const ret = getObject(arg0).size;
3254
+ __wbg_size_9d1084e29743663c: function() { return logError(function (arg0) {
3255
+ const ret = arg0.size;
3170
3256
  return ret;
3171
3257
  }, arguments); },
3172
3258
  __wbg_sphere_unwrap: function() { return logError(function (arg0) {
3173
- const ret = Sphere.__unwrap(getObject(arg0));
3259
+ const ret = Sphere.__unwrap(arg0);
3174
3260
  _assertNum(ret);
3175
3261
  return ret;
3176
3262
  }, arguments); },
3177
- __wbg_stack_6476d1d46b80665a: function() { return logError(function (arg0, arg1) {
3178
- const ret = getObject(arg1).stack;
3263
+ __wbg_stack_752111df7db7b0ca: function() { return logError(function (arg0, arg1) {
3264
+ const ret = arg1.stack;
3179
3265
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3180
3266
  const len1 = WASM_VECTOR_LEN;
3181
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3182
- 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);
3183
3269
  }, arguments); },
3184
- __wbg_static_accessor_GLOBAL_266715b9d96ba635: function() { return logError(function () {
3185
- const ret = typeof global === 'undefined' ? null : global;
3186
- 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);
3187
3273
  }, arguments); },
3188
- __wbg_static_accessor_GLOBAL_THIS_10fb7dc1ae063179: function() { return logError(function () {
3189
- const ret = typeof globalThis === 'undefined' ? null : globalThis;
3190
- 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);
3191
3277
  }, arguments); },
3192
- __wbg_static_accessor_SELF_0b583911f537483a: function() { return logError(function () {
3193
- const ret = typeof self === 'undefined' ? null : self;
3194
- 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);
3195
3281
  }, arguments); },
3196
- __wbg_static_accessor_WINDOW_d7f903d1508cbdc4: function() { return logError(function () {
3197
- const ret = typeof window === 'undefined' ? null : window;
3198
- 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);
3199
3285
  }, arguments); },
3200
3286
  __wbg_stick_unwrap: function() { return logError(function (arg0) {
3201
- const ret = Stick.__unwrap(getObject(arg0));
3287
+ const ret = Stick.__unwrap(arg0);
3202
3288
  _assertNum(ret);
3203
3289
  return ret;
3204
3290
  }, arguments); },
3205
- __wbg_stopPropagation_effafbc3bc773f1c: function() { return logError(function (arg0) {
3206
- getObject(arg0).stopPropagation();
3291
+ __wbg_stopPropagation_e4181c041abda4c3: function() { return logError(function (arg0) {
3292
+ arg0.stopPropagation();
3207
3293
  }, arguments); },
3208
- __wbg_style_4bce24230e493a7c: function() { return logError(function (arg0) {
3209
- const ret = getObject(arg0).style;
3210
- return addHeapObject(ret);
3294
+ __wbg_style_f499e599ac70277f: function() { return logError(function (arg0) {
3295
+ const ret = arg0.style;
3296
+ return ret;
3211
3297
  }, arguments); },
3212
3298
  __wbg_style_unwrap: function() { return logError(function (arg0) {
3213
- const ret = Style.__unwrap(getObject(arg0));
3299
+ const ret = Style.__unwrap(arg0);
3214
3300
  _assertNum(ret);
3215
3301
  return ret;
3216
3302
  }, arguments); },
3217
- __wbg_texImage2D_82bf2b4c8aa9a1db: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3218
- 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);
3219
3305
  }, arguments); },
3220
- __wbg_texImage2D_a856af552acdc9d9: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3221
- 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);
3222
3308
  }, arguments); },
3223
- __wbg_texImage2D_ca3d0fe24620ec85: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3224
- 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);
3225
3311
  }, arguments); },
3226
- __wbg_texParameteri_647fdb1426809cb5: function() { return logError(function (arg0, arg1, arg2, arg3) {
3227
- 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);
3228
3314
  }, arguments); },
3229
- __wbg_texParameteri_7864076abcdb03e0: function() { return logError(function (arg0, arg1, arg2, arg3) {
3230
- 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);
3231
3317
  }, arguments); },
3232
- __wbg_texSubImage2D_31a0c2797aa04f32: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3233
- 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);
3234
3320
  }, arguments); },
3235
- __wbg_texSubImage2D_5e90c7a719d40256: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3236
- 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);
3237
3323
  }, arguments); },
3238
- __wbg_texSubImage2D_bb322aae90f7657f: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) {
3239
- 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);
3240
3326
  }, arguments); },
3241
- __wbg_then_c949d5a25a4e78f8: function() { return logError(function (arg0, arg1, arg2) {
3242
- const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
3243
- return addHeapObject(ret);
3327
+ __wbg_then_656f253a5dd7d8ea: function() { return logError(function (arg0, arg1, arg2) {
3328
+ const ret = arg0.then(arg1, arg2);
3329
+ return ret;
3244
3330
  }, arguments); },
3245
- __wbg_then_e71170d78fcf8954: function() { return logError(function (arg0, arg1) {
3246
- const ret = getObject(arg0).then(getObject(arg1));
3247
- return addHeapObject(ret);
3331
+ __wbg_then_e3f7f2d365708be8: function() { return logError(function (arg0, arg1) {
3332
+ const ret = arg0.then(arg1);
3333
+ return ret;
3248
3334
  }, arguments); },
3249
- __wbg_top_ff4627294d2cdeb8: function() { return logError(function (arg0) {
3250
- const ret = getObject(arg0).top;
3335
+ __wbg_top_2d45cda4e060d8bf: function() { return logError(function (arg0) {
3336
+ const ret = arg0.top;
3251
3337
  return ret;
3252
3338
  }, arguments); },
3253
- __wbg_touches_7b36d35cdb1673fa: function() { return logError(function (arg0) {
3254
- const ret = getObject(arg0).touches;
3255
- return addHeapObject(ret);
3339
+ __wbg_touches_3e4459518c751cbf: function() { return logError(function (arg0) {
3340
+ const ret = arg0.touches;
3341
+ return ret;
3256
3342
  }, arguments); },
3257
- __wbg_type_85d2ff75f5f5adb0: function() { return logError(function (arg0, arg1) {
3258
- const ret = getObject(arg1).type;
3343
+ __wbg_type_7fa681d1ded98131: function() { return logError(function (arg0, arg1) {
3344
+ const ret = arg1.type;
3259
3345
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3260
3346
  const len1 = WASM_VECTOR_LEN;
3261
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3262
- 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);
3263
3349
  }, arguments); },
3264
- __wbg_type_d44713a24aa37493: function() { return logError(function (arg0, arg1) {
3265
- const ret = getObject(arg1).type;
3350
+ __wbg_type_c93f3ee8b7eb4f89: function() { return logError(function (arg0, arg1) {
3351
+ const ret = arg1.type;
3266
3352
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3267
3353
  const len1 = WASM_VECTOR_LEN;
3268
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3269
- 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);
3270
3356
  }, arguments); },
3271
- __wbg_uniform1f_9cfecfaeb8cf43c1: function() { return logError(function (arg0, arg1, arg2) {
3272
- getObject(arg0).uniform1f(getObject(arg1), arg2);
3357
+ __wbg_uniform1f_0b36dc15cb2b4991: function() { return logError(function (arg0, arg1, arg2) {
3358
+ arg0.uniform1f(arg1, arg2);
3273
3359
  }, arguments); },
3274
- __wbg_uniform1f_b5856e35a43b65a1: function() { return logError(function (arg0, arg1, arg2) {
3275
- getObject(arg0).uniform1f(getObject(arg1), arg2);
3360
+ __wbg_uniform1f_fe417acc7c7a1dc5: function() { return logError(function (arg0, arg1, arg2) {
3361
+ arg0.uniform1f(arg1, arg2);
3276
3362
  }, arguments); },
3277
- __wbg_uniform1i_531b98c4a7177366: function() { return logError(function (arg0, arg1, arg2) {
3278
- getObject(arg0).uniform1i(getObject(arg1), arg2);
3363
+ __wbg_uniform1i_385ebc488d4d763f: function() { return logError(function (arg0, arg1, arg2) {
3364
+ arg0.uniform1i(arg1, arg2);
3279
3365
  }, arguments); },
3280
- __wbg_uniform1i_fc2dc8cadc49d8ec: function() { return logError(function (arg0, arg1, arg2) {
3281
- getObject(arg0).uniform1i(getObject(arg1), arg2);
3366
+ __wbg_uniform1i_778a02a48ecdceed: function() { return logError(function (arg0, arg1, arg2) {
3367
+ arg0.uniform1i(arg1, arg2);
3282
3368
  }, arguments); },
3283
- __wbg_uniform2f_131da2d4bf17e4b9: function() { return logError(function (arg0, arg1, arg2, arg3) {
3284
- 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);
3285
3371
  }, arguments); },
3286
- __wbg_uniform2f_a92b5bb95dc5b4d9: function() { return logError(function (arg0, arg1, arg2, arg3) {
3287
- 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);
3288
3374
  }, arguments); },
3289
- __wbg_uniform2fv_319c49f0ce340f26: function() { return logError(function (arg0, arg1, arg2, arg3) {
3290
- 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));
3291
3377
  }, arguments); },
3292
- __wbg_uniform2fv_a7d3c1830d18c1b2: function() { return logError(function (arg0, arg1, arg2, arg3) {
3293
- 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));
3294
3380
  }, arguments); },
3295
- __wbg_uniform3fv_055ea5ac38af4fce: function() { return logError(function (arg0, arg1, arg2, arg3) {
3296
- 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));
3297
3383
  }, arguments); },
3298
- __wbg_uniform3fv_58520ffe22a6e27c: function() { return logError(function (arg0, arg1, arg2, arg3) {
3299
- 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));
3300
3386
  }, arguments); },
3301
- __wbg_uniform4fv_3ef2f5121fcb78ae: function() { return logError(function (arg0, arg1, arg2, arg3) {
3302
- 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));
3303
3389
  }, arguments); },
3304
- __wbg_uniform4fv_cf8ff646c36232c8: function() { return logError(function (arg0, arg1, arg2, arg3) {
3305
- 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));
3306
3392
  }, arguments); },
3307
- __wbg_uniformMatrix3fv_472e7824735acce1: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3308
- 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));
3309
3395
  }, arguments); },
3310
- __wbg_uniformMatrix3fv_83fdc9c3c0d43204: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3311
- 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));
3312
3398
  }, arguments); },
3313
- __wbg_uniformMatrix4fv_dff9738d995fd0b1: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3314
- 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));
3315
3401
  }, arguments); },
3316
- __wbg_uniformMatrix4fv_e691d7f14d3609f7: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3317
- 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));
3318
3404
  }, arguments); },
3319
- __wbg_useProgram_5bdae58fd9f9826f: function() { return logError(function (arg0, arg1) {
3320
- getObject(arg0).useProgram(getObject(arg1));
3405
+ __wbg_useProgram_d9c24a7d8632c4c1: function() { return logError(function (arg0, arg1) {
3406
+ arg0.useProgram(arg1);
3321
3407
  }, arguments); },
3322
- __wbg_useProgram_e075c2902e420761: function() { return logError(function (arg0, arg1) {
3323
- getObject(arg0).useProgram(getObject(arg1));
3408
+ __wbg_useProgram_f6341ea2eeea1e5a: function() { return logError(function (arg0, arg1) {
3409
+ arg0.useProgram(arg1);
3324
3410
  }, arguments); },
3325
- __wbg_userAgent_cde4c65cc98db425: function() { return handleError(function (arg0, arg1) {
3326
- const ret = getObject(arg1).userAgent;
3411
+ __wbg_userAgent_a20b4771d027eeaa: function() { return handleError(function (arg0, arg1) {
3412
+ const ret = arg1.userAgent;
3327
3413
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3328
3414
  const len1 = WASM_VECTOR_LEN;
3329
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3330
- 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);
3331
3417
  }, arguments); },
3332
- __wbg_value_05305a761dfa3e0e: function() { return logError(function (arg0, arg1) {
3333
- const ret = getObject(arg1).value;
3418
+ __wbg_value_df0a0e29a4d182fe: function() { return logError(function (arg0, arg1) {
3419
+ const ret = arg1.value;
3334
3420
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
3335
3421
  const len1 = WASM_VECTOR_LEN;
3336
- getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
3337
- 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);
3338
3424
  }, arguments); },
3339
- __wbg_value_f3c585ee8f5ba40c: function() { return logError(function (arg0) {
3340
- const ret = getObject(arg0).value;
3341
- return addHeapObject(ret);
3425
+ __wbg_value_e0f328965e184931: function() { return logError(function (arg0) {
3426
+ const ret = arg0.value;
3427
+ return ret;
3342
3428
  }, arguments); },
3343
- __wbg_vertexAttribDivisorANGLE_659fb027198a47c3: function() { return logError(function (arg0, arg1, arg2) {
3344
- 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);
3345
3431
  }, arguments); },
3346
- __wbg_vertexAttribDivisor_7575d382215322f7: function() { return logError(function (arg0, arg1, arg2) {
3347
- 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);
3348
3434
  }, arguments); },
3349
- __wbg_vertexAttribPointer_24b495e18df325dc: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
3350
- 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);
3351
3437
  }, arguments); },
3352
- __wbg_vertexAttribPointer_54d56b18f71a946d: function() { return logError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
3353
- 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);
3354
3440
  }, arguments); },
3355
3441
  __wbg_viewer_new: function() { return logError(function (arg0) {
3356
3442
  const ret = Viewer.__wrap(arg0);
3357
- return addHeapObject(ret);
3443
+ return ret;
3358
3444
  }, arguments); },
3359
- __wbg_viewport_16936692526e2ce6: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3360
- 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);
3361
3447
  }, arguments); },
3362
- __wbg_viewport_e35d16c542d2ce70: function() { return logError(function (arg0, arg1, arg2, arg3, arg4) {
3363
- 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);
3364
3450
  }, arguments); },
3365
3451
  __wbg_warn_bc3ecc257d0f3fed: function() { return logError(function (arg0, arg1) {
3366
3452
  console.warn(getStringFromWasm0(arg0, arg1));
3367
3453
  }, arguments); },
3368
- __wbg_width_3d0dce3d9892e35e: function() { return logError(function (arg0) {
3369
- const ret = getObject(arg0).width;
3370
- _assertNum(ret);
3454
+ __wbg_width_b81b030bc60498d5: function() { return logError(function (arg0) {
3455
+ const ret = arg0.width;
3371
3456
  return ret;
3372
3457
  }, arguments); },
3373
- __wbg_width_bf3733dbc880874d: function() { return logError(function (arg0) {
3374
- const ret = getObject(arg0).width;
3458
+ __wbg_width_babc5dc7654771b1: function() { return logError(function (arg0) {
3459
+ const ret = arg0.width;
3460
+ _assertNum(ret);
3375
3461
  return ret;
3376
3462
  }, arguments); },
3377
- __wbg_writeText_79a2b37e525e9424: function() { return logError(function (arg0, arg1, arg2) {
3378
- const ret = getObject(arg0).writeText(getStringFromWasm0(arg1, arg2));
3379
- 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;
3380
3466
  }, arguments); },
3381
- __wbg_write_f88c29d142d623bd: function() { return logError(function (arg0, arg1) {
3382
- const ret = getObject(arg0).write(getObject(arg1));
3383
- return addHeapObject(ret);
3467
+ __wbg_write_e913e5c019572491: function() { return logError(function (arg0, arg1) {
3468
+ const ret = arg0.write(arg1);
3469
+ return ret;
3384
3470
  }, arguments); },
3385
3471
  __wbindgen_generic_0000000000000001: function() { return logError(function (arg0, arg1) {
3386
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1255, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3387
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_7665);
3388
- return addHeapObject(ret);
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`.
3473
+ const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_8603);
3474
+ return ret;
3389
3475
  }, arguments); },
3390
3476
  __wbindgen_generic_0000000000000002: function() { return logError(function (arg0, arg1) {
3391
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Array<any>")], shim_idx: 511, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3392
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2887);
3393
- 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;
3394
3480
  }, arguments); },
3395
3481
  __wbindgen_generic_0000000000000003: function() { return logError(function (arg0, arg1) {
3396
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("Event")], shim_idx: 511, ret: Unit, inner_ret: Some(Unit) }, mutable: true }) -> Externref`.
3397
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2887_87);
3398
- 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;
3399
3485
  }, arguments); },
3400
3486
  __wbindgen_generic_0000000000000004: function() { return logError(function (arg0, arg1) {
3401
- // Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [], shim_idx: 514, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
3402
- const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2886);
3403
- 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;
3404
3490
  }, arguments); },
3405
3491
  __wbindgen_generic_0000000000000005: function() { return logError(function (arg0) {
3406
3492
  // Cast intrinsic for `I64 -> Externref`.
3407
3493
  const ret = arg0;
3408
- return addHeapObject(ret);
3494
+ return ret;
3409
3495
  }, arguments); },
3410
3496
  __wbindgen_generic_0000000000000006: function() { return logError(function (arg0, arg1) {
3411
3497
  // Cast intrinsic for `Ref(Slice(F32)) -> NamedExternref("Float32Array")`.
3412
3498
  const ret = getArrayF32FromWasm0(arg0, arg1);
3413
- return addHeapObject(ret);
3499
+ return ret;
3414
3500
  }, arguments); },
3415
3501
  __wbindgen_generic_0000000000000007: function() { return logError(function (arg0, arg1) {
3416
3502
  // Cast intrinsic for `Ref(Slice(I16)) -> NamedExternref("Int16Array")`.
3417
3503
  const ret = getArrayI16FromWasm0(arg0, arg1);
3418
- return addHeapObject(ret);
3504
+ return ret;
3419
3505
  }, arguments); },
3420
3506
  __wbindgen_generic_0000000000000008: function() { return logError(function (arg0, arg1) {
3421
3507
  // Cast intrinsic for `Ref(Slice(I32)) -> NamedExternref("Int32Array")`.
3422
3508
  const ret = getArrayI32FromWasm0(arg0, arg1);
3423
- return addHeapObject(ret);
3509
+ return ret;
3424
3510
  }, arguments); },
3425
3511
  __wbindgen_generic_0000000000000009: function() { return logError(function (arg0, arg1) {
3426
3512
  // Cast intrinsic for `Ref(Slice(I8)) -> NamedExternref("Int8Array")`.
3427
3513
  const ret = getArrayI8FromWasm0(arg0, arg1);
3428
- return addHeapObject(ret);
3514
+ return ret;
3429
3515
  }, arguments); },
3430
3516
  __wbindgen_generic_000000000000000a: function() { return logError(function (arg0, arg1) {
3431
3517
  // Cast intrinsic for `Ref(Slice(U16)) -> NamedExternref("Uint16Array")`.
3432
3518
  const ret = getArrayU16FromWasm0(arg0, arg1);
3433
- return addHeapObject(ret);
3519
+ return ret;
3434
3520
  }, arguments); },
3435
3521
  __wbindgen_generic_000000000000000b: function() { return logError(function (arg0, arg1) {
3436
3522
  // Cast intrinsic for `Ref(Slice(U32)) -> NamedExternref("Uint32Array")`.
3437
3523
  const ret = getArrayU32FromWasm0(arg0, arg1);
3438
- return addHeapObject(ret);
3524
+ return ret;
3439
3525
  }, arguments); },
3440
3526
  __wbindgen_generic_000000000000000c: function() { return logError(function (arg0, arg1) {
3441
3527
  // Cast intrinsic for `Ref(Slice(U8)) -> NamedExternref("Uint8Array")`.
3442
3528
  const ret = getArrayU8FromWasm0(arg0, arg1);
3443
- return addHeapObject(ret);
3529
+ return ret;
3444
3530
  }, arguments); },
3445
3531
  __wbindgen_generic_000000000000000d: function() { return logError(function (arg0, arg1) {
3446
3532
  // Cast intrinsic for `Ref(String) -> Externref`.
3447
3533
  const ret = getStringFromWasm0(arg0, arg1);
3448
- return addHeapObject(ret);
3534
+ return ret;
3449
3535
  }, arguments); },
3450
3536
  __wbindgen_generic_000000000000000e: function() { return logError(function (arg0) {
3451
3537
  // Cast intrinsic for `U64 -> Externref`.
3452
3538
  const ret = BigInt.asUintN(64, arg0);
3453
- return addHeapObject(ret);
3539
+ return ret;
3454
3540
  }, arguments); },
3455
3541
  __wbindgen_generic_000000000000000f: function() { return logError(function (arg0, arg1) {
3456
3542
  var v0 = getArrayU8FromWasm0(arg0, arg1).slice();
3457
- wasm.__wbindgen_export4(arg0, arg1 * 1, 1);
3543
+ wasm.__wbindgen_export3(arg0, arg1 * 1, 1);
3458
3544
  // Cast intrinsic for `Vector(U8) -> Externref`.
3459
3545
  const ret = v0;
3460
- return addHeapObject(ret);
3546
+ return ret;
3461
3547
  }, arguments); },
3462
- __wbindgen_object_clone_ref: function(arg0) {
3463
- const ret = getObject(arg0);
3464
- return addHeapObject(ret);
3465
- },
3466
- __wbindgen_object_drop_ref: function(arg0) {
3467
- 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);
3468
3555
  },
3469
3556
  };
3470
3557
  return {
@@ -3475,50 +3562,50 @@ function __wbg_get_imports() {
3475
3562
 
3476
3563
 
3477
3564
  //#endregion
3478
- function __wasm_bindgen_func_elem_2887(arg0, arg1, arg2) {
3565
+ function __wasm_bindgen_func_elem_3743(arg0, arg1, arg2) {
3479
3566
  _assertNum(arg0);
3480
3567
  _assertNum(arg1);
3481
- wasm.__wasm_bindgen_func_elem_2887(arg0, arg1, addHeapObject(arg2));
3568
+ wasm.__wasm_bindgen_func_elem_3743(arg0, arg1, arg2);
3482
3569
  }
3483
3570
 
3484
- function __wasm_bindgen_func_elem_2887_87(arg0, arg1, arg2) {
3571
+ function __wasm_bindgen_func_elem_3743_91(arg0, arg1, arg2) {
3485
3572
  _assertNum(arg0);
3486
3573
  _assertNum(arg1);
3487
- wasm.__wasm_bindgen_func_elem_2887_87(arg0, arg1, addHeapObject(arg2));
3574
+ wasm.__wasm_bindgen_func_elem_3743_91(arg0, arg1, arg2);
3488
3575
  }
3489
3576
 
3490
- function __wasm_bindgen_func_elem_2886(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) {
3491
3584
  try {
3492
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3585
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
3493
3586
  _assertNum(arg0);
3494
3587
  _assertNum(arg1);
3495
- wasm.__wasm_bindgen_func_elem_2886(retptr, arg0, arg1);
3588
+ wasm.__wasm_bindgen_func_elem_3742(retptr, arg0, arg1);
3496
3589
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3497
3590
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3498
3591
  if (r1) {
3499
- throw takeObject(r0);
3592
+ throw takeFromExternrefTable0(r0);
3500
3593
  }
3501
3594
  } finally {
3502
3595
  wasm.__wbindgen_add_to_stack_pointer(16);
3503
3596
  }
3504
3597
  }
3505
3598
 
3506
- function __wasm_bindgen_func_elem_7667(arg0, arg1, arg2, arg3) {
3507
- _assertNum(arg0);
3508
- _assertNum(arg1);
3509
- wasm.__wasm_bindgen_func_elem_7667(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
3510
- }
3511
-
3512
- function __wasm_bindgen_func_elem_7665(arg0, arg1, arg2) {
3599
+ function __wasm_bindgen_func_elem_8603(arg0, arg1, arg2) {
3513
3600
  try {
3514
- const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
3601
+ const retptr = wasm.__wbindgen_add_to_stack_pointer(-16) >>> 0;
3515
3602
  _assertNum(arg0);
3516
3603
  _assertNum(arg1);
3517
- wasm.__wasm_bindgen_func_elem_7665(retptr, arg0, arg1, addHeapObject(arg2));
3604
+ wasm.__wasm_bindgen_func_elem_8603(retptr, arg0, arg1, arg2);
3518
3605
  var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
3519
3606
  var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
3520
3607
  if (r1) {
3521
- throw takeObject(r0);
3608
+ throw takeFromExternrefTable0(r0);
3522
3609
  }
3523
3610
  } finally {
3524
3611
  wasm.__wbindgen_add_to_stack_pointer(16);
@@ -3554,12 +3641,9 @@ const ViewerFinalization = (typeof FinalizationRegistry === 'undefined')
3554
3641
 
3555
3642
 
3556
3643
  //#region intrinsics
3557
- function addHeapObject(obj) {
3558
- if (heap_next === heap.length) heap.push(heap.length + 1);
3559
- const idx = heap_next;
3560
- heap_next = heap[idx];
3561
- if (typeof(heap_next) !== 'number') throw new Error('corrupt heap');
3562
- heap[idx] = obj;
3644
+ function addToExternrefTable0(obj) {
3645
+ const idx = wasm.__wbindgen_export4();
3646
+ wasm.__wbindgen_externrefs.set(idx, obj);
3563
3647
  return idx;
3564
3648
  }
3565
3649
 
@@ -3583,85 +3667,66 @@ function _assertNum(n) {
3583
3667
  if (typeof(n) !== 'number') throw new Error(`expected a number argument, found ${typeof(n)}`);
3584
3668
  }
3585
3669
 
3586
- function addBorrowedObject(obj) {
3587
- if (stack_pointer == 1) throw new Error('out of js stack');
3588
- heap[--stack_pointer] = obj;
3589
- return stack_pointer;
3590
- }
3591
-
3592
3670
  const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
3593
3671
  ? { register: () => {}, unregister: () => {} }
3594
- : new FinalizationRegistry(state => wasm.__wbindgen_export5(state.a, state.b));
3672
+ : new FinalizationRegistry(state => wasm.__wbindgen_export6(state.a, state.b));
3595
3673
 
3596
3674
  function debugString(val) {
3597
- // primitive types
3598
- const type = typeof val;
3599
- if (type == 'number' || type == 'boolean' || val == null) {
3600
- return `${val}`;
3601
- }
3602
- if (type == 'string') {
3603
- return `"${val}"`;
3604
- }
3605
- if (type == 'symbol') {
3606
- const description = val.description;
3607
- if (description == null) {
3608
- return 'Symbol';
3609
- } else {
3610
- return `Symbol(${description})`;
3611
- }
3612
- }
3613
- if (type == 'function') {
3614
- const name = val.name;
3615
- if (typeof name == 'string' && name.length > 0) {
3616
- return `Function(${name})`;
3617
- } else {
3618
- return 'Function';
3619
- }
3620
- }
3621
- // objects
3622
- if (Array.isArray(val)) {
3623
- const length = val.length;
3624
- let debug = '[';
3625
- if (length > 0) {
3626
- debug += debugString(val[0]);
3627
- }
3628
- for(let i = 1; i < length; i++) {
3629
- debug += ', ' + debugString(val[i]);
3630
- }
3631
- debug += ']';
3632
- return debug;
3633
- }
3634
- // Test for built-in
3635
- const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
3636
- let className;
3637
- if (builtInMatches && builtInMatches.length > 1) {
3638
- className = builtInMatches[1];
3639
- } else {
3640
- // Failed to match the standard '[object ClassName]'
3641
- return toString.call(val);
3642
- }
3643
- if (className == 'Object') {
3644
- // we're a user defined class or Object
3645
- // JSON.stringify avoids problems with cycles, and is generally much
3646
- // easier than looping through ownProperties of `val`.
3647
- try {
3648
- return 'Object(' + JSON.stringify(val) + ')';
3649
- } catch (_) {
3650
- return 'Object';
3651
- }
3652
- }
3653
- // errors
3654
- if (val instanceof Error) {
3655
- return `${val.name}: ${val.message}\n${val.stack}`;
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
3656
3729
  }
3657
- // TODO we could test for more things here, like `Set`s and `Map`s.
3658
- return className;
3659
- }
3660
-
3661
- function dropObject(idx) {
3662
- if (idx < 1028) return;
3663
- heap[idx] = heap_next;
3664
- heap_next = idx;
3665
3730
  }
3666
3731
 
3667
3732
  function getArrayF32FromWasm0(ptr, len) {
@@ -3740,7 +3805,8 @@ function getInt8ArrayMemory0() {
3740
3805
  }
3741
3806
 
3742
3807
  function getStringFromWasm0(ptr, len) {
3743
- return decodeText(ptr >>> 0, len);
3808
+ ptr = ptr >>> 0;
3809
+ return decodeText(getUint8ArrayMemory0().subarray(ptr, ptr + len));
3744
3810
  }
3745
3811
 
3746
3812
  let cachedUint16ArrayMemory0 = null;
@@ -3767,21 +3833,15 @@ function getUint8ArrayMemory0() {
3767
3833
  return cachedUint8ArrayMemory0;
3768
3834
  }
3769
3835
 
3770
- function getObject(idx) { return heap[idx]; }
3771
-
3772
3836
  function handleError(f, args) {
3773
3837
  try {
3774
3838
  return f.apply(this, args);
3775
3839
  } catch (e) {
3776
- wasm.__wbindgen_export3(addHeapObject(e));
3840
+ const idx = addToExternrefTable0(e);
3841
+ wasm.__wbindgen_export5(idx);
3777
3842
  }
3778
3843
  }
3779
3844
 
3780
- let heap = new Array(1024).fill(undefined);
3781
- heap.push(undefined, null, true, false);
3782
-
3783
- let heap_next = heap.length;
3784
-
3785
3845
  function isLikeNone(x) {
3786
3846
  return x === undefined || x === null;
3787
3847
  }
@@ -3821,7 +3881,7 @@ function makeMutClosure(arg0, arg1, f) {
3821
3881
  };
3822
3882
  real._wbg_cb_unref = () => {
3823
3883
  if (--state.cnt === 0) {
3824
- wasm.__wbindgen_export5(state.a, state.b);
3884
+ wasm.__wbindgen_export6(state.a, state.b);
3825
3885
  state.a = 0;
3826
3886
  CLOSURE_DTORS.unregister(state);
3827
3887
  }
@@ -3868,26 +3928,24 @@ function passStringToWasm0(arg, malloc, realloc) {
3868
3928
  return ptr;
3869
3929
  }
3870
3930
 
3871
- let stack_pointer = 1024;
3872
-
3873
- function takeObject(idx) {
3874
- const ret = getObject(idx);
3875
- dropObject(idx);
3876
- return ret;
3931
+ function takeFromExternrefTable0(idx) {
3932
+ const value = wasm.__wbindgen_externrefs.get(idx);
3933
+ wasm.__wbindgen_export7(idx);
3934
+ return value;
3877
3935
  }
3878
3936
 
3879
- let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
3937
+ let cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true });
3880
3938
  cachedTextDecoder.decode();
3881
3939
  const MAX_SAFARI_DECODE_BYTES = 2146435072;
3882
3940
  let numBytesDecoded = 0;
3883
- function decodeText(ptr, len) {
3884
- numBytesDecoded += len;
3941
+ function decodeText(bytes) {
3942
+ numBytesDecoded += bytes.length;
3885
3943
  if (numBytesDecoded >= MAX_SAFARI_DECODE_BYTES) {
3886
- cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true, fatal: true });
3944
+ cachedTextDecoder = new TextDecoder('utf-8', { ignoreBOM: true });
3887
3945
  cachedTextDecoder.decode();
3888
- numBytesDecoded = len;
3946
+ numBytesDecoded = bytes.length;
3889
3947
  }
3890
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
3948
+ return cachedTextDecoder.decode(bytes);
3891
3949
  }
3892
3950
 
3893
3951
  const cachedTextEncoder = new TextEncoder();
@@ -3922,6 +3980,7 @@ function __wbg_finalize_init(instance, module) {
3922
3980
  cachedUint16ArrayMemory0 = null;
3923
3981
  cachedUint32ArrayMemory0 = null;
3924
3982
  cachedUint8ArrayMemory0 = null;
3983
+ wasm.__wbindgen_start();
3925
3984
  return wasm;
3926
3985
  }
3927
3986
 
@@ -3984,9 +4043,17 @@ function initSync(module) {
3984
4043
  return __wbg_finalize_init(instance, module);
3985
4044
  }
3986
4045
 
4046
+ let __wbg_init_promise;
3987
4047
  async function __wbg_init(module_or_path) {
3988
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
+ }
3989
4055
 
4056
+ async function __wbg_init_once(module_or_path) {
3990
4057
 
3991
4058
  if (module_or_path !== undefined) {
3992
4059
  if (Object.getPrototypeOf(module_or_path) === Object.prototype) {