@kong-ui-public/analytics-geo-map 1.4.47-pr.2798.62b690ad0.0 → 1.4.47

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.
Files changed (33) hide show
  1. package/dist/countries-simple-geo-BFUDnSiE.js +4 -0
  2. package/dist/style.css +1 -0
  3. package/dist/types/components/AnalyticsGeoMap.vue.d.ts +34 -0
  4. package/dist/types/components/AnalyticsGeoMap.vue.d.ts.map +1 -0
  5. package/dist/types/components/MapLegend.vue.d.ts +13 -0
  6. package/dist/types/components/MapLegend.vue.d.ts.map +1 -0
  7. package/dist/types/components/MapTooltip.vue.d.ts +15 -0
  8. package/dist/types/components/MapTooltip.vue.d.ts.map +1 -0
  9. package/dist/types/composables/index.d.ts +10 -0
  10. package/dist/types/composables/index.d.ts.map +1 -0
  11. package/dist/types/composables/useI18n.d.ts +9 -0
  12. package/dist/types/composables/useI18n.d.ts.map +1 -0
  13. package/dist/types/composables/useLegendScale.d.ts +17 -0
  14. package/dist/types/composables/useLegendScale.d.ts.map +1 -0
  15. package/dist/types/composables/useMetricFormat.d.ts +15 -0
  16. package/dist/types/composables/useMetricFormat.d.ts.map +1 -0
  17. package/dist/types/index.d.ts +5 -0
  18. package/dist/types/index.d.ts.map +1 -0
  19. package/dist/types/types/index.d.ts +5 -0
  20. package/dist/types/types/index.d.ts.map +1 -0
  21. package/dist/types/types/map-options.d.ts +5 -0
  22. package/dist/types/types/map-options.d.ts.map +1 -0
  23. package/dist/types/types/metric-units.d.ts +2 -0
  24. package/dist/types/types/metric-units.d.ts.map +1 -0
  25. package/dist/types/utils/debounce.d.ts +2 -0
  26. package/dist/types/utils/debounce.d.ts.map +1 -0
  27. package/dist/types/utils/explore-to-country-metrics.d.ts +3 -0
  28. package/dist/types/utils/explore-to-country-metrics.d.ts.map +1 -0
  29. package/dist/types/utils/index.d.ts +3 -0
  30. package/dist/types/utils/index.d.ts.map +1 -0
  31. package/dist/vitals-geo-map.es.js +5005 -0
  32. package/dist/vitals-geo-map.umd.js +1 -0
  33. package/package.json +2 -2
@@ -0,0 +1,5005 @@
1
+ import { computed as U, defineComponent as Dt, createElementBlock as ae, openBlock as $, createCommentVNode as ke, toDisplayString as we, Fragment as Wr, renderList as Zr, createElementVNode as X, normalizeStyle as qr, useCssVars as Jr, toRef as Be, ref as Ne, useId as Xr, onMounted as Qr, watch as dt, createBlock as nn, renderSlot as mt, createVNode as ea, unref as ue, createTextVNode as ta } from "vue";
2
+ import { Map as na } from "maplibre-gl";
3
+ import { createI18n as ra, i18nTComponent as aa } from "@kong-ui-public/i18n";
4
+ import { AnalyticsIcon as ia } from "@kong/icons";
5
+ const oa = {
6
+ ms: "ms",
7
+ bytes: "Byte{plural}",
8
+ count: "request{plural}",
9
+ "count/minute": "rpm",
10
+ requests: "request{plural}"
11
+ }, sa = {
12
+ request_count: "Request count",
13
+ request_per_minute: "Requests per minute",
14
+ response_latency_average: "Response latency (avg)",
15
+ response_latency_p99: "Response latency (p99)",
16
+ response_latency_p95: "Response latency (p95)",
17
+ response_latency_p50: "Response latency (p50)",
18
+ kong_latency_average: "Kong latency (avg)",
19
+ kong_latency_p99: "Kong latency (p99)",
20
+ kong_latency_p95: "Kong latency (p95)",
21
+ kong_latency_p50: "Kong latency (p50)",
22
+ upstream_latency_average: "Upstream latency (avg)",
23
+ upstream_latency_p99: "Upstream latency (p99)",
24
+ upstream_latency_p95: "Upstream latency (p95)",
25
+ upstream_latency_p50: "Upstream latency (p50)",
26
+ response_size_average: "Response size (avg)",
27
+ response_size_p99: "Response size (p99)",
28
+ response_size_p95: "Response size (p95)",
29
+ response_size_p50: "Response size (p50)",
30
+ response_size_sum: "Response size (sum)",
31
+ request_size_average: "Request size (avg)",
32
+ request_size_p99: "Request size (p99)",
33
+ request_size_p95: "Request size (p95)",
34
+ request_size_p50: "Request size (p50)",
35
+ request_size_sum: "Request size (sum)"
36
+ }, la = {
37
+ windows_zoom_help_text: "Use Ctrl + Scroll to zoom the map",
38
+ mac_zoom_help_text: "Use ⌘ + Scroll to zoom the map",
39
+ mobile_zoom_help_text: "Use two fingers to zoom the map"
40
+ }, ua = "No data in the current time frame", ca = "Once there is traffic, it will display here", da = {
41
+ metricUnits: oa,
42
+ metrics: sa,
43
+ cooperative_gestures: la,
44
+ no_location_data: ua,
45
+ no_location_data_description: ca
46
+ };
47
+ function ma() {
48
+ const e = ra("en-us", da);
49
+ return {
50
+ i18n: e,
51
+ i18nT: aa(e)
52
+ // Translation component <i18n-t>
53
+ };
54
+ }
55
+ var fa = Object.defineProperty, pa = (e, t, n) => t in e ? fa(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, I = (e, t, n) => pa(e, typeof t != "symbol" ? t + "" : t, n), h = /* @__PURE__ */ ((e) => (e.FIFTEEN_MIN = "15m", e.ONE_HOUR = "1h", e.SIX_HOUR = "6h", e.TWELVE_HOUR = "12h", e.ONE_DAY = "24h", e.SEVEN_DAY = "7d", e.THIRTY_DAY = "30d", e.NINETY_DAY = "90d", e.ONE_HUNDRED_EIGHTY_DAY = "180d", e.ONE_YEAR = "365d", e.CURRENT_WEEK = "current_week", e.CURRENT_MONTH = "current_month", e.CURRENT_QUARTER = "current_quarter", e.CURRENT_YEAR = "current_year", e.PREVIOUS_WEEK = "previous_week", e.PREVIOUS_MONTH = "previous_month", e.PREVIOUS_QUARTER = "previous_quarter", e.PREVIOUS_YEAR = "previous_year", e))(h || {});
56
+ const ha = ["in", "not_in", "selector"], ya = ["empty", "not_empty"], _a = [
57
+ "15m",
58
+ "1h",
59
+ "6h",
60
+ "12h",
61
+ "24h",
62
+ "7d",
63
+ "current_week",
64
+ "previous_week",
65
+ "30d",
66
+ "current_month",
67
+ "previous_month"
68
+ ], xe = (e) => e.filter((t) => t !== "time"), Mn = [
69
+ "api",
70
+ "api_package",
71
+ "api_product",
72
+ "api_product_version",
73
+ "control_plane",
74
+ "control_plane_group",
75
+ "data_plane_node",
76
+ "gateway_service",
77
+ "portal",
78
+ "route",
79
+ "status_code",
80
+ "status_code_grouped",
81
+ "time"
82
+ ], Tn = xe(Mn), Sn = [
83
+ ...Mn,
84
+ "application",
85
+ "consumer",
86
+ "country_code",
87
+ "upstream_status_code",
88
+ "upstream_status_code_grouped",
89
+ "response_source",
90
+ "data_plane_node_version",
91
+ "realm",
92
+ "portal_api"
93
+ ], Dn = xe(Sn), ga = [
94
+ "control_plane",
95
+ "control_plane_group",
96
+ "gateway_service",
97
+ "consumer",
98
+ "application",
99
+ "route",
100
+ "ai_provider",
101
+ "ai_response_model",
102
+ "ai_request_model",
103
+ "llm_cache_status",
104
+ "llm_embeddings_provider",
105
+ "llm_embeddings_model",
106
+ "time",
107
+ "realm",
108
+ "status_code",
109
+ "status_code_grouped",
110
+ "ai_plugin"
111
+ ], Nn = xe(ga), wa = [
112
+ "api",
113
+ "api_package",
114
+ "api_product",
115
+ "api_product_version",
116
+ "application",
117
+ "auth_type",
118
+ "client_ip",
119
+ "consumer",
120
+ "consumer_group",
121
+ "control_plane",
122
+ "control_plane_group",
123
+ "country_code",
124
+ "data_plane_node",
125
+ "data_plane_node_version",
126
+ "gateway_service",
127
+ "header_host",
128
+ "header_user_agent",
129
+ "http_method",
130
+ "portal",
131
+ "realm",
132
+ "request_id",
133
+ "request_uri",
134
+ "response_header_content_type",
135
+ "response_source",
136
+ "route",
137
+ "service_port",
138
+ "service_protocol",
139
+ "sse",
140
+ "status_code_grouped",
141
+ "time",
142
+ "trace_id",
143
+ "upstream_uri",
144
+ "upstream_status_code_grouped",
145
+ "websocket"
146
+ ];
147
+ xe(wa);
148
+ const va = [
149
+ "ai_count",
150
+ "latencies_response_ms",
151
+ "latencies_upstream_ms",
152
+ "latencies_kong_gateway_ms",
153
+ "request_body_size",
154
+ "response_body_size",
155
+ "response_header_content_length",
156
+ "status_code",
157
+ "upstream_status_code"
158
+ ];
159
+ xe(va);
160
+ const xa = [
161
+ ...Sn,
162
+ "mcp_session_id",
163
+ "mcp_method",
164
+ "mcp_tool_name",
165
+ "mcp_error"
166
+ ], Fa = xe(xa);
167
+ new Set(Tn), new Set(Dn), new Set(Nn), new Set(Fa);
168
+ const Nt = [
169
+ { code: "AF", name: "Afghanistan" },
170
+ { code: "AX", name: "Aland Islands" },
171
+ { code: "AL", name: "Albania" },
172
+ { code: "DZ", name: "Algeria" },
173
+ { code: "AS", name: "American Samoa" },
174
+ { code: "AD", name: "Andorra" },
175
+ { code: "AO", name: "Angola" },
176
+ { code: "AI", name: "Anguilla" },
177
+ { code: "AQ", name: "Antarctica" },
178
+ { code: "AG", name: "Antigua and Barbuda" },
179
+ { code: "AR", name: "Argentina" },
180
+ { code: "AM", name: "Armenia" },
181
+ { code: "AW", name: "Aruba" },
182
+ { code: "AU", name: "Australia" },
183
+ { code: "AT", name: "Austria" },
184
+ { code: "AZ", name: "Azerbaijan" },
185
+ { code: "BS", name: "Bahamas" },
186
+ { code: "BH", name: "Bahrain" },
187
+ { code: "BD", name: "Bangladesh" },
188
+ { code: "BB", name: "Barbados" },
189
+ { code: "BY", name: "Belarus" },
190
+ { code: "BE", name: "Belgium" },
191
+ { code: "BZ", name: "Belize" },
192
+ { code: "BJ", name: "Benin" },
193
+ { code: "BM", name: "Bermuda" },
194
+ { code: "BT", name: "Bhutan" },
195
+ { code: "BO", name: "Bolivia" },
196
+ { code: "BA", name: "Bosnia and Herzegovina" },
197
+ { code: "BW", name: "Botswana" },
198
+ { code: "BV", name: "Bouvet Island" },
199
+ { code: "BR", name: "Brazil" },
200
+ { code: "IO", name: "British Indian Ocean Territory" },
201
+ { code: "BN", name: "Brunei Darussalam" },
202
+ { code: "BG", name: "Bulgaria" },
203
+ { code: "BF", name: "Burkina Faso" },
204
+ { code: "BI", name: "Burundi" },
205
+ { code: "KH", name: "Cambodia" },
206
+ { code: "CM", name: "Cameroon" },
207
+ { code: "CA", name: "Canada" },
208
+ { code: "CV", name: "Cape Verde" },
209
+ { code: "KY", name: "Cayman Islands" },
210
+ { code: "CF", name: "Central African Republic" },
211
+ { code: "TD", name: "Chad" },
212
+ { code: "CL", name: "Chile" },
213
+ { code: "CN", name: "China" },
214
+ { code: "CX", name: "Christmas Island" },
215
+ { code: "CC", name: "Cocos (Keeling) Islands" },
216
+ { code: "CO", name: "Colombia" },
217
+ { code: "KM", name: "Comoros" },
218
+ { code: "CG", name: "Congo" },
219
+ { code: "CD", name: "Democratic Republic of the Congo" },
220
+ { code: "CK", name: "Cook Islands" },
221
+ { code: "CR", name: "Costa Rica" },
222
+ { code: "CI", name: "Cote d'Ivoire" },
223
+ { code: "HR", name: "Croatia" },
224
+ { code: "CU", name: "Cuba" },
225
+ { code: "CY", name: "Cyprus" },
226
+ { code: "CZ", name: "Czech Republic" },
227
+ { code: "DK", name: "Denmark" },
228
+ { code: "DJ", name: "Djibouti" },
229
+ { code: "DM", name: "Dominica" },
230
+ { code: "DO", name: "Dominican Republic" },
231
+ { code: "EC", name: "Ecuador" },
232
+ { code: "EG", name: "Egypt" },
233
+ { code: "SV", name: "El Salvador" },
234
+ { code: "GQ", name: "Equatorial Guinea" },
235
+ { code: "ER", name: "Eritrea" },
236
+ { code: "EE", name: "Estonia" },
237
+ { code: "ET", name: "Ethiopia" },
238
+ { code: "FK", name: "Falkland Islands (Malvinas)" },
239
+ { code: "FO", name: "Faroe Islands" },
240
+ { code: "FJ", name: "Fiji" },
241
+ { code: "FI", name: "Finland" },
242
+ { code: "FR", name: "France" },
243
+ { code: "GF", name: "French Guiana" },
244
+ { code: "PF", name: "French Polynesia" },
245
+ { code: "TF", name: "French Southern Territories" },
246
+ { code: "GA", name: "Gabon" },
247
+ { code: "GM", name: "Gambia" },
248
+ { code: "GE", name: "Georgia" },
249
+ { code: "DE", name: "Germany" },
250
+ { code: "GH", name: "Ghana" },
251
+ { code: "GI", name: "Gibraltar" },
252
+ { code: "GR", name: "Greece" },
253
+ { code: "GL", name: "Greenland" },
254
+ { code: "GD", name: "Grenada" },
255
+ { code: "GP", name: "Guadeloupe" },
256
+ { code: "GU", name: "Guam" },
257
+ { code: "GT", name: "Guatemala" },
258
+ { code: "GG", name: "Guernsey" },
259
+ { code: "GN", name: "Guinea" },
260
+ { code: "GW", name: "Guinea-Bissau" },
261
+ { code: "GY", name: "Guyana" },
262
+ { code: "HT", name: "Haiti" },
263
+ { code: "HM", name: "Heard Island and McDonald Islands" },
264
+ { code: "VA", name: "The Vatican" },
265
+ { code: "HN", name: "Honduras" },
266
+ { code: "HK", name: "Hong Kong" },
267
+ { code: "HU", name: "Hungary" },
268
+ { code: "IS", name: "Iceland" },
269
+ { code: "IN", name: "India" },
270
+ { code: "ID", name: "Indonesia" },
271
+ { code: "IR", name: "Iran" },
272
+ { code: "IQ", name: "Iraq" },
273
+ { code: "IE", name: "Ireland" },
274
+ { code: "IM", name: "Isle of Man" },
275
+ { code: "IL", name: "Israel" },
276
+ { code: "IT", name: "Italy" },
277
+ { code: "JM", name: "Jamaica" },
278
+ { code: "JP", name: "Japan" },
279
+ { code: "JE", name: "Jersey" },
280
+ { code: "JO", name: "Jordan" },
281
+ { code: "KZ", name: "Kazakhstan" },
282
+ { code: "KE", name: "Kenya" },
283
+ { code: "KI", name: "Kiribati" },
284
+ { code: "KP", name: "North Korea" },
285
+ { code: "KR", name: "South Korea" },
286
+ { code: "KW", name: "Kuwait" },
287
+ { code: "KG", name: "Kyrgyzstan" },
288
+ { code: "LA", name: "Laos" },
289
+ { code: "LV", name: "Latvia" },
290
+ { code: "LB", name: "Lebanon" },
291
+ { code: "LS", name: "Lesotho" },
292
+ { code: "LR", name: "Liberia" },
293
+ { code: "LY", name: "Libya" },
294
+ { code: "LI", name: "Liechtenstein" },
295
+ { code: "LT", name: "Lithuania" },
296
+ { code: "LU", name: "Luxembourg" },
297
+ { code: "MO", name: "Macao" },
298
+ { code: "MK", name: "Macedonia" },
299
+ { code: "MG", name: "Madagascar" },
300
+ { code: "MW", name: "Malawi" },
301
+ { code: "MY", name: "Malaysia" },
302
+ { code: "MV", name: "Maldives" },
303
+ { code: "ML", name: "Mali" },
304
+ { code: "MT", name: "Malta" },
305
+ { code: "MH", name: "Marshall Islands" },
306
+ { code: "MQ", name: "Martinique" },
307
+ { code: "MR", name: "Mauritania" },
308
+ { code: "MU", name: "Mauritius" },
309
+ { code: "YT", name: "Mayotte" },
310
+ { code: "MX", name: "Mexico" },
311
+ { code: "FM", name: "Micronesia, " },
312
+ { code: "MD", name: "Moldova," },
313
+ { code: "MC", name: "Monaco" },
314
+ { code: "MN", name: "Mongolia" },
315
+ { code: "ME", name: "Montenegro" },
316
+ { code: "MS", name: "Montserrat" },
317
+ { code: "MA", name: "Morocco" },
318
+ { code: "MZ", name: "Mozambique" },
319
+ { code: "MM", name: "Myanmar" },
320
+ { code: "NA", name: "Namibia" },
321
+ { code: "NR", name: "Nauru" },
322
+ { code: "NP", name: "Nepal" },
323
+ { code: "NL", name: "Netherlands" },
324
+ { code: "NC", name: "New Caledonia" },
325
+ { code: "NZ", name: "New Zealand" },
326
+ { code: "NI", name: "Nicaragua" },
327
+ { code: "NE", name: "Niger" },
328
+ { code: "NG", name: "Nigeria" },
329
+ { code: "NU", name: "Niue" },
330
+ { code: "NF", name: "Norfolk Island" },
331
+ { code: "MP", name: "Northern Mariana Islands" },
332
+ { code: "NO", name: "Norway" },
333
+ { code: "OM", name: "Oman" },
334
+ { code: "PK", name: "Pakistan" },
335
+ { code: "PW", name: "Palau" },
336
+ { code: "PA", name: "Panama" },
337
+ { code: "PG", name: "Papua New Guinea" },
338
+ { code: "PY", name: "Paraguay" },
339
+ { code: "PE", name: "Peru" },
340
+ { code: "PH", name: "Philippines" },
341
+ { code: "PN", name: "Pitcairn" },
342
+ { code: "PL", name: "Poland" },
343
+ { code: "PT", name: "Portugal" },
344
+ { code: "PR", name: "Puerto Rico" },
345
+ { code: "QA", name: "Qatar" },
346
+ { code: "RE", name: "Reunion" },
347
+ { code: "RO", name: "Romania" },
348
+ { code: "RU", name: "Russia" },
349
+ { code: "RW", name: "Rwanda" },
350
+ { code: "BL", name: "Saint Barthelemy" },
351
+ { code: "SH", name: "Saint Helena" },
352
+ { code: "KN", name: "Saint Kitts and Nevis" },
353
+ { code: "LC", name: "Saint Lucia" },
354
+ { code: "MF", name: "Saint Martin" },
355
+ { code: "PM", name: "Saint Pierre and Miquelon" },
356
+ { code: "VC", name: "Saint Vincent and the Grenadines" },
357
+ { code: "WS", name: "Samoa" },
358
+ { code: "SM", name: "San Marino" },
359
+ { code: "ST", name: "Sao Tome and Principe" },
360
+ { code: "SA", name: "Saudi Arabia" },
361
+ { code: "SN", name: "Senegal" },
362
+ { code: "RS", name: "Serbia" },
363
+ { code: "SC", name: "Seychelles" },
364
+ { code: "SL", name: "Sierra Leone" },
365
+ { code: "SG", name: "Singapore" },
366
+ { code: "SX", name: "Sint Maarten" },
367
+ { code: "SK", name: "Slovakia" },
368
+ { code: "SI", name: "Slovenia" },
369
+ { code: "SB", name: "Solomon Islands" },
370
+ { code: "SO", name: "Somalia" },
371
+ { code: "ZA", name: "South Africa" },
372
+ { code: "GS", name: "South Georgia and the South Sandwich Islands" },
373
+ { code: "SS", name: "South Sudan" },
374
+ { code: "ES", name: "Spain" },
375
+ { code: "LK", name: "Sri Lanka" },
376
+ { code: "SD", name: "Sudan" },
377
+ { code: "SR", name: "Suriname" },
378
+ { code: "SJ", name: "Svalbard and Jan Mayen" },
379
+ { code: "SZ", name: "Swaziland" },
380
+ { code: "SE", name: "Sweden" },
381
+ { code: "CH", name: "Switzerland" },
382
+ { code: "SY", name: "Syria" },
383
+ { code: "TW", name: "Taiwan" },
384
+ { code: "TJ", name: "Tajikistan" },
385
+ { code: "TZ", name: "Tanzania" },
386
+ { code: "TH", name: "Thailand" },
387
+ { code: "TL", name: "Timor-Leste" },
388
+ { code: "TG", name: "Togo" },
389
+ { code: "TK", name: "Tokelau" },
390
+ { code: "TO", name: "Tonga" },
391
+ { code: "TT", name: "Trinidad and Tobago" },
392
+ { code: "TN", name: "Tunisia" },
393
+ { code: "TR", name: "Turkey" },
394
+ { code: "TM", name: "Turkmenistan" },
395
+ { code: "TC", name: "Turks and Caicos Islands" },
396
+ { code: "TV", name: "Tuvalu" },
397
+ { code: "UG", name: "Uganda" },
398
+ { code: "UA", name: "Ukraine" },
399
+ { code: "AE", name: "United Arab Emirates" },
400
+ { code: "GB", name: "United Kingdom" },
401
+ { code: "US", name: "United States" },
402
+ { code: "UM", name: "United States Minor Outlying Islands" },
403
+ { code: "UY", name: "Uruguay" },
404
+ { code: "UZ", name: "Uzbekistan" },
405
+ { code: "VU", name: "Vanuatu" },
406
+ { code: "VE", name: "Venezuela" },
407
+ { code: "VN", name: "Vietnam" },
408
+ { code: "VG", name: "British Virgin Islands" },
409
+ { code: "VI", name: "U.S. Virgin Islands" },
410
+ { code: "WF", name: "Wallis and Futuna" },
411
+ { code: "EH", name: "Western Sahara" },
412
+ { code: "YE", name: "Yemen" },
413
+ { code: "ZM", name: "Zambia" },
414
+ { code: "ZW", name: "Zimbabwe" }
415
+ ];
416
+ Nt.map((e) => e.code);
417
+ const Ma = (e) => ({
418
+ type: "array",
419
+ description: "A list of filters to apply to the query",
420
+ items: {
421
+ oneOf: [
422
+ {
423
+ type: "object",
424
+ description: "In filter",
425
+ properties: {
426
+ field: {
427
+ type: "string",
428
+ enum: e
429
+ },
430
+ operator: {
431
+ type: "string",
432
+ enum: ha
433
+ },
434
+ value: {
435
+ type: "array",
436
+ items: {
437
+ type: ["string", "number", "null"]
438
+ }
439
+ }
440
+ },
441
+ required: [
442
+ "field",
443
+ "operator",
444
+ "value"
445
+ ],
446
+ additionalProperties: !1
447
+ },
448
+ {
449
+ type: "object",
450
+ description: "Empty filter",
451
+ properties: {
452
+ field: {
453
+ type: "string",
454
+ enum: e
455
+ },
456
+ operator: {
457
+ type: "string",
458
+ enum: ya
459
+ }
460
+ },
461
+ required: [
462
+ "field",
463
+ "operator"
464
+ ],
465
+ additionalProperties: !1
466
+ }
467
+ ]
468
+ }
469
+ });
470
+ Ma([.../* @__PURE__ */ new Set([...Dn, ...Tn, ...Nn])]);
471
+ let Ta = {};
472
+ function Sa() {
473
+ return Ta;
474
+ }
475
+ const Da = 60, Na = 3600, rn = Symbol.for("constructDateFrom");
476
+ function Oe(e, t) {
477
+ return typeof e == "function" ? e(t) : e && typeof e == "object" && rn in e ? e[rn](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
478
+ }
479
+ function Fe(e, t) {
480
+ return Oe(t || e, e);
481
+ }
482
+ function ft(e, t) {
483
+ const n = Fe(e, void 0);
484
+ return n.setHours(0, 0, 0, 0), n;
485
+ }
486
+ function ze(e, t) {
487
+ var n, a, i, o;
488
+ const l = Sa(), m = (t == null ? void 0 : t.weekStartsOn) ?? ((a = (n = t == null ? void 0 : t.locale) == null ? void 0 : n.options) == null ? void 0 : a.weekStartsOn) ?? l.weekStartsOn ?? ((o = (i = l.locale) == null ? void 0 : i.options) == null ? void 0 : o.weekStartsOn) ?? 0, f = Fe(e, t == null ? void 0 : t.in), d = f.getDay(), c = (d < m ? 7 : 0) + d - m;
489
+ return f.setDate(f.getDate() - c), f.setHours(0, 0, 0, 0), f;
490
+ }
491
+ function pt(e, t, n) {
492
+ const a = Fe(e, void 0);
493
+ return isNaN(t) ? Oe(e, NaN) : (a.setDate(a.getDate() + t), a);
494
+ }
495
+ function ka(e, t, n) {
496
+ const a = Fe(e, void 0);
497
+ if (isNaN(t)) return Oe(e, NaN);
498
+ const i = a.getDate(), o = Oe(e, a.getTime());
499
+ o.setMonth(a.getMonth() + t + 1, 0);
500
+ const l = o.getDate();
501
+ return i >= l ? o : (a.setFullYear(
502
+ o.getFullYear(),
503
+ o.getMonth(),
504
+ i
505
+ ), a);
506
+ }
507
+ function ge(e, t) {
508
+ const n = Fe(e, void 0);
509
+ return n.setDate(1), n.setHours(0, 0, 0, 0), n;
510
+ }
511
+ function Ea(e, t) {
512
+ const n = Fe(e, void 0), a = n.getFullYear(), i = n.getMonth(), o = Oe(n, 0);
513
+ return o.setFullYear(a, i + 1, 0), o.setHours(0, 0, 0, 0), o.getDate();
514
+ }
515
+ function an(e) {
516
+ return Math.trunc(e * Na);
517
+ }
518
+ function Ra(e) {
519
+ const t = e / Da;
520
+ return Math.trunc(t);
521
+ }
522
+ function kn(e, t, n) {
523
+ return ka(e, -1);
524
+ }
525
+ function Oa(e, t) {
526
+ const n = Ia(t);
527
+ return "formatToParts" in n ? La(n, e) : Ga(n, e);
528
+ }
529
+ const ba = {
530
+ year: 0,
531
+ month: 1,
532
+ day: 2,
533
+ hour: 3,
534
+ minute: 4,
535
+ second: 5
536
+ };
537
+ function La(e, t) {
538
+ try {
539
+ const n = e.formatToParts(t), a = [];
540
+ for (let i = 0; i < n.length; i++) {
541
+ const o = ba[n[i].type];
542
+ o !== void 0 && (a[o] = parseInt(n[i].value, 10));
543
+ }
544
+ return a;
545
+ } catch (n) {
546
+ if (n instanceof RangeError)
547
+ return [NaN];
548
+ throw n;
549
+ }
550
+ }
551
+ function Ga(e, t) {
552
+ const n = e.format(t), a = /(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);
553
+ return [
554
+ parseInt(a[3], 10),
555
+ parseInt(a[1], 10),
556
+ parseInt(a[2], 10),
557
+ parseInt(a[4], 10),
558
+ parseInt(a[5], 10),
559
+ parseInt(a[6], 10)
560
+ ];
561
+ }
562
+ const ht = {}, on = new Intl.DateTimeFormat("en-US", {
563
+ hourCycle: "h23",
564
+ timeZone: "America/New_York",
565
+ year: "numeric",
566
+ month: "2-digit",
567
+ day: "2-digit",
568
+ hour: "2-digit",
569
+ minute: "2-digit",
570
+ second: "2-digit"
571
+ }).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Ca = on === "06/25/2014, 00:00:00" || on === "‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";
572
+ function Ia(e) {
573
+ return ht[e] || (ht[e] = Ca ? new Intl.DateTimeFormat("en-US", {
574
+ hourCycle: "h23",
575
+ timeZone: e,
576
+ year: "numeric",
577
+ month: "numeric",
578
+ day: "2-digit",
579
+ hour: "2-digit",
580
+ minute: "2-digit",
581
+ second: "2-digit"
582
+ }) : new Intl.DateTimeFormat("en-US", {
583
+ hour12: !1,
584
+ timeZone: e,
585
+ year: "numeric",
586
+ month: "numeric",
587
+ day: "2-digit",
588
+ hour: "2-digit",
589
+ minute: "2-digit",
590
+ second: "2-digit"
591
+ })), ht[e];
592
+ }
593
+ function kt(e, t, n, a, i, o, l) {
594
+ const m = /* @__PURE__ */ new Date(0);
595
+ return m.setUTCFullYear(e, t, n), m.setUTCHours(a, i, o, l), m;
596
+ }
597
+ const sn = 36e5, Ua = 6e4, yt = {
598
+ timezoneZ: /^(Z)$/,
599
+ timezoneHH: /^([+-]\d{2})$/,
600
+ timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
601
+ };
602
+ function Ze(e, t, n) {
603
+ if (!e)
604
+ return 0;
605
+ let a = yt.timezoneZ.exec(e);
606
+ if (a)
607
+ return 0;
608
+ let i, o;
609
+ if (a = yt.timezoneHH.exec(e), a)
610
+ return i = parseInt(a[1], 10), ln(i) ? -(i * sn) : NaN;
611
+ if (a = yt.timezoneHHMM.exec(e), a) {
612
+ i = parseInt(a[2], 10);
613
+ const l = parseInt(a[3], 10);
614
+ return ln(i, l) ? (o = Math.abs(i) * sn + l * Ua, a[1] === "+" ? -o : o) : NaN;
615
+ }
616
+ if (Ba(e)) {
617
+ t = new Date(t || Date.now());
618
+ const l = n ? t : Pa(t), m = Mt(l, e);
619
+ return -(n ? m : Aa(t, m, e));
620
+ }
621
+ return NaN;
622
+ }
623
+ function Pa(e) {
624
+ return kt(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
625
+ }
626
+ function Mt(e, t) {
627
+ const n = Oa(e, t), a = kt(n[0], n[1] - 1, n[2], n[3] % 24, n[4], n[5], 0).getTime();
628
+ let i = e.getTime();
629
+ const o = i % 1e3;
630
+ return i -= o >= 0 ? o : 1e3 + o, a - i;
631
+ }
632
+ function Aa(e, t, n) {
633
+ let a = e.getTime() - t;
634
+ const i = Mt(new Date(a), n);
635
+ if (t === i)
636
+ return t;
637
+ a -= i - t;
638
+ const o = Mt(new Date(a), n);
639
+ return i === o ? i : Math.max(i, o);
640
+ }
641
+ function ln(e, t) {
642
+ return -23 <= e && e <= 23 && (t == null || 0 <= t && t <= 59);
643
+ }
644
+ const un = {};
645
+ function Ba(e) {
646
+ if (un[e])
647
+ return !0;
648
+ try {
649
+ return new Intl.DateTimeFormat(void 0, { timeZone: e }), un[e] = !0, !0;
650
+ } catch {
651
+ return !1;
652
+ }
653
+ }
654
+ function cn(e) {
655
+ const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
656
+ return t.setUTCFullYear(e.getFullYear()), +e - +t;
657
+ }
658
+ const En = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, _t = 36e5, dn = 6e4, Ha = 2, R = {
659
+ dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
660
+ datePattern: /^([0-9W+-]+)(.*)/,
661
+ // year tokens
662
+ YY: /^(\d{2})$/,
663
+ YYY: [
664
+ /^([+-]\d{2})$/,
665
+ // 0 additional digits
666
+ /^([+-]\d{3})$/,
667
+ // 1 additional digit
668
+ /^([+-]\d{4})$/
669
+ // 2 additional digits
670
+ ],
671
+ YYYY: /^(\d{4})/,
672
+ YYYYY: [
673
+ /^([+-]\d{4})/,
674
+ // 0 additional digits
675
+ /^([+-]\d{5})/,
676
+ // 1 additional digit
677
+ /^([+-]\d{6})/
678
+ // 2 additional digits
679
+ ],
680
+ // date tokens
681
+ MM: /^-(\d{2})$/,
682
+ DDD: /^-?(\d{3})$/,
683
+ MMDD: /^-?(\d{2})-?(\d{2})$/,
684
+ Www: /^-?W(\d{2})$/,
685
+ WwwD: /^-?W(\d{2})-?(\d{1})$/,
686
+ HH: /^(\d{2}([.,]\d*)?)$/,
687
+ HHMM: /^(\d{2}):?(\d{2}([.,]\d*)?)$/,
688
+ HHMMSS: /^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,
689
+ // time zone tokens (to identify the presence of a tz)
690
+ timeZone: En
691
+ };
692
+ function Tt(e, t = {}) {
693
+ if (arguments.length < 1)
694
+ throw new TypeError("1 argument required, but only " + arguments.length + " present");
695
+ if (e === null)
696
+ return /* @__PURE__ */ new Date(NaN);
697
+ const n = t.additionalDigits == null ? Ha : Number(t.additionalDigits);
698
+ if (n !== 2 && n !== 1 && n !== 0)
699
+ throw new RangeError("additionalDigits must be 0, 1 or 2");
700
+ if (e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]")
701
+ return new Date(e.getTime());
702
+ if (typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]")
703
+ return new Date(e);
704
+ if (Object.prototype.toString.call(e) !== "[object String]")
705
+ return /* @__PURE__ */ new Date(NaN);
706
+ const a = Va(e), { year: i, restDateString: o } = Ya(a.date, n), l = za(o, i);
707
+ if (l === null || isNaN(l.getTime()))
708
+ return /* @__PURE__ */ new Date(NaN);
709
+ if (l) {
710
+ const m = l.getTime();
711
+ let f = 0, d;
712
+ if (a.time && (f = ja(a.time), f === null || isNaN(f)))
713
+ return /* @__PURE__ */ new Date(NaN);
714
+ if (a.timeZone || t.timeZone) {
715
+ if (d = Ze(a.timeZone || t.timeZone, new Date(m + f)), isNaN(d))
716
+ return /* @__PURE__ */ new Date(NaN);
717
+ } else
718
+ d = cn(new Date(m + f)), d = cn(new Date(m + f + d));
719
+ return new Date(m + f + d);
720
+ } else
721
+ return /* @__PURE__ */ new Date(NaN);
722
+ }
723
+ function Va(e) {
724
+ const t = {};
725
+ let n = R.dateTimePattern.exec(e), a;
726
+ if (n ? (t.date = n[1], a = n[3]) : (n = R.datePattern.exec(e), n ? (t.date = n[1], a = n[2]) : (t.date = null, a = e)), a) {
727
+ const i = R.timeZone.exec(a);
728
+ i ? (t.time = a.replace(i[1], ""), t.timeZone = i[1].trim()) : t.time = a;
729
+ }
730
+ return t;
731
+ }
732
+ function Ya(e, t) {
733
+ if (e) {
734
+ const n = R.YYY[t], a = R.YYYYY[t];
735
+ let i = R.YYYY.exec(e) || a.exec(e);
736
+ if (i) {
737
+ const o = i[1];
738
+ return {
739
+ year: parseInt(o, 10),
740
+ restDateString: e.slice(o.length)
741
+ };
742
+ }
743
+ if (i = R.YY.exec(e) || n.exec(e), i) {
744
+ const o = i[1];
745
+ return {
746
+ year: parseInt(o, 10) * 100,
747
+ restDateString: e.slice(o.length)
748
+ };
749
+ }
750
+ }
751
+ return {
752
+ year: null
753
+ };
754
+ }
755
+ function za(e, t) {
756
+ if (t === null)
757
+ return null;
758
+ let n, a, i;
759
+ if (!e || !e.length)
760
+ return n = /* @__PURE__ */ new Date(0), n.setUTCFullYear(t), n;
761
+ let o = R.MM.exec(e);
762
+ if (o)
763
+ return n = /* @__PURE__ */ new Date(0), a = parseInt(o[1], 10) - 1, fn(t, a) ? (n.setUTCFullYear(t, a), n) : /* @__PURE__ */ new Date(NaN);
764
+ if (o = R.DDD.exec(e), o) {
765
+ n = /* @__PURE__ */ new Date(0);
766
+ const l = parseInt(o[1], 10);
767
+ return Wa(t, l) ? (n.setUTCFullYear(t, 0, l), n) : /* @__PURE__ */ new Date(NaN);
768
+ }
769
+ if (o = R.MMDD.exec(e), o) {
770
+ n = /* @__PURE__ */ new Date(0), a = parseInt(o[1], 10) - 1;
771
+ const l = parseInt(o[2], 10);
772
+ return fn(t, a, l) ? (n.setUTCFullYear(t, a, l), n) : /* @__PURE__ */ new Date(NaN);
773
+ }
774
+ if (o = R.Www.exec(e), o)
775
+ return i = parseInt(o[1], 10) - 1, pn(i) ? mn(t, i) : /* @__PURE__ */ new Date(NaN);
776
+ if (o = R.WwwD.exec(e), o) {
777
+ i = parseInt(o[1], 10) - 1;
778
+ const l = parseInt(o[2], 10) - 1;
779
+ return pn(i, l) ? mn(t, i, l) : /* @__PURE__ */ new Date(NaN);
780
+ }
781
+ return null;
782
+ }
783
+ function ja(e) {
784
+ let t, n, a = R.HH.exec(e);
785
+ if (a)
786
+ return t = parseFloat(a[1].replace(",", ".")), gt(t) ? t % 24 * _t : NaN;
787
+ if (a = R.HHMM.exec(e), a)
788
+ return t = parseInt(a[1], 10), n = parseFloat(a[2].replace(",", ".")), gt(t, n) ? t % 24 * _t + n * dn : NaN;
789
+ if (a = R.HHMMSS.exec(e), a) {
790
+ t = parseInt(a[1], 10), n = parseInt(a[2], 10);
791
+ const i = parseFloat(a[3].replace(",", "."));
792
+ return gt(t, n, i) ? t % 24 * _t + n * dn + i * 1e3 : NaN;
793
+ }
794
+ return null;
795
+ }
796
+ function mn(e, t, n) {
797
+ t = t || 0, n = n || 0;
798
+ const a = /* @__PURE__ */ new Date(0);
799
+ a.setUTCFullYear(e, 0, 4);
800
+ const i = a.getUTCDay() || 7, o = t * 7 + n + 1 - i;
801
+ return a.setUTCDate(a.getUTCDate() + o), a;
802
+ }
803
+ const $a = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Ka = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
804
+ function Rn(e) {
805
+ return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
806
+ }
807
+ function fn(e, t, n) {
808
+ if (t < 0 || t > 11)
809
+ return !1;
810
+ if (n != null) {
811
+ if (n < 1)
812
+ return !1;
813
+ const a = Rn(e);
814
+ if (a && n > Ka[t] || !a && n > $a[t])
815
+ return !1;
816
+ }
817
+ return !0;
818
+ }
819
+ function Wa(e, t) {
820
+ if (t < 1)
821
+ return !1;
822
+ const n = Rn(e);
823
+ return !(n && t > 366 || !n && t > 365);
824
+ }
825
+ function pn(e, t) {
826
+ return !(e < 0 || e > 52 || t != null && (t < 0 || t > 6));
827
+ }
828
+ function gt(e, t, n) {
829
+ return !(e < 0 || e >= 25 || t != null && (t < 0 || t >= 60) || n != null && (n < 0 || n >= 60));
830
+ }
831
+ function Za(e, t, n) {
832
+ e = Tt(e, n);
833
+ const a = Ze(t, e, !0), i = new Date(e.getTime() - a), o = /* @__PURE__ */ new Date(0);
834
+ return o.setFullYear(i.getUTCFullYear(), i.getUTCMonth(), i.getUTCDate()), o.setHours(i.getUTCHours(), i.getUTCMinutes(), i.getUTCSeconds(), i.getUTCMilliseconds()), o;
835
+ }
836
+ function qa(e, t, n) {
837
+ if (typeof e == "string" && !e.match(En))
838
+ return Tt(e, { ...n, timeZone: t });
839
+ e = Tt(e, n);
840
+ const a = kt(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()).getTime(), i = Ze(t, new Date(a));
841
+ return new Date(a + i);
842
+ }
843
+ function Ja(e, t) {
844
+ return -Ze(e, t);
845
+ }
846
+ var He = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
847
+ function Xa(e) {
848
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
849
+ }
850
+ var je = { exports: {} };
851
+ je.exports;
852
+ (function(e, t) {
853
+ var n = 200, a = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", l = "[object Array]", m = "[object Boolean]", f = "[object Date]", d = "[object Error]", c = "[object Function]", y = "[object GeneratorFunction]", w = "[object Map]", g = "[object Number]", M = "[object Object]", T = "[object Promise]", B = "[object RegExp]", A = "[object Set]", C = "[object String]", ie = "[object Symbol]", D = "[object WeakMap]", Me = "[object ArrayBuffer]", ce = "[object DataView]", _ = "[object Float32Array]", F = "[object Float64Array]", S = "[object Int8Array]", k = "[object Int16Array]", ee = "[object Int32Array]", K = "[object Uint8Array]", H = "[object Uint8ClampedArray]", te = "[object Uint16Array]", ne = "[object Uint32Array]", G = /[\\^$.*+?()[\]{}|]/g, V = /\w*$/, Y = /^\[object .+?Constructor\]$/, z = /^(?:0|[1-9]\d*)$/, v = {};
854
+ v[o] = v[l] = v[Me] = v[ce] = v[m] = v[f] = v[_] = v[F] = v[S] = v[k] = v[ee] = v[w] = v[g] = v[M] = v[B] = v[A] = v[C] = v[ie] = v[K] = v[H] = v[te] = v[ne] = !0, v[d] = v[c] = v[D] = !1;
855
+ var j = typeof He == "object" && He && He.Object === Object && He, de = typeof self == "object" && self && self.Object === Object && self, O = j || de || Function("return this")(), W = t && !t.nodeType && t, Le = W && !0 && e && !e.nodeType && e, Je = Le && Le.exports === W;
856
+ function Xe(r, s) {
857
+ return r.set(s[0], s[1]), r;
858
+ }
859
+ function Qe(r, s) {
860
+ return r.add(s), r;
861
+ }
862
+ function Te(r, s) {
863
+ for (var u = -1, p = r ? r.length : 0; ++u < p && s(r[u], u, r) !== !1; )
864
+ ;
865
+ return r;
866
+ }
867
+ function Gn(r, s) {
868
+ for (var u = -1, p = s.length, N = r.length; ++u < p; )
869
+ r[N + u] = s[u];
870
+ return r;
871
+ }
872
+ function Lt(r, s, u, p) {
873
+ for (var N = -1, b = r ? r.length : 0; ++N < b; )
874
+ u = s(u, r[N], N, r);
875
+ return u;
876
+ }
877
+ function Cn(r, s) {
878
+ for (var u = -1, p = Array(r); ++u < r; )
879
+ p[u] = s(u);
880
+ return p;
881
+ }
882
+ function In(r, s) {
883
+ return r == null ? void 0 : r[s];
884
+ }
885
+ function Gt(r) {
886
+ var s = !1;
887
+ if (r != null && typeof r.toString != "function")
888
+ try {
889
+ s = !!(r + "");
890
+ } catch {
891
+ }
892
+ return s;
893
+ }
894
+ function Ct(r) {
895
+ var s = -1, u = Array(r.size);
896
+ return r.forEach(function(p, N) {
897
+ u[++s] = [N, p];
898
+ }), u;
899
+ }
900
+ function et(r, s) {
901
+ return function(u) {
902
+ return r(s(u));
903
+ };
904
+ }
905
+ function It(r) {
906
+ var s = -1, u = Array(r.size);
907
+ return r.forEach(function(p) {
908
+ u[++s] = p;
909
+ }), u;
910
+ }
911
+ var Un = Array.prototype, Pn = Function.prototype, Ge = Object.prototype, tt = O["__core-js_shared__"], Ut = function() {
912
+ var r = /[^.]+$/.exec(tt && tt.keys && tt.keys.IE_PROTO || "");
913
+ return r ? "Symbol(src)_1." + r : "";
914
+ }(), Pt = Pn.toString, re = Ge.hasOwnProperty, Ce = Ge.toString, An = RegExp(
915
+ "^" + Pt.call(re).replace(G, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
916
+ ), At = Je ? O.Buffer : void 0, Bt = O.Symbol, Ht = O.Uint8Array, Bn = et(Object.getPrototypeOf, Object), Hn = Object.create, Vn = Ge.propertyIsEnumerable, Yn = Un.splice, Vt = Object.getOwnPropertySymbols, zn = At ? At.isBuffer : void 0, jn = et(Object.keys, Object), nt = pe(O, "DataView"), Se = pe(O, "Map"), rt = pe(O, "Promise"), at = pe(O, "Set"), it = pe(O, "WeakMap"), De = pe(Object, "create"), $n = le(nt), Kn = le(Se), Wn = le(rt), Zn = le(at), qn = le(it), Yt = Bt ? Bt.prototype : void 0, zt = Yt ? Yt.valueOf : void 0;
917
+ function oe(r) {
918
+ var s = -1, u = r ? r.length : 0;
919
+ for (this.clear(); ++s < u; ) {
920
+ var p = r[s];
921
+ this.set(p[0], p[1]);
922
+ }
923
+ }
924
+ function Jn() {
925
+ this.__data__ = De ? De(null) : {};
926
+ }
927
+ function Xn(r) {
928
+ return this.has(r) && delete this.__data__[r];
929
+ }
930
+ function Qn(r) {
931
+ var s = this.__data__;
932
+ if (De) {
933
+ var u = s[r];
934
+ return u === a ? void 0 : u;
935
+ }
936
+ return re.call(s, r) ? s[r] : void 0;
937
+ }
938
+ function er(r) {
939
+ var s = this.__data__;
940
+ return De ? s[r] !== void 0 : re.call(s, r);
941
+ }
942
+ function tr(r, s) {
943
+ var u = this.__data__;
944
+ return u[r] = De && s === void 0 ? a : s, this;
945
+ }
946
+ oe.prototype.clear = Jn, oe.prototype.delete = Xn, oe.prototype.get = Qn, oe.prototype.has = er, oe.prototype.set = tr;
947
+ function Z(r) {
948
+ var s = -1, u = r ? r.length : 0;
949
+ for (this.clear(); ++s < u; ) {
950
+ var p = r[s];
951
+ this.set(p[0], p[1]);
952
+ }
953
+ }
954
+ function nr() {
955
+ this.__data__ = [];
956
+ }
957
+ function rr(r) {
958
+ var s = this.__data__, u = Ie(s, r);
959
+ if (u < 0)
960
+ return !1;
961
+ var p = s.length - 1;
962
+ return u == p ? s.pop() : Yn.call(s, u, 1), !0;
963
+ }
964
+ function ar(r) {
965
+ var s = this.__data__, u = Ie(s, r);
966
+ return u < 0 ? void 0 : s[u][1];
967
+ }
968
+ function ir(r) {
969
+ return Ie(this.__data__, r) > -1;
970
+ }
971
+ function or(r, s) {
972
+ var u = this.__data__, p = Ie(u, r);
973
+ return p < 0 ? u.push([r, s]) : u[p][1] = s, this;
974
+ }
975
+ Z.prototype.clear = nr, Z.prototype.delete = rr, Z.prototype.get = ar, Z.prototype.has = ir, Z.prototype.set = or;
976
+ function me(r) {
977
+ var s = -1, u = r ? r.length : 0;
978
+ for (this.clear(); ++s < u; ) {
979
+ var p = r[s];
980
+ this.set(p[0], p[1]);
981
+ }
982
+ }
983
+ function sr() {
984
+ this.__data__ = {
985
+ hash: new oe(),
986
+ map: new (Se || Z)(),
987
+ string: new oe()
988
+ };
989
+ }
990
+ function lr(r) {
991
+ return Ue(this, r).delete(r);
992
+ }
993
+ function ur(r) {
994
+ return Ue(this, r).get(r);
995
+ }
996
+ function cr(r) {
997
+ return Ue(this, r).has(r);
998
+ }
999
+ function dr(r, s) {
1000
+ return Ue(this, r).set(r, s), this;
1001
+ }
1002
+ me.prototype.clear = sr, me.prototype.delete = lr, me.prototype.get = ur, me.prototype.has = cr, me.prototype.set = dr;
1003
+ function fe(r) {
1004
+ this.__data__ = new Z(r);
1005
+ }
1006
+ function mr() {
1007
+ this.__data__ = new Z();
1008
+ }
1009
+ function fr(r) {
1010
+ return this.__data__.delete(r);
1011
+ }
1012
+ function pr(r) {
1013
+ return this.__data__.get(r);
1014
+ }
1015
+ function hr(r) {
1016
+ return this.__data__.has(r);
1017
+ }
1018
+ function yr(r, s) {
1019
+ var u = this.__data__;
1020
+ if (u instanceof Z) {
1021
+ var p = u.__data__;
1022
+ if (!Se || p.length < n - 1)
1023
+ return p.push([r, s]), this;
1024
+ u = this.__data__ = new me(p);
1025
+ }
1026
+ return u.set(r, s), this;
1027
+ }
1028
+ fe.prototype.clear = mr, fe.prototype.delete = fr, fe.prototype.get = pr, fe.prototype.has = hr, fe.prototype.set = yr;
1029
+ function _r(r, s) {
1030
+ var u = lt(r) || Hr(r) ? Cn(r.length, String) : [], p = u.length, N = !!p;
1031
+ for (var b in r)
1032
+ re.call(r, b) && !(N && (b == "length" || Ur(b, p))) && u.push(b);
1033
+ return u;
1034
+ }
1035
+ function jt(r, s, u) {
1036
+ var p = r[s];
1037
+ (!(re.call(r, s) && Zt(p, u)) || u === void 0 && !(s in r)) && (r[s] = u);
1038
+ }
1039
+ function Ie(r, s) {
1040
+ for (var u = r.length; u--; )
1041
+ if (Zt(r[u][0], s))
1042
+ return u;
1043
+ return -1;
1044
+ }
1045
+ function gr(r, s) {
1046
+ return r && $t(s, ut(s), r);
1047
+ }
1048
+ function ot(r, s, u, p, N, b, q) {
1049
+ var L;
1050
+ if (p && (L = b ? p(r, N, b, q) : p(r)), L !== void 0)
1051
+ return L;
1052
+ if (!Pe(r))
1053
+ return r;
1054
+ var Xt = lt(r);
1055
+ if (Xt) {
1056
+ if (L = Gr(r), !s)
1057
+ return Or(r, L);
1058
+ } else {
1059
+ var he = se(r), Qt = he == c || he == y;
1060
+ if (Yr(r))
1061
+ return Tr(r, s);
1062
+ if (he == M || he == o || Qt && !b) {
1063
+ if (Gt(r))
1064
+ return b ? r : {};
1065
+ if (L = Cr(Qt ? {} : r), !s)
1066
+ return br(r, gr(L, r));
1067
+ } else {
1068
+ if (!v[he])
1069
+ return b ? r : {};
1070
+ L = Ir(r, he, ot, s);
1071
+ }
1072
+ }
1073
+ q || (q = new fe());
1074
+ var en = q.get(r);
1075
+ if (en)
1076
+ return en;
1077
+ if (q.set(r, L), !Xt)
1078
+ var tn = u ? Lr(r) : ut(r);
1079
+ return Te(tn || r, function(ct, Ae) {
1080
+ tn && (Ae = ct, ct = r[Ae]), jt(L, Ae, ot(ct, s, u, p, Ae, r, q));
1081
+ }), L;
1082
+ }
1083
+ function wr(r) {
1084
+ return Pe(r) ? Hn(r) : {};
1085
+ }
1086
+ function vr(r, s, u) {
1087
+ var p = s(r);
1088
+ return lt(r) ? p : Gn(p, u(r));
1089
+ }
1090
+ function xr(r) {
1091
+ return Ce.call(r);
1092
+ }
1093
+ function Fr(r) {
1094
+ if (!Pe(r) || Ar(r))
1095
+ return !1;
1096
+ var s = Jt(r) || Gt(r) ? An : Y;
1097
+ return s.test(le(r));
1098
+ }
1099
+ function Mr(r) {
1100
+ if (!Wt(r))
1101
+ return jn(r);
1102
+ var s = [];
1103
+ for (var u in Object(r))
1104
+ re.call(r, u) && u != "constructor" && s.push(u);
1105
+ return s;
1106
+ }
1107
+ function Tr(r, s) {
1108
+ if (s)
1109
+ return r.slice();
1110
+ var u = new r.constructor(r.length);
1111
+ return r.copy(u), u;
1112
+ }
1113
+ function st(r) {
1114
+ var s = new r.constructor(r.byteLength);
1115
+ return new Ht(s).set(new Ht(r)), s;
1116
+ }
1117
+ function Sr(r, s) {
1118
+ var u = s ? st(r.buffer) : r.buffer;
1119
+ return new r.constructor(u, r.byteOffset, r.byteLength);
1120
+ }
1121
+ function Dr(r, s, u) {
1122
+ var p = s ? u(Ct(r), !0) : Ct(r);
1123
+ return Lt(p, Xe, new r.constructor());
1124
+ }
1125
+ function Nr(r) {
1126
+ var s = new r.constructor(r.source, V.exec(r));
1127
+ return s.lastIndex = r.lastIndex, s;
1128
+ }
1129
+ function kr(r, s, u) {
1130
+ var p = s ? u(It(r), !0) : It(r);
1131
+ return Lt(p, Qe, new r.constructor());
1132
+ }
1133
+ function Er(r) {
1134
+ return zt ? Object(zt.call(r)) : {};
1135
+ }
1136
+ function Rr(r, s) {
1137
+ var u = s ? st(r.buffer) : r.buffer;
1138
+ return new r.constructor(u, r.byteOffset, r.length);
1139
+ }
1140
+ function Or(r, s) {
1141
+ var u = -1, p = r.length;
1142
+ for (s || (s = Array(p)); ++u < p; )
1143
+ s[u] = r[u];
1144
+ return s;
1145
+ }
1146
+ function $t(r, s, u, p) {
1147
+ u || (u = {});
1148
+ for (var N = -1, b = s.length; ++N < b; ) {
1149
+ var q = s[N], L = void 0;
1150
+ jt(u, q, L === void 0 ? r[q] : L);
1151
+ }
1152
+ return u;
1153
+ }
1154
+ function br(r, s) {
1155
+ return $t(r, Kt(r), s);
1156
+ }
1157
+ function Lr(r) {
1158
+ return vr(r, ut, Kt);
1159
+ }
1160
+ function Ue(r, s) {
1161
+ var u = r.__data__;
1162
+ return Pr(s) ? u[typeof s == "string" ? "string" : "hash"] : u.map;
1163
+ }
1164
+ function pe(r, s) {
1165
+ var u = In(r, s);
1166
+ return Fr(u) ? u : void 0;
1167
+ }
1168
+ var Kt = Vt ? et(Vt, Object) : $r, se = xr;
1169
+ (nt && se(new nt(new ArrayBuffer(1))) != ce || Se && se(new Se()) != w || rt && se(rt.resolve()) != T || at && se(new at()) != A || it && se(new it()) != D) && (se = function(r) {
1170
+ var s = Ce.call(r), u = s == M ? r.constructor : void 0, p = u ? le(u) : void 0;
1171
+ if (p)
1172
+ switch (p) {
1173
+ case $n:
1174
+ return ce;
1175
+ case Kn:
1176
+ return w;
1177
+ case Wn:
1178
+ return T;
1179
+ case Zn:
1180
+ return A;
1181
+ case qn:
1182
+ return D;
1183
+ }
1184
+ return s;
1185
+ });
1186
+ function Gr(r) {
1187
+ var s = r.length, u = r.constructor(s);
1188
+ return s && typeof r[0] == "string" && re.call(r, "index") && (u.index = r.index, u.input = r.input), u;
1189
+ }
1190
+ function Cr(r) {
1191
+ return typeof r.constructor == "function" && !Wt(r) ? wr(Bn(r)) : {};
1192
+ }
1193
+ function Ir(r, s, u, p) {
1194
+ var N = r.constructor;
1195
+ switch (s) {
1196
+ case Me:
1197
+ return st(r);
1198
+ case m:
1199
+ case f:
1200
+ return new N(+r);
1201
+ case ce:
1202
+ return Sr(r, p);
1203
+ case _:
1204
+ case F:
1205
+ case S:
1206
+ case k:
1207
+ case ee:
1208
+ case K:
1209
+ case H:
1210
+ case te:
1211
+ case ne:
1212
+ return Rr(r, p);
1213
+ case w:
1214
+ return Dr(r, p, u);
1215
+ case g:
1216
+ case C:
1217
+ return new N(r);
1218
+ case B:
1219
+ return Nr(r);
1220
+ case A:
1221
+ return kr(r, p, u);
1222
+ case ie:
1223
+ return Er(r);
1224
+ }
1225
+ }
1226
+ function Ur(r, s) {
1227
+ return s = s ?? i, !!s && (typeof r == "number" || z.test(r)) && r > -1 && r % 1 == 0 && r < s;
1228
+ }
1229
+ function Pr(r) {
1230
+ var s = typeof r;
1231
+ return s == "string" || s == "number" || s == "symbol" || s == "boolean" ? r !== "__proto__" : r === null;
1232
+ }
1233
+ function Ar(r) {
1234
+ return !!Ut && Ut in r;
1235
+ }
1236
+ function Wt(r) {
1237
+ var s = r && r.constructor, u = typeof s == "function" && s.prototype || Ge;
1238
+ return r === u;
1239
+ }
1240
+ function le(r) {
1241
+ if (r != null) {
1242
+ try {
1243
+ return Pt.call(r);
1244
+ } catch {
1245
+ }
1246
+ try {
1247
+ return r + "";
1248
+ } catch {
1249
+ }
1250
+ }
1251
+ return "";
1252
+ }
1253
+ function Br(r) {
1254
+ return ot(r, !0, !0);
1255
+ }
1256
+ function Zt(r, s) {
1257
+ return r === s || r !== r && s !== s;
1258
+ }
1259
+ function Hr(r) {
1260
+ return Vr(r) && re.call(r, "callee") && (!Vn.call(r, "callee") || Ce.call(r) == o);
1261
+ }
1262
+ var lt = Array.isArray;
1263
+ function qt(r) {
1264
+ return r != null && zr(r.length) && !Jt(r);
1265
+ }
1266
+ function Vr(r) {
1267
+ return jr(r) && qt(r);
1268
+ }
1269
+ var Yr = zn || Kr;
1270
+ function Jt(r) {
1271
+ var s = Pe(r) ? Ce.call(r) : "";
1272
+ return s == c || s == y;
1273
+ }
1274
+ function zr(r) {
1275
+ return typeof r == "number" && r > -1 && r % 1 == 0 && r <= i;
1276
+ }
1277
+ function Pe(r) {
1278
+ var s = typeof r;
1279
+ return !!r && (s == "object" || s == "function");
1280
+ }
1281
+ function jr(r) {
1282
+ return !!r && typeof r == "object";
1283
+ }
1284
+ function ut(r) {
1285
+ return qt(r) ? _r(r) : Mr(r);
1286
+ }
1287
+ function $r() {
1288
+ return [];
1289
+ }
1290
+ function Kr() {
1291
+ return !1;
1292
+ }
1293
+ e.exports = Br;
1294
+ })(je, je.exports);
1295
+ je.exports;
1296
+ const Q = (e, t) => new Date(e.getTime() - Ja(t, e));
1297
+ class E {
1298
+ constructor(t) {
1299
+ I(this, "timeframeText"), I(this, "key"), I(this, "display"), I(this, "timeframeLength"), I(this, "allowedTiers"), I(this, "defaultResponseGranularity"), I(this, "dataGranularity"), I(this, "isRelative"), I(this, "fineGrainedDefaultGranularity"), I(this, "_startCustom"), I(this, "_endCustom"), I(this, "_allowedGranularitiesOverride"), this.display = t.display, this.timeframeText = t.timeframeText, this.key = t.key, this.timeframeLength = t.timeframeLength, this.allowedTiers = t.allowedTiers, this.defaultResponseGranularity = t.defaultResponseGranularity, this.dataGranularity = t.dataGranularity, this.isRelative = t.isRelative, this._startCustom = t.startCustom, this._endCustom = t.endCustom, this._allowedGranularitiesOverride = t.allowedGranularitiesOverride, this.fineGrainedDefaultGranularity = t.fineGrainedDefaultGranularity;
1300
+ }
1301
+ // rawEnd does not consider granularity and should not be used directly in queries.
1302
+ // Use `new QueryTime(timeframe, granularity?).queryEndSeconds()` instead.
1303
+ // eslint-disable-next-line -- `tz` is required because it's used in subclasses.
1304
+ rawEnd(t) {
1305
+ return this._endCustom || /* @__PURE__ */ new Date();
1306
+ }
1307
+ // rawStart does not consider granularity and should not be used directly in queries.
1308
+ // Use `new QueryTime(timeframe, granularity?).queryStartSeconds()` instead.
1309
+ // eslint-disable-next-line -- `tz` is required because it's used in subclasses.
1310
+ rawStart(t) {
1311
+ return this._startCustom || new Date(this.rawEnd().getTime() - this.timeframeLengthMs());
1312
+ }
1313
+ timeframeLengthMs() {
1314
+ return this.timeframeLength() * 1e3;
1315
+ }
1316
+ maximumTimeframeLength() {
1317
+ return this.timeframeLength();
1318
+ }
1319
+ allowedGranularities(t) {
1320
+ if (this._allowedGranularitiesOverride && t)
1321
+ return new Set(this._allowedGranularitiesOverride);
1322
+ const n = /* @__PURE__ */ new Set(), a = this.maximumTimeframeLength() / 3600;
1323
+ return a <= 6 && n.add("minutely"), a >= 2 && a <= 7 * 24 && n.add("hourly"), a >= 2 * 24 && n.add("daily"), a >= 2 * 24 * 14 && n.add("weekly"), n;
1324
+ }
1325
+ cacheKey() {
1326
+ return this.key !== "custom" ? this.key : `${this.rawStart().toISOString()}-${this.rawEnd().toISOString()}`;
1327
+ }
1328
+ v4Query(t) {
1329
+ if (this.key === "custom")
1330
+ return {
1331
+ type: "absolute",
1332
+ start: this.rawStart(),
1333
+ end: this.rawEnd(),
1334
+ tz: t
1335
+ };
1336
+ if (_a.includes(this.key))
1337
+ return {
1338
+ type: "relative",
1339
+ // Safe assertion; we just checked that key is a member of the union.
1340
+ time_range: this.key,
1341
+ tz: t
1342
+ };
1343
+ throw new Error("Unsupported relative time value for Explore");
1344
+ }
1345
+ tzAdjustedDate(t) {
1346
+ if (!t)
1347
+ return /* @__PURE__ */ new Date();
1348
+ const n = qa(/* @__PURE__ */ new Date(), new Intl.DateTimeFormat().resolvedOptions().timeZone);
1349
+ return Za(n, t);
1350
+ }
1351
+ }
1352
+ class Qa extends E {
1353
+ rawStart(t) {
1354
+ let n = ze(this.tzAdjustedDate(t), { weekStartsOn: 1 });
1355
+ return t && (n = Q(n, t)), n;
1356
+ }
1357
+ maximumTimeframeLength() {
1358
+ return 60 * 60 * 24 * 7;
1359
+ }
1360
+ }
1361
+ class ei extends E {
1362
+ rawStart(t) {
1363
+ let n = ge(this.tzAdjustedDate(t));
1364
+ return t && (n = Q(n, t)), n;
1365
+ }
1366
+ maximumTimeframeLength() {
1367
+ return 60 * 60 * 24 * 31;
1368
+ }
1369
+ }
1370
+ class ti extends E {
1371
+ rawStart(t) {
1372
+ let n = new Date(this.tzAdjustedDate(t).getFullYear(), 0, 1);
1373
+ return t && (n = Q(n, t)), n;
1374
+ }
1375
+ maximumTimeframeLength() {
1376
+ return 60 * 60 * 24 * 366;
1377
+ }
1378
+ }
1379
+ class ni extends E {
1380
+ rawEnd(t) {
1381
+ let n = ze(this.tzAdjustedDate(t), { weekStartsOn: 1 });
1382
+ return t && (n = Q(n, t)), n;
1383
+ }
1384
+ rawStart(t) {
1385
+ const n = this.tzAdjustedDate(t);
1386
+ let a = ze(n.setDate(n.getDate() - 7), {
1387
+ weekStartsOn: 1
1388
+ });
1389
+ return t && (a = Q(a, t)), a;
1390
+ }
1391
+ }
1392
+ class ri extends E {
1393
+ rawEnd(t) {
1394
+ let n = ge(this.tzAdjustedDate(t));
1395
+ return t && (n = Q(n, t)), n;
1396
+ }
1397
+ rawStart(t) {
1398
+ let n = ge(kn(this.tzAdjustedDate(t)));
1399
+ return t && (n = Q(n, t)), n;
1400
+ }
1401
+ }
1402
+ class ai extends E {
1403
+ rawEnd(t) {
1404
+ let n = new Date(this.tzAdjustedDate(t).getFullYear(), 0, 1);
1405
+ return t && (n = Q(n, t)), n;
1406
+ }
1407
+ rawStart(t) {
1408
+ let n = new Date(this.tzAdjustedDate(t).getFullYear() - 1, 0, 1);
1409
+ return t && (n = Q(n, t)), n;
1410
+ }
1411
+ }
1412
+ h.FIFTEEN_MIN, new E({
1413
+ key: h.FIFTEEN_MIN,
1414
+ display: "Last 15 minutes",
1415
+ timeframeText: "15 minutes",
1416
+ timeframeLength: () => 60 * 15,
1417
+ defaultResponseGranularity: "minutely",
1418
+ dataGranularity: "minutely",
1419
+ isRelative: !0,
1420
+ fineGrainedDefaultGranularity: "thirtySecondly",
1421
+ allowedTiers: ["free", "trial", "plus", "enterprise"],
1422
+ allowedGranularitiesOverride: ["tenSecondly", "thirtySecondly", "minutely"]
1423
+ }), h.ONE_HOUR, new E({
1424
+ key: h.ONE_HOUR,
1425
+ display: "Last hour",
1426
+ timeframeText: "One hour",
1427
+ timeframeLength: () => 60 * 60 * 1,
1428
+ defaultResponseGranularity: "minutely",
1429
+ dataGranularity: "minutely",
1430
+ isRelative: !0,
1431
+ fineGrainedDefaultGranularity: "minutely",
1432
+ allowedTiers: ["free", "trial", "plus", "enterprise"],
1433
+ allowedGranularitiesOverride: ["tenSecondly", "thirtySecondly", "minutely", "fiveMinutely", "tenMinutely"]
1434
+ }), h.SIX_HOUR, new E({
1435
+ key: h.SIX_HOUR,
1436
+ display: "Last 6 hours",
1437
+ timeframeText: "6 hours",
1438
+ timeframeLength: () => 60 * 60 * 6,
1439
+ defaultResponseGranularity: "hourly",
1440
+ dataGranularity: "hourly",
1441
+ isRelative: !0,
1442
+ fineGrainedDefaultGranularity: "fiveMinutely",
1443
+ allowedTiers: ["free", "trial", "plus", "enterprise"],
1444
+ allowedGranularitiesOverride: ["thirtySecondly", "minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
1445
+ }), h.TWELVE_HOUR, new E({
1446
+ key: h.TWELVE_HOUR,
1447
+ display: "Last 12 hours",
1448
+ timeframeText: "12 hours",
1449
+ timeframeLength: () => 60 * 60 * 12,
1450
+ defaultResponseGranularity: "hourly",
1451
+ dataGranularity: "hourly",
1452
+ isRelative: !0,
1453
+ fineGrainedDefaultGranularity: "tenMinutely",
1454
+ allowedTiers: ["free", "trial", "plus", "enterprise"],
1455
+ allowedGranularitiesOverride: ["minutely", "fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
1456
+ }), h.ONE_DAY, new E({
1457
+ key: h.ONE_DAY,
1458
+ display: "Last 24 hours",
1459
+ timeframeText: "24 hours",
1460
+ timeframeLength: () => 60 * 60 * 24,
1461
+ defaultResponseGranularity: "hourly",
1462
+ dataGranularity: "hourly",
1463
+ isRelative: !0,
1464
+ fineGrainedDefaultGranularity: "thirtyMinutely",
1465
+ allowedTiers: ["free", "trial", "plus", "enterprise"],
1466
+ allowedGranularitiesOverride: ["fiveMinutely", "tenMinutely", "thirtyMinutely", "hourly"]
1467
+ }), h.SEVEN_DAY, new E({
1468
+ key: h.SEVEN_DAY,
1469
+ display: "Last 7 days",
1470
+ timeframeText: "7 days",
1471
+ timeframeLength: () => 60 * 60 * 24 * 7,
1472
+ defaultResponseGranularity: "daily",
1473
+ dataGranularity: "daily",
1474
+ isRelative: !0,
1475
+ fineGrainedDefaultGranularity: "twoHourly",
1476
+ allowedTiers: ["trial", "plus", "enterprise"],
1477
+ allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
1478
+ }), h.THIRTY_DAY, new E({
1479
+ key: h.THIRTY_DAY,
1480
+ display: "Last 30 days",
1481
+ timeframeText: "30 days",
1482
+ timeframeLength: () => 60 * 60 * 24 * 30,
1483
+ defaultResponseGranularity: "daily",
1484
+ dataGranularity: "daily",
1485
+ isRelative: !0,
1486
+ fineGrainedDefaultGranularity: "twelveHourly",
1487
+ allowedTiers: ["trial", "plus", "enterprise"],
1488
+ allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
1489
+ }), h.NINETY_DAY, new E({
1490
+ key: h.NINETY_DAY,
1491
+ display: "Last 90 days",
1492
+ timeframeText: "90 days",
1493
+ timeframeLength: () => 60 * 60 * 24 * 90,
1494
+ defaultResponseGranularity: "daily",
1495
+ dataGranularity: "daily",
1496
+ isRelative: !0,
1497
+ fineGrainedDefaultGranularity: "daily",
1498
+ allowedTiers: ["trial", "plus", "enterprise"],
1499
+ allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
1500
+ }), h.ONE_HUNDRED_EIGHTY_DAY, new E({
1501
+ key: h.ONE_HUNDRED_EIGHTY_DAY,
1502
+ display: "Last 180 days",
1503
+ timeframeText: "180 days",
1504
+ timeframeLength: () => 60 * 60 * 24 * 180,
1505
+ defaultResponseGranularity: "daily",
1506
+ dataGranularity: "daily",
1507
+ isRelative: !0,
1508
+ fineGrainedDefaultGranularity: "daily",
1509
+ allowedTiers: ["trial", "plus", "enterprise"],
1510
+ allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
1511
+ }), h.ONE_YEAR, new E({
1512
+ key: h.ONE_YEAR,
1513
+ display: "Last 365 days",
1514
+ timeframeText: "365 days",
1515
+ timeframeLength: () => 60 * 60 * 24 * 365,
1516
+ defaultResponseGranularity: "daily",
1517
+ dataGranularity: "daily",
1518
+ isRelative: !0,
1519
+ fineGrainedDefaultGranularity: "daily",
1520
+ allowedTiers: ["trial", "plus", "enterprise"],
1521
+ allowedGranularitiesOverride: ["hourly", "twoHourly", "twelveHourly", "daily", "weekly"]
1522
+ }), h.CURRENT_WEEK, new Qa({
1523
+ key: h.CURRENT_WEEK,
1524
+ display: "This week",
1525
+ timeframeText: "Week",
1526
+ timeframeLength: () => {
1527
+ const e = ze(/* @__PURE__ */ new Date(), { weekStartsOn: 1 });
1528
+ return (ft(pt(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
1529
+ },
1530
+ defaultResponseGranularity: "daily",
1531
+ dataGranularity: "daily",
1532
+ isRelative: !1,
1533
+ fineGrainedDefaultGranularity: "twoHourly",
1534
+ allowedTiers: ["plus", "enterprise"],
1535
+ allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
1536
+ }), h.CURRENT_MONTH, new ei({
1537
+ key: h.CURRENT_MONTH,
1538
+ display: "This month",
1539
+ timeframeText: "Month",
1540
+ timeframeLength: () => {
1541
+ const e = ge(/* @__PURE__ */ new Date());
1542
+ return (ft(pt(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
1543
+ },
1544
+ defaultResponseGranularity: "daily",
1545
+ dataGranularity: "daily",
1546
+ isRelative: !1,
1547
+ allowedTiers: ["plus", "enterprise"]
1548
+ }), h.CURRENT_YEAR, new ti({
1549
+ key: h.CURRENT_YEAR,
1550
+ display: "This year",
1551
+ timeframeText: "Year",
1552
+ timeframeLength: () => {
1553
+ const e = new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1);
1554
+ return (ft(pt(/* @__PURE__ */ new Date(), 1)).getTime() - e.getTime()) / 1e3;
1555
+ },
1556
+ defaultResponseGranularity: "daily",
1557
+ dataGranularity: "daily",
1558
+ isRelative: !1,
1559
+ allowedTiers: ["plus", "enterprise"]
1560
+ }), h.PREVIOUS_WEEK, new ni({
1561
+ key: h.PREVIOUS_WEEK,
1562
+ display: "Previous week",
1563
+ timeframeText: "Week",
1564
+ timeframeLength: () => 60 * 60 * 24 * 7,
1565
+ defaultResponseGranularity: "daily",
1566
+ dataGranularity: "daily",
1567
+ isRelative: !1,
1568
+ fineGrainedDefaultGranularity: "twoHourly",
1569
+ allowedTiers: ["plus", "enterprise"],
1570
+ allowedGranularitiesOverride: ["thirtyMinutely", "hourly", "twoHourly", "twelveHourly", "daily"]
1571
+ }), h.PREVIOUS_MONTH, new ri({
1572
+ key: h.PREVIOUS_MONTH,
1573
+ display: "Previous month",
1574
+ timeframeText: "Month",
1575
+ timeframeLength: () => {
1576
+ let e = 0;
1577
+ const t = ge(/* @__PURE__ */ new Date()), n = ge(kn(/* @__PURE__ */ new Date()));
1578
+ return t.getTimezoneOffset() !== n.getTimezoneOffset() && (e = hn(t, n)), 60 * 60 * 24 * Ea((/* @__PURE__ */ new Date()).setMonth((/* @__PURE__ */ new Date()).getMonth() - 1)) + an(e);
1579
+ },
1580
+ defaultResponseGranularity: "daily",
1581
+ dataGranularity: "daily",
1582
+ isRelative: !1,
1583
+ allowedTiers: ["plus", "enterprise"]
1584
+ }), h.PREVIOUS_YEAR, new ai({
1585
+ key: h.PREVIOUS_YEAR,
1586
+ display: "Previous year",
1587
+ timeframeText: "Year",
1588
+ timeframeLength: () => {
1589
+ const e = new Date((/* @__PURE__ */ new Date()).getFullYear(), 0, 1), t = new Date((/* @__PURE__ */ new Date()).getFullYear() - 1, 0, 1);
1590
+ let n = 0;
1591
+ return e.getTimezoneOffset() !== t.getTimezoneOffset() && (n = hn(e, t)), 60 * 60 * 24 * (365 + (t.getFullYear() % 4 === 0 ? 1 : 0)) + an(n);
1592
+ },
1593
+ defaultResponseGranularity: "daily",
1594
+ dataGranularity: "daily",
1595
+ isRelative: !1,
1596
+ allowedTiers: ["plus", "enterprise"]
1597
+ });
1598
+ function hn(e, t) {
1599
+ return Ra(e.getTimezoneOffset() - t.getTimezoneOffset());
1600
+ }
1601
+ h.FIFTEEN_MIN, h.ONE_HOUR, h.SIX_HOUR, h.TWELVE_HOUR, h.ONE_DAY, h.SEVEN_DAY, h.FIFTEEN_MIN, h.ONE_HOUR, h.SIX_HOUR, h.TWELVE_HOUR, h.ONE_DAY, h.SEVEN_DAY, h.THIRTY_DAY, h.NINETY_DAY, h.ONE_HUNDRED_EIGHTY_DAY, h.ONE_YEAR, h.CURRENT_WEEK, h.CURRENT_MONTH, h.CURRENT_YEAR, h.PREVIOUS_WEEK, h.PREVIOUS_MONTH, h.PREVIOUS_YEAR;
1602
+ new Map(Nt.map((e) => [e.code, { code: e.code, name: e.name }]));
1603
+ var On = { exports: {} };
1604
+ (function(e) {
1605
+ (function() {
1606
+ function t(d, c) {
1607
+ if (c.separator === !1 || d < 1e3)
1608
+ return d.toString();
1609
+ var y = typeof c.separator == "string" ? c.separator : ",", w = [], g = Math.round(d).toString().split("");
1610
+ return g.reverse().forEach(function(M, T) {
1611
+ T && T % 3 === 0 && w.push(y), w.push(M);
1612
+ }), w.reverse().join("");
1613
+ }
1614
+ function n(d, c, y) {
1615
+ var w = d / c, g = y.round ? "round" : "floor";
1616
+ return y.decimal === !1 ? (d = Math[g](w), d.toString()) : (y.precision ? d = w : d = w < 10 ? Math[g](w * 10) / 10 : Math[g](w), d = d.toString(), typeof y.decimal == "string" && (d = d.replace(".", y.decimal)), d);
1617
+ }
1618
+ var a = 1e3, i = 1e4, o = 1e6, l = 1e9, m = 1e12;
1619
+ function f(d, c) {
1620
+ var y;
1621
+ c = c || {};
1622
+ var w = d < 0;
1623
+ w && (d = Math.abs(d)), c.precision && (d = parseFloat(d.toPrecision(c.precision)));
1624
+ var g = c.min10k ? i : a;
1625
+ return d < g || c.precision && c.precision > Math.log10(d) ? y = t(n(d, 1, c), c) : d < o ? y = n(d, a, c) + "k" : d < l ? y = n(d, o, c) + "m" : d < m ? y = t(n(d, l, c), c) + "b" : y = t(n(d, m, c), c) + "t", w && (y = "-" + y), c.capital && (y = y.toUpperCase()), c.prefix && (y = c.prefix + y), c.suffix && (y = y + c.suffix), y;
1626
+ }
1627
+ f.addCommas = t, e.exports = f;
1628
+ })();
1629
+ })(On);
1630
+ var ii = On.exports;
1631
+ const wt = /* @__PURE__ */ Xa(ii);
1632
+ var yn;
1633
+ const oi = typeof document < "u" && ((yn = document.documentElement) == null ? void 0 : yn.lang) || "en-US", vt = new Intl.NumberFormat(oi);
1634
+ function si({
1635
+ i18n: e
1636
+ }) {
1637
+ const t = (a, i) => {
1638
+ if (isNaN(a))
1639
+ return "0 B";
1640
+ const o = i ? Math.pow(2, 50) : 1e15, l = i ? Math.pow(2, 40) : 1e12, m = i ? Math.pow(2, 30) : 1e9, f = i ? Math.pow(2, 20) : 1e6, d = i ? Math.pow(2, 10) : 1e3;
1641
+ let c;
1642
+ return a >= o ? c = e.formatNumber(
1643
+ Number.parseFloat((a / o).toPrecision(3)),
1644
+ { style: "unit", unit: "petabyte", unitDisplay: "narrow" }
1645
+ ) : a >= l ? c = e.formatNumber(
1646
+ Number.parseFloat((a / l).toPrecision(3)),
1647
+ { style: "unit", unit: "terabyte", unitDisplay: "narrow" }
1648
+ ) : a >= m ? c = e.formatNumber(
1649
+ Number.parseFloat((a / m).toPrecision(3)),
1650
+ { style: "unit", unit: "gigabyte", unitDisplay: "narrow" }
1651
+ ) : a >= f ? c = e.formatNumber(
1652
+ Number.parseFloat((a / f).toPrecision(3)),
1653
+ { style: "unit", unit: "megabyte", unitDisplay: "narrow" }
1654
+ ) : a >= d ? c = e.formatNumber(
1655
+ Number.parseFloat((a / d).toPrecision(3)),
1656
+ { style: "unit", unit: "kilobyte", unitDisplay: "narrow" }
1657
+ ) : c = e.formatNumber(
1658
+ Number.parseFloat(a.toPrecision(3)),
1659
+ { style: "unit", unit: "byte", unitDisplay: "narrow" }
1660
+ ), c.replace(/([a-zA-Z]*)$/, " $1");
1661
+ }, n = (a, i = "USD") => isNaN(a) ? i === "USD" ? "$0.00" : `${a}` : a >= 0.01 || i !== "USD" ? e.formatNumber(a, { style: "currency", currency: i }) : a < 1e-4 ? "< $0.0001" : `$${Number.parseFloat(a.toPrecision(4))}`;
1662
+ return { formatUnit: (a, i, {
1663
+ isBytes1024: o = !1,
1664
+ currency: l = "USD",
1665
+ approximate: m = !1,
1666
+ translateUnit: f = (d) => d
1667
+ } = {}) => {
1668
+ const d = f(i, a);
1669
+ switch (i) {
1670
+ case "bytes":
1671
+ return t(a, o);
1672
+ case "usd":
1673
+ return n(a, l);
1674
+ case "ms":
1675
+ case "count/minute":
1676
+ case "token count":
1677
+ case "count":
1678
+ default:
1679
+ return isNaN(a) ? `${a}` : m ? `${wt(a, { capital: !0 })} ${d}` : a >= 0.01 ? `${vt.format(Number.parseFloat(a.toFixed(2)))} ${d}` : `${Number.parseFloat(a.toPrecision(4))} ${d}`;
1680
+ }
1681
+ }, formatBytes: t, formatCost: n, formatRange: (a, i, o, {
1682
+ isBytes1024: l = !1,
1683
+ currency: m = "USD",
1684
+ approximate: f = !1,
1685
+ translateUnit: d = (c) => c
1686
+ } = {}) => {
1687
+ const c = d(o, i);
1688
+ switch (o) {
1689
+ case "bytes":
1690
+ return `${t(a, l)} - ${t(i, l)}`;
1691
+ case "usd":
1692
+ return `${n(a, m)} - ${n(i, m)}`;
1693
+ case "ms":
1694
+ case "count/minute":
1695
+ case "token count":
1696
+ case "count":
1697
+ default:
1698
+ if (isNaN(a) || isNaN(i))
1699
+ return `${a} - ${i}`;
1700
+ if (f)
1701
+ return `${wt(a, { capital: !0 })} - ${wt(i, { capital: !0 })} ${c}`;
1702
+ }
1703
+ const y = a >= 0.01 ? `${vt.format(Number.parseFloat(a.toFixed(2)))}` : `${Number.parseFloat(a.toPrecision(4))}`, w = i >= 0.01 ? `${vt.format(Number.parseFloat(i.toFixed(2)))}` : `${Number.parseFloat(i.toPrecision(4))}`;
1704
+ return `${y} - ${w} ${c}`;
1705
+ } };
1706
+ }
1707
+ const Ee = "#e0e4ea", li = "#828a9e", ui = "32px", _n = 5, xt = [
1708
+ "#00819d",
1709
+ "#00abd2",
1710
+ "#00c8f4",
1711
+ "#67e3ff",
1712
+ "#b3f1ff"
1713
+ ], ci = (e, t) => {
1714
+ const n = e.length;
1715
+ if (!n)
1716
+ return NaN;
1717
+ const a = (n - 1) * t, i = Math.floor(a), o = Math.ceil(a);
1718
+ return i === o ? e[i] : e[i] + (a - i) * (e[o] - e[i]);
1719
+ }, Ft = (e, t) => {
1720
+ if (e.length === 0)
1721
+ return [];
1722
+ const n = e.filter((m) => m > 0).map(Math.log).sort((m, f) => m - f), a = Math.min(...n), o = (Math.max(...n) - a) / t;
1723
+ return Array.from({ length: t }, (m, f) => a + f * o).map((m) => Math.exp(m)).reverse();
1724
+ };
1725
+ function di({
1726
+ countryMetrics: e,
1727
+ metric: t,
1728
+ unit: n
1729
+ }) {
1730
+ const { formatMetric: a, formatMetricRange: i } = Re.useMetricFormat({ unit: n }), o = U(() => {
1731
+ const g = { ...e.value };
1732
+ for (const M of Object.keys(g))
1733
+ Nt.find((T) => T.code === M) || delete g[M];
1734
+ return g;
1735
+ }), l = U(() => Object.values(o.value)), m = U(() => Object.keys(o.value).length), f = U(() => m.value < _n - 1 ? m.value : _n), d = U(() => {
1736
+ var g;
1737
+ return !((g = t.value) != null && g.includes("latency"));
1738
+ }), c = U(() => {
1739
+ const g = [];
1740
+ if (l.value.length > 10) {
1741
+ const M = [...l.value].sort((D, Me) => D - Me), T = ci(M, 0.75), B = l.value.filter((D) => D >= T), A = l.value.filter((D) => D < T), C = Ft(B, 3), ie = Ft(A, 2);
1742
+ return g.push(...C, ...ie), g;
1743
+ }
1744
+ return Ft(l.value, f.value);
1745
+ }), y = U(() => l.value.length === 1 ? [{
1746
+ color: w(l.value[0]),
1747
+ range: a(l.value[0], {
1748
+ approximate: d.value,
1749
+ showUnit: !n.value.includes("count")
1750
+ }).trim()
1751
+ }] : c.value.map((g, M) => {
1752
+ const T = M === 0 ? Math.max(...c.value) : c.value[M - 1], B = g, A = T;
1753
+ let C = "";
1754
+ return M === 0 ? C = `> ${a(B, {
1755
+ showUnit: !n.value.includes("count"),
1756
+ approximate: d.value
1757
+ })}`.trim() : M === c.value.length - 1 ? C = `< ${a(A, {
1758
+ showUnit: !n.value.includes("count"),
1759
+ approximate: d.value
1760
+ })}`.trim() : C = i(B, A, {
1761
+ showUnit: !n.value.includes("count"),
1762
+ approximate: d.value
1763
+ }).trim(), {
1764
+ color: w(B),
1765
+ range: C
1766
+ };
1767
+ })), w = (g) => {
1768
+ if (g === 0)
1769
+ return Ee;
1770
+ const M = c.value.findIndex((T) => g >= T);
1771
+ return M === -1 ? xt[xt.length - 1] : xt[M] ?? Ee;
1772
+ };
1773
+ return {
1774
+ getColor: w,
1775
+ legendData: y,
1776
+ scale: c
1777
+ };
1778
+ }
1779
+ function mi({
1780
+ unit: e
1781
+ }) {
1782
+ const { i18n: t } = Re.useI18n(), { formatUnit: n, formatRange: a } = si({ i18n: t });
1783
+ return {
1784
+ formatMetric: (l, {
1785
+ showUnit: m = !0,
1786
+ approximate: f = !1
1787
+ } = {}) => n(l, e.value, {
1788
+ approximate: f,
1789
+ translateUnit: (d) => m ? t.t(`metricUnits.${d}`, { plural: l > 1 ? "s" : "" }) : ""
1790
+ }),
1791
+ formatMetricRange: (l, m, {
1792
+ showUnit: f = !0,
1793
+ approximate: d = !1
1794
+ } = {}) => a(l, m, e.value, {
1795
+ approximate: d,
1796
+ translateUnit: (c) => f ? t.t(`metricUnits.${c}`, { plural: m > 1 ? "s" : "" }) : ""
1797
+ })
1798
+ };
1799
+ }
1800
+ const Re = {
1801
+ useI18n: ma,
1802
+ useLegendScale: di,
1803
+ useMetricFormat: mi
1804
+ }, fi = "FeatureCollection", pi = [
1805
+ {
1806
+ type: "Feature",
1807
+ properties: {
1808
+ scalerank: 0,
1809
+ featurecla: "Lake",
1810
+ name: "Lake\rBaikal",
1811
+ name_alt: null,
1812
+ admin: null,
1813
+ min_zoom: 1,
1814
+ min_label: 3
1815
+ },
1816
+ geometry: {
1817
+ type: "Polygon",
1818
+ coordinates: [
1819
+ [
1820
+ [
1821
+ 106.57998579307912,
1822
+ 52.79998159444554
1823
+ ],
1824
+ [
1825
+ 106.53998823448521,
1826
+ 52.93999888774037
1827
+ ],
1828
+ [
1829
+ 107.0800069519353,
1830
+ 53.18001007751998
1831
+ ],
1832
+ [
1833
+ 107.2999935242018,
1834
+ 53.37999787048953
1835
+ ],
1836
+ [
1837
+ 107.59997521365611,
1838
+ 53.51998932556822
1839
+ ],
1840
+ [
1841
+ 108.03994835818912,
1842
+ 53.859968573616456
1843
+ ],
1844
+ [
1845
+ 108.37997928266967,
1846
+ 54.25999583598784
1847
+ ],
1848
+ [
1849
+ 109.05270307824526,
1850
+ 55.027597561251326
1851
+ ],
1852
+ [
1853
+ 109.19346967980832,
1854
+ 55.53560272889659
1855
+ ],
1856
+ [
1857
+ 109.50699059452313,
1858
+ 55.73091380474372
1859
+ ],
1860
+ [
1861
+ 109.92980716353523,
1862
+ 55.7129562445223
1863
+ ],
1864
+ [
1865
+ 109.70000206913326,
1866
+ 54.980003567110515
1867
+ ],
1868
+ [
1869
+ 109.66000451053935,
1870
+ 54.71999359803395
1871
+ ],
1872
+ [
1873
+ 109.47996382043448,
1874
+ 54.33999095317566
1875
+ ],
1876
+ [
1877
+ 109.31997358605884,
1878
+ 53.81999685323869
1879
+ ],
1880
+ [
1881
+ 109.22003136600637,
1882
+ 53.619983222052994
1883
+ ],
1884
+ [
1885
+ 108.99999311730755,
1886
+ 53.78002513286093
1887
+ ],
1888
+ [
1889
+ 108.60001753136845,
1890
+ 53.4399942083804
1891
+ ],
1892
+ [
1893
+ 108.800005324338,
1894
+ 53.37999787048953
1895
+ ],
1896
+ [
1897
+ 108.76000776574409,
1898
+ 53.200008856816936
1899
+ ],
1900
+ [
1901
+ 108.45997439985749,
1902
+ 53.14001251892607
1903
+ ],
1904
+ [
1905
+ 108.17999148970011,
1906
+ 52.79998159444554
1907
+ ],
1908
+ [
1909
+ 107.79996300662566,
1910
+ 52.579995022179034
1911
+ ],
1912
+ [
1913
+ 107.31999230349876,
1914
+ 52.42000478780339
1915
+ ],
1916
+ [
1917
+ 106.64003380740229,
1918
+ 52.32001089131862
1919
+ ],
1920
+ [
1921
+ 106.1000150899522,
1922
+ 52.03997630472897
1923
+ ],
1924
+ [
1925
+ 105.740037062607,
1926
+ 51.759993394571595
1927
+ ],
1928
+ [
1929
+ 105.24001590375084,
1930
+ 51.52000804300813
1931
+ ],
1932
+ [
1933
+ 104.81998986208251,
1934
+ 51.46001170511727
1935
+ ],
1936
+ [
1937
+ 104.30002160036167,
1938
+ 51.50000926371118
1939
+ ],
1940
+ [
1941
+ 103.7600028829116,
1942
+ 51.60000316019595
1943
+ ],
1944
+ [
1945
+ 103.6200114278329,
1946
+ 51.73999461527464
1947
+ ],
1948
+ [
1949
+ 103.85999677939637,
1950
+ 51.85998729105637
1951
+ ],
1952
+ [
1953
+ 104.39996382041414,
1954
+ 51.85998729105637
1955
+ ],
1956
+ [
1957
+ 105.05997521364597,
1958
+ 52.0000045843512
1959
+ ],
1960
+ [
1961
+ 105.4800012553143,
1962
+ 52.28001333272471
1963
+ ],
1964
+ [
1965
+ 105.98002241417046,
1966
+ 52.51999868428817
1967
+ ],
1968
+ [
1969
+ 106.26000532432784,
1970
+ 52.619992580772944
1971
+ ],
1972
+ [
1973
+ 106.57998579307912,
1974
+ 52.79998159444554
1975
+ ]
1976
+ ]
1977
+ ]
1978
+ }
1979
+ },
1980
+ {
1981
+ type: "Feature",
1982
+ properties: {
1983
+ scalerank: 0,
1984
+ featurecla: "Lake",
1985
+ name: "Lake\rWinnipeg",
1986
+ name_alt: null,
1987
+ admin: null,
1988
+ min_zoom: 1,
1989
+ min_label: 3
1990
+ },
1991
+ geometry: {
1992
+ type: "Polygon",
1993
+ coordinates: [
1994
+ [
1995
+ [
1996
+ -98.95540137408423,
1997
+ 53.92978343364277
1998
+ ],
1999
+ [
2000
+ -97.95799455441879,
2001
+ 54.337097072967325
2002
+ ],
2003
+ [
2004
+ -97.8050064766187,
2005
+ 54.05938792583079
2006
+ ],
2007
+ [
2008
+ -97.64380184608419,
2009
+ 53.42521474874492
2010
+ ],
2011
+ [
2012
+ -96.39258622921722,
2013
+ 51.39730235453108
2014
+ ],
2015
+ [
2016
+ -96.23789282915149,
2017
+ 50.6910147161819
2018
+ ],
2019
+ [
2020
+ -96.72558915890605,
2021
+ 50.448910630894474
2022
+ ],
2023
+ [
2024
+ -96.92110694048235,
2025
+ 50.75405996357799
2026
+ ],
2027
+ [
2028
+ -97.23568722205913,
2029
+ 51.49778717712263
2030
+ ],
2031
+ [
2032
+ -98.20097713905517,
2033
+ 52.18456696228162
2034
+ ],
2035
+ [
2036
+ -99.23680538612963,
2037
+ 53.21628693298888
2038
+ ],
2039
+ [
2040
+ -98.95540137408423,
2041
+ 53.92978343364277
2042
+ ]
2043
+ ]
2044
+ ]
2045
+ }
2046
+ },
2047
+ {
2048
+ type: "Feature",
2049
+ properties: {
2050
+ scalerank: 0,
2051
+ featurecla: "Lake",
2052
+ name: "Great\rSlave Lake",
2053
+ name_alt: null,
2054
+ admin: null,
2055
+ min_zoom: 1,
2056
+ min_label: 3
2057
+ },
2058
+ geometry: {
2059
+ type: "Polygon",
2060
+ coordinates: [
2061
+ [
2062
+ [
2063
+ -115.00000342492967,
2064
+ 61.9723932969562
2065
+ ],
2066
+ [
2067
+ -115.80669837122196,
2068
+ 62.54171255151576
2069
+ ],
2070
+ [
2071
+ -116.0585951404287,
2072
+ 62.77880402287089
2073
+ ],
2074
+ [
2075
+ -115.84279435917783,
2076
+ 62.7503044704619
2077
+ ],
2078
+ [
2079
+ -114.45259497766185,
2080
+ 62.42820526798667
2081
+ ],
2082
+ [
2083
+ -113.35341142459757,
2084
+ 62.04448192000336
2085
+ ],
2086
+ [
2087
+ -111.77890804731261,
2088
+ 62.44360484480964
2089
+ ],
2090
+ [
2091
+ -111.04001258018727,
2092
+ 62.92000987410843
2093
+ ],
2094
+ [
2095
+ -110.20001217328286,
2096
+ 63.08000010848407
2097
+ ],
2098
+ [
2099
+ -109.40000932497237,
2100
+ 62.87817780216814
2101
+ ],
2102
+ [
2103
+ -109.09010576051801,
2104
+ 62.814099026126215
2105
+ ],
2106
+ [
2107
+ -109.11651241741916,
2108
+ 62.6928144395372
2109
+ ],
2110
+ [
2111
+ -110.10089677614705,
2112
+ 62.51561595320837
2113
+ ],
2114
+ [
2115
+ -111.27599300824811,
2116
+ 62.34911448836395
2117
+ ],
2118
+ [
2119
+ -112.63050981326654,
2120
+ 61.55991201440246
2121
+ ],
2122
+ [
2123
+ -113.64000891808828,
2124
+ 61.07999298770784
2125
+ ],
2126
+ [
2127
+ -115.3409903634076,
2128
+ 60.87659455020702
2129
+ ],
2130
+ [
2131
+ -116.43999304895887,
2132
+ 60.86000641544133
2133
+ ],
2134
+ [
2135
+ -118.06110856817108,
2136
+ 61.31196849226605
2137
+ ],
2138
+ [
2139
+ -118.3474735177165,
2140
+ 61.36137116153708
2141
+ ],
2142
+ [
2143
+ -118.3849906075604,
2144
+ 61.52110301375126
2145
+ ],
2146
+ [
2147
+ -118.17960262741634,
2148
+ 61.55629466414203
2149
+ ],
2150
+ [
2151
+ -116.8028132800801,
2152
+ 61.32589529076871
2153
+ ],
2154
+ [
2155
+ -115.67879920129957,
2156
+ 61.69179026961132
2157
+ ],
2158
+ [
2159
+ -115.00000342492967,
2160
+ 61.9723932969562
2161
+ ]
2162
+ ]
2163
+ ]
2164
+ }
2165
+ },
2166
+ {
2167
+ type: "Feature",
2168
+ properties: {
2169
+ scalerank: 0,
2170
+ featurecla: "Lake",
2171
+ name: "L. Ontario",
2172
+ name_alt: null,
2173
+ admin: "admin-0",
2174
+ min_zoom: 1,
2175
+ min_label: 3
2176
+ },
2177
+ geometry: {
2178
+ type: "Polygon",
2179
+ coordinates: [
2180
+ [
2181
+ [
2182
+ -79.05630591502026,
2183
+ 43.25410431576152
2184
+ ],
2185
+ [
2186
+ -79.36168779164908,
2187
+ 43.20237620703736
2188
+ ],
2189
+ [
2190
+ -79.76047481964547,
2191
+ 43.29720246029295
2192
+ ],
2193
+ [
2194
+ -79.46116492381094,
2195
+ 43.639197089200565
2196
+ ],
2197
+ [
2198
+ -79.1561706204243,
2199
+ 43.75743276628437
2200
+ ],
2201
+ [
2202
+ -78.45052893747877,
2203
+ 43.9031861435636
2204
+ ],
2205
+ [
2206
+ -77.60536088734519,
2207
+ 44.039327704436545
2208
+ ],
2209
+ [
2210
+ -77.16148617217414,
2211
+ 43.850140285815996
2212
+ ],
2213
+ [
2214
+ -76.88269181995948,
2215
+ 44.0694550644627
2216
+ ],
2217
+ [
2218
+ -76.56555355498425,
2219
+ 44.20802541765336
2220
+ ],
2221
+ [
2222
+ -76.35303422718391,
2223
+ 44.134670722015045
2224
+ ],
2225
+ [
2226
+ -76.23926856149336,
2227
+ 43.979150499032656
2228
+ ],
2229
+ [
2230
+ -76.17999569365458,
2231
+ 43.5900011256587
2232
+ ],
2233
+ [
2234
+ -76.9300015937227,
2235
+ 43.2599954290428
2236
+ ],
2237
+ [
2238
+ -77.74915056019732,
2239
+ 43.342832750006664
2240
+ ],
2241
+ [
2242
+ -78.53499406605984,
2243
+ 43.379988104824534
2244
+ ],
2245
+ [
2246
+ -79.05630591502026,
2247
+ 43.25410431576152
2248
+ ]
2249
+ ]
2250
+ ]
2251
+ }
2252
+ },
2253
+ {
2254
+ type: "Feature",
2255
+ properties: {
2256
+ scalerank: 0,
2257
+ featurecla: "Lake",
2258
+ name: "L. Erie",
2259
+ name_alt: null,
2260
+ admin: "admin-0",
2261
+ min_zoom: 1,
2262
+ min_label: 3
2263
+ },
2264
+ geometry: {
2265
+ type: "Polygon",
2266
+ coordinates: [
2267
+ [
2268
+ [
2269
+ -83.12001135937246,
2270
+ 42.08001577409016
2271
+ ],
2272
+ [
2273
+ -82.57123348664891,
2274
+ 42.01702220312636
2275
+ ],
2276
+ [
2277
+ -81.82918575715374,
2278
+ 42.33552989355732
2279
+ ],
2280
+ [
2281
+ -81.39226152212595,
2282
+ 42.61517690690481
2283
+ ],
2284
+ [
2285
+ -81.09496700715081,
2286
+ 42.66075552018623
2287
+ ],
2288
+ [
2289
+ -80.54515560578142,
2290
+ 42.560089830081665
2291
+ ],
2292
+ [
2293
+ -80.27917700877515,
2294
+ 42.71566172949635
2295
+ ],
2296
+ [
2297
+ -79.79135148793986,
2298
+ 42.84203644466612
2299
+ ],
2300
+ [
2301
+ -78.92000932485044,
2302
+ 42.96500051530464
2303
+ ],
2304
+ [
2305
+ -78.90057898630869,
2306
+ 42.8667119410855
2307
+ ],
2308
+ [
2309
+ -79.76220598012725,
2310
+ 42.269616604169045
2311
+ ],
2312
+ [
2313
+ -80.51644934764329,
2314
+ 41.980331936199136
2315
+ ],
2316
+ [
2317
+ -81.03119828970264,
2318
+ 41.845508124349635
2319
+ ],
2320
+ [
2321
+ -81.62351355663209,
2322
+ 41.568935858723535
2323
+ ],
2324
+ [
2325
+ -82.34744869660895,
2326
+ 41.435920722004255
2327
+ ],
2328
+ [
2329
+ -82.84610043000939,
2330
+ 41.48710622818935
2331
+ ],
2332
+ [
2333
+ -83.46283281119673,
2334
+ 41.69396698665372
2335
+ ],
2336
+ [
2337
+ -83.12001135937246,
2338
+ 42.08001577409016
2339
+ ],
2340
+ [
2341
+ -83.12001135937246,
2342
+ 42.08001577409016
2343
+ ]
2344
+ ]
2345
+ ]
2346
+ }
2347
+ },
2348
+ {
2349
+ type: "Feature",
2350
+ properties: {
2351
+ scalerank: 0,
2352
+ featurecla: "Lake",
2353
+ name: "Lake Superior",
2354
+ name_alt: null,
2355
+ admin: "admin-0",
2356
+ min_zoom: 1,
2357
+ min_label: 3
2358
+ },
2359
+ geometry: {
2360
+ type: "Polygon",
2361
+ coordinates: [
2362
+ [
2363
+ [
2364
+ -89.60000342482806,
2365
+ 48.00998973244721
2366
+ ],
2367
+ [
2368
+ -89.19405921095924,
2369
+ 48.40546946877693
2370
+ ],
2371
+ [
2372
+ -88.62641944044917,
2373
+ 48.56251414651193
2374
+ ],
2375
+ [
2376
+ -88.40423661981026,
2377
+ 48.80632355406499
2378
+ ],
2379
+ [
2380
+ -88.17895321323383,
2381
+ 48.93670319273738
2382
+ ],
2383
+ [
2384
+ -87.24903581414156,
2385
+ 48.73511343036678
2386
+ ],
2387
+ [
2388
+ -86.56000810417788,
2389
+ 48.71108388935106
2390
+ ],
2391
+ [
2392
+ -86.32103044304411,
2393
+ 48.57729360614741
2394
+ ],
2395
+ [
2396
+ -85.98652889681881,
2397
+ 48.01035146747326
2398
+ ],
2399
+ [
2400
+ -84.8642201403039,
2401
+ 47.86007640236849
2402
+ ],
2403
+ [
2404
+ -85.04061764193222,
2405
+ 47.575700995466306
2406
+ ],
2407
+ [
2408
+ -84.64500871452178,
2409
+ 47.28220469826462
2410
+ ],
2411
+ [
2412
+ -84.81528255892351,
2413
+ 46.90233124448706
2414
+ ],
2415
+ [
2416
+ -84.39559241406505,
2417
+ 46.77683502866624
2418
+ ],
2419
+ [
2420
+ -84.60490780306328,
2421
+ 46.439594631529474
2422
+ ],
2423
+ [
2424
+ -84.9100054593145,
2425
+ 46.48000560158172
2426
+ ],
2427
+ [
2428
+ -85.11999264193253,
2429
+ 46.76001434995524
2430
+ ],
2431
+ [
2432
+ -86.1026200019625,
2433
+ 46.67265534116582
2434
+ ],
2435
+ [
2436
+ -86.99000769727856,
2437
+ 46.45000743263628
2438
+ ],
2439
+ [
2440
+ -87.69427995476835,
2441
+ 46.83104360614041
2442
+ ],
2443
+ [
2444
+ -88.2612220934425,
2445
+ 46.958581041036766
2446
+ ],
2447
+ [
2448
+ -87.93992387566777,
2449
+ 47.485913194359185
2450
+ ],
2451
+ [
2452
+ -88.82260901564527,
2453
+ 47.154796454449
2454
+ ],
2455
+ [
2456
+ -89.62498897984119,
2457
+ 46.83083690041124
2458
+ ],
2459
+ [
2460
+ -90.39703487828177,
2461
+ 46.57648550067064
2462
+ ],
2463
+ [
2464
+ -91.00999487991183,
2465
+ 46.92000458433087
2466
+ ],
2467
+ [
2468
+ -92.01192338740282,
2469
+ 46.71167104754619
2470
+ ],
2471
+ [
2472
+ -92.00877112503301,
2473
+ 46.85843211525511
2474
+ ],
2475
+ [
2476
+ -91.33000118687926,
2477
+ 47.28000844989221
2478
+ ],
2479
+ [
2480
+ -90.61999284540505,
2481
+ 47.68000987404746
2482
+ ],
2483
+ [
2484
+ -89.60000342482806,
2485
+ 48.00998973244721
2486
+ ]
2487
+ ]
2488
+ ]
2489
+ }
2490
+ },
2491
+ {
2492
+ type: "Feature",
2493
+ properties: {
2494
+ scalerank: 0,
2495
+ featurecla: "Lake",
2496
+ name: "Lake\rVictoria",
2497
+ name_alt: null,
2498
+ admin: "admin-0",
2499
+ min_zoom: 1,
2500
+ min_label: 3
2501
+ },
2502
+ geometry: {
2503
+ type: "Polygon",
2504
+ coordinates: [
2505
+ [
2506
+ [
2507
+ 33.85036827976734,
2508
+ 0.128157863766091
2509
+ ],
2510
+ [
2511
+ 33.85036827976734,
2512
+ 0.128157863766091
2513
+ ],
2514
+ [
2515
+ 34.13624230320599,
2516
+ -0.319308363449238
2517
+ ],
2518
+ [
2519
+ 34.0726286150547,
2520
+ -1.059831638191795
2521
+ ],
2522
+ [
2523
+ 33.579428745261055,
2524
+ -1.506005954599821
2525
+ ],
2526
+ [
2527
+ 33.251748488098286,
2528
+ -1.957968031424549
2529
+ ],
2530
+ [
2531
+ 33.64717654799571,
2532
+ -2.30089283611342
2533
+ ],
2534
+ [
2535
+ 33.07672041192572,
2536
+ -2.547131035984201
2537
+ ],
2538
+ [
2539
+ 32.95176679864397,
2540
+ -2.43044565186915
2541
+ ],
2542
+ [
2543
+ 32.37309410983957,
2544
+ -2.489925225437091
2545
+ ],
2546
+ [
2547
+ 31.926558058405476,
2548
+ -2.714511000177573
2549
+ ],
2550
+ [
2551
+ 31.648022088352292,
2552
+ -2.32921152100937
2553
+ ],
2554
+ [
2555
+ 31.836020949030114,
2556
+ -1.629305922048232
2557
+ ],
2558
+ [
2559
+ 31.866199985488578,
2560
+ -1.027378838712494
2561
+ ],
2562
+ [
2563
+ 31.815143670384202,
2564
+ -0.64042571371094
2565
+ ],
2566
+ [
2567
+ 32.27284183119332,
2568
+ -0.056120293786734
2569
+ ],
2570
+ [
2571
+ 32.906136508930246,
2572
+ 0.0867650415003
2573
+ ],
2574
+ [
2575
+ 33.33184695815069,
2576
+ 0.324993394365833
2577
+ ],
2578
+ [
2579
+ 33.85036827976734,
2580
+ 0.128157863766091
2581
+ ]
2582
+ ]
2583
+ ]
2584
+ }
2585
+ },
2586
+ {
2587
+ type: "Feature",
2588
+ properties: {
2589
+ scalerank: 0,
2590
+ featurecla: "Lake",
2591
+ name: "Lake\rLadoga",
2592
+ name_alt: null,
2593
+ admin: null,
2594
+ min_zoom: 1,
2595
+ min_label: 3
2596
+ },
2597
+ geometry: {
2598
+ type: "Polygon",
2599
+ coordinates: [
2600
+ [
2601
+ [
2602
+ 29.836711460089845,
2603
+ 61.22608226179696
2604
+ ],
2605
+ [
2606
+ 29.836711460089845,
2607
+ 61.22608226179696
2608
+ ],
2609
+ [
2610
+ 30.85199832532828,
2611
+ 61.77504100203353
2612
+ ],
2613
+ [
2614
+ 32.52688317234018,
2615
+ 61.11751007755173
2616
+ ],
2617
+ [
2618
+ 32.94432539239392,
2619
+ 60.64260366478942
2620
+ ],
2621
+ [
2622
+ 32.81575442885176,
2623
+ 60.481889960361684
2624
+ ],
2625
+ [
2626
+ 32.599901971168606,
2627
+ 60.533514716221276
2628
+ ],
2629
+ [
2630
+ 32.583882277158125,
2631
+ 60.20893504499601
2632
+ ],
2633
+ [
2634
+ 31.699440138482714,
2635
+ 60.23565176049091
2636
+ ],
2637
+ [
2638
+ 31.50973595553924,
2639
+ 59.92034800886205
2640
+ ],
2641
+ [
2642
+ 31.106246372204282,
2643
+ 59.92768606224749
2644
+ ],
2645
+ [
2646
+ 31.10893354668346,
2647
+ 60.14645823835514
2648
+ ],
2649
+ [
2650
+ 30.533878208139498,
2651
+ 60.63009796817478
2652
+ ],
2653
+ [
2654
+ 30.502045525847706,
2655
+ 60.843211574946466
2656
+ ],
2657
+ [
2658
+ 29.836711460089845,
2659
+ 61.22608226179696
2660
+ ]
2661
+ ]
2662
+ ]
2663
+ }
2664
+ },
2665
+ {
2666
+ type: "Feature",
2667
+ properties: {
2668
+ scalerank: 0,
2669
+ featurecla: "Lake",
2670
+ name: "Lake\rBalkhash",
2671
+ name_alt: "Balqash Köli",
2672
+ admin: null,
2673
+ min_zoom: 1,
2674
+ min_label: 3
2675
+ },
2676
+ geometry: {
2677
+ type: "Polygon",
2678
+ coordinates: [
2679
+ [
2680
+ [
2681
+ 78.99076541536459,
2682
+ 46.748619696634876
2683
+ ],
2684
+ [
2685
+ 78.99076541536459,
2686
+ 46.748619696634876
2687
+ ],
2688
+ [
2689
+ 79.2451684915375,
2690
+ 46.64516347918655
2691
+ ],
2692
+ [
2693
+ 78.88989301953086,
2694
+ 46.369934800800024
2695
+ ],
2696
+ [
2697
+ 78.44506229036242,
2698
+ 46.29717438413307
2699
+ ],
2700
+ [
2701
+ 77.20606814973246,
2702
+ 46.3955663112168
2703
+ ],
2704
+ [
2705
+ 75.61128177277294,
2706
+ 46.50718740496724
2707
+ ],
2708
+ [
2709
+ 75.46333214712132,
2710
+ 46.6706141220903
2711
+ ],
2712
+ [
2713
+ 75.40566124868357,
2714
+ 46.47080719663377
2715
+ ],
2716
+ [
2717
+ 74.91122114451494,
2718
+ 46.404661363300164
2719
+ ],
2720
+ [
2721
+ 74.77138471873312,
2722
+ 46.107831936215646
2723
+ ],
2724
+ [
2725
+ 74.27802981964263,
2726
+ 46.004065660173566
2727
+ ],
2728
+ [
2729
+ 74.0999528339648,
2730
+ 44.98893382423201
2731
+ ],
2732
+ [
2733
+ 73.4367375019309,
2734
+ 45.60946442319282
2735
+ ],
2736
+ [
2737
+ 73.4399931171653,
2738
+ 45.80586070411809
2739
+ ],
2740
+ [
2741
+ 73.73713260284359,
2742
+ 46.012747300798594
2743
+ ],
2744
+ [
2745
+ 73.67925499867667,
2746
+ 46.18307282163262
2747
+ ],
2748
+ [
2749
+ 74.02068118682908,
2750
+ 46.20490611427593
2751
+ ],
2752
+ [
2753
+ 74.09432010284502,
2754
+ 46.42781240496693
2755
+ ],
2756
+ [
2757
+ 74.939384800114,
2758
+ 46.81678091082786
2759
+ ],
2760
+ [
2761
+ 76.20313195181177,
2762
+ 46.7800131292522
2763
+ ],
2764
+ [
2765
+ 77.18131513866464,
2766
+ 46.64340648048862
2767
+ ],
2768
+ [
2769
+ 77.85993004752152,
2770
+ 46.64785065366573
2771
+ ],
2772
+ [
2773
+ 78.29700931184618,
2774
+ 46.46853343361292
2775
+ ],
2776
+ [
2777
+ 78.39710656119556,
2778
+ 46.657669175801175
2779
+ ],
2780
+ [
2781
+ 78.99076541536459,
2782
+ 46.748619696634876
2783
+ ]
2784
+ ]
2785
+ ]
2786
+ }
2787
+ },
2788
+ {
2789
+ type: "Feature",
2790
+ properties: {
2791
+ scalerank: 0,
2792
+ featurecla: "Lake",
2793
+ name: "Lake\rTanganyika",
2794
+ name_alt: null,
2795
+ admin: "admin-0",
2796
+ min_zoom: 1,
2797
+ min_label: 3
2798
+ },
2799
+ geometry: {
2800
+ type: "Polygon",
2801
+ coordinates: [
2802
+ [
2803
+ [
2804
+ 30.806006300588507,
2805
+ -8.578339125201033
2806
+ ],
2807
+ [
2808
+ 30.46442508313922,
2809
+ -8.498188978716335
2810
+ ],
2811
+ [
2812
+ 30.566847771941724,
2813
+ -8.1150082332721
2814
+ ],
2815
+ [
2816
+ 30.27735639824263,
2817
+ -7.848357842646031
2818
+ ],
2819
+ [
2820
+ 30.14702843600253,
2821
+ -7.299244073112582
2822
+ ],
2823
+ [
2824
+ 29.536523064906334,
2825
+ -6.7541610652979
2826
+ ],
2827
+ [
2828
+ 29.19318484875913,
2829
+ -6.038029066597119
2830
+ ],
2831
+ [
2832
+ 29.371985304489016,
2833
+ -5.616452731960017
2834
+ ],
2835
+ [
2836
+ 29.101717563602506,
2837
+ -5.054006442895265
2838
+ ],
2839
+ [
2840
+ 29.281034783655315,
2841
+ -3.455499362810748
2842
+ ],
2843
+ [
2844
+ 29.652588331833897,
2845
+ -4.420143324403149
2846
+ ],
2847
+ [
2848
+ 29.600085076625334,
2849
+ -4.896393324405054
2850
+ ],
2851
+ [
2852
+ 29.79195966972506,
2853
+ -5.040880629093131
2854
+ ],
2855
+ [
2856
+ 29.758421665167646,
2857
+ -5.466901136907339
2858
+ ],
2859
+ [
2860
+ 29.951226434048635,
2861
+ -5.860985609565162
2862
+ ],
2863
+ [
2864
+ 29.722041456834177,
2865
+ -6.244114678577112
2866
+ ],
2867
+ [
2868
+ 30.52803877129051,
2869
+ -6.922729587433992
2870
+ ],
2871
+ [
2872
+ 30.604158156056457,
2873
+ -7.541916599155222
2874
+ ],
2875
+ [
2876
+ 31.189032016735865,
2877
+ -8.729906101113095
2878
+ ],
2879
+ [
2880
+ 31.022117140433124,
2881
+ -8.786543470904988
2882
+ ],
2883
+ [
2884
+ 30.806006300588507,
2885
+ -8.578339125201033
2886
+ ],
2887
+ [
2888
+ 30.806006300588507,
2889
+ -8.578339125201033
2890
+ ]
2891
+ ]
2892
+ ]
2893
+ }
2894
+ },
2895
+ {
2896
+ type: "Feature",
2897
+ properties: {
2898
+ scalerank: 0,
2899
+ featurecla: "Lake",
2900
+ name: "Lake Malawi",
2901
+ name_alt: "Lake Nyasa",
2902
+ admin: "admin-0",
2903
+ min_zoom: 1,
2904
+ min_label: 3
2905
+ },
2906
+ geometry: {
2907
+ type: "Polygon",
2908
+ coordinates: [
2909
+ [
2910
+ [
2911
+ 35.2602047055542,
2912
+ -14.277474460510291
2913
+ ],
2914
+ [
2915
+ 35.236226840970915,
2916
+ -14.401291192281633
2917
+ ],
2918
+ [
2919
+ 34.881209751125766,
2920
+ -14.012012627826891
2921
+ ],
2922
+ [
2923
+ 34.706543409979076,
2924
+ -14.262023207255027
2925
+ ],
2926
+ [
2927
+ 34.54675988133266,
2928
+ -14.047669366108266
2929
+ ],
2930
+ [
2931
+ 34.55110070164528,
2932
+ -13.67208505621096
2933
+ ],
2934
+ [
2935
+ 34.3209338722171,
2936
+ -13.379389743709737
2937
+ ],
2938
+ [
2939
+ 34.32997724786827,
2940
+ -12.944584242405995
2941
+ ],
2942
+ [
2943
+ 34.032527703596315,
2944
+ -12.208556817272836
2945
+ ],
2946
+ [
2947
+ 34.322690870915096,
2948
+ -11.652983493702834
2949
+ ],
2950
+ [
2951
+ 34.25990400568048,
2952
+ -10.447579034062642
2953
+ ],
2954
+ [
2955
+ 33.906592238100984,
2956
+ -9.801726983278854
2957
+ ],
2958
+ [
2959
+ 33.99557905450757,
2960
+ -9.495440769084837
2961
+ ],
2962
+ [
2963
+ 34.52422895685345,
2964
+ -10.03013681400887
2965
+ ],
2966
+ [
2967
+ 34.60789310073403,
2968
+ -11.080511976773494
2969
+ ],
2970
+ [
2971
+ 34.93702029800096,
2972
+ -11.463434340056267
2973
+ ],
2974
+ [
2975
+ 34.69388268406766,
2976
+ -12.422393894096615
2977
+ ],
2978
+ [
2979
+ 34.86756717300062,
2980
+ -13.701127211159019
2981
+ ],
2982
+ [
2983
+ 35.05597944513687,
2984
+ -13.742933444883136
2985
+ ],
2986
+ [
2987
+ 35.2602047055542,
2988
+ -14.277474460510291
2989
+ ]
2990
+ ]
2991
+ ]
2992
+ }
2993
+ },
2994
+ {
2995
+ type: "Feature",
2996
+ properties: {
2997
+ scalerank: 0,
2998
+ featurecla: "Lake",
2999
+ name: "Aral\rSea",
3000
+ name_alt: null,
3001
+ admin: null,
3002
+ min_zoom: 1,
3003
+ min_label: 3
3004
+ },
3005
+ geometry: {
3006
+ type: "Polygon",
3007
+ coordinates: [
3008
+ [
3009
+ [
3010
+ 60.05285159692946,
3011
+ 44.264636949229114
3012
+ ],
3013
+ [
3014
+ 59.77002648299603,
3015
+ 44.15999217383806
3016
+ ],
3017
+ [
3018
+ 59.06288618351405,
3019
+ 44.36928172462015
3020
+ ],
3021
+ [
3022
+ 59.34571129744745,
3023
+ 44.99720205339871
3024
+ ],
3025
+ [
3026
+ 59.35930219914022,
3027
+ 45.190006822279685
3028
+ ],
3029
+ [
3030
+ 58.96139367049281,
3031
+ 45.37500844988459
3032
+ ],
3033
+ [
3034
+ 58.92144778833119,
3035
+ 45.101846828789746
3036
+ ],
3037
+ [
3038
+ 58.92144778833119,
3039
+ 44.73556427670495
3040
+ ],
3041
+ [
3042
+ 58.497132602782614,
3043
+ 44.212340399749735
3044
+ ],
3045
+ [
3046
+ 58.285000848224456,
3047
+ 44.473952338227335
3048
+ ],
3049
+ [
3050
+ 58.285000848224456,
3051
+ 44.89255727800766
3052
+ ],
3053
+ [
3054
+ 58.689989048095896,
3055
+ 45.50001373959863
3056
+ ],
3057
+ [
3058
+ 58.78000939314833,
3059
+ 45.88673432065487
3060
+ ],
3061
+ [
3062
+ 59.20427290226462,
3063
+ 45.93905670835039
3064
+ ],
3065
+ [
3066
+ 59.535002068932585,
3067
+ 45.70501414650049
3068
+ ],
3069
+ [
3070
+ 59.55784305200561,
3071
+ 46.30533926043519
3072
+ ],
3073
+ [
3074
+ 59.77002648299603,
3075
+ 46.25299103452352
3076
+ ],
3077
+ [
3078
+ 60.12359663273702,
3079
+ 46.096023871436955
3080
+ ],
3081
+ [
3082
+ 60.12359663273702,
3083
+ 45.88673432065487
3084
+ ],
3085
+ [
3086
+ 59.94675988143425,
3087
+ 45.808211981787366
3088
+ ],
3089
+ [
3090
+ 59.84071984237133,
3091
+ 45.520477606786216
3092
+ ],
3093
+ [
3094
+ 60.12359663273702,
3095
+ 45.572774156265595
3096
+ ],
3097
+ [
3098
+ 60.23997195825834,
3099
+ 44.78403677019473
3100
+ ],
3101
+ [
3102
+ 60.05285159692946,
3103
+ 44.264636949229114
3104
+ ]
3105
+ ]
3106
+ ]
3107
+ }
3108
+ },
3109
+ {
3110
+ type: "Feature",
3111
+ properties: {
3112
+ scalerank: 1,
3113
+ featurecla: "Lake",
3114
+ name: "Vänern",
3115
+ name_alt: null,
3116
+ admin: null,
3117
+ min_zoom: 1.7,
3118
+ min_label: 3.6
3119
+ },
3120
+ geometry: {
3121
+ type: "Polygon",
3122
+ coordinates: [
3123
+ [
3124
+ [
3125
+ 13.979281447005576,
3126
+ 59.20491364199721
3127
+ ],
3128
+ [
3129
+ 13.979281447005576,
3130
+ 59.20491364199721
3131
+ ],
3132
+ [
3133
+ 13.984449090234762,
3134
+ 59.086212877022774
3135
+ ],
3136
+ [
3137
+ 13.91892337408865,
3138
+ 58.902503160225166
3139
+ ],
3140
+ [
3141
+ 13.28268313971111,
3142
+ 58.608670966213566
3143
+ ],
3144
+ [
3145
+ 12.830100945698888,
3146
+ 58.50903880475484
3147
+ ],
3148
+ [
3149
+ 12.460149366921371,
3150
+ 58.50619660097878
3151
+ ],
3152
+ [
3153
+ 12.537767368223768,
3154
+ 58.77594757754237
3155
+ ],
3156
+ [
3157
+ 12.522161085671598,
3158
+ 58.880282294339665
3159
+ ],
3160
+ [
3161
+ 12.697085808979608,
3162
+ 58.953843695707135
3163
+ ],
3164
+ [
3165
+ 13.027039829163215,
3166
+ 58.993531195707305
3167
+ ],
3168
+ [
3169
+ 13.195298292705559,
3170
+ 59.12900096296045
3171
+ ],
3172
+ [
3173
+ 13.59144982265505,
3174
+ 59.336481838612315
3175
+ ],
3176
+ [
3177
+ 13.979281447005576,
3178
+ 59.20491364199721
3179
+ ]
3180
+ ]
3181
+ ]
3182
+ }
3183
+ },
3184
+ {
3185
+ type: "Feature",
3186
+ properties: {
3187
+ scalerank: 1,
3188
+ featurecla: "Lake",
3189
+ name: "Lake Okeechobee",
3190
+ name_alt: null,
3191
+ admin: null,
3192
+ min_zoom: 1.7,
3193
+ min_label: 3.6
3194
+ },
3195
+ geometry: {
3196
+ type: "Polygon",
3197
+ coordinates: [
3198
+ [
3199
+ [
3200
+ -80.70643775096435,
3201
+ 26.788959458924822
3202
+ ],
3203
+ [
3204
+ -80.93244462759287,
3205
+ 26.823272609966622
3206
+ ],
3207
+ [
3208
+ -80.91970638703292,
3209
+ 27.068916530866048
3210
+ ],
3211
+ [
3212
+ -80.69369951040441,
3213
+ 27.034629218040394
3214
+ ],
3215
+ [
3216
+ -80.70643775096435,
3217
+ 26.788959458924822
3218
+ ],
3219
+ [
3220
+ -80.70643775096435,
3221
+ 26.788959458924822
3222
+ ]
3223
+ ]
3224
+ ]
3225
+ }
3226
+ },
3227
+ {
3228
+ type: "Feature",
3229
+ properties: {
3230
+ scalerank: 1,
3231
+ featurecla: "Lake",
3232
+ name: "Lago de\rNicaragua",
3233
+ name_alt: null,
3234
+ admin: null,
3235
+ min_zoom: 1.7,
3236
+ min_label: 3.6
3237
+ },
3238
+ geometry: {
3239
+ type: "Polygon",
3240
+ coordinates: [
3241
+ [
3242
+ [
3243
+ -84.85548682324658,
3244
+ 11.147898667846633
3245
+ ],
3246
+ [
3247
+ -85.29013729525353,
3248
+ 11.176165676310276
3249
+ ],
3250
+ [
3251
+ -85.79132117383625,
3252
+ 11.509737046754324
3253
+ ],
3254
+ [
3255
+ -85.8851655748783,
3256
+ 11.900100816287136
3257
+ ],
3258
+ [
3259
+ -85.5653401354239,
3260
+ 11.940330918826362
3261
+ ],
3262
+ [
3263
+ -85.03684526237491,
3264
+ 11.5216484643976
3265
+ ],
3266
+ [
3267
+ -84.85548682324658,
3268
+ 11.147898667846633
3269
+ ],
3270
+ [
3271
+ -84.85548682324658,
3272
+ 11.147898667846633
3273
+ ]
3274
+ ]
3275
+ ]
3276
+ }
3277
+ },
3278
+ {
3279
+ type: "Feature",
3280
+ properties: {
3281
+ scalerank: 1,
3282
+ featurecla: "Lake",
3283
+ name: "Lake Tana",
3284
+ name_alt: null,
3285
+ admin: null,
3286
+ min_zoom: 1.7,
3287
+ min_label: 3.6
3288
+ },
3289
+ geometry: {
3290
+ type: "Polygon",
3291
+ coordinates: [
3292
+ [
3293
+ [
3294
+ 37.14370730972843,
3295
+ 11.850594794151519
3296
+ ],
3297
+ [
3298
+ 37.01482628759251,
3299
+ 12.035596421756424
3300
+ ],
3301
+ [
3302
+ 37.24401126480697,
3303
+ 12.233878892460353
3304
+ ],
3305
+ [
3306
+ 37.518361443844526,
3307
+ 12.160601711470477
3308
+ ],
3309
+ [
3310
+ 37.48187788264647,
3311
+ 11.825092474815477
3312
+ ],
3313
+ [
3314
+ 37.33635704931254,
3315
+ 11.713393866416595
3316
+ ],
3317
+ [
3318
+ 37.14370730972843,
3319
+ 11.850594794151519
3320
+ ],
3321
+ [
3322
+ 37.14370730972843,
3323
+ 11.850594794151519
3324
+ ]
3325
+ ]
3326
+ ]
3327
+ }
3328
+ },
3329
+ {
3330
+ type: "Feature",
3331
+ properties: {
3332
+ scalerank: 1,
3333
+ featurecla: "Lake",
3334
+ name: "Lago Titicaca",
3335
+ name_alt: null,
3336
+ admin: null,
3337
+ min_zoom: 1.7,
3338
+ min_label: 3.6
3339
+ },
3340
+ geometry: {
3341
+ type: "Polygon",
3342
+ coordinates: [
3343
+ [
3344
+ [
3345
+ -69.40673987494259,
3346
+ -16.126198825752063
3347
+ ],
3348
+ [
3349
+ -69.7290974595793,
3350
+ -15.928794854397104
3351
+ ],
3352
+ [
3353
+ -69.98365556504908,
3354
+ -15.73717864345884
3355
+ ],
3356
+ [
3357
+ -69.8770212470148,
3358
+ -15.669844252182529
3359
+ ],
3360
+ [
3361
+ -69.8679778713637,
3362
+ -15.546079196843493
3363
+ ],
3364
+ [
3365
+ -69.88559953477524,
3366
+ -15.35425628017606
3367
+ ],
3368
+ [
3369
+ -69.59675411647981,
3370
+ -15.410480238509614
3371
+ ],
3372
+ [
3373
+ -68.98697221543571,
3374
+ -15.885903415594846
3375
+ ],
3376
+ [
3377
+ -68.9596870591856,
3378
+ -15.91329192470954
3379
+ ],
3380
+ [
3381
+ -68.74623755560401,
3382
+ -16.356003920154023
3383
+ ],
3384
+ [
3385
+ -68.90524593776611,
3386
+ -16.506640720284835
3387
+ ],
3388
+ [
3389
+ -69.00115739609983,
3390
+ -16.536406345284952
3391
+ ],
3392
+ [
3393
+ -69.09084184434238,
3394
+ -16.461992282784657
3395
+ ],
3396
+ [
3397
+ -69.18205074733753,
3398
+ -16.40116912197712
3399
+ ],
3400
+ [
3401
+ -69.25098710801488,
3402
+ -16.227536309476427
3403
+ ],
3404
+ [
3405
+ -69.40673987494259,
3406
+ -16.126198825752063
3407
+ ],
3408
+ [
3409
+ -69.40673987494259,
3410
+ -16.126198825752063
3411
+ ]
3412
+ ]
3413
+ ]
3414
+ }
3415
+ },
3416
+ {
3417
+ type: "Feature",
3418
+ properties: {
3419
+ scalerank: 1,
3420
+ featurecla: "Lake",
3421
+ name: "Lake\rWinnipegosis",
3422
+ name_alt: null,
3423
+ admin: null,
3424
+ min_zoom: 1.7,
3425
+ min_label: 3.6
3426
+ },
3427
+ geometry: {
3428
+ type: "Polygon",
3429
+ coordinates: [
3430
+ [
3431
+ [
3432
+ -99.40377193886468,
3433
+ 53.1258531764781
3434
+ ],
3435
+ [
3436
+ -99.54846594928192,
3437
+ 53.120427151087455
3438
+ ],
3439
+ [
3440
+ -99.80498775917877,
3441
+ 53.14290639913442
3442
+ ],
3443
+ [
3444
+ -100.43146114785316,
3445
+ 53.2841897650204
3446
+ ],
3447
+ [
3448
+ -100.60685095905177,
3449
+ 53.531616522833886
3450
+ ],
3451
+ [
3452
+ -100.33487789589965,
3453
+ 53.745246893928496
3454
+ ],
3455
+ [
3456
+ -100.42673275429846,
3457
+ 53.90740753846039
3458
+ ],
3459
+ [
3460
+ -100.4044860501968,
3461
+ 53.94507965760117
3462
+ ],
3463
+ [
3464
+ -100.32629960813921,
3465
+ 54.094011135466346
3466
+ ],
3467
+ [
3468
+ -100.23586585162842,
3469
+ 54.23033356385231
3470
+ ],
3471
+ [
3472
+ -99.99549292682278,
3473
+ 54.215864162810576
3474
+ ],
3475
+ [
3476
+ -100.04778947630214,
3477
+ 54.10013479269293
3478
+ ],
3479
+ [
3480
+ -100.18356930214904,
3481
+ 53.930351874397985
3482
+ ],
3483
+ [
3484
+ -99.87128862180926,
3485
+ 53.928465684619326
3486
+ ],
3487
+ [
3488
+ -99.91066606321566,
3489
+ 53.821314602262134
3490
+ ],
3491
+ [
3492
+ -100.05649695514333,
3493
+ 53.44332733826322
3494
+ ],
3495
+ [
3496
+ -99.66551306842301,
3497
+ 53.29581696228607
3498
+ ],
3499
+ [
3500
+ -99.39317827024485,
3501
+ 53.26791168884846
3502
+ ],
3503
+ [
3504
+ -99.40377193886468,
3505
+ 53.1258531764781
3506
+ ],
3507
+ [
3508
+ -99.40377193886468,
3509
+ 53.1258531764781
3510
+ ]
3511
+ ]
3512
+ ]
3513
+ }
3514
+ },
3515
+ {
3516
+ type: "Feature",
3517
+ properties: {
3518
+ scalerank: 1,
3519
+ featurecla: "Lake",
3520
+ name: "Lake\rOnega",
3521
+ name_alt: null,
3522
+ admin: null,
3523
+ min_zoom: 1.7,
3524
+ min_label: 3.6
3525
+ },
3526
+ geometry: {
3527
+ type: "Polygon",
3528
+ coordinates: [
3529
+ [
3530
+ [
3531
+ 35.71464725112901,
3532
+ 62.2802298041189
3533
+ ],
3534
+ [
3535
+ 36.0541614112866,
3536
+ 61.716310736733874
3537
+ ],
3538
+ [
3539
+ 36.391401808423325,
3540
+ 61.27605337182331
3541
+ ],
3542
+ [
3543
+ 36.10945519383887,
3544
+ 61.01508738874924
3545
+ ],
3546
+ [
3547
+ 35.35074181492962,
3548
+ 60.948579820389625
3549
+ ],
3550
+ [
3551
+ 34.866843702948586,
3552
+ 61.11637319604125
3553
+ ],
3554
+ [
3555
+ 35.207288038887384,
3556
+ 61.114435329830485
3557
+ ],
3558
+ [
3559
+ 35.57832482274313,
3560
+ 61.08634918887975
3561
+ ],
3562
+ [
3563
+ 35.16000410334027,
3564
+ 61.39428904890701
3565
+ ],
3566
+ [
3567
+ 34.85733523940689,
3568
+ 61.55179881453273
3569
+ ],
3570
+ [
3571
+ 34.48691857273877,
3572
+ 61.86697337508076
3573
+ ],
3574
+ [
3575
+ 34.265019972477376,
3576
+ 62.21914826114994
3577
+ ],
3578
+ [
3579
+ 34.289824659977455,
3580
+ 62.29774811466581
3581
+ ],
3582
+ [
3583
+ 34.66561567560399,
3584
+ 62.22979360620195
3585
+ ],
3586
+ [
3587
+ 34.62613488133297,
3588
+ 62.45223480900245
3589
+ ],
3590
+ [
3591
+ 34.8356311378443,
3592
+ 62.29676626245225
3593
+ ],
3594
+ [
3595
+ 35.080267368314026,
3596
+ 62.1411943630377
3597
+ ],
3598
+ [
3599
+ 35.21658979669991,
3600
+ 62.193284206787894
3601
+ ],
3602
+ [
3603
+ 35.463706495919666,
3604
+ 62.2560193955901
3605
+ ],
3606
+ [
3607
+ 35.13969526544963,
3608
+ 62.48776235620312
3609
+ ],
3610
+ [
3611
+ 34.614352654770414,
3612
+ 62.762448432050576
3613
+ ],
3614
+ [
3615
+ 34.99541466649072,
3616
+ 62.748469957115674
3617
+ ],
3618
+ [
3619
+ 35.23395307795005,
3620
+ 62.675347805422575
3621
+ ],
3622
+ [
3623
+ 35.71464725112901,
3624
+ 62.2802298041189
3625
+ ]
3626
+ ]
3627
+ ]
3628
+ }
3629
+ },
3630
+ {
3631
+ type: "Feature",
3632
+ properties: {
3633
+ scalerank: 1,
3634
+ featurecla: "Lake",
3635
+ name: "Great Salt Lake",
3636
+ name_alt: null,
3637
+ admin: null,
3638
+ min_zoom: 1.7,
3639
+ min_label: 3.6
3640
+ },
3641
+ geometry: {
3642
+ type: "Polygon",
3643
+ coordinates: [
3644
+ [
3645
+ [
3646
+ -112.18405127648089,
3647
+ 41.34124949804567
3648
+ ],
3649
+ [
3650
+ -112.13875688357706,
3651
+ 41.142346910154174
3652
+ ],
3653
+ [
3654
+ -112.17193315310845,
3655
+ 40.851460272783186
3656
+ ],
3657
+ [
3658
+ -112.67882727745939,
3659
+ 41.130487168943205
3660
+ ],
3661
+ [
3662
+ -112.70549231652205,
3663
+ 41.16753917089636
3664
+ ],
3665
+ [
3666
+ -112.87814327680917,
3667
+ 41.62815705013003
3668
+ ],
3669
+ [
3670
+ -112.58955624067522,
3671
+ 41.43891795507716
3672
+ ],
3673
+ [
3674
+ -112.40532975955472,
3675
+ 41.33801972102742
3676
+ ],
3677
+ [
3678
+ -112.21901038292629,
3679
+ 41.42855683040267
3680
+ ],
3681
+ [
3682
+ -112.18405127648089,
3683
+ 41.34124949804567
3684
+ ]
3685
+ ]
3686
+ ]
3687
+ }
3688
+ },
3689
+ {
3690
+ type: "Feature",
3691
+ properties: {
3692
+ scalerank: 1,
3693
+ featurecla: "Lake",
3694
+ name: "Great\rBear Lake",
3695
+ name_alt: null,
3696
+ admin: null,
3697
+ min_zoom: 1.7,
3698
+ min_label: 3.6
3699
+ },
3700
+ geometry: {
3701
+ type: "Polygon",
3702
+ coordinates: [
3703
+ [
3704
+ [
3705
+ -117.7592923653704,
3706
+ 66.22368419052789
3707
+ ],
3708
+ [
3709
+ -117.97374955938167,
3710
+ 65.85489533147692
3711
+ ],
3712
+ [
3713
+ -118.10710059291085,
3714
+ 65.76691620550001
3715
+ ],
3716
+ [
3717
+ -119.7200520432652,
3718
+ 65.73479930283061
3719
+ ],
3720
+ [
3721
+ -119.74568355368197,
3722
+ 65.65436493596833
3723
+ ],
3724
+ [
3725
+ -119.6648099371452,
3726
+ 65.52742178004333
3727
+ ],
3728
+ [
3729
+ -119.70219783590836,
3730
+ 65.36794830999061
3731
+ ],
3732
+ [
3733
+ -121.35509436098008,
3734
+ 64.87999359807459
3735
+ ],
3736
+ [
3737
+ -121.33610327211281,
3738
+ 64.99461192489797
3739
+ ],
3740
+ [
3741
+ -120.94527441468938,
3742
+ 65.37774099390991
3743
+ ],
3744
+ [
3745
+ -121.05728308168202,
3746
+ 65.4463414577774
3747
+ ],
3748
+ [
3749
+ -122.56450374412293,
3750
+ 65.0310696478799
3751
+ ],
3752
+ [
3753
+ -123.232705851873,
3754
+ 65.18041453720339
3755
+ ],
3756
+ [
3757
+ -123.17963415590926,
3758
+ 65.31937246363624
3759
+ ],
3760
+ [
3761
+ -122.32599117087979,
3762
+ 65.79378795029179
3763
+ ],
3764
+ [
3765
+ -122.35622188377054,
3766
+ 65.90184337021411
3767
+ ],
3768
+ [
3769
+ -124.95363440005697,
3770
+ 66.04925039332666
3771
+ ],
3772
+ [
3773
+ -124.89753963280414,
3774
+ 66.15115631780624
3775
+ ],
3776
+ [
3777
+ -119.48724971579031,
3778
+ 66.96929759385118
3779
+ ],
3780
+ [
3781
+ -119.35743771042887,
3782
+ 66.87519481064767
3783
+ ],
3784
+ [
3785
+ -120.1769492193738,
3786
+ 66.46527151149239
3787
+ ],
3788
+ [
3789
+ -117.60545162643749,
3790
+ 66.55934845647975
3791
+ ],
3792
+ [
3793
+ -117.61278967982294,
3794
+ 66.41997711858856
3795
+ ],
3796
+ [
3797
+ -117.7592923653704,
3798
+ 66.22368419052789
3799
+ ],
3800
+ [
3801
+ -117.7592923653704,
3802
+ 66.22368419052789
3803
+ ]
3804
+ ]
3805
+ ]
3806
+ }
3807
+ },
3808
+ {
3809
+ type: "Feature",
3810
+ properties: {
3811
+ scalerank: 1,
3812
+ featurecla: "Lake",
3813
+ name: "Lake Athabasca",
3814
+ name_alt: null,
3815
+ admin: null,
3816
+ min_zoom: 1.7,
3817
+ min_label: 3.6
3818
+ },
3819
+ geometry: {
3820
+ type: "Polygon",
3821
+ coordinates: [
3822
+ [
3823
+ [
3824
+ -109.65330135785099,
3825
+ 59.03763703066841
3826
+ ],
3827
+ [
3828
+ -111.08626298708849,
3829
+ 58.56017263450765
3830
+ ],
3831
+ [
3832
+ -111.19948605023998,
3833
+ 58.685565497463884
3834
+ ],
3835
+ [
3836
+ -111.160005255969,
3837
+ 58.75985036888345
3838
+ ],
3839
+ [
3840
+ -109.09672034385136,
3841
+ 59.55042226830068
3842
+ ],
3843
+ [
3844
+ -106.54517066122398,
3845
+ 59.31968699811746
3846
+ ],
3847
+ [
3848
+ -106.54695349813804,
3849
+ 59.292815253325685
3850
+ ],
3851
+ [
3852
+ -109.65330135785099,
3853
+ 59.03763703066841
3854
+ ],
3855
+ [
3856
+ -109.65330135785099,
3857
+ 59.03763703066841
3858
+ ]
3859
+ ]
3860
+ ]
3861
+ }
3862
+ },
3863
+ {
3864
+ type: "Feature",
3865
+ properties: {
3866
+ scalerank: 1,
3867
+ featurecla: "Lake",
3868
+ name: "Reindeer\rLake",
3869
+ name_alt: null,
3870
+ admin: null,
3871
+ min_zoom: 1.7,
3872
+ min_label: 3.6
3873
+ },
3874
+ geometry: {
3875
+ type: "Polygon",
3876
+ coordinates: [
3877
+ [
3878
+ [
3879
+ -101.89514441608819,
3880
+ 58.01403025983099
3881
+ ],
3882
+ [
3883
+ -101.89514441608819,
3884
+ 58.01403025983099
3885
+ ],
3886
+ [
3887
+ -101.54384802936804,
3888
+ 57.86809601503873
3889
+ ],
3890
+ [
3891
+ -101.97090206582807,
3892
+ 57.34867035585697
3893
+ ],
3894
+ [
3895
+ -101.93403093138781,
3896
+ 57.23066722271848
3897
+ ],
3898
+ [
3899
+ -103.20416012247362,
3900
+ 56.34539826112639
3901
+ ],
3902
+ [
3903
+ -103.2825015938281,
3904
+ 56.40994212505895
3905
+ ],
3906
+ [
3907
+ -103.1487371488406,
3908
+ 56.70411021588043
3909
+ ],
3910
+ [
3911
+ -103.07832800984292,
3912
+ 56.71080231386223
3913
+ ],
3914
+ [
3915
+ -103.01440426309787,
3916
+ 56.56510061301529
3917
+ ],
3918
+ [
3919
+ -102.57680823445028,
3920
+ 56.938281968811054
3921
+ ],
3922
+ [
3923
+ -102.81322791218561,
3924
+ 57.28714956321349
3925
+ ],
3926
+ [
3927
+ -102.81369300007623,
3928
+ 57.46434804954232
3929
+ ],
3930
+ [
3931
+ -102.12874772826359,
3932
+ 58.01914622662788
3933
+ ],
3934
+ [
3935
+ -101.89514441608819,
3936
+ 58.01403025983099
3937
+ ]
3938
+ ]
3939
+ ]
3940
+ }
3941
+ },
3942
+ {
3943
+ type: "Feature",
3944
+ properties: {
3945
+ scalerank: 0,
3946
+ featurecla: "Lake",
3947
+ name: "Lake\rHuron",
3948
+ name_alt: null,
3949
+ admin: "admin-0",
3950
+ min_zoom: 1,
3951
+ min_label: 3
3952
+ },
3953
+ geometry: {
3954
+ type: "Polygon",
3955
+ coordinates: [
3956
+ [
3957
+ [
3958
+ -80.41056433787725,
3959
+ 45.590137437515665
3960
+ ],
3961
+ [
3962
+ -79.76292945017934,
3963
+ 44.824602769543844
3964
+ ],
3965
+ [
3966
+ -80.08500281443844,
3967
+ 44.493925279308144
3968
+ ],
3969
+ [
3970
+ -80.89769222687659,
3971
+ 44.63164297136599
3972
+ ],
3973
+ [
3974
+ -81.40233842642287,
3975
+ 45.25005483660284
3976
+ ],
3977
+ [
3978
+ -81.27567949087549,
3979
+ 44.6201708033972
3980
+ ],
3981
+ [
3982
+ -81.75265296092948,
3983
+ 44.06464915625956
3984
+ ],
3985
+ [
3986
+ -81.70017554393709,
3987
+ 43.590052802090995
3988
+ ],
3989
+ [
3990
+ -81.78272864452336,
3991
+ 43.310845038417995
3992
+ ],
3993
+ [
3994
+ -82.43000179719522,
3995
+ 42.98001251888543
3996
+ ],
3997
+ [
3998
+ -82.4799987454376,
3999
+ 43.39001333268915
4000
+ ],
4001
+ [
4002
+ -82.6599877591102,
4003
+ 43.970003770516996
4004
+ ],
4005
+ [
4006
+ -83.02999101432,
4007
+ 44.06999766700177
4008
+ ],
4009
+ [
4010
+ -83.6500048489579,
4011
+ 43.62999868425261
4012
+ ],
4013
+ [
4014
+ -83.84870073112015,
4015
+ 43.63831858985161
4016
+ ],
4017
+ [
4018
+ -83.89998959016984,
4019
+ 43.88998281511303
4020
+ ],
4021
+ [
4022
+ -83.34999732128743,
4023
+ 44.29001007748441
4024
+ ],
4025
+ [
4026
+ -83.25878841829228,
4027
+ 44.74574453386644
4028
+ ],
4029
+ [
4030
+ -83.33999793163895,
4031
+ 45.200006211928155
4032
+ ],
4033
+ [
4034
+ -84.08000444205858,
4035
+ 45.58998240821879
4036
+ ],
4037
+ [
4038
+ -84.93000423861146,
4039
+ 45.789996039404485
4040
+ ],
4041
+ [
4042
+ -84.75355506055087,
4043
+ 45.924483954444085
4044
+ ],
4045
+ [
4046
+ -84.71999121777729,
4047
+ 45.91998810483469
4048
+ ],
4049
+ [
4050
+ -83.83919226757845,
4051
+ 46.010215155616294
4052
+ ],
4053
+ [
4054
+ -84.33670711946846,
4055
+ 46.40876963966737
4056
+ ],
4057
+ [
4058
+ -84.14870825879063,
4059
+ 46.55576325132161
4060
+ ],
4061
+ [
4062
+ -83.95257036002683,
4063
+ 46.334278062518635
4064
+ ],
4065
+ [
4066
+ -83.20251278352643,
4067
+ 46.21015127215355
4068
+ ],
4069
+ [
4070
+ -82.44199072948692,
4071
+ 46.19963511818216
4072
+ ],
4073
+ [
4074
+ -81.63136837434045,
4075
+ 46.09754832618957
4076
+ ],
4077
+ [
4078
+ -80.73679765493583,
4079
+ 45.90381338152733
4080
+ ],
4081
+ [
4082
+ -80.41056433787725,
4083
+ 45.590137437515665
4084
+ ]
4085
+ ]
4086
+ ]
4087
+ }
4088
+ },
4089
+ {
4090
+ type: "Feature",
4091
+ properties: {
4092
+ scalerank: 0,
4093
+ featurecla: "Lake",
4094
+ name: "Lake\rMichigan",
4095
+ name_alt: null,
4096
+ admin: "admin-0",
4097
+ min_zoom: 1,
4098
+ min_label: 3
4099
+ },
4100
+ geometry: {
4101
+ type: "Polygon",
4102
+ coordinates: [
4103
+ [
4104
+ [
4105
+ -85.53999284538475,
4106
+ 46.03000722918408
4107
+ ],
4108
+ [
4109
+ -84.75355506055087,
4110
+ 45.924483954444085
4111
+ ],
4112
+ [
4113
+ -84.93000423861146,
4114
+ 45.789996039404485
4115
+ ],
4116
+ [
4117
+ -85.06999569369015,
4118
+ 45.40999339454619
4119
+ ],
4120
+ [
4121
+ -85.29044735384727,
4122
+ 45.30824249936349
4123
+ ],
4124
+ [
4125
+ -85.46710323763705,
4126
+ 44.81457754167923
4127
+ ],
4128
+ [
4129
+ -85.55999162468169,
4130
+ 45.150009263685774
4131
+ ],
4132
+ [
4133
+ -85.95983801954006,
4134
+ 44.91059235287753
4135
+ ],
4136
+ [
4137
+ -86.20935767286137,
4138
+ 44.574798895844935
4139
+ ],
4140
+ [
4141
+ -86.47027197950304,
4142
+ 44.08423452409818
4143
+ ],
4144
+ [
4145
+ -86.52001054558397,
4146
+ 43.65999685319804
4147
+ ],
4148
+ [
4149
+ -86.18842871778315,
4150
+ 43.04140412044818
4151
+ ],
4152
+ [
4153
+ -86.21604977084317,
4154
+ 42.38170278581012
4155
+ ],
4156
+ [
4157
+ -86.62191647006355,
4158
+ 41.8944198675139
4159
+ ],
4160
+ [
4161
+ -86.8244364082154,
4162
+ 41.75618541113313
4163
+ ],
4164
+ [
4165
+ -87.09444576694042,
4166
+ 41.64616628678374
4167
+ ],
4168
+ [
4169
+ -87.4342183092595,
4170
+ 41.640714423176945
4171
+ ],
4172
+ [
4173
+ -87.52617652052288,
4174
+ 41.70851390234388
4175
+ ],
4176
+ [
4177
+ -87.79569495314115,
4178
+ 42.23411489518453
4179
+ ],
4180
+ [
4181
+ -87.80344641798493,
4182
+ 42.49399567318035
4183
+ ],
4184
+ [
4185
+ -87.77672970249003,
4186
+ 42.740853990238634
4187
+ ],
4188
+ [
4189
+ -87.90214840366241,
4190
+ 43.23051402442029
4191
+ ],
4192
+ [
4193
+ -87.71221167677363,
4194
+ 43.79650014909703
4195
+ ],
4196
+ [
4197
+ -87.486359829442,
4198
+ 44.49335683855294
4199
+ ],
4200
+ [
4201
+ -86.9674767727993,
4202
+ 45.26287059181122
4203
+ ],
4204
+ [
4205
+ -87.11806189649782,
4206
+ 45.25933075619923
4207
+ ],
4208
+ [
4209
+ -87.85282324903983,
4210
+ 44.61505483660031
4211
+ ],
4212
+ [
4213
+ -87.98831885450912,
4214
+ 44.73331635190026
4215
+ ],
4216
+ [
4217
+ -87.5964306302237,
4218
+ 45.093707790703775
4219
+ ],
4220
+ [
4221
+ -87.00000708692704,
4222
+ 45.73999909116209
4223
+ ],
4224
+ [
4225
+ -86.31999691439827,
4226
+ 45.829993597998396
4227
+ ],
4228
+ [
4229
+ -85.53999284538475,
4230
+ 46.03000722918408
4231
+ ]
4232
+ ]
4233
+ ]
4234
+ }
4235
+ }
4236
+ ], hi = {
4237
+ type: fi,
4238
+ features: pi
4239
+ };
4240
+ function yi(e) {
4241
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4242
+ }
4243
+ var _i = wi, $e, ve, P, Ke, qe, gi = [
4244
+ "Point",
4245
+ "MultiPoint",
4246
+ "LineString",
4247
+ "MultiLineString",
4248
+ "Polygon",
4249
+ "MultiPolygon",
4250
+ "GeometryCollection"
4251
+ ];
4252
+ function wi(e) {
4253
+ Ke = 2, qe = Math.pow(10, 6), P = null, $e = [], ve = [];
4254
+ var t = e.readFields(vi, {});
4255
+ return $e = null, t;
4256
+ }
4257
+ function vi(e, t, n) {
4258
+ e === 1 ? $e.push(n.readString()) : e === 2 ? Ke = n.readVarint() : e === 3 ? qe = Math.pow(10, n.readVarint()) : e === 4 ? xi(n, t) : e === 5 ? bn(n, t) : e === 6 && Et(n, t);
4259
+ }
4260
+ function xi(e, t) {
4261
+ return t.type = "FeatureCollection", t.features = [], e.readMessage(Fi, t);
4262
+ }
4263
+ function bn(e, t) {
4264
+ t.type = "Feature";
4265
+ var n = e.readMessage(Mi, t);
4266
+ return "geometry" in n || (n.geometry = null), n;
4267
+ }
4268
+ function Et(e, t) {
4269
+ return t.type = "Point", e.readMessage(Ti, t);
4270
+ }
4271
+ function Fi(e, t, n) {
4272
+ e === 1 ? t.features.push(bn(n, {})) : e === 13 ? ve.push(Rt(n)) : e === 15 && We(n, t);
4273
+ }
4274
+ function Mi(e, t, n) {
4275
+ e === 1 ? t.geometry = Et(n, {}) : e === 11 ? t.id = n.readString() : e === 12 ? t.id = n.readSVarint() : e === 13 ? ve.push(Rt(n)) : e === 14 ? t.properties = We(n, {}) : e === 15 && We(n, t);
4276
+ }
4277
+ function Ti(e, t, n) {
4278
+ e === 1 ? t.type = gi[n.readVarint()] : e === 2 ? P = n.readPackedVarint() : e === 3 ? Si(t, n, t.type) : e === 4 ? (t.geometries = t.geometries || [], t.geometries.push(Et(n, {}))) : e === 13 ? ve.push(Rt(n)) : e === 15 && We(n, t);
4279
+ }
4280
+ function Si(e, t, n) {
4281
+ n === "Point" ? e.coordinates = Di(t) : n === "MultiPoint" || n === "LineString" ? e.coordinates = gn(t) : n === "MultiLineString" ? e.coordinates = wn(t) : n === "Polygon" ? e.coordinates = wn(t, !0) : n === "MultiPolygon" && (e.coordinates = Ni(t));
4282
+ }
4283
+ function Rt(e) {
4284
+ for (var t = e.readVarint() + e.pos, n = null; e.pos < t; ) {
4285
+ var a = e.readVarint(), i = a >> 3;
4286
+ i === 1 ? n = e.readString() : i === 2 ? n = e.readDouble() : i === 3 ? n = e.readVarint() : i === 4 ? n = -e.readVarint() : i === 5 ? n = e.readBoolean() : i === 6 && (n = JSON.parse(e.readString()));
4287
+ }
4288
+ return n;
4289
+ }
4290
+ function We(e, t) {
4291
+ for (var n = e.readVarint() + e.pos; e.pos < n; ) t[$e[e.readVarint()]] = ve[e.readVarint()];
4292
+ return ve = [], t;
4293
+ }
4294
+ function Di(e) {
4295
+ for (var t = e.readVarint() + e.pos, n = []; e.pos < t; ) n.push(e.readSVarint() / qe);
4296
+ return n;
4297
+ }
4298
+ function be(e, t, n, a) {
4299
+ var i = 0, o = [], l, m, f = [];
4300
+ for (m = 0; m < Ke; m++) f[m] = 0;
4301
+ for (; n ? i < n : e.pos < t; ) {
4302
+ for (l = [], m = 0; m < Ke; m++)
4303
+ f[m] += e.readSVarint(), l[m] = f[m] / qe;
4304
+ o.push(l), i++;
4305
+ }
4306
+ return a && o.push(o[0]), o;
4307
+ }
4308
+ function gn(e) {
4309
+ return be(e, e.readVarint() + e.pos);
4310
+ }
4311
+ function wn(e, t) {
4312
+ var n = e.readVarint() + e.pos;
4313
+ if (!P) return [be(e, n, null, t)];
4314
+ for (var a = [], i = 0; i < P.length; i++) a.push(be(e, n, P[i], t));
4315
+ return P = null, a;
4316
+ }
4317
+ function Ni(e) {
4318
+ var t = e.readVarint() + e.pos;
4319
+ if (!P) return [[be(e, t, null, !0)]];
4320
+ for (var n = [], a = 1, i = 0; i < P[0]; i++) {
4321
+ for (var o = [], l = 0; l < P[a]; l++) o.push(be(e, t, P[a + 1 + l], !0));
4322
+ a += P[a] + 1, n.push(o);
4323
+ }
4324
+ return P = null, n;
4325
+ }
4326
+ var ki = _i, Ot = {};
4327
+ /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
4328
+ Ot.read = function(e, t, n, a, i) {
4329
+ var o, l, m = i * 8 - a - 1, f = (1 << m) - 1, d = f >> 1, c = -7, y = n ? i - 1 : 0, w = n ? -1 : 1, g = e[t + y];
4330
+ for (y += w, o = g & (1 << -c) - 1, g >>= -c, c += m; c > 0; o = o * 256 + e[t + y], y += w, c -= 8)
4331
+ ;
4332
+ for (l = o & (1 << -c) - 1, o >>= -c, c += a; c > 0; l = l * 256 + e[t + y], y += w, c -= 8)
4333
+ ;
4334
+ if (o === 0)
4335
+ o = 1 - d;
4336
+ else {
4337
+ if (o === f)
4338
+ return l ? NaN : (g ? -1 : 1) * (1 / 0);
4339
+ l = l + Math.pow(2, a), o = o - d;
4340
+ }
4341
+ return (g ? -1 : 1) * l * Math.pow(2, o - a);
4342
+ };
4343
+ Ot.write = function(e, t, n, a, i, o) {
4344
+ var l, m, f, d = o * 8 - i - 1, c = (1 << d) - 1, y = c >> 1, w = i === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, g = a ? 0 : o - 1, M = a ? 1 : -1, T = t < 0 || t === 0 && 1 / t < 0 ? 1 : 0;
4345
+ for (t = Math.abs(t), isNaN(t) || t === 1 / 0 ? (m = isNaN(t) ? 1 : 0, l = c) : (l = Math.floor(Math.log(t) / Math.LN2), t * (f = Math.pow(2, -l)) < 1 && (l--, f *= 2), l + y >= 1 ? t += w / f : t += w * Math.pow(2, 1 - y), t * f >= 2 && (l++, f /= 2), l + y >= c ? (m = 0, l = c) : l + y >= 1 ? (m = (t * f - 1) * Math.pow(2, i), l = l + y) : (m = t * Math.pow(2, y - 1) * Math.pow(2, i), l = 0)); i >= 8; e[n + g] = m & 255, g += M, m /= 256, i -= 8)
4346
+ ;
4347
+ for (l = l << i | m, d += i; d > 0; e[n + g] = l & 255, g += M, l /= 256, d -= 8)
4348
+ ;
4349
+ e[n + g - M] |= T * 128;
4350
+ };
4351
+ var Ei = x, Ve = Ot;
4352
+ function x(e) {
4353
+ this.buf = ArrayBuffer.isView && ArrayBuffer.isView(e) ? e : new Uint8Array(e || 0), this.pos = 0, this.type = 0, this.length = this.buf.length;
4354
+ }
4355
+ x.Varint = 0;
4356
+ x.Fixed64 = 1;
4357
+ x.Bytes = 2;
4358
+ x.Fixed32 = 5;
4359
+ var St = 65536 * 65536, vn = 1 / St, Ri = 12, Ln = typeof TextDecoder > "u" ? null : new TextDecoder("utf-8");
4360
+ x.prototype = {
4361
+ destroy: function() {
4362
+ this.buf = null;
4363
+ },
4364
+ // === READING =================================================================
4365
+ readFields: function(e, t, n) {
4366
+ for (n = n || this.length; this.pos < n; ) {
4367
+ var a = this.readVarint(), i = a >> 3, o = this.pos;
4368
+ this.type = a & 7, e(i, t, this), this.pos === o && this.skip(a);
4369
+ }
4370
+ return t;
4371
+ },
4372
+ readMessage: function(e, t) {
4373
+ return this.readFields(e, t, this.readVarint() + this.pos);
4374
+ },
4375
+ readFixed32: function() {
4376
+ var e = Ye(this.buf, this.pos);
4377
+ return this.pos += 4, e;
4378
+ },
4379
+ readSFixed32: function() {
4380
+ var e = Fn(this.buf, this.pos);
4381
+ return this.pos += 4, e;
4382
+ },
4383
+ // 64-bit int handling is based on github.com/dpw/node-buffer-more-ints (MIT-licensed)
4384
+ readFixed64: function() {
4385
+ var e = Ye(this.buf, this.pos) + Ye(this.buf, this.pos + 4) * St;
4386
+ return this.pos += 8, e;
4387
+ },
4388
+ readSFixed64: function() {
4389
+ var e = Ye(this.buf, this.pos) + Fn(this.buf, this.pos + 4) * St;
4390
+ return this.pos += 8, e;
4391
+ },
4392
+ readFloat: function() {
4393
+ var e = Ve.read(this.buf, this.pos, !0, 23, 4);
4394
+ return this.pos += 4, e;
4395
+ },
4396
+ readDouble: function() {
4397
+ var e = Ve.read(this.buf, this.pos, !0, 52, 8);
4398
+ return this.pos += 8, e;
4399
+ },
4400
+ readVarint: function(e) {
4401
+ var t = this.buf, n, a;
4402
+ return a = t[this.pos++], n = a & 127, a < 128 || (a = t[this.pos++], n |= (a & 127) << 7, a < 128) || (a = t[this.pos++], n |= (a & 127) << 14, a < 128) || (a = t[this.pos++], n |= (a & 127) << 21, a < 128) ? n : (a = t[this.pos], n |= (a & 15) << 28, Oi(n, e, this));
4403
+ },
4404
+ readVarint64: function() {
4405
+ return this.readVarint(!0);
4406
+ },
4407
+ readSVarint: function() {
4408
+ var e = this.readVarint();
4409
+ return e % 2 === 1 ? (e + 1) / -2 : e / 2;
4410
+ },
4411
+ readBoolean: function() {
4412
+ return !!this.readVarint();
4413
+ },
4414
+ readString: function() {
4415
+ var e = this.readVarint() + this.pos, t = this.pos;
4416
+ return this.pos = e, e - t >= Ri && Ln ? ji(this.buf, t, e) : zi(this.buf, t, e);
4417
+ },
4418
+ readBytes: function() {
4419
+ var e = this.readVarint() + this.pos, t = this.buf.subarray(this.pos, e);
4420
+ return this.pos = e, t;
4421
+ },
4422
+ // verbose for performance reasons; doesn't affect gzipped size
4423
+ readPackedVarint: function(e, t) {
4424
+ if (this.type !== x.Bytes) return e.push(this.readVarint(t));
4425
+ var n = J(this);
4426
+ for (e = e || []; this.pos < n; ) e.push(this.readVarint(t));
4427
+ return e;
4428
+ },
4429
+ readPackedSVarint: function(e) {
4430
+ if (this.type !== x.Bytes) return e.push(this.readSVarint());
4431
+ var t = J(this);
4432
+ for (e = e || []; this.pos < t; ) e.push(this.readSVarint());
4433
+ return e;
4434
+ },
4435
+ readPackedBoolean: function(e) {
4436
+ if (this.type !== x.Bytes) return e.push(this.readBoolean());
4437
+ var t = J(this);
4438
+ for (e = e || []; this.pos < t; ) e.push(this.readBoolean());
4439
+ return e;
4440
+ },
4441
+ readPackedFloat: function(e) {
4442
+ if (this.type !== x.Bytes) return e.push(this.readFloat());
4443
+ var t = J(this);
4444
+ for (e = e || []; this.pos < t; ) e.push(this.readFloat());
4445
+ return e;
4446
+ },
4447
+ readPackedDouble: function(e) {
4448
+ if (this.type !== x.Bytes) return e.push(this.readDouble());
4449
+ var t = J(this);
4450
+ for (e = e || []; this.pos < t; ) e.push(this.readDouble());
4451
+ return e;
4452
+ },
4453
+ readPackedFixed32: function(e) {
4454
+ if (this.type !== x.Bytes) return e.push(this.readFixed32());
4455
+ var t = J(this);
4456
+ for (e = e || []; this.pos < t; ) e.push(this.readFixed32());
4457
+ return e;
4458
+ },
4459
+ readPackedSFixed32: function(e) {
4460
+ if (this.type !== x.Bytes) return e.push(this.readSFixed32());
4461
+ var t = J(this);
4462
+ for (e = e || []; this.pos < t; ) e.push(this.readSFixed32());
4463
+ return e;
4464
+ },
4465
+ readPackedFixed64: function(e) {
4466
+ if (this.type !== x.Bytes) return e.push(this.readFixed64());
4467
+ var t = J(this);
4468
+ for (e = e || []; this.pos < t; ) e.push(this.readFixed64());
4469
+ return e;
4470
+ },
4471
+ readPackedSFixed64: function(e) {
4472
+ if (this.type !== x.Bytes) return e.push(this.readSFixed64());
4473
+ var t = J(this);
4474
+ for (e = e || []; this.pos < t; ) e.push(this.readSFixed64());
4475
+ return e;
4476
+ },
4477
+ skip: function(e) {
4478
+ var t = e & 7;
4479
+ if (t === x.Varint) for (; this.buf[this.pos++] > 127; )
4480
+ ;
4481
+ else if (t === x.Bytes) this.pos = this.readVarint() + this.pos;
4482
+ else if (t === x.Fixed32) this.pos += 4;
4483
+ else if (t === x.Fixed64) this.pos += 8;
4484
+ else throw new Error("Unimplemented type: " + t);
4485
+ },
4486
+ // === WRITING =================================================================
4487
+ writeTag: function(e, t) {
4488
+ this.writeVarint(e << 3 | t);
4489
+ },
4490
+ realloc: function(e) {
4491
+ for (var t = this.length || 16; t < this.pos + e; ) t *= 2;
4492
+ if (t !== this.length) {
4493
+ var n = new Uint8Array(t);
4494
+ n.set(this.buf), this.buf = n, this.length = t;
4495
+ }
4496
+ },
4497
+ finish: function() {
4498
+ return this.length = this.pos, this.pos = 0, this.buf.subarray(0, this.length);
4499
+ },
4500
+ writeFixed32: function(e) {
4501
+ this.realloc(4), _e(this.buf, e, this.pos), this.pos += 4;
4502
+ },
4503
+ writeSFixed32: function(e) {
4504
+ this.realloc(4), _e(this.buf, e, this.pos), this.pos += 4;
4505
+ },
4506
+ writeFixed64: function(e) {
4507
+ this.realloc(8), _e(this.buf, e & -1, this.pos), _e(this.buf, Math.floor(e * vn), this.pos + 4), this.pos += 8;
4508
+ },
4509
+ writeSFixed64: function(e) {
4510
+ this.realloc(8), _e(this.buf, e & -1, this.pos), _e(this.buf, Math.floor(e * vn), this.pos + 4), this.pos += 8;
4511
+ },
4512
+ writeVarint: function(e) {
4513
+ if (e = +e || 0, e > 268435455 || e < 0) {
4514
+ bi(e, this);
4515
+ return;
4516
+ }
4517
+ this.realloc(4), this.buf[this.pos++] = e & 127 | (e > 127 ? 128 : 0), !(e <= 127) && (this.buf[this.pos++] = (e >>>= 7) & 127 | (e > 127 ? 128 : 0), !(e <= 127) && (this.buf[this.pos++] = (e >>>= 7) & 127 | (e > 127 ? 128 : 0), !(e <= 127) && (this.buf[this.pos++] = e >>> 7 & 127)));
4518
+ },
4519
+ writeSVarint: function(e) {
4520
+ this.writeVarint(e < 0 ? -e * 2 - 1 : e * 2);
4521
+ },
4522
+ writeBoolean: function(e) {
4523
+ this.writeVarint(!!e);
4524
+ },
4525
+ writeString: function(e) {
4526
+ e = String(e), this.realloc(e.length * 4), this.pos++;
4527
+ var t = this.pos;
4528
+ this.pos = $i(this.buf, e, this.pos);
4529
+ var n = this.pos - t;
4530
+ n >= 128 && xn(t, n, this), this.pos = t - 1, this.writeVarint(n), this.pos += n;
4531
+ },
4532
+ writeFloat: function(e) {
4533
+ this.realloc(4), Ve.write(this.buf, e, this.pos, !0, 23, 4), this.pos += 4;
4534
+ },
4535
+ writeDouble: function(e) {
4536
+ this.realloc(8), Ve.write(this.buf, e, this.pos, !0, 52, 8), this.pos += 8;
4537
+ },
4538
+ writeBytes: function(e) {
4539
+ var t = e.length;
4540
+ this.writeVarint(t), this.realloc(t);
4541
+ for (var n = 0; n < t; n++) this.buf[this.pos++] = e[n];
4542
+ },
4543
+ writeRawMessage: function(e, t) {
4544
+ this.pos++;
4545
+ var n = this.pos;
4546
+ e(t, this);
4547
+ var a = this.pos - n;
4548
+ a >= 128 && xn(n, a, this), this.pos = n - 1, this.writeVarint(a), this.pos += a;
4549
+ },
4550
+ writeMessage: function(e, t, n) {
4551
+ this.writeTag(e, x.Bytes), this.writeRawMessage(t, n);
4552
+ },
4553
+ writePackedVarint: function(e, t) {
4554
+ t.length && this.writeMessage(e, Ci, t);
4555
+ },
4556
+ writePackedSVarint: function(e, t) {
4557
+ t.length && this.writeMessage(e, Ii, t);
4558
+ },
4559
+ writePackedBoolean: function(e, t) {
4560
+ t.length && this.writeMessage(e, Ai, t);
4561
+ },
4562
+ writePackedFloat: function(e, t) {
4563
+ t.length && this.writeMessage(e, Ui, t);
4564
+ },
4565
+ writePackedDouble: function(e, t) {
4566
+ t.length && this.writeMessage(e, Pi, t);
4567
+ },
4568
+ writePackedFixed32: function(e, t) {
4569
+ t.length && this.writeMessage(e, Bi, t);
4570
+ },
4571
+ writePackedSFixed32: function(e, t) {
4572
+ t.length && this.writeMessage(e, Hi, t);
4573
+ },
4574
+ writePackedFixed64: function(e, t) {
4575
+ t.length && this.writeMessage(e, Vi, t);
4576
+ },
4577
+ writePackedSFixed64: function(e, t) {
4578
+ t.length && this.writeMessage(e, Yi, t);
4579
+ },
4580
+ writeBytesField: function(e, t) {
4581
+ this.writeTag(e, x.Bytes), this.writeBytes(t);
4582
+ },
4583
+ writeFixed32Field: function(e, t) {
4584
+ this.writeTag(e, x.Fixed32), this.writeFixed32(t);
4585
+ },
4586
+ writeSFixed32Field: function(e, t) {
4587
+ this.writeTag(e, x.Fixed32), this.writeSFixed32(t);
4588
+ },
4589
+ writeFixed64Field: function(e, t) {
4590
+ this.writeTag(e, x.Fixed64), this.writeFixed64(t);
4591
+ },
4592
+ writeSFixed64Field: function(e, t) {
4593
+ this.writeTag(e, x.Fixed64), this.writeSFixed64(t);
4594
+ },
4595
+ writeVarintField: function(e, t) {
4596
+ this.writeTag(e, x.Varint), this.writeVarint(t);
4597
+ },
4598
+ writeSVarintField: function(e, t) {
4599
+ this.writeTag(e, x.Varint), this.writeSVarint(t);
4600
+ },
4601
+ writeStringField: function(e, t) {
4602
+ this.writeTag(e, x.Bytes), this.writeString(t);
4603
+ },
4604
+ writeFloatField: function(e, t) {
4605
+ this.writeTag(e, x.Fixed32), this.writeFloat(t);
4606
+ },
4607
+ writeDoubleField: function(e, t) {
4608
+ this.writeTag(e, x.Fixed64), this.writeDouble(t);
4609
+ },
4610
+ writeBooleanField: function(e, t) {
4611
+ this.writeVarintField(e, !!t);
4612
+ }
4613
+ };
4614
+ function Oi(e, t, n) {
4615
+ var a = n.buf, i, o;
4616
+ if (o = a[n.pos++], i = (o & 112) >> 4, o < 128 || (o = a[n.pos++], i |= (o & 127) << 3, o < 128) || (o = a[n.pos++], i |= (o & 127) << 10, o < 128) || (o = a[n.pos++], i |= (o & 127) << 17, o < 128) || (o = a[n.pos++], i |= (o & 127) << 24, o < 128) || (o = a[n.pos++], i |= (o & 1) << 31, o < 128)) return ye(e, i, t);
4617
+ throw new Error("Expected varint not more than 10 bytes");
4618
+ }
4619
+ function J(e) {
4620
+ return e.type === x.Bytes ? e.readVarint() + e.pos : e.pos + 1;
4621
+ }
4622
+ function ye(e, t, n) {
4623
+ return n ? t * 4294967296 + (e >>> 0) : (t >>> 0) * 4294967296 + (e >>> 0);
4624
+ }
4625
+ function bi(e, t) {
4626
+ var n, a;
4627
+ if (e >= 0 ? (n = e % 4294967296 | 0, a = e / 4294967296 | 0) : (n = ~(-e % 4294967296), a = ~(-e / 4294967296), n ^ 4294967295 ? n = n + 1 | 0 : (n = 0, a = a + 1 | 0)), e >= 18446744073709552e3 || e < -18446744073709552e3)
4628
+ throw new Error("Given varint doesn't fit into 10 bytes");
4629
+ t.realloc(10), Li(n, a, t), Gi(a, t);
4630
+ }
4631
+ function Li(e, t, n) {
4632
+ n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos++] = e & 127 | 128, e >>>= 7, n.buf[n.pos] = e & 127;
4633
+ }
4634
+ function Gi(e, t) {
4635
+ var n = (e & 7) << 4;
4636
+ t.buf[t.pos++] |= n | ((e >>>= 3) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127 | ((e >>>= 7) ? 128 : 0), e && (t.buf[t.pos++] = e & 127)))));
4637
+ }
4638
+ function xn(e, t, n) {
4639
+ var a = t <= 16383 ? 1 : t <= 2097151 ? 2 : t <= 268435455 ? 3 : Math.floor(Math.log(t) / (Math.LN2 * 7));
4640
+ n.realloc(a);
4641
+ for (var i = n.pos - 1; i >= e; i--) n.buf[i + a] = n.buf[i];
4642
+ }
4643
+ function Ci(e, t) {
4644
+ for (var n = 0; n < e.length; n++) t.writeVarint(e[n]);
4645
+ }
4646
+ function Ii(e, t) {
4647
+ for (var n = 0; n < e.length; n++) t.writeSVarint(e[n]);
4648
+ }
4649
+ function Ui(e, t) {
4650
+ for (var n = 0; n < e.length; n++) t.writeFloat(e[n]);
4651
+ }
4652
+ function Pi(e, t) {
4653
+ for (var n = 0; n < e.length; n++) t.writeDouble(e[n]);
4654
+ }
4655
+ function Ai(e, t) {
4656
+ for (var n = 0; n < e.length; n++) t.writeBoolean(e[n]);
4657
+ }
4658
+ function Bi(e, t) {
4659
+ for (var n = 0; n < e.length; n++) t.writeFixed32(e[n]);
4660
+ }
4661
+ function Hi(e, t) {
4662
+ for (var n = 0; n < e.length; n++) t.writeSFixed32(e[n]);
4663
+ }
4664
+ function Vi(e, t) {
4665
+ for (var n = 0; n < e.length; n++) t.writeFixed64(e[n]);
4666
+ }
4667
+ function Yi(e, t) {
4668
+ for (var n = 0; n < e.length; n++) t.writeSFixed64(e[n]);
4669
+ }
4670
+ function Ye(e, t) {
4671
+ return (e[t] | e[t + 1] << 8 | e[t + 2] << 16) + e[t + 3] * 16777216;
4672
+ }
4673
+ function _e(e, t, n) {
4674
+ e[n] = t, e[n + 1] = t >>> 8, e[n + 2] = t >>> 16, e[n + 3] = t >>> 24;
4675
+ }
4676
+ function Fn(e, t) {
4677
+ return (e[t] | e[t + 1] << 8 | e[t + 2] << 16) + (e[t + 3] << 24);
4678
+ }
4679
+ function zi(e, t, n) {
4680
+ for (var a = "", i = t; i < n; ) {
4681
+ var o = e[i], l = null, m = o > 239 ? 4 : o > 223 ? 3 : o > 191 ? 2 : 1;
4682
+ if (i + m > n) break;
4683
+ var f, d, c;
4684
+ m === 1 ? o < 128 && (l = o) : m === 2 ? (f = e[i + 1], (f & 192) === 128 && (l = (o & 31) << 6 | f & 63, l <= 127 && (l = null))) : m === 3 ? (f = e[i + 1], d = e[i + 2], (f & 192) === 128 && (d & 192) === 128 && (l = (o & 15) << 12 | (f & 63) << 6 | d & 63, (l <= 2047 || l >= 55296 && l <= 57343) && (l = null))) : m === 4 && (f = e[i + 1], d = e[i + 2], c = e[i + 3], (f & 192) === 128 && (d & 192) === 128 && (c & 192) === 128 && (l = (o & 15) << 18 | (f & 63) << 12 | (d & 63) << 6 | c & 63, (l <= 65535 || l >= 1114112) && (l = null))), l === null ? (l = 65533, m = 1) : l > 65535 && (l -= 65536, a += String.fromCharCode(l >>> 10 & 1023 | 55296), l = 56320 | l & 1023), a += String.fromCharCode(l), i += m;
4685
+ }
4686
+ return a;
4687
+ }
4688
+ function ji(e, t, n) {
4689
+ return Ln.decode(e.subarray(t, n));
4690
+ }
4691
+ function $i(e, t, n) {
4692
+ for (var a = 0, i, o; a < t.length; a++) {
4693
+ if (i = t.charCodeAt(a), i > 55295 && i < 57344)
4694
+ if (o)
4695
+ if (i < 56320) {
4696
+ e[n++] = 239, e[n++] = 191, e[n++] = 189, o = i;
4697
+ continue;
4698
+ } else
4699
+ i = o - 55296 << 10 | i - 56320 | 65536, o = null;
4700
+ else {
4701
+ i > 56319 || a + 1 === t.length ? (e[n++] = 239, e[n++] = 191, e[n++] = 189) : o = i;
4702
+ continue;
4703
+ }
4704
+ else o && (e[n++] = 239, e[n++] = 191, e[n++] = 189, o = null);
4705
+ i < 128 ? e[n++] = i : (i < 2048 ? e[n++] = i >> 6 | 192 : (i < 65536 ? e[n++] = i >> 12 | 224 : (e[n++] = i >> 18 | 240, e[n++] = i >> 12 & 63 | 128), e[n++] = i >> 6 & 63 | 128), e[n++] = i & 63 | 128);
4706
+ }
4707
+ return n;
4708
+ }
4709
+ const Ki = /* @__PURE__ */ yi(Ei), yo = (e) => {
4710
+ var a, i;
4711
+ if (!e || !e.data)
4712
+ return {};
4713
+ const t = {}, n = e.data;
4714
+ if (n)
4715
+ for (const o of n) {
4716
+ const l = (a = o == null ? void 0 : o.event) == null ? void 0 : a.country_code, m = (i = e.meta.metric_names) == null ? void 0 : i[0];
4717
+ l && (t[l] = m ? o.event[m] : 0);
4718
+ }
4719
+ return t;
4720
+ };
4721
+ function Wi(e, t = 0) {
4722
+ let n = null;
4723
+ return (...a) => {
4724
+ n && clearTimeout(n), n = setTimeout(() => e(...a), t);
4725
+ };
4726
+ }
4727
+ const Zi = { class: "legend" }, qi = {
4728
+ key: 0,
4729
+ class: "legend-title"
4730
+ }, Ji = { class: "legend-text" }, Xi = /* @__PURE__ */ Dt({
4731
+ __name: "MapLegend",
4732
+ props: {
4733
+ metric: {},
4734
+ title: {},
4735
+ data: {}
4736
+ },
4737
+ setup(e) {
4738
+ return (t, n) => ($(), ae("div", Zi, [
4739
+ e.metric ? ($(), ae("div", qi, we(e.title), 1)) : ke("", !0),
4740
+ ($(!0), ae(Wr, null, Zr(e.data, (a, i) => ($(), ae("div", {
4741
+ key: i,
4742
+ class: "legend-item"
4743
+ }, [
4744
+ X("span", {
4745
+ class: "legend-color",
4746
+ style: qr({ backgroundColor: a.color })
4747
+ }, null, 4),
4748
+ X("span", Ji, we(a.range), 1)
4749
+ ]))), 128))
4750
+ ]));
4751
+ }
4752
+ }), bt = (e, t) => {
4753
+ const n = e.__vccOpts || e;
4754
+ for (const [a, i] of t)
4755
+ n[a] = i;
4756
+ return n;
4757
+ }, Qi = /* @__PURE__ */ bt(Xi, [["__scopeId", "data-v-5f034736"]]), eo = { class: "map-tooltip" }, to = { class: "map-tooltip-text" }, no = { key: 0 }, ro = /* @__PURE__ */ Dt({
4758
+ __name: "MapTooltip",
4759
+ props: {
4760
+ data: {},
4761
+ showValue: { type: Boolean },
4762
+ top: {},
4763
+ left: {}
4764
+ },
4765
+ setup(e) {
4766
+ return Jr((t) => ({
4767
+ v75a0a274: t.left,
4768
+ v144f4294: t.top,
4769
+ v6e49e79e: t.data.color
4770
+ })), (t, n) => ($(), ae("div", eo, [
4771
+ n[0] || (n[0] = X("div", { class: "map-tooltip-color" }, null, -1)),
4772
+ X("div", to, [
4773
+ X("div", null, we(e.data.label), 1),
4774
+ e.showValue ? ($(), ae("span", no, we(e.data.value), 1)) : ke("", !0)
4775
+ ])
4776
+ ]));
4777
+ }
4778
+ }), ao = /* @__PURE__ */ bt(ro, [["__scopeId", "data-v-6bea2641"]]), io = { class: "kong-ui-public-analytics-geo-map" }, oo = {
4779
+ key: 0,
4780
+ class: "no-location-overlay"
4781
+ }, so = { class: "no-location-overlay-title" }, lo = { class: "no-location-overlay-description" }, uo = ["id"], co = /* @__PURE__ */ Dt({
4782
+ __name: "AnalyticsGeoMap",
4783
+ props: {
4784
+ countryMetrics: {},
4785
+ metricUnit: {},
4786
+ metric: {},
4787
+ withLegend: { type: Boolean, default: !0 },
4788
+ showTooltipValue: { type: Boolean, default: !0 },
4789
+ fitToCountry: { default: () => {
4790
+ } },
4791
+ bounds: { default: () => {
4792
+ } }
4793
+ },
4794
+ emits: ["boundsChange"],
4795
+ setup(e, { emit: t }) {
4796
+ const n = import("./countries-simple-geo-BFUDnSiE.js").then((_) => _.default), a = t, { i18n: i } = Re.useI18n(), { getColor: o, legendData: l } = Re.useLegendScale({
4797
+ countryMetrics: Be(() => e.countryMetrics),
4798
+ metric: Be(() => e.metric),
4799
+ unit: Be(() => e.metricUnit)
4800
+ }), { formatMetric: m } = Re.useMetricFormat({ unit: Be(() => e.metricUnit) }), f = Ne(), d = Xr(), c = Ne(), y = Ne(null), w = Ne({ left: "0px", top: "0px" }), g = Ne(!1), M = U(() => Object.keys(e.countryMetrics).length === 0 && !e.fitToCountry), T = U(() => ({
4801
+ "fill-color": [
4802
+ "match",
4803
+ [
4804
+ "coalesce",
4805
+ [
4806
+ "case",
4807
+ ["==", ["get", "iso_a2"], "-99"],
4808
+ ["get", "iso_a2_eh"],
4809
+ ["get", "iso_a2"]
4810
+ ],
4811
+ ["get", "ISO_A2"]
4812
+ ],
4813
+ ...Object.keys(e.countryMetrics).length ? Object.entries(e.countryMetrics).flatMap(([_, F]) => [
4814
+ _,
4815
+ o(F)
4816
+ ]) : [Ee, Ee],
4817
+ Ee
4818
+ // default color if no match
4819
+ ],
4820
+ "fill-opacity": 0.7
4821
+ })), B = U(() => e.withLegend && Object.keys(e.countryMetrics).length > 0), A = U(() => e.metric && i.t(`metrics.${e.metric}`) || ""), C = (_) => {
4822
+ const F = _.flat(1);
4823
+ return Array.isArray(F[0]) && Array.isArray(F[0][0]) ? C(F) : F;
4824
+ }, ie = (_) => {
4825
+ var S, k, ee, K, H, te, ne;
4826
+ if (_ === "RU") {
4827
+ (S = c.value) == null || S.fitBounds([
4828
+ [20, 40],
4829
+ [180, 80]
4830
+ ]);
4831
+ return;
4832
+ } else if (_ === "US") {
4833
+ (k = c.value) == null || k.fitBounds([
4834
+ [-130, 20],
4835
+ [-60, 50]
4836
+ ]);
4837
+ return;
4838
+ } else if (_ === "FR") {
4839
+ (ee = c.value) == null || ee.fitBounds([
4840
+ [-5, 42],
4841
+ [9, 51]
4842
+ ]);
4843
+ return;
4844
+ } else if (_ === "NO") {
4845
+ (K = c.value) == null || K.fitBounds([
4846
+ [4, 57],
4847
+ [32, 71]
4848
+ ]);
4849
+ return;
4850
+ }
4851
+ const F = (H = y.value) == null ? void 0 : H.features.find((G) => {
4852
+ var V, Y, z, v, j;
4853
+ return (V = G.properties) != null && V.ISO_A2 ? ((Y = G.properties) == null ? void 0 : Y.ISO_A2) === _ : ((z = G.properties) == null ? void 0 : z.iso_a2) === "-99" ? ((v = G.properties) == null ? void 0 : v.iso_a2_eh) === _ : ((j = G.properties) == null ? void 0 : j.iso_a2) === _;
4854
+ });
4855
+ if (F) {
4856
+ const G = (te = F.geometry) == null ? void 0 : te.coordinates;
4857
+ if (!G) return;
4858
+ const V = C(G), Y = V.map((W) => W[1]), z = V.map((W) => W[0]), v = Math.min(...Y), j = Math.max(...Y), de = Math.min(...z), O = Math.max(...z);
4859
+ (ne = c.value) == null || ne.fitBounds([
4860
+ [de, v],
4861
+ [O, j]
4862
+ ]);
4863
+ }
4864
+ }, D = U(() => {
4865
+ const _ = {
4866
+ container: d,
4867
+ style: { version: 8, sources: {}, layers: [] },
4868
+ attributionControl: !1,
4869
+ // fit bounds for whole world minus antarctica
4870
+ maxBounds: [
4871
+ [-179, -75],
4872
+ // -75 south tip of south america
4873
+ [179, 90]
4874
+ ],
4875
+ cooperativeGestures: !0,
4876
+ locale: {
4877
+ "CooperativeGesturesHandler.WindowsHelpText": i.t("cooperative_gestures.windows_zoom_help_text"),
4878
+ "CooperativeGesturesHandler.MacHelpText": i.t("cooperative_gestures.mac_zoom_help_text"),
4879
+ "CooperativeGesturesHandler.MobileHelpText": i.t("cooperative_gestures.mobile_zoom_help_text")
4880
+ }
4881
+ };
4882
+ return e.bounds && (_.bounds = e.bounds), _;
4883
+ }), ce = Wi(() => {
4884
+ if (!c.value) return;
4885
+ const _ = c.value.getBounds(), F = _.getSouthWest(), S = _.getNorthEast();
4886
+ a("boundsChange", [
4887
+ [F.lng, F.lat],
4888
+ [S.lng, S.lat]
4889
+ ]);
4890
+ }, 300);
4891
+ return Qr(async () => {
4892
+ var _, F, S;
4893
+ try {
4894
+ const k = await n, ee = await fetch(k), K = new Uint8Array(await ee.arrayBuffer()), H = ki(new Ki(K));
4895
+ y.value = H, c.value = new na(D.value), c.value.on("load", () => {
4896
+ var te, ne, G, V, Y, z, v;
4897
+ (te = c.value) == null || te.addSource("countries", {
4898
+ type: "geojson",
4899
+ data: H
4900
+ }), (ne = c.value) == null || ne.addLayer({
4901
+ id: "countries-layer",
4902
+ type: "fill",
4903
+ source: "countries",
4904
+ paint: T.value
4905
+ }), (G = c.value) == null || G.addSource("lakes", {
4906
+ type: "geojson",
4907
+ data: hi
4908
+ }), (V = c.value) == null || V.addLayer({
4909
+ id: "lakes-layer",
4910
+ type: "fill",
4911
+ source: "lakes",
4912
+ paint: {
4913
+ "fill-color": "#FFFFFF"
4914
+ }
4915
+ }), (Y = c.value) == null || Y.on("mousemove", "countries-layer", (j) => {
4916
+ var O;
4917
+ const de = (O = j.features) == null ? void 0 : O[0];
4918
+ if (de) {
4919
+ const { iso_a2: W, iso_a2_eh: Le, ISO_A2: Je, admin: Xe } = de.properties, Qe = Je ?? W === "-99" ? Le : W, Te = e.countryMetrics[Qe];
4920
+ Te !== void 0 && (f.value = {
4921
+ label: Xe,
4922
+ color: o(Te),
4923
+ value: m(Te)
4924
+ }, g.value = !0, w.value = {
4925
+ left: `${j.point.x}px`,
4926
+ top: `${j.point.y}px`
4927
+ });
4928
+ }
4929
+ }), (z = c.value) == null || z.on("mouseleave", "countries-layer", () => {
4930
+ g.value = !1;
4931
+ }), (v = c.value) == null || v.on("move", ce), e.fitToCountry && ie(e.fitToCountry);
4932
+ }), (_ = c.value) == null || _.dragRotate.disable(), (F = c.value) == null || F.keyboard.disable(), (S = c.value) == null || S.touchZoomRotate.disableRotation();
4933
+ } catch (k) {
4934
+ console.error(k);
4935
+ }
4936
+ }), dt(() => e.countryMetrics, () => {
4937
+ var _;
4938
+ c.value && c.value.isStyleLoaded() && (c.value.getLayer("countries-layer") && c.value.removeLayer("countries-layer"), c.value.addLayer({
4939
+ id: "countries-layer",
4940
+ type: "fill",
4941
+ source: "countries",
4942
+ paint: T.value
4943
+ }), c.value.removeLayer("lakes-layer"), (_ = c.value) == null || _.addLayer({
4944
+ id: "lakes-layer",
4945
+ type: "fill",
4946
+ source: "lakes",
4947
+ paint: {
4948
+ "fill-color": "#FFFFFF"
4949
+ }
4950
+ }));
4951
+ }), dt(() => e.fitToCountry, (_) => {
4952
+ var F, S, k;
4953
+ c.value && _ ? ie(_) : !D.value.center && !D.value.zoom ? (F = c.value) == null || F.fitBounds([
4954
+ [-180, -90],
4955
+ [180, 90]
4956
+ ]) : (D.value.zoom && ((S = c.value) == null || S.setZoom(D.value.zoom)), D.value.center && ((k = c.value) == null || k.flyTo({ center: D.value.center })));
4957
+ }), dt(() => e.bounds, (_, F) => {
4958
+ if (!_) return;
4959
+ const S = _ == null ? void 0 : _.flat(), k = F == null ? void 0 : F.flat();
4960
+ !(S && k && S.length === k.length && S.every((K, H) => Math.round(K * 100) / 100 === Math.round(k[H] * 100) / 100)) && c.value && c.value.fitBounds(_);
4961
+ }), (_, F) => ($(), ae("div", io, [
4962
+ M.value ? ($(), ae("div", oo, [
4963
+ mt(_.$slots, "no-location-icon", {}, () => [
4964
+ ea(ue(ia), {
4965
+ color: ue(li),
4966
+ size: ue(ui)
4967
+ }, null, 8, ["color", "size"])
4968
+ ], !0),
4969
+ X("div", so, [
4970
+ mt(_.$slots, "no-location-title", {}, () => [
4971
+ ta(we(ue(i).t("no_location_data")), 1)
4972
+ ], !0)
4973
+ ]),
4974
+ X("div", lo, [
4975
+ mt(_.$slots, "no-location-description", {}, () => [
4976
+ X("p", null, we(ue(i).t("no_location_data_description")), 1)
4977
+ ], !0)
4978
+ ])
4979
+ ])) : ke("", !0),
4980
+ X("div", {
4981
+ id: ue(d),
4982
+ class: "analytics-geo-map-container"
4983
+ }, null, 8, uo),
4984
+ B.value ? ($(), nn(Qi, {
4985
+ key: 1,
4986
+ class: "legend-container",
4987
+ data: ue(l),
4988
+ metric: e.metric,
4989
+ title: A.value
4990
+ }, null, 8, ["data", "metric", "title"])) : ke("", !0),
4991
+ g.value && f.value ? ($(), nn(ao, {
4992
+ key: 2,
4993
+ data: f.value,
4994
+ left: w.value.left,
4995
+ "show-value": e.showTooltipValue,
4996
+ top: w.value.top
4997
+ }, null, 8, ["data", "left", "show-value", "top"])) : ke("", !0)
4998
+ ]));
4999
+ }
5000
+ }), _o = /* @__PURE__ */ bt(co, [["__scopeId", "data-v-4e998083"]]);
5001
+ export {
5002
+ _o as AnalyticsGeoMap,
5003
+ Wi as debounce,
5004
+ yo as exploreResultToCountryMetrics
5005
+ };