@local-logic/maps 0.0.6 → 0.0.8

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 (37) hide show
  1. package/dist/index-92HhWupr.js +29 -0
  2. package/dist/{index-Bd-X-1Gd.js → index-BF2kb4Y-.js} +13 -13
  3. package/dist/{index-BAAE2pMq.js → index-C5-_i-6M.js} +21 -21
  4. package/dist/{index-CXLLvdx4.js → index-CY0to_1B.js} +253 -247
  5. package/dist/{index-BHjgd5HB.js → index-ChwN5abO.js} +1 -1
  6. package/dist/index-CrIFr9oc.js +47 -0
  7. package/dist/{index-BbrOUWDy.js → index-D5-2anzJ.js} +1 -1
  8. package/dist/index.es.js +1 -1
  9. package/dist/index.umd.js +12 -12
  10. package/dist/src/components/Map/Root/BaseMap/Google/index.d.ts.map +1 -1
  11. package/dist/src/components/Map/Root/BaseMap/Mapbox/index.d.ts.map +1 -1
  12. package/dist/src/components/Map/Root/BaseMap/index.d.ts.map +1 -1
  13. package/dist/src/components/Map/Root/Layers/Google/index.d.ts +2 -2
  14. package/dist/src/components/Map/Root/Layers/Google/index.d.ts.map +1 -1
  15. package/dist/src/components/Map/Root/Layers/Mapbox/index.d.ts +2 -2
  16. package/dist/src/components/Map/Root/Layers/Mapbox/index.d.ts.map +1 -1
  17. package/dist/src/components/Map/Root/Layers/Maptiler/index.d.ts +2 -2
  18. package/dist/src/components/Map/Root/Layers/Maptiler/index.d.ts.map +1 -1
  19. package/dist/src/components/Map/Root/Layers/index.d.ts +2 -2
  20. package/dist/src/components/Map/Root/Layers/index.d.ts.map +1 -1
  21. package/dist/src/components/Map/Root/Layers/types.d.ts +1 -1
  22. package/dist/src/components/Map/Root/Layers/types.d.ts.map +1 -1
  23. package/dist/src/components/Map/Root/constants.d.ts +5 -0
  24. package/dist/src/components/Map/Root/constants.d.ts.map +1 -1
  25. package/dist/src/components/Map/Root/index.d.ts +0 -3
  26. package/dist/src/components/Map/Root/index.d.ts.map +1 -1
  27. package/dist/src/components/Map/Root/types.d.ts +1 -1
  28. package/dist/src/components/Map/Root/types.d.ts.map +1 -1
  29. package/dist/src/components/Map/index.d.ts +3 -0
  30. package/dist/src/components/Map/index.d.ts.map +1 -1
  31. package/dist/src/components/Map/index.stories.d.ts +1 -1
  32. package/dist/src/components/Map/index.stories.d.ts.map +1 -1
  33. package/dist/src/components/Map/storybook-data.d.ts +1 -15
  34. package/dist/src/components/Map/storybook-data.d.ts.map +1 -1
  35. package/package.json +2 -2
  36. package/dist/index-B_LO5X9C.js +0 -46
  37. package/dist/index-DHw9gU4K.js +0 -29
@@ -1,71 +1,76 @@
1
- import { jsx as x, Fragment as nt } from "react/jsx-runtime";
1
+ import { jsx as x, Fragment as st } from "react/jsx-runtime";
2
2
  import * as F from "react";
3
- import st, { useContext as it, lazy as w, useMemo as L, useRef as G, useState as Q } from "react";
4
- const q = st.createContext(
3
+ import ot, { useContext as it, lazy as w, useMemo as L, useRef as G, useState as Q } from "react";
4
+ const X = ot.createContext(
5
5
  {}
6
- ), R = () => it(q), S = {
6
+ ), R = () => it(X), S = {
7
7
  zoom: 16,
8
8
  pitch: 0,
9
9
  bearing: 0,
10
10
  cooperativeGestures: !1
11
- }, ot = "w-full h-full relative overflow-hidden", at = w(() => import("./index-Bd-X-1Gd.js")), ct = w(() => import("./index-BAAE2pMq.js")), ut = w(() => import("./index-B_LO5X9C.js")), ht = w(() => import("./index-qqbvBkdn.js")), pt = ({ children: n }) => {
11
+ }, V = {
12
+ maptiler: "600d69cb-288d-445e-9839-3dfe4d76b31a",
13
+ mapbox: "locallogic/cmb9nz9kb011501ru8drq8fqf",
14
+ google: "a7ff20eb973126bb"
15
+ }, at = "w-full h-full relative overflow-hidden", ct = w(() => import("./index-BF2kb4Y-.js")), ut = w(() => import("./index-C5-_i-6M.js")), ht = w(() => import("./index-CrIFr9oc.js")), pt = w(() => import("./index-qqbvBkdn.js")), lt = ({ children: r }) => {
12
16
  const {
13
17
  mapProvider: t,
14
18
  center: e,
15
- zoom: r = S.zoom,
16
- pitch: i = S.pitch,
17
- bearing: o = S.bearing,
19
+ zoom: n = S.zoom,
20
+ pitch: o = S.pitch,
21
+ bearing: i = S.bearing,
18
22
  cooperativeGestures: a = S.cooperativeGestures,
19
23
  zoomPosition: u
20
24
  } = R(), s = L(() => {
21
25
  switch (t == null ? void 0 : t.name) {
22
26
  case "maptiler":
23
- return at;
24
- case "google":
25
27
  return ct;
26
- case "mapbox":
28
+ case "google":
27
29
  return ut;
28
- default:
30
+ case "mapbox":
29
31
  return ht;
32
+ default:
33
+ return pt;
30
34
  }
31
35
  }, [t]);
32
36
  return /* @__PURE__ */ x(
33
37
  "div",
34
38
  {
35
- className: ot,
39
+ className: at,
36
40
  "data-testid": "base-map",
37
- "data-map-provider": t == null ? void 0 : t.name,
38
- "data-zoom": r,
39
- "data-pitch": i,
40
- "data-bearing": o,
41
+ "data-map-provider-name": t == null ? void 0 : t.name,
42
+ "data-map-provider-theme": (t == null ? void 0 : t.theme) || V[t == null ? void 0 : t.name] || V.maptiler,
43
+ "data-zoom": n,
44
+ "data-pitch": o,
45
+ "data-bearing": i,
41
46
  "data-cooperative-gestures": a,
42
47
  "data-zoom-position": u,
43
48
  "data-center-latitude": e.latitude,
44
49
  "data-center-longitude": e.longitude,
45
- children: /* @__PURE__ */ x(s, { children: n })
50
+ children: /* @__PURE__ */ x(s, { children: r })
46
51
  }
47
52
  );
48
53
  };
49
- function lt(n, t, e = {}) {
50
- const r = { type: "Feature" };
51
- return (e.id === 0 || e.id) && (r.id = e.id), e.bbox && (r.bbox = e.bbox), r.properties = t || {}, r.geometry = n, r;
54
+ function ft(r, t, e = {}) {
55
+ const n = { type: "Feature" };
56
+ return (e.id === 0 || e.id) && (n.id = e.id), e.bbox && (n.bbox = e.bbox), n.properties = t || {}, n.geometry = r, n;
52
57
  }
53
- function ft(n, t, e = {}) {
54
- if (!n)
58
+ function dt(r, t, e = {}) {
59
+ if (!r)
55
60
  throw new Error("coordinates is required");
56
- if (!Array.isArray(n))
61
+ if (!Array.isArray(r))
57
62
  throw new Error("coordinates must be an Array");
58
- if (n.length < 2)
63
+ if (r.length < 2)
59
64
  throw new Error("coordinates must be at least 2 numbers long");
60
- if (!V(n[0]) || !V(n[1]))
65
+ if (!k(r[0]) || !k(r[1]))
61
66
  throw new Error("coordinates must contain numbers");
62
- return lt({
67
+ return ft({
63
68
  type: "Point",
64
- coordinates: n
69
+ coordinates: r
65
70
  }, t, e);
66
71
  }
67
- function V(n) {
68
- return !isNaN(n) && n !== null && !Array.isArray(n);
72
+ function k(r) {
73
+ return !isNaN(r) && r !== null && !Array.isArray(r);
69
74
  }
70
75
  const H = [
71
76
  Int8Array,
@@ -77,7 +82,7 @@ const H = [
77
82
  Uint32Array,
78
83
  Float32Array,
79
84
  Float64Array
80
- ], C = 1, P = 8;
85
+ ], C = 1, O = 8;
81
86
  class D {
82
87
  /**
83
88
  * Creates an index from raw `ArrayBuffer` data.
@@ -86,17 +91,17 @@ class D {
86
91
  static from(t) {
87
92
  if (!(t instanceof ArrayBuffer))
88
93
  throw new Error("Data must be an instance of ArrayBuffer.");
89
- const [e, r] = new Uint8Array(t, 0, 2);
94
+ const [e, n] = new Uint8Array(t, 0, 2);
90
95
  if (e !== 219)
91
96
  throw new Error("Data does not appear to be in a KDBush format.");
92
- const i = r >> 4;
93
- if (i !== C)
94
- throw new Error(`Got v${i} data when expected v${C}.`);
95
- const o = H[r & 15];
96
- if (!o)
97
+ const o = n >> 4;
98
+ if (o !== C)
99
+ throw new Error(`Got v${o} data when expected v${C}.`);
100
+ const i = H[n & 15];
101
+ if (!i)
97
102
  throw new Error("Unrecognized array type.");
98
103
  const [a] = new Uint16Array(t, 2, 1), [u] = new Uint32Array(t, 4, 1);
99
- return new D(u, a, o, t);
104
+ return new D(u, a, i, t);
100
105
  }
101
106
  /**
102
107
  * Creates an index that will hold a given number of items.
@@ -105,13 +110,13 @@ class D {
105
110
  * @param {TypedArrayConstructor} [ArrayType=Float64Array] The array type used for coordinates storage (`Float64Array` by default).
106
111
  * @param {ArrayBuffer} [data] (For internal use only)
107
112
  */
108
- constructor(t, e = 64, r = Float64Array, i) {
113
+ constructor(t, e = 64, n = Float64Array, o) {
109
114
  if (isNaN(t) || t < 0) throw new Error(`Unpexpected numItems value: ${t}.`);
110
- this.numItems = +t, this.nodeSize = Math.min(Math.max(+e, 2), 65535), this.ArrayType = r, this.IndexArrayType = t < 65536 ? Uint16Array : Uint32Array;
111
- const o = H.indexOf(this.ArrayType), a = t * 2 * this.ArrayType.BYTES_PER_ELEMENT, u = t * this.IndexArrayType.BYTES_PER_ELEMENT, s = (8 - u % 8) % 8;
112
- if (o < 0)
113
- throw new Error(`Unexpected typed array class: ${r}.`);
114
- i && i instanceof ArrayBuffer ? (this.data = i, this.ids = new this.IndexArrayType(this.data, P, t), this.coords = new this.ArrayType(this.data, P + u + s, t * 2), this._pos = t * 2, this._finished = !0) : (this.data = new ArrayBuffer(P + a + u + s), this.ids = new this.IndexArrayType(this.data, P, t), this.coords = new this.ArrayType(this.data, P + u + s, t * 2), this._pos = 0, this._finished = !1, new Uint8Array(this.data, 0, 2).set([219, (C << 4) + o]), new Uint16Array(this.data, 2, 1)[0] = e, new Uint32Array(this.data, 4, 1)[0] = t);
115
+ this.numItems = +t, this.nodeSize = Math.min(Math.max(+e, 2), 65535), this.ArrayType = n, this.IndexArrayType = t < 65536 ? Uint16Array : Uint32Array;
116
+ const i = H.indexOf(this.ArrayType), a = t * 2 * this.ArrayType.BYTES_PER_ELEMENT, u = t * this.IndexArrayType.BYTES_PER_ELEMENT, s = (8 - u % 8) % 8;
117
+ if (i < 0)
118
+ throw new Error(`Unexpected typed array class: ${n}.`);
119
+ o && o instanceof ArrayBuffer ? (this.data = o, this.ids = new this.IndexArrayType(this.data, O, t), this.coords = new this.ArrayType(this.data, O + u + s, t * 2), this._pos = t * 2, this._finished = !0) : (this.data = new ArrayBuffer(O + a + u + s), this.ids = new this.IndexArrayType(this.data, O, t), this.coords = new this.ArrayType(this.data, O + u + s, t * 2), this._pos = 0, this._finished = !1, new Uint8Array(this.data, 0, 2).set([219, (C << 4) + i]), new Uint16Array(this.data, 2, 1)[0] = e, new Uint32Array(this.data, 4, 1)[0] = t);
115
120
  }
116
121
  /**
117
122
  * Add a point to the index.
@@ -120,8 +125,8 @@ class D {
120
125
  * @returns {number} An incremental index associated with the added item (starting from `0`).
121
126
  */
122
127
  add(t, e) {
123
- const r = this._pos >> 1;
124
- return this.ids[r] = r, this.coords[this._pos++] = t, this.coords[this._pos++] = e, r;
128
+ const n = this._pos >> 1;
129
+ return this.ids[n] = n, this.coords[this._pos++] = t, this.coords[this._pos++] = e, n;
125
130
  }
126
131
  /**
127
132
  * Perform indexing of the added points.
@@ -140,20 +145,20 @@ class D {
140
145
  * @param {number} maxY
141
146
  * @returns {number[]} An array of indices correponding to the found items.
142
147
  */
143
- range(t, e, r, i) {
148
+ range(t, e, n, o) {
144
149
  if (!this._finished) throw new Error("Data not yet indexed - call index.finish().");
145
- const { ids: o, coords: a, nodeSize: u } = this, s = [0, o.length - 1, 0], c = [];
150
+ const { ids: i, coords: a, nodeSize: u } = this, s = [0, i.length - 1, 0], c = [];
146
151
  for (; s.length; ) {
147
152
  const p = s.pop() || 0, h = s.pop() || 0, l = s.pop() || 0;
148
153
  if (h - l <= u) {
149
154
  for (let d = l; d <= h; d++) {
150
155
  const y = a[2 * d], M = a[2 * d + 1];
151
- y >= t && y <= r && M >= e && M <= i && c.push(o[d]);
156
+ y >= t && y <= n && M >= e && M <= o && c.push(i[d]);
152
157
  }
153
158
  continue;
154
159
  }
155
160
  const f = l + h >> 1, g = a[2 * f], m = a[2 * f + 1];
156
- g >= t && g <= r && m >= e && m <= i && c.push(o[f]), (p === 0 ? t <= g : e <= m) && (s.push(l), s.push(f - 1), s.push(1 - p)), (p === 0 ? r >= g : i >= m) && (s.push(f + 1), s.push(h), s.push(1 - p));
161
+ g >= t && g <= n && m >= e && m <= o && c.push(i[f]), (p === 0 ? t <= g : e <= m) && (s.push(l), s.push(f - 1), s.push(1 - p)), (p === 0 ? n >= g : o >= m) && (s.push(f + 1), s.push(h), s.push(1 - p));
157
162
  }
158
163
  return c;
159
164
  }
@@ -164,54 +169,54 @@ class D {
164
169
  * @param {number} r Query radius.
165
170
  * @returns {number[]} An array of indices correponding to the found items.
166
171
  */
167
- within(t, e, r) {
172
+ within(t, e, n) {
168
173
  if (!this._finished) throw new Error("Data not yet indexed - call index.finish().");
169
- const { ids: i, coords: o, nodeSize: a } = this, u = [0, i.length - 1, 0], s = [], c = r * r;
174
+ const { ids: o, coords: i, nodeSize: a } = this, u = [0, o.length - 1, 0], s = [], c = n * n;
170
175
  for (; u.length; ) {
171
176
  const p = u.pop() || 0, h = u.pop() || 0, l = u.pop() || 0;
172
177
  if (h - l <= a) {
173
178
  for (let d = l; d <= h; d++)
174
- k(o[2 * d], o[2 * d + 1], t, e) <= c && s.push(i[d]);
179
+ J(i[2 * d], i[2 * d + 1], t, e) <= c && s.push(o[d]);
175
180
  continue;
176
181
  }
177
- const f = l + h >> 1, g = o[2 * f], m = o[2 * f + 1];
178
- k(g, m, t, e) <= c && s.push(i[f]), (p === 0 ? t - r <= g : e - r <= m) && (u.push(l), u.push(f - 1), u.push(1 - p)), (p === 0 ? t + r >= g : e + r >= m) && (u.push(f + 1), u.push(h), u.push(1 - p));
182
+ const f = l + h >> 1, g = i[2 * f], m = i[2 * f + 1];
183
+ J(g, m, t, e) <= c && s.push(o[f]), (p === 0 ? t - n <= g : e - n <= m) && (u.push(l), u.push(f - 1), u.push(1 - p)), (p === 0 ? t + n >= g : e + n >= m) && (u.push(f + 1), u.push(h), u.push(1 - p));
179
184
  }
180
185
  return s;
181
186
  }
182
187
  }
183
- function j(n, t, e, r, i, o) {
184
- if (i - r <= e) return;
185
- const a = r + i >> 1;
186
- X(n, t, a, r, i, o), j(n, t, e, r, a - 1, 1 - o), j(n, t, e, a + 1, i, 1 - o);
188
+ function j(r, t, e, n, o, i) {
189
+ if (o - n <= e) return;
190
+ const a = n + o >> 1;
191
+ tt(r, t, a, n, o, i), j(r, t, e, n, a - 1, 1 - i), j(r, t, e, a + 1, o, 1 - i);
187
192
  }
188
- function X(n, t, e, r, i, o) {
189
- for (; i > r; ) {
190
- if (i - r > 600) {
191
- const c = i - r + 1, p = e - r + 1, h = Math.log(c), l = 0.5 * Math.exp(2 * h / 3), f = 0.5 * Math.sqrt(h * l * (c - l) / c) * (p - c / 2 < 0 ? -1 : 1), g = Math.max(r, Math.floor(e - p * l / c + f)), m = Math.min(i, Math.floor(e + (c - p) * l / c + f));
192
- X(n, t, e, g, m, o);
193
+ function tt(r, t, e, n, o, i) {
194
+ for (; o > n; ) {
195
+ if (o - n > 600) {
196
+ const c = o - n + 1, p = e - n + 1, h = Math.log(c), l = 0.5 * Math.exp(2 * h / 3), f = 0.5 * Math.sqrt(h * l * (c - l) / c) * (p - c / 2 < 0 ? -1 : 1), g = Math.max(n, Math.floor(e - p * l / c + f)), m = Math.min(o, Math.floor(e + (c - p) * l / c + f));
197
+ tt(r, t, e, g, m, i);
193
198
  }
194
- const a = t[2 * e + o];
195
- let u = r, s = i;
196
- for (O(n, t, r, e), t[2 * i + o] > a && O(n, t, r, i); u < s; ) {
197
- for (O(n, t, u, s), u++, s--; t[2 * u + o] < a; ) u++;
198
- for (; t[2 * s + o] > a; ) s--;
199
+ const a = t[2 * e + i];
200
+ let u = n, s = o;
201
+ for (P(r, t, n, e), t[2 * o + i] > a && P(r, t, n, o); u < s; ) {
202
+ for (P(r, t, u, s), u++, s--; t[2 * u + i] < a; ) u++;
203
+ for (; t[2 * s + i] > a; ) s--;
199
204
  }
200
- t[2 * r + o] === a ? O(n, t, r, s) : (s++, O(n, t, s, i)), s <= e && (r = s + 1), e <= s && (i = s - 1);
205
+ t[2 * n + i] === a ? P(r, t, n, s) : (s++, P(r, t, s, o)), s <= e && (n = s + 1), e <= s && (o = s - 1);
201
206
  }
202
207
  }
203
- function O(n, t, e, r) {
204
- U(n, e, r), U(t, 2 * e, 2 * r), U(t, 2 * e + 1, 2 * r + 1);
208
+ function P(r, t, e, n) {
209
+ U(r, e, n), U(t, 2 * e, 2 * n), U(t, 2 * e + 1, 2 * n + 1);
205
210
  }
206
- function U(n, t, e) {
207
- const r = n[t];
208
- n[t] = n[e], n[e] = r;
211
+ function U(r, t, e) {
212
+ const n = r[t];
213
+ r[t] = r[e], r[e] = n;
209
214
  }
210
- function k(n, t, e, r) {
211
- const i = n - e, o = t - r;
212
- return i * i + o * o;
215
+ function J(r, t, e, n) {
216
+ const o = r - e, i = t - n;
217
+ return o * o + i * i;
213
218
  }
214
- const dt = {
219
+ const gt = {
215
220
  minZoom: 0,
216
221
  // min zoom to generate clusters on
217
222
  maxZoom: 16,
@@ -232,23 +237,23 @@ const dt = {
232
237
  reduce: null,
233
238
  // (accumulated, props) => { accumulated.sum += props.sum; }
234
239
  // properties to use for individual points when running the reducer
235
- map: (n) => n
240
+ map: (r) => r
236
241
  // props => ({sum: props.my_value})
237
- }, J = Math.fround || /* @__PURE__ */ ((n) => (t) => (n[0] = +t, n[0]))(new Float32Array(1)), v = 2, E = 3, z = 4, A = 5, tt = 6;
238
- class gt {
242
+ }, K = Math.fround || /* @__PURE__ */ ((r) => (t) => (r[0] = +t, r[0]))(new Float32Array(1)), T = 2, E = 3, z = 4, A = 5, et = 6;
243
+ class mt {
239
244
  constructor(t) {
240
- this.options = Object.assign(Object.create(dt), t), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
245
+ this.options = Object.assign(Object.create(gt), t), this.trees = new Array(this.options.maxZoom + 1), this.stride = this.options.reduce ? 7 : 6, this.clusterProps = [];
241
246
  }
242
247
  load(t) {
243
- const { log: e, minZoom: r, maxZoom: i } = this.options;
248
+ const { log: e, minZoom: n, maxZoom: o } = this.options;
244
249
  e && console.time("total time");
245
- const o = `prepare ${t.length} points`;
246
- e && console.time(o), this.points = t;
250
+ const i = `prepare ${t.length} points`;
251
+ e && console.time(i), this.points = t;
247
252
  const a = [];
248
253
  for (let s = 0; s < t.length; s++) {
249
254
  const c = t[s];
250
255
  if (!c.geometry) continue;
251
- const [p, h] = c.geometry.coordinates, l = J(I(p)), f = J(B(h));
256
+ const [p, h] = c.geometry.coordinates, l = K(I(p)), f = K(B(h));
252
257
  a.push(
253
258
  l,
254
259
  f,
@@ -263,105 +268,105 @@ class gt {
263
268
  // number of points in a cluster
264
269
  ), this.options.reduce && a.push(0);
265
270
  }
266
- let u = this.trees[i + 1] = this._createTree(a);
267
- e && console.timeEnd(o);
268
- for (let s = i; s >= r; s--) {
271
+ let u = this.trees[o + 1] = this._createTree(a);
272
+ e && console.timeEnd(i);
273
+ for (let s = o; s >= n; s--) {
269
274
  const c = +Date.now();
270
275
  u = this.trees[s] = this._createTree(this._cluster(u, s)), e && console.log("z%d: %d clusters in %dms", s, u.numItems, +Date.now() - c);
271
276
  }
272
277
  return e && console.timeEnd("total time"), this;
273
278
  }
274
279
  getClusters(t, e) {
275
- let r = ((t[0] + 180) % 360 + 360) % 360 - 180;
276
- const i = Math.max(-90, Math.min(90, t[1]));
277
- let o = t[2] === 180 ? 180 : ((t[2] + 180) % 360 + 360) % 360 - 180;
280
+ let n = ((t[0] + 180) % 360 + 360) % 360 - 180;
281
+ const o = Math.max(-90, Math.min(90, t[1]));
282
+ let i = t[2] === 180 ? 180 : ((t[2] + 180) % 360 + 360) % 360 - 180;
278
283
  const a = Math.max(-90, Math.min(90, t[3]));
279
284
  if (t[2] - t[0] >= 360)
280
- r = -180, o = 180;
281
- else if (r > o) {
282
- const h = this.getClusters([r, i, 180, a], e), l = this.getClusters([-180, i, o, a], e);
285
+ n = -180, i = 180;
286
+ else if (n > i) {
287
+ const h = this.getClusters([n, o, 180, a], e), l = this.getClusters([-180, o, i, a], e);
283
288
  return h.concat(l);
284
289
  }
285
- const u = this.trees[this._limitZoom(e)], s = u.range(I(r), B(a), I(o), B(i)), c = u.data, p = [];
290
+ const u = this.trees[this._limitZoom(e)], s = u.range(I(n), B(a), I(i), B(o)), c = u.data, p = [];
286
291
  for (const h of s) {
287
292
  const l = this.stride * h;
288
- p.push(c[l + A] > 1 ? K(c, l, this.clusterProps) : this.points[c[l + E]]);
293
+ p.push(c[l + A] > 1 ? W(c, l, this.clusterProps) : this.points[c[l + E]]);
289
294
  }
290
295
  return p;
291
296
  }
292
297
  getChildren(t) {
293
- const e = this._getOriginId(t), r = this._getOriginZoom(t), i = "No cluster with the specified id.", o = this.trees[r];
294
- if (!o) throw new Error(i);
295
- const a = o.data;
296
- if (e * this.stride >= a.length) throw new Error(i);
297
- const u = this.options.radius / (this.options.extent * Math.pow(2, r - 1)), s = a[e * this.stride], c = a[e * this.stride + 1], p = o.within(s, c, u), h = [];
298
+ const e = this._getOriginId(t), n = this._getOriginZoom(t), o = "No cluster with the specified id.", i = this.trees[n];
299
+ if (!i) throw new Error(o);
300
+ const a = i.data;
301
+ if (e * this.stride >= a.length) throw new Error(o);
302
+ const u = this.options.radius / (this.options.extent * Math.pow(2, n - 1)), s = a[e * this.stride], c = a[e * this.stride + 1], p = i.within(s, c, u), h = [];
298
303
  for (const l of p) {
299
304
  const f = l * this.stride;
300
- a[f + z] === t && h.push(a[f + A] > 1 ? K(a, f, this.clusterProps) : this.points[a[f + E]]);
305
+ a[f + z] === t && h.push(a[f + A] > 1 ? W(a, f, this.clusterProps) : this.points[a[f + E]]);
301
306
  }
302
- if (h.length === 0) throw new Error(i);
307
+ if (h.length === 0) throw new Error(o);
303
308
  return h;
304
309
  }
305
- getLeaves(t, e, r) {
306
- e = e || 10, r = r || 0;
307
- const i = [];
308
- return this._appendLeaves(i, t, e, r, 0), i;
310
+ getLeaves(t, e, n) {
311
+ e = e || 10, n = n || 0;
312
+ const o = [];
313
+ return this._appendLeaves(o, t, e, n, 0), o;
309
314
  }
310
- getTile(t, e, r) {
311
- const i = this.trees[this._limitZoom(t)], o = Math.pow(2, t), { extent: a, radius: u } = this.options, s = u / a, c = (r - s) / o, p = (r + 1 + s) / o, h = {
315
+ getTile(t, e, n) {
316
+ const o = this.trees[this._limitZoom(t)], i = Math.pow(2, t), { extent: a, radius: u } = this.options, s = u / a, c = (n - s) / i, p = (n + 1 + s) / i, h = {
312
317
  features: []
313
318
  };
314
319
  return this._addTileFeatures(
315
- i.range((e - s) / o, c, (e + 1 + s) / o, p),
316
- i.data,
320
+ o.range((e - s) / i, c, (e + 1 + s) / i, p),
321
+ o.data,
317
322
  e,
318
- r,
319
- o,
323
+ n,
324
+ i,
320
325
  h
321
326
  ), e === 0 && this._addTileFeatures(
322
- i.range(1 - s / o, c, 1, p),
323
- i.data,
324
- o,
325
- r,
326
- o,
327
+ o.range(1 - s / i, c, 1, p),
328
+ o.data,
329
+ i,
330
+ n,
331
+ i,
327
332
  h
328
- ), e === o - 1 && this._addTileFeatures(
329
- i.range(0, c, s / o, p),
330
- i.data,
333
+ ), e === i - 1 && this._addTileFeatures(
334
+ o.range(0, c, s / i, p),
335
+ o.data,
331
336
  -1,
332
- r,
333
- o,
337
+ n,
338
+ i,
334
339
  h
335
340
  ), h.features.length ? h : null;
336
341
  }
337
342
  getClusterExpansionZoom(t) {
338
343
  let e = this._getOriginZoom(t) - 1;
339
344
  for (; e <= this.options.maxZoom; ) {
340
- const r = this.getChildren(t);
341
- if (e++, r.length !== 1) break;
342
- t = r[0].properties.cluster_id;
345
+ const n = this.getChildren(t);
346
+ if (e++, n.length !== 1) break;
347
+ t = n[0].properties.cluster_id;
343
348
  }
344
349
  return e;
345
350
  }
346
- _appendLeaves(t, e, r, i, o) {
351
+ _appendLeaves(t, e, n, o, i) {
347
352
  const a = this.getChildren(e);
348
353
  for (const u of a) {
349
354
  const s = u.properties;
350
- if (s && s.cluster ? o + s.point_count <= i ? o += s.point_count : o = this._appendLeaves(t, s.cluster_id, r, i, o) : o < i ? o++ : t.push(u), t.length === r) break;
355
+ if (s && s.cluster ? i + s.point_count <= o ? i += s.point_count : i = this._appendLeaves(t, s.cluster_id, n, o, i) : i < o ? i++ : t.push(u), t.length === n) break;
351
356
  }
352
- return o;
357
+ return i;
353
358
  }
354
359
  _createTree(t) {
355
360
  const e = new D(t.length / this.stride | 0, this.options.nodeSize, Float32Array);
356
- for (let r = 0; r < t.length; r += this.stride) e.add(t[r], t[r + 1]);
361
+ for (let n = 0; n < t.length; n += this.stride) e.add(t[n], t[n + 1]);
357
362
  return e.finish(), e.data = t, e;
358
363
  }
359
- _addTileFeatures(t, e, r, i, o, a) {
364
+ _addTileFeatures(t, e, n, o, i, a) {
360
365
  for (const u of t) {
361
366
  const s = u * this.stride, c = e[s + A] > 1;
362
367
  let p, h, l;
363
368
  if (c)
364
- p = et(e, s, this.clusterProps), h = e[s], l = e[s + 1];
369
+ p = nt(e, s, this.clusterProps), h = e[s], l = e[s + 1];
365
370
  else {
366
371
  const m = this.points[e[s + E]];
367
372
  p = m.properties;
@@ -371,8 +376,8 @@ class gt {
371
376
  const f = {
372
377
  type: 1,
373
378
  geometry: [[
374
- Math.round(this.options.extent * (h * o - r)),
375
- Math.round(this.options.extent * (l * o - i))
379
+ Math.round(this.options.extent * (h * i - n)),
380
+ Math.round(this.options.extent * (l * i - o))
376
381
  ]],
377
382
  tags: p
378
383
  };
@@ -384,34 +389,34 @@ class gt {
384
389
  return Math.max(this.options.minZoom, Math.min(Math.floor(+t), this.options.maxZoom + 1));
385
390
  }
386
391
  _cluster(t, e) {
387
- const { radius: r, extent: i, reduce: o, minPoints: a } = this.options, u = r / (i * Math.pow(2, e)), s = t.data, c = [], p = this.stride;
392
+ const { radius: n, extent: o, reduce: i, minPoints: a } = this.options, u = n / (o * Math.pow(2, e)), s = t.data, c = [], p = this.stride;
388
393
  for (let h = 0; h < s.length; h += p) {
389
- if (s[h + v] <= e) continue;
390
- s[h + v] = e;
394
+ if (s[h + T] <= e) continue;
395
+ s[h + T] = e;
391
396
  const l = s[h], f = s[h + 1], g = t.within(s[h], s[h + 1], u), m = s[h + A];
392
397
  let d = m;
393
398
  for (const y of g) {
394
399
  const M = y * p;
395
- s[M + v] > e && (d += s[M + A]);
400
+ s[M + T] > e && (d += s[M + A]);
396
401
  }
397
402
  if (d > m && d >= a) {
398
403
  let y = l * m, M = f * m, _, N = -1;
399
404
  const Z = ((h / p | 0) << 5) + (e + 1) + this.points.length;
400
405
  for (const rt of g) {
401
406
  const b = rt * p;
402
- if (s[b + v] <= e) continue;
403
- s[b + v] = e;
407
+ if (s[b + T] <= e) continue;
408
+ s[b + T] = e;
404
409
  const $ = s[b + A];
405
- y += s[b] * $, M += s[b + 1] * $, s[b + z] = Z, o && (_ || (_ = this._map(s, h, !0), N = this.clusterProps.length, this.clusterProps.push(_)), o(_, this._map(s, b)));
410
+ y += s[b] * $, M += s[b + 1] * $, s[b + z] = Z, i && (_ || (_ = this._map(s, h, !0), N = this.clusterProps.length, this.clusterProps.push(_)), i(_, this._map(s, b)));
406
411
  }
407
- s[h + z] = Z, c.push(y / d, M / d, 1 / 0, Z, -1, d), o && c.push(N);
412
+ s[h + z] = Z, c.push(y / d, M / d, 1 / 0, Z, -1, d), i && c.push(N);
408
413
  } else {
409
414
  for (let y = 0; y < p; y++) c.push(s[h + y]);
410
415
  if (d > 1)
411
416
  for (const y of g) {
412
417
  const M = y * p;
413
- if (!(s[M + v] <= e)) {
414
- s[M + v] = e;
418
+ if (!(s[M + T] <= e)) {
419
+ s[M + T] = e;
415
420
  for (let _ = 0; _ < p; _++) c.push(s[M + _]);
416
421
  }
417
422
  }
@@ -427,120 +432,120 @@ class gt {
427
432
  _getOriginZoom(t) {
428
433
  return (t - this.points.length) % 32;
429
434
  }
430
- _map(t, e, r) {
435
+ _map(t, e, n) {
431
436
  if (t[e + A] > 1) {
432
- const a = this.clusterProps[t[e + tt]];
433
- return r ? Object.assign({}, a) : a;
437
+ const a = this.clusterProps[t[e + et]];
438
+ return n ? Object.assign({}, a) : a;
434
439
  }
435
- const i = this.points[t[e + E]].properties, o = this.options.map(i);
436
- return r && o === i ? Object.assign({}, o) : o;
440
+ const o = this.points[t[e + E]].properties, i = this.options.map(o);
441
+ return n && i === o ? Object.assign({}, i) : i;
437
442
  }
438
443
  }
439
- function K(n, t, e) {
444
+ function W(r, t, e) {
440
445
  return {
441
446
  type: "Feature",
442
- id: n[t + E],
443
- properties: et(n, t, e),
447
+ id: r[t + E],
448
+ properties: nt(r, t, e),
444
449
  geometry: {
445
450
  type: "Point",
446
- coordinates: [mt(n[t]), yt(n[t + 1])]
451
+ coordinates: [yt(r[t]), wt(r[t + 1])]
447
452
  }
448
453
  };
449
454
  }
450
- function et(n, t, e) {
451
- const r = n[t + A], i = r >= 1e4 ? `${Math.round(r / 1e3)}k` : r >= 1e3 ? `${Math.round(r / 100) / 10}k` : r, o = n[t + tt], a = o === -1 ? {} : Object.assign({}, e[o]);
455
+ function nt(r, t, e) {
456
+ const n = r[t + A], o = n >= 1e4 ? `${Math.round(n / 1e3)}k` : n >= 1e3 ? `${Math.round(n / 100) / 10}k` : n, i = r[t + et], a = i === -1 ? {} : Object.assign({}, e[i]);
452
457
  return Object.assign(a, {
453
458
  cluster: !0,
454
- cluster_id: n[t + E],
455
- point_count: r,
456
- point_count_abbreviated: i
459
+ cluster_id: r[t + E],
460
+ point_count: n,
461
+ point_count_abbreviated: o
457
462
  });
458
463
  }
459
- function I(n) {
460
- return n / 360 + 0.5;
464
+ function I(r) {
465
+ return r / 360 + 0.5;
461
466
  }
462
- function B(n) {
463
- const t = Math.sin(n * Math.PI / 180), e = 0.5 - 0.25 * Math.log((1 + t) / (1 - t)) / Math.PI;
467
+ function B(r) {
468
+ const t = Math.sin(r * Math.PI / 180), e = 0.5 - 0.25 * Math.log((1 + t) / (1 - t)) / Math.PI;
464
469
  return e < 0 ? 0 : e > 1 ? 1 : e;
465
470
  }
466
- function mt(n) {
467
- return (n - 0.5) * 360;
471
+ function yt(r) {
472
+ return (r - 0.5) * 360;
468
473
  }
469
- function yt(n) {
470
- const t = (180 - n * 360) * Math.PI / 180;
474
+ function wt(r) {
475
+ const t = (180 - r * 360) * Math.PI / 180;
471
476
  return 360 * Math.atan(Math.exp(t)) / Math.PI - 90;
472
477
  }
473
- var W = Object.prototype.hasOwnProperty;
474
- function Y(n, t, e) {
475
- for (e of n.keys())
476
- if (T(e, t)) return e;
478
+ var Y = Object.prototype.hasOwnProperty;
479
+ function q(r, t, e) {
480
+ for (e of r.keys())
481
+ if (v(e, t)) return e;
477
482
  }
478
- function T(n, t) {
479
- var e, r, i;
480
- if (n === t) return !0;
481
- if (n && t && (e = n.constructor) === t.constructor) {
482
- if (e === Date) return n.getTime() === t.getTime();
483
- if (e === RegExp) return n.toString() === t.toString();
483
+ function v(r, t) {
484
+ var e, n, o;
485
+ if (r === t) return !0;
486
+ if (r && t && (e = r.constructor) === t.constructor) {
487
+ if (e === Date) return r.getTime() === t.getTime();
488
+ if (e === RegExp) return r.toString() === t.toString();
484
489
  if (e === Array) {
485
- if ((r = n.length) === t.length)
486
- for (; r-- && T(n[r], t[r]); ) ;
487
- return r === -1;
490
+ if ((n = r.length) === t.length)
491
+ for (; n-- && v(r[n], t[n]); ) ;
492
+ return n === -1;
488
493
  }
489
494
  if (e === Set) {
490
- if (n.size !== t.size)
495
+ if (r.size !== t.size)
491
496
  return !1;
492
- for (r of n)
493
- if (i = r, i && typeof i == "object" && (i = Y(t, i), !i) || !t.has(i)) return !1;
497
+ for (n of r)
498
+ if (o = n, o && typeof o == "object" && (o = q(t, o), !o) || !t.has(o)) return !1;
494
499
  return !0;
495
500
  }
496
501
  if (e === Map) {
497
- if (n.size !== t.size)
502
+ if (r.size !== t.size)
498
503
  return !1;
499
- for (r of n)
500
- if (i = r[0], i && typeof i == "object" && (i = Y(t, i), !i) || !T(r[1], t.get(i)))
504
+ for (n of r)
505
+ if (o = n[0], o && typeof o == "object" && (o = q(t, o), !o) || !v(n[1], t.get(o)))
501
506
  return !1;
502
507
  return !0;
503
508
  }
504
509
  if (e === ArrayBuffer)
505
- n = new Uint8Array(n), t = new Uint8Array(t);
510
+ r = new Uint8Array(r), t = new Uint8Array(t);
506
511
  else if (e === DataView) {
507
- if ((r = n.byteLength) === t.byteLength)
508
- for (; r-- && n.getInt8(r) === t.getInt8(r); ) ;
509
- return r === -1;
512
+ if ((n = r.byteLength) === t.byteLength)
513
+ for (; n-- && r.getInt8(n) === t.getInt8(n); ) ;
514
+ return n === -1;
510
515
  }
511
- if (ArrayBuffer.isView(n)) {
512
- if ((r = n.byteLength) === t.byteLength)
513
- for (; r-- && n[r] === t[r]; ) ;
514
- return r === -1;
516
+ if (ArrayBuffer.isView(r)) {
517
+ if ((n = r.byteLength) === t.byteLength)
518
+ for (; n-- && r[n] === t[n]; ) ;
519
+ return n === -1;
515
520
  }
516
- if (!e || typeof n == "object") {
517
- r = 0;
518
- for (e in n)
519
- if (W.call(n, e) && ++r && !W.call(t, e) || !(e in t) || !T(n[e], t[e])) return !1;
520
- return Object.keys(t).length === r;
521
+ if (!e || typeof r == "object") {
522
+ n = 0;
523
+ for (e in r)
524
+ if (Y.call(r, e) && ++n && !Y.call(t, e) || !(e in t) || !v(r[e], t[e])) return !1;
525
+ return Object.keys(t).length === n;
521
526
  }
522
527
  }
523
- return n !== n && t !== t;
528
+ return r !== r && t !== t;
524
529
  }
525
- function wt(n) {
526
- var t = F.useRef(n), e = F.useRef(0);
527
- return T(n, t.current) || (t.current = n, e.current += 1), F.useMemo(function() {
530
+ function Mt(r) {
531
+ var t = F.useRef(r), e = F.useRef(0);
532
+ return v(r, t.current) || (t.current = r, e.current += 1), F.useMemo(function() {
528
533
  return t.current;
529
534
  }, [e.current]);
530
535
  }
531
- function Mt(n, t) {
532
- return F.useEffect(n, wt(t));
536
+ function xt(r, t) {
537
+ return F.useEffect(r, Mt(t));
533
538
  }
534
- var xt = function(t) {
535
- var e = t.points, r = t.bounds, i = t.zoom, o = t.options, a = t.disableRefresh, u = G(), s = G(), c = Q([]), p = c[0], h = c[1], l = Math.round(i);
536
- return Mt(function() {
537
- a !== !0 && ((!u.current || !T(s.current, e) || !T(u.current.options, o)) && (u.current = new gt(o), u.current.load(e)), r && h(u.current.getClusters(r, l)), s.current = e);
538
- }, [e, r, l, o, a]), {
539
+ var _t = function(t) {
540
+ var e = t.points, n = t.bounds, o = t.zoom, i = t.options, a = t.disableRefresh, u = G(), s = G(), c = Q([]), p = c[0], h = c[1], l = Math.round(o);
541
+ return xt(function() {
542
+ a !== !0 && ((!u.current || !v(s.current, e) || !v(u.current.options, i)) && (u.current = new mt(i), u.current.load(e)), n && h(u.current.getClusters(n, l)), s.current = e);
543
+ }, [e, n, l, i, a]), {
539
544
  clusters: p,
540
545
  supercluster: u.current
541
546
  };
542
547
  };
543
- const Ut = `
548
+ const zt = `
544
549
  cursor-pointer
545
550
  relative
546
551
  h-7
@@ -550,7 +555,7 @@ const Ut = `
550
555
  transition-transform
551
556
 
552
557
  data-[is-cluster=true]:w-auto
553
- `, _t = `
558
+ `, At = `
554
559
  cursor-pointer
555
560
  fill-primary-100
556
561
  stroke-1
@@ -559,23 +564,23 @@ const Ut = `
559
564
  transition-transform
560
565
  group-hover:stroke-base-white
561
566
  group-focus:stroke-base-white
562
- `, zt = `
567
+ `, jt = `
563
568
  absolute top-1 left-1/2 transform -translate-x-1/2
564
569
  flex justify-center items-center rounded-full overflow-hidden
565
570
  transition-all w-3.5 h-3.5
566
571
 
567
572
  group-hover:bg-base-white
568
- `, jt = `
573
+ `, Dt = `
569
574
  m-auto transition-all w-full h-full
570
575
  max-w-3.5 max-h-3.5
571
576
 
572
577
  group-hover:text-primary-100
573
578
  group-hover:max-w-2.5
574
579
  group-hover:max-h-2.5
575
- `, At = w(() => import("./index-DHw9gU4K.js")), Et = w(() => import("./index-BHjgd5HB.js")), bt = w(() => import("./index-BbrOUWDy.js")), vt = ({ markers: n, onClick: t, ...e }) => {
576
- const { mapProvider: r, bounds: i } = R(), { clusters: o, supercluster: a } = xt({
577
- points: n.map((c) => ft([c.longitude, c.latitude], c)),
578
- bounds: i,
580
+ `, Et = w(() => import("./index-92HhWupr.js")), bt = w(() => import("./index-ChwN5abO.js")), Tt = w(() => import("./index-D5-2anzJ.js")), vt = ({ markers: r, onClick: t, ...e }) => {
581
+ const { mapProvider: n, bounds: o } = R(), { clusters: i, supercluster: a } = _t({
582
+ points: r.map((c) => dt([c.longitude, c.latitude], c)),
583
+ bounds: o,
579
584
  zoom: 16,
580
585
  options: { radius: 50, maxZoom: 30 }
581
586
  }), u = (c) => {
@@ -598,73 +603,74 @@ const Ut = `
598
603
  markers: [c.properties]
599
604
  });
600
605
  }, s = L(() => {
601
- switch (r == null ? void 0 : r.name) {
606
+ switch (n == null ? void 0 : n.name) {
602
607
  case "maptiler":
603
- return At;
604
- case "google":
605
608
  return Et;
606
- case "mapbox":
609
+ case "google":
607
610
  return bt;
611
+ case "mapbox":
612
+ return Tt;
608
613
  default:
609
614
  return null;
610
615
  }
611
- }, [r]);
612
- return s ? /* @__PURE__ */ x(nt, { children: /* @__PURE__ */ x(s, { clusters: o, onClick: u, ...e, children: /* @__PURE__ */ x("svg", { viewBox: "0 0 20 28", fill: "none", className: _t, children: /* @__PURE__ */ x(
616
+ }, [n]);
617
+ return s ? /* @__PURE__ */ x(st, { children: /* @__PURE__ */ x(s, { clusters: i, onClick: u, ...e, children: /* @__PURE__ */ x("svg", { viewBox: "0 0 20 28", fill: "none", className: At, children: /* @__PURE__ */ x(
613
618
  "path",
614
619
  {
615
620
  d: "M20 10C20 15.5228 12 27.5 10 27.5C8 27.5 0 15.5228 0 10C0 4.47715 4.47715 0 10 0C15.5228 0 20 4.47715 20 10Z",
616
621
  fill: "inherit"
617
622
  }
618
623
  ) }) }) }) : null;
619
- }, Tt = w(() => import("./index-J1MKzGEM.js")), Pt = w(() => import("./index-BZ2605rA.js")), Ot = w(() => import("./index-B43MtiHH.js"));
620
- function St({ children: n, ...t }) {
621
- const { mapProvider: e } = R(), r = L(() => {
624
+ }, Ot = w(() => import("./index-J1MKzGEM.js")), Pt = w(() => import("./index-BZ2605rA.js")), St = w(() => import("./index-B43MtiHH.js"));
625
+ function It({ children: r, ...t }) {
626
+ const { mapProvider: e } = R(), n = L(() => {
622
627
  switch (e == null ? void 0 : e.name) {
623
628
  case "maptiler":
624
- return Tt;
629
+ return Ot;
625
630
  case "google":
626
631
  return Pt;
627
632
  case "mapbox":
628
- return Ot;
633
+ return St;
629
634
  default:
630
635
  return null;
631
636
  }
632
637
  }, [e]);
633
- return r ? /* @__PURE__ */ x(r, { ...t, children: n }) : null;
638
+ return n ? /* @__PURE__ */ x(n, { ...t, children: r }) : null;
634
639
  }
635
- const It = w(() => import("./index-CTk5bvm9.js")), Bt = w(() => import("./index-CPq7k7F4.js")), Ft = w(() => import("./index-DVitM43i.js"));
636
- function Lt(n) {
640
+ const Bt = w(() => import("./index-CTk5bvm9.js")), Ft = w(() => import("./index-CPq7k7F4.js")), Lt = w(() => import("./index-DVitM43i.js"));
641
+ function Rt(r) {
637
642
  const { mapProvider: t } = R(), e = L(() => {
638
643
  switch (t == null ? void 0 : t.name) {
639
644
  case "maptiler":
640
- return It;
641
- case "google":
642
645
  return Bt;
643
- case "mapbox":
646
+ case "google":
644
647
  return Ft;
648
+ case "mapbox":
649
+ return Lt;
645
650
  default:
646
651
  return null;
647
652
  }
648
653
  }, [t]);
649
- return e ? /* @__PURE__ */ x(e, { ...n }) : null;
654
+ return e ? /* @__PURE__ */ x(e, { ...r }) : null;
650
655
  }
651
- function Rt(n) {
656
+ function Zt(r) {
652
657
  const [t, e] = Q();
653
- return /* @__PURE__ */ x(q.Provider, { value: { ...n, bounds: t, setBounds: e }, children: n.children });
658
+ return /* @__PURE__ */ x(X.Provider, { value: { ...r, bounds: t, setBounds: e }, children: r.children });
654
659
  }
655
- const Dt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
660
+ const Nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
656
661
  __proto__: null,
657
- BaseMap: pt,
658
- Layers: Lt,
662
+ BaseMap: lt,
663
+ Layers: Rt,
659
664
  Markers: vt,
660
- Popup: St,
661
- Root: Rt
665
+ Popup: It,
666
+ Root: Zt
662
667
  }, Symbol.toStringTag, { value: "Module" }));
663
668
  export {
664
- jt as a,
669
+ V as a,
665
670
  Dt as b,
666
- Ut as c,
671
+ zt as c,
667
672
  S as d,
668
- zt as i,
673
+ Nt as e,
674
+ jt as i,
669
675
  R as u
670
676
  };