@maptiler/geocoding-control 0.0.91-git.9f388b → 0.0.91

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/react.js CHANGED
@@ -1,176 +1,176 @@
1
- import { forwardRef as Nt, useRef as Ye, useEffect as Ue, useImperativeHandle as jt, createElement as Ft } from "react";
2
- function P() {
1
+ import { forwardRef as jt, useRef as Ye, useEffect as Ue, useImperativeHandle as Ft, createElement as Gt } from "react";
2
+ function B() {
3
3
  }
4
- function Gt(t, e) {
5
- for (const n in e)
6
- t[n] = e[n];
7
- return t;
4
+ function Ot(n, e) {
5
+ for (const t in e)
6
+ n[t] = e[t];
7
+ return n;
8
8
  }
9
- function at(t) {
10
- return t();
9
+ function at(n) {
10
+ return n();
11
11
  }
12
12
  function xe() {
13
13
  return /* @__PURE__ */ Object.create(null);
14
14
  }
15
- function ee(t) {
16
- t.forEach(at);
15
+ function ee(n) {
16
+ n.forEach(at);
17
17
  }
18
- function dt(t) {
19
- return typeof t == "function";
18
+ function dt(n) {
19
+ return typeof n == "function";
20
20
  }
21
- function he(t, e) {
22
- return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
21
+ function he(n, e) {
22
+ return n != n ? e == e : n !== e || n && typeof n == "object" || typeof n == "function";
23
23
  }
24
- let Be;
25
- function le(t, e) {
26
- return Be || (Be = document.createElement("a")), Be.href = e, t === Be.href;
24
+ let Se;
25
+ function le(n, e) {
26
+ return Se || (Se = document.createElement("a")), Se.href = e, n === Se.href;
27
27
  }
28
- function Ot(t) {
29
- return Object.keys(t).length === 0;
28
+ function Zt(n) {
29
+ return Object.keys(n).length === 0;
30
30
  }
31
- function Zt(t, e, n, r) {
32
- if (t) {
33
- const l = ht(t, e, n, r);
34
- return t[0](l);
31
+ function Ut(n, e, t, r) {
32
+ if (n) {
33
+ const l = ht(n, e, t, r);
34
+ return n[0](l);
35
35
  }
36
36
  }
37
- function ht(t, e, n, r) {
38
- return t[1] && r ? Gt(n.ctx.slice(), t[1](r(e))) : n.ctx;
37
+ function ht(n, e, t, r) {
38
+ return n[1] && r ? Ot(t.ctx.slice(), n[1](r(e))) : t.ctx;
39
39
  }
40
- function Ut(t, e, n, r) {
41
- if (t[2] && r) {
42
- const l = t[2](r(n));
40
+ function qt(n, e, t, r) {
41
+ if (n[2] && r) {
42
+ const l = n[2](r(t));
43
43
  if (e.dirty === void 0)
44
44
  return l;
45
45
  if (typeof l == "object") {
46
46
  const a = [], s = Math.max(e.dirty.length, l.length);
47
- for (let c = 0; c < s; c += 1)
48
- a[c] = e.dirty[c] | l[c];
47
+ for (let f = 0; f < s; f += 1)
48
+ a[f] = e.dirty[f] | l[f];
49
49
  return a;
50
50
  }
51
51
  return e.dirty | l;
52
52
  }
53
53
  return e.dirty;
54
54
  }
55
- function qt(t, e, n, r, l, a) {
55
+ function Dt(n, e, t, r, l, a) {
56
56
  if (l) {
57
- const s = ht(e, n, r, a);
58
- t.p(s, l);
57
+ const s = ht(e, t, r, a);
58
+ n.p(s, l);
59
59
  }
60
60
  }
61
- function Dt(t) {
62
- if (t.ctx.length > 32) {
63
- const e = [], n = t.ctx.length / 32;
64
- for (let r = 0; r < n; r++)
61
+ function Kt(n) {
62
+ if (n.ctx.length > 32) {
63
+ const e = [], t = n.ctx.length / 32;
64
+ for (let r = 0; r < t; r++)
65
65
  e[r] = -1;
66
66
  return e;
67
67
  }
68
68
  return -1;
69
69
  }
70
- function $e(t) {
71
- return t ?? "";
70
+ function $e(n) {
71
+ return n ?? "";
72
72
  }
73
- function v(t, e) {
74
- t.appendChild(e);
73
+ function v(n, e) {
74
+ n.appendChild(e);
75
75
  }
76
- function A(t, e, n) {
77
- t.insertBefore(e, n || null);
76
+ function W(n, e, t) {
77
+ n.insertBefore(e, t || null);
78
78
  }
79
- function S(t) {
80
- t.parentNode && t.parentNode.removeChild(t);
79
+ function P(n) {
80
+ n.parentNode && n.parentNode.removeChild(n);
81
81
  }
82
- function C(t) {
83
- return document.createElement(t);
82
+ function I(n) {
83
+ return document.createElement(n);
84
84
  }
85
- function ie(t) {
86
- return document.createElementNS("http://www.w3.org/2000/svg", t);
85
+ function ie(n) {
86
+ return document.createElementNS("http://www.w3.org/2000/svg", n);
87
87
  }
88
- function se(t) {
89
- return document.createTextNode(t);
88
+ function se(n) {
89
+ return document.createTextNode(n);
90
90
  }
91
91
  function V() {
92
92
  return se(" ");
93
93
  }
94
- function Kt() {
94
+ function Vt() {
95
95
  return se("");
96
96
  }
97
- function D(t, e, n, r) {
98
- return t.addEventListener(e, n, r), () => t.removeEventListener(e, n, r);
97
+ function D(n, e, t, r) {
98
+ return n.addEventListener(e, t, r), () => n.removeEventListener(e, t, r);
99
99
  }
100
- function Vt(t) {
100
+ function Ht(n) {
101
101
  return function(e) {
102
- return e.preventDefault(), t.call(this, e);
102
+ return e.preventDefault(), n.call(this, e);
103
103
  };
104
104
  }
105
- function o(t, e, n) {
106
- n == null ? t.removeAttribute(e) : t.getAttribute(e) !== n && t.setAttribute(e, n);
105
+ function o(n, e, t) {
106
+ t == null ? n.removeAttribute(e) : n.getAttribute(e) !== t && n.setAttribute(e, t);
107
107
  }
108
- function Ht(t) {
109
- return Array.from(t.childNodes);
108
+ function Qt(n) {
109
+ return Array.from(n.childNodes);
110
110
  }
111
- function Me(t, e) {
112
- e = "" + e, t.data !== e && (t.data = e);
111
+ function Me(n, e) {
112
+ e = "" + e, n.data !== e && (n.data = e);
113
113
  }
114
- function et(t, e) {
115
- t.value = e ?? "";
114
+ function et(n, e) {
115
+ n.value = e ?? "";
116
116
  }
117
- function re(t, e, n) {
118
- t.classList[n ? "add" : "remove"](e);
117
+ function re(n, e, t) {
118
+ n.classList[t ? "add" : "remove"](e);
119
119
  }
120
- function Qt(t, e, { bubbles: n = !1, cancelable: r = !1 } = {}) {
120
+ function Jt(n, e, { bubbles: t = !1, cancelable: r = !1 } = {}) {
121
121
  const l = document.createEvent("CustomEvent");
122
- return l.initCustomEvent(t, n, r, e), l;
122
+ return l.initCustomEvent(n, t, r, e), l;
123
123
  }
124
- let Re;
125
- function Te(t) {
126
- Re = t;
124
+ let Ce;
125
+ function Te(n) {
126
+ Ce = n;
127
127
  }
128
- function _t() {
129
- if (!Re)
128
+ function mt() {
129
+ if (!Ce)
130
130
  throw new Error("Function called outside component initialization");
131
- return Re;
131
+ return Ce;
132
132
  }
133
- function Jt(t) {
134
- _t().$$.on_destroy.push(t);
133
+ function Xt(n) {
134
+ mt().$$.on_destroy.push(n);
135
135
  }
136
- function Xt() {
137
- const t = _t();
138
- return (e, n, { cancelable: r = !1 } = {}) => {
139
- const l = t.$$.callbacks[e];
136
+ function Yt() {
137
+ const n = mt();
138
+ return (e, t, { cancelable: r = !1 } = {}) => {
139
+ const l = n.$$.callbacks[e];
140
140
  if (l) {
141
- const a = Qt(e, n, { cancelable: r });
141
+ const a = Jt(e, t, { cancelable: r });
142
142
  return l.slice().forEach((s) => {
143
- s.call(t, a);
143
+ s.call(n, a);
144
144
  }), !a.defaultPrevented;
145
145
  }
146
146
  return !0;
147
147
  };
148
148
  }
149
- function tt(t, e) {
150
- const n = t.$$.callbacks[e.type];
151
- n && n.slice().forEach((r) => r.call(this, e));
149
+ function tt(n, e) {
150
+ const t = n.$$.callbacks[e.type];
151
+ t && t.slice().forEach((r) => r.call(this, e));
152
152
  }
153
153
  const ke = [], De = [];
154
154
  let ve = [];
155
- const nt = [], Yt = /* @__PURE__ */ Promise.resolve();
155
+ const nt = [], xt = /* @__PURE__ */ Promise.resolve();
156
156
  let Ke = !1;
157
- function xt() {
158
- Ke || (Ke = !0, Yt.then(mt));
157
+ function $t() {
158
+ Ke || (Ke = !0, xt.then(_t));
159
159
  }
160
- function Ve(t) {
161
- ve.push(t);
160
+ function Ve(n) {
161
+ ve.push(n);
162
162
  }
163
163
  const qe = /* @__PURE__ */ new Set();
164
164
  let we = 0;
165
- function mt() {
165
+ function _t() {
166
166
  if (we !== 0)
167
167
  return;
168
- const t = Re;
168
+ const n = Ce;
169
169
  do {
170
170
  try {
171
171
  for (; we < ke.length; ) {
172
172
  const e = ke[we];
173
- we++, Te(e), $t(e.$$);
173
+ we++, Te(e), en(e.$$);
174
174
  }
175
175
  } catch (e) {
176
176
  throw ke.length = 0, we = 0, e;
@@ -178,29 +178,29 @@ function mt() {
178
178
  for (Te(null), ke.length = 0, we = 0; De.length; )
179
179
  De.pop()();
180
180
  for (let e = 0; e < ve.length; e += 1) {
181
- const n = ve[e];
182
- qe.has(n) || (qe.add(n), n());
181
+ const t = ve[e];
182
+ qe.has(t) || (qe.add(t), t());
183
183
  }
184
184
  ve.length = 0;
185
185
  } while (ke.length);
186
186
  for (; nt.length; )
187
187
  nt.pop()();
188
- Ke = !1, qe.clear(), Te(t);
188
+ Ke = !1, qe.clear(), Te(n);
189
189
  }
190
- function $t(t) {
191
- if (t.fragment !== null) {
192
- t.update(), ee(t.before_update);
193
- const e = t.dirty;
194
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(Ve);
190
+ function en(n) {
191
+ if (n.fragment !== null) {
192
+ n.update(), ee(n.before_update);
193
+ const e = n.dirty;
194
+ n.dirty = [-1], n.fragment && n.fragment.p(n.ctx, e), n.after_update.forEach(Ve);
195
195
  }
196
196
  }
197
- function en(t) {
198
- const e = [], n = [];
199
- ve.forEach((r) => t.indexOf(r) === -1 ? e.push(r) : n.push(r)), n.forEach((r) => r()), ve = e;
197
+ function tn(n) {
198
+ const e = [], t = [];
199
+ ve.forEach((r) => n.indexOf(r) === -1 ? e.push(r) : t.push(r)), t.forEach((r) => r()), ve = e;
200
200
  }
201
- const Pe = /* @__PURE__ */ new Set();
201
+ const ze = /* @__PURE__ */ new Set();
202
202
  let de;
203
- function Se() {
203
+ function Be() {
204
204
  de = {
205
205
  r: 0,
206
206
  c: [],
@@ -208,80 +208,80 @@ function Se() {
208
208
  // parent group
209
209
  };
210
210
  }
211
- function Ie() {
211
+ function Pe() {
212
212
  de.r || ee(de.c), de = de.p;
213
213
  }
214
- function F(t, e) {
215
- t && t.i && (Pe.delete(t), t.i(e));
214
+ function F(n, e) {
215
+ n && n.i && (ze.delete(n), n.i(e));
216
216
  }
217
- function O(t, e, n, r) {
218
- if (t && t.o) {
219
- if (Pe.has(t))
217
+ function Z(n, e, t, r) {
218
+ if (n && n.o) {
219
+ if (ze.has(n))
220
220
  return;
221
- Pe.add(t), de.c.push(() => {
222
- Pe.delete(t), r && (n && t.d(1), r());
223
- }), t.o(e);
221
+ ze.add(n), de.c.push(() => {
222
+ ze.delete(n), r && (t && n.d(1), r());
223
+ }), n.o(e);
224
224
  } else
225
225
  r && r();
226
226
  }
227
- function tn(t, e) {
228
- O(t, 1, 1, () => {
229
- e.delete(t.key);
227
+ function nn(n, e) {
228
+ Z(n, 1, 1, () => {
229
+ e.delete(n.key);
230
230
  });
231
231
  }
232
- function nn(t, e, n, r, l, a, s, c, d, f, _, k) {
233
- let b = t.length, E = a.length, z = b;
234
- const p = {};
235
- for (; z--; )
236
- p[t[z].key] = z;
237
- const g = [], W = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), G = [];
238
- for (z = E; z--; ) {
239
- const M = k(l, a, z), R = n(M);
240
- let m = s.get(R);
241
- m ? r && G.push(() => m.p(M, e)) : (m = f(R, M), m.c()), W.set(R, g[z] = m), R in p && B.set(R, Math.abs(z - p[R]));
232
+ function rn(n, e, t, r, l, a, s, f, d, c, m, b) {
233
+ let y = n.length, E = a.length, S = y;
234
+ const T = {};
235
+ for (; S--; )
236
+ T[n[S].key] = S;
237
+ const M = [], k = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map(), G = [];
238
+ for (S = E; S--; ) {
239
+ const C = b(l, a, S), R = t(C);
240
+ let _ = s.get(R);
241
+ _ ? r && G.push(() => _.p(C, e)) : (_ = c(R, C), _.c()), k.set(R, M[S] = _), R in T && z.set(R, Math.abs(S - T[R]));
242
242
  }
243
- const Z = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Set();
244
- function y(M) {
245
- F(M, 1), M.m(c, _), s.set(M.key, M), _ = M.first, E--;
243
+ const O = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Set();
244
+ function g(C) {
245
+ F(C, 1), C.m(f, m), s.set(C.key, C), m = C.first, E--;
246
246
  }
247
- for (; b && E; ) {
248
- const M = g[E - 1], R = t[b - 1], m = M.key, w = R.key;
249
- M === R ? (_ = M.first, b--, E--) : W.has(w) ? !s.has(m) || Z.has(m) ? y(M) : h.has(w) ? b-- : B.get(m) > B.get(w) ? (h.add(m), y(M)) : (Z.add(w), b--) : (d(R, s), b--);
247
+ for (; y && E; ) {
248
+ const C = M[E - 1], R = n[y - 1], _ = C.key, w = R.key;
249
+ C === R ? (m = C.first, y--, E--) : k.has(w) ? !s.has(_) || O.has(_) ? g(C) : h.has(w) ? y-- : z.get(_) > z.get(w) ? (h.add(_), g(C)) : (O.add(w), y--) : (d(R, s), y--);
250
250
  }
251
- for (; b--; ) {
252
- const M = t[b];
253
- W.has(M.key) || d(M, s);
251
+ for (; y--; ) {
252
+ const C = n[y];
253
+ k.has(C.key) || d(C, s);
254
254
  }
255
255
  for (; E; )
256
- y(g[E - 1]);
257
- return ee(G), g;
256
+ g(M[E - 1]);
257
+ return ee(G), M;
258
258
  }
259
- function oe(t) {
260
- t && t.c();
259
+ function oe(n) {
260
+ n && n.c();
261
261
  }
262
- function x(t, e, n, r) {
263
- const { fragment: l, after_update: a } = t.$$;
264
- l && l.m(e, n), r || Ve(() => {
265
- const s = t.$$.on_mount.map(at).filter(dt);
266
- t.$$.on_destroy ? t.$$.on_destroy.push(...s) : ee(s), t.$$.on_mount = [];
262
+ function x(n, e, t, r) {
263
+ const { fragment: l, after_update: a } = n.$$;
264
+ l && l.m(e, t), r || Ve(() => {
265
+ const s = n.$$.on_mount.map(at).filter(dt);
266
+ n.$$.on_destroy ? n.$$.on_destroy.push(...s) : ee(s), n.$$.on_mount = [];
267
267
  }), a.forEach(Ve);
268
268
  }
269
- function $(t, e) {
270
- const n = t.$$;
271
- n.fragment !== null && (en(n.after_update), ee(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
269
+ function $(n, e) {
270
+ const t = n.$$;
271
+ t.fragment !== null && (tn(t.after_update), ee(t.on_destroy), t.fragment && t.fragment.d(e), t.on_destroy = t.fragment = null, t.ctx = []);
272
272
  }
273
- function rn(t, e) {
274
- t.$$.dirty[0] === -1 && (ke.push(t), xt(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
273
+ function ln(n, e) {
274
+ n.$$.dirty[0] === -1 && (ke.push(n), $t(), n.$$.dirty.fill(0)), n.$$.dirty[e / 31 | 0] |= 1 << e % 31;
275
275
  }
276
- function _e(t, e, n, r, l, a, s, c = [-1]) {
277
- const d = Re;
278
- Te(t);
279
- const f = t.$$ = {
276
+ function me(n, e, t, r, l, a, s, f = [-1]) {
277
+ const d = Ce;
278
+ Te(n);
279
+ const c = n.$$ = {
280
280
  fragment: null,
281
281
  ctx: [],
282
282
  // state
283
283
  props: a,
284
- update: P,
284
+ update: B,
285
285
  not_equal: l,
286
286
  bound: xe(),
287
287
  // lifecycle
@@ -293,278 +293,278 @@ function _e(t, e, n, r, l, a, s, c = [-1]) {
293
293
  context: new Map(e.context || (d ? d.$$.context : [])),
294
294
  // everything else
295
295
  callbacks: xe(),
296
- dirty: c,
296
+ dirty: f,
297
297
  skip_bound: !1,
298
298
  root: e.target || d.$$.root
299
299
  };
300
- s && s(f.root);
301
- let _ = !1;
302
- if (f.ctx = n ? n(t, e.props || {}, (k, b, ...E) => {
303
- const z = E.length ? E[0] : b;
304
- return f.ctx && l(f.ctx[k], f.ctx[k] = z) && (!f.skip_bound && f.bound[k] && f.bound[k](z), _ && rn(t, k)), b;
305
- }) : [], f.update(), _ = !0, ee(f.before_update), f.fragment = r ? r(f.ctx) : !1, e.target) {
300
+ s && s(c.root);
301
+ let m = !1;
302
+ if (c.ctx = t ? t(n, e.props || {}, (b, y, ...E) => {
303
+ const S = E.length ? E[0] : y;
304
+ return c.ctx && l(c.ctx[b], c.ctx[b] = S) && (!c.skip_bound && c.bound[b] && c.bound[b](S), m && ln(n, b)), y;
305
+ }) : [], c.update(), m = !0, ee(c.before_update), c.fragment = r ? r(c.ctx) : !1, e.target) {
306
306
  if (e.hydrate) {
307
- const k = Ht(e.target);
308
- f.fragment && f.fragment.l(k), k.forEach(S);
307
+ const b = Qt(e.target);
308
+ c.fragment && c.fragment.l(b), b.forEach(P);
309
309
  } else
310
- f.fragment && f.fragment.c();
311
- e.intro && F(t.$$.fragment), x(t, e.target, e.anchor, e.customElement), mt();
310
+ c.fragment && c.fragment.c();
311
+ e.intro && F(n.$$.fragment), x(n, e.target, e.anchor, e.customElement), _t();
312
312
  }
313
313
  Te(d);
314
314
  }
315
- class me {
315
+ class _e {
316
316
  $destroy() {
317
- $(this, 1), this.$destroy = P;
317
+ $(this, 1), this.$destroy = B;
318
318
  }
319
- $on(e, n) {
320
- if (!dt(n))
321
- return P;
319
+ $on(e, t) {
320
+ if (!dt(t))
321
+ return B;
322
322
  const r = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
323
- return r.push(n), () => {
324
- const l = r.indexOf(n);
323
+ return r.push(t), () => {
324
+ const l = r.indexOf(t);
325
325
  l !== -1 && r.splice(l, 1);
326
326
  };
327
327
  }
328
328
  $set(e) {
329
- this.$$set && !Ot(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
329
+ this.$$set && !Zt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
330
330
  }
331
331
  }
332
- function ln(t) {
333
- let e, n;
332
+ function sn(n) {
333
+ let e, t;
334
334
  return {
335
335
  c() {
336
- e = ie("svg"), n = ie("path"), o(n, "d", "M13.12.706a.982.982 0 0 0-1.391 0L6.907 5.517 2.087.696a.982.982 0 1 0-1.391 1.39l4.821 4.821L.696 11.73a.982.982 0 1 0 1.39 1.39l4.821-4.821 4.822 4.821a.982.982 0 1 0 1.39-1.39L8.298 6.908l4.821-4.822a.988.988 0 0 0 0-1.38Z"), o(e, "viewBox", "0 0 14 14"), o(e, "width", "13"), o(e, "height", "13"), o(e, "class", "svelte-en2qvf");
336
+ e = ie("svg"), t = ie("path"), o(t, "d", "M13.12.706a.982.982 0 0 0-1.391 0L6.907 5.517 2.087.696a.982.982 0 1 0-1.391 1.39l4.821 4.821L.696 11.73a.982.982 0 1 0 1.39 1.39l4.821-4.821 4.822 4.821a.982.982 0 1 0 1.39-1.39L8.298 6.908l4.821-4.822a.988.988 0 0 0 0-1.38Z"), o(e, "viewBox", "0 0 14 14"), o(e, "width", "13"), o(e, "height", "13"), o(e, "class", "svelte-en2qvf");
337
337
  },
338
338
  m(r, l) {
339
- A(r, e, l), v(e, n);
339
+ W(r, e, l), v(e, t);
340
340
  },
341
- p: P,
342
- i: P,
343
- o: P,
341
+ p: B,
342
+ i: B,
343
+ o: B,
344
344
  d(r) {
345
- r && S(e);
345
+ r && P(e);
346
346
  }
347
347
  };
348
348
  }
349
- class gt extends me {
349
+ class gt extends _e {
350
350
  constructor(e) {
351
- super(), _e(this, e, null, ln, he, {});
351
+ super(), me(this, e, null, sn, he, {});
352
352
  }
353
353
  }
354
- function sn(t) {
355
- let e, n;
354
+ function on(n) {
355
+ let e, t;
356
356
  return {
357
357
  c() {
358
- e = ie("svg"), n = ie("path"), o(n, "d", "M15 0C6.705 0 0 6.705 0 15C0 23.295 6.705 30 15 30C23.295 30 30 23.295 30 15C30 6.705 23.295 0 15 0ZM22.5 20.385L20.385 22.5L15 17.115L9.615 22.5L7.5 20.385L12.885 15L7.5 9.615L9.615 7.5L15 12.885L20.385 7.5L22.5 9.615L17.115 15L22.5 20.385Z"), o(e, "viewBox", "0 0 30 30"), o(e, "fill", "none"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "class", "svelte-d2loi5");
358
+ e = ie("svg"), t = ie("path"), o(t, "d", "M15 0C6.705 0 0 6.705 0 15C0 23.295 6.705 30 15 30C23.295 30 30 23.295 30 15C30 6.705 23.295 0 15 0ZM22.5 20.385L20.385 22.5L15 17.115L9.615 22.5L7.5 20.385L12.885 15L7.5 9.615L9.615 7.5L15 12.885L20.385 7.5L22.5 9.615L17.115 15L22.5 20.385Z"), o(e, "viewBox", "0 0 30 30"), o(e, "fill", "none"), o(e, "xmlns", "http://www.w3.org/2000/svg"), o(e, "class", "svelte-d2loi5");
359
359
  },
360
360
  m(r, l) {
361
- A(r, e, l), v(e, n);
361
+ W(r, e, l), v(e, t);
362
362
  },
363
- p: P,
364
- i: P,
365
- o: P,
363
+ p: B,
364
+ i: B,
365
+ o: B,
366
366
  d(r) {
367
- r && S(e);
367
+ r && P(e);
368
368
  }
369
369
  };
370
370
  }
371
- class yt extends me {
371
+ class yt extends _e {
372
372
  constructor(e) {
373
- super(), _e(this, e, null, sn, he, {});
373
+ super(), me(this, e, null, on, he, {});
374
374
  }
375
375
  }
376
- function on(t) {
377
- let e, n;
376
+ function cn(n) {
377
+ let e, t;
378
378
  return {
379
379
  c() {
380
- e = C("img"), le(e.src, n = "/icons/area.svg") || o(e, "src", n), o(
380
+ e = I("img"), le(e.src, t = "/icons/area.svg") || o(e, "src", t), o(
381
381
  e,
382
382
  "alt",
383
383
  /*placeType*/
384
- t[4]
384
+ n[5]
385
385
  ), o(e, "class", "svelte-ltkwvy");
386
386
  },
387
387
  m(r, l) {
388
- A(r, e, l);
388
+ W(r, e, l);
389
389
  },
390
390
  p(r, l) {
391
391
  l & /*placeType*/
392
- 16 && o(
392
+ 32 && o(
393
393
  e,
394
394
  "alt",
395
395
  /*placeType*/
396
- r[4]
396
+ r[5]
397
397
  );
398
398
  },
399
399
  d(r) {
400
- r && S(e);
400
+ r && P(e);
401
401
  }
402
402
  };
403
403
  }
404
- function cn(t) {
405
- let e, n;
404
+ function fn(n) {
405
+ let e, t;
406
406
  return {
407
407
  c() {
408
- e = C("img"), le(e.src, n = "/icons/poi.svg") || o(e, "src", n), o(
408
+ e = I("img"), le(e.src, t = "/icons/poi.svg") || o(e, "src", t), o(
409
409
  e,
410
410
  "alt",
411
411
  /*placeType*/
412
- t[4]
412
+ n[5]
413
413
  ), o(e, "class", "svelte-ltkwvy");
414
414
  },
415
415
  m(r, l) {
416
- A(r, e, l);
416
+ W(r, e, l);
417
417
  },
418
418
  p(r, l) {
419
419
  l & /*placeType*/
420
- 16 && o(
420
+ 32 && o(
421
421
  e,
422
422
  "alt",
423
423
  /*placeType*/
424
- r[4]
424
+ r[5]
425
425
  );
426
426
  },
427
427
  d(r) {
428
- r && S(e);
428
+ r && P(e);
429
429
  }
430
430
  };
431
431
  }
432
- function fn(t) {
433
- let e, n;
432
+ function un(n) {
433
+ let e, t;
434
434
  return {
435
435
  c() {
436
- e = C("img"), le(e.src, n = "/icons/postal_code.svg") || o(e, "src", n), o(
436
+ e = I("img"), le(e.src, t = "/icons/postal_code.svg") || o(e, "src", t), o(
437
437
  e,
438
438
  "alt",
439
439
  /*placeType*/
440
- t[4]
440
+ n[5]
441
441
  ), o(e, "class", "svelte-ltkwvy");
442
442
  },
443
443
  m(r, l) {
444
- A(r, e, l);
444
+ W(r, e, l);
445
445
  },
446
446
  p(r, l) {
447
447
  l & /*placeType*/
448
- 16 && o(
448
+ 32 && o(
449
449
  e,
450
450
  "alt",
451
451
  /*placeType*/
452
- r[4]
452
+ r[5]
453
453
  );
454
454
  },
455
455
  d(r) {
456
- r && S(e);
456
+ r && P(e);
457
457
  }
458
458
  };
459
459
  }
460
- function un(t) {
461
- let e, n;
460
+ function an(n) {
461
+ let e, t;
462
462
  return {
463
463
  c() {
464
- e = C("img"), le(e.src, n = "/icons/street.svg") || o(e, "src", n), o(
464
+ e = I("img"), le(e.src, t = "/icons/street.svg") || o(e, "src", t), o(
465
465
  e,
466
466
  "alt",
467
467
  /*placeType*/
468
- t[4]
468
+ n[5]
469
469
  ), o(e, "class", "svelte-ltkwvy");
470
470
  },
471
471
  m(r, l) {
472
- A(r, e, l);
472
+ W(r, e, l);
473
473
  },
474
474
  p(r, l) {
475
475
  l & /*placeType*/
476
- 16 && o(
476
+ 32 && o(
477
477
  e,
478
478
  "alt",
479
479
  /*placeType*/
480
- r[4]
480
+ r[5]
481
481
  );
482
482
  },
483
483
  d(r) {
484
- r && S(e);
484
+ r && P(e);
485
485
  }
486
486
  };
487
487
  }
488
- function an(t) {
489
- let e, n;
488
+ function dn(n) {
489
+ let e, t;
490
490
  return {
491
491
  c() {
492
- e = C("img"), le(e.src, n = "/icons/road.svg") || o(e, "src", n), o(
492
+ e = I("img"), le(e.src, t = "/icons/road.svg") || o(e, "src", t), o(
493
493
  e,
494
494
  "alt",
495
495
  /*placeType*/
496
- t[4]
496
+ n[5]
497
497
  ), o(e, "class", "svelte-ltkwvy");
498
498
  },
499
499
  m(r, l) {
500
- A(r, e, l);
500
+ W(r, e, l);
501
501
  },
502
502
  p(r, l) {
503
503
  l & /*placeType*/
504
- 16 && o(
504
+ 32 && o(
505
505
  e,
506
506
  "alt",
507
507
  /*placeType*/
508
- r[4]
508
+ r[5]
509
509
  );
510
510
  },
511
511
  d(r) {
512
- r && S(e);
512
+ r && P(e);
513
513
  }
514
514
  };
515
515
  }
516
- function dn(t) {
517
- let e, n;
516
+ function hn(n) {
517
+ let e, t;
518
518
  return {
519
519
  c() {
520
- e = C("img"), le(e.src, n = "/icons/housenumber.svg") || o(e, "src", n), o(
520
+ e = I("img"), le(e.src, t = "/icons/housenumber.svg") || o(e, "src", t), o(
521
521
  e,
522
522
  "alt",
523
523
  /*placeType*/
524
- t[4]
524
+ n[5]
525
525
  ), o(e, "class", "svelte-ltkwvy");
526
526
  },
527
527
  m(r, l) {
528
- A(r, e, l);
528
+ W(r, e, l);
529
529
  },
530
530
  p(r, l) {
531
531
  l & /*placeType*/
532
- 16 && o(
532
+ 32 && o(
533
533
  e,
534
534
  "alt",
535
535
  /*placeType*/
536
- r[4]
536
+ r[5]
537
537
  );
538
538
  },
539
539
  d(r) {
540
- r && S(e);
540
+ r && P(e);
541
541
  }
542
542
  };
543
543
  }
544
- function hn(t) {
545
- let e, n, r, l;
544
+ function mn(n) {
545
+ let e, t, r, l;
546
546
  return {
547
547
  c() {
548
- e = C("img"), le(e.src, n = /*imageUrl*/
549
- t[5]) || o(e, "src", n), o(
548
+ e = I("img"), le(e.src, t = /*imageUrl*/
549
+ n[4]) || o(e, "src", t), o(
550
550
  e,
551
551
  "alt",
552
552
  /*category*/
553
- t[3]
553
+ n[3]
554
554
  ), o(e, "class", "svelte-ltkwvy");
555
555
  },
556
556
  m(a, s) {
557
- A(a, e, s), r || (l = D(
557
+ W(a, e, s), r || (l = D(
558
558
  e,
559
559
  "error",
560
560
  /*error_handler*/
561
- t[10]
561
+ n[11]
562
562
  ), r = !0);
563
563
  },
564
564
  p(a, s) {
565
565
  s & /*imageUrl*/
566
- 32 && !le(e.src, n = /*imageUrl*/
567
- a[5]) && o(e, "src", n), s & /*category*/
566
+ 16 && !le(e.src, t = /*imageUrl*/
567
+ a[4]) && o(e, "src", t), s & /*category*/
568
568
  8 && o(
569
569
  e,
570
570
  "alt",
@@ -573,308 +573,314 @@ function hn(t) {
573
573
  );
574
574
  },
575
575
  d(a) {
576
- a && S(e), r = !1, l();
576
+ a && P(e), r = !1, l();
577
577
  }
578
578
  };
579
579
  }
580
- function rt(t) {
581
- let e, n;
580
+ function rt(n) {
581
+ let e, t;
582
582
  return {
583
583
  c() {
584
- e = C("span"), n = se(
584
+ e = I("span"), t = se(
585
585
  /*placeType*/
586
- t[4]
586
+ n[5]
587
587
  ), o(e, "class", "secondary svelte-ltkwvy");
588
588
  },
589
589
  m(r, l) {
590
- A(r, e, l), v(e, n);
590
+ W(r, e, l), v(e, t);
591
591
  },
592
592
  p(r, l) {
593
593
  l & /*placeType*/
594
- 16 && Me(
595
- n,
594
+ 32 && Me(
595
+ t,
596
596
  /*placeType*/
597
- r[4]
597
+ r[5]
598
598
  );
599
599
  },
600
600
  d(r) {
601
- r && S(e);
601
+ r && P(e);
602
602
  }
603
603
  };
604
604
  }
605
- function _n(t) {
606
- var M, R;
607
- let e, n, r, l, a, s, c, d, f = (
605
+ function _n(n) {
606
+ var C, R;
607
+ let e, t, r, l, a, s, f, d, c = (
608
608
  /*feature*/
609
- t[0].place_name.replace(/,.*/, "") + ""
610
- ), _, k, b = (
609
+ n[0].place_name.replace(/,.*/, "") + ""
610
+ ), m, b, y = (
611
611
  /*showPlaceType*/
612
- t[2] === "always" || /*showPlaceType*/
613
- t[2] && !/*feature*/
614
- t[0].address && /*feature*/
615
- ((M = t[0].properties) == null ? void 0 : M.kind) !== "road" && /*feature*/
616
- ((R = t[0].properties) == null ? void 0 : R.kind) !== "road_relation" && !/*feature*/
617
- t[0].id.startsWith("address.") && !/*feature*/
618
- t[0].id.startsWith("postal_code.") && (!/*feature*/
619
- t[0].id.startsWith("poi.") || !/*imageUrl*/
620
- t[5])
621
- ), E, z, p = (
612
+ n[2] === "always" || /*showPlaceType*/
613
+ n[2] && !/*feature*/
614
+ n[0].address && /*feature*/
615
+ ((C = n[0].properties) == null ? void 0 : C.kind) !== "road" && /*feature*/
616
+ ((R = n[0].properties) == null ? void 0 : R.kind) !== "road_relation" && !/*feature*/
617
+ n[0].id.startsWith("address.") && !/*feature*/
618
+ n[0].id.startsWith("postal_code.") && (!/*feature*/
619
+ n[0].id.startsWith("poi.") || !/*imageUrl*/
620
+ n[4])
621
+ ), E, S, T = (
622
622
  /*feature*/
623
- t[0].place_name.replace(/[^,]*,?\s*/, "") + ""
624
- ), g, W, B;
625
- function G(m, w) {
623
+ n[0].place_name.replace(/[^,]*,?\s*/, "") + ""
624
+ ), M, k, z;
625
+ function G(_, w) {
626
626
  var H, u;
627
627
  return w & /*feature*/
628
- 1 && (n = null), w & /*feature*/
628
+ 1 && (t = null), w & /*feature*/
629
629
  1 && (r = null), w & /*feature*/
630
630
  1 && (l = null), /*imageUrl*/
631
- m[5] ? hn : (
631
+ _[4] ? mn : (
632
632
  /*feature*/
633
- m[0].address ? dn : (
633
+ _[0].address ? hn : (
634
634
  /*feature*/
635
- ((H = m[0].properties) == null ? void 0 : H.kind) === "road" || /*feature*/
636
- ((u = m[0].properties) == null ? void 0 : u.kind) === "road_relation" ? an : (n == null && (n = !!/*feature*/
637
- m[0].id.startsWith("address.")), n ? un : (r == null && (r = !!/*feature*/
638
- m[0].id.startsWith("postal_code.")), r ? fn : (l == null && (l = !!/*feature*/
639
- m[0].id.startsWith("poi.")), l ? cn : on)))
635
+ ((H = _[0].properties) == null ? void 0 : H.kind) === "road" || /*feature*/
636
+ ((u = _[0].properties) == null ? void 0 : u.kind) === "road_relation" ? dn : (t == null && (t = !!/*feature*/
637
+ _[0].id.startsWith("address.")), t ? an : (r == null && (r = !!/*feature*/
638
+ _[0].id.startsWith("postal_code.")), r ? un : (l == null && (l = !!/*feature*/
639
+ _[0].id.startsWith("poi.")), l ? fn : cn)))
640
640
  )
641
641
  );
642
642
  }
643
- let Z = G(t, -1), h = Z(t), y = b && rt(t);
643
+ let O = G(n, -1), h = O(n), g = y && rt(n);
644
644
  return {
645
645
  c() {
646
- e = C("li"), h.c(), a = V(), s = C("span"), c = C("span"), d = C("span"), _ = se(f), k = V(), y && y.c(), E = V(), z = C("span"), g = se(p), o(d, "class", "primary svelte-ltkwvy"), o(c, "class", "svelte-ltkwvy"), o(z, "class", "line2 svelte-ltkwvy"), o(s, "class", "texts svelte-ltkwvy"), o(e, "tabindex", "0"), o(
646
+ e = I("li"), h.c(), a = V(), s = I("span"), f = I("span"), d = I("span"), m = se(c), b = V(), g && g.c(), E = V(), S = I("span"), M = se(T), o(d, "class", "primary svelte-ltkwvy"), o(f, "class", "svelte-ltkwvy"), o(S, "class", "line2 svelte-ltkwvy"), o(s, "class", "texts svelte-ltkwvy"), o(e, "tabindex", "0"), o(
647
647
  e,
648
648
  "data-selected",
649
649
  /*selected*/
650
- t[1]
650
+ n[1]
651
651
  ), o(e, "class", "svelte-ltkwvy"), re(
652
652
  e,
653
653
  "selected",
654
654
  /*selected*/
655
- t[1]
655
+ n[1]
656
656
  );
657
657
  },
658
- m(m, w) {
659
- A(m, e, w), h.m(e, null), v(e, a), v(e, s), v(s, c), v(c, d), v(d, _), v(c, k), y && y.m(c, null), v(s, E), v(s, z), v(z, g), W || (B = [
658
+ m(_, w) {
659
+ W(_, e, w), h.m(e, null), v(e, a), v(e, s), v(s, f), v(f, d), v(d, m), v(f, b), g && g.m(f, null), v(s, E), v(s, S), v(S, M), k || (z = [
660
660
  D(
661
661
  e,
662
662
  "mouseenter",
663
663
  /*mouseenter_handler*/
664
- t[8]
664
+ n[9]
665
665
  ),
666
666
  D(
667
667
  e,
668
668
  "focus",
669
669
  /*focus_handler*/
670
- t[9]
670
+ n[10]
671
671
  )
672
- ], W = !0);
672
+ ], k = !0);
673
673
  },
674
- p(m, [w]) {
674
+ p(_, [w]) {
675
675
  var H, u;
676
- Z === (Z = G(m, w)) && h ? h.p(m, w) : (h.d(1), h = Z(m), h && (h.c(), h.m(e, a))), w & /*feature*/
677
- 1 && f !== (f = /*feature*/
678
- m[0].place_name.replace(/,.*/, "") + "") && Me(_, f), w & /*showPlaceType, feature, imageUrl*/
679
- 37 && (b = /*showPlaceType*/
680
- m[2] === "always" || /*showPlaceType*/
681
- m[2] && !/*feature*/
682
- m[0].address && /*feature*/
683
- ((H = m[0].properties) == null ? void 0 : H.kind) !== "road" && /*feature*/
684
- ((u = m[0].properties) == null ? void 0 : u.kind) !== "road_relation" && !/*feature*/
685
- m[0].id.startsWith("address.") && !/*feature*/
686
- m[0].id.startsWith("postal_code.") && (!/*feature*/
687
- m[0].id.startsWith("poi.") || !/*imageUrl*/
688
- m[5])), b ? y ? y.p(m, w) : (y = rt(m), y.c(), y.m(c, null)) : y && (y.d(1), y = null), w & /*feature*/
689
- 1 && p !== (p = /*feature*/
690
- m[0].place_name.replace(/[^,]*,?\s*/, "") + "") && Me(g, p), w & /*selected*/
676
+ O === (O = G(_, w)) && h ? h.p(_, w) : (h.d(1), h = O(_), h && (h.c(), h.m(e, a))), w & /*feature*/
677
+ 1 && c !== (c = /*feature*/
678
+ _[0].place_name.replace(/,.*/, "") + "") && Me(m, c), w & /*showPlaceType, feature, imageUrl*/
679
+ 21 && (y = /*showPlaceType*/
680
+ _[2] === "always" || /*showPlaceType*/
681
+ _[2] && !/*feature*/
682
+ _[0].address && /*feature*/
683
+ ((H = _[0].properties) == null ? void 0 : H.kind) !== "road" && /*feature*/
684
+ ((u = _[0].properties) == null ? void 0 : u.kind) !== "road_relation" && !/*feature*/
685
+ _[0].id.startsWith("address.") && !/*feature*/
686
+ _[0].id.startsWith("postal_code.") && (!/*feature*/
687
+ _[0].id.startsWith("poi.") || !/*imageUrl*/
688
+ _[4])), y ? g ? g.p(_, w) : (g = rt(_), g.c(), g.m(f, null)) : g && (g.d(1), g = null), w & /*feature*/
689
+ 1 && T !== (T = /*feature*/
690
+ _[0].place_name.replace(/[^,]*,?\s*/, "") + "") && Me(M, T), w & /*selected*/
691
691
  2 && o(
692
692
  e,
693
693
  "data-selected",
694
694
  /*selected*/
695
- m[1]
695
+ _[1]
696
696
  ), w & /*selected*/
697
697
  2 && re(
698
698
  e,
699
699
  "selected",
700
700
  /*selected*/
701
- m[1]
701
+ _[1]
702
702
  );
703
703
  },
704
- i: P,
705
- o: P,
706
- d(m) {
707
- m && S(e), h.d(), y && y.d(), W = !1, ee(B);
704
+ i: B,
705
+ o: B,
706
+ d(_) {
707
+ _ && P(e), h.d(), g && g.d(), k = !1, ee(z);
708
708
  }
709
709
  };
710
710
  }
711
- function mn(t, e, n) {
712
- var p;
713
- let r, l, a, s, { feature: c } = e, { selected: d = !1 } = e, { showPlaceType: f } = e;
714
- const _ = (p = c.properties) == null ? void 0 : p.categories;
715
- function k(g) {
716
- r > -1 ? n(7, r--, r) : g.style.visibility = "hidden";
711
+ function gn(n, e, t) {
712
+ var M;
713
+ let r, l, { feature: a } = e, { selected: s = !1 } = e, { showPlaceType: f } = e, { missingIconsCache: d } = e;
714
+ const c = (M = a.properties) == null ? void 0 : M.categories;
715
+ let m, b;
716
+ function y(k) {
717
+ b && d.add(b), t(8, r--, r);
717
718
  }
718
- function b(g) {
719
- tt.call(this, t, g);
719
+ function E(k) {
720
+ tt.call(this, n, k);
720
721
  }
721
- function E(g) {
722
- tt.call(this, t, g);
722
+ function S(k) {
723
+ tt.call(this, n, k);
723
724
  }
724
- const z = (g) => k(g.currentTarget);
725
- return t.$$set = (g) => {
726
- "feature" in g && n(0, c = g.feature), "selected" in g && n(1, d = g.selected), "showPlaceType" in g && n(2, f = g.showPlaceType);
727
- }, t.$$.update = () => {
728
- var g, W, B, G;
729
- t.$$.dirty & /*index*/
730
- 128 && n(3, l = _ == null ? void 0 : _[r]), t.$$.dirty & /*category*/
731
- 8 && n(5, a = l ? `/icons/${l.replace(/ /g, "_")}.svg` : void 0), t.$$.dirty & /*feature*/
732
- 1 && n(4, s = c.id.startsWith("poi.") ? (W = (g = c.properties) == null ? void 0 : g.categories) == null ? void 0 : W.join(", ") : ((G = (B = c.properties) == null ? void 0 : B.place_type_name) == null ? void 0 : G[0]) ?? c.place_type[0]);
733
- }, n(7, r = ((_ == null ? void 0 : _.length) ?? 0) - 1), [
734
- c,
735
- d,
725
+ const T = (k) => y(k.currentTarget);
726
+ return n.$$set = (k) => {
727
+ "feature" in k && t(0, a = k.feature), "selected" in k && t(1, s = k.selected), "showPlaceType" in k && t(2, f = k.showPlaceType), "missingIconsCache" in k && t(7, d = k.missingIconsCache);
728
+ }, n.$$.update = () => {
729
+ var k, z, G, O;
730
+ if (n.$$.dirty & /*index, category, imageUrl, missingIconsCache*/
731
+ 408)
732
+ do
733
+ t(8, r--, r), t(3, m = c == null ? void 0 : c[r]), t(4, b = m ? `/icons/${m.replace(/ /g, "_")}.svg` : void 0);
734
+ while (r > -1 && (!b || d.has(b)));
735
+ n.$$.dirty & /*feature*/
736
+ 1 && t(5, l = a.id.startsWith("poi.") ? (z = (k = a.properties) == null ? void 0 : k.categories) == null ? void 0 : z.join(", ") : ((O = (G = a.properties) == null ? void 0 : G.place_type_name) == null ? void 0 : O[0]) ?? a.place_type[0]);
737
+ }, t(8, r = (c == null ? void 0 : c.length) ?? 0), [
738
+ a,
739
+ s,
736
740
  f,
741
+ m,
742
+ b,
737
743
  l,
738
- s,
739
- a,
740
- k,
744
+ y,
745
+ d,
741
746
  r,
742
- b,
743
747
  E,
744
- z
748
+ S,
749
+ T
745
750
  ];
746
751
  }
747
- class gn extends me {
752
+ class yn extends _e {
748
753
  constructor(e) {
749
- super(), _e(this, e, mn, _n, he, {
754
+ super(), me(this, e, gn, _n, he, {
750
755
  feature: 0,
751
756
  selected: 1,
752
- showPlaceType: 2
757
+ showPlaceType: 2,
758
+ missingIconsCache: 7
753
759
  });
754
760
  }
755
761
  }
756
- function yn(t) {
762
+ function bn(n) {
757
763
  let e;
758
764
  return {
759
765
  c() {
760
- e = C("div"), e.innerHTML = '<svg viewBox="0 0 18 18" width="24" height="24" class="svelte-7cmwmc"><path fill="#333" d="M4.4 4.4l.8.8c2.1-2.1 5.5-2.1 7.6 0l.8-.8c-2.5-2.5-6.7-2.5-9.2 0z"></path><path opacity=".1" d="M12.8 12.9c-2.1 2.1-5.5 2.1-7.6 0-2.1-2.1-2.1-5.5 0-7.7l-.8-.8c-2.5 2.5-2.5 6.7 0 9.2s6.6 2.5 9.2 0 2.5-6.6 0-9.2l-.8.8c2.2 2.1 2.2 5.6 0 7.7z"></path></svg>', o(e, "class", "svelte-7cmwmc");
766
+ e = I("div"), e.innerHTML = '<svg viewBox="0 0 18 18" width="24" height="24" class="svelte-7cmwmc"><path fill="#333" d="M4.4 4.4l.8.8c2.1-2.1 5.5-2.1 7.6 0l.8-.8c-2.5-2.5-6.7-2.5-9.2 0z"></path><path opacity=".1" d="M12.8 12.9c-2.1 2.1-5.5 2.1-7.6 0-2.1-2.1-2.1-5.5 0-7.7l-.8-.8c-2.5 2.5-2.5 6.7 0 9.2s6.6 2.5 9.2 0 2.5-6.6 0-9.2l-.8.8c2.2 2.1 2.2 5.6 0 7.7z"></path></svg>', o(e, "class", "svelte-7cmwmc");
761
767
  },
762
- m(n, r) {
763
- A(n, e, r);
768
+ m(t, r) {
769
+ W(t, e, r);
764
770
  },
765
- p: P,
766
- i: P,
767
- o: P,
768
- d(n) {
769
- n && S(e);
771
+ p: B,
772
+ i: B,
773
+ o: B,
774
+ d(t) {
775
+ t && P(e);
770
776
  }
771
777
  };
772
778
  }
773
- class bn extends me {
779
+ class wn extends _e {
774
780
  constructor(e) {
775
- super(), _e(this, e, null, yn, he, {});
781
+ super(), me(this, e, null, bn, he, {});
776
782
  }
777
783
  }
778
- function wn(t) {
779
- let e, n;
784
+ function kn(n) {
785
+ let e, t;
780
786
  return {
781
787
  c() {
782
- e = ie("svg"), n = ie("path"), o(n, "d", "M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"), o(e, "viewBox", "0 0 60.006 21.412"), o(e, "width", "14"), o(e, "height", "20"), o(e, "class", "svelte-en2qvf");
788
+ e = ie("svg"), t = ie("path"), o(t, "d", "M30.003-26.765C13.46-26.765 0-14.158 0 1.337c0 23.286 24.535 42.952 28.39 46.04.24.192.402.316.471.376.323.282.732.424 1.142.424.41 0 .82-.142 1.142-.424.068-.06.231-.183.471-.376 3.856-3.09 28.39-22.754 28.39-46.04 0-15.495-13.46-28.102-30.003-28.102Zm1.757 12.469c4.38 0 7.858 1.052 10.431 3.158 2.595 2.105 3.89 4.913 3.89 8.422 0 2.34-.53 4.362-1.593 6.063-1.063 1.702-3.086 3.616-6.063 5.742-2.042 1.51-3.337 2.659-3.89 3.446-.532.787-.8 1.82-.8 3.096v1.914h-8.449V15.18c0-2.041.434-3.815 1.306-5.325.872-1.51 2.467-3.118 4.785-4.82 2.233-1.594 3.7-2.89 4.402-3.889a5.582 5.582 0 0 0 1.087-3.35c0-1.382-.51-2.435-1.531-3.158-1.02-.723-2.45-1.087-4.28-1.087-3.19 0-6.826 1.047-10.91 3.131l-3.472-6.986c4.742-2.659 9.77-3.992 15.087-3.992Zm-1.88 37.324c1.765 0 3.124.472 4.08 1.408.98.936 1.47 2.276 1.47 4.02 0 1.68-.49 3.007-1.47 3.985-.977.957-2.336 1.435-4.08 1.435-1.787 0-3.171-.465-4.15-1.4-.978-.958-1.47-2.298-1.47-4.02 0-1.787.48-3.14 1.436-4.054.957-.915 2.355-1.374 4.184-1.374Z"), o(e, "viewBox", "0 0 60.006 21.412"), o(e, "width", "14"), o(e, "height", "20"), o(e, "class", "svelte-en2qvf");
783
789
  },
784
790
  m(r, l) {
785
- A(r, e, l), v(e, n);
791
+ W(r, e, l), v(e, t);
786
792
  },
787
- p: P,
788
- i: P,
789
- o: P,
793
+ p: B,
794
+ i: B,
795
+ o: B,
790
796
  d(r) {
791
- r && S(e);
797
+ r && P(e);
792
798
  }
793
799
  };
794
800
  }
795
- class kn extends me {
801
+ class vn extends _e {
796
802
  constructor(e) {
797
- super(), _e(this, e, null, wn, he, {});
803
+ super(), me(this, e, null, kn, he, {});
798
804
  }
799
805
  }
800
- function vn(t) {
801
- let e, n;
806
+ function pn(n) {
807
+ let e, t;
802
808
  return {
803
809
  c() {
804
- e = ie("svg"), n = ie("path"), o(n, "d", "M13.101 14.261 8.74 9.899a4.797 4.797 0 0 1-1.425.748 5.165 5.165 0 0 1-1.603.248c-1.446 0-2.677-.5-3.693-1.503S.495 7.164.495 5.717c0-1.446.508-2.678 1.524-3.693C3.035 1.008 4.266.5 5.712.5c1.448 0 2.672.508 3.675 1.524 1.002 1.015 1.503 2.247 1.503 3.693 0 .558-.08 1.092-.239 1.603-.159.512-.411.98-.757 1.405l4.382 4.4a.74.74 0 0 1 .229.568.81.81 0 0 1-.249.568.787.787 0 0 1-.577.239.787.787 0 0 1-.578-.239ZM5.712 9.223c.97 0 1.796-.342 2.48-1.026a3.378 3.378 0 0 0 1.026-2.48c0-.982-.34-1.818-1.016-2.509-.677-.69-1.507-1.035-2.49-1.035a3.42 3.42 0 0 0-2.509 1.035 3.42 3.42 0 0 0-1.035 2.51c0 .982.345 1.812 1.035 2.488.691.678 1.527 1.017 2.51 1.017Z"), o(e, "width", "14"), o(e, "height", "14"), o(e, "viewBox", "0 0 15 15"), o(e, "class", "svelte-en2qvf");
810
+ e = ie("svg"), t = ie("path"), o(t, "d", "M13.101 14.261 8.74 9.899a4.797 4.797 0 0 1-1.425.748 5.165 5.165 0 0 1-1.603.248c-1.446 0-2.677-.5-3.693-1.503S.495 7.164.495 5.717c0-1.446.508-2.678 1.524-3.693C3.035 1.008 4.266.5 5.712.5c1.448 0 2.672.508 3.675 1.524 1.002 1.015 1.503 2.247 1.503 3.693 0 .558-.08 1.092-.239 1.603-.159.512-.411.98-.757 1.405l4.382 4.4a.74.74 0 0 1 .229.568.81.81 0 0 1-.249.568.787.787 0 0 1-.577.239.787.787 0 0 1-.578-.239ZM5.712 9.223c.97 0 1.796-.342 2.48-1.026a3.378 3.378 0 0 0 1.026-2.48c0-.982-.34-1.818-1.016-2.509-.677-.69-1.507-1.035-2.49-1.035a3.42 3.42 0 0 0-2.509 1.035 3.42 3.42 0 0 0-1.035 2.51c0 .982.345 1.812 1.035 2.488.691.678 1.527 1.017 2.51 1.017Z"), o(e, "width", "14"), o(e, "height", "14"), o(e, "viewBox", "0 0 15 15"), o(e, "class", "svelte-en2qvf");
805
811
  },
806
812
  m(r, l) {
807
- A(r, e, l), v(e, n);
813
+ W(r, e, l), v(e, t);
808
814
  },
809
- p: P,
810
- i: P,
811
- o: P,
815
+ p: B,
816
+ i: B,
817
+ o: B,
812
818
  d(r) {
813
- r && S(e);
819
+ r && P(e);
814
820
  }
815
821
  };
816
822
  }
817
- class pn extends me {
823
+ class Tn extends _e {
818
824
  constructor(e) {
819
- super(), _e(this, e, null, vn, he, {});
825
+ super(), me(this, e, null, pn, he, {});
820
826
  }
821
827
  }
822
- function lt(t, e, n) {
823
- const r = t.slice();
824
- return r[73] = e[n], r[75] = n, r;
828
+ function lt(n, e, t) {
829
+ const r = n.slice();
830
+ return r[74] = e[t], r[76] = t, r;
825
831
  }
826
- function it(t) {
827
- let e, n;
828
- return e = new bn({}), {
832
+ function it(n) {
833
+ let e, t;
834
+ return e = new wn({}), {
829
835
  c() {
830
836
  oe(e.$$.fragment);
831
837
  },
832
838
  m(r, l) {
833
- x(e, r, l), n = !0;
839
+ x(e, r, l), t = !0;
834
840
  },
835
841
  i(r) {
836
- n || (F(e.$$.fragment, r), n = !0);
842
+ t || (F(e.$$.fragment, r), t = !0);
837
843
  },
838
844
  o(r) {
839
- O(e.$$.fragment, r), n = !1;
845
+ Z(e.$$.fragment, r), t = !1;
840
846
  },
841
847
  d(r) {
842
848
  $(e, r);
843
849
  }
844
850
  };
845
851
  }
846
- function st(t) {
847
- let e, n, r, l, a;
848
- return n = new kn({}), {
852
+ function st(n) {
853
+ let e, t, r, l, a;
854
+ return t = new vn({}), {
849
855
  c() {
850
- e = C("button"), oe(n.$$.fragment), o(e, "type", "button"), o(
856
+ e = I("button"), oe(t.$$.fragment), o(e, "type", "button"), o(
851
857
  e,
852
858
  "title",
853
859
  /*reverseButtonTitle*/
854
- t[9]
860
+ n[9]
855
861
  ), o(e, "class", "svelte-1r7dvt7"), re(
856
862
  e,
857
863
  "active",
858
864
  /*reverseActive*/
859
- t[0]
865
+ n[0]
860
866
  );
861
867
  },
862
- m(s, c) {
863
- A(s, e, c), x(n, e, null), r = !0, l || (a = D(
868
+ m(s, f) {
869
+ W(s, e, f), x(t, e, null), r = !0, l || (a = D(
864
870
  e,
865
871
  "click",
866
872
  /*click_handler_2*/
867
- t[59]
873
+ n[60]
868
874
  ), l = !0);
869
875
  },
870
- p(s, c) {
871
- (!r || c[0] & /*reverseButtonTitle*/
876
+ p(s, f) {
877
+ (!r || f[0] & /*reverseButtonTitle*/
872
878
  512) && o(
873
879
  e,
874
880
  "title",
875
881
  /*reverseButtonTitle*/
876
882
  s[9]
877
- ), (!r || c[0] & /*reverseActive*/
883
+ ), (!r || f[0] & /*reverseActive*/
878
884
  1) && re(
879
885
  e,
880
886
  "active",
@@ -883,191 +889,191 @@ function st(t) {
883
889
  );
884
890
  },
885
891
  i(s) {
886
- r || (F(n.$$.fragment, s), r = !0);
892
+ r || (F(t.$$.fragment, s), r = !0);
887
893
  },
888
894
  o(s) {
889
- O(n.$$.fragment, s), r = !1;
895
+ Z(t.$$.fragment, s), r = !1;
890
896
  },
891
897
  d(s) {
892
- s && S(e), $(n), l = !1, a();
898
+ s && P(e), $(t), l = !1, a();
893
899
  }
894
900
  };
895
901
  }
896
- function Tn(t) {
897
- let e, n = [], r = /* @__PURE__ */ new Map(), l, a, s, c = (
902
+ function Mn(n) {
903
+ let e, t = [], r = /* @__PURE__ */ new Map(), l, a, s, f = (
898
904
  /*listFeatures*/
899
- t[12]
905
+ n[12]
900
906
  );
901
- const d = (f) => (
907
+ const d = (c) => (
902
908
  /*feature*/
903
- f[73].id + /*feature*/
904
- (f[73].address ? "," + /*feature*/
905
- f[73].address : "")
909
+ c[74].id + /*feature*/
910
+ (c[74].address ? "," + /*feature*/
911
+ c[74].address : "")
906
912
  );
907
- for (let f = 0; f < c.length; f += 1) {
908
- let _ = lt(t, c, f), k = d(_);
909
- r.set(k, n[f] = ot(k, _));
913
+ for (let c = 0; c < f.length; c += 1) {
914
+ let m = lt(n, f, c), b = d(m);
915
+ r.set(b, t[c] = ot(b, m));
910
916
  }
911
917
  return {
912
918
  c() {
913
- e = C("ul");
914
- for (let f = 0; f < n.length; f += 1)
915
- n[f].c();
919
+ e = I("ul");
920
+ for (let c = 0; c < t.length; c += 1)
921
+ t[c].c();
916
922
  o(e, "class", "svelte-1r7dvt7");
917
923
  },
918
- m(f, _) {
919
- A(f, e, _);
920
- for (let k = 0; k < n.length; k += 1)
921
- n[k] && n[k].m(e, null);
924
+ m(c, m) {
925
+ W(c, e, m);
926
+ for (let b = 0; b < t.length; b += 1)
927
+ t[b] && t[b].m(e, null);
922
928
  l = !0, a || (s = [
923
929
  D(
924
930
  e,
925
931
  "mouseleave",
926
932
  /*mouseleave_handler*/
927
- t[63]
933
+ n[64]
928
934
  ),
929
935
  D(
930
936
  e,
931
937
  "blur",
932
938
  /*blur_handler_1*/
933
- t[64]
939
+ n[65]
934
940
  )
935
941
  ], a = !0);
936
942
  },
937
- p(f, _) {
938
- _[0] & /*listFeatures, showPlaceType, selectedItemIndex, pick*/
939
- 2110464 && (c = /*listFeatures*/
940
- f[12], Se(), n = nn(n, _, d, 1, f, c, r, e, tn, ot, null, lt), Ie());
943
+ p(c, m) {
944
+ m[0] & /*listFeatures, showPlaceType, selectedItemIndex, missingIconsCache, pick*/
945
+ 4469760 && (f = /*listFeatures*/
946
+ c[12], Be(), t = rn(t, m, d, 1, c, f, r, e, nn, ot, null, lt), Pe());
941
947
  },
942
- i(f) {
948
+ i(c) {
943
949
  if (!l) {
944
- for (let _ = 0; _ < c.length; _ += 1)
945
- F(n[_]);
950
+ for (let m = 0; m < f.length; m += 1)
951
+ F(t[m]);
946
952
  l = !0;
947
953
  }
948
954
  },
949
- o(f) {
950
- for (let _ = 0; _ < n.length; _ += 1)
951
- O(n[_]);
955
+ o(c) {
956
+ for (let m = 0; m < t.length; m += 1)
957
+ Z(t[m]);
952
958
  l = !1;
953
959
  },
954
- d(f) {
955
- f && S(e);
956
- for (let _ = 0; _ < n.length; _ += 1)
957
- n[_].d();
960
+ d(c) {
961
+ c && P(e);
962
+ for (let m = 0; m < t.length; m += 1)
963
+ t[m].d();
958
964
  a = !1, ee(s);
959
965
  }
960
966
  };
961
967
  }
962
- function Mn(t) {
963
- let e, n, r, l, a, s;
964
- return n = new yt({}), {
968
+ function Cn(n) {
969
+ let e, t, r, l, a, s;
970
+ return t = new yt({}), {
965
971
  c() {
966
- e = C("div"), oe(n.$$.fragment), r = V(), l = C("div"), a = se(
972
+ e = I("div"), oe(t.$$.fragment), r = V(), l = I("div"), a = se(
967
973
  /*noResultsMessage*/
968
- t[7]
974
+ n[7]
969
975
  ), o(l, "class", "svelte-1r7dvt7"), o(e, "class", "no-results svelte-1r7dvt7");
970
976
  },
971
- m(c, d) {
972
- A(c, e, d), x(n, e, null), v(e, r), v(e, l), v(l, a), s = !0;
977
+ m(f, d) {
978
+ W(f, e, d), x(t, e, null), v(e, r), v(e, l), v(l, a), s = !0;
973
979
  },
974
- p(c, d) {
980
+ p(f, d) {
975
981
  (!s || d[0] & /*noResultsMessage*/
976
982
  128) && Me(
977
983
  a,
978
984
  /*noResultsMessage*/
979
- c[7]
985
+ f[7]
980
986
  );
981
987
  },
982
- i(c) {
983
- s || (F(n.$$.fragment, c), s = !0);
988
+ i(f) {
989
+ s || (F(t.$$.fragment, f), s = !0);
984
990
  },
985
- o(c) {
986
- O(n.$$.fragment, c), s = !1;
991
+ o(f) {
992
+ Z(t.$$.fragment, f), s = !1;
987
993
  },
988
- d(c) {
989
- c && S(e), $(n);
994
+ d(f) {
995
+ f && P(e), $(t);
990
996
  }
991
997
  };
992
998
  }
993
- function Rn(t) {
994
- let e = "", n;
999
+ function Rn(n) {
1000
+ let e = "", t;
995
1001
  return {
996
1002
  c() {
997
- n = se(e);
1003
+ t = se(e);
998
1004
  },
999
1005
  m(r, l) {
1000
- A(r, n, l);
1006
+ W(r, t, l);
1001
1007
  },
1002
- p: P,
1003
- i: P,
1004
- o: P,
1008
+ p: B,
1009
+ i: B,
1010
+ o: B,
1005
1011
  d(r) {
1006
- r && S(n);
1012
+ r && P(t);
1007
1013
  }
1008
1014
  };
1009
1015
  }
1010
- function Ln(t) {
1011
- let e, n, r, l, a, s, c, d, f, _, k;
1012
- return n = new yt({}), d = new gt({}), {
1016
+ function Ln(n) {
1017
+ let e, t, r, l, a, s, f, d, c, m, b;
1018
+ return t = new yt({}), d = new gt({}), {
1013
1019
  c() {
1014
- e = C("div"), oe(n.$$.fragment), r = V(), l = C("div"), a = se(
1020
+ e = I("div"), oe(t.$$.fragment), r = V(), l = I("div"), a = se(
1015
1021
  /*errorMessage*/
1016
- t[6]
1017
- ), s = V(), c = C("button"), oe(d.$$.fragment), o(l, "class", "svelte-1r7dvt7"), o(c, "class", "svelte-1r7dvt7"), o(e, "class", "error svelte-1r7dvt7");
1022
+ n[6]
1023
+ ), s = V(), f = I("button"), oe(d.$$.fragment), o(l, "class", "svelte-1r7dvt7"), o(f, "class", "svelte-1r7dvt7"), o(e, "class", "error svelte-1r7dvt7");
1018
1024
  },
1019
- m(b, E) {
1020
- A(b, e, E), x(n, e, null), v(e, r), v(e, l), v(l, a), v(e, s), v(e, c), x(d, c, null), f = !0, _ || (k = D(
1021
- c,
1025
+ m(y, E) {
1026
+ W(y, e, E), x(t, e, null), v(e, r), v(e, l), v(l, a), v(e, s), v(e, f), x(d, f, null), c = !0, m || (b = D(
1027
+ f,
1022
1028
  "click",
1023
1029
  /*click_handler_3*/
1024
- t[60]
1025
- ), _ = !0);
1030
+ n[61]
1031
+ ), m = !0);
1026
1032
  },
1027
- p(b, E) {
1028
- (!f || E[0] & /*errorMessage*/
1033
+ p(y, E) {
1034
+ (!c || E[0] & /*errorMessage*/
1029
1035
  64) && Me(
1030
1036
  a,
1031
1037
  /*errorMessage*/
1032
- b[6]
1038
+ y[6]
1033
1039
  );
1034
1040
  },
1035
- i(b) {
1036
- f || (F(n.$$.fragment, b), F(d.$$.fragment, b), f = !0);
1041
+ i(y) {
1042
+ c || (F(t.$$.fragment, y), F(d.$$.fragment, y), c = !0);
1037
1043
  },
1038
- o(b) {
1039
- O(n.$$.fragment, b), O(d.$$.fragment, b), f = !1;
1044
+ o(y) {
1045
+ Z(t.$$.fragment, y), Z(d.$$.fragment, y), c = !1;
1040
1046
  },
1041
- d(b) {
1042
- b && S(e), $(n), $(d), _ = !1, k();
1047
+ d(y) {
1048
+ y && P(e), $(t), $(d), m = !1, b();
1043
1049
  }
1044
1050
  };
1045
1051
  }
1046
- function ot(t, e) {
1047
- let n, r, l;
1052
+ function ot(n, e) {
1053
+ let t, r, l;
1048
1054
  function a() {
1049
1055
  return (
1050
1056
  /*mouseenter_handler*/
1051
- e[61](
1057
+ e[62](
1052
1058
  /*i*/
1053
- e[75]
1059
+ e[76]
1054
1060
  )
1055
1061
  );
1056
1062
  }
1057
1063
  function s() {
1058
1064
  return (
1059
1065
  /*focus_handler_1*/
1060
- e[62](
1066
+ e[63](
1061
1067
  /*feature*/
1062
- e[73]
1068
+ e[74]
1063
1069
  )
1064
1070
  );
1065
1071
  }
1066
- return r = new gn({
1072
+ return r = new yn({
1067
1073
  props: {
1068
1074
  feature: (
1069
1075
  /*feature*/
1070
- e[73]
1076
+ e[74]
1071
1077
  ),
1072
1078
  showPlaceType: (
1073
1079
  /*showPlaceType*/
@@ -1076,62 +1082,66 @@ function ot(t, e) {
1076
1082
  selected: (
1077
1083
  /*selectedItemIndex*/
1078
1084
  e[13] === /*i*/
1079
- e[75]
1085
+ e[76]
1086
+ ),
1087
+ missingIconsCache: (
1088
+ /*missingIconsCache*/
1089
+ e[18]
1080
1090
  )
1081
1091
  }
1082
1092
  }), r.$on("mouseenter", a), r.$on("focus", s), {
1083
- key: t,
1093
+ key: n,
1084
1094
  first: null,
1085
1095
  c() {
1086
- n = Kt(), oe(r.$$.fragment), this.first = n;
1096
+ t = Vt(), oe(r.$$.fragment), this.first = t;
1087
1097
  },
1088
- m(c, d) {
1089
- A(c, n, d), x(r, c, d), l = !0;
1098
+ m(f, d) {
1099
+ W(f, t, d), x(r, f, d), l = !0;
1090
1100
  },
1091
- p(c, d) {
1092
- e = c;
1093
- const f = {};
1101
+ p(f, d) {
1102
+ e = f;
1103
+ const c = {};
1094
1104
  d[0] & /*listFeatures*/
1095
- 4096 && (f.feature = /*feature*/
1096
- e[73]), d[0] & /*showPlaceType*/
1097
- 1024 && (f.showPlaceType = /*showPlaceType*/
1105
+ 4096 && (c.feature = /*feature*/
1106
+ e[74]), d[0] & /*showPlaceType*/
1107
+ 1024 && (c.showPlaceType = /*showPlaceType*/
1098
1108
  e[10]), d[0] & /*selectedItemIndex, listFeatures*/
1099
- 12288 && (f.selected = /*selectedItemIndex*/
1109
+ 12288 && (c.selected = /*selectedItemIndex*/
1100
1110
  e[13] === /*i*/
1101
- e[75]), r.$set(f);
1111
+ e[76]), r.$set(c);
1102
1112
  },
1103
- i(c) {
1104
- l || (F(r.$$.fragment, c), l = !0);
1113
+ i(f) {
1114
+ l || (F(r.$$.fragment, f), l = !0);
1105
1115
  },
1106
- o(c) {
1107
- O(r.$$.fragment, c), l = !1;
1116
+ o(f) {
1117
+ Z(r.$$.fragment, f), l = !1;
1108
1118
  },
1109
- d(c) {
1110
- c && S(n), $(r, c);
1119
+ d(f) {
1120
+ f && P(t), $(r, f);
1111
1121
  }
1112
1122
  };
1113
1123
  }
1114
- function En(t) {
1115
- let e, n, r, l, a, s, c, d, f, _, k, b, E, z, p, g, W, B, G, Z;
1116
- l = new pn({}), _ = new gt({});
1124
+ function En(n) {
1125
+ let e, t, r, l, a, s, f, d, c, m, b, y, E, S, T, M, k, z, G, O;
1126
+ l = new Tn({}), m = new gt({});
1117
1127
  let h = (
1118
1128
  /*abortController*/
1119
- t[17] && it()
1120
- ), y = (
1129
+ n[17] && it()
1130
+ ), g = (
1121
1131
  /*enableReverse*/
1122
- t[5] === !0 && st(t)
1132
+ n[5] === !0 && st(n)
1123
1133
  );
1124
- const M = (
1134
+ const C = (
1125
1135
  /*#slots*/
1126
- t[51].default
1127
- ), R = Zt(
1128
- M,
1129
- t,
1136
+ n[52].default
1137
+ ), R = Ut(
1138
+ C,
1139
+ n,
1130
1140
  /*$$scope*/
1131
- t[50],
1141
+ n[51],
1132
1142
  null
1133
- ), m = [Ln, Rn, Mn, Tn], w = [];
1134
- function H(u, I) {
1143
+ ), _ = [Ln, Rn, Cn, Mn], w = [];
1144
+ function H(u, A) {
1135
1145
  var Y, ce;
1136
1146
  return (
1137
1147
  /*error*/
@@ -1148,159 +1158,159 @@ function En(t) {
1148
1158
  )
1149
1159
  );
1150
1160
  }
1151
- return ~(p = H(t)) && (g = w[p] = m[p](t)), {
1161
+ return ~(T = H(n)) && (M = w[T] = _[T](n)), {
1152
1162
  c() {
1153
- e = C("form"), n = C("div"), r = C("button"), oe(l.$$.fragment), a = V(), s = C("input"), c = V(), d = C("div"), f = C("button"), oe(_.$$.fragment), k = V(), h && h.c(), b = V(), y && y.c(), E = V(), R && R.c(), z = V(), g && g.c(), o(r, "class", "search-button svelte-1r7dvt7"), o(r, "type", "button"), o(
1163
+ e = I("form"), t = I("div"), r = I("button"), oe(l.$$.fragment), a = V(), s = I("input"), f = V(), d = I("div"), c = I("button"), oe(m.$$.fragment), b = V(), h && h.c(), y = V(), g && g.c(), E = V(), R && R.c(), S = V(), M && M.c(), o(r, "class", "search-button svelte-1r7dvt7"), o(r, "type", "button"), o(
1154
1164
  s,
1155
1165
  "placeholder",
1156
1166
  /*placeholder*/
1157
- t[8]
1167
+ n[8]
1158
1168
  ), o(
1159
1169
  s,
1160
1170
  "aria-label",
1161
1171
  /*placeholder*/
1162
- t[8]
1163
- ), o(s, "class", "svelte-1r7dvt7"), o(f, "type", "button"), o(
1164
- f,
1172
+ n[8]
1173
+ ), o(s, "class", "svelte-1r7dvt7"), o(c, "type", "button"), o(
1174
+ c,
1165
1175
  "title",
1166
1176
  /*clearButtonTitle*/
1167
- t[3]
1168
- ), o(f, "class", "svelte-1r7dvt7"), o(d, "class", "clear-button-container svelte-1r7dvt7"), re(
1177
+ n[3]
1178
+ ), o(c, "class", "svelte-1r7dvt7"), o(d, "class", "clear-button-container svelte-1r7dvt7"), re(
1169
1179
  d,
1170
1180
  "displayable",
1171
1181
  /*searchValue*/
1172
- t[1] !== ""
1173
- ), o(n, "class", "input-group svelte-1r7dvt7"), o(e, "tabindex", "0"), o(e, "class", W = $e(
1182
+ n[1] !== ""
1183
+ ), o(t, "class", "input-group svelte-1r7dvt7"), o(e, "tabindex", "0"), o(e, "class", k = $e(
1174
1184
  /*className*/
1175
- t[2]
1185
+ n[2]
1176
1186
  ) + " svelte-1r7dvt7"), re(
1177
1187
  e,
1178
1188
  "can-collapse",
1179
1189
  /*collapsed*/
1180
- t[4] && /*searchValue*/
1181
- t[1] === ""
1190
+ n[4] && /*searchValue*/
1191
+ n[1] === ""
1182
1192
  );
1183
1193
  },
1184
- m(u, I) {
1185
- A(u, e, I), v(e, n), v(n, r), x(l, r, null), v(n, a), v(n, s), t[53](s), et(
1194
+ m(u, A) {
1195
+ W(u, e, A), v(e, t), v(t, r), x(l, r, null), v(t, a), v(t, s), n[54](s), et(
1186
1196
  s,
1187
1197
  /*searchValue*/
1188
- t[1]
1189
- ), v(n, c), v(n, d), v(d, f), x(_, f, null), v(d, k), h && h.m(d, null), v(n, b), y && y.m(n, null), v(n, E), R && R.m(n, null), v(e, z), ~p && w[p].m(e, null), B = !0, G || (Z = [
1198
+ n[1]
1199
+ ), v(t, f), v(t, d), v(d, c), x(m, c, null), v(d, b), h && h.m(d, null), v(t, y), g && g.m(t, null), v(t, E), R && R.m(t, null), v(e, S), ~T && w[T].m(e, null), z = !0, G || (O = [
1190
1200
  D(
1191
1201
  r,
1192
1202
  "click",
1193
1203
  /*click_handler*/
1194
- t[52]
1204
+ n[53]
1195
1205
  ),
1196
1206
  D(
1197
1207
  s,
1198
1208
  "input",
1199
1209
  /*input_1_input_handler*/
1200
- t[54]
1210
+ n[55]
1201
1211
  ),
1202
1212
  D(
1203
1213
  s,
1204
1214
  "focus",
1205
1215
  /*focus_handler*/
1206
- t[55]
1216
+ n[56]
1207
1217
  ),
1208
1218
  D(
1209
1219
  s,
1210
1220
  "blur",
1211
1221
  /*blur_handler*/
1212
- t[56]
1222
+ n[57]
1213
1223
  ),
1214
1224
  D(
1215
1225
  s,
1216
1226
  "keydown",
1217
1227
  /*handleKeyDown*/
1218
- t[19]
1228
+ n[20]
1219
1229
  ),
1220
1230
  D(
1221
1231
  s,
1222
1232
  "input",
1223
1233
  /*input_handler*/
1224
- t[57]
1234
+ n[58]
1225
1235
  ),
1226
1236
  D(
1227
- f,
1237
+ c,
1228
1238
  "click",
1229
1239
  /*click_handler_1*/
1230
- t[58]
1240
+ n[59]
1231
1241
  ),
1232
- D(e, "submit", Vt(
1242
+ D(e, "submit", Ht(
1233
1243
  /*handleOnSubmit*/
1234
- t[18]
1244
+ n[19]
1235
1245
  ))
1236
1246
  ], G = !0);
1237
1247
  },
1238
- p(u, I) {
1239
- (!B || I[0] & /*placeholder*/
1248
+ p(u, A) {
1249
+ (!z || A[0] & /*placeholder*/
1240
1250
  256) && o(
1241
1251
  s,
1242
1252
  "placeholder",
1243
1253
  /*placeholder*/
1244
1254
  u[8]
1245
- ), (!B || I[0] & /*placeholder*/
1255
+ ), (!z || A[0] & /*placeholder*/
1246
1256
  256) && o(
1247
1257
  s,
1248
1258
  "aria-label",
1249
1259
  /*placeholder*/
1250
1260
  u[8]
1251
- ), I[0] & /*searchValue*/
1261
+ ), A[0] & /*searchValue*/
1252
1262
  2 && s.value !== /*searchValue*/
1253
1263
  u[1] && et(
1254
1264
  s,
1255
1265
  /*searchValue*/
1256
1266
  u[1]
1257
- ), (!B || I[0] & /*clearButtonTitle*/
1267
+ ), (!z || A[0] & /*clearButtonTitle*/
1258
1268
  8) && o(
1259
- f,
1269
+ c,
1260
1270
  "title",
1261
1271
  /*clearButtonTitle*/
1262
1272
  u[3]
1263
1273
  ), /*abortController*/
1264
- u[17] ? h ? I[0] & /*abortController*/
1265
- 131072 && F(h, 1) : (h = it(), h.c(), F(h, 1), h.m(d, null)) : h && (Se(), O(h, 1, 1, () => {
1274
+ u[17] ? h ? A[0] & /*abortController*/
1275
+ 131072 && F(h, 1) : (h = it(), h.c(), F(h, 1), h.m(d, null)) : h && (Be(), Z(h, 1, 1, () => {
1266
1276
  h = null;
1267
- }), Ie()), (!B || I[0] & /*searchValue*/
1277
+ }), Pe()), (!z || A[0] & /*searchValue*/
1268
1278
  2) && re(
1269
1279
  d,
1270
1280
  "displayable",
1271
1281
  /*searchValue*/
1272
1282
  u[1] !== ""
1273
1283
  ), /*enableReverse*/
1274
- u[5] === !0 ? y ? (y.p(u, I), I[0] & /*enableReverse*/
1275
- 32 && F(y, 1)) : (y = st(u), y.c(), F(y, 1), y.m(n, E)) : y && (Se(), O(y, 1, 1, () => {
1276
- y = null;
1277
- }), Ie()), R && R.p && (!B || I[1] & /*$$scope*/
1278
- 524288) && qt(
1284
+ u[5] === !0 ? g ? (g.p(u, A), A[0] & /*enableReverse*/
1285
+ 32 && F(g, 1)) : (g = st(u), g.c(), F(g, 1), g.m(t, E)) : g && (Be(), Z(g, 1, 1, () => {
1286
+ g = null;
1287
+ }), Pe()), R && R.p && (!z || A[1] & /*$$scope*/
1288
+ 1048576) && Dt(
1279
1289
  R,
1280
- M,
1290
+ C,
1281
1291
  u,
1282
1292
  /*$$scope*/
1283
- u[50],
1284
- B ? Ut(
1285
- M,
1293
+ u[51],
1294
+ z ? qt(
1295
+ C,
1286
1296
  /*$$scope*/
1287
- u[50],
1288
- I,
1297
+ u[51],
1298
+ A,
1289
1299
  null
1290
- ) : Dt(
1300
+ ) : Kt(
1291
1301
  /*$$scope*/
1292
- u[50]
1302
+ u[51]
1293
1303
  ),
1294
1304
  null
1295
1305
  );
1296
- let Y = p;
1297
- p = H(u), p === Y ? ~p && w[p].p(u, I) : (g && (Se(), O(w[Y], 1, 1, () => {
1306
+ let Y = T;
1307
+ T = H(u), T === Y ? ~T && w[T].p(u, A) : (M && (Be(), Z(w[Y], 1, 1, () => {
1298
1308
  w[Y] = null;
1299
- }), Ie()), ~p ? (g = w[p], g ? g.p(u, I) : (g = w[p] = m[p](u), g.c()), F(g, 1), g.m(e, null)) : g = null), (!B || I[0] & /*className*/
1300
- 4 && W !== (W = $e(
1309
+ }), Pe()), ~T ? (M = w[T], M ? M.p(u, A) : (M = w[T] = _[T](u), M.c()), F(M, 1), M.m(e, null)) : M = null), (!z || A[0] & /*className*/
1310
+ 4 && k !== (k = $e(
1301
1311
  /*className*/
1302
1312
  u[2]
1303
- ) + " svelte-1r7dvt7")) && o(e, "class", W), (!B || I[0] & /*className, collapsed, searchValue*/
1313
+ ) + " svelte-1r7dvt7")) && o(e, "class", k), (!z || A[0] & /*className, collapsed, searchValue*/
1304
1314
  22) && re(
1305
1315
  e,
1306
1316
  "can-collapse",
@@ -1310,26 +1320,26 @@ function En(t) {
1310
1320
  );
1311
1321
  },
1312
1322
  i(u) {
1313
- B || (F(l.$$.fragment, u), F(_.$$.fragment, u), F(h), F(y), F(R, u), F(g), B = !0);
1323
+ z || (F(l.$$.fragment, u), F(m.$$.fragment, u), F(h), F(g), F(R, u), F(M), z = !0);
1314
1324
  },
1315
1325
  o(u) {
1316
- O(l.$$.fragment, u), O(_.$$.fragment, u), O(h), O(y), O(R, u), O(g), B = !1;
1326
+ Z(l.$$.fragment, u), Z(m.$$.fragment, u), Z(h), Z(g), Z(R, u), Z(M), z = !1;
1317
1327
  },
1318
1328
  d(u) {
1319
- u && S(e), $(l), t[53](null), $(_), h && h.d(), y && y.d(), R && R.d(u), ~p && w[p].d(), G = !1, ee(Z);
1329
+ u && P(e), $(l), n[54](null), $(m), h && h.d(), g && g.d(), R && R.d(u), ~T && w[T].d(), G = !1, ee(O);
1320
1330
  }
1321
1331
  };
1322
1332
  }
1323
- function Cn(t, e, n) {
1333
+ function In(n, e, t) {
1324
1334
  const r = e[1], l = e[0], a = r - l;
1325
- return t === r && n ? t : ((t - l) % a + a) % a + l;
1335
+ return n === r && t ? n : ((n - l) % a + a) % a + l;
1326
1336
  }
1327
- function ct(t) {
1328
- let e = [...t];
1337
+ function ct(n) {
1338
+ let e = [...n];
1329
1339
  return e[2] < e[0] && (e[2] += 360), e;
1330
1340
  }
1331
- function zn(t, e, n) {
1332
- let r, { $$slots: l = {}, $$scope: a } = e, { class: s = void 0 } = e, { apiKey: c } = e, { bbox: d = void 0 } = e, { clearButtonTitle: f = "clear" } = e, { clearOnBlur: _ = !1 } = e, { collapsed: k = !1 } = e, { country: b = void 0 } = e, { debounceSearch: E = 200 } = e, { enableReverse: z = !1 } = e, { errorMessage: p = "Something went wrong…" } = e, { filter: g = () => !0 } = e, { flyTo: W = !0 } = e, { fuzzyMatch: B = !0 } = e, { language: G = void 0 } = e, { limit: Z = void 0 } = e, { mapController: h = void 0 } = e, { minLength: y = 2 } = e, { noResultsMessage: M = "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: R = "Search" } = e, { proximity: m = void 0 } = e, { reverseActive: w = z === "always" } = e, { reverseButtonTitle: H = "toggle reverse geocoding" } = e, { searchValue: u = "" } = e, { showFullGeometry: I = !0 } = e, { showPlaceType: Y = "ifNeeded" } = e, { showResultsWhileTyping: ce = !0 } = e, { trackProximity: Le = !0 } = e, { types: fe = void 0 } = e, { zoom: Ee = 16 } = e, { maxZoom: pe = 18 } = e, { apiUrl: Ae = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: We = {} } = e;
1341
+ function Sn(n, e, t) {
1342
+ let r, { $$slots: l = {}, $$scope: a } = e, { class: s = void 0 } = e, { apiKey: f } = e, { bbox: d = void 0 } = e, { clearButtonTitle: c = "clear" } = e, { clearOnBlur: m = !1 } = e, { collapsed: b = !1 } = e, { country: y = void 0 } = e, { debounceSearch: E = 200 } = e, { enableReverse: S = !1 } = e, { errorMessage: T = "Something went wrong…" } = e, { filter: M = () => !0 } = e, { flyTo: k = !0 } = e, { fuzzyMatch: z = !0 } = e, { language: G = void 0 } = e, { limit: O = void 0 } = e, { mapController: h = void 0 } = e, { minLength: g = 2 } = e, { noResultsMessage: C = "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: R = "Search" } = e, { proximity: _ = void 0 } = e, { reverseActive: w = S === "always" } = e, { reverseButtonTitle: H = "toggle reverse geocoding" } = e, { searchValue: u = "" } = e, { showFullGeometry: A = !0 } = e, { showPlaceType: Y = "ifNeeded" } = e, { showResultsWhileTyping: ce = !0 } = e, { trackProximity: Re = !0 } = e, { types: fe = void 0 } = e, { zoom: Le = 16 } = e, { maxZoom: pe = 18 } = e, { apiUrl: Ae = "https://api.maptiler.com/geocoding" } = e, { fetchParameters: We = {} } = e;
1333
1343
  function bt() {
1334
1344
  Q.focus();
1335
1345
  }
@@ -1337,44 +1347,44 @@ function zn(t, e, n) {
1337
1347
  Q.blur();
1338
1348
  }
1339
1349
  function He(i, j = !0) {
1340
- n(1, u = i), j ? (n(13, N = -1), Je()) : (Fe(), setTimeout(() => {
1350
+ t(1, u = i), j ? (t(13, N = -1), Je()) : (Fe(), setTimeout(() => {
1341
1351
  Q.focus(), Q.select();
1342
1352
  }));
1343
1353
  }
1344
- let ge = !1, L, U, T, Qe = "", Q, N = -1, J, Ce = [], ue, ye, ze, Ne;
1345
- const te = Xt();
1346
- Jt(() => {
1354
+ let ge = !1, L, U, p, Qe = "", Q, N = -1, J, Ee = [], ue, ye, Ie, Ne;
1355
+ const kt = /* @__PURE__ */ new Set(), te = Yt();
1356
+ Xt(() => {
1347
1357
  h && (h.setEventHandler(void 0), h.indicateReverse(!1), h.setSelectedMarker(-1), h.setMarkers(void 0, void 0));
1348
1358
  });
1349
1359
  function Je(i) {
1350
1360
  if (ye && (clearTimeout(ye), ye = void 0), N > -1 && L)
1351
- n(47, T = L[N]), n(1, u = T.place_name.replace(/,.*/, "")), n(16, J = void 0), n(46, U = void 0), n(13, N = -1);
1361
+ t(48, p = L[N]), t(1, u = p.place_name.replace(/,.*/, "")), t(16, J = void 0), t(47, U = void 0), t(13, N = -1);
1352
1362
  else if (u) {
1353
1363
  const j = i || !Xe();
1354
1364
  je(u, { exact: !0 }).then(() => {
1355
- n(46, U = L), n(47, T = void 0), j && kt();
1356
- }).catch((X) => n(16, J = X));
1365
+ t(47, U = L), t(48, p = void 0), j && vt();
1366
+ }).catch((X) => t(16, J = X));
1357
1367
  }
1358
1368
  }
1359
1369
  function Xe() {
1360
1370
  return /^-?\d+(\.\d+)?,-?\d+(\.\d+)?$/.test(u);
1361
1371
  }
1362
1372
  async function je(i, { byId: j = !1, exact: X = !1 } = {}) {
1363
- n(16, J = void 0);
1373
+ t(16, J = void 0);
1364
1374
  const be = Xe(), K = new URLSearchParams();
1365
- G != null && K.set("language", Array.isArray(G) ? G.join(",") : G), fe && K.set("types", fe.join(",")), be || (d && K.set("bbox", d.map((ne) => ne.toFixed(6)).join(",")), b && K.set("country", Array.isArray(b) ? b.join(",") : b)), j || (m && K.set("proximity", m.map((ne) => ne.toFixed(6)).join(",")), (X || !ce) && K.set("autocomplete", "false"), K.set("fuzzyMatch", String(B))), Z !== void 0 && (!be || (fe == null ? void 0 : fe.length) === 1) && K.set("limit", String(Z)), K.set("key", c);
1375
+ G != null && K.set("language", Array.isArray(G) ? G.join(",") : G), fe && K.set("types", fe.join(",")), be || (d && K.set("bbox", d.map((ne) => ne.toFixed(6)).join(",")), y && K.set("country", Array.isArray(y) ? y.join(",") : y)), j || (_ && K.set("proximity", _.map((ne) => ne.toFixed(6)).join(",")), (X || !ce) && K.set("autocomplete", "false"), K.set("fuzzyMatch", String(z))), O !== void 0 && (!be || (fe == null ? void 0 : fe.length) === 1) && K.set("limit", String(O)), K.set("key", f);
1366
1376
  const ae = Ae + "/" + encodeURIComponent(i) + ".json?" + K.toString();
1367
1377
  if (ae === Qe) {
1368
- j ? (n(12, L = void 0), n(47, T = Ce[0])) : n(12, L = Ce);
1378
+ j ? (t(12, L = void 0), t(48, p = Ee[0])) : t(12, L = Ee);
1369
1379
  return;
1370
1380
  }
1371
1381
  Qe = ae, ue == null || ue.abort();
1372
1382
  const q = new AbortController();
1373
- n(17, ue = q);
1383
+ t(17, ue = q);
1374
1384
  let Oe;
1375
1385
  try {
1376
1386
  Oe = await fetch(ae, { signal: q.signal, ...We }).finally(() => {
1377
- q === ue && n(17, ue = void 0);
1387
+ q === ue && t(17, ue = void 0);
1378
1388
  });
1379
1389
  } catch (ne) {
1380
1390
  if (ne && typeof ne == "object" && "name" in ne && ne.name === "AbortError")
@@ -1384,81 +1394,81 @@ function zn(t, e, n) {
1384
1394
  if (!Oe.ok)
1385
1395
  throw new Error();
1386
1396
  const Ze = await Oe.json();
1387
- te("response", { url: ae, featureCollection: Ze }), j ? (n(12, L = void 0), n(47, T = Ze.features[0]), Ce = [T]) : (n(12, L = Ze.features.filter(g)), Ce = L, be && Q.focus());
1397
+ te("response", { url: ae, featureCollection: Ze }), j ? (t(12, L = void 0), t(48, p = Ze.features[0]), Ee = [p]) : (t(12, L = Ze.features.filter(M)), Ee = L, be && Q.focus());
1388
1398
  }
1389
- function kt() {
1399
+ function vt() {
1390
1400
  var X, be, K, ae;
1391
- if (!(U != null && U.length) || !W)
1401
+ if (!(U != null && U.length) || !k)
1392
1402
  return;
1393
1403
  const i = [180, 90, -180, -90], j = !U.some((q) => !q.matching_text);
1394
1404
  for (const q of U)
1395
1405
  (j || !q.matching_text) && (i[0] = Math.min(i[0], ((X = q.bbox) == null ? void 0 : X[0]) ?? q.center[0]), i[1] = Math.min(i[1], ((be = q.bbox) == null ? void 0 : be[1]) ?? q.center[1]), i[2] = Math.max(i[2], ((K = q.bbox) == null ? void 0 : K[2]) ?? q.center[0]), i[3] = Math.max(i[3], ((ae = q.bbox) == null ? void 0 : ae[3]) ?? q.center[1]));
1396
- h && U.length > 0 && (T && i[0] === i[2] && i[1] === i[3] ? h.flyTo(T.center, Ee) : h.fitBounds(ct(i), 50, pe));
1397
- }
1398
- function vt(i) {
1399
- n(0, w = z === "always"), He(Cn(i[0], [-180, 180], !0).toFixed(6) + "," + i[1].toFixed(6));
1406
+ h && U.length > 0 && (p && i[0] === i[2] && i[1] === i[3] ? h.flyTo(p.center, Le) : h.fitBounds(ct(i), 50, pe));
1400
1407
  }
1401
1408
  function pt(i) {
1409
+ t(0, w = S === "always"), He(In(i[0], [-180, 180], !0).toFixed(6) + "," + i[1].toFixed(6));
1410
+ }
1411
+ function Tt(i) {
1402
1412
  if (!L)
1403
1413
  return;
1404
1414
  let j = i.key === "ArrowDown" ? 1 : i.key === "ArrowUp" ? -1 : 0;
1405
- j ? (N === -1 && j === -1 && n(13, N = L.length), n(13, N += j), N >= L.length && n(13, N = -1), i.preventDefault()) : ["ArrowLeft", "ArrowRight", "Home", "End"].includes(i.key) && n(13, N = -1);
1415
+ j ? (N === -1 && j === -1 && t(13, N = L.length), t(13, N += j), N >= L.length && t(13, N = -1), i.preventDefault()) : ["ArrowLeft", "ArrowRight", "Home", "End"].includes(i.key) && t(13, N = -1);
1406
1416
  }
1407
1417
  function Fe(i = !0) {
1408
- if (n(16, J = void 0), ce) {
1409
- if (ye && clearTimeout(ye), u.length < y)
1418
+ if (t(16, J = void 0), ce) {
1419
+ if (ye && clearTimeout(ye), u.length < g)
1410
1420
  return;
1411
1421
  const j = u;
1412
1422
  ye = window.setTimeout(
1413
1423
  () => {
1414
- je(j).catch((X) => n(16, J = X));
1424
+ je(j).catch((X) => t(16, J = X));
1415
1425
  },
1416
1426
  i ? E : 0
1417
1427
  );
1418
1428
  } else
1419
- n(12, L = void 0), n(16, J = void 0);
1429
+ t(12, L = void 0), t(16, J = void 0);
1420
1430
  }
1421
1431
  function Ge(i) {
1422
- n(47, T = i), n(1, u = i.place_name), n(13, N = -1);
1432
+ t(48, p = i), t(1, u = i.place_name), t(13, N = -1);
1423
1433
  }
1424
- const Tt = () => Q.focus();
1425
- function Mt(i) {
1434
+ const Mt = () => Q.focus();
1435
+ function Ct(i) {
1426
1436
  De[i ? "unshift" : "push"](() => {
1427
- Q = i, n(15, Q);
1437
+ Q = i, t(15, Q);
1428
1438
  });
1429
1439
  }
1430
1440
  function Rt() {
1431
- u = this.value, n(1, u), n(11, ge), n(25, _);
1441
+ u = this.value, t(1, u), t(11, ge), t(26, m);
1432
1442
  }
1433
- const Lt = () => n(11, ge = !0), Et = () => n(11, ge = !1), Ct = () => Fe(), zt = () => {
1434
- n(1, u = ""), Q.focus();
1435
- }, Bt = () => n(0, w = !w), Pt = () => n(16, J = void 0), St = (i) => n(13, N = i), It = (i) => Ge(i), At = () => n(13, N = -1), Wt = () => {
1443
+ const Lt = () => t(11, ge = !0), Et = () => t(11, ge = !1), It = () => Fe(), St = () => {
1444
+ t(1, u = ""), Q.focus();
1445
+ }, zt = () => t(0, w = !w), Bt = () => t(16, J = void 0), Pt = (i) => t(13, N = i), At = (i) => Ge(i), Wt = () => t(13, N = -1), Nt = () => {
1436
1446
  };
1437
- return t.$$set = (i) => {
1438
- "class" in i && n(2, s = i.class), "apiKey" in i && n(23, c = i.apiKey), "bbox" in i && n(24, d = i.bbox), "clearButtonTitle" in i && n(3, f = i.clearButtonTitle), "clearOnBlur" in i && n(25, _ = i.clearOnBlur), "collapsed" in i && n(4, k = i.collapsed), "country" in i && n(26, b = i.country), "debounceSearch" in i && n(27, E = i.debounceSearch), "enableReverse" in i && n(5, z = i.enableReverse), "errorMessage" in i && n(6, p = i.errorMessage), "filter" in i && n(28, g = i.filter), "flyTo" in i && n(29, W = i.flyTo), "fuzzyMatch" in i && n(30, B = i.fuzzyMatch), "language" in i && n(31, G = i.language), "limit" in i && n(32, Z = i.limit), "mapController" in i && n(33, h = i.mapController), "minLength" in i && n(34, y = i.minLength), "noResultsMessage" in i && n(7, M = i.noResultsMessage), "placeholder" in i && n(8, R = i.placeholder), "proximity" in i && n(22, m = i.proximity), "reverseActive" in i && n(0, w = i.reverseActive), "reverseButtonTitle" in i && n(9, H = i.reverseButtonTitle), "searchValue" in i && n(1, u = i.searchValue), "showFullGeometry" in i && n(35, I = i.showFullGeometry), "showPlaceType" in i && n(10, Y = i.showPlaceType), "showResultsWhileTyping" in i && n(36, ce = i.showResultsWhileTyping), "trackProximity" in i && n(37, Le = i.trackProximity), "types" in i && n(38, fe = i.types), "zoom" in i && n(39, Ee = i.zoom), "maxZoom" in i && n(40, pe = i.maxZoom), "apiUrl" in i && n(41, Ae = i.apiUrl), "fetchParameters" in i && n(42, We = i.fetchParameters), "$$scope" in i && n(50, a = i.$$scope);
1439
- }, t.$$.update = () => {
1440
- if (t.$$.dirty[1] & /*trackProximity*/
1441
- 64 && (Le || n(22, m = void 0)), t.$$.dirty[0] & /*focused, clearOnBlur*/
1442
- 33556480 && setTimeout(() => {
1443
- n(14, ze = ge), _ && !ge && n(1, u = "");
1444
- }), t.$$.dirty[0] & /*searchValue, listFeatures*/
1445
- 4098 | t.$$.dirty[1] & /*minLength*/
1446
- 8 && u.length < y && (n(47, T = void 0), n(12, L = void 0), n(16, J = void 0), n(46, U = L)), t.$$.dirty[1] & /*showFullGeometry, picked*/
1447
- 65552 && I && T && !T.address && T.geometry.type === "Point" && je(T.id, { byId: !0 }).catch((i) => n(16, J = i)), t.$$.dirty[0] & /*flyTo*/
1448
- 536870912 | t.$$.dirty[1] & /*mapController, picked, prevIdToFly, maxZoom, zoom*/
1449
- 197380 && (h && T && T.id !== Ne && W && (!T.bbox || T.bbox[0] === T.bbox[2] && T.bbox[1] === T.bbox[3] ? h.flyTo(T.center, T.id.startsWith("poi.") || T.id.startsWith("address.") ? pe : Ee) : h.fitBounds(ct(T.bbox), 50, pe), n(12, L = void 0), n(46, U = void 0), n(13, N = -1)), n(48, Ne = T == null ? void 0 : T.id)), t.$$.dirty[0] & /*listFeatures*/
1450
- 4096 | t.$$.dirty[1] & /*markedFeatures*/
1451
- 32768 && U !== L && n(46, U = void 0), t.$$.dirty[1] & /*mapController, markedFeatures, picked*/
1452
- 98308 && h && h.setMarkers(U, T), t.$$.dirty[0] & /*searchValue*/
1453
- 2 && n(13, N = -1), t.$$.dirty[0] & /*reverseActive, listFeatures, focusedDelayed*/
1454
- 20481 | t.$$.dirty[1] & /*mapController, trackProximity*/
1455
- 68 && h && h.setEventHandler((i) => {
1447
+ return n.$$set = (i) => {
1448
+ "class" in i && t(2, s = i.class), "apiKey" in i && t(24, f = i.apiKey), "bbox" in i && t(25, d = i.bbox), "clearButtonTitle" in i && t(3, c = i.clearButtonTitle), "clearOnBlur" in i && t(26, m = i.clearOnBlur), "collapsed" in i && t(4, b = i.collapsed), "country" in i && t(27, y = i.country), "debounceSearch" in i && t(28, E = i.debounceSearch), "enableReverse" in i && t(5, S = i.enableReverse), "errorMessage" in i && t(6, T = i.errorMessage), "filter" in i && t(29, M = i.filter), "flyTo" in i && t(30, k = i.flyTo), "fuzzyMatch" in i && t(31, z = i.fuzzyMatch), "language" in i && t(32, G = i.language), "limit" in i && t(33, O = i.limit), "mapController" in i && t(34, h = i.mapController), "minLength" in i && t(35, g = i.minLength), "noResultsMessage" in i && t(7, C = i.noResultsMessage), "placeholder" in i && t(8, R = i.placeholder), "proximity" in i && t(23, _ = i.proximity), "reverseActive" in i && t(0, w = i.reverseActive), "reverseButtonTitle" in i && t(9, H = i.reverseButtonTitle), "searchValue" in i && t(1, u = i.searchValue), "showFullGeometry" in i && t(36, A = i.showFullGeometry), "showPlaceType" in i && t(10, Y = i.showPlaceType), "showResultsWhileTyping" in i && t(37, ce = i.showResultsWhileTyping), "trackProximity" in i && t(38, Re = i.trackProximity), "types" in i && t(39, fe = i.types), "zoom" in i && t(40, Le = i.zoom), "maxZoom" in i && t(41, pe = i.maxZoom), "apiUrl" in i && t(42, Ae = i.apiUrl), "fetchParameters" in i && t(43, We = i.fetchParameters), "$$scope" in i && t(51, a = i.$$scope);
1449
+ }, n.$$.update = () => {
1450
+ if (n.$$.dirty[1] & /*trackProximity*/
1451
+ 128 && (Re || t(23, _ = void 0)), n.$$.dirty[0] & /*focused, clearOnBlur*/
1452
+ 67110912 && setTimeout(() => {
1453
+ t(14, Ie = ge), m && !ge && t(1, u = "");
1454
+ }), n.$$.dirty[0] & /*searchValue, listFeatures*/
1455
+ 4098 | n.$$.dirty[1] & /*minLength*/
1456
+ 16 && u.length < g && (t(48, p = void 0), t(12, L = void 0), t(16, J = void 0), t(47, U = L)), n.$$.dirty[1] & /*showFullGeometry, picked*/
1457
+ 131104 && A && p && !p.address && p.geometry.type === "Point" && je(p.id, { byId: !0 }).catch((i) => t(16, J = i)), n.$$.dirty[0] & /*flyTo*/
1458
+ 1073741824 | n.$$.dirty[1] & /*mapController, picked, prevIdToFly, maxZoom, zoom*/
1459
+ 394760 && (h && p && p.id !== Ne && k && (!p.bbox || p.bbox[0] === p.bbox[2] && p.bbox[1] === p.bbox[3] ? h.flyTo(p.center, p.id.startsWith("poi.") || p.id.startsWith("address.") ? pe : Le) : h.fitBounds(ct(p.bbox), 50, pe), t(12, L = void 0), t(47, U = void 0), t(13, N = -1)), t(49, Ne = p == null ? void 0 : p.id)), n.$$.dirty[0] & /*listFeatures*/
1460
+ 4096 | n.$$.dirty[1] & /*markedFeatures*/
1461
+ 65536 && U !== L && t(47, U = void 0), n.$$.dirty[1] & /*mapController, markedFeatures, picked*/
1462
+ 196616 && h && h.setMarkers(U, p), n.$$.dirty[0] & /*searchValue*/
1463
+ 2 && t(13, N = -1), n.$$.dirty[0] & /*reverseActive, listFeatures, focusedDelayed*/
1464
+ 20481 | n.$$.dirty[1] & /*mapController, trackProximity*/
1465
+ 136 && h && h.setEventHandler((i) => {
1456
1466
  switch (i.type) {
1457
1467
  case "mapClick":
1458
- w && vt(i.coordinates);
1468
+ w && pt(i.coordinates);
1459
1469
  break;
1460
1470
  case "proximityChange":
1461
- n(22, m = Le ? i.proximity : void 0);
1471
+ t(23, _ = Re ? i.proximity : void 0);
1462
1472
  break;
1463
1473
  case "markerClick":
1464
1474
  {
@@ -1467,72 +1477,73 @@ function zn(t, e, n) {
1467
1477
  }
1468
1478
  break;
1469
1479
  case "markerMouseEnter":
1470
- n(13, N = ze ? (L == null ? void 0 : L.findIndex((j) => j.id === i.id)) ?? -1 : -1);
1480
+ t(13, N = Ie ? (L == null ? void 0 : L.findIndex((j) => j.id === i.id)) ?? -1 : -1);
1471
1481
  break;
1472
1482
  case "markerMouseLeave":
1473
- n(13, N = -1);
1483
+ t(13, N = -1);
1474
1484
  break;
1475
1485
  }
1476
- }), t.$$.dirty[0] & /*selectedItemIndex*/
1477
- 8192 | t.$$.dirty[1] & /*mapController*/
1478
- 4 && (h == null || h.setSelectedMarker(N)), t.$$.dirty[0] & /*listFeatures, selectedItemIndex*/
1479
- 12288 && n(49, r = L == null ? void 0 : L[N]), t.$$.dirty[0] & /*searchValue*/
1480
- 2 | t.$$.dirty[1] & /*mapController*/
1481
- 4) {
1486
+ }), n.$$.dirty[0] & /*selectedItemIndex*/
1487
+ 8192 | n.$$.dirty[1] & /*mapController*/
1488
+ 8 && (h == null || h.setSelectedMarker(N)), n.$$.dirty[0] & /*listFeatures, selectedItemIndex*/
1489
+ 12288 && t(50, r = L == null ? void 0 : L[N]), n.$$.dirty[0] & /*searchValue*/
1490
+ 2 | n.$$.dirty[1] & /*mapController*/
1491
+ 8) {
1482
1492
  const i = /^(-?\d+(?:\.\d*)?),(-?\d+(?:\.\d*)?)$/.exec(u);
1483
1493
  h == null || h.setReverseMarker(i ? [Number(i[1]), Number(i[2])] : void 0);
1484
1494
  }
1485
- t.$$.dirty[1] & /*selected*/
1486
- 262144 && te("select", r), t.$$.dirty[1] & /*picked*/
1487
- 65536 && te("pick", T), t.$$.dirty[0] & /*focusedDelayed, listFeatures*/
1488
- 20480 && te("optionsVisibilityChange", ze && !!L), t.$$.dirty[0] & /*listFeatures*/
1489
- 4096 && te("featuresListed", L), t.$$.dirty[1] & /*markedFeatures*/
1490
- 32768 && te("featuresMarked", U), t.$$.dirty[0] & /*reverseActive*/
1491
- 1 && te("reverseToggle", w), t.$$.dirty[0] & /*searchValue*/
1492
- 2 && te("queryChange", u), t.$$.dirty[0] & /*reverseActive*/
1493
- 1 | t.$$.dirty[1] & /*mapController*/
1494
- 4 && h && h.indicateReverse(w);
1495
+ n.$$.dirty[1] & /*selected*/
1496
+ 524288 && te("select", r), n.$$.dirty[1] & /*picked*/
1497
+ 131072 && te("pick", p), n.$$.dirty[0] & /*focusedDelayed, listFeatures*/
1498
+ 20480 && te("optionsVisibilityChange", Ie && !!L), n.$$.dirty[0] & /*listFeatures*/
1499
+ 4096 && te("featuresListed", L), n.$$.dirty[1] & /*markedFeatures*/
1500
+ 65536 && te("featuresMarked", U), n.$$.dirty[0] & /*reverseActive*/
1501
+ 1 && te("reverseToggle", w), n.$$.dirty[0] & /*searchValue*/
1502
+ 2 && te("queryChange", u), n.$$.dirty[0] & /*reverseActive*/
1503
+ 1 | n.$$.dirty[1] & /*mapController*/
1504
+ 8 && h && h.indicateReverse(w);
1495
1505
  }, [
1496
1506
  w,
1497
1507
  u,
1498
1508
  s,
1499
- f,
1500
- k,
1501
- z,
1502
- p,
1503
- M,
1509
+ c,
1510
+ b,
1511
+ S,
1512
+ T,
1513
+ C,
1504
1514
  R,
1505
1515
  H,
1506
1516
  Y,
1507
1517
  ge,
1508
1518
  L,
1509
1519
  N,
1510
- ze,
1520
+ Ie,
1511
1521
  Q,
1512
1522
  J,
1513
1523
  ue,
1524
+ kt,
1514
1525
  Je,
1515
- pt,
1526
+ Tt,
1516
1527
  Fe,
1517
1528
  Ge,
1518
- m,
1519
- c,
1520
- d,
1521
1529
  _,
1522
- b,
1530
+ f,
1531
+ d,
1532
+ m,
1533
+ y,
1523
1534
  E,
1524
- g,
1525
- W,
1526
- B,
1535
+ M,
1536
+ k,
1537
+ z,
1527
1538
  G,
1528
- Z,
1539
+ O,
1529
1540
  h,
1530
- y,
1531
- I,
1541
+ g,
1542
+ A,
1532
1543
  ce,
1533
- Le,
1544
+ Re,
1534
1545
  fe,
1535
- Ee,
1546
+ Le,
1536
1547
  pe,
1537
1548
  Ae,
1538
1549
  We,
@@ -1540,83 +1551,83 @@ function zn(t, e, n) {
1540
1551
  wt,
1541
1552
  He,
1542
1553
  U,
1543
- T,
1554
+ p,
1544
1555
  Ne,
1545
1556
  r,
1546
1557
  a,
1547
1558
  l,
1548
- Tt,
1549
1559
  Mt,
1560
+ Ct,
1550
1561
  Rt,
1551
1562
  Lt,
1552
1563
  Et,
1553
- Ct,
1564
+ It,
1565
+ St,
1554
1566
  zt,
1555
1567
  Bt,
1556
1568
  Pt,
1557
- St,
1558
- It,
1559
1569
  At,
1560
- Wt
1570
+ Wt,
1571
+ Nt
1561
1572
  ];
1562
1573
  }
1563
- class Bn extends me {
1574
+ class zn extends _e {
1564
1575
  constructor(e) {
1565
- super(), _e(
1576
+ super(), me(
1566
1577
  this,
1567
1578
  e,
1568
- zn,
1579
+ Sn,
1569
1580
  En,
1570
1581
  he,
1571
1582
  {
1572
1583
  class: 2,
1573
- apiKey: 23,
1574
- bbox: 24,
1584
+ apiKey: 24,
1585
+ bbox: 25,
1575
1586
  clearButtonTitle: 3,
1576
- clearOnBlur: 25,
1587
+ clearOnBlur: 26,
1577
1588
  collapsed: 4,
1578
- country: 26,
1579
- debounceSearch: 27,
1589
+ country: 27,
1590
+ debounceSearch: 28,
1580
1591
  enableReverse: 5,
1581
1592
  errorMessage: 6,
1582
- filter: 28,
1583
- flyTo: 29,
1584
- fuzzyMatch: 30,
1585
- language: 31,
1586
- limit: 32,
1587
- mapController: 33,
1588
- minLength: 34,
1593
+ filter: 29,
1594
+ flyTo: 30,
1595
+ fuzzyMatch: 31,
1596
+ language: 32,
1597
+ limit: 33,
1598
+ mapController: 34,
1599
+ minLength: 35,
1589
1600
  noResultsMessage: 7,
1590
1601
  placeholder: 8,
1591
- proximity: 22,
1602
+ proximity: 23,
1592
1603
  reverseActive: 0,
1593
1604
  reverseButtonTitle: 9,
1594
1605
  searchValue: 1,
1595
- showFullGeometry: 35,
1606
+ showFullGeometry: 36,
1596
1607
  showPlaceType: 10,
1597
- showResultsWhileTyping: 36,
1598
- trackProximity: 37,
1599
- types: 38,
1600
- zoom: 39,
1601
- maxZoom: 40,
1602
- apiUrl: 41,
1603
- fetchParameters: 42,
1604
- focus: 43,
1605
- blur: 44,
1606
- setQuery: 45
1608
+ showResultsWhileTyping: 37,
1609
+ trackProximity: 38,
1610
+ types: 39,
1611
+ zoom: 40,
1612
+ maxZoom: 41,
1613
+ apiUrl: 42,
1614
+ fetchParameters: 43,
1615
+ focus: 44,
1616
+ blur: 45,
1617
+ setQuery: 46
1607
1618
  },
1608
1619
  null,
1609
1620
  [-1, -1, -1]
1610
1621
  );
1611
1622
  }
1612
1623
  get focus() {
1613
- return this.$$.ctx[43];
1624
+ return this.$$.ctx[44];
1614
1625
  }
1615
1626
  get blur() {
1616
- return this.$$.ctx[44];
1627
+ return this.$$.ctx[45];
1617
1628
  }
1618
1629
  get setQuery() {
1619
- return this.$$.ctx[45];
1630
+ return this.$$.ctx[46];
1620
1631
  }
1621
1632
  }
1622
1633
  const ft = [
@@ -1628,7 +1639,7 @@ const ft = [
1628
1639
  "response",
1629
1640
  "reverseToggle",
1630
1641
  "select"
1631
- ], Pn = [
1642
+ ], Bn = [
1632
1643
  "apiKey",
1633
1644
  "bbox",
1634
1645
  "clearButtonTitle",
@@ -1655,42 +1666,42 @@ const ft = [
1655
1666
  "zoom",
1656
1667
  "mapController"
1657
1668
  ];
1658
- function ut(t) {
1659
- return "on" + t[0].toUpperCase() + t.slice(1);
1669
+ function ut(n) {
1670
+ return "on" + n[0].toUpperCase() + n.slice(1);
1660
1671
  }
1661
- const In = Nt(function(e, n) {
1672
+ const An = jt(function(e, t) {
1662
1673
  const r = Ye(), l = Ye(), a = { ...e };
1663
1674
  for (const s of ft)
1664
1675
  delete a[ut(s)];
1665
1676
  Ue(() => {
1666
1677
  if (!r.current)
1667
1678
  throw new Error();
1668
- const s = new Bn({
1679
+ const s = new zn({
1669
1680
  target: r.current,
1670
1681
  props: a
1671
1682
  });
1672
1683
  return l.current = s, () => s.$destroy();
1673
1684
  }, []);
1674
- for (const s of Pn)
1685
+ for (const s of Bn)
1675
1686
  Ue(() => {
1676
1687
  l.current && e[s] !== void 0 && l.current.$set({ [s]: e[s] });
1677
1688
  }, [e[s]]);
1678
1689
  for (const s of ft) {
1679
- const c = e[ut(s)];
1690
+ const f = e[ut(s)];
1680
1691
  Ue(() => {
1681
1692
  var d;
1682
1693
  (d = l.current) == null || d.$on(
1683
1694
  s,
1684
- c ? (f) => {
1685
- c(f.detail);
1695
+ f ? (c) => {
1696
+ f(c.detail);
1686
1697
  } : void 0
1687
1698
  );
1688
- }, [c]);
1699
+ }, [f]);
1689
1700
  }
1690
- return jt(n, () => ({
1691
- setQuery: (s, c = !0) => {
1701
+ return Ft(t, () => ({
1702
+ setQuery: (s, f = !0) => {
1692
1703
  var d;
1693
- return (d = l.current) == null ? void 0 : d.setQuery(s, c);
1704
+ return (d = l.current) == null ? void 0 : d.setQuery(s, f);
1694
1705
  },
1695
1706
  focus: () => {
1696
1707
  var s;
@@ -1700,9 +1711,9 @@ const In = Nt(function(e, n) {
1700
1711
  var s;
1701
1712
  return (s = l.current) == null ? void 0 : s.blur();
1702
1713
  }
1703
- })), Ft("div", { ref: r });
1714
+ })), Gt("div", { ref: r });
1704
1715
  });
1705
1716
  export {
1706
- In as GeocodingControl
1717
+ An as GeocodingControl
1707
1718
  };
1708
1719
  //# sourceMappingURL=react.js.map