@deck.gl/carto 9.2.5 → 9.2.7

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.
@@ -4974,6 +4974,31 @@
4974
4974
  }
4975
4975
  });
4976
4976
 
4977
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/env-utils/globals.js
4978
+ var globals = {
4979
+ self: typeof self !== "undefined" && self,
4980
+ window: typeof window !== "undefined" && window,
4981
+ global: typeof global !== "undefined" && global,
4982
+ document: typeof document !== "undefined" && document
4983
+ };
4984
+ var self_ = globals.self || globals.window || globals.global || {};
4985
+ var window_ = globals.window || globals.self || globals.global || {};
4986
+ var global_ = globals.global || globals.self || globals.window || {};
4987
+ var document_ = globals.document || {};
4988
+ var isBrowser = (
4989
+ // @ts-ignore process does not exist on browser
4990
+ Boolean(typeof process !== "object" || String(process) !== "[object process]" || process.browser)
4991
+ );
4992
+ var matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
4993
+ var nodeVersion = matches && parseFloat(matches[1]) || 0;
4994
+
4995
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/module-utils/js-module-utils.js
4996
+ function registerJSModules(modules) {
4997
+ globalThis.loaders ||= {};
4998
+ globalThis.loaders.modules ||= {};
4999
+ Object.assign(globalThis.loaders.modules, modules);
5000
+ }
5001
+
4977
5002
  // ../../node_modules/@loaders.gl/worker-utils/dist/lib/node/worker_threads-browser.js
4978
5003
  var parentPort = null;
4979
5004
 
@@ -5168,32 +5193,7 @@
5168
5193
  return await parser(data, { ...options }, context, loader);
5169
5194
  }
5170
5195
 
5171
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/env-utils/globals.js
5172
- var globals = {
5173
- self: typeof self !== "undefined" && self,
5174
- window: typeof window !== "undefined" && window,
5175
- global: typeof global !== "undefined" && global,
5176
- document: typeof document !== "undefined" && document
5177
- };
5178
- var self_ = globals.self || globals.window || globals.global || {};
5179
- var window_ = globals.window || globals.self || globals.global || {};
5180
- var global_ = globals.global || globals.self || globals.window || {};
5181
- var document_ = globals.document || {};
5182
- var isBrowser = (
5183
- // @ts-ignore process does not exist on browser
5184
- Boolean(typeof process !== "object" || String(process) !== "[object process]" || process.browser)
5185
- );
5186
- var matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
5187
- var nodeVersion = matches && parseFloat(matches[1]) || 0;
5188
-
5189
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/module-utils/js-module-utils.js
5190
- function registerJSModules(modules) {
5191
- globalThis.loaders ||= {};
5192
- globalThis.loaders.modules ||= {};
5193
- Object.assign(globalThis.loaders.modules, modules);
5194
- }
5195
-
5196
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/array-buffer-utils.js
5196
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/array-buffer-utils.js
5197
5197
  function concatenateArrayBuffers(...sources) {
5198
5198
  return concatenateArrayBuffersFromArray(sources);
5199
5199
  }
@@ -5209,7 +5209,7 @@
5209
5209
  return result.buffer;
5210
5210
  }
5211
5211
 
5212
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/iterators/async-iteration.js
5212
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/iterators/async-iteration.js
5213
5213
  async function concatenateArrayBuffersAsync(asyncIterator) {
5214
5214
  const arrayBuffers = [];
5215
5215
  for await (const chunk of asyncIterator) {
@@ -5218,12 +5218,12 @@
5218
5218
  return concatenateArrayBuffers(...arrayBuffers);
5219
5219
  }
5220
5220
 
5221
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/node/buffer.browser.js
5221
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/node/buffer.browser.js
5222
5222
  function toArrayBuffer(buffer) {
5223
5223
  return buffer;
5224
5224
  }
5225
5225
 
5226
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/memory-conversion-utils.js
5226
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/memory-conversion-utils.js
5227
5227
  function isBuffer(value) {
5228
5228
  return value && typeof value === "object" && value.isBuffer;
5229
5229
  }
@@ -5251,12 +5251,12 @@
5251
5251
  throw new Error("toArrayBuffer");
5252
5252
  }
5253
5253
 
5254
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/node/promisify.js
5254
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/node/promisify.js
5255
5255
  function promisify1(fn) {
5256
5256
  return (args) => new Promise((resolve, reject) => fn(args, (error, callbackArgs) => error ? reject(error) : resolve(callbackArgs)));
5257
5257
  }
5258
5258
 
5259
- // node_modules/@loaders.gl/compression/dist/lib/compression.js
5259
+ // ../../node_modules/@loaders.gl/compression/dist/lib/compression.js
5260
5260
  var Compression = class {
5261
5261
  constructor(options) {
5262
5262
  this.compressBatches = this.compressBatches.bind(this);
@@ -5307,7 +5307,7 @@
5307
5307
  }
5308
5308
  };
5309
5309
 
5310
- // node_modules/@loaders.gl/compression/dist/lib/deflate-compression.js
5310
+ // ../../node_modules/@loaders.gl/compression/dist/lib/deflate-compression.js
5311
5311
  var import_pako = __toESM(require_pako(), 1);
5312
5312
  var import_zlib = __toESM(require_zlib(), 1);
5313
5313
  var DeflateCompression = class extends Compression {
@@ -5423,7 +5423,7 @@
5423
5423
  }
5424
5424
  };
5425
5425
 
5426
- // node_modules/@loaders.gl/compression/dist/lib/gzip-compression.js
5426
+ // ../../node_modules/@loaders.gl/compression/dist/lib/gzip-compression.js
5427
5427
  var GZipCompression = class extends DeflateCompression {
5428
5428
  name = "gzip";
5429
5429
  extensions = ["gz", "gzip"];
@@ -5530,7 +5530,7 @@
5530
5530
  };
5531
5531
 
5532
5532
  // src/layers/schema/carto-properties-tile-loader.ts
5533
- var VERSION = true ? "9.2.5" : "latest";
5533
+ var VERSION = true ? "9.2.7" : "latest";
5534
5534
  var id = "cartoPropertiesTile";
5535
5535
  var DEFAULT_OPTIONS = {
5536
5536
  cartoPropertiesTile: {
@@ -4974,6 +4974,31 @@
4974
4974
  }
4975
4975
  });
4976
4976
 
4977
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/env-utils/globals.js
4978
+ var globals = {
4979
+ self: typeof self !== "undefined" && self,
4980
+ window: typeof window !== "undefined" && window,
4981
+ global: typeof global !== "undefined" && global,
4982
+ document: typeof document !== "undefined" && document
4983
+ };
4984
+ var self_ = globals.self || globals.window || globals.global || {};
4985
+ var window_ = globals.window || globals.self || globals.global || {};
4986
+ var global_ = globals.global || globals.self || globals.window || {};
4987
+ var document_ = globals.document || {};
4988
+ var isBrowser = (
4989
+ // @ts-ignore process does not exist on browser
4990
+ Boolean(typeof process !== "object" || String(process) !== "[object process]" || process.browser)
4991
+ );
4992
+ var matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
4993
+ var nodeVersion = matches && parseFloat(matches[1]) || 0;
4994
+
4995
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/module-utils/js-module-utils.js
4996
+ function registerJSModules(modules) {
4997
+ globalThis.loaders ||= {};
4998
+ globalThis.loaders.modules ||= {};
4999
+ Object.assign(globalThis.loaders.modules, modules);
5000
+ }
5001
+
4977
5002
  // ../../node_modules/@loaders.gl/worker-utils/dist/lib/node/worker_threads-browser.js
4978
5003
  var parentPort = null;
4979
5004
 
@@ -5168,32 +5193,7 @@
5168
5193
  return await parser(data, { ...options }, context, loader);
5169
5194
  }
5170
5195
 
5171
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/env-utils/globals.js
5172
- var globals = {
5173
- self: typeof self !== "undefined" && self,
5174
- window: typeof window !== "undefined" && window,
5175
- global: typeof global !== "undefined" && global,
5176
- document: typeof document !== "undefined" && document
5177
- };
5178
- var self_ = globals.self || globals.window || globals.global || {};
5179
- var window_ = globals.window || globals.self || globals.global || {};
5180
- var global_ = globals.global || globals.self || globals.window || {};
5181
- var document_ = globals.document || {};
5182
- var isBrowser = (
5183
- // @ts-ignore process does not exist on browser
5184
- Boolean(typeof process !== "object" || String(process) !== "[object process]" || process.browser)
5185
- );
5186
- var matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
5187
- var nodeVersion = matches && parseFloat(matches[1]) || 0;
5188
-
5189
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/module-utils/js-module-utils.js
5190
- function registerJSModules(modules) {
5191
- globalThis.loaders ||= {};
5192
- globalThis.loaders.modules ||= {};
5193
- Object.assign(globalThis.loaders.modules, modules);
5194
- }
5195
-
5196
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/array-buffer-utils.js
5196
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/array-buffer-utils.js
5197
5197
  function concatenateArrayBuffers(...sources) {
5198
5198
  return concatenateArrayBuffersFromArray(sources);
5199
5199
  }
@@ -5209,7 +5209,7 @@
5209
5209
  return result.buffer;
5210
5210
  }
5211
5211
 
5212
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/iterators/async-iteration.js
5212
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/iterators/async-iteration.js
5213
5213
  async function concatenateArrayBuffersAsync(asyncIterator) {
5214
5214
  const arrayBuffers = [];
5215
5215
  for await (const chunk of asyncIterator) {
@@ -5218,12 +5218,12 @@
5218
5218
  return concatenateArrayBuffers(...arrayBuffers);
5219
5219
  }
5220
5220
 
5221
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/node/buffer.browser.js
5221
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/node/buffer.browser.js
5222
5222
  function toArrayBuffer(buffer) {
5223
5223
  return buffer;
5224
5224
  }
5225
5225
 
5226
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/memory-conversion-utils.js
5226
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/memory-conversion-utils.js
5227
5227
  function isBuffer(value) {
5228
5228
  return value && typeof value === "object" && value.isBuffer;
5229
5229
  }
@@ -5251,12 +5251,12 @@
5251
5251
  throw new Error("toArrayBuffer");
5252
5252
  }
5253
5253
 
5254
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/node/promisify.js
5254
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/node/promisify.js
5255
5255
  function promisify1(fn) {
5256
5256
  return (args) => new Promise((resolve, reject) => fn(args, (error, callbackArgs) => error ? reject(error) : resolve(callbackArgs)));
5257
5257
  }
5258
5258
 
5259
- // node_modules/@loaders.gl/compression/dist/lib/compression.js
5259
+ // ../../node_modules/@loaders.gl/compression/dist/lib/compression.js
5260
5260
  var Compression = class {
5261
5261
  constructor(options) {
5262
5262
  this.compressBatches = this.compressBatches.bind(this);
@@ -5307,7 +5307,7 @@
5307
5307
  }
5308
5308
  };
5309
5309
 
5310
- // node_modules/@loaders.gl/compression/dist/lib/deflate-compression.js
5310
+ // ../../node_modules/@loaders.gl/compression/dist/lib/deflate-compression.js
5311
5311
  var import_pako = __toESM(require_pako(), 1);
5312
5312
  var import_zlib = __toESM(require_zlib(), 1);
5313
5313
  var DeflateCompression = class extends Compression {
@@ -5423,7 +5423,7 @@
5423
5423
  }
5424
5424
  };
5425
5425
 
5426
- // node_modules/@loaders.gl/compression/dist/lib/gzip-compression.js
5426
+ // ../../node_modules/@loaders.gl/compression/dist/lib/gzip-compression.js
5427
5427
  var GZipCompression = class extends DeflateCompression {
5428
5428
  name = "gzip";
5429
5429
  extensions = ["gz", "gzip"];
@@ -5516,7 +5516,7 @@
5516
5516
  };
5517
5517
 
5518
5518
  // src/layers/schema/carto-raster-tile-loader.ts
5519
- var VERSION = true ? "9.2.5" : "latest";
5519
+ var VERSION = true ? "9.2.7" : "latest";
5520
5520
  var id = "cartoRasterTile";
5521
5521
  var DEFAULT_OPTIONS = {
5522
5522
  cartoRasterTile: {
@@ -5302,6 +5302,31 @@
5302
5302
  }
5303
5303
  });
5304
5304
 
5305
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/env-utils/globals.js
5306
+ var globals = {
5307
+ self: typeof self !== "undefined" && self,
5308
+ window: typeof window !== "undefined" && window,
5309
+ global: typeof global !== "undefined" && global,
5310
+ document: typeof document !== "undefined" && document
5311
+ };
5312
+ var self_ = globals.self || globals.window || globals.global || {};
5313
+ var window_ = globals.window || globals.self || globals.global || {};
5314
+ var global_ = globals.global || globals.self || globals.window || {};
5315
+ var document_ = globals.document || {};
5316
+ var isBrowser = (
5317
+ // @ts-ignore process does not exist on browser
5318
+ Boolean(typeof process !== "object" || String(process) !== "[object process]" || process.browser)
5319
+ );
5320
+ var matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
5321
+ var nodeVersion = matches && parseFloat(matches[1]) || 0;
5322
+
5323
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/module-utils/js-module-utils.js
5324
+ function registerJSModules(modules) {
5325
+ globalThis.loaders ||= {};
5326
+ globalThis.loaders.modules ||= {};
5327
+ Object.assign(globalThis.loaders.modules, modules);
5328
+ }
5329
+
5305
5330
  // ../../node_modules/@loaders.gl/worker-utils/dist/lib/node/worker_threads-browser.js
5306
5331
  var parentPort = null;
5307
5332
 
@@ -5496,32 +5521,7 @@
5496
5521
  return await parser(data, { ...options }, context, loader);
5497
5522
  }
5498
5523
 
5499
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/env-utils/globals.js
5500
- var globals = {
5501
- self: typeof self !== "undefined" && self,
5502
- window: typeof window !== "undefined" && window,
5503
- global: typeof global !== "undefined" && global,
5504
- document: typeof document !== "undefined" && document
5505
- };
5506
- var self_ = globals.self || globals.window || globals.global || {};
5507
- var window_ = globals.window || globals.self || globals.global || {};
5508
- var global_ = globals.global || globals.self || globals.window || {};
5509
- var document_ = globals.document || {};
5510
- var isBrowser = (
5511
- // @ts-ignore process does not exist on browser
5512
- Boolean(typeof process !== "object" || String(process) !== "[object process]" || process.browser)
5513
- );
5514
- var matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
5515
- var nodeVersion = matches && parseFloat(matches[1]) || 0;
5516
-
5517
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/module-utils/js-module-utils.js
5518
- function registerJSModules(modules) {
5519
- globalThis.loaders ||= {};
5520
- globalThis.loaders.modules ||= {};
5521
- Object.assign(globalThis.loaders.modules, modules);
5522
- }
5523
-
5524
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/array-buffer-utils.js
5524
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/array-buffer-utils.js
5525
5525
  function concatenateArrayBuffers(...sources) {
5526
5526
  return concatenateArrayBuffersFromArray(sources);
5527
5527
  }
@@ -5537,7 +5537,7 @@
5537
5537
  return result.buffer;
5538
5538
  }
5539
5539
 
5540
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/iterators/async-iteration.js
5540
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/iterators/async-iteration.js
5541
5541
  async function concatenateArrayBuffersAsync(asyncIterator) {
5542
5542
  const arrayBuffers = [];
5543
5543
  for await (const chunk of asyncIterator) {
@@ -5546,12 +5546,12 @@
5546
5546
  return concatenateArrayBuffers(...arrayBuffers);
5547
5547
  }
5548
5548
 
5549
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/node/buffer.browser.js
5549
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/node/buffer.browser.js
5550
5550
  function toArrayBuffer(buffer) {
5551
5551
  return buffer;
5552
5552
  }
5553
5553
 
5554
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/memory-conversion-utils.js
5554
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/memory-conversion-utils.js
5555
5555
  function isBuffer(value) {
5556
5556
  return value && typeof value === "object" && value.isBuffer;
5557
5557
  }
@@ -5579,12 +5579,12 @@
5579
5579
  throw new Error("toArrayBuffer");
5580
5580
  }
5581
5581
 
5582
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/node/promisify.js
5582
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/node/promisify.js
5583
5583
  function promisify1(fn) {
5584
5584
  return (args) => new Promise((resolve, reject) => fn(args, (error, callbackArgs) => error ? reject(error) : resolve(callbackArgs)));
5585
5585
  }
5586
5586
 
5587
- // node_modules/@loaders.gl/compression/dist/lib/compression.js
5587
+ // ../../node_modules/@loaders.gl/compression/dist/lib/compression.js
5588
5588
  var Compression = class {
5589
5589
  constructor(options) {
5590
5590
  this.compressBatches = this.compressBatches.bind(this);
@@ -5635,7 +5635,7 @@
5635
5635
  }
5636
5636
  };
5637
5637
 
5638
- // node_modules/@loaders.gl/compression/dist/lib/deflate-compression.js
5638
+ // ../../node_modules/@loaders.gl/compression/dist/lib/deflate-compression.js
5639
5639
  var import_pako = __toESM(require_pako(), 1);
5640
5640
  var import_zlib = __toESM(require_zlib(), 1);
5641
5641
  var DeflateCompression = class extends Compression {
@@ -5751,7 +5751,7 @@
5751
5751
  }
5752
5752
  };
5753
5753
 
5754
- // node_modules/@loaders.gl/compression/dist/lib/gzip-compression.js
5754
+ // ../../node_modules/@loaders.gl/compression/dist/lib/gzip-compression.js
5755
5755
  var GZipCompression = class extends DeflateCompression {
5756
5756
  name = "gzip";
5757
5757
  extensions = ["gz", "gzip"];
@@ -5915,7 +5915,7 @@
5915
5915
  }
5916
5916
 
5917
5917
  // src/layers/schema/carto-spatial-tile-loader.ts
5918
- var VERSION = true ? "9.2.5" : "latest";
5918
+ var VERSION = true ? "9.2.7" : "latest";
5919
5919
  var id = "cartoSpatialTile";
5920
5920
  var DEFAULT_OPTIONS = {
5921
5921
  cartoSpatialTile: {
@@ -5440,6 +5440,31 @@
5440
5440
  }
5441
5441
  });
5442
5442
 
5443
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/env-utils/globals.js
5444
+ var globals = {
5445
+ self: typeof self !== "undefined" && self,
5446
+ window: typeof window !== "undefined" && window,
5447
+ global: typeof global !== "undefined" && global,
5448
+ document: typeof document !== "undefined" && document
5449
+ };
5450
+ var self_ = globals.self || globals.window || globals.global || {};
5451
+ var window_ = globals.window || globals.self || globals.global || {};
5452
+ var global_ = globals.global || globals.self || globals.window || {};
5453
+ var document_ = globals.document || {};
5454
+ var isBrowser = (
5455
+ // @ts-ignore process does not exist on browser
5456
+ Boolean(typeof process !== "object" || String(process) !== "[object process]" || process.browser)
5457
+ );
5458
+ var matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
5459
+ var nodeVersion = matches && parseFloat(matches[1]) || 0;
5460
+
5461
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/module-utils/js-module-utils.js
5462
+ function registerJSModules(modules) {
5463
+ globalThis.loaders ||= {};
5464
+ globalThis.loaders.modules ||= {};
5465
+ Object.assign(globalThis.loaders.modules, modules);
5466
+ }
5467
+
5443
5468
  // ../../node_modules/@loaders.gl/worker-utils/dist/lib/node/worker_threads-browser.js
5444
5469
  var parentPort = null;
5445
5470
 
@@ -5634,35 +5659,7 @@
5634
5659
  return await parser(data, { ...options }, context, loader);
5635
5660
  }
5636
5661
 
5637
- // src/layers/schema/carto-vector-tile-loader.ts
5638
- var import_earcut = __toESM(require_earcut(), 1);
5639
-
5640
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/env-utils/globals.js
5641
- var globals = {
5642
- self: typeof self !== "undefined" && self,
5643
- window: typeof window !== "undefined" && window,
5644
- global: typeof global !== "undefined" && global,
5645
- document: typeof document !== "undefined" && document
5646
- };
5647
- var self_ = globals.self || globals.window || globals.global || {};
5648
- var window_ = globals.window || globals.self || globals.global || {};
5649
- var global_ = globals.global || globals.self || globals.window || {};
5650
- var document_ = globals.document || {};
5651
- var isBrowser = (
5652
- // @ts-ignore process does not exist on browser
5653
- Boolean(typeof process !== "object" || String(process) !== "[object process]" || process.browser)
5654
- );
5655
- var matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
5656
- var nodeVersion = matches && parseFloat(matches[1]) || 0;
5657
-
5658
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/module-utils/js-module-utils.js
5659
- function registerJSModules(modules) {
5660
- globalThis.loaders ||= {};
5661
- globalThis.loaders.modules ||= {};
5662
- Object.assign(globalThis.loaders.modules, modules);
5663
- }
5664
-
5665
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/array-buffer-utils.js
5662
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/array-buffer-utils.js
5666
5663
  function concatenateArrayBuffers(...sources) {
5667
5664
  return concatenateArrayBuffersFromArray(sources);
5668
5665
  }
@@ -5678,7 +5675,7 @@
5678
5675
  return result.buffer;
5679
5676
  }
5680
5677
 
5681
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/iterators/async-iteration.js
5678
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/iterators/async-iteration.js
5682
5679
  async function concatenateArrayBuffersAsync(asyncIterator) {
5683
5680
  const arrayBuffers = [];
5684
5681
  for await (const chunk of asyncIterator) {
@@ -5687,12 +5684,12 @@
5687
5684
  return concatenateArrayBuffers(...arrayBuffers);
5688
5685
  }
5689
5686
 
5690
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/node/buffer.browser.js
5687
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/node/buffer.browser.js
5691
5688
  function toArrayBuffer(buffer) {
5692
5689
  return buffer;
5693
5690
  }
5694
5691
 
5695
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/memory-conversion-utils.js
5692
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/memory-conversion-utils.js
5696
5693
  function isBuffer(value) {
5697
5694
  return value && typeof value === "object" && value.isBuffer;
5698
5695
  }
@@ -5720,12 +5717,15 @@
5720
5717
  throw new Error("toArrayBuffer");
5721
5718
  }
5722
5719
 
5723
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/node/promisify.js
5720
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/node/promisify.js
5724
5721
  function promisify1(fn) {
5725
5722
  return (args) => new Promise((resolve, reject) => fn(args, (error, callbackArgs) => error ? reject(error) : resolve(callbackArgs)));
5726
5723
  }
5727
5724
 
5728
- // node_modules/@loaders.gl/compression/dist/lib/compression.js
5725
+ // src/layers/schema/carto-vector-tile-loader.ts
5726
+ var import_earcut = __toESM(require_earcut(), 1);
5727
+
5728
+ // ../../node_modules/@loaders.gl/compression/dist/lib/compression.js
5729
5729
  var Compression = class {
5730
5730
  constructor(options) {
5731
5731
  this.compressBatches = this.compressBatches.bind(this);
@@ -5776,7 +5776,7 @@
5776
5776
  }
5777
5777
  };
5778
5778
 
5779
- // node_modules/@loaders.gl/compression/dist/lib/deflate-compression.js
5779
+ // ../../node_modules/@loaders.gl/compression/dist/lib/deflate-compression.js
5780
5780
  var import_pako = __toESM(require_pako(), 1);
5781
5781
  var import_zlib = __toESM(require_zlib(), 1);
5782
5782
  var DeflateCompression = class extends Compression {
@@ -5892,7 +5892,7 @@
5892
5892
  }
5893
5893
  };
5894
5894
 
5895
- // node_modules/@loaders.gl/compression/dist/lib/gzip-compression.js
5895
+ // ../../node_modules/@loaders.gl/compression/dist/lib/gzip-compression.js
5896
5896
  var GZipCompression = class extends DeflateCompression {
5897
5897
  name = "gzip";
5898
5898
  extensions = ["gz", "gzip"];
@@ -6135,7 +6135,7 @@
6135
6135
  };
6136
6136
 
6137
6137
  // src/layers/schema/carto-vector-tile-loader.ts
6138
- var VERSION = true ? "9.2.5" : "latest";
6138
+ var VERSION = true ? "9.2.7" : "latest";
6139
6139
  var id = "cartoVectorTile";
6140
6140
  var DEFAULT_OPTIONS = {
6141
6141
  cartoVectorTile: {
package/dist/dist.dev.js CHANGED
@@ -6467,7 +6467,7 @@ var __exports__ = (() => {
6467
6467
  // src/layers/cluster-tile-layer.ts
6468
6468
  var import_h3_js3 = __toESM(require_h3_js(), 1);
6469
6469
 
6470
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/env-utils/globals.js
6470
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/env-utils/globals.js
6471
6471
  var globals = {
6472
6472
  self: typeof self !== "undefined" && self,
6473
6473
  window: typeof window !== "undefined" && window,
@@ -6485,14 +6485,14 @@ var __exports__ = (() => {
6485
6485
  var matches = typeof process !== "undefined" && process.version && /v([0-9]*)/.exec(process.version);
6486
6486
  var nodeVersion = matches && parseFloat(matches[1]) || 0;
6487
6487
 
6488
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/module-utils/js-module-utils.js
6488
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/module-utils/js-module-utils.js
6489
6489
  function registerJSModules(modules) {
6490
6490
  globalThis.loaders ||= {};
6491
6491
  globalThis.loaders.modules ||= {};
6492
6492
  Object.assign(globalThis.loaders.modules, modules);
6493
6493
  }
6494
6494
 
6495
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/array-buffer-utils.js
6495
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/array-buffer-utils.js
6496
6496
  function concatenateArrayBuffers(...sources) {
6497
6497
  return concatenateArrayBuffersFromArray(sources);
6498
6498
  }
@@ -6508,7 +6508,7 @@ var __exports__ = (() => {
6508
6508
  return result.buffer;
6509
6509
  }
6510
6510
 
6511
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/iterators/async-iteration.js
6511
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/iterators/async-iteration.js
6512
6512
  async function concatenateArrayBuffersAsync(asyncIterator) {
6513
6513
  const arrayBuffers = [];
6514
6514
  for await (const chunk of asyncIterator) {
@@ -6517,12 +6517,12 @@ var __exports__ = (() => {
6517
6517
  return concatenateArrayBuffers(...arrayBuffers);
6518
6518
  }
6519
6519
 
6520
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/node/buffer.browser.js
6520
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/node/buffer.browser.js
6521
6521
  function toArrayBuffer(buffer) {
6522
6522
  return buffer;
6523
6523
  }
6524
6524
 
6525
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/memory-conversion-utils.js
6525
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/binary-utils/memory-conversion-utils.js
6526
6526
  function isBuffer(value) {
6527
6527
  return value && typeof value === "object" && value.isBuffer;
6528
6528
  }
@@ -6550,12 +6550,12 @@ var __exports__ = (() => {
6550
6550
  throw new Error("toArrayBuffer");
6551
6551
  }
6552
6552
 
6553
- // node_modules/@loaders.gl/compression/node_modules/@loaders.gl/loader-utils/dist/lib/node/promisify.js
6553
+ // ../../node_modules/@loaders.gl/loader-utils/dist/lib/node/promisify.js
6554
6554
  function promisify1(fn) {
6555
6555
  return (args) => new Promise((resolve, reject) => fn(args, (error, callbackArgs) => error ? reject(error) : resolve(callbackArgs)));
6556
6556
  }
6557
6557
 
6558
- // node_modules/@loaders.gl/compression/dist/lib/compression.js
6558
+ // ../../node_modules/@loaders.gl/compression/dist/lib/compression.js
6559
6559
  var Compression = class {
6560
6560
  constructor(options) {
6561
6561
  this.compressBatches = this.compressBatches.bind(this);
@@ -6606,7 +6606,7 @@ var __exports__ = (() => {
6606
6606
  }
6607
6607
  };
6608
6608
 
6609
- // node_modules/@loaders.gl/compression/dist/lib/deflate-compression.js
6609
+ // ../../node_modules/@loaders.gl/compression/dist/lib/deflate-compression.js
6610
6610
  var import_pako = __toESM(require_pako(), 1);
6611
6611
  var import_zlib = __toESM(require_zlib(), 1);
6612
6612
  var DeflateCompression = class extends Compression {
@@ -6722,7 +6722,7 @@ var __exports__ = (() => {
6722
6722
  }
6723
6723
  };
6724
6724
 
6725
- // node_modules/@loaders.gl/compression/dist/lib/gzip-compression.js
6725
+ // ../../node_modules/@loaders.gl/compression/dist/lib/gzip-compression.js
6726
6726
  var GZipCompression = class extends DeflateCompression {
6727
6727
  name = "gzip";
6728
6728
  extensions = ["gz", "gzip"];
@@ -7588,11 +7588,12 @@ vec4 heatmap_sampleColor(sampler2D source, vec2 texSize, vec2 texCoord) {
7588
7588
  const { shaderModuleProps } = opts;
7589
7589
  const { picking } = shaderModuleProps;
7590
7590
  const postProcessLayer = getPostProcessLayer(this);
7591
- if (!picking.isActive) {
7591
+ const enableRTT = !picking.isActive && postProcessLayer.enableRTT;
7592
+ if (enableRTT) {
7592
7593
  postProcessLayer.enableRTT(opts);
7593
7594
  }
7594
7595
  super.draw(opts);
7595
- if (!picking.isActive) {
7596
+ if (enableRTT) {
7596
7597
  postProcessLayer.disableRTT();
7597
7598
  }
7598
7599
  }
@@ -8356,7 +8357,7 @@ void main(void) {
8356
8357
  tileIndex,
8357
8358
  updateTriggers
8358
8359
  } = this.props;
8359
- if (!data || !tileIndex)
8360
+ if (!data || !tileIndex || data.length === 0)
8360
8361
  return null;
8361
8362
  const blockSize = data.blockSize ?? 0;
8362
8363
  const [xOffset, yOffset, scale] = quadbinToOffset(tileIndex);