@kong-ui-public/analytics-geo-map 1.4.44 → 1.4.46-pr.2798.61f826492.0

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.
@@ -1,14 +1,14 @@
1
- import { computed as U, defineComponent as Dt, createElementBlock as ae, openBlock as $, createCommentVNode as Ne, toDisplayString as we, Fragment as Kr, renderList as Wr, createElementVNode as X, normalizeStyle as Zr, useCssVars as qr, toRef as Be, ref as De, useId as Jr, onMounted as Xr, watch as dt, createBlock as nn, renderSlot as mt, createVNode as Qr, unref as ue, createTextVNode as ea } from "vue";
2
- import { Map as ta } from "maplibre-gl";
3
- import { createI18n as na, i18nTComponent as ra } from "@kong-ui-public/i18n";
4
- import { AnalyticsIcon as aa } from "@kong/icons";
5
- const ia = {
1
+ import { computed as U, defineComponent as Dt, createElementBlock as ae, openBlock as $, createCommentVNode as ke, toDisplayString as we, Fragment as Wr, renderList as Zr, createElementVNode as X, normalizeStyle as qr, useCssVars as Jr, toRef as Be, ref as Ne, useId as Xr, onMounted as Qr, watch as dt, createBlock as nn, renderSlot as mt, createVNode as ea, unref as ue, createTextVNode as ta } from "vue";
2
+ import { Map as na } from "maplibre-gl";
3
+ import { createI18n as ra, i18nTComponent as aa } from "@kong-ui-public/i18n";
4
+ import { AnalyticsIcon as ia } from "@kong/icons";
5
+ const oa = {
6
6
  ms: "ms",
7
7
  bytes: "Byte{plural}",
8
8
  count: "request{plural}",
9
9
  "count/minute": "rpm",
10
10
  requests: "request{plural}"
11
- }, oa = {
11
+ }, sa = {
12
12
  request_count: "Request count",
13
13
  request_per_minute: "Requests per minute",
14
14
  response_latency_average: "Response latency (avg)",
@@ -33,27 +33,27 @@ const ia = {
33
33
  request_size_p95: "Request size (p95)",
34
34
  request_size_p50: "Request size (p50)",
35
35
  request_size_sum: "Request size (sum)"
36
- }, sa = {
36
+ }, la = {
37
37
  windows_zoom_help_text: "Use Ctrl + Scroll to zoom the map",
38
38
  mac_zoom_help_text: "Use ⌘ + Scroll to zoom the map",
39
39
  mobile_zoom_help_text: "Use two fingers to zoom the map"
40
- }, la = "No data in the current time frame", ua = "Once there is traffic, it will display here", ca = {
41
- metricUnits: ia,
42
- metrics: oa,
43
- cooperative_gestures: sa,
44
- no_location_data: la,
45
- no_location_data_description: ua
40
+ }, ua = "No data in the current time frame", ca = "Once there is traffic, it will display here", da = {
41
+ metricUnits: oa,
42
+ metrics: sa,
43
+ cooperative_gestures: la,
44
+ no_location_data: ua,
45
+ no_location_data_description: ca
46
46
  };
47
- function da() {
48
- const e = na("en-us", ca);
47
+ function ma() {
48
+ const e = ra("en-us", da);
49
49
  return {
50
50
  i18n: e,
51
- i18nT: ra(e)
51
+ i18nT: aa(e)
52
52
  // Translation component <i18n-t>
53
53
  };
54
54
  }
55
- var ma = Object.defineProperty, fa = (e, t, n) => t in e ? ma(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, P = (e, t, n) => fa(e, typeof t != "symbol" ? t + "" : t, n), h = /* @__PURE__ */ ((e) => (e.FIFTEEN_MIN = "15m", e.ONE_HOUR = "1h", e.SIX_HOUR = "6h", e.TWELVE_HOUR = "12h", e.ONE_DAY = "24h", e.SEVEN_DAY = "7d", e.THIRTY_DAY = "30d", e.NINETY_DAY = "90d", e.ONE_HUNDRED_EIGHTY_DAY = "180d", e.ONE_YEAR = "365d", e.CURRENT_WEEK = "current_week", e.CURRENT_MONTH = "current_month", e.CURRENT_QUARTER = "current_quarter", e.CURRENT_YEAR = "current_year", e.PREVIOUS_WEEK = "previous_week", e.PREVIOUS_MONTH = "previous_month", e.PREVIOUS_QUARTER = "previous_quarter", e.PREVIOUS_YEAR = "previous_year", e))(h || {});
56
- const pa = ["in", "not_in", "selector"], ha = ["empty", "not_empty"], ya = [
55
+ var fa = Object.defineProperty, pa = (e, t, n) => t in e ? fa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, I = (e, t, n) => pa(e, typeof t != "symbol" ? t + "" : t, n), h = /* @__PURE__ */ ((e) => (e.FIFTEEN_MIN = "15m", e.ONE_HOUR = "1h", e.SIX_HOUR = "6h", e.TWELVE_HOUR = "12h", e.ONE_DAY = "24h", e.SEVEN_DAY = "7d", e.THIRTY_DAY = "30d", e.NINETY_DAY = "90d", e.ONE_HUNDRED_EIGHTY_DAY = "180d", e.ONE_YEAR = "365d", e.CURRENT_WEEK = "current_week", e.CURRENT_MONTH = "current_month", e.CURRENT_QUARTER = "current_quarter", e.CURRENT_YEAR = "current_year", e.PREVIOUS_WEEK = "previous_week", e.PREVIOUS_MONTH = "previous_month", e.PREVIOUS_QUARTER = "previous_quarter", e.PREVIOUS_YEAR = "previous_year", e))(h || {});
56
+ const ha = ["in", "not_in", "selector"], ya = ["empty", "not_empty"], _a = [
57
57
  "15m",
58
58
  "1h",
59
59
  "6h",
@@ -65,7 +65,7 @@ const pa = ["in", "not_in", "selector"], ha = ["empty", "not_empty"], ya = [
65
65
  "30d",
66
66
  "current_month",
67
67
  "previous_month"
68
- ], be = (e) => e.filter((t) => t !== "time"), Mn = [
68
+ ], xe = (e) => e.filter((t) => t !== "time"), Mn = [
69
69
  "api",
70
70
  "api_package",
71
71
  "api_product",
@@ -79,7 +79,7 @@ const pa = ["in", "not_in", "selector"], ha = ["empty", "not_empty"], ya = [
79
79
  "status_code",
80
80
  "status_code_grouped",
81
81
  "time"
82
- ], Tn = be(Mn), _a = [
82
+ ], Tn = xe(Mn), Sn = [
83
83
  ...Mn,
84
84
  "application",
85
85
  "consumer",
@@ -90,7 +90,7 @@ const pa = ["in", "not_in", "selector"], ha = ["empty", "not_empty"], ya = [
90
90
  "data_plane_node_version",
91
91
  "realm",
92
92
  "portal_api"
93
- ], Sn = be(_a), ga = [
93
+ ], Dn = xe(Sn), ga = [
94
94
  "control_plane",
95
95
  "control_plane_group",
96
96
  "gateway_service",
@@ -108,7 +108,7 @@ const pa = ["in", "not_in", "selector"], ha = ["empty", "not_empty"], ya = [
108
108
  "status_code",
109
109
  "status_code_grouped",
110
110
  "ai_plugin"
111
- ], Dn = be(ga), wa = [
111
+ ], Nn = xe(ga), wa = [
112
112
  "api",
113
113
  "api_package",
114
114
  "api_product",
@@ -144,7 +144,7 @@ const pa = ["in", "not_in", "selector"], ha = ["empty", "not_empty"], ya = [
144
144
  "upstream_status_code_grouped",
145
145
  "websocket"
146
146
  ];
147
- be(wa);
147
+ xe(wa);
148
148
  const va = [
149
149
  "ai_count",
150
150
  "latencies_response_ms",
@@ -156,8 +156,15 @@ const va = [
156
156
  "status_code",
157
157
  "upstream_status_code"
158
158
  ];
159
- be(va);
160
- new Set(Tn), new Set(Sn), new Set(Dn);
159
+ xe(va);
160
+ const xa = [
161
+ ...Sn,
162
+ "mcp_session_id",
163
+ "mcp_method",
164
+ "mcp_tool_name",
165
+ "mcp_error"
166
+ ], Fa = xe(xa);
167
+ new Set(Tn), new Set(Dn), new Set(Nn), new Set(Fa);
161
168
  const Nt = [
162
169
  { code: "AF", name: "Afghanistan" },
163
170
  { code: "AX", name: "Aland Islands" },
@@ -407,7 +414,7 @@ const Nt = [
407
414
  { code: "ZW", name: "Zimbabwe" }
408
415
  ];
409
416
  Nt.map((e) => e.code);
410
- const xa = (e) => ({
417
+ const Ma = (e) => ({
411
418
  type: "array",
412
419
  description: "A list of filters to apply to the query",
413
420
  items: {
@@ -422,7 +429,7 @@ const xa = (e) => ({
422
429
  },
423
430
  operator: {
424
431
  type: "string",
425
- enum: pa
432
+ enum: ha
426
433
  },
427
434
  value: {
428
435
  type: "array",
@@ -448,7 +455,7 @@ const xa = (e) => ({
448
455
  },
449
456
  operator: {
450
457
  type: "string",
451
- enum: ha
458
+ enum: ya
452
459
  }
453
460
  },
454
461
  required: [
@@ -460,35 +467,35 @@ const xa = (e) => ({
460
467
  ]
461
468
  }
462
469
  });
463
- xa([.../* @__PURE__ */ new Set([...Sn, ...Tn, ...Dn])]);
464
- let Fa = {};
465
- function Ma() {
466
- return Fa;
470
+ Ma([.../* @__PURE__ */ new Set([...Dn, ...Tn, ...Nn])]);
471
+ let Ta = {};
472
+ function Sa() {
473
+ return Ta;
467
474
  }
468
- const Ta = 60, Sa = 3600, rn = Symbol.for("constructDateFrom");
469
- function Re(e, t) {
475
+ const Da = 60, Na = 3600, rn = Symbol.for("constructDateFrom");
476
+ function Oe(e, t) {
470
477
  return typeof e == "function" ? e(t) : e && typeof e == "object" && rn in e ? e[rn](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
471
478
  }
472
- function xe(e, t) {
473
- return Re(t || e, e);
479
+ function Fe(e, t) {
480
+ return Oe(t || e, e);
474
481
  }
475
482
  function ft(e, t) {
476
- const n = xe(e, void 0);
483
+ const n = Fe(e, void 0);
477
484
  return n.setHours(0, 0, 0, 0), n;
478
485
  }
479
486
  function ze(e, t) {
480
487
  var n, a, i, o;
481
- const l = Ma(), m = (t == null ? void 0 : t.weekStartsOn) ?? ((a = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : a.weekStartsOn) ?? l.weekStartsOn ?? ((o = (i = l.locale) == null ? void 0 : i.options) == null ? void 0 : o.weekStartsOn) ?? 0, f = xe(e, t == null ? void 0 : t.in), d = f.getDay(), c = (d < m ? 7 : 0) + d - m;
488
+ const l = Sa(), m = (t == null ? void 0 : t.weekStartsOn) ?? ((a = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : a.weekStartsOn) ?? l.weekStartsOn ?? ((o = (i = l.locale) == null ? void 0 : i.options) == null ? void 0 : o.weekStartsOn) ?? 0, f = Fe(e, t == null ? void 0 : t.in), d = f.getDay(), c = (d < m ? 7 : 0) + d - m;
482
489
  return f.setDate(f.getDate() - c), f.setHours(0, 0, 0, 0), f;
483
490
  }
484
491
  function pt(e, t, n) {
485
- const a = xe(e, void 0);
486
- return isNaN(t) ? Re(e, NaN) : (a.setDate(a.getDate() + t), a);
492
+ const a = Fe(e, void 0);
493
+ return isNaN(t) ? Oe(e, NaN) : (a.setDate(a.getDate() + t), a);
487
494
  }
488
- function Da(e, t, n) {
489
- const a = xe(e, void 0);
490
- if (isNaN(t)) return Re(e, NaN);
491
- const i = a.getDate(), o = Re(e, a.getTime());
495
+ function ka(e, t, n) {
496
+ const a = Fe(e, void 0);
497
+ if (isNaN(t)) return Oe(e, NaN);
498
+ const i = a.getDate(), o = Oe(e, a.getTime());
492
499
  o.setMonth(a.getMonth() + t + 1, 0);
493
500
  const l = o.getDate();
494
501
  return i >= l ? o : (a.setFullYear(
@@ -498,28 +505,28 @@ function Da(e, t, n) {
498
505
  ), a);
499
506
  }
500
507
  function ge(e, t) {
501
- const n = xe(e, void 0);
508
+ const n = Fe(e, void 0);
502
509
  return n.setDate(1), n.setHours(0, 0, 0, 0), n;
503
510
  }
504
- function Na(e, t) {
505
- const n = xe(e, void 0), a = n.getFullYear(), i = n.getMonth(), o = Re(n, 0);
511
+ function Ea(e, t) {
512
+ const n = Fe(e, void 0), a = n.getFullYear(), i = n.getMonth(), o = Oe(n, 0);
506
513
  return o.setFullYear(a, i + 1, 0), o.setHours(0, 0, 0, 0), o.getDate();
507
514
  }
508
515
  function an(e) {
509
- return Math.trunc(e * Sa);
516
+ return Math.trunc(e * Na);
510
517
  }
511
- function ka(e) {
512
- const t = e / Ta;
518
+ function Ra(e) {
519
+ const t = e / Da;
513
520
  return Math.trunc(t);
514
521
  }
515
- function Nn(e, t, n) {
516
- return Da(e, -1);
522
+ function kn(e, t, n) {
523
+ return ka(e, -1);
517
524
  }
518
- function Ea(e, t) {
525
+ function Oa(e, t) {
519
526
  const n = Ia(t);
520
- return "formatToParts" in n ? Oa(n, e) : ba(n, e);
527
+ return "formatToParts" in n ? La(n, e) : Ga(n, e);
521
528
  }
522
- const Ra = {
529
+ const ba = {
523
530
  year: 0,
524
531
  month: 1,
525
532
  day: 2,
@@ -527,11 +534,11 @@ const Ra = {
527
534
  minute: 4,
528
535
  second: 5
529
536
  };
530
- function Oa(e, t) {
537
+ function La(e, t) {
531
538
  try {
532
539
  const n = e.formatToParts(t), a = [];
533
540
  for (let i = 0; i < n.length; i++) {
534
- const o = Ra[n[i].type];
541
+ const o = ba[n[i].type];
535
542
  o !== void 0 && (a[o] = parseInt(n[i].value, 10));
536
543
  }
537
544
  return a;
@@ -541,7 +548,7 @@ function Oa(e, t) {
541
548
  throw n;
542
549
  }
543
550
  }
544
- function ba(e, t) {
551
+ function Ga(e, t) {
545
552
  const n = e.format(t), a = /(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);
546
553
  return [
547
554
  parseInt(a[3], 10),
@@ -561,9 +568,9 @@ const ht = {}, on = new Intl.DateTimeFormat("en-US", {
561
568
  hour: "2-digit",
562
569
  minute: "2-digit",
563
570
  second: "2-digit"
564
- }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), La = on === "06/25/2014, 00:00:00" || on === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
571
+ }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Ca = on === "06/25/2014, 00:00:00" || on === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
565
572
  function Ia(e) {
566
- return ht[e] || (ht[e] = La ? new Intl.DateTimeFormat("en-US", {
573
+ return ht[e] || (ht[e] = Ca ? new Intl.DateTimeFormat("en-US", {
567
574
  hourCycle: "h23",
568
575
  timeZone: e,
569
576
  year: "numeric",
@@ -587,7 +594,7 @@ function kt(e, t, n, a, i, o, l) {
587
594
  const m = /* @__PURE__ */ new Date(0);
588
595
  return m.setUTCFullYear(e, t, n), m.setUTCHours(a, i, o, l), m;
589
596
  }
590
- const sn = 36e5, Ga = 6e4, yt = {
597
+ const sn = 36e5, Ua = 6e4, yt = {
591
598
  timezoneZ: /^(Z)$/,
592
599
  timezoneHH: /^([+-]\d{2})$/,
593
600
  timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
@@ -604,12 +611,12 @@ function Ze(e, t, n) {
604
611
  if (a = yt.timezoneHHMM.exec(e), a) {
605
612
  i = parseInt(a[2], 10);
606
613
  const l = parseInt(a[3], 10);
607
- return ln(i, l) ? (o = Math.abs(i) * sn + l * Ga, a[1] === "+" ? -o : o) : NaN;
614
+ return ln(i, l) ? (o = Math.abs(i) * sn + l * Ua, a[1] === "+" ? -o : o) : NaN;
608
615
  }
609
- if (Ca(e)) {
616
+ if (Ba(e)) {
610
617
  t = new Date(t || Date.now());
611
618
  const l = n ? t : Pa(t), m = Mt(l, e);
612
- return -(n ? m : Ua(t, m, e));
619
+ return -(n ? m : Aa(t, m, e));
613
620
  }
614
621
  return NaN;
615
622
  }
@@ -617,12 +624,12 @@ function Pa(e) {
617
624
  return kt(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
618
625
  }
619
626
  function Mt(e, t) {
620
- const n = Ea(e, t), a = kt(n[0], n[1] - 1, n[2], n[3] % 24, n[4], n[5], 0).getTime();
627
+ const n = Oa(e, t), a = kt(n[0], n[1] - 1, n[2], n[3] % 24, n[4], n[5], 0).getTime();
621
628
  let i = e.getTime();
622
629
  const o = i % 1e3;
623
630
  return i -= o >= 0 ? o : 1e3 + o, a - i;
624
631
  }
625
- function Ua(e, t, n) {
632
+ function Aa(e, t, n) {
626
633
  let a = e.getTime() - t;
627
634
  const i = Mt(new Date(a), n);
628
635
  if (t === i)
@@ -635,7 +642,7 @@ function ln(e, t) {
635
642
  return -23 <= e && e <= 23 && (t == null || 0 <= t && t <= 59);
636
643
  }
637
644
  const un = {};
638
- function Ca(e) {
645
+ function Ba(e) {
639
646
  if (un[e])
640
647
  return !0;
641
648
  try {
@@ -648,7 +655,7 @@ function cn(e) {
648
655
  const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
649
656
  return t.setUTCFullYear(e.getFullYear()), +e - +t;
650
657
  }
651
- const kn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, _t = 36e5, dn = 6e4, Aa = 2, R = {
658
+ const En = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, _t = 36e5, dn = 6e4, Ha = 2, R = {
652
659
  dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
653
660
  datePattern: /^([0-9W+-]+)(.*)/,
654
661
  // year tokens
@@ -680,14 +687,14 @@ const kn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)
680
687
  HHMM: /^(\d{2}):?(\d{2}([.,]\d*)?)$/,
681
688
  HHMMSS: /^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,
682
689
  // time zone tokens (to identify the presence of a tz)
683
- timeZone: kn
690
+ timeZone: En
684
691
  };
685
692
  function Tt(e, t = {}) {
686
693
  if (arguments.length < 1)
687
694
  throw new TypeError("1 argument required, but only " + arguments.length + " present");
688
695
  if (e === null)
689
696
  return /* @__PURE__ */ new Date(NaN);
690
- const n = t.additionalDigits == null ? Aa : Number(t.additionalDigits);
697
+ const n = t.additionalDigits == null ? Ha : Number(t.additionalDigits);
691
698
  if (n !== 2 && n !== 1 && n !== 0)
692
699
  throw new RangeError("additionalDigits must be 0, 1 or 2");
693
700
  if (e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]")
@@ -696,13 +703,13 @@ function Tt(e, t = {}) {
696
703
  return new Date(e);
697
704
  if (Object.prototype.toString.call(e) !== "[object String]")
698
705
  return /* @__PURE__ */ new Date(NaN);
699
- const a = Ba(e), { year: i, restDateString: o } = Ha(a.date, n), l = Va(o, i);
706
+ const a = Va(e), { year: i, restDateString: o } = Ya(a.date, n), l = za(o, i);
700
707
  if (l === null || isNaN(l.getTime()))
701
708
  return /* @__PURE__ */ new Date(NaN);
702
709
  if (l) {
703
710
  const m = l.getTime();
704
711
  let f = 0, d;
705
- if (a.time && (f = Ya(a.time), f === null || isNaN(f)))
712
+ if (a.time && (f = ja(a.time), f === null || isNaN(f)))
706
713
  return /* @__PURE__ */ new Date(NaN);
707
714
  if (a.timeZone || t.timeZone) {
708
715
  if (d = Ze(a.timeZone || t.timeZone, new Date(m + f)), isNaN(d))
@@ -713,7 +720,7 @@ function Tt(e, t = {}) {
713
720
  } else
714
721
  return /* @__PURE__ */ new Date(NaN);
715
722
  }
716
- function Ba(e) {
723
+ function Va(e) {
717
724
  const t = {};
718
725
  let n = R.dateTimePattern.exec(e), a;
719
726
  if (n ? (t.date = n[1], a = n[3]) : (n = R.datePattern.exec(e), n ? (t.date = n[1], a = n[2]) : (t.date = null, a = e)), a) {
@@ -722,7 +729,7 @@ function Ba(e) {
722
729
  }
723
730
  return t;
724
731
  }
725
- function Ha(e, t) {
732
+ function Ya(e, t) {
726
733
  if (e) {
727
734
  const n = R.YYY[t], a = R.YYYYY[t];
728
735
  let i = R.YYYY.exec(e) || a.exec(e);
@@ -745,7 +752,7 @@ function Ha(e, t) {
745
752
  year: null
746
753
  };
747
754
  }
748
- function Va(e, t) {
755
+ function za(e, t) {
749
756
  if (t === null)
750
757
  return null;
751
758
  let n, a, i;
@@ -757,7 +764,7 @@ function Va(e, t) {
757
764
  if (o = R.DDD.exec(e), o) {
758
765
  n = /* @__PURE__ */ new Date(0);
759
766
  const l = parseInt(o[1], 10);
760
- return $a(t, l) ? (n.setUTCFullYear(t, 0, l), n) : /* @__PURE__ */ new Date(NaN);
767
+ return Wa(t, l) ? (n.setUTCFullYear(t, 0, l), n) : /* @__PURE__ */ new Date(NaN);
761
768
  }
762
769
  if (o = R.MMDD.exec(e), o) {
763
770
  n = /* @__PURE__ */ new Date(0), a = parseInt(o[1], 10) - 1;
@@ -773,7 +780,7 @@ function Va(e, t) {
773
780
  }
774
781
  return null;
775
782
  }
776
- function Ya(e) {
783
+ function ja(e) {
777
784
  let t, n, a = R.HH.exec(e);
778
785
  if (a)
779
786
  return t = parseFloat(a[1].replace(",", ".")), gt(t) ? t % 24 * _t : NaN;
@@ -793,8 +800,8 @@ function mn(e, t, n) {
793
800
  const i = a.getUTCDay() || 7, o = t * 7 + n + 1 - i;
794
801
  return a.setUTCDate(a.getUTCDate() + o), a;
795
802
  }
796
- const za = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], ja = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
797
- function En(e) {
803
+ const $a = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Ka = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
804
+ function Rn(e) {
798
805
  return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
799
806
  }
800
807
  function fn(e, t, n) {
@@ -803,16 +810,16 @@ function fn(e, t, n) {
803
810
  if (n != null) {
804
811
  if (n < 1)
805
812
  return !1;
806
- const a = En(e);
807
- if (a && n > ja[t] || !a && n > za[t])
813
+ const a = Rn(e);
814
+ if (a && n > Ka[t] || !a && n > $a[t])
808
815
  return !1;
809
816
  }
810
817
  return !0;
811
818
  }
812
- function $a(e, t) {
819
+ function Wa(e, t) {
813
820
  if (t < 1)
814
821
  return !1;
815
- const n = En(e);
822
+ const n = Rn(e);
816
823
  return !(n && t > 366 || !n && t > 365);
817
824
  }
818
825
  function pn(e, t) {
@@ -821,30 +828,30 @@ function pn(e, t) {
821
828
  function gt(e, t, n) {
822
829
  return !(e < 0 || e >= 25 || t != null && (t < 0 || t >= 60) || n != null && (n < 0 || n >= 60));
823
830
  }
824
- function Ka(e, t, n) {
831
+ function Za(e, t, n) {
825
832
  e = Tt(e, n);
826
833
  const a = Ze(t, e, !0), i = new Date(e.getTime() - a), o = /* @__PURE__ */ new Date(0);
827
834
  return o.setFullYear(i.getUTCFullYear(), i.getUTCMonth(), i.getUTCDate()), o.setHours(i.getUTCHours(), i.getUTCMinutes(), i.getUTCSeconds(), i.getUTCMilliseconds()), o;
828
835
  }
829
- function Wa(e, t, n) {
830
- if (typeof e == "string" && !e.match(kn))
836
+ function qa(e, t, n) {
837
+ if (typeof e == "string" && !e.match(En))
831
838
  return Tt(e, { ...n, timeZone: t });
832
839
  e = Tt(e, n);
833
840
  const a = kt(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()).getTime(), i = Ze(t, new Date(a));
834
841
  return new Date(a + i);
835
842
  }
836
- function Za(e, t) {
843
+ function Ja(e, t) {
837
844
  return -Ze(e, t);
838
845
  }
839
846
  var He = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
840
- function qa(e) {
847
+ function Xa(e) {
841
848
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
842
849
  }
843
850
  var je = { exports: {} };
844
851
  je.exports;
845
852
  (function(e, t) {
846
- var n = 200, a = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", l = "[object Array]", m = "[object Boolean]", f = "[object Date]", d = "[object Error]", c = "[object Function]", y = "[object GeneratorFunction]", w = "[object Map]", g = "[object Number]", M = "[object Object]", T = "[object Promise]", B = "[object RegExp]", A = "[object Set]", G = "[object String]", ie = "[object Symbol]", D = "[object WeakMap]", Fe = "[object ArrayBuffer]", ce = "[object DataView]", _ = "[object Float32Array]", F = "[object Float64Array]", S = "[object Int8Array]", k = "[object Int16Array]", ee = "[object Int32Array]", K = "[object Uint8Array]", H = "[object Uint8ClampedArray]", te = "[object Uint16Array]", ne = "[object Uint32Array]", I = /[\\^$.*+?()[\]{}|]/g, V = /\w*$/, Y = /^\[object .+?Constructor\]$/, z = /^(?:0|[1-9]\d*)$/, v = {};
847
- v[o] = v[l] = v[Fe] = v[ce] = v[m] = v[f] = v[_] = v[F] = v[S] = v[k] = v[ee] = v[w] = v[g] = v[M] = v[B] = v[A] = v[G] = v[ie] = v[K] = v[H] = v[te] = v[ne] = !0, v[d] = v[c] = v[D] = !1;
853
+ var n = 200, a = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", l = "[object Array]", m = "[object Boolean]", f = "[object Date]", d = "[object Error]", c = "[object Function]", y = "[object GeneratorFunction]", w = "[object Map]", g = "[object Number]", M = "[object Object]", T = "[object Promise]", B = "[object RegExp]", A = "[object Set]", C = "[object String]", ie = "[object Symbol]", D = "[object WeakMap]", Me = "[object ArrayBuffer]", ce = "[object DataView]", _ = "[object Float32Array]", F = "[object Float64Array]", S = "[object Int8Array]", k = "[object Int16Array]", ee = "[object Int32Array]", K = "[object Uint8Array]", H = "[object Uint8ClampedArray]", te = "[object Uint16Array]", ne = "[object Uint32Array]", G = /[\\^$.*+?()[\]{}|]/g, V = /\w*$/, Y = /^\[object .+?Constructor\]$/, z = /^(?:0|[1-9]\d*)$/, v = {};
854
+ v[o] = v[l] = v[Me] = v[ce] = v[m] = v[f] = v[_] = v[F] = v[S] = v[k] = v[ee] = v[w] = v[g] = v[M] = v[B] = v[A] = v[C] = v[ie] = v[K] = v[H] = v[te] = v[ne] = !0, v[d] = v[c] = v[D] = !1;
848
855
  var j = typeof He == "object" && He && He.Object === Object && He, de = typeof self == "object" && self && self.Object === Object && self, O = j || de || Function("return this")(), W = t && !t.nodeType && t, Le = W && !0 && e && !e.nodeType && e, Je = Le && Le.exports === W;
849
856
  function Xe(r, s) {
850
857
  return r.set(s[0], s[1]), r;
@@ -852,12 +859,12 @@ je.exports;
852
859
  function Qe(r, s) {
853
860
  return r.add(s), r;
854
861
  }
855
- function Me(r, s) {
862
+ function Te(r, s) {
856
863
  for (var u = -1, p = r ? r.length : 0; ++u < p && s(r[u], u, r) !== !1; )
857
864
  ;
858
865
  return r;
859
866
  }
860
- function Ln(r, s) {
867
+ function Gn(r, s) {
861
868
  for (var u = -1, p = s.length, N = r.length; ++u < p; )
862
869
  r[N + u] = s[u];
863
870
  return r;
@@ -867,15 +874,15 @@ je.exports;
867
874
  u = s(u, r[N], N, r);
868
875
  return u;
869
876
  }
870
- function In(r, s) {
877
+ function Cn(r, s) {
871
878
  for (var u = -1, p = Array(r); ++u < r; )
872
879
  p[u] = s(u);
873
880
  return p;
874
881
  }
875
- function Gn(r, s) {
882
+ function In(r, s) {
876
883
  return r == null ? void 0 : r[s];
877
884
  }
878
- function It(r) {
885
+ function Gt(r) {
879
886
  var s = !1;
880
887
  if (r != null && typeof r.toString != "function")
881
888
  try {
@@ -884,7 +891,7 @@ je.exports;
884
891
  }
885
892
  return s;
886
893
  }
887
- function Gt(r) {
894
+ function Ct(r) {
888
895
  var s = -1, u = Array(r.size);
889
896
  return r.forEach(function(p, N) {
890
897
  u[++s] = [N, p];
@@ -895,18 +902,18 @@ je.exports;
895
902
  return r(s(u));
896
903
  };
897
904
  }
898
- function Pt(r) {
905
+ function It(r) {
899
906
  var s = -1, u = Array(r.size);
900
907
  return r.forEach(function(p) {
901
908
  u[++s] = p;
902
909
  }), u;
903
910
  }
904
- var Pn = Array.prototype, Un = Function.prototype, Ie = Object.prototype, tt = O["__core-js_shared__"], Ut = function() {
911
+ var Un = Array.prototype, Pn = Function.prototype, Ge = Object.prototype, tt = O["__core-js_shared__"], Ut = function() {
905
912
  var r = /[^.]+$/.exec(tt && tt.keys && tt.keys.IE_PROTO || "");
906
913
  return r ? "Symbol(src)_1." + r : "";
907
- }(), Ct = Un.toString, re = Ie.hasOwnProperty, Ge = Ie.toString, Cn = RegExp(
908
- "^" + Ct.call(re).replace(I, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
909
- ), At = Je ? O.Buffer : void 0, Bt = O.Symbol, Ht = O.Uint8Array, An = et(Object.getPrototypeOf, Object), Bn = Object.create, Hn = Ie.propertyIsEnumerable, Vn = Pn.splice, Vt = Object.getOwnPropertySymbols, Yn = At ? At.isBuffer : void 0, zn = et(Object.keys, Object), nt = pe(O, "DataView"), Te = pe(O, "Map"), rt = pe(O, "Promise"), at = pe(O, "Set"), it = pe(O, "WeakMap"), Se = pe(Object, "create"), jn = le(nt), $n = le(Te), Kn = le(rt), Wn = le(at), Zn = le(it), Yt = Bt ? Bt.prototype : void 0, zt = Yt ? Yt.valueOf : void 0;
914
+ }(), Pt = Pn.toString, re = Ge.hasOwnProperty, Ce = Ge.toString, An = RegExp(
915
+ "^" + Pt.call(re).replace(G, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
916
+ ), At = Je ? O.Buffer : void 0, Bt = O.Symbol, Ht = O.Uint8Array, Bn = et(Object.getPrototypeOf, Object), Hn = Object.create, Vn = Ge.propertyIsEnumerable, Yn = Un.splice, Vt = Object.getOwnPropertySymbols, zn = At ? At.isBuffer : void 0, jn = et(Object.keys, Object), nt = pe(O, "DataView"), Se = pe(O, "Map"), rt = pe(O, "Promise"), at = pe(O, "Set"), it = pe(O, "WeakMap"), De = pe(Object, "create"), $n = le(nt), Kn = le(Se), Wn = le(rt), Zn = le(at), qn = le(it), Yt = Bt ? Bt.prototype : void 0, zt = Yt ? Yt.valueOf : void 0;
910
917
  function oe(r) {
911
918
  var s = -1, u = r ? r.length : 0;
912
919
  for (this.clear(); ++s < u; ) {
@@ -914,29 +921,29 @@ je.exports;
914
921
  this.set(p[0], p[1]);
915
922
  }
916
923
  }
917
- function qn() {
918
- this.__data__ = Se ? Se(null) : {};
924
+ function Jn() {
925
+ this.__data__ = De ? De(null) : {};
919
926
  }
920
- function Jn(r) {
927
+ function Xn(r) {
921
928
  return this.has(r) && delete this.__data__[r];
922
929
  }
923
- function Xn(r) {
930
+ function Qn(r) {
924
931
  var s = this.__data__;
925
- if (Se) {
932
+ if (De) {
926
933
  var u = s[r];
927
934
  return u === a ? void 0 : u;
928
935
  }
929
936
  return re.call(s, r) ? s[r] : void 0;
930
937
  }
931
- function Qn(r) {
938
+ function er(r) {
932
939
  var s = this.__data__;
933
- return Se ? s[r] !== void 0 : re.call(s, r);
940
+ return De ? s[r] !== void 0 : re.call(s, r);
934
941
  }
935
- function er(r, s) {
942
+ function tr(r, s) {
936
943
  var u = this.__data__;
937
- return u[r] = Se && s === void 0 ? a : s, this;
944
+ return u[r] = De && s === void 0 ? a : s, this;
938
945
  }
939
- oe.prototype.clear = qn, oe.prototype.delete = Jn, oe.prototype.get = Xn, oe.prototype.has = Qn, oe.prototype.set = er;
946
+ oe.prototype.clear = Jn, oe.prototype.delete = Xn, oe.prototype.get = Qn, oe.prototype.has = er, oe.prototype.set = tr;
940
947
  function Z(r) {
941
948
  var s = -1, u = r ? r.length : 0;
942
949
  for (this.clear(); ++s < u; ) {
@@ -944,28 +951,28 @@ je.exports;
944
951
  this.set(p[0], p[1]);
945
952
  }
946
953
  }
947
- function tr() {
954
+ function nr() {
948
955
  this.__data__ = [];
949
956
  }
950
- function nr(r) {
951
- var s = this.__data__, u = Pe(s, r);
957
+ function rr(r) {
958
+ var s = this.__data__, u = Ie(s, r);
952
959
  if (u < 0)
953
960
  return !1;
954
961
  var p = s.length - 1;
955
- return u == p ? s.pop() : Vn.call(s, u, 1), !0;
962
+ return u == p ? s.pop() : Yn.call(s, u, 1), !0;
956
963
  }
957
- function rr(r) {
958
- var s = this.__data__, u = Pe(s, r);
964
+ function ar(r) {
965
+ var s = this.__data__, u = Ie(s, r);
959
966
  return u < 0 ? void 0 : s[u][1];
960
967
  }
961
- function ar(r) {
962
- return Pe(this.__data__, r) > -1;
968
+ function ir(r) {
969
+ return Ie(this.__data__, r) > -1;
963
970
  }
964
- function ir(r, s) {
965
- var u = this.__data__, p = Pe(u, r);
971
+ function or(r, s) {
972
+ var u = this.__data__, p = Ie(u, r);
966
973
  return p < 0 ? u.push([r, s]) : u[p][1] = s, this;
967
974
  }
968
- Z.prototype.clear = tr, Z.prototype.delete = nr, Z.prototype.get = rr, Z.prototype.has = ar, Z.prototype.set = ir;
975
+ Z.prototype.clear = nr, Z.prototype.delete = rr, Z.prototype.get = ar, Z.prototype.has = ir, Z.prototype.set = or;
969
976
  function me(r) {
970
977
  var s = -1, u = r ? r.length : 0;
971
978
  for (this.clear(); ++s < u; ) {
@@ -973,94 +980,94 @@ je.exports;
973
980
  this.set(p[0], p[1]);
974
981
  }
975
982
  }
976
- function or() {
983
+ function sr() {
977
984
  this.__data__ = {
978
985
  hash: new oe(),
979
- map: new (Te || Z)(),
986
+ map: new (Se || Z)(),
980
987
  string: new oe()
981
988
  };
982
989
  }
983
- function sr(r) {
990
+ function lr(r) {
984
991
  return Ue(this, r).delete(r);
985
992
  }
986
- function lr(r) {
993
+ function ur(r) {
987
994
  return Ue(this, r).get(r);
988
995
  }
989
- function ur(r) {
996
+ function cr(r) {
990
997
  return Ue(this, r).has(r);
991
998
  }
992
- function cr(r, s) {
999
+ function dr(r, s) {
993
1000
  return Ue(this, r).set(r, s), this;
994
1001
  }
995
- me.prototype.clear = or, me.prototype.delete = sr, me.prototype.get = lr, me.prototype.has = ur, me.prototype.set = cr;
1002
+ me.prototype.clear = sr, me.prototype.delete = lr, me.prototype.get = ur, me.prototype.has = cr, me.prototype.set = dr;
996
1003
  function fe(r) {
997
1004
  this.__data__ = new Z(r);
998
1005
  }
999
- function dr() {
1006
+ function mr() {
1000
1007
  this.__data__ = new Z();
1001
1008
  }
1002
- function mr(r) {
1009
+ function fr(r) {
1003
1010
  return this.__data__.delete(r);
1004
1011
  }
1005
- function fr(r) {
1012
+ function pr(r) {
1006
1013
  return this.__data__.get(r);
1007
1014
  }
1008
- function pr(r) {
1015
+ function hr(r) {
1009
1016
  return this.__data__.has(r);
1010
1017
  }
1011
- function hr(r, s) {
1018
+ function yr(r, s) {
1012
1019
  var u = this.__data__;
1013
1020
  if (u instanceof Z) {
1014
1021
  var p = u.__data__;
1015
- if (!Te || p.length < n - 1)
1022
+ if (!Se || p.length < n - 1)
1016
1023
  return p.push([r, s]), this;
1017
1024
  u = this.__data__ = new me(p);
1018
1025
  }
1019
1026
  return u.set(r, s), this;
1020
1027
  }
1021
- fe.prototype.clear = dr, fe.prototype.delete = mr, fe.prototype.get = fr, fe.prototype.has = pr, fe.prototype.set = hr;
1022
- function yr(r, s) {
1023
- var u = lt(r) || Br(r) ? In(r.length, String) : [], p = u.length, N = !!p;
1028
+ fe.prototype.clear = mr, fe.prototype.delete = fr, fe.prototype.get = pr, fe.prototype.has = hr, fe.prototype.set = yr;
1029
+ function _r(r, s) {
1030
+ var u = lt(r) || Hr(r) ? Cn(r.length, String) : [], p = u.length, N = !!p;
1024
1031
  for (var b in r)
1025
- re.call(r, b) && !(N && (b == "length" || Pr(b, p))) && u.push(b);
1032
+ re.call(r, b) && !(N && (b == "length" || Ur(b, p))) && u.push(b);
1026
1033
  return u;
1027
1034
  }
1028
1035
  function jt(r, s, u) {
1029
1036
  var p = r[s];
1030
1037
  (!(re.call(r, s) && Zt(p, u)) || u === void 0 && !(s in r)) && (r[s] = u);
1031
1038
  }
1032
- function Pe(r, s) {
1039
+ function Ie(r, s) {
1033
1040
  for (var u = r.length; u--; )
1034
1041
  if (Zt(r[u][0], s))
1035
1042
  return u;
1036
1043
  return -1;
1037
1044
  }
1038
- function _r(r, s) {
1045
+ function gr(r, s) {
1039
1046
  return r && $t(s, ut(s), r);
1040
1047
  }
1041
1048
  function ot(r, s, u, p, N, b, q) {
1042
1049
  var L;
1043
1050
  if (p && (L = b ? p(r, N, b, q) : p(r)), L !== void 0)
1044
1051
  return L;
1045
- if (!Ce(r))
1052
+ if (!Pe(r))
1046
1053
  return r;
1047
1054
  var Xt = lt(r);
1048
1055
  if (Xt) {
1049
- if (L = Lr(r), !s)
1050
- return Rr(r, L);
1056
+ if (L = Gr(r), !s)
1057
+ return Or(r, L);
1051
1058
  } else {
1052
1059
  var he = se(r), Qt = he == c || he == y;
1053
- if (Vr(r))
1054
- return Mr(r, s);
1060
+ if (Yr(r))
1061
+ return Tr(r, s);
1055
1062
  if (he == M || he == o || Qt && !b) {
1056
- if (It(r))
1063
+ if (Gt(r))
1057
1064
  return b ? r : {};
1058
- if (L = Ir(Qt ? {} : r), !s)
1059
- return Or(r, _r(L, r));
1065
+ if (L = Cr(Qt ? {} : r), !s)
1066
+ return br(r, gr(L, r));
1060
1067
  } else {
1061
1068
  if (!v[he])
1062
1069
  return b ? r : {};
1063
- L = Gr(r, he, ot, s);
1070
+ L = Ir(r, he, ot, s);
1064
1071
  }
1065
1072
  }
1066
1073
  q || (q = new fe());
@@ -1068,36 +1075,36 @@ je.exports;
1068
1075
  if (en)
1069
1076
  return en;
1070
1077
  if (q.set(r, L), !Xt)
1071
- var tn = u ? br(r) : ut(r);
1072
- return Me(tn || r, function(ct, Ae) {
1078
+ var tn = u ? Lr(r) : ut(r);
1079
+ return Te(tn || r, function(ct, Ae) {
1073
1080
  tn && (Ae = ct, ct = r[Ae]), jt(L, Ae, ot(ct, s, u, p, Ae, r, q));
1074
1081
  }), L;
1075
1082
  }
1076
- function gr(r) {
1077
- return Ce(r) ? Bn(r) : {};
1083
+ function wr(r) {
1084
+ return Pe(r) ? Hn(r) : {};
1078
1085
  }
1079
- function wr(r, s, u) {
1086
+ function vr(r, s, u) {
1080
1087
  var p = s(r);
1081
- return lt(r) ? p : Ln(p, u(r));
1082
- }
1083
- function vr(r) {
1084
- return Ge.call(r);
1088
+ return lt(r) ? p : Gn(p, u(r));
1085
1089
  }
1086
1090
  function xr(r) {
1087
- if (!Ce(r) || Cr(r))
1091
+ return Ce.call(r);
1092
+ }
1093
+ function Fr(r) {
1094
+ if (!Pe(r) || Ar(r))
1088
1095
  return !1;
1089
- var s = Jt(r) || It(r) ? Cn : Y;
1096
+ var s = Jt(r) || Gt(r) ? An : Y;
1090
1097
  return s.test(le(r));
1091
1098
  }
1092
- function Fr(r) {
1099
+ function Mr(r) {
1093
1100
  if (!Wt(r))
1094
- return zn(r);
1101
+ return jn(r);
1095
1102
  var s = [];
1096
1103
  for (var u in Object(r))
1097
1104
  re.call(r, u) && u != "constructor" && s.push(u);
1098
1105
  return s;
1099
1106
  }
1100
- function Mr(r, s) {
1107
+ function Tr(r, s) {
1101
1108
  if (s)
1102
1109
  return r.slice();
1103
1110
  var u = new r.constructor(r.length);
@@ -1107,30 +1114,30 @@ je.exports;
1107
1114
  var s = new r.constructor(r.byteLength);
1108
1115
  return new Ht(s).set(new Ht(r)), s;
1109
1116
  }
1110
- function Tr(r, s) {
1117
+ function Sr(r, s) {
1111
1118
  var u = s ? st(r.buffer) : r.buffer;
1112
1119
  return new r.constructor(u, r.byteOffset, r.byteLength);
1113
1120
  }
1114
- function Sr(r, s, u) {
1115
- var p = s ? u(Gt(r), !0) : Gt(r);
1121
+ function Dr(r, s, u) {
1122
+ var p = s ? u(Ct(r), !0) : Ct(r);
1116
1123
  return Lt(p, Xe, new r.constructor());
1117
1124
  }
1118
- function Dr(r) {
1125
+ function Nr(r) {
1119
1126
  var s = new r.constructor(r.source, V.exec(r));
1120
1127
  return s.lastIndex = r.lastIndex, s;
1121
1128
  }
1122
- function Nr(r, s, u) {
1123
- var p = s ? u(Pt(r), !0) : Pt(r);
1129
+ function kr(r, s, u) {
1130
+ var p = s ? u(It(r), !0) : It(r);
1124
1131
  return Lt(p, Qe, new r.constructor());
1125
1132
  }
1126
- function kr(r) {
1133
+ function Er(r) {
1127
1134
  return zt ? Object(zt.call(r)) : {};
1128
1135
  }
1129
- function Er(r, s) {
1136
+ function Rr(r, s) {
1130
1137
  var u = s ? st(r.buffer) : r.buffer;
1131
1138
  return new r.constructor(u, r.byteOffset, r.length);
1132
1139
  }
1133
- function Rr(r, s) {
1140
+ function Or(r, s) {
1134
1141
  var u = -1, p = r.length;
1135
1142
  for (s || (s = Array(p)); ++u < p; )
1136
1143
  s[u] = r[u];
@@ -1144,55 +1151,55 @@ je.exports;
1144
1151
  }
1145
1152
  return u;
1146
1153
  }
1147
- function Or(r, s) {
1154
+ function br(r, s) {
1148
1155
  return $t(r, Kt(r), s);
1149
1156
  }
1150
- function br(r) {
1151
- return wr(r, ut, Kt);
1157
+ function Lr(r) {
1158
+ return vr(r, ut, Kt);
1152
1159
  }
1153
1160
  function Ue(r, s) {
1154
1161
  var u = r.__data__;
1155
- return Ur(s) ? u[typeof s == "string" ? "string" : "hash"] : u.map;
1162
+ return Pr(s) ? u[typeof s == "string" ? "string" : "hash"] : u.map;
1156
1163
  }
1157
1164
  function pe(r, s) {
1158
- var u = Gn(r, s);
1159
- return xr(u) ? u : void 0;
1165
+ var u = In(r, s);
1166
+ return Fr(u) ? u : void 0;
1160
1167
  }
1161
- var Kt = Vt ? et(Vt, Object) : jr, se = vr;
1162
- (nt && se(new nt(new ArrayBuffer(1))) != ce || Te && se(new Te()) != w || rt && se(rt.resolve()) != T || at && se(new at()) != A || it && se(new it()) != D) && (se = function(r) {
1163
- var s = Ge.call(r), u = s == M ? r.constructor : void 0, p = u ? le(u) : void 0;
1168
+ var Kt = Vt ? et(Vt, Object) : $r, se = xr;
1169
+ (nt && se(new nt(new ArrayBuffer(1))) != ce || Se && se(new Se()) != w || rt && se(rt.resolve()) != T || at && se(new at()) != A || it && se(new it()) != D) && (se = function(r) {
1170
+ var s = Ce.call(r), u = s == M ? r.constructor : void 0, p = u ? le(u) : void 0;
1164
1171
  if (p)
1165
1172
  switch (p) {
1166
- case jn:
1167
- return ce;
1168
1173
  case $n:
1169
- return w;
1174
+ return ce;
1170
1175
  case Kn:
1171
- return T;
1176
+ return w;
1172
1177
  case Wn:
1173
- return A;
1178
+ return T;
1174
1179
  case Zn:
1180
+ return A;
1181
+ case qn:
1175
1182
  return D;
1176
1183
  }
1177
1184
  return s;
1178
1185
  });
1179
- function Lr(r) {
1186
+ function Gr(r) {
1180
1187
  var s = r.length, u = r.constructor(s);
1181
1188
  return s && typeof r[0] == "string" && re.call(r, "index") && (u.index = r.index, u.input = r.input), u;
1182
1189
  }
1183
- function Ir(r) {
1184
- return typeof r.constructor == "function" && !Wt(r) ? gr(An(r)) : {};
1190
+ function Cr(r) {
1191
+ return typeof r.constructor == "function" && !Wt(r) ? wr(Bn(r)) : {};
1185
1192
  }
1186
- function Gr(r, s, u, p) {
1193
+ function Ir(r, s, u, p) {
1187
1194
  var N = r.constructor;
1188
1195
  switch (s) {
1189
- case Fe:
1196
+ case Me:
1190
1197
  return st(r);
1191
1198
  case m:
1192
1199
  case f:
1193
1200
  return new N(+r);
1194
1201
  case ce:
1195
- return Tr(r, p);
1202
+ return Sr(r, p);
1196
1203
  case _:
1197
1204
  case F:
1198
1205
  case S:
@@ -1202,38 +1209,38 @@ je.exports;
1202
1209
  case H:
1203
1210
  case te:
1204
1211
  case ne:
1205
- return Er(r, p);
1212
+ return Rr(r, p);
1206
1213
  case w:
1207
- return Sr(r, p, u);
1214
+ return Dr(r, p, u);
1208
1215
  case g:
1209
- case G:
1216
+ case C:
1210
1217
  return new N(r);
1211
1218
  case B:
1212
- return Dr(r);
1219
+ return Nr(r);
1213
1220
  case A:
1214
- return Nr(r, p, u);
1221
+ return kr(r, p, u);
1215
1222
  case ie:
1216
- return kr(r);
1223
+ return Er(r);
1217
1224
  }
1218
1225
  }
1219
- function Pr(r, s) {
1226
+ function Ur(r, s) {
1220
1227
  return s = s ?? i, !!s && (typeof r == "number" || z.test(r)) && r > -1 && r % 1 == 0 && r < s;
1221
1228
  }
1222
- function Ur(r) {
1229
+ function Pr(r) {
1223
1230
  var s = typeof r;
1224
1231
  return s == "string" || s == "number" || s == "symbol" || s == "boolean" ? r !== "__proto__" : r === null;
1225
1232
  }
1226
- function Cr(r) {
1233
+ function Ar(r) {
1227
1234
  return !!Ut && Ut in r;
1228
1235
  }
1229
1236
  function Wt(r) {
1230
- var s = r && r.constructor, u = typeof s == "function" && s.prototype || Ie;
1237
+ var s = r && r.constructor, u = typeof s == "function" && s.prototype || Ge;
1231
1238
  return r === u;
1232
1239
  }
1233
1240
  function le(r) {
1234
1241
  if (r != null) {
1235
1242
  try {
1236
- return Ct.call(r);
1243
+ return Pt.call(r);
1237
1244
  } catch {
1238
1245
  }
1239
1246
  try {
@@ -1243,53 +1250,53 @@ je.exports;
1243
1250
  }
1244
1251
  return "";
1245
1252
  }
1246
- function Ar(r) {
1253
+ function Br(r) {
1247
1254
  return ot(r, !0, !0);
1248
1255
  }
1249
1256
  function Zt(r, s) {
1250
1257
  return r === s || r !== r && s !== s;
1251
1258
  }
1252
- function Br(r) {
1253
- return Hr(r) && re.call(r, "callee") && (!Hn.call(r, "callee") || Ge.call(r) == o);
1259
+ function Hr(r) {
1260
+ return Vr(r) && re.call(r, "callee") && (!Vn.call(r, "callee") || Ce.call(r) == o);
1254
1261
  }
1255
1262
  var lt = Array.isArray;
1256
1263
  function qt(r) {
1257
- return r != null && Yr(r.length) && !Jt(r);
1264
+ return r != null && zr(r.length) && !Jt(r);
1258
1265
  }
1259
- function Hr(r) {
1260
- return zr(r) && qt(r);
1266
+ function Vr(r) {
1267
+ return jr(r) && qt(r);
1261
1268
  }
1262
- var Vr = Yn || $r;
1269
+ var Yr = zn || Kr;
1263
1270
  function Jt(r) {
1264
- var s = Ce(r) ? Ge.call(r) : "";
1271
+ var s = Pe(r) ? Ce.call(r) : "";
1265
1272
  return s == c || s == y;
1266
1273
  }
1267
- function Yr(r) {
1274
+ function zr(r) {
1268
1275
  return typeof r == "number" && r > -1 && r % 1 == 0 && r <= i;
1269
1276
  }
1270
- function Ce(r) {
1277
+ function Pe(r) {
1271
1278
  var s = typeof r;
1272
1279
  return !!r && (s == "object" || s == "function");
1273
1280
  }
1274
- function zr(r) {
1281
+ function jr(r) {
1275
1282
  return !!r && typeof r == "object";
1276
1283
  }
1277
1284
  function ut(r) {
1278
- return qt(r) ? yr(r) : Fr(r);
1285
+ return qt(r) ? _r(r) : Mr(r);
1279
1286
  }
1280
- function jr() {
1287
+ function $r() {
1281
1288
  return [];
1282
1289
  }
1283
- function $r() {
1290
+ function Kr() {
1284
1291
  return !1;
1285
1292
  }
1286
- e.exports = Ar;
1293
+ e.exports = Br;
1287
1294
  })(je, je.exports);
1288
1295
  je.exports;
1289
- const Q = (e, t) => new Date(e.getTime() - Za(t, e));
1296
+ const Q = (e, t) => new Date(e.getTime() - Ja(t, e));
1290
1297
  class E {
1291
1298
  constructor(t) {
1292
- P(this, "timeframeText"), P(this, "key"), P(this, "display"), P(this, "timeframeLength"), P(this, "allowedTiers"), P(this, "defaultResponseGranularity"), P(this, "dataGranularity"), P(this, "isRelative"), P(this, "fineGrainedDefaultGranularity"), P(this, "_startCustom"), P(this, "_endCustom"), P(this, "_allowedGranularitiesOverride"), this.display = t.display, this.timeframeText = t.timeframeText, this.key = t.key, this.timeframeLength = t.timeframeLength, this.allowedTiers = t.allowedTiers, this.defaultResponseGranularity = t.defaultResponseGranularity, this.dataGranularity = t.dataGranularity, this.isRelative = t.isRelative, this._startCustom = t.startCustom, this._endCustom = t.endCustom, this._allowedGranularitiesOverride = t.allowedGranularitiesOverride, this.fineGrainedDefaultGranularity = t.fineGrainedDefaultGranularity;
1299
+ I(this, "timeframeText"), I(this, "key"), I(this, "display"), I(this, "timeframeLength"), I(this, "allowedTiers"), I(this, "defaultResponseGranularity"), I(this, "dataGranularity"), I(this, "isRelative"), I(this, "fineGrainedDefaultGranularity"), I(this, "_startCustom"), I(this, "_endCustom"), I(this, "_allowedGranularitiesOverride"), this.display = t.display, this.timeframeText = t.timeframeText, this.key = t.key, this.timeframeLength = t.timeframeLength, this.allowedTiers = t.allowedTiers, this.defaultResponseGranularity = t.defaultResponseGranularity, this.dataGranularity = t.dataGranularity, this.isRelative = t.isRelative, this._startCustom = t.startCustom, this._endCustom = t.endCustom, this._allowedGranularitiesOverride = t.allowedGranularitiesOverride, this.fineGrainedDefaultGranularity = t.fineGrainedDefaultGranularity;
1293
1300
  }
1294
1301
  // rawEnd does not consider granularity and should not be used directly in queries.
1295
1302
  // Use `new QueryTime(timeframe, granularity?).queryEndSeconds()` instead.
@@ -1326,7 +1333,7 @@ class E {
1326
1333
  end: this.rawEnd(),
1327
1334
  tz: t
1328
1335
  };
1329
- if (ya.includes(this.key))
1336
+ if (_a.includes(this.key))
1330
1337
  return {
1331
1338
  type: "relative",
1332
1339
  // Safe assertion; we just checked that key is a member of the union.
@@ -1338,11 +1345,11 @@ class E {
1338
1345
  tzAdjustedDate(t) {
1339
1346
  if (!t)
1340
1347
  return /* @__PURE__ */ new Date();
1341
- const n = Wa(/* @__PURE__ */ new Date(), new Intl.DateTimeFormat().resolvedOptions().timeZone);
1342
- return Ka(n, t);
1348
+ const n = qa(/* @__PURE__ */ new Date(), new Intl.DateTimeFormat().resolvedOptions().timeZone);
1349
+ return Za(n, t);
1343
1350
  }
1344
1351
  }
1345
- class Ja extends E {
1352
+ class Qa extends E {
1346
1353
  rawStart(t) {
1347
1354
  let n = ze(this.tzAdjustedDate(t), { weekStartsOn: 1 });
1348
1355
  return t && (n = Q(n, t)), n;
@@ -1351,7 +1358,7 @@ class Ja extends E {
1351
1358
  return 60 * 60 * 24 * 7;
1352
1359
  }
1353
1360
  }
1354
- class Xa extends E {
1361
+ class ei extends E {
1355
1362
  rawStart(t) {
1356
1363
  let n = ge(this.tzAdjustedDate(t));
1357
1364
  return t && (n = Q(n, t)), n;
@@ -1360,7 +1367,7 @@ class Xa extends E {
1360
1367
  return 60 * 60 * 24 * 31;
1361
1368
  }
1362
1369
  }
1363
- class Qa extends E {
1370
+ class ti extends E {
1364
1371
  rawStart(t) {
1365
1372
  let n = new Date(this.tzAdjustedDate(t).getFullYear(), 0, 1);
1366
1373
  return t && (n = Q(n, t)), n;
@@ -1369,7 +1376,7 @@ class Qa extends E {
1369
1376
  return 60 * 60 * 24 * 366;
1370
1377
  }
1371
1378
  }
1372
- class ei extends E {
1379
+ class ni extends E {
1373
1380
  rawEnd(t) {
1374
1381
  let n = ze(this.tzAdjustedDate(t), { weekStartsOn: 1 });
1375
1382
  return t && (n = Q(n, t)), n;
@@ -1382,17 +1389,17 @@ class ei extends E {
1382
1389
  return t && (a = Q(a, t)), a;
1383
1390
  }
1384
1391
  }
1385
- class ti extends E {
1392
+ class ri extends E {
1386
1393
  rawEnd(t) {
1387
1394
  let n = ge(this.tzAdjustedDate(t));
1388
1395
  return t && (n = Q(n, t)), n;
1389
1396
  }
1390
1397
  rawStart(t) {
1391
- let n = ge(Nn(this.tzAdjustedDate(t)));
1398
+ let n = ge(kn(this.tzAdjustedDate(t)));
1392
1399
  return t && (n = Q(n, t)), n;
1393
1400
  }
1394
1401
  }
1395
- class ni extends E {
1402
+ class ai extends E {
1396
1403
  rawEnd(t) {
1397
1404
  let n = new Date(this.tzAdjustedDate(t).getFullYear(), 0, 1);
1398
1405
  return t && (n = Q(n, t)), n;
@@ -1512,7 +1519,7 @@ h.FIFTEEN_MIN, new E({
1512
1519
  fineGrainedDefaultGranularity: "daily",
1513
1520
  allowedTiers: ["trial", "plus", "enterprise"],
1514
1521
  allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
1515
- }), h.CURRENT_WEEK, new Ja({
1522
+ }), h.CURRENT_WEEK, new Qa({
1516
1523
  key: h.CURRENT_WEEK,
1517
1524
  display: "This week",
1518
1525
  timeframeText: "Week",
@@ -1526,7 +1533,7 @@ h.FIFTEEN_MIN, new E({
1526
1533
  fineGrainedDefaultGranularity: "twoHourly",
1527
1534
  allowedTiers: ["plus", "enterprise"],
1528
1535
  allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
1529
- }), h.CURRENT_MONTH, new Xa({
1536
+ }), h.CURRENT_MONTH, new ei({
1530
1537
  key: h.CURRENT_MONTH,
1531
1538
  display: "This month",
1532
1539
  timeframeText: "Month",
@@ -1538,7 +1545,7 @@ h.FIFTEEN_MIN, new E({
1538
1545
  dataGranularity: "daily",
1539
1546
  isRelative: !1,
1540
1547
  allowedTiers: ["plus", "enterprise"]
1541
- }), h.CURRENT_YEAR, new Qa({
1548
+ }), h.CURRENT_YEAR, new ti({
1542
1549
  key: h.CURRENT_YEAR,
1543
1550
  display: "This year",
1544
1551
  timeframeText: "Year",
@@ -1550,7 +1557,7 @@ h.FIFTEEN_MIN, new E({
1550
1557
  dataGranularity: "daily",
1551
1558
  isRelative: !1,
1552
1559
  allowedTiers: ["plus", "enterprise"]
1553
- }), h.PREVIOUS_WEEK, new ei({
1560
+ }), h.PREVIOUS_WEEK, new ni({
1554
1561
  key: h.PREVIOUS_WEEK,
1555
1562
  display: "Previous week",
1556
1563
  timeframeText: "Week",
@@ -1561,20 +1568,20 @@ h.FIFTEEN_MIN, new E({
1561
1568
  fineGrainedDefaultGranularity: "twoHourly",
1562
1569
  allowedTiers: ["plus", "enterprise"],
1563
1570
  allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
1564
- }), h.PREVIOUS_MONTH, new ti({
1571
+ }), h.PREVIOUS_MONTH, new ri({
1565
1572
  key: h.PREVIOUS_MONTH,
1566
1573
  display: "Previous month",
1567
1574
  timeframeText: "Month",
1568
1575
  timeframeLength: () => {
1569
1576
  let e = 0;
1570
- const t = ge(/* @__PURE__ */ new Date()), n = ge(Nn(/* @__PURE__ */ new Date()));
1571
- return t.getTimezoneOffset() !== n.getTimezoneOffset() && (e = hn(t, n)), 60 * 60 * 24 * Na((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + an(e);
1577
+ const t = ge(/* @__PURE__ */ new Date()), n = ge(kn(/* @__PURE__ */ new Date()));
1578
+ return t.getTimezoneOffset() !== n.getTimezoneOffset() && (e = hn(t, n)), 60 * 60 * 24 * Ea((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + an(e);
1572
1579
  },
1573
1580
  defaultResponseGranularity: "daily",
1574
1581
  dataGranularity: "daily",
1575
1582
  isRelative: !1,
1576
1583
  allowedTiers: ["plus", "enterprise"]
1577
- }), h.PREVIOUS_YEAR, new ni({
1584
+ }), h.PREVIOUS_YEAR, new ai({
1578
1585
  key: h.PREVIOUS_YEAR,
1579
1586
  display: "Previous year",
1580
1587
  timeframeText: "Year",
@@ -1589,11 +1596,11 @@ h.FIFTEEN_MIN, new E({
1589
1596
  allowedTiers: ["plus", "enterprise"]
1590
1597
  });
1591
1598
  function hn(e, t) {
1592
- return ka(e.getTimezoneOffset() - t.getTimezoneOffset());
1599
+ return Ra(e.getTimezoneOffset() - t.getTimezoneOffset());
1593
1600
  }
1594
1601
  h.FIFTEEN_MIN, h.ONE_HOUR, h.SIX_HOUR, h.TWELVE_HOUR, h.ONE_DAY, h.SEVEN_DAY, h.FIFTEEN_MIN, h.ONE_HOUR, h.SIX_HOUR, h.TWELVE_HOUR, h.ONE_DAY, h.SEVEN_DAY, h.THIRTY_DAY, h.NINETY_DAY, h.ONE_HUNDRED_EIGHTY_DAY, h.ONE_YEAR, h.CURRENT_WEEK, h.CURRENT_MONTH, h.CURRENT_YEAR, h.PREVIOUS_WEEK, h.PREVIOUS_MONTH, h.PREVIOUS_YEAR;
1595
1602
  new Map(Nt.map((e) => [e.code, { code: e.code, name: e.name }]));
1596
- var Rn = { exports: {} };
1603
+ var On = { exports: {} };
1597
1604
  (function(e) {
1598
1605
  (function() {
1599
1606
  function t(d, c) {
@@ -1619,12 +1626,12 @@ var Rn = { exports: {} };
1619
1626
  }
1620
1627
  f.addCommas = t, e.exports = f;
1621
1628
  })();
1622
- })(Rn);
1623
- var ri = Rn.exports;
1624
- const wt = /* @__PURE__ */ qa(ri);
1629
+ })(On);
1630
+ var ii = On.exports;
1631
+ const wt = /* @__PURE__ */ Xa(ii);
1625
1632
  var yn;
1626
- const ai = typeof document < "u" && ((yn = document.documentElement) == null ? void 0 : yn.lang) || "en-US", vt = new Intl.NumberFormat(ai);
1627
- function ii({
1633
+ const oi = typeof document < "u" && ((yn = document.documentElement) == null ? void 0 : yn.lang) || "en-US", vt = new Intl.NumberFormat(oi);
1634
+ function si({
1628
1635
  i18n: e
1629
1636
  }) {
1630
1637
  const t = (a, i) => {
@@ -1697,13 +1704,13 @@ function ii({
1697
1704
  return `${y} - ${w} ${c}`;
1698
1705
  } };
1699
1706
  }
1700
- const ke = "#e0e4ea", oi = "#828a9e", si = "32px", _n = 5, xt = [
1707
+ const Ee = "#e0e4ea", li = "#828a9e", ui = "32px", _n = 5, xt = [
1701
1708
  "#00819d",
1702
1709
  "#00abd2",
1703
1710
  "#00c8f4",
1704
1711
  "#67e3ff",
1705
1712
  "#b3f1ff"
1706
- ], li = (e, t) => {
1713
+ ], ci = (e, t) => {
1707
1714
  const n = e.length;
1708
1715
  if (!n)
1709
1716
  return NaN;
@@ -1715,12 +1722,12 @@ const ke = "#e0e4ea", oi = "#828a9e", si = "32px", _n = 5, xt = [
1715
1722
  const n = e.filter((m) => m > 0).map(Math.log).sort((m, f) => m - f), a = Math.min(...n), o = (Math.max(...n) - a) / t;
1716
1723
  return Array.from({ length: t }, (m, f) => a + f * o).map((m) => Math.exp(m)).reverse();
1717
1724
  };
1718
- function ui({
1725
+ function di({
1719
1726
  countryMetrics: e,
1720
1727
  metric: t,
1721
1728
  unit: n
1722
1729
  }) {
1723
- const { formatMetric: a, formatMetricRange: i } = Ee.useMetricFormat({ unit: n }), o = U(() => {
1730
+ const { formatMetric: a, formatMetricRange: i } = Re.useMetricFormat({ unit: n }), o = U(() => {
1724
1731
  const g = { ...e.value };
1725
1732
  for (const M of Object.keys(g))
1726
1733
  Nt.find((T) => T.code === M) || delete g[M];
@@ -1731,8 +1738,8 @@ function ui({
1731
1738
  }), c = U(() => {
1732
1739
  const g = [];
1733
1740
  if (l.value.length > 10) {
1734
- const M = [...l.value].sort((D, Fe) => D - Fe), T = li(M, 0.75), B = l.value.filter((D) => D >= T), A = l.value.filter((D) => D < T), G = Ft(B, 3), ie = Ft(A, 2);
1735
- return g.push(...G, ...ie), g;
1741
+ const M = [...l.value].sort((D, Me) => D - Me), T = ci(M, 0.75), B = l.value.filter((D) => D >= T), A = l.value.filter((D) => D < T), C = Ft(B, 3), ie = Ft(A, 2);
1742
+ return g.push(...C, ...ie), g;
1736
1743
  }
1737
1744
  return Ft(l.value, f.value);
1738
1745
  }), y = U(() => l.value.length === 1 ? [{
@@ -1743,25 +1750,25 @@ function ui({
1743
1750
  }).trim()
1744
1751
  }] : c.value.map((g, M) => {
1745
1752
  const T = M === 0 ? Math.max(...c.value) : c.value[M - 1], B = g, A = T;
1746
- let G = "";
1747
- return M === 0 ? G = `> ${a(B, {
1753
+ let C = "";
1754
+ return M === 0 ? C = `> ${a(B, {
1748
1755
  showUnit: !n.value.includes("count"),
1749
1756
  approximate: d.value
1750
- })}`.trim() : M === c.value.length - 1 ? G = `< ${a(A, {
1757
+ })}`.trim() : M === c.value.length - 1 ? C = `< ${a(A, {
1751
1758
  showUnit: !n.value.includes("count"),
1752
1759
  approximate: d.value
1753
- })}`.trim() : G = i(B, A, {
1760
+ })}`.trim() : C = i(B, A, {
1754
1761
  showUnit: !n.value.includes("count"),
1755
1762
  approximate: d.value
1756
1763
  }).trim(), {
1757
1764
  color: w(B),
1758
- range: G
1765
+ range: C
1759
1766
  };
1760
1767
  })), w = (g) => {
1761
1768
  if (g === 0)
1762
- return ke;
1769
+ return Ee;
1763
1770
  const M = c.value.findIndex((T) => g >= T);
1764
- return M === -1 ? xt[xt.length - 1] : xt[M] ?? ke;
1771
+ return M === -1 ? xt[xt.length - 1] : xt[M] ?? Ee;
1765
1772
  };
1766
1773
  return {
1767
1774
  getColor: w,
@@ -1769,10 +1776,10 @@ function ui({
1769
1776
  scale: c
1770
1777
  };
1771
1778
  }
1772
- function ci({
1779
+ function mi({
1773
1780
  unit: e
1774
1781
  }) {
1775
- const { i18n: t } = Ee.useI18n(), { formatUnit: n, formatRange: a } = ii({ i18n: t });
1782
+ const { i18n: t } = Re.useI18n(), { formatUnit: n, formatRange: a } = si({ i18n: t });
1776
1783
  return {
1777
1784
  formatMetric: (l, {
1778
1785
  showUnit: m = !0,
@@ -1790,11 +1797,11 @@ function ci({
1790
1797
  })
1791
1798
  };
1792
1799
  }
1793
- const Ee = {
1794
- useI18n: da,
1795
- useLegendScale: ui,
1796
- useMetricFormat: ci
1797
- }, di = "FeatureCollection", mi = [
1800
+ const Re = {
1801
+ useI18n: ma,
1802
+ useLegendScale: di,
1803
+ useMetricFormat: mi
1804
+ }, fi = "FeatureCollection", pi = [
1798
1805
  {
1799
1806
  type: "Feature",
1800
1807
  properties: {
@@ -4226,14 +4233,14 @@ const Ee = {
4226
4233
  ]
4227
4234
  }
4228
4235
  }
4229
- ], fi = {
4230
- type: di,
4231
- features: mi
4236
+ ], hi = {
4237
+ type: fi,
4238
+ features: pi
4232
4239
  };
4233
- function pi(e) {
4240
+ function yi(e) {
4234
4241
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4235
4242
  }
4236
- var hi = _i, $e, ve, C, Ke, qe, yi = [
4243
+ var _i = wi, $e, ve, P, Ke, qe, gi = [
4237
4244
  "Point",
4238
4245
  "MultiPoint",
4239
4246
  "LineString",
@@ -4242,36 +4249,36 @@ var hi = _i, $e, ve, C, Ke, qe, yi = [
4242
4249
  "MultiPolygon",
4243
4250
  "GeometryCollection"
4244
4251
  ];
4245
- function _i(e) {
4246
- Ke = 2, qe = Math.pow(10, 6), C = null, $e = [], ve = [];
4247
- var t = e.readFields(gi, {});
4252
+ function wi(e) {
4253
+ Ke = 2, qe = Math.pow(10, 6), P = null, $e = [], ve = [];
4254
+ var t = e.readFields(vi, {});
4248
4255
  return $e = null, t;
4249
4256
  }
4250
- function gi(e, t, n) {
4251
- e === 1 ? $e.push(n.readString()) : e === 2 ? Ke = n.readVarint() : e === 3 ? qe = Math.pow(10, n.readVarint()) : e === 4 ? wi(n, t) : e === 5 ? On(n, t) : e === 6 && Et(n, t);
4257
+ function vi(e, t, n) {
4258
+ e === 1 ? $e.push(n.readString()) : e === 2 ? Ke = n.readVarint() : e === 3 ? qe = Math.pow(10, n.readVarint()) : e === 4 ? xi(n, t) : e === 5 ? bn(n, t) : e === 6 && Et(n, t);
4252
4259
  }
4253
- function wi(e, t) {
4254
- return t.type = "FeatureCollection", t.features = [], e.readMessage(vi, t);
4260
+ function xi(e, t) {
4261
+ return t.type = "FeatureCollection", t.features = [], e.readMessage(Fi, t);
4255
4262
  }
4256
- function On(e, t) {
4263
+ function bn(e, t) {
4257
4264
  t.type = "Feature";
4258
- var n = e.readMessage(xi, t);
4265
+ var n = e.readMessage(Mi, t);
4259
4266
  return "geometry" in n || (n.geometry = null), n;
4260
4267
  }
4261
4268
  function Et(e, t) {
4262
- return t.type = "Point", e.readMessage(Fi, t);
4269
+ return t.type = "Point", e.readMessage(Ti, t);
4263
4270
  }
4264
- function vi(e, t, n) {
4265
- e === 1 ? t.features.push(On(n, {})) : e === 13 ? ve.push(Rt(n)) : e === 15 && We(n, t);
4271
+ function Fi(e, t, n) {
4272
+ e === 1 ? t.features.push(bn(n, {})) : e === 13 ? ve.push(Rt(n)) : e === 15 && We(n, t);
4266
4273
  }
4267
- function xi(e, t, n) {
4274
+ function Mi(e, t, n) {
4268
4275
  e === 1 ? t.geometry = Et(n, {}) : e === 11 ? t.id = n.readString() : e === 12 ? t.id = n.readSVarint() : e === 13 ? ve.push(Rt(n)) : e === 14 ? t.properties = We(n, {}) : e === 15 && We(n, t);
4269
4276
  }
4270
- function Fi(e, t, n) {
4271
- e === 1 ? t.type = yi[n.readVarint()] : e === 2 ? C = n.readPackedVarint() : e === 3 ? Mi(t, n, t.type) : e === 4 ? (t.geometries = t.geometries || [], t.geometries.push(Et(n, {}))) : e === 13 ? ve.push(Rt(n)) : e === 15 && We(n, t);
4277
+ function Ti(e, t, n) {
4278
+ e === 1 ? t.type = gi[n.readVarint()] : e === 2 ? P = n.readPackedVarint() : e === 3 ? Si(t, n, t.type) : e === 4 ? (t.geometries = t.geometries || [], t.geometries.push(Et(n, {}))) : e === 13 ? ve.push(Rt(n)) : e === 15 && We(n, t);
4272
4279
  }
4273
- function Mi(e, t, n) {
4274
- n === "Point" ? e.coordinates = Ti(t) : n === "MultiPoint" || n === "LineString" ? e.coordinates = gn(t) : n === "MultiLineString" ? e.coordinates = wn(t) : n === "Polygon" ? e.coordinates = wn(t, !0) : n === "MultiPolygon" && (e.coordinates = Si(t));
4280
+ function Si(e, t, n) {
4281
+ n === "Point" ? e.coordinates = Di(t) : n === "MultiPoint" || n === "LineString" ? e.coordinates = gn(t) : n === "MultiLineString" ? e.coordinates = wn(t) : n === "Polygon" ? e.coordinates = wn(t, !0) : n === "MultiPolygon" && (e.coordinates = Ni(t));
4275
4282
  }
4276
4283
  function Rt(e) {
4277
4284
  for (var t = e.readVarint() + e.pos, n = null; e.pos < t; ) {
@@ -4284,11 +4291,11 @@ function We(e, t) {
4284
4291
  for (var n = e.readVarint() + e.pos; e.pos < n; ) t[$e[e.readVarint()]] = ve[e.readVarint()];
4285
4292
  return ve = [], t;
4286
4293
  }
4287
- function Ti(e) {
4294
+ function Di(e) {
4288
4295
  for (var t = e.readVarint() + e.pos, n = []; e.pos < t; ) n.push(e.readSVarint() / qe);
4289
4296
  return n;
4290
4297
  }
4291
- function Oe(e, t, n, a) {
4298
+ function be(e, t, n, a) {
4292
4299
  var i = 0, o = [], l, m, f = [];
4293
4300
  for (m = 0; m < Ke; m++) f[m] = 0;
4294
4301
  for (; n ? i < n : e.pos < t; ) {
@@ -4299,24 +4306,24 @@ function Oe(e, t, n, a) {
4299
4306
  return a && o.push(o[0]), o;
4300
4307
  }
4301
4308
  function gn(e) {
4302
- return Oe(e, e.readVarint() + e.pos);
4309
+ return be(e, e.readVarint() + e.pos);
4303
4310
  }
4304
4311
  function wn(e, t) {
4305
4312
  var n = e.readVarint() + e.pos;
4306
- if (!C) return [Oe(e, n, null, t)];
4307
- for (var a = [], i = 0; i < C.length; i++) a.push(Oe(e, n, C[i], t));
4308
- return C = null, a;
4313
+ if (!P) return [be(e, n, null, t)];
4314
+ for (var a = [], i = 0; i < P.length; i++) a.push(be(e, n, P[i], t));
4315
+ return P = null, a;
4309
4316
  }
4310
- function Si(e) {
4317
+ function Ni(e) {
4311
4318
  var t = e.readVarint() + e.pos;
4312
- if (!C) return [[Oe(e, t, null, !0)]];
4313
- for (var n = [], a = 1, i = 0; i < C[0]; i++) {
4314
- for (var o = [], l = 0; l < C[a]; l++) o.push(Oe(e, t, C[a + 1 + l], !0));
4315
- a += C[a] + 1, n.push(o);
4319
+ if (!P) return [[be(e, t, null, !0)]];
4320
+ for (var n = [], a = 1, i = 0; i < P[0]; i++) {
4321
+ for (var o = [], l = 0; l < P[a]; l++) o.push(be(e, t, P[a + 1 + l], !0));
4322
+ a += P[a] + 1, n.push(o);
4316
4323
  }
4317
- return C = null, n;
4324
+ return P = null, n;
4318
4325
  }
4319
- var Di = hi, Ot = {};
4326
+ var ki = _i, Ot = {};
4320
4327
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
4321
4328
  Ot.read = function(e, t, n, a, i) {
4322
4329
  var o, l, m = i * 8 - a - 1, f = (1 << m) - 1, d = f >> 1, c = -7, y = n ? i - 1 : 0, w = n ? -1 : 1, g = e[t + y];
@@ -4341,7 +4348,7 @@ Ot.write = function(e, t, n, a, i, o) {
4341
4348
  ;
4342
4349
  e[n + g - M] |= T * 128;
4343
4350
  };
4344
- var Ni = x, Ve = Ot;
4351
+ var Ei = x, Ve = Ot;
4345
4352
  function x(e) {
4346
4353
  this.buf = ArrayBuffer.isView && ArrayBuffer.isView(e) ? e : new Uint8Array(e || 0), this.pos = 0, this.type = 0, this.length = this.buf.length;
4347
4354
  }
@@ -4349,7 +4356,7 @@ x.Varint = 0;
4349
4356
  x.Fixed64 = 1;
4350
4357
  x.Bytes = 2;
4351
4358
  x.Fixed32 = 5;
4352
- var St = 65536 * 65536, vn = 1 / St, ki = 12, bn = typeof TextDecoder > "u" ? null : new TextDecoder("utf-8");
4359
+ var St = 65536 * 65536, vn = 1 / St, Ri = 12, Ln = typeof TextDecoder > "u" ? null : new TextDecoder("utf-8");
4353
4360
  x.prototype = {
4354
4361
  destroy: function() {
4355
4362
  this.buf = null;
@@ -4392,7 +4399,7 @@ x.prototype = {
4392
4399
  },
4393
4400
  readVarint: function(e) {
4394
4401
  var t = this.buf, n, a;
4395
- return a = t[this.pos++], n = a & 127, a < 128 || (a = t[this.pos++], n |= (a & 127) << 7, a < 128) || (a = t[this.pos++], n |= (a & 127) << 14, a < 128) || (a = t[this.pos++], n |= (a & 127) << 21, a < 128) ? n : (a = t[this.pos], n |= (a & 15) << 28, Ei(n, e, this));
4402
+ return a = t[this.pos++], n = a & 127, a < 128 || (a = t[this.pos++], n |= (a & 127) << 7, a < 128) || (a = t[this.pos++], n |= (a & 127) << 14, a < 128) || (a = t[this.pos++], n |= (a & 127) << 21, a < 128) ? n : (a = t[this.pos], n |= (a & 15) << 28, Oi(n, e, this));
4396
4403
  },
4397
4404
  readVarint64: function() {
4398
4405
  return this.readVarint(!0);
@@ -4406,7 +4413,7 @@ x.prototype = {
4406
4413
  },
4407
4414
  readString: function() {
4408
4415
  var e = this.readVarint() + this.pos, t = this.pos;
4409
- return this.pos = e, e - t >= ki && bn ? Yi(this.buf, t, e) : Vi(this.buf, t, e);
4416
+ return this.pos = e, e - t >= Ri && Ln ? ji(this.buf, t, e) : zi(this.buf, t, e);
4410
4417
  },
4411
4418
  readBytes: function() {
4412
4419
  var e = this.readVarint() + this.pos, t = this.buf.subarray(this.pos, e);
@@ -4504,7 +4511,7 @@ x.prototype = {
4504
4511
  },
4505
4512
  writeVarint: function(e) {
4506
4513
  if (e = +e || 0, e > 268435455 || e < 0) {
4507
- Ri(e, this);
4514
+ bi(e, this);
4508
4515
  return;
4509
4516
  }
4510
4517
  this.realloc(4), this.buf[this.pos++] = e & 127 | (e > 127 ? 128 : 0), !(e <= 127) && (this.buf[this.pos++] = (e >>>= 7) & 127 | (e > 127 ? 128 : 0), !(e <= 127) && (this.buf[this.pos++] = (e >>>= 7) & 127 | (e > 127 ? 128 : 0), !(e <= 127) && (this.buf[this.pos++] = e >>> 7 & 127)));
@@ -4518,7 +4525,7 @@ x.prototype = {
4518
4525
  writeString: function(e) {
4519
4526
  e = String(e), this.realloc(e.length * 4), this.pos++;
4520
4527
  var t = this.pos;
4521
- this.pos = zi(this.buf, e, this.pos);
4528
+ this.pos = $i(this.buf, e, this.pos);
4522
4529
  var n = this.pos - t;
4523
4530
  n >= 128 && xn(t, n, this), this.pos = t - 1, this.writeVarint(n), this.pos += n;
4524
4531
  },
@@ -4544,31 +4551,31 @@ x.prototype = {
4544
4551
  this.writeTag(e, x.Bytes), this.writeRawMessage(t, n);
4545
4552
  },
4546
4553
  writePackedVarint: function(e, t) {
4547
- t.length && this.writeMessage(e, Li, t);
4554
+ t.length && this.writeMessage(e, Ci, t);
4548
4555
  },
4549
4556
  writePackedSVarint: function(e, t) {
4550
4557
  t.length && this.writeMessage(e, Ii, t);
4551
4558
  },
4552
4559
  writePackedBoolean: function(e, t) {
4553
- t.length && this.writeMessage(e, Ui, t);
4560
+ t.length && this.writeMessage(e, Ai, t);
4554
4561
  },
4555
4562
  writePackedFloat: function(e, t) {
4556
- t.length && this.writeMessage(e, Gi, t);
4563
+ t.length && this.writeMessage(e, Ui, t);
4557
4564
  },
4558
4565
  writePackedDouble: function(e, t) {
4559
4566
  t.length && this.writeMessage(e, Pi, t);
4560
4567
  },
4561
4568
  writePackedFixed32: function(e, t) {
4562
- t.length && this.writeMessage(e, Ci, t);
4569
+ t.length && this.writeMessage(e, Bi, t);
4563
4570
  },
4564
4571
  writePackedSFixed32: function(e, t) {
4565
- t.length && this.writeMessage(e, Ai, t);
4572
+ t.length && this.writeMessage(e, Hi, t);
4566
4573
  },
4567
4574
  writePackedFixed64: function(e, t) {
4568
- t.length && this.writeMessage(e, Bi, t);
4575
+ t.length && this.writeMessage(e, Vi, t);
4569
4576
  },
4570
4577
  writePackedSFixed64: function(e, t) {
4571
- t.length && this.writeMessage(e, Hi, t);
4578
+ t.length && this.writeMessage(e, Yi, t);
4572
4579
  },
4573
4580
  writeBytesField: function(e, t) {
4574
4581
  this.writeTag(e, x.Bytes), this.writeBytes(t);
@@ -4604,7 +4611,7 @@ x.prototype = {
4604
4611
  this.writeVarintField(e, !!t);
4605
4612
  }
4606
4613
  };
4607
- function Ei(e, t, n) {
4614
+ function Oi(e, t, n) {
4608
4615
  var a = n.buf, i, o;
4609
4616
  if (o = a[n.pos++], i = (o & 112) >> 4, o < 128 || (o = a[n.pos++], i |= (o & 127) << 3, o < 128) || (o = a[n.pos++], i |= (o & 127) << 10, o < 128) || (o = a[n.pos++], i |= (o & 127) << 17, o < 128) || (o = a[n.pos++], i |= (o & 127) << 24, o < 128) || (o = a[n.pos++], i |= (o & 1) << 31, o < 128)) return ye(e, i, t);
4610
4617
  throw new Error("Expected varint not more than 10 bytes");
@@ -4615,16 +4622,16 @@ function J(e) {
4615
4622
  function ye(e, t, n) {
4616
4623
  return n ? t * 4294967296 + (e >>> 0) : (t >>> 0) * 4294967296 + (e >>> 0);
4617
4624
  }
4618
- function Ri(e, t) {
4625
+ function bi(e, t) {
4619
4626
  var n, a;
4620
4627
  if (e >= 0 ? (n = e % 4294967296 | 0, a = e / 4294967296 | 0) : (n = ~(-e % 4294967296), a = ~(-e / 4294967296), n ^ 4294967295 ? n = n + 1 | 0 : (n = 0, a = a + 1 | 0)), e >= 18446744073709552e3 || e < -18446744073709552e3)
4621
4628
  throw new Error("Given varint doesn't fit into 10 bytes");
4622
- t.realloc(10), Oi(n, a, t), bi(a, t);
4629
+ t.realloc(10), Li(n, a, t), Gi(a, t);
4623
4630
  }
4624
- function Oi(e, t, n) {
4631
+ function Li(e, t, n) {
4625
4632
  n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos] = e & 127;
4626
4633
  }
4627
- function bi(e, t) {
4634
+ function Gi(e, t) {
4628
4635
  var n = (e & 7) << 4;
4629
4636
  t.buf[t.pos++] |= n | ((e >>>= 3) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127)))));
4630
4637
  }
@@ -4633,31 +4640,31 @@ function xn(e, t, n) {
4633
4640
  n.realloc(a);
4634
4641
  for (var i = n.pos - 1; i >= e; i--) n.buf[i + a] = n.buf[i];
4635
4642
  }
4636
- function Li(e, t) {
4643
+ function Ci(e, t) {
4637
4644
  for (var n = 0; n < e.length; n++) t.writeVarint(e[n]);
4638
4645
  }
4639
4646
  function Ii(e, t) {
4640
4647
  for (var n = 0; n < e.length; n++) t.writeSVarint(e[n]);
4641
4648
  }
4642
- function Gi(e, t) {
4649
+ function Ui(e, t) {
4643
4650
  for (var n = 0; n < e.length; n++) t.writeFloat(e[n]);
4644
4651
  }
4645
4652
  function Pi(e, t) {
4646
4653
  for (var n = 0; n < e.length; n++) t.writeDouble(e[n]);
4647
4654
  }
4648
- function Ui(e, t) {
4655
+ function Ai(e, t) {
4649
4656
  for (var n = 0; n < e.length; n++) t.writeBoolean(e[n]);
4650
4657
  }
4651
- function Ci(e, t) {
4658
+ function Bi(e, t) {
4652
4659
  for (var n = 0; n < e.length; n++) t.writeFixed32(e[n]);
4653
4660
  }
4654
- function Ai(e, t) {
4661
+ function Hi(e, t) {
4655
4662
  for (var n = 0; n < e.length; n++) t.writeSFixed32(e[n]);
4656
4663
  }
4657
- function Bi(e, t) {
4664
+ function Vi(e, t) {
4658
4665
  for (var n = 0; n < e.length; n++) t.writeFixed64(e[n]);
4659
4666
  }
4660
- function Hi(e, t) {
4667
+ function Yi(e, t) {
4661
4668
  for (var n = 0; n < e.length; n++) t.writeSFixed64(e[n]);
4662
4669
  }
4663
4670
  function Ye(e, t) {
@@ -4669,7 +4676,7 @@ function _e(e, t, n) {
4669
4676
  function Fn(e, t) {
4670
4677
  return (e[t] | e[t + 1] << 8 | e[t + 2] << 16) + (e[t + 3] << 24);
4671
4678
  }
4672
- function Vi(e, t, n) {
4679
+ function zi(e, t, n) {
4673
4680
  for (var a = "", i = t; i < n; ) {
4674
4681
  var o = e[i], l = null, m = o > 239 ? 4 : o > 223 ? 3 : o > 191 ? 2 : 1;
4675
4682
  if (i + m > n) break;
@@ -4678,10 +4685,10 @@ function Vi(e, t, n) {
4678
4685
  }
4679
4686
  return a;
4680
4687
  }
4681
- function Yi(e, t, n) {
4682
- return bn.decode(e.subarray(t, n));
4688
+ function ji(e, t, n) {
4689
+ return Ln.decode(e.subarray(t, n));
4683
4690
  }
4684
- function zi(e, t, n) {
4691
+ function $i(e, t, n) {
4685
4692
  for (var a = 0, i, o; a < t.length; a++) {
4686
4693
  if (i = t.charCodeAt(a), i > 55295 && i < 57344)
4687
4694
  if (o)
@@ -4699,7 +4706,7 @@ function zi(e, t, n) {
4699
4706
  }
4700
4707
  return n;
4701
4708
  }
4702
- const ji = /* @__PURE__ */ pi(Ni), po = (e) => {
4709
+ const Ki = /* @__PURE__ */ yi(Ei), yo = (e) => {
4703
4710
  var a, i;
4704
4711
  if (!e || !e.data)
4705
4712
  return {};
@@ -4711,16 +4718,16 @@ const ji = /* @__PURE__ */ pi(Ni), po = (e) => {
4711
4718
  }
4712
4719
  return t;
4713
4720
  };
4714
- function $i(e, t = 0) {
4721
+ function Wi(e, t = 0) {
4715
4722
  let n = null;
4716
4723
  return (...a) => {
4717
4724
  n && clearTimeout(n), n = setTimeout(() => e(...a), t);
4718
4725
  };
4719
4726
  }
4720
- const Ki = { class: "legend" }, Wi = {
4727
+ const Zi = { class: "legend" }, qi = {
4721
4728
  key: 0,
4722
4729
  class: "legend-title"
4723
- }, Zi = { class: "legend-text" }, qi = /* @__PURE__ */ Dt({
4730
+ }, Ji = { class: "legend-text" }, Xi = /* @__PURE__ */ Dt({
4724
4731
  __name: "MapLegend",
4725
4732
  props: {
4726
4733
  metric: {},
@@ -4728,17 +4735,17 @@ const Ki = { class: "legend" }, Wi = {
4728
4735
  data: {}
4729
4736
  },
4730
4737
  setup(e) {
4731
- return (t, n) => ($(), ae("div", Ki, [
4732
- e.metric ? ($(), ae("div", Wi, we(e.title), 1)) : Ne("", !0),
4733
- ($(!0), ae(Kr, null, Wr(e.data, (a, i) => ($(), ae("div", {
4738
+ return (t, n) => ($(), ae("div", Zi, [
4739
+ e.metric ? ($(), ae("div", qi, we(e.title), 1)) : ke("", !0),
4740
+ ($(!0), ae(Wr, null, Zr(e.data, (a, i) => ($(), ae("div", {
4734
4741
  key: i,
4735
4742
  class: "legend-item"
4736
4743
  }, [
4737
4744
  X("span", {
4738
4745
  class: "legend-color",
4739
- style: Zr({ backgroundColor: a.color })
4746
+ style: qr({ backgroundColor: a.color })
4740
4747
  }, null, 4),
4741
- X("span", Zi, we(a.range), 1)
4748
+ X("span", Ji, we(a.range), 1)
4742
4749
  ]))), 128))
4743
4750
  ]));
4744
4751
  }
@@ -4747,7 +4754,7 @@ const Ki = { class: "legend" }, Wi = {
4747
4754
  for (const [a, i] of t)
4748
4755
  n[a] = i;
4749
4756
  return n;
4750
- }, Ji = /* @__PURE__ */ bt(qi, [["__scopeId", "data-v-5f034736"]]), Xi = { class: "map-tooltip" }, Qi = { class: "map-tooltip-text" }, eo = { key: 0 }, to = /* @__PURE__ */ Dt({
4757
+ }, Qi = /* @__PURE__ */ bt(Xi, [["__scopeId", "data-v-5f034736"]]), eo = { class: "map-tooltip" }, to = { class: "map-tooltip-text" }, no = { key: 0 }, ro = /* @__PURE__ */ Dt({
4751
4758
  __name: "MapTooltip",
4752
4759
  props: {
4753
4760
  data: {},
@@ -4756,22 +4763,22 @@ const Ki = { class: "legend" }, Wi = {
4756
4763
  left: {}
4757
4764
  },
4758
4765
  setup(e) {
4759
- return qr((t) => ({
4766
+ return Jr((t) => ({
4760
4767
  v75a0a274: t.left,
4761
4768
  v144f4294: t.top,
4762
4769
  v6e49e79e: t.data.color
4763
- })), (t, n) => ($(), ae("div", Xi, [
4770
+ })), (t, n) => ($(), ae("div", eo, [
4764
4771
  n[0] || (n[0] = X("div", { class: "map-tooltip-color" }, null, -1)),
4765
- X("div", Qi, [
4772
+ X("div", to, [
4766
4773
  X("div", null, we(e.data.label), 1),
4767
- e.showValue ? ($(), ae("span", eo, we(e.data.value), 1)) : Ne("", !0)
4774
+ e.showValue ? ($(), ae("span", no, we(e.data.value), 1)) : ke("", !0)
4768
4775
  ])
4769
4776
  ]));
4770
4777
  }
4771
- }), no = /* @__PURE__ */ bt(to, [["__scopeId", "data-v-6bea2641"]]), ro = { class: "kong-ui-public-analytics-geo-map" }, ao = {
4778
+ }), ao = /* @__PURE__ */ bt(ro, [["__scopeId", "data-v-6bea2641"]]), io = { class: "kong-ui-public-analytics-geo-map" }, oo = {
4772
4779
  key: 0,
4773
4780
  class: "no-location-overlay"
4774
- }, io = { class: "no-location-overlay-title" }, oo = { class: "no-location-overlay-description" }, so = ["id"], lo = /* @__PURE__ */ Dt({
4781
+ }, so = { class: "no-location-overlay-title" }, lo = { class: "no-location-overlay-description" }, uo = ["id"], co = /* @__PURE__ */ Dt({
4775
4782
  __name: "AnalyticsGeoMap",
4776
4783
  props: {
4777
4784
  countryMetrics: {},
@@ -4786,11 +4793,11 @@ const Ki = { class: "legend" }, Wi = {
4786
4793
  },
4787
4794
  emits: ["boundsChange"],
4788
4795
  setup(e, { emit: t }) {
4789
- const n = import("./countries-simple-geo-BFUDnSiE.js").then((_) => _.default), a = t, { i18n: i } = Ee.useI18n(), { getColor: o, legendData: l } = Ee.useLegendScale({
4796
+ const n = import("./countries-simple-geo-BFUDnSiE.js").then((_) => _.default), a = t, { i18n: i } = Re.useI18n(), { getColor: o, legendData: l } = Re.useLegendScale({
4790
4797
  countryMetrics: Be(() => e.countryMetrics),
4791
4798
  metric: Be(() => e.metric),
4792
4799
  unit: Be(() => e.metricUnit)
4793
- }), { formatMetric: m } = Ee.useMetricFormat({ unit: Be(() => e.metricUnit) }), f = De(), d = Jr(), c = De(), y = De(null), w = De({ left: "0px", top: "0px" }), g = De(!1), M = U(() => Object.keys(e.countryMetrics).length === 0 && !e.fitToCountry), T = U(() => ({
4800
+ }), { formatMetric: m } = Re.useMetricFormat({ unit: Be(() => e.metricUnit) }), f = Ne(), d = Xr(), c = Ne(), y = Ne(null), w = Ne({ left: "0px", top: "0px" }), g = Ne(!1), M = U(() => Object.keys(e.countryMetrics).length === 0 && !e.fitToCountry), T = U(() => ({
4794
4801
  "fill-color": [
4795
4802
  "match",
4796
4803
  [
@@ -4806,14 +4813,14 @@ const Ki = { class: "legend" }, Wi = {
4806
4813
  ...Object.keys(e.countryMetrics).length ? Object.entries(e.countryMetrics).flatMap(([_, F]) => [
4807
4814
  _,
4808
4815
  o(F)
4809
- ]) : [ke, ke],
4810
- ke
4816
+ ]) : [Ee, Ee],
4817
+ Ee
4811
4818
  // default color if no match
4812
4819
  ],
4813
4820
  "fill-opacity": 0.7
4814
- })), B = U(() => e.withLegend && Object.keys(e.countryMetrics).length > 0), A = U(() => e.metric && i.t(`metrics.${e.metric}`) || ""), G = (_) => {
4821
+ })), B = U(() => e.withLegend && Object.keys(e.countryMetrics).length > 0), A = U(() => e.metric && i.t(`metrics.${e.metric}`) || ""), C = (_) => {
4815
4822
  const F = _.flat(1);
4816
- return Array.isArray(F[0]) && Array.isArray(F[0][0]) ? G(F) : F;
4823
+ return Array.isArray(F[0]) && Array.isArray(F[0][0]) ? C(F) : F;
4817
4824
  }, ie = (_) => {
4818
4825
  var S, k, ee, K, H, te, ne;
4819
4826
  if (_ === "RU") {
@@ -4841,14 +4848,14 @@ const Ki = { class: "legend" }, Wi = {
4841
4848
  ]);
4842
4849
  return;
4843
4850
  }
4844
- const F = (H = y.value) == null ? void 0 : H.features.find((I) => {
4851
+ const F = (H = y.value) == null ? void 0 : H.features.find((G) => {
4845
4852
  var V, Y, z, v, j;
4846
- return (V = I.properties) != null && V.ISO_A2 ? ((Y = I.properties) == null ? void 0 : Y.ISO_A2) === _ : ((z = I.properties) == null ? void 0 : z.iso_a2) === "-99" ? ((v = I.properties) == null ? void 0 : v.iso_a2_eh) === _ : ((j = I.properties) == null ? void 0 : j.iso_a2) === _;
4853
+ return (V = G.properties) != null && V.ISO_A2 ? ((Y = G.properties) == null ? void 0 : Y.ISO_A2) === _ : ((z = G.properties) == null ? void 0 : z.iso_a2) === "-99" ? ((v = G.properties) == null ? void 0 : v.iso_a2_eh) === _ : ((j = G.properties) == null ? void 0 : j.iso_a2) === _;
4847
4854
  });
4848
4855
  if (F) {
4849
- const I = (te = F.geometry) == null ? void 0 : te.coordinates;
4850
- if (!I) return;
4851
- const V = G(I), Y = V.map((W) => W[1]), z = V.map((W) => W[0]), v = Math.min(...Y), j = Math.max(...Y), de = Math.min(...z), O = Math.max(...z);
4856
+ const G = (te = F.geometry) == null ? void 0 : te.coordinates;
4857
+ if (!G) return;
4858
+ const V = C(G), Y = V.map((W) => W[1]), z = V.map((W) => W[0]), v = Math.min(...Y), j = Math.max(...Y), de = Math.min(...z), O = Math.max(...z);
4852
4859
  (ne = c.value) == null || ne.fitBounds([
4853
4860
  [de, v],
4854
4861
  [O, j]
@@ -4873,7 +4880,7 @@ const Ki = { class: "legend" }, Wi = {
4873
4880
  }
4874
4881
  };
4875
4882
  return e.bounds && (_.bounds = e.bounds), _;
4876
- }), ce = $i(() => {
4883
+ }), ce = Wi(() => {
4877
4884
  if (!c.value) return;
4878
4885
  const _ = c.value.getBounds(), F = _.getSouthWest(), S = _.getNorthEast();
4879
4886
  a("boundsChange", [
@@ -4881,12 +4888,12 @@ const Ki = { class: "legend" }, Wi = {
4881
4888
  [S.lng, S.lat]
4882
4889
  ]);
4883
4890
  }, 300);
4884
- return Xr(async () => {
4891
+ return Qr(async () => {
4885
4892
  var _, F, S;
4886
4893
  try {
4887
- const k = await n, ee = await fetch(k), K = new Uint8Array(await ee.arrayBuffer()), H = Di(new ji(K));
4888
- y.value = H, c.value = new ta(D.value), c.value.on("load", () => {
4889
- var te, ne, I, V, Y, z, v;
4894
+ const k = await n, ee = await fetch(k), K = new Uint8Array(await ee.arrayBuffer()), H = ki(new Ki(K));
4895
+ y.value = H, c.value = new na(D.value), c.value.on("load", () => {
4896
+ var te, ne, G, V, Y, z, v;
4890
4897
  (te = c.value) == null || te.addSource("countries", {
4891
4898
  type: "geojson",
4892
4899
  data: H
@@ -4895,9 +4902,9 @@ const Ki = { class: "legend" }, Wi = {
4895
4902
  type: "fill",
4896
4903
  source: "countries",
4897
4904
  paint: T.value
4898
- }), (I = c.value) == null || I.addSource("lakes", {
4905
+ }), (G = c.value) == null || G.addSource("lakes", {
4899
4906
  type: "geojson",
4900
- data: fi
4907
+ data: hi
4901
4908
  }), (V = c.value) == null || V.addLayer({
4902
4909
  id: "lakes-layer",
4903
4910
  type: "fill",
@@ -4909,11 +4916,11 @@ const Ki = { class: "legend" }, Wi = {
4909
4916
  var O;
4910
4917
  const de = (O = j.features) == null ? void 0 : O[0];
4911
4918
  if (de) {
4912
- const { iso_a2: W, iso_a2_eh: Le, ISO_A2: Je, admin: Xe } = de.properties, Qe = Je ?? W === "-99" ? Le : W, Me = e.countryMetrics[Qe];
4913
- Me !== void 0 && (f.value = {
4919
+ const { iso_a2: W, iso_a2_eh: Le, ISO_A2: Je, admin: Xe } = de.properties, Qe = Je ?? W === "-99" ? Le : W, Te = e.countryMetrics[Qe];
4920
+ Te !== void 0 && (f.value = {
4914
4921
  label: Xe,
4915
- color: o(Me),
4916
- value: m(Me)
4922
+ color: o(Te),
4923
+ value: m(Te)
4917
4924
  }, g.value = !0, w.value = {
4918
4925
  left: `${j.point.x}px`,
4919
4926
  top: `${j.point.y}px`
@@ -4951,48 +4958,48 @@ const Ki = { class: "legend" }, Wi = {
4951
4958
  if (!_) return;
4952
4959
  const S = _ == null ? void 0 : _.flat(), k = F == null ? void 0 : F.flat();
4953
4960
  !(S && k && S.length === k.length && S.every((K, H) => Math.round(K * 100) / 100 === Math.round(k[H] * 100) / 100)) && c.value && c.value.fitBounds(_);
4954
- }), (_, F) => ($(), ae("div", ro, [
4955
- M.value ? ($(), ae("div", ao, [
4961
+ }), (_, F) => ($(), ae("div", io, [
4962
+ M.value ? ($(), ae("div", oo, [
4956
4963
  mt(_.$slots, "no-location-icon", {}, () => [
4957
- Qr(ue(aa), {
4958
- color: ue(oi),
4959
- size: ue(si)
4964
+ ea(ue(ia), {
4965
+ color: ue(li),
4966
+ size: ue(ui)
4960
4967
  }, null, 8, ["color", "size"])
4961
4968
  ], !0),
4962
- X("div", io, [
4969
+ X("div", so, [
4963
4970
  mt(_.$slots, "no-location-title", {}, () => [
4964
- ea(we(ue(i).t("no_location_data")), 1)
4971
+ ta(we(ue(i).t("no_location_data")), 1)
4965
4972
  ], !0)
4966
4973
  ]),
4967
- X("div", oo, [
4974
+ X("div", lo, [
4968
4975
  mt(_.$slots, "no-location-description", {}, () => [
4969
4976
  X("p", null, we(ue(i).t("no_location_data_description")), 1)
4970
4977
  ], !0)
4971
4978
  ])
4972
- ])) : Ne("", !0),
4979
+ ])) : ke("", !0),
4973
4980
  X("div", {
4974
4981
  id: ue(d),
4975
4982
  class: "analytics-geo-map-container"
4976
- }, null, 8, so),
4977
- B.value ? ($(), nn(Ji, {
4983
+ }, null, 8, uo),
4984
+ B.value ? ($(), nn(Qi, {
4978
4985
  key: 1,
4979
4986
  class: "legend-container",
4980
4987
  data: ue(l),
4981
4988
  metric: e.metric,
4982
4989
  title: A.value
4983
- }, null, 8, ["data", "metric", "title"])) : Ne("", !0),
4984
- g.value && f.value ? ($(), nn(no, {
4990
+ }, null, 8, ["data", "metric", "title"])) : ke("", !0),
4991
+ g.value && f.value ? ($(), nn(ao, {
4985
4992
  key: 2,
4986
4993
  data: f.value,
4987
4994
  left: w.value.left,
4988
4995
  "show-value": e.showTooltipValue,
4989
4996
  top: w.value.top
4990
- }, null, 8, ["data", "left", "show-value", "top"])) : Ne("", !0)
4997
+ }, null, 8, ["data", "left", "show-value", "top"])) : ke("", !0)
4991
4998
  ]));
4992
4999
  }
4993
- }), ho = /* @__PURE__ */ bt(lo, [["__scopeId", "data-v-4e998083"]]);
5000
+ }), _o = /* @__PURE__ */ bt(co, [["__scopeId", "data-v-4e998083"]]);
4994
5001
  export {
4995
- ho as AnalyticsGeoMap,
4996
- $i as debounce,
4997
- po as exploreResultToCountryMetrics
5002
+ _o as AnalyticsGeoMap,
5003
+ Wi as debounce,
5004
+ yo as exploreResultToCountryMetrics
4998
5005
  };