@vitessce/spatial-utils 3.0.1 → 3.1.1

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.
@@ -28148,6 +28148,10 @@ const FileType$1 = {
28148
28148
  ANNDATA_EXPRESSION_MATRIX_ZARR: "anndata-expression-matrix.zarr"
28149
28149
  };
28150
28150
  const CoordinationType$1 = {
28151
+ // Meta coordination scopes
28152
+ META_COORDINATION_SCOPES: "metaCoordinationScopes",
28153
+ META_COORDINATION_SCOPES_BY: "metaCoordinationScopesBy",
28154
+ // Other coordination scopes
28151
28155
  DATASET: "dataset",
28152
28156
  // Entity types
28153
28157
  OBS_TYPE: "obsType",
@@ -33800,7 +33804,7 @@ var json2csv_umd = { exports: {} };
33800
33804
  return result == "0" && 1 / value == -INFINITY ? "-0" : result;
33801
33805
  }
33802
33806
  function castPath(value) {
33803
- return isArray$22(value) ? value : stringToPath4(value);
33807
+ return isArray$22(value) ? value : stringToPath3(value);
33804
33808
  }
33805
33809
  function getMapData2(map2, key) {
33806
33810
  var data = map2.__data__;
@@ -33827,7 +33831,7 @@ var json2csv_umd = { exports: {} };
33827
33831
  function isMasked2(func) {
33828
33832
  return !!maskSrcKey2 && maskSrcKey2 in func;
33829
33833
  }
33830
- var stringToPath4 = memoize2(function(string) {
33834
+ var stringToPath3 = memoize2(function(string) {
33831
33835
  string = toString$12(string);
33832
33836
  var result = [];
33833
33837
  if (reLeadingDot.test(string)) {
@@ -49401,10 +49405,10 @@ const DEFAULT_LIGHT_INTENSITY$2 = 1;
49401
49405
  let idCount$2 = 0;
49402
49406
  class AmbientLight {
49403
49407
  constructor(props2 = {}) {
49404
- _defineProperty$f(this, "id", void 0);
49405
- _defineProperty$f(this, "color", void 0);
49406
- _defineProperty$f(this, "intensity", void 0);
49407
- _defineProperty$f(this, "type", "ambient");
49408
+ _defineProperty$e(this, "id", void 0);
49409
+ _defineProperty$e(this, "color", void 0);
49410
+ _defineProperty$e(this, "intensity", void 0);
49411
+ _defineProperty$e(this, "type", "ambient");
49408
49412
  const {
49409
49413
  color = DEFAULT_LIGHT_COLOR$2
49410
49414
  } = props2;
@@ -49422,12 +49426,12 @@ const DEFAULT_LIGHT_DIRECTION = [0, 0, -1];
49422
49426
  let idCount$1 = 0;
49423
49427
  class DirectionalLight {
49424
49428
  constructor(props2 = {}) {
49425
- _defineProperty$f(this, "id", void 0);
49426
- _defineProperty$f(this, "color", void 0);
49427
- _defineProperty$f(this, "intensity", void 0);
49428
- _defineProperty$f(this, "type", "directional");
49429
- _defineProperty$f(this, "direction", void 0);
49430
- _defineProperty$f(this, "shadow", void 0);
49429
+ _defineProperty$e(this, "id", void 0);
49430
+ _defineProperty$e(this, "color", void 0);
49431
+ _defineProperty$e(this, "intensity", void 0);
49432
+ _defineProperty$e(this, "type", "directional");
49433
+ _defineProperty$e(this, "direction", void 0);
49434
+ _defineProperty$e(this, "shadow", void 0);
49431
49435
  const {
49432
49436
  color = DEFAULT_LIGHT_COLOR$1
49433
49437
  } = props2;
@@ -49455,9 +49459,9 @@ class Pass {
49455
49459
  constructor(gl, props2 = {
49456
49460
  id: "pass"
49457
49461
  }) {
49458
- _defineProperty$f(this, "id", void 0);
49459
- _defineProperty$f(this, "gl", void 0);
49460
- _defineProperty$f(this, "props", void 0);
49462
+ _defineProperty$e(this, "id", void 0);
49463
+ _defineProperty$e(this, "gl", void 0);
49464
+ _defineProperty$e(this, "props", void 0);
49461
49465
  const {
49462
49466
  id
49463
49467
  } = props2;
@@ -49478,7 +49482,7 @@ class Pass {
49478
49482
  class LayersPass extends Pass {
49479
49483
  constructor(...args) {
49480
49484
  super(...args);
49481
- _defineProperty$f(this, "_lastRenderIndex", -1);
49485
+ _defineProperty$e(this, "_lastRenderIndex", -1);
49482
49486
  }
49483
49487
  render(options) {
49484
49488
  const gl = this.gl;
@@ -49725,9 +49729,9 @@ function clearGLCanvas(gl) {
49725
49729
  class ShadowPass extends LayersPass {
49726
49730
  constructor(gl, props2) {
49727
49731
  super(gl, props2);
49728
- _defineProperty$f(this, "shadowMap", void 0);
49729
- _defineProperty$f(this, "depthBuffer", void 0);
49730
- _defineProperty$f(this, "fbo", void 0);
49732
+ _defineProperty$e(this, "shadowMap", void 0);
49733
+ _defineProperty$e(this, "depthBuffer", void 0);
49734
+ _defineProperty$e(this, "fbo", void 0);
49731
49735
  this.shadowMap = new Texture2D(gl, {
49732
49736
  width: 1,
49733
49737
  height: 1,
@@ -49817,18 +49821,18 @@ const DEFAULT_DIRECTIONAL_LIGHT_PROPS = [{
49817
49821
  const DEFAULT_SHADOW_COLOR = [0, 0, 0, 200 / 255];
49818
49822
  class LightingEffect {
49819
49823
  constructor(props2 = {}) {
49820
- _defineProperty$f(this, "id", "lighting-effect");
49821
- _defineProperty$f(this, "props", null);
49822
- _defineProperty$f(this, "shadowColor", DEFAULT_SHADOW_COLOR);
49823
- _defineProperty$f(this, "shadow", void 0);
49824
- _defineProperty$f(this, "ambientLight", null);
49825
- _defineProperty$f(this, "directionalLights", []);
49826
- _defineProperty$f(this, "pointLights", []);
49827
- _defineProperty$f(this, "shadowPasses", []);
49828
- _defineProperty$f(this, "shadowMaps", []);
49829
- _defineProperty$f(this, "dummyShadowMap", null);
49830
- _defineProperty$f(this, "programManager", void 0);
49831
- _defineProperty$f(this, "shadowMatrices", void 0);
49824
+ _defineProperty$e(this, "id", "lighting-effect");
49825
+ _defineProperty$e(this, "props", null);
49826
+ _defineProperty$e(this, "shadowColor", DEFAULT_SHADOW_COLOR);
49827
+ _defineProperty$e(this, "shadow", void 0);
49828
+ _defineProperty$e(this, "ambientLight", null);
49829
+ _defineProperty$e(this, "directionalLights", []);
49830
+ _defineProperty$e(this, "pointLights", []);
49831
+ _defineProperty$e(this, "shadowPasses", []);
49832
+ _defineProperty$e(this, "shadowMaps", []);
49833
+ _defineProperty$e(this, "dummyShadowMap", null);
49834
+ _defineProperty$e(this, "programManager", void 0);
49835
+ _defineProperty$e(this, "shadowMatrices", void 0);
49832
49836
  for (const key in props2) {
49833
49837
  const lightSource = props2[key];
49834
49838
  switch (lightSource.type) {
@@ -49951,8 +49955,8 @@ class LightingEffect {
49951
49955
  }
49952
49956
  class TypedArrayManager {
49953
49957
  constructor(options = {}) {
49954
- _defineProperty$f(this, "_pool", []);
49955
- _defineProperty$f(this, "opts", {
49958
+ _defineProperty$e(this, "_pool", []);
49959
+ _defineProperty$e(this, "opts", {
49956
49960
  overAlloc: 2,
49957
49961
  poolSize: 100
49958
49962
  });
@@ -50137,30 +50141,30 @@ function createProjectionMatrix({
50137
50141
  }
50138
50142
  class Viewport {
50139
50143
  constructor(opts2 = {}) {
50140
- _defineProperty$f(this, "id", void 0);
50141
- _defineProperty$f(this, "x", void 0);
50142
- _defineProperty$f(this, "y", void 0);
50143
- _defineProperty$f(this, "width", void 0);
50144
- _defineProperty$f(this, "height", void 0);
50145
- _defineProperty$f(this, "padding", void 0);
50146
- _defineProperty$f(this, "isGeospatial", void 0);
50147
- _defineProperty$f(this, "zoom", void 0);
50148
- _defineProperty$f(this, "focalDistance", void 0);
50149
- _defineProperty$f(this, "position", void 0);
50150
- _defineProperty$f(this, "modelMatrix", void 0);
50151
- _defineProperty$f(this, "distanceScales", void 0);
50152
- _defineProperty$f(this, "scale", void 0);
50153
- _defineProperty$f(this, "center", void 0);
50154
- _defineProperty$f(this, "cameraPosition", void 0);
50155
- _defineProperty$f(this, "projectionMatrix", void 0);
50156
- _defineProperty$f(this, "viewMatrix", void 0);
50157
- _defineProperty$f(this, "viewMatrixUncentered", void 0);
50158
- _defineProperty$f(this, "viewMatrixInverse", void 0);
50159
- _defineProperty$f(this, "viewProjectionMatrix", void 0);
50160
- _defineProperty$f(this, "pixelProjectionMatrix", void 0);
50161
- _defineProperty$f(this, "pixelUnprojectionMatrix", void 0);
50162
- _defineProperty$f(this, "resolution", void 0);
50163
- _defineProperty$f(this, "_frustumPlanes", {});
50144
+ _defineProperty$e(this, "id", void 0);
50145
+ _defineProperty$e(this, "x", void 0);
50146
+ _defineProperty$e(this, "y", void 0);
50147
+ _defineProperty$e(this, "width", void 0);
50148
+ _defineProperty$e(this, "height", void 0);
50149
+ _defineProperty$e(this, "padding", void 0);
50150
+ _defineProperty$e(this, "isGeospatial", void 0);
50151
+ _defineProperty$e(this, "zoom", void 0);
50152
+ _defineProperty$e(this, "focalDistance", void 0);
50153
+ _defineProperty$e(this, "position", void 0);
50154
+ _defineProperty$e(this, "modelMatrix", void 0);
50155
+ _defineProperty$e(this, "distanceScales", void 0);
50156
+ _defineProperty$e(this, "scale", void 0);
50157
+ _defineProperty$e(this, "center", void 0);
50158
+ _defineProperty$e(this, "cameraPosition", void 0);
50159
+ _defineProperty$e(this, "projectionMatrix", void 0);
50160
+ _defineProperty$e(this, "viewMatrix", void 0);
50161
+ _defineProperty$e(this, "viewMatrixUncentered", void 0);
50162
+ _defineProperty$e(this, "viewMatrixInverse", void 0);
50163
+ _defineProperty$e(this, "viewProjectionMatrix", void 0);
50164
+ _defineProperty$e(this, "pixelProjectionMatrix", void 0);
50165
+ _defineProperty$e(this, "pixelUnprojectionMatrix", void 0);
50166
+ _defineProperty$e(this, "resolution", void 0);
50167
+ _defineProperty$e(this, "_frustumPlanes", {});
50164
50168
  this.id = opts2.id || this.constructor.displayName || "viewport";
50165
50169
  this.x = opts2.x || 0;
50166
50170
  this.y = opts2.y || 0;
@@ -50363,7 +50367,7 @@ class Viewport {
50363
50367
  }
50364
50368
  }
50365
50369
  }
50366
- _defineProperty$f(Viewport, "displayName", "Viewport");
50370
+ _defineProperty$e(Viewport, "displayName", "Viewport");
50367
50371
  const TILE_SIZE$4 = 512;
50368
50372
  const EARTH_CIRCUMFERENCE = 4003e4;
50369
50373
  const DEGREES_TO_RADIANS$3 = Math.PI / 180;
@@ -50439,15 +50443,15 @@ class WebMercatorViewport2 extends Viewport {
50439
50443
  fovy,
50440
50444
  focalDistance: altitude
50441
50445
  });
50442
- _defineProperty$f(this, "longitude", void 0);
50443
- _defineProperty$f(this, "latitude", void 0);
50444
- _defineProperty$f(this, "pitch", void 0);
50445
- _defineProperty$f(this, "bearing", void 0);
50446
- _defineProperty$f(this, "altitude", void 0);
50447
- _defineProperty$f(this, "fovy", void 0);
50448
- _defineProperty$f(this, "orthographic", void 0);
50449
- _defineProperty$f(this, "_subViewports", void 0);
50450
- _defineProperty$f(this, "_pseudoMeters", void 0);
50446
+ _defineProperty$e(this, "longitude", void 0);
50447
+ _defineProperty$e(this, "latitude", void 0);
50448
+ _defineProperty$e(this, "pitch", void 0);
50449
+ _defineProperty$e(this, "bearing", void 0);
50450
+ _defineProperty$e(this, "altitude", void 0);
50451
+ _defineProperty$e(this, "fovy", void 0);
50452
+ _defineProperty$e(this, "orthographic", void 0);
50453
+ _defineProperty$e(this, "_subViewports", void 0);
50454
+ _defineProperty$e(this, "_pseudoMeters", void 0);
50451
50455
  this.latitude = latitude;
50452
50456
  this.longitude = longitude;
50453
50457
  this.zoom = zoom;
@@ -50533,7 +50537,7 @@ class WebMercatorViewport2 extends Viewport {
50533
50537
  });
50534
50538
  }
50535
50539
  }
50536
- _defineProperty$f(WebMercatorViewport2, "displayName", "WebMercatorViewport");
50540
+ _defineProperty$e(WebMercatorViewport2, "displayName", "WebMercatorViewport");
50537
50541
  function lngLatZToWorldPosition(lngLatZ, viewport, offsetMode = false) {
50538
50542
  const p = viewport.projectPosition(lngLatZ);
50539
50543
  if (offsetMode && viewport instanceof WebMercatorViewport2) {
@@ -50629,13 +50633,13 @@ const DEFAULT_LIGHT_POSITION = [0, 0, 1];
50629
50633
  let idCount = 0;
50630
50634
  class PointLight {
50631
50635
  constructor(props2 = {}) {
50632
- _defineProperty$f(this, "id", void 0);
50633
- _defineProperty$f(this, "color", void 0);
50634
- _defineProperty$f(this, "intensity", void 0);
50635
- _defineProperty$f(this, "type", "point");
50636
- _defineProperty$f(this, "position", void 0);
50637
- _defineProperty$f(this, "attenuation", void 0);
50638
- _defineProperty$f(this, "projectedLight", void 0);
50636
+ _defineProperty$e(this, "id", void 0);
50637
+ _defineProperty$e(this, "color", void 0);
50638
+ _defineProperty$e(this, "intensity", void 0);
50639
+ _defineProperty$e(this, "type", "point");
50640
+ _defineProperty$e(this, "position", void 0);
50641
+ _defineProperty$e(this, "attenuation", void 0);
50642
+ _defineProperty$e(this, "projectedLight", void 0);
50639
50643
  const {
50640
50644
  color = DEFAULT_LIGHT_COLOR
50641
50645
  } = props2;
@@ -50792,7 +50796,7 @@ function getSunCoords(dates) {
50792
50796
  class SunLight extends DirectionalLight {
50793
50797
  constructor(opts2) {
50794
50798
  super(opts2);
50795
- _defineProperty$f(this, "timestamp", void 0);
50799
+ _defineProperty$e(this, "timestamp", void 0);
50796
50800
  this.timestamp = opts2.timestamp;
50797
50801
  }
50798
50802
  getProjectedLight({
@@ -50818,7 +50822,7 @@ class SunLight extends DirectionalLight {
50818
50822
  class ScreenPass extends Pass {
50819
50823
  constructor(gl, props2) {
50820
50824
  super(gl, props2);
50821
- _defineProperty$f(this, "model", void 0);
50825
+ _defineProperty$e(this, "model", void 0);
50822
50826
  const {
50823
50827
  module: module2,
50824
50828
  fs: fs2,
@@ -50866,10 +50870,10 @@ class ScreenPass extends Pass {
50866
50870
  }
50867
50871
  class PostProcessEffect {
50868
50872
  constructor(module2, props2 = {}) {
50869
- _defineProperty$f(this, "id", void 0);
50870
- _defineProperty$f(this, "props", void 0);
50871
- _defineProperty$f(this, "module", void 0);
50872
- _defineProperty$f(this, "passes", void 0);
50873
+ _defineProperty$e(this, "id", void 0);
50874
+ _defineProperty$e(this, "props", void 0);
50875
+ _defineProperty$e(this, "module", void 0);
50876
+ _defineProperty$e(this, "passes", void 0);
50873
50877
  this.id = "".concat(module2.name, "-pass");
50874
50878
  this.props = props2;
50875
50879
  normalizeShaderModule(module2);
@@ -50998,16 +51002,16 @@ function fillArray({
50998
51002
  }
50999
51003
  class Resource2 {
51000
51004
  constructor(id, data, context) {
51001
- _defineProperty$f(this, "id", void 0);
51002
- _defineProperty$f(this, "context", void 0);
51003
- _defineProperty$f(this, "isLoaded", void 0);
51004
- _defineProperty$f(this, "persistent", void 0);
51005
- _defineProperty$f(this, "_loadCount", 0);
51006
- _defineProperty$f(this, "_subscribers", /* @__PURE__ */ new Set());
51007
- _defineProperty$f(this, "_data", void 0);
51008
- _defineProperty$f(this, "_loader", void 0);
51009
- _defineProperty$f(this, "_error", void 0);
51010
- _defineProperty$f(this, "_content", void 0);
51005
+ _defineProperty$e(this, "id", void 0);
51006
+ _defineProperty$e(this, "context", void 0);
51007
+ _defineProperty$e(this, "isLoaded", void 0);
51008
+ _defineProperty$e(this, "persistent", void 0);
51009
+ _defineProperty$e(this, "_loadCount", 0);
51010
+ _defineProperty$e(this, "_subscribers", /* @__PURE__ */ new Set());
51011
+ _defineProperty$e(this, "_data", void 0);
51012
+ _defineProperty$e(this, "_loader", void 0);
51013
+ _defineProperty$e(this, "_error", void 0);
51014
+ _defineProperty$e(this, "_content", void 0);
51011
51015
  this.id = id;
51012
51016
  this.context = context;
51013
51017
  this.setData(data);
@@ -51065,11 +51069,11 @@ class ResourceManager {
51065
51069
  gl,
51066
51070
  protocol
51067
51071
  }) {
51068
- _defineProperty$f(this, "protocol", void 0);
51069
- _defineProperty$f(this, "_context", void 0);
51070
- _defineProperty$f(this, "_resources", void 0);
51071
- _defineProperty$f(this, "_consumers", void 0);
51072
- _defineProperty$f(this, "_pruneRequest", void 0);
51072
+ _defineProperty$e(this, "protocol", void 0);
51073
+ _defineProperty$e(this, "_context", void 0);
51074
+ _defineProperty$e(this, "_resources", void 0);
51075
+ _defineProperty$e(this, "_consumers", void 0);
51076
+ _defineProperty$e(this, "_pruneRequest", void 0);
51073
51077
  this.protocol = protocol || "resource://";
51074
51078
  this._context = {
51075
51079
  gl,
@@ -51196,15 +51200,15 @@ class LayerManager {
51196
51200
  viewport: _viewport,
51197
51201
  timeline
51198
51202
  } = {}) {
51199
- _defineProperty$f(this, "layers", void 0);
51200
- _defineProperty$f(this, "context", void 0);
51201
- _defineProperty$f(this, "resourceManager", void 0);
51202
- _defineProperty$f(this, "_lastRenderedLayers", []);
51203
- _defineProperty$f(this, "_needsRedraw", false);
51204
- _defineProperty$f(this, "_needsUpdate", false);
51205
- _defineProperty$f(this, "_nextLayers", null);
51206
- _defineProperty$f(this, "_debug", false);
51207
- _defineProperty$f(this, "activateViewport", (viewport) => {
51203
+ _defineProperty$e(this, "layers", void 0);
51204
+ _defineProperty$e(this, "context", void 0);
51205
+ _defineProperty$e(this, "resourceManager", void 0);
51206
+ _defineProperty$e(this, "_lastRenderedLayers", []);
51207
+ _defineProperty$e(this, "_needsRedraw", false);
51208
+ _defineProperty$e(this, "_needsUpdate", false);
51209
+ _defineProperty$e(this, "_nextLayers", null);
51210
+ _defineProperty$e(this, "_debug", false);
51211
+ _defineProperty$e(this, "activateViewport", (viewport) => {
51208
51212
  debug(TRACE_ACTIVATE_VIEWPORT, this, viewport);
51209
51213
  if (viewport) {
51210
51214
  this.context.viewport = viewport;
@@ -51415,19 +51419,19 @@ function deepEqual$2(a2, b) {
51415
51419
  }
51416
51420
  class ViewManager {
51417
51421
  constructor(props2) {
51418
- _defineProperty$f(this, "width", void 0);
51419
- _defineProperty$f(this, "height", void 0);
51420
- _defineProperty$f(this, "views", void 0);
51421
- _defineProperty$f(this, "viewState", void 0);
51422
- _defineProperty$f(this, "controllers", void 0);
51423
- _defineProperty$f(this, "timeline", void 0);
51424
- _defineProperty$f(this, "_viewports", void 0);
51425
- _defineProperty$f(this, "_viewportMap", void 0);
51426
- _defineProperty$f(this, "_isUpdating", void 0);
51427
- _defineProperty$f(this, "_needsRedraw", void 0);
51428
- _defineProperty$f(this, "_needsUpdate", void 0);
51429
- _defineProperty$f(this, "_eventManager", void 0);
51430
- _defineProperty$f(this, "_eventCallbacks", void 0);
51422
+ _defineProperty$e(this, "width", void 0);
51423
+ _defineProperty$e(this, "height", void 0);
51424
+ _defineProperty$e(this, "views", void 0);
51425
+ _defineProperty$e(this, "viewState", void 0);
51426
+ _defineProperty$e(this, "controllers", void 0);
51427
+ _defineProperty$e(this, "timeline", void 0);
51428
+ _defineProperty$e(this, "_viewports", void 0);
51429
+ _defineProperty$e(this, "_viewportMap", void 0);
51430
+ _defineProperty$e(this, "_isUpdating", void 0);
51431
+ _defineProperty$e(this, "_needsRedraw", void 0);
51432
+ _defineProperty$e(this, "_needsUpdate", void 0);
51433
+ _defineProperty$e(this, "_eventManager", void 0);
51434
+ _defineProperty$e(this, "_eventCallbacks", void 0);
51431
51435
  this.views = [];
51432
51436
  this.width = 100;
51433
51437
  this.height = 100;
@@ -51701,14 +51705,14 @@ function assert$4(condition, message) {
51701
51705
  }
51702
51706
  class View {
51703
51707
  constructor(props2) {
51704
- _defineProperty$f(this, "id", void 0);
51705
- _defineProperty$f(this, "viewportInstance", void 0);
51706
- _defineProperty$f(this, "_x", void 0);
51707
- _defineProperty$f(this, "_y", void 0);
51708
- _defineProperty$f(this, "_width", void 0);
51709
- _defineProperty$f(this, "_height", void 0);
51710
- _defineProperty$f(this, "_padding", void 0);
51711
- _defineProperty$f(this, "props", void 0);
51708
+ _defineProperty$e(this, "id", void 0);
51709
+ _defineProperty$e(this, "viewportInstance", void 0);
51710
+ _defineProperty$e(this, "_x", void 0);
51711
+ _defineProperty$e(this, "_y", void 0);
51712
+ _defineProperty$e(this, "_width", void 0);
51713
+ _defineProperty$e(this, "_height", void 0);
51714
+ _defineProperty$e(this, "_padding", void 0);
51715
+ _defineProperty$e(this, "props", void 0);
51712
51716
  const {
51713
51717
  id,
51714
51718
  x: x2 = 0,
@@ -51835,11 +51839,11 @@ class View {
51835
51839
  }
51836
51840
  class Transition {
51837
51841
  constructor(timeline) {
51838
- _defineProperty$f(this, "_inProgress", void 0);
51839
- _defineProperty$f(this, "_handle", void 0);
51840
- _defineProperty$f(this, "_timeline", void 0);
51841
- _defineProperty$f(this, "time", void 0);
51842
- _defineProperty$f(this, "settings", void 0);
51842
+ _defineProperty$e(this, "_inProgress", void 0);
51843
+ _defineProperty$e(this, "_handle", void 0);
51844
+ _defineProperty$e(this, "_timeline", void 0);
51845
+ _defineProperty$e(this, "time", void 0);
51846
+ _defineProperty$e(this, "settings", void 0);
51843
51847
  this._inProgress = false;
51844
51848
  this._handle = null;
51845
51849
  this._timeline = timeline;
@@ -51913,13 +51917,13 @@ const DEFAULT_EASING = (t2) => t2;
51913
51917
  const DEFAULT_INTERRUPTION = TRANSITION_EVENTS.BREAK;
51914
51918
  class TransitionManager {
51915
51919
  constructor(opts2) {
51916
- _defineProperty$f(this, "getControllerState", void 0);
51917
- _defineProperty$f(this, "props", void 0);
51918
- _defineProperty$f(this, "propsInTransition", void 0);
51919
- _defineProperty$f(this, "transition", void 0);
51920
- _defineProperty$f(this, "onViewStateChange", void 0);
51921
- _defineProperty$f(this, "onStateChange", void 0);
51922
- _defineProperty$f(this, "_onTransitionUpdate", (transition) => {
51920
+ _defineProperty$e(this, "getControllerState", void 0);
51921
+ _defineProperty$e(this, "props", void 0);
51922
+ _defineProperty$e(this, "propsInTransition", void 0);
51923
+ _defineProperty$e(this, "transition", void 0);
51924
+ _defineProperty$e(this, "onViewStateChange", void 0);
51925
+ _defineProperty$e(this, "onStateChange", void 0);
51926
+ _defineProperty$e(this, "_onTransitionUpdate", (transition) => {
51923
51927
  const {
51924
51928
  time,
51925
51929
  settings: {
@@ -52047,9 +52051,9 @@ class TransitionManager {
52047
52051
  }
52048
52052
  class TransitionInterpolator {
52049
52053
  constructor(opts2) {
52050
- _defineProperty$f(this, "_propsToCompare", void 0);
52051
- _defineProperty$f(this, "_propsToExtract", void 0);
52052
- _defineProperty$f(this, "_requiredProps", void 0);
52054
+ _defineProperty$e(this, "_propsToCompare", void 0);
52055
+ _defineProperty$e(this, "_propsToExtract", void 0);
52056
+ _defineProperty$e(this, "_requiredProps", void 0);
52053
52057
  const {
52054
52058
  compare: compare2,
52055
52059
  extract,
@@ -52110,7 +52114,7 @@ class LinearInterpolator extends TransitionInterpolator {
52110
52114
  required: DEFAULT_REQUIRED_PROPS
52111
52115
  };
52112
52116
  super(normalizedOpts.transitionProps);
52113
- _defineProperty$f(this, "opts", void 0);
52117
+ _defineProperty$e(this, "opts", void 0);
52114
52118
  this.opts = normalizedOpts;
52115
52119
  }
52116
52120
  initializeProps(startProps, endProps) {
@@ -52164,31 +52168,31 @@ const EVENT_TYPES = {
52164
52168
  const pinchEventWorkaround = {};
52165
52169
  class Controller {
52166
52170
  constructor(opts2) {
52167
- _defineProperty$f(this, "props", void 0);
52168
- _defineProperty$f(this, "state", {});
52169
- _defineProperty$f(this, "transitionManager", void 0);
52170
- _defineProperty$f(this, "eventManager", void 0);
52171
- _defineProperty$f(this, "onViewStateChange", void 0);
52172
- _defineProperty$f(this, "onStateChange", void 0);
52173
- _defineProperty$f(this, "makeViewport", void 0);
52174
- _defineProperty$f(this, "_controllerState", void 0);
52175
- _defineProperty$f(this, "_events", {});
52176
- _defineProperty$f(this, "_interactionState", {
52171
+ _defineProperty$e(this, "props", void 0);
52172
+ _defineProperty$e(this, "state", {});
52173
+ _defineProperty$e(this, "transitionManager", void 0);
52174
+ _defineProperty$e(this, "eventManager", void 0);
52175
+ _defineProperty$e(this, "onViewStateChange", void 0);
52176
+ _defineProperty$e(this, "onStateChange", void 0);
52177
+ _defineProperty$e(this, "makeViewport", void 0);
52178
+ _defineProperty$e(this, "_controllerState", void 0);
52179
+ _defineProperty$e(this, "_events", {});
52180
+ _defineProperty$e(this, "_interactionState", {
52177
52181
  isDragging: false
52178
52182
  });
52179
- _defineProperty$f(this, "_customEvents", []);
52180
- _defineProperty$f(this, "_eventStartBlocked", null);
52181
- _defineProperty$f(this, "_panMove", false);
52182
- _defineProperty$f(this, "invertPan", false);
52183
- _defineProperty$f(this, "dragMode", "rotate");
52184
- _defineProperty$f(this, "inertia", 0);
52185
- _defineProperty$f(this, "scrollZoom", true);
52186
- _defineProperty$f(this, "dragPan", true);
52187
- _defineProperty$f(this, "dragRotate", true);
52188
- _defineProperty$f(this, "doubleClickZoom", true);
52189
- _defineProperty$f(this, "touchZoom", true);
52190
- _defineProperty$f(this, "touchRotate", false);
52191
- _defineProperty$f(this, "keyboard", true);
52183
+ _defineProperty$e(this, "_customEvents", []);
52184
+ _defineProperty$e(this, "_eventStartBlocked", null);
52185
+ _defineProperty$e(this, "_panMove", false);
52186
+ _defineProperty$e(this, "invertPan", false);
52187
+ _defineProperty$e(this, "dragMode", "rotate");
52188
+ _defineProperty$e(this, "inertia", 0);
52189
+ _defineProperty$e(this, "scrollZoom", true);
52190
+ _defineProperty$e(this, "dragPan", true);
52191
+ _defineProperty$e(this, "dragRotate", true);
52192
+ _defineProperty$e(this, "doubleClickZoom", true);
52193
+ _defineProperty$e(this, "touchZoom", true);
52194
+ _defineProperty$e(this, "touchRotate", false);
52195
+ _defineProperty$e(this, "keyboard", true);
52192
52196
  this.transitionManager = new TransitionManager({
52193
52197
  ...opts2,
52194
52198
  getControllerState: (props2) => new this.ControllerState(props2),
@@ -52799,8 +52803,8 @@ class Controller {
52799
52803
  }
52800
52804
  class ViewState {
52801
52805
  constructor(props2, state) {
52802
- _defineProperty$f(this, "_viewportProps", void 0);
52803
- _defineProperty$f(this, "_state", void 0);
52806
+ _defineProperty$e(this, "_viewportProps", void 0);
52807
+ _defineProperty$e(this, "_state", void 0);
52804
52808
  this._viewportProps = this.applyConstraints(props2);
52805
52809
  this._state = state;
52806
52810
  }
@@ -52863,7 +52867,7 @@ class MapState extends ViewState {
52863
52867
  startPitch,
52864
52868
  startZoom
52865
52869
  });
52866
- _defineProperty$f(this, "makeViewport", void 0);
52870
+ _defineProperty$e(this, "makeViewport", void 0);
52867
52871
  this.makeViewport = options.makeViewport;
52868
52872
  }
52869
52873
  panStart({
@@ -53123,8 +53127,8 @@ class MapState extends ViewState {
53123
53127
  class MapController extends Controller {
53124
53128
  constructor(...args) {
53125
53129
  super(...args);
53126
- _defineProperty$f(this, "ControllerState", MapState);
53127
- _defineProperty$f(this, "transition", {
53130
+ _defineProperty$e(this, "ControllerState", MapState);
53131
+ _defineProperty$e(this, "transition", {
53128
53132
  transitionDuration: 300,
53129
53133
  transitionInterpolator: new LinearInterpolator({
53130
53134
  transitionProps: {
@@ -53133,7 +53137,7 @@ class MapController extends Controller {
53133
53137
  }
53134
53138
  })
53135
53139
  });
53136
- _defineProperty$f(this, "dragMode", "pan");
53140
+ _defineProperty$e(this, "dragMode", "pan");
53137
53141
  }
53138
53142
  setProps(props2) {
53139
53143
  props2.position = props2.position || [0, 0, 0];
@@ -53157,12 +53161,12 @@ class MapView extends View {
53157
53161
  return MapController;
53158
53162
  }
53159
53163
  }
53160
- _defineProperty$f(MapView, "displayName", "MapView");
53164
+ _defineProperty$e(MapView, "displayName", "MapView");
53161
53165
  class MaskPass extends LayersPass {
53162
53166
  constructor(gl, props2) {
53163
53167
  super(gl, props2);
53164
- _defineProperty$f(this, "maskMap", void 0);
53165
- _defineProperty$f(this, "fbo", void 0);
53168
+ _defineProperty$e(this, "maskMap", void 0);
53169
+ _defineProperty$e(this, "fbo", void 0);
53166
53170
  const {
53167
53171
  mapSize = 2048
53168
53172
  } = props2;
@@ -53349,7 +53353,7 @@ class OrbitState extends ViewState {
53349
53353
  startZoomPosition,
53350
53354
  startZoom
53351
53355
  });
53352
- _defineProperty$f(this, "makeViewport", void 0);
53356
+ _defineProperty$e(this, "makeViewport", void 0);
53353
53357
  this.makeViewport = options.makeViewport;
53354
53358
  }
53355
53359
  panStart({
@@ -53586,8 +53590,8 @@ class OrbitState extends ViewState {
53586
53590
  class OrbitController extends Controller {
53587
53591
  constructor(...args) {
53588
53592
  super(...args);
53589
- _defineProperty$f(this, "ControllerState", OrbitState);
53590
- _defineProperty$f(this, "transition", {
53593
+ _defineProperty$e(this, "ControllerState", OrbitState);
53594
+ _defineProperty$e(this, "transition", {
53591
53595
  transitionDuration: 300,
53592
53596
  transitionInterpolator: new LinearInterpolator({
53593
53597
  transitionProps: {
@@ -53601,7 +53605,7 @@ class OrbitController extends Controller {
53601
53605
  class OrthographicState extends OrbitState {
53602
53606
  constructor(props2) {
53603
53607
  super(props2);
53604
- _defineProperty$f(this, "zoomAxis", void 0);
53608
+ _defineProperty$e(this, "zoomAxis", void 0);
53605
53609
  this.zoomAxis = props2.zoomAxis || "all";
53606
53610
  }
53607
53611
  _calculateNewZoom({
@@ -53645,12 +53649,12 @@ class OrthographicState extends OrbitState {
53645
53649
  class OrthographicController extends Controller {
53646
53650
  constructor(...args) {
53647
53651
  super(...args);
53648
- _defineProperty$f(this, "ControllerState", OrthographicState);
53649
- _defineProperty$f(this, "transition", {
53652
+ _defineProperty$e(this, "ControllerState", OrthographicState);
53653
+ _defineProperty$e(this, "transition", {
53650
53654
  transitionDuration: 300,
53651
53655
  transitionInterpolator: new LinearInterpolator(["target", "zoom"])
53652
53656
  });
53653
- _defineProperty$f(this, "dragMode", "pan");
53657
+ _defineProperty$e(this, "dragMode", "pan");
53654
53658
  }
53655
53659
  _onPanRotate() {
53656
53660
  return false;
@@ -53664,7 +53668,7 @@ class OrthographicView extends View {
53664
53668
  return OrthographicController;
53665
53669
  }
53666
53670
  }
53667
- _defineProperty$f(OrthographicView, "displayName", "OrthographicView");
53671
+ _defineProperty$e(OrthographicView, "displayName", "OrthographicView");
53668
53672
  function getMaskBounds({
53669
53673
  layers,
53670
53674
  viewport
@@ -53757,15 +53761,15 @@ function _doubleBounds(bounds2) {
53757
53761
  }
53758
53762
  class MaskEffect {
53759
53763
  constructor() {
53760
- _defineProperty$f(this, "id", "mask-effect");
53761
- _defineProperty$f(this, "props", null);
53762
- _defineProperty$f(this, "useInPicking", true);
53763
- _defineProperty$f(this, "dummyMaskMap", void 0);
53764
- _defineProperty$f(this, "channels", []);
53765
- _defineProperty$f(this, "masks", null);
53766
- _defineProperty$f(this, "maskPass", void 0);
53767
- _defineProperty$f(this, "maskMap", void 0);
53768
- _defineProperty$f(this, "lastViewport", void 0);
53764
+ _defineProperty$e(this, "id", "mask-effect");
53765
+ _defineProperty$e(this, "props", null);
53766
+ _defineProperty$e(this, "useInPicking", true);
53767
+ _defineProperty$e(this, "dummyMaskMap", void 0);
53768
+ _defineProperty$e(this, "channels", []);
53769
+ _defineProperty$e(this, "masks", null);
53770
+ _defineProperty$e(this, "maskPass", void 0);
53771
+ _defineProperty$e(this, "maskMap", void 0);
53772
+ _defineProperty$e(this, "lastViewport", void 0);
53769
53773
  }
53770
53774
  preRender(gl, {
53771
53775
  layers,
@@ -53925,9 +53929,9 @@ class MaskEffect {
53925
53929
  const DEFAULT_LIGHTING_EFFECT = new LightingEffect();
53926
53930
  class EffectManager {
53927
53931
  constructor() {
53928
- _defineProperty$f(this, "effects", void 0);
53929
- _defineProperty$f(this, "_internalEffects", void 0);
53930
- _defineProperty$f(this, "_needsRedraw", void 0);
53932
+ _defineProperty$e(this, "effects", void 0);
53933
+ _defineProperty$e(this, "_internalEffects", void 0);
53934
+ _defineProperty$e(this, "_needsRedraw", void 0);
53931
53935
  this.effects = [];
53932
53936
  this._internalEffects = [];
53933
53937
  this._needsRedraw = "Initial render";
@@ -53988,8 +53992,8 @@ const PICKING_PARAMETERS = {
53988
53992
  class PickLayersPass extends LayersPass {
53989
53993
  constructor(...args) {
53990
53994
  super(...args);
53991
- _defineProperty$f(this, "pickZ", void 0);
53992
- _defineProperty$f(this, "_colors", null);
53995
+ _defineProperty$e(this, "pickZ", void 0);
53996
+ _defineProperty$e(this, "_colors", null);
53993
53997
  }
53994
53998
  render(props2) {
53995
53999
  if (props2.pickingFBO) {
@@ -54420,13 +54424,13 @@ function getViewportFromCoordinates(viewports, pixel) {
54420
54424
  }
54421
54425
  class DeckPicker {
54422
54426
  constructor(gl) {
54423
- _defineProperty$f(this, "gl", void 0);
54424
- _defineProperty$f(this, "pickingFBO", void 0);
54425
- _defineProperty$f(this, "depthFBO", void 0);
54426
- _defineProperty$f(this, "pickLayersPass", void 0);
54427
- _defineProperty$f(this, "layerFilter", void 0);
54428
- _defineProperty$f(this, "lastPickedInfo", void 0);
54429
- _defineProperty$f(this, "_pickable", true);
54427
+ _defineProperty$e(this, "gl", void 0);
54428
+ _defineProperty$e(this, "pickingFBO", void 0);
54429
+ _defineProperty$e(this, "depthFBO", void 0);
54430
+ _defineProperty$e(this, "pickLayersPass", void 0);
54431
+ _defineProperty$e(this, "layerFilter", void 0);
54432
+ _defineProperty$e(this, "lastPickedInfo", void 0);
54433
+ _defineProperty$e(this, "_pickable", true);
54430
54434
  this.gl = gl;
54431
54435
  this.pickLayersPass = new PickLayersPass(gl);
54432
54436
  this.lastPickedInfo = {
@@ -54798,8 +54802,8 @@ const defaultStyle = {
54798
54802
  };
54799
54803
  class Tooltip {
54800
54804
  constructor(canvas) {
54801
- _defineProperty$f(this, "el", null);
54802
- _defineProperty$f(this, "isVisible", false);
54805
+ _defineProperty$e(this, "el", null);
54806
+ _defineProperty$e(this, "isVisible", false);
54803
54807
  const canvasParent = canvas.parentElement;
54804
54808
  if (canvasParent) {
54805
54809
  this.el = document.createElement("div");
@@ -57529,28 +57533,28 @@ const defaultProps$M = {
57529
57533
  };
57530
57534
  class Deck {
57531
57535
  constructor(props2) {
57532
- _defineProperty$f(this, "props", void 0);
57533
- _defineProperty$f(this, "width", 0);
57534
- _defineProperty$f(this, "height", 0);
57535
- _defineProperty$f(this, "userData", {});
57536
- _defineProperty$f(this, "canvas", null);
57537
- _defineProperty$f(this, "viewManager", null);
57538
- _defineProperty$f(this, "layerManager", null);
57539
- _defineProperty$f(this, "effectManager", null);
57540
- _defineProperty$f(this, "deckRenderer", null);
57541
- _defineProperty$f(this, "deckPicker", null);
57542
- _defineProperty$f(this, "eventManager", null);
57543
- _defineProperty$f(this, "tooltip", null);
57544
- _defineProperty$f(this, "metrics", void 0);
57545
- _defineProperty$f(this, "animationLoop", void 0);
57546
- _defineProperty$f(this, "stats", void 0);
57547
- _defineProperty$f(this, "viewState", void 0);
57548
- _defineProperty$f(this, "cursorState", void 0);
57549
- _defineProperty$f(this, "_needsRedraw", void 0);
57550
- _defineProperty$f(this, "_pickRequest", void 0);
57551
- _defineProperty$f(this, "_lastPointerDownInfo", null);
57552
- _defineProperty$f(this, "_metricsCounter", void 0);
57553
- _defineProperty$f(this, "_onPointerMove", (event) => {
57536
+ _defineProperty$e(this, "props", void 0);
57537
+ _defineProperty$e(this, "width", 0);
57538
+ _defineProperty$e(this, "height", 0);
57539
+ _defineProperty$e(this, "userData", {});
57540
+ _defineProperty$e(this, "canvas", null);
57541
+ _defineProperty$e(this, "viewManager", null);
57542
+ _defineProperty$e(this, "layerManager", null);
57543
+ _defineProperty$e(this, "effectManager", null);
57544
+ _defineProperty$e(this, "deckRenderer", null);
57545
+ _defineProperty$e(this, "deckPicker", null);
57546
+ _defineProperty$e(this, "eventManager", null);
57547
+ _defineProperty$e(this, "tooltip", null);
57548
+ _defineProperty$e(this, "metrics", void 0);
57549
+ _defineProperty$e(this, "animationLoop", void 0);
57550
+ _defineProperty$e(this, "stats", void 0);
57551
+ _defineProperty$e(this, "viewState", void 0);
57552
+ _defineProperty$e(this, "cursorState", void 0);
57553
+ _defineProperty$e(this, "_needsRedraw", void 0);
57554
+ _defineProperty$e(this, "_pickRequest", void 0);
57555
+ _defineProperty$e(this, "_lastPointerDownInfo", null);
57556
+ _defineProperty$e(this, "_metricsCounter", void 0);
57557
+ _defineProperty$e(this, "_onPointerMove", (event) => {
57554
57558
  const {
57555
57559
  _pickRequest
57556
57560
  } = this;
@@ -57577,7 +57581,7 @@ class Deck {
57577
57581
  }
57578
57582
  _pickRequest.event = event;
57579
57583
  });
57580
- _defineProperty$f(this, "_onEvent", (event) => {
57584
+ _defineProperty$e(this, "_onEvent", (event) => {
57581
57585
  const eventOptions = EVENTS[event.type];
57582
57586
  const pos = event.offsetCenter;
57583
57587
  if (!eventOptions || !pos || !this.layerManager) {
@@ -57603,7 +57607,7 @@ class Deck {
57603
57607
  rootHandler(info, event);
57604
57608
  }
57605
57609
  });
57606
- _defineProperty$f(this, "_onPointerDown", (event) => {
57610
+ _defineProperty$e(this, "_onPointerDown", (event) => {
57607
57611
  const pos = event.offsetCenter;
57608
57612
  const pickedInfo = this._pick("pickObject", "pickObject Time", {
57609
57613
  x: pos.x,
@@ -58115,12 +58119,12 @@ class Deck {
58115
58119
  metrics.gpuMemory = memoryStats.get("GPU Memory").count;
58116
58120
  }
58117
58121
  }
58118
- _defineProperty$f(Deck, "defaultProps", defaultProps$M);
58119
- _defineProperty$f(Deck, "VERSION", deckGlobal.VERSION);
58122
+ _defineProperty$e(Deck, "defaultProps", defaultProps$M);
58123
+ _defineProperty$e(Deck, "VERSION", deckGlobal.VERSION);
58120
58124
  class ShaderAttribute {
58121
58125
  constructor(dataColumn, opts2) {
58122
- _defineProperty$f(this, "opts", void 0);
58123
- _defineProperty$f(this, "source", void 0);
58126
+ _defineProperty$e(this, "opts", void 0);
58127
+ _defineProperty$e(this, "source", void 0);
58124
58128
  this.opts = opts2;
58125
58129
  this.source = dataColumn;
58126
58130
  }
@@ -58210,14 +58214,14 @@ function resolveDoublePrecisionShaderAttributes(baseAccessor, shaderAttributeOpt
58210
58214
  }
58211
58215
  class DataColumn {
58212
58216
  constructor(gl, opts2, state) {
58213
- _defineProperty$f(this, "gl", void 0);
58214
- _defineProperty$f(this, "id", void 0);
58215
- _defineProperty$f(this, "size", void 0);
58216
- _defineProperty$f(this, "settings", void 0);
58217
- _defineProperty$f(this, "value", void 0);
58218
- _defineProperty$f(this, "doublePrecision", void 0);
58219
- _defineProperty$f(this, "_buffer", void 0);
58220
- _defineProperty$f(this, "state", void 0);
58217
+ _defineProperty$e(this, "gl", void 0);
58218
+ _defineProperty$e(this, "id", void 0);
58219
+ _defineProperty$e(this, "size", void 0);
58220
+ _defineProperty$e(this, "settings", void 0);
58221
+ _defineProperty$e(this, "value", void 0);
58222
+ _defineProperty$e(this, "doublePrecision", void 0);
58223
+ _defineProperty$e(this, "_buffer", void 0);
58224
+ _defineProperty$e(this, "state", void 0);
58221
58225
  this.gl = gl;
58222
58226
  this.id = opts2.id || "";
58223
58227
  this.size = opts2.size || 1;
@@ -58870,7 +58874,7 @@ class Attribute extends DataColumn {
58870
58874
  needsRedraw: false,
58871
58875
  updateRanges: FULL
58872
58876
  });
58873
- _defineProperty$f(this, "constant", false);
58877
+ _defineProperty$e(this, "constant", false);
58874
58878
  this.settings.update = opts2.update || (opts2.accessor ? this._autoUpdater : void 0);
58875
58879
  Object.seal(this.settings);
58876
58880
  Object.seal(this.state);
@@ -59192,16 +59196,16 @@ class GPUInterpolationTransition {
59192
59196
  attribute,
59193
59197
  timeline
59194
59198
  }) {
59195
- _defineProperty$f(this, "gl", void 0);
59196
- _defineProperty$f(this, "type", "interpolation");
59197
- _defineProperty$f(this, "attributeInTransition", void 0);
59198
- _defineProperty$f(this, "settings", void 0);
59199
- _defineProperty$f(this, "attribute", void 0);
59200
- _defineProperty$f(this, "transition", void 0);
59201
- _defineProperty$f(this, "currentStartIndices", void 0);
59202
- _defineProperty$f(this, "currentLength", void 0);
59203
- _defineProperty$f(this, "transform", void 0);
59204
- _defineProperty$f(this, "buffers", void 0);
59199
+ _defineProperty$e(this, "gl", void 0);
59200
+ _defineProperty$e(this, "type", "interpolation");
59201
+ _defineProperty$e(this, "attributeInTransition", void 0);
59202
+ _defineProperty$e(this, "settings", void 0);
59203
+ _defineProperty$e(this, "attribute", void 0);
59204
+ _defineProperty$e(this, "transition", void 0);
59205
+ _defineProperty$e(this, "currentStartIndices", void 0);
59206
+ _defineProperty$e(this, "currentLength", void 0);
59207
+ _defineProperty$e(this, "transform", void 0);
59208
+ _defineProperty$e(this, "buffers", void 0);
59205
59209
  this.gl = gl;
59206
59210
  this.transition = new Transition(timeline);
59207
59211
  this.attribute = attribute;
@@ -59309,18 +59313,18 @@ class GPUSpringTransition {
59309
59313
  attribute,
59310
59314
  timeline
59311
59315
  }) {
59312
- _defineProperty$f(this, "gl", void 0);
59313
- _defineProperty$f(this, "type", "spring");
59314
- _defineProperty$f(this, "attributeInTransition", void 0);
59315
- _defineProperty$f(this, "settings", void 0);
59316
- _defineProperty$f(this, "attribute", void 0);
59317
- _defineProperty$f(this, "transition", void 0);
59318
- _defineProperty$f(this, "currentStartIndices", void 0);
59319
- _defineProperty$f(this, "currentLength", void 0);
59320
- _defineProperty$f(this, "texture", void 0);
59321
- _defineProperty$f(this, "framebuffer", void 0);
59322
- _defineProperty$f(this, "transform", void 0);
59323
- _defineProperty$f(this, "buffers", void 0);
59316
+ _defineProperty$e(this, "gl", void 0);
59317
+ _defineProperty$e(this, "type", "spring");
59318
+ _defineProperty$e(this, "attributeInTransition", void 0);
59319
+ _defineProperty$e(this, "settings", void 0);
59320
+ _defineProperty$e(this, "attribute", void 0);
59321
+ _defineProperty$e(this, "transition", void 0);
59322
+ _defineProperty$e(this, "currentStartIndices", void 0);
59323
+ _defineProperty$e(this, "currentLength", void 0);
59324
+ _defineProperty$e(this, "texture", void 0);
59325
+ _defineProperty$e(this, "framebuffer", void 0);
59326
+ _defineProperty$e(this, "transform", void 0);
59327
+ _defineProperty$e(this, "buffers", void 0);
59324
59328
  this.gl = gl;
59325
59329
  this.type = "spring";
59326
59330
  this.transition = new Transition(timeline);
@@ -59482,13 +59486,13 @@ class AttributeTransitionManager {
59482
59486
  id,
59483
59487
  timeline
59484
59488
  }) {
59485
- _defineProperty$f(this, "id", void 0);
59486
- _defineProperty$f(this, "isSupported", void 0);
59487
- _defineProperty$f(this, "gl", void 0);
59488
- _defineProperty$f(this, "timeline", void 0);
59489
- _defineProperty$f(this, "transitions", void 0);
59490
- _defineProperty$f(this, "needsRedraw", void 0);
59491
- _defineProperty$f(this, "numInstances", void 0);
59489
+ _defineProperty$e(this, "id", void 0);
59490
+ _defineProperty$e(this, "isSupported", void 0);
59491
+ _defineProperty$e(this, "gl", void 0);
59492
+ _defineProperty$e(this, "timeline", void 0);
59493
+ _defineProperty$e(this, "transitions", void 0);
59494
+ _defineProperty$e(this, "needsRedraw", void 0);
59495
+ _defineProperty$e(this, "numInstances", void 0);
59492
59496
  this.id = id;
59493
59497
  this.gl = gl;
59494
59498
  this.timeline = timeline;
@@ -59595,14 +59599,14 @@ class AttributeManager {
59595
59599
  stats,
59596
59600
  timeline
59597
59601
  } = {}) {
59598
- _defineProperty$f(this, "id", void 0);
59599
- _defineProperty$f(this, "gl", void 0);
59600
- _defineProperty$f(this, "attributes", void 0);
59601
- _defineProperty$f(this, "updateTriggers", void 0);
59602
- _defineProperty$f(this, "needsRedraw", void 0);
59603
- _defineProperty$f(this, "userData", void 0);
59604
- _defineProperty$f(this, "stats", void 0);
59605
- _defineProperty$f(this, "attributeTransitionManager", void 0);
59602
+ _defineProperty$e(this, "id", void 0);
59603
+ _defineProperty$e(this, "gl", void 0);
59604
+ _defineProperty$e(this, "attributes", void 0);
59605
+ _defineProperty$e(this, "updateTriggers", void 0);
59606
+ _defineProperty$e(this, "needsRedraw", void 0);
59607
+ _defineProperty$e(this, "userData", void 0);
59608
+ _defineProperty$e(this, "stats", void 0);
59609
+ _defineProperty$e(this, "attributeTransitionManager", void 0);
59606
59610
  this.id = id;
59607
59611
  this.gl = gl;
59608
59612
  this.attributes = {};
@@ -60581,9 +60585,9 @@ function getComponentName(componentClass) {
60581
60585
  let counter = 0;
60582
60586
  class Component {
60583
60587
  constructor(...propObjects) {
60584
- _defineProperty$f(this, "id", void 0);
60585
- _defineProperty$f(this, "props", void 0);
60586
- _defineProperty$f(this, "count", void 0);
60588
+ _defineProperty$e(this, "id", void 0);
60589
+ _defineProperty$e(this, "props", void 0);
60590
+ _defineProperty$e(this, "count", void 0);
60587
60591
  this.props = createProps(this, propObjects);
60588
60592
  this.id = this.props.id;
60589
60593
  this.count = counter++;
@@ -60607,16 +60611,16 @@ class Component {
60607
60611
  });
60608
60612
  }
60609
60613
  }
60610
- _defineProperty$f(Component, "componentName", "Component");
60611
- _defineProperty$f(Component, "defaultProps", {});
60614
+ _defineProperty$e(Component, "componentName", "Component");
60615
+ _defineProperty$e(Component, "defaultProps", {});
60612
60616
  const EMPTY_PROPS = Object.freeze({});
60613
60617
  class ComponentState {
60614
60618
  constructor(component) {
60615
- _defineProperty$f(this, "component", void 0);
60616
- _defineProperty$f(this, "onAsyncPropUpdated", void 0);
60617
- _defineProperty$f(this, "asyncProps", void 0);
60618
- _defineProperty$f(this, "oldProps", void 0);
60619
- _defineProperty$f(this, "oldAsyncProps", void 0);
60619
+ _defineProperty$e(this, "component", void 0);
60620
+ _defineProperty$e(this, "onAsyncPropUpdated", void 0);
60621
+ _defineProperty$e(this, "asyncProps", void 0);
60622
+ _defineProperty$e(this, "oldProps", void 0);
60623
+ _defineProperty$e(this, "oldAsyncProps", void 0);
60620
60624
  this.component = component;
60621
60625
  this.asyncProps = {};
60622
60626
  this.onAsyncPropUpdated = () => {
@@ -60819,15 +60823,15 @@ class LayerState extends ComponentState {
60819
60823
  layer
60820
60824
  }) {
60821
60825
  super(layer);
60822
- _defineProperty$f(this, "attributeManager", void 0);
60823
- _defineProperty$f(this, "needsRedraw", void 0);
60824
- _defineProperty$f(this, "needsUpdate", void 0);
60825
- _defineProperty$f(this, "subLayers", void 0);
60826
- _defineProperty$f(this, "usesPickingColorCache", void 0);
60827
- _defineProperty$f(this, "changeFlags", void 0);
60828
- _defineProperty$f(this, "viewport", void 0);
60829
- _defineProperty$f(this, "uniformTransitions", void 0);
60830
- _defineProperty$f(this, "propsInTransition", void 0);
60826
+ _defineProperty$e(this, "attributeManager", void 0);
60827
+ _defineProperty$e(this, "needsRedraw", void 0);
60828
+ _defineProperty$e(this, "needsUpdate", void 0);
60829
+ _defineProperty$e(this, "subLayers", void 0);
60830
+ _defineProperty$e(this, "usesPickingColorCache", void 0);
60831
+ _defineProperty$e(this, "changeFlags", void 0);
60832
+ _defineProperty$e(this, "viewport", void 0);
60833
+ _defineProperty$e(this, "uniformTransitions", void 0);
60834
+ _defineProperty$e(this, "propsInTransition", void 0);
60831
60835
  this.attributeManager = attributeManager;
60832
60836
  this.needsRedraw = true;
60833
60837
  this.needsUpdate = true;
@@ -61047,11 +61051,11 @@ const defaultProps$L = {
61047
61051
  class Layer extends Component {
61048
61052
  constructor(...args) {
61049
61053
  super(...args);
61050
- _defineProperty$f(this, "internalState", null);
61051
- _defineProperty$f(this, "lifecycle", LIFECYCLE.NO_STATE);
61052
- _defineProperty$f(this, "context", void 0);
61053
- _defineProperty$f(this, "state", void 0);
61054
- _defineProperty$f(this, "parent", null);
61054
+ _defineProperty$e(this, "internalState", null);
61055
+ _defineProperty$e(this, "lifecycle", LIFECYCLE.NO_STATE);
61056
+ _defineProperty$e(this, "context", void 0);
61057
+ _defineProperty$e(this, "state", void 0);
61058
+ _defineProperty$e(this, "parent", null);
61055
61059
  }
61056
61060
  get root() {
61057
61061
  let layer = this;
@@ -61753,8 +61757,8 @@ class Layer extends Component {
61753
61757
  this.setNeedsUpdate();
61754
61758
  }
61755
61759
  }
61756
- _defineProperty$f(Layer, "defaultProps", defaultProps$L);
61757
- _defineProperty$f(Layer, "layerName", "Layer");
61760
+ _defineProperty$e(Layer, "defaultProps", defaultProps$L);
61761
+ _defineProperty$e(Layer, "layerName", "Layer");
61758
61762
  const TRACE_RENDER_LAYERS = "compositeLayer.renderLayers";
61759
61763
  class CompositeLayer extends Layer {
61760
61764
  get isComposite() {
@@ -61916,7 +61920,7 @@ class CompositeLayer extends Layer {
61916
61920
  }
61917
61921
  }
61918
61922
  }
61919
- _defineProperty$f(CompositeLayer, "layerName", "CompositeLayer");
61923
+ _defineProperty$e(CompositeLayer, "layerName", "CompositeLayer");
61920
61924
  const DEGREES_TO_RADIANS$1 = Math.PI / 180;
61921
61925
  const RADIANS_TO_DEGREES = 180 / Math.PI;
61922
61926
  const EARTH_RADIUS = 6370972;
@@ -61972,9 +61976,9 @@ class GlobeViewport extends Viewport {
61972
61976
  near: nearZMultiplier,
61973
61977
  far: Math.min(2, 1 / relativeScale + 1) * altitude * farZMultiplier
61974
61978
  });
61975
- _defineProperty$f(this, "longitude", void 0);
61976
- _defineProperty$f(this, "latitude", void 0);
61977
- _defineProperty$f(this, "resolution", void 0);
61979
+ _defineProperty$e(this, "longitude", void 0);
61980
+ _defineProperty$e(this, "latitude", void 0);
61981
+ _defineProperty$e(this, "resolution", void 0);
61978
61982
  this.latitude = latitude;
61979
61983
  this.longitude = longitude;
61980
61984
  this.resolution = resolution;
@@ -62122,7 +62126,7 @@ class OrbitViewport extends Viewport {
62122
62126
  position: target,
62123
62127
  zoom
62124
62128
  });
62125
- _defineProperty$f(this, "projectedCenter", void 0);
62129
+ _defineProperty$e(this, "projectedCenter", void 0);
62126
62130
  this.projectedCenter = this.project(this.center);
62127
62131
  }
62128
62132
  unproject(xyz, {
@@ -62171,8 +62175,8 @@ class FirstPersonViewport extends Viewport {
62171
62175
  zoom,
62172
62176
  viewMatrix: viewMatrix2
62173
62177
  });
62174
- _defineProperty$f(this, "longitude", void 0);
62175
- _defineProperty$f(this, "latitude", void 0);
62178
+ _defineProperty$e(this, "longitude", void 0);
62179
+ _defineProperty$e(this, "latitude", void 0);
62176
62180
  this.latitude = latitude;
62177
62181
  this.longitude = longitude;
62178
62182
  }
@@ -62401,8 +62405,8 @@ class FirstPersonState extends ViewState {
62401
62405
  class FirstPersonController extends Controller {
62402
62406
  constructor(...args) {
62403
62407
  super(...args);
62404
- _defineProperty$f(this, "ControllerState", FirstPersonState);
62405
- _defineProperty$f(this, "transition", {
62408
+ _defineProperty$e(this, "ControllerState", FirstPersonState);
62409
+ _defineProperty$e(this, "transition", {
62406
62410
  transitionDuration: 300,
62407
62411
  transitionInterpolator: new LinearInterpolator(["position", "pitch", "bearing"])
62408
62412
  });
@@ -62416,7 +62420,7 @@ class FirstPersonView extends View {
62416
62420
  return FirstPersonController;
62417
62421
  }
62418
62422
  }
62419
- _defineProperty$f(FirstPersonView, "displayName", "FirstPersonView");
62423
+ _defineProperty$e(FirstPersonView, "displayName", "FirstPersonView");
62420
62424
  class OrbitView extends View {
62421
62425
  constructor(props2 = {}) {
62422
62426
  super(props2);
@@ -62429,7 +62433,7 @@ class OrbitView extends View {
62429
62433
  return OrbitController;
62430
62434
  }
62431
62435
  }
62432
- _defineProperty$f(OrbitView, "displayName", "OrbitView");
62436
+ _defineProperty$e(OrbitView, "displayName", "OrbitView");
62433
62437
  class GlobeState extends MapState {
62434
62438
  applyConstraints(props2) {
62435
62439
  const {
@@ -62452,12 +62456,12 @@ class GlobeState extends MapState {
62452
62456
  class GlobeController extends Controller {
62453
62457
  constructor(...args) {
62454
62458
  super(...args);
62455
- _defineProperty$f(this, "ControllerState", GlobeState);
62456
- _defineProperty$f(this, "transition", {
62459
+ _defineProperty$e(this, "ControllerState", GlobeState);
62460
+ _defineProperty$e(this, "transition", {
62457
62461
  transitionDuration: 300,
62458
62462
  transitionInterpolator: new LinearInterpolator(["longitude", "latitude", "zoom"])
62459
62463
  });
62460
- _defineProperty$f(this, "dragMode", "pan");
62464
+ _defineProperty$e(this, "dragMode", "pan");
62461
62465
  }
62462
62466
  setProps(props2) {
62463
62467
  super.setProps(props2);
@@ -62473,10 +62477,10 @@ class GlobeView extends View {
62473
62477
  return GlobeController;
62474
62478
  }
62475
62479
  }
62476
- _defineProperty$f(GlobeView, "displayName", "GlobeView");
62480
+ _defineProperty$e(GlobeView, "displayName", "GlobeView");
62477
62481
  class LayerExtension {
62478
62482
  constructor(opts2) {
62479
- _defineProperty$f(this, "opts", void 0);
62483
+ _defineProperty$e(this, "opts", void 0);
62480
62484
  if (opts2) {
62481
62485
  this.opts = opts2;
62482
62486
  }
@@ -62521,7 +62525,7 @@ class LayerExtension {
62521
62525
  finalizeState(context, extension) {
62522
62526
  }
62523
62527
  }
62524
- _defineProperty$f(LayerExtension, "defaultProps", {});
62528
+ _defineProperty$e(LayerExtension, "defaultProps", {});
62525
62529
  const LINEARLY_INTERPOLATED_PROPS = ["bearing", "pitch"];
62526
62530
  const DEFAULT_OPTS = {
62527
62531
  speed: 1.2,
@@ -62534,7 +62538,7 @@ class FlyToInterpolator extends TransitionInterpolator {
62534
62538
  extract: ["width", "height", "longitude", "latitude", "zoom", "bearing", "pitch"],
62535
62539
  required: ["width", "height", "latitude", "longitude", "zoom"]
62536
62540
  });
62537
- _defineProperty$f(this, "opts", void 0);
62541
+ _defineProperty$e(this, "opts", void 0);
62538
62542
  this.opts = {
62539
62543
  ...DEFAULT_OPTS,
62540
62544
  ...opts2
@@ -62559,20 +62563,20 @@ class FlyToInterpolator extends TransitionInterpolator {
62559
62563
  }
62560
62564
  class Tesselator {
62561
62565
  constructor(opts2) {
62562
- _defineProperty$f(this, "opts", void 0);
62563
- _defineProperty$f(this, "typedArrayManager", void 0);
62564
- _defineProperty$f(this, "indexStarts", [0]);
62565
- _defineProperty$f(this, "vertexStarts", [0]);
62566
- _defineProperty$f(this, "vertexCount", 0);
62567
- _defineProperty$f(this, "instanceCount", 0);
62568
- _defineProperty$f(this, "attributes", void 0);
62569
- _defineProperty$f(this, "_attributeDefs", void 0);
62570
- _defineProperty$f(this, "data", void 0);
62571
- _defineProperty$f(this, "getGeometry", void 0);
62572
- _defineProperty$f(this, "geometryBuffer", void 0);
62573
- _defineProperty$f(this, "buffers", void 0);
62574
- _defineProperty$f(this, "positionSize", void 0);
62575
- _defineProperty$f(this, "normalize", void 0);
62566
+ _defineProperty$e(this, "opts", void 0);
62567
+ _defineProperty$e(this, "typedArrayManager", void 0);
62568
+ _defineProperty$e(this, "indexStarts", [0]);
62569
+ _defineProperty$e(this, "vertexStarts", [0]);
62570
+ _defineProperty$e(this, "vertexCount", 0);
62571
+ _defineProperty$e(this, "instanceCount", 0);
62572
+ _defineProperty$e(this, "attributes", void 0);
62573
+ _defineProperty$e(this, "_attributeDefs", void 0);
62574
+ _defineProperty$e(this, "data", void 0);
62575
+ _defineProperty$e(this, "getGeometry", void 0);
62576
+ _defineProperty$e(this, "geometryBuffer", void 0);
62577
+ _defineProperty$e(this, "buffers", void 0);
62578
+ _defineProperty$e(this, "positionSize", void 0);
62579
+ _defineProperty$e(this, "normalize", void 0);
62576
62580
  const {
62577
62581
  attributes = {}
62578
62582
  } = opts2;
@@ -62845,8 +62849,8 @@ class ClipExtension extends LayerExtension {
62845
62849
  }
62846
62850
  }
62847
62851
  }
62848
- _defineProperty$f(ClipExtension, "defaultProps", defaultProps$K);
62849
- _defineProperty$f(ClipExtension, "extensionName", "ClipExtension");
62852
+ _defineProperty$e(ClipExtension, "defaultProps", defaultProps$K);
62853
+ _defineProperty$e(ClipExtension, "extensionName", "ClipExtension");
62850
62854
  const vs$h = "#define SHADER_NAME arc-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec4 instanceSourceColors;\nattribute vec4 instanceTargetColors;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\nattribute float instanceHeights;\nattribute float instanceTilts;\n\nuniform bool greatCircle;\nuniform bool useShortestPath;\nuniform float numSegments;\nuniform float opacity;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform int widthUnits;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvarying float isValid;\n\nfloat paraboloid(float distance, float sourceZ, float targetZ, float ratio) {\n // d: distance on the xy plane\n // r: ratio of the current point\n // p: ratio of the peak of the arc\n // h: height multiplier\n // z = f(r) = sqrt(r * (p * 2 - r)) * d * h\n // f(0) = 0\n // f(1) = dz\n\n float deltaZ = targetZ - sourceZ;\n float dh = distance * instanceHeights;\n if (dh == 0.0) {\n return sourceZ + deltaZ * ratio;\n }\n float unitZ = deltaZ / dh;\n float p2 = unitZ * unitZ + 1.0;\n\n // sqrt does not deal with negative values, manually flip source and target if delta.z < 0\n float dir = step(deltaZ, 0.0);\n float z0 = mix(sourceZ, targetZ, dir);\n float r = mix(ratio, 1.0 - ratio, dir);\n return sqrt(r * (p2 - r)) * dh + z0;\n}\n\n// offset vector by strokeWidth pixels\n// offset_direction is -1 (left) or 1 (right)\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n // normalized direction of the line\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n // rotate by 90 degrees\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nfloat getSegmentRatio(float index) {\n return smoothstep(0.0, 1.0, index / (numSegments - 1.0));\n}\n\nvec3 interpolateFlat(vec3 source, vec3 target, float segmentRatio) {\n float distance = length(source.xy - target.xy);\n float z = paraboloid(distance, source.z, target.z, segmentRatio);\n\n float tiltAngle = radians(instanceTilts);\n vec2 tiltDirection = normalize(target.xy - source.xy);\n vec2 tilt = vec2(-tiltDirection.y, tiltDirection.x) * z * sin(tiltAngle);\n\n return vec3(\n mix(source.xy, target.xy, segmentRatio) + tilt,\n z * cos(tiltAngle)\n );\n}\n\n/* Great circle interpolation\n * http://www.movable-type.co.uk/scripts/latlong.html\n */\nfloat getAngularDist (vec2 source, vec2 target) {\n vec2 sourceRadians = radians(source);\n vec2 targetRadians = radians(target);\n vec2 sin_half_delta = sin((sourceRadians - targetRadians) / 2.0);\n vec2 shd_sq = sin_half_delta * sin_half_delta;\n\n float a = shd_sq.y + cos(sourceRadians.y) * cos(targetRadians.y) * shd_sq.x;\n return 2.0 * asin(sqrt(a));\n}\n\nvec3 interpolateGreatCircle(vec3 source, vec3 target, vec3 source3D, vec3 target3D, float angularDist, float t) {\n vec2 lngLat;\n\n // if the angularDist is PI, linear interpolation is applied. otherwise, use spherical interpolation\n if(abs(angularDist - PI) < 0.001) {\n lngLat = (1.0 - t) * source.xy + t * target.xy;\n } else {\n float a = sin((1.0 - t) * angularDist);\n float b = sin(t * angularDist);\n vec3 p = source3D.yxz * a + target3D.yxz * b;\n lngLat = degrees(vec2(atan(p.y, -p.x), atan(p.z, length(p.xy))));\n }\n\n float z = paraboloid(angularDist * EARTH_RADIUS, source.z, target.z, t);\n\n return vec3(lngLat, z);\n}\n\n/* END GREAT CIRCLE */\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n float segmentIndex = positions.x;\n float segmentRatio = getSegmentRatio(segmentIndex);\n float prevSegmentRatio = getSegmentRatio(max(0.0, segmentIndex - 1.0));\n float nextSegmentRatio = getSegmentRatio(min(numSegments - 1.0, segmentIndex + 1.0));\n\n // if it's the first point, use next - current as direction\n // otherwise use current - prev\n float indexDir = mix(-1.0, 1.0, step(segmentIndex, 0.0));\n isValid = 1.0;\n\n uv = vec2(segmentRatio, positions.y);\n geometry.uv = uv;\n geometry.pickingColor = instancePickingColors;\n\n vec4 curr;\n vec4 next;\n vec3 source;\n vec3 target;\n\n if ((greatCircle || project_uProjectionMode == PROJECTION_MODE_GLOBE) && project_uCoordinateSystem == COORDINATE_SYSTEM_LNGLAT) {\n source = project_globe_(vec3(instanceSourcePositions.xy, 0.0));\n target = project_globe_(vec3(instanceTargetPositions.xy, 0.0));\n float angularDist = getAngularDist(instanceSourcePositions.xy, instanceTargetPositions.xy);\n\n vec3 prevPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, prevSegmentRatio);\n vec3 currPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, segmentRatio);\n vec3 nextPos = interpolateGreatCircle(instanceSourcePositions, instanceTargetPositions, source, target, angularDist, nextSegmentRatio);\n\n if (abs(currPos.x - prevPos.x) > 180.0) {\n indexDir = -1.0;\n isValid = 0.0;\n } else if (abs(currPos.x - nextPos.x) > 180.0) {\n indexDir = 1.0;\n isValid = 0.0;\n }\n nextPos = indexDir < 0.0 ? prevPos : nextPos;\n nextSegmentRatio = indexDir < 0.0 ? prevSegmentRatio : nextSegmentRatio;\n\n if (isValid == 0.0) {\n // split at the 180th meridian\n nextPos.x += nextPos.x > 0.0 ? -360.0 : 360.0;\n float t = ((currPos.x > 0.0 ? 180.0 : -180.0) - currPos.x) / (nextPos.x - currPos.x);\n currPos = mix(currPos, nextPos, t);\n segmentRatio = mix(segmentRatio, nextSegmentRatio, t);\n }\n\n vec3 currPos64Low = mix(instanceSourcePositions64Low, instanceTargetPositions64Low, segmentRatio);\n vec3 nextPos64Low = mix(instanceSourcePositions64Low, instanceTargetPositions64Low, nextSegmentRatio);\n \n curr = project_position_to_clipspace(currPos, currPos64Low, vec3(0.0), geometry.position);\n next = project_position_to_clipspace(nextPos, nextPos64Low, vec3(0.0));\n \n } else {\n vec3 source_world = instanceSourcePositions;\n vec3 target_world = instanceTargetPositions;\n if (useShortestPath) {\n source_world.x = mod(source_world.x + 180., 360.0) - 180.;\n target_world.x = mod(target_world.x + 180., 360.0) - 180.;\n\n float deltaLng = target_world.x - source_world.x;\n if (deltaLng > 180.) target_world.x -= 360.;\n if (deltaLng < -180.) source_world.x -= 360.;\n }\n source = project_position(source_world, instanceSourcePositions64Low);\n target = project_position(target_world, instanceTargetPositions64Low);\n\n // common x at longitude=-180\n float antiMeridianX = 0.0;\n\n if (useShortestPath) {\n if (project_uProjectionMode == PROJECTION_MODE_WEB_MERCATOR_AUTO_OFFSET) {\n antiMeridianX = -(project_uCoordinateOrigin.x + 180.) / 360. * TILE_SIZE;\n }\n float thresholdRatio = (antiMeridianX - source.x) / (target.x - source.x);\n\n if (prevSegmentRatio <= thresholdRatio && nextSegmentRatio > thresholdRatio) {\n isValid = 0.0;\n indexDir = sign(segmentRatio - thresholdRatio);\n segmentRatio = thresholdRatio;\n }\n }\n\n nextSegmentRatio = indexDir < 0.0 ? prevSegmentRatio : nextSegmentRatio;\n vec3 currPos = interpolateFlat(source, target, segmentRatio);\n vec3 nextPos = interpolateFlat(source, target, nextSegmentRatio);\n\n if (useShortestPath) {\n if (nextPos.x < antiMeridianX) {\n currPos.x += TILE_SIZE;\n nextPos.x += TILE_SIZE;\n }\n }\n\n curr = project_common_position_to_clipspace(vec4(currPos, 1.0));\n next = project_common_position_to_clipspace(vec4(nextPos, 1.0));\n geometry.position = vec4(currPos, 1.0);\n }\n\n // Multiply out width and clamp to limits\n // mercator pixels are interpreted as screen pixels\n float widthPixels = clamp(\n project_size_to_pixel(instanceWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels\n );\n\n // extrude\n vec3 offset = vec3(\n getExtrusionOffset((next.xy - curr.xy) * indexDir, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = curr + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n vec4 color = mix(instanceSourceColors, instanceTargetColors, segmentRatio);\n vColor = vec4(color.rgb, color.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n";
62851
62855
  const fs$j = "#define SHADER_NAME arc-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\nvarying float isValid;\n\nvoid main(void) {\n if (isValid == 0.0) {\n discard;\n }\n\n gl_FragColor = vColor;\n geometry.uv = uv;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
62852
62856
  const DEFAULT_COLOR$a = [0, 0, 0, 255];
@@ -62900,7 +62904,7 @@ const defaultProps$J = {
62900
62904
  class ArcLayer extends Layer {
62901
62905
  constructor(...args) {
62902
62906
  super(...args);
62903
- _defineProperty$f(this, "state", void 0);
62907
+ _defineProperty$e(this, "state", void 0);
62904
62908
  }
62905
62909
  getShaders() {
62906
62910
  return super.getShaders({
@@ -63020,8 +63024,8 @@ class ArcLayer extends Layer {
63020
63024
  return model;
63021
63025
  }
63022
63026
  }
63023
- _defineProperty$f(ArcLayer, "layerName", "ArcLayer");
63024
- _defineProperty$f(ArcLayer, "defaultProps", defaultProps$J);
63027
+ _defineProperty$e(ArcLayer, "layerName", "ArcLayer");
63028
+ _defineProperty$e(ArcLayer, "defaultProps", defaultProps$J);
63025
63029
  const DEFAULT_INDICES = new Uint16Array([0, 2, 1, 0, 3, 2]);
63026
63030
  const DEFAULT_TEX_COORDS = new Float32Array([0, 1, 0, 0, 1, 0, 1, 1]);
63027
63031
  function createMesh(bounds2, resolution) {
@@ -63116,7 +63120,7 @@ const defaultProps$I = {
63116
63120
  let BitmapLayer$1 = class BitmapLayer extends Layer {
63117
63121
  constructor(...args) {
63118
63122
  super(...args);
63119
- _defineProperty$f(this, "state", void 0);
63123
+ _defineProperty$e(this, "state", void 0);
63120
63124
  }
63121
63125
  getShaders() {
63122
63126
  return super.getShaders({
@@ -63318,8 +63322,8 @@ let BitmapLayer$1 = class BitmapLayer extends Layer {
63318
63322
  };
63319
63323
  }
63320
63324
  };
63321
- _defineProperty$f(BitmapLayer$1, "layerName", "BitmapLayer");
63322
- _defineProperty$f(BitmapLayer$1, "defaultProps", defaultProps$I);
63325
+ _defineProperty$e(BitmapLayer$1, "layerName", "BitmapLayer");
63326
+ _defineProperty$e(BitmapLayer$1, "defaultProps", defaultProps$I);
63323
63327
  function unpackUVsFromRGB(color) {
63324
63328
  const [u, v, fracUV] = color;
63325
63329
  const vFrac = (fracUV & 240) / 256;
@@ -63467,23 +63471,23 @@ class IconManager {
63467
63471
  onUpdate = noop$1,
63468
63472
  onError = noop$1
63469
63473
  }) {
63470
- _defineProperty$f(this, "gl", void 0);
63471
- _defineProperty$f(this, "onUpdate", void 0);
63472
- _defineProperty$f(this, "onError", void 0);
63473
- _defineProperty$f(this, "_loadOptions", null);
63474
- _defineProperty$f(this, "_texture", null);
63475
- _defineProperty$f(this, "_externalTexture", null);
63476
- _defineProperty$f(this, "_mapping", {});
63477
- _defineProperty$f(this, "_textureParameters", null);
63478
- _defineProperty$f(this, "_pendingCount", 0);
63479
- _defineProperty$f(this, "_autoPacking", false);
63480
- _defineProperty$f(this, "_xOffset", 0);
63481
- _defineProperty$f(this, "_yOffset", 0);
63482
- _defineProperty$f(this, "_rowHeight", 0);
63483
- _defineProperty$f(this, "_buffer", DEFAULT_BUFFER$1);
63484
- _defineProperty$f(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
63485
- _defineProperty$f(this, "_canvasHeight", 0);
63486
- _defineProperty$f(this, "_canvas", null);
63474
+ _defineProperty$e(this, "gl", void 0);
63475
+ _defineProperty$e(this, "onUpdate", void 0);
63476
+ _defineProperty$e(this, "onError", void 0);
63477
+ _defineProperty$e(this, "_loadOptions", null);
63478
+ _defineProperty$e(this, "_texture", null);
63479
+ _defineProperty$e(this, "_externalTexture", null);
63480
+ _defineProperty$e(this, "_mapping", {});
63481
+ _defineProperty$e(this, "_textureParameters", null);
63482
+ _defineProperty$e(this, "_pendingCount", 0);
63483
+ _defineProperty$e(this, "_autoPacking", false);
63484
+ _defineProperty$e(this, "_xOffset", 0);
63485
+ _defineProperty$e(this, "_yOffset", 0);
63486
+ _defineProperty$e(this, "_rowHeight", 0);
63487
+ _defineProperty$e(this, "_buffer", DEFAULT_BUFFER$1);
63488
+ _defineProperty$e(this, "_canvasWidth", DEFAULT_CANVAS_WIDTH);
63489
+ _defineProperty$e(this, "_canvasHeight", 0);
63490
+ _defineProperty$e(this, "_canvas", null);
63487
63491
  this.gl = gl;
63488
63492
  this.onUpdate = onUpdate;
63489
63493
  this.onError = onError;
@@ -63674,7 +63678,7 @@ const defaultProps$H = {
63674
63678
  class IconLayer extends Layer {
63675
63679
  constructor(...args) {
63676
63680
  super(...args);
63677
- _defineProperty$f(this, "state", void 0);
63681
+ _defineProperty$e(this, "state", void 0);
63678
63682
  }
63679
63683
  getShaders() {
63680
63684
  return super.getShaders({
@@ -63871,8 +63875,8 @@ class IconLayer extends Layer {
63871
63875
  return [x2, y2, width, height];
63872
63876
  }
63873
63877
  }
63874
- _defineProperty$f(IconLayer, "defaultProps", defaultProps$H);
63875
- _defineProperty$f(IconLayer, "layerName", "IconLayer");
63878
+ _defineProperty$e(IconLayer, "defaultProps", defaultProps$H);
63879
+ _defineProperty$e(IconLayer, "layerName", "IconLayer");
63876
63880
  const vs$e = "#define SHADER_NAME line-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 instanceSourcePositions;\nattribute vec3 instanceTargetPositions;\nattribute vec3 instanceSourcePositions64Low;\nattribute vec3 instanceTargetPositions64Low;\nattribute vec4 instanceColors;\nattribute vec3 instancePickingColors;\nattribute float instanceWidths;\n\nuniform float opacity;\nuniform float widthScale;\nuniform float widthMinPixels;\nuniform float widthMaxPixels;\nuniform float useShortestPath;\nuniform int widthUnits;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\n// offset vector by strokeWidth pixels\n// offset_direction is -1 (left) or 1 (right)\nvec2 getExtrusionOffset(vec2 line_clipspace, float offset_direction, float width) {\n // normalized direction of the line\n vec2 dir_screenspace = normalize(line_clipspace * project_uViewportSize);\n // rotate by 90 degrees\n dir_screenspace = vec2(-dir_screenspace.y, dir_screenspace.x);\n\n return dir_screenspace * offset_direction * width / 2.0;\n}\n\nvec3 splitLine(vec3 a, vec3 b, float x) {\n float t = (x - a.x) / (b.x - a.x);\n return vec3(x, mix(a.yz, b.yz, t));\n}\n\nvoid main(void) {\n geometry.worldPosition = instanceSourcePositions;\n geometry.worldPositionAlt = instanceTargetPositions;\n\n vec3 source_world = instanceSourcePositions;\n vec3 target_world = instanceTargetPositions;\n vec3 source_world_64low = instanceSourcePositions64Low;\n vec3 target_world_64low = instanceTargetPositions64Low;\n\n if (useShortestPath > 0.5 || useShortestPath < -0.5) {\n source_world.x = mod(source_world.x + 180., 360.0) - 180.;\n target_world.x = mod(target_world.x + 180., 360.0) - 180.;\n float deltaLng = target_world.x - source_world.x;\n\n if (deltaLng * useShortestPath > 180.) {\n source_world.x += 360. * useShortestPath;\n source_world = splitLine(source_world, target_world, 180. * useShortestPath);\n source_world_64low = vec3(0.0);\n } else if (deltaLng * useShortestPath < -180.) {\n target_world.x += 360. * useShortestPath;\n target_world = splitLine(source_world, target_world, 180. * useShortestPath);\n target_world_64low = vec3(0.0);\n } else if (useShortestPath < 0.) {\n // Line is not split, abort\n gl_Position = vec4(0.);\n return;\n }\n }\n\n // Position\n vec4 source_commonspace;\n vec4 target_commonspace;\n vec4 source = project_position_to_clipspace(source_world, source_world_64low, vec3(0.), source_commonspace);\n vec4 target = project_position_to_clipspace(target_world, target_world_64low, vec3(0.), target_commonspace);\n \n // linear interpolation of source & target to pick right coord\n float segmentIndex = positions.x;\n vec4 p = mix(source, target, segmentIndex);\n geometry.position = mix(source_commonspace, target_commonspace, segmentIndex);\n uv = positions.xy;\n geometry.uv = uv;\n geometry.pickingColor = instancePickingColors;\n\n // Multiply out width and clamp to limits\n float widthPixels = clamp(\n project_size_to_pixel(instanceWidths * widthScale, widthUnits),\n widthMinPixels, widthMaxPixels\n );\n\n // extrude\n vec3 offset = vec3(\n getExtrusionOffset(target.xy - source.xy, positions.y, widthPixels),\n 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = p + vec4(project_pixel_size_to_clipspace(offset.xy), 0.0, 0.0);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Color\n vColor = vec4(instanceColors.rgb, instanceColors.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n";
63877
63881
  const fs$g = "#define SHADER_NAME line-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 uv;\n\nvoid main(void) {\n geometry.uv = uv;\n\n gl_FragColor = vColor;\n\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
63878
63882
  const DEFAULT_COLOR$8 = [0, 0, 0, 255];
@@ -64004,8 +64008,8 @@ class LineLayer extends Layer {
64004
64008
  });
64005
64009
  }
64006
64010
  }
64007
- _defineProperty$f(LineLayer, "layerName", "LineLayer");
64008
- _defineProperty$f(LineLayer, "defaultProps", defaultProps$G);
64011
+ _defineProperty$e(LineLayer, "layerName", "LineLayer");
64012
+ _defineProperty$e(LineLayer, "defaultProps", defaultProps$G);
64009
64013
  const vs$d = "#define SHADER_NAME point-cloud-layer-vertex-shader\n\nattribute vec3 positions;\nattribute vec3 instanceNormals;\nattribute vec4 instanceColors;\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute vec3 instancePickingColors;\n\nuniform float opacity;\nuniform float radiusPixels;\nuniform int sizeUnits;\n\nvarying vec4 vColor;\nvarying vec2 unitPosition;\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n geometry.normal = project_normal(instanceNormals);\n\n // position on the containing square in [-1, 1] space\n unitPosition = positions.xy;\n geometry.uv = unitPosition;\n geometry.pickingColor = instancePickingColors;\n\n // Find the center of the point and add the current vertex\n vec3 offset = vec3(positions.xy * project_size_to_pixel(radiusPixels, sizeUnits), 0.0);\n DECKGL_FILTER_SIZE(offset, geometry);\n\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.), geometry.position);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Apply lighting\n vec3 lightColor = lighting_getLightColor(instanceColors.rgb, project_uCameraPosition, geometry.position.xyz, geometry.normal);\n\n // Apply opacity to instance color, or return instance picking color\n vColor = vec4(lightColor, instanceColors.a * opacity);\n DECKGL_FILTER_COLOR(vColor, geometry);\n}\n";
64010
64014
  const fs$f = "#define SHADER_NAME point-cloud-layer-fragment-shader\n\nprecision highp float;\n\nvarying vec4 vColor;\nvarying vec2 unitPosition;\n\nvoid main(void) {\n geometry.uv = unitPosition;\n\n float distToCenter = length(unitPosition);\n\n if (distToCenter > 1.0) {\n discard;\n }\n\n gl_FragColor = vColor;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
64011
64015
  const DEFAULT_COLOR$7 = [0, 0, 0, 255];
@@ -64136,8 +64140,8 @@ class PointCloudLayer extends Layer {
64136
64140
  });
64137
64141
  }
64138
64142
  }
64139
- _defineProperty$f(PointCloudLayer, "layerName", "PointCloudLayer");
64140
- _defineProperty$f(PointCloudLayer, "defaultProps", defaultProps$F);
64143
+ _defineProperty$e(PointCloudLayer, "layerName", "PointCloudLayer");
64144
+ _defineProperty$e(PointCloudLayer, "defaultProps", defaultProps$F);
64141
64145
  const vs$c = "#define SHADER_NAME scatterplot-layer-vertex-shader\n\nattribute vec3 positions;\n\nattribute vec3 instancePositions;\nattribute vec3 instancePositions64Low;\nattribute float instanceRadius;\nattribute float instanceLineWidths;\nattribute vec4 instanceFillColors;\nattribute vec4 instanceLineColors;\nattribute vec3 instancePickingColors;\n\nuniform float opacity;\nuniform float radiusScale;\nuniform float radiusMinPixels;\nuniform float radiusMaxPixels;\nuniform float lineWidthScale;\nuniform float lineWidthMinPixels;\nuniform float lineWidthMaxPixels;\nuniform float stroked;\nuniform bool filled;\nuniform bool antialiasing;\nuniform bool billboard;\nuniform int radiusUnits;\nuniform int lineWidthUnits;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying vec2 unitPosition;\nvarying float innerUnitRadius;\nvarying float outerRadiusPixels;\n\n\nvoid main(void) {\n geometry.worldPosition = instancePositions;\n\n // Multiply out radius and clamp to limits\n outerRadiusPixels = clamp(\n project_size_to_pixel(radiusScale * instanceRadius, radiusUnits),\n radiusMinPixels, radiusMaxPixels\n );\n \n // Multiply out line width and clamp to limits\n float lineWidthPixels = clamp(\n project_size_to_pixel(lineWidthScale * instanceLineWidths, lineWidthUnits),\n lineWidthMinPixels, lineWidthMaxPixels\n );\n\n // outer radius needs to offset by half stroke width\n outerRadiusPixels += stroked * lineWidthPixels / 2.0;\n\n // Expand geometry to accomodate edge smoothing\n float edgePadding = antialiasing ? (outerRadiusPixels + SMOOTH_EDGE_RADIUS) / outerRadiusPixels : 1.0;\n\n // position on the containing square in [-1, 1] space\n unitPosition = edgePadding * positions.xy;\n geometry.uv = unitPosition;\n geometry.pickingColor = instancePickingColors;\n\n innerUnitRadius = 1.0 - stroked * lineWidthPixels / outerRadiusPixels;\n \n if (billboard) {\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, vec3(0.0), geometry.position);\n vec3 offset = edgePadding * positions * outerRadiusPixels;\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position.xy += project_pixel_size_to_clipspace(offset.xy);\n } else {\n vec3 offset = edgePadding * positions * project_pixel_size(outerRadiusPixels);\n DECKGL_FILTER_SIZE(offset, geometry);\n gl_Position = project_position_to_clipspace(instancePositions, instancePositions64Low, offset, geometry.position);\n }\n\n DECKGL_FILTER_GL_POSITION(gl_Position, geometry);\n\n // Apply opacity to instance color, or return instance picking color\n vFillColor = vec4(instanceFillColors.rgb, instanceFillColors.a * opacity);\n DECKGL_FILTER_COLOR(vFillColor, geometry);\n vLineColor = vec4(instanceLineColors.rgb, instanceLineColors.a * opacity);\n DECKGL_FILTER_COLOR(vLineColor, geometry);\n}\n";
64142
64146
  const fs$e = "#define SHADER_NAME scatterplot-layer-fragment-shader\n\nprecision highp float;\n\nuniform bool filled;\nuniform float stroked;\nuniform bool antialiasing;\n\nvarying vec4 vFillColor;\nvarying vec4 vLineColor;\nvarying vec2 unitPosition;\nvarying float innerUnitRadius;\nvarying float outerRadiusPixels;\n\nvoid main(void) {\n geometry.uv = unitPosition;\n\n float distToCenter = length(unitPosition) * outerRadiusPixels;\n float inCircle = antialiasing ? \n smoothedge(distToCenter, outerRadiusPixels) : \n step(distToCenter, outerRadiusPixels);\n\n if (inCircle == 0.0) {\n discard;\n }\n\n if (stroked > 0.5) {\n float isLine = antialiasing ? \n smoothedge(innerUnitRadius * outerRadiusPixels, distToCenter) :\n step(innerUnitRadius * outerRadiusPixels, distToCenter);\n\n if (filled) {\n gl_FragColor = mix(vFillColor, vLineColor, isLine);\n } else {\n if (isLine == 0.0) {\n discard;\n }\n gl_FragColor = vec4(vLineColor.rgb, vLineColor.a * isLine);\n }\n } else if (filled) {\n gl_FragColor = vFillColor;\n } else {\n discard;\n }\n\n gl_FragColor.a *= inCircle;\n DECKGL_FILTER_COLOR(gl_FragColor, geometry);\n}\n";
64143
64147
  const DEFAULT_COLOR$6 = [0, 0, 0, 255];
@@ -64318,8 +64322,8 @@ class ScatterplotLayer extends Layer {
64318
64322
  });
64319
64323
  }
64320
64324
  }
64321
- _defineProperty$f(ScatterplotLayer, "defaultProps", defaultProps$E);
64322
- _defineProperty$f(ScatterplotLayer, "layerName", "ScatterplotLayer");
64325
+ _defineProperty$e(ScatterplotLayer, "defaultProps", defaultProps$E);
64326
+ _defineProperty$e(ScatterplotLayer, "layerName", "ScatterplotLayer");
64323
64327
  const WINDING = {
64324
64328
  CLOCKWISE: 1,
64325
64329
  COUNTER_CLOCKWISE: -1
@@ -65587,8 +65591,8 @@ class ColumnLayer extends Layer {
65587
65591
  }
65588
65592
  }
65589
65593
  }
65590
- _defineProperty$f(ColumnLayer, "layerName", "ColumnLayer");
65591
- _defineProperty$f(ColumnLayer, "defaultProps", defaultProps$D);
65594
+ _defineProperty$e(ColumnLayer, "layerName", "ColumnLayer");
65595
+ _defineProperty$e(ColumnLayer, "defaultProps", defaultProps$D);
65592
65596
  const defaultProps$C = {
65593
65597
  cellSize: {
65594
65598
  type: "number",
@@ -65629,8 +65633,8 @@ class GridCellLayer extends ColumnLayer {
65629
65633
  }).draw();
65630
65634
  }
65631
65635
  }
65632
- _defineProperty$f(GridCellLayer, "layerName", "GridCellLayer");
65633
- _defineProperty$f(GridCellLayer, "defaultProps", defaultProps$C);
65636
+ _defineProperty$e(GridCellLayer, "layerName", "GridCellLayer");
65637
+ _defineProperty$e(GridCellLayer, "defaultProps", defaultProps$C);
65634
65638
  function normalizePath(path, size2, gridResolution, wrapLongitude) {
65635
65639
  let flatPath;
65636
65640
  if (Array.isArray(path[0])) {
@@ -65845,7 +65849,7 @@ const ATTRIBUTE_TRANSITION$1 = {
65845
65849
  class PathLayer extends Layer {
65846
65850
  constructor(...args) {
65847
65851
  super(...args);
65848
- _defineProperty$f(this, "state", void 0);
65852
+ _defineProperty$e(this, "state", void 0);
65849
65853
  }
65850
65854
  getShaders() {
65851
65855
  return super.getShaders({
@@ -66048,8 +66052,8 @@ class PathLayer extends Layer {
66048
66052
  attribute.value = pathTesselator.get("segmentTypes");
66049
66053
  }
66050
66054
  }
66051
- _defineProperty$f(PathLayer, "defaultProps", defaultProps$B);
66052
- _defineProperty$f(PathLayer, "layerName", "PathLayer");
66055
+ _defineProperty$e(PathLayer, "defaultProps", defaultProps$B);
66056
+ _defineProperty$e(PathLayer, "layerName", "PathLayer");
66053
66057
  var earcut$2 = { exports: {} };
66054
66058
  earcut$2.exports = earcut;
66055
66059
  earcut$2.exports.default = earcut;
@@ -66859,7 +66863,7 @@ const ATTRIBUTE_TRANSITION = {
66859
66863
  class SolidPolygonLayer extends Layer {
66860
66864
  constructor(...args) {
66861
66865
  super(...args);
66862
- _defineProperty$f(this, "state", void 0);
66866
+ _defineProperty$e(this, "state", void 0);
66863
66867
  }
66864
66868
  getShaders(type) {
66865
66869
  return super.getShaders({
@@ -67183,8 +67187,8 @@ class SolidPolygonLayer extends Layer {
67183
67187
  attribute.value = this.state.polygonTesselator.get("vertexValid");
67184
67188
  }
67185
67189
  }
67186
- _defineProperty$f(SolidPolygonLayer, "defaultProps", defaultProps$A);
67187
- _defineProperty$f(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
67190
+ _defineProperty$e(SolidPolygonLayer, "defaultProps", defaultProps$A);
67191
+ _defineProperty$e(SolidPolygonLayer, "layerName", "SolidPolygonLayer");
67188
67192
  function replaceInRange({
67189
67193
  data,
67190
67194
  getIndex,
@@ -67436,8 +67440,8 @@ class PolygonLayer extends CompositeLayer {
67436
67440
  return [!extruded && polygonLayer, polygonLineLayer, extruded && polygonLayer];
67437
67441
  }
67438
67442
  }
67439
- _defineProperty$f(PolygonLayer, "layerName", "PolygonLayer");
67440
- _defineProperty$f(PolygonLayer, "defaultProps", defaultProps$z);
67443
+ _defineProperty$e(PolygonLayer, "layerName", "PolygonLayer");
67444
+ _defineProperty$e(PolygonLayer, "defaultProps", defaultProps$z);
67441
67445
  function binaryToFeatureForAccesor(data, index2) {
67442
67446
  if (!data) {
67443
67447
  return null;
@@ -67498,7 +67502,7 @@ const defaultProps$y = {
67498
67502
  class MultiIconLayer extends IconLayer {
67499
67503
  constructor(...args) {
67500
67504
  super(...args);
67501
- _defineProperty$f(this, "state", void 0);
67505
+ _defineProperty$e(this, "state", void 0);
67502
67506
  }
67503
67507
  getShaders() {
67504
67508
  return {
@@ -67573,8 +67577,8 @@ class MultiIconLayer extends IconLayer {
67573
67577
  return icons ? Array.from(icons).flatMap((icon) => super.getInstanceIconFrame(icon)) : EMPTY_ARRAY;
67574
67578
  }
67575
67579
  }
67576
- _defineProperty$f(MultiIconLayer, "defaultProps", defaultProps$y);
67577
- _defineProperty$f(MultiIconLayer, "layerName", "MultiIconLayer");
67580
+ _defineProperty$e(MultiIconLayer, "defaultProps", defaultProps$y);
67581
+ _defineProperty$e(MultiIconLayer, "layerName", "MultiIconLayer");
67578
67582
  var tinySdf = { exports: {} };
67579
67583
  tinySdf.exports = TinySDF;
67580
67584
  tinySdf.exports.default = TinySDF;
@@ -67942,9 +67946,9 @@ function getTextFromBuffer({
67942
67946
  }
67943
67947
  class LRUCache2 {
67944
67948
  constructor(limit = 5) {
67945
- _defineProperty$f(this, "limit", void 0);
67946
- _defineProperty$f(this, "_cache", {});
67947
- _defineProperty$f(this, "_order", []);
67949
+ _defineProperty$e(this, "limit", void 0);
67950
+ _defineProperty$e(this, "_cache", {});
67951
+ _defineProperty$e(this, "_order", []);
67948
67952
  this.limit = limit;
67949
67953
  }
67950
67954
  get(key) {
@@ -68043,11 +68047,11 @@ function setFontAtlasCacheLimit(limit) {
68043
68047
  }
68044
68048
  class FontAtlasManager {
68045
68049
  constructor() {
68046
- _defineProperty$f(this, "props", {
68050
+ _defineProperty$e(this, "props", {
68047
68051
  ...DEFAULT_FONT_SETTINGS
68048
68052
  });
68049
- _defineProperty$f(this, "_key", void 0);
68050
- _defineProperty$f(this, "_atlas", void 0);
68053
+ _defineProperty$e(this, "_key", void 0);
68054
+ _defineProperty$e(this, "_atlas", void 0);
68051
68055
  }
68052
68056
  get texture() {
68053
68057
  return this._atlas;
@@ -68199,7 +68203,7 @@ const defaultProps$x = {
68199
68203
  class TextBackgroundLayer extends Layer {
68200
68204
  constructor(...args) {
68201
68205
  super(...args);
68202
- _defineProperty$f(this, "state", void 0);
68206
+ _defineProperty$e(this, "state", void 0);
68203
68207
  }
68204
68208
  getShaders() {
68205
68209
  return super.getShaders({
@@ -68322,8 +68326,8 @@ class TextBackgroundLayer extends Layer {
68322
68326
  });
68323
68327
  }
68324
68328
  }
68325
- _defineProperty$f(TextBackgroundLayer, "defaultProps", defaultProps$x);
68326
- _defineProperty$f(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
68329
+ _defineProperty$e(TextBackgroundLayer, "defaultProps", defaultProps$x);
68330
+ _defineProperty$e(TextBackgroundLayer, "layerName", "TextBackgroundLayer");
68327
68331
  const TEXT_ANCHOR = {
68328
68332
  start: 1,
68329
68333
  middle: 0,
@@ -68420,8 +68424,8 @@ const defaultProps$w = {
68420
68424
  class TextLayer extends CompositeLayer {
68421
68425
  constructor(...args) {
68422
68426
  super(...args);
68423
- _defineProperty$f(this, "state", void 0);
68424
- _defineProperty$f(this, "getBoundingRect", (object2, objectInfo) => {
68427
+ _defineProperty$e(this, "state", void 0);
68428
+ _defineProperty$e(this, "getBoundingRect", (object2, objectInfo) => {
68425
68429
  const iconMapping = this.state.fontAtlasManager.mapping;
68426
68430
  const getText = this.state.getText;
68427
68431
  const {
@@ -68439,7 +68443,7 @@ class TextLayer extends CompositeLayer {
68439
68443
  const anchorY = ALIGNMENT_BASELINE[typeof getAlignmentBaseline === "function" ? getAlignmentBaseline(object2, objectInfo) : getAlignmentBaseline];
68440
68444
  return [(anchorX - 1) * width / 2, (anchorY - 1) * height / 2, width, height];
68441
68445
  });
68442
- _defineProperty$f(this, "getIconOffsets", (object2, objectInfo) => {
68446
+ _defineProperty$e(this, "getIconOffsets", (object2, objectInfo) => {
68443
68447
  const iconMapping = this.state.fontAtlasManager.mapping;
68444
68448
  const getText = this.state.getText;
68445
68449
  const {
@@ -68719,8 +68723,8 @@ class TextLayer extends CompositeLayer {
68719
68723
  setFontAtlasCacheLimit(limit);
68720
68724
  }
68721
68725
  }
68722
- _defineProperty$f(TextLayer, "defaultProps", defaultProps$w);
68723
- _defineProperty$f(TextLayer, "layerName", "TextLayer");
68726
+ _defineProperty$e(TextLayer, "defaultProps", defaultProps$w);
68727
+ _defineProperty$e(TextLayer, "layerName", "TextLayer");
68724
68728
  const POINT_LAYER = {
68725
68729
  circle: {
68726
68730
  type: ScatterplotLayer,
@@ -69359,8 +69363,8 @@ class GeoJsonLayer extends CompositeLayer {
69359
69363
  };
69360
69364
  }
69361
69365
  }
69362
- _defineProperty$f(GeoJsonLayer, "layerName", "GeoJsonLayer");
69363
- _defineProperty$f(GeoJsonLayer, "defaultProps", defaultProps$v);
69366
+ _defineProperty$e(GeoJsonLayer, "layerName", "GeoJsonLayer");
69367
+ _defineProperty$e(GeoJsonLayer, "defaultProps", defaultProps$v);
69364
69368
  const esm$3 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
69365
69369
  __proto__: null,
69366
69370
  ArcLayer,
@@ -69388,8 +69392,8 @@ const defaultProps$u = {
69388
69392
  };
69389
69393
  class GreatCircleLayer extends ArcLayer {
69390
69394
  }
69391
- _defineProperty$f(GreatCircleLayer, "layerName", "GreatCircleLayer");
69392
- _defineProperty$f(GreatCircleLayer, "defaultProps", defaultProps$u);
69395
+ _defineProperty$e(GreatCircleLayer, "layerName", "GreatCircleLayer");
69396
+ _defineProperty$e(GreatCircleLayer, "defaultProps", defaultProps$u);
69393
69397
  const defaultProps$t = {
69394
69398
  ...PolygonLayer.defaultProps
69395
69399
  };
@@ -69452,8 +69456,8 @@ class GeoCellLayer extends CompositeLayer {
69452
69456
  }), this.indexToBounds());
69453
69457
  }
69454
69458
  }
69455
- _defineProperty$f(GeoCellLayer, "layerName", "GeoCellLayer");
69456
- _defineProperty$f(GeoCellLayer, "defaultProps", defaultProps$t);
69459
+ _defineProperty$e(GeoCellLayer, "layerName", "GeoCellLayer");
69460
+ _defineProperty$e(GeoCellLayer, "defaultProps", defaultProps$t);
69457
69461
  function commonjsRequire(path) {
69458
69462
  throw new Error('Could not dynamically require "' + path + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
69459
69463
  }
@@ -70170,8 +70174,8 @@ class S2Layer extends GeoCellLayer {
70170
70174
  };
70171
70175
  }
70172
70176
  }
70173
- _defineProperty$f(S2Layer, "layerName", "S2Layer");
70174
- _defineProperty$f(S2Layer, "defaultProps", defaultProps$s);
70177
+ _defineProperty$e(S2Layer, "layerName", "S2Layer");
70178
+ _defineProperty$e(S2Layer, "defaultProps", defaultProps$s);
70175
70179
  const TILE_SIZE$3 = 512;
70176
70180
  function quadkeyToWorldBounds(quadkey) {
70177
70181
  let x2 = 0;
@@ -70214,28 +70218,28 @@ class QuadkeyLayer extends GeoCellLayer {
70214
70218
  };
70215
70219
  }
70216
70220
  }
70217
- _defineProperty$f(QuadkeyLayer, "layerName", "QuadkeyLayer");
70218
- _defineProperty$f(QuadkeyLayer, "defaultProps", defaultProps$r);
70221
+ _defineProperty$e(QuadkeyLayer, "layerName", "QuadkeyLayer");
70222
+ _defineProperty$e(QuadkeyLayer, "defaultProps", defaultProps$r);
70219
70223
  class Tile2DHeader {
70220
70224
  constructor(index2) {
70221
- _defineProperty$f(this, "index", void 0);
70222
- _defineProperty$f(this, "isVisible", void 0);
70223
- _defineProperty$f(this, "isSelected", void 0);
70224
- _defineProperty$f(this, "parent", void 0);
70225
- _defineProperty$f(this, "children", void 0);
70226
- _defineProperty$f(this, "content", void 0);
70227
- _defineProperty$f(this, "state", void 0);
70228
- _defineProperty$f(this, "layers", void 0);
70229
- _defineProperty$f(this, "id", void 0);
70230
- _defineProperty$f(this, "bbox", void 0);
70231
- _defineProperty$f(this, "zoom", void 0);
70232
- _defineProperty$f(this, "userData", void 0);
70233
- _defineProperty$f(this, "_abortController", void 0);
70234
- _defineProperty$f(this, "_loader", void 0);
70235
- _defineProperty$f(this, "_loaderId", void 0);
70236
- _defineProperty$f(this, "_isLoaded", void 0);
70237
- _defineProperty$f(this, "_isCancelled", void 0);
70238
- _defineProperty$f(this, "_needsReload", void 0);
70225
+ _defineProperty$e(this, "index", void 0);
70226
+ _defineProperty$e(this, "isVisible", void 0);
70227
+ _defineProperty$e(this, "isSelected", void 0);
70228
+ _defineProperty$e(this, "parent", void 0);
70229
+ _defineProperty$e(this, "children", void 0);
70230
+ _defineProperty$e(this, "content", void 0);
70231
+ _defineProperty$e(this, "state", void 0);
70232
+ _defineProperty$e(this, "layers", void 0);
70233
+ _defineProperty$e(this, "id", void 0);
70234
+ _defineProperty$e(this, "bbox", void 0);
70235
+ _defineProperty$e(this, "zoom", void 0);
70236
+ _defineProperty$e(this, "userData", void 0);
70237
+ _defineProperty$e(this, "_abortController", void 0);
70238
+ _defineProperty$e(this, "_loader", void 0);
70239
+ _defineProperty$e(this, "_loaderId", void 0);
70240
+ _defineProperty$e(this, "_isLoaded", void 0);
70241
+ _defineProperty$e(this, "_isCancelled", void 0);
70242
+ _defineProperty$e(this, "_needsReload", void 0);
70239
70243
  this.index = index2;
70240
70244
  this.isVisible = false;
70241
70245
  this.isSelected = false;
@@ -71011,12 +71015,12 @@ const REF_POINTS_9 = REF_POINTS_5.concat([[0, 0.5], [0.5, 0], [1, 0.5], [0.5, 1]
71011
71015
  const REF_POINTS_11 = REF_POINTS_9.concat([[0.25, 0.5], [0.75, 0.5]]);
71012
71016
  class OSMNode {
71013
71017
  constructor(x2, y2, z2) {
71014
- _defineProperty$f(this, "x", void 0);
71015
- _defineProperty$f(this, "y", void 0);
71016
- _defineProperty$f(this, "z", void 0);
71017
- _defineProperty$f(this, "childVisible", void 0);
71018
- _defineProperty$f(this, "selected", void 0);
71019
- _defineProperty$f(this, "_children", void 0);
71018
+ _defineProperty$e(this, "x", void 0);
71019
+ _defineProperty$e(this, "y", void 0);
71020
+ _defineProperty$e(this, "z", void 0);
71021
+ _defineProperty$e(this, "childVisible", void 0);
71022
+ _defineProperty$e(this, "selected", void 0);
71023
+ _defineProperty$e(this, "_children", void 0);
71020
71024
  this.x = x2;
71021
71025
  this.y = y2;
71022
71026
  this.z = z2;
@@ -71363,22 +71367,22 @@ const STRATEGIES = {
71363
71367
  };
71364
71368
  class Tileset2D {
71365
71369
  constructor(opts2) {
71366
- _defineProperty$f(this, "opts", void 0);
71367
- _defineProperty$f(this, "_requestScheduler", void 0);
71368
- _defineProperty$f(this, "_cache", void 0);
71369
- _defineProperty$f(this, "_dirty", void 0);
71370
- _defineProperty$f(this, "_tiles", void 0);
71371
- _defineProperty$f(this, "_cacheByteSize", void 0);
71372
- _defineProperty$f(this, "_viewport", void 0);
71373
- _defineProperty$f(this, "_zRange", void 0);
71374
- _defineProperty$f(this, "_selectedTiles", void 0);
71375
- _defineProperty$f(this, "_frameNumber", void 0);
71376
- _defineProperty$f(this, "_modelMatrix", void 0);
71377
- _defineProperty$f(this, "_modelMatrixInverse", void 0);
71378
- _defineProperty$f(this, "_maxZoom", void 0);
71379
- _defineProperty$f(this, "_minZoom", void 0);
71380
- _defineProperty$f(this, "onTileLoad", void 0);
71381
- _defineProperty$f(this, "_getCullBounds", memoize$1(getCullBounds));
71370
+ _defineProperty$e(this, "opts", void 0);
71371
+ _defineProperty$e(this, "_requestScheduler", void 0);
71372
+ _defineProperty$e(this, "_cache", void 0);
71373
+ _defineProperty$e(this, "_dirty", void 0);
71374
+ _defineProperty$e(this, "_tiles", void 0);
71375
+ _defineProperty$e(this, "_cacheByteSize", void 0);
71376
+ _defineProperty$e(this, "_viewport", void 0);
71377
+ _defineProperty$e(this, "_zRange", void 0);
71378
+ _defineProperty$e(this, "_selectedTiles", void 0);
71379
+ _defineProperty$e(this, "_frameNumber", void 0);
71380
+ _defineProperty$e(this, "_modelMatrix", void 0);
71381
+ _defineProperty$e(this, "_modelMatrixInverse", void 0);
71382
+ _defineProperty$e(this, "_maxZoom", void 0);
71383
+ _defineProperty$e(this, "_minZoom", void 0);
71384
+ _defineProperty$e(this, "onTileLoad", void 0);
71385
+ _defineProperty$e(this, "_getCullBounds", memoize$1(getCullBounds));
71382
71386
  this.opts = opts2;
71383
71387
  this.onTileLoad = (tile) => {
71384
71388
  this.opts.onTileLoad(tile);
@@ -71991,8 +71995,8 @@ class TileLayer extends CompositeLayer {
71991
71995
  return this.state.tileset.isTileVisible(tile, cullRect);
71992
71996
  }
71993
71997
  }
71994
- _defineProperty$f(TileLayer, "defaultProps", defaultProps$q);
71995
- _defineProperty$f(TileLayer, "layerName", "TileLayer");
71998
+ _defineProperty$e(TileLayer, "defaultProps", defaultProps$q);
71999
+ _defineProperty$e(TileLayer, "layerName", "TileLayer");
71996
72000
  const defaultProps$p = {
71997
72001
  fadeTrail: true,
71998
72002
  trailLength: {
@@ -72055,8 +72059,8 @@ class TripsLayer extends PathLayer {
72055
72059
  super.draw(params);
72056
72060
  }
72057
72061
  }
72058
- _defineProperty$f(TripsLayer, "layerName", "TripsLayer");
72059
- _defineProperty$f(TripsLayer, "defaultProps", defaultProps$p);
72062
+ _defineProperty$e(TripsLayer, "layerName", "TripsLayer");
72063
+ _defineProperty$e(TripsLayer, "defaultProps", defaultProps$p);
72060
72064
  var libh3 = function(libh32) {
72061
72065
  libh32 = libh32 || {};
72062
72066
  var Module = typeof libh32 !== "undefined" ? libh32 : {};
@@ -83615,8 +83619,8 @@ class H3ClusterLayer extends GeoCellLayer {
83615
83619
  };
83616
83620
  }
83617
83621
  }
83618
- _defineProperty$f(H3ClusterLayer, "layerName", "H3ClusterLayer");
83619
- _defineProperty$f(H3ClusterLayer, "defaultProps", defaultProps$o);
83622
+ _defineProperty$e(H3ClusterLayer, "layerName", "H3ClusterLayer");
83623
+ _defineProperty$e(H3ClusterLayer, "defaultProps", defaultProps$o);
83620
83624
  const UPDATE_THRESHOLD_KM = 10;
83621
83625
  function normalizeLongitudes(vertices, refLng) {
83622
83626
  refLng = refLng === void 0 ? vertices[0][0] : refLng;
@@ -83698,7 +83702,7 @@ const defaultProps$n = {
83698
83702
  class H3HexagonLayer extends CompositeLayer {
83699
83703
  constructor(...args) {
83700
83704
  super(...args);
83701
- _defineProperty$f(this, "state", void 0);
83705
+ _defineProperty$e(this, "state", void 0);
83702
83706
  }
83703
83707
  initializeState() {
83704
83708
  H3HexagonLayer._checkH3Lib();
@@ -83899,9 +83903,9 @@ class H3HexagonLayer extends CompositeLayer {
83899
83903
  });
83900
83904
  }
83901
83905
  }
83902
- _defineProperty$f(H3HexagonLayer, "defaultProps", defaultProps$n);
83903
- _defineProperty$f(H3HexagonLayer, "layerName", "H3HexagonLayer");
83904
- _defineProperty$f(H3HexagonLayer, "_checkH3Lib", () => {
83906
+ _defineProperty$e(H3HexagonLayer, "defaultProps", defaultProps$n);
83907
+ _defineProperty$e(H3HexagonLayer, "layerName", "H3HexagonLayer");
83908
+ _defineProperty$e(H3HexagonLayer, "_checkH3Lib", () => {
83905
83909
  });
83906
83910
  const RADIAN_PER_DEGREE = Math.PI / 180;
83907
83911
  const modelMatrix = new Float32Array(16);
@@ -84120,7 +84124,7 @@ const defaultProps$m = {
84120
84124
  class SimpleMeshLayer extends Layer {
84121
84125
  constructor(...args) {
84122
84126
  super(...args);
84123
- _defineProperty$f(this, "state", void 0);
84127
+ _defineProperty$e(this, "state", void 0);
84124
84128
  }
84125
84129
  getShaders() {
84126
84130
  const transpileToGLSL100 = !isWebGL2$1(this.context.gl);
@@ -84246,8 +84250,8 @@ class SimpleMeshLayer extends Layer {
84246
84250
  }
84247
84251
  }
84248
84252
  }
84249
- _defineProperty$f(SimpleMeshLayer, "defaultProps", defaultProps$m);
84250
- _defineProperty$f(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
84253
+ _defineProperty$e(SimpleMeshLayer, "defaultProps", defaultProps$m);
84254
+ _defineProperty$e(SimpleMeshLayer, "layerName", "SimpleMeshLayer");
84251
84255
  class ScenegraphNode {
84252
84256
  constructor() {
84253
84257
  let props2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
@@ -85565,9 +85569,9 @@ const DEFAULT_GLTF_JSON = {
85565
85569
  };
85566
85570
  class GLTFScenegraph {
85567
85571
  constructor(gltf) {
85568
- _defineProperty$f(this, "gltf", void 0);
85569
- _defineProperty$f(this, "sourceBuffers", void 0);
85570
- _defineProperty$f(this, "byteLength", void 0);
85572
+ _defineProperty$e(this, "gltf", void 0);
85573
+ _defineProperty$e(this, "sourceBuffers", void 0);
85574
+ _defineProperty$e(this, "byteLength", void 0);
85571
85575
  this.gltf = gltf || {
85572
85576
  json: {
85573
85577
  ...DEFAULT_GLTF_JSON
@@ -86185,8 +86189,8 @@ function assert$2(condition, message) {
86185
86189
  }
86186
86190
  class Schema {
86187
86191
  constructor(fields, metadata) {
86188
- _defineProperty$f(this, "fields", void 0);
86189
- _defineProperty$f(this, "metadata", void 0);
86192
+ _defineProperty$e(this, "fields", void 0);
86193
+ _defineProperty$e(this, "metadata", void 0);
86190
86194
  assert$2(Array.isArray(fields));
86191
86195
  checkNames(fields);
86192
86196
  this.fields = fields;
@@ -86253,10 +86257,10 @@ function mergeMaps(m1, m2) {
86253
86257
  }
86254
86258
  class Field {
86255
86259
  constructor(name2, type, nullable = false, metadata = /* @__PURE__ */ new Map()) {
86256
- _defineProperty$f(this, "name", void 0);
86257
- _defineProperty$f(this, "type", void 0);
86258
- _defineProperty$f(this, "nullable", void 0);
86259
- _defineProperty$f(this, "metadata", void 0);
86260
+ _defineProperty$e(this, "name", void 0);
86261
+ _defineProperty$e(this, "type", void 0);
86262
+ _defineProperty$e(this, "nullable", void 0);
86263
+ _defineProperty$e(this, "metadata", void 0);
86260
86264
  this.name = name2;
86261
86265
  this.type = type;
86262
86266
  this.nullable = nullable;
@@ -86389,8 +86393,8 @@ _Symbol$toStringTag = Symbol.toStringTag;
86389
86393
  class Int extends DataType {
86390
86394
  constructor(isSigned, bitWidth) {
86391
86395
  super();
86392
- _defineProperty$f(this, "isSigned", void 0);
86393
- _defineProperty$f(this, "bitWidth", void 0);
86396
+ _defineProperty$e(this, "isSigned", void 0);
86397
+ _defineProperty$e(this, "bitWidth", void 0);
86394
86398
  this.isSigned = isSigned;
86395
86399
  this.bitWidth = bitWidth;
86396
86400
  }
@@ -86443,7 +86447,7 @@ _Symbol$toStringTag2 = Symbol.toStringTag;
86443
86447
  class Float extends DataType {
86444
86448
  constructor(precision) {
86445
86449
  super();
86446
- _defineProperty$f(this, "precision", void 0);
86450
+ _defineProperty$e(this, "precision", void 0);
86447
86451
  this.precision = precision;
86448
86452
  }
86449
86453
  get typeId() {
@@ -86470,8 +86474,8 @@ _Symbol$toStringTag7 = Symbol.toStringTag;
86470
86474
  class FixedSizeList extends DataType {
86471
86475
  constructor(listSize, child) {
86472
86476
  super();
86473
- _defineProperty$f(this, "listSize", void 0);
86474
- _defineProperty$f(this, "children", void 0);
86477
+ _defineProperty$e(this, "listSize", void 0);
86478
+ _defineProperty$e(this, "children", void 0);
86475
86479
  this.listSize = listSize;
86476
86480
  this.children = [child];
86477
86481
  }
@@ -87367,7 +87371,7 @@ const GLTF_KEYS = {
87367
87371
  };
87368
87372
  class GLTFV1Normalizer {
87369
87373
  constructor() {
87370
- _defineProperty$f(this, "idToIndexMap", {
87374
+ _defineProperty$e(this, "idToIndexMap", {
87371
87375
  animations: {},
87372
87376
  accessors: {},
87373
87377
  buffers: {},
@@ -87381,7 +87385,7 @@ class GLTFV1Normalizer {
87381
87385
  skins: {},
87382
87386
  textures: {}
87383
87387
  });
87384
- _defineProperty$f(this, "json", void 0);
87388
+ _defineProperty$e(this, "json", void 0);
87385
87389
  }
87386
87390
  normalize(gltf, options) {
87387
87391
  this.json = gltf.json;
@@ -87583,10 +87587,10 @@ function getSizeFromAccessorType(type) {
87583
87587
  }
87584
87588
  class GLTFPostProcessor {
87585
87589
  constructor() {
87586
- _defineProperty$f(this, "baseUri", "");
87587
- _defineProperty$f(this, "json", {});
87588
- _defineProperty$f(this, "buffers", []);
87589
- _defineProperty$f(this, "images", []);
87590
+ _defineProperty$e(this, "baseUri", "");
87591
+ _defineProperty$e(this, "json", {});
87592
+ _defineProperty$e(this, "buffers", []);
87593
+ _defineProperty$e(this, "images", []);
87590
87594
  }
87591
87595
  postProcess(gltf, options = {}) {
87592
87596
  const {
@@ -88241,7 +88245,7 @@ const defaultProps$l = {
88241
88245
  class ScenegraphLayer extends Layer {
88242
88246
  constructor(...args) {
88243
88247
  super(...args);
88244
- _defineProperty$f(this, "state", void 0);
88248
+ _defineProperty$e(this, "state", void 0);
88245
88249
  }
88246
88250
  getShaders() {
88247
88251
  const modules = [project32, picking];
@@ -88456,8 +88460,8 @@ class ScenegraphLayer extends Layer {
88456
88460
  });
88457
88461
  }
88458
88462
  }
88459
- _defineProperty$f(ScenegraphLayer, "defaultProps", defaultProps$l);
88460
- _defineProperty$f(ScenegraphLayer, "layerName", "ScenegraphLayer");
88463
+ _defineProperty$e(ScenegraphLayer, "defaultProps", defaultProps$l);
88464
+ _defineProperty$e(ScenegraphLayer, "layerName", "ScenegraphLayer");
88461
88465
  const esm$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
88462
88466
  __proto__: null,
88463
88467
  ScenegraphLayer,
@@ -88616,8 +88620,8 @@ class MeshLayer extends SimpleMeshLayer {
88616
88620
  });
88617
88621
  }
88618
88622
  }
88619
- _defineProperty$f(MeshLayer, "layerName", "MeshLayer");
88620
- _defineProperty$f(MeshLayer, "defaultProps", defaultProps$k);
88623
+ _defineProperty$e(MeshLayer, "layerName", "MeshLayer");
88624
+ _defineProperty$e(MeshLayer, "defaultProps", defaultProps$k);
88621
88625
  const WGS84_RADIUS_X$1 = 6378137;
88622
88626
  const WGS84_RADIUS_Y$1 = 6378137;
88623
88627
  const WGS84_RADIUS_Z$1 = 6356752314245179e-9;
@@ -88957,9 +88961,9 @@ class Ellipsoid {
88957
88961
  _defineProperty$e(Ellipsoid, "WGS84", new Ellipsoid(WGS84_RADIUS_X$1, WGS84_RADIUS_Y$1, WGS84_RADIUS_Z$1));
88958
88962
  class DoublyLinkedListNode {
88959
88963
  constructor(item, previous, next) {
88960
- _defineProperty$f(this, "item", void 0);
88961
- _defineProperty$f(this, "previous", void 0);
88962
- _defineProperty$f(this, "next", void 0);
88964
+ _defineProperty$e(this, "item", void 0);
88965
+ _defineProperty$e(this, "previous", void 0);
88966
+ _defineProperty$e(this, "next", void 0);
88963
88967
  this.item = item;
88964
88968
  this.previous = previous;
88965
88969
  this.next = next;
@@ -88967,9 +88971,9 @@ class DoublyLinkedListNode {
88967
88971
  }
88968
88972
  class DoublyLinkedList {
88969
88973
  constructor() {
88970
- _defineProperty$f(this, "head", null);
88971
- _defineProperty$f(this, "tail", null);
88972
- _defineProperty$f(this, "_length", 0);
88974
+ _defineProperty$e(this, "head", null);
88975
+ _defineProperty$e(this, "tail", null);
88976
+ _defineProperty$e(this, "_length", 0);
88973
88977
  }
88974
88978
  get length() {
88975
88979
  return this._length;
@@ -89032,9 +89036,9 @@ function defined$4(x2) {
89032
89036
  }
89033
89037
  class TilesetCache {
89034
89038
  constructor() {
89035
- _defineProperty$f(this, "_list", void 0);
89036
- _defineProperty$f(this, "_sentinel", void 0);
89037
- _defineProperty$f(this, "_trimTiles", void 0);
89039
+ _defineProperty$e(this, "_list", void 0);
89040
+ _defineProperty$e(this, "_sentinel", void 0);
89041
+ _defineProperty$e(this, "_trimTiles", void 0);
89038
89042
  this._list = new DoublyLinkedList();
89039
89043
  this._sentinel = this._list.add("sentinel");
89040
89044
  this._trimTiles = false;
@@ -89477,9 +89481,9 @@ function get3dTilesOptions(tileset) {
89477
89481
  }
89478
89482
  class ManagedArray {
89479
89483
  constructor(length2 = 0) {
89480
- _defineProperty$f(this, "_map", /* @__PURE__ */ new Map());
89481
- _defineProperty$f(this, "_array", void 0);
89482
- _defineProperty$f(this, "_length", void 0);
89484
+ _defineProperty$e(this, "_map", /* @__PURE__ */ new Map());
89485
+ _defineProperty$e(this, "_array", void 0);
89486
+ _defineProperty$e(this, "_length", void 0);
89483
89487
  this._array = new Array(length2);
89484
89488
  this._length = length2;
89485
89489
  }
@@ -89573,16 +89577,16 @@ class TilesetTraverser {
89573
89577
  return true;
89574
89578
  }
89575
89579
  constructor(options) {
89576
- _defineProperty$f(this, "options", void 0);
89577
- _defineProperty$f(this, "root", void 0);
89578
- _defineProperty$f(this, "requestedTiles", void 0);
89579
- _defineProperty$f(this, "selectedTiles", void 0);
89580
- _defineProperty$f(this, "emptyTiles", void 0);
89581
- _defineProperty$f(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
89582
- _defineProperty$f(this, "updateDebounceTime", 1e3);
89583
- _defineProperty$f(this, "_traversalStack", void 0);
89584
- _defineProperty$f(this, "_emptyTraversalStack", void 0);
89585
- _defineProperty$f(this, "_frameNumber", void 0);
89580
+ _defineProperty$e(this, "options", void 0);
89581
+ _defineProperty$e(this, "root", void 0);
89582
+ _defineProperty$e(this, "requestedTiles", void 0);
89583
+ _defineProperty$e(this, "selectedTiles", void 0);
89584
+ _defineProperty$e(this, "emptyTiles", void 0);
89585
+ _defineProperty$e(this, "lastUpdate", (/* @__PURE__ */ new Date()).getTime());
89586
+ _defineProperty$e(this, "updateDebounceTime", 1e3);
89587
+ _defineProperty$e(this, "_traversalStack", void 0);
89588
+ _defineProperty$e(this, "_emptyTraversalStack", void 0);
89589
+ _defineProperty$e(this, "_frameNumber", void 0);
89586
89590
  this.options = {
89587
89591
  ...DEFAULT_PROPS$1,
89588
89592
  ...options
@@ -89803,52 +89807,52 @@ function defined$2(x2) {
89803
89807
  }
89804
89808
  class TileHeader {
89805
89809
  constructor(tileset, header, parentHeader, extendedId = "") {
89806
- _defineProperty$f(this, "tileset", void 0);
89807
- _defineProperty$f(this, "header", void 0);
89808
- _defineProperty$f(this, "id", void 0);
89809
- _defineProperty$f(this, "url", void 0);
89810
- _defineProperty$f(this, "parent", void 0);
89811
- _defineProperty$f(this, "refine", void 0);
89812
- _defineProperty$f(this, "type", void 0);
89813
- _defineProperty$f(this, "contentUrl", void 0);
89814
- _defineProperty$f(this, "lodMetricType", void 0);
89815
- _defineProperty$f(this, "lodMetricValue", void 0);
89816
- _defineProperty$f(this, "boundingVolume", void 0);
89817
- _defineProperty$f(this, "content", void 0);
89818
- _defineProperty$f(this, "contentState", void 0);
89819
- _defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
89820
- _defineProperty$f(this, "children", void 0);
89821
- _defineProperty$f(this, "depth", void 0);
89822
- _defineProperty$f(this, "viewportIds", void 0);
89823
- _defineProperty$f(this, "transform", void 0);
89824
- _defineProperty$f(this, "extensions", void 0);
89825
- _defineProperty$f(this, "userData", void 0);
89826
- _defineProperty$f(this, "computedTransform", void 0);
89827
- _defineProperty$f(this, "hasEmptyContent", void 0);
89828
- _defineProperty$f(this, "hasTilesetContent", void 0);
89829
- _defineProperty$f(this, "traverser", void 0);
89830
- _defineProperty$f(this, "_cacheNode", void 0);
89831
- _defineProperty$f(this, "_frameNumber", void 0);
89832
- _defineProperty$f(this, "_lodJudge", void 0);
89833
- _defineProperty$f(this, "_expireDate", void 0);
89834
- _defineProperty$f(this, "_expiredContent", void 0);
89835
- _defineProperty$f(this, "_shouldRefine", void 0);
89836
- _defineProperty$f(this, "_distanceToCamera", void 0);
89837
- _defineProperty$f(this, "_centerZDepth", void 0);
89838
- _defineProperty$f(this, "_screenSpaceError", void 0);
89839
- _defineProperty$f(this, "_visibilityPlaneMask", void 0);
89840
- _defineProperty$f(this, "_visible", void 0);
89841
- _defineProperty$f(this, "_inRequestVolume", void 0);
89842
- _defineProperty$f(this, "_stackLength", void 0);
89843
- _defineProperty$f(this, "_selectionDepth", void 0);
89844
- _defineProperty$f(this, "_touchedFrame", void 0);
89845
- _defineProperty$f(this, "_visitedFrame", void 0);
89846
- _defineProperty$f(this, "_selectedFrame", void 0);
89847
- _defineProperty$f(this, "_requestedFrame", void 0);
89848
- _defineProperty$f(this, "_priority", void 0);
89849
- _defineProperty$f(this, "_contentBoundingVolume", void 0);
89850
- _defineProperty$f(this, "_viewerRequestVolume", void 0);
89851
- _defineProperty$f(this, "_initialTransform", void 0);
89810
+ _defineProperty$e(this, "tileset", void 0);
89811
+ _defineProperty$e(this, "header", void 0);
89812
+ _defineProperty$e(this, "id", void 0);
89813
+ _defineProperty$e(this, "url", void 0);
89814
+ _defineProperty$e(this, "parent", void 0);
89815
+ _defineProperty$e(this, "refine", void 0);
89816
+ _defineProperty$e(this, "type", void 0);
89817
+ _defineProperty$e(this, "contentUrl", void 0);
89818
+ _defineProperty$e(this, "lodMetricType", void 0);
89819
+ _defineProperty$e(this, "lodMetricValue", void 0);
89820
+ _defineProperty$e(this, "boundingVolume", void 0);
89821
+ _defineProperty$e(this, "content", void 0);
89822
+ _defineProperty$e(this, "contentState", void 0);
89823
+ _defineProperty$e(this, "gpuMemoryUsageInBytes", void 0);
89824
+ _defineProperty$e(this, "children", void 0);
89825
+ _defineProperty$e(this, "depth", void 0);
89826
+ _defineProperty$e(this, "viewportIds", void 0);
89827
+ _defineProperty$e(this, "transform", void 0);
89828
+ _defineProperty$e(this, "extensions", void 0);
89829
+ _defineProperty$e(this, "userData", void 0);
89830
+ _defineProperty$e(this, "computedTransform", void 0);
89831
+ _defineProperty$e(this, "hasEmptyContent", void 0);
89832
+ _defineProperty$e(this, "hasTilesetContent", void 0);
89833
+ _defineProperty$e(this, "traverser", void 0);
89834
+ _defineProperty$e(this, "_cacheNode", void 0);
89835
+ _defineProperty$e(this, "_frameNumber", void 0);
89836
+ _defineProperty$e(this, "_lodJudge", void 0);
89837
+ _defineProperty$e(this, "_expireDate", void 0);
89838
+ _defineProperty$e(this, "_expiredContent", void 0);
89839
+ _defineProperty$e(this, "_shouldRefine", void 0);
89840
+ _defineProperty$e(this, "_distanceToCamera", void 0);
89841
+ _defineProperty$e(this, "_centerZDepth", void 0);
89842
+ _defineProperty$e(this, "_screenSpaceError", void 0);
89843
+ _defineProperty$e(this, "_visibilityPlaneMask", void 0);
89844
+ _defineProperty$e(this, "_visible", void 0);
89845
+ _defineProperty$e(this, "_inRequestVolume", void 0);
89846
+ _defineProperty$e(this, "_stackLength", void 0);
89847
+ _defineProperty$e(this, "_selectionDepth", void 0);
89848
+ _defineProperty$e(this, "_touchedFrame", void 0);
89849
+ _defineProperty$e(this, "_visitedFrame", void 0);
89850
+ _defineProperty$e(this, "_selectedFrame", void 0);
89851
+ _defineProperty$e(this, "_requestedFrame", void 0);
89852
+ _defineProperty$e(this, "_priority", void 0);
89853
+ _defineProperty$e(this, "_contentBoundingVolume", void 0);
89854
+ _defineProperty$e(this, "_viewerRequestVolume", void 0);
89855
+ _defineProperty$e(this, "_initialTransform", void 0);
89852
89856
  this.header = header;
89853
89857
  this.tileset = tileset;
89854
89858
  this.id = extendedId || header.id;
@@ -90241,7 +90245,7 @@ class Tileset3DTraverser extends TilesetTraverser {
90241
90245
  }
90242
90246
  class I3SPendingTilesRegister {
90243
90247
  constructor() {
90244
- _defineProperty$f(this, "frameNumberMap", /* @__PURE__ */ new Map());
90248
+ _defineProperty$e(this, "frameNumberMap", /* @__PURE__ */ new Map());
90245
90249
  }
90246
90250
  register(viewportId, frameNumber) {
90247
90251
  const viewportMap = this.frameNumberMap.get(viewportId) || /* @__PURE__ */ new Map();
@@ -90270,8 +90274,8 @@ const STATUS = {
90270
90274
  };
90271
90275
  class I3STileManager {
90272
90276
  constructor() {
90273
- _defineProperty$f(this, "_statusMap", void 0);
90274
- _defineProperty$f(this, "pendingTilesRegister", new I3SPendingTilesRegister());
90277
+ _defineProperty$e(this, "_statusMap", void 0);
90278
+ _defineProperty$e(this, "pendingTilesRegister", new I3SPendingTilesRegister());
90275
90279
  this._statusMap = {};
90276
90280
  }
90277
90281
  add(request, key, callback, frameState) {
@@ -90345,7 +90349,7 @@ class I3STilesetTraverser extends TilesetTraverser {
90345
90349
  }
90346
90350
  constructor(options) {
90347
90351
  super(options);
90348
- _defineProperty$f(this, "_tileManager", void 0);
90352
+ _defineProperty$e(this, "_tileManager", void 0);
90349
90353
  this._tileManager = new I3STileManager();
90350
90354
  }
90351
90355
  shouldRefine(tile, frameState) {
@@ -90442,52 +90446,52 @@ const POINTS_COUNT = "Points/Vertices";
90442
90446
  const TILES_GPU_MEMORY = "Tile Memory Use";
90443
90447
  class Tileset3D {
90444
90448
  constructor(json, options) {
90445
- _defineProperty$f(this, "options", void 0);
90446
- _defineProperty$f(this, "loadOptions", void 0);
90447
- _defineProperty$f(this, "type", void 0);
90448
- _defineProperty$f(this, "tileset", void 0);
90449
- _defineProperty$f(this, "loader", void 0);
90450
- _defineProperty$f(this, "url", void 0);
90451
- _defineProperty$f(this, "basePath", void 0);
90452
- _defineProperty$f(this, "modelMatrix", void 0);
90453
- _defineProperty$f(this, "ellipsoid", void 0);
90454
- _defineProperty$f(this, "lodMetricType", void 0);
90455
- _defineProperty$f(this, "lodMetricValue", void 0);
90456
- _defineProperty$f(this, "refine", void 0);
90457
- _defineProperty$f(this, "root", void 0);
90458
- _defineProperty$f(this, "roots", void 0);
90459
- _defineProperty$f(this, "asset", void 0);
90460
- _defineProperty$f(this, "description", void 0);
90461
- _defineProperty$f(this, "properties", void 0);
90462
- _defineProperty$f(this, "extras", void 0);
90463
- _defineProperty$f(this, "attributions", void 0);
90464
- _defineProperty$f(this, "credits", void 0);
90465
- _defineProperty$f(this, "stats", void 0);
90466
- _defineProperty$f(this, "traverseCounter", void 0);
90467
- _defineProperty$f(this, "geometricError", void 0);
90468
- _defineProperty$f(this, "selectedTiles", void 0);
90469
- _defineProperty$f(this, "updatePromise", null);
90470
- _defineProperty$f(this, "tilesetInitializationPromise", void 0);
90471
- _defineProperty$f(this, "cartographicCenter", void 0);
90472
- _defineProperty$f(this, "cartesianCenter", void 0);
90473
- _defineProperty$f(this, "zoom", void 0);
90474
- _defineProperty$f(this, "boundingVolume", void 0);
90475
- _defineProperty$f(this, "gpuMemoryUsageInBytes", void 0);
90476
- _defineProperty$f(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
90477
- _defineProperty$f(this, "_traverser", void 0);
90478
- _defineProperty$f(this, "_cache", void 0);
90479
- _defineProperty$f(this, "_requestScheduler", void 0);
90480
- _defineProperty$f(this, "_frameNumber", void 0);
90481
- _defineProperty$f(this, "_queryParamsString", void 0);
90482
- _defineProperty$f(this, "_queryParams", void 0);
90483
- _defineProperty$f(this, "_extensionsUsed", void 0);
90484
- _defineProperty$f(this, "_tiles", void 0);
90485
- _defineProperty$f(this, "_pendingCount", void 0);
90486
- _defineProperty$f(this, "lastUpdatedVieports", void 0);
90487
- _defineProperty$f(this, "_requestedTiles", void 0);
90488
- _defineProperty$f(this, "_emptyTiles", void 0);
90489
- _defineProperty$f(this, "frameStateData", void 0);
90490
- _defineProperty$f(this, "maximumMemoryUsage", void 0);
90449
+ _defineProperty$e(this, "options", void 0);
90450
+ _defineProperty$e(this, "loadOptions", void 0);
90451
+ _defineProperty$e(this, "type", void 0);
90452
+ _defineProperty$e(this, "tileset", void 0);
90453
+ _defineProperty$e(this, "loader", void 0);
90454
+ _defineProperty$e(this, "url", void 0);
90455
+ _defineProperty$e(this, "basePath", void 0);
90456
+ _defineProperty$e(this, "modelMatrix", void 0);
90457
+ _defineProperty$e(this, "ellipsoid", void 0);
90458
+ _defineProperty$e(this, "lodMetricType", void 0);
90459
+ _defineProperty$e(this, "lodMetricValue", void 0);
90460
+ _defineProperty$e(this, "refine", void 0);
90461
+ _defineProperty$e(this, "root", void 0);
90462
+ _defineProperty$e(this, "roots", void 0);
90463
+ _defineProperty$e(this, "asset", void 0);
90464
+ _defineProperty$e(this, "description", void 0);
90465
+ _defineProperty$e(this, "properties", void 0);
90466
+ _defineProperty$e(this, "extras", void 0);
90467
+ _defineProperty$e(this, "attributions", void 0);
90468
+ _defineProperty$e(this, "credits", void 0);
90469
+ _defineProperty$e(this, "stats", void 0);
90470
+ _defineProperty$e(this, "traverseCounter", void 0);
90471
+ _defineProperty$e(this, "geometricError", void 0);
90472
+ _defineProperty$e(this, "selectedTiles", void 0);
90473
+ _defineProperty$e(this, "updatePromise", null);
90474
+ _defineProperty$e(this, "tilesetInitializationPromise", void 0);
90475
+ _defineProperty$e(this, "cartographicCenter", void 0);
90476
+ _defineProperty$e(this, "cartesianCenter", void 0);
90477
+ _defineProperty$e(this, "zoom", void 0);
90478
+ _defineProperty$e(this, "boundingVolume", void 0);
90479
+ _defineProperty$e(this, "gpuMemoryUsageInBytes", void 0);
90480
+ _defineProperty$e(this, "dynamicScreenSpaceErrorComputedDensity", void 0);
90481
+ _defineProperty$e(this, "_traverser", void 0);
90482
+ _defineProperty$e(this, "_cache", void 0);
90483
+ _defineProperty$e(this, "_requestScheduler", void 0);
90484
+ _defineProperty$e(this, "_frameNumber", void 0);
90485
+ _defineProperty$e(this, "_queryParamsString", void 0);
90486
+ _defineProperty$e(this, "_queryParams", void 0);
90487
+ _defineProperty$e(this, "_extensionsUsed", void 0);
90488
+ _defineProperty$e(this, "_tiles", void 0);
90489
+ _defineProperty$e(this, "_pendingCount", void 0);
90490
+ _defineProperty$e(this, "lastUpdatedVieports", void 0);
90491
+ _defineProperty$e(this, "_requestedTiles", void 0);
90492
+ _defineProperty$e(this, "_emptyTiles", void 0);
90493
+ _defineProperty$e(this, "frameStateData", void 0);
90494
+ _defineProperty$e(this, "maximumMemoryUsage", void 0);
90491
90495
  assert$b(json);
90492
90496
  this.options = {
90493
90497
  ...DEFAULT_PROPS,
@@ -91143,10 +91147,10 @@ function octDecode(x2, y2, result) {
91143
91147
  }
91144
91148
  class Tile3DFeatureTable {
91145
91149
  constructor(featureTableJson, featureTableBinary) {
91146
- _defineProperty$f(this, "json", void 0);
91147
- _defineProperty$f(this, "buffer", void 0);
91148
- _defineProperty$f(this, "featuresLength", 0);
91149
- _defineProperty$f(this, "_cachedTypedArrays", {});
91150
+ _defineProperty$e(this, "json", void 0);
91151
+ _defineProperty$e(this, "buffer", void 0);
91152
+ _defineProperty$e(this, "featuresLength", 0);
91153
+ _defineProperty$e(this, "_cachedTypedArrays", {});
91150
91154
  this.json = featureTableJson;
91151
91155
  this.buffer = featureTableBinary;
91152
91156
  }
@@ -91480,13 +91484,13 @@ const IGNORED_PROPERTY_FIELDS = {
91480
91484
  class Tile3DBatchTableParser {
91481
91485
  constructor(json, binary, featureCount, options = {}) {
91482
91486
  var _this$json;
91483
- _defineProperty$f(this, "json", void 0);
91484
- _defineProperty$f(this, "binary", void 0);
91485
- _defineProperty$f(this, "featureCount", void 0);
91486
- _defineProperty$f(this, "_extensions", void 0);
91487
- _defineProperty$f(this, "_properties", void 0);
91488
- _defineProperty$f(this, "_binaryProperties", void 0);
91489
- _defineProperty$f(this, "_hierarchy", void 0);
91487
+ _defineProperty$e(this, "json", void 0);
91488
+ _defineProperty$e(this, "binary", void 0);
91489
+ _defineProperty$e(this, "featureCount", void 0);
91490
+ _defineProperty$e(this, "_extensions", void 0);
91491
+ _defineProperty$e(this, "_properties", void 0);
91492
+ _defineProperty$e(this, "_binaryProperties", void 0);
91493
+ _defineProperty$e(this, "_hierarchy", void 0);
91490
91494
  assert$b(featureCount >= 0);
91491
91495
  this.json = json || {};
91492
91496
  this.binary = binary;
@@ -92831,7 +92835,7 @@ const defaultProps$j = {
92831
92835
  class Tile3DLayer extends CompositeLayer {
92832
92836
  constructor(...args) {
92833
92837
  super(...args);
92834
- _defineProperty$f(this, "state", void 0);
92838
+ _defineProperty$e(this, "state", void 0);
92835
92839
  }
92836
92840
  initializeState() {
92837
92841
  if ("onTileLoadFail" in this.props) {
@@ -93152,8 +93156,8 @@ class Tile3DLayer extends CompositeLayer {
93152
93156
  }).filter(Boolean);
93153
93157
  }
93154
93158
  }
93155
- _defineProperty$f(Tile3DLayer, "defaultProps", defaultProps$j);
93156
- _defineProperty$f(Tile3DLayer, "layerName", "Tile3DLayer");
93159
+ _defineProperty$e(Tile3DLayer, "defaultProps", defaultProps$j);
93160
+ _defineProperty$e(Tile3DLayer, "layerName", "Tile3DLayer");
93157
93161
  function getMeshGeometry(contentAttributes) {
93158
93162
  const attributes = {};
93159
93163
  attributes.positions = {
@@ -93983,7 +93987,7 @@ function urlTemplateToUpdateTrigger(template) {
93983
93987
  class TerrainLayer extends CompositeLayer {
93984
93988
  constructor(...args) {
93985
93989
  super(...args);
93986
- _defineProperty$f(this, "state", void 0);
93990
+ _defineProperty$e(this, "state", void 0);
93987
93991
  }
93988
93992
  updateState({
93989
93993
  props: props2,
@@ -94198,8 +94202,8 @@ class TerrainLayer extends CompositeLayer {
94198
94202
  });
94199
94203
  }
94200
94204
  }
94201
- _defineProperty$f(TerrainLayer, "defaultProps", defaultProps$i);
94202
- _defineProperty$f(TerrainLayer, "layerName", "TerrainLayer");
94205
+ _defineProperty$e(TerrainLayer, "defaultProps", defaultProps$i);
94206
+ _defineProperty$e(TerrainLayer, "layerName", "TerrainLayer");
94203
94207
  function flatGeojsonToBinary(features, geometryInfo, options) {
94204
94208
  const propArrayTypes = extractNumericPropTypes(features);
94205
94209
  const numericPropKeys = Object.keys(propArrayTypes).filter((k) => propArrayTypes[k] !== Array);
@@ -95489,14 +95493,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
95489
95493
  return ["Unknown", "Point", "LineString", "Polygon"];
95490
95494
  }
95491
95495
  constructor(pbf2, end, extent2, keys3, values) {
95492
- _defineProperty$f(this, "properties", void 0);
95493
- _defineProperty$f(this, "extent", void 0);
95494
- _defineProperty$f(this, "type", void 0);
95495
- _defineProperty$f(this, "id", void 0);
95496
- _defineProperty$f(this, "_pbf", void 0);
95497
- _defineProperty$f(this, "_geometry", void 0);
95498
- _defineProperty$f(this, "_keys", void 0);
95499
- _defineProperty$f(this, "_values", void 0);
95496
+ _defineProperty$e(this, "properties", void 0);
95497
+ _defineProperty$e(this, "extent", void 0);
95498
+ _defineProperty$e(this, "type", void 0);
95499
+ _defineProperty$e(this, "id", void 0);
95500
+ _defineProperty$e(this, "_pbf", void 0);
95501
+ _defineProperty$e(this, "_geometry", void 0);
95502
+ _defineProperty$e(this, "_keys", void 0);
95503
+ _defineProperty$e(this, "_values", void 0);
95500
95504
  this.properties = {};
95501
95505
  this.extent = extent2;
95502
95506
  this.type = 0;
@@ -95653,14 +95657,14 @@ let VectorTileFeature$1 = class VectorTileFeature {
95653
95657
  };
95654
95658
  let VectorTileLayer$1 = class VectorTileLayer {
95655
95659
  constructor(pbf2, end) {
95656
- _defineProperty$f(this, "version", void 0);
95657
- _defineProperty$f(this, "name", void 0);
95658
- _defineProperty$f(this, "extent", void 0);
95659
- _defineProperty$f(this, "length", void 0);
95660
- _defineProperty$f(this, "_pbf", void 0);
95661
- _defineProperty$f(this, "_keys", void 0);
95662
- _defineProperty$f(this, "_values", void 0);
95663
- _defineProperty$f(this, "_features", void 0);
95660
+ _defineProperty$e(this, "version", void 0);
95661
+ _defineProperty$e(this, "name", void 0);
95662
+ _defineProperty$e(this, "extent", void 0);
95663
+ _defineProperty$e(this, "length", void 0);
95664
+ _defineProperty$e(this, "_pbf", void 0);
95665
+ _defineProperty$e(this, "_keys", void 0);
95666
+ _defineProperty$e(this, "_values", void 0);
95667
+ _defineProperty$e(this, "_features", void 0);
95664
95668
  this.version = 1;
95665
95669
  this.name = "";
95666
95670
  this.extent = 4096;
@@ -95708,7 +95712,7 @@ function readValueMessage$1(pbf2) {
95708
95712
  }
95709
95713
  let VectorTile$1 = class VectorTile {
95710
95714
  constructor(pbf2, end) {
95711
- _defineProperty$f(this, "layers", void 0);
95715
+ _defineProperty$e(this, "layers", void 0);
95712
95716
  this.layers = pbf2.readFields(readTile$1, {}, end);
95713
95717
  }
95714
95718
  };
@@ -95812,15 +95816,15 @@ let y;
95812
95816
  let i$2;
95813
95817
  class VectorTileFeature2 {
95814
95818
  constructor(pbf2, end, extent2, keys3, values, geometryInfo) {
95815
- _defineProperty$f(this, "properties", void 0);
95816
- _defineProperty$f(this, "extent", void 0);
95817
- _defineProperty$f(this, "type", void 0);
95818
- _defineProperty$f(this, "id", void 0);
95819
- _defineProperty$f(this, "_pbf", void 0);
95820
- _defineProperty$f(this, "_geometry", void 0);
95821
- _defineProperty$f(this, "_keys", void 0);
95822
- _defineProperty$f(this, "_values", void 0);
95823
- _defineProperty$f(this, "_geometryInfo", void 0);
95819
+ _defineProperty$e(this, "properties", void 0);
95820
+ _defineProperty$e(this, "extent", void 0);
95821
+ _defineProperty$e(this, "type", void 0);
95822
+ _defineProperty$e(this, "id", void 0);
95823
+ _defineProperty$e(this, "_pbf", void 0);
95824
+ _defineProperty$e(this, "_geometry", void 0);
95825
+ _defineProperty$e(this, "_keys", void 0);
95826
+ _defineProperty$e(this, "_values", void 0);
95827
+ _defineProperty$e(this, "_geometryInfo", void 0);
95824
95828
  this.properties = {};
95825
95829
  this.extent = extent2;
95826
95830
  this.type = 0;
@@ -95935,14 +95939,14 @@ class VectorTileFeature2 {
95935
95939
  }
95936
95940
  class VectorTileLayer2 {
95937
95941
  constructor(pbf2, end) {
95938
- _defineProperty$f(this, "version", void 0);
95939
- _defineProperty$f(this, "name", void 0);
95940
- _defineProperty$f(this, "extent", void 0);
95941
- _defineProperty$f(this, "length", void 0);
95942
- _defineProperty$f(this, "_pbf", void 0);
95943
- _defineProperty$f(this, "_keys", void 0);
95944
- _defineProperty$f(this, "_values", void 0);
95945
- _defineProperty$f(this, "_features", void 0);
95942
+ _defineProperty$e(this, "version", void 0);
95943
+ _defineProperty$e(this, "name", void 0);
95944
+ _defineProperty$e(this, "extent", void 0);
95945
+ _defineProperty$e(this, "length", void 0);
95946
+ _defineProperty$e(this, "_pbf", void 0);
95947
+ _defineProperty$e(this, "_keys", void 0);
95948
+ _defineProperty$e(this, "_values", void 0);
95949
+ _defineProperty$e(this, "_features", void 0);
95946
95950
  this.version = 1;
95947
95951
  this.name = "";
95948
95952
  this.extent = 4096;
@@ -95990,7 +95994,7 @@ function readValueMessage(pbf2) {
95990
95994
  }
95991
95995
  class VectorTile2 {
95992
95996
  constructor(pbf2, end) {
95993
- _defineProperty$f(this, "layers", void 0);
95997
+ _defineProperty$e(this, "layers", void 0);
95994
95998
  this.layers = pbf2.readFields(readTile, {}, end);
95995
95999
  }
95996
96000
  }
@@ -96601,8 +96605,8 @@ class MVTLayer extends TileLayer {
96601
96605
  });
96602
96606
  }
96603
96607
  }
96604
- _defineProperty$f(MVTLayer, "layerName", "MVTLayer");
96605
- _defineProperty$f(MVTLayer, "defaultProps", defaultProps$h);
96608
+ _defineProperty$e(MVTLayer, "layerName", "MVTLayer");
96609
+ _defineProperty$e(MVTLayer, "defaultProps", defaultProps$h);
96606
96610
  function getFeatureUniqueId(feature2, uniqueIdProperty) {
96607
96611
  if (feature2.properties && uniqueIdProperty) {
96608
96612
  return feature2.properties[uniqueIdProperty];
@@ -96700,8 +96704,8 @@ class GeohashLayer extends GeoCellLayer {
96700
96704
  };
96701
96705
  }
96702
96706
  }
96703
- _defineProperty$f(GeohashLayer, "layerName", "GeohashLayer");
96704
- _defineProperty$f(GeohashLayer, "defaultProps", defaultProps$g);
96707
+ _defineProperty$e(GeohashLayer, "layerName", "GeohashLayer");
96708
+ _defineProperty$e(GeohashLayer, "defaultProps", defaultProps$g);
96705
96709
  const esm$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
96706
96710
  __proto__: null,
96707
96711
  GeohashLayer,
@@ -98965,13 +98969,13 @@ var shams$1 = function hasSymbols() {
98965
98969
  }
98966
98970
  return true;
98967
98971
  };
98968
- var hasSymbols$4 = shams$1;
98972
+ var hasSymbols$3 = shams$1;
98969
98973
  var shams = function hasToStringTagShams() {
98970
- return hasSymbols$4() && !!Symbol.toStringTag;
98974
+ return hasSymbols$3() && !!Symbol.toStringTag;
98971
98975
  };
98972
98976
  var origSymbol = typeof Symbol !== "undefined" && Symbol;
98973
98977
  var hasSymbolSham = shams$1;
98974
- var hasSymbols$3 = function hasNativeSymbols() {
98978
+ var hasSymbols$2 = function hasNativeSymbols() {
98975
98979
  if (typeof origSymbol !== "function") {
98976
98980
  return false;
98977
98981
  }
@@ -98986,6 +98990,13 @@ var hasSymbols$3 = function hasNativeSymbols() {
98986
98990
  }
98987
98991
  return hasSymbolSham();
98988
98992
  };
98993
+ var test = {
98994
+ foo: {}
98995
+ };
98996
+ var $Object = Object;
98997
+ var hasProto$1 = function hasProto() {
98998
+ return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
98999
+ };
98989
99000
  var ERROR_MESSAGE = "Function.prototype.bind called on incompatible ";
98990
99001
  var slice = Array.prototype.slice;
98991
99002
  var toStr$2 = Object.prototype.toString;
@@ -99031,374 +99042,8 @@ var implementation$7 = function bind2(that) {
99031
99042
  };
99032
99043
  var implementation$6 = implementation$7;
99033
99044
  var functionBind = Function.prototype.bind || implementation$6;
99034
- var bind$2 = functionBind;
99035
- var src = bind$2.call(Function.call, Object.prototype.hasOwnProperty);
99036
- var undefined$2;
99037
- var $SyntaxError$1 = SyntaxError;
99038
- var $Function$1 = Function;
99039
- var $TypeError$1 = TypeError;
99040
- var getEvalledConstructor$1 = function(expressionSyntax) {
99041
- try {
99042
- return $Function$1('"use strict"; return (' + expressionSyntax + ").constructor;")();
99043
- } catch (e2) {
99044
- }
99045
- };
99046
- var $gOPD$2 = Object.getOwnPropertyDescriptor;
99047
- if ($gOPD$2) {
99048
- try {
99049
- $gOPD$2({}, "");
99050
- } catch (e2) {
99051
- $gOPD$2 = null;
99052
- }
99053
- }
99054
- var throwTypeError$1 = function() {
99055
- throw new $TypeError$1();
99056
- };
99057
- var ThrowTypeError$1 = $gOPD$2 ? function() {
99058
- try {
99059
- arguments.callee;
99060
- return throwTypeError$1;
99061
- } catch (calleeThrows) {
99062
- try {
99063
- return $gOPD$2(arguments, "callee").get;
99064
- } catch (gOPDthrows) {
99065
- return throwTypeError$1;
99066
- }
99067
- }
99068
- }() : throwTypeError$1;
99069
- var hasSymbols$2 = hasSymbols$3();
99070
- var getProto$2 = Object.getPrototypeOf || function(x2) {
99071
- return x2.__proto__;
99072
- };
99073
- var needsEval$1 = {};
99074
- var TypedArray$1 = typeof Uint8Array === "undefined" ? undefined$2 : getProto$2(Uint8Array);
99075
- var INTRINSICS$1 = {
99076
- "%AggregateError%": typeof AggregateError === "undefined" ? undefined$2 : AggregateError,
99077
- "%Array%": Array,
99078
- "%ArrayBuffer%": typeof ArrayBuffer === "undefined" ? undefined$2 : ArrayBuffer,
99079
- "%ArrayIteratorPrototype%": hasSymbols$2 ? getProto$2([][Symbol.iterator]()) : undefined$2,
99080
- "%AsyncFromSyncIteratorPrototype%": undefined$2,
99081
- "%AsyncFunction%": needsEval$1,
99082
- "%AsyncGenerator%": needsEval$1,
99083
- "%AsyncGeneratorFunction%": needsEval$1,
99084
- "%AsyncIteratorPrototype%": needsEval$1,
99085
- "%Atomics%": typeof Atomics === "undefined" ? undefined$2 : Atomics,
99086
- "%BigInt%": typeof BigInt === "undefined" ? undefined$2 : BigInt,
99087
- "%Boolean%": Boolean,
99088
- "%DataView%": typeof DataView === "undefined" ? undefined$2 : DataView,
99089
- "%Date%": Date,
99090
- "%decodeURI%": decodeURI,
99091
- "%decodeURIComponent%": decodeURIComponent,
99092
- "%encodeURI%": encodeURI,
99093
- "%encodeURIComponent%": encodeURIComponent,
99094
- "%Error%": Error,
99095
- "%eval%": eval,
99096
- // eslint-disable-line no-eval
99097
- "%EvalError%": EvalError,
99098
- "%Float32Array%": typeof Float32Array === "undefined" ? undefined$2 : Float32Array,
99099
- "%Float64Array%": typeof Float64Array === "undefined" ? undefined$2 : Float64Array,
99100
- "%FinalizationRegistry%": typeof FinalizationRegistry === "undefined" ? undefined$2 : FinalizationRegistry,
99101
- "%Function%": $Function$1,
99102
- "%GeneratorFunction%": needsEval$1,
99103
- "%Int8Array%": typeof Int8Array === "undefined" ? undefined$2 : Int8Array,
99104
- "%Int16Array%": typeof Int16Array === "undefined" ? undefined$2 : Int16Array,
99105
- "%Int32Array%": typeof Int32Array === "undefined" ? undefined$2 : Int32Array,
99106
- "%isFinite%": isFinite,
99107
- "%isNaN%": isNaN,
99108
- "%IteratorPrototype%": hasSymbols$2 ? getProto$2(getProto$2([][Symbol.iterator]())) : undefined$2,
99109
- "%JSON%": typeof JSON === "object" ? JSON : undefined$2,
99110
- "%Map%": typeof Map === "undefined" ? undefined$2 : Map,
99111
- "%MapIteratorPrototype%": typeof Map === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Map())[Symbol.iterator]()),
99112
- "%Math%": Math,
99113
- "%Number%": Number,
99114
- "%Object%": Object,
99115
- "%parseFloat%": parseFloat,
99116
- "%parseInt%": parseInt,
99117
- "%Promise%": typeof Promise === "undefined" ? undefined$2 : Promise,
99118
- "%Proxy%": typeof Proxy === "undefined" ? undefined$2 : Proxy,
99119
- "%RangeError%": RangeError,
99120
- "%ReferenceError%": ReferenceError,
99121
- "%Reflect%": typeof Reflect === "undefined" ? undefined$2 : Reflect,
99122
- "%RegExp%": RegExp,
99123
- "%Set%": typeof Set === "undefined" ? undefined$2 : Set,
99124
- "%SetIteratorPrototype%": typeof Set === "undefined" || !hasSymbols$2 ? undefined$2 : getProto$2((/* @__PURE__ */ new Set())[Symbol.iterator]()),
99125
- "%SharedArrayBuffer%": typeof SharedArrayBuffer === "undefined" ? undefined$2 : SharedArrayBuffer,
99126
- "%String%": String,
99127
- "%StringIteratorPrototype%": hasSymbols$2 ? getProto$2(""[Symbol.iterator]()) : undefined$2,
99128
- "%Symbol%": hasSymbols$2 ? Symbol : undefined$2,
99129
- "%SyntaxError%": $SyntaxError$1,
99130
- "%ThrowTypeError%": ThrowTypeError$1,
99131
- "%TypedArray%": TypedArray$1,
99132
- "%TypeError%": $TypeError$1,
99133
- "%Uint8Array%": typeof Uint8Array === "undefined" ? undefined$2 : Uint8Array,
99134
- "%Uint8ClampedArray%": typeof Uint8ClampedArray === "undefined" ? undefined$2 : Uint8ClampedArray,
99135
- "%Uint16Array%": typeof Uint16Array === "undefined" ? undefined$2 : Uint16Array,
99136
- "%Uint32Array%": typeof Uint32Array === "undefined" ? undefined$2 : Uint32Array,
99137
- "%URIError%": URIError,
99138
- "%WeakMap%": typeof WeakMap === "undefined" ? undefined$2 : WeakMap,
99139
- "%WeakRef%": typeof WeakRef === "undefined" ? undefined$2 : WeakRef,
99140
- "%WeakSet%": typeof WeakSet === "undefined" ? undefined$2 : WeakSet
99141
- };
99142
- var doEval$1 = function doEval(name2) {
99143
- var value;
99144
- if (name2 === "%AsyncFunction%") {
99145
- value = getEvalledConstructor$1("async function () {}");
99146
- } else if (name2 === "%GeneratorFunction%") {
99147
- value = getEvalledConstructor$1("function* () {}");
99148
- } else if (name2 === "%AsyncGeneratorFunction%") {
99149
- value = getEvalledConstructor$1("async function* () {}");
99150
- } else if (name2 === "%AsyncGenerator%") {
99151
- var fn = doEval("%AsyncGeneratorFunction%");
99152
- if (fn) {
99153
- value = fn.prototype;
99154
- }
99155
- } else if (name2 === "%AsyncIteratorPrototype%") {
99156
- var gen = doEval("%AsyncGenerator%");
99157
- if (gen) {
99158
- value = getProto$2(gen.prototype);
99159
- }
99160
- }
99161
- INTRINSICS$1[name2] = value;
99162
- return value;
99163
- };
99164
- var LEGACY_ALIASES$1 = {
99165
- "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"],
99166
- "%ArrayPrototype%": ["Array", "prototype"],
99167
- "%ArrayProto_entries%": ["Array", "prototype", "entries"],
99168
- "%ArrayProto_forEach%": ["Array", "prototype", "forEach"],
99169
- "%ArrayProto_keys%": ["Array", "prototype", "keys"],
99170
- "%ArrayProto_values%": ["Array", "prototype", "values"],
99171
- "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"],
99172
- "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"],
99173
- "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"],
99174
- "%BooleanPrototype%": ["Boolean", "prototype"],
99175
- "%DataViewPrototype%": ["DataView", "prototype"],
99176
- "%DatePrototype%": ["Date", "prototype"],
99177
- "%ErrorPrototype%": ["Error", "prototype"],
99178
- "%EvalErrorPrototype%": ["EvalError", "prototype"],
99179
- "%Float32ArrayPrototype%": ["Float32Array", "prototype"],
99180
- "%Float64ArrayPrototype%": ["Float64Array", "prototype"],
99181
- "%FunctionPrototype%": ["Function", "prototype"],
99182
- "%Generator%": ["GeneratorFunction", "prototype"],
99183
- "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"],
99184
- "%Int8ArrayPrototype%": ["Int8Array", "prototype"],
99185
- "%Int16ArrayPrototype%": ["Int16Array", "prototype"],
99186
- "%Int32ArrayPrototype%": ["Int32Array", "prototype"],
99187
- "%JSONParse%": ["JSON", "parse"],
99188
- "%JSONStringify%": ["JSON", "stringify"],
99189
- "%MapPrototype%": ["Map", "prototype"],
99190
- "%NumberPrototype%": ["Number", "prototype"],
99191
- "%ObjectPrototype%": ["Object", "prototype"],
99192
- "%ObjProto_toString%": ["Object", "prototype", "toString"],
99193
- "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"],
99194
- "%PromisePrototype%": ["Promise", "prototype"],
99195
- "%PromiseProto_then%": ["Promise", "prototype", "then"],
99196
- "%Promise_all%": ["Promise", "all"],
99197
- "%Promise_reject%": ["Promise", "reject"],
99198
- "%Promise_resolve%": ["Promise", "resolve"],
99199
- "%RangeErrorPrototype%": ["RangeError", "prototype"],
99200
- "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"],
99201
- "%RegExpPrototype%": ["RegExp", "prototype"],
99202
- "%SetPrototype%": ["Set", "prototype"],
99203
- "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"],
99204
- "%StringPrototype%": ["String", "prototype"],
99205
- "%SymbolPrototype%": ["Symbol", "prototype"],
99206
- "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"],
99207
- "%TypedArrayPrototype%": ["TypedArray", "prototype"],
99208
- "%TypeErrorPrototype%": ["TypeError", "prototype"],
99209
- "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"],
99210
- "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"],
99211
- "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"],
99212
- "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"],
99213
- "%URIErrorPrototype%": ["URIError", "prototype"],
99214
- "%WeakMapPrototype%": ["WeakMap", "prototype"],
99215
- "%WeakSetPrototype%": ["WeakSet", "prototype"]
99216
- };
99217
99045
  var bind$1 = functionBind;
99218
- var hasOwn$1 = src;
99219
- var $concat$1 = bind$1.call(Function.call, Array.prototype.concat);
99220
- var $spliceApply$1 = bind$1.call(Function.apply, Array.prototype.splice);
99221
- var $replace$1 = bind$1.call(Function.call, String.prototype.replace);
99222
- var $strSlice$1 = bind$1.call(Function.call, String.prototype.slice);
99223
- var $exec$2 = bind$1.call(Function.call, RegExp.prototype.exec);
99224
- var rePropName$1 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
99225
- var reEscapeChar$1 = /\\(\\)?/g;
99226
- var stringToPath$1 = function stringToPath(string) {
99227
- var first = $strSlice$1(string, 0, 1);
99228
- var last = $strSlice$1(string, -1);
99229
- if (first === "%" && last !== "%") {
99230
- throw new $SyntaxError$1("invalid intrinsic syntax, expected closing `%`");
99231
- } else if (last === "%" && first !== "%") {
99232
- throw new $SyntaxError$1("invalid intrinsic syntax, expected opening `%`");
99233
- }
99234
- var result = [];
99235
- $replace$1(string, rePropName$1, function(match, number2, quote, subString) {
99236
- result[result.length] = quote ? $replace$1(subString, reEscapeChar$1, "$1") : number2 || match;
99237
- });
99238
- return result;
99239
- };
99240
- var getBaseIntrinsic$1 = function getBaseIntrinsic(name2, allowMissing) {
99241
- var intrinsicName = name2;
99242
- var alias;
99243
- if (hasOwn$1(LEGACY_ALIASES$1, intrinsicName)) {
99244
- alias = LEGACY_ALIASES$1[intrinsicName];
99245
- intrinsicName = "%" + alias[0] + "%";
99246
- }
99247
- if (hasOwn$1(INTRINSICS$1, intrinsicName)) {
99248
- var value = INTRINSICS$1[intrinsicName];
99249
- if (value === needsEval$1) {
99250
- value = doEval$1(intrinsicName);
99251
- }
99252
- if (typeof value === "undefined" && !allowMissing) {
99253
- throw new $TypeError$1("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
99254
- }
99255
- return {
99256
- alias,
99257
- name: intrinsicName,
99258
- value
99259
- };
99260
- }
99261
- throw new $SyntaxError$1("intrinsic " + name2 + " does not exist!");
99262
- };
99263
- var getIntrinsic$1 = function GetIntrinsic(name2, allowMissing) {
99264
- if (typeof name2 !== "string" || name2.length === 0) {
99265
- throw new $TypeError$1("intrinsic name must be a non-empty string");
99266
- }
99267
- if (arguments.length > 1 && typeof allowMissing !== "boolean") {
99268
- throw new $TypeError$1('"allowMissing" argument must be a boolean');
99269
- }
99270
- if ($exec$2(/^%?[^%]*%?$/, name2) === null) {
99271
- throw new $SyntaxError$1("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
99272
- }
99273
- var parts = stringToPath$1(name2);
99274
- var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
99275
- var intrinsic = getBaseIntrinsic$1("%" + intrinsicBaseName + "%", allowMissing);
99276
- var intrinsicRealName = intrinsic.name;
99277
- var value = intrinsic.value;
99278
- var skipFurtherCaching = false;
99279
- var alias = intrinsic.alias;
99280
- if (alias) {
99281
- intrinsicBaseName = alias[0];
99282
- $spliceApply$1(parts, $concat$1([0, 1], alias));
99283
- }
99284
- for (var i2 = 1, isOwn = true; i2 < parts.length; i2 += 1) {
99285
- var part = parts[i2];
99286
- var first = $strSlice$1(part, 0, 1);
99287
- var last = $strSlice$1(part, -1);
99288
- if ((first === '"' || first === "'" || first === "`" || (last === '"' || last === "'" || last === "`")) && first !== last) {
99289
- throw new $SyntaxError$1("property names with quotes must have matching quotes");
99290
- }
99291
- if (part === "constructor" || !isOwn) {
99292
- skipFurtherCaching = true;
99293
- }
99294
- intrinsicBaseName += "." + part;
99295
- intrinsicRealName = "%" + intrinsicBaseName + "%";
99296
- if (hasOwn$1(INTRINSICS$1, intrinsicRealName)) {
99297
- value = INTRINSICS$1[intrinsicRealName];
99298
- } else if (value != null) {
99299
- if (!(part in value)) {
99300
- if (!allowMissing) {
99301
- throw new $TypeError$1("base intrinsic for " + name2 + " exists, but the property is not available.");
99302
- }
99303
- return void 0;
99304
- }
99305
- if ($gOPD$2 && i2 + 1 >= parts.length) {
99306
- var desc = $gOPD$2(value, part);
99307
- isOwn = !!desc;
99308
- if (isOwn && "get" in desc && !("originalValue" in desc.get)) {
99309
- value = desc.get;
99310
- } else {
99311
- value = value[part];
99312
- }
99313
- } else {
99314
- isOwn = hasOwn$1(value, part);
99315
- value = value[part];
99316
- }
99317
- if (isOwn && !skipFurtherCaching) {
99318
- INTRINSICS$1[intrinsicRealName] = value;
99319
- }
99320
- }
99321
- }
99322
- return value;
99323
- };
99324
- var callBind$3 = { exports: {} };
99325
- (function(module2) {
99326
- var bind4 = functionBind;
99327
- var GetIntrinsic4 = getIntrinsic$1;
99328
- var $apply = GetIntrinsic4("%Function.prototype.apply%");
99329
- var $call = GetIntrinsic4("%Function.prototype.call%");
99330
- var $reflectApply = GetIntrinsic4("%Reflect.apply%", true) || bind4.call($call, $apply);
99331
- var $gOPD2 = GetIntrinsic4("%Object.getOwnPropertyDescriptor%", true);
99332
- var $defineProperty2 = GetIntrinsic4("%Object.defineProperty%", true);
99333
- var $max = GetIntrinsic4("%Math.max%");
99334
- if ($defineProperty2) {
99335
- try {
99336
- $defineProperty2({}, "a", { value: 1 });
99337
- } catch (e2) {
99338
- $defineProperty2 = null;
99339
- }
99340
- }
99341
- module2.exports = function callBind2(originalFunction) {
99342
- var func = $reflectApply(bind4, $call, arguments);
99343
- if ($gOPD2 && $defineProperty2) {
99344
- var desc = $gOPD2(func, "length");
99345
- if (desc.configurable) {
99346
- $defineProperty2(
99347
- func,
99348
- "length",
99349
- { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
99350
- );
99351
- }
99352
- }
99353
- return func;
99354
- };
99355
- var applyBind = function applyBind2() {
99356
- return $reflectApply(bind4, $apply, arguments);
99357
- };
99358
- if ($defineProperty2) {
99359
- $defineProperty2(module2.exports, "apply", { value: applyBind });
99360
- } else {
99361
- module2.exports.apply = applyBind;
99362
- }
99363
- })(callBind$3);
99364
- var callBindExports = callBind$3.exports;
99365
- var GetIntrinsic$1 = getIntrinsic$1;
99366
- var callBind$2 = callBindExports;
99367
- var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
99368
- var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
99369
- var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
99370
- if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
99371
- return callBind$2(intrinsic);
99372
- }
99373
- return intrinsic;
99374
- };
99375
- var hasToStringTag$2 = shams();
99376
- var callBound$1 = callBound$2;
99377
- var $toString$1 = callBound$1("Object.prototype.toString");
99378
- var isStandardArguments = function isArguments2(value) {
99379
- if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
99380
- return false;
99381
- }
99382
- return $toString$1(value) === "[object Arguments]";
99383
- };
99384
- var isLegacyArguments = function isArguments3(value) {
99385
- if (isStandardArguments(value)) {
99386
- return true;
99387
- }
99388
- return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
99389
- };
99390
- var supportsStandardArguments = function() {
99391
- return isStandardArguments(arguments);
99392
- }();
99393
- isStandardArguments.isLegacyArguments = isLegacyArguments;
99394
- var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
99395
- var test = {
99396
- foo: {}
99397
- };
99398
- var $Object = Object;
99399
- var hasProto$1 = function hasProto() {
99400
- return { __proto__: test }.foo === test.foo && !({ __proto__: null } instanceof $Object);
99401
- };
99046
+ var src = bind$1.call(Function.call, Object.prototype.hasOwnProperty);
99402
99047
  var undefined$1;
99403
99048
  var $SyntaxError = SyntaxError;
99404
99049
  var $Function = Function;
@@ -99432,7 +99077,7 @@ var ThrowTypeError = $gOPD$1 ? function() {
99432
99077
  }
99433
99078
  }
99434
99079
  }() : throwTypeError;
99435
- var hasSymbols$1 = hasSymbols$3();
99080
+ var hasSymbols$1 = hasSymbols$2();
99436
99081
  var hasProto2 = hasProto$1();
99437
99082
  var getProto$1 = Object.getPrototypeOf || (hasProto2 ? function(x2) {
99438
99083
  return x2.__proto__;
@@ -99516,7 +99161,7 @@ if (getProto$1) {
99516
99161
  INTRINSICS["%Error.prototype%"] = errorProto;
99517
99162
  }
99518
99163
  }
99519
- var doEval2 = function doEval3(name2) {
99164
+ var doEval = function doEval2(name2) {
99520
99165
  var value;
99521
99166
  if (name2 === "%AsyncFunction%") {
99522
99167
  value = getEvalledConstructor("async function () {}");
@@ -99525,12 +99170,12 @@ var doEval2 = function doEval3(name2) {
99525
99170
  } else if (name2 === "%AsyncGeneratorFunction%") {
99526
99171
  value = getEvalledConstructor("async function* () {}");
99527
99172
  } else if (name2 === "%AsyncGenerator%") {
99528
- var fn = doEval3("%AsyncGeneratorFunction%");
99173
+ var fn = doEval2("%AsyncGeneratorFunction%");
99529
99174
  if (fn) {
99530
99175
  value = fn.prototype;
99531
99176
  }
99532
99177
  } else if (name2 === "%AsyncIteratorPrototype%") {
99533
- var gen = doEval3("%AsyncGenerator%");
99178
+ var gen = doEval2("%AsyncGenerator%");
99534
99179
  if (gen && getProto$1) {
99535
99180
  value = getProto$1(gen.prototype);
99536
99181
  }
@@ -99600,7 +99245,7 @@ var $strSlice = bind3.call(Function.call, String.prototype.slice);
99600
99245
  var $exec$1 = bind3.call(Function.call, RegExp.prototype.exec);
99601
99246
  var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
99602
99247
  var reEscapeChar = /\\(\\)?/g;
99603
- var stringToPath2 = function stringToPath3(string) {
99248
+ var stringToPath = function stringToPath2(string) {
99604
99249
  var first = $strSlice(string, 0, 1);
99605
99250
  var last = $strSlice(string, -1);
99606
99251
  if (first === "%" && last !== "%") {
@@ -99614,7 +99259,7 @@ var stringToPath2 = function stringToPath3(string) {
99614
99259
  });
99615
99260
  return result;
99616
99261
  };
99617
- var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
99262
+ var getBaseIntrinsic = function getBaseIntrinsic2(name2, allowMissing) {
99618
99263
  var intrinsicName = name2;
99619
99264
  var alias;
99620
99265
  if (hasOwn(LEGACY_ALIASES, intrinsicName)) {
@@ -99624,7 +99269,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
99624
99269
  if (hasOwn(INTRINSICS, intrinsicName)) {
99625
99270
  var value = INTRINSICS[intrinsicName];
99626
99271
  if (value === needsEval) {
99627
- value = doEval2(intrinsicName);
99272
+ value = doEval(intrinsicName);
99628
99273
  }
99629
99274
  if (typeof value === "undefined" && !allowMissing) {
99630
99275
  throw new $TypeError("intrinsic " + name2 + " exists, but is not available. Please file an issue!");
@@ -99637,7 +99282,7 @@ var getBaseIntrinsic2 = function getBaseIntrinsic3(name2, allowMissing) {
99637
99282
  }
99638
99283
  throw new $SyntaxError("intrinsic " + name2 + " does not exist!");
99639
99284
  };
99640
- var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
99285
+ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
99641
99286
  if (typeof name2 !== "string" || name2.length === 0) {
99642
99287
  throw new $TypeError("intrinsic name must be a non-empty string");
99643
99288
  }
@@ -99647,9 +99292,9 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
99647
99292
  if ($exec$1(/^%?[^%]*%?$/, name2) === null) {
99648
99293
  throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
99649
99294
  }
99650
- var parts = stringToPath2(name2);
99295
+ var parts = stringToPath(name2);
99651
99296
  var intrinsicBaseName = parts.length > 0 ? parts[0] : "";
99652
- var intrinsic = getBaseIntrinsic2("%" + intrinsicBaseName + "%", allowMissing);
99297
+ var intrinsic = getBaseIntrinsic("%" + intrinsicBaseName + "%", allowMissing);
99653
99298
  var intrinsicRealName = intrinsic.name;
99654
99299
  var value = intrinsic.value;
99655
99300
  var skipFurtherCaching = false;
@@ -99698,8 +99343,79 @@ var getIntrinsic = function GetIntrinsic2(name2, allowMissing) {
99698
99343
  }
99699
99344
  return value;
99700
99345
  };
99701
- var GetIntrinsic3 = getIntrinsic;
99702
- var $defineProperty = GetIntrinsic3("%Object.defineProperty%", true);
99346
+ var callBind$3 = { exports: {} };
99347
+ (function(module2) {
99348
+ var bind4 = functionBind;
99349
+ var GetIntrinsic3 = getIntrinsic;
99350
+ var $apply = GetIntrinsic3("%Function.prototype.apply%");
99351
+ var $call = GetIntrinsic3("%Function.prototype.call%");
99352
+ var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
99353
+ var $gOPD2 = GetIntrinsic3("%Object.getOwnPropertyDescriptor%", true);
99354
+ var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true);
99355
+ var $max = GetIntrinsic3("%Math.max%");
99356
+ if ($defineProperty2) {
99357
+ try {
99358
+ $defineProperty2({}, "a", { value: 1 });
99359
+ } catch (e2) {
99360
+ $defineProperty2 = null;
99361
+ }
99362
+ }
99363
+ module2.exports = function callBind2(originalFunction) {
99364
+ var func = $reflectApply(bind4, $call, arguments);
99365
+ if ($gOPD2 && $defineProperty2) {
99366
+ var desc = $gOPD2(func, "length");
99367
+ if (desc.configurable) {
99368
+ $defineProperty2(
99369
+ func,
99370
+ "length",
99371
+ { value: 1 + $max(0, originalFunction.length - (arguments.length - 1)) }
99372
+ );
99373
+ }
99374
+ }
99375
+ return func;
99376
+ };
99377
+ var applyBind = function applyBind2() {
99378
+ return $reflectApply(bind4, $apply, arguments);
99379
+ };
99380
+ if ($defineProperty2) {
99381
+ $defineProperty2(module2.exports, "apply", { value: applyBind });
99382
+ } else {
99383
+ module2.exports.apply = applyBind;
99384
+ }
99385
+ })(callBind$3);
99386
+ var callBindExports = callBind$3.exports;
99387
+ var GetIntrinsic$1 = getIntrinsic;
99388
+ var callBind$2 = callBindExports;
99389
+ var $indexOf = callBind$2(GetIntrinsic$1("String.prototype.indexOf"));
99390
+ var callBound$2 = function callBoundIntrinsic(name2, allowMissing) {
99391
+ var intrinsic = GetIntrinsic$1(name2, !!allowMissing);
99392
+ if (typeof intrinsic === "function" && $indexOf(name2, ".prototype.") > -1) {
99393
+ return callBind$2(intrinsic);
99394
+ }
99395
+ return intrinsic;
99396
+ };
99397
+ var hasToStringTag$2 = shams();
99398
+ var callBound$1 = callBound$2;
99399
+ var $toString$1 = callBound$1("Object.prototype.toString");
99400
+ var isStandardArguments = function isArguments2(value) {
99401
+ if (hasToStringTag$2 && value && typeof value === "object" && Symbol.toStringTag in value) {
99402
+ return false;
99403
+ }
99404
+ return $toString$1(value) === "[object Arguments]";
99405
+ };
99406
+ var isLegacyArguments = function isArguments3(value) {
99407
+ if (isStandardArguments(value)) {
99408
+ return true;
99409
+ }
99410
+ return value !== null && typeof value === "object" && typeof value.length === "number" && value.length >= 0 && $toString$1(value) !== "[object Array]" && $toString$1(value.callee) === "[object Function]";
99411
+ };
99412
+ var supportsStandardArguments = function() {
99413
+ return isStandardArguments(arguments);
99414
+ }();
99415
+ isStandardArguments.isLegacyArguments = isLegacyArguments;
99416
+ var isArguments$1 = supportsStandardArguments ? isStandardArguments : isLegacyArguments;
99417
+ var GetIntrinsic2 = getIntrinsic;
99418
+ var $defineProperty = GetIntrinsic2("%Object.defineProperty%", true);
99703
99419
  var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
99704
99420
  if ($defineProperty) {
99705
99421
  try {
@@ -133227,16 +132943,16 @@ function addDecoder(cases, importFn) {
133227
132943
  }
133228
132944
  cases.forEach((c) => registry$1.set(c, importFn));
133229
132945
  }
133230
- addDecoder([void 0, 1], () => import("./raw-f15bab0d.js").then((m) => m.default));
133231
- addDecoder(5, () => import("./lzw-d830df9b.js").then((m) => m.default));
132946
+ addDecoder([void 0, 1], () => import("./raw-51c1d779.js").then((m) => m.default));
132947
+ addDecoder(5, () => import("./lzw-183b6431.js").then((m) => m.default));
133232
132948
  addDecoder(6, () => {
133233
132949
  throw new Error("old style JPEG compression is not supported.");
133234
132950
  });
133235
- addDecoder(7, () => import("./jpeg-258024ce.js").then((m) => m.default));
133236
- addDecoder([8, 32946], () => import("./deflate-132dedf0.js").then((m) => m.default));
133237
- addDecoder(32773, () => import("./packbits-fe766b57.js").then((m) => m.default));
133238
- addDecoder(34887, () => import("./lerc-279c1032.js").then((m) => m.default));
133239
- addDecoder(50001, () => import("./webimage-03150187.js").then((m) => m.default));
132951
+ addDecoder(7, () => import("./jpeg-c95516fd.js").then((m) => m.default));
132952
+ addDecoder([8, 32946], () => import("./deflate-e1882774.js").then((m) => m.default));
132953
+ addDecoder(32773, () => import("./packbits-b1c7f20d.js").then((m) => m.default));
132954
+ addDecoder(34887, () => import("./lerc-c8eb24c6.js").then((m) => m.default));
132955
+ addDecoder(50001, () => import("./webimage-54b36ce2.js").then((m) => m.default));
133240
132956
  function decodeRowAcc(row, stride) {
133241
132957
  let length2 = row.length - stride;
133242
132958
  let offset = 0;