@kong-ui-public/analytics-geo-map 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vitals-geo-map.es.js +344 -343
- package/dist/vitals-geo-map.umd.js +1 -1
- package/package.json +2 -2
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { computed as j, defineComponent as ft, openBlock as W, createElementBlock as ne, toDisplayString as
|
|
2
|
-
import { Map as
|
|
3
|
-
import { createI18n as
|
|
4
|
-
import { AnalyticsIcon as
|
|
5
|
-
const
|
|
6
|
-
metricUnits:
|
|
7
|
-
metrics:
|
|
8
|
-
cooperative_gestures:
|
|
9
|
-
no_location_data:
|
|
10
|
-
no_location_data_description:
|
|
1
|
+
import { computed as j, defineComponent as ft, openBlock as W, createElementBlock as ne, toDisplayString as ye, createCommentVNode as xe, Fragment as $r, renderList as jr, createElementVNode as X, normalizeStyle as Kr, useCssVars as qr, toRef as Le, ref as we, useId as Wr, onUnmounted as Zr, onMounted as Jr, watch as Xe, renderSlot as et, createVNode as Qr, unref as oe, createTextVNode as Xr, createBlock as Ht } from "vue";
|
|
2
|
+
import { Map as ea } from "maplibre-gl";
|
|
3
|
+
import { createI18n as ta, i18nTComponent as na } from "@kong-ui-public/i18n";
|
|
4
|
+
import { AnalyticsIcon as ra } from "@kong/icons";
|
|
5
|
+
const aa = { ms: "ms", bytes: "Byte{plural}", count: "request{plural}", "count/minute": "rpm", requests: "request{plural}" }, ia = { error_rate: "Error rate", request_count: "Request count", request_per_minute: "Requests per minute", response_latency_average: "Response latency (avg)", response_latency_p99: "Response latency (p99)", response_latency_p95: "Response latency (p95)", response_latency_p50: "Response latency (p50)", kong_latency_average: "Kong latency (avg)", kong_latency_p99: "Kong latency (p99)", kong_latency_p95: "Kong latency (p95)", kong_latency_p50: "Kong latency (p50)", upstream_latency_average: "Upstream latency (avg)", upstream_latency_p99: "Upstream latency (p99)", upstream_latency_p95: "Upstream latency (p95)", upstream_latency_p50: "Upstream latency (p50)", response_size_average: "Response size (avg)", response_size_p99: "Response size (p99)", response_size_p95: "Response size (p95)", response_size_p50: "Response size (p50)", response_size_sum: "Response size (sum)", request_size_average: "Request size (avg)", request_size_p99: "Request size (p99)", request_size_p95: "Request size (p95)", request_size_p50: "Request size (p50)", request_size_sum: "Request size (sum)", cache_hit_rate: "Cache hit rate" }, oa = { windows_zoom_help_text: "Use Ctrl + Scroll to zoom the map", mac_zoom_help_text: "Use ⌘ + Scroll to zoom the map", mobile_zoom_help_text: "Use two fingers to zoom the map" }, sa = "No data in the current time frame", la = "Once there is traffic, it will display here", ua = {
|
|
6
|
+
metricUnits: aa,
|
|
7
|
+
metrics: ia,
|
|
8
|
+
cooperative_gestures: oa,
|
|
9
|
+
no_location_data: sa,
|
|
10
|
+
no_location_data_description: la
|
|
11
11
|
};
|
|
12
|
-
function
|
|
13
|
-
const e =
|
|
12
|
+
function ca() {
|
|
13
|
+
const e = ta("en-us", ua);
|
|
14
14
|
return {
|
|
15
15
|
i18n: e,
|
|
16
|
-
i18nT:
|
|
16
|
+
i18nT: na(e)
|
|
17
17
|
// Translation component <i18n-t>
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
const
|
|
21
|
-
function
|
|
20
|
+
const bt = "kapture:prepare", Yt = "kapture:restore";
|
|
21
|
+
function da(e) {
|
|
22
22
|
let n;
|
|
23
23
|
const a = () => {
|
|
24
24
|
n?.(), n = void 0;
|
|
@@ -29,12 +29,12 @@ function ca(e) {
|
|
|
29
29
|
})()
|
|
30
30
|
);
|
|
31
31
|
};
|
|
32
|
-
return window.addEventListener(
|
|
33
|
-
window.removeEventListener(
|
|
32
|
+
return window.addEventListener(bt, i), window.addEventListener(Yt, a), () => {
|
|
33
|
+
window.removeEventListener(bt, i), window.removeEventListener(Yt, a), a();
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
return
|
|
36
|
+
function ma(e, n = {}) {
|
|
37
|
+
return da(async () => {
|
|
38
38
|
const a = e();
|
|
39
39
|
if (!a)
|
|
40
40
|
return;
|
|
@@ -46,7 +46,7 @@ function da(e, n = {}) {
|
|
|
46
46
|
});
|
|
47
47
|
}
|
|
48
48
|
var v = /* @__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))(v || {});
|
|
49
|
-
const
|
|
49
|
+
const fa = ["in", "not_in", "selector"], pa = ["empty", "not_empty"], se = (e) => e.filter((n) => n !== "time"), yn = [
|
|
50
50
|
"api",
|
|
51
51
|
"api_package",
|
|
52
52
|
"api_product",
|
|
@@ -60,14 +60,14 @@ const ma = ["in", "not_in", "selector"], fa = ["empty", "not_empty"], se = (e) =
|
|
|
60
60
|
"status_code",
|
|
61
61
|
"status_code_grouped",
|
|
62
62
|
"time"
|
|
63
|
-
],
|
|
63
|
+
], hn = se(yn), ya = [
|
|
64
64
|
"active_services",
|
|
65
65
|
"error_rate",
|
|
66
66
|
"request_count",
|
|
67
67
|
"request_per_minute",
|
|
68
68
|
"response_latency_average"
|
|
69
69
|
], _n = [
|
|
70
|
-
...
|
|
70
|
+
...yn,
|
|
71
71
|
"application",
|
|
72
72
|
"bot_info_action",
|
|
73
73
|
"bot_info_detection_reason",
|
|
@@ -84,7 +84,7 @@ const ma = ["in", "not_in", "selector"], fa = ["empty", "not_empty"], se = (e) =
|
|
|
84
84
|
"portal_api",
|
|
85
85
|
"principal"
|
|
86
86
|
], gn = se(_n), ha = [
|
|
87
|
-
...
|
|
87
|
+
...ya,
|
|
88
88
|
"cache_hit_rate",
|
|
89
89
|
"response_latency_p99",
|
|
90
90
|
"response_latency_p95",
|
|
@@ -111,7 +111,7 @@ const ma = ["in", "not_in", "selector"], fa = ["empty", "not_empty"], se = (e) =
|
|
|
111
111
|
"request_size_p50",
|
|
112
112
|
"request_size_average",
|
|
113
113
|
"request_size_sum"
|
|
114
|
-
],
|
|
114
|
+
], _a = [
|
|
115
115
|
"control_plane",
|
|
116
116
|
"control_plane_group",
|
|
117
117
|
"gateway_service",
|
|
@@ -130,7 +130,7 @@ const ma = ["in", "not_in", "selector"], fa = ["empty", "not_empty"], se = (e) =
|
|
|
130
130
|
"status_code_grouped",
|
|
131
131
|
"ai_plugin",
|
|
132
132
|
"principal"
|
|
133
|
-
], wn = se(
|
|
133
|
+
], wn = se(_a), ga = [
|
|
134
134
|
"a2a_context_id",
|
|
135
135
|
"a2a_error",
|
|
136
136
|
"a2a_method",
|
|
@@ -181,8 +181,8 @@ const ma = ["in", "not_in", "selector"], fa = ["empty", "not_empty"], se = (e) =
|
|
|
181
181
|
"upstream_status_code_grouped",
|
|
182
182
|
"websocket"
|
|
183
183
|
];
|
|
184
|
-
se(
|
|
185
|
-
const
|
|
184
|
+
se(ga);
|
|
185
|
+
const wa = [
|
|
186
186
|
"ai_count",
|
|
187
187
|
"latencies_response_ms",
|
|
188
188
|
"latencies_upstream_ms",
|
|
@@ -194,8 +194,8 @@ const ga = [
|
|
|
194
194
|
"status_code",
|
|
195
195
|
"upstream_status_code"
|
|
196
196
|
];
|
|
197
|
-
se(
|
|
198
|
-
const
|
|
197
|
+
se(wa);
|
|
198
|
+
const va = [
|
|
199
199
|
..._n,
|
|
200
200
|
"a2a_context_id",
|
|
201
201
|
"a2a_error",
|
|
@@ -205,11 +205,11 @@ const wa = [
|
|
|
205
205
|
"mcp_method",
|
|
206
206
|
"mcp_session_id",
|
|
207
207
|
"mcp_tool_name"
|
|
208
|
-
], vn = se(
|
|
208
|
+
], vn = se(va);
|
|
209
209
|
[
|
|
210
210
|
...ha
|
|
211
211
|
];
|
|
212
|
-
const
|
|
212
|
+
const xa = [
|
|
213
213
|
"control_plane",
|
|
214
214
|
"data_plane_group",
|
|
215
215
|
"managed_cache",
|
|
@@ -217,8 +217,8 @@ const va = [
|
|
|
217
217
|
"provider",
|
|
218
218
|
"region",
|
|
219
219
|
"time"
|
|
220
|
-
],
|
|
221
|
-
new Set(
|
|
220
|
+
], xn = se(xa);
|
|
221
|
+
new Set(hn), new Set(gn), new Set(wn), new Set(vn), new Set(xn);
|
|
222
222
|
const pt = [
|
|
223
223
|
{ code: "AF", name: "Afghanistan" },
|
|
224
224
|
{ code: "AX", name: "Aland Islands" },
|
|
@@ -483,7 +483,7 @@ const Fa = (e) => ({
|
|
|
483
483
|
},
|
|
484
484
|
operator: {
|
|
485
485
|
type: "string",
|
|
486
|
-
enum:
|
|
486
|
+
enum: fa
|
|
487
487
|
},
|
|
488
488
|
value: {
|
|
489
489
|
type: "array",
|
|
@@ -509,7 +509,7 @@ const Fa = (e) => ({
|
|
|
509
509
|
},
|
|
510
510
|
operator: {
|
|
511
511
|
type: "string",
|
|
512
|
-
enum:
|
|
512
|
+
enum: pa
|
|
513
513
|
}
|
|
514
514
|
},
|
|
515
515
|
required: [
|
|
@@ -537,10 +537,11 @@ const Fa = (e) => ({
|
|
|
537
537
|
Fa([
|
|
538
538
|
.../* @__PURE__ */ new Set([
|
|
539
539
|
...gn,
|
|
540
|
-
...
|
|
540
|
+
...hn,
|
|
541
541
|
...wn,
|
|
542
542
|
...vn,
|
|
543
|
-
...Ma
|
|
543
|
+
...Ma,
|
|
544
|
+
...xn
|
|
544
545
|
])
|
|
545
546
|
]);
|
|
546
547
|
let Ta = {};
|
|
@@ -559,29 +560,29 @@ function Pe(e, n) {
|
|
|
559
560
|
return a.setHours(0, 0, 0, 0), a;
|
|
560
561
|
}
|
|
561
562
|
function Be(e, n) {
|
|
562
|
-
const a = Sa(), i = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, l = le(e, n?.in), d = l.getDay(),
|
|
563
|
-
return l.setDate(l.getDate() -
|
|
563
|
+
const a = Sa(), i = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? a.weekStartsOn ?? a.locale?.options?.weekStartsOn ?? 0, l = le(e, n?.in), d = l.getDay(), y = (d < i ? 7 : 0) + d - i;
|
|
564
|
+
return l.setDate(l.getDate() - y), l.setHours(0, 0, 0, 0), l;
|
|
564
565
|
}
|
|
565
566
|
function Ge(e, n, a) {
|
|
566
567
|
const i = le(e, a?.in);
|
|
567
568
|
return isNaN(n) ? Te(e, NaN) : (i.setDate(i.getDate() + n), i);
|
|
568
569
|
}
|
|
569
|
-
function
|
|
570
|
+
function Fn(e, n, a) {
|
|
570
571
|
const i = le(e, a?.in);
|
|
571
572
|
if (isNaN(n)) return Te(e, NaN);
|
|
572
573
|
if (!n)
|
|
573
574
|
return i;
|
|
574
575
|
const l = i.getDate(), d = Te(e, i.getTime());
|
|
575
576
|
d.setMonth(i.getMonth() + n + 1, 0);
|
|
576
|
-
const
|
|
577
|
-
return l >=
|
|
577
|
+
const y = d.getDate();
|
|
578
|
+
return l >= y ? d : (i.setFullYear(
|
|
578
579
|
d.getFullYear(),
|
|
579
580
|
d.getMonth(),
|
|
580
581
|
l
|
|
581
582
|
), i);
|
|
582
583
|
}
|
|
583
584
|
function ka(e, n, a) {
|
|
584
|
-
return
|
|
585
|
+
return Fn(e, n * 3, a);
|
|
585
586
|
}
|
|
586
587
|
function fe(e, n) {
|
|
587
588
|
const a = le(e, n?.in), i = a.getMonth(), l = i - i % 3;
|
|
@@ -602,10 +603,10 @@ function Ea(e) {
|
|
|
602
603
|
const n = e / Da;
|
|
603
604
|
return Math.trunc(n);
|
|
604
605
|
}
|
|
605
|
-
function Fn(e, n, a) {
|
|
606
|
-
return xn(e, -1, a);
|
|
607
|
-
}
|
|
608
606
|
function Mn(e, n, a) {
|
|
607
|
+
return Fn(e, -1, a);
|
|
608
|
+
}
|
|
609
|
+
function Tn(e, n, a) {
|
|
609
610
|
return ka(e, -1, a);
|
|
610
611
|
}
|
|
611
612
|
function La(e, n) {
|
|
@@ -676,16 +677,16 @@ function Ca(e) {
|
|
|
676
677
|
second: "2-digit"
|
|
677
678
|
})), tt[e];
|
|
678
679
|
}
|
|
679
|
-
function
|
|
680
|
+
function yt(e, n, a, i, l, d, y) {
|
|
680
681
|
const w = /* @__PURE__ */ new Date(0);
|
|
681
|
-
return w.setUTCFullYear(e, n, a), w.setUTCHours(i, l, d,
|
|
682
|
+
return w.setUTCFullYear(e, n, a), w.setUTCHours(i, l, d, y), w;
|
|
682
683
|
}
|
|
683
684
|
const qt = 36e5, Ua = 6e4, nt = {
|
|
684
685
|
timezoneZ: /^(Z)$/,
|
|
685
686
|
timezoneHH: /^([+-]\d{2})$/,
|
|
686
687
|
timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
|
|
687
688
|
};
|
|
688
|
-
function
|
|
689
|
+
function ze(e, n, a) {
|
|
689
690
|
if (!e)
|
|
690
691
|
return 0;
|
|
691
692
|
let i = nt.timezoneZ.exec(e);
|
|
@@ -696,21 +697,21 @@ function be(e, n, a) {
|
|
|
696
697
|
return l = parseInt(i[1], 10), Wt(l) ? -(l * qt) : NaN;
|
|
697
698
|
if (i = nt.timezoneHHMM.exec(e), i) {
|
|
698
699
|
l = parseInt(i[2], 10);
|
|
699
|
-
const
|
|
700
|
-
return Wt(l,
|
|
700
|
+
const y = parseInt(i[3], 10);
|
|
701
|
+
return Wt(l, y) ? (d = Math.abs(l) * qt + y * Ua, i[1] === "+" ? -d : d) : NaN;
|
|
701
702
|
}
|
|
702
703
|
if (Ba(e)) {
|
|
703
704
|
n = new Date(n || Date.now());
|
|
704
|
-
const
|
|
705
|
+
const y = a ? n : Aa(n), w = dt(y, e);
|
|
705
706
|
return -(a ? w : Va(n, w, e));
|
|
706
707
|
}
|
|
707
708
|
return NaN;
|
|
708
709
|
}
|
|
709
710
|
function Aa(e) {
|
|
710
|
-
return
|
|
711
|
+
return yt(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
|
|
711
712
|
}
|
|
712
713
|
function dt(e, n) {
|
|
713
|
-
const a = La(e, n), i =
|
|
714
|
+
const a = La(e, n), i = yt(a[0], a[1] - 1, a[2], a[3] % 24, a[4], a[5], 0).getTime();
|
|
714
715
|
let l = e.getTime();
|
|
715
716
|
const d = l % 1e3;
|
|
716
717
|
return l -= d >= 0 ? d : 1e3 + d, i - l;
|
|
@@ -741,7 +742,7 @@ function Jt(e) {
|
|
|
741
742
|
const n = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
|
|
742
743
|
return n.setUTCFullYear(e.getFullYear()), +e - +n;
|
|
743
744
|
}
|
|
744
|
-
const
|
|
745
|
+
const Sn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, rt = 36e5, Qt = 6e4, za = 2, H = {
|
|
745
746
|
dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
|
|
746
747
|
datePattern: /^([0-9W+-]+)(.*)/,
|
|
747
748
|
// year tokens
|
|
@@ -773,14 +774,14 @@ const Tn = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)
|
|
|
773
774
|
HHMM: /^(\d{2}):?(\d{2}([.,]\d*)?)$/,
|
|
774
775
|
HHMMSS: /^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,
|
|
775
776
|
// time zone tokens (to identify the presence of a tz)
|
|
776
|
-
timeZone:
|
|
777
|
+
timeZone: Sn
|
|
777
778
|
};
|
|
778
779
|
function mt(e, n = {}) {
|
|
779
780
|
if (arguments.length < 1)
|
|
780
781
|
throw new TypeError("1 argument required, but only " + arguments.length + " present");
|
|
781
782
|
if (e === null)
|
|
782
783
|
return /* @__PURE__ */ new Date(NaN);
|
|
783
|
-
const a = n.additionalDigits == null ?
|
|
784
|
+
const a = n.additionalDigits == null ? za : Number(n.additionalDigits);
|
|
784
785
|
if (a !== 2 && a !== 1 && a !== 0)
|
|
785
786
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
786
787
|
if (e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]")
|
|
@@ -789,16 +790,16 @@ function mt(e, n = {}) {
|
|
|
789
790
|
return new Date(e);
|
|
790
791
|
if (Object.prototype.toString.call(e) !== "[object String]")
|
|
791
792
|
return /* @__PURE__ */ new Date(NaN);
|
|
792
|
-
const i =
|
|
793
|
-
if (
|
|
793
|
+
const i = Ha(e), { year: l, restDateString: d } = ba(i.date, a), y = Ya(d, l);
|
|
794
|
+
if (y === null || isNaN(y.getTime()))
|
|
794
795
|
return /* @__PURE__ */ new Date(NaN);
|
|
795
|
-
if (
|
|
796
|
-
const w =
|
|
796
|
+
if (y) {
|
|
797
|
+
const w = y.getTime();
|
|
797
798
|
let S = 0, D;
|
|
798
799
|
if (i.time && (S = $a(i.time), S === null || isNaN(S)))
|
|
799
800
|
return /* @__PURE__ */ new Date(NaN);
|
|
800
801
|
if (i.timeZone || n.timeZone) {
|
|
801
|
-
if (D =
|
|
802
|
+
if (D = ze(i.timeZone || n.timeZone, new Date(w + S)), isNaN(D))
|
|
802
803
|
return /* @__PURE__ */ new Date(NaN);
|
|
803
804
|
} else
|
|
804
805
|
D = Jt(new Date(w + S)), D = Jt(new Date(w + S + D));
|
|
@@ -806,19 +807,19 @@ function mt(e, n = {}) {
|
|
|
806
807
|
} else
|
|
807
808
|
return /* @__PURE__ */ new Date(NaN);
|
|
808
809
|
}
|
|
809
|
-
function
|
|
810
|
+
function Ha(e) {
|
|
810
811
|
const n = {};
|
|
811
|
-
let a =
|
|
812
|
-
if (a ? (n.date = a[1], i = a[3]) : (a =
|
|
813
|
-
const l =
|
|
812
|
+
let a = H.dateTimePattern.exec(e), i;
|
|
813
|
+
if (a ? (n.date = a[1], i = a[3]) : (a = H.datePattern.exec(e), a ? (n.date = a[1], i = a[2]) : (n.date = null, i = e)), i) {
|
|
814
|
+
const l = H.timeZone.exec(i);
|
|
814
815
|
l ? (n.time = i.replace(l[1], ""), n.timeZone = l[1].trim()) : n.time = i;
|
|
815
816
|
}
|
|
816
817
|
return n;
|
|
817
818
|
}
|
|
818
|
-
function
|
|
819
|
+
function ba(e, n) {
|
|
819
820
|
if (e) {
|
|
820
|
-
const a =
|
|
821
|
-
let l =
|
|
821
|
+
const a = H.YYY[n], i = H.YYYYY[n];
|
|
822
|
+
let l = H.YYYY.exec(e) || i.exec(e);
|
|
822
823
|
if (l) {
|
|
823
824
|
const d = l[1];
|
|
824
825
|
return {
|
|
@@ -826,7 +827,7 @@ function Ha(e, n) {
|
|
|
826
827
|
restDateString: e.slice(d.length)
|
|
827
828
|
};
|
|
828
829
|
}
|
|
829
|
-
if (l =
|
|
830
|
+
if (l = H.YY.exec(e) || a.exec(e), l) {
|
|
830
831
|
const d = l[1];
|
|
831
832
|
return {
|
|
832
833
|
year: parseInt(d, 10) * 100,
|
|
@@ -844,35 +845,35 @@ function Ya(e, n) {
|
|
|
844
845
|
let a, i, l;
|
|
845
846
|
if (!e || !e.length)
|
|
846
847
|
return a = /* @__PURE__ */ new Date(0), a.setUTCFullYear(n), a;
|
|
847
|
-
let d =
|
|
848
|
+
let d = H.MM.exec(e);
|
|
848
849
|
if (d)
|
|
849
850
|
return a = /* @__PURE__ */ new Date(0), i = parseInt(d[1], 10) - 1, en(n, i) ? (a.setUTCFullYear(n, i), a) : /* @__PURE__ */ new Date(NaN);
|
|
850
|
-
if (d =
|
|
851
|
+
if (d = H.DDD.exec(e), d) {
|
|
851
852
|
a = /* @__PURE__ */ new Date(0);
|
|
852
|
-
const
|
|
853
|
-
return qa(n,
|
|
853
|
+
const y = parseInt(d[1], 10);
|
|
854
|
+
return qa(n, y) ? (a.setUTCFullYear(n, 0, y), a) : /* @__PURE__ */ new Date(NaN);
|
|
854
855
|
}
|
|
855
|
-
if (d =
|
|
856
|
+
if (d = H.MMDD.exec(e), d) {
|
|
856
857
|
a = /* @__PURE__ */ new Date(0), i = parseInt(d[1], 10) - 1;
|
|
857
|
-
const
|
|
858
|
-
return en(n, i,
|
|
858
|
+
const y = parseInt(d[2], 10);
|
|
859
|
+
return en(n, i, y) ? (a.setUTCFullYear(n, i, y), a) : /* @__PURE__ */ new Date(NaN);
|
|
859
860
|
}
|
|
860
|
-
if (d =
|
|
861
|
+
if (d = H.Www.exec(e), d)
|
|
861
862
|
return l = parseInt(d[1], 10) - 1, tn(l) ? Xt(n, l) : /* @__PURE__ */ new Date(NaN);
|
|
862
|
-
if (d =
|
|
863
|
+
if (d = H.WwwD.exec(e), d) {
|
|
863
864
|
l = parseInt(d[1], 10) - 1;
|
|
864
|
-
const
|
|
865
|
-
return tn(l,
|
|
865
|
+
const y = parseInt(d[2], 10) - 1;
|
|
866
|
+
return tn(l, y) ? Xt(n, l, y) : /* @__PURE__ */ new Date(NaN);
|
|
866
867
|
}
|
|
867
868
|
return null;
|
|
868
869
|
}
|
|
869
870
|
function $a(e) {
|
|
870
|
-
let n, a, i =
|
|
871
|
+
let n, a, i = H.HH.exec(e);
|
|
871
872
|
if (i)
|
|
872
873
|
return n = parseFloat(i[1].replace(",", ".")), at(n) ? n % 24 * rt : NaN;
|
|
873
|
-
if (i =
|
|
874
|
+
if (i = H.HHMM.exec(e), i)
|
|
874
875
|
return n = parseInt(i[1], 10), a = parseFloat(i[2].replace(",", ".")), at(n, a) ? n % 24 * rt + a * Qt : NaN;
|
|
875
|
-
if (i =
|
|
876
|
+
if (i = H.HHMMSS.exec(e), i) {
|
|
876
877
|
n = parseInt(i[1], 10), a = parseInt(i[2], 10);
|
|
877
878
|
const l = parseFloat(i[3].replace(",", "."));
|
|
878
879
|
return at(n, a, l) ? n % 24 * rt + a * Qt + l * 1e3 : NaN;
|
|
@@ -887,7 +888,7 @@ function Xt(e, n, a) {
|
|
|
887
888
|
return i.setUTCDate(i.getUTCDate() + d), i;
|
|
888
889
|
}
|
|
889
890
|
const ja = [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];
|
|
890
|
-
function
|
|
891
|
+
function Dn(e) {
|
|
891
892
|
return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
|
|
892
893
|
}
|
|
893
894
|
function en(e, n, a) {
|
|
@@ -896,7 +897,7 @@ function en(e, n, a) {
|
|
|
896
897
|
if (a != null) {
|
|
897
898
|
if (a < 1)
|
|
898
899
|
return !1;
|
|
899
|
-
const i =
|
|
900
|
+
const i = Dn(e);
|
|
900
901
|
if (i && a > Ka[n] || !i && a > ja[n])
|
|
901
902
|
return !1;
|
|
902
903
|
}
|
|
@@ -905,7 +906,7 @@ function en(e, n, a) {
|
|
|
905
906
|
function qa(e, n) {
|
|
906
907
|
if (n < 1)
|
|
907
908
|
return !1;
|
|
908
|
-
const a =
|
|
909
|
+
const a = Dn(e);
|
|
909
910
|
return !(a && n > 366 || !a && n > 365);
|
|
910
911
|
}
|
|
911
912
|
function tn(e, n) {
|
|
@@ -916,54 +917,54 @@ function at(e, n, a) {
|
|
|
916
917
|
}
|
|
917
918
|
function Wa(e, n, a) {
|
|
918
919
|
e = mt(e, a);
|
|
919
|
-
const i =
|
|
920
|
+
const i = ze(n, e, !0), l = new Date(e.getTime() - i), d = /* @__PURE__ */ new Date(0);
|
|
920
921
|
return d.setFullYear(l.getUTCFullYear(), l.getUTCMonth(), l.getUTCDate()), d.setHours(l.getUTCHours(), l.getUTCMinutes(), l.getUTCSeconds(), l.getUTCMilliseconds()), d;
|
|
921
922
|
}
|
|
922
923
|
function Za(e, n, a) {
|
|
923
|
-
if (typeof e == "string" && !e.match(
|
|
924
|
+
if (typeof e == "string" && !e.match(Sn))
|
|
924
925
|
return mt(e, { ...a, timeZone: n });
|
|
925
926
|
e = mt(e, a);
|
|
926
|
-
const i =
|
|
927
|
+
const i = yt(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()).getTime(), l = ze(n, new Date(i));
|
|
927
928
|
return new Date(i + l);
|
|
928
929
|
}
|
|
929
930
|
function Ja(e, n) {
|
|
930
|
-
return -
|
|
931
|
+
return -ze(e, n);
|
|
931
932
|
}
|
|
932
933
|
var Oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Ue = { exports: {} };
|
|
933
934
|
Ue.exports;
|
|
934
935
|
var nn;
|
|
935
936
|
function Qa() {
|
|
936
937
|
return nn || (nn = 1, (function(e, n) {
|
|
937
|
-
var a = 200, i = "__lodash_hash_undefined__", l = 9007199254740991, d = "[object Arguments]",
|
|
938
|
-
k[d] = k[
|
|
939
|
-
var ee = typeof Oe == "object" && Oe && Oe.Object === Object && Oe,
|
|
940
|
-
function
|
|
938
|
+
var a = 200, i = "__lodash_hash_undefined__", l = 9007199254740991, d = "[object Arguments]", y = "[object Array]", w = "[object Boolean]", S = "[object Date]", D = "[object Error]", h = "[object Function]", E = "[object GeneratorFunction]", L = "[object Map]", R = "[object Number]", P = "[object Object]", O = "[object Promise]", C = "[object RegExp]", V = "[object Set]", U = "[object String]", z = "[object Symbol]", I = "[object WeakMap]", q = "[object ArrayBuffer]", p = "[object DataView]", g = "[object Float32Array]", s = "[object Float64Array]", m = "[object Int8Array]", _ = "[object Int16Array]", x = "[object Int32Array]", t = "[object Uint8Array]", o = "[object Uint8ClampedArray]", u = "[object Uint16Array]", F = "[object Uint32Array]", T = /[\\^$.*+?()[\]{}|]/g, N = /\w*$/, G = /^\[object .+?Constructor\]$/, $ = /^(?:0|[1-9]\d*)$/, k = {};
|
|
939
|
+
k[d] = k[y] = k[q] = k[p] = k[w] = k[S] = k[g] = k[s] = k[m] = k[_] = k[x] = k[L] = k[R] = k[P] = k[C] = k[V] = k[U] = k[z] = k[t] = k[o] = k[u] = k[F] = !0, k[D] = k[h] = k[I] = !1;
|
|
940
|
+
var ee = typeof Oe == "object" && Oe && Oe.Object === Object && Oe, he = typeof self == "object" && self && self.Object === Object && self, Z = ee || he || Function("return this")(), _t = n && !n.nodeType && n, gt = _t && !0 && e && !e.nodeType && e, Nn = gt && gt.exports === _t;
|
|
941
|
+
function kn(r, c) {
|
|
941
942
|
return r.set(c[0], c[1]), r;
|
|
942
943
|
}
|
|
943
|
-
function
|
|
944
|
+
function Rn(r, c) {
|
|
944
945
|
return r.add(c), r;
|
|
945
946
|
}
|
|
946
|
-
function
|
|
947
|
+
function En(r, c) {
|
|
947
948
|
for (var f = -1, M = r ? r.length : 0; ++f < M && c(r[f], f, r) !== !1; )
|
|
948
949
|
;
|
|
949
950
|
return r;
|
|
950
951
|
}
|
|
951
|
-
function
|
|
952
|
+
function Ln(r, c) {
|
|
952
953
|
for (var f = -1, M = c.length, B = r.length; ++f < M; )
|
|
953
954
|
r[B + f] = c[f];
|
|
954
955
|
return r;
|
|
955
956
|
}
|
|
956
957
|
function wt(r, c, f, M) {
|
|
957
|
-
for (var B = -1,
|
|
958
|
+
for (var B = -1, b = r ? r.length : 0; ++B < b; )
|
|
958
959
|
f = c(f, r[B], B, r);
|
|
959
960
|
return f;
|
|
960
961
|
}
|
|
961
|
-
function
|
|
962
|
+
function Pn(r, c) {
|
|
962
963
|
for (var f = -1, M = Array(r); ++f < r; )
|
|
963
964
|
M[f] = c(f);
|
|
964
965
|
return M;
|
|
965
966
|
}
|
|
966
|
-
function
|
|
967
|
+
function Gn(r, c) {
|
|
967
968
|
return r?.[c];
|
|
968
969
|
}
|
|
969
970
|
function vt(r) {
|
|
@@ -981,7 +982,7 @@ function Qa() {
|
|
|
981
982
|
f[++c] = [B, M];
|
|
982
983
|
}), f;
|
|
983
984
|
}
|
|
984
|
-
function
|
|
985
|
+
function He(r, c) {
|
|
985
986
|
return function(f) {
|
|
986
987
|
return r(c(f));
|
|
987
988
|
};
|
|
@@ -992,12 +993,12 @@ function Qa() {
|
|
|
992
993
|
f[++c] = M;
|
|
993
994
|
}), f;
|
|
994
995
|
}
|
|
995
|
-
var
|
|
996
|
-
var r = /[^.]+$/.exec(
|
|
996
|
+
var On = Array.prototype, In = Function.prototype, Se = Object.prototype, be = Z["__core-js_shared__"], Mt = (function() {
|
|
997
|
+
var r = /[^.]+$/.exec(be && be.keys && be.keys.IE_PROTO || "");
|
|
997
998
|
return r ? "Symbol(src)_1." + r : "";
|
|
998
|
-
})(), Tt =
|
|
999
|
+
})(), Tt = In.toString, te = Se.hasOwnProperty, De = Se.toString, Cn = RegExp(
|
|
999
1000
|
"^" + Tt.call(te).replace(T, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1000
|
-
), St =
|
|
1001
|
+
), St = Nn ? Z.Buffer : void 0, Dt = Z.Symbol, Nt = Z.Uint8Array, Un = He(Object.getPrototypeOf, Object), An = Object.create, Vn = Se.propertyIsEnumerable, Bn = On.splice, kt = Object.getOwnPropertySymbols, zn = St ? St.isBuffer : void 0, Hn = He(Object.keys, Object), Ye = de(Z, "DataView"), _e = de(Z, "Map"), $e = de(Z, "Promise"), je = de(Z, "Set"), Ke = de(Z, "WeakMap"), ge = de(Object, "create"), bn = ie(Ye), Yn = ie(_e), $n = ie($e), jn = ie(je), Kn = ie(Ke), Rt = Dt ? Dt.prototype : void 0, Et = Rt ? Rt.valueOf : void 0;
|
|
1001
1002
|
function re(r) {
|
|
1002
1003
|
var c = -1, f = r ? r.length : 0;
|
|
1003
1004
|
for (this.clear(); ++c < f; ) {
|
|
@@ -1005,13 +1006,13 @@ function Qa() {
|
|
|
1005
1006
|
this.set(M[0], M[1]);
|
|
1006
1007
|
}
|
|
1007
1008
|
}
|
|
1008
|
-
function
|
|
1009
|
+
function qn() {
|
|
1009
1010
|
this.__data__ = ge ? ge(null) : {};
|
|
1010
1011
|
}
|
|
1011
|
-
function
|
|
1012
|
+
function Wn(r) {
|
|
1012
1013
|
return this.has(r) && delete this.__data__[r];
|
|
1013
1014
|
}
|
|
1014
|
-
function
|
|
1015
|
+
function Zn(r) {
|
|
1015
1016
|
var c = this.__data__;
|
|
1016
1017
|
if (ge) {
|
|
1017
1018
|
var f = c[r];
|
|
@@ -1019,15 +1020,15 @@ function Qa() {
|
|
|
1019
1020
|
}
|
|
1020
1021
|
return te.call(c, r) ? c[r] : void 0;
|
|
1021
1022
|
}
|
|
1022
|
-
function
|
|
1023
|
+
function Jn(r) {
|
|
1023
1024
|
var c = this.__data__;
|
|
1024
1025
|
return ge ? c[r] !== void 0 : te.call(c, r);
|
|
1025
1026
|
}
|
|
1026
|
-
function
|
|
1027
|
+
function Qn(r, c) {
|
|
1027
1028
|
var f = this.__data__;
|
|
1028
1029
|
return f[r] = ge && c === void 0 ? i : c, this;
|
|
1029
1030
|
}
|
|
1030
|
-
re.prototype.clear =
|
|
1031
|
+
re.prototype.clear = qn, re.prototype.delete = Wn, re.prototype.get = Zn, re.prototype.has = Jn, re.prototype.set = Qn;
|
|
1031
1032
|
function J(r) {
|
|
1032
1033
|
var c = -1, f = r ? r.length : 0;
|
|
1033
1034
|
for (this.clear(); ++c < f; ) {
|
|
@@ -1035,28 +1036,28 @@ function Qa() {
|
|
|
1035
1036
|
this.set(M[0], M[1]);
|
|
1036
1037
|
}
|
|
1037
1038
|
}
|
|
1038
|
-
function
|
|
1039
|
+
function Xn() {
|
|
1039
1040
|
this.__data__ = [];
|
|
1040
1041
|
}
|
|
1041
|
-
function
|
|
1042
|
+
function er(r) {
|
|
1042
1043
|
var c = this.__data__, f = Ne(c, r);
|
|
1043
1044
|
if (f < 0)
|
|
1044
1045
|
return !1;
|
|
1045
1046
|
var M = c.length - 1;
|
|
1046
|
-
return f == M ? c.pop() :
|
|
1047
|
+
return f == M ? c.pop() : Bn.call(c, f, 1), !0;
|
|
1047
1048
|
}
|
|
1048
|
-
function
|
|
1049
|
+
function tr(r) {
|
|
1049
1050
|
var c = this.__data__, f = Ne(c, r);
|
|
1050
1051
|
return f < 0 ? void 0 : c[f][1];
|
|
1051
1052
|
}
|
|
1052
|
-
function
|
|
1053
|
+
function nr(r) {
|
|
1053
1054
|
return Ne(this.__data__, r) > -1;
|
|
1054
1055
|
}
|
|
1055
|
-
function
|
|
1056
|
+
function rr(r, c) {
|
|
1056
1057
|
var f = this.__data__, M = Ne(f, r);
|
|
1057
1058
|
return M < 0 ? f.push([r, c]) : f[M][1] = c, this;
|
|
1058
1059
|
}
|
|
1059
|
-
J.prototype.clear =
|
|
1060
|
+
J.prototype.clear = Xn, J.prototype.delete = er, J.prototype.get = tr, J.prototype.has = nr, J.prototype.set = rr;
|
|
1060
1061
|
function ue(r) {
|
|
1061
1062
|
var c = -1, f = r ? r.length : 0;
|
|
1062
1063
|
for (this.clear(); ++c < f; ) {
|
|
@@ -1064,42 +1065,42 @@ function Qa() {
|
|
|
1064
1065
|
this.set(M[0], M[1]);
|
|
1065
1066
|
}
|
|
1066
1067
|
}
|
|
1067
|
-
function
|
|
1068
|
+
function ar() {
|
|
1068
1069
|
this.__data__ = {
|
|
1069
1070
|
hash: new re(),
|
|
1070
1071
|
map: new (_e || J)(),
|
|
1071
1072
|
string: new re()
|
|
1072
1073
|
};
|
|
1073
1074
|
}
|
|
1074
|
-
function
|
|
1075
|
+
function ir(r) {
|
|
1075
1076
|
return ke(this, r).delete(r);
|
|
1076
1077
|
}
|
|
1077
|
-
function
|
|
1078
|
+
function or(r) {
|
|
1078
1079
|
return ke(this, r).get(r);
|
|
1079
1080
|
}
|
|
1080
|
-
function
|
|
1081
|
+
function sr(r) {
|
|
1081
1082
|
return ke(this, r).has(r);
|
|
1082
1083
|
}
|
|
1083
|
-
function
|
|
1084
|
+
function lr(r, c) {
|
|
1084
1085
|
return ke(this, r).set(r, c), this;
|
|
1085
1086
|
}
|
|
1086
|
-
ue.prototype.clear =
|
|
1087
|
+
ue.prototype.clear = ar, ue.prototype.delete = ir, ue.prototype.get = or, ue.prototype.has = sr, ue.prototype.set = lr;
|
|
1087
1088
|
function ce(r) {
|
|
1088
1089
|
this.__data__ = new J(r);
|
|
1089
1090
|
}
|
|
1090
|
-
function
|
|
1091
|
+
function ur() {
|
|
1091
1092
|
this.__data__ = new J();
|
|
1092
1093
|
}
|
|
1093
|
-
function
|
|
1094
|
+
function cr(r) {
|
|
1094
1095
|
return this.__data__.delete(r);
|
|
1095
1096
|
}
|
|
1096
|
-
function
|
|
1097
|
+
function dr(r) {
|
|
1097
1098
|
return this.__data__.get(r);
|
|
1098
1099
|
}
|
|
1099
|
-
function
|
|
1100
|
+
function mr(r) {
|
|
1100
1101
|
return this.__data__.has(r);
|
|
1101
1102
|
}
|
|
1102
|
-
function
|
|
1103
|
+
function fr(r, c) {
|
|
1103
1104
|
var f = this.__data__;
|
|
1104
1105
|
if (f instanceof J) {
|
|
1105
1106
|
var M = f.__data__;
|
|
@@ -1109,11 +1110,11 @@ function Qa() {
|
|
|
1109
1110
|
}
|
|
1110
1111
|
return f.set(r, c), this;
|
|
1111
1112
|
}
|
|
1112
|
-
ce.prototype.clear =
|
|
1113
|
-
function
|
|
1114
|
-
var f = Ze(r) ||
|
|
1115
|
-
for (var
|
|
1116
|
-
te.call(r,
|
|
1113
|
+
ce.prototype.clear = ur, ce.prototype.delete = cr, ce.prototype.get = dr, ce.prototype.has = mr, ce.prototype.set = fr;
|
|
1114
|
+
function pr(r, c) {
|
|
1115
|
+
var f = Ze(r) || Ar(r) ? Pn(r.length, String) : [], M = f.length, B = !!M;
|
|
1116
|
+
for (var b in r)
|
|
1117
|
+
te.call(r, b) && !(B && (b == "length" || Or(b, M))) && f.push(b);
|
|
1117
1118
|
return f;
|
|
1118
1119
|
}
|
|
1119
1120
|
function Lt(r, c, f) {
|
|
@@ -1126,32 +1127,32 @@ function Qa() {
|
|
|
1126
1127
|
return f;
|
|
1127
1128
|
return -1;
|
|
1128
1129
|
}
|
|
1129
|
-
function
|
|
1130
|
+
function yr(r, c) {
|
|
1130
1131
|
return r && Pt(c, Je(c), r);
|
|
1131
1132
|
}
|
|
1132
|
-
function qe(r, c, f, M, B,
|
|
1133
|
+
function qe(r, c, f, M, B, b, Q) {
|
|
1133
1134
|
var Y;
|
|
1134
|
-
if (M && (Y =
|
|
1135
|
+
if (M && (Y = b ? M(r, B, b, Q) : M(r)), Y !== void 0)
|
|
1135
1136
|
return Y;
|
|
1136
1137
|
if (!Re(r))
|
|
1137
1138
|
return r;
|
|
1138
1139
|
var At = Ze(r);
|
|
1139
1140
|
if (At) {
|
|
1140
|
-
if (Y =
|
|
1141
|
-
return
|
|
1141
|
+
if (Y = Lr(r), !c)
|
|
1142
|
+
return kr(r, Y);
|
|
1142
1143
|
} else {
|
|
1143
|
-
var me = ae(r), Vt = me ==
|
|
1144
|
-
if (
|
|
1145
|
-
return
|
|
1146
|
-
if (me == P || me == d || Vt && !
|
|
1144
|
+
var me = ae(r), Vt = me == h || me == E;
|
|
1145
|
+
if (Br(r))
|
|
1146
|
+
return xr(r, c);
|
|
1147
|
+
if (me == P || me == d || Vt && !b) {
|
|
1147
1148
|
if (vt(r))
|
|
1148
|
-
return
|
|
1149
|
-
if (Y =
|
|
1150
|
-
return
|
|
1149
|
+
return b ? r : {};
|
|
1150
|
+
if (Y = Pr(Vt ? {} : r), !c)
|
|
1151
|
+
return Rr(r, yr(Y, r));
|
|
1151
1152
|
} else {
|
|
1152
1153
|
if (!k[me])
|
|
1153
|
-
return
|
|
1154
|
-
Y =
|
|
1154
|
+
return b ? r : {};
|
|
1155
|
+
Y = Gr(r, me, qe, c);
|
|
1155
1156
|
}
|
|
1156
1157
|
}
|
|
1157
1158
|
Q || (Q = new ce());
|
|
@@ -1159,36 +1160,36 @@ function Qa() {
|
|
|
1159
1160
|
if (Bt)
|
|
1160
1161
|
return Bt;
|
|
1161
1162
|
if (Q.set(r, Y), !At)
|
|
1162
|
-
var
|
|
1163
|
-
return
|
|
1164
|
-
|
|
1163
|
+
var zt = f ? Er(r) : Je(r);
|
|
1164
|
+
return En(zt || r, function(Qe, Ee) {
|
|
1165
|
+
zt && (Ee = Qe, Qe = r[Ee]), Lt(Y, Ee, qe(Qe, c, f, M, Ee, r, Q));
|
|
1165
1166
|
}), Y;
|
|
1166
1167
|
}
|
|
1167
1168
|
function hr(r) {
|
|
1168
|
-
return Re(r) ?
|
|
1169
|
+
return Re(r) ? An(r) : {};
|
|
1169
1170
|
}
|
|
1170
|
-
function
|
|
1171
|
+
function _r(r, c, f) {
|
|
1171
1172
|
var M = c(r);
|
|
1172
|
-
return Ze(r) ? M :
|
|
1173
|
+
return Ze(r) ? M : Ln(M, f(r));
|
|
1173
1174
|
}
|
|
1174
|
-
function
|
|
1175
|
+
function gr(r) {
|
|
1175
1176
|
return De.call(r);
|
|
1176
1177
|
}
|
|
1177
|
-
function
|
|
1178
|
-
if (!Re(r) ||
|
|
1178
|
+
function wr(r) {
|
|
1179
|
+
if (!Re(r) || Cr(r))
|
|
1179
1180
|
return !1;
|
|
1180
|
-
var c = Ut(r) || vt(r) ?
|
|
1181
|
+
var c = Ut(r) || vt(r) ? Cn : G;
|
|
1181
1182
|
return c.test(ie(r));
|
|
1182
1183
|
}
|
|
1183
|
-
function
|
|
1184
|
+
function vr(r) {
|
|
1184
1185
|
if (!Ot(r))
|
|
1185
|
-
return
|
|
1186
|
+
return Hn(r);
|
|
1186
1187
|
var c = [];
|
|
1187
1188
|
for (var f in Object(r))
|
|
1188
1189
|
te.call(r, f) && f != "constructor" && c.push(f);
|
|
1189
1190
|
return c;
|
|
1190
1191
|
}
|
|
1191
|
-
function
|
|
1192
|
+
function xr(r, c) {
|
|
1192
1193
|
if (c)
|
|
1193
1194
|
return r.slice();
|
|
1194
1195
|
var f = new r.constructor(r.length);
|
|
@@ -1198,30 +1199,30 @@ function Qa() {
|
|
|
1198
1199
|
var c = new r.constructor(r.byteLength);
|
|
1199
1200
|
return new Nt(c).set(new Nt(r)), c;
|
|
1200
1201
|
}
|
|
1201
|
-
function
|
|
1202
|
+
function Fr(r, c) {
|
|
1202
1203
|
var f = c ? We(r.buffer) : r.buffer;
|
|
1203
1204
|
return new r.constructor(f, r.byteOffset, r.byteLength);
|
|
1204
1205
|
}
|
|
1205
|
-
function
|
|
1206
|
+
function Mr(r, c, f) {
|
|
1206
1207
|
var M = c ? f(xt(r), !0) : xt(r);
|
|
1207
|
-
return wt(M,
|
|
1208
|
+
return wt(M, kn, new r.constructor());
|
|
1208
1209
|
}
|
|
1209
|
-
function
|
|
1210
|
+
function Tr(r) {
|
|
1210
1211
|
var c = new r.constructor(r.source, N.exec(r));
|
|
1211
1212
|
return c.lastIndex = r.lastIndex, c;
|
|
1212
1213
|
}
|
|
1213
|
-
function
|
|
1214
|
+
function Sr(r, c, f) {
|
|
1214
1215
|
var M = c ? f(Ft(r), !0) : Ft(r);
|
|
1215
|
-
return wt(M,
|
|
1216
|
+
return wt(M, Rn, new r.constructor());
|
|
1216
1217
|
}
|
|
1217
|
-
function
|
|
1218
|
+
function Dr(r) {
|
|
1218
1219
|
return Et ? Object(Et.call(r)) : {};
|
|
1219
1220
|
}
|
|
1220
|
-
function
|
|
1221
|
+
function Nr(r, c) {
|
|
1221
1222
|
var f = c ? We(r.buffer) : r.buffer;
|
|
1222
1223
|
return new r.constructor(f, r.byteOffset, r.length);
|
|
1223
1224
|
}
|
|
1224
|
-
function
|
|
1225
|
+
function kr(r, c) {
|
|
1225
1226
|
var f = -1, M = r.length;
|
|
1226
1227
|
for (c || (c = Array(M)); ++f < M; )
|
|
1227
1228
|
c[f] = r[f];
|
|
@@ -1229,52 +1230,52 @@ function Qa() {
|
|
|
1229
1230
|
}
|
|
1230
1231
|
function Pt(r, c, f, M) {
|
|
1231
1232
|
f || (f = {});
|
|
1232
|
-
for (var B = -1,
|
|
1233
|
+
for (var B = -1, b = c.length; ++B < b; ) {
|
|
1233
1234
|
var Q = c[B], Y = void 0;
|
|
1234
1235
|
Lt(f, Q, Y === void 0 ? r[Q] : Y);
|
|
1235
1236
|
}
|
|
1236
1237
|
return f;
|
|
1237
1238
|
}
|
|
1238
|
-
function
|
|
1239
|
+
function Rr(r, c) {
|
|
1239
1240
|
return Pt(r, Gt(r), c);
|
|
1240
1241
|
}
|
|
1241
|
-
function
|
|
1242
|
-
return
|
|
1242
|
+
function Er(r) {
|
|
1243
|
+
return _r(r, Je, Gt);
|
|
1243
1244
|
}
|
|
1244
1245
|
function ke(r, c) {
|
|
1245
1246
|
var f = r.__data__;
|
|
1246
|
-
return
|
|
1247
|
+
return Ir(c) ? f[typeof c == "string" ? "string" : "hash"] : f.map;
|
|
1247
1248
|
}
|
|
1248
1249
|
function de(r, c) {
|
|
1249
|
-
var f =
|
|
1250
|
-
return
|
|
1250
|
+
var f = Gn(r, c);
|
|
1251
|
+
return wr(f) ? f : void 0;
|
|
1251
1252
|
}
|
|
1252
|
-
var Gt = kt ?
|
|
1253
|
+
var Gt = kt ? He(kt, Object) : br, ae = gr;
|
|
1253
1254
|
(Ye && ae(new Ye(new ArrayBuffer(1))) != p || _e && ae(new _e()) != L || $e && ae($e.resolve()) != O || je && ae(new je()) != V || Ke && ae(new Ke()) != I) && (ae = function(r) {
|
|
1254
1255
|
var c = De.call(r), f = c == P ? r.constructor : void 0, M = f ? ie(f) : void 0;
|
|
1255
1256
|
if (M)
|
|
1256
1257
|
switch (M) {
|
|
1257
|
-
case
|
|
1258
|
+
case bn:
|
|
1258
1259
|
return p;
|
|
1259
|
-
case Hn:
|
|
1260
|
-
return L;
|
|
1261
1260
|
case Yn:
|
|
1262
|
-
return
|
|
1261
|
+
return L;
|
|
1263
1262
|
case $n:
|
|
1264
|
-
return
|
|
1263
|
+
return O;
|
|
1265
1264
|
case jn:
|
|
1265
|
+
return V;
|
|
1266
|
+
case Kn:
|
|
1266
1267
|
return I;
|
|
1267
1268
|
}
|
|
1268
1269
|
return c;
|
|
1269
1270
|
});
|
|
1270
|
-
function
|
|
1271
|
+
function Lr(r) {
|
|
1271
1272
|
var c = r.length, f = r.constructor(c);
|
|
1272
1273
|
return c && typeof r[0] == "string" && te.call(r, "index") && (f.index = r.index, f.input = r.input), f;
|
|
1273
1274
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return typeof r.constructor == "function" && !Ot(r) ? hr(
|
|
1275
|
+
function Pr(r) {
|
|
1276
|
+
return typeof r.constructor == "function" && !Ot(r) ? hr(Un(r)) : {};
|
|
1276
1277
|
}
|
|
1277
|
-
function
|
|
1278
|
+
function Gr(r, c, f, M) {
|
|
1278
1279
|
var B = r.constructor;
|
|
1279
1280
|
switch (c) {
|
|
1280
1281
|
case q:
|
|
@@ -1283,7 +1284,7 @@ function Qa() {
|
|
|
1283
1284
|
case S:
|
|
1284
1285
|
return new B(+r);
|
|
1285
1286
|
case p:
|
|
1286
|
-
return
|
|
1287
|
+
return Fr(r, M);
|
|
1287
1288
|
case g:
|
|
1288
1289
|
case s:
|
|
1289
1290
|
case m:
|
|
@@ -1293,28 +1294,28 @@ function Qa() {
|
|
|
1293
1294
|
case o:
|
|
1294
1295
|
case u:
|
|
1295
1296
|
case F:
|
|
1296
|
-
return
|
|
1297
|
+
return Nr(r, M);
|
|
1297
1298
|
case L:
|
|
1298
|
-
return
|
|
1299
|
+
return Mr(r, M, f);
|
|
1299
1300
|
case R:
|
|
1300
1301
|
case U:
|
|
1301
1302
|
return new B(r);
|
|
1302
1303
|
case C:
|
|
1303
|
-
return
|
|
1304
|
+
return Tr(r);
|
|
1304
1305
|
case V:
|
|
1305
|
-
return
|
|
1306
|
-
case
|
|
1307
|
-
return
|
|
1306
|
+
return Sr(r, M, f);
|
|
1307
|
+
case z:
|
|
1308
|
+
return Dr(r);
|
|
1308
1309
|
}
|
|
1309
1310
|
}
|
|
1310
|
-
function
|
|
1311
|
+
function Or(r, c) {
|
|
1311
1312
|
return c = c ?? l, !!c && (typeof r == "number" || $.test(r)) && r > -1 && r % 1 == 0 && r < c;
|
|
1312
1313
|
}
|
|
1313
|
-
function
|
|
1314
|
+
function Ir(r) {
|
|
1314
1315
|
var c = typeof r;
|
|
1315
1316
|
return c == "string" || c == "number" || c == "symbol" || c == "boolean" ? r !== "__proto__" : r === null;
|
|
1316
1317
|
}
|
|
1317
|
-
function
|
|
1318
|
+
function Cr(r) {
|
|
1318
1319
|
return !!Mt && Mt in r;
|
|
1319
1320
|
}
|
|
1320
1321
|
function Ot(r) {
|
|
@@ -1334,47 +1335,47 @@ function Qa() {
|
|
|
1334
1335
|
}
|
|
1335
1336
|
return "";
|
|
1336
1337
|
}
|
|
1337
|
-
function
|
|
1338
|
+
function Ur(r) {
|
|
1338
1339
|
return qe(r, !0, !0);
|
|
1339
1340
|
}
|
|
1340
1341
|
function It(r, c) {
|
|
1341
1342
|
return r === c || r !== r && c !== c;
|
|
1342
1343
|
}
|
|
1343
|
-
function
|
|
1344
|
-
return
|
|
1344
|
+
function Ar(r) {
|
|
1345
|
+
return Vr(r) && te.call(r, "callee") && (!Vn.call(r, "callee") || De.call(r) == d);
|
|
1345
1346
|
}
|
|
1346
1347
|
var Ze = Array.isArray;
|
|
1347
1348
|
function Ct(r) {
|
|
1348
|
-
return r != null &&
|
|
1349
|
+
return r != null && zr(r.length) && !Ut(r);
|
|
1349
1350
|
}
|
|
1350
|
-
function
|
|
1351
|
-
return
|
|
1351
|
+
function Vr(r) {
|
|
1352
|
+
return Hr(r) && Ct(r);
|
|
1352
1353
|
}
|
|
1353
|
-
var
|
|
1354
|
+
var Br = zn || Yr;
|
|
1354
1355
|
function Ut(r) {
|
|
1355
1356
|
var c = Re(r) ? De.call(r) : "";
|
|
1356
|
-
return c ==
|
|
1357
|
+
return c == h || c == E;
|
|
1357
1358
|
}
|
|
1358
|
-
function
|
|
1359
|
+
function zr(r) {
|
|
1359
1360
|
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= l;
|
|
1360
1361
|
}
|
|
1361
1362
|
function Re(r) {
|
|
1362
1363
|
var c = typeof r;
|
|
1363
1364
|
return !!r && (c == "object" || c == "function");
|
|
1364
1365
|
}
|
|
1365
|
-
function
|
|
1366
|
+
function Hr(r) {
|
|
1366
1367
|
return !!r && typeof r == "object";
|
|
1367
1368
|
}
|
|
1368
1369
|
function Je(r) {
|
|
1369
|
-
return Ct(r) ?
|
|
1370
|
+
return Ct(r) ? pr(r) : vr(r);
|
|
1370
1371
|
}
|
|
1371
|
-
function
|
|
1372
|
+
function br() {
|
|
1372
1373
|
return [];
|
|
1373
1374
|
}
|
|
1374
|
-
function
|
|
1375
|
+
function Yr() {
|
|
1375
1376
|
return !1;
|
|
1376
1377
|
}
|
|
1377
|
-
e.exports =
|
|
1378
|
+
e.exports = Ur;
|
|
1378
1379
|
})(Ue, Ue.exports)), Ue.exports;
|
|
1379
1380
|
}
|
|
1380
1381
|
Qa();
|
|
@@ -1507,7 +1508,7 @@ class ai extends A {
|
|
|
1507
1508
|
return n && (a = K(a, n)), a;
|
|
1508
1509
|
}
|
|
1509
1510
|
rawStart(n) {
|
|
1510
|
-
let a = fe(
|
|
1511
|
+
let a = fe(Tn(this.tzAdjustedDate(n)));
|
|
1511
1512
|
return n && (a = K(a, n)), a;
|
|
1512
1513
|
}
|
|
1513
1514
|
}
|
|
@@ -1517,7 +1518,7 @@ class ii extends A {
|
|
|
1517
1518
|
return n && (a = K(a, n)), a;
|
|
1518
1519
|
}
|
|
1519
1520
|
rawStart(n) {
|
|
1520
|
-
let a = pe(
|
|
1521
|
+
let a = pe(Mn(this.tzAdjustedDate(n)));
|
|
1521
1522
|
return n && (a = K(a, n)), a;
|
|
1522
1523
|
}
|
|
1523
1524
|
}
|
|
@@ -1708,7 +1709,7 @@ v.FIFTEEN_MIN, new A({
|
|
|
1708
1709
|
timeframeText: "Month",
|
|
1709
1710
|
timeframeLength: () => {
|
|
1710
1711
|
let e = 0;
|
|
1711
|
-
const n = pe(/* @__PURE__ */ new Date()), a = pe(
|
|
1712
|
+
const n = pe(/* @__PURE__ */ new Date()), a = pe(Mn(/* @__PURE__ */ new Date()));
|
|
1712
1713
|
return n.getTimezoneOffset() !== a.getTimezoneOffset() && (e = rn(n, a)), 3600 * 24 * Ra((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + jt(e);
|
|
1713
1714
|
},
|
|
1714
1715
|
defaultResponseGranularity: "daily",
|
|
@@ -1720,7 +1721,7 @@ v.FIFTEEN_MIN, new A({
|
|
|
1720
1721
|
display: "Previous quarter",
|
|
1721
1722
|
timeframeText: "Quarter",
|
|
1722
1723
|
timeframeLength: () => {
|
|
1723
|
-
const e = fe(/* @__PURE__ */ new Date()), n = fe(
|
|
1724
|
+
const e = fe(/* @__PURE__ */ new Date()), n = fe(Tn(/* @__PURE__ */ new Date()));
|
|
1724
1725
|
return (e.getTime() - n.getTime()) / 1e3;
|
|
1725
1726
|
},
|
|
1726
1727
|
defaultResponseGranularity: "daily",
|
|
@@ -1759,8 +1760,8 @@ const an = 1e3, si = 1e4, on = 1e6, sn = 1e9, ln = 1e12, Ae = (e, n) => {
|
|
|
1759
1760
|
return Math[l](i).toString();
|
|
1760
1761
|
let d;
|
|
1761
1762
|
a.precision ? d = i : d = i < 10 ? Math[l](i * 10) / 10 : Math[l](i);
|
|
1762
|
-
let
|
|
1763
|
-
return typeof a.decimal == "string" && (
|
|
1763
|
+
let y = d.toString();
|
|
1764
|
+
return typeof a.decimal == "string" && (y = y.replace(".", a.decimal)), y;
|
|
1764
1765
|
};
|
|
1765
1766
|
function Ve(e, n = {}) {
|
|
1766
1767
|
let a;
|
|
@@ -1777,31 +1778,31 @@ function ui({
|
|
|
1777
1778
|
const n = (i, l) => {
|
|
1778
1779
|
if (isNaN(i))
|
|
1779
1780
|
return "0 B";
|
|
1780
|
-
const d = l ? Math.pow(2, 50) : 1e15,
|
|
1781
|
-
let
|
|
1782
|
-
return i >= d ?
|
|
1781
|
+
const d = l ? Math.pow(2, 50) : 1e15, y = l ? Math.pow(2, 40) : 1e12, w = l ? Math.pow(2, 30) : 1e9, S = l ? Math.pow(2, 20) : 1e6, D = l ? Math.pow(2, 10) : 1e3;
|
|
1782
|
+
let h;
|
|
1783
|
+
return i >= d ? h = e.formatNumber(
|
|
1783
1784
|
Number.parseFloat((i / d).toPrecision(3)),
|
|
1784
1785
|
{ style: "unit", unit: "petabyte", unitDisplay: "narrow" }
|
|
1785
|
-
) : i >=
|
|
1786
|
-
Number.parseFloat((i /
|
|
1786
|
+
) : i >= y ? h = e.formatNumber(
|
|
1787
|
+
Number.parseFloat((i / y).toPrecision(3)),
|
|
1787
1788
|
{ style: "unit", unit: "terabyte", unitDisplay: "narrow" }
|
|
1788
|
-
) : i >= w ?
|
|
1789
|
+
) : i >= w ? h = e.formatNumber(
|
|
1789
1790
|
Number.parseFloat((i / w).toPrecision(3)),
|
|
1790
1791
|
{ style: "unit", unit: "gigabyte", unitDisplay: "narrow" }
|
|
1791
|
-
) : i >= S ?
|
|
1792
|
+
) : i >= S ? h = e.formatNumber(
|
|
1792
1793
|
Number.parseFloat((i / S).toPrecision(3)),
|
|
1793
1794
|
{ style: "unit", unit: "megabyte", unitDisplay: "narrow" }
|
|
1794
|
-
) : i >= D ?
|
|
1795
|
+
) : i >= D ? h = e.formatNumber(
|
|
1795
1796
|
Number.parseFloat((i / D).toPrecision(3)),
|
|
1796
1797
|
{ style: "unit", unit: "kilobyte", unitDisplay: "narrow" }
|
|
1797
|
-
) :
|
|
1798
|
+
) : h = e.formatNumber(
|
|
1798
1799
|
Number.parseFloat(i.toPrecision(3)),
|
|
1799
1800
|
{ style: "unit", unit: "byte", unitDisplay: "narrow" }
|
|
1800
|
-
),
|
|
1801
|
+
), h.replace(/([a-zA-Z]*)$/, " $1");
|
|
1801
1802
|
}, a = (i, l = "USD") => isNaN(i) ? l === "USD" ? "$0.00" : `${i}` : i >= 0.01 || l !== "USD" ? e.formatNumber(i, { style: "currency", currency: l }) : i < 1e-4 ? "< $0.0001" : `$${Number.parseFloat(i.toPrecision(4))}`;
|
|
1802
1803
|
return { formatUnit: (i, l, {
|
|
1803
1804
|
isBytes1024: d = !1,
|
|
1804
|
-
currency:
|
|
1805
|
+
currency: y = "USD",
|
|
1805
1806
|
approximate: w = !1,
|
|
1806
1807
|
translateUnit: S = (D) => D
|
|
1807
1808
|
} = {}) => {
|
|
@@ -1810,30 +1811,30 @@ function ui({
|
|
|
1810
1811
|
case "bytes":
|
|
1811
1812
|
return n(i, d);
|
|
1812
1813
|
case "usd":
|
|
1813
|
-
return a(i,
|
|
1814
|
+
return a(i, y);
|
|
1814
1815
|
default:
|
|
1815
1816
|
return isNaN(i) ? `${i}` : w ? `${Ve(i, { capital: !0 })} ${D}` : i >= 0.01 ? `${it.format(Number.parseFloat(i.toFixed(2)))} ${D}` : `${Number.parseFloat(i.toPrecision(4))} ${D}`;
|
|
1816
1817
|
}
|
|
1817
1818
|
}, formatBytes: n, formatCost: a, formatRange: (i, l, d, {
|
|
1818
|
-
isBytes1024:
|
|
1819
|
+
isBytes1024: y = !1,
|
|
1819
1820
|
currency: w = "USD",
|
|
1820
1821
|
approximate: S = !1,
|
|
1821
|
-
translateUnit: D = (
|
|
1822
|
+
translateUnit: D = (h) => h
|
|
1822
1823
|
} = {}) => {
|
|
1823
|
-
const
|
|
1824
|
+
const h = D(d, l);
|
|
1824
1825
|
switch (d) {
|
|
1825
1826
|
case "bytes":
|
|
1826
|
-
return `${n(i,
|
|
1827
|
+
return `${n(i, y)} - ${n(l, y)}`;
|
|
1827
1828
|
case "usd":
|
|
1828
1829
|
return `${a(i, w)} - ${a(l, w)}`;
|
|
1829
1830
|
default:
|
|
1830
1831
|
if (isNaN(i) || isNaN(l))
|
|
1831
1832
|
return `${i} - ${l}`;
|
|
1832
1833
|
if (S)
|
|
1833
|
-
return `${Ve(i, { capital: !0 })} - ${Ve(l, { capital: !0 })} ${
|
|
1834
|
+
return `${Ve(i, { capital: !0 })} - ${Ve(l, { capital: !0 })} ${h}`;
|
|
1834
1835
|
}
|
|
1835
1836
|
const E = i >= 0.01 ? `${it.format(Number.parseFloat(i.toFixed(2)))}` : `${Number.parseFloat(i.toPrecision(4))}`, L = l >= 0.01 ? `${it.format(Number.parseFloat(l.toFixed(2)))}` : `${Number.parseFloat(l.toPrecision(4))}`;
|
|
1836
|
-
return `${E} - ${L} ${
|
|
1837
|
+
return `${E} - ${L} ${h}`;
|
|
1837
1838
|
} };
|
|
1838
1839
|
}
|
|
1839
1840
|
const Fe = "#e0e4ea", ci = "#828a9e", di = "32px", un = 5, ot = [
|
|
@@ -1864,26 +1865,26 @@ function fi({
|
|
|
1864
1865
|
for (const P of Object.keys(R))
|
|
1865
1866
|
pt.find((O) => O.code === P) || delete R[P];
|
|
1866
1867
|
return R;
|
|
1867
|
-
}),
|
|
1868
|
+
}), y = j(() => Object.values(d.value)), w = j(() => Object.keys(d.value).length), S = j(() => w.value < un - 1 ? w.value : un), D = j(() => !n.value?.includes("latency")), h = j(() => {
|
|
1868
1869
|
const R = [];
|
|
1869
|
-
if (
|
|
1870
|
-
const P = [...
|
|
1871
|
-
return R.push(...U, ...
|
|
1872
|
-
}
|
|
1873
|
-
return st(
|
|
1874
|
-
}), E = j(() =>
|
|
1875
|
-
color: L(
|
|
1876
|
-
range: i(
|
|
1870
|
+
if (y.value.length > 10) {
|
|
1871
|
+
const P = [...y.value].sort((I, q) => I - q), O = mi(P, 0.75), C = y.value.filter((I) => I >= O), V = y.value.filter((I) => I < O), U = st(C, 3), z = st(V, 2);
|
|
1872
|
+
return R.push(...U, ...z), R;
|
|
1873
|
+
}
|
|
1874
|
+
return st(y.value, S.value);
|
|
1875
|
+
}), E = j(() => y.value.length === 1 ? [{
|
|
1876
|
+
color: L(y.value[0]),
|
|
1877
|
+
range: i(y.value[0], {
|
|
1877
1878
|
approximate: D.value,
|
|
1878
1879
|
showUnit: !a.value.includes("count")
|
|
1879
1880
|
}).trim()
|
|
1880
|
-
}] :
|
|
1881
|
-
const O = P === 0 ? Math.max(...
|
|
1881
|
+
}] : h.value.map((R, P) => {
|
|
1882
|
+
const O = P === 0 ? Math.max(...h.value) : h.value[P - 1], C = R, V = O;
|
|
1882
1883
|
let U = "";
|
|
1883
1884
|
return P === 0 ? U = `> ${i(C, {
|
|
1884
1885
|
showUnit: !a.value.includes("count"),
|
|
1885
1886
|
approximate: D.value
|
|
1886
|
-
})}`.trim() : P ===
|
|
1887
|
+
})}`.trim() : P === h.value.length - 1 ? U = `< ${i(V, {
|
|
1887
1888
|
showUnit: !a.value.includes("count"),
|
|
1888
1889
|
approximate: D.value
|
|
1889
1890
|
})}`.trim() : U = l(C, V, {
|
|
@@ -1896,13 +1897,13 @@ function fi({
|
|
|
1896
1897
|
})), L = (R) => {
|
|
1897
1898
|
if (R === 0)
|
|
1898
1899
|
return Fe;
|
|
1899
|
-
const P =
|
|
1900
|
+
const P = h.value.findIndex((O) => R >= O);
|
|
1900
1901
|
return P === -1 ? ot[ot.length - 1] : ot[P] ?? Fe;
|
|
1901
1902
|
};
|
|
1902
1903
|
return {
|
|
1903
1904
|
getColor: L,
|
|
1904
1905
|
legendData: E,
|
|
1905
|
-
scale:
|
|
1906
|
+
scale: h
|
|
1906
1907
|
};
|
|
1907
1908
|
}
|
|
1908
1909
|
function pi({
|
|
@@ -1910,29 +1911,29 @@ function pi({
|
|
|
1910
1911
|
}) {
|
|
1911
1912
|
const { i18n: n } = Me.useI18n(), { formatUnit: a, formatRange: i } = ui({ i18n: n });
|
|
1912
1913
|
return {
|
|
1913
|
-
formatMetric: (
|
|
1914
|
+
formatMetric: (y, {
|
|
1914
1915
|
showUnit: w = !0,
|
|
1915
1916
|
approximate: S = !1
|
|
1916
|
-
} = {}) => a(
|
|
1917
|
+
} = {}) => a(y, e.value, {
|
|
1917
1918
|
approximate: S,
|
|
1918
|
-
translateUnit: (D) => w ? n.t(`metricUnits.${D}`, { plural:
|
|
1919
|
+
translateUnit: (D) => w ? n.t(`metricUnits.${D}`, { plural: y > 1 ? "s" : "" }) : ""
|
|
1919
1920
|
}),
|
|
1920
|
-
formatMetricRange: (
|
|
1921
|
+
formatMetricRange: (y, w, {
|
|
1921
1922
|
showUnit: S = !0,
|
|
1922
1923
|
approximate: D = !1
|
|
1923
|
-
} = {}) => i(
|
|
1924
|
+
} = {}) => i(y, w, e.value, {
|
|
1924
1925
|
approximate: D,
|
|
1925
|
-
translateUnit: (
|
|
1926
|
+
translateUnit: (h) => S ? n.t(`metricUnits.${h}`, { plural: w > 1 ? "s" : "" }) : ""
|
|
1926
1927
|
})
|
|
1927
1928
|
};
|
|
1928
1929
|
}
|
|
1929
1930
|
const Me = {
|
|
1930
|
-
useI18n:
|
|
1931
|
+
useI18n: ca,
|
|
1931
1932
|
useLegendScale: fi,
|
|
1932
1933
|
useMetricFormat: pi
|
|
1933
|
-
}, hi = "FeatureCollection", yi = /* @__PURE__ */ JSON.parse('[{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rBaikal","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[106.57998579307912,52.79998159444554],[106.53998823448521,52.93999888774037],[107.0800069519353,53.18001007751998],[107.2999935242018,53.37999787048953],[107.59997521365611,53.51998932556822],[108.03994835818912,53.859968573616456],[108.37997928266967,54.25999583598784],[109.05270307824526,55.027597561251326],[109.19346967980832,55.53560272889659],[109.50699059452313,55.73091380474372],[109.92980716353523,55.7129562445223],[109.70000206913326,54.980003567110515],[109.66000451053935,54.71999359803395],[109.47996382043448,54.33999095317566],[109.31997358605884,53.81999685323869],[109.22003136600637,53.619983222052994],[108.99999311730755,53.78002513286093],[108.60001753136845,53.4399942083804],[108.800005324338,53.37999787048953],[108.76000776574409,53.200008856816936],[108.45997439985749,53.14001251892607],[108.17999148970011,52.79998159444554],[107.79996300662566,52.579995022179034],[107.31999230349876,52.42000478780339],[106.64003380740229,52.32001089131862],[106.1000150899522,52.03997630472897],[105.740037062607,51.759993394571595],[105.24001590375084,51.52000804300813],[104.81998986208251,51.46001170511727],[104.30002160036167,51.50000926371118],[103.7600028829116,51.60000316019595],[103.6200114278329,51.73999461527464],[103.85999677939637,51.85998729105637],[104.39996382041414,51.85998729105637],[105.05997521364597,52.0000045843512],[105.4800012553143,52.28001333272471],[105.98002241417046,52.51999868428817],[106.26000532432784,52.619992580772944],[106.57998579307912,52.79998159444554]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rWinnipeg","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-98.95540137408423,53.92978343364277],[-97.95799455441879,54.337097072967325],[-97.8050064766187,54.05938792583079],[-97.64380184608419,53.42521474874492],[-96.39258622921722,51.39730235453108],[-96.23789282915149,50.6910147161819],[-96.72558915890605,50.448910630894474],[-96.92110694048235,50.75405996357799],[-97.23568722205913,51.49778717712263],[-98.20097713905517,52.18456696228162],[-99.23680538612963,53.21628693298888],[-98.95540137408423,53.92978343364277]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Great\\rSlave Lake","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-115.00000342492967,61.9723932969562],[-115.80669837122196,62.54171255151576],[-116.0585951404287,62.77880402287089],[-115.84279435917783,62.7503044704619],[-114.45259497766185,62.42820526798667],[-113.35341142459757,62.04448192000336],[-111.77890804731261,62.44360484480964],[-111.04001258018727,62.92000987410843],[-110.20001217328286,63.08000010848407],[-109.40000932497237,62.87817780216814],[-109.09010576051801,62.814099026126215],[-109.11651241741916,62.6928144395372],[-110.10089677614705,62.51561595320837],[-111.27599300824811,62.34911448836395],[-112.63050981326654,61.55991201440246],[-113.64000891808828,61.07999298770784],[-115.3409903634076,60.87659455020702],[-116.43999304895887,60.86000641544133],[-118.06110856817108,61.31196849226605],[-118.3474735177165,61.36137116153708],[-118.3849906075604,61.52110301375126],[-118.17960262741634,61.55629466414203],[-116.8028132800801,61.32589529076871],[-115.67879920129957,61.69179026961132],[-115.00000342492967,61.9723932969562]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"L. Ontario","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-79.05630591502026,43.25410431576152],[-79.36168779164908,43.20237620703736],[-79.76047481964547,43.29720246029295],[-79.46116492381094,43.639197089200565],[-79.1561706204243,43.75743276628437],[-78.45052893747877,43.9031861435636],[-77.60536088734519,44.039327704436545],[-77.16148617217414,43.850140285815996],[-76.88269181995948,44.0694550644627],[-76.56555355498425,44.20802541765336],[-76.35303422718391,44.134670722015045],[-76.23926856149336,43.979150499032656],[-76.17999569365458,43.5900011256587],[-76.9300015937227,43.2599954290428],[-77.74915056019732,43.342832750006664],[-78.53499406605984,43.379988104824534],[-79.05630591502026,43.25410431576152]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"L. Erie","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-83.12001135937246,42.08001577409016],[-82.57123348664891,42.01702220312636],[-81.82918575715374,42.33552989355732],[-81.39226152212595,42.61517690690481],[-81.09496700715081,42.66075552018623],[-80.54515560578142,42.560089830081665],[-80.27917700877515,42.71566172949635],[-79.79135148793986,42.84203644466612],[-78.92000932485044,42.96500051530464],[-78.90057898630869,42.8667119410855],[-79.76220598012725,42.269616604169045],[-80.51644934764329,41.980331936199136],[-81.03119828970264,41.845508124349635],[-81.62351355663209,41.568935858723535],[-82.34744869660895,41.435920722004255],[-82.84610043000939,41.48710622818935],[-83.46283281119673,41.69396698665372],[-83.12001135937246,42.08001577409016],[-83.12001135937246,42.08001577409016]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake Superior","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-89.60000342482806,48.00998973244721],[-89.19405921095924,48.40546946877693],[-88.62641944044917,48.56251414651193],[-88.40423661981026,48.80632355406499],[-88.17895321323383,48.93670319273738],[-87.24903581414156,48.73511343036678],[-86.56000810417788,48.71108388935106],[-86.32103044304411,48.57729360614741],[-85.98652889681881,48.01035146747326],[-84.8642201403039,47.86007640236849],[-85.04061764193222,47.575700995466306],[-84.64500871452178,47.28220469826462],[-84.81528255892351,46.90233124448706],[-84.39559241406505,46.77683502866624],[-84.60490780306328,46.439594631529474],[-84.9100054593145,46.48000560158172],[-85.11999264193253,46.76001434995524],[-86.1026200019625,46.67265534116582],[-86.99000769727856,46.45000743263628],[-87.69427995476835,46.83104360614041],[-88.2612220934425,46.958581041036766],[-87.93992387566777,47.485913194359185],[-88.82260901564527,47.154796454449],[-89.62498897984119,46.83083690041124],[-90.39703487828177,46.57648550067064],[-91.00999487991183,46.92000458433087],[-92.01192338740282,46.71167104754619],[-92.00877112503301,46.85843211525511],[-91.33000118687926,47.28000844989221],[-90.61999284540505,47.68000987404746],[-89.60000342482806,48.00998973244721]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rVictoria","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[33.85036827976734,0.128157863766091],[33.85036827976734,0.128157863766091],[34.13624230320599,-0.319308363449238],[34.0726286150547,-1.059831638191795],[33.579428745261055,-1.506005954599821],[33.251748488098286,-1.957968031424549],[33.64717654799571,-2.30089283611342],[33.07672041192572,-2.547131035984201],[32.95176679864397,-2.43044565186915],[32.37309410983957,-2.489925225437091],[31.926558058405476,-2.714511000177573],[31.648022088352292,-2.32921152100937],[31.836020949030114,-1.629305922048232],[31.866199985488578,-1.027378838712494],[31.815143670384202,-0.64042571371094],[32.27284183119332,-0.056120293786734],[32.906136508930246,0.0867650415003],[33.33184695815069,0.324993394365833],[33.85036827976734,0.128157863766091]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rLadoga","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[29.836711460089845,61.22608226179696],[29.836711460089845,61.22608226179696],[30.85199832532828,61.77504100203353],[32.52688317234018,61.11751007755173],[32.94432539239392,60.64260366478942],[32.81575442885176,60.481889960361684],[32.599901971168606,60.533514716221276],[32.583882277158125,60.20893504499601],[31.699440138482714,60.23565176049091],[31.50973595553924,59.92034800886205],[31.106246372204282,59.92768606224749],[31.10893354668346,60.14645823835514],[30.533878208139498,60.63009796817478],[30.502045525847706,60.843211574946466],[29.836711460089845,61.22608226179696]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rBalkhash","name_alt":"Balqash Köli","admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[78.99076541536459,46.748619696634876],[78.99076541536459,46.748619696634876],[79.2451684915375,46.64516347918655],[78.88989301953086,46.369934800800024],[78.44506229036242,46.29717438413307],[77.20606814973246,46.3955663112168],[75.61128177277294,46.50718740496724],[75.46333214712132,46.6706141220903],[75.40566124868357,46.47080719663377],[74.91122114451494,46.404661363300164],[74.77138471873312,46.107831936215646],[74.27802981964263,46.004065660173566],[74.0999528339648,44.98893382423201],[73.4367375019309,45.60946442319282],[73.4399931171653,45.80586070411809],[73.73713260284359,46.012747300798594],[73.67925499867667,46.18307282163262],[74.02068118682908,46.20490611427593],[74.09432010284502,46.42781240496693],[74.939384800114,46.81678091082786],[76.20313195181177,46.7800131292522],[77.18131513866464,46.64340648048862],[77.85993004752152,46.64785065366573],[78.29700931184618,46.46853343361292],[78.39710656119556,46.657669175801175],[78.99076541536459,46.748619696634876]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rTanganyika","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[30.806006300588507,-8.578339125201033],[30.46442508313922,-8.498188978716335],[30.566847771941724,-8.1150082332721],[30.27735639824263,-7.848357842646031],[30.14702843600253,-7.299244073112582],[29.536523064906334,-6.7541610652979],[29.19318484875913,-6.038029066597119],[29.371985304489016,-5.616452731960017],[29.101717563602506,-5.054006442895265],[29.281034783655315,-3.455499362810748],[29.652588331833897,-4.420143324403149],[29.600085076625334,-4.896393324405054],[29.79195966972506,-5.040880629093131],[29.758421665167646,-5.466901136907339],[29.951226434048635,-5.860985609565162],[29.722041456834177,-6.244114678577112],[30.52803877129051,-6.922729587433992],[30.604158156056457,-7.541916599155222],[31.189032016735865,-8.729906101113095],[31.022117140433124,-8.786543470904988],[30.806006300588507,-8.578339125201033],[30.806006300588507,-8.578339125201033]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake Malawi","name_alt":"Lake Nyasa","admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[35.2602047055542,-14.277474460510291],[35.236226840970915,-14.401291192281633],[34.881209751125766,-14.012012627826891],[34.706543409979076,-14.262023207255027],[34.54675988133266,-14.047669366108266],[34.55110070164528,-13.67208505621096],[34.3209338722171,-13.379389743709737],[34.32997724786827,-12.944584242405995],[34.032527703596315,-12.208556817272836],[34.322690870915096,-11.652983493702834],[34.25990400568048,-10.447579034062642],[33.906592238100984,-9.801726983278854],[33.99557905450757,-9.495440769084837],[34.52422895685345,-10.03013681400887],[34.60789310073403,-11.080511976773494],[34.93702029800096,-11.463434340056267],[34.69388268406766,-12.422393894096615],[34.86756717300062,-13.701127211159019],[35.05597944513687,-13.742933444883136],[35.2602047055542,-14.277474460510291]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Aral\\rSea","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[60.05285159692946,44.264636949229114],[59.77002648299603,44.15999217383806],[59.06288618351405,44.36928172462015],[59.34571129744745,44.99720205339871],[59.35930219914022,45.190006822279685],[58.96139367049281,45.37500844988459],[58.92144778833119,45.101846828789746],[58.92144778833119,44.73556427670495],[58.497132602782614,44.212340399749735],[58.285000848224456,44.473952338227335],[58.285000848224456,44.89255727800766],[58.689989048095896,45.50001373959863],[58.78000939314833,45.88673432065487],[59.20427290226462,45.93905670835039],[59.535002068932585,45.70501414650049],[59.55784305200561,46.30533926043519],[59.77002648299603,46.25299103452352],[60.12359663273702,46.096023871436955],[60.12359663273702,45.88673432065487],[59.94675988143425,45.808211981787366],[59.84071984237133,45.520477606786216],[60.12359663273702,45.572774156265595],[60.23997195825834,44.78403677019473],[60.05285159692946,44.264636949229114]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Vänern","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[13.979281447005576,59.20491364199721],[13.979281447005576,59.20491364199721],[13.984449090234762,59.086212877022774],[13.91892337408865,58.902503160225166],[13.28268313971111,58.608670966213566],[12.830100945698888,58.50903880475484],[12.460149366921371,58.50619660097878],[12.537767368223768,58.77594757754237],[12.522161085671598,58.880282294339665],[12.697085808979608,58.953843695707135],[13.027039829163215,58.993531195707305],[13.195298292705559,59.12900096296045],[13.59144982265505,59.336481838612315],[13.979281447005576,59.20491364199721]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Okeechobee","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-80.70643775096435,26.788959458924822],[-80.93244462759287,26.823272609966622],[-80.91970638703292,27.068916530866048],[-80.69369951040441,27.034629218040394],[-80.70643775096435,26.788959458924822],[-80.70643775096435,26.788959458924822]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lago de\\rNicaragua","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-84.85548682324658,11.147898667846633],[-85.29013729525353,11.176165676310276],[-85.79132117383625,11.509737046754324],[-85.8851655748783,11.900100816287136],[-85.5653401354239,11.940330918826362],[-85.03684526237491,11.5216484643976],[-84.85548682324658,11.147898667846633],[-84.85548682324658,11.147898667846633]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Tana","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[37.14370730972843,11.850594794151519],[37.01482628759251,12.035596421756424],[37.24401126480697,12.233878892460353],[37.518361443844526,12.160601711470477],[37.48187788264647,11.825092474815477],[37.33635704931254,11.713393866416595],[37.14370730972843,11.850594794151519],[37.14370730972843,11.850594794151519]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lago Titicaca","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-69.40673987494259,-16.126198825752063],[-69.7290974595793,-15.928794854397104],[-69.98365556504908,-15.73717864345884],[-69.8770212470148,-15.669844252182529],[-69.8679778713637,-15.546079196843493],[-69.88559953477524,-15.35425628017606],[-69.59675411647981,-15.410480238509614],[-68.98697221543571,-15.885903415594846],[-68.9596870591856,-15.91329192470954],[-68.74623755560401,-16.356003920154023],[-68.90524593776611,-16.506640720284835],[-69.00115739609983,-16.536406345284952],[-69.09084184434238,-16.461992282784657],[-69.18205074733753,-16.40116912197712],[-69.25098710801488,-16.227536309476427],[-69.40673987494259,-16.126198825752063],[-69.40673987494259,-16.126198825752063]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake\\rWinnipegosis","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-99.40377193886468,53.1258531764781],[-99.54846594928192,53.120427151087455],[-99.80498775917877,53.14290639913442],[-100.43146114785316,53.2841897650204],[-100.60685095905177,53.531616522833886],[-100.33487789589965,53.745246893928496],[-100.42673275429846,53.90740753846039],[-100.4044860501968,53.94507965760117],[-100.32629960813921,54.094011135466346],[-100.23586585162842,54.23033356385231],[-99.99549292682278,54.215864162810576],[-100.04778947630214,54.10013479269293],[-100.18356930214904,53.930351874397985],[-99.87128862180926,53.928465684619326],[-99.91066606321566,53.821314602262134],[-100.05649695514333,53.44332733826322],[-99.66551306842301,53.29581696228607],[-99.39317827024485,53.26791168884846],[-99.40377193886468,53.1258531764781],[-99.40377193886468,53.1258531764781]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake\\rOnega","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[35.71464725112901,62.2802298041189],[36.0541614112866,61.716310736733874],[36.391401808423325,61.27605337182331],[36.10945519383887,61.01508738874924],[35.35074181492962,60.948579820389625],[34.866843702948586,61.11637319604125],[35.207288038887384,61.114435329830485],[35.57832482274313,61.08634918887975],[35.16000410334027,61.39428904890701],[34.85733523940689,61.55179881453273],[34.48691857273877,61.86697337508076],[34.265019972477376,62.21914826114994],[34.289824659977455,62.29774811466581],[34.66561567560399,62.22979360620195],[34.62613488133297,62.45223480900245],[34.8356311378443,62.29676626245225],[35.080267368314026,62.1411943630377],[35.21658979669991,62.193284206787894],[35.463706495919666,62.2560193955901],[35.13969526544963,62.48776235620312],[34.614352654770414,62.762448432050576],[34.99541466649072,62.748469957115674],[35.23395307795005,62.675347805422575],[35.71464725112901,62.2802298041189]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Great Salt Lake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-112.18405127648089,41.34124949804567],[-112.13875688357706,41.142346910154174],[-112.17193315310845,40.851460272783186],[-112.67882727745939,41.130487168943205],[-112.70549231652205,41.16753917089636],[-112.87814327680917,41.62815705013003],[-112.58955624067522,41.43891795507716],[-112.40532975955472,41.33801972102742],[-112.21901038292629,41.42855683040267],[-112.18405127648089,41.34124949804567]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Great\\rBear Lake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-117.7592923653704,66.22368419052789],[-117.97374955938167,65.85489533147692],[-118.10710059291085,65.76691620550001],[-119.7200520432652,65.73479930283061],[-119.74568355368197,65.65436493596833],[-119.6648099371452,65.52742178004333],[-119.70219783590836,65.36794830999061],[-121.35509436098008,64.87999359807459],[-121.33610327211281,64.99461192489797],[-120.94527441468938,65.37774099390991],[-121.05728308168202,65.4463414577774],[-122.56450374412293,65.0310696478799],[-123.232705851873,65.18041453720339],[-123.17963415590926,65.31937246363624],[-122.32599117087979,65.79378795029179],[-122.35622188377054,65.90184337021411],[-124.95363440005697,66.04925039332666],[-124.89753963280414,66.15115631780624],[-119.48724971579031,66.96929759385118],[-119.35743771042887,66.87519481064767],[-120.1769492193738,66.46527151149239],[-117.60545162643749,66.55934845647975],[-117.61278967982294,66.41997711858856],[-117.7592923653704,66.22368419052789],[-117.7592923653704,66.22368419052789]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Athabasca","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-109.65330135785099,59.03763703066841],[-111.08626298708849,58.56017263450765],[-111.19948605023998,58.685565497463884],[-111.160005255969,58.75985036888345],[-109.09672034385136,59.55042226830068],[-106.54517066122398,59.31968699811746],[-106.54695349813804,59.292815253325685],[-109.65330135785099,59.03763703066841],[-109.65330135785099,59.03763703066841]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Reindeer\\rLake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-101.89514441608819,58.01403025983099],[-101.89514441608819,58.01403025983099],[-101.54384802936804,57.86809601503873],[-101.97090206582807,57.34867035585697],[-101.93403093138781,57.23066722271848],[-103.20416012247362,56.34539826112639],[-103.2825015938281,56.40994212505895],[-103.1487371488406,56.70411021588043],[-103.07832800984292,56.71080231386223],[-103.01440426309787,56.56510061301529],[-102.57680823445028,56.938281968811054],[-102.81322791218561,57.28714956321349],[-102.81369300007623,57.46434804954232],[-102.12874772826359,58.01914622662788],[-101.89514441608819,58.01403025983099]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rHuron","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-80.41056433787725,45.590137437515665],[-79.76292945017934,44.824602769543844],[-80.08500281443844,44.493925279308144],[-80.89769222687659,44.63164297136599],[-81.40233842642287,45.25005483660284],[-81.27567949087549,44.6201708033972],[-81.75265296092948,44.06464915625956],[-81.70017554393709,43.590052802090995],[-81.78272864452336,43.310845038417995],[-82.43000179719522,42.98001251888543],[-82.4799987454376,43.39001333268915],[-82.6599877591102,43.970003770516996],[-83.02999101432,44.06999766700177],[-83.6500048489579,43.62999868425261],[-83.84870073112015,43.63831858985161],[-83.89998959016984,43.88998281511303],[-83.34999732128743,44.29001007748441],[-83.25878841829228,44.74574453386644],[-83.33999793163895,45.200006211928155],[-84.08000444205858,45.58998240821879],[-84.93000423861146,45.789996039404485],[-84.75355506055087,45.924483954444085],[-84.71999121777729,45.91998810483469],[-83.83919226757845,46.010215155616294],[-84.33670711946846,46.40876963966737],[-84.14870825879063,46.55576325132161],[-83.95257036002683,46.334278062518635],[-83.20251278352643,46.21015127215355],[-82.44199072948692,46.19963511818216],[-81.63136837434045,46.09754832618957],[-80.73679765493583,45.90381338152733],[-80.41056433787725,45.590137437515665]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rMichigan","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-85.53999284538475,46.03000722918408],[-84.75355506055087,45.924483954444085],[-84.93000423861146,45.789996039404485],[-85.06999569369015,45.40999339454619],[-85.29044735384727,45.30824249936349],[-85.46710323763705,44.81457754167923],[-85.55999162468169,45.150009263685774],[-85.95983801954006,44.91059235287753],[-86.20935767286137,44.574798895844935],[-86.47027197950304,44.08423452409818],[-86.52001054558397,43.65999685319804],[-86.18842871778315,43.04140412044818],[-86.21604977084317,42.38170278581012],[-86.62191647006355,41.8944198675139],[-86.8244364082154,41.75618541113313],[-87.09444576694042,41.64616628678374],[-87.4342183092595,41.640714423176945],[-87.52617652052288,41.70851390234388],[-87.79569495314115,42.23411489518453],[-87.80344641798493,42.49399567318035],[-87.77672970249003,42.740853990238634],[-87.90214840366241,43.23051402442029],[-87.71221167677363,43.79650014909703],[-87.486359829442,44.49335683855294],[-86.9674767727993,45.26287059181122],[-87.11806189649782,45.25933075619923],[-87.85282324903983,44.61505483660031],[-87.98831885450912,44.73331635190026],[-87.5964306302237,45.093707790703775],[-87.00000708692704,45.73999909116209],[-86.31999691439827,45.829993597998396],[-85.53999284538475,46.03000722918408]]]}}]'), _i = {
|
|
1934
|
-
type:
|
|
1935
|
-
features:
|
|
1934
|
+
}, yi = "FeatureCollection", hi = /* @__PURE__ */ JSON.parse('[{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rBaikal","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[106.57998579307912,52.79998159444554],[106.53998823448521,52.93999888774037],[107.0800069519353,53.18001007751998],[107.2999935242018,53.37999787048953],[107.59997521365611,53.51998932556822],[108.03994835818912,53.859968573616456],[108.37997928266967,54.25999583598784],[109.05270307824526,55.027597561251326],[109.19346967980832,55.53560272889659],[109.50699059452313,55.73091380474372],[109.92980716353523,55.7129562445223],[109.70000206913326,54.980003567110515],[109.66000451053935,54.71999359803395],[109.47996382043448,54.33999095317566],[109.31997358605884,53.81999685323869],[109.22003136600637,53.619983222052994],[108.99999311730755,53.78002513286093],[108.60001753136845,53.4399942083804],[108.800005324338,53.37999787048953],[108.76000776574409,53.200008856816936],[108.45997439985749,53.14001251892607],[108.17999148970011,52.79998159444554],[107.79996300662566,52.579995022179034],[107.31999230349876,52.42000478780339],[106.64003380740229,52.32001089131862],[106.1000150899522,52.03997630472897],[105.740037062607,51.759993394571595],[105.24001590375084,51.52000804300813],[104.81998986208251,51.46001170511727],[104.30002160036167,51.50000926371118],[103.7600028829116,51.60000316019595],[103.6200114278329,51.73999461527464],[103.85999677939637,51.85998729105637],[104.39996382041414,51.85998729105637],[105.05997521364597,52.0000045843512],[105.4800012553143,52.28001333272471],[105.98002241417046,52.51999868428817],[106.26000532432784,52.619992580772944],[106.57998579307912,52.79998159444554]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rWinnipeg","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-98.95540137408423,53.92978343364277],[-97.95799455441879,54.337097072967325],[-97.8050064766187,54.05938792583079],[-97.64380184608419,53.42521474874492],[-96.39258622921722,51.39730235453108],[-96.23789282915149,50.6910147161819],[-96.72558915890605,50.448910630894474],[-96.92110694048235,50.75405996357799],[-97.23568722205913,51.49778717712263],[-98.20097713905517,52.18456696228162],[-99.23680538612963,53.21628693298888],[-98.95540137408423,53.92978343364277]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Great\\rSlave Lake","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-115.00000342492967,61.9723932969562],[-115.80669837122196,62.54171255151576],[-116.0585951404287,62.77880402287089],[-115.84279435917783,62.7503044704619],[-114.45259497766185,62.42820526798667],[-113.35341142459757,62.04448192000336],[-111.77890804731261,62.44360484480964],[-111.04001258018727,62.92000987410843],[-110.20001217328286,63.08000010848407],[-109.40000932497237,62.87817780216814],[-109.09010576051801,62.814099026126215],[-109.11651241741916,62.6928144395372],[-110.10089677614705,62.51561595320837],[-111.27599300824811,62.34911448836395],[-112.63050981326654,61.55991201440246],[-113.64000891808828,61.07999298770784],[-115.3409903634076,60.87659455020702],[-116.43999304895887,60.86000641544133],[-118.06110856817108,61.31196849226605],[-118.3474735177165,61.36137116153708],[-118.3849906075604,61.52110301375126],[-118.17960262741634,61.55629466414203],[-116.8028132800801,61.32589529076871],[-115.67879920129957,61.69179026961132],[-115.00000342492967,61.9723932969562]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"L. Ontario","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-79.05630591502026,43.25410431576152],[-79.36168779164908,43.20237620703736],[-79.76047481964547,43.29720246029295],[-79.46116492381094,43.639197089200565],[-79.1561706204243,43.75743276628437],[-78.45052893747877,43.9031861435636],[-77.60536088734519,44.039327704436545],[-77.16148617217414,43.850140285815996],[-76.88269181995948,44.0694550644627],[-76.56555355498425,44.20802541765336],[-76.35303422718391,44.134670722015045],[-76.23926856149336,43.979150499032656],[-76.17999569365458,43.5900011256587],[-76.9300015937227,43.2599954290428],[-77.74915056019732,43.342832750006664],[-78.53499406605984,43.379988104824534],[-79.05630591502026,43.25410431576152]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"L. Erie","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-83.12001135937246,42.08001577409016],[-82.57123348664891,42.01702220312636],[-81.82918575715374,42.33552989355732],[-81.39226152212595,42.61517690690481],[-81.09496700715081,42.66075552018623],[-80.54515560578142,42.560089830081665],[-80.27917700877515,42.71566172949635],[-79.79135148793986,42.84203644466612],[-78.92000932485044,42.96500051530464],[-78.90057898630869,42.8667119410855],[-79.76220598012725,42.269616604169045],[-80.51644934764329,41.980331936199136],[-81.03119828970264,41.845508124349635],[-81.62351355663209,41.568935858723535],[-82.34744869660895,41.435920722004255],[-82.84610043000939,41.48710622818935],[-83.46283281119673,41.69396698665372],[-83.12001135937246,42.08001577409016],[-83.12001135937246,42.08001577409016]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake Superior","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-89.60000342482806,48.00998973244721],[-89.19405921095924,48.40546946877693],[-88.62641944044917,48.56251414651193],[-88.40423661981026,48.80632355406499],[-88.17895321323383,48.93670319273738],[-87.24903581414156,48.73511343036678],[-86.56000810417788,48.71108388935106],[-86.32103044304411,48.57729360614741],[-85.98652889681881,48.01035146747326],[-84.8642201403039,47.86007640236849],[-85.04061764193222,47.575700995466306],[-84.64500871452178,47.28220469826462],[-84.81528255892351,46.90233124448706],[-84.39559241406505,46.77683502866624],[-84.60490780306328,46.439594631529474],[-84.9100054593145,46.48000560158172],[-85.11999264193253,46.76001434995524],[-86.1026200019625,46.67265534116582],[-86.99000769727856,46.45000743263628],[-87.69427995476835,46.83104360614041],[-88.2612220934425,46.958581041036766],[-87.93992387566777,47.485913194359185],[-88.82260901564527,47.154796454449],[-89.62498897984119,46.83083690041124],[-90.39703487828177,46.57648550067064],[-91.00999487991183,46.92000458433087],[-92.01192338740282,46.71167104754619],[-92.00877112503301,46.85843211525511],[-91.33000118687926,47.28000844989221],[-90.61999284540505,47.68000987404746],[-89.60000342482806,48.00998973244721]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rVictoria","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[33.85036827976734,0.128157863766091],[33.85036827976734,0.128157863766091],[34.13624230320599,-0.319308363449238],[34.0726286150547,-1.059831638191795],[33.579428745261055,-1.506005954599821],[33.251748488098286,-1.957968031424549],[33.64717654799571,-2.30089283611342],[33.07672041192572,-2.547131035984201],[32.95176679864397,-2.43044565186915],[32.37309410983957,-2.489925225437091],[31.926558058405476,-2.714511000177573],[31.648022088352292,-2.32921152100937],[31.836020949030114,-1.629305922048232],[31.866199985488578,-1.027378838712494],[31.815143670384202,-0.64042571371094],[32.27284183119332,-0.056120293786734],[32.906136508930246,0.0867650415003],[33.33184695815069,0.324993394365833],[33.85036827976734,0.128157863766091]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rLadoga","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[29.836711460089845,61.22608226179696],[29.836711460089845,61.22608226179696],[30.85199832532828,61.77504100203353],[32.52688317234018,61.11751007755173],[32.94432539239392,60.64260366478942],[32.81575442885176,60.481889960361684],[32.599901971168606,60.533514716221276],[32.583882277158125,60.20893504499601],[31.699440138482714,60.23565176049091],[31.50973595553924,59.92034800886205],[31.106246372204282,59.92768606224749],[31.10893354668346,60.14645823835514],[30.533878208139498,60.63009796817478],[30.502045525847706,60.843211574946466],[29.836711460089845,61.22608226179696]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rBalkhash","name_alt":"Balqash Köli","admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[78.99076541536459,46.748619696634876],[78.99076541536459,46.748619696634876],[79.2451684915375,46.64516347918655],[78.88989301953086,46.369934800800024],[78.44506229036242,46.29717438413307],[77.20606814973246,46.3955663112168],[75.61128177277294,46.50718740496724],[75.46333214712132,46.6706141220903],[75.40566124868357,46.47080719663377],[74.91122114451494,46.404661363300164],[74.77138471873312,46.107831936215646],[74.27802981964263,46.004065660173566],[74.0999528339648,44.98893382423201],[73.4367375019309,45.60946442319282],[73.4399931171653,45.80586070411809],[73.73713260284359,46.012747300798594],[73.67925499867667,46.18307282163262],[74.02068118682908,46.20490611427593],[74.09432010284502,46.42781240496693],[74.939384800114,46.81678091082786],[76.20313195181177,46.7800131292522],[77.18131513866464,46.64340648048862],[77.85993004752152,46.64785065366573],[78.29700931184618,46.46853343361292],[78.39710656119556,46.657669175801175],[78.99076541536459,46.748619696634876]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rTanganyika","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[30.806006300588507,-8.578339125201033],[30.46442508313922,-8.498188978716335],[30.566847771941724,-8.1150082332721],[30.27735639824263,-7.848357842646031],[30.14702843600253,-7.299244073112582],[29.536523064906334,-6.7541610652979],[29.19318484875913,-6.038029066597119],[29.371985304489016,-5.616452731960017],[29.101717563602506,-5.054006442895265],[29.281034783655315,-3.455499362810748],[29.652588331833897,-4.420143324403149],[29.600085076625334,-4.896393324405054],[29.79195966972506,-5.040880629093131],[29.758421665167646,-5.466901136907339],[29.951226434048635,-5.860985609565162],[29.722041456834177,-6.244114678577112],[30.52803877129051,-6.922729587433992],[30.604158156056457,-7.541916599155222],[31.189032016735865,-8.729906101113095],[31.022117140433124,-8.786543470904988],[30.806006300588507,-8.578339125201033],[30.806006300588507,-8.578339125201033]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake Malawi","name_alt":"Lake Nyasa","admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[35.2602047055542,-14.277474460510291],[35.236226840970915,-14.401291192281633],[34.881209751125766,-14.012012627826891],[34.706543409979076,-14.262023207255027],[34.54675988133266,-14.047669366108266],[34.55110070164528,-13.67208505621096],[34.3209338722171,-13.379389743709737],[34.32997724786827,-12.944584242405995],[34.032527703596315,-12.208556817272836],[34.322690870915096,-11.652983493702834],[34.25990400568048,-10.447579034062642],[33.906592238100984,-9.801726983278854],[33.99557905450757,-9.495440769084837],[34.52422895685345,-10.03013681400887],[34.60789310073403,-11.080511976773494],[34.93702029800096,-11.463434340056267],[34.69388268406766,-12.422393894096615],[34.86756717300062,-13.701127211159019],[35.05597944513687,-13.742933444883136],[35.2602047055542,-14.277474460510291]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Aral\\rSea","name_alt":null,"admin":null,"min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[60.05285159692946,44.264636949229114],[59.77002648299603,44.15999217383806],[59.06288618351405,44.36928172462015],[59.34571129744745,44.99720205339871],[59.35930219914022,45.190006822279685],[58.96139367049281,45.37500844988459],[58.92144778833119,45.101846828789746],[58.92144778833119,44.73556427670495],[58.497132602782614,44.212340399749735],[58.285000848224456,44.473952338227335],[58.285000848224456,44.89255727800766],[58.689989048095896,45.50001373959863],[58.78000939314833,45.88673432065487],[59.20427290226462,45.93905670835039],[59.535002068932585,45.70501414650049],[59.55784305200561,46.30533926043519],[59.77002648299603,46.25299103452352],[60.12359663273702,46.096023871436955],[60.12359663273702,45.88673432065487],[59.94675988143425,45.808211981787366],[59.84071984237133,45.520477606786216],[60.12359663273702,45.572774156265595],[60.23997195825834,44.78403677019473],[60.05285159692946,44.264636949229114]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Vänern","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[13.979281447005576,59.20491364199721],[13.979281447005576,59.20491364199721],[13.984449090234762,59.086212877022774],[13.91892337408865,58.902503160225166],[13.28268313971111,58.608670966213566],[12.830100945698888,58.50903880475484],[12.460149366921371,58.50619660097878],[12.537767368223768,58.77594757754237],[12.522161085671598,58.880282294339665],[12.697085808979608,58.953843695707135],[13.027039829163215,58.993531195707305],[13.195298292705559,59.12900096296045],[13.59144982265505,59.336481838612315],[13.979281447005576,59.20491364199721]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Okeechobee","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-80.70643775096435,26.788959458924822],[-80.93244462759287,26.823272609966622],[-80.91970638703292,27.068916530866048],[-80.69369951040441,27.034629218040394],[-80.70643775096435,26.788959458924822],[-80.70643775096435,26.788959458924822]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lago de\\rNicaragua","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-84.85548682324658,11.147898667846633],[-85.29013729525353,11.176165676310276],[-85.79132117383625,11.509737046754324],[-85.8851655748783,11.900100816287136],[-85.5653401354239,11.940330918826362],[-85.03684526237491,11.5216484643976],[-84.85548682324658,11.147898667846633],[-84.85548682324658,11.147898667846633]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Tana","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[37.14370730972843,11.850594794151519],[37.01482628759251,12.035596421756424],[37.24401126480697,12.233878892460353],[37.518361443844526,12.160601711470477],[37.48187788264647,11.825092474815477],[37.33635704931254,11.713393866416595],[37.14370730972843,11.850594794151519],[37.14370730972843,11.850594794151519]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lago Titicaca","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-69.40673987494259,-16.126198825752063],[-69.7290974595793,-15.928794854397104],[-69.98365556504908,-15.73717864345884],[-69.8770212470148,-15.669844252182529],[-69.8679778713637,-15.546079196843493],[-69.88559953477524,-15.35425628017606],[-69.59675411647981,-15.410480238509614],[-68.98697221543571,-15.885903415594846],[-68.9596870591856,-15.91329192470954],[-68.74623755560401,-16.356003920154023],[-68.90524593776611,-16.506640720284835],[-69.00115739609983,-16.536406345284952],[-69.09084184434238,-16.461992282784657],[-69.18205074733753,-16.40116912197712],[-69.25098710801488,-16.227536309476427],[-69.40673987494259,-16.126198825752063],[-69.40673987494259,-16.126198825752063]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake\\rWinnipegosis","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-99.40377193886468,53.1258531764781],[-99.54846594928192,53.120427151087455],[-99.80498775917877,53.14290639913442],[-100.43146114785316,53.2841897650204],[-100.60685095905177,53.531616522833886],[-100.33487789589965,53.745246893928496],[-100.42673275429846,53.90740753846039],[-100.4044860501968,53.94507965760117],[-100.32629960813921,54.094011135466346],[-100.23586585162842,54.23033356385231],[-99.99549292682278,54.215864162810576],[-100.04778947630214,54.10013479269293],[-100.18356930214904,53.930351874397985],[-99.87128862180926,53.928465684619326],[-99.91066606321566,53.821314602262134],[-100.05649695514333,53.44332733826322],[-99.66551306842301,53.29581696228607],[-99.39317827024485,53.26791168884846],[-99.40377193886468,53.1258531764781],[-99.40377193886468,53.1258531764781]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake\\rOnega","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[35.71464725112901,62.2802298041189],[36.0541614112866,61.716310736733874],[36.391401808423325,61.27605337182331],[36.10945519383887,61.01508738874924],[35.35074181492962,60.948579820389625],[34.866843702948586,61.11637319604125],[35.207288038887384,61.114435329830485],[35.57832482274313,61.08634918887975],[35.16000410334027,61.39428904890701],[34.85733523940689,61.55179881453273],[34.48691857273877,61.86697337508076],[34.265019972477376,62.21914826114994],[34.289824659977455,62.29774811466581],[34.66561567560399,62.22979360620195],[34.62613488133297,62.45223480900245],[34.8356311378443,62.29676626245225],[35.080267368314026,62.1411943630377],[35.21658979669991,62.193284206787894],[35.463706495919666,62.2560193955901],[35.13969526544963,62.48776235620312],[34.614352654770414,62.762448432050576],[34.99541466649072,62.748469957115674],[35.23395307795005,62.675347805422575],[35.71464725112901,62.2802298041189]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Great Salt Lake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-112.18405127648089,41.34124949804567],[-112.13875688357706,41.142346910154174],[-112.17193315310845,40.851460272783186],[-112.67882727745939,41.130487168943205],[-112.70549231652205,41.16753917089636],[-112.87814327680917,41.62815705013003],[-112.58955624067522,41.43891795507716],[-112.40532975955472,41.33801972102742],[-112.21901038292629,41.42855683040267],[-112.18405127648089,41.34124949804567]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Great\\rBear Lake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-117.7592923653704,66.22368419052789],[-117.97374955938167,65.85489533147692],[-118.10710059291085,65.76691620550001],[-119.7200520432652,65.73479930283061],[-119.74568355368197,65.65436493596833],[-119.6648099371452,65.52742178004333],[-119.70219783590836,65.36794830999061],[-121.35509436098008,64.87999359807459],[-121.33610327211281,64.99461192489797],[-120.94527441468938,65.37774099390991],[-121.05728308168202,65.4463414577774],[-122.56450374412293,65.0310696478799],[-123.232705851873,65.18041453720339],[-123.17963415590926,65.31937246363624],[-122.32599117087979,65.79378795029179],[-122.35622188377054,65.90184337021411],[-124.95363440005697,66.04925039332666],[-124.89753963280414,66.15115631780624],[-119.48724971579031,66.96929759385118],[-119.35743771042887,66.87519481064767],[-120.1769492193738,66.46527151149239],[-117.60545162643749,66.55934845647975],[-117.61278967982294,66.41997711858856],[-117.7592923653704,66.22368419052789],[-117.7592923653704,66.22368419052789]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Lake Athabasca","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-109.65330135785099,59.03763703066841],[-111.08626298708849,58.56017263450765],[-111.19948605023998,58.685565497463884],[-111.160005255969,58.75985036888345],[-109.09672034385136,59.55042226830068],[-106.54517066122398,59.31968699811746],[-106.54695349813804,59.292815253325685],[-109.65330135785099,59.03763703066841],[-109.65330135785099,59.03763703066841]]]}},{"type":"Feature","properties":{"scalerank":1,"featurecla":"Lake","name":"Reindeer\\rLake","name_alt":null,"admin":null,"min_zoom":1.7,"min_label":3.6},"geometry":{"type":"Polygon","coordinates":[[[-101.89514441608819,58.01403025983099],[-101.89514441608819,58.01403025983099],[-101.54384802936804,57.86809601503873],[-101.97090206582807,57.34867035585697],[-101.93403093138781,57.23066722271848],[-103.20416012247362,56.34539826112639],[-103.2825015938281,56.40994212505895],[-103.1487371488406,56.70411021588043],[-103.07832800984292,56.71080231386223],[-103.01440426309787,56.56510061301529],[-102.57680823445028,56.938281968811054],[-102.81322791218561,57.28714956321349],[-102.81369300007623,57.46434804954232],[-102.12874772826359,58.01914622662788],[-101.89514441608819,58.01403025983099]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rHuron","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-80.41056433787725,45.590137437515665],[-79.76292945017934,44.824602769543844],[-80.08500281443844,44.493925279308144],[-80.89769222687659,44.63164297136599],[-81.40233842642287,45.25005483660284],[-81.27567949087549,44.6201708033972],[-81.75265296092948,44.06464915625956],[-81.70017554393709,43.590052802090995],[-81.78272864452336,43.310845038417995],[-82.43000179719522,42.98001251888543],[-82.4799987454376,43.39001333268915],[-82.6599877591102,43.970003770516996],[-83.02999101432,44.06999766700177],[-83.6500048489579,43.62999868425261],[-83.84870073112015,43.63831858985161],[-83.89998959016984,43.88998281511303],[-83.34999732128743,44.29001007748441],[-83.25878841829228,44.74574453386644],[-83.33999793163895,45.200006211928155],[-84.08000444205858,45.58998240821879],[-84.93000423861146,45.789996039404485],[-84.75355506055087,45.924483954444085],[-84.71999121777729,45.91998810483469],[-83.83919226757845,46.010215155616294],[-84.33670711946846,46.40876963966737],[-84.14870825879063,46.55576325132161],[-83.95257036002683,46.334278062518635],[-83.20251278352643,46.21015127215355],[-82.44199072948692,46.19963511818216],[-81.63136837434045,46.09754832618957],[-80.73679765493583,45.90381338152733],[-80.41056433787725,45.590137437515665]]]}},{"type":"Feature","properties":{"scalerank":0,"featurecla":"Lake","name":"Lake\\rMichigan","name_alt":null,"admin":"admin-0","min_zoom":1,"min_label":3},"geometry":{"type":"Polygon","coordinates":[[[-85.53999284538475,46.03000722918408],[-84.75355506055087,45.924483954444085],[-84.93000423861146,45.789996039404485],[-85.06999569369015,45.40999339454619],[-85.29044735384727,45.30824249936349],[-85.46710323763705,44.81457754167923],[-85.55999162468169,45.150009263685774],[-85.95983801954006,44.91059235287753],[-86.20935767286137,44.574798895844935],[-86.47027197950304,44.08423452409818],[-86.52001054558397,43.65999685319804],[-86.18842871778315,43.04140412044818],[-86.21604977084317,42.38170278581012],[-86.62191647006355,41.8944198675139],[-86.8244364082154,41.75618541113313],[-87.09444576694042,41.64616628678374],[-87.4342183092595,41.640714423176945],[-87.52617652052288,41.70851390234388],[-87.79569495314115,42.23411489518453],[-87.80344641798493,42.49399567318035],[-87.77672970249003,42.740853990238634],[-87.90214840366241,43.23051402442029],[-87.71221167677363,43.79650014909703],[-87.486359829442,44.49335683855294],[-86.9674767727993,45.26287059181122],[-87.11806189649782,45.25933075619923],[-87.85282324903983,44.61505483660031],[-87.98831885450912,44.73331635190026],[-87.5964306302237,45.093707790703775],[-87.00000708692704,45.73999909116209],[-86.31999691439827,45.829993597998396],[-85.53999284538475,46.03000722918408]]]}}]'), _i = {
|
|
1935
|
+
type: yi,
|
|
1936
|
+
features: hi
|
|
1936
1937
|
};
|
|
1937
1938
|
function gi(e) {
|
|
1938
1939
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -1941,7 +1942,7 @@ var Ie = {}, lt, cn;
|
|
|
1941
1942
|
function wi() {
|
|
1942
1943
|
if (cn) return lt;
|
|
1943
1944
|
cn = 1, lt = w;
|
|
1944
|
-
var e, n, a, i, l, d = 1e6,
|
|
1945
|
+
var e, n, a, i, l, d = 1e6, y = {
|
|
1945
1946
|
Point: 0,
|
|
1946
1947
|
MultiPoint: 1,
|
|
1947
1948
|
LineString: 2,
|
|
@@ -1963,10 +1964,10 @@ function wi() {
|
|
|
1963
1964
|
s.geometry !== null && S(s.geometry);
|
|
1964
1965
|
for (_ in s.properties) L(_);
|
|
1965
1966
|
} else if (s.type === "Point") E(s.coordinates);
|
|
1966
|
-
else if (s.type === "MultiPoint")
|
|
1967
|
+
else if (s.type === "MultiPoint") h(s.coordinates);
|
|
1967
1968
|
else if (s.type === "GeometryCollection")
|
|
1968
1969
|
for (m = 0; m < s.geometries.length; m++) S(s.geometries[m]);
|
|
1969
|
-
else if (s.type === "LineString")
|
|
1970
|
+
else if (s.type === "LineString") h(s.coordinates);
|
|
1970
1971
|
else if (s.type === "Polygon" || s.type === "MultiLineString") D(s.coordinates);
|
|
1971
1972
|
else if (s.type === "MultiPolygon")
|
|
1972
1973
|
for (m = 0; m < s.coordinates.length; m++) D(s.coordinates[m]);
|
|
@@ -1974,9 +1975,9 @@ function wi() {
|
|
|
1974
1975
|
g(_, s.type) || L(_);
|
|
1975
1976
|
}
|
|
1976
1977
|
function D(s) {
|
|
1977
|
-
for (var m = 0; m < s.length; m++)
|
|
1978
|
+
for (var m = 0; m < s.length; m++) h(s[m]);
|
|
1978
1979
|
}
|
|
1979
|
-
function
|
|
1980
|
+
function h(s) {
|
|
1980
1981
|
for (var m = 0; m < s.length; m++) E(s[m]);
|
|
1981
1982
|
}
|
|
1982
1983
|
function E(s) {
|
|
@@ -1996,11 +1997,11 @@ function wi() {
|
|
|
1996
1997
|
s.geometry !== null && m.writeMessage(1, O, s.geometry), s.id !== void 0 && (typeof s.id == "number" && s.id % 1 === 0 ? m.writeSVarintField(12, s.id) : m.writeStringField(11, s.id)), s.properties && C(s.properties, m), C(s, m, !0);
|
|
1997
1998
|
}
|
|
1998
1999
|
function O(s, m) {
|
|
1999
|
-
m.writeVarintField(1,
|
|
2000
|
+
m.writeVarintField(1, y[s.type]);
|
|
2000
2001
|
var _ = s.coordinates;
|
|
2001
2002
|
if (s.type === "Point") U(_, m);
|
|
2002
|
-
else if (s.type === "MultiPoint")
|
|
2003
|
-
else if (s.type === "LineString")
|
|
2003
|
+
else if (s.type === "MultiPoint") z(_, m);
|
|
2004
|
+
else if (s.type === "LineString") z(_, m);
|
|
2004
2005
|
else if (s.type === "MultiLineString") I(_, m);
|
|
2005
2006
|
else if (s.type === "Polygon") I(_, m, !0);
|
|
2006
2007
|
else if (s.type === "MultiPolygon") q(_, m);
|
|
@@ -2024,7 +2025,7 @@ function wi() {
|
|
|
2024
2025
|
for (var _ = [], x = 0; x < i; x++) _.push(Math.round(s[x] * l));
|
|
2025
2026
|
m.writePackedSVarint(3, _);
|
|
2026
2027
|
}
|
|
2027
|
-
function
|
|
2028
|
+
function z(s, m) {
|
|
2028
2029
|
var _ = [];
|
|
2029
2030
|
p(_, s), m.writePackedSVarint(3, _);
|
|
2030
2031
|
}
|
|
@@ -2077,7 +2078,7 @@ function wi() {
|
|
|
2077
2078
|
var ut, dn;
|
|
2078
2079
|
function vi() {
|
|
2079
2080
|
if (dn) return ut;
|
|
2080
|
-
dn = 1, ut =
|
|
2081
|
+
dn = 1, ut = y;
|
|
2081
2082
|
var e, n, a, i, l, d = [
|
|
2082
2083
|
"Point",
|
|
2083
2084
|
"MultiPoint",
|
|
@@ -2087,13 +2088,13 @@ function vi() {
|
|
|
2087
2088
|
"MultiPolygon",
|
|
2088
2089
|
"GeometryCollection"
|
|
2089
2090
|
];
|
|
2090
|
-
function
|
|
2091
|
+
function y(p) {
|
|
2091
2092
|
i = 2, l = Math.pow(10, 6), a = null, e = [], n = [];
|
|
2092
2093
|
var g = p.readFields(w, {});
|
|
2093
2094
|
return e = null, g;
|
|
2094
2095
|
}
|
|
2095
2096
|
function w(p, g, s) {
|
|
2096
|
-
p === 1 ? e.push(s.readString()) : p === 2 ? i = s.readVarint() : p === 3 ? l = Math.pow(10, s.readVarint()) : p === 4 ? S(s, g) : p === 5 ? D(s, g) : p === 6 &&
|
|
2097
|
+
p === 1 ? e.push(s.readString()) : p === 2 ? i = s.readVarint() : p === 3 ? l = Math.pow(10, s.readVarint()) : p === 4 ? S(s, g) : p === 5 ? D(s, g) : p === 6 && h(s, g);
|
|
2097
2098
|
}
|
|
2098
2099
|
function S(p, g) {
|
|
2099
2100
|
return g.type = "FeatureCollection", g.features = [], p.readMessage(E, g);
|
|
@@ -2103,20 +2104,20 @@ function vi() {
|
|
|
2103
2104
|
var s = p.readMessage(L, g);
|
|
2104
2105
|
return "geometry" in s || (s.geometry = null), s;
|
|
2105
2106
|
}
|
|
2106
|
-
function
|
|
2107
|
+
function h(p, g) {
|
|
2107
2108
|
return g.type = "Point", p.readMessage(R, g);
|
|
2108
2109
|
}
|
|
2109
2110
|
function E(p, g, s) {
|
|
2110
2111
|
p === 1 ? g.features.push(D(s, {})) : p === 13 ? n.push(O(s)) : p === 15 && C(s, g);
|
|
2111
2112
|
}
|
|
2112
2113
|
function L(p, g, s) {
|
|
2113
|
-
p === 1 ? g.geometry =
|
|
2114
|
+
p === 1 ? g.geometry = h(s, {}) : p === 11 ? g.id = s.readString() : p === 12 ? g.id = s.readSVarint() : p === 13 ? n.push(O(s)) : p === 14 ? g.properties = C(s, {}) : p === 15 && C(s, g);
|
|
2114
2115
|
}
|
|
2115
2116
|
function R(p, g, s) {
|
|
2116
|
-
p === 1 ? g.type = d[s.readVarint()] : p === 2 ? a = s.readPackedVarint() : p === 3 ? P(g, s, g.type) : p === 4 ? (g.geometries = g.geometries || [], g.geometries.push(
|
|
2117
|
+
p === 1 ? g.type = d[s.readVarint()] : p === 2 ? a = s.readPackedVarint() : p === 3 ? P(g, s, g.type) : p === 4 ? (g.geometries = g.geometries || [], g.geometries.push(h(s, {}))) : p === 13 ? n.push(O(s)) : p === 15 && C(s, g);
|
|
2117
2118
|
}
|
|
2118
2119
|
function P(p, g, s) {
|
|
2119
|
-
s === "Point" ? p.coordinates = V(g) : s === "MultiPoint" || s === "LineString" ? p.coordinates =
|
|
2120
|
+
s === "Point" ? p.coordinates = V(g) : s === "MultiPoint" || s === "LineString" ? p.coordinates = z(g) : s === "MultiLineString" ? p.coordinates = I(g) : s === "Polygon" ? p.coordinates = I(g, !0) : s === "MultiPolygon" && (p.coordinates = q(g));
|
|
2120
2121
|
}
|
|
2121
2122
|
function O(p) {
|
|
2122
2123
|
for (var g = p.readVarint() + p.pos, s = null; p.pos < g; ) {
|
|
@@ -2143,7 +2144,7 @@ function vi() {
|
|
|
2143
2144
|
}
|
|
2144
2145
|
return m && x.push(x[0]), x;
|
|
2145
2146
|
}
|
|
2146
|
-
function
|
|
2147
|
+
function z(p) {
|
|
2147
2148
|
return U(p, p.readVarint() + p.pos);
|
|
2148
2149
|
}
|
|
2149
2150
|
function I(p, g) {
|
|
@@ -2171,24 +2172,24 @@ var Fi = xi(), Ce = {};
|
|
|
2171
2172
|
var fn;
|
|
2172
2173
|
function Mi() {
|
|
2173
2174
|
return fn || (fn = 1, Ce.read = function(e, n, a, i, l) {
|
|
2174
|
-
var d,
|
|
2175
|
-
for (E += L, d = R & (1 << -
|
|
2175
|
+
var d, y, w = l * 8 - i - 1, S = (1 << w) - 1, D = S >> 1, h = -7, E = a ? l - 1 : 0, L = a ? -1 : 1, R = e[n + E];
|
|
2176
|
+
for (E += L, d = R & (1 << -h) - 1, R >>= -h, h += w; h > 0; d = d * 256 + e[n + E], E += L, h -= 8)
|
|
2176
2177
|
;
|
|
2177
|
-
for (
|
|
2178
|
+
for (y = d & (1 << -h) - 1, d >>= -h, h += i; h > 0; y = y * 256 + e[n + E], E += L, h -= 8)
|
|
2178
2179
|
;
|
|
2179
2180
|
if (d === 0)
|
|
2180
2181
|
d = 1 - D;
|
|
2181
2182
|
else {
|
|
2182
2183
|
if (d === S)
|
|
2183
|
-
return
|
|
2184
|
-
|
|
2184
|
+
return y ? NaN : (R ? -1 : 1) * (1 / 0);
|
|
2185
|
+
y = y + Math.pow(2, i), d = d - D;
|
|
2185
2186
|
}
|
|
2186
|
-
return (R ? -1 : 1) *
|
|
2187
|
+
return (R ? -1 : 1) * y * Math.pow(2, d - i);
|
|
2187
2188
|
}, Ce.write = function(e, n, a, i, l, d) {
|
|
2188
|
-
var
|
|
2189
|
-
for (n = Math.abs(n), isNaN(n) || n === 1 / 0 ? (w = isNaN(n) ? 1 : 0,
|
|
2189
|
+
var y, w, S, D = d * 8 - l - 1, h = (1 << D) - 1, E = h >> 1, L = l === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, R = i ? 0 : d - 1, P = i ? 1 : -1, O = n < 0 || n === 0 && 1 / n < 0 ? 1 : 0;
|
|
2190
|
+
for (n = Math.abs(n), isNaN(n) || n === 1 / 0 ? (w = isNaN(n) ? 1 : 0, y = h) : (y = Math.floor(Math.log(n) / Math.LN2), n * (S = Math.pow(2, -y)) < 1 && (y--, S *= 2), y + E >= 1 ? n += L / S : n += L * Math.pow(2, 1 - E), n * S >= 2 && (y++, S /= 2), y + E >= h ? (w = 0, y = h) : y + E >= 1 ? (w = (n * S - 1) * Math.pow(2, l), y = y + E) : (w = n * Math.pow(2, E - 1) * Math.pow(2, l), y = 0)); l >= 8; e[a + R] = w & 255, R += P, w /= 256, l -= 8)
|
|
2190
2191
|
;
|
|
2191
|
-
for (
|
|
2192
|
+
for (y = y << l | w, D += l; D > 0; e[a + R] = y & 255, R += P, y /= 256, D -= 8)
|
|
2192
2193
|
;
|
|
2193
2194
|
e[a + R - P] |= O * 128;
|
|
2194
2195
|
}), Ce;
|
|
@@ -2245,7 +2246,7 @@ function Ti() {
|
|
|
2245
2246
|
},
|
|
2246
2247
|
readVarint: function(t) {
|
|
2247
2248
|
var o = this.buf, u, F;
|
|
2248
|
-
return F = o[this.pos++], u = F & 127, F < 128 || (F = o[this.pos++], u |= (F & 127) << 7, F < 128) || (F = o[this.pos++], u |= (F & 127) << 14, F < 128) || (F = o[this.pos++], u |= (F & 127) << 21, F < 128) ? u : (F = o[this.pos], u |= (F & 15) << 28,
|
|
2249
|
+
return F = o[this.pos++], u = F & 127, F < 128 || (F = o[this.pos++], u |= (F & 127) << 7, F < 128) || (F = o[this.pos++], u |= (F & 127) << 14, F < 128) || (F = o[this.pos++], u |= (F & 127) << 21, F < 128) ? u : (F = o[this.pos], u |= (F & 15) << 28, y(u, t, this));
|
|
2249
2250
|
},
|
|
2250
2251
|
readVarint64: function() {
|
|
2251
2252
|
return this.readVarint(!0);
|
|
@@ -2415,7 +2416,7 @@ function Ti() {
|
|
|
2415
2416
|
o.length && this.writeMessage(t, U, o);
|
|
2416
2417
|
},
|
|
2417
2418
|
writePackedSFixed32: function(t, o) {
|
|
2418
|
-
o.length && this.writeMessage(t,
|
|
2419
|
+
o.length && this.writeMessage(t, z, o);
|
|
2419
2420
|
},
|
|
2420
2421
|
writePackedFixed64: function(t, o) {
|
|
2421
2422
|
o.length && this.writeMessage(t, I, o);
|
|
@@ -2457,7 +2458,7 @@ function Ti() {
|
|
|
2457
2458
|
this.writeVarintField(t, !!o);
|
|
2458
2459
|
}
|
|
2459
2460
|
};
|
|
2460
|
-
function
|
|
2461
|
+
function y(t, o, u) {
|
|
2461
2462
|
var F = u.buf, T, N;
|
|
2462
2463
|
if (N = F[u.pos++], T = (N & 112) >> 4, N < 128 || (N = F[u.pos++], T |= (N & 127) << 3, N < 128) || (N = F[u.pos++], T |= (N & 127) << 10, N < 128) || (N = F[u.pos++], T |= (N & 127) << 17, N < 128) || (N = F[u.pos++], T |= (N & 127) << 24, N < 128) || (N = F[u.pos++], T |= (N & 1) << 31, N < 128)) return S(t, T, o);
|
|
2463
2464
|
throw new Error("Expected varint not more than 10 bytes");
|
|
@@ -2472,9 +2473,9 @@ function Ti() {
|
|
|
2472
2473
|
var u, F;
|
|
2473
2474
|
if (t >= 0 ? (u = t % 4294967296 | 0, F = t / 4294967296 | 0) : (u = ~(-t % 4294967296), F = ~(-t / 4294967296), u ^ 4294967295 ? u = u + 1 | 0 : (u = 0, F = F + 1 | 0)), t >= 18446744073709552e3 || t < -18446744073709552e3)
|
|
2474
2475
|
throw new Error("Given varint doesn't fit into 10 bytes");
|
|
2475
|
-
o.realloc(10),
|
|
2476
|
+
o.realloc(10), h(u, F, o), E(F, o);
|
|
2476
2477
|
}
|
|
2477
|
-
function
|
|
2478
|
+
function h(t, o, u) {
|
|
2478
2479
|
u.buf[u.pos++] = t & 127 | 128, t >>>= 7, u.buf[u.pos++] = t & 127 | 128, t >>>= 7, u.buf[u.pos++] = t & 127 | 128, t >>>= 7, u.buf[u.pos++] = t & 127 | 128, t >>>= 7, u.buf[u.pos] = t & 127;
|
|
2479
2480
|
}
|
|
2480
2481
|
function E(t, o) {
|
|
@@ -2504,7 +2505,7 @@ function Ti() {
|
|
|
2504
2505
|
function U(t, o) {
|
|
2505
2506
|
for (var u = 0; u < t.length; u++) o.writeFixed32(t[u]);
|
|
2506
2507
|
}
|
|
2507
|
-
function
|
|
2508
|
+
function z(t, o) {
|
|
2508
2509
|
for (var u = 0; u < t.length; u++) o.writeSFixed32(t[u]);
|
|
2509
2510
|
}
|
|
2510
2511
|
function I(t, o) {
|
|
@@ -2526,8 +2527,8 @@ function Ti() {
|
|
|
2526
2527
|
for (var F = "", T = o; T < u; ) {
|
|
2527
2528
|
var N = t[T], G = null, $ = N > 239 ? 4 : N > 223 ? 3 : N > 191 ? 2 : 1;
|
|
2528
2529
|
if (T + $ > u) break;
|
|
2529
|
-
var k, ee,
|
|
2530
|
-
$ === 1 ? N < 128 && (G = N) : $ === 2 ? (k = t[T + 1], (k & 192) === 128 && (G = (N & 31) << 6 | k & 63, G <= 127 && (G = null))) : $ === 3 ? (k = t[T + 1], ee = t[T + 2], (k & 192) === 128 && (ee & 192) === 128 && (G = (N & 15) << 12 | (k & 63) << 6 | ee & 63, (G <= 2047 || G >= 55296 && G <= 57343) && (G = null))) : $ === 4 && (k = t[T + 1], ee = t[T + 2],
|
|
2530
|
+
var k, ee, he;
|
|
2531
|
+
$ === 1 ? N < 128 && (G = N) : $ === 2 ? (k = t[T + 1], (k & 192) === 128 && (G = (N & 31) << 6 | k & 63, G <= 127 && (G = null))) : $ === 3 ? (k = t[T + 1], ee = t[T + 2], (k & 192) === 128 && (ee & 192) === 128 && (G = (N & 15) << 12 | (k & 63) << 6 | ee & 63, (G <= 2047 || G >= 55296 && G <= 57343) && (G = null))) : $ === 4 && (k = t[T + 1], ee = t[T + 2], he = t[T + 3], (k & 192) === 128 && (ee & 192) === 128 && (he & 192) === 128 && (G = (N & 15) << 18 | (k & 63) << 12 | (ee & 63) << 6 | he & 63, (G <= 65535 || G >= 1114112) && (G = null))), G === null ? (G = 65533, $ = 1) : G > 65535 && (G -= 65536, F += String.fromCharCode(G >>> 10 & 1023 | 55296), G = 56320 | G & 1023), F += String.fromCharCode(G), T += $;
|
|
2531
2532
|
}
|
|
2532
2533
|
return F;
|
|
2533
2534
|
}
|
|
@@ -2584,25 +2585,25 @@ const ki = { class: "legend" }, Ri = {
|
|
|
2584
2585
|
},
|
|
2585
2586
|
setup(e) {
|
|
2586
2587
|
return (n, a) => (W(), ne("div", ki, [
|
|
2587
|
-
e.metric ? (W(), ne("div", Ri,
|
|
2588
|
-
(W(!0), ne(
|
|
2588
|
+
e.metric ? (W(), ne("div", Ri, ye(e.title), 1)) : xe("", !0),
|
|
2589
|
+
(W(!0), ne($r, null, jr(e.data, (i, l) => (W(), ne("div", {
|
|
2589
2590
|
key: l,
|
|
2590
2591
|
class: "legend-item"
|
|
2591
2592
|
}, [
|
|
2592
2593
|
X("span", {
|
|
2593
2594
|
class: "legend-color",
|
|
2594
|
-
style:
|
|
2595
|
+
style: Kr({ backgroundColor: i.color })
|
|
2595
2596
|
}, null, 4),
|
|
2596
|
-
X("span", Ei,
|
|
2597
|
+
X("span", Ei, ye(i.range), 1)
|
|
2597
2598
|
]))), 128))
|
|
2598
2599
|
]));
|
|
2599
2600
|
}
|
|
2600
|
-
}),
|
|
2601
|
+
}), ht = (e, n) => {
|
|
2601
2602
|
const a = e.__vccOpts || e;
|
|
2602
2603
|
for (const [i, l] of n)
|
|
2603
2604
|
a[i] = l;
|
|
2604
2605
|
return a;
|
|
2605
|
-
}, Pi = /* @__PURE__ */
|
|
2606
|
+
}, Pi = /* @__PURE__ */ ht(Li, [["__scopeId", "data-v-2858aa0d"]]), Gi = { class: "map-tooltip" }, Oi = { class: "map-tooltip-text" }, Ii = { key: 0 }, Ci = /* @__PURE__ */ ft({
|
|
2606
2607
|
__name: "MapTooltip",
|
|
2607
2608
|
props: {
|
|
2608
2609
|
data: {},
|
|
@@ -2611,22 +2612,22 @@ const ki = { class: "legend" }, Ri = {
|
|
|
2611
2612
|
left: {}
|
|
2612
2613
|
},
|
|
2613
2614
|
setup(e) {
|
|
2614
|
-
return
|
|
2615
|
+
return qr((n) => ({
|
|
2615
2616
|
v75a0a274: n.left,
|
|
2616
2617
|
v144f4294: n.top,
|
|
2617
2618
|
v6e49e79e: n.data.color
|
|
2618
2619
|
})), (n, a) => (W(), ne("div", Gi, [
|
|
2619
2620
|
a[0] || (a[0] = X("div", { class: "map-tooltip-color" }, null, -1)),
|
|
2620
2621
|
X("div", Oi, [
|
|
2621
|
-
X("div", null,
|
|
2622
|
-
e.showValue ? (W(), ne("span", Ii,
|
|
2622
|
+
X("div", null, ye(e.data.label), 1),
|
|
2623
|
+
e.showValue ? (W(), ne("span", Ii, ye(e.data.value), 1)) : xe("", !0)
|
|
2623
2624
|
])
|
|
2624
2625
|
]));
|
|
2625
2626
|
}
|
|
2626
|
-
}), Ui = /* @__PURE__ */
|
|
2627
|
+
}), Ui = /* @__PURE__ */ ht(Ci, [["__scopeId", "data-v-6bea2641"]]), Ai = { class: "kong-ui-public-analytics-geo-map" }, Vi = {
|
|
2627
2628
|
key: 0,
|
|
2628
2629
|
class: "no-location-overlay"
|
|
2629
|
-
}, Bi = { class: "no-location-overlay-title" },
|
|
2630
|
+
}, Bi = { class: "no-location-overlay-title" }, zi = { class: "no-location-overlay-description" }, Hi = ["id"], bi = /* @__PURE__ */ ft({
|
|
2630
2631
|
__name: "AnalyticsGeoMap",
|
|
2631
2632
|
props: {
|
|
2632
2633
|
countryMetrics: {},
|
|
@@ -2641,11 +2642,11 @@ const ki = { class: "legend" }, Ri = {
|
|
|
2641
2642
|
},
|
|
2642
2643
|
emits: ["boundsChange"],
|
|
2643
2644
|
setup(e, { emit: n }) {
|
|
2644
|
-
const a = import("./countries-simple-geo-BFUDnSiE.js").then((s) => s.default), i = n, { i18n: l } = Me.useI18n(), { getColor: d, legendData:
|
|
2645
|
+
const a = import("./countries-simple-geo-BFUDnSiE.js").then((s) => s.default), i = n, { i18n: l } = Me.useI18n(), { getColor: d, legendData: y } = Me.useLegendScale({
|
|
2645
2646
|
countryMetrics: Le(() => e.countryMetrics),
|
|
2646
2647
|
metric: Le(() => e.metric),
|
|
2647
2648
|
unit: Le(() => e.metricUnit)
|
|
2648
|
-
}), { formatMetric: w } = Me.useMetricFormat({ unit: Le(() => e.metricUnit) }), S = we(), D =
|
|
2649
|
+
}), { formatMetric: w } = Me.useMetricFormat({ unit: Le(() => e.metricUnit) }), S = we(), D = Wr(), h = we(), E = we(null), L = we({ left: "0px", top: "0px" }), R = we(!1), P = j(() => Object.keys(e.countryMetrics).length === 0 && !e.fitToCountry), O = j(() => ({
|
|
2649
2650
|
"fill-color": [
|
|
2650
2651
|
"match",
|
|
2651
2652
|
[
|
|
@@ -2669,27 +2670,27 @@ const ki = { class: "legend" }, Ri = {
|
|
|
2669
2670
|
})), C = j(() => e.withLegend && Object.keys(e.countryMetrics).length > 0), V = j(() => e.metric && l.t(`metrics.${e.metric}`) || ""), U = (s) => {
|
|
2670
2671
|
const m = s.flat(1);
|
|
2671
2672
|
return Array.isArray(m[0]) && Array.isArray(m[0][0]) ? U(m) : m;
|
|
2672
|
-
},
|
|
2673
|
+
}, z = (s) => {
|
|
2673
2674
|
if (s === "RU") {
|
|
2674
|
-
|
|
2675
|
+
h.value?.fitBounds([
|
|
2675
2676
|
[20, 40],
|
|
2676
2677
|
[180, 80]
|
|
2677
2678
|
]);
|
|
2678
2679
|
return;
|
|
2679
2680
|
} else if (s === "US") {
|
|
2680
|
-
|
|
2681
|
+
h.value?.fitBounds([
|
|
2681
2682
|
[-130, 20],
|
|
2682
2683
|
[-60, 50]
|
|
2683
2684
|
]);
|
|
2684
2685
|
return;
|
|
2685
2686
|
} else if (s === "FR") {
|
|
2686
|
-
|
|
2687
|
+
h.value?.fitBounds([
|
|
2687
2688
|
[-5, 42],
|
|
2688
2689
|
[9, 51]
|
|
2689
2690
|
]);
|
|
2690
2691
|
return;
|
|
2691
2692
|
} else if (s === "NO") {
|
|
2692
|
-
|
|
2693
|
+
h.value?.fitBounds([
|
|
2693
2694
|
[4, 57],
|
|
2694
2695
|
[32, 71]
|
|
2695
2696
|
]);
|
|
@@ -2700,7 +2701,7 @@ const ki = { class: "legend" }, Ri = {
|
|
|
2700
2701
|
const _ = m.geometry?.coordinates;
|
|
2701
2702
|
if (!_) return;
|
|
2702
2703
|
const x = U(_), t = x.map((G) => G[1]), o = x.map((G) => G[0]), u = Math.min(...t), F = Math.max(...t), T = Math.min(...o), N = Math.max(...o);
|
|
2703
|
-
|
|
2704
|
+
h.value?.fitBounds([
|
|
2704
2705
|
[T, u],
|
|
2705
2706
|
[N, F]
|
|
2706
2707
|
]);
|
|
@@ -2725,41 +2726,41 @@ const ki = { class: "legend" }, Ri = {
|
|
|
2725
2726
|
};
|
|
2726
2727
|
return e.bounds && (s.bounds = e.bounds), s;
|
|
2727
2728
|
}), p = Ni(() => {
|
|
2728
|
-
if (!
|
|
2729
|
-
const s =
|
|
2729
|
+
if (!h.value) return;
|
|
2730
|
+
const s = h.value.getBounds(), m = s.getSouthWest(), _ = s.getNorthEast();
|
|
2730
2731
|
i("boundsChange", [
|
|
2731
2732
|
[m.lng, m.lat],
|
|
2732
2733
|
[_.lng, _.lat]
|
|
2733
2734
|
]);
|
|
2734
|
-
}, 300), g =
|
|
2735
|
-
() =>
|
|
2736
|
-
{ redraw: () =>
|
|
2735
|
+
}, 300), g = ma(
|
|
2736
|
+
() => h.value?.getCanvas(),
|
|
2737
|
+
{ redraw: () => h.value?.redraw() }
|
|
2737
2738
|
);
|
|
2738
|
-
return
|
|
2739
|
+
return Zr(() => {
|
|
2739
2740
|
g();
|
|
2740
|
-
}),
|
|
2741
|
+
}), Jr(async () => {
|
|
2741
2742
|
try {
|
|
2742
2743
|
const s = await a, m = await fetch(s), _ = new Uint8Array(await m.arrayBuffer()), x = Fi.decode(new Di(_));
|
|
2743
|
-
E.value = x,
|
|
2744
|
-
|
|
2744
|
+
E.value = x, h.value = new ea(I.value), h.value.on("load", () => {
|
|
2745
|
+
h.value?.addSource("countries", {
|
|
2745
2746
|
type: "geojson",
|
|
2746
2747
|
data: x
|
|
2747
|
-
}),
|
|
2748
|
+
}), h.value?.addLayer({
|
|
2748
2749
|
id: "countries-layer",
|
|
2749
2750
|
type: "fill",
|
|
2750
2751
|
source: "countries",
|
|
2751
2752
|
paint: O.value
|
|
2752
|
-
}),
|
|
2753
|
+
}), h.value?.addSource("lakes", {
|
|
2753
2754
|
type: "geojson",
|
|
2754
2755
|
data: _i
|
|
2755
|
-
}),
|
|
2756
|
+
}), h.value?.addLayer({
|
|
2756
2757
|
id: "lakes-layer",
|
|
2757
2758
|
type: "fill",
|
|
2758
2759
|
source: "lakes",
|
|
2759
2760
|
paint: {
|
|
2760
2761
|
"fill-color": "#FFFFFF"
|
|
2761
2762
|
}
|
|
2762
|
-
}),
|
|
2763
|
+
}), h.value?.on("mousemove", "countries-layer", (t) => {
|
|
2763
2764
|
const o = t.features?.[0];
|
|
2764
2765
|
if (o) {
|
|
2765
2766
|
const { iso_a2: u, iso_a2_eh: F, ISO_A2: T, admin: N } = o.properties, G = T ?? u === "-99" ? F : u, $ = e.countryMetrics[G];
|
|
@@ -2772,20 +2773,20 @@ const ki = { class: "legend" }, Ri = {
|
|
|
2772
2773
|
top: `${t.point.y}px`
|
|
2773
2774
|
});
|
|
2774
2775
|
}
|
|
2775
|
-
}),
|
|
2776
|
+
}), h.value?.on("mouseleave", "countries-layer", () => {
|
|
2776
2777
|
R.value = !1;
|
|
2777
|
-
}),
|
|
2778
|
-
}),
|
|
2778
|
+
}), h.value?.on("move", p), e.fitToCountry && z(e.fitToCountry);
|
|
2779
|
+
}), h.value?.dragRotate.disable(), h.value?.keyboard.disable(), h.value?.touchZoomRotate.disableRotation();
|
|
2779
2780
|
} catch (s) {
|
|
2780
2781
|
console.error(s);
|
|
2781
2782
|
}
|
|
2782
2783
|
}), Xe(() => e.countryMetrics, () => {
|
|
2783
|
-
|
|
2784
|
+
h.value && h.value.isStyleLoaded() && (h.value.getLayer("countries-layer") && h.value.removeLayer("countries-layer"), h.value.addLayer({
|
|
2784
2785
|
id: "countries-layer",
|
|
2785
2786
|
type: "fill",
|
|
2786
2787
|
source: "countries",
|
|
2787
2788
|
paint: O.value
|
|
2788
|
-
}),
|
|
2789
|
+
}), h.value.removeLayer("lakes-layer"), h.value?.addLayer({
|
|
2789
2790
|
id: "lakes-layer",
|
|
2790
2791
|
type: "fill",
|
|
2791
2792
|
source: "lakes",
|
|
@@ -2794,45 +2795,45 @@ const ki = { class: "legend" }, Ri = {
|
|
|
2794
2795
|
}
|
|
2795
2796
|
}));
|
|
2796
2797
|
}), Xe(() => e.fitToCountry, (s) => {
|
|
2797
|
-
|
|
2798
|
+
h.value && s ? z(s) : !I.value.center && !I.value.zoom ? h.value?.fitBounds([
|
|
2798
2799
|
[-180, -90],
|
|
2799
2800
|
[180, 90]
|
|
2800
|
-
]) : (I.value.zoom &&
|
|
2801
|
+
]) : (I.value.zoom && h.value?.setZoom(I.value.zoom), I.value.center && h.value?.flyTo({ center: I.value.center }));
|
|
2801
2802
|
}), Xe(() => e.bounds, (s, m) => {
|
|
2802
2803
|
if (!s) return;
|
|
2803
2804
|
const _ = s?.flat(), x = m?.flat();
|
|
2804
|
-
!(_ && x && _.length === x.length && _.every((o, u) => Math.round(o * 100) / 100 === Math.round(x[u] * 100) / 100)) &&
|
|
2805
|
+
!(_ && x && _.length === x.length && _.every((o, u) => Math.round(o * 100) / 100 === Math.round(x[u] * 100) / 100)) && h.value && h.value.fitBounds(s);
|
|
2805
2806
|
}), (s, m) => (W(), ne("div", Ai, [
|
|
2806
2807
|
P.value ? (W(), ne("div", Vi, [
|
|
2807
2808
|
et(s.$slots, "no-location-icon", {}, () => [
|
|
2808
|
-
|
|
2809
|
+
Qr(oe(ra), {
|
|
2809
2810
|
color: `var(--kui-icon-color-neutral, ${oe(ci)})`,
|
|
2810
2811
|
size: `var(--kui-icon-size-60, ${oe(di)})`
|
|
2811
2812
|
}, null, 8, ["color", "size"])
|
|
2812
2813
|
], !0),
|
|
2813
2814
|
X("div", Bi, [
|
|
2814
2815
|
et(s.$slots, "no-location-title", {}, () => [
|
|
2815
|
-
|
|
2816
|
+
Xr(ye(oe(l).t("no_location_data")), 1)
|
|
2816
2817
|
], !0)
|
|
2817
2818
|
]),
|
|
2818
|
-
X("div",
|
|
2819
|
+
X("div", zi, [
|
|
2819
2820
|
et(s.$slots, "no-location-description", {}, () => [
|
|
2820
|
-
X("p", null,
|
|
2821
|
+
X("p", null, ye(oe(l).t("no_location_data_description")), 1)
|
|
2821
2822
|
], !0)
|
|
2822
2823
|
])
|
|
2823
2824
|
])) : xe("", !0),
|
|
2824
2825
|
X("div", {
|
|
2825
2826
|
id: oe(D),
|
|
2826
2827
|
class: "analytics-geo-map-container"
|
|
2827
|
-
}, null, 8,
|
|
2828
|
-
C.value ? (W(),
|
|
2828
|
+
}, null, 8, Hi),
|
|
2829
|
+
C.value ? (W(), Ht(Pi, {
|
|
2829
2830
|
key: 1,
|
|
2830
2831
|
class: "legend-container",
|
|
2831
|
-
data: oe(
|
|
2832
|
+
data: oe(y),
|
|
2832
2833
|
metric: e.metric,
|
|
2833
2834
|
title: V.value
|
|
2834
2835
|
}, null, 8, ["data", "metric", "title"])) : xe("", !0),
|
|
2835
|
-
R.value && S.value ? (W(),
|
|
2836
|
+
R.value && S.value ? (W(), Ht(Ui, {
|
|
2836
2837
|
key: 2,
|
|
2837
2838
|
data: S.value,
|
|
2838
2839
|
left: L.value.left,
|
|
@@ -2841,7 +2842,7 @@ const ki = { class: "legend" }, Ri = {
|
|
|
2841
2842
|
}, null, 8, ["data", "left", "show-value", "top"])) : xe("", !0)
|
|
2842
2843
|
]));
|
|
2843
2844
|
}
|
|
2844
|
-
}), Wi = /* @__PURE__ */
|
|
2845
|
+
}), Wi = /* @__PURE__ */ ht(bi, [["__scopeId", "data-v-71f48e24"]]);
|
|
2845
2846
|
export {
|
|
2846
2847
|
Wi as AnalyticsGeoMap,
|
|
2847
2848
|
Ni as debounce,
|