@navaramap/engine-font-worker 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,7 +21,7 @@ export class Aabb {
21
21
  _assertClass(extent, Vec3);
22
22
  var ptr1 = extent.__destroy_into_raw();
23
23
  const ret = wasm.aabb_new(ptr0, ptr1);
24
- this.__wbg_ptr = ret >>> 0;
24
+ this.__wbg_ptr = ret;
25
25
  AabbFinalization.register(this, this.__wbg_ptr, this);
26
26
  return this;
27
27
  }
@@ -121,7 +121,7 @@ export class BillboardMaterial {
121
121
  */
122
122
  get alphaTest() {
123
123
  const ret = wasm.__wbg_get_billboardmaterial_alphaTest(this.__wbg_ptr);
124
- return ret === 0x100000001 ? undefined : ret;
124
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
125
125
  }
126
126
  /**
127
127
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
@@ -144,7 +144,26 @@ export class BillboardMaterial {
144
144
  */
145
145
  get color() {
146
146
  const ret = wasm.__wbg_get_billboardmaterial_color(this.__wbg_ptr);
147
- return ret === 0x100000001 ? undefined : ret;
147
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
148
+ }
149
+ /**
150
+ * Placement priority for decluttering; higher wins. Only meaningful when
151
+ * `declutter` is enabled. Defaults to `0.0`.
152
+ * @returns {number | undefined}
153
+ */
154
+ get declutterPriority() {
155
+ const ret = wasm.__wbg_get_billboardmaterial_declutterPriority(this.__wbg_ptr);
156
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
157
+ }
158
+ /**
159
+ * Participate in screen-space decluttering: when labels/sprites overlap
160
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
161
+ * `false` to draw every label unconditionally.
162
+ * @returns {boolean | undefined}
163
+ */
164
+ get declutter() {
165
+ const ret = wasm.__wbg_get_billboardmaterial_declutter(this.__wbg_ptr);
166
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
148
167
  }
149
168
  /**
150
169
  * @returns {boolean | undefined}
@@ -172,7 +191,7 @@ export class BillboardMaterial {
172
191
  */
173
192
  get emissiveColor() {
174
193
  const ret = wasm.__wbg_get_billboardmaterial_emissiveColor(this.__wbg_ptr);
175
- return ret === 0x100000001 ? undefined : ret;
194
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
176
195
  }
177
196
  /**
178
197
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -180,14 +199,14 @@ export class BillboardMaterial {
180
199
  */
181
200
  get emissiveIntensity() {
182
201
  const ret = wasm.__wbg_get_billboardmaterial_emissiveIntensity(this.__wbg_ptr);
183
- return ret === 0x100000001 ? undefined : ret;
202
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
184
203
  }
185
204
  /**
186
205
  * @returns {number | undefined}
187
206
  */
188
207
  get height() {
189
208
  const ret = wasm.__wbg_get_billboardmaterial_height(this.__wbg_ptr);
190
- return ret === 0x100000001 ? undefined : ret;
209
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
191
210
  }
192
211
  /**
193
212
  * Avoid overlapping with the globe surface.
@@ -202,7 +221,7 @@ export class BillboardMaterial {
202
221
  */
203
222
  get opacity() {
204
223
  const ret = wasm.__wbg_get_billboardmaterial_opacity(this.__wbg_ptr);
205
- return ret === 0x100000001 ? undefined : ret;
224
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
206
225
  }
207
226
  /**
208
227
  * @returns {boolean | undefined}
@@ -225,7 +244,7 @@ export class BillboardMaterial {
225
244
  */
226
245
  get size() {
227
246
  const ret = wasm.__wbg_get_billboardmaterial_size(this.__wbg_ptr);
228
- return ret === 0x100000001 ? undefined : ret;
247
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
229
248
  }
230
249
  /**
231
250
  * @returns {boolean | undefined}
@@ -250,7 +269,7 @@ export class BillboardMaterial {
250
269
  * @param {number | null} [arg0]
251
270
  */
252
271
  set alphaTest(arg0) {
253
- wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
272
+ wasm.__wbg_set_billboardmaterial_alphaTest(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
254
273
  }
255
274
  /**
256
275
  * anchor point of the sprite, range is (-0.5, -0.5) to (0.5, 0.5).
@@ -275,7 +294,24 @@ export class BillboardMaterial {
275
294
  * @param {number | null} [arg0]
276
295
  */
277
296
  set color(arg0) {
278
- wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
297
+ wasm.__wbg_set_billboardmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
298
+ }
299
+ /**
300
+ * Placement priority for decluttering; higher wins. Only meaningful when
301
+ * `declutter` is enabled. Defaults to `0.0`.
302
+ * @param {number | null} [arg0]
303
+ */
304
+ set declutterPriority(arg0) {
305
+ wasm.__wbg_set_billboardmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
306
+ }
307
+ /**
308
+ * Participate in screen-space decluttering: when labels/sprites overlap
309
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
310
+ * `false` to draw every label unconditionally.
311
+ * @param {boolean | null} [arg0]
312
+ */
313
+ set declutter(arg0) {
314
+ wasm.__wbg_set_billboardmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
279
315
  }
280
316
  /**
281
317
  * @param {boolean | null} [arg0]
@@ -297,20 +333,20 @@ export class BillboardMaterial {
297
333
  * @param {number | null} [arg0]
298
334
  */
299
335
  set emissiveColor(arg0) {
300
- wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
336
+ wasm.__wbg_set_billboardmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
301
337
  }
302
338
  /**
303
339
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
304
340
  * @param {number | null} [arg0]
305
341
  */
306
342
  set emissiveIntensity(arg0) {
307
- wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
343
+ wasm.__wbg_set_billboardmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
308
344
  }
309
345
  /**
310
346
  * @param {number | null} [arg0]
311
347
  */
312
348
  set height(arg0) {
313
- wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
349
+ wasm.__wbg_set_billboardmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
314
350
  }
315
351
  /**
316
352
  * Avoid overlapping with the globe surface.
@@ -323,7 +359,7 @@ export class BillboardMaterial {
323
359
  * @param {number | null} [arg0]
324
360
  */
325
361
  set opacity(arg0) {
326
- wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
362
+ wasm.__wbg_set_billboardmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
327
363
  }
328
364
  /**
329
365
  * @param {boolean | null} [arg0]
@@ -343,7 +379,7 @@ export class BillboardMaterial {
343
379
  * @param {number | null} [arg0]
344
380
  */
345
381
  set size(arg0) {
346
- wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
382
+ wasm.__wbg_set_billboardmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
347
383
  }
348
384
  /**
349
385
  * @param {boolean | null} [arg0]
@@ -381,7 +417,7 @@ export class BoundingSphere {
381
417
  */
382
418
  constructor(center_x, center_y, center_z, radius) {
383
419
  const ret = wasm.boundingsphere_new(center_x, center_y, center_z, radius);
384
- this.__wbg_ptr = ret >>> 0;
420
+ this.__wbg_ptr = ret;
385
421
  BoundingSphereFinalization.register(this, this.__wbg_ptr, this);
386
422
  return this;
387
423
  }
@@ -473,8 +509,8 @@ export class CachedMeshHandle {
473
509
  * @param {number | null} [heights]
474
510
  */
475
511
  constructor(vertices, indices, uvs, heights) {
476
- const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? 0x100000001 : (heights) >> 0);
477
- this.__wbg_ptr = ret >>> 0;
512
+ const ret = wasm.cachedmeshhandle_new(vertices, indices, uvs, isLikeNone(heights) ? Number.MAX_SAFE_INTEGER : (heights) >> 0);
513
+ this.__wbg_ptr = ret;
478
514
  CachedMeshHandleFinalization.register(this, this.__wbg_ptr, this);
479
515
  return this;
480
516
  }
@@ -483,7 +519,7 @@ export class CachedMeshHandle {
483
519
  */
484
520
  get heights() {
485
521
  const ret = wasm.__wbg_get_cachedmeshhandle_heights(this.__wbg_ptr);
486
- return ret === 0x100000001 ? undefined : ret;
522
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
487
523
  }
488
524
  /**
489
525
  * @returns {number}
@@ -497,7 +533,7 @@ export class CachedMeshHandle {
497
533
  */
498
534
  get normals() {
499
535
  const ret = wasm.__wbg_get_cachedmeshhandle_normals(this.__wbg_ptr);
500
- return ret === 0x100000001 ? undefined : ret;
536
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
501
537
  }
502
538
  /**
503
539
  * @returns {number}
@@ -518,13 +554,13 @@ export class CachedMeshHandle {
518
554
  */
519
555
  get watermask() {
520
556
  const ret = wasm.__wbg_get_cachedmeshhandle_watermask(this.__wbg_ptr);
521
- return ret === 0x100000001 ? undefined : ret;
557
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
522
558
  }
523
559
  /**
524
560
  * @param {number | null} [arg0]
525
561
  */
526
562
  set heights(arg0) {
527
- wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
563
+ wasm.__wbg_set_cachedmeshhandle_heights(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
528
564
  }
529
565
  /**
530
566
  * @param {number} arg0
@@ -536,7 +572,7 @@ export class CachedMeshHandle {
536
572
  * @param {number | null} [arg0]
537
573
  */
538
574
  set normals(arg0) {
539
- wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
575
+ wasm.__wbg_set_cachedmeshhandle_normals(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
540
576
  }
541
577
  /**
542
578
  * @param {number} arg0
@@ -554,7 +590,7 @@ export class CachedMeshHandle {
554
590
  * @param {number | null} [arg0]
555
591
  */
556
592
  set watermask(arg0) {
557
- wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
593
+ wasm.__wbg_set_cachedmeshhandle_watermask(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >> 0);
558
594
  }
559
595
  }
560
596
  if (Symbol.dispose) CachedMeshHandle.prototype[Symbol.dispose] = CachedMeshHandle.prototype.free;
@@ -578,7 +614,7 @@ export class CameraControlUpdateEvent {
578
614
  }
579
615
  constructor() {
580
616
  const ret = wasm.cameracontrolupdateevent_new();
581
- this.__wbg_ptr = ret >>> 0;
617
+ this.__wbg_ptr = ret;
582
618
  CameraControlUpdateEventFinalization.register(this, this.__wbg_ptr, this);
583
619
  return this;
584
620
  }
@@ -654,7 +690,7 @@ export class CameraControlUpdateEvent {
654
690
  */
655
691
  get spinDuration() {
656
692
  const ret = wasm.__wbg_get_cameracontrolupdateevent_spinDuration(this.__wbg_ptr);
657
- return ret === 0x100000001 ? undefined : ret;
693
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
658
694
  }
659
695
  /**
660
696
  * Multiplier for mouse drag rotation speed.
@@ -674,7 +710,7 @@ export class CameraControlUpdateEvent {
674
710
  */
675
711
  get translateDuration() {
676
712
  const ret = wasm.__wbg_get_cameracontrolupdateevent_translateDuration(this.__wbg_ptr);
677
- return ret === 0x100000001 ? undefined : ret;
713
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
678
714
  }
679
715
  /**
680
716
  * Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
@@ -684,7 +720,7 @@ export class CameraControlUpdateEvent {
684
720
  */
685
721
  get zoomDuration() {
686
722
  const ret = wasm.__wbg_get_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr);
687
- return ret === 0x100000001 ? undefined : ret;
723
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
688
724
  }
689
725
  /**
690
726
  * Multiplier for scroll wheel zoom speed.
@@ -761,7 +797,7 @@ export class CameraControlUpdateEvent {
761
797
  * @param {number | null} [arg0]
762
798
  */
763
799
  set spinDuration(arg0) {
764
- wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
800
+ wasm.__wbg_set_cameracontrolupdateevent_spinDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
765
801
  }
766
802
  /**
767
803
  * Multiplier for mouse drag rotation speed.
@@ -779,7 +815,7 @@ export class CameraControlUpdateEvent {
779
815
  * @param {number | null} [arg0]
780
816
  */
781
817
  set translateDuration(arg0) {
782
- wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
818
+ wasm.__wbg_set_cameracontrolupdateevent_translateDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
783
819
  }
784
820
  /**
785
821
  * Duration (in milliseconds) for zoom inertia animation after scroll wheel input.
@@ -788,7 +824,7 @@ export class CameraControlUpdateEvent {
788
824
  * @param {number | null} [arg0]
789
825
  */
790
826
  set zoomDuration(arg0) {
791
- wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
827
+ wasm.__wbg_set_cameracontrolupdateevent_zoomDuration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
792
828
  }
793
829
  /**
794
830
  * Multiplier for scroll wheel zoom speed.
@@ -833,7 +869,7 @@ export class CameraFrustum {
833
869
  */
834
870
  constructor(near, far, fov, aspect_ratio) {
835
871
  const ret = wasm.camerafrustum_new(near, far, fov, aspect_ratio);
836
- this.__wbg_ptr = ret >>> 0;
872
+ this.__wbg_ptr = ret;
837
873
  CameraFrustumFinalization.register(this, this.__wbg_ptr, this);
838
874
  return this;
839
875
  }
@@ -1058,7 +1094,7 @@ export class CompiledExpression {
1058
1094
  if (ret[2]) {
1059
1095
  throw takeFromExternrefTable0(ret[1]);
1060
1096
  }
1061
- this.__wbg_ptr = ret[0] >>> 0;
1097
+ this.__wbg_ptr = ret[0];
1062
1098
  CompiledExpressionFinalization.register(this, this.__wbg_ptr, this);
1063
1099
  return this;
1064
1100
  }
@@ -1086,7 +1122,7 @@ export class CompiledFilter {
1086
1122
  if (ret[2]) {
1087
1123
  throw takeFromExternrefTable0(ret[1]);
1088
1124
  }
1089
- this.__wbg_ptr = ret[0] >>> 0;
1125
+ this.__wbg_ptr = ret[0];
1090
1126
  CompiledFilterFinalization.register(this, this.__wbg_ptr, this);
1091
1127
  return this;
1092
1128
  }
@@ -1284,7 +1320,6 @@ if (Symbol.dispose) ConstructedPolygonGeometry.prototype[Symbol.dispose] = Const
1284
1320
 
1285
1321
  export class ConstructedPolygonOutlineGeometry {
1286
1322
  static __wrap(ptr) {
1287
- ptr = ptr >>> 0;
1288
1323
  const obj = Object.create(ConstructedPolygonOutlineGeometry.prototype);
1289
1324
  obj.__wbg_ptr = ptr;
1290
1325
  ConstructedPolygonOutlineGeometryFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1578,7 +1613,6 @@ if (Symbol.dispose) ConstructedPolylineGeometry.prototype[Symbol.dispose] = Cons
1578
1613
 
1579
1614
  export class ElevationDecoder {
1580
1615
  static __wrap(ptr) {
1581
- ptr = ptr >>> 0;
1582
1616
  const obj = Object.create(ElevationDecoder.prototype);
1583
1617
  obj.__wbg_ptr = ptr;
1584
1618
  ElevationDecoderFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -1620,7 +1654,7 @@ export class ElevationDecoder {
1620
1654
  */
1621
1655
  constructor(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon) {
1622
1656
  const ret = wasm.elevationdecoder_new(r_scaler, g_scaler, b_scaler, offset, max_offset, min_offset, boundary, epsilon);
1623
- this.__wbg_ptr = ret >>> 0;
1657
+ this.__wbg_ptr = ret;
1624
1658
  ElevationDecoderFinalization.register(this, this.__wbg_ptr, this);
1625
1659
  return this;
1626
1660
  }
@@ -1847,7 +1881,7 @@ export class EllipsoidGeodesic {
1847
1881
  _assertClass(end, LLE);
1848
1882
  var ptr1 = end.__destroy_into_raw();
1849
1883
  const ret = wasm.ellipsoidgeodesic_new(ptr0, ptr1);
1850
- this.__wbg_ptr = ret >>> 0;
1884
+ this.__wbg_ptr = ret;
1851
1885
  EllipsoidGeodesicFinalization.register(this, this.__wbg_ptr, this);
1852
1886
  return this;
1853
1887
  }
@@ -1944,7 +1978,7 @@ export class EncodedVec3 {
1944
1978
  _assertClass(low, Vec3);
1945
1979
  var ptr1 = low.__destroy_into_raw();
1946
1980
  const ret = wasm.encodedvec3_new(ptr0, ptr1);
1947
- this.__wbg_ptr = ret >>> 0;
1981
+ this.__wbg_ptr = ret;
1948
1982
  EncodedVec3Finalization.register(this, this.__wbg_ptr, this);
1949
1983
  return this;
1950
1984
  }
@@ -1983,7 +2017,6 @@ if (Symbol.dispose) EncodedVec3.prototype[Symbol.dispose] = EncodedVec3.prototyp
1983
2017
 
1984
2018
  export class ExtentRadianF32 {
1985
2019
  static __wrap(ptr) {
1986
- ptr = ptr >>> 0;
1987
2020
  const obj = Object.create(ExtentRadianF32.prototype);
1988
2021
  obj.__wbg_ptr = ptr;
1989
2022
  ExtentRadianF32Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -2007,7 +2040,7 @@ export class ExtentRadianF32 {
2007
2040
  */
2008
2041
  constructor(west, south, east, north) {
2009
2042
  const ret = wasm.extentradianf32_new(west, south, east, north);
2010
- this.__wbg_ptr = ret >>> 0;
2043
+ this.__wbg_ptr = ret;
2011
2044
  ExtentRadianF32Finalization.register(this, this.__wbg_ptr, this);
2012
2045
  return this;
2013
2046
  }
@@ -2085,7 +2118,7 @@ export class FloatAttribute {
2085
2118
  const ptr0 = passArrayF32ToWasm0(data, wasm.__wbindgen_malloc);
2086
2119
  const len0 = WASM_VECTOR_LEN;
2087
2120
  const ret = wasm.floatattribute_new(ptr0, len0, size);
2088
- this.__wbg_ptr = ret >>> 0;
2121
+ this.__wbg_ptr = ret;
2089
2122
  FloatAttributeFinalization.register(this, this.__wbg_ptr, this);
2090
2123
  return this;
2091
2124
  }
@@ -2118,7 +2151,6 @@ if (Symbol.dispose) FloatAttribute.prototype[Symbol.dispose] = FloatAttribute.pr
2118
2151
  */
2119
2152
  export class FontAtlas {
2120
2153
  static __wrap(ptr) {
2121
- ptr = ptr >>> 0;
2122
2154
  const obj = Object.create(FontAtlas.prototype);
2123
2155
  obj.__wbg_ptr = ptr;
2124
2156
  FontAtlasFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2298,7 +2330,7 @@ export class FontCache {
2298
2330
  }
2299
2331
  constructor() {
2300
2332
  const ret = wasm.fontcache_new();
2301
- this.__wbg_ptr = ret >>> 0;
2333
+ this.__wbg_ptr = ret;
2302
2334
  FontCacheFinalization.register(this, this.__wbg_ptr, this);
2303
2335
  return this;
2304
2336
  }
@@ -2374,7 +2406,6 @@ if (Symbol.dispose) FontCache.prototype[Symbol.dispose] = FontCache.prototype.fr
2374
2406
  */
2375
2407
  export class FontCacheStats {
2376
2408
  static __wrap(ptr) {
2377
- ptr = ptr >>> 0;
2378
2409
  const obj = Object.create(FontCacheStats.prototype);
2379
2410
  obj.__wbg_ptr = ptr;
2380
2411
  FontCacheStatsFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2480,7 +2511,7 @@ export class Geometry {
2480
2511
  const ptr2 = passArrayF32ToWasm0(uvs, wasm.__wbindgen_malloc);
2481
2512
  const len2 = WASM_VECTOR_LEN;
2482
2513
  const ret = wasm.geometry_new(ptr0, len0, ptr1, len1, ptr2, len2);
2483
- this.__wbg_ptr = ret >>> 0;
2514
+ this.__wbg_ptr = ret;
2484
2515
  GeometryFinalization.register(this, this.__wbg_ptr, this);
2485
2516
  return this;
2486
2517
  }
@@ -2663,7 +2694,7 @@ export class Globe {
2663
2694
  const ptr0 = passArrayF32ToWasm0(elevation_colormap, wasm.__wbindgen_malloc);
2664
2695
  const len0 = WASM_VECTOR_LEN;
2665
2696
  const ret = wasm.globe_new(max_sse, segments, color, hide_underground, use_normal, transparent, opacity, wireframe, ptr0, len0);
2666
- this.__wbg_ptr = ret >>> 0;
2697
+ this.__wbg_ptr = ret;
2667
2698
  GlobeFinalization.register(this, this.__wbg_ptr, this);
2668
2699
  return this;
2669
2700
  }
@@ -2769,21 +2800,20 @@ export class HillshadeMaterial {
2769
2800
  */
2770
2801
  get exaggeration() {
2771
2802
  const ret = wasm.__wbg_get_hillshadematerial_exaggeration(this.__wbg_ptr);
2772
- return ret === 0x100000001 ? undefined : ret;
2803
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2773
2804
  }
2774
2805
  /**
2775
2806
  * Exaggeration factor for hillshade effect (default: 1.0)
2776
2807
  * @param {number | null} [arg0]
2777
2808
  */
2778
2809
  set exaggeration(arg0) {
2779
- wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
2810
+ wasm.__wbg_set_hillshadematerial_exaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
2780
2811
  }
2781
2812
  }
2782
2813
  if (Symbol.dispose) HillshadeMaterial.prototype[Symbol.dispose] = HillshadeMaterial.prototype.free;
2783
2814
 
2784
2815
  export class LLE {
2785
2816
  static __wrap(ptr) {
2786
- ptr = ptr >>> 0;
2787
2817
  const obj = Object.create(LLE.prototype);
2788
2818
  obj.__wbg_ptr = ptr;
2789
2819
  LLEFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2827,7 +2857,7 @@ export class LLE {
2827
2857
  */
2828
2858
  constructor(lat, lng, height) {
2829
2859
  const ret = wasm.lle_new(lat, lng, height);
2830
- this.__wbg_ptr = ret >>> 0;
2860
+ this.__wbg_ptr = ret;
2831
2861
  LLEFinalization.register(this, this.__wbg_ptr, this);
2832
2862
  return this;
2833
2863
  }
@@ -2854,7 +2884,6 @@ if (Symbol.dispose) LLE.prototype[Symbol.dispose] = LLE.prototype.free;
2854
2884
 
2855
2885
  export class ModelInternalMaterial {
2856
2886
  static __wrap(ptr) {
2857
- ptr = ptr >>> 0;
2858
2887
  const obj = Object.create(ModelInternalMaterial.prototype);
2859
2888
  obj.__wbg_ptr = ptr;
2860
2889
  ModelInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -2949,7 +2978,7 @@ export class ModelMaterial {
2949
2978
  */
2950
2979
  get animationSpeed() {
2951
2980
  const ret = wasm.__wbg_get_modelmaterial_animationSpeed(this.__wbg_ptr);
2952
- return ret === 0x100000001 ? undefined : ret;
2981
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2953
2982
  }
2954
2983
  /**
2955
2984
  * @returns {boolean | undefined}
@@ -2977,7 +3006,7 @@ export class ModelMaterial {
2977
3006
  */
2978
3007
  get color() {
2979
3008
  const ret = wasm.__wbg_get_modelmaterial_color(this.__wbg_ptr);
2980
- return ret === 0x100000001 ? undefined : ret;
3009
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2981
3010
  }
2982
3011
  /**
2983
3012
  * Crease angle (in radians) used when `normals` is true. Defaults to 30°
@@ -2986,7 +3015,7 @@ export class ModelMaterial {
2986
3015
  */
2987
3016
  get creaseNormalAngle() {
2988
3017
  const ret = wasm.__wbg_get_modelmaterial_creaseNormalAngle(this.__wbg_ptr);
2989
- return ret === 0x100000001 ? undefined : ret;
3018
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
2990
3019
  }
2991
3020
  /**
2992
3021
  * Enable writing to depth buffer
@@ -3015,7 +3044,7 @@ export class ModelMaterial {
3015
3044
  */
3016
3045
  get emissiveColor() {
3017
3046
  const ret = wasm.__wbg_get_modelmaterial_emissiveColor(this.__wbg_ptr);
3018
- return ret === 0x100000001 ? undefined : ret;
3047
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3019
3048
  }
3020
3049
  /**
3021
3050
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -3023,35 +3052,35 @@ export class ModelMaterial {
3023
3052
  */
3024
3053
  get emissiveIntensity() {
3025
3054
  const ret = wasm.__wbg_get_modelmaterial_emissiveIntensity(this.__wbg_ptr);
3026
- return ret === 0x100000001 ? undefined : ret;
3055
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3027
3056
  }
3028
3057
  /**
3029
3058
  * @returns {number | undefined}
3030
3059
  */
3031
3060
  get height() {
3032
3061
  const ret = wasm.__wbg_get_modelmaterial_height(this.__wbg_ptr);
3033
- return ret === 0x100000001 ? undefined : ret;
3062
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3034
3063
  }
3035
3064
  /**
3036
3065
  * @returns {number | undefined}
3037
3066
  */
3038
3067
  get ior() {
3039
3068
  const ret = wasm.__wbg_get_modelmaterial_ior(this.__wbg_ptr);
3040
- return ret === 0x100000001 ? undefined : ret;
3069
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3041
3070
  }
3042
3071
  /**
3043
3072
  * @returns {number | undefined}
3044
3073
  */
3045
3074
  get maxSse() {
3046
3075
  const ret = wasm.__wbg_get_modelmaterial_maxSse(this.__wbg_ptr);
3047
- return ret === 0x100000001 ? undefined : ret;
3076
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3048
3077
  }
3049
3078
  /**
3050
3079
  * @returns {number | undefined}
3051
3080
  */
3052
3081
  get metalness() {
3053
3082
  const ret = wasm.__wbg_get_modelmaterial_metalness(this.__wbg_ptr);
3054
- return ret === 0x100000001 ? undefined : ret;
3083
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3055
3084
  }
3056
3085
  /**
3057
3086
  * When true, recompute vertex normals using a creased-normals algorithm
@@ -3069,14 +3098,14 @@ export class ModelMaterial {
3069
3098
  */
3070
3099
  get opacity() {
3071
3100
  const ret = wasm.__wbg_get_modelmaterial_opacity(this.__wbg_ptr);
3072
- return ret === 0x100000001 ? undefined : ret;
3101
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3073
3102
  }
3074
3103
  /**
3075
3104
  * @returns {number | undefined}
3076
3105
  */
3077
3106
  get pointSize() {
3078
3107
  const ret = wasm.__wbg_get_modelmaterial_pointSize(this.__wbg_ptr);
3079
- return ret === 0x100000001 ? undefined : ret;
3108
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3080
3109
  }
3081
3110
  /**
3082
3111
  * @returns {boolean | undefined}
@@ -3091,7 +3120,7 @@ export class ModelMaterial {
3091
3120
  */
3092
3121
  get reflectivity() {
3093
3122
  const ret = wasm.__wbg_get_modelmaterial_reflectivity(this.__wbg_ptr);
3094
- return ret === 0x100000001 ? undefined : ret;
3123
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3095
3124
  }
3096
3125
  /**
3097
3126
  * Reflectivity for post-process.
@@ -3099,14 +3128,14 @@ export class ModelMaterial {
3099
3128
  */
3100
3129
  get roughness() {
3101
3130
  const ret = wasm.__wbg_get_modelmaterial_roughness(this.__wbg_ptr);
3102
- return ret === 0x100000001 ? undefined : ret;
3131
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3103
3132
  }
3104
3133
  /**
3105
3134
  * @returns {number | undefined}
3106
3135
  */
3107
3136
  get shininess() {
3108
3137
  const ret = wasm.__wbg_get_modelmaterial_shininess(this.__wbg_ptr);
3109
- return ret === 0x100000001 ? undefined : ret;
3138
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3110
3139
  }
3111
3140
  /**
3112
3141
  * @returns {boolean | undefined}
@@ -3134,14 +3163,14 @@ export class ModelMaterial {
3134
3163
  */
3135
3164
  get size() {
3136
3165
  const ret = wasm.__wbg_get_modelmaterial_size(this.__wbg_ptr);
3137
- return ret === 0x100000001 ? undefined : ret;
3166
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3138
3167
  }
3139
3168
  /**
3140
3169
  * @returns {number | undefined}
3141
3170
  */
3142
3171
  get specularStrength() {
3143
3172
  const ret = wasm.__wbg_get_modelmaterial_specularStrength(this.__wbg_ptr);
3144
- return ret === 0x100000001 ? undefined : ret;
3173
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3145
3174
  }
3146
3175
  /**
3147
3176
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -3177,7 +3206,7 @@ export class ModelMaterial {
3177
3206
  */
3178
3207
  get waterScaleNormal() {
3179
3208
  const ret = wasm.__wbg_get_modelmaterial_waterScaleNormal(this.__wbg_ptr);
3180
- return ret === 0x100000001 ? undefined : ret;
3209
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3181
3210
  }
3182
3211
  /**
3183
3212
  * Water wave speed.
@@ -3185,7 +3214,7 @@ export class ModelMaterial {
3185
3214
  */
3186
3215
  get waterSpeed() {
3187
3216
  const ret = wasm.__wbg_get_modelmaterial_waterSpeed(this.__wbg_ptr);
3188
- return ret === 0x100000001 ? undefined : ret;
3217
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3189
3218
  }
3190
3219
  /**
3191
3220
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -3218,7 +3247,7 @@ export class ModelMaterial {
3218
3247
  * @param {number | null} [arg0]
3219
3248
  */
3220
3249
  set animationSpeed(arg0) {
3221
- wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3250
+ wasm.__wbg_set_modelmaterial_animationSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3222
3251
  }
3223
3252
  /**
3224
3253
  * @param {boolean | null} [arg0]
@@ -3242,7 +3271,7 @@ export class ModelMaterial {
3242
3271
  * @param {number | null} [arg0]
3243
3272
  */
3244
3273
  set color(arg0) {
3245
- wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
3274
+ wasm.__wbg_set_modelmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3246
3275
  }
3247
3276
  /**
3248
3277
  * Crease angle (in radians) used when `normals` is true. Defaults to 30°
@@ -3250,7 +3279,7 @@ export class ModelMaterial {
3250
3279
  * @param {number | null} [arg0]
3251
3280
  */
3252
3281
  set creaseNormalAngle(arg0) {
3253
- wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3282
+ wasm.__wbg_set_modelmaterial_creaseNormalAngle(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3254
3283
  }
3255
3284
  /**
3256
3285
  * Enable writing to depth buffer
@@ -3273,38 +3302,38 @@ export class ModelMaterial {
3273
3302
  * @param {number | null} [arg0]
3274
3303
  */
3275
3304
  set emissiveColor(arg0) {
3276
- wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
3305
+ wasm.__wbg_set_modelmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3277
3306
  }
3278
3307
  /**
3279
3308
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
3280
3309
  * @param {number | null} [arg0]
3281
3310
  */
3282
3311
  set emissiveIntensity(arg0) {
3283
- wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3312
+ wasm.__wbg_set_modelmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3284
3313
  }
3285
3314
  /**
3286
3315
  * @param {number | null} [arg0]
3287
3316
  */
3288
3317
  set height(arg0) {
3289
- wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3318
+ wasm.__wbg_set_modelmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3290
3319
  }
3291
3320
  /**
3292
3321
  * @param {number | null} [arg0]
3293
3322
  */
3294
3323
  set ior(arg0) {
3295
- wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3324
+ wasm.__wbg_set_modelmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3296
3325
  }
3297
3326
  /**
3298
3327
  * @param {number | null} [arg0]
3299
3328
  */
3300
3329
  set maxSse(arg0) {
3301
- wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3330
+ wasm.__wbg_set_modelmaterial_maxSse(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3302
3331
  }
3303
3332
  /**
3304
3333
  * @param {number | null} [arg0]
3305
3334
  */
3306
3335
  set metalness(arg0) {
3307
- wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3336
+ wasm.__wbg_set_modelmaterial_metalness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3308
3337
  }
3309
3338
  /**
3310
3339
  * When true, recompute vertex normals using a creased-normals algorithm
@@ -3320,13 +3349,13 @@ export class ModelMaterial {
3320
3349
  * @param {number | null} [arg0]
3321
3350
  */
3322
3351
  set opacity(arg0) {
3323
- wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3352
+ wasm.__wbg_set_modelmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3324
3353
  }
3325
3354
  /**
3326
3355
  * @param {number | null} [arg0]
3327
3356
  */
3328
3357
  set pointSize(arg0) {
3329
- wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3358
+ wasm.__wbg_set_modelmaterial_pointSize(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3330
3359
  }
3331
3360
  /**
3332
3361
  * @param {boolean | null} [arg0]
@@ -3339,20 +3368,20 @@ export class ModelMaterial {
3339
3368
  * @param {number | null} [arg0]
3340
3369
  */
3341
3370
  set reflectivity(arg0) {
3342
- wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3371
+ wasm.__wbg_set_modelmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3343
3372
  }
3344
3373
  /**
3345
3374
  * Reflectivity for post-process.
3346
3375
  * @param {number | null} [arg0]
3347
3376
  */
3348
3377
  set roughness(arg0) {
3349
- wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3378
+ wasm.__wbg_set_modelmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3350
3379
  }
3351
3380
  /**
3352
3381
  * @param {number | null} [arg0]
3353
3382
  */
3354
3383
  set shininess(arg0) {
3355
- wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3384
+ wasm.__wbg_set_modelmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3356
3385
  }
3357
3386
  /**
3358
3387
  * @param {boolean | null} [arg0]
@@ -3376,13 +3405,13 @@ export class ModelMaterial {
3376
3405
  * @param {number | null} [arg0]
3377
3406
  */
3378
3407
  set size(arg0) {
3379
- wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3408
+ wasm.__wbg_set_modelmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3380
3409
  }
3381
3410
  /**
3382
3411
  * @param {number | null} [arg0]
3383
3412
  */
3384
3413
  set specularStrength(arg0) {
3385
- wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3414
+ wasm.__wbg_set_modelmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3386
3415
  }
3387
3416
  /**
3388
3417
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -3411,14 +3440,14 @@ export class ModelMaterial {
3411
3440
  * @param {number | null} [arg0]
3412
3441
  */
3413
3442
  set waterScaleNormal(arg0) {
3414
- wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3443
+ wasm.__wbg_set_modelmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3415
3444
  }
3416
3445
  /**
3417
3446
  * Water wave speed.
3418
3447
  * @param {number | null} [arg0]
3419
3448
  */
3420
3449
  set waterSpeed(arg0) {
3421
- wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3450
+ wasm.__wbg_set_modelmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3422
3451
  }
3423
3452
  /**
3424
3453
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -3571,7 +3600,26 @@ export class PointMaterial {
3571
3600
  */
3572
3601
  get color() {
3573
3602
  const ret = wasm.__wbg_get_pointmaterial_color(this.__wbg_ptr);
3574
- return ret === 0x100000001 ? undefined : ret;
3603
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3604
+ }
3605
+ /**
3606
+ * Placement priority for decluttering; higher wins. Only meaningful when
3607
+ * `declutter` is enabled. Defaults to `0.0`.
3608
+ * @returns {number | undefined}
3609
+ */
3610
+ get declutterPriority() {
3611
+ const ret = wasm.__wbg_get_pointmaterial_declutterPriority(this.__wbg_ptr);
3612
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3613
+ }
3614
+ /**
3615
+ * Participate in screen-space decluttering: when labels/sprites overlap
3616
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
3617
+ * `false` to draw every label unconditionally.
3618
+ * @returns {boolean | undefined}
3619
+ */
3620
+ get declutter() {
3621
+ const ret = wasm.__wbg_get_pointmaterial_declutter(this.__wbg_ptr);
3622
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
3575
3623
  }
3576
3624
  /**
3577
3625
  * @returns {boolean | undefined}
@@ -3599,7 +3647,7 @@ export class PointMaterial {
3599
3647
  */
3600
3648
  get emissiveColor() {
3601
3649
  const ret = wasm.__wbg_get_pointmaterial_emissiveColor(this.__wbg_ptr);
3602
- return ret === 0x100000001 ? undefined : ret;
3650
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3603
3651
  }
3604
3652
  /**
3605
3653
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -3607,14 +3655,14 @@ export class PointMaterial {
3607
3655
  */
3608
3656
  get emissiveIntensity() {
3609
3657
  const ret = wasm.__wbg_get_pointmaterial_emissiveIntensity(this.__wbg_ptr);
3610
- return ret === 0x100000001 ? undefined : ret;
3658
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3611
3659
  }
3612
3660
  /**
3613
3661
  * @returns {number | undefined}
3614
3662
  */
3615
3663
  get height() {
3616
3664
  const ret = wasm.__wbg_get_pointmaterial_height(this.__wbg_ptr);
3617
- return ret === 0x100000001 ? undefined : ret;
3665
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3618
3666
  }
3619
3667
  /**
3620
3668
  * Avoid overlapping with the globe surface.
@@ -3629,7 +3677,7 @@ export class PointMaterial {
3629
3677
  */
3630
3678
  get opacity() {
3631
3679
  const ret = wasm.__wbg_get_pointmaterial_opacity(this.__wbg_ptr);
3632
- return ret === 0x100000001 ? undefined : ret;
3680
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3633
3681
  }
3634
3682
  /**
3635
3683
  * @returns {boolean | undefined}
@@ -3652,7 +3700,7 @@ export class PointMaterial {
3652
3700
  */
3653
3701
  get size() {
3654
3702
  const ret = wasm.__wbg_get_pointmaterial_size(this.__wbg_ptr);
3655
- return ret === 0x100000001 ? undefined : ret;
3703
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
3656
3704
  }
3657
3705
  /**
3658
3706
  * @returns {boolean | undefined}
@@ -3684,7 +3732,24 @@ export class PointMaterial {
3684
3732
  * @param {number | null} [arg0]
3685
3733
  */
3686
3734
  set color(arg0) {
3687
- wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
3735
+ wasm.__wbg_set_pointmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3736
+ }
3737
+ /**
3738
+ * Placement priority for decluttering; higher wins. Only meaningful when
3739
+ * `declutter` is enabled. Defaults to `0.0`.
3740
+ * @param {number | null} [arg0]
3741
+ */
3742
+ set declutterPriority(arg0) {
3743
+ wasm.__wbg_set_pointmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3744
+ }
3745
+ /**
3746
+ * Participate in screen-space decluttering: when labels/sprites overlap
3747
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
3748
+ * `false` to draw every label unconditionally.
3749
+ * @param {boolean | null} [arg0]
3750
+ */
3751
+ set declutter(arg0) {
3752
+ wasm.__wbg_set_pointmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
3688
3753
  }
3689
3754
  /**
3690
3755
  * @param {boolean | null} [arg0]
@@ -3706,20 +3771,20 @@ export class PointMaterial {
3706
3771
  * @param {number | null} [arg0]
3707
3772
  */
3708
3773
  set emissiveColor(arg0) {
3709
- wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
3774
+ wasm.__wbg_set_pointmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
3710
3775
  }
3711
3776
  /**
3712
3777
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
3713
3778
  * @param {number | null} [arg0]
3714
3779
  */
3715
3780
  set emissiveIntensity(arg0) {
3716
- wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3781
+ wasm.__wbg_set_pointmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3717
3782
  }
3718
3783
  /**
3719
3784
  * @param {number | null} [arg0]
3720
3785
  */
3721
3786
  set height(arg0) {
3722
- wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3787
+ wasm.__wbg_set_pointmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3723
3788
  }
3724
3789
  /**
3725
3790
  * Avoid overlapping with the globe surface.
@@ -3732,7 +3797,7 @@ export class PointMaterial {
3732
3797
  * @param {number | null} [arg0]
3733
3798
  */
3734
3799
  set opacity(arg0) {
3735
- wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3800
+ wasm.__wbg_set_pointmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3736
3801
  }
3737
3802
  /**
3738
3803
  * @param {boolean | null} [arg0]
@@ -3752,7 +3817,7 @@ export class PointMaterial {
3752
3817
  * @param {number | null} [arg0]
3753
3818
  */
3754
3819
  set size(arg0) {
3755
- wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
3820
+ wasm.__wbg_set_pointmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
3756
3821
  }
3757
3822
  /**
3758
3823
  * @param {boolean | null} [arg0]
@@ -3996,7 +4061,6 @@ if (Symbol.dispose) PolygonGeometryAttributes.prototype[Symbol.dispose] = Polygo
3996
4061
 
3997
4062
  export class PolygonInternalMaterial {
3998
4063
  static __wrap(ptr) {
3999
- ptr = ptr >>> 0;
4000
4064
  const obj = Object.create(PolygonInternalMaterial.prototype);
4001
4065
  obj.__wbg_ptr = ptr;
4002
4066
  PolygonInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -4076,7 +4140,7 @@ export class PolygonMaterial {
4076
4140
  */
4077
4141
  get color() {
4078
4142
  const ret = wasm.__wbg_get_polygonmaterial_color(this.__wbg_ptr);
4079
- return ret === 0x100000001 ? undefined : ret;
4143
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4080
4144
  }
4081
4145
  /**
4082
4146
  * IDs of selective effects to apply (e.g., "bloom", "outline")
@@ -4097,7 +4161,7 @@ export class PolygonMaterial {
4097
4161
  */
4098
4162
  get emissiveColor() {
4099
4163
  const ret = wasm.__wbg_get_polygonmaterial_emissiveColor(this.__wbg_ptr);
4100
- return ret === 0x100000001 ? undefined : ret;
4164
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4101
4165
  }
4102
4166
  /**
4103
4167
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -4105,28 +4169,28 @@ export class PolygonMaterial {
4105
4169
  */
4106
4170
  get emissiveIntensity() {
4107
4171
  const ret = wasm.__wbg_get_polygonmaterial_emissiveIntensity(this.__wbg_ptr);
4108
- return ret === 0x100000001 ? undefined : ret;
4172
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4109
4173
  }
4110
4174
  /**
4111
4175
  * @returns {number | undefined}
4112
4176
  */
4113
4177
  get extrudedHeight() {
4114
4178
  const ret = wasm.__wbg_get_polygonmaterial_extrudedHeight(this.__wbg_ptr);
4115
- return ret === 0x100000001 ? undefined : ret;
4179
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4116
4180
  }
4117
4181
  /**
4118
4182
  * @returns {number | undefined}
4119
4183
  */
4120
4184
  get height() {
4121
4185
  const ret = wasm.__wbg_get_polygonmaterial_height(this.__wbg_ptr);
4122
- return ret === 0x100000001 ? undefined : ret;
4186
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4123
4187
  }
4124
4188
  /**
4125
4189
  * @returns {number | undefined}
4126
4190
  */
4127
4191
  get ior() {
4128
4192
  const ret = wasm.__wbg_get_polygonmaterial_ior(this.__wbg_ptr);
4129
- return ret === 0x100000001 ? undefined : ret;
4193
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4130
4194
  }
4131
4195
  /**
4132
4196
  * Need to enable `transparent`.
@@ -4134,7 +4198,7 @@ export class PolygonMaterial {
4134
4198
  */
4135
4199
  get opacity() {
4136
4200
  const ret = wasm.__wbg_get_polygonmaterial_opacity(this.__wbg_ptr);
4137
- return ret === 0x100000001 ? undefined : ret;
4201
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4138
4202
  }
4139
4203
  /**
4140
4204
  * Currently, this property is supported only in GeoJSON.
@@ -4142,7 +4206,7 @@ export class PolygonMaterial {
4142
4206
  */
4143
4207
  get outlineColor() {
4144
4208
  const ret = wasm.__wbg_get_polygonmaterial_outlineColor(this.__wbg_ptr);
4145
- return ret === 0x100000001 ? undefined : ret;
4209
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4146
4210
  }
4147
4211
  /**
4148
4212
  * Currently, this property is supported only in GeoJSON.
@@ -4158,7 +4222,7 @@ export class PolygonMaterial {
4158
4222
  */
4159
4223
  get outlineWidth() {
4160
4224
  const ret = wasm.__wbg_get_polygonmaterial_outlineWidth(this.__wbg_ptr);
4161
- return ret === 0x100000001 ? undefined : ret;
4225
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4162
4226
  }
4163
4227
  /**
4164
4228
  * Whether to compute outline geometry. Only effective at initial load time.
@@ -4190,7 +4254,7 @@ export class PolygonMaterial {
4190
4254
  */
4191
4255
  get reflectivity() {
4192
4256
  const ret = wasm.__wbg_get_polygonmaterial_reflectivity(this.__wbg_ptr);
4193
- return ret === 0x100000001 ? undefined : ret;
4257
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4194
4258
  }
4195
4259
  /**
4196
4260
  * Reflectivity for post-process.
@@ -4198,14 +4262,14 @@ export class PolygonMaterial {
4198
4262
  */
4199
4263
  get roughness() {
4200
4264
  const ret = wasm.__wbg_get_polygonmaterial_roughness(this.__wbg_ptr);
4201
- return ret === 0x100000001 ? undefined : ret;
4265
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4202
4266
  }
4203
4267
  /**
4204
4268
  * @returns {number | undefined}
4205
4269
  */
4206
4270
  get shininess() {
4207
4271
  const ret = wasm.__wbg_get_polygonmaterial_shininess(this.__wbg_ptr);
4208
- return ret === 0x100000001 ? undefined : ret;
4272
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4209
4273
  }
4210
4274
  /**
4211
4275
  * @returns {boolean | undefined}
@@ -4219,7 +4283,7 @@ export class PolygonMaterial {
4219
4283
  */
4220
4284
  get specularStrength() {
4221
4285
  const ret = wasm.__wbg_get_polygonmaterial_specularStrength(this.__wbg_ptr);
4222
- return ret === 0x100000001 ? undefined : ret;
4286
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4223
4287
  }
4224
4288
  /**
4225
4289
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -4264,7 +4328,7 @@ export class PolygonMaterial {
4264
4328
  */
4265
4329
  get waterScaleNormal() {
4266
4330
  const ret = wasm.__wbg_get_polygonmaterial_waterScaleNormal(this.__wbg_ptr);
4267
- return ret === 0x100000001 ? undefined : ret;
4331
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4268
4332
  }
4269
4333
  /**
4270
4334
  * Water wave speed.
@@ -4272,7 +4336,7 @@ export class PolygonMaterial {
4272
4336
  */
4273
4337
  get waterSpeed() {
4274
4338
  const ret = wasm.__wbg_get_polygonmaterial_waterSpeed(this.__wbg_ptr);
4275
- return ret === 0x100000001 ? undefined : ret;
4339
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
4276
4340
  }
4277
4341
  /**
4278
4342
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -4309,8 +4373,8 @@ export class PolygonMaterial {
4309
4373
  _assertClass(__internal__, PolygonInternalMaterial);
4310
4374
  ptr0 = __internal__.__destroy_into_raw();
4311
4375
  }
4312
- 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);
4313
- this.__wbg_ptr = ret >>> 0;
4376
+ 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);
4377
+ this.__wbg_ptr = ret;
4314
4378
  PolygonMaterialFinalization.register(this, this.__wbg_ptr, this);
4315
4379
  return this;
4316
4380
  }
@@ -4347,7 +4411,7 @@ export class PolygonMaterial {
4347
4411
  * @param {number | null} [arg0]
4348
4412
  */
4349
4413
  set color(arg0) {
4350
- wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4414
+ wasm.__wbg_set_polygonmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4351
4415
  }
4352
4416
  /**
4353
4417
  * IDs of selective effects to apply (e.g., "bloom", "outline")
@@ -4363,46 +4427,46 @@ export class PolygonMaterial {
4363
4427
  * @param {number | null} [arg0]
4364
4428
  */
4365
4429
  set emissiveColor(arg0) {
4366
- wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4430
+ wasm.__wbg_set_polygonmaterial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4367
4431
  }
4368
4432
  /**
4369
4433
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
4370
4434
  * @param {number | null} [arg0]
4371
4435
  */
4372
4436
  set emissiveIntensity(arg0) {
4373
- wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4437
+ wasm.__wbg_set_polygonmaterial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4374
4438
  }
4375
4439
  /**
4376
4440
  * @param {number | null} [arg0]
4377
4441
  */
4378
4442
  set extrudedHeight(arg0) {
4379
- wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4443
+ wasm.__wbg_set_polygonmaterial_extrudedHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4380
4444
  }
4381
4445
  /**
4382
4446
  * @param {number | null} [arg0]
4383
4447
  */
4384
4448
  set height(arg0) {
4385
- wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4449
+ wasm.__wbg_set_polygonmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4386
4450
  }
4387
4451
  /**
4388
4452
  * @param {number | null} [arg0]
4389
4453
  */
4390
4454
  set ior(arg0) {
4391
- wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4455
+ wasm.__wbg_set_polygonmaterial_ior(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4392
4456
  }
4393
4457
  /**
4394
4458
  * Need to enable `transparent`.
4395
4459
  * @param {number | null} [arg0]
4396
4460
  */
4397
4461
  set opacity(arg0) {
4398
- wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4462
+ wasm.__wbg_set_polygonmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4399
4463
  }
4400
4464
  /**
4401
4465
  * Currently, this property is supported only in GeoJSON.
4402
4466
  * @param {number | null} [arg0]
4403
4467
  */
4404
4468
  set outlineColor(arg0) {
4405
- wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
4469
+ wasm.__wbg_set_polygonmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
4406
4470
  }
4407
4471
  /**
4408
4472
  * Currently, this property is supported only in GeoJSON.
@@ -4416,7 +4480,7 @@ export class PolygonMaterial {
4416
4480
  * @param {number | null} [arg0]
4417
4481
  */
4418
4482
  set outlineWidth(arg0) {
4419
- wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4483
+ wasm.__wbg_set_polygonmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4420
4484
  }
4421
4485
  /**
4422
4486
  * Whether to compute outline geometry. Only effective at initial load time.
@@ -4444,20 +4508,20 @@ export class PolygonMaterial {
4444
4508
  * @param {number | null} [arg0]
4445
4509
  */
4446
4510
  set reflectivity(arg0) {
4447
- wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4511
+ wasm.__wbg_set_polygonmaterial_reflectivity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4448
4512
  }
4449
4513
  /**
4450
4514
  * Reflectivity for post-process.
4451
4515
  * @param {number | null} [arg0]
4452
4516
  */
4453
4517
  set roughness(arg0) {
4454
- wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4518
+ wasm.__wbg_set_polygonmaterial_roughness(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4455
4519
  }
4456
4520
  /**
4457
4521
  * @param {number | null} [arg0]
4458
4522
  */
4459
4523
  set shininess(arg0) {
4460
- wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4524
+ wasm.__wbg_set_polygonmaterial_shininess(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4461
4525
  }
4462
4526
  /**
4463
4527
  * @param {boolean | null} [arg0]
@@ -4469,7 +4533,7 @@ export class PolygonMaterial {
4469
4533
  * @param {number | null} [arg0]
4470
4534
  */
4471
4535
  set specularStrength(arg0) {
4472
- wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4536
+ wasm.__wbg_set_polygonmaterial_specularStrength(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4473
4537
  }
4474
4538
  /**
4475
4539
  * Enabling this value allows using `shininess` and `specular_strength`.
@@ -4509,14 +4573,14 @@ export class PolygonMaterial {
4509
4573
  * @param {number | null} [arg0]
4510
4574
  */
4511
4575
  set waterScaleNormal(arg0) {
4512
- wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4576
+ wasm.__wbg_set_polygonmaterial_waterScaleNormal(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4513
4577
  }
4514
4578
  /**
4515
4579
  * Water wave speed.
4516
4580
  * @param {number | null} [arg0]
4517
4581
  */
4518
4582
  set waterSpeed(arg0) {
4519
- wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
4583
+ wasm.__wbg_set_polygonmaterial_waterSpeed(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
4520
4584
  }
4521
4585
  /**
4522
4586
  * Apply a water material on the polygon. It might slow down the loading of the mesh.
@@ -4963,7 +5027,6 @@ if (Symbol.dispose) PolylineGeometryAttributes.prototype[Symbol.dispose] = Polyl
4963
5027
 
4964
5028
  export class PolylineInternalMaterial {
4965
5029
  static __wrap(ptr) {
4966
- ptr = ptr >>> 0;
4967
5030
  const obj = Object.create(PolylineInternalMaterial.prototype);
4968
5031
  obj.__wbg_ptr = ptr;
4969
5032
  PolylineInternalMaterialFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -5036,7 +5099,7 @@ export class PolylineMaterial {
5036
5099
  */
5037
5100
  get color() {
5038
5101
  const ret = wasm.__wbg_get_polylinematerial_color(this.__wbg_ptr);
5039
- return ret === 0x100000001 ? undefined : ret;
5102
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5040
5103
  }
5041
5104
  /**
5042
5105
  * Enable writing to depth buffer
@@ -5065,7 +5128,7 @@ export class PolylineMaterial {
5065
5128
  */
5066
5129
  get emissiveColor() {
5067
5130
  const ret = wasm.__wbg_get_polylinematerial_emissiveColor(this.__wbg_ptr);
5068
- return ret === 0x100000001 ? undefined : ret;
5131
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5069
5132
  }
5070
5133
  /**
5071
5134
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
@@ -5073,14 +5136,14 @@ export class PolylineMaterial {
5073
5136
  */
5074
5137
  get emissiveIntensity() {
5075
5138
  const ret = wasm.__wbg_get_polylinematerial_emissiveIntensity(this.__wbg_ptr);
5076
- return ret === 0x100000001 ? undefined : ret;
5139
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5077
5140
  }
5078
5141
  /**
5079
5142
  * @returns {number | undefined}
5080
5143
  */
5081
5144
  get height() {
5082
5145
  const ret = wasm.__wbg_get_polylinematerial_height(this.__wbg_ptr);
5083
- return ret === 0x100000001 ? undefined : ret;
5146
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5084
5147
  }
5085
5148
  /**
5086
5149
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
@@ -5089,7 +5152,7 @@ export class PolylineMaterial {
5089
5152
  */
5090
5153
  get maxWidth() {
5091
5154
  const ret = wasm.__wbg_get_polylinematerial_maxWidth(this.__wbg_ptr);
5092
- return ret === 0x100000001 ? undefined : ret;
5155
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5093
5156
  }
5094
5157
  /**
5095
5158
  * Opacity value
@@ -5097,7 +5160,7 @@ export class PolylineMaterial {
5097
5160
  */
5098
5161
  get opacity() {
5099
5162
  const ret = wasm.__wbg_get_polylinematerial_opacity(this.__wbg_ptr);
5100
- return ret === 0x100000001 ? undefined : ret;
5163
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5101
5164
  }
5102
5165
  /**
5103
5166
  * @returns {boolean | undefined}
@@ -5138,7 +5201,7 @@ export class PolylineMaterial {
5138
5201
  */
5139
5202
  get width() {
5140
5203
  const ret = wasm.__wbg_get_polylinematerial_width(this.__wbg_ptr);
5141
- return ret === 0x100000001 ? undefined : ret;
5204
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5142
5205
  }
5143
5206
  /**
5144
5207
  * @param {boolean | null} [show]
@@ -5158,8 +5221,8 @@ export class PolylineMaterial {
5158
5221
  _assertClass(__internal__, PolylineInternalMaterial);
5159
5222
  ptr0 = __internal__.__destroy_into_raw();
5160
5223
  }
5161
- 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);
5162
- this.__wbg_ptr = ret >>> 0;
5224
+ 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);
5225
+ this.__wbg_ptr = ret;
5163
5226
  PolylineMaterialFinalization.register(this, this.__wbg_ptr, this);
5164
5227
  return this;
5165
5228
  }
@@ -5190,7 +5253,7 @@ export class PolylineMaterial {
5190
5253
  * @param {number | null} [arg0]
5191
5254
  */
5192
5255
  set color(arg0) {
5193
- wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5256
+ wasm.__wbg_set_polylinematerial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5194
5257
  }
5195
5258
  /**
5196
5259
  * Enable writing to depth buffer
@@ -5213,20 +5276,20 @@ export class PolylineMaterial {
5213
5276
  * @param {number | null} [arg0]
5214
5277
  */
5215
5278
  set emissiveColor(arg0) {
5216
- wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5279
+ wasm.__wbg_set_polylinematerial_emissiveColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5217
5280
  }
5218
5281
  /**
5219
5282
  * Emissive glow intensity (default: 0.3 when Bloom enabled)
5220
5283
  * @param {number | null} [arg0]
5221
5284
  */
5222
5285
  set emissiveIntensity(arg0) {
5223
- wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5286
+ wasm.__wbg_set_polylinematerial_emissiveIntensity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5224
5287
  }
5225
5288
  /**
5226
5289
  * @param {number | null} [arg0]
5227
5290
  */
5228
5291
  set height(arg0) {
5229
- wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5292
+ wasm.__wbg_set_polylinematerial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5230
5293
  }
5231
5294
  /**
5232
5295
  * Maximum line width in pixels, clamping the rendered width regardless of zoom level.
@@ -5234,14 +5297,14 @@ export class PolylineMaterial {
5234
5297
  * @param {number | null} [arg0]
5235
5298
  */
5236
5299
  set maxWidth(arg0) {
5237
- wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5300
+ wasm.__wbg_set_polylinematerial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5238
5301
  }
5239
5302
  /**
5240
5303
  * Opacity value
5241
5304
  * @param {number | null} [arg0]
5242
5305
  */
5243
5306
  set opacity(arg0) {
5244
- wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5307
+ wasm.__wbg_set_polylinematerial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5245
5308
  }
5246
5309
  /**
5247
5310
  * @param {boolean | null} [arg0]
@@ -5277,7 +5340,7 @@ export class PolylineMaterial {
5277
5340
  * @param {number | null} [arg0]
5278
5341
  */
5279
5342
  set width(arg0) {
5280
- wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5343
+ wasm.__wbg_set_polylinematerial_width(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5281
5344
  }
5282
5345
  }
5283
5346
  if (Symbol.dispose) PolylineMaterial.prototype[Symbol.dispose] = PolylineMaterial.prototype.free;
@@ -5303,14 +5366,14 @@ export class RasterMaterial {
5303
5366
  */
5304
5367
  get color() {
5305
5368
  const ret = wasm.__wbg_get_rastermaterial_color(this.__wbg_ptr);
5306
- return ret === 0x100000001 ? undefined : ret;
5369
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5307
5370
  }
5308
5371
  /**
5309
5372
  * @returns {number | undefined}
5310
5373
  */
5311
5374
  get opacity() {
5312
5375
  const ret = wasm.__wbg_get_rastermaterial_opacity(this.__wbg_ptr);
5313
- return ret === 0x100000001 ? undefined : ret;
5376
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
5314
5377
  }
5315
5378
  /**
5316
5379
  * @returns {boolean | undefined}
@@ -5330,13 +5393,13 @@ export class RasterMaterial {
5330
5393
  * @param {number | null} [arg0]
5331
5394
  */
5332
5395
  set color(arg0) {
5333
- wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
5396
+ wasm.__wbg_set_rastermaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
5334
5397
  }
5335
5398
  /**
5336
5399
  * @param {number | null} [arg0]
5337
5400
  */
5338
5401
  set opacity(arg0) {
5339
- wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
5402
+ wasm.__wbg_set_rastermaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
5340
5403
  }
5341
5404
  /**
5342
5405
  * @param {boolean | null} [arg0]
@@ -5862,7 +5925,7 @@ export class Ray {
5862
5925
  _assertClass(direction, Vec3);
5863
5926
  var ptr1 = direction.__destroy_into_raw();
5864
5927
  const ret = wasm.ray_new(ptr0, ptr1);
5865
- this.__wbg_ptr = ret >>> 0;
5928
+ this.__wbg_ptr = ret;
5866
5929
  RayFinalization.register(this, this.__wbg_ptr, this);
5867
5930
  return this;
5868
5931
  }
@@ -5956,7 +6019,7 @@ export class ReturnedConstructedTerrainMesh {
5956
6019
  ptr2 = rtc_translation.__destroy_into_raw();
5957
6020
  }
5958
6021
  const ret = wasm.returnedconstructedterrainmesh_new(ptr0, max_height, min_height, ptr1, len1, ptr2);
5959
- this.__wbg_ptr = ret >>> 0;
6022
+ this.__wbg_ptr = ret;
5960
6023
  ReturnedConstructedTerrainMeshFinalization.register(this, this.__wbg_ptr, this);
5961
6024
  return this;
5962
6025
  }
@@ -6058,7 +6121,6 @@ if (Symbol.dispose) ReturnedConstructedTerrainMesh.prototype[Symbol.dispose] = R
6058
6121
 
6059
6122
  export class ShapeTextResult {
6060
6123
  static __wrap(ptr) {
6061
- ptr = ptr >>> 0;
6062
6124
  const obj = Object.create(ShapeTextResult.prototype);
6063
6125
  obj.__wbg_ptr = ptr;
6064
6126
  ShapeTextResultFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6277,7 +6339,7 @@ export class TerrainMaterial {
6277
6339
  */
6278
6340
  get skirtExaggeration() {
6279
6341
  const ret = wasm.__wbg_get_terrainmaterial_skirtExaggeration(this.__wbg_ptr);
6280
- return ret === 0x100000001 ? undefined : ret;
6342
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6281
6343
  }
6282
6344
  /**
6283
6345
  * Whether to render skirts along tile boundaries to hide gaps.
@@ -6318,7 +6380,7 @@ export class TerrainMaterial {
6318
6380
  * @param {number | null} [arg0]
6319
6381
  */
6320
6382
  set skirtExaggeration(arg0) {
6321
- wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6383
+ wasm.__wbg_set_terrainmaterial_skirtExaggeration(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6322
6384
  }
6323
6385
  /**
6324
6386
  * Whether to render skirts along tile boundaries to hide gaps.
@@ -6347,21 +6409,21 @@ export class TextMaterial {
6347
6409
  */
6348
6410
  get backgroundColor() {
6349
6411
  const ret = wasm.__wbg_get_textmaterial_backgroundColor(this.__wbg_ptr);
6350
- return ret === 0x100000001 ? undefined : ret;
6412
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6351
6413
  }
6352
6414
  /**
6353
6415
  * @returns {number | undefined}
6354
6416
  */
6355
6417
  get borderColor() {
6356
6418
  const ret = wasm.__wbg_get_textmaterial_borderColor(this.__wbg_ptr);
6357
- return ret === 0x100000001 ? undefined : ret;
6419
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6358
6420
  }
6359
6421
  /**
6360
6422
  * @returns {number | undefined}
6361
6423
  */
6362
6424
  get borderWidth() {
6363
6425
  const ret = wasm.__wbg_get_textmaterial_borderWidth(this.__wbg_ptr);
6364
- return ret === 0x100000001 ? undefined : ret;
6426
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6365
6427
  }
6366
6428
  /**
6367
6429
  * @returns {Vec2 | undefined}
@@ -6382,7 +6444,26 @@ export class TextMaterial {
6382
6444
  */
6383
6445
  get color() {
6384
6446
  const ret = wasm.__wbg_get_textmaterial_color(this.__wbg_ptr);
6385
- return ret === 0x100000001 ? undefined : ret;
6447
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6448
+ }
6449
+ /**
6450
+ * Placement priority for decluttering; higher wins. Only meaningful when
6451
+ * `declutter` is enabled. Defaults to `0.0`.
6452
+ * @returns {number | undefined}
6453
+ */
6454
+ get declutterPriority() {
6455
+ const ret = wasm.__wbg_get_textmaterial_declutterPriority(this.__wbg_ptr);
6456
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6457
+ }
6458
+ /**
6459
+ * Participate in screen-space decluttering: when labels/sprites overlap
6460
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
6461
+ * `false` to draw every label unconditionally.
6462
+ * @returns {boolean | undefined}
6463
+ */
6464
+ get declutter() {
6465
+ const ret = wasm.__wbg_get_textmaterial_declutter(this.__wbg_ptr);
6466
+ return ret === 0xFFFFFF ? undefined : ret !== 0;
6386
6467
  }
6387
6468
  /**
6388
6469
  * @returns {boolean | undefined}
@@ -6421,7 +6502,7 @@ export class TextMaterial {
6421
6502
  */
6422
6503
  get height() {
6423
6504
  const ret = wasm.__wbg_get_textmaterial_height(this.__wbg_ptr);
6424
- return ret === 0x100000001 ? undefined : ret;
6505
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6425
6506
  }
6426
6507
  /**
6427
6508
  * Enable high-quality glyph rendering. When `true`, text uses an MTSDF
@@ -6455,7 +6536,7 @@ export class TextMaterial {
6455
6536
  */
6456
6537
  get lineHeight() {
6457
6538
  const ret = wasm.__wbg_get_textmaterial_lineHeight(this.__wbg_ptr);
6458
- return ret === 0x100000001 ? undefined : ret;
6539
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6459
6540
  }
6460
6541
  /**
6461
6542
  * Maximum line width in ems (multiples of `size`) before text wraps at
@@ -6465,7 +6546,7 @@ export class TextMaterial {
6465
6546
  */
6466
6547
  get maxWidth() {
6467
6548
  const ret = wasm.__wbg_get_textmaterial_maxWidth(this.__wbg_ptr);
6468
- return ret === 0x100000001 ? undefined : ret;
6549
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6469
6550
  }
6470
6551
  /**
6471
6552
  * Avoid overlapping with the globe surface.
@@ -6481,7 +6562,7 @@ export class TextMaterial {
6481
6562
  */
6482
6563
  get opacity() {
6483
6564
  const ret = wasm.__wbg_get_textmaterial_opacity(this.__wbg_ptr);
6484
- return ret === 0x100000001 ? undefined : ret;
6565
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6485
6566
  }
6486
6567
  /**
6487
6568
  * Outline blur radius in CSS pixels. Defaults to `0.0`.
@@ -6489,7 +6570,7 @@ export class TextMaterial {
6489
6570
  */
6490
6571
  get outlineColor() {
6491
6572
  const ret = wasm.__wbg_get_textmaterial_outlineColor(this.__wbg_ptr);
6492
- return ret === 0x100000001 ? undefined : ret;
6573
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6493
6574
  }
6494
6575
  /**
6495
6576
  * Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
@@ -6497,7 +6578,7 @@ export class TextMaterial {
6497
6578
  */
6498
6579
  get outlineOpacity() {
6499
6580
  const ret = wasm.__wbg_get_textmaterial_outlineOpacity(this.__wbg_ptr);
6500
- return ret === 0x100000001 ? undefined : ret;
6581
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6501
6582
  }
6502
6583
  /**
6503
6584
  * Outline thickness measured in CSS pixels. Defaults to `0.0`.
@@ -6505,7 +6586,7 @@ export class TextMaterial {
6505
6586
  */
6506
6587
  get outlineWidth() {
6507
6588
  const ret = wasm.__wbg_get_textmaterial_outlineWidth(this.__wbg_ptr);
6508
- return ret === 0x100000001 ? undefined : ret;
6589
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6509
6590
  }
6510
6591
  /**
6511
6592
  * @returns {boolean | undefined}
@@ -6528,7 +6609,7 @@ export class TextMaterial {
6528
6609
  */
6529
6610
  get size() {
6530
6611
  const ret = wasm.__wbg_get_textmaterial_size(this.__wbg_ptr);
6531
- return ret === 0x100000001 ? undefined : ret;
6612
+ return ret === Number.MAX_SAFE_INTEGER ? undefined : ret;
6532
6613
  }
6533
6614
  /**
6534
6615
  * Horizontal alignment of lines within a multi-line block:
@@ -6568,19 +6649,19 @@ export class TextMaterial {
6568
6649
  * @param {number | null} [arg0]
6569
6650
  */
6570
6651
  set backgroundColor(arg0) {
6571
- wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6652
+ wasm.__wbg_set_textmaterial_backgroundColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6572
6653
  }
6573
6654
  /**
6574
6655
  * @param {number | null} [arg0]
6575
6656
  */
6576
6657
  set borderColor(arg0) {
6577
- wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6658
+ wasm.__wbg_set_textmaterial_borderColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6578
6659
  }
6579
6660
  /**
6580
6661
  * @param {number | null} [arg0]
6581
6662
  */
6582
6663
  set borderWidth(arg0) {
6583
- wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6664
+ wasm.__wbg_set_textmaterial_borderWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6584
6665
  }
6585
6666
  /**
6586
6667
  * @param {Vec2 | null} [arg0]
@@ -6603,7 +6684,24 @@ export class TextMaterial {
6603
6684
  * @param {number | null} [arg0]
6604
6685
  */
6605
6686
  set color(arg0) {
6606
- wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6687
+ wasm.__wbg_set_textmaterial_color(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6688
+ }
6689
+ /**
6690
+ * Placement priority for decluttering; higher wins. Only meaningful when
6691
+ * `declutter` is enabled. Defaults to `0.0`.
6692
+ * @param {number | null} [arg0]
6693
+ */
6694
+ set declutterPriority(arg0) {
6695
+ wasm.__wbg_set_textmaterial_declutterPriority(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6696
+ }
6697
+ /**
6698
+ * Participate in screen-space decluttering: when labels/sprites overlap
6699
+ * on screen, lower-priority ones are hidden. Defaults to `true`; set to
6700
+ * `false` to draw every label unconditionally.
6701
+ * @param {boolean | null} [arg0]
6702
+ */
6703
+ set declutter(arg0) {
6704
+ wasm.__wbg_set_textmaterial_declutter(this.__wbg_ptr, isLikeNone(arg0) ? 0xFFFFFF : arg0 ? 1 : 0);
6607
6705
  }
6608
6706
  /**
6609
6707
  * @param {boolean | null} [arg0]
@@ -6636,7 +6734,7 @@ export class TextMaterial {
6636
6734
  * @param {number | null} [arg0]
6637
6735
  */
6638
6736
  set height(arg0) {
6639
- wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6737
+ wasm.__wbg_set_textmaterial_height(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6640
6738
  }
6641
6739
  /**
6642
6740
  * Enable high-quality glyph rendering. When `true`, text uses an MTSDF
@@ -6664,7 +6762,7 @@ export class TextMaterial {
6664
6762
  * @param {number | null} [arg0]
6665
6763
  */
6666
6764
  set lineHeight(arg0) {
6667
- wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6765
+ wasm.__wbg_set_textmaterial_lineHeight(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6668
6766
  }
6669
6767
  /**
6670
6768
  * Maximum line width in ems (multiples of `size`) before text wraps at
@@ -6673,7 +6771,7 @@ export class TextMaterial {
6673
6771
  * @param {number | null} [arg0]
6674
6772
  */
6675
6773
  set maxWidth(arg0) {
6676
- wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6774
+ wasm.__wbg_set_textmaterial_maxWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6677
6775
  }
6678
6776
  /**
6679
6777
  * Avoid overlapping with the globe surface.
@@ -6687,28 +6785,28 @@ export class TextMaterial {
6687
6785
  * @param {number | null} [arg0]
6688
6786
  */
6689
6787
  set opacity(arg0) {
6690
- wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6788
+ wasm.__wbg_set_textmaterial_opacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6691
6789
  }
6692
6790
  /**
6693
6791
  * Outline blur radius in CSS pixels. Defaults to `0.0`.
6694
6792
  * @param {number | null} [arg0]
6695
6793
  */
6696
6794
  set outlineColor(arg0) {
6697
- wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >>> 0);
6795
+ wasm.__wbg_set_textmaterial_outlineColor(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : (arg0) >>> 0);
6698
6796
  }
6699
6797
  /**
6700
6798
  * Pixel offset `[x, y]` in CSS pixels. Defaults to `(0.0, 0.0)`.
6701
6799
  * @param {number | null} [arg0]
6702
6800
  */
6703
6801
  set outlineOpacity(arg0) {
6704
- wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6802
+ wasm.__wbg_set_textmaterial_outlineOpacity(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6705
6803
  }
6706
6804
  /**
6707
6805
  * Outline thickness measured in CSS pixels. Defaults to `0.0`.
6708
6806
  * @param {number | null} [arg0]
6709
6807
  */
6710
6808
  set outlineWidth(arg0) {
6711
- wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6809
+ wasm.__wbg_set_textmaterial_outlineWidth(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6712
6810
  }
6713
6811
  /**
6714
6812
  * @param {boolean | null} [arg0]
@@ -6728,7 +6826,7 @@ export class TextMaterial {
6728
6826
  * @param {number | null} [arg0]
6729
6827
  */
6730
6828
  set size(arg0) {
6731
- wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : Math.fround(arg0));
6829
+ wasm.__wbg_set_textmaterial_size(this.__wbg_ptr, isLikeNone(arg0) ? Number.MAX_SAFE_INTEGER : Math.fround(arg0));
6732
6830
  }
6733
6831
  /**
6734
6832
  * Horizontal alignment of lines within a multi-line block:
@@ -6760,7 +6858,6 @@ if (Symbol.dispose) TextMaterial.prototype[Symbol.dispose] = TextMaterial.protot
6760
6858
 
6761
6859
  export class TextureFragment {
6762
6860
  static __wrap(ptr) {
6763
- ptr = ptr >>> 0;
6764
6861
  const obj = Object.create(TextureFragment.prototype);
6765
6862
  obj.__wbg_ptr = ptr;
6766
6863
  TextureFragmentFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6807,7 +6904,6 @@ if (Symbol.dispose) TextureFragment.prototype[Symbol.dispose] = TextureFragment.
6807
6904
 
6808
6905
  export class TileUvTransform {
6809
6906
  static __wrap(ptr) {
6810
- ptr = ptr >>> 0;
6811
6907
  const obj = Object.create(TileUvTransform.prototype);
6812
6908
  obj.__wbg_ptr = ptr;
6813
6909
  TileUvTransformFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -6913,7 +7009,7 @@ export class TileXYZ {
6913
7009
  */
6914
7010
  constructor(x, y, z) {
6915
7011
  const ret = wasm.tilexyz_new(x, y, z);
6916
- this.__wbg_ptr = ret >>> 0;
7012
+ this.__wbg_ptr = ret;
6917
7013
  TileXYZFinalization.register(this, this.__wbg_ptr, this);
6918
7014
  return this;
6919
7015
  }
@@ -7070,7 +7166,7 @@ export class TransferablePolygonBatchedFeature {
7070
7166
  */
7071
7167
  constructor(crs, length) {
7072
7168
  const ret = wasm.transferablepolygonbatchedfeature_constructor(crs, length);
7073
- this.__wbg_ptr = ret >>> 0;
7169
+ this.__wbg_ptr = ret;
7074
7170
  TransferablePolygonBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
7075
7171
  return this;
7076
7172
  }
@@ -7249,7 +7345,7 @@ export class TransferablePolylineBatchedFeature {
7249
7345
  */
7250
7346
  constructor(crs, length) {
7251
7347
  const ret = wasm.transferablepolylinebatchedfeature_constructor(crs, length);
7252
- this.__wbg_ptr = ret >>> 0;
7348
+ this.__wbg_ptr = ret;
7253
7349
  TransferablePolylineBatchedFeatureFinalization.register(this, this.__wbg_ptr, this);
7254
7350
  return this;
7255
7351
  }
@@ -7467,7 +7563,7 @@ export class Transform {
7467
7563
  */
7468
7564
  constructor(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz) {
7469
7565
  const ret = wasm.transform_new(tx, ty, tz, qx, qy, qz, qw, sx, sy, sz);
7470
- this.__wbg_ptr = ret >>> 0;
7566
+ this.__wbg_ptr = ret;
7471
7567
  TransformFinalization.register(this, this.__wbg_ptr, this);
7472
7568
  return this;
7473
7569
  }
@@ -7506,7 +7602,7 @@ export class UintAttribute {
7506
7602
  const ptr0 = passArray32ToWasm0(data, wasm.__wbindgen_malloc);
7507
7603
  const len0 = WASM_VECTOR_LEN;
7508
7604
  const ret = wasm.uintattribute_new(ptr0, len0, size);
7509
- this.__wbg_ptr = ret >>> 0;
7605
+ this.__wbg_ptr = ret;
7510
7606
  UintAttributeFinalization.register(this, this.__wbg_ptr, this);
7511
7607
  return this;
7512
7608
  }
@@ -7550,7 +7646,7 @@ export class UpsamplableTerrainGeometry {
7550
7646
  var ptr4 = isLikeNone(watermask) ? 0 : passArray8ToWasm0(watermask, wasm.__wbindgen_malloc);
7551
7647
  var len4 = WASM_VECTOR_LEN;
7552
7648
  const ret = wasm.upsamplableterraingeometry_new(ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4, len4);
7553
- this.__wbg_ptr = ret >>> 0;
7649
+ this.__wbg_ptr = ret;
7554
7650
  UpsamplableTerrainGeometryFinalization.register(this, this.__wbg_ptr, this);
7555
7651
  return this;
7556
7652
  }
@@ -7559,7 +7655,6 @@ if (Symbol.dispose) UpsamplableTerrainGeometry.prototype[Symbol.dispose] = Upsam
7559
7655
 
7560
7656
  export class Vec2 {
7561
7657
  static __wrap(ptr) {
7562
- ptr = ptr >>> 0;
7563
7658
  const obj = Object.create(Vec2.prototype);
7564
7659
  obj.__wbg_ptr = ptr;
7565
7660
  Vec2Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -7607,7 +7702,7 @@ export class Vec2 {
7607
7702
  */
7608
7703
  constructor(x, y) {
7609
7704
  const ret = wasm.vec2_new(x, y);
7610
- this.__wbg_ptr = ret >>> 0;
7705
+ this.__wbg_ptr = ret;
7611
7706
  Vec2Finalization.register(this, this.__wbg_ptr, this);
7612
7707
  return this;
7613
7708
  }
@@ -7616,7 +7711,6 @@ if (Symbol.dispose) Vec2.prototype[Symbol.dispose] = Vec2.prototype.free;
7616
7711
 
7617
7712
  export class Vec3 {
7618
7713
  static __wrap(ptr) {
7619
- ptr = ptr >>> 0;
7620
7714
  const obj = Object.create(Vec3.prototype);
7621
7715
  obj.__wbg_ptr = ptr;
7622
7716
  Vec3Finalization.register(obj, obj.__wbg_ptr, obj);
@@ -7678,7 +7772,7 @@ export class Vec3 {
7678
7772
  */
7679
7773
  constructor(x, y, z) {
7680
7774
  const ret = wasm.vec3_new(x, y, z);
7681
- this.__wbg_ptr = ret >>> 0;
7775
+ this.__wbg_ptr = ret;
7682
7776
  Vec3Finalization.register(this, this.__wbg_ptr, this);
7683
7777
  return this;
7684
7778
  }
@@ -7687,7 +7781,6 @@ if (Symbol.dispose) Vec3.prototype[Symbol.dispose] = Vec3.prototype.free;
7687
7781
 
7688
7782
  export class WasmGlyphMetrics {
7689
7783
  static __wrap(ptr) {
7690
- ptr = ptr >>> 0;
7691
7784
  const obj = Object.create(WasmGlyphMetrics.prototype);
7692
7785
  obj.__wbg_ptr = ptr;
7693
7786
  WasmGlyphMetricsFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -7833,7 +7926,6 @@ if (Symbol.dispose) WasmGlyphMetrics.prototype[Symbol.dispose] = WasmGlyphMetric
7833
7926
 
7834
7927
  export class WasmShapedGlyph {
7835
7928
  static __wrap(ptr) {
7836
- ptr = ptr >>> 0;
7837
7929
  const obj = Object.create(WasmShapedGlyph.prototype);
7838
7930
  obj.__wbg_ptr = ptr;
7839
7931
  WasmShapedGlyphFinalization.register(obj, obj.__wbg_ptr, obj);
@@ -8035,7 +8127,7 @@ export class Window {
8035
8127
  */
8036
8128
  constructor(width, height, pixel_ratio) {
8037
8129
  const ret = wasm.window_new(width, height, pixel_ratio);
8038
- this.__wbg_ptr = ret >>> 0;
8130
+ this.__wbg_ptr = ret;
8039
8131
  WindowFinalization.register(this, this.__wbg_ptr, this);
8040
8132
  return this;
8041
8133
  }
@@ -8060,7 +8152,7 @@ export function start() {
8060
8152
  function __wbg_get_imports() {
8061
8153
  const import0 = {
8062
8154
  __proto__: null,
8063
- __wbg_Error_960c155d3d49e4c2: function(arg0, arg1) {
8155
+ __wbg_Error_92b29b0548f8b746: function(arg0, arg1) {
8064
8156
  const ret = Error(getStringFromWasm0(arg0, arg1));
8065
8157
  return ret;
8066
8158
  },
@@ -8071,60 +8163,60 @@ function __wbg_get_imports() {
8071
8163
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8072
8164
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8073
8165
  },
8074
- __wbg___wbindgen_bigint_get_as_i64_3d3aba5d616c6a51: function(arg0, arg1) {
8166
+ __wbg___wbindgen_bigint_get_as_i64_d968e41184ae354f: function(arg0, arg1) {
8075
8167
  const v = arg1;
8076
8168
  const ret = typeof(v) === 'bigint' ? v : undefined;
8077
8169
  getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
8078
8170
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
8079
8171
  },
8080
- __wbg___wbindgen_boolean_get_6ea149f0a8dcc5ff: function(arg0) {
8172
+ __wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
8081
8173
  const v = arg0;
8082
8174
  const ret = typeof(v) === 'boolean' ? v : undefined;
8083
8175
  return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
8084
8176
  },
8085
- __wbg___wbindgen_debug_string_ab4b34d23d6778bd: function(arg0, arg1) {
8177
+ __wbg___wbindgen_debug_string_c25d447a39f5578f: function(arg0, arg1) {
8086
8178
  const ret = debugString(arg1);
8087
8179
  const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
8088
8180
  const len1 = WASM_VECTOR_LEN;
8089
8181
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8090
8182
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8091
8183
  },
8092
- __wbg___wbindgen_in_a5d8b22e52b24dd1: function(arg0, arg1) {
8184
+ __wbg___wbindgen_in_aca499c5de7ff5e5: function(arg0, arg1) {
8093
8185
  const ret = arg0 in arg1;
8094
8186
  return ret;
8095
8187
  },
8096
- __wbg___wbindgen_is_bigint_ec25c7f91b4d9e93: function(arg0) {
8188
+ __wbg___wbindgen_is_bigint_2f76dc55065b4273: function(arg0) {
8097
8189
  const ret = typeof(arg0) === 'bigint';
8098
8190
  return ret;
8099
8191
  },
8100
- __wbg___wbindgen_is_function_3baa9db1a987f47d: function(arg0) {
8192
+ __wbg___wbindgen_is_function_1ff95bcc5517c252: function(arg0) {
8101
8193
  const ret = typeof(arg0) === 'function';
8102
8194
  return ret;
8103
8195
  },
8104
- __wbg___wbindgen_is_object_63322ec0cd6ea4ef: function(arg0) {
8196
+ __wbg___wbindgen_is_object_a27215656b807791: function(arg0) {
8105
8197
  const val = arg0;
8106
8198
  const ret = typeof(val) === 'object' && val !== null;
8107
8199
  return ret;
8108
8200
  },
8109
- __wbg___wbindgen_jsval_eq_d3465d8a07697228: function(arg0, arg1) {
8201
+ __wbg___wbindgen_jsval_eq_e659fcf7b0e32763: function(arg0, arg1) {
8110
8202
  const ret = arg0 === arg1;
8111
8203
  return ret;
8112
8204
  },
8113
- __wbg___wbindgen_jsval_loose_eq_cac3565e89b4134c: function(arg0, arg1) {
8205
+ __wbg___wbindgen_jsval_loose_eq_db4c3b15f63fc170: function(arg0, arg1) {
8114
8206
  const ret = arg0 == arg1;
8115
8207
  return ret;
8116
8208
  },
8117
- __wbg___wbindgen_memory_dfa12096f400c9bd: function() {
8209
+ __wbg___wbindgen_memory_de265df8aadd6273: function() {
8118
8210
  const ret = wasm.memory;
8119
8211
  return ret;
8120
8212
  },
8121
- __wbg___wbindgen_number_get_c7f42aed0525c451: function(arg0, arg1) {
8213
+ __wbg___wbindgen_number_get_394265ed1e1b84ee: function(arg0, arg1) {
8122
8214
  const obj = arg1;
8123
8215
  const ret = typeof(obj) === 'number' ? obj : undefined;
8124
8216
  getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
8125
8217
  getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
8126
8218
  },
8127
- __wbg___wbindgen_string_get_7ed5322991caaec5: function(arg0, arg1) {
8219
+ __wbg___wbindgen_string_get_b0ca35b86a603356: function(arg0, arg1) {
8128
8220
  const obj = arg1;
8129
8221
  const ret = typeof(obj) === 'string' ? obj : undefined;
8130
8222
  var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
@@ -8132,48 +8224,42 @@ function __wbg_get_imports() {
8132
8224
  getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
8133
8225
  getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
8134
8226
  },
8135
- __wbg___wbindgen_throw_6b64449b9b9ed33c: function(arg0, arg1) {
8227
+ __wbg___wbindgen_throw_344f42d3211c4765: function(arg0, arg1) {
8136
8228
  throw new Error(getStringFromWasm0(arg0, arg1));
8137
8229
  },
8138
- __wbg___wbindgen_try_into_number_d7832e9de41bafc5: function(arg0) {
8139
- let result;
8140
- try { result = +arg0 } catch (e) { result = e }
8141
- const ret = result;
8142
- return ret;
8143
- },
8144
- __wbg_buffer_0377ff0622c5de76: function(arg0) {
8230
+ __wbg_buffer_0f212447ac64c53b: function(arg0) {
8145
8231
  const ret = arg0.buffer;
8146
8232
  return ret;
8147
8233
  },
8148
- __wbg_call_14b169f759b26747: function() { return handleError(function (arg0, arg1) {
8234
+ __wbg_call_8a2dd23819f8a60a: function() { return handleError(function (arg0, arg1) {
8149
8235
  const ret = arg0.call(arg1);
8150
8236
  return ret;
8151
8237
  }, arguments); },
8152
- __wbg_call_a24592a6f349a97e: function() { return handleError(function (arg0, arg1, arg2) {
8238
+ __wbg_call_a6e5c5dce5018821: function() { return handleError(function (arg0, arg1, arg2) {
8153
8239
  const ret = arg0.call(arg1, arg2);
8154
8240
  return ret;
8155
8241
  }, arguments); },
8156
- __wbg_done_9158f7cc8751ba32: function(arg0) {
8242
+ __wbg_done_89b2b13e91a60321: function(arg0) {
8157
8243
  const ret = arg0.done;
8158
8244
  return ret;
8159
8245
  },
8160
- __wbg_entries_e0b73aa8571ddb56: function(arg0) {
8246
+ __wbg_entries_015dc610cd81ede0: function(arg0) {
8161
8247
  const ret = Object.entries(arg0);
8162
8248
  return ret;
8163
8249
  },
8164
- __wbg_get_1affdbdd5573b16a: function() { return handleError(function (arg0, arg1) {
8165
- const ret = Reflect.get(arg0, arg1);
8166
- return ret;
8167
- }, arguments); },
8168
- __wbg_get_8360291721e2339f: function(arg0, arg1) {
8250
+ __wbg_get_507a50627bffa49b: function(arg0, arg1) {
8169
8251
  const ret = arg0[arg1 >>> 0];
8170
8252
  return ret;
8171
8253
  },
8172
- __wbg_get_unchecked_17f53dad852b9588: function(arg0, arg1) {
8254
+ __wbg_get_c7eb1f358a7654df: function() { return handleError(function (arg0, arg1) {
8255
+ const ret = Reflect.get(arg0, arg1);
8256
+ return ret;
8257
+ }, arguments); },
8258
+ __wbg_get_unchecked_6e0ad6d2a41b06f6: function(arg0, arg1) {
8173
8259
  const ret = arg0[arg1 >>> 0];
8174
8260
  return ret;
8175
8261
  },
8176
- __wbg_instanceof_ArrayBuffer_7c8433c6ed14ffe3: function(arg0) {
8262
+ __wbg_instanceof_ArrayBuffer_4480b9e0068a8adb: function(arg0) {
8177
8263
  let result;
8178
8264
  try {
8179
8265
  result = arg0 instanceof ArrayBuffer;
@@ -8183,7 +8269,7 @@ function __wbg_get_imports() {
8183
8269
  const ret = result;
8184
8270
  return ret;
8185
8271
  },
8186
- __wbg_instanceof_Map_1b76fd4635be43eb: function(arg0) {
8272
+ __wbg_instanceof_Map_e5b5e3db98422fcc: function(arg0) {
8187
8273
  let result;
8188
8274
  try {
8189
8275
  result = arg0 instanceof Map;
@@ -8193,7 +8279,7 @@ function __wbg_get_imports() {
8193
8279
  const ret = result;
8194
8280
  return ret;
8195
8281
  },
8196
- __wbg_instanceof_Uint8Array_152ba1f289edcf3f: function(arg0) {
8282
+ __wbg_instanceof_Uint8Array_309b927aaf7a3fc7: function(arg0) {
8197
8283
  let result;
8198
8284
  try {
8199
8285
  result = arg0 instanceof Uint8Array;
@@ -8203,35 +8289,35 @@ function __wbg_get_imports() {
8203
8289
  const ret = result;
8204
8290
  return ret;
8205
8291
  },
8206
- __wbg_isArray_c3109d14ffc06469: function(arg0) {
8292
+ __wbg_isArray_0677c962b281d01a: function(arg0) {
8207
8293
  const ret = Array.isArray(arg0);
8208
8294
  return ret;
8209
8295
  },
8210
- __wbg_isSafeInteger_4fc213d1989d6d2a: function(arg0) {
8296
+ __wbg_isSafeInteger_04f36e4056f1b851: function(arg0) {
8211
8297
  const ret = Number.isSafeInteger(arg0);
8212
8298
  return ret;
8213
8299
  },
8214
- __wbg_iterator_013bc09ec998c2a7: function() {
8300
+ __wbg_iterator_6f722e4a93058b71: function() {
8215
8301
  const ret = Symbol.iterator;
8216
8302
  return ret;
8217
8303
  },
8218
- __wbg_length_3d4ecd04bd8d22f1: function(arg0) {
8304
+ __wbg_length_0133fa10e3234c57: function(arg0) {
8219
8305
  const ret = arg0.length;
8220
8306
  return ret;
8221
8307
  },
8222
- __wbg_length_9f1775224cf1d815: function(arg0) {
8308
+ __wbg_length_1f0964f4a5e2c6d8: function(arg0) {
8223
8309
  const ret = arg0.length;
8224
8310
  return ret;
8225
8311
  },
8226
- __wbg_length_b5ce18c1fcafa728: function(arg0) {
8312
+ __wbg_length_370319915dc99107: function(arg0) {
8227
8313
  const ret = arg0.length;
8228
8314
  return ret;
8229
8315
  },
8230
- __wbg_length_d807629e96c741b8: function(arg0) {
8316
+ __wbg_length_381d540857ec99e8: function(arg0) {
8231
8317
  const ret = arg0.length;
8232
8318
  return ret;
8233
8319
  },
8234
- __wbg_length_fab29957ea6bdb8c: function(arg0) {
8320
+ __wbg_length_98f10d1e2f4ea968: function(arg0) {
8235
8321
  const ret = arg0.length;
8236
8322
  return ret;
8237
8323
  },
@@ -8239,72 +8325,72 @@ function __wbg_get_imports() {
8239
8325
  const ret = LLE.__wrap(arg0);
8240
8326
  return ret;
8241
8327
  },
8242
- __wbg_new_0c7403db6e782f19: function(arg0) {
8243
- const ret = new Uint8Array(arg0);
8328
+ __wbg_new_32b398fb48b6d94a: function() {
8329
+ const ret = new Array();
8244
8330
  return ret;
8245
8331
  },
8246
- __wbg_new_1c0925936314b719: function(arg0) {
8332
+ __wbg_new_80efd62ef570c5de: function(arg0) {
8247
8333
  const ret = new Float64Array(arg0);
8248
8334
  return ret;
8249
8335
  },
8250
- __wbg_new_682678e2f47e32bc: function() {
8251
- const ret = new Array();
8336
+ __wbg_new_92a08b12c30e98e8: function(arg0) {
8337
+ const ret = new Float32Array(arg0);
8252
8338
  return ret;
8253
8339
  },
8254
- __wbg_new_8bc2b540bbfdbb81: function(arg0) {
8255
- const ret = new Uint32Array(arg0);
8340
+ __wbg_new_cd45aabdf6073e84: function(arg0) {
8341
+ const ret = new Uint8Array(arg0);
8256
8342
  return ret;
8257
8343
  },
8258
- __wbg_new_aa8d0fa9762c29bd: function() {
8344
+ __wbg_new_da52cf8fe3429cb2: function() {
8259
8345
  const ret = new Object();
8260
8346
  return ret;
8261
8347
  },
8262
- __wbg_new_b2663e175990f0a6: function(arg0) {
8263
- const ret = new Float32Array(arg0);
8348
+ __wbg_new_dfd44b7151fab657: function(arg0) {
8349
+ const ret = new Uint32Array(arg0);
8264
8350
  return ret;
8265
8351
  },
8266
- __wbg_new_with_byte_offset_and_length_00cc6a9128e26a8a: function(arg0, arg1, arg2) {
8267
- const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
8352
+ __wbg_new_with_byte_offset_and_length_54c7724ee3ec7d82: function(arg0, arg1, arg2) {
8353
+ const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
8268
8354
  return ret;
8269
8355
  },
8270
- __wbg_new_with_byte_offset_and_length_01848e8d6a3d49ad: function(arg0, arg1, arg2) {
8271
- const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
8356
+ __wbg_new_with_byte_offset_and_length_5784416b97d45088: function(arg0, arg1, arg2) {
8357
+ const ret = new Float64Array(arg0, arg1 >>> 0, arg2 >>> 0);
8272
8358
  return ret;
8273
8359
  },
8274
- __wbg_new_with_byte_offset_and_length_3a205534e8f09fd2: function(arg0, arg1, arg2) {
8360
+ __wbg_new_with_byte_offset_and_length_c6e1a1aae380b2ff: function(arg0, arg1, arg2) {
8275
8361
  const ret = new Uint32Array(arg0, arg1 >>> 0, arg2 >>> 0);
8276
8362
  return ret;
8277
8363
  },
8278
- __wbg_next_0340c4ae324393c3: function() { return handleError(function (arg0) {
8279
- const ret = arg0.next();
8280
- return ret;
8281
- }, arguments); },
8282
- __wbg_next_7646edaa39458ef7: function(arg0) {
8364
+ __wbg_next_6dbf2c0ac8cde20f: function(arg0) {
8283
8365
  const ret = arg0.next;
8284
8366
  return ret;
8285
8367
  },
8286
- __wbg_prototypesetcall_a6b02eb00b0f4ce2: function(arg0, arg1, arg2) {
8368
+ __wbg_next_71f2aa1cb3d1e37e: function() { return handleError(function (arg0) {
8369
+ const ret = arg0.next();
8370
+ return ret;
8371
+ }, arguments); },
8372
+ __wbg_prototypesetcall_4770620bbe4688a0: function(arg0, arg1, arg2) {
8287
8373
  Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
8288
8374
  },
8289
- __wbg_push_471a5b068a5295f6: function(arg0, arg1) {
8375
+ __wbg_push_d2ae3af0c1217ae6: function(arg0, arg1) {
8290
8376
  const ret = arg0.push(arg1);
8291
8377
  return ret;
8292
8378
  },
8293
- __wbg_set_022bee52d0b05b19: function() { return handleError(function (arg0, arg1, arg2) {
8294
- const ret = Reflect.set(arg0, arg1, arg2);
8295
- return ret;
8296
- }, arguments); },
8297
- __wbg_set_3d484eb794afec82: function(arg0, arg1, arg2) {
8298
- arg0.set(getArrayU8FromWasm0(arg1, arg2));
8379
+ __wbg_set_1e016b6a1b5f7cb3: function(arg0, arg1, arg2) {
8380
+ arg0.set(getArrayF32FromWasm0(arg1, arg2));
8299
8381
  },
8300
- __wbg_set_5637e648df81c8e5: function(arg0, arg1, arg2) {
8382
+ __wbg_set_29967298e530d279: function(arg0, arg1, arg2) {
8301
8383
  arg0.set(getArrayF64FromWasm0(arg1, arg2));
8302
8384
  },
8303
- __wbg_set_95a66997655120e2: function(arg0, arg1, arg2) {
8304
- arg0.set(getArrayU32FromWasm0(arg1, arg2));
8385
+ __wbg_set_4d7dd76f3dae2926: function(arg0, arg1, arg2) {
8386
+ arg0.set(getArrayU8FromWasm0(arg1, arg2));
8305
8387
  },
8306
- __wbg_set_c625d5a9e6b7554b: function(arg0, arg1, arg2) {
8307
- arg0.set(getArrayF32FromWasm0(arg1, arg2));
8388
+ __wbg_set_8535240470bf2500: function() { return handleError(function (arg0, arg1, arg2) {
8389
+ const ret = Reflect.set(arg0, arg1, arg2);
8390
+ return ret;
8391
+ }, arguments); },
8392
+ __wbg_set_b5e6b338281ca6ff: function(arg0, arg1, arg2) {
8393
+ arg0.set(getArrayU32FromWasm0(arg1, arg2));
8308
8394
  },
8309
8395
  __wbg_texturefragment_new: function(arg0) {
8310
8396
  const ret = TextureFragment.__wrap(arg0);
@@ -8314,7 +8400,7 @@ function __wbg_get_imports() {
8314
8400
  const ret = TileUvTransform.__wrap(arg0);
8315
8401
  return ret;
8316
8402
  },
8317
- __wbg_value_ee3a06f4579184fa: function(arg0) {
8403
+ __wbg_value_a5d5488a9589444a: function(arg0) {
8318
8404
  const ret = arg0.value;
8319
8405
  return ret;
8320
8406
  },
@@ -8372,199 +8458,199 @@ function __wbg_get_imports() {
8372
8458
 
8373
8459
  const AabbFinalization = (typeof FinalizationRegistry === 'undefined')
8374
8460
  ? { register: () => {}, unregister: () => {} }
8375
- : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr >>> 0, 1));
8461
+ : new FinalizationRegistry(ptr => wasm.__wbg_aabb_free(ptr, 1));
8376
8462
  const BatchPropResultFinalization = (typeof FinalizationRegistry === 'undefined')
8377
8463
  ? { register: () => {}, unregister: () => {} }
8378
- : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr >>> 0, 1));
8464
+ : new FinalizationRegistry(ptr => wasm.__wbg_batchpropresult_free(ptr, 1));
8379
8465
  const BillboardMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8380
8466
  ? { register: () => {}, unregister: () => {} }
8381
- : new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr >>> 0, 1));
8467
+ : new FinalizationRegistry(ptr => wasm.__wbg_billboardmaterial_free(ptr, 1));
8382
8468
  const BoundingSphereFinalization = (typeof FinalizationRegistry === 'undefined')
8383
8469
  ? { register: () => {}, unregister: () => {} }
8384
- : new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr >>> 0, 1));
8470
+ : new FinalizationRegistry(ptr => wasm.__wbg_boundingsphere_free(ptr, 1));
8385
8471
  const CachedMeshHandleFinalization = (typeof FinalizationRegistry === 'undefined')
8386
8472
  ? { register: () => {}, unregister: () => {} }
8387
- : new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr >>> 0, 1));
8473
+ : new FinalizationRegistry(ptr => wasm.__wbg_cachedmeshhandle_free(ptr, 1));
8388
8474
  const CameraControlUpdateEventFinalization = (typeof FinalizationRegistry === 'undefined')
8389
8475
  ? { register: () => {}, unregister: () => {} }
8390
- : new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr >>> 0, 1));
8476
+ : new FinalizationRegistry(ptr => wasm.__wbg_cameracontrolupdateevent_free(ptr, 1));
8391
8477
  const CameraFrustumFinalization = (typeof FinalizationRegistry === 'undefined')
8392
8478
  ? { register: () => {}, unregister: () => {} }
8393
- : new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr >>> 0, 1));
8479
+ : new FinalizationRegistry(ptr => wasm.__wbg_camerafrustum_free(ptr, 1));
8394
8480
  const CameraOrientationFinalization = (typeof FinalizationRegistry === 'undefined')
8395
8481
  ? { register: () => {}, unregister: () => {} }
8396
- : new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr >>> 0, 1));
8482
+ : new FinalizationRegistry(ptr => wasm.__wbg_cameraorientation_free(ptr, 1));
8397
8483
  const CameraStatusFinalization = (typeof FinalizationRegistry === 'undefined')
8398
8484
  ? { register: () => {}, unregister: () => {} }
8399
- : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr >>> 0, 1));
8485
+ : new FinalizationRegistry(ptr => wasm.__wbg_camerastatus_free(ptr, 1));
8400
8486
  const CompiledExpressionFinalization = (typeof FinalizationRegistry === 'undefined')
8401
8487
  ? { register: () => {}, unregister: () => {} }
8402
- : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr >>> 0, 1));
8488
+ : new FinalizationRegistry(ptr => wasm.__wbg_compiledexpression_free(ptr, 1));
8403
8489
  const CompiledFilterFinalization = (typeof FinalizationRegistry === 'undefined')
8404
8490
  ? { register: () => {}, unregister: () => {} }
8405
- : new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr >>> 0, 1));
8491
+ : new FinalizationRegistry(ptr => wasm.__wbg_compiledfilter_free(ptr, 1));
8406
8492
  const ConstructedPolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8407
8493
  ? { register: () => {}, unregister: () => {} }
8408
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr >>> 0, 1));
8494
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygongeometry_free(ptr, 1));
8409
8495
  const ConstructedPolygonOutlineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8410
8496
  ? { register: () => {}, unregister: () => {} }
8411
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr >>> 0, 1));
8497
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolygonoutlinegeometry_free(ptr, 1));
8412
8498
  const ConstructedPolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8413
8499
  ? { register: () => {}, unregister: () => {} }
8414
- : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr >>> 0, 1));
8500
+ : new FinalizationRegistry(ptr => wasm.__wbg_constructedpolylinegeometry_free(ptr, 1));
8415
8501
  const ElevationDecoderFinalization = (typeof FinalizationRegistry === 'undefined')
8416
8502
  ? { register: () => {}, unregister: () => {} }
8417
- : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr >>> 0, 1));
8503
+ : new FinalizationRegistry(ptr => wasm.__wbg_elevationdecoder_free(ptr, 1));
8418
8504
  const ElevationHeatmapMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8419
8505
  ? { register: () => {}, unregister: () => {} }
8420
- : new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr >>> 0, 1));
8506
+ : new FinalizationRegistry(ptr => wasm.__wbg_elevationheatmapmaterial_free(ptr, 1));
8421
8507
  const EllipsoidGeodesicFinalization = (typeof FinalizationRegistry === 'undefined')
8422
8508
  ? { register: () => {}, unregister: () => {} }
8423
- : new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr >>> 0, 1));
8509
+ : new FinalizationRegistry(ptr => wasm.__wbg_ellipsoidgeodesic_free(ptr, 1));
8424
8510
  const EncodedVec3Finalization = (typeof FinalizationRegistry === 'undefined')
8425
8511
  ? { register: () => {}, unregister: () => {} }
8426
- : new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr >>> 0, 1));
8512
+ : new FinalizationRegistry(ptr => wasm.__wbg_encodedvec3_free(ptr, 1));
8427
8513
  const ExtentRadianF32Finalization = (typeof FinalizationRegistry === 'undefined')
8428
8514
  ? { register: () => {}, unregister: () => {} }
8429
- : new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr >>> 0, 1));
8515
+ : new FinalizationRegistry(ptr => wasm.__wbg_extentradianf32_free(ptr, 1));
8430
8516
  const FloatAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
8431
8517
  ? { register: () => {}, unregister: () => {} }
8432
- : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr >>> 0, 1));
8518
+ : new FinalizationRegistry(ptr => wasm.__wbg_floatattribute_free(ptr, 1));
8433
8519
  const FontAtlasFinalization = (typeof FinalizationRegistry === 'undefined')
8434
8520
  ? { register: () => {}, unregister: () => {} }
8435
- : new FinalizationRegistry(ptr => wasm.__wbg_fontatlas_free(ptr >>> 0, 1));
8521
+ : new FinalizationRegistry(ptr => wasm.__wbg_fontatlas_free(ptr, 1));
8436
8522
  const FontCacheFinalization = (typeof FinalizationRegistry === 'undefined')
8437
8523
  ? { register: () => {}, unregister: () => {} }
8438
- : new FinalizationRegistry(ptr => wasm.__wbg_fontcache_free(ptr >>> 0, 1));
8524
+ : new FinalizationRegistry(ptr => wasm.__wbg_fontcache_free(ptr, 1));
8439
8525
  const FontCacheStatsFinalization = (typeof FinalizationRegistry === 'undefined')
8440
8526
  ? { register: () => {}, unregister: () => {} }
8441
- : new FinalizationRegistry(ptr => wasm.__wbg_fontcachestats_free(ptr >>> 0, 1));
8527
+ : new FinalizationRegistry(ptr => wasm.__wbg_fontcachestats_free(ptr, 1));
8442
8528
  const GeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8443
8529
  ? { register: () => {}, unregister: () => {} }
8444
- : new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr >>> 0, 1));
8530
+ : new FinalizationRegistry(ptr => wasm.__wbg_geometry_free(ptr, 1));
8445
8531
  const GlobeFinalization = (typeof FinalizationRegistry === 'undefined')
8446
8532
  ? { register: () => {}, unregister: () => {} }
8447
- : new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr >>> 0, 1));
8533
+ : new FinalizationRegistry(ptr => wasm.__wbg_globe_free(ptr, 1));
8448
8534
  const HillshadeMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8449
8535
  ? { register: () => {}, unregister: () => {} }
8450
- : new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr >>> 0, 1));
8536
+ : new FinalizationRegistry(ptr => wasm.__wbg_hillshadematerial_free(ptr, 1));
8451
8537
  const LLEFinalization = (typeof FinalizationRegistry === 'undefined')
8452
8538
  ? { register: () => {}, unregister: () => {} }
8453
- : new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr >>> 0, 1));
8539
+ : new FinalizationRegistry(ptr => wasm.__wbg_lle_free(ptr, 1));
8454
8540
  const ModelInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8455
8541
  ? { register: () => {}, unregister: () => {} }
8456
- : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr >>> 0, 1));
8542
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelinternalmaterial_free(ptr, 1));
8457
8543
  const ModelMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8458
8544
  ? { register: () => {}, unregister: () => {} }
8459
- : new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr >>> 0, 1));
8545
+ : new FinalizationRegistry(ptr => wasm.__wbg_modelmaterial_free(ptr, 1));
8460
8546
  const NearFarFinalization = (typeof FinalizationRegistry === 'undefined')
8461
8547
  ? { register: () => {}, unregister: () => {} }
8462
- : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr >>> 0, 1));
8548
+ : new FinalizationRegistry(ptr => wasm.__wbg_nearfar_free(ptr, 1));
8463
8549
  const OverscaledTileHandleFinalization = (typeof FinalizationRegistry === 'undefined')
8464
8550
  ? { register: () => {}, unregister: () => {} }
8465
- : new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr >>> 0, 1));
8551
+ : new FinalizationRegistry(ptr => wasm.__wbg_overscaledtilehandle_free(ptr, 1));
8466
8552
  const PlaneFinalization = (typeof FinalizationRegistry === 'undefined')
8467
8553
  ? { register: () => {}, unregister: () => {} }
8468
- : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr >>> 0, 1));
8554
+ : new FinalizationRegistry(ptr => wasm.__wbg_plane_free(ptr, 1));
8469
8555
  const PointMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8470
8556
  ? { register: () => {}, unregister: () => {} }
8471
- : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr >>> 0, 1));
8557
+ : new FinalizationRegistry(ptr => wasm.__wbg_pointmaterial_free(ptr, 1));
8472
8558
  const PolygonGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8473
8559
  ? { register: () => {}, unregister: () => {} }
8474
- : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr >>> 0, 1));
8560
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometry_free(ptr, 1));
8475
8561
  const PolygonGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
8476
8562
  ? { register: () => {}, unregister: () => {} }
8477
- : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr >>> 0, 1));
8563
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygongeometryattributes_free(ptr, 1));
8478
8564
  const PolygonInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8479
8565
  ? { register: () => {}, unregister: () => {} }
8480
- : new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr >>> 0, 1));
8566
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygoninternalmaterial_free(ptr, 1));
8481
8567
  const PolygonMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8482
8568
  ? { register: () => {}, unregister: () => {} }
8483
- : new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr >>> 0, 1));
8569
+ : new FinalizationRegistry(ptr => wasm.__wbg_polygonmaterial_free(ptr, 1));
8484
8570
  const PolylineGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8485
8571
  ? { register: () => {}, unregister: () => {} }
8486
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr >>> 0, 1));
8572
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometry_free(ptr, 1));
8487
8573
  const PolylineGeometryAttributesFinalization = (typeof FinalizationRegistry === 'undefined')
8488
8574
  ? { register: () => {}, unregister: () => {} }
8489
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr >>> 0, 1));
8575
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinegeometryattributes_free(ptr, 1));
8490
8576
  const PolylineInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8491
8577
  ? { register: () => {}, unregister: () => {} }
8492
- : new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr >>> 0, 1));
8578
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylineinternalmaterial_free(ptr, 1));
8493
8579
  const PolylineMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8494
8580
  ? { register: () => {}, unregister: () => {} }
8495
- : new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr >>> 0, 1));
8581
+ : new FinalizationRegistry(ptr => wasm.__wbg_polylinematerial_free(ptr, 1));
8496
8582
  const RasterMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8497
8583
  ? { register: () => {}, unregister: () => {} }
8498
- : new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr >>> 0, 1));
8584
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastermaterial_free(ptr, 1));
8499
8585
  const RasterTileInternalMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8500
8586
  ? { register: () => {}, unregister: () => {} }
8501
- : new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr >>> 0, 1));
8587
+ : new FinalizationRegistry(ptr => wasm.__wbg_rastertileinternalmaterial_free(ptr, 1));
8502
8588
  const RayFinalization = (typeof FinalizationRegistry === 'undefined')
8503
8589
  ? { register: () => {}, unregister: () => {} }
8504
- : new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr >>> 0, 1));
8590
+ : new FinalizationRegistry(ptr => wasm.__wbg_ray_free(ptr, 1));
8505
8591
  const ReturnedConstructedTerrainMeshFinalization = (typeof FinalizationRegistry === 'undefined')
8506
8592
  ? { register: () => {}, unregister: () => {} }
8507
- : new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr >>> 0, 1));
8593
+ : new FinalizationRegistry(ptr => wasm.__wbg_returnedconstructedterrainmesh_free(ptr, 1));
8508
8594
  const ShapeTextResultFinalization = (typeof FinalizationRegistry === 'undefined')
8509
8595
  ? { register: () => {}, unregister: () => {} }
8510
- : new FinalizationRegistry(ptr => wasm.__wbg_shapetextresult_free(ptr >>> 0, 1));
8596
+ : new FinalizationRegistry(ptr => wasm.__wbg_shapetextresult_free(ptr, 1));
8511
8597
  const TerrainMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8512
8598
  ? { register: () => {}, unregister: () => {} }
8513
- : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr >>> 0, 1));
8599
+ : new FinalizationRegistry(ptr => wasm.__wbg_terrainmaterial_free(ptr, 1));
8514
8600
  const TextMaterialFinalization = (typeof FinalizationRegistry === 'undefined')
8515
8601
  ? { register: () => {}, unregister: () => {} }
8516
- : new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr >>> 0, 1));
8602
+ : new FinalizationRegistry(ptr => wasm.__wbg_textmaterial_free(ptr, 1));
8517
8603
  const TextureFragmentFinalization = (typeof FinalizationRegistry === 'undefined')
8518
8604
  ? { register: () => {}, unregister: () => {} }
8519
- : new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr >>> 0, 1));
8605
+ : new FinalizationRegistry(ptr => wasm.__wbg_texturefragment_free(ptr, 1));
8520
8606
  const TileUvTransformFinalization = (typeof FinalizationRegistry === 'undefined')
8521
8607
  ? { register: () => {}, unregister: () => {} }
8522
- : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr >>> 0, 1));
8608
+ : new FinalizationRegistry(ptr => wasm.__wbg_tileuvtransform_free(ptr, 1));
8523
8609
  const TileXYZFinalization = (typeof FinalizationRegistry === 'undefined')
8524
8610
  ? { register: () => {}, unregister: () => {} }
8525
- : new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr >>> 0, 1));
8611
+ : new FinalizationRegistry(ptr => wasm.__wbg_tilexyz_free(ptr, 1));
8526
8612
  const TransferableHierarchyFinalization = (typeof FinalizationRegistry === 'undefined')
8527
8613
  ? { register: () => {}, unregister: () => {} }
8528
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr >>> 0, 1));
8614
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablehierarchy_free(ptr, 1));
8529
8615
  const TransferableHolesFinalization = (typeof FinalizationRegistry === 'undefined')
8530
8616
  ? { register: () => {}, unregister: () => {} }
8531
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr >>> 0, 1));
8617
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableholes_free(ptr, 1));
8532
8618
  const TransferableParsedMvtResultFinalization = (typeof FinalizationRegistry === 'undefined')
8533
8619
  ? { register: () => {}, unregister: () => {} }
8534
- : new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr >>> 0, 1));
8620
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferableparsedmvtresult_free(ptr, 1));
8535
8621
  const TransferablePolygonBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
8536
8622
  ? { register: () => {}, unregister: () => {} }
8537
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr >>> 0, 1));
8623
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolygonbatchedfeature_free(ptr, 1));
8538
8624
  const TransferablePolylineBatchedFeatureFinalization = (typeof FinalizationRegistry === 'undefined')
8539
8625
  ? { register: () => {}, unregister: () => {} }
8540
- : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr >>> 0, 1));
8626
+ : new FinalizationRegistry(ptr => wasm.__wbg_transferablepolylinebatchedfeature_free(ptr, 1));
8541
8627
  const TransformFinalization = (typeof FinalizationRegistry === 'undefined')
8542
8628
  ? { register: () => {}, unregister: () => {} }
8543
- : new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr >>> 0, 1));
8629
+ : new FinalizationRegistry(ptr => wasm.__wbg_transform_free(ptr, 1));
8544
8630
  const UintAttributeFinalization = (typeof FinalizationRegistry === 'undefined')
8545
8631
  ? { register: () => {}, unregister: () => {} }
8546
- : new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr >>> 0, 1));
8632
+ : new FinalizationRegistry(ptr => wasm.__wbg_uintattribute_free(ptr, 1));
8547
8633
  const UpsamplableTerrainGeometryFinalization = (typeof FinalizationRegistry === 'undefined')
8548
8634
  ? { register: () => {}, unregister: () => {} }
8549
- : new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr >>> 0, 1));
8635
+ : new FinalizationRegistry(ptr => wasm.__wbg_upsamplableterraingeometry_free(ptr, 1));
8550
8636
  const Vec2Finalization = (typeof FinalizationRegistry === 'undefined')
8551
8637
  ? { register: () => {}, unregister: () => {} }
8552
- : new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr >>> 0, 1));
8638
+ : new FinalizationRegistry(ptr => wasm.__wbg_vec2_free(ptr, 1));
8553
8639
  const Vec3Finalization = (typeof FinalizationRegistry === 'undefined')
8554
8640
  ? { register: () => {}, unregister: () => {} }
8555
- : new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr >>> 0, 1));
8641
+ : new FinalizationRegistry(ptr => wasm.__wbg_vec3_free(ptr, 1));
8556
8642
  const WasmGlyphMetricsFinalization = (typeof FinalizationRegistry === 'undefined')
8557
8643
  ? { register: () => {}, unregister: () => {} }
8558
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmglyphmetrics_free(ptr >>> 0, 1));
8644
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmglyphmetrics_free(ptr, 1));
8559
8645
  const WasmShapedGlyphFinalization = (typeof FinalizationRegistry === 'undefined')
8560
8646
  ? { register: () => {}, unregister: () => {} }
8561
- : new FinalizationRegistry(ptr => wasm.__wbg_wasmshapedglyph_free(ptr >>> 0, 1));
8647
+ : new FinalizationRegistry(ptr => wasm.__wbg_wasmshapedglyph_free(ptr, 1));
8562
8648
  const WindingOrderFinalization = (typeof FinalizationRegistry === 'undefined')
8563
8649
  ? { register: () => {}, unregister: () => {} }
8564
- : new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr >>> 0, 1));
8650
+ : new FinalizationRegistry(ptr => wasm.__wbg_windingorder_free(ptr, 1));
8565
8651
  const WindowFinalization = (typeof FinalizationRegistry === 'undefined')
8566
8652
  ? { register: () => {}, unregister: () => {} }
8567
- : new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr >>> 0, 1));
8653
+ : new FinalizationRegistry(ptr => wasm.__wbg_window_free(ptr, 1));
8568
8654
 
8569
8655
  function addToExternrefTable0(obj) {
8570
8656
  const idx = wasm.__externref_table_alloc();
@@ -8707,8 +8793,7 @@ function getFloat64ArrayMemory0() {
8707
8793
  }
8708
8794
 
8709
8795
  function getStringFromWasm0(ptr, len) {
8710
- ptr = ptr >>> 0;
8711
- return decodeText(ptr, len);
8796
+ return decodeText(ptr >>> 0, len);
8712
8797
  }
8713
8798
 
8714
8799
  let cachedUint32ArrayMemory0 = null;
@@ -8857,8 +8942,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
8857
8942
 
8858
8943
  let WASM_VECTOR_LEN = 0;
8859
8944
 
8860
- let wasmModule, wasm;
8945
+ let wasmModule, wasmInstance, wasm;
8861
8946
  function __wbg_finalize_init(instance, module) {
8947
+ wasmInstance = instance;
8862
8948
  wasm = instance.exports;
8863
8949
  wasmModule = module;
8864
8950
  cachedBigUint64ArrayMemory0 = null;