@maptiler/geocoding-control 1.4.2-dev.1 → 1.4.2-dev.3

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.
package/maplibregl.js CHANGED
@@ -1,30 +1,30 @@
1
- var nn = Object.defineProperty;
2
- var Ft = (n) => {
1
+ var rn = Object.defineProperty;
2
+ var jt = (n) => {
3
3
  throw TypeError(n);
4
4
  };
5
- var rn = (n, e, t) => e in n ? nn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
6
- var wt = (n, e, t) => rn(n, typeof e != "symbol" ? e + "" : e, t), qt = (n, e, t) => e.has(n) || Ft("Cannot " + t);
7
- var re = (n, e, t) => (qt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), _t = (n, e, t) => e.has(n) ? Ft("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), et = (n, e, t, i) => (qt(n, e, "write to private field"), i ? i.call(n, t) : e.set(n, t), t);
8
- import * as on from "maplibre-gl";
5
+ var on = (n, e, t) => e in n ? rn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
6
+ var _t = (n, e, t) => on(n, typeof e != "symbol" ? e + "" : e, t), Zt = (n, e, t) => e.has(n) || jt("Cannot " + t);
7
+ var ne = (n, e, t) => (Zt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Et = (n, e, t) => e.has(n) ? jt("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), et = (n, e, t, i) => (Zt(n, e, "write to private field"), i ? i.call(n, t) : e.set(n, t), t);
8
+ import * as sn from "maplibre-gl";
9
9
  function A() {
10
10
  }
11
- function sn(n, e) {
11
+ function ln(n, e) {
12
12
  for (const t in e) n[t] = e[t];
13
13
  return (
14
14
  /** @type {T & S} */
15
15
  n
16
16
  );
17
17
  }
18
- function Li(n) {
18
+ function xi(n) {
19
19
  return n();
20
20
  }
21
- function jt() {
21
+ function Gt() {
22
22
  return /* @__PURE__ */ Object.create(null);
23
23
  }
24
24
  function me(n) {
25
- n.forEach(Li);
25
+ n.forEach(xi);
26
26
  }
27
- function xi(n) {
27
+ function Si(n) {
28
28
  return typeof n == "function";
29
29
  }
30
30
  function Le(n, e) {
@@ -34,19 +34,19 @@ let tt;
34
34
  function K(n, e) {
35
35
  return n === e ? !0 : (tt || (tt = document.createElement("a")), tt.href = e, n === tt.href);
36
36
  }
37
- function ln(n) {
37
+ function un(n) {
38
38
  return Object.keys(n).length === 0;
39
39
  }
40
- function un(n, e, t, i) {
40
+ function an(n, e, t, i) {
41
41
  if (n) {
42
- const r = Si(n, e, t, i);
42
+ const r = Mi(n, e, t, i);
43
43
  return n[0](r);
44
44
  }
45
45
  }
46
- function Si(n, e, t, i) {
47
- return n[1] && i ? sn(t.ctx.slice(), n[1](i(e))) : t.ctx;
46
+ function Mi(n, e, t, i) {
47
+ return n[1] && i ? ln(t.ctx.slice(), n[1](i(e))) : t.ctx;
48
48
  }
49
- function an(n, e, t, i) {
49
+ function cn(n, e, t, i) {
50
50
  if (n[2] && i) {
51
51
  const r = n[2](i(t));
52
52
  if (e.dirty === void 0)
@@ -61,13 +61,13 @@ function an(n, e, t, i) {
61
61
  }
62
62
  return e.dirty;
63
63
  }
64
- function cn(n, e, t, i, r, o) {
64
+ function fn(n, e, t, i, r, o) {
65
65
  if (r) {
66
- const l = Si(e, t, i, o);
66
+ const l = Mi(e, t, i, o);
67
67
  n.p(l, r);
68
68
  }
69
69
  }
70
- function fn(n) {
70
+ function dn(n) {
71
71
  if (n.ctx.length > 32) {
72
72
  const e = [], t = n.ctx.length / 32;
73
73
  for (let i = 0; i < t; i++)
@@ -76,7 +76,7 @@ function fn(n) {
76
76
  }
77
77
  return -1;
78
78
  }
79
- function Zt(n) {
79
+ function qt(n) {
80
80
  return n ?? "";
81
81
  }
82
82
  function T(n, e) {
@@ -100,53 +100,53 @@ function we(n) {
100
100
  function ie() {
101
101
  return we(" ");
102
102
  }
103
- function dn() {
103
+ function hn() {
104
104
  return we("");
105
105
  }
106
106
  function J(n, e, t, i) {
107
107
  return n.addEventListener(e, t, i), () => n.removeEventListener(e, t, i);
108
108
  }
109
- function hn(n) {
109
+ function gn(n) {
110
110
  return function(e) {
111
111
  return e.preventDefault(), n.call(this, e);
112
112
  };
113
113
  }
114
- function v(n, e, t) {
114
+ function p(n, e, t) {
115
115
  t == null ? n.removeAttribute(e) : n.getAttribute(e) !== t && n.setAttribute(e, t);
116
116
  }
117
- function gn(n) {
117
+ function mn(n) {
118
118
  return Array.from(n.childNodes);
119
119
  }
120
- function qe(n, e) {
120
+ function je(n, e) {
121
121
  e = "" + e, n.data !== e && (n.data = /** @type {string} */
122
122
  e);
123
123
  }
124
- function Gt(n, e) {
124
+ function Qt(n, e) {
125
125
  n.value = e ?? "";
126
126
  }
127
- function se(n, e, t) {
127
+ function oe(n, e, t) {
128
128
  n.classList.toggle(e, !!t);
129
129
  }
130
- function mn(n, e, { bubbles: t = !1, cancelable: i = !1 } = {}) {
130
+ function vn(n, e, { bubbles: t = !1, cancelable: i = !1 } = {}) {
131
131
  return new CustomEvent(n, { detail: e, bubbles: t, cancelable: i });
132
132
  }
133
- let je;
133
+ let Ze;
134
134
  function Fe(n) {
135
- je = n;
135
+ Ze = n;
136
136
  }
137
- function Mi() {
138
- if (!je) throw new Error("Function called outside component initialization");
139
- return je;
137
+ function ki() {
138
+ if (!Ze) throw new Error("Function called outside component initialization");
139
+ return Ze;
140
140
  }
141
141
  function pn(n) {
142
- Mi().$$.on_destroy.push(n);
142
+ ki().$$.on_destroy.push(n);
143
143
  }
144
- function vn() {
145
- const n = Mi();
144
+ function bn() {
145
+ const n = ki();
146
146
  return (e, t, { cancelable: i = !1 } = {}) => {
147
147
  const r = n.$$.callbacks[e];
148
148
  if (r) {
149
- const o = mn(
149
+ const o = vn(
150
150
  /** @type {string} */
151
151
  e,
152
152
  t,
@@ -159,54 +159,54 @@ function vn() {
159
159
  return !0;
160
160
  };
161
161
  }
162
- function Qt(n, e) {
162
+ function Ht(n, e) {
163
163
  const t = n.$$.callbacks[e.type];
164
164
  t && t.slice().forEach((i) => i.call(this, e));
165
165
  }
166
- const We = [], St = [];
166
+ const We = [], Mt = [];
167
167
  let Ae = [];
168
- const Ht = [], bn = /* @__PURE__ */ Promise.resolve();
169
- let Mt = !1;
170
- function yn() {
171
- Mt || (Mt = !0, bn.then(ki));
168
+ const Vt = [], yn = /* @__PURE__ */ Promise.resolve();
169
+ let kt = !1;
170
+ function wn() {
171
+ kt || (kt = !0, yn.then(Ci));
172
172
  }
173
- function kt(n) {
173
+ function Ct(n) {
174
174
  Ae.push(n);
175
175
  }
176
- const Et = /* @__PURE__ */ new Set();
176
+ const Lt = /* @__PURE__ */ new Set();
177
177
  let Ie = 0;
178
- function ki() {
178
+ function Ci() {
179
179
  if (Ie !== 0)
180
180
  return;
181
- const n = je;
181
+ const n = Ze;
182
182
  do {
183
183
  try {
184
184
  for (; Ie < We.length; ) {
185
185
  const e = We[Ie];
186
- Ie++, Fe(e), wn(e.$$);
186
+ Ie++, Fe(e), _n(e.$$);
187
187
  }
188
188
  } catch (e) {
189
189
  throw We.length = 0, Ie = 0, e;
190
190
  }
191
- for (Fe(null), We.length = 0, Ie = 0; St.length; ) St.pop()();
191
+ for (Fe(null), We.length = 0, Ie = 0; Mt.length; ) Mt.pop()();
192
192
  for (let e = 0; e < Ae.length; e += 1) {
193
193
  const t = Ae[e];
194
- Et.has(t) || (Et.add(t), t());
194
+ Lt.has(t) || (Lt.add(t), t());
195
195
  }
196
196
  Ae.length = 0;
197
197
  } while (We.length);
198
- for (; Ht.length; )
199
- Ht.pop()();
200
- Mt = !1, Et.clear(), Fe(n);
198
+ for (; Vt.length; )
199
+ Vt.pop()();
200
+ kt = !1, Lt.clear(), Fe(n);
201
201
  }
202
- function wn(n) {
202
+ function _n(n) {
203
203
  if (n.fragment !== null) {
204
204
  n.update(), me(n.before_update);
205
205
  const e = n.dirty;
206
- n.dirty = [-1], n.fragment && n.fragment.p(n.ctx, e), n.after_update.forEach(kt);
206
+ n.dirty = [-1], n.fragment && n.fragment.p(n.ctx, e), n.after_update.forEach(Ct);
207
207
  }
208
208
  }
209
- function _n(n) {
209
+ function En(n) {
210
210
  const e = [], t = [];
211
211
  Ae.forEach((i) => n.indexOf(i) === -1 ? e.push(i) : t.push(i)), t.forEach((i) => i()), Ae = e;
212
212
  }
@@ -223,7 +223,7 @@ function nt() {
223
223
  function rt() {
224
224
  Ce.r || me(Ce.c), Ce = Ce.p;
225
225
  }
226
- function Z(n, e) {
226
+ function G(n, e) {
227
227
  n && n.i && (it.delete(n), n.i(e));
228
228
  }
229
229
  function V(n, e, t, i) {
@@ -234,58 +234,58 @@ function V(n, e, t, i) {
234
234
  }), n.o(e);
235
235
  } else i && i();
236
236
  }
237
- function Vt(n) {
237
+ function Yt(n) {
238
238
  return (n == null ? void 0 : n.length) !== void 0 ? n : Array.from(n);
239
239
  }
240
- function En(n, e) {
240
+ function Ln(n, e) {
241
241
  V(n, 1, 1, () => {
242
242
  e.delete(n.key);
243
243
  });
244
244
  }
245
- function Ln(n, e, t, i, r, o, l, s, c, u, d, a) {
245
+ function xn(n, e, t, i, r, o, l, s, c, u, d, a) {
246
246
  let f = n.length, h = o.length, b = f;
247
247
  const y = {};
248
248
  for (; b--; ) y[n[b].key] = b;
249
- const p = [], m = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), S = [];
249
+ const v = [], m = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), S = [];
250
250
  for (b = h; b--; ) {
251
251
  const L = a(r, o, b), w = t(L);
252
252
  let C = l.get(w);
253
- C ? S.push(() => C.p(L, e)) : (C = u(w, L), C.c()), m.set(w, p[b] = C), w in y && E.set(w, Math.abs(b - y[w]));
253
+ C ? S.push(() => C.p(L, e)) : (C = u(w, L), C.c()), m.set(w, v[b] = C), w in y && E.set(w, Math.abs(b - y[w]));
254
254
  }
255
255
  const _ = /* @__PURE__ */ new Set(), k = /* @__PURE__ */ new Set();
256
256
  function x(L) {
257
- Z(L, 1), L.m(s, d), l.set(L.key, L), d = L.first, h--;
257
+ G(L, 1), L.m(s, d), l.set(L.key, L), d = L.first, h--;
258
258
  }
259
259
  for (; f && h; ) {
260
- const L = p[h - 1], w = n[f - 1], C = L.key, I = w.key;
260
+ const L = v[h - 1], w = n[f - 1], C = L.key, I = w.key;
261
261
  L === w ? (d = L.first, f--, h--) : m.has(I) ? !l.has(C) || _.has(C) ? x(L) : k.has(I) ? f-- : E.get(C) > E.get(I) ? (k.add(C), x(L)) : (_.add(I), f--) : (c(w, l), f--);
262
262
  }
263
263
  for (; f--; ) {
264
264
  const L = n[f];
265
265
  m.has(L.key) || c(L, l);
266
266
  }
267
- for (; h; ) x(p[h - 1]);
268
- return me(S), p;
267
+ for (; h; ) x(v[h - 1]);
268
+ return me(S), v;
269
269
  }
270
270
  function _e(n) {
271
271
  n && n.c();
272
272
  }
273
273
  function he(n, e, t) {
274
274
  const { fragment: i, after_update: r } = n.$$;
275
- i && i.m(e, t), kt(() => {
276
- const o = n.$$.on_mount.map(Li).filter(xi);
275
+ i && i.m(e, t), Ct(() => {
276
+ const o = n.$$.on_mount.map(xi).filter(Si);
277
277
  n.$$.on_destroy ? n.$$.on_destroy.push(...o) : me(o), n.$$.on_mount = [];
278
- }), r.forEach(kt);
278
+ }), r.forEach(Ct);
279
279
  }
280
280
  function ge(n, e) {
281
281
  const t = n.$$;
282
- t.fragment !== null && (_n(t.after_update), me(t.on_destroy), t.fragment && t.fragment.d(e), t.on_destroy = t.fragment = null, t.ctx = []);
282
+ t.fragment !== null && (En(t.after_update), me(t.on_destroy), t.fragment && t.fragment.d(e), t.on_destroy = t.fragment = null, t.ctx = []);
283
283
  }
284
- function xn(n, e) {
285
- n.$$.dirty[0] === -1 && (We.push(n), yn(), n.$$.dirty.fill(0)), n.$$.dirty[e / 31 | 0] |= 1 << e % 31;
284
+ function Sn(n, e) {
285
+ n.$$.dirty[0] === -1 && (We.push(n), wn(), n.$$.dirty.fill(0)), n.$$.dirty[e / 31 | 0] |= 1 << e % 31;
286
286
  }
287
287
  function xe(n, e, t, i, r, o, l = null, s = [-1]) {
288
- const c = je;
288
+ const c = Ze;
289
289
  Fe(n);
290
290
  const u = n.$$ = {
291
291
  fragment: null,
@@ -294,7 +294,7 @@ function xe(n, e, t, i, r, o, l = null, s = [-1]) {
294
294
  props: o,
295
295
  update: A,
296
296
  not_equal: r,
297
- bound: jt(),
297
+ bound: Gt(),
298
298
  // lifecycle
299
299
  on_mount: [],
300
300
  on_destroy: [],
@@ -303,7 +303,7 @@ function xe(n, e, t, i, r, o, l = null, s = [-1]) {
303
303
  after_update: [],
304
304
  context: new Map(e.context || (c ? c.$$.context : [])),
305
305
  // everything else
306
- callbacks: jt(),
306
+ callbacks: Gt(),
307
307
  dirty: s,
308
308
  skip_bound: !1,
309
309
  root: e.target || c.$$.root
@@ -312,14 +312,14 @@ function xe(n, e, t, i, r, o, l = null, s = [-1]) {
312
312
  let d = !1;
313
313
  if (u.ctx = t ? t(n, e.props || {}, (a, f, ...h) => {
314
314
  const b = h.length ? h[0] : f;
315
- return u.ctx && r(u.ctx[a], u.ctx[a] = b) && (!u.skip_bound && u.bound[a] && u.bound[a](b), d && xn(n, a)), f;
315
+ return u.ctx && r(u.ctx[a], u.ctx[a] = b) && (!u.skip_bound && u.bound[a] && u.bound[a](b), d && Sn(n, a)), f;
316
316
  }) : [], u.update(), d = !0, me(u.before_update), u.fragment = i ? i(u.ctx) : !1, e.target) {
317
317
  if (e.hydrate) {
318
- const a = gn(e.target);
318
+ const a = mn(e.target);
319
319
  u.fragment && u.fragment.l(a), a.forEach(B);
320
320
  } else
321
321
  u.fragment && u.fragment.c();
322
- e.intro && Z(n.$$.fragment), he(n, e.target, e.anchor), ki();
322
+ e.intro && G(n.$$.fragment), he(n, e.target, e.anchor), Ci();
323
323
  }
324
324
  Fe(c);
325
325
  }
@@ -332,7 +332,7 @@ class Se {
332
332
  *
333
333
  * @type {any}
334
334
  */
335
- wt(this, "$$");
335
+ _t(this, "$$");
336
336
  /**
337
337
  * ### PRIVATE API
338
338
  *
@@ -340,7 +340,7 @@ class Se {
340
340
  *
341
341
  * @type {any}
342
342
  */
343
- wt(this, "$$set");
343
+ _t(this, "$$set");
344
344
  }
345
345
  /** @returns {void} */
346
346
  $destroy() {
@@ -353,7 +353,7 @@ class Se {
353
353
  * @returns {() => void}
354
354
  */
355
355
  $on(e, t) {
356
- if (!xi(t))
356
+ if (!Si(t))
357
357
  return A;
358
358
  const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
359
359
  return i.push(t), () => {
@@ -366,16 +366,16 @@ class Se {
366
366
  * @returns {void}
367
367
  */
368
368
  $set(e) {
369
- this.$$set && !ln(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
369
+ this.$$set && !un(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
370
370
  }
371
371
  }
372
- const Sn = "4";
373
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
374
- function Mn(n) {
372
+ const Mn = "4";
373
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mn);
374
+ function kn(n) {
375
375
  let e, t;
376
376
  return {
377
377
  c() {
378
- e = ue("svg"), t = ue("path"), v(t, "d", "M13.12.706a.982.982 0 0 0-1.391 0L6.907 5.517 2.087.696a.982.982 0 1 0-1.391 1.39l4.821 4.821L.696 11.73a.982.982 0 1 0 1.39 1.39l4.821-4.821 4.822 4.821a.982.982 0 1 0 1.39-1.39L8.298 6.908l4.821-4.822a.988.988 0 0 0 0-1.38Z"), v(e, "viewBox", "0 0 14 14"), v(e, "width", "13"), v(e, "height", "13"), v(e, "class", "svelte-en2qvf");
378
+ e = ue("svg"), t = ue("path"), p(t, "d", "M13.12.706a.982.982 0 0 0-1.391 0L6.907 5.517 2.087.696a.982.982 0 1 0-1.391 1.39l4.821 4.821L.696 11.73a.982.982 0 1 0 1.39 1.39l4.821-4.821 4.822 4.821a.982.982 0 1 0 1.39-1.39L8.298 6.908l4.821-4.822a.988.988 0 0 0 0-1.38Z"), p(e, "viewBox", "0 0 14 14"), p(e, "width", "13"), p(e, "height", "13"), p(e, "class", "svelte-en2qvf");
379
379
  },
380
380
  m(i, r) {
381
381
  z(i, e, r), T(e, t);
@@ -388,16 +388,16 @@ function Mn(n) {
388
388
  }
389
389
  };
390
390
  }
391
- class Ci extends Se {
391
+ class Ni extends Se {
392
392
  constructor(e) {
393
- super(), xe(this, e, null, Mn, Le, {});
393
+ super(), xe(this, e, null, kn, Le, {});
394
394
  }
395
395
  }
396
- function kn(n) {
396
+ function Cn(n) {
397
397
  let e, t;
398
398
  return {
399
399
  c() {
400
- e = ue("svg"), t = ue("path"), v(t, "d", "M15 0C6.705 0 0 6.705 0 15C0 23.295 6.705 30 15 30C23.295 30 30 23.295 30 15C30 6.705 23.295 0 15 0ZM22.5 20.385L20.385 22.5L15 17.115L9.615 22.5L7.5 20.385L12.885 15L7.5 9.615L9.615 7.5L15 12.885L20.385 7.5L22.5 9.615L17.115 15L22.5 20.385Z"), v(e, "viewBox", "0 0 30 30"), v(e, "fill", "none"), v(e, "xmlns", "http://www.w3.org/2000/svg"), v(e, "class", "svelte-d2loi5");
400
+ e = ue("svg"), t = ue("path"), p(t, "d", "M15 0C6.705 0 0 6.705 0 15C0 23.295 6.705 30 15 30C23.295 30 30 23.295 30 15C30 6.705 23.295 0 15 0ZM22.5 20.385L20.385 22.5L15 17.115L9.615 22.5L7.5 20.385L12.885 15L7.5 9.615L9.615 7.5L15 12.885L20.385 7.5L22.5 9.615L17.115 15L22.5 20.385Z"), p(e, "viewBox", "0 0 30 30"), p(e, "fill", "none"), p(e, "xmlns", "http://www.w3.org/2000/svg"), p(e, "class", "svelte-d2loi5");
401
401
  },
402
402
  m(i, r) {
403
403
  z(i, e, r), T(e, t);
@@ -410,22 +410,22 @@ function kn(n) {
410
410
  }
411
411
  };
412
412
  }
413
- class Ni extends Se {
413
+ class Pi extends Se {
414
414
  constructor(e) {
415
- super(), xe(this, e, null, kn, Le, {});
415
+ super(), xe(this, e, null, Cn, Le, {});
416
416
  }
417
417
  }
418
- function Cn(n) {
418
+ function Nn(n) {
419
419
  let e, t;
420
420
  return {
421
421
  c() {
422
422
  e = W("img"), K(e.src, t = /*iconsBaseUrl*/
423
- n[3] + "area.svg") || v(e, "src", t), v(
423
+ n[3] + "area.svg") || p(e, "src", t), p(
424
424
  e,
425
425
  "alt",
426
426
  /*placeType*/
427
427
  n[6]
428
- ), v(e, "class", "svelte-ltkwvy");
428
+ ), p(e, "class", "svelte-ltkwvy");
429
429
  },
430
430
  m(i, r) {
431
431
  z(i, e, r);
@@ -433,8 +433,8 @@ function Cn(n) {
433
433
  p(i, r) {
434
434
  r & /*iconsBaseUrl*/
435
435
  8 && !K(e.src, t = /*iconsBaseUrl*/
436
- i[3] + "area.svg") && v(e, "src", t), r & /*placeType*/
437
- 64 && v(
436
+ i[3] + "area.svg") && p(e, "src", t), r & /*placeType*/
437
+ 64 && p(
438
438
  e,
439
439
  "alt",
440
440
  /*placeType*/
@@ -446,17 +446,17 @@ function Cn(n) {
446
446
  }
447
447
  };
448
448
  }
449
- function Nn(n) {
449
+ function Pn(n) {
450
450
  let e, t;
451
451
  return {
452
452
  c() {
453
453
  e = W("img"), K(e.src, t = /*iconsBaseUrl*/
454
- n[3] + "reverse.svg") || v(e, "src", t), v(
454
+ n[3] + "reverse.svg") || p(e, "src", t), p(
455
455
  e,
456
456
  "alt",
457
457
  /*placeType*/
458
458
  n[6]
459
- ), v(e, "class", "svelte-ltkwvy");
459
+ ), p(e, "class", "svelte-ltkwvy");
460
460
  },
461
461
  m(i, r) {
462
462
  z(i, e, r);
@@ -464,8 +464,8 @@ function Nn(n) {
464
464
  p(i, r) {
465
465
  r & /*iconsBaseUrl*/
466
466
  8 && !K(e.src, t = /*iconsBaseUrl*/
467
- i[3] + "reverse.svg") && v(e, "src", t), r & /*placeType*/
468
- 64 && v(
467
+ i[3] + "reverse.svg") && p(e, "src", t), r & /*placeType*/
468
+ 64 && p(
469
469
  e,
470
470
  "alt",
471
471
  /*placeType*/
@@ -477,17 +477,17 @@ function Nn(n) {
477
477
  }
478
478
  };
479
479
  }
480
- function Pn(n) {
480
+ function Tn(n) {
481
481
  let e, t;
482
482
  return {
483
483
  c() {
484
484
  e = W("img"), K(e.src, t = /*iconsBaseUrl*/
485
- n[3] + "poi.svg") || v(e, "src", t), v(
485
+ n[3] + "poi.svg") || p(e, "src", t), p(
486
486
  e,
487
487
  "alt",
488
488
  /*placeType*/
489
489
  n[6]
490
- ), v(e, "class", "svelte-ltkwvy");
490
+ ), p(e, "class", "svelte-ltkwvy");
491
491
  },
492
492
  m(i, r) {
493
493
  z(i, e, r);
@@ -495,8 +495,8 @@ function Pn(n) {
495
495
  p(i, r) {
496
496
  r & /*iconsBaseUrl*/
497
497
  8 && !K(e.src, t = /*iconsBaseUrl*/
498
- i[3] + "poi.svg") && v(e, "src", t), r & /*placeType*/
499
- 64 && v(
498
+ i[3] + "poi.svg") && p(e, "src", t), r & /*placeType*/
499
+ 64 && p(
500
500
  e,
501
501
  "alt",
502
502
  /*placeType*/
@@ -508,17 +508,17 @@ function Pn(n) {
508
508
  }
509
509
  };
510
510
  }
511
- function Tn(n) {
511
+ function Rn(n) {
512
512
  let e, t;
513
513
  return {
514
514
  c() {
515
515
  e = W("img"), K(e.src, t = /*iconsBaseUrl*/
516
- n[3] + "postal_code.svg") || v(e, "src", t), v(
516
+ n[3] + "postal_code.svg") || p(e, "src", t), p(
517
517
  e,
518
518
  "alt",
519
519
  /*placeType*/
520
520
  n[6]
521
- ), v(e, "class", "svelte-ltkwvy");
521
+ ), p(e, "class", "svelte-ltkwvy");
522
522
  },
523
523
  m(i, r) {
524
524
  z(i, e, r);
@@ -526,8 +526,8 @@ function Tn(n) {
526
526
  p(i, r) {
527
527
  r & /*iconsBaseUrl*/
528
528
  8 && !K(e.src, t = /*iconsBaseUrl*/
529
- i[3] + "postal_code.svg") && v(e, "src", t), r & /*placeType*/
530
- 64 && v(
529
+ i[3] + "postal_code.svg") && p(e, "src", t), r & /*placeType*/
530
+ 64 && p(
531
531
  e,
532
532
  "alt",
533
533
  /*placeType*/
@@ -539,17 +539,17 @@ function Tn(n) {
539
539
  }
540
540
  };
541
541
  }
542
- function Rn(n) {
542
+ function In(n) {
543
543
  let e, t;
544
544
  return {
545
545
  c() {
546
546
  e = W("img"), K(e.src, t = /*iconsBaseUrl*/
547
- n[3] + "street.svg") || v(e, "src", t), v(
547
+ n[3] + "street.svg") || p(e, "src", t), p(
548
548
  e,
549
549
  "alt",
550
550
  /*placeType*/
551
551
  n[6]
552
- ), v(e, "class", "svelte-ltkwvy");
552
+ ), p(e, "class", "svelte-ltkwvy");
553
553
  },
554
554
  m(i, r) {
555
555
  z(i, e, r);
@@ -557,8 +557,8 @@ function Rn(n) {
557
557
  p(i, r) {
558
558
  r & /*iconsBaseUrl*/
559
559
  8 && !K(e.src, t = /*iconsBaseUrl*/
560
- i[3] + "street.svg") && v(e, "src", t), r & /*placeType*/
561
- 64 && v(
560
+ i[3] + "street.svg") && p(e, "src", t), r & /*placeType*/
561
+ 64 && p(
562
562
  e,
563
563
  "alt",
564
564
  /*placeType*/
@@ -570,17 +570,17 @@ function Rn(n) {
570
570
  }
571
571
  };
572
572
  }
573
- function In(n) {
573
+ function On(n) {
574
574
  let e, t;
575
575
  return {
576
576
  c() {
577
577
  e = W("img"), K(e.src, t = /*iconsBaseUrl*/
578
- n[3] + "road.svg") || v(e, "src", t), v(
578
+ n[3] + "road.svg") || p(e, "src", t), p(
579
579
  e,
580
580
  "alt",
581
581
  /*placeType*/
582
582
  n[6]
583
- ), v(e, "class", "svelte-ltkwvy");
583
+ ), p(e, "class", "svelte-ltkwvy");
584
584
  },
585
585
  m(i, r) {
586
586
  z(i, e, r);
@@ -588,8 +588,8 @@ function In(n) {
588
588
  p(i, r) {
589
589
  r & /*iconsBaseUrl*/
590
590
  8 && !K(e.src, t = /*iconsBaseUrl*/
591
- i[3] + "road.svg") && v(e, "src", t), r & /*placeType*/
592
- 64 && v(
591
+ i[3] + "road.svg") && p(e, "src", t), r & /*placeType*/
592
+ 64 && p(
593
593
  e,
594
594
  "alt",
595
595
  /*placeType*/
@@ -601,17 +601,17 @@ function In(n) {
601
601
  }
602
602
  };
603
603
  }
604
- function On(n) {
604
+ function Wn(n) {
605
605
  let e, t;
606
606
  return {
607
607
  c() {
608
608
  e = W("img"), K(e.src, t = /*iconsBaseUrl*/
609
- n[3] + "housenumber.svg") || v(e, "src", t), v(
609
+ n[3] + "housenumber.svg") || p(e, "src", t), p(
610
610
  e,
611
611
  "alt",
612
612
  /*placeType*/
613
613
  n[6]
614
- ), v(e, "class", "svelte-ltkwvy");
614
+ ), p(e, "class", "svelte-ltkwvy");
615
615
  },
616
616
  m(i, r) {
617
617
  z(i, e, r);
@@ -619,8 +619,8 @@ function On(n) {
619
619
  p(i, r) {
620
620
  r & /*iconsBaseUrl*/
621
621
  8 && !K(e.src, t = /*iconsBaseUrl*/
622
- i[3] + "housenumber.svg") && v(e, "src", t), r & /*placeType*/
623
- 64 && v(
622
+ i[3] + "housenumber.svg") && p(e, "src", t), r & /*placeType*/
623
+ 64 && p(
624
624
  e,
625
625
  "alt",
626
626
  /*placeType*/
@@ -632,17 +632,17 @@ function On(n) {
632
632
  }
633
633
  };
634
634
  }
635
- function Wn(n) {
635
+ function An(n) {
636
636
  let e, t, i, r;
637
637
  return {
638
638
  c() {
639
639
  e = W("img"), K(e.src, t = /*imageUrl*/
640
- n[5]) || v(e, "src", t), v(
640
+ n[5]) || p(e, "src", t), p(
641
641
  e,
642
642
  "alt",
643
643
  /*category*/
644
644
  n[4]
645
- ), v(e, "class", "svelte-ltkwvy");
645
+ ), p(e, "class", "svelte-ltkwvy");
646
646
  },
647
647
  m(o, l) {
648
648
  z(o, e, l), i || (r = J(
@@ -655,8 +655,8 @@ function Wn(n) {
655
655
  p(o, l) {
656
656
  l & /*imageUrl*/
657
657
  32 && !K(e.src, t = /*imageUrl*/
658
- o[5]) && v(e, "src", t), l & /*category*/
659
- 16 && v(
658
+ o[5]) && p(e, "src", t), l & /*category*/
659
+ 16 && p(
660
660
  e,
661
661
  "alt",
662
662
  /*category*/
@@ -668,21 +668,21 @@ function Wn(n) {
668
668
  }
669
669
  };
670
670
  }
671
- function Yt(n) {
671
+ function Kt(n) {
672
672
  let e, t;
673
673
  return {
674
674
  c() {
675
675
  e = W("span"), t = we(
676
676
  /*placeType*/
677
677
  n[6]
678
- ), v(e, "class", "secondary svelte-ltkwvy");
678
+ ), p(e, "class", "secondary svelte-ltkwvy");
679
679
  },
680
680
  m(i, r) {
681
681
  z(i, e, r), T(e, t);
682
682
  },
683
683
  p(i, r) {
684
684
  r & /*placeType*/
685
- 64 && qe(
685
+ 64 && je(
686
686
  t,
687
687
  /*placeType*/
688
688
  i[6]
@@ -693,7 +693,7 @@ function Yt(n) {
693
693
  }
694
694
  };
695
695
  }
696
- function An(n) {
696
+ function Bn(n) {
697
697
  let e, t, i, r, o, l, s, c, u, d = (
698
698
  /*isReverse*/
699
699
  (n[7] ? (
@@ -714,7 +714,7 @@ function An(n) {
714
714
  n[0].id.startsWith("poi.") || !/*imageUrl*/
715
715
  n[5]) && !/*isReverse*/
716
716
  n[7]
717
- ), b, y, p = (
717
+ ), b, y, v = (
718
718
  /*isReverse*/
719
719
  (n[7] ? "" : (
720
720
  /*feature*/
@@ -727,27 +727,27 @@ function An(n) {
727
727
  1 && (i = null), C & /*feature*/
728
728
  1 && (r = null), C & /*feature*/
729
729
  1 && (o = null), /*imageUrl*/
730
- w[5] ? Wn : (
730
+ w[5] ? An : (
731
731
  /*feature*/
732
- w[0].address ? On : (t == null && (t = !!/*feature*/
733
- w[0].id.startsWith("road.")), t ? In : (i == null && (i = !!/*feature*/
734
- w[0].id.startsWith("address.")), i ? Rn : (r == null && (r = !!/*feature*/
735
- w[0].id.startsWith("postal_code.")), r ? Tn : (o == null && (o = !!/*feature*/
736
- w[0].id.startsWith("poi.")), o ? Pn : (
732
+ w[0].address ? Wn : (t == null && (t = !!/*feature*/
733
+ w[0].id.startsWith("road.")), t ? On : (i == null && (i = !!/*feature*/
734
+ w[0].id.startsWith("address.")), i ? In : (r == null && (r = !!/*feature*/
735
+ w[0].id.startsWith("postal_code.")), r ? Rn : (o == null && (o = !!/*feature*/
736
+ w[0].id.startsWith("poi.")), o ? Tn : (
737
737
  /*isReverse*/
738
- w[7] ? Nn : Cn
738
+ w[7] ? Pn : Nn
739
739
  )))))
740
740
  );
741
741
  }
742
- let k = _(n, -1), x = k(n), L = h && Yt(n);
742
+ let k = _(n, -1), x = k(n), L = h && Kt(n);
743
743
  return {
744
744
  c() {
745
- e = W("li"), x.c(), l = ie(), s = W("span"), c = W("span"), u = W("span"), a = we(d), f = ie(), L && L.c(), b = ie(), y = W("span"), m = we(p), v(u, "class", "primary svelte-ltkwvy"), v(c, "class", "svelte-ltkwvy"), v(y, "class", "line2 svelte-ltkwvy"), v(s, "class", "texts svelte-ltkwvy"), v(e, "tabindex", "0"), v(
745
+ e = W("li"), x.c(), l = ie(), s = W("span"), c = W("span"), u = W("span"), a = we(d), f = ie(), L && L.c(), b = ie(), y = W("span"), m = we(v), p(u, "class", "primary svelte-ltkwvy"), p(c, "class", "svelte-ltkwvy"), p(y, "class", "line2 svelte-ltkwvy"), p(s, "class", "texts svelte-ltkwvy"), p(e, "tabindex", "0"), p(
746
746
  e,
747
747
  "data-selected",
748
748
  /*selected*/
749
749
  n[1]
750
- ), v(e, "class", "svelte-ltkwvy"), se(
750
+ ), p(e, "class", "svelte-ltkwvy"), oe(
751
751
  e,
752
752
  "selected",
753
753
  /*selected*/
@@ -779,7 +779,7 @@ function An(n) {
779
779
  ) : (
780
780
  /*feature*/
781
781
  w[0].place_name.replace(/,.*/, "")
782
- )) + "") && qe(a, d), C & /*showPlaceType, feature, imageUrl*/
782
+ )) + "") && je(a, d), C & /*showPlaceType, feature, imageUrl*/
783
783
  37 && (h = /*showPlaceType*/
784
784
  w[2] === "always" || /*showPlaceType*/
785
785
  w[2] && !/*feature*/
@@ -789,19 +789,19 @@ function An(n) {
789
789
  w[0].id.startsWith("postal_code.") && (!/*feature*/
790
790
  w[0].id.startsWith("poi.") || !/*imageUrl*/
791
791
  w[5]) && !/*isReverse*/
792
- w[7]), h ? L ? L.p(w, C) : (L = Yt(w), L.c(), L.m(c, null)) : L && (L.d(1), L = null), C & /*feature*/
793
- 1 && p !== (p = /*isReverse*/
792
+ w[7]), h ? L ? L.p(w, C) : (L = Kt(w), L.c(), L.m(c, null)) : L && (L.d(1), L = null), C & /*feature*/
793
+ 1 && v !== (v = /*isReverse*/
794
794
  (w[7] ? "" : (
795
795
  /*feature*/
796
796
  w[0].place_name.replace(/[^,]*,?\s*/, "")
797
- )) + "") && qe(m, p), C & /*selected*/
798
- 2 && v(
797
+ )) + "") && je(m, v), C & /*selected*/
798
+ 2 && p(
799
799
  e,
800
800
  "data-selected",
801
801
  /*selected*/
802
802
  w[1]
803
803
  ), C & /*selected*/
804
- 2 && se(
804
+ 2 && oe(
805
805
  e,
806
806
  "selected",
807
807
  /*selected*/
@@ -815,7 +815,7 @@ function An(n) {
815
815
  }
816
816
  };
817
817
  }
818
- function Bn(n, e, t) {
818
+ function Dn(n, e, t) {
819
819
  var S;
820
820
  let i, r, { feature: o } = e, { selected: l = !1 } = e, { showPlaceType: s } = e, { missingIconsCache: c } = e, { iconsBaseUrl: u } = e;
821
821
  const d = (S = o.properties) == null ? void 0 : S.categories;
@@ -823,11 +823,11 @@ function Bn(n, e, t) {
823
823
  function y() {
824
824
  f && c.add(f), t(10, h++, h);
825
825
  }
826
- function p(_) {
827
- Qt.call(this, n, _);
826
+ function v(_) {
827
+ Ht.call(this, n, _);
828
828
  }
829
829
  function m(_) {
830
- Qt.call(this, n, _);
830
+ Ht.call(this, n, _);
831
831
  }
832
832
  const E = () => y();
833
833
  return n.$$set = (_) => {
@@ -854,14 +854,14 @@ function Bn(n, e, t) {
854
854
  c,
855
855
  h,
856
856
  i,
857
- p,
857
+ v,
858
858
  m,
859
859
  E
860
860
  ];
861
861
  }
862
- class Dn extends Se {
862
+ class Un extends Se {
863
863
  constructor(e) {
864
- super(), xe(this, e, Bn, An, Le, {
864
+ super(), xe(this, e, Dn, Bn, Le, {
865
865
  feature: 0,
866
866
  selected: 1,
867
867
  showPlaceType: 2,
@@ -870,11 +870,11 @@ class Dn extends Se {
870
870
  });
871
871
  }
872
872
  }
873
- function Un(n) {
873
+ function zn(n) {
874
874
  let e;
875
875
  return {
876
876
  c() {
877
- e = W("div"), e.innerHTML = '<svg viewBox="0 0 18 18" width="24" height="24" class="svelte-7cmwmc"><path fill="#333" d="M4.4 4.4l.8.8c2.1-2.1 5.5-2.1 7.6 0l.8-.8c-2.5-2.5-6.7-2.5-9.2 0z"></path><path opacity=".1" d="M12.8 12.9c-2.1 2.1-5.5 2.1-7.6 0-2.1-2.1-2.1-5.5 0-7.7l-.8-.8c-2.5 2.5-2.5 6.7 0 9.2s6.6 2.5 9.2 0 2.5-6.6 0-9.2l-.8.8c2.2 2.1 2.2 5.6 0 7.7z"></path></svg>', v(e, "class", "svelte-7cmwmc");
877
+ e = W("div"), e.innerHTML = '<svg viewBox="0 0 18 18" width="24" height="24" class="svelte-7cmwmc"><path fill="#333" d="M4.4 4.4l.8.8c2.1-2.1 5.5-2.1 7.6 0l.8-.8c-2.5-2.5-6.7-2.5-9.2 0z"></path><path opacity=".1" d="M12.8 12.9c-2.1 2.1-5.5 2.1-7.6 0-2.1-2.1-2.1-5.5 0-7.7l-.8-.8c-2.5 2.5-2.5 6.7 0 9.2s6.6 2.5 9.2 0 2.5-6.6 0-9.2l-.8.8c2.2 2.1 2.2 5.6 0 7.7z"></path></svg>', p(e, "class", "svelte-7cmwmc");
878
878
  },
879
879
  m(t, i) {
880
880
  z(t, e, i);
@@ -887,22 +887,22 @@ function Un(n) {
887
887
  }
888
888
  };
889
889
  }
890
- class zn extends Se {
890
+ class Fn extends Se {
891
891
  constructor(e) {
892
- super(), xe(this, e, null, Un, Le, {});
892
+ super(), xe(this, e, null, zn, Le, {});
893
893
  }
894
894
  }
895
- function Fn(n) {
895
+ function jn(n) {
896
896
  let e, t, i;
897
897
  return {
898
898
  c() {
899
- e = ue("svg"), t = ue("path"), v(t, "stroke-width", "4"), v(t, "d", "M 5,33.103579 C 5,17.607779 18.457,5 35,5 C 51.543,5 65,17.607779 65,33.103579 C 65,56.388679 40.4668,76.048179 36.6112,79.137779 C 36.3714,79.329879 36.2116,79.457979 36.1427,79.518879 C 35.8203,79.800879 35.4102,79.942779 35,79.942779 C 34.5899,79.942779 34.1797,79.800879 33.8575,79.518879 C 33.7886,79.457979 33.6289,79.330079 33.3893,79.138079 C 29.5346,76.049279 5,56.389379 5,33.103579 Z M 35.0001,49.386379 C 43.1917,49.386379 49.8323,42.646079 49.8323,34.331379 C 49.8323,26.016779 43.1917,19.276479 35.0001,19.276479 C 26.8085,19.276479 20.1679,26.016779 20.1679,34.331379 C 20.1679,42.646079 26.8085,49.386379 35.0001,49.386379 Z"), v(t, "class", "svelte-gzo3ar"), v(e, "width", i = /*displayIn*/
900
- n[0] === "list" ? 20 : void 0), v(e, "viewBox", "0 0 70 85"), v(e, "fill", "none"), v(e, "class", "svelte-gzo3ar"), se(
899
+ e = ue("svg"), t = ue("path"), p(t, "stroke-width", "4"), p(t, "d", "M 5,33.103579 C 5,17.607779 18.457,5 35,5 C 51.543,5 65,17.607779 65,33.103579 C 65,56.388679 40.4668,76.048179 36.6112,79.137779 C 36.3714,79.329879 36.2116,79.457979 36.1427,79.518879 C 35.8203,79.800879 35.4102,79.942779 35,79.942779 C 34.5899,79.942779 34.1797,79.800879 33.8575,79.518879 C 33.7886,79.457979 33.6289,79.330079 33.3893,79.138079 C 29.5346,76.049279 5,56.389379 5,33.103579 Z M 35.0001,49.386379 C 43.1917,49.386379 49.8323,42.646079 49.8323,34.331379 C 49.8323,26.016779 43.1917,19.276479 35.0001,19.276479 C 26.8085,19.276479 20.1679,26.016779 20.1679,34.331379 C 20.1679,42.646079 26.8085,49.386379 35.0001,49.386379 Z"), p(t, "class", "svelte-gzo3ar"), p(e, "width", i = /*displayIn*/
900
+ n[0] === "list" ? 20 : void 0), p(e, "viewBox", "0 0 70 85"), p(e, "fill", "none"), p(e, "class", "svelte-gzo3ar"), oe(
901
901
  e,
902
902
  "in-map",
903
903
  /*displayIn*/
904
904
  n[0] !== "list"
905
- ), se(
905
+ ), oe(
906
906
  e,
907
907
  "list-icon",
908
908
  /*displayIn*/
@@ -915,14 +915,14 @@ function Fn(n) {
915
915
  p(r, [o]) {
916
916
  o & /*displayIn*/
917
917
  1 && i !== (i = /*displayIn*/
918
- r[0] === "list" ? 20 : void 0) && v(e, "width", i), o & /*displayIn*/
919
- 1 && se(
918
+ r[0] === "list" ? 20 : void 0) && p(e, "width", i), o & /*displayIn*/
919
+ 1 && oe(
920
920
  e,
921
921
  "in-map",
922
922
  /*displayIn*/
923
923
  r[0] !== "list"
924
924
  ), o & /*displayIn*/
925
- 1 && se(
925
+ 1 && oe(
926
926
  e,
927
927
  "list-icon",
928
928
  /*displayIn*/
@@ -936,22 +936,22 @@ function Fn(n) {
936
936
  }
937
937
  };
938
938
  }
939
- function qn(n, e, t) {
939
+ function Zn(n, e, t) {
940
940
  let { displayIn: i } = e;
941
941
  return n.$$set = (r) => {
942
942
  "displayIn" in r && t(0, i = r.displayIn);
943
943
  }, [i];
944
944
  }
945
- class jn extends Se {
945
+ class Gn extends Se {
946
946
  constructor(e) {
947
- super(), xe(this, e, qn, Fn, Le, { displayIn: 0 });
947
+ super(), xe(this, e, Zn, jn, Le, { displayIn: 0 });
948
948
  }
949
949
  }
950
- function Zn(n) {
950
+ function qn(n) {
951
951
  let e, t;
952
952
  return {
953
953
  c() {
954
- e = ue("svg"), t = ue("path"), v(t, "d", "M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"), v(e, "viewBox", "0 0 60.006 21.412"), v(e, "width", "14"), v(e, "height", "20"), v(e, "class", "svelte-en2qvf");
954
+ e = ue("svg"), t = ue("path"), p(t, "d", "M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"), p(e, "viewBox", "0 0 60.006 21.412"), p(e, "width", "14"), p(e, "height", "20"), p(e, "class", "svelte-en2qvf");
955
955
  },
956
956
  m(i, r) {
957
957
  z(i, e, r), T(e, t);
@@ -964,16 +964,16 @@ function Zn(n) {
964
964
  }
965
965
  };
966
966
  }
967
- class Gn extends Se {
967
+ class Qn extends Se {
968
968
  constructor(e) {
969
- super(), xe(this, e, null, Zn, Le, {});
969
+ super(), xe(this, e, null, qn, Le, {});
970
970
  }
971
971
  }
972
- function Qn(n) {
972
+ function Hn(n) {
973
973
  let e, t, i;
974
974
  return {
975
975
  c() {
976
- e = ue("svg"), t = ue("circle"), i = ue("path"), v(t, "cx", "4.789"), v(t, "cy", "4.787"), v(t, "r", "3.85"), v(t, "class", "svelte-1aq105l"), v(i, "d", "M12.063 12.063 7.635 7.635"), v(i, "class", "svelte-1aq105l"), v(e, "xmlns", "http://www.w3.org/2000/svg"), v(e, "width", "13"), v(e, "height", "13"), v(e, "viewBox", "0 0 13 13"), v(e, "class", "svelte-1aq105l");
976
+ e = ue("svg"), t = ue("circle"), i = ue("path"), p(t, "cx", "4.789"), p(t, "cy", "4.787"), p(t, "r", "3.85"), p(t, "class", "svelte-1aq105l"), p(i, "d", "M12.063 12.063 7.635 7.635"), p(i, "class", "svelte-1aq105l"), p(e, "xmlns", "http://www.w3.org/2000/svg"), p(e, "width", "13"), p(e, "height", "13"), p(e, "viewBox", "0 0 13 13"), p(e, "class", "svelte-1aq105l");
977
977
  },
978
978
  m(r, o) {
979
979
  z(r, e, o), T(e, t), T(e, i);
@@ -986,12 +986,12 @@ function Qn(n) {
986
986
  }
987
987
  };
988
988
  }
989
- class Hn extends Se {
989
+ class Vn extends Se {
990
990
  constructor(e) {
991
- super(), xe(this, e, null, Qn, Le, {});
991
+ super(), xe(this, e, null, Hn, Le, {});
992
992
  }
993
993
  }
994
- function Vn(n, e, t) {
994
+ function Yn(n, e, t) {
995
995
  const i = e[1], r = e[0], o = i - r;
996
996
  return n === i && t ? n : ((n - r) % o + o) % o + r;
997
997
  }
@@ -1000,7 +1000,7 @@ function st(n) {
1000
1000
  return e[2] < e[0] && (Math.abs((e[0] + e[2] + 360) / 2) > Math.abs((e[0] - 360 + e[2]) / 2) ? e[0] -= 360 : e[2] += 360), e;
1001
1001
  }
1002
1002
  let De;
1003
- async function Yn(n, e, t) {
1003
+ async function Kn(n, e, t) {
1004
1004
  const i = n == null ? void 0 : n.getCenterAndZoom();
1005
1005
  for (const r of e ?? [])
1006
1006
  if (!(i && (r.minZoom != null && r.minZoom > i[0] || r.maxZoom != null && r.maxZoom < i[0]))) {
@@ -1045,8 +1045,8 @@ async function Yn(n, e, t) {
1045
1045
  return i[1].toFixed(6) + "," + i[2].toFixed(6);
1046
1046
  }
1047
1047
  }
1048
- const Kn = /^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([6-9][0-9])\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([6-9][0-9])\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*(EAST|WEST|[EW])?$/i, Kt = /^([+-]?[0-8]?[0-9])\s+([0-5]?[0-9]\.\d{3,})[\s,]{1,}([+-]?[0-1]?[0-9]?[0-9])\s+([0-5]?[0-9]\.\d{3,})$/, Xt = /^(NORTH|SOUTH|[NS])?[\s]*([+-]?[0-8]?[0-9](?:[\.,]\d{3,}))[\s]*([•º°]?)[\s]*(NORTH|SOUTH|[NS])?[\s]*[,/;]?[\s]*(EAST|WEST|[EW])?[\s]*([+-]?[0-1]?[0-9]?[0-9](?:[\.,]\d{3,}))[\s]*([•º°]?)[\s]*(EAST|WEST|[EW])?$/i, Jt = /^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*(\.)\s*([0-5]?[0-9])\s*(\.)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*(\.)\s*([0-5]?[0-9])\s*(\.)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(EAST|WEST|[EW])?$/i, $t = /^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*(D(?:EG)?(?:REES)?)\s*([0-5]?[0-9])\s*(M(?:IN)?(?:UTES)?)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(S(?:EC)?(?:ONDS)?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*(D(?:EG)?(?:REES)?)\s*([0-5]?[0-9])\s*(M(?:IN)?(?:UTES)?)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(S(?:EC)?(?:ONDS)?)\s*(EAST|WEST|[EW])?$/i, ei = /^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([0-5]?[0-9](?:[\.,]\d{1,})?)?\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*,?((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(''|′′|’’|´´|["″”\.])?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([0-5]?[0-9](?:[\.,]\d{1,})?)?\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*,?((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(''|′′|´´|’’|["″”\.])?\s*(EAST|WEST|[EW])?$/i;
1049
- function Xn(n) {
1048
+ const Xn = /^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([6-9][0-9])\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([6-9][0-9])\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*(EAST|WEST|[EW])?$/i, Xt = /^([+-]?[0-8]?[0-9])\s+([0-5]?[0-9]\.\d{3,})[\s,]{1,}([+-]?[0-1]?[0-9]?[0-9])\s+([0-5]?[0-9]\.\d{3,})$/, Jt = /^(NORTH|SOUTH|[NS])?[\s]*([+-]?[0-8]?[0-9](?:[\.,]\d{3,}))[\s]*([•º°]?)[\s]*(NORTH|SOUTH|[NS])?[\s]*[,/;]?[\s]*(EAST|WEST|[EW])?[\s]*([+-]?[0-1]?[0-9]?[0-9](?:[\.,]\d{3,}))[\s]*([•º°]?)[\s]*(EAST|WEST|[EW])?$/i, $t = /^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*(\.)\s*([0-5]?[0-9])\s*(\.)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*(\.)\s*([0-5]?[0-9])\s*(\.)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(EAST|WEST|[EW])?$/i, ei = /^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*(D(?:EG)?(?:REES)?)\s*([0-5]?[0-9])\s*(M(?:IN)?(?:UTES)?)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(S(?:EC)?(?:ONDS)?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*(D(?:EG)?(?:REES)?)\s*([0-5]?[0-9])\s*(M(?:IN)?(?:UTES)?)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(S(?:EC)?(?:ONDS)?)\s*(EAST|WEST|[EW])?$/i, ti = /^(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([0-5]?[0-9](?:[\.,]\d{1,})?)?\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*,?((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(''|′′|’’|´´|["″”\.])?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([0-5]?[0-9](?:[\.,]\d{1,})?)?\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*,?((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(''|′′|´´|’’|["″”\.])?\s*(EAST|WEST|[EW])?$/i;
1049
+ function Jn(n) {
1050
1050
  if (!["DMS", "DM", "DD"].includes(n))
1051
1051
  throw new Error("invalid format specified");
1052
1052
  if (this.decimalCoordinates && this.decimalCoordinates.trim()) {
@@ -1055,35 +1055,35 @@ function Xn(n) {
1055
1055
  n == "DD" && (c = `${r}° ${l}, ${o}° ${s}`);
1056
1056
  const u = Math.floor(r), d = Math.floor(o), a = (r - u) * 60, f = (o - d) * 60;
1057
1057
  if (n == "DM") {
1058
- let h = ti(a, 3).toFixed(3).padStart(6, "0"), b = ti(f, 3).toFixed(3).padStart(6, "0");
1058
+ let h = ii(a, 3).toFixed(3).padStart(6, "0"), b = ii(f, 3).toFixed(3).padStart(6, "0");
1059
1059
  h.endsWith(".000") && b.endsWith(".000") && (h = h.replace(/\.000$/, ""), b = b.replace(/\.000$/, "")), c = `${u}° ${h}' ${l}, ${d}° ${b}' ${s}`;
1060
1060
  }
1061
1061
  if (n == "DMS") {
1062
1062
  const h = Math.floor(a), b = Math.floor(f);
1063
- let y = ((a - h) * 60).toFixed(1).padStart(4, "0"), p = ((f - b) * 60).toFixed(1).padStart(4, "0");
1063
+ let y = ((a - h) * 60).toFixed(1).padStart(4, "0"), v = ((f - b) * 60).toFixed(1).padStart(4, "0");
1064
1064
  const m = h.toString().padStart(2, "0"), E = b.toString().padStart(2, "0");
1065
- y.endsWith(".0") && p.endsWith(".0") && (y = y.replace(/\.0$/, ""), p = p.replace(/\.0$/, "")), c = `${u}° ${m}' ${y}" ${l}, ${d}° ${E}' ${p}" ${s}`;
1065
+ y.endsWith(".0") && v.endsWith(".0") && (y = y.replace(/\.0$/, ""), v = v.replace(/\.0$/, "")), c = `${u}° ${m}' ${y}" ${l}, ${d}° ${E}' ${v}" ${s}`;
1066
1066
  }
1067
1067
  return c;
1068
1068
  } else
1069
1069
  throw new Error("no decimal coordinates to convert");
1070
1070
  }
1071
- function ti(n, e) {
1071
+ function ii(n, e) {
1072
1072
  const t = Math.pow(10, e);
1073
1073
  return Math.round((n + Number.EPSILON) * t) / t;
1074
1074
  }
1075
- function It(n, e) {
1075
+ function Ot(n, e) {
1076
1076
  e || (e = 5), n = n.replace(/\s+/g, " ").trim();
1077
1077
  let t = null, i = null, r = "", o = "", l = null, s = [], c = !1;
1078
- if (Kn.test(n))
1078
+ if (Xn.test(n))
1079
1079
  throw new Error("invalid coordinate value");
1080
- if (Kt.test(n))
1081
- if (s = Kt.exec(n), c = Ue(s), c)
1080
+ if (Xt.test(n))
1081
+ if (s = Xt.exec(n), c = Ue(s), c)
1082
1082
  t = Math.abs(s[1]) + s[2] / 60, Number(s[1]) < 0 && (t *= -1), i = Math.abs(s[3]) + s[4] / 60, Number(s[3]) < 0 && (i *= -1), l = "DM";
1083
1083
  else
1084
1084
  throw new Error("invalid coordinate format");
1085
- else if (Xt.test(n))
1086
- if (s = Xt.exec(n), c = Ue(s), c) {
1085
+ else if (Jt.test(n))
1086
+ if (s = Jt.exec(n), c = Ue(s), c) {
1087
1087
  if (t = s[2], i = s[6], t.includes(",") && (t = t.replace(",", ".")), i.includes(",") && (i = i.replace(",", ".")), l = "DD", Number(Math.round(t)) == Number(t))
1088
1088
  throw new Error("integer only coordinate provided");
1089
1089
  if (Number(Math.round(i)) == Number(i))
@@ -1091,18 +1091,18 @@ function It(n, e) {
1091
1091
  s[1] ? (r = s[1], o = s[5]) : s[4] && (r = s[4], o = s[8]);
1092
1092
  } else
1093
1093
  throw new Error("invalid decimal coordinate format");
1094
- else if (Jt.test(n))
1095
- if (s = Jt.exec(n), c = Ue(s), c)
1094
+ else if ($t.test(n))
1095
+ if (s = $t.exec(n), c = Ue(s), c)
1096
1096
  t = Math.abs(parseInt(s[2])), s[4] && (t += s[4] / 60, l = "DM"), s[6] && (t += s[6].replace(",", ".") / 3600, l = "DMS"), parseInt(s[2]) < 0 && (t = -1 * t), i = Math.abs(parseInt(s[9])), s[11] && (i += s[11] / 60), s[13] && (i += s[13].replace(",", ".") / 3600), parseInt(s[9]) < 0 && (i = -1 * i), s[1] ? (r = s[1], o = s[8]) : s[7] && (r = s[7], o = s[14]);
1097
1097
  else
1098
1098
  throw new Error("invalid DMS coordinates format");
1099
- else if ($t.test(n))
1100
- if (s = $t.exec(n), c = Ue(s), c)
1099
+ else if (ei.test(n))
1100
+ if (s = ei.exec(n), c = Ue(s), c)
1101
1101
  t = Math.abs(parseInt(s[2])), s[4] && (t += s[4] / 60, l = "DM"), s[6] && (t += s[6] / 3600, l = "DMS"), parseInt(s[2]) < 0 && (t = -1 * t), i = Math.abs(parseInt(s[10])), s[12] && (i += s[12] / 60), s[14] && (i += s[14] / 3600), parseInt(s[10]) < 0 && (i = -1 * i), s[1] ? (r = s[1], o = s[9]) : s[8] && (r = s[8], o = s[16]);
1102
1102
  else
1103
1103
  throw new Error("invalid DMS coordinates format");
1104
- else if (ei.test(n)) {
1105
- if (s = ei.exec(n), c = Ue(s), s.filter((u) => u).length <= 5)
1104
+ else if (ti.test(n)) {
1105
+ if (s = ti.exec(n), c = Ue(s), s.filter((u) => u).length <= 5)
1106
1106
  throw new Error("invalid coordinates format");
1107
1107
  if (c)
1108
1108
  t = Math.abs(parseInt(s[2])), s[4] && (t += s[4].replace(",", ".") / 60, l = "DM"), s[6] && (t += s[6].replace(",", ".") / 3600, l = "DMS"), parseInt(s[2]) < 0 && (t = -1 * t), i = Math.abs(parseInt(s[10])), s[12] && (i += s[12].replace(",", ".") / 60), s[14] && (i += s[14].replace(",", ".") / 3600), parseInt(s[10]) < 0 && (i = -1 * i), s[1] ? (r = s[1], o = s[9]) : s[8] && (r = s[8], o = s[16]);
@@ -1143,8 +1143,8 @@ function It(n, e) {
1143
1143
  const y = a.split(".");
1144
1144
  if (y.length == 2 && y[1] == 0 && y[1].length != 2)
1145
1145
  throw new Error("invalid coordinates format");
1146
- const p = f.split(".");
1147
- if (p.length == 2 && p[1] == 0 && p[1].length != 2)
1146
+ const v = f.split(".");
1147
+ if (v.length == 2 && v[1] == 0 && v[1].length != 2)
1148
1148
  throw new Error("invalid coordinates format");
1149
1149
  if (/^\d+$/.test(a) || /^\d+$/.test(f))
1150
1150
  throw new Error("degree only coordinate/s provided");
@@ -1156,8 +1156,8 @@ function It(n, e) {
1156
1156
  decimalLongitude: i,
1157
1157
  decimalCoordinates: `${t},${i}`,
1158
1158
  originalFormat: l,
1159
- closeEnough: Jn,
1160
- toCoordinateFormat: Xn
1159
+ closeEnough: $n,
1160
+ toCoordinateFormat: Jn
1161
1161
  });
1162
1162
  } else
1163
1163
  throw new Error("coordinates pattern match failed");
@@ -1181,28 +1181,28 @@ function Ue(n) {
1181
1181
  }
1182
1182
  return !0;
1183
1183
  }
1184
- function ii(n, e) {
1184
+ function ni(n, e) {
1185
1185
  const t = Math.abs(n - e);
1186
1186
  return Number(t.toFixed(6)) <= 1e-5;
1187
1187
  }
1188
- function Jn(n) {
1188
+ function $n(n) {
1189
1189
  if (!n)
1190
1190
  throw new Error("coords must be provided");
1191
1191
  if (n.includes(",")) {
1192
1192
  const e = n.split(",");
1193
1193
  if (Number(e[0]) == NaN || Number(e[1]) == NaN)
1194
1194
  throw new Error("coords are not valid decimals");
1195
- return ii(this.decimalLatitude, Number(e[0])) && ii(this.decimalLongitude, e[1]);
1195
+ return ni(this.decimalLatitude, Number(e[0])) && ni(this.decimalLongitude, e[1]);
1196
1196
  } else
1197
1197
  throw new Error("coords being tested must be separated by a comma");
1198
1198
  }
1199
- const $n = Object.freeze({
1199
+ const er = Object.freeze({
1200
1200
  DMS: "DMS",
1201
1201
  DM: "DM",
1202
1202
  DD: "DD"
1203
1203
  });
1204
- It.to = $n;
1205
- const er = [
1204
+ Ot.to = er;
1205
+ const tr = [
1206
1206
  {
1207
1207
  verbatimCoordinates: "40.123, -74.123",
1208
1208
  verbatimLatitude: "40.123",
@@ -1343,10 +1343,10 @@ const er = [
1343
1343
  verbatimLatitude: "40 7 22.8",
1344
1344
  verbatimLongitude: "-74 7 22.8"
1345
1345
  }
1346
- ], tr = {
1346
+ ], ir = {
1347
1347
  decimalLatitude: 40.123,
1348
1348
  decimalLongitude: -74.123
1349
- }, ir = [
1349
+ }, nr = [
1350
1350
  {
1351
1351
  verbatimCoordinates: `50°4'17.698"south, 14°24'2.826"east`,
1352
1352
  verbatimLatitude: `50°4'17.698"south`,
@@ -1431,7 +1431,7 @@ const er = [
1431
1431
  decimalLatitude: -18.4,
1432
1432
  decimalLongitude: 22.75
1433
1433
  }
1434
- ], nr = [
1434
+ ], rr = [
1435
1435
  {
1436
1436
  verbatimCoordinates: "10.432342S 10.6345345E",
1437
1437
  verbatimLatitude: "10.432342S",
@@ -1566,22 +1566,22 @@ const er = [
1566
1566
  decimalLongitude: 18.33453
1567
1567
  }
1568
1568
  ];
1569
- function rr() {
1569
+ function or() {
1570
1570
  const n = [];
1571
- return er.forEach((e) => {
1572
- e.decimalLatitude ? n.push(e) : n.push({ ...e, ...tr });
1573
- }), [...n, ...ir, ...nr];
1574
- }
1575
- const or = rr();
1576
- It.formats = or.map((n) => n.verbatimCoordinates);
1577
- const sr = It;
1578
- function ni(n, e, t) {
1571
+ return tr.forEach((e) => {
1572
+ e.decimalLatitude ? n.push(e) : n.push({ ...e, ...ir });
1573
+ }), [...n, ...nr, ...rr];
1574
+ }
1575
+ const sr = or();
1576
+ Ot.formats = sr.map((n) => n.verbatimCoordinates);
1577
+ const lr = Ot;
1578
+ function ri(n, e, t) {
1579
1579
  const i = n.slice();
1580
- return i[83] = e[t], i[85] = t, i;
1580
+ return i[84] = e[t], i[86] = t, i;
1581
1581
  }
1582
- function ri(n) {
1582
+ function oi(n) {
1583
1583
  let e, t;
1584
- return e = new zn({}), {
1584
+ return e = new Fn({}), {
1585
1585
  c() {
1586
1586
  _e(e.$$.fragment);
1587
1587
  },
@@ -1589,7 +1589,7 @@ function ri(n) {
1589
1589
  he(e, i, r), t = !0;
1590
1590
  },
1591
1591
  i(i) {
1592
- t || (Z(e.$$.fragment, i), t = !0);
1592
+ t || (G(e.$$.fragment, i), t = !0);
1593
1593
  },
1594
1594
  o(i) {
1595
1595
  V(e.$$.fragment, i), t = !1;
@@ -1599,16 +1599,16 @@ function ri(n) {
1599
1599
  }
1600
1600
  };
1601
1601
  }
1602
- function oi(n) {
1602
+ function si(n) {
1603
1603
  let e, t, i, r, o;
1604
- return t = new Gn({}), {
1604
+ return t = new Qn({}), {
1605
1605
  c() {
1606
- e = W("button"), _e(t.$$.fragment), v(e, "type", "button"), v(
1606
+ e = W("button"), _e(t.$$.fragment), p(e, "type", "button"), p(
1607
1607
  e,
1608
1608
  "title",
1609
1609
  /*reverseButtonTitle*/
1610
1610
  n[9]
1611
- ), v(e, "class", "svelte-qnu791"), se(
1611
+ ), p(e, "class", "svelte-1uvos7g"), oe(
1612
1612
  e,
1613
1613
  "active",
1614
1614
  /*reverseActive*/
@@ -1620,18 +1620,18 @@ function oi(n) {
1620
1620
  e,
1621
1621
  "click",
1622
1622
  /*click_handler_2*/
1623
- n[68]
1623
+ n[69]
1624
1624
  ), r = !0);
1625
1625
  },
1626
1626
  p(l, s) {
1627
1627
  (!i || s[0] & /*reverseButtonTitle*/
1628
- 512) && v(
1628
+ 512) && p(
1629
1629
  e,
1630
1630
  "title",
1631
1631
  /*reverseButtonTitle*/
1632
1632
  l[9]
1633
1633
  ), (!i || s[0] & /*reverseActive*/
1634
- 1) && se(
1634
+ 1) && oe(
1635
1635
  e,
1636
1636
  "active",
1637
1637
  /*reverseActive*/
@@ -1639,7 +1639,7 @@ function oi(n) {
1639
1639
  );
1640
1640
  },
1641
1641
  i(l) {
1642
- i || (Z(t.$$.fragment, l), i = !0);
1642
+ i || (G(t.$$.fragment, l), i = !0);
1643
1643
  },
1644
1644
  o(l) {
1645
1645
  V(t.$$.fragment, l), i = !1;
@@ -1649,27 +1649,27 @@ function oi(n) {
1649
1649
  }
1650
1650
  };
1651
1651
  }
1652
- function lr(n) {
1653
- let e, t = [], i = /* @__PURE__ */ new Map(), r, o, l, s = Vt(
1652
+ function ur(n) {
1653
+ let e, t = [], i = /* @__PURE__ */ new Map(), r, o, l, s = Yt(
1654
1654
  /*listFeatures*/
1655
1655
  n[14]
1656
1656
  );
1657
1657
  const c = (u) => (
1658
1658
  /*feature*/
1659
- u[83].id + /*feature*/
1660
- (u[83].address ? "," + /*feature*/
1661
- u[83].address : "")
1659
+ u[84].id + /*feature*/
1660
+ (u[84].address ? "," + /*feature*/
1661
+ u[84].address : "")
1662
1662
  );
1663
1663
  for (let u = 0; u < s.length; u += 1) {
1664
- let d = ni(n, s, u), a = c(d);
1665
- i.set(a, t[u] = si(a, d));
1664
+ let d = ri(n, s, u), a = c(d);
1665
+ i.set(a, t[u] = li(a, d));
1666
1666
  }
1667
1667
  return {
1668
1668
  c() {
1669
1669
  e = W("ul");
1670
1670
  for (let u = 0; u < t.length; u += 1)
1671
1671
  t[u].c();
1672
- v(e, "class", "svelte-qnu791");
1672
+ p(e, "class", "svelte-1uvos7g");
1673
1673
  },
1674
1674
  m(u, d) {
1675
1675
  z(u, e, d);
@@ -1680,27 +1680,27 @@ function lr(n) {
1680
1680
  e,
1681
1681
  "mouseleave",
1682
1682
  /*mouseleave_handler*/
1683
- n[72]
1683
+ n[73]
1684
1684
  ),
1685
1685
  J(
1686
1686
  e,
1687
1687
  "blur",
1688
1688
  /*blur_handler_1*/
1689
- n[73]
1689
+ n[74]
1690
1690
  )
1691
1691
  ], o = !0);
1692
1692
  },
1693
1693
  p(u, d) {
1694
1694
  d[0] & /*listFeatures, showPlaceType, selectedItemIndex, missingIconsCache, iconsBaseUrl, pick*/
1695
- 17880064 && (s = Vt(
1695
+ 17880064 && (s = Yt(
1696
1696
  /*listFeatures*/
1697
1697
  u[14]
1698
- ), nt(), t = Ln(t, d, c, 1, u, s, i, e, En, si, null, ni), rt());
1698
+ ), nt(), t = xn(t, d, c, 1, u, s, i, e, Ln, li, null, ri), rt());
1699
1699
  },
1700
1700
  i(u) {
1701
1701
  if (!r) {
1702
1702
  for (let d = 0; d < s.length; d += 1)
1703
- Z(t[d]);
1703
+ G(t[d]);
1704
1704
  r = !0;
1705
1705
  }
1706
1706
  },
@@ -1717,28 +1717,28 @@ function lr(n) {
1717
1717
  }
1718
1718
  };
1719
1719
  }
1720
- function ur(n) {
1720
+ function ar(n) {
1721
1721
  let e, t, i, r, o, l;
1722
- return t = new Ni({}), {
1722
+ return t = new Pi({}), {
1723
1723
  c() {
1724
1724
  e = W("div"), _e(t.$$.fragment), i = ie(), r = W("div"), o = we(
1725
1725
  /*noResultsMessage*/
1726
1726
  n[7]
1727
- ), v(r, "class", "svelte-qnu791"), v(e, "class", "no-results svelte-qnu791");
1727
+ ), p(r, "class", "svelte-1uvos7g"), p(e, "class", "no-results svelte-1uvos7g");
1728
1728
  },
1729
1729
  m(s, c) {
1730
1730
  z(s, e, c), he(t, e, null), T(e, i), T(e, r), T(r, o), l = !0;
1731
1731
  },
1732
1732
  p(s, c) {
1733
1733
  (!l || c[0] & /*noResultsMessage*/
1734
- 128) && qe(
1734
+ 128) && je(
1735
1735
  o,
1736
1736
  /*noResultsMessage*/
1737
1737
  s[7]
1738
1738
  );
1739
1739
  },
1740
1740
  i(s) {
1741
- l || (Z(t.$$.fragment, s), l = !0);
1741
+ l || (G(t.$$.fragment, s), l = !0);
1742
1742
  },
1743
1743
  o(s) {
1744
1744
  V(t.$$.fragment, s), l = !1;
@@ -1748,7 +1748,7 @@ function ur(n) {
1748
1748
  }
1749
1749
  };
1750
1750
  }
1751
- function ar(n) {
1751
+ function cr(n) {
1752
1752
  let e = "", t;
1753
1753
  return {
1754
1754
  c() {
@@ -1765,33 +1765,33 @@ function ar(n) {
1765
1765
  }
1766
1766
  };
1767
1767
  }
1768
- function cr(n) {
1768
+ function fr(n) {
1769
1769
  let e, t, i, r, o, l, s, c, u, d, a;
1770
- return t = new Ni({}), c = new Ci({}), {
1770
+ return t = new Pi({}), c = new Ni({}), {
1771
1771
  c() {
1772
1772
  e = W("div"), _e(t.$$.fragment), i = ie(), r = W("div"), o = we(
1773
1773
  /*errorMessage*/
1774
1774
  n[6]
1775
- ), l = ie(), s = W("button"), _e(c.$$.fragment), v(r, "class", "svelte-qnu791"), v(s, "class", "svelte-qnu791"), v(e, "class", "error svelte-qnu791");
1775
+ ), l = ie(), s = W("button"), _e(c.$$.fragment), p(r, "class", "svelte-1uvos7g"), p(s, "class", "svelte-1uvos7g"), p(e, "class", "error svelte-1uvos7g");
1776
1776
  },
1777
1777
  m(f, h) {
1778
1778
  z(f, e, h), he(t, e, null), T(e, i), T(e, r), T(r, o), T(e, l), T(e, s), he(c, s, null), u = !0, d || (a = J(
1779
1779
  s,
1780
1780
  "click",
1781
1781
  /*click_handler_3*/
1782
- n[69]
1782
+ n[70]
1783
1783
  ), d = !0);
1784
1784
  },
1785
1785
  p(f, h) {
1786
1786
  (!u || h[0] & /*errorMessage*/
1787
- 64) && qe(
1787
+ 64) && je(
1788
1788
  o,
1789
1789
  /*errorMessage*/
1790
1790
  f[6]
1791
1791
  );
1792
1792
  },
1793
1793
  i(f) {
1794
- u || (Z(t.$$.fragment, f), Z(c.$$.fragment, f), u = !0);
1794
+ u || (G(t.$$.fragment, f), G(c.$$.fragment, f), u = !0);
1795
1795
  },
1796
1796
  o(f) {
1797
1797
  V(t.$$.fragment, f), V(c.$$.fragment, f), u = !1;
@@ -1801,31 +1801,31 @@ function cr(n) {
1801
1801
  }
1802
1802
  };
1803
1803
  }
1804
- function si(n, e) {
1804
+ function li(n, e) {
1805
1805
  let t, i, r;
1806
1806
  function o() {
1807
1807
  return (
1808
1808
  /*mouseenter_handler*/
1809
- e[70](
1809
+ e[71](
1810
1810
  /*i*/
1811
- e[85]
1811
+ e[86]
1812
1812
  )
1813
1813
  );
1814
1814
  }
1815
1815
  function l() {
1816
1816
  return (
1817
1817
  /*focus_handler_1*/
1818
- e[71](
1818
+ e[72](
1819
1819
  /*feature*/
1820
- e[83]
1820
+ e[84]
1821
1821
  )
1822
1822
  );
1823
1823
  }
1824
- return i = new Dn({
1824
+ return i = new Un({
1825
1825
  props: {
1826
1826
  feature: (
1827
1827
  /*feature*/
1828
- e[83]
1828
+ e[84]
1829
1829
  ),
1830
1830
  showPlaceType: (
1831
1831
  /*showPlaceType*/
@@ -1834,7 +1834,7 @@ function si(n, e) {
1834
1834
  selected: (
1835
1835
  /*selectedItemIndex*/
1836
1836
  e[15] === /*i*/
1837
- e[85]
1837
+ e[86]
1838
1838
  ),
1839
1839
  missingIconsCache: (
1840
1840
  /*missingIconsCache*/
@@ -1849,7 +1849,7 @@ function si(n, e) {
1849
1849
  key: n,
1850
1850
  first: null,
1851
1851
  c() {
1852
- t = dn(), _e(i.$$.fragment), this.first = t;
1852
+ t = hn(), _e(i.$$.fragment), this.first = t;
1853
1853
  },
1854
1854
  m(s, c) {
1855
1855
  z(s, t, c), he(i, s, c), r = !0;
@@ -1859,17 +1859,17 @@ function si(n, e) {
1859
1859
  const u = {};
1860
1860
  c[0] & /*listFeatures*/
1861
1861
  16384 && (u.feature = /*feature*/
1862
- e[83]), c[0] & /*showPlaceType*/
1862
+ e[84]), c[0] & /*showPlaceType*/
1863
1863
  1024 && (u.showPlaceType = /*showPlaceType*/
1864
1864
  e[10]), c[0] & /*selectedItemIndex, listFeatures*/
1865
1865
  49152 && (u.selected = /*selectedItemIndex*/
1866
1866
  e[15] === /*i*/
1867
- e[85]), c[0] & /*iconsBaseUrl*/
1867
+ e[86]), c[0] & /*iconsBaseUrl*/
1868
1868
  4096 && (u.iconsBaseUrl = /*iconsBaseUrl*/
1869
1869
  e[12]), i.$set(u);
1870
1870
  },
1871
1871
  i(s) {
1872
- r || (Z(i.$$.fragment, s), r = !0);
1872
+ r || (G(i.$$.fragment, s), r = !0);
1873
1873
  },
1874
1874
  o(s) {
1875
1875
  V(i.$$.fragment, s), r = !1;
@@ -1879,28 +1879,28 @@ function si(n, e) {
1879
1879
  }
1880
1880
  };
1881
1881
  }
1882
- function fr(n) {
1883
- let e, t, i, r, o, l, s, c, u, d, a, f, h, b, y, p, m, E, S, _, k, x = !1;
1884
- o = new Hn({}), a = new Ci({});
1882
+ function dr(n) {
1883
+ let e, t, i, r, o, l, s, c, u, d, a, f, h, b, y, v, m, E, S, _, k, x = !1;
1884
+ o = new Vn({}), a = new Ni({});
1885
1885
  let L = (
1886
1886
  /*abortController*/
1887
- n[19] && ri()
1887
+ n[19] && oi()
1888
1888
  ), w = (
1889
1889
  /*enableReverse*/
1890
- n[5] === !0 && oi(n)
1890
+ n[5] === !0 && si(n)
1891
1891
  );
1892
1892
  const C = (
1893
1893
  /*#slots*/
1894
- n[60].default
1895
- ), I = un(
1894
+ n[61].default
1895
+ ), I = an(
1896
1896
  C,
1897
1897
  n,
1898
1898
  /*$$scope*/
1899
- n[59],
1899
+ n[60],
1900
1900
  null
1901
- ), D = [cr, ar, ur, lr], F = [];
1902
- function O(M, q) {
1903
- var $, ne;
1901
+ ), D = [fr, cr, ar, ur], F = [];
1902
+ function O(M, j) {
1903
+ var $, se;
1904
1904
  return (
1905
1905
  /*error*/
1906
1906
  M[18] ? 0 : (
@@ -1910,38 +1910,38 @@ function fr(n) {
1910
1910
  (($ = M[14]) == null ? void 0 : $.length) === 0 ? 2 : (
1911
1911
  /*focusedDelayed*/
1912
1912
  M[16] && /*listFeatures*/
1913
- ((ne = M[14]) != null && ne.length) ? 3 : -1
1913
+ ((se = M[14]) != null && se.length) ? 3 : -1
1914
1914
  )
1915
1915
  ) : 1
1916
1916
  )
1917
1917
  );
1918
1918
  }
1919
- return ~(p = O(n)) && (m = F[p] = D[p](n)), {
1919
+ return ~(v = O(n)) && (m = F[v] = D[v](n)), {
1920
1920
  c() {
1921
- e = ie(), t = W("form"), i = W("div"), r = W("button"), _e(o.$$.fragment), l = ie(), s = W("input"), c = ie(), u = W("div"), d = W("button"), _e(a.$$.fragment), f = ie(), L && L.c(), h = ie(), w && w.c(), b = ie(), I && I.c(), y = ie(), m && m.c(), v(r, "class", "search-button svelte-qnu791"), v(r, "type", "button"), v(
1921
+ e = ie(), t = W("form"), i = W("div"), r = W("button"), _e(o.$$.fragment), l = ie(), s = W("input"), c = ie(), u = W("div"), d = W("button"), _e(a.$$.fragment), f = ie(), L && L.c(), h = ie(), w && w.c(), b = ie(), I && I.c(), y = ie(), m && m.c(), p(r, "class", "search-button svelte-1uvos7g"), p(r, "type", "button"), p(
1922
1922
  s,
1923
1923
  "placeholder",
1924
1924
  /*placeholder*/
1925
1925
  n[8]
1926
- ), v(
1926
+ ), p(
1927
1927
  s,
1928
1928
  "aria-label",
1929
1929
  /*placeholder*/
1930
1930
  n[8]
1931
- ), v(s, "class", "svelte-qnu791"), v(d, "type", "button"), v(
1931
+ ), p(s, "class", "svelte-1uvos7g"), p(d, "type", "button"), p(
1932
1932
  d,
1933
1933
  "title",
1934
1934
  /*clearButtonTitle*/
1935
1935
  n[3]
1936
- ), v(d, "class", "svelte-qnu791"), v(u, "class", "clear-button-container svelte-qnu791"), se(
1936
+ ), p(d, "class", "svelte-1uvos7g"), p(u, "class", "clear-button-container svelte-1uvos7g"), oe(
1937
1937
  u,
1938
1938
  "displayable",
1939
1939
  /*searchValue*/
1940
1940
  n[1] !== ""
1941
- ), v(i, "class", "input-group svelte-qnu791"), v(t, "tabindex", "0"), v(t, "class", E = Zt(
1941
+ ), p(i, "class", "input-group svelte-1uvos7g"), p(t, "tabindex", "0"), p(t, "class", E = qt(
1942
1942
  /*className*/
1943
1943
  n[2]
1944
- ) + " svelte-qnu791"), se(
1944
+ ) + " svelte-1uvos7g"), oe(
1945
1945
  t,
1946
1946
  "can-collapse",
1947
1947
  /*collapsed*/
@@ -1949,35 +1949,35 @@ function fr(n) {
1949
1949
  n[1] === ""
1950
1950
  );
1951
1951
  },
1952
- m(M, q) {
1953
- z(M, e, q), z(M, t, q), T(t, i), T(i, r), he(o, r, null), T(i, l), T(i, s), n[62](s), Gt(
1952
+ m(M, j) {
1953
+ z(M, e, j), z(M, t, j), T(t, i), T(i, r), he(o, r, null), T(i, l), T(i, s), n[63](s), Qt(
1954
1954
  s,
1955
1955
  /*searchValue*/
1956
1956
  n[1]
1957
- ), T(i, c), T(i, u), T(u, d), he(a, d, null), T(u, f), L && L.m(u, null), T(i, h), w && w.m(i, null), T(i, b), I && I.m(i, null), T(t, y), ~p && F[p].m(t, null), S = !0, _ || (k = [
1957
+ ), T(i, c), T(i, u), T(u, d), he(a, d, null), T(u, f), L && L.m(u, null), T(i, h), w && w.m(i, null), T(i, b), I && I.m(i, null), T(t, y), ~v && F[v].m(t, null), S = !0, _ || (k = [
1958
1958
  J(
1959
1959
  r,
1960
1960
  "click",
1961
1961
  /*click_handler*/
1962
- n[61]
1962
+ n[62]
1963
1963
  ),
1964
1964
  J(
1965
1965
  s,
1966
1966
  "input",
1967
1967
  /*input_1_input_handler*/
1968
- n[63]
1968
+ n[64]
1969
1969
  ),
1970
1970
  J(
1971
1971
  s,
1972
1972
  "focus",
1973
1973
  /*focus_handler*/
1974
- n[64]
1974
+ n[65]
1975
1975
  ),
1976
1976
  J(
1977
1977
  s,
1978
1978
  "blur",
1979
1979
  /*blur_handler*/
1980
- n[65]
1980
+ n[66]
1981
1981
  ),
1982
1982
  J(
1983
1983
  s,
@@ -1989,87 +1989,87 @@ function fr(n) {
1989
1989
  s,
1990
1990
  "input",
1991
1991
  /*input_handler*/
1992
- n[66]
1992
+ n[67]
1993
1993
  ),
1994
1994
  J(
1995
1995
  d,
1996
1996
  "click",
1997
1997
  /*click_handler_1*/
1998
- n[67]
1998
+ n[68]
1999
1999
  ),
2000
- J(t, "submit", hn(
2000
+ J(t, "submit", gn(
2001
2001
  /*handleOnSubmit*/
2002
2002
  n[21]
2003
2003
  ))
2004
2004
  ], _ = !0);
2005
2005
  },
2006
- p(M, q) {
2007
- (!S || q[0] & /*placeholder*/
2008
- 256) && v(
2006
+ p(M, j) {
2007
+ (!S || j[0] & /*placeholder*/
2008
+ 256) && p(
2009
2009
  s,
2010
2010
  "placeholder",
2011
2011
  /*placeholder*/
2012
2012
  M[8]
2013
- ), (!S || q[0] & /*placeholder*/
2014
- 256) && v(
2013
+ ), (!S || j[0] & /*placeholder*/
2014
+ 256) && p(
2015
2015
  s,
2016
2016
  "aria-label",
2017
2017
  /*placeholder*/
2018
2018
  M[8]
2019
- ), q[0] & /*searchValue*/
2019
+ ), j[0] & /*searchValue*/
2020
2020
  2 && s.value !== /*searchValue*/
2021
- M[1] && Gt(
2021
+ M[1] && Qt(
2022
2022
  s,
2023
2023
  /*searchValue*/
2024
2024
  M[1]
2025
- ), (!S || q[0] & /*clearButtonTitle*/
2026
- 8) && v(
2025
+ ), (!S || j[0] & /*clearButtonTitle*/
2026
+ 8) && p(
2027
2027
  d,
2028
2028
  "title",
2029
2029
  /*clearButtonTitle*/
2030
2030
  M[3]
2031
2031
  ), /*abortController*/
2032
- M[19] ? L ? q[0] & /*abortController*/
2033
- 524288 && Z(L, 1) : (L = ri(), L.c(), Z(L, 1), L.m(u, null)) : L && (nt(), V(L, 1, 1, () => {
2032
+ M[19] ? L ? j[0] & /*abortController*/
2033
+ 524288 && G(L, 1) : (L = oi(), L.c(), G(L, 1), L.m(u, null)) : L && (nt(), V(L, 1, 1, () => {
2034
2034
  L = null;
2035
- }), rt()), (!S || q[0] & /*searchValue*/
2036
- 2) && se(
2035
+ }), rt()), (!S || j[0] & /*searchValue*/
2036
+ 2) && oe(
2037
2037
  u,
2038
2038
  "displayable",
2039
2039
  /*searchValue*/
2040
2040
  M[1] !== ""
2041
2041
  ), /*enableReverse*/
2042
- M[5] === !0 ? w ? (w.p(M, q), q[0] & /*enableReverse*/
2043
- 32 && Z(w, 1)) : (w = oi(M), w.c(), Z(w, 1), w.m(i, b)) : w && (nt(), V(w, 1, 1, () => {
2042
+ M[5] === !0 ? w ? (w.p(M, j), j[0] & /*enableReverse*/
2043
+ 32 && G(w, 1)) : (w = si(M), w.c(), G(w, 1), w.m(i, b)) : w && (nt(), V(w, 1, 1, () => {
2044
2044
  w = null;
2045
- }), rt()), I && I.p && (!S || q[1] & /*$$scope*/
2046
- 268435456) && cn(
2045
+ }), rt()), I && I.p && (!S || j[1] & /*$$scope*/
2046
+ 536870912) && fn(
2047
2047
  I,
2048
2048
  C,
2049
2049
  M,
2050
2050
  /*$$scope*/
2051
- M[59],
2052
- S ? an(
2051
+ M[60],
2052
+ S ? cn(
2053
2053
  C,
2054
2054
  /*$$scope*/
2055
- M[59],
2056
- q,
2055
+ M[60],
2056
+ j,
2057
2057
  null
2058
- ) : fn(
2058
+ ) : dn(
2059
2059
  /*$$scope*/
2060
- M[59]
2060
+ M[60]
2061
2061
  ),
2062
2062
  null
2063
2063
  );
2064
- let $ = p;
2065
- p = O(M), p === $ ? ~p && F[p].p(M, q) : (m && (nt(), V(F[$], 1, 1, () => {
2064
+ let $ = v;
2065
+ v = O(M), v === $ ? ~v && F[v].p(M, j) : (m && (nt(), V(F[$], 1, 1, () => {
2066
2066
  F[$] = null;
2067
- }), rt()), ~p ? (m = F[p], m ? m.p(M, q) : (m = F[p] = D[p](M), m.c()), Z(m, 1), m.m(t, null)) : m = null), (!S || q[0] & /*className*/
2068
- 4 && E !== (E = Zt(
2067
+ }), rt()), ~v ? (m = F[v], m ? m.p(M, j) : (m = F[v] = D[v](M), m.c()), G(m, 1), m.m(t, null)) : m = null), (!S || j[0] & /*className*/
2068
+ 4 && E !== (E = qt(
2069
2069
  /*className*/
2070
2070
  M[2]
2071
- ) + " svelte-qnu791")) && v(t, "class", E), (!S || q[0] & /*className, collapsed, searchValue*/
2072
- 22) && se(
2071
+ ) + " svelte-1uvos7g")) && p(t, "class", E), (!S || j[0] & /*className, collapsed, searchValue*/
2072
+ 22) && oe(
2073
2073
  t,
2074
2074
  "can-collapse",
2075
2075
  /*collapsed*/
@@ -2078,17 +2078,17 @@ function fr(n) {
2078
2078
  );
2079
2079
  },
2080
2080
  i(M) {
2081
- S || (Z(x), Z(o.$$.fragment, M), Z(a.$$.fragment, M), Z(L), Z(w), Z(I, M), Z(m), S = !0);
2081
+ S || (G(x), G(o.$$.fragment, M), G(a.$$.fragment, M), G(L), G(w), G(I, M), G(m), S = !0);
2082
2082
  },
2083
2083
  o(M) {
2084
2084
  V(x), V(o.$$.fragment, M), V(a.$$.fragment, M), V(L), V(w), V(I, M), V(m), S = !1;
2085
2085
  },
2086
2086
  d(M) {
2087
- M && (B(e), B(t)), ge(o), n[62](null), ge(a), L && L.d(), w && w.d(), I && I.d(M), ~p && F[p].d(), _ = !1, me(k);
2087
+ M && (B(e), B(t)), ge(o), n[63](null), ge(a), L && L.d(), w && w.d(), I && I.d(M), ~v && F[v].d(), _ = !1, me(k);
2088
2088
  }
2089
2089
  };
2090
2090
  }
2091
- function dr(n, e, t) {
2091
+ function hr(n, e, t) {
2092
2092
  let i, { $$slots: r = {}, $$scope: o } = e;
2093
2093
  const l = {
2094
2094
  continental_marine: 4,
@@ -2114,69 +2114,69 @@ function dr(n, e, t) {
2114
2114
  "poi.restaurant": 18,
2115
2115
  "poi.aerodrome": 13
2116
2116
  };
2117
- let { class: s = void 0 } = e, { apiKey: c } = e, { bbox: u = void 0 } = e, { clearButtonTitle: d = "clear" } = e, { clearOnBlur: a = !1 } = e, { collapsed: f = !1 } = e, { country: h = void 0 } = e, { debounceSearch: b = 200 } = e, { enableReverse: y = !1 } = e, { errorMessage: p = "Something went wrong…" } = e, { filter: m = () => !0 } = e, { flyTo: E = !0 } = e, { fuzzyMatch: S = !0 } = e, { language: _ = void 0 } = e, { limit: k = void 0 } = e, { mapController: x = void 0 } = e, { minLength: L = 2 } = e, { noResultsMessage: w = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = e, { placeholder: C = "Search" } = e, { proximity: I = [{ type: "server-geolocation" }] } = e, { reverseActive: D = y === "always" } = e, { reverseButtonTitle: F = "toggle reverse geocoding" } = e, { searchValue: O = "" } = e, { showFullGeometry: M = !0 } = e, { showPlaceType: q = "ifNeeded" } = e, { showResultsWhileTyping: $ = !0 } = e, { selectFirst: ne = !0 } = e, { flyToSelected: at = !1 } = e, { markerOnSelected: Ve = !0 } = e, { types: Me = void 0 } = e, { excludeTypes: Ye = !1 } = e, { zoom: Pe = l } = e, { maxZoom: Ke = void 0 } = e, { apiUrl: ct = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: ft = {} } = e, { iconsBaseUrl: Bt = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.4.2-dev.1/icons/" } = e, { adjustUrlQuery: dt = () => {
2117
+ let { class: s = void 0 } = e, { apiKey: c } = e, { bbox: u = void 0 } = e, { clearButtonTitle: d = "clear" } = e, { clearOnBlur: a = !1 } = e, { collapsed: f = !1 } = e, { country: h = void 0 } = e, { debounceSearch: b = 200 } = e, { enableReverse: y = !1 } = e, { errorMessage: v = "Something went wrong…" } = e, { filter: m = () => !0 } = e, { flyTo: E = !0 } = e, { fuzzyMatch: S = !0 } = e, { language: _ = void 0 } = e, { limit: k = void 0 } = e, { mapController: x = void 0 } = e, { minLength: L = 2 } = e, { noResultsMessage: w = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = e, { placeholder: C = "Search" } = e, { proximity: I = [{ type: "server-geolocation" }] } = e, { reverseActive: D = y === "always" } = e, { reverseButtonTitle: F = "toggle reverse geocoding" } = e, { searchValue: O = "" } = e, { showFullGeometry: M = !0 } = e, { showPlaceType: j = "ifNeeded" } = e, { showResultsWhileTyping: $ = !0 } = e, { selectFirst: se = !0 } = e, { flyToSelected: at = !1 } = e, { markerOnSelected: Ve = !0 } = e, { types: Me = void 0 } = e, { exhaustiveReverseGeocoding: ct = !1 } = e, { excludeTypes: Ye = !1 } = e, { zoom: Pe = l } = e, { maxZoom: Ke = void 0 } = e, { apiUrl: ft = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: dt = {} } = e, { iconsBaseUrl: Dt = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.4.2-dev.3/icons/" } = e, { adjustUrlQuery: ht = () => {
2118
2118
  } } = e;
2119
- function Wi() {
2119
+ function Ai() {
2120
2120
  ae.focus();
2121
2121
  }
2122
- function Ai() {
2122
+ function Bi() {
2123
2123
  ae.blur();
2124
2124
  }
2125
- function Dt(g, j = !0, H = !1) {
2126
- t(1, O = g), j ? (t(15, U = -1), zt()) : (pt(!H, H), setTimeout(() => {
2125
+ function Ut(g, Z = !0, H = !1) {
2126
+ t(1, O = g), Z ? (t(15, U = -1), Ft()) : (pt(!H, H), setTimeout(() => {
2127
2127
  ae.focus(), ae.select();
2128
2128
  }));
2129
2129
  }
2130
- function Bi() {
2131
- t(14, R = void 0), t(56, N = void 0), t(15, U = -1);
2132
- }
2133
2130
  function Di() {
2134
- t(55, G = []), t(56, N = void 0);
2131
+ t(14, R = void 0), t(57, N = void 0), t(15, U = -1);
2135
2132
  }
2136
- let Te = !1, R, G, N, Ut = "", ae, U = -1, ce, Xe = [], ke, Re, Je, ht;
2137
- const Ui = /* @__PURE__ */ new Set(), pe = vn();
2133
+ function Ui() {
2134
+ t(56, q = []), t(57, N = void 0);
2135
+ }
2136
+ let Te = !1, R, q, N, zt = "", ae, U = -1, ce, Xe = [], ke, Re, Je, gt;
2137
+ const zi = /* @__PURE__ */ new Set(), ve = bn();
2138
2138
  pn(() => {
2139
2139
  x && (x.setEventHandler(void 0), x.indicateReverse(!1), x.setSelectedMarker(-1), x.setMarkers(void 0, void 0));
2140
2140
  });
2141
- function zt(g) {
2141
+ function Ft(g) {
2142
2142
  if (Re && (clearTimeout(Re), Re = void 0), U > -1 && R)
2143
- t(56, N = R[U]), t(1, O = N.place_type[0] === "reverse" ? N.place_name : N.place_name.replace(/,.*/, "")), t(18, ce = void 0), t(55, G = void 0), t(15, U = -1);
2143
+ t(57, N = R[U]), t(1, O = N.place_type[0] === "reverse" ? N.place_name : N.place_name.replace(/,.*/, "")), t(18, ce = void 0), t(56, q = void 0), t(15, U = -1);
2144
2144
  else if (O) {
2145
- const j = g || !gt(O);
2146
- mt(O, { exact: !0 }).then(() => {
2147
- t(55, G = R), t(56, N = void 0), j && zi();
2145
+ const Z = g || !mt(O);
2146
+ vt(O, { exact: !0 }).then(() => {
2147
+ t(56, q = R), t(57, N = void 0), Z && Fi();
2148
2148
  }).catch((H) => t(18, ce = H));
2149
2149
  }
2150
2150
  }
2151
- function gt(g) {
2151
+ function mt(g) {
2152
2152
  try {
2153
- return sr(g, 6);
2153
+ return lr(g, 6);
2154
2154
  } catch {
2155
2155
  return !1;
2156
2156
  }
2157
2157
  }
2158
- async function mt(g, { byId: j = !1, exact: H = !1 } = {}) {
2158
+ async function vt(g, { byId: Z = !1, exact: H = !1 } = {}) {
2159
2159
  t(18, ce = void 0), ke == null || ke.abort();
2160
2160
  const ee = new AbortController();
2161
2161
  t(19, ke = ee);
2162
2162
  try {
2163
- const P = gt(g), Q = new URLSearchParams();
2164
- if (_ !== void 0 && Q.set("language", Array.isArray(_) ? _.join(",") : _ ?? ""), Me && Q.set("types", Me.join(",")), Ye && Q.set("excludeTypes", String(Ye)), u && Q.set("bbox", u.map(($e) => $e.toFixed(6)).join(",")), h && Q.set("country", Array.isArray(h) ? h.join(",") : h), !j && !P) {
2165
- const $e = await Yn(x, I, ee);
2163
+ const P = mt(g), Q = new URLSearchParams();
2164
+ if (_ !== void 0 && Q.set("language", Array.isArray(_) ? _.join(",") : _ ?? ""), Me && Q.set("types", Me.join(",")), Ye && Q.set("excludeTypes", String(Ye)), u && Q.set("bbox", u.map(($e) => $e.toFixed(6)).join(",")), h && Q.set("country", Array.isArray(h) ? h.join(",") : h), !Z && !P) {
2165
+ const $e = await Kn(x, I, ee);
2166
2166
  $e && Q.set("proximity", $e), (H || !$) && Q.set("autocomplete", "false"), Q.set("fuzzyMatch", String(S));
2167
2167
  }
2168
- k !== void 0 && (!P || (Me == null ? void 0 : Me.length) === 1) && Q.set("limit", String(k)), Q.set("key", c), dt(Q);
2169
- const fe = ct + "/" + encodeURIComponent(P ? P.decimalLongitude + "," + P.decimalLatitude : g) + ".json?" + Q.toString();
2170
- if (fe === Ut) {
2171
- j ? (t(14, R = void 0), t(56, N = Xe[0])) : t(14, R = Xe);
2168
+ k !== void 0 && (ct || !P || (Me == null ? void 0 : Me.length) === 1) && Q.set("limit", String(k)), Q.set("key", c), ht(Q);
2169
+ const fe = ft + "/" + encodeURIComponent(P ? P.decimalLongitude + "," + P.decimalLatitude : g) + ".json?" + Q.toString();
2170
+ if (fe === zt) {
2171
+ Z ? (t(14, R = void 0), t(57, N = Xe[0])) : t(14, R = Xe);
2172
2172
  return;
2173
2173
  }
2174
- Ut = fe;
2175
- const bt = await fetch(fe, { signal: ee.signal, ...ft });
2176
- if (!bt.ok)
2177
- throw new Error(await bt.text());
2178
- const yt = await bt.json();
2179
- pe("response", { url: fe, featureCollection: yt }), j ? (t(14, R = void 0), t(56, N = yt.features[0]), Xe = [N]) : (t(14, R = yt.features.filter(m)), P && R.unshift({
2174
+ zt = fe;
2175
+ const yt = await fetch(fe, { signal: ee.signal, ...dt });
2176
+ if (!yt.ok)
2177
+ throw new Error(await yt.text());
2178
+ const wt = await yt.json();
2179
+ ve("response", { url: fe, featureCollection: wt }), Z ? (t(14, R = void 0), t(57, N = wt.features[0]), Xe = [N]) : (t(14, R = wt.features.filter(m)), P && R.unshift({
2180
2180
  type: "Feature",
2181
2181
  properties: {},
2182
2182
  id: "reverse_" + P.decimalLongitude + "_" + P.decimalLatitude,
@@ -2203,19 +2203,19 @@ function dr(n, e, t) {
2203
2203
  ee === ke && t(19, ke = void 0);
2204
2204
  }
2205
2205
  }
2206
- function zi() {
2206
+ function Fi() {
2207
2207
  var ee;
2208
- if (!(G != null && G.length) || !E)
2208
+ if (!(q != null && q.length) || !E)
2209
2209
  return;
2210
- const g = [180, 90, -180, -90], j = !G.some((P) => !P.matching_text);
2210
+ const g = [180, 90, -180, -90], Z = !q.some((P) => !P.matching_text);
2211
2211
  let H;
2212
- for (const P of G) {
2212
+ for (const P of q) {
2213
2213
  const Q = Be(P);
2214
- if (H = Ke ?? (H === void 0 ? Q : Q === void 0 ? H : Math.max(H, Q)), j || !P.matching_text)
2214
+ if (H = Ke ?? (H === void 0 ? Q : Q === void 0 ? H : Math.max(H, Q)), Z || !P.matching_text)
2215
2215
  for (const fe of [0, 1, 2, 3])
2216
2216
  g[fe] = Math[fe < 2 ? "min" : "max"](g[fe], ((ee = P.bbox) == null ? void 0 : ee[fe]) ?? P.center[fe % 2]);
2217
2217
  }
2218
- x && G.length > 0 && (N && g[0] === g[2] && g[1] === g[3] ? x.flyTo(N.center, Be(N)) : x.fitBounds(st(g), 50, H));
2218
+ x && q.length > 0 && (N && g[0] === g[2] && g[1] === g[3] ? x.flyTo(N.center, Be(N)) : x.fitBounds(st(g), 50, H));
2219
2219
  }
2220
2220
  function Be(g) {
2221
2221
  var H;
@@ -2223,58 +2223,58 @@ function dr(n, e, t) {
2223
2223
  return;
2224
2224
  if (typeof Pe == "number")
2225
2225
  return g.id.startsWith("poi.") || g.id.startsWith("address.") ? Ke : Pe;
2226
- const j = g.id.replace(/\..*/, "");
2226
+ const Z = g.id.replace(/\..*/, "");
2227
2227
  return (Array.isArray((H = g.properties) == null ? void 0 : H.categories) ? g.properties.categories.reduce(
2228
2228
  (ee, P) => {
2229
- const Q = Pe[j + "." + P];
2229
+ const Q = Pe[Z + "." + P];
2230
2230
  return ee === void 0 ? Q : Q === void 0 ? ee : Math.max(ee, Q);
2231
2231
  },
2232
2232
  void 0
2233
- ) : void 0) ?? Pe[j];
2233
+ ) : void 0) ?? Pe[Z];
2234
2234
  }
2235
- function Fi(g) {
2236
- t(0, D = y === "always"), t(14, R = void 0), t(56, N = void 0), t(15, U = -1), Dt(g[1].toFixed(6) + ", " + Vn(g[0], [-180, 180], !0).toFixed(6), !1, !0);
2235
+ function ji(g) {
2236
+ t(0, D = y === "always"), t(14, R = void 0), t(57, N = void 0), t(15, U = -1), Ut(g[1].toFixed(6) + ", " + Yn(g[0], [-180, 180], !0).toFixed(6), !1, !0);
2237
2237
  }
2238
- function qi(g) {
2238
+ function Zi(g) {
2239
2239
  if (!R)
2240
2240
  return;
2241
- let j = g.key === "ArrowDown" ? 1 : g.key === "ArrowUp" ? -1 : 0;
2242
- j && (U === (ne ? 0 : -1) && j === -1 && t(15, U = R.length), t(15, U += j), U >= R.length && t(15, U = -1), U < 0 && ne && t(15, U = 0), g.preventDefault());
2241
+ let Z = g.key === "ArrowDown" ? 1 : g.key === "ArrowUp" ? -1 : 0;
2242
+ Z && (U === (se ? 0 : -1) && Z === -1 && t(15, U = R.length), t(15, U += Z), U >= R.length && t(15, U = -1), U < 0 && se && t(15, U = 0), g.preventDefault());
2243
2243
  }
2244
- function pt(g = !0, j = !1) {
2245
- if (t(18, ce = void 0), $ || j) {
2244
+ function pt(g = !0, Z = !1) {
2245
+ if (t(18, ce = void 0), $ || Z) {
2246
2246
  if (Re && clearTimeout(Re), O.length < L)
2247
2247
  return;
2248
2248
  const H = O;
2249
2249
  Re = window.setTimeout(
2250
2250
  () => {
2251
- mt(H).catch((ee) => t(18, ce = ee));
2251
+ vt(H).catch((ee) => t(18, ce = ee));
2252
2252
  },
2253
2253
  g ? b : 0
2254
2254
  );
2255
2255
  } else
2256
2256
  t(14, R = void 0), t(18, ce = void 0);
2257
2257
  }
2258
- function vt(g) {
2259
- t(56, N = g), t(1, O = g.place_name), t(15, U = -1);
2258
+ function bt(g) {
2259
+ t(57, N = g), t(1, O = g.place_name), t(15, U = -1);
2260
2260
  }
2261
- const ji = () => ae.focus();
2262
- function Zi(g) {
2263
- St[g ? "unshift" : "push"](() => {
2261
+ const Gi = () => ae.focus();
2262
+ function qi(g) {
2263
+ Mt[g ? "unshift" : "push"](() => {
2264
2264
  ae = g, t(17, ae);
2265
2265
  });
2266
2266
  }
2267
- function Gi() {
2267
+ function Qi() {
2268
2268
  O = this.value, t(1, O), t(13, Te), t(28, a);
2269
2269
  }
2270
- const Qi = () => t(13, Te = !0), Hi = () => t(13, Te = !1), Vi = () => pt(), Yi = () => {
2270
+ const Hi = () => t(13, Te = !0), Vi = () => t(13, Te = !1), Yi = () => pt(), Ki = () => {
2271
2271
  t(1, O = ""), ae.focus();
2272
- }, Ki = () => t(0, D = !D), Xi = () => t(18, ce = void 0), Ji = (g) => t(15, U = g), $i = (g) => vt(g), en = () => {
2273
- ne || t(15, U = -1);
2274
- }, tn = () => {
2272
+ }, Xi = () => t(0, D = !D), Ji = () => t(18, ce = void 0), $i = (g) => t(15, U = g), en = (g) => bt(g), tn = () => {
2273
+ se || t(15, U = -1);
2274
+ }, nn = () => {
2275
2275
  };
2276
2276
  return n.$$set = (g) => {
2277
- "class" in g && t(2, s = g.class), "apiKey" in g && t(26, c = g.apiKey), "bbox" in g && t(27, u = g.bbox), "clearButtonTitle" in g && t(3, d = g.clearButtonTitle), "clearOnBlur" in g && t(28, a = g.clearOnBlur), "collapsed" in g && t(4, f = g.collapsed), "country" in g && t(29, h = g.country), "debounceSearch" in g && t(30, b = g.debounceSearch), "enableReverse" in g && t(5, y = g.enableReverse), "errorMessage" in g && t(6, p = g.errorMessage), "filter" in g && t(31, m = g.filter), "flyTo" in g && t(32, E = g.flyTo), "fuzzyMatch" in g && t(33, S = g.fuzzyMatch), "language" in g && t(34, _ = g.language), "limit" in g && t(35, k = g.limit), "mapController" in g && t(36, x = g.mapController), "minLength" in g && t(37, L = g.minLength), "noResultsMessage" in g && t(7, w = g.noResultsMessage), "placeholder" in g && t(8, C = g.placeholder), "proximity" in g && t(38, I = g.proximity), "reverseActive" in g && t(0, D = g.reverseActive), "reverseButtonTitle" in g && t(9, F = g.reverseButtonTitle), "searchValue" in g && t(1, O = g.searchValue), "showFullGeometry" in g && t(39, M = g.showFullGeometry), "showPlaceType" in g && t(10, q = g.showPlaceType), "showResultsWhileTyping" in g && t(40, $ = g.showResultsWhileTyping), "selectFirst" in g && t(11, ne = g.selectFirst), "flyToSelected" in g && t(41, at = g.flyToSelected), "markerOnSelected" in g && t(42, Ve = g.markerOnSelected), "types" in g && t(43, Me = g.types), "excludeTypes" in g && t(44, Ye = g.excludeTypes), "zoom" in g && t(45, Pe = g.zoom), "maxZoom" in g && t(46, Ke = g.maxZoom), "apiUrl" in g && t(47, ct = g.apiUrl), "fetchParameters" in g && t(48, ft = g.fetchParameters), "iconsBaseUrl" in g && t(12, Bt = g.iconsBaseUrl), "adjustUrlQuery" in g && t(49, dt = g.adjustUrlQuery), "$$scope" in g && t(59, o = g.$$scope);
2277
+ "class" in g && t(2, s = g.class), "apiKey" in g && t(26, c = g.apiKey), "bbox" in g && t(27, u = g.bbox), "clearButtonTitle" in g && t(3, d = g.clearButtonTitle), "clearOnBlur" in g && t(28, a = g.clearOnBlur), "collapsed" in g && t(4, f = g.collapsed), "country" in g && t(29, h = g.country), "debounceSearch" in g && t(30, b = g.debounceSearch), "enableReverse" in g && t(5, y = g.enableReverse), "errorMessage" in g && t(6, v = g.errorMessage), "filter" in g && t(31, m = g.filter), "flyTo" in g && t(32, E = g.flyTo), "fuzzyMatch" in g && t(33, S = g.fuzzyMatch), "language" in g && t(34, _ = g.language), "limit" in g && t(35, k = g.limit), "mapController" in g && t(36, x = g.mapController), "minLength" in g && t(37, L = g.minLength), "noResultsMessage" in g && t(7, w = g.noResultsMessage), "placeholder" in g && t(8, C = g.placeholder), "proximity" in g && t(38, I = g.proximity), "reverseActive" in g && t(0, D = g.reverseActive), "reverseButtonTitle" in g && t(9, F = g.reverseButtonTitle), "searchValue" in g && t(1, O = g.searchValue), "showFullGeometry" in g && t(39, M = g.showFullGeometry), "showPlaceType" in g && t(10, j = g.showPlaceType), "showResultsWhileTyping" in g && t(40, $ = g.showResultsWhileTyping), "selectFirst" in g && t(11, se = g.selectFirst), "flyToSelected" in g && t(41, at = g.flyToSelected), "markerOnSelected" in g && t(42, Ve = g.markerOnSelected), "types" in g && t(43, Me = g.types), "exhaustiveReverseGeocoding" in g && t(44, ct = g.exhaustiveReverseGeocoding), "excludeTypes" in g && t(45, Ye = g.excludeTypes), "zoom" in g && t(46, Pe = g.zoom), "maxZoom" in g && t(47, Ke = g.maxZoom), "apiUrl" in g && t(48, ft = g.apiUrl), "fetchParameters" in g && t(49, dt = g.fetchParameters), "iconsBaseUrl" in g && t(12, Dt = g.iconsBaseUrl), "adjustUrlQuery" in g && t(50, ht = g.adjustUrlQuery), "$$scope" in g && t(60, o = g.$$scope);
2278
2278
  }, n.$$.update = () => {
2279
2279
  if (n.$$.dirty[0] & /*enableReverse*/
2280
2280
  32 && t(0, D = y === "always"), n.$$.dirty[0] & /*focused, clearOnBlur*/
@@ -2282,53 +2282,53 @@ function dr(n, e, t) {
2282
2282
  t(16, Je = Te), a && !Te && t(1, O = "");
2283
2283
  }), n.$$.dirty[0] & /*searchValue, listFeatures*/
2284
2284
  16386 | n.$$.dirty[1] & /*minLength*/
2285
- 64 && O.length < L && (t(56, N = void 0), t(14, R = void 0), t(18, ce = void 0), t(55, G = R)), n.$$.dirty[1] & /*showFullGeometry, picked*/
2286
- 33554688 && M && N && !N.address && N.geometry.type === "Point" && N.place_type[0] !== "reverse" && mt(N.id, { byId: !0 }).catch((g) => t(18, ce = g)), n.$$.dirty[1] & /*mapController, picked, prevIdToFly, flyTo*/
2287
- 100663330 && (x && N && N.id !== ht && E && (!N.bbox || N.bbox[0] === N.bbox[2] && N.bbox[1] === N.bbox[3] ? x.flyTo(N.center, Be(N)) : x.fitBounds(st(N.bbox), 50, Be(N)), t(14, R = void 0), t(55, G = void 0), t(15, U = -1)), t(57, ht = N == null ? void 0 : N.id)), n.$$.dirty[0] & /*selectFirst, listFeatures*/
2288
- 18432 && ne && R != null && R.length && t(15, U = 0), n.$$.dirty[0] & /*selectFirst, searchValue*/
2289
- 2050 && (ne || t(15, U = -1)), n.$$.dirty[0] & /*listFeatures*/
2285
+ 64 && O.length < L && (t(57, N = void 0), t(14, R = void 0), t(18, ce = void 0), t(56, q = R)), n.$$.dirty[1] & /*showFullGeometry, picked*/
2286
+ 67109120 && M && N && !N.address && N.geometry.type === "Point" && N.place_type[0] !== "reverse" && vt(N.id, { byId: !0 }).catch((g) => t(18, ce = g)), n.$$.dirty[1] & /*mapController, picked, prevIdToFly, flyTo*/
2287
+ 201326626 && (x && N && N.id !== gt && E && (!N.bbox || N.bbox[0] === N.bbox[2] && N.bbox[1] === N.bbox[3] ? x.flyTo(N.center, Be(N)) : x.fitBounds(st(N.bbox), 50, Be(N)), t(14, R = void 0), t(56, q = void 0), t(15, U = -1)), t(58, gt = N == null ? void 0 : N.id)), n.$$.dirty[0] & /*selectFirst, listFeatures*/
2288
+ 18432 && se && R != null && R.length && t(15, U = 0), n.$$.dirty[0] & /*searchValue*/
2289
+ 2 && t(15, U = -1), n.$$.dirty[0] & /*listFeatures*/
2290
2290
  16384 | n.$$.dirty[1] & /*markedFeatures*/
2291
- 16777216 && G !== R && t(55, G = void 0), n.$$.dirty[0] & /*reverseActive, listFeatures, focusedDelayed*/
2291
+ 33554432 && q !== R && t(56, q = void 0), n.$$.dirty[0] & /*reverseActive, listFeatures, focusedDelayed*/
2292
2292
  81921 | n.$$.dirty[1] & /*mapController, markedFeatures*/
2293
- 16777248 && x && x.setEventHandler((g) => {
2293
+ 33554464 && x && x.setEventHandler((g) => {
2294
2294
  switch (g.type) {
2295
2295
  case "mapClick":
2296
- D && Fi(g.coordinates);
2296
+ D && ji(g.coordinates);
2297
2297
  break;
2298
2298
  case "markerClick":
2299
2299
  {
2300
- const j = R == null ? void 0 : R.find((H) => H.id === g.id);
2301
- j && vt(j);
2300
+ const Z = R == null ? void 0 : R.find((H) => H.id === g.id);
2301
+ Z && bt(Z);
2302
2302
  }
2303
2303
  break;
2304
2304
  case "markerMouseEnter":
2305
- G && t(15, U = Je ? (R == null ? void 0 : R.findIndex((j) => j.id === g.id)) ?? -1 : -1);
2305
+ q && t(15, U = Je ? (R == null ? void 0 : R.findIndex((Z) => Z.id === g.id)) ?? -1 : -1);
2306
2306
  break;
2307
2307
  case "markerMouseLeave":
2308
- G && t(15, U = -1);
2308
+ q && t(15, U = -1);
2309
2309
  break;
2310
2310
  }
2311
2311
  }), n.$$.dirty[0] & /*listFeatures, selectedItemIndex*/
2312
- 49152 && t(58, i = R == null ? void 0 : R[U]), n.$$.dirty[1] & /*mapController, selected, flyTo, flyToSelected*/
2313
- 134218786 && x && i && E && at && x.flyTo(i.center, Be(i)), n.$$.dirty[1] & /*markerOnSelected, mapController*/
2312
+ 49152 && t(59, i = R == null ? void 0 : R[U]), n.$$.dirty[1] & /*mapController, selected, flyTo, flyToSelected*/
2313
+ 268436514 && x && i && E && at && x.flyTo(i.center, Be(i)), n.$$.dirty[1] & /*markerOnSelected, mapController*/
2314
2314
  2080 && (Ve || x == null || x.setMarkers(void 0, void 0)), n.$$.dirty[1] & /*mapController, markerOnSelected, markedFeatures, selected*/
2315
- 150997024 && x && Ve && !G && (x.setMarkers(i ? [i] : void 0, void 0), x.setSelectedMarker(i ? 0 : -1)), n.$$.dirty[1] & /*mapController, markedFeatures, picked*/
2316
- 50331680 && x && x.setMarkers(G, N), n.$$.dirty[0] & /*selectedItemIndex*/
2315
+ 301991968 && x && Ve && !q && (x.setMarkers(i ? [i] : void 0, void 0), x.setSelectedMarker(i ? 0 : -1)), n.$$.dirty[1] & /*mapController, markedFeatures, picked*/
2316
+ 100663328 && x && x.setMarkers(q, N), n.$$.dirty[0] & /*selectedItemIndex*/
2317
2317
  32768 | n.$$.dirty[1] & /*markedFeatures, mapController*/
2318
- 16777248 && G && x && x.setSelectedMarker(U), n.$$.dirty[0] & /*searchValue*/
2318
+ 33554464 && q && x && x.setSelectedMarker(U), n.$$.dirty[0] & /*searchValue*/
2319
2319
  2 | n.$$.dirty[1] & /*mapController*/
2320
2320
  32 && x) {
2321
- const g = gt(O);
2321
+ const g = mt(O);
2322
2322
  x.setReverseMarker(g ? [g.decimalLongitude, g.decimalLatitude] : void 0);
2323
2323
  }
2324
2324
  n.$$.dirty[1] & /*selected*/
2325
- 134217728 && pe("select", i), n.$$.dirty[1] & /*picked*/
2326
- 33554432 && pe("pick", N), n.$$.dirty[0] & /*focusedDelayed, listFeatures*/
2327
- 81920 && pe("optionsVisibilityChange", Je && !!R), n.$$.dirty[0] & /*listFeatures*/
2328
- 16384 && pe("featuresListed", R), n.$$.dirty[1] & /*markedFeatures*/
2329
- 16777216 && pe("featuresMarked", G), n.$$.dirty[0] & /*reverseActive*/
2330
- 1 && pe("reverseToggle", D), n.$$.dirty[0] & /*searchValue*/
2331
- 2 && pe("queryChange", O), n.$$.dirty[0] & /*reverseActive*/
2325
+ 268435456 && ve("select", i), n.$$.dirty[1] & /*picked*/
2326
+ 67108864 && ve("pick", N), n.$$.dirty[0] & /*focusedDelayed, listFeatures*/
2327
+ 81920 && ve("optionsVisibilityChange", Je && !!R), n.$$.dirty[0] & /*listFeatures*/
2328
+ 16384 && ve("featuresListed", R), n.$$.dirty[1] & /*markedFeatures*/
2329
+ 33554432 && ve("featuresMarked", q), n.$$.dirty[0] & /*reverseActive*/
2330
+ 1 && ve("reverseToggle", D), n.$$.dirty[0] & /*searchValue*/
2331
+ 2 && ve("queryChange", O), n.$$.dirty[0] & /*reverseActive*/
2332
2332
  1 | n.$$.dirty[1] & /*mapController*/
2333
2333
  32 && x && x.indicateReverse(D);
2334
2334
  }, [
@@ -2338,13 +2338,13 @@ function dr(n, e, t) {
2338
2338
  d,
2339
2339
  f,
2340
2340
  y,
2341
- p,
2341
+ v,
2342
2342
  w,
2343
2343
  C,
2344
2344
  F,
2345
- q,
2346
- ne,
2347
- Bt,
2345
+ j,
2346
+ se,
2347
+ Dt,
2348
2348
  Te,
2349
2349
  R,
2350
2350
  U,
@@ -2352,11 +2352,11 @@ function dr(n, e, t) {
2352
2352
  ae,
2353
2353
  ce,
2354
2354
  ke,
2355
- Ui,
2356
- zt,
2357
- qi,
2355
+ zi,
2356
+ Ft,
2357
+ Zi,
2358
2358
  pt,
2359
- vt,
2359
+ bt,
2360
2360
  l,
2361
2361
  c,
2362
2362
  u,
@@ -2376,26 +2376,26 @@ function dr(n, e, t) {
2376
2376
  at,
2377
2377
  Ve,
2378
2378
  Me,
2379
+ ct,
2379
2380
  Ye,
2380
2381
  Pe,
2381
2382
  Ke,
2382
- ct,
2383
2383
  ft,
2384
2384
  dt,
2385
- Wi,
2385
+ ht,
2386
2386
  Ai,
2387
- Dt,
2388
2387
  Bi,
2388
+ Ut,
2389
2389
  Di,
2390
- G,
2390
+ Ui,
2391
+ q,
2391
2392
  N,
2392
- ht,
2393
+ gt,
2393
2394
  i,
2394
2395
  o,
2395
2396
  r,
2396
- ji,
2397
- Zi,
2398
2397
  Gi,
2398
+ qi,
2399
2399
  Qi,
2400
2400
  Hi,
2401
2401
  Vi,
@@ -2405,16 +2405,17 @@ function dr(n, e, t) {
2405
2405
  Ji,
2406
2406
  $i,
2407
2407
  en,
2408
- tn
2408
+ tn,
2409
+ nn
2409
2410
  ];
2410
2411
  }
2411
- let hr = class extends Se {
2412
+ let gr = class extends Se {
2412
2413
  constructor(e) {
2413
2414
  super(), xe(
2414
2415
  this,
2415
2416
  e,
2417
+ hr,
2416
2418
  dr,
2417
- fr,
2418
2419
  Le,
2419
2420
  {
2420
2421
  ZOOM_DEFAULTS: 25,
@@ -2448,18 +2449,19 @@ let hr = class extends Se {
2448
2449
  flyToSelected: 41,
2449
2450
  markerOnSelected: 42,
2450
2451
  types: 43,
2451
- excludeTypes: 44,
2452
- zoom: 45,
2453
- maxZoom: 46,
2454
- apiUrl: 47,
2455
- fetchParameters: 48,
2452
+ exhaustiveReverseGeocoding: 44,
2453
+ excludeTypes: 45,
2454
+ zoom: 46,
2455
+ maxZoom: 47,
2456
+ apiUrl: 48,
2457
+ fetchParameters: 49,
2456
2458
  iconsBaseUrl: 12,
2457
- adjustUrlQuery: 49,
2458
- focus: 50,
2459
- blur: 51,
2460
- setQuery: 52,
2461
- clearList: 53,
2462
- clearMap: 54
2459
+ adjustUrlQuery: 50,
2460
+ focus: 51,
2461
+ blur: 52,
2462
+ setQuery: 53,
2463
+ clearList: 54,
2464
+ clearMap: 55
2463
2465
  },
2464
2466
  null,
2465
2467
  [-1, -1, -1]
@@ -2469,26 +2471,26 @@ let hr = class extends Se {
2469
2471
  return this.$$.ctx[25];
2470
2472
  }
2471
2473
  get focus() {
2472
- return this.$$.ctx[50];
2474
+ return this.$$.ctx[51];
2473
2475
  }
2474
2476
  get blur() {
2475
- return this.$$.ctx[51];
2477
+ return this.$$.ctx[52];
2476
2478
  }
2477
2479
  get setQuery() {
2478
- return this.$$.ctx[52];
2480
+ return this.$$.ctx[53];
2479
2481
  }
2480
2482
  get clearList() {
2481
- return this.$$.ctx[53];
2483
+ return this.$$.ctx[54];
2482
2484
  }
2483
2485
  get clearMap() {
2484
- return this.$$.ctx[54];
2486
+ return this.$$.ctx[55];
2485
2487
  }
2486
2488
  };
2487
- function Ze(n, e, t = {}) {
2489
+ function Ge(n, e, t = {}) {
2488
2490
  const i = { type: "Feature" };
2489
2491
  return (t.id === 0 || t.id) && (i.id = t.id), t.bbox && (i.bbox = t.bbox), i.properties = e || {}, i.geometry = n, i;
2490
2492
  }
2491
- function Ot(n, e, t = {}) {
2493
+ function Wt(n, e, t = {}) {
2492
2494
  for (const r of n) {
2493
2495
  if (r.length < 4)
2494
2496
  throw new Error(
@@ -2500,17 +2502,17 @@ function Ot(n, e, t = {}) {
2500
2502
  if (r[r.length - 1][o] !== r[0][o])
2501
2503
  throw new Error("First and last Position are not equivalent.");
2502
2504
  }
2503
- return Ze({
2505
+ return Ge({
2504
2506
  type: "Polygon",
2505
2507
  coordinates: n
2506
2508
  }, e, t);
2507
2509
  }
2508
- function Ge(n, e = {}) {
2510
+ function qe(n, e = {}) {
2509
2511
  const t = { type: "FeatureCollection" };
2510
2512
  return e.id && (t.id = e.id), e.bbox && (t.bbox = e.bbox), t.features = n, t;
2511
2513
  }
2512
- function Pi(n, e, t = {}) {
2513
- return Ze({
2514
+ function Ti(n, e, t = {}) {
2515
+ return Ge({
2514
2516
  type: "MultiPolygon",
2515
2517
  coordinates: n
2516
2518
  }, e, t);
@@ -2537,7 +2539,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
2537
2539
  See the Apache Version 2.0 License for specific language governing permissions
2538
2540
  and limitations under the License.
2539
2541
  ***************************************************************************** */
2540
- function gr(n, e) {
2542
+ function mr(n, e) {
2541
2543
  var t = { label: 0, sent: function() {
2542
2544
  if (o[0] & 1) throw o[1];
2543
2545
  return o[1];
@@ -2606,10 +2608,10 @@ var Ee = (
2606
2608
  return n;
2607
2609
  }()
2608
2610
  );
2609
- function mr(n, e) {
2611
+ function vr(n, e) {
2610
2612
  return n > e ? 1 : n < e ? -1 : 0;
2611
2613
  }
2612
- function ve(n, e, t) {
2614
+ function pe(n, e, t) {
2613
2615
  for (var i = new Ee(null, null), r = i, o = i; ; ) {
2614
2616
  var l = t(n, e.key);
2615
2617
  if (l < 0) {
@@ -2635,46 +2637,46 @@ function ve(n, e, t) {
2635
2637
  }
2636
2638
  return r.right = e.left, o.left = e.right, e.left = i.right, e.right = i.left, e;
2637
2639
  }
2638
- function Lt(n, e, t, i) {
2640
+ function xt(n, e, t, i) {
2639
2641
  var r = new Ee(n, e);
2640
2642
  if (t === null)
2641
2643
  return r.left = r.right = null, r;
2642
- t = ve(n, t, i);
2644
+ t = pe(n, t, i);
2643
2645
  var o = i(n, t.key);
2644
2646
  return o < 0 ? (r.left = t.left, r.right = t, t.left = null) : o >= 0 && (r.right = t.right, r.left = t, t.right = null), r;
2645
2647
  }
2646
- function li(n, e, t) {
2648
+ function ui(n, e, t) {
2647
2649
  var i = null, r = null;
2648
2650
  if (e) {
2649
- e = ve(n, e, t);
2651
+ e = pe(n, e, t);
2650
2652
  var o = t(e.key, n);
2651
2653
  o === 0 ? (i = e.left, r = e.right) : o < 0 ? (r = e.right, e.right = null, i = e) : (i = e.left, e.left = null, r = e);
2652
2654
  }
2653
2655
  return { left: i, right: r };
2654
2656
  }
2655
2657
  function pr(n, e, t) {
2656
- return e === null ? n : (n === null || (e = ve(n.key, e, t), e.left = n), e);
2658
+ return e === null ? n : (n === null || (e = pe(n.key, e, t), e.left = n), e);
2657
2659
  }
2658
- function Ct(n, e, t, i, r) {
2660
+ function Nt(n, e, t, i, r) {
2659
2661
  if (n) {
2660
2662
  i("" + e + (t ? "└── " : "├── ") + r(n) + `
2661
2663
  `);
2662
2664
  var o = e + (t ? " " : "│ ");
2663
- n.left && Ct(n.left, o, !1, i, r), n.right && Ct(n.right, o, !0, i, r);
2665
+ n.left && Nt(n.left, o, !1, i, r), n.right && Nt(n.right, o, !0, i, r);
2664
2666
  }
2665
2667
  }
2666
- var Wt = (
2668
+ var At = (
2667
2669
  /** @class */
2668
2670
  function() {
2669
2671
  function n(e) {
2670
- e === void 0 && (e = mr), this._root = null, this._size = 0, this._comparator = e;
2672
+ e === void 0 && (e = vr), this._root = null, this._size = 0, this._comparator = e;
2671
2673
  }
2672
2674
  return n.prototype.insert = function(e, t) {
2673
- return this._size++, this._root = Lt(e, t, this._root, this._comparator);
2675
+ return this._size++, this._root = xt(e, t, this._root, this._comparator);
2674
2676
  }, n.prototype.add = function(e, t) {
2675
2677
  var i = new Ee(e, t);
2676
2678
  this._root === null && (i.left = i.right = null, this._size++, this._root = i);
2677
- var r = this._comparator, o = ve(e, this._root, r), l = r(e, o.key);
2679
+ var r = this._comparator, o = pe(e, this._root, r), l = r(e, o.key);
2678
2680
  return l === 0 ? this._root = o : (l < 0 ? (i.left = o.left, i.right = o, o.left = null) : l > 0 && (i.right = o.right, i.left = o, o.right = null), this._size++, this._root = i), this._root;
2679
2681
  }, n.prototype.remove = function(e) {
2680
2682
  this._root = this._remove(e, this._root, this._comparator);
@@ -2682,15 +2684,15 @@ var Wt = (
2682
2684
  var r;
2683
2685
  if (t === null)
2684
2686
  return null;
2685
- t = ve(e, t, i);
2687
+ t = pe(e, t, i);
2686
2688
  var o = i(e, t.key);
2687
- return o === 0 ? (t.left === null ? r = t.right : (r = ve(e, t.left, i), r.right = t.right), this._size--, r) : t;
2689
+ return o === 0 ? (t.left === null ? r = t.right : (r = pe(e, t.left, i), r.right = t.right), this._size--, r) : t;
2688
2690
  }, n.prototype.pop = function() {
2689
2691
  var e = this._root;
2690
2692
  if (e) {
2691
2693
  for (; e.left; )
2692
2694
  e = e.left;
2693
- return this._root = ve(e.key, this._root, this._comparator), this._root = this._remove(e.key, this._root, this._comparator), { key: e.key, data: e.data };
2695
+ return this._root = pe(e.key, this._root, this._comparator), this._root = this._remove(e.key, this._root, this._comparator), { key: e.key, data: e.data };
2694
2696
  }
2695
2697
  return null;
2696
2698
  }, n.prototype.findStatic = function(e) {
@@ -2702,7 +2704,7 @@ var Wt = (
2702
2704
  }
2703
2705
  return null;
2704
2706
  }, n.prototype.find = function(e) {
2705
- return this._root && (this._root = ve(e, this._root, this._comparator), this._comparator(e, this._root.key) !== 0) ? null : this._root;
2707
+ return this._root && (this._root = pe(e, this._root, this._comparator), this._comparator(e, this._root.key) !== 0) ? null : this._root;
2706
2708
  }, n.prototype.contains = function(e) {
2707
2709
  for (var t = this._root, i = this._comparator; t; ) {
2708
2710
  var r = i(e, t.key);
@@ -2795,15 +2797,15 @@ var Wt = (
2795
2797
  }, n.prototype.clear = function() {
2796
2798
  return this._root = null, this._size = 0, this;
2797
2799
  }, n.prototype.toList = function() {
2798
- return br(this._root);
2800
+ return yr(this._root);
2799
2801
  }, n.prototype.load = function(e, t, i) {
2800
2802
  t === void 0 && (t = []), i === void 0 && (i = !1);
2801
2803
  var r = e.length, o = this._comparator;
2802
- if (i && Tt(e, t, 0, r - 1, o), this._root === null)
2803
- this._root = Nt(e, t, 0, r), this._size = r;
2804
+ if (i && Rt(e, t, 0, r - 1, o), this._root === null)
2805
+ this._root = Pt(e, t, 0, r), this._size = r;
2804
2806
  else {
2805
- var l = yr(this.toList(), vr(e, t), o);
2806
- r = this._size + r, this._root = Pt({ head: l }, 0, r);
2807
+ var l = wr(this.toList(), br(e, t), o);
2808
+ r = this._size + r, this._root = Tt({ head: l }, 0, r);
2807
2809
  }
2808
2810
  return this;
2809
2811
  }, n.prototype.isEmpty = function() {
@@ -2825,17 +2827,17 @@ var Wt = (
2825
2827
  return String(i.key);
2826
2828
  });
2827
2829
  var t = [];
2828
- return Ct(this._root, "", !0, function(i) {
2830
+ return Nt(this._root, "", !0, function(i) {
2829
2831
  return t.push(i);
2830
2832
  }, e), t.join("");
2831
2833
  }, n.prototype.update = function(e, t, i) {
2832
- var r = this._comparator, o = li(e, this._root, r), l = o.left, s = o.right;
2833
- r(e, t) < 0 ? s = Lt(t, i, s, r) : l = Lt(t, i, l, r), this._root = pr(l, s, r);
2834
+ var r = this._comparator, o = ui(e, this._root, r), l = o.left, s = o.right;
2835
+ r(e, t) < 0 ? s = xt(t, i, s, r) : l = xt(t, i, l, r), this._root = pr(l, s, r);
2834
2836
  }, n.prototype.split = function(e) {
2835
- return li(e, this._root, this._comparator);
2837
+ return ui(e, this._root, this._comparator);
2836
2838
  }, n.prototype[Symbol.iterator] = function() {
2837
2839
  var e, t, i;
2838
- return gr(this, function(r) {
2840
+ return mr(this, function(r) {
2839
2841
  switch (r.label) {
2840
2842
  case 0:
2841
2843
  e = this._root, t = [], i = !1, r.label = 1;
@@ -2859,38 +2861,38 @@ var Wt = (
2859
2861
  }, n;
2860
2862
  }()
2861
2863
  );
2862
- function Nt(n, e, t, i) {
2864
+ function Pt(n, e, t, i) {
2863
2865
  var r = i - t;
2864
2866
  if (r > 0) {
2865
2867
  var o = t + Math.floor(r / 2), l = n[o], s = e[o], c = new Ee(l, s);
2866
- return c.left = Nt(n, e, t, o), c.right = Nt(n, e, o + 1, i), c;
2868
+ return c.left = Pt(n, e, t, o), c.right = Pt(n, e, o + 1, i), c;
2867
2869
  }
2868
2870
  return null;
2869
2871
  }
2870
- function vr(n, e) {
2872
+ function br(n, e) {
2871
2873
  for (var t = new Ee(null, null), i = t, r = 0; r < n.length; r++)
2872
2874
  i = i.next = new Ee(n[r], e[r]);
2873
2875
  return i.next = null, t.next;
2874
2876
  }
2875
- function br(n) {
2877
+ function yr(n) {
2876
2878
  for (var e = n, t = [], i = !1, r = new Ee(null, null), o = r; !i; )
2877
2879
  e ? (t.push(e), e = e.left) : t.length > 0 ? (e = o = o.next = t.pop(), e = e.right) : i = !0;
2878
2880
  return o.next = null, r.next;
2879
2881
  }
2880
- function Pt(n, e, t) {
2882
+ function Tt(n, e, t) {
2881
2883
  var i = t - e;
2882
2884
  if (i > 0) {
2883
- var r = e + Math.floor(i / 2), o = Pt(n, e, r), l = n.head;
2884
- return l.left = o, n.head = n.head.next, l.right = Pt(n, r + 1, t), l;
2885
+ var r = e + Math.floor(i / 2), o = Tt(n, e, r), l = n.head;
2886
+ return l.left = o, n.head = n.head.next, l.right = Tt(n, r + 1, t), l;
2885
2887
  }
2886
2888
  return null;
2887
2889
  }
2888
- function yr(n, e, t) {
2890
+ function wr(n, e, t) {
2889
2891
  for (var i = new Ee(null, null), r = i, o = n, l = e; o !== null && l !== null; )
2890
2892
  t(o.key, l.key) < 0 ? (r.next = o, o = o.next) : (r.next = l, l = l.next), r = r.next;
2891
2893
  return o !== null ? r.next = o : l !== null && (r.next = l), i.next;
2892
2894
  }
2893
- function Tt(n, e, t, i, r) {
2895
+ function Rt(n, e, t, i, r) {
2894
2896
  if (!(t >= i)) {
2895
2897
  for (var o = n[t + i >> 1], l = t - 1, s = i + 1; ; ) {
2896
2898
  do
@@ -2904,11 +2906,11 @@ function Tt(n, e, t, i, r) {
2904
2906
  var c = n[l];
2905
2907
  n[l] = n[s], n[s] = c, c = e[l], e[l] = e[s], e[s] = c;
2906
2908
  }
2907
- Tt(n, e, t, s, r), Tt(n, e, s + 1, i, r);
2909
+ Rt(n, e, t, s, r), Rt(n, e, s + 1, i, r);
2908
2910
  }
2909
2911
  }
2910
- const de = 11102230246251565e-32, Y = 134217729, wr = (3 + 8 * de) * de;
2911
- function xt(n, e, t, i, r) {
2912
+ const de = 11102230246251565e-32, Y = 134217729, _r = (3 + 8 * de) * de;
2913
+ function St(n, e, t, i, r) {
2912
2914
  let o, l, s, c, u = e[0], d = i[0], a = 0, f = 0;
2913
2915
  d > u == d > -u ? (o = u, u = e[++a]) : (o = d, d = i[++f]);
2914
2916
  let h = 0;
@@ -2921,7 +2923,7 @@ function xt(n, e, t, i, r) {
2921
2923
  l = o + d, c = l - o, s = o - (l - c) + (d - c), d = i[++f], o = l, s !== 0 && (r[h++] = s);
2922
2924
  return (o !== 0 || h === 0) && (r[h++] = o), h;
2923
2925
  }
2924
- function _r(n, e) {
2926
+ function Er(n, e) {
2925
2927
  let t = e[0];
2926
2928
  for (let i = 1; i < n; i++) t += e[i];
2927
2929
  return t;
@@ -2929,26 +2931,26 @@ function _r(n, e) {
2929
2931
  function He(n) {
2930
2932
  return new Float64Array(n);
2931
2933
  }
2932
- const Er = (3 + 16 * de) * de, Lr = (2 + 12 * de) * de, xr = (9 + 64 * de) * de * de, Oe = He(4), ui = He(8), ai = He(12), ci = He(16), X = He(4);
2933
- function Sr(n, e, t, i, r, o, l) {
2934
- let s, c, u, d, a, f, h, b, y, p, m, E, S, _, k, x, L, w;
2934
+ const Lr = (3 + 16 * de) * de, xr = (2 + 12 * de) * de, Sr = (9 + 64 * de) * de * de, Oe = He(4), ai = He(8), ci = He(12), fi = He(16), X = He(4);
2935
+ function Mr(n, e, t, i, r, o, l) {
2936
+ let s, c, u, d, a, f, h, b, y, v, m, E, S, _, k, x, L, w;
2935
2937
  const C = n - r, I = t - r, D = e - o, F = i - o;
2936
- _ = C * F, f = Y * C, h = f - (f - C), b = C - h, f = Y * F, y = f - (f - F), p = F - y, k = b * p - (_ - h * y - b * y - h * p), x = D * I, f = Y * D, h = f - (f - D), b = D - h, f = Y * I, y = f - (f - I), p = I - y, L = b * p - (x - h * y - b * y - h * p), m = k - L, a = k - m, Oe[0] = k - (m + a) + (a - L), E = _ + m, a = E - _, S = _ - (E - a) + (m - a), m = S - x, a = S - m, Oe[1] = S - (m + a) + (a - x), w = E + m, a = w - E, Oe[2] = E - (w - a) + (m - a), Oe[3] = w;
2937
- let O = _r(4, Oe), M = Lr * l;
2938
- if (O >= M || -O >= M || (a = n - C, s = n - (C + a) + (a - r), a = t - I, u = t - (I + a) + (a - r), a = e - D, c = e - (D + a) + (a - o), a = i - F, d = i - (F + a) + (a - o), s === 0 && c === 0 && u === 0 && d === 0) || (M = xr * l + wr * Math.abs(O), O += C * d + F * s - (D * u + I * c), O >= M || -O >= M)) return O;
2939
- _ = s * F, f = Y * s, h = f - (f - s), b = s - h, f = Y * F, y = f - (f - F), p = F - y, k = b * p - (_ - h * y - b * y - h * p), x = c * I, f = Y * c, h = f - (f - c), b = c - h, f = Y * I, y = f - (f - I), p = I - y, L = b * p - (x - h * y - b * y - h * p), m = k - L, a = k - m, X[0] = k - (m + a) + (a - L), E = _ + m, a = E - _, S = _ - (E - a) + (m - a), m = S - x, a = S - m, X[1] = S - (m + a) + (a - x), w = E + m, a = w - E, X[2] = E - (w - a) + (m - a), X[3] = w;
2940
- const q = xt(4, Oe, 4, X, ui);
2941
- _ = C * d, f = Y * C, h = f - (f - C), b = C - h, f = Y * d, y = f - (f - d), p = d - y, k = b * p - (_ - h * y - b * y - h * p), x = D * u, f = Y * D, h = f - (f - D), b = D - h, f = Y * u, y = f - (f - u), p = u - y, L = b * p - (x - h * y - b * y - h * p), m = k - L, a = k - m, X[0] = k - (m + a) + (a - L), E = _ + m, a = E - _, S = _ - (E - a) + (m - a), m = S - x, a = S - m, X[1] = S - (m + a) + (a - x), w = E + m, a = w - E, X[2] = E - (w - a) + (m - a), X[3] = w;
2942
- const $ = xt(q, ui, 4, X, ai);
2943
- _ = s * d, f = Y * s, h = f - (f - s), b = s - h, f = Y * d, y = f - (f - d), p = d - y, k = b * p - (_ - h * y - b * y - h * p), x = c * u, f = Y * c, h = f - (f - c), b = c - h, f = Y * u, y = f - (f - u), p = u - y, L = b * p - (x - h * y - b * y - h * p), m = k - L, a = k - m, X[0] = k - (m + a) + (a - L), E = _ + m, a = E - _, S = _ - (E - a) + (m - a), m = S - x, a = S - m, X[1] = S - (m + a) + (a - x), w = E + m, a = w - E, X[2] = E - (w - a) + (m - a), X[3] = w;
2944
- const ne = xt($, ai, 4, X, ci);
2945
- return ci[ne - 1];
2946
- }
2947
- function Mr(n, e, t, i, r, o) {
2938
+ _ = C * F, f = Y * C, h = f - (f - C), b = C - h, f = Y * F, y = f - (f - F), v = F - y, k = b * v - (_ - h * y - b * y - h * v), x = D * I, f = Y * D, h = f - (f - D), b = D - h, f = Y * I, y = f - (f - I), v = I - y, L = b * v - (x - h * y - b * y - h * v), m = k - L, a = k - m, Oe[0] = k - (m + a) + (a - L), E = _ + m, a = E - _, S = _ - (E - a) + (m - a), m = S - x, a = S - m, Oe[1] = S - (m + a) + (a - x), w = E + m, a = w - E, Oe[2] = E - (w - a) + (m - a), Oe[3] = w;
2939
+ let O = Er(4, Oe), M = xr * l;
2940
+ if (O >= M || -O >= M || (a = n - C, s = n - (C + a) + (a - r), a = t - I, u = t - (I + a) + (a - r), a = e - D, c = e - (D + a) + (a - o), a = i - F, d = i - (F + a) + (a - o), s === 0 && c === 0 && u === 0 && d === 0) || (M = Sr * l + _r * Math.abs(O), O += C * d + F * s - (D * u + I * c), O >= M || -O >= M)) return O;
2941
+ _ = s * F, f = Y * s, h = f - (f - s), b = s - h, f = Y * F, y = f - (f - F), v = F - y, k = b * v - (_ - h * y - b * y - h * v), x = c * I, f = Y * c, h = f - (f - c), b = c - h, f = Y * I, y = f - (f - I), v = I - y, L = b * v - (x - h * y - b * y - h * v), m = k - L, a = k - m, X[0] = k - (m + a) + (a - L), E = _ + m, a = E - _, S = _ - (E - a) + (m - a), m = S - x, a = S - m, X[1] = S - (m + a) + (a - x), w = E + m, a = w - E, X[2] = E - (w - a) + (m - a), X[3] = w;
2942
+ const j = St(4, Oe, 4, X, ai);
2943
+ _ = C * d, f = Y * C, h = f - (f - C), b = C - h, f = Y * d, y = f - (f - d), v = d - y, k = b * v - (_ - h * y - b * y - h * v), x = D * u, f = Y * D, h = f - (f - D), b = D - h, f = Y * u, y = f - (f - u), v = u - y, L = b * v - (x - h * y - b * y - h * v), m = k - L, a = k - m, X[0] = k - (m + a) + (a - L), E = _ + m, a = E - _, S = _ - (E - a) + (m - a), m = S - x, a = S - m, X[1] = S - (m + a) + (a - x), w = E + m, a = w - E, X[2] = E - (w - a) + (m - a), X[3] = w;
2944
+ const $ = St(j, ai, 4, X, ci);
2945
+ _ = s * d, f = Y * s, h = f - (f - s), b = s - h, f = Y * d, y = f - (f - d), v = d - y, k = b * v - (_ - h * y - b * y - h * v), x = c * u, f = Y * c, h = f - (f - c), b = c - h, f = Y * u, y = f - (f - u), v = u - y, L = b * v - (x - h * y - b * y - h * v), m = k - L, a = k - m, X[0] = k - (m + a) + (a - L), E = _ + m, a = E - _, S = _ - (E - a) + (m - a), m = S - x, a = S - m, X[1] = S - (m + a) + (a - x), w = E + m, a = w - E, X[2] = E - (w - a) + (m - a), X[3] = w;
2946
+ const se = St($, ci, 4, X, fi);
2947
+ return fi[se - 1];
2948
+ }
2949
+ function kr(n, e, t, i, r, o) {
2948
2950
  const l = (e - o) * (t - r), s = (n - r) * (i - o), c = l - s, u = Math.abs(l + s);
2949
- return Math.abs(c) >= Er * u ? c : -Sr(n, e, t, i, r, o, u);
2951
+ return Math.abs(c) >= Lr * u ? c : -Mr(n, e, t, i, r, o, u);
2950
2952
  }
2951
- const ze = (n, e) => n.ll.x <= e.x && e.x <= n.ur.x && n.ll.y <= e.y && e.y <= n.ur.y, Rt = (n, e) => {
2953
+ const ze = (n, e) => n.ll.x <= e.x && e.x <= n.ur.x && n.ll.y <= e.y && e.y <= n.ur.y, It = (n, e) => {
2952
2954
  if (e.ur.x < n.ll.x || n.ur.x < e.ll.x || e.ur.y < n.ll.y || n.ur.y < e.ll.y) return null;
2953
2955
  const t = n.ll.x < e.ll.x ? e.ll.x : n.ll.x, i = n.ur.x < e.ur.x ? n.ur.x : e.ur.x, r = n.ll.y < e.ll.y ? e.ll.y : n.ll.y, o = n.ur.y < e.ur.y ? n.ur.y : e.ur.y;
2954
2956
  return {
@@ -2964,18 +2966,18 @@ const ze = (n, e) => n.ll.x <= e.x && e.x <= n.ur.x && n.ll.y <= e.y && e.y <= n
2964
2966
  };
2965
2967
  let be = Number.EPSILON;
2966
2968
  be === void 0 && (be = Math.pow(2, -52));
2967
- const kr = be * be, fi = (n, e) => {
2969
+ const Cr = be * be, di = (n, e) => {
2968
2970
  if (-be < n && n < be && -be < e && e < be)
2969
2971
  return 0;
2970
2972
  const t = n - e;
2971
- return t * t < kr * n * e ? 0 : n < e ? -1 : 1;
2973
+ return t * t < Cr * n * e ? 0 : n < e ? -1 : 1;
2972
2974
  };
2973
- class Cr {
2975
+ class Nr {
2974
2976
  constructor() {
2975
2977
  this.reset();
2976
2978
  }
2977
2979
  reset() {
2978
- this.xRounder = new di(), this.yRounder = new di();
2980
+ this.xRounder = new hi(), this.yRounder = new hi();
2979
2981
  }
2980
2982
  round(e, t) {
2981
2983
  return {
@@ -2984,9 +2986,9 @@ class Cr {
2984
2986
  };
2985
2987
  }
2986
2988
  }
2987
- class di {
2989
+ class hi {
2988
2990
  constructor() {
2989
- this.tree = new Wt(), this.round(0);
2991
+ this.tree = new At(), this.round(0);
2990
2992
  }
2991
2993
  // Note: this can rounds input values backwards or forwards.
2992
2994
  // You might ask, why not restrict this to just rounding
@@ -2997,16 +2999,16 @@ class di {
2997
2999
  // angle for t-intersections).
2998
3000
  round(e) {
2999
3001
  const t = this.tree.add(e), i = this.tree.prev(t);
3000
- if (i !== null && fi(t.key, i.key) === 0)
3002
+ if (i !== null && di(t.key, i.key) === 0)
3001
3003
  return this.tree.remove(e), i.key;
3002
3004
  const r = this.tree.next(t);
3003
- return r !== null && fi(t.key, r.key) === 0 ? (this.tree.remove(e), r.key) : e;
3005
+ return r !== null && di(t.key, r.key) === 0 ? (this.tree.remove(e), r.key) : e;
3004
3006
  }
3005
3007
  }
3006
- const Qe = new Cr(), ot = (n, e) => n.x * e.y - n.y * e.x, Ti = (n, e) => n.x * e.x + n.y * e.y, hi = (n, e, t) => {
3007
- const i = Mr(n.x, n.y, e.x, e.y, t.x, t.y);
3008
+ const Qe = new Nr(), ot = (n, e) => n.x * e.y - n.y * e.x, Ri = (n, e) => n.x * e.x + n.y * e.y, gi = (n, e, t) => {
3009
+ const i = kr(n.x, n.y, e.x, e.y, t.x, t.y);
3008
3010
  return i > 0 ? -1 : i < 0 ? 1 : 0;
3009
- }, lt = (n) => Math.sqrt(Ti(n, n)), Nr = (n, e, t) => {
3011
+ }, lt = (n) => Math.sqrt(Ri(n, n)), Pr = (n, e, t) => {
3010
3012
  const i = {
3011
3013
  x: e.x - n.x,
3012
3014
  y: e.y - n.y
@@ -3015,7 +3017,7 @@ const Qe = new Cr(), ot = (n, e) => n.x * e.y - n.y * e.x, Ti = (n, e) => n.x *
3015
3017
  y: t.y - n.y
3016
3018
  };
3017
3019
  return ot(r, i) / lt(r) / lt(i);
3018
- }, Pr = (n, e, t) => {
3020
+ }, Tr = (n, e, t) => {
3019
3021
  const i = {
3020
3022
  x: e.x - n.x,
3021
3023
  y: e.y - n.y
@@ -3023,18 +3025,18 @@ const Qe = new Cr(), ot = (n, e) => n.x * e.y - n.y * e.x, Ti = (n, e) => n.x *
3023
3025
  x: t.x - n.x,
3024
3026
  y: t.y - n.y
3025
3027
  };
3026
- return Ti(r, i) / lt(r) / lt(i);
3027
- }, gi = (n, e, t) => e.y === 0 ? null : {
3028
+ return Ri(r, i) / lt(r) / lt(i);
3029
+ }, mi = (n, e, t) => e.y === 0 ? null : {
3028
3030
  x: n.x + e.x / e.y * (t - n.y),
3029
3031
  y: t
3030
- }, mi = (n, e, t) => e.x === 0 ? null : {
3032
+ }, vi = (n, e, t) => e.x === 0 ? null : {
3031
3033
  x: t,
3032
3034
  y: n.y + e.y / e.x * (t - n.x)
3033
- }, Tr = (n, e, t, i) => {
3034
- if (e.x === 0) return mi(t, i, n.x);
3035
- if (i.x === 0) return mi(n, e, t.x);
3036
- if (e.y === 0) return gi(t, i, n.y);
3037
- if (i.y === 0) return gi(n, e, t.y);
3035
+ }, Rr = (n, e, t, i) => {
3036
+ if (e.x === 0) return vi(t, i, n.x);
3037
+ if (i.x === 0) return vi(n, e, t.x);
3038
+ if (e.y === 0) return mi(t, i, n.y);
3039
+ if (i.y === 0) return mi(n, e, t.y);
3038
3040
  const r = ot(e, i);
3039
3041
  if (r == 0) return null;
3040
3042
  const o = {
@@ -3046,10 +3048,10 @@ const Qe = new Cr(), ot = (n, e) => n.x * e.y - n.y * e.x, Ti = (n, e) => n.x *
3046
3048
  y: h
3047
3049
  };
3048
3050
  };
3049
- class oe {
3051
+ class re {
3050
3052
  // for ordering sweep events in the sweep event queue
3051
3053
  static compare(e, t) {
3052
- const i = oe.comparePoints(e.point, t.point);
3054
+ const i = re.comparePoints(e.point, t.point);
3053
3055
  return i !== 0 ? i : (e.point !== t.point && e.link(t), e.isLeft !== t.isLeft ? e.isLeft ? 1 : -1 : ye.compare(e.segment, t.segment));
3054
3056
  }
3055
3057
  // for ordering points in sweep line order
@@ -3105,8 +3107,8 @@ class oe {
3105
3107
  const t = /* @__PURE__ */ new Map(), i = (r) => {
3106
3108
  const o = r.otherSE;
3107
3109
  t.set(r, {
3108
- sine: Nr(this.point, e.point, o.point),
3109
- cosine: Pr(this.point, e.point, o.point)
3110
+ sine: Pr(this.point, e.point, o.point),
3111
+ cosine: Tr(this.point, e.point, o.point)
3110
3112
  });
3111
3113
  };
3112
3114
  return (r, o) => {
@@ -3122,7 +3124,7 @@ class oe {
3122
3124
  };
3123
3125
  }
3124
3126
  }
3125
- let Rr = 0;
3127
+ let Ir = 0;
3126
3128
  class ye {
3127
3129
  /* This compare() function is for ordering segments in the sweep
3128
3130
  * line tree, and does so according to the following criteria:
@@ -3180,17 +3182,17 @@ class ye {
3180
3182
  /* Warning: a reference to ringWindings input will be stored,
3181
3183
  * and possibly will be later modified */
3182
3184
  constructor(e, t, i, r) {
3183
- this.id = ++Rr, this.leftSE = e, e.segment = this, e.otherSE = t, this.rightSE = t, t.segment = this, t.otherSE = e, this.rings = i, this.windings = r;
3185
+ this.id = ++Ir, this.leftSE = e, e.segment = this, e.otherSE = t, this.rightSE = t, t.segment = this, t.otherSE = e, this.rings = i, this.windings = r;
3184
3186
  }
3185
3187
  static fromRing(e, t, i) {
3186
3188
  let r, o, l;
3187
- const s = oe.comparePoints(e, t);
3189
+ const s = re.comparePoints(e, t);
3188
3190
  if (s < 0)
3189
3191
  r = e, o = t, l = 1;
3190
3192
  else if (s > 0)
3191
3193
  r = t, o = e, l = -1;
3192
3194
  else throw new Error(`Tried to create degenerate segment at [${e.x}, ${e.y}]`);
3193
- const c = new oe(r, !0), u = new oe(o, !1);
3195
+ const c = new re(r, !0), u = new re(o, !1);
3194
3196
  return new ye(c, u, [i], [l]);
3195
3197
  }
3196
3198
  /* When a segment is split, the rightSE is replaced with a new sweep event */
@@ -3259,7 +3261,7 @@ class ye {
3259
3261
  * Else, return null.
3260
3262
  */
3261
3263
  getIntersection(e) {
3262
- const t = this.bbox(), i = e.bbox(), r = Rt(t, i);
3264
+ const t = this.bbox(), i = e.bbox(), r = It(t, i);
3263
3265
  if (r === null) return null;
3264
3266
  const o = this.leftSE.point, l = this.rightSE.point, s = e.leftSE.point, c = e.rightSE.point, u = ze(t, s) && this.comparePoint(s) === 0, d = ze(i, o) && e.comparePoint(o) === 0, a = ze(t, c) && this.comparePoint(c) === 0, f = ze(i, l) && e.comparePoint(l) === 0;
3265
3267
  if (d && u)
@@ -3271,7 +3273,7 @@ class ye {
3271
3273
  if (f && a) return null;
3272
3274
  if (f) return l;
3273
3275
  if (a) return c;
3274
- const h = Tr(o, this.vector(), s, e.vector());
3276
+ const h = Rr(o, this.vector(), s, e.vector());
3275
3277
  return h === null || !ze(r, h) ? null : Qe.round(h.x, h.y);
3276
3278
  }
3277
3279
  /**
@@ -3287,10 +3289,10 @@ class ye {
3287
3289
  * Warning: input array of points is modified
3288
3290
  */
3289
3291
  split(e) {
3290
- const t = [], i = e.events !== void 0, r = new oe(e, !0), o = new oe(e, !1), l = this.rightSE;
3292
+ const t = [], i = e.events !== void 0, r = new re(e, !0), o = new re(e, !1), l = this.rightSE;
3291
3293
  this.replaceRightSE(o), t.push(o), t.push(r);
3292
3294
  const s = new ye(r, l, this.rings.slice(), this.windings.slice());
3293
- return oe.comparePoints(s.leftSE.point, s.rightSE.point) > 0 && s.swapEvents(), oe.comparePoints(this.leftSE.point, this.rightSE.point) > 0 && this.swapEvents(), i && (r.checkForConsuming(), o.checkForConsuming()), t;
3295
+ return re.comparePoints(s.leftSE.point, s.rightSE.point) > 0 && s.swapEvents(), re.comparePoints(this.leftSE.point, this.rightSE.point) > 0 && this.swapEvents(), i && (r.checkForConsuming(), o.checkForConsuming()), t;
3294
3296
  }
3295
3297
  /* Swap which event is left and right */
3296
3298
  swapEvents() {
@@ -3437,7 +3439,7 @@ class pi {
3437
3439
  return e;
3438
3440
  }
3439
3441
  }
3440
- class Ir {
3442
+ class Or {
3441
3443
  constructor(e, t) {
3442
3444
  if (!Array.isArray(e))
3443
3445
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
@@ -3467,7 +3469,7 @@ class Ir {
3467
3469
  return e;
3468
3470
  }
3469
3471
  }
3470
- class vi {
3472
+ class bi {
3471
3473
  constructor(e, t) {
3472
3474
  if (!Array.isArray(e))
3473
3475
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
@@ -3486,7 +3488,7 @@ class vi {
3486
3488
  }
3487
3489
  };
3488
3490
  for (let i = 0, r = e.length; i < r; i++) {
3489
- const o = new Ir(e[i], this);
3491
+ const o = new Or(e[i], this);
3490
3492
  o.bbox.ll.x < this.bbox.ll.x && (this.bbox.ll.x = o.bbox.ll.x), o.bbox.ll.y < this.bbox.ll.y && (this.bbox.ll.y = o.bbox.ll.y), o.bbox.ur.x > this.bbox.ur.x && (this.bbox.ur.x = o.bbox.ur.x), o.bbox.ur.y > this.bbox.ur.y && (this.bbox.ur.y = o.bbox.ur.y), this.polys.push(o);
3491
3493
  }
3492
3494
  this.isSubject = t;
@@ -3515,22 +3517,22 @@ class ut {
3515
3517
  for (; ; ) {
3516
3518
  const f = s.getAvailableLinkedEvents();
3517
3519
  if (f.length === 0) {
3518
- const y = u[0].point, p = u[u.length - 1].point;
3519
- throw new Error(`Unable to complete output ring starting at [${y.x}, ${y.y}]. Last matching segment found ends at [${p.x}, ${p.y}].`);
3520
+ const y = u[0].point, v = u[u.length - 1].point;
3521
+ throw new Error(`Unable to complete output ring starting at [${y.x}, ${y.y}]. Last matching segment found ends at [${v.x}, ${v.y}].`);
3520
3522
  }
3521
3523
  if (f.length === 1) {
3522
3524
  c = f[0].otherSE;
3523
3525
  break;
3524
3526
  }
3525
3527
  let h = null;
3526
- for (let y = 0, p = a.length; y < p; y++)
3528
+ for (let y = 0, v = a.length; y < v; y++)
3527
3529
  if (a[y].point === s.point) {
3528
3530
  h = y;
3529
3531
  break;
3530
3532
  }
3531
3533
  if (h !== null) {
3532
- const y = a.splice(h)[0], p = u.splice(y.index);
3533
- p.unshift(p[0].otherSE), t.push(new ut(p.reverse()));
3534
+ const y = a.splice(h)[0], v = u.splice(y.index);
3535
+ v.unshift(v[0].otherSE), t.push(new ut(v.reverse()));
3534
3536
  continue;
3535
3537
  }
3536
3538
  a.push({
@@ -3556,11 +3558,11 @@ class ut {
3556
3558
  const t = [e];
3557
3559
  for (let u = 1, d = this.events.length - 1; u < d; u++) {
3558
3560
  const a = this.events[u].point, f = this.events[u + 1].point;
3559
- hi(a, e, f) !== 0 && (t.push(a), e = a);
3561
+ gi(a, e, f) !== 0 && (t.push(a), e = a);
3560
3562
  }
3561
3563
  if (t.length === 1) return null;
3562
3564
  const i = t[0], r = t[1];
3563
- hi(i, e, r) === 0 && t.shift(), t.push(t[0]);
3565
+ gi(i, e, r) === 0 && t.shift(), t.push(t[0]);
3564
3566
  const o = this.isExteriorRing() ? 1 : -1, l = this.isExteriorRing() ? 0 : t.length - 1, s = this.isExteriorRing() ? t.length : -1, c = [];
3565
3567
  for (let u = l; u != s; u += o) c.push([t[u].x, t[u].y]);
3566
3568
  return c;
@@ -3580,7 +3582,7 @@ class ut {
3580
3582
  let e = this.events[0];
3581
3583
  for (let r = 1, o = this.events.length; r < o; r++) {
3582
3584
  const l = this.events[r];
3583
- oe.compare(e, l) > 0 && (e = l);
3585
+ re.compare(e, l) > 0 && (e = l);
3584
3586
  }
3585
3587
  let t = e.segment.prevInResult(), i = t ? t.prevInResult() : null;
3586
3588
  for (; ; ) {
@@ -3592,7 +3594,7 @@ class ut {
3592
3594
  }
3593
3595
  }
3594
3596
  }
3595
- class bi {
3597
+ class yi {
3596
3598
  constructor(e) {
3597
3599
  this.exteriorRing = e, e.poly = this, this.interiorRings = [];
3598
3600
  }
@@ -3609,7 +3611,7 @@ class bi {
3609
3611
  return e;
3610
3612
  }
3611
3613
  }
3612
- class Or {
3614
+ class Wr {
3613
3615
  constructor(e) {
3614
3616
  this.rings = e, this.polys = this._composePolys(e);
3615
3617
  }
@@ -3626,19 +3628,19 @@ class Or {
3626
3628
  for (let i = 0, r = e.length; i < r; i++) {
3627
3629
  const o = e[i];
3628
3630
  if (!o.poly)
3629
- if (o.isExteriorRing()) t.push(new bi(o));
3631
+ if (o.isExteriorRing()) t.push(new yi(o));
3630
3632
  else {
3631
3633
  const l = o.enclosingRing();
3632
- l.poly || t.push(new bi(l)), l.poly.addInterior(o);
3634
+ l.poly || t.push(new yi(l)), l.poly.addInterior(o);
3633
3635
  }
3634
3636
  }
3635
3637
  return t;
3636
3638
  }
3637
3639
  }
3638
- class Wr {
3640
+ class Ar {
3639
3641
  constructor(e) {
3640
3642
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ye.compare;
3641
- this.queue = e, this.tree = new Wt(t), this.segments = [];
3643
+ this.queue = e, this.tree = new At(t), this.segments = [];
3642
3644
  }
3643
3645
  process(e) {
3644
3646
  const t = e.segment, i = [];
@@ -3672,7 +3674,7 @@ class Wr {
3672
3674
  }
3673
3675
  if (u !== null || d !== null) {
3674
3676
  let a = null;
3675
- u === null ? a = d : d === null ? a = u : a = oe.comparePoints(u, d) <= 0 ? u : d, this.queue.remove(t.rightSE), i.push(t.rightSE);
3677
+ u === null ? a = d : d === null ? a = u : a = re.comparePoints(u, d) <= 0 ? u : d, this.queue.remove(t.rightSE), i.push(t.rightSE);
3676
3678
  const f = t.split(a);
3677
3679
  for (let h = 0, b = f.length; h < b; h++)
3678
3680
  i.push(f[h]);
@@ -3708,33 +3710,33 @@ class Wr {
3708
3710
  return r.push(i), e.consumedBy === void 0 && this.tree.add(e), r;
3709
3711
  }
3710
3712
  }
3711
- const yi = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, Ar = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6;
3712
- class Br {
3713
+ const wi = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, Br = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6;
3714
+ class Dr {
3713
3715
  run(e, t, i) {
3714
3716
  le.type = e, Qe.reset();
3715
- const r = [new vi(t, !0)];
3717
+ const r = [new bi(t, !0)];
3716
3718
  for (let a = 0, f = i.length; a < f; a++)
3717
- r.push(new vi(i[a], !1));
3719
+ r.push(new bi(i[a], !1));
3718
3720
  if (le.numMultiPolys = r.length, le.type === "difference") {
3719
3721
  const a = r[0];
3720
3722
  let f = 1;
3721
3723
  for (; f < r.length; )
3722
- Rt(r[f].bbox, a.bbox) !== null ? f++ : r.splice(f, 1);
3724
+ It(r[f].bbox, a.bbox) !== null ? f++ : r.splice(f, 1);
3723
3725
  }
3724
3726
  if (le.type === "intersection")
3725
3727
  for (let a = 0, f = r.length; a < f; a++) {
3726
3728
  const h = r[a];
3727
3729
  for (let b = a + 1, y = r.length; b < y; b++)
3728
- if (Rt(h.bbox, r[b].bbox) === null) return [];
3730
+ if (It(h.bbox, r[b].bbox) === null) return [];
3729
3731
  }
3730
- const o = new Wt(oe.compare);
3732
+ const o = new At(re.compare);
3731
3733
  for (let a = 0, f = r.length; a < f; a++) {
3732
3734
  const h = r[a].getSweepEvents();
3733
3735
  for (let b = 0, y = h.length; b < y; b++)
3734
- if (o.insert(h[b]), o.size > yi)
3736
+ if (o.insert(h[b]), o.size > wi)
3735
3737
  throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big).");
3736
3738
  }
3737
- const l = new Wr(o);
3739
+ const l = new Ar(o);
3738
3740
  let s = o.size, c = o.pop();
3739
3741
  for (; c; ) {
3740
3742
  const a = c.key;
@@ -3742,9 +3744,9 @@ class Br {
3742
3744
  const h = a.segment;
3743
3745
  throw new Error(`Unable to pop() ${a.isLeft ? "left" : "right"} SweepEvent [${a.point.x}, ${a.point.y}] from segment #${h.id} [${h.leftSE.point.x}, ${h.leftSE.point.y}] -> [${h.rightSE.point.x}, ${h.rightSE.point.y}] from queue.`);
3744
3746
  }
3745
- if (o.size > yi)
3747
+ if (o.size > wi)
3746
3748
  throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big).");
3747
- if (l.segments.length > Ar)
3749
+ if (l.segments.length > Br)
3748
3750
  throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments).");
3749
3751
  const f = l.process(a);
3750
3752
  for (let h = 0, b = f.length; h < b; h++) {
@@ -3755,35 +3757,35 @@ class Br {
3755
3757
  }
3756
3758
  Qe.reset();
3757
3759
  const u = ut.factory(l.segments);
3758
- return new Or(u).getGeom();
3760
+ return new Wr(u).getGeom();
3759
3761
  }
3760
3762
  }
3761
- const le = new Br(), Dr = function(n) {
3763
+ const le = new Dr(), Ur = function(n) {
3762
3764
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3763
3765
  t[i - 1] = arguments[i];
3764
3766
  return le.run("union", n, t);
3765
- }, Ur = function(n) {
3767
+ }, zr = function(n) {
3766
3768
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3767
3769
  t[i - 1] = arguments[i];
3768
3770
  return le.run("intersection", n, t);
3769
- }, zr = function(n) {
3771
+ }, Fr = function(n) {
3770
3772
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3771
3773
  t[i - 1] = arguments[i];
3772
3774
  return le.run("xor", n, t);
3773
- }, Fr = function(n) {
3775
+ }, jr = function(n) {
3774
3776
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3775
3777
  t[i - 1] = arguments[i];
3776
3778
  return le.run("difference", n, t);
3777
3779
  };
3778
- var Ri = {
3779
- union: Dr,
3780
- intersection: Ur,
3781
- xor: zr,
3782
- difference: Fr
3780
+ var Ii = {
3781
+ union: Ur,
3782
+ intersection: zr,
3783
+ xor: Fr,
3784
+ difference: jr
3783
3785
  };
3784
- function Ii(n, e, t) {
3786
+ function Oi(n, e, t) {
3785
3787
  if (n !== null)
3786
- for (var i, r, o, l, s, c, u, d = 0, a = 0, f, h = n.type, b = h === "FeatureCollection", y = h === "Feature", p = b ? n.features.length : 1, m = 0; m < p; m++) {
3788
+ for (var i, r, o, l, s, c, u, d = 0, a = 0, f, h = n.type, b = h === "FeatureCollection", y = h === "Feature", v = b ? n.features.length : 1, m = 0; m < v; m++) {
3787
3789
  u = b ? n.features[m].geometry : y ? n.geometry : n, f = u ? u.type === "GeometryCollection" : !1, s = f ? u.geometries.length : 1;
3788
3790
  for (var E = 0; E < s; E++) {
3789
3791
  var S = 0, _ = 0;
@@ -3858,7 +3860,7 @@ function Ii(n, e, t) {
3858
3860
  break;
3859
3861
  case "GeometryCollection":
3860
3862
  for (i = 0; i < l.geometries.length; i++)
3861
- if (Ii(l.geometries[i], e) === !1)
3863
+ if (Oi(l.geometries[i], e) === !1)
3862
3864
  return !1;
3863
3865
  break;
3864
3866
  default:
@@ -3868,7 +3870,7 @@ function Ii(n, e, t) {
3868
3870
  }
3869
3871
  }
3870
3872
  }
3871
- function At(n, e) {
3873
+ function Bt(n, e) {
3872
3874
  var t, i, r, o, l, s, c, u, d, a, f = 0, h = n.type === "FeatureCollection", b = n.type === "Feature", y = h ? n.features.length : 1;
3873
3875
  for (t = 0; t < y; t++) {
3874
3876
  for (s = h ? n.features[t].geometry : b ? n.geometry : n, u = h ? n.features[t].properties : b ? n.properties : {}, d = h ? n.features[t].bbox : b ? n.bbox : void 0, a = h ? n.features[t].id : b ? n.id : void 0, c = s ? s.type === "GeometryCollection" : !1, l = c ? s.geometries.length : 1, r = 0; r < l; r++) {
@@ -3919,8 +3921,8 @@ function At(n, e) {
3919
3921
  f++;
3920
3922
  }
3921
3923
  }
3922
- function qr(n, e) {
3923
- At(n, function(t, i, r, o, l) {
3924
+ function Zr(n, e) {
3925
+ Bt(n, function(t, i, r, o, l) {
3924
3926
  var s = t === null ? null : t.type;
3925
3927
  switch (s) {
3926
3928
  case null:
@@ -3928,7 +3930,7 @@ function qr(n, e) {
3928
3930
  case "LineString":
3929
3931
  case "Polygon":
3930
3932
  return e(
3931
- Ze(t, r, { bbox: o, id: l }),
3933
+ Ge(t, r, { bbox: o, id: l }),
3932
3934
  i,
3933
3935
  0
3934
3936
  ) === !1 ? !1 : void 0;
@@ -3950,53 +3952,53 @@ function qr(n, e) {
3950
3952
  type: c,
3951
3953
  coordinates: d
3952
3954
  };
3953
- if (e(Ze(a, r), i, u) === !1)
3955
+ if (e(Ge(a, r), i, u) === !1)
3954
3956
  return !1;
3955
3957
  }
3956
3958
  });
3957
3959
  }
3958
- function jr(n, e = {}) {
3960
+ function Gr(n, e = {}) {
3959
3961
  const t = [];
3960
- if (At(n, (r) => {
3962
+ if (Bt(n, (r) => {
3961
3963
  t.push(r.coordinates);
3962
3964
  }), t.length < 2)
3963
3965
  throw new Error("Must have at least 2 geometries");
3964
- const i = Ri.union(t[0], ...t.slice(1));
3965
- return i.length === 0 ? null : i.length === 1 ? Ot(i[0], e.properties) : Pi(i, e.properties);
3966
+ const i = Ii.union(t[0], ...t.slice(1));
3967
+ return i.length === 0 ? null : i.length === 1 ? Wt(i[0], e.properties) : Ti(i, e.properties);
3966
3968
  }
3967
- var Oi = jr;
3968
- function Zr(n, e = {}) {
3969
+ var Wi = Gr;
3970
+ function qr(n, e = {}) {
3969
3971
  if (n.bbox != null && e.recompute !== !0)
3970
3972
  return n.bbox;
3971
3973
  const t = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
3972
- return Ii(n, (i) => {
3974
+ return Oi(n, (i) => {
3973
3975
  t[0] > i[0] && (t[0] = i[0]), t[1] > i[1] && (t[1] = i[1]), t[2] < i[0] && (t[2] = i[0]), t[3] < i[1] && (t[3] = i[1]);
3974
3976
  }), t;
3975
3977
  }
3976
- var wi = Zr;
3977
- function Gr(n) {
3978
+ var _i = qr;
3979
+ function Qr(n) {
3978
3980
  const e = [];
3979
- if (At(n, (r) => {
3981
+ if (Bt(n, (r) => {
3980
3982
  e.push(r.coordinates);
3981
3983
  }), e.length < 2)
3982
3984
  throw new Error("Must have at least two features");
3983
- const t = n.features[0].properties || {}, i = Ri.difference(e[0], ...e.slice(1));
3984
- return i.length === 0 ? null : i.length === 1 ? Ot(i[0], t) : Pi(i, t);
3985
+ const t = n.features[0].properties || {}, i = Ii.difference(e[0], ...e.slice(1));
3986
+ return i.length === 0 ? null : i.length === 1 ? Wt(i[0], t) : Ti(i, t);
3985
3987
  }
3986
- var Qr = Gr;
3987
- function Hr(n) {
3988
+ var Hr = Qr;
3989
+ function Vr(n) {
3988
3990
  if (!n)
3989
3991
  throw new Error("geojson is required");
3990
3992
  var e = [];
3991
- return qr(n, function(t) {
3993
+ return Zr(n, function(t) {
3992
3994
  e.push(t);
3993
- }), Ge(e);
3995
+ }), qe(e);
3994
3996
  }
3995
- var Vr = Hr;
3996
- function _i(n, e) {
3997
- const t = Qr(
3998
- Ge([
3999
- Ot([
3997
+ var Yr = Vr;
3998
+ function Ei(n, e) {
3999
+ const t = Hr(
4000
+ qe([
4001
+ Wt([
4000
4002
  [
4001
4003
  [180, 90],
4002
4004
  [-180, 90],
@@ -4011,10 +4013,10 @@ function _i(n, e) {
4011
4013
  if (!t)
4012
4014
  return;
4013
4015
  t.properties = { isMask: !0 };
4014
- const i = st(wi(n)), r = (i[2] - i[0]) / 360 / 1e3, o = i[0] < -180, l = i[2] > 180, s = Vr(n);
4016
+ const i = st(_i(n)), r = (i[2] - i[0]) / 360 / 1e3, o = i[0] < -180, l = i[2] > 180, s = Yr(n);
4015
4017
  if (s.features.length > 1 && (o || l))
4016
4018
  for (const c of s.features) {
4017
- const u = st(wi(c));
4019
+ const u = st(_i(c));
4018
4020
  if (l && u[0] < -180 + r)
4019
4021
  for (const d of c.geometry.coordinates)
4020
4022
  for (const a of d)
@@ -4025,14 +4027,14 @@ function _i(n, e) {
4025
4027
  a[0] -= 360 - r;
4026
4028
  }
4027
4029
  e(
4028
- Ge([
4029
- s.features.length < 2 ? n : Oi(s) ?? n,
4030
+ qe([
4031
+ s.features.length < 2 ? n : Wi(s) ?? n,
4030
4032
  t
4031
4033
  ])
4032
4034
  );
4033
4035
  }
4034
- const Ei = Ge([]);
4035
- function Yr(n, e, t = !0, i = !0, r = {}, o = {}, l = {
4036
+ const Li = qe([]);
4037
+ function Kr(n, e, t = !0, i = !0, r = {}, o = {}, l = {
4036
4038
  fill: {
4037
4039
  paint: {
4038
4040
  "fill-color": "#000",
@@ -4058,7 +4060,7 @@ function Yr(n, e, t = !0, i = !0, r = {}, o = {}, l = {
4058
4060
  function f() {
4059
4061
  !n.getSource("full-geom") && (l != null && l.fill || l != null && l.line) && n.addSource("full-geom", {
4060
4062
  type: "geojson",
4061
- data: Ei
4063
+ data: Li
4062
4064
  }), !n.getLayer("full-geom-fill") && (l != null && l.fill) && n.addLayer({
4063
4065
  ...l == null ? void 0 : l.fill,
4064
4066
  id: "full-geom-fill",
@@ -4076,52 +4078,52 @@ function Yr(n, e, t = !0, i = !0, r = {}, o = {}, l = {
4076
4078
  }), n.on("styledata", () => {
4077
4079
  f();
4078
4080
  });
4079
- const h = (p) => {
4081
+ const h = (v) => {
4080
4082
  s == null || s({
4081
4083
  type: "mapClick",
4082
- coordinates: [p.lngLat.lng, p.lngLat.lat]
4084
+ coordinates: [v.lngLat.lng, v.lngLat.lat]
4083
4085
  });
4084
4086
  };
4085
- function b(p = !1) {
4087
+ function b(v = !1) {
4086
4088
  if (!e)
4087
4089
  throw new Error();
4088
4090
  const m = document.createElement("div");
4089
- return p && m.classList.add("marker-interactive"), new jn({
4091
+ return v && m.classList.add("marker-interactive"), new Gn({
4090
4092
  props: { displayIn: "maplibre" },
4091
4093
  target: m
4092
4094
  }), new e.Marker({ element: m, offset: [1, -13] });
4093
4095
  }
4094
- function y(p) {
4096
+ function y(v) {
4095
4097
  var m;
4096
- a = p, p && ((m = n.getSource("full-geom")) == null || m.setData(p));
4098
+ a = v, v && ((m = n.getSource("full-geom")) == null || m.setData(v));
4097
4099
  }
4098
4100
  return {
4099
- setEventHandler(p) {
4100
- p ? (s = p, n.on("click", h)) : (s = void 0, n.off("click", h));
4101
+ setEventHandler(v) {
4102
+ v ? (s = v, n.on("click", h)) : (s = void 0, n.off("click", h));
4101
4103
  },
4102
- flyTo(p, m) {
4103
- n.flyTo({ center: p, ...m ? { zoom: m } : {}, ...r });
4104
+ flyTo(v, m) {
4105
+ n.flyTo({ center: v, ...m ? { zoom: m } : {}, ...r });
4104
4106
  },
4105
- fitBounds(p, m, E) {
4107
+ fitBounds(v, m, E) {
4106
4108
  n.fitBounds(
4107
4109
  [
4108
- [p[0], p[1]],
4109
- [p[2], p[3]]
4110
+ [v[0], v[1]],
4111
+ [v[2], v[3]]
4110
4112
  ],
4111
4113
  { padding: m, ...E ? { maxZoom: E } : {}, ...o }
4112
4114
  );
4113
4115
  },
4114
- indicateReverse(p) {
4115
- n.getCanvasContainer().style.cursor = p ? "crosshair" : "";
4116
+ indicateReverse(v) {
4117
+ n.getCanvasContainer().style.cursor = v ? "crosshair" : "";
4116
4118
  },
4117
- setReverseMarker(p) {
4118
- !e || !t || (d ? p ? d.setLngLat(p) : (d.remove(), d = void 0) : p && (d = (typeof t == "object" ? new e.Marker(t) : b()).setLngLat(p).addTo(n), d.getElement().classList.add("marker-reverse")));
4119
+ setReverseMarker(v) {
4120
+ !e || !t || (d ? v ? d.setLngLat(v) : (d.remove(), d = void 0) : v && (d = (typeof t == "object" ? new e.Marker(t) : b()).setLngLat(v).addTo(n), d.getElement().classList.add("marker-reverse")));
4119
4121
  },
4120
- setMarkers(p, m) {
4122
+ setMarkers(v, m) {
4121
4123
  if (t) {
4122
4124
  for (const E of c)
4123
4125
  E.remove();
4124
- if (c.length = 0, y(Ei), !!e) {
4126
+ if (c.length = 0, y(Li), !!e) {
4125
4127
  if (m) {
4126
4128
  let E = !1;
4127
4129
  if (m.geometry.type === "GeometryCollection") {
@@ -4129,12 +4131,12 @@ function Yr(n, e, t = !0, i = !0, r = {}, o = {}, l = {
4129
4131
  (_) => _.type === "Polygon" || _.type === "MultiPolygon"
4130
4132
  );
4131
4133
  e: if (S.length > 0) {
4132
- const _ = Oi(
4133
- Ge(S.map((k) => Ze(k)))
4134
+ const _ = Wi(
4135
+ qe(S.map((k) => Ge(k)))
4134
4136
  );
4135
4137
  if (!_)
4136
4138
  break e;
4137
- _i(
4139
+ Ei(
4138
4140
  {
4139
4141
  ...m,
4140
4142
  geometry: _.geometry
@@ -4153,7 +4155,7 @@ function Yr(n, e, t = !0, i = !0, r = {}, o = {}, l = {
4153
4155
  }
4154
4156
  if (!E) {
4155
4157
  if (m.geometry.type === "Polygon" || m.geometry.type === "MultiPolygon")
4156
- _i(m, y);
4158
+ Ei(m, y);
4157
4159
  else if (m.geometry.type === "LineString" || m.geometry.type === "MultiLineString") {
4158
4160
  y(m);
4159
4161
  return;
@@ -4164,7 +4166,7 @@ function Yr(n, e, t = !0, i = !0, r = {}, o = {}, l = {
4164
4166
  );
4165
4167
  }
4166
4168
  if (i)
4167
- for (const E of p ?? []) {
4169
+ for (const E of v ?? []) {
4168
4170
  if (E === m)
4169
4171
  continue;
4170
4172
  const S = (typeof i == "object" ? new e.Marker(i) : b(!0)).setLngLat(E.center).setPopup(
@@ -4188,21 +4190,21 @@ function Yr(n, e, t = !0, i = !0, r = {}, o = {}, l = {
4188
4190
  }
4189
4191
  }
4190
4192
  },
4191
- setSelectedMarker(p) {
4192
- u && u.getElement().classList.toggle("marker-selected", !1), u = p > -1 ? c[p] : void 0, u == null || u.getElement().classList.toggle("marker-selected", !0);
4193
+ setSelectedMarker(v) {
4194
+ u && u.getElement().classList.toggle("marker-selected", !1), u = v > -1 ? c[v] : void 0, u == null || u.getElement().classList.toggle("marker-selected", !0);
4193
4195
  },
4194
4196
  getCenterAndZoom() {
4195
- const p = n.getCenter();
4196
- return [n.getZoom(), p.lng, p.lat];
4197
+ const v = n.getCenter();
4198
+ return [n.getZoom(), v.lng, v.lat];
4197
4199
  }
4198
4200
  };
4199
4201
  }
4200
4202
  var te, Ne;
4201
- class Kr extends EventTarget {
4203
+ class Xr extends EventTarget {
4202
4204
  constructor(t = {}) {
4203
4205
  super();
4204
- _t(this, te);
4205
- _t(this, Ne);
4206
+ Et(this, te);
4207
+ Et(this, Ne);
4206
4208
  et(this, Ne, t);
4207
4209
  }
4208
4210
  onAddInt(t) {
@@ -4214,8 +4216,8 @@ class Kr extends EventTarget {
4214
4216
  flyTo: l,
4215
4217
  fullGeometryStyle: s,
4216
4218
  ...c
4217
- } = re(this, Ne), u = typeof l == "boolean" ? {} : l, d = this.getExtraProps(t, i), f = {
4218
- mapController: Yr(
4219
+ } = ne(this, Ne), u = typeof l == "boolean" ? {} : l, d = this.getExtraProps(t, i), f = {
4220
+ mapController: Kr(
4219
4221
  t,
4220
4222
  this.getMapLibreGl(),
4221
4223
  r,
@@ -4232,7 +4234,7 @@ class Kr extends EventTarget {
4232
4234
  };
4233
4235
  if (!f.apiKey)
4234
4236
  throw new Error("no apiKey provided");
4235
- et(this, te, new hr({ target: i, props: f }));
4237
+ et(this, te, new gr({ target: i, props: f }));
4236
4238
  for (const h of [
4237
4239
  "select",
4238
4240
  "pick",
@@ -4243,7 +4245,7 @@ class Kr extends EventTarget {
4243
4245
  "reverseToggle",
4244
4246
  "queryChange"
4245
4247
  ])
4246
- re(this, te).$on(h, (b) => this.dispatchEvent(b));
4248
+ ne(this, te).$on(h, (b) => this.dispatchEvent(b));
4247
4249
  return i;
4248
4250
  }
4249
4251
  setOptions(t) {
@@ -4255,42 +4257,42 @@ class Kr extends EventTarget {
4255
4257
  flyTo: o,
4256
4258
  fullGeometryStyle: l,
4257
4259
  ...s
4258
- } = re(this, Ne);
4259
- (c = re(this, te)) == null || c.$set(s);
4260
+ } = ne(this, Ne);
4261
+ (c = ne(this, te)) == null || c.$set(s);
4260
4262
  }
4261
4263
  setQuery(t, i = !0) {
4262
4264
  var r;
4263
- (r = re(this, te)) == null || r.setQuery(t, i);
4265
+ (r = ne(this, te)) == null || r.setQuery(t, i);
4264
4266
  }
4265
4267
  clearMap() {
4266
4268
  var t;
4267
- (t = re(this, te)) == null || t.clearMap();
4269
+ (t = ne(this, te)) == null || t.clearMap();
4268
4270
  }
4269
4271
  clearList() {
4270
4272
  var t;
4271
- (t = re(this, te)) == null || t.clearList();
4273
+ (t = ne(this, te)) == null || t.clearList();
4272
4274
  }
4273
4275
  setReverseMode(t) {
4274
4276
  var i;
4275
- (i = re(this, te)) == null || i.$set({ reverseActive: t });
4277
+ (i = ne(this, te)) == null || i.$set({ reverseActive: t });
4276
4278
  }
4277
4279
  focus() {
4278
4280
  var t;
4279
- (t = re(this, te)) == null || t.focus();
4281
+ (t = ne(this, te)) == null || t.focus();
4280
4282
  }
4281
4283
  blur() {
4282
4284
  var t;
4283
- (t = re(this, te)) == null || t.blur();
4285
+ (t = ne(this, te)) == null || t.blur();
4284
4286
  }
4285
4287
  onRemove() {
4286
4288
  var t;
4287
- (t = re(this, te)) == null || t.$destroy();
4289
+ (t = ne(this, te)) == null || t.$destroy();
4288
4290
  }
4289
4291
  }
4290
4292
  te = new WeakMap(), Ne = new WeakMap();
4291
- class $r extends Kr {
4293
+ class eo extends Xr {
4292
4294
  getMapLibreGl() {
4293
- return on;
4295
+ return sn;
4294
4296
  }
4295
4297
  onAdd(e) {
4296
4298
  return super.onAddInt(e);
@@ -4300,7 +4302,7 @@ class $r extends Kr {
4300
4302
  }
4301
4303
  }
4302
4304
  export {
4303
- $r as GeocodingControl,
4304
- Yr as createMapLibreGlMapController
4305
+ eo as GeocodingControl,
4306
+ Kr as createMapLibreGlMapController
4305
4307
  };
4306
4308
  //# sourceMappingURL=maplibregl.js.map