@navaramap/engine 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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
  }
@@ -4947,6 +4968,16 @@ export class GeoJsonLayerDescription {
4947
4968
  const ret = wasm.__wbg_get_geojsonlayerdescription_data(this.__wbg_ptr);
4948
4969
  return ret;
4949
4970
  }
4971
+ /**
4972
+ * Per-layer horizon dynamic-SSE relaxation strength for the tiled render
4973
+ * path (`0.0` off … `1.0` raster-equivalent). Omit for a content-based
4974
+ * default.
4975
+ * @returns {number | undefined}
4976
+ */
4977
+ get dynamicSseScale() {
4978
+ const ret = wasm.__wbg_get_geojsonlayerdescription_dynamicSseScale(this.__wbg_ptr);
4979
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4980
+ }
4950
4981
  /**
4951
4982
  * @returns {PointMaterial | undefined}
4952
4983
  */
@@ -5012,6 +5043,15 @@ export class GeoJsonLayerDescription {
5012
5043
  set data(arg0) {
5013
5044
  wasm.__wbg_set_geojsonlayerdescription_data(this.__wbg_ptr, arg0);
5014
5045
  }
5046
+ /**
5047
+ * Per-layer horizon dynamic-SSE relaxation strength for the tiled render
5048
+ * path (`0.0` off … `1.0` raster-equivalent). Omit for a content-based
5049
+ * default.
5050
+ * @param {number | null} [arg0]
5051
+ */
5052
+ set dynamicSseScale(arg0) {
5053
+ wasm.__wbg_set_geojsonlayerdescription_dynamicSseScale(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5054
+ }
5015
5055
  /**
5016
5056
  * @param {PointMaterial | null} [arg0]
5017
5057
  */
@@ -5215,7 +5255,7 @@ export class Geometry {
5215
5255
  const ptr2 = passArrayF32ToWasm0(uvs, wasm.__wbindgen_malloc);
5216
5256
  const len2 = WASM_VECTOR_LEN;
5217
5257
  const ret = wasm.geometry_new(ptr0, len0, ptr1, len1, ptr2, len2);
5218
- this.__wbg_ptr = ret >>> 0;
5258
+ this.__wbg_ptr = ret;
5219
5259
  GeometryFinalization.register(this, this.__wbg_ptr, this);
5220
5260
  return this;
5221
5261
  }
@@ -5286,7 +5326,6 @@ if (Symbol.dispose) Geometry.prototype[Symbol.dispose] = Geometry.prototype.free
5286
5326
  */
5287
5327
  export class Globe {
5288
5328
  static __wrap(ptr) {
5289
- ptr = ptr >>> 0;
5290
5329
  const obj = Object.create(Globe.prototype);
5291
5330
  obj.__wbg_ptr = ptr;
5292
5331
  GlobeFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5405,7 +5444,7 @@ export class Globe {
5405
5444
  const ptr0 = passArrayF32ToWasm0(elevation_colormap, wasm.__wbindgen_malloc);
5406
5445
  const len0 = WASM_VECTOR_LEN;
5407
5446
  const ret = wasm.globe_new(max_sse, segments, color, hide_underground, use_normal, transparent, opacity, wireframe, ptr0, len0);
5408
- this.__wbg_ptr = ret >>> 0;
5447
+ this.__wbg_ptr = ret;
5409
5448
  GlobeFinalization.register(this, this.__wbg_ptr, this);
5410
5449
  return this;
5411
5450
  }
@@ -5492,7 +5531,6 @@ if (Symbol.dispose) Globe.prototype[Symbol.dispose] = Globe.prototype.free;
5492
5531
 
5493
5532
  export class HillshadeBackfilledEvent {
5494
5533
  static __wrap(ptr) {
5495
- ptr = ptr >>> 0;
5496
5534
  const obj = Object.create(HillshadeBackfilledEvent.prototype);
5497
5535
  obj.__wbg_ptr = ptr;
5498
5536
  HillshadeBackfilledEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5513,7 +5551,7 @@ export class HillshadeBackfilledEvent {
5513
5551
  */
5514
5552
  get edge_data_handle() {
5515
5553
  const ret = wasm.__wbg_get_hillshadebackfilledevent_edge_data_handle(this.__wbg_ptr);
5516
- return ret === 0x100000001 ? undefined : ret;
5554
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5517
5555
  }
5518
5556
  /**
5519
5557
  * @returns {number}
@@ -5541,21 +5579,21 @@ export class HillshadeBackfilledEvent {
5541
5579
  */
5542
5580
  get original_handle() {
5543
5581
  const ret = wasm.__wbg_get_hillshadebackfilledevent_original_handle(this.__wbg_ptr);
5544
- return ret === 0x100000001 ? undefined : ret;
5582
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5545
5583
  }
5546
5584
  /**
5547
5585
  * @returns {number | undefined}
5548
5586
  */
5549
5587
  get target_entity_gen() {
5550
5588
  const ret = wasm.__wbg_get_hillshadebackfilledevent_target_entity_gen(this.__wbg_ptr);
5551
- return ret === 0x100000001 ? undefined : ret;
5589
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5552
5590
  }
5553
5591
  /**
5554
5592
  * @returns {number | undefined}
5555
5593
  */
5556
5594
  get target_entity_ind() {
5557
5595
  const ret = wasm.__wbg_get_hillshadebackfilledevent_target_entity_ind(this.__wbg_ptr);
5558
- return ret === 0x100000001 ? undefined : ret;
5596
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5559
5597
  }
5560
5598
  /**
5561
5599
  * @returns {bigint}
@@ -5597,7 +5635,6 @@ if (Symbol.dispose) HillshadeBackfilledEvent.prototype[Symbol.dispose] = Hillsha
5597
5635
  */
5598
5636
  export class HillshadeMaterial {
5599
5637
  static __wrap(ptr) {
5600
- ptr = ptr >>> 0;
5601
5638
  const obj = Object.create(HillshadeMaterial.prototype);
5602
5639
  obj.__wbg_ptr = ptr;
5603
5640
  HillshadeMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5619,21 +5656,20 @@ export class HillshadeMaterial {
5619
5656
  */
5620
5657
  get exaggeration() {
5621
5658
  const ret = wasm.__wbg_get_hillshadematerial_exaggeration(this.__wbg_ptr);
5622
- return ret === 0x100000001 ? undefined : ret;
5659
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5623
5660
  }
5624
5661
  /**
5625
5662
  * Exaggeration factor for hillshade effect (default: 1.0)
5626
5663
  * @param {number | null} [arg0]
5627
5664
  */
5628
5665
  set exaggeration(arg0) {
5629
- wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5666
+ wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5630
5667
  }
5631
5668
  }
5632
5669
  if (Symbol.dispose) HillshadeMaterial.prototype[Symbol.dispose] = HillshadeMaterial.prototype.free;
5633
5670
 
5634
5671
  export class LLE {
5635
5672
  static __wrap(ptr) {
5636
- ptr = ptr >>> 0;
5637
5673
  const obj = Object.create(LLE.prototype);
5638
5674
  obj.__wbg_ptr = ptr;
5639
5675
  LLEFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5677,7 +5713,7 @@ export class LLE {
5677
5713
  */
5678
5714
  constructor(lat, lng, height) {
5679
5715
  const ret = wasm.lle_new(lat, lng, height);
5680
- this.__wbg_ptr = ret >>> 0;
5716
+ this.__wbg_ptr = ret;
5681
5717
  LLEFinalization.register(this, this.__wbg_ptr, this);
5682
5718
  return this;
5683
5719
  }
@@ -5802,7 +5838,6 @@ if (Symbol.dispose) LayerDescriptionUrl.prototype[Symbol.dispose] = LayerDescrip
5802
5838
 
5803
5839
  export class LegacyElevationHeatmapMaterial {
5804
5840
  static __wrap(ptr) {
5805
- ptr = ptr >>> 0;
5806
5841
  const obj = Object.create(LegacyElevationHeatmapMaterial.prototype);
5807
5842
  obj.__wbg_ptr = ptr;
5808
5843
  LegacyElevationHeatmapMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5893,7 +5928,6 @@ if (Symbol.dispose) LegacyElevationHeatmapMaterial.prototype[Symbol.dispose] = L
5893
5928
 
5894
5929
  export class LegacyEllipsoidTerrainMaterial {
5895
5930
  static __wrap(ptr) {
5896
- ptr = ptr >>> 0;
5897
5931
  const obj = Object.create(LegacyEllipsoidTerrainMaterial.prototype);
5898
5932
  obj.__wbg_ptr = ptr;
5899
5933
  LegacyEllipsoidTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5921,14 +5955,14 @@ export class LegacyEllipsoidTerrainMaterial {
5921
5955
  */
5922
5956
  get maxZoom() {
5923
5957
  const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr);
5924
- return ret === 0x100000001 ? undefined : ret;
5958
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5925
5959
  }
5926
5960
  /**
5927
5961
  * @returns {number | undefined}
5928
5962
  */
5929
5963
  get minZoom() {
5930
5964
  const ret = wasm.__wbg_get_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr);
5931
- return ret === 0x100000001 ? undefined : ret;
5965
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5932
5966
  }
5933
5967
  /**
5934
5968
  * @returns {boolean | undefined}
@@ -5954,13 +5988,13 @@ export class LegacyEllipsoidTerrainMaterial {
5954
5988
  * @param {number | null} [arg0]
5955
5989
  */
5956
5990
  set maxZoom(arg0) {
5957
- wasm.__wbg_set_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5991
+ wasm.__wbg_set_legacyellipsoidterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5958
5992
  }
5959
5993
  /**
5960
5994
  * @param {number | null} [arg0]
5961
5995
  */
5962
5996
  set minZoom(arg0) {
5963
- wasm.__wbg_set_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5997
+ wasm.__wbg_set_legacyellipsoidterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5964
5998
  }
5965
5999
  /**
5966
6000
  * @param {boolean | null} [arg0]
@@ -5979,7 +6013,6 @@ if (Symbol.dispose) LegacyEllipsoidTerrainMaterial.prototype[Symbol.dispose] = L
5979
6013
 
5980
6014
  export class LegacyHillshadeMaterial {
5981
6015
  static __wrap(ptr) {
5982
- ptr = ptr >>> 0;
5983
6016
  const obj = Object.create(LegacyHillshadeMaterial.prototype);
5984
6017
  obj.__wbg_ptr = ptr;
5985
6018
  LegacyHillshadeMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6008,7 +6041,7 @@ export class LegacyHillshadeMaterial {
6008
6041
  */
6009
6042
  get exaggeration() {
6010
6043
  const ret = wasm.__wbg_get_legacyhillshadematerial_exaggeration(this.__wbg_ptr);
6011
- return ret === 0x100000001 ? undefined : ret;
6044
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6012
6045
  }
6013
6046
  /**
6014
6047
  * @param {ElevationDecoder | null} [arg0]
@@ -6026,14 +6059,13 @@ export class LegacyHillshadeMaterial {
6026
6059
  * @param {number | null} [arg0]
6027
6060
  */
6028
6061
  set exaggeration(arg0) {
6029
- wasm.__wbg_set_legacyhillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6062
+ wasm.__wbg_set_legacyhillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6030
6063
  }
6031
6064
  }
6032
6065
  if (Symbol.dispose) LegacyHillshadeMaterial.prototype[Symbol.dispose] = LegacyHillshadeMaterial.prototype.free;
6033
6066
 
6034
6067
  export class LegacyQuantizedMeshTerrainMaterial {
6035
6068
  static __wrap(ptr) {
6036
- ptr = ptr >>> 0;
6037
6069
  const obj = Object.create(LegacyQuantizedMeshTerrainMaterial.prototype);
6038
6070
  obj.__wbg_ptr = ptr;
6039
6071
  LegacyQuantizedMeshTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6068,21 +6100,21 @@ export class LegacyQuantizedMeshTerrainMaterial {
6068
6100
  */
6069
6101
  get maxZoom() {
6070
6102
  const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr);
6071
- return ret === 0x100000001 ? undefined : ret;
6103
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6072
6104
  }
6073
6105
  /**
6074
6106
  * @returns {number | undefined}
6075
6107
  */
6076
6108
  get minZoom() {
6077
6109
  const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr);
6078
- return ret === 0x100000001 ? undefined : ret;
6110
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6079
6111
  }
6080
6112
  /**
6081
6113
  * @returns {number | undefined}
6082
6114
  */
6083
6115
  get overscaledMaxZoom() {
6084
6116
  const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr);
6085
- return ret === 0x100000001 ? undefined : ret;
6117
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6086
6118
  }
6087
6119
  /**
6088
6120
  * @returns {boolean | undefined}
@@ -6124,7 +6156,7 @@ export class LegacyQuantizedMeshTerrainMaterial {
6124
6156
  */
6125
6157
  get skirtExaggeration() {
6126
6158
  const ret = wasm.__wbg_get_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr);
6127
- return ret === 0x100000001 ? undefined : ret;
6159
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6128
6160
  }
6129
6161
  /**
6130
6162
  * @returns {boolean | undefined}
@@ -6168,19 +6200,19 @@ export class LegacyQuantizedMeshTerrainMaterial {
6168
6200
  * @param {number | null} [arg0]
6169
6201
  */
6170
6202
  set maxZoom(arg0) {
6171
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6203
+ wasm.__wbg_set_legacyquantizedmeshterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6172
6204
  }
6173
6205
  /**
6174
6206
  * @param {number | null} [arg0]
6175
6207
  */
6176
6208
  set minZoom(arg0) {
6177
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6209
+ wasm.__wbg_set_legacyquantizedmeshterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6178
6210
  }
6179
6211
  /**
6180
6212
  * @param {number | null} [arg0]
6181
6213
  */
6182
6214
  set overscaledMaxZoom(arg0) {
6183
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6215
+ wasm.__wbg_set_legacyquantizedmeshterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6184
6216
  }
6185
6217
  /**
6186
6218
  * @param {boolean | null} [arg0]
@@ -6216,7 +6248,7 @@ export class LegacyQuantizedMeshTerrainMaterial {
6216
6248
  * @param {number | null} [arg0]
6217
6249
  */
6218
6250
  set skirtExaggeration(arg0) {
6219
- wasm.__wbg_set_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6251
+ wasm.__wbg_set_legacyquantizedmeshterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6220
6252
  }
6221
6253
  /**
6222
6254
  * @param {boolean | null} [arg0]
@@ -6243,7 +6275,6 @@ if (Symbol.dispose) LegacyQuantizedMeshTerrainMaterial.prototype[Symbol.dispose]
6243
6275
 
6244
6276
  export class LegacyRasterTerrainMaterial {
6245
6277
  static __wrap(ptr) {
6246
- ptr = ptr >>> 0;
6247
6278
  const obj = Object.create(LegacyRasterTerrainMaterial.prototype);
6248
6279
  obj.__wbg_ptr = ptr;
6249
6280
  LegacyRasterTerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6278,21 +6309,21 @@ export class LegacyRasterTerrainMaterial {
6278
6309
  */
6279
6310
  get maxZoom() {
6280
6311
  const ret = wasm.__wbg_get_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr);
6281
- return ret === 0x100000001 ? undefined : ret;
6312
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6282
6313
  }
6283
6314
  /**
6284
6315
  * @returns {number | undefined}
6285
6316
  */
6286
6317
  get minZoom() {
6287
6318
  const ret = wasm.__wbg_get_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr);
6288
- return ret === 0x100000001 ? undefined : ret;
6319
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6289
6320
  }
6290
6321
  /**
6291
6322
  * @returns {number | undefined}
6292
6323
  */
6293
6324
  get overscaledMaxZoom() {
6294
6325
  const ret = wasm.__wbg_get_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr);
6295
- return ret === 0x100000001 ? undefined : ret;
6326
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6296
6327
  }
6297
6328
  /**
6298
6329
  * @returns {boolean | undefined}
@@ -6320,7 +6351,7 @@ export class LegacyRasterTerrainMaterial {
6320
6351
  */
6321
6352
  get skirtExaggeration() {
6322
6353
  const ret = wasm.__wbg_get_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr);
6323
- return ret === 0x100000001 ? undefined : ret;
6354
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6324
6355
  }
6325
6356
  /**
6326
6357
  * @returns {boolean | undefined}
@@ -6334,7 +6365,7 @@ export class LegacyRasterTerrainMaterial {
6334
6365
  */
6335
6366
  get tileSize() {
6336
6367
  const ret = wasm.__wbg_get_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr);
6337
- return ret === 0x100000001 ? undefined : ret;
6368
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6338
6369
  }
6339
6370
  /**
6340
6371
  * @param {boolean | null} [arg0]
@@ -6357,19 +6388,19 @@ export class LegacyRasterTerrainMaterial {
6357
6388
  * @param {number | null} [arg0]
6358
6389
  */
6359
6390
  set maxZoom(arg0) {
6360
- wasm.__wbg_set_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6391
+ wasm.__wbg_set_legacyrasterterrainmaterial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6361
6392
  }
6362
6393
  /**
6363
6394
  * @param {number | null} [arg0]
6364
6395
  */
6365
6396
  set minZoom(arg0) {
6366
- wasm.__wbg_set_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6397
+ wasm.__wbg_set_legacyrasterterrainmaterial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6367
6398
  }
6368
6399
  /**
6369
6400
  * @param {number | null} [arg0]
6370
6401
  */
6371
6402
  set overscaledMaxZoom(arg0) {
6372
- wasm.__wbg_set_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6403
+ wasm.__wbg_set_legacyrasterterrainmaterial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6373
6404
  }
6374
6405
  /**
6375
6406
  * @param {boolean | null} [arg0]
@@ -6393,7 +6424,7 @@ export class LegacyRasterTerrainMaterial {
6393
6424
  * @param {number | null} [arg0]
6394
6425
  */
6395
6426
  set skirtExaggeration(arg0) {
6396
- wasm.__wbg_set_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6427
+ wasm.__wbg_set_legacyrasterterrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6397
6428
  }
6398
6429
  /**
6399
6430
  * @param {boolean | null} [arg0]
@@ -6405,14 +6436,13 @@ export class LegacyRasterTerrainMaterial {
6405
6436
  * @param {number | null} [arg0]
6406
6437
  */
6407
6438
  set tileSize(arg0) {
6408
- wasm.__wbg_set_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6439
+ wasm.__wbg_set_legacyrasterterrainmaterial_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6409
6440
  }
6410
6441
  }
6411
6442
  if (Symbol.dispose) LegacyRasterTerrainMaterial.prototype[Symbol.dispose] = LegacyRasterTerrainMaterial.prototype.free;
6412
6443
 
6413
6444
  export class LegacyRasterTileMaterial {
6414
6445
  static __wrap(ptr) {
6415
- ptr = ptr >>> 0;
6416
6446
  const obj = Object.create(LegacyRasterTileMaterial.prototype);
6417
6447
  obj.__wbg_ptr = ptr;
6418
6448
  LegacyRasterTileMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6433,35 +6463,35 @@ export class LegacyRasterTileMaterial {
6433
6463
  */
6434
6464
  get color() {
6435
6465
  const ret = wasm.__wbg_get_legacyrastertilematerial_color(this.__wbg_ptr);
6436
- return ret === 0x100000001 ? undefined : ret;
6466
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6437
6467
  }
6438
6468
  /**
6439
6469
  * @returns {number | undefined}
6440
6470
  */
6441
6471
  get maxZoom() {
6442
6472
  const ret = wasm.__wbg_get_legacyrastertilematerial_maxZoom(this.__wbg_ptr);
6443
- return ret === 0x100000001 ? undefined : ret;
6473
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6444
6474
  }
6445
6475
  /**
6446
6476
  * @returns {number | undefined}
6447
6477
  */
6448
6478
  get minZoom() {
6449
6479
  const ret = wasm.__wbg_get_legacyrastertilematerial_minZoom(this.__wbg_ptr);
6450
- return ret === 0x100000001 ? undefined : ret;
6480
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6451
6481
  }
6452
6482
  /**
6453
6483
  * @returns {number | undefined}
6454
6484
  */
6455
6485
  get opacity() {
6456
6486
  const ret = wasm.__wbg_get_legacyrastertilematerial_opacity(this.__wbg_ptr);
6457
- return ret === 0x100000001 ? undefined : ret;
6487
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6458
6488
  }
6459
6489
  /**
6460
6490
  * @returns {number | undefined}
6461
6491
  */
6462
6492
  get overscaledMaxZoom() {
6463
6493
  const ret = wasm.__wbg_get_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr);
6464
- return ret === 0x100000001 ? undefined : ret;
6494
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6465
6495
  }
6466
6496
  /**
6467
6497
  * @returns {boolean | undefined}
@@ -6488,31 +6518,31 @@ export class LegacyRasterTileMaterial {
6488
6518
  * @param {number | null} [arg0]
6489
6519
  */
6490
6520
  set color(arg0) {
6491
- wasm.__wbg_set_legacyrastertilematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6521
+ wasm.__wbg_set_legacyrastertilematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6492
6522
  }
6493
6523
  /**
6494
6524
  * @param {number | null} [arg0]
6495
6525
  */
6496
6526
  set maxZoom(arg0) {
6497
- wasm.__wbg_set_legacyrastertilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6527
+ wasm.__wbg_set_legacyrastertilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6498
6528
  }
6499
6529
  /**
6500
6530
  * @param {number | null} [arg0]
6501
6531
  */
6502
6532
  set minZoom(arg0) {
6503
- wasm.__wbg_set_legacyrastertilematerial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6533
+ wasm.__wbg_set_legacyrastertilematerial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6504
6534
  }
6505
6535
  /**
6506
6536
  * @param {number | null} [arg0]
6507
6537
  */
6508
6538
  set opacity(arg0) {
6509
- wasm.__wbg_set_legacyrastertilematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6539
+ wasm.__wbg_set_legacyrastertilematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6510
6540
  }
6511
6541
  /**
6512
6542
  * @param {number | null} [arg0]
6513
6543
  */
6514
6544
  set overscaledMaxZoom(arg0) {
6515
- wasm.__wbg_set_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6545
+ wasm.__wbg_set_legacyrastertilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6516
6546
  }
6517
6547
  /**
6518
6548
  * @param {boolean | null} [arg0]
@@ -6537,7 +6567,6 @@ if (Symbol.dispose) LegacyRasterTileMaterial.prototype[Symbol.dispose] = LegacyR
6537
6567
 
6538
6568
  export class LegacyVectorTileMaterial {
6539
6569
  static __wrap(ptr) {
6540
- ptr = ptr >>> 0;
6541
6570
  const obj = Object.create(LegacyVectorTileMaterial.prototype);
6542
6571
  obj.__wbg_ptr = ptr;
6543
6572
  LegacyVectorTileMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6560,6 +6589,15 @@ export class LegacyVectorTileMaterial {
6560
6589
  const ret = wasm.__wbg_get_legacyvectortilematerial_castShadow(this.__wbg_ptr);
6561
6590
  return ret === 0xFFFFFF ? undefined : ret !== 0;
6562
6591
  }
6592
+ /**
6593
+ * Per-layer horizon dynamic-SSE relaxation strength (`0.0` off … `1.0`
6594
+ * raster-equivalent). Omit for a content-based default.
6595
+ * @returns {number | undefined}
6596
+ */
6597
+ get dynamicSseScale() {
6598
+ const ret = wasm.__wbg_get_legacyvectortilematerial_dynamicSseScale(this.__wbg_ptr);
6599
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6600
+ }
6563
6601
  /**
6564
6602
  * Sub-layer filter (MapLibre's `source-layer`). This is the only render-side
6565
6603
  * field; the rest is fetch config carried onto the implicit source.
@@ -6579,21 +6617,28 @@ export class LegacyVectorTileMaterial {
6579
6617
  */
6580
6618
  get maxSse() {
6581
6619
  const ret = wasm.__wbg_get_legacyvectortilematerial_maxSse(this.__wbg_ptr);
6582
- return ret === 0x100000001 ? undefined : ret;
6620
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6583
6621
  }
6584
6622
  /**
6585
6623
  * @returns {number | undefined}
6586
6624
  */
6587
6625
  get maxZoom() {
6588
6626
  const ret = wasm.__wbg_get_legacyvectortilematerial_maxZoom(this.__wbg_ptr);
6589
- return ret === 0x100000001 ? undefined : ret;
6627
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6628
+ }
6629
+ /**
6630
+ * @returns {number | undefined}
6631
+ */
6632
+ get minZoom() {
6633
+ const ret = wasm.__wbg_get_legacyvectortilematerial_minZoom(this.__wbg_ptr);
6634
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6590
6635
  }
6591
6636
  /**
6592
6637
  * @returns {number | undefined}
6593
6638
  */
6594
6639
  get overscaledMaxZoom() {
6595
6640
  const ret = wasm.__wbg_get_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr);
6596
- return ret === 0x100000001 ? undefined : ret;
6641
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6597
6642
  }
6598
6643
  /**
6599
6644
  * @returns {boolean | undefined}
@@ -6615,6 +6660,14 @@ export class LegacyVectorTileMaterial {
6615
6660
  set castShadow(arg0) {
6616
6661
  wasm.__wbg_set_legacyvectortilematerial_castShadow(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6617
6662
  }
6663
+ /**
6664
+ * Per-layer horizon dynamic-SSE relaxation strength (`0.0` off … `1.0`
6665
+ * raster-equivalent). Omit for a content-based default.
6666
+ * @param {number | null} [arg0]
6667
+ */
6668
+ set dynamicSseScale(arg0) {
6669
+ wasm.__wbg_set_legacyvectortilematerial_dynamicSseScale(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6670
+ }
6618
6671
  /**
6619
6672
  * Sub-layer filter (MapLibre's `source-layer`). This is the only render-side
6620
6673
  * field; the rest is fetch config carried onto the implicit source.
@@ -6629,19 +6682,25 @@ export class LegacyVectorTileMaterial {
6629
6682
  * @param {number | null} [arg0]
6630
6683
  */
6631
6684
  set maxSse(arg0) {
6632
- wasm.__wbg_set_legacyvectortilematerial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6685
+ wasm.__wbg_set_legacyvectortilematerial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6633
6686
  }
6634
6687
  /**
6635
6688
  * @param {number | null} [arg0]
6636
6689
  */
6637
6690
  set maxZoom(arg0) {
6638
- wasm.__wbg_set_legacyvectortilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6691
+ wasm.__wbg_set_legacyvectortilematerial_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6692
+ }
6693
+ /**
6694
+ * @param {number | null} [arg0]
6695
+ */
6696
+ set minZoom(arg0) {
6697
+ wasm.__wbg_set_legacyvectortilematerial_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6639
6698
  }
6640
6699
  /**
6641
6700
  * @param {number | null} [arg0]
6642
6701
  */
6643
6702
  set overscaledMaxZoom(arg0) {
6644
- wasm.__wbg_set_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6703
+ wasm.__wbg_set_legacyvectortilematerial_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6645
6704
  }
6646
6705
  /**
6647
6706
  * @param {boolean | null} [arg0]
@@ -6664,7 +6723,6 @@ if (Symbol.dispose) LegacyVectorTileMaterial.prototype[Symbol.dispose] = LegacyV
6664
6723
  */
6665
6724
  export class MemoryStats {
6666
6725
  static __wrap(ptr) {
6667
- ptr = ptr >>> 0;
6668
6726
  const obj = Object.create(MemoryStats.prototype);
6669
6727
  obj.__wbg_ptr = ptr;
6670
6728
  MemoryStatsFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6722,6 +6780,13 @@ export class MemoryStats {
6722
6780
  const ret = wasm.__wbg_get_memorystats_externalCpuBytes(this.__wbg_ptr);
6723
6781
  return ret;
6724
6782
  }
6783
+ /**
6784
+ * @returns {number}
6785
+ */
6786
+ get fixedGpuBytes() {
6787
+ const ret = wasm.__wbg_get_memorystats_fixedGpuBytes(this.__wbg_ptr);
6788
+ return ret;
6789
+ }
6725
6790
  /**
6726
6791
  * @returns {number}
6727
6792
  */
@@ -6776,7 +6841,6 @@ if (Symbol.dispose) MemoryStats.prototype[Symbol.dispose] = MemoryStats.prototyp
6776
6841
 
6777
6842
  export class Mesh {
6778
6843
  static __wrap(ptr) {
6779
- ptr = ptr >>> 0;
6780
6844
  const obj = Object.create(Mesh.prototype);
6781
6845
  obj.__wbg_ptr = ptr;
6782
6846
  MeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6819,7 +6883,7 @@ export class Mesh {
6819
6883
  */
6820
6884
  get normals() {
6821
6885
  const ret = wasm.__wbg_get_mesh_normals(this.__wbg_ptr);
6822
- return ret === 0x100000001 ? undefined : ret;
6886
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6823
6887
  }
6824
6888
  /**
6825
6889
  * @returns {number}
@@ -6834,7 +6898,7 @@ export class Mesh {
6834
6898
  */
6835
6899
  get skirt_indices() {
6836
6900
  const ret = wasm.__wbg_get_mesh_skirt_indices(this.__wbg_ptr);
6837
- return ret === 0x100000001 ? undefined : ret;
6901
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6838
6902
  }
6839
6903
  /**
6840
6904
  * Skirt per-vertex normals handle.
@@ -6842,7 +6906,7 @@ export class Mesh {
6842
6906
  */
6843
6907
  get skirt_normals() {
6844
6908
  const ret = wasm.__wbg_get_mesh_skirt_normals(this.__wbg_ptr);
6845
- return ret === 0x100000001 ? undefined : ret;
6909
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6846
6910
  }
6847
6911
  /**
6848
6912
  * Skirt UVs handle.
@@ -6850,7 +6914,7 @@ export class Mesh {
6850
6914
  */
6851
6915
  get skirt_uvs() {
6852
6916
  const ret = wasm.__wbg_get_mesh_skirt_uvs(this.__wbg_ptr);
6853
- return ret === 0x100000001 ? undefined : ret;
6917
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6854
6918
  }
6855
6919
  /**
6856
6920
  * Skirt vertices handle (separate from main geometry for shadow/normal handling).
@@ -6858,7 +6922,7 @@ export class Mesh {
6858
6922
  */
6859
6923
  get skirt_vertices() {
6860
6924
  const ret = wasm.__wbg_get_mesh_skirt_vertices(this.__wbg_ptr);
6861
- return ret === 0x100000001 ? undefined : ret;
6925
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6862
6926
  }
6863
6927
  /**
6864
6928
  * @returns {number}
@@ -6880,7 +6944,7 @@ export class Mesh {
6880
6944
  */
6881
6945
  get watermask() {
6882
6946
  const ret = wasm.__wbg_get_mesh_watermask(this.__wbg_ptr);
6883
- return ret === 0x100000001 ? undefined : ret;
6947
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6884
6948
  }
6885
6949
  /**
6886
6950
  * @param {Aabb} arg0
@@ -6907,7 +6971,7 @@ export class Mesh {
6907
6971
  * @param {number | null} [arg0]
6908
6972
  */
6909
6973
  set normals(arg0) {
6910
- wasm.__wbg_set_mesh_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
6974
+ wasm.__wbg_set_mesh_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6911
6975
  }
6912
6976
  /**
6913
6977
  * @param {number} arg0
@@ -6920,28 +6984,28 @@ export class Mesh {
6920
6984
  * @param {number | null} [arg0]
6921
6985
  */
6922
6986
  set skirt_indices(arg0) {
6923
- wasm.__wbg_set_mesh_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
6987
+ wasm.__wbg_set_mesh_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6924
6988
  }
6925
6989
  /**
6926
6990
  * Skirt per-vertex normals handle.
6927
6991
  * @param {number | null} [arg0]
6928
6992
  */
6929
6993
  set skirt_normals(arg0) {
6930
- wasm.__wbg_set_mesh_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
6994
+ wasm.__wbg_set_mesh_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6931
6995
  }
6932
6996
  /**
6933
6997
  * Skirt UVs handle.
6934
6998
  * @param {number | null} [arg0]
6935
6999
  */
6936
7000
  set skirt_uvs(arg0) {
6937
- wasm.__wbg_set_mesh_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
7001
+ wasm.__wbg_set_mesh_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6938
7002
  }
6939
7003
  /**
6940
7004
  * Skirt vertices handle (separate from main geometry for shadow/normal handling).
6941
7005
  * @param {number | null} [arg0]
6942
7006
  */
6943
7007
  set skirt_vertices(arg0) {
6944
- wasm.__wbg_set_mesh_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
7008
+ wasm.__wbg_set_mesh_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6945
7009
  }
6946
7010
  /**
6947
7011
  * @param {number} arg0
@@ -6960,14 +7024,13 @@ export class Mesh {
6960
7024
  * @param {number | null} [arg0]
6961
7025
  */
6962
7026
  set watermask(arg0) {
6963
- wasm.__wbg_set_mesh_watermask(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
7027
+ wasm.__wbg_set_mesh_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
6964
7028
  }
6965
7029
  }
6966
7030
  if (Symbol.dispose) Mesh.prototype[Symbol.dispose] = Mesh.prototype.free;
6967
7031
 
6968
7032
  export class MeshAdded {
6969
7033
  static __wrap(ptr) {
6970
- ptr = ptr >>> 0;
6971
7034
  const obj = Object.create(MeshAdded.prototype);
6972
7035
  obj.__wbg_ptr = ptr;
6973
7036
  MeshAddedFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7100,7 +7163,6 @@ if (Symbol.dispose) MeshAdded.prototype[Symbol.dispose] = MeshAdded.prototype.fr
7100
7163
 
7101
7164
  export class MeshChanged {
7102
7165
  static __wrap(ptr) {
7103
- ptr = ptr >>> 0;
7104
7166
  const obj = Object.create(MeshChanged.prototype);
7105
7167
  obj.__wbg_ptr = ptr;
7106
7168
  MeshChangedFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7205,7 +7267,6 @@ if (Symbol.dispose) MeshChanged.prototype[Symbol.dispose] = MeshChanged.prototyp
7205
7267
 
7206
7268
  export class ModelInternalMaterial {
7207
7269
  static __wrap(ptr) {
7208
- ptr = ptr >>> 0;
7209
7270
  const obj = Object.create(ModelInternalMaterial.prototype);
7210
7271
  obj.__wbg_ptr = ptr;
7211
7272
  ModelInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7267,7 +7328,6 @@ if (Symbol.dispose) ModelInternalMaterial.prototype[Symbol.dispose] = ModelInter
7267
7328
 
7268
7329
  export class ModelMaterial {
7269
7330
  static __wrap(ptr) {
7270
- ptr = ptr >>> 0;
7271
7331
  const obj = Object.create(ModelMaterial.prototype);
7272
7332
  obj.__wbg_ptr = ptr;
7273
7333
  ModelMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7307,7 +7367,7 @@ export class ModelMaterial {
7307
7367
  */
7308
7368
  get animationSpeed() {
7309
7369
  const ret = wasm.__wbg_get_modelmaterial_animationSpeed(this.__wbg_ptr);
7310
- return ret === 0x100000001 ? undefined : ret;
7370
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7311
7371
  }
7312
7372
  /**
7313
7373
  * @returns {boolean | undefined}
@@ -7335,7 +7395,7 @@ export class ModelMaterial {
7335
7395
  */
7336
7396
  get color() {
7337
7397
  const ret = wasm.__wbg_get_modelmaterial_color(this.__wbg_ptr);
7338
- return ret === 0x100000001 ? undefined : ret;
7398
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7339
7399
  }
7340
7400
  /**
7341
7401
  * Crease angle (in radians) used when `normals` is true. Defaults to 30°
@@ -7344,7 +7404,7 @@ export class ModelMaterial {
7344
7404
  */
7345
7405
  get creaseNormalAngle() {
7346
7406
  const ret = wasm.__wbg_get_modelmaterial_creaseNormalAngle(this.__wbg_ptr);
7347
- return ret === 0x100000001 ? undefined : ret;
7407
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7348
7408
  }
7349
7409
  /**
7350
7410
  * Enable writing to depth buffer
@@ -7373,7 +7433,7 @@ export class ModelMaterial {
7373
7433
  */
7374
7434
  get emissiveColor() {
7375
7435
  const ret = wasm.__wbg_get_modelmaterial_emissiveColor(this.__wbg_ptr);
7376
- return ret === 0x100000001 ? undefined : ret;
7436
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7377
7437
  }
7378
7438
  /**
7379
7439
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -7381,35 +7441,35 @@ export class ModelMaterial {
7381
7441
  */
7382
7442
  get emissiveIntensity() {
7383
7443
  const ret = wasm.__wbg_get_modelmaterial_emissiveIntensity(this.__wbg_ptr);
7384
- return ret === 0x100000001 ? undefined : ret;
7444
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7385
7445
  }
7386
7446
  /**
7387
7447
  * @returns {number | undefined}
7388
7448
  */
7389
7449
  get height() {
7390
7450
  const ret = wasm.__wbg_get_modelmaterial_height(this.__wbg_ptr);
7391
- return ret === 0x100000001 ? undefined : ret;
7451
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7392
7452
  }
7393
7453
  /**
7394
7454
  * @returns {number | undefined}
7395
7455
  */
7396
7456
  get ior() {
7397
7457
  const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
7398
- return ret === 0x100000001 ? undefined : ret;
7458
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7399
7459
  }
7400
7460
  /**
7401
7461
  * @returns {number | undefined}
7402
7462
  */
7403
7463
  get maxSse() {
7404
7464
  const ret = wasm.__wbg_get_modelmaterial_maxSse(this.__wbg_ptr);
7405
- return ret === 0x100000001 ? undefined : ret;
7465
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7406
7466
  }
7407
7467
  /**
7408
7468
  * @returns {number | undefined}
7409
7469
  */
7410
7470
  get metalness() {
7411
7471
  const ret = wasm.__wbg_get_modelmaterial_metalness(this.__wbg_ptr);
7412
- return ret === 0x100000001 ? undefined : ret;
7472
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7413
7473
  }
7414
7474
  /**
7415
7475
  * When true, recompute vertex normals using a creased-normals algorithm
@@ -7427,14 +7487,14 @@ export class ModelMaterial {
7427
7487
  */
7428
7488
  get opacity() {
7429
7489
  const ret = wasm.__wbg_get_modelmaterial_opacity(this.__wbg_ptr);
7430
- return ret === 0x100000001 ? undefined : ret;
7490
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7431
7491
  }
7432
7492
  /**
7433
7493
  * @returns {number | undefined}
7434
7494
  */
7435
7495
  get pointSize() {
7436
7496
  const ret = wasm.__wbg_get_modelmaterial_pointSize(this.__wbg_ptr);
7437
- return ret === 0x100000001 ? undefined : ret;
7497
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7438
7498
  }
7439
7499
  /**
7440
7500
  * @returns {boolean | undefined}
@@ -7449,7 +7509,7 @@ export class ModelMaterial {
7449
7509
  */
7450
7510
  get reflectivity() {
7451
7511
  const ret = wasm.__wbg_get_modelmaterial_reflectivity(this.__wbg_ptr);
7452
- return ret === 0x100000001 ? undefined : ret;
7512
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7453
7513
  }
7454
7514
  /**
7455
7515
  * Reflectivity for post-process.
@@ -7457,14 +7517,14 @@ export class ModelMaterial {
7457
7517
  */
7458
7518
  get roughness() {
7459
7519
  const ret = wasm.__wbg_get_modelmaterial_roughness(this.__wbg_ptr);
7460
- return ret === 0x100000001 ? undefined : ret;
7520
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7461
7521
  }
7462
7522
  /**
7463
7523
  * @returns {number | undefined}
7464
7524
  */
7465
7525
  get shininess() {
7466
7526
  const ret = wasm.__wbg_get_modelmaterial_shininess(this.__wbg_ptr);
7467
- return ret === 0x100000001 ? undefined : ret;
7527
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7468
7528
  }
7469
7529
  /**
7470
7530
  * @returns {boolean | undefined}
@@ -7492,14 +7552,14 @@ export class ModelMaterial {
7492
7552
  */
7493
7553
  get size() {
7494
7554
  const ret = wasm.__wbg_get_modelmaterial_size(this.__wbg_ptr);
7495
- return ret === 0x100000001 ? undefined : ret;
7555
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7496
7556
  }
7497
7557
  /**
7498
7558
  * @returns {number | undefined}
7499
7559
  */
7500
7560
  get specularStrength() {
7501
7561
  const ret = wasm.__wbg_get_modelmaterial_specularStrength(this.__wbg_ptr);
7502
- return ret === 0x100000001 ? undefined : ret;
7562
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7503
7563
  }
7504
7564
  /**
7505
7565
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -7535,7 +7595,7 @@ export class ModelMaterial {
7535
7595
  */
7536
7596
  get waterScaleNormal() {
7537
7597
  const ret = wasm.__wbg_get_modelmaterial_waterScaleNormal(this.__wbg_ptr);
7538
- return ret === 0x100000001 ? undefined : ret;
7598
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7539
7599
  }
7540
7600
  /**
7541
7601
  * Water wave speed.
@@ -7543,7 +7603,7 @@ export class ModelMaterial {
7543
7603
  */
7544
7604
  get waterSpeed() {
7545
7605
  const ret = wasm.__wbg_get_modelmaterial_waterSpeed(this.__wbg_ptr);
7546
- return ret === 0x100000001 ? undefined : ret;
7606
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7547
7607
  }
7548
7608
  /**
7549
7609
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -7576,7 +7636,7 @@ export class ModelMaterial {
7576
7636
  * @param {number | null} [arg0]
7577
7637
  */
7578
7638
  set animationSpeed(arg0) {
7579
- wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7639
+ wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7580
7640
  }
7581
7641
  /**
7582
7642
  * @param {boolean | null} [arg0]
@@ -7600,7 +7660,7 @@ export class ModelMaterial {
7600
7660
  * @param {number | null} [arg0]
7601
7661
  */
7602
7662
  set color(arg0) {
7603
- wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
7663
+ wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
7604
7664
  }
7605
7665
  /**
7606
7666
  * Crease angle (in radians) used when `normals` is true. Defaults to 30°
@@ -7608,7 +7668,7 @@ export class ModelMaterial {
7608
7668
  * @param {number | null} [arg0]
7609
7669
  */
7610
7670
  set creaseNormalAngle(arg0) {
7611
- wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7671
+ wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7612
7672
  }
7613
7673
  /**
7614
7674
  * Enable writing to depth buffer
@@ -7631,38 +7691,38 @@ export class ModelMaterial {
7631
7691
  * @param {number | null} [arg0]
7632
7692
  */
7633
7693
  set emissiveColor(arg0) {
7634
- wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
7694
+ wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
7635
7695
  }
7636
7696
  /**
7637
7697
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
7638
7698
  * @param {number | null} [arg0]
7639
7699
  */
7640
7700
  set emissiveIntensity(arg0) {
7641
- wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7701
+ wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7642
7702
  }
7643
7703
  /**
7644
7704
  * @param {number | null} [arg0]
7645
7705
  */
7646
7706
  set height(arg0) {
7647
- wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7707
+ wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7648
7708
  }
7649
7709
  /**
7650
7710
  * @param {number | null} [arg0]
7651
7711
  */
7652
7712
  set ior(arg0) {
7653
- wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7713
+ wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7654
7714
  }
7655
7715
  /**
7656
7716
  * @param {number | null} [arg0]
7657
7717
  */
7658
7718
  set maxSse(arg0) {
7659
- wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7719
+ wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7660
7720
  }
7661
7721
  /**
7662
7722
  * @param {number | null} [arg0]
7663
7723
  */
7664
7724
  set metalness(arg0) {
7665
- wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7725
+ wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7666
7726
  }
7667
7727
  /**
7668
7728
  * When true, recompute vertex normals using a creased-normals algorithm
@@ -7678,13 +7738,13 @@ export class ModelMaterial {
7678
7738
  * @param {number | null} [arg0]
7679
7739
  */
7680
7740
  set opacity(arg0) {
7681
- wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7741
+ wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7682
7742
  }
7683
7743
  /**
7684
7744
  * @param {number | null} [arg0]
7685
7745
  */
7686
7746
  set pointSize(arg0) {
7687
- wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7747
+ wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7688
7748
  }
7689
7749
  /**
7690
7750
  * @param {boolean | null} [arg0]
@@ -7697,20 +7757,20 @@ export class ModelMaterial {
7697
7757
  * @param {number | null} [arg0]
7698
7758
  */
7699
7759
  set reflectivity(arg0) {
7700
- wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7760
+ wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7701
7761
  }
7702
7762
  /**
7703
7763
  * Reflectivity for post-process.
7704
7764
  * @param {number | null} [arg0]
7705
7765
  */
7706
7766
  set roughness(arg0) {
7707
- wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7767
+ wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7708
7768
  }
7709
7769
  /**
7710
7770
  * @param {number | null} [arg0]
7711
7771
  */
7712
7772
  set shininess(arg0) {
7713
- wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7773
+ wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7714
7774
  }
7715
7775
  /**
7716
7776
  * @param {boolean | null} [arg0]
@@ -7734,13 +7794,13 @@ export class ModelMaterial {
7734
7794
  * @param {number | null} [arg0]
7735
7795
  */
7736
7796
  set size(arg0) {
7737
- wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7797
+ wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7738
7798
  }
7739
7799
  /**
7740
7800
  * @param {number | null} [arg0]
7741
7801
  */
7742
7802
  set specularStrength(arg0) {
7743
- wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7803
+ wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7744
7804
  }
7745
7805
  /**
7746
7806
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -7769,14 +7829,14 @@ export class ModelMaterial {
7769
7829
  * @param {number | null} [arg0]
7770
7830
  */
7771
7831
  set waterScaleNormal(arg0) {
7772
- wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7832
+ wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7773
7833
  }
7774
7834
  /**
7775
7835
  * Water wave speed.
7776
7836
  * @param {number | null} [arg0]
7777
7837
  */
7778
7838
  set waterSpeed(arg0) {
7779
- wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
7839
+ wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
7780
7840
  }
7781
7841
  /**
7782
7842
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -7790,7 +7850,6 @@ if (Symbol.dispose) ModelMaterial.prototype[Symbol.dispose] = ModelMaterial.prot
7790
7850
 
7791
7851
  export class ModelMesh {
7792
7852
  static __wrap(ptr) {
7793
- ptr = ptr >>> 0;
7794
7853
  const obj = Object.create(ModelMesh.prototype);
7795
7854
  obj.__wbg_ptr = ptr;
7796
7855
  ModelMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7832,7 +7891,7 @@ export class ModelMesh {
7832
7891
  */
7833
7892
  get bin() {
7834
7893
  const ret = wasm.__wbg_get_modelmesh_bin(this.__wbg_ptr);
7835
- return ret === 0x100000001 ? undefined : ret;
7894
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
7836
7895
  }
7837
7896
  /**
7838
7897
  * @returns {TransferableModelGeometry}
@@ -7879,7 +7938,7 @@ export class ModelMesh {
7879
7938
  * @param {number | null} [arg0]
7880
7939
  */
7881
7940
  set bin(arg0) {
7882
- wasm.__wbg_set_modelmesh_bin(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
7941
+ wasm.__wbg_set_modelmesh_bin(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
7883
7942
  }
7884
7943
  /**
7885
7944
  * @param {TransferableModelGeometry} arg0
@@ -8125,7 +8184,6 @@ if (Symbol.dispose) NearFar.prototype[Symbol.dispose] = NearFar.prototype.free;
8125
8184
 
8126
8185
  export class ObjectTransformEvent {
8127
8186
  static __wrap(ptr) {
8128
- ptr = ptr >>> 0;
8129
8187
  const obj = Object.create(ObjectTransformEvent.prototype);
8130
8188
  obj.__wbg_ptr = ptr;
8131
8189
  ObjectTransformEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8187,7 +8245,6 @@ if (Symbol.dispose) ObjectTransformEvent.prototype[Symbol.dispose] = ObjectTrans
8187
8245
 
8188
8246
  export class OrthoCamTransform {
8189
8247
  static __wrap(ptr) {
8190
- ptr = ptr >>> 0;
8191
8248
  const obj = Object.create(OrthoCamTransform.prototype);
8192
8249
  obj.__wbg_ptr = ptr;
8193
8250
  OrthoCamTransformFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8239,7 +8296,7 @@ export class OrthoCamTransform {
8239
8296
  */
8240
8297
  constructor(left, right, top, bottom) {
8241
8298
  const ret = wasm.orthocamtransform_new(left, right, top, bottom);
8242
- this.__wbg_ptr = ret >>> 0;
8299
+ this.__wbg_ptr = ret;
8243
8300
  OrthoCamTransformFinalization.register(this, this.__wbg_ptr, this);
8244
8301
  return this;
8245
8302
  }
@@ -8272,7 +8329,6 @@ if (Symbol.dispose) OrthoCamTransform.prototype[Symbol.dispose] = OrthoCamTransf
8272
8329
 
8273
8330
  export class OverscaledTileHandle {
8274
8331
  static __wrap(ptr) {
8275
- ptr = ptr >>> 0;
8276
8332
  const obj = Object.create(OverscaledTileHandle.prototype);
8277
8333
  obj.__wbg_ptr = ptr;
8278
8334
  OverscaledTileHandleFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8313,7 +8369,6 @@ if (Symbol.dispose) OverscaledTileHandle.prototype[Symbol.dispose] = OverscaledT
8313
8369
  */
8314
8370
  export class ParseMvtTileParameters {
8315
8371
  static __wrap(ptr) {
8316
- ptr = ptr >>> 0;
8317
8372
  const obj = Object.create(ParseMvtTileParameters.prototype);
8318
8373
  obj.__wbg_ptr = ptr;
8319
8374
  ParseMvtTileParametersFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8449,7 +8504,6 @@ if (Symbol.dispose) ParseMvtTileParameters.prototype[Symbol.dispose] = ParseMvtT
8449
8504
  */
8450
8505
  export class ParseMvtTileResult {
8451
8506
  static __wrap(ptr) {
8452
- ptr = ptr >>> 0;
8453
8507
  const obj = Object.create(ParseMvtTileResult.prototype);
8454
8508
  obj.__wbg_ptr = ptr;
8455
8509
  ParseMvtTileResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8493,7 +8547,7 @@ export class ParseMvtTileResult {
8493
8547
  if (ret[2]) {
8494
8548
  throw takeFromExternrefTable0(ret[1]);
8495
8549
  }
8496
- this.__wbg_ptr = ret[0] >>> 0;
8550
+ this.__wbg_ptr = ret[0];
8497
8551
  ParseMvtTileResultFinalization.register(this, this.__wbg_ptr, this);
8498
8552
  return this;
8499
8553
  }
@@ -8629,7 +8683,6 @@ if (Symbol.dispose) PntsLayerDescription.prototype[Symbol.dispose] = PntsLayerDe
8629
8683
 
8630
8684
  export class PointMaterial {
8631
8685
  static __wrap(ptr) {
8632
- ptr = ptr >>> 0;
8633
8686
  const obj = Object.create(PointMaterial.prototype);
8634
8687
  obj.__wbg_ptr = ptr;
8635
8688
  PointMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8666,7 +8719,26 @@ export class PointMaterial {
8666
8719
  */
8667
8720
  get color() {
8668
8721
  const ret = wasm.__wbg_get_pointmaterial_color(this.__wbg_ptr);
8669
- return ret === 0x100000001 ? undefined : ret;
8722
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8723
+ }
8724
+ /**
8725
+ * Placement priority for decluttering; higher wins. Only meaningful when
8726
+ * `declutter` is enabled. Defaults to `0.0`.
8727
+ * @returns {number | undefined}
8728
+ */
8729
+ get declutterPriority() {
8730
+ const ret = wasm.__wbg_get_pointmaterial_declutterPriority(this.__wbg_ptr);
8731
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8732
+ }
8733
+ /**
8734
+ * Participate in screen-space decluttering: when labels/sprites overlap
8735
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
8736
+ * `false` to draw every label unconditionally.
8737
+ * @returns {boolean | undefined}
8738
+ */
8739
+ get declutter() {
8740
+ const ret = wasm.__wbg_get_pointmaterial_declutter(this.__wbg_ptr);
8741
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
8670
8742
  }
8671
8743
  /**
8672
8744
  * @returns {boolean | undefined}
@@ -8694,7 +8766,7 @@ export class PointMaterial {
8694
8766
  */
8695
8767
  get emissiveColor() {
8696
8768
  const ret = wasm.__wbg_get_pointmaterial_emissiveColor(this.__wbg_ptr);
8697
- return ret === 0x100000001 ? undefined : ret;
8769
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8698
8770
  }
8699
8771
  /**
8700
8772
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -8702,14 +8774,14 @@ export class PointMaterial {
8702
8774
  */
8703
8775
  get emissiveIntensity() {
8704
8776
  const ret = wasm.__wbg_get_pointmaterial_emissiveIntensity(this.__wbg_ptr);
8705
- return ret === 0x100000001 ? undefined : ret;
8777
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8706
8778
  }
8707
8779
  /**
8708
8780
  * @returns {number | undefined}
8709
8781
  */
8710
8782
  get height() {
8711
8783
  const ret = wasm.__wbg_get_pointmaterial_height(this.__wbg_ptr);
8712
- return ret === 0x100000001 ? undefined : ret;
8784
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8713
8785
  }
8714
8786
  /**
8715
8787
  * Avoid overlapping with the globe surface.
@@ -8724,7 +8796,7 @@ export class PointMaterial {
8724
8796
  */
8725
8797
  get opacity() {
8726
8798
  const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
8727
- return ret === 0x100000001 ? undefined : ret;
8799
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8728
8800
  }
8729
8801
  /**
8730
8802
  * @returns {boolean | undefined}
@@ -8747,7 +8819,7 @@ export class PointMaterial {
8747
8819
  */
8748
8820
  get size() {
8749
8821
  const ret = wasm.__wbg_get_pointmaterial_size(this.__wbg_ptr);
8750
- return ret === 0x100000001 ? undefined : ret;
8822
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
8751
8823
  }
8752
8824
  /**
8753
8825
  * @returns {boolean | undefined}
@@ -8779,7 +8851,24 @@ export class PointMaterial {
8779
8851
  * @param {number | null} [arg0]
8780
8852
  */
8781
8853
  set color(arg0) {
8782
- wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
8854
+ wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
8855
+ }
8856
+ /**
8857
+ * Placement priority for decluttering; higher wins. Only meaningful when
8858
+ * `declutter` is enabled. Defaults to `0.0`.
8859
+ * @param {number | null} [arg0]
8860
+ */
8861
+ set declutterPriority(arg0) {
8862
+ wasm.__wbg_set_pointmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8863
+ }
8864
+ /**
8865
+ * Participate in screen-space decluttering: when labels/sprites overlap
8866
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
8867
+ * `false` to draw every label unconditionally.
8868
+ * @param {boolean | null} [arg0]
8869
+ */
8870
+ set declutter(arg0) {
8871
+ wasm.__wbg_set_pointmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
8783
8872
  }
8784
8873
  /**
8785
8874
  * @param {boolean | null} [arg0]
@@ -8801,20 +8890,20 @@ export class PointMaterial {
8801
8890
  * @param {number | null} [arg0]
8802
8891
  */
8803
8892
  set emissiveColor(arg0) {
8804
- wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
8893
+ wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
8805
8894
  }
8806
8895
  /**
8807
8896
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
8808
8897
  * @param {number | null} [arg0]
8809
8898
  */
8810
8899
  set emissiveIntensity(arg0) {
8811
- wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
8900
+ wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8812
8901
  }
8813
8902
  /**
8814
8903
  * @param {number | null} [arg0]
8815
8904
  */
8816
8905
  set height(arg0) {
8817
- wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
8906
+ wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8818
8907
  }
8819
8908
  /**
8820
8909
  * Avoid overlapping with the globe surface.
@@ -8827,7 +8916,7 @@ export class PointMaterial {
8827
8916
  * @param {number | null} [arg0]
8828
8917
  */
8829
8918
  set opacity(arg0) {
8830
- wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
8919
+ wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8831
8920
  }
8832
8921
  /**
8833
8922
  * @param {boolean | null} [arg0]
@@ -8847,7 +8936,7 @@ export class PointMaterial {
8847
8936
  * @param {number | null} [arg0]
8848
8937
  */
8849
8938
  set size(arg0) {
8850
- wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
8939
+ wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
8851
8940
  }
8852
8941
  /**
8853
8942
  * @param {boolean | null} [arg0]
@@ -8860,7 +8949,6 @@ if (Symbol.dispose) PointMaterial.prototype[Symbol.dispose] = PointMaterial.prot
8860
8949
 
8861
8950
  export class PointMesh {
8862
8951
  static __wrap(ptr) {
8863
- ptr = ptr >>> 0;
8864
8952
  const obj = Object.create(PointMesh.prototype);
8865
8953
  obj.__wbg_ptr = ptr;
8866
8954
  PointMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -9183,7 +9271,6 @@ if (Symbol.dispose) PolygonGeometryAttributes.prototype[Symbol.dispose] = Polygo
9183
9271
 
9184
9272
  export class PolygonInternalMaterial {
9185
9273
  static __wrap(ptr) {
9186
- ptr = ptr >>> 0;
9187
9274
  const obj = Object.create(PolygonInternalMaterial.prototype);
9188
9275
  obj.__wbg_ptr = ptr;
9189
9276
  PolygonInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -9221,7 +9308,6 @@ if (Symbol.dispose) PolygonInternalMaterial.prototype[Symbol.dispose] = PolygonI
9221
9308
 
9222
9309
  export class PolygonMaterial {
9223
9310
  static __wrap(ptr) {
9224
- ptr = ptr >>> 0;
9225
9311
  const obj = Object.create(PolygonMaterial.prototype);
9226
9312
  obj.__wbg_ptr = ptr;
9227
9313
  PolygonMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -9270,7 +9356,7 @@ export class PolygonMaterial {
9270
9356
  */
9271
9357
  get color() {
9272
9358
  const ret = wasm.__wbg_get_polygonmaterial_color(this.__wbg_ptr);
9273
- return ret === 0x100000001 ? undefined : ret;
9359
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9274
9360
  }
9275
9361
  /**
9276
9362
  * IDs of selective effects to apply (e.g., "bloom", "outline")
@@ -9291,7 +9377,7 @@ export class PolygonMaterial {
9291
9377
  */
9292
9378
  get emissiveColor() {
9293
9379
  const ret = wasm.__wbg_get_polygonmaterial_emissiveColor(this.__wbg_ptr);
9294
- return ret === 0x100000001 ? undefined : ret;
9380
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9295
9381
  }
9296
9382
  /**
9297
9383
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -9299,28 +9385,28 @@ export class PolygonMaterial {
9299
9385
  */
9300
9386
  get emissiveIntensity() {
9301
9387
  const ret = wasm.__wbg_get_polygonmaterial_emissiveIntensity(this.__wbg_ptr);
9302
- return ret === 0x100000001 ? undefined : ret;
9388
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9303
9389
  }
9304
9390
  /**
9305
9391
  * @returns {number | undefined}
9306
9392
  */
9307
9393
  get extrudedHeight() {
9308
9394
  const ret = wasm.__wbg_get_polygonmaterial_extrudedHeight(this.__wbg_ptr);
9309
- return ret === 0x100000001 ? undefined : ret;
9395
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9310
9396
  }
9311
9397
  /**
9312
9398
  * @returns {number | undefined}
9313
9399
  */
9314
9400
  get height() {
9315
9401
  const ret = wasm.__wbg_get_polygonmaterial_height(this.__wbg_ptr);
9316
- return ret === 0x100000001 ? undefined : ret;
9402
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9317
9403
  }
9318
9404
  /**
9319
9405
  * @returns {number | undefined}
9320
9406
  */
9321
9407
  get ior() {
9322
9408
  const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
9323
- return ret === 0x100000001 ? undefined : ret;
9409
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9324
9410
  }
9325
9411
  /**
9326
9412
  * Need to enable `transparent`.
@@ -9328,7 +9414,7 @@ export class PolygonMaterial {
9328
9414
  */
9329
9415
  get opacity() {
9330
9416
  const ret = wasm.__wbg_get_polygonmaterial_opacity(this.__wbg_ptr);
9331
- return ret === 0x100000001 ? undefined : ret;
9417
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9332
9418
  }
9333
9419
  /**
9334
9420
  * Currently, this property is supported only in GeoJSON.
@@ -9336,7 +9422,7 @@ export class PolygonMaterial {
9336
9422
  */
9337
9423
  get outlineColor() {
9338
9424
  const ret = wasm.__wbg_get_polygonmaterial_outlineColor(this.__wbg_ptr);
9339
- return ret === 0x100000001 ? undefined : ret;
9425
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9340
9426
  }
9341
9427
  /**
9342
9428
  * Currently, this property is supported only in GeoJSON.
@@ -9352,7 +9438,7 @@ export class PolygonMaterial {
9352
9438
  */
9353
9439
  get outlineWidth() {
9354
9440
  const ret = wasm.__wbg_get_polygonmaterial_outlineWidth(this.__wbg_ptr);
9355
- return ret === 0x100000001 ? undefined : ret;
9441
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9356
9442
  }
9357
9443
  /**
9358
9444
  * Whether to compute outline geometry. Only effective at initial load time.
@@ -9384,7 +9470,7 @@ export class PolygonMaterial {
9384
9470
  */
9385
9471
  get reflectivity() {
9386
9472
  const ret = wasm.__wbg_get_polygonmaterial_reflectivity(this.__wbg_ptr);
9387
- return ret === 0x100000001 ? undefined : ret;
9473
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9388
9474
  }
9389
9475
  /**
9390
9476
  * Reflectivity for post-process.
@@ -9392,14 +9478,14 @@ export class PolygonMaterial {
9392
9478
  */
9393
9479
  get roughness() {
9394
9480
  const ret = wasm.__wbg_get_polygonmaterial_roughness(this.__wbg_ptr);
9395
- return ret === 0x100000001 ? undefined : ret;
9481
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9396
9482
  }
9397
9483
  /**
9398
9484
  * @returns {number | undefined}
9399
9485
  */
9400
9486
  get shininess() {
9401
9487
  const ret = wasm.__wbg_get_polygonmaterial_shininess(this.__wbg_ptr);
9402
- return ret === 0x100000001 ? undefined : ret;
9488
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9403
9489
  }
9404
9490
  /**
9405
9491
  * @returns {boolean | undefined}
@@ -9413,7 +9499,7 @@ export class PolygonMaterial {
9413
9499
  */
9414
9500
  get specularStrength() {
9415
9501
  const ret = wasm.__wbg_get_polygonmaterial_specularStrength(this.__wbg_ptr);
9416
- return ret === 0x100000001 ? undefined : ret;
9502
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9417
9503
  }
9418
9504
  /**
9419
9505
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -9458,7 +9544,7 @@ export class PolygonMaterial {
9458
9544
  */
9459
9545
  get waterScaleNormal() {
9460
9546
  const ret = wasm.__wbg_get_polygonmaterial_waterScaleNormal(this.__wbg_ptr);
9461
- return ret === 0x100000001 ? undefined : ret;
9547
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9462
9548
  }
9463
9549
  /**
9464
9550
  * Water wave speed.
@@ -9466,7 +9552,7 @@ export class PolygonMaterial {
9466
9552
  */
9467
9553
  get waterSpeed() {
9468
9554
  const ret = wasm.__wbg_get_polygonmaterial_waterSpeed(this.__wbg_ptr);
9469
- return ret === 0x100000001 ? undefined : ret;
9555
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
9470
9556
  }
9471
9557
  /**
9472
9558
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -9503,8 +9589,8 @@ export class PolygonMaterial {
9503
9589
  _assertClass(__internal__, PolygonInternalMaterial);
9504
9590
  ptr0 = __internal__.__destroy_into_raw();
9505
9591
  }
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;
9592
+ 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);
9593
+ this.__wbg_ptr = ret;
9508
9594
  PolygonMaterialFinalization.register(this, this.__wbg_ptr, this);
9509
9595
  return this;
9510
9596
  }
@@ -9541,7 +9627,7 @@ export class PolygonMaterial {
9541
9627
  * @param {number | null} [arg0]
9542
9628
  */
9543
9629
  set color(arg0) {
9544
- wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
9630
+ wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
9545
9631
  }
9546
9632
  /**
9547
9633
  * IDs of selective effects to apply (e.g., "bloom", "outline")
@@ -9557,46 +9643,46 @@ export class PolygonMaterial {
9557
9643
  * @param {number | null} [arg0]
9558
9644
  */
9559
9645
  set emissiveColor(arg0) {
9560
- wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
9646
+ wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
9561
9647
  }
9562
9648
  /**
9563
9649
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
9564
9650
  * @param {number | null} [arg0]
9565
9651
  */
9566
9652
  set emissiveIntensity(arg0) {
9567
- wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9653
+ wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9568
9654
  }
9569
9655
  /**
9570
9656
  * @param {number | null} [arg0]
9571
9657
  */
9572
9658
  set extrudedHeight(arg0) {
9573
- wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9659
+ wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9574
9660
  }
9575
9661
  /**
9576
9662
  * @param {number | null} [arg0]
9577
9663
  */
9578
9664
  set height(arg0) {
9579
- wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9665
+ wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9580
9666
  }
9581
9667
  /**
9582
9668
  * @param {number | null} [arg0]
9583
9669
  */
9584
9670
  set ior(arg0) {
9585
- wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9671
+ wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9586
9672
  }
9587
9673
  /**
9588
9674
  * Need to enable `transparent`.
9589
9675
  * @param {number | null} [arg0]
9590
9676
  */
9591
9677
  set opacity(arg0) {
9592
- wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9678
+ wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9593
9679
  }
9594
9680
  /**
9595
9681
  * Currently, this property is supported only in GeoJSON.
9596
9682
  * @param {number | null} [arg0]
9597
9683
  */
9598
9684
  set outlineColor(arg0) {
9599
- wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
9685
+ wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
9600
9686
  }
9601
9687
  /**
9602
9688
  * Currently, this property is supported only in GeoJSON.
@@ -9610,7 +9696,7 @@ export class PolygonMaterial {
9610
9696
  * @param {number | null} [arg0]
9611
9697
  */
9612
9698
  set outlineWidth(arg0) {
9613
- wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9699
+ wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9614
9700
  }
9615
9701
  /**
9616
9702
  * Whether to compute outline geometry. Only effective at initial load time.
@@ -9638,20 +9724,20 @@ export class PolygonMaterial {
9638
9724
  * @param {number | null} [arg0]
9639
9725
  */
9640
9726
  set reflectivity(arg0) {
9641
- wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9727
+ wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9642
9728
  }
9643
9729
  /**
9644
9730
  * Reflectivity for post-process.
9645
9731
  * @param {number | null} [arg0]
9646
9732
  */
9647
9733
  set roughness(arg0) {
9648
- wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9734
+ wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9649
9735
  }
9650
9736
  /**
9651
9737
  * @param {number | null} [arg0]
9652
9738
  */
9653
9739
  set shininess(arg0) {
9654
- wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9740
+ wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9655
9741
  }
9656
9742
  /**
9657
9743
  * @param {boolean | null} [arg0]
@@ -9663,7 +9749,7 @@ export class PolygonMaterial {
9663
9749
  * @param {number | null} [arg0]
9664
9750
  */
9665
9751
  set specularStrength(arg0) {
9666
- wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9752
+ wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9667
9753
  }
9668
9754
  /**
9669
9755
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -9703,14 +9789,14 @@ export class PolygonMaterial {
9703
9789
  * @param {number | null} [arg0]
9704
9790
  */
9705
9791
  set waterScaleNormal(arg0) {
9706
- wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9792
+ wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9707
9793
  }
9708
9794
  /**
9709
9795
  * Water wave speed.
9710
9796
  * @param {number | null} [arg0]
9711
9797
  */
9712
9798
  set waterSpeed(arg0) {
9713
- wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
9799
+ wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
9714
9800
  }
9715
9801
  /**
9716
9802
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -9730,7 +9816,6 @@ if (Symbol.dispose) PolygonMaterial.prototype[Symbol.dispose] = PolygonMaterial.
9730
9816
 
9731
9817
  export class PolygonMesh {
9732
9818
  static __wrap(ptr) {
9733
- ptr = ptr >>> 0;
9734
9819
  const obj = Object.create(PolygonMesh.prototype);
9735
9820
  obj.__wbg_ptr = ptr;
9736
9821
  PolygonMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -10285,7 +10370,6 @@ if (Symbol.dispose) PolylineGeometryAttributes.prototype[Symbol.dispose] = Polyl
10285
10370
 
10286
10371
  export class PolylineInternalMaterial {
10287
10372
  static __wrap(ptr) {
10288
- ptr = ptr >>> 0;
10289
10373
  const obj = Object.create(PolylineInternalMaterial.prototype);
10290
10374
  obj.__wbg_ptr = ptr;
10291
10375
  PolylineInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -10323,7 +10407,6 @@ if (Symbol.dispose) PolylineInternalMaterial.prototype[Symbol.dispose] = Polylin
10323
10407
 
10324
10408
  export class PolylineMaterial {
10325
10409
  static __wrap(ptr) {
10326
- ptr = ptr >>> 0;
10327
10410
  const obj = Object.create(PolylineMaterial.prototype);
10328
10411
  obj.__wbg_ptr = ptr;
10329
10412
  PolylineMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -10365,7 +10448,7 @@ export class PolylineMaterial {
10365
10448
  */
10366
10449
  get color() {
10367
10450
  const ret = wasm.__wbg_get_polylinematerial_color(this.__wbg_ptr);
10368
- return ret === 0x100000001 ? undefined : ret;
10451
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10369
10452
  }
10370
10453
  /**
10371
10454
  * Enable writing to depth buffer
@@ -10394,7 +10477,7 @@ export class PolylineMaterial {
10394
10477
  */
10395
10478
  get emissiveColor() {
10396
10479
  const ret = wasm.__wbg_get_polylinematerial_emissiveColor(this.__wbg_ptr);
10397
- return ret === 0x100000001 ? undefined : ret;
10480
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10398
10481
  }
10399
10482
  /**
10400
10483
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -10402,14 +10485,14 @@ export class PolylineMaterial {
10402
10485
  */
10403
10486
  get emissiveIntensity() {
10404
10487
  const ret = wasm.__wbg_get_polylinematerial_emissiveIntensity(this.__wbg_ptr);
10405
- return ret === 0x100000001 ? undefined : ret;
10488
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10406
10489
  }
10407
10490
  /**
10408
10491
  * @returns {number | undefined}
10409
10492
  */
10410
10493
  get height() {
10411
10494
  const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
10412
- return ret === 0x100000001 ? undefined : ret;
10495
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10413
10496
  }
10414
10497
  /**
10415
10498
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
@@ -10418,7 +10501,7 @@ export class PolylineMaterial {
10418
10501
  */
10419
10502
  get maxWidth() {
10420
10503
  const ret = wasm.__wbg_get_polylinematerial_maxWidth(this.__wbg_ptr);
10421
- return ret === 0x100000001 ? undefined : ret;
10504
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10422
10505
  }
10423
10506
  /**
10424
10507
  * Opacity value
@@ -10426,7 +10509,7 @@ export class PolylineMaterial {
10426
10509
  */
10427
10510
  get opacity() {
10428
10511
  const ret = wasm.__wbg_get_polylinematerial_opacity(this.__wbg_ptr);
10429
- return ret === 0x100000001 ? undefined : ret;
10512
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10430
10513
  }
10431
10514
  /**
10432
10515
  * @returns {boolean | undefined}
@@ -10467,7 +10550,7 @@ export class PolylineMaterial {
10467
10550
  */
10468
10551
  get width() {
10469
10552
  const ret = wasm.__wbg_get_polylinematerial_width(this.__wbg_ptr);
10470
- return ret === 0x100000001 ? undefined : ret;
10553
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10471
10554
  }
10472
10555
  /**
10473
10556
  * @param {boolean | null} [show]
@@ -10487,8 +10570,8 @@ export class PolylineMaterial {
10487
10570
  _assertClass(__internal__, PolylineInternalMaterial);
10488
10571
  ptr0 = __internal__.__destroy_into_raw();
10489
10572
  }
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;
10573
+ 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);
10574
+ this.__wbg_ptr = ret;
10492
10575
  PolylineMaterialFinalization.register(this, this.__wbg_ptr, this);
10493
10576
  return this;
10494
10577
  }
@@ -10519,7 +10602,7 @@ export class PolylineMaterial {
10519
10602
  * @param {number | null} [arg0]
10520
10603
  */
10521
10604
  set color(arg0) {
10522
- wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
10605
+ wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10523
10606
  }
10524
10607
  /**
10525
10608
  * Enable writing to depth buffer
@@ -10542,20 +10625,20 @@ export class PolylineMaterial {
10542
10625
  * @param {number | null} [arg0]
10543
10626
  */
10544
10627
  set emissiveColor(arg0) {
10545
- wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
10628
+ wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10546
10629
  }
10547
10630
  /**
10548
10631
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
10549
10632
  * @param {number | null} [arg0]
10550
10633
  */
10551
10634
  set emissiveIntensity(arg0) {
10552
- wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
10635
+ wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10553
10636
  }
10554
10637
  /**
10555
10638
  * @param {number | null} [arg0]
10556
10639
  */
10557
10640
  set height(arg0) {
10558
- wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
10641
+ wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10559
10642
  }
10560
10643
  /**
10561
10644
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
@@ -10563,14 +10646,14 @@ export class PolylineMaterial {
10563
10646
  * @param {number | null} [arg0]
10564
10647
  */
10565
10648
  set maxWidth(arg0) {
10566
- wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
10649
+ wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10567
10650
  }
10568
10651
  /**
10569
10652
  * Opacity value
10570
10653
  * @param {number | null} [arg0]
10571
10654
  */
10572
10655
  set opacity(arg0) {
10573
- wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
10656
+ wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10574
10657
  }
10575
10658
  /**
10576
10659
  * @param {boolean | null} [arg0]
@@ -10606,14 +10689,13 @@ export class PolylineMaterial {
10606
10689
  * @param {number | null} [arg0]
10607
10690
  */
10608
10691
  set width(arg0) {
10609
- wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
10692
+ wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
10610
10693
  }
10611
10694
  }
10612
10695
  if (Symbol.dispose) PolylineMaterial.prototype[Symbol.dispose] = PolylineMaterial.prototype.free;
10613
10696
 
10614
10697
  export class PolylineMesh {
10615
10698
  static __wrap(ptr) {
10616
- ptr = ptr >>> 0;
10617
10699
  const obj = Object.create(PolylineMesh.prototype);
10618
10700
  obj.__wbg_ptr = ptr;
10619
10701
  PolylineMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -10741,21 +10823,21 @@ export class QuantizedMeshSourceDescription {
10741
10823
  */
10742
10824
  get maxZoom() {
10743
10825
  const ret = wasm.__wbg_get_quantizedmeshsourcedescription_maxZoom(this.__wbg_ptr);
10744
- return ret === 0x100000001 ? undefined : ret;
10826
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10745
10827
  }
10746
10828
  /**
10747
10829
  * @returns {number | undefined}
10748
10830
  */
10749
10831
  get minZoom() {
10750
10832
  const ret = wasm.__wbg_get_quantizedmeshsourcedescription_minZoom(this.__wbg_ptr);
10751
- return ret === 0x100000001 ? undefined : ret;
10833
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10752
10834
  }
10753
10835
  /**
10754
10836
  * @returns {number | undefined}
10755
10837
  */
10756
10838
  get overscaledMaxZoom() {
10757
10839
  const ret = wasm.__wbg_get_quantizedmeshsourcedescription_overscaledMaxZoom(this.__wbg_ptr);
10758
- return ret === 0x100000001 ? undefined : ret;
10840
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10759
10841
  }
10760
10842
  /**
10761
10843
  * @returns {boolean | undefined}
@@ -10824,19 +10906,19 @@ export class QuantizedMeshSourceDescription {
10824
10906
  * @param {number | null} [arg0]
10825
10907
  */
10826
10908
  set maxZoom(arg0) {
10827
- wasm.__wbg_set_quantizedmeshsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
10909
+ wasm.__wbg_set_quantizedmeshsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10828
10910
  }
10829
10911
  /**
10830
10912
  * @param {number | null} [arg0]
10831
10913
  */
10832
10914
  set minZoom(arg0) {
10833
- wasm.__wbg_set_quantizedmeshsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
10915
+ wasm.__wbg_set_quantizedmeshsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10834
10916
  }
10835
10917
  /**
10836
10918
  * @param {number | null} [arg0]
10837
10919
  */
10838
10920
  set overscaledMaxZoom(arg0) {
10839
- wasm.__wbg_set_quantizedmeshsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
10921
+ wasm.__wbg_set_quantizedmeshsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10840
10922
  }
10841
10923
  /**
10842
10924
  * @param {boolean | null} [arg0]
@@ -10907,28 +10989,28 @@ export class RasterDemSourceDescription {
10907
10989
  */
10908
10990
  get maxZoom() {
10909
10991
  const ret = wasm.__wbg_get_rasterdemsourcedescription_maxZoom(this.__wbg_ptr);
10910
- return ret === 0x100000001 ? undefined : ret;
10992
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10911
10993
  }
10912
10994
  /**
10913
10995
  * @returns {number | undefined}
10914
10996
  */
10915
10997
  get minZoom() {
10916
10998
  const ret = wasm.__wbg_get_rasterdemsourcedescription_minZoom(this.__wbg_ptr);
10917
- return ret === 0x100000001 ? undefined : ret;
10999
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10918
11000
  }
10919
11001
  /**
10920
11002
  * @returns {number | undefined}
10921
11003
  */
10922
11004
  get overscaledMaxZoom() {
10923
11005
  const ret = wasm.__wbg_get_rasterdemsourcedescription_overscaledMaxZoom(this.__wbg_ptr);
10924
- return ret === 0x100000001 ? undefined : ret;
11006
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10925
11007
  }
10926
11008
  /**
10927
11009
  * @returns {number | undefined}
10928
11010
  */
10929
11011
  get tileSize() {
10930
11012
  const ret = wasm.__wbg_get_rasterdemsourcedescription_tileSize(this.__wbg_ptr);
10931
- return ret === 0x100000001 ? undefined : ret;
11013
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
10932
11014
  }
10933
11015
  /**
10934
11016
  * @returns {boolean | undefined}
@@ -10977,25 +11059,25 @@ export class RasterDemSourceDescription {
10977
11059
  * @param {number | null} [arg0]
10978
11060
  */
10979
11061
  set maxZoom(arg0) {
10980
- wasm.__wbg_set_rasterdemsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11062
+ wasm.__wbg_set_rasterdemsourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10981
11063
  }
10982
11064
  /**
10983
11065
  * @param {number | null} [arg0]
10984
11066
  */
10985
11067
  set minZoom(arg0) {
10986
- wasm.__wbg_set_rasterdemsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11068
+ wasm.__wbg_set_rasterdemsourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10987
11069
  }
10988
11070
  /**
10989
11071
  * @param {number | null} [arg0]
10990
11072
  */
10991
11073
  set overscaledMaxZoom(arg0) {
10992
- wasm.__wbg_set_rasterdemsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11074
+ wasm.__wbg_set_rasterdemsourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10993
11075
  }
10994
11076
  /**
10995
11077
  * @param {number | null} [arg0]
10996
11078
  */
10997
11079
  set tileSize(arg0) {
10998
- wasm.__wbg_set_rasterdemsourcedescription_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11080
+ wasm.__wbg_set_rasterdemsourcedescription_tileSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
10999
11081
  }
11000
11082
  /**
11001
11083
  * @param {boolean | null} [arg0]
@@ -11152,7 +11234,6 @@ if (Symbol.dispose) RasterLayerDescription.prototype[Symbol.dispose] = RasterLay
11152
11234
  */
11153
11235
  export class RasterMaterial {
11154
11236
  static __wrap(ptr) {
11155
- ptr = ptr >>> 0;
11156
11237
  const obj = Object.create(RasterMaterial.prototype);
11157
11238
  obj.__wbg_ptr = ptr;
11158
11239
  RasterMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -11173,14 +11254,14 @@ export class RasterMaterial {
11173
11254
  */
11174
11255
  get color() {
11175
11256
  const ret = wasm.__wbg_get_rastermaterial_color(this.__wbg_ptr);
11176
- return ret === 0x100000001 ? undefined : ret;
11257
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
11177
11258
  }
11178
11259
  /**
11179
11260
  * @returns {number | undefined}
11180
11261
  */
11181
11262
  get opacity() {
11182
11263
  const ret = wasm.__wbg_get_rastermaterial_opacity(this.__wbg_ptr);
11183
- return ret === 0x100000001 ? undefined : ret;
11264
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
11184
11265
  }
11185
11266
  /**
11186
11267
  * @returns {boolean | undefined}
@@ -11200,13 +11281,13 @@ export class RasterMaterial {
11200
11281
  * @param {number | null} [arg0]
11201
11282
  */
11202
11283
  set color(arg0) {
11203
- wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11284
+ wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
11204
11285
  }
11205
11286
  /**
11206
11287
  * @param {number | null} [arg0]
11207
11288
  */
11208
11289
  set opacity(arg0) {
11209
- wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
11290
+ wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
11210
11291
  }
11211
11292
  /**
11212
11293
  * @param {boolean | null} [arg0]
@@ -11225,7 +11306,6 @@ if (Symbol.dispose) RasterMaterial.prototype[Symbol.dispose] = RasterMaterial.pr
11225
11306
 
11226
11307
  export class RasterTileInternalMaterial {
11227
11308
  static __wrap(ptr) {
11228
- ptr = ptr >>> 0;
11229
11309
  const obj = Object.create(RasterTileInternalMaterial.prototype);
11230
11310
  obj.__wbg_ptr = ptr;
11231
11311
  RasterTileInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -11712,21 +11792,21 @@ export class RasterTileSourceDescription {
11712
11792
  */
11713
11793
  get maxZoom() {
11714
11794
  const ret = wasm.__wbg_get_rastertilesourcedescription_maxZoom(this.__wbg_ptr);
11715
- return ret === 0x100000001 ? undefined : ret;
11795
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
11716
11796
  }
11717
11797
  /**
11718
11798
  * @returns {number | undefined}
11719
11799
  */
11720
11800
  get minZoom() {
11721
11801
  const ret = wasm.__wbg_get_rastertilesourcedescription_minZoom(this.__wbg_ptr);
11722
- return ret === 0x100000001 ? undefined : ret;
11802
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
11723
11803
  }
11724
11804
  /**
11725
11805
  * @returns {number | undefined}
11726
11806
  */
11727
11807
  get overscaledMaxZoom() {
11728
11808
  const ret = wasm.__wbg_get_rastertilesourcedescription_overscaledMaxZoom(this.__wbg_ptr);
11729
- return ret === 0x100000001 ? undefined : ret;
11809
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
11730
11810
  }
11731
11811
  /**
11732
11812
  * @returns {boolean | undefined}
@@ -11763,19 +11843,19 @@ export class RasterTileSourceDescription {
11763
11843
  * @param {number | null} [arg0]
11764
11844
  */
11765
11845
  set maxZoom(arg0) {
11766
- wasm.__wbg_set_rastertilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11846
+ wasm.__wbg_set_rastertilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
11767
11847
  }
11768
11848
  /**
11769
11849
  * @param {number | null} [arg0]
11770
11850
  */
11771
11851
  set minZoom(arg0) {
11772
- wasm.__wbg_set_rastertilesourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11852
+ wasm.__wbg_set_rastertilesourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
11773
11853
  }
11774
11854
  /**
11775
11855
  * @param {number | null} [arg0]
11776
11856
  */
11777
11857
  set overscaledMaxZoom(arg0) {
11778
- wasm.__wbg_set_rastertilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
11858
+ wasm.__wbg_set_rastertilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
11779
11859
  }
11780
11860
  /**
11781
11861
  * @param {boolean | null} [arg0]
@@ -11813,7 +11893,6 @@ if (Symbol.dispose) RasterTileSourceDescription.prototype[Symbol.dispose] = Rast
11813
11893
  */
11814
11894
  export class RasterTileState {
11815
11895
  static __wrap(ptr) {
11816
- ptr = ptr >>> 0;
11817
11896
  const obj = Object.create(RasterTileState.prototype);
11818
11897
  obj.__wbg_ptr = ptr;
11819
11898
  RasterTileStateFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -11965,7 +12044,7 @@ export class Ray {
11965
12044
  _assertClass(direction, Vec3);
11966
12045
  var ptr1 = direction.__destroy_into_raw();
11967
12046
  const ret = wasm.ray_new(ptr0, ptr1);
11968
- this.__wbg_ptr = ret >>> 0;
12047
+ this.__wbg_ptr = ret;
11969
12048
  RayFinalization.register(this, this.__wbg_ptr, this);
11970
12049
  return this;
11971
12050
  }
@@ -11994,7 +12073,6 @@ if (Symbol.dispose) Ray.prototype[Symbol.dispose] = Ray.prototype.free;
11994
12073
  */
11995
12074
  export class ReconstructableEntity {
11996
12075
  static __wrap(ptr) {
11997
- ptr = ptr >>> 0;
11998
12076
  const obj = Object.create(ReconstructableEntity.prototype);
11999
12077
  obj.__wbg_ptr = ptr;
12000
12078
  ReconstructableEntityFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12028,7 +12106,6 @@ if (Symbol.dispose) ReconstructableEntity.prototype[Symbol.dispose] = Reconstruc
12028
12106
 
12029
12107
  export class RenderableFeature {
12030
12108
  static __wrap(ptr) {
12031
- ptr = ptr >>> 0;
12032
12109
  const obj = Object.create(RenderableFeature.prototype);
12033
12110
  obj.__wbg_ptr = ptr;
12034
12111
  RenderableFeatureFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12157,7 +12234,6 @@ if (Symbol.dispose) RenderableFeature.prototype[Symbol.dispose] = RenderableFeat
12157
12234
 
12158
12235
  export class RenderableFeatureAddedEvent {
12159
12236
  static __wrap(ptr) {
12160
- ptr = ptr >>> 0;
12161
12237
  const obj = Object.create(RenderableFeatureAddedEvent.prototype);
12162
12238
  obj.__wbg_ptr = ptr;
12163
12239
  RenderableFeatureAddedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12273,7 +12349,6 @@ if (Symbol.dispose) RenderableFeatureAddedEvent.prototype[Symbol.dispose] = Rend
12273
12349
 
12274
12350
  export class RenderableFeatureChangedEvent {
12275
12351
  static __wrap(ptr) {
12276
- ptr = ptr >>> 0;
12277
12352
  const obj = Object.create(RenderableFeatureChangedEvent.prototype);
12278
12353
  obj.__wbg_ptr = ptr;
12279
12354
  RenderableFeatureChangedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12389,7 +12464,6 @@ if (Symbol.dispose) RenderableFeatureChangedEvent.prototype[Symbol.dispose] = Re
12389
12464
 
12390
12465
  export class RenderableFeatureRemovedEvent {
12391
12466
  static __wrap(ptr) {
12392
- ptr = ptr >>> 0;
12393
12467
  const obj = Object.create(RenderableFeatureRemovedEvent.prototype);
12394
12468
  obj.__wbg_ptr = ptr;
12395
12469
  RenderableFeatureRemovedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12541,7 +12615,7 @@ export class ReturnedConstructedTerrainMesh {
12541
12615
  ptr2 = rtc_translation.__destroy_into_raw();
12542
12616
  }
12543
12617
  const ret = wasm.returnedconstructedterrainmesh_new(ptr0, max_height, min_height, ptr1, len1, ptr2);
12544
- this.__wbg_ptr = ret >>> 0;
12618
+ this.__wbg_ptr = ret;
12545
12619
  ReturnedConstructedTerrainMeshFinalization.register(this, this.__wbg_ptr, this);
12546
12620
  return this;
12547
12621
  }
@@ -12643,7 +12717,6 @@ if (Symbol.dispose) ReturnedConstructedTerrainMesh.prototype[Symbol.dispose] = R
12643
12717
 
12644
12718
  export class ReturnedTransferablePolygonBatchedFeature {
12645
12719
  static __wrap(ptr) {
12646
- ptr = ptr >>> 0;
12647
12720
  const obj = Object.create(ReturnedTransferablePolygonBatchedFeature.prototype);
12648
12721
  obj.__wbg_ptr = ptr;
12649
12722
  ReturnedTransferablePolygonBatchedFeatureFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12756,7 +12829,6 @@ if (Symbol.dispose) ReturnedTransferablePolygonBatchedFeature.prototype[Symbol.d
12756
12829
 
12757
12830
  export class ReturnedTransferablePolylineBatchedFeature {
12758
12831
  static __wrap(ptr) {
12759
- ptr = ptr >>> 0;
12760
12832
  const obj = Object.create(ReturnedTransferablePolylineBatchedFeature.prototype);
12761
12833
  obj.__wbg_ptr = ptr;
12762
12834
  ReturnedTransferablePolylineBatchedFeatureFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -12896,7 +12968,6 @@ if (Symbol.dispose) SourceDescription.prototype[Symbol.dispose] = SourceDescript
12896
12968
 
12897
12969
  export class TerrainHeightUpdatedEvent {
12898
12970
  static __wrap(ptr) {
12899
- ptr = ptr >>> 0;
12900
12971
  const obj = Object.create(TerrainHeightUpdatedEvent.prototype);
12901
12972
  obj.__wbg_ptr = ptr;
12902
12973
  TerrainHeightUpdatedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -13094,7 +13165,6 @@ if (Symbol.dispose) TerrainLayerDescription.prototype[Symbol.dispose] = TerrainL
13094
13165
  */
13095
13166
  export class TerrainMaterial {
13096
13167
  static __wrap(ptr) {
13097
- ptr = ptr >>> 0;
13098
13168
  const obj = Object.create(TerrainMaterial.prototype);
13099
13169
  obj.__wbg_ptr = ptr;
13100
13170
  TerrainMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -13145,7 +13215,7 @@ export class TerrainMaterial {
13145
13215
  */
13146
13216
  get skirtExaggeration() {
13147
13217
  const ret = wasm.__wbg_get_terrainmaterial_skirtExaggeration(this.__wbg_ptr);
13148
- return ret === 0x100000001 ? undefined : ret;
13218
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13149
13219
  }
13150
13220
  /**
13151
13221
  * Whether to render skirts along tile boundaries to hide gaps.
@@ -13186,7 +13256,7 @@ export class TerrainMaterial {
13186
13256
  * @param {number | null} [arg0]
13187
13257
  */
13188
13258
  set skirtExaggeration(arg0) {
13189
- wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13259
+ wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13190
13260
  }
13191
13261
  /**
13192
13262
  * Whether to render skirts along tile boundaries to hide gaps.
@@ -13288,7 +13358,6 @@ if (Symbol.dispose) TerrainSourceLayerDescription.prototype[Symbol.dispose] = Te
13288
13358
 
13289
13359
  export class TextMaterial {
13290
13360
  static __wrap(ptr) {
13291
- ptr = ptr >>> 0;
13292
13361
  const obj = Object.create(TextMaterial.prototype);
13293
13362
  obj.__wbg_ptr = ptr;
13294
13363
  TextMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -13309,21 +13378,21 @@ export class TextMaterial {
13309
13378
  */
13310
13379
  get backgroundColor() {
13311
13380
  const ret = wasm.__wbg_get_textmaterial_backgroundColor(this.__wbg_ptr);
13312
- return ret === 0x100000001 ? undefined : ret;
13381
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13313
13382
  }
13314
13383
  /**
13315
13384
  * @returns {number | undefined}
13316
13385
  */
13317
13386
  get borderColor() {
13318
13387
  const ret = wasm.__wbg_get_textmaterial_borderColor(this.__wbg_ptr);
13319
- return ret === 0x100000001 ? undefined : ret;
13388
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13320
13389
  }
13321
13390
  /**
13322
13391
  * @returns {number | undefined}
13323
13392
  */
13324
13393
  get borderWidth() {
13325
13394
  const ret = wasm.__wbg_get_textmaterial_borderWidth(this.__wbg_ptr);
13326
- return ret === 0x100000001 ? undefined : ret;
13395
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13327
13396
  }
13328
13397
  /**
13329
13398
  * @returns {Vec2 | undefined}
@@ -13344,7 +13413,26 @@ export class TextMaterial {
13344
13413
  */
13345
13414
  get color() {
13346
13415
  const ret = wasm.__wbg_get_textmaterial_color(this.__wbg_ptr);
13347
- return ret === 0x100000001 ? undefined : ret;
13416
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13417
+ }
13418
+ /**
13419
+ * Placement priority for decluttering; higher wins. Only meaningful when
13420
+ * `declutter` is enabled. Defaults to `0.0`.
13421
+ * @returns {number | undefined}
13422
+ */
13423
+ get declutterPriority() {
13424
+ const ret = wasm.__wbg_get_textmaterial_declutterPriority(this.__wbg_ptr);
13425
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13426
+ }
13427
+ /**
13428
+ * Participate in screen-space decluttering: when labels/sprites overlap
13429
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
13430
+ * `false` to draw every label unconditionally.
13431
+ * @returns {boolean | undefined}
13432
+ */
13433
+ get declutter() {
13434
+ const ret = wasm.__wbg_get_textmaterial_declutter(this.__wbg_ptr);
13435
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
13348
13436
  }
13349
13437
  /**
13350
13438
  * @returns {boolean | undefined}
@@ -13383,7 +13471,7 @@ export class TextMaterial {
13383
13471
  */
13384
13472
  get height() {
13385
13473
  const ret = wasm.__wbg_get_textmaterial_height(this.__wbg_ptr);
13386
- return ret === 0x100000001 ? undefined : ret;
13474
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13387
13475
  }
13388
13476
  /**
13389
13477
  * Enable high-quality glyph rendering. When `true`, text uses an MTSDF
@@ -13417,7 +13505,7 @@ export class TextMaterial {
13417
13505
  */
13418
13506
  get lineHeight() {
13419
13507
  const ret = wasm.__wbg_get_textmaterial_lineHeight(this.__wbg_ptr);
13420
- return ret === 0x100000001 ? undefined : ret;
13508
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13421
13509
  }
13422
13510
  /**
13423
13511
  * Maximum line width in ems (multiples of `size`) before text wraps at
@@ -13427,7 +13515,7 @@ export class TextMaterial {
13427
13515
  */
13428
13516
  get maxWidth() {
13429
13517
  const ret = wasm.__wbg_get_textmaterial_maxWidth(this.__wbg_ptr);
13430
- return ret === 0x100000001 ? undefined : ret;
13518
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13431
13519
  }
13432
13520
  /**
13433
13521
  * Avoid overlapping with the globe surface.
@@ -13443,7 +13531,7 @@ export class TextMaterial {
13443
13531
  */
13444
13532
  get opacity() {
13445
13533
  const ret = wasm.__wbg_get_textmaterial_opacity(this.__wbg_ptr);
13446
- return ret === 0x100000001 ? undefined : ret;
13534
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13447
13535
  }
13448
13536
  /**
13449
13537
  * Outline blur radius in CSS pixels. Defaults to `0.0`.
@@ -13451,7 +13539,7 @@ export class TextMaterial {
13451
13539
  */
13452
13540
  get outlineColor() {
13453
13541
  const ret = wasm.__wbg_get_textmaterial_outlineColor(this.__wbg_ptr);
13454
- return ret === 0x100000001 ? undefined : ret;
13542
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13455
13543
  }
13456
13544
  /**
13457
13545
  * Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
@@ -13459,7 +13547,7 @@ export class TextMaterial {
13459
13547
  */
13460
13548
  get outlineOpacity() {
13461
13549
  const ret = wasm.__wbg_get_textmaterial_outlineOpacity(this.__wbg_ptr);
13462
- return ret === 0x100000001 ? undefined : ret;
13550
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13463
13551
  }
13464
13552
  /**
13465
13553
  * Outline thickness measured in CSS pixels. Defaults to `0.0`.
@@ -13467,7 +13555,7 @@ export class TextMaterial {
13467
13555
  */
13468
13556
  get outlineWidth() {
13469
13557
  const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
13470
- return ret === 0x100000001 ? undefined : ret;
13558
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13471
13559
  }
13472
13560
  /**
13473
13561
  * @returns {boolean | undefined}
@@ -13490,7 +13578,7 @@ export class TextMaterial {
13490
13578
  */
13491
13579
  get size() {
13492
13580
  const ret = wasm.__wbg_get_textmaterial_size(this.__wbg_ptr);
13493
- return ret === 0x100000001 ? undefined : ret;
13581
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
13494
13582
  }
13495
13583
  /**
13496
13584
  * Horizontal alignment of lines within a multi-line block:
@@ -13530,19 +13618,19 @@ export class TextMaterial {
13530
13618
  * @param {number | null} [arg0]
13531
13619
  */
13532
13620
  set backgroundColor(arg0) {
13533
- wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
13621
+ wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
13534
13622
  }
13535
13623
  /**
13536
13624
  * @param {number | null} [arg0]
13537
13625
  */
13538
13626
  set borderColor(arg0) {
13539
- wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
13627
+ wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
13540
13628
  }
13541
13629
  /**
13542
13630
  * @param {number | null} [arg0]
13543
13631
  */
13544
13632
  set borderWidth(arg0) {
13545
- wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13633
+ wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13546
13634
  }
13547
13635
  /**
13548
13636
  * @param {Vec2 | null} [arg0]
@@ -13565,7 +13653,24 @@ export class TextMaterial {
13565
13653
  * @param {number | null} [arg0]
13566
13654
  */
13567
13655
  set color(arg0) {
13568
- wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
13656
+ wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
13657
+ }
13658
+ /**
13659
+ * Placement priority for decluttering; higher wins. Only meaningful when
13660
+ * `declutter` is enabled. Defaults to `0.0`.
13661
+ * @param {number | null} [arg0]
13662
+ */
13663
+ set declutterPriority(arg0) {
13664
+ wasm.__wbg_set_textmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13665
+ }
13666
+ /**
13667
+ * Participate in screen-space decluttering: when labels/sprites overlap
13668
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
13669
+ * `false` to draw every label unconditionally.
13670
+ * @param {boolean | null} [arg0]
13671
+ */
13672
+ set declutter(arg0) {
13673
+ wasm.__wbg_set_textmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
13569
13674
  }
13570
13675
  /**
13571
13676
  * @param {boolean | null} [arg0]
@@ -13598,7 +13703,7 @@ export class TextMaterial {
13598
13703
  * @param {number | null} [arg0]
13599
13704
  */
13600
13705
  set height(arg0) {
13601
- wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13706
+ wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13602
13707
  }
13603
13708
  /**
13604
13709
  * Enable high-quality glyph rendering. When `true`, text uses an MTSDF
@@ -13626,7 +13731,7 @@ export class TextMaterial {
13626
13731
  * @param {number | null} [arg0]
13627
13732
  */
13628
13733
  set lineHeight(arg0) {
13629
- wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13734
+ wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13630
13735
  }
13631
13736
  /**
13632
13737
  * Maximum line width in ems (multiples of `size`) before text wraps at
@@ -13635,7 +13740,7 @@ export class TextMaterial {
13635
13740
  * @param {number | null} [arg0]
13636
13741
  */
13637
13742
  set maxWidth(arg0) {
13638
- wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13743
+ wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13639
13744
  }
13640
13745
  /**
13641
13746
  * Avoid overlapping with the globe surface.
@@ -13649,28 +13754,28 @@ export class TextMaterial {
13649
13754
  * @param {number | null} [arg0]
13650
13755
  */
13651
13756
  set opacity(arg0) {
13652
- wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13757
+ wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13653
13758
  }
13654
13759
  /**
13655
13760
  * Outline blur radius in CSS pixels. Defaults to `0.0`.
13656
13761
  * @param {number | null} [arg0]
13657
13762
  */
13658
13763
  set outlineColor(arg0) {
13659
- wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
13764
+ wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
13660
13765
  }
13661
13766
  /**
13662
13767
  * Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
13663
13768
  * @param {number | null} [arg0]
13664
13769
  */
13665
13770
  set outlineOpacity(arg0) {
13666
- wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13771
+ wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13667
13772
  }
13668
13773
  /**
13669
13774
  * Outline thickness measured in CSS pixels. Defaults to `0.0`.
13670
13775
  * @param {number | null} [arg0]
13671
13776
  */
13672
13777
  set outlineWidth(arg0) {
13673
- wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13778
+ wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13674
13779
  }
13675
13780
  /**
13676
13781
  * @param {boolean | null} [arg0]
@@ -13690,7 +13795,7 @@ export class TextMaterial {
13690
13795
  * @param {number | null} [arg0]
13691
13796
  */
13692
13797
  set size(arg0) {
13693
- wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
13798
+ wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
13694
13799
  }
13695
13800
  /**
13696
13801
  * Horizontal alignment of lines within a multi-line block:
@@ -13722,7 +13827,6 @@ if (Symbol.dispose) TextMaterial.prototype[Symbol.dispose] = TextMaterial.protot
13722
13827
 
13723
13828
  export class TextMesh {
13724
13829
  static __wrap(ptr) {
13725
- ptr = ptr >>> 0;
13726
13830
  const obj = Object.create(TextMesh.prototype);
13727
13831
  obj.__wbg_ptr = ptr;
13728
13832
  TextMeshFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -13814,7 +13918,6 @@ if (Symbol.dispose) TextMesh.prototype[Symbol.dispose] = TextMesh.prototype.free
13814
13918
 
13815
13919
  export class TextureFragment {
13816
13920
  static __wrap(ptr) {
13817
- ptr = ptr >>> 0;
13818
13921
  const obj = Object.create(TextureFragment.prototype);
13819
13922
  obj.__wbg_ptr = ptr;
13820
13923
  TextureFragmentFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -13861,7 +13964,6 @@ if (Symbol.dispose) TextureFragment.prototype[Symbol.dispose] = TextureFragment.
13861
13964
 
13862
13965
  export class TextureFragmentRequestedEvent {
13863
13966
  static __wrap(ptr) {
13864
- ptr = ptr >>> 0;
13865
13967
  const obj = Object.create(TextureFragmentRequestedEvent.prototype);
13866
13968
  obj.__wbg_ptr = ptr;
13867
13969
  TextureFragmentRequestedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14067,7 +14169,6 @@ if (Symbol.dispose) TileLayerDescription.prototype[Symbol.dispose] = TileLayerDe
14067
14169
 
14068
14170
  export class TileUvTransform {
14069
14171
  static __wrap(ptr) {
14070
- ptr = ptr >>> 0;
14071
14172
  const obj = Object.create(TileUvTransform.prototype);
14072
14173
  obj.__wbg_ptr = ptr;
14073
14174
  TileUvTransformFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14118,7 +14219,6 @@ if (Symbol.dispose) TileUvTransform.prototype[Symbol.dispose] = TileUvTransform.
14118
14219
 
14119
14220
  export class TileXYZ {
14120
14221
  static __wrap(ptr) {
14121
- ptr = ptr >>> 0;
14122
14222
  const obj = Object.create(TileXYZ.prototype);
14123
14223
  obj.__wbg_ptr = ptr;
14124
14224
  TileXYZFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14180,7 +14280,7 @@ export class TileXYZ {
14180
14280
  */
14181
14281
  constructor(x, y, z) {
14182
14282
  const ret = wasm.tilexyz_new(x, y, z);
14183
- this.__wbg_ptr = ret >>> 0;
14283
+ this.__wbg_ptr = ret;
14184
14284
  TileXYZFinalization.register(this, this.__wbg_ptr, this);
14185
14285
  return this;
14186
14286
  }
@@ -14339,7 +14439,6 @@ if (Symbol.dispose) Tiles3dSourceDescription.prototype[Symbol.dispose] = Tiles3d
14339
14439
 
14340
14440
  export class TransferableFloatAttribute {
14341
14441
  static __wrap(ptr) {
14342
- ptr = ptr >>> 0;
14343
14442
  const obj = Object.create(TransferableFloatAttribute.prototype);
14344
14443
  obj.__wbg_ptr = ptr;
14345
14444
  TransferableFloatAttributeFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14387,7 +14486,7 @@ export class TransferableFloatAttribute {
14387
14486
  */
14388
14487
  constructor(data, size) {
14389
14488
  const ret = wasm.transferablefloatattribute_new(data, size);
14390
- this.__wbg_ptr = ret >>> 0;
14489
+ this.__wbg_ptr = ret;
14391
14490
  TransferableFloatAttributeFinalization.register(this, this.__wbg_ptr, this);
14392
14491
  return this;
14393
14492
  }
@@ -14396,7 +14495,6 @@ if (Symbol.dispose) TransferableFloatAttribute.prototype[Symbol.dispose] = Trans
14396
14495
 
14397
14496
  export class TransferableGeometry {
14398
14497
  static __wrap(ptr) {
14399
- ptr = ptr >>> 0;
14400
14498
  const obj = Object.create(TransferableGeometry.prototype);
14401
14499
  obj.__wbg_ptr = ptr;
14402
14500
  TransferableGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14424,35 +14522,35 @@ export class TransferableGeometry {
14424
14522
  */
14425
14523
  get normals() {
14426
14524
  const ret = wasm.__wbg_get_transferablegeometry_normals(this.__wbg_ptr);
14427
- return ret === 0x100000001 ? undefined : ret;
14525
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
14428
14526
  }
14429
14527
  /**
14430
14528
  * @returns {number | undefined}
14431
14529
  */
14432
14530
  get skirt_indices() {
14433
14531
  const ret = wasm.__wbg_get_transferablegeometry_skirt_indices(this.__wbg_ptr);
14434
- return ret === 0x100000001 ? undefined : ret;
14532
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
14435
14533
  }
14436
14534
  /**
14437
14535
  * @returns {number | undefined}
14438
14536
  */
14439
14537
  get skirt_normals() {
14440
14538
  const ret = wasm.__wbg_get_transferablegeometry_skirt_normals(this.__wbg_ptr);
14441
- return ret === 0x100000001 ? undefined : ret;
14539
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
14442
14540
  }
14443
14541
  /**
14444
14542
  * @returns {number | undefined}
14445
14543
  */
14446
14544
  get skirt_uvs() {
14447
14545
  const ret = wasm.__wbg_get_transferablegeometry_skirt_uvs(this.__wbg_ptr);
14448
- return ret === 0x100000001 ? undefined : ret;
14546
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
14449
14547
  }
14450
14548
  /**
14451
14549
  * @returns {number | undefined}
14452
14550
  */
14453
14551
  get skirt_vertices() {
14454
14552
  const ret = wasm.__wbg_get_transferablegeometry_skirt_vertices(this.__wbg_ptr);
14455
- return ret === 0x100000001 ? undefined : ret;
14553
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
14456
14554
  }
14457
14555
  /**
14458
14556
  * @returns {number}
@@ -14478,31 +14576,31 @@ export class TransferableGeometry {
14478
14576
  * @param {number | null} [arg0]
14479
14577
  */
14480
14578
  set normals(arg0) {
14481
- wasm.__wbg_set_transferablegeometry_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
14579
+ wasm.__wbg_set_transferablegeometry_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
14482
14580
  }
14483
14581
  /**
14484
14582
  * @param {number | null} [arg0]
14485
14583
  */
14486
14584
  set skirt_indices(arg0) {
14487
- wasm.__wbg_set_transferablegeometry_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
14585
+ wasm.__wbg_set_transferablegeometry_skirt_indices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
14488
14586
  }
14489
14587
  /**
14490
14588
  * @param {number | null} [arg0]
14491
14589
  */
14492
14590
  set skirt_normals(arg0) {
14493
- wasm.__wbg_set_transferablegeometry_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
14591
+ wasm.__wbg_set_transferablegeometry_skirt_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
14494
14592
  }
14495
14593
  /**
14496
14594
  * @param {number | null} [arg0]
14497
14595
  */
14498
14596
  set skirt_uvs(arg0) {
14499
- wasm.__wbg_set_transferablegeometry_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
14597
+ wasm.__wbg_set_transferablegeometry_skirt_uvs(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
14500
14598
  }
14501
14599
  /**
14502
14600
  * @param {number | null} [arg0]
14503
14601
  */
14504
14602
  set skirt_vertices(arg0) {
14505
- wasm.__wbg_set_transferablegeometry_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
14603
+ wasm.__wbg_set_transferablegeometry_skirt_vertices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
14506
14604
  }
14507
14605
  /**
14508
14606
  * @param {number} arg0
@@ -14523,7 +14621,7 @@ export class TransferableGeometry {
14523
14621
  */
14524
14622
  constructor(vertices, uvs, indices) {
14525
14623
  const ret = wasm.transferablegeometry_new(vertices, uvs, indices);
14526
- this.__wbg_ptr = ret >>> 0;
14624
+ this.__wbg_ptr = ret;
14527
14625
  TransferableGeometryFinalization.register(this, this.__wbg_ptr, this);
14528
14626
  return this;
14529
14627
  }
@@ -14576,7 +14674,6 @@ if (Symbol.dispose) TransferableHoles.prototype[Symbol.dispose] = TransferableHo
14576
14674
 
14577
14675
  export class TransferableMartini {
14578
14676
  static __wrap(ptr) {
14579
- ptr = ptr >>> 0;
14580
14677
  const obj = Object.create(TransferableMartini.prototype);
14581
14678
  obj.__wbg_ptr = ptr;
14582
14679
  TransferableMartiniFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14621,7 +14718,7 @@ export class TransferableMartini {
14621
14718
  const ptr0 = passArray32ToWasm0(coords, wasm.__wbindgen_malloc);
14622
14719
  const len0 = WASM_VECTOR_LEN;
14623
14720
  const ret = wasm.transferablemartini_new(size, ptr0, len0);
14624
- this.__wbg_ptr = ret >>> 0;
14721
+ this.__wbg_ptr = ret;
14625
14722
  TransferableMartiniFinalization.register(this, this.__wbg_ptr, this);
14626
14723
  return this;
14627
14724
  }
@@ -14637,7 +14734,6 @@ if (Symbol.dispose) TransferableMartini.prototype[Symbol.dispose] = Transferable
14637
14734
 
14638
14735
  export class TransferableModelGeometry {
14639
14736
  static __wrap(ptr) {
14640
- ptr = ptr >>> 0;
14641
14737
  const obj = Object.create(TransferableModelGeometry.prototype);
14642
14738
  obj.__wbg_ptr = ptr;
14643
14739
  TransferableModelGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14736,7 +14832,6 @@ if (Symbol.dispose) TransferableParsedMvtResult.prototype[Symbol.dispose] = Tran
14736
14832
 
14737
14833
  export class TransferablePointGeometry {
14738
14834
  static __wrap(ptr) {
14739
- ptr = ptr >>> 0;
14740
14835
  const obj = Object.create(TransferablePointGeometry.prototype);
14741
14836
  obj.__wbg_ptr = ptr;
14742
14837
  TransferablePointGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -14885,7 +14980,7 @@ export class TransferablePolygonBatchedFeature {
14885
14980
  */
14886
14981
  constructor(crs, length) {
14887
14982
  const ret = wasm.transferablepolygonbatchedfeature_constructor(crs, length);
14888
- this.__wbg_ptr = ret >>> 0;
14983
+ this.__wbg_ptr = ret;
14889
14984
  TransferablePolygonBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
14890
14985
  return this;
14891
14986
  }
@@ -15020,7 +15115,6 @@ if (Symbol.dispose) TransferablePolygonBatchedFeature.prototype[Symbol.dispose]
15020
15115
 
15021
15116
  export class TransferablePolygonGeometry {
15022
15117
  static __wrap(ptr) {
15023
- ptr = ptr >>> 0;
15024
15118
  const obj = Object.create(TransferablePolygonGeometry.prototype);
15025
15119
  obj.__wbg_ptr = ptr;
15026
15120
  TransferablePolygonGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -15222,7 +15316,7 @@ export class TransferablePolygonGeometry {
15222
15316
  ptr6 = batch_index.__destroy_into_raw();
15223
15317
  }
15224
15318
  const ret = wasm.transferablepolygongeometry_new(ptr0, ptr1, ptr2, ptr3, ptr4, ptr5, ptr6, indices);
15225
- this.__wbg_ptr = ret >>> 0;
15319
+ this.__wbg_ptr = ret;
15226
15320
  TransferablePolygonGeometryFinalization.register(this, this.__wbg_ptr, this);
15227
15321
  return this;
15228
15322
  }
@@ -15231,7 +15325,6 @@ if (Symbol.dispose) TransferablePolygonGeometry.prototype[Symbol.dispose] = Tran
15231
15325
 
15232
15326
  export class TransferablePolygonOutlineGeometry {
15233
15327
  static __wrap(ptr) {
15234
- ptr = ptr >>> 0;
15235
15328
  const obj = Object.create(TransferablePolygonOutlineGeometry.prototype);
15236
15329
  obj.__wbg_ptr = ptr;
15237
15330
  TransferablePolygonOutlineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -15273,7 +15366,7 @@ export class TransferablePolygonOutlineGeometry {
15273
15366
  */
15274
15367
  get skip_indices() {
15275
15368
  const ret = wasm.__wbg_get_transferablepolygonoutlinegeometry_skip_indices(this.__wbg_ptr);
15276
- return ret === 0x100000001 ? undefined : ret;
15369
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
15277
15370
  }
15278
15371
  /**
15279
15372
  * @param {TransferableFloatAttribute | null} [arg0]
@@ -15312,7 +15405,7 @@ export class TransferablePolygonOutlineGeometry {
15312
15405
  * @param {number | null} [arg0]
15313
15406
  */
15314
15407
  set skip_indices(arg0) {
15315
- wasm.__wbg_set_transferablepolygonoutlinegeometry_skip_indices(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
15408
+ wasm.__wbg_set_transferablepolygonoutlinegeometry_skip_indices(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
15316
15409
  }
15317
15410
  /**
15318
15411
  * @param {TransferableFloatAttribute | null} [position]
@@ -15336,8 +15429,8 @@ export class TransferablePolygonOutlineGeometry {
15336
15429
  _assertClass(batch_index, TransferableFloatAttribute);
15337
15430
  ptr2 = batch_index.__destroy_into_raw();
15338
15431
  }
15339
- const ret = wasm.transferablepolygonoutlinegeometry_new(ptr0, ptr1, isLikeNone(skip_indices) ? 0x100000001 : (skip_indices) >> 0, ptr2);
15340
- this.__wbg_ptr = ret >>> 0;
15432
+ const ret = wasm.transferablepolygonoutlinegeometry_new(ptr0, ptr1, isLikeNone(skip_indices) ? Number.MAX_SAFE_INTEGER : (skip_indices) >> 0, ptr2);
15433
+ this.__wbg_ptr = ret;
15341
15434
  TransferablePolygonOutlineGeometryFinalization.register(this, this.__wbg_ptr, this);
15342
15435
  return this;
15343
15436
  }
@@ -15390,7 +15483,7 @@ export class TransferablePolylineBatchedFeature {
15390
15483
  */
15391
15484
  constructor(crs, length) {
15392
15485
  const ret = wasm.transferablepolylinebatchedfeature_constructor(crs, length);
15393
- this.__wbg_ptr = ret >>> 0;
15486
+ this.__wbg_ptr = ret;
15394
15487
  TransferablePolylineBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
15395
15488
  return this;
15396
15489
  }
@@ -15455,7 +15548,6 @@ if (Symbol.dispose) TransferablePolylineBatchedFeature.prototype[Symbol.dispose]
15455
15548
 
15456
15549
  export class TransferablePolylineGeometry {
15457
15550
  static __wrap(ptr) {
15458
- ptr = ptr >>> 0;
15459
15551
  const obj = Object.create(TransferablePolylineGeometry.prototype);
15460
15552
  obj.__wbg_ptr = ptr;
15461
15553
  TransferablePolylineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -15813,7 +15905,7 @@ export class TransferablePolylineGeometry {
15813
15905
  ptr13 = batch_index.__destroy_into_raw();
15814
15906
  }
15815
15907
  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;
15908
+ this.__wbg_ptr = ret;
15817
15909
  TransferablePolylineGeometryFinalization.register(this, this.__wbg_ptr, this);
15818
15910
  return this;
15819
15911
  }
@@ -15853,7 +15945,7 @@ export class TransferableRasterDEMData {
15853
15945
  _assertClass(decoder, ElevationDecoder);
15854
15946
  var ptr0 = decoder.__destroy_into_raw();
15855
15947
  const ret = wasm.transferablerasterdemdata_new(ptr0);
15856
- this.__wbg_ptr = ret >>> 0;
15948
+ this.__wbg_ptr = ret;
15857
15949
  TransferableRasterDEMDataFinalization.register(this, this.__wbg_ptr, this);
15858
15950
  return this;
15859
15951
  }
@@ -15862,7 +15954,6 @@ if (Symbol.dispose) TransferableRasterDEMData.prototype[Symbol.dispose] = Transf
15862
15954
 
15863
15955
  export class TransferableTile {
15864
15956
  static __wrap(ptr) {
15865
- ptr = ptr >>> 0;
15866
15957
  const obj = Object.create(TransferableTile.prototype);
15867
15958
  obj.__wbg_ptr = ptr;
15868
15959
  TransferableTileFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -15952,7 +16043,7 @@ export class TransferableTile {
15952
16043
  ptr1 = cached_mesh_handle.__destroy_into_raw();
15953
16044
  }
15954
16045
  const ret = wasm.transferabletile_new(ptr0, max_height, min_height, ptr1);
15955
- this.__wbg_ptr = ret >>> 0;
16046
+ this.__wbg_ptr = ret;
15956
16047
  TransferableTileFinalization.register(this, this.__wbg_ptr, this);
15957
16048
  return this;
15958
16049
  }
@@ -15961,7 +16052,6 @@ if (Symbol.dispose) TransferableTile.prototype[Symbol.dispose] = TransferableTil
15961
16052
 
15962
16053
  export class TransferableUintAttribute {
15963
16054
  static __wrap(ptr) {
15964
- ptr = ptr >>> 0;
15965
16055
  const obj = Object.create(TransferableUintAttribute.prototype);
15966
16056
  obj.__wbg_ptr = ptr;
15967
16057
  TransferableUintAttributeFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -16009,7 +16099,7 @@ export class TransferableUintAttribute {
16009
16099
  */
16010
16100
  constructor(data, size) {
16011
16101
  const ret = wasm.transferableuintattribute_new(data, size);
16012
- this.__wbg_ptr = ret >>> 0;
16102
+ this.__wbg_ptr = ret;
16013
16103
  TransferableUintAttributeFinalization.register(this, this.__wbg_ptr, this);
16014
16104
  return this;
16015
16105
  }
@@ -16018,7 +16108,6 @@ if (Symbol.dispose) TransferableUintAttribute.prototype[Symbol.dispose] = Transf
16018
16108
 
16019
16109
  export class Transform {
16020
16110
  static __wrap(ptr) {
16021
- ptr = ptr >>> 0;
16022
16111
  const obj = Object.create(Transform.prototype);
16023
16112
  obj.__wbg_ptr = ptr;
16024
16113
  TransformFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -16178,7 +16267,7 @@ export class Transform {
16178
16267
  */
16179
16268
  constructor(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz) {
16180
16269
  const ret = wasm.transform_new(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz);
16181
- this.__wbg_ptr = ret >>> 0;
16270
+ this.__wbg_ptr = ret;
16182
16271
  TransformFinalization.register(this, this.__wbg_ptr, this);
16183
16272
  return this;
16184
16273
  }
@@ -16217,7 +16306,7 @@ export class UintAttribute {
16217
16306
  const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
16218
16307
  const len0 = WASM_VECTOR_LEN;
16219
16308
  const ret = wasm.uintattribute_new(ptr0, len0, size);
16220
- this.__wbg_ptr = ret >>> 0;
16309
+ this.__wbg_ptr = ret;
16221
16310
  UintAttributeFinalization.register(this, this.__wbg_ptr, this);
16222
16311
  return this;
16223
16312
  }
@@ -16261,7 +16350,7 @@ export class UpsamplableTerrainGeometry {
16261
16350
  var ptr4 = isLikeNone(watermask) ? 0 : passArray8ToWasm0(watermask, wasm.__wbindgen_malloc);
16262
16351
  var len4 = WASM_VECTOR_LEN;
16263
16352
  const ret = wasm.upsamplableterraingeometry_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
16264
- this.__wbg_ptr = ret >>> 0;
16353
+ this.__wbg_ptr = ret;
16265
16354
  UpsamplableTerrainGeometryFinalization.register(this, this.__wbg_ptr, this);
16266
16355
  return this;
16267
16356
  }
@@ -16270,7 +16359,6 @@ if (Symbol.dispose) UpsamplableTerrainGeometry.prototype[Symbol.dispose] = Upsam
16270
16359
 
16271
16360
  export class UpsampleTerrainMeshParameters {
16272
16361
  static __wrap(ptr) {
16273
- ptr = ptr >>> 0;
16274
16362
  const obj = Object.create(UpsampleTerrainMeshParameters.prototype);
16275
16363
  obj.__wbg_ptr = ptr;
16276
16364
  UpsampleTerrainMeshParametersFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -16375,7 +16463,7 @@ export class UpsampleTerrainMeshParameters {
16375
16463
  */
16376
16464
  constructor(tile_handle, skirt, skirt_exaggeration) {
16377
16465
  const ret = wasm.upsampleterrainmeshparameters_new(tile_handle, skirt, skirt_exaggeration);
16378
- this.__wbg_ptr = ret >>> 0;
16466
+ this.__wbg_ptr = ret;
16379
16467
  UpsampleTerrainMeshParametersFinalization.register(this, this.__wbg_ptr, this);
16380
16468
  return this;
16381
16469
  }
@@ -16384,7 +16472,6 @@ if (Symbol.dispose) UpsampleTerrainMeshParameters.prototype[Symbol.dispose] = Up
16384
16472
 
16385
16473
  export class UpsampleTerrainMeshResult {
16386
16474
  static __wrap(ptr) {
16387
- ptr = ptr >>> 0;
16388
16475
  const obj = Object.create(UpsampleTerrainMeshResult.prototype);
16389
16476
  obj.__wbg_ptr = ptr;
16390
16477
  UpsampleTerrainMeshResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -16440,7 +16527,7 @@ export class UpsampleTerrainMeshResult {
16440
16527
  */
16441
16528
  get watermask() {
16442
16529
  const ret = wasm.__wbg_get_upsampleterrainmeshresult_watermask(this.__wbg_ptr);
16443
- return ret === 0x100000001 ? undefined : ret;
16530
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
16444
16531
  }
16445
16532
  /**
16446
16533
  * @param {TransferableGeometry} arg0
@@ -16483,7 +16570,7 @@ export class UpsampleTerrainMeshResult {
16483
16570
  * @param {number | null} [arg0]
16484
16571
  */
16485
16572
  set watermask(arg0) {
16486
- wasm.__wbg_set_upsampleterrainmeshresult_watermask(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
16573
+ wasm.__wbg_set_upsampleterrainmeshresult_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
16487
16574
  }
16488
16575
  /**
16489
16576
  * @param {TransferableGeometry} geometry
@@ -16501,7 +16588,7 @@ export class UpsampleTerrainMeshResult {
16501
16588
  ptr1 = rtc_translation.__destroy_into_raw();
16502
16589
  }
16503
16590
  const ret = wasm.upsampleterrainmeshresult_new(ptr0, heights, min_height, max_height, ptr1);
16504
- this.__wbg_ptr = ret >>> 0;
16591
+ this.__wbg_ptr = ret;
16505
16592
  UpsampleTerrainMeshResultFinalization.register(this, this.__wbg_ptr, this);
16506
16593
  return this;
16507
16594
  }
@@ -16510,7 +16597,6 @@ if (Symbol.dispose) UpsampleTerrainMeshResult.prototype[Symbol.dispose] = Upsamp
16510
16597
 
16511
16598
  export class Vec2 {
16512
16599
  static __wrap(ptr) {
16513
- ptr = ptr >>> 0;
16514
16600
  const obj = Object.create(Vec2.prototype);
16515
16601
  obj.__wbg_ptr = ptr;
16516
16602
  Vec2Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -16558,7 +16644,7 @@ export class Vec2 {
16558
16644
  */
16559
16645
  constructor(x, y) {
16560
16646
  const ret = wasm.vec2_new(x, y);
16561
- this.__wbg_ptr = ret >>> 0;
16647
+ this.__wbg_ptr = ret;
16562
16648
  Vec2Finalization.register(this, this.__wbg_ptr, this);
16563
16649
  return this;
16564
16650
  }
@@ -16567,7 +16653,6 @@ if (Symbol.dispose) Vec2.prototype[Symbol.dispose] = Vec2.prototype.free;
16567
16653
 
16568
16654
  export class Vec3 {
16569
16655
  static __wrap(ptr) {
16570
- ptr = ptr >>> 0;
16571
16656
  const obj = Object.create(Vec3.prototype);
16572
16657
  obj.__wbg_ptr = ptr;
16573
16658
  Vec3Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -16629,7 +16714,7 @@ export class Vec3 {
16629
16714
  */
16630
16715
  constructor(x, y, z) {
16631
16716
  const ret = wasm.vec3_new(x, y, z);
16632
- this.__wbg_ptr = ret >>> 0;
16717
+ this.__wbg_ptr = ret;
16633
16718
  Vec3Finalization.register(this, this.__wbg_ptr, this);
16634
16719
  return this;
16635
16720
  }
@@ -16833,26 +16918,42 @@ export class VectorTileSourceDescription {
16833
16918
  }
16834
16919
  return v1;
16835
16920
  }
16921
+ /**
16922
+ * Per-layer horizon dynamic-SSE relaxation strength (`0.0` off … `1.0`
16923
+ * raster-equivalent). Omit for a content-based default.
16924
+ * @returns {number | undefined}
16925
+ */
16926
+ get dynamicSseScale() {
16927
+ const ret = wasm.__wbg_get_vectortilesourcedescription_dynamicSseScale(this.__wbg_ptr);
16928
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
16929
+ }
16836
16930
  /**
16837
16931
  * @returns {number | undefined}
16838
16932
  */
16839
16933
  get maxSse() {
16840
16934
  const ret = wasm.__wbg_get_vectortilesourcedescription_maxSse(this.__wbg_ptr);
16841
- return ret === 0x100000001 ? undefined : ret;
16935
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
16842
16936
  }
16843
16937
  /**
16844
16938
  * @returns {number | undefined}
16845
16939
  */
16846
16940
  get maxZoom() {
16847
16941
  const ret = wasm.__wbg_get_vectortilesourcedescription_maxZoom(this.__wbg_ptr);
16848
- return ret === 0x100000001 ? undefined : ret;
16942
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
16943
+ }
16944
+ /**
16945
+ * @returns {number | undefined}
16946
+ */
16947
+ get minZoom() {
16948
+ const ret = wasm.__wbg_get_vectortilesourcedescription_minZoom(this.__wbg_ptr);
16949
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
16849
16950
  }
16850
16951
  /**
16851
16952
  * @returns {number | undefined}
16852
16953
  */
16853
16954
  get overscaledMaxZoom() {
16854
16955
  const ret = wasm.__wbg_get_vectortilesourcedescription_overscaledMaxZoom(this.__wbg_ptr);
16855
- return ret === 0x100000001 ? undefined : ret;
16956
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
16856
16957
  }
16857
16958
  /**
16858
16959
  * @returns {string | undefined}
@@ -16886,23 +16987,37 @@ export class VectorTileSourceDescription {
16886
16987
  var len0 = WASM_VECTOR_LEN;
16887
16988
  wasm.__wbg_set_vectortilesourcedescription_crs(this.__wbg_ptr, ptr0, len0);
16888
16989
  }
16990
+ /**
16991
+ * Per-layer horizon dynamic-SSE relaxation strength (`0.0` off … `1.0`
16992
+ * raster-equivalent). Omit for a content-based default.
16993
+ * @param {number | null} [arg0]
16994
+ */
16995
+ set dynamicSseScale(arg0) {
16996
+ wasm.__wbg_set_vectortilesourcedescription_dynamicSseScale(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
16997
+ }
16889
16998
  /**
16890
16999
  * @param {number | null} [arg0]
16891
17000
  */
16892
17001
  set maxSse(arg0) {
16893
- wasm.__wbg_set_vectortilesourcedescription_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
17002
+ wasm.__wbg_set_vectortilesourcedescription_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
16894
17003
  }
16895
17004
  /**
16896
17005
  * @param {number | null} [arg0]
16897
17006
  */
16898
17007
  set maxZoom(arg0) {
16899
- wasm.__wbg_set_vectortilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
17008
+ wasm.__wbg_set_vectortilesourcedescription_maxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
17009
+ }
17010
+ /**
17011
+ * @param {number | null} [arg0]
17012
+ */
17013
+ set minZoom(arg0) {
17014
+ wasm.__wbg_set_vectortilesourcedescription_minZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
16900
17015
  }
16901
17016
  /**
16902
17017
  * @param {number | null} [arg0]
16903
17018
  */
16904
17019
  set overscaledMaxZoom(arg0) {
16905
- wasm.__wbg_set_vectortilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
17020
+ wasm.__wbg_set_vectortilesourcedescription_overscaledMaxZoom(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
16906
17021
  }
16907
17022
  /**
16908
17023
  * @param {string | null} [arg0]
@@ -16932,7 +17047,6 @@ if (Symbol.dispose) VectorTileSourceDescription.prototype[Symbol.dispose] = Vect
16932
17047
  */
16933
17048
  export class VectorTileState {
16934
17049
  static __wrap(ptr) {
16935
- ptr = ptr >>> 0;
16936
17050
  const obj = Object.create(VectorTileState.prototype);
16937
17051
  obj.__wbg_ptr = ptr;
16938
17052
  VectorTileStateFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -17122,7 +17236,7 @@ export class Window {
17122
17236
  */
17123
17237
  constructor(width, height, pixel_ratio) {
17124
17238
  const ret = wasm.window_new(width, height, pixel_ratio);
17125
- this.__wbg_ptr = ret >>> 0;
17239
+ this.__wbg_ptr = ret;
17126
17240
  WindowFinalization.register(this, this.__wbg_ptr, this);
17127
17241
  return this;
17128
17242
  }
@@ -17131,7 +17245,6 @@ if (Symbol.dispose) Window.prototype[Symbol.dispose] = Window.prototype.free;
17131
17245
 
17132
17246
  export class WorkerTaskDelegatedEvent {
17133
17247
  static __wrap(ptr) {
17134
- ptr = ptr >>> 0;
17135
17248
  const obj = Object.create(WorkerTaskDelegatedEvent.prototype);
17136
17249
  obj.__wbg_ptr = ptr;
17137
17250
  WorkerTaskDelegatedEventFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -17220,6 +17333,24 @@ export function generateId() {
17220
17333
  }
17221
17334
  }
17222
17335
 
17336
+ /**
17337
+ * WebMercator northing `ln(tan(lat/2 + π/4))` for a latitude in radians,
17338
+ * clamped to the valid WebMercator band (~±85.05°).
17339
+ *
17340
+ * Exported so the web composite paste (`mutates.ts`) derives its per-slot
17341
+ * reprojection constants from the same clamped math the Rust bake affine uses
17342
+ * (`uv_rect_from_extents_mercator`) — the two sides must agree or the pasted
17343
+ * latitude band drifts off the baked render target. A TS reimplementation
17344
+ * also returned NaN for the unclamped polar band (±90° as f32), which
17345
+ * silently disabled reprojection via the shader's span guard.
17346
+ * @param {number} lat
17347
+ * @returns {number}
17348
+ */
17349
+ export function mercatorY(lat) {
17350
+ const ret = wasm.mercatorY(lat);
17351
+ return ret;
17352
+ }
17353
+
17223
17354
  /**
17224
17355
  * @param {bigint} child
17225
17356
  * @param {bigint} parent
@@ -17236,11 +17367,11 @@ export function start() {
17236
17367
  function __wbg_get_imports() {
17237
17368
  const import0 = {
17238
17369
  __proto__: null,
17239
- __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
17370
+ __wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
17240
17371
  const ret = Error(getStringFromWasm0(arg0, arg1));
17241
17372
  return ret;
17242
17373
  },
17243
- __wbg_Number_32bf70a599af1d4b: function(arg0) {
17374
+ __wbg_Number_9a4e0ecb0fa16705: function(arg0) {
17244
17375
  const ret = Number(arg0);
17245
17376
  return ret;
17246
17377
  },
@@ -17251,72 +17382,72 @@ function __wbg_get_imports() {
17251
17382
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
17252
17383
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
17253
17384
  },
17254
- __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
17385
+ __wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
17255
17386
  const v = arg1;
17256
17387
  const ret = typeof(v) === 'bigint' ? v : undefined;
17257
17388
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
17258
17389
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
17259
17390
  },
17260
- __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
17391
+ __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
17261
17392
  const v = arg0;
17262
17393
  const ret = typeof(v) === 'boolean' ? v : undefined;
17263
17394
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
17264
17395
  },
17265
- __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
17396
+ __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
17266
17397
  const ret = debugString(arg1);
17267
17398
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
17268
17399
  const len1 = WASM_VECTOR_LEN;
17269
17400
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
17270
17401
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
17271
17402
  },
17272
- __wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
17403
+ __wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
17273
17404
  const ret = arg0 in arg1;
17274
17405
  return ret;
17275
17406
  },
17276
- __wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
17407
+ __wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
17277
17408
  const ret = typeof(arg0) === 'bigint';
17278
17409
  return ret;
17279
17410
  },
17280
- __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
17411
+ __wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
17281
17412
  const ret = typeof(arg0) === 'function';
17282
17413
  return ret;
17283
17414
  },
17284
- __wbg___wbindgen_is_null_52ff4ec04186736f: function(arg0) {
17415
+ __wbg___wbindgen_is_null_ea9085d691f535d3: function(arg0) {
17285
17416
  const ret = arg0 === null;
17286
17417
  return ret;
17287
17418
  },
17288
- __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
17419
+ __wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
17289
17420
  const val = arg0;
17290
17421
  const ret = typeof(val) === 'object' && val !== null;
17291
17422
  return ret;
17292
17423
  },
17293
- __wbg___wbindgen_is_string_6df3bf7ef1164ed3: function(arg0) {
17424
+ __wbg___wbindgen_is_string_ea5e6cc2e4141dfe: function(arg0) {
17294
17425
  const ret = typeof(arg0) === 'string';
17295
17426
  return ret;
17296
17427
  },
17297
- __wbg___wbindgen_is_undefined_29a43b4d42920abd: function(arg0) {
17428
+ __wbg___wbindgen_is_undefined_c05833b95a3cf397: function(arg0) {
17298
17429
  const ret = arg0 === undefined;
17299
17430
  return ret;
17300
17431
  },
17301
- __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
17432
+ __wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
17302
17433
  const ret = arg0 === arg1;
17303
17434
  return ret;
17304
17435
  },
17305
- __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
17436
+ __wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
17306
17437
  const ret = arg0 == arg1;
17307
17438
  return ret;
17308
17439
  },
17309
- __wbg___wbindgen_memory_dfa12096f400c9bd: function() {
17440
+ __wbg___wbindgen_memory_de265df8aadd6273: function() {
17310
17441
  const ret = wasm.memory;
17311
17442
  return ret;
17312
17443
  },
17313
- __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
17444
+ __wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
17314
17445
  const obj = arg1;
17315
17446
  const ret = typeof(obj) === 'number' ? obj : undefined;
17316
17447
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
17317
17448
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
17318
17449
  },
17319
- __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
17450
+ __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
17320
17451
  const obj = arg1;
17321
17452
  const ret = typeof(obj) === 'string' ? obj : undefined;
17322
17453
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -17324,32 +17455,26 @@ function __wbg_get_imports() {
17324
17455
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
17325
17456
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
17326
17457
  },
17327
- __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
17458
+ __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
17328
17459
  throw new Error(getStringFromWasm0(arg0, arg1));
17329
17460
  },
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) {
17461
+ __wbg_buffer_0f212447ac64c53b: function(arg0) {
17337
17462
  const ret = arg0.buffer;
17338
17463
  return ret;
17339
17464
  },
17340
- __wbg_call_14b169f759b26747: function() { return handleError(function (arg0, arg1) {
17341
- const ret = arg0.call(arg1);
17465
+ __wbg_call_44b7209e1e252e6a: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
17466
+ const ret = arg0.call(arg1, arg2, arg3, arg4);
17342
17467
  return ret;
17343
17468
  }, arguments); },
17344
- __wbg_call_86e39d65afc3d9db: function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
17345
- const ret = arg0.call(arg1, arg2, arg3, arg4);
17469
+ __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
17470
+ const ret = arg0.call(arg1);
17346
17471
  return ret;
17347
17472
  }, arguments); },
17348
- __wbg_call_a24592a6f349a97e: function() { return handleError(function (arg0, arg1, arg2) {
17473
+ __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
17349
17474
  const ret = arg0.call(arg1, arg2);
17350
17475
  return ret;
17351
17476
  }, arguments); },
17352
- __wbg_call_bb28efe6b2f55b86: function() { return handleError(function (arg0, arg1, arg2, arg3) {
17477
+ __wbg_call_e3b662382210db98: function() { return handleError(function (arg0, arg1, arg2, arg3) {
17353
17478
  const ret = arg0.call(arg1, arg2, arg3);
17354
17479
  return ret;
17355
17480
  }, arguments); },
@@ -17361,7 +17486,7 @@ function __wbg_get_imports() {
17361
17486
  const ret = DataRequestEvent.__wrap(arg0);
17362
17487
  return ret;
17363
17488
  },
17364
- __wbg_done_9158f7cc8751ba32: function(arg0) {
17489
+ __wbg_done_89b2b13e91a60321: function(arg0) {
17365
17490
  const ret = arg0.done;
17366
17491
  return ret;
17367
17492
  },
@@ -17369,22 +17494,22 @@ function __wbg_get_imports() {
17369
17494
  const ret = EntityEvent.__wrap(arg0);
17370
17495
  return ret;
17371
17496
  },
17372
- __wbg_entries_e0b73aa8571ddb56: function(arg0) {
17497
+ __wbg_entries_015dc610cd81ede0: function(arg0) {
17373
17498
  const ret = Object.entries(arg0);
17374
17499
  return ret;
17375
17500
  },
17376
- __wbg_getRandomValues_76dfc69825c9c552: function() { return handleError(function (arg0, arg1) {
17501
+ __wbg_getRandomValues_cc7f052a444bb2ce: function() { return handleError(function (arg0, arg1) {
17377
17502
  globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
17378
17503
  }, 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) {
17504
+ __wbg_get_507a50627bffa49b: function(arg0, arg1) {
17384
17505
  const ret = arg0[arg1 >>> 0];
17385
17506
  return ret;
17386
17507
  },
17387
- __wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
17508
+ __wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
17509
+ const ret = Reflect.get(arg0, arg1);
17510
+ return ret;
17511
+ }, arguments); },
17512
+ __wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
17388
17513
  const ret = arg0[arg1 >>> 0];
17389
17514
  return ret;
17390
17515
  },
@@ -17396,7 +17521,7 @@ function __wbg_get_imports() {
17396
17521
  const ret = HillshadeBackfilledEvent.__wrap(arg0);
17397
17522
  return ret;
17398
17523
  },
17399
- __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
17524
+ __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
17400
17525
  let result;
17401
17526
  try {
17402
17527
  result = arg0 instanceof ArrayBuffer;
@@ -17406,7 +17531,7 @@ function __wbg_get_imports() {
17406
17531
  const ret = result;
17407
17532
  return ret;
17408
17533
  },
17409
- __wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
17534
+ __wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
17410
17535
  let result;
17411
17536
  try {
17412
17537
  result = arg0 instanceof Map;
@@ -17416,7 +17541,7 @@ function __wbg_get_imports() {
17416
17541
  const ret = result;
17417
17542
  return ret;
17418
17543
  },
17419
- __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
17544
+ __wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
17420
17545
  let result;
17421
17546
  try {
17422
17547
  result = arg0 instanceof Uint8Array;
@@ -17426,35 +17551,35 @@ function __wbg_get_imports() {
17426
17551
  const ret = result;
17427
17552
  return ret;
17428
17553
  },
17429
- __wbg_isArray_c3109d14ffc06469: function(arg0) {
17554
+ __wbg_isArray_0677c962b281d01a: function(arg0) {
17430
17555
  const ret = Array.isArray(arg0);
17431
17556
  return ret;
17432
17557
  },
17433
- __wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
17558
+ __wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
17434
17559
  const ret = Number.isSafeInteger(arg0);
17435
17560
  return ret;
17436
17561
  },
17437
- __wbg_iterator_013bc09ec998c2a7: function() {
17562
+ __wbg_iterator_6f722e4a93058b71: function() {
17438
17563
  const ret = Symbol.iterator;
17439
17564
  return ret;
17440
17565
  },
17441
- __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
17566
+ __wbg_length_0133fa10e3234c57: function(arg0) {
17442
17567
  const ret = arg0.length;
17443
17568
  return ret;
17444
17569
  },
17445
- __wbg_length_9f1775224cf1d815: function(arg0) {
17570
+ __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
17446
17571
  const ret = arg0.length;
17447
17572
  return ret;
17448
17573
  },
17449
- __wbg_length_b5ce18c1fcafa728: function(arg0) {
17574
+ __wbg_length_370319915dc99107: function(arg0) {
17450
17575
  const ret = arg0.length;
17451
17576
  return ret;
17452
17577
  },
17453
- __wbg_length_d807629e96c741b8: function(arg0) {
17578
+ __wbg_length_381d540857ec99e8: function(arg0) {
17454
17579
  const ret = arg0.length;
17455
17580
  return ret;
17456
17581
  },
17457
- __wbg_length_fab29957ea6bdb8c: function(arg0) {
17582
+ __wbg_length_98f10d1e2f4ea968: function(arg0) {
17458
17583
  const ret = arg0.length;
17459
17584
  return ret;
17460
17585
  },
@@ -17473,66 +17598,66 @@ function __wbg_get_imports() {
17473
17598
  const ret = MeshChanged.__wrap(arg0);
17474
17599
  return ret;
17475
17600
  },
17476
- __wbg_new_0c7403db6e782f19: function(arg0) {
17477
- const ret = new Uint8Array(arg0);
17601
+ __wbg_new_32b398fb48b6d94a: function() {
17602
+ const ret = new Array();
17478
17603
  return ret;
17479
17604
  },
17480
- __wbg_new_1c0925936314b719: function(arg0) {
17605
+ __wbg_new_80efd62ef570c5de: function(arg0) {
17481
17606
  const ret = new Float64Array(arg0);
17482
17607
  return ret;
17483
17608
  },
17484
- __wbg_new_682678e2f47e32bc: function() {
17485
- const ret = new Array();
17609
+ __wbg_new_92a08b12c30e98e8: function(arg0) {
17610
+ const ret = new Float32Array(arg0);
17486
17611
  return ret;
17487
17612
  },
17488
- __wbg_new_8bc2b540bbfdbb81: function(arg0) {
17489
- const ret = new Uint32Array(arg0);
17613
+ __wbg_new_cd45aabdf6073e84: function(arg0) {
17614
+ const ret = new Uint8Array(arg0);
17490
17615
  return ret;
17491
17616
  },
17492
- __wbg_new_aa8d0fa9762c29bd: function() {
17617
+ __wbg_new_da52cf8fe3429cb2: function() {
17493
17618
  const ret = new Object();
17494
17619
  return ret;
17495
17620
  },
17496
- __wbg_new_b2663e175990f0a6: function(arg0) {
17497
- const ret = new Float32Array(arg0);
17621
+ __wbg_new_dfd44b7151fab657: function(arg0) {
17622
+ const ret = new Uint32Array(arg0);
17498
17623
  return ret;
17499
17624
  },
17500
- __wbg_new_with_byte_offset_and_length_00cc6a9128e26a8a: function(arg0, arg1, arg2) {
17501
- const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
17625
+ __wbg_new_with_byte_offset_and_length_1fdfe3033ce1dccd: function(arg0, arg1, arg2) {
17626
+ const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0);
17502
17627
  return ret;
17503
17628
  },
17504
- __wbg_new_with_byte_offset_and_length_01848e8d6a3d49ad: function(arg0, arg1, arg2) {
17629
+ __wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
17505
17630
  const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
17506
17631
  return ret;
17507
17632
  },
17508
- __wbg_new_with_byte_offset_and_length_3a205534e8f09fd2: function(arg0, arg1, arg2) {
17509
- const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
17633
+ __wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
17634
+ const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
17510
17635
  return ret;
17511
17636
  },
17512
- __wbg_new_with_byte_offset_and_length_3efdac5b3f46978d: function(arg0, arg1, arg2) {
17513
- const ret = new Float32Array(arg0, arg1 >>> 0, arg2 >>> 0);
17637
+ __wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
17638
+ const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
17514
17639
  return ret;
17515
17640
  },
17516
- __wbg_new_with_length_223c4ea248649e55: function(arg0) {
17641
+ __wbg_new_with_length_f8cbc3a5b9ff9368: function(arg0) {
17517
17642
  const ret = new Array(arg0 >>> 0);
17518
17643
  return ret;
17519
17644
  },
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) {
17645
+ __wbg_next_6dbf2c0ac8cde20f: function(arg0) {
17525
17646
  const ret = arg0.next;
17526
17647
  return ret;
17527
17648
  },
17649
+ __wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
17650
+ const ret = arg0.next();
17651
+ return ret;
17652
+ }, arguments); },
17528
17653
  __wbg_objecttransformevent_new: function(arg0) {
17529
17654
  const ret = ObjectTransformEvent.__wrap(arg0);
17530
17655
  return ret;
17531
17656
  },
17532
- __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
17657
+ __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
17533
17658
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
17534
17659
  },
17535
- __wbg_push_471a5b068a5295f6: function(arg0, arg1) {
17660
+ __wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
17536
17661
  const ret = arg0.push(arg1);
17537
17662
  return ret;
17538
17663
  },
@@ -17552,25 +17677,25 @@ function __wbg_get_imports() {
17552
17677
  const ret = RenderableFeatureRemovedEvent.__wrap(arg0);
17553
17678
  return ret;
17554
17679
  },
17555
- __wbg_set_022bee52d0b05b19: function() { return handleError(function (arg0, arg1, arg2) {
17680
+ __wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
17681
+ arg0.set(getArrayF32FromWasm0(arg1, arg2));
17682
+ },
17683
+ __wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
17684
+ arg0.set(getArrayF64FromWasm0(arg1, arg2));
17685
+ },
17686
+ __wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
17687
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
17688
+ },
17689
+ __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
17556
17690
  const ret = Reflect.set(arg0, arg1, arg2);
17557
17691
  return ret;
17558
17692
  }, arguments); },
17559
- __wbg_set_3bf1de9fab0cd644: function(arg0, arg1, arg2) {
17693
+ __wbg_set_8a16b38e4805b298: function(arg0, arg1, arg2) {
17560
17694
  arg0[arg1 >>> 0] = arg2;
17561
17695
  },
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) {
17696
+ __wbg_set_b5e6b338281ca6ff: function(arg0, arg1, arg2) {
17569
17697
  arg0.set(getArrayU32FromWasm0(arg1, arg2));
17570
17698
  },
17571
- __wbg_set_c625d5a9e6b7554b: function(arg0, arg1, arg2) {
17572
- arg0.set(getArrayF32FromWasm0(arg1, arg2));
17573
- },
17574
17699
  __wbg_terrainheightupdatedevent_new: function(arg0) {
17575
17700
  const ret = TerrainHeightUpdatedEvent.__wrap(arg0);
17576
17701
  return ret;
@@ -17587,7 +17712,7 @@ function __wbg_get_imports() {
17587
17712
  const ret = TileUvTransform.__wrap(arg0);
17588
17713
  return ret;
17589
17714
  },
17590
- __wbg_value_ee3a06f4579184fa: function(arg0) {
17715
+ __wbg_value_a5d5488a9589444a: function(arg0) {
17591
17716
  const ret = arg0.value;
17592
17717
  return ret;
17593
17718
  },
@@ -17637,427 +17762,427 @@ function __wbg_get_imports() {
17637
17762
 
17638
17763
  const AabbFinalization = (typeof FinalizationRegistry === 'undefined')
17639
17764
  ? { register: () => {}, unregister: () => {} }
17640
- : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr >>> 0, 1));
17765
+ : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr, 1));
17641
17766
  const B3dmLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17642
17767
  ? { register: () => {}, unregister: () => {} }
17643
- : new FinalizationRegistry(ptr => wasm.__wbg_b3dmlayerdescription_free(ptr >>> 0, 1));
17768
+ : new FinalizationRegistry(ptr => wasm.__wbg_b3dmlayerdescription_free(ptr, 1));
17644
17769
  const BatchPropResultFinalization = (typeof FinalizationRegistry === 'undefined')
17645
17770
  ? { register: () => {}, unregister: () => {} }
17646
- : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr >>> 0, 1));
17771
+ : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr, 1));
17647
17772
  const BillboardMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17648
17773
  ? { register: () => {}, unregister: () => {} }
17649
- : new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr >>> 0, 1));
17774
+ : new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr, 1));
17650
17775
  const BillboardMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17651
17776
  ? { register: () => {}, unregister: () => {} }
17652
- : new FinalizationRegistry(ptr => wasm.__wbg_billboardmesh_free(ptr >>> 0, 1));
17777
+ : new FinalizationRegistry(ptr => wasm.__wbg_billboardmesh_free(ptr, 1));
17653
17778
  const BoundingSphereFinalization = (typeof FinalizationRegistry === 'undefined')
17654
17779
  ? { register: () => {}, unregister: () => {} }
17655
- : new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr >>> 0, 1));
17780
+ : new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr, 1));
17656
17781
  const CachedMeshHandleFinalization = (typeof FinalizationRegistry === 'undefined')
17657
17782
  ? { register: () => {}, unregister: () => {} }
17658
- : new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr >>> 0, 1));
17783
+ : new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr, 1));
17659
17784
  const CameraControlUpdateEventFinalization = (typeof FinalizationRegistry === 'undefined')
17660
17785
  ? { register: () => {}, unregister: () => {} }
17661
- : new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr >>> 0, 1));
17786
+ : new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr, 1));
17662
17787
  const CameraFrustumFinalization = (typeof FinalizationRegistry === 'undefined')
17663
17788
  ? { register: () => {}, unregister: () => {} }
17664
- : new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr >>> 0, 1));
17789
+ : new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr, 1));
17665
17790
  const CameraOrientationFinalization = (typeof FinalizationRegistry === 'undefined')
17666
17791
  ? { register: () => {}, unregister: () => {} }
17667
- : new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr >>> 0, 1));
17792
+ : new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr, 1));
17668
17793
  const CameraStatusFinalization = (typeof FinalizationRegistry === 'undefined')
17669
17794
  ? { register: () => {}, unregister: () => {} }
17670
- : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr >>> 0, 1));
17795
+ : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr, 1));
17671
17796
  const Cesium3dTilesLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17672
17797
  ? { register: () => {}, unregister: () => {} }
17673
- : new FinalizationRegistry(ptr => wasm.__wbg_cesium3dtileslayerdescription_free(ptr >>> 0, 1));
17798
+ : new FinalizationRegistry(ptr => wasm.__wbg_cesium3dtileslayerdescription_free(ptr, 1));
17674
17799
  const CompiledExpressionFinalization = (typeof FinalizationRegistry === 'undefined')
17675
17800
  ? { register: () => {}, unregister: () => {} }
17676
- : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr >>> 0, 1));
17801
+ : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr, 1));
17677
17802
  const CompiledFilterFinalization = (typeof FinalizationRegistry === 'undefined')
17678
17803
  ? { register: () => {}, unregister: () => {} }
17679
- : new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr >>> 0, 1));
17804
+ : new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr, 1));
17680
17805
  const ConstructPolygonBatchedFeatureParametersFinalization = (typeof FinalizationRegistry === 'undefined')
17681
17806
  ? { register: () => {}, unregister: () => {} }
17682
- : new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureparameters_free(ptr >>> 0, 1));
17807
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureparameters_free(ptr, 1));
17683
17808
  const ConstructPolygonBatchedFeatureResultFinalization = (typeof FinalizationRegistry === 'undefined')
17684
17809
  ? { register: () => {}, unregister: () => {} }
17685
- : new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureresult_free(ptr >>> 0, 1));
17810
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructpolygonbatchedfeatureresult_free(ptr, 1));
17686
17811
  const ConstructPolylineBatchedFeatureParametersFinalization = (typeof FinalizationRegistry === 'undefined')
17687
17812
  ? { register: () => {}, unregister: () => {} }
17688
- : new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureparameters_free(ptr >>> 0, 1));
17813
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureparameters_free(ptr, 1));
17689
17814
  const ConstructPolylineBatchedFeatureResultFinalization = (typeof FinalizationRegistry === 'undefined')
17690
17815
  ? { register: () => {}, unregister: () => {} }
17691
- : new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureresult_free(ptr >>> 0, 1));
17816
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructpolylinebatchedfeatureresult_free(ptr, 1));
17692
17817
  const ConstructTerrainMeshParametersFinalization = (typeof FinalizationRegistry === 'undefined')
17693
17818
  ? { register: () => {}, unregister: () => {} }
17694
- : new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshparameters_free(ptr >>> 0, 1));
17819
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshparameters_free(ptr, 1));
17695
17820
  const ConstructTerrainMeshResultFinalization = (typeof FinalizationRegistry === 'undefined')
17696
17821
  ? { register: () => {}, unregister: () => {} }
17697
- : new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshresult_free(ptr >>> 0, 1));
17822
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructterrainmeshresult_free(ptr, 1));
17698
17823
  const ConstructedPolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17699
17824
  ? { register: () => {}, unregister: () => {} }
17700
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr >>> 0, 1));
17825
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr, 1));
17701
17826
  const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17702
17827
  ? { register: () => {}, unregister: () => {} }
17703
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr >>> 0, 1));
17828
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr, 1));
17704
17829
  const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17705
17830
  ? { register: () => {}, unregister: () => {} }
17706
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr >>> 0, 1));
17831
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
17707
17832
  const CoreFinalization = (typeof FinalizationRegistry === 'undefined')
17708
17833
  ? { register: () => {}, unregister: () => {} }
17709
- : new FinalizationRegistry(ptr => wasm.__wbg_core_free(ptr >>> 0, 1));
17834
+ : new FinalizationRegistry(ptr => wasm.__wbg_core_free(ptr, 1));
17710
17835
  const DataRequestEventFinalization = (typeof FinalizationRegistry === 'undefined')
17711
17836
  ? { register: () => {}, unregister: () => {} }
17712
- : new FinalizationRegistry(ptr => wasm.__wbg_datarequestevent_free(ptr >>> 0, 1));
17837
+ : new FinalizationRegistry(ptr => wasm.__wbg_datarequestevent_free(ptr, 1));
17713
17838
  const DataRequesterRemovedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17714
17839
  ? { register: () => {}, unregister: () => {} }
17715
- : new FinalizationRegistry(ptr => wasm.__wbg_datarequesterremovedevent_free(ptr >>> 0, 1));
17840
+ : new FinalizationRegistry(ptr => wasm.__wbg_datarequesterremovedevent_free(ptr, 1));
17716
17841
  const DelegatedWorkerTasksParametersFinalization = (typeof FinalizationRegistry === 'undefined')
17717
17842
  ? { register: () => {}, unregister: () => {} }
17718
- : new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksparameters_free(ptr >>> 0, 1));
17843
+ : new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksparameters_free(ptr, 1));
17719
17844
  const DelegatedWorkerTasksResultFinalization = (typeof FinalizationRegistry === 'undefined')
17720
17845
  ? { register: () => {}, unregister: () => {} }
17721
- : new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksresult_free(ptr >>> 0, 1));
17846
+ : new FinalizationRegistry(ptr => wasm.__wbg_delegatedworkertasksresult_free(ptr, 1));
17722
17847
  const DynamicSseFinalization = (typeof FinalizationRegistry === 'undefined')
17723
17848
  ? { register: () => {}, unregister: () => {} }
17724
- : new FinalizationRegistry(ptr => wasm.__wbg_dynamicsse_free(ptr >>> 0, 1));
17849
+ : new FinalizationRegistry(ptr => wasm.__wbg_dynamicsse_free(ptr, 1));
17725
17850
  const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
17726
17851
  ? { register: () => {}, unregister: () => {} }
17727
- : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr >>> 0, 1));
17852
+ : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
17728
17853
  const ElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17729
17854
  ? { register: () => {}, unregister: () => {} }
17730
- : new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr >>> 0, 1));
17855
+ : new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr, 1));
17731
17856
  const EllipsoidGeodesicFinalization = (typeof FinalizationRegistry === 'undefined')
17732
17857
  ? { register: () => {}, unregister: () => {} }
17733
- : new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr >>> 0, 1));
17858
+ : new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr, 1));
17734
17859
  const EncodedVec3Finalization = (typeof FinalizationRegistry === 'undefined')
17735
17860
  ? { register: () => {}, unregister: () => {} }
17736
- : new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr >>> 0, 1));
17861
+ : new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr, 1));
17737
17862
  const EntityEventFinalization = (typeof FinalizationRegistry === 'undefined')
17738
17863
  ? { register: () => {}, unregister: () => {} }
17739
- : new FinalizationRegistry(ptr => wasm.__wbg_entityevent_free(ptr >>> 0, 1));
17864
+ : new FinalizationRegistry(ptr => wasm.__wbg_entityevent_free(ptr, 1));
17740
17865
  const EventsFinalization = (typeof FinalizationRegistry === 'undefined')
17741
17866
  ? { register: () => {}, unregister: () => {} }
17742
- : new FinalizationRegistry(ptr => wasm.__wbg_events_free(ptr >>> 0, 1));
17867
+ : new FinalizationRegistry(ptr => wasm.__wbg_events_free(ptr, 1));
17743
17868
  const ExtentRadianF32Finalization = (typeof FinalizationRegistry === 'undefined')
17744
17869
  ? { register: () => {}, unregister: () => {} }
17745
- : new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr >>> 0, 1));
17870
+ : new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr, 1));
17746
17871
  const FloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
17747
17872
  ? { register: () => {}, unregister: () => {} }
17748
- : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr >>> 0, 1));
17873
+ : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr, 1));
17749
17874
  const GeoJsonLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17750
17875
  ? { register: () => {}, unregister: () => {} }
17751
- : new FinalizationRegistry(ptr => wasm.__wbg_geojsonlayerdescription_free(ptr >>> 0, 1));
17876
+ : new FinalizationRegistry(ptr => wasm.__wbg_geojsonlayerdescription_free(ptr, 1));
17752
17877
  const GeoJsonSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17753
17878
  ? { register: () => {}, unregister: () => {} }
17754
- : new FinalizationRegistry(ptr => wasm.__wbg_geojsonsourcedescription_free(ptr >>> 0, 1));
17879
+ : new FinalizationRegistry(ptr => wasm.__wbg_geojsonsourcedescription_free(ptr, 1));
17755
17880
  const GeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17756
17881
  ? { register: () => {}, unregister: () => {} }
17757
- : new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr >>> 0, 1));
17882
+ : new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr, 1));
17758
17883
  const GlobeFinalization = (typeof FinalizationRegistry === 'undefined')
17759
17884
  ? { register: () => {}, unregister: () => {} }
17760
- : new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr >>> 0, 1));
17885
+ : new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr, 1));
17761
17886
  const HillshadeBackfilledEventFinalization = (typeof FinalizationRegistry === 'undefined')
17762
17887
  ? { register: () => {}, unregister: () => {} }
17763
- : new FinalizationRegistry(ptr => wasm.__wbg_hillshadebackfilledevent_free(ptr >>> 0, 1));
17888
+ : new FinalizationRegistry(ptr => wasm.__wbg_hillshadebackfilledevent_free(ptr, 1));
17764
17889
  const HillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17765
17890
  ? { register: () => {}, unregister: () => {} }
17766
- : new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr >>> 0, 1));
17891
+ : new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr, 1));
17767
17892
  const LLEFinalization = (typeof FinalizationRegistry === 'undefined')
17768
17893
  ? { register: () => {}, unregister: () => {} }
17769
- : new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr >>> 0, 1));
17894
+ : new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr, 1));
17770
17895
  const LayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17771
17896
  ? { register: () => {}, unregister: () => {} }
17772
- : new FinalizationRegistry(ptr => wasm.__wbg_layerdescription_free(ptr >>> 0, 1));
17897
+ : new FinalizationRegistry(ptr => wasm.__wbg_layerdescription_free(ptr, 1));
17773
17898
  const LayerDescriptionDataFinalization = (typeof FinalizationRegistry === 'undefined')
17774
17899
  ? { register: () => {}, unregister: () => {} }
17775
- : new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptiondata_free(ptr >>> 0, 1));
17900
+ : new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptiondata_free(ptr, 1));
17776
17901
  const LayerDescriptionUrlFinalization = (typeof FinalizationRegistry === 'undefined')
17777
17902
  ? { register: () => {}, unregister: () => {} }
17778
- : new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptionurl_free(ptr >>> 0, 1));
17903
+ : new FinalizationRegistry(ptr => wasm.__wbg_layerdescriptionurl_free(ptr, 1));
17779
17904
  const LegacyElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17780
17905
  ? { register: () => {}, unregister: () => {} }
17781
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyelevationheatmapmaterial_free(ptr >>> 0, 1));
17906
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyelevationheatmapmaterial_free(ptr, 1));
17782
17907
  const LegacyEllipsoidTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17783
17908
  ? { register: () => {}, unregister: () => {} }
17784
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyellipsoidterrainmaterial_free(ptr >>> 0, 1));
17909
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyellipsoidterrainmaterial_free(ptr, 1));
17785
17910
  const LegacyHillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17786
17911
  ? { register: () => {}, unregister: () => {} }
17787
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyhillshadematerial_free(ptr >>> 0, 1));
17912
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyhillshadematerial_free(ptr, 1));
17788
17913
  const LegacyQuantizedMeshTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17789
17914
  ? { register: () => {}, unregister: () => {} }
17790
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyquantizedmeshterrainmaterial_free(ptr >>> 0, 1));
17915
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyquantizedmeshterrainmaterial_free(ptr, 1));
17791
17916
  const LegacyRasterTerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17792
17917
  ? { register: () => {}, unregister: () => {} }
17793
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyrasterterrainmaterial_free(ptr >>> 0, 1));
17918
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyrasterterrainmaterial_free(ptr, 1));
17794
17919
  const LegacyRasterTileMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17795
17920
  ? { register: () => {}, unregister: () => {} }
17796
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyrastertilematerial_free(ptr >>> 0, 1));
17921
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyrastertilematerial_free(ptr, 1));
17797
17922
  const LegacyVectorTileMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17798
17923
  ? { register: () => {}, unregister: () => {} }
17799
- : new FinalizationRegistry(ptr => wasm.__wbg_legacyvectortilematerial_free(ptr >>> 0, 1));
17924
+ : new FinalizationRegistry(ptr => wasm.__wbg_legacyvectortilematerial_free(ptr, 1));
17800
17925
  const MemoryStatsFinalization = (typeof FinalizationRegistry === 'undefined')
17801
17926
  ? { register: () => {}, unregister: () => {} }
17802
- : new FinalizationRegistry(ptr => wasm.__wbg_memorystats_free(ptr >>> 0, 1));
17927
+ : new FinalizationRegistry(ptr => wasm.__wbg_memorystats_free(ptr, 1));
17803
17928
  const MeshFinalization = (typeof FinalizationRegistry === 'undefined')
17804
17929
  ? { register: () => {}, unregister: () => {} }
17805
- : new FinalizationRegistry(ptr => wasm.__wbg_mesh_free(ptr >>> 0, 1));
17930
+ : new FinalizationRegistry(ptr => wasm.__wbg_mesh_free(ptr, 1));
17806
17931
  const MeshAddedFinalization = (typeof FinalizationRegistry === 'undefined')
17807
17932
  ? { register: () => {}, unregister: () => {} }
17808
- : new FinalizationRegistry(ptr => wasm.__wbg_meshadded_free(ptr >>> 0, 1));
17933
+ : new FinalizationRegistry(ptr => wasm.__wbg_meshadded_free(ptr, 1));
17809
17934
  const MeshChangedFinalization = (typeof FinalizationRegistry === 'undefined')
17810
17935
  ? { register: () => {}, unregister: () => {} }
17811
- : new FinalizationRegistry(ptr => wasm.__wbg_meshchanged_free(ptr >>> 0, 1));
17936
+ : new FinalizationRegistry(ptr => wasm.__wbg_meshchanged_free(ptr, 1));
17812
17937
  const ModelInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17813
17938
  ? { register: () => {}, unregister: () => {} }
17814
- : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr >>> 0, 1));
17939
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr, 1));
17815
17940
  const ModelMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17816
17941
  ? { register: () => {}, unregister: () => {} }
17817
- : new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr >>> 0, 1));
17942
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr, 1));
17818
17943
  const ModelMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17819
17944
  ? { register: () => {}, unregister: () => {} }
17820
- : new FinalizationRegistry(ptr => wasm.__wbg_modelmesh_free(ptr >>> 0, 1));
17945
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelmesh_free(ptr, 1));
17821
17946
  const MvtLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17822
17947
  ? { register: () => {}, unregister: () => {} }
17823
- : new FinalizationRegistry(ptr => wasm.__wbg_mvtlayerdescription_free(ptr >>> 0, 1));
17948
+ : new FinalizationRegistry(ptr => wasm.__wbg_mvtlayerdescription_free(ptr, 1));
17824
17949
  const NearFarFinalization = (typeof FinalizationRegistry === 'undefined')
17825
17950
  ? { register: () => {}, unregister: () => {} }
17826
- : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr >>> 0, 1));
17951
+ : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr, 1));
17827
17952
  const ObjectTransformEventFinalization = (typeof FinalizationRegistry === 'undefined')
17828
17953
  ? { register: () => {}, unregister: () => {} }
17829
- : new FinalizationRegistry(ptr => wasm.__wbg_objecttransformevent_free(ptr >>> 0, 1));
17954
+ : new FinalizationRegistry(ptr => wasm.__wbg_objecttransformevent_free(ptr, 1));
17830
17955
  const OrthoCamTransformFinalization = (typeof FinalizationRegistry === 'undefined')
17831
17956
  ? { register: () => {}, unregister: () => {} }
17832
- : new FinalizationRegistry(ptr => wasm.__wbg_orthocamtransform_free(ptr >>> 0, 1));
17957
+ : new FinalizationRegistry(ptr => wasm.__wbg_orthocamtransform_free(ptr, 1));
17833
17958
  const OverscaledTileHandleFinalization = (typeof FinalizationRegistry === 'undefined')
17834
17959
  ? { register: () => {}, unregister: () => {} }
17835
- : new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr >>> 0, 1));
17960
+ : new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr, 1));
17836
17961
  const ParseMvtTileParametersFinalization = (typeof FinalizationRegistry === 'undefined')
17837
17962
  ? { register: () => {}, unregister: () => {} }
17838
- : new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileparameters_free(ptr >>> 0, 1));
17963
+ : new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileparameters_free(ptr, 1));
17839
17964
  const ParseMvtTileResultFinalization = (typeof FinalizationRegistry === 'undefined')
17840
17965
  ? { register: () => {}, unregister: () => {} }
17841
- : new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileresult_free(ptr >>> 0, 1));
17966
+ : new FinalizationRegistry(ptr => wasm.__wbg_parsemvttileresult_free(ptr, 1));
17842
17967
  const PlaneFinalization = (typeof FinalizationRegistry === 'undefined')
17843
17968
  ? { register: () => {}, unregister: () => {} }
17844
- : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr >>> 0, 1));
17969
+ : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr, 1));
17845
17970
  const PntsLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17846
17971
  ? { register: () => {}, unregister: () => {} }
17847
- : new FinalizationRegistry(ptr => wasm.__wbg_pntslayerdescription_free(ptr >>> 0, 1));
17972
+ : new FinalizationRegistry(ptr => wasm.__wbg_pntslayerdescription_free(ptr, 1));
17848
17973
  const PointMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17849
17974
  ? { register: () => {}, unregister: () => {} }
17850
- : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr >>> 0, 1));
17975
+ : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr, 1));
17851
17976
  const PointMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17852
17977
  ? { register: () => {}, unregister: () => {} }
17853
- : new FinalizationRegistry(ptr => wasm.__wbg_pointmesh_free(ptr >>> 0, 1));
17978
+ : new FinalizationRegistry(ptr => wasm.__wbg_pointmesh_free(ptr, 1));
17854
17979
  const PolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17855
17980
  ? { register: () => {}, unregister: () => {} }
17856
- : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr >>> 0, 1));
17981
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr, 1));
17857
17982
  const PolygonGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
17858
17983
  ? { register: () => {}, unregister: () => {} }
17859
- : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr >>> 0, 1));
17984
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr, 1));
17860
17985
  const PolygonInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17861
17986
  ? { register: () => {}, unregister: () => {} }
17862
- : new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr >>> 0, 1));
17987
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr, 1));
17863
17988
  const PolygonMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17864
17989
  ? { register: () => {}, unregister: () => {} }
17865
- : new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr >>> 0, 1));
17990
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr, 1));
17866
17991
  const PolygonMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17867
17992
  ? { register: () => {}, unregister: () => {} }
17868
- : new FinalizationRegistry(ptr => wasm.__wbg_polygonmesh_free(ptr >>> 0, 1));
17993
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygonmesh_free(ptr, 1));
17869
17994
  const PolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17870
17995
  ? { register: () => {}, unregister: () => {} }
17871
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr >>> 0, 1));
17996
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr, 1));
17872
17997
  const PolylineGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
17873
17998
  ? { register: () => {}, unregister: () => {} }
17874
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr >>> 0, 1));
17999
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr, 1));
17875
18000
  const PolylineInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17876
18001
  ? { register: () => {}, unregister: () => {} }
17877
- : new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr >>> 0, 1));
18002
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr, 1));
17878
18003
  const PolylineMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17879
18004
  ? { register: () => {}, unregister: () => {} }
17880
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr >>> 0, 1));
18005
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr, 1));
17881
18006
  const PolylineMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17882
18007
  ? { register: () => {}, unregister: () => {} }
17883
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinemesh_free(ptr >>> 0, 1));
18008
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinemesh_free(ptr, 1));
17884
18009
  const QuantizedMeshSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17885
18010
  ? { register: () => {}, unregister: () => {} }
17886
- : new FinalizationRegistry(ptr => wasm.__wbg_quantizedmeshsourcedescription_free(ptr >>> 0, 1));
18011
+ : new FinalizationRegistry(ptr => wasm.__wbg_quantizedmeshsourcedescription_free(ptr, 1));
17887
18012
  const RasterDemSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17888
18013
  ? { register: () => {}, unregister: () => {} }
17889
- : new FinalizationRegistry(ptr => wasm.__wbg_rasterdemsourcedescription_free(ptr >>> 0, 1));
18014
+ : new FinalizationRegistry(ptr => wasm.__wbg_rasterdemsourcedescription_free(ptr, 1));
17890
18015
  const RasterLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17891
18016
  ? { register: () => {}, unregister: () => {} }
17892
- : new FinalizationRegistry(ptr => wasm.__wbg_rasterlayerdescription_free(ptr >>> 0, 1));
18017
+ : new FinalizationRegistry(ptr => wasm.__wbg_rasterlayerdescription_free(ptr, 1));
17893
18018
  const RasterMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17894
18019
  ? { register: () => {}, unregister: () => {} }
17895
- : new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr >>> 0, 1));
18020
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr, 1));
17896
18021
  const RasterTileInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17897
18022
  ? { register: () => {}, unregister: () => {} }
17898
- : new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr >>> 0, 1));
18023
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr, 1));
17899
18024
  const RasterTileSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17900
18025
  ? { register: () => {}, unregister: () => {} }
17901
- : new FinalizationRegistry(ptr => wasm.__wbg_rastertilesourcedescription_free(ptr >>> 0, 1));
18026
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastertilesourcedescription_free(ptr, 1));
17902
18027
  const RasterTileStateFinalization = (typeof FinalizationRegistry === 'undefined')
17903
18028
  ? { register: () => {}, unregister: () => {} }
17904
- : new FinalizationRegistry(ptr => wasm.__wbg_rastertilestate_free(ptr >>> 0, 1));
18029
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastertilestate_free(ptr, 1));
17905
18030
  const RayFinalization = (typeof FinalizationRegistry === 'undefined')
17906
18031
  ? { register: () => {}, unregister: () => {} }
17907
- : new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr >>> 0, 1));
18032
+ : new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr, 1));
17908
18033
  const ReconstructableEntityFinalization = (typeof FinalizationRegistry === 'undefined')
17909
18034
  ? { register: () => {}, unregister: () => {} }
17910
- : new FinalizationRegistry(ptr => wasm.__wbg_reconstructableentity_free(ptr >>> 0, 1));
18035
+ : new FinalizationRegistry(ptr => wasm.__wbg_reconstructableentity_free(ptr, 1));
17911
18036
  const RenderableFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
17912
18037
  ? { register: () => {}, unregister: () => {} }
17913
- : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeature_free(ptr >>> 0, 1));
18038
+ : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeature_free(ptr, 1));
17914
18039
  const RenderableFeatureAddedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17915
18040
  ? { register: () => {}, unregister: () => {} }
17916
- : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureaddedevent_free(ptr >>> 0, 1));
18041
+ : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureaddedevent_free(ptr, 1));
17917
18042
  const RenderableFeatureChangedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17918
18043
  ? { register: () => {}, unregister: () => {} }
17919
- : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeaturechangedevent_free(ptr >>> 0, 1));
18044
+ : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeaturechangedevent_free(ptr, 1));
17920
18045
  const RenderableFeatureRemovedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17921
18046
  ? { register: () => {}, unregister: () => {} }
17922
- : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureremovedevent_free(ptr >>> 0, 1));
18047
+ : new FinalizationRegistry(ptr => wasm.__wbg_renderablefeatureremovedevent_free(ptr, 1));
17923
18048
  const ReturnedConstructedTerrainMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17924
18049
  ? { register: () => {}, unregister: () => {} }
17925
- : new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr >>> 0, 1));
18050
+ : new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr, 1));
17926
18051
  const ReturnedTransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
17927
18052
  ? { register: () => {}, unregister: () => {} }
17928
- : new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolygonbatchedfeature_free(ptr >>> 0, 1));
18053
+ : new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolygonbatchedfeature_free(ptr, 1));
17929
18054
  const ReturnedTransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
17930
18055
  ? { register: () => {}, unregister: () => {} }
17931
- : new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolylinebatchedfeature_free(ptr >>> 0, 1));
18056
+ : new FinalizationRegistry(ptr => wasm.__wbg_returnedtransferablepolylinebatchedfeature_free(ptr, 1));
17932
18057
  const SourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17933
18058
  ? { register: () => {}, unregister: () => {} }
17934
- : new FinalizationRegistry(ptr => wasm.__wbg_sourcedescription_free(ptr >>> 0, 1));
18059
+ : new FinalizationRegistry(ptr => wasm.__wbg_sourcedescription_free(ptr, 1));
17935
18060
  const TerrainHeightUpdatedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17936
18061
  ? { register: () => {}, unregister: () => {} }
17937
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainheightupdatedevent_free(ptr >>> 0, 1));
18062
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainheightupdatedevent_free(ptr, 1));
17938
18063
  const TerrainLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17939
18064
  ? { register: () => {}, unregister: () => {} }
17940
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainlayerdescription_free(ptr >>> 0, 1));
18065
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainlayerdescription_free(ptr, 1));
17941
18066
  const TerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17942
18067
  ? { register: () => {}, unregister: () => {} }
17943
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr >>> 0, 1));
18068
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr, 1));
17944
18069
  const TerrainSourceLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17945
18070
  ? { register: () => {}, unregister: () => {} }
17946
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainsourcelayerdescription_free(ptr >>> 0, 1));
18071
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainsourcelayerdescription_free(ptr, 1));
17947
18072
  const TextMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
17948
18073
  ? { register: () => {}, unregister: () => {} }
17949
- : new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr >>> 0, 1));
18074
+ : new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr, 1));
17950
18075
  const TextMeshFinalization = (typeof FinalizationRegistry === 'undefined')
17951
18076
  ? { register: () => {}, unregister: () => {} }
17952
- : new FinalizationRegistry(ptr => wasm.__wbg_textmesh_free(ptr >>> 0, 1));
18077
+ : new FinalizationRegistry(ptr => wasm.__wbg_textmesh_free(ptr, 1));
17953
18078
  const TextureFragmentFinalization = (typeof FinalizationRegistry === 'undefined')
17954
18079
  ? { register: () => {}, unregister: () => {} }
17955
- : new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr >>> 0, 1));
18080
+ : new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr, 1));
17956
18081
  const TextureFragmentRequestedEventFinalization = (typeof FinalizationRegistry === 'undefined')
17957
18082
  ? { register: () => {}, unregister: () => {} }
17958
- : new FinalizationRegistry(ptr => wasm.__wbg_texturefragmentrequestedevent_free(ptr >>> 0, 1));
18083
+ : new FinalizationRegistry(ptr => wasm.__wbg_texturefragmentrequestedevent_free(ptr, 1));
17959
18084
  const TileLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17960
18085
  ? { register: () => {}, unregister: () => {} }
17961
- : new FinalizationRegistry(ptr => wasm.__wbg_tilelayerdescription_free(ptr >>> 0, 1));
18086
+ : new FinalizationRegistry(ptr => wasm.__wbg_tilelayerdescription_free(ptr, 1));
17962
18087
  const TileUvTransformFinalization = (typeof FinalizationRegistry === 'undefined')
17963
18088
  ? { register: () => {}, unregister: () => {} }
17964
- : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr >>> 0, 1));
18089
+ : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr, 1));
17965
18090
  const TileXYZFinalization = (typeof FinalizationRegistry === 'undefined')
17966
18091
  ? { register: () => {}, unregister: () => {} }
17967
- : new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr >>> 0, 1));
18092
+ : new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr, 1));
17968
18093
  const Tiles3dLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17969
18094
  ? { register: () => {}, unregister: () => {} }
17970
- : new FinalizationRegistry(ptr => wasm.__wbg_tiles3dlayerdescription_free(ptr >>> 0, 1));
18095
+ : new FinalizationRegistry(ptr => wasm.__wbg_tiles3dlayerdescription_free(ptr, 1));
17971
18096
  const Tiles3dSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
17972
18097
  ? { register: () => {}, unregister: () => {} }
17973
- : new FinalizationRegistry(ptr => wasm.__wbg_tiles3dsourcedescription_free(ptr >>> 0, 1));
18098
+ : new FinalizationRegistry(ptr => wasm.__wbg_tiles3dsourcedescription_free(ptr, 1));
17974
18099
  const TransferableFloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
17975
18100
  ? { register: () => {}, unregister: () => {} }
17976
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablefloatattribute_free(ptr >>> 0, 1));
18101
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablefloatattribute_free(ptr, 1));
17977
18102
  const TransferableGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17978
18103
  ? { register: () => {}, unregister: () => {} }
17979
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablegeometry_free(ptr >>> 0, 1));
18104
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablegeometry_free(ptr, 1));
17980
18105
  const TransferableHierarchyFinalization = (typeof FinalizationRegistry === 'undefined')
17981
18106
  ? { register: () => {}, unregister: () => {} }
17982
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr >>> 0, 1));
18107
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr, 1));
17983
18108
  const TransferableHolesFinalization = (typeof FinalizationRegistry === 'undefined')
17984
18109
  ? { register: () => {}, unregister: () => {} }
17985
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr >>> 0, 1));
18110
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr, 1));
17986
18111
  const TransferableMartiniFinalization = (typeof FinalizationRegistry === 'undefined')
17987
18112
  ? { register: () => {}, unregister: () => {} }
17988
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablemartini_free(ptr >>> 0, 1));
18113
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablemartini_free(ptr, 1));
17989
18114
  const TransferableModelGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17990
18115
  ? { register: () => {}, unregister: () => {} }
17991
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablemodelgeometry_free(ptr >>> 0, 1));
18116
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablemodelgeometry_free(ptr, 1));
17992
18117
  const TransferableParsedMvtResultFinalization = (typeof FinalizationRegistry === 'undefined')
17993
18118
  ? { register: () => {}, unregister: () => {} }
17994
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr >>> 0, 1));
18119
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr, 1));
17995
18120
  const TransferablePointGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
17996
18121
  ? { register: () => {}, unregister: () => {} }
17997
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepointgeometry_free(ptr >>> 0, 1));
18122
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepointgeometry_free(ptr, 1));
17998
18123
  const TransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
17999
18124
  ? { register: () => {}, unregister: () => {} }
18000
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr >>> 0, 1));
18125
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr, 1));
18001
18126
  const TransferablePolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
18002
18127
  ? { register: () => {}, unregister: () => {} }
18003
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygongeometry_free(ptr >>> 0, 1));
18128
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygongeometry_free(ptr, 1));
18004
18129
  const TransferablePolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
18005
18130
  ? { register: () => {}, unregister: () => {} }
18006
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonoutlinegeometry_free(ptr >>> 0, 1));
18131
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonoutlinegeometry_free(ptr, 1));
18007
18132
  const TransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
18008
18133
  ? { register: () => {}, unregister: () => {} }
18009
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr >>> 0, 1));
18134
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr, 1));
18010
18135
  const TransferablePolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
18011
18136
  ? { register: () => {}, unregister: () => {} }
18012
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinegeometry_free(ptr >>> 0, 1));
18137
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinegeometry_free(ptr, 1));
18013
18138
  const TransferableRasterDEMDataFinalization = (typeof FinalizationRegistry === 'undefined')
18014
18139
  ? { register: () => {}, unregister: () => {} }
18015
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablerasterdemdata_free(ptr >>> 0, 1));
18140
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablerasterdemdata_free(ptr, 1));
18016
18141
  const TransferableTileFinalization = (typeof FinalizationRegistry === 'undefined')
18017
18142
  ? { register: () => {}, unregister: () => {} }
18018
- : new FinalizationRegistry(ptr => wasm.__wbg_transferabletile_free(ptr >>> 0, 1));
18143
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferabletile_free(ptr, 1));
18019
18144
  const TransferableUintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
18020
18145
  ? { register: () => {}, unregister: () => {} }
18021
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableuintattribute_free(ptr >>> 0, 1));
18146
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableuintattribute_free(ptr, 1));
18022
18147
  const TransformFinalization = (typeof FinalizationRegistry === 'undefined')
18023
18148
  ? { register: () => {}, unregister: () => {} }
18024
- : new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr >>> 0, 1));
18149
+ : new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr, 1));
18025
18150
  const UintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
18026
18151
  ? { register: () => {}, unregister: () => {} }
18027
- : new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr >>> 0, 1));
18152
+ : new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr, 1));
18028
18153
  const UpsamplableTerrainGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
18029
18154
  ? { register: () => {}, unregister: () => {} }
18030
- : new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr >>> 0, 1));
18155
+ : new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr, 1));
18031
18156
  const UpsampleTerrainMeshParametersFinalization = (typeof FinalizationRegistry === 'undefined')
18032
18157
  ? { register: () => {}, unregister: () => {} }
18033
- : new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshparameters_free(ptr >>> 0, 1));
18158
+ : new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshparameters_free(ptr, 1));
18034
18159
  const UpsampleTerrainMeshResultFinalization = (typeof FinalizationRegistry === 'undefined')
18035
18160
  ? { register: () => {}, unregister: () => {} }
18036
- : new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshresult_free(ptr >>> 0, 1));
18161
+ : new FinalizationRegistry(ptr => wasm.__wbg_upsampleterrainmeshresult_free(ptr, 1));
18037
18162
  const Vec2Finalization = (typeof FinalizationRegistry === 'undefined')
18038
18163
  ? { register: () => {}, unregister: () => {} }
18039
- : new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr >>> 0, 1));
18164
+ : new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr, 1));
18040
18165
  const Vec3Finalization = (typeof FinalizationRegistry === 'undefined')
18041
18166
  ? { register: () => {}, unregister: () => {} }
18042
- : new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr >>> 0, 1));
18167
+ : new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr, 1));
18043
18168
  const VectorLayerDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
18044
18169
  ? { register: () => {}, unregister: () => {} }
18045
- : new FinalizationRegistry(ptr => wasm.__wbg_vectorlayerdescription_free(ptr >>> 0, 1));
18170
+ : new FinalizationRegistry(ptr => wasm.__wbg_vectorlayerdescription_free(ptr, 1));
18046
18171
  const VectorTileSourceDescriptionFinalization = (typeof FinalizationRegistry === 'undefined')
18047
18172
  ? { register: () => {}, unregister: () => {} }
18048
- : new FinalizationRegistry(ptr => wasm.__wbg_vectortilesourcedescription_free(ptr >>> 0, 1));
18173
+ : new FinalizationRegistry(ptr => wasm.__wbg_vectortilesourcedescription_free(ptr, 1));
18049
18174
  const VectorTileStateFinalization = (typeof FinalizationRegistry === 'undefined')
18050
18175
  ? { register: () => {}, unregister: () => {} }
18051
- : new FinalizationRegistry(ptr => wasm.__wbg_vectortilestate_free(ptr >>> 0, 1));
18176
+ : new FinalizationRegistry(ptr => wasm.__wbg_vectortilestate_free(ptr, 1));
18052
18177
  const WindingOrderFinalization = (typeof FinalizationRegistry === 'undefined')
18053
18178
  ? { register: () => {}, unregister: () => {} }
18054
- : new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr >>> 0, 1));
18179
+ : new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr, 1));
18055
18180
  const WindowFinalization = (typeof FinalizationRegistry === 'undefined')
18056
18181
  ? { register: () => {}, unregister: () => {} }
18057
- : new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr >>> 0, 1));
18182
+ : new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr, 1));
18058
18183
  const WorkerTaskDelegatedEventFinalization = (typeof FinalizationRegistry === 'undefined')
18059
18184
  ? { register: () => {}, unregister: () => {} }
18060
- : new FinalizationRegistry(ptr => wasm.__wbg_workertaskdelegatedevent_free(ptr >>> 0, 1));
18185
+ : new FinalizationRegistry(ptr => wasm.__wbg_workertaskdelegatedevent_free(ptr, 1));
18061
18186
 
18062
18187
  function addToExternrefTable0(obj) {
18063
18188
  const idx = wasm.__externref_table_alloc();
@@ -18205,8 +18330,7 @@ function getInt32ArrayMemory0() {
18205
18330
  }
18206
18331
 
18207
18332
  function getStringFromWasm0(ptr, len) {
18208
- ptr = ptr >>> 0;
18209
- return decodeText(ptr, len);
18333
+ return decodeText(ptr >>> 0, len);
18210
18334
  }
18211
18335
 
18212
18336
  let cachedUint32ArrayMemory0 = null;
@@ -18348,8 +18472,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
18348
18472
 
18349
18473
  let WASM_VECTOR_LEN = 0;
18350
18474
 
18351
- let wasmModule, wasm;
18475
+ let wasmModule, wasmInstance, wasm;
18352
18476
  function __wbg_finalize_init(instance, module) {
18477
+ wasmInstance = instance;
18353
18478
  wasm = instance.exports;
18354
18479
  wasmModule = module;
18355
18480
  cachedDataViewMemory0 = null;