@maptiler/geocoding-control 2.0.0-rc.1 → 2.0.0-rc.2

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/openlayers.js CHANGED
@@ -1,39 +1,39 @@
1
- var vn = Object.defineProperty;
2
- var Yt = (n) => {
1
+ var pn = Object.defineProperty;
2
+ var Ht = (n) => {
3
3
  throw TypeError(n);
4
4
  };
5
- var bn = (n, e, t) => e in n ? vn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
6
- var se = (n, e, t) => bn(n, typeof e != "symbol" ? e + "" : e, t), Xt = (n, e, t) => e.has(n) || Yt("Cannot " + t);
7
- var V = (n, e, t) => (Xt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), kt = (n, e, t) => e.has(n) ? Yt("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), ot = (n, e, t, i) => (Xt(n, e, "write to private field"), i ? i.call(n, t) : e.set(n, t), t);
8
- import { Control as wn } from "ol/control";
5
+ var vn = (n, e, t) => e in n ? pn(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
6
+ var se = (n, e, t) => vn(n, typeof e != "symbol" ? e + "" : e, t), Yt = (n, e, t) => e.has(n) || Ht("Cannot " + t);
7
+ var Z = (n, e, t) => (Yt(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Mt = (n, e, t) => e.has(n) ? Ht("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), rt = (n, e, t, i) => (Yt(n, e, "write to private field"), i ? i.call(n, t) : e.set(n, t), t);
8
+ import { Control as bn } from "ol/control";
9
9
  import Ce from "ol/events/Event";
10
10
  import { Feature as fe } from "ol";
11
- import { Polygon as Kt, MultiPolygon as Jt, GeometryCollection as _n, LineString as $t, MultiLineString as ei, Point as Ct } from "ol/geom";
12
- import En from "ol/layer/Vector";
13
- import { toLonLat as ti, getUserProjection as Ln, fromLonLat as st, transformExtent as Sn } from "ol/proj";
14
- import xn from "ol/source/Vector";
15
- import ii from "ol/style/Fill";
16
- import Mn from "ol/style/Icon";
17
- import ni from "ol/style/Stroke";
18
- import kn from "ol/style/Style";
19
- import Cn from "ol/style/Text";
11
+ import { Polygon as Xt, MultiPolygon as Kt, GeometryCollection as wn, LineString as Jt, MultiLineString as $t, Point as kt } from "ol/geom";
12
+ import _n from "ol/layer/Vector";
13
+ import { toLonLat as ei, getUserProjection as En, fromLonLat as ot, transformExtent as Ln } from "ol/proj";
14
+ import Sn from "ol/source/Vector";
15
+ import ti from "ol/style/Fill";
16
+ import xn from "ol/style/Icon";
17
+ import ii from "ol/style/Stroke";
18
+ import Mn from "ol/style/Style";
19
+ import kn from "ol/style/Text";
20
20
  function G() {
21
21
  }
22
- function Nn(n, e) {
22
+ function Cn(n, e) {
23
23
  for (const t in e) n[t] = e[t];
24
24
  return (
25
25
  /** @type {T & S} */
26
26
  n
27
27
  );
28
28
  }
29
- function Fi(n) {
29
+ function zi(n) {
30
30
  return n();
31
31
  }
32
- function ri() {
32
+ function ni() {
33
33
  return /* @__PURE__ */ Object.create(null);
34
34
  }
35
35
  function ye(n) {
36
- n.forEach(Fi);
36
+ n.forEach(zi);
37
37
  }
38
38
  function Bi(n) {
39
39
  return typeof n == "function";
@@ -41,23 +41,23 @@ function Bi(n) {
41
41
  function Re(n, e) {
42
42
  return n != n ? e == e : n !== e || n && typeof n == "object" || typeof n == "function";
43
43
  }
44
- let lt;
44
+ let st;
45
45
  function J(n, e) {
46
- return n === e ? !0 : (lt || (lt = document.createElement("a")), lt.href = e, n === lt.href);
46
+ return n === e ? !0 : (st || (st = document.createElement("a")), st.href = e, n === st.href);
47
47
  }
48
- function Pn(n) {
48
+ function Nn(n) {
49
49
  return Object.keys(n).length === 0;
50
50
  }
51
- function Tn(n, e, t, i) {
51
+ function Pn(n, e, t, i) {
52
52
  if (n) {
53
- const r = Di(n, e, t, i);
53
+ const r = Fi(n, e, t, i);
54
54
  return n[0](r);
55
55
  }
56
56
  }
57
- function Di(n, e, t, i) {
58
- return n[1] && i ? Nn(t.ctx.slice(), n[1](i(e))) : t.ctx;
57
+ function Fi(n, e, t, i) {
58
+ return n[1] && i ? Cn(t.ctx.slice(), n[1](i(e))) : t.ctx;
59
59
  }
60
- function Rn(n, e, t, i) {
60
+ function Tn(n, e, t, i) {
61
61
  if (n[2] && i) {
62
62
  const r = n[2](i(t));
63
63
  if (e.dirty === void 0)
@@ -72,13 +72,13 @@ function Rn(n, e, t, i) {
72
72
  }
73
73
  return e.dirty;
74
74
  }
75
- function In(n, e, t, i, r, o) {
75
+ function Rn(n, e, t, i, r, o) {
76
76
  if (r) {
77
- const l = Di(e, t, i, o);
77
+ const l = Fi(e, t, i, o);
78
78
  n.p(l, r);
79
79
  }
80
80
  }
81
- function On(n) {
81
+ function In(n) {
82
82
  if (n.ctx.length > 32) {
83
83
  const e = [], t = n.ctx.length / 32;
84
84
  for (let i = 0; i < t; i++)
@@ -87,7 +87,7 @@ function On(n) {
87
87
  }
88
88
  return -1;
89
89
  }
90
- function oi(n) {
90
+ function ri(n) {
91
91
  return n ?? "";
92
92
  }
93
93
  function R(n, e) {
@@ -96,7 +96,7 @@ function R(n, e) {
96
96
  function j(n, e, t) {
97
97
  n.insertBefore(e, t || null);
98
98
  }
99
- function F(n) {
99
+ function B(n) {
100
100
  n.parentNode && n.parentNode.removeChild(n);
101
101
  }
102
102
  function W(n) {
@@ -111,13 +111,13 @@ function xe(n) {
111
111
  function ne() {
112
112
  return xe(" ");
113
113
  }
114
- function Wn() {
114
+ function On() {
115
115
  return xe("");
116
116
  }
117
117
  function ee(n, e, t, i) {
118
118
  return n.addEventListener(e, t, i), () => n.removeEventListener(e, t, i);
119
119
  }
120
- function An(n) {
120
+ function Wn(n) {
121
121
  return function(e) {
122
122
  return e.preventDefault(), n.call(this, e);
123
123
  };
@@ -125,39 +125,39 @@ function An(n) {
125
125
  function v(n, e, t) {
126
126
  t == null ? n.removeAttribute(e) : n.getAttribute(e) !== t && n.setAttribute(e, t);
127
127
  }
128
- function zn(n) {
128
+ function An(n) {
129
129
  return Array.from(n.childNodes);
130
130
  }
131
- function He(n, e) {
131
+ function Ze(n, e) {
132
132
  e = "" + e, n.data !== e && (n.data = /** @type {string} */
133
133
  e);
134
134
  }
135
- function si(n, e) {
135
+ function oi(n, e) {
136
136
  n.value = e ?? "";
137
137
  }
138
138
  function Ee(n, e, t) {
139
139
  n.classList.toggle(e, !!t);
140
140
  }
141
- function Fn(n, e, { bubbles: t = !1, cancelable: i = !1 } = {}) {
141
+ function zn(n, e, { bubbles: t = !1, cancelable: i = !1 } = {}) {
142
142
  return new CustomEvent(n, { detail: e, bubbles: t, cancelable: i });
143
143
  }
144
- let Ye;
144
+ let He;
145
145
  function Ve(n) {
146
- Ye = n;
146
+ He = n;
147
147
  }
148
- function Ui() {
149
- if (!Ye) throw new Error("Function called outside component initialization");
150
- return Ye;
148
+ function Di() {
149
+ if (!He) throw new Error("Function called outside component initialization");
150
+ return He;
151
151
  }
152
152
  function Bn(n) {
153
- Ui().$$.on_destroy.push(n);
153
+ Di().$$.on_destroy.push(n);
154
154
  }
155
- function Dn() {
156
- const n = Ui();
155
+ function Fn() {
156
+ const n = Di();
157
157
  return (e, t, { cancelable: i = !1 } = {}) => {
158
158
  const r = n.$$.callbacks[e];
159
159
  if (r) {
160
- const o = Fn(
160
+ const o = zn(
161
161
  /** @type {string} */
162
162
  e,
163
163
  t,
@@ -170,60 +170,60 @@ function Dn() {
170
170
  return !0;
171
171
  };
172
172
  }
173
- function li(n, e) {
173
+ function si(n, e) {
174
174
  const t = n.$$.callbacks[e.type];
175
175
  t && t.slice().forEach((i) => i.call(this, e));
176
176
  }
177
- const De = [], Rt = [];
178
- let Ue = [];
179
- const ui = [], Un = /* @__PURE__ */ Promise.resolve();
180
- let It = !1;
181
- function Gn() {
182
- It || (It = !0, Un.then(Gi));
177
+ const Fe = [], Tt = [];
178
+ let De = [];
179
+ const li = [], Dn = /* @__PURE__ */ Promise.resolve();
180
+ let Rt = !1;
181
+ function Un() {
182
+ Rt || (Rt = !0, Dn.then(Ui));
183
183
  }
184
- function Ot(n) {
185
- Ue.push(n);
184
+ function It(n) {
185
+ De.push(n);
186
186
  }
187
- const Nt = /* @__PURE__ */ new Set();
188
- let Fe = 0;
189
- function Gi() {
190
- if (Fe !== 0)
187
+ const Ct = /* @__PURE__ */ new Set();
188
+ let ze = 0;
189
+ function Ui() {
190
+ if (ze !== 0)
191
191
  return;
192
- const n = Ye;
192
+ const n = He;
193
193
  do {
194
194
  try {
195
- for (; Fe < De.length; ) {
196
- const e = De[Fe];
197
- Fe++, Ve(e), jn(e.$$);
195
+ for (; ze < Fe.length; ) {
196
+ const e = Fe[ze];
197
+ ze++, Ve(e), Gn(e.$$);
198
198
  }
199
199
  } catch (e) {
200
- throw De.length = 0, Fe = 0, e;
200
+ throw Fe.length = 0, ze = 0, e;
201
201
  }
202
- for (Ve(null), De.length = 0, Fe = 0; Rt.length; ) Rt.pop()();
203
- for (let e = 0; e < Ue.length; e += 1) {
204
- const t = Ue[e];
205
- Nt.has(t) || (Nt.add(t), t());
202
+ for (Ve(null), Fe.length = 0, ze = 0; Tt.length; ) Tt.pop()();
203
+ for (let e = 0; e < De.length; e += 1) {
204
+ const t = De[e];
205
+ Ct.has(t) || (Ct.add(t), t());
206
206
  }
207
- Ue.length = 0;
208
- } while (De.length);
209
- for (; ui.length; )
210
- ui.pop()();
211
- It = !1, Nt.clear(), Ve(n);
207
+ De.length = 0;
208
+ } while (Fe.length);
209
+ for (; li.length; )
210
+ li.pop()();
211
+ Rt = !1, Ct.clear(), Ve(n);
212
212
  }
213
- function jn(n) {
213
+ function Gn(n) {
214
214
  if (n.fragment !== null) {
215
215
  n.update(), ye(n.before_update);
216
216
  const e = n.dirty;
217
- n.dirty = [-1], n.fragment && n.fragment.p(n.ctx, e), n.after_update.forEach(Ot);
217
+ n.dirty = [-1], n.fragment && n.fragment.p(n.ctx, e), n.after_update.forEach(It);
218
218
  }
219
219
  }
220
- function qn(n) {
220
+ function jn(n) {
221
221
  const e = [], t = [];
222
- Ue.forEach((i) => n.indexOf(i) === -1 ? e.push(i) : t.push(i)), t.forEach((i) => i()), Ue = e;
222
+ De.forEach((i) => n.indexOf(i) === -1 ? e.push(i) : t.push(i)), t.forEach((i) => i()), De = e;
223
223
  }
224
- const ut = /* @__PURE__ */ new Set();
224
+ const lt = /* @__PURE__ */ new Set();
225
225
  let Te;
226
- function at() {
226
+ function ut() {
227
227
  Te = {
228
228
  r: 0,
229
229
  c: [],
@@ -231,24 +231,24 @@ function at() {
231
231
  // parent group
232
232
  };
233
233
  }
234
- function ct() {
234
+ function at() {
235
235
  Te.r || ye(Te.c), Te = Te.p;
236
236
  }
237
237
  function q(n, e) {
238
- n && n.i && (ut.delete(n), n.i(e));
238
+ n && n.i && (lt.delete(n), n.i(e));
239
239
  }
240
240
  function X(n, e, t, i) {
241
241
  if (n && n.o) {
242
- if (ut.has(n)) return;
243
- ut.add(n), Te.c.push(() => {
244
- ut.delete(n), i && (t && n.d(1), i());
242
+ if (lt.has(n)) return;
243
+ lt.add(n), Te.c.push(() => {
244
+ lt.delete(n), i && (t && n.d(1), i());
245
245
  }), n.o(e);
246
246
  } else i && i();
247
247
  }
248
- function ai(n) {
248
+ function ui(n) {
249
249
  return (n == null ? void 0 : n.length) !== void 0 ? n : Array.from(n);
250
250
  }
251
- function Zn(n, e) {
251
+ function qn(n, e) {
252
252
  X(n, 1, 1, () => {
253
253
  e.delete(n.key);
254
254
  });
@@ -283,20 +283,20 @@ function Me(n) {
283
283
  }
284
284
  function me(n, e, t) {
285
285
  const { fragment: i, after_update: r } = n.$$;
286
- i && i.m(e, t), Ot(() => {
287
- const o = n.$$.on_mount.map(Fi).filter(Bi);
286
+ i && i.m(e, t), It(() => {
287
+ const o = n.$$.on_mount.map(zi).filter(Bi);
288
288
  n.$$.on_destroy ? n.$$.on_destroy.push(...o) : ye(o), n.$$.on_mount = [];
289
- }), r.forEach(Ot);
289
+ }), r.forEach(It);
290
290
  }
291
291
  function ge(n, e) {
292
292
  const t = n.$$;
293
- t.fragment !== null && (qn(t.after_update), ye(t.on_destroy), t.fragment && t.fragment.d(e), t.on_destroy = t.fragment = null, t.ctx = []);
293
+ t.fragment !== null && (jn(t.after_update), ye(t.on_destroy), t.fragment && t.fragment.d(e), t.on_destroy = t.fragment = null, t.ctx = []);
294
294
  }
295
295
  function Vn(n, e) {
296
- n.$$.dirty[0] === -1 && (De.push(n), Gn(), n.$$.dirty.fill(0)), n.$$.dirty[e / 31 | 0] |= 1 << e % 31;
296
+ n.$$.dirty[0] === -1 && (Fe.push(n), Un(), n.$$.dirty.fill(0)), n.$$.dirty[e / 31 | 0] |= 1 << e % 31;
297
297
  }
298
298
  function Ie(n, e, t, i, r, o, l = null, s = [-1]) {
299
- const c = Ye;
299
+ const c = He;
300
300
  Ve(n);
301
301
  const a = n.$$ = {
302
302
  fragment: null,
@@ -305,7 +305,7 @@ function Ie(n, e, t, i, r, o, l = null, s = [-1]) {
305
305
  props: o,
306
306
  update: G,
307
307
  not_equal: r,
308
- bound: ri(),
308
+ bound: ni(),
309
309
  // lifecycle
310
310
  on_mount: [],
311
311
  on_destroy: [],
@@ -314,7 +314,7 @@ function Ie(n, e, t, i, r, o, l = null, s = [-1]) {
314
314
  after_update: [],
315
315
  context: new Map(e.context || (c ? c.$$.context : [])),
316
316
  // everything else
317
- callbacks: ri(),
317
+ callbacks: ni(),
318
318
  dirty: s,
319
319
  skip_bound: !1,
320
320
  root: e.target || c.$$.root
@@ -326,11 +326,11 @@ function Ie(n, e, t, i, r, o, l = null, s = [-1]) {
326
326
  return a.ctx && r(a.ctx[u], a.ctx[u] = b) && (!a.skip_bound && a.bound[u] && a.bound[u](b), d && Vn(n, u)), f;
327
327
  }) : [], a.update(), d = !0, ye(a.before_update), a.fragment = i ? i(a.ctx) : !1, e.target) {
328
328
  if (e.hydrate) {
329
- const u = zn(e.target);
330
- a.fragment && a.fragment.l(u), u.forEach(F);
329
+ const u = An(e.target);
330
+ a.fragment && a.fragment.l(u), u.forEach(B);
331
331
  } else
332
332
  a.fragment && a.fragment.c();
333
- e.intro && q(n.$$.fragment), me(n, e.target, e.anchor), Gi();
333
+ e.intro && q(n.$$.fragment), me(n, e.target, e.anchor), Ui();
334
334
  }
335
335
  Ve(c);
336
336
  }
@@ -377,12 +377,12 @@ class Oe {
377
377
  * @returns {void}
378
378
  */
379
379
  $set(e) {
380
- this.$$set && !Pn(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
380
+ this.$$set && !Nn(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
381
381
  }
382
382
  }
383
- const Hn = "4";
384
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
385
- function Yn(n) {
383
+ const Zn = "4";
384
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zn);
385
+ function Hn(n) {
386
386
  let e, t;
387
387
  return {
388
388
  c() {
@@ -395,16 +395,16 @@ function Yn(n) {
395
395
  i: G,
396
396
  o: G,
397
397
  d(i) {
398
- i && F(e);
398
+ i && B(e);
399
399
  }
400
400
  };
401
401
  }
402
- class ji extends Oe {
402
+ class Gi extends Oe {
403
403
  constructor(e) {
404
- super(), Ie(this, e, null, Yn, Re, {});
404
+ super(), Ie(this, e, null, Hn, Re, {});
405
405
  }
406
406
  }
407
- function Xn(n) {
407
+ function Yn(n) {
408
408
  let e, t;
409
409
  return {
410
410
  c() {
@@ -417,16 +417,16 @@ function Xn(n) {
417
417
  i: G,
418
418
  o: G,
419
419
  d(i) {
420
- i && F(e);
420
+ i && B(e);
421
421
  }
422
422
  };
423
423
  }
424
- class qi extends Oe {
424
+ class ji extends Oe {
425
425
  constructor(e) {
426
- super(), Ie(this, e, null, Xn, Re, {});
426
+ super(), Ie(this, e, null, Yn, Re, {});
427
427
  }
428
428
  }
429
- function Kn(n) {
429
+ function Xn(n) {
430
430
  let e, t;
431
431
  return {
432
432
  c() {
@@ -453,11 +453,11 @@ function Kn(n) {
453
453
  );
454
454
  },
455
455
  d(i) {
456
- i && F(e);
456
+ i && B(e);
457
457
  }
458
458
  };
459
459
  }
460
- function Jn(n) {
460
+ function Kn(n) {
461
461
  let e, t;
462
462
  return {
463
463
  c() {
@@ -484,11 +484,11 @@ function Jn(n) {
484
484
  );
485
485
  },
486
486
  d(i) {
487
- i && F(e);
487
+ i && B(e);
488
488
  }
489
489
  };
490
490
  }
491
- function $n(n) {
491
+ function Jn(n) {
492
492
  let e, t;
493
493
  return {
494
494
  c() {
@@ -515,11 +515,11 @@ function $n(n) {
515
515
  );
516
516
  },
517
517
  d(i) {
518
- i && F(e);
518
+ i && B(e);
519
519
  }
520
520
  };
521
521
  }
522
- function er(n) {
522
+ function $n(n) {
523
523
  let e, t;
524
524
  return {
525
525
  c() {
@@ -546,11 +546,11 @@ function er(n) {
546
546
  );
547
547
  },
548
548
  d(i) {
549
- i && F(e);
549
+ i && B(e);
550
550
  }
551
551
  };
552
552
  }
553
- function tr(n) {
553
+ function er(n) {
554
554
  let e, t;
555
555
  return {
556
556
  c() {
@@ -577,11 +577,11 @@ function tr(n) {
577
577
  );
578
578
  },
579
579
  d(i) {
580
- i && F(e);
580
+ i && B(e);
581
581
  }
582
582
  };
583
583
  }
584
- function ir(n) {
584
+ function tr(n) {
585
585
  let e, t;
586
586
  return {
587
587
  c() {
@@ -608,11 +608,11 @@ function ir(n) {
608
608
  );
609
609
  },
610
610
  d(i) {
611
- i && F(e);
611
+ i && B(e);
612
612
  }
613
613
  };
614
614
  }
615
- function nr(n) {
615
+ function ir(n) {
616
616
  let e, t;
617
617
  return {
618
618
  c() {
@@ -639,11 +639,11 @@ function nr(n) {
639
639
  );
640
640
  },
641
641
  d(i) {
642
- i && F(e);
642
+ i && B(e);
643
643
  }
644
644
  };
645
645
  }
646
- function rr(n) {
646
+ function nr(n) {
647
647
  let e, t, i, r;
648
648
  return {
649
649
  c() {
@@ -675,11 +675,11 @@ function rr(n) {
675
675
  );
676
676
  },
677
677
  d(o) {
678
- o && F(e), i = !1, r();
678
+ o && B(e), i = !1, r();
679
679
  }
680
680
  };
681
681
  }
682
- function ci(n) {
682
+ function ai(n) {
683
683
  let e, t;
684
684
  return {
685
685
  c() {
@@ -693,18 +693,18 @@ function ci(n) {
693
693
  },
694
694
  p(i, r) {
695
695
  r & /*placeType*/
696
- 64 && He(
696
+ 64 && Ze(
697
697
  t,
698
698
  /*placeType*/
699
699
  i[6]
700
700
  );
701
701
  },
702
702
  d(i) {
703
- i && F(e);
703
+ i && B(e);
704
704
  }
705
705
  };
706
706
  }
707
- function or(n) {
707
+ function rr(n) {
708
708
  let e, t, i, r, o, l, s, c, a, d = (
709
709
  /*isReverse*/
710
710
  (n[7] ? (
@@ -717,7 +717,7 @@ function or(n) {
717
717
  ), u, f, h = (
718
718
  /*showPlaceType*/
719
719
  n[2] === "always" || /*showPlaceType*/
720
- n[2] && !/*feature*/
720
+ n[2] !== "never" && !/*feature*/
721
721
  n[0].address && !/*feature*/
722
722
  n[0].id.startsWith("road.") && !/*feature*/
723
723
  n[0].id.startsWith("address.") && !/*feature*/
@@ -738,19 +738,19 @@ function or(n) {
738
738
  1 && (i = null), C & /*feature*/
739
739
  1 && (r = null), C & /*feature*/
740
740
  1 && (o = null), /*imageUrl*/
741
- _[5] ? rr : (
741
+ _[5] ? nr : (
742
742
  /*feature*/
743
- _[0].address ? nr : (t == null && (t = !!/*feature*/
744
- _[0].id.startsWith("road.")), t ? ir : (i == null && (i = !!/*feature*/
745
- _[0].id.startsWith("address.")), i ? tr : (r == null && (r = !!/*feature*/
746
- _[0].id.startsWith("postal_code.")), r ? er : (o == null && (o = !!/*feature*/
747
- _[0].id.startsWith("poi.")), o ? $n : (
743
+ _[0].address ? ir : (t == null && (t = !!/*feature*/
744
+ _[0].id.startsWith("road.")), t ? tr : (i == null && (i = !!/*feature*/
745
+ _[0].id.startsWith("address.")), i ? er : (r == null && (r = !!/*feature*/
746
+ _[0].id.startsWith("postal_code.")), r ? $n : (o == null && (o = !!/*feature*/
747
+ _[0].id.startsWith("poi.")), o ? Jn : (
748
748
  /*isReverse*/
749
- _[7] ? Jn : Kn
749
+ _[7] ? Kn : Xn
750
750
  )))))
751
751
  );
752
752
  }
753
- let k = w(n, -1), x = k(n), L = h && ci(n);
753
+ let k = w(n, -1), x = k(n), L = h && ai(n);
754
754
  return {
755
755
  c() {
756
756
  e = W("li"), x.c(), l = ne(), s = W("span"), c = W("span"), a = W("span"), u = xe(d), f = ne(), L && L.c(), b = ne(), g = W("span"), p = xe(y), v(a, "class", "primary svelte-ltkwvy"), v(c, "class", "svelte-ltkwvy"), v(g, "class", "line2 svelte-ltkwvy"), v(s, "class", "texts svelte-ltkwvy"), v(e, "tabindex", "0"), v(
@@ -790,22 +790,22 @@ function or(n) {
790
790
  ) : (
791
791
  /*feature*/
792
792
  _[0].place_name.replace(/,.*/, "")
793
- )) + "") && He(u, d), C & /*showPlaceType, feature, imageUrl*/
793
+ )) + "") && Ze(u, d), C & /*showPlaceType, feature, imageUrl*/
794
794
  37 && (h = /*showPlaceType*/
795
795
  _[2] === "always" || /*showPlaceType*/
796
- _[2] && !/*feature*/
796
+ _[2] !== "never" && !/*feature*/
797
797
  _[0].address && !/*feature*/
798
798
  _[0].id.startsWith("road.") && !/*feature*/
799
799
  _[0].id.startsWith("address.") && !/*feature*/
800
800
  _[0].id.startsWith("postal_code.") && (!/*feature*/
801
801
  _[0].id.startsWith("poi.") || !/*imageUrl*/
802
802
  _[5]) && !/*isReverse*/
803
- _[7]), h ? L ? L.p(_, C) : (L = ci(_), L.c(), L.m(c, null)) : L && (L.d(1), L = null), C & /*feature*/
803
+ _[7]), h ? L ? L.p(_, C) : (L = ai(_), L.c(), L.m(c, null)) : L && (L.d(1), L = null), C & /*feature*/
804
804
  1 && y !== (y = /*isReverse*/
805
805
  (_[7] ? "" : (
806
806
  /*feature*/
807
807
  _[0].place_name.replace(/[^,]*,?\s*/, "")
808
- )) + "") && He(p, y), C & /*selected*/
808
+ )) + "") && Ze(p, y), C & /*selected*/
809
809
  2 && v(
810
810
  e,
811
811
  "data-selected",
@@ -822,11 +822,11 @@ function or(n) {
822
822
  i: G,
823
823
  o: G,
824
824
  d(_) {
825
- _ && F(e), x.d(), L && L.d(), E = !1, ye(S);
825
+ _ && B(e), x.d(), L && L.d(), E = !1, ye(S);
826
826
  }
827
827
  };
828
828
  }
829
- function sr(n, e, t) {
829
+ function or(n, e, t) {
830
830
  var S;
831
831
  let i, r, { feature: o } = e, { selected: l = !1 } = e, { showPlaceType: s } = e, { missingIconsCache: c } = e, { iconsBaseUrl: a } = e;
832
832
  const d = (S = o.properties) == null ? void 0 : S.categories;
@@ -835,10 +835,10 @@ function sr(n, e, t) {
835
835
  f && c.add(f), t(10, h++, h);
836
836
  }
837
837
  function y(w) {
838
- li.call(this, n, w);
838
+ si.call(this, n, w);
839
839
  }
840
840
  function p(w) {
841
- li.call(this, n, w);
841
+ si.call(this, n, w);
842
842
  }
843
843
  const E = () => g();
844
844
  return n.$$set = (w) => {
@@ -870,9 +870,9 @@ function sr(n, e, t) {
870
870
  E
871
871
  ];
872
872
  }
873
- class lr extends Oe {
873
+ class sr extends Oe {
874
874
  constructor(e) {
875
- super(), Ie(this, e, sr, or, Re, {
875
+ super(), Ie(this, e, or, rr, Re, {
876
876
  feature: 0,
877
877
  selected: 1,
878
878
  showPlaceType: 2,
@@ -881,7 +881,7 @@ class lr extends Oe {
881
881
  });
882
882
  }
883
883
  }
884
- function ur(n) {
884
+ function lr(n) {
885
885
  let e;
886
886
  return {
887
887
  c() {
@@ -894,16 +894,16 @@ function ur(n) {
894
894
  i: G,
895
895
  o: G,
896
896
  d(t) {
897
- t && F(e);
897
+ t && B(e);
898
898
  }
899
899
  };
900
900
  }
901
- class ar extends Oe {
901
+ class ur extends Oe {
902
902
  constructor(e) {
903
- super(), Ie(this, e, null, ur, Re, {});
903
+ super(), Ie(this, e, null, lr, Re, {});
904
904
  }
905
905
  }
906
- function cr(n) {
906
+ function ar(n) {
907
907
  let e, t;
908
908
  return {
909
909
  c() {
@@ -916,16 +916,16 @@ function cr(n) {
916
916
  i: G,
917
917
  o: G,
918
918
  d(i) {
919
- i && F(e);
919
+ i && B(e);
920
920
  }
921
921
  };
922
922
  }
923
- class fr extends Oe {
923
+ class cr extends Oe {
924
924
  constructor(e) {
925
- super(), Ie(this, e, null, cr, Re, {});
925
+ super(), Ie(this, e, null, ar, Re, {});
926
926
  }
927
927
  }
928
- function dr(n) {
928
+ function fr(n) {
929
929
  let e, t, i;
930
930
  return {
931
931
  c() {
@@ -938,35 +938,35 @@ function dr(n) {
938
938
  i: G,
939
939
  o: G,
940
940
  d(r) {
941
- r && F(e);
941
+ r && B(e);
942
942
  }
943
943
  };
944
944
  }
945
- class hr extends Oe {
945
+ class dr extends Oe {
946
946
  constructor(e) {
947
- super(), Ie(this, e, null, dr, Re, {});
947
+ super(), Ie(this, e, null, fr, Re, {});
948
948
  }
949
949
  }
950
- function mr(n, e, t) {
950
+ function hr(n, e, t) {
951
951
  const i = e[1], r = e[0], o = i - r;
952
952
  return n === i && t ? n : ((n - r) % o + o) % o + r;
953
953
  }
954
- function dt(n) {
954
+ function ft(n) {
955
955
  const e = [...n];
956
956
  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;
957
957
  }
958
- let qe;
959
- async function gr(n, e, t) {
958
+ let je;
959
+ async function mr(n, e, t) {
960
960
  const i = n == null ? void 0 : n.getCenterAndZoom();
961
961
  for (const r of e ?? [])
962
962
  if (!(i && (r.minZoom != null && r.minZoom > i[0] || r.maxZoom != null && r.maxZoom < i[0]))) {
963
963
  if (r.type === "fixed")
964
964
  return r.coordinates.join(",");
965
965
  e: if (r.type === "client-geolocation") {
966
- if (qe && r.cachedLocationExpiry && qe.time + r.cachedLocationExpiry > Date.now()) {
967
- if (!qe.coords)
966
+ if (je && r.cachedLocationExpiry && je.time + r.cachedLocationExpiry > Date.now()) {
967
+ if (!je.coords)
968
968
  break e;
969
- return qe.coords;
969
+ return je.coords;
970
970
  }
971
971
  let o;
972
972
  try {
@@ -987,7 +987,7 @@ async function gr(n, e, t) {
987
987
  }), o;
988
988
  } catch {
989
989
  } finally {
990
- r.cachedLocationExpiry && (qe = {
990
+ r.cachedLocationExpiry && (je = {
991
991
  time: Date.now(),
992
992
  coords: o
993
993
  });
@@ -1001,8 +1001,8 @@ async function gr(n, e, t) {
1001
1001
  return i[1].toFixed(6) + "," + i[2].toFixed(6);
1002
1002
  }
1003
1003
  }
1004
- const yr = /^(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, fi = /^([+-]?[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,})$/, di = /^(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, hi = /^(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, mi = /^(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, gi = /^(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;
1005
- function pr(n) {
1004
+ const gr = /^(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, ci = /^([+-]?[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,})$/, fi = /^(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, di = /^(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, hi = /^(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, mi = /^(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;
1005
+ function yr(n) {
1006
1006
  if (!["DMS", "DM", "DD"].includes(n))
1007
1007
  throw new Error("invalid format specified");
1008
1008
  if (this.decimalCoordinates && this.decimalCoordinates.trim()) {
@@ -1011,7 +1011,7 @@ function pr(n) {
1011
1011
  n == "DD" && (c = `${r}° ${l}, ${o}° ${s}`);
1012
1012
  const a = Math.floor(r), d = Math.floor(o), u = (r - a) * 60, f = (o - d) * 60;
1013
1013
  if (n == "DM") {
1014
- let h = yi(u, 3).toFixed(3).padStart(6, "0"), b = yi(f, 3).toFixed(3).padStart(6, "0");
1014
+ let h = gi(u, 3).toFixed(3).padStart(6, "0"), b = gi(f, 3).toFixed(3).padStart(6, "0");
1015
1015
  h.endsWith(".000") && b.endsWith(".000") && (h = h.replace(/\.000$/, ""), b = b.replace(/\.000$/, "")), c = `${a}° ${h}' ${l}, ${d}° ${b}' ${s}`;
1016
1016
  }
1017
1017
  if (n == "DMS") {
@@ -1024,22 +1024,22 @@ function pr(n) {
1024
1024
  } else
1025
1025
  throw new Error("no decimal coordinates to convert");
1026
1026
  }
1027
- function yi(n, e) {
1027
+ function gi(n, e) {
1028
1028
  const t = Math.pow(10, e);
1029
1029
  return Math.round((n + Number.EPSILON) * t) / t;
1030
1030
  }
1031
- function Ut(n, e) {
1031
+ function Dt(n, e) {
1032
1032
  e || (e = 5), n = n.replace(/\s+/g, " ").trim();
1033
1033
  let t = null, i = null, r = "", o = "", l = null, s = [], c = !1;
1034
- if (yr.test(n))
1034
+ if (gr.test(n))
1035
1035
  throw new Error("invalid coordinate value");
1036
- if (fi.test(n))
1037
- if (s = fi.exec(n), c = Ze(s), c)
1036
+ if (ci.test(n))
1037
+ if (s = ci.exec(n), c = qe(s), c)
1038
1038
  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";
1039
1039
  else
1040
1040
  throw new Error("invalid coordinate format");
1041
- else if (di.test(n))
1042
- if (s = di.exec(n), c = Ze(s), c) {
1041
+ else if (fi.test(n))
1042
+ if (s = fi.exec(n), c = qe(s), c) {
1043
1043
  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))
1044
1044
  throw new Error("integer only coordinate provided");
1045
1045
  if (Number(Math.round(i)) == Number(i))
@@ -1047,18 +1047,18 @@ function Ut(n, e) {
1047
1047
  s[1] ? (r = s[1], o = s[5]) : s[4] && (r = s[4], o = s[8]);
1048
1048
  } else
1049
1049
  throw new Error("invalid decimal coordinate format");
1050
- else if (hi.test(n))
1051
- if (s = hi.exec(n), c = Ze(s), c)
1050
+ else if (di.test(n))
1051
+ if (s = di.exec(n), c = qe(s), c)
1052
1052
  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]);
1053
1053
  else
1054
1054
  throw new Error("invalid DMS coordinates format");
1055
- else if (mi.test(n))
1056
- if (s = mi.exec(n), c = Ze(s), c)
1055
+ else if (hi.test(n))
1056
+ if (s = hi.exec(n), c = qe(s), c)
1057
1057
  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]);
1058
1058
  else
1059
1059
  throw new Error("invalid DMS coordinates format");
1060
- else if (gi.test(n)) {
1061
- if (s = gi.exec(n), c = Ze(s), s.filter((a) => a).length <= 5)
1060
+ else if (mi.test(n)) {
1061
+ if (s = mi.exec(n), c = qe(s), s.filter((a) => a).length <= 5)
1062
1062
  throw new Error("invalid coordinates format");
1063
1063
  if (c)
1064
1064
  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]);
@@ -1112,13 +1112,13 @@ function Ut(n, e) {
1112
1112
  decimalLongitude: i,
1113
1113
  decimalCoordinates: `${t},${i}`,
1114
1114
  originalFormat: l,
1115
- closeEnough: vr,
1116
- toCoordinateFormat: pr
1115
+ closeEnough: pr,
1116
+ toCoordinateFormat: yr
1117
1117
  });
1118
1118
  } else
1119
1119
  throw new Error("coordinates pattern match failed");
1120
1120
  }
1121
- function Ze(n) {
1121
+ function qe(n) {
1122
1122
  if (!isNaN(n[0]))
1123
1123
  return !1;
1124
1124
  const e = [...n];
@@ -1137,28 +1137,28 @@ function Ze(n) {
1137
1137
  }
1138
1138
  return !0;
1139
1139
  }
1140
- function pi(n, e) {
1140
+ function yi(n, e) {
1141
1141
  const t = Math.abs(n - e);
1142
1142
  return Number(t.toFixed(6)) <= 1e-5;
1143
1143
  }
1144
- function vr(n) {
1144
+ function pr(n) {
1145
1145
  if (!n)
1146
1146
  throw new Error("coords must be provided");
1147
1147
  if (n.includes(",")) {
1148
1148
  const e = n.split(",");
1149
1149
  if (Number(e[0]) == NaN || Number(e[1]) == NaN)
1150
1150
  throw new Error("coords are not valid decimals");
1151
- return pi(this.decimalLatitude, Number(e[0])) && pi(this.decimalLongitude, e[1]);
1151
+ return yi(this.decimalLatitude, Number(e[0])) && yi(this.decimalLongitude, e[1]);
1152
1152
  } else
1153
1153
  throw new Error("coords being tested must be separated by a comma");
1154
1154
  }
1155
- const br = Object.freeze({
1155
+ const vr = Object.freeze({
1156
1156
  DMS: "DMS",
1157
1157
  DM: "DM",
1158
1158
  DD: "DD"
1159
1159
  });
1160
- Ut.to = br;
1161
- const wr = [
1160
+ Dt.to = vr;
1161
+ const br = [
1162
1162
  {
1163
1163
  verbatimCoordinates: "40.123, -74.123",
1164
1164
  verbatimLatitude: "40.123",
@@ -1299,10 +1299,10 @@ const wr = [
1299
1299
  verbatimLatitude: "40 7 22.8",
1300
1300
  verbatimLongitude: "-74 7 22.8"
1301
1301
  }
1302
- ], _r = {
1302
+ ], wr = {
1303
1303
  decimalLatitude: 40.123,
1304
1304
  decimalLongitude: -74.123
1305
- }, Er = [
1305
+ }, _r = [
1306
1306
  {
1307
1307
  verbatimCoordinates: `50°4'17.698"south, 14°24'2.826"east`,
1308
1308
  verbatimLatitude: `50°4'17.698"south`,
@@ -1387,7 +1387,7 @@ const wr = [
1387
1387
  decimalLatitude: -18.4,
1388
1388
  decimalLongitude: 22.75
1389
1389
  }
1390
- ], Lr = [
1390
+ ], Er = [
1391
1391
  {
1392
1392
  verbatimCoordinates: "10.432342S 10.6345345E",
1393
1393
  verbatimLatitude: "10.432342S",
@@ -1522,22 +1522,22 @@ const wr = [
1522
1522
  decimalLongitude: 18.33453
1523
1523
  }
1524
1524
  ];
1525
- function Sr() {
1525
+ function Lr() {
1526
1526
  const n = [];
1527
- return wr.forEach((e) => {
1528
- e.decimalLatitude ? n.push(e) : n.push({ ...e, ..._r });
1529
- }), [...n, ...Er, ...Lr];
1530
- }
1531
- const xr = Sr();
1532
- Ut.formats = xr.map((n) => n.verbatimCoordinates);
1533
- const Mr = Ut;
1534
- function vi(n, e, t) {
1527
+ return br.forEach((e) => {
1528
+ e.decimalLatitude ? n.push(e) : n.push({ ...e, ...wr });
1529
+ }), [...n, ..._r, ...Er];
1530
+ }
1531
+ const Sr = Lr();
1532
+ Dt.formats = Sr.map((n) => n.verbatimCoordinates);
1533
+ const xr = Dt;
1534
+ function pi(n, e, t) {
1535
1535
  const i = n.slice();
1536
- return i[87] = e[t], i[89] = t, i;
1536
+ return i[86] = e[t], i[88] = t, i;
1537
1537
  }
1538
- function bi(n) {
1538
+ function vi(n) {
1539
1539
  let e, t;
1540
- return e = new ar({}), {
1540
+ return e = new ur({}), {
1541
1541
  c() {
1542
1542
  Me(e.$$.fragment);
1543
1543
  },
@@ -1555,9 +1555,9 @@ function bi(n) {
1555
1555
  }
1556
1556
  };
1557
1557
  }
1558
- function wi(n) {
1558
+ function bi(n) {
1559
1559
  let e, t, i, r, o;
1560
- return t = new fr({}), {
1560
+ return t = new cr({}), {
1561
1561
  c() {
1562
1562
  e = W("button"), Me(t.$$.fragment), v(e, "type", "button"), v(
1563
1563
  e,
@@ -1576,7 +1576,7 @@ function wi(n) {
1576
1576
  e,
1577
1577
  "click",
1578
1578
  /*click_handler_2*/
1579
- n[71]
1579
+ n[70]
1580
1580
  ), r = !0);
1581
1581
  },
1582
1582
  p(l, s) {
@@ -1601,24 +1601,24 @@ function wi(n) {
1601
1601
  X(t.$$.fragment, l), i = !1;
1602
1602
  },
1603
1603
  d(l) {
1604
- l && F(e), ge(t), r = !1, o();
1604
+ l && B(e), ge(t), r = !1, o();
1605
1605
  }
1606
1606
  };
1607
1607
  }
1608
- function kr(n) {
1609
- let e, t = [], i = /* @__PURE__ */ new Map(), r, o, l, s = ai(
1608
+ function Mr(n) {
1609
+ let e, t = [], i = /* @__PURE__ */ new Map(), r, o, l, s = ui(
1610
1610
  /*listFeatures*/
1611
1611
  n[14]
1612
1612
  );
1613
1613
  const c = (a) => (
1614
1614
  /*feature*/
1615
- a[87].id + /*feature*/
1616
- (a[87].address ? "," + /*feature*/
1617
- a[87].address : "")
1615
+ a[86].id + /*feature*/
1616
+ (a[86].address ? "," + /*feature*/
1617
+ a[86].address : "")
1618
1618
  );
1619
1619
  for (let a = 0; a < s.length; a += 1) {
1620
- let d = vi(n, s, a), u = c(d);
1621
- i.set(u, t[a] = _i(u, d));
1620
+ let d = pi(n, s, a), u = c(d);
1621
+ i.set(u, t[a] = wi(u, d));
1622
1622
  }
1623
1623
  return {
1624
1624
  c() {
@@ -1636,22 +1636,22 @@ function kr(n) {
1636
1636
  e,
1637
1637
  "mouseleave",
1638
1638
  /*mouseleave_handler*/
1639
- n[75]
1639
+ n[74]
1640
1640
  ),
1641
1641
  ee(
1642
1642
  e,
1643
1643
  "blur",
1644
1644
  /*blur_handler_1*/
1645
- n[76]
1645
+ n[75]
1646
1646
  )
1647
1647
  ], o = !0);
1648
1648
  },
1649
1649
  p(a, d) {
1650
1650
  d[0] & /*listFeatures, showPlaceType, selectedItemIndex, missingIconsCache, iconsBaseUrl, pick*/
1651
- 17880064 && (s = ai(
1651
+ 17880064 && (s = ui(
1652
1652
  /*listFeatures*/
1653
1653
  a[14]
1654
- ), at(), t = Qn(t, d, c, 1, a, s, i, e, Zn, _i, null, vi), ct());
1654
+ ), ut(), t = Qn(t, d, c, 1, a, s, i, e, qn, wi, null, pi), at());
1655
1655
  },
1656
1656
  i(a) {
1657
1657
  if (!r) {
@@ -1666,16 +1666,16 @@ function kr(n) {
1666
1666
  r = !1;
1667
1667
  },
1668
1668
  d(a) {
1669
- a && F(e);
1669
+ a && B(e);
1670
1670
  for (let d = 0; d < t.length; d += 1)
1671
1671
  t[d].d();
1672
1672
  o = !1, ye(l);
1673
1673
  }
1674
1674
  };
1675
1675
  }
1676
- function Cr(n) {
1676
+ function kr(n) {
1677
1677
  let e, t, i, r, o, l;
1678
- return t = new qi({}), {
1678
+ return t = new ji({}), {
1679
1679
  c() {
1680
1680
  e = W("div"), Me(t.$$.fragment), i = ne(), r = W("div"), o = xe(
1681
1681
  /*noResultsMessage*/
@@ -1687,7 +1687,7 @@ function Cr(n) {
1687
1687
  },
1688
1688
  p(s, c) {
1689
1689
  (!l || c[0] & /*noResultsMessage*/
1690
- 128) && He(
1690
+ 128) && Ze(
1691
1691
  o,
1692
1692
  /*noResultsMessage*/
1693
1693
  s[7]
@@ -1700,11 +1700,11 @@ function Cr(n) {
1700
1700
  X(t.$$.fragment, s), l = !1;
1701
1701
  },
1702
1702
  d(s) {
1703
- s && F(e), ge(t);
1703
+ s && B(e), ge(t);
1704
1704
  }
1705
1705
  };
1706
1706
  }
1707
- function Nr(n) {
1707
+ function Cr(n) {
1708
1708
  let e = "", t;
1709
1709
  return {
1710
1710
  c() {
@@ -1717,13 +1717,13 @@ function Nr(n) {
1717
1717
  i: G,
1718
1718
  o: G,
1719
1719
  d(i) {
1720
- i && F(t);
1720
+ i && B(t);
1721
1721
  }
1722
1722
  };
1723
1723
  }
1724
- function Pr(n) {
1724
+ function Nr(n) {
1725
1725
  let e, t, i, r, o, l, s, c, a, d, u;
1726
- return t = new qi({}), c = new ji({}), {
1726
+ return t = new ji({}), c = new Gi({}), {
1727
1727
  c() {
1728
1728
  e = W("div"), Me(t.$$.fragment), i = ne(), r = W("div"), o = xe(
1729
1729
  /*errorMessage*/
@@ -1735,12 +1735,12 @@ function Pr(n) {
1735
1735
  s,
1736
1736
  "click",
1737
1737
  /*click_handler_3*/
1738
- n[72]
1738
+ n[71]
1739
1739
  ), d = !0);
1740
1740
  },
1741
1741
  p(f, h) {
1742
1742
  (!a || h[0] & /*errorMessage*/
1743
- 64) && He(
1743
+ 64) && Ze(
1744
1744
  o,
1745
1745
  /*errorMessage*/
1746
1746
  f[6]
@@ -1753,35 +1753,35 @@ function Pr(n) {
1753
1753
  X(t.$$.fragment, f), X(c.$$.fragment, f), a = !1;
1754
1754
  },
1755
1755
  d(f) {
1756
- f && F(e), ge(t), ge(c), d = !1, u();
1756
+ f && B(e), ge(t), ge(c), d = !1, u();
1757
1757
  }
1758
1758
  };
1759
1759
  }
1760
- function _i(n, e) {
1760
+ function wi(n, e) {
1761
1761
  let t, i, r;
1762
1762
  function o() {
1763
1763
  return (
1764
1764
  /*mouseenter_handler*/
1765
- e[73](
1765
+ e[72](
1766
1766
  /*i*/
1767
- e[89]
1767
+ e[88]
1768
1768
  )
1769
1769
  );
1770
1770
  }
1771
1771
  function l() {
1772
1772
  return (
1773
1773
  /*focus_handler_1*/
1774
- e[74](
1774
+ e[73](
1775
1775
  /*feature*/
1776
- e[87]
1776
+ e[86]
1777
1777
  )
1778
1778
  );
1779
1779
  }
1780
- return i = new lr({
1780
+ return i = new sr({
1781
1781
  props: {
1782
1782
  feature: (
1783
1783
  /*feature*/
1784
- e[87]
1784
+ e[86]
1785
1785
  ),
1786
1786
  showPlaceType: (
1787
1787
  /*showPlaceType*/
@@ -1790,7 +1790,7 @@ function _i(n, e) {
1790
1790
  selected: (
1791
1791
  /*selectedItemIndex*/
1792
1792
  e[15] === /*i*/
1793
- e[89]
1793
+ e[88]
1794
1794
  ),
1795
1795
  missingIconsCache: (
1796
1796
  /*missingIconsCache*/
@@ -1805,7 +1805,7 @@ function _i(n, e) {
1805
1805
  key: n,
1806
1806
  first: null,
1807
1807
  c() {
1808
- t = Wn(), Me(i.$$.fragment), this.first = t;
1808
+ t = On(), Me(i.$$.fragment), this.first = t;
1809
1809
  },
1810
1810
  m(s, c) {
1811
1811
  j(s, t, c), me(i, s, c), r = !0;
@@ -1815,12 +1815,12 @@ function _i(n, e) {
1815
1815
  const a = {};
1816
1816
  c[0] & /*listFeatures*/
1817
1817
  16384 && (a.feature = /*feature*/
1818
- e[87]), c[0] & /*showPlaceType*/
1818
+ e[86]), c[0] & /*showPlaceType*/
1819
1819
  1024 && (a.showPlaceType = /*showPlaceType*/
1820
1820
  e[10]), c[0] & /*selectedItemIndex, listFeatures*/
1821
1821
  49152 && (a.selected = /*selectedItemIndex*/
1822
1822
  e[15] === /*i*/
1823
- e[89]), c[0] & /*iconsBaseUrl*/
1823
+ e[88]), c[0] & /*iconsBaseUrl*/
1824
1824
  4096 && (a.iconsBaseUrl = /*iconsBaseUrl*/
1825
1825
  e[12]), i.$set(a);
1826
1826
  },
@@ -1831,30 +1831,30 @@ function _i(n, e) {
1831
1831
  X(i.$$.fragment, s), r = !1;
1832
1832
  },
1833
1833
  d(s) {
1834
- s && F(t), ge(i, s);
1834
+ s && B(t), ge(i, s);
1835
1835
  }
1836
1836
  };
1837
1837
  }
1838
- function Tr(n) {
1838
+ function Pr(n) {
1839
1839
  let e, t, i, r, o, l, s, c, a, d, u, f, h, b, g, y, p, E, S, w, k, x = !1;
1840
- o = new hr({}), u = new ji({});
1840
+ o = new dr({}), u = new Gi({});
1841
1841
  let L = (
1842
1842
  /*abortController*/
1843
- n[19] && bi()
1843
+ n[19] && vi()
1844
1844
  ), _ = (
1845
1845
  /*enableReverse*/
1846
- n[5] === !0 && wi(n)
1846
+ n[5] === !0 && bi(n)
1847
1847
  );
1848
1848
  const C = (
1849
1849
  /*#slots*/
1850
- n[63].default
1851
- ), I = Tn(
1850
+ n[62].default
1851
+ ), I = Pn(
1852
1852
  C,
1853
1853
  n,
1854
1854
  /*$$scope*/
1855
- n[62],
1855
+ n[61],
1856
1856
  null
1857
- ), A = [Pr, Nr, Cr, kr], B = [];
1857
+ ), A = [Nr, Cr, kr, Mr], F = [];
1858
1858
  function O(M, D) {
1859
1859
  var te, pe;
1860
1860
  return (
@@ -1872,7 +1872,7 @@ function Tr(n) {
1872
1872
  )
1873
1873
  );
1874
1874
  }
1875
- return ~(y = O(n)) && (p = B[y] = A[y](n)), {
1875
+ return ~(y = O(n)) && (p = F[y] = A[y](n)), {
1876
1876
  c() {
1877
1877
  e = ne(), t = W("form"), i = W("div"), r = W("button"), Me(o.$$.fragment), l = ne(), s = W("input"), c = ne(), a = W("div"), d = W("button"), Me(u.$$.fragment), f = ne(), L && L.c(), h = ne(), _ && _.c(), b = ne(), I && I.c(), g = ne(), p && p.c(), v(r, "class", "search-button svelte-bz0zu3"), v(r, "type", "button"), v(
1878
1878
  s,
@@ -1894,7 +1894,7 @@ function Tr(n) {
1894
1894
  "displayable",
1895
1895
  /*searchValue*/
1896
1896
  n[1] !== ""
1897
- ), v(i, "class", "input-group svelte-bz0zu3"), v(t, "tabindex", "0"), v(t, "class", E = oi(
1897
+ ), v(i, "class", "input-group svelte-bz0zu3"), v(t, "tabindex", "0"), v(t, "class", E = ri(
1898
1898
  /*className*/
1899
1899
  n[2]
1900
1900
  ) + " svelte-bz0zu3"), Ee(
@@ -1906,34 +1906,34 @@ function Tr(n) {
1906
1906
  );
1907
1907
  },
1908
1908
  m(M, D) {
1909
- j(M, e, D), j(M, t, D), R(t, i), R(i, r), me(o, r, null), R(i, l), R(i, s), n[65](s), si(
1909
+ j(M, e, D), j(M, t, D), R(t, i), R(i, r), me(o, r, null), R(i, l), R(i, s), n[64](s), oi(
1910
1910
  s,
1911
1911
  /*searchValue*/
1912
1912
  n[1]
1913
- ), R(i, c), R(i, a), R(a, d), me(u, d, null), R(a, f), L && L.m(a, null), R(i, h), _ && _.m(i, null), R(i, b), I && I.m(i, null), R(t, g), ~y && B[y].m(t, null), S = !0, w || (k = [
1913
+ ), R(i, c), R(i, a), R(a, d), me(u, d, null), R(a, f), L && L.m(a, null), R(i, h), _ && _.m(i, null), R(i, b), I && I.m(i, null), R(t, g), ~y && F[y].m(t, null), S = !0, w || (k = [
1914
1914
  ee(
1915
1915
  r,
1916
1916
  "click",
1917
1917
  /*click_handler*/
1918
- n[64]
1918
+ n[63]
1919
1919
  ),
1920
1920
  ee(
1921
1921
  s,
1922
1922
  "input",
1923
1923
  /*input_1_input_handler*/
1924
- n[66]
1924
+ n[65]
1925
1925
  ),
1926
1926
  ee(
1927
1927
  s,
1928
1928
  "focus",
1929
1929
  /*focus_handler*/
1930
- n[67]
1930
+ n[66]
1931
1931
  ),
1932
1932
  ee(
1933
1933
  s,
1934
1934
  "blur",
1935
1935
  /*blur_handler*/
1936
- n[68]
1936
+ n[67]
1937
1937
  ),
1938
1938
  ee(
1939
1939
  s,
@@ -1945,15 +1945,15 @@ function Tr(n) {
1945
1945
  s,
1946
1946
  "input",
1947
1947
  /*input_handler*/
1948
- n[69]
1948
+ n[68]
1949
1949
  ),
1950
1950
  ee(
1951
1951
  d,
1952
1952
  "click",
1953
1953
  /*click_handler_1*/
1954
- n[70]
1954
+ n[69]
1955
1955
  ),
1956
- ee(t, "submit", An(
1956
+ ee(t, "submit", Wn(
1957
1957
  /*handleSubmit*/
1958
1958
  n[21]
1959
1959
  ))
@@ -1974,7 +1974,7 @@ function Tr(n) {
1974
1974
  M[8]
1975
1975
  ), D[0] & /*searchValue*/
1976
1976
  2 && s.value !== /*searchValue*/
1977
- M[1] && si(
1977
+ M[1] && oi(
1978
1978
  s,
1979
1979
  /*searchValue*/
1980
1980
  M[1]
@@ -1986,9 +1986,9 @@ function Tr(n) {
1986
1986
  M[3]
1987
1987
  ), /*abortController*/
1988
1988
  M[19] ? L ? D[0] & /*abortController*/
1989
- 524288 && q(L, 1) : (L = bi(), L.c(), q(L, 1), L.m(a, null)) : L && (at(), X(L, 1, 1, () => {
1989
+ 524288 && q(L, 1) : (L = vi(), L.c(), q(L, 1), L.m(a, null)) : L && (ut(), X(L, 1, 1, () => {
1990
1990
  L = null;
1991
- }), ct()), (!S || D[0] & /*searchValue*/
1991
+ }), at()), (!S || D[0] & /*searchValue*/
1992
1992
  2) && Ee(
1993
1993
  a,
1994
1994
  "displayable",
@@ -1996,32 +1996,32 @@ function Tr(n) {
1996
1996
  M[1] !== ""
1997
1997
  ), /*enableReverse*/
1998
1998
  M[5] === !0 ? _ ? (_.p(M, D), D[0] & /*enableReverse*/
1999
- 32 && q(_, 1)) : (_ = wi(M), _.c(), q(_, 1), _.m(i, b)) : _ && (at(), X(_, 1, 1, () => {
1999
+ 32 && q(_, 1)) : (_ = bi(M), _.c(), q(_, 1), _.m(i, b)) : _ && (ut(), X(_, 1, 1, () => {
2000
2000
  _ = null;
2001
- }), ct()), I && I.p && (!S || D[2] & /*$$scope*/
2002
- 1) && In(
2001
+ }), at()), I && I.p && (!S || D[1] & /*$$scope*/
2002
+ 1073741824) && Rn(
2003
2003
  I,
2004
2004
  C,
2005
2005
  M,
2006
2006
  /*$$scope*/
2007
- M[62],
2008
- S ? Rn(
2007
+ M[61],
2008
+ S ? Tn(
2009
2009
  C,
2010
2010
  /*$$scope*/
2011
- M[62],
2011
+ M[61],
2012
2012
  D,
2013
2013
  null
2014
- ) : On(
2014
+ ) : In(
2015
2015
  /*$$scope*/
2016
- M[62]
2016
+ M[61]
2017
2017
  ),
2018
2018
  null
2019
2019
  );
2020
2020
  let te = y;
2021
- y = O(M), y === te ? ~y && B[y].p(M, D) : (p && (at(), X(B[te], 1, 1, () => {
2022
- B[te] = null;
2023
- }), ct()), ~y ? (p = B[y], p ? p.p(M, D) : (p = B[y] = A[y](M), p.c()), q(p, 1), p.m(t, null)) : p = null), (!S || D[0] & /*className*/
2024
- 4 && E !== (E = oi(
2021
+ y = O(M), y === te ? ~y && F[y].p(M, D) : (p && (ut(), X(F[te], 1, 1, () => {
2022
+ F[te] = null;
2023
+ }), at()), ~y ? (p = F[y], p ? p.p(M, D) : (p = F[y] = A[y](M), p.c()), q(p, 1), p.m(t, null)) : p = null), (!S || D[0] & /*className*/
2024
+ 4 && E !== (E = ri(
2025
2025
  /*className*/
2026
2026
  M[2]
2027
2027
  ) + " svelte-bz0zu3")) && v(t, "class", E), (!S || D[0] & /*className, collapsed, searchValue*/
@@ -2040,11 +2040,11 @@ function Tr(n) {
2040
2040
  X(x), X(o.$$.fragment, M), X(u.$$.fragment, M), X(L), X(_), X(I, M), X(p), S = !1;
2041
2041
  },
2042
2042
  d(M) {
2043
- M && (F(e), F(t)), ge(o), n[65](null), ge(u), L && L.d(), _ && _.d(), I && I.d(M), ~y && B[y].d(), w = !1, ye(k);
2043
+ M && (B(e), B(t)), ge(o), n[64](null), ge(u), L && L.d(), _ && _.d(), I && I.d(M), ~y && F[y].d(), w = !1, ye(k);
2044
2044
  }
2045
2045
  };
2046
2046
  }
2047
- function Rr(n, e, t) {
2047
+ function Tr(n, e, t) {
2048
2048
  let i, { $$slots: r = {}, $$scope: o } = e;
2049
2049
  const l = {
2050
2050
  continental_marine: 4,
@@ -2070,76 +2070,76 @@ function Rr(n, e, t) {
2070
2070
  "poi.restaurant": 18,
2071
2071
  "poi.aerodrome": 13
2072
2072
  };
2073
- let { class: s = void 0 } = e, { apiKey: c } = e, { bbox: a = void 0 } = e, { clearButtonTitle: d = "clear" } = e, { clearOnBlur: u = !1 } = e, { collapsed: f = !1 } = e, { country: h = void 0 } = e, { debounceSearch: b = 200 } = e, { enableReverse: g = !1 } = e, { errorMessage: y = "Something went wrong…" } = e, { filter: p = () => !0 } = e, { flyTo: E = !0 } = e, { fuzzyMatch: S = !0 } = e, { language: w = void 0 } = e, { limit: k = void 0 } = e, { mapController: x = void 0 } = e, { minLength: L = 2 } = e, { noResultsMessage: _ = "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: A = g === "always" } = e, { reverseButtonTitle: B = "toggle reverse geocoding" } = e, { searchValue: O = "" } = e, { showFullGeometry: M = !0 } = e, { showPlaceType: D = "if-needed" } = e, { showResultsWhileTyping: te = !0 } = e, { autocompleteTimeout: pe = void 0 } = e, { selectFirst: We = !0 } = e, { flyToSelected: yt = !1 } = e, { markerOnSelected: Je = !0 } = e, { types: Ne = void 0 } = e, { exhaustiveReverseGeocoding: pt = !1 } = e, { excludeTypes: $e = !1 } = e, { zoom: Ae = l } = e, { maxZoom: et = void 0 } = e, { apiUrl: vt = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: bt = {} } = e, { iconsBaseUrl: Zt = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.0.0-rc.1/icons/" } = e, { adjustUrlQuery: wt = () => {
2073
+ let { class: s = void 0 } = e, { apiKey: c } = e, { bbox: a = void 0 } = e, { clearButtonTitle: d = "clear" } = e, { clearOnBlur: u = !1 } = e, { collapsed: f = !1 } = e, { country: h = void 0 } = e, { debounceSearch: b = 200 } = e, { enableReverse: g = !1 } = e, { errorMessage: y = "Something went wrong…" } = e, { filter: p = () => !0 } = e, { flyTo: E = !0 } = e, { fuzzyMatch: S = !0 } = e, { language: w = void 0 } = e, { limit: k = void 0 } = e, { mapController: x = void 0 } = e, { minLength: L = 2 } = e, { noResultsMessage: _ = "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: A = g === "always" } = e, { reverseButtonTitle: F = "toggle reverse geocoding" } = e, { searchValue: O = "" } = e, { pickedResultStyle: M = "full-geometry" } = e, { showPlaceType: D = "if-needed" } = e, { showResultsWhileTyping: te = !0 } = e, { autocompleteTimeout: pe = void 0 } = e, { selectFirst: We = !0 } = e, { flyToSelected: gt = !1 } = e, { markerOnSelected: Ke = !0 } = e, { types: Ne = void 0 } = e, { exhaustiveReverseGeocoding: yt = !1 } = e, { excludeTypes: Je = !1 } = e, { zoom: $e = l } = e, { apiUrl: pt = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: vt = {} } = e, { iconsBaseUrl: qt = "https://cdn.maptiler.com/maptiler-geocoding-control/v2.0.0-rc.2/icons/" } = e, { adjustUrlQuery: bt = () => {
2074
2074
  } } = e;
2075
- function Yi() {
2075
+ function Hi() {
2076
2076
  ae.focus();
2077
2077
  }
2078
- function Xi() {
2078
+ function Yi() {
2079
2079
  ae.blur();
2080
2080
  }
2081
- function Qt(m, U = !0, Q = !1) {
2082
- t(1, O = m), U ? (t(15, z = -1), Ht()) : (Lt(!Q, Q), setTimeout(() => {
2081
+ function Qt(m, U = !0, V = !1) {
2082
+ t(1, O = m), U ? (t(15, z = -1), Zt()) : (Et(!V, V), setTimeout(() => {
2083
2083
  ae.focus(), ae.select();
2084
2084
  }));
2085
2085
  }
2086
- function Ki() {
2087
- t(14, T = void 0), t(58, N = void 0), t(15, z = -1);
2086
+ function Xi() {
2087
+ t(14, T = void 0), t(57, N = void 0), t(15, z = -1);
2088
2088
  }
2089
- function Ji() {
2090
- t(57, Z = []), t(58, N = void 0);
2089
+ function Ki() {
2090
+ t(56, Q = []), t(57, N = void 0);
2091
2091
  }
2092
- let ze = !1, T, Z, N, Vt = "", ae, z = -1, ce, tt = [], Pe, ve, re, it, _t;
2093
- const $i = /* @__PURE__ */ new Set(), be = Dn();
2094
- function en() {
2092
+ let Ae = !1, T, Q, N, Vt = "", ae, z = -1, ce, et = [], Pe, ve, re, tt, wt;
2093
+ const Ji = /* @__PURE__ */ new Set(), be = Fn();
2094
+ function $i() {
2095
2095
  return !!re;
2096
2096
  }
2097
2097
  Bn(() => {
2098
2098
  x && (x.setEventHandler(void 0), x.indicateReverse(!1), x.setSelectedMarker(-1), x.setMarkers(void 0, void 0));
2099
2099
  });
2100
- function Ht(m) {
2100
+ function Zt(m) {
2101
2101
  if (ve && (window.clearTimeout(ve), ve = void 0), re) {
2102
- window.clearTimeout(re), t(59, re = void 0), Ge(O, { exact: !0 });
2102
+ window.clearTimeout(re), t(58, re = void 0), Ue(O, { exact: !0 });
2103
2103
  return;
2104
2104
  }
2105
2105
  if (z > -1 && T)
2106
- t(58, N = T[z]), t(1, O = N.place_type[0] === "reverse" ? N.place_name : N.place_name.replace(/,.*/, "")), t(18, ce = void 0), t(57, Z = void 0), t(15, z = -1);
2106
+ t(57, N = T[z]), 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, z = -1);
2107
2107
  else if (O) {
2108
- const U = m || !Et(O);
2109
- Ge(O, { exact: !0 }).then(() => {
2110
- t(57, Z = T), t(58, N = void 0), U && tn();
2111
- }).catch((Q) => t(18, ce = Q));
2108
+ const U = m || !_t(O);
2109
+ Ue(O, { exact: !0 }).then(() => {
2110
+ t(56, Q = T), t(57, N = void 0), U && en();
2111
+ }).catch((V) => t(18, ce = V));
2112
2112
  }
2113
2113
  }
2114
- function Et(m) {
2114
+ function _t(m) {
2115
2115
  try {
2116
- return Mr(m, 6);
2116
+ return xr(m, 6);
2117
2117
  } catch {
2118
2118
  return !1;
2119
2119
  }
2120
2120
  }
2121
- async function Ge(m, { byId: U = !1, exact: Q = !1, appendSpace: oe = !1 } = {}) {
2121
+ async function Ue(m, { byId: U = !1, exact: V = !1, appendSpace: oe = !1 } = {}) {
2122
2122
  t(18, ce = void 0), Pe == null || Pe.abort();
2123
2123
  const ie = new AbortController();
2124
2124
  t(19, Pe = ie);
2125
2125
  try {
2126
- const P = Et(m), Y = new URLSearchParams();
2127
- if (w !== void 0 && Y.set("language", Array.isArray(w) ? w.join(",") : w ?? ""), Ne && Y.set("types", Ne.join(",")), $e && Y.set("excludeTypes", String($e)), a && Y.set("bbox", a.map((rt) => rt.toFixed(6)).join(",")), h && Y.set("country", Array.isArray(h) ? h.join(",") : h), !U && !P) {
2128
- const rt = await gr(x, I, ie);
2129
- rt && Y.set("proximity", rt), (Q || !te) && Y.set("autocomplete", "false"), Y.set("fuzzyMatch", String(S));
2126
+ const P = _t(m), Y = new URLSearchParams();
2127
+ if (w !== void 0 && Y.set("language", Array.isArray(w) ? w.join(",") : w ?? ""), Ne && Y.set("types", Ne.join(",")), Je && Y.set("excludeTypes", String(Je)), a && Y.set("bbox", a.map((nt) => nt.toFixed(6)).join(",")), h && Y.set("country", Array.isArray(h) ? h.join(",") : h), !U && !P) {
2128
+ const nt = await mr(x, I, ie);
2129
+ nt && Y.set("proximity", nt), (V || !te) && Y.set("autocomplete", "false"), Y.set("fuzzyMatch", String(S));
2130
2130
  }
2131
- k !== void 0 && (pt || !P || (Ne == null ? void 0 : Ne.length) === 1) && Y.set("limit", String(k)), Y.set("key", c), wt(Y);
2132
- const nt = vt + "/" + encodeURIComponent(P ? P.decimalLongitude + "," + P.decimalLatitude : m + (oe ? " " : "")) + ".json?" + Y.toString();
2133
- if (nt === Vt) {
2134
- U ? (t(14, T = void 0), t(58, N = tt[0])) : t(14, T = tt);
2131
+ k !== void 0 && (yt || !P || (Ne == null ? void 0 : Ne.length) === 1) && Y.set("limit", String(k)), Y.set("key", c), bt(Y);
2132
+ const it = pt + "/" + encodeURIComponent(P ? P.decimalLongitude + "," + P.decimalLatitude : m + (oe ? " " : "")) + ".json?" + Y.toString();
2133
+ if (it === Vt) {
2134
+ U ? (t(14, T = void 0), t(57, N = et[0])) : t(14, T = et);
2135
2135
  return;
2136
2136
  }
2137
- Vt = nt;
2138
- const xt = await fetch(nt, { signal: ie.signal, ...bt });
2139
- if (!xt.ok)
2140
- throw new Error(await xt.text());
2141
- const Mt = await xt.json();
2142
- be("response", { url: nt, featureCollection: Mt }), U ? (t(14, T = void 0), t(58, N = Mt.features[0]), tt = [N]) : (t(14, T = Mt.features.filter(p)), P && T.unshift({
2137
+ Vt = it;
2138
+ const St = await fetch(it, { signal: ie.signal, ...vt });
2139
+ if (!St.ok)
2140
+ throw new Error(await St.text());
2141
+ const xt = await St.json();
2142
+ be("response", { url: it, featureCollection: xt }), U ? (t(14, T = void 0), t(57, N = xt.features[0]), et = [N]) : (t(14, T = xt.features.filter(p)), P && T.unshift({
2143
2143
  type: "Feature",
2144
2144
  properties: {},
2145
2145
  id: "reverse_" + P.decimalLongitude + "_" + P.decimalLatitude,
@@ -2157,7 +2157,7 @@ function Rr(n, e, t) {
2157
2157
  type: "Point",
2158
2158
  coordinates: [P.decimalLongitude, P.decimalLatitude]
2159
2159
  }
2160
- }), tt = T, P && ae.focus());
2160
+ }), et = T, P && ae.focus());
2161
2161
  } catch (P) {
2162
2162
  if (P && typeof P == "object" && "name" in P && P.name === "AbortError")
2163
2163
  return;
@@ -2166,137 +2166,135 @@ function Rr(n, e, t) {
2166
2166
  ie === Pe && t(19, Pe = void 0);
2167
2167
  }
2168
2168
  }
2169
- function tn() {
2169
+ function en() {
2170
2170
  var oe;
2171
- if (!(Z != null && Z.length) || !E)
2171
+ if (!(Q != null && Q.length) || !E)
2172
2172
  return;
2173
- const m = [180, 90, -180, -90], U = !Z.some((ie) => !ie.matching_text);
2174
- let Q;
2175
- for (const ie of Z) {
2176
- const P = je(ie);
2177
- if (Q = et ?? (Q === void 0 ? P : P === void 0 ? Q : Math.max(Q, P)), U || !ie.matching_text)
2173
+ const m = [180, 90, -180, -90], U = !Q.some((ie) => !ie.matching_text);
2174
+ let V;
2175
+ for (const ie of Q) {
2176
+ const P = Ge(ie);
2177
+ if (V = V === void 0 ? P : P === void 0 ? V : Math.max(V, P), U || !ie.matching_text)
2178
2178
  for (const Y of [0, 1, 2, 3])
2179
2179
  m[Y] = Math[Y < 2 ? "min" : "max"](m[Y], ((oe = ie.bbox) == null ? void 0 : oe[Y]) ?? ie.center[Y % 2]);
2180
2180
  }
2181
- x && Z.length > 0 && (N && m[0] === m[2] && m[1] === m[3] ? x.flyTo(N.center, je(N)) : x.fitBounds(dt(m), 50, Q));
2181
+ x && Q.length > 0 && (N && m[0] === m[2] && m[1] === m[3] ? x.flyTo(N.center, Ge(N)) : x.fitBounds(ft(m), 50, V));
2182
2182
  }
2183
- function je(m) {
2184
- var Q;
2183
+ function Ge(m) {
2184
+ var V;
2185
2185
  if (!m.bbox || m.bbox[0] !== m.bbox[2] && m.bbox[1] !== m.bbox[3])
2186
2186
  return;
2187
- if (typeof Ae == "number")
2188
- return m.id.startsWith("poi.") || m.id.startsWith("address.") ? et : Ae;
2189
2187
  const U = m.id.replace(/\..*/, "");
2190
- return (Array.isArray((Q = m.properties) == null ? void 0 : Q.categories) ? m.properties.categories.reduce(
2188
+ return (Array.isArray((V = m.properties) == null ? void 0 : V.categories) ? m.properties.categories.reduce(
2191
2189
  (oe, ie) => {
2192
- const P = Ae[U + "." + ie];
2190
+ const P = $e[U + "." + ie];
2193
2191
  return oe === void 0 ? P : P === void 0 ? oe : Math.max(oe, P);
2194
2192
  },
2195
2193
  void 0
2196
- ) : void 0) ?? Ae[U];
2194
+ ) : void 0) ?? $e[U];
2197
2195
  }
2198
- function nn(m) {
2199
- t(0, A = g === "always"), t(14, T = void 0), t(58, N = void 0), t(15, z = -1), Qt(m[1].toFixed(6) + ", " + mr(m[0], [-180, 180], !0).toFixed(6), !1, !0);
2196
+ function tn(m) {
2197
+ t(0, A = g === "always"), t(14, T = void 0), t(57, N = void 0), t(15, z = -1), Qt(m[1].toFixed(6) + ", " + hr(m[0], [-180, 180], !0).toFixed(6), !1, !0);
2200
2198
  }
2201
- function rn(m) {
2199
+ function nn(m) {
2202
2200
  if (!T)
2203
2201
  return;
2204
2202
  let U = m.key === "ArrowDown" ? 1 : m.key === "ArrowUp" ? -1 : 0;
2205
2203
  U && (z === (We ? 0 : -1) && U === -1 && t(15, z = T.length), t(15, z += U), z >= T.length && t(15, z = -1), z < 0 && We && t(15, z = 0), m.preventDefault());
2206
2204
  }
2207
- function Lt(m = !0, U = !1) {
2208
- if (t(18, ce = void 0), ve && (window.clearTimeout(ve), ve = void 0), re && (window.clearTimeout(re), t(59, re = void 0)), !te && !U || O.length < L) {
2205
+ function Et(m = !0, U = !1) {
2206
+ if (t(18, ce = void 0), ve && (window.clearTimeout(ve), ve = void 0), re && (window.clearTimeout(re), t(58, re = void 0)), !te && !U || O.length < L) {
2209
2207
  t(14, T = void 0);
2210
2208
  return;
2211
2209
  }
2212
- const Q = O;
2210
+ const V = O;
2213
2211
  ve = window.setTimeout(
2214
2212
  () => {
2215
- ve = void 0, Ge(Q).catch((oe) => t(18, ce = oe));
2213
+ ve = void 0, Ue(V).catch((oe) => t(18, ce = oe));
2216
2214
  },
2217
2215
  m ? b : 0
2218
- ), O.endsWith(" ") || t(59, re = window.setTimeout(
2216
+ ), O.endsWith(" ") || t(58, re = window.setTimeout(
2219
2217
  () => {
2220
- t(59, re = void 0), Ge(Q, { appendSpace: !0 }).catch((oe) => t(18, ce = oe));
2218
+ t(58, re = void 0), Ue(V, { appendSpace: !0 }).catch((oe) => t(18, ce = oe));
2221
2219
  },
2222
2220
  pe
2223
2221
  ));
2224
2222
  }
2225
- function St(m) {
2226
- t(58, N = m), t(1, O = m.place_name), t(15, z = -1);
2223
+ function Lt(m) {
2224
+ t(57, N = m), t(1, O = m.place_name), t(15, z = -1);
2227
2225
  }
2228
- const on = () => ae.focus();
2229
- function sn(m) {
2230
- Rt[m ? "unshift" : "push"](() => {
2226
+ const rn = () => ae.focus();
2227
+ function on(m) {
2228
+ Tt[m ? "unshift" : "push"](() => {
2231
2229
  ae = m, t(17, ae);
2232
2230
  });
2233
2231
  }
2234
- function ln() {
2235
- O = this.value, t(1, O), t(13, ze), t(28, u);
2232
+ function sn() {
2233
+ O = this.value, t(1, O), t(13, Ae), t(28, u);
2236
2234
  }
2237
- const un = () => t(13, ze = !0), an = () => t(13, ze = !1), cn = () => Lt(), fn = () => {
2235
+ const ln = () => t(13, Ae = !0), un = () => t(13, Ae = !1), an = () => Et(), cn = () => {
2238
2236
  t(1, O = ""), ae.focus();
2239
- }, dn = () => t(0, A = !A), hn = () => t(18, ce = void 0), mn = (m) => t(15, z = m), gn = (m) => St(m), yn = () => {
2237
+ }, fn = () => t(0, A = !A), dn = () => t(18, ce = void 0), hn = (m) => t(15, z = m), mn = (m) => Lt(m), gn = () => {
2240
2238
  We || t(15, z = -1);
2241
- }, pn = () => {
2239
+ }, yn = () => {
2242
2240
  };
2243
2241
  return n.$$set = (m) => {
2244
- "class" in m && t(2, s = m.class), "apiKey" in m && t(26, c = m.apiKey), "bbox" in m && t(27, a = m.bbox), "clearButtonTitle" in m && t(3, d = m.clearButtonTitle), "clearOnBlur" in m && t(28, u = m.clearOnBlur), "collapsed" in m && t(4, f = m.collapsed), "country" in m && t(29, h = m.country), "debounceSearch" in m && t(30, b = m.debounceSearch), "enableReverse" in m && t(5, g = m.enableReverse), "errorMessage" in m && t(6, y = m.errorMessage), "filter" in m && t(31, p = m.filter), "flyTo" in m && t(32, E = m.flyTo), "fuzzyMatch" in m && t(33, S = m.fuzzyMatch), "language" in m && t(34, w = m.language), "limit" in m && t(35, k = m.limit), "mapController" in m && t(36, x = m.mapController), "minLength" in m && t(37, L = m.minLength), "noResultsMessage" in m && t(7, _ = m.noResultsMessage), "placeholder" in m && t(8, C = m.placeholder), "proximity" in m && t(38, I = m.proximity), "reverseActive" in m && t(0, A = m.reverseActive), "reverseButtonTitle" in m && t(9, B = m.reverseButtonTitle), "searchValue" in m && t(1, O = m.searchValue), "showFullGeometry" in m && t(39, M = m.showFullGeometry), "showPlaceType" in m && t(10, D = m.showPlaceType), "showResultsWhileTyping" in m && t(40, te = m.showResultsWhileTyping), "autocompleteTimeout" in m && t(41, pe = m.autocompleteTimeout), "selectFirst" in m && t(11, We = m.selectFirst), "flyToSelected" in m && t(42, yt = m.flyToSelected), "markerOnSelected" in m && t(43, Je = m.markerOnSelected), "types" in m && t(44, Ne = m.types), "exhaustiveReverseGeocoding" in m && t(45, pt = m.exhaustiveReverseGeocoding), "excludeTypes" in m && t(46, $e = m.excludeTypes), "zoom" in m && t(47, Ae = m.zoom), "maxZoom" in m && t(48, et = m.maxZoom), "apiUrl" in m && t(49, vt = m.apiUrl), "fetchParameters" in m && t(50, bt = m.fetchParameters), "iconsBaseUrl" in m && t(12, Zt = m.iconsBaseUrl), "adjustUrlQuery" in m && t(51, wt = m.adjustUrlQuery), "$$scope" in m && t(62, o = m.$$scope);
2242
+ "class" in m && t(2, s = m.class), "apiKey" in m && t(26, c = m.apiKey), "bbox" in m && t(27, a = m.bbox), "clearButtonTitle" in m && t(3, d = m.clearButtonTitle), "clearOnBlur" in m && t(28, u = m.clearOnBlur), "collapsed" in m && t(4, f = m.collapsed), "country" in m && t(29, h = m.country), "debounceSearch" in m && t(30, b = m.debounceSearch), "enableReverse" in m && t(5, g = m.enableReverse), "errorMessage" in m && t(6, y = m.errorMessage), "filter" in m && t(31, p = m.filter), "flyTo" in m && t(32, E = m.flyTo), "fuzzyMatch" in m && t(33, S = m.fuzzyMatch), "language" in m && t(34, w = m.language), "limit" in m && t(35, k = m.limit), "mapController" in m && t(36, x = m.mapController), "minLength" in m && t(37, L = m.minLength), "noResultsMessage" in m && t(7, _ = m.noResultsMessage), "placeholder" in m && t(8, C = m.placeholder), "proximity" in m && t(38, I = m.proximity), "reverseActive" in m && t(0, A = m.reverseActive), "reverseButtonTitle" in m && t(9, F = m.reverseButtonTitle), "searchValue" in m && t(1, O = m.searchValue), "pickedResultStyle" in m && t(39, M = m.pickedResultStyle), "showPlaceType" in m && t(10, D = m.showPlaceType), "showResultsWhileTyping" in m && t(40, te = m.showResultsWhileTyping), "autocompleteTimeout" in m && t(41, pe = m.autocompleteTimeout), "selectFirst" in m && t(11, We = m.selectFirst), "flyToSelected" in m && t(42, gt = m.flyToSelected), "markerOnSelected" in m && t(43, Ke = m.markerOnSelected), "types" in m && t(44, Ne = m.types), "exhaustiveReverseGeocoding" in m && t(45, yt = m.exhaustiveReverseGeocoding), "excludeTypes" in m && t(46, Je = m.excludeTypes), "zoom" in m && t(47, $e = m.zoom), "apiUrl" in m && t(48, pt = m.apiUrl), "fetchParameters" in m && t(49, vt = m.fetchParameters), "iconsBaseUrl" in m && t(12, qt = m.iconsBaseUrl), "adjustUrlQuery" in m && t(50, bt = m.adjustUrlQuery), "$$scope" in m && t(61, o = m.$$scope);
2245
2243
  }, n.$$.update = () => {
2246
2244
  if (n.$$.dirty[0] & /*enableReverse*/
2247
2245
  32 && t(0, A = g === "always"), n.$$.dirty[0] & /*focused, clearOnBlur*/
2248
2246
  268443648 && setTimeout(() => {
2249
- t(16, it = ze), u && !ze && t(1, O = "");
2247
+ t(16, tt = Ae), u && !Ae && t(1, O = "");
2250
2248
  }), n.$$.dirty[0] & /*searchValue, listFeatures*/
2251
2249
  16386 | n.$$.dirty[1] & /*minLength*/
2252
- 64 && O.length < L && (t(58, N = void 0), t(14, T = void 0), t(18, ce = void 0), t(57, Z = T)), n.$$.dirty[1] & /*showFullGeometry, picked*/
2253
- 134217984 && M && N && !N.address && N.geometry.type === "Point" && N.place_type[0] !== "reverse" && Ge(N.id, { byId: !0 }).catch((m) => t(18, ce = m)), n.$$.dirty[1] & /*mapController, picked, prevIdToFly, flyTo*/
2254
- 671088674 && (x && N && N.id !== _t && E && (!N.bbox || N.bbox[0] === N.bbox[2] && N.bbox[1] === N.bbox[3] ? x.flyTo(N.center, je(N)) : x.fitBounds(dt(N.bbox), 50, je(N)), t(14, T = void 0), t(57, Z = void 0), t(15, z = -1)), t(60, _t = N == null ? void 0 : N.id)), n.$$.dirty[0] & /*selectFirst, listFeatures*/
2255
- 18432 && We && T != null && T.length && (en() || t(15, z = 0)), n.$$.dirty[0] & /*searchValue*/
2250
+ 64 && O.length < L && (t(57, N = void 0), t(14, T = void 0), t(18, ce = void 0), t(56, Q = T)), n.$$.dirty[1] & /*pickedResultStyle, picked*/
2251
+ 67109120 && M !== "marker-only" && N && !N.address && N.geometry.type === "Point" && N.place_type[0] !== "reverse" && Ue(N.id, { byId: !0 }).catch((m) => t(18, ce = m)), n.$$.dirty[1] & /*mapController, picked, prevIdToFly, flyTo*/
2252
+ 335544354 && (x && N && N.id !== wt && E && (!N.bbox || N.bbox[0] === N.bbox[2] && N.bbox[1] === N.bbox[3] ? x.flyTo(N.center, Ge(N)) : x.fitBounds(ft(N.bbox), 50, Ge(N)), t(14, T = void 0), t(56, Q = void 0), t(15, z = -1)), t(59, wt = N == null ? void 0 : N.id)), n.$$.dirty[0] & /*selectFirst, listFeatures*/
2253
+ 18432 && We && T != null && T.length && ($i() || t(15, z = 0)), n.$$.dirty[0] & /*searchValue*/
2256
2254
  2 && t(15, z = -1), n.$$.dirty[0] & /*listFeatures*/
2257
2255
  16384 | n.$$.dirty[1] & /*markedFeatures*/
2258
- 67108864 && Z !== T && t(57, Z = void 0), n.$$.dirty[0] & /*reverseActive, listFeatures, focusedDelayed*/
2256
+ 33554432 && Q !== T && t(56, Q = void 0), n.$$.dirty[0] & /*reverseActive, listFeatures, focusedDelayed*/
2259
2257
  81921 | n.$$.dirty[1] & /*mapController, markedFeatures*/
2260
- 67108896 && x && x.setEventHandler((m) => {
2258
+ 33554464 && x && x.setEventHandler((m) => {
2261
2259
  switch (m.type) {
2262
2260
  case "mapClick":
2263
- A && nn(m.coordinates);
2261
+ A && tn(m.coordinates);
2264
2262
  break;
2265
2263
  case "markerClick":
2266
2264
  {
2267
- const U = T == null ? void 0 : T.find((Q) => Q.id === m.id);
2268
- U && St(U);
2265
+ const U = T == null ? void 0 : T.find((V) => V.id === m.id);
2266
+ U && Lt(U);
2269
2267
  }
2270
2268
  break;
2271
2269
  case "markerMouseEnter":
2272
- Z && t(15, z = it ? (T == null ? void 0 : T.findIndex((U) => U.id === m.id)) ?? -1 : -1);
2270
+ Q && t(15, z = tt ? (T == null ? void 0 : T.findIndex((U) => U.id === m.id)) ?? -1 : -1);
2273
2271
  break;
2274
2272
  case "markerMouseLeave":
2275
- Z && t(15, z = -1);
2273
+ Q && t(15, z = -1);
2276
2274
  break;
2277
2275
  }
2278
2276
  }), n.$$.dirty[0] & /*listFeatures, selectedItemIndex*/
2279
- 49152 && t(61, i = T == null ? void 0 : T[z]), n.$$.dirty[1] & /*mapController, selected, flyTo, flyToSelected*/
2280
- 1073743906 && x && i && E && yt && x.flyTo(i.center, je(i)), n.$$.dirty[1] & /*markerOnSelected, mapController*/
2281
- 4128 && (Je || x == null || x.setMarkers(void 0, void 0)), n.$$.dirty[1] & /*mapController, markerOnSelected, markedFeatures, selected*/
2282
- 1140854816 && x && Je && !Z && (x.setMarkers(i ? [i] : void 0, void 0), x.setSelectedMarker(i ? 0 : -1)), n.$$.dirty[1] & /*mapController, markedFeatures, picked*/
2283
- 201326624 && x && x.setMarkers(Z, N), n.$$.dirty[0] & /*selectedItemIndex*/
2277
+ 49152 && t(60, i = T == null ? void 0 : T[z]), n.$$.dirty[1] & /*mapController, selected, flyTo, flyToSelected*/
2278
+ 536872994 && x && i && E && gt && x.flyTo(i.center, Ge(i)), n.$$.dirty[1] & /*markerOnSelected, mapController*/
2279
+ 4128 && (Ke || x == null || x.setMarkers(void 0, void 0)), n.$$.dirty[1] & /*mapController, markerOnSelected, markedFeatures, selected*/
2280
+ 570429472 && x && Ke && !Q && (x.setMarkers(i ? [i] : void 0, void 0), x.setSelectedMarker(i ? 0 : -1)), n.$$.dirty[1] & /*mapController, markedFeatures, picked*/
2281
+ 100663328 && x && x.setMarkers(Q, N), n.$$.dirty[0] & /*selectedItemIndex*/
2284
2282
  32768 | n.$$.dirty[1] & /*markedFeatures, mapController*/
2285
- 67108896 && Z && x && x.setSelectedMarker(z), n.$$.dirty[1] & /*selected, autocompleteTimeoutRef*/
2286
- 1342177280 && i && (window.clearTimeout(re), t(59, re = void 0)), n.$$.dirty[0] & /*searchValue*/
2283
+ 33554464 && Q && x && x.setSelectedMarker(z), n.$$.dirty[1] & /*selected, autocompleteTimeoutRef*/
2284
+ 671088640 && i && (window.clearTimeout(re), t(58, re = void 0)), n.$$.dirty[0] & /*searchValue*/
2287
2285
  2 | n.$$.dirty[1] & /*mapController*/
2288
2286
  32 && x) {
2289
- const m = Et(O);
2287
+ const m = _t(O);
2290
2288
  x.setReverseMarker(m ? [m.decimalLongitude, m.decimalLatitude] : void 0);
2291
2289
  }
2292
2290
  n.$$.dirty[1] & /*selected*/
2293
- 1073741824 && be("select", { feature: i }), n.$$.dirty[1] & /*picked*/
2294
- 134217728 && be("pick", { feature: N }), n.$$.dirty[0] & /*focusedDelayed, listFeatures*/
2291
+ 536870912 && be("select", { feature: i }), n.$$.dirty[1] & /*picked*/
2292
+ 67108864 && be("pick", { feature: N }), n.$$.dirty[0] & /*focusedDelayed, listFeatures*/
2295
2293
  81920 && be("optionsvisibilitychange", {
2296
- optionsVisible: it && !!T
2294
+ optionsVisible: tt && !!T
2297
2295
  }), n.$$.dirty[0] & /*listFeatures*/
2298
2296
  16384 && be("featureslisted", { features: T }), n.$$.dirty[1] & /*markedFeatures*/
2299
- 67108864 && be("featuresmarked", { features: Z }), n.$$.dirty[0] & /*reverseActive*/
2297
+ 33554432 && be("featuresmarked", { features: Q }), n.$$.dirty[0] & /*reverseActive*/
2300
2298
  1 && be("reversetoggle", { reverse: A }), n.$$.dirty[0] & /*searchValue*/
2301
2299
  2 && be("querychange", { query: O }), n.$$.dirty[0] & /*reverseActive*/
2302
2300
  1 | n.$$.dirty[1] & /*mapController*/
@@ -2311,22 +2309,22 @@ function Rr(n, e, t) {
2311
2309
  y,
2312
2310
  _,
2313
2311
  C,
2314
- B,
2312
+ F,
2315
2313
  D,
2316
2314
  We,
2317
- Zt,
2318
- ze,
2315
+ qt,
2316
+ Ae,
2319
2317
  T,
2320
2318
  z,
2321
- it,
2319
+ tt,
2322
2320
  ae,
2323
2321
  ce,
2324
2322
  Pe,
2325
- $i,
2326
- Ht,
2327
- rn,
2323
+ Ji,
2324
+ Zt,
2325
+ nn,
2326
+ Et,
2328
2327
  Lt,
2329
- St,
2330
2328
  l,
2331
2329
  c,
2332
2330
  a,
@@ -2344,28 +2342,28 @@ function Rr(n, e, t) {
2344
2342
  M,
2345
2343
  te,
2346
2344
  pe,
2345
+ gt,
2346
+ Ke,
2347
+ Ne,
2347
2348
  yt,
2348
2349
  Je,
2349
- Ne,
2350
- pt,
2351
2350
  $e,
2352
- Ae,
2353
- et,
2351
+ pt,
2354
2352
  vt,
2355
2353
  bt,
2356
- wt,
2354
+ Hi,
2357
2355
  Yi,
2358
- Xi,
2359
2356
  Qt,
2357
+ Xi,
2360
2358
  Ki,
2361
- Ji,
2362
- Z,
2359
+ Q,
2363
2360
  N,
2364
2361
  re,
2365
- _t,
2362
+ wt,
2366
2363
  i,
2367
2364
  o,
2368
2365
  r,
2366
+ rn,
2369
2367
  on,
2370
2368
  sn,
2371
2369
  ln,
@@ -2377,17 +2375,16 @@ function Rr(n, e, t) {
2377
2375
  hn,
2378
2376
  mn,
2379
2377
  gn,
2380
- yn,
2381
- pn
2378
+ yn
2382
2379
  ];
2383
2380
  }
2384
- let Ir = class extends Oe {
2381
+ let Rr = class extends Oe {
2385
2382
  constructor(e) {
2386
2383
  super(), Ie(
2387
2384
  this,
2388
2385
  e,
2389
- Rr,
2390
2386
  Tr,
2387
+ Pr,
2391
2388
  Re,
2392
2389
  {
2393
2390
  ZOOM_DEFAULTS: 25,
@@ -2414,7 +2411,7 @@ let Ir = class extends Oe {
2414
2411
  reverseActive: 0,
2415
2412
  reverseButtonTitle: 9,
2416
2413
  searchValue: 1,
2417
- showFullGeometry: 39,
2414
+ pickedResultStyle: 39,
2418
2415
  showPlaceType: 10,
2419
2416
  showResultsWhileTyping: 40,
2420
2417
  autocompleteTimeout: 41,
@@ -2425,16 +2422,15 @@ let Ir = class extends Oe {
2425
2422
  exhaustiveReverseGeocoding: 45,
2426
2423
  excludeTypes: 46,
2427
2424
  zoom: 47,
2428
- maxZoom: 48,
2429
- apiUrl: 49,
2430
- fetchParameters: 50,
2425
+ apiUrl: 48,
2426
+ fetchParameters: 49,
2431
2427
  iconsBaseUrl: 12,
2432
- adjustUrlQuery: 51,
2433
- focus: 52,
2434
- blur: 53,
2435
- setQuery: 54,
2436
- clearList: 55,
2437
- clearMap: 56
2428
+ adjustUrlQuery: 50,
2429
+ focus: 51,
2430
+ blur: 52,
2431
+ setQuery: 53,
2432
+ clearList: 54,
2433
+ clearMap: 55
2438
2434
  },
2439
2435
  null,
2440
2436
  [-1, -1, -1]
@@ -2444,26 +2440,26 @@ let Ir = class extends Oe {
2444
2440
  return this.$$.ctx[25];
2445
2441
  }
2446
2442
  get focus() {
2447
- return this.$$.ctx[52];
2443
+ return this.$$.ctx[51];
2448
2444
  }
2449
2445
  get blur() {
2450
- return this.$$.ctx[53];
2446
+ return this.$$.ctx[52];
2451
2447
  }
2452
2448
  get setQuery() {
2453
- return this.$$.ctx[54];
2449
+ return this.$$.ctx[53];
2454
2450
  }
2455
2451
  get clearList() {
2456
- return this.$$.ctx[55];
2452
+ return this.$$.ctx[54];
2457
2453
  }
2458
2454
  get clearMap() {
2459
- return this.$$.ctx[56];
2455
+ return this.$$.ctx[55];
2460
2456
  }
2461
2457
  };
2462
- function ht(n, e, t = {}) {
2458
+ function dt(n, e, t = {}) {
2463
2459
  const i = { type: "Feature" };
2464
2460
  return (t.id === 0 || t.id) && (i.id = t.id), t.bbox && (i.bbox = t.bbox), i.properties = e || {}, i.geometry = n, i;
2465
2461
  }
2466
- function Gt(n, e, t = {}) {
2462
+ function Ut(n, e, t = {}) {
2467
2463
  for (const r of n) {
2468
2464
  if (r.length < 4)
2469
2465
  throw new Error(
@@ -2475,17 +2471,17 @@ function Gt(n, e, t = {}) {
2475
2471
  if (r[r.length - 1][o] !== r[0][o])
2476
2472
  throw new Error("First and last Position are not equivalent.");
2477
2473
  }
2478
- return ht({
2474
+ return dt({
2479
2475
  type: "Polygon",
2480
2476
  coordinates: n
2481
2477
  }, e, t);
2482
2478
  }
2483
- function Wt(n, e = {}) {
2479
+ function Ot(n, e = {}) {
2484
2480
  const t = { type: "FeatureCollection" };
2485
2481
  return e.id && (t.id = e.id), e.bbox && (t.bbox = e.bbox), t.features = n, t;
2486
2482
  }
2487
- function Zi(n, e, t = {}) {
2488
- return ht({
2483
+ function qi(n, e, t = {}) {
2484
+ return dt({
2489
2485
  type: "MultiPolygon",
2490
2486
  coordinates: n
2491
2487
  }, e, t);
@@ -2577,7 +2573,7 @@ function Qi(n, e, t) {
2577
2573
  }
2578
2574
  }
2579
2575
  }
2580
- function jt(n, e) {
2576
+ function Gt(n, e) {
2581
2577
  var t, i, r, o, l, s, c, a, d, u, f = 0, h = n.type === "FeatureCollection", b = n.type === "Feature", g = h ? n.features.length : 1;
2582
2578
  for (t = 0; t < g; t++) {
2583
2579
  for (s = h ? n.features[t].geometry : b ? n.geometry : n, a = h ? n.features[t].properties : b ? n.properties : {}, d = h ? n.features[t].bbox : b ? n.bbox : void 0, u = 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++) {
@@ -2628,8 +2624,8 @@ function jt(n, e) {
2628
2624
  f++;
2629
2625
  }
2630
2626
  }
2631
- function Or(n, e) {
2632
- jt(n, function(t, i, r, o, l) {
2627
+ function Ir(n, e) {
2628
+ Gt(n, function(t, i, r, o, l) {
2633
2629
  var s = t === null ? null : t.type;
2634
2630
  switch (s) {
2635
2631
  case null:
@@ -2637,7 +2633,7 @@ function Or(n, e) {
2637
2633
  case "LineString":
2638
2634
  case "Polygon":
2639
2635
  return e(
2640
- ht(t, r, { bbox: o, id: l }),
2636
+ dt(t, r, { bbox: o, id: l }),
2641
2637
  i,
2642
2638
  0
2643
2639
  ) === !1 ? !1 : void 0;
@@ -2659,12 +2655,12 @@ function Or(n, e) {
2659
2655
  type: c,
2660
2656
  coordinates: d
2661
2657
  };
2662
- if (e(ht(u, r), i, a) === !1)
2658
+ if (e(dt(u, r), i, a) === !1)
2663
2659
  return !1;
2664
2660
  }
2665
2661
  });
2666
2662
  }
2667
- function Wr(n, e = {}) {
2663
+ function Or(n, e = {}) {
2668
2664
  if (n.bbox != null && e.recompute !== !0)
2669
2665
  return n.bbox;
2670
2666
  const t = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
@@ -2672,7 +2668,7 @@ function Wr(n, e = {}) {
2672
2668
  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]);
2673
2669
  }), t;
2674
2670
  }
2675
- var Ei = Wr;
2671
+ var _i = Or;
2676
2672
  /**
2677
2673
  * splaytree v3.1.2
2678
2674
  * Fast Splay tree for Node and browser
@@ -2695,7 +2691,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
2695
2691
  See the Apache Version 2.0 License for specific language governing permissions
2696
2692
  and limitations under the License.
2697
2693
  ***************************************************************************** */
2698
- function Ar(n, e) {
2694
+ function Wr(n, e) {
2699
2695
  var t = { label: 0, sent: function() {
2700
2696
  if (o[0] & 1) throw o[1];
2701
2697
  return o[1];
@@ -2764,7 +2760,7 @@ var ke = (
2764
2760
  return n;
2765
2761
  }()
2766
2762
  );
2767
- function zr(n, e) {
2763
+ function Ar(n, e) {
2768
2764
  return n > e ? 1 : n < e ? -1 : 0;
2769
2765
  }
2770
2766
  function we(n, e, t) {
@@ -2793,7 +2789,7 @@ function we(n, e, t) {
2793
2789
  }
2794
2790
  return r.right = e.left, o.left = e.right, e.left = i.right, e.right = i.left, e;
2795
2791
  }
2796
- function Pt(n, e, t, i) {
2792
+ function Nt(n, e, t, i) {
2797
2793
  var r = new ke(n, e);
2798
2794
  if (t === null)
2799
2795
  return r.left = r.right = null, r;
@@ -2801,7 +2797,7 @@ function Pt(n, e, t, i) {
2801
2797
  var o = i(n, t.key);
2802
2798
  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;
2803
2799
  }
2804
- function Li(n, e, t) {
2800
+ function Ei(n, e, t) {
2805
2801
  var i = null, r = null;
2806
2802
  if (e) {
2807
2803
  e = we(n, e, t);
@@ -2810,25 +2806,25 @@ function Li(n, e, t) {
2810
2806
  }
2811
2807
  return { left: i, right: r };
2812
2808
  }
2813
- function Fr(n, e, t) {
2809
+ function zr(n, e, t) {
2814
2810
  return e === null ? n : (n === null || (e = we(n.key, e, t), e.left = n), e);
2815
2811
  }
2816
- function At(n, e, t, i, r) {
2812
+ function Wt(n, e, t, i, r) {
2817
2813
  if (n) {
2818
2814
  i("" + e + (t ? "└── " : "├── ") + r(n) + `
2819
2815
  `);
2820
2816
  var o = e + (t ? " " : "│ ");
2821
- n.left && At(n.left, o, !1, i, r), n.right && At(n.right, o, !0, i, r);
2817
+ n.left && Wt(n.left, o, !1, i, r), n.right && Wt(n.right, o, !0, i, r);
2822
2818
  }
2823
2819
  }
2824
- var qt = (
2820
+ var jt = (
2825
2821
  /** @class */
2826
2822
  function() {
2827
2823
  function n(e) {
2828
- e === void 0 && (e = zr), this._root = null, this._size = 0, this._comparator = e;
2824
+ e === void 0 && (e = Ar), this._root = null, this._size = 0, this._comparator = e;
2829
2825
  }
2830
2826
  return n.prototype.insert = function(e, t) {
2831
- return this._size++, this._root = Pt(e, t, this._root, this._comparator);
2827
+ return this._size++, this._root = Nt(e, t, this._root, this._comparator);
2832
2828
  }, n.prototype.add = function(e, t) {
2833
2829
  var i = new ke(e, t);
2834
2830
  this._root === null && (i.left = i.right = null, this._size++, this._root = i);
@@ -2953,15 +2949,15 @@ var qt = (
2953
2949
  }, n.prototype.clear = function() {
2954
2950
  return this._root = null, this._size = 0, this;
2955
2951
  }, n.prototype.toList = function() {
2956
- return Dr(this._root);
2952
+ return Fr(this._root);
2957
2953
  }, n.prototype.load = function(e, t, i) {
2958
2954
  t === void 0 && (t = []), i === void 0 && (i = !1);
2959
2955
  var r = e.length, o = this._comparator;
2960
2956
  if (i && Bt(e, t, 0, r - 1, o), this._root === null)
2961
- this._root = zt(e, t, 0, r), this._size = r;
2957
+ this._root = At(e, t, 0, r), this._size = r;
2962
2958
  else {
2963
- var l = Ur(this.toList(), Br(e, t), o);
2964
- r = this._size + r, this._root = Ft({ head: l }, 0, r);
2959
+ var l = Dr(this.toList(), Br(e, t), o);
2960
+ r = this._size + r, this._root = zt({ head: l }, 0, r);
2965
2961
  }
2966
2962
  return this;
2967
2963
  }, n.prototype.isEmpty = function() {
@@ -2983,17 +2979,17 @@ var qt = (
2983
2979
  return String(i.key);
2984
2980
  });
2985
2981
  var t = [];
2986
- return At(this._root, "", !0, function(i) {
2982
+ return Wt(this._root, "", !0, function(i) {
2987
2983
  return t.push(i);
2988
2984
  }, e), t.join("");
2989
2985
  }, n.prototype.update = function(e, t, i) {
2990
- var r = this._comparator, o = Li(e, this._root, r), l = o.left, s = o.right;
2991
- r(e, t) < 0 ? s = Pt(t, i, s, r) : l = Pt(t, i, l, r), this._root = Fr(l, s, r);
2986
+ var r = this._comparator, o = Ei(e, this._root, r), l = o.left, s = o.right;
2987
+ r(e, t) < 0 ? s = Nt(t, i, s, r) : l = Nt(t, i, l, r), this._root = zr(l, s, r);
2992
2988
  }, n.prototype.split = function(e) {
2993
- return Li(e, this._root, this._comparator);
2989
+ return Ei(e, this._root, this._comparator);
2994
2990
  }, n.prototype[Symbol.iterator] = function() {
2995
2991
  var e, t, i;
2996
- return Ar(this, function(r) {
2992
+ return Wr(this, function(r) {
2997
2993
  switch (r.label) {
2998
2994
  case 0:
2999
2995
  e = this._root, t = [], i = !1, r.label = 1;
@@ -3017,11 +3013,11 @@ var qt = (
3017
3013
  }, n;
3018
3014
  }()
3019
3015
  );
3020
- function zt(n, e, t, i) {
3016
+ function At(n, e, t, i) {
3021
3017
  var r = i - t;
3022
3018
  if (r > 0) {
3023
3019
  var o = t + Math.floor(r / 2), l = n[o], s = e[o], c = new ke(l, s);
3024
- return c.left = zt(n, e, t, o), c.right = zt(n, e, o + 1, i), c;
3020
+ return c.left = At(n, e, t, o), c.right = At(n, e, o + 1, i), c;
3025
3021
  }
3026
3022
  return null;
3027
3023
  }
@@ -3030,20 +3026,20 @@ function Br(n, e) {
3030
3026
  i = i.next = new ke(n[r], e[r]);
3031
3027
  return i.next = null, t.next;
3032
3028
  }
3033
- function Dr(n) {
3029
+ function Fr(n) {
3034
3030
  for (var e = n, t = [], i = !1, r = new ke(null, null), o = r; !i; )
3035
3031
  e ? (t.push(e), e = e.left) : t.length > 0 ? (e = o = o.next = t.pop(), e = e.right) : i = !0;
3036
3032
  return o.next = null, r.next;
3037
3033
  }
3038
- function Ft(n, e, t) {
3034
+ function zt(n, e, t) {
3039
3035
  var i = t - e;
3040
3036
  if (i > 0) {
3041
- var r = e + Math.floor(i / 2), o = Ft(n, e, r), l = n.head;
3042
- return l.left = o, n.head = n.head.next, l.right = Ft(n, r + 1, t), l;
3037
+ var r = e + Math.floor(i / 2), o = zt(n, e, r), l = n.head;
3038
+ return l.left = o, n.head = n.head.next, l.right = zt(n, r + 1, t), l;
3043
3039
  }
3044
3040
  return null;
3045
3041
  }
3046
- function Ur(n, e, t) {
3042
+ function Dr(n, e, t) {
3047
3043
  for (var i = new ke(null, null), r = i, o = n, l = e; o !== null && l !== null; )
3048
3044
  t(o.key, l.key) < 0 ? (r.next = o, o = o.next) : (r.next = l, l = l.next), r = r.next;
3049
3045
  return o !== null ? r.next = o : l !== null && (r.next = l), i.next;
@@ -3065,8 +3061,8 @@ function Bt(n, e, t, i, r) {
3065
3061
  Bt(n, e, t, s, r), Bt(n, e, s + 1, i, r);
3066
3062
  }
3067
3063
  }
3068
- const he = 11102230246251565e-32, K = 134217729, Gr = (3 + 8 * he) * he;
3069
- function Tt(n, e, t, i, r) {
3064
+ const he = 11102230246251565e-32, K = 134217729, Ur = (3 + 8 * he) * he;
3065
+ function Pt(n, e, t, i, r) {
3070
3066
  let o, l, s, c, a = e[0], d = i[0], u = 0, f = 0;
3071
3067
  d > a == d > -a ? (o = a, a = e[++u]) : (o = d, d = i[++f]);
3072
3068
  let h = 0;
@@ -3079,34 +3075,34 @@ function Tt(n, e, t, i, r) {
3079
3075
  l = o + d, c = l - o, s = o - (l - c) + (d - c), d = i[++f], o = l, s !== 0 && (r[h++] = s);
3080
3076
  return (o !== 0 || h === 0) && (r[h++] = o), h;
3081
3077
  }
3082
- function jr(n, e) {
3078
+ function Gr(n, e) {
3083
3079
  let t = e[0];
3084
3080
  for (let i = 1; i < n; i++) t += e[i];
3085
3081
  return t;
3086
3082
  }
3087
- function Ke(n) {
3083
+ function Xe(n) {
3088
3084
  return new Float64Array(n);
3089
3085
  }
3090
- const qr = (3 + 16 * he) * he, Zr = (2 + 12 * he) * he, Qr = (9 + 64 * he) * he * he, Be = Ke(4), Si = Ke(8), xi = Ke(12), Mi = Ke(16), $ = Ke(4);
3086
+ const jr = (3 + 16 * he) * he, qr = (2 + 12 * he) * he, Qr = (9 + 64 * he) * he * he, Be = Xe(4), Li = Xe(8), Si = Xe(12), xi = Xe(16), $ = Xe(4);
3091
3087
  function Vr(n, e, t, i, r, o, l) {
3092
3088
  let s, c, a, d, u, f, h, b, g, y, p, E, S, w, k, x, L, _;
3093
- const C = n - r, I = t - r, A = e - o, B = i - o;
3094
- w = C * B, f = K * C, h = f - (f - C), b = C - h, f = K * B, g = f - (f - B), y = B - g, k = b * y - (w - h * g - b * g - h * y), x = A * I, f = K * A, h = f - (f - A), b = A - h, f = K * I, g = f - (f - I), y = I - g, L = b * y - (x - h * g - b * g - h * y), p = k - L, u = k - p, Be[0] = k - (p + u) + (u - L), E = w + p, u = E - w, S = w - (E - u) + (p - u), p = S - x, u = S - p, Be[1] = S - (p + u) + (u - x), _ = E + p, u = _ - E, Be[2] = E - (_ - u) + (p - u), Be[3] = _;
3095
- let O = jr(4, Be), M = Zr * l;
3096
- if (O >= M || -O >= M || (u = n - C, s = n - (C + u) + (u - r), u = t - I, a = t - (I + u) + (u - r), u = e - A, c = e - (A + u) + (u - o), u = i - B, d = i - (B + u) + (u - o), s === 0 && c === 0 && a === 0 && d === 0) || (M = Qr * l + Gr * Math.abs(O), O += C * d + B * s - (A * a + I * c), O >= M || -O >= M)) return O;
3097
- w = s * B, f = K * s, h = f - (f - s), b = s - h, f = K * B, g = f - (f - B), y = B - g, k = b * y - (w - h * g - b * g - h * y), x = c * I, f = K * c, h = f - (f - c), b = c - h, f = K * I, g = f - (f - I), y = I - g, L = b * y - (x - h * g - b * g - h * y), p = k - L, u = k - p, $[0] = k - (p + u) + (u - L), E = w + p, u = E - w, S = w - (E - u) + (p - u), p = S - x, u = S - p, $[1] = S - (p + u) + (u - x), _ = E + p, u = _ - E, $[2] = E - (_ - u) + (p - u), $[3] = _;
3098
- const D = Tt(4, Be, 4, $, Si);
3089
+ const C = n - r, I = t - r, A = e - o, F = i - o;
3090
+ w = C * F, f = K * C, h = f - (f - C), b = C - h, f = K * F, g = f - (f - F), y = F - g, k = b * y - (w - h * g - b * g - h * y), x = A * I, f = K * A, h = f - (f - A), b = A - h, f = K * I, g = f - (f - I), y = I - g, L = b * y - (x - h * g - b * g - h * y), p = k - L, u = k - p, Be[0] = k - (p + u) + (u - L), E = w + p, u = E - w, S = w - (E - u) + (p - u), p = S - x, u = S - p, Be[1] = S - (p + u) + (u - x), _ = E + p, u = _ - E, Be[2] = E - (_ - u) + (p - u), Be[3] = _;
3091
+ let O = Gr(4, Be), M = qr * l;
3092
+ if (O >= M || -O >= M || (u = n - C, s = n - (C + u) + (u - r), u = t - I, a = t - (I + u) + (u - r), u = e - A, c = e - (A + u) + (u - o), u = i - F, d = i - (F + u) + (u - o), s === 0 && c === 0 && a === 0 && d === 0) || (M = Qr * l + Ur * Math.abs(O), O += C * d + F * s - (A * a + I * c), O >= M || -O >= M)) return O;
3093
+ w = s * F, f = K * s, h = f - (f - s), b = s - h, f = K * F, g = f - (f - F), y = F - g, k = b * y - (w - h * g - b * g - h * y), x = c * I, f = K * c, h = f - (f - c), b = c - h, f = K * I, g = f - (f - I), y = I - g, L = b * y - (x - h * g - b * g - h * y), p = k - L, u = k - p, $[0] = k - (p + u) + (u - L), E = w + p, u = E - w, S = w - (E - u) + (p - u), p = S - x, u = S - p, $[1] = S - (p + u) + (u - x), _ = E + p, u = _ - E, $[2] = E - (_ - u) + (p - u), $[3] = _;
3094
+ const D = Pt(4, Be, 4, $, Li);
3099
3095
  w = C * d, f = K * C, h = f - (f - C), b = C - h, f = K * d, g = f - (f - d), y = d - g, k = b * y - (w - h * g - b * g - h * y), x = A * a, f = K * A, h = f - (f - A), b = A - h, f = K * a, g = f - (f - a), y = a - g, L = b * y - (x - h * g - b * g - h * y), p = k - L, u = k - p, $[0] = k - (p + u) + (u - L), E = w + p, u = E - w, S = w - (E - u) + (p - u), p = S - x, u = S - p, $[1] = S - (p + u) + (u - x), _ = E + p, u = _ - E, $[2] = E - (_ - u) + (p - u), $[3] = _;
3100
- const te = Tt(D, Si, 4, $, xi);
3096
+ const te = Pt(D, Li, 4, $, Si);
3101
3097
  w = s * d, f = K * s, h = f - (f - s), b = s - h, f = K * d, g = f - (f - d), y = d - g, k = b * y - (w - h * g - b * g - h * y), x = c * a, f = K * c, h = f - (f - c), b = c - h, f = K * a, g = f - (f - a), y = a - g, L = b * y - (x - h * g - b * g - h * y), p = k - L, u = k - p, $[0] = k - (p + u) + (u - L), E = w + p, u = E - w, S = w - (E - u) + (p - u), p = S - x, u = S - p, $[1] = S - (p + u) + (u - x), _ = E + p, u = _ - E, $[2] = E - (_ - u) + (p - u), $[3] = _;
3102
- const pe = Tt(te, xi, 4, $, Mi);
3103
- return Mi[pe - 1];
3098
+ const pe = Pt(te, Si, 4, $, xi);
3099
+ return xi[pe - 1];
3104
3100
  }
3105
- function Hr(n, e, t, i, r, o) {
3101
+ function Zr(n, e, t, i, r, o) {
3106
3102
  const l = (e - o) * (t - r), s = (n - r) * (i - o), c = l - s, a = Math.abs(l + s);
3107
- return Math.abs(c) >= qr * a ? c : -Vr(n, e, t, i, r, o, a);
3103
+ return Math.abs(c) >= jr * a ? c : -Vr(n, e, t, i, r, o, a);
3108
3104
  }
3109
- const Qe = (n, e) => n.ll.x <= e.x && e.x <= n.ur.x && n.ll.y <= e.y && e.y <= n.ur.y, Dt = (n, e) => {
3105
+ const Qe = (n, e) => n.ll.x <= e.x && e.x <= n.ur.x && n.ll.y <= e.y && e.y <= n.ur.y, Ft = (n, e) => {
3110
3106
  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;
3111
3107
  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;
3112
3108
  return {
@@ -3122,18 +3118,18 @@ const Qe = (n, e) => n.ll.x <= e.x && e.x <= n.ur.x && n.ll.y <= e.y && e.y <= n
3122
3118
  };
3123
3119
  let Le = Number.EPSILON;
3124
3120
  Le === void 0 && (Le = Math.pow(2, -52));
3125
- const Yr = Le * Le, ki = (n, e) => {
3121
+ const Hr = Le * Le, Mi = (n, e) => {
3126
3122
  if (-Le < n && n < Le && -Le < e && e < Le)
3127
3123
  return 0;
3128
3124
  const t = n - e;
3129
- return t * t < Yr * n * e ? 0 : n < e ? -1 : 1;
3125
+ return t * t < Hr * n * e ? 0 : n < e ? -1 : 1;
3130
3126
  };
3131
- class Xr {
3127
+ class Yr {
3132
3128
  constructor() {
3133
3129
  this.reset();
3134
3130
  }
3135
3131
  reset() {
3136
- this.xRounder = new Ci(), this.yRounder = new Ci();
3132
+ this.xRounder = new ki(), this.yRounder = new ki();
3137
3133
  }
3138
3134
  round(e, t) {
3139
3135
  return {
@@ -3142,9 +3138,9 @@ class Xr {
3142
3138
  };
3143
3139
  }
3144
3140
  }
3145
- class Ci {
3141
+ class ki {
3146
3142
  constructor() {
3147
- this.tree = new qt(), this.round(0);
3143
+ this.tree = new jt(), this.round(0);
3148
3144
  }
3149
3145
  // Note: this can rounds input values backwards or forwards.
3150
3146
  // You might ask, why not restrict this to just rounding
@@ -3155,16 +3151,16 @@ class Ci {
3155
3151
  // angle for t-intersections).
3156
3152
  round(e) {
3157
3153
  const t = this.tree.add(e), i = this.tree.prev(t);
3158
- if (i !== null && ki(t.key, i.key) === 0)
3154
+ if (i !== null && Mi(t.key, i.key) === 0)
3159
3155
  return this.tree.remove(e), i.key;
3160
3156
  const r = this.tree.next(t);
3161
- return r !== null && ki(t.key, r.key) === 0 ? (this.tree.remove(e), r.key) : e;
3157
+ return r !== null && Mi(t.key, r.key) === 0 ? (this.tree.remove(e), r.key) : e;
3162
3158
  }
3163
3159
  }
3164
- const Xe = new Xr(), ft = (n, e) => n.x * e.y - n.y * e.x, Vi = (n, e) => n.x * e.x + n.y * e.y, Ni = (n, e, t) => {
3165
- const i = Hr(n.x, n.y, e.x, e.y, t.x, t.y);
3160
+ const Ye = new Yr(), ct = (n, e) => n.x * e.y - n.y * e.x, Vi = (n, e) => n.x * e.x + n.y * e.y, Ci = (n, e, t) => {
3161
+ const i = Zr(n.x, n.y, e.x, e.y, t.x, t.y);
3166
3162
  return i > 0 ? -1 : i < 0 ? 1 : 0;
3167
- }, mt = (n) => Math.sqrt(Vi(n, n)), Kr = (n, e, t) => {
3163
+ }, ht = (n) => Math.sqrt(Vi(n, n)), Xr = (n, e, t) => {
3168
3164
  const i = {
3169
3165
  x: e.x - n.x,
3170
3166
  y: e.y - n.y
@@ -3172,8 +3168,8 @@ const Xe = new Xr(), ft = (n, e) => n.x * e.y - n.y * e.x, Vi = (n, e) => n.x *
3172
3168
  x: t.x - n.x,
3173
3169
  y: t.y - n.y
3174
3170
  };
3175
- return ft(r, i) / mt(r) / mt(i);
3176
- }, Jr = (n, e, t) => {
3171
+ return ct(r, i) / ht(r) / ht(i);
3172
+ }, Kr = (n, e, t) => {
3177
3173
  const i = {
3178
3174
  x: e.x - n.x,
3179
3175
  y: e.y - n.y
@@ -3181,24 +3177,24 @@ const Xe = new Xr(), ft = (n, e) => n.x * e.y - n.y * e.x, Vi = (n, e) => n.x *
3181
3177
  x: t.x - n.x,
3182
3178
  y: t.y - n.y
3183
3179
  };
3184
- return Vi(r, i) / mt(r) / mt(i);
3185
- }, Pi = (n, e, t) => e.y === 0 ? null : {
3180
+ return Vi(r, i) / ht(r) / ht(i);
3181
+ }, Ni = (n, e, t) => e.y === 0 ? null : {
3186
3182
  x: n.x + e.x / e.y * (t - n.y),
3187
3183
  y: t
3188
- }, Ti = (n, e, t) => e.x === 0 ? null : {
3184
+ }, Pi = (n, e, t) => e.x === 0 ? null : {
3189
3185
  x: t,
3190
3186
  y: n.y + e.y / e.x * (t - n.x)
3191
- }, $r = (n, e, t, i) => {
3192
- if (e.x === 0) return Ti(t, i, n.x);
3193
- if (i.x === 0) return Ti(n, e, t.x);
3194
- if (e.y === 0) return Pi(t, i, n.y);
3195
- if (i.y === 0) return Pi(n, e, t.y);
3196
- const r = ft(e, i);
3187
+ }, Jr = (n, e, t, i) => {
3188
+ if (e.x === 0) return Pi(t, i, n.x);
3189
+ if (i.x === 0) return Pi(n, e, t.x);
3190
+ if (e.y === 0) return Ni(t, i, n.y);
3191
+ if (i.y === 0) return Ni(n, e, t.y);
3192
+ const r = ct(e, i);
3197
3193
  if (r == 0) return null;
3198
3194
  const o = {
3199
3195
  x: t.x - n.x,
3200
3196
  y: t.y - n.y
3201
- }, l = ft(o, e) / r, s = ft(o, i) / r, c = n.x + s * e.x, a = t.x + l * i.x, d = n.y + s * e.y, u = t.y + l * i.y, f = (c + a) / 2, h = (d + u) / 2;
3197
+ }, l = ct(o, e) / r, s = ct(o, i) / r, c = n.x + s * e.x, a = t.x + l * i.x, d = n.y + s * e.y, u = t.y + l * i.y, f = (c + a) / 2, h = (d + u) / 2;
3202
3198
  return {
3203
3199
  x: f,
3204
3200
  y: h
@@ -3263,8 +3259,8 @@ class le {
3263
3259
  const t = /* @__PURE__ */ new Map(), i = (r) => {
3264
3260
  const o = r.otherSE;
3265
3261
  t.set(r, {
3266
- sine: Kr(this.point, e.point, o.point),
3267
- cosine: Jr(this.point, e.point, o.point)
3262
+ sine: Xr(this.point, e.point, o.point),
3263
+ cosine: Kr(this.point, e.point, o.point)
3268
3264
  });
3269
3265
  };
3270
3266
  return (r, o) => {
@@ -3280,7 +3276,7 @@ class le {
3280
3276
  };
3281
3277
  }
3282
3278
  }
3283
- let eo = 0;
3279
+ let $r = 0;
3284
3280
  class Se {
3285
3281
  /* This compare() function is for ordering segments in the sweep
3286
3282
  * line tree, and does so according to the following criteria:
@@ -3338,7 +3334,7 @@ class Se {
3338
3334
  /* Warning: a reference to ringWindings input will be stored,
3339
3335
  * and possibly will be later modified */
3340
3336
  constructor(e, t, i, r) {
3341
- this.id = ++eo, this.leftSE = e, e.segment = this, e.otherSE = t, this.rightSE = t, t.segment = this, t.otherSE = e, this.rings = i, this.windings = r;
3337
+ this.id = ++$r, this.leftSE = e, e.segment = this, e.otherSE = t, this.rightSE = t, t.segment = this, t.otherSE = e, this.rings = i, this.windings = r;
3342
3338
  }
3343
3339
  static fromRing(e, t, i) {
3344
3340
  let r, o, l;
@@ -3417,7 +3413,7 @@ class Se {
3417
3413
  * Else, return null.
3418
3414
  */
3419
3415
  getIntersection(e) {
3420
- const t = this.bbox(), i = e.bbox(), r = Dt(t, i);
3416
+ const t = this.bbox(), i = e.bbox(), r = Ft(t, i);
3421
3417
  if (r === null) return null;
3422
3418
  const o = this.leftSE.point, l = this.rightSE.point, s = e.leftSE.point, c = e.rightSE.point, a = Qe(t, s) && this.comparePoint(s) === 0, d = Qe(i, o) && e.comparePoint(o) === 0, u = Qe(t, c) && this.comparePoint(c) === 0, f = Qe(i, l) && e.comparePoint(l) === 0;
3423
3419
  if (d && a)
@@ -3429,8 +3425,8 @@ class Se {
3429
3425
  if (f && u) return null;
3430
3426
  if (f) return l;
3431
3427
  if (u) return c;
3432
- const h = $r(o, this.vector(), s, e.vector());
3433
- return h === null || !Qe(r, h) ? null : Xe.round(h.x, h.y);
3428
+ const h = Jr(o, this.vector(), s, e.vector());
3429
+ return h === null || !Qe(r, h) ? null : Ye.round(h.x, h.y);
3434
3430
  }
3435
3431
  /**
3436
3432
  * Split the given segment into multiple segments on the given points.
@@ -3560,13 +3556,13 @@ class Se {
3560
3556
  return this._isInResult;
3561
3557
  }
3562
3558
  }
3563
- class Ri {
3559
+ class Ti {
3564
3560
  constructor(e, t, i) {
3565
3561
  if (!Array.isArray(e) || e.length === 0)
3566
3562
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
3567
3563
  if (this.poly = t, this.isExterior = i, this.segments = [], typeof e[0][0] != "number" || typeof e[0][1] != "number")
3568
3564
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
3569
- const r = Xe.round(e[0][0], e[0][1]);
3565
+ const r = Ye.round(e[0][0], e[0][1]);
3570
3566
  this.bbox = {
3571
3567
  ll: {
3572
3568
  x: r.x,
@@ -3581,7 +3577,7 @@ class Ri {
3581
3577
  for (let l = 1, s = e.length; l < s; l++) {
3582
3578
  if (typeof e[l][0] != "number" || typeof e[l][1] != "number")
3583
3579
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
3584
- let c = Xe.round(e[l][0], e[l][1]);
3580
+ let c = Ye.round(e[l][0], e[l][1]);
3585
3581
  c.x === o.x && c.y === o.y || (this.segments.push(Se.fromRing(o, c, this)), c.x < this.bbox.ll.x && (this.bbox.ll.x = c.x), c.y < this.bbox.ll.y && (this.bbox.ll.y = c.y), c.x > this.bbox.ur.x && (this.bbox.ur.x = c.x), c.y > this.bbox.ur.y && (this.bbox.ur.y = c.y), o = c);
3586
3582
  }
3587
3583
  (r.x !== o.x || r.y !== o.y) && this.segments.push(Se.fromRing(o, r, this));
@@ -3595,11 +3591,11 @@ class Ri {
3595
3591
  return e;
3596
3592
  }
3597
3593
  }
3598
- class to {
3594
+ class eo {
3599
3595
  constructor(e, t) {
3600
3596
  if (!Array.isArray(e))
3601
3597
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
3602
- this.exteriorRing = new Ri(e[0], this, !0), this.bbox = {
3598
+ this.exteriorRing = new Ti(e[0], this, !0), this.bbox = {
3603
3599
  ll: {
3604
3600
  x: this.exteriorRing.bbox.ll.x,
3605
3601
  y: this.exteriorRing.bbox.ll.y
@@ -3610,7 +3606,7 @@ class to {
3610
3606
  }
3611
3607
  }, this.interiorRings = [];
3612
3608
  for (let i = 1, r = e.length; i < r; i++) {
3613
- const o = new Ri(e[i], this, !1);
3609
+ const o = new Ti(e[i], this, !1);
3614
3610
  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.interiorRings.push(o);
3615
3611
  }
3616
3612
  this.multiPoly = t;
@@ -3625,7 +3621,7 @@ class to {
3625
3621
  return e;
3626
3622
  }
3627
3623
  }
3628
- class Ii {
3624
+ class Ri {
3629
3625
  constructor(e, t) {
3630
3626
  if (!Array.isArray(e))
3631
3627
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
@@ -3644,7 +3640,7 @@ class Ii {
3644
3640
  }
3645
3641
  };
3646
3642
  for (let i = 0, r = e.length; i < r; i++) {
3647
- const o = new to(e[i], this);
3643
+ const o = new eo(e[i], this);
3648
3644
  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);
3649
3645
  }
3650
3646
  this.isSubject = t;
@@ -3659,7 +3655,7 @@ class Ii {
3659
3655
  return e;
3660
3656
  }
3661
3657
  }
3662
- class gt {
3658
+ class mt {
3663
3659
  /* Given the segments from the sweep line pass, compute & return a series
3664
3660
  * of closed rings from all the segments marked to be part of the result */
3665
3661
  static factory(e) {
@@ -3688,7 +3684,7 @@ class gt {
3688
3684
  }
3689
3685
  if (h !== null) {
3690
3686
  const g = u.splice(h)[0], y = a.splice(g.index);
3691
- y.unshift(y[0].otherSE), t.push(new gt(y.reverse()));
3687
+ y.unshift(y[0].otherSE), t.push(new mt(y.reverse()));
3692
3688
  continue;
3693
3689
  }
3694
3690
  u.push({
@@ -3699,7 +3695,7 @@ class gt {
3699
3695
  c = f.sort(b)[0].otherSE;
3700
3696
  break;
3701
3697
  }
3702
- t.push(new gt(a));
3698
+ t.push(new mt(a));
3703
3699
  }
3704
3700
  return t;
3705
3701
  }
@@ -3714,11 +3710,11 @@ class gt {
3714
3710
  const t = [e];
3715
3711
  for (let a = 1, d = this.events.length - 1; a < d; a++) {
3716
3712
  const u = this.events[a].point, f = this.events[a + 1].point;
3717
- Ni(u, e, f) !== 0 && (t.push(u), e = u);
3713
+ Ci(u, e, f) !== 0 && (t.push(u), e = u);
3718
3714
  }
3719
3715
  if (t.length === 1) return null;
3720
3716
  const i = t[0], r = t[1];
3721
- Ni(i, e, r) === 0 && t.shift(), t.push(t[0]);
3717
+ Ci(i, e, r) === 0 && t.shift(), t.push(t[0]);
3722
3718
  const o = this.isExteriorRing() ? 1 : -1, l = this.isExteriorRing() ? 0 : t.length - 1, s = this.isExteriorRing() ? t.length : -1, c = [];
3723
3719
  for (let a = l; a != s; a += o) c.push([t[a].x, t[a].y]);
3724
3720
  return c;
@@ -3750,7 +3746,7 @@ class gt {
3750
3746
  }
3751
3747
  }
3752
3748
  }
3753
- class Oi {
3749
+ class Ii {
3754
3750
  constructor(e) {
3755
3751
  this.exteriorRing = e, e.poly = this, this.interiorRings = [];
3756
3752
  }
@@ -3767,7 +3763,7 @@ class Oi {
3767
3763
  return e;
3768
3764
  }
3769
3765
  }
3770
- class io {
3766
+ class to {
3771
3767
  constructor(e) {
3772
3768
  this.rings = e, this.polys = this._composePolys(e);
3773
3769
  }
@@ -3784,19 +3780,19 @@ class io {
3784
3780
  for (let i = 0, r = e.length; i < r; i++) {
3785
3781
  const o = e[i];
3786
3782
  if (!o.poly)
3787
- if (o.isExteriorRing()) t.push(new Oi(o));
3783
+ if (o.isExteriorRing()) t.push(new Ii(o));
3788
3784
  else {
3789
3785
  const l = o.enclosingRing();
3790
- l.poly || t.push(new Oi(l)), l.poly.addInterior(o);
3786
+ l.poly || t.push(new Ii(l)), l.poly.addInterior(o);
3791
3787
  }
3792
3788
  }
3793
3789
  return t;
3794
3790
  }
3795
3791
  }
3796
- class no {
3792
+ class io {
3797
3793
  constructor(e) {
3798
3794
  let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Se.compare;
3799
- this.queue = e, this.tree = new qt(t), this.segments = [];
3795
+ this.queue = e, this.tree = new jt(t), this.segments = [];
3800
3796
  }
3801
3797
  process(e) {
3802
3798
  const t = e.segment, i = [];
@@ -3866,33 +3862,33 @@ class no {
3866
3862
  return r.push(i), e.consumedBy === void 0 && this.tree.add(e), r;
3867
3863
  }
3868
3864
  }
3869
- const Wi = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, ro = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6;
3870
- class oo {
3865
+ const Oi = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, no = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6;
3866
+ class ro {
3871
3867
  run(e, t, i) {
3872
- ue.type = e, Xe.reset();
3873
- const r = [new Ii(t, !0)];
3868
+ ue.type = e, Ye.reset();
3869
+ const r = [new Ri(t, !0)];
3874
3870
  for (let u = 0, f = i.length; u < f; u++)
3875
- r.push(new Ii(i[u], !1));
3871
+ r.push(new Ri(i[u], !1));
3876
3872
  if (ue.numMultiPolys = r.length, ue.type === "difference") {
3877
3873
  const u = r[0];
3878
3874
  let f = 1;
3879
3875
  for (; f < r.length; )
3880
- Dt(r[f].bbox, u.bbox) !== null ? f++ : r.splice(f, 1);
3876
+ Ft(r[f].bbox, u.bbox) !== null ? f++ : r.splice(f, 1);
3881
3877
  }
3882
3878
  if (ue.type === "intersection")
3883
3879
  for (let u = 0, f = r.length; u < f; u++) {
3884
3880
  const h = r[u];
3885
3881
  for (let b = u + 1, g = r.length; b < g; b++)
3886
- if (Dt(h.bbox, r[b].bbox) === null) return [];
3882
+ if (Ft(h.bbox, r[b].bbox) === null) return [];
3887
3883
  }
3888
- const o = new qt(le.compare);
3884
+ const o = new jt(le.compare);
3889
3885
  for (let u = 0, f = r.length; u < f; u++) {
3890
3886
  const h = r[u].getSweepEvents();
3891
3887
  for (let b = 0, g = h.length; b < g; b++)
3892
- if (o.insert(h[b]), o.size > Wi)
3888
+ if (o.insert(h[b]), o.size > Oi)
3893
3889
  throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big).");
3894
3890
  }
3895
- const l = new no(o);
3891
+ const l = new io(o);
3896
3892
  let s = o.size, c = o.pop();
3897
3893
  for (; c; ) {
3898
3894
  const u = c.key;
@@ -3900,9 +3896,9 @@ class oo {
3900
3896
  const h = u.segment;
3901
3897
  throw new Error(`Unable to pop() ${u.isLeft ? "left" : "right"} SweepEvent [${u.point.x}, ${u.point.y}] from segment #${h.id} [${h.leftSE.point.x}, ${h.leftSE.point.y}] -> [${h.rightSE.point.x}, ${h.rightSE.point.y}] from queue.`);
3902
3898
  }
3903
- if (o.size > Wi)
3899
+ if (o.size > Oi)
3904
3900
  throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big).");
3905
- if (l.segments.length > ro)
3901
+ if (l.segments.length > no)
3906
3902
  throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments).");
3907
3903
  const f = l.process(u);
3908
3904
  for (let h = 0, b = f.length; h < b; h++) {
@@ -3911,67 +3907,67 @@ class oo {
3911
3907
  }
3912
3908
  s = o.size, c = o.pop();
3913
3909
  }
3914
- Xe.reset();
3915
- const a = gt.factory(l.segments);
3916
- return new io(a).getGeom();
3910
+ Ye.reset();
3911
+ const a = mt.factory(l.segments);
3912
+ return new to(a).getGeom();
3917
3913
  }
3918
3914
  }
3919
- const ue = new oo(), so = function(n) {
3915
+ const ue = new ro(), oo = function(n) {
3920
3916
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3921
3917
  t[i - 1] = arguments[i];
3922
3918
  return ue.run("union", n, t);
3923
- }, lo = function(n) {
3919
+ }, so = function(n) {
3924
3920
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3925
3921
  t[i - 1] = arguments[i];
3926
3922
  return ue.run("intersection", n, t);
3927
- }, uo = function(n) {
3923
+ }, lo = function(n) {
3928
3924
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3929
3925
  t[i - 1] = arguments[i];
3930
3926
  return ue.run("xor", n, t);
3931
- }, ao = function(n) {
3927
+ }, uo = function(n) {
3932
3928
  for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
3933
3929
  t[i - 1] = arguments[i];
3934
3930
  return ue.run("difference", n, t);
3935
3931
  };
3936
- var Hi = {
3937
- union: so,
3938
- intersection: lo,
3939
- xor: uo,
3940
- difference: ao
3932
+ var Zi = {
3933
+ union: oo,
3934
+ intersection: so,
3935
+ xor: lo,
3936
+ difference: uo
3941
3937
  };
3942
- function co(n) {
3938
+ function ao(n) {
3943
3939
  const e = [];
3944
- if (jt(n, (r) => {
3940
+ if (Gt(n, (r) => {
3945
3941
  e.push(r.coordinates);
3946
3942
  }), e.length < 2)
3947
3943
  throw new Error("Must have at least two features");
3948
- const t = n.features[0].properties || {}, i = Hi.difference(e[0], ...e.slice(1));
3949
- return i.length === 0 ? null : i.length === 1 ? Gt(i[0], t) : Zi(i, t);
3944
+ const t = n.features[0].properties || {}, i = Zi.difference(e[0], ...e.slice(1));
3945
+ return i.length === 0 ? null : i.length === 1 ? Ut(i[0], t) : qi(i, t);
3950
3946
  }
3951
- var fo = co;
3952
- function ho(n) {
3947
+ var co = ao;
3948
+ function fo(n) {
3953
3949
  if (!n)
3954
3950
  throw new Error("geojson is required");
3955
3951
  var e = [];
3956
- return Or(n, function(t) {
3952
+ return Ir(n, function(t) {
3957
3953
  e.push(t);
3958
- }), Wt(e);
3954
+ }), Ot(e);
3959
3955
  }
3960
- var mo = ho;
3961
- function go(n, e = {}) {
3956
+ var ho = fo;
3957
+ function mo(n, e = {}) {
3962
3958
  const t = [];
3963
- if (jt(n, (r) => {
3959
+ if (Gt(n, (r) => {
3964
3960
  t.push(r.coordinates);
3965
3961
  }), t.length < 2)
3966
3962
  throw new Error("Must have at least 2 geometries");
3967
- const i = Hi.union(t[0], ...t.slice(1));
3968
- return i.length === 0 ? null : i.length === 1 ? Gt(i[0], e.properties) : Zi(i, e.properties);
3969
- }
3970
- var yo = go;
3971
- function Ai(n, e) {
3972
- const t = fo(
3973
- Wt([
3974
- Gt([
3963
+ const i = Zi.union(t[0], ...t.slice(1));
3964
+ return i.length === 0 ? null : i.length === 1 ? Ut(i[0], e.properties) : qi(i, e.properties);
3965
+ }
3966
+ var go = mo;
3967
+ function Wi(n, e) {
3968
+ const t = co(
3969
+ Ot([
3970
+ Ut([
3975
3971
  [
3976
3972
  [180, 90],
3977
3973
  [-180, 90],
@@ -3986,10 +3982,10 @@ function Ai(n, e) {
3986
3982
  if (!t)
3987
3983
  return;
3988
3984
  t.properties = { isMask: !0 };
3989
- const i = dt(Ei(n)), r = (i[2] - i[0]) / 360 / 1e3, o = i[0] < -180, l = i[2] > 180, s = mo(n);
3985
+ const i = ft(_i(n)), r = (i[2] - i[0]) / 360 / 1e3, o = i[0] < -180, l = i[2] > 180, s = ho(n);
3990
3986
  if (s.features.length > 1 && (o || l))
3991
3987
  for (const c of s.features) {
3992
- const a = dt(Ei(c));
3988
+ const a = ft(_i(c));
3993
3989
  if (l && a[0] < -180 + r)
3994
3990
  for (const d of c.geometry.coordinates)
3995
3991
  for (const u of d)
@@ -4000,36 +3996,36 @@ function Ai(n, e) {
4000
3996
  u[0] -= 360 - r;
4001
3997
  }
4002
3998
  e(
4003
- Wt([
4004
- s.features.length < 2 ? n : yo(s) ?? n,
3999
+ Ot([
4000
+ s.features.length < 2 ? n : go(s) ?? n,
4005
4001
  t
4006
4002
  ])
4007
4003
  );
4008
4004
  }
4009
- const zi = "EPSG:4326";
4010
- function po(n) {
4005
+ const Ai = "EPSG:4326";
4006
+ function yo(n) {
4011
4007
  var o;
4012
4008
  const e = n.getProperties(), { isMask: t } = e, i = (o = n.getGeometry()) == null ? void 0 : o.getType(), r = t ? 0 : i === "LineString" || i === "MultiLineString" ? 3 : 2;
4013
- return new kn({
4014
- stroke: t ? void 0 : new ni({
4009
+ return new Mn({
4010
+ stroke: t ? void 0 : new ii({
4015
4011
  color: "#3170fe",
4016
4012
  lineDash: [r, r],
4017
4013
  width: r,
4018
4014
  lineCap: "butt"
4019
4015
  }),
4020
- fill: t ? new ii({
4016
+ fill: t ? new ti({
4021
4017
  color: "#00000020"
4022
4018
  }) : void 0,
4023
- image: new Mn({
4019
+ image: new xn({
4024
4020
  src: `/icons/marker_${e.isReverse ? "reverse" : e.isSelected ? "selected" : "unselected"}.svg`,
4025
4021
  anchor: [0.5, 1]
4026
4022
  }),
4027
4023
  zIndex: e.isSelected ? 2 : e.isReverse ? 0 : 1,
4028
- text: e.isSelected && e.tooltip ? new Cn({
4029
- backgroundFill: new ii({ color: "white" }),
4024
+ text: e.isSelected && e.tooltip ? new kn({
4025
+ backgroundFill: new ti({ color: "white" }),
4030
4026
  text: e.tooltip,
4031
4027
  offsetY: -40,
4032
- backgroundStroke: new ni({
4028
+ backgroundStroke: new ii({
4033
4029
  color: "white",
4034
4030
  lineJoin: "round",
4035
4031
  width: 3
@@ -4038,13 +4034,13 @@ function po(n) {
4038
4034
  }) : void 0
4039
4035
  });
4040
4036
  }
4041
- function vo(n, e = {}, t = {}, i = po, r = !1) {
4037
+ function po(n, e = {}, t = {}, i = yo, r = !1) {
4042
4038
  let o = -1, l, s, c, a = !1;
4043
- const d = new En({
4039
+ const d = new _n({
4044
4040
  updateWhileAnimating: !0
4045
4041
  });
4046
4042
  n.addLayer(d);
4047
- const u = new xn({});
4043
+ const u = new Sn({});
4048
4044
  d.setSource(u), d.setStyle(i), n.on("click", (g) => {
4049
4045
  n.forEachFeatureAtPixel(g.pixel, (y) => {
4050
4046
  const p = y.getId();
@@ -4062,15 +4058,15 @@ function vo(n, e = {}, t = {}, i = po, r = !1) {
4062
4058
  })), n.getTargetElement().style.cursor = y ? "pointer" : a ? "crosshair" : "", l = y);
4063
4059
  });
4064
4060
  function f() {
4065
- return Ln() ?? n.getView().getProjection();
4061
+ return En() ?? n.getView().getProjection();
4066
4062
  }
4067
4063
  function h(g) {
4068
- return g.transform(zi, f());
4064
+ return g.transform(Ai, f());
4069
4065
  }
4070
4066
  const b = (g) => {
4071
4067
  s == null || s({
4072
4068
  type: "mapClick",
4073
- coordinates: ti(g.coordinate, f())
4069
+ coordinates: ei(g.coordinate, f())
4074
4070
  });
4075
4071
  };
4076
4072
  return {
@@ -4079,14 +4075,14 @@ function vo(n, e = {}, t = {}, i = po, r = !1) {
4079
4075
  },
4080
4076
  flyTo(g, y) {
4081
4077
  n.getView().animate({
4082
- center: st(g, f()),
4078
+ center: ot(g, f()),
4083
4079
  ...y ? { zoom: y } : {},
4084
4080
  duration: 2e3,
4085
4081
  ...e
4086
4082
  });
4087
4083
  },
4088
4084
  fitBounds(g, y, p) {
4089
- n.getView().fit(Sn(g, zi, f()), {
4085
+ n.getView().fit(Ln(g, Ai, f()), {
4090
4086
  padding: [y, y, y, y],
4091
4087
  ...p ? { maxZoom: p } : {},
4092
4088
  duration: 2e3,
@@ -4098,9 +4094,9 @@ function vo(n, e = {}, t = {}, i = po, r = !1) {
4098
4094
  },
4099
4095
  setReverseMarker(g) {
4100
4096
  c ? g ? c.getGeometry().setCoordinates(
4101
- st(g, f())
4097
+ ot(g, f())
4102
4098
  ) : (u.removeFeature(c), c.dispose(), c = void 0) : g && (c = new fe(
4103
- new Ct(st(g, f()))
4099
+ new kt(ot(g, f()))
4104
4100
  ), c.setProperties({ isReverse: !0 }), u.addFeature(c));
4105
4101
  },
4106
4102
  setMarkers(g, y) {
@@ -4108,7 +4104,7 @@ function vo(n, e = {}, t = {}, i = po, r = !1) {
4108
4104
  var S;
4109
4105
  if (E)
4110
4106
  for (const w of E.features) {
4111
- const k = w.geometry.type === "Polygon" ? new Kt(w.geometry.coordinates) : w.geometry.type === "MultiPolygon" ? new Jt(w.geometry.coordinates) : null;
4107
+ const k = w.geometry.type === "Polygon" ? new Xt(w.geometry.coordinates) : w.geometry.type === "MultiPolygon" ? new Kt(w.geometry.coordinates) : null;
4112
4108
  k && u.addFeature(
4113
4109
  new fe({
4114
4110
  isMask: !!((S = w.properties) != null && S.isMask),
@@ -4121,40 +4117,40 @@ function vo(n, e = {}, t = {}, i = po, r = !1) {
4121
4117
  let E = !1;
4122
4118
  if (y.geometry.type === "GeometryCollection") {
4123
4119
  const S = y.geometry.geometries.map(
4124
- (w) => w.type === "Polygon" ? new Kt(w.coordinates) : w.type === "MultiPolygon" ? new Jt(w.coordinates) : null
4120
+ (w) => w.type === "Polygon" ? new Xt(w.coordinates) : w.type === "MultiPolygon" ? new Kt(w.coordinates) : null
4125
4121
  ).filter((w) => !!w);
4126
4122
  if (S.length > 0)
4127
4123
  u.addFeature(
4128
- new fe(h(new _n(S)))
4124
+ new fe(h(new wn(S)))
4129
4125
  ), E = !0;
4130
4126
  else
4131
4127
  for (const w of y.geometry.geometries)
4132
4128
  w.type === "LineString" ? (u.addFeature(
4133
4129
  new fe(
4134
- h(new $t(w.coordinates))
4130
+ h(new Jt(w.coordinates))
4135
4131
  )
4136
4132
  ), E = !0) : w.type === "MultiLineString" && u.addFeature(
4137
4133
  new fe(
4138
- h(new ei(w.coordinates))
4134
+ h(new $t(w.coordinates))
4139
4135
  )
4140
4136
  ), E = !0;
4141
4137
  }
4142
4138
  if (!E) {
4143
4139
  if (y.geometry.type === "Polygon")
4144
- Ai(y, p);
4140
+ Wi(y, p);
4145
4141
  else if (y.geometry.type === "MultiPolygon")
4146
- Ai(y, p);
4142
+ Wi(y, p);
4147
4143
  else if (y.geometry.type === "LineString") {
4148
4144
  u.addFeature(
4149
4145
  new fe(
4150
- h(new $t(y.geometry.coordinates))
4146
+ h(new Jt(y.geometry.coordinates))
4151
4147
  )
4152
4148
  );
4153
4149
  return;
4154
4150
  } else if (y.geometry.type === "MultiLineString") {
4155
4151
  u.addFeature(
4156
4152
  new fe(
4157
- h(new ei(y.geometry.coordinates))
4153
+ h(new $t(y.geometry.coordinates))
4158
4154
  )
4159
4155
  );
4160
4156
  return;
@@ -4162,13 +4158,13 @@ function vo(n, e = {}, t = {}, i = po, r = !1) {
4162
4158
  }
4163
4159
  if (!r && y.geometry.type !== "Point")
4164
4160
  return;
4165
- u.addFeature(new fe(h(new Ct(y.center))));
4161
+ u.addFeature(new fe(h(new kt(y.center))));
4166
4162
  }
4167
4163
  for (const E of g ?? []) {
4168
4164
  if (E === y)
4169
4165
  continue;
4170
4166
  const S = new fe(
4171
- new Ct(st(E.center, f()))
4167
+ new kt(ot(E.center, f()))
4172
4168
  );
4173
4169
  S.setId(E.id), S.setProperties({
4174
4170
  fuzzy: !!E.matching_text,
@@ -4188,12 +4184,12 @@ function vo(n, e = {}, t = {}, i = po, r = !1) {
4188
4184
  getCenterAndZoom() {
4189
4185
  const g = n.getView(), y = g.getCenter(), p = g.getZoom();
4190
4186
  if (!(!y || p === void 0))
4191
- return [p, ...ti(y, f())];
4187
+ return [p, ...ei(y, f())];
4192
4188
  }
4193
4189
  };
4194
4190
  }
4195
4191
  var H, _e;
4196
- class Uo extends wn {
4192
+ class Do extends bn {
4197
4193
  constructor(t) {
4198
4194
  const i = document.createElement("div");
4199
4195
  i.className = "ol-search";
@@ -4201,36 +4197,36 @@ class Uo extends wn {
4201
4197
  element: i,
4202
4198
  target: t.target
4203
4199
  });
4204
- kt(this, H);
4205
- kt(this, _e);
4200
+ Mt(this, H);
4201
+ Mt(this, _e);
4206
4202
  const { flyTo: r, fullGeometryStyle: o, ...l } = t;
4207
- ot(this, H, new Ir({
4203
+ rt(this, H, new Rr({
4208
4204
  target: i,
4209
4205
  props: {
4210
4206
  flyTo: r === void 0 ? !0 : !!r,
4211
4207
  ...l
4212
4208
  }
4213
- })), V(this, H).$on("select", (s) => {
4214
- this.dispatchEvent(new bo(s.detail.feature));
4215
- }), V(this, H).$on("pick", (s) => {
4216
- this.dispatchEvent(new Lo(s.detail.feature));
4217
- }), V(this, H).$on("featureslisted", (s) => {
4209
+ })), Z(this, H).$on("select", (s) => {
4210
+ this.dispatchEvent(new vo(s.detail.feature));
4211
+ }), Z(this, H).$on("pick", (s) => {
4212
+ this.dispatchEvent(new Eo(s.detail.feature));
4213
+ }), Z(this, H).$on("featureslisted", (s) => {
4214
+ this.dispatchEvent(new bo(s.detail.features));
4215
+ }), Z(this, H).$on("featuresmarked", (s) => {
4218
4216
  this.dispatchEvent(new wo(s.detail.features));
4219
- }), V(this, H).$on("featuresmarked", (s) => {
4220
- this.dispatchEvent(new _o(s.detail.features));
4221
- }), V(this, H).$on("response", (s) => {
4217
+ }), Z(this, H).$on("response", (s) => {
4222
4218
  this.dispatchEvent(
4223
- new xo(s.detail.url, s.detail.featureCollection)
4219
+ new So(s.detail.url, s.detail.featureCollection)
4224
4220
  );
4225
- }), V(this, H).$on("optionsvisibilitychange", (s) => {
4221
+ }), Z(this, H).$on("optionsvisibilitychange", (s) => {
4226
4222
  this.dispatchEvent(
4227
- new Eo(s.detail.optionsVisible)
4223
+ new _o(s.detail.optionsVisible)
4228
4224
  );
4229
- }), V(this, H).$on("reversetoggle", (s) => {
4230
- this.dispatchEvent(new Mo(s.detail.reverse));
4231
- }), V(this, H).$on("querychange", (s) => {
4232
- this.dispatchEvent(new So(s.detail.query));
4233
- }), ot(this, _e, t);
4225
+ }), Z(this, H).$on("reversetoggle", (s) => {
4226
+ this.dispatchEvent(new xo(s.detail.reverse));
4227
+ }), Z(this, H).$on("querychange", (s) => {
4228
+ this.dispatchEvent(new Lo(s.detail.query));
4229
+ }), rt(this, _e, t);
4234
4230
  }
4235
4231
  setMap(t) {
4236
4232
  var i;
@@ -4240,95 +4236,95 @@ class Uo extends wn {
4240
4236
  // showResultMarkers,
4241
4237
  flyTo: r,
4242
4238
  fullGeometryStyle: o
4243
- } = V(this, _e), l = vo(
4239
+ } = Z(this, _e), l = po(
4244
4240
  t,
4245
4241
  typeof r == "boolean" ? void 0 : r,
4246
4242
  typeof r == "boolean" ? void 0 : r,
4247
4243
  // marker,
4248
4244
  // showResultMarkers,
4249
4245
  o,
4250
- V(this, _e).showFullGeometry === "polygon-with-marker"
4246
+ Z(this, _e).pickedResultStyle === "full-geometry-including-polygon-center-marker"
4251
4247
  );
4252
- (i = V(this, H)) == null || i.$set({ mapController: l });
4248
+ (i = Z(this, H)) == null || i.$set({ mapController: l });
4253
4249
  }
4254
4250
  }
4255
4251
  setOptions(t) {
4256
4252
  var l;
4257
- ot(this, _e, t);
4258
- const { flyTo: i, fullGeometryStyle: r, ...o } = V(this, _e);
4259
- (l = V(this, H)) == null || l.$set({
4253
+ rt(this, _e, t);
4254
+ const { flyTo: i, fullGeometryStyle: r, ...o } = Z(this, _e);
4255
+ (l = Z(this, H)) == null || l.$set({
4260
4256
  ...o,
4261
4257
  flyTo: i === void 0 ? !0 : !!i
4262
4258
  });
4263
4259
  }
4264
4260
  setQuery(t, i = !0) {
4265
4261
  var r;
4266
- (r = V(this, H)) == null || r.setQuery(t, i);
4262
+ (r = Z(this, H)) == null || r.setQuery(t, i);
4267
4263
  }
4268
4264
  clearMap() {
4269
4265
  var t;
4270
- (t = V(this, H)) == null || t.clearMap();
4266
+ (t = Z(this, H)) == null || t.clearMap();
4271
4267
  }
4272
4268
  clearList() {
4273
4269
  var t;
4274
- (t = V(this, H)) == null || t.clearList();
4270
+ (t = Z(this, H)) == null || t.clearList();
4275
4271
  }
4276
4272
  focus() {
4277
4273
  var t;
4278
- (t = V(this, H)) == null || t.focus();
4274
+ (t = Z(this, H)) == null || t.focus();
4279
4275
  }
4280
4276
  blur() {
4281
4277
  var t;
4282
- (t = V(this, H)) == null || t.blur();
4278
+ (t = Z(this, H)) == null || t.blur();
4283
4279
  }
4284
4280
  // onRemove() {
4285
4281
  // this.#gc?.$destroy();
4286
4282
  // }
4287
4283
  }
4288
4284
  H = new WeakMap(), _e = new WeakMap();
4289
- class bo extends Ce {
4285
+ class vo extends Ce {
4290
4286
  constructor(t) {
4291
4287
  super("select");
4292
4288
  se(this, "feature");
4293
4289
  this.feature = t;
4294
4290
  }
4295
4291
  }
4296
- class wo extends Ce {
4292
+ class bo extends Ce {
4297
4293
  constructor(t) {
4298
4294
  super("featureslisted");
4299
4295
  se(this, "features");
4300
4296
  this.features = t;
4301
4297
  }
4302
4298
  }
4303
- class _o extends Ce {
4299
+ class wo extends Ce {
4304
4300
  constructor(t) {
4305
4301
  super("featuresmarked");
4306
4302
  se(this, "features");
4307
4303
  this.features = t;
4308
4304
  }
4309
4305
  }
4310
- class Eo extends Ce {
4306
+ class _o extends Ce {
4311
4307
  constructor(t) {
4312
4308
  super("optionsvisibilitychange");
4313
4309
  se(this, "optionsVisible");
4314
4310
  this.optionsVisible = t;
4315
4311
  }
4316
4312
  }
4317
- class Lo extends Ce {
4313
+ class Eo extends Ce {
4318
4314
  constructor(t) {
4319
4315
  super("pick");
4320
4316
  se(this, "feature");
4321
4317
  this.feature = t;
4322
4318
  }
4323
4319
  }
4324
- class So extends Ce {
4320
+ class Lo extends Ce {
4325
4321
  constructor(t) {
4326
4322
  super("querychange");
4327
4323
  se(this, "query");
4328
4324
  this.query = t;
4329
4325
  }
4330
4326
  }
4331
- class xo extends Ce {
4327
+ class So extends Ce {
4332
4328
  constructor(t, i) {
4333
4329
  super("response");
4334
4330
  se(this, "url");
@@ -4336,7 +4332,7 @@ class xo extends Ce {
4336
4332
  this.url = t, this.featureCollection = i;
4337
4333
  }
4338
4334
  }
4339
- class Mo extends Ce {
4335
+ class xo extends Ce {
4340
4336
  constructor(t) {
4341
4337
  super("reversetoggle");
4342
4338
  se(this, "reverse");
@@ -4344,15 +4340,15 @@ class Mo extends Ce {
4344
4340
  }
4345
4341
  }
4346
4342
  export {
4347
- wo as FeaturesListedEvent,
4348
- _o as FeaturesMarkedEvent,
4349
- Uo as GeocodingControl,
4350
- Eo as OptionsVisibilityChangeEvent,
4351
- Lo as PickEvent,
4352
- So as QueryChangeEvent,
4353
- xo as ResponseEvent,
4354
- Mo as ReverseToggleEvent,
4355
- bo as SelectEvent,
4356
- vo as createOpenLayersMapController
4343
+ bo as FeaturesListedEvent,
4344
+ wo as FeaturesMarkedEvent,
4345
+ Do as GeocodingControl,
4346
+ _o as OptionsVisibilityChangeEvent,
4347
+ Eo as PickEvent,
4348
+ Lo as QueryChangeEvent,
4349
+ So as ResponseEvent,
4350
+ xo as ReverseToggleEvent,
4351
+ vo as SelectEvent,
4352
+ po as createOpenLayersMapController
4357
4353
  };
4358
4354
  //# sourceMappingURL=openlayers.js.map