@nika-js/onlymap 0.9.0 → 0.9.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +25 -2
  3. package/dist/{LercDecode.es-BMcxSLhD.js → LercDecode.es-IEPCRZOv.js} +1 -1
  4. package/dist/{basemap-m98j2wxG.js → basemap-DL0mk9Bf.js} +1 -1
  5. package/dist/dem-decode.d.ts +58 -0
  6. package/dist/elements/om-map.d.ts +2 -0
  7. package/dist/{geoparquet-XOwOmChh.js → geoparquet-DJxZA0if.js} +1 -1
  8. package/dist/hillshade-DR3TxO1a.js +186 -0
  9. package/dist/hillshade-apron-Bem3DWyJ.js +40 -0
  10. package/dist/hillshade-apron.d.ts +54 -0
  11. package/dist/hillshade-shader-n_zManfZ.js +160 -0
  12. package/dist/hillshade-shader.d.ts +152 -0
  13. package/dist/hillshade.d.ts +133 -0
  14. package/dist/html-data.d.ts +1 -1
  15. package/dist/{index-HZWdgtm4.js → index-BjcPjICh.js} +59 -59
  16. package/dist/{index-DzOvV-O7.js → index-CvuDsvnk.js} +22 -22
  17. package/dist/{index-CfPbQUqO.js → index-DO_w0tqR.js} +86 -83
  18. package/dist/{index-DDNElBTs.js → index-DdTZSuAb.js} +106 -106
  19. package/dist/{index-BSAY6CWm.js → index-oY3XHIux.js} +9843 -9623
  20. package/dist/{index-BMbpftvm.js → index-vLXZuog4.js} +1 -1
  21. package/dist/lerc-Bph62dCb.js +22 -0
  22. package/dist/onlymap.standalone.js +21279 -20558
  23. package/dist/onlymapjs.js +37 -37
  24. package/dist/{raster-Dg5p_99H.js → raster-D-eTzCE3.js} +609 -499
  25. package/dist/raster-hillshade.d.ts +119 -0
  26. package/dist/{raster-pipeline-DhjkqDYd.js → raster-pipeline-BlOnMPJe.js} +510 -484
  27. package/dist/raster-pipeline.d.ts +10 -0
  28. package/dist/raster.d.ts +5 -0
  29. package/dist/terrain-heightfield.d.ts +0 -16
  30. package/dist/terrain-sample.d.ts +0 -13
  31. package/dist/version.d.ts +1 -1
  32. package/dist/volumetrics.d.ts +7 -0
  33. package/dist/{zarr-D3CzK1Zm.js → zarr-BGDoEtFb.js} +2 -2
  34. package/docs/cartograph.md +2 -2
  35. package/docs/design/hillshade.md +290 -0
  36. package/docs/effects.md +11 -0
  37. package/docs/hillshade.md +203 -0
  38. package/llms.txt +2 -1
  39. package/onlymapjs.attributes.json +27 -2
  40. package/onlymapjs.html-data.json +44 -6
  41. package/package.json +13 -9
  42. package/skills/onlymapjs/SKILL.md +3 -2
  43. package/skills/onlymapjs/references/syntax.md +11 -3
  44. package/dist/lerc-qK-nhCaB.js +0 -30
@@ -1,22 +1,22 @@
1
- import { au as Be, av as le, aw as ce, ax as De, ay as Oe, az as ke } from "./index-BSAY6CWm.js";
2
- import { y as ve, a as he, z as G, R as J, A as ue, C as Fe, F as xe, n as je, S as Ie, E as Ne } from "./recordbatch-Bpc0uxFn.js";
1
+ import { aB as Be, aC as le, aD as ce, aE as De, aF as Oe, aG as ke } from "./index-oY3XHIux.js";
2
+ import { y as Fe, a as he, z as G, R as J, A as ue, C as ve, F as je, n as xe, S as Ie, E as Ne } from "./recordbatch-Bpc0uxFn.js";
3
3
  import { g as V, a as fe, b as Le, c as Ue, d as Me, e as qe, m as Ve } from "./table-accessors-CYWTzpQI.js";
4
4
  import { c as $e } from "./convert-arrow-schema-DrAihRf9.js";
5
5
  function de(t) {
6
6
  switch (t.shape) {
7
7
  case "array-row-table":
8
8
  case "object-row-table":
9
- return He(t.data);
9
+ return Pe(t.data);
10
10
  case "geojson-table":
11
- return Pe(t.features);
11
+ return ze(t.features);
12
12
  case "columnar-table":
13
- return ze(t.data);
13
+ return He(t.data);
14
14
  case "arrow-table":
15
15
  default:
16
16
  throw new Error("Deduce schema");
17
17
  }
18
18
  }
19
- function ze(t) {
19
+ function He(t) {
20
20
  const e = [];
21
21
  for (const [r, s] of Object.entries(t)) {
22
22
  const n = Qe(s, r);
@@ -24,7 +24,7 @@ function ze(t) {
24
24
  }
25
25
  return { fields: e, metadata: {} };
26
26
  }
27
- function He(t) {
27
+ function Pe(t) {
28
28
  if (!t.length)
29
29
  throw new Error("deduce from empty table");
30
30
  const e = [], r = t[0];
@@ -32,7 +32,7 @@ function He(t) {
32
32
  e.push(me(n, s));
33
33
  return { fields: e, metadata: {} };
34
34
  }
35
- function Pe(t) {
35
+ function ze(t) {
36
36
  if (!t.length)
37
37
  throw new Error("deduce from empty table");
38
38
  const e = [], r = t[0].properties || {};
@@ -75,7 +75,7 @@ function Je(t, e) {
75
75
  return new r(e);
76
76
  }
77
77
  function* We(t, e) {
78
- const r = $e(t.schema), s = V(t), n = fe(t), a = s, c = r?.fields.map((o) => ve(o)), h = new he(r.fields);
78
+ const r = $e(t.schema), s = V(t), n = fe(t), a = s, c = r?.fields.map((o) => Fe(o)), h = new he(r.fields);
79
79
  let f = 0;
80
80
  for (let o = 0; o < s; o++)
81
81
  for (let u = 0; u < n; ++u) {
@@ -393,7 +393,7 @@ class at extends we {
393
393
  const e = super.getBatch();
394
394
  if (e) {
395
395
  this.arrowSchema = this.arrowSchema || ot(e.schema);
396
- const r = lt(this.arrowSchema, e.data), s = new J(this.arrowSchema, Fe({
396
+ const r = lt(this.arrowSchema, e.data), s = new J(this.arrowSchema, ve({
397
397
  type: new he(this.arrowSchema.fields),
398
398
  children: r.map(({ data: n }) => n[0])
399
399
  }));
@@ -412,7 +412,7 @@ function ot(t) {
412
412
  for (const r in t) {
413
413
  const s = t[r];
414
414
  if (s.type === Float32Array) {
415
- const n = /* @__PURE__ */ new Map(), a = new xe(s.name, new je(), s.nullable, n);
415
+ const n = /* @__PURE__ */ new Map(), a = new je(s.name, new xe(), s.nullable, n);
416
416
  e.push(a);
417
417
  }
418
418
  }
@@ -578,7 +578,7 @@ class ut {
578
578
  });
579
579
  }
580
580
  }
581
- const re = "\uFEFF", F = {
581
+ const re = "\uFEFF", v = {
582
582
  RECORD_SEP: "",
583
583
  UNIT_SEP: "",
584
584
  BYTE_ORDER_MARK: re,
@@ -620,7 +620,7 @@ let ye = class {
620
620
  }
621
621
  // eslint-disable-next-line complexity, max-statements
622
622
  parseChunk(e, r) {
623
- if (this.isFirstChunk && x(this._config.beforeFirstChunk)) {
623
+ if (this.isFirstChunk && j(this._config.beforeFirstChunk)) {
624
624
  const h = this._config.beforeFirstChunk(e);
625
625
  h !== void 0 && (e = h);
626
626
  }
@@ -633,15 +633,15 @@ let ye = class {
633
633
  const a = n.meta.cursor;
634
634
  this._finished || (this._partialLine = s.substring(a - this._baseIndex), this._baseIndex = a), n && n.data && (this._rowCount += n.data.length);
635
635
  const c = this._finished || this._config.preview && this._rowCount >= this._config.preview;
636
- if (x(this._config.chunk) && !r) {
636
+ if (j(this._config.chunk) && !r) {
637
637
  if (this._config.chunk(n, this._handle), this._handle.paused() || this._handle.aborted())
638
638
  return;
639
639
  n = void 0, this._completeResults = void 0;
640
640
  }
641
- return !this._config.step && !this._config.chunk && (this._completeResults.data = this._completeResults.data.concat(n.data), this._completeResults.errors = this._completeResults.errors.concat(n.errors), this._completeResults.meta = n.meta), !this._completed && c && x(this._config.complete) && (!n || !n.meta.aborted) && (this._config.complete(this._completeResults, this._input), this._completed = !0), n;
641
+ return !this._config.step && !this._config.chunk && (this._completeResults.data = this._completeResults.data.concat(n.data), this._completeResults.errors = this._completeResults.errors.concat(n.errors), this._completeResults.meta = n.meta), !this._completed && c && j(this._config.complete) && (!n || !n.meta.aborted) && (this._config.complete(this._completeResults, this._input), this._completed = !0), n;
642
642
  }
643
643
  _sendError(e) {
644
- x(this._config.error) && this._config.error(e);
644
+ j(this._config.error) && this._config.error(e);
645
645
  }
646
646
  };
647
647
  class dt extends ye {
@@ -685,7 +685,7 @@ class be {
685
685
  meta: {}
686
686
  };
687
687
  constructor(e) {
688
- if (x(e.step)) {
688
+ if (j(e.step)) {
689
689
  const r = e.step;
690
690
  e.step = (s) => {
691
691
  if (this._results = s, this.needsHeaderRow())
@@ -707,10 +707,10 @@ class be {
707
707
  parse(e, r, s) {
708
708
  const n = this._config.quoteChar || '"';
709
709
  if (this._config.newline || (this._config.newline = gt(e, n)), this._delimiterError = !1, this._config.delimiter)
710
- x(this._config.delimiter) && (this._config.delimiter = this._config.delimiter(e), this._results.meta.delimiter = this._config.delimiter);
710
+ j(this._config.delimiter) && (this._config.delimiter = this._config.delimiter(e), this._results.meta.delimiter = this._config.delimiter);
711
711
  else {
712
712
  const c = this.guessDelimiter(e, this._config.newline, this._config.skipEmptyLines, this._config.comments, this._config.delimitersToGuess);
713
- c.successful ? this._config.delimiter = c.bestDelimiter : (this._delimiterError = !0, this._config.delimiter = F.DefaultDelimiter), this._results.meta.delimiter = this._config.delimiter;
713
+ c.successful ? this._config.delimiter = c.bestDelimiter : (this._delimiterError = !0, this._config.delimiter = v.DefaultDelimiter), this._results.meta.delimiter = this._config.delimiter;
714
714
  }
715
715
  const a = _e(this._config);
716
716
  return this._config.preview && this._config.header && a.preview++, this._input = e, this._parser = new W(a), this._results = this._parser.parse(this._input, r, s), this.processResults(), this._paused ? { meta: { paused: !0 } } : this._results || { meta: { paused: !1 } };
@@ -728,13 +728,13 @@ class be {
728
728
  return this._aborted;
729
729
  }
730
730
  abort() {
731
- this._aborted = !0, this._parser.abort(), this._results.meta.aborted = !0, x(this._config.complete) && this._config.complete(this._results), this._input = "";
731
+ this._aborted = !0, this._parser.abort(), this._results.meta.aborted = !0, j(this._config.complete) && this._config.complete(this._results), this._input = "";
732
732
  }
733
733
  testEmptyLine(e) {
734
734
  return this._config.skipEmptyLines === "greedy" ? e.join("").trim() === "" : e.length === 1 && e[0].length === 0;
735
735
  }
736
736
  processResults() {
737
- if (this._results && this._delimiterError && (this.addError("Delimiter", "UndetectableDelimiter", `Unable to auto-detect delimiting character; defaulted to '${F.DefaultDelimiter}'`), this._delimiterError = !1), this._config.skipEmptyLines)
737
+ if (this._results && this._delimiterError && (this.addError("Delimiter", "UndetectableDelimiter", `Unable to auto-detect delimiting character; defaulted to '${v.DefaultDelimiter}'`), this._delimiterError = !1), this._config.skipEmptyLines)
738
738
  for (let e = 0; e < this._results.data.length; e++)
739
739
  this.testEmptyLine(this._results.data[e]) && this._results.data.splice(e--, 1);
740
740
  return this.needsHeaderRow() && this.fillHeaderFields(), this.applyHeaderAndDynamicTypingAndTransformation();
@@ -746,7 +746,7 @@ class be {
746
746
  if (!this._results)
747
747
  return;
748
748
  const e = (r) => {
749
- x(this._config.transformHeader) && (r = this._config.transformHeader(r)), this._fields.push(r);
749
+ j(this._config.transformHeader) && (r = this._config.transformHeader(r)), this._fields.push(r);
750
750
  };
751
751
  if (Array.isArray(this._results.data[0])) {
752
752
  for (let r = 0; this.needsHeaderRow() && r < this._results.data.length; r++)
@@ -779,7 +779,7 @@ class be {
779
779
  // eslint-disable-next-line complexity, max-statements
780
780
  guessDelimiter(e, r, s, n, a) {
781
781
  let c, h, f;
782
- a = a || [",", " ", "|", ";", F.RECORD_SEP, F.UNIT_SEP];
782
+ a = a || [",", " ", "|", ";", v.RECORD_SEP, v.UNIT_SEP];
783
783
  for (let o = 0; o < a.length; o++) {
784
784
  const u = a[o];
785
785
  let i = 0, d = 0, g = 0;
@@ -842,9 +842,9 @@ function W(t = {}) {
842
842
  let h;
843
843
  t.quoteChar === void 0 ? h = '"' : h = t.quoteChar;
844
844
  let f = h;
845
- if (t.escapeChar !== void 0 && (f = t.escapeChar), (typeof e != "string" || F.BAD_DELIMITERS.indexOf(e) > -1) && (e = ","), s === e)
845
+ if (t.escapeChar !== void 0 && (f = t.escapeChar), (typeof e != "string" || v.BAD_DELIMITERS.indexOf(e) > -1) && (e = ","), s === e)
846
846
  throw new Error("Comment character same as delimiter");
847
- s === !0 ? s = "#" : (typeof s != "string" || F.BAD_DELIMITERS.indexOf(s) > -1) && (s = !1), r !== `
847
+ s === !0 ? s = "#" : (typeof s != "string" || v.BAD_DELIMITERS.indexOf(s) > -1) && (s = !1), r !== `
848
848
  ` && r !== "\r" && r !== `\r
849
849
  ` && (r = `
850
850
  `);
@@ -852,9 +852,9 @@ function W(t = {}) {
852
852
  this.parse = function(i, d, g) {
853
853
  if (typeof i != "string")
854
854
  throw new Error("Input must be a string");
855
- const w = i.length, l = e.length, m = r.length, C = s.length, T = x(n);
855
+ const w = i.length, l = e.length, m = r.length, C = s.length, T = j(n);
856
856
  o = 0;
857
- let y = [], v = [], p = [], k = 0;
857
+ let y = [], F = [], p = [], k = 0;
858
858
  if (!i)
859
859
  return S();
860
860
  if (c || c !== !1 && i.indexOf(h) === -1) {
@@ -867,10 +867,10 @@ function W(t = {}) {
867
867
  return S();
868
868
  if (!(s && O.substr(0, C) === s)) {
869
869
  if (T) {
870
- if (y = [], j(O.split(e)), I(), u)
870
+ if (y = [], x(O.split(e)), I(), u)
871
871
  return S();
872
872
  } else
873
- j(O.split(e));
873
+ x(O.split(e));
874
874
  if (a && D >= a)
875
875
  return y = y.slice(0, a), S(!0);
876
876
  }
@@ -884,17 +884,17 @@ function W(t = {}) {
884
884
  if (i[o] === h) {
885
885
  for (b = o, o++; ; ) {
886
886
  if (b = i.indexOf(h, b + 1), b === -1)
887
- return g || v.push({
887
+ return g || F.push({
888
888
  type: "Quotes",
889
889
  code: "MissingQuotes",
890
890
  message: "Quoted field unterminated",
891
891
  row: y.length,
892
892
  // row has yet to be inserted
893
893
  index: o
894
- }), z();
894
+ }), H();
895
895
  if (b === w - 1) {
896
896
  const Ee = i.substring(o, b).replace(B, h);
897
- return z(Ee);
897
+ return H(Ee);
898
898
  }
899
899
  if (h === f && i[b + 1] === f) {
900
900
  b++;
@@ -918,7 +918,7 @@ function W(t = {}) {
918
918
  return S(!0);
919
919
  break;
920
920
  }
921
- v.push({
921
+ F.push({
922
922
  type: "Quotes",
923
923
  code: "InvalidQuotes",
924
924
  message: "Trailing quote on quoted field is malformed",
@@ -952,8 +952,8 @@ function W(t = {}) {
952
952
  }
953
953
  break;
954
954
  }
955
- return z();
956
- function j(R) {
955
+ return H();
956
+ function x(R) {
957
957
  y.push(R), k = o;
958
958
  }
959
959
  function K(R) {
@@ -964,16 +964,16 @@ function W(t = {}) {
964
964
  }
965
965
  return D;
966
966
  }
967
- function z(R) {
968
- return g || (typeof R > "u" && (R = i.substr(o)), p.push(R), o = w, j(p), T && I()), S();
967
+ function H(R) {
968
+ return g || (typeof R > "u" && (R = i.substr(o)), p.push(R), o = w, x(p), T && I()), S();
969
969
  }
970
970
  function Y(R) {
971
- o = R, j(p), p = [], _ = i.indexOf(r, o);
971
+ o = R, x(p), p = [], _ = i.indexOf(r, o);
972
972
  }
973
973
  function S(R, D) {
974
974
  return {
975
975
  data: D || !1 ? y[0] : y,
976
- errors: v,
976
+ errors: F,
977
977
  meta: {
978
978
  delimiter: e,
979
979
  linebreak: r,
@@ -984,7 +984,7 @@ function W(t = {}) {
984
984
  };
985
985
  }
986
986
  function I() {
987
- n(S(void 0, !0)), y = [], v = [];
987
+ n(S(void 0, !0)), y = [], F = [];
988
988
  }
989
989
  }, this.abort = function() {
990
990
  u = !0;
@@ -1000,7 +1000,7 @@ function _e(t) {
1000
1000
  e[r] = _e(t[r]);
1001
1001
  return e;
1002
1002
  }
1003
- function x(t) {
1003
+ function j(t) {
1004
1004
  return typeof t == "function";
1005
1005
  }
1006
1006
  function wt(t, e = {}) {
@@ -1018,7 +1018,7 @@ function wt(t, e = {}) {
1018
1018
  throw new Error("Unable to serialize unrecognized input");
1019
1019
  function i() {
1020
1020
  if (typeof e == "object") {
1021
- if (typeof e.delimiter == "string" && !F.BAD_DELIMITERS.filter(function(l) {
1021
+ if (typeof e.delimiter == "string" && !v.BAD_DELIMITERS.filter(function(l) {
1022
1022
  return e.delimiter?.indexOf(l) !== -1;
1023
1023
  }).length && (n = e.delimiter), (typeof e.quotes == "boolean" || Array.isArray(e.quotes)) && (r = e.quotes), (typeof e.skipEmptyLines == "boolean" || e.skipEmptyLines === "greedy") && (f = e.skipEmptyLines), typeof e.newline == "string" && (a = e.newline), typeof e.quoteChar == "string" && (c = e.quoteChar), typeof e.header == "boolean" && (s = e.header), Array.isArray(e.columns)) {
1024
1024
  if (e.columns.length === 0)
@@ -1031,7 +1031,7 @@ function wt(t, e = {}) {
1031
1031
  function d(l, m, C) {
1032
1032
  let T = "";
1033
1033
  typeof l == "string" && (l = JSON.parse(l)), typeof m == "string" && (m = JSON.parse(m));
1034
- const y = Array.isArray(l) && l.length > 0, v = !Array.isArray(m[0]);
1034
+ const y = Array.isArray(l) && l.length > 0, F = !Array.isArray(m[0]);
1035
1035
  if (y && s) {
1036
1036
  for (let p = 0; p < l.length; p++)
1037
1037
  p > 0 && (T += n), T += g(l[p], p);
@@ -1044,15 +1044,15 @@ function wt(t, e = {}) {
1044
1044
  if (C && !y && (A = C === "greedy" ? m[p].join("").trim() === "" : m[p].length === 1 && m[p][0].length === 0), C === "greedy" && y) {
1045
1045
  const B = [];
1046
1046
  for (let b = 0; b < k; b++) {
1047
- const j = v ? l[b] : b;
1048
- B.push(m[p][j]);
1047
+ const x = F ? l[b] : b;
1048
+ B.push(m[p][x]);
1049
1049
  }
1050
1050
  A = B.join("").trim() === "";
1051
1051
  }
1052
1052
  if (!A) {
1053
1053
  for (let B = 0; B < k; B++) {
1054
1054
  B > 0 && !_ && (T += n);
1055
- const b = y && v ? l[B] : B;
1055
+ const b = y && F ? l[B] : B;
1056
1056
  T += g(m[p][b], B);
1057
1057
  }
1058
1058
  p < m.length - 1 && (!C || k > 0 && !_) && (T += a);
@@ -1061,7 +1061,7 @@ function wt(t, e = {}) {
1061
1061
  return T;
1062
1062
  }
1063
1063
  function g(l, m) {
1064
- return typeof l > "u" || l === null ? "" : l.constructor === Date ? JSON.stringify(l).slice(1, 25) : (l = l.toString().replace(u, h), typeof r == "boolean" && r || Array.isArray(r) && r[m] || w(l, F.BAD_DELIMITERS) || l.indexOf(n) > -1 || l.charAt(0) === " " || l.charAt(l.length - 1) === " " ? c + l + c : l);
1064
+ return typeof l > "u" || l === null ? "" : l.constructor === Date ? JSON.stringify(l).slice(1, 25) : (l = l.toString().replace(u, h), typeof r == "boolean" && r || Array.isArray(r) && r[m] || w(l, v.BAD_DELIMITERS) || l.indexOf(n) > -1 || l.charAt(0) === " " || l.charAt(l.length - 1) === " " ? c + l + c : l);
1065
1065
  }
1066
1066
  function w(l, m) {
1067
1067
  for (let C = 0; C < m.length; C++)
@@ -1074,7 +1074,7 @@ function yt(t) {
1074
1074
  return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
1075
1075
  }
1076
1076
  const $ = {
1077
- ...F,
1077
+ ...v,
1078
1078
  parse: ft,
1079
1079
  unparse: wt,
1080
1080
  ChunkStreamer: ye,
@@ -1294,7 +1294,7 @@ function Rt(t, e) {
1294
1294
  }
1295
1295
  };
1296
1296
  }
1297
- var ne = {}, H = {}, P = 34, N = 10, Q = 13;
1297
+ var ne = {}, P = {}, z = 34, N = 10, Q = 13;
1298
1298
  function Se(t) {
1299
1299
  return new Function("d", "return {" + t.map(function(e, r) {
1300
1300
  return JSON.stringify(e) + ": d[" + r + '] || ""';
@@ -1337,12 +1337,12 @@ function Dt(t) {
1337
1337
  function n(i, d) {
1338
1338
  var g = [], w = i.length, l = 0, m = 0, C, T = w <= 0, y = !1;
1339
1339
  i.charCodeAt(w - 1) === N && --w, i.charCodeAt(w - 1) === Q && --w;
1340
- function v() {
1341
- if (T) return H;
1340
+ function F() {
1341
+ if (T) return P;
1342
1342
  if (y) return y = !1, ne;
1343
1343
  var k, A = l, _;
1344
- if (i.charCodeAt(A) === P) {
1345
- for (; l++ < w && i.charCodeAt(l) !== P || i.charCodeAt(++l) === P; ) ;
1344
+ if (i.charCodeAt(A) === z) {
1345
+ for (; l++ < w && i.charCodeAt(l) !== z || i.charCodeAt(++l) === z; ) ;
1346
1346
  return (k = l) >= w ? T = !0 : (_ = i.charCodeAt(l++)) === N ? y = !0 : _ === Q && (y = !0, i.charCodeAt(l) === N && ++l), i.slice(A + 1, k - 1).replace(/""/g, '"');
1347
1347
  }
1348
1348
  for (; l < w; ) {
@@ -1354,8 +1354,8 @@ function Dt(t) {
1354
1354
  }
1355
1355
  return T = !0, i.slice(A, w);
1356
1356
  }
1357
- for (; (C = v()) !== H; ) {
1358
- for (var p = []; C !== ne && C !== H; ) p.push(C), C = v();
1357
+ for (; (C = F()) !== P; ) {
1358
+ for (var p = []; C !== ne && C !== P; ) p.push(C), C = F();
1359
1359
  d && (p = d(p, m++)) == null || g.push(p);
1360
1360
  }
1361
1361
  return g;
@@ -1405,14 +1405,14 @@ function ae(t, e = { csv: { useDisplayNames: !0 } }) {
1405
1405
  const f = [];
1406
1406
  for (let o = 0; o < fe(t); ++o) {
1407
1407
  const u = h[o];
1408
- f[o] = vt(u);
1408
+ f[o] = Ft(u);
1409
1409
  }
1410
1410
  a.push(f);
1411
1411
  }
1412
1412
  const c = a.map((h) => h.map((f) => f === null ? "" : f));
1413
1413
  return kt(c);
1414
1414
  }
1415
- const vt = (t) => t == null ? null : t instanceof Date ? t.toISOString() : typeof t == "object" ? JSON.stringify(t) : String(t), Ut = {
1415
+ const Ft = (t) => t == null ? null : t instanceof Date ? t.toISOString() : typeof t == "object" ? JSON.stringify(t) : String(t), Ut = {
1416
1416
  ...Ce,
1417
1417
  version: "latest",
1418
1418
  options: {
@@ -1429,13 +1429,13 @@ const vt = (t) => t == null ? null : t instanceof Date ? t.toISOString() : typeo
1429
1429
  batchType: null,
1430
1430
  parse: async (t, e) => oe(new TextDecoder().decode(t), e),
1431
1431
  parseText: (t, e) => oe(t, e),
1432
- parseInBatches: Ft
1432
+ parseInBatches: vt
1433
1433
  };
1434
1434
  async function oe(t, e) {
1435
1435
  const r = await U.parseText(t, e);
1436
1436
  return L(r, "arrow-table");
1437
1437
  }
1438
- function Ft(t, e) {
1438
+ function vt(t, e) {
1439
1439
  const r = U.parseInBatches(t, e);
1440
1440
  return rt(r, "arrow-table");
1441
1441
  }
@@ -1,5 +1,5 @@
1
- import { y as R, A as S, B as E, F as N, H as h, I as w, J as W, K as O, N as I, Q as x, R as B, S as _, T as P, U as k, X as $, Y as z, Z as C, _ as F, $ as v, a0 as U, a1 as p, a2 as M } from "./index-BSAY6CWm.js";
2
- import { a3 as $e, a4 as ze, a5 as Ce, a6 as ve, a7 as Ue, a8 as Me, a9 as je, aa as De, ab as Je, ac as qe, ad as He, ae as Ve, af as Ge, ag as Ke, ah as Qe, ai as Xe, aj as Ye, ak as Ze, al as et, am as tt, an as nt, ao as rt, ap as at, aq as st, ar as ot } from "./index-BSAY6CWm.js";
1
+ import { J as R, K as S, N as E, Q as N, R as h, S as w, U as W, X as O, Y as x, Z as I, _ as B, $ as _, a0 as P, a1 as k, a2 as $, a3 as z, a4 as v, a5 as F, a6 as C, a7 as U, a8 as p, a9 as M } from "./index-oY3XHIux.js";
2
+ import { aa as $e, ab as ze, ac as ve, ad as Ce, ae as Ue, af as Me, ag as je, ah as De, ai as Je, aj as qe, ak as Ve, al as Ge, am as He, an as Ke, ao as Qe, ap as Xe, aq as Ye, ar as Ze, as as et, at as tt, au as nt, av as rt, aw as at, ax as st, ay as ot } from "./index-oY3XHIux.js";
3
3
  import { g as j, i as D } from "./table-accessors-CYWTzpQI.js";
4
4
  async function J(t, e, n = {}, r = {}) {
5
5
  const a = R(t), s = S.getWorkerFarm(n), { source: o } = n, c = { name: a, source: o };
@@ -37,7 +37,7 @@ async function q(t, e, n, r) {
37
37
  console.warn(`process-on-worker: unknown message ${n}`);
38
38
  }
39
39
  }
40
- function H(t, e) {
40
+ function V(t, e) {
41
41
  if (!S.isSupported())
42
42
  return !1;
43
43
  const n = e?._nodeWorkers ?? e?.core?._nodeWorkers, r = e?.worker ?? e?.core?.worker;
@@ -71,13 +71,13 @@ async function* ge(t) {
71
71
  for await (const n of t)
72
72
  yield { counter: e, line: n }, e++;
73
73
  }
74
- const V = "4.4.3", Te = {
74
+ const G = "4.4.3", Te = {
75
75
  dataType: null,
76
76
  batchType: null,
77
77
  name: "JSON",
78
78
  id: "json",
79
79
  module: "json",
80
- version: V,
80
+ version: G,
81
81
  extensions: ["json", "geojson"],
82
82
  mimeTypes: ["application/json"],
83
83
  category: "json",
@@ -89,7 +89,7 @@ const V = "4.4.3", Te = {
89
89
  function g(t) {
90
90
  return JSON.parse(t);
91
91
  }
92
- class G {
92
+ class H {
93
93
  handle;
94
94
  size;
95
95
  bigsize;
@@ -161,7 +161,7 @@ function Se(t, e, n, r) {
161
161
  const s = W(e, r), o = O(t, s, n);
162
162
  if (!o)
163
163
  return null;
164
- const c = I(n, o, s), i = x(t), u = () => {
164
+ const c = x(n, o, s), i = I(t), u = () => {
165
165
  throw new Error("parseSync called parse (which is async");
166
166
  };
167
167
  return r = B({ url: i, _parseSync: u, _parse: u, loaders: e }, c, r || null), X(o, t, c, r);
@@ -179,10 +179,10 @@ function Y(t) {
179
179
  async function l(t, e, n, r) {
180
180
  const a = Array.isArray(e) ? e : void 0;
181
181
  !Array.isArray(e) && !w(e) && (r = void 0, n = e, e = void 0), t = await t, n = n || {};
182
- const s = x(t), o = await P(t, e, n);
182
+ const s = I(t), o = await P(t, e, n);
183
183
  if (!o)
184
184
  return [];
185
- const c = I(n, o, a, s);
185
+ const c = x(n, o, a, s);
186
186
  return r = B({ url: s, _parseInBatches: l, _parse: k, loaders: a }, c, r || null), await Z(o, t, c, r);
187
187
  }
188
188
  async function Z(t, e, n, r) {
@@ -234,10 +234,10 @@ async function re(t, e = []) {
234
234
  n = r(n);
235
235
  return n;
236
236
  }
237
- function Ie(t, e, n, r) {
237
+ function xe(t, e, n, r) {
238
238
  let a;
239
239
  !Array.isArray(e) && !w(e) ? (n = e, a = void 0) : a = e;
240
- const s = C(n || {});
240
+ const s = v(n || {});
241
241
  return Array.isArray(t) ? t.map((c) => T(c, a, n || {}, s)) : T(t, a, n || {}, s);
242
242
  }
243
243
  async function T(t, e, n, r) {
@@ -258,11 +258,11 @@ async function ae(t, e, n) {
258
258
  const r = se(t, e, n), a = [];
259
259
  for await (const s of r)
260
260
  a.push(s);
261
- return v(...a);
261
+ return C(...a);
262
262
  }
263
263
  throw new Error("Writer could not encode data");
264
264
  }
265
- async function xe(t, e, n) {
265
+ async function Ie(t, e, n) {
266
266
  if (e.text && e.encodeText)
267
267
  return await e.encodeText(t, n);
268
268
  if (e.text) {
@@ -283,7 +283,7 @@ function oe(t) {
283
283
  }
284
284
  async function Be(t, e, n) {
285
285
  const a = { ...U(), ...n };
286
- return e.encodeURLtoURL ? ue(e, t, a) : H(e, a) ? await J(e, t, a) : await e.encode(t, a);
286
+ return e.encodeURLtoURL ? ue(e, t, a) : V(e, a) ? await J(e, t, a) : await e.encode(t, a);
287
287
  }
288
288
  function ce(t, e, n) {
289
289
  if (e.encodeSync)
@@ -524,7 +524,7 @@ class Oe {
524
524
  // implements IRandomAccessFileSystem
525
525
  // RANDOM ACCESS
526
526
  async openReadableFile(e, n) {
527
- return new G(this.files[e]);
527
+ return new H(this.files[e]);
528
528
  }
529
529
  // PRIVATE
530
530
  // Supports case independent paths, and file usage tracking
@@ -542,8 +542,8 @@ export {
542
542
  Oe as _BrowserFileSystem,
543
543
  We as _fetchProgress,
544
544
  Ae as _selectSource,
545
- Ce as _unregisterLoaders,
546
- ve as assert,
545
+ ve as _unregisterLoaders,
546
+ Ce as assert,
547
547
  z as concatenateArrayBuffersAsync,
548
548
  Ue as createDataSource,
549
549
  Me as document,
@@ -551,7 +551,7 @@ export {
551
551
  Le as encodeInBatches,
552
552
  ce as encodeSync,
553
553
  ae as encodeTable,
554
- xe as encodeTableAsText,
554
+ Ie as encodeTableAsText,
555
555
  se as encodeTableInBatches,
556
556
  ke as encodeText,
557
557
  Fe as encodeTextSync,
@@ -563,16 +563,16 @@ export {
563
563
  Je as global,
564
564
  qe as isAsyncIterable,
565
565
  h as isBrowser,
566
- He as isIterable,
567
- Ve as isIterator,
568
- Ge as isPromise,
566
+ Ve as isIterable,
567
+ Ge as isIterator,
568
+ He as isPromise,
569
569
  Ke as isPureObject,
570
570
  Qe as isReadableStream,
571
571
  Xe as isResponse,
572
572
  Ye as isWorker,
573
573
  Ze as isWritableStream,
574
574
  et as load,
575
- Ie as loadInBatches,
575
+ xe as loadInBatches,
576
576
  tt as makeIterator,
577
577
  pe as makeLineIterator,
578
578
  ge as makeNumberedLineIterator,