@navaramap/engine 0.0.1 → 0.0.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.
package/navara_wasm.js CHANGED
@@ -2,7 +2,6 @@
2
2
 
3
3
  export class Aabb {
4
4
  static __wrap(ptr) {
5
- ptr = ptr >>> 0;
6
5
  const obj = Object.create(Aabb.prototype);
7
6
  obj.__wbg_ptr = ptr;
8
7
  AabbFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -28,7 +27,7 @@ export class Aabb {
28
27
  _assertClass(extent, Vec3);
29
28
  var ptr1 = extent.__destroy_into_raw();
30
29
  const ret = wasm.aabb_new(ptr0, ptr1);
31
- this.__wbg_ptr = ret >>> 0;
30
+ this.__wbg_ptr = ret;
32
31
  AabbFinalization.register(this, this.__wbg_ptr, this);
33
32
  return this;
34
33
  }
@@ -152,7 +151,6 @@ if (Symbol.dispose) B3dmLayerDescription.prototype[Symbol.dispose] = B3dmLayerDe
152
151
 
153
152
  export class BatchPropResult {
154
153
  static __wrap(ptr) {
155
- ptr = ptr >>> 0;
156
154
  const obj = Object.create(BatchPropResult.prototype);
157
155
  obj.__wbg_ptr = ptr;
158
156
  BatchPropResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -206,7 +204,6 @@ if (Symbol.dispose) BatchPropResult.prototype[Symbol.dispose] = BatchPropResult.
206
204
 
207
205
  export class BillboardMaterial {
208
206
  static __wrap(ptr) {
209
- ptr = ptr >>> 0;
210
207
  const obj = Object.create(BillboardMaterial.prototype);
211
208
  obj.__wbg_ptr = ptr;
212
209
  BillboardMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -227,7 +224,7 @@ export class BillboardMaterial {
227
224
  */
228
225
  get alphaTest() {
229
226
  const ret = wasm.__wbg_get_billboardmaterial_alphaTest(this.__wbg_ptr);
230
- return ret === 0x100000001 ? undefined : ret;
227
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
231
228
  }
232
229
  /**
233
230
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
@@ -250,7 +247,26 @@ export class BillboardMaterial {
250
247
  */
251
248
  get color() {
252
249
  const ret = wasm.__wbg_get_billboardmaterial_color(this.__wbg_ptr);
253
- return ret === 0x100000001 ? undefined : ret;
250
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
251
+ }
252
+ /**
253
+ * Placement priority for decluttering; higher wins. Only meaningful when
254
+ * `declutter` is enabled. Defaults to `0.0`.
255
+ * @returns {number | undefined}
256
+ */
257
+ get declutterPriority() {
258
+ const ret = wasm.__wbg_get_billboardmaterial_declutterPriority(this.__wbg_ptr);
259
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
260
+ }
261
+ /**
262
+ * Participate in screen-space decluttering: when labels/sprites overlap
263
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
264
+ * `false` to draw every label unconditionally.
265
+ * @returns {boolean | undefined}
266
+ */
267
+ get declutter() {
268
+ const ret = wasm.__wbg_get_billboardmaterial_declutter(this.__wbg_ptr);
269
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
254
270
  }
255
271
  /**
256
272
  * @returns {boolean | undefined}
@@ -278,7 +294,7 @@ export class BillboardMaterial {
278
294
  */
279
295
  get emissiveColor() {
280
296
  const ret = wasm.__wbg_get_billboardmaterial_emissiveColor(this.__wbg_ptr);
281
- return ret === 0x100000001 ? undefined : ret;
297
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
282
298
  }
283
299
  /**
284
300
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -286,14 +302,14 @@ export class BillboardMaterial {
286
302
  */
287
303
  get emissiveIntensity() {
288
304
  const ret = wasm.__wbg_get_billboardmaterial_emissiveIntensity(this.__wbg_ptr);
289
- return ret === 0x100000001 ? undefined : ret;
305
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
290
306
  }
291
307
  /**
292
308
  * @returns {number | undefined}
293
309
  */
294
310
  get height() {
295
311
  const ret = wasm.__wbg_get_billboardmaterial_height(this.__wbg_ptr);
296
- return ret === 0x100000001 ? undefined : ret;
312
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
297
313
  }
298
314
  /**
299
315
  * Avoid overlapping with the globe surface.
@@ -308,7 +324,7 @@ export class BillboardMaterial {
308
324
  */
309
325
  get opacity() {
310
326
  const ret = wasm.__wbg_get_billboardmaterial_opacity(this.__wbg_ptr);
311
- return ret === 0x100000001 ? undefined : ret;
327
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
312
328
  }
313
329
  /**
314
330
  * @returns {boolean | undefined}
@@ -331,7 +347,7 @@ export class BillboardMaterial {
331
347
  */
332
348
  get size() {
333
349
  const ret = wasm.__wbg_get_billboardmaterial_size(this.__wbg_ptr);
334
- return ret === 0x100000001 ? undefined : ret;
350
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
335
351
  }
336
352
  /**
337
353
  * @returns {boolean | undefined}
@@ -356,7 +372,7 @@ export class BillboardMaterial {
356
372
  * @param {number | null} [arg0]
357
373
  */
358
374
  set alphaTest(arg0) {
359
- wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
375
+ wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
360
376
  }
361
377
  /**
362
378
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
@@ -381,7 +397,24 @@ export class BillboardMaterial {
381
397
  * @param {number | null} [arg0]
382
398
  */
383
399
  set color(arg0) {
384
- wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
400
+ wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
401
+ }
402
+ /**
403
+ * Placement priority for decluttering; higher wins. Only meaningful when
404
+ * `declutter` is enabled. Defaults to `0.0`.
405
+ * @param {number | null} [arg0]
406
+ */
407
+ set declutterPriority(arg0) {
408
+ wasm.__wbg_set_billboardmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
409
+ }
410
+ /**
411
+ * Participate in screen-space decluttering: when labels/sprites overlap
412
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
413
+ * `false` to draw every label unconditionally.
414
+ * @param {boolean | null} [arg0]
415
+ */
416
+ set declutter(arg0) {
417
+ wasm.__wbg_set_billboardmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
385
418
  }
386
419
  /**
387
420
  * @param {boolean | null} [arg0]
@@ -403,20 +436,20 @@ export class BillboardMaterial {
403
436
  * @param {number | null} [arg0]
404
437
  */
405
438
  set emissiveColor(arg0) {
406
- wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
439
+ wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
407
440
  }
408
441
  /**
409
442
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
410
443
  * @param {number | null} [arg0]
411
444
  */
412
445
  set emissiveIntensity(arg0) {
413
- wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
446
+ wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
414
447
  }
415
448
  /**
416
449
  * @param {number | null} [arg0]
417
450
  */
418
451
  set height(arg0) {
419
- wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
452
+ wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
420
453
  }
421
454
  /**
422
455
  * Avoid overlapping with the globe surface.
@@ -429,7 +462,7 @@ export class BillboardMaterial {
429
462
  * @param {number | null} [arg0]
430
463
  */
431
464
  set opacity(arg0) {
432
- wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
465
+ wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
433
466
  }
434
467
  /**
435
468
  * @param {boolean | null} [arg0]
@@ -449,7 +482,7 @@ export class BillboardMaterial {
449
482
  * @param {number | null} [arg0]
450
483
  */
451
484
  set size(arg0) {
452
- wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
485
+ wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
453
486
  }
454
487
  /**
455
488
  * @param {boolean | null} [arg0]
@@ -470,7 +503,6 @@ if (Symbol.dispose) BillboardMaterial.prototype[Symbol.dispose] = BillboardMater
470
503
 
471
504
  export class BillboardMesh {
472
505
  static __wrap(ptr) {
473
- ptr = ptr >>> 0;
474
506
  const obj = Object.create(BillboardMesh.prototype);
475
507
  obj.__wbg_ptr = ptr;
476
508
  BillboardMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -562,7 +594,6 @@ if (Symbol.dispose) BillboardMesh.prototype[Symbol.dispose] = BillboardMesh.prot
562
594
 
563
595
  export class BoundingSphere {
564
596
  static __wrap(ptr) {
565
- ptr = ptr >>> 0;
566
597
  const obj = Object.create(BoundingSphere.prototype);
567
598
  obj.__wbg_ptr = ptr;
568
599
  BoundingSphereFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -586,7 +617,7 @@ export class BoundingSphere {
586
617
  */
587
618
  constructor(center_x, center_y, center_z, radius) {
588
619
  const ret = wasm.boundingsphere_new(center_x, center_y, center_z, radius);
589
- this.__wbg_ptr = ret >>> 0;
620
+ this.__wbg_ptr = ret;
590
621
  BoundingSphereFinalization.register(this, this.__wbg_ptr, this);
591
622
  return this;
592
623
  }
@@ -662,7 +693,6 @@ export const CRS = Object.freeze({
662
693
 
663
694
  export class CachedMeshHandle {
664
695
  static __wrap(ptr) {
665
- ptr = ptr >>> 0;
666
696
  const obj = Object.create(CachedMeshHandle.prototype);
667
697
  obj.__wbg_ptr = ptr;
668
698
  CachedMeshHandleFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -685,8 +715,8 @@ export class CachedMeshHandle {
685
715
  * @param {number | null} [heights]
686
716
  */
687
717
  constructor(vertices, indices, uvs, heights) {
688
- const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? 0x100000001 : (heights) >> 0);
689
- this.__wbg_ptr = ret >>> 0;
718
+ const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? Number.MAX_SAFE_INTEGER : (heights) >> 0);
719
+ this.__wbg_ptr = ret;
690
720
  CachedMeshHandleFinalization.register(this, this.__wbg_ptr, this);
691
721
  return this;
692
722
  }
@@ -695,7 +725,7 @@ export class CachedMeshHandle {
695
725
  */
696
726
  get heights() {
697
727
  const ret = wasm.__wbg_get_cachedmeshhandle_heights(this.__wbg_ptr);
698
- return ret === 0x100000001 ? undefined : ret;
728
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
699
729
  }
700
730
  /**
701
731
  * @returns {number}
@@ -709,7 +739,7 @@ export class CachedMeshHandle {
709
739
  */
710
740
  get normals() {
711
741
  const ret = wasm.__wbg_get_cachedmeshhandle_normals(this.__wbg_ptr);
712
- return ret === 0x100000001 ? undefined : ret;
742
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
713
743
  }
714
744
  /**
715
745
  * @returns {number}
@@ -730,13 +760,13 @@ export class CachedMeshHandle {
730
760
  */
731
761
  get watermask() {
732
762
  const ret = wasm.__wbg_get_cachedmeshhandle_watermask(this.__wbg_ptr);
733
- return ret === 0x100000001 ? undefined : ret;
763
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
734
764
  }
735
765
  /**
736
766
  * @param {number | null} [arg0]
737
767
  */
738
768
  set heights(arg0) {
739
- wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
769
+ wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
740
770
  }
741
771
  /**
742
772
  * @param {number} arg0
@@ -748,7 +778,7 @@ export class CachedMeshHandle {
748
778
  * @param {number | null} [arg0]
749
779
  */
750
780
  set normals(arg0) {
751
- wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
781
+ wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
752
782
  }
753
783
  /**
754
784
  * @param {number} arg0
@@ -766,7 +796,7 @@ export class CachedMeshHandle {
766
796
  * @param {number | null} [arg0]
767
797
  */
768
798
  set watermask(arg0) {
769
- wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
799
+ wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
770
800
  }
771
801
  }
772
802
  if (Symbol.dispose) CachedMeshHandle.prototype[Symbol.dispose] = CachedMeshHandle.prototype.free;
@@ -790,7 +820,7 @@ export class CameraControlUpdateEvent {
790
820
  }
791
821
  constructor() {
792
822
  const ret = wasm.cameracontrolupdateevent_new();
793
- this.__wbg_ptr = ret >>> 0;
823
+ this.__wbg_ptr = ret;
794
824
  CameraControlUpdateEventFinalization.register(this, this.__wbg_ptr, this);
795
825
  return this;
796
826
  }
@@ -866,7 +896,7 @@ export class CameraControlUpdateEvent {
866
896
  */
867
897
  get spinDuration() {
868
898
  const ret = wasm.__wbg_get_cameracontrolupdateevent_spinDuration(this.__wbg_ptr);
869
- return ret === 0x100000001 ? undefined : ret;
899
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
870
900
  }
871
901
  /**
872
902
  * Multiplier for mouse drag rotation speed.
@@ -886,7 +916,7 @@ export class CameraControlUpdateEvent {
886
916
  */
887
917
  get translateDuration() {
888
918
  const ret = wasm.__wbg_get_cameracontrolupdateevent_translateDuration(this.__wbg_ptr);
889
- return ret === 0x100000001 ? undefined : ret;
919
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
890
920
  }
891
921
  /**
892
922
  * Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
@@ -896,7 +926,7 @@ export class CameraControlUpdateEvent {
896
926
  */
897
927
  get zoomDuration() {
898
928
  const ret = wasm.__wbg_get_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr);
899
- return ret === 0x100000001 ? undefined : ret;
929
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
900
930
  }
901
931
  /**
902
932
  * Multiplier for scroll wheel zoom speed.
@@ -973,7 +1003,7 @@ export class CameraControlUpdateEvent {
973
1003
  * @param {number | null} [arg0]
974
1004
  */
975
1005
  set spinDuration(arg0) {
976
- wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
1006
+ wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
977
1007
  }
978
1008
  /**
979
1009
  * Multiplier for mouse drag rotation speed.
@@ -991,7 +1021,7 @@ export class CameraControlUpdateEvent {
991
1021
  * @param {number | null} [arg0]
992
1022
  */
993
1023
  set translateDuration(arg0) {
994
- wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
1024
+ wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
995
1025
  }
996
1026
  /**
997
1027
  * Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
@@ -1000,7 +1030,7 @@ export class CameraControlUpdateEvent {
1000
1030
  * @param {number | null} [arg0]
1001
1031
  */
1002
1032
  set zoomDuration(arg0) {
1003
- wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
1033
+ wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
1004
1034
  }
1005
1035
  /**
1006
1036
  * Multiplier for scroll wheel zoom speed.
@@ -1028,7 +1058,6 @@ export const CameraDirection = Object.freeze({
1028
1058
 
1029
1059
  export class CameraFrustum {
1030
1060
  static __wrap(ptr) {
1031
- ptr = ptr >>> 0;
1032
1061
  const obj = Object.create(CameraFrustum.prototype);
1033
1062
  obj.__wbg_ptr = ptr;
1034
1063
  CameraFrustumFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1052,7 +1081,7 @@ export class CameraFrustum {
1052
1081
  */
1053
1082
  constructor(near, far, fov, aspect_ratio) {
1054
1083
  const ret = wasm.camerafrustum_new(near, far, fov, aspect_ratio);
1055
- this.__wbg_ptr = ret >>> 0;
1084
+ this.__wbg_ptr = ret;
1056
1085
  CameraFrustumFinalization.register(this, this.__wbg_ptr, this);
1057
1086
  return this;
1058
1087
  }
@@ -1113,7 +1142,6 @@ if (Symbol.dispose) CameraFrustum.prototype[Symbol.dispose] = CameraFrustum.prot
1113
1142
 
1114
1143
  export class CameraOrientation {
1115
1144
  static __wrap(ptr) {
1116
- ptr = ptr >>> 0;
1117
1145
  const obj = Object.create(CameraOrientation.prototype);
1118
1146
  obj.__wbg_ptr = ptr;
1119
1147
  CameraOrientationFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1173,7 +1201,6 @@ if (Symbol.dispose) CameraOrientation.prototype[Symbol.dispose] = CameraOrientat
1173
1201
 
1174
1202
  export class CameraStatus {
1175
1203
  static __wrap(ptr) {
1176
- ptr = ptr >>> 0;
1177
1204
  const obj = Object.create(CameraStatus.prototype);
1178
1205
  obj.__wbg_ptr = ptr;
1179
1206
  CameraStatusFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1376,7 +1403,7 @@ export class CompiledExpression {
1376
1403
  if (ret[2]) {
1377
1404
  throw takeFromExternrefTable0(ret[1]);
1378
1405
  }
1379
- this.__wbg_ptr = ret[0] >>> 0;
1406
+ this.__wbg_ptr = ret[0];
1380
1407
  CompiledExpressionFinalization.register(this, this.__wbg_ptr, this);
1381
1408
  return this;
1382
1409
  }
@@ -1404,7 +1431,7 @@ export class CompiledFilter {
1404
1431
  if (ret[2]) {
1405
1432
  throw takeFromExternrefTable0(ret[1]);
1406
1433
  }
1407
- this.__wbg_ptr = ret[0] >>> 0;
1434
+ this.__wbg_ptr = ret[0];
1408
1435
  CompiledFilterFinalization.register(this, this.__wbg_ptr, this);
1409
1436
  return this;
1410
1437
  }
@@ -1434,7 +1461,6 @@ if (Symbol.dispose) CompiledFilter.prototype[Symbol.dispose] = CompiledFilter.pr
1434
1461
 
1435
1462
  export class ConstructPolygonBatchedFeatureParameters {
1436
1463
  static __wrap(ptr) {
1437
- ptr = ptr >>> 0;
1438
1464
  const obj = Object.create(ConstructPolygonBatchedFeatureParameters.prototype);
1439
1465
  obj.__wbg_ptr = ptr;
1440
1466
  ConstructPolygonBatchedFeatureParametersFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1501,7 +1527,6 @@ if (Symbol.dispose) ConstructPolygonBatchedFeatureParameters.prototype[Symbol.di
1501
1527
 
1502
1528
  export class ConstructPolygonBatchedFeatureResult {
1503
1529
  static __wrap(ptr) {
1504
- ptr = ptr >>> 0;
1505
1530
  const obj = Object.create(ConstructPolygonBatchedFeatureResult.prototype);
1506
1531
  obj.__wbg_ptr = ptr;
1507
1532
  ConstructPolygonBatchedFeatureResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1542,7 +1567,7 @@ export class ConstructPolygonBatchedFeatureResult {
1542
1567
  ptr3 = rtc_translation.__destroy_into_raw();
1543
1568
  }
1544
1569
  const ret = wasm.constructpolygonbatchedfeatureresult_new(ptr0, ptr1, ptr2, ptr3);
1545
- this.__wbg_ptr = ret >>> 0;
1570
+ this.__wbg_ptr = ret;
1546
1571
  ConstructPolygonBatchedFeatureResultFinalization.register(this, this.__wbg_ptr, this);
1547
1572
  return this;
1548
1573
  }
@@ -1622,7 +1647,6 @@ if (Symbol.dispose) ConstructPolygonBatchedFeatureResult.prototype[Symbol.dispos
1622
1647
 
1623
1648
  export class ConstructPolylineBatchedFeatureParameters {
1624
1649
  static __wrap(ptr) {
1625
- ptr = ptr >>> 0;
1626
1650
  const obj = Object.create(ConstructPolylineBatchedFeatureParameters.prototype);
1627
1651
  obj.__wbg_ptr = ptr;
1628
1652
  ConstructPolylineBatchedFeatureParametersFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1678,7 +1702,6 @@ if (Symbol.dispose) ConstructPolylineBatchedFeatureParameters.prototype[Symbol.d
1678
1702
 
1679
1703
  export class ConstructPolylineBatchedFeatureResult {
1680
1704
  static __wrap(ptr) {
1681
- ptr = ptr >>> 0;
1682
1705
  const obj = Object.create(ConstructPolylineBatchedFeatureResult.prototype);
1683
1706
  obj.__wbg_ptr = ptr;
1684
1707
  ConstructPolylineBatchedFeatureResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1714,7 +1737,7 @@ export class ConstructPolylineBatchedFeatureResult {
1714
1737
  ptr1 = extent.__destroy_into_raw();
1715
1738
  }
1716
1739
  const ret = wasm.constructpolylinebatchedfeatureresult_new(ptr0, ptr1);
1717
- this.__wbg_ptr = ret >>> 0;
1740
+ this.__wbg_ptr = ret;
1718
1741
  ConstructPolylineBatchedFeatureResultFinalization.register(this, this.__wbg_ptr, this);
1719
1742
  return this;
1720
1743
  }
@@ -1738,7 +1761,6 @@ if (Symbol.dispose) ConstructPolylineBatchedFeatureResult.prototype[Symbol.dispo
1738
1761
 
1739
1762
  export class ConstructTerrainMeshParameters {
1740
1763
  static __wrap(ptr) {
1741
- ptr = ptr >>> 0;
1742
1764
  const obj = Object.create(ConstructTerrainMeshParameters.prototype);
1743
1765
  obj.__wbg_ptr = ptr;
1744
1766
  ConstructTerrainMeshParametersFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1867,7 +1889,6 @@ if (Symbol.dispose) ConstructTerrainMeshParameters.prototype[Symbol.dispose] = C
1867
1889
 
1868
1890
  export class ConstructTerrainMeshResult {
1869
1891
  static __wrap(ptr) {
1870
- ptr = ptr >>> 0;
1871
1892
  const obj = Object.create(ConstructTerrainMeshResult.prototype);
1872
1893
  obj.__wbg_ptr = ptr;
1873
1894
  ConstructTerrainMeshResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1899,7 +1920,7 @@ export class ConstructTerrainMeshResult {
1899
1920
  ptr1 = rtc_translation.__destroy_into_raw();
1900
1921
  }
1901
1922
  const ret = wasm.constructterrainmeshresult_new(ptr0, heights, min_height, max_height, ptr1);
1902
- this.__wbg_ptr = ret >>> 0;
1923
+ this.__wbg_ptr = ret;
1903
1924
  ConstructTerrainMeshResultFinalization.register(this, this.__wbg_ptr, this);
1904
1925
  return this;
1905
1926
  }
@@ -1943,7 +1964,7 @@ export class ConstructTerrainMeshResult {
1943
1964
  */
1944
1965
  get watermask() {
1945
1966
  const ret = wasm.__wbg_get_constructterrainmeshresult_watermask(this.__wbg_ptr);
1946
- return ret === 0x100000001 ? undefined : ret;
1967
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
1947
1968
  }
1948
1969
  /**
1949
1970
  * @param {TransferableGeometry} arg0
@@ -1986,7 +2007,7 @@ export class ConstructTerrainMeshResult {
1986
2007
  * @param {number | null} [arg0]
1987
2008
  */
1988
2009
  set watermask(arg0) {
1989
- wasm.__wbg_set_constructterrainmeshresult_watermask(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
2010
+ wasm.__wbg_set_constructterrainmeshresult_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
1990
2011
  }
1991
2012
  }
1992
2013
  if (Symbol.dispose) ConstructTerrainMeshResult.prototype[Symbol.dispose] = ConstructTerrainMeshResult.prototype.free;
@@ -2161,7 +2182,6 @@ if (Symbol.dispose) ConstructedPolygonGeometry.prototype[Symbol.dispose] = Const
2161
2182
 
2162
2183
  export class ConstructedPolygonOutlineGeometry {
2163
2184
  static __wrap(ptr) {
2164
- ptr = ptr >>> 0;
2165
2185
  const obj = Object.create(ConstructedPolygonOutlineGeometry.prototype);
2166
2186
  obj.__wbg_ptr = ptr;
2167
2187
  ConstructedPolygonOutlineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2598,7 +2618,7 @@ export class Core {
2598
2618
  */
2599
2619
  genGlobalBatchId() {
2600
2620
  const ret = wasm.core_genGlobalBatchId(this.__wbg_ptr);
2601
- return ret === 0x100000001 ? undefined : ret;
2621
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2602
2622
  }
2603
2623
  /**
2604
2624
  * @param {number} handle
@@ -2689,7 +2709,7 @@ export class Core {
2689
2709
  */
2690
2710
  getGlobeColor() {
2691
2711
  const ret = wasm.core_getGlobeColor(this.__wbg_ptr);
2692
- return ret === 0x100000001 ? undefined : ret;
2712
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2693
2713
  }
2694
2714
  /**
2695
2715
  * @returns {Float32Array | undefined}
@@ -2715,21 +2735,21 @@ export class Core {
2715
2735
  */
2716
2736
  getGlobeMaxSse() {
2717
2737
  const ret = wasm.core_getGlobeMaxSse(this.__wbg_ptr);
2718
- return ret === 0x100000001 ? undefined : ret;
2738
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2719
2739
  }
2720
2740
  /**
2721
2741
  * @returns {number | undefined}
2722
2742
  */
2723
2743
  getGlobeOpacity() {
2724
2744
  const ret = wasm.core_getGlobeOpacity(this.__wbg_ptr);
2725
- return ret === 0x100000001 ? undefined : ret;
2745
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2726
2746
  }
2727
2747
  /**
2728
2748
  * @returns {number | undefined}
2729
2749
  */
2730
2750
  getGlobeSegments() {
2731
2751
  const ret = wasm.core_getGlobeSegments(this.__wbg_ptr);
2732
- return ret === 0x100000001 ? undefined : ret;
2752
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2733
2753
  }
2734
2754
  /**
2735
2755
  * @returns {boolean | undefined}
@@ -2760,7 +2780,7 @@ export class Core {
2760
2780
  const ptr0 = passStringToWasm0(layer_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2761
2781
  const len0 = WASM_VECTOR_LEN;
2762
2782
  const ret = wasm.core_getLayerIndex(this.__wbg_ptr, ptr0, len0);
2763
- return ret === 0x100000001 ? undefined : ret;
2783
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2764
2784
  }
2765
2785
  /**
2766
2786
  * @param {ReconstructableEntity} martini_id
@@ -2914,7 +2934,7 @@ export class Core {
2914
2934
  const ptr0 = passStringToWasm0(id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
2915
2935
  const len0 = WASM_VECTOR_LEN;
2916
2936
  const ret = wasm.core_new(ptr0, len0);
2917
- this.__wbg_ptr = ret >>> 0;
2937
+ this.__wbg_ptr = ret;
2918
2938
  CoreFinalization.register(this, this.__wbg_ptr, this);
2919
2939
  return this;
2920
2940
  }
@@ -2925,7 +2945,7 @@ export class Core {
2925
2945
  */
2926
2946
  newBufferF32(byte_length, f) {
2927
2947
  const ret = wasm.core_newBufferF32(this.__wbg_ptr, byte_length, f);
2928
- return ret === 0x100000001 ? undefined : ret;
2948
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2929
2949
  }
2930
2950
  /**
2931
2951
  * @param {Float32Array} data
@@ -2935,7 +2955,7 @@ export class Core {
2935
2955
  const ptr0 = passArrayF32ToWasm0(data, wasm.__wbindgen_malloc);
2936
2956
  const len0 = WASM_VECTOR_LEN;
2937
2957
  const ret = wasm.core_newBufferF32Cloned(this.__wbg_ptr, ptr0, len0);
2938
- return ret === 0x100000001 ? undefined : ret;
2958
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2939
2959
  }
2940
2960
  /**
2941
2961
  * @param {number} byte_length
@@ -2944,7 +2964,7 @@ export class Core {
2944
2964
  */
2945
2965
  newBufferF64(byte_length, f) {
2946
2966
  const ret = wasm.core_newBufferF64(this.__wbg_ptr, byte_length, f);
2947
- return ret === 0x100000001 ? undefined : ret;
2967
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2948
2968
  }
2949
2969
  /**
2950
2970
  * @param {number} byte_length
@@ -2953,7 +2973,7 @@ export class Core {
2953
2973
  */
2954
2974
  newBufferU32(byte_length, f) {
2955
2975
  const ret = wasm.core_newBufferU32(this.__wbg_ptr, byte_length, f);
2956
- return ret === 0x100000001 ? undefined : ret;
2976
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2957
2977
  }
2958
2978
  /**
2959
2979
  * @param {Uint32Array} data
@@ -2963,7 +2983,7 @@ export class Core {
2963
2983
  const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
2964
2984
  const len0 = WASM_VECTOR_LEN;
2965
2985
  const ret = wasm.core_newBufferU32Cloned(this.__wbg_ptr, ptr0, len0);
2966
- return ret === 0x100000001 ? undefined : ret;
2986
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2967
2987
  }
2968
2988
  /**
2969
2989
  * @param {number} byte_length
@@ -2972,7 +2992,7 @@ export class Core {
2972
2992
  */
2973
2993
  newBufferU8(byte_length, f) {
2974
2994
  const ret = wasm.core_newBufferU8(this.__wbg_ptr, byte_length, f);
2975
- return ret === 0x100000001 ? undefined : ret;
2995
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2976
2996
  }
2977
2997
  /**
2978
2998
  * @param {Uint8Array} data
@@ -2982,7 +3002,7 @@ export class Core {
2982
3002
  const ptr0 = passArray8ToWasm0(data, wasm.__wbindgen_malloc);
2983
3003
  const len0 = WASM_VECTOR_LEN;
2984
3004
  const ret = wasm.core_newBufferU8Cloned(this.__wbg_ptr, ptr0, len0);
2985
- return ret === 0x100000001 ? undefined : ret;
3005
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2986
3006
  }
2987
3007
  /**
2988
3008
  * @param {number} byte_length
@@ -2990,7 +3010,7 @@ export class Core {
2990
3010
  */
2991
3011
  newExternalBuffer(byte_length) {
2992
3012
  const ret = wasm.core_newExternalBuffer(this.__wbg_ptr, byte_length);
2993
- return ret === 0x100000001 ? undefined : ret;
3013
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2994
3014
  }
2995
3015
  /**
2996
3016
  * Monotonic revision that changes only when the raster drape resolution could have
@@ -3183,6 +3203,16 @@ export class Core {
3183
3203
  setExternalBuffer(handle, bits, byte_length) {
3184
3204
  wasm.core_setExternalBuffer(this.__wbg_ptr, handle, bits, byte_length);
3185
3205
  }
3206
+ /**
3207
+ * Reports the estimated GPU bytes of fixed, screen-sized allocations
3208
+ * (the postprocessing render-target stack). Counted in the ledger's
3209
+ * usage so the tile budget binds against the remaining memory. The JS
3210
+ * side re-reports on init, resize, and pass-list changes.
3211
+ * @param {number} bytes
3212
+ */
3213
+ setFixedGpuBytes(bytes) {
3214
+ wasm.core_setFixedGpuBytes(this.__wbg_ptr, bytes);
3215
+ }
3186
3216
  /**
3187
3217
  * @param {number | null} [fov]
3188
3218
  * @param {number | null} [near]
@@ -3403,7 +3433,6 @@ if (Symbol.dispose) Core.prototype[Symbol.dispose] = Core.prototype.free;
3403
3433
 
3404
3434
  export class DataRequestEvent {
3405
3435
  static __wrap(ptr) {
3406
- ptr = ptr >>> 0;
3407
3436
  const obj = Object.create(DataRequestEvent.prototype);
3408
3437
  obj.__wbg_ptr = ptr;
3409
3438
  DataRequestEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -3606,7 +3635,6 @@ if (Symbol.dispose) DataRequestEvent.prototype[Symbol.dispose] = DataRequestEven
3606
3635
 
3607
3636
  export class DataRequesterRemovedEvent {
3608
3637
  static __wrap(ptr) {
3609
- ptr = ptr >>> 0;
3610
3638
  const obj = Object.create(DataRequesterRemovedEvent.prototype);
3611
3639
  obj.__wbg_ptr = ptr;
3612
3640
  DataRequesterRemovedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -3679,7 +3707,6 @@ if (Symbol.dispose) DataRequesterRemovedEvent.prototype[Symbol.dispose] = DataRe
3679
3707
 
3680
3708
  export class DelegatedWorkerTasksParameters {
3681
3709
  static __wrap(ptr) {
3682
- ptr = ptr >>> 0;
3683
3710
  const obj = Object.create(DelegatedWorkerTasksParameters.prototype);
3684
3711
  obj.__wbg_ptr = ptr;
3685
3712
  DelegatedWorkerTasksParametersFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -3805,7 +3832,6 @@ if (Symbol.dispose) DelegatedWorkerTasksParameters.prototype[Symbol.dispose] = D
3805
3832
 
3806
3833
  export class DelegatedWorkerTasksResult {
3807
3834
  static __wrap(ptr) {
3808
- ptr = ptr >>> 0;
3809
3835
  const obj = Object.create(DelegatedWorkerTasksResult.prototype);
3810
3836
  obj.__wbg_ptr = ptr;
3811
3837
  DelegatedWorkerTasksResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -4039,7 +4065,7 @@ export class DynamicSse {
4039
4065
  */
4040
4066
  constructor(enabled, density, sse_factor, height_falloff, min_height, max_height) {
4041
4067
  const ret = wasm.dynamicsse_new(enabled, density, sse_factor, height_falloff, min_height, max_height);
4042
- this.__wbg_ptr = ret >>> 0;
4068
+ this.__wbg_ptr = ret;
4043
4069
  DynamicSseFinalization.register(this, this.__wbg_ptr, this);
4044
4070
  return this;
4045
4071
  }
@@ -4134,7 +4160,6 @@ if (Symbol.dispose) DynamicSse.prototype[Symbol.dispose] = DynamicSse.prototype.
4134
4160
 
4135
4161
  export class ElevationDecoder {
4136
4162
  static __wrap(ptr) {
4137
- ptr = ptr >>> 0;
4138
4163
  const obj = Object.create(ElevationDecoder.prototype);
4139
4164
  obj.__wbg_ptr = ptr;
4140
4165
  ElevationDecoderFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -4176,7 +4201,7 @@ export class ElevationDecoder {
4176
4201
  */
4177
4202
  constructor(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon) {
4178
4203
  const ret = wasm.elevationdecoder_new(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon);
4179
- this.__wbg_ptr = ret >>> 0;
4204
+ this.__wbg_ptr = ret;
4180
4205
  ElevationDecoderFinalization.register(this, this.__wbg_ptr, this);
4181
4206
  return this;
4182
4207
  }
@@ -4300,7 +4325,6 @@ if (Symbol.dispose) ElevationDecoder.prototype[Symbol.dispose] = ElevationDecode
4300
4325
  */
4301
4326
  export class ElevationHeatmapMaterial {
4302
4327
  static __wrap(ptr) {
4303
- ptr = ptr >>> 0;
4304
4328
  const obj = Object.create(ElevationHeatmapMaterial.prototype);
4305
4329
  obj.__wbg_ptr = ptr;
4306
4330
  ElevationHeatmapMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -4410,7 +4434,7 @@ export class EllipsoidGeodesic {
4410
4434
  _assertClass(end, LLE);
4411
4435
  var ptr1 = end.__destroy_into_raw();
4412
4436
  const ret = wasm.ellipsoidgeodesic_new(ptr0, ptr1);
4413
- this.__wbg_ptr = ret >>> 0;
4437
+ this.__wbg_ptr = ret;
4414
4438
  EllipsoidGeodesicFinalization.register(this, this.__wbg_ptr, this);
4415
4439
  return this;
4416
4440
  }
@@ -4507,7 +4531,7 @@ export class EncodedVec3 {
4507
4531
  _assertClass(low, Vec3);
4508
4532
  var ptr1 = low.__destroy_into_raw();
4509
4533
  const ret = wasm.encodedvec3_new(ptr0, ptr1);
4510
- this.__wbg_ptr = ret >>> 0;
4534
+ this.__wbg_ptr = ret;
4511
4535
  EncodedVec3Finalization.register(this, this.__wbg_ptr, this);
4512
4536
  return this;
4513
4537
  }
@@ -4546,7 +4570,6 @@ if (Symbol.dispose) EncodedVec3.prototype[Symbol.dispose] = EncodedVec3.prototyp
4546
4570
 
4547
4571
  export class EntityEvent {
4548
4572
  static __wrap(ptr) {
4549
- ptr = ptr >>> 0;
4550
4573
  const obj = Object.create(EntityEvent.prototype);
4551
4574
  obj.__wbg_ptr = ptr;
4552
4575
  EntityEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -4593,7 +4616,6 @@ if (Symbol.dispose) EntityEvent.prototype[Symbol.dispose] = EntityEvent.prototyp
4593
4616
 
4594
4617
  export class Events {
4595
4618
  static __wrap(ptr) {
4596
- ptr = ptr >>> 0;
4597
4619
  const obj = Object.create(Events.prototype);
4598
4620
  obj.__wbg_ptr = ptr;
4599
4621
  EventsFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -4772,7 +4794,6 @@ if (Symbol.dispose) Events.prototype[Symbol.dispose] = Events.prototype.free;
4772
4794
 
4773
4795
  export class ExtentRadianF32 {
4774
4796
  static __wrap(ptr) {
4775
- ptr = ptr >>> 0;
4776
4797
  const obj = Object.create(ExtentRadianF32.prototype);
4777
4798
  obj.__wbg_ptr = ptr;
4778
4799
  ExtentRadianF32Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -4796,7 +4817,7 @@ export class ExtentRadianF32 {
4796
4817
  */
4797
4818
  constructor(west, south, east, north) {
4798
4819
  const ret = wasm.extentradianf32_new(west, south, east, north);
4799
- this.__wbg_ptr = ret >>> 0;
4820
+ this.__wbg_ptr = ret;
4800
4821
  ExtentRadianF32Finalization.register(this, this.__wbg_ptr, this);
4801
4822
  return this;
4802
4823
  }
@@ -4874,7 +4895,7 @@ export class FloatAttribute {
4874
4895
  const ptr0 = passArrayF32ToWasm0(data, wasm.__wbindgen_malloc);
4875
4896
  const len0 = WASM_VECTOR_LEN;
4876
4897
  const ret = wasm.floatattribute_new(ptr0, len0, size);
4877
- this.__wbg_ptr = ret >>> 0;
4898
+ this.__wbg_ptr = ret;
4878
4899
  FloatAttributeFinalization.register(this, this.__wbg_ptr, this);
4879
4900
  return this;
4880
4901
  }
@@ -5215,7 +5236,7 @@ export class Geometry {
5215
5236
  const ptr2 = passArrayF32ToWasm0(uvs, wasm.__wbindgen_malloc);
5216
5237
  const len2 = WASM_VECTOR_LEN;
5217
5238
  const ret = wasm.geometry_new(ptr0, len0, ptr1, len1, ptr2, len2);
5218
- this.__wbg_ptr = ret >>> 0;
5239
+ this.__wbg_ptr = ret;
5219
5240
  GeometryFinalization.register(this, this.__wbg_ptr, this);
5220
5241
  return this;
5221
5242
  }
@@ -5286,7 +5307,6 @@ if (Symbol.dispose) Geometry.prototype[Symbol.dispose] = Geometry.prototype.free
5286
5307
  */
5287
5308
  export class Globe {
5288
5309
  static __wrap(ptr) {
5289
- ptr = ptr >>> 0;
5290
5310
  const obj = Object.create(Globe.prototype);
5291
5311
  obj.__wbg_ptr = ptr;
5292
5312
  GlobeFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5405,7 +5425,7 @@ export class Globe {
5405
5425
  const ptr0 = passArrayF32ToWasm0(elevation_colormap, wasm.__wbindgen_malloc);
5406
5426
  const len0 = WASM_VECTOR_LEN;
5407
5427
  const ret = wasm.globe_new(max_sse, segments, color, hide_underground, use_normal, transparent, opacity, wireframe, ptr0, len0);
5408
- this.__wbg_ptr = ret >>> 0;
5428
+ this.__wbg_ptr = ret;
5409
5429
  GlobeFinalization.register(this, this.__wbg_ptr, this);
5410
5430
  return this;
5411
5431
  }
@@ -5492,7 +5512,6 @@ if (Symbol.dispose) Globe.prototype[Symbol.dispose] = Globe.prototype.free;
5492
5512
 
5493
5513
  export class HillshadeBackfilledEvent {
5494
5514
  static __wrap(ptr) {
5495
- ptr = ptr >>> 0;
5496
5515
  const obj = Object.create(HillshadeBackfilledEvent.prototype);
5497
5516
  obj.__wbg_ptr = ptr;
5498
5517
  HillshadeBackfilledEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5513,7 +5532,7 @@ export class HillshadeBackfilledEvent {
5513
5532
  */
5514
5533
  get edge_data_handle() {
5515
5534
  const ret = wasm.__wbg_get_hillshadebackfilledevent_edge_data_handle(this.__wbg_ptr);
5516
- return ret === 0x100000001 ? undefined : ret;
5535
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5517
5536
  }
5518
5537
  /**
5519
5538
  * @returns {number}
@@ -5541,21 +5560,21 @@ export class HillshadeBackfilledEvent {
5541
5560
  */
5542
5561
  get original_handle() {
5543
5562
  const ret = wasm.__wbg_get_hillshadebackfilledevent_original_handle(this.__wbg_ptr);
5544
- return ret === 0x100000001 ? undefined : ret;
5563
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5545
5564
  }
5546
5565
  /**
5547
5566
  * @returns {number | undefined}
5548
5567
  */
5549
5568
  get target_entity_gen() {
5550
5569
  const ret = wasm.__wbg_get_hillshadebackfilledevent_target_entity_gen(this.__wbg_ptr);
5551
- return ret === 0x100000001 ? undefined : ret;
5570
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5552
5571
  }
5553
5572
  /**
5554
5573
  * @returns {number | undefined}
5555
5574
  */
5556
5575
  get target_entity_ind() {
5557
5576
  const ret = wasm.__wbg_get_hillshadebackfilledevent_target_entity_ind(this.__wbg_ptr);
5558
- return ret === 0x100000001 ? undefined : ret;
5577
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5559
5578
  }
5560
5579
  /**
5561
5580
  * @returns {bigint}
@@ -5597,7 +5616,6 @@ if (Symbol.dispose) HillshadeBackfilledEvent.prototype[Symbol.dispose] = Hillsha
5597
5616
  */
5598
5617
  export class HillshadeMaterial {
5599
5618
  static __wrap(ptr) {
5600
- ptr = ptr >>> 0;
5601
5619
  const obj = Object.create(HillshadeMaterial.prototype);
5602
5620
  obj.__wbg_ptr = ptr;
5603
5621
  HillshadeMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5619,21 +5637,20 @@ export class HillshadeMaterial {
5619
5637
  */
5620
5638
  get exaggeration() {
5621
5639
  const ret = wasm.__wbg_get_hillshadematerial_exaggeration(this.__wbg_ptr);
5622
- return ret === 0x100000001 ? undefined : ret;
5640
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5623
5641
  }
5624
5642
  /**
5625
5643
  * Exaggeration factor for hillshade effect (default: 1.0)
5626
5644
  * @param {number | null} [arg0]
5627
5645
  */
5628
5646
  set exaggeration(arg0) {
5629
- wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5647
+ wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5630
5648
  }
5631
5649
  }
5632
5650
  if (Symbol.dispose) HillshadeMaterial.prototype[Symbol.dispose] = HillshadeMaterial.prototype.free;
5633
5651
 
5634
5652
  export class LLE {
5635
5653
  static __wrap(ptr) {
5636
- ptr = ptr >>> 0;
5637
5654
  const obj = Object.create(LLE.prototype);
5638
5655
  obj.__wbg_ptr = ptr;
5639
5656
  LLEFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5677,7 +5694,7 @@ export class LLE {
5677
5694
  */
5678
5695
  constructor(lat, lng, height) {
5679
5696
  const ret = wasm.lle_new(lat, lng, height);
5680
- this.__wbg_ptr = ret >>> 0;
5697
+ this.__wbg_ptr = ret;
5681
5698
  LLEFinalization.register(this, this.__wbg_ptr, this);
5682
5699
  return this;
5683
5700
  }
@@ -5802,7 +5819,6 @@ if (Symbol.dispose) LayerDescriptionUrl.prototype[Symbol.dispose] = LayerDescrip
5802
5819
 
5803
5820
  export class LegacyElevationHeatmapMaterial {
5804
5821
  static __wrap(ptr) {
5805
- ptr = ptr >>> 0;
5806
5822
  const obj = Object.create(LegacyElevationHeatmapMaterial.prototype);
5807
5823
  obj.__wbg_ptr = ptr;
5808
5824
  LegacyElevationHeatmapMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5893,7 +5909,6 @@ if (Symbol.dispose) LegacyElevationHeatmapMaterial.prototype[Symbol.dispose] = L
5893
5909
 
5894
5910
  export class LegacyEllipsoidTerrainMaterial {
5895
5911
  static __wrap(ptr) {
5896
- ptr = ptr >>> 0;
5897
5912
  const obj = Object.create(LegacyEllipsoidTerrainMaterial.prototype);
5898
5913
  obj.__wbg_ptr = ptr;
5899
5914
  LegacyEllipsoidTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5921,14 +5936,14 @@ export class LegacyEllipsoidTerrainMaterial {
5921
5936
  */
5922
5937
  get maxZoom() {
5923
5938
  const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr);
5924
- return ret === 0x100000001 ? undefined : ret;
5939
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5925
5940
  }
5926
5941
  /**
5927
5942
  * @returns {number | undefined}
5928
5943
  */
5929
5944
  get minZoom() {
5930
5945
  const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr);
5931
- return ret === 0x100000001 ? undefined : ret;
5946
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5932
5947
  }
5933
5948
  /**
5934
5949
  * @returns {boolean | undefined}
@@ -5954,13 +5969,13 @@ export class LegacyEllipsoidTerrainMaterial {
5954
5969
  * @param {number | null} [arg0]
5955
5970
  */
5956
5971
  set maxZoom(arg0) {
5957
- wasm.__wbg_set_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5972
+ wasm.__wbg_set_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5958
5973
  }
5959
5974
  /**
5960
5975
  * @param {number | null} [arg0]
5961
5976
  */
5962
5977
  set minZoom(arg0) {
5963
- wasm.__wbg_set_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5978
+ wasm.__wbg_set_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5964
5979
  }
5965
5980
  /**
5966
5981
  * @param {boolean | null} [arg0]
@@ -5979,7 +5994,6 @@ if (Symbol.dispose) LegacyEllipsoidTerrainMaterial.prototype[Symbol.dispose] = L
5979
5994
 
5980
5995
  export class LegacyHillshadeMaterial {
5981
5996
  static __wrap(ptr) {
5982
- ptr = ptr >>> 0;
5983
5997
  const obj = Object.create(LegacyHillshadeMaterial.prototype);
5984
5998
  obj.__wbg_ptr = ptr;
5985
5999
  LegacyHillshadeMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6008,7 +6022,7 @@ export class LegacyHillshadeMaterial {
6008
6022
  */
6009
6023
  get exaggeration() {
6010
6024
  const ret = wasm.__wbg_get_legacyhillshadematerial_exaggeration(this.__wbg_ptr);
6011
- return ret === 0x100000001 ? undefined : ret;
6025
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6012
6026
  }
6013
6027
  /**
6014
6028
  * @param {ElevationDecoder | null} [arg0]
@@ -6026,14 +6040,13 @@ export class LegacyHillshadeMaterial {
6026
6040
  * @param {number | null} [arg0]
6027
6041
  */
6028
6042
  set exaggeration(arg0) {
6029
- wasm.__wbg_set_legacyhillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6043
+ wasm.__wbg_set_legacyhillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6030
6044
  }
6031
6045
  }
6032
6046
  if (Symbol.dispose) LegacyHillshadeMaterial.prototype[Symbol.dispose] = LegacyHillshadeMaterial.prototype.free;
6033
6047
 
6034
6048
  export class LegacyQuantizedMeshTerrainMaterial {
6035
6049
  static __wrap(ptr) {
6036
- ptr = ptr >>> 0;
6037
6050
  const obj = Object.create(LegacyQuantizedMeshTerrainMaterial.prototype);
6038
6051
  obj.__wbg_ptr = ptr;
6039
6052
  LegacyQuantizedMeshTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6068,21 +6081,21 @@ export class LegacyQuantizedMeshTerrainMaterial {
6068
6081
  */
6069
6082
  get maxZoom() {
6070
6083
  const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr);
6071
- return ret === 0x100000001 ? undefined : ret;
6084
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6072
6085
  }
6073
6086
  /**
6074
6087
  * @returns {number | undefined}
6075
6088
  */
6076
6089
  get minZoom() {
6077
6090
  const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr);
6078
- return ret === 0x100000001 ? undefined : ret;
6091
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6079
6092
  }
6080
6093
  /**
6081
6094
  * @returns {number | undefined}
6082
6095
  */
6083
6096
  get overscaledMaxZoom() {
6084
6097
  const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr);
6085
- return ret === 0x100000001 ? undefined : ret;
6098
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6086
6099
  }
6087
6100
  /**
6088
6101
  * @returns {boolean | undefined}
@@ -6124,7 +6137,7 @@ export class LegacyQuantizedMeshTerrainMaterial {
6124
6137
  */
6125
6138
  get skirtExaggeration() {
6126
6139
  const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr);
6127
- return ret === 0x100000001 ? undefined : ret;
6140
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6128
6141
  }
6129
6142
  /**
6130
6143
  * @returns {boolean | undefined}
@@ -6168,19 +6181,19 @@ export class LegacyQuantizedMeshTerrainMaterial {
6168
6181
  * @param {number | null} [arg0]
6169
6182
  */
6170
6183
  set maxZoom(arg0) {
6171
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6184
+ wasm.__wbg_set_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6172
6185
  }
6173
6186
  /**
6174
6187
  * @param {number | null} [arg0]
6175
6188
  */
6176
6189
  set minZoom(arg0) {
6177
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6190
+ wasm.__wbg_set_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6178
6191
  }
6179
6192
  /**
6180
6193
  * @param {number | null} [arg0]
6181
6194
  */
6182
6195
  set overscaledMaxZoom(arg0) {
6183
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6196
+ wasm.__wbg_set_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6184
6197
  }
6185
6198
  /**
6186
6199
  * @param {boolean | null} [arg0]
@@ -6216,7 +6229,7 @@ export class LegacyQuantizedMeshTerrainMaterial {
6216
6229
  * @param {number | null} [arg0]
6217
6230
  */
6218
6231
  set skirtExaggeration(arg0) {
6219
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6232
+ wasm.__wbg_set_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6220
6233
  }
6221
6234
  /**
6222
6235
  * @param {boolean | null} [arg0]
@@ -6243,7 +6256,6 @@ if (Symbol.dispose) LegacyQuantizedMeshTerrainMaterial.prototype[Symbol.dispose]
6243
6256
 
6244
6257
  export class LegacyRasterTerrainMaterial {
6245
6258
  static __wrap(ptr) {
6246
- ptr = ptr >>> 0;
6247
6259
  const obj = Object.create(LegacyRasterTerrainMaterial.prototype);
6248
6260
  obj.__wbg_ptr = ptr;
6249
6261
  LegacyRasterTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6278,21 +6290,21 @@ export class LegacyRasterTerrainMaterial {
6278
6290
  */
6279
6291
  get maxZoom() {
6280
6292
  const ret = wasm.__wbg_get_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr);
6281
- return ret === 0x100000001 ? undefined : ret;
6293
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6282
6294
  }
6283
6295
  /**
6284
6296
  * @returns {number | undefined}
6285
6297
  */
6286
6298
  get minZoom() {
6287
6299
  const ret = wasm.__wbg_get_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr);
6288
- return ret === 0x100000001 ? undefined : ret;
6300
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6289
6301
  }
6290
6302
  /**
6291
6303
  * @returns {number | undefined}
6292
6304
  */
6293
6305
  get overscaledMaxZoom() {
6294
6306
  const ret = wasm.__wbg_get_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr);
6295
- return ret === 0x100000001 ? undefined : ret;
6307
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6296
6308
  }
6297
6309
  /**
6298
6310
  * @returns {boolean | undefined}
@@ -6320,7 +6332,7 @@ export class LegacyRasterTerrainMaterial {
6320
6332
  */
6321
6333
  get skirtExaggeration() {
6322
6334
  const ret = wasm.__wbg_get_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr);
6323
- return ret === 0x100000001 ? undefined : ret;
6335
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6324
6336
  }
6325
6337
  /**
6326
6338
  * @returns {boolean | undefined}
@@ -6334,7 +6346,7 @@ export class LegacyRasterTerrainMaterial {
6334
6346
  */
6335
6347
  get tileSize() {
6336
6348
  const ret = wasm.__wbg_get_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr);
6337
- return ret === 0x100000001 ? undefined : ret;
6349
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6338
6350
  }
6339
6351
  /**
6340
6352
  * @param {boolean | null} [arg0]
@@ -6357,19 +6369,19 @@ export class LegacyRasterTerrainMaterial {
6357
6369
  * @param {number | null} [arg0]
6358
6370
  */
6359
6371
  set maxZoom(arg0) {
6360
- wasm.__wbg_set_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6372
+ wasm.__wbg_set_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6361
6373
  }
6362
6374
  /**
6363
6375
  * @param {number | null} [arg0]
6364
6376
  */
6365
6377
  set minZoom(arg0) {
6366
- wasm.__wbg_set_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6378
+ wasm.__wbg_set_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6367
6379
  }
6368
6380
  /**
6369
6381
  * @param {number | null} [arg0]
6370
6382
  */
6371
6383
  set overscaledMaxZoom(arg0) {
6372
- wasm.__wbg_set_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6384
+ wasm.__wbg_set_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6373
6385
  }
6374
6386
  /**
6375
6387
  * @param {boolean | null} [arg0]
@@ -6393,7 +6405,7 @@ export class LegacyRasterTerrainMaterial {
6393
6405
  * @param {number | null} [arg0]
6394
6406
  */
6395
6407
  set skirtExaggeration(arg0) {
6396
- wasm.__wbg_set_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6408
+ wasm.__wbg_set_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6397
6409
  }
6398
6410
  /**
6399
6411
  * @param {boolean | null} [arg0]
@@ -6405,14 +6417,13 @@ export class LegacyRasterTerrainMaterial {
6405
6417
  * @param {number | null} [arg0]
6406
6418
  */
6407
6419
  set tileSize(arg0) {
6408
- wasm.__wbg_set_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6420
+ wasm.__wbg_set_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6409
6421
  }
6410
6422
  }
6411
6423
  if (Symbol.dispose) LegacyRasterTerrainMaterial.prototype[Symbol.dispose] = LegacyRasterTerrainMaterial.prototype.free;
6412
6424
 
6413
6425
  export class LegacyRasterTileMaterial {
6414
6426
  static __wrap(ptr) {
6415
- ptr = ptr >>> 0;
6416
6427
  const obj = Object.create(LegacyRasterTileMaterial.prototype);
6417
6428
  obj.__wbg_ptr = ptr;
6418
6429
  LegacyRasterTileMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6433,35 +6444,35 @@ export class LegacyRasterTileMaterial {
6433
6444
  */
6434
6445
  get color() {
6435
6446
  const ret = wasm.__wbg_get_legacyrastertilematerial_color(this.__wbg_ptr);
6436
- return ret === 0x100000001 ? undefined : ret;
6447
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6437
6448
  }
6438
6449
  /**
6439
6450
  * @returns {number | undefined}
6440
6451
  */
6441
6452
  get maxZoom() {
6442
6453
  const ret = wasm.__wbg_get_legacyrastertilematerial_maxZoom(this.__wbg_ptr);
6443
- return ret === 0x100000001 ? undefined : ret;
6454
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6444
6455
  }
6445
6456
  /**
6446
6457
  * @returns {number | undefined}
6447
6458
  */
6448
6459
  get minZoom() {
6449
6460
  const ret = wasm.__wbg_get_legacyrastertilematerial_minZoom(this.__wbg_ptr);
6450
- return ret === 0x100000001 ? undefined : ret;
6461
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6451
6462
  }
6452
6463
  /**
6453
6464
  * @returns {number | undefined}
6454
6465
  */
6455
6466
  get opacity() {
6456
6467
  const ret = wasm.__wbg_get_legacyrastertilematerial_opacity(this.__wbg_ptr);
6457
- return ret === 0x100000001 ? undefined : ret;
6468
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6458
6469
  }
6459
6470
  /**
6460
6471
  * @returns {number | undefined}
6461
6472
  */
6462
6473
  get overscaledMaxZoom() {
6463
6474
  const ret = wasm.__wbg_get_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr);
6464
- return ret === 0x100000001 ? undefined : ret;
6475
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6465
6476
  }
6466
6477
  /**
6467
6478
  * @returns {boolean | undefined}
@@ -6488,31 +6499,31 @@ export class LegacyRasterTileMaterial {
6488
6499
  * @param {number | null} [arg0]
6489
6500
  */
6490
6501
  set color(arg0) {
6491
- wasm.__wbg_set_legacyrastertilematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6502
+ wasm.__wbg_set_legacyrastertilematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6492
6503
  }
6493
6504
  /**
6494
6505
  * @param {number | null} [arg0]
6495
6506
  */
6496
6507
  set maxZoom(arg0) {
6497
- wasm.__wbg_set_legacyrastertilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6508
+ wasm.__wbg_set_legacyrastertilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6498
6509
  }
6499
6510
  /**
6500
6511
  * @param {number | null} [arg0]
6501
6512
  */
6502
6513
  set minZoom(arg0) {
6503
- wasm.__wbg_set_legacyrastertilematerial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6514
+ wasm.__wbg_set_legacyrastertilematerial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6504
6515
  }
6505
6516
  /**
6506
6517
  * @param {number | null} [arg0]
6507
6518
  */
6508
6519
  set opacity(arg0) {
6509
- wasm.__wbg_set_legacyrastertilematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6520
+ wasm.__wbg_set_legacyrastertilematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6510
6521
  }
6511
6522
  /**
6512
6523
  * @param {number | null} [arg0]
6513
6524
  */
6514
6525
  set overscaledMaxZoom(arg0) {
6515
- wasm.__wbg_set_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6526
+ wasm.__wbg_set_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6516
6527
  }
6517
6528
  /**
6518
6529
  * @param {boolean | null} [arg0]
@@ -6537,7 +6548,6 @@ if (Symbol.dispose) LegacyRasterTileMaterial.prototype[Symbol.dispose] = LegacyR
6537
6548
 
6538
6549
  export class LegacyVectorTileMaterial {
6539
6550
  static __wrap(ptr) {
6540
- ptr = ptr >>> 0;
6541
6551
  const obj = Object.create(LegacyVectorTileMaterial.prototype);
6542
6552
  obj.__wbg_ptr = ptr;
6543
6553
  LegacyVectorTileMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6579,21 +6589,21 @@ export class LegacyVectorTileMaterial {
6579
6589
  */
6580
6590
  get maxSse() {
6581
6591
  const ret = wasm.__wbg_get_legacyvectortilematerial_maxSse(this.__wbg_ptr);
6582
- return ret === 0x100000001 ? undefined : ret;
6592
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6583
6593
  }
6584
6594
  /**
6585
6595
  * @returns {number | undefined}
6586
6596
  */
6587
6597
  get maxZoom() {
6588
6598
  const ret = wasm.__wbg_get_legacyvectortilematerial_maxZoom(this.__wbg_ptr);
6589
- return ret === 0x100000001 ? undefined : ret;
6599
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6590
6600
  }
6591
6601
  /**
6592
6602
  * @returns {number | undefined}
6593
6603
  */
6594
6604
  get overscaledMaxZoom() {
6595
6605
  const ret = wasm.__wbg_get_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr);
6596
- return ret === 0x100000001 ? undefined : ret;
6606
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6597
6607
  }
6598
6608
  /**
6599
6609
  * @returns {boolean | undefined}
@@ -6629,19 +6639,19 @@ export class LegacyVectorTileMaterial {
6629
6639
  * @param {number | null} [arg0]
6630
6640
  */
6631
6641
  set maxSse(arg0) {
6632
- wasm.__wbg_set_legacyvectortilematerial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6642
+ wasm.__wbg_set_legacyvectortilematerial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6633
6643
  }
6634
6644
  /**
6635
6645
  * @param {number | null} [arg0]
6636
6646
  */
6637
6647
  set maxZoom(arg0) {
6638
- wasm.__wbg_set_legacyvectortilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6648
+ wasm.__wbg_set_legacyvectortilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6639
6649
  }
6640
6650
  /**
6641
6651
  * @param {number | null} [arg0]
6642
6652
  */
6643
6653
  set overscaledMaxZoom(arg0) {
6644
- wasm.__wbg_set_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6654
+ wasm.__wbg_set_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6645
6655
  }
6646
6656
  /**
6647
6657
  * @param {boolean | null} [arg0]
@@ -6664,7 +6674,6 @@ if (Symbol.dispose) LegacyVectorTileMaterial.prototype[Symbol.dispose] = LegacyV
6664
6674
  */
6665
6675
  export class MemoryStats {
6666
6676
  static __wrap(ptr) {
6667
- ptr = ptr >>> 0;
6668
6677
  const obj = Object.create(MemoryStats.prototype);
6669
6678
  obj.__wbg_ptr = ptr;
6670
6679
  MemoryStatsFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6722,6 +6731,13 @@ export class MemoryStats {
6722
6731
  const ret = wasm.__wbg_get_memorystats_externalCpuBytes(this.__wbg_ptr);
6723
6732
  return ret;
6724
6733
  }
6734
+ /**
6735
+ * @returns {number}
6736
+ */
6737
+ get fixedGpuBytes() {
6738
+ const ret = wasm.__wbg_get_memorystats_fixedGpuBytes(this.__wbg_ptr);
6739
+ return ret;
6740
+ }
6725
6741
  /**
6726
6742
  * @returns {number}
6727
6743
  */
@@ -6776,7 +6792,6 @@ if (Symbol.dispose) MemoryStats.prototype[Symbol.dispose] = MemoryStats.prototyp
6776
6792
 
6777
6793
  export class Mesh {
6778
6794
  static __wrap(ptr) {
6779
- ptr = ptr >>> 0;
6780
6795
  const obj = Object.create(Mesh.prototype);
6781
6796
  obj.__wbg_ptr = ptr;
6782
6797
  MeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6819,7 +6834,7 @@ export class Mesh {
6819
6834
  */
6820
6835
  get normals() {
6821
6836
  const ret = wasm.__wbg_get_mesh_normals(this.__wbg_ptr);
6822
- return ret === 0x100000001 ? undefined : ret;
6837
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6823
6838
  }
6824
6839
  /**
6825
6840
  * @returns {number}
@@ -6834,7 +6849,7 @@ export class Mesh {
6834
6849
  */
6835
6850
  get skirt_indices() {
6836
6851
  const ret = wasm.__wbg_get_mesh_skirt_indices(this.__wbg_ptr);
6837
- return ret === 0x100000001 ? undefined : ret;
6852
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6838
6853
  }
6839
6854
  /**
6840
6855
  * Skirt per-vertex normals handle.
@@ -6842,7 +6857,7 @@ export class Mesh {
6842
6857
  */
6843
6858
  get skirt_normals() {
6844
6859
  const ret = wasm.__wbg_get_mesh_skirt_normals(this.__wbg_ptr);
6845
- return ret === 0x100000001 ? undefined : ret;
6860
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6846
6861
  }
6847
6862
  /**
6848
6863
  * Skirt UVs handle.
@@ -6850,7 +6865,7 @@ export class Mesh {
6850
6865
  */
6851
6866
  get skirt_uvs() {
6852
6867
  const ret = wasm.__wbg_get_mesh_skirt_uvs(this.__wbg_ptr);
6853
- return ret === 0x100000001 ? undefined : ret;
6868
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6854
6869
  }
6855
6870
  /**
6856
6871
  * Skirt vertices handle (separate from main geometry for shadow/normal handling).
@@ -6858,7 +6873,7 @@ export class Mesh {
6858
6873
  */
6859
6874
  get skirt_vertices() {
6860
6875
  const ret = wasm.__wbg_get_mesh_skirt_vertices(this.__wbg_ptr);
6861
- return ret === 0x100000001 ? undefined : ret;
6876
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6862
6877
  }
6863
6878
  /**
6864
6879
  * @returns {number}
@@ -6880,7 +6895,7 @@ export class Mesh {
6880
6895
  */
6881
6896
  get watermask() {
6882
6897
  const ret = wasm.__wbg_get_mesh_watermask(this.__wbg_ptr);
6883
- return ret === 0x100000001 ? undefined : ret;
6898
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6884
6899
  }
6885
6900
  /**
6886
6901
  * @param {Aabb} arg0
@@ -6907,7 +6922,7 @@ export class Mesh {
6907
6922
  * @param {number | null} [arg0]
6908
6923
  */
6909
6924
  set normals(arg0) {
6910
- wasm.__wbg_set_mesh_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
6925
+ wasm.__wbg_set_mesh_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6911
6926
  }
6912
6927
  /**
6913
6928
  * @param {number} arg0
@@ -6920,28 +6935,28 @@ export class Mesh {
6920
6935
  * @param {number | null} [arg0]
6921
6936
  */
6922
6937
  set skirt_indices(arg0) {
6923
- wasm.__wbg_set_mesh_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
6938
+ wasm.__wbg_set_mesh_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6924
6939
  }
6925
6940
  /**
6926
6941
  * Skirt per-vertex normals handle.
6927
6942
  * @param {number | null} [arg0]
6928
6943
  */
6929
6944
  set skirt_normals(arg0) {
6930
- wasm.__wbg_set_mesh_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
6945
+ wasm.__wbg_set_mesh_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6931
6946
  }
6932
6947
  /**
6933
6948
  * Skirt UVs handle.
6934
6949
  * @param {number | null} [arg0]
6935
6950
  */
6936
6951
  set skirt_uvs(arg0) {
6937
- wasm.__wbg_set_mesh_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
6952
+ wasm.__wbg_set_mesh_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6938
6953
  }
6939
6954
  /**
6940
6955
  * Skirt vertices handle (separate from main geometry for shadow/normal handling).
6941
6956
  * @param {number | null} [arg0]
6942
6957
  */
6943
6958
  set skirt_vertices(arg0) {
6944
- wasm.__wbg_set_mesh_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
6959
+ wasm.__wbg_set_mesh_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6945
6960
  }
6946
6961
  /**
6947
6962
  * @param {number} arg0
@@ -6960,14 +6975,13 @@ export class Mesh {
6960
6975
  * @param {number | null} [arg0]
6961
6976
  */
6962
6977
  set watermask(arg0) {
6963
- wasm.__wbg_set_mesh_watermask(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
6978
+ wasm.__wbg_set_mesh_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6964
6979
  }
6965
6980
  }
6966
6981
  if (Symbol.dispose) Mesh.prototype[Symbol.dispose] = Mesh.prototype.free;
6967
6982
 
6968
6983
  export class MeshAdded {
6969
6984
  static __wrap(ptr) {
6970
- ptr = ptr >>> 0;
6971
6985
  const obj = Object.create(MeshAdded.prototype);
6972
6986
  obj.__wbg_ptr = ptr;
6973
6987
  MeshAddedFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7100,7 +7114,6 @@ if (Symbol.dispose) MeshAdded.prototype[Symbol.dispose] = MeshAdded.prototype.fr
7100
7114
 
7101
7115
  export class MeshChanged {
7102
7116
  static __wrap(ptr) {
7103
- ptr = ptr >>> 0;
7104
7117
  const obj = Object.create(MeshChanged.prototype);
7105
7118
  obj.__wbg_ptr = ptr;
7106
7119
  MeshChangedFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7205,7 +7218,6 @@ if (Symbol.dispose) MeshChanged.prototype[Symbol.dispose] = MeshChanged.prototyp
7205
7218
 
7206
7219
  export class ModelInternalMaterial {
7207
7220
  static __wrap(ptr) {
7208
- ptr = ptr >>> 0;
7209
7221
  const obj = Object.create(ModelInternalMaterial.prototype);
7210
7222
  obj.__wbg_ptr = ptr;
7211
7223
  ModelInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7267,7 +7279,6 @@ if (Symbol.dispose) ModelInternalMaterial.prototype[Symbol.dispose] = ModelInter
7267
7279
 
7268
7280
  export class ModelMaterial {
7269
7281
  static __wrap(ptr) {
7270
- ptr = ptr >>> 0;
7271
7282
  const obj = Object.create(ModelMaterial.prototype);
7272
7283
  obj.__wbg_ptr = ptr;
7273
7284
  ModelMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7307,7 +7318,7 @@ export class ModelMaterial {
7307
7318
  */
7308
7319
  get animationSpeed() {
7309
7320
  const ret = wasm.__wbg_get_modelmaterial_animationSpeed(this.__wbg_ptr);
7310
- return ret === 0x100000001 ? undefined : ret;
7321
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7311
7322
  }
7312
7323
  /**
7313
7324
  * @returns {boolean | undefined}
@@ -7335,7 +7346,7 @@ export class ModelMaterial {
7335
7346
  */
7336
7347
  get color() {
7337
7348
  const ret = wasm.__wbg_get_modelmaterial_color(this.__wbg_ptr);
7338
- return ret === 0x100000001 ? undefined : ret;
7349
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7339
7350
  }
7340
7351
  /**
7341
7352
  * Crease angle (in radians) used when `normals` is true. Defaults to 30°
@@ -7344,7 +7355,7 @@ export class ModelMaterial {
7344
7355
  */
7345
7356
  get creaseNormalAngle() {
7346
7357
  const ret = wasm.__wbg_get_modelmaterial_creaseNormalAngle(this.__wbg_ptr);
7347
- return ret === 0x100000001 ? undefined : ret;
7358
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7348
7359
  }
7349
7360
  /**
7350
7361
  * Enable writing to depth buffer
@@ -7373,7 +7384,7 @@ export class ModelMaterial {
7373
7384
  */
7374
7385
  get emissiveColor() {
7375
7386
  const ret = wasm.__wbg_get_modelmaterial_emissiveColor(this.__wbg_ptr);
7376
- return ret === 0x100000001 ? undefined : ret;
7387
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7377
7388
  }
7378
7389
  /**
7379
7390
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -7381,35 +7392,35 @@ export class ModelMaterial {
7381
7392
  */
7382
7393
  get emissiveIntensity() {
7383
7394
  const ret = wasm.__wbg_get_modelmaterial_emissiveIntensity(this.__wbg_ptr);
7384
- return ret === 0x100000001 ? undefined : ret;
7395
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7385
7396
  }
7386
7397
  /**
7387
7398
  * @returns {number | undefined}
7388
7399
  */
7389
7400
  get height() {
7390
7401
  const ret = wasm.__wbg_get_modelmaterial_height(this.__wbg_ptr);
7391
- return ret === 0x100000001 ? undefined : ret;
7402
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7392
7403
  }
7393
7404
  /**
7394
7405
  * @returns {number | undefined}
7395
7406
  */
7396
7407
  get ior() {
7397
7408
  const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
7398
- return ret === 0x100000001 ? undefined : ret;
7409
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7399
7410
  }
7400
7411
  /**
7401
7412
  * @returns {number | undefined}
7402
7413
  */
7403
7414
  get maxSse() {
7404
7415
  const ret = wasm.__wbg_get_modelmaterial_maxSse(this.__wbg_ptr);
7405
- return ret === 0x100000001 ? undefined : ret;
7416
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7406
7417
  }
7407
7418
  /**
7408
7419
  * @returns {number | undefined}
7409
7420
  */
7410
7421
  get metalness() {
7411
7422
  const ret = wasm.__wbg_get_modelmaterial_metalness(this.__wbg_ptr);
7412
- return ret === 0x100000001 ? undefined : ret;
7423
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7413
7424
  }
7414
7425
  /**
7415
7426
  * When true, recompute vertex normals using a creased-normals algorithm
@@ -7427,14 +7438,14 @@ export class ModelMaterial {
7427
7438
  */
7428
7439
  get opacity() {
7429
7440
  const ret = wasm.__wbg_get_modelmaterial_opacity(this.__wbg_ptr);
7430
- return ret === 0x100000001 ? undefined : ret;
7441
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7431
7442
  }
7432
7443
  /**
7433
7444
  * @returns {number | undefined}
7434
7445
  */
7435
7446
  get pointSize() {
7436
7447
  const ret = wasm.__wbg_get_modelmaterial_pointSize(this.__wbg_ptr);
7437
- return ret === 0x100000001 ? undefined : ret;
7448
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7438
7449
  }
7439
7450
  /**
7440
7451
  * @returns {boolean | undefined}
@@ -7449,7 +7460,7 @@ export class ModelMaterial {
7449
7460
  */
7450
7461
  get reflectivity() {
7451
7462
  const ret = wasm.__wbg_get_modelmaterial_reflectivity(this.__wbg_ptr);
7452
- return ret === 0x100000001 ? undefined : ret;
7463
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7453
7464
  }
7454
7465
  /**
7455
7466
  * Reflectivity for post-process.
@@ -7457,14 +7468,14 @@ export class ModelMaterial {
7457
7468
  */
7458
7469
  get roughness() {
7459
7470
  const ret = wasm.__wbg_get_modelmaterial_roughness(this.__wbg_ptr);
7460
- return ret === 0x100000001 ? undefined : ret;
7471
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7461
7472
  }
7462
7473
  /**
7463
7474
  * @returns {number | undefined}
7464
7475
  */
7465
7476
  get shininess() {
7466
7477
  const ret = wasm.__wbg_get_modelmaterial_shininess(this.__wbg_ptr);
7467
- return ret === 0x100000001 ? undefined : ret;
7478
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7468
7479
  }
7469
7480
  /**
7470
7481
  * @returns {boolean | undefined}
@@ -7492,14 +7503,14 @@ export class ModelMaterial {
7492
7503
  */
7493
7504
  get size() {
7494
7505
  const ret = wasm.__wbg_get_modelmaterial_size(this.__wbg_ptr);
7495
- return ret === 0x100000001 ? undefined : ret;
7506
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7496
7507
  }
7497
7508
  /**
7498
7509
  * @returns {number | undefined}
7499
7510
  */
7500
7511
  get specularStrength() {
7501
7512
  const ret = wasm.__wbg_get_modelmaterial_specularStrength(this.__wbg_ptr);
7502
- return ret === 0x100000001 ? undefined : ret;
7513
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7503
7514
  }
7504
7515
  /**
7505
7516
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -7535,7 +7546,7 @@ export class ModelMaterial {
7535
7546
  */
7536
7547
  get waterScaleNormal() {
7537
7548
  const ret = wasm.__wbg_get_modelmaterial_waterScaleNormal(this.__wbg_ptr);
7538
- return ret === 0x100000001 ? undefined : ret;
7549
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7539
7550
  }
7540
7551
  /**
7541
7552
  * Water wave speed.
@@ -7543,7 +7554,7 @@ export class ModelMaterial {
7543
7554
  */
7544
7555
  get waterSpeed() {
7545
7556
  const ret = wasm.__wbg_get_modelmaterial_waterSpeed(this.__wbg_ptr);
7546
- return ret === 0x100000001 ? undefined : ret;
7557
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7547
7558
  }
7548
7559
  /**
7549
7560
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -7576,7 +7587,7 @@ export class ModelMaterial {
7576
7587
  * @param {number | null} [arg0]
7577
7588
  */
7578
7589
  set animationSpeed(arg0) {
7579
- wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7590
+ wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7580
7591
  }
7581
7592
  /**
7582
7593
  * @param {boolean | null} [arg0]
@@ -7600,7 +7611,7 @@ export class ModelMaterial {
7600
7611
  * @param {number | null} [arg0]
7601
7612
  */
7602
7613
  set color(arg0) {
7603
- wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
7614
+ wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
7604
7615
  }
7605
7616
  /**
7606
7617
  * Crease angle (in radians) used when `normals` is true. Defaults to 30°
@@ -7608,7 +7619,7 @@ export class ModelMaterial {
7608
7619
  * @param {number | null} [arg0]
7609
7620
  */
7610
7621
  set creaseNormalAngle(arg0) {
7611
- wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7622
+ wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7612
7623
  }
7613
7624
  /**
7614
7625
  * Enable writing to depth buffer
@@ -7631,38 +7642,38 @@ export class ModelMaterial {
7631
7642
  * @param {number | null} [arg0]
7632
7643
  */
7633
7644
  set emissiveColor(arg0) {
7634
- wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
7645
+ wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
7635
7646
  }
7636
7647
  /**
7637
7648
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
7638
7649
  * @param {number | null} [arg0]
7639
7650
  */
7640
7651
  set emissiveIntensity(arg0) {
7641
- wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7652
+ wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7642
7653
  }
7643
7654
  /**
7644
7655
  * @param {number | null} [arg0]
7645
7656
  */
7646
7657
  set height(arg0) {
7647
- wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7658
+ wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7648
7659
  }
7649
7660
  /**
7650
7661
  * @param {number | null} [arg0]
7651
7662
  */
7652
7663
  set ior(arg0) {
7653
- wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7664
+ wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7654
7665
  }
7655
7666
  /**
7656
7667
  * @param {number | null} [arg0]
7657
7668
  */
7658
7669
  set maxSse(arg0) {
7659
- wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7670
+ wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7660
7671
  }
7661
7672
  /**
7662
7673
  * @param {number | null} [arg0]
7663
7674
  */
7664
7675
  set metalness(arg0) {
7665
- wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7676
+ wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7666
7677
  }
7667
7678
  /**
7668
7679
  * When true, recompute vertex normals using a creased-normals algorithm
@@ -7678,13 +7689,13 @@ export class ModelMaterial {
7678
7689
  * @param {number | null} [arg0]
7679
7690
  */
7680
7691
  set opacity(arg0) {
7681
- wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7692
+ wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7682
7693
  }
7683
7694
  /**
7684
7695
  * @param {number | null} [arg0]
7685
7696
  */
7686
7697
  set pointSize(arg0) {
7687
- wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7698
+ wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7688
7699
  }
7689
7700
  /**
7690
7701
  * @param {boolean | null} [arg0]
@@ -7697,20 +7708,20 @@ export class ModelMaterial {
7697
7708
  * @param {number | null} [arg0]
7698
7709
  */
7699
7710
  set reflectivity(arg0) {
7700
- wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7711
+ wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7701
7712
  }
7702
7713
  /**
7703
7714
  * Reflectivity for post-process.
7704
7715
  * @param {number | null} [arg0]
7705
7716
  */
7706
7717
  set roughness(arg0) {
7707
- wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7718
+ wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7708
7719
  }
7709
7720
  /**
7710
7721
  * @param {number | null} [arg0]
7711
7722
  */
7712
7723
  set shininess(arg0) {
7713
- wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7724
+ wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7714
7725
  }
7715
7726
  /**
7716
7727
  * @param {boolean | null} [arg0]
@@ -7734,13 +7745,13 @@ export class ModelMaterial {
7734
7745
  * @param {number | null} [arg0]
7735
7746
  */
7736
7747
  set size(arg0) {
7737
- wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7748
+ wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7738
7749
  }
7739
7750
  /**
7740
7751
  * @param {number | null} [arg0]
7741
7752
  */
7742
7753
  set specularStrength(arg0) {
7743
- wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7754
+ wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7744
7755
  }
7745
7756
  /**
7746
7757
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -7769,14 +7780,14 @@ export class ModelMaterial {
7769
7780
  * @param {number | null} [arg0]
7770
7781
  */
7771
7782
  set waterScaleNormal(arg0) {
7772
- wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7783
+ wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7773
7784
  }
7774
7785
  /**
7775
7786
  * Water wave speed.
7776
7787
  * @param {number | null} [arg0]
7777
7788
  */
7778
7789
  set waterSpeed(arg0) {
7779
- wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7790
+ wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7780
7791
  }
7781
7792
  /**
7782
7793
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -7790,7 +7801,6 @@ if (Symbol.dispose) ModelMaterial.prototype[Symbol.dispose] = ModelMaterial.prot
7790
7801
 
7791
7802
  export class ModelMesh {
7792
7803
  static __wrap(ptr) {
7793
- ptr = ptr >>> 0;
7794
7804
  const obj = Object.create(ModelMesh.prototype);
7795
7805
  obj.__wbg_ptr = ptr;
7796
7806
  ModelMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7832,7 +7842,7 @@ export class ModelMesh {
7832
7842
  */
7833
7843
  get bin() {
7834
7844
  const ret = wasm.__wbg_get_modelmesh_bin(this.__wbg_ptr);
7835
- return ret === 0x100000001 ? undefined : ret;
7845
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7836
7846
  }
7837
7847
  /**
7838
7848
  * @returns {TransferableModelGeometry}
@@ -7879,7 +7889,7 @@ export class ModelMesh {
7879
7889
  * @param {number | null} [arg0]
7880
7890
  */
7881
7891
  set bin(arg0) {
7882
- wasm.__wbg_set_modelmesh_bin(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
7892
+ wasm.__wbg_set_modelmesh_bin(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
7883
7893
  }
7884
7894
  /**
7885
7895
  * @param {TransferableModelGeometry} arg0
@@ -8125,7 +8135,6 @@ if (Symbol.dispose) NearFar.prototype[Symbol.dispose] = NearFar.prototype.free;
8125
8135
 
8126
8136
  export class ObjectTransformEvent {
8127
8137
  static __wrap(ptr) {
8128
- ptr = ptr >>> 0;
8129
8138
  const obj = Object.create(ObjectTransformEvent.prototype);
8130
8139
  obj.__wbg_ptr = ptr;
8131
8140
  ObjectTransformEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8187,7 +8196,6 @@ if (Symbol.dispose) ObjectTransformEvent.prototype[Symbol.dispose] = ObjectTrans
8187
8196
 
8188
8197
  export class OrthoCamTransform {
8189
8198
  static __wrap(ptr) {
8190
- ptr = ptr >>> 0;
8191
8199
  const obj = Object.create(OrthoCamTransform.prototype);
8192
8200
  obj.__wbg_ptr = ptr;
8193
8201
  OrthoCamTransformFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8239,7 +8247,7 @@ export class OrthoCamTransform {
8239
8247
  */
8240
8248
  constructor(left, right, top, bottom) {
8241
8249
  const ret = wasm.orthocamtransform_new(left, right, top, bottom);
8242
- this.__wbg_ptr = ret >>> 0;
8250
+ this.__wbg_ptr = ret;
8243
8251
  OrthoCamTransformFinalization.register(this, this.__wbg_ptr, this);
8244
8252
  return this;
8245
8253
  }
@@ -8272,7 +8280,6 @@ if (Symbol.dispose) OrthoCamTransform.prototype[Symbol.dispose] = OrthoCamTransf
8272
8280
 
8273
8281
  export class OverscaledTileHandle {
8274
8282
  static __wrap(ptr) {
8275
- ptr = ptr >>> 0;
8276
8283
  const obj = Object.create(OverscaledTileHandle.prototype);
8277
8284
  obj.__wbg_ptr = ptr;
8278
8285
  OverscaledTileHandleFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8313,7 +8320,6 @@ if (Symbol.dispose) OverscaledTileHandle.prototype[Symbol.dispose] = OverscaledT
8313
8320
  */
8314
8321
  export class ParseMvtTileParameters {
8315
8322
  static __wrap(ptr) {
8316
- ptr = ptr >>> 0;
8317
8323
  const obj = Object.create(ParseMvtTileParameters.prototype);
8318
8324
  obj.__wbg_ptr = ptr;
8319
8325
  ParseMvtTileParametersFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8449,7 +8455,6 @@ if (Symbol.dispose) ParseMvtTileParameters.prototype[Symbol.dispose] = ParseMvtT
8449
8455
  */
8450
8456
  export class ParseMvtTileResult {
8451
8457
  static __wrap(ptr) {
8452
- ptr = ptr >>> 0;
8453
8458
  const obj = Object.create(ParseMvtTileResult.prototype);
8454
8459
  obj.__wbg_ptr = ptr;
8455
8460
  ParseMvtTileResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8493,7 +8498,7 @@ export class ParseMvtTileResult {
8493
8498
  if (ret[2]) {
8494
8499
  throw takeFromExternrefTable0(ret[1]);
8495
8500
  }
8496
- this.__wbg_ptr = ret[0] >>> 0;
8501
+ this.__wbg_ptr = ret[0];
8497
8502
  ParseMvtTileResultFinalization.register(this, this.__wbg_ptr, this);
8498
8503
  return this;
8499
8504
  }
@@ -8629,7 +8634,6 @@ if (Symbol.dispose) PntsLayerDescription.prototype[Symbol.dispose] = PntsLayerDe
8629
8634
 
8630
8635
  export class PointMaterial {
8631
8636
  static __wrap(ptr) {
8632
- ptr = ptr >>> 0;
8633
8637
  const obj = Object.create(PointMaterial.prototype);
8634
8638
  obj.__wbg_ptr = ptr;
8635
8639
  PointMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8666,7 +8670,26 @@ export class PointMaterial {
8666
8670
  */
8667
8671
  get color() {
8668
8672
  const ret = wasm.__wbg_get_pointmaterial_color(this.__wbg_ptr);
8669
- return ret === 0x100000001 ? undefined : ret;
8673
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8674
+ }
8675
+ /**
8676
+ * Placement priority for decluttering; higher wins. Only meaningful when
8677
+ * `declutter` is enabled. Defaults to `0.0`.
8678
+ * @returns {number | undefined}
8679
+ */
8680
+ get declutterPriority() {
8681
+ const ret = wasm.__wbg_get_pointmaterial_declutterPriority(this.__wbg_ptr);
8682
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8683
+ }
8684
+ /**
8685
+ * Participate in screen-space decluttering: when labels/sprites overlap
8686
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
8687
+ * `false` to draw every label unconditionally.
8688
+ * @returns {boolean | undefined}
8689
+ */
8690
+ get declutter() {
8691
+ const ret = wasm.__wbg_get_pointmaterial_declutter(this.__wbg_ptr);
8692
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
8670
8693
  }
8671
8694
  /**
8672
8695
  * @returns {boolean | undefined}
@@ -8694,7 +8717,7 @@ export class PointMaterial {
8694
8717
  */
8695
8718
  get emissiveColor() {
8696
8719
  const ret = wasm.__wbg_get_pointmaterial_emissiveColor(this.__wbg_ptr);
8697
- return ret === 0x100000001 ? undefined : ret;
8720
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8698
8721
  }
8699
8722
  /**
8700
8723
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -8702,14 +8725,14 @@ export class PointMaterial {
8702
8725
  */
8703
8726
  get emissiveIntensity() {
8704
8727
  const ret = wasm.__wbg_get_pointmaterial_emissiveIntensity(this.__wbg_ptr);
8705
- return ret === 0x100000001 ? undefined : ret;
8728
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8706
8729
  }
8707
8730
  /**
8708
8731
  * @returns {number | undefined}
8709
8732
  */
8710
8733
  get height() {
8711
8734
  const ret = wasm.__wbg_get_pointmaterial_height(this.__wbg_ptr);
8712
- return ret === 0x100000001 ? undefined : ret;
8735
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8713
8736
  }
8714
8737
  /**
8715
8738
  * Avoid overlapping with the globe surface.
@@ -8724,7 +8747,7 @@ export class PointMaterial {
8724
8747
  */
8725
8748
  get opacity() {
8726
8749
  const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
8727
- return ret === 0x100000001 ? undefined : ret;
8750
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8728
8751
  }
8729
8752
  /**
8730
8753
  * @returns {boolean | undefined}
@@ -8747,7 +8770,7 @@ export class PointMaterial {
8747
8770
  */
8748
8771
  get size() {
8749
8772
  const ret = wasm.__wbg_get_pointmaterial_size(this.__wbg_ptr);
8750
- return ret === 0x100000001 ? undefined : ret;
8773
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8751
8774
  }
8752
8775
  /**
8753
8776
  * @returns {boolean | undefined}
@@ -8779,7 +8802,24 @@ export class PointMaterial {
8779
8802
  * @param {number | null} [arg0]
8780
8803
  */
8781
8804
  set color(arg0) {
8782
- wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
8805
+ wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
8806
+ }
8807
+ /**
8808
+ * Placement priority for decluttering; higher wins. Only meaningful when
8809
+ * `declutter` is enabled. Defaults to `0.0`.
8810
+ * @param {number | null} [arg0]
8811
+ */
8812
+ set declutterPriority(arg0) {
8813
+ wasm.__wbg_set_pointmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8814
+ }
8815
+ /**
8816
+ * Participate in screen-space decluttering: when labels/sprites overlap
8817
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
8818
+ * `false` to draw every label unconditionally.
8819
+ * @param {boolean | null} [arg0]
8820
+ */
8821
+ set declutter(arg0) {
8822
+ wasm.__wbg_set_pointmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
8783
8823
  }
8784
8824
  /**
8785
8825
  * @param {boolean | null} [arg0]
@@ -8801,20 +8841,20 @@ export class PointMaterial {
8801
8841
  * @param {number | null} [arg0]
8802
8842
  */
8803
8843
  set emissiveColor(arg0) {
8804
- wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
8844
+ wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
8805
8845
  }
8806
8846
  /**
8807
8847
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
8808
8848
  * @param {number | null} [arg0]
8809
8849
  */
8810
8850
  set emissiveIntensity(arg0) {
8811
- wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
8851
+ wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8812
8852
  }
8813
8853
  /**
8814
8854
  * @param {number | null} [arg0]
8815
8855
  */
8816
8856
  set height(arg0) {
8817
- wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
8857
+ wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8818
8858
  }
8819
8859
  /**
8820
8860
  * Avoid overlapping with the globe surface.
@@ -8827,7 +8867,7 @@ export class PointMaterial {
8827
8867
  * @param {number | null} [arg0]
8828
8868
  */
8829
8869
  set opacity(arg0) {
8830
- wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
8870
+ wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8831
8871
  }
8832
8872
  /**
8833
8873
  * @param {boolean | null} [arg0]
@@ -8847,7 +8887,7 @@ export class PointMaterial {
8847
8887
  * @param {number | null} [arg0]
8848
8888
  */
8849
8889
  set size(arg0) {
8850
- wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
8890
+ wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8851
8891
  }
8852
8892
  /**
8853
8893
  * @param {boolean | null} [arg0]
@@ -8860,7 +8900,6 @@ if (Symbol.dispose) PointMaterial.prototype[Symbol.dispose] = PointMaterial.prot
8860
8900
 
8861
8901
  export class PointMesh {
8862
8902
  static __wrap(ptr) {
8863
- ptr = ptr >>> 0;
8864
8903
  const obj = Object.create(PointMesh.prototype);
8865
8904
  obj.__wbg_ptr = ptr;
8866
8905
  PointMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -9183,7 +9222,6 @@ if (Symbol.dispose) PolygonGeometryAttributes.prototype[Symbol.dispose] = Polygo
9183
9222
 
9184
9223
  export class PolygonInternalMaterial {
9185
9224
  static __wrap(ptr) {
9186
- ptr = ptr >>> 0;
9187
9225
  const obj = Object.create(PolygonInternalMaterial.prototype);
9188
9226
  obj.__wbg_ptr = ptr;
9189
9227
  PolygonInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -9221,7 +9259,6 @@ if (Symbol.dispose) PolygonInternalMaterial.prototype[Symbol.dispose] = PolygonI
9221
9259
 
9222
9260
  export class PolygonMaterial {
9223
9261
  static __wrap(ptr) {
9224
- ptr = ptr >>> 0;
9225
9262
  const obj = Object.create(PolygonMaterial.prototype);
9226
9263
  obj.__wbg_ptr = ptr;
9227
9264
  PolygonMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -9270,7 +9307,7 @@ export class PolygonMaterial {
9270
9307
  */
9271
9308
  get color() {
9272
9309
  const ret = wasm.__wbg_get_polygonmaterial_color(this.__wbg_ptr);
9273
- return ret === 0x100000001 ? undefined : ret;
9310
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9274
9311
  }
9275
9312
  /**
9276
9313
  * IDs of selective effects to apply (e.g., "bloom", "outline")
@@ -9291,7 +9328,7 @@ export class PolygonMaterial {
9291
9328
  */
9292
9329
  get emissiveColor() {
9293
9330
  const ret = wasm.__wbg_get_polygonmaterial_emissiveColor(this.__wbg_ptr);
9294
- return ret === 0x100000001 ? undefined : ret;
9331
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9295
9332
  }
9296
9333
  /**
9297
9334
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -9299,28 +9336,28 @@ export class PolygonMaterial {
9299
9336
  */
9300
9337
  get emissiveIntensity() {
9301
9338
  const ret = wasm.__wbg_get_polygonmaterial_emissiveIntensity(this.__wbg_ptr);
9302
- return ret === 0x100000001 ? undefined : ret;
9339
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9303
9340
  }
9304
9341
  /**
9305
9342
  * @returns {number | undefined}
9306
9343
  */
9307
9344
  get extrudedHeight() {
9308
9345
  const ret = wasm.__wbg_get_polygonmaterial_extrudedHeight(this.__wbg_ptr);
9309
- return ret === 0x100000001 ? undefined : ret;
9346
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9310
9347
  }
9311
9348
  /**
9312
9349
  * @returns {number | undefined}
9313
9350
  */
9314
9351
  get height() {
9315
9352
  const ret = wasm.__wbg_get_polygonmaterial_height(this.__wbg_ptr);
9316
- return ret === 0x100000001 ? undefined : ret;
9353
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9317
9354
  }
9318
9355
  /**
9319
9356
  * @returns {number | undefined}
9320
9357
  */
9321
9358
  get ior() {
9322
9359
  const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
9323
- return ret === 0x100000001 ? undefined : ret;
9360
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9324
9361
  }
9325
9362
  /**
9326
9363
  * Need to enable `transparent`.
@@ -9328,7 +9365,7 @@ export class PolygonMaterial {
9328
9365
  */
9329
9366
  get opacity() {
9330
9367
  const ret = wasm.__wbg_get_polygonmaterial_opacity(this.__wbg_ptr);
9331
- return ret === 0x100000001 ? undefined : ret;
9368
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9332
9369
  }
9333
9370
  /**
9334
9371
  * Currently, this property is supported only in GeoJSON.
@@ -9336,7 +9373,7 @@ export class PolygonMaterial {
9336
9373
  */
9337
9374
  get outlineColor() {
9338
9375
  const ret = wasm.__wbg_get_polygonmaterial_outlineColor(this.__wbg_ptr);
9339
- return ret === 0x100000001 ? undefined : ret;
9376
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9340
9377
  }
9341
9378
  /**
9342
9379
  * Currently, this property is supported only in GeoJSON.
@@ -9352,7 +9389,7 @@ export class PolygonMaterial {
9352
9389
  */
9353
9390
  get outlineWidth() {
9354
9391
  const ret = wasm.__wbg_get_polygonmaterial_outlineWidth(this.__wbg_ptr);
9355
- return ret === 0x100000001 ? undefined : ret;
9392
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9356
9393
  }
9357
9394
  /**
9358
9395
  * Whether to compute outline geometry. Only effective at initial load time.
@@ -9384,7 +9421,7 @@ export class PolygonMaterial {
9384
9421
  */
9385
9422
  get reflectivity() {
9386
9423
  const ret = wasm.__wbg_get_polygonmaterial_reflectivity(this.__wbg_ptr);
9387
- return ret === 0x100000001 ? undefined : ret;
9424
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9388
9425
  }
9389
9426
  /**
9390
9427
  * Reflectivity for post-process.
@@ -9392,14 +9429,14 @@ export class PolygonMaterial {
9392
9429
  */
9393
9430
  get roughness() {
9394
9431
  const ret = wasm.__wbg_get_polygonmaterial_roughness(this.__wbg_ptr);
9395
- return ret === 0x100000001 ? undefined : ret;
9432
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9396
9433
  }
9397
9434
  /**
9398
9435
  * @returns {number | undefined}
9399
9436
  */
9400
9437
  get shininess() {
9401
9438
  const ret = wasm.__wbg_get_polygonmaterial_shininess(this.__wbg_ptr);
9402
- return ret === 0x100000001 ? undefined : ret;
9439
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9403
9440
  }
9404
9441
  /**
9405
9442
  * @returns {boolean | undefined}
@@ -9413,7 +9450,7 @@ export class PolygonMaterial {
9413
9450
  */
9414
9451
  get specularStrength() {
9415
9452
  const ret = wasm.__wbg_get_polygonmaterial_specularStrength(this.__wbg_ptr);
9416
- return ret === 0x100000001 ? undefined : ret;
9453
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9417
9454
  }
9418
9455
  /**
9419
9456
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -9458,7 +9495,7 @@ export class PolygonMaterial {
9458
9495
  */
9459
9496
  get waterScaleNormal() {
9460
9497
  const ret = wasm.__wbg_get_polygonmaterial_waterScaleNormal(this.__wbg_ptr);
9461
- return ret === 0x100000001 ? undefined : ret;
9498
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9462
9499
  }
9463
9500
  /**
9464
9501
  * Water wave speed.
@@ -9466,7 +9503,7 @@ export class PolygonMaterial {
9466
9503
  */
9467
9504
  get waterSpeed() {
9468
9505
  const ret = wasm.__wbg_get_polygonmaterial_waterSpeed(this.__wbg_ptr);
9469
- return ret === 0x100000001 ? undefined : ret;
9506
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9470
9507
  }
9471
9508
  /**
9472
9509
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -9503,8 +9540,8 @@ export class PolygonMaterial {
9503
9540
  _assertClass(__internal__, PolygonInternalMaterial);
9504
9541
  ptr0 = __internal__.__destroy_into_raw();
9505
9542
  }
9506
- const ret = wasm.polygonmaterial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? 0x100000001 : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? 0x100000001 : Math.fround(height), isLikeNone(extruded_height) ? 0x100000001 : Math.fround(extruded_height), isLikeNone(wireframe) ? 0xFFFFFF : wireframe ? 1 : 0, isLikeNone(outline) ? 0xFFFFFF : outline ? 1 : 0, isLikeNone(per_position_height) ? 0xFFFFFF : per_position_height ? 1 : 0, ptr0);
9507
- this.__wbg_ptr = ret >>> 0;
9543
+ const ret = wasm.polygonmaterial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? Number.MAX_SAFE_INTEGER : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? Number.MAX_SAFE_INTEGER : Math.fround(height), isLikeNone(extruded_height) ? Number.MAX_SAFE_INTEGER : Math.fround(extruded_height), isLikeNone(wireframe) ? 0xFFFFFF : wireframe ? 1 : 0, isLikeNone(outline) ? 0xFFFFFF : outline ? 1 : 0, isLikeNone(per_position_height) ? 0xFFFFFF : per_position_height ? 1 : 0, ptr0);
9544
+ this.__wbg_ptr = ret;
9508
9545
  PolygonMaterialFinalization.register(this, this.__wbg_ptr, this);
9509
9546
  return this;
9510
9547
  }
@@ -9541,7 +9578,7 @@ export class PolygonMaterial {
9541
9578
  * @param {number | null} [arg0]
9542
9579
  */
9543
9580
  set color(arg0) {
9544
- wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
9581
+ wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
9545
9582
  }
9546
9583
  /**
9547
9584
  * IDs of selective effects to apply (e.g., "bloom", "outline")
@@ -9557,46 +9594,46 @@ export class PolygonMaterial {
9557
9594
  * @param {number | null} [arg0]
9558
9595
  */
9559
9596
  set emissiveColor(arg0) {
9560
- wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
9597
+ wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
9561
9598
  }
9562
9599
  /**
9563
9600
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
9564
9601
  * @param {number | null} [arg0]
9565
9602
  */
9566
9603
  set emissiveIntensity(arg0) {
9567
- wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9604
+ wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9568
9605
  }
9569
9606
  /**
9570
9607
  * @param {number | null} [arg0]
9571
9608
  */
9572
9609
  set extrudedHeight(arg0) {
9573
- wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9610
+ wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9574
9611
  }
9575
9612
  /**
9576
9613
  * @param {number | null} [arg0]
9577
9614
  */
9578
9615
  set height(arg0) {
9579
- wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9616
+ wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9580
9617
  }
9581
9618
  /**
9582
9619
  * @param {number | null} [arg0]
9583
9620
  */
9584
9621
  set ior(arg0) {
9585
- wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9622
+ wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9586
9623
  }
9587
9624
  /**
9588
9625
  * Need to enable `transparent`.
9589
9626
  * @param {number | null} [arg0]
9590
9627
  */
9591
9628
  set opacity(arg0) {
9592
- wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9629
+ wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9593
9630
  }
9594
9631
  /**
9595
9632
  * Currently, this property is supported only in GeoJSON.
9596
9633
  * @param {number | null} [arg0]
9597
9634
  */
9598
9635
  set outlineColor(arg0) {
9599
- wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
9636
+ wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
9600
9637
  }
9601
9638
  /**
9602
9639
  * Currently, this property is supported only in GeoJSON.
@@ -9610,7 +9647,7 @@ export class PolygonMaterial {
9610
9647
  * @param {number | null} [arg0]
9611
9648
  */
9612
9649
  set outlineWidth(arg0) {
9613
- wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9650
+ wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9614
9651
  }
9615
9652
  /**
9616
9653
  * Whether to compute outline geometry. Only effective at initial load time.
@@ -9638,20 +9675,20 @@ export class PolygonMaterial {
9638
9675
  * @param {number | null} [arg0]
9639
9676
  */
9640
9677
  set reflectivity(arg0) {
9641
- wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9678
+ wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9642
9679
  }
9643
9680
  /**
9644
9681
  * Reflectivity for post-process.
9645
9682
  * @param {number | null} [arg0]
9646
9683
  */
9647
9684
  set roughness(arg0) {
9648
- wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9685
+ wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9649
9686
  }
9650
9687
  /**
9651
9688
  * @param {number | null} [arg0]
9652
9689
  */
9653
9690
  set shininess(arg0) {
9654
- wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9691
+ wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9655
9692
  }
9656
9693
  /**
9657
9694
  * @param {boolean | null} [arg0]
@@ -9663,7 +9700,7 @@ export class PolygonMaterial {
9663
9700
  * @param {number | null} [arg0]
9664
9701
  */
9665
9702
  set specularStrength(arg0) {
9666
- wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9703
+ wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9667
9704
  }
9668
9705
  /**
9669
9706
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -9703,14 +9740,14 @@ export class PolygonMaterial {
9703
9740
  * @param {number | null} [arg0]
9704
9741
  */
9705
9742
  set waterScaleNormal(arg0) {
9706
- wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9743
+ wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9707
9744
  }
9708
9745
  /**
9709
9746
  * Water wave speed.
9710
9747
  * @param {number | null} [arg0]
9711
9748
  */
9712
9749
  set waterSpeed(arg0) {
9713
- wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9750
+ wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9714
9751
  }
9715
9752
  /**
9716
9753
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -9730,7 +9767,6 @@ if (Symbol.dispose) PolygonMaterial.prototype[Symbol.dispose] = PolygonMaterial.
9730
9767
 
9731
9768
  export class PolygonMesh {
9732
9769
  static __wrap(ptr) {
9733
- ptr = ptr >>> 0;
9734
9770
  const obj = Object.create(PolygonMesh.prototype);
9735
9771
  obj.__wbg_ptr = ptr;
9736
9772
  PolygonMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -10285,7 +10321,6 @@ if (Symbol.dispose) PolylineGeometryAttributes.prototype[Symbol.dispose] = Polyl
10285
10321
 
10286
10322
  export class PolylineInternalMaterial {
10287
10323
  static __wrap(ptr) {
10288
- ptr = ptr >>> 0;
10289
10324
  const obj = Object.create(PolylineInternalMaterial.prototype);
10290
10325
  obj.__wbg_ptr = ptr;
10291
10326
  PolylineInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -10323,7 +10358,6 @@ if (Symbol.dispose) PolylineInternalMaterial.prototype[Symbol.dispose] = Polylin
10323
10358
 
10324
10359
  export class PolylineMaterial {
10325
10360
  static __wrap(ptr) {
10326
- ptr = ptr >>> 0;
10327
10361
  const obj = Object.create(PolylineMaterial.prototype);
10328
10362
  obj.__wbg_ptr = ptr;
10329
10363
  PolylineMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -10365,7 +10399,7 @@ export class PolylineMaterial {
10365
10399
  */
10366
10400
  get color() {
10367
10401
  const ret = wasm.__wbg_get_polylinematerial_color(this.__wbg_ptr);
10368
- return ret === 0x100000001 ? undefined : ret;
10402
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10369
10403
  }
10370
10404
  /**
10371
10405
  * Enable writing to depth buffer
@@ -10394,7 +10428,7 @@ export class PolylineMaterial {
10394
10428
  */
10395
10429
  get emissiveColor() {
10396
10430
  const ret = wasm.__wbg_get_polylinematerial_emissiveColor(this.__wbg_ptr);
10397
- return ret === 0x100000001 ? undefined : ret;
10431
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10398
10432
  }
10399
10433
  /**
10400
10434
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -10402,14 +10436,14 @@ export class PolylineMaterial {
10402
10436
  */
10403
10437
  get emissiveIntensity() {
10404
10438
  const ret = wasm.__wbg_get_polylinematerial_emissiveIntensity(this.__wbg_ptr);
10405
- return ret === 0x100000001 ? undefined : ret;
10439
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10406
10440
  }
10407
10441
  /**
10408
10442
  * @returns {number | undefined}
10409
10443
  */
10410
10444
  get height() {
10411
10445
  const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
10412
- return ret === 0x100000001 ? undefined : ret;
10446
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10413
10447
  }
10414
10448
  /**
10415
10449
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
@@ -10418,7 +10452,7 @@ export class PolylineMaterial {
10418
10452
  */
10419
10453
  get maxWidth() {
10420
10454
  const ret = wasm.__wbg_get_polylinematerial_maxWidth(this.__wbg_ptr);
10421
- return ret === 0x100000001 ? undefined : ret;
10455
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10422
10456
  }
10423
10457
  /**
10424
10458
  * Opacity value
@@ -10426,7 +10460,7 @@ export class PolylineMaterial {
10426
10460
  */
10427
10461
  get opacity() {
10428
10462
  const ret = wasm.__wbg_get_polylinematerial_opacity(this.__wbg_ptr);
10429
- return ret === 0x100000001 ? undefined : ret;
10463
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10430
10464
  }
10431
10465
  /**
10432
10466
  * @returns {boolean | undefined}
@@ -10467,7 +10501,7 @@ export class PolylineMaterial {
10467
10501
  */
10468
10502
  get width() {
10469
10503
  const ret = wasm.__wbg_get_polylinematerial_width(this.__wbg_ptr);
10470
- return ret === 0x100000001 ? undefined : ret;
10504
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10471
10505
  }
10472
10506
  /**
10473
10507
  * @param {boolean | null} [show]
@@ -10487,8 +10521,8 @@ export class PolylineMaterial {
10487
10521
  _assertClass(__internal__, PolylineInternalMaterial);
10488
10522
  ptr0 = __internal__.__destroy_into_raw();
10489
10523
  }
10490
- const ret = wasm.polylinematerial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? 0x100000001 : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? 0x100000001 : Math.fround(height), isLikeNone(width) ? 0x100000001 : Math.fround(width), isLikeNone(max_width) ? 0x100000001 : Math.fround(max_width), ptr0);
10491
- this.__wbg_ptr = ret >>> 0;
10524
+ const ret = wasm.polylinematerial_new(isLikeNone(show) ? 0xFFFFFF : show ? 1 : 0, isLikeNone(cast_shadow) ? 0xFFFFFF : cast_shadow ? 1 : 0, isLikeNone(receive_shadow) ? 0xFFFFFF : receive_shadow ? 1 : 0, isLikeNone(color) ? Number.MAX_SAFE_INTEGER : (color) >>> 0, isLikeNone(clamp_to_ground) ? 0xFFFFFF : clamp_to_ground ? 1 : 0, isLikeNone(tiled) ? 0xFFFFFF : tiled ? 1 : 0, isLikeNone(height) ? Number.MAX_SAFE_INTEGER : Math.fround(height), isLikeNone(width) ? Number.MAX_SAFE_INTEGER : Math.fround(width), isLikeNone(max_width) ? Number.MAX_SAFE_INTEGER : Math.fround(max_width), ptr0);
10525
+ this.__wbg_ptr = ret;
10492
10526
  PolylineMaterialFinalization.register(this, this.__wbg_ptr, this);
10493
10527
  return this;
10494
10528
  }
@@ -10519,7 +10553,7 @@ export class PolylineMaterial {
10519
10553
  * @param {number | null} [arg0]
10520
10554
  */
10521
10555
  set color(arg0) {
10522
- wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
10556
+ wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10523
10557
  }
10524
10558
  /**
10525
10559
  * Enable writing to depth buffer
@@ -10542,20 +10576,20 @@ export class PolylineMaterial {
10542
10576
  * @param {number | null} [arg0]
10543
10577
  */
10544
10578
  set emissiveColor(arg0) {
10545
- wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
10579
+ wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10546
10580
  }
10547
10581
  /**
10548
10582
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
10549
10583
  * @param {number | null} [arg0]
10550
10584
  */
10551
10585
  set emissiveIntensity(arg0) {
10552
- wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
10586
+ wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10553
10587
  }
10554
10588
  /**
10555
10589
  * @param {number | null} [arg0]
10556
10590
  */
10557
10591
  set height(arg0) {
10558
- wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
10592
+ wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10559
10593
  }
10560
10594
  /**
10561
10595
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
@@ -10563,14 +10597,14 @@ export class PolylineMaterial {
10563
10597
  * @param {number | null} [arg0]
10564
10598
  */
10565
10599
  set maxWidth(arg0) {
10566
- wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
10600
+ wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10567
10601
  }
10568
10602
  /**
10569
10603
  * Opacity value
10570
10604
  * @param {number | null} [arg0]
10571
10605
  */
10572
10606
  set opacity(arg0) {
10573
- wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
10607
+ wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10574
10608
  }
10575
10609
  /**
10576
10610
  * @param {boolean | null} [arg0]
@@ -10606,14 +10640,13 @@ export class PolylineMaterial {
10606
10640
  * @param {number | null} [arg0]
10607
10641
  */
10608
10642
  set width(arg0) {
10609
- wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
10643
+ wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10610
10644
  }
10611
10645
  }
10612
10646
  if (Symbol.dispose) PolylineMaterial.prototype[Symbol.dispose] = PolylineMaterial.prototype.free;
10613
10647
 
10614
10648
  export class PolylineMesh {
10615
10649
  static __wrap(ptr) {
10616
- ptr = ptr >>> 0;
10617
10650
  const obj = Object.create(PolylineMesh.prototype);
10618
10651
  obj.__wbg_ptr = ptr;
10619
10652
  PolylineMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -10741,21 +10774,21 @@ export class QuantizedMeshSourceDescription {
10741
10774
  */
10742
10775
  get maxZoom() {
10743
10776
  const ret = wasm.__wbg_get_quantizedmeshsourcedescription_maxZoom(this.__wbg_ptr);
10744
- return ret === 0x100000001 ? undefined : ret;
10777
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10745
10778
  }
10746
10779
  /**
10747
10780
  * @returns {number | undefined}
10748
10781
  */
10749
10782
  get minZoom() {
10750
10783
  const ret = wasm.__wbg_get_quantizedmeshsourcedescription_minZoom(this.__wbg_ptr);
10751
- return ret === 0x100000001 ? undefined : ret;
10784
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10752
10785
  }
10753
10786
  /**
10754
10787
  * @returns {number | undefined}
10755
10788
  */
10756
10789
  get overscaledMaxZoom() {
10757
10790
  const ret = wasm.__wbg_get_quantizedmeshsourcedescription_overscaledMaxZoom(this.__wbg_ptr);
10758
- return ret === 0x100000001 ? undefined : ret;
10791
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10759
10792
  }
10760
10793
  /**
10761
10794
  * @returns {boolean | undefined}
@@ -10824,19 +10857,19 @@ export class QuantizedMeshSourceDescription {
10824
10857
  * @param {number | null} [arg0]
10825
10858
  */
10826
10859
  set maxZoom(arg0) {
10827
- wasm.__wbg_set_quantizedmeshsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
10860
+ wasm.__wbg_set_quantizedmeshsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10828
10861
  }
10829
10862
  /**
10830
10863
  * @param {number | null} [arg0]
10831
10864
  */
10832
10865
  set minZoom(arg0) {
10833
- wasm.__wbg_set_quantizedmeshsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
10866
+ wasm.__wbg_set_quantizedmeshsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10834
10867
  }
10835
10868
  /**
10836
10869
  * @param {number | null} [arg0]
10837
10870
  */
10838
10871
  set overscaledMaxZoom(arg0) {
10839
- wasm.__wbg_set_quantizedmeshsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
10872
+ wasm.__wbg_set_quantizedmeshsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10840
10873
  }
10841
10874
  /**
10842
10875
  * @param {boolean | null} [arg0]
@@ -10907,28 +10940,28 @@ export class RasterDemSourceDescription {
10907
10940
  */
10908
10941
  get maxZoom() {
10909
10942
  const ret = wasm.__wbg_get_rasterdemsourcedescription_maxZoom(this.__wbg_ptr);
10910
- return ret === 0x100000001 ? undefined : ret;
10943
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10911
10944
  }
10912
10945
  /**
10913
10946
  * @returns {number | undefined}
10914
10947
  */
10915
10948
  get minZoom() {
10916
10949
  const ret = wasm.__wbg_get_rasterdemsourcedescription_minZoom(this.__wbg_ptr);
10917
- return ret === 0x100000001 ? undefined : ret;
10950
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10918
10951
  }
10919
10952
  /**
10920
10953
  * @returns {number | undefined}
10921
10954
  */
10922
10955
  get overscaledMaxZoom() {
10923
10956
  const ret = wasm.__wbg_get_rasterdemsourcedescription_overscaledMaxZoom(this.__wbg_ptr);
10924
- return ret === 0x100000001 ? undefined : ret;
10957
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10925
10958
  }
10926
10959
  /**
10927
10960
  * @returns {number | undefined}
10928
10961
  */
10929
10962
  get tileSize() {
10930
10963
  const ret = wasm.__wbg_get_rasterdemsourcedescription_tileSize(this.__wbg_ptr);
10931
- return ret === 0x100000001 ? undefined : ret;
10964
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10932
10965
  }
10933
10966
  /**
10934
10967
  * @returns {boolean | undefined}
@@ -10977,25 +11010,25 @@ export class RasterDemSourceDescription {
10977
11010
  * @param {number | null} [arg0]
10978
11011
  */
10979
11012
  set maxZoom(arg0) {
10980
- wasm.__wbg_set_rasterdemsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11013
+ wasm.__wbg_set_rasterdemsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10981
11014
  }
10982
11015
  /**
10983
11016
  * @param {number | null} [arg0]
10984
11017
  */
10985
11018
  set minZoom(arg0) {
10986
- wasm.__wbg_set_rasterdemsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11019
+ wasm.__wbg_set_rasterdemsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10987
11020
  }
10988
11021
  /**
10989
11022
  * @param {number | null} [arg0]
10990
11023
  */
10991
11024
  set overscaledMaxZoom(arg0) {
10992
- wasm.__wbg_set_rasterdemsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11025
+ wasm.__wbg_set_rasterdemsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10993
11026
  }
10994
11027
  /**
10995
11028
  * @param {number | null} [arg0]
10996
11029
  */
10997
11030
  set tileSize(arg0) {
10998
- wasm.__wbg_set_rasterdemsourcedescription_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11031
+ wasm.__wbg_set_rasterdemsourcedescription_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10999
11032
  }
11000
11033
  /**
11001
11034
  * @param {boolean | null} [arg0]
@@ -11152,7 +11185,6 @@ if (Symbol.dispose) RasterLayerDescription.prototype[Symbol.dispose] = RasterLay
11152
11185
  */
11153
11186
  export class RasterMaterial {
11154
11187
  static __wrap(ptr) {
11155
- ptr = ptr >>> 0;
11156
11188
  const obj = Object.create(RasterMaterial.prototype);
11157
11189
  obj.__wbg_ptr = ptr;
11158
11190
  RasterMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -11173,14 +11205,14 @@ export class RasterMaterial {
11173
11205
  */
11174
11206
  get color() {
11175
11207
  const ret = wasm.__wbg_get_rastermaterial_color(this.__wbg_ptr);
11176
- return ret === 0x100000001 ? undefined : ret;
11208
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
11177
11209
  }
11178
11210
  /**
11179
11211
  * @returns {number | undefined}
11180
11212
  */
11181
11213
  get opacity() {
11182
11214
  const ret = wasm.__wbg_get_rastermaterial_opacity(this.__wbg_ptr);
11183
- return ret === 0x100000001 ? undefined : ret;
11215
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
11184
11216
  }
11185
11217
  /**
11186
11218
  * @returns {boolean | undefined}
@@ -11200,13 +11232,13 @@ export class RasterMaterial {
11200
11232
  * @param {number | null} [arg0]
11201
11233
  */
11202
11234
  set color(arg0) {
11203
- wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11235
+ wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
11204
11236
  }
11205
11237
  /**
11206
11238
  * @param {number | null} [arg0]
11207
11239
  */
11208
11240
  set opacity(arg0) {
11209
- wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
11241
+ wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
11210
11242
  }
11211
11243
  /**
11212
11244
  * @param {boolean | null} [arg0]
@@ -11225,7 +11257,6 @@ if (Symbol.dispose) RasterMaterial.prototype[Symbol.dispose] = RasterMaterial.pr
11225
11257
 
11226
11258
  export class RasterTileInternalMaterial {
11227
11259
  static __wrap(ptr) {
11228
- ptr = ptr >>> 0;
11229
11260
  const obj = Object.create(RasterTileInternalMaterial.prototype);
11230
11261
  obj.__wbg_ptr = ptr;
11231
11262
  RasterTileInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -11712,21 +11743,21 @@ export class RasterTileSourceDescription {
11712
11743
  */
11713
11744
  get maxZoom() {
11714
11745
  const ret = wasm.__wbg_get_rastertilesourcedescription_maxZoom(this.__wbg_ptr);
11715
- return ret === 0x100000001 ? undefined : ret;
11746
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
11716
11747
  }
11717
11748
  /**
11718
11749
  * @returns {number | undefined}
11719
11750
  */
11720
11751
  get minZoom() {
11721
11752
  const ret = wasm.__wbg_get_rastertilesourcedescription_minZoom(this.__wbg_ptr);
11722
- return ret === 0x100000001 ? undefined : ret;
11753
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
11723
11754
  }
11724
11755
  /**
11725
11756
  * @returns {number | undefined}
11726
11757
  */
11727
11758
  get overscaledMaxZoom() {
11728
11759
  const ret = wasm.__wbg_get_rastertilesourcedescription_overscaledMaxZoom(this.__wbg_ptr);
11729
- return ret === 0x100000001 ? undefined : ret;
11760
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
11730
11761
  }
11731
11762
  /**
11732
11763
  * @returns {boolean | undefined}
@@ -11763,19 +11794,19 @@ export class RasterTileSourceDescription {
11763
11794
  * @param {number | null} [arg0]
11764
11795
  */
11765
11796
  set maxZoom(arg0) {
11766
- wasm.__wbg_set_rastertilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11797
+ wasm.__wbg_set_rastertilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
11767
11798
  }
11768
11799
  /**
11769
11800
  * @param {number | null} [arg0]
11770
11801
  */
11771
11802
  set minZoom(arg0) {
11772
- wasm.__wbg_set_rastertilesourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11803
+ wasm.__wbg_set_rastertilesourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
11773
11804
  }
11774
11805
  /**
11775
11806
  * @param {number | null} [arg0]
11776
11807
  */
11777
11808
  set overscaledMaxZoom(arg0) {
11778
- wasm.__wbg_set_rastertilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11809
+ wasm.__wbg_set_rastertilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
11779
11810
  }
11780
11811
  /**
11781
11812
  * @param {boolean | null} [arg0]
@@ -11813,7 +11844,6 @@ if (Symbol.dispose) RasterTileSourceDescription.prototype[Symbol.dispose] = Rast
11813
11844
  */
11814
11845
  export class RasterTileState {
11815
11846
  static __wrap(ptr) {
11816
- ptr = ptr >>> 0;
11817
11847
  const obj = Object.create(RasterTileState.prototype);
11818
11848
  obj.__wbg_ptr = ptr;
11819
11849
  RasterTileStateFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -11965,7 +11995,7 @@ export class Ray {
11965
11995
  _assertClass(direction, Vec3);
11966
11996
  var ptr1 = direction.__destroy_into_raw();
11967
11997
  const ret = wasm.ray_new(ptr0, ptr1);
11968
- this.__wbg_ptr = ret >>> 0;
11998
+ this.__wbg_ptr = ret;
11969
11999
  RayFinalization.register(this, this.__wbg_ptr, this);
11970
12000
  return this;
11971
12001
  }
@@ -11994,7 +12024,6 @@ if (Symbol.dispose) Ray.prototype[Symbol.dispose] = Ray.prototype.free;
11994
12024
  */
11995
12025
  export class ReconstructableEntity {
11996
12026
  static __wrap(ptr) {
11997
- ptr = ptr >>> 0;
11998
12027
  const obj = Object.create(ReconstructableEntity.prototype);
11999
12028
  obj.__wbg_ptr = ptr;
12000
12029
  ReconstructableEntityFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12028,7 +12057,6 @@ if (Symbol.dispose) ReconstructableEntity.prototype[Symbol.dispose] = Reconstruc
12028
12057
 
12029
12058
  export class RenderableFeature {
12030
12059
  static __wrap(ptr) {
12031
- ptr = ptr >>> 0;
12032
12060
  const obj = Object.create(RenderableFeature.prototype);
12033
12061
  obj.__wbg_ptr = ptr;
12034
12062
  RenderableFeatureFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12157,7 +12185,6 @@ if (Symbol.dispose) RenderableFeature.prototype[Symbol.dispose] = RenderableFeat
12157
12185
 
12158
12186
  export class RenderableFeatureAddedEvent {
12159
12187
  static __wrap(ptr) {
12160
- ptr = ptr >>> 0;
12161
12188
  const obj = Object.create(RenderableFeatureAddedEvent.prototype);
12162
12189
  obj.__wbg_ptr = ptr;
12163
12190
  RenderableFeatureAddedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12273,7 +12300,6 @@ if (Symbol.dispose) RenderableFeatureAddedEvent.prototype[Symbol.dispose] = Rend
12273
12300
 
12274
12301
  export class RenderableFeatureChangedEvent {
12275
12302
  static __wrap(ptr) {
12276
- ptr = ptr >>> 0;
12277
12303
  const obj = Object.create(RenderableFeatureChangedEvent.prototype);
12278
12304
  obj.__wbg_ptr = ptr;
12279
12305
  RenderableFeatureChangedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12389,7 +12415,6 @@ if (Symbol.dispose) RenderableFeatureChangedEvent.prototype[Symbol.dispose] = Re
12389
12415
 
12390
12416
  export class RenderableFeatureRemovedEvent {
12391
12417
  static __wrap(ptr) {
12392
- ptr = ptr >>> 0;
12393
12418
  const obj = Object.create(RenderableFeatureRemovedEvent.prototype);
12394
12419
  obj.__wbg_ptr = ptr;
12395
12420
  RenderableFeatureRemovedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12541,7 +12566,7 @@ export class ReturnedConstructedTerrainMesh {
12541
12566
  ptr2 = rtc_translation.__destroy_into_raw();
12542
12567
  }
12543
12568
  const ret = wasm.returnedconstructedterrainmesh_new(ptr0, max_height, min_height, ptr1, len1, ptr2);
12544
- this.__wbg_ptr = ret >>> 0;
12569
+ this.__wbg_ptr = ret;
12545
12570
  ReturnedConstructedTerrainMeshFinalization.register(this, this.__wbg_ptr, this);
12546
12571
  return this;
12547
12572
  }
@@ -12643,7 +12668,6 @@ if (Symbol.dispose) ReturnedConstructedTerrainMesh.prototype[Symbol.dispose] = R
12643
12668
 
12644
12669
  export class ReturnedTransferablePolygonBatchedFeature {
12645
12670
  static __wrap(ptr) {
12646
- ptr = ptr >>> 0;
12647
12671
  const obj = Object.create(ReturnedTransferablePolygonBatchedFeature.prototype);
12648
12672
  obj.__wbg_ptr = ptr;
12649
12673
  ReturnedTransferablePolygonBatchedFeatureFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12756,7 +12780,6 @@ if (Symbol.dispose) ReturnedTransferablePolygonBatchedFeature.prototype[Symbol.d
12756
12780
 
12757
12781
  export class ReturnedTransferablePolylineBatchedFeature {
12758
12782
  static __wrap(ptr) {
12759
- ptr = ptr >>> 0;
12760
12783
  const obj = Object.create(ReturnedTransferablePolylineBatchedFeature.prototype);
12761
12784
  obj.__wbg_ptr = ptr;
12762
12785
  ReturnedTransferablePolylineBatchedFeatureFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12896,7 +12919,6 @@ if (Symbol.dispose) SourceDescription.prototype[Symbol.dispose] = SourceDescript
12896
12919
 
12897
12920
  export class TerrainHeightUpdatedEvent {
12898
12921
  static __wrap(ptr) {
12899
- ptr = ptr >>> 0;
12900
12922
  const obj = Object.create(TerrainHeightUpdatedEvent.prototype);
12901
12923
  obj.__wbg_ptr = ptr;
12902
12924
  TerrainHeightUpdatedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -13094,7 +13116,6 @@ if (Symbol.dispose) TerrainLayerDescription.prototype[Symbol.dispose] = TerrainL
13094
13116
  */
13095
13117
  export class TerrainMaterial {
13096
13118
  static __wrap(ptr) {
13097
- ptr = ptr >>> 0;
13098
13119
  const obj = Object.create(TerrainMaterial.prototype);
13099
13120
  obj.__wbg_ptr = ptr;
13100
13121
  TerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -13145,7 +13166,7 @@ export class TerrainMaterial {
13145
13166
  */
13146
13167
  get skirtExaggeration() {
13147
13168
  const ret = wasm.__wbg_get_terrainmaterial_skirtExaggeration(this.__wbg_ptr);
13148
- return ret === 0x100000001 ? undefined : ret;
13169
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13149
13170
  }
13150
13171
  /**
13151
13172
  * Whether to render skirts along tile boundaries to hide gaps.
@@ -13186,7 +13207,7 @@ export class TerrainMaterial {
13186
13207
  * @param {number | null} [arg0]
13187
13208
  */
13188
13209
  set skirtExaggeration(arg0) {
13189
- wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13210
+ wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13190
13211
  }
13191
13212
  /**
13192
13213
  * Whether to render skirts along tile boundaries to hide gaps.
@@ -13288,7 +13309,6 @@ if (Symbol.dispose) TerrainSourceLayerDescription.prototype[Symbol.dispose] = Te
13288
13309
 
13289
13310
  export class TextMaterial {
13290
13311
  static __wrap(ptr) {
13291
- ptr = ptr >>> 0;
13292
13312
  const obj = Object.create(TextMaterial.prototype);
13293
13313
  obj.__wbg_ptr = ptr;
13294
13314
  TextMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -13309,21 +13329,21 @@ export class TextMaterial {
13309
13329
  */
13310
13330
  get backgroundColor() {
13311
13331
  const ret = wasm.__wbg_get_textmaterial_backgroundColor(this.__wbg_ptr);
13312
- return ret === 0x100000001 ? undefined : ret;
13332
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13313
13333
  }
13314
13334
  /**
13315
13335
  * @returns {number | undefined}
13316
13336
  */
13317
13337
  get borderColor() {
13318
13338
  const ret = wasm.__wbg_get_textmaterial_borderColor(this.__wbg_ptr);
13319
- return ret === 0x100000001 ? undefined : ret;
13339
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13320
13340
  }
13321
13341
  /**
13322
13342
  * @returns {number | undefined}
13323
13343
  */
13324
13344
  get borderWidth() {
13325
13345
  const ret = wasm.__wbg_get_textmaterial_borderWidth(this.__wbg_ptr);
13326
- return ret === 0x100000001 ? undefined : ret;
13346
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13327
13347
  }
13328
13348
  /**
13329
13349
  * @returns {Vec2 | undefined}
@@ -13344,7 +13364,26 @@ export class TextMaterial {
13344
13364
  */
13345
13365
  get color() {
13346
13366
  const ret = wasm.__wbg_get_textmaterial_color(this.__wbg_ptr);
13347
- return ret === 0x100000001 ? undefined : ret;
13367
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13368
+ }
13369
+ /**
13370
+ * Placement priority for decluttering; higher wins. Only meaningful when
13371
+ * `declutter` is enabled. Defaults to `0.0`.
13372
+ * @returns {number | undefined}
13373
+ */
13374
+ get declutterPriority() {
13375
+ const ret = wasm.__wbg_get_textmaterial_declutterPriority(this.__wbg_ptr);
13376
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13377
+ }
13378
+ /**
13379
+ * Participate in screen-space decluttering: when labels/sprites overlap
13380
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
13381
+ * `false` to draw every label unconditionally.
13382
+ * @returns {boolean | undefined}
13383
+ */
13384
+ get declutter() {
13385
+ const ret = wasm.__wbg_get_textmaterial_declutter(this.__wbg_ptr);
13386
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
13348
13387
  }
13349
13388
  /**
13350
13389
  * @returns {boolean | undefined}
@@ -13383,7 +13422,7 @@ export class TextMaterial {
13383
13422
  */
13384
13423
  get height() {
13385
13424
  const ret = wasm.__wbg_get_textmaterial_height(this.__wbg_ptr);
13386
- return ret === 0x100000001 ? undefined : ret;
13425
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13387
13426
  }
13388
13427
  /**
13389
13428
  * Enable high-quality glyph rendering. When `true`, text uses an MTSDF
@@ -13417,7 +13456,7 @@ export class TextMaterial {
13417
13456
  */
13418
13457
  get lineHeight() {
13419
13458
  const ret = wasm.__wbg_get_textmaterial_lineHeight(this.__wbg_ptr);
13420
- return ret === 0x100000001 ? undefined : ret;
13459
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13421
13460
  }
13422
13461
  /**
13423
13462
  * Maximum line width in ems (multiples of `size`) before text wraps at
@@ -13427,7 +13466,7 @@ export class TextMaterial {
13427
13466
  */
13428
13467
  get maxWidth() {
13429
13468
  const ret = wasm.__wbg_get_textmaterial_maxWidth(this.__wbg_ptr);
13430
- return ret === 0x100000001 ? undefined : ret;
13469
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13431
13470
  }
13432
13471
  /**
13433
13472
  * Avoid overlapping with the globe surface.
@@ -13443,7 +13482,7 @@ export class TextMaterial {
13443
13482
  */
13444
13483
  get opacity() {
13445
13484
  const ret = wasm.__wbg_get_textmaterial_opacity(this.__wbg_ptr);
13446
- return ret === 0x100000001 ? undefined : ret;
13485
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13447
13486
  }
13448
13487
  /**
13449
13488
  * Outline blur radius in CSS pixels. Defaults to `0.0`.
@@ -13451,7 +13490,7 @@ export class TextMaterial {
13451
13490
  */
13452
13491
  get outlineColor() {
13453
13492
  const ret = wasm.__wbg_get_textmaterial_outlineColor(this.__wbg_ptr);
13454
- return ret === 0x100000001 ? undefined : ret;
13493
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13455
13494
  }
13456
13495
  /**
13457
13496
  * Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
@@ -13459,7 +13498,7 @@ export class TextMaterial {
13459
13498
  */
13460
13499
  get outlineOpacity() {
13461
13500
  const ret = wasm.__wbg_get_textmaterial_outlineOpacity(this.__wbg_ptr);
13462
- return ret === 0x100000001 ? undefined : ret;
13501
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13463
13502
  }
13464
13503
  /**
13465
13504
  * Outline thickness measured in CSS pixels. Defaults to `0.0`.
@@ -13467,7 +13506,7 @@ export class TextMaterial {
13467
13506
  */
13468
13507
  get outlineWidth() {
13469
13508
  const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
13470
- return ret === 0x100000001 ? undefined : ret;
13509
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13471
13510
  }
13472
13511
  /**
13473
13512
  * @returns {boolean | undefined}
@@ -13490,7 +13529,7 @@ export class TextMaterial {
13490
13529
  */
13491
13530
  get size() {
13492
13531
  const ret = wasm.__wbg_get_textmaterial_size(this.__wbg_ptr);
13493
- return ret === 0x100000001 ? undefined : ret;
13532
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13494
13533
  }
13495
13534
  /**
13496
13535
  * Horizontal alignment of lines within a multi-line block:
@@ -13530,19 +13569,19 @@ export class TextMaterial {
13530
13569
  * @param {number | null} [arg0]
13531
13570
  */
13532
13571
  set backgroundColor(arg0) {
13533
- wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
13572
+ wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
13534
13573
  }
13535
13574
  /**
13536
13575
  * @param {number | null} [arg0]
13537
13576
  */
13538
13577
  set borderColor(arg0) {
13539
- wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
13578
+ wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
13540
13579
  }
13541
13580
  /**
13542
13581
  * @param {number | null} [arg0]
13543
13582
  */
13544
13583
  set borderWidth(arg0) {
13545
- wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13584
+ wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13546
13585
  }
13547
13586
  /**
13548
13587
  * @param {Vec2 | null} [arg0]
@@ -13565,7 +13604,24 @@ export class TextMaterial {
13565
13604
  * @param {number | null} [arg0]
13566
13605
  */
13567
13606
  set color(arg0) {
13568
- wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
13607
+ wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
13608
+ }
13609
+ /**
13610
+ * Placement priority for decluttering; higher wins. Only meaningful when
13611
+ * `declutter` is enabled. Defaults to `0.0`.
13612
+ * @param {number | null} [arg0]
13613
+ */
13614
+ set declutterPriority(arg0) {
13615
+ wasm.__wbg_set_textmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13616
+ }
13617
+ /**
13618
+ * Participate in screen-space decluttering: when labels/sprites overlap
13619
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
13620
+ * `false` to draw every label unconditionally.
13621
+ * @param {boolean | null} [arg0]
13622
+ */
13623
+ set declutter(arg0) {
13624
+ wasm.__wbg_set_textmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
13569
13625
  }
13570
13626
  /**
13571
13627
  * @param {boolean | null} [arg0]
@@ -13598,7 +13654,7 @@ export class TextMaterial {
13598
13654
  * @param {number | null} [arg0]
13599
13655
  */
13600
13656
  set height(arg0) {
13601
- wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13657
+ wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13602
13658
  }
13603
13659
  /**
13604
13660
  * Enable high-quality glyph rendering. When `true`, text uses an MTSDF
@@ -13626,7 +13682,7 @@ export class TextMaterial {
13626
13682
  * @param {number | null} [arg0]
13627
13683
  */
13628
13684
  set lineHeight(arg0) {
13629
- wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13685
+ wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13630
13686
  }
13631
13687
  /**
13632
13688
  * Maximum line width in ems (multiples of `size`) before text wraps at
@@ -13635,7 +13691,7 @@ export class TextMaterial {
13635
13691
  * @param {number | null} [arg0]
13636
13692
  */
13637
13693
  set maxWidth(arg0) {
13638
- wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13694
+ wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13639
13695
  }
13640
13696
  /**
13641
13697
  * Avoid overlapping with the globe surface.
@@ -13649,28 +13705,28 @@ export class TextMaterial {
13649
13705
  * @param {number | null} [arg0]
13650
13706
  */
13651
13707
  set opacity(arg0) {
13652
- wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13708
+ wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13653
13709
  }
13654
13710
  /**
13655
13711
  * Outline blur radius in CSS pixels. Defaults to `0.0`.
13656
13712
  * @param {number | null} [arg0]
13657
13713
  */
13658
13714
  set outlineColor(arg0) {
13659
- wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
13715
+ wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
13660
13716
  }
13661
13717
  /**
13662
13718
  * Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
13663
13719
  * @param {number | null} [arg0]
13664
13720
  */
13665
13721
  set outlineOpacity(arg0) {
13666
- wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13722
+ wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13667
13723
  }
13668
13724
  /**
13669
13725
  * Outline thickness measured in CSS pixels. Defaults to `0.0`.
13670
13726
  * @param {number | null} [arg0]
13671
13727
  */
13672
13728
  set outlineWidth(arg0) {
13673
- wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13729
+ wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13674
13730
  }
13675
13731
  /**
13676
13732
  * @param {boolean | null} [arg0]
@@ -13690,7 +13746,7 @@ export class TextMaterial {
13690
13746
  * @param {number | null} [arg0]
13691
13747
  */
13692
13748
  set size(arg0) {
13693
- wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13749
+ wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13694
13750
  }
13695
13751
  /**
13696
13752
  * Horizontal alignment of lines within a multi-line block:
@@ -13722,7 +13778,6 @@ if (Symbol.dispose) TextMaterial.prototype[Symbol.dispose] = TextMaterial.protot
13722
13778
 
13723
13779
  export class TextMesh {
13724
13780
  static __wrap(ptr) {
13725
- ptr = ptr >>> 0;
13726
13781
  const obj = Object.create(TextMesh.prototype);
13727
13782
  obj.__wbg_ptr = ptr;
13728
13783
  TextMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -13814,7 +13869,6 @@ if (Symbol.dispose) TextMesh.prototype[Symbol.dispose] = TextMesh.prototype.free
13814
13869
 
13815
13870
  export class TextureFragment {
13816
13871
  static __wrap(ptr) {
13817
- ptr = ptr >>> 0;
13818
13872
  const obj = Object.create(TextureFragment.prototype);
13819
13873
  obj.__wbg_ptr = ptr;
13820
13874
  TextureFragmentFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -13861,7 +13915,6 @@ if (Symbol.dispose) TextureFragment.prototype[Symbol.dispose] = TextureFragment.
13861
13915
 
13862
13916
  export class TextureFragmentRequestedEvent {
13863
13917
  static __wrap(ptr) {
13864
- ptr = ptr >>> 0;
13865
13918
  const obj = Object.create(TextureFragmentRequestedEvent.prototype);
13866
13919
  obj.__wbg_ptr = ptr;
13867
13920
  TextureFragmentRequestedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14067,7 +14120,6 @@ if (Symbol.dispose) TileLayerDescription.prototype[Symbol.dispose] = TileLayerDe
14067
14120
 
14068
14121
  export class TileUvTransform {
14069
14122
  static __wrap(ptr) {
14070
- ptr = ptr >>> 0;
14071
14123
  const obj = Object.create(TileUvTransform.prototype);
14072
14124
  obj.__wbg_ptr = ptr;
14073
14125
  TileUvTransformFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14118,7 +14170,6 @@ if (Symbol.dispose) TileUvTransform.prototype[Symbol.dispose] = TileUvTransform.
14118
14170
 
14119
14171
  export class TileXYZ {
14120
14172
  static __wrap(ptr) {
14121
- ptr = ptr >>> 0;
14122
14173
  const obj = Object.create(TileXYZ.prototype);
14123
14174
  obj.__wbg_ptr = ptr;
14124
14175
  TileXYZFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14180,7 +14231,7 @@ export class TileXYZ {
14180
14231
  */
14181
14232
  constructor(x, y, z) {
14182
14233
  const ret = wasm.tilexyz_new(x, y, z);
14183
- this.__wbg_ptr = ret >>> 0;
14234
+ this.__wbg_ptr = ret;
14184
14235
  TileXYZFinalization.register(this, this.__wbg_ptr, this);
14185
14236
  return this;
14186
14237
  }
@@ -14339,7 +14390,6 @@ if (Symbol.dispose) Tiles3dSourceDescription.prototype[Symbol.dispose] = Tiles3d
14339
14390
 
14340
14391
  export class TransferableFloatAttribute {
14341
14392
  static __wrap(ptr) {
14342
- ptr = ptr >>> 0;
14343
14393
  const obj = Object.create(TransferableFloatAttribute.prototype);
14344
14394
  obj.__wbg_ptr = ptr;
14345
14395
  TransferableFloatAttributeFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14387,7 +14437,7 @@ export class TransferableFloatAttribute {
14387
14437
  */
14388
14438
  constructor(data, size) {
14389
14439
  const ret = wasm.transferablefloatattribute_new(data, size);
14390
- this.__wbg_ptr = ret >>> 0;
14440
+ this.__wbg_ptr = ret;
14391
14441
  TransferableFloatAttributeFinalization.register(this, this.__wbg_ptr, this);
14392
14442
  return this;
14393
14443
  }
@@ -14396,7 +14446,6 @@ if (Symbol.dispose) TransferableFloatAttribute.prototype[Symbol.dispose] = Trans
14396
14446
 
14397
14447
  export class TransferableGeometry {
14398
14448
  static __wrap(ptr) {
14399
- ptr = ptr >>> 0;
14400
14449
  const obj = Object.create(TransferableGeometry.prototype);
14401
14450
  obj.__wbg_ptr = ptr;
14402
14451
  TransferableGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14424,35 +14473,35 @@ export class TransferableGeometry {
14424
14473
  */
14425
14474
  get normals() {
14426
14475
  const ret = wasm.__wbg_get_transferablegeometry_normals(this.__wbg_ptr);
14427
- return ret === 0x100000001 ? undefined : ret;
14476
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
14428
14477
  }
14429
14478
  /**
14430
14479
  * @returns {number | undefined}
14431
14480
  */
14432
14481
  get skirt_indices() {
14433
14482
  const ret = wasm.__wbg_get_transferablegeometry_skirt_indices(this.__wbg_ptr);
14434
- return ret === 0x100000001 ? undefined : ret;
14483
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
14435
14484
  }
14436
14485
  /**
14437
14486
  * @returns {number | undefined}
14438
14487
  */
14439
14488
  get skirt_normals() {
14440
14489
  const ret = wasm.__wbg_get_transferablegeometry_skirt_normals(this.__wbg_ptr);
14441
- return ret === 0x100000001 ? undefined : ret;
14490
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
14442
14491
  }
14443
14492
  /**
14444
14493
  * @returns {number | undefined}
14445
14494
  */
14446
14495
  get skirt_uvs() {
14447
14496
  const ret = wasm.__wbg_get_transferablegeometry_skirt_uvs(this.__wbg_ptr);
14448
- return ret === 0x100000001 ? undefined : ret;
14497
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
14449
14498
  }
14450
14499
  /**
14451
14500
  * @returns {number | undefined}
14452
14501
  */
14453
14502
  get skirt_vertices() {
14454
14503
  const ret = wasm.__wbg_get_transferablegeometry_skirt_vertices(this.__wbg_ptr);
14455
- return ret === 0x100000001 ? undefined : ret;
14504
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
14456
14505
  }
14457
14506
  /**
14458
14507
  * @returns {number}
@@ -14478,31 +14527,31 @@ export class TransferableGeometry {
14478
14527
  * @param {number | null} [arg0]
14479
14528
  */
14480
14529
  set normals(arg0) {
14481
- wasm.__wbg_set_transferablegeometry_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
14530
+ wasm.__wbg_set_transferablegeometry_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
14482
14531
  }
14483
14532
  /**
14484
14533
  * @param {number | null} [arg0]
14485
14534
  */
14486
14535
  set skirt_indices(arg0) {
14487
- wasm.__wbg_set_transferablegeometry_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
14536
+ wasm.__wbg_set_transferablegeometry_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
14488
14537
  }
14489
14538
  /**
14490
14539
  * @param {number | null} [arg0]
14491
14540
  */
14492
14541
  set skirt_normals(arg0) {
14493
- wasm.__wbg_set_transferablegeometry_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
14542
+ wasm.__wbg_set_transferablegeometry_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
14494
14543
  }
14495
14544
  /**
14496
14545
  * @param {number | null} [arg0]
14497
14546
  */
14498
14547
  set skirt_uvs(arg0) {
14499
- wasm.__wbg_set_transferablegeometry_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
14548
+ wasm.__wbg_set_transferablegeometry_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
14500
14549
  }
14501
14550
  /**
14502
14551
  * @param {number | null} [arg0]
14503
14552
  */
14504
14553
  set skirt_vertices(arg0) {
14505
- wasm.__wbg_set_transferablegeometry_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
14554
+ wasm.__wbg_set_transferablegeometry_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
14506
14555
  }
14507
14556
  /**
14508
14557
  * @param {number} arg0
@@ -14523,7 +14572,7 @@ export class TransferableGeometry {
14523
14572
  */
14524
14573
  constructor(vertices, uvs, indices) {
14525
14574
  const ret = wasm.transferablegeometry_new(vertices, uvs, indices);
14526
- this.__wbg_ptr = ret >>> 0;
14575
+ this.__wbg_ptr = ret;
14527
14576
  TransferableGeometryFinalization.register(this, this.__wbg_ptr, this);
14528
14577
  return this;
14529
14578
  }
@@ -14576,7 +14625,6 @@ if (Symbol.dispose) TransferableHoles.prototype[Symbol.dispose] = TransferableHo
14576
14625
 
14577
14626
  export class TransferableMartini {
14578
14627
  static __wrap(ptr) {
14579
- ptr = ptr >>> 0;
14580
14628
  const obj = Object.create(TransferableMartini.prototype);
14581
14629
  obj.__wbg_ptr = ptr;
14582
14630
  TransferableMartiniFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14621,7 +14669,7 @@ export class TransferableMartini {
14621
14669
  const ptr0 = passArray32ToWasm0(coords, wasm.__wbindgen_malloc);
14622
14670
  const len0 = WASM_VECTOR_LEN;
14623
14671
  const ret = wasm.transferablemartini_new(size, ptr0, len0);
14624
- this.__wbg_ptr = ret >>> 0;
14672
+ this.__wbg_ptr = ret;
14625
14673
  TransferableMartiniFinalization.register(this, this.__wbg_ptr, this);
14626
14674
  return this;
14627
14675
  }
@@ -14637,7 +14685,6 @@ if (Symbol.dispose) TransferableMartini.prototype[Symbol.dispose] = Transferable
14637
14685
 
14638
14686
  export class TransferableModelGeometry {
14639
14687
  static __wrap(ptr) {
14640
- ptr = ptr >>> 0;
14641
14688
  const obj = Object.create(TransferableModelGeometry.prototype);
14642
14689
  obj.__wbg_ptr = ptr;
14643
14690
  TransferableModelGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14736,7 +14783,6 @@ if (Symbol.dispose) TransferableParsedMvtResult.prototype[Symbol.dispose] = Tran
14736
14783
 
14737
14784
  export class TransferablePointGeometry {
14738
14785
  static __wrap(ptr) {
14739
- ptr = ptr >>> 0;
14740
14786
  const obj = Object.create(TransferablePointGeometry.prototype);
14741
14787
  obj.__wbg_ptr = ptr;
14742
14788
  TransferablePointGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14885,7 +14931,7 @@ export class TransferablePolygonBatchedFeature {
14885
14931
  */
14886
14932
  constructor(crs, length) {
14887
14933
  const ret = wasm.transferablepolygonbatchedfeature_constructor(crs, length);
14888
- this.__wbg_ptr = ret >>> 0;
14934
+ this.__wbg_ptr = ret;
14889
14935
  TransferablePolygonBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
14890
14936
  return this;
14891
14937
  }
@@ -15020,7 +15066,6 @@ if (Symbol.dispose) TransferablePolygonBatchedFeature.prototype[Symbol.dispose]
15020
15066
 
15021
15067
  export class TransferablePolygonGeometry {
15022
15068
  static __wrap(ptr) {
15023
- ptr = ptr >>> 0;
15024
15069
  const obj = Object.create(TransferablePolygonGeometry.prototype);
15025
15070
  obj.__wbg_ptr = ptr;
15026
15071
  TransferablePolygonGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -15222,7 +15267,7 @@ export class TransferablePolygonGeometry {
15222
15267
  ptr6 = batch_index.__destroy_into_raw();
15223
15268
  }
15224
15269
  const ret = wasm.transferablepolygongeometry_new(ptr0, ptr1, ptr2, ptr3, ptr4, ptr5, ptr6, indices);
15225
- this.__wbg_ptr = ret >>> 0;
15270
+ this.__wbg_ptr = ret;
15226
15271
  TransferablePolygonGeometryFinalization.register(this, this.__wbg_ptr, this);
15227
15272
  return this;
15228
15273
  }
@@ -15231,7 +15276,6 @@ if (Symbol.dispose) TransferablePolygonGeometry.prototype[Symbol.dispose] = Tran
15231
15276
 
15232
15277
  export class TransferablePolygonOutlineGeometry {
15233
15278
  static __wrap(ptr) {
15234
- ptr = ptr >>> 0;
15235
15279
  const obj = Object.create(TransferablePolygonOutlineGeometry.prototype);
15236
15280
  obj.__wbg_ptr = ptr;
15237
15281
  TransferablePolygonOutlineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -15273,7 +15317,7 @@ export class TransferablePolygonOutlineGeometry {
15273
15317
  */
15274
15318
  get skip_indices() {
15275
15319
  const ret = wasm.__wbg_get_transferablepolygonoutlinegeometry_skip_indices(this.__wbg_ptr);
15276
- return ret === 0x100000001 ? undefined : ret;
15320
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
15277
15321
  }
15278
15322
  /**
15279
15323
  * @param {TransferableFloatAttribute | null} [arg0]
@@ -15312,7 +15356,7 @@ export class TransferablePolygonOutlineGeometry {
15312
15356
  * @param {number | null} [arg0]
15313
15357
  */
15314
15358
  set skip_indices(arg0) {
15315
- wasm.__wbg_set_transferablepolygonoutlinegeometry_skip_indices(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
15359
+ wasm.__wbg_set_transferablepolygonoutlinegeometry_skip_indices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
15316
15360
  }
15317
15361
  /**
15318
15362
  * @param {TransferableFloatAttribute | null} [position]
@@ -15336,8 +15380,8 @@ export class TransferablePolygonOutlineGeometry {
15336
15380
  _assertClass(batch_index, TransferableFloatAttribute);
15337
15381
  ptr2 = batch_index.__destroy_into_raw();
15338
15382
  }
15339
- const ret = wasm.transferablepolygonoutlinegeometry_new(ptr0, ptr1, isLikeNone(skip_indices) ? 0x100000001 : (skip_indices) >> 0, ptr2);
15340
- this.__wbg_ptr = ret >>> 0;
15383
+ const ret = wasm.transferablepolygonoutlinegeometry_new(ptr0, ptr1, isLikeNone(skip_indices) ? Number.MAX_SAFE_INTEGER : (skip_indices) >> 0, ptr2);
15384
+ this.__wbg_ptr = ret;
15341
15385
  TransferablePolygonOutlineGeometryFinalization.register(this, this.__wbg_ptr, this);
15342
15386
  return this;
15343
15387
  }
@@ -15390,7 +15434,7 @@ export class TransferablePolylineBatchedFeature {
15390
15434
  */
15391
15435
  constructor(crs, length) {
15392
15436
  const ret = wasm.transferablepolylinebatchedfeature_constructor(crs, length);
15393
- this.__wbg_ptr = ret >>> 0;
15437
+ this.__wbg_ptr = ret;
15394
15438
  TransferablePolylineBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
15395
15439
  return this;
15396
15440
  }
@@ -15455,7 +15499,6 @@ if (Symbol.dispose) TransferablePolylineBatchedFeature.prototype[Symbol.dispose]
15455
15499
 
15456
15500
  export class TransferablePolylineGeometry {
15457
15501
  static __wrap(ptr) {
15458
- ptr = ptr >>> 0;
15459
15502
  const obj = Object.create(TransferablePolylineGeometry.prototype);
15460
15503
  obj.__wbg_ptr = ptr;
15461
15504
  TransferablePolylineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -15813,7 +15856,7 @@ export class TransferablePolylineGeometry {
15813
15856
  ptr13 = batch_index.__destroy_into_raw();
15814
15857
  }
15815
15858
  const ret = wasm.transferablepolylinegeometry_new(ptr0, ptr1, ptr2, ptr3, ptr4, ptr5, ptr6, ptr7, ptr8, ptr9, ptr10, ptr11, ptr12, ptr13, indices);
15816
- this.__wbg_ptr = ret >>> 0;
15859
+ this.__wbg_ptr = ret;
15817
15860
  TransferablePolylineGeometryFinalization.register(this, this.__wbg_ptr, this);
15818
15861
  return this;
15819
15862
  }
@@ -15853,7 +15896,7 @@ export class TransferableRasterDEMData {
15853
15896
  _assertClass(decoder, ElevationDecoder);
15854
15897
  var ptr0 = decoder.__destroy_into_raw();
15855
15898
  const ret = wasm.transferablerasterdemdata_new(ptr0);
15856
- this.__wbg_ptr = ret >>> 0;
15899
+ this.__wbg_ptr = ret;
15857
15900
  TransferableRasterDEMDataFinalization.register(this, this.__wbg_ptr, this);
15858
15901
  return this;
15859
15902
  }
@@ -15862,7 +15905,6 @@ if (Symbol.dispose) TransferableRasterDEMData.prototype[Symbol.dispose] = Transf
15862
15905
 
15863
15906
  export class TransferableTile {
15864
15907
  static __wrap(ptr) {
15865
- ptr = ptr >>> 0;
15866
15908
  const obj = Object.create(TransferableTile.prototype);
15867
15909
  obj.__wbg_ptr = ptr;
15868
15910
  TransferableTileFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -15952,7 +15994,7 @@ export class TransferableTile {
15952
15994
  ptr1 = cached_mesh_handle.__destroy_into_raw();
15953
15995
  }
15954
15996
  const ret = wasm.transferabletile_new(ptr0, max_height, min_height, ptr1);
15955
- this.__wbg_ptr = ret >>> 0;
15997
+ this.__wbg_ptr = ret;
15956
15998
  TransferableTileFinalization.register(this, this.__wbg_ptr, this);
15957
15999
  return this;
15958
16000
  }
@@ -15961,7 +16003,6 @@ if (Symbol.dispose) TransferableTile.prototype[Symbol.dispose] = TransferableTil
15961
16003
 
15962
16004
  export class TransferableUintAttribute {
15963
16005
  static __wrap(ptr) {
15964
- ptr = ptr >>> 0;
15965
16006
  const obj = Object.create(TransferableUintAttribute.prototype);
15966
16007
  obj.__wbg_ptr = ptr;
15967
16008
  TransferableUintAttributeFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -16009,7 +16050,7 @@ export class TransferableUintAttribute {
16009
16050
  */
16010
16051
  constructor(data, size) {
16011
16052
  const ret = wasm.transferableuintattribute_new(data, size);
16012
- this.__wbg_ptr = ret >>> 0;
16053
+ this.__wbg_ptr = ret;
16013
16054
  TransferableUintAttributeFinalization.register(this, this.__wbg_ptr, this);
16014
16055
  return this;
16015
16056
  }
@@ -16018,7 +16059,6 @@ if (Symbol.dispose) TransferableUintAttribute.prototype[Symbol.dispose] = Transf
16018
16059
 
16019
16060
  export class Transform {
16020
16061
  static __wrap(ptr) {
16021
- ptr = ptr >>> 0;
16022
16062
  const obj = Object.create(Transform.prototype);
16023
16063
  obj.__wbg_ptr = ptr;
16024
16064
  TransformFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -16178,7 +16218,7 @@ export class Transform {
16178
16218
  */
16179
16219
  constructor(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz) {
16180
16220
  const ret = wasm.transform_new(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz);
16181
- this.__wbg_ptr = ret >>> 0;
16221
+ this.__wbg_ptr = ret;
16182
16222
  TransformFinalization.register(this, this.__wbg_ptr, this);
16183
16223
  return this;
16184
16224
  }
@@ -16217,7 +16257,7 @@ export class UintAttribute {
16217
16257
  const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
16218
16258
  const len0 = WASM_VECTOR_LEN;
16219
16259
  const ret = wasm.uintattribute_new(ptr0, len0, size);
16220
- this.__wbg_ptr = ret >>> 0;
16260
+ this.__wbg_ptr = ret;
16221
16261
  UintAttributeFinalization.register(this, this.__wbg_ptr, this);
16222
16262
  return this;
16223
16263
  }
@@ -16261,7 +16301,7 @@ export class UpsamplableTerrainGeometry {
16261
16301
  var ptr4 = isLikeNone(watermask) ? 0 : passArray8ToWasm0(watermask, wasm.__wbindgen_malloc);
16262
16302
  var len4 = WASM_VECTOR_LEN;
16263
16303
  const ret = wasm.upsamplableterraingeometry_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
16264
- this.__wbg_ptr = ret >>> 0;
16304
+ this.__wbg_ptr = ret;
16265
16305
  UpsamplableTerrainGeometryFinalization.register(this, this.__wbg_ptr, this);
16266
16306
  return this;
16267
16307
  }
@@ -16270,7 +16310,6 @@ if (Symbol.dispose) UpsamplableTerrainGeometry.prototype[Symbol.dispose] = Upsam
16270
16310
 
16271
16311
  export class UpsampleTerrainMeshParameters {
16272
16312
  static __wrap(ptr) {
16273
- ptr = ptr >>> 0;
16274
16313
  const obj = Object.create(UpsampleTerrainMeshParameters.prototype);
16275
16314
  obj.__wbg_ptr = ptr;
16276
16315
  UpsampleTerrainMeshParametersFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -16375,7 +16414,7 @@ export class UpsampleTerrainMeshParameters {
16375
16414
  */
16376
16415
  constructor(tile_handle, skirt, skirt_exaggeration) {
16377
16416
  const ret = wasm.upsampleterrainmeshparameters_new(tile_handle, skirt, skirt_exaggeration);
16378
- this.__wbg_ptr = ret >>> 0;
16417
+ this.__wbg_ptr = ret;
16379
16418
  UpsampleTerrainMeshParametersFinalization.register(this, this.__wbg_ptr, this);
16380
16419
  return this;
16381
16420
  }
@@ -16384,7 +16423,6 @@ if (Symbol.dispose) UpsampleTerrainMeshParameters.prototype[Symbol.dispose] = Up
16384
16423
 
16385
16424
  export class UpsampleTerrainMeshResult {
16386
16425
  static __wrap(ptr) {
16387
- ptr = ptr >>> 0;
16388
16426
  const obj = Object.create(UpsampleTerrainMeshResult.prototype);
16389
16427
  obj.__wbg_ptr = ptr;
16390
16428
  UpsampleTerrainMeshResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -16440,7 +16478,7 @@ export class UpsampleTerrainMeshResult {
16440
16478
  */
16441
16479
  get watermask() {
16442
16480
  const ret = wasm.__wbg_get_upsampleterrainmeshresult_watermask(this.__wbg_ptr);
16443
- return ret === 0x100000001 ? undefined : ret;
16481
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
16444
16482
  }
16445
16483
  /**
16446
16484
  * @param {TransferableGeometry} arg0
@@ -16483,7 +16521,7 @@ export class UpsampleTerrainMeshResult {
16483
16521
  * @param {number | null} [arg0]
16484
16522
  */
16485
16523
  set watermask(arg0) {
16486
- wasm.__wbg_set_upsampleterrainmeshresult_watermask(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
16524
+ wasm.__wbg_set_upsampleterrainmeshresult_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
16487
16525
  }
16488
16526
  /**
16489
16527
  * @param {TransferableGeometry} geometry
@@ -16501,7 +16539,7 @@ export class UpsampleTerrainMeshResult {
16501
16539
  ptr1 = rtc_translation.__destroy_into_raw();
16502
16540
  }
16503
16541
  const ret = wasm.upsampleterrainmeshresult_new(ptr0, heights, min_height, max_height, ptr1);
16504
- this.__wbg_ptr = ret >>> 0;
16542
+ this.__wbg_ptr = ret;
16505
16543
  UpsampleTerrainMeshResultFinalization.register(this, this.__wbg_ptr, this);
16506
16544
  return this;
16507
16545
  }
@@ -16510,7 +16548,6 @@ if (Symbol.dispose) UpsampleTerrainMeshResult.prototype[Symbol.dispose] = Upsamp
16510
16548
 
16511
16549
  export class Vec2 {
16512
16550
  static __wrap(ptr) {
16513
- ptr = ptr >>> 0;
16514
16551
  const obj = Object.create(Vec2.prototype);
16515
16552
  obj.__wbg_ptr = ptr;
16516
16553
  Vec2Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -16558,7 +16595,7 @@ export class Vec2 {
16558
16595
  */
16559
16596
  constructor(x, y) {
16560
16597
  const ret = wasm.vec2_new(x, y);
16561
- this.__wbg_ptr = ret >>> 0;
16598
+ this.__wbg_ptr = ret;
16562
16599
  Vec2Finalization.register(this, this.__wbg_ptr, this);
16563
16600
  return this;
16564
16601
  }
@@ -16567,7 +16604,6 @@ if (Symbol.dispose) Vec2.prototype[Symbol.dispose] = Vec2.prototype.free;
16567
16604
 
16568
16605
  export class Vec3 {
16569
16606
  static __wrap(ptr) {
16570
- ptr = ptr >>> 0;
16571
16607
  const obj = Object.create(Vec3.prototype);
16572
16608
  obj.__wbg_ptr = ptr;
16573
16609
  Vec3Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -16629,7 +16665,7 @@ export class Vec3 {
16629
16665
  */
16630
16666
  constructor(x, y, z) {
16631
16667
  const ret = wasm.vec3_new(x, y, z);
16632
- this.__wbg_ptr = ret >>> 0;
16668
+ this.__wbg_ptr = ret;
16633
16669
  Vec3Finalization.register(this, this.__wbg_ptr, this);
16634
16670
  return this;
16635
16671
  }
@@ -16838,21 +16874,21 @@ export class VectorTileSourceDescription {
16838
16874
  */
16839
16875
  get maxSse() {
16840
16876
  const ret = wasm.__wbg_get_vectortilesourcedescription_maxSse(this.__wbg_ptr);
16841
- return ret === 0x100000001 ? undefined : ret;
16877
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
16842
16878
  }
16843
16879
  /**
16844
16880
  * @returns {number | undefined}
16845
16881
  */
16846
16882
  get maxZoom() {
16847
16883
  const ret = wasm.__wbg_get_vectortilesourcedescription_maxZoom(this.__wbg_ptr);
16848
- return ret === 0x100000001 ? undefined : ret;
16884
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
16849
16885
  }
16850
16886
  /**
16851
16887
  * @returns {number | undefined}
16852
16888
  */
16853
16889
  get overscaledMaxZoom() {
16854
16890
  const ret = wasm.__wbg_get_vectortilesourcedescription_overscaledMaxZoom(this.__wbg_ptr);
16855
- return ret === 0x100000001 ? undefined : ret;
16891
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
16856
16892
  }
16857
16893
  /**
16858
16894
  * @returns {string | undefined}
@@ -16890,19 +16926,19 @@ export class VectorTileSourceDescription {
16890
16926
  * @param {number | null} [arg0]
16891
16927
  */
16892
16928
  set maxSse(arg0) {
16893
- wasm.__wbg_set_vectortilesourcedescription_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
16929
+ wasm.__wbg_set_vectortilesourcedescription_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
16894
16930
  }
16895
16931
  /**
16896
16932
  * @param {number | null} [arg0]
16897
16933
  */
16898
16934
  set maxZoom(arg0) {
16899
- wasm.__wbg_set_vectortilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
16935
+ wasm.__wbg_set_vectortilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
16900
16936
  }
16901
16937
  /**
16902
16938
  * @param {number | null} [arg0]
16903
16939
  */
16904
16940
  set overscaledMaxZoom(arg0) {
16905
- wasm.__wbg_set_vectortilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
16941
+ wasm.__wbg_set_vectortilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
16906
16942
  }
16907
16943
  /**
16908
16944
  * @param {string | null} [arg0]
@@ -16932,7 +16968,6 @@ if (Symbol.dispose) VectorTileSourceDescription.prototype[Symbol.dispose] = Vect
16932
16968
  */
16933
16969
  export class VectorTileState {
16934
16970
  static __wrap(ptr) {
16935
- ptr = ptr >>> 0;
16936
16971
  const obj = Object.create(VectorTileState.prototype);
16937
16972
  obj.__wbg_ptr = ptr;
16938
16973
  VectorTileStateFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -17122,7 +17157,7 @@ export class Window {
17122
17157
  */
17123
17158
  constructor(width, height, pixel_ratio) {
17124
17159
  const ret = wasm.window_new(width, height, pixel_ratio);
17125
- this.__wbg_ptr = ret >>> 0;
17160
+ this.__wbg_ptr = ret;
17126
17161
  WindowFinalization.register(this, this.__wbg_ptr, this);
17127
17162
  return this;
17128
17163
  }
@@ -17131,7 +17166,6 @@ if (Symbol.dispose) Window.prototype[Symbol.dispose] = Window.prototype.free;
17131
17166
 
17132
17167
  export class WorkerTaskDelegatedEvent {
17133
17168
  static __wrap(ptr) {
17134
- ptr = ptr >>> 0;
17135
17169
  const obj = Object.create(WorkerTaskDelegatedEvent.prototype);
17136
17170
  obj.__wbg_ptr = ptr;
17137
17171
  WorkerTaskDelegatedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -17220,6 +17254,24 @@ export function generateId() {
17220
17254
  }
17221
17255
  }
17222
17256
 
17257
+ /**
17258
+ * WebMercator northing `ln(tan(lat/2 + π/4))` for a latitude in radians,
17259
+ * clamped to the valid WebMercator band (~±85.05°).
17260
+ *
17261
+ * Exported so the web composite paste (`mutates.ts`) derives its per-slot
17262
+ * reprojection constants from the same clamped math the Rust bake affine uses
17263
+ * (`uv_rect_from_extents_mercator`) — the two sides must agree or the pasted
17264
+ * latitude band drifts off the baked render target. A TS reimplementation
17265
+ * also returned NaN for the unclamped polar band (±90° as f32), which
17266
+ * silently disabled reprojection via the shader's span guard.
17267
+ * @param {number} lat
17268
+ * @returns {number}
17269
+ */
17270
+ export function mercatorY(lat) {
17271
+ const ret = wasm.mercatorY(lat);
17272
+ return ret;
17273
+ }
17274
+
17223
17275
  /**
17224
17276
  * @param {bigint} child
17225
17277
  * @param {bigint} parent
@@ -17236,11 +17288,11 @@ export function start() {
17236
17288
  function __wbg_get_imports() {
17237
17289
  const import0 = {
17238
17290
  __proto__: null,
17239
- __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
17291
+ __wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
17240
17292
  const ret = Error(getStringFromWasm0(arg0, arg1));
17241
17293
  return ret;
17242
17294
  },
17243
- __wbg_Number_32bf70a599af1d4b: function(arg0) {
17295
+ __wbg_Number_9a4e0ecb0fa16705: function(arg0) {
17244
17296
  const ret = Number(arg0);
17245
17297
  return ret;
17246
17298
  },
@@ -17251,72 +17303,72 @@ function __wbg_get_imports() {
17251
17303
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
17252
17304
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
17253
17305
  },
17254
- __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
17306
+ __wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
17255
17307
  const v = arg1;
17256
17308
  const ret = typeof(v) === 'bigint' ? v : undefined;
17257
17309
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
17258
17310
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
17259
17311
  },
17260
- __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
17312
+ __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
17261
17313
  const v = arg0;
17262
17314
  const ret = typeof(v) === 'boolean' ? v : undefined;
17263
17315
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
17264
17316
  },
17265
- __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
17317
+ __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
17266
17318
  const ret = debugString(arg1);
17267
17319
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
17268
17320
  const len1 = WASM_VECTOR_LEN;
17269
17321
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
17270
17322
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
17271
17323
  },
17272
- __wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
17324
+ __wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
17273
17325
  const ret = arg0 in arg1;
17274
17326
  return ret;
17275
17327
  },
17276
- __wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
17328
+ __wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
17277
17329
  const ret = typeof(arg0) === 'bigint';
17278
17330
  return ret;
17279
17331
  },
17280
- __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
17332
+ __wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
17281
17333
  const ret = typeof(arg0) === 'function';
17282
17334
  return ret;
17283
17335
  },
17284
- __wbg___wbindgen_is_null_52ff4ec04186736f: function(arg0) {
17336
+ __wbg___wbindgen_is_null_ea9085d691f535d3: function(arg0) {
17285
17337
  const ret = arg0 === null;
17286
17338
  return ret;
17287
17339
  },
17288
- __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
17340
+ __wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
17289
17341
  const val = arg0;
17290
17342
  const ret = typeof(val) === 'object' && val !== null;
17291
17343
  return ret;
17292
17344
  },
17293
- __wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
17345
+ __wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
17294
17346
  const ret = typeof(arg0) === 'string';
17295
17347
  return ret;
17296
17348
  },
17297
- __wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
17349
+ __wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
17298
17350
  const ret = arg0 === undefined;
17299
17351
  return ret;
17300
17352
  },
17301
- __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
17353
+ __wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
17302
17354
  const ret = arg0 === arg1;
17303
17355
  return ret;
17304
17356
  },
17305
- __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
17357
+ __wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
17306
17358
  const ret = arg0 == arg1;
17307
17359
  return ret;
17308
17360
  },
17309
- __wbg___wbindgen_memory_dfa12096f400c9bd: function() {
17361
+ __wbg___wbindgen_memory_de265df8aadd6273: function() {
17310
17362
  const ret = wasm.memory;
17311
17363
  return ret;
17312
17364
  },
17313
- __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
17365
+ __wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
17314
17366
  const obj = arg1;
17315
17367
  const ret = typeof(obj) === 'number' ? obj : undefined;
17316
17368
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
17317
17369
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
17318
17370
  },
17319
- __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
17371
+ __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
17320
17372
  const obj = arg1;
17321
17373
  const ret = typeof(obj) === 'string' ? obj : undefined;
17322
17374
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -17324,32 +17376,26 @@ function __wbg_get_imports() {
17324
17376
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
17325
17377
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
17326
17378
  },
17327
- __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
17379
+ __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
17328
17380
  throw new Error(getStringFromWasm0(arg0, arg1));
17329
17381
  },
17330
- __wbg___wbindgen_try_into_number_d7832e9de41bafc5: function(arg0) {
17331
- let result;
17332
- try { result = +arg0 } catch (e) { result = e }
17333
- const ret = result;
17334
- return ret;
17335
- },
17336
- __wbg_buffer_0377ff0622c5de76: function(arg0) {
17382
+ __wbg_buffer_0f212447ac64c53b: function(arg0) {
17337
17383
  const ret = arg0.buffer;
17338
17384
  return ret;
17339
17385
  },
17340
- __wbg_call_14b169f759b26747: function() { return handleError(function (arg0, arg1) {
17341
- const ret = arg0.call(arg1);
17386
+ __wbg_call_44b7209e1e252e6a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
17387
+ const ret = arg0.call(arg1, arg2, arg3, arg4);
17342
17388
  return ret;
17343
17389
  }, arguments); },
17344
- __wbg_call_86e39d65afc3d9db: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
17345
- const ret = arg0.call(arg1, arg2, arg3, arg4);
17390
+ __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
17391
+ const ret = arg0.call(arg1);
17346
17392
  return ret;
17347
17393
  }, arguments); },
17348
- __wbg_call_a24592a6f349a97e: function() { return handleError(function (arg0, arg1, arg2) {
17394
+ __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
17349
17395
  const ret = arg0.call(arg1, arg2);
17350
17396
  return ret;
17351
17397
  }, arguments); },
17352
- __wbg_call_bb28efe6b2f55b86: function() { return handleError(function (arg0, arg1, arg2, arg3) {
17398
+ __wbg_call_e3b662382210db98: function() { return handleError(function (arg0, arg1, arg2, arg3) {
17353
17399
  const ret = arg0.call(arg1, arg2, arg3);
17354
17400
  return ret;
17355
17401
  }, arguments); },
@@ -17361,7 +17407,7 @@ function __wbg_get_imports() {
17361
17407
  const ret = DataRequestEvent.__wrap(arg0);
17362
17408
  return ret;
17363
17409
  },
17364
- __wbg_done_9158f7cc8751ba32: function(arg0) {
17410
+ __wbg_done_89b2b13e91a60321: function(arg0) {
17365
17411
  const ret = arg0.done;
17366
17412
  return ret;
17367
17413
  },
@@ -17369,22 +17415,22 @@ function __wbg_get_imports() {
17369
17415
  const ret = EntityEvent.__wrap(arg0);
17370
17416
  return ret;
17371
17417
  },
17372
- __wbg_entries_e0b73aa8571ddb56: function(arg0) {
17418
+ __wbg_entries_015dc610cd81ede0: function(arg0) {
17373
17419
  const ret = Object.entries(arg0);
17374
17420
  return ret;
17375
17421
  },
17376
- __wbg_getRandomValues_76dfc69825c9c552: function() { return handleError(function (arg0, arg1) {
17422
+ __wbg_getRandomValues_cc7f052a444bb2ce: function() { return handleError(function (arg0, arg1) {
17377
17423
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
17378
17424
  }, arguments); },
17379
- __wbg_get_1affdbdd5573b16a: function() { return handleError(function (arg0, arg1) {
17380
- const ret = Reflect.get(arg0, arg1);
17381
- return ret;
17382
- }, arguments); },
17383
- __wbg_get_8360291721e2339f: function(arg0, arg1) {
17425
+ __wbg_get_507a50627bffa49b: function(arg0, arg1) {
17384
17426
  const ret = arg0[arg1 >>> 0];
17385
17427
  return ret;
17386
17428
  },
17387
- __wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
17429
+ __wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
17430
+ const ret = Reflect.get(arg0, arg1);
17431
+ return ret;
17432
+ }, arguments); },
17433
+ __wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
17388
17434
  const ret = arg0[arg1 >>> 0];
17389
17435
  return ret;
17390
17436
  },
@@ -17396,7 +17442,7 @@ function __wbg_get_imports() {
17396
17442
  const ret = HillshadeBackfilledEvent.__wrap(arg0);
17397
17443
  return ret;
17398
17444
  },
17399
- __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
17445
+ __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
17400
17446
  let result;
17401
17447
  try {
17402
17448
  result = arg0 instanceof ArrayBuffer;
@@ -17406,7 +17452,7 @@ function __wbg_get_imports() {
17406
17452
  const ret = result;
17407
17453
  return ret;
17408
17454
  },
17409
- __wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
17455
+ __wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
17410
17456
  let result;
17411
17457
  try {
17412
17458
  result = arg0 instanceof Map;
@@ -17416,7 +17462,7 @@ function __wbg_get_imports() {
17416
17462
  const ret = result;
17417
17463
  return ret;
17418
17464
  },
17419
- __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
17465
+ __wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
17420
17466
  let result;
17421
17467
  try {
17422
17468
  result = arg0 instanceof Uint8Array;
@@ -17426,35 +17472,35 @@ function __wbg_get_imports() {
17426
17472
  const ret = result;
17427
17473
  return ret;
17428
17474
  },
17429
- __wbg_isArray_c3109d14ffc06469: function(arg0) {
17475
+ __wbg_isArray_0677c962b281d01a: function(arg0) {
17430
17476
  const ret = Array.isArray(arg0);
17431
17477
  return ret;
17432
17478
  },
17433
- __wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
17479
+ __wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
17434
17480
  const ret = Number.isSafeInteger(arg0);
17435
17481
  return ret;
17436
17482
  },
17437
- __wbg_iterator_013bc09ec998c2a7: function() {
17483
+ __wbg_iterator_6f722e4a93058b71: function() {
17438
17484
  const ret = Symbol.iterator;
17439
17485
  return ret;
17440
17486
  },
17441
- __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
17487
+ __wbg_length_0133fa10e3234c57: function(arg0) {
17442
17488
  const ret = arg0.length;
17443
17489
  return ret;
17444
17490
  },
17445
- __wbg_length_9f1775224cf1d815: function(arg0) {
17491
+ __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
17446
17492
  const ret = arg0.length;
17447
17493
  return ret;
17448
17494
  },
17449
- __wbg_length_b5ce18c1fcafa728: function(arg0) {
17495
+ __wbg_length_370319915dc99107: function(arg0) {
17450
17496
  const ret = arg0.length;
17451
17497
  return ret;
17452
17498
  },
17453
- __wbg_length_d807629e96c741b8: function(arg0) {
17499
+ __wbg_length_381d540857ec99e8: function(arg0) {
17454
17500
  const ret = arg0.length;
17455
17501
  return ret;
17456
17502
  },
17457
- __wbg_length_fab29957ea6bdb8c: function(arg0) {
17503
+ __wbg_length_98f10d1e2f4ea968: function(arg0) {
17458
17504
  const ret = arg0.length;
17459
17505
  return ret;
17460
17506
  },
@@ -17473,66 +17519,66 @@ function __wbg_get_imports() {
17473
17519
  const ret = MeshChanged.__wrap(arg0);
17474
17520
  return ret;
17475
17521
  },
17476
- __wbg_new_0c7403db6e782f19: function(arg0) {
17477
- const ret = new Uint8Array(arg0);
17522
+ __wbg_new_32b398fb48b6d94a: function() {
17523
+ const ret = new Array();
17478
17524
  return ret;
17479
17525
  },
17480
- __wbg_new_1c0925936314b719: function(arg0) {
17526
+ __wbg_new_80efd62ef570c5de: function(arg0) {
17481
17527
  const ret = new Float64Array(arg0);
17482
17528
  return ret;
17483
17529
  },
17484
- __wbg_new_682678e2f47e32bc: function() {
17485
- const ret = new Array();
17530
+ __wbg_new_92a08b12c30e98e8: function(arg0) {
17531
+ const ret = new Float32Array(arg0);
17486
17532
  return ret;
17487
17533
  },
17488
- __wbg_new_8bc2b540bbfdbb81: function(arg0) {
17489
- const ret = new Uint32Array(arg0);
17534
+ __wbg_new_cd45aabdf6073e84: function(arg0) {
17535
+ const ret = new Uint8Array(arg0);
17490
17536
  return ret;
17491
17537
  },
17492
- __wbg_new_aa8d0fa9762c29bd: function() {
17538
+ __wbg_new_da52cf8fe3429cb2: function() {
17493
17539
  const ret = new Object();
17494
17540
  return ret;
17495
17541
  },
17496
- __wbg_new_b2663e175990f0a6: function(arg0) {
17497
- const ret = new Float32Array(arg0);
17542
+ __wbg_new_dfd44b7151fab657: function(arg0) {
17543
+ const ret = new Uint32Array(arg0);
17498
17544
  return ret;
17499
17545
  },
17500
- __wbg_new_with_byte_offset_and_length_00cc6a9128e26a8a: function(arg0, arg1, arg2) {
17501
- const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
17546
+ __wbg_new_with_byte_offset_and_length_1fdfe3033ce1dccd: function(arg0, arg1, arg2) {
17547
+ const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0);
17502
17548
  return ret;
17503
17549
  },
17504
- __wbg_new_with_byte_offset_and_length_01848e8d6a3d49ad: function(arg0, arg1, arg2) {
17550
+ __wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
17505
17551
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
17506
17552
  return ret;
17507
17553
  },
17508
- __wbg_new_with_byte_offset_and_length_3a205534e8f09fd2: function(arg0, arg1, arg2) {
17509
- const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
17554
+ __wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
17555
+ const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
17510
17556
  return ret;
17511
17557
  },
17512
- __wbg_new_with_byte_offset_and_length_3efdac5b3f46978d: function(arg0, arg1, arg2) {
17513
- const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0);
17558
+ __wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
17559
+ const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
17514
17560
  return ret;
17515
17561
  },
17516
- __wbg_new_with_length_223c4ea248649e55: function(arg0) {
17562
+ __wbg_new_with_length_f8cbc3a5b9ff9368: function(arg0) {
17517
17563
  const ret = new Array(arg0 >>> 0);
17518
17564
  return ret;
17519
17565
  },
17520
- __wbg_next_0340c4ae324393c3: function() { return handleError(function (arg0) {
17521
- const ret = arg0.next();
17522
- return ret;
17523
- }, arguments); },
17524
- __wbg_next_7646edaa39458ef7: function(arg0) {
17566
+ __wbg_next_6dbf2c0ac8cde20f: function(arg0) {
17525
17567
  const ret = arg0.next;
17526
17568
  return ret;
17527
17569
  },
17570
+ __wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
17571
+ const ret = arg0.next();
17572
+ return ret;
17573
+ }, arguments); },
17528
17574
  __wbg_objecttransformevent_new: function(arg0) {
17529
17575
  const ret = ObjectTransformEvent.__wrap(arg0);
17530
17576
  return ret;
17531
17577
  },
17532
- __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
17578
+ __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
17533
17579
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
17534
17580
  },
17535
- __wbg_push_471a5b068a5295f6: function(arg0, arg1) {
17581
+ __wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
17536
17582
  const ret = arg0.push(arg1);
17537
17583
  return ret;
17538
17584
  },
@@ -17552,25 +17598,25 @@ function __wbg_get_imports() {
17552
17598
  const ret = RenderableFeatureRemovedEvent.__wrap(arg0);
17553
17599
  return ret;
17554
17600
  },
17555
- __wbg_set_022bee52d0b05b19: function() { return handleError(function (arg0, arg1, arg2) {
17601
+ __wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
17602
+ arg0.set(getArrayF32FromWasm0(arg1, arg2));
17603
+ },
17604
+ __wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
17605
+ arg0.set(getArrayF64FromWasm0(arg1, arg2));
17606
+ },
17607
+ __wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
17608
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
17609
+ },
17610
+ __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
17556
17611
  const ret = Reflect.set(arg0, arg1, arg2);
17557
17612
  return ret;
17558
17613
  }, arguments); },
17559
- __wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
17614
+ __wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
17560
17615
  arg0[arg1 >>> 0] = arg2;
17561
17616
  },
17562
- __wbg_set_3d484eb794afec82: function(arg0, arg1, arg2) {
17563
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
17564
- },
17565
- __wbg_set_5637e648df81c8e5: function(arg0, arg1, arg2) {
17566
- arg0.set(getArrayF64FromWasm0(arg1, arg2));
17567
- },
17568
- __wbg_set_95a66997655120e2: function(arg0, arg1, arg2) {
17617
+ __wbg_set_b5e6b338281ca6ff: function(arg0, arg1, arg2) {
17569
17618
  arg0.set(getArrayU32FromWasm0(arg1, arg2));
17570
17619
  },
17571
- __wbg_set_c625d5a9e6b7554b: function(arg0, arg1, arg2) {
17572
- arg0.set(getArrayF32FromWasm0(arg1, arg2));
17573
- },
17574
17620
  __wbg_terrainheightupdatedevent_new: function(arg0) {
17575
17621
  const ret = TerrainHeightUpdatedEvent.__wrap(arg0);
17576
17622
  return ret;
@@ -17587,7 +17633,7 @@ function __wbg_get_imports() {
17587
17633
  const ret = TileUvTransform.__wrap(arg0);
17588
17634
  return ret;
17589
17635
  },
17590
- __wbg_value_ee3a06f4579184fa: function(arg0) {
17636
+ __wbg_value_a5d5488a9589444a: function(arg0) {
17591
17637
  const ret = arg0.value;
17592
17638
  return ret;
17593
17639
  },
@@ -17637,427 +17683,427 @@ function __wbg_get_imports() {
17637
17683
 
17638
17684
  const AabbFinalization = (typeof FinalizationRegistry === 'undefined')
17639
17685
  ? { register: () => {}, unregister: () => {} }
17640
- : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr >>> 0, 1));
17686
+ : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr, 1));
17641
17687
  const B3dmLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17642
17688
  ? { register: () => {}, unregister: () => {} }
17643
- : new FinalizationRegistry(ptr => wasm.__wbg_b3dmlayerdescription_free(ptr >>> 0, 1));
17689
+ : new FinalizationRegistry(ptr => wasm.__wbg_b3dmlayerdescription_free(ptr, 1));
17644
17690
  const BatchPropResultFinalization = (typeof FinalizationRegistry === 'undefined')
17645
17691
  ? { register: () => {}, unregister: () => {} }
17646
- : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr >>> 0, 1));
17692
+ : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr, 1));
17647
17693
  const BillboardMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17648
17694
  ? { register: () => {}, unregister: () => {} }
17649
- : new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr >>> 0, 1));
17695
+ : new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr, 1));
17650
17696
  const BillboardMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17651
17697
  ? { register: () => {}, unregister: () => {} }
17652
- : new FinalizationRegistry(ptr => wasm.__wbg_billboardmesh_free(ptr >>> 0, 1));
17698
+ : new FinalizationRegistry(ptr => wasm.__wbg_billboardmesh_free(ptr, 1));
17653
17699
  const BoundingSphereFinalization = (typeof FinalizationRegistry === 'undefined')
17654
17700
  ? { register: () => {}, unregister: () => {} }
17655
- : new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr >>> 0, 1));
17701
+ : new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr, 1));
17656
17702
  const CachedMeshHandleFinalization = (typeof FinalizationRegistry === 'undefined')
17657
17703
  ? { register: () => {}, unregister: () => {} }
17658
- : new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr >>> 0, 1));
17704
+ : new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr, 1));
17659
17705
  const CameraControlUpdateEventFinalization = (typeof FinalizationRegistry === 'undefined')
17660
17706
  ? { register: () => {}, unregister: () => {} }
17661
- : new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr >>> 0, 1));
17707
+ : new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr, 1));
17662
17708
  const CameraFrustumFinalization = (typeof FinalizationRegistry === 'undefined')
17663
17709
  ? { register: () => {}, unregister: () => {} }
17664
- : new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr >>> 0, 1));
17710
+ : new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr, 1));
17665
17711
  const CameraOrientationFinalization = (typeof FinalizationRegistry === 'undefined')
17666
17712
  ? { register: () => {}, unregister: () => {} }
17667
- : new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr >>> 0, 1));
17713
+ : new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr, 1));
17668
17714
  const CameraStatusFinalization = (typeof FinalizationRegistry === 'undefined')
17669
17715
  ? { register: () => {}, unregister: () => {} }
17670
- : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr >>> 0, 1));
17716
+ : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr, 1));
17671
17717
  const Cesium3dTilesLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17672
17718
  ? { register: () => {}, unregister: () => {} }
17673
- : new FinalizationRegistry(ptr => wasm.__wbg_cesium3dtileslayerdescription_free(ptr >>> 0, 1));
17719
+ : new FinalizationRegistry(ptr => wasm.__wbg_cesium3dtileslayerdescription_free(ptr, 1));
17674
17720
  const CompiledExpressionFinalization = (typeof FinalizationRegistry === 'undefined')
17675
17721
  ? { register: () => {}, unregister: () => {} }
17676
- : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr >>> 0, 1));
17722
+ : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr, 1));
17677
17723
  const CompiledFilterFinalization = (typeof FinalizationRegistry === 'undefined')
17678
17724
  ? { register: () => {}, unregister: () => {} }
17679
- : new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr >>> 0, 1));
17725
+ : new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr, 1));
17680
17726
  const ConstructPolygonBatchedFeatureParametersFinalization = (typeof FinalizationRegistry === 'undefined')
17681
17727
  ? { register: () => {}, unregister: () => {} }
17682
- : new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureparameters_free(ptr >>> 0, 1));
17728
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureparameters_free(ptr, 1));
17683
17729
  const ConstructPolygonBatchedFeatureResultFinalization = (typeof FinalizationRegistry === 'undefined')
17684
17730
  ? { register: () => {}, unregister: () => {} }
17685
- : new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureresult_free(ptr >>> 0, 1));
17731
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureresult_free(ptr, 1));
17686
17732
  const ConstructPolylineBatchedFeatureParametersFinalization = (typeof FinalizationRegistry === 'undefined')
17687
17733
  ? { register: () => {}, unregister: () => {} }
17688
- : new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureparameters_free(ptr >>> 0, 1));
17734
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureparameters_free(ptr, 1));
17689
17735
  const ConstructPolylineBatchedFeatureResultFinalization = (typeof FinalizationRegistry === 'undefined')
17690
17736
  ? { register: () => {}, unregister: () => {} }
17691
- : new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureresult_free(ptr >>> 0, 1));
17737
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureresult_free(ptr, 1));
17692
17738
  const ConstructTerrainMeshParametersFinalization = (typeof FinalizationRegistry === 'undefined')
17693
17739
  ? { register: () => {}, unregister: () => {} }
17694
- : new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshparameters_free(ptr >>> 0, 1));
17740
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshparameters_free(ptr, 1));
17695
17741
  const ConstructTerrainMeshResultFinalization = (typeof FinalizationRegistry === 'undefined')
17696
17742
  ? { register: () => {}, unregister: () => {} }
17697
- : new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshresult_free(ptr >>> 0, 1));
17743
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshresult_free(ptr, 1));
17698
17744
  const ConstructedPolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17699
17745
  ? { register: () => {}, unregister: () => {} }
17700
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr >>> 0, 1));
17746
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr, 1));
17701
17747
  const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17702
17748
  ? { register: () => {}, unregister: () => {} }
17703
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr >>> 0, 1));
17749
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr, 1));
17704
17750
  const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17705
17751
  ? { register: () => {}, unregister: () => {} }
17706
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr >>> 0, 1));
17752
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
17707
17753
  const CoreFinalization = (typeof FinalizationRegistry === 'undefined')
17708
17754
  ? { register: () => {}, unregister: () => {} }
17709
- : new FinalizationRegistry(ptr => wasm.__wbg_core_free(ptr >>> 0, 1));
17755
+ : new FinalizationRegistry(ptr => wasm.__wbg_core_free(ptr, 1));
17710
17756
  const DataRequestEventFinalization = (typeof FinalizationRegistry === 'undefined')
17711
17757
  ? { register: () => {}, unregister: () => {} }
17712
- : new FinalizationRegistry(ptr => wasm.__wbg_datarequestevent_free(ptr >>> 0, 1));
17758
+ : new FinalizationRegistry(ptr => wasm.__wbg_datarequestevent_free(ptr, 1));
17713
17759
  const DataRequesterRemovedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17714
17760
  ? { register: () => {}, unregister: () => {} }
17715
- : new FinalizationRegistry(ptr => wasm.__wbg_datarequesterremovedevent_free(ptr >>> 0, 1));
17761
+ : new FinalizationRegistry(ptr => wasm.__wbg_datarequesterremovedevent_free(ptr, 1));
17716
17762
  const DelegatedWorkerTasksParametersFinalization = (typeof FinalizationRegistry === 'undefined')
17717
17763
  ? { register: () => {}, unregister: () => {} }
17718
- : new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksparameters_free(ptr >>> 0, 1));
17764
+ : new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksparameters_free(ptr, 1));
17719
17765
  const DelegatedWorkerTasksResultFinalization = (typeof FinalizationRegistry === 'undefined')
17720
17766
  ? { register: () => {}, unregister: () => {} }
17721
- : new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksresult_free(ptr >>> 0, 1));
17767
+ : new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksresult_free(ptr, 1));
17722
17768
  const DynamicSseFinalization = (typeof FinalizationRegistry === 'undefined')
17723
17769
  ? { register: () => {}, unregister: () => {} }
17724
- : new FinalizationRegistry(ptr => wasm.__wbg_dynamicsse_free(ptr >>> 0, 1));
17770
+ : new FinalizationRegistry(ptr => wasm.__wbg_dynamicsse_free(ptr, 1));
17725
17771
  const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
17726
17772
  ? { register: () => {}, unregister: () => {} }
17727
- : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr >>> 0, 1));
17773
+ : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
17728
17774
  const ElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17729
17775
  ? { register: () => {}, unregister: () => {} }
17730
- : new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr >>> 0, 1));
17776
+ : new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr, 1));
17731
17777
  const EllipsoidGeodesicFinalization = (typeof FinalizationRegistry === 'undefined')
17732
17778
  ? { register: () => {}, unregister: () => {} }
17733
- : new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr >>> 0, 1));
17779
+ : new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr, 1));
17734
17780
  const EncodedVec3Finalization = (typeof FinalizationRegistry === 'undefined')
17735
17781
  ? { register: () => {}, unregister: () => {} }
17736
- : new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr >>> 0, 1));
17782
+ : new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr, 1));
17737
17783
  const EntityEventFinalization = (typeof FinalizationRegistry === 'undefined')
17738
17784
  ? { register: () => {}, unregister: () => {} }
17739
- : new FinalizationRegistry(ptr => wasm.__wbg_entityevent_free(ptr >>> 0, 1));
17785
+ : new FinalizationRegistry(ptr => wasm.__wbg_entityevent_free(ptr, 1));
17740
17786
  const EventsFinalization = (typeof FinalizationRegistry === 'undefined')
17741
17787
  ? { register: () => {}, unregister: () => {} }
17742
- : new FinalizationRegistry(ptr => wasm.__wbg_events_free(ptr >>> 0, 1));
17788
+ : new FinalizationRegistry(ptr => wasm.__wbg_events_free(ptr, 1));
17743
17789
  const ExtentRadianF32Finalization = (typeof FinalizationRegistry === 'undefined')
17744
17790
  ? { register: () => {}, unregister: () => {} }
17745
- : new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr >>> 0, 1));
17791
+ : new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr, 1));
17746
17792
  const FloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
17747
17793
  ? { register: () => {}, unregister: () => {} }
17748
- : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr >>> 0, 1));
17794
+ : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr, 1));
17749
17795
  const GeoJsonLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17750
17796
  ? { register: () => {}, unregister: () => {} }
17751
- : new FinalizationRegistry(ptr => wasm.__wbg_geojsonlayerdescription_free(ptr >>> 0, 1));
17797
+ : new FinalizationRegistry(ptr => wasm.__wbg_geojsonlayerdescription_free(ptr, 1));
17752
17798
  const GeoJsonSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17753
17799
  ? { register: () => {}, unregister: () => {} }
17754
- : new FinalizationRegistry(ptr => wasm.__wbg_geojsonsourcedescription_free(ptr >>> 0, 1));
17800
+ : new FinalizationRegistry(ptr => wasm.__wbg_geojsonsourcedescription_free(ptr, 1));
17755
17801
  const GeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17756
17802
  ? { register: () => {}, unregister: () => {} }
17757
- : new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr >>> 0, 1));
17803
+ : new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr, 1));
17758
17804
  const GlobeFinalization = (typeof FinalizationRegistry === 'undefined')
17759
17805
  ? { register: () => {}, unregister: () => {} }
17760
- : new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr >>> 0, 1));
17806
+ : new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr, 1));
17761
17807
  const HillshadeBackfilledEventFinalization = (typeof FinalizationRegistry === 'undefined')
17762
17808
  ? { register: () => {}, unregister: () => {} }
17763
- : new FinalizationRegistry(ptr => wasm.__wbg_hillshadebackfilledevent_free(ptr >>> 0, 1));
17809
+ : new FinalizationRegistry(ptr => wasm.__wbg_hillshadebackfilledevent_free(ptr, 1));
17764
17810
  const HillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17765
17811
  ? { register: () => {}, unregister: () => {} }
17766
- : new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr >>> 0, 1));
17812
+ : new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr, 1));
17767
17813
  const LLEFinalization = (typeof FinalizationRegistry === 'undefined')
17768
17814
  ? { register: () => {}, unregister: () => {} }
17769
- : new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr >>> 0, 1));
17815
+ : new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr, 1));
17770
17816
  const LayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17771
17817
  ? { register: () => {}, unregister: () => {} }
17772
- : new FinalizationRegistry(ptr => wasm.__wbg_layerdescription_free(ptr >>> 0, 1));
17818
+ : new FinalizationRegistry(ptr => wasm.__wbg_layerdescription_free(ptr, 1));
17773
17819
  const LayerDescriptionDataFinalization = (typeof FinalizationRegistry === 'undefined')
17774
17820
  ? { register: () => {}, unregister: () => {} }
17775
- : new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptiondata_free(ptr >>> 0, 1));
17821
+ : new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptiondata_free(ptr, 1));
17776
17822
  const LayerDescriptionUrlFinalization = (typeof FinalizationRegistry === 'undefined')
17777
17823
  ? { register: () => {}, unregister: () => {} }
17778
- : new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptionurl_free(ptr >>> 0, 1));
17824
+ : new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptionurl_free(ptr, 1));
17779
17825
  const LegacyElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17780
17826
  ? { register: () => {}, unregister: () => {} }
17781
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyelevationheatmapmaterial_free(ptr >>> 0, 1));
17827
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyelevationheatmapmaterial_free(ptr, 1));
17782
17828
  const LegacyEllipsoidTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17783
17829
  ? { register: () => {}, unregister: () => {} }
17784
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyellipsoidterrainmaterial_free(ptr >>> 0, 1));
17830
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyellipsoidterrainmaterial_free(ptr, 1));
17785
17831
  const LegacyHillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17786
17832
  ? { register: () => {}, unregister: () => {} }
17787
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyhillshadematerial_free(ptr >>> 0, 1));
17833
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyhillshadematerial_free(ptr, 1));
17788
17834
  const LegacyQuantizedMeshTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17789
17835
  ? { register: () => {}, unregister: () => {} }
17790
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyquantizedmeshterrainmaterial_free(ptr >>> 0, 1));
17836
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyquantizedmeshterrainmaterial_free(ptr, 1));
17791
17837
  const LegacyRasterTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17792
17838
  ? { register: () => {}, unregister: () => {} }
17793
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyrasterterrainmaterial_free(ptr >>> 0, 1));
17839
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyrasterterrainmaterial_free(ptr, 1));
17794
17840
  const LegacyRasterTileMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17795
17841
  ? { register: () => {}, unregister: () => {} }
17796
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyrastertilematerial_free(ptr >>> 0, 1));
17842
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyrastertilematerial_free(ptr, 1));
17797
17843
  const LegacyVectorTileMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17798
17844
  ? { register: () => {}, unregister: () => {} }
17799
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyvectortilematerial_free(ptr >>> 0, 1));
17845
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyvectortilematerial_free(ptr, 1));
17800
17846
  const MemoryStatsFinalization = (typeof FinalizationRegistry === 'undefined')
17801
17847
  ? { register: () => {}, unregister: () => {} }
17802
- : new FinalizationRegistry(ptr => wasm.__wbg_memorystats_free(ptr >>> 0, 1));
17848
+ : new FinalizationRegistry(ptr => wasm.__wbg_memorystats_free(ptr, 1));
17803
17849
  const MeshFinalization = (typeof FinalizationRegistry === 'undefined')
17804
17850
  ? { register: () => {}, unregister: () => {} }
17805
- : new FinalizationRegistry(ptr => wasm.__wbg_mesh_free(ptr >>> 0, 1));
17851
+ : new FinalizationRegistry(ptr => wasm.__wbg_mesh_free(ptr, 1));
17806
17852
  const MeshAddedFinalization = (typeof FinalizationRegistry === 'undefined')
17807
17853
  ? { register: () => {}, unregister: () => {} }
17808
- : new FinalizationRegistry(ptr => wasm.__wbg_meshadded_free(ptr >>> 0, 1));
17854
+ : new FinalizationRegistry(ptr => wasm.__wbg_meshadded_free(ptr, 1));
17809
17855
  const MeshChangedFinalization = (typeof FinalizationRegistry === 'undefined')
17810
17856
  ? { register: () => {}, unregister: () => {} }
17811
- : new FinalizationRegistry(ptr => wasm.__wbg_meshchanged_free(ptr >>> 0, 1));
17857
+ : new FinalizationRegistry(ptr => wasm.__wbg_meshchanged_free(ptr, 1));
17812
17858
  const ModelInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17813
17859
  ? { register: () => {}, unregister: () => {} }
17814
- : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr >>> 0, 1));
17860
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr, 1));
17815
17861
  const ModelMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17816
17862
  ? { register: () => {}, unregister: () => {} }
17817
- : new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr >>> 0, 1));
17863
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr, 1));
17818
17864
  const ModelMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17819
17865
  ? { register: () => {}, unregister: () => {} }
17820
- : new FinalizationRegistry(ptr => wasm.__wbg_modelmesh_free(ptr >>> 0, 1));
17866
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelmesh_free(ptr, 1));
17821
17867
  const MvtLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17822
17868
  ? { register: () => {}, unregister: () => {} }
17823
- : new FinalizationRegistry(ptr => wasm.__wbg_mvtlayerdescription_free(ptr >>> 0, 1));
17869
+ : new FinalizationRegistry(ptr => wasm.__wbg_mvtlayerdescription_free(ptr, 1));
17824
17870
  const NearFarFinalization = (typeof FinalizationRegistry === 'undefined')
17825
17871
  ? { register: () => {}, unregister: () => {} }
17826
- : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr >>> 0, 1));
17872
+ : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr, 1));
17827
17873
  const ObjectTransformEventFinalization = (typeof FinalizationRegistry === 'undefined')
17828
17874
  ? { register: () => {}, unregister: () => {} }
17829
- : new FinalizationRegistry(ptr => wasm.__wbg_objecttransformevent_free(ptr >>> 0, 1));
17875
+ : new FinalizationRegistry(ptr => wasm.__wbg_objecttransformevent_free(ptr, 1));
17830
17876
  const OrthoCamTransformFinalization = (typeof FinalizationRegistry === 'undefined')
17831
17877
  ? { register: () => {}, unregister: () => {} }
17832
- : new FinalizationRegistry(ptr => wasm.__wbg_orthocamtransform_free(ptr >>> 0, 1));
17878
+ : new FinalizationRegistry(ptr => wasm.__wbg_orthocamtransform_free(ptr, 1));
17833
17879
  const OverscaledTileHandleFinalization = (typeof FinalizationRegistry === 'undefined')
17834
17880
  ? { register: () => {}, unregister: () => {} }
17835
- : new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr >>> 0, 1));
17881
+ : new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr, 1));
17836
17882
  const ParseMvtTileParametersFinalization = (typeof FinalizationRegistry === 'undefined')
17837
17883
  ? { register: () => {}, unregister: () => {} }
17838
- : new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileparameters_free(ptr >>> 0, 1));
17884
+ : new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileparameters_free(ptr, 1));
17839
17885
  const ParseMvtTileResultFinalization = (typeof FinalizationRegistry === 'undefined')
17840
17886
  ? { register: () => {}, unregister: () => {} }
17841
- : new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileresult_free(ptr >>> 0, 1));
17887
+ : new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileresult_free(ptr, 1));
17842
17888
  const PlaneFinalization = (typeof FinalizationRegistry === 'undefined')
17843
17889
  ? { register: () => {}, unregister: () => {} }
17844
- : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr >>> 0, 1));
17890
+ : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr, 1));
17845
17891
  const PntsLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17846
17892
  ? { register: () => {}, unregister: () => {} }
17847
- : new FinalizationRegistry(ptr => wasm.__wbg_pntslayerdescription_free(ptr >>> 0, 1));
17893
+ : new FinalizationRegistry(ptr => wasm.__wbg_pntslayerdescription_free(ptr, 1));
17848
17894
  const PointMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17849
17895
  ? { register: () => {}, unregister: () => {} }
17850
- : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr >>> 0, 1));
17896
+ : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr, 1));
17851
17897
  const PointMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17852
17898
  ? { register: () => {}, unregister: () => {} }
17853
- : new FinalizationRegistry(ptr => wasm.__wbg_pointmesh_free(ptr >>> 0, 1));
17899
+ : new FinalizationRegistry(ptr => wasm.__wbg_pointmesh_free(ptr, 1));
17854
17900
  const PolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17855
17901
  ? { register: () => {}, unregister: () => {} }
17856
- : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr >>> 0, 1));
17902
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr, 1));
17857
17903
  const PolygonGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
17858
17904
  ? { register: () => {}, unregister: () => {} }
17859
- : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr >>> 0, 1));
17905
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr, 1));
17860
17906
  const PolygonInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17861
17907
  ? { register: () => {}, unregister: () => {} }
17862
- : new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr >>> 0, 1));
17908
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr, 1));
17863
17909
  const PolygonMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17864
17910
  ? { register: () => {}, unregister: () => {} }
17865
- : new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr >>> 0, 1));
17911
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr, 1));
17866
17912
  const PolygonMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17867
17913
  ? { register: () => {}, unregister: () => {} }
17868
- : new FinalizationRegistry(ptr => wasm.__wbg_polygonmesh_free(ptr >>> 0, 1));
17914
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygonmesh_free(ptr, 1));
17869
17915
  const PolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17870
17916
  ? { register: () => {}, unregister: () => {} }
17871
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr >>> 0, 1));
17917
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr, 1));
17872
17918
  const PolylineGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
17873
17919
  ? { register: () => {}, unregister: () => {} }
17874
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr >>> 0, 1));
17920
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr, 1));
17875
17921
  const PolylineInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17876
17922
  ? { register: () => {}, unregister: () => {} }
17877
- : new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr >>> 0, 1));
17923
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr, 1));
17878
17924
  const PolylineMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17879
17925
  ? { register: () => {}, unregister: () => {} }
17880
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr >>> 0, 1));
17926
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr, 1));
17881
17927
  const PolylineMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17882
17928
  ? { register: () => {}, unregister: () => {} }
17883
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinemesh_free(ptr >>> 0, 1));
17929
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinemesh_free(ptr, 1));
17884
17930
  const QuantizedMeshSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17885
17931
  ? { register: () => {}, unregister: () => {} }
17886
- : new FinalizationRegistry(ptr => wasm.__wbg_quantizedmeshsourcedescription_free(ptr >>> 0, 1));
17932
+ : new FinalizationRegistry(ptr => wasm.__wbg_quantizedmeshsourcedescription_free(ptr, 1));
17887
17933
  const RasterDemSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17888
17934
  ? { register: () => {}, unregister: () => {} }
17889
- : new FinalizationRegistry(ptr => wasm.__wbg_rasterdemsourcedescription_free(ptr >>> 0, 1));
17935
+ : new FinalizationRegistry(ptr => wasm.__wbg_rasterdemsourcedescription_free(ptr, 1));
17890
17936
  const RasterLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17891
17937
  ? { register: () => {}, unregister: () => {} }
17892
- : new FinalizationRegistry(ptr => wasm.__wbg_rasterlayerdescription_free(ptr >>> 0, 1));
17938
+ : new FinalizationRegistry(ptr => wasm.__wbg_rasterlayerdescription_free(ptr, 1));
17893
17939
  const RasterMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17894
17940
  ? { register: () => {}, unregister: () => {} }
17895
- : new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr >>> 0, 1));
17941
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr, 1));
17896
17942
  const RasterTileInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17897
17943
  ? { register: () => {}, unregister: () => {} }
17898
- : new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr >>> 0, 1));
17944
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr, 1));
17899
17945
  const RasterTileSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17900
17946
  ? { register: () => {}, unregister: () => {} }
17901
- : new FinalizationRegistry(ptr => wasm.__wbg_rastertilesourcedescription_free(ptr >>> 0, 1));
17947
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastertilesourcedescription_free(ptr, 1));
17902
17948
  const RasterTileStateFinalization = (typeof FinalizationRegistry === 'undefined')
17903
17949
  ? { register: () => {}, unregister: () => {} }
17904
- : new FinalizationRegistry(ptr => wasm.__wbg_rastertilestate_free(ptr >>> 0, 1));
17950
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastertilestate_free(ptr, 1));
17905
17951
  const RayFinalization = (typeof FinalizationRegistry === 'undefined')
17906
17952
  ? { register: () => {}, unregister: () => {} }
17907
- : new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr >>> 0, 1));
17953
+ : new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr, 1));
17908
17954
  const ReconstructableEntityFinalization = (typeof FinalizationRegistry === 'undefined')
17909
17955
  ? { register: () => {}, unregister: () => {} }
17910
- : new FinalizationRegistry(ptr => wasm.__wbg_reconstructableentity_free(ptr >>> 0, 1));
17956
+ : new FinalizationRegistry(ptr => wasm.__wbg_reconstructableentity_free(ptr, 1));
17911
17957
  const RenderableFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
17912
17958
  ? { register: () => {}, unregister: () => {} }
17913
- : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeature_free(ptr >>> 0, 1));
17959
+ : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeature_free(ptr, 1));
17914
17960
  const RenderableFeatureAddedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17915
17961
  ? { register: () => {}, unregister: () => {} }
17916
- : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureaddedevent_free(ptr >>> 0, 1));
17962
+ : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureaddedevent_free(ptr, 1));
17917
17963
  const RenderableFeatureChangedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17918
17964
  ? { register: () => {}, unregister: () => {} }
17919
- : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeaturechangedevent_free(ptr >>> 0, 1));
17965
+ : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeaturechangedevent_free(ptr, 1));
17920
17966
  const RenderableFeatureRemovedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17921
17967
  ? { register: () => {}, unregister: () => {} }
17922
- : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureremovedevent_free(ptr >>> 0, 1));
17968
+ : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureremovedevent_free(ptr, 1));
17923
17969
  const ReturnedConstructedTerrainMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17924
17970
  ? { register: () => {}, unregister: () => {} }
17925
- : new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr >>> 0, 1));
17971
+ : new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr, 1));
17926
17972
  const ReturnedTransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
17927
17973
  ? { register: () => {}, unregister: () => {} }
17928
- : new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolygonbatchedfeature_free(ptr >>> 0, 1));
17974
+ : new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolygonbatchedfeature_free(ptr, 1));
17929
17975
  const ReturnedTransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
17930
17976
  ? { register: () => {}, unregister: () => {} }
17931
- : new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolylinebatchedfeature_free(ptr >>> 0, 1));
17977
+ : new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolylinebatchedfeature_free(ptr, 1));
17932
17978
  const SourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17933
17979
  ? { register: () => {}, unregister: () => {} }
17934
- : new FinalizationRegistry(ptr => wasm.__wbg_sourcedescription_free(ptr >>> 0, 1));
17980
+ : new FinalizationRegistry(ptr => wasm.__wbg_sourcedescription_free(ptr, 1));
17935
17981
  const TerrainHeightUpdatedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17936
17982
  ? { register: () => {}, unregister: () => {} }
17937
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainheightupdatedevent_free(ptr >>> 0, 1));
17983
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainheightupdatedevent_free(ptr, 1));
17938
17984
  const TerrainLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17939
17985
  ? { register: () => {}, unregister: () => {} }
17940
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainlayerdescription_free(ptr >>> 0, 1));
17986
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainlayerdescription_free(ptr, 1));
17941
17987
  const TerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17942
17988
  ? { register: () => {}, unregister: () => {} }
17943
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr >>> 0, 1));
17989
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr, 1));
17944
17990
  const TerrainSourceLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17945
17991
  ? { register: () => {}, unregister: () => {} }
17946
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainsourcelayerdescription_free(ptr >>> 0, 1));
17992
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainsourcelayerdescription_free(ptr, 1));
17947
17993
  const TextMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17948
17994
  ? { register: () => {}, unregister: () => {} }
17949
- : new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr >>> 0, 1));
17995
+ : new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr, 1));
17950
17996
  const TextMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17951
17997
  ? { register: () => {}, unregister: () => {} }
17952
- : new FinalizationRegistry(ptr => wasm.__wbg_textmesh_free(ptr >>> 0, 1));
17998
+ : new FinalizationRegistry(ptr => wasm.__wbg_textmesh_free(ptr, 1));
17953
17999
  const TextureFragmentFinalization = (typeof FinalizationRegistry === 'undefined')
17954
18000
  ? { register: () => {}, unregister: () => {} }
17955
- : new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr >>> 0, 1));
18001
+ : new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr, 1));
17956
18002
  const TextureFragmentRequestedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17957
18003
  ? { register: () => {}, unregister: () => {} }
17958
- : new FinalizationRegistry(ptr => wasm.__wbg_texturefragmentrequestedevent_free(ptr >>> 0, 1));
18004
+ : new FinalizationRegistry(ptr => wasm.__wbg_texturefragmentrequestedevent_free(ptr, 1));
17959
18005
  const TileLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17960
18006
  ? { register: () => {}, unregister: () => {} }
17961
- : new FinalizationRegistry(ptr => wasm.__wbg_tilelayerdescription_free(ptr >>> 0, 1));
18007
+ : new FinalizationRegistry(ptr => wasm.__wbg_tilelayerdescription_free(ptr, 1));
17962
18008
  const TileUvTransformFinalization = (typeof FinalizationRegistry === 'undefined')
17963
18009
  ? { register: () => {}, unregister: () => {} }
17964
- : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr >>> 0, 1));
18010
+ : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr, 1));
17965
18011
  const TileXYZFinalization = (typeof FinalizationRegistry === 'undefined')
17966
18012
  ? { register: () => {}, unregister: () => {} }
17967
- : new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr >>> 0, 1));
18013
+ : new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr, 1));
17968
18014
  const Tiles3dLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17969
18015
  ? { register: () => {}, unregister: () => {} }
17970
- : new FinalizationRegistry(ptr => wasm.__wbg_tiles3dlayerdescription_free(ptr >>> 0, 1));
18016
+ : new FinalizationRegistry(ptr => wasm.__wbg_tiles3dlayerdescription_free(ptr, 1));
17971
18017
  const Tiles3dSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17972
18018
  ? { register: () => {}, unregister: () => {} }
17973
- : new FinalizationRegistry(ptr => wasm.__wbg_tiles3dsourcedescription_free(ptr >>> 0, 1));
18019
+ : new FinalizationRegistry(ptr => wasm.__wbg_tiles3dsourcedescription_free(ptr, 1));
17974
18020
  const TransferableFloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
17975
18021
  ? { register: () => {}, unregister: () => {} }
17976
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablefloatattribute_free(ptr >>> 0, 1));
18022
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablefloatattribute_free(ptr, 1));
17977
18023
  const TransferableGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17978
18024
  ? { register: () => {}, unregister: () => {} }
17979
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablegeometry_free(ptr >>> 0, 1));
18025
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablegeometry_free(ptr, 1));
17980
18026
  const TransferableHierarchyFinalization = (typeof FinalizationRegistry === 'undefined')
17981
18027
  ? { register: () => {}, unregister: () => {} }
17982
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr >>> 0, 1));
18028
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr, 1));
17983
18029
  const TransferableHolesFinalization = (typeof FinalizationRegistry === 'undefined')
17984
18030
  ? { register: () => {}, unregister: () => {} }
17985
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr >>> 0, 1));
18031
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr, 1));
17986
18032
  const TransferableMartiniFinalization = (typeof FinalizationRegistry === 'undefined')
17987
18033
  ? { register: () => {}, unregister: () => {} }
17988
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablemartini_free(ptr >>> 0, 1));
18034
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablemartini_free(ptr, 1));
17989
18035
  const TransferableModelGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17990
18036
  ? { register: () => {}, unregister: () => {} }
17991
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablemodelgeometry_free(ptr >>> 0, 1));
18037
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablemodelgeometry_free(ptr, 1));
17992
18038
  const TransferableParsedMvtResultFinalization = (typeof FinalizationRegistry === 'undefined')
17993
18039
  ? { register: () => {}, unregister: () => {} }
17994
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr >>> 0, 1));
18040
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr, 1));
17995
18041
  const TransferablePointGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17996
18042
  ? { register: () => {}, unregister: () => {} }
17997
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepointgeometry_free(ptr >>> 0, 1));
18043
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepointgeometry_free(ptr, 1));
17998
18044
  const TransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
17999
18045
  ? { register: () => {}, unregister: () => {} }
18000
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr >>> 0, 1));
18046
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr, 1));
18001
18047
  const TransferablePolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
18002
18048
  ? { register: () => {}, unregister: () => {} }
18003
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygongeometry_free(ptr >>> 0, 1));
18049
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygongeometry_free(ptr, 1));
18004
18050
  const TransferablePolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
18005
18051
  ? { register: () => {}, unregister: () => {} }
18006
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonoutlinegeometry_free(ptr >>> 0, 1));
18052
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonoutlinegeometry_free(ptr, 1));
18007
18053
  const TransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
18008
18054
  ? { register: () => {}, unregister: () => {} }
18009
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr >>> 0, 1));
18055
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr, 1));
18010
18056
  const TransferablePolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
18011
18057
  ? { register: () => {}, unregister: () => {} }
18012
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinegeometry_free(ptr >>> 0, 1));
18058
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinegeometry_free(ptr, 1));
18013
18059
  const TransferableRasterDEMDataFinalization = (typeof FinalizationRegistry === 'undefined')
18014
18060
  ? { register: () => {}, unregister: () => {} }
18015
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablerasterdemdata_free(ptr >>> 0, 1));
18061
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablerasterdemdata_free(ptr, 1));
18016
18062
  const TransferableTileFinalization = (typeof FinalizationRegistry === 'undefined')
18017
18063
  ? { register: () => {}, unregister: () => {} }
18018
- : new FinalizationRegistry(ptr => wasm.__wbg_transferabletile_free(ptr >>> 0, 1));
18064
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferabletile_free(ptr, 1));
18019
18065
  const TransferableUintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
18020
18066
  ? { register: () => {}, unregister: () => {} }
18021
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableuintattribute_free(ptr >>> 0, 1));
18067
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableuintattribute_free(ptr, 1));
18022
18068
  const TransformFinalization = (typeof FinalizationRegistry === 'undefined')
18023
18069
  ? { register: () => {}, unregister: () => {} }
18024
- : new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr >>> 0, 1));
18070
+ : new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr, 1));
18025
18071
  const UintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
18026
18072
  ? { register: () => {}, unregister: () => {} }
18027
- : new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr >>> 0, 1));
18073
+ : new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr, 1));
18028
18074
  const UpsamplableTerrainGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
18029
18075
  ? { register: () => {}, unregister: () => {} }
18030
- : new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr >>> 0, 1));
18076
+ : new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr, 1));
18031
18077
  const UpsampleTerrainMeshParametersFinalization = (typeof FinalizationRegistry === 'undefined')
18032
18078
  ? { register: () => {}, unregister: () => {} }
18033
- : new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshparameters_free(ptr >>> 0, 1));
18079
+ : new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshparameters_free(ptr, 1));
18034
18080
  const UpsampleTerrainMeshResultFinalization = (typeof FinalizationRegistry === 'undefined')
18035
18081
  ? { register: () => {}, unregister: () => {} }
18036
- : new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshresult_free(ptr >>> 0, 1));
18082
+ : new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshresult_free(ptr, 1));
18037
18083
  const Vec2Finalization = (typeof FinalizationRegistry === 'undefined')
18038
18084
  ? { register: () => {}, unregister: () => {} }
18039
- : new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr >>> 0, 1));
18085
+ : new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr, 1));
18040
18086
  const Vec3Finalization = (typeof FinalizationRegistry === 'undefined')
18041
18087
  ? { register: () => {}, unregister: () => {} }
18042
- : new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr >>> 0, 1));
18088
+ : new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr, 1));
18043
18089
  const VectorLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
18044
18090
  ? { register: () => {}, unregister: () => {} }
18045
- : new FinalizationRegistry(ptr => wasm.__wbg_vectorlayerdescription_free(ptr >>> 0, 1));
18091
+ : new FinalizationRegistry(ptr => wasm.__wbg_vectorlayerdescription_free(ptr, 1));
18046
18092
  const VectorTileSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
18047
18093
  ? { register: () => {}, unregister: () => {} }
18048
- : new FinalizationRegistry(ptr => wasm.__wbg_vectortilesourcedescription_free(ptr >>> 0, 1));
18094
+ : new FinalizationRegistry(ptr => wasm.__wbg_vectortilesourcedescription_free(ptr, 1));
18049
18095
  const VectorTileStateFinalization = (typeof FinalizationRegistry === 'undefined')
18050
18096
  ? { register: () => {}, unregister: () => {} }
18051
- : new FinalizationRegistry(ptr => wasm.__wbg_vectortilestate_free(ptr >>> 0, 1));
18097
+ : new FinalizationRegistry(ptr => wasm.__wbg_vectortilestate_free(ptr, 1));
18052
18098
  const WindingOrderFinalization = (typeof FinalizationRegistry === 'undefined')
18053
18099
  ? { register: () => {}, unregister: () => {} }
18054
- : new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr >>> 0, 1));
18100
+ : new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr, 1));
18055
18101
  const WindowFinalization = (typeof FinalizationRegistry === 'undefined')
18056
18102
  ? { register: () => {}, unregister: () => {} }
18057
- : new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr >>> 0, 1));
18103
+ : new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr, 1));
18058
18104
  const WorkerTaskDelegatedEventFinalization = (typeof FinalizationRegistry === 'undefined')
18059
18105
  ? { register: () => {}, unregister: () => {} }
18060
- : new FinalizationRegistry(ptr => wasm.__wbg_workertaskdelegatedevent_free(ptr >>> 0, 1));
18106
+ : new FinalizationRegistry(ptr => wasm.__wbg_workertaskdelegatedevent_free(ptr, 1));
18061
18107
 
18062
18108
  function addToExternrefTable0(obj) {
18063
18109
  const idx = wasm.__externref_table_alloc();
@@ -18205,8 +18251,7 @@ function getInt32ArrayMemory0() {
18205
18251
  }
18206
18252
 
18207
18253
  function getStringFromWasm0(ptr, len) {
18208
- ptr = ptr >>> 0;
18209
- return decodeText(ptr, len);
18254
+ return decodeText(ptr >>> 0, len);
18210
18255
  }
18211
18256
 
18212
18257
  let cachedUint32ArrayMemory0 = null;
@@ -18348,8 +18393,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
18348
18393
 
18349
18394
  let WASM_VECTOR_LEN = 0;
18350
18395
 
18351
- let wasmModule, wasm;
18396
+ let wasmModule, wasmInstance, wasm;
18352
18397
  function __wbg_finalize_init(instance, module) {
18398
+ wasmInstance = instance;
18353
18399
  wasm = instance.exports;
18354
18400
  wasmModule = module;
18355
18401
  cachedDataViewMemory0 = null;