@maptiler/geocoding-control 1.3.0-rc2 → 1.3.0-rc3

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/leaflet.js CHANGED
@@ -1,10 +1,10 @@
1
- var Ah = Object.defineProperty;
2
- var Dh = (a, r, i) => r in a ? Ah(a, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[r] = i;
3
- var Ss = (a, r, i) => (Dh(a, typeof r != "symbol" ? r + "" : r, i), i), Do = (a, r, i) => {
1
+ var Ph = Object.defineProperty;
2
+ var Ah = (a, r, i) => r in a ? Ph(a, r, { enumerable: !0, configurable: !0, writable: !0, value: i }) : a[r] = i;
3
+ var Is = (a, r, i) => (Ah(a, typeof r != "symbol" ? r + "" : r, i), i), Do = (a, r, i) => {
4
4
  if (!r.has(a))
5
5
  throw TypeError("Cannot " + i);
6
6
  };
7
- var Lt = (a, r, i) => (Do(a, r, "read from private field"), i ? i.call(a) : r.get(a)), Is = (a, r, i) => {
7
+ var Lt = (a, r, i) => (Do(a, r, "read from private field"), i ? i.call(a) : r.get(a)), bs = (a, r, i) => {
8
8
  if (r.has(a))
9
9
  throw TypeError("Cannot add the same private member more than once");
10
10
  r instanceof WeakSet ? r.add(a) : r.set(a, i);
@@ -12,7 +12,7 @@ var Lt = (a, r, i) => (Do(a, r, "read from private field"), i ? i.call(a) : r.ge
12
12
  import * as Zt from "leaflet";
13
13
  function Te() {
14
14
  }
15
- function Fh(a, r) {
15
+ function Dh(a, r) {
16
16
  for (const i in r)
17
17
  a[i] = r[i];
18
18
  return (
@@ -20,16 +20,16 @@ function Fh(a, r) {
20
20
  a
21
21
  );
22
22
  }
23
- function tc(a) {
23
+ function ec(a) {
24
24
  return a();
25
25
  }
26
26
  function Fo() {
27
27
  return /* @__PURE__ */ Object.create(null);
28
28
  }
29
29
  function en(a) {
30
- a.forEach(tc);
30
+ a.forEach(ec);
31
31
  }
32
- function nc(a) {
32
+ function tc(a) {
33
33
  return typeof a == "function";
34
34
  }
35
35
  function gn(a, r) {
@@ -39,19 +39,19 @@ let ai;
39
39
  function He(a, r) {
40
40
  return a === r ? !0 : (ai || (ai = document.createElement("a")), ai.href = r, a === ai.href);
41
41
  }
42
- function Bh(a) {
42
+ function Fh(a) {
43
43
  return Object.keys(a).length === 0;
44
44
  }
45
- function Gh(a, r, i, u) {
45
+ function Bh(a, r, i, u) {
46
46
  if (a) {
47
- const l = rc(a, r, i, u);
47
+ const l = nc(a, r, i, u);
48
48
  return a[0](l);
49
49
  }
50
50
  }
51
- function rc(a, r, i, u) {
52
- return a[1] && u ? Fh(i.ctx.slice(), a[1](u(r))) : i.ctx;
51
+ function nc(a, r, i, u) {
52
+ return a[1] && u ? Dh(i.ctx.slice(), a[1](u(r))) : i.ctx;
53
53
  }
54
- function qh(a, r, i, u) {
54
+ function Gh(a, r, i, u) {
55
55
  if (a[2] && u) {
56
56
  const l = a[2](u(i));
57
57
  if (r.dirty === void 0)
@@ -66,13 +66,13 @@ function qh(a, r, i, u) {
66
66
  }
67
67
  return r.dirty;
68
68
  }
69
- function zh(a, r, i, u, l, f) {
69
+ function qh(a, r, i, u, l, f) {
70
70
  if (l) {
71
- const g = rc(r, i, u, f);
71
+ const g = nc(r, i, u, f);
72
72
  a.p(g, l);
73
73
  }
74
74
  }
75
- function Uh(a) {
75
+ function zh(a) {
76
76
  if (a.ctx.length > 32) {
77
77
  const r = [], i = a.ctx.length / 32;
78
78
  for (let u = 0; u < i; u++)
@@ -105,13 +105,13 @@ function cn(a) {
105
105
  function ft() {
106
106
  return cn(" ");
107
107
  }
108
- function Yh() {
108
+ function Uh() {
109
109
  return cn("");
110
110
  }
111
111
  function et(a, r, i, u) {
112
112
  return a.addEventListener(r, i, u), () => a.removeEventListener(r, i, u);
113
113
  }
114
- function Wh(a) {
114
+ function Yh(a) {
115
115
  return function(r) {
116
116
  return r.preventDefault(), a.call(this, r);
117
117
  };
@@ -119,7 +119,7 @@ function Wh(a) {
119
119
  function Y(a, r, i) {
120
120
  i == null ? a.removeAttribute(r) : a.getAttribute(r) !== i && a.setAttribute(r, i);
121
121
  }
122
- function Xh(a) {
122
+ function Wh(a) {
123
123
  return Array.from(a.childNodes);
124
124
  }
125
125
  function Ur(a, r) {
@@ -132,27 +132,27 @@ function Go(a, r) {
132
132
  function xt(a, r, i) {
133
133
  a.classList.toggle(r, !!i);
134
134
  }
135
- function jh(a, r, { bubbles: i = !1, cancelable: u = !1 } = {}) {
135
+ function Xh(a, r, { bubbles: i = !1, cancelable: u = !1 } = {}) {
136
136
  return new CustomEvent(a, { detail: r, bubbles: i, cancelable: u });
137
137
  }
138
138
  let Yr;
139
139
  function Fr(a) {
140
140
  Yr = a;
141
141
  }
142
- function ic() {
142
+ function rc() {
143
143
  if (!Yr)
144
144
  throw new Error("Function called outside component initialization");
145
145
  return Yr;
146
146
  }
147
- function Vh(a) {
148
- ic().$$.on_destroy.push(a);
147
+ function jh(a) {
148
+ rc().$$.on_destroy.push(a);
149
149
  }
150
- function Hh() {
151
- const a = ic();
150
+ function Vh() {
151
+ const a = rc();
152
152
  return (r, i, { cancelable: u = !1 } = {}) => {
153
153
  const l = a.$$.callbacks[r];
154
154
  if (l) {
155
- const f = jh(
155
+ const f = Xh(
156
156
  /** @type {string} */
157
157
  r,
158
158
  i,
@@ -171,17 +171,17 @@ function qo(a, r) {
171
171
  }
172
172
  const $n = [], Qs = [];
173
173
  let nr = [];
174
- const zo = [], Zh = /* @__PURE__ */ Promise.resolve();
174
+ const zo = [], Hh = /* @__PURE__ */ Promise.resolve();
175
175
  let Ks = !1;
176
- function Qh() {
177
- Ks || (Ks = !0, Zh.then(sc));
176
+ function Zh() {
177
+ Ks || (Ks = !0, Hh.then(ic));
178
178
  }
179
179
  function Js(a) {
180
180
  nr.push(a);
181
181
  }
182
- const bs = /* @__PURE__ */ new Set();
182
+ const ws = /* @__PURE__ */ new Set();
183
183
  let Zn = 0;
184
- function sc() {
184
+ function ic() {
185
185
  if (Zn !== 0)
186
186
  return;
187
187
  const a = Yr;
@@ -189,7 +189,7 @@ function sc() {
189
189
  try {
190
190
  for (; Zn < $n.length; ) {
191
191
  const r = $n[Zn];
192
- Zn++, Fr(r), Kh(r.$$);
192
+ Zn++, Fr(r), Qh(r.$$);
193
193
  }
194
194
  } catch (r) {
195
195
  throw $n.length = 0, Zn = 0, r;
@@ -198,22 +198,22 @@ function sc() {
198
198
  Qs.pop()();
199
199
  for (let r = 0; r < nr.length; r += 1) {
200
200
  const i = nr[r];
201
- bs.has(i) || (bs.add(i), i());
201
+ ws.has(i) || (ws.add(i), i());
202
202
  }
203
203
  nr.length = 0;
204
204
  } while ($n.length);
205
205
  for (; zo.length; )
206
206
  zo.pop()();
207
- Ks = !1, bs.clear(), Fr(a);
207
+ Ks = !1, ws.clear(), Fr(a);
208
208
  }
209
- function Kh(a) {
209
+ function Qh(a) {
210
210
  if (a.fragment !== null) {
211
211
  a.update(), en(a.before_update);
212
212
  const r = a.dirty;
213
213
  a.dirty = [-1], a.fragment && a.fragment.p(a.ctx, r), a.after_update.forEach(Js);
214
214
  }
215
215
  }
216
- function Jh(a) {
216
+ function Kh(a) {
217
217
  const r = [], i = [];
218
218
  nr.forEach((u) => a.indexOf(u) === -1 ? r.push(u) : i.push(u)), i.forEach((u) => u()), nr = r;
219
219
  }
@@ -246,12 +246,12 @@ function Ye(a, r, i, u) {
246
246
  function Uo(a) {
247
247
  return (a == null ? void 0 : a.length) !== void 0 ? a : Array.from(a);
248
248
  }
249
- function $h(a, r) {
249
+ function Jh(a, r) {
250
250
  Ye(a, 1, 1, () => {
251
251
  r.delete(a.key);
252
252
  });
253
253
  }
254
- function eg(a, r, i, u, l, f, g, v, d, _, x, p) {
254
+ function $h(a, r, i, u, l, f, g, v, d, _, x, p) {
255
255
  let S = a.length, k = f.length, I = S;
256
256
  const C = {};
257
257
  for (; I--; )
@@ -284,16 +284,16 @@ function fn(a) {
284
284
  function Jt(a, r, i) {
285
285
  const { fragment: u, after_update: l } = a.$$;
286
286
  u && u.m(r, i), Js(() => {
287
- const f = a.$$.on_mount.map(tc).filter(nc);
287
+ const f = a.$$.on_mount.map(ec).filter(tc);
288
288
  a.$$.on_destroy ? a.$$.on_destroy.push(...f) : en(f), a.$$.on_mount = [];
289
289
  }), l.forEach(Js);
290
290
  }
291
291
  function $t(a, r) {
292
292
  const i = a.$$;
293
- i.fragment !== null && (Jh(i.after_update), en(i.on_destroy), i.fragment && i.fragment.d(r), i.on_destroy = i.fragment = null, i.ctx = []);
293
+ i.fragment !== null && (Kh(i.after_update), en(i.on_destroy), i.fragment && i.fragment.d(r), i.on_destroy = i.fragment = null, i.ctx = []);
294
294
  }
295
- function tg(a, r) {
296
- a.$$.dirty[0] === -1 && ($n.push(a), Qh(), a.$$.dirty.fill(0)), a.$$.dirty[r / 31 | 0] |= 1 << r % 31;
295
+ function eg(a, r) {
296
+ a.$$.dirty[0] === -1 && ($n.push(a), Zh(), a.$$.dirty.fill(0)), a.$$.dirty[r / 31 | 0] |= 1 << r % 31;
297
297
  }
298
298
  function yn(a, r, i, u, l, f, g = null, v = [-1]) {
299
299
  const d = Yr;
@@ -323,14 +323,14 @@ function yn(a, r, i, u, l, f, g = null, v = [-1]) {
323
323
  let x = !1;
324
324
  if (_.ctx = i ? i(a, r.props || {}, (p, S, ...k) => {
325
325
  const I = k.length ? k[0] : S;
326
- return _.ctx && l(_.ctx[p], _.ctx[p] = I) && (!_.skip_bound && _.bound[p] && _.bound[p](I), x && tg(a, p)), S;
326
+ return _.ctx && l(_.ctx[p], _.ctx[p] = I) && (!_.skip_bound && _.bound[p] && _.bound[p](I), x && eg(a, p)), S;
327
327
  }) : [], _.update(), x = !0, en(_.before_update), _.fragment = u ? u(_.ctx) : !1, r.target) {
328
328
  if (r.hydrate) {
329
- const p = Xh(r.target);
329
+ const p = Wh(r.target);
330
330
  _.fragment && _.fragment.l(p), p.forEach(Ce);
331
331
  } else
332
332
  _.fragment && _.fragment.c();
333
- r.intro && Be(a.$$.fragment), Jt(a, r.target, r.anchor), sc();
333
+ r.intro && Be(a.$$.fragment), Jt(a, r.target, r.anchor), ic();
334
334
  }
335
335
  Fr(d);
336
336
  }
@@ -343,7 +343,7 @@ class vn {
343
343
  *
344
344
  * @type {any}
345
345
  */
346
- Ss(this, "$$");
346
+ Is(this, "$$");
347
347
  /**
348
348
  * ### PRIVATE API
349
349
  *
@@ -351,7 +351,7 @@ class vn {
351
351
  *
352
352
  * @type {any}
353
353
  */
354
- Ss(this, "$$set");
354
+ Is(this, "$$set");
355
355
  }
356
356
  /** @returns {void} */
357
357
  $destroy() {
@@ -364,7 +364,7 @@ class vn {
364
364
  * @returns {() => void}
365
365
  */
366
366
  $on(r, i) {
367
- if (!nc(i))
367
+ if (!tc(i))
368
368
  return Te;
369
369
  const u = this.$$.callbacks[r] || (this.$$.callbacks[r] = []);
370
370
  return u.push(i), () => {
@@ -377,12 +377,12 @@ class vn {
377
377
  * @returns {void}
378
378
  */
379
379
  $set(r) {
380
- this.$$set && !Bh(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
380
+ this.$$set && !Fh(r) && (this.$$.skip_bound = !0, this.$$set(r), this.$$.skip_bound = !1);
381
381
  }
382
382
  }
383
- const ng = "4";
384
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ng);
385
- function rg(a) {
383
+ const tg = "4";
384
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tg);
385
+ function ng(a) {
386
386
  let r, i;
387
387
  return {
388
388
  c() {
@@ -399,12 +399,12 @@ function rg(a) {
399
399
  }
400
400
  };
401
401
  }
402
- class ac extends vn {
402
+ class sc extends vn {
403
403
  constructor(r) {
404
- super(), yn(this, r, null, rg, gn, {});
404
+ super(), yn(this, r, null, ng, gn, {});
405
405
  }
406
406
  }
407
- function ig(a) {
407
+ function rg(a) {
408
408
  let r, i;
409
409
  return {
410
410
  c() {
@@ -421,12 +421,12 @@ function ig(a) {
421
421
  }
422
422
  };
423
423
  }
424
- class oc extends vn {
424
+ class ac extends vn {
425
425
  constructor(r) {
426
- super(), yn(this, r, null, ig, gn, {});
426
+ super(), yn(this, r, null, rg, gn, {});
427
427
  }
428
428
  }
429
- function sg(a) {
429
+ function ig(a) {
430
430
  let r, i;
431
431
  return {
432
432
  c() {
@@ -457,7 +457,7 @@ function sg(a) {
457
457
  }
458
458
  };
459
459
  }
460
- function ag(a) {
460
+ function sg(a) {
461
461
  let r, i;
462
462
  return {
463
463
  c() {
@@ -488,7 +488,7 @@ function ag(a) {
488
488
  }
489
489
  };
490
490
  }
491
- function og(a) {
491
+ function ag(a) {
492
492
  let r, i;
493
493
  return {
494
494
  c() {
@@ -519,7 +519,7 @@ function og(a) {
519
519
  }
520
520
  };
521
521
  }
522
- function ug(a) {
522
+ function og(a) {
523
523
  let r, i;
524
524
  return {
525
525
  c() {
@@ -550,7 +550,7 @@ function ug(a) {
550
550
  }
551
551
  };
552
552
  }
553
- function lg(a) {
553
+ function ug(a) {
554
554
  let r, i;
555
555
  return {
556
556
  c() {
@@ -581,7 +581,7 @@ function lg(a) {
581
581
  }
582
582
  };
583
583
  }
584
- function cg(a) {
584
+ function lg(a) {
585
585
  let r, i;
586
586
  return {
587
587
  c() {
@@ -612,7 +612,7 @@ function cg(a) {
612
612
  }
613
613
  };
614
614
  }
615
- function fg(a) {
615
+ function cg(a) {
616
616
  let r, i;
617
617
  return {
618
618
  c() {
@@ -643,7 +643,7 @@ function fg(a) {
643
643
  }
644
644
  };
645
645
  }
646
- function hg(a) {
646
+ function fg(a) {
647
647
  let r, i, u, l;
648
648
  return {
649
649
  c() {
@@ -704,7 +704,7 @@ function Yo(a) {
704
704
  }
705
705
  };
706
706
  }
707
- function gg(a) {
707
+ function hg(a) {
708
708
  var q, U;
709
709
  let r, i, u, l, f, g, v, d, _ = (
710
710
  /*isReverse*/
@@ -740,17 +740,17 @@ function gg(a) {
740
740
  1 && (i = null), H & /*feature*/
741
741
  1 && (u = null), H & /*feature*/
742
742
  1 && (l = null), /*imageUrl*/
743
- A[5] ? hg : (
743
+ A[5] ? fg : (
744
744
  /*feature*/
745
- A[0].address ? fg : (
745
+ A[0].address ? cg : (
746
746
  /*feature*/
747
747
  ((ee = A[0].properties) == null ? void 0 : ee.kind) === "road" || /*feature*/
748
- ((Z = A[0].properties) == null ? void 0 : Z.kind) === "road_relation" ? cg : (i == null && (i = !!/*feature*/
749
- A[0].id.startsWith("address.")), i ? lg : (u == null && (u = !!/*feature*/
750
- A[0].id.startsWith("postal_code.")), u ? ug : (l == null && (l = !!/*feature*/
751
- A[0].id.startsWith("poi.")), l ? og : (
748
+ ((Z = A[0].properties) == null ? void 0 : Z.kind) === "road_relation" ? lg : (i == null && (i = !!/*feature*/
749
+ A[0].id.startsWith("address.")), i ? ug : (u == null && (u = !!/*feature*/
750
+ A[0].id.startsWith("postal_code.")), u ? og : (l == null && (l = !!/*feature*/
751
+ A[0].id.startsWith("poi.")), l ? ag : (
752
752
  /*isReverse*/
753
- A[7] ? ag : sg
753
+ A[7] ? sg : ig
754
754
  ))))
755
755
  )
756
756
  );
@@ -833,7 +833,7 @@ function gg(a) {
833
833
  }
834
834
  };
835
835
  }
836
- function yg(a, r, i) {
836
+ function gg(a, r, i) {
837
837
  var R;
838
838
  let u, l, { feature: f } = r, { selected: g = !1 } = r, { showPlaceType: v } = r, { missingIconsCache: d } = r, { iconsBaseUrl: _ } = r;
839
839
  const x = (R = f.properties) == null ? void 0 : R.categories;
@@ -877,9 +877,9 @@ function yg(a, r, i) {
877
877
  P
878
878
  ];
879
879
  }
880
- class vg extends vn {
880
+ class yg extends vn {
881
881
  constructor(r) {
882
- super(), yn(this, r, yg, gg, gn, {
882
+ super(), yn(this, r, gg, hg, gn, {
883
883
  feature: 0,
884
884
  selected: 1,
885
885
  showPlaceType: 2,
@@ -888,7 +888,7 @@ class vg extends vn {
888
888
  });
889
889
  }
890
890
  }
891
- function mg(a) {
891
+ function vg(a) {
892
892
  let r;
893
893
  return {
894
894
  c() {
@@ -905,12 +905,12 @@ function mg(a) {
905
905
  }
906
906
  };
907
907
  }
908
- class dg extends vn {
908
+ class mg extends vn {
909
909
  constructor(r) {
910
- super(), yn(this, r, null, mg, gn, {});
910
+ super(), yn(this, r, null, vg, gn, {});
911
911
  }
912
912
  }
913
- function pg(a) {
913
+ function dg(a) {
914
914
  let r, i, u;
915
915
  return {
916
916
  c() {
@@ -954,18 +954,18 @@ function pg(a) {
954
954
  }
955
955
  };
956
956
  }
957
- function _g(a, r, i) {
957
+ function pg(a, r, i) {
958
958
  let { displayIn: u } = r;
959
959
  return a.$$set = (l) => {
960
960
  "displayIn" in l && i(0, u = l.displayIn);
961
961
  }, [u];
962
962
  }
963
- class Eg extends vn {
963
+ class _g extends vn {
964
964
  constructor(r) {
965
- super(), yn(this, r, _g, pg, gn, { displayIn: 0 });
965
+ super(), yn(this, r, pg, dg, gn, { displayIn: 0 });
966
966
  }
967
967
  }
968
- function kg(a) {
968
+ function Eg(a) {
969
969
  let r, i;
970
970
  return {
971
971
  c() {
@@ -982,12 +982,12 @@ function kg(a) {
982
982
  }
983
983
  };
984
984
  }
985
- class xg extends vn {
985
+ class kg extends vn {
986
986
  constructor(r) {
987
- super(), yn(this, r, null, kg, gn, {});
987
+ super(), yn(this, r, null, Eg, gn, {});
988
988
  }
989
989
  }
990
- function Sg(a) {
990
+ function xg(a) {
991
991
  let r, i, u;
992
992
  return {
993
993
  c() {
@@ -1004,12 +1004,12 @@ function Sg(a) {
1004
1004
  }
1005
1005
  };
1006
1006
  }
1007
- class Ig extends vn {
1007
+ class Sg extends vn {
1008
1008
  constructor(r) {
1009
- super(), yn(this, r, null, Sg, gn, {});
1009
+ super(), yn(this, r, null, xg, gn, {});
1010
1010
  }
1011
1011
  }
1012
- function bg(a, r, i) {
1012
+ function Ig(a, r, i) {
1013
1013
  const u = r[1], l = r[0], f = u - l;
1014
1014
  return a === u && i ? a : ((a - l) % f + f) % f + l;
1015
1015
  }
@@ -1018,7 +1018,7 @@ function Wo(a) {
1018
1018
  return r[2] < r[0] && (r[2] += 360), r;
1019
1019
  }
1020
1020
  let Lr;
1021
- async function wg(a, r, i) {
1021
+ async function bg(a, r, i) {
1022
1022
  const u = a == null ? void 0 : a.getCenterAndZoom();
1023
1023
  for (const l of r ?? [])
1024
1024
  if (!(u && (l.minZoom != null && l.minZoom > u[0] || l.maxZoom != null && l.maxZoom < u[0]))) {
@@ -1065,7 +1065,7 @@ async function wg(a, r, i) {
1065
1065
  }
1066
1066
  }
1067
1067
  const Xo = /([+-]?[0-8]?[0-9])\s+([0-5]?[0-9]\.\d{3,})[\s,]{1,}([+-]?[0-1]?[0-9]?[0-9])\s+([0-5]?[0-9]\.\d{3,})/, jo = /(NORTH|SOUTH|[NS])?[\s]*([+-]?[0-8]?[0-9](?:[\.,]\d{3,}))[\s]*([•º°]?)[\s]*(NORTH|SOUTH|[NS])?[\s]*[,/;]?[\s]*(EAST|WEST|[EW])?[\s]*([+-]?[0-1]?[0-9]?[0-9](?:[\.,]\d{3,}))[\s]*([•º°]?)[\s]*(EAST|WEST|[EW])?/i, Vo = /(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*(\.)\s*([0-5]?[0-9])\s*(\.)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*(\.)\s*([0-5]?[0-9])\s*(\.)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(EAST|WEST|[EW])?/i, Ho = /(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*(D(?:EG)?(?:REES)?)\s*([0-5]?[0-9])\s*(M(?:IN)?(?:UTES)?)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(S(?:EC)?(?:ONDS)?)?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*(D(?:EG)?(?:REES)?)\s*([0-5]?[0-9])\s*(M(?:IN)?(?:UTES)?)\s*((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(S(?:EC)?(?:ONDS)?)\s*(EAST|WEST|[EW])?/i, Zo = /(NORTH|SOUTH|[NS])?\s*([+-]?[0-8]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([0-5]?[0-9](?:[\.,]\d{1,})?)?\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*,?((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(''|′′|’’|´´|["″”\.])?\s*(NORTH|SOUTH|[NS])?(?:\s*[,/;]\s*|\s*)(EAST|WEST|[EW])?\s*([+-]?[0-1]?[0-9]?[0-9])\s*([•º°\.:]|D(?:EG)?(?:REES)?)?\s*,?([0-5]?[0-9](?:[\.,]\d{1,})?)?\s*(['′´’\.:]|M(?:IN)?(?:UTES)?)?\s*,?((?:[0-5]?[0-9])(?:[\.,]\d{1,3})?)?\s*(''|′′|´´|’’|["″”\.])?\s*(EAST|WEST|[EW])?/i;
1068
- function Ng(a) {
1068
+ function wg(a) {
1069
1069
  if (!["DMS", "DM", "DD"].includes(a))
1070
1070
  throw new Error("invalid format specified");
1071
1071
  if (this.decimalCoordinates && this.decimalCoordinates.trim()) {
@@ -1082,13 +1082,13 @@ function Ng(a) {
1082
1082
  function Qo(a, r) {
1083
1083
  const i = Math.abs(a), u = Math.floor(i), l = (i - u) * 60;
1084
1084
  if (r == "DM") {
1085
- let v = Lg(l, 3).toFixed(3).padStart(6, "0");
1085
+ let v = Ng(l, 3).toFixed(3).padStart(6, "0");
1086
1086
  return `${u}° ${v}'`;
1087
1087
  }
1088
1088
  let f = Math.floor(l), g = ((l - f) * 60).toFixed(1).padStart(4, "0");
1089
1089
  return f = f.toString().padStart(2, "0"), `${u}° ${f}' ${g}"`;
1090
1090
  }
1091
- function Lg(a, r) {
1091
+ function Ng(a, r) {
1092
1092
  const i = Math.pow(10, r);
1093
1093
  return Math.round((a + Number.EPSILON) * i) / i;
1094
1094
  }
@@ -1169,8 +1169,8 @@ function Ca(a, r) {
1169
1169
  decimalLatitude: i,
1170
1170
  decimalLongitude: u,
1171
1171
  decimalCoordinates: `${i},${u}`,
1172
- closeEnough: Tg,
1173
- toCoordinateFormat: Ng
1172
+ closeEnough: Lg,
1173
+ toCoordinateFormat: wg
1174
1174
  });
1175
1175
  } else
1176
1176
  throw new Error("coordinates pattern match failed");
@@ -1198,7 +1198,7 @@ function Ko(a, r) {
1198
1198
  const i = Math.abs(a - r);
1199
1199
  return Number(i.toFixed(6)) <= 1e-5;
1200
1200
  }
1201
- function Tg(a) {
1201
+ function Lg(a) {
1202
1202
  if (a.includes(",")) {
1203
1203
  const r = a.split(",");
1204
1204
  if (Number(r[0]) == NaN || Number(r[1]) == NaN)
@@ -1207,13 +1207,13 @@ function Tg(a) {
1207
1207
  } else
1208
1208
  throw new Error("coords being tested must be separated by a comma");
1209
1209
  }
1210
- const Cg = Object.freeze({
1210
+ const Tg = Object.freeze({
1211
1211
  DMS: "DMS",
1212
1212
  DM: "DM",
1213
1213
  DD: "DD"
1214
1214
  });
1215
- Ca.to = Cg;
1216
- const Og = [
1215
+ Ca.to = Tg;
1216
+ const Cg = [
1217
1217
  {
1218
1218
  verbatimCoordinates: "40.123, -74.123",
1219
1219
  verbatimLatitude: "40.123",
@@ -1354,10 +1354,10 @@ const Og = [
1354
1354
  verbatimLatitude: "40 7 22.8",
1355
1355
  verbatimLongitude: "-74 7 22.8"
1356
1356
  }
1357
- ], Rg = {
1357
+ ], Og = {
1358
1358
  decimalLatitude: 40.123,
1359
1359
  decimalLongitude: -74.123
1360
- }, Mg = [
1360
+ }, Rg = [
1361
1361
  {
1362
1362
  verbatimCoordinates: `50°4'17.698"south, 14°24'2.826"east`,
1363
1363
  verbatimLatitude: `50°4'17.698"south`,
@@ -1442,7 +1442,7 @@ const Og = [
1442
1442
  decimalLatitude: -18.4,
1443
1443
  decimalLongitude: 22.75
1444
1444
  }
1445
- ], Pg = [
1445
+ ], Mg = [
1446
1446
  // additional formats we've encountered
1447
1447
  {
1448
1448
  verbatimCoordinates: "10.432342S 10.6345345E",
@@ -1571,22 +1571,22 @@ const Og = [
1571
1571
  decimalLongitude: 18.95764
1572
1572
  }
1573
1573
  ];
1574
- function Ag() {
1574
+ function Pg() {
1575
1575
  const a = [];
1576
- return Og.forEach((r) => {
1577
- r.decimalLatitude ? a.push(r) : a.push({ ...r, ...Rg });
1578
- }), [...a, ...Mg, ...Pg];
1576
+ return Cg.forEach((r) => {
1577
+ r.decimalLatitude ? a.push(r) : a.push({ ...r, ...Og });
1578
+ }), [...a, ...Rg, ...Mg];
1579
1579
  }
1580
- const Dg = Ag();
1581
- Ca.formats = Dg.map((a) => a.verbatimCoordinates);
1582
- const Fg = Ca;
1580
+ const Ag = Pg();
1581
+ Ca.formats = Ag.map((a) => a.verbatimCoordinates);
1582
+ const Dg = Ca;
1583
1583
  function Jo(a, r, i) {
1584
1584
  const u = a.slice();
1585
1585
  return u[81] = r[i], u[83] = i, u;
1586
1586
  }
1587
1587
  function $o(a) {
1588
1588
  let r, i;
1589
- return r = new dg({}), {
1589
+ return r = new mg({}), {
1590
1590
  c() {
1591
1591
  fn(r.$$.fragment);
1592
1592
  },
@@ -1606,7 +1606,7 @@ function $o(a) {
1606
1606
  }
1607
1607
  function eu(a) {
1608
1608
  let r, i, u, l, f;
1609
- return i = new xg({}), {
1609
+ return i = new kg({}), {
1610
1610
  c() {
1611
1611
  r = ke("button"), fn(i.$$.fragment), Y(r, "type", "button"), Y(
1612
1612
  r,
@@ -1654,7 +1654,7 @@ function eu(a) {
1654
1654
  }
1655
1655
  };
1656
1656
  }
1657
- function Bg(a) {
1657
+ function Fg(a) {
1658
1658
  let r, i = [], u = /* @__PURE__ */ new Map(), l, f, g, v = Uo(
1659
1659
  /*listFeatures*/
1660
1660
  a[14]
@@ -1700,7 +1700,7 @@ function Bg(a) {
1700
1700
  17880064 && (v = Uo(
1701
1701
  /*listFeatures*/
1702
1702
  _[14]
1703
- ), mi(), i = eg(i, x, d, 1, _, v, u, r, $h, tu, null, Jo), di());
1703
+ ), mi(), i = $h(i, x, d, 1, _, v, u, r, Jh, tu, null, Jo), di());
1704
1704
  },
1705
1705
  i(_) {
1706
1706
  if (!l) {
@@ -1722,9 +1722,9 @@ function Bg(a) {
1722
1722
  }
1723
1723
  };
1724
1724
  }
1725
- function Gg(a) {
1725
+ function Bg(a) {
1726
1726
  let r, i, u, l, f, g;
1727
- return i = new oc({}), {
1727
+ return i = new ac({}), {
1728
1728
  c() {
1729
1729
  r = ke("div"), fn(i.$$.fragment), u = ft(), l = ke("div"), f = cn(
1730
1730
  /*noResultsMessage*/
@@ -1753,7 +1753,7 @@ function Gg(a) {
1753
1753
  }
1754
1754
  };
1755
1755
  }
1756
- function qg(a) {
1756
+ function Gg(a) {
1757
1757
  let r = "", i;
1758
1758
  return {
1759
1759
  c() {
@@ -1770,9 +1770,9 @@ function qg(a) {
1770
1770
  }
1771
1771
  };
1772
1772
  }
1773
- function zg(a) {
1773
+ function qg(a) {
1774
1774
  let r, i, u, l, f, g, v, d, _, x, p;
1775
- return i = new oc({}), d = new ac({}), {
1775
+ return i = new ac({}), d = new sc({}), {
1776
1776
  c() {
1777
1777
  r = ke("div"), fn(i.$$.fragment), u = ft(), l = ke("div"), f = cn(
1778
1778
  /*errorMessage*/
@@ -1826,7 +1826,7 @@ function tu(a, r) {
1826
1826
  )
1827
1827
  );
1828
1828
  }
1829
- return u = new vg({
1829
+ return u = new yg({
1830
1830
  props: {
1831
1831
  feature: (
1832
1832
  /*feature*/
@@ -1854,7 +1854,7 @@ function tu(a, r) {
1854
1854
  key: a,
1855
1855
  first: null,
1856
1856
  c() {
1857
- i = Yh(), fn(u.$$.fragment), this.first = i;
1857
+ i = Uh(), fn(u.$$.fragment), this.first = i;
1858
1858
  },
1859
1859
  m(v, d) {
1860
1860
  Re(v, i, d), Jt(u, v, d), l = !0;
@@ -1884,9 +1884,9 @@ function tu(a, r) {
1884
1884
  }
1885
1885
  };
1886
1886
  }
1887
- function Ug(a) {
1887
+ function zg(a) {
1888
1888
  let r, i, u, l, f, g, v, d, _, x, p, S, k, I, C, L, M, P, R, D, O, z = !1;
1889
- f = new Ig({}), p = new ac({});
1889
+ f = new Sg({}), p = new sc({});
1890
1890
  let q = (
1891
1891
  /*abortController*/
1892
1892
  a[19] && $o()
@@ -1897,13 +1897,13 @@ function Ug(a) {
1897
1897
  const A = (
1898
1898
  /*#slots*/
1899
1899
  a[59].default
1900
- ), H = Gh(
1900
+ ), H = Bh(
1901
1901
  A,
1902
1902
  a,
1903
1903
  /*$$scope*/
1904
1904
  a[58],
1905
1905
  null
1906
- ), ee = [zg, qg, Gg, Bg], Z = [];
1906
+ ), ee = [qg, Gg, Bg, Fg], Z = [];
1907
1907
  function ae(F, Q) {
1908
1908
  var ie, me;
1909
1909
  return (
@@ -2002,7 +2002,7 @@ function Ug(a) {
2002
2002
  /*click_handler_1*/
2003
2003
  a[66]
2004
2004
  ),
2005
- et(i, "submit", Wh(
2005
+ et(i, "submit", Yh(
2006
2006
  /*handleOnSubmit*/
2007
2007
  a[21]
2008
2008
  ))
@@ -2048,19 +2048,19 @@ function Ug(a) {
2048
2048
  32 && Be(U, 1)) : (U = eu(F), U.c(), Be(U, 1), U.m(u, I)) : U && (mi(), Ye(U, 1, 1, () => {
2049
2049
  U = null;
2050
2050
  }), di()), H && H.p && (!R || Q[1] & /*$$scope*/
2051
- 134217728) && zh(
2051
+ 134217728) && qh(
2052
2052
  H,
2053
2053
  A,
2054
2054
  F,
2055
2055
  /*$$scope*/
2056
2056
  F[58],
2057
- R ? qh(
2057
+ R ? Gh(
2058
2058
  A,
2059
2059
  /*$$scope*/
2060
2060
  F[58],
2061
2061
  Q,
2062
2062
  null
2063
- ) : Uh(
2063
+ ) : zh(
2064
2064
  /*$$scope*/
2065
2065
  F[58]
2066
2066
  ),
@@ -2093,8 +2093,8 @@ function Ug(a) {
2093
2093
  }
2094
2094
  };
2095
2095
  }
2096
- function Yg(a, r, i) {
2097
- let u, { $$slots: l = {}, $$scope: f } = r, { class: g = void 0 } = r, { apiKey: v } = r, { bbox: d = void 0 } = r, { clearButtonTitle: _ = "clear" } = r, { clearOnBlur: x = !1 } = r, { collapsed: p = !1 } = r, { country: S = void 0 } = r, { debounceSearch: k = 200 } = r, { enableReverse: I = !1 } = r, { errorMessage: C = "Something went wrong…" } = r, { filter: L = () => !0 } = r, { flyTo: M = !0 } = r, { fuzzyMatch: P = !0 } = r, { language: R = void 0 } = r, { limit: D = void 0 } = r, { mapController: O = void 0 } = r, { minLength: z = 2 } = r, { noResultsMessage: q = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = r, { placeholder: U = "Search" } = r, { proximity: A = [{ type: "server-geolocation" }] } = r, { reverseActive: H = I === "always" } = r, { reverseButtonTitle: ee = "toggle reverse geocoding" } = r, { searchValue: Z = "" } = r, { showFullGeometry: ae = !0 } = r, { showPlaceType: F = "ifNeeded" } = r, { showResultsWhileTyping: Q = !0 } = r, { selectFirst: ie = !0 } = r, { flyToSelected: me = !1 } = r, { markerOnSelected: Me = !0 } = r, { types: Se = void 0 } = r, { excludeTypes: K = !1 } = r, { zoom: Fe = 16 } = r, { maxZoom: we = 18 } = r, { apiUrl: ze = "https://api.maptiler.com/geocoding" } = r, { fetchParameters: fe = {} } = r, { iconsBaseUrl: ht = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.3.0-rc2/icons/" } = r, { adjustUrlQuery: mr = () => {
2096
+ function Ug(a, r, i) {
2097
+ let u, { $$slots: l = {}, $$scope: f } = r, { class: g = void 0 } = r, { apiKey: v } = r, { bbox: d = void 0 } = r, { clearButtonTitle: _ = "clear" } = r, { clearOnBlur: x = !1 } = r, { collapsed: p = !1 } = r, { country: S = void 0 } = r, { debounceSearch: k = 200 } = r, { enableReverse: I = !1 } = r, { errorMessage: C = "Something went wrong…" } = r, { filter: L = () => !0 } = r, { flyTo: M = !0 } = r, { fuzzyMatch: P = !0 } = r, { language: R = void 0 } = r, { limit: D = void 0 } = r, { mapController: O = void 0 } = r, { minLength: z = 2 } = r, { noResultsMessage: q = "Oops! Looks like you're trying to predict something that's not quite right. We can't seem to find what you're looking for. Maybe try double-checking your spelling or try a different search term. Keep on typing - we'll do our best to get you where you need to go!" } = r, { placeholder: U = "Search" } = r, { proximity: A = [{ type: "server-geolocation" }] } = r, { reverseActive: H = I === "always" } = r, { reverseButtonTitle: ee = "toggle reverse geocoding" } = r, { searchValue: Z = "" } = r, { showFullGeometry: ae = !0 } = r, { showPlaceType: F = "ifNeeded" } = r, { showResultsWhileTyping: Q = !0 } = r, { selectFirst: ie = !0 } = r, { flyToSelected: me = !1 } = r, { markerOnSelected: Me = !0 } = r, { types: Se = void 0 } = r, { excludeTypes: K = !1 } = r, { zoom: Fe = 16 } = r, { maxZoom: we = 18 } = r, { apiUrl: ze = "https://api.maptiler.com/geocoding" } = r, { fetchParameters: fe = {} } = r, { iconsBaseUrl: ht = "https://cdn.maptiler.com/maptiler-geocoding-control/v1.3.0-rc3/icons/" } = r, { adjustUrlQuery: mr = () => {
2098
2098
  } } = r;
2099
2099
  function Zr() {
2100
2100
  tt.focus();
@@ -2114,8 +2114,8 @@ function Yg(a, r, i) {
2114
2114
  i(54, Ne = []), i(55, oe = void 0);
2115
2115
  }
2116
2116
  let b = !1, le, Ne, oe, dr = "", tt, Ie = -1, W, _n = [], Mt, nt, Dn, ue;
2117
- const En = /* @__PURE__ */ new Set(), st = Hh();
2118
- Vh(() => {
2117
+ const En = /* @__PURE__ */ new Set(), st = Vh();
2118
+ jh(() => {
2119
2119
  O && (O.setEventHandler(void 0), O.indicateReverse(!1), O.setSelectedMarker(-1), O.setMarkers(void 0, void 0));
2120
2120
  });
2121
2121
  function Fn(G) {
@@ -2130,7 +2130,7 @@ function Yg(a, r, i) {
2130
2130
  }
2131
2131
  function te(G) {
2132
2132
  try {
2133
- return Fg(G, 6);
2133
+ return Dg(G, 6);
2134
2134
  } catch {
2135
2135
  return !1;
2136
2136
  }
@@ -2142,7 +2142,7 @@ function Yg(a, r, i) {
2142
2142
  try {
2143
2143
  const he = te(G), Ke = new URLSearchParams();
2144
2144
  if (R !== void 0 && Ke.set("language", Array.isArray(R) ? R.join(",") : R ?? ""), Se && Ke.set("types", Se.join(",")), K && Ke.set("excludeTypes", String(K)), d && Ke.set("bbox", d.map((qn) => qn.toFixed(6)).join(",")), S && Ke.set("country", Array.isArray(S) ? S.join(",") : S), !Le && !he) {
2145
- const qn = await wg(O, A, Qe);
2145
+ const qn = await bg(O, A, Qe);
2146
2146
  qn && Ke.set("proximity", qn), (Ge || !Q) && Ke.set("autocomplete", "false"), Ke.set("fuzzyMatch", String(P));
2147
2147
  }
2148
2148
  D !== void 0 && (!he || (Se == null ? void 0 : Se.length) === 1) && Ke.set("limit", String(D)), Ke.set("key", v), mr(Ke);
@@ -2195,9 +2195,9 @@ function Yg(a, r, i) {
2195
2195
  O && Ne.length > 0 && (oe && G[0] === G[2] && G[1] === G[3] ? O.flyTo(oe.center, Fe) : O.fitBounds(Wo(G), 50, we));
2196
2196
  }
2197
2197
  function se(G) {
2198
- i(0, H = I === "always"), i(14, le = void 0), i(55, oe = void 0), i(15, Ie = -1), Qr(G[1].toFixed(6) + ", " + bg(G[0], [-180, 180], !0).toFixed(6), !1, !0);
2198
+ i(0, H = I === "always"), i(14, le = void 0), i(55, oe = void 0), i(15, Ie = -1), Qr(G[1].toFixed(6) + ", " + Ig(G[0], [-180, 180], !0).toFixed(6), !1, !0);
2199
2199
  }
2200
- function rs(G) {
2200
+ function is(G) {
2201
2201
  if (!le)
2202
2202
  return;
2203
2203
  let Le = G.key === "ArrowDown" ? 1 : G.key === "ArrowUp" ? -1 : 0;
@@ -2221,17 +2221,17 @@ function Yg(a, r, i) {
2221
2221
  i(55, oe = G), i(1, Z = G.place_name), i(15, Ie = -1);
2222
2222
  }
2223
2223
  const ne = () => tt.focus();
2224
- function is(G) {
2224
+ function ss(G) {
2225
2225
  Qs[G ? "unshift" : "push"](() => {
2226
2226
  tt = G, i(17, tt);
2227
2227
  });
2228
2228
  }
2229
- function ss() {
2229
+ function as() {
2230
2230
  Z = this.value, i(1, Z), i(13, b), i(27, x);
2231
2231
  }
2232
2232
  const _r = () => i(13, b = !0), rt = () => i(13, b = !1), xn = () => at(), gt = () => {
2233
2233
  i(1, Z = ""), tt.focus();
2234
- }, Kr = () => i(0, H = !H), Bn = () => i(18, W = void 0), as = (G) => i(15, Ie = G), Jr = (G) => pr(G), Wt = () => {
2234
+ }, Kr = () => i(0, H = !H), Bn = () => i(18, W = void 0), os = (G) => i(15, Ie = G), Jr = (G) => pr(G), Wt = () => {
2235
2235
  ie || i(15, Ie = -1);
2236
2236
  }, V = () => {
2237
2237
  };
@@ -2316,7 +2316,7 @@ function Yg(a, r, i) {
2316
2316
  Mt,
2317
2317
  En,
2318
2318
  Fn,
2319
- rs,
2319
+ is,
2320
2320
  at,
2321
2321
  pr,
2322
2322
  v,
@@ -2355,27 +2355,27 @@ function Yg(a, r, i) {
2355
2355
  f,
2356
2356
  l,
2357
2357
  ne,
2358
- is,
2359
2358
  ss,
2359
+ as,
2360
2360
  _r,
2361
2361
  rt,
2362
2362
  xn,
2363
2363
  gt,
2364
2364
  Kr,
2365
2365
  Bn,
2366
- as,
2366
+ os,
2367
2367
  Jr,
2368
2368
  Wt,
2369
2369
  V
2370
2370
  ];
2371
2371
  }
2372
- let Wg = class extends vn {
2372
+ let Yg = class extends vn {
2373
2373
  constructor(r) {
2374
2374
  super(), yn(
2375
2375
  this,
2376
2376
  r,
2377
- Yg,
2378
2377
  Ug,
2378
+ zg,
2379
2379
  gn,
2380
2380
  {
2381
2381
  class: 2,
@@ -2441,11 +2441,11 @@ let Wg = class extends vn {
2441
2441
  return this.$$.ctx[53];
2442
2442
  }
2443
2443
  };
2444
- var Ki = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2445
- function uc(a) {
2444
+ var Ji = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2445
+ function oc(a) {
2446
2446
  return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
2447
2447
  }
2448
- function Xg(a) {
2448
+ function Wg(a) {
2449
2449
  if (a.__esModule)
2450
2450
  return a;
2451
2451
  var r = a.default;
@@ -2466,17 +2466,17 @@ function Xg(a) {
2466
2466
  });
2467
2467
  }), i;
2468
2468
  }
2469
- var nu = Object.prototype.toString, lc = function(r) {
2469
+ var nu = Object.prototype.toString, uc = function(r) {
2470
2470
  var i = nu.call(r), u = i === "[object Arguments]";
2471
2471
  return u || (u = i !== "[object Array]" && r !== null && typeof r == "object" && typeof r.length == "number" && r.length >= 0 && nu.call(r.callee) === "[object Function]"), u;
2472
- }, ws, ru;
2473
- function jg() {
2472
+ }, Ns, ru;
2473
+ function Xg() {
2474
2474
  if (ru)
2475
- return ws;
2475
+ return Ns;
2476
2476
  ru = 1;
2477
2477
  var a;
2478
2478
  if (!Object.keys) {
2479
- var r = Object.prototype.hasOwnProperty, i = Object.prototype.toString, u = lc, l = Object.prototype.propertyIsEnumerable, f = !l.call({ toString: null }, "toString"), g = l.call(function() {
2479
+ var r = Object.prototype.hasOwnProperty, i = Object.prototype.toString, u = uc, l = Object.prototype.propertyIsEnumerable, f = !l.call({ toString: null }, "toString"), g = l.call(function() {
2480
2480
  }, "prototype"), v = [
2481
2481
  "toString",
2482
2482
  "toLocaleString",
@@ -2556,11 +2556,11 @@ function jg() {
2556
2556
  return P;
2557
2557
  };
2558
2558
  }
2559
- return ws = a, ws;
2559
+ return Ns = a, Ns;
2560
2560
  }
2561
- var Vg = Array.prototype.slice, Hg = lc, iu = Object.keys, pi = iu ? function(r) {
2561
+ var jg = Array.prototype.slice, Vg = uc, iu = Object.keys, pi = iu ? function(r) {
2562
2562
  return iu(r);
2563
- } : jg(), su = Object.keys;
2563
+ } : Xg(), su = Object.keys;
2564
2564
  pi.shim = function() {
2565
2565
  if (Object.keys) {
2566
2566
  var r = function() {
@@ -2568,13 +2568,13 @@ pi.shim = function() {
2568
2568
  return i && i.length === arguments.length;
2569
2569
  }(1, 2);
2570
2570
  r || (Object.keys = function(u) {
2571
- return Hg(u) ? su(Vg.call(u)) : su(u);
2571
+ return Vg(u) ? su(jg.call(u)) : su(u);
2572
2572
  });
2573
2573
  } else
2574
2574
  Object.keys = pi;
2575
2575
  return Object.keys || pi;
2576
2576
  };
2577
- var Oa = pi, Zg = Error, Qg = EvalError, Kg = RangeError, Jg = ReferenceError, cc = SyntaxError, mn = TypeError, $g = URIError, Ji = function() {
2577
+ var Oa = pi, Hg = Error, Zg = EvalError, Qg = RangeError, Kg = ReferenceError, lc = SyntaxError, mn = TypeError, Jg = URIError, $i = function() {
2578
2578
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
2579
2579
  return !1;
2580
2580
  if (typeof Symbol.iterator == "symbol")
@@ -2597,32 +2597,32 @@ var Oa = pi, Zg = Error, Qg = EvalError, Kg = RangeError, Jg = ReferenceError, c
2597
2597
  return !1;
2598
2598
  }
2599
2599
  return !0;
2600
- }, au = typeof Symbol < "u" && Symbol, ey = Ji, Ra = function() {
2601
- return typeof au != "function" || typeof Symbol != "function" || typeof au("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : ey();
2602
- }, Ns = {
2600
+ }, au = typeof Symbol < "u" && Symbol, $g = $i, Ra = function() {
2601
+ return typeof au != "function" || typeof Symbol != "function" || typeof au("foo") != "symbol" || typeof Symbol("bar") != "symbol" ? !1 : $g();
2602
+ }, Ls = {
2603
2603
  __proto__: null,
2604
2604
  foo: {}
2605
- }, ty = Object, ny = function() {
2606
- return { __proto__: Ns }.foo === Ns.foo && !(Ns instanceof ty);
2607
- }, ry = "Function.prototype.bind called on incompatible ", iy = Object.prototype.toString, sy = Math.max, ay = "[object Function]", ou = function(r, i) {
2605
+ }, ey = Object, ty = function() {
2606
+ return { __proto__: Ls }.foo === Ls.foo && !(Ls instanceof ey);
2607
+ }, ny = "Function.prototype.bind called on incompatible ", ry = Object.prototype.toString, iy = Math.max, sy = "[object Function]", ou = function(r, i) {
2608
2608
  for (var u = [], l = 0; l < r.length; l += 1)
2609
2609
  u[l] = r[l];
2610
2610
  for (var f = 0; f < i.length; f += 1)
2611
2611
  u[f + r.length] = i[f];
2612
2612
  return u;
2613
- }, oy = function(r, i) {
2613
+ }, ay = function(r, i) {
2614
2614
  for (var u = [], l = i, f = 0; l < r.length; l += 1, f += 1)
2615
2615
  u[f] = r[l];
2616
2616
  return u;
2617
- }, uy = function(a, r) {
2617
+ }, oy = function(a, r) {
2618
2618
  for (var i = "", u = 0; u < a.length; u += 1)
2619
2619
  i += a[u], u + 1 < a.length && (i += r);
2620
2620
  return i;
2621
- }, ly = function(r) {
2621
+ }, uy = function(r) {
2622
2622
  var i = this;
2623
- if (typeof i != "function" || iy.apply(i) !== ay)
2624
- throw new TypeError(ry + i);
2625
- for (var u = oy(arguments, 1), l, f = function() {
2623
+ if (typeof i != "function" || ry.apply(i) !== sy)
2624
+ throw new TypeError(ny + i);
2625
+ for (var u = ay(arguments, 1), l, f = function() {
2626
2626
  if (this instanceof l) {
2627
2627
  var x = i.apply(
2628
2628
  this,
@@ -2634,17 +2634,17 @@ var Oa = pi, Zg = Error, Qg = EvalError, Kg = RangeError, Jg = ReferenceError, c
2634
2634
  r,
2635
2635
  ou(u, arguments)
2636
2636
  );
2637
- }, g = sy(0, i.length - u.length), v = [], d = 0; d < g; d++)
2637
+ }, g = iy(0, i.length - u.length), v = [], d = 0; d < g; d++)
2638
2638
  v[d] = "$" + d;
2639
- if (l = Function("binder", "return function (" + uy(v, ",") + "){ return binder.apply(this,arguments); }")(f), i.prototype) {
2639
+ if (l = Function("binder", "return function (" + oy(v, ",") + "){ return binder.apply(this,arguments); }")(f), i.prototype) {
2640
2640
  var _ = function() {
2641
2641
  };
2642
2642
  _.prototype = i.prototype, l.prototype = new _(), _.prototype = null;
2643
2643
  }
2644
2644
  return l;
2645
- }, cy = ly, Ma = Function.prototype.bind || cy, fy = Function.prototype.call, hy = Object.prototype.hasOwnProperty, gy = Ma, fc = gy.call(fy, hy), ye, yy = Zg, vy = Qg, my = Kg, dy = Jg, ir = cc, rr = mn, py = $g, hc = Function, Ls = function(a) {
2645
+ }, ly = uy, Ma = Function.prototype.bind || ly, cy = Function.prototype.call, fy = Object.prototype.hasOwnProperty, hy = Ma, cc = hy.call(cy, fy), ye, gy = Hg, yy = Zg, vy = Qg, my = Kg, ir = lc, rr = mn, dy = Jg, fc = Function, Ts = function(a) {
2646
2646
  try {
2647
- return hc('"use strict"; return (' + a + ").constructor;")();
2647
+ return fc('"use strict"; return (' + a + ").constructor;")();
2648
2648
  } catch {
2649
2649
  }
2650
2650
  }, Cn = Object.getOwnPropertyDescriptor;
@@ -2654,21 +2654,21 @@ if (Cn)
2654
2654
  } catch {
2655
2655
  Cn = null;
2656
2656
  }
2657
- var Ts = function() {
2657
+ var Cs = function() {
2658
2658
  throw new rr();
2659
- }, _y = Cn ? function() {
2659
+ }, py = Cn ? function() {
2660
2660
  try {
2661
- return arguments.callee, Ts;
2661
+ return arguments.callee, Cs;
2662
2662
  } catch {
2663
2663
  try {
2664
2664
  return Cn(arguments, "callee").get;
2665
2665
  } catch {
2666
- return Ts;
2666
+ return Cs;
2667
2667
  }
2668
2668
  }
2669
- }() : Ts, Qn = Ra(), Ey = ny(), Ue = Object.getPrototypeOf || (Ey ? function(a) {
2669
+ }() : Cs, Qn = Ra(), _y = ty(), Ue = Object.getPrototypeOf || (_y ? function(a) {
2670
2670
  return a.__proto__;
2671
- } : null), er = {}, ky = typeof Uint8Array > "u" || !Ue ? ye : Ue(Uint8Array), On = {
2671
+ } : null), er = {}, Ey = typeof Uint8Array > "u" || !Ue ? ye : Ue(Uint8Array), On = {
2672
2672
  __proto__: null,
2673
2673
  "%AggregateError%": typeof AggregateError > "u" ? ye : AggregateError,
2674
2674
  "%Array%": Array,
@@ -2690,14 +2690,14 @@ var Ts = function() {
2690
2690
  "%decodeURIComponent%": decodeURIComponent,
2691
2691
  "%encodeURI%": encodeURI,
2692
2692
  "%encodeURIComponent%": encodeURIComponent,
2693
- "%Error%": yy,
2693
+ "%Error%": gy,
2694
2694
  "%eval%": eval,
2695
2695
  // eslint-disable-line no-eval
2696
- "%EvalError%": vy,
2696
+ "%EvalError%": yy,
2697
2697
  "%Float32Array%": typeof Float32Array > "u" ? ye : Float32Array,
2698
2698
  "%Float64Array%": typeof Float64Array > "u" ? ye : Float64Array,
2699
2699
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? ye : FinalizationRegistry,
2700
- "%Function%": hc,
2700
+ "%Function%": fc,
2701
2701
  "%GeneratorFunction%": er,
2702
2702
  "%Int8Array%": typeof Int8Array > "u" ? ye : Int8Array,
2703
2703
  "%Int16Array%": typeof Int16Array > "u" ? ye : Int16Array,
@@ -2715,8 +2715,8 @@ var Ts = function() {
2715
2715
  "%parseInt%": parseInt,
2716
2716
  "%Promise%": typeof Promise > "u" ? ye : Promise,
2717
2717
  "%Proxy%": typeof Proxy > "u" ? ye : Proxy,
2718
- "%RangeError%": my,
2719
- "%ReferenceError%": dy,
2718
+ "%RangeError%": vy,
2719
+ "%ReferenceError%": my,
2720
2720
  "%Reflect%": typeof Reflect > "u" ? ye : Reflect,
2721
2721
  "%RegExp%": RegExp,
2722
2722
  "%Set%": typeof Set > "u" ? ye : Set,
@@ -2726,14 +2726,14 @@ var Ts = function() {
2726
2726
  "%StringIteratorPrototype%": Qn && Ue ? Ue(""[Symbol.iterator]()) : ye,
2727
2727
  "%Symbol%": Qn ? Symbol : ye,
2728
2728
  "%SyntaxError%": ir,
2729
- "%ThrowTypeError%": _y,
2730
- "%TypedArray%": ky,
2729
+ "%ThrowTypeError%": py,
2730
+ "%TypedArray%": Ey,
2731
2731
  "%TypeError%": rr,
2732
2732
  "%Uint8Array%": typeof Uint8Array > "u" ? ye : Uint8Array,
2733
2733
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? ye : Uint8ClampedArray,
2734
2734
  "%Uint16Array%": typeof Uint16Array > "u" ? ye : Uint16Array,
2735
2735
  "%Uint32Array%": typeof Uint32Array > "u" ? ye : Uint32Array,
2736
- "%URIError%": py,
2736
+ "%URIError%": dy,
2737
2737
  "%WeakMap%": typeof WeakMap > "u" ? ye : WeakMap,
2738
2738
  "%WeakRef%": typeof WeakRef > "u" ? ye : WeakRef,
2739
2739
  "%WeakSet%": typeof WeakSet > "u" ? ye : WeakSet
@@ -2742,17 +2742,17 @@ if (Ue)
2742
2742
  try {
2743
2743
  null.error;
2744
2744
  } catch (a) {
2745
- var xy = Ue(Ue(a));
2746
- On["%Error.prototype%"] = xy;
2745
+ var ky = Ue(Ue(a));
2746
+ On["%Error.prototype%"] = ky;
2747
2747
  }
2748
- var Sy = function a(r) {
2748
+ var xy = function a(r) {
2749
2749
  var i;
2750
2750
  if (r === "%AsyncFunction%")
2751
- i = Ls("async function () {}");
2751
+ i = Ts("async function () {}");
2752
2752
  else if (r === "%GeneratorFunction%")
2753
- i = Ls("function* () {}");
2753
+ i = Ts("function* () {}");
2754
2754
  else if (r === "%AsyncGeneratorFunction%")
2755
- i = Ls("async function* () {}");
2755
+ i = Ts("async function* () {}");
2756
2756
  else if (r === "%AsyncGenerator%") {
2757
2757
  var u = a("%AsyncGeneratorFunction%");
2758
2758
  u && (i = u.prototype);
@@ -2814,21 +2814,21 @@ var Sy = function a(r) {
2814
2814
  "%URIErrorPrototype%": ["URIError", "prototype"],
2815
2815
  "%WeakMapPrototype%": ["WeakMap", "prototype"],
2816
2816
  "%WeakSetPrototype%": ["WeakSet", "prototype"]
2817
- }, Vr = Ma, Li = fc, Iy = Vr.call(Function.call, Array.prototype.concat), by = Vr.call(Function.apply, Array.prototype.splice), lu = Vr.call(Function.call, String.prototype.replace), Ti = Vr.call(Function.call, String.prototype.slice), wy = Vr.call(Function.call, RegExp.prototype.exec), Ny = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ly = /\\(\\)?/g, Ty = function(r) {
2818
- var i = Ti(r, 0, 1), u = Ti(r, -1);
2817
+ }, Vr = Ma, Ti = cc, Sy = Vr.call(Function.call, Array.prototype.concat), Iy = Vr.call(Function.apply, Array.prototype.splice), lu = Vr.call(Function.call, String.prototype.replace), Ci = Vr.call(Function.call, String.prototype.slice), by = Vr.call(Function.call, RegExp.prototype.exec), wy = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, Ny = /\\(\\)?/g, Ly = function(r) {
2818
+ var i = Ci(r, 0, 1), u = Ci(r, -1);
2819
2819
  if (i === "%" && u !== "%")
2820
2820
  throw new ir("invalid intrinsic syntax, expected closing `%`");
2821
2821
  if (u === "%" && i !== "%")
2822
2822
  throw new ir("invalid intrinsic syntax, expected opening `%`");
2823
2823
  var l = [];
2824
- return lu(r, Ny, function(f, g, v, d) {
2825
- l[l.length] = v ? lu(d, Ly, "$1") : g || f;
2824
+ return lu(r, wy, function(f, g, v, d) {
2825
+ l[l.length] = v ? lu(d, Ny, "$1") : g || f;
2826
2826
  }), l;
2827
- }, Cy = function(r, i) {
2827
+ }, Ty = function(r, i) {
2828
2828
  var u = r, l;
2829
- if (Li(uu, u) && (l = uu[u], u = "%" + l[0] + "%"), Li(On, u)) {
2829
+ if (Ti(uu, u) && (l = uu[u], u = "%" + l[0] + "%"), Ti(On, u)) {
2830
2830
  var f = On[u];
2831
- if (f === er && (f = Sy(u)), typeof f > "u" && !i)
2831
+ if (f === er && (f = xy(u)), typeof f > "u" && !i)
2832
2832
  throw new rr("intrinsic " + r + " exists, but is not available. Please file an issue!");
2833
2833
  return {
2834
2834
  alias: l,
@@ -2842,15 +2842,15 @@ var Sy = function a(r) {
2842
2842
  throw new rr("intrinsic name must be a non-empty string");
2843
2843
  if (arguments.length > 1 && typeof i != "boolean")
2844
2844
  throw new rr('"allowMissing" argument must be a boolean');
2845
- if (wy(/^%?[^%]*%?$/, r) === null)
2845
+ if (by(/^%?[^%]*%?$/, r) === null)
2846
2846
  throw new ir("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
2847
- var u = Ty(r), l = u.length > 0 ? u[0] : "", f = Cy("%" + l + "%", i), g = f.name, v = f.value, d = !1, _ = f.alias;
2848
- _ && (l = _[0], by(u, Iy([0, 1], _)));
2847
+ var u = Ly(r), l = u.length > 0 ? u[0] : "", f = Ty("%" + l + "%", i), g = f.name, v = f.value, d = !1, _ = f.alias;
2848
+ _ && (l = _[0], Iy(u, Sy([0, 1], _)));
2849
2849
  for (var x = 1, p = !0; x < u.length; x += 1) {
2850
- var S = u[x], k = Ti(S, 0, 1), I = Ti(S, -1);
2850
+ var S = u[x], k = Ci(S, 0, 1), I = Ci(S, -1);
2851
2851
  if ((k === '"' || k === "'" || k === "`" || I === '"' || I === "'" || I === "`") && k !== I)
2852
2852
  throw new ir("property names with quotes must have matching quotes");
2853
- if ((S === "constructor" || !p) && (d = !0), l += "." + S, g = "%" + l + "%", Li(On, g))
2853
+ if ((S === "constructor" || !p) && (d = !0), l += "." + S, g = "%" + l + "%", Ti(On, g))
2854
2854
  v = On[g];
2855
2855
  else if (v != null) {
2856
2856
  if (!(S in v)) {
@@ -2862,33 +2862,26 @@ var Sy = function a(r) {
2862
2862
  var C = Cn(v, S);
2863
2863
  p = !!C, p && "get" in C && !("originalValue" in C.get) ? v = C.get : v = v[S];
2864
2864
  } else
2865
- p = Li(v, S), v = v[S];
2865
+ p = Ti(v, S), v = v[S];
2866
2866
  p && !d && (On[g] = v);
2867
2867
  }
2868
2868
  }
2869
2869
  return v;
2870
- }, Cs, cu;
2871
- function Pa() {
2872
- if (cu)
2873
- return Cs;
2874
- cu = 1;
2875
- var a = Ut, r = a("%Object.defineProperty%", !0) || !1;
2876
- if (r)
2877
- try {
2878
- r({}, "a", { value: 1 });
2879
- } catch {
2880
- r = !1;
2881
- }
2882
- return Cs = r, Cs;
2883
- }
2884
- var Oy = Ut, _i = Oy("%Object.getOwnPropertyDescriptor%", !0);
2870
+ }, Cy = Ut, _i = Cy("%Object.defineProperty%", !0) || !1;
2885
2871
  if (_i)
2886
2872
  try {
2887
- _i([], "length");
2873
+ _i({}, "a", { value: 1 });
2874
+ } catch {
2875
+ _i = !1;
2876
+ }
2877
+ var Pa = _i, Oy = Ut, Ei = Oy("%Object.getOwnPropertyDescriptor%", !0);
2878
+ if (Ei)
2879
+ try {
2880
+ Ei([], "length");
2888
2881
  } catch {
2889
- _i = null;
2882
+ Ei = null;
2890
2883
  }
2891
- var Aa = _i, fu = Pa(), Ry = cc, Kn = mn, hu = Aa, Da = function(r, i, u) {
2884
+ var Aa = Ei, cu = Pa, Ry = lc, Kn = mn, fu = Aa, Da = function(r, i, u) {
2892
2885
  if (!r || typeof r != "object" && typeof r != "function")
2893
2886
  throw new Kn("`obj` must be an object or a function`");
2894
2887
  if (typeof i != "string" && typeof i != "symbol")
@@ -2901,9 +2894,9 @@ var Aa = _i, fu = Pa(), Ry = cc, Kn = mn, hu = Aa, Da = function(r, i, u) {
2901
2894
  throw new Kn("`nonConfigurable`, if provided, must be a boolean or null");
2902
2895
  if (arguments.length > 6 && typeof arguments[6] != "boolean")
2903
2896
  throw new Kn("`loose`, if provided, must be a boolean");
2904
- var l = arguments.length > 3 ? arguments[3] : null, f = arguments.length > 4 ? arguments[4] : null, g = arguments.length > 5 ? arguments[5] : null, v = arguments.length > 6 ? arguments[6] : !1, d = !!hu && hu(r, i);
2905
- if (fu)
2906
- fu(r, i, {
2897
+ var l = arguments.length > 3 ? arguments[3] : null, f = arguments.length > 4 ? arguments[4] : null, g = arguments.length > 5 ? arguments[5] : null, v = arguments.length > 6 ? arguments[6] : !1, d = !!fu && fu(r, i);
2898
+ if (cu)
2899
+ cu(r, i, {
2907
2900
  configurable: g === null && d ? d.configurable : !g,
2908
2901
  enumerable: l === null && d ? d.enumerable : !l,
2909
2902
  value: u,
@@ -2913,10 +2906,10 @@ var Aa = _i, fu = Pa(), Ry = cc, Kn = mn, hu = Aa, Da = function(r, i, u) {
2913
2906
  r[i] = u;
2914
2907
  else
2915
2908
  throw new Ry("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
2916
- }, $s = Pa(), gc = function() {
2909
+ }, $s = Pa, hc = function() {
2917
2910
  return !!$s;
2918
2911
  };
2919
- gc.hasArrayLengthDefineBug = function() {
2912
+ hc.hasArrayLengthDefineBug = function() {
2920
2913
  if (!$s)
2921
2914
  return null;
2922
2915
  try {
@@ -2925,9 +2918,9 @@ gc.hasArrayLengthDefineBug = function() {
2925
2918
  return !0;
2926
2919
  }
2927
2920
  };
2928
- var Fa = gc, My = Oa, Py = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", Ay = Object.prototype.toString, Dy = Array.prototype.concat, gu = Da, Fy = function(a) {
2921
+ var Fa = hc, My = Oa, Py = typeof Symbol == "function" && typeof Symbol("foo") == "symbol", Ay = Object.prototype.toString, Dy = Array.prototype.concat, hu = Da, Fy = function(a) {
2929
2922
  return typeof a == "function" && Ay.call(a) === "[object Function]";
2930
- }, yc = Fa(), By = function(a, r, i, u) {
2923
+ }, gc = Fa(), By = function(a, r, i, u) {
2931
2924
  if (r in a) {
2932
2925
  if (u === !0) {
2933
2926
  if (a[r] === i)
@@ -2935,32 +2928,32 @@ var Fa = gc, My = Oa, Py = typeof Symbol == "function" && typeof Symbol("foo") =
2935
2928
  } else if (!Fy(u) || !u())
2936
2929
  return;
2937
2930
  }
2938
- yc ? gu(a, r, i, !0) : gu(a, r, i);
2939
- }, vc = function(a, r) {
2931
+ gc ? hu(a, r, i, !0) : hu(a, r, i);
2932
+ }, yc = function(a, r) {
2940
2933
  var i = arguments.length > 2 ? arguments[2] : {}, u = My(r);
2941
2934
  Py && (u = Dy.call(u, Object.getOwnPropertySymbols(r)));
2942
2935
  for (var l = 0; l < u.length; l += 1)
2943
2936
  By(a, u[l], r[u[l]], i[u[l]]);
2944
2937
  };
2945
- vc.supportsDescriptors = !!yc;
2946
- var Mn = vc, mc = { exports: {} }, Gy = Ut, yu = Da, qy = Fa(), vu = Aa, mu = mn, zy = Gy("%Math.floor%"), Uy = function(r, i) {
2938
+ yc.supportsDescriptors = !!gc;
2939
+ var Mn = yc, vc = { exports: {} }, Gy = Ut, gu = Da, qy = Fa(), yu = Aa, vu = mn, zy = Gy("%Math.floor%"), Uy = function(r, i) {
2947
2940
  if (typeof r != "function")
2948
- throw new mu("`fn` is not a function");
2941
+ throw new vu("`fn` is not a function");
2949
2942
  if (typeof i != "number" || i < 0 || i > 4294967295 || zy(i) !== i)
2950
- throw new mu("`length` must be a positive 32-bit integer");
2943
+ throw new vu("`length` must be a positive 32-bit integer");
2951
2944
  var u = arguments.length > 2 && !!arguments[2], l = !0, f = !0;
2952
- if ("length" in r && vu) {
2953
- var g = vu(r, "length");
2945
+ if ("length" in r && yu) {
2946
+ var g = yu(r, "length");
2954
2947
  g && !g.configurable && (l = !1), g && !g.writable && (f = !1);
2955
2948
  }
2956
- return (l || f || !u) && (qy ? yu(
2949
+ return (l || f || !u) && (qy ? gu(
2957
2950
  /** @type {Parameters<define>[0]} */
2958
2951
  r,
2959
2952
  "length",
2960
2953
  i,
2961
2954
  !0,
2962
2955
  !0
2963
- ) : yu(
2956
+ ) : gu(
2964
2957
  /** @type {Parameters<define>[0]} */
2965
2958
  r,
2966
2959
  "length",
@@ -2968,7 +2961,7 @@ var Mn = vc, mc = { exports: {} }, Gy = Ut, yu = Da, qy = Fa(), vu = Aa, mu = mn
2968
2961
  )), r;
2969
2962
  };
2970
2963
  (function(a) {
2971
- var r = Ma, i = Ut, u = Uy, l = mn, f = i("%Function.prototype.apply%"), g = i("%Function.prototype.call%"), v = i("%Reflect.apply%", !0) || r.call(g, f), d = Pa(), _ = i("%Math.max%");
2964
+ var r = Ma, i = Ut, u = Uy, l = mn, f = i("%Function.prototype.apply%"), g = i("%Function.prototype.call%"), v = i("%Reflect.apply%", !0) || r.call(g, f), d = Pa, _ = i("%Math.max%");
2972
2965
  a.exports = function(S) {
2973
2966
  if (typeof S != "function")
2974
2967
  throw new l("a function is required");
@@ -2983,33 +2976,33 @@ var Mn = vc, mc = { exports: {} }, Gy = Ut, yu = Da, qy = Fa(), vu = Aa, mu = mn
2983
2976
  return v(r, f, arguments);
2984
2977
  };
2985
2978
  d ? d(a.exports, "apply", { value: x }) : a.exports.apply = x;
2986
- })(mc);
2987
- var cr = mc.exports, dc = Ut, pc = cr, Yy = pc(dc("String.prototype.indexOf")), It = function(r, i) {
2988
- var u = dc(r, !!i);
2989
- return typeof u == "function" && Yy(r, ".prototype.") > -1 ? pc(u) : u;
2990
- }, Wy = Oa, _c = Ji(), Ec = It, du = Object, Xy = Ec("Array.prototype.push"), pu = Ec("Object.prototype.propertyIsEnumerable"), jy = _c ? Object.getOwnPropertySymbols : null, kc = function(r, i) {
2979
+ })(vc);
2980
+ var cr = vc.exports, mc = Ut, dc = cr, Yy = dc(mc("String.prototype.indexOf")), It = function(r, i) {
2981
+ var u = mc(r, !!i);
2982
+ return typeof u == "function" && Yy(r, ".prototype.") > -1 ? dc(u) : u;
2983
+ }, Wy = Oa, pc = $i(), _c = It, mu = Object, Xy = _c("Array.prototype.push"), du = _c("Object.prototype.propertyIsEnumerable"), jy = pc ? Object.getOwnPropertySymbols : null, Ec = function(r, i) {
2991
2984
  if (r == null)
2992
2985
  throw new TypeError("target must be an object");
2993
- var u = du(r);
2986
+ var u = mu(r);
2994
2987
  if (arguments.length === 1)
2995
2988
  return u;
2996
2989
  for (var l = 1; l < arguments.length; ++l) {
2997
- var f = du(arguments[l]), g = Wy(f), v = _c && (Object.getOwnPropertySymbols || jy);
2990
+ var f = mu(arguments[l]), g = Wy(f), v = pc && (Object.getOwnPropertySymbols || jy);
2998
2991
  if (v)
2999
2992
  for (var d = v(f), _ = 0; _ < d.length; ++_) {
3000
2993
  var x = d[_];
3001
- pu(f, x) && Xy(g, x);
2994
+ du(f, x) && Xy(g, x);
3002
2995
  }
3003
2996
  for (var p = 0; p < g.length; ++p) {
3004
2997
  var S = g[p];
3005
- if (pu(f, S)) {
2998
+ if (du(f, S)) {
3006
2999
  var k = f[S];
3007
3000
  u[S] = k;
3008
3001
  }
3009
3002
  }
3010
3003
  }
3011
3004
  return u;
3012
- }, Os = kc, Vy = function() {
3005
+ }, Os = Ec, Vy = function() {
3013
3006
  if (!Object.assign)
3014
3007
  return !1;
3015
3008
  for (var a = "abcdefghijklmnopqrst", r = a.split(""), i = {}, u = 0; u < r.length; ++u)
@@ -3028,9 +3021,9 @@ var cr = mc.exports, dc = Ut, pc = cr, Yy = pc(dc("String.prototype.indexOf")),
3028
3021
  return a[1] === "y";
3029
3022
  }
3030
3023
  return !1;
3031
- }, xc = function() {
3024
+ }, kc = function() {
3032
3025
  return !Object.assign || Vy() || Hy() ? Os : Object.assign;
3033
- }, Zy = Mn, Qy = xc, Ky = function() {
3026
+ }, Zy = Mn, Qy = kc, Ky = function() {
3034
3027
  var r = Qy();
3035
3028
  return Zy(
3036
3029
  Object,
@@ -3039,15 +3032,15 @@ var cr = mc.exports, dc = Ut, pc = cr, Yy = pc(dc("String.prototype.indexOf")),
3039
3032
  return Object.assign !== r;
3040
3033
  } }
3041
3034
  ), r;
3042
- }, Jy = Mn, $y = cr, ev = kc, Sc = xc, tv = Ky, nv = $y.apply(Sc()), Ic = function(r, i) {
3035
+ }, Jy = Mn, $y = cr, ev = Ec, xc = kc, tv = Ky, nv = $y.apply(xc()), Sc = function(r, i) {
3043
3036
  return nv(Object, arguments);
3044
3037
  };
3045
- Jy(Ic, {
3046
- getPolyfill: Sc,
3038
+ Jy(Sc, {
3039
+ getPolyfill: xc,
3047
3040
  implementation: ev,
3048
3041
  shim: tv
3049
3042
  });
3050
- var rv = Ic, Wr = function() {
3043
+ var rv = Sc, Wr = function() {
3051
3044
  return typeof (function() {
3052
3045
  }).name == "string";
3053
3046
  }, Br = Object.getOwnPropertyDescriptor;
@@ -3069,29 +3062,29 @@ Wr.boundFunctionsHaveNames = function() {
3069
3062
  return Wr() && typeof iv == "function" && (function() {
3070
3063
  }).bind().name !== "";
3071
3064
  };
3072
- var sv = Wr, _u = Da, av = Fa(), ov = sv.functionsHaveConfigurableNames(), uv = mn, lv = function(r, i) {
3065
+ var sv = Wr, pu = Da, av = Fa(), ov = sv.functionsHaveConfigurableNames(), uv = mn, lv = function(r, i) {
3073
3066
  if (typeof r != "function")
3074
3067
  throw new uv("`fn` is not a function");
3075
3068
  var u = arguments.length > 2 && !!arguments[2];
3076
- return (!u || ov) && (av ? _u(
3069
+ return (!u || ov) && (av ? pu(
3077
3070
  /** @type {Parameters<define>[0]} */
3078
3071
  r,
3079
3072
  "name",
3080
3073
  i,
3081
3074
  !0,
3082
3075
  !0
3083
- ) : _u(
3076
+ ) : pu(
3084
3077
  /** @type {Parameters<define>[0]} */
3085
3078
  r,
3086
3079
  "name",
3087
3080
  i
3088
3081
  )), r;
3089
- }, cv = lv, fv = mn, hv = Object, bc = cv(function() {
3082
+ }, cv = lv, fv = mn, hv = Object, Ic = cv(function() {
3090
3083
  if (this == null || this !== hv(this))
3091
3084
  throw new fv("RegExp.prototype.flags getter called on non-object");
3092
3085
  var r = "";
3093
3086
  return this.hasIndices && (r += "d"), this.global && (r += "g"), this.ignoreCase && (r += "i"), this.multiline && (r += "m"), this.dotAll && (r += "s"), this.unicode && (r += "u"), this.unicodeSets && (r += "v"), this.sticky && (r += "y"), r;
3094
- }, "get flags", !0), gv = bc, yv = Mn.supportsDescriptors, vv = Object.getOwnPropertyDescriptor, wc = function() {
3087
+ }, "get flags", !0), gv = Ic, yv = Mn.supportsDescriptors, vv = Object.getOwnPropertyDescriptor, bc = function() {
3095
3088
  if (yv && /a/mig.flags === "gim") {
3096
3089
  var r = vv(RegExp.prototype, "flags");
3097
3090
  if (r && typeof r.get == "function" && typeof RegExp.prototype.dotAll == "boolean" && typeof RegExp.prototype.hasIndices == "boolean") {
@@ -3109,45 +3102,45 @@ var sv = Wr, _u = Da, av = Fa(), ov = sv.functionsHaveConfigurableNames(), uv =
3109
3102
  }
3110
3103
  }
3111
3104
  return gv;
3112
- }, mv = Mn.supportsDescriptors, dv = wc, pv = Object.getOwnPropertyDescriptor, _v = Object.defineProperty, Ev = TypeError, Eu = Object.getPrototypeOf, kv = /a/, xv = function() {
3113
- if (!mv || !Eu)
3105
+ }, mv = Mn.supportsDescriptors, dv = bc, pv = Object.getOwnPropertyDescriptor, _v = Object.defineProperty, Ev = TypeError, _u = Object.getPrototypeOf, kv = /a/, xv = function() {
3106
+ if (!mv || !_u)
3114
3107
  throw new Ev("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
3115
- var r = dv(), i = Eu(kv), u = pv(i, "flags");
3108
+ var r = dv(), i = _u(kv), u = pv(i, "flags");
3116
3109
  return (!u || u.get !== r) && _v(i, "flags", {
3117
3110
  configurable: !0,
3118
3111
  enumerable: !1,
3119
3112
  get: r
3120
3113
  }), r;
3121
- }, Sv = Mn, Iv = cr, bv = bc, Nc = wc, wv = xv, Lc = Iv(Nc());
3122
- Sv(Lc, {
3123
- getPolyfill: Nc,
3114
+ }, Sv = Mn, Iv = cr, bv = Ic, wc = bc, wv = xv, Nc = Iv(wc());
3115
+ Sv(Nc, {
3116
+ getPolyfill: wc,
3124
3117
  implementation: bv,
3125
3118
  shim: wv
3126
3119
  });
3127
- var Nv = Lc, Ei = { exports: {} }, Lv = Ji, Pn = function() {
3120
+ var Nv = Nc, ki = { exports: {} }, Lv = $i, Pn = function() {
3128
3121
  return Lv() && !!Symbol.toStringTag;
3129
- }, Tv = Pn(), Cv = It, ea = Cv("Object.prototype.toString"), $i = function(r) {
3122
+ }, Tv = Pn(), Cv = It, ea = Cv("Object.prototype.toString"), es = function(r) {
3130
3123
  return Tv && r && typeof r == "object" && Symbol.toStringTag in r ? !1 : ea(r) === "[object Arguments]";
3131
- }, Tc = function(r) {
3132
- return $i(r) ? !0 : r !== null && typeof r == "object" && typeof r.length == "number" && r.length >= 0 && ea(r) !== "[object Array]" && ea(r.callee) === "[object Function]";
3124
+ }, Lc = function(r) {
3125
+ return es(r) ? !0 : r !== null && typeof r == "object" && typeof r.length == "number" && r.length >= 0 && ea(r) !== "[object Array]" && ea(r.callee) === "[object Function]";
3133
3126
  }, Ov = function() {
3134
- return $i(arguments);
3127
+ return es(arguments);
3135
3128
  }();
3136
- $i.isLegacyArguments = Tc;
3137
- var Cc = Ov ? $i : Tc;
3129
+ es.isLegacyArguments = Lc;
3130
+ var Tc = Ov ? es : Lc;
3138
3131
  const Rv = {}, Mv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3139
3132
  __proto__: null,
3140
3133
  default: Rv
3141
- }, Symbol.toStringTag, { value: "Module" })), Pv = /* @__PURE__ */ Xg(Mv);
3142
- var Ba = typeof Map == "function" && Map.prototype, Rs = Object.getOwnPropertyDescriptor && Ba ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Ci = Ba && Rs && typeof Rs.get == "function" ? Rs.get : null, ku = Ba && Map.prototype.forEach, Ga = typeof Set == "function" && Set.prototype, Ms = Object.getOwnPropertyDescriptor && Ga ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Oi = Ga && Ms && typeof Ms.get == "function" ? Ms.get : null, xu = Ga && Set.prototype.forEach, Av = typeof WeakMap == "function" && WeakMap.prototype, Gr = Av ? WeakMap.prototype.has : null, Dv = typeof WeakSet == "function" && WeakSet.prototype, qr = Dv ? WeakSet.prototype.has : null, Fv = typeof WeakRef == "function" && WeakRef.prototype, Su = Fv ? WeakRef.prototype.deref : null, Bv = Boolean.prototype.valueOf, Gv = Object.prototype.toString, qv = Function.prototype.toString, zv = String.prototype.match, qa = String.prototype.slice, on = String.prototype.replace, Uv = String.prototype.toUpperCase, Iu = String.prototype.toLowerCase, Oc = RegExp.prototype.test, bu = Array.prototype.concat, Ft = Array.prototype.join, Yv = Array.prototype.slice, wu = Math.floor, ta = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ps = Object.getOwnPropertySymbols, na = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, sr = typeof Symbol == "function" && typeof Symbol.iterator == "object", Ze = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === sr || !0) ? Symbol.toStringTag : null, Rc = Object.prototype.propertyIsEnumerable, Nu = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(a) {
3134
+ }, Symbol.toStringTag, { value: "Module" })), Pv = /* @__PURE__ */ Wg(Mv);
3135
+ var Ba = typeof Map == "function" && Map.prototype, Rs = Object.getOwnPropertyDescriptor && Ba ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, Oi = Ba && Rs && typeof Rs.get == "function" ? Rs.get : null, Eu = Ba && Map.prototype.forEach, Ga = typeof Set == "function" && Set.prototype, Ms = Object.getOwnPropertyDescriptor && Ga ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Ri = Ga && Ms && typeof Ms.get == "function" ? Ms.get : null, ku = Ga && Set.prototype.forEach, Av = typeof WeakMap == "function" && WeakMap.prototype, Gr = Av ? WeakMap.prototype.has : null, Dv = typeof WeakSet == "function" && WeakSet.prototype, qr = Dv ? WeakSet.prototype.has : null, Fv = typeof WeakRef == "function" && WeakRef.prototype, xu = Fv ? WeakRef.prototype.deref : null, Bv = Boolean.prototype.valueOf, Gv = Object.prototype.toString, qv = Function.prototype.toString, zv = String.prototype.match, qa = String.prototype.slice, on = String.prototype.replace, Uv = String.prototype.toUpperCase, Su = String.prototype.toLowerCase, Cc = RegExp.prototype.test, Iu = Array.prototype.concat, Ft = Array.prototype.join, Yv = Array.prototype.slice, bu = Math.floor, ta = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Ps = Object.getOwnPropertySymbols, na = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, sr = typeof Symbol == "function" && typeof Symbol.iterator == "object", Ze = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === sr || !0) ? Symbol.toStringTag : null, Oc = Object.prototype.propertyIsEnumerable, wu = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(a) {
3143
3136
  return a.__proto__;
3144
3137
  } : null);
3145
- function Lu(a, r) {
3146
- if (a === 1 / 0 || a === -1 / 0 || a !== a || a && a > -1e3 && a < 1e3 || Oc.call(/e/, r))
3138
+ function Nu(a, r) {
3139
+ if (a === 1 / 0 || a === -1 / 0 || a !== a || a && a > -1e3 && a < 1e3 || Cc.call(/e/, r))
3147
3140
  return r;
3148
3141
  var i = /[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;
3149
3142
  if (typeof a == "number") {
3150
- var u = a < 0 ? -wu(-a) : wu(a);
3143
+ var u = a < 0 ? -bu(-a) : bu(a);
3151
3144
  if (u !== a) {
3152
3145
  var l = String(u), f = qa.call(r, l.length + 1);
3153
3146
  return on.call(l, i, "$&_") + "." + on.call(on.call(f, /([0-9]{3})/g, "$&_"), /_$/, "");
@@ -3155,7 +3148,7 @@ function Lu(a, r) {
3155
3148
  }
3156
3149
  return on.call(r, i, "$&_");
3157
3150
  }
3158
- var ra = Pv, Tu = ra.custom, Cu = Pc(Tu) ? Tu : null, Wv = function a(r, i, u, l) {
3151
+ var ra = Pv, Lu = ra.custom, Tu = Mc(Lu) ? Lu : null, Wv = function a(r, i, u, l) {
3159
3152
  var f = i || {};
3160
3153
  if (sn(f, "quoteStyle") && f.quoteStyle !== "single" && f.quoteStyle !== "double")
3161
3154
  throw new TypeError('option "quoteStyle" must be "single" or "double"');
@@ -3176,16 +3169,16 @@ var ra = Pv, Tu = ra.custom, Cu = Pc(Tu) ? Tu : null, Wv = function a(r, i, u, l
3176
3169
  if (typeof r == "boolean")
3177
3170
  return r ? "true" : "false";
3178
3171
  if (typeof r == "string")
3179
- return Dc(r, f);
3172
+ return Ac(r, f);
3180
3173
  if (typeof r == "number") {
3181
3174
  if (r === 0)
3182
3175
  return 1 / 0 / r > 0 ? "0" : "-0";
3183
3176
  var d = String(r);
3184
- return v ? Lu(r, d) : d;
3177
+ return v ? Nu(r, d) : d;
3185
3178
  }
3186
3179
  if (typeof r == "bigint") {
3187
3180
  var _ = String(r) + "n";
3188
- return v ? Lu(r, _) : _;
3181
+ return v ? Nu(r, _) : _;
3189
3182
  }
3190
3183
  var x = typeof f.depth > "u" ? 5 : f.depth;
3191
3184
  if (typeof u > "u" && (u = 0), u >= x && x > 0 && typeof r == "object")
@@ -3193,7 +3186,7 @@ var ra = Pv, Tu = ra.custom, Cu = Pc(Tu) ? Tu : null, Wv = function a(r, i, u, l
3193
3186
  var p = um(f, u);
3194
3187
  if (typeof l > "u")
3195
3188
  l = [];
3196
- else if (Ac(l, r) >= 0)
3189
+ else if (Pc(l, r) >= 0)
3197
3190
  return "[Circular]";
3198
3191
  function S(ae, F, Q) {
3199
3192
  if (F && (l = Yv.call(l), l.push(F)), Q) {
@@ -3204,18 +3197,18 @@ var ra = Pv, Tu = ra.custom, Cu = Pc(Tu) ? Tu : null, Wv = function a(r, i, u, l
3204
3197
  }
3205
3198
  return a(ae, f, u + 1, l);
3206
3199
  }
3207
- if (typeof r == "function" && !Ou(r)) {
3200
+ if (typeof r == "function" && !Cu(r)) {
3208
3201
  var k = $v(r), I = oi(r, S);
3209
3202
  return "[Function" + (k ? ": " + k : " (anonymous)") + "]" + (I.length > 0 ? " { " + Ft.call(I, ", ") + " }" : "");
3210
3203
  }
3211
- if (Pc(r)) {
3204
+ if (Mc(r)) {
3212
3205
  var C = sr ? on.call(String(r), /^(Symbol\(.*\))_[^)]*$/, "$1") : na.call(r);
3213
3206
  return typeof r == "object" && !sr ? Cr(C) : C;
3214
3207
  }
3215
3208
  if (sm(r)) {
3216
- for (var L = "<" + Iu.call(String(r.nodeName)), M = r.attributes || [], P = 0; P < M.length; P++)
3217
- L += " " + M[P].name + "=" + Mc(Xv(M[P].value), "double", f);
3218
- return L += ">", r.childNodes && r.childNodes.length && (L += "..."), L += "</" + Iu.call(String(r.nodeName)) + ">", L;
3209
+ for (var L = "<" + Su.call(String(r.nodeName)), M = r.attributes || [], P = 0; P < M.length; P++)
3210
+ L += " " + M[P].name + "=" + Rc(Xv(M[P].value), "double", f);
3211
+ return L += ">", r.childNodes && r.childNodes.length && (L += "..."), L += "</" + Su.call(String(r.nodeName)) + ">", L;
3219
3212
  }
3220
3213
  if (ia(r)) {
3221
3214
  if (r.length === 0)
@@ -3225,25 +3218,25 @@ var ra = Pv, Tu = ra.custom, Cu = Pc(Tu) ? Tu : null, Wv = function a(r, i, u, l
3225
3218
  }
3226
3219
  if (Vv(r)) {
3227
3220
  var D = oi(r, S);
3228
- return !("cause" in Error.prototype) && "cause" in r && !Rc.call(r, "cause") ? "{ [" + String(r) + "] " + Ft.call(bu.call("[cause]: " + S(r.cause), D), ", ") + " }" : D.length === 0 ? "[" + String(r) + "]" : "{ [" + String(r) + "] " + Ft.call(D, ", ") + " }";
3221
+ return !("cause" in Error.prototype) && "cause" in r && !Oc.call(r, "cause") ? "{ [" + String(r) + "] " + Ft.call(Iu.call("[cause]: " + S(r.cause), D), ", ") + " }" : D.length === 0 ? "[" + String(r) + "]" : "{ [" + String(r) + "] " + Ft.call(D, ", ") + " }";
3229
3222
  }
3230
3223
  if (typeof r == "object" && g) {
3231
- if (Cu && typeof r[Cu] == "function" && ra)
3224
+ if (Tu && typeof r[Tu] == "function" && ra)
3232
3225
  return ra(r, { depth: x - u });
3233
3226
  if (g !== "symbol" && typeof r.inspect == "function")
3234
3227
  return r.inspect();
3235
3228
  }
3236
3229
  if (em(r)) {
3237
3230
  var O = [];
3238
- return ku && ku.call(r, function(ae, F) {
3231
+ return Eu && Eu.call(r, function(ae, F) {
3239
3232
  O.push(S(F, r, !0) + " => " + S(ae, r));
3240
- }), Ru("Map", Ci.call(r), O, p);
3233
+ }), Ou("Map", Oi.call(r), O, p);
3241
3234
  }
3242
3235
  if (rm(r)) {
3243
3236
  var z = [];
3244
- return xu && xu.call(r, function(ae) {
3237
+ return ku && ku.call(r, function(ae) {
3245
3238
  z.push(S(ae, r));
3246
- }), Ru("Set", Oi.call(r), z, p);
3239
+ }), Ou("Set", Ri.call(r), z, p);
3247
3240
  }
3248
3241
  if (tm(r))
3249
3242
  return As("WeakMap");
@@ -3261,15 +3254,15 @@ var ra = Pv, Tu = ra.custom, Cu = Pc(Tu) ? Tu : null, Wv = function a(r, i, u, l
3261
3254
  return Cr(S(String(r)));
3262
3255
  if (typeof window < "u" && r === window)
3263
3256
  return "{ [object Window] }";
3264
- if (r === Ki)
3257
+ if (r === Ji)
3265
3258
  return "{ [object globalThis] }";
3266
- if (!jv(r) && !Ou(r)) {
3267
- var q = oi(r, S), U = Nu ? Nu(r) === Object.prototype : r instanceof Object || r.constructor === Object, A = r instanceof Object ? "" : "null prototype", H = !U && Ze && Object(r) === r && Ze in r ? qa.call(dn(r), 8, -1) : A ? "Object" : "", ee = U || typeof r.constructor != "function" ? "" : r.constructor.name ? r.constructor.name + " " : "", Z = ee + (H || A ? "[" + Ft.call(bu.call([], H || [], A || []), ": ") + "] " : "");
3259
+ if (!jv(r) && !Cu(r)) {
3260
+ var q = oi(r, S), U = wu ? wu(r) === Object.prototype : r instanceof Object || r.constructor === Object, A = r instanceof Object ? "" : "null prototype", H = !U && Ze && Object(r) === r && Ze in r ? qa.call(dn(r), 8, -1) : A ? "Object" : "", ee = U || typeof r.constructor != "function" ? "" : r.constructor.name ? r.constructor.name + " " : "", Z = ee + (H || A ? "[" + Ft.call(Iu.call([], H || [], A || []), ": ") + "] " : "");
3268
3261
  return q.length === 0 ? Z + "{}" : p ? Z + "{" + sa(q, p) + "}" : Z + "{ " + Ft.call(q, ", ") + " }";
3269
3262
  }
3270
3263
  return String(r);
3271
3264
  };
3272
- function Mc(a, r, i) {
3265
+ function Rc(a, r, i) {
3273
3266
  var u = (i.quoteStyle || r) === "double" ? '"' : "'";
3274
3267
  return u + a + u;
3275
3268
  }
@@ -3282,7 +3275,7 @@ function ia(a) {
3282
3275
  function jv(a) {
3283
3276
  return dn(a) === "[object Date]" && (!Ze || !(typeof a == "object" && Ze in a));
3284
3277
  }
3285
- function Ou(a) {
3278
+ function Cu(a) {
3286
3279
  return dn(a) === "[object RegExp]" && (!Ze || !(typeof a == "object" && Ze in a));
3287
3280
  }
3288
3281
  function Vv(a) {
@@ -3297,7 +3290,7 @@ function Zv(a) {
3297
3290
  function Qv(a) {
3298
3291
  return dn(a) === "[object Boolean]" && (!Ze || !(typeof a == "object" && Ze in a));
3299
3292
  }
3300
- function Pc(a) {
3293
+ function Mc(a) {
3301
3294
  if (sr)
3302
3295
  return a && typeof a == "object" && a instanceof Symbol;
3303
3296
  if (typeof a == "symbol")
@@ -3334,7 +3327,7 @@ function $v(a) {
3334
3327
  var r = zv.call(qv.call(a), /^function\s*([\w$]+)/);
3335
3328
  return r ? r[1] : null;
3336
3329
  }
3337
- function Ac(a, r) {
3330
+ function Pc(a, r) {
3338
3331
  if (a.indexOf)
3339
3332
  return a.indexOf(r);
3340
3333
  for (var i = 0, u = a.length; i < u; i++)
@@ -3343,12 +3336,12 @@ function Ac(a, r) {
3343
3336
  return -1;
3344
3337
  }
3345
3338
  function em(a) {
3346
- if (!Ci || !a || typeof a != "object")
3339
+ if (!Oi || !a || typeof a != "object")
3347
3340
  return !1;
3348
3341
  try {
3349
- Ci.call(a);
3342
+ Oi.call(a);
3350
3343
  try {
3351
- Oi.call(a);
3344
+ Ri.call(a);
3352
3345
  } catch {
3353
3346
  return !0;
3354
3347
  }
@@ -3373,21 +3366,21 @@ function tm(a) {
3373
3366
  return !1;
3374
3367
  }
3375
3368
  function nm(a) {
3376
- if (!Su || !a || typeof a != "object")
3369
+ if (!xu || !a || typeof a != "object")
3377
3370
  return !1;
3378
3371
  try {
3379
- return Su.call(a), !0;
3372
+ return xu.call(a), !0;
3380
3373
  } catch {
3381
3374
  }
3382
3375
  return !1;
3383
3376
  }
3384
3377
  function rm(a) {
3385
- if (!Oi || !a || typeof a != "object")
3378
+ if (!Ri || !a || typeof a != "object")
3386
3379
  return !1;
3387
3380
  try {
3388
- Oi.call(a);
3381
+ Ri.call(a);
3389
3382
  try {
3390
- Ci.call(a);
3383
+ Oi.call(a);
3391
3384
  } catch {
3392
3385
  return !0;
3393
3386
  }
@@ -3414,13 +3407,13 @@ function im(a) {
3414
3407
  function sm(a) {
3415
3408
  return !a || typeof a != "object" ? !1 : typeof HTMLElement < "u" && a instanceof HTMLElement ? !0 : typeof a.nodeName == "string" && typeof a.getAttribute == "function";
3416
3409
  }
3417
- function Dc(a, r) {
3410
+ function Ac(a, r) {
3418
3411
  if (a.length > r.maxStringLength) {
3419
3412
  var i = a.length - r.maxStringLength, u = "... " + i + " more character" + (i > 1 ? "s" : "");
3420
- return Dc(qa.call(a, 0, r.maxStringLength), r) + u;
3413
+ return Ac(qa.call(a, 0, r.maxStringLength), r) + u;
3421
3414
  }
3422
3415
  var l = on.call(on.call(a, /(['\\])/g, "\\$1"), /[\x00-\x1f]/g, am);
3423
- return Mc(l, "single", r);
3416
+ return Rc(l, "single", r);
3424
3417
  }
3425
3418
  function am(a) {
3426
3419
  var r = a.charCodeAt(0), i = {
@@ -3438,13 +3431,13 @@ function Cr(a) {
3438
3431
  function As(a) {
3439
3432
  return a + " { ? }";
3440
3433
  }
3441
- function Ru(a, r, i, u) {
3434
+ function Ou(a, r, i, u) {
3442
3435
  var l = u ? sa(i, u) : Ft.call(i, ", ");
3443
3436
  return a + " (" + r + ") {" + l + "}";
3444
3437
  }
3445
3438
  function om(a) {
3446
3439
  for (var r = 0; r < a.length; r++)
3447
- if (Ac(a[r], `
3440
+ if (Pc(a[r], `
3448
3441
  `) >= 0)
3449
3442
  return !1;
3450
3443
  return !0;
@@ -3484,13 +3477,13 @@ function oi(a, r) {
3484
3477
  g["$" + f[v]] = f[v];
3485
3478
  }
3486
3479
  for (var d in a)
3487
- sn(a, d) && (i && String(Number(d)) === d && d < a.length || sr && g["$" + d] instanceof Symbol || (Oc.call(/[^\w$]/, d) ? u.push(r(d, a) + ": " + r(a[d], a)) : u.push(d + ": " + r(a[d], a))));
3480
+ sn(a, d) && (i && String(Number(d)) === d && d < a.length || sr && g["$" + d] instanceof Symbol || (Cc.call(/[^\w$]/, d) ? u.push(r(d, a) + ": " + r(a[d], a)) : u.push(d + ": " + r(a[d], a))));
3488
3481
  if (typeof Ps == "function")
3489
3482
  for (var _ = 0; _ < f.length; _++)
3490
- Rc.call(a, f[_]) && u.push("[" + r(f[_]) + "]: " + r(a[f[_]], a));
3483
+ Oc.call(a, f[_]) && u.push("[" + r(f[_]) + "]: " + r(a[f[_]], a));
3491
3484
  return u;
3492
3485
  }
3493
- var Fc = Ut, fr = It, lm = Wv, cm = mn, ui = Fc("%WeakMap%", !0), li = Fc("%Map%", !0), fm = fr("WeakMap.prototype.get", !0), hm = fr("WeakMap.prototype.set", !0), gm = fr("WeakMap.prototype.has", !0), ym = fr("Map.prototype.get", !0), vm = fr("Map.prototype.set", !0), mm = fr("Map.prototype.has", !0), za = function(a, r) {
3486
+ var Dc = Ut, fr = It, lm = Wv, cm = mn, ui = Dc("%WeakMap%", !0), li = Dc("%Map%", !0), fm = fr("WeakMap.prototype.get", !0), hm = fr("WeakMap.prototype.set", !0), gm = fr("WeakMap.prototype.has", !0), ym = fr("Map.prototype.get", !0), vm = fr("Map.prototype.set", !0), mm = fr("Map.prototype.has", !0), za = function(a, r) {
3494
3487
  for (var i = a, u; (u = i.next) !== null; i = u)
3495
3488
  if (u.key === r)
3496
3489
  return i.next = u.next, u.next = /** @type {NonNullable<typeof list.next>} */
@@ -3509,7 +3502,7 @@ var Fc = Ut, fr = It, lm = Wv, cm = mn, ui = Fc("%WeakMap%", !0), li = Fc("%Map%
3509
3502
  };
3510
3503
  }, _m = function(a, r) {
3511
3504
  return !!za(a, r);
3512
- }, Bc = function() {
3505
+ }, Fc = function() {
3513
3506
  var r, i, u, l = {
3514
3507
  assert: function(f) {
3515
3508
  if (!l.has(f))
@@ -3541,7 +3534,7 @@ var Fc = Ut, fr = It, lm = Wv, cm = mn, ui = Fc("%WeakMap%", !0), li = Fc("%Map%
3541
3534
  }
3542
3535
  };
3543
3536
  return l;
3544
- }, Em = fc, Or = Bc(), Ht = mn, Ua = {
3537
+ }, Em = cc, Or = Fc(), Ht = mn, Ua = {
3545
3538
  assert: function(a, r) {
3546
3539
  if (!a || typeof a != "object" && typeof a != "function")
3547
3540
  throw new Ht("`O` is not an object");
@@ -3576,8 +3569,8 @@ var Fc = Ut, fr = It, lm = Wv, cm = mn, ui = Fc("%WeakMap%", !0), li = Fc("%Map%
3576
3569
  }
3577
3570
  };
3578
3571
  Object.freeze && Object.freeze(Ua);
3579
- var km = Ua, Rr = km, xm = SyntaxError, Mu = typeof StopIteration == "object" ? StopIteration : null, Sm = function(r) {
3580
- if (!Mu)
3572
+ var km = Ua, Rr = km, xm = SyntaxError, Ru = typeof StopIteration == "object" ? StopIteration : null, Sm = function(r) {
3573
+ if (!Ru)
3581
3574
  throw new xm("this environment lacks StopIteration");
3582
3575
  Rr.set(r, "[[Done]]", !1);
3583
3576
  var i = {
@@ -3589,7 +3582,7 @@ var km = Ua, Rr = km, xm = SyntaxError, Mu = typeof StopIteration == "object" ?
3589
3582
  value: f ? void 0 : l.next()
3590
3583
  };
3591
3584
  } catch (g) {
3592
- if (Rr.set(l, "[[Done]]", !0), g !== Mu)
3585
+ if (Rr.set(l, "[[Done]]", !0), g !== Ru)
3593
3586
  throw g;
3594
3587
  return {
3595
3588
  done: !0,
@@ -3599,7 +3592,7 @@ var km = Ua, Rr = km, xm = SyntaxError, Mu = typeof StopIteration == "object" ?
3599
3592
  }
3600
3593
  };
3601
3594
  return Rr.set(i, "[[Iterator]]", r), i;
3602
- }, Im = {}.toString, Gc = Array.isArray || function(a) {
3595
+ }, Im = {}.toString, Bc = Array.isArray || function(a) {
3603
3596
  return Im.call(a) == "[object Array]";
3604
3597
  }, bm = String.prototype.valueOf, wm = function(r) {
3605
3598
  try {
@@ -3607,23 +3600,23 @@ var km = Ua, Rr = km, xm = SyntaxError, Mu = typeof StopIteration == "object" ?
3607
3600
  } catch {
3608
3601
  return !1;
3609
3602
  }
3610
- }, Nm = Object.prototype.toString, Lm = "[object String]", Tm = Pn(), qc = function(r) {
3603
+ }, Nm = Object.prototype.toString, Lm = "[object String]", Tm = Pn(), Gc = function(r) {
3611
3604
  return typeof r == "string" ? !0 : typeof r != "object" ? !1 : Tm ? wm(r) : Nm.call(r) === Lm;
3612
- }, Ya = typeof Map == "function" && Map.prototype ? Map : null, Cm = typeof Set == "function" && Set.prototype ? Set : null, Ri;
3613
- Ya || (Ri = function(r) {
3605
+ }, Ya = typeof Map == "function" && Map.prototype ? Map : null, Cm = typeof Set == "function" && Set.prototype ? Set : null, Mi;
3606
+ Ya || (Mi = function(r) {
3614
3607
  return !1;
3615
3608
  });
3616
- var zc = Ya ? Map.prototype.has : null, Pu = Cm ? Set.prototype.has : null;
3617
- !Ri && !zc && (Ri = function(r) {
3609
+ var qc = Ya ? Map.prototype.has : null, Mu = Cm ? Set.prototype.has : null;
3610
+ !Mi && !qc && (Mi = function(r) {
3618
3611
  return !1;
3619
3612
  });
3620
- var Uc = Ri || function(r) {
3613
+ var zc = Mi || function(r) {
3621
3614
  if (!r || typeof r != "object")
3622
3615
  return !1;
3623
3616
  try {
3624
- if (zc.call(r), Pu)
3617
+ if (qc.call(r), Mu)
3625
3618
  try {
3626
- Pu.call(r);
3619
+ Mu.call(r);
3627
3620
  } catch {
3628
3621
  return !0;
3629
3622
  }
@@ -3631,21 +3624,21 @@ var Uc = Ri || function(r) {
3631
3624
  } catch {
3632
3625
  }
3633
3626
  return !1;
3634
- }, Om = typeof Map == "function" && Map.prototype ? Map : null, Wa = typeof Set == "function" && Set.prototype ? Set : null, Mi;
3635
- Wa || (Mi = function(r) {
3627
+ }, Om = typeof Map == "function" && Map.prototype ? Map : null, Wa = typeof Set == "function" && Set.prototype ? Set : null, Pi;
3628
+ Wa || (Pi = function(r) {
3636
3629
  return !1;
3637
3630
  });
3638
- var Au = Om ? Map.prototype.has : null, Yc = Wa ? Set.prototype.has : null;
3639
- !Mi && !Yc && (Mi = function(r) {
3631
+ var Pu = Om ? Map.prototype.has : null, Uc = Wa ? Set.prototype.has : null;
3632
+ !Pi && !Uc && (Pi = function(r) {
3640
3633
  return !1;
3641
3634
  });
3642
- var Wc = Mi || function(r) {
3635
+ var Yc = Pi || function(r) {
3643
3636
  if (!r || typeof r != "object")
3644
3637
  return !1;
3645
3638
  try {
3646
- if (Yc.call(r), Au)
3639
+ if (Uc.call(r), Pu)
3647
3640
  try {
3648
- Au.call(r);
3641
+ Pu.call(r);
3649
3642
  } catch {
3650
3643
  return !0;
3651
3644
  }
@@ -3653,24 +3646,24 @@ var Wc = Mi || function(r) {
3653
3646
  } catch {
3654
3647
  }
3655
3648
  return !1;
3656
- }, Du = Cc, Fu = Sm;
3657
- if (Ra() || Ji()) {
3649
+ }, Au = Tc, Du = Sm;
3650
+ if (Ra() || $i()) {
3658
3651
  var Ds = Symbol.iterator;
3659
- Ei.exports = function(r) {
3652
+ ki.exports = function(r) {
3660
3653
  if (r != null && typeof r[Ds] < "u")
3661
3654
  return r[Ds]();
3662
- if (Du(r))
3655
+ if (Au(r))
3663
3656
  return Array.prototype[Ds].call(r);
3664
3657
  };
3665
3658
  } else {
3666
- var Rm = Gc, Mm = qc, Bu = Ut, Pm = Bu("%Map%", !0), Am = Bu("%Set%", !0), Tt = It, Gu = Tt("Array.prototype.push"), qu = Tt("String.prototype.charCodeAt"), Dm = Tt("String.prototype.slice"), Fm = function(r, i) {
3659
+ var Rm = Bc, Mm = Gc, Fu = Ut, Pm = Fu("%Map%", !0), Am = Fu("%Set%", !0), Tt = It, Bu = Tt("Array.prototype.push"), Gu = Tt("String.prototype.charCodeAt"), Dm = Tt("String.prototype.slice"), Fm = function(r, i) {
3667
3660
  var u = r.length;
3668
3661
  if (i + 1 >= u)
3669
3662
  return i + 1;
3670
- var l = qu(r, i);
3663
+ var l = Gu(r, i);
3671
3664
  if (l < 55296 || l > 56319)
3672
3665
  return i + 1;
3673
- var f = qu(r, i + 1);
3666
+ var f = Gu(r, i + 1);
3674
3667
  return f < 56320 || f > 57343 ? i + 1 : i + 2;
3675
3668
  }, Fs = function(r) {
3676
3669
  var i = 0;
@@ -3683,8 +3676,8 @@ if (Ra() || Ji()) {
3683
3676
  };
3684
3677
  }
3685
3678
  };
3686
- }, zu = function(r, i) {
3687
- if (Rm(r) || Du(r))
3679
+ }, qu = function(r, i) {
3680
+ if (Rm(r) || Au(r))
3688
3681
  return Fs(r);
3689
3682
  if (Mm(r)) {
3690
3683
  var u = 0;
@@ -3702,69 +3695,69 @@ if (Ra() || Ji()) {
3702
3695
  return r["_es6-shim iterator_"]();
3703
3696
  };
3704
3697
  if (!Pm && !Am)
3705
- Ei.exports = function(r) {
3698
+ ki.exports = function(r) {
3706
3699
  if (r != null)
3707
- return zu(r, !0);
3700
+ return qu(r, !0);
3708
3701
  };
3709
3702
  else {
3710
- var Bm = Uc, Gm = Wc, Uu = Tt("Map.prototype.forEach", !0), Yu = Tt("Set.prototype.forEach", !0);
3703
+ var Bm = zc, Gm = Yc, zu = Tt("Map.prototype.forEach", !0), Uu = Tt("Set.prototype.forEach", !0);
3711
3704
  if (typeof process > "u" || !process.versions || !process.versions.node)
3712
- var Wu = Tt("Map.prototype.iterator", !0), Xu = Tt("Set.prototype.iterator", !0);
3713
- var ju = Tt("Map.prototype.@@iterator", !0) || Tt("Map.prototype._es6-shim iterator_", !0), Vu = Tt("Set.prototype.@@iterator", !0) || Tt("Set.prototype._es6-shim iterator_", !0), qm = function(r) {
3705
+ var Yu = Tt("Map.prototype.iterator", !0), Wu = Tt("Set.prototype.iterator", !0);
3706
+ var Xu = Tt("Map.prototype.@@iterator", !0) || Tt("Map.prototype._es6-shim iterator_", !0), ju = Tt("Set.prototype.@@iterator", !0) || Tt("Set.prototype._es6-shim iterator_", !0), qm = function(r) {
3714
3707
  if (Bm(r)) {
3715
- if (Wu)
3716
- return Fu(Wu(r));
3717
- if (ju)
3718
- return ju(r);
3719
- if (Uu) {
3708
+ if (Yu)
3709
+ return Du(Yu(r));
3710
+ if (Xu)
3711
+ return Xu(r);
3712
+ if (zu) {
3720
3713
  var i = [];
3721
- return Uu(r, function(l, f) {
3722
- Gu(i, [f, l]);
3714
+ return zu(r, function(l, f) {
3715
+ Bu(i, [f, l]);
3723
3716
  }), Fs(i);
3724
3717
  }
3725
3718
  }
3726
3719
  if (Gm(r)) {
3727
- if (Xu)
3728
- return Fu(Xu(r));
3729
- if (Vu)
3730
- return Vu(r);
3731
- if (Yu) {
3720
+ if (Wu)
3721
+ return Du(Wu(r));
3722
+ if (ju)
3723
+ return ju(r);
3724
+ if (Uu) {
3732
3725
  var u = [];
3733
- return Yu(r, function(l) {
3734
- Gu(u, l);
3726
+ return Uu(r, function(l) {
3727
+ Bu(u, l);
3735
3728
  }), Fs(u);
3736
3729
  }
3737
3730
  }
3738
3731
  };
3739
- Ei.exports = function(r) {
3740
- return qm(r) || zu(r);
3732
+ ki.exports = function(r) {
3733
+ return qm(r) || qu(r);
3741
3734
  };
3742
3735
  }
3743
3736
  }
3744
- var zm = Ei.exports, Hu = function(a) {
3737
+ var zm = ki.exports, Vu = function(a) {
3745
3738
  return a !== a;
3746
- }, Xc = function(r, i) {
3747
- return r === 0 && i === 0 ? 1 / r === 1 / i : !!(r === i || Hu(r) && Hu(i));
3748
- }, Um = Xc, jc = function() {
3739
+ }, Wc = function(r, i) {
3740
+ return r === 0 && i === 0 ? 1 / r === 1 / i : !!(r === i || Vu(r) && Vu(i));
3741
+ }, Um = Wc, Xc = function() {
3749
3742
  return typeof Object.is == "function" ? Object.is : Um;
3750
- }, Ym = jc, Wm = Mn, Xm = function() {
3743
+ }, Ym = Xc, Wm = Mn, Xm = function() {
3751
3744
  var r = Ym();
3752
3745
  return Wm(Object, { is: r }, {
3753
3746
  is: function() {
3754
3747
  return Object.is !== r;
3755
3748
  }
3756
3749
  }), r;
3757
- }, jm = Mn, Vm = cr, Hm = Xc, Vc = jc, Zm = Xm, Hc = Vm(Vc(), Object);
3758
- jm(Hc, {
3759
- getPolyfill: Vc,
3750
+ }, jm = Mn, Vm = cr, Hm = Wc, jc = Xc, Zm = Xm, Vc = Vm(jc(), Object);
3751
+ jm(Vc, {
3752
+ getPolyfill: jc,
3760
3753
  implementation: Hm,
3761
3754
  shim: Zm
3762
3755
  });
3763
- var Qm = Hc, Km = cr, Zc = It, Jm = Ut, aa = Jm("%ArrayBuffer%", !0), ki = Zc("ArrayBuffer.prototype.byteLength", !0), $m = Zc("Object.prototype.toString"), Zu = !!aa && !ki && new aa(0).slice, Qu = !!Zu && Km(Zu), Qc = ki || Qu ? function(r) {
3756
+ var Qm = Vc, Km = cr, Hc = It, Jm = Ut, aa = Jm("%ArrayBuffer%", !0), xi = Hc("ArrayBuffer.prototype.byteLength", !0), $m = Hc("Object.prototype.toString"), Hu = !!aa && !xi && new aa(0).slice, Zu = !!Hu && Km(Hu), Zc = xi || Zu ? function(r) {
3764
3757
  if (!r || typeof r != "object")
3765
3758
  return !1;
3766
3759
  try {
3767
- return ki ? ki(r) : Qu(r, 0), !0;
3760
+ return xi ? xi(r) : Zu(r, 0), !0;
3768
3761
  } catch {
3769
3762
  return !1;
3770
3763
  }
@@ -3780,9 +3773,9 @@ var Qm = Hc, Km = cr, Zc = It, Jm = Ut, aa = Jm("%ArrayBuffer%", !0), ki = Zc("A
3780
3773
  }
3781
3774
  }, nd = Object.prototype.toString, rd = "[object Date]", id = Pn(), sd = function(r) {
3782
3775
  return typeof r != "object" || r === null ? !1 : id ? td(r) : nd.call(r) === rd;
3783
- }, oa = It, Kc = Pn(), Jc, $c, ua, la;
3784
- if (Kc) {
3785
- Jc = oa("Object.prototype.hasOwnProperty"), $c = oa("RegExp.prototype.exec"), ua = {};
3776
+ }, oa = It, Qc = Pn(), Kc, Jc, ua, la;
3777
+ if (Qc) {
3778
+ Kc = oa("Object.prototype.hasOwnProperty"), Jc = oa("RegExp.prototype.exec"), ua = {};
3786
3779
  var Bs = function() {
3787
3780
  throw ua;
3788
3781
  };
@@ -3791,24 +3784,24 @@ if (Kc) {
3791
3784
  valueOf: Bs
3792
3785
  }, typeof Symbol.toPrimitive == "symbol" && (la[Symbol.toPrimitive] = Bs);
3793
3786
  }
3794
- var ad = oa("Object.prototype.toString"), od = Object.getOwnPropertyDescriptor, ud = "[object RegExp]", ld = Kc ? function(r) {
3787
+ var ad = oa("Object.prototype.toString"), od = Object.getOwnPropertyDescriptor, ud = "[object RegExp]", ld = Qc ? function(r) {
3795
3788
  if (!r || typeof r != "object")
3796
3789
  return !1;
3797
- var i = od(r, "lastIndex"), u = i && Jc(i, "value");
3790
+ var i = od(r, "lastIndex"), u = i && Kc(i, "value");
3798
3791
  if (!u)
3799
3792
  return !1;
3800
3793
  try {
3801
- $c(r, la);
3794
+ Jc(r, la);
3802
3795
  } catch (l) {
3803
3796
  return l === ua;
3804
3797
  }
3805
3798
  } : function(r) {
3806
3799
  return !r || typeof r != "object" && typeof r != "function" ? !1 : ad(r) === ud;
3807
- }, cd = It, Ku = cd("SharedArrayBuffer.prototype.byteLength", !0), fd = Ku ? function(r) {
3800
+ }, cd = It, Qu = cd("SharedArrayBuffer.prototype.byteLength", !0), fd = Qu ? function(r) {
3808
3801
  if (!r || typeof r != "object")
3809
3802
  return !1;
3810
3803
  try {
3811
- return Ku(r), !0;
3804
+ return Qu(r), !0;
3812
3805
  } catch {
3813
3806
  return !1;
3814
3807
  }
@@ -3822,7 +3815,7 @@ var ad = oa("Object.prototype.toString"), od = Object.getOwnPropertyDescriptor,
3822
3815
  }
3823
3816
  }, yd = Object.prototype.toString, vd = "[object Number]", md = Pn(), dd = function(r) {
3824
3817
  return typeof r == "number" ? !0 : typeof r != "object" ? !1 : md ? gd(r) : yd.call(r) === vd;
3825
- }, ef = It, pd = ef("Boolean.prototype.toString"), _d = ef("Object.prototype.toString"), Ed = function(r) {
3818
+ }, $c = It, pd = $c("Boolean.prototype.toString"), _d = $c("Object.prototype.toString"), Ed = function(r) {
3826
3819
  try {
3827
3820
  return pd(r), !0;
3828
3821
  } catch {
@@ -3850,8 +3843,8 @@ if (bd) {
3850
3843
  ca.exports = function(r) {
3851
3844
  return !1;
3852
3845
  };
3853
- var Td = ca.exports, fa = { exports: {} }, Ju = typeof BigInt < "u" && BigInt, Cd = function() {
3854
- return typeof Ju == "function" && typeof BigInt == "function" && typeof Ju(42) == "bigint" && typeof BigInt(42) == "bigint";
3846
+ var Td = ca.exports, fa = { exports: {} }, Ku = typeof BigInt < "u" && BigInt, Cd = function() {
3847
+ return typeof Ku == "function" && typeof BigInt == "function" && typeof Ku(42) == "bigint" && typeof BigInt(42) == "bigint";
3855
3848
  }, Od = Cd();
3856
3849
  if (Od) {
3857
3850
  var Rd = BigInt.prototype.valueOf, Md = function(r) {
@@ -3868,7 +3861,7 @@ if (Od) {
3868
3861
  fa.exports = function(r) {
3869
3862
  return !1;
3870
3863
  };
3871
- var Pd = fa.exports, Ad = qc, Dd = dd, Fd = Sd, Bd = Td, Gd = Pd, qd = function(r) {
3864
+ var Pd = fa.exports, Ad = Gc, Dd = dd, Fd = Sd, Bd = Td, Gd = Pd, qd = function(r) {
3872
3865
  if (r == null || typeof r != "object" && typeof r != "function")
3873
3866
  return null;
3874
3867
  if (Ad(r))
@@ -3881,15 +3874,15 @@ var Pd = fa.exports, Ad = qc, Dd = dd, Fd = Sd, Bd = Td, Gd = Pd, qd = function(
3881
3874
  return "Symbol";
3882
3875
  if (Gd(r))
3883
3876
  return "BigInt";
3884
- }, Pi = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap : null, $u = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet : null, Ai;
3885
- Pi || (Ai = function(r) {
3877
+ }, Ai = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap : null, Ju = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet : null, Di;
3878
+ Ai || (Di = function(r) {
3886
3879
  return !1;
3887
3880
  });
3888
- var ha = Pi ? Pi.prototype.has : null, Gs = $u ? $u.prototype.has : null;
3889
- !Ai && !ha && (Ai = function(r) {
3881
+ var ha = Ai ? Ai.prototype.has : null, Gs = Ju ? Ju.prototype.has : null;
3882
+ !Di && !ha && (Di = function(r) {
3890
3883
  return !1;
3891
3884
  });
3892
- var zd = Ai || function(r) {
3885
+ var zd = Di || function(r) {
3893
3886
  if (!r || typeof r != "object")
3894
3887
  return !1;
3895
3888
  try {
@@ -3899,13 +3892,13 @@ var zd = Ai || function(r) {
3899
3892
  } catch {
3900
3893
  return !0;
3901
3894
  }
3902
- return r instanceof Pi;
3895
+ return r instanceof Ai;
3903
3896
  } catch {
3904
3897
  }
3905
3898
  return !1;
3906
- }, ga = { exports: {} }, Ud = Ut, tf = It, Yd = Ud("%WeakSet%", !0), qs = tf("WeakSet.prototype.has", !0);
3899
+ }, ga = { exports: {} }, Ud = Ut, ef = It, Yd = Ud("%WeakSet%", !0), qs = ef("WeakSet.prototype.has", !0);
3907
3900
  if (qs) {
3908
- var zs = tf("WeakMap.prototype.has", !0);
3901
+ var zs = ef("WeakMap.prototype.has", !0);
3909
3902
  ga.exports = function(r) {
3910
3903
  if (!r || typeof r != "object")
3911
3904
  return !1;
@@ -3925,7 +3918,7 @@ if (qs) {
3925
3918
  ga.exports = function(r) {
3926
3919
  return !1;
3927
3920
  };
3928
- var Wd = ga.exports, Xd = Uc, jd = Wc, Vd = zd, Hd = Wd, Zd = function(r) {
3921
+ var Wd = ga.exports, Xd = zc, jd = Yc, Vd = zd, Hd = Wd, Zd = function(r) {
3929
3922
  if (r && typeof r == "object") {
3930
3923
  if (Xd(r))
3931
3924
  return "Map";
@@ -3937,43 +3930,43 @@ var Wd = ga.exports, Xd = Uc, jd = Wc, Vd = zd, Hd = Wd, Zd = function(r) {
3937
3930
  return "WeakSet";
3938
3931
  }
3939
3932
  return !1;
3940
- }, nf = Function.prototype.toString, tr = typeof Reflect == "object" && Reflect !== null && Reflect.apply, ya, xi;
3933
+ }, tf = Function.prototype.toString, tr = typeof Reflect == "object" && Reflect !== null && Reflect.apply, ya, Si;
3941
3934
  if (typeof tr == "function" && typeof Object.defineProperty == "function")
3942
3935
  try {
3943
3936
  ya = Object.defineProperty({}, "length", {
3944
3937
  get: function() {
3945
- throw xi;
3938
+ throw Si;
3946
3939
  }
3947
- }), xi = {}, tr(function() {
3940
+ }), Si = {}, tr(function() {
3948
3941
  throw 42;
3949
3942
  }, null, ya);
3950
3943
  } catch (a) {
3951
- a !== xi && (tr = null);
3944
+ a !== Si && (tr = null);
3952
3945
  }
3953
3946
  else
3954
3947
  tr = null;
3955
3948
  var Qd = /^\s*class\b/, va = function(r) {
3956
3949
  try {
3957
- var i = nf.call(r);
3950
+ var i = tf.call(r);
3958
3951
  return Qd.test(i);
3959
3952
  } catch {
3960
3953
  return !1;
3961
3954
  }
3962
3955
  }, Us = function(r) {
3963
3956
  try {
3964
- return va(r) ? !1 : (nf.call(r), !0);
3957
+ return va(r) ? !1 : (tf.call(r), !0);
3965
3958
  } catch {
3966
3959
  return !1;
3967
3960
  }
3968
- }, Si = Object.prototype.toString, Kd = "[object Object]", Jd = "[object Function]", $d = "[object GeneratorFunction]", ep = "[object HTMLAllCollection]", tp = "[object HTML document.all class]", np = "[object HTMLCollection]", rp = typeof Symbol == "function" && !!Symbol.toStringTag, ip = !(0 in [,]), ma = function() {
3961
+ }, Ii = Object.prototype.toString, Kd = "[object Object]", Jd = "[object Function]", $d = "[object GeneratorFunction]", ep = "[object HTMLAllCollection]", tp = "[object HTML document.all class]", np = "[object HTMLCollection]", rp = typeof Symbol == "function" && !!Symbol.toStringTag, ip = !(0 in [,]), ma = function() {
3969
3962
  return !1;
3970
3963
  };
3971
3964
  if (typeof document == "object") {
3972
3965
  var sp = document.all;
3973
- Si.call(sp) === Si.call(document.all) && (ma = function(r) {
3966
+ Ii.call(sp) === Ii.call(document.all) && (ma = function(r) {
3974
3967
  if ((ip || !r) && (typeof r > "u" || typeof r == "object"))
3975
3968
  try {
3976
- var i = Si.call(r);
3969
+ var i = Ii.call(r);
3977
3970
  return (i === ep || i === tp || i === np || i === Kd) && r("") == null;
3978
3971
  } catch {
3979
3972
  }
@@ -3988,7 +3981,7 @@ var ap = tr ? function(r) {
3988
3981
  try {
3989
3982
  tr(r, null, ya);
3990
3983
  } catch (i) {
3991
- if (i !== xi)
3984
+ if (i !== Si)
3992
3985
  return !1;
3993
3986
  }
3994
3987
  return !va(r) && Us(r);
@@ -4001,17 +3994,17 @@ var ap = tr ? function(r) {
4001
3994
  return Us(r);
4002
3995
  if (va(r))
4003
3996
  return !1;
4004
- var i = Si.call(r);
3997
+ var i = Ii.call(r);
4005
3998
  return i !== Jd && i !== $d && !/^\[object HTML/.test(i) ? !1 : Us(r);
4006
- }, op = ap, up = Object.prototype.toString, rf = Object.prototype.hasOwnProperty, lp = function(r, i, u) {
3999
+ }, op = ap, up = Object.prototype.toString, nf = Object.prototype.hasOwnProperty, lp = function(r, i, u) {
4007
4000
  for (var l = 0, f = r.length; l < f; l++)
4008
- rf.call(r, l) && (u == null ? i(r[l], l, r) : i.call(u, r[l], l, r));
4001
+ nf.call(r, l) && (u == null ? i(r[l], l, r) : i.call(u, r[l], l, r));
4009
4002
  }, cp = function(r, i, u) {
4010
4003
  for (var l = 0, f = r.length; l < f; l++)
4011
4004
  u == null ? i(r.charAt(l), l, r) : i.call(u, r.charAt(l), l, r);
4012
4005
  }, fp = function(r, i, u) {
4013
4006
  for (var l in r)
4014
- rf.call(r, l) && (u == null ? i(r[l], l, r) : i.call(u, r[l], l, r));
4007
+ nf.call(r, l) && (u == null ? i(r[l], l, r) : i.call(u, r[l], l, r));
4015
4008
  }, hp = function(r, i, u) {
4016
4009
  if (!op(i))
4017
4010
  throw new TypeError("iterator must be a function");
@@ -4029,37 +4022,37 @@ var ap = tr ? function(r) {
4029
4022
  "Uint32Array",
4030
4023
  "BigInt64Array",
4031
4024
  "BigUint64Array"
4032
- ], Ys = yp, vp = typeof globalThis > "u" ? Ki : globalThis, mp = function() {
4025
+ ], Ys = yp, vp = typeof globalThis > "u" ? Ji : globalThis, mp = function() {
4033
4026
  for (var r = [], i = 0; i < Ys.length; i++)
4034
4027
  typeof vp[Ys[i]] == "function" && (r[r.length] = Ys[i]);
4035
4028
  return r;
4036
- }, Di = gp, dp = mp, el = cr, Xa = It, Ii = Aa, pp = Xa("Object.prototype.toString"), sf = Pn(), tl = typeof globalThis > "u" ? Ki : globalThis, da = dp(), ja = Xa("String.prototype.slice"), Ws = Object.getPrototypeOf, _p = Xa("Array.prototype.indexOf", !0) || function(r, i) {
4029
+ }, Fi = gp, dp = mp, $u = cr, Xa = It, bi = Aa, pp = Xa("Object.prototype.toString"), rf = Pn(), el = typeof globalThis > "u" ? Ji : globalThis, da = dp(), ja = Xa("String.prototype.slice"), Ws = Object.getPrototypeOf, _p = Xa("Array.prototype.indexOf", !0) || function(r, i) {
4037
4030
  for (var u = 0; u < r.length; u += 1)
4038
4031
  if (r[u] === i)
4039
4032
  return u;
4040
4033
  return -1;
4041
- }, Fi = { __proto__: null };
4042
- sf && Ii && Ws ? Di(da, function(a) {
4043
- var r = new tl[a]();
4034
+ }, Bi = { __proto__: null };
4035
+ rf && bi && Ws ? Fi(da, function(a) {
4036
+ var r = new el[a]();
4044
4037
  if (Symbol.toStringTag in r) {
4045
- var i = Ws(r), u = Ii(i, Symbol.toStringTag);
4038
+ var i = Ws(r), u = bi(i, Symbol.toStringTag);
4046
4039
  if (!u) {
4047
4040
  var l = Ws(i);
4048
- u = Ii(l, Symbol.toStringTag);
4041
+ u = bi(l, Symbol.toStringTag);
4049
4042
  }
4050
- Fi["$" + a] = el(u.get);
4043
+ Bi["$" + a] = $u(u.get);
4051
4044
  }
4052
- }) : Di(da, function(a) {
4053
- var r = new tl[a](), i = r.slice || r.set;
4054
- i && (Fi["$" + a] = el(i));
4045
+ }) : Fi(da, function(a) {
4046
+ var r = new el[a](), i = r.slice || r.set;
4047
+ i && (Bi["$" + a] = $u(i));
4055
4048
  });
4056
4049
  var Ep = function(r) {
4057
4050
  var i = !1;
4058
- return Di(
4051
+ return Fi(
4059
4052
  // eslint-disable-next-line no-extra-parens
4060
4053
  /** @type {Record<`\$${TypedArrayName}`, Getter>} */
4061
4054
  /** @type {any} */
4062
- Fi,
4055
+ Bi,
4063
4056
  /** @type {(getter: Getter, name: `\$${import('.').TypedArrayName}`) => void} */
4064
4057
  function(u, l) {
4065
4058
  if (!i)
@@ -4071,11 +4064,11 @@ var Ep = function(r) {
4071
4064
  ), i;
4072
4065
  }, kp = function(r) {
4073
4066
  var i = !1;
4074
- return Di(
4067
+ return Fi(
4075
4068
  // eslint-disable-next-line no-extra-parens
4076
4069
  /** @type {Record<`\$${TypedArrayName}`, Getter>} */
4077
4070
  /** @type {any} */
4078
- Fi,
4071
+ Bi,
4079
4072
  /** @type {(getter: typeof cache, name: `\$${import('.').TypedArrayName}`) => void} */
4080
4073
  function(u, l) {
4081
4074
  if (!i)
@@ -4088,53 +4081,53 @@ var Ep = function(r) {
4088
4081
  }, xp = function(r) {
4089
4082
  if (!r || typeof r != "object")
4090
4083
  return !1;
4091
- if (!sf) {
4084
+ if (!rf) {
4092
4085
  var i = ja(pp(r), 8, -1);
4093
4086
  return _p(da, i) > -1 ? i : i !== "Object" ? !1 : kp(r);
4094
4087
  }
4095
- return Ii ? Ep(r) : null;
4096
- }, Sp = It, nl = Sp("ArrayBuffer.prototype.byteLength", !0), Ip = Qc, bp = function(r) {
4097
- return Ip(r) ? nl ? nl(r) : r.byteLength : NaN;
4098
- }, af = rv, Yt = It, rl = Nv, wp = Ut, ar = zm, Np = Bc, il = Qm, sl = Cc, al = Gc, ol = Qc, ul = sd, ll = ld, cl = fd, fl = Oa, hl = qd, gl = Zd, yl = xp, vl = bp, ml = Yt("SharedArrayBuffer.prototype.byteLength", !0), dl = Yt("Date.prototype.getTime"), Xs = Object.getPrototypeOf, pl = Yt("Object.prototype.toString"), Bi = wp("%Set%", !0), pa = Yt("Map.prototype.has", !0), Gi = Yt("Map.prototype.get", !0), _l = Yt("Map.prototype.size", !0), qi = Yt("Set.prototype.add", !0), of = Yt("Set.prototype.delete", !0), zi = Yt("Set.prototype.has", !0), bi = Yt("Set.prototype.size", !0);
4099
- function El(a, r, i, u) {
4088
+ return bi ? Ep(r) : null;
4089
+ }, Sp = It, tl = Sp("ArrayBuffer.prototype.byteLength", !0), Ip = Zc, bp = function(r) {
4090
+ return Ip(r) ? tl ? tl(r) : r.byteLength : NaN;
4091
+ }, sf = rv, Yt = It, nl = Nv, wp = Ut, ar = zm, Np = Fc, rl = Qm, il = Tc, sl = Bc, al = Zc, ol = sd, ul = ld, ll = fd, cl = Oa, fl = qd, hl = Zd, gl = xp, yl = bp, vl = Yt("SharedArrayBuffer.prototype.byteLength", !0), ml = Yt("Date.prototype.getTime"), Xs = Object.getPrototypeOf, dl = Yt("Object.prototype.toString"), Gi = wp("%Set%", !0), pa = Yt("Map.prototype.has", !0), qi = Yt("Map.prototype.get", !0), pl = Yt("Map.prototype.size", !0), zi = Yt("Set.prototype.add", !0), af = Yt("Set.prototype.delete", !0), Ui = Yt("Set.prototype.has", !0), wi = Yt("Set.prototype.size", !0);
4092
+ function _l(a, r, i, u) {
4100
4093
  for (var l = ar(a), f; (f = l.next()) && !f.done; )
4101
4094
  if (Rt(r, f.value, i, u))
4102
- return of(a, f.value), !0;
4095
+ return af(a, f.value), !0;
4103
4096
  return !1;
4104
4097
  }
4105
- function uf(a) {
4098
+ function of(a) {
4106
4099
  if (typeof a > "u")
4107
4100
  return null;
4108
4101
  if (typeof a != "object")
4109
4102
  return typeof a == "symbol" ? !1 : typeof a == "string" || typeof a == "number" ? +a == +a : !0;
4110
4103
  }
4111
4104
  function Lp(a, r, i, u, l, f) {
4112
- var g = uf(i);
4105
+ var g = of(i);
4113
4106
  if (g != null)
4114
4107
  return g;
4115
- var v = Gi(r, g), d = af({}, l, { strict: !1 });
4108
+ var v = qi(r, g), d = sf({}, l, { strict: !1 });
4116
4109
  return typeof v > "u" && !pa(r, g) || !Rt(u, v, d, f) ? !1 : !pa(a, g) && Rt(u, v, d, f);
4117
4110
  }
4118
4111
  function Tp(a, r, i) {
4119
- var u = uf(i);
4120
- return u ?? (zi(r, u) && !zi(a, u));
4112
+ var u = of(i);
4113
+ return u ?? (Ui(r, u) && !Ui(a, u));
4121
4114
  }
4122
- function kl(a, r, i, u, l, f) {
4115
+ function El(a, r, i, u, l, f) {
4123
4116
  for (var g = ar(a), v, d; (v = g.next()) && !v.done; )
4124
4117
  if (d = v.value, // eslint-disable-next-line no-use-before-define
4125
- Rt(i, d, l, f) && Rt(u, Gi(r, d), l, f))
4126
- return of(a, d), !0;
4118
+ Rt(i, d, l, f) && Rt(u, qi(r, d), l, f))
4119
+ return af(a, d), !0;
4127
4120
  return !1;
4128
4121
  }
4129
4122
  function Rt(a, r, i, u) {
4130
4123
  var l = i || {};
4131
- if (l.strict ? il(a, r) : a === r)
4124
+ if (l.strict ? rl(a, r) : a === r)
4132
4125
  return !0;
4133
- var f = hl(a), g = hl(r);
4126
+ var f = fl(a), g = fl(r);
4134
4127
  if (f !== g)
4135
4128
  return !1;
4136
4129
  if (!a || !r || typeof a != "object" && typeof r != "object")
4137
- return l.strict ? il(a, r) : a == r;
4130
+ return l.strict ? rl(a, r) : a == r;
4138
4131
  var v = u.has(a), d = u.has(r), _;
4139
4132
  if (v && d) {
4140
4133
  if (u.get(a) === u.get(r))
@@ -4143,70 +4136,70 @@ function Rt(a, r, i, u) {
4143
4136
  _ = {};
4144
4137
  return v || u.set(a, _), d || u.set(r, _), Rp(a, r, l, u);
4145
4138
  }
4146
- function xl(a) {
4139
+ function kl(a) {
4147
4140
  return !a || typeof a != "object" || typeof a.length != "number" || typeof a.copy != "function" || typeof a.slice != "function" || a.length > 0 && typeof a[0] != "number" ? !1 : !!(a.constructor && a.constructor.isBuffer && a.constructor.isBuffer(a));
4148
4141
  }
4149
4142
  function Cp(a, r, i, u) {
4150
- if (bi(a) !== bi(r))
4143
+ if (wi(a) !== wi(r))
4151
4144
  return !1;
4152
4145
  for (var l = ar(a), f = ar(r), g, v, d; (g = l.next()) && !g.done; )
4153
4146
  if (g.value && typeof g.value == "object")
4154
- d || (d = new Bi()), qi(d, g.value);
4155
- else if (!zi(r, g.value)) {
4147
+ d || (d = new Gi()), zi(d, g.value);
4148
+ else if (!Ui(r, g.value)) {
4156
4149
  if (i.strict || !Tp(a, r, g.value))
4157
4150
  return !1;
4158
- d || (d = new Bi()), qi(d, g.value);
4151
+ d || (d = new Gi()), zi(d, g.value);
4159
4152
  }
4160
4153
  if (d) {
4161
4154
  for (; (v = f.next()) && !v.done; )
4162
4155
  if (v.value && typeof v.value == "object") {
4163
- if (!El(d, v.value, i.strict, u))
4156
+ if (!_l(d, v.value, i.strict, u))
4164
4157
  return !1;
4165
- } else if (!i.strict && !zi(a, v.value) && !El(d, v.value, i.strict, u))
4158
+ } else if (!i.strict && !Ui(a, v.value) && !_l(d, v.value, i.strict, u))
4166
4159
  return !1;
4167
- return bi(d) === 0;
4160
+ return wi(d) === 0;
4168
4161
  }
4169
4162
  return !0;
4170
4163
  }
4171
4164
  function Op(a, r, i, u) {
4172
- if (_l(a) !== _l(r))
4165
+ if (pl(a) !== pl(r))
4173
4166
  return !1;
4174
4167
  for (var l = ar(a), f = ar(r), g, v, d, _, x, p; (g = l.next()) && !g.done; )
4175
4168
  if (_ = g.value[0], x = g.value[1], _ && typeof _ == "object")
4176
- d || (d = new Bi()), qi(d, _);
4177
- else if (p = Gi(r, _), typeof p > "u" && !pa(r, _) || !Rt(x, p, i, u)) {
4169
+ d || (d = new Gi()), zi(d, _);
4170
+ else if (p = qi(r, _), typeof p > "u" && !pa(r, _) || !Rt(x, p, i, u)) {
4178
4171
  if (i.strict || !Lp(a, r, _, x, i, u))
4179
4172
  return !1;
4180
- d || (d = new Bi()), qi(d, _);
4173
+ d || (d = new Gi()), zi(d, _);
4181
4174
  }
4182
4175
  if (d) {
4183
4176
  for (; (v = f.next()) && !v.done; )
4184
4177
  if (_ = v.value[0], p = v.value[1], _ && typeof _ == "object") {
4185
- if (!kl(d, a, _, p, i, u))
4178
+ if (!El(d, a, _, p, i, u))
4186
4179
  return !1;
4187
- } else if (!i.strict && (!a.has(_) || !Rt(Gi(a, _), p, i, u)) && !kl(d, a, _, p, af({}, i, { strict: !1 }), u))
4180
+ } else if (!i.strict && (!a.has(_) || !Rt(qi(a, _), p, i, u)) && !El(d, a, _, p, sf({}, i, { strict: !1 }), u))
4188
4181
  return !1;
4189
- return bi(d) === 0;
4182
+ return wi(d) === 0;
4190
4183
  }
4191
4184
  return !0;
4192
4185
  }
4193
4186
  function Rp(a, r, i, u) {
4194
4187
  var l, f;
4195
- if (typeof a != typeof r || a == null || r == null || pl(a) !== pl(r) || sl(a) !== sl(r))
4188
+ if (typeof a != typeof r || a == null || r == null || dl(a) !== dl(r) || il(a) !== il(r))
4196
4189
  return !1;
4197
- var g = al(a), v = al(r);
4190
+ var g = sl(a), v = sl(r);
4198
4191
  if (g !== v)
4199
4192
  return !1;
4200
4193
  var d = a instanceof Error, _ = r instanceof Error;
4201
4194
  if (d !== _ || (d || _) && (a.name !== r.name || a.message !== r.message))
4202
4195
  return !1;
4203
- var x = ll(a), p = ll(r);
4204
- if (x !== p || (x || p) && (a.source !== r.source || rl(a) !== rl(r)))
4196
+ var x = ul(a), p = ul(r);
4197
+ if (x !== p || (x || p) && (a.source !== r.source || nl(a) !== nl(r)))
4205
4198
  return !1;
4206
- var S = ul(a), k = ul(r);
4207
- if (S !== k || (S || k) && dl(a) !== dl(r) || i.strict && Xs && Xs(a) !== Xs(r))
4199
+ var S = ol(a), k = ol(r);
4200
+ if (S !== k || (S || k) && ml(a) !== ml(r) || i.strict && Xs && Xs(a) !== Xs(r))
4208
4201
  return !1;
4209
- var I = yl(a), C = yl(r);
4202
+ var I = gl(a), C = gl(r);
4210
4203
  if (I !== C)
4211
4204
  return !1;
4212
4205
  if (I || C) {
@@ -4217,7 +4210,7 @@ function Rp(a, r, i, u) {
4217
4210
  return !1;
4218
4211
  return !0;
4219
4212
  }
4220
- var L = xl(a), M = xl(r);
4213
+ var L = kl(a), M = kl(r);
4221
4214
  if (L !== M)
4222
4215
  return !1;
4223
4216
  if (L || M) {
@@ -4228,19 +4221,19 @@ function Rp(a, r, i, u) {
4228
4221
  return !1;
4229
4222
  return !0;
4230
4223
  }
4231
- var P = ol(a), R = ol(r);
4224
+ var P = al(a), R = al(r);
4232
4225
  if (P !== R)
4233
4226
  return !1;
4234
4227
  if (P || R)
4235
- return vl(a) !== vl(r) ? !1 : typeof Uint8Array == "function" && Rt(new Uint8Array(a), new Uint8Array(r), i, u);
4236
- var D = cl(a), O = cl(r);
4228
+ return yl(a) !== yl(r) ? !1 : typeof Uint8Array == "function" && Rt(new Uint8Array(a), new Uint8Array(r), i, u);
4229
+ var D = ll(a), O = ll(r);
4237
4230
  if (D !== O)
4238
4231
  return !1;
4239
4232
  if (D || O)
4240
- return ml(a) !== ml(r) ? !1 : typeof Uint8Array == "function" && Rt(new Uint8Array(a), new Uint8Array(r), i, u);
4233
+ return vl(a) !== vl(r) ? !1 : typeof Uint8Array == "function" && Rt(new Uint8Array(a), new Uint8Array(r), i, u);
4241
4234
  if (typeof a != typeof r)
4242
4235
  return !1;
4243
- var z = fl(a), q = fl(r);
4236
+ var z = cl(a), q = cl(r);
4244
4237
  if (z.length !== q.length)
4245
4238
  return !1;
4246
4239
  for (z.sort(), q.sort(), l = z.length - 1; l >= 0; l--)
@@ -4249,13 +4242,13 @@ function Rp(a, r, i, u) {
4249
4242
  for (l = z.length - 1; l >= 0; l--)
4250
4243
  if (f = z[l], !Rt(a[f], r[f], i, u))
4251
4244
  return !1;
4252
- var U = gl(a), A = gl(r);
4245
+ var U = hl(a), A = hl(r);
4253
4246
  return U !== A ? !1 : U === "Set" || A === "Set" ? Cp(a, r, i, u) : U === "Map" ? Op(a, r, i, u) : !0;
4254
4247
  }
4255
4248
  var Mp = function(r, i, u) {
4256
4249
  return Rt(r, i, u, Np());
4257
4250
  };
4258
- const Pp = /* @__PURE__ */ uc(Mp);
4251
+ const Pp = /* @__PURE__ */ oc(Mp);
4259
4252
  var Ap = Object.defineProperty, Ee = (a, r) => Ap(a, "name", { value: r, configurable: !0 }), Dp = class {
4260
4253
  constructor(r) {
4261
4254
  this.direction = !1, this.compareProperties = !0;
@@ -4357,7 +4350,7 @@ function _a(a) {
4357
4350
  }));
4358
4351
  }
4359
4352
  Ee(_a, "explode");
4360
- var it = 63710088e-1, lf = {
4353
+ var it = 63710088e-1, uf = {
4361
4354
  centimeters: it * 100,
4362
4355
  centimetres: it * 100,
4363
4356
  degrees: 360 / (2 * Math.PI),
@@ -4373,7 +4366,7 @@ var it = 63710088e-1, lf = {
4373
4366
  nauticalmiles: it / 1852,
4374
4367
  radians: 1,
4375
4368
  yards: it * 1.0936
4376
- }, Sl = {
4369
+ }, xl = {
4377
4370
  acres: 247105e-9,
4378
4371
  centimeters: 1e4,
4379
4372
  centimetres: 1e4,
@@ -4404,11 +4397,11 @@ function Fp(a, r, i = {}) {
4404
4397
  case "Polygon":
4405
4398
  return hr(r).geometry;
4406
4399
  case "MultiPoint":
4407
- return ff(r).geometry;
4408
- case "MultiLineString":
4409
4400
  return cf(r).geometry;
4401
+ case "MultiLineString":
4402
+ return lf(r).geometry;
4410
4403
  case "MultiPolygon":
4411
- return es(r).geometry;
4404
+ return ts(r).geometry;
4412
4405
  default:
4413
4406
  throw new Error(a + " is invalid");
4414
4407
  }
@@ -4421,7 +4414,7 @@ function Bt(a, r, i = {}) {
4421
4414
  throw new Error("coordinates must be an Array");
4422
4415
  if (a.length < 2)
4423
4416
  throw new Error("coordinates must be at least 2 numbers long");
4424
- if (!Ui(a[0]) || !Ui(a[1]))
4417
+ if (!Yi(a[0]) || !Yi(a[1]))
4425
4418
  throw new Error("coordinates must contain numbers");
4426
4419
  return St({
4427
4420
  type: "Point",
@@ -4482,27 +4475,27 @@ function qt(a, r = {}) {
4482
4475
  return r.id && (i.id = r.id), r.bbox && (i.bbox = r.bbox), i.features = a, i;
4483
4476
  }
4484
4477
  Ee(qt, "featureCollection");
4485
- function cf(a, r, i = {}) {
4478
+ function lf(a, r, i = {}) {
4486
4479
  return St({
4487
4480
  type: "MultiLineString",
4488
4481
  coordinates: a
4489
4482
  }, r, i);
4490
4483
  }
4491
- Ee(cf, "multiLineString");
4492
- function ff(a, r, i = {}) {
4484
+ Ee(lf, "multiLineString");
4485
+ function cf(a, r, i = {}) {
4493
4486
  return St({
4494
4487
  type: "MultiPoint",
4495
4488
  coordinates: a
4496
4489
  }, r, i);
4497
4490
  }
4498
- Ee(ff, "multiPoint");
4499
- function es(a, r, i = {}) {
4491
+ Ee(cf, "multiPoint");
4492
+ function ts(a, r, i = {}) {
4500
4493
  return St({
4501
4494
  type: "MultiPolygon",
4502
4495
  coordinates: a
4503
4496
  }, r, i);
4504
4497
  }
4505
- Ee(es, "multiPolygon");
4498
+ Ee(ts, "multiPolygon");
4506
4499
  function zp(a, r, i = {}) {
4507
4500
  return St({
4508
4501
  type: "GeometryCollection",
@@ -4518,21 +4511,21 @@ function Up(a, r = 0) {
4518
4511
  }
4519
4512
  Ee(Up, "round");
4520
4513
  function Va(a, r = "kilometers") {
4521
- const i = lf[r];
4514
+ const i = uf[r];
4522
4515
  if (!i)
4523
4516
  throw new Error(r + " units is invalid");
4524
4517
  return a * i;
4525
4518
  }
4526
4519
  Ee(Va, "radiansToLength");
4527
- function ts(a, r = "kilometers") {
4528
- const i = lf[r];
4520
+ function ns(a, r = "kilometers") {
4521
+ const i = uf[r];
4529
4522
  if (!i)
4530
4523
  throw new Error(r + " units is invalid");
4531
4524
  return a / i;
4532
4525
  }
4533
- Ee(ts, "lengthToRadians");
4526
+ Ee(ns, "lengthToRadians");
4534
4527
  function Yp(a, r) {
4535
- return hf(ts(a, r));
4528
+ return ff(ns(a, r));
4536
4529
  }
4537
4530
  Ee(Yp, "lengthToDegrees");
4538
4531
  function Wp(a) {
@@ -4540,10 +4533,10 @@ function Wp(a) {
4540
4533
  return r < 0 && (r += 360), r;
4541
4534
  }
4542
4535
  Ee(Wp, "bearingToAzimuth");
4543
- function hf(a) {
4536
+ function ff(a) {
4544
4537
  return a % (2 * Math.PI) * 180 / Math.PI;
4545
4538
  }
4546
- Ee(hf, "radiansToDegrees");
4539
+ Ee(ff, "radiansToDegrees");
4547
4540
  function Xp(a) {
4548
4541
  return a % 360 * Math.PI / 180;
4549
4542
  }
@@ -4551,25 +4544,25 @@ Ee(Xp, "degreesToRadians");
4551
4544
  function jp(a, r = "kilometers", i = "kilometers") {
4552
4545
  if (!(a >= 0))
4553
4546
  throw new Error("length must be a positive number");
4554
- return Va(ts(a, r), i);
4547
+ return Va(ns(a, r), i);
4555
4548
  }
4556
4549
  Ee(jp, "convertLength");
4557
4550
  function Vp(a, r = "meters", i = "kilometers") {
4558
4551
  if (!(a >= 0))
4559
4552
  throw new Error("area must be a positive number");
4560
- const u = Sl[r];
4553
+ const u = xl[r];
4561
4554
  if (!u)
4562
4555
  throw new Error("invalid original units");
4563
- const l = Sl[i];
4556
+ const l = xl[i];
4564
4557
  if (!l)
4565
4558
  throw new Error("invalid final units");
4566
4559
  return a / u * l;
4567
4560
  }
4568
4561
  Ee(Vp, "convertArea");
4569
- function Ui(a) {
4562
+ function Yi(a) {
4570
4563
  return !isNaN(a) && a !== null && !Array.isArray(a);
4571
4564
  }
4572
- Ee(Ui, "isNumber");
4565
+ Ee(Yi, "isNumber");
4573
4566
  function Ha(a) {
4574
4567
  return a !== null && typeof a == "object" && !Array.isArray(a);
4575
4568
  }
@@ -4582,7 +4575,7 @@ function Hp(a) {
4582
4575
  if (a.length !== 4 && a.length !== 6)
4583
4576
  throw new Error("bbox must be an Array of 4 or 6 numbers");
4584
4577
  a.forEach((r) => {
4585
- if (!Ui(r))
4578
+ if (!Yi(r))
4586
4579
  throw new Error("bbox must only contain numbers");
4587
4580
  });
4588
4581
  }
@@ -4727,7 +4720,7 @@ function js(a, r, i, u) {
4727
4720
  var f = u(a, i.key);
4728
4721
  return f < 0 ? (l.left = i.left, l.right = i, i.left = null) : f >= 0 && (l.right = i.right, l.left = i, i.right = null), l;
4729
4722
  }
4730
- function Il(a, r, i) {
4723
+ function Sl(a, r, i) {
4731
4724
  var u = null, l = null;
4732
4725
  if (r) {
4733
4726
  r = an(a, r, i);
@@ -4913,10 +4906,10 @@ var Za = (
4913
4906
  return i.push(u);
4914
4907
  }, r), i.join("");
4915
4908
  }, a.prototype.update = function(r, i, u) {
4916
- var l = this._comparator, f = Il(r, this._root, l), g = f.left, v = f.right;
4909
+ var l = this._comparator, f = Sl(r, this._root, l), g = f.left, v = f.right;
4917
4910
  l(r, i) < 0 ? v = js(i, u, v, l) : g = js(i, u, g, l), this._root = Jp(g, v, l);
4918
4911
  }, a.prototype.split = function(r) {
4919
- return Il(r, this._root, this._comparator);
4912
+ return Sl(r, this._root, this._comparator);
4920
4913
  }, a.prototype[Symbol.iterator] = function() {
4921
4914
  var r, i, u;
4922
4915
  return Qp(this, function(l) {
@@ -5014,7 +5007,7 @@ function r0(a, r) {
5014
5007
  function Hr(a) {
5015
5008
  return new Float64Array(a);
5016
5009
  }
5017
- const i0 = (3 + 16 * Kt) * Kt, s0 = (2 + 12 * Kt) * Kt, a0 = (9 + 64 * Kt) * Kt * Kt, Jn = Hr(4), bl = Hr(8), wl = Hr(12), Nl = Hr(16), $e = Hr(4);
5010
+ const i0 = (3 + 16 * Kt) * Kt, s0 = (2 + 12 * Kt) * Kt, a0 = (9 + 64 * Kt) * Kt * Kt, Jn = Hr(4), Il = Hr(8), bl = Hr(12), wl = Hr(16), $e = Hr(4);
5018
5011
  function o0(a, r, i, u, l, f, g) {
5019
5012
  let v, d, _, x, p, S, k, I, C, L, M, P, R, D, O, z, q, U;
5020
5013
  const A = a - l, H = i - l, ee = r - f, Z = u - f;
@@ -5023,12 +5016,12 @@ function o0(a, r, i, u, l, f, g) {
5023
5016
  if (ae >= F || -ae >= F || (p = a - A, v = a - (A + p) + (p - l), p = i - H, _ = i - (H + p) + (p - l), p = r - ee, d = r - (ee + p) + (p - f), p = u - Z, x = u - (Z + p) + (p - f), v === 0 && d === 0 && _ === 0 && x === 0) || (F = a0 * g + n0 * Math.abs(ae), ae += A * x + Z * v - (ee * _ + H * d), ae >= F || -ae >= F))
5024
5017
  return ae;
5025
5018
  D = v * Z, S = Ve * v, k = S - (S - v), I = v - k, S = Ve * Z, C = S - (S - Z), L = Z - C, O = I * L - (D - k * C - I * C - k * L), z = d * H, S = Ve * d, k = S - (S - d), I = d - k, S = Ve * H, C = S - (S - H), L = H - C, q = I * L - (z - k * C - I * C - k * L), M = O - q, p = O - M, $e[0] = O - (M + p) + (p - q), P = D + M, p = P - D, R = D - (P - p) + (M - p), M = R - z, p = R - M, $e[1] = R - (M + p) + (p - z), U = P + M, p = U - P, $e[2] = P - (U - p) + (M - p), $e[3] = U;
5026
- const Q = Vs(4, Jn, 4, $e, bl);
5019
+ const Q = Vs(4, Jn, 4, $e, Il);
5027
5020
  D = A * x, S = Ve * A, k = S - (S - A), I = A - k, S = Ve * x, C = S - (S - x), L = x - C, O = I * L - (D - k * C - I * C - k * L), z = ee * _, S = Ve * ee, k = S - (S - ee), I = ee - k, S = Ve * _, C = S - (S - _), L = _ - C, q = I * L - (z - k * C - I * C - k * L), M = O - q, p = O - M, $e[0] = O - (M + p) + (p - q), P = D + M, p = P - D, R = D - (P - p) + (M - p), M = R - z, p = R - M, $e[1] = R - (M + p) + (p - z), U = P + M, p = U - P, $e[2] = P - (U - p) + (M - p), $e[3] = U;
5028
- const ie = Vs(Q, bl, 4, $e, wl);
5021
+ const ie = Vs(Q, Il, 4, $e, bl);
5029
5022
  D = v * x, S = Ve * v, k = S - (S - v), I = v - k, S = Ve * x, C = S - (S - x), L = x - C, O = I * L - (D - k * C - I * C - k * L), z = d * _, S = Ve * d, k = S - (S - d), I = d - k, S = Ve * _, C = S - (S - _), L = _ - C, q = I * L - (z - k * C - I * C - k * L), M = O - q, p = O - M, $e[0] = O - (M + p) + (p - q), P = D + M, p = P - D, R = D - (P - p) + (M - p), M = R - z, p = R - M, $e[1] = R - (M + p) + (p - z), U = P + M, p = U - P, $e[2] = P - (U - p) + (M - p), $e[3] = U;
5030
- const me = Vs(ie, wl, 4, $e, Nl);
5031
- return Nl[me - 1];
5023
+ const me = Vs(ie, bl, 4, $e, wl);
5024
+ return wl[me - 1];
5032
5025
  }
5033
5026
  function u0(a, r, i, u, l, f) {
5034
5027
  const g = (r - f) * (i - l), v = (a - l) * (u - f), d = g - v, _ = Math.abs(g + v);
@@ -5051,7 +5044,7 @@ const Mr = (a, r) => a.ll.x <= r.x && r.x <= a.ur.x && a.ll.y <= r.y && r.y <= a
5051
5044
  };
5052
5045
  let un = Number.EPSILON;
5053
5046
  un === void 0 && (un = Math.pow(2, -52));
5054
- const l0 = un * un, Ll = (a, r) => {
5047
+ const l0 = un * un, Nl = (a, r) => {
5055
5048
  if (-un < a && a < un && -un < r && r < un)
5056
5049
  return 0;
5057
5050
  const i = a - r;
@@ -5062,7 +5055,7 @@ class c0 {
5062
5055
  this.reset();
5063
5056
  }
5064
5057
  reset() {
5065
- this.xRounder = new Tl(), this.yRounder = new Tl();
5058
+ this.xRounder = new Ll(), this.yRounder = new Ll();
5066
5059
  }
5067
5060
  round(r, i) {
5068
5061
  return {
@@ -5071,7 +5064,7 @@ class c0 {
5071
5064
  };
5072
5065
  }
5073
5066
  }
5074
- class Tl {
5067
+ class Ll {
5075
5068
  constructor() {
5076
5069
  this.tree = new Za(), this.round(0);
5077
5070
  }
@@ -5084,16 +5077,16 @@ class Tl {
5084
5077
  // angle for t-intersections).
5085
5078
  round(r) {
5086
5079
  const i = this.tree.add(r), u = this.tree.prev(i);
5087
- if (u !== null && Ll(i.key, u.key) === 0)
5080
+ if (u !== null && Nl(i.key, u.key) === 0)
5088
5081
  return this.tree.remove(r), u.key;
5089
5082
  const l = this.tree.next(i);
5090
- return l !== null && Ll(i.key, l.key) === 0 ? (this.tree.remove(r), l.key) : r;
5083
+ return l !== null && Nl(i.key, l.key) === 0 ? (this.tree.remove(r), l.key) : r;
5091
5084
  }
5092
5085
  }
5093
- const Xr = new c0(), wi = (a, r) => a.x * r.y - a.y * r.x, gf = (a, r) => a.x * r.x + a.y * r.y, Cl = (a, r, i) => {
5086
+ const Xr = new c0(), Ni = (a, r) => a.x * r.y - a.y * r.x, hf = (a, r) => a.x * r.x + a.y * r.y, Tl = (a, r, i) => {
5094
5087
  const u = u0(a.x, a.y, r.x, r.y, i.x, i.y);
5095
5088
  return u > 0 ? -1 : u < 0 ? 1 : 0;
5096
- }, Yi = (a) => Math.sqrt(gf(a, a)), f0 = (a, r, i) => {
5089
+ }, Wi = (a) => Math.sqrt(hf(a, a)), f0 = (a, r, i) => {
5097
5090
  const u = {
5098
5091
  x: r.x - a.x,
5099
5092
  y: r.y - a.y
@@ -5101,7 +5094,7 @@ const Xr = new c0(), wi = (a, r) => a.x * r.y - a.y * r.x, gf = (a, r) => a.x *
5101
5094
  x: i.x - a.x,
5102
5095
  y: i.y - a.y
5103
5096
  };
5104
- return wi(l, u) / Yi(l) / Yi(u);
5097
+ return Ni(l, u) / Wi(l) / Wi(u);
5105
5098
  }, h0 = (a, r, i) => {
5106
5099
  const u = {
5107
5100
  x: r.x - a.x,
@@ -5110,29 +5103,29 @@ const Xr = new c0(), wi = (a, r) => a.x * r.y - a.y * r.x, gf = (a, r) => a.x *
5110
5103
  x: i.x - a.x,
5111
5104
  y: i.y - a.y
5112
5105
  };
5113
- return gf(l, u) / Yi(l) / Yi(u);
5114
- }, Ol = (a, r, i) => r.y === 0 ? null : {
5106
+ return hf(l, u) / Wi(l) / Wi(u);
5107
+ }, Cl = (a, r, i) => r.y === 0 ? null : {
5115
5108
  x: a.x + r.x / r.y * (i - a.y),
5116
5109
  y: i
5117
- }, Rl = (a, r, i) => r.x === 0 ? null : {
5110
+ }, Ol = (a, r, i) => r.x === 0 ? null : {
5118
5111
  x: i,
5119
5112
  y: a.y + r.y / r.x * (i - a.x)
5120
5113
  }, g0 = (a, r, i, u) => {
5121
5114
  if (r.x === 0)
5122
- return Rl(i, u, a.x);
5115
+ return Ol(i, u, a.x);
5123
5116
  if (u.x === 0)
5124
- return Rl(a, r, i.x);
5117
+ return Ol(a, r, i.x);
5125
5118
  if (r.y === 0)
5126
- return Ol(i, u, a.y);
5119
+ return Cl(i, u, a.y);
5127
5120
  if (u.y === 0)
5128
- return Ol(a, r, i.y);
5129
- const l = wi(r, u);
5121
+ return Cl(a, r, i.y);
5122
+ const l = Ni(r, u);
5130
5123
  if (l == 0)
5131
5124
  return null;
5132
5125
  const f = {
5133
5126
  x: i.x - a.x,
5134
5127
  y: i.y - a.y
5135
- }, g = wi(f, r) / l, v = wi(f, u) / l, d = a.x + v * r.x, _ = i.x + g * u.x, x = a.y + v * r.y, p = i.y + g * u.y, S = (d + _) / 2, k = (x + p) / 2;
5128
+ }, g = Ni(f, r) / l, v = Ni(f, u) / l, d = a.x + v * r.x, _ = i.x + g * u.x, x = a.y + v * r.y, p = i.y + g * u.y, S = (d + _) / 2, k = (x + p) / 2;
5136
5129
  return {
5137
5130
  x: S,
5138
5131
  y: k
@@ -5526,7 +5519,7 @@ class ln {
5526
5519
  return this._isInResult;
5527
5520
  }
5528
5521
  }
5529
- class Ml {
5522
+ class Rl {
5530
5523
  constructor(r, i, u) {
5531
5524
  if (!Array.isArray(r) || r.length === 0)
5532
5525
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
@@ -5565,7 +5558,7 @@ class v0 {
5565
5558
  constructor(r, i) {
5566
5559
  if (!Array.isArray(r))
5567
5560
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
5568
- this.exteriorRing = new Ml(r[0], this, !0), this.bbox = {
5561
+ this.exteriorRing = new Rl(r[0], this, !0), this.bbox = {
5569
5562
  ll: {
5570
5563
  x: this.exteriorRing.bbox.ll.x,
5571
5564
  y: this.exteriorRing.bbox.ll.y
@@ -5576,7 +5569,7 @@ class v0 {
5576
5569
  }
5577
5570
  }, this.interiorRings = [];
5578
5571
  for (let u = 1, l = r.length; u < l; u++) {
5579
- const f = new Ml(r[u], this, !1);
5572
+ const f = new Rl(r[u], this, !1);
5580
5573
  f.bbox.ll.x < this.bbox.ll.x && (this.bbox.ll.x = f.bbox.ll.x), f.bbox.ll.y < this.bbox.ll.y && (this.bbox.ll.y = f.bbox.ll.y), f.bbox.ur.x > this.bbox.ur.x && (this.bbox.ur.x = f.bbox.ur.x), f.bbox.ur.y > this.bbox.ur.y && (this.bbox.ur.y = f.bbox.ur.y), this.interiorRings.push(f);
5581
5574
  }
5582
5575
  this.multiPoly = i;
@@ -5591,7 +5584,7 @@ class v0 {
5591
5584
  return r;
5592
5585
  }
5593
5586
  }
5594
- class Pl {
5587
+ class Ml {
5595
5588
  constructor(r, i) {
5596
5589
  if (!Array.isArray(r))
5597
5590
  throw new Error("Input geometry is not a valid Polygon or MultiPolygon");
@@ -5625,7 +5618,7 @@ class Pl {
5625
5618
  return r;
5626
5619
  }
5627
5620
  }
5628
- class Wi {
5621
+ class Xi {
5629
5622
  /* Given the segments from the sweep line pass, compute & return a series
5630
5623
  * of closed rings from all the segments marked to be part of the result */
5631
5624
  static factory(r) {
@@ -5655,7 +5648,7 @@ class Wi {
5655
5648
  }
5656
5649
  if (k !== null) {
5657
5650
  const C = p.splice(k)[0], L = _.splice(C.index);
5658
- L.unshift(L[0].otherSE), i.push(new Wi(L.reverse()));
5651
+ L.unshift(L[0].otherSE), i.push(new Xi(L.reverse()));
5659
5652
  continue;
5660
5653
  }
5661
5654
  p.push({
@@ -5666,7 +5659,7 @@ class Wi {
5666
5659
  d = S.sort(I)[0].otherSE;
5667
5660
  break;
5668
5661
  }
5669
- i.push(new Wi(_));
5662
+ i.push(new Xi(_));
5670
5663
  }
5671
5664
  return i;
5672
5665
  }
@@ -5681,12 +5674,12 @@ class Wi {
5681
5674
  const i = [r];
5682
5675
  for (let _ = 1, x = this.events.length - 1; _ < x; _++) {
5683
5676
  const p = this.events[_].point, S = this.events[_ + 1].point;
5684
- Cl(p, r, S) !== 0 && (i.push(p), r = p);
5677
+ Tl(p, r, S) !== 0 && (i.push(p), r = p);
5685
5678
  }
5686
5679
  if (i.length === 1)
5687
5680
  return null;
5688
5681
  const u = i[0], l = i[1];
5689
- Cl(u, r, l) === 0 && i.shift(), i.push(i[0]);
5682
+ Tl(u, r, l) === 0 && i.shift(), i.push(i[0]);
5690
5683
  const f = this.isExteriorRing() ? 1 : -1, g = this.isExteriorRing() ? 0 : i.length - 1, v = this.isExteriorRing() ? i.length : -1, d = [];
5691
5684
  for (let _ = g; _ != v; _ += f)
5692
5685
  d.push([i[_].x, i[_].y]);
@@ -5721,7 +5714,7 @@ class Wi {
5721
5714
  }
5722
5715
  }
5723
5716
  }
5724
- class Al {
5717
+ class Pl {
5725
5718
  constructor(r) {
5726
5719
  this.exteriorRing = r, r.poly = this, this.interiorRings = [];
5727
5720
  }
@@ -5757,10 +5750,10 @@ class m0 {
5757
5750
  const f = r[u];
5758
5751
  if (!f.poly)
5759
5752
  if (f.isExteriorRing())
5760
- i.push(new Al(f));
5753
+ i.push(new Pl(f));
5761
5754
  else {
5762
5755
  const g = f.enclosingRing();
5763
- g.poly || i.push(new Al(g)), g.poly.addInterior(f);
5756
+ g.poly || i.push(new Pl(g)), g.poly.addInterior(f);
5764
5757
  }
5765
5758
  }
5766
5759
  return i;
@@ -5840,13 +5833,13 @@ class d0 {
5840
5833
  return l.push(u), r.consumedBy === void 0 && this.tree.add(r), l;
5841
5834
  }
5842
5835
  }
5843
- const Dl = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, p0 = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6;
5836
+ const Al = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_QUEUE_SIZE || 1e6, p0 = typeof process < "u" && process.env.POLYGON_CLIPPING_MAX_SWEEPLINE_SEGMENTS || 1e6;
5844
5837
  class _0 {
5845
5838
  run(r, i, u) {
5846
5839
  Ct.type = r, Xr.reset();
5847
- const l = [new Pl(i, !0)];
5840
+ const l = [new Ml(i, !0)];
5848
5841
  for (let p = 0, S = u.length; p < S; p++)
5849
- l.push(new Pl(u[p], !1));
5842
+ l.push(new Ml(u[p], !1));
5850
5843
  if (Ct.numMultiPolys = l.length, Ct.type === "difference") {
5851
5844
  const p = l[0];
5852
5845
  let S = 1;
@@ -5864,7 +5857,7 @@ class _0 {
5864
5857
  for (let p = 0, S = l.length; p < S; p++) {
5865
5858
  const k = l[p].getSweepEvents();
5866
5859
  for (let I = 0, C = k.length; I < C; I++)
5867
- if (f.insert(k[I]), f.size > Dl)
5860
+ if (f.insert(k[I]), f.size > Al)
5868
5861
  throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big).");
5869
5862
  }
5870
5863
  const g = new d0(f);
@@ -5875,7 +5868,7 @@ class _0 {
5875
5868
  const k = p.segment;
5876
5869
  throw new Error(`Unable to pop() ${p.isLeft ? "left" : "right"} SweepEvent [${p.point.x}, ${p.point.y}] from segment #${k.id} [${k.leftSE.point.x}, ${k.leftSE.point.y}] -> [${k.rightSE.point.x}, ${k.rightSE.point.y}] from queue.`);
5877
5870
  }
5878
- if (f.size > Dl)
5871
+ if (f.size > Al)
5879
5872
  throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big).");
5880
5873
  if (g.segments.length > p0)
5881
5874
  throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments).");
@@ -5887,7 +5880,7 @@ class _0 {
5887
5880
  v = f.size, d = f.pop();
5888
5881
  }
5889
5882
  Xr.reset();
5890
- const _ = Wi.factory(g.segments);
5883
+ const _ = Xi.factory(g.segments);
5891
5884
  return new m0(_).getGeom();
5892
5885
  }
5893
5886
  }
@@ -5908,7 +5901,7 @@ const Ct = new _0(), E0 = function(a) {
5908
5901
  i[u - 1] = arguments[u];
5909
5902
  return Ct.run("difference", a, i);
5910
5903
  };
5911
- var yf = {
5904
+ var gf = {
5912
5905
  union: E0,
5913
5906
  intersection: k0,
5914
5907
  xor: x0,
@@ -6020,7 +6013,7 @@ function b0(a, r, i, u) {
6020
6013
  ), l;
6021
6014
  }
6022
6015
  Xe(b0, "coordReduce");
6023
- function vf(a, r) {
6016
+ function yf(a, r) {
6024
6017
  var i;
6025
6018
  switch (a.type) {
6026
6019
  case "FeatureCollection":
@@ -6032,25 +6025,25 @@ function vf(a, r) {
6032
6025
  break;
6033
6026
  }
6034
6027
  }
6035
- Xe(vf, "propEach");
6028
+ Xe(yf, "propEach");
6036
6029
  function w0(a, r, i) {
6037
6030
  var u = i;
6038
- return vf(a, function(l, f) {
6031
+ return yf(a, function(l, f) {
6039
6032
  f === 0 && i === void 0 ? u = l : u = r(u, l, f);
6040
6033
  }), u;
6041
6034
  }
6042
6035
  Xe(w0, "propReduce");
6043
- function Xi(a, r) {
6036
+ function ji(a, r) {
6044
6037
  if (a.type === "Feature")
6045
6038
  r(a, 0);
6046
6039
  else if (a.type === "FeatureCollection")
6047
6040
  for (var i = 0; i < a.features.length && r(a.features[i], i) !== !1; i++)
6048
6041
  ;
6049
6042
  }
6050
- Xe(Xi, "featureEach");
6043
+ Xe(ji, "featureEach");
6051
6044
  function N0(a, r, i) {
6052
6045
  var u = i;
6053
- return Xi(a, function(l, f) {
6046
+ return ji(a, function(l, f) {
6054
6047
  f === 0 && i === void 0 ? u = l : u = r(u, l, f);
6055
6048
  }), u;
6056
6049
  }
@@ -6131,7 +6124,7 @@ function T0(a, r, i) {
6131
6124
  ), u;
6132
6125
  }
6133
6126
  Xe(T0, "geomReduce");
6134
- function ns(a, r) {
6127
+ function rs(a, r) {
6135
6128
  An(a, function(i, u, l, f, g) {
6136
6129
  var v = i === null ? null : i.type;
6137
6130
  switch (v) {
@@ -6167,10 +6160,10 @@ function ns(a, r) {
6167
6160
  }
6168
6161
  });
6169
6162
  }
6170
- Xe(ns, "flattenEach");
6163
+ Xe(rs, "flattenEach");
6171
6164
  function C0(a, r, i) {
6172
6165
  var u = i;
6173
- return ns(
6166
+ return rs(
6174
6167
  a,
6175
6168
  function(l, f, g) {
6176
6169
  f === 0 && g === 0 && i === void 0 ? u = l : u = r(
@@ -6183,8 +6176,8 @@ function C0(a, r, i) {
6183
6176
  ), u;
6184
6177
  }
6185
6178
  Xe(C0, "flattenReduce");
6186
- function mf(a, r) {
6187
- ns(a, function(i, u, l) {
6179
+ function vf(a, r) {
6180
+ rs(a, function(i, u, l) {
6188
6181
  var f = 0;
6189
6182
  if (i.geometry) {
6190
6183
  var g = i.geometry.type;
@@ -6217,10 +6210,10 @@ function mf(a, r) {
6217
6210
  }
6218
6211
  });
6219
6212
  }
6220
- Xe(mf, "segmentEach");
6213
+ Xe(vf, "segmentEach");
6221
6214
  function O0(a, r, i) {
6222
6215
  var u = i, l = !1;
6223
- return mf(
6216
+ return vf(
6224
6217
  a,
6225
6218
  function(f, g, v, d, _) {
6226
6219
  l === !1 && i === void 0 ? u = f : u = r(
@@ -6235,10 +6228,10 @@ function O0(a, r, i) {
6235
6228
  ), u;
6236
6229
  }
6237
6230
  Xe(O0, "segmentReduce");
6238
- function df(a, r) {
6231
+ function mf(a, r) {
6239
6232
  if (!a)
6240
6233
  throw new Error("geojson is required");
6241
- ns(a, function(i, u, l) {
6234
+ rs(a, function(i, u, l) {
6242
6235
  if (i.geometry !== null) {
6243
6236
  var f = i.geometry.type, g = i.geometry.coordinates;
6244
6237
  switch (f) {
@@ -6260,10 +6253,10 @@ function df(a, r) {
6260
6253
  }
6261
6254
  });
6262
6255
  }
6263
- Xe(df, "lineEach");
6256
+ Xe(mf, "lineEach");
6264
6257
  function R0(a, r, i) {
6265
6258
  var u = i;
6266
- return df(
6259
+ return mf(
6267
6260
  a,
6268
6261
  function(l, f, g, v) {
6269
6262
  f === 0 && i === void 0 ? u = l : u = r(
@@ -6392,18 +6385,18 @@ function P0(a, r) {
6392
6385
  }
6393
6386
  Xe(P0, "findPoint");
6394
6387
  var A0 = Object.defineProperty, D0 = (a, r) => A0(a, "name", { value: r, configurable: !0 });
6395
- function pf(a, r = {}) {
6388
+ function df(a, r = {}) {
6396
6389
  const i = [];
6397
6390
  if (An(a, (l) => {
6398
6391
  i.push(l.coordinates);
6399
6392
  }), i.length < 2)
6400
6393
  throw new Error("Must have at least 2 geometries");
6401
- const u = yf.union(i[0], ...i.slice(1));
6402
- return u.length === 0 ? null : u.length === 1 ? hr(u[0], r.properties) : es(u, r.properties);
6394
+ const u = gf.union(i[0], ...i.slice(1));
6395
+ return u.length === 0 ? null : u.length === 1 ? hr(u[0], r.properties) : ts(u, r.properties);
6403
6396
  }
6404
- D0(pf, "union");
6405
- var F0 = pf, B0 = Object.defineProperty, G0 = (a, r) => B0(a, "name", { value: r, configurable: !0 });
6406
- function _f(a, r = {}) {
6397
+ D0(df, "union");
6398
+ var F0 = df, B0 = Object.defineProperty, G0 = (a, r) => B0(a, "name", { value: r, configurable: !0 });
6399
+ function pf(a, r = {}) {
6407
6400
  if (a.bbox != null && r.recompute !== !0)
6408
6401
  return a.bbox;
6409
6402
  const i = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
@@ -6411,18 +6404,18 @@ function _f(a, r = {}) {
6411
6404
  i[0] > u[0] && (i[0] = u[0]), i[1] > u[1] && (i[1] = u[1]), i[2] < u[0] && (i[2] = u[0]), i[3] < u[1] && (i[3] = u[1]);
6412
6405
  }), i;
6413
6406
  }
6414
- G0(_f, "bbox");
6407
+ G0(pf, "bbox");
6415
6408
  var q0 = Object.defineProperty, z0 = (a, r) => q0(a, "name", { value: r, configurable: !0 });
6416
- function Ef(a, r = {}) {
6417
- const i = _f(a), u = (i[0] + i[2]) / 2, l = (i[1] + i[3]) / 2;
6409
+ function _f(a, r = {}) {
6410
+ const i = pf(a), u = (i[0] + i[2]) / 2, l = (i[1] + i[3]) / 2;
6418
6411
  return Bt([u, l], r.properties, r);
6419
6412
  }
6420
- z0(Ef, "center");
6421
- var kf = { exports: {} };
6413
+ z0(_f, "center");
6414
+ var Ef = { exports: {} };
6422
6415
  (function(a, r) {
6423
6416
  (function(i, u) {
6424
6417
  a.exports = u();
6425
- })(Ki, function() {
6418
+ })(Ji, function() {
6426
6419
  function i(o, e) {
6427
6420
  if (!(o instanceof e))
6428
6421
  throw new TypeError("Cannot call a class as a function");
@@ -7935,7 +7928,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
7935
7928
  } }]), o;
7936
7929
  }();
7937
7930
  se.CLOCKWISE = -1, se.RIGHT = se.CLOCKWISE, se.COUNTERCLOCKWISE = 1, se.LEFT = se.COUNTERCLOCKWISE, se.COLLINEAR = 0, se.STRAIGHT = se.COLLINEAR;
7938
- var rs = function() {
7931
+ var is = function() {
7939
7932
  function o() {
7940
7933
  i(this, o), o.constructor_.apply(this, arguments);
7941
7934
  }
@@ -8023,7 +8016,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8023
8016
  var h = this.array[s];
8024
8017
  return this.array[s] = c, h;
8025
8018
  } }, { key: "iterator", value: function() {
8026
- return new is(this);
8019
+ return new ss(this);
8027
8020
  } }, { key: "get", value: function(s) {
8028
8021
  if (s < 0 || s >= this.size())
8029
8022
  throw new Mt();
@@ -8046,7 +8039,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8046
8039
  } }, { key: e, value: function() {
8047
8040
  return this.array.values();
8048
8041
  } }]), n;
8049
- }(nt, Symbol.iterator), is = function() {
8042
+ }(nt, Symbol.iterator), ss = function() {
8050
8043
  function o(e) {
8051
8044
  i(this, o), this.arrayList = e, this.position = 0;
8052
8045
  }
@@ -8061,7 +8054,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8061
8054
  } }, { key: "remove", value: function() {
8062
8055
  this.arrayList.remove(this.arrayList.get(this.position));
8063
8056
  } }]), o;
8064
- }(), ss = function() {
8057
+ }(), as = function() {
8065
8058
  function o() {
8066
8059
  i(this, o), o.constructor_.apply(this, arguments);
8067
8060
  }
@@ -8144,15 +8137,15 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8144
8137
  } }, { key: "interfaces_", get: function() {
8145
8138
  return [q];
8146
8139
  } }], [{ key: "constructor_", value: function() {
8147
- this._finder = null, this._dirEdgeList = new ne(), this._nodes = new ne(), this._rightMostCoord = null, this._env = null, this._finder = new rs();
8140
+ this._finder = null, this._dirEdgeList = new ne(), this._nodes = new ne(), this._rightMostCoord = null, this._env = null, this._finder = new is();
8148
8141
  } }]), o;
8149
8142
  }(), _r = function() {
8150
8143
  function o() {
8151
8144
  i(this, o);
8152
8145
  }
8153
8146
  return l(o, null, [{ key: "intersection", value: function(e, t, n, s) {
8154
- var c = e.x < t.x ? e.x : t.x, h = e.y < t.y ? e.y : t.y, y = e.x > t.x ? e.x : t.x, m = e.y > t.y ? e.y : t.y, E = n.x < s.x ? n.x : s.x, w = n.y < s.y ? n.y : s.y, N = n.x > s.x ? n.x : s.x, B = n.y > s.y ? n.y : s.y, j = ((c > E ? c : E) + (y < N ? y : N)) / 2, X = ((h > w ? h : w) + (m < B ? m : B)) / 2, $ = e.x - j, re = e.y - X, ce = t.x - j, _e = t.y - X, Pe = n.x - j, je = n.y - X, ct = s.x - j, Nt = s.y - X, Vt = re - _e, Nn = ce - $, wr = $ * _e - ce * re, Nr = je - Nt, Hn = ct - Pe, Po = Pe * Nt - ct * je, Ao = Vt * Hn - Nr * Nn, ks = (Nn * Po - Hn * wr) / Ao, xs = (Nr * wr - Vt * Po) / Ao;
8155
- return K.isNaN(ks) || K.isInfinite(ks) || K.isNaN(xs) || K.isInfinite(xs) ? null : new T(ks + j, xs + X);
8147
+ var c = e.x < t.x ? e.x : t.x, h = e.y < t.y ? e.y : t.y, y = e.x > t.x ? e.x : t.x, m = e.y > t.y ? e.y : t.y, E = n.x < s.x ? n.x : s.x, w = n.y < s.y ? n.y : s.y, N = n.x > s.x ? n.x : s.x, B = n.y > s.y ? n.y : s.y, j = ((c > E ? c : E) + (y < N ? y : N)) / 2, X = ((h > w ? h : w) + (m < B ? m : B)) / 2, $ = e.x - j, re = e.y - X, ce = t.x - j, _e = t.y - X, Pe = n.x - j, je = n.y - X, ct = s.x - j, Nt = s.y - X, Vt = re - _e, Nn = ce - $, wr = $ * _e - ce * re, Nr = je - Nt, Hn = ct - Pe, Po = Pe * Nt - ct * je, Ao = Vt * Hn - Nr * Nn, xs = (Nn * Po - Hn * wr) / Ao, Ss = (Nr * wr - Vt * Po) / Ao;
8148
+ return K.isNaN(xs) || K.isInfinite(xs) || K.isNaN(Ss) || K.isInfinite(Ss) ? null : new T(xs + j, Ss + X);
8156
8149
  } }]), o;
8157
8150
  }(), rt = function() {
8158
8151
  function o() {
@@ -8263,7 +8256,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8263
8256
  }
8264
8257
  return l(o, [{ key: "filter", value: function(e) {
8265
8258
  } }]), o;
8266
- }(), as = function() {
8259
+ }(), os = function() {
8267
8260
  function o() {
8268
8261
  i(this, o);
8269
8262
  }
@@ -8486,7 +8479,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8486
8479
  } }, { key: "getDimension", value: function() {
8487
8480
  return 1;
8488
8481
  } }, { key: "getLength", value: function() {
8489
- return as.ofLine(this._points);
8482
+ return os.ofLine(this._points);
8490
8483
  } }, { key: "getNumPoints", value: function() {
8491
8484
  return this._points.size();
8492
8485
  } }, { key: "compareToSameClass", value: function() {
@@ -8973,9 +8966,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
8973
8966
  } }, { key: "toArray", value: function() {
8974
8967
  return this.array.slice();
8975
8968
  } }, { key: "iterator", value: function() {
8976
- return new Ff(this.array);
8969
+ return new Df(this.array);
8977
8970
  } }]), t;
8978
- }(qn), Ff = function() {
8971
+ }(qn), Df = function() {
8979
8972
  function o(e) {
8980
8973
  i(this, o), this.array = e, this.position = 0;
8981
8974
  }
@@ -9113,7 +9106,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9113
9106
  }
9114
9107
  }
9115
9108
  } }]), t;
9116
- }(J), os = function(o) {
9109
+ }(J), us = function(o) {
9117
9110
  f(t, o);
9118
9111
  var e = k(t);
9119
9112
  function t() {
@@ -9302,7 +9295,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9302
9295
  } }]), t;
9303
9296
  }(T);
9304
9297
  In.X = 0, In.Y = 1, In.Z = -1, In.M = 2;
9305
- var us = function(o) {
9298
+ var ls = function(o) {
9306
9299
  f(t, o);
9307
9300
  var e = k(t);
9308
9301
  function t() {
@@ -9369,9 +9362,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9369
9362
  i(this, o);
9370
9363
  }
9371
9364
  return l(o, null, [{ key: "measures", value: function(e) {
9372
- return e instanceof Sn ? 0 : e instanceof In || e instanceof us ? 1 : 0;
9365
+ return e instanceof Sn ? 0 : e instanceof In || e instanceof ls ? 1 : 0;
9373
9366
  } }, { key: "dimension", value: function(e) {
9374
- return e instanceof Sn ? 2 : e instanceof In ? 3 : e instanceof us ? 4 : 3;
9367
+ return e instanceof Sn ? 2 : e instanceof In ? 3 : e instanceof ls ? 4 : 3;
9375
9368
  } }, { key: "create", value: function() {
9376
9369
  if (arguments.length === 1) {
9377
9370
  var e = arguments[0];
@@ -9379,7 +9372,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9379
9372
  }
9380
9373
  if (arguments.length === 2) {
9381
9374
  var t = arguments[0], n = arguments[1];
9382
- return t === 2 ? new Sn() : t === 3 && n === 0 ? new T() : t === 3 && n === 1 ? new In() : t === 4 && n === 1 ? new us() : new T();
9375
+ return t === 2 ? new Sn() : t === 3 && n === 0 ? new T() : t === 3 && n === 1 ? new In() : t === 4 && n === 1 ? new ls() : new T();
9383
9376
  }
9384
9377
  } }]), o;
9385
9378
  }(), kr = function(o) {
@@ -9646,7 +9639,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9646
9639
  c[h++] = e[y];
9647
9640
  return c;
9648
9641
  } }]), o;
9649
- }(), Bf = function() {
9642
+ }(), Ff = function() {
9650
9643
  function o() {
9651
9644
  i(this, o);
9652
9645
  }
@@ -9656,7 +9649,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9656
9649
  } }, { key: "interfaces_", get: function() {
9657
9650
  return [Fe];
9658
9651
  } }]), o;
9659
- }(), Gf = function() {
9652
+ }(), Bf = function() {
9660
9653
  function o() {
9661
9654
  i(this, o);
9662
9655
  }
@@ -9689,7 +9682,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9689
9682
  return [Fe];
9690
9683
  } }]), o;
9691
9684
  }();
9692
- qe.ForwardComparator = Bf, qe.BidirectionalComparator = Gf, qe.coordArrayType = new Array(0).fill(null);
9685
+ qe.ForwardComparator = Ff, qe.BidirectionalComparator = Bf, qe.coordArrayType = new Array(0).fill(null);
9693
9686
  var ei = function() {
9694
9687
  function o(e) {
9695
9688
  i(this, o), this.str = e;
@@ -9816,7 +9809,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9816
9809
  }
9817
9810
  }
9818
9811
  } }]), o;
9819
- }(), ls = function() {
9812
+ }(), cs = function() {
9820
9813
  function o() {
9821
9814
  i(this, o);
9822
9815
  }
@@ -9848,8 +9841,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9848
9841
  return o.instanceObject;
9849
9842
  } }]), o;
9850
9843
  }();
9851
- ls.instanceObject = new ls();
9852
- var cs = function(o) {
9844
+ cs.instanceObject = new cs();
9845
+ var fs = function(o) {
9853
9846
  f(t, o);
9854
9847
  var e = k(t);
9855
9848
  function t() {
@@ -9898,7 +9891,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9898
9891
  } }, { key: "values", value: function() {
9899
9892
  } }, { key: "entrySet", value: function() {
9900
9893
  } }]), o;
9901
- }(), qf = function(o) {
9894
+ }(), Gf = function(o) {
9902
9895
  f(t, o);
9903
9896
  var e = k(t);
9904
9897
  function t() {
@@ -9994,8 +9987,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
9994
9987
  this._name = e, o.nameToTypeMap.put(e, this);
9995
9988
  } }]), o;
9996
9989
  }();
9997
- zn.nameToTypeMap = new qf(), bt.Type = zn, bt.FIXED = new zn("FIXED"), bt.FLOATING = new zn("FLOATING"), bt.FLOATING_SINGLE = new zn("FLOATING SINGLE"), bt.maximumPreciseValue = 9007199254740992;
9998
- var fs = function(o) {
9990
+ zn.nameToTypeMap = new Gf(), bt.Type = zn, bt.FIXED = new zn("FIXED"), bt.FLOATING = new zn("FLOATING"), bt.FLOATING_SINGLE = new zn("FLOATING SINGLE"), bt.maximumPreciseValue = 9007199254740992;
9991
+ var hs = function(o) {
9999
9992
  f(t, o);
10000
9993
  var e = k(t);
10001
9994
  function t() {
@@ -10069,10 +10062,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10069
10062
  }
10070
10063
  } }, { key: "createMultiLineString", value: function() {
10071
10064
  if (arguments.length === 0)
10072
- return new fs(null, this);
10065
+ return new hs(null, this);
10073
10066
  if (arguments.length === 1) {
10074
10067
  var e = arguments[0];
10075
- return new fs(e, this);
10068
+ return new hs(e, this);
10076
10069
  }
10077
10070
  } }, { key: "buildGeometry", value: function(e) {
10078
10071
  for (var t = null, n = !1, s = !1, c = e.iterator(); c.hasNext(); ) {
@@ -10157,18 +10150,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10157
10150
  }
10158
10151
  } }, { key: "createMultiPolygon", value: function() {
10159
10152
  if (arguments.length === 0)
10160
- return new cs(null, this);
10153
+ return new fs(null, this);
10161
10154
  if (arguments.length === 1) {
10162
10155
  var e = arguments[0];
10163
- return new cs(e, this);
10156
+ return new fs(e, this);
10164
10157
  }
10165
10158
  } }, { key: "createMultiPoint", value: function() {
10166
10159
  if (arguments.length === 0)
10167
- return new os(null, this);
10160
+ return new us(null, this);
10168
10161
  if (arguments.length === 1) {
10169
10162
  if (arguments[0] instanceof Array) {
10170
10163
  var e = arguments[0];
10171
- return new os(e, this);
10164
+ return new us(e, this);
10172
10165
  }
10173
10166
  if (ue(arguments[0], ge)) {
10174
10167
  var t = arguments[0];
@@ -10210,7 +10203,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10210
10203
  var t = new Array(e.size()).fill(null);
10211
10204
  return e.toArray(t);
10212
10205
  } }, { key: "getDefaultCoordinateSequenceFactory", value: function() {
10213
- return ls.instance();
10206
+ return cs.instance();
10214
10207
  } }, { key: "toMultiLineStringArray", value: function(e) {
10215
10208
  var t = new Array(e.size()).fill(null);
10216
10209
  return e.toArray(t);
@@ -10232,10 +10225,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10232
10225
  } }, { key: "createPointFromInternalCoord", value: function(e, t) {
10233
10226
  return t.getPrecisionModel().makePrecise(e), t.getFactory().createPoint(e);
10234
10227
  } }]), o;
10235
- }(), hs = "XY", zf = "XYZ", Uf = "XYM", Yf = "XYZM", to = { POINT: "Point", LINE_STRING: "LineString", LINEAR_RING: "LinearRing", POLYGON: "Polygon", MULTI_POINT: "MultiPoint", MULTI_LINE_STRING: "MultiLineString", MULTI_POLYGON: "MultiPolygon", GEOMETRY_COLLECTION: "GeometryCollection", CIRCLE: "Circle" }, no = "EMPTY", ti = 1, Xt = 2, nn = 3, ro = 4, Yn = 5, Wf = 6;
10236
- for (var Xf in to)
10237
- to[Xf].toUpperCase();
10238
- var jf = function() {
10228
+ }(), gs = "XY", qf = "XYZ", zf = "XYM", Uf = "XYZM", to = { POINT: "Point", LINE_STRING: "LineString", LINEAR_RING: "LinearRing", POLYGON: "Polygon", MULTI_POINT: "MultiPoint", MULTI_LINE_STRING: "MultiLineString", MULTI_POLYGON: "MultiPolygon", GEOMETRY_COLLECTION: "GeometryCollection", CIRCLE: "Circle" }, no = "EMPTY", ti = 1, Xt = 2, nn = 3, ro = 4, Yn = 5, Yf = 6;
10229
+ for (var Wf in to)
10230
+ to[Wf].toUpperCase();
10231
+ var Xf = function() {
10239
10232
  function o(e) {
10240
10233
  i(this, o), this.wkt = e, this.index_ = -1;
10241
10234
  }
@@ -10265,7 +10258,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10265
10258
  return this.nextToken();
10266
10259
  if (t !== "")
10267
10260
  throw new Error("Unexpected character: " + t);
10268
- e = Wf;
10261
+ e = Yf;
10269
10262
  }
10270
10263
  return { position: n, value: s, type: e };
10271
10264
  } }, { key: "readNumber_", value: function() {
@@ -10281,9 +10274,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10281
10274
  while (this.isAlpha_(e));
10282
10275
  return this.wkt.substring(t, this.index_--).toUpperCase();
10283
10276
  } }]), o;
10284
- }(), Vf = function() {
10277
+ }(), jf = function() {
10285
10278
  function o(e, t) {
10286
- i(this, o), this.lexer_ = e, this.token_, this.layout_ = hs, this.factory = t;
10279
+ i(this, o), this.lexer_ = e, this.token_, this.layout_ = gs, this.factory = t;
10287
10280
  }
10288
10281
  return l(o, [{ key: "consume_", value: function() {
10289
10282
  this.token_ = this.lexer_.nextToken();
@@ -10295,10 +10288,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10295
10288
  } }, { key: "parse", value: function() {
10296
10289
  return this.consume_(), this.parseGeometry_();
10297
10290
  } }, { key: "parseGeometryLayout_", value: function() {
10298
- var e = hs, t = this.token_;
10291
+ var e = gs, t = this.token_;
10299
10292
  if (this.isTokenType(ti)) {
10300
10293
  var n = t.value;
10301
- n === "Z" ? e = zf : n === "M" ? e = Uf : n === "ZM" && (e = Yf), e !== hs && this.consume_();
10294
+ n === "Z" ? e = qf : n === "M" ? e = zf : n === "ZM" && (e = Uf), e !== gs && this.consume_();
10302
10295
  }
10303
10296
  return e;
10304
10297
  } }, { key: "parseGeometryCollectionText_", value: function() {
@@ -10466,7 +10459,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10466
10459
  e.push("(" + Sr(o.getInteriorRingN(t)) + ")");
10467
10460
  return e.join(", ");
10468
10461
  }
10469
- var Hf = { Point: io, LineString: Sr, LinearRing: Sr, Polygon: so, MultiPoint: function(o) {
10462
+ var Vf = { Point: io, LineString: Sr, LinearRing: Sr, Polygon: so, MultiPoint: function(o) {
10470
10463
  for (var e = [], t = 0, n = o.getNumGeometries(); t < n; ++t)
10471
10464
  e.push("(" + io(o.getGeometryN(t)) + ")");
10472
10465
  return e.join(", ");
@@ -10484,7 +10477,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10484
10477
  return e.join(", ");
10485
10478
  } };
10486
10479
  function ao(o) {
10487
- var e = o.getGeometryType(), t = Hf[e];
10480
+ var e = o.getGeometryType(), t = Vf[e];
10488
10481
  e = e.toUpperCase();
10489
10482
  var n = function(s) {
10490
10483
  var c = "";
@@ -10495,19 +10488,19 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10495
10488
  }(o);
10496
10489
  return n.length > 0 && (e += " " + n), o.isEmpty() ? e + " " + no : e + " (" + t(o) + ")";
10497
10490
  }
10498
- var Zf = function() {
10491
+ var Hf = function() {
10499
10492
  function o(e) {
10500
10493
  i(this, o), this.geometryFactory = e || new Un(), this.precisionModel = this.geometryFactory.getPrecisionModel();
10501
10494
  }
10502
10495
  return l(o, [{ key: "read", value: function(e) {
10503
- var t = new jf(e);
10504
- return new Vf(t, this.geometryFactory).parse();
10496
+ var t = new Xf(e);
10497
+ return new jf(t, this.geometryFactory).parse();
10505
10498
  } }, { key: "write", value: function(e) {
10506
10499
  return ao(e);
10507
10500
  } }]), o;
10508
- }(), gs = function() {
10501
+ }(), ys = function() {
10509
10502
  function o(e) {
10510
- i(this, o), this.parser = new Zf(e);
10503
+ i(this, o), this.parser = new Hf(e);
10511
10504
  }
10512
10505
  return l(o, [{ key: "write", value: function(e) {
10513
10506
  return this.parser.write(e);
@@ -10562,7 +10555,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10562
10555
  } }, { key: "isCollinear", value: function() {
10563
10556
  return this._result === o.COLLINEAR_INTERSECTION;
10564
10557
  } }, { key: "toString", value: function() {
10565
- return gs.toLineString(this._inputLines[0][0], this._inputLines[0][1]) + " - " + gs.toLineString(this._inputLines[1][0], this._inputLines[1][1]) + this.getTopologySummary();
10558
+ return ys.toLineString(this._inputLines[0][0], this._inputLines[0][1]) + " - " + ys.toLineString(this._inputLines[1][0], this._inputLines[1][1]) + this.getTopologySummary();
10566
10559
  } }, { key: "getEndpoint", value: function(e, t) {
10567
10560
  return this._inputLines[e][t];
10568
10561
  } }, { key: "isIntersection", value: function(e) {
@@ -10633,7 +10626,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10633
10626
  var y = n, m = gt.pointToSegment(n, c, h), E = gt.pointToSegment(s, c, h);
10634
10627
  return E < m && (m = E, y = s), (E = gt.pointToSegment(c, n, s)) < m && (m = E, y = c), (E = gt.pointToSegment(h, n, s)) < m && (m = E, y = h), y;
10635
10628
  } }]), t;
10636
- }(Oe), Qf = function() {
10629
+ }(Oe), Zf = function() {
10637
10630
  function o() {
10638
10631
  i(this, o), o.constructor_.apply(this, arguments);
10639
10632
  }
@@ -10678,7 +10671,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10678
10671
  return E.getLocation();
10679
10672
  }
10680
10673
  } }]), o;
10681
- }(), ys = function() {
10674
+ }(), vs = function() {
10682
10675
  function o() {
10683
10676
  i(this, o);
10684
10677
  }
@@ -10698,7 +10691,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10698
10691
  return !1;
10699
10692
  }
10700
10693
  } }, { key: "locateInRing", value: function(e, t) {
10701
- return Qf.locatePointInRing(e, t);
10694
+ return Zf.locatePointInRing(e, t);
10702
10695
  } }, { key: "isInRing", value: function(e, t) {
10703
10696
  return o.locateInRing(e, t) !== b.EXTERIOR;
10704
10697
  } }]), o;
@@ -10926,7 +10919,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10926
10919
  while (e !== this._startDe);
10927
10920
  } }, { key: "containsPoint", value: function(e) {
10928
10921
  var t = this.getLinearRing();
10929
- if (!t.getEnvelopeInternal().contains(e) || !ys.isInRing(e, t.getCoordinates()))
10922
+ if (!t.getEnvelopeInternal().contains(e) || !vs.isInRing(e, t.getCoordinates()))
10930
10923
  return !1;
10931
10924
  for (var n = this._holes.iterator(); n.hasNext(); )
10932
10925
  if (n.next().containsPoint(e))
@@ -10969,7 +10962,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10969
10962
  }
10970
10963
  }
10971
10964
  } }]), o;
10972
- }(), Kf = function(o) {
10965
+ }(), Qf = function(o) {
10973
10966
  f(t, o);
10974
10967
  var e = k(t);
10975
10968
  function t() {
@@ -10984,7 +10977,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10984
10977
  var n = arguments[0], s = arguments[1];
10985
10978
  ni.constructor_.call(this, n, s);
10986
10979
  } }]), t;
10987
- }(ni), Jf = function(o) {
10980
+ }(ni), Kf = function(o) {
10988
10981
  f(t, o);
10989
10982
  var e = k(t);
10990
10983
  function t() {
@@ -10995,7 +10988,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
10995
10988
  var n = new ne(), s = this._startDe;
10996
10989
  do {
10997
10990
  if (s.getMinEdgeRing() === null) {
10998
- var c = new Kf(s, this._geometryFactory);
10991
+ var c = new Qf(s, this._geometryFactory);
10999
10992
  n.add(c);
11000
10993
  }
11001
10994
  s = s.getNext();
@@ -11110,7 +11103,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11110
11103
  var n = arguments[0], s = arguments[1];
11111
11104
  this._coord = n, this._edges = s, this._label = new mt(0, b.NONE);
11112
11105
  } }]), t;
11113
- }(oo), $f = function(o) {
11106
+ }(oo), Jf = function(o) {
11114
11107
  f(t, o);
11115
11108
  var e = k(t);
11116
11109
  function t() {
@@ -11127,7 +11120,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11127
11120
  function Pt(o, e) {
11128
11121
  o !== null && (o.color = e);
11129
11122
  }
11130
- function vs(o) {
11123
+ function ms(o) {
11131
11124
  return o == null ? null : o.left;
11132
11125
  }
11133
11126
  function lo(o) {
@@ -11180,7 +11173,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11180
11173
  } }, { key: "fixAfterInsertion", value: function(n) {
11181
11174
  var s;
11182
11175
  for (n.color = 1; n != null && n !== this.root_ && n.parent.color === 1; )
11183
- pe(n) === vs(pe(pe(n))) ? uo(s = lo(pe(pe(n)))) === 1 ? (Pt(pe(n), 0), Pt(s, 0), Pt(pe(pe(n)), 1), n = pe(pe(n))) : (n === lo(pe(n)) && (n = pe(n), this.rotateLeft(n)), Pt(pe(n), 0), Pt(pe(pe(n)), 1), this.rotateRight(pe(pe(n)))) : uo(s = vs(pe(pe(n)))) === 1 ? (Pt(pe(n), 0), Pt(s, 0), Pt(pe(pe(n)), 1), n = pe(pe(n))) : (n === vs(pe(n)) && (n = pe(n), this.rotateRight(n)), Pt(pe(n), 0), Pt(pe(pe(n)), 1), this.rotateLeft(pe(pe(n))));
11176
+ pe(n) === ms(pe(pe(n))) ? uo(s = lo(pe(pe(n)))) === 1 ? (Pt(pe(n), 0), Pt(s, 0), Pt(pe(pe(n)), 1), n = pe(pe(n))) : (n === lo(pe(n)) && (n = pe(n), this.rotateLeft(n)), Pt(pe(n), 0), Pt(pe(pe(n)), 1), this.rotateRight(pe(pe(n)))) : uo(s = ms(pe(pe(n)))) === 1 ? (Pt(pe(n), 0), Pt(s, 0), Pt(pe(pe(n)), 1), n = pe(pe(n))) : (n === ms(pe(n)) && (n = pe(n), this.rotateRight(n)), Pt(pe(n), 0), Pt(pe(pe(n)), 1), this.rotateLeft(pe(pe(n))));
11184
11177
  this.root_.color = 0;
11185
11178
  } }, { key: "values", value: function() {
11186
11179
  var n = new ne(), s = this.getFirstEntry();
@@ -11238,7 +11231,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11238
11231
  c = s, s = s.parent;
11239
11232
  return s;
11240
11233
  } }]), t;
11241
- }($f), co = function() {
11234
+ }(Jf), co = function() {
11242
11235
  function o() {
11243
11236
  i(this, o), o.constructor_.apply(this, arguments);
11244
11237
  }
@@ -11357,7 +11350,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11357
11350
  o.constructor_.call(this, c), this.init(h, y), this._label = m;
11358
11351
  }
11359
11352
  } }]), o;
11360
- }(), ms = function(o) {
11353
+ }(), ds = function(o) {
11361
11354
  f(t, o);
11362
11355
  var e = k(t);
11363
11356
  function t() {
@@ -11513,7 +11506,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11513
11506
  for (var t = e.iterator(); t.hasNext(); ) {
11514
11507
  var n = t.next();
11515
11508
  this._edges.add(n);
11516
- var s = new ms(n, !0), c = new ms(n, !1);
11509
+ var s = new ds(n, !0), c = new ds(n, !1);
11517
11510
  s.setSym(c), c.setSym(s), this.add(s), this.add(c);
11518
11511
  }
11519
11512
  } }, { key: "add", value: function(e) {
@@ -11538,7 +11531,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11538
11531
  for (var t = e.iterator(); t.hasNext(); )
11539
11532
  t.next().getEdges().linkResultDirectedEdges();
11540
11533
  } }]), o;
11541
- }(), eh = function() {
11534
+ }(), $f = function() {
11542
11535
  function o() {
11543
11536
  i(this, o), o.constructor_.apply(this, arguments);
11544
11537
  }
@@ -11578,7 +11571,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11578
11571
  for (var t = new ne(), n = e.iterator(); n.hasNext(); ) {
11579
11572
  var s = n.next();
11580
11573
  if (s.isInResult() && s.getLabel().isArea() && s.getEdgeRing() === null) {
11581
- var c = new Jf(s, this._geometryFactory);
11574
+ var c = new Kf(s, this._geometryFactory);
11582
11575
  t.add(c), c.setInResult();
11583
11576
  }
11584
11577
  }
@@ -11616,7 +11609,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11616
11609
  if (!N.equals(s) && N.contains(s)) {
11617
11610
  c = qe.ptNotInList(n.getCoordinates(), w.getCoordinates());
11618
11611
  var B = !1;
11619
- ys.isInRing(c, w.getCoordinates()) && (B = !0), B && (h === null || y.contains(N)) && (y = (h = E).getLinearRing().getEnvelopeInternal());
11612
+ vs.isInRing(c, w.getCoordinates()) && (B = !0), B && (h === null || y.contains(N)) && (y = (h = E).getLinearRing().getEnvelopeInternal());
11620
11613
  }
11621
11614
  }
11622
11615
  return h;
@@ -11672,7 +11665,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11672
11665
  } }], [{ key: "constructor_", value: function() {
11673
11666
  this._size = null, this._items = null, this._size = 0, this._items = new ne(), this._items.add(null);
11674
11667
  } }]), o;
11675
- }(), th = function() {
11668
+ }(), eh = function() {
11676
11669
  function o() {
11677
11670
  i(this, o);
11678
11671
  }
@@ -11720,7 +11713,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11720
11713
  }, singletonList: function(o) {
11721
11714
  var e = new ne();
11722
11715
  return e.add(o), e;
11723
- } }, nh = function() {
11716
+ } }, th = function() {
11724
11717
  function o() {
11725
11718
  i(this, o);
11726
11719
  }
@@ -11742,7 +11735,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11742
11735
  i(this, o), o.constructor_.apply(this, arguments);
11743
11736
  }
11744
11737
  return l(o, [{ key: "maximumDistance", value: function() {
11745
- return nh.maximumDistance(this._boundable1.getBounds(), this._boundable2.getBounds());
11738
+ return th.maximumDistance(this._boundable1.getBounds(), this._boundable2.getBounds());
11746
11739
  } }, { key: "expandToQueue", value: function(e, t) {
11747
11740
  var n = o.isComposite(this._boundable1), s = o.isComposite(this._boundable2);
11748
11741
  if (n && s)
@@ -11936,7 +11929,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
11936
11929
  }();
11937
11930
  jn.IntersectsOp = function() {
11938
11931
  }, jn.DEFAULT_NODE_CAPACITY = 10;
11939
- var rh = function() {
11932
+ var nh = function() {
11940
11933
  function o() {
11941
11934
  i(this, o);
11942
11935
  }
@@ -12031,7 +12024,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12031
12024
  return this.createParentBoundablesFromVerticalSlices(y, s);
12032
12025
  } }, { key: "nearestNeighbour", value: function() {
12033
12026
  if (arguments.length === 1) {
12034
- if (ue(arguments[0], rh)) {
12027
+ if (ue(arguments[0], nh)) {
12035
12028
  var n = arguments[0];
12036
12029
  if (this.isEmpty())
12037
12030
  return null;
@@ -12087,7 +12080,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12087
12080
  return this.isWithinDistance(B, N);
12088
12081
  }
12089
12082
  } }, { key: "interfaces_", get: function() {
12090
- return [th, A];
12083
+ return [eh, A];
12091
12084
  } }], [{ key: "constructor_", value: function() {
12092
12085
  if (arguments.length === 0)
12093
12086
  t.constructor_.call(this, t.DEFAULT_NODE_CAPACITY);
@@ -12154,7 +12147,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12154
12147
  return e.intersects(t);
12155
12148
  } }]), o;
12156
12149
  }())(), At.DEFAULT_NODE_CAPACITY = 10;
12157
- var ih = function() {
12150
+ var rh = function() {
12158
12151
  function o() {
12159
12152
  i(this, o);
12160
12153
  }
@@ -12186,7 +12179,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12186
12179
  } }, { key: "compareValue", value: function(e, t) {
12187
12180
  return e < 0 ? -1 : e > 0 ? 1 : t < 0 ? -1 : t > 0 ? 1 : 0;
12188
12181
  } }]), o;
12189
- }(), sh = function() {
12182
+ }(), ih = function() {
12190
12183
  function o() {
12191
12184
  i(this, o), o.constructor_.apply(this, arguments);
12192
12185
  }
@@ -12196,7 +12189,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12196
12189
  e.print(this.coord), e.print(" seg # = " + this.segmentIndex);
12197
12190
  } }, { key: "compareTo", value: function(e) {
12198
12191
  var t = e;
12199
- return this.segmentIndex < t.segmentIndex ? -1 : this.segmentIndex > t.segmentIndex ? 1 : this.coord.equals2D(t.coord) ? 0 : this._isInterior ? t._isInterior ? ih.compare(this._segmentOctant, this.coord, t.coord) : 1 : -1;
12192
+ return this.segmentIndex < t.segmentIndex ? -1 : this.segmentIndex > t.segmentIndex ? 1 : this.coord.equals2D(t.coord) ? 0 : this._isInterior ? t._isInterior ? rh.compare(this._segmentOctant, this.coord, t.coord) : 1 : -1;
12200
12193
  } }, { key: "isEndPoint", value: function(e) {
12201
12194
  return this.segmentIndex === 0 && !this._isInterior || this.segmentIndex === e;
12202
12195
  } }, { key: "toString", value: function() {
@@ -12210,7 +12203,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12210
12203
  var e = arguments[0], t = arguments[1], n = arguments[2], s = arguments[3];
12211
12204
  this._segString = e, this.coord = new T(t), this.segmentIndex = n, this._segmentOctant = s, this._isInterior = !t.equals2D(e.getCoordinate(n));
12212
12205
  } }]), o;
12213
- }(), ah = function() {
12206
+ }(), sh = function() {
12214
12207
  function o() {
12215
12208
  i(this, o);
12216
12209
  }
@@ -12218,7 +12211,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12218
12211
  } }, { key: "next", value: function() {
12219
12212
  } }, { key: "remove", value: function() {
12220
12213
  } }]), o;
12221
- }(), oh = function() {
12214
+ }(), ah = function() {
12222
12215
  function o() {
12223
12216
  i(this, o), o.constructor_.apply(this, arguments);
12224
12217
  }
@@ -12289,7 +12282,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12289
12282
  var n = this.createSplitEdgePts(e, t);
12290
12283
  return new wn(n, this._edge.getData());
12291
12284
  } }, { key: "add", value: function(e, t) {
12292
- var n = new sh(this._edge, e, t, this._edge.getSegmentOctant(t)), s = this._nodeMap.get(n);
12285
+ var n = new ih(this._edge, e, t, this._edge.getSegmentOctant(t)), s = this._nodeMap.get(n);
12293
12286
  return s !== null ? (fe.isTrue(s.coord.equals2D(e), "Found equal nodes with different coordinates"), s) : (this._nodeMap.put(n, n), n);
12294
12287
  } }, { key: "checkSplitEdgesCorrectness", value: function(e) {
12295
12288
  var t = this._edge.getCoordinates(), n = e.get(0).getCoordinate(0);
@@ -12303,7 +12296,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12303
12296
  var e = arguments[0];
12304
12297
  this._edge = e;
12305
12298
  } }]), o;
12306
- }(), uh = function() {
12299
+ }(), oh = function() {
12307
12300
  function o() {
12308
12301
  i(this, o);
12309
12302
  }
@@ -12322,7 +12315,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12322
12315
  return o.octant(y, m);
12323
12316
  }
12324
12317
  } }]), o;
12325
- }(), lh = function() {
12318
+ }(), uh = function() {
12326
12319
  function o() {
12327
12320
  i(this, o);
12328
12321
  }
@@ -12333,13 +12326,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12333
12326
  } }, { key: "setData", value: function(e) {
12334
12327
  } }, { key: "getData", value: function() {
12335
12328
  } }]), o;
12336
- }(), ch = function() {
12329
+ }(), lh = function() {
12337
12330
  function o() {
12338
12331
  i(this, o);
12339
12332
  }
12340
12333
  return l(o, [{ key: "addIntersection", value: function(e, t) {
12341
12334
  } }, { key: "interfaces_", get: function() {
12342
- return [lh];
12335
+ return [uh];
12343
12336
  } }]), o;
12344
12337
  }(), wn = function() {
12345
12338
  function o() {
@@ -12358,7 +12351,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12358
12351
  } }, { key: "setData", value: function(e) {
12359
12352
  this._data = e;
12360
12353
  } }, { key: "safeOctant", value: function(e, t) {
12361
- return e.equals2D(t) ? 0 : uh.octant(e, t);
12354
+ return e.equals2D(t) ? 0 : oh.octant(e, t);
12362
12355
  } }, { key: "getData", value: function() {
12363
12356
  return this._data;
12364
12357
  } }, { key: "addIntersection", value: function() {
@@ -12370,7 +12363,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12370
12363
  this.addIntersection(h, s);
12371
12364
  }
12372
12365
  } }, { key: "toString", value: function() {
12373
- return gs.toLineString(new xr(this._pts));
12366
+ return ys.toLineString(new xr(this._pts));
12374
12367
  } }, { key: "getNodeList", value: function() {
12375
12368
  return this._nodeList;
12376
12369
  } }, { key: "addIntersectionNode", value: function(e, t) {
@@ -12384,9 +12377,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12384
12377
  for (var s = 0; s < e.getIntersectionNum(); s++)
12385
12378
  this.addIntersection(e, t, n, s);
12386
12379
  } }, { key: "interfaces_", get: function() {
12387
- return [ch];
12380
+ return [lh];
12388
12381
  } }], [{ key: "constructor_", value: function() {
12389
- this._nodeList = new oh(this), this._pts = null, this._data = null;
12382
+ this._nodeList = new ah(this), this._pts = null, this._data = null;
12390
12383
  var e = arguments[0], t = arguments[1];
12391
12384
  this._pts = e, this._data = t;
12392
12385
  } }, { key: "getNodedSubstrings", value: function() {
@@ -12555,7 +12548,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12555
12548
  } }, { key: "midPoint", value: function(e, t) {
12556
12549
  return new T((e.x + t.x) / 2, (e.y + t.y) / 2);
12557
12550
  } }]), o;
12558
- }(), fh = function() {
12551
+ }(), ch = function() {
12559
12552
  function o() {
12560
12553
  i(this, o), o.constructor_.apply(this, arguments);
12561
12554
  }
@@ -12625,7 +12618,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12625
12618
  var e = arguments[0], t = arguments[1], n = arguments[2], s = arguments[3];
12626
12619
  this._pts = e, this._start = t, this._end = n, this._context = s;
12627
12620
  } }]), o;
12628
- }(), hh = function() {
12621
+ }(), fh = function() {
12629
12622
  function o() {
12630
12623
  i(this, o);
12631
12624
  }
@@ -12651,7 +12644,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12651
12644
  return s;
12652
12645
  }
12653
12646
  } }]), o;
12654
- }(), ds = function() {
12647
+ }(), ps = function() {
12655
12648
  function o() {
12656
12649
  i(this, o);
12657
12650
  }
@@ -12665,7 +12658,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12665
12658
  return l(o, [{ key: "setSegmentIntersector", value: function(e) {
12666
12659
  this._segInt = e;
12667
12660
  } }, { key: "interfaces_", get: function() {
12668
- return [ds];
12661
+ return [ps];
12669
12662
  } }], [{ key: "constructor_", value: function() {
12670
12663
  if (this._segInt = null, arguments.length !== 0) {
12671
12664
  if (arguments.length === 1) {
@@ -12674,7 +12667,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12674
12667
  }
12675
12668
  }
12676
12669
  } }]), o;
12677
- }(), ps = function(o) {
12670
+ }(), _s = function(o) {
12678
12671
  f(t, o);
12679
12672
  var e = k(t);
12680
12673
  function t() {
@@ -12688,7 +12681,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12688
12681
  } }, { key: "getIndex", value: function() {
12689
12682
  return this._index;
12690
12683
  } }, { key: "add", value: function(n) {
12691
- for (var s = hh.getChains(n.getCoordinates(), n).iterator(); s.hasNext(); ) {
12684
+ for (var s = fh.getChains(n.getCoordinates(), n).iterator(); s.hasNext(); ) {
12692
12685
  var c = s.next();
12693
12686
  c.setId(this._idCounter++), this._index.insert(c.getEnvelope(), c), this._monoChains.add(c);
12694
12687
  }
@@ -12729,8 +12722,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12729
12722
  var n = arguments[0];
12730
12723
  this._si = n;
12731
12724
  } }]), t;
12732
- }(fh);
12733
- ps.SegmentOverlapAction = Eo;
12725
+ }(ch);
12726
+ _s.SegmentOverlapAction = Eo;
12734
12727
  var wt = function() {
12735
12728
  function o() {
12736
12729
  i(this, o), o.constructor_.apply(this, arguments);
@@ -12983,7 +12976,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
12983
12976
  } }]), o;
12984
12977
  }();
12985
12978
  br.OFFSET_SEGMENT_SEPARATION_FACTOR = 1e-3, br.INSIDE_TURN_VERTEX_SNAP_DISTANCE_FACTOR = 1e-3, br.CURVE_VERTEX_SNAP_DISTANCE_FACTOR = 1e-6, br.MAX_CLOSING_SEG_LEN_FACTOR = 80;
12986
- var gh = function() {
12979
+ var hh = function() {
12987
12980
  function o() {
12988
12981
  i(this, o), o.constructor_.apply(this, arguments);
12989
12982
  }
@@ -13102,7 +13095,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13102
13095
  return t;
13103
13096
  }
13104
13097
  if (arguments.length === 3) {
13105
- if (ue(arguments[2], nt) && arguments[0] instanceof T && arguments[1] instanceof ms)
13098
+ if (ue(arguments[2], nt) && arguments[0] instanceof T && arguments[1] instanceof ds)
13106
13099
  for (var h = arguments[0], y = arguments[1], m = arguments[2], E = y.getEdge().getCoordinates(), w = 0; w < E.length - 1; w++) {
13107
13100
  this._seg.p0 = E[w], this._seg.p1 = E[w + 1], this._seg.p0.y > this._seg.p1.y && this._seg.reverse();
13108
13101
  var N = Math.max(this._seg.p0.x, this._seg.p1.x);
@@ -13163,7 +13156,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13163
13156
  return l(t, null, [{ key: "constructor_", value: function() {
13164
13157
  D.constructor_.call(this, "Projective point not representable on the Cartesian plane.");
13165
13158
  } }]), t;
13166
- }(D), _s = function() {
13159
+ }(D), Es = function() {
13167
13160
  function o() {
13168
13161
  i(this, o), o.constructor_.apply(this, arguments);
13169
13162
  }
@@ -13205,7 +13198,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13205
13198
  this.x = re * je - Pe * ce, this.y = _e * ce - $ * je, this.w = $ * Pe - _e * re;
13206
13199
  }
13207
13200
  } }]), o;
13208
- }(), yh = function() {
13201
+ }(), gh = function() {
13209
13202
  function o() {
13210
13203
  i(this, o), o.constructor_.apply(this, arguments);
13211
13204
  }
@@ -13254,8 +13247,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13254
13247
  var s = n.x, c = n.y, h = e.x - s, y = e.y - c, m = t.x - s, E = t.y - c, w = 2 * o.det(h, y, m, E), N = o.det(y, h * h + y * y, E, m * m + E * E), B = o.det(h, h * h + y * y, m, m * m + E * E);
13255
13248
  return new T(s - N / w, c + B / w);
13256
13249
  } }, { key: "perpendicularBisector", value: function(e, t) {
13257
- var n = t.x - e.x, s = t.y - e.y, c = new _s(e.x + n / 2, e.y + s / 2, 1), h = new _s(e.x - s + n / 2, e.y + n + s / 2, 1);
13258
- return new _s(c, h);
13250
+ var n = t.x - e.x, s = t.y - e.y, c = new Es(e.x + n / 2, e.y + s / 2, 1), h = new Es(e.x - s + n / 2, e.y + n + s / 2, 1);
13251
+ return new Es(c, h);
13259
13252
  } }, { key: "angleBisector", value: function(e, t, n) {
13260
13253
  var s = t.distance(e), c = s / (s + t.distance(n)), h = n.x - e.x, y = n.y - e.y;
13261
13254
  return new T(e.x + c * h, e.y + c * y);
@@ -13269,7 +13262,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13269
13262
  var s = t.distance(n), c = e.distance(n), h = e.distance(t), y = s + c + h, m = (s * e.x + c * t.x + h * n.x) / y, E = (s * e.y + c * t.y + h * n.y) / y;
13270
13263
  return new T(m, E);
13271
13264
  } }]), o;
13272
- }(), vh = function() {
13265
+ }(), yh = function() {
13273
13266
  function o() {
13274
13267
  i(this, o), o.constructor_.apply(this, arguments);
13275
13268
  }
@@ -13299,7 +13292,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13299
13292
  this._distance > 0 && this.isErodedCompletely(y, -this._distance) || this.addRingSide(m, t, W.opposite(n), b.INTERIOR, b.EXTERIOR);
13300
13293
  }
13301
13294
  } }, { key: "isTriangleErodedCompletely", value: function(e, t) {
13302
- var n = new yh(e[0], e[1], e[2]), s = n.inCentre();
13295
+ var n = new gh(e[0], e[1], e[2]), s = n.inCentre();
13303
13296
  return gt.pointToSegment(s, n.p0, n.p1) < Math.abs(t);
13304
13297
  } }, { key: "addLineString", value: function(e) {
13305
13298
  if (this._curveBuilder.isLineOffsetEmpty(this._distance))
@@ -13327,11 +13320,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13327
13320
  this.addLineString(e);
13328
13321
  else if (e instanceof he)
13329
13322
  this.addPoint(e);
13330
- else if (e instanceof os)
13323
+ else if (e instanceof us)
13331
13324
  this.addCollection(e);
13332
- else if (e instanceof fs)
13325
+ else if (e instanceof hs)
13333
13326
  this.addCollection(e);
13334
- else if (e instanceof cs)
13327
+ else if (e instanceof fs)
13335
13328
  this.addCollection(e);
13336
13329
  else {
13337
13330
  if (!(e instanceof ot))
@@ -13356,13 +13349,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13356
13349
  var e = arguments[0], t = arguments[1], n = arguments[2];
13357
13350
  this._inputGeom = e, this._distance = t, this._curveBuilder = n;
13358
13351
  } }]), o;
13359
- }(), mh = function() {
13352
+ }(), vh = function() {
13360
13353
  function o() {
13361
13354
  i(this, o);
13362
13355
  }
13363
13356
  return l(o, [{ key: "locate", value: function(e) {
13364
13357
  } }]), o;
13365
- }(), dh = function() {
13358
+ }(), mh = function() {
13366
13359
  function o() {
13367
13360
  i(this, o), o.constructor_.apply(this, arguments);
13368
13361
  }
@@ -13390,7 +13383,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13390
13383
  }
13391
13384
  return !(this._index >= this._max);
13392
13385
  } }, { key: "interfaces_", get: function() {
13393
- return [ah];
13386
+ return [sh];
13394
13387
  } }], [{ key: "constructor_", value: function() {
13395
13388
  this._parent = null, this._atStart = null, this._max = null, this._index = null, this._subcollectionIterator = null;
13396
13389
  var e = arguments[0];
@@ -13398,14 +13391,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13398
13391
  } }, { key: "isAtomic", value: function(e) {
13399
13392
  return !(e instanceof ot);
13400
13393
  } }]), o;
13401
- }(), ph = function() {
13394
+ }(), dh = function() {
13402
13395
  function o() {
13403
13396
  i(this, o), o.constructor_.apply(this, arguments);
13404
13397
  }
13405
13398
  return l(o, [{ key: "locate", value: function(e) {
13406
13399
  return o.locate(e, this._geom);
13407
13400
  } }, { key: "interfaces_", get: function() {
13408
- return [mh];
13401
+ return [vh];
13409
13402
  } }], [{ key: "constructor_", value: function() {
13410
13403
  this._geom = null;
13411
13404
  var e = arguments[0];
@@ -13425,14 +13418,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13425
13418
  }
13426
13419
  return b.INTERIOR;
13427
13420
  } }, { key: "locatePointInRing", value: function(e, t) {
13428
- return t.getEnvelopeInternal().intersects(e) ? ys.locateInRing(e, t.getCoordinates()) : b.EXTERIOR;
13421
+ return t.getEnvelopeInternal().intersects(e) ? vs.locateInRing(e, t.getCoordinates()) : b.EXTERIOR;
13429
13422
  } }, { key: "containsPointInPolygon", value: function(e, t) {
13430
13423
  return b.EXTERIOR !== o.locatePointInPolygon(e, t);
13431
13424
  } }, { key: "locateInGeometry", value: function(e, t) {
13432
13425
  if (t instanceof tn)
13433
13426
  return o.locatePointInPolygon(e, t);
13434
13427
  if (t instanceof ot)
13435
- for (var n = new dh(t); n.hasNext(); ) {
13428
+ for (var n = new mh(t); n.hasNext(); ) {
13436
13429
  var s = n.next();
13437
13430
  if (s !== t) {
13438
13431
  var c = o.locateInGeometry(e, s);
@@ -13446,7 +13439,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13446
13439
  } }, { key: "locate", value: function(e, t) {
13447
13440
  return t.isEmpty() ? b.EXTERIOR : t.getEnvelopeInternal().intersects(e) ? o.locateInGeometry(e, t) : b.EXTERIOR;
13448
13441
  } }]), o;
13449
- }(), _h = function() {
13442
+ }(), ph = function() {
13450
13443
  function o() {
13451
13444
  i(this, o), o.constructor_.apply(this, arguments);
13452
13445
  }
@@ -13508,7 +13501,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13508
13501
  } }, { key: "getEdges", value: function() {
13509
13502
  return this._edgeList === null && (this._edgeList = new ne(this._edgeMap.values())), this._edgeList;
13510
13503
  } }, { key: "getLocation", value: function(e, t, n) {
13511
- return this._ptInAreaLocation[e] === b.NONE && (this._ptInAreaLocation[e] = ph.locate(t, n[e].getGeometry())), this._ptInAreaLocation[e];
13504
+ return this._ptInAreaLocation[e] === b.NONE && (this._ptInAreaLocation[e] = dh.locate(t, n[e].getGeometry())), this._ptInAreaLocation[e];
13512
13505
  } }, { key: "toString", value: function() {
13513
13506
  var e = new En();
13514
13507
  e.append("EdgeEndStar: " + this.getCoordinate()), e.append(`
@@ -13546,7 +13539,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13546
13539
  } }], [{ key: "constructor_", value: function() {
13547
13540
  this._edgeMap = new Ir(), this._edgeList = null, this._ptInAreaLocation = [b.NONE, b.NONE];
13548
13541
  } }]), o;
13549
- }(), Eh = function(o) {
13542
+ }(), _h = function(o) {
13550
13543
  f(t, o);
13551
13544
  var e = k(t);
13552
13545
  function t() {
@@ -13694,14 +13687,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13694
13687
  } }], [{ key: "constructor_", value: function() {
13695
13688
  this._resultAreaEdgeList = null, this._label = null, this._SCANNING_FOR_INCOMING = 1, this._LINKING_TO_OUTGOING = 2;
13696
13689
  } }]), t;
13697
- }(_h), kh = function(o) {
13690
+ }(ph), Eh = function(o) {
13698
13691
  f(t, o);
13699
13692
  var e = k(t);
13700
13693
  function t() {
13701
13694
  return i(this, t), e.call(this);
13702
13695
  }
13703
13696
  return l(t, [{ key: "createNode", value: function(n) {
13704
- return new ri(n, new Eh());
13697
+ return new ri(n, new _h());
13705
13698
  } }]), t;
13706
13699
  }(ho), bo = function() {
13707
13700
  function o() {
@@ -13732,7 +13725,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13732
13725
  return 0;
13733
13726
  }
13734
13727
  } }]), o;
13735
- }(), xh = function() {
13728
+ }(), kh = function() {
13736
13729
  function o() {
13737
13730
  i(this, o), o.constructor_.apply(this, arguments);
13738
13731
  }
@@ -13777,7 +13770,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13777
13770
  return l(o, [{ key: "processIntersections", value: function(e, t, n, s) {
13778
13771
  } }, { key: "isDone", value: function() {
13779
13772
  } }]), o;
13780
- }(), Sh = function() {
13773
+ }(), xh = function() {
13781
13774
  function o() {
13782
13775
  i(this, o), o.constructor_.apply(this, arguments);
13783
13776
  }
@@ -13821,7 +13814,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13821
13814
  } }, { key: "isAdjacentSegments", value: function(e, t) {
13822
13815
  return Math.abs(e - t) === 1;
13823
13816
  } }]), o;
13824
- }(), Ih = function() {
13817
+ }(), Sh = function() {
13825
13818
  function o() {
13826
13819
  i(this, o), o.constructor_.apply(this, arguments);
13827
13820
  }
@@ -13849,7 +13842,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13849
13842
  var e = arguments[0], t = arguments[1], n = arguments[2];
13850
13843
  this.coord = new T(e), this.segmentIndex = t, this.dist = n;
13851
13844
  } }]), o;
13852
- }(), bh = function() {
13845
+ }(), Ih = function() {
13853
13846
  function o() {
13854
13847
  i(this, o), o.constructor_.apply(this, arguments);
13855
13848
  }
@@ -13877,7 +13870,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13877
13870
  h[y++] = this.edge.pts[m];
13878
13871
  return c && (h[y] = t.coord), new Lo(h, new mt(this.edge._label));
13879
13872
  } }, { key: "add", value: function(e, t, n) {
13880
- var s = new Ih(e, t, n), c = this._nodeMap.get(s);
13873
+ var s = new Sh(e, t, n), c = this._nodeMap.get(s);
13881
13874
  return c !== null ? c : (this._nodeMap.put(s, s), s);
13882
13875
  } }, { key: "isIntersection", value: function(e) {
13883
13876
  for (var t = this.iterator(); t.hasNext(); )
@@ -13889,7 +13882,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13889
13882
  var e = arguments[0];
13890
13883
  this.edge = e;
13891
13884
  } }]), o;
13892
- }(), wh = function() {
13885
+ }(), bh = function() {
13893
13886
  function o() {
13894
13887
  i(this, o), o.constructor_.apply(this, arguments);
13895
13888
  }
@@ -13989,7 +13982,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13989
13982
  } }, { key: "isTrue", value: function(e) {
13990
13983
  return e >= 0 || e === V.TRUE;
13991
13984
  } }]), o;
13992
- }(), Nh = function() {
13985
+ }(), wh = function() {
13993
13986
  function o() {
13994
13987
  i(this, o), o.constructor_.apply(this, arguments);
13995
13988
  }
@@ -14015,12 +14008,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14015
14008
  this._data = new Array(e).fill(null);
14016
14009
  }
14017
14010
  } }]), o;
14018
- }(), Lh = function() {
14011
+ }(), Nh = function() {
14019
14012
  function o() {
14020
14013
  i(this, o);
14021
14014
  }
14022
14015
  return l(o, [{ key: "getChainStartIndices", value: function(e) {
14023
- var t = 0, n = new Nh(Math.trunc(e.length / 2));
14016
+ var t = 0, n = new wh(Math.trunc(e.length / 2));
14024
14017
  n.add(t);
14025
14018
  do {
14026
14019
  var s = this.findChainEnd(e, t);
@@ -14044,7 +14037,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14044
14037
  t[n] = e.get(n).intValue();
14045
14038
  return t;
14046
14039
  } }]), o;
14047
- }(), Th = function() {
14040
+ }(), Lh = function() {
14048
14041
  function o() {
14049
14042
  i(this, o), o.constructor_.apply(this, arguments);
14050
14043
  }
@@ -14081,7 +14074,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14081
14074
  this.e = null, this.pts = null, this.startIndex = null;
14082
14075
  var e = arguments[0];
14083
14076
  this.e = e, this.pts = e.getCoordinates();
14084
- var t = new Lh();
14077
+ var t = new Nh();
14085
14078
  this.startIndex = t.getChainStartIndices(this.pts);
14086
14079
  } }]), o;
14087
14080
  }(), No = function() {
@@ -14207,7 +14200,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14207
14200
  n.print(this.pts[s] + " ");
14208
14201
  n.println("");
14209
14202
  } }, { key: "getMonotoneChainEdge", value: function() {
14210
- return this._mce === null && (this._mce = new Th(this)), this._mce;
14203
+ return this._mce === null && (this._mce = new Lh(this)), this._mce;
14211
14204
  } }, { key: "getEnvelope", value: function() {
14212
14205
  if (this._env === null) {
14213
14206
  this._env = new xe();
@@ -14243,7 +14236,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14243
14236
  for (var h = 0; h < n.getIntersectionNum(); h++)
14244
14237
  this.addIntersection(n, s, c, h);
14245
14238
  } }], [{ key: "constructor_", value: function() {
14246
- if (this.pts = null, this._env = null, this.eiList = new bh(this), this._name = null, this._mce = null, this._isIsolated = !0, this._depth = new No(), this._depthDelta = 0, arguments.length === 1) {
14239
+ if (this.pts = null, this._env = null, this.eiList = new Ih(this), this._name = null, this._mce = null, this._isIsolated = !0, this._depth = new No(), this._depthDelta = 0, arguments.length === 1) {
14247
14240
  var n = arguments[0];
14248
14241
  t.constructor_.call(this, n, null);
14249
14242
  } else if (arguments.length === 2) {
@@ -14251,7 +14244,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14251
14244
  this.pts = s, this._label = c;
14252
14245
  }
14253
14246
  } }, { key: "updateIM", value: function() {
14254
- if (!(arguments.length === 2 && arguments[1] instanceof wh && arguments[0] instanceof mt))
14247
+ if (!(arguments.length === 2 && arguments[1] instanceof bh && arguments[0] instanceof mt))
14255
14248
  return I(g(t), "updateIM", this).apply(this, arguments);
14256
14249
  var n = arguments[0], s = arguments[1];
14257
14250
  s.setAtLeastIfValid(n.getLocation(0, W.ON), n.getLocation(1, W.ON), 1), n.isArea() && (s.setAtLeastIfValid(n.getLocation(0, W.LEFT), n.getLocation(1, W.LEFT), 2), s.setAtLeastIfValid(n.getLocation(0, W.RIGHT), n.getLocation(1, W.RIGHT), 2));
@@ -14280,7 +14273,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14280
14273
  for (var t = new ne(), n = e.getNodes().iterator(); n.hasNext(); ) {
14281
14274
  var s = n.next();
14282
14275
  if (!s.isVisited()) {
14283
- var c = new ss();
14276
+ var c = new as();
14284
14277
  c.create(s), t.add(c);
14285
14278
  }
14286
14279
  }
@@ -14290,16 +14283,16 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14290
14283
  } }, { key: "getNoder", value: function(e) {
14291
14284
  if (this._workingNoder !== null)
14292
14285
  return this._workingNoder;
14293
- var t = new ps(), n = new bn();
14294
- return n.setPrecisionModel(e), t.setSegmentIntersector(new Sh(n)), t;
14286
+ var t = new _s(), n = new bn();
14287
+ return n.setPrecisionModel(e), t.setSegmentIntersector(new xh(n)), t;
14295
14288
  } }, { key: "buffer", value: function(e, t) {
14296
14289
  var n = this._workingPrecisionModel;
14297
14290
  n === null && (n = e.getPrecisionModel()), this._geomFact = e.getFactory();
14298
- var s = new gh(n, this._bufParams), c = new vh(e, t, s).getCurves();
14291
+ var s = new hh(n, this._bufParams), c = new yh(e, t, s).getCurves();
14299
14292
  if (c.size() <= 0)
14300
14293
  return this.createEmptyResultGeometry();
14301
- this.computeNodedEdges(c, n), this._graph = new go(new kh()), this._graph.addEdges(this._edgeList.getEdges());
14302
- var h = this.createSubgraphs(this._graph), y = new eh(this._geomFact);
14294
+ this.computeNodedEdges(c, n), this._graph = new go(new Eh()), this._graph.addEdges(this._edgeList.getEdges());
14295
+ var h = this.createSubgraphs(this._graph), y = new $f(this._geomFact);
14303
14296
  this.buildSubgraphs(h, y);
14304
14297
  var m = y.getPolygons();
14305
14298
  return m.size() <= 0 ? this.createEmptyResultGeometry() : this._geomFact.buildGeometry(m);
@@ -14316,7 +14309,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14316
14309
  } }, { key: "setNoder", value: function(e) {
14317
14310
  this._workingNoder = e;
14318
14311
  } }], [{ key: "constructor_", value: function() {
14319
- this._bufParams = null, this._workingPrecisionModel = null, this._workingNoder = null, this._geomFact = null, this._graph = null, this._edgeList = new xh();
14312
+ this._bufParams = null, this._workingPrecisionModel = null, this._workingNoder = null, this._geomFact = null, this._graph = null, this._edgeList = new kh();
14320
14313
  var e = arguments[0];
14321
14314
  this._bufParams = e;
14322
14315
  } }, { key: "depthDelta", value: function(e) {
@@ -14329,7 +14322,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14329
14322
  }
14330
14323
  return t.buildGeometry(n);
14331
14324
  } }]), o;
14332
- }(), Ch = function() {
14325
+ }(), Th = function() {
14333
14326
  function o() {
14334
14327
  i(this, o), o.constructor_.apply(this, arguments);
14335
14328
  }
@@ -14367,7 +14360,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14367
14360
  var t = e;
14368
14361
  this._isScaled && (t = this.scale(e)), this._noder.computeNodes(t);
14369
14362
  } }, { key: "interfaces_", get: function() {
14370
- return [ds];
14363
+ return [ps];
14371
14364
  } }], [{ key: "constructor_", value: function() {
14372
14365
  if (this._noder = null, this._scaleFactor = null, this._offsetX = null, this._offsetY = null, this._isScaled = !1, arguments.length === 2) {
14373
14366
  var e = arguments[0], t = arguments[1];
@@ -14440,7 +14433,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14440
14433
  } }]), o;
14441
14434
  }();
14442
14435
  Co.fact = new Un();
14443
- var Es = function() {
14436
+ var ks = function() {
14444
14437
  function o() {
14445
14438
  i(this, o), o.constructor_.apply(this, arguments);
14446
14439
  }
@@ -14483,8 +14476,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14483
14476
  t !== 1 && (this._pt = new T(this.scale(e.x), this.scale(e.y)), this._p0Scaled = new T(), this._p1Scaled = new T()), this.initCorners(this._pt);
14484
14477
  } }]), o;
14485
14478
  }();
14486
- Es.SAFE_ENV_EXPANSION_FACTOR = 0.75;
14487
- var Oh = function() {
14479
+ ks.SAFE_ENV_EXPANSION_FACTOR = 0.75;
14480
+ var Ch = function() {
14488
14481
  function o() {
14489
14482
  i(this, o), o.constructor_.apply(this, arguments);
14490
14483
  }
@@ -14546,9 +14539,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14546
14539
  var n = arguments[0], s = arguments[1], c = arguments[2];
14547
14540
  this._hotPixel = n, this._parentEdge = s, this._hotPixelVertexIndex = c;
14548
14541
  } }]), t;
14549
- }(Oh);
14542
+ }(Ch);
14550
14543
  Oo.HotPixelSnapAction = Ro;
14551
- var Rh = function() {
14544
+ var Oh = function() {
14552
14545
  function o() {
14553
14546
  i(this, o), o.constructor_.apply(this, arguments);
14554
14547
  }
@@ -14572,7 +14565,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14572
14565
  var e = arguments[0];
14573
14566
  this._li = e, this._interiorIntersections = new ne();
14574
14567
  } }]), o;
14575
- }(), Mh = function() {
14568
+ }(), Rh = function() {
14576
14569
  function o() {
14577
14570
  i(this, o), o.constructor_.apply(this, arguments);
14578
14571
  }
@@ -14591,7 +14584,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14591
14584
  var n = this.findInteriorIntersections(e, t);
14592
14585
  this.computeIntersectionSnaps(n), this.computeVertexSnaps(e);
14593
14586
  } }, { key: "findInteriorIntersections", value: function(e, t) {
14594
- var n = new Rh(t);
14587
+ var n = new Oh(t);
14595
14588
  return this._noder.setSegmentIntersector(n), this._noder.computeNodes(e), n.getInteriorIntersections();
14596
14589
  } }, { key: "computeVertexSnaps", value: function() {
14597
14590
  if (ue(arguments[0], le))
@@ -14601,18 +14594,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14601
14594
  }
14602
14595
  else if (arguments[0] instanceof wn)
14603
14596
  for (var s = arguments[0], c = s.getCoordinates(), h = 0; h < c.length; h++) {
14604
- var y = new Es(c[h], this._scaleFactor, this._li), m = this._pointSnapper.snap(y, s, h);
14597
+ var y = new ks(c[h], this._scaleFactor, this._li), m = this._pointSnapper.snap(y, s, h);
14605
14598
  m && s.addIntersection(c[h], h);
14606
14599
  }
14607
14600
  } }, { key: "computeNodes", value: function(e) {
14608
- this._nodedSegStrings = e, this._noder = new ps(), this._pointSnapper = new Oo(this._noder.getIndex()), this.snapRound(e, this._li);
14601
+ this._nodedSegStrings = e, this._noder = new _s(), this._pointSnapper = new Oo(this._noder.getIndex()), this.snapRound(e, this._li);
14609
14602
  } }, { key: "computeIntersectionSnaps", value: function(e) {
14610
14603
  for (var t = e.iterator(); t.hasNext(); ) {
14611
- var n = t.next(), s = new Es(n, this._scaleFactor, this._li);
14604
+ var n = t.next(), s = new ks(n, this._scaleFactor, this._li);
14612
14605
  this._pointSnapper.snap(s);
14613
14606
  }
14614
14607
  } }, { key: "interfaces_", get: function() {
14615
- return [ds];
14608
+ return [ps];
14616
14609
  } }], [{ key: "constructor_", value: function() {
14617
14610
  this._pm = null, this._li = null, this._scaleFactor = null, this._noder = null, this._pointSnapper = null, this._nodedSegStrings = null;
14618
14611
  var e = arguments[0];
@@ -14623,7 +14616,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14623
14616
  i(this, o), o.constructor_.apply(this, arguments);
14624
14617
  }
14625
14618
  return l(o, [{ key: "bufferFixedPrecision", value: function(e) {
14626
- var t = new Ch(new Mh(new bt(1)), e.getScale()), n = new To(this._bufParams);
14619
+ var t = new Th(new Rh(new bt(1)), e.getScale()), n = new To(this._bufParams);
14627
14620
  n.setWorkingPrecisionModel(e), n.setNoder(t), this._resultGeometry = n.buffer(this._argGeom, this._distance);
14628
14621
  } }, { key: "bufferReducedPrecision", value: function() {
14629
14622
  if (arguments.length === 0) {
@@ -14700,7 +14693,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14700
14693
  } }]), o;
14701
14694
  }();
14702
14695
  Vn.CAP_ROUND = R.CAP_ROUND, Vn.CAP_BUTT = R.CAP_FLAT, Vn.CAP_FLAT = R.CAP_FLAT, Vn.CAP_SQUARE = R.CAP_SQUARE, Vn.MAX_PRECISION_DIGITS = 12;
14703
- var Ph = ["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"], Mo = function() {
14696
+ var Mh = ["Point", "MultiPoint", "LineString", "MultiLineString", "Polygon", "MultiPolygon"], Mo = function() {
14704
14697
  function o(e) {
14705
14698
  i(this, o), this.geometryFactory = e || new Un();
14706
14699
  }
@@ -14708,7 +14701,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14708
14701
  var t, n = (t = typeof e == "string" ? JSON.parse(e) : e).type;
14709
14702
  if (!pt[n])
14710
14703
  throw new Error("Unknown GeoJSON type: " + t.type);
14711
- return Ph.indexOf(n) !== -1 ? pt[n].call(this, t.coordinates) : n === "GeometryCollection" ? pt[n].call(this, t.geometries) : pt[n].call(this, t);
14704
+ return Mh.indexOf(n) !== -1 ? pt[n].call(this, t.coordinates) : n === "GeometryCollection" ? pt[n].call(this, t.geometries) : pt[n].call(this, t);
14712
14705
  } }, { key: "write", value: function(e) {
14713
14706
  var t = e.getGeometryType();
14714
14707
  if (!Dt[t])
@@ -14834,35 +14827,35 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
14834
14827
  } }]), o;
14835
14828
  }() };
14836
14829
  });
14837
- })(kf);
14838
- var U0 = kf.exports;
14839
- const Y0 = /* @__PURE__ */ uc(U0);
14830
+ })(Ef);
14831
+ var U0 = Ef.exports;
14832
+ const Y0 = /* @__PURE__ */ oc(U0);
14840
14833
  function pn() {
14841
- return new ji();
14834
+ return new Vi();
14842
14835
  }
14843
- function ji() {
14836
+ function Vi() {
14844
14837
  this.reset();
14845
14838
  }
14846
- ji.prototype = {
14847
- constructor: ji,
14839
+ Vi.prototype = {
14840
+ constructor: Vi,
14848
14841
  reset: function() {
14849
14842
  this.s = // rounded value
14850
14843
  this.t = 0;
14851
14844
  },
14852
14845
  add: function(a) {
14853
- Fl(ci, a, this.t), Fl(this, ci.s, this.s), this.s ? this.t += ci.t : this.s = ci.t;
14846
+ Dl(ci, a, this.t), Dl(this, ci.s, this.s), this.s ? this.t += ci.t : this.s = ci.t;
14854
14847
  },
14855
14848
  valueOf: function() {
14856
14849
  return this.s;
14857
14850
  }
14858
14851
  };
14859
- var ci = new ji();
14860
- function Fl(a, r, i) {
14852
+ var ci = new Vi();
14853
+ function Dl(a, r, i) {
14861
14854
  var u = a.s = r + i, l = u - r, f = u - l;
14862
14855
  a.t = r - f + (i - l);
14863
14856
  }
14864
- var be = 1e-6, de = Math.PI, Gt = de / 2, Bl = de / 4, zt = de * 2, rn = 180 / de, _t = de / 180, We = Math.abs, W0 = Math.atan, or = Math.atan2, Ae = Math.cos, De = Math.sin, yr = Math.sqrt;
14865
- function xf(a) {
14857
+ var be = 1e-6, de = Math.PI, Gt = de / 2, Fl = de / 4, zt = de * 2, rn = 180 / de, _t = de / 180, We = Math.abs, W0 = Math.atan, or = Math.atan2, Ae = Math.cos, De = Math.sin, yr = Math.sqrt;
14858
+ function kf(a) {
14866
14859
  return a > 1 ? 0 : a < -1 ? de : Math.acos(a);
14867
14860
  }
14868
14861
  function Rn(a) {
@@ -14870,18 +14863,18 @@ function Rn(a) {
14870
14863
  }
14871
14864
  function Ar() {
14872
14865
  }
14873
- function Vi(a, r) {
14874
- a && ql.hasOwnProperty(a.type) && ql[a.type](a, r);
14866
+ function Hi(a, r) {
14867
+ a && Gl.hasOwnProperty(a.type) && Gl[a.type](a, r);
14875
14868
  }
14876
- var Gl = {
14869
+ var Bl = {
14877
14870
  Feature: function(a, r) {
14878
- Vi(a.geometry, r);
14871
+ Hi(a.geometry, r);
14879
14872
  },
14880
14873
  FeatureCollection: function(a, r) {
14881
14874
  for (var i = a.features, u = -1, l = i.length; ++u < l; )
14882
- Vi(i[u].geometry, r);
14875
+ Hi(i[u].geometry, r);
14883
14876
  }
14884
- }, ql = {
14877
+ }, Gl = {
14885
14878
  Sphere: function(a, r) {
14886
14879
  r.sphere();
14887
14880
  },
@@ -14900,15 +14893,15 @@ var Gl = {
14900
14893
  ba(i[u], r, 0);
14901
14894
  },
14902
14895
  Polygon: function(a, r) {
14903
- zl(a.coordinates, r);
14896
+ ql(a.coordinates, r);
14904
14897
  },
14905
14898
  MultiPolygon: function(a, r) {
14906
14899
  for (var i = a.coordinates, u = -1, l = i.length; ++u < l; )
14907
- zl(i[u], r);
14900
+ ql(i[u], r);
14908
14901
  },
14909
14902
  GeometryCollection: function(a, r) {
14910
14903
  for (var i = a.geometries, u = -1, l = i.length; ++u < l; )
14911
- Vi(i[u], r);
14904
+ Hi(i[u], r);
14912
14905
  }
14913
14906
  };
14914
14907
  function ba(a, r, i) {
@@ -14917,14 +14910,14 @@ function ba(a, r, i) {
14917
14910
  f = a[u], r.point(f[0], f[1], f[2]);
14918
14911
  r.lineEnd();
14919
14912
  }
14920
- function zl(a, r) {
14913
+ function ql(a, r) {
14921
14914
  var i = -1, u = a.length;
14922
14915
  for (r.polygonStart(); ++i < u; )
14923
14916
  ba(a[i], r, 1);
14924
14917
  r.polygonEnd();
14925
14918
  }
14926
14919
  function X0(a, r) {
14927
- a && Gl.hasOwnProperty(a.type) ? Gl[a.type](a, r) : Vi(a, r);
14920
+ a && Bl.hasOwnProperty(a.type) ? Bl[a.type](a, r) : Hi(a, r);
14928
14921
  }
14929
14922
  pn();
14930
14923
  pn();
@@ -14938,7 +14931,7 @@ function ur(a) {
14938
14931
  function fi(a, r) {
14939
14932
  return a[0] * r[0] + a[1] * r[1] + a[2] * r[2];
14940
14933
  }
14941
- function Hi(a, r) {
14934
+ function Zi(a, r) {
14942
14935
  return [a[1] * r[2] - a[2] * r[1], a[2] * r[0] - a[0] * r[2], a[0] * r[1] - a[1] * r[0]];
14943
14936
  }
14944
14937
  function Hs(a, r) {
@@ -14952,7 +14945,7 @@ function Na(a) {
14952
14945
  a[0] /= r, a[1] /= r, a[2] /= r;
14953
14946
  }
14954
14947
  pn();
14955
- function Sf(a, r) {
14948
+ function xf(a, r) {
14956
14949
  function i(u, l) {
14957
14950
  return u = a(u, l), r(u[0], u[1]);
14958
14951
  }
@@ -14965,18 +14958,18 @@ function La(a, r) {
14965
14958
  }
14966
14959
  La.invert = La;
14967
14960
  function j0(a, r, i) {
14968
- return (a %= zt) ? r || i ? Sf(Yl(a), Wl(r, i)) : Yl(a) : r || i ? Wl(r, i) : La;
14961
+ return (a %= zt) ? r || i ? xf(Ul(a), Yl(r, i)) : Ul(a) : r || i ? Yl(r, i) : La;
14969
14962
  }
14970
- function Ul(a) {
14963
+ function zl(a) {
14971
14964
  return function(r, i) {
14972
14965
  return r += a, [r > de ? r - zt : r < -de ? r + zt : r, i];
14973
14966
  };
14974
14967
  }
14975
- function Yl(a) {
14976
- var r = Ul(a);
14977
- return r.invert = Ul(-a), r;
14968
+ function Ul(a) {
14969
+ var r = zl(a);
14970
+ return r.invert = zl(-a), r;
14978
14971
  }
14979
- function Wl(a, r) {
14972
+ function Yl(a, r) {
14980
14973
  var i = Ae(a), u = De(a), l = Ae(r), f = De(r);
14981
14974
  function g(v, d) {
14982
14975
  var _ = Ae(d), x = Ae(v) * _, p = De(v) * _, S = De(d), k = S * i + x * u;
@@ -14996,17 +14989,17 @@ function Wl(a, r) {
14996
14989
  function V0(a, r, i, u, l, f) {
14997
14990
  if (i) {
14998
14991
  var g = Ae(r), v = De(r), d = u * i;
14999
- l == null ? (l = r + u * zt, f = r - d / 2) : (l = Xl(g, l), f = Xl(g, f), (u > 0 ? l < f : l > f) && (l += u * zt));
14992
+ l == null ? (l = r + u * zt, f = r - d / 2) : (l = Wl(g, l), f = Wl(g, f), (u > 0 ? l < f : l > f) && (l += u * zt));
15000
14993
  for (var _, x = l; u > 0 ? x > f : x < f; x -= d)
15001
14994
  _ = wa([g, -v * Ae(x), -v * De(x)]), a.point(_[0], _[1]);
15002
14995
  }
15003
14996
  }
15004
- function Xl(a, r) {
14997
+ function Wl(a, r) {
15005
14998
  r = ur(r), r[0] -= a, Na(r);
15006
- var i = xf(-r[1]);
14999
+ var i = kf(-r[1]);
15007
15000
  return ((-r[2] < 0 ? -i : i) + zt - be) % zt;
15008
15001
  }
15009
- function If() {
15002
+ function Sf() {
15010
15003
  var a = [], r;
15011
15004
  return {
15012
15005
  point: function(i, u) {
@@ -15073,18 +15066,18 @@ function H0(a, r, i, u, l, f) {
15073
15066
  }
15074
15067
  }
15075
15068
  }
15076
- function Ni(a, r) {
15069
+ function Li(a, r) {
15077
15070
  return We(a[0] - r[0]) < be && We(a[1] - r[1]) < be;
15078
15071
  }
15079
15072
  function gi(a, r, i, u) {
15080
15073
  this.x = a, this.z = r, this.o = i, this.e = u, this.v = !1, this.n = this.p = null;
15081
15074
  }
15082
- function bf(a, r, i, u, l) {
15075
+ function If(a, r, i, u, l) {
15083
15076
  var f = [], g = [], v, d;
15084
15077
  if (a.forEach(function(I) {
15085
15078
  if (!((C = I.length - 1) <= 0)) {
15086
15079
  var C, L = I[0], M = I[C], P;
15087
- if (Ni(L, M)) {
15080
+ if (Li(L, M)) {
15088
15081
  for (l.lineStart(), v = 0; v < C; ++v)
15089
15082
  l.point((L = I[v])[0], L[1]);
15090
15083
  l.lineEnd();
@@ -15093,7 +15086,7 @@ function bf(a, r, i, u, l) {
15093
15086
  f.push(P = new gi(L, I, null, !0)), g.push(P.o = new gi(L, null, P, !1)), f.push(P = new gi(M, I, null, !1)), g.push(P.o = new gi(M, null, P, !0));
15094
15087
  }
15095
15088
  }), !!f.length) {
15096
- for (g.sort(r), jl(f), jl(g), v = 0, d = g.length; v < d; ++v)
15089
+ for (g.sort(r), Xl(f), Xl(g), v = 0, d = g.length; v < d; ++v)
15097
15090
  g[v].e = i = !i;
15098
15091
  for (var _ = f[0], x, p; ; ) {
15099
15092
  for (var S = _, k = !0; S.v; )
@@ -15122,14 +15115,14 @@ function bf(a, r, i, u, l) {
15122
15115
  }
15123
15116
  }
15124
15117
  }
15125
- function jl(a) {
15118
+ function Xl(a) {
15126
15119
  if (r = a.length) {
15127
15120
  for (var r, i = 0, u = a[0], l; ++i < r; )
15128
15121
  u.n = l = a[i], l.p = u, u = l;
15129
15122
  u.n = l = a[0], l.p = u;
15130
15123
  }
15131
15124
  }
15132
- function wf(a, r) {
15125
+ function bf(a, r) {
15133
15126
  return a < r ? -1 : a > r ? 1 : a >= r ? 0 : NaN;
15134
15127
  }
15135
15128
  function Z0(a) {
@@ -15152,11 +15145,11 @@ function Z0(a) {
15152
15145
  }
15153
15146
  function Q0(a) {
15154
15147
  return function(r, i) {
15155
- return wf(a(r), i);
15148
+ return bf(a(r), i);
15156
15149
  };
15157
15150
  }
15158
- Z0(wf);
15159
- function Nf(a) {
15151
+ Z0(bf);
15152
+ function wf(a) {
15160
15153
  for (var r = a.length, i, u = -1, l = 0, f, g; ++u < r; )
15161
15154
  l += a[u].length;
15162
15155
  for (f = new Array(l); --r >= 0; )
@@ -15189,7 +15182,7 @@ function K0(a, r, i, u) {
15189
15182
  return p !== S ? p - S : p === 0 ? x[1] - _[1] : p === 1 ? _[0] - x[0] : p === 2 ? _[1] - x[1] : x[0] - _[0];
15190
15183
  }
15191
15184
  return function(_) {
15192
- var x = _, p = If(), S, k, I, C, L, M, P, R, D, O, z, q = {
15185
+ var x = _, p = Sf(), S, k, I, C, L, M, P, R, D, O, z, q = {
15193
15186
  point: U,
15194
15187
  lineStart: Z,
15195
15188
  lineEnd: ae,
@@ -15209,8 +15202,8 @@ function K0(a, r, i, u) {
15209
15202
  x = p, S = [], k = [], z = !0;
15210
15203
  }
15211
15204
  function ee() {
15212
- var Q = A(), ie = z && Q, me = (S = Nf(S)).length;
15213
- (ie || me) && (_.polygonStart(), ie && (_.lineStart(), f(null, null, 1, _), _.lineEnd()), me && bf(S, v, Q, f, _), _.polygonEnd()), x = _, S = k = I = null;
15205
+ var Q = A(), ie = z && Q, me = (S = wf(S)).length;
15206
+ (ie || me) && (_.polygonStart(), ie && (_.lineStart(), f(null, null, 1, _), _.lineEnd()), me && If(S, v, Q, f, _), _.polygonEnd()), x = _, S = k = I = null;
15214
15207
  }
15215
15208
  function Z() {
15216
15209
  q.point = F, k && k.push(I = []), O = !0, D = !1, P = R = NaN;
@@ -15239,12 +15232,12 @@ function J0(a, r) {
15239
15232
  Zs.reset();
15240
15233
  for (var v = 0, d = a.length; v < d; ++v)
15241
15234
  if (x = (_ = a[v]).length)
15242
- for (var _, x, p = _[x - 1], S = p[0], k = p[1] / 2 + Bl, I = De(k), C = Ae(k), L = 0; L < x; ++L, S = P, I = D, C = O, p = M) {
15243
- var M = _[L], P = M[0], R = M[1] / 2 + Bl, D = De(R), O = Ae(R), z = P - S, q = z >= 0 ? 1 : -1, U = q * z, A = U > de, H = I * D;
15235
+ for (var _, x, p = _[x - 1], S = p[0], k = p[1] / 2 + Fl, I = De(k), C = Ae(k), L = 0; L < x; ++L, S = P, I = D, C = O, p = M) {
15236
+ var M = _[L], P = M[0], R = M[1] / 2 + Fl, D = De(R), O = Ae(R), z = P - S, q = z >= 0 ? 1 : -1, U = q * z, A = U > de, H = I * D;
15244
15237
  if (Zs.add(or(H * q * De(U), C * O + H * Ae(U))), f += A ? z + q * zt : z, A ^ S >= i ^ P >= i) {
15245
- var ee = Hi(ur(p), ur(M));
15238
+ var ee = Zi(ur(p), ur(M));
15246
15239
  Na(ee);
15247
- var Z = Hi(l, ee);
15240
+ var Z = Zi(l, ee);
15248
15241
  Na(Z);
15249
15242
  var ae = (A ^ z >= 0 ? -1 : 1) * Rn(Z[2]);
15250
15243
  (u > ae || u === ae && (ee[0] || ee[1])) && (g += A ^ z >= 0 ? 1 : -1);
@@ -15253,29 +15246,29 @@ function J0(a, r) {
15253
15246
  return (f < -be || f < be && Zs < -be) ^ g & 1;
15254
15247
  }
15255
15248
  pn();
15256
- function Vl(a) {
15249
+ function jl(a) {
15257
15250
  return a;
15258
15251
  }
15259
15252
  pn();
15260
15253
  pn();
15261
- var lr = 1 / 0, Zi = lr, jr = -lr, Qi = jr, Hl = {
15254
+ var lr = 1 / 0, Qi = lr, jr = -lr, Ki = jr, Vl = {
15262
15255
  point: $0,
15263
15256
  lineStart: Ar,
15264
15257
  lineEnd: Ar,
15265
15258
  polygonStart: Ar,
15266
15259
  polygonEnd: Ar,
15267
15260
  result: function() {
15268
- var a = [[lr, Zi], [jr, Qi]];
15269
- return jr = Qi = -(Zi = lr = 1 / 0), a;
15261
+ var a = [[lr, Qi], [jr, Ki]];
15262
+ return jr = Ki = -(Qi = lr = 1 / 0), a;
15270
15263
  }
15271
15264
  };
15272
15265
  function $0(a, r) {
15273
- a < lr && (lr = a), a > jr && (jr = a), r < Zi && (Zi = r), r > Qi && (Qi = r);
15266
+ a < lr && (lr = a), a > jr && (jr = a), r < Qi && (Qi = r), r > Ki && (Ki = r);
15274
15267
  }
15275
15268
  pn();
15276
- function Lf(a, r, i, u) {
15269
+ function Nf(a, r, i, u) {
15277
15270
  return function(l, f) {
15278
- var g = r(f), v = l.invert(u[0], u[1]), d = If(), _ = r(d), x = !1, p, S, k, I = {
15271
+ var g = r(f), v = l.invert(u[0], u[1]), d = Sf(), _ = r(d), x = !1, p, S, k, I = {
15279
15272
  point: C,
15280
15273
  lineStart: M,
15281
15274
  lineEnd: P,
@@ -15283,9 +15276,9 @@ function Lf(a, r, i, u) {
15283
15276
  I.point = R, I.lineStart = D, I.lineEnd = O, S = [], p = [];
15284
15277
  },
15285
15278
  polygonEnd: function() {
15286
- I.point = C, I.lineStart = M, I.lineEnd = P, S = Nf(S);
15279
+ I.point = C, I.lineStart = M, I.lineEnd = P, S = wf(S);
15287
15280
  var z = J0(p, v);
15288
- S.length ? (x || (f.polygonStart(), x = !0), bf(S, t_, z, i, f)) : z && (x || (f.polygonStart(), x = !0), f.lineStart(), i(null, null, 1, f), f.lineEnd()), x && (f.polygonEnd(), x = !1), S = p = null;
15281
+ S.length ? (x || (f.polygonStart(), x = !0), If(S, t_, z, i, f)) : z && (x || (f.polygonStart(), x = !0), f.lineStart(), i(null, null, 1, f), f.lineEnd()), x && (f.polygonEnd(), x = !1), S = p = null;
15289
15282
  },
15290
15283
  sphere: function() {
15291
15284
  f.polygonStart(), f.lineStart(), i(null, null, 1, f), f.lineEnd(), f.polygonEnd();
@@ -15337,7 +15330,7 @@ function e_(a) {
15337
15330
  function t_(a, r) {
15338
15331
  return ((a = a.x)[0] < 0 ? a[1] - Gt - be : Gt - a[1]) - ((r = r.x)[0] < 0 ? r[1] - Gt - be : Gt - r[1]);
15339
15332
  }
15340
- const Zl = Lf(
15333
+ const Hl = Nf(
15341
15334
  function() {
15342
15335
  return !0;
15343
15336
  },
@@ -15393,13 +15386,13 @@ function s_(a, r) {
15393
15386
  },
15394
15387
  point: function(L, M) {
15395
15388
  var P = [L, M], R, D = g(L, M), O = u ? D ? 0 : _(L, M) : D ? _(L + (L < 0 ? de : -de), M) : 0;
15396
- if (!p && (I = k = D) && x.lineStart(), D !== k && (R = d(p, P), (!R || Ni(p, R) || Ni(P, R)) && (P[0] += be, P[1] += be, D = g(P[0], P[1]))), D !== k)
15389
+ if (!p && (I = k = D) && x.lineStart(), D !== k && (R = d(p, P), (!R || Li(p, R) || Li(P, R)) && (P[0] += be, P[1] += be, D = g(P[0], P[1]))), D !== k)
15397
15390
  C = 0, D ? (x.lineStart(), R = d(P, p), x.point(R[0], R[1])) : (R = d(p, P), x.point(R[0], R[1]), x.lineEnd()), p = R;
15398
15391
  else if (l && p && u ^ D) {
15399
15392
  var z;
15400
15393
  !(O & S) && (z = d(P, p, !0)) && (C = 0, u ? (x.lineStart(), x.point(z[0][0], z[0][1]), x.point(z[1][0], z[1][1]), x.lineEnd()) : (x.point(z[1][0], z[1][1]), x.lineEnd(), x.lineStart(), x.point(z[0][0], z[0][1])));
15401
15394
  }
15402
- D && (!p || !Ni(p, P)) && x.point(P[0], P[1]), p = P, k = D, S = O;
15395
+ D && (!p || !Li(p, P)) && x.point(P[0], P[1]), p = P, k = D, S = O;
15403
15396
  },
15404
15397
  lineEnd: function() {
15405
15398
  k && x.lineEnd(), p = null;
@@ -15412,10 +15405,10 @@ function s_(a, r) {
15412
15405
  };
15413
15406
  }
15414
15407
  function d(x, p, S) {
15415
- var k = ur(x), I = ur(p), C = [1, 0, 0], L = Hi(k, I), M = fi(L, L), P = L[0], R = M - P * P;
15408
+ var k = ur(x), I = ur(p), C = [1, 0, 0], L = Zi(k, I), M = fi(L, L), P = L[0], R = M - P * P;
15416
15409
  if (!R)
15417
15410
  return !S && x;
15418
- var D = i * M / R, O = -i * P / R, z = Hi(C, L), q = hi(C, D), U = hi(L, O);
15411
+ var D = i * M / R, O = -i * P / R, z = Zi(C, L), q = hi(C, D), U = hi(L, O);
15419
15412
  Hs(q, U);
15420
15413
  var A = z, H = fi(q, A), ee = fi(A, A), Z = H * H - ee * (fi(q, q) - 1);
15421
15414
  if (!(Z < 0)) {
@@ -15435,9 +15428,9 @@ function s_(a, r) {
15435
15428
  var S = u ? a : de - a, k = 0;
15436
15429
  return x < -S ? k |= 1 : x > S && (k |= 2), p < -S ? k |= 4 : p > S && (k |= 8), k;
15437
15430
  }
15438
- return Lf(g, v, f, u ? [0, -a] : [-de, a - de]);
15431
+ return Nf(g, v, f, u ? [0, -a] : [-de, a - de]);
15439
15432
  }
15440
- function Tf(a) {
15433
+ function Lf(a) {
15441
15434
  return function(r) {
15442
15435
  var i = new Ta();
15443
15436
  for (var u in a)
@@ -15468,21 +15461,21 @@ Ta.prototype = {
15468
15461
  this.stream.polygonEnd();
15469
15462
  }
15470
15463
  };
15471
- function Cf(a, r, i) {
15464
+ function Tf(a, r, i) {
15472
15465
  var u = r[1][0] - r[0][0], l = r[1][1] - r[0][1], f = a.clipExtent && a.clipExtent();
15473
- a.scale(150).translate([0, 0]), f != null && a.clipExtent(null), X0(i, a.stream(Hl));
15474
- var g = Hl.result(), v = Math.min(u / (g[1][0] - g[0][0]), l / (g[1][1] - g[0][1])), d = +r[0][0] + (u - v * (g[1][0] + g[0][0])) / 2, _ = +r[0][1] + (l - v * (g[1][1] + g[0][1])) / 2;
15466
+ a.scale(150).translate([0, 0]), f != null && a.clipExtent(null), X0(i, a.stream(Vl));
15467
+ var g = Vl.result(), v = Math.min(u / (g[1][0] - g[0][0]), l / (g[1][1] - g[0][1])), d = +r[0][0] + (u - v * (g[1][0] + g[0][0])) / 2, _ = +r[0][1] + (l - v * (g[1][1] + g[0][1])) / 2;
15475
15468
  return f != null && a.clipExtent(f), a.scale(v * 150).translate([d, _]);
15476
15469
  }
15477
15470
  function a_(a, r, i) {
15478
- return Cf(a, [[0, 0], r], i);
15471
+ return Tf(a, [[0, 0], r], i);
15479
15472
  }
15480
- var Ql = 16, o_ = Ae(30 * _t);
15481
- function Kl(a, r) {
15473
+ var Zl = 16, o_ = Ae(30 * _t);
15474
+ function Ql(a, r) {
15482
15475
  return +r ? l_(a, r) : u_(a);
15483
15476
  }
15484
15477
  function u_(a) {
15485
- return Tf({
15478
+ return Lf({
15486
15479
  point: function(r, i) {
15487
15480
  r = a(r, i), this.stream.point(r[0], r[1]);
15488
15481
  }
@@ -15516,7 +15509,7 @@ function l_(a, r) {
15516
15509
  }
15517
15510
  function R(U, A) {
15518
15511
  var H = ur([U, A]), ee = a(U, A);
15519
- i(p, S, x, k, I, C, p = ee[0], S = ee[1], x = U, k = H[0], I = H[1], C = H[2], Ql, u), u.point(p, S);
15512
+ i(p, S, x, k, I, C, p = ee[0], S = ee[1], x = U, k = H[0], I = H[1], C = H[2], Zl, u), u.point(p, S);
15520
15513
  }
15521
15514
  function D() {
15522
15515
  L.point = M, u.lineEnd();
@@ -15528,12 +15521,12 @@ function l_(a, r) {
15528
15521
  R(l = U, A), f = p, g = S, v = k, d = I, _ = C, L.point = R;
15529
15522
  }
15530
15523
  function q() {
15531
- i(p, S, x, k, I, C, f, g, l, v, d, _, Ql, u), L.lineEnd = D, D();
15524
+ i(p, S, x, k, I, C, f, g, l, v, d, _, Zl, u), L.lineEnd = D, D();
15532
15525
  }
15533
15526
  return L;
15534
15527
  };
15535
15528
  }
15536
- var c_ = Tf({
15529
+ var c_ = Lf({
15537
15530
  point: function(a, r) {
15538
15531
  this.stream.point(a * _t, r * _t);
15539
15532
  }
@@ -15544,7 +15537,7 @@ function f_(a) {
15544
15537
  })();
15545
15538
  }
15546
15539
  function h_(a) {
15547
- var r, i = 150, u = 480, l = 250, f, g, v = 0, d = 0, _ = 0, x = 0, p = 0, S, k, I = null, C = Zl, L = null, M, P, R, D = Vl, O = 0.5, z = Kl(ee, O), q, U;
15540
+ var r, i = 150, u = 480, l = 250, f, g, v = 0, d = 0, _ = 0, x = 0, p = 0, S, k, I = null, C = Hl, L = null, M, P, R, D = jl, O = 0.5, z = Ql(ee, O), q, U;
15548
15541
  function A(F) {
15549
15542
  return F = k(F[0] * _t, F[1] * _t), [F[0] * i + f, g - F[1] * i];
15550
15543
  }
@@ -15557,9 +15550,9 @@ function h_(a) {
15557
15550
  A.stream = function(F) {
15558
15551
  return q && U === F ? q : q = c_(C(S, z(D(U = F))));
15559
15552
  }, A.clipAngle = function(F) {
15560
- return arguments.length ? (C = +F ? s_(I = F * _t, 6 * _t) : (I = null, Zl), ae()) : I * rn;
15553
+ return arguments.length ? (C = +F ? s_(I = F * _t, 6 * _t) : (I = null, Hl), ae()) : I * rn;
15561
15554
  }, A.clipExtent = function(F) {
15562
- return arguments.length ? (D = F == null ? (L = M = P = R = null, Vl) : K0(L = +F[0][0], M = +F[0][1], P = +F[1][0], R = +F[1][1]), ae()) : L == null ? null : [[L, M], [P, R]];
15555
+ return arguments.length ? (D = F == null ? (L = M = P = R = null, jl) : K0(L = +F[0][0], M = +F[0][1], P = +F[1][0], R = +F[1][1]), ae()) : L == null ? null : [[L, M], [P, R]];
15563
15556
  }, A.scale = function(F) {
15564
15557
  return arguments.length ? (i = +F, Z()) : i;
15565
15558
  }, A.translate = function(F) {
@@ -15569,14 +15562,14 @@ function h_(a) {
15569
15562
  }, A.rotate = function(F) {
15570
15563
  return arguments.length ? (_ = F[0] % 360 * _t, x = F[1] % 360 * _t, p = F.length > 2 ? F[2] % 360 * _t : 0, Z()) : [_ * rn, x * rn, p * rn];
15571
15564
  }, A.precision = function(F) {
15572
- return arguments.length ? (z = Kl(ee, O = F * F), ae()) : yr(O);
15565
+ return arguments.length ? (z = Ql(ee, O = F * F), ae()) : yr(O);
15573
15566
  }, A.fitExtent = function(F, Q) {
15574
- return Cf(A, F, Q);
15567
+ return Tf(A, F, Q);
15575
15568
  }, A.fitSize = function(F, Q) {
15576
15569
  return a_(A, F, Q);
15577
15570
  };
15578
15571
  function Z() {
15579
- k = Sf(S = j0(_, x, p), r);
15572
+ k = xf(S = j0(_, x, p), r);
15580
15573
  var F = r(v, d);
15581
15574
  return f = u - F[0] * i, g = l + F[1] * i, ae();
15582
15575
  }
@@ -15587,7 +15580,7 @@ function h_(a) {
15587
15580
  return r = a.apply(this, arguments), A.invert = r.invert && H, Z();
15588
15581
  };
15589
15582
  }
15590
- function Of(a) {
15583
+ function Cf(a) {
15591
15584
  return function(r, i) {
15592
15585
  var u = Ae(r), l = Ae(i), f = a(u * l);
15593
15586
  return [
@@ -15596,7 +15589,7 @@ function Of(a) {
15596
15589
  ];
15597
15590
  };
15598
15591
  }
15599
- function Rf(a) {
15592
+ function Of(a) {
15600
15593
  return function(r, i) {
15601
15594
  var u = yr(r * r + i * i), l = a(u), f = De(l), g = Ae(l);
15602
15595
  return [
@@ -15605,27 +15598,27 @@ function Rf(a) {
15605
15598
  ];
15606
15599
  };
15607
15600
  }
15608
- var g_ = Of(function(a) {
15601
+ var g_ = Cf(function(a) {
15609
15602
  return yr(2 / (1 + a));
15610
15603
  });
15611
- g_.invert = Rf(function(a) {
15604
+ g_.invert = Of(function(a) {
15612
15605
  return 2 * Rn(a / 2);
15613
15606
  });
15614
- var Mf = Of(function(a) {
15615
- return (a = xf(a)) && a / De(a);
15607
+ var Rf = Cf(function(a) {
15608
+ return (a = kf(a)) && a / De(a);
15616
15609
  });
15617
- Mf.invert = Rf(function(a) {
15610
+ Rf.invert = Of(function(a) {
15618
15611
  return a;
15619
15612
  });
15620
15613
  function y_() {
15621
- return f_(Mf).scale(79.4188).clipAngle(180 - 1e-3);
15614
+ return f_(Rf).scale(79.4188).clipAngle(180 - 1e-3);
15622
15615
  }
15623
- function Jl(a, r) {
15616
+ function Kl(a, r) {
15624
15617
  return [a, r];
15625
15618
  }
15626
- Jl.invert = Jl;
15619
+ Kl.invert = Kl;
15627
15620
  var v_ = Object.defineProperty, vr = (a, r) => v_(a, "name", { value: r, configurable: !0 }), { BufferOp: m_, GeoJSONReader: d_, GeoJSONWriter: p_ } = Y0;
15628
- function Pf(a, r, i) {
15621
+ function Mf(a, r, i) {
15629
15622
  i = i || {};
15630
15623
  var u = i.units || "kilometers", l = i.steps || 8;
15631
15624
  if (!a)
@@ -15646,16 +15639,16 @@ function Pf(a, r, i) {
15646
15639
  v && f.push(v);
15647
15640
  }), qt(f);
15648
15641
  case "FeatureCollection":
15649
- return Xi(a, function(g) {
15642
+ return ji(a, function(g) {
15650
15643
  var v = zr(g, r, u, l);
15651
- v && Xi(v, function(d) {
15644
+ v && ji(v, function(d) {
15652
15645
  d && f.push(d);
15653
15646
  });
15654
15647
  }), qt(f);
15655
15648
  }
15656
15649
  return zr(a, r, u, l);
15657
15650
  }
15658
- vr(Pf, "buffer");
15651
+ vr(Mf, "buffer");
15659
15652
  function zr(a, r, i, u) {
15660
15653
  var l = a.properties || {}, f = a.type === "Feature" ? a.geometry : a;
15661
15654
  if (f.type === "GeometryCollection") {
@@ -15665,10 +15658,10 @@ function zr(a, r, i, u) {
15665
15658
  L && g.push(L);
15666
15659
  }), qt(g);
15667
15660
  }
15668
- var v = Af(f), d = {
15661
+ var v = Pf(f), d = {
15669
15662
  type: f.type,
15670
15663
  coordinates: Ka(f.coordinates, v)
15671
- }, _ = new d_(), x = _.read(d), p = Va(ts(r, i), "meters"), S = m_.bufferOp(x, p, u), k = new p_();
15664
+ }, _ = new d_(), x = _.read(d), p = Va(ns(r, i), "meters"), S = m_.bufferOp(x, p, u), k = new p_();
15672
15665
  if (S = k.write(S), !Qa(S.coordinates)) {
15673
15666
  var I = {
15674
15667
  type: S.type,
@@ -15694,29 +15687,29 @@ function Ja(a, r) {
15694
15687
  });
15695
15688
  }
15696
15689
  vr(Ja, "unprojectCoords");
15697
- function Af(a) {
15698
- var r = Ef(a).geometry.coordinates, i = [-r[0], -r[1]];
15690
+ function Pf(a) {
15691
+ var r = _f(a).geometry.coordinates, i = [-r[0], -r[1]];
15699
15692
  return y_().rotate(i).scale(it);
15700
15693
  }
15701
- vr(Af, "defineProjection");
15702
- var __ = Pf, E_ = Object.defineProperty, k_ = (a, r) => E_(a, "name", { value: r, configurable: !0 });
15703
- function Df(a) {
15694
+ vr(Pf, "defineProjection");
15695
+ var __ = Mf, E_ = Object.defineProperty, k_ = (a, r) => E_(a, "name", { value: r, configurable: !0 });
15696
+ function Af(a) {
15704
15697
  const r = [];
15705
15698
  if (An(a, (l) => {
15706
15699
  r.push(l.coordinates);
15707
15700
  }), r.length < 2)
15708
15701
  throw new Error("Must have at least two features");
15709
- const i = a.features[0].properties || {}, u = yf.difference(r[0], ...r.slice(1));
15710
- return u.length === 0 ? null : u.length === 1 ? hr(u[0], i) : es(u, i);
15702
+ const i = a.features[0].properties || {}, u = gf.difference(r[0], ...r.slice(1));
15703
+ return u.length === 0 ? null : u.length === 1 ? hr(u[0], i) : ts(u, i);
15711
15704
  }
15712
- k_(Df, "difference");
15713
- var x_ = Df;
15714
- function $l(a) {
15705
+ k_(Af, "difference");
15706
+ var x_ = Af;
15707
+ function Jl(a) {
15715
15708
  let r;
15716
15709
  for (const i of a)
15717
15710
  r && i[0] - r[0] >= 180 ? i[0] -= 360 : r && i[0] - r[0] < -180 && (i[0] += 360), r = i;
15718
15711
  }
15719
- function ec(a, r) {
15712
+ function $l(a, r) {
15720
15713
  const i = x_(
15721
15714
  qt([
15722
15715
  hr([
@@ -15738,11 +15731,11 @@ function ec(a, r) {
15738
15731
  if (u) {
15739
15732
  if (u.geometry.type === "Polygon")
15740
15733
  for (const l of u.geometry.coordinates)
15741
- $l(l);
15734
+ Jl(l);
15742
15735
  else
15743
15736
  for (const l of u.geometry.coordinates)
15744
15737
  for (const f of l)
15745
- $l(f);
15738
+ Jl(f);
15746
15739
  r(qt([u, i]));
15747
15740
  }
15748
15741
  }
@@ -15772,7 +15765,7 @@ function S_(a, r = !0, i = !0, u = {}, l = {}, f = (g) => {
15772
15765
  };
15773
15766
  function S(k, I = !1) {
15774
15767
  const C = document.createElement("div");
15775
- return new Eg({ props: { displayIn: "leaflet" }, target: C }), new Zt.Marker(k, {
15768
+ return new _g({ props: { displayIn: "leaflet" }, target: C }), new Zt.Marker(k, {
15776
15769
  interactive: I,
15777
15770
  icon: new Zt.DivIcon({
15778
15771
  html: C,
@@ -15830,7 +15823,7 @@ function S_(a, r = !0, i = !0, u = {}, l = {}, f = (g) => {
15830
15823
  );
15831
15824
  if (!R)
15832
15825
  break e;
15833
- ec(
15826
+ $l(
15834
15827
  {
15835
15828
  ...I,
15836
15829
  geometry: R.geometry
@@ -15849,7 +15842,7 @@ function S_(a, r = !0, i = !0, u = {}, l = {}, f = (g) => {
15849
15842
  }
15850
15843
  if (!L) {
15851
15844
  if (I.geometry.type === "Polygon" || I.geometry.type === "MultiPolygon")
15852
- ec(I, C);
15845
+ $l(I, C);
15853
15846
  else if (I.geometry.type === "LineString" || I.geometry.type === "MultiLineString") {
15854
15847
  C(I);
15855
15848
  return;
@@ -15898,8 +15891,8 @@ var Et, Tn;
15898
15891
  class I_ extends Zt.Control {
15899
15892
  constructor(i) {
15900
15893
  super();
15901
- Is(this, Et, void 0);
15902
- Is(this, Tn, void 0);
15894
+ bs(this, Et, void 0);
15895
+ bs(this, Tn, void 0);
15903
15896
  si(this, Tn, i);
15904
15897
  }
15905
15898
  onAdd(i) {
@@ -15919,7 +15912,7 @@ class I_ extends Zt.Control {
15919
15912
  _,
15920
15913
  v
15921
15914
  );
15922
- si(this, Et, new Wg({
15915
+ si(this, Et, new Yg({
15923
15916
  target: u,
15924
15917
  props: {
15925
15918
  mapController: x,