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