@maptiler/geocoding-control 0.0.76 → 0.0.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/maplibregl.js CHANGED
@@ -6,10 +6,10 @@ var Gn = (r, t, e) => (ta(r, t, "read from private field"), e ? e.call(r) : t.ge
6
6
  if (t.has(r))
7
7
  throw TypeError("Cannot add the same private member more than once");
8
8
  t instanceof WeakSet ? t.add(r) : t.set(r, e);
9
- }, Co = (r, t, e, n) => (ta(r, t, "write to private field"), n ? n.call(r, e) : t.set(r, e), e);
9
+ }, No = (r, t, e, n) => (ta(r, t, "write to private field"), n ? n.call(r, e) : t.set(r, e), e);
10
10
  function Nt() {
11
11
  }
12
- function al(r, t) {
12
+ function ol(r, t) {
13
13
  for (const e in t)
14
14
  r[e] = t[e];
15
15
  return r;
@@ -26,22 +26,22 @@ function Dr(r) {
26
26
  function Ha(r) {
27
27
  return typeof r == "function";
28
28
  }
29
- function Ti(r, t) {
29
+ function Mi(r, t) {
30
30
  return r != r ? t == t : r !== t || r && typeof r == "object" || typeof r == "function";
31
31
  }
32
- function ul(r) {
32
+ function sl(r) {
33
33
  return Object.keys(r).length === 0;
34
34
  }
35
- function ll(r, t, e, n) {
35
+ function al(r, t, e, n) {
36
36
  if (r) {
37
37
  const i = Wa(r, t, e, n);
38
38
  return r[0](i);
39
39
  }
40
40
  }
41
41
  function Wa(r, t, e, n) {
42
- return r[1] && n ? al(e.ctx.slice(), r[1](n(t))) : e.ctx;
42
+ return r[1] && n ? ol(e.ctx.slice(), r[1](n(t))) : e.ctx;
43
43
  }
44
- function cl(r, t, e, n) {
44
+ function ul(r, t, e, n) {
45
45
  if (r[2] && n) {
46
46
  const i = r[2](n(e));
47
47
  if (t.dirty === void 0)
@@ -56,13 +56,13 @@ function cl(r, t, e, n) {
56
56
  }
57
57
  return t.dirty;
58
58
  }
59
- function fl(r, t, e, n, i, o) {
59
+ function ll(r, t, e, n, i, o) {
60
60
  if (i) {
61
61
  const s = Wa(t, e, n, o);
62
62
  r.p(s, i);
63
63
  }
64
64
  }
65
- function hl(r) {
65
+ function cl(r) {
66
66
  if (r.ctx.length > 32) {
67
67
  const t = [], e = r.ctx.length / 32;
68
68
  for (let n = 0; n < e; n++)
@@ -83,7 +83,7 @@ function Ke(r, t, e) {
83
83
  function Ae(r) {
84
84
  r.parentNode && r.parentNode.removeChild(r);
85
85
  }
86
- function gl(r, t) {
86
+ function fl(r, t) {
87
87
  for (let e = 0; e < r.length; e += 1)
88
88
  r[e] && r[e].d(t);
89
89
  }
@@ -102,7 +102,7 @@ function Xn() {
102
102
  function ke(r, t, e, n) {
103
103
  return r.addEventListener(t, e, n), () => r.removeEventListener(t, e, n);
104
104
  }
105
- function pl(r) {
105
+ function hl(r) {
106
106
  return function(t) {
107
107
  return t.preventDefault(), r.call(this, t);
108
108
  };
@@ -110,7 +110,7 @@ function pl(r) {
110
110
  function B(r, t, e) {
111
111
  e == null ? r.removeAttribute(t) : r.getAttribute(t) !== e && r.setAttribute(t, e);
112
112
  }
113
- function dl(r) {
113
+ function gl(r) {
114
114
  return Array.from(r.childNodes);
115
115
  }
116
116
  function ji(r, t) {
@@ -122,7 +122,7 @@ function ra(r, t) {
122
122
  function nn(r, t, e) {
123
123
  r.classList[e ? "add" : "remove"](t);
124
124
  }
125
- function vl(r, t, { bubbles: e = !1, cancelable: n = !1 } = {}) {
125
+ function pl(r, t, { bubbles: e = !1, cancelable: n = !1 } = {}) {
126
126
  const i = document.createEvent("CustomEvent");
127
127
  return i.initCustomEvent(r, e, n, t), i;
128
128
  }
@@ -135,15 +135,15 @@ function ja() {
135
135
  throw new Error("Function called outside component initialization");
136
136
  return Ki;
137
137
  }
138
- function yl(r) {
138
+ function dl(r) {
139
139
  ja().$$.on_destroy.push(r);
140
140
  }
141
- function ml() {
141
+ function vl() {
142
142
  const r = ja();
143
143
  return (t, e, { cancelable: n = !1 } = {}) => {
144
144
  const i = r.$$.callbacks[t];
145
145
  if (i) {
146
- const o = vl(t, e, { cancelable: n });
146
+ const o = pl(t, e, { cancelable: n });
147
147
  return i.slice().forEach((s) => {
148
148
  s.call(r, o);
149
149
  }), !o.defaultPrevented;
@@ -151,48 +151,54 @@ function ml() {
151
151
  return !0;
152
152
  };
153
153
  }
154
- const ui = [], ys = [], bo = [], ia = [], _l = Promise.resolve();
154
+ const ai = [], ys = [];
155
+ let li = [];
156
+ const ia = [], yl = /* @__PURE__ */ Promise.resolve();
155
157
  let ms = !1;
156
- function El() {
157
- ms || (ms = !0, _l.then(Ka));
158
+ function ml() {
159
+ ms || (ms = !0, yl.then(Ka));
158
160
  }
159
161
  function _s(r) {
160
- bo.push(r);
162
+ li.push(r);
161
163
  }
162
164
  const hs = /* @__PURE__ */ new Set();
163
- let ai = 0;
165
+ let si = 0;
164
166
  function Ka() {
165
- if (ai !== 0)
167
+ if (si !== 0)
166
168
  return;
167
169
  const r = Ki;
168
170
  do {
169
171
  try {
170
- for (; ai < ui.length; ) {
171
- const t = ui[ai];
172
- ai++, Hi(t), Il(t.$$);
172
+ for (; si < ai.length; ) {
173
+ const t = ai[si];
174
+ si++, Hi(t), _l(t.$$);
173
175
  }
174
176
  } catch (t) {
175
- throw ui.length = 0, ai = 0, t;
177
+ throw ai.length = 0, si = 0, t;
176
178
  }
177
- for (Hi(null), ui.length = 0, ai = 0; ys.length; )
179
+ for (Hi(null), ai.length = 0, si = 0; ys.length; )
178
180
  ys.pop()();
179
- for (let t = 0; t < bo.length; t += 1) {
180
- const e = bo[t];
181
+ for (let t = 0; t < li.length; t += 1) {
182
+ const e = li[t];
181
183
  hs.has(e) || (hs.add(e), e());
182
184
  }
183
- bo.length = 0;
184
- } while (ui.length);
185
+ li.length = 0;
186
+ } while (ai.length);
185
187
  for (; ia.length; )
186
188
  ia.pop()();
187
189
  ms = !1, hs.clear(), Hi(r);
188
190
  }
189
- function Il(r) {
191
+ function _l(r) {
190
192
  if (r.fragment !== null) {
191
193
  r.update(), Dr(r.before_update);
192
194
  const t = r.dirty;
193
195
  r.dirty = [-1], r.fragment && r.fragment.p(r.ctx, t), r.after_update.forEach(_s);
194
196
  }
195
197
  }
198
+ function El(r) {
199
+ const t = [], e = [];
200
+ li.forEach((n) => r.indexOf(n) === -1 ? t.push(n) : e.push(n)), e.forEach((n) => n()), li = t;
201
+ }
196
202
  const Po = /* @__PURE__ */ new Set();
197
203
  let kr;
198
204
  function Ro() {
@@ -231,12 +237,12 @@ function ci(r, t, e, n) {
231
237
  }
232
238
  function fi(r, t) {
233
239
  const e = r.$$;
234
- e.fragment !== null && (Dr(e.on_destroy), e.fragment && e.fragment.d(t), e.on_destroy = e.fragment = null, e.ctx = []);
240
+ e.fragment !== null && (El(e.after_update), Dr(e.on_destroy), e.fragment && e.fragment.d(t), e.on_destroy = e.fragment = null, e.ctx = []);
235
241
  }
236
- function Cl(r, t) {
237
- r.$$.dirty[0] === -1 && (ui.push(r), El(), r.$$.dirty.fill(0)), r.$$.dirty[t / 31 | 0] |= 1 << t % 31;
242
+ function Il(r, t) {
243
+ r.$$.dirty[0] === -1 && (ai.push(r), ml(), r.$$.dirty.fill(0)), r.$$.dirty[t / 31 | 0] |= 1 << t % 31;
238
244
  }
239
- function Mi(r, t, e, n, i, o, s, a = [-1]) {
245
+ function Ai(r, t, e, n, i, o, s, a = [-1]) {
240
246
  const u = Ki;
241
247
  Hi(r);
242
248
  const l = r.$$ = {
@@ -264,10 +270,10 @@ function Mi(r, t, e, n, i, o, s, a = [-1]) {
264
270
  let c = !1;
265
271
  if (l.ctx = e ? e(r, t.props || {}, (f, h, ...g) => {
266
272
  const p = g.length ? g[0] : h;
267
- return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), c && Cl(r, f)), h;
273
+ return l.ctx && i(l.ctx[f], l.ctx[f] = p) && (!l.skip_bound && l.bound[f] && l.bound[f](p), c && Il(r, f)), h;
268
274
  }) : [], l.update(), c = !0, Dr(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
269
275
  if (t.hydrate) {
270
- const f = dl(t.target);
276
+ const f = gl(t.target);
271
277
  l.fragment && l.fragment.l(f), f.forEach(Ae);
272
278
  } else
273
279
  l.fragment && l.fragment.c();
@@ -275,7 +281,7 @@ function Mi(r, t, e, n, i, o, s, a = [-1]) {
275
281
  }
276
282
  Hi(u);
277
283
  }
278
- class Ai {
284
+ class Fi {
279
285
  $destroy() {
280
286
  fi(this, 1), this.$destroy = Nt;
281
287
  }
@@ -289,10 +295,10 @@ class Ai {
289
295
  };
290
296
  }
291
297
  $set(t) {
292
- this.$$set && !ul(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
298
+ this.$$set && !sl(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
293
299
  }
294
300
  }
295
- function Nl(r) {
301
+ function Cl(r) {
296
302
  let t, e;
297
303
  return {
298
304
  c() {
@@ -309,12 +315,12 @@ function Nl(r) {
309
315
  }
310
316
  };
311
317
  }
312
- class xl extends Ai {
318
+ class Nl extends Fi {
313
319
  constructor(t) {
314
- super(), Mi(this, t, null, Nl, Ti, {});
320
+ super(), Ai(this, t, null, Cl, Mi, {});
315
321
  }
316
322
  }
317
- function Sl(r) {
323
+ function xl(r) {
318
324
  let t, e;
319
325
  return {
320
326
  c() {
@@ -331,12 +337,12 @@ function Sl(r) {
331
337
  }
332
338
  };
333
339
  }
334
- class wl extends Ai {
340
+ class Sl extends Fi {
335
341
  constructor(t) {
336
- super(), Mi(this, t, null, Sl, Ti, {});
342
+ super(), Ai(this, t, null, xl, Mi, {});
337
343
  }
338
344
  }
339
- function Ll(r) {
345
+ function wl(r) {
340
346
  let t;
341
347
  return {
342
348
  c() {
@@ -353,12 +359,12 @@ function Ll(r) {
353
359
  }
354
360
  };
355
361
  }
356
- class bl extends Ai {
362
+ class Ll extends Fi {
357
363
  constructor(t) {
358
- super(), Mi(this, t, null, Ll, Ti, {});
364
+ super(), Ai(this, t, null, wl, Mi, {});
359
365
  }
360
366
  }
361
- function Pl(r) {
367
+ function bl(r) {
362
368
  let t, e, n;
363
369
  return {
364
370
  c() {
@@ -402,18 +408,18 @@ function Pl(r) {
402
408
  }
403
409
  };
404
410
  }
405
- function Rl(r, t, e) {
411
+ function Pl(r, t, e) {
406
412
  let { displayIn: n } = t;
407
413
  return r.$$set = (i) => {
408
414
  "displayIn" in i && e(0, n = i.displayIn);
409
415
  }, [n];
410
416
  }
411
- class Qa extends Ai {
417
+ class Qa extends Fi {
412
418
  constructor(t) {
413
- super(), Mi(this, t, Rl, Pl, Ti, { displayIn: 0 });
419
+ super(), Ai(this, t, Pl, bl, Mi, { displayIn: 0 });
414
420
  }
415
421
  }
416
- function Ol(r) {
422
+ function Rl(r) {
417
423
  let t, e;
418
424
  return {
419
425
  c() {
@@ -430,9 +436,9 @@ function Ol(r) {
430
436
  }
431
437
  };
432
438
  }
433
- class Dl extends Ai {
439
+ class Ol extends Fi {
434
440
  constructor(t) {
435
- super(), Mi(this, t, null, Ol, Ti, {});
441
+ super(), Ai(this, t, null, Rl, Mi, {});
436
442
  }
437
443
  }
438
444
  function oa(r, t, e) {
@@ -441,7 +447,7 @@ function oa(r, t, e) {
441
447
  }
442
448
  function sa(r) {
443
449
  let t, e;
444
- return t = new bl({}), {
450
+ return t = new Ll({}), {
445
451
  c() {
446
452
  Qi(t.$$.fragment);
447
453
  },
@@ -461,7 +467,7 @@ function sa(r) {
461
467
  }
462
468
  function aa(r) {
463
469
  let t, e, n, i, o;
464
- return e = new xl({}), {
470
+ return e = new Nl({}), {
465
471
  c() {
466
472
  t = Qt("button"), Qi(e.$$.fragment), B(t, "type", "button"), B(
467
473
  t,
@@ -509,7 +515,7 @@ function aa(r) {
509
515
  }
510
516
  };
511
517
  }
512
- function Tl(r) {
518
+ function Dl(r) {
513
519
  let t, e, n, i, o = (
514
520
  /*listFeatures*/
515
521
  r[12]
@@ -529,7 +535,7 @@ function Tl(r) {
529
535
  m(u, l) {
530
536
  Ke(u, t, l);
531
537
  for (let c = 0; c < s.length; c += 1)
532
- s[c].m(t, null);
538
+ s[c] && s[c].m(t, null);
533
539
  e = !0, n || (i = [
534
540
  ke(
535
541
  t,
@@ -574,11 +580,11 @@ function Tl(r) {
574
580
  e = !1;
575
581
  },
576
582
  d(u) {
577
- u && Ae(t), gl(s, u), n = !1, Dr(i);
583
+ u && Ae(t), fl(s, u), n = !1, Dr(i);
578
584
  }
579
585
  };
580
586
  }
581
- function Ml(r) {
587
+ function Tl(r) {
582
588
  let t, e;
583
589
  return {
584
590
  c() {
@@ -605,7 +611,7 @@ function Ml(r) {
605
611
  }
606
612
  };
607
613
  }
608
- function Al(r) {
614
+ function Ml(r) {
609
615
  let t = "", e;
610
616
  return {
611
617
  c() {
@@ -622,7 +628,7 @@ function Al(r) {
622
628
  }
623
629
  };
624
630
  }
625
- function Fl(r) {
631
+ function Al(r) {
626
632
  let t, e;
627
633
  return {
628
634
  c() {
@@ -753,9 +759,9 @@ function la(r) {
753
759
  }
754
760
  };
755
761
  }
756
- function Bl(r) {
762
+ function Fl(r) {
757
763
  let t, e, n, i, o, s, a, u, l, c, f, h, g, p, y, v, m, E, C, N;
758
- i = new Dl({}), c = new wl({});
764
+ i = new Ol({}), c = new Sl({});
759
765
  let x = (
760
766
  /*abortController*/
761
767
  r[17] && sa()
@@ -766,13 +772,13 @@ function Bl(r) {
766
772
  const D = (
767
773
  /*#slots*/
768
774
  r[48].default
769
- ), T = ll(
775
+ ), T = al(
770
776
  D,
771
777
  r,
772
778
  /*$$scope*/
773
779
  r[47],
774
780
  null
775
- ), A = [Fl, Al, Ml, Tl], q = [];
781
+ ), A = [Al, Ml, Tl, Dl], q = [];
776
782
  function j(P, X) {
777
783
  var R, Y;
778
784
  return (
@@ -871,7 +877,7 @@ function Bl(r) {
871
877
  /*click_handler_1*/
872
878
  r[55]
873
879
  ),
874
- ke(t, "submit", pl(
880
+ ke(t, "submit", hl(
875
881
  /*handleOnSubmit*/
876
882
  r[18]
877
883
  ))
@@ -917,19 +923,19 @@ function Bl(r) {
917
923
  32 && Kt(L, 1)) : (L = aa(P), L.c(), Kt(L, 1), L.m(e, g)) : L && (Ro(), be(L, 1, 1, () => {
918
924
  L = null;
919
925
  }), Oo()), T && T.p && (!E || X[1] & /*$$scope*/
920
- 65536) && fl(
926
+ 65536) && ll(
921
927
  T,
922
928
  D,
923
929
  P,
924
930
  /*$$scope*/
925
931
  P[47],
926
- E ? cl(
932
+ E ? ul(
927
933
  D,
928
934
  /*$$scope*/
929
935
  P[47],
930
936
  X,
931
937
  null
932
- ) : hl(
938
+ ) : cl(
933
939
  /*$$scope*/
934
940
  P[47]
935
941
  ),
@@ -962,11 +968,11 @@ function Bl(r) {
962
968
  }
963
969
  };
964
970
  }
965
- function Gl(r, t, e) {
971
+ function Bl(r, t, e) {
966
972
  const n = t[1], i = t[0], o = n - i;
967
973
  return r === n && e ? r : ((r - i) % o + o) % o + i;
968
974
  }
969
- function kl(r, t, e) {
975
+ function Gl(r, t, e) {
970
976
  let n, { $$slots: i = {}, $$scope: o } = t, { class: s = void 0 } = t, { apiKey: a } = t, { bbox: u = void 0 } = t, { clearButtonTitle: l = "clear" } = t, { clearOnBlur: c = !1 } = t, { collapsed: f = !1 } = t, { country: h = void 0 } = t, { debounceSearch: g = 200 } = t, { enableReverse: p = !1 } = t, { errorMessage: y = "Searching failed" } = t, { filter: v = () => !0 } = t, { flyTo: m = !0 } = t, { fuzzyMatch: E = !0 } = t, { language: C = void 0 } = t, { limit: N = void 0 } = t, { mapController: x = void 0 } = t, { minLength: L = 2 } = t, { noResultsMessage: D = "No results found" } = t, { placeholder: T = "Search" } = t, { proximity: A = void 0 } = t, { reverseActive: q = p === "always" } = t, { reverseButtonTitle: j = "toggle reverse geocoding" } = t, { searchValue: P = "" } = t, { showFullGeometry: X = !0 } = t, { showPlaceType: R = !1 } = t, { showResultsWhileTyping: Y = !0 } = t, { trackProximity: at = !0 } = t, { types: St = void 0 } = t, { zoom: Xt = 16 } = t, { fetchParameters: fe = {} } = t;
971
977
  function Ar() {
972
978
  Fn.focus();
@@ -979,18 +985,18 @@ function kl(r, t, e) {
979
985
  Fn.focus(), Fn.select();
980
986
  }));
981
987
  }
982
- let he = !1, nt, Ot, vt, Js = "", Fn, At = -1, gr, Eo = [], Fr, si, Io;
983
- const pr = ml();
984
- yl(() => {
988
+ let he = !1, nt, Ot, vt, Js = "", Fn, At = -1, gr, Io = [], Fr, oi, Co;
989
+ const pr = vl();
990
+ dl(() => {
985
991
  x && (x.setEventHandler(void 0), x.indicateReverse(!1), x.setSelectedMarker(-1), x.setMarkers(void 0, void 0));
986
992
  });
987
993
  function Zs(S) {
988
- if (si && (clearTimeout(si), si = void 0), At > -1 && nt)
994
+ if (oi && (clearTimeout(oi), oi = void 0), At > -1 && nt)
989
995
  e(45, vt = nt[At]), e(1, P = vt.place_name.replace(/,.*/, "")), e(16, gr = void 0), e(44, Ot = void 0), e(13, At = -1);
990
996
  else if (P) {
991
997
  const Ft = S || !$s();
992
998
  ss(P, { exact: !0 }).then(() => {
993
- e(44, Ot = nt), e(45, vt = void 0), Ft && Hu();
999
+ e(44, Ot = nt), e(45, vt = void 0), Ft && Xu();
994
1000
  }).catch((Bn) => e(16, gr = Bn));
995
1001
  }
996
1002
  }
@@ -1003,7 +1009,7 @@ function kl(r, t, e) {
1003
1009
  C != null && Ge.set("language", Array.isArray(C) ? C.join(",") : C), St && Ge.set("types", St.join(",")), Vi || (u && Ge.set("bbox", u.map((Gr) => Gr.toFixed(6)).join(",")), h && Ge.set("country", Array.isArray(h) ? h.join(",") : h)), Ft || (A && Ge.set("proximity", A.map((Gr) => Gr.toFixed(6)).join(",")), (Bn || !Y) && Ge.set("autocomplete", "false"), Ge.set("fuzzyMatch", String(E))), N !== void 0 && Ge.set("limit", String(N)), Ge.set("key", a);
1004
1010
  const Br = "https://api.maptiler.com/geocoding/" + encodeURIComponent(S) + ".json?" + Ge.toString();
1005
1011
  if (Br === Js) {
1006
- Ft ? (e(12, nt = void 0), e(45, vt = Eo[0])) : e(12, nt = Eo);
1012
+ Ft ? (e(12, nt = void 0), e(45, vt = Io[0])) : e(12, nt = Io);
1007
1013
  return;
1008
1014
  }
1009
1015
  Js = Br, Fr == null || Fr.abort();
@@ -1022,9 +1028,9 @@ function kl(r, t, e) {
1022
1028
  if (!ls.ok)
1023
1029
  throw new Error();
1024
1030
  const cs = await ls.json();
1025
- pr("response", { url: Br, featureCollection: cs }), Ft ? (e(12, nt = void 0), e(45, vt = cs.features[0]), Eo = [vt]) : (e(12, nt = cs.features.filter(v)), Eo = nt, Vi && Fn.focus());
1031
+ pr("response", { url: Br, featureCollection: cs }), Ft ? (e(12, nt = void 0), e(45, vt = cs.features[0]), Io = [vt]) : (e(12, nt = cs.features.filter(v)), Io = nt, Vi && Fn.focus());
1026
1032
  }
1027
- function Hu() {
1033
+ function Xu() {
1028
1034
  var Bn, Vi, Ge, Br;
1029
1035
  if (!(Ot != null && Ot.length) || !m)
1030
1036
  return;
@@ -1033,10 +1039,10 @@ function kl(r, t, e) {
1033
1039
  (Ft || !me.matching_text) && (S[0] = Math.min(S[0], ((Bn = me.bbox) == null ? void 0 : Bn[0]) ?? me.center[0]), S[1] = Math.min(S[1], ((Vi = me.bbox) == null ? void 0 : Vi[1]) ?? me.center[1]), S[2] = Math.max(S[2], ((Ge = me.bbox) == null ? void 0 : Ge[2]) ?? me.center[0]), S[3] = Math.max(S[3], ((Br = me.bbox) == null ? void 0 : Br[3]) ?? me.center[1]));
1034
1040
  x && Ot.length > 0 && (vt && S[0] === S[2] && S[1] === S[3] ? x.flyTo(vt.center, Xt) : x.fitBounds(S, 50));
1035
1041
  }
1036
- function Wu(S) {
1037
- e(0, q = p === "always"), An(Gl(S[0], [-180, 180], !0).toFixed(6) + "," + S[1].toFixed(6));
1042
+ function Yu(S) {
1043
+ e(0, q = p === "always"), An(Bl(S[0], [-180, 180], !0).toFixed(6) + "," + S[1].toFixed(6));
1038
1044
  }
1039
- function ju(S) {
1045
+ function Hu(S) {
1040
1046
  if (!nt)
1041
1047
  return;
1042
1048
  let Ft = S.key === "ArrowDown" ? 1 : S.key === "ArrowUp" ? -1 : 0;
@@ -1044,9 +1050,9 @@ function kl(r, t, e) {
1044
1050
  }
1045
1051
  function as(S = !0) {
1046
1052
  if (Y && P.length > L) {
1047
- si && clearTimeout(si);
1053
+ oi && clearTimeout(oi);
1048
1054
  const Ft = P;
1049
- si = window.setTimeout(
1055
+ oi = window.setTimeout(
1050
1056
  () => {
1051
1057
  ss(Ft).catch((Bn) => e(16, gr = Bn));
1052
1058
  },
@@ -1058,18 +1064,18 @@ function kl(r, t, e) {
1058
1064
  function us(S) {
1059
1065
  e(45, vt = S), e(1, P = S.place_name), e(13, At = -1);
1060
1066
  }
1061
- const Ku = () => Fn.focus();
1062
- function Qu(S) {
1067
+ const Wu = () => Fn.focus();
1068
+ function ju(S) {
1063
1069
  ys[S ? "unshift" : "push"](() => {
1064
1070
  Fn = S, e(15, Fn);
1065
1071
  });
1066
1072
  }
1067
- function Ju() {
1073
+ function Ku() {
1068
1074
  P = this.value, e(1, P), e(11, he), e(25, c);
1069
1075
  }
1070
- const Zu = () => e(11, he = !0), $u = () => e(11, he = !1), tl = () => as(), el = () => {
1076
+ const Qu = () => e(11, he = !0), Ju = () => e(11, he = !1), Zu = () => as(), $u = () => {
1071
1077
  e(1, P = ""), Fn.focus();
1072
- }, nl = () => e(0, q = !q), rl = (S) => e(13, At = S), il = (S) => us(S), ol = () => e(13, At = -1), sl = () => {
1078
+ }, tl = () => e(0, q = !q), el = (S) => e(13, At = S), nl = (S) => us(S), rl = () => e(13, At = -1), il = () => {
1073
1079
  };
1074
1080
  return r.$$set = (S) => {
1075
1081
  "class" in S && e(2, s = S.class), "apiKey" in S && e(23, a = S.apiKey), "bbox" in S && e(24, u = S.bbox), "clearButtonTitle" in S && e(3, l = S.clearButtonTitle), "clearOnBlur" in S && e(25, c = S.clearOnBlur), "collapsed" in S && e(4, f = S.collapsed), "country" in S && e(26, h = S.country), "debounceSearch" in S && e(27, g = S.debounceSearch), "enableReverse" in S && e(5, p = S.enableReverse), "errorMessage" in S && e(6, y = S.errorMessage), "filter" in S && e(28, v = S.filter), "flyTo" in S && e(29, m = S.flyTo), "fuzzyMatch" in S && e(30, E = S.fuzzyMatch), "language" in S && e(31, C = S.language), "limit" in S && e(32, N = S.limit), "mapController" in S && e(33, x = S.mapController), "minLength" in S && e(34, L = S.minLength), "noResultsMessage" in S && e(7, D = S.noResultsMessage), "placeholder" in S && e(8, T = S.placeholder), "proximity" in S && e(22, A = S.proximity), "reverseActive" in S && e(0, q = S.reverseActive), "reverseButtonTitle" in S && e(9, j = S.reverseButtonTitle), "searchValue" in S && e(1, P = S.searchValue), "showFullGeometry" in S && e(35, X = S.showFullGeometry), "showPlaceType" in S && e(10, R = S.showPlaceType), "showResultsWhileTyping" in S && e(36, Y = S.showResultsWhileTyping), "trackProximity" in S && e(37, at = S.trackProximity), "types" in S && e(38, St = S.types), "zoom" in S && e(39, Xt = S.zoom), "fetchParameters" in S && e(40, fe = S.fetchParameters), "$$scope" in S && e(47, o = S.$$scope);
@@ -1077,7 +1083,7 @@ function kl(r, t, e) {
1077
1083
  if (r.$$.dirty[1] & /*trackProximity*/
1078
1084
  64 && (at || e(22, A = void 0)), r.$$.dirty[0] & /*focused, clearOnBlur*/
1079
1085
  33556480 && setTimeout(() => {
1080
- e(14, Io = he), c && !he && e(1, P = "");
1086
+ e(14, Co = he), c && !he && e(1, P = "");
1081
1087
  }), r.$$.dirty[0] & /*searchValue, listFeatures*/
1082
1088
  4098 && (P || (e(45, vt = void 0), e(12, nt = void 0), e(16, gr = void 0), e(44, Ot = nt))), r.$$.dirty[1] & /*showFullGeometry, picked*/
1083
1089
  16400 && X && vt && !vt.address && vt.geometry.type === "Point" && ss(vt.id, { byId: !0 }).catch((S) => e(16, gr = S)), r.$$.dirty[0] & /*flyTo*/
@@ -1091,7 +1097,7 @@ function kl(r, t, e) {
1091
1097
  68 && x && x.setEventHandler((S) => {
1092
1098
  switch (S.type) {
1093
1099
  case "mapClick":
1094
- q && Wu(S.coordinates);
1100
+ q && Yu(S.coordinates);
1095
1101
  break;
1096
1102
  case "proximityChange":
1097
1103
  e(22, A = at ? S.proximity : void 0);
@@ -1103,7 +1109,7 @@ function kl(r, t, e) {
1103
1109
  }
1104
1110
  break;
1105
1111
  case "markerMouseEnter":
1106
- e(13, At = Io ? (nt == null ? void 0 : nt.findIndex((Ft) => Ft.id === S.id)) ?? -1 : -1);
1112
+ e(13, At = Co ? (nt == null ? void 0 : nt.findIndex((Ft) => Ft.id === S.id)) ?? -1 : -1);
1107
1113
  break;
1108
1114
  case "markerMouseLeave":
1109
1115
  e(13, At = -1);
@@ -1121,7 +1127,7 @@ function kl(r, t, e) {
1121
1127
  r.$$.dirty[1] & /*selected*/
1122
1128
  32768 && pr("select", n), r.$$.dirty[1] & /*picked*/
1123
1129
  16384 && pr("pick", vt), r.$$.dirty[0] & /*focusedDelayed, listFeatures*/
1124
- 20480 && pr("optionsVisibilityChange", Io && !!nt), r.$$.dirty[0] & /*listFeatures*/
1130
+ 20480 && pr("optionsVisibilityChange", Co && !!nt), r.$$.dirty[0] & /*listFeatures*/
1125
1131
  4096 && pr("featuresListed", nt), r.$$.dirty[1] & /*markedFeatures*/
1126
1132
  8192 && pr("featuresMarked", Ot), r.$$.dirty[0] & /*reverseActive*/
1127
1133
  1 && pr("reverseToggle", q), r.$$.dirty[0] & /*searchValue*/
@@ -1143,12 +1149,12 @@ function kl(r, t, e) {
1143
1149
  he,
1144
1150
  nt,
1145
1151
  At,
1146
- Io,
1152
+ Co,
1147
1153
  Fn,
1148
1154
  gr,
1149
1155
  Fr,
1150
1156
  Zs,
1151
- ju,
1157
+ Hu,
1152
1158
  as,
1153
1159
  us,
1154
1160
  A,
@@ -1178,6 +1184,8 @@ function kl(r, t, e) {
1178
1184
  n,
1179
1185
  o,
1180
1186
  i,
1187
+ Wu,
1188
+ ju,
1181
1189
  Ku,
1182
1190
  Qu,
1183
1191
  Ju,
@@ -1187,19 +1195,17 @@ function kl(r, t, e) {
1187
1195
  el,
1188
1196
  nl,
1189
1197
  rl,
1190
- il,
1191
- ol,
1192
- sl
1198
+ il
1193
1199
  ];
1194
1200
  }
1195
- let zl = class extends Ai {
1201
+ let kl = class extends Fi {
1196
1202
  constructor(t) {
1197
- super(), Mi(
1203
+ super(), Ai(
1198
1204
  this,
1199
1205
  t,
1200
- kl,
1201
- Bl,
1202
- Ti,
1206
+ Gl,
1207
+ Fl,
1208
+ Mi,
1203
1209
  {
1204
1210
  class: 2,
1205
1211
  apiKey: 23,
@@ -1271,7 +1277,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
1271
1277
  See the Apache Version 2.0 License for specific language governing permissions
1272
1278
  and limitations under the License.
1273
1279
  ***************************************************************************** */
1274
- function Vl(r, t) {
1280
+ function zl(r, t) {
1275
1281
  var e = { label: 0, sent: function() {
1276
1282
  if (o[0] & 1)
1277
1283
  throw o[1];
@@ -1345,7 +1351,7 @@ var Cr = (
1345
1351
  return r;
1346
1352
  }()
1347
1353
  );
1348
- function Ul(r, t) {
1354
+ function Vl(r, t) {
1349
1355
  return r > t ? 1 : r < t ? -1 : 0;
1350
1356
  }
1351
1357
  function yr(r, t, e) {
@@ -1391,7 +1397,7 @@ function ca(r, t, e) {
1391
1397
  }
1392
1398
  return { left: n, right: i };
1393
1399
  }
1394
- function ql(r, t, e) {
1400
+ function Ul(r, t, e) {
1395
1401
  return t === null ? r : (r === null || (t = yr(r.key, t, e), t.left = r), t);
1396
1402
  }
1397
1403
  function Es(r, t, e, n, i) {
@@ -1406,7 +1412,7 @@ var Ms = (
1406
1412
  /** @class */
1407
1413
  function() {
1408
1414
  function r(t) {
1409
- t === void 0 && (t = Ul), this._root = null, this._size = 0, this._comparator = t;
1415
+ t === void 0 && (t = Vl), this._root = null, this._size = 0, this._comparator = t;
1410
1416
  }
1411
1417
  return r.prototype.insert = function(t, e) {
1412
1418
  return this._size++, this._root = gs(t, e, this._root, this._comparator);
@@ -1534,14 +1540,14 @@ var Ms = (
1534
1540
  }, r.prototype.clear = function() {
1535
1541
  return this._root = null, this._size = 0, this;
1536
1542
  }, r.prototype.toList = function() {
1537
- return Yl(this._root);
1543
+ return Xl(this._root);
1538
1544
  }, r.prototype.load = function(t, e, n) {
1539
1545
  e === void 0 && (e = []), n === void 0 && (n = !1);
1540
1546
  var i = t.length, o = this._comparator;
1541
1547
  if (n && Ns(t, e, 0, i - 1, o), this._root === null)
1542
1548
  this._root = Is(t, e, 0, i), this._size = i;
1543
1549
  else {
1544
- var s = Hl(this.toList(), Xl(t, e), o);
1550
+ var s = Yl(this.toList(), ql(t, e), o);
1545
1551
  i = this._size + i, this._root = Cs({ head: s }, 0, i);
1546
1552
  }
1547
1553
  return this;
@@ -1569,12 +1575,12 @@ var Ms = (
1569
1575
  }, t), e.join("");
1570
1576
  }, r.prototype.update = function(t, e, n) {
1571
1577
  var i = this._comparator, o = ca(t, this._root, i), s = o.left, a = o.right;
1572
- i(t, e) < 0 ? a = gs(e, n, a, i) : s = gs(e, n, s, i), this._root = ql(s, a, i);
1578
+ i(t, e) < 0 ? a = gs(e, n, a, i) : s = gs(e, n, s, i), this._root = Ul(s, a, i);
1573
1579
  }, r.prototype.split = function(t) {
1574
1580
  return ca(t, this._root, this._comparator);
1575
1581
  }, r.prototype[Symbol.iterator] = function() {
1576
1582
  var t;
1577
- return Vl(this, function(e) {
1583
+ return zl(this, function(e) {
1578
1584
  switch (e.label) {
1579
1585
  case 0:
1580
1586
  t = this.minNode(), e.label = 1;
@@ -1600,12 +1606,12 @@ function Is(r, t, e, n) {
1600
1606
  }
1601
1607
  return null;
1602
1608
  }
1603
- function Xl(r, t) {
1609
+ function ql(r, t) {
1604
1610
  for (var e = new Cr(null, null), n = e, i = 0; i < r.length; i++)
1605
1611
  n = n.next = new Cr(r[i], t[i]);
1606
1612
  return n.next = null, e.next;
1607
1613
  }
1608
- function Yl(r) {
1614
+ function Xl(r) {
1609
1615
  for (var t = r, e = [], n = !1, i = new Cr(null, null), o = i; !n; )
1610
1616
  t ? (e.push(t), t = t.left) : e.length > 0 ? (t = o = o.next = e.pop(), t = t.right) : n = !0;
1611
1617
  return o.next = null, i.next;
@@ -1618,7 +1624,7 @@ function Cs(r, t, e) {
1618
1624
  }
1619
1625
  return null;
1620
1626
  }
1621
- function Hl(r, t, e) {
1627
+ function Yl(r, t, e) {
1622
1628
  for (var n = new Cr(null, null), i = n, o = r, s = t; o !== null && s !== null; )
1623
1629
  e(o.key, s.key) < 0 ? (i.next = o, o = o.next) : (i.next = s, s = s.next), i = i.next;
1624
1630
  return o !== null ? i.next = o : s !== null && (i.next = s), n.next;
@@ -1671,12 +1677,12 @@ var Ui = function(t, e) {
1671
1677
  };
1672
1678
  }, mr = Number.EPSILON;
1673
1679
  mr === void 0 && (mr = Math.pow(2, -52));
1674
- var Wl = mr * mr, Ss = function(t, e) {
1680
+ var Hl = mr * mr, Ss = function(t, e) {
1675
1681
  if (-mr < t && t < mr && -mr < e && e < mr)
1676
1682
  return 0;
1677
1683
  var n = t - e;
1678
- return n * n < Wl * t * e ? 0 : t < e ? -1 : 1;
1679
- }, jl = /* @__PURE__ */ function() {
1684
+ return n * n < Hl * t * e ? 0 : t < e ? -1 : 1;
1685
+ }, Wl = /* @__PURE__ */ function() {
1680
1686
  function r() {
1681
1687
  vn(this, r), this.reset();
1682
1688
  }
@@ -1708,7 +1714,7 @@ var Wl = mr * mr, Ss = function(t, e) {
1708
1714
  return o !== null && Ss(n.key, o.key) === 0 ? (this.tree.remove(e), o.key) : e;
1709
1715
  }
1710
1716
  }]), r;
1711
- }(), Ji = new jl(), Wi = function(t, e) {
1717
+ }(), Ji = new Wl(), Wi = function(t, e) {
1712
1718
  return t.x * e.y - t.y * e.x;
1713
1719
  }, Ja = function(t, e) {
1714
1720
  return t.x * e.x + t.y * e.y;
@@ -1723,7 +1729,7 @@ var Wl = mr * mr, Ss = function(t, e) {
1723
1729
  return Ss(s, 0);
1724
1730
  }, Mo = function(t) {
1725
1731
  return Math.sqrt(Ja(t, t));
1726
- }, Kl = function(t, e, n) {
1732
+ }, jl = function(t, e, n) {
1727
1733
  var i = {
1728
1734
  x: e.x - t.x,
1729
1735
  y: e.y - t.y
@@ -1732,7 +1738,7 @@ var Wl = mr * mr, Ss = function(t, e) {
1732
1738
  y: n.y - t.y
1733
1739
  };
1734
1740
  return Wi(o, i) / Mo(o) / Mo(i);
1735
- }, Ql = function(t, e, n) {
1741
+ }, Kl = function(t, e, n) {
1736
1742
  var i = {
1737
1743
  x: e.x - t.x,
1738
1744
  y: e.y - t.y
@@ -1751,7 +1757,7 @@ var Wl = mr * mr, Ss = function(t, e) {
1751
1757
  x: n,
1752
1758
  y: t.y + e.y / e.x * (n - t.x)
1753
1759
  };
1754
- }, Jl = function(t, e, n, i) {
1760
+ }, Ql = function(t, e, n, i) {
1755
1761
  if (e.x === 0)
1756
1762
  return da(n, i, t.x);
1757
1763
  if (i.x === 0)
@@ -1840,8 +1846,8 @@ var Wl = mr * mr, Ss = function(t, e) {
1840
1846
  var n = this, i = /* @__PURE__ */ new Map(), o = function(a) {
1841
1847
  var u = a.otherSE;
1842
1848
  i.set(a, {
1843
- sine: Kl(n.point, e.point, u.point),
1844
- cosine: Ql(n.point, e.point, u.point)
1849
+ sine: jl(n.point, e.point, u.point),
1850
+ cosine: Kl(n.point, e.point, u.point)
1845
1851
  });
1846
1852
  };
1847
1853
  return function(s, a) {
@@ -1851,7 +1857,7 @@ var Wl = mr * mr, Ss = function(t, e) {
1851
1857
  };
1852
1858
  }
1853
1859
  }]), r;
1854
- }(), Zl = 0, Ao = /* @__PURE__ */ function() {
1860
+ }(), Jl = 0, Ao = /* @__PURE__ */ function() {
1855
1861
  Ce(r, null, [{
1856
1862
  key: "compare",
1857
1863
  /* This compare() function is for ordering segments in the sweep
@@ -1927,7 +1933,7 @@ var Wl = mr * mr, Ss = function(t, e) {
1927
1933
  * and possibly will be later modified */
1928
1934
  }]);
1929
1935
  function r(t, e, n, i) {
1930
- vn(this, r), this.id = ++Zl, this.leftSE = t, t.segment = this, t.otherSE = e, this.rightSE = e, e.segment = this, e.otherSE = t, this.rings = n, this.windings = i;
1936
+ vn(this, r), this.id = ++Jl, this.leftSE = t, t.segment = this, t.otherSE = e, this.rightSE = e, e.segment = this, e.otherSE = t, this.rings = n, this.windings = i;
1931
1937
  }
1932
1938
  return Ce(r, [{
1933
1939
  key: "replaceRightSE",
@@ -2025,7 +2031,7 @@ var Wl = mr * mr, Ss = function(t, e) {
2025
2031
  return a;
2026
2032
  if (h)
2027
2033
  return l;
2028
- var p = Jl(s, this.vector(), u, e.vector());
2034
+ var p = Ql(s, this.vector(), u, e.vector());
2029
2035
  return p === null || !Ui(o, p) ? null : Ji.round(p.x, p.y);
2030
2036
  }
2031
2037
  /**
@@ -2225,7 +2231,7 @@ var Wl = mr * mr, Ss = function(t, e) {
2225
2231
  return e;
2226
2232
  }
2227
2233
  }]), r;
2228
- }(), $l = /* @__PURE__ */ function() {
2234
+ }(), Zl = /* @__PURE__ */ function() {
2229
2235
  function r(t, e) {
2230
2236
  if (vn(this, r), !Array.isArray(t))
2231
2237
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
@@ -2273,7 +2279,7 @@ var Wl = mr * mr, Ss = function(t, e) {
2273
2279
  }
2274
2280
  };
2275
2281
  for (var n = 0, i = t.length; n < i; n++) {
2276
- var o = new $l(t[n], this);
2282
+ var o = new Zl(t[n], this);
2277
2283
  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);
2278
2284
  }
2279
2285
  this.isSubject = e;
@@ -2287,7 +2293,7 @@ var Wl = mr * mr, Ss = function(t, e) {
2287
2293
  return e;
2288
2294
  }
2289
2295
  }]), r;
2290
- }(), tc = /* @__PURE__ */ function() {
2296
+ }(), $l = /* @__PURE__ */ function() {
2291
2297
  Ce(r, null, [{
2292
2298
  key: "factory",
2293
2299
  /* Given the segments from the sweep line pass, compute & return a series
@@ -2407,7 +2413,7 @@ var Wl = mr * mr, Ss = function(t, e) {
2407
2413
  return e;
2408
2414
  }
2409
2415
  }]), r;
2410
- }(), ec = /* @__PURE__ */ function() {
2416
+ }(), tc = /* @__PURE__ */ function() {
2411
2417
  function r(t) {
2412
2418
  vn(this, r), this.rings = t, this.polys = this._composePolys(t);
2413
2419
  }
@@ -2436,7 +2442,7 @@ var Wl = mr * mr, Ss = function(t, e) {
2436
2442
  return n;
2437
2443
  }
2438
2444
  }]), r;
2439
- }(), nc = /* @__PURE__ */ function() {
2445
+ }(), ec = /* @__PURE__ */ function() {
2440
2446
  function r(t) {
2441
2447
  var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Ao.compare;
2442
2448
  vn(this, r), this.queue = t, this.tree = new Ms(e), this.segments = [];
@@ -2512,7 +2518,7 @@ var Wl = mr * mr, Ss = function(t, e) {
2512
2518
  return o.push(i), e.consumedBy === void 0 && this.tree.insert(e), o;
2513
2519
  }
2514
2520
  }]), r;
2515
- }(), _a = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, rc = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6, ic = /* @__PURE__ */ function() {
2521
+ }(), _a = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, nc = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6, rc = /* @__PURE__ */ function() {
2516
2522
  function r() {
2517
2523
  vn(this, r);
2518
2524
  }
@@ -2535,7 +2541,7 @@ var Wl = mr * mr, Ss = function(t, e) {
2535
2541
  for (var E = o[v].getSweepEvents(), C = 0, N = E.length; C < N; C++)
2536
2542
  if (y.insert(E[C]), y.size > _a)
2537
2543
  throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big). Please file a bug report.");
2538
- for (var x = new nc(y), L = y.size, D = y.pop(); D; ) {
2544
+ for (var x = new ec(y), L = y.size, D = y.pop(); D; ) {
2539
2545
  var T = D.key;
2540
2546
  if (y.size === L) {
2541
2547
  var A = T.segment;
@@ -2543,7 +2549,7 @@ var Wl = mr * mr, Ss = function(t, e) {
2543
2549
  }
2544
2550
  if (y.size > _a)
2545
2551
  throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big). Please file a bug report.");
2546
- if (x.segments.length > rc)
2552
+ if (x.segments.length > nc)
2547
2553
  throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments). Please file a bug report.");
2548
2554
  for (var q = x.process(T), j = 0, P = q.length; j < P; j++) {
2549
2555
  var X = q[j];
@@ -2552,31 +2558,31 @@ var Wl = mr * mr, Ss = function(t, e) {
2552
2558
  L = y.size, D = y.pop();
2553
2559
  }
2554
2560
  Ji.reset();
2555
- var R = tc.factory(x.segments), Y = new ec(R);
2561
+ var R = $l.factory(x.segments), Y = new tc(R);
2556
2562
  return Y.getGeom();
2557
2563
  }
2558
2564
  }]), r;
2559
- }(), Cn = new ic(), oc = function(t) {
2565
+ }(), Cn = new rc(), ic = function(t) {
2560
2566
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
2561
2567
  n[i - 1] = arguments[i];
2562
2568
  return Cn.run("union", t, n);
2563
- }, sc = function(t) {
2569
+ }, oc = function(t) {
2564
2570
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
2565
2571
  n[i - 1] = arguments[i];
2566
2572
  return Cn.run("intersection", t, n);
2567
- }, ac = function(t) {
2573
+ }, sc = function(t) {
2568
2574
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
2569
2575
  n[i - 1] = arguments[i];
2570
2576
  return Cn.run("xor", t, n);
2571
- }, uc = function(t) {
2577
+ }, ac = function(t) {
2572
2578
  for (var e = arguments.length, n = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++)
2573
2579
  n[i - 1] = arguments[i];
2574
2580
  return Cn.run("difference", t, n);
2575
2581
  }, Za = {
2576
- union: oc,
2577
- intersection: sc,
2578
- xor: ac,
2579
- difference: uc
2582
+ union: ic,
2583
+ intersection: oc,
2584
+ xor: sc,
2585
+ difference: ac
2580
2586
  }, _e = 63710088e-1, $a = {
2581
2587
  centimeters: _e * 100,
2582
2588
  centimetres: _e * 100,
@@ -2599,7 +2605,7 @@ function Wo(r, t, e) {
2599
2605
  var n = { type: "Feature" };
2600
2606
  return (e.id === 0 || e.id) && (n.id = e.id), e.bbox && (n.bbox = e.bbox), n.properties = t || {}, n.geometry = r, n;
2601
2607
  }
2602
- function lc(r, t, e) {
2608
+ function uc(r, t, e) {
2603
2609
  if (e === void 0 && (e = {}), !r)
2604
2610
  throw new Error("coordinates is required");
2605
2611
  if (!Array.isArray(r))
@@ -2643,14 +2649,14 @@ function eu(r, t, e) {
2643
2649
  };
2644
2650
  return Wo(n, t, e);
2645
2651
  }
2646
- function cc(r, t) {
2652
+ function lc(r, t) {
2647
2653
  t === void 0 && (t = "kilometers");
2648
2654
  var e = $a[t];
2649
2655
  if (!e)
2650
2656
  throw new Error(t + " units is invalid");
2651
2657
  return r * e;
2652
2658
  }
2653
- function fc(r, t) {
2659
+ function cc(r, t) {
2654
2660
  t === void 0 && (t = "kilometers");
2655
2661
  var e = $a[t];
2656
2662
  if (!e)
@@ -2663,12 +2669,12 @@ function Ea(r) {
2663
2669
  function Fo(r) {
2664
2670
  return r.type === "Feature" ? r.geometry : r;
2665
2671
  }
2666
- function hc(r, t, e) {
2672
+ function fc(r, t, e) {
2667
2673
  e === void 0 && (e = {});
2668
2674
  var n = Fo(r), i = Fo(t), o = Za.union(n.coordinates, i.coordinates);
2669
2675
  return o.length === 0 ? null : o.length === 1 ? tu(o[0], e.properties) : eu(o, e.properties);
2670
2676
  }
2671
- function gc(r, t) {
2677
+ function hc(r, t) {
2672
2678
  var e = Fo(r), n = Fo(t), i = r.properties || {}, o = Za.difference(
2673
2679
  e.coordinates,
2674
2680
  n.coordinates
@@ -2827,10 +2833,10 @@ function Ls(r) {
2827
2833
  }), t;
2828
2834
  }
2829
2835
  Ls.default = Ls;
2830
- function pc(r, t) {
2836
+ function gc(r, t) {
2831
2837
  t === void 0 && (t = {});
2832
2838
  var e = Ls(r), n = (e[0] + e[2]) / 2, i = (e[1] + e[3]) / 2;
2833
- return lc([n, i], t.properties, t);
2839
+ return uc([n, i], t.properties, t);
2834
2840
  }
2835
2841
  "fill" in Array.prototype || Object.defineProperty(Array.prototype, "fill", {
2836
2842
  configurable: !0,
@@ -2907,7 +2913,7 @@ var d = function r() {
2907
2913
  this.x = t.x, this.y = t.y, this.z = t.z;
2908
2914
  } else
2909
2915
  arguments.length === 2 ? (this.x = arguments[0], this.y = arguments[1], this.z = r.NULL_ORDINATE) : arguments.length === 3 && (this.x = arguments[0], this.y = arguments[1], this.z = arguments[2]);
2910
- }, ei = { DimensionalComparator: { configurable: !0 }, serialVersionUID: { configurable: !0 }, NULL_ORDINATE: { configurable: !0 }, X: { configurable: !0 }, Y: { configurable: !0 }, Z: { configurable: !0 } };
2916
+ }, ti = { DimensionalComparator: { configurable: !0 }, serialVersionUID: { configurable: !0 }, NULL_ORDINATE: { configurable: !0 }, X: { configurable: !0 }, Y: { configurable: !0 }, Z: { configurable: !0 } };
2911
2917
  d.prototype.setOrdinate = function(t, e) {
2912
2918
  switch (t) {
2913
2919
  case d.X:
@@ -2991,25 +2997,25 @@ d.hashCode = function() {
2991
2997
  return Math.trunc((e ^ e) >>> 32);
2992
2998
  }
2993
2999
  };
2994
- ei.DimensionalComparator.get = function() {
3000
+ ti.DimensionalComparator.get = function() {
2995
3001
  return er;
2996
3002
  };
2997
- ei.serialVersionUID.get = function() {
3003
+ ti.serialVersionUID.get = function() {
2998
3004
  return 6683108902428367e3;
2999
3005
  };
3000
- ei.NULL_ORDINATE.get = function() {
3006
+ ti.NULL_ORDINATE.get = function() {
3001
3007
  return z.NaN;
3002
3008
  };
3003
- ei.X.get = function() {
3009
+ ti.X.get = function() {
3004
3010
  return 0;
3005
3011
  };
3006
- ei.Y.get = function() {
3012
+ ti.Y.get = function() {
3007
3013
  return 1;
3008
3014
  };
3009
- ei.Z.get = function() {
3015
+ ti.Z.get = function() {
3010
3016
  return 2;
3011
3017
  };
3012
- Object.defineProperties(d, ei);
3018
+ Object.defineProperties(d, ti);
3013
3019
  var er = function(t) {
3014
3020
  if (this._dimensionsToTest = 2, arguments.length !== 0) {
3015
3021
  if (arguments.length === 1) {
@@ -3671,7 +3677,7 @@ Q.prototype.getClass = function() {
3671
3677
  };
3672
3678
  Object.defineProperties(Q, go);
3673
3679
  var au = function() {
3674
- }, Fi = function(r) {
3680
+ }, Bi = function(r) {
3675
3681
  function t() {
3676
3682
  r.call(this, "Projective point not representable on the Cartesian plane.");
3677
3683
  }
@@ -3720,13 +3726,13 @@ var ze = function r() {
3720
3726
  ze.prototype.getY = function() {
3721
3727
  var t = this.y / this.w;
3722
3728
  if (z.isNaN(t) || z.isInfinite(t))
3723
- throw new Fi();
3729
+ throw new Bi();
3724
3730
  return t;
3725
3731
  };
3726
3732
  ze.prototype.getX = function() {
3727
3733
  var t = this.x / this.w;
3728
3734
  if (z.isNaN(t) || z.isInfinite(t))
3729
- throw new Fi();
3735
+ throw new Bi();
3730
3736
  return t;
3731
3737
  };
3732
3738
  ze.prototype.getCoordinate = function() {
@@ -3742,7 +3748,7 @@ ze.prototype.getClass = function() {
3742
3748
  ze.intersection = function(t, e, n, i) {
3743
3749
  var o = t.y - e.y, s = e.x - t.x, a = t.x * e.y - e.x * t.y, u = n.y - i.y, l = i.x - n.x, c = n.x * i.y - i.x * n.y, f = s * c - l * a, h = u * a - o * c, g = o * l - u * s, p = f / g, y = h / g;
3744
3750
  if (z.isNaN(p) || z.isInfinite(p) || z.isNaN(y) || z.isInfinite(y))
3745
- throw new Fi();
3751
+ throw new Bi();
3746
3752
  return new d(p, y);
3747
3753
  };
3748
3754
  var M = function r() {
@@ -3964,7 +3970,7 @@ Ko.prototype.read = function(t) {
3964
3970
  var e, n, i;
3965
3971
  t = t.replace(/[\n\r]/g, " ");
3966
3972
  var o = Ze.typeStr.exec(t);
3967
- if (t.search("EMPTY") !== -1 && (o = Ze.emptyTypeStr.exec(t), o[2] = void 0), o && (n = o[1].toLowerCase(), i = o[2], li[n] && (e = li[n].apply(this, [i]))), e === void 0)
3973
+ if (t.search("EMPTY") !== -1 && (o = Ze.emptyTypeStr.exec(t), o[2] = void 0), o && (n = o[1].toLowerCase(), i = o[2], ui[n] && (e = ui[n].apply(this, [i]))), e === void 0)
3968
3974
  throw new Error("Could not parse WKT " + t);
3969
3975
  return e;
3970
3976
  };
@@ -4069,7 +4075,7 @@ var zn = {
4069
4075
  n.push(e.extractGeometry(t._geometries[i]));
4070
4076
  return n.join(",");
4071
4077
  }
4072
- }, li = {
4078
+ }, ui = {
4073
4079
  /**
4074
4080
  * Return point geometry given a point WKT fragment.
4075
4081
  *
@@ -4098,7 +4104,7 @@ var zn = {
4098
4104
  if (t === void 0)
4099
4105
  return this.geometryFactory.createMultiPoint();
4100
4106
  for (var n, i = t.trim().split(","), o = [], s = 0, a = i.length; s < a; ++s)
4101
- n = i[s].replace(Ze.trimParens, "$1"), o.push(li.point.apply(e, [n]));
4107
+ n = i[s].replace(Ze.trimParens, "$1"), o.push(ui.point.apply(e, [n]));
4102
4108
  return this.geometryFactory.createMultiPoint(o);
4103
4109
  },
4104
4110
  /**
@@ -4141,7 +4147,7 @@ var zn = {
4141
4147
  if (t === void 0)
4142
4148
  return this.geometryFactory.createMultiLineString();
4143
4149
  for (var n, i = t.trim().split(Ze.parenComma), o = [], s = 0, a = i.length; s < a; ++s)
4144
- n = i[s].replace(Ze.trimParens, "$1"), o.push(li.linestring.apply(e, [n]));
4150
+ n = i[s].replace(Ze.trimParens, "$1"), o.push(ui.linestring.apply(e, [n]));
4145
4151
  return this.geometryFactory.createMultiLineString(o);
4146
4152
  },
4147
4153
  /**
@@ -4156,7 +4162,7 @@ var zn = {
4156
4162
  if (t === void 0)
4157
4163
  return this.geometryFactory.createPolygon();
4158
4164
  for (var n, i, o, s = t.trim().split(Ze.parenComma), a, u = [], l = 0, c = s.length; l < c; ++l)
4159
- n = s[l].replace(Ze.trimParens, "$1"), i = li.linestring.apply(e, [n]), o = e.geometryFactory.createLinearRing(i._points), l === 0 ? a = o : u.push(o);
4165
+ n = s[l].replace(Ze.trimParens, "$1"), i = ui.linestring.apply(e, [n]), o = e.geometryFactory.createLinearRing(i._points), l === 0 ? a = o : u.push(o);
4160
4166
  return this.geometryFactory.createPolygon(a, u);
4161
4167
  },
4162
4168
  /**
@@ -4171,7 +4177,7 @@ var zn = {
4171
4177
  if (t === void 0)
4172
4178
  return this.geometryFactory.createMultiPolygon();
4173
4179
  for (var n, i = t.trim().split(Ze.doubleParenComma), o = [], s = 0, a = i.length; s < a; ++s)
4174
- n = i[s].replace(Ze.trimParens, "$1"), o.push(li.polygon.apply(e, [n]));
4180
+ n = i[s].replace(Ze.trimParens, "$1"), o.push(ui.polygon.apply(e, [n]));
4175
4181
  return this.geometryFactory.createMultiPolygon(o);
4176
4182
  },
4177
4183
  /**
@@ -4254,7 +4260,7 @@ var ft = function() {
4254
4260
  this._result = null, this._inputLines = Array(2).fill().map(function() {
4255
4261
  return Array(2);
4256
4262
  }), this._intPt = new Array(2).fill(null), this._intLineIndex = null, this._isProper = null, this._pa = null, this._pb = null, this._precisionModel = null, this._intPt[0] = new d(), this._intPt[1] = new d(), this._pa = this._intPt[0], this._pb = this._intPt[1], this._result = 0;
4257
- }, ni = { DONT_INTERSECT: { configurable: !0 }, DO_INTERSECT: { configurable: !0 }, COLLINEAR: { configurable: !0 }, NO_INTERSECTION: { configurable: !0 }, POINT_INTERSECTION: { configurable: !0 }, COLLINEAR_INTERSECTION: { configurable: !0 } };
4263
+ }, ei = { DONT_INTERSECT: { configurable: !0 }, DO_INTERSECT: { configurable: !0 }, COLLINEAR: { configurable: !0 }, NO_INTERSECTION: { configurable: !0 }, POINT_INTERSECTION: { configurable: !0 }, COLLINEAR_INTERSECTION: { configurable: !0 } };
4258
4264
  ft.prototype.getIndexAlongSegment = function(t, e) {
4259
4265
  return this.computeIntLineIndex(), this._intLineIndex[t][e];
4260
4266
  };
@@ -4348,25 +4354,25 @@ ft.nonRobustComputeEdgeDistance = function(t, e, n) {
4348
4354
  var i = t.x - e.x, o = t.y - e.y, s = Math.sqrt(i * i + o * o);
4349
4355
  return U.isTrue(!(s === 0 && !t.equals(e)), "Invalid distance calculation"), s;
4350
4356
  };
4351
- ni.DONT_INTERSECT.get = function() {
4357
+ ei.DONT_INTERSECT.get = function() {
4352
4358
  return 0;
4353
4359
  };
4354
- ni.DO_INTERSECT.get = function() {
4360
+ ei.DO_INTERSECT.get = function() {
4355
4361
  return 1;
4356
4362
  };
4357
- ni.COLLINEAR.get = function() {
4363
+ ei.COLLINEAR.get = function() {
4358
4364
  return 2;
4359
4365
  };
4360
- ni.NO_INTERSECTION.get = function() {
4366
+ ei.NO_INTERSECTION.get = function() {
4361
4367
  return 0;
4362
4368
  };
4363
- ni.POINT_INTERSECTION.get = function() {
4369
+ ei.POINT_INTERSECTION.get = function() {
4364
4370
  return 1;
4365
4371
  };
4366
- ni.COLLINEAR_INTERSECTION.get = function() {
4372
+ ei.COLLINEAR_INTERSECTION.get = function() {
4367
4373
  return 2;
4368
4374
  };
4369
- Object.defineProperties(ft, ni);
4375
+ Object.defineProperties(ft, ei);
4370
4376
  var Tr = function(r) {
4371
4377
  function t() {
4372
4378
  r.apply(this, arguments);
@@ -4389,7 +4395,7 @@ var Tr = function(r) {
4389
4395
  try {
4390
4396
  a = ze.intersection(n, i, o, s);
4391
4397
  } catch (u) {
4392
- if (u instanceof Fi)
4398
+ if (u instanceof Bi)
4393
4399
  a = t.nearestEndpoint(n, i, o, s);
4394
4400
  else
4395
4401
  throw u;
@@ -4552,7 +4558,7 @@ rn.locatePointInRing = function() {
4552
4558
  }
4553
4559
  };
4554
4560
  var O = function() {
4555
- }, ri = { CLOCKWISE: { configurable: !0 }, RIGHT: { configurable: !0 }, COUNTERCLOCKWISE: { configurable: !0 }, LEFT: { configurable: !0 }, COLLINEAR: { configurable: !0 }, STRAIGHT: { configurable: !0 } };
4561
+ }, ni = { CLOCKWISE: { configurable: !0 }, RIGHT: { configurable: !0 }, COUNTERCLOCKWISE: { configurable: !0 }, LEFT: { configurable: !0 }, COLLINEAR: { configurable: !0 }, STRAIGHT: { configurable: !0 } };
4556
4562
  O.prototype.interfaces_ = function() {
4557
4563
  return [];
4558
4564
  };
@@ -4683,25 +4689,25 @@ O.isOnLine = function(t, e) {
4683
4689
  }
4684
4690
  return !1;
4685
4691
  };
4686
- ri.CLOCKWISE.get = function() {
4692
+ ni.CLOCKWISE.get = function() {
4687
4693
  return -1;
4688
4694
  };
4689
- ri.RIGHT.get = function() {
4695
+ ni.RIGHT.get = function() {
4690
4696
  return O.CLOCKWISE;
4691
4697
  };
4692
- ri.COUNTERCLOCKWISE.get = function() {
4698
+ ni.COUNTERCLOCKWISE.get = function() {
4693
4699
  return 1;
4694
4700
  };
4695
- ri.LEFT.get = function() {
4701
+ ni.LEFT.get = function() {
4696
4702
  return O.COUNTERCLOCKWISE;
4697
4703
  };
4698
- ri.COLLINEAR.get = function() {
4704
+ ni.COLLINEAR.get = function() {
4699
4705
  return 0;
4700
4706
  };
4701
- ri.STRAIGHT.get = function() {
4707
+ ni.STRAIGHT.get = function() {
4702
4708
  return O.COLLINEAR;
4703
4709
  };
4704
- Object.defineProperties(O, ri);
4710
+ Object.defineProperties(O, ni);
4705
4711
  var jn = function() {
4706
4712
  };
4707
4713
  jn.prototype.filter = function(t) {
@@ -4986,13 +4992,13 @@ function Fs(r) {
4986
4992
  }
4987
4993
  Fs.prototype = new Error();
4988
4994
  Fs.prototype.name = "IndexOutOfBoundsException";
4989
- var Bi = function() {
4995
+ var Gi = function() {
4990
4996
  };
4991
- Bi.prototype.hasNext = function() {
4997
+ Gi.prototype.hasNext = function() {
4992
4998
  };
4993
- Bi.prototype.next = function() {
4999
+ Gi.prototype.next = function() {
4994
5000
  };
4995
- Bi.prototype.remove = function() {
5001
+ Gi.prototype.remove = function() {
4996
5002
  };
4997
5003
  var Ve = function(r) {
4998
5004
  function t() {
@@ -5003,11 +5009,11 @@ var Ve = function(r) {
5003
5009
  }, t.prototype.isEmpty = function() {
5004
5010
  }, t;
5005
5011
  }(wt);
5006
- function Gi(r) {
5012
+ function ki(r) {
5007
5013
  this.message = r || "";
5008
5014
  }
5009
- Gi.prototype = new Error();
5010
- Gi.prototype.name = "NoSuchElementException";
5015
+ ki.prototype = new Error();
5016
+ ki.prototype.name = "NoSuchElementException";
5011
5017
  var b = function(r) {
5012
5018
  function t() {
5013
5019
  r.call(this), this.array_ = [], arguments[0] instanceof wt && this.addAll(arguments[0]);
@@ -5027,7 +5033,7 @@ var b = function(r) {
5027
5033
  var o = this.array_[n];
5028
5034
  return this.array_[n] = i, o;
5029
5035
  }, t.prototype.iterator = function() {
5030
- return new dc(this);
5036
+ return new pc(this);
5031
5037
  }, t.prototype.get = function(n) {
5032
5038
  if (n < 0 || n >= this.size())
5033
5039
  throw new Fs();
@@ -5048,13 +5054,13 @@ var b = function(r) {
5048
5054
  }
5049
5055
  return o;
5050
5056
  }, t;
5051
- }(Ve), dc = function(r) {
5057
+ }(Ve), pc = function(r) {
5052
5058
  function t(e) {
5053
5059
  r.call(this), this.arrayList_ = e, this.position_ = 0;
5054
5060
  }
5055
5061
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.next = function() {
5056
5062
  if (this.position_ === this.arrayList_.size())
5057
- throw new Gi();
5063
+ throw new ki();
5058
5064
  return this.arrayList_.get(this.position_++);
5059
5065
  }, t.prototype.hasNext = function() {
5060
5066
  return this.position_ < this.arrayList_.size();
@@ -5063,7 +5069,7 @@ var b = function(r) {
5063
5069
  }, t.prototype.remove = function() {
5064
5070
  this.arrayList_.remove(this.arrayList_.get(this.position_));
5065
5071
  }, t;
5066
- }(Bi), po = function(r) {
5072
+ }(Gi), po = function(r) {
5067
5073
  function t() {
5068
5074
  if (r.call(this), arguments.length !== 0) {
5069
5075
  if (arguments.length === 1) {
@@ -5365,24 +5371,24 @@ mi.prototype.interfaces_ = function() {
5365
5371
  mi.prototype.getClass = function() {
5366
5372
  return mi;
5367
5373
  };
5368
- var ii = function() {
5374
+ var ri = function() {
5369
5375
  };
5370
- ii.prototype.get = function() {
5376
+ ri.prototype.get = function() {
5371
5377
  };
5372
- ii.prototype.put = function() {
5378
+ ri.prototype.put = function() {
5373
5379
  };
5374
- ii.prototype.size = function() {
5380
+ ri.prototype.size = function() {
5375
5381
  };
5376
- ii.prototype.values = function() {
5382
+ ri.prototype.values = function() {
5377
5383
  };
5378
- ii.prototype.entrySet = function() {
5384
+ ri.prototype.entrySet = function() {
5379
5385
  };
5380
- var vc = function(r) {
5386
+ var dc = function(r) {
5381
5387
  function t() {
5382
5388
  r.apply(this, arguments);
5383
5389
  }
5384
5390
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t;
5385
- }(ii);
5391
+ }(ri);
5386
5392
  function vo(r) {
5387
5393
  this.message = r || "";
5388
5394
  }
@@ -5421,22 +5427,22 @@ var Bs = function(r) {
5421
5427
  i.push(n.array_[o]);
5422
5428
  return i;
5423
5429
  }, t.prototype.iterator = function() {
5424
- return new yc(this);
5430
+ return new vc(this);
5425
5431
  }, t;
5426
- }(Jo), yc = function(r) {
5432
+ }(Jo), vc = function(r) {
5427
5433
  function t(e) {
5428
5434
  r.call(this), this.hashSet_ = e, this.position_ = 0;
5429
5435
  }
5430
5436
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.next = function() {
5431
5437
  if (this.position_ === this.hashSet_.size())
5432
- throw new Gi();
5438
+ throw new ki();
5433
5439
  return this.hashSet_.array_[this.position_++];
5434
5440
  }, t.prototype.hasNext = function() {
5435
5441
  return this.position_ < this.hashSet_.size();
5436
5442
  }, t.prototype.remove = function() {
5437
5443
  throw new vo();
5438
5444
  }, t;
5439
- }(Bi), qn = 0, dr = 1;
5445
+ }(Gi), qn = 0, dr = 1;
5440
5446
  function Ca(r) {
5441
5447
  return r === null ? qn : r.color;
5442
5448
  }
@@ -5455,7 +5461,7 @@ function Na(r) {
5455
5461
  function Ht() {
5456
5462
  this.root_ = null, this.size_ = 0;
5457
5463
  }
5458
- Ht.prototype = new vc();
5464
+ Ht.prototype = new dc();
5459
5465
  Ht.prototype.get = function(r) {
5460
5466
  for (var t = this.root_; t !== null; ) {
5461
5467
  var e = r.compareTo(t.key);
@@ -5633,7 +5639,7 @@ var Zo = function(r) {
5633
5639
  };
5634
5640
  Zo.prototype.next = function() {
5635
5641
  if (this.position_ === this.treeSet_.size())
5636
- throw new Gi();
5642
+ throw new ki();
5637
5643
  return this.treeSet_.array_[this.position_++];
5638
5644
  };
5639
5645
  Zo.prototype.hasNext = function() {
@@ -6019,18 +6025,18 @@ Go.prototype.interfaces_ = function() {
6019
6025
  Go.prototype.getClass = function() {
6020
6026
  return Go;
6021
6027
  };
6022
- function mc() {
6028
+ function yc() {
6023
6029
  }
6024
- function _c() {
6030
+ function mc() {
6025
6031
  }
6026
- var Ec = function() {
6032
+ var _c = function() {
6027
6033
  };
6034
+ function Ec() {
6035
+ }
6028
6036
  function Ic() {
6029
6037
  }
6030
6038
  function Cc() {
6031
6039
  }
6032
- function Nc() {
6033
- }
6034
6040
  var Re = function() {
6035
6041
  }, Gs = { NEWLINE: { configurable: !0 }, SIMPLE_ORDINATE_FORMAT: { configurable: !0 } };
6036
6042
  Re.prototype.interfaces_ = function() {
@@ -6046,16 +6052,16 @@ Re.chars = function(t, e) {
6046
6052
  };
6047
6053
  Re.getStackTrace = function() {
6048
6054
  if (arguments.length === 1) {
6049
- var t = arguments[0], e = new Ic(), n = new mc();
6055
+ var t = arguments[0], e = new Ec(), n = new yc();
6050
6056
  return t.printStackTrace(n), e.toString();
6051
6057
  } else if (arguments.length === 2) {
6052
6058
  var i = arguments[0], o = arguments[1], s = "";
6053
- new _c(Re.getStackTrace(i));
6054
- for (var a = new Nc(), u = 0; u < o; u++)
6059
+ new mc(Re.getStackTrace(i));
6060
+ for (var a = new Cc(), u = 0; u < o; u++)
6055
6061
  try {
6056
6062
  s += a.readLine() + Re.NEWLINE;
6057
6063
  } catch (l) {
6058
- if (l instanceof Cc)
6064
+ if (l instanceof Ic)
6059
6065
  U.shouldNeverReachHere();
6060
6066
  else
6061
6067
  throw l;
@@ -6087,7 +6093,7 @@ Gs.NEWLINE.get = function() {
6087
6093
  return zt.getProperty("line.separator");
6088
6094
  };
6089
6095
  Gs.SIMPLE_ORDINATE_FORMAT.get = function() {
6090
- return new Ec();
6096
+ return new _c();
6091
6097
  };
6092
6098
  Object.defineProperties(Re, Gs);
6093
6099
  var _t = function() {
@@ -6957,7 +6963,7 @@ var fu = function(r) {
6957
6963
  }, t.prototype.size = function() {
6958
6964
  return this.map_.size();
6959
6965
  }, t;
6960
- }(ii), $ = function r() {
6966
+ }(ri), $ = function r() {
6961
6967
  if (this._modelType = null, this._scale = null, arguments.length === 0)
6962
6968
  this._modelType = r.FLOATING;
6963
6969
  else if (arguments.length === 1) {
@@ -7263,7 +7269,7 @@ hu.serialVersionUID.get = function() {
7263
7269
  return -6820524753094096e3;
7264
7270
  };
7265
7271
  Object.defineProperties(H, hu);
7266
- var xc = ["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"], ts = function(t) {
7272
+ var Nc = ["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"], ts = function(t) {
7267
7273
  this.geometryFactory = t || new H();
7268
7274
  };
7269
7275
  ts.prototype.read = function(t) {
@@ -7272,7 +7278,7 @@ ts.prototype.read = function(t) {
7272
7278
  var n = e.type;
7273
7279
  if (!tn[n])
7274
7280
  throw new Error("Unknown GeoJSON type: " + e.type);
7275
- return xc.indexOf(n) !== -1 ? tn[n].apply(this, [e.coordinates]) : n === "GeometryCollection" ? tn[n].apply(this, [e.geometries]) : tn[n].apply(this, [e]);
7281
+ return Nc.indexOf(n) !== -1 ? tn[n].apply(this, [e.coordinates]) : n === "GeometryCollection" ? tn[n].apply(this, [e.geometries]) : tn[n].apply(this, [e]);
7276
7282
  };
7277
7283
  ts.prototype.write = function(t) {
7278
7284
  var e = t.getGeometryType();
@@ -8178,7 +8184,7 @@ xt.prototype.interfaces_ = function() {
8178
8184
  xt.prototype.getClass = function() {
8179
8185
  return xt;
8180
8186
  };
8181
- var Sc = function(r) {
8187
+ var xc = function(r) {
8182
8188
  function t() {
8183
8189
  var e = arguments[0], n = arguments[1];
8184
8190
  r.call(this, e, n);
@@ -8192,7 +8198,7 @@ var Sc = function(r) {
8192
8198
  }, t.prototype.getClass = function() {
8193
8199
  return t;
8194
8200
  }, t;
8195
- }(xt), wc = function(r) {
8201
+ }(xt), Sc = function(r) {
8196
8202
  function t() {
8197
8203
  var e = arguments[0], n = arguments[1];
8198
8204
  r.call(this, e, n);
@@ -8201,7 +8207,7 @@ var Sc = function(r) {
8201
8207
  var n = this, i = new b(), o = this._startDe;
8202
8208
  do {
8203
8209
  if (o.getMinEdgeRing() === null) {
8204
- var s = new Sc(o, n._geometryFactory);
8210
+ var s = new xc(o, n._geometryFactory);
8205
8211
  i.add(s);
8206
8212
  }
8207
8213
  o = o.getNext();
@@ -8766,7 +8772,7 @@ de.prototype.buildMaximalEdgeRings = function(t) {
8766
8772
  for (var e = this, n = new b(), i = t.iterator(); i.hasNext(); ) {
8767
8773
  var o = i.next();
8768
8774
  if (o.isInResult() && o.getLabel().isArea() && o.getEdgeRing() === null) {
8769
- var s = new wc(o, e._geometryFactory);
8775
+ var s = new Sc(o, e._geometryFactory);
8770
8776
  n.add(s), s.setInResult();
8771
8777
  }
8772
8778
  }
@@ -9179,7 +9185,7 @@ Dt.compareDoubles = function(t, e) {
9179
9185
  return t > e ? 1 : t < e ? -1 : 0;
9180
9186
  };
9181
9187
  os.IntersectsOp.get = function() {
9182
- return Lc;
9188
+ return wc;
9183
9189
  };
9184
9190
  os.serialVersionUID.get = function() {
9185
9191
  return -3886435814360241e3;
@@ -9188,7 +9194,7 @@ os.DEFAULT_NODE_CAPACITY.get = function() {
9188
9194
  return 10;
9189
9195
  };
9190
9196
  Object.defineProperties(Dt, os);
9191
- var Lc = function() {
9197
+ var wc = function() {
9192
9198
  }, Ci = function() {
9193
9199
  };
9194
9200
  Ci.prototype.distance = function(t, e) {
@@ -9773,7 +9779,7 @@ F.prototype.lineIntersection = function(t) {
9773
9779
  var e = ze.intersection(this.p0, this.p1, t.p0, t.p1);
9774
9780
  return e;
9775
9781
  } catch (n) {
9776
- if (!(n instanceof Fi))
9782
+ if (!(n instanceof Bi))
9777
9783
  throw n;
9778
9784
  } finally {
9779
9785
  }
@@ -10286,7 +10292,7 @@ yu.COORDINATE_ARRAY_TYPE.get = function() {
10286
10292
  };
10287
10293
  Object.defineProperties(Se, yu);
10288
10294
  var K = function() {
10289
- }, oi = { PI_TIMES_2: { configurable: !0 }, PI_OVER_2: { configurable: !0 }, PI_OVER_4: { configurable: !0 }, COUNTERCLOCKWISE: { configurable: !0 }, CLOCKWISE: { configurable: !0 }, NONE: { configurable: !0 } };
10295
+ }, ii = { PI_TIMES_2: { configurable: !0 }, PI_OVER_2: { configurable: !0 }, PI_OVER_4: { configurable: !0 }, COUNTERCLOCKWISE: { configurable: !0 }, CLOCKWISE: { configurable: !0 }, NONE: { configurable: !0 } };
10290
10296
  K.prototype.interfaces_ = function() {
10291
10297
  return [];
10292
10298
  };
@@ -10355,25 +10361,25 @@ K.angleBetweenOriented = function(t, e, n) {
10355
10361
  var i = K.angle(e, t), o = K.angle(e, n), s = o - i;
10356
10362
  return s <= -Math.PI ? s + K.PI_TIMES_2 : s > Math.PI ? s - K.PI_TIMES_2 : s;
10357
10363
  };
10358
- oi.PI_TIMES_2.get = function() {
10364
+ ii.PI_TIMES_2.get = function() {
10359
10365
  return 2 * Math.PI;
10360
10366
  };
10361
- oi.PI_OVER_2.get = function() {
10367
+ ii.PI_OVER_2.get = function() {
10362
10368
  return Math.PI / 2;
10363
10369
  };
10364
- oi.PI_OVER_4.get = function() {
10370
+ ii.PI_OVER_4.get = function() {
10365
10371
  return Math.PI / 4;
10366
10372
  };
10367
- oi.COUNTERCLOCKWISE.get = function() {
10373
+ ii.COUNTERCLOCKWISE.get = function() {
10368
10374
  return O.COUNTERCLOCKWISE;
10369
10375
  };
10370
- oi.CLOCKWISE.get = function() {
10376
+ ii.CLOCKWISE.get = function() {
10371
10377
  return O.CLOCKWISE;
10372
10378
  };
10373
- oi.NONE.get = function() {
10379
+ ii.NONE.get = function() {
10374
10380
  return O.COLLINEAR;
10375
10381
  };
10376
- Object.defineProperties(K, oi);
10382
+ Object.defineProperties(K, ii);
10377
10383
  var lt = function r() {
10378
10384
  this._maxCurveSegmentError = 0, this._filletAngleQuantum = null, this._closingSegLengthFactor = 1, this._segList = null, this._distance = 0, this._precisionModel = null, this._bufParams = null, this._li = null, this._s0 = null, this._s1 = null, this._s2 = null, this._seg0 = new F(), this._seg1 = new F(), this._offset0 = new F(), this._offset1 = new F(), this._side = 0, this._hasNarrowConcaveAngle = !1;
10379
10385
  var t = arguments[0], e = arguments[1], n = arguments[2];
@@ -10417,7 +10423,7 @@ lt.prototype.addMitreJoin = function(t, e, n, i) {
10417
10423
  var a = i <= 0 ? 1 : s.distance(t) / Math.abs(i);
10418
10424
  a > this._bufParams.getMitreLimit() && (o = !1);
10419
10425
  } catch (u) {
10420
- if (u instanceof Fi)
10426
+ if (u instanceof Bi)
10421
10427
  s = new d(0, 0), o = !1;
10422
10428
  else
10423
10429
  throw u;
@@ -10900,7 +10906,7 @@ xn.prototype.next = function() {
10900
10906
  this._subcollectionIterator = null;
10901
10907
  }
10902
10908
  if (this._index >= this._max)
10903
- throw new Gi();
10909
+ throw new ki();
10904
10910
  var t = this._parent.getGeometryN(this._index++);
10905
10911
  return t instanceof ne ? (this._subcollectionIterator = new xn(t), this._subcollectionIterator.next()) : t;
10906
10912
  };
@@ -10918,7 +10924,7 @@ xn.prototype.hasNext = function() {
10918
10924
  return !(this._index >= this._max);
10919
10925
  };
10920
10926
  xn.prototype.interfaces_ = function() {
10921
- return [Bi];
10927
+ return [Gi];
10922
10928
  };
10923
10929
  xn.prototype.getClass = function() {
10924
10930
  return xn;
@@ -11098,7 +11104,7 @@ jt.prototype.interfaces_ = function() {
11098
11104
  jt.prototype.getClass = function() {
11099
11105
  return jt;
11100
11106
  };
11101
- var bc = function(r) {
11107
+ var Lc = function(r) {
11102
11108
  function t() {
11103
11109
  r.call(this), this._resultAreaEdgeList = null, this._label = null, this._SCANNING_FOR_INCOMING = 1, this._LINKING_TO_OUTGOING = 2;
11104
11110
  }
@@ -11256,7 +11262,7 @@ var bc = function(r) {
11256
11262
  r.apply(this, arguments);
11257
11263
  }
11258
11264
  return r && (t.__proto__ = r), t.prototype = Object.create(r && r.prototype), t.prototype.constructor = t, t.prototype.createNode = function(n) {
11259
- return new is(n, new bc());
11265
+ return new is(n, new Lc());
11260
11266
  }, t.prototype.interfaces_ = function() {
11261
11267
  return [];
11262
11268
  }, t.prototype.getClass = function() {
@@ -12209,7 +12215,7 @@ var Gt = function() {
12209
12215
  var e = arguments[0], n = arguments[1];
12210
12216
  this._argGeom = e, this._bufParams = n;
12211
12217
  }
12212
- }, ki = { CAP_ROUND: { configurable: !0 }, CAP_BUTT: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, MAX_PRECISION_DIGITS: { configurable: !0 } };
12218
+ }, zi = { CAP_ROUND: { configurable: !0 }, CAP_BUTT: { configurable: !0 }, CAP_FLAT: { configurable: !0 }, CAP_SQUARE: { configurable: !0 }, MAX_PRECISION_DIGITS: { configurable: !0 } };
12213
12219
  Gt.prototype.bufferFixedPrecision = function(t) {
12214
12220
  var e = new ur(new Rn(new $(1)), t.getScale()), n = new ee(this._bufParams);
12215
12221
  n.setWorkingPrecisionModel(t), n.setNoder(e), this._resultGeometry = n.buffer(this._argGeom, this._distance);
@@ -12294,22 +12300,22 @@ Gt.precisionScaleFactor = function(t, e, n) {
12294
12300
  var i = t.getEnvelopeInternal(), o = Ne.max(Math.abs(i.getMaxX()), Math.abs(i.getMaxY()), Math.abs(i.getMinX()), Math.abs(i.getMinY())), s = e > 0 ? e : 0, a = o + 2 * s, u = Math.trunc(Math.log(a) / Math.log(10) + 1), l = n - u, c = Math.pow(10, l);
12295
12301
  return c;
12296
12302
  };
12297
- ki.CAP_ROUND.get = function() {
12303
+ zi.CAP_ROUND.get = function() {
12298
12304
  return Z.CAP_ROUND;
12299
12305
  };
12300
- ki.CAP_BUTT.get = function() {
12306
+ zi.CAP_BUTT.get = function() {
12301
12307
  return Z.CAP_FLAT;
12302
12308
  };
12303
- ki.CAP_FLAT.get = function() {
12309
+ zi.CAP_FLAT.get = function() {
12304
12310
  return Z.CAP_FLAT;
12305
12311
  };
12306
- ki.CAP_SQUARE.get = function() {
12312
+ zi.CAP_SQUARE.get = function() {
12307
12313
  return Z.CAP_SQUARE;
12308
12314
  };
12309
- ki.MAX_PRECISION_DIGITS.get = function() {
12315
+ zi.MAX_PRECISION_DIGITS.get = function() {
12310
12316
  return 12;
12311
12317
  };
12312
- Object.defineProperties(Gt, ki);
12318
+ Object.defineProperties(Gt, zi);
12313
12319
  var Zt = function() {
12314
12320
  this._pt = [new d(), new d()], this._distance = z.NaN, this._isNull = !0;
12315
12321
  };
@@ -14033,7 +14039,7 @@ qt.prototype.getClass = function() {
14033
14039
  qt.isAdjacentSegments = function(t, e) {
14034
14040
  return Math.abs(t - e) === 1;
14035
14041
  };
14036
- var Pc = function(r) {
14042
+ var bc = function(r) {
14037
14043
  function t() {
14038
14044
  r.call(this), this.events = new b(), this.nOverlaps = null;
14039
14045
  }
@@ -14130,7 +14136,7 @@ co.prototype.interfaces_ = function() {
14130
14136
  co.prototype.getClass = function() {
14131
14137
  return co;
14132
14138
  };
14133
- var Rc = function(r) {
14139
+ var Pc = function(r) {
14134
14140
  function t() {
14135
14141
  r.call(this), this._item = null;
14136
14142
  var e = arguments[0], n = arguments[1], i = arguments[2];
@@ -14145,7 +14151,7 @@ var Rc = function(r) {
14145
14151
  }, t.prototype.getClass = function() {
14146
14152
  return t;
14147
14153
  }, t;
14148
- }(Dn), Oc = function(r) {
14154
+ }(Dn), Rc = function(r) {
14149
14155
  function t() {
14150
14156
  r.call(this), this._node1 = null, this._node2 = null;
14151
14157
  var e = arguments[0], n = arguments[1];
@@ -14177,7 +14183,7 @@ Tn.prototype.buildTree = function() {
14177
14183
  Tn.prototype.insert = function(t, e, n) {
14178
14184
  if (this._root !== null)
14179
14185
  throw new Error("Index cannot be added to once it has been queried");
14180
- this._leaves.add(new Rc(t, e, n));
14186
+ this._leaves.add(new Pc(t, e, n));
14181
14187
  };
14182
14188
  Tn.prototype.query = function(t, e, n) {
14183
14189
  this.init(), this._root.query(t, e, n);
@@ -14202,7 +14208,7 @@ Tn.prototype.buildLevel = function(t, e) {
14202
14208
  if (o === null)
14203
14209
  e.add(i);
14204
14210
  else {
14205
- var s = new Oc(t.get(n), t.get(n + 1));
14211
+ var s = new Rc(t.get(n), t.get(n + 1));
14206
14212
  e.add(s);
14207
14213
  }
14208
14214
  }
@@ -14393,7 +14399,7 @@ var qi = function(r) {
14393
14399
  var s = this._nodes.addNode(i), a = s.getLabel();
14394
14400
  a === null ? s._label = new et(n, o) : a.setLocation(n, o);
14395
14401
  }, t.prototype.createEdgeSetIntersector = function() {
14396
- return new Pc();
14402
+ return new bc();
14397
14403
  }, t.prototype.addSelfIntersectionNodes = function(n) {
14398
14404
  for (var i = this, o = this._edges.iterator(); o.hasNext(); )
14399
14405
  for (var s = o.next(), a = s.getLabel().getLocation(n), u = s.eiList.iterator(); u.hasNext(); ) {
@@ -15037,22 +15043,22 @@ Uo.prototype = {
15037
15043
  this.t = 0;
15038
15044
  },
15039
15045
  add: function(r) {
15040
- wa(No, r, this.t), wa(this, No.s, this.s), this.s ? this.t += No.t : this.s = No.t;
15046
+ wa(xo, r, this.t), wa(this, xo.s, this.s), this.s ? this.t += xo.t : this.s = xo.t;
15041
15047
  },
15042
15048
  valueOf: function() {
15043
15049
  return this.s;
15044
15050
  }
15045
15051
  };
15046
- var No = new Uo();
15052
+ var xo = new Uo();
15047
15053
  function wa(r, t, e) {
15048
15054
  var n = r.s = t + e, i = n - t, o = n - i;
15049
15055
  r.t = t - o + (e - i);
15050
15056
  }
15051
- var gt = 1e-6, it = Math.PI, Yn = it / 2, La = it / 4, Zn = it * 2, vr = 180 / it, $e = it / 180, te = Math.abs, Dc = Math.atan, Ri = Math.atan2, Lt = Math.cos, bt = Math.sin, zi = Math.sqrt;
15057
+ var gt = 1e-6, it = Math.PI, Yn = it / 2, La = it / 4, Zn = it * 2, vr = 180 / it, $e = it / 180, te = Math.abs, Oc = Math.atan, Ri = Math.atan2, Lt = Math.cos, bt = Math.sin, Eo = Math.sqrt;
15052
15058
  function Ou(r) {
15053
15059
  return r > 1 ? 0 : r < -1 ? it : Math.acos(r);
15054
15060
  }
15055
- function ti(r) {
15061
+ function Oi(r) {
15056
15062
  return r > 1 ? Yn : r < -1 ? -Yn : Math.asin(r);
15057
15063
  }
15058
15064
  function Xi() {
@@ -15110,19 +15116,19 @@ function Ra(r, t) {
15110
15116
  Ps(r[e], t, 1);
15111
15117
  t.polygonEnd();
15112
15118
  }
15113
- function Tc(r, t) {
15119
+ function Dc(r, t) {
15114
15120
  r && ba.hasOwnProperty(r.type) ? ba[r.type](r, t) : qo(r, t);
15115
15121
  }
15116
15122
  Mr();
15117
15123
  Mr();
15118
15124
  function Rs(r) {
15119
- return [Ri(r[1], r[0]), ti(r[2])];
15125
+ return [Ri(r[1], r[0]), Oi(r[2])];
15120
15126
  }
15121
- function Oi(r) {
15127
+ function Di(r) {
15122
15128
  var t = r[0], e = r[1], n = Lt(e);
15123
15129
  return [n * Lt(t), n * bt(t), bt(e)];
15124
15130
  }
15125
- function xo(r, t) {
15131
+ function So(r, t) {
15126
15132
  return r[0] * t[0] + r[1] * t[1] + r[2] * t[2];
15127
15133
  }
15128
15134
  function Xo(r, t) {
@@ -15131,11 +15137,11 @@ function Xo(r, t) {
15131
15137
  function ds(r, t) {
15132
15138
  r[0] += t[0], r[1] += t[1], r[2] += t[2];
15133
15139
  }
15134
- function So(r, t) {
15140
+ function wo(r, t) {
15135
15141
  return [r[0] * t, r[1] * t, r[2] * t];
15136
15142
  }
15137
15143
  function Os(r) {
15138
- var t = zi(r[0] * r[0] + r[1] * r[1] + r[2] * r[2]);
15144
+ var t = Eo(r[0] * r[0] + r[1] * r[1] + r[2] * r[2]);
15139
15145
  r[0] /= t, r[1] /= t, r[2] /= t;
15140
15146
  }
15141
15147
  Mr();
@@ -15151,7 +15157,7 @@ function Ds(r, t) {
15151
15157
  return [r > it ? r - Zn : r < -it ? r + Zn : r, t];
15152
15158
  }
15153
15159
  Ds.invert = Ds;
15154
- function Mc(r, t, e) {
15160
+ function Tc(r, t, e) {
15155
15161
  return (r %= Zn) ? t || e ? Du(Da(r), Ta(t, e)) : Da(r) : t || e ? Ta(t, e) : Ds;
15156
15162
  }
15157
15163
  function Oa(r) {
@@ -15169,18 +15175,18 @@ function Ta(r, t) {
15169
15175
  var l = Lt(u), c = Lt(a) * l, f = bt(a) * l, h = bt(u), g = h * e + c * n;
15170
15176
  return [
15171
15177
  Ri(f * i - g * o, c * e - h * n),
15172
- ti(g * i + f * o)
15178
+ Oi(g * i + f * o)
15173
15179
  ];
15174
15180
  }
15175
15181
  return s.invert = function(a, u) {
15176
15182
  var l = Lt(u), c = Lt(a) * l, f = bt(a) * l, h = bt(u), g = h * i - f * o;
15177
15183
  return [
15178
15184
  Ri(f * i + h * o, c * e + g * n),
15179
- ti(g * e - c * n)
15185
+ Oi(g * e - c * n)
15180
15186
  ];
15181
15187
  }, s;
15182
15188
  }
15183
- function Ac(r, t, e, n, i, o) {
15189
+ function Mc(r, t, e, n, i, o) {
15184
15190
  if (e) {
15185
15191
  var s = Lt(t), a = bt(t), u = n * e;
15186
15192
  i == null ? (i = t + n * Zn, o = t - u / 2) : (i = Ma(s, i), o = Ma(s, o), (n > 0 ? i < o : i > o) && (i += n * Zn));
@@ -15189,7 +15195,7 @@ function Ac(r, t, e, n, i, o) {
15189
15195
  }
15190
15196
  }
15191
15197
  function Ma(r, t) {
15192
- t = Oi(t), t[0] -= r, Os(t);
15198
+ t = Di(t), t[0] -= r, Os(t);
15193
15199
  var e = Ou(-t[1]);
15194
15200
  return ((-t[2] < 0 ? -e : e) + Zn - gt) % Zn;
15195
15201
  }
@@ -15212,7 +15218,7 @@ function Tu() {
15212
15218
  }
15213
15219
  };
15214
15220
  }
15215
- function Fc(r, t, e, n, i, o) {
15221
+ function Ac(r, t, e, n, i, o) {
15216
15222
  var s = r[0], a = r[1], u = t[0], l = t[1], c = 0, f = 1, h = u - s, g = l - a, p;
15217
15223
  if (p = e - s, !(!h && p > 0)) {
15218
15224
  if (p /= h, h < 0) {
@@ -15263,7 +15269,7 @@ function Fc(r, t, e, n, i, o) {
15263
15269
  function Do(r, t) {
15264
15270
  return te(r[0] - t[0]) < gt && te(r[1] - t[1]) < gt;
15265
15271
  }
15266
- function wo(r, t, e, n) {
15272
+ function Lo(r, t, e, n) {
15267
15273
  this.x = r, this.z = t, this.o = e, this.e = n, this.v = !1, this.n = this.p = null;
15268
15274
  }
15269
15275
  function Mu(r, t, e, n, i) {
@@ -15277,7 +15283,7 @@ function Mu(r, t, e, n, i) {
15277
15283
  i.lineEnd();
15278
15284
  return;
15279
15285
  }
15280
- o.push(E = new wo(v, p, null, !0)), s.push(E.o = new wo(v, null, E, !1)), o.push(E = new wo(m, p, null, !1)), s.push(E.o = new wo(m, null, E, !0));
15286
+ o.push(E = new Lo(v, p, null, !0)), s.push(E.o = new Lo(v, null, E, !1)), o.push(E = new Lo(m, p, null, !1)), s.push(E.o = new Lo(m, null, E, !0));
15281
15287
  }
15282
15288
  }), !!o.length) {
15283
15289
  for (s.sort(t), Aa(o), Aa(s), a = 0, u = s.length; a < u; ++a)
@@ -15319,8 +15325,8 @@ function Aa(r) {
15319
15325
  function Au(r, t) {
15320
15326
  return r < t ? -1 : r > t ? 1 : r >= t ? 0 : NaN;
15321
15327
  }
15322
- function Bc(r) {
15323
- return r.length === 1 && (r = Gc(r)), {
15328
+ function Fc(r) {
15329
+ return r.length === 1 && (r = Bc(r)), {
15324
15330
  left: function(t, e, n, i) {
15325
15331
  for (n == null && (n = 0), i == null && (i = t.length); n < i; ) {
15326
15332
  var o = n + i >>> 1;
@@ -15337,12 +15343,12 @@ function Bc(r) {
15337
15343
  }
15338
15344
  };
15339
15345
  }
15340
- function Gc(r) {
15346
+ function Bc(r) {
15341
15347
  return function(t, e) {
15342
15348
  return Au(r(t), e);
15343
15349
  };
15344
15350
  }
15345
- Bc(Au);
15351
+ Fc(Au);
15346
15352
  function Fu(r) {
15347
15353
  for (var t = r.length, e, n = -1, i = 0, o, s; ++n < t; )
15348
15354
  i += r[n].length;
@@ -15351,8 +15357,8 @@ function Fu(r) {
15351
15357
  o[--i] = s[e];
15352
15358
  return o;
15353
15359
  }
15354
- var Yi = 1e9, Lo = -Yi;
15355
- function kc(r, t, e, n) {
15360
+ var Yi = 1e9, bo = -Yi;
15361
+ function Gc(r, t, e, n) {
15356
15362
  function i(l, c) {
15357
15363
  return r <= l && l <= e && t <= c && c <= n;
15358
15364
  }
@@ -15412,8 +15418,8 @@ function kc(r, t, e, n) {
15412
15418
  else if (St && N)
15413
15419
  c.point(Y, at);
15414
15420
  else {
15415
- var Xt = [E = Math.max(Lo, Math.min(Yi, E)), C = Math.max(Lo, Math.min(Yi, C))], fe = [Y = Math.max(Lo, Math.min(Yi, Y)), at = Math.max(Lo, Math.min(Yi, at))];
15416
- Fc(Xt, fe, r, t, e, n) ? (N || (c.lineStart(), c.point(Xt[0], Xt[1])), c.point(fe[0], fe[1]), St || c.lineEnd(), L = !1) : St && (c.lineStart(), c.point(Y, at), L = !1);
15421
+ var Xt = [E = Math.max(bo, Math.min(Yi, E)), C = Math.max(bo, Math.min(Yi, C))], fe = [Y = Math.max(bo, Math.min(Yi, Y)), at = Math.max(bo, Math.min(Yi, at))];
15422
+ Ac(Xt, fe, r, t, e, n) ? (N || (c.lineStart(), c.point(Xt[0], Xt[1])), c.point(fe[0], fe[1]), St || c.lineEnd(), L = !1) : St && (c.lineStart(), c.point(Y, at), L = !1);
15417
15423
  }
15418
15424
  E = Y, C = at, N = St;
15419
15425
  }
@@ -15421,7 +15427,7 @@ function kc(r, t, e, n) {
15421
15427
  };
15422
15428
  }
15423
15429
  var vs = Mr();
15424
- function zc(r, t) {
15430
+ function kc(r, t) {
15425
15431
  var e = t[0], n = t[1], i = [bt(e), -Lt(e), 0], o = 0, s = 0;
15426
15432
  vs.reset();
15427
15433
  for (var a = 0, u = r.length; a < u; ++a)
@@ -15429,11 +15435,11 @@ function zc(r, t) {
15429
15435
  for (var l, c, f = l[c - 1], h = f[0], g = f[1] / 2 + La, p = bt(g), y = Lt(g), v = 0; v < c; ++v, h = E, p = N, y = x, f = m) {
15430
15436
  var m = l[v], E = m[0], C = m[1] / 2 + La, N = bt(C), x = Lt(C), L = E - h, D = L >= 0 ? 1 : -1, T = D * L, A = T > it, q = p * N;
15431
15437
  if (vs.add(Ri(q * D * bt(T), y * x + q * Lt(T))), o += A ? L + D * Zn : L, A ^ h >= e ^ E >= e) {
15432
- var j = Xo(Oi(f), Oi(m));
15438
+ var j = Xo(Di(f), Di(m));
15433
15439
  Os(j);
15434
15440
  var P = Xo(i, j);
15435
15441
  Os(P);
15436
- var X = (A ^ L >= 0 ? -1 : 1) * ti(P[2]);
15442
+ var X = (A ^ L >= 0 ? -1 : 1) * Oi(P[2]);
15437
15443
  (n > X || n === X && (j[0] || j[1])) && (s += A ^ L >= 0 ? 1 : -1);
15438
15444
  }
15439
15445
  }
@@ -15445,19 +15451,19 @@ function Fa(r) {
15445
15451
  }
15446
15452
  Mr();
15447
15453
  Mr();
15448
- var Di = 1 / 0, Yo = Di, fo = -Di, Ho = fo, Ba = {
15449
- point: Vc,
15454
+ var Ti = 1 / 0, Yo = Ti, fo = -Ti, Ho = fo, Ba = {
15455
+ point: zc,
15450
15456
  lineStart: Xi,
15451
15457
  lineEnd: Xi,
15452
15458
  polygonStart: Xi,
15453
15459
  polygonEnd: Xi,
15454
15460
  result: function() {
15455
- var r = [[Di, Yo], [fo, Ho]];
15456
- return fo = Ho = -(Yo = Di = 1 / 0), r;
15461
+ var r = [[Ti, Yo], [fo, Ho]];
15462
+ return fo = Ho = -(Yo = Ti = 1 / 0), r;
15457
15463
  }
15458
15464
  };
15459
- function Vc(r, t) {
15460
- r < Di && (Di = r), r > fo && (fo = r), t < Yo && (Yo = t), t > Ho && (Ho = t);
15465
+ function zc(r, t) {
15466
+ r < Ti && (Ti = r), r > fo && (fo = r), t < Yo && (Yo = t), t > Ho && (Ho = t);
15461
15467
  }
15462
15468
  Mr();
15463
15469
  function Bu(r, t, e, n) {
@@ -15471,8 +15477,8 @@ function Bu(r, t, e, n) {
15471
15477
  },
15472
15478
  polygonEnd: function() {
15473
15479
  p.point = y, p.lineStart = m, p.lineEnd = E, h = Fu(h);
15474
- var L = zc(f, a);
15475
- h.length ? (c || (o.polygonStart(), c = !0), Mu(h, qc, L, e, o)) : L && (c || (o.polygonStart(), c = !0), o.lineStart(), e(null, null, 1, o), o.lineEnd()), c && (o.polygonEnd(), c = !1), h = f = null;
15480
+ var L = kc(f, a);
15481
+ h.length ? (c || (o.polygonStart(), c = !0), Mu(h, Uc, L, e, o)) : L && (c || (o.polygonStart(), c = !0), o.lineStart(), e(null, null, 1, o), o.lineEnd()), c && (o.polygonEnd(), c = !1), h = f = null;
15476
15482
  },
15477
15483
  sphere: function() {
15478
15484
  o.polygonStart(), o.lineStart(), e(null, null, 1, o), o.lineEnd(), o.polygonEnd();
@@ -15512,27 +15518,27 @@ function Bu(r, t, e, n) {
15512
15518
  }
15513
15519
  return;
15514
15520
  }
15515
- A > 1 && L & 2 && D.push(D.pop().concat(D.shift())), h.push(D.filter(Uc));
15521
+ A > 1 && L & 2 && D.push(D.pop().concat(D.shift())), h.push(D.filter(Vc));
15516
15522
  }
15517
15523
  }
15518
15524
  return p;
15519
15525
  };
15520
15526
  }
15521
- function Uc(r) {
15527
+ function Vc(r) {
15522
15528
  return r.length > 1;
15523
15529
  }
15524
- function qc(r, t) {
15530
+ function Uc(r, t) {
15525
15531
  return ((r = r.x)[0] < 0 ? r[1] - Yn - gt : Yn - r[1]) - ((t = t.x)[0] < 0 ? t[1] - Yn - gt : Yn - t[1]);
15526
15532
  }
15527
15533
  const Ga = Bu(
15528
15534
  function() {
15529
15535
  return !0;
15530
15536
  },
15531
- Xc,
15532
- Hc,
15537
+ qc,
15538
+ Yc,
15533
15539
  [-it, -Yn]
15534
15540
  );
15535
- function Xc(r) {
15541
+ function qc(r) {
15536
15542
  var t = NaN, e = NaN, n = NaN, i;
15537
15543
  return {
15538
15544
  lineStart: function() {
@@ -15540,7 +15546,7 @@ function Xc(r) {
15540
15546
  },
15541
15547
  point: function(o, s) {
15542
15548
  var a = o > 0 ? it : -it, u = te(o - t);
15543
- te(u - it) < gt ? (r.point(t, e = (e + s) / 2 > 0 ? Yn : -Yn), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), r.point(o, e), i = 0) : n !== a && u >= it && (te(t - n) < gt && (t -= n * gt), te(o - a) < gt && (o -= a * gt), e = Yc(t, e, o, s), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), i = 0), r.point(t = o, e = s), n = a;
15549
+ te(u - it) < gt ? (r.point(t, e = (e + s) / 2 > 0 ? Yn : -Yn), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), r.point(o, e), i = 0) : n !== a && u >= it && (te(t - n) < gt && (t -= n * gt), te(o - a) < gt && (o -= a * gt), e = Xc(t, e, o, s), r.point(n, e), r.lineEnd(), r.lineStart(), r.point(a, e), i = 0), r.point(t = o, e = s), n = a;
15544
15550
  },
15545
15551
  lineEnd: function() {
15546
15552
  r.lineEnd(), t = e = NaN;
@@ -15550,11 +15556,11 @@ function Xc(r) {
15550
15556
  }
15551
15557
  };
15552
15558
  }
15553
- function Yc(r, t, e, n) {
15559
+ function Xc(r, t, e, n) {
15554
15560
  var i, o, s = bt(r - e);
15555
- return te(s) > gt ? Dc((bt(t) * (o = Lt(n)) * bt(e) - bt(n) * (i = Lt(t)) * bt(r)) / (i * o * s)) : (t + n) / 2;
15561
+ return te(s) > gt ? Oc((bt(t) * (o = Lt(n)) * bt(e) - bt(n) * (i = Lt(t)) * bt(r)) / (i * o * s)) : (t + n) / 2;
15556
15562
  }
15557
- function Hc(r, t, e, n) {
15563
+ function Yc(r, t, e, n) {
15558
15564
  var i;
15559
15565
  if (r == null)
15560
15566
  i = e * Yn, n.point(-it, i), n.point(0, i), n.point(it, i), n.point(it, 0), n.point(it, -i), n.point(0, -i), n.point(-it, -i), n.point(-it, 0), n.point(-it, i);
@@ -15564,10 +15570,10 @@ function Hc(r, t, e, n) {
15564
15570
  } else
15565
15571
  n.point(t[0], t[1]);
15566
15572
  }
15567
- function Wc(r, t) {
15573
+ function Hc(r, t) {
15568
15574
  var e = Lt(r), n = e > 0, i = te(e) > gt;
15569
15575
  function o(c, f, h, g) {
15570
- Ac(g, r, t, h, c, f);
15576
+ Mc(g, r, t, h, c, f);
15571
15577
  }
15572
15578
  function s(c, f) {
15573
15579
  return Lt(c) * Lt(f) > e;
@@ -15599,21 +15605,21 @@ function Wc(r, t) {
15599
15605
  };
15600
15606
  }
15601
15607
  function u(c, f, h) {
15602
- var g = Oi(c), p = Oi(f), y = [1, 0, 0], v = Xo(g, p), m = xo(v, v), E = v[0], C = m - E * E;
15608
+ var g = Di(c), p = Di(f), y = [1, 0, 0], v = Xo(g, p), m = So(v, v), E = v[0], C = m - E * E;
15603
15609
  if (!C)
15604
15610
  return !h && c;
15605
- var N = e * m / C, x = -e * E / C, L = Xo(y, v), D = So(y, N), T = So(v, x);
15611
+ var N = e * m / C, x = -e * E / C, L = Xo(y, v), D = wo(y, N), T = wo(v, x);
15606
15612
  ds(D, T);
15607
- var A = L, q = xo(D, A), j = xo(A, A), P = q * q - j * (xo(D, D) - 1);
15613
+ var A = L, q = So(D, A), j = So(A, A), P = q * q - j * (So(D, D) - 1);
15608
15614
  if (!(P < 0)) {
15609
- var X = zi(P), R = So(A, (-q - X) / j);
15615
+ var X = Eo(P), R = wo(A, (-q - X) / j);
15610
15616
  if (ds(R, D), R = Rs(R), !h)
15611
15617
  return R;
15612
15618
  var Y = c[0], at = f[0], St = c[1], Xt = f[1], fe;
15613
15619
  at < Y && (fe = Y, Y = at, at = fe);
15614
15620
  var Ar = at - Y, _n = te(Ar - it) < gt, An = _n || Ar < gt;
15615
15621
  if (!_n && Xt < St && (fe = St, St = Xt, Xt = fe), An ? _n ? St + Xt > 0 ^ R[1] < (te(R[0] - Y) < gt ? St : Xt) : St <= R[1] && R[1] <= Xt : Ar > it ^ (Y <= R[0] && R[0] <= at)) {
15616
- var he = So(A, (-q + X) / j);
15622
+ var he = wo(A, (-q + X) / j);
15617
15623
  return ds(he, D), [R, Rs(he)];
15618
15624
  }
15619
15625
  }
@@ -15657,30 +15663,30 @@ Ts.prototype = {
15657
15663
  };
15658
15664
  function ku(r, t, e) {
15659
15665
  var n = t[1][0] - t[0][0], i = t[1][1] - t[0][1], o = r.clipExtent && r.clipExtent();
15660
- r.scale(150).translate([0, 0]), o != null && r.clipExtent(null), Tc(e, r.stream(Ba));
15666
+ r.scale(150).translate([0, 0]), o != null && r.clipExtent(null), Dc(e, r.stream(Ba));
15661
15667
  var s = Ba.result(), a = Math.min(n / (s[1][0] - s[0][0]), i / (s[1][1] - s[0][1])), u = +t[0][0] + (n - a * (s[1][0] + s[0][0])) / 2, l = +t[0][1] + (i - a * (s[1][1] + s[0][1])) / 2;
15662
15668
  return o != null && r.clipExtent(o), r.scale(a * 150).translate([u, l]);
15663
15669
  }
15664
- function jc(r, t, e) {
15670
+ function Wc(r, t, e) {
15665
15671
  return ku(r, [[0, 0], t], e);
15666
15672
  }
15667
- var ka = 16, Kc = Lt(30 * $e);
15673
+ var ka = 16, jc = Lt(30 * $e);
15668
15674
  function za(r, t) {
15669
- return +t ? Jc(r, t) : Qc(r);
15675
+ return +t ? Qc(r, t) : Kc(r);
15670
15676
  }
15671
- function Qc(r) {
15677
+ function Kc(r) {
15672
15678
  return Gu({
15673
15679
  point: function(t, e) {
15674
15680
  t = r(t, e), this.stream.point(t[0], t[1]);
15675
15681
  }
15676
15682
  });
15677
15683
  }
15678
- function Jc(r, t) {
15684
+ function Qc(r, t) {
15679
15685
  function e(n, i, o, s, a, u, l, c, f, h, g, p, y, v) {
15680
15686
  var m = l - n, E = c - i, C = m * m + E * E;
15681
15687
  if (C > 4 * t && y--) {
15682
- var N = s + h, x = a + g, L = u + p, D = zi(N * N + x * x + L * L), T = ti(L /= D), A = te(te(L) - 1) < gt || te(o - f) < gt ? (o + f) / 2 : Ri(x, N), q = r(A, T), j = q[0], P = q[1], X = j - n, R = P - i, Y = E * X - m * R;
15683
- (Y * Y / C > t || te((m * X + E * R) / C - 0.5) > 0.3 || s * h + a * g + u * p < Kc) && (e(n, i, o, s, a, u, j, P, A, N /= D, x /= D, L, y, v), v.point(j, P), e(j, P, A, N, x, L, l, c, f, h, g, p, y, v));
15688
+ var N = s + h, x = a + g, L = u + p, D = Eo(N * N + x * x + L * L), T = Oi(L /= D), A = te(te(L) - 1) < gt || te(o - f) < gt ? (o + f) / 2 : Ri(x, N), q = r(A, T), j = q[0], P = q[1], X = j - n, R = P - i, Y = E * X - m * R;
15689
+ (Y * Y / C > t || te((m * X + E * R) / C - 0.5) > 0.3 || s * h + a * g + u * p < jc) && (e(n, i, o, s, a, u, j, P, A, N /= D, x /= D, L, y, v), v.point(j, P), e(j, P, A, N, x, L, l, c, f, h, g, p, y, v));
15684
15690
  }
15685
15691
  }
15686
15692
  return function(n) {
@@ -15702,7 +15708,7 @@ function Jc(r, t) {
15702
15708
  f = NaN, v.point = C, n.lineStart();
15703
15709
  }
15704
15710
  function C(T, A) {
15705
- var q = Oi([T, A]), j = r(T, A);
15711
+ var q = Di([T, A]), j = r(T, A);
15706
15712
  e(f, h, c, g, p, y, f = j[0], h = j[1], c = T, g = q[0], p = q[1], y = q[2], ka, n), n.point(f, h);
15707
15713
  }
15708
15714
  function N() {
@@ -15720,17 +15726,17 @@ function Jc(r, t) {
15720
15726
  return v;
15721
15727
  };
15722
15728
  }
15723
- var Zc = Gu({
15729
+ var Jc = Gu({
15724
15730
  point: function(r, t) {
15725
15731
  this.stream.point(r * $e, t * $e);
15726
15732
  }
15727
15733
  });
15728
- function $c(r) {
15729
- return tf(function() {
15734
+ function Zc(r) {
15735
+ return $c(function() {
15730
15736
  return r;
15731
15737
  })();
15732
15738
  }
15733
- function tf(r) {
15739
+ function $c(r) {
15734
15740
  var t, e = 150, n = 480, i = 250, o, s, a = 0, u = 0, l = 0, c = 0, f = 0, h, g, p = null, y = Ga, v = null, m, E, C, N = Fa, x = 0.5, L = za(j, x), D, T;
15735
15741
  function A(R) {
15736
15742
  return R = g(R[0] * $e, R[1] * $e), [R[0] * e + o, s - R[1] * e];
@@ -15742,11 +15748,11 @@ function tf(r) {
15742
15748
  return R = t(R, Y), [R[0] * e + o, s - R[1] * e];
15743
15749
  }
15744
15750
  A.stream = function(R) {
15745
- return D && T === R ? D : D = Zc(y(h, L(N(T = R))));
15751
+ return D && T === R ? D : D = Jc(y(h, L(N(T = R))));
15746
15752
  }, A.clipAngle = function(R) {
15747
- return arguments.length ? (y = +R ? Wc(p = R * $e, 6 * $e) : (p = null, Ga), X()) : p * vr;
15753
+ return arguments.length ? (y = +R ? Hc(p = R * $e, 6 * $e) : (p = null, Ga), X()) : p * vr;
15748
15754
  }, A.clipExtent = function(R) {
15749
- return arguments.length ? (N = R == null ? (v = m = E = C = null, Fa) : kc(v = +R[0][0], m = +R[0][1], E = +R[1][0], C = +R[1][1]), X()) : v == null ? null : [[v, m], [E, C]];
15755
+ return arguments.length ? (N = R == null ? (v = m = E = C = null, Fa) : Gc(v = +R[0][0], m = +R[0][1], E = +R[1][0], C = +R[1][1]), X()) : v == null ? null : [[v, m], [E, C]];
15750
15756
  }, A.scale = function(R) {
15751
15757
  return arguments.length ? (e = +R, P()) : e;
15752
15758
  }, A.translate = function(R) {
@@ -15756,14 +15762,14 @@ function tf(r) {
15756
15762
  }, A.rotate = function(R) {
15757
15763
  return arguments.length ? (l = R[0] % 360 * $e, c = R[1] % 360 * $e, f = R.length > 2 ? R[2] % 360 * $e : 0, P()) : [l * vr, c * vr, f * vr];
15758
15764
  }, A.precision = function(R) {
15759
- return arguments.length ? (L = za(j, x = R * R), X()) : zi(x);
15765
+ return arguments.length ? (L = za(j, x = R * R), X()) : Eo(x);
15760
15766
  }, A.fitExtent = function(R, Y) {
15761
15767
  return ku(A, R, Y);
15762
15768
  }, A.fitSize = function(R, Y) {
15763
- return jc(A, R, Y);
15769
+ return Wc(A, R, Y);
15764
15770
  };
15765
15771
  function P() {
15766
- g = Du(h = Mc(l, c, f), t);
15772
+ g = Du(h = Tc(l, c, f), t);
15767
15773
  var R = t(a, u);
15768
15774
  return o = n - R[0] * e, s = i + R[1] * e, X();
15769
15775
  }
@@ -15774,7 +15780,7 @@ function tf(r) {
15774
15780
  return t = r.apply(this, arguments), A.invert = t.invert && q, P();
15775
15781
  };
15776
15782
  }
15777
- function zu(r) {
15783
+ function tf(r) {
15778
15784
  return function(t, e) {
15779
15785
  var n = Lt(t), i = Lt(e), o = r(n * i);
15780
15786
  return [
@@ -15783,29 +15789,23 @@ function zu(r) {
15783
15789
  ];
15784
15790
  };
15785
15791
  }
15786
- function Vu(r) {
15792
+ function ef(r) {
15787
15793
  return function(t, e) {
15788
- var n = zi(t * t + e * e), i = r(n), o = bt(i), s = Lt(i);
15794
+ var n = Eo(t * t + e * e), i = r(n), o = bt(i), s = Lt(i);
15789
15795
  return [
15790
15796
  Ri(t * o, n * s),
15791
- ti(n && e * o / n)
15797
+ Oi(n && e * o / n)
15792
15798
  ];
15793
15799
  };
15794
15800
  }
15795
- var ef = zu(function(r) {
15796
- return zi(2 / (1 + r));
15797
- });
15798
- ef.invert = Vu(function(r) {
15799
- return 2 * ti(r / 2);
15800
- });
15801
- var Uu = zu(function(r) {
15801
+ var zu = tf(function(r) {
15802
15802
  return (r = Ou(r)) && r / bt(r);
15803
15803
  });
15804
- Uu.invert = Vu(function(r) {
15804
+ zu.invert = ef(function(r) {
15805
15805
  return r;
15806
15806
  });
15807
15807
  function nf() {
15808
- return $c(Uu).scale(79.4188).clipAngle(180 - 1e-3);
15808
+ return Zc(zu).scale(79.4188).clipAngle(180 - 1e-3);
15809
15809
  }
15810
15810
  function Va(r, t) {
15811
15811
  return [r, t];
@@ -15852,31 +15852,31 @@ function To(r, t, e, n) {
15852
15852
  }
15853
15853
  var a = of(o), u = {
15854
15854
  type: o.type,
15855
- coordinates: Xu(o.coordinates, a)
15856
- }, l = new Us(), c = l.read(u), f = cc(fc(t, e), "meters"), h = Gt.bufferOp(c, f, n), g = new gu();
15857
- if (h = g.write(h), !qu(h.coordinates)) {
15855
+ coordinates: Uu(o.coordinates, a)
15856
+ }, l = new Us(), c = l.read(u), f = lc(cc(t, e), "meters"), h = Gt.bufferOp(c, f, n), g = new gu();
15857
+ if (h = g.write(h), !Vu(h.coordinates)) {
15858
15858
  var p = {
15859
15859
  type: h.type,
15860
- coordinates: Yu(h.coordinates, a)
15860
+ coordinates: qu(h.coordinates, a)
15861
15861
  };
15862
15862
  return Wo(p, i);
15863
15863
  }
15864
15864
  }
15865
- function qu(r) {
15866
- return Array.isArray(r[0]) ? qu(r[0]) : isNaN(r[0]);
15865
+ function Vu(r) {
15866
+ return Array.isArray(r[0]) ? Vu(r[0]) : isNaN(r[0]);
15867
15867
  }
15868
- function Xu(r, t) {
15868
+ function Uu(r, t) {
15869
15869
  return typeof r[0] != "object" ? t(r) : r.map(function(e) {
15870
- return Xu(e, t);
15870
+ return Uu(e, t);
15871
15871
  });
15872
15872
  }
15873
- function Yu(r, t) {
15873
+ function qu(r, t) {
15874
15874
  return typeof r[0] != "object" ? t.invert(r) : r.map(function(e) {
15875
- return Yu(e, t);
15875
+ return qu(e, t);
15876
15876
  });
15877
15877
  }
15878
15878
  function of(r) {
15879
- var t = pc(r).geometry.coordinates, e = [-t[0], -t[1]];
15879
+ var t = gc(r).geometry.coordinates, e = [-t[0], -t[1]];
15880
15880
  return nf().rotate(e).scale(_e);
15881
15881
  }
15882
15882
  function Ua(r) {
@@ -15885,7 +15885,7 @@ function Ua(r) {
15885
15885
  t && e[0] - t[0] >= 180 ? e[0] -= 360 : t && e[0] - t[0] < -180 && (e[0] += 360), t = e;
15886
15886
  }
15887
15887
  function qa(r, t) {
15888
- const e = gc(
15888
+ const e = hc(
15889
15889
  {
15890
15890
  type: "Polygon",
15891
15891
  coordinates: [
@@ -16020,7 +16020,7 @@ function sf(r, t, e = !0, n = !0, i = {}, o = {}, s = {
16020
16020
  if (x.length > 0) {
16021
16021
  let L = x.pop();
16022
16022
  for (const D of x)
16023
- L = hc(L, D);
16023
+ L = fc(L, D);
16024
16024
  qa({ ...E, geometry: L }, C), N = !0;
16025
16025
  } else {
16026
16026
  const L = E.geometry.geometries.filter(
@@ -16077,7 +16077,7 @@ class lf extends EventTarget {
16077
16077
  super();
16078
16078
  fs(this, En, void 0);
16079
16079
  fs(this, zr, void 0);
16080
- Co(this, zr, e);
16080
+ No(this, zr, e);
16081
16081
  }
16082
16082
  onAdd(e) {
16083
16083
  const n = document.createElement("div");
@@ -16098,7 +16098,7 @@ class lf extends EventTarget {
16098
16098
  c,
16099
16099
  u
16100
16100
  );
16101
- Co(this, En, new zl({
16101
+ No(this, En, new kl({
16102
16102
  target: n,
16103
16103
  props: {
16104
16104
  mapController: f,
@@ -16121,7 +16121,7 @@ class lf extends EventTarget {
16121
16121
  }
16122
16122
  setOptions(e) {
16123
16123
  var l;
16124
- Co(this, zr, e);
16124
+ No(this, zr, e);
16125
16125
  const {
16126
16126
  maplibregl: n,
16127
16127
  marker: i,