adminator-admin-dashboard 2.8.1 → 4.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +499 -0
- package/CLAUDE.md +126 -154
- package/README.md +321 -370
- package/dist/2026.js +8751 -0
- package/dist/2026.js.map +1 -0
- package/dist/404.html +36 -16
- package/dist/500.html +36 -16
- package/dist/assets/static/images/logo.svg +3 -3
- package/dist/basic-table.html +152 -699
- package/dist/blank.html +42 -507
- package/dist/buttons.html +152 -448
- package/dist/calendar.html +246 -658
- package/dist/charts.html +124 -658
- package/dist/chat.html +209 -706
- package/dist/compose.html +141 -618
- package/dist/datatable.html +467 -991
- package/dist/email.html +430 -943
- package/dist/forms.html +208 -733
- package/dist/google-maps.html +123 -513
- package/dist/index.html +436 -1041
- package/dist/runtime.js +1299 -0
- package/dist/runtime.js.map +1 -0
- package/dist/signin.html +92 -92
- package/dist/signup.html +106 -91
- package/dist/ui.html +268 -897
- package/dist/vector-maps.html +132 -511
- package/dist/vendor-chartjs.js +14593 -0
- package/dist/vendor-chartjs.js.map +1 -0
- package/dist/vendor-fullcalendar.js +14793 -0
- package/dist/vendor-fullcalendar.js.map +1 -0
- package/dist/vendors.js +3758 -0
- package/dist/vendors.js.map +1 -0
- package/package.json +50 -52
- package/src/404.html +35 -15
- package/src/500.html +35 -15
- package/src/assets/scripts/2026/Shell.js +312 -0
- package/src/assets/scripts/2026/calendar.js +123 -0
- package/src/assets/scripts/2026/charts.js +259 -0
- package/src/assets/scripts/2026/index.js +35 -0
- package/src/assets/scripts/2026/init.js +207 -0
- package/src/assets/scripts/2026/maps.js +78 -0
- package/src/assets/scripts/2026/palette.js +266 -0
- package/src/assets/static/images/logo.svg +3 -3
- package/src/assets/styles/2026/_animations.scss +14 -0
- package/src/assets/styles/2026/_auth.scss +215 -0
- package/src/assets/styles/2026/_base.scss +37 -0
- package/src/assets/styles/2026/_calendar.scss +380 -0
- package/src/assets/styles/2026/_charts.scss +44 -0
- package/src/assets/styles/2026/_chat.scss +350 -0
- package/src/assets/styles/2026/_components.scss +140 -0
- package/src/assets/styles/2026/_dashboard.scss +520 -0
- package/src/assets/styles/2026/_data.scss +130 -0
- package/src/assets/styles/2026/_dropdowns.scss +128 -0
- package/src/assets/styles/2026/_email.scss +599 -0
- package/src/assets/styles/2026/_error.scss +98 -0
- package/src/assets/styles/2026/_forms.scss +215 -0
- package/src/assets/styles/2026/_fullcalendar.scss +134 -0
- package/src/assets/styles/2026/_palette.scss +173 -0
- package/src/assets/styles/2026/_responsive.scss +229 -0
- package/src/assets/styles/2026/_shell.scss +290 -0
- package/src/assets/styles/2026/_tokens.scss +80 -0
- package/src/assets/styles/2026/_ui.scss +365 -0
- package/src/assets/styles/2026/index.scss +23 -0
- package/src/basic-table.html +153 -710
- package/src/blank.html +42 -517
- package/src/buttons.html +152 -458
- package/src/calendar.html +246 -668
- package/src/charts.html +124 -668
- package/src/chat.html +209 -716
- package/src/compose.html +142 -629
- package/src/datatable.html +466 -1000
- package/src/email.html +429 -952
- package/src/forms.html +207 -742
- package/src/google-maps.html +128 -523
- package/src/index.html +438 -1050
- package/src/signin.html +92 -92
- package/src/signup.html +106 -91
- package/src/ui.html +267 -906
- package/src/vector-maps.html +133 -522
- package/dist/1e59d2330b4c6deb84b3.ttf +0 -0
- package/dist/20fd1704ea223900efa9.woff2 +0 -0
- package/dist/29b39089170885ae2967.woff +0 -0
- package/dist/8b43027f47b20503057d.eot +0 -0
- package/dist/9bad94440d49256265a5.eot +0 -0
- package/dist/assets/fontawesome-webfont.svg +0 -2671
- package/dist/assets/themify.svg +0 -362
- package/dist/eda8b94308c6f538f04a.ttf +0 -0
- package/dist/f691f37e57f04c152e23.woff +0 -0
- package/dist/main.js +0 -61323
- package/dist/main.js.map +0 -1
- package/src/assets/scripts/app 2.js +0 -645
- package/src/assets/scripts/app.js +0 -645
- package/src/assets/scripts/charts/chartJS/index.js +0 -148
- package/src/assets/scripts/charts/easyPieChart/index.js +0 -200
- package/src/assets/scripts/charts/index.js +0 -3
- package/src/assets/scripts/charts/sparkline/index.js +0 -208
- package/src/assets/scripts/chat/index.js +0 -11
- package/src/assets/scripts/components/Chart.js +0 -1390
- package/src/assets/scripts/components/Sidebar.js +0 -241
- package/src/assets/scripts/constants/colors.js +0 -274
- package/src/assets/scripts/datatable/index.js +0 -379
- package/src/assets/scripts/datepicker/index.js +0 -302
- package/src/assets/scripts/email/index.js +0 -25
- package/src/assets/scripts/fullcalendar/index.js +0 -86
- package/src/assets/scripts/googleMaps/index.js +0 -93
- package/src/assets/scripts/index.js +0 -18
- package/src/assets/scripts/masonry/index.js +0 -14
- package/src/assets/scripts/popover/index.js +0 -109
- package/src/assets/scripts/scrollbar/index.js +0 -10
- package/src/assets/scripts/search/index.js +0 -15
- package/src/assets/scripts/sidebar/index.js +0 -140
- package/src/assets/scripts/skycons/index.js +0 -52
- package/src/assets/scripts/ui/index.js +0 -412
- package/src/assets/scripts/utils/date.js +0 -242
- package/src/assets/scripts/utils/dom.js +0 -349
- package/src/assets/scripts/utils/index.js +0 -45
- package/src/assets/scripts/utils/theme.js +0 -107
- package/src/assets/scripts/vectorMaps/index.js +0 -277
- package/src/assets/styles/index.scss +0 -801
- package/src/assets/styles/spec/components/easyPieChart.scss +0 -11
- package/src/assets/styles/spec/components/footer.scss +0 -4
- package/src/assets/styles/spec/components/forms.scss +0 -288
- package/src/assets/styles/spec/components/index.scss +0 -9
- package/src/assets/styles/spec/components/loader.scss +0 -46
- package/src/assets/styles/spec/components/masonry.scss +0 -1
- package/src/assets/styles/spec/components/pageContainer.scss +0 -255
- package/src/assets/styles/spec/components/progressBar.scss +0 -6
- package/src/assets/styles/spec/components/sidebar.scss +0 -642
- package/src/assets/styles/spec/components/topbar.scss +0 -455
- package/src/assets/styles/spec/generic/base.scss +0 -102
- package/src/assets/styles/spec/generic/index.scss +0 -1
- package/src/assets/styles/spec/index.scss +0 -4
- package/src/assets/styles/spec/screens/chat.scss +0 -147
- package/src/assets/styles/spec/screens/email.scss +0 -108
- package/src/assets/styles/spec/screens/index.scss +0 -2
- package/src/assets/styles/spec/settings/baseColors.scss +0 -103
- package/src/assets/styles/spec/settings/borders.scss +0 -6
- package/src/assets/styles/spec/settings/breakpoints.scss +0 -26
- package/src/assets/styles/spec/settings/fonts.scss +0 -4
- package/src/assets/styles/spec/settings/index.scss +0 -4
- package/src/assets/styles/spec/settings/materialColors.scss +0 -550
- package/src/assets/styles/spec/tools/index.scss +0 -1
- package/src/assets/styles/spec/tools/mixins/clearfix.scss +0 -15
- package/src/assets/styles/spec/tools/mixins/index.scss +0 -3
- package/src/assets/styles/spec/tools/mixins/mediaQueriesRanges.scss +0 -58
- package/src/assets/styles/spec/tools/mixins/placeholder.scss +0 -10
- package/src/assets/styles/spec/utils/colors.scss +0 -33
- package/src/assets/styles/spec/utils/index.scss +0 -2
- package/src/assets/styles/spec/utils/layout/helpers/border.scss +0 -78
- package/src/assets/styles/spec/utils/layout/helpers/flex.scss +0 -220
- package/src/assets/styles/spec/utils/layout/helpers/index.scss +0 -11
- package/src/assets/styles/spec/utils/layout/helpers/layout.scss +0 -137
- package/src/assets/styles/spec/utils/layout/helpers/lists.scss +0 -23
- package/src/assets/styles/spec/utils/layout/helpers/margin.scss +0 -266
- package/src/assets/styles/spec/utils/layout/helpers/objects.scss +0 -91
- package/src/assets/styles/spec/utils/layout/helpers/padding.scss +0 -147
- package/src/assets/styles/spec/utils/layout/helpers/positions.scss +0 -118
- package/src/assets/styles/spec/utils/layout/helpers/pseudo.scss +0 -6
- package/src/assets/styles/spec/utils/layout/helpers/sizes.scss +0 -157
- package/src/assets/styles/spec/utils/layout/helpers/typography.scss +0 -127
- package/src/assets/styles/spec/utils/layout/index.scss +0 -3
- package/src/assets/styles/spec/utils/layout/mixins/generateResponsive.scss +0 -25
- package/src/assets/styles/spec/utils/layout/mixins/index.scss +0 -2
- package/src/assets/styles/spec/utils/layout/mixins/mediaQueryCondition.scss +0 -28
- package/src/assets/styles/spec/utils/layout/utils/center.scss +0 -54
- package/src/assets/styles/spec/utils/layout/utils/gap.scss +0 -229
- package/src/assets/styles/spec/utils/layout/utils/index.scss +0 -5
- package/src/assets/styles/spec/utils/layout/utils/layers.scss +0 -5
- package/src/assets/styles/spec/utils/layout/utils/peers.scss +0 -35
- package/src/assets/styles/utils/mobile.scss +0 -954
- package/src/assets/styles/utils/theme.css +0 -97
- package/src/assets/styles/vendor/datepicker.scss +0 -183
- package/src/assets/styles/vendor/font-awesome.css +0 -2337
- package/src/assets/styles/vendor/fullcalendar.scss +0 -217
- package/src/assets/styles/vendor/index.scss +0 -8
- package/src/assets/styles/vendor/jquery.datatables.scss +0 -162
- package/src/assets/styles/vendor/perfectScrollbar.scss +0 -4
- package/src/assets/styles/vendor/sparkline.scss +0 -6
- package/src/assets/styles/vendor/themify-icons.css +0 -1081
package/dist/vendors.js
ADDED
|
@@ -0,0 +1,3758 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
(self["webpackChunk"] = self["webpackChunk"] || []).push([["vendors"],{
|
|
3
|
+
|
|
4
|
+
/***/ "../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../node_modules/jsvectormap/dist/jsvectormap.css"
|
|
5
|
+
/*!***************************************************************************************************************************!*\
|
|
6
|
+
!*** ../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../node_modules/jsvectormap/dist/jsvectormap.css ***!
|
|
7
|
+
\***************************************************************************************************************************/
|
|
8
|
+
(module, __webpack_exports__, __webpack_require__) {
|
|
9
|
+
|
|
10
|
+
__webpack_require__.r(__webpack_exports__);
|
|
11
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
12
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
13
|
+
/* harmony export */ });
|
|
14
|
+
/* harmony import */ var _css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../css-loader/dist/runtime/sourceMaps.js */ "../node_modules/css-loader/dist/runtime/sourceMaps.js");
|
|
15
|
+
/* harmony import */ var _css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
16
|
+
/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../css-loader/dist/runtime/api.js */ "../node_modules/css-loader/dist/runtime/api.js");
|
|
17
|
+
/* harmony import */ var _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
18
|
+
// Imports
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
var ___CSS_LOADER_EXPORT___ = _css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_css_loader_dist_runtime_sourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
22
|
+
// Module
|
|
23
|
+
___CSS_LOADER_EXPORT___.push([module.id, `:root {
|
|
24
|
+
--jvm-border-color: #E5E6E7;
|
|
25
|
+
--jvm-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
|
|
26
|
+
--jvm-tooltip-font-size: 0.9rem;
|
|
27
|
+
--jvm-tooltip-bg-color: #337FFA;
|
|
28
|
+
--jvm-tooltip-color: #FFF;
|
|
29
|
+
--jvm-tooltip-padding: 3px 5px;
|
|
30
|
+
--jvm-tooltip-shadow: var(--jvm-box-shadow);
|
|
31
|
+
--jvm-tooltip-radius: 3px;
|
|
32
|
+
--jvm-zoom-btn-bg-color: #292929;
|
|
33
|
+
--jvm-zoom-btn-color: #FFF;
|
|
34
|
+
--jvm-zoom-btn-size: 15px;
|
|
35
|
+
--jvm-zoom-btn-radius: 3px;
|
|
36
|
+
--jvm-series-container-right: 15px;
|
|
37
|
+
--jvm-legend-bg-color: #FFF;
|
|
38
|
+
--jvm-legend-radius: 0.15rem;
|
|
39
|
+
--jvm-legend-margin-left: 0.75rem;
|
|
40
|
+
--jvm-legend-padding: 0.6rem;
|
|
41
|
+
--jvm-legend-title-padding-bottom: 0.5rem;
|
|
42
|
+
--jvm-legend-title-margin-bottom: 0.575rem;
|
|
43
|
+
--jvm-legend-tick-margin-top: 0.575rem;
|
|
44
|
+
--jvm-legend-tick-sample-radius: 0;
|
|
45
|
+
--jvm-legend-tick-sample-height: 12px;
|
|
46
|
+
--jvm-legend-tick-sample-width: 30px;
|
|
47
|
+
--jvm-legend-tick-text-font-size: 12px;
|
|
48
|
+
--jvm-legend-tick-text-margin-top: 3px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
image, text, .jvm-zoom-btn {
|
|
52
|
+
-webkit-user-select: none;
|
|
53
|
+
-moz-user-select: none;
|
|
54
|
+
-ms-user-select: none;
|
|
55
|
+
user-select: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.jvm-container {
|
|
59
|
+
position: relative;
|
|
60
|
+
height: 100%;
|
|
61
|
+
width: 100%;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.jvm-tooltip {
|
|
65
|
+
border-radius: var(--jvm-tooltip-radius);
|
|
66
|
+
background-color: var(--jvm-tooltip-bg-color);
|
|
67
|
+
color: var(--jvm-tooltip-color);
|
|
68
|
+
font-size: var(--jvm-tooltip-font-size);
|
|
69
|
+
box-shadow: var(--jvm-tooltip-shadow);
|
|
70
|
+
padding: var(--jvm-tooltip-padding);
|
|
71
|
+
white-space: nowrap;
|
|
72
|
+
position: absolute;
|
|
73
|
+
display: none;
|
|
74
|
+
}
|
|
75
|
+
.jvm-tooltip.active {
|
|
76
|
+
display: block;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.jvm-zoom-btn {
|
|
80
|
+
background-color: var(--jvm-zoom-btn-bg-color);
|
|
81
|
+
color: var(--jvm-zoom-btn-color);
|
|
82
|
+
border-radius: var(--jvm-zoom-btn-radius);
|
|
83
|
+
height: var(--jvm-zoom-btn-size);
|
|
84
|
+
width: var(--jvm-zoom-btn-size);
|
|
85
|
+
box-sizing: border-box;
|
|
86
|
+
position: absolute;
|
|
87
|
+
left: 10px;
|
|
88
|
+
line-height: var(--jvm-zoom-btn-size);
|
|
89
|
+
text-align: center;
|
|
90
|
+
cursor: pointer;
|
|
91
|
+
}
|
|
92
|
+
.jvm-zoom-btn.jvm-zoomin {
|
|
93
|
+
top: var(--jvm-zoom-btn-size);
|
|
94
|
+
}
|
|
95
|
+
.jvm-zoom-btn.jvm-zoomout {
|
|
96
|
+
top: calc(var(--jvm-zoom-btn-size) * 2 + var(--jvm-zoom-btn-size) / 3);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.jvm-series-container {
|
|
100
|
+
position: absolute;
|
|
101
|
+
right: var(--jvm-series-container-right);
|
|
102
|
+
}
|
|
103
|
+
.jvm-series-container.jvm-series-h {
|
|
104
|
+
bottom: 15px;
|
|
105
|
+
}
|
|
106
|
+
.jvm-series-container.jvm-series-v {
|
|
107
|
+
display: -ms-flexbox;
|
|
108
|
+
display: flex;
|
|
109
|
+
-ms-flex-direction: column;
|
|
110
|
+
flex-direction: column;
|
|
111
|
+
gap: 0.75rem;
|
|
112
|
+
top: 15px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.jvm-legend {
|
|
116
|
+
background-color: var(--jvm-legend-bg-color);
|
|
117
|
+
border: 1px solid var(--jvm-border-color);
|
|
118
|
+
margin-left: var(--jvm-legend-margin-left);
|
|
119
|
+
border-radius: var(--jvm-legend-radius);
|
|
120
|
+
padding: var(--jvm-legend-padding);
|
|
121
|
+
box-shadow: var(--jvm-box-shadow);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.jvm-legend-title {
|
|
125
|
+
line-height: 1;
|
|
126
|
+
border-bottom: 1px solid var(--jvm-border-color);
|
|
127
|
+
padding-bottom: var(--jvm-legend-title-padding-bottom);
|
|
128
|
+
margin-bottom: var(--jvm-legend-title-margin-bottom);
|
|
129
|
+
text-align: left;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.jvm-legend-tick {
|
|
133
|
+
display: -ms-flexbox;
|
|
134
|
+
display: flex;
|
|
135
|
+
-ms-flex-align: center;
|
|
136
|
+
align-items: center;
|
|
137
|
+
min-width: 40px;
|
|
138
|
+
}
|
|
139
|
+
.jvm-legend-tick:not(:first-child) {
|
|
140
|
+
margin-top: var(--jvm-legend-tick-margin-top);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.jvm-legend-tick-sample {
|
|
144
|
+
border-radius: var(--jvm-legend-tick-sample-radius);
|
|
145
|
+
margin-right: 0.45rem;
|
|
146
|
+
height: var(--jvm-legend-tick-sample-height);
|
|
147
|
+
width: var(--jvm-legend-tick-sample-width);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.jvm-legend-tick-text {
|
|
151
|
+
font-size: var(--jvm-legend-tick-text-font-size);
|
|
152
|
+
text-align: center;
|
|
153
|
+
line-height: 1;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.jvm-line[animation=true] {
|
|
157
|
+
-webkit-animation: jvm-line-animation 10s linear forwards infinite;
|
|
158
|
+
animation: jvm-line-animation 10s linear forwards infinite;
|
|
159
|
+
}
|
|
160
|
+
@-webkit-keyframes jvm-line-animation {
|
|
161
|
+
from {
|
|
162
|
+
stroke-dashoffset: 250;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
@keyframes jvm-line-animation {
|
|
166
|
+
from {
|
|
167
|
+
stroke-dashoffset: 250;
|
|
168
|
+
}
|
|
169
|
+
}`, "",{"version":3,"sources":["webpack://./../node_modules/jsvectormap/dist/jsvectormap.css"],"names":[],"mappings":"AAAA;EACE,2BAA2B;EAC3B,iDAAiD;EACjD,+BAA+B;EAC/B,+BAA+B;EAC/B,yBAAyB;EACzB,8BAA8B;EAC9B,2CAA2C;EAC3C,yBAAyB;EACzB,gCAAgC;EAChC,0BAA0B;EAC1B,yBAAyB;EACzB,0BAA0B;EAC1B,kCAAkC;EAClC,2BAA2B;EAC3B,4BAA4B;EAC5B,iCAAiC;EACjC,4BAA4B;EAC5B,yCAAyC;EACzC,0CAA0C;EAC1C,sCAAsC;EACtC,kCAAkC;EAClC,qCAAqC;EACrC,oCAAoC;EACpC,sCAAsC;EACtC,sCAAsC;AACxC;;AAEA;EACE,yBAAyB;KACtB,sBAAsB;MACrB,qBAAqB;UACjB,iBAAiB;AAC3B;;AAEA;EACE,kBAAkB;EAClB,YAAY;EACZ,WAAW;AACb;;AAEA;EACE,wCAAwC;EACxC,6CAA6C;EAC7C,+BAA+B;EAC/B,uCAAuC;EACvC,qCAAqC;EACrC,mCAAmC;EACnC,mBAAmB;EACnB,kBAAkB;EAClB,aAAa;AACf;AACA;EACE,cAAc;AAChB;;AAEA;EACE,8CAA8C;EAC9C,gCAAgC;EAChC,yCAAyC;EACzC,gCAAgC;EAChC,+BAA+B;EAC/B,sBAAsB;EACtB,kBAAkB;EAClB,UAAU;EACV,qCAAqC;EACrC,kBAAkB;EAClB,eAAe;AACjB;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,sEAAsE;AACxE;;AAEA;EACE,kBAAkB;EAClB,wCAAwC;AAC1C;AACA;EACE,YAAY;AACd;AACA;EACE,oBAAoB;EACpB,aAAa;EACb,0BAA0B;MACtB,sBAAsB;EAC1B,YAAY;EACZ,SAAS;AACX;;AAEA;EACE,4CAA4C;EAC5C,yCAAyC;EACzC,0CAA0C;EAC1C,uCAAuC;EACvC,kCAAkC;EAClC,iCAAiC;AACnC;;AAEA;EACE,cAAc;EACd,gDAAgD;EAChD,sDAAsD;EACtD,oDAAoD;EACpD,gBAAgB;AAClB;;AAEA;EACE,oBAAoB;EACpB,aAAa;EACb,sBAAsB;MAClB,mBAAmB;EACvB,eAAe;AACjB;AACA;EACE,6CAA6C;AAC/C;;AAEA;EACE,mDAAmD;EACnD,qBAAqB;EACrB,4CAA4C;EAC5C,0CAA0C;AAC5C;;AAEA;EACE,gDAAgD;EAChD,kBAAkB;EAClB,cAAc;AAChB;;AAEA;EACE,kEAAkE;EAClE,0DAA0D;AAC5D;AACA;EACE;IACE,sBAAsB;EACxB;AACF;AACA;EACE;IACE,sBAAsB;EACxB;AACF","sourcesContent":[":root {\n --jvm-border-color: #E5E6E7;\n --jvm-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);\n --jvm-tooltip-font-size: 0.9rem;\n --jvm-tooltip-bg-color: #337FFA;\n --jvm-tooltip-color: #FFF;\n --jvm-tooltip-padding: 3px 5px;\n --jvm-tooltip-shadow: var(--jvm-box-shadow);\n --jvm-tooltip-radius: 3px;\n --jvm-zoom-btn-bg-color: #292929;\n --jvm-zoom-btn-color: #FFF;\n --jvm-zoom-btn-size: 15px;\n --jvm-zoom-btn-radius: 3px;\n --jvm-series-container-right: 15px;\n --jvm-legend-bg-color: #FFF;\n --jvm-legend-radius: 0.15rem;\n --jvm-legend-margin-left: 0.75rem;\n --jvm-legend-padding: 0.6rem;\n --jvm-legend-title-padding-bottom: 0.5rem;\n --jvm-legend-title-margin-bottom: 0.575rem;\n --jvm-legend-tick-margin-top: 0.575rem;\n --jvm-legend-tick-sample-radius: 0;\n --jvm-legend-tick-sample-height: 12px;\n --jvm-legend-tick-sample-width: 30px;\n --jvm-legend-tick-text-font-size: 12px;\n --jvm-legend-tick-text-margin-top: 3px;\n}\n\nimage, text, .jvm-zoom-btn {\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n\n.jvm-container {\n position: relative;\n height: 100%;\n width: 100%;\n}\n\n.jvm-tooltip {\n border-radius: var(--jvm-tooltip-radius);\n background-color: var(--jvm-tooltip-bg-color);\n color: var(--jvm-tooltip-color);\n font-size: var(--jvm-tooltip-font-size);\n box-shadow: var(--jvm-tooltip-shadow);\n padding: var(--jvm-tooltip-padding);\n white-space: nowrap;\n position: absolute;\n display: none;\n}\n.jvm-tooltip.active {\n display: block;\n}\n\n.jvm-zoom-btn {\n background-color: var(--jvm-zoom-btn-bg-color);\n color: var(--jvm-zoom-btn-color);\n border-radius: var(--jvm-zoom-btn-radius);\n height: var(--jvm-zoom-btn-size);\n width: var(--jvm-zoom-btn-size);\n box-sizing: border-box;\n position: absolute;\n left: 10px;\n line-height: var(--jvm-zoom-btn-size);\n text-align: center;\n cursor: pointer;\n}\n.jvm-zoom-btn.jvm-zoomin {\n top: var(--jvm-zoom-btn-size);\n}\n.jvm-zoom-btn.jvm-zoomout {\n top: calc(var(--jvm-zoom-btn-size) * 2 + var(--jvm-zoom-btn-size) / 3);\n}\n\n.jvm-series-container {\n position: absolute;\n right: var(--jvm-series-container-right);\n}\n.jvm-series-container.jvm-series-h {\n bottom: 15px;\n}\n.jvm-series-container.jvm-series-v {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n gap: 0.75rem;\n top: 15px;\n}\n\n.jvm-legend {\n background-color: var(--jvm-legend-bg-color);\n border: 1px solid var(--jvm-border-color);\n margin-left: var(--jvm-legend-margin-left);\n border-radius: var(--jvm-legend-radius);\n padding: var(--jvm-legend-padding);\n box-shadow: var(--jvm-box-shadow);\n}\n\n.jvm-legend-title {\n line-height: 1;\n border-bottom: 1px solid var(--jvm-border-color);\n padding-bottom: var(--jvm-legend-title-padding-bottom);\n margin-bottom: var(--jvm-legend-title-margin-bottom);\n text-align: left;\n}\n\n.jvm-legend-tick {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n min-width: 40px;\n}\n.jvm-legend-tick:not(:first-child) {\n margin-top: var(--jvm-legend-tick-margin-top);\n}\n\n.jvm-legend-tick-sample {\n border-radius: var(--jvm-legend-tick-sample-radius);\n margin-right: 0.45rem;\n height: var(--jvm-legend-tick-sample-height);\n width: var(--jvm-legend-tick-sample-width);\n}\n\n.jvm-legend-tick-text {\n font-size: var(--jvm-legend-tick-text-font-size);\n text-align: center;\n line-height: 1;\n}\n\n.jvm-line[animation=true] {\n -webkit-animation: jvm-line-animation 10s linear forwards infinite;\n animation: jvm-line-animation 10s linear forwards infinite;\n}\n@-webkit-keyframes jvm-line-animation {\n from {\n stroke-dashoffset: 250;\n }\n}\n@keyframes jvm-line-animation {\n from {\n stroke-dashoffset: 250;\n }\n}"],"sourceRoot":""}]);
|
|
170
|
+
// Exports
|
|
171
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (___CSS_LOADER_EXPORT___);
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
/***/ },
|
|
175
|
+
|
|
176
|
+
/***/ "../node_modules/css-loader/dist/runtime/api.js"
|
|
177
|
+
/*!******************************************************!*\
|
|
178
|
+
!*** ../node_modules/css-loader/dist/runtime/api.js ***!
|
|
179
|
+
\******************************************************/
|
|
180
|
+
(module) {
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
/*
|
|
185
|
+
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
186
|
+
Author Tobias Koppers @sokra
|
|
187
|
+
*/
|
|
188
|
+
module.exports = function (cssWithMappingToString) {
|
|
189
|
+
var list = [];
|
|
190
|
+
|
|
191
|
+
// return the list of modules as css string
|
|
192
|
+
list.toString = function toString() {
|
|
193
|
+
return this.map(function (item) {
|
|
194
|
+
var content = "";
|
|
195
|
+
var needLayer = typeof item[5] !== "undefined";
|
|
196
|
+
if (item[4]) {
|
|
197
|
+
content += "@supports (".concat(item[4], ") {");
|
|
198
|
+
}
|
|
199
|
+
if (item[2]) {
|
|
200
|
+
content += "@media ".concat(item[2], " {");
|
|
201
|
+
}
|
|
202
|
+
if (needLayer) {
|
|
203
|
+
content += "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {");
|
|
204
|
+
}
|
|
205
|
+
content += cssWithMappingToString(item);
|
|
206
|
+
if (needLayer) {
|
|
207
|
+
content += "}";
|
|
208
|
+
}
|
|
209
|
+
if (item[2]) {
|
|
210
|
+
content += "}";
|
|
211
|
+
}
|
|
212
|
+
if (item[4]) {
|
|
213
|
+
content += "}";
|
|
214
|
+
}
|
|
215
|
+
return content;
|
|
216
|
+
}).join("");
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
// import a list of modules into the list
|
|
220
|
+
list.i = function i(modules, media, dedupe, supports, layer) {
|
|
221
|
+
if (typeof modules === "string") {
|
|
222
|
+
modules = [[null, modules, undefined]];
|
|
223
|
+
}
|
|
224
|
+
var alreadyImportedModules = {};
|
|
225
|
+
if (dedupe) {
|
|
226
|
+
for (var k = 0; k < this.length; k++) {
|
|
227
|
+
var id = this[k][0];
|
|
228
|
+
if (id != null) {
|
|
229
|
+
alreadyImportedModules[id] = true;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
for (var _k = 0; _k < modules.length; _k++) {
|
|
234
|
+
var item = [].concat(modules[_k]);
|
|
235
|
+
if (dedupe && alreadyImportedModules[item[0]]) {
|
|
236
|
+
continue;
|
|
237
|
+
}
|
|
238
|
+
if (typeof layer !== "undefined") {
|
|
239
|
+
if (typeof item[5] === "undefined") {
|
|
240
|
+
item[5] = layer;
|
|
241
|
+
} else {
|
|
242
|
+
item[1] = "@layer".concat(item[5].length > 0 ? " ".concat(item[5]) : "", " {").concat(item[1], "}");
|
|
243
|
+
item[5] = layer;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
if (media) {
|
|
247
|
+
if (!item[2]) {
|
|
248
|
+
item[2] = media;
|
|
249
|
+
} else {
|
|
250
|
+
item[1] = "@media ".concat(item[2], " {").concat(item[1], "}");
|
|
251
|
+
item[2] = media;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
if (supports) {
|
|
255
|
+
if (!item[4]) {
|
|
256
|
+
item[4] = "".concat(supports);
|
|
257
|
+
} else {
|
|
258
|
+
item[1] = "@supports (".concat(item[4], ") {").concat(item[1], "}");
|
|
259
|
+
item[4] = supports;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
list.push(item);
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
return list;
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
/***/ },
|
|
269
|
+
|
|
270
|
+
/***/ "../node_modules/css-loader/dist/runtime/getUrl.js"
|
|
271
|
+
/*!*********************************************************!*\
|
|
272
|
+
!*** ../node_modules/css-loader/dist/runtime/getUrl.js ***!
|
|
273
|
+
\*********************************************************/
|
|
274
|
+
(module) {
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
module.exports = function (url, options) {
|
|
279
|
+
if (!options) {
|
|
280
|
+
options = {};
|
|
281
|
+
}
|
|
282
|
+
if (!url) {
|
|
283
|
+
return url;
|
|
284
|
+
}
|
|
285
|
+
url = String(url.__esModule ? url.default : url);
|
|
286
|
+
|
|
287
|
+
// If url is already wrapped in quotes, remove them
|
|
288
|
+
if (/^['"].*['"]$/.test(url)) {
|
|
289
|
+
url = url.slice(1, -1);
|
|
290
|
+
}
|
|
291
|
+
if (options.hash) {
|
|
292
|
+
url += options.hash;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
// Should url be wrapped?
|
|
296
|
+
// See https://drafts.csswg.org/css-values-3/#urls
|
|
297
|
+
if (/["'() \t\n]|(%20)/.test(url) || options.needQuotes) {
|
|
298
|
+
return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, "\\n"), "\"");
|
|
299
|
+
}
|
|
300
|
+
return url;
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
/***/ },
|
|
304
|
+
|
|
305
|
+
/***/ "../node_modules/css-loader/dist/runtime/sourceMaps.js"
|
|
306
|
+
/*!*************************************************************!*\
|
|
307
|
+
!*** ../node_modules/css-loader/dist/runtime/sourceMaps.js ***!
|
|
308
|
+
\*************************************************************/
|
|
309
|
+
(module) {
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
module.exports = function (item) {
|
|
314
|
+
var content = item[1];
|
|
315
|
+
var cssMapping = item[3];
|
|
316
|
+
if (!cssMapping) {
|
|
317
|
+
return content;
|
|
318
|
+
}
|
|
319
|
+
if (typeof btoa === "function") {
|
|
320
|
+
var base64 = btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping))));
|
|
321
|
+
var data = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);
|
|
322
|
+
var sourceMapping = "/*# ".concat(data, " */");
|
|
323
|
+
return [content].concat([sourceMapping]).join("\n");
|
|
324
|
+
}
|
|
325
|
+
return [content].join("\n");
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
/***/ },
|
|
329
|
+
|
|
330
|
+
/***/ "../node_modules/jsvectormap/dist/jsvectormap.esm.js"
|
|
331
|
+
/*!***********************************************************!*\
|
|
332
|
+
!*** ../node_modules/jsvectormap/dist/jsvectormap.esm.js ***!
|
|
333
|
+
\***********************************************************/
|
|
334
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
335
|
+
|
|
336
|
+
__webpack_require__.r(__webpack_exports__);
|
|
337
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
338
|
+
/* harmony export */ "default": () => (/* binding */ index)
|
|
339
|
+
/* harmony export */ });
|
|
340
|
+
/**
|
|
341
|
+
* By https://github.com/TehShrike/deepmerge
|
|
342
|
+
*/
|
|
343
|
+
|
|
344
|
+
var isMergeableObject = function isMergeableObject(value) {
|
|
345
|
+
return isNonNullObject(value) && !isSpecial(value);
|
|
346
|
+
};
|
|
347
|
+
function isNonNullObject(value) {
|
|
348
|
+
return !!value && typeof value === 'object';
|
|
349
|
+
}
|
|
350
|
+
function isSpecial(value) {
|
|
351
|
+
var stringValue = Object.prototype.toString.call(value);
|
|
352
|
+
return stringValue === '[object RegExp]' || stringValue === '[object Date]' || isNode(value) || isReactElement(value);
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
|
|
356
|
+
var canUseSymbol = typeof Symbol === 'function' && Symbol.for;
|
|
357
|
+
var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;
|
|
358
|
+
function isReactElement(value) {
|
|
359
|
+
return value.$$typeof === REACT_ELEMENT_TYPE;
|
|
360
|
+
}
|
|
361
|
+
function isNode(value) {
|
|
362
|
+
return value instanceof Node;
|
|
363
|
+
}
|
|
364
|
+
function emptyTarget(val) {
|
|
365
|
+
return Array.isArray(val) ? [] : {};
|
|
366
|
+
}
|
|
367
|
+
function cloneUnlessOtherwiseSpecified(value, options) {
|
|
368
|
+
return options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;
|
|
369
|
+
}
|
|
370
|
+
function defaultArrayMerge(target, source, options) {
|
|
371
|
+
return target.concat(source).map(function (element) {
|
|
372
|
+
return cloneUnlessOtherwiseSpecified(element, options);
|
|
373
|
+
});
|
|
374
|
+
}
|
|
375
|
+
function getMergeFunction(key, options) {
|
|
376
|
+
if (!options.customMerge) {
|
|
377
|
+
return deepmerge;
|
|
378
|
+
}
|
|
379
|
+
var customMerge = options.customMerge(key);
|
|
380
|
+
return typeof customMerge === 'function' ? customMerge : deepmerge;
|
|
381
|
+
}
|
|
382
|
+
function getEnumerableOwnPropertySymbols(target) {
|
|
383
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function (symbol) {
|
|
384
|
+
return target.propertyIsEnumerable(symbol);
|
|
385
|
+
}) : [];
|
|
386
|
+
}
|
|
387
|
+
function getKeys(target) {
|
|
388
|
+
return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
|
|
389
|
+
}
|
|
390
|
+
function propertyIsOnObject(object, property) {
|
|
391
|
+
try {
|
|
392
|
+
return property in object;
|
|
393
|
+
} catch (_) {
|
|
394
|
+
return false;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
// Protects from prototype poisoning and unexpected merging up the prototype chain.
|
|
399
|
+
function propertyIsUnsafe(target, key) {
|
|
400
|
+
return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,
|
|
401
|
+
&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,
|
|
402
|
+
&& Object.propertyIsEnumerable.call(target, key)); // and also unsafe if they're nonenumerable.
|
|
403
|
+
}
|
|
404
|
+
function mergeObject(target, source, options) {
|
|
405
|
+
var destination = {};
|
|
406
|
+
if (options.isMergeableObject(target)) {
|
|
407
|
+
getKeys(target).forEach(function (key) {
|
|
408
|
+
destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
|
|
409
|
+
});
|
|
410
|
+
}
|
|
411
|
+
getKeys(source).forEach(function (key) {
|
|
412
|
+
if (propertyIsUnsafe(target, key)) {
|
|
413
|
+
return;
|
|
414
|
+
}
|
|
415
|
+
if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
|
|
416
|
+
destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
|
|
417
|
+
} else {
|
|
418
|
+
destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
|
|
419
|
+
}
|
|
420
|
+
});
|
|
421
|
+
return destination;
|
|
422
|
+
}
|
|
423
|
+
var deepmerge = function deepmerge(target, source, options) {
|
|
424
|
+
options = options || {};
|
|
425
|
+
options.arrayMerge = options.arrayMerge || defaultArrayMerge;
|
|
426
|
+
options.isMergeableObject = options.isMergeableObject || isMergeableObject;
|
|
427
|
+
// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
|
|
428
|
+
// implementations can use it. The caller may not replace it.
|
|
429
|
+
options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
|
|
430
|
+
var sourceIsArray = Array.isArray(source);
|
|
431
|
+
var targetIsArray = Array.isArray(target);
|
|
432
|
+
var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
|
|
433
|
+
if (!sourceAndTargetTypesMatch) {
|
|
434
|
+
return cloneUnlessOtherwiseSpecified(source, options);
|
|
435
|
+
} else if (sourceIsArray) {
|
|
436
|
+
return options.arrayMerge(target, source, options);
|
|
437
|
+
} else {
|
|
438
|
+
return mergeObject(target, source, options);
|
|
439
|
+
}
|
|
440
|
+
};
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* --------------------------------------------------------------------------
|
|
444
|
+
* Public Util Api
|
|
445
|
+
* --------------------------------------------------------------------------
|
|
446
|
+
*/
|
|
447
|
+
var getElement = function getElement(selector) {
|
|
448
|
+
if (typeof selector === 'object' && typeof selector.nodeType !== 'undefined') {
|
|
449
|
+
return selector;
|
|
450
|
+
}
|
|
451
|
+
if (typeof selector === 'string') {
|
|
452
|
+
return document.querySelector(selector);
|
|
453
|
+
}
|
|
454
|
+
return null;
|
|
455
|
+
};
|
|
456
|
+
var createElement = function createElement(type, classes, content, html) {
|
|
457
|
+
if (html === void 0) {
|
|
458
|
+
html = false;
|
|
459
|
+
}
|
|
460
|
+
var el = document.createElement(type);
|
|
461
|
+
if (content) {
|
|
462
|
+
el[!html ? 'textContent' : 'innerHTML'] = content;
|
|
463
|
+
}
|
|
464
|
+
if (classes) {
|
|
465
|
+
el.className = classes;
|
|
466
|
+
}
|
|
467
|
+
return el;
|
|
468
|
+
};
|
|
469
|
+
var findElement = function findElement(parentElement, selector) {
|
|
470
|
+
return Element.prototype.querySelector.call(parentElement, selector);
|
|
471
|
+
};
|
|
472
|
+
var removeElement = function removeElement(target) {
|
|
473
|
+
target.parentNode.removeChild(target);
|
|
474
|
+
};
|
|
475
|
+
var isImageUrl = function isImageUrl(url) {
|
|
476
|
+
return /\.(jpg|gif|png)$/.test(url);
|
|
477
|
+
};
|
|
478
|
+
var hyphenate = function hyphenate(string) {
|
|
479
|
+
return string.replace(/[\w]([A-Z])/g, function (m) {
|
|
480
|
+
return m[0] + "-" + m[1];
|
|
481
|
+
}).toLowerCase();
|
|
482
|
+
};
|
|
483
|
+
var merge = function merge(target, source, deep) {
|
|
484
|
+
if (deep === void 0) {
|
|
485
|
+
deep = false;
|
|
486
|
+
}
|
|
487
|
+
if (deep) {
|
|
488
|
+
return deepmerge(target, source);
|
|
489
|
+
}
|
|
490
|
+
return Object.assign(target, source);
|
|
491
|
+
};
|
|
492
|
+
var getLineUid = function getLineUid(from, to) {
|
|
493
|
+
return from.toLowerCase() + ":to:" + to.toLowerCase();
|
|
494
|
+
};
|
|
495
|
+
var inherit = function inherit(target, source) {
|
|
496
|
+
Object.assign(target.prototype, source);
|
|
497
|
+
};
|
|
498
|
+
|
|
499
|
+
var eventRegistry = {};
|
|
500
|
+
var eventUid = 1;
|
|
501
|
+
var EventHandler = {
|
|
502
|
+
on: function on(element, event, handler, options) {
|
|
503
|
+
if (options === void 0) {
|
|
504
|
+
options = {};
|
|
505
|
+
}
|
|
506
|
+
var uid = "jvm:" + event + "::" + eventUid++;
|
|
507
|
+
eventRegistry[uid] = {
|
|
508
|
+
selector: element,
|
|
509
|
+
handler: handler
|
|
510
|
+
};
|
|
511
|
+
handler._uid = uid;
|
|
512
|
+
element.addEventListener(event, handler, options);
|
|
513
|
+
},
|
|
514
|
+
delegate: function delegate(element, event, selector, handler) {
|
|
515
|
+
event = event.split(' ');
|
|
516
|
+
event.forEach(function (eventName) {
|
|
517
|
+
EventHandler.on(element, eventName, function (e) {
|
|
518
|
+
var target = e.target;
|
|
519
|
+
if (target.matches(selector)) {
|
|
520
|
+
handler.call(target, e);
|
|
521
|
+
}
|
|
522
|
+
});
|
|
523
|
+
});
|
|
524
|
+
},
|
|
525
|
+
off: function off(element, event, handler) {
|
|
526
|
+
var eventType = event.split(':')[1];
|
|
527
|
+
element.removeEventListener(eventType, handler);
|
|
528
|
+
delete eventRegistry[handler._uid];
|
|
529
|
+
},
|
|
530
|
+
flush: function flush() {
|
|
531
|
+
Object.keys(eventRegistry).forEach(function (event) {
|
|
532
|
+
EventHandler.off(eventRegistry[event].selector, event, eventRegistry[event].handler);
|
|
533
|
+
});
|
|
534
|
+
},
|
|
535
|
+
getEventRegistry: function getEventRegistry() {
|
|
536
|
+
return eventRegistry;
|
|
537
|
+
}
|
|
538
|
+
};
|
|
539
|
+
|
|
540
|
+
function setupContainerEvents() {
|
|
541
|
+
var _this = this;
|
|
542
|
+
var map = this;
|
|
543
|
+
var mouseDown = false;
|
|
544
|
+
var oldPageX;
|
|
545
|
+
var oldPageY;
|
|
546
|
+
if (this.params.draggable) {
|
|
547
|
+
EventHandler.on(this.container, 'mousemove', function (e) {
|
|
548
|
+
if (!mouseDown) {
|
|
549
|
+
return false;
|
|
550
|
+
}
|
|
551
|
+
map.transX -= (oldPageX - e.pageX) / map.scale;
|
|
552
|
+
map.transY -= (oldPageY - e.pageY) / map.scale;
|
|
553
|
+
map._applyTransform();
|
|
554
|
+
oldPageX = e.pageX;
|
|
555
|
+
oldPageY = e.pageY;
|
|
556
|
+
});
|
|
557
|
+
EventHandler.on(this.container, 'mousedown', function (e) {
|
|
558
|
+
mouseDown = true;
|
|
559
|
+
oldPageX = e.pageX;
|
|
560
|
+
oldPageY = e.pageY;
|
|
561
|
+
return false;
|
|
562
|
+
});
|
|
563
|
+
EventHandler.on(document.body, 'mouseup', function () {
|
|
564
|
+
mouseDown = false;
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
if (this.params.zoomOnScroll) {
|
|
568
|
+
EventHandler.on(this.container, 'wheel', function (event) {
|
|
569
|
+
var deltaY = ((event.deltaY || -event.wheelDelta || event.detail) >> 10 || 1) * 75;
|
|
570
|
+
var rect = _this.container.getBoundingClientRect();
|
|
571
|
+
var offsetX = event.pageX - rect.left - window.scrollX;
|
|
572
|
+
var offsetY = event.pageY - rect.top - window.scrollY;
|
|
573
|
+
var zoomStep = Math.pow(1 + map.params.zoomOnScrollSpeed / 1000, -1.5 * deltaY);
|
|
574
|
+
if (map.tooltip) {
|
|
575
|
+
map._tooltip.hide();
|
|
576
|
+
}
|
|
577
|
+
map._setScale(map.scale * zoomStep, offsetX, offsetY);
|
|
578
|
+
event.preventDefault();
|
|
579
|
+
});
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
var Events = {
|
|
584
|
+
onLoaded: 'map:loaded',
|
|
585
|
+
onViewportChange: 'viewport:changed',
|
|
586
|
+
onRegionClick: 'region:clicked',
|
|
587
|
+
onMarkerClick: 'marker:clicked',
|
|
588
|
+
onRegionSelected: 'region:selected',
|
|
589
|
+
onMarkerSelected: 'marker:selected',
|
|
590
|
+
onRegionTooltipShow: 'region.tooltip:show',
|
|
591
|
+
onMarkerTooltipShow: 'marker.tooltip:show',
|
|
592
|
+
onDestroyed: 'map:destroyed'
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
var parseEvent = function parseEvent(map, selector, isTooltip) {
|
|
596
|
+
var element = getElement(selector);
|
|
597
|
+
var type = element.getAttribute('class').indexOf('jvm-region') === -1 ? 'marker' : 'region';
|
|
598
|
+
var isRegion = type === 'region';
|
|
599
|
+
var code = isRegion ? element.getAttribute('data-code') : element.getAttribute('data-index');
|
|
600
|
+
var event = isRegion ? Events.onRegionSelected : Events.onMarkerSelected;
|
|
601
|
+
|
|
602
|
+
// Init tooltip event
|
|
603
|
+
if (isTooltip) {
|
|
604
|
+
event = isRegion ? Events.onRegionTooltipShow : Events.onMarkerTooltipShow;
|
|
605
|
+
}
|
|
606
|
+
return {
|
|
607
|
+
type: type,
|
|
608
|
+
code: code,
|
|
609
|
+
event: event,
|
|
610
|
+
element: isRegion ? map.regions[code].element : map._markers[code].element,
|
|
611
|
+
tooltipText: isRegion ? map._mapData.paths[code].name || '' : map._markers[code].config.name || ''
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
function setupElementEvents() {
|
|
615
|
+
var map = this;
|
|
616
|
+
var container = this.container;
|
|
617
|
+
var pageX, pageY, mouseMoved;
|
|
618
|
+
EventHandler.on(container, 'mousemove', function (event) {
|
|
619
|
+
if (Math.abs(pageX - event.pageX) + Math.abs(pageY - event.pageY) > 2) {
|
|
620
|
+
mouseMoved = true;
|
|
621
|
+
}
|
|
622
|
+
});
|
|
623
|
+
|
|
624
|
+
// When the mouse is pressed
|
|
625
|
+
EventHandler.delegate(container, 'mousedown', '.jvm-element', function (event) {
|
|
626
|
+
pageX = event.pageX;
|
|
627
|
+
pageY = event.pageY;
|
|
628
|
+
mouseMoved = false;
|
|
629
|
+
});
|
|
630
|
+
|
|
631
|
+
// When the mouse is over the region/marker | When the mouse is out the region/marker
|
|
632
|
+
EventHandler.delegate(container, 'mouseover mouseout', '.jvm-element', function (event) {
|
|
633
|
+
var data = parseEvent(map, this, true);
|
|
634
|
+
var showTooltip = map.params.showTooltip;
|
|
635
|
+
if (event.type === 'mouseover') {
|
|
636
|
+
data.element.hover(true);
|
|
637
|
+
if (showTooltip) {
|
|
638
|
+
map._tooltip.text(data.tooltipText);
|
|
639
|
+
map._emit(data.event, [event, map._tooltip, data.code]);
|
|
640
|
+
if (!event.defaultPrevented) {
|
|
641
|
+
map._tooltip.show();
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
} else {
|
|
645
|
+
data.element.hover(false);
|
|
646
|
+
if (showTooltip) {
|
|
647
|
+
map._tooltip.hide();
|
|
648
|
+
}
|
|
649
|
+
}
|
|
650
|
+
});
|
|
651
|
+
|
|
652
|
+
// When the click is released
|
|
653
|
+
EventHandler.delegate(container, 'mouseup', '.jvm-element', function (event) {
|
|
654
|
+
var data = parseEvent(map, this);
|
|
655
|
+
if (mouseMoved) {
|
|
656
|
+
return;
|
|
657
|
+
}
|
|
658
|
+
if (data.type === 'region' && map.params.regionsSelectable || data.type === 'marker' && map.params.markersSelectable) {
|
|
659
|
+
var element = data.element;
|
|
660
|
+
|
|
661
|
+
// We're checking if regions/markers|SelectableOne option is presented
|
|
662
|
+
if (map.params[data.type + "sSelectableOne"]) {
|
|
663
|
+
data.type === 'region' ? map.clearSelectedRegions() : map.clearSelectedMarkers();
|
|
664
|
+
}
|
|
665
|
+
if (data.element.isSelected) {
|
|
666
|
+
element.select(false);
|
|
667
|
+
} else {
|
|
668
|
+
element.select(true);
|
|
669
|
+
}
|
|
670
|
+
map._emit(data.event, [data.code, element.isSelected, data.type === 'region' ? map.getSelectedRegions() : map.getSelectedMarkers()]);
|
|
671
|
+
}
|
|
672
|
+
});
|
|
673
|
+
|
|
674
|
+
// When region/marker is clicked
|
|
675
|
+
EventHandler.delegate(container, 'click', '.jvm-element', function (event) {
|
|
676
|
+
var _parseEvent = parseEvent(map, this),
|
|
677
|
+
type = _parseEvent.type,
|
|
678
|
+
code = _parseEvent.code;
|
|
679
|
+
map._emit(type === 'region' ? Events.onRegionClick : Events.onMarkerClick, [event, code]);
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
function setupZoomButtons() {
|
|
684
|
+
var _this = this;
|
|
685
|
+
var zoomInOption = this.params.zoomInButton;
|
|
686
|
+
var zoomOutOption = this.params.zoomOutButton;
|
|
687
|
+
var getZoomButton = function getZoomButton(zoomOption) {
|
|
688
|
+
return typeof zoomOption === 'string' ? document.querySelector(zoomOption) : zoomOption;
|
|
689
|
+
};
|
|
690
|
+
var zoomIn = zoomInOption ? getZoomButton(zoomInOption) : createElement('div', 'jvm-zoom-btn jvm-zoomin', '+', true);
|
|
691
|
+
var zoomOut = zoomOutOption ? getZoomButton(zoomOutOption) : createElement('div', 'jvm-zoom-btn jvm-zoomout', '−', true);
|
|
692
|
+
if (!zoomInOption) {
|
|
693
|
+
this.container.appendChild(zoomIn);
|
|
694
|
+
}
|
|
695
|
+
if (!zoomOutOption) {
|
|
696
|
+
this.container.appendChild(zoomOut);
|
|
697
|
+
}
|
|
698
|
+
var handler = function handler(zoomin) {
|
|
699
|
+
if (zoomin === void 0) {
|
|
700
|
+
zoomin = true;
|
|
701
|
+
}
|
|
702
|
+
return function () {
|
|
703
|
+
return _this._setScale(zoomin ? _this.scale * _this.params.zoomStep : _this.scale / _this.params.zoomStep, _this._width / 2, _this._height / 2, false, _this.params.zoomAnimate);
|
|
704
|
+
};
|
|
705
|
+
};
|
|
706
|
+
EventHandler.on(zoomIn, 'click', handler());
|
|
707
|
+
EventHandler.on(zoomOut, 'click', handler(false));
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
function setupContainerTouchEvents() {
|
|
711
|
+
var map = this,
|
|
712
|
+
touchStartScale,
|
|
713
|
+
touchStartDistance,
|
|
714
|
+
touchX,
|
|
715
|
+
touchY,
|
|
716
|
+
centerTouchX,
|
|
717
|
+
centerTouchY,
|
|
718
|
+
lastTouchesLength;
|
|
719
|
+
var handleTouchEvent = function handleTouchEvent(e) {
|
|
720
|
+
var touches = e.touches;
|
|
721
|
+
var offset, scale, transXOld, transYOld;
|
|
722
|
+
if (e.type == 'touchstart') {
|
|
723
|
+
lastTouchesLength = 0;
|
|
724
|
+
}
|
|
725
|
+
if (touches.length == 1) {
|
|
726
|
+
if (lastTouchesLength == 1) {
|
|
727
|
+
var _map$_tooltip;
|
|
728
|
+
transXOld = map.transX;
|
|
729
|
+
transYOld = map.transY;
|
|
730
|
+
map.transX -= (touchX - touches[0].pageX) / map.scale;
|
|
731
|
+
map.transY -= (touchY - touches[0].pageY) / map.scale;
|
|
732
|
+
(_map$_tooltip = map._tooltip) == null || _map$_tooltip.hide();
|
|
733
|
+
map._applyTransform();
|
|
734
|
+
if (transXOld != map.transX || transYOld != map.transY) {
|
|
735
|
+
e.preventDefault();
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
touchX = touches[0].pageX;
|
|
739
|
+
touchY = touches[0].pageY;
|
|
740
|
+
} else if (touches.length == 2) {
|
|
741
|
+
if (lastTouchesLength == 2) {
|
|
742
|
+
var _map$_tooltip2;
|
|
743
|
+
scale = Math.sqrt(Math.pow(touches[0].pageX - touches[1].pageX, 2) + Math.pow(touches[0].pageY - touches[1].pageY, 2)) / touchStartDistance;
|
|
744
|
+
map._setScale(touchStartScale * scale, centerTouchX, centerTouchY);
|
|
745
|
+
(_map$_tooltip2 = map._tooltip) == null || _map$_tooltip2.hide();
|
|
746
|
+
e.preventDefault();
|
|
747
|
+
} else {
|
|
748
|
+
var rect = map.container.getBoundingClientRect();
|
|
749
|
+
offset = {
|
|
750
|
+
top: rect.top + window.scrollY,
|
|
751
|
+
left: rect.left + window.scrollX
|
|
752
|
+
};
|
|
753
|
+
if (touches[0].pageX > touches[1].pageX) {
|
|
754
|
+
centerTouchX = touches[1].pageX + (touches[0].pageX - touches[1].pageX) / 2;
|
|
755
|
+
} else {
|
|
756
|
+
centerTouchX = touches[0].pageX + (touches[1].pageX - touches[0].pageX) / 2;
|
|
757
|
+
}
|
|
758
|
+
if (touches[0].pageY > touches[1].pageY) {
|
|
759
|
+
centerTouchY = touches[1].pageY + (touches[0].pageY - touches[1].pageY) / 2;
|
|
760
|
+
} else {
|
|
761
|
+
centerTouchY = touches[0].pageY + (touches[1].pageY - touches[0].pageY) / 2;
|
|
762
|
+
}
|
|
763
|
+
centerTouchX -= offset.left;
|
|
764
|
+
centerTouchY -= offset.top;
|
|
765
|
+
touchStartScale = map.scale;
|
|
766
|
+
touchStartDistance = Math.sqrt(Math.pow(touches[0].pageX - touches[1].pageX, 2) + Math.pow(touches[0].pageY - touches[1].pageY, 2));
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
lastTouchesLength = touches.length;
|
|
770
|
+
};
|
|
771
|
+
EventHandler.on(map.container, 'touchstart', handleTouchEvent);
|
|
772
|
+
EventHandler.on(map.container, 'touchmove', handleTouchEvent);
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
function _arrayLikeToArray(r, a) {
|
|
776
|
+
(null == a || a > r.length) && (a = r.length);
|
|
777
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
778
|
+
return n;
|
|
779
|
+
}
|
|
780
|
+
function _assertThisInitialized(e) {
|
|
781
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
782
|
+
return e;
|
|
783
|
+
}
|
|
784
|
+
function _defineProperties(e, r) {
|
|
785
|
+
for (var t = 0; t < r.length; t++) {
|
|
786
|
+
var o = r[t];
|
|
787
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
function _createClass(e, r, t) {
|
|
791
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
792
|
+
writable: !1
|
|
793
|
+
}), e;
|
|
794
|
+
}
|
|
795
|
+
function _createForOfIteratorHelperLoose(r, e) {
|
|
796
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
797
|
+
if (t) return (t = t.call(r)).next.bind(t);
|
|
798
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
799
|
+
t && (r = t);
|
|
800
|
+
var o = 0;
|
|
801
|
+
return function () {
|
|
802
|
+
return o >= r.length ? {
|
|
803
|
+
done: !0
|
|
804
|
+
} : {
|
|
805
|
+
done: !1,
|
|
806
|
+
value: r[o++]
|
|
807
|
+
};
|
|
808
|
+
};
|
|
809
|
+
}
|
|
810
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
811
|
+
}
|
|
812
|
+
function _extends() {
|
|
813
|
+
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
|
814
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
815
|
+
var t = arguments[e];
|
|
816
|
+
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
|
817
|
+
}
|
|
818
|
+
return n;
|
|
819
|
+
}, _extends.apply(null, arguments);
|
|
820
|
+
}
|
|
821
|
+
function _inheritsLoose(t, o) {
|
|
822
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
823
|
+
}
|
|
824
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
825
|
+
if (null == r) return {};
|
|
826
|
+
var t = {};
|
|
827
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
828
|
+
if (-1 !== e.indexOf(n)) continue;
|
|
829
|
+
t[n] = r[n];
|
|
830
|
+
}
|
|
831
|
+
return t;
|
|
832
|
+
}
|
|
833
|
+
function _setPrototypeOf(t, e) {
|
|
834
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
835
|
+
return t.__proto__ = e, t;
|
|
836
|
+
}, _setPrototypeOf(t, e);
|
|
837
|
+
}
|
|
838
|
+
function _toPrimitive(t, r) {
|
|
839
|
+
if ("object" != typeof t || !t) return t;
|
|
840
|
+
var e = t[Symbol.toPrimitive];
|
|
841
|
+
if (void 0 !== e) {
|
|
842
|
+
var i = e.call(t, r || "default");
|
|
843
|
+
if ("object" != typeof i) return i;
|
|
844
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
845
|
+
}
|
|
846
|
+
return ("string" === r ? String : Number)(t);
|
|
847
|
+
}
|
|
848
|
+
function _toPropertyKey(t) {
|
|
849
|
+
var i = _toPrimitive(t, "string");
|
|
850
|
+
return "symbol" == typeof i ? i : i + "";
|
|
851
|
+
}
|
|
852
|
+
function _unsupportedIterableToArray(r, a) {
|
|
853
|
+
if (r) {
|
|
854
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
855
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
856
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
var BaseComponent = /*#__PURE__*/function () {
|
|
861
|
+
function BaseComponent() {}
|
|
862
|
+
var _proto = BaseComponent.prototype;
|
|
863
|
+
_proto.dispose = function dispose() {
|
|
864
|
+
if (this._tooltip) {
|
|
865
|
+
removeElement(this._tooltip);
|
|
866
|
+
} else {
|
|
867
|
+
// @todo: move shape in base component in v2
|
|
868
|
+
this.shape.remove();
|
|
869
|
+
}
|
|
870
|
+
for (var _iterator = _createForOfIteratorHelperLoose(Object.getOwnPropertyNames(this)), _step; !(_step = _iterator()).done;) {
|
|
871
|
+
var propertyName = _step.value;
|
|
872
|
+
this[propertyName] = null;
|
|
873
|
+
}
|
|
874
|
+
};
|
|
875
|
+
return BaseComponent;
|
|
876
|
+
}();
|
|
877
|
+
|
|
878
|
+
var Interactable = {
|
|
879
|
+
getLabelText: function getLabelText(key, label) {
|
|
880
|
+
if (!label) {
|
|
881
|
+
return;
|
|
882
|
+
}
|
|
883
|
+
if (typeof label.render === 'function') {
|
|
884
|
+
var params = [];
|
|
885
|
+
|
|
886
|
+
// Pass additional paramater (Marker config object) in case it's a Marker.
|
|
887
|
+
if (this.constructor.Name === 'marker') {
|
|
888
|
+
params.push(this.getConfig());
|
|
889
|
+
}
|
|
890
|
+
|
|
891
|
+
// Becuase we need to add the key always at the end
|
|
892
|
+
params.push(key);
|
|
893
|
+
return label.render.apply(this, params);
|
|
894
|
+
}
|
|
895
|
+
return key;
|
|
896
|
+
},
|
|
897
|
+
getLabelOffsets: function getLabelOffsets(key, label) {
|
|
898
|
+
if (typeof label.offsets === 'function') {
|
|
899
|
+
return label.offsets(key);
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
// If offsets are an array of offsets e.g offsets: [ [0, 25], [10, 15] ]
|
|
903
|
+
if (Array.isArray(label.offsets)) {
|
|
904
|
+
return label.offsets[key];
|
|
905
|
+
}
|
|
906
|
+
return [0, 0];
|
|
907
|
+
},
|
|
908
|
+
setStyle: function setStyle(property, value) {
|
|
909
|
+
this.shape.setStyle(property, value);
|
|
910
|
+
},
|
|
911
|
+
remove: function remove() {
|
|
912
|
+
this.shape.remove();
|
|
913
|
+
if (this.label) this.label.remove();
|
|
914
|
+
},
|
|
915
|
+
hover: function hover(state) {
|
|
916
|
+
this._setStatus('isHovered', state);
|
|
917
|
+
},
|
|
918
|
+
select: function select(state) {
|
|
919
|
+
this._setStatus('isSelected', state);
|
|
920
|
+
},
|
|
921
|
+
// Private
|
|
922
|
+
_setStatus: function _setStatus(property, state) {
|
|
923
|
+
this.shape[property] = state;
|
|
924
|
+
this.shape.updateStyle();
|
|
925
|
+
this[property] = state;
|
|
926
|
+
if (this.label) {
|
|
927
|
+
this.label[property] = state;
|
|
928
|
+
this.label.updateStyle();
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
var Region = /*#__PURE__*/function (_BaseComponent) {
|
|
934
|
+
function Region(_ref) {
|
|
935
|
+
var _this;
|
|
936
|
+
var map = _ref.map,
|
|
937
|
+
code = _ref.code,
|
|
938
|
+
path = _ref.path,
|
|
939
|
+
style = _ref.style,
|
|
940
|
+
label = _ref.label,
|
|
941
|
+
labelStyle = _ref.labelStyle,
|
|
942
|
+
labelsGroup = _ref.labelsGroup;
|
|
943
|
+
_this = _BaseComponent.call(this) || this;
|
|
944
|
+
_this._map = map;
|
|
945
|
+
_this.shape = _this._createRegion(path, code, style);
|
|
946
|
+
var text = _this.getLabelText(code, label);
|
|
947
|
+
|
|
948
|
+
// If label is passed and render function returns something
|
|
949
|
+
if (label && text) {
|
|
950
|
+
var bbox = _this.shape.getBBox();
|
|
951
|
+
var offsets = _this.getLabelOffsets(code, label);
|
|
952
|
+
_this.labelX = bbox.x + bbox.width / 2 + offsets[0];
|
|
953
|
+
_this.labelY = bbox.y + bbox.height / 2 + offsets[1];
|
|
954
|
+
_this.label = _this._map.canvas.createText({
|
|
955
|
+
text: text,
|
|
956
|
+
textAnchor: 'middle',
|
|
957
|
+
alignmentBaseline: 'central',
|
|
958
|
+
dataCode: code,
|
|
959
|
+
x: _this.labelX,
|
|
960
|
+
y: _this.labelY
|
|
961
|
+
}, labelStyle, labelsGroup);
|
|
962
|
+
_this.label.addClass('jvm-region jvm-element');
|
|
963
|
+
}
|
|
964
|
+
return _this;
|
|
965
|
+
}
|
|
966
|
+
_inheritsLoose(Region, _BaseComponent);
|
|
967
|
+
var _proto = Region.prototype;
|
|
968
|
+
_proto._createRegion = function _createRegion(path, code, style) {
|
|
969
|
+
path = this._map.canvas.createPath({
|
|
970
|
+
d: path,
|
|
971
|
+
dataCode: code
|
|
972
|
+
}, style);
|
|
973
|
+
path.addClass('jvm-region jvm-element');
|
|
974
|
+
return path;
|
|
975
|
+
};
|
|
976
|
+
_proto.updateLabelPosition = function updateLabelPosition() {
|
|
977
|
+
if (this.label) {
|
|
978
|
+
this.label.set({
|
|
979
|
+
x: this.labelX * this._map.scale + this._map.transX * this._map.scale,
|
|
980
|
+
y: this.labelY * this._map.scale + this._map.transY * this._map.scale
|
|
981
|
+
});
|
|
982
|
+
}
|
|
983
|
+
};
|
|
984
|
+
return Region;
|
|
985
|
+
}(BaseComponent);
|
|
986
|
+
inherit(Region, Interactable);
|
|
987
|
+
|
|
988
|
+
function createRegions() {
|
|
989
|
+
this._regionLabelsGroup = this._regionLabelsGroup || this.canvas.createGroup('jvm-regions-labels-group');
|
|
990
|
+
for (var code in this._mapData.paths) {
|
|
991
|
+
var region = new Region({
|
|
992
|
+
map: this,
|
|
993
|
+
code: code,
|
|
994
|
+
path: this._mapData.paths[code].path,
|
|
995
|
+
style: merge({}, this.params.regionStyle),
|
|
996
|
+
labelStyle: this.params.regionLabelStyle,
|
|
997
|
+
labelsGroup: this._regionLabelsGroup,
|
|
998
|
+
label: this.params.labels && this.params.labels.regions
|
|
999
|
+
});
|
|
1000
|
+
this.regions[code] = {
|
|
1001
|
+
config: this._mapData.paths[code],
|
|
1002
|
+
element: region
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
var LINE_CLASS = 'jvm-line';
|
|
1008
|
+
var Line = /*#__PURE__*/function (_BaseComponent) {
|
|
1009
|
+
function Line(options, style) {
|
|
1010
|
+
var _this;
|
|
1011
|
+
_this = _BaseComponent.call(this) || this;
|
|
1012
|
+
_this._options = options;
|
|
1013
|
+
_this._style = {
|
|
1014
|
+
initial: style
|
|
1015
|
+
};
|
|
1016
|
+
_this._draw();
|
|
1017
|
+
return _this;
|
|
1018
|
+
}
|
|
1019
|
+
_inheritsLoose(Line, _BaseComponent);
|
|
1020
|
+
var _proto = Line.prototype;
|
|
1021
|
+
_proto.setStyle = function setStyle(property, value) {
|
|
1022
|
+
this.shape.setStyle(property, value);
|
|
1023
|
+
};
|
|
1024
|
+
_proto.getConfig = function getConfig() {
|
|
1025
|
+
return this._options.config;
|
|
1026
|
+
};
|
|
1027
|
+
_proto._draw = function _draw() {
|
|
1028
|
+
var _this$_options = this._options,
|
|
1029
|
+
index = _this$_options.index,
|
|
1030
|
+
group = _this$_options.group,
|
|
1031
|
+
map = _this$_options.map;
|
|
1032
|
+
var config = {
|
|
1033
|
+
d: this._getDAttribute(),
|
|
1034
|
+
fill: 'none',
|
|
1035
|
+
dataIndex: index
|
|
1036
|
+
};
|
|
1037
|
+
this.shape = map.canvas.createPath(config, this._style, group);
|
|
1038
|
+
this.shape.addClass(LINE_CLASS);
|
|
1039
|
+
};
|
|
1040
|
+
_proto._getDAttribute = function _getDAttribute() {
|
|
1041
|
+
var _this$_options2 = this._options,
|
|
1042
|
+
x1 = _this$_options2.x1,
|
|
1043
|
+
y1 = _this$_options2.y1,
|
|
1044
|
+
x2 = _this$_options2.x2,
|
|
1045
|
+
y2 = _this$_options2.y2,
|
|
1046
|
+
curvature = _this$_options2.curvature;
|
|
1047
|
+
return "M" + x1 + "," + y1 + this._getQCommand(x1, y1, x2, y2, curvature) + x2 + "," + y2;
|
|
1048
|
+
};
|
|
1049
|
+
_proto._getQCommand = function _getQCommand(x1, y1, x2, y2, curvature) {
|
|
1050
|
+
if (!curvature) {
|
|
1051
|
+
return ' ';
|
|
1052
|
+
}
|
|
1053
|
+
var curveX = (x1 + x2) / 2 + curvature * (y2 - y1);
|
|
1054
|
+
var curveY = (y1 + y2) / 2 - curvature * (x2 - x1);
|
|
1055
|
+
return " Q" + curveX + "," + curveY + " ";
|
|
1056
|
+
};
|
|
1057
|
+
return Line;
|
|
1058
|
+
}(BaseComponent);
|
|
1059
|
+
|
|
1060
|
+
var _excluded = ["curvature"],
|
|
1061
|
+
_excluded2 = ["curvature"];
|
|
1062
|
+
function createLines(lines) {
|
|
1063
|
+
var point1 = false,
|
|
1064
|
+
point2 = false;
|
|
1065
|
+
var _this$params$lineStyl = this.params.lineStyle,
|
|
1066
|
+
curvature = _this$params$lineStyl.curvature,
|
|
1067
|
+
lineStyle = _objectWithoutPropertiesLoose(_this$params$lineStyl, _excluded);
|
|
1068
|
+
for (var index in lines) {
|
|
1069
|
+
var lineConfig = lines[index];
|
|
1070
|
+
for (var _i = 0, _Object$values = Object.values(this._markers); _i < _Object$values.length; _i++) {
|
|
1071
|
+
var markerConfig = _Object$values[_i].config;
|
|
1072
|
+
if (markerConfig.name === lineConfig.from) {
|
|
1073
|
+
point1 = this.getMarkerPosition(markerConfig);
|
|
1074
|
+
}
|
|
1075
|
+
if (markerConfig.name === lineConfig.to) {
|
|
1076
|
+
point2 = this.getMarkerPosition(markerConfig);
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
if (point1 !== false && point2 !== false) {
|
|
1080
|
+
var _ref = lineConfig.style || {},
|
|
1081
|
+
curvatureOption = _ref.curvature,
|
|
1082
|
+
style = _objectWithoutPropertiesLoose(_ref, _excluded2);
|
|
1083
|
+
|
|
1084
|
+
// Register lines with unique keys
|
|
1085
|
+
this._lines[getLineUid(lineConfig.from, lineConfig.to)] = new Line({
|
|
1086
|
+
index: index,
|
|
1087
|
+
map: this,
|
|
1088
|
+
group: this._linesGroup,
|
|
1089
|
+
config: lineConfig,
|
|
1090
|
+
x1: point1.x,
|
|
1091
|
+
y1: point1.y,
|
|
1092
|
+
x2: point2.x,
|
|
1093
|
+
y2: point2.y,
|
|
1094
|
+
curvature: curvatureOption == 0 ? 0 : curvatureOption || curvature
|
|
1095
|
+
}, merge(lineStyle, style, true));
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
var NAME = 'marker';
|
|
1101
|
+
var JVM_PREFIX$1 = 'jvm-';
|
|
1102
|
+
var MARKER_CLASS = JVM_PREFIX$1 + "element " + JVM_PREFIX$1 + "marker";
|
|
1103
|
+
var MARKER_LABEL_CLASS = JVM_PREFIX$1 + "element " + JVM_PREFIX$1 + "label";
|
|
1104
|
+
var Marker = /*#__PURE__*/function (_BaseComponent) {
|
|
1105
|
+
function Marker(options, style) {
|
|
1106
|
+
var _this;
|
|
1107
|
+
_this = _BaseComponent.call(this) || this;
|
|
1108
|
+
_this._options = options;
|
|
1109
|
+
_this._style = style;
|
|
1110
|
+
_this._labelX = null;
|
|
1111
|
+
_this._labelY = null;
|
|
1112
|
+
_this._offsets = null;
|
|
1113
|
+
_this._isImage = !!style.initial.image;
|
|
1114
|
+
_this._draw();
|
|
1115
|
+
if (_this._options.label) {
|
|
1116
|
+
_this._drawLabel();
|
|
1117
|
+
}
|
|
1118
|
+
if (_this._isImage) {
|
|
1119
|
+
_this.updateLabelPosition();
|
|
1120
|
+
}
|
|
1121
|
+
return _this;
|
|
1122
|
+
}
|
|
1123
|
+
_inheritsLoose(Marker, _BaseComponent);
|
|
1124
|
+
var _proto = Marker.prototype;
|
|
1125
|
+
_proto.getConfig = function getConfig() {
|
|
1126
|
+
return this._options.config;
|
|
1127
|
+
};
|
|
1128
|
+
_proto.updateLabelPosition = function updateLabelPosition() {
|
|
1129
|
+
var map = this._options.map;
|
|
1130
|
+
if (this.label) {
|
|
1131
|
+
this.label.set({
|
|
1132
|
+
x: this._labelX * map.scale + this._offsets[0] + map.transX * map.scale + 5 + (this._isImage ? (this.shape.width || 0) / 2 : this.shape.node.r.baseVal.value),
|
|
1133
|
+
y: this._labelY * map.scale + map.transY * this._options.map.scale + this._offsets[1]
|
|
1134
|
+
});
|
|
1135
|
+
}
|
|
1136
|
+
};
|
|
1137
|
+
_proto._draw = function _draw() {
|
|
1138
|
+
var _this$_options = this._options,
|
|
1139
|
+
index = _this$_options.index,
|
|
1140
|
+
map = _this$_options.map,
|
|
1141
|
+
group = _this$_options.group,
|
|
1142
|
+
cx = _this$_options.cx,
|
|
1143
|
+
cy = _this$_options.cy;
|
|
1144
|
+
var shapeType = this._isImage ? 'createImage' : 'createCircle';
|
|
1145
|
+
this.shape = map.canvas[shapeType]({
|
|
1146
|
+
dataIndex: index,
|
|
1147
|
+
cx: cx,
|
|
1148
|
+
cy: cy
|
|
1149
|
+
}, this._style, group);
|
|
1150
|
+
this.shape.addClass(MARKER_CLASS);
|
|
1151
|
+
};
|
|
1152
|
+
_proto._drawLabel = function _drawLabel() {
|
|
1153
|
+
var _this$_options2 = this._options,
|
|
1154
|
+
index = _this$_options2.index,
|
|
1155
|
+
map = _this$_options2.map,
|
|
1156
|
+
label = _this$_options2.label,
|
|
1157
|
+
labelsGroup = _this$_options2.labelsGroup,
|
|
1158
|
+
cx = _this$_options2.cx,
|
|
1159
|
+
cy = _this$_options2.cy,
|
|
1160
|
+
config = _this$_options2.config,
|
|
1161
|
+
isRecentlyCreated = _this$_options2.isRecentlyCreated;
|
|
1162
|
+
var labelText = this.getLabelText(index, label);
|
|
1163
|
+
this._labelX = cx / map.scale - map.transX;
|
|
1164
|
+
this._labelY = cy / map.scale - map.transY;
|
|
1165
|
+
this._offsets = isRecentlyCreated && config.offsets ? config.offsets : this.getLabelOffsets(index, label);
|
|
1166
|
+
this.label = map.canvas.createText({
|
|
1167
|
+
text: labelText,
|
|
1168
|
+
dataIndex: index,
|
|
1169
|
+
x: this._labelX,
|
|
1170
|
+
y: this._labelY,
|
|
1171
|
+
dy: '0.6ex'
|
|
1172
|
+
}, map.params.markerLabelStyle, labelsGroup);
|
|
1173
|
+
this.label.addClass(MARKER_LABEL_CLASS);
|
|
1174
|
+
if (isRecentlyCreated) {
|
|
1175
|
+
this.updateLabelPosition();
|
|
1176
|
+
}
|
|
1177
|
+
};
|
|
1178
|
+
return _createClass(Marker, null, [{
|
|
1179
|
+
key: "Name",
|
|
1180
|
+
get: function get() {
|
|
1181
|
+
return NAME;
|
|
1182
|
+
}
|
|
1183
|
+
}]);
|
|
1184
|
+
}(BaseComponent);
|
|
1185
|
+
inherit(Marker, Interactable);
|
|
1186
|
+
|
|
1187
|
+
function createMarkers(markers, isRecentlyCreated) {
|
|
1188
|
+
var _this = this;
|
|
1189
|
+
if (markers === void 0) {
|
|
1190
|
+
markers = {};
|
|
1191
|
+
}
|
|
1192
|
+
if (isRecentlyCreated === void 0) {
|
|
1193
|
+
isRecentlyCreated = false;
|
|
1194
|
+
}
|
|
1195
|
+
var _loop = function _loop() {
|
|
1196
|
+
var config = markers[index];
|
|
1197
|
+
var point = _this.getMarkerPosition(config);
|
|
1198
|
+
var uid = config.coords.join(':');
|
|
1199
|
+
if (!point) {
|
|
1200
|
+
return 0; // continue
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
// We're checking if recently created marker does already exist
|
|
1204
|
+
// If it does we don't need to create it again, so we'll continue
|
|
1205
|
+
// Becuase we may have more than one marker submitted via `addMarkers` method.
|
|
1206
|
+
if (isRecentlyCreated) {
|
|
1207
|
+
if (Object.keys(_this._markers).filter(function (i) {
|
|
1208
|
+
return _this._markers[i]._uid === uid;
|
|
1209
|
+
}).length) {
|
|
1210
|
+
return 0; // continue
|
|
1211
|
+
}
|
|
1212
|
+
index = Object.keys(_this._markers).length;
|
|
1213
|
+
}
|
|
1214
|
+
var marker = new Marker({
|
|
1215
|
+
index: index,
|
|
1216
|
+
map: _this,
|
|
1217
|
+
label: _this.params.labels && _this.params.labels.markers,
|
|
1218
|
+
labelsGroup: _this._markerLabelsGroup,
|
|
1219
|
+
cx: point.x,
|
|
1220
|
+
cy: point.y,
|
|
1221
|
+
group: _this._markersGroup,
|
|
1222
|
+
config: config,
|
|
1223
|
+
isRecentlyCreated: isRecentlyCreated
|
|
1224
|
+
}, merge(_this.params.markerStyle, _extends({}, config.style || {}), true));
|
|
1225
|
+
|
|
1226
|
+
// Check for marker duplication
|
|
1227
|
+
// this is useful when for example: a user clicks a button for creating marker two times
|
|
1228
|
+
// so it will remove the old one and the new one will take its place.
|
|
1229
|
+
if (_this._markers[index]) {
|
|
1230
|
+
_this.removeMarkers([index]);
|
|
1231
|
+
}
|
|
1232
|
+
_this._markers[index] = {
|
|
1233
|
+
_uid: uid,
|
|
1234
|
+
config: config,
|
|
1235
|
+
element: marker
|
|
1236
|
+
};
|
|
1237
|
+
},
|
|
1238
|
+
_ret;
|
|
1239
|
+
for (var index in markers) {
|
|
1240
|
+
_ret = _loop();
|
|
1241
|
+
if (_ret === 0) continue;
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
var Legend = /*#__PURE__*/function () {
|
|
1246
|
+
function Legend(options) {
|
|
1247
|
+
if (options === void 0) {
|
|
1248
|
+
options = {};
|
|
1249
|
+
}
|
|
1250
|
+
this._options = options;
|
|
1251
|
+
this._map = this._options.map;
|
|
1252
|
+
this._series = this._options.series;
|
|
1253
|
+
this._body = createElement('div', 'jvm-legend');
|
|
1254
|
+
if (this._options.cssClass) {
|
|
1255
|
+
this._body.setAttribute('class', this._options.cssClass);
|
|
1256
|
+
}
|
|
1257
|
+
if (options.vertical) {
|
|
1258
|
+
this._map.legendVertical.appendChild(this._body);
|
|
1259
|
+
} else {
|
|
1260
|
+
this._map.legendHorizontal.appendChild(this._body);
|
|
1261
|
+
}
|
|
1262
|
+
this.render();
|
|
1263
|
+
}
|
|
1264
|
+
var _proto = Legend.prototype;
|
|
1265
|
+
_proto.render = function render() {
|
|
1266
|
+
var ticks = this._series.scale.getTicks();
|
|
1267
|
+
this._body.innderHTML = '';
|
|
1268
|
+
if (this._options.title) {
|
|
1269
|
+
var legendTitle = createElement('div', 'jvm-legend-title', this._options.title);
|
|
1270
|
+
this._body.appendChild(legendTitle);
|
|
1271
|
+
}
|
|
1272
|
+
for (var i = 0; i < ticks.length; i++) {
|
|
1273
|
+
var tick = createElement('div', 'jvm-legend-tick');
|
|
1274
|
+
var sample = createElement('div', 'jvm-legend-tick-sample');
|
|
1275
|
+
switch (this._series.config.attribute) {
|
|
1276
|
+
case 'fill':
|
|
1277
|
+
if (isImageUrl(ticks[i].value)) {
|
|
1278
|
+
sample.style.background = "url(" + ticks[i].value + ")";
|
|
1279
|
+
} else {
|
|
1280
|
+
sample.style.background = ticks[i].value;
|
|
1281
|
+
}
|
|
1282
|
+
break;
|
|
1283
|
+
case 'stroke':
|
|
1284
|
+
sample.style.background = ticks[i].value;
|
|
1285
|
+
break;
|
|
1286
|
+
case 'image':
|
|
1287
|
+
sample.style.background = "url(" + (typeof ticks[i].value === 'object' ? ticks[i].value.url : ticks[i].value) + ") no-repeat center center";
|
|
1288
|
+
sample.style.backgroundSize = 'cover';
|
|
1289
|
+
break;
|
|
1290
|
+
}
|
|
1291
|
+
tick.appendChild(sample);
|
|
1292
|
+
var label = ticks[i].label;
|
|
1293
|
+
if (this._options.labelRender) {
|
|
1294
|
+
label = this._options.labelRender(label);
|
|
1295
|
+
}
|
|
1296
|
+
var tickText = createElement('div', 'jvm-legend-tick-text', label);
|
|
1297
|
+
tick.appendChild(tickText);
|
|
1298
|
+
this._body.appendChild(tick);
|
|
1299
|
+
}
|
|
1300
|
+
};
|
|
1301
|
+
return Legend;
|
|
1302
|
+
}();
|
|
1303
|
+
|
|
1304
|
+
var OrdinalScale = /*#__PURE__*/function () {
|
|
1305
|
+
function OrdinalScale(scale) {
|
|
1306
|
+
this._scale = scale;
|
|
1307
|
+
}
|
|
1308
|
+
var _proto = OrdinalScale.prototype;
|
|
1309
|
+
_proto.getValue = function getValue(value) {
|
|
1310
|
+
return this._scale[value];
|
|
1311
|
+
};
|
|
1312
|
+
_proto.getTicks = function getTicks() {
|
|
1313
|
+
var ticks = [];
|
|
1314
|
+
for (var key in this._scale) {
|
|
1315
|
+
ticks.push({
|
|
1316
|
+
label: key,
|
|
1317
|
+
value: this._scale[key]
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
return ticks;
|
|
1321
|
+
};
|
|
1322
|
+
return OrdinalScale;
|
|
1323
|
+
}();
|
|
1324
|
+
|
|
1325
|
+
var Series = /*#__PURE__*/function () {
|
|
1326
|
+
function Series(config, elements, map) {
|
|
1327
|
+
if (config === void 0) {
|
|
1328
|
+
config = {};
|
|
1329
|
+
}
|
|
1330
|
+
// Private
|
|
1331
|
+
this._map = map;
|
|
1332
|
+
this._elements = elements; // Could be markers or regions
|
|
1333
|
+
this._values = config.values || {};
|
|
1334
|
+
|
|
1335
|
+
// Protected
|
|
1336
|
+
this.config = config;
|
|
1337
|
+
this.config.attribute = config.attribute || 'fill';
|
|
1338
|
+
|
|
1339
|
+
// Set initial attributes
|
|
1340
|
+
if (config.attributes) {
|
|
1341
|
+
this.setAttributes(config.attributes);
|
|
1342
|
+
}
|
|
1343
|
+
if (typeof config.scale === 'object') {
|
|
1344
|
+
this.scale = new OrdinalScale(config.scale);
|
|
1345
|
+
}
|
|
1346
|
+
if (this.config.legend) {
|
|
1347
|
+
this.legend = new Legend(merge({
|
|
1348
|
+
map: this._map,
|
|
1349
|
+
series: this
|
|
1350
|
+
}, this.config.legend));
|
|
1351
|
+
}
|
|
1352
|
+
this.setValues(this._values);
|
|
1353
|
+
}
|
|
1354
|
+
var _proto = Series.prototype;
|
|
1355
|
+
_proto.setValues = function setValues(values) {
|
|
1356
|
+
var attrs = {};
|
|
1357
|
+
for (var key in values) {
|
|
1358
|
+
if (values[key]) {
|
|
1359
|
+
attrs[key] = this.scale.getValue(values[key]);
|
|
1360
|
+
}
|
|
1361
|
+
}
|
|
1362
|
+
this.setAttributes(attrs);
|
|
1363
|
+
};
|
|
1364
|
+
_proto.setAttributes = function setAttributes(attrs) {
|
|
1365
|
+
for (var code in attrs) {
|
|
1366
|
+
if (this._elements[code]) {
|
|
1367
|
+
this._elements[code].element.setStyle(this.config.attribute, attrs[code]);
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
};
|
|
1371
|
+
_proto.clear = function clear() {
|
|
1372
|
+
var key,
|
|
1373
|
+
attrs = {};
|
|
1374
|
+
for (key in this._values) {
|
|
1375
|
+
if (this._elements[key]) {
|
|
1376
|
+
attrs[key] = this._elements[key].element.shape.style.initial[this.config.attribute];
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
this.setAttributes(attrs);
|
|
1380
|
+
this._values = {};
|
|
1381
|
+
};
|
|
1382
|
+
return Series;
|
|
1383
|
+
}();
|
|
1384
|
+
|
|
1385
|
+
function createSeries() {
|
|
1386
|
+
this.series = {
|
|
1387
|
+
markers: [],
|
|
1388
|
+
regions: []
|
|
1389
|
+
};
|
|
1390
|
+
for (var key in this.params.series) {
|
|
1391
|
+
for (var i = 0; i < this.params.series[key].length; i++) {
|
|
1392
|
+
this.series[key][i] = new Series(this.params.series[key][i], key === 'markers' ? this._markers : this.regions, this);
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
function applyTransform() {
|
|
1398
|
+
var maxTransX, maxTransY, minTransX, minTransY;
|
|
1399
|
+
if (this._defaultWidth * this.scale <= this._width) {
|
|
1400
|
+
maxTransX = (this._width - this._defaultWidth * this.scale) / (2 * this.scale);
|
|
1401
|
+
minTransX = (this._width - this._defaultWidth * this.scale) / (2 * this.scale);
|
|
1402
|
+
} else {
|
|
1403
|
+
maxTransX = 0;
|
|
1404
|
+
minTransX = (this._width - this._defaultWidth * this.scale) / this.scale;
|
|
1405
|
+
}
|
|
1406
|
+
if (this._defaultHeight * this.scale <= this._height) {
|
|
1407
|
+
maxTransY = (this._height - this._defaultHeight * this.scale) / (2 * this.scale);
|
|
1408
|
+
minTransY = (this._height - this._defaultHeight * this.scale) / (2 * this.scale);
|
|
1409
|
+
} else {
|
|
1410
|
+
maxTransY = 0;
|
|
1411
|
+
minTransY = (this._height - this._defaultHeight * this.scale) / this.scale;
|
|
1412
|
+
}
|
|
1413
|
+
if (this.transY > maxTransY) {
|
|
1414
|
+
this.transY = maxTransY;
|
|
1415
|
+
} else if (this.transY < minTransY) {
|
|
1416
|
+
this.transY = minTransY;
|
|
1417
|
+
}
|
|
1418
|
+
if (this.transX > maxTransX) {
|
|
1419
|
+
this.transX = maxTransX;
|
|
1420
|
+
} else if (this.transX < minTransX) {
|
|
1421
|
+
this.transX = minTransX;
|
|
1422
|
+
}
|
|
1423
|
+
this.canvas.applyTransformParams(this.scale, this.transX, this.transY);
|
|
1424
|
+
if (this._markers) {
|
|
1425
|
+
this._repositionMarkers();
|
|
1426
|
+
}
|
|
1427
|
+
if (this._lines) {
|
|
1428
|
+
this._repositionLines();
|
|
1429
|
+
}
|
|
1430
|
+
this._repositionLabels();
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
function resize() {
|
|
1434
|
+
var curBaseScale = this._baseScale;
|
|
1435
|
+
if (this._width / this._height > this._defaultWidth / this._defaultHeight) {
|
|
1436
|
+
this._baseScale = this._height / this._defaultHeight;
|
|
1437
|
+
this._baseTransX = Math.abs(this._width - this._defaultWidth * this._baseScale) / (2 * this._baseScale);
|
|
1438
|
+
} else {
|
|
1439
|
+
this._baseScale = this._width / this._defaultWidth;
|
|
1440
|
+
this._baseTransY = Math.abs(this._height - this._defaultHeight * this._baseScale) / (2 * this._baseScale);
|
|
1441
|
+
}
|
|
1442
|
+
this.scale *= this._baseScale / curBaseScale;
|
|
1443
|
+
this.transX *= this._baseScale / curBaseScale;
|
|
1444
|
+
this.transY *= this._baseScale / curBaseScale;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
function setScale(scale, anchorX, anchorY, isCentered, animate) {
|
|
1448
|
+
var _this = this;
|
|
1449
|
+
var zoomStep,
|
|
1450
|
+
interval,
|
|
1451
|
+
i = 0,
|
|
1452
|
+
count = Math.abs(Math.round((scale - this.scale) * 60 / Math.max(scale, this.scale))),
|
|
1453
|
+
scaleStart,
|
|
1454
|
+
scaleDiff,
|
|
1455
|
+
transXStart,
|
|
1456
|
+
transXDiff,
|
|
1457
|
+
transYStart,
|
|
1458
|
+
transYDiff,
|
|
1459
|
+
transX,
|
|
1460
|
+
transY;
|
|
1461
|
+
if (scale > this.params.zoomMax * this._baseScale) {
|
|
1462
|
+
scale = this.params.zoomMax * this._baseScale;
|
|
1463
|
+
} else if (scale < this.params.zoomMin * this._baseScale) {
|
|
1464
|
+
scale = this.params.zoomMin * this._baseScale;
|
|
1465
|
+
}
|
|
1466
|
+
if (typeof anchorX != 'undefined' && typeof anchorY != 'undefined') {
|
|
1467
|
+
zoomStep = scale / this.scale;
|
|
1468
|
+
if (isCentered) {
|
|
1469
|
+
transX = anchorX + this._defaultWidth * (this._width / (this._defaultWidth * scale)) / 2;
|
|
1470
|
+
transY = anchorY + this._defaultHeight * (this._height / (this._defaultHeight * scale)) / 2;
|
|
1471
|
+
} else {
|
|
1472
|
+
transX = this.transX - (zoomStep - 1) / scale * anchorX;
|
|
1473
|
+
transY = this.transY - (zoomStep - 1) / scale * anchorY;
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
if (animate && count > 0) {
|
|
1477
|
+
scaleStart = this.scale;
|
|
1478
|
+
scaleDiff = (scale - scaleStart) / count;
|
|
1479
|
+
transXStart = this.transX * this.scale;
|
|
1480
|
+
transYStart = this.transY * this.scale;
|
|
1481
|
+
transXDiff = (transX * scale - transXStart) / count;
|
|
1482
|
+
transYDiff = (transY * scale - transYStart) / count;
|
|
1483
|
+
interval = setInterval(function () {
|
|
1484
|
+
i += 1;
|
|
1485
|
+
_this.scale = scaleStart + scaleDiff * i;
|
|
1486
|
+
_this.transX = (transXStart + transXDiff * i) / _this.scale;
|
|
1487
|
+
_this.transY = (transYStart + transYDiff * i) / _this.scale;
|
|
1488
|
+
_this._applyTransform();
|
|
1489
|
+
if (i == count) {
|
|
1490
|
+
clearInterval(interval);
|
|
1491
|
+
_this._emit(Events.onViewportChange, [_this.scale, _this.transX, _this.transY]);
|
|
1492
|
+
}
|
|
1493
|
+
}, 10);
|
|
1494
|
+
} else {
|
|
1495
|
+
this.transX = transX;
|
|
1496
|
+
this.transY = transY;
|
|
1497
|
+
this.scale = scale;
|
|
1498
|
+
this._applyTransform();
|
|
1499
|
+
this._emit(Events.onViewportChange, [this.scale, this.transX, this.transY]);
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
function setFocus(config) {
|
|
1504
|
+
var _this = this;
|
|
1505
|
+
if (config === void 0) {
|
|
1506
|
+
config = {};
|
|
1507
|
+
}
|
|
1508
|
+
var bbox,
|
|
1509
|
+
codes = [];
|
|
1510
|
+
if (config.region) {
|
|
1511
|
+
codes.push(config.region);
|
|
1512
|
+
} else if (config.regions) {
|
|
1513
|
+
codes = config.regions;
|
|
1514
|
+
}
|
|
1515
|
+
if (codes.length) {
|
|
1516
|
+
codes.forEach(function (code) {
|
|
1517
|
+
if (_this.regions[code]) {
|
|
1518
|
+
var itemBbox = _this.regions[code].element.shape.getBBox();
|
|
1519
|
+
if (itemBbox) {
|
|
1520
|
+
// Handle the first loop
|
|
1521
|
+
if (typeof bbox == 'undefined') {
|
|
1522
|
+
bbox = itemBbox;
|
|
1523
|
+
} else {
|
|
1524
|
+
// get the old bbox properties plus the current
|
|
1525
|
+
// this kinda incrementing the old values and the new values
|
|
1526
|
+
bbox = {
|
|
1527
|
+
x: Math.min(bbox.x, itemBbox.x),
|
|
1528
|
+
y: Math.min(bbox.y, itemBbox.y),
|
|
1529
|
+
width: Math.max(bbox.x + bbox.width, itemBbox.x + itemBbox.width) - Math.min(bbox.x, itemBbox.x),
|
|
1530
|
+
height: Math.max(bbox.y + bbox.height, itemBbox.y + itemBbox.height) - Math.min(bbox.y, itemBbox.y)
|
|
1531
|
+
};
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
});
|
|
1536
|
+
return this._setScale(Math.min(this._width / bbox.width, this._height / bbox.height), -(bbox.x + bbox.width / 2), -(bbox.y + bbox.height / 2), true, config.animate);
|
|
1537
|
+
} else if (config.coords) {
|
|
1538
|
+
var point = this.coordsToPoint(config.coords[0], config.coords[1]);
|
|
1539
|
+
var x = this.transX - point.x / this.scale;
|
|
1540
|
+
var y = this.transY - point.y / this.scale;
|
|
1541
|
+
return this._setScale(config.scale * this._baseScale, x, y, true, config.animate);
|
|
1542
|
+
}
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
function updateSize() {
|
|
1546
|
+
this._width = this.container.offsetWidth;
|
|
1547
|
+
this._height = this.container.offsetHeight;
|
|
1548
|
+
this._resize();
|
|
1549
|
+
this.canvas.setSize(this._width, this._height);
|
|
1550
|
+
this._applyTransform();
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
/**
|
|
1554
|
+
* ------------------------------------------------------------------------
|
|
1555
|
+
* Object
|
|
1556
|
+
* ------------------------------------------------------------------------
|
|
1557
|
+
*/
|
|
1558
|
+
var Proj = {
|
|
1559
|
+
/* sgn(n){
|
|
1560
|
+
if (n > 0) {
|
|
1561
|
+
return 1;
|
|
1562
|
+
} else if (n < 0) {
|
|
1563
|
+
return -1;
|
|
1564
|
+
} else {
|
|
1565
|
+
return n;
|
|
1566
|
+
}
|
|
1567
|
+
}, */
|
|
1568
|
+
mill: function mill(lat, lng, c) {
|
|
1569
|
+
return {
|
|
1570
|
+
x: this.radius * (lng - c) * this.radDeg,
|
|
1571
|
+
y: -this.radius * Math.log(Math.tan((45 + 0.4 * lat) * this.radDeg)) / 0.8
|
|
1572
|
+
};
|
|
1573
|
+
},
|
|
1574
|
+
/* mill_inv(x, y, c) {
|
|
1575
|
+
return {
|
|
1576
|
+
lat: (2.5 * Math.atan(Math.exp(0.8 * y / this.radius)) - 5 * Math.PI / 8) * this.degRad,
|
|
1577
|
+
lng: (c * this.radDeg + x / this.radius) * this.degRad
|
|
1578
|
+
};
|
|
1579
|
+
}, */
|
|
1580
|
+
merc: function merc(lat, lng, c) {
|
|
1581
|
+
return {
|
|
1582
|
+
x: this.radius * (lng - c) * this.radDeg,
|
|
1583
|
+
y: -this.radius * Math.log(Math.tan(Math.PI / 4 + lat * Math.PI / 360))
|
|
1584
|
+
};
|
|
1585
|
+
},
|
|
1586
|
+
/* merc_inv(x, y, c) {
|
|
1587
|
+
return {
|
|
1588
|
+
lat: (2 * Math.atan(Math.exp(y / this.radius)) - Math.PI / 2) * this.degRad,
|
|
1589
|
+
lng: (c * this.radDeg + x / this.radius) * this.degRad
|
|
1590
|
+
};
|
|
1591
|
+
}, */
|
|
1592
|
+
aea: function aea(lat, lng, c) {
|
|
1593
|
+
var fi0 = 0,
|
|
1594
|
+
lambda0 = c * this.radDeg,
|
|
1595
|
+
fi1 = 29.5 * this.radDeg,
|
|
1596
|
+
fi2 = 45.5 * this.radDeg,
|
|
1597
|
+
fi = lat * this.radDeg,
|
|
1598
|
+
lambda = lng * this.radDeg,
|
|
1599
|
+
n = (Math.sin(fi1) + Math.sin(fi2)) / 2,
|
|
1600
|
+
C = Math.cos(fi1) * Math.cos(fi1) + 2 * n * Math.sin(fi1),
|
|
1601
|
+
theta = n * (lambda - lambda0),
|
|
1602
|
+
ro = Math.sqrt(C - 2 * n * Math.sin(fi)) / n,
|
|
1603
|
+
ro0 = Math.sqrt(C - 2 * n * Math.sin(fi0)) / n;
|
|
1604
|
+
return {
|
|
1605
|
+
x: ro * Math.sin(theta) * this.radius,
|
|
1606
|
+
y: -(ro0 - ro * Math.cos(theta)) * this.radius
|
|
1607
|
+
};
|
|
1608
|
+
},
|
|
1609
|
+
/* aea_inv(xCoord, yCoord, c) {
|
|
1610
|
+
var x = xCoord / this.radius,
|
|
1611
|
+
y = yCoord / this.radius,
|
|
1612
|
+
fi0 = 0,
|
|
1613
|
+
lambda0 = c * this.radDeg,
|
|
1614
|
+
fi1 = 29.5 * this.radDeg,
|
|
1615
|
+
fi2 = 45.5 * this.radDeg,
|
|
1616
|
+
n = (Math.sin(fi1)+Math.sin(fi2)) / 2,
|
|
1617
|
+
C = Math.cos(fi1)*Math.cos(fi1)+2*n*Math.sin(fi1),
|
|
1618
|
+
ro0 = Math.sqrt(C-2*n*Math.sin(fi0))/n,
|
|
1619
|
+
ro = Math.sqrt(x*x+(ro0-y)*(ro0-y)),
|
|
1620
|
+
theta = Math.atan( x / (ro0 - y) );
|
|
1621
|
+
return {
|
|
1622
|
+
lat: (Math.asin((C - ro * ro * n * n) / (2 * n))) * this.degRad,
|
|
1623
|
+
lng: (lambda0 + theta / n) * this.degRad
|
|
1624
|
+
};
|
|
1625
|
+
}, */
|
|
1626
|
+
lcc: function lcc(lat, lng, c) {
|
|
1627
|
+
var fi0 = 0,
|
|
1628
|
+
lambda0 = c * this.radDeg,
|
|
1629
|
+
lambda = lng * this.radDeg,
|
|
1630
|
+
fi1 = 33 * this.radDeg,
|
|
1631
|
+
fi2 = 45 * this.radDeg,
|
|
1632
|
+
fi = lat * this.radDeg,
|
|
1633
|
+
n = Math.log(Math.cos(fi1) * (1 / Math.cos(fi2))) / Math.log(Math.tan(Math.PI / 4 + fi2 / 2) * (1 / Math.tan(Math.PI / 4 + fi1 / 2))),
|
|
1634
|
+
F = Math.cos(fi1) * Math.pow(Math.tan(Math.PI / 4 + fi1 / 2), n) / n,
|
|
1635
|
+
ro = F * Math.pow(1 / Math.tan(Math.PI / 4 + fi / 2), n),
|
|
1636
|
+
ro0 = F * Math.pow(1 / Math.tan(Math.PI / 4 + fi0 / 2), n);
|
|
1637
|
+
return {
|
|
1638
|
+
x: ro * Math.sin(n * (lambda - lambda0)) * this.radius,
|
|
1639
|
+
y: -(ro0 - ro * Math.cos(n * (lambda - lambda0))) * this.radius
|
|
1640
|
+
};
|
|
1641
|
+
}
|
|
1642
|
+
/* lcc_inv(xCoord, yCoord, c) {
|
|
1643
|
+
var x = xCoord / this.radius,
|
|
1644
|
+
y = yCoord / this.radius,
|
|
1645
|
+
fi0 = 0,
|
|
1646
|
+
lambda0 = c * this.radDeg,
|
|
1647
|
+
fi1 = 33 * this.radDeg,
|
|
1648
|
+
fi2 = 45 * this.radDeg,
|
|
1649
|
+
n = Math.log( Math.cos(fi1) * (1 / Math.cos(fi2)) ) / Math.log( Math.tan( Math.PI / 4 + fi2 / 2) * (1 / Math.tan( Math.PI / 4 + fi1 / 2) ) ),
|
|
1650
|
+
F = ( Math.cos(fi1) * Math.pow( Math.tan( Math.PI / 4 + fi1 / 2 ), n ) ) / n,
|
|
1651
|
+
ro0 = F * Math.pow( 1 / Math.tan( Math.PI / 4 + fi0 / 2 ), n ),
|
|
1652
|
+
ro = this.sgn(n) * Math.sqrt(x*x+(ro0-y)*(ro0-y)),
|
|
1653
|
+
theta = Math.atan( x / (ro0 - y) );
|
|
1654
|
+
return {
|
|
1655
|
+
lat: (2 * Math.atan(Math.pow(F/ro, 1/n)) - Math.PI / 2) * this.degRad,
|
|
1656
|
+
lng: (lambda0 + theta / n) * this.degRad
|
|
1657
|
+
};
|
|
1658
|
+
} */
|
|
1659
|
+
};
|
|
1660
|
+
Proj.degRad = 180 / Math.PI;
|
|
1661
|
+
Proj.radDeg = Math.PI / 180;
|
|
1662
|
+
Proj.radius = 6381372;
|
|
1663
|
+
|
|
1664
|
+
function coordsToPoint(lat, lng) {
|
|
1665
|
+
var projection = Map.maps[this.params.map].projection;
|
|
1666
|
+
var _Proj$projection$type = Proj[projection.type](lat, lng, projection.centralMeridian),
|
|
1667
|
+
x = _Proj$projection$type.x,
|
|
1668
|
+
y = _Proj$projection$type.y;
|
|
1669
|
+
var inset = this.getInsetForPoint(x, y);
|
|
1670
|
+
if (!inset) {
|
|
1671
|
+
return false;
|
|
1672
|
+
}
|
|
1673
|
+
var bbox = inset.bbox;
|
|
1674
|
+
x = (x - bbox[0].x) / (bbox[1].x - bbox[0].x) * inset.width * this.scale;
|
|
1675
|
+
y = (y - bbox[0].y) / (bbox[1].y - bbox[0].y) * inset.height * this.scale;
|
|
1676
|
+
return {
|
|
1677
|
+
x: x + this.transX * this.scale + inset.left * this.scale,
|
|
1678
|
+
y: y + this.transY * this.scale + inset.top * this.scale
|
|
1679
|
+
};
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
function getInsetForPoint(x, y) {
|
|
1683
|
+
var insets = Map.maps[this.params.map].insets;
|
|
1684
|
+
for (var index = 0; index < insets.length; index++) {
|
|
1685
|
+
var _insets$index$bbox = insets[index].bbox,
|
|
1686
|
+
start = _insets$index$bbox[0],
|
|
1687
|
+
end = _insets$index$bbox[1];
|
|
1688
|
+
if (x > start.x && x < end.x && y > start.y && y < end.y) {
|
|
1689
|
+
return insets[index];
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
}
|
|
1693
|
+
|
|
1694
|
+
function getMarkerPosition(_ref) {
|
|
1695
|
+
var coords = _ref.coords;
|
|
1696
|
+
if (Map.maps[this.params.map].projection) {
|
|
1697
|
+
return this.coordsToPoint.apply(this, coords);
|
|
1698
|
+
}
|
|
1699
|
+
return {
|
|
1700
|
+
x: coords[0] * this.scale + this.transX * this.scale,
|
|
1701
|
+
y: coords[1] * this.scale + this.transY * this.scale
|
|
1702
|
+
};
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
function repositionLines() {
|
|
1706
|
+
var _this = this;
|
|
1707
|
+
var curvature = this.params.lineStyle.curvature;
|
|
1708
|
+
Object.values(this._lines).forEach(function (line) {
|
|
1709
|
+
var startMarker = Object.values(_this._markers).find(function (_ref) {
|
|
1710
|
+
var config = _ref.config;
|
|
1711
|
+
return config.name === line.getConfig().from;
|
|
1712
|
+
});
|
|
1713
|
+
var endMarker = Object.values(_this._markers).find(function (_ref2) {
|
|
1714
|
+
var config = _ref2.config;
|
|
1715
|
+
return config.name === line.getConfig().to;
|
|
1716
|
+
});
|
|
1717
|
+
if (startMarker && endMarker) {
|
|
1718
|
+
var _this$getMarkerPositi = _this.getMarkerPosition(startMarker.config),
|
|
1719
|
+
x1 = _this$getMarkerPositi.x,
|
|
1720
|
+
y1 = _this$getMarkerPositi.y;
|
|
1721
|
+
var _this$getMarkerPositi2 = _this.getMarkerPosition(endMarker.config),
|
|
1722
|
+
x2 = _this$getMarkerPositi2.x,
|
|
1723
|
+
y2 = _this$getMarkerPositi2.y;
|
|
1724
|
+
var curvatureOption = line._options.curvature == 0 ? 0 : line._options.curvature || curvature;
|
|
1725
|
+
var midX = (x1 + x2) / 2;
|
|
1726
|
+
var midY = (y1 + y2) / 2;
|
|
1727
|
+
var curveX = midX + curvatureOption * (y2 - y1);
|
|
1728
|
+
var curveY = midY - curvatureOption * (x2 - x1);
|
|
1729
|
+
line.setStyle({
|
|
1730
|
+
d: "M" + x1 + "," + y1 + " Q" + curveX + "," + curveY + " " + x2 + "," + y2
|
|
1731
|
+
});
|
|
1732
|
+
}
|
|
1733
|
+
});
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
function repositionMarkers() {
|
|
1737
|
+
for (var index in this._markers) {
|
|
1738
|
+
var point = this.getMarkerPosition(this._markers[index].config);
|
|
1739
|
+
if (point !== false) {
|
|
1740
|
+
this._markers[index].element.setStyle({
|
|
1741
|
+
cx: point.x,
|
|
1742
|
+
cy: point.y
|
|
1743
|
+
});
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
function repositionLabels() {
|
|
1749
|
+
var labels = this.params.labels;
|
|
1750
|
+
if (!labels) {
|
|
1751
|
+
return;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
// Regions labels
|
|
1755
|
+
if (labels.regions) {
|
|
1756
|
+
for (var key in this.regions) {
|
|
1757
|
+
this.regions[key].element.updateLabelPosition();
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
|
|
1761
|
+
// Markers labels
|
|
1762
|
+
if (labels.markers) {
|
|
1763
|
+
for (var _key in this._markers) {
|
|
1764
|
+
this._markers[_key].element.updateLabelPosition();
|
|
1765
|
+
}
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
var core = {
|
|
1770
|
+
_setupContainerEvents: setupContainerEvents,
|
|
1771
|
+
_setupElementEvents: setupElementEvents,
|
|
1772
|
+
_setupZoomButtons: setupZoomButtons,
|
|
1773
|
+
_setupContainerTouchEvents: setupContainerTouchEvents,
|
|
1774
|
+
_createRegions: createRegions,
|
|
1775
|
+
_createLines: createLines,
|
|
1776
|
+
_createMarkers: createMarkers,
|
|
1777
|
+
_createSeries: createSeries,
|
|
1778
|
+
_applyTransform: applyTransform,
|
|
1779
|
+
_resize: resize,
|
|
1780
|
+
_setScale: setScale,
|
|
1781
|
+
setFocus: setFocus,
|
|
1782
|
+
updateSize: updateSize,
|
|
1783
|
+
coordsToPoint: coordsToPoint,
|
|
1784
|
+
getInsetForPoint: getInsetForPoint,
|
|
1785
|
+
getMarkerPosition: getMarkerPosition,
|
|
1786
|
+
_repositionLines: repositionLines,
|
|
1787
|
+
_repositionMarkers: repositionMarkers,
|
|
1788
|
+
_repositionLabels: repositionLabels
|
|
1789
|
+
};
|
|
1790
|
+
|
|
1791
|
+
var Defaults = {
|
|
1792
|
+
map: 'world',
|
|
1793
|
+
backgroundColor: 'transparent',
|
|
1794
|
+
draggable: true,
|
|
1795
|
+
zoomButtons: true,
|
|
1796
|
+
zoomOnScroll: true,
|
|
1797
|
+
zoomOnScrollSpeed: 3,
|
|
1798
|
+
zoomMax: 12,
|
|
1799
|
+
zoomMin: 1,
|
|
1800
|
+
zoomAnimate: true,
|
|
1801
|
+
showTooltip: true,
|
|
1802
|
+
zoomStep: 1.5,
|
|
1803
|
+
bindTouchEvents: true,
|
|
1804
|
+
// Line options
|
|
1805
|
+
lineStyle: {
|
|
1806
|
+
curvature: 0,
|
|
1807
|
+
stroke: '#808080',
|
|
1808
|
+
strokeWidth: 1,
|
|
1809
|
+
strokeLinecap: 'round'
|
|
1810
|
+
},
|
|
1811
|
+
// Marker options
|
|
1812
|
+
markersSelectable: false,
|
|
1813
|
+
markersSelectableOne: false,
|
|
1814
|
+
markerStyle: {
|
|
1815
|
+
initial: {
|
|
1816
|
+
r: 7,
|
|
1817
|
+
fill: '#374151',
|
|
1818
|
+
fillOpacity: 1,
|
|
1819
|
+
stroke: '#FFF',
|
|
1820
|
+
strokeWidth: 5,
|
|
1821
|
+
strokeOpacity: .5
|
|
1822
|
+
},
|
|
1823
|
+
hover: {
|
|
1824
|
+
fill: '#3cc0ff',
|
|
1825
|
+
cursor: 'pointer'
|
|
1826
|
+
},
|
|
1827
|
+
selected: {
|
|
1828
|
+
fill: 'blue'
|
|
1829
|
+
},
|
|
1830
|
+
selectedHover: {}
|
|
1831
|
+
},
|
|
1832
|
+
markerLabelStyle: {
|
|
1833
|
+
initial: {
|
|
1834
|
+
fontFamily: 'Verdana',
|
|
1835
|
+
fontSize: 12,
|
|
1836
|
+
fontWeight: 500,
|
|
1837
|
+
cursor: 'default',
|
|
1838
|
+
fill: '#374151'
|
|
1839
|
+
},
|
|
1840
|
+
hover: {
|
|
1841
|
+
cursor: 'pointer'
|
|
1842
|
+
},
|
|
1843
|
+
selected: {},
|
|
1844
|
+
selectedHover: {}
|
|
1845
|
+
},
|
|
1846
|
+
// Region options
|
|
1847
|
+
regionsSelectable: false,
|
|
1848
|
+
regionsSelectableOne: false,
|
|
1849
|
+
regionStyle: {
|
|
1850
|
+
initial: {
|
|
1851
|
+
fill: '#dee2e8',
|
|
1852
|
+
fillOpacity: 1,
|
|
1853
|
+
stroke: 'none',
|
|
1854
|
+
strokeWidth: 0
|
|
1855
|
+
},
|
|
1856
|
+
hover: {
|
|
1857
|
+
fillOpacity: .7,
|
|
1858
|
+
cursor: 'pointer'
|
|
1859
|
+
},
|
|
1860
|
+
selected: {
|
|
1861
|
+
fill: '#9ca3af'
|
|
1862
|
+
},
|
|
1863
|
+
selectedHover: {}
|
|
1864
|
+
},
|
|
1865
|
+
regionLabelStyle: {
|
|
1866
|
+
initial: {
|
|
1867
|
+
fontFamily: 'Verdana',
|
|
1868
|
+
fontSize: '12',
|
|
1869
|
+
fontWeight: 'bold',
|
|
1870
|
+
cursor: 'default',
|
|
1871
|
+
fill: '#35373e'
|
|
1872
|
+
},
|
|
1873
|
+
hover: {
|
|
1874
|
+
cursor: 'pointer'
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
};
|
|
1878
|
+
|
|
1879
|
+
var SVGElement = /*#__PURE__*/function () {
|
|
1880
|
+
function SVGElement(name, config) {
|
|
1881
|
+
this.node = this._createElement(name);
|
|
1882
|
+
if (config) {
|
|
1883
|
+
this.set(config);
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
// Create new SVG element `svg`, `g`, `path`, `line`, `circle`, `image`, etc.
|
|
1888
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/Document/createElementNS#important_namespace_uris
|
|
1889
|
+
var _proto = SVGElement.prototype;
|
|
1890
|
+
_proto._createElement = function _createElement(tagName) {
|
|
1891
|
+
return document.createElementNS('http://www.w3.org/2000/svg', tagName);
|
|
1892
|
+
};
|
|
1893
|
+
_proto.addClass = function addClass(className) {
|
|
1894
|
+
this.node.setAttribute('class', className);
|
|
1895
|
+
};
|
|
1896
|
+
_proto.getBBox = function getBBox() {
|
|
1897
|
+
return this.node.getBBox();
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
// Apply attributes on the current node element
|
|
1901
|
+
;
|
|
1902
|
+
_proto.set = function set(property, value) {
|
|
1903
|
+
if (typeof property === 'object') {
|
|
1904
|
+
for (var attr in property) {
|
|
1905
|
+
this.applyAttr(attr, property[attr]);
|
|
1906
|
+
}
|
|
1907
|
+
} else {
|
|
1908
|
+
this.applyAttr(property, value);
|
|
1909
|
+
}
|
|
1910
|
+
};
|
|
1911
|
+
_proto.get = function get(property) {
|
|
1912
|
+
return this.style.initial[property];
|
|
1913
|
+
};
|
|
1914
|
+
_proto.applyAttr = function applyAttr(property, value) {
|
|
1915
|
+
this.node.setAttribute(hyphenate(property), value);
|
|
1916
|
+
};
|
|
1917
|
+
_proto.remove = function remove() {
|
|
1918
|
+
removeElement(this.node);
|
|
1919
|
+
};
|
|
1920
|
+
return SVGElement;
|
|
1921
|
+
}();
|
|
1922
|
+
|
|
1923
|
+
var SVGShapeElement = /*#__PURE__*/function (_SVGElement) {
|
|
1924
|
+
function SVGShapeElement(name, config, style) {
|
|
1925
|
+
var _this;
|
|
1926
|
+
if (style === void 0) {
|
|
1927
|
+
style = {};
|
|
1928
|
+
}
|
|
1929
|
+
_this = _SVGElement.call(this, name, config) || this;
|
|
1930
|
+
_this.isHovered = false;
|
|
1931
|
+
_this.isSelected = false;
|
|
1932
|
+
_this.style = style;
|
|
1933
|
+
_this.style.current = {};
|
|
1934
|
+
_this.updateStyle();
|
|
1935
|
+
return _this;
|
|
1936
|
+
}
|
|
1937
|
+
_inheritsLoose(SVGShapeElement, _SVGElement);
|
|
1938
|
+
var _proto = SVGShapeElement.prototype;
|
|
1939
|
+
_proto.setStyle = function setStyle(property, value) {
|
|
1940
|
+
if (typeof property === 'object') {
|
|
1941
|
+
merge(this.style.current, property);
|
|
1942
|
+
} else {
|
|
1943
|
+
var _merge;
|
|
1944
|
+
merge(this.style.current, (_merge = {}, _merge[property] = value, _merge));
|
|
1945
|
+
}
|
|
1946
|
+
this.updateStyle();
|
|
1947
|
+
};
|
|
1948
|
+
_proto.updateStyle = function updateStyle() {
|
|
1949
|
+
var attrs = {};
|
|
1950
|
+
merge(attrs, this.style.initial);
|
|
1951
|
+
merge(attrs, this.style.current);
|
|
1952
|
+
if (this.isHovered) {
|
|
1953
|
+
merge(attrs, this.style.hover);
|
|
1954
|
+
}
|
|
1955
|
+
if (this.isSelected) {
|
|
1956
|
+
merge(attrs, this.style.selected);
|
|
1957
|
+
if (this.isHovered) {
|
|
1958
|
+
merge(attrs, this.style.selectedHover);
|
|
1959
|
+
}
|
|
1960
|
+
}
|
|
1961
|
+
this.set(attrs);
|
|
1962
|
+
};
|
|
1963
|
+
return SVGShapeElement;
|
|
1964
|
+
}(SVGElement);
|
|
1965
|
+
|
|
1966
|
+
var SVGTextElement = /*#__PURE__*/function (_SVGShapeElement) {
|
|
1967
|
+
function SVGTextElement(config, style) {
|
|
1968
|
+
return _SVGShapeElement.call(this, 'text', config, style) || this;
|
|
1969
|
+
}
|
|
1970
|
+
_inheritsLoose(SVGTextElement, _SVGShapeElement);
|
|
1971
|
+
var _proto = SVGTextElement.prototype;
|
|
1972
|
+
_proto.applyAttr = function applyAttr(attr, value) {
|
|
1973
|
+
attr === 'text' ? this.node.textContent = value : _SVGShapeElement.prototype.applyAttr.call(this, attr, value);
|
|
1974
|
+
};
|
|
1975
|
+
return SVGTextElement;
|
|
1976
|
+
}(SVGShapeElement);
|
|
1977
|
+
|
|
1978
|
+
var SVGImageElement = /*#__PURE__*/function (_SVGShapeElement) {
|
|
1979
|
+
function SVGImageElement(config, style) {
|
|
1980
|
+
return _SVGShapeElement.call(this, 'image', config, style) || this;
|
|
1981
|
+
}
|
|
1982
|
+
_inheritsLoose(SVGImageElement, _SVGShapeElement);
|
|
1983
|
+
var _proto = SVGImageElement.prototype;
|
|
1984
|
+
_proto.applyAttr = function applyAttr(attr, value) {
|
|
1985
|
+
var imageUrl;
|
|
1986
|
+
if (attr === 'image') {
|
|
1987
|
+
// This get executed when we have url in series.markers[0].scale.someScale.url
|
|
1988
|
+
if (typeof value === 'object') {
|
|
1989
|
+
imageUrl = value.url;
|
|
1990
|
+
this.offset = value.offset || [0, 0];
|
|
1991
|
+
} else {
|
|
1992
|
+
imageUrl = value;
|
|
1993
|
+
this.offset = [0, 0];
|
|
1994
|
+
}
|
|
1995
|
+
this.node.setAttributeNS('http://www.w3.org/1999/xlink', 'href', imageUrl);
|
|
1996
|
+
|
|
1997
|
+
// Set width and height then call this `applyAttr` again
|
|
1998
|
+
this.width = 23;
|
|
1999
|
+
this.height = 23;
|
|
2000
|
+
this.applyAttr('width', this.width);
|
|
2001
|
+
this.applyAttr('height', this.height);
|
|
2002
|
+
this.applyAttr('x', this.cx - this.width / 2 + this.offset[0]);
|
|
2003
|
+
this.applyAttr('y', this.cy - this.height / 2 + this.offset[1]);
|
|
2004
|
+
} else if (attr == 'cx') {
|
|
2005
|
+
this.cx = value;
|
|
2006
|
+
if (this.width) {
|
|
2007
|
+
this.applyAttr('x', value - this.width / 2 + this.offset[0]);
|
|
2008
|
+
}
|
|
2009
|
+
} else if (attr == 'cy') {
|
|
2010
|
+
this.cy = value;
|
|
2011
|
+
if (this.height) {
|
|
2012
|
+
this.applyAttr('y', value - this.height / 2 + this.offset[1]);
|
|
2013
|
+
}
|
|
2014
|
+
} else {
|
|
2015
|
+
// This time Call SVGElement
|
|
2016
|
+
_SVGShapeElement.prototype.applyAttr.apply(this, arguments);
|
|
2017
|
+
}
|
|
2018
|
+
};
|
|
2019
|
+
return SVGImageElement;
|
|
2020
|
+
}(SVGShapeElement);
|
|
2021
|
+
|
|
2022
|
+
var SVGCanvasElement = /*#__PURE__*/function (_SVGElement) {
|
|
2023
|
+
function SVGCanvasElement(container) {
|
|
2024
|
+
var _this;
|
|
2025
|
+
_this = _SVGElement.call(this, 'svg') || this; // Create svg element for holding the whole map
|
|
2026
|
+
|
|
2027
|
+
_this._container = container;
|
|
2028
|
+
|
|
2029
|
+
// Create the defs element
|
|
2030
|
+
_this._defsElement = new SVGElement('defs');
|
|
2031
|
+
|
|
2032
|
+
// Create group element which will hold the paths (regions)
|
|
2033
|
+
_this._rootElement = new SVGElement('g', {
|
|
2034
|
+
id: 'jvm-regions-group'
|
|
2035
|
+
});
|
|
2036
|
+
|
|
2037
|
+
// Append the defs element to the this.node (SVG tag)
|
|
2038
|
+
_this.node.appendChild(_this._defsElement.node);
|
|
2039
|
+
|
|
2040
|
+
// Append the group to this.node (SVG tag)
|
|
2041
|
+
_this.node.appendChild(_this._rootElement.node);
|
|
2042
|
+
|
|
2043
|
+
// Append this.node (SVG tag) to the container
|
|
2044
|
+
_this._container.appendChild(_this.node);
|
|
2045
|
+
return _this;
|
|
2046
|
+
}
|
|
2047
|
+
_inheritsLoose(SVGCanvasElement, _SVGElement);
|
|
2048
|
+
var _proto = SVGCanvasElement.prototype;
|
|
2049
|
+
_proto.setSize = function setSize(width, height) {
|
|
2050
|
+
this.node.setAttribute('width', width);
|
|
2051
|
+
this.node.setAttribute('height', height);
|
|
2052
|
+
};
|
|
2053
|
+
_proto.applyTransformParams = function applyTransformParams(scale, transX, transY) {
|
|
2054
|
+
this._rootElement.node.setAttribute('transform', "scale(" + scale + ") translate(" + transX + ", " + transY + ")");
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
// Create `path` element
|
|
2058
|
+
;
|
|
2059
|
+
_proto.createPath = function createPath(config, style, group) {
|
|
2060
|
+
var path = new SVGShapeElement('path', config, style);
|
|
2061
|
+
path.node.setAttribute('fill-rule', 'evenodd');
|
|
2062
|
+
return this._add(path, group);
|
|
2063
|
+
}
|
|
2064
|
+
|
|
2065
|
+
// Create `circle` element
|
|
2066
|
+
;
|
|
2067
|
+
_proto.createCircle = function createCircle(config, style, group) {
|
|
2068
|
+
var circle = new SVGShapeElement('circle', config, style);
|
|
2069
|
+
return this._add(circle, group);
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
// Create `line` element
|
|
2073
|
+
;
|
|
2074
|
+
_proto.createLine = function createLine(config, style, group) {
|
|
2075
|
+
var line = new SVGShapeElement('line', config, style);
|
|
2076
|
+
return this._add(line, group);
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
// Create `text` element
|
|
2080
|
+
;
|
|
2081
|
+
_proto.createText = function createText(config, style, group) {
|
|
2082
|
+
var text = new SVGTextElement(config, style);
|
|
2083
|
+
return this._add(text, group);
|
|
2084
|
+
}
|
|
2085
|
+
|
|
2086
|
+
// Create `image` element
|
|
2087
|
+
;
|
|
2088
|
+
_proto.createImage = function createImage(config, style, group) {
|
|
2089
|
+
var image = new SVGImageElement(config, style);
|
|
2090
|
+
return this._add(image, group);
|
|
2091
|
+
}
|
|
2092
|
+
|
|
2093
|
+
// Create `g` element
|
|
2094
|
+
;
|
|
2095
|
+
_proto.createGroup = function createGroup(id) {
|
|
2096
|
+
var group = new SVGElement('g');
|
|
2097
|
+
this.node.appendChild(group.node);
|
|
2098
|
+
if (id) {
|
|
2099
|
+
group.node.id = id;
|
|
2100
|
+
}
|
|
2101
|
+
group.canvas = this;
|
|
2102
|
+
return group;
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
// Add some element to a spcific group or the root element if the group isn't given
|
|
2106
|
+
;
|
|
2107
|
+
_proto._add = function _add(element, group) {
|
|
2108
|
+
group = group || this._rootElement;
|
|
2109
|
+
group.node.appendChild(element.node);
|
|
2110
|
+
return element;
|
|
2111
|
+
};
|
|
2112
|
+
return SVGCanvasElement;
|
|
2113
|
+
}(SVGElement);
|
|
2114
|
+
|
|
2115
|
+
var Tooltip = /*#__PURE__*/function (_BaseComponent) {
|
|
2116
|
+
function Tooltip(map) {
|
|
2117
|
+
var _this;
|
|
2118
|
+
_this = _BaseComponent.call(this) || this;
|
|
2119
|
+
var tooltip = createElement('div', 'jvm-tooltip');
|
|
2120
|
+
_this._map = map;
|
|
2121
|
+
_this._tooltip = document.body.appendChild(tooltip);
|
|
2122
|
+
_this._bindEventListeners();
|
|
2123
|
+
return _this || _assertThisInitialized(_this);
|
|
2124
|
+
}
|
|
2125
|
+
_inheritsLoose(Tooltip, _BaseComponent);
|
|
2126
|
+
var _proto = Tooltip.prototype;
|
|
2127
|
+
_proto._bindEventListeners = function _bindEventListeners() {
|
|
2128
|
+
var _this2 = this;
|
|
2129
|
+
EventHandler.on(this._map.container, 'mousemove', function (event) {
|
|
2130
|
+
if (!_this2._tooltip.classList.contains('active')) {
|
|
2131
|
+
return;
|
|
2132
|
+
}
|
|
2133
|
+
var container = findElement(_this2._map.container, '#jvm-regions-group').getBoundingClientRect();
|
|
2134
|
+
var space = 5; // Space between the cursor and tooltip element
|
|
2135
|
+
|
|
2136
|
+
// Tooltip
|
|
2137
|
+
var _this2$_tooltip$getBo = _this2._tooltip.getBoundingClientRect(),
|
|
2138
|
+
height = _this2$_tooltip$getBo.height,
|
|
2139
|
+
width = _this2$_tooltip$getBo.width;
|
|
2140
|
+
var topIsPassed = event.clientY <= container.top + height + space;
|
|
2141
|
+
var top = event.pageY - height - space;
|
|
2142
|
+
var left = event.pageX - width - space;
|
|
2143
|
+
|
|
2144
|
+
// Ensure the tooltip will never cross outside the canvas area(map)
|
|
2145
|
+
if (topIsPassed) {
|
|
2146
|
+
// Top:
|
|
2147
|
+
top += height + space;
|
|
2148
|
+
|
|
2149
|
+
// The cursor is a bit larger from left side
|
|
2150
|
+
left -= space * 2;
|
|
2151
|
+
}
|
|
2152
|
+
if (event.clientX < container.left + width + space) {
|
|
2153
|
+
// Left:
|
|
2154
|
+
left = event.pageX + space + 2;
|
|
2155
|
+
if (topIsPassed) {
|
|
2156
|
+
left += space * 2;
|
|
2157
|
+
}
|
|
2158
|
+
}
|
|
2159
|
+
_this2.css({
|
|
2160
|
+
top: top + "px",
|
|
2161
|
+
left: left + "px"
|
|
2162
|
+
});
|
|
2163
|
+
});
|
|
2164
|
+
};
|
|
2165
|
+
_proto.getElement = function getElement() {
|
|
2166
|
+
return this._tooltip;
|
|
2167
|
+
};
|
|
2168
|
+
_proto.show = function show() {
|
|
2169
|
+
this._tooltip.classList.add('active');
|
|
2170
|
+
};
|
|
2171
|
+
_proto.hide = function hide() {
|
|
2172
|
+
this._tooltip.classList.remove('active');
|
|
2173
|
+
};
|
|
2174
|
+
_proto.text = function text(string, html) {
|
|
2175
|
+
if (html === void 0) {
|
|
2176
|
+
html = false;
|
|
2177
|
+
}
|
|
2178
|
+
var property = html ? 'innerHTML' : 'textContent';
|
|
2179
|
+
if (!string) {
|
|
2180
|
+
return this._tooltip[property];
|
|
2181
|
+
}
|
|
2182
|
+
this._tooltip[property] = string;
|
|
2183
|
+
};
|
|
2184
|
+
_proto.css = function css(_css) {
|
|
2185
|
+
for (var style in _css) {
|
|
2186
|
+
this._tooltip.style[style] = _css[style];
|
|
2187
|
+
}
|
|
2188
|
+
return this;
|
|
2189
|
+
};
|
|
2190
|
+
return Tooltip;
|
|
2191
|
+
}(BaseComponent);
|
|
2192
|
+
|
|
2193
|
+
var DataVisualization = /*#__PURE__*/function () {
|
|
2194
|
+
function DataVisualization(_ref, map) {
|
|
2195
|
+
var scale = _ref.scale,
|
|
2196
|
+
values = _ref.values;
|
|
2197
|
+
this._scale = scale;
|
|
2198
|
+
this._values = values;
|
|
2199
|
+
this._fromColor = this.hexToRgb(scale[0]);
|
|
2200
|
+
this._toColor = this.hexToRgb(scale[1]);
|
|
2201
|
+
this._map = map;
|
|
2202
|
+
this.setMinMaxValues(values);
|
|
2203
|
+
this.visualize();
|
|
2204
|
+
}
|
|
2205
|
+
var _proto = DataVisualization.prototype;
|
|
2206
|
+
_proto.setMinMaxValues = function setMinMaxValues(values) {
|
|
2207
|
+
this.min = Number.MAX_VALUE;
|
|
2208
|
+
this.max = 0;
|
|
2209
|
+
for (var value in values) {
|
|
2210
|
+
value = parseFloat(values[value]);
|
|
2211
|
+
if (value > this.max) {
|
|
2212
|
+
this.max = value;
|
|
2213
|
+
}
|
|
2214
|
+
if (value < this.min) {
|
|
2215
|
+
this.min = value;
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
};
|
|
2219
|
+
_proto.visualize = function visualize() {
|
|
2220
|
+
var attrs = {},
|
|
2221
|
+
value;
|
|
2222
|
+
for (var regionCode in this._values) {
|
|
2223
|
+
value = parseFloat(this._values[regionCode]);
|
|
2224
|
+
if (!isNaN(value)) {
|
|
2225
|
+
attrs[regionCode] = this.getValue(value);
|
|
2226
|
+
}
|
|
2227
|
+
}
|
|
2228
|
+
this.setAttributes(attrs);
|
|
2229
|
+
};
|
|
2230
|
+
_proto.setAttributes = function setAttributes(attrs) {
|
|
2231
|
+
for (var code in attrs) {
|
|
2232
|
+
if (this._map.regions[code]) {
|
|
2233
|
+
this._map.regions[code].element.setStyle('fill', attrs[code]);
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
};
|
|
2237
|
+
_proto.getValue = function getValue(value) {
|
|
2238
|
+
if (this.min === this.max) {
|
|
2239
|
+
return "#" + this._toColor.join('');
|
|
2240
|
+
}
|
|
2241
|
+
var hex,
|
|
2242
|
+
color = '#';
|
|
2243
|
+
for (var i = 0; i < 3; i++) {
|
|
2244
|
+
hex = Math.round(this._fromColor[i] + (this._toColor[i] - this._fromColor[i]) * ((value - this.min) / (this.max - this.min))).toString(16);
|
|
2245
|
+
color += (hex.length === 1 ? '0' : '') + hex;
|
|
2246
|
+
}
|
|
2247
|
+
return color;
|
|
2248
|
+
};
|
|
2249
|
+
_proto.hexToRgb = function hexToRgb(h) {
|
|
2250
|
+
var r = 0,
|
|
2251
|
+
g = 0,
|
|
2252
|
+
b = 0;
|
|
2253
|
+
if (h.length == 4) {
|
|
2254
|
+
r = '0x' + h[1] + h[1];
|
|
2255
|
+
g = '0x' + h[2] + h[2];
|
|
2256
|
+
b = '0x' + h[3] + h[3];
|
|
2257
|
+
} else if (h.length == 7) {
|
|
2258
|
+
r = '0x' + h[1] + h[2];
|
|
2259
|
+
g = '0x' + h[3] + h[4];
|
|
2260
|
+
b = '0x' + h[5] + h[6];
|
|
2261
|
+
}
|
|
2262
|
+
return [parseInt(r), parseInt(g), parseInt(b)];
|
|
2263
|
+
};
|
|
2264
|
+
return DataVisualization;
|
|
2265
|
+
}();
|
|
2266
|
+
|
|
2267
|
+
var JVM_PREFIX = 'jvm-';
|
|
2268
|
+
var CONTAINER_CLASS = JVM_PREFIX + "container";
|
|
2269
|
+
var MARKERS_GROUP_ID = JVM_PREFIX + "markers-group";
|
|
2270
|
+
var MARKERS_LABELS_GROUP_ID = JVM_PREFIX + "markers-labels-group";
|
|
2271
|
+
var LINES_GROUP_ID = JVM_PREFIX + "lines-group";
|
|
2272
|
+
var SERIES_CONTAINER_CLASS = JVM_PREFIX + "series-container";
|
|
2273
|
+
var SERIES_CONTAINER_H_CLASS = SERIES_CONTAINER_CLASS + " " + JVM_PREFIX + "series-h";
|
|
2274
|
+
var SERIES_CONTAINER_V_CLASS = SERIES_CONTAINER_CLASS + " " + JVM_PREFIX + "series-v";
|
|
2275
|
+
var Map = /*#__PURE__*/function () {
|
|
2276
|
+
function Map(options) {
|
|
2277
|
+
var _this = this;
|
|
2278
|
+
if (options === void 0) {
|
|
2279
|
+
options = {};
|
|
2280
|
+
}
|
|
2281
|
+
// Merge the given options with the default options
|
|
2282
|
+
this.params = merge(Map.defaults, options, true);
|
|
2283
|
+
|
|
2284
|
+
// Throw an error if the given map name doesn't match
|
|
2285
|
+
// the map that was set in map file
|
|
2286
|
+
if (!Map.maps[this.params.map]) {
|
|
2287
|
+
throw new Error("Attempt to use map which was not loaded: " + options.map);
|
|
2288
|
+
}
|
|
2289
|
+
this.regions = {};
|
|
2290
|
+
this.scale = 1;
|
|
2291
|
+
this.transX = 0;
|
|
2292
|
+
this.transY = 0;
|
|
2293
|
+
this._mapData = Map.maps[this.params.map];
|
|
2294
|
+
this._markers = {};
|
|
2295
|
+
this._lines = {};
|
|
2296
|
+
this._defaultWidth = this._mapData.width;
|
|
2297
|
+
this._defaultHeight = this._mapData.height;
|
|
2298
|
+
this._height = 0;
|
|
2299
|
+
this._width = 0;
|
|
2300
|
+
this._baseScale = 1;
|
|
2301
|
+
this._baseTransX = 0;
|
|
2302
|
+
this._baseTransY = 0;
|
|
2303
|
+
|
|
2304
|
+
// `document` is already ready, just initialise now
|
|
2305
|
+
if (document.readyState !== 'loading') {
|
|
2306
|
+
this._init();
|
|
2307
|
+
} else {
|
|
2308
|
+
// Wait until `document` is ready
|
|
2309
|
+
window.addEventListener('DOMContentLoaded', function () {
|
|
2310
|
+
return _this._init();
|
|
2311
|
+
});
|
|
2312
|
+
}
|
|
2313
|
+
}
|
|
2314
|
+
var _proto = Map.prototype;
|
|
2315
|
+
_proto._init = function _init() {
|
|
2316
|
+
var options = this.params;
|
|
2317
|
+
this.container = getElement(options.selector);
|
|
2318
|
+
this.container.classList.add(CONTAINER_CLASS);
|
|
2319
|
+
|
|
2320
|
+
// The map canvas element
|
|
2321
|
+
this.canvas = new SVGCanvasElement(this.container);
|
|
2322
|
+
|
|
2323
|
+
// Set the map's background color
|
|
2324
|
+
this.setBackgroundColor(options.backgroundColor);
|
|
2325
|
+
|
|
2326
|
+
// Create regions
|
|
2327
|
+
this._createRegions();
|
|
2328
|
+
|
|
2329
|
+
// Update size
|
|
2330
|
+
this.updateSize();
|
|
2331
|
+
|
|
2332
|
+
// Lines group must be created before markers
|
|
2333
|
+
// Otherwise the lines will be drawn on top of the markers.
|
|
2334
|
+
if (options.lines) {
|
|
2335
|
+
this._linesGroup = this.canvas.createGroup(LINES_GROUP_ID);
|
|
2336
|
+
}
|
|
2337
|
+
if (options.markers) {
|
|
2338
|
+
this._markersGroup = this.canvas.createGroup(MARKERS_GROUP_ID);
|
|
2339
|
+
this._markerLabelsGroup = this.canvas.createGroup(MARKERS_LABELS_GROUP_ID);
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
// Create markers
|
|
2343
|
+
this._createMarkers(options.markers);
|
|
2344
|
+
|
|
2345
|
+
// Create lines
|
|
2346
|
+
this._createLines(options.lines || {});
|
|
2347
|
+
|
|
2348
|
+
// Position labels
|
|
2349
|
+
this._repositionLabels();
|
|
2350
|
+
|
|
2351
|
+
// Setup the container events
|
|
2352
|
+
this._setupContainerEvents();
|
|
2353
|
+
|
|
2354
|
+
// Setup regions/markers events
|
|
2355
|
+
this._setupElementEvents();
|
|
2356
|
+
|
|
2357
|
+
// Create zoom buttons if `zoomButtons` is presented
|
|
2358
|
+
if (options.zoomButtons) {
|
|
2359
|
+
this._setupZoomButtons();
|
|
2360
|
+
}
|
|
2361
|
+
|
|
2362
|
+
// Create toolip
|
|
2363
|
+
if (options.showTooltip) {
|
|
2364
|
+
this._tooltip = new Tooltip(this);
|
|
2365
|
+
}
|
|
2366
|
+
|
|
2367
|
+
// Set selected regions if any
|
|
2368
|
+
if (options.selectedRegions) {
|
|
2369
|
+
this._setSelected('regions', options.selectedRegions);
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
// Set selected regions if any
|
|
2373
|
+
if (options.selectedMarkers) {
|
|
2374
|
+
this._setSelected('_markers', options.selectedMarkers);
|
|
2375
|
+
}
|
|
2376
|
+
|
|
2377
|
+
// Set focus on a spcific region
|
|
2378
|
+
if (options.focusOn) {
|
|
2379
|
+
this.setFocus(options.focusOn);
|
|
2380
|
+
}
|
|
2381
|
+
|
|
2382
|
+
// Data visualization
|
|
2383
|
+
if (options.visualizeData) {
|
|
2384
|
+
this.dataVisualization = new DataVisualization(options.visualizeData, this);
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
// Bind touch events if true
|
|
2388
|
+
if (options.bindTouchEvents) {
|
|
2389
|
+
if ('ontouchstart' in window || window.DocumentTouch && document instanceof DocumentTouch) {
|
|
2390
|
+
this._setupContainerTouchEvents();
|
|
2391
|
+
}
|
|
2392
|
+
}
|
|
2393
|
+
|
|
2394
|
+
// Create series if any
|
|
2395
|
+
if (options.series) {
|
|
2396
|
+
this.container.appendChild(this.legendHorizontal = createElement('div', SERIES_CONTAINER_H_CLASS));
|
|
2397
|
+
this.container.appendChild(this.legendVertical = createElement('div', SERIES_CONTAINER_V_CLASS));
|
|
2398
|
+
this._createSeries();
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
// Fire loaded event
|
|
2402
|
+
this._emit(Events.onLoaded, [this]);
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
// Public
|
|
2406
|
+
;
|
|
2407
|
+
_proto.setBackgroundColor = function setBackgroundColor(color) {
|
|
2408
|
+
this.container.style.backgroundColor = color;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
// Regions
|
|
2412
|
+
;
|
|
2413
|
+
_proto.getSelectedRegions = function getSelectedRegions() {
|
|
2414
|
+
return this._getSelected('regions');
|
|
2415
|
+
};
|
|
2416
|
+
_proto.clearSelectedRegions = function clearSelectedRegions(regions) {
|
|
2417
|
+
var _this2 = this;
|
|
2418
|
+
if (regions === void 0) {
|
|
2419
|
+
regions = undefined;
|
|
2420
|
+
}
|
|
2421
|
+
regions = this._normalizeRegions(regions) || this._getSelected('regions');
|
|
2422
|
+
regions.forEach(function (key) {
|
|
2423
|
+
_this2.regions[key].element.select(false);
|
|
2424
|
+
});
|
|
2425
|
+
};
|
|
2426
|
+
_proto.setSelectedRegions = function setSelectedRegions(regions) {
|
|
2427
|
+
this.clearSelectedRegions();
|
|
2428
|
+
this._setSelected('regions', this._normalizeRegions(regions));
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
// Markers
|
|
2432
|
+
;
|
|
2433
|
+
_proto.getSelectedMarkers = function getSelectedMarkers() {
|
|
2434
|
+
return this._getSelected('_markers');
|
|
2435
|
+
};
|
|
2436
|
+
_proto.clearSelectedMarkers = function clearSelectedMarkers() {
|
|
2437
|
+
this._clearSelected('_markers');
|
|
2438
|
+
};
|
|
2439
|
+
_proto.setSelectedMarkers = function setSelectedMarkers(markers) {
|
|
2440
|
+
this._setSelected('_markers', markers);
|
|
2441
|
+
};
|
|
2442
|
+
_proto.addMarkers = function addMarkers(config) {
|
|
2443
|
+
config = Array.isArray(config) ? config : [config];
|
|
2444
|
+
this._createMarkers(config, true);
|
|
2445
|
+
};
|
|
2446
|
+
_proto.removeMarkers = function removeMarkers(markers) {
|
|
2447
|
+
var _this3 = this;
|
|
2448
|
+
if (!markers) {
|
|
2449
|
+
markers = Object.keys(this._markers);
|
|
2450
|
+
}
|
|
2451
|
+
markers.forEach(function (index) {
|
|
2452
|
+
// Remove the element from the DOM
|
|
2453
|
+
_this3._markers[index].element.remove();
|
|
2454
|
+
// Remove the element from markers object
|
|
2455
|
+
delete _this3._markers[index];
|
|
2456
|
+
});
|
|
2457
|
+
}
|
|
2458
|
+
|
|
2459
|
+
// Lines
|
|
2460
|
+
;
|
|
2461
|
+
_proto.addLine = function addLine(from, to, style) {
|
|
2462
|
+
if (style === void 0) {
|
|
2463
|
+
style = {};
|
|
2464
|
+
}
|
|
2465
|
+
console.warn('`addLine` method is deprecated, please use `addLines` instead.');
|
|
2466
|
+
this._createLines([{
|
|
2467
|
+
from: from,
|
|
2468
|
+
to: to,
|
|
2469
|
+
style: style
|
|
2470
|
+
}], this._markers, true);
|
|
2471
|
+
};
|
|
2472
|
+
_proto.addLines = function addLines(config) {
|
|
2473
|
+
var uids = this._getLinesAsUids();
|
|
2474
|
+
if (!Array.isArray(config)) {
|
|
2475
|
+
config = [config];
|
|
2476
|
+
}
|
|
2477
|
+
this._createLines(config.filter(function (line) {
|
|
2478
|
+
return !(uids.indexOf(getLineUid(line.from, line.to)) > -1);
|
|
2479
|
+
}), true);
|
|
2480
|
+
};
|
|
2481
|
+
_proto.removeLines = function removeLines(lines) {
|
|
2482
|
+
var _this4 = this;
|
|
2483
|
+
if (Array.isArray(lines)) {
|
|
2484
|
+
lines = lines.map(function (line) {
|
|
2485
|
+
return getLineUid(line.from, line.to);
|
|
2486
|
+
});
|
|
2487
|
+
} else {
|
|
2488
|
+
lines = this._getLinesAsUids();
|
|
2489
|
+
}
|
|
2490
|
+
lines.forEach(function (uid) {
|
|
2491
|
+
_this4._lines[uid].dispose();
|
|
2492
|
+
delete _this4._lines[uid];
|
|
2493
|
+
});
|
|
2494
|
+
};
|
|
2495
|
+
_proto.removeLine = function removeLine(from, to) {
|
|
2496
|
+
console.warn('`removeLine` method is deprecated, please use `removeLines` instead.');
|
|
2497
|
+
var uid = getLineUid(from, to);
|
|
2498
|
+
if (this._lines.hasOwnProperty(uid)) {
|
|
2499
|
+
this._lines[uid].element.remove();
|
|
2500
|
+
delete this._lines[uid];
|
|
2501
|
+
}
|
|
2502
|
+
}
|
|
2503
|
+
|
|
2504
|
+
// Reset map
|
|
2505
|
+
;
|
|
2506
|
+
_proto.reset = function reset() {
|
|
2507
|
+
for (var key in this.series) {
|
|
2508
|
+
for (var i = 0; i < this.series[key].length; i++) {
|
|
2509
|
+
this.series[key][i].clear();
|
|
2510
|
+
}
|
|
2511
|
+
}
|
|
2512
|
+
if (this.legendHorizontal) {
|
|
2513
|
+
removeElement(this.legendHorizontal);
|
|
2514
|
+
this.legendHorizontal = null;
|
|
2515
|
+
}
|
|
2516
|
+
if (this.legendVertical) {
|
|
2517
|
+
removeElement(this.legendVertical);
|
|
2518
|
+
this.legendVertical = null;
|
|
2519
|
+
}
|
|
2520
|
+
this.scale = this._baseScale;
|
|
2521
|
+
this.transX = this._baseTransX;
|
|
2522
|
+
this.transY = this._baseTransY;
|
|
2523
|
+
this._applyTransform();
|
|
2524
|
+
this.clearSelectedMarkers();
|
|
2525
|
+
this.clearSelectedRegions();
|
|
2526
|
+
this.removeMarkers();
|
|
2527
|
+
}
|
|
2528
|
+
|
|
2529
|
+
// Destroy the map
|
|
2530
|
+
;
|
|
2531
|
+
_proto.destroy = function destroy(destroyInstance) {
|
|
2532
|
+
var _this5 = this;
|
|
2533
|
+
if (destroyInstance === void 0) {
|
|
2534
|
+
destroyInstance = true;
|
|
2535
|
+
}
|
|
2536
|
+
// Remove event registry
|
|
2537
|
+
EventHandler.flush();
|
|
2538
|
+
|
|
2539
|
+
// Remove tooltip from DOM and memory
|
|
2540
|
+
this._tooltip.dispose();
|
|
2541
|
+
|
|
2542
|
+
// Fire destroyed event
|
|
2543
|
+
this._emit(Events.onDestroyed);
|
|
2544
|
+
|
|
2545
|
+
// Remove references
|
|
2546
|
+
if (destroyInstance) {
|
|
2547
|
+
Object.keys(this).forEach(function (key) {
|
|
2548
|
+
try {
|
|
2549
|
+
delete _this5[key];
|
|
2550
|
+
} catch (e) {}
|
|
2551
|
+
});
|
|
2552
|
+
}
|
|
2553
|
+
};
|
|
2554
|
+
_proto.extend = function extend(name, callback) {
|
|
2555
|
+
if (typeof this[name] === 'function') {
|
|
2556
|
+
throw new Error("The method [" + name + "] does already exist, please use another name.");
|
|
2557
|
+
}
|
|
2558
|
+
Map.prototype[name] = callback;
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
// Private
|
|
2562
|
+
;
|
|
2563
|
+
_proto._emit = function _emit(eventName, args) {
|
|
2564
|
+
for (var event in Events) {
|
|
2565
|
+
if (Events[event] === eventName && typeof this.params[event] === 'function') {
|
|
2566
|
+
this.params[event].apply(this, args);
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
}
|
|
2570
|
+
|
|
2571
|
+
// Get selected markers/regions
|
|
2572
|
+
;
|
|
2573
|
+
_proto._getSelected = function _getSelected(type) {
|
|
2574
|
+
var selected = [];
|
|
2575
|
+
for (var key in this[type]) {
|
|
2576
|
+
if (this[type][key].element.isSelected) {
|
|
2577
|
+
selected.push(key);
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
return selected;
|
|
2581
|
+
};
|
|
2582
|
+
_proto._setSelected = function _setSelected(type, keys) {
|
|
2583
|
+
var _this6 = this;
|
|
2584
|
+
keys.forEach(function (key) {
|
|
2585
|
+
if (_this6[type][key]) {
|
|
2586
|
+
_this6[type][key].element.select(true);
|
|
2587
|
+
}
|
|
2588
|
+
});
|
|
2589
|
+
};
|
|
2590
|
+
_proto._clearSelected = function _clearSelected(type) {
|
|
2591
|
+
var _this7 = this;
|
|
2592
|
+
this._getSelected(type).forEach(function (key) {
|
|
2593
|
+
_this7[type][key].element.select(false);
|
|
2594
|
+
});
|
|
2595
|
+
};
|
|
2596
|
+
_proto._getLinesAsUids = function _getLinesAsUids() {
|
|
2597
|
+
return Object.keys(this._lines);
|
|
2598
|
+
};
|
|
2599
|
+
_proto._normalizeRegions = function _normalizeRegions(regions) {
|
|
2600
|
+
return typeof regions === 'string' ? [regions] : regions;
|
|
2601
|
+
};
|
|
2602
|
+
return Map;
|
|
2603
|
+
}();
|
|
2604
|
+
Map.maps = {};
|
|
2605
|
+
Map.defaults = Defaults;
|
|
2606
|
+
Object.assign(Map.prototype, core);
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* jsVectorMap
|
|
2610
|
+
* Copyrights (c) Mustafa Omar https://github.com/themustafaomar
|
|
2611
|
+
* Released under the MIT License.
|
|
2612
|
+
*/
|
|
2613
|
+
var jsVectorMap = /*#__PURE__*/function () {
|
|
2614
|
+
function jsVectorMap(options) {
|
|
2615
|
+
if (options === void 0) {
|
|
2616
|
+
options = {};
|
|
2617
|
+
}
|
|
2618
|
+
if (!options.selector) {
|
|
2619
|
+
throw new Error('Selector is not given.');
|
|
2620
|
+
}
|
|
2621
|
+
return new Map(options);
|
|
2622
|
+
}
|
|
2623
|
+
|
|
2624
|
+
// Public
|
|
2625
|
+
jsVectorMap.addMap = function addMap(name, map) {
|
|
2626
|
+
Map.maps[name] = map;
|
|
2627
|
+
};
|
|
2628
|
+
return jsVectorMap;
|
|
2629
|
+
}();
|
|
2630
|
+
var index = window.jsVectorMap = jsVectorMap;
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
|
|
2635
|
+
/***/ },
|
|
2636
|
+
|
|
2637
|
+
/***/ "../node_modules/jsvectormap/dist/maps/world.js"
|
|
2638
|
+
/*!******************************************************!*\
|
|
2639
|
+
!*** ../node_modules/jsvectormap/dist/maps/world.js ***!
|
|
2640
|
+
\******************************************************/
|
|
2641
|
+
() {
|
|
2642
|
+
|
|
2643
|
+
jsVectorMap.addMap("world",{insets:[{width:900,top:0,left:0,height:440.70631074413296,bbox:[{y:-12671671.123330014,x:-20004297.151525836},{y:6930392.025135122,x:20026572.39474939}]}],paths:{BD:{path:"M651.84,230.21l-0.6,-2.0l-1.36,-1.71l-2.31,-0.11l-0.41,0.48l0.2,0.94l-0.53,0.99l-0.72,-0.36l-0.68,0.35l-1.2,-0.36l-0.37,-2.0l-0.81,-1.86l0.39,-1.46l-0.22,-0.47l-1.14,-0.53l0.29,-0.5l1.48,-0.94l0.03,-0.65l-1.55,-1.22l0.55,-1.14l1.61,0.94l1.04,0.15l0.18,1.54l0.34,0.35l5.64,0.63l-0.84,1.64l-1.22,0.34l-0.77,1.51l0.07,0.47l1.37,1.37l0.67,-0.19l0.42,-1.39l1.21,3.84l-0.03,1.21l-0.33,-0.15l-0.4,0.28Z",name:"Bangladesh"},BE:{path:"M429.29,144.05l1.91,0.24l2.1,-0.63l2.63,1.99l-0.21,1.66l-0.69,0.4l-0.18,1.2l-1.66,-1.13l-1.39,0.15l-2.73,-2.7l-1.17,-0.18l-0.16,-0.52l1.54,-0.5Z",name:"Belgium"},BF:{path:"M421.42,247.64l-0.11,0.95l0.34,1.16l1.4,1.71l0.07,1.1l0.32,0.37l2.55,0.51l-0.04,1.28l-0.38,0.53l-1.07,0.21l-0.72,1.18l-0.63,0.21l-3.22,-0.25l-0.94,0.39l-5.4,-0.05l-0.39,0.38l0.16,2.73l-1.23,-0.43l-1.17,0.1l-0.89,0.57l-2.27,-1.72l-0.13,-1.11l0.61,-0.96l0.02,-0.93l1.87,-1.98l0.44,-1.81l0.43,-0.39l1.28,0.26l1.05,-0.52l0.47,-0.73l1.84,-1.09l0.55,-0.83l2.2,-1.0l1.15,-0.3l0.72,0.45l1.13,-0.01Z",name:"Burkina Faso"},BG:{path:"M491.65,168.18l-0.86,0.88l-0.91,2.17l0.48,1.34l-1.6,-0.24l-2.55,0.95l-0.28,1.51l-1.8,0.22l-2.0,-1.0l-1.92,0.79l-1.42,-0.07l-0.15,-1.63l-1.05,-0.97l0.0,-0.8l1.2,-1.57l0.01,-0.56l-1.14,-1.23l-0.05,-0.94l0.88,0.97l0.88,-0.2l1.91,0.47l3.68,0.16l1.42,-0.81l2.72,-0.66l2.55,1.24Z",name:"Bulgaria"},BA:{path:"M463.49,163.65l2.1,0.5l1.72,-0.03l1.52,0.68l-0.36,0.78l0.08,0.45l1.04,1.02l-0.25,0.98l-1.81,1.15l-0.38,1.38l-1.67,-0.87l-0.89,-1.2l-2.11,-1.83l-1.63,-2.22l0.23,-0.57l0.48,0.38l0.55,-0.06l0.43,-0.51l0.94,-0.06Z",name:"Bosnia and Herz."},BN:{path:"M707.48,273.58l0.68,-0.65l1.41,-0.91l-0.15,1.63l-0.81,-0.05l-0.61,0.58l-0.53,-0.6Z",name:"Brunei"},BO:{path:"M263.83,340.69l-3.09,-0.23l-0.38,0.23l-0.7,1.52l-1.31,-1.53l-3.28,-0.64l-2.37,2.4l-1.31,0.26l-0.88,-3.26l-1.3,-2.86l0.74,-2.37l-0.13,-0.43l-1.2,-1.01l-0.37,-1.89l-1.08,-1.55l1.45,-2.56l-0.96,-2.33l0.47,-1.06l-0.34,-0.73l0.91,-1.32l0.16,-3.84l0.5,-1.18l-1.81,-3.41l2.46,0.07l0.8,-0.85l3.4,-1.91l2.66,-0.35l-0.19,1.38l0.3,1.07l-0.05,1.97l2.72,2.27l2.88,0.49l0.89,0.86l1.79,0.58l0.98,0.7l1.71,0.05l1.17,0.61l0.6,2.7l-0.7,0.54l0.96,2.99l0.37,0.28l4.3,0.1l-0.25,1.2l0.27,1.02l1.43,0.9l0.5,1.35l-0.41,1.86l-0.65,1.08l0.12,1.35l-2.69,-1.65l-2.4,-0.03l-4.36,0.76l-1.49,2.5l-0.11,1.52l-0.75,2.37Z",name:"Bolivia"},JP:{path:"M781.12,166.87l1.81,0.68l1.62,-0.97l0.39,2.42l-3.35,0.75l-2.23,2.88l-3.63,-1.9l-0.56,0.2l-1.26,3.05l-2.16,0.03l-0.29,-2.51l1.08,-2.03l2.45,-0.16l0.37,-0.33l1.25,-5.94l2.47,2.71l2.03,1.12ZM773.56,187.34l-0.91,2.22l0.37,1.52l-1.14,1.75l-3.02,1.26l-4.58,0.27l-3.34,3.01l-1.25,-0.8l-0.09,-1.9l-0.46,-0.38l-4.35,0.62l-3.0,1.32l-2.85,0.05l-0.37,0.27l0.13,0.44l2.32,1.89l-1.54,4.34l-1.26,0.9l-0.79,-0.7l0.56,-2.27l-0.21,-0.45l-1.47,-0.75l-0.74,-1.4l2.12,-0.84l1.26,-1.7l2.45,-1.42l1.83,-1.91l4.78,-0.81l2.6,0.57l0.44,-0.21l2.39,-4.66l1.29,1.06l0.5,0.01l5.1,-4.02l1.69,-3.73l-0.38,-3.4l0.9,-1.61l2.14,-0.44l1.23,3.72l-0.07,2.18l-2.23,2.84l-0.04,3.16ZM757.78,196.26l0.19,0.56l-1.01,1.21l-1.16,-0.68l-1.28,0.65l-0.69,1.45l-1.02,-0.5l0.01,-0.93l1.14,-1.38l1.57,0.14l0.85,-0.98l1.4,0.46Z",name:"Japan"},BI:{path:"M495.45,295.49l-1.08,-2.99l1.14,-0.11l0.64,-1.19l0.76,0.09l0.65,1.83l-2.1,2.36Z",name:"Burundi"},BJ:{path:"M429.57,255.75l-0.05,0.8l0.5,1.34l-0.42,0.86l0.17,0.79l-1.81,2.12l-0.57,1.76l-0.08,5.42l-1.41,0.2l-0.48,-1.36l0.11,-5.71l-0.52,-0.7l-0.2,-1.35l-1.48,-1.48l0.21,-0.9l0.89,-0.43l0.42,-0.92l1.27,-0.36l1.22,-1.34l0.61,-0.0l1.62,1.24Z",name:"Benin"},BT:{path:"M650.32,213.86l0.84,0.71l-0.12,1.1l-3.76,-0.11l-1.57,0.4l-1.93,-0.87l1.48,-1.96l1.13,-0.57l1.63,0.57l1.33,0.08l0.99,0.65Z",name:"Bhutan"},JM:{path:"M228.38,239.28l-0.8,0.4l-2.26,-1.06l0.84,-0.23l2.14,0.3l1.17,0.56l-1.08,0.03Z",name:"Jamaica"},BW:{path:"M483.92,330.07l2.27,4.01l2.83,2.86l0.96,0.31l0.78,2.43l2.13,0.61l1.02,0.76l-3.0,1.64l-2.32,2.02l-1.54,2.69l-1.52,0.45l-0.64,1.94l-1.34,0.52l-1.85,-0.12l-1.21,-0.74l-1.35,-0.3l-1.22,0.62l-0.75,1.37l-2.31,1.9l-1.4,0.21l-0.35,-0.59l0.16,-1.75l-1.48,-2.54l-0.62,-0.43l-0.0,-7.1l2.08,-0.08l0.39,-0.4l0.07,-8.9l5.19,-0.93l0.8,0.89l0.51,0.07l1.5,-0.95l2.21,-0.49Z",name:"Botswana"},BR:{path:"M259.98,275.05l3.24,0.7l0.65,-0.53l4.55,-1.32l1.08,-1.06l-0.02,-0.63l0.55,-0.05l0.28,0.28l-0.26,0.87l0.22,0.48l0.73,0.32l0.4,0.81l-0.62,0.86l-0.4,2.13l0.82,2.56l1.69,1.43l1.43,0.2l3.17,-1.68l3.18,0.3l0.65,-0.75l-0.27,-0.92l1.9,-0.09l2.39,0.99l1.06,-0.61l0.84,0.78l1.2,-0.18l1.18,-1.06l0.84,-1.94l1.36,-2.11l0.37,-0.05l1.89,5.45l1.33,0.59l0.05,1.28l-1.77,1.94l0.02,0.56l1.02,0.87l4.07,0.36l0.08,2.16l0.66,0.29l1.74,-1.5l6.97,2.32l1.02,1.22l-0.35,1.18l0.49,0.5l2.81,-0.74l4.77,1.3l3.75,-0.08l3.57,2.0l3.29,2.86l1.93,0.72l2.12,0.12l0.71,0.62l1.21,4.51l-0.95,3.98l-4.72,5.06l-1.64,2.92l-1.72,2.05l-0.8,0.3l-0.72,2.03l0.18,4.75l-0.94,5.53l-0.81,1.13l-0.43,3.36l-2.55,3.5l-0.4,2.51l-1.86,1.04l-0.67,1.53l-2.54,0.01l-3.94,1.01l-1.83,1.2l-2.87,0.82l-3.03,2.19l-2.2,2.83l-0.36,2.0l0.4,1.58l-0.44,2.6l-0.51,1.2l-1.77,1.54l-2.75,4.78l-3.83,3.42l-1.24,2.74l-1.18,1.15l-0.36,-0.83l0.95,-1.14l0.01,-0.5l-1.52,-1.97l-4.56,-3.32l-1.03,-0.0l-2.38,-2.02l-0.81,-0.0l5.34,-5.45l3.77,-2.58l0.22,-2.46l-1.35,-1.81l-0.91,0.07l0.58,-2.33l0.01,-1.54l-1.11,-0.83l-1.75,0.3l-0.44,-3.11l-0.52,-0.95l-1.88,-0.88l-1.24,0.47l-2.17,-0.41l0.15,-3.21l-0.62,-1.34l0.66,-0.73l-0.22,-1.34l0.66,-1.13l0.44,-2.04l-0.61,-1.83l-1.4,-0.86l-0.2,-0.75l0.34,-1.39l-0.38,-0.5l-4.52,-0.1l-0.72,-2.22l0.59,-0.42l-0.03,-1.1l-0.5,-0.87l-0.32,-1.7l-1.45,-0.76l-1.63,-0.02l-1.05,-0.72l-1.6,-0.48l-1.13,-0.99l-2.69,-0.4l-2.47,-2.06l0.13,-4.35l-0.45,-0.45l-3.46,0.5l-3.44,1.94l-0.6,0.74l-2.9,-0.17l-1.47,0.42l-0.72,-0.18l0.15,-3.52l-0.63,-0.34l-1.94,1.41l-1.87,-0.06l-0.83,-1.18l-1.37,-0.26l0.21,-1.01l-1.35,-1.49l-0.88,-1.91l0.56,-0.6l-0.0,-0.81l1.29,-0.62l0.22,-0.43l-0.22,-1.19l0.61,-0.91l0.15,-0.99l2.65,-1.58l1.99,-0.47l0.42,-0.36l2.06,0.11l0.42,-0.33l1.19,-8.0l-0.41,-1.56l-1.1,-1.0l0.01,-1.33l1.91,-0.42l0.08,-0.96l-0.33,-0.43l-1.14,-0.2l-0.02,-0.83l4.47,0.05l0.82,-0.67l0.82,1.81l0.8,0.07l1.15,1.1l2.26,-0.05l0.71,-0.83l2.78,-0.96l0.48,-1.13l1.6,-0.64l0.24,-0.47l-0.48,-0.82l-1.83,-0.19l-0.36,-3.22Z",name:"Brazil"},BS:{path:"M226.4,223.87l-0.48,-1.15l-0.84,-0.75l0.36,-1.11l0.95,1.95l0.01,1.06ZM225.56,216.43l-1.87,0.29l-0.04,-0.22l0.74,-0.14l1.17,0.06Z",name:"Bahamas"},BY:{path:"M493.84,128.32l0.29,0.7l0.49,0.23l1.19,-0.38l2.09,0.72l0.19,1.26l-0.45,1.24l1.57,2.26l0.89,0.59l0.17,0.81l1.58,0.56l0.4,0.5l-0.53,0.41l-1.87,-0.11l-0.73,0.38l-0.13,0.52l1.04,2.74l-1.91,0.26l-0.89,0.99l-0.11,1.18l-2.73,-0.04l-0.53,-0.62l-0.52,-0.08l-0.75,0.46l-0.91,-0.42l-1.92,-0.07l-2.75,-0.79l-2.6,-0.28l-2.0,0.07l-1.5,0.92l-0.67,0.07l-0.08,-1.22l-0.59,-1.19l1.36,-0.88l0.01,-1.35l-0.7,-1.41l-0.07,-1.0l2.16,-0.02l2.72,-1.3l0.75,-2.04l1.91,-1.04l0.2,-0.41l-0.19,-1.25l3.8,-1.78l2.3,0.77Z",name:"Belarus"},BZ:{path:"M198.03,244.38l0.1,-4.49l0.69,-0.06l0.74,-1.3l0.34,0.28l-0.4,1.3l0.17,0.58l-0.34,2.25l-1.3,1.42Z",name:"Belize"},RU:{path:"M491.55,115.25l2.55,-1.85l-0.01,-0.65l-2.2,-1.5l7.32,-6.76l1.03,-2.11l-0.13,-0.49l-3.46,-2.52l0.86,-2.7l-2.11,-2.81l1.56,-3.67l-2.77,-4.52l2.15,-2.99l-0.08,-0.55l-3.65,-2.73l0.3,-2.54l1.81,-0.37l4.26,-1.77l2.42,-1.45l4.06,2.61l6.79,1.04l9.34,4.85l1.78,1.88l0.14,2.46l-2.55,2.02l-3.9,1.06l-11.07,-3.14l-2.06,0.53l-0.13,0.7l3.94,2.94l0.31,5.86l0.26,0.36l5.14,2.24l0.58,-0.29l0.32,-1.94l-1.35,-1.78l1.13,-1.09l6.13,2.42l2.11,-0.98l0.18,-0.56l-1.51,-2.67l5.41,-3.76l2.07,0.22l2.26,1.41l0.57,-0.16l1.46,-2.87l-0.05,-0.44l-1.92,-2.32l1.12,-2.32l-1.32,-2.27l5.87,1.16l1.04,1.75l-2.59,0.43l-0.33,0.4l0.02,2.36l2.46,1.83l3.87,-0.91l0.86,-2.8l13.69,-5.65l0.99,0.11l-1.92,2.06l0.23,0.67l3.11,0.45l2.0,-1.48l4.56,-0.12l3.64,-1.73l2.65,2.44l0.56,-0.01l2.85,-2.88l-0.01,-0.57l-2.35,-2.29l0.9,-1.01l7.14,1.3l3.41,1.36l9.05,4.97l0.51,-0.11l1.67,-2.27l-0.05,-0.53l-2.43,-2.21l-0.06,-0.78l-0.34,-0.36l-2.52,-0.36l0.64,-1.93l-1.32,-3.46l-0.06,-1.21l4.48,-4.06l1.69,-4.29l1.6,-0.81l6.23,1.18l0.44,2.21l-2.29,3.64l0.06,0.5l1.47,1.39l0.76,3.0l-0.56,6.03l2.69,2.82l-0.96,2.57l-4.86,5.95l0.23,0.64l2.86,0.61l0.42,-0.17l0.93,-1.4l2.64,-1.03l0.87,-2.24l2.09,-1.96l0.07,-0.5l-1.36,-2.28l1.09,-2.69l-0.32,-0.55l-2.47,-0.33l-0.5,-2.06l1.94,-4.38l-0.06,-0.42l-2.96,-3.4l4.12,-2.88l0.16,-0.4l-0.51,-2.93l0.54,-0.05l1.13,2.25l-0.96,4.35l0.27,0.47l2.68,0.84l0.5,-0.51l-1.02,-2.99l3.79,-1.66l5.01,-0.24l4.53,2.61l0.48,-0.06l0.07,-0.48l-2.18,-3.82l-0.23,-4.67l3.98,-0.9l5.97,0.21l5.49,-0.64l0.27,-0.65l-1.83,-2.31l2.56,-2.9l2.87,-0.17l4.8,-2.47l6.54,-0.67l1.03,-1.42l6.25,-0.45l2.32,1.11l5.53,-2.7l4.5,0.08l0.39,-0.28l0.66,-2.15l2.26,-2.12l5.69,-2.11l3.21,1.29l-2.46,0.94l-0.25,0.42l0.34,0.35l5.41,0.77l0.61,2.33l0.58,0.25l2.2,-1.22l7.13,0.07l5.51,2.47l1.79,1.72l-0.53,2.24l-9.16,4.15l-1.97,1.52l0.16,0.71l6.77,1.91l2.16,-0.78l1.13,2.74l0.67,0.11l1.01,-1.15l3.81,-0.73l7.7,0.77l0.54,1.99l0.36,0.29l10.47,0.71l0.43,-0.38l0.13,-3.23l4.87,0.78l3.95,-0.02l3.83,2.4l1.03,2.71l-1.35,1.79l0.02,0.5l3.15,3.64l4.07,1.96l0.53,-0.18l2.23,-4.47l3.95,1.93l4.16,-1.21l4.73,1.39l2.05,-1.26l3.94,0.62l0.43,-0.55l-1.68,-4.02l2.89,-1.8l22.31,3.03l2.16,2.75l6.55,3.51l10.29,-0.81l4.82,0.73l1.85,1.66l-0.29,3.08l0.25,0.41l3.08,1.26l3.56,-0.88l4.35,-0.11l4.8,0.87l4.57,-0.47l4.23,3.79l0.43,0.07l3.1,-1.4l0.16,-0.6l-1.88,-2.62l0.85,-1.52l7.71,1.21l5.22,-0.26l7.09,2.09l9.59,5.22l6.35,4.11l-0.2,2.38l1.88,1.41l0.6,-0.42l-0.48,-2.53l6.15,0.57l4.4,3.51l-1.97,1.43l-4.0,0.41l-0.36,0.39l-0.06,3.79l-0.74,0.62l-2.07,-0.11l-1.91,-1.39l-3.14,-1.11l-0.78,-1.85l-2.72,-0.68l-2.63,0.49l-1.04,-1.1l0.46,-1.31l-0.5,-0.51l-3.0,0.98l-0.22,0.58l0.99,1.7l-1.21,1.48l-3.04,1.68l-3.12,-0.28l-0.4,0.23l0.09,0.46l2.2,2.09l1.46,3.2l1.15,1.1l0.24,1.33l-0.42,0.67l-4.63,-0.77l-6.96,2.9l-2.19,0.44l-7.6,5.06l-0.84,1.45l-3.61,-2.37l-6.24,2.82l-0.94,-1.15l-0.53,-0.08l-2.28,1.52l-3.2,-0.49l-0.44,0.27l-0.78,2.37l-3.05,3.78l0.09,1.47l0.29,0.36l2.54,0.72l-0.29,4.53l-1.97,0.11l-0.35,0.26l-1.07,2.94l0.8,1.45l-3.91,1.58l-1.05,3.95l-3.48,0.77l-0.3,0.3l-0.72,3.29l-3.09,2.65l-0.7,-1.74l-2.44,-12.44l1.16,-4.71l2.04,-2.06l0.22,-1.64l3.8,-0.86l4.46,-4.61l4.28,-3.81l4.48,-3.01l2.17,-5.63l-0.42,-0.54l-3.04,0.33l-1.77,3.31l-5.86,3.86l-1.86,-4.25l-0.45,-0.23l-6.46,1.3l-6.47,6.44l-0.01,0.55l1.58,1.74l-8.24,1.17l0.15,-2.2l-0.34,-0.42l-3.89,-0.56l-3.25,1.81l-7.62,-0.62l-8.45,1.19l-17.71,15.41l0.22,0.7l3.74,0.41l1.36,2.17l2.43,0.76l1.88,-1.68l2.4,0.2l3.4,3.54l0.08,2.6l-1.95,3.42l-0.21,3.9l-1.1,5.06l-3.71,4.54l-0.87,2.21l-8.29,8.89l-3.19,1.7l-1.32,0.03l-1.45,-1.36l-0.49,-0.04l-2.27,1.5l0.41,-3.65l-0.59,-2.47l1.75,-0.89l2.91,0.53l0.42,-0.2l1.68,-3.03l0.87,-3.46l0.97,-1.18l1.32,-2.88l-0.45,-0.56l-4.14,0.95l-2.19,1.25l-3.41,-0.0l-1.06,-2.93l-2.97,-2.3l-4.28,-1.06l-1.75,-5.07l-2.66,-5.01l-2.29,-1.29l-3.75,-1.01l-3.44,0.08l-3.18,0.62l-2.24,1.77l0.05,0.66l1.18,0.69l0.02,1.43l-1.33,1.05l-2.26,3.51l-0.04,1.43l-3.16,1.84l-2.82,-1.16l-3.01,0.23l-1.35,-1.07l-1.5,-0.35l-3.9,2.31l-3.22,0.52l-2.27,0.79l-3.05,-0.51l-2.21,0.03l-1.48,-1.6l-2.6,-1.63l-2.63,-0.43l-5.46,1.01l-3.23,-1.25l-0.72,-2.57l-5.2,-1.24l-2.75,-1.36l-0.5,0.12l-2.59,3.45l0.84,2.1l-2.06,1.93l-3.41,-0.77l-2.42,-0.12l-1.83,-1.54l-2.53,-0.05l-2.42,-0.98l-3.86,1.57l-4.72,2.78l-3.3,0.75l-1.55,-1.92l-3.0,0.41l-1.11,-1.33l-1.62,-0.59l-1.31,-1.94l-1.38,-0.6l-3.7,0.79l-3.31,-1.83l-0.51,0.11l-0.99,1.29l-5.29,-8.05l-2.96,-2.48l0.65,-0.77l0.01,-0.51l-0.5,-0.11l-6.2,3.21l-1.84,0.15l0.15,-1.39l-0.26,-0.42l-3.22,-1.17l-2.46,0.7l-0.69,-3.16l-0.32,-0.31l-4.5,-0.75l-2.47,1.47l-6.19,1.27l-1.29,0.86l-9.51,1.3l-1.15,1.17l-0.03,0.53l1.47,1.9l-1.89,0.69l-0.22,0.56l0.31,0.6l-2.11,1.44l0.03,0.68l3.75,2.12l-0.39,0.98l-3.23,-0.13l-0.86,0.86l-3.09,-1.59l-3.97,0.07l-2.66,1.35l-8.32,-3.56l-4.07,0.06l-5.39,3.68l-0.39,2.0l-2.03,-1.5l-0.59,0.13l-2.0,3.59l0.57,0.93l-1.28,2.16l0.06,0.48l2.13,2.17l1.95,0.04l1.37,1.82l-0.23,1.46l0.25,0.43l0.83,0.33l-0.8,1.31l-2.49,0.62l-2.49,3.2l0.0,0.49l2.17,2.78l-0.15,2.18l2.5,3.24l-1.58,1.59l-0.7,-0.13l-1.63,-1.72l-2.29,-0.84l-0.94,-1.31l-2.34,-0.63l-1.48,0.4l-0.43,-0.47l-3.51,-1.48l-5.76,-1.01l-0.45,0.19l-2.89,-2.34l-2.9,-1.2l-1.53,-1.29l1.29,-0.43l2.08,-2.61l-0.05,-0.55l-0.89,-0.79l3.05,-1.06l0.27,-0.42l-0.07,-0.69l-0.49,-0.35l-1.73,0.39l0.04,-0.68l1.04,-0.72l2.66,-0.48l0.4,-1.32l-0.5,-1.6l0.92,-1.54l0.03,-1.17l-0.29,-0.37l-3.69,-1.06l-1.41,0.02l-1.42,-1.41l-2.19,0.38l-2.77,-1.01l-0.03,-0.59l-0.89,-1.43l-2.0,-0.32l-0.11,-0.54l0.49,-0.53l0.01,-0.53l-1.6,-1.9l-3.58,0.02l-0.88,0.73l-0.46,-0.07l-1.0,-2.79l2.22,-0.02l0.97,-0.74l0.07,-0.57l-0.9,-1.04l-1.35,-0.48l-0.11,-0.7l-0.95,-0.58l-1.38,-1.99l0.46,-0.98l-0.51,-1.96l-2.45,-0.84l-1.21,0.3l-0.46,-0.76l-2.46,-0.83l-0.72,-1.87l-0.21,-1.69l-0.99,-0.85l0.85,-1.17l-0.7,-3.21l1.66,-1.97l-0.16,-0.79ZM749.2,170.72l-0.6,0.4l-0.13,0.16l-0.01,-0.51l0.74,-0.05ZM874.85,67.94l-5.63,0.48l-0.26,-0.84l3.15,-1.89l1.94,0.01l3.19,1.16l-2.39,1.09ZM797.39,48.49l-2.0,1.36l-3.8,-0.42l-4.25,-1.8l0.35,-0.97l9.69,1.83ZM783.67,46.12l-1.63,3.09l-8.98,-0.13l-4.09,1.14l-4.54,-2.97l1.16,-3.01l3.05,-0.89l6.5,0.22l8.54,2.56ZM778.2,134.98l-0.56,-0.9l0.27,-0.12l0.29,1.01ZM778.34,135.48l0.94,3.53l-0.05,3.38l1.05,3.39l2.18,5.0l-2.89,-0.83l-0.49,0.26l-1.54,4.65l2.42,3.5l-0.04,1.13l-1.24,-1.24l-0.61,0.06l-1.09,1.61l-0.28,-1.61l0.27,-3.1l-0.28,-3.4l0.58,-2.47l0.11,-4.39l-1.46,-3.36l0.21,-4.32l2.15,-1.46l0.07,-0.34ZM771.95,56.61l1.76,-1.42l2.89,-0.42l3.28,1.71l0.14,0.6l-3.27,0.03l-4.81,-0.5ZM683.76,31.09l-13.01,1.93l4.03,-6.35l1.82,-0.56l1.73,0.34l5.99,2.98l-0.56,1.66ZM670.85,27.93l-5.08,0.64l-6.86,-1.57l-3.99,-2.05l-2.1,-4.16l-2.6,-0.87l5.72,-3.5l5.2,-1.28l4.69,2.85l5.59,5.4l-0.56,4.53ZM564.15,68.94l-0.64,0.17l-7.85,-0.57l-0.86,-2.04l-4.28,-1.17l-0.28,-1.94l2.27,-0.89l0.25,-0.39l-0.08,-2.38l4.81,-3.97l-0.15,-0.7l-1.47,-0.38l5.3,-3.81l0.15,-0.44l-0.58,-1.94l5.28,-2.51l8.21,-3.27l8.28,-0.96l4.35,-1.94l4.6,-0.64l1.36,1.61l-1.34,1.28l-16.43,4.94l-7.97,4.88l-7.74,9.63l0.66,4.14l4.16,3.27ZM548.81,18.48l-5.5,1.18l-0.58,1.02l-2.59,0.84l-2.13,-1.07l1.12,-1.42l-0.3,-0.65l-2.33,-0.07l1.68,-0.36l3.47,-0.06l0.42,1.29l0.66,0.16l1.38,-1.34l2.15,-0.88l2.94,1.01l-0.39,0.36ZM477.37,133.15l-4.08,0.05l-2.56,-0.32l0.33,-0.87l3.17,-1.03l3.24,0.96l-0.09,1.23Z",name:"Russia"},RW:{path:"M497.0,288.25l0.71,1.01l-0.11,1.09l-1.63,0.03l-1.04,1.39l-0.83,-0.11l0.51,-1.2l0.08,-1.34l0.42,-0.41l0.7,0.14l1.19,-0.61Z",name:"Rwanda"},RS:{path:"M469.4,163.99l0.42,-0.5l-0.01,-0.52l-1.15,-1.63l1.43,-0.62l1.33,0.12l1.17,1.06l0.46,1.13l1.34,0.64l0.35,1.35l1.46,0.9l0.76,-0.29l0.2,0.69l-0.48,0.78l0.22,1.12l1.05,1.22l-0.77,0.8l-0.37,1.52l-1.21,0.08l0.24,-0.64l-0.39,-0.54l-2.08,-1.64l-0.9,0.05l-0.48,0.94l-2.12,-1.37l0.53,-1.6l-1.11,-1.37l0.51,-1.1l-0.41,-0.57Z",name:"Serbia"},LT:{path:"M486.93,129.3l0.17,1.12l-1.81,0.98l-0.72,2.02l-2.47,1.18l-2.1,-0.02l-0.73,-1.05l-1.06,-0.3l-0.09,-1.87l-3.56,-1.13l-0.43,-2.36l2.48,-0.94l4.12,0.22l2.25,-0.31l0.52,0.69l1.24,0.21l2.19,1.56Z",name:"Lithuania"},LU:{path:"M436.08,149.45l-0.48,-0.07l0.3,-1.28l0.27,0.4l-0.09,0.96Z",name:"Luxembourg"},LR:{path:"M399.36,265.97l0.18,1.54l-0.48,0.99l0.08,0.47l2.47,1.8l-0.33,2.8l-2.65,-1.13l-5.78,-4.61l0.58,-1.32l2.1,-2.33l0.86,-0.22l0.77,1.14l-0.14,0.85l0.59,0.87l1.0,0.14l0.76,-0.99Z",name:"Liberia"},RO:{path:"M487.53,154.23l0.6,0.24l2.87,3.98l-0.17,2.69l0.45,1.42l1.32,0.81l1.35,-0.42l0.76,0.36l0.02,0.31l-0.83,0.45l-0.59,-0.22l-0.54,0.3l-0.62,3.3l-1.0,-0.22l-2.07,-1.13l-2.95,0.71l-1.25,0.76l-3.51,-0.15l-1.89,-0.47l-0.87,0.16l-0.82,-1.3l0.29,-0.26l-0.06,-0.64l-1.09,-0.34l-0.56,0.5l-1.05,-0.64l-0.39,-1.39l-1.36,-0.65l-0.35,-1.0l-0.83,-0.75l1.54,-0.54l2.66,-4.21l2.4,-1.24l2.96,0.34l1.48,0.73l0.79,-0.45l1.78,-0.3l0.75,-0.74l0.79,0.0Z",name:"Romania"},GW:{path:"M386.23,253.6l-0.29,0.84l0.15,0.6l-2.21,0.59l-0.86,0.96l-1.04,-0.83l-1.09,-0.23l-0.54,-1.06l-0.66,-0.49l2.41,-0.48l4.13,0.1Z",name:"Guinea-Bissau"},GT:{path:"M195.08,249.77l-2.48,-0.37l-1.03,-0.45l-1.14,-0.89l0.3,-0.99l-0.24,-0.68l0.96,-1.66l2.98,-0.01l0.4,-0.37l-0.19,-1.28l-1.67,-1.4l0.51,-0.4l0.0,-1.05l3.85,0.02l-0.21,4.53l0.4,0.43l1.46,0.38l-1.48,0.98l-0.35,0.7l0.12,0.57l-2.2,1.96Z",name:"Guatemala"},GR:{path:"M487.07,174.59l-0.59,1.43l-0.37,0.21l-2.84,-0.35l-3.03,0.77l-0.18,0.68l1.28,1.23l-0.61,0.23l-1.14,0.0l-1.2,-1.39l-0.63,0.03l-0.53,1.01l0.56,1.76l1.03,1.19l-0.56,0.38l-0.05,0.62l2.52,2.12l0.02,0.87l-1.78,-0.59l-0.48,0.56l0.5,1.0l-1.07,0.2l-0.3,0.53l0.75,2.01l-0.98,0.02l-1.84,-1.12l-1.37,-4.2l-2.21,-2.95l-0.11,-0.56l1.04,-1.28l0.2,-0.95l0.85,-0.66l0.03,-0.46l1.32,-0.21l1.01,-0.64l1.22,0.05l0.65,-0.56l2.26,-0.0l1.82,-0.75l1.85,1.0l2.28,-0.28l0.35,-0.39l0.01,-0.77l0.34,0.22ZM480.49,192.16l0.58,0.4l-0.68,-0.12l0.11,-0.28ZM482.52,192.82l2.51,0.06l0.24,0.32l-1.99,0.13l-0.77,-0.51Z",name:"Greece"},GQ:{path:"M448.79,279.62l0.02,2.22l-4.09,0.0l0.69,-2.27l3.38,0.05Z",name:"Eq. Guinea"},GY:{path:"M277.42,270.07l-0.32,1.83l-1.32,0.57l-0.23,0.46l-0.28,2.0l1.11,1.82l0.83,0.19l0.32,1.25l1.13,1.62l-1.21,-0.19l-1.08,0.71l-1.77,0.5l-0.44,0.46l-0.86,-0.09l-1.32,-1.01l-0.77,-2.27l0.36,-1.9l0.68,-1.23l-0.57,-1.17l-0.74,-0.43l0.12,-1.16l-0.9,-0.69l-1.1,0.09l-1.31,-1.48l0.53,-0.72l-0.04,-0.84l1.99,-0.86l0.05,-0.59l-0.71,-0.78l0.14,-0.57l1.66,-1.24l1.36,0.77l1.41,1.49l0.06,1.15l0.37,0.38l0.8,0.05l2.06,1.86Z",name:"Guyana"},GE:{path:"M521.71,168.93l5.29,0.89l4.07,2.01l1.41,-0.44l2.07,0.56l0.68,1.1l1.07,0.55l-0.12,0.59l0.98,1.29l-1.01,-0.13l-1.81,-0.83l-0.94,0.47l-3.23,0.43l-2.29,-1.39l-2.33,0.05l0.21,-0.97l-0.76,-2.26l-1.45,-1.12l-1.43,-0.39l-0.41,-0.42Z",name:"Georgia"},GB:{path:"M412.61,118.72l-2.19,3.22l-0.0,0.45l5.13,-0.3l-0.53,2.37l-2.2,3.12l0.29,0.63l2.37,0.21l2.33,4.3l1.76,0.69l2.2,5.12l2.94,0.77l-0.23,1.62l-1.15,0.88l-0.1,0.52l0.82,1.42l-1.86,1.43l-3.3,-0.02l-4.12,0.87l-1.04,-0.58l-0.47,0.06l-1.51,1.41l-2.12,-0.34l-1.86,1.18l-0.6,-0.29l3.19,-3.0l2.16,-0.69l0.28,-0.41l-0.34,-0.36l-3.73,-0.53l-0.4,-0.76l2.2,-0.87l0.17,-0.61l-1.26,-1.67l0.36,-1.7l3.38,0.28l0.43,-0.33l0.37,-1.99l-1.79,-2.49l-3.11,-0.72l-0.38,-0.59l0.79,-1.35l-0.04,-0.46l-0.82,-0.97l-0.61,0.01l-0.68,0.84l-0.1,-2.34l-1.23,-1.88l0.85,-3.47l1.77,-2.68l1.85,0.26l2.17,-0.22ZM406.26,132.86l-1.01,1.77l-1.57,-0.59l-1.16,0.01l0.37,-1.54l-0.39,-1.39l1.45,-0.1l2.3,1.84Z",name:"United Kingdom"},GA:{path:"M453.24,279.52l-0.08,0.98l0.7,1.29l2.36,0.24l-0.98,2.63l1.18,1.79l0.25,1.78l-0.29,1.52l-0.6,0.93l-1.84,-0.09l-1.23,-1.11l-0.66,0.23l-0.15,0.84l-1.42,0.26l-1.02,0.7l-0.11,0.52l0.77,1.35l-1.34,0.97l-3.94,-4.3l-1.44,-2.45l0.06,-0.6l0.54,-0.81l1.05,-3.46l4.17,-0.07l0.4,-0.4l-0.02,-2.66l2.39,0.21l1.25,-0.27Z",name:"Gabon"},GN:{path:"M391.8,254.11l0.47,0.8l1.11,-0.32l0.98,0.7l1.07,0.2l2.26,-1.22l0.64,0.44l1.13,1.56l-0.48,1.4l0.8,0.3l-0.08,0.48l0.46,0.68l-0.35,1.36l1.05,2.61l-1.0,0.69l0.03,1.41l-0.72,-0.06l-1.08,1.0l-0.24,-0.27l0.07,-1.11l-1.05,-1.54l-1.79,0.21l-0.35,-2.01l-1.6,-2.18l-2.0,-0.0l-1.31,0.54l-1.95,2.18l-1.86,-2.19l-1.2,-0.78l-0.3,-1.11l-0.8,-0.85l0.65,-0.72l0.81,-0.03l1.64,-0.8l0.23,-1.87l2.67,0.64l0.89,-0.3l1.21,0.15Z",name:"Guinea"},GM:{path:"M379.31,251.39l0.1,-0.35l2.43,-0.07l0.74,-0.61l0.51,-0.03l0.77,0.49l-1.03,-0.3l-1.87,0.9l-1.65,-0.04ZM384.03,250.91l0.91,0.05l0.75,-0.24l-0.59,0.31l-1.08,-0.13Z",name:"Gambia"},GL:{path:"M353.02,1.2l14.69,4.67l-3.68,1.89l-22.97,0.86l-0.36,0.27l0.12,0.43l1.55,1.18l8.79,-0.66l7.48,2.07l4.86,-1.77l1.66,1.73l-2.53,3.19l-0.01,0.48l0.46,0.15l6.35,-2.2l12.06,-2.31l7.24,1.13l1.09,1.99l-9.79,4.01l-1.44,1.32l-7.87,0.98l-0.35,0.41l0.38,0.38l5.07,0.24l-2.53,3.58l-2.07,3.81l0.08,6.05l2.57,3.11l-3.22,0.2l-4.12,1.66l-0.05,0.72l4.45,2.65l0.51,3.75l-2.3,0.4l-0.25,0.64l2.79,3.69l-4.82,0.31l-0.36,0.29l0.16,0.44l2.62,1.8l-0.59,1.22l-3.3,0.7l-3.45,0.01l-0.29,0.68l3.03,3.12l0.02,1.34l-4.4,-1.73l-1.72,1.35l0.15,0.66l3.31,1.15l3.13,2.71l0.81,3.16l-3.85,0.75l-4.89,-4.26l-0.47,-0.03l-0.17,0.44l0.79,2.86l-2.71,2.21l-0.13,0.44l0.37,0.27l8.73,0.34l-12.32,6.64l-7.24,1.48l-2.94,0.08l-2.69,1.75l-3.43,4.41l-5.24,2.84l-1.73,0.18l-7.12,2.1l-2.15,2.52l-0.13,2.99l-1.19,2.45l-4.01,3.09l-0.14,0.44l0.97,2.9l-2.28,6.48l-3.1,0.2l-3.83,-3.07l-4.86,-0.02l-2.25,-1.93l-1.7,-3.79l-4.3,-4.84l-1.21,-2.49l-0.44,-3.8l-3.32,-3.63l0.84,-2.86l-1.56,-1.7l2.28,-4.6l3.83,-1.74l1.03,-1.96l0.52,-3.47l-0.59,-0.41l-4.17,2.21l-2.07,0.58l-2.72,-1.28l-0.15,-2.71l0.85,-2.09l2.01,-0.06l5.06,1.2l0.46,-0.23l-0.14,-0.49l-6.54,-4.47l-2.67,0.55l-1.58,-0.86l2.56,-4.01l-0.03,-0.48l-1.5,-1.74l-4.98,-8.5l-3.13,-1.96l0.03,-1.88l-0.24,-0.37l-6.85,-3.02l-5.36,-0.38l-12.7,0.58l-2.78,-1.57l-3.66,-2.77l5.73,-1.45l5.0,-0.28l0.38,-0.38l-0.35,-0.41l-10.67,-1.38l-5.3,-2.06l0.25,-1.54l18.41,-5.26l1.22,-2.27l-0.25,-0.55l-6.14,-1.86l1.68,-1.77l8.55,-4.03l3.59,-0.63l0.3,-0.54l-0.88,-2.27l5.47,-1.47l7.65,-0.95l7.55,-0.05l3.04,1.85l6.48,-3.27l5.81,2.22l3.56,0.5l5.16,1.94l0.5,-0.21l-0.17,-0.52l-5.71,-3.13l0.28,-2.13l8.12,-3.6l8.7,0.28l3.35,-2.34l8.71,-0.6l19.93,0.8Z",name:"Greenland"},KW:{path:"M540.81,207.91l0.37,0.86l-0.17,0.76l0.6,1.53l-0.95,0.04l-0.82,-1.28l-1.57,-0.18l1.31,-1.88l1.22,0.17Z",name:"Kuwait"},GH:{path:"M420.53,257.51l-0.01,0.72l0.96,1.2l0.24,3.73l0.59,0.95l-0.51,2.1l0.19,1.41l1.02,2.21l-6.97,2.84l-1.8,-0.57l0.04,-0.89l-1.02,-2.04l0.61,-2.65l1.07,-2.32l-0.96,-6.47l5.01,0.07l0.94,-0.39l0.61,0.11Z",name:"Ghana"},OM:{path:"M568.09,230.93l-0.91,1.67l-1.22,0.04l-0.6,0.76l-0.41,1.51l0.27,1.58l-1.16,0.05l-1.56,0.97l-0.76,1.74l-1.62,0.05l-0.98,0.65l-0.17,1.15l-0.89,0.52l-1.49,-0.18l-2.4,0.94l-2.47,-5.4l7.35,-2.71l1.67,-5.23l-1.12,-2.09l0.05,-0.83l0.67,-1.0l0.07,-1.05l0.9,-0.42l-0.05,-2.07l0.7,-0.01l1.0,1.62l1.51,1.08l3.3,0.84l1.73,2.29l0.81,0.37l-1.23,2.35l-0.99,0.79Z",name:"Oman"},_2:{path:"M531.15,258.94l1.51,0.12l5.13,-0.95l5.3,-1.48l-0.01,4.4l-2.67,3.39l-1.85,0.01l-8.04,-2.94l-2.55,-3.17l1.12,-1.71l2.04,2.34Z",name:"Somaliland"},_1:{path:"M472.77,172.64l-1.08,-1.29l0.96,-0.77l0.29,-0.83l1.98,1.64l-0.36,0.67l-1.79,0.58Z",name:"Kosovo"},_0:{path:"M504.91,192.87l0.34,0.01l0.27,-0.07l-0.29,0.26l-0.31,-0.2Z",name:"N. Cyprus"},JO:{path:"M518.64,201.38l-5.14,1.56l-0.19,0.65l2.16,2.39l-0.89,1.14l-1.71,0.34l-1.71,1.8l-2.34,-0.37l1.21,-4.32l0.56,-4.07l2.8,0.94l4.46,-2.71l0.79,2.66Z",name:"Jordan"},HR:{path:"M455.59,162.84l1.09,0.07l-0.82,0.94l-0.27,-1.01ZM456.96,162.92l0.62,-0.41l1.73,0.45l0.42,-0.4l-0.01,-0.59l0.86,-0.52l0.2,-1.05l1.63,-0.68l2.57,1.68l2.07,0.6l0.87,-0.31l1.05,1.57l-0.52,0.63l-1.05,-0.56l-1.68,0.04l-2.1,-0.5l-1.29,0.06l-0.57,0.49l-0.59,-0.47l-0.62,0.16l-0.46,1.7l1.79,2.42l2.79,2.75l-1.18,-0.87l-2.21,-0.87l-1.67,-1.78l0.13,-0.63l-1.05,-1.19l-0.32,-1.27l-1.42,-0.43Z",name:"Croatia"},HT:{path:"M237.05,238.38l-1.16,0.43l-0.91,-0.55l0.05,-0.2l2.02,0.31ZM237.53,238.43l1.06,0.12l-0.05,0.01l-1.01,-0.12ZM239.25,238.45l0.79,-0.51l0.06,-0.62l-1.02,-1.0l0.02,-0.82l-0.3,-0.4l-0.93,-0.32l3.16,0.45l0.02,1.84l-0.48,0.34l-0.08,0.58l0.54,0.72l-1.78,-0.26Z",name:"Haiti"},HU:{path:"M462.08,157.89l0.65,-1.59l-0.09,-0.44l0.64,-0.0l0.39,-0.34l0.1,-0.69l1.75,0.87l2.32,-0.37l0.43,-0.66l3.49,-0.78l0.69,-0.78l0.57,-0.14l2.57,0.93l0.67,-0.23l1.03,0.65l0.08,0.37l-1.42,0.71l-2.59,4.14l-1.8,0.53l-1.68,-0.1l-2.74,1.23l-1.85,-0.54l-2.54,-1.66l-0.66,-1.1Z",name:"Hungary"},HN:{path:"M199.6,249.52l-1.7,-1.21l0.06,-0.94l3.04,-2.14l2.37,0.28l1.27,-0.09l1.1,-0.52l1.3,0.28l1.14,-0.25l1.38,0.37l2.23,1.37l-2.36,0.93l-1.23,-0.39l-0.88,1.3l-1.28,0.99l-0.98,-0.22l-0.42,0.52l-0.96,0.05l-0.36,0.41l0.04,0.88l-0.52,0.6l-0.3,0.04l-0.3,-0.55l-0.66,-0.31l0.11,-0.67l-0.48,-0.65l-0.87,-0.26l-0.73,0.2Z",name:"Honduras"},PR:{path:"M256.17,238.73l-0.26,0.27l-2.83,0.05l-0.07,-0.55l1.95,-0.1l1.22,0.33Z",name:"Puerto Rico"},PS:{path:"M509.21,203.07l0.1,-0.06l-0.02,0.03l-0.09,0.03ZM509.36,202.91l-0.02,-0.63l-0.33,-0.16l0.31,-1.09l0.24,0.1l-0.2,1.78Z",name:"Palestine"},PT:{path:"M401.84,187.38l-0.64,0.47l-1.13,-0.35l-0.91,0.17l0.28,-1.78l-0.24,-1.78l-1.25,-0.56l-0.45,-0.84l0.17,-1.66l1.01,-1.18l0.69,-2.92l-0.04,-1.39l-0.59,-1.9l1.3,-0.85l0.84,1.35l3.1,-0.3l0.46,0.99l-1.05,0.94l-0.03,2.16l-0.41,0.57l-0.08,1.1l-0.79,0.18l-0.26,0.59l0.91,1.6l-0.63,1.75l0.76,1.09l-1.1,1.52l0.07,1.05Z",name:"Portugal"},PY:{path:"M274.9,336.12l0.74,1.52l-0.16,3.45l0.32,0.41l2.64,0.5l1.11,-0.47l1.4,0.59l0.36,0.6l0.53,3.42l1.27,0.4l0.98,-0.38l0.51,0.27l-0.0,1.18l-1.21,5.32l-2.09,1.9l-1.8,0.4l-4.71,-0.98l2.2,-3.63l-0.32,-1.5l-2.78,-1.28l-3.03,-1.94l-2.07,-0.44l-4.34,-4.06l0.91,-2.9l0.08,-1.42l1.07,-2.04l4.13,-0.72l2.18,0.03l2.05,1.17l0.03,0.59Z",name:"Paraguay"},PA:{path:"M213.8,263.68l0.26,-1.52l-0.36,-0.26l-0.01,-0.49l0.44,-0.1l0.93,1.4l1.26,0.03l0.77,0.49l1.38,-0.23l2.51,-1.11l0.86,-0.72l3.45,0.85l1.4,1.18l0.41,1.74l-0.21,0.34l-0.53,-0.12l-0.47,0.29l-0.16,0.6l-0.68,-1.28l0.45,-0.49l-0.19,-0.66l-0.47,-0.13l-0.54,-0.84l-1.5,-0.75l-1.1,0.16l-0.75,0.99l-1.62,0.84l-0.18,0.96l0.85,0.97l-0.58,0.45l-0.69,0.08l-0.34,-1.18l-1.27,0.03l-0.71,-1.05l-2.59,-0.46Z",name:"Panama"},PG:{path:"M808.58,298.86l2.54,2.56l-0.13,0.26l-0.33,0.12l-0.87,-0.78l-1.22,-2.16ZM801.41,293.04l0.5,0.29l0.26,0.27l-0.49,-0.35l-0.27,-0.21ZM803.17,294.58l0.59,0.5l0.08,1.06l-0.29,-0.91l-0.38,-0.65ZM796.68,298.41l0.52,0.75l1.43,-0.19l2.27,-1.81l-0.01,-1.43l1.12,0.16l-0.04,1.1l-0.7,1.28l-1.12,0.18l-0.62,0.79l-2.46,1.11l-1.17,-0.0l-3.08,-1.25l3.41,0.0l0.45,-0.68ZM789.15,303.55l2.31,1.8l1.59,2.61l1.34,0.13l-0.06,0.66l0.31,0.43l1.06,0.24l0.06,0.65l2.25,1.05l-1.22,0.13l-0.72,-0.63l-4.56,-0.65l-3.22,-2.87l-1.49,-2.34l-3.27,-1.1l-2.38,0.72l-1.59,0.86l-0.2,0.42l0.27,1.55l-1.55,0.68l-1.36,-0.4l-2.21,-0.09l-0.08,-15.41l8.39,2.93l2.95,2.4l0.6,1.64l4.02,1.49l0.31,0.68l-1.76,0.21l-0.33,0.52l0.55,1.68Z",name:"Papua New Guinea"},PE:{path:"M244.96,295.21l-1.26,-0.07l-0.57,0.42l-1.93,0.45l-2.98,1.75l-0.36,1.36l-0.58,0.8l0.12,1.37l-1.24,0.59l-0.22,1.22l-0.62,0.84l1.04,2.27l1.28,1.44l-0.41,0.84l0.32,0.57l1.48,0.13l1.16,1.37l2.21,0.07l1.63,-1.08l-0.13,3.02l0.3,0.4l1.14,0.29l1.31,-0.34l1.9,3.59l-0.48,0.85l-0.17,3.85l-0.94,1.59l0.35,0.75l-0.47,1.07l0.98,1.97l-2.1,3.82l-0.98,0.5l-2.17,-1.28l-0.39,-1.16l-4.95,-2.58l-4.46,-2.79l-1.84,-1.51l-0.91,-1.84l0.3,-0.96l-2.11,-3.33l-4.82,-9.68l-1.04,-1.2l-0.87,-1.94l-3.4,-2.48l0.58,-1.18l-1.13,-2.23l0.66,-1.49l1.45,-1.15l-0.6,0.98l0.07,0.92l0.47,0.36l1.74,0.03l0.97,1.17l0.54,0.07l1.42,-1.03l0.6,-1.84l1.42,-2.02l3.04,-1.04l2.73,-2.62l0.86,-1.74l-0.1,-1.87l1.44,1.02l0.9,1.25l1.06,0.59l1.7,2.73l1.86,0.31l1.45,-0.61l0.96,0.39l1.36,-0.19l1.45,0.89l-1.4,2.21l0.31,0.61l0.59,0.05l0.47,0.5Z",name:"Peru"},PK:{path:"M615.09,192.34l-1.83,1.81l-2.6,0.39l-3.73,-0.68l-1.58,1.33l-0.09,0.42l1.77,4.39l1.7,1.23l-1.69,1.27l-0.12,2.14l-2.33,2.64l-1.6,2.8l-2.46,2.67l-3.03,-0.07l-2.76,2.83l0.05,0.6l1.5,1.11l0.26,1.9l1.44,1.5l0.37,1.68l-5.01,-0.01l-1.78,1.7l-1.42,-0.52l-0.76,-1.87l-2.27,-2.15l-11.61,0.86l0.71,-2.34l3.43,-1.32l0.25,-0.44l-0.21,-1.24l-1.2,-0.65l-0.28,-2.46l-2.29,-1.14l-1.28,-1.94l2.82,0.94l2.62,-0.38l1.42,0.33l0.76,-0.56l1.71,0.19l3.25,-1.14l0.27,-0.36l0.08,-2.19l1.18,-1.32l1.68,0.0l0.58,-0.82l1.6,-0.3l1.19,0.16l0.98,-0.78l0.02,-1.88l0.93,-1.47l1.48,-0.66l0.19,-0.55l-0.66,-1.25l2.04,-0.11l0.69,-1.01l-0.02,-1.16l1.11,-1.06l-0.17,-1.78l-0.49,-1.03l1.15,-0.98l5.42,-0.91l2.6,-0.82l1.6,1.16l0.97,2.34l3.45,0.97Z",name:"Pakistan"},PH:{path:"M737.01,263.84l0.39,2.97l-0.44,1.18l-0.55,-1.53l-0.67,-0.14l-1.17,1.28l0.65,2.09l-0.42,0.69l-2.48,-1.23l-0.57,-1.49l0.65,-1.03l-0.1,-0.54l-1.59,-1.19l-0.56,0.08l-0.65,0.87l-1.23,0.0l-1.58,0.97l0.83,-1.8l2.56,-1.42l0.65,0.84l0.45,0.13l1.9,-0.69l0.56,-1.11l1.5,-0.06l0.38,-0.43l-0.09,-1.19l1.21,0.71l0.36,2.02ZM733.59,256.58l0.05,0.75l0.08,0.26l-0.8,-0.42l-0.18,-0.71l0.85,0.12ZM734.08,256.1l-0.12,-1.12l-1.0,-1.27l1.36,0.03l0.53,0.73l0.51,2.04l-1.27,-0.4ZM733.76,257.68l0.38,0.98l-0.32,0.15l-0.07,-1.13ZM724.65,238.43l1.46,0.7l0.72,-0.31l-0.32,1.17l0.79,1.71l-0.57,1.84l-1.53,1.04l-0.39,2.25l0.56,2.04l1.63,0.57l1.16,-0.27l2.71,1.23l-0.19,1.08l0.76,0.84l-0.08,0.36l-1.4,-0.9l-0.88,-1.27l-0.66,0.0l-0.38,0.55l-1.6,-1.31l-2.15,0.36l-0.87,-0.39l0.07,-0.61l0.66,-0.55l-0.01,-0.62l-0.75,-0.59l-0.72,0.44l-0.74,-0.87l-0.39,-2.49l0.32,0.27l0.66,-0.28l0.26,-3.97l0.7,-2.02l1.14,0.0ZM731.03,258.87l-0.88,0.85l-1.19,1.94l-1.05,-1.19l0.93,-1.1l0.32,-1.47l0.52,-0.06l-0.27,1.15l0.22,0.45l0.49,-0.12l1.0,-1.32l-0.08,0.85ZM726.83,255.78l0.83,0.38l1.17,-0.0l-0.02,0.48l-2.0,1.4l0.03,-2.26ZM724.81,252.09l-0.38,1.27l-1.42,-1.95l1.2,0.05l0.6,0.63ZM716.55,261.82l1.1,-0.95l0.03,-0.03l-0.28,0.36l-0.85,0.61ZM719.22,259.06l0.04,-0.06l0.8,-1.53l0.16,0.75l-1.0,0.84Z",name:"Philippines"},PL:{path:"M468.44,149.42l-1.11,-1.54l-1.86,-0.33l-0.48,-1.05l-1.72,-0.37l-0.65,0.69l-0.72,-0.36l0.11,-0.61l-0.33,-0.46l-1.75,-0.27l-1.04,-0.93l-0.94,-1.94l0.16,-1.22l-0.62,-1.8l-0.78,-1.07l0.57,-1.04l-0.48,-1.43l1.41,-0.83l6.91,-2.71l2.14,0.5l0.52,0.91l5.51,0.44l4.55,-0.05l1.07,0.31l0.48,0.84l0.15,1.58l0.65,1.2l-0.01,0.99l-1.27,0.58l-0.19,0.54l0.73,1.48l0.08,1.55l1.2,2.76l-0.17,0.58l-1.23,0.44l-2.27,2.72l0.18,0.95l-1.97,-1.03l-1.98,0.4l-1.36,-0.28l-1.24,0.58l-1.07,-0.97l-1.16,0.24Z",name:"Poland"},ZM:{path:"M481.47,313.3l0.39,0.31l2.52,0.14l0.99,1.17l2.01,0.35l1.4,-0.64l0.69,1.17l1.78,0.33l1.84,2.35l2.23,0.18l0.4,-0.43l-0.21,-2.74l-0.62,-0.3l-0.48,0.32l-1.98,-1.17l0.72,-5.29l-0.51,-1.18l0.57,-1.3l3.68,-0.62l0.26,0.63l1.21,0.63l0.9,-0.22l2.16,0.67l1.33,0.71l1.07,1.02l0.56,1.87l-0.88,2.7l0.43,2.09l-0.73,0.87l-0.76,2.37l0.59,0.68l-6.6,1.83l-0.29,0.44l0.19,1.45l-1.68,0.35l-1.43,1.02l-0.38,0.87l-0.87,0.26l-3.48,3.69l-4.16,-0.53l-1.52,-1.0l-1.77,-0.13l-1.83,0.52l-3.04,-3.4l0.11,-7.59l4.82,0.03l0.39,-0.49l-0.18,-0.76l0.33,-0.83l-0.4,-1.36l0.24,-1.05Z",name:"Zambia"},EH:{path:"M384.42,230.28l0.25,-0.79l1.06,-1.29l0.8,-3.51l3.38,-2.78l0.7,-1.81l0.06,4.84l-1.98,0.2l-0.94,1.59l0.39,3.56l-3.7,-0.01ZM392.01,218.1l0.7,-1.8l1.77,-0.24l2.09,0.34l0.95,-0.62l1.28,-0.07l-0.0,2.51l-6.79,-0.12Z",name:"W. Sahara"},EE:{path:"M485.71,115.04l2.64,0.6l2.56,0.11l-1.6,1.91l0.61,3.54l-0.81,0.87l-1.78,-0.01l-3.22,-1.76l-1.8,0.45l0.21,-1.53l-0.58,-0.41l-0.69,0.34l-1.26,-1.03l-0.17,-1.63l2.83,-0.92l3.05,-0.52Z",name:"Estonia"},EG:{path:"M492.06,205.03l1.46,0.42l2.95,-1.64l2.04,-0.21l1.53,0.3l0.59,1.19l0.69,0.04l0.41,-0.64l1.81,0.58l1.95,0.16l1.04,-0.51l1.42,4.08l-2.03,4.54l-1.66,-1.77l-1.76,-3.85l-0.64,-0.12l-0.36,0.67l1.04,2.88l3.44,6.95l1.78,3.04l2.03,2.65l-0.36,0.53l0.23,2.01l2.7,2.19l-28.41,0.0l0.0,-18.96l-0.73,-2.2l0.59,-1.56l-0.32,-1.26l0.68,-0.99l3.06,-0.04l4.82,1.52Z",name:"Egypt"},ZA:{path:"M467.14,373.21l-0.13,-1.96l-0.68,-1.56l0.7,-0.68l-0.13,-2.33l-4.56,-8.19l0.77,-0.86l0.6,0.45l0.69,1.31l2.83,0.72l1.5,-0.26l2.24,-1.39l0.19,-9.55l1.35,2.3l-0.21,1.5l0.61,1.2l0.4,0.19l1.79,-0.27l2.6,-2.07l0.69,-1.32l0.96,-0.48l2.19,1.04l2.04,0.13l1.77,-0.65l0.85,-2.12l1.38,-0.33l1.59,-2.76l2.15,-1.89l3.41,-1.87l2.0,0.45l1.02,-0.28l0.99,0.2l1.75,5.29l-0.38,3.25l-0.81,-0.23l-1.0,0.46l-0.87,1.68l-0.05,1.16l1.97,1.84l1.47,-0.29l0.69,-1.18l1.09,0.01l-0.76,3.69l-0.58,1.09l-2.2,1.79l-3.17,4.76l-2.8,2.83l-3.57,2.88l-2.53,1.05l-1.22,0.14l-0.51,0.7l-1.18,-0.32l-1.39,0.5l-2.59,-0.52l-1.61,0.33l-1.18,-0.11l-2.55,1.1l-2.1,0.44l-1.6,1.07l-0.85,0.05l-0.93,-0.89l-0.93,-0.15l-0.97,-1.13l-0.25,0.05ZM491.45,364.19l0.62,-0.93l1.48,-0.59l1.18,-2.19l-0.07,-0.49l-1.99,-1.69l-1.66,0.56l-1.43,1.14l-1.34,1.73l0.02,0.51l1.88,2.11l1.31,-0.16Z",name:"South Africa"},EC:{path:"M231.86,285.53l0.29,1.59l-0.69,1.45l-2.61,2.51l-3.13,1.11l-1.53,2.18l-0.49,1.68l-1.0,0.73l-1.02,-1.11l-1.78,-0.16l0.67,-1.15l-0.24,-0.86l1.25,-2.13l-0.54,-1.09l-0.67,-0.08l-0.72,0.87l-0.87,-0.64l0.35,-0.69l-0.36,-1.96l0.81,-0.51l0.45,-1.51l0.92,-1.57l-0.07,-0.97l2.65,-1.33l2.75,1.35l0.77,1.05l2.12,0.35l0.76,-0.32l1.96,1.21Z",name:"Ecuador"},AL:{path:"M470.32,171.8l0.74,0.03l0.92,0.89l-0.17,1.95l0.36,1.28l1.01,0.82l-1.82,2.83l-0.19,-0.61l-1.25,-0.89l-0.18,-1.2l0.53,-2.82l-0.54,-1.47l0.6,-0.83Z",name:"Albania"},AO:{path:"M461.55,300.03l1.26,3.15l1.94,2.36l2.47,-0.53l1.25,0.32l0.44,-0.18l0.93,-1.92l1.31,-0.08l0.41,-0.44l0.47,-0.0l-0.1,0.41l0.39,0.49l2.65,-0.02l0.03,1.19l0.48,1.01l-0.34,1.52l0.18,1.55l0.83,1.04l-0.13,2.85l0.54,0.39l3.96,-0.41l-0.1,1.79l0.39,1.05l-0.24,1.43l-4.7,-0.03l-0.4,0.39l-0.12,8.13l2.92,3.49l-3.83,0.88l-5.89,-0.36l-1.88,-1.24l-10.47,0.22l-1.3,-1.01l-1.85,-0.16l-2.4,0.77l-0.15,-1.06l0.33,-2.16l1.0,-3.45l1.35,-3.2l2.24,-2.8l0.33,-2.06l-0.13,-1.53l-0.8,-1.08l-1.21,-2.87l0.87,-1.62l-1.27,-4.12l-1.17,-1.53l2.47,-0.63l7.03,0.03ZM451.71,298.87l-0.47,-1.25l1.25,-1.11l0.32,0.3l-0.99,1.03l-0.12,1.03Z",name:"Angola"},KZ:{path:"M552.8,172.89l0.46,-1.27l-0.48,-1.05l-2.96,-1.19l-1.06,-2.58l-1.37,-0.87l-0.03,-0.3l1.95,0.23l0.45,-0.38l0.08,-1.96l1.75,-0.41l2.1,0.45l0.48,-0.33l0.45,-3.04l-0.45,-2.09l-0.41,-0.31l-2.42,0.15l-2.36,-0.73l-2.87,1.37l-2.17,0.61l-0.85,-0.34l0.13,-1.61l-1.6,-2.12l-2.02,-0.08l-1.78,-1.82l1.29,-2.18l-0.57,-0.95l1.62,-2.91l2.21,1.63l0.63,-0.27l0.29,-2.22l4.92,-3.43l3.71,-0.08l8.4,3.6l2.92,-1.36l3.77,-0.06l3.11,1.66l0.51,-0.11l0.6,-0.81l3.31,0.13l0.39,-0.25l0.63,-1.57l-0.17,-0.5l-3.5,-1.98l1.87,-1.27l-0.13,-1.03l1.98,-0.72l0.18,-0.62l-1.59,-2.06l0.81,-0.82l9.23,-1.18l1.33,-0.88l6.18,-1.26l2.26,-1.42l4.08,0.68l0.73,3.33l0.51,0.3l2.48,-0.8l2.79,1.02l-0.17,1.56l0.43,0.44l2.55,-0.24l4.89,-2.53l0.03,0.32l3.15,2.61l5.56,8.47l0.65,0.02l1.12,-1.46l3.15,1.74l3.76,-0.78l1.15,0.49l1.14,1.8l1.84,0.76l0.99,1.29l3.35,-0.25l1.02,1.52l-1.6,1.81l-1.93,0.28l-0.34,0.38l-0.11,3.05l-1.13,1.16l-4.75,-1.0l-0.46,0.27l-1.76,5.47l-1.1,0.59l-4.91,1.23l-0.27,0.54l2.1,4.97l-1.37,0.63l-0.23,0.41l0.13,1.13l-0.88,-0.25l-1.42,-1.13l-7.89,-0.4l-0.92,0.31l-3.73,-1.22l-1.42,0.63l-0.53,1.66l-3.72,-0.94l-1.85,0.43l-0.76,1.4l-4.65,2.62l-1.13,2.08l-0.44,0.01l-0.92,-1.4l-2.87,-0.09l-0.45,-2.14l-0.38,-0.32l-0.8,-0.01l0.0,-2.96l-3.0,-2.22l-7.31,0.58l-2.35,-2.68l-6.71,-3.69l-6.45,1.83l-0.29,0.39l0.1,10.85l-0.7,0.08l-1.62,-2.17l-1.83,-0.96l-3.11,0.59l-0.64,0.51Z",name:"Kazakhstan"},ET:{path:"M516.04,247.79l1.1,0.84l1.63,-0.45l0.68,0.47l1.63,0.03l2.01,0.94l1.73,1.66l1.64,2.07l-1.52,2.04l0.16,1.72l0.39,0.38l2.05,0.0l-0.36,1.03l2.86,3.58l8.32,3.08l1.31,0.02l-6.32,6.75l-3.1,0.11l-2.36,1.77l-1.47,0.04l-0.86,0.79l-1.38,-0.0l-1.32,-0.81l-2.29,1.05l-0.76,0.98l-3.29,-0.41l-3.07,-2.07l-1.8,-0.07l-0.62,-0.6l0.0,-1.24l-0.28,-0.38l-1.15,-0.37l-1.4,-2.59l-1.19,-0.68l-0.47,-1.0l-1.27,-1.23l-1.16,-0.22l0.43,-0.72l1.45,-0.28l0.41,-0.95l-0.03,-2.21l0.68,-2.44l1.05,-0.63l1.43,-3.06l1.57,-1.37l1.02,-2.51l0.35,-1.88l2.52,0.46l0.44,-0.24l0.58,-1.43Z",name:"Ethiopia"},ZW:{path:"M498.91,341.09l-1.11,-0.22l-0.92,0.28l-2.09,-0.44l-1.5,-1.11l-1.89,-0.43l-0.62,-1.4l-0.01,-0.84l-0.3,-0.38l-0.97,-0.25l-2.71,-2.74l-1.92,-3.32l3.83,0.45l3.73,-3.82l1.08,-0.44l0.26,-0.77l1.25,-0.9l1.41,-0.26l0.5,0.89l1.99,-0.05l1.72,1.17l1.11,0.17l1.05,0.66l0.01,2.99l-0.59,3.76l0.38,0.86l-0.23,1.23l-0.39,0.35l-0.63,1.81l-2.43,2.75Z",name:"Zimbabwe"},ES:{path:"M416.0,169.21l1.07,1.17l4.61,1.38l1.06,-0.57l2.6,1.26l2.71,-0.3l0.09,1.12l-2.14,1.8l-3.11,0.61l-0.31,0.31l-0.2,0.89l-1.54,1.69l-0.97,2.4l0.84,1.74l-1.32,1.27l-0.48,1.68l-1.88,0.65l-1.66,2.07l-5.36,-0.01l-1.79,1.08l-0.89,0.98l-0.88,-0.17l-0.79,-0.82l-0.68,-1.59l-2.37,-0.63l-0.11,-0.5l1.21,-1.82l-0.77,-1.13l0.61,-1.68l-0.76,-1.62l0.87,-0.49l0.09,-1.25l0.42,-0.6l0.03,-2.11l0.99,-0.69l0.13,-0.5l-1.03,-1.73l-1.46,-0.11l-0.61,0.38l-1.06,0.0l-0.52,-1.23l-0.53,-0.21l-1.32,0.67l-0.01,-1.49l-0.75,-0.96l3.03,-1.88l2.99,0.53l3.32,-0.02l2.63,0.51l6.01,-0.06Z",name:"Spain"},ER:{path:"M520.38,246.23l3.42,2.43l3.5,3.77l0.84,0.54l-0.95,-0.01l-3.51,-3.89l-2.33,-1.15l-1.73,-0.07l-0.91,-0.51l-1.26,0.51l-1.34,-1.02l-0.61,0.17l-0.66,1.61l-2.35,-0.43l-0.17,-0.67l1.29,-5.29l0.61,-0.61l1.95,-0.53l0.87,-1.01l1.17,2.41l0.68,2.33l1.49,1.43Z",name:"Eritrea"},ME:{path:"M468.91,172.53l-1.22,-1.02l0.47,-1.81l0.89,-0.72l2.26,1.51l-0.5,0.57l-0.75,-0.27l-1.14,1.73Z",name:"Montenegro"},MD:{path:"M488.41,153.73l1.4,-0.27l1.72,0.93l1.07,0.15l0.85,0.65l-0.14,0.84l0.96,0.85l1.12,2.47l-1.15,-0.07l-0.66,-0.41l-0.52,0.25l-0.09,0.86l-1.08,1.89l-0.27,-0.86l0.25,-1.34l-0.16,-1.6l-3.29,-4.34Z",name:"Moldova"},MG:{path:"M545.91,319.14l0.4,3.03l0.62,1.21l-0.21,1.02l-0.57,-0.8l-0.69,-0.01l-0.47,0.76l0.41,2.12l-0.18,0.87l-0.73,0.78l-0.15,2.14l-4.71,15.2l-1.06,2.88l-3.92,1.64l-3.12,-1.49l-0.6,-1.21l-0.19,-2.4l-0.86,-2.05l-0.21,-1.77l0.38,-1.62l1.21,-0.75l0.01,-0.76l1.19,-2.04l0.23,-1.66l-1.06,-2.99l-0.19,-2.21l0.81,-1.33l0.32,-1.46l4.63,-1.22l3.44,-3.0l0.85,-1.4l-0.08,-0.7l0.78,-0.04l1.38,-1.77l0.13,-1.64l0.45,-0.61l1.16,1.69l0.59,1.6Z",name:"Madagascar"},MA:{path:"M378.78,230.02l0.06,-0.59l0.92,-0.73l0.82,-1.37l-0.09,-1.04l0.79,-1.7l1.31,-1.58l0.96,-0.59l0.66,-1.55l0.09,-1.47l0.81,-1.48l1.72,-1.07l1.55,-2.69l1.16,-0.96l2.44,-0.39l1.94,-1.82l1.31,-0.78l2.09,-2.28l-0.51,-3.65l1.24,-3.7l1.5,-1.75l4.46,-2.57l2.37,-4.47l1.44,0.01l1.68,1.21l2.32,-0.19l3.47,0.65l0.8,1.54l0.16,1.71l0.86,2.96l0.56,0.59l-0.26,0.61l-3.05,0.44l-1.26,1.05l-1.33,0.22l-0.33,0.37l-0.09,1.78l-2.68,1.0l-1.07,1.42l-4.47,1.13l-4.04,2.01l-0.54,4.64l-1.15,0.06l-0.92,0.61l-1.96,-0.35l-2.42,0.54l-0.74,1.9l-0.86,0.4l-1.14,3.26l-3.53,3.01l-0.8,3.55l-0.96,1.1l-0.29,0.82l-4.95,0.18Z",name:"Morocco"},UZ:{path:"M598.64,172.75l-1.63,1.52l0.06,0.64l1.85,1.12l1.97,-0.64l2.21,1.17l-2.52,1.68l-2.59,-0.22l-0.18,-0.41l0.46,-1.23l-0.45,-0.53l-3.35,0.69l-2.1,3.51l-1.87,-0.12l-1.03,1.51l0.22,0.55l1.64,0.62l0.46,1.83l-1.19,2.49l-2.66,-0.53l0.05,-1.36l-0.26,-0.39l-3.3,-1.23l-2.56,-1.4l-4.4,-3.34l-1.34,-3.14l-1.08,-0.6l-2.58,0.13l-0.69,-0.44l-0.47,-2.52l-3.37,-1.6l-0.43,0.05l-2.07,1.72l-2.1,1.01l-0.21,0.47l0.28,1.01l-1.91,0.03l-0.09,-10.5l5.99,-1.7l6.19,3.54l2.71,2.84l7.05,-0.67l2.71,2.01l-0.17,2.81l0.39,0.42l0.9,0.02l0.44,2.14l0.38,0.32l2.94,0.09l0.95,1.42l1.28,-0.24l1.05,-2.04l4.43,-2.5Z",name:"Uzbekistan"},MM:{path:"M673.9,230.21l-1.97,1.57l-0.57,0.96l-1.4,0.6l-1.36,1.05l-1.99,0.36l-1.08,2.66l-0.91,0.4l-0.19,0.55l1.21,2.27l2.52,3.43l-0.79,1.91l-0.74,0.41l-0.17,0.52l0.65,1.37l1.61,1.95l0.25,2.58l0.9,2.13l-1.92,3.57l0.68,-2.25l-0.81,-1.74l0.19,-2.65l-1.05,-1.53l-1.24,-6.17l-1.12,-2.26l-0.6,-0.13l-4.34,3.02l-2.39,-0.65l0.77,-2.84l-0.52,-2.61l-1.91,-2.96l0.25,-0.75l-0.29,-0.51l-1.33,-0.3l-1.61,-1.93l-0.1,-1.3l0.82,-0.24l0.04,-1.64l1.02,-0.52l0.21,-0.45l-0.23,-0.95l0.54,-0.96l0.08,-2.22l1.46,0.45l0.47,-0.2l1.12,-2.19l0.16,-1.35l1.33,-2.16l-0.0,-1.52l2.89,-1.66l1.63,0.44l0.5,-0.44l-0.17,-1.4l0.64,-0.36l0.08,-1.04l0.77,-0.11l0.71,1.35l1.06,0.69l-0.03,3.86l-2.38,2.37l-0.3,3.15l0.46,0.43l2.28,-0.38l0.51,2.08l1.47,0.67l-0.6,1.8l0.19,0.48l2.97,1.48l1.64,-0.55l0.02,0.32Z",name:"Myanmar"},ML:{path:"M392.61,254.08l-0.19,-2.37l-0.99,-0.87l-0.44,-1.3l-0.09,-1.28l0.81,-0.58l0.35,-1.24l2.37,0.65l1.31,-0.47l0.86,0.15l0.66,-0.56l9.83,-0.04l0.38,-0.28l0.56,-1.8l-0.44,-0.65l-2.35,-21.95l3.27,-0.04l16.7,11.38l0.74,1.31l2.5,1.09l0.02,1.38l0.44,0.39l2.34,-0.21l0.01,5.38l-1.28,1.61l-0.26,1.49l-5.31,0.57l-1.07,0.92l-2.9,0.1l-0.86,-0.48l-1.38,0.36l-2.4,1.08l-0.6,0.87l-1.85,1.09l-0.43,0.7l-0.79,0.39l-1.44,-0.21l-0.81,0.84l-0.34,1.64l-1.91,2.02l-0.06,1.03l-0.67,1.22l0.13,1.16l-0.97,0.39l-0.23,-0.64l-0.52,-0.24l-1.35,0.4l-0.34,0.55l-2.69,-0.28l-0.37,-0.35l-0.02,-0.9l-0.65,-0.35l0.45,-0.64l-0.03,-0.53l-2.12,-2.44l-0.76,-0.01l-2.0,1.16l-0.78,-0.15l-0.8,-0.67l-1.21,0.23Z",name:"Mali"},MN:{path:"M676.61,146.48l3.81,1.68l5.67,-1.0l2.37,0.41l2.34,1.5l1.79,1.75l2.29,-0.03l3.12,0.52l2.47,-0.81l3.41,-0.59l3.53,-2.21l1.25,0.29l1.53,1.13l2.27,-0.21l-2.66,5.01l0.64,1.68l0.47,0.21l1.32,-0.38l2.38,0.48l2.02,-1.11l1.76,0.89l2.06,2.02l-0.13,0.53l-1.72,-0.29l-3.77,0.46l-1.88,0.99l-1.76,1.99l-3.71,1.17l-2.45,1.6l-3.83,-0.87l-0.41,0.17l-1.31,1.99l1.04,2.24l-1.52,0.9l-1.74,1.57l-2.79,1.02l-3.78,0.13l-4.05,1.05l-2.77,1.52l-1.16,-0.85l-2.94,0.0l-3.62,-1.79l-2.58,-0.49l-3.4,0.41l-5.12,-0.67l-2.63,0.06l-1.31,-1.6l-1.4,-3.0l-1.48,-0.33l-3.13,-1.94l-6.16,-0.93l-0.71,-1.06l0.86,-3.82l-1.93,-2.71l-3.5,-1.18l-1.95,-1.58l-0.5,-1.72l2.34,-0.52l4.75,-2.8l3.62,-1.47l2.18,0.97l2.46,0.05l1.81,1.53l2.46,0.12l3.95,0.71l2.43,-2.28l0.08,-0.48l-0.9,-1.72l2.24,-2.98l2.62,1.27l4.94,1.17l0.43,2.24Z",name:"Mongolia"},MK:{path:"M472.8,173.98l0.49,-0.71l3.57,-0.71l1.0,0.77l0.13,1.45l-0.65,0.53l-1.15,-0.05l-1.12,0.67l-1.39,0.22l-0.79,-0.55l-0.29,-1.03l0.19,-0.6Z",name:"Macedonia"},MW:{path:"M505.5,309.31l0.85,1.95l0.15,2.86l-0.69,1.65l0.71,1.8l0.06,1.28l0.49,0.64l0.07,1.06l0.4,0.55l0.8,-0.23l0.55,0.61l0.69,-0.21l0.34,0.6l0.19,2.94l-1.04,0.62l-0.54,1.25l-1.11,-1.08l-0.16,-1.56l0.51,-1.31l-0.32,-1.3l-0.99,-0.65l-0.82,0.12l-2.36,-1.64l0.63,-1.96l0.82,-1.18l-0.46,-2.01l0.9,-2.86l-0.94,-2.51l0.96,0.18l0.29,0.4Z",name:"Malawi"},MR:{path:"M407.36,220.66l-2.58,0.03l-0.39,0.44l2.42,22.56l0.36,0.43l-0.39,1.24l-9.75,0.04l-0.56,0.53l-0.91,-0.11l-1.27,0.45l-1.61,-0.66l-0.97,0.03l-0.36,0.29l-0.38,1.35l-0.42,0.23l-2.93,-3.4l-2.96,-1.52l-1.62,-0.03l-1.27,0.54l-1.12,-0.2l-0.65,0.4l-0.08,-0.49l0.68,-1.29l0.31,-2.43l-0.57,-3.91l0.23,-1.21l-0.69,-1.5l-1.15,-1.02l0.25,-0.39l9.58,0.02l0.4,-0.45l-0.46,-3.68l0.47,-1.04l2.12,-0.21l0.36,-0.4l-0.08,-6.4l7.81,0.13l0.41,-0.4l0.01,-3.31l7.76,5.35Z",name:"Mauritania"},UG:{path:"M498.55,276.32l0.7,-0.46l1.65,0.5l1.96,-0.57l1.7,0.01l1.45,-0.98l0.91,1.33l1.33,3.95l-2.57,4.03l-1.46,-0.4l-2.54,0.91l-1.37,1.61l-0.01,0.81l-2.42,-0.01l-2.26,1.01l-0.17,-1.59l0.58,-1.04l0.14,-1.94l1.37,-2.28l1.78,-1.58l-0.17,-0.65l-0.72,-0.24l0.13,-2.43Z",name:"Uganda"},MY:{path:"M717.47,273.46l-1.39,0.65l-2.12,-0.41l-2.88,-0.0l-0.38,0.28l-0.84,2.75l-0.99,0.96l-1.21,3.29l-1.73,0.45l-2.45,-0.68l-1.39,0.31l-1.33,1.15l-1.59,-0.14l-1.41,0.44l-1.44,-1.19l-0.18,-0.73l1.34,0.53l1.93,-0.47l0.75,-2.22l4.02,-1.03l2.75,-3.21l0.82,0.94l0.64,-0.05l0.4,-0.65l0.96,0.06l0.42,-0.36l0.24,-2.68l1.81,-1.64l1.21,-1.86l0.63,-0.01l1.07,1.05l0.34,1.28l3.44,1.35l-0.06,0.35l-1.37,0.1l-0.35,0.54l0.32,0.88ZM673.68,269.59l0.17,1.09l0.47,0.33l1.65,-0.3l0.87,-0.94l1.61,1.52l0.98,1.56l-0.12,2.81l0.41,2.29l0.95,0.9l0.88,2.44l-1.27,0.12l-5.1,-3.67l-0.34,-1.29l-1.37,-1.59l-0.33,-1.97l-0.88,-1.4l0.25,-1.68l-0.46,-1.05l1.63,0.84Z",name:"Malaysia"},MX:{path:"M133.12,200.41l0.2,0.47l9.63,3.33l6.96,-0.02l0.4,-0.4l0.0,-0.74l3.77,0.0l3.55,2.93l1.39,2.83l1.52,1.04l2.08,0.82l0.47,-0.14l1.46,-2.0l1.73,-0.04l1.59,0.98l2.05,3.35l1.47,1.56l1.26,3.14l2.18,1.02l2.26,0.58l-1.18,3.72l-0.42,5.04l1.79,4.89l1.62,1.89l0.61,1.52l1.2,1.42l2.55,0.66l1.37,1.1l7.54,-1.89l1.86,-1.3l1.14,-4.3l4.1,-1.21l3.57,-0.11l0.32,0.3l-0.06,0.94l-1.26,1.45l-0.67,1.71l0.38,0.7l-0.72,2.27l-0.49,-0.3l-1.0,0.08l-1.0,1.39l-0.47,-0.11l-0.53,0.47l-4.26,-0.02l-0.4,0.4l-0.0,1.06l-1.1,0.26l0.1,0.44l1.82,1.44l0.56,0.91l-3.19,0.21l-1.21,2.09l0.24,0.72l-0.2,0.44l-2.24,-2.18l-1.45,-0.93l-2.22,-0.69l-1.52,0.22l-3.07,1.16l-10.55,-3.85l-2.86,-1.96l-3.78,-0.92l-1.08,-1.19l-2.62,-1.43l-1.18,-1.54l-0.38,-0.81l0.66,-0.63l-0.18,-0.53l0.52,-0.76l0.01,-0.91l-2.0,-3.82l-2.21,-2.63l-2.53,-2.09l-1.19,-1.62l-2.2,-1.17l-0.3,-0.43l0.34,-1.48l-0.21,-0.45l-1.23,-0.6l-1.36,-1.2l-0.59,-1.78l-1.54,-0.47l-2.44,-2.55l-0.16,-0.9l-1.33,-2.03l-0.84,-1.99l-0.16,-1.33l-1.81,-1.1l-0.97,0.05l-1.31,-0.7l-0.57,0.22l-0.4,1.12l0.72,3.77l3.51,3.89l0.28,0.78l0.53,0.26l0.41,1.43l1.33,1.73l1.58,1.41l0.8,2.39l1.43,2.41l0.13,1.32l0.37,0.36l1.04,0.08l1.67,2.28l-0.85,0.76l-0.66,-1.51l-1.68,-1.54l-2.91,-1.87l0.06,-1.82l-0.54,-1.68l-2.91,-2.03l-0.55,0.09l-1.95,-1.1l-0.88,-0.94l0.68,-0.08l0.93,-1.01l0.08,-1.78l-1.93,-1.94l-1.46,-0.77l-3.75,-7.56l4.88,-0.42Z",name:"Mexico"},VU:{path:"M839.04,322.8l0.22,1.14l-0.44,0.03l-0.2,-1.45l0.42,0.27Z",name:"Vanuatu"},FR:{path:"M444.48,172.62l-0.64,1.78l-0.58,-0.31l-0.49,-1.72l0.4,-0.89l1.0,-0.72l0.3,1.85ZM429.64,147.1l1.78,1.58l1.46,-0.13l2.1,1.42l1.35,0.27l1.23,0.83l3.04,0.5l-1.03,1.85l-0.3,2.12l-0.41,0.32l-0.95,-0.24l-0.5,0.43l0.06,0.61l-1.81,1.92l-0.04,1.42l0.55,0.38l0.88,-0.36l0.61,0.97l-0.03,1.0l0.57,0.91l-0.75,1.09l0.65,2.39l1.27,0.57l-0.18,0.82l-2.01,1.53l-4.77,-0.8l-3.82,1.0l-0.53,1.85l-2.49,0.34l-2.71,-1.31l-1.16,0.57l-4.31,-1.29l-0.72,-0.86l1.19,-1.78l0.39,-6.45l-2.58,-3.3l-1.9,-1.66l-3.72,-1.23l-0.19,-1.72l2.81,-0.61l4.12,0.81l0.47,-0.48l-0.6,-2.77l1.94,0.95l5.83,-2.54l0.92,-2.74l1.6,-0.49l0.24,0.78l1.36,0.33l1.05,1.19ZM289.01,278.39l-0.81,0.8l-0.78,0.12l-0.5,-0.66l-0.56,-0.1l-0.91,0.6l-0.46,-0.22l1.09,-2.96l-0.96,-1.77l-0.17,-1.49l1.07,-1.77l2.32,0.75l2.51,2.01l0.3,0.74l-2.14,3.96Z",name:"France"},FI:{path:"M492.17,76.39l-0.23,3.5l3.52,2.63l-2.08,2.88l-0.02,0.44l2.8,4.56l-1.59,3.31l2.16,3.24l-0.94,2.39l0.14,0.47l3.44,2.51l-0.77,1.62l-7.52,6.95l-4.5,0.31l-4.38,1.37l-3.8,0.74l-1.44,-1.96l-2.17,-1.11l0.5,-3.66l-1.16,-3.33l1.09,-2.08l2.21,-2.42l5.67,-4.32l1.64,-0.83l0.21,-0.42l-0.46,-2.02l-3.38,-1.89l-0.75,-1.43l-0.22,-6.74l-6.79,-4.8l0.8,-0.62l2.54,2.12l3.46,-0.12l3.0,0.96l2.51,-2.11l1.17,-3.08l3.55,-1.38l2.76,1.53l-0.95,2.79Z",name:"Finland"},FJ:{path:"M871.53,326.34l-2.8,1.05l-0.08,-0.23l2.97,-1.21l-0.1,0.39ZM867.58,329.25l0.43,0.37l-0.27,0.88l-1.24,0.28l-1.04,-0.24l-0.14,-0.66l0.63,-0.58l0.92,0.26l0.7,-0.31Z",name:"Fiji"},FK:{path:"M274.36,425.85l1.44,1.08l-0.47,0.73l-3.0,0.89l-0.96,-1.0l-0.52,-0.05l-1.83,1.29l-0.73,-0.88l2.46,-1.64l1.93,0.76l1.67,-1.19Z",name:"Falkland Is."},NI:{path:"M202.33,252.67l0.81,-0.18l1.03,-1.02l-0.04,-0.88l0.68,-0.0l0.63,-0.54l0.97,0.22l1.53,-1.26l0.58,-0.99l1.17,0.34l2.41,-0.94l0.13,1.32l-0.81,1.94l0.1,2.74l-0.36,0.37l-0.11,1.75l-0.47,0.81l0.18,1.14l-1.73,-0.85l-0.71,0.27l-1.47,-0.6l-0.52,0.16l-4.01,-3.81Z",name:"Nicaragua"},NL:{path:"M430.31,143.39l0.6,-0.5l2.13,-4.8l3.2,-1.33l1.74,0.08l0.33,0.8l-0.59,2.92l-0.5,0.99l-1.26,0.0l-0.4,0.45l0.33,2.7l-2.2,-1.78l-2.62,0.58l-0.75,-0.11Z",name:"Netherlands"},NO:{path:"M491.44,67.41l6.8,2.89l-2.29,0.86l-0.15,0.65l2.33,2.38l-4.98,1.79l0.84,-2.45l-0.18,-0.48l-3.55,-1.8l-3.89,1.52l-1.42,3.38l-2.12,1.72l-2.64,-1.0l-3.11,0.21l-2.66,-2.22l-0.5,-0.01l-1.41,1.1l-1.44,0.17l-0.35,0.35l-0.32,2.47l-4.32,-0.64l-0.44,0.29l-0.58,2.11l-2.45,0.2l-4.15,7.68l-3.88,5.76l0.78,1.62l-0.64,1.16l-2.24,-0.06l-0.38,0.24l-1.66,3.89l0.15,5.17l1.57,2.04l-0.78,4.16l-2.02,2.48l-0.85,1.63l-1.3,-1.75l-0.58,-0.07l-4.87,4.19l-3.1,0.79l-3.16,-1.7l-0.85,-3.77l-0.77,-8.55l2.14,-2.31l6.55,-3.27l5.02,-4.17l10.63,-13.84l10.98,-8.7l5.35,-1.91l4.34,0.12l3.69,-3.64l4.49,0.19l4.37,-0.89ZM484.55,20.04l4.26,1.75l-3.1,2.55l-7.1,0.65l-7.08,-0.9l-0.37,-1.31l-0.37,-0.29l-3.44,-0.1l-2.08,-2.0l6.87,-1.44l3.9,1.31l2.39,-1.64l6.13,1.4ZM481.69,33.93l-4.45,1.74l-3.54,-0.99l1.12,-0.9l0.05,-0.58l-1.06,-1.22l4.22,-0.89l1.09,1.97l2.57,0.87ZM466.44,24.04l7.43,3.77l-5.41,1.86l-1.58,4.08l-2.26,1.2l-1.12,4.11l-2.61,0.18l-4.79,-2.86l1.84,-1.54l-0.1,-0.68l-3.69,-1.53l-4.77,-4.51l-1.73,-3.89l6.11,-1.82l1.54,1.92l3.57,-0.08l1.2,-1.96l3.32,-0.18l3.05,1.92Z",name:"Norway"},NA:{path:"M474.26,330.66l-0.97,0.04l-0.38,0.4l-0.07,8.9l-2.09,0.08l-0.39,0.4l-0.0,17.42l-1.98,1.23l-1.17,0.17l-2.44,-0.66l-0.48,-1.13l-0.99,-0.74l-0.54,0.05l-0.9,1.01l-1.53,-1.68l-0.93,-1.88l-1.99,-8.56l-0.06,-3.12l-0.33,-1.52l-2.3,-3.34l-1.91,-4.83l-1.96,-2.43l-0.12,-1.57l2.33,-0.79l1.43,0.07l1.81,1.13l10.23,-0.25l1.84,1.23l5.87,0.35ZM474.66,330.64l6.51,-1.6l1.9,0.39l-1.69,0.4l-1.31,0.83l-1.12,-0.94l-4.29,0.92Z",name:"Namibia"},NC:{path:"M838.78,341.24l-0.33,0.22l-2.9,-1.75l-3.26,-3.37l1.65,0.83l4.85,4.07Z",name:"New Caledonia"},NE:{path:"M454.75,226.53l1.33,1.37l0.48,0.07l1.27,-0.7l0.53,3.52l0.94,0.83l0.17,0.92l0.81,0.69l-0.44,0.95l-0.96,5.26l-0.13,3.22l-3.04,2.31l-1.22,3.57l1.02,1.24l-0.0,1.46l0.39,0.4l1.13,0.04l-0.9,1.25l-1.47,-2.42l-0.86,-0.29l-2.09,1.37l-1.74,-0.67l-1.45,-0.17l-0.85,0.35l-1.36,-0.07l-1.64,1.09l-1.06,0.05l-2.94,-1.28l-1.44,0.59l-1.01,-0.03l-0.97,-0.94l-2.7,-0.98l-2.69,0.3l-0.87,0.64l-0.47,1.6l-0.75,1.16l-0.12,1.53l-1.57,-1.1l-1.31,0.24l0.03,-0.81l-0.32,-0.41l-2.59,-0.52l-0.15,-1.16l-1.35,-1.6l-0.29,-1.0l0.13,-0.84l1.29,-0.08l1.08,-0.92l3.31,-0.22l2.22,-0.41l0.32,-0.34l0.2,-1.47l1.39,-1.88l-0.01,-5.66l3.36,-1.12l7.24,-5.12l8.42,-4.92l3.69,1.06Z",name:"Niger"},NG:{path:"M456.32,253.89l0.64,0.65l-0.28,1.04l-2.11,2.01l-2.03,5.18l-1.37,1.16l-1.15,3.18l-1.33,0.66l-1.46,-0.97l-1.21,0.16l-1.38,1.36l-0.91,0.24l-1.79,4.06l-2.33,0.81l-1.11,-0.07l-0.86,0.5l-1.71,-0.05l-1.19,-1.39l-0.89,-1.89l-1.77,-1.66l-3.95,-0.08l0.07,-5.21l0.42,-1.43l1.95,-2.3l-0.14,-0.91l0.43,-1.18l-0.53,-1.41l0.25,-2.92l0.72,-1.07l0.32,-1.34l0.46,-0.39l2.47,-0.28l2.34,0.89l1.15,1.02l1.28,0.04l1.22,-0.58l3.03,1.27l1.49,-0.14l1.36,-1.0l1.33,0.07l0.82,-0.35l3.45,0.8l1.82,-1.32l1.84,2.67l0.66,0.16Z",name:"Nigeria"},NZ:{path:"M857.8,379.65l1.86,3.12l0.44,0.18l0.3,-0.38l0.03,-1.23l0.38,0.27l0.57,2.31l2.02,0.94l1.81,0.27l1.57,-1.06l0.7,0.18l-1.15,3.59l-1.98,0.11l-0.74,1.2l0.2,1.11l-2.42,3.98l-1.49,0.92l-1.04,-0.85l1.21,-2.05l-0.81,-2.01l-2.63,-1.25l0.04,-0.57l1.82,-1.19l0.43,-2.34l-0.16,-2.03l-0.95,-1.82l-0.06,-0.72l-3.11,-3.64l-0.79,-1.52l1.56,1.45l1.76,0.66l0.65,2.34ZM853.83,393.59l0.57,1.24l0.59,0.16l1.42,-0.97l0.46,0.79l0.0,1.03l-2.47,3.48l-1.26,1.2l-0.06,0.5l0.55,0.87l-1.41,0.07l-2.33,1.38l-2.03,5.02l-3.02,2.16l-2.06,-0.06l-1.71,-1.04l-2.47,-0.2l-0.27,-0.73l1.22,-2.1l3.05,-2.94l1.62,-0.59l4.02,-2.82l1.57,-1.67l1.07,-2.16l0.88,-0.7l0.48,-1.75l1.24,-0.97l0.35,0.79Z",name:"New Zealand"},NP:{path:"M641.14,213.62l0.01,3.19l-1.74,0.04l-4.8,-0.86l-1.58,-1.39l-3.37,-0.34l-7.65,-3.7l0.8,-2.09l2.33,-1.7l1.77,0.75l2.49,1.76l1.38,0.41l0.99,1.35l1.9,0.52l1.99,1.17l5.49,0.9Z",name:"Nepal"},CI:{path:"M407.4,259.27l0.86,0.42l0.56,0.9l1.13,0.53l1.19,-0.61l0.97,-0.08l1.42,0.54l0.6,3.24l-1.03,2.08l-0.65,2.84l1.06,2.33l-0.06,0.53l-2.54,-0.47l-1.66,0.03l-3.06,0.46l-4.11,1.6l0.32,-3.06l-1.18,-1.31l-1.32,-0.66l0.42,-0.85l-0.2,-1.4l0.5,-0.67l0.01,-1.59l0.84,-0.32l0.26,-0.5l-1.15,-3.01l0.12,-0.5l0.51,-0.25l0.66,0.31l1.93,0.02l0.67,-0.71l0.71,-0.14l0.25,0.69l0.57,0.22l1.4,-0.61Z",name:"Côte d'Ivoire"},CH:{path:"M444.62,156.35l-0.29,0.87l0.18,0.53l1.13,0.58l1.0,0.1l-0.1,0.65l-0.79,0.38l-1.72,-0.37l-0.45,0.23l-0.45,1.04l-0.75,0.06l-0.84,-0.4l-1.32,1.0l-0.96,0.12l-0.88,-0.55l-0.81,-1.3l-0.49,-0.16l-0.63,0.26l0.02,-0.65l1.71,-1.66l0.1,-0.56l0.93,0.08l0.58,-0.46l1.99,0.02l0.66,-0.61l2.19,0.79Z",name:"Switzerland"},CO:{path:"M242.07,254.93l-1.7,0.59l-0.59,1.18l-1.7,1.69l-0.38,1.93l-0.67,1.43l0.31,0.57l1.03,0.13l0.25,0.9l0.57,0.64l-0.04,2.34l1.64,1.42l3.16,-0.24l1.26,0.28l1.67,2.06l0.41,0.13l4.09,-0.39l0.45,0.22l-0.92,1.95l-0.2,1.8l0.52,1.83l0.75,1.05l-1.12,1.1l0.07,0.63l0.84,0.51l0.74,1.29l-0.39,-0.45l-0.59,-0.01l-0.71,0.74l-4.71,-0.05l-0.4,0.41l0.03,1.57l0.33,0.39l1.11,0.2l-1.68,0.4l-0.29,0.38l-0.01,1.82l1.16,1.14l0.34,1.25l-1.05,7.05l-1.04,-0.87l1.26,-1.99l-0.13,-0.56l-2.18,-1.23l-1.38,0.2l-1.14,-0.38l-1.27,0.61l-1.55,-0.26l-1.38,-2.46l-1.23,-0.75l-0.85,-1.2l-1.67,-1.19l-0.86,0.13l-2.11,-1.32l-1.01,0.31l-1.8,-0.29l-0.52,-0.91l-3.09,-1.68l0.77,-0.52l-0.1,-1.12l0.41,-0.64l1.34,-0.32l2.0,-2.88l-0.11,-0.57l-0.66,-0.43l0.39,-1.38l-0.52,-2.1l0.49,-0.83l-0.4,-2.13l-0.97,-1.35l0.17,-0.66l0.86,-0.08l0.47,-0.75l-0.46,-1.63l1.41,-0.07l1.8,-1.69l0.93,-0.24l0.3,-0.38l0.45,-2.76l1.22,-1.0l1.44,-0.04l0.45,-0.5l1.91,0.12l2.93,-1.84l1.15,-1.14l0.91,0.46l-0.25,0.45Z",name:"Colombia"},CN:{path:"M740.23,148.97l4.57,1.3l2.8,2.17l0.98,2.9l0.38,0.27l3.8,0.0l2.32,-1.28l3.29,-0.75l-0.96,2.09l-1.02,1.28l-0.85,3.4l-1.52,2.73l-2.76,-0.5l-2.4,1.13l-0.21,0.45l0.64,2.57l-0.32,3.2l-0.94,0.06l-0.37,0.89l-0.91,-1.01l-0.64,0.07l-0.92,1.57l-3.73,1.25l-0.26,0.48l0.26,1.06l-1.5,-0.08l-1.09,-0.86l-0.56,0.06l-1.67,2.06l-2.7,1.56l-2.03,1.88l-3.4,0.83l-1.93,1.4l-1.15,0.34l0.33,-0.7l-0.41,-0.89l1.79,-1.79l0.02,-0.54l-1.32,-1.56l-0.48,-0.1l-2.24,1.09l-2.83,2.06l-1.51,1.83l-2.28,0.13l-1.55,1.49l-0.04,0.5l1.32,1.97l2.0,0.58l0.31,1.35l1.98,0.84l3.0,-1.96l2.0,1.02l1.49,0.11l0.22,0.83l-3.37,0.86l-1.12,1.48l-2.5,1.52l-1.29,1.99l0.14,0.56l2.57,1.48l0.97,2.7l3.17,4.63l-0.03,1.66l-1.35,0.65l-0.2,0.51l0.6,1.47l1.4,0.91l-0.89,3.82l-1.43,0.38l-3.85,6.44l-2.27,3.11l-6.78,4.57l-2.73,0.29l-1.45,1.04l-0.62,-0.61l-0.55,-0.01l-1.36,1.25l-3.39,1.27l-2.61,0.4l-1.1,2.79l-0.81,0.09l-0.49,-1.42l0.5,-0.85l-0.25,-0.59l-3.36,-0.84l-1.3,0.4l-2.31,-0.62l-0.94,-0.84l0.33,-1.28l-0.3,-0.49l-2.19,-0.46l-1.13,-0.93l-0.47,-0.02l-2.06,1.36l-4.29,0.28l-2.76,1.05l-0.28,0.43l0.32,2.53l-0.59,-0.03l-0.19,-1.34l-0.55,-0.34l-1.68,0.7l-2.46,-1.23l0.62,-1.87l-0.26,-0.51l-1.37,-0.44l-0.54,-2.22l-0.45,-0.3l-2.13,0.35l0.24,-2.48l2.39,-2.4l0.03,-4.31l-1.19,-0.92l-0.78,-1.49l-0.41,-0.21l-1.41,0.19l-1.98,-0.3l0.46,-1.07l-1.17,-1.7l-0.55,-0.11l-1.63,1.05l-2.25,-0.57l-2.89,1.73l-2.25,1.98l-1.75,0.29l-1.17,-0.71l-3.31,-0.65l-1.48,0.79l-1.04,1.27l-0.12,-1.17l-0.54,-0.34l-1.44,0.54l-5.55,-0.86l-1.98,-1.16l-1.89,-0.54l-0.99,-1.35l-1.34,-0.37l-2.55,-1.79l-2.01,-0.84l-1.21,0.56l-5.57,-3.45l-0.53,-2.31l1.19,0.25l0.48,-0.37l0.08,-1.42l-0.98,-1.56l0.15,-2.44l-2.69,-3.32l-4.12,-1.23l-0.67,-2.0l-1.92,-1.48l-0.38,-0.7l-0.51,-3.01l-1.52,-0.66l-0.7,0.13l-0.48,-2.05l0.55,-0.51l-0.09,-0.82l2.03,-1.19l1.6,-0.54l2.56,0.38l0.42,-0.22l0.85,-1.7l3.0,-0.33l1.1,-1.26l4.05,-1.77l0.39,-0.91l-0.17,-1.44l1.45,-0.67l0.2,-0.52l-2.07,-4.9l4.51,-1.12l1.37,-0.73l1.89,-5.51l4.98,0.86l1.51,-1.7l0.11,-2.87l1.99,-0.38l1.83,-2.06l0.49,-0.13l0.68,2.08l2.23,1.77l3.44,1.16l1.55,2.29l-0.92,3.49l0.96,1.67l6.54,1.13l2.95,1.87l1.47,0.35l1.06,2.62l1.53,1.91l3.05,0.08l5.14,0.67l3.37,-0.41l2.36,0.43l3.65,1.8l3.06,0.04l1.45,0.88l2.87,-1.59l3.95,-1.02l3.83,-0.14l3.06,-1.14l1.77,-1.6l1.72,-1.01l0.17,-0.49l-1.1,-2.05l1.02,-1.54l4.02,0.8l2.45,-1.61l3.76,-1.19l1.96,-2.13l1.63,-0.83l3.51,-0.4l1.92,0.34l0.46,-0.3l0.17,-1.5l-2.27,-2.22l-2.11,-1.09l-2.18,1.11l-2.32,-0.47l-1.29,0.32l-0.4,-0.82l2.73,-5.16l3.02,1.06l3.53,-2.06l0.18,-1.68l2.16,-3.35l1.49,-1.35l-0.03,-1.85l-1.07,-0.85l1.54,-1.26l2.98,-0.59l3.23,-0.09l3.64,0.99l2.04,1.16l3.29,6.71l0.92,3.19ZM696.92,237.31l-1.87,1.08l-1.63,-0.64l-0.06,-1.79l1.03,-0.98l2.58,-0.69l1.16,0.05l0.3,0.54l-0.98,1.06l-0.53,1.37Z",name:"China"},CM:{path:"M457.92,257.49l1.05,1.91l-1.4,0.16l-1.05,-0.23l-0.45,0.22l-0.54,1.19l0.08,0.45l1.48,1.47l1.05,0.45l1.01,2.46l-1.52,2.99l-0.68,0.68l-0.13,3.69l2.38,3.84l1.09,0.8l0.24,2.48l-3.67,-1.14l-11.27,-0.13l0.23,-1.79l-0.98,-1.66l-1.19,-0.54l-0.44,-0.97l-0.6,-0.42l1.71,-4.27l0.75,-0.13l1.38,-1.36l0.65,-0.03l1.71,0.99l1.93,-1.12l1.14,-3.18l1.38,-1.17l2.0,-5.14l2.17,-2.13l0.3,-1.64l-0.86,-0.88l0.03,-0.33l0.94,1.28l0.07,3.22Z",name:"Cameroon"},CL:{path:"M246.5,429.18l-3.14,1.83l-0.57,3.16l-0.64,0.05l-2.68,-1.06l-2.82,-2.33l-3.04,-1.89l-0.69,-1.85l0.63,-2.14l-1.21,-2.11l-0.31,-5.37l1.01,-2.91l2.57,-2.38l-0.18,-0.68l-3.16,-0.77l2.05,-2.47l0.77,-4.65l2.32,0.9l0.54,-0.29l1.31,-6.31l-0.22,-0.44l-1.68,-0.8l-0.56,0.28l-0.7,3.36l-0.81,-0.22l1.56,-9.41l1.15,-2.24l-0.71,-2.82l-0.18,-2.84l1.01,-0.33l3.26,-9.14l1.07,-4.22l-0.56,-4.21l0.74,-2.34l-0.29,-3.27l1.46,-3.34l2.04,-16.59l-0.66,-7.76l1.03,-0.53l0.54,-0.9l0.79,1.14l0.32,1.78l1.25,1.16l-0.69,2.55l1.33,2.9l0.97,3.59l0.46,0.29l1.5,-0.3l0.11,0.23l-0.76,2.44l-2.57,1.23l-0.23,0.37l0.08,4.33l-0.46,0.77l0.56,1.21l-1.58,1.51l-1.68,2.62l-0.89,2.47l0.2,2.7l-1.48,2.73l1.12,5.09l0.64,0.61l-0.01,2.29l-1.38,2.68l0.01,2.4l-1.89,2.04l0.02,2.75l0.69,2.57l-1.43,1.13l-1.26,5.68l0.39,3.51l-0.97,0.89l0.58,3.5l1.02,1.14l-0.65,1.02l0.15,0.57l1.0,0.53l0.16,0.69l-1.03,0.85l0.26,1.75l-0.89,4.03l-1.31,2.66l0.24,1.75l-0.71,1.83l-1.99,1.7l0.3,3.67l0.88,1.19l1.58,0.01l0.01,2.21l1.04,1.95l5.98,0.63ZM248.69,430.79l0.0,7.33l0.4,0.4l3.52,0.05l-0.44,0.75l-1.94,0.98l-2.49,-0.37l-1.88,-1.06l-2.55,-0.49l-5.59,-3.71l-2.38,-2.63l4.1,2.48l3.32,1.23l0.45,-0.12l1.29,-1.57l0.83,-2.32l2.05,-1.24l1.31,0.29Z",name:"Chile"},CA:{path:"M280.06,145.6l-1.67,2.88l0.07,0.49l0.5,0.04l1.46,-0.98l1.0,0.42l-0.56,0.72l0.17,0.62l2.22,0.89l1.35,-0.71l1.95,0.78l-0.66,2.01l0.5,0.51l1.32,-0.42l0.98,3.17l-0.91,2.41l-0.8,0.08l-1.23,-0.45l0.47,-2.25l-0.89,-0.83l-0.48,0.06l-2.78,2.63l-0.34,-0.02l1.02,-0.85l-0.14,-0.69l-2.4,-0.77l-7.4,0.08l-0.17,-0.41l1.3,-0.94l0.02,-0.64l-0.73,-0.58l1.85,-1.74l2.57,-5.16l1.47,-1.79l1.99,-1.05l0.46,0.06l-1.53,2.45ZM68.32,74.16l4.13,0.95l4.02,2.14l2.61,0.4l2.47,-1.89l2.88,-1.31l3.85,0.48l3.71,-1.94l3.82,-1.04l1.56,1.68l0.49,0.08l1.87,-1.04l0.65,-1.98l1.24,0.35l4.16,3.94l0.54,0.01l2.75,-2.49l0.26,2.59l0.49,0.35l3.08,-0.73l1.04,-1.27l2.73,0.23l3.83,1.86l5.86,1.61l3.47,0.75l2.44,-0.26l2.73,1.78l-2.98,1.81l-0.19,0.41l0.31,0.32l4.53,0.92l6.87,-0.5l2.0,-0.69l2.49,2.39l0.53,0.02l2.72,-2.16l-0.02,-0.64l-2.16,-1.54l1.15,-1.06l4.83,-0.61l1.84,0.95l2.48,2.31l3.01,-0.23l4.55,1.92l3.85,-0.67l3.61,0.1l0.41,-0.44l-0.25,-2.36l1.79,-0.61l3.49,1.32l-0.01,3.77l0.31,0.39l0.45,-0.22l1.48,-3.16l1.74,0.1l0.41,-0.3l1.13,-4.37l-2.78,-3.11l-2.8,-1.74l0.19,-4.64l2.71,-3.07l2.98,0.67l2.41,1.95l3.19,4.8l-1.99,1.97l0.21,0.68l4.33,0.84l-0.01,4.15l0.25,0.37l0.44,-0.09l3.07,-3.15l2.54,2.39l-0.61,3.33l2.42,2.88l0.61,0.0l2.61,-3.08l1.88,-3.82l0.17,-4.58l6.72,0.94l3.13,2.04l0.13,1.82l-1.76,2.19l-0.01,0.49l1.66,2.16l-0.26,1.71l-4.68,2.8l-3.28,0.61l-2.47,-1.2l-0.55,0.23l-0.73,2.04l-2.38,3.43l-0.74,1.77l-2.74,2.57l-3.44,0.25l-2.21,1.78l-0.28,2.53l-2.82,0.55l-3.12,3.22l-2.72,4.31l-1.03,3.17l-0.14,4.31l0.33,0.41l3.44,0.57l2.24,5.95l0.45,0.23l3.4,-0.69l4.52,1.51l2.43,1.31l1.91,1.73l3.1,0.96l2.62,1.46l6.6,0.54l-0.35,2.74l0.81,3.53l1.81,3.78l3.83,3.3l0.45,0.04l2.1,-1.28l1.37,-3.69l-1.31,-5.38l-1.45,-1.58l3.57,-1.47l2.84,-2.46l1.52,-2.8l-0.25,-2.55l-1.7,-3.07l-2.85,-2.61l2.8,-3.95l-1.08,-3.37l-0.79,-5.67l1.36,-0.7l6.76,1.41l2.12,-0.96l5.12,3.36l1.05,1.61l4.08,0.26l-0.06,2.87l0.83,4.7l0.3,0.32l2.16,0.54l1.73,2.06l0.5,0.09l3.63,-2.03l2.52,-4.19l1.26,-1.32l7.6,11.72l-0.92,2.04l0.16,0.51l3.3,1.97l2.22,1.98l4.1,0.98l1.43,0.99l0.95,2.79l2.1,0.68l0.84,1.08l0.17,3.45l-3.37,2.26l-4.22,1.24l-3.06,2.63l-4.06,0.51l-5.35,-0.69l-6.39,0.2l-2.3,2.41l-3.26,1.51l-6.47,7.15l-0.06,0.48l0.44,0.19l2.13,-0.52l4.17,-4.24l5.12,-2.62l3.52,-0.3l1.69,1.21l-2.12,2.21l0.81,3.47l1.02,2.61l3.47,1.6l4.14,-0.45l2.15,-2.8l0.26,1.48l1.14,0.8l-2.56,1.69l-5.5,1.82l-2.54,1.27l-2.74,2.15l-1.4,-0.16l-0.07,-2.01l4.14,-2.44l0.18,-0.45l-0.39,-0.29l-6.63,0.45l-1.39,-1.49l-0.14,-4.43l-1.11,-0.91l-1.82,0.39l-0.66,-0.66l-0.6,0.03l-1.91,2.39l-0.82,2.52l-0.8,1.27l-1.67,0.56l-0.46,0.76l-8.31,0.07l-1.21,0.62l-2.35,1.97l-0.71,-0.14l-1.37,0.96l-1.12,-0.48l-4.74,1.26l-0.9,1.17l0.21,0.62l1.73,0.3l-1.81,0.31l-1.85,0.81l-2.11,-0.13l-2.95,1.78l-0.69,-0.09l1.39,-2.1l1.73,-1.21l0.1,-2.29l1.16,-1.99l0.49,0.53l2.03,0.42l1.2,-1.16l0.02,-0.47l-2.66,-3.51l-2.28,-0.61l-5.64,-0.71l-0.4,-0.57l-0.79,0.13l0.2,-0.41l-0.22,-0.55l-0.68,-0.26l0.19,-1.26l-0.78,-0.73l0.31,-0.64l-0.29,-0.57l-2.6,-0.44l-0.75,-1.63l-0.94,-0.66l-4.31,-0.65l-1.13,1.19l-1.48,0.59l-0.85,1.06l-2.83,-0.76l-2.09,0.39l-2.39,-0.97l-4.24,-0.7l-0.57,-0.4l-0.41,-1.63l-0.4,-0.3l-0.85,0.02l-0.39,0.4l-0.01,0.85l-69.13,-0.01l-6.51,-4.52l-4.5,-1.38l-1.26,-2.66l0.33,-1.93l-0.23,-0.43l-3.01,-1.35l-0.55,-2.77l-2.89,-2.38l-0.04,-1.45l1.39,-1.83l-0.28,-2.55l-4.16,-2.2l-4.07,-6.6l-4.02,-3.22l-1.3,-1.88l-0.5,-0.13l-2.51,1.21l-2.23,1.87l-3.85,-3.88l-2.44,-1.04l-2.22,-0.13l0.03,-37.49ZM260.37,148.65l3.04,0.76l2.26,1.2l-3.78,-0.95l-1.53,-1.01ZM249.4,3.81l6.68,0.49l5.32,0.79l4.26,1.57l-0.07,1.1l-5.85,2.53l-6.02,1.21l-2.39,1.39l-0.18,0.45l0.39,0.29l4.01,-0.02l-4.65,2.82l-4.2,1.74l-4.19,4.59l-5.03,0.92l-1.67,1.15l-7.47,0.59l-0.37,0.37l0.32,0.42l2.41,0.49l-0.81,0.47l-0.12,0.59l1.83,2.41l-2.02,1.59l-3.81,1.51l-1.32,2.16l-3.38,1.53l-0.22,0.48l0.35,1.19l0.4,0.29l3.88,-0.18l0.03,0.61l-6.33,2.95l-6.41,-1.4l-7.43,0.79l-3.72,-0.62l-4.4,-0.25l-0.23,-1.83l4.29,-1.11l0.28,-0.51l-1.1,-3.45l1.0,-0.25l6.58,2.28l0.47,-0.16l-0.05,-0.49l-3.41,-3.45l-3.58,-0.98l1.48,-1.55l4.34,-1.29l0.97,-2.19l-0.16,-0.48l-3.42,-2.13l-0.81,-2.26l6.2,0.22l2.24,0.58l3.91,-2.1l0.2,-0.43l-0.35,-0.32l-5.64,-0.67l-8.73,0.36l-4.26,-1.9l-2.12,-2.4l-2.78,-1.66l-0.41,-1.52l3.31,-1.03l2.93,-0.2l4.91,-0.99l3.7,-2.27l2.87,0.3l2.62,1.67l0.56,-0.14l1.82,-3.2l3.13,-0.94l4.44,-0.69l7.53,-0.26l1.48,0.67l7.19,-1.06l10.8,0.79ZM203.85,57.54l0.01,0.42l1.97,2.97l0.68,-0.02l2.24,-3.72l5.95,-1.86l4.01,4.64l-0.35,2.91l0.5,0.43l4.95,-1.36l2.32,-1.8l5.31,2.28l3.27,2.11l0.3,1.84l0.48,0.33l4.42,-0.99l2.64,2.87l5.97,1.77l2.06,1.72l2.11,3.71l-4.19,1.86l-0.01,0.73l5.9,2.83l3.94,0.94l3.78,3.95l3.46,0.25l-0.63,2.37l-4.11,4.47l-2.76,-1.56l-3.9,-3.94l-3.59,0.41l-0.33,0.34l-0.19,2.72l2.63,2.38l3.42,1.89l0.94,0.97l1.55,3.75l-0.7,2.29l-2.74,-0.92l-6.25,-3.15l-0.51,0.13l0.05,0.52l6.07,5.69l0.18,0.59l-6.09,-1.39l-5.31,-2.24l-2.63,-1.66l0.6,-0.77l-0.12,-0.6l-7.39,-4.01l-0.59,0.37l0.03,0.79l-6.73,0.6l-1.69,-1.1l1.36,-2.46l4.51,-0.07l5.15,-0.52l0.31,-0.6l-0.74,-1.3l0.78,-1.84l3.21,-4.05l-0.67,-2.35l-1.11,-1.6l-3.84,-2.1l-4.35,-1.28l0.91,-0.63l0.06,-0.61l-2.65,-2.75l-2.34,-0.36l-1.89,-1.46l-0.53,0.03l-1.24,1.23l-4.36,0.55l-9.04,-0.99l-9.26,-1.98l-1.6,-1.22l2.22,-1.77l0.13,-0.44l-0.38,-0.27l-3.22,-0.02l-0.72,-4.25l1.83,-4.04l2.42,-1.85l5.5,-1.1l-1.39,2.35ZM261.19,159.33l2.07,0.61l1.44,-0.04l-1.15,0.63l-2.94,-1.23l-0.4,-0.68l0.36,-0.37l0.61,1.07ZM230.83,84.39l-2.37,0.18l-0.49,-1.63l0.93,-2.09l1.94,-0.51l1.62,0.99l0.02,1.52l-1.66,1.54ZM229.43,58.25l0.11,0.65l-4.87,-0.21l-2.72,0.62l-3.1,-2.57l0.08,-1.26l0.86,-0.23l5.57,0.51l4.08,2.5ZM222.0,105.02l-0.72,1.49l-0.63,-0.19l-0.48,-0.84l0.81,-0.99l0.65,0.05l0.37,0.46ZM183.74,38.32l2.9,1.7l4.79,-0.01l1.84,1.46l-0.49,1.68l0.23,0.48l2.82,1.14l1.76,1.26l7.01,0.65l4.1,-1.1l5.03,-0.43l3.93,0.35l2.48,1.77l0.46,1.7l-1.3,1.1l-3.56,1.01l-3.23,-0.59l-7.17,0.76l-5.09,0.09l-3.99,-0.6l-6.42,-1.54l-0.79,-2.51l-0.3,-2.49l-2.64,-2.5l-5.32,-0.72l-2.52,-1.4l0.68,-1.57l4.78,0.31ZM207.38,91.35l0.4,1.56l0.56,0.26l1.06,-0.52l1.32,0.96l5.42,2.57l0.2,1.68l0.46,0.35l1.68,-0.28l1.15,0.85l-1.55,0.87l-3.61,-0.88l-1.32,-1.69l-0.57,-0.06l-2.45,2.1l-3.12,1.79l-0.7,-1.87l-0.42,-0.26l-2.16,0.24l1.39,-1.39l0.32,-3.14l0.76,-3.35l1.18,0.22ZM215.49,102.6l-2.67,1.95l-1.4,-0.07l-0.3,-0.58l1.53,-1.48l2.84,0.18ZM202.7,24.12l2.53,1.59l-2.87,1.4l-4.53,4.05l-4.25,0.38l-5.03,-0.68l-2.45,-2.04l0.03,-1.62l1.82,-1.37l0.14,-0.45l-0.38,-0.27l-4.45,0.04l-2.59,-1.76l-1.41,-2.29l1.57,-2.32l1.62,-1.66l2.44,-0.39l0.25,-0.65l-0.6,-0.74l4.86,-0.25l3.24,3.11l8.16,2.3l1.9,3.61ZM187.47,59.2l-2.76,3.49l-2.38,-0.15l-1.44,-3.84l0.04,-2.2l1.19,-1.88l2.3,-1.23l5.07,0.17l4.11,1.02l-3.24,3.72l-2.88,0.89ZM186.07,48.79l-1.08,1.53l-3.34,-0.34l-2.56,-1.1l1.03,-1.75l3.25,-1.23l1.95,1.58l0.75,1.3ZM185.71,35.32l-5.3,-0.2l-0.32,-0.71l4.31,0.07l1.3,0.84ZM180.68,32.48l-3.34,1.0l-1.79,-1.1l-0.98,-1.87l-0.15,-1.73l4.1,0.53l2.67,1.7l-0.51,1.47ZM180.9,76.31l-1.1,1.08l-3.13,-1.23l-2.12,0.43l-2.71,-1.57l1.72,-1.09l1.55,-1.72l3.81,1.9l1.98,2.2ZM169.74,54.87l2.96,0.97l4.17,-0.57l0.41,0.88l-2.14,2.11l0.09,0.64l3.55,1.92l-0.4,3.72l-3.79,1.65l-2.17,-0.35l-1.72,-1.74l-6.02,-3.5l0.03,-0.85l4.68,0.54l0.4,-0.21l-0.05,-0.45l-2.48,-2.81l2.46,-1.95ZM174.45,40.74l1.37,1.73l0.07,2.44l-1.05,3.45l-3.79,0.47l-2.32,-0.69l0.05,-2.64l-0.44,-0.41l-3.68,0.35l-0.12,-3.1l2.45,0.1l3.67,-1.73l3.41,0.29l0.37,-0.26ZM170.05,31.55l0.67,1.56l-3.33,-0.49l-4.22,-1.77l-4.35,-0.16l1.4,-0.94l-0.06,-0.7l-2.81,-1.23l-0.12,-1.39l4.39,0.68l6.62,1.98l1.81,2.47ZM134.5,58.13l-1.02,1.82l0.45,0.58l5.4,-1.39l3.33,2.29l0.49,-0.03l2.6,-2.23l1.94,1.32l2.0,4.5l0.7,0.06l1.3,-2.29l-1.63,-4.46l1.69,-0.54l2.31,0.71l2.65,1.81l2.49,7.92l8.48,4.27l-0.19,1.35l-3.79,0.33l-0.26,0.67l1.4,1.49l-0.58,1.1l-4.23,-0.64l-4.43,-1.19l-3.0,0.28l-4.66,1.47l-10.52,1.04l-1.43,-2.02l-3.42,-1.2l-2.21,0.43l-2.51,-2.86l4.84,-1.05l3.6,0.19l3.27,-0.78l0.31,-0.39l-0.31,-0.39l-4.84,-1.06l-8.79,0.27l-0.85,-1.07l5.26,-1.66l0.27,-0.45l-0.4,-0.34l-3.8,0.06l-3.81,-1.06l1.81,-3.01l1.66,-1.79l6.48,-2.81l1.97,0.71ZM158.7,56.61l-1.7,2.44l-3.2,-2.75l0.37,-0.3l3.11,-0.18l1.42,0.79ZM149.61,42.73l1.01,1.89l0.5,0.18l2.14,-0.82l2.23,0.19l0.36,2.04l-1.33,2.09l-8.28,0.76l-6.35,2.15l-3.41,0.1l-0.19,-0.96l4.9,-2.08l0.23,-0.46l-0.41,-0.31l-11.25,0.59l-2.89,-0.74l3.04,-4.44l2.14,-1.32l6.81,1.69l4.58,3.06l4.37,0.39l0.36,-0.63l-3.36,-4.6l1.85,-1.53l2.18,0.51l0.77,2.26ZM144.76,34.41l-4.36,1.44l-3.0,-1.4l1.46,-1.24l3.47,-0.52l2.96,0.71l-0.52,1.01ZM145.13,29.83l-1.9,0.66l-3.67,-0.0l2.27,-1.61l3.3,0.95ZM118.92,65.79l-6.03,2.02l-1.33,-1.9l-5.38,-2.28l2.59,-5.05l2.16,-3.14l-0.02,-0.48l-1.97,-2.41l7.64,-0.7l3.6,1.02l6.3,0.27l4.42,2.95l-2.53,0.98l-6.24,3.43l-3.1,3.28l-0.11,2.01ZM129.54,35.53l-0.28,3.37l-1.72,1.62l-2.33,0.28l-4.61,2.19l-3.86,0.76l-2.64,-0.87l3.72,-3.4l5.01,-3.34l3.72,0.07l3.0,-0.67ZM111.09,152.69l-0.67,0.24l-3.85,-1.37l-0.83,-1.17l-2.12,-1.07l-0.66,-1.02l-2.4,-0.55l-0.74,-1.71l6.02,1.45l2.0,2.55l2.52,1.39l0.73,1.27ZM87.8,134.64l0.89,0.29l1.86,-0.21l-0.65,3.34l1.69,2.33l-1.31,-1.33l-0.99,-1.62l-1.17,-0.98l-0.33,-1.82Z",name:"Canada"},CG:{path:"M466.72,276.48l-0.1,1.03l-1.25,2.97l-0.19,3.62l-0.46,1.78l-0.23,0.63l-1.61,1.19l-1.21,1.39l-1.09,2.43l0.04,2.09l-3.25,3.24l-0.5,-0.24l-0.5,-0.83l-1.36,-0.02l-0.98,0.89l-1.68,-0.99l-1.54,1.24l-1.52,-1.96l1.57,-1.14l0.11,-0.52l-0.77,-1.35l2.1,-0.66l0.39,-0.73l1.05,0.82l2.21,0.11l1.12,-1.37l0.37,-1.81l-0.27,-2.09l-1.13,-1.5l1.0,-2.69l-0.13,-0.45l-0.92,-0.58l-1.6,0.17l-0.51,-0.94l0.1,-0.61l2.75,0.09l3.97,1.24l0.51,-0.33l0.17,-1.28l1.24,-2.21l1.28,-1.14l2.76,0.49Z",name:"Congo"},CF:{path:"M461.16,278.2l-0.26,-1.19l-1.09,-0.77l-0.84,-1.17l-0.29,-1.0l-1.04,-1.15l0.08,-3.43l0.58,-0.49l1.16,-2.35l1.85,-0.17l0.61,-0.62l0.97,0.58l3.15,-0.96l2.48,-1.92l0.02,-0.96l2.81,0.02l2.36,-1.17l1.93,-2.85l1.16,-0.93l1.11,-0.3l0.27,0.86l1.34,1.47l-0.39,2.01l0.3,1.01l4.01,2.75l0.17,0.93l2.63,2.31l0.6,1.44l2.08,1.4l-3.84,-0.21l-1.94,0.88l-1.23,-0.49l-2.67,1.2l-1.29,-0.18l-0.51,0.36l-0.6,1.22l-3.35,-0.65l-1.57,-0.91l-2.42,-0.83l-1.45,0.91l-0.97,1.27l-0.26,1.56l-3.22,-0.43l-1.49,1.33l-0.94,1.62Z",name:"Central African Rep."},CD:{path:"M487.01,272.38l2.34,-0.14l1.35,1.84l1.34,0.45l0.86,-0.39l1.21,0.12l1.07,-0.41l0.54,0.89l2.04,1.54l-0.14,2.72l0.7,0.54l-1.38,1.13l-1.53,2.54l-0.17,2.05l-0.59,1.08l-0.02,1.72l-0.72,0.84l-0.66,3.01l0.63,1.32l-0.44,4.26l0.64,1.47l-0.37,1.22l0.86,1.8l1.53,1.41l0.3,1.26l0.44,0.5l-4.08,0.75l-0.92,1.81l0.51,1.34l-0.74,5.43l0.17,0.38l2.45,1.46l0.54,-0.1l0.12,1.62l-1.28,-0.01l-1.85,-2.35l-1.94,-0.45l-0.48,-1.13l-0.55,-0.2l-1.41,0.74l-1.71,-0.3l-1.01,-1.18l-2.49,-0.19l-0.44,-0.77l-1.98,-0.21l-2.88,0.36l0.11,-2.41l-0.85,-1.13l-0.16,-1.36l0.32,-1.73l-0.46,-0.89l-0.04,-1.49l-0.4,-0.39l-2.53,0.02l0.1,-0.41l-0.39,-0.49l-1.28,0.01l-0.43,0.45l-1.62,0.32l-0.83,1.79l-1.09,-0.28l-2.4,0.52l-1.37,-1.91l-1.3,-3.3l-0.38,-0.27l-7.39,-0.03l-2.46,0.42l0.5,-0.45l0.37,-1.47l0.66,-0.38l0.92,0.08l0.73,-0.82l0.87,0.02l0.31,0.68l1.4,0.36l3.59,-3.63l0.01,-2.23l1.02,-2.29l2.69,-2.39l0.43,-0.99l0.49,-1.96l0.17,-3.51l1.25,-2.95l0.36,-3.14l0.86,-1.13l1.1,-0.66l3.57,1.73l3.65,0.73l0.46,-0.21l0.8,-1.46l1.24,0.19l2.61,-1.17l0.81,0.44l1.04,-0.03l0.59,-0.66l0.7,-0.16l1.81,0.25Z",name:"Dem. Rep. Congo"},CZ:{path:"M458.46,144.88l1.22,1.01l1.47,0.23l0.13,0.93l1.36,0.68l0.54,-0.2l0.24,-0.55l1.15,0.25l0.53,1.09l1.68,0.18l0.6,0.84l-1.04,0.73l-0.96,1.28l-1.6,0.17l-0.55,0.56l-1.04,-0.46l-1.05,0.15l-2.12,-0.96l-1.05,0.34l-1.2,1.12l-1.56,-0.87l-2.57,-2.1l-0.53,-1.88l4.7,-2.52l0.71,0.26l0.9,-0.28Z",name:"Czech Rep."},CY:{path:"M504.36,193.47l0.43,0.28l-1.28,0.57l-0.92,-0.28l-0.24,-0.46l2.01,-0.13Z",name:"Cyprus"},CR:{path:"M211.34,258.05l0.48,0.99l1.6,1.6l-0.54,0.45l0.29,1.42l-0.25,1.19l-1.09,-0.59l-0.05,-1.25l-2.46,-1.42l-0.28,-0.77l-0.66,-0.45l-0.45,-0.0l-0.11,1.04l-1.32,-0.95l0.31,-1.3l-0.36,-0.6l0.31,-0.27l1.42,0.58l1.29,-0.14l0.56,0.56l0.74,0.17l0.55,-0.27Z",name:"Costa Rica"},CU:{path:"M221.21,227.25l1.27,1.02l2.19,-0.28l4.43,3.33l2.08,0.43l-0.1,0.38l0.36,0.5l1.75,0.1l1.48,0.84l-3.11,0.51l-4.15,-0.03l0.77,-0.67l-0.04,-0.64l-1.2,-0.74l-1.49,-0.16l-0.7,-0.61l-0.56,-1.4l-0.4,-0.25l-1.34,0.1l-2.2,-0.66l-0.88,-0.58l-3.18,-0.4l-0.27,-0.16l0.58,-0.74l-0.36,-0.29l-2.72,-0.05l-1.7,1.29l-0.91,0.03l-0.61,0.69l-1.01,0.22l1.11,-1.29l1.01,-0.52l3.69,-1.01l3.98,0.21l2.21,0.84Z",name:"Cuba"},SZ:{path:"M500.35,351.36l0.5,2.04l-0.38,0.89l-1.05,0.21l-1.23,-1.2l-0.02,-0.64l0.83,-1.57l1.34,0.27Z",name:"Swaziland"},SY:{path:"M511.0,199.79l0.05,-1.33l0.54,-1.36l1.28,-0.99l0.13,-0.45l-0.41,-1.11l-1.14,-0.36l-0.19,-1.74l0.52,-1.0l1.29,-1.21l0.2,-1.18l0.59,0.23l2.62,-0.76l1.36,0.52l2.06,-0.01l2.95,-1.08l3.25,-0.26l-0.67,0.94l-1.28,0.66l-0.21,0.4l0.23,2.01l-0.88,3.19l-10.15,5.73l-2.15,-0.85Z",name:"Syria"},KG:{path:"M621.35,172.32l-3.87,1.69l-0.96,1.18l-3.04,0.34l-1.13,1.86l-2.36,-0.35l-1.99,0.63l-2.39,1.4l0.06,0.95l-0.4,0.37l-4.52,0.43l-3.02,-0.93l-2.37,0.17l0.11,-0.79l2.32,0.42l1.13,-0.88l1.99,0.2l3.21,-2.14l-0.03,-0.69l-2.97,-1.57l-1.94,0.65l-1.22,-0.74l1.71,-1.58l-0.12,-0.67l-0.36,-0.15l0.32,-0.77l1.36,-0.35l4.02,1.02l0.49,-0.3l0.35,-1.59l1.09,-0.48l3.42,1.22l1.11,-0.31l7.64,0.39l1.16,1.0l1.23,0.39Z",name:"Kyrgyzstan"},KE:{path:"M506.26,284.69l1.87,-2.56l0.93,-2.15l-1.38,-4.08l-1.06,-1.6l2.82,-2.75l0.79,0.26l0.12,1.41l0.86,0.83l1.9,0.11l3.28,2.13l3.57,0.44l1.05,-1.12l1.96,-0.9l0.82,0.68l1.16,0.09l-1.78,2.45l0.03,9.12l1.3,1.94l-1.37,0.78l-0.67,1.03l-1.08,0.46l-0.34,1.67l-0.81,1.07l-0.45,1.55l-0.68,0.56l-3.2,-2.23l-0.35,-1.58l-8.86,-4.98l0.14,-1.6l-0.57,-1.04Z",name:"Kenya"},SS:{path:"M481.71,263.34l1.07,-0.72l1.2,-3.18l1.36,-0.26l1.61,1.99l0.87,0.34l1.1,-0.41l1.5,0.07l0.57,0.53l2.49,0.0l0.44,-0.63l1.07,-0.4l0.45,-0.84l0.59,-0.33l1.9,1.33l1.6,-0.2l2.83,-3.33l-0.32,-2.21l1.59,-0.52l-0.24,1.6l0.3,1.83l1.35,1.18l0.2,1.87l0.35,0.41l0.02,1.53l-0.23,0.47l-1.42,0.25l-0.85,1.44l0.3,0.6l1.4,0.16l1.11,1.08l0.59,1.13l1.03,0.53l1.28,2.36l-4.41,3.98l-1.74,0.01l-1.89,0.55l-1.47,-0.52l-1.15,0.57l-2.96,-2.62l-1.3,0.49l-1.06,-0.15l-0.79,0.39l-0.82,-0.22l-1.8,-2.7l-1.91,-1.1l-0.66,-1.5l-2.62,-2.32l-0.18,-0.94l-2.37,-1.6Z",name:"S. Sudan"},SR:{path:"M283.12,270.19l2.1,0.53l-1.08,1.95l0.2,1.72l0.93,1.49l-0.59,2.03l-0.43,0.71l-1.12,-0.42l-1.32,0.22l-0.93,-0.2l-0.46,0.26l-0.25,0.73l0.33,0.7l-0.89,-0.13l-1.39,-1.97l-0.31,-1.34l-0.97,-0.31l-0.89,-1.47l0.35,-1.61l1.45,-0.82l0.33,-1.87l2.61,0.44l0.57,-0.47l1.75,-0.16Z",name:"Suriname"},KH:{path:"M689.52,249.39l0.49,1.45l-0.28,2.74l-4.0,1.86l-0.16,0.6l0.68,0.95l-2.06,0.17l-2.05,0.97l-1.82,-0.32l-2.12,-3.7l-0.55,-2.85l1.4,-1.85l3.02,-0.45l2.23,0.35l2.01,0.98l0.51,-0.14l0.95,-1.48l1.74,0.74Z",name:"Cambodia"},SV:{path:"M195.8,250.13l1.4,-1.19l2.24,1.45l0.98,-0.27l0.44,0.2l-0.27,1.05l-1.14,-0.03l-3.64,-1.21Z",name:"El Salvador"},SK:{path:"M476.82,151.17l-1.14,1.9l-2.73,-0.92l-0.82,0.2l-0.74,0.8l-3.46,0.73l-0.47,0.69l-1.76,0.33l-1.88,-1.0l-0.18,-0.81l0.38,-0.75l1.87,-0.32l1.74,-1.89l0.83,0.16l0.79,-0.34l1.51,1.04l1.34,-0.63l1.25,0.3l1.65,-0.42l1.81,0.95Z",name:"Slovakia"},KR:{path:"M737.51,185.84l0.98,-0.1l0.87,-1.17l2.69,-0.32l0.33,-0.29l1.76,2.79l0.58,1.76l0.02,3.12l-0.8,1.32l-2.21,0.55l-1.93,1.13l-1.8,0.19l-0.2,-1.1l0.43,-2.28l-0.95,-2.56l1.43,-0.37l0.23,-0.62l-1.43,-2.06Z",name:"Korea"},SI:{path:"M456.18,162.07l-0.51,-1.32l0.18,-1.05l1.69,0.2l1.42,-0.71l2.09,-0.07l0.62,-0.51l0.21,0.47l-1.61,0.67l-0.44,1.34l-0.66,0.24l-0.26,0.82l-1.22,-0.49l-0.84,0.46l-0.69,-0.04Z",name:"Slovenia"},KP:{path:"M736.77,185.16l-0.92,-0.42l-0.88,0.62l-1.21,-0.88l0.96,-1.15l0.59,-2.59l-0.46,-0.74l-2.09,-0.77l1.64,-1.52l2.72,-1.58l1.58,-1.91l1.11,0.78l2.17,0.11l0.41,-0.5l-0.3,-1.22l3.52,-1.18l0.94,-1.4l0.98,1.08l-2.19,2.18l0.01,2.14l-1.06,0.54l-1.41,1.4l-1.7,0.52l-1.25,1.09l-0.14,1.98l0.94,0.45l1.15,1.04l-0.13,0.26l-2.6,0.29l-1.13,1.29l-1.22,0.08Z",name:"Dem. Rep. Korea"},SO:{path:"M525.13,288.48l-1.13,-1.57l-0.03,-8.86l2.66,-3.38l1.67,-0.13l2.13,-1.69l3.41,-0.23l7.08,-7.55l2.91,-3.69l0.08,-4.82l2.98,-0.67l1.24,-0.86l0.45,-0.0l-0.2,3.0l-1.21,3.62l-2.73,5.97l-2.13,3.65l-5.03,6.16l-8.56,6.4l-2.78,3.08l-0.8,1.56Z",name:"Somalia"},SN:{path:"M390.09,248.21l0.12,1.55l0.49,1.46l0.96,0.82l0.05,1.28l-1.26,-0.19l-0.75,0.33l-1.84,-0.61l-5.84,-0.13l-2.54,0.51l-0.22,-1.03l1.77,0.04l2.01,-0.91l1.03,0.48l1.09,0.04l1.29,-0.62l0.14,-0.58l-0.51,-0.74l-1.81,0.25l-1.13,-0.63l-0.79,0.04l-0.72,0.61l-2.31,0.06l-0.92,-1.77l-0.81,-0.64l0.64,-0.35l2.46,-3.74l1.04,0.19l1.38,-0.56l1.19,-0.02l2.72,1.37l3.03,3.48Z",name:"Senegal"},SL:{path:"M394.46,264.11l-1.73,1.98l-0.58,1.33l-2.07,-1.06l-1.22,-1.26l-0.65,-2.39l1.16,-0.96l0.67,-1.17l1.21,-0.52l1.66,0.0l1.03,1.64l0.52,2.41Z",name:"Sierra Leone"},SB:{path:"M826.69,311.6l-0.61,0.09l-0.2,-0.33l0.37,0.15l0.44,0.09ZM824.18,307.38l-0.26,-0.3l-0.31,-0.91l0.03,0.0l0.54,1.21ZM823.04,309.33l-1.66,-0.22l-0.2,-0.52l1.16,0.28l0.69,0.46ZM819.28,304.68l1.14,0.65l0.02,0.03l-0.81,-0.44l-0.35,-0.23Z",name:"Solomon Is."},SA:{path:"M537.53,210.34l2.0,0.24l0.9,1.32l1.49,-0.06l0.87,2.08l1.29,0.76l0.51,0.99l1.56,1.03l-0.1,1.9l0.32,0.9l1.58,2.47l0.76,0.53l0.7,-0.04l1.68,4.23l7.53,1.33l0.51,-0.29l0.77,1.25l-1.55,4.87l-7.29,2.52l-7.3,1.03l-2.34,1.17l-1.88,2.74l-0.76,0.28l-0.82,-0.78l-0.91,0.12l-2.88,-0.51l-3.51,0.25l-0.86,-0.56l-0.57,0.15l-0.66,1.27l0.16,1.11l-0.43,0.32l-0.93,-1.4l-0.33,-1.16l-1.23,-0.88l-1.27,-2.06l-0.78,-2.22l-1.73,-1.79l-1.14,-0.48l-1.54,-2.31l-0.21,-3.41l-1.44,-2.93l-1.27,-1.16l-1.33,-0.57l-1.31,-3.37l-0.77,-0.67l-0.97,-1.97l-2.8,-4.03l-1.06,-0.17l0.37,-1.96l0.2,-0.72l2.74,0.3l1.08,-0.84l0.6,-0.94l1.74,-0.35l0.65,-1.03l0.71,-0.4l0.1,-0.62l-2.06,-2.28l4.39,-1.22l0.48,-0.37l2.77,0.69l3.66,1.9l7.03,5.5l4.87,0.3Z",name:"Saudi Arabia"},SE:{path:"M480.22,89.3l-4.03,1.17l-2.43,2.86l0.26,2.57l-8.77,6.64l-1.78,5.79l1.78,2.68l2.22,1.96l-2.07,3.77l-2.72,1.13l-0.95,6.04l-1.29,3.01l-2.74,-0.31l-0.4,0.22l-1.31,2.59l-2.34,0.13l-0.75,-3.09l-2.08,-4.03l-1.83,-4.96l1.0,-1.93l2.14,-2.7l0.83,-4.45l-1.6,-2.17l-0.15,-4.94l1.48,-3.39l2.58,-0.15l0.87,-1.59l-0.78,-1.57l3.76,-5.59l4.04,-7.48l2.17,0.01l0.39,-0.29l0.57,-2.07l4.37,0.64l0.46,-0.34l0.33,-2.56l1.1,-0.13l6.94,4.87l0.06,6.32l0.66,1.36Z",name:"Sweden"},SD:{path:"M505.98,259.4l-0.34,-0.77l-1.17,-0.9l-0.26,-1.61l0.29,-1.81l-0.34,-0.46l-1.16,-0.17l-0.54,0.59l-1.23,0.11l-0.28,0.65l0.53,0.65l0.17,1.22l-2.44,3.0l-0.96,0.19l-2.39,-1.4l-0.95,0.52l-0.38,0.78l-1.11,0.41l-0.29,0.5l-1.94,0.0l-0.54,-0.52l-1.81,-0.09l-0.95,0.4l-2.45,-2.35l-2.07,0.54l-0.73,1.26l-0.6,2.1l-1.25,0.58l-0.75,-0.62l0.27,-2.65l-1.48,-1.78l-0.22,-1.48l-0.92,-0.96l-0.02,-1.29l-0.57,-1.16l-0.68,-0.16l0.69,-1.29l-0.18,-1.14l0.65,-0.62l0.03,-0.55l-0.36,-0.41l1.55,-2.97l1.91,0.16l0.43,-0.4l-0.1,-10.94l2.49,-0.01l0.4,-0.4l-0.0,-4.82l29.02,0.0l0.64,2.04l-0.49,0.66l0.36,2.69l0.93,3.16l2.12,1.55l-0.89,1.04l-1.72,0.39l-0.98,0.9l-1.43,5.65l0.24,1.15l-0.38,2.06l-0.96,2.38l-1.53,1.31l-1.32,2.91l-1.22,0.86l-0.37,1.34Z",name:"Sudan"},DO:{path:"M241.8,239.2l0.05,-0.65l-0.46,-0.73l0.42,-0.44l0.19,-1.0l-0.09,-1.53l1.66,0.01l1.99,0.63l0.33,0.67l1.28,0.19l0.33,0.76l1.0,0.08l0.8,0.62l-0.45,0.51l-1.13,-0.47l-1.88,-0.01l-1.27,0.59l-0.75,-0.55l-1.01,0.54l-0.79,1.4l-0.23,-0.61Z",name:"Dominican Rep."},DJ:{path:"M528.43,256.18l-0.45,0.66l-0.58,-0.25l-1.51,0.13l-0.18,-1.01l1.45,-1.95l0.83,0.17l0.77,-0.44l0.2,1.0l-1.2,0.51l-0.06,0.7l0.73,0.47Z",name:"Djibouti"},DK:{path:"M452.28,129.07l-1.19,2.24l-2.13,-1.6l-0.23,-0.95l2.98,-0.95l0.57,1.26ZM447.74,126.31l-0.26,0.57l-0.88,-0.07l-1.8,2.53l0.48,1.69l-1.09,0.36l-1.61,-0.39l-0.89,-1.69l-0.07,-3.43l0.96,-1.73l2.02,-0.2l1.09,-1.07l1.33,-0.67l-0.05,1.06l-0.73,1.41l0.3,1.0l1.2,0.64Z",name:"Denmark"},DE:{path:"M453.14,155.55l-0.55,-0.36l-1.2,-0.1l-1.87,0.57l-2.13,-0.13l-0.56,0.63l-0.86,-0.6l-0.96,0.09l-2.57,-0.93l-0.85,0.67l-1.47,-0.02l0.24,-1.75l1.23,-2.14l-0.28,-0.59l-3.52,-0.58l-0.92,-0.66l0.12,-1.2l-0.48,-0.88l0.27,-2.17l-0.37,-3.03l1.41,-0.22l0.63,-1.26l0.66,-3.19l-0.41,-1.18l0.26,-0.39l1.66,-0.15l0.33,0.54l0.62,0.07l1.7,-1.69l-0.54,-3.02l1.37,0.33l1.31,-0.37l0.31,1.18l2.25,0.71l-0.02,0.92l0.5,0.4l2.55,-0.65l1.34,-0.87l2.57,1.24l1.06,0.98l0.48,1.44l-0.57,0.74l-0.0,0.48l0.87,1.15l0.57,1.64l-0.14,1.29l0.82,1.7l-1.5,-0.07l-0.56,0.57l-4.47,2.15l-0.22,0.54l0.68,2.26l2.58,2.16l-0.66,1.11l-0.79,0.36l-0.23,0.43l0.32,1.87Z",name:"Germany"},YE:{path:"M528.27,246.72l0.26,-0.42l-0.22,-1.01l0.19,-1.5l0.92,-0.69l-0.07,-1.35l0.39,-0.75l1.01,0.47l3.34,-0.27l3.76,0.41l0.95,0.81l1.36,-0.58l1.74,-2.62l2.18,-1.09l6.86,-0.94l2.48,5.41l-1.64,0.76l-0.56,1.9l-6.23,2.16l-2.29,1.8l-1.93,0.05l-1.41,1.02l-4.24,0.74l-1.72,1.49l-3.28,0.19l-0.52,-1.18l0.02,-1.51l-1.34,-3.29Z",name:"Yemen"},AT:{path:"M462.89,152.8l0.04,2.25l-1.07,0.0l-0.33,0.63l0.36,0.51l-1.04,2.13l-2.02,0.07l-1.33,0.7l-5.29,-0.99l-0.47,-0.93l-0.44,-0.21l-2.47,0.55l-0.42,0.51l-3.18,-0.81l0.43,-0.91l1.12,0.78l0.6,-0.17l0.25,-0.58l1.93,0.12l1.86,-0.56l1.0,0.08l0.68,0.57l0.62,-0.15l0.26,-0.77l-0.3,-1.78l0.8,-0.44l0.68,-1.15l1.52,0.85l0.47,-0.06l1.34,-1.25l0.64,-0.17l1.81,0.92l1.28,-0.11l0.7,0.37Z",name:"Austria"},DZ:{path:"M441.46,188.44l-0.32,1.07l0.39,2.64l-0.54,2.16l-1.58,1.82l0.37,2.39l1.91,1.55l0.18,0.8l1.42,1.03l1.84,7.23l0.12,1.16l-0.57,5.0l0.2,1.51l-0.87,0.99l-0.02,0.51l1.41,1.86l0.14,1.2l0.89,1.48l0.5,0.16l0.98,-0.41l1.73,1.08l0.82,1.23l-8.22,4.81l-7.23,5.11l-3.43,1.13l-2.3,0.21l-0.28,-1.59l-2.56,-1.09l-0.67,-1.25l-26.12,-17.86l0.01,-3.47l3.77,-1.88l2.44,-0.41l2.12,-0.75l1.08,-1.42l2.81,-1.05l0.35,-2.08l1.33,-0.29l1.04,-0.94l3.47,-0.69l0.46,-1.08l-0.1,-0.45l-0.58,-0.52l-0.82,-2.81l-0.19,-1.83l-0.78,-1.49l2.03,-1.31l2.63,-0.48l1.7,-1.22l2.31,-0.84l8.24,-0.73l1.49,0.38l2.28,-1.1l2.46,-0.02l0.92,0.6l1.35,-0.05Z",name:"Algeria"},US:{path:"M892.72,99.2l1.31,0.53l1.41,-0.37l1.89,0.98l1.89,0.42l-1.32,0.58l-2.9,-1.53l-2.08,0.22l-0.26,-0.15l0.07,-0.67ZM183.22,150.47l0.37,1.47l1.12,0.85l4.23,0.7l2.39,0.98l2.17,-0.38l1.85,0.5l-1.55,0.65l-3.49,2.61l-0.16,0.77l0.5,0.39l2.33,-0.61l1.77,1.02l5.15,-2.4l-0.31,0.65l0.25,0.56l1.36,0.38l1.71,1.16l4.7,-0.88l0.67,0.85l1.31,0.21l0.58,0.58l-1.34,0.17l-2.18,-0.32l-3.6,0.89l-2.71,3.25l0.35,0.9l0.59,-0.0l0.55,-0.6l-1.36,4.65l0.29,3.09l0.67,1.58l0.61,0.45l1.77,-0.44l1.6,-1.96l0.14,-2.21l-0.82,-1.96l0.11,-1.13l1.19,-2.37l0.44,-0.33l0.48,0.75l0.4,-0.29l0.4,-1.37l0.6,-0.47l0.24,-0.8l1.69,0.49l1.65,1.08l-0.03,2.37l-1.27,1.13l-0.0,1.13l0.87,0.36l1.66,-1.29l0.5,0.17l0.5,2.6l-2.49,3.75l0.17,0.61l1.54,0.62l1.48,0.17l1.92,-0.44l4.72,-2.15l2.16,-1.8l-0.05,-1.24l0.75,-0.22l3.92,0.36l2.12,-1.05l0.21,-0.4l-0.28,-1.48l3.27,-2.4l8.32,-0.02l0.56,-0.82l1.9,-0.77l0.93,-1.51l0.74,-2.37l1.58,-1.98l0.92,0.62l1.47,-0.47l0.8,0.66l-0.0,4.09l1.96,2.6l-2.34,1.31l-5.37,2.09l-1.83,2.72l0.02,1.79l0.83,1.59l0.54,0.23l-6.19,0.94l-2.2,0.89l-0.23,0.48l0.45,0.29l2.99,-0.46l-2.19,0.56l-1.13,0.0l-0.15,-0.32l-0.48,0.08l-0.76,0.82l0.22,0.67l0.32,0.06l-0.41,1.62l-1.27,1.58l-1.48,-1.07l-0.49,-0.04l-0.16,0.46l0.52,1.58l0.61,0.59l0.03,0.79l-0.95,1.38l-1.21,-1.22l-0.27,-2.27l-0.35,-0.35l-0.42,0.25l-0.48,1.27l0.33,1.41l-0.97,-0.27l-0.48,0.24l0.18,0.5l1.52,0.83l0.1,2.52l0.79,0.51l0.52,3.42l-1.42,1.88l-2.47,0.8l-1.71,1.66l-1.31,0.25l-1.27,1.03l-0.43,0.99l-2.69,1.78l-2.64,3.03l-0.45,2.12l0.45,2.08l0.85,2.38l1.09,1.9l0.04,1.2l1.16,3.06l-0.18,2.69l-0.55,1.43l-0.47,0.21l-0.89,-0.23l-0.49,-1.18l-0.87,-0.56l-2.75,-5.16l0.48,-1.68l-0.72,-1.78l-2.01,-2.38l-1.12,-0.53l-2.72,1.18l-1.47,-1.35l-1.57,-0.68l-2.99,0.31l-2.17,-0.3l-2.0,0.19l-1.15,0.46l-0.19,0.58l0.39,0.63l0.14,1.34l-0.84,-0.2l-0.84,0.46l-1.58,-0.07l-2.08,-1.44l-2.09,0.33l-1.91,-0.62l-3.73,0.84l-2.39,2.07l-2.54,1.22l-1.45,1.41l-0.61,1.38l0.34,3.71l-0.29,0.02l-3.5,-1.33l-1.25,-3.11l-1.44,-1.5l-2.24,-3.56l-1.76,-1.09l-2.27,-0.01l-1.71,2.07l-1.76,-0.69l-1.16,-0.74l-1.52,-2.98l-3.93,-3.16l-4.34,-0.0l-0.4,0.4l-0.0,0.74l-6.5,0.02l-9.02,-3.14l-0.34,-0.71l-5.7,0.49l-0.43,-1.29l-1.62,-1.61l-1.14,-0.38l-0.55,-0.88l-1.28,-0.13l-1.01,-0.77l-2.22,-0.27l-0.43,-0.3l-0.36,-1.58l-2.4,-2.83l-2.01,-3.85l-0.06,-0.9l-2.92,-3.26l-0.33,-2.29l-1.3,-1.66l0.52,-2.37l-0.09,-2.57l-0.78,-2.3l0.95,-2.82l0.61,-5.68l-0.47,-4.27l-1.46,-4.08l3.19,0.79l1.26,2.83l0.69,0.08l0.69,-1.14l-1.1,-4.79l68.76,-0.0l0.4,-0.4l0.14,-0.86ZM32.44,67.52l1.73,1.97l0.55,0.05l0.99,-0.79l3.65,0.24l-0.09,0.62l0.32,0.45l3.83,0.77l2.61,-0.43l5.19,1.4l4.84,0.43l1.89,0.57l3.42,-0.7l6.14,1.87l-0.03,38.06l0.38,0.4l2.39,0.11l2.31,0.98l3.9,3.99l0.55,0.04l2.4,-2.03l2.16,-1.04l1.2,1.71l3.95,3.14l4.09,6.63l4.2,2.29l0.06,1.83l-1.02,1.23l-1.16,-1.08l-2.04,-1.03l-0.67,-2.89l-3.28,-3.03l-1.65,-3.57l-6.35,-0.32l-2.82,-1.01l-5.26,-3.85l-6.77,-2.04l-3.53,0.3l-4.81,-1.69l-3.25,-1.63l-2.78,0.8l-0.28,0.46l0.44,2.21l-3.91,0.96l-2.26,1.27l-2.3,0.65l-0.27,-1.65l1.05,-3.42l2.49,-1.09l0.16,-0.6l-0.69,-0.96l-0.55,-0.1l-3.19,2.12l-1.78,2.56l-3.55,2.61l-0.04,0.61l1.56,1.52l-2.07,2.29l-5.11,2.57l-0.77,1.66l-3.76,1.77l-0.92,1.73l-2.69,1.38l-1.81,-0.22l-6.95,3.32l-3.97,0.91l4.85,-2.5l2.59,-1.86l3.26,-0.52l1.19,-1.4l3.42,-2.1l2.59,-2.27l0.42,-2.68l1.23,-2.1l-0.04,-0.46l-0.45,-0.11l-2.68,1.03l-0.63,-0.49l-0.53,0.03l-1.05,1.04l-1.36,-1.54l-0.66,0.08l-0.32,0.62l-0.58,-1.14l-0.56,-0.16l-2.41,1.42l-1.07,-0.0l-0.17,-1.75l0.3,-1.71l-1.61,-1.33l-3.41,0.59l-1.96,-1.63l-1.57,-0.84l-0.15,-2.21l-1.7,-1.43l0.82,-1.88l1.99,-2.12l0.88,-1.92l1.71,-0.24l2.04,0.51l1.87,-1.77l1.91,0.25l1.91,-1.23l0.17,-0.43l-0.47,-1.82l-1.07,-0.7l1.39,-1.17l0.12,-0.45l-0.39,-0.26l-1.65,0.07l-2.66,0.88l-0.75,0.78l-1.92,-0.8l-3.46,0.44l-3.44,-0.91l-1.06,-1.61l-2.65,-1.99l2.91,-1.43l5.5,-2.0l1.52,0.0l-0.26,1.62l0.41,0.46l5.29,-0.16l0.3,-0.65l-2.03,-2.59l-3.14,-1.68l-1.79,-2.12l-2.4,-1.83l-3.09,-1.24l1.04,-1.69l4.23,-0.14l3.36,-2.07l0.73,-2.27l2.39,-1.99l2.42,-0.52l4.65,-1.97l2.46,0.23l3.71,-2.35l3.5,0.89ZM37.6,123.41l-2.25,1.23l-0.95,-0.69l-0.29,-1.24l3.21,-1.63l1.42,0.21l0.67,0.7l-1.8,1.42ZM31.06,234.03l0.98,0.47l0.74,0.87l-1.77,1.07l-0.44,-1.53l0.49,-0.89ZM29.34,232.07l0.18,0.05l0.08,0.05l-0.16,0.03l-0.11,-0.14ZM25.16,230.17l0.05,-0.03l0.18,0.22l-0.13,-0.01l-0.1,-0.18ZM5.89,113.26l-1.08,0.41l-2.21,-1.12l1.53,-0.4l1.62,0.28l0.14,0.83Z",name:"United States"},LV:{path:"M489.16,122.85l0.96,0.66l0.22,1.65l0.68,1.76l-3.65,1.7l-2.23,-1.58l-1.29,-0.26l-0.68,-0.77l-2.42,0.34l-4.16,-0.23l-2.47,0.9l0.06,-1.98l1.13,-2.06l1.95,-1.02l2.12,2.58l2.01,-0.07l0.38,-0.33l0.44,-2.52l1.76,-0.53l3.06,1.7l2.15,0.07Z",name:"Latvia"},UY:{path:"M286.85,372.74l-0.92,1.5l-2.59,1.44l-1.69,-0.52l-1.42,0.26l-2.39,-1.19l-1.52,0.08l-1.27,-1.3l0.16,-1.5l0.56,-0.79l-0.02,-2.73l1.21,-4.74l1.19,-0.21l2.37,2.0l1.08,0.03l4.36,3.17l1.22,1.6l-0.96,1.5l0.61,1.4Z",name:"Uruguay"},LB:{path:"M510.37,198.01l-0.88,0.51l1.82,-3.54l0.62,0.08l0.22,0.61l-1.13,0.88l-0.65,1.47Z",name:"Lebanon"},LA:{path:"M689.54,248.53l-1.76,-0.74l-0.49,0.15l-0.94,1.46l-1.32,-0.64l0.62,-0.98l0.11,-2.17l-2.04,-2.42l-0.25,-2.65l-1.9,-2.1l-2.15,-0.31l-0.78,0.91l-1.12,0.06l-1.05,-0.4l-2.06,1.2l-0.04,-1.59l0.61,-2.68l-0.36,-0.49l-1.35,-0.1l-0.11,-1.23l-0.96,-0.88l1.96,-1.89l0.39,0.36l1.33,0.07l0.42,-0.45l-0.34,-2.66l0.7,-0.21l1.28,1.81l1.11,2.35l0.36,0.23l2.82,0.02l0.71,1.67l-1.39,0.65l-0.72,0.93l0.13,0.6l2.91,1.51l3.6,5.25l1.88,1.78l0.56,1.62l-0.35,1.96Z",name:"Lao PDR"},TW:{path:"M724.01,226.68l-0.74,1.48l-0.9,-1.52l-0.25,-1.74l1.38,-2.44l1.73,-1.74l0.64,0.44l-1.85,5.52Z",name:"Taiwan"},TT:{path:"M266.64,259.32l0.28,-1.16l1.13,-0.22l-0.06,1.2l-1.35,0.18Z",name:"Trinidad and Tobago"},TR:{path:"M513.21,175.47l3.64,1.17l3.05,-0.44l2.1,0.26l3.11,-1.56l2.46,-0.13l2.19,1.33l0.33,0.82l-0.22,1.33l0.25,0.44l2.28,1.13l-1.17,0.57l-0.21,0.45l0.75,3.2l-0.41,1.16l1.13,1.92l-0.55,0.22l-0.9,-0.67l-2.91,-0.37l-1.24,0.46l-4.23,0.41l-2.81,1.05l-1.91,0.01l-1.52,-0.53l-2.58,0.75l-0.66,-0.45l-0.62,0.3l-0.12,1.45l-0.89,0.84l-0.47,-0.67l0.79,-1.3l-0.41,-0.2l-1.43,0.23l-2.0,-0.63l-2.02,1.65l-3.51,0.3l-2.13,-1.53l-2.7,-0.1l-0.86,1.24l-1.38,0.27l-2.29,-1.44l-2.71,-0.01l-1.37,-2.65l-1.68,-1.52l1.07,-1.99l-0.09,-0.49l-1.27,-1.12l2.37,-2.41l3.7,-0.11l1.28,-2.24l4.49,0.37l3.21,-1.97l2.81,-0.82l3.99,-0.06l4.29,2.07ZM488.79,176.72l-1.72,1.31l-0.5,-0.88l1.37,-2.57l-0.7,-0.85l1.7,-0.63l1.8,0.34l0.46,1.17l1.76,0.78l-2.87,0.32l-1.3,1.01Z",name:"Turkey"},LK:{path:"M624.16,268.99l-1.82,0.48l-0.99,-1.67l-0.42,-3.46l0.95,-3.43l1.21,0.98l2.26,4.19l-0.34,2.33l-0.85,0.58Z",name:"Sri Lanka"},TN:{path:"M448.1,188.24l-1.0,1.27l-0.02,1.32l0.84,0.88l-0.28,2.09l-1.53,1.32l-0.12,0.42l0.48,1.54l1.42,0.32l0.53,1.11l0.9,0.52l-0.11,1.67l-3.54,2.64l-0.1,2.38l-0.58,0.3l-0.96,-4.45l-1.54,-1.25l-0.16,-0.78l-1.92,-1.56l-0.18,-1.76l1.51,-1.62l0.59,-2.34l-0.38,-2.78l0.42,-1.21l2.45,-1.05l1.29,0.26l-0.06,1.11l0.58,0.38l1.47,-0.73Z",name:"Tunisia"},TL:{path:"M734.55,307.93l-0.1,-0.97l4.5,-0.86l-2.82,1.28l-1.59,0.55Z",name:"Timor-Leste"},TM:{path:"M553.03,173.76l-0.04,0.34l-0.09,-0.22l0.13,-0.12ZM555.87,172.66l0.45,-0.1l1.48,0.74l2.06,2.43l4.07,-0.18l0.38,-0.51l-0.32,-1.19l1.92,-0.94l1.91,-1.59l2.94,1.39l0.43,2.47l1.19,0.67l2.58,-0.13l0.62,0.4l1.32,3.12l4.54,3.44l2.67,1.45l3.06,1.14l-0.04,1.05l-1.33,-0.75l-0.59,0.19l-0.32,0.84l-2.2,0.81l-0.46,2.13l-1.21,0.74l-1.91,0.42l-0.73,1.33l-1.56,0.31l-2.22,-0.94l-0.2,-2.17l-0.38,-0.36l-1.73,-0.09l-2.76,-2.46l-2.14,-0.4l-2.84,-1.48l-1.78,-0.27l-1.24,0.53l-1.57,-0.08l-2.0,1.69l-1.7,0.43l-0.36,-1.58l0.36,-2.98l-0.22,-0.4l-1.65,-0.84l0.54,-1.69l-0.34,-0.52l-1.22,-0.13l0.36,-1.64l2.22,0.59l2.2,-0.95l0.12,-0.65l-1.77,-1.74l-0.66,-1.57Z",name:"Turkmenistan"},TJ:{path:"M597.75,178.82l-2.54,-0.44l-0.47,0.34l-0.24,1.7l0.43,0.45l2.64,-0.22l3.18,0.95l4.39,-0.41l0.56,2.37l0.52,0.29l0.67,-0.24l1.11,0.49l0.21,2.13l-3.76,-0.21l-1.8,1.32l-1.76,0.74l-0.61,-0.58l0.21,-2.23l-0.64,-0.49l-0.07,-0.93l-1.36,-0.66l-0.45,0.07l-1.08,1.01l-0.55,1.48l-1.31,-0.05l-0.95,1.16l-0.9,-0.35l-1.86,0.74l1.26,-2.83l-0.54,-2.17l-1.67,-0.82l0.33,-0.66l2.18,-0.04l1.19,-1.63l0.76,-1.79l2.43,-0.5l-0.26,1.0l0.73,1.05Z",name:"Tajikistan"},LS:{path:"M491.06,363.48l-0.49,0.15l-1.49,-1.67l1.1,-1.43l2.19,-1.44l1.51,1.27l-0.98,1.82l-1.23,0.38l-0.62,0.93Z",name:"Lesotho"},TH:{path:"M670.27,255.86l-1.41,3.87l0.15,2.0l0.38,0.36l1.38,0.07l0.9,2.04l0.55,2.34l1.4,1.44l1.61,0.38l0.96,0.97l-0.5,0.64l-1.1,0.2l-0.34,-1.18l-2.04,-1.1l-0.63,0.23l-0.63,-0.62l-0.48,-1.3l-2.56,-2.63l-0.73,0.41l0.95,-3.89l2.16,-4.22ZM670.67,254.77l-0.92,-2.18l-0.26,-2.61l-2.14,-3.06l0.71,-0.49l0.89,-2.59l-3.61,-5.45l0.87,-0.51l1.05,-2.58l1.74,-0.18l2.6,-1.59l0.76,0.56l0.13,1.39l0.37,0.36l1.23,0.09l-0.51,2.28l0.05,2.42l0.6,0.34l2.43,-1.42l0.77,0.39l1.47,-0.07l0.71,-0.88l1.48,0.14l1.71,1.88l0.25,2.65l1.92,2.11l-0.1,1.89l-0.61,0.86l-2.22,-0.33l-3.5,0.64l-1.6,2.12l0.36,2.58l-1.51,-0.79l-1.84,-0.01l0.28,-1.52l-0.4,-0.47l-2.21,0.01l-0.4,0.37l-0.19,2.74l-0.34,0.93Z",name:"Thailand"},TF:{path:"M596.68,420.38l-3.2,0.18l-0.05,-1.26l0.39,-1.41l1.3,0.78l2.08,0.35l-0.52,1.36Z",name:"Fr. S. Antarctic Lands"},TG:{path:"M422.7,257.63l-0.09,1.23l1.53,1.52l0.08,1.09l0.5,0.65l-0.11,5.62l0.49,1.47l-1.31,0.35l-1.02,-2.13l-0.18,-1.12l0.53,-2.19l-0.63,-1.16l-0.22,-3.68l-1.01,-1.4l0.07,-0.28l1.37,0.03Z",name:"Togo"},TD:{path:"M480.25,235.49l0.12,9.57l-2.1,0.05l-1.14,1.89l-0.69,1.63l0.34,0.73l-0.66,0.91l0.24,0.89l-0.86,1.95l0.45,0.5l0.6,-0.1l0.34,0.64l0.03,1.38l0.9,1.04l-1.45,0.43l-1.27,1.03l-1.83,2.76l-2.16,1.07l-2.31,-0.15l-0.86,0.25l-0.26,0.49l0.17,0.61l-2.11,1.68l-2.85,0.87l-1.09,-0.57l-0.73,0.66l-1.12,0.1l-1.1,-3.12l-1.25,-0.64l-1.22,-1.22l0.29,-0.64l3.01,0.04l0.35,-0.6l-1.3,-2.2l-0.08,-3.31l-0.97,-1.66l0.22,-1.04l-0.38,-0.48l-1.22,-0.04l0.0,-1.25l-0.98,-1.07l0.96,-3.01l3.25,-2.65l0.13,-3.33l0.95,-5.18l0.52,-1.07l-0.1,-0.48l-0.91,-0.78l-0.2,-0.96l-0.8,-0.58l-0.55,-3.65l2.1,-1.2l19.57,9.83Z",name:"Chad"},LY:{path:"M483.48,203.15l-0.75,1.1l0.29,1.39l-0.6,1.83l0.73,2.14l0.0,24.12l-2.48,0.01l-0.41,0.85l-19.41,-9.76l-4.41,2.28l-1.37,-1.33l-3.82,-1.1l-1.14,-1.65l-1.98,-1.23l-1.22,0.32l-0.66,-1.11l-0.17,-1.26l-1.28,-1.69l0.87,-1.19l-0.07,-4.34l0.43,-2.27l-0.86,-3.45l1.13,-0.76l0.22,-1.16l-0.2,-1.03l3.48,-2.61l0.29,-1.94l2.45,0.8l1.18,-0.21l1.98,0.44l3.15,1.18l1.37,2.54l5.72,1.67l2.64,1.35l1.61,-0.72l1.29,-1.34l-0.44,-2.34l0.66,-1.13l1.67,-1.21l1.57,-0.35l3.14,0.53l1.08,1.28l3.99,0.78l0.36,0.54Z",name:"Libya"},AE:{path:"M550.76,223.97l1.88,-0.4l3.84,0.02l4.78,-4.75l0.19,0.36l0.26,1.58l-0.81,0.01l-0.39,0.35l-0.08,2.04l-0.81,0.63l-0.01,0.96l-0.66,0.99l-0.39,1.41l-7.08,-1.25l-0.7,-1.96Z",name:"United Arab Emirates"},VE:{path:"M240.68,256.69l0.53,0.75l-0.02,1.06l-1.07,1.78l0.95,2.0l0.42,0.22l1.4,-0.44l0.56,-1.83l-0.77,-1.17l-0.1,-1.47l2.82,-0.93l0.26,-0.49l-0.28,-0.96l0.3,-0.28l0.66,1.31l1.96,0.26l1.4,1.22l0.08,0.68l0.39,0.35l4.81,-0.22l1.49,1.11l1.92,0.31l1.67,-0.84l0.22,-0.6l3.44,-0.14l-0.17,0.55l0.86,1.19l2.19,0.35l1.67,1.1l0.37,1.86l0.41,0.32l1.55,0.17l-1.66,1.35l-0.22,0.92l0.65,0.97l-1.67,0.54l-0.3,0.4l0.04,0.99l-0.56,0.57l-0.01,0.55l1.85,2.27l-0.66,0.69l-4.47,1.29l-0.72,0.54l-3.69,-0.9l-0.71,0.27l-0.02,0.7l0.91,0.53l-0.08,1.54l0.35,1.58l0.35,0.31l1.66,0.17l-1.3,0.52l-0.48,1.13l-2.68,0.91l-0.6,0.77l-1.57,0.13l-1.17,-1.13l-0.8,-2.52l-1.25,-1.26l1.02,-1.23l-1.29,-2.95l0.18,-1.62l1.0,-2.21l-0.2,-0.49l-1.14,-0.46l-4.02,0.36l-1.82,-2.1l-1.57,-0.33l-2.99,0.22l-1.06,-0.97l0.25,-1.23l-0.2,-1.01l-0.59,-0.69l-0.29,-1.06l-1.08,-0.39l0.78,-2.79l1.9,-2.11Z",name:"Venezuela"},AF:{path:"M600.7,188.88l-1.57,1.3l-0.1,0.48l0.8,2.31l-1.09,1.04l-0.03,1.27l-0.48,0.71l-2.16,-0.08l-0.37,0.59l0.78,1.48l-1.38,0.69l-1.06,1.69l0.06,1.7l-0.65,0.52l-0.91,-0.21l-1.91,0.36l-0.48,0.77l-1.88,0.13l-1.4,1.56l-0.18,2.32l-2.91,1.02l-1.65,-0.23l-0.71,0.55l-1.41,-0.3l-2.41,0.39l-3.52,-1.17l1.96,-2.35l-0.21,-1.78l-0.3,-0.34l-1.63,-0.4l-0.19,-1.58l-0.75,-2.03l0.95,-1.36l-0.19,-0.6l-0.73,-0.28l1.47,-4.8l2.14,0.9l2.12,-0.36l0.74,-1.34l1.77,-0.39l1.54,-0.92l0.63,-2.31l1.87,-0.5l0.49,-0.81l0.94,0.56l2.13,0.11l2.55,0.92l1.95,-0.83l0.65,0.43l0.56,-0.13l0.69,-1.12l1.57,-0.08l0.72,-1.66l0.79,-0.74l0.8,0.39l-0.17,0.56l0.71,0.58l-0.08,2.39l1.11,0.95ZM601.37,188.71l1.73,-0.71l1.43,-1.18l4.03,0.35l-2.23,0.74l-4.95,0.8Z",name:"Afghanistan"},IQ:{path:"M530.82,187.47l0.79,0.66l1.26,-0.28l1.46,3.08l1.63,0.94l0.14,1.23l-1.22,1.05l-0.53,2.52l1.73,2.67l3.12,1.62l1.15,1.88l-0.38,1.85l0.39,0.48l0.41,-0.0l0.02,1.07l0.76,0.94l-2.47,-0.1l-1.71,2.44l-4.31,-0.2l-7.02,-5.48l-3.73,-1.94l-2.88,-0.73l-0.85,-2.87l5.45,-3.02l0.95,-3.43l-0.19,-1.96l1.27,-0.7l1.22,-1.7l0.87,-0.36l2.69,0.34Z",name:"Iraq"},IS:{path:"M384.14,88.06l-0.37,2.61l2.54,2.51l-2.9,2.75l-9.19,3.4l-9.25,-1.66l1.7,-1.22l-0.1,-0.7l-4.05,-1.47l2.96,-0.53l0.33,-0.43l-0.11,-1.2l-0.33,-0.36l-4.67,-0.85l1.28,-2.04l3.45,-0.56l3.77,2.72l0.44,0.02l3.64,-2.16l3.3,1.08l3.98,-2.16l3.58,0.26Z",name:"Iceland"},IR:{path:"M533.43,187.16l-1.27,-2.15l0.42,-0.98l-0.71,-3.04l1.03,-0.5l0.33,0.83l1.26,1.35l2.05,0.51l1.11,-0.16l2.89,-2.11l0.62,-0.14l0.39,0.46l-0.72,1.2l0.06,0.49l1.56,1.53l0.65,0.04l0.67,1.81l2.56,0.83l1.87,1.48l3.69,0.49l3.91,-0.76l0.47,-0.73l2.17,-0.6l1.66,-1.54l1.51,0.08l1.18,-0.53l1.59,0.24l2.83,1.48l1.88,0.3l2.77,2.47l1.77,0.18l0.18,1.99l-1.68,5.49l0.24,0.5l0.61,0.23l-0.82,1.48l0.8,2.18l0.19,1.71l0.3,0.34l1.63,0.4l0.15,1.32l-2.15,2.35l-0.01,0.53l2.21,3.03l2.34,1.24l0.06,2.14l1.24,0.72l0.11,0.69l-3.31,1.27l-1.08,3.03l-9.68,-1.68l-0.99,-3.05l-1.43,-0.73l-2.17,0.46l-2.47,1.26l-2.83,-0.82l-2.46,-2.02l-2.41,-0.8l-3.42,-6.06l-0.48,-0.2l-1.18,0.39l-1.44,-0.82l-0.5,0.08l-0.65,0.74l-0.97,-1.01l-0.02,-1.31l-0.71,-0.39l0.26,-1.81l-1.29,-2.11l-3.13,-1.63l-1.58,-2.43l0.5,-1.9l1.31,-1.26l-0.19,-1.66l-1.74,-1.1l-1.57,-3.3Z",name:"Iran"},AM:{path:"M536.99,182.33l-0.28,0.03l-1.23,-2.13l-0.93,0.01l-0.62,-0.66l-0.69,-0.07l-0.96,-0.81l-1.56,-0.62l0.19,-1.12l-0.26,-0.79l2.72,-0.36l1.09,1.01l-0.17,0.92l1.02,0.78l-0.47,0.62l0.08,0.56l2.04,1.23l0.04,1.4Z",name:"Armenia"},IT:{path:"M451.59,158.63l3.48,0.94l-0.21,1.17l0.3,0.83l-1.49,-0.24l-2.04,1.1l-0.21,0.39l0.13,1.45l-0.25,1.12l0.82,1.57l2.39,1.63l1.31,2.54l2.79,2.43l2.05,0.08l0.21,0.23l-0.39,0.33l0.09,0.67l4.05,1.97l2.17,1.76l-0.16,0.36l-1.17,-1.08l-2.18,-0.49l-0.44,0.2l-1.05,1.91l0.14,0.54l1.57,0.95l-0.19,0.98l-1.06,0.33l-1.25,2.34l-0.37,0.08l0.0,-0.33l1.0,-2.45l-1.73,-3.17l-1.12,-0.51l-0.88,-1.33l-1.51,-0.51l-1.27,-1.25l-1.75,-0.18l-4.12,-3.21l-1.62,-1.65l-1.03,-3.19l-3.53,-1.36l-1.3,0.51l-1.69,1.41l0.16,-0.72l-0.28,-0.47l-1.14,-0.33l-0.53,-1.96l0.72,-0.78l0.04,-0.48l-0.65,-1.17l0.8,0.39l1.4,-0.23l1.11,-0.84l0.52,0.35l1.19,-0.1l0.75,-1.2l1.53,0.33l1.36,-0.56l0.35,-1.14l1.08,0.32l0.68,-0.64l1.98,-0.44l0.42,0.82ZM459.19,184.75l-0.65,1.65l0.32,1.05l-0.31,0.89l-1.5,-0.85l-4.5,-1.67l0.19,-0.82l2.67,0.23l3.78,-0.48ZM443.93,176.05l1.18,1.66l-0.3,3.32l-1.06,-0.01l-0.77,0.73l-0.53,-0.44l-0.1,-3.37l-0.39,-1.22l1.04,0.01l0.92,-0.68Z",name:"Italy"},VN:{path:"M690.56,230.25l-2.7,1.82l-2.09,2.46l-0.63,1.95l4.31,6.45l2.32,1.65l1.43,1.94l1.11,4.59l-0.32,4.24l-1.93,1.54l-2.84,1.61l-2.11,2.15l-2.73,2.06l-0.59,-1.05l0.63,-1.53l-0.13,-0.47l-1.34,-1.04l1.51,-0.71l2.55,-0.18l0.3,-0.63l-0.82,-1.14l4.0,-2.07l0.31,-3.05l-0.57,-1.77l0.42,-2.66l-0.73,-1.97l-1.86,-1.76l-3.63,-5.29l-2.72,-1.46l0.36,-0.47l1.5,-0.64l0.21,-0.52l-0.97,-2.27l-0.37,-0.24l-2.83,-0.02l-2.24,-3.9l0.83,-0.4l4.39,-0.29l2.06,-1.31l1.15,0.89l1.88,0.4l-0.17,1.51l1.35,1.16l1.67,0.45Z",name:"Vietnam"},AR:{path:"M249.29,428.93l-2.33,-0.52l-5.83,-0.43l-0.89,-1.66l0.05,-2.37l-0.45,-0.4l-1.43,0.18l-0.67,-0.91l-0.2,-3.13l1.88,-1.47l0.79,-2.04l-0.25,-1.7l1.3,-2.68l0.91,-4.15l-0.22,-1.69l0.85,-0.45l0.2,-0.44l-0.27,-1.16l-0.98,-0.68l0.59,-0.92l-0.05,-0.5l-1.04,-1.07l-0.52,-3.1l0.97,-0.86l-0.42,-3.58l1.2,-5.43l1.38,-0.98l0.16,-0.43l-0.75,-2.79l-0.01,-2.43l1.78,-1.75l0.06,-2.57l1.43,-2.85l0.01,-2.58l-0.69,-0.74l-1.09,-4.52l1.47,-2.7l-0.18,-2.79l0.85,-2.35l1.59,-2.46l1.73,-1.64l0.05,-0.52l-0.6,-0.84l0.44,-0.85l-0.07,-4.19l2.7,-1.44l0.86,-2.75l-0.21,-0.71l1.76,-2.01l2.9,0.57l1.38,1.78l0.68,-0.08l0.87,-1.87l2.39,0.09l4.95,4.77l2.17,0.49l3.0,1.92l2.47,1.0l0.25,0.82l-2.37,3.93l0.23,0.59l5.39,1.16l2.12,-0.44l2.45,-2.16l0.5,-2.38l0.76,-0.31l0.98,1.2l-0.04,1.8l-3.67,2.51l-2.85,2.66l-3.43,3.88l-1.3,5.07l0.01,2.72l-0.54,0.73l-0.36,3.28l3.14,2.64l-0.16,2.11l1.4,1.11l-0.1,1.09l-2.29,3.52l-3.55,1.49l-4.92,0.6l-2.71,-0.29l-0.43,0.51l0.5,1.65l-0.49,2.1l0.38,1.42l-1.19,0.83l-2.36,0.38l-2.3,-1.04l-1.38,0.83l0.41,3.64l1.69,0.91l1.4,-0.71l0.36,0.76l-2.04,0.86l-2.01,1.89l-0.97,4.63l-2.34,0.1l-2.09,1.78l-0.61,2.75l2.46,2.31l2.17,0.63l-0.7,2.32l-2.83,1.73l-1.73,3.86l-2.17,1.22l-1.16,1.67l0.75,3.76l1.04,1.28ZM256.71,438.88l-2.0,0.15l-1.4,-1.22l-3.82,-0.1l-0.0,-5.83l1.6,3.05l3.26,2.07l3.08,0.78l-0.71,1.1Z",name:"Argentina"},AU:{path:"M705.8,353.26l0.26,0.04l0.17,-0.47l-0.48,-1.42l0.92,1.11l0.45,0.15l0.27,-0.39l-0.1,-1.56l-1.98,-3.63l1.09,-3.31l-0.24,-1.57l0.34,-0.62l0.38,1.06l0.43,-0.19l0.99,-1.7l1.91,-0.83l1.29,-1.15l1.81,-0.91l0.96,-0.17l0.92,0.26l1.92,-0.95l1.47,-0.28l1.03,-0.8l1.43,0.04l2.78,-0.84l1.36,-1.15l0.71,-1.45l1.41,-1.26l0.3,-2.58l1.27,-1.59l0.78,1.65l0.54,0.19l1.07,-0.51l0.15,-0.6l-0.73,-1.0l0.45,-0.71l0.78,0.39l0.58,-0.3l0.28,-1.82l1.87,-2.14l1.12,-0.39l0.28,-0.58l0.62,0.17l0.53,-0.73l1.87,-0.57l1.65,1.05l1.35,1.48l3.39,0.38l0.43,-0.54l-0.46,-1.23l1.05,-1.79l1.04,-0.61l0.14,-0.55l-0.25,-0.41l0.88,-1.17l1.31,-0.77l1.3,0.27l2.1,-0.48l0.31,-0.4l-0.05,-1.3l-0.92,-0.77l1.48,0.56l1.41,1.07l2.11,0.65l0.81,-0.2l1.4,0.7l1.69,-0.66l0.8,0.19l0.64,-0.33l0.71,0.77l-1.33,1.94l-0.71,0.07l-0.35,0.51l0.24,0.86l-1.52,2.35l0.12,1.05l2.15,1.65l1.97,0.85l3.04,2.36l1.97,0.65l0.55,0.88l2.72,0.85l1.84,-1.1l2.07,-5.97l-0.42,-3.59l0.3,-1.73l0.47,-0.87l-0.31,-0.68l1.09,-3.28l0.46,-0.47l0.4,0.71l0.16,1.51l0.65,0.52l0.16,1.04l0.85,1.21l0.12,2.38l0.9,2.0l0.57,0.18l1.3,-0.78l1.69,1.7l-0.2,1.08l0.53,2.2l0.39,1.3l0.68,0.48l0.6,1.95l-0.19,1.48l0.81,1.76l6.01,3.69l-0.11,0.76l1.38,1.58l0.95,2.77l0.58,0.22l0.72,-0.41l0.8,0.9l0.61,0.01l0.46,2.41l4.81,4.71l0.66,2.02l-0.07,3.31l1.14,2.2l-0.13,2.24l-1.1,3.68l0.03,1.64l-0.47,1.89l-1.05,2.4l-1.9,1.47l-1.72,3.51l-2.38,6.09l-0.24,2.82l-1.14,0.8l-2.85,0.15l-2.31,1.19l-2.51,2.25l-3.09,-1.57l0.3,-1.15l-0.54,-0.47l-1.5,0.63l-2.01,1.94l-7.12,-2.18l-1.48,-1.63l-1.14,-3.74l-1.45,-1.26l-1.81,-0.26l0.56,-1.18l-0.61,-2.1l-0.72,-0.1l-1.14,1.82l-0.9,0.21l0.63,-0.82l0.36,-1.55l0.92,-1.31l-0.13,-2.34l-0.7,-0.22l-2.0,2.34l-1.51,0.93l-0.94,2.01l-1.35,-0.81l-0.02,-1.52l-1.57,-2.04l-1.09,-0.88l0.24,-0.33l-0.14,-0.59l-3.21,-1.69l-1.83,-0.12l-2.54,-1.35l-4.58,0.28l-6.02,1.9l-2.53,-0.13l-2.62,1.41l-2.13,0.63l-1.49,2.6l-3.49,0.31l-2.29,-0.5l-3.48,0.43l-1.6,1.47l-0.81,-0.04l-2.37,1.63l-3.26,-0.1l-3.72,-2.21l0.04,-1.05l1.19,-0.46l0.49,-0.89l0.21,-2.97l-0.28,-1.64l-1.34,-2.86l-0.38,-1.47l0.05,-1.72l-0.95,-1.7l-0.18,-0.97l-1.01,-0.99l-0.29,-1.98l-1.13,-1.75ZM784.92,393.44l2.65,1.02l3.23,-0.96l1.09,0.14l0.15,3.06l-0.85,1.13l-0.17,1.63l-0.87,-0.24l-1.57,1.91l-1.68,-0.18l-1.4,-2.36l-0.37,-2.04l-1.39,-2.51l0.04,-0.8l1.15,0.18Z",name:"Australia"},IL:{path:"M507.76,203.05l0.4,-0.78l0.18,0.4l-0.33,1.03l0.52,0.44l0.68,-0.22l-0.86,3.6l-1.16,-3.32l0.59,-0.74l-0.03,-0.41ZM508.73,200.34l0.37,-1.02l0.64,0.0l0.52,-0.51l-0.49,1.53l-0.56,-0.24l-0.48,0.23Z",name:"Israel"},IN:{path:"M623.34,207.03l-1.24,1.04l-0.97,2.55l0.22,0.51l8.04,3.87l3.42,0.37l1.57,1.38l4.92,0.88l2.18,-0.04l0.38,-0.3l0.29,-1.24l-0.32,-1.64l0.14,-0.87l0.82,-0.31l0.45,2.48l2.28,1.02l1.77,-0.38l4.14,0.1l0.38,-0.36l0.18,-1.66l-0.5,-0.65l1.37,-0.29l2.25,-1.99l2.7,-1.62l1.93,0.62l1.8,-0.98l0.79,1.14l-0.68,0.91l0.26,0.63l2.42,0.36l0.09,0.47l-0.83,0.75l0.13,1.07l-1.52,-0.29l-3.24,1.86l-0.13,1.78l-1.32,2.14l-0.18,1.39l-0.93,1.82l-1.64,-0.5l-0.52,0.37l-0.09,2.63l-0.56,1.11l0.19,0.81l-0.53,0.27l-1.18,-3.73l-1.08,-0.27l-0.38,0.31l-0.24,1.0l-0.66,-0.66l0.54,-1.06l1.22,-0.34l1.15,-2.25l-0.24,-0.56l-1.57,-0.47l-4.34,-0.28l-0.18,-1.56l-0.35,-0.35l-1.11,-0.12l-1.91,-1.12l-0.56,0.17l-0.88,1.82l0.11,0.49l1.36,1.07l-1.09,0.69l-0.69,1.11l0.18,0.56l1.24,0.57l-0.32,1.54l0.85,1.94l0.36,2.01l-0.22,0.59l-4.58,0.52l-0.33,0.42l0.13,1.8l-1.17,1.36l-3.65,1.81l-2.79,3.03l-4.32,3.28l-0.18,1.27l-4.65,1.79l-0.77,2.16l0.64,5.3l-1.06,2.49l-0.01,3.94l-1.24,0.28l-1.14,1.93l0.39,0.84l-1.68,0.53l-1.04,1.83l-0.65,0.47l-2.06,-2.05l-2.1,-6.02l-2.2,-3.64l-1.05,-4.75l-2.29,-3.57l-1.76,-8.2l0.01,-3.11l-0.49,-2.53l-0.55,-0.29l-3.53,1.52l-1.53,-0.27l-2.86,-2.77l0.85,-0.67l0.08,-0.55l-0.74,-1.03l-2.67,-2.06l1.24,-1.32l5.34,0.01l0.39,-0.49l-0.5,-2.29l-1.42,-1.46l-0.27,-1.93l-1.43,-1.2l2.31,-2.37l3.05,0.06l2.62,-2.85l1.6,-2.81l2.4,-2.73l0.07,-2.04l1.97,-1.48l-0.02,-0.65l-1.93,-1.31l-0.82,-1.78l-0.8,-2.21l0.9,-0.89l3.59,0.65l2.92,-0.42l2.33,-2.19l2.31,2.85l-0.24,2.13l0.99,1.59l-0.05,0.82l-1.34,-0.28l-0.47,0.48l0.7,3.06l2.62,1.99l2.99,1.65Z",name:"India"},TZ:{path:"M495.56,296.42l2.8,-3.12l-0.02,-0.81l-0.64,-1.3l0.68,-0.52l0.14,-1.47l-0.76,-1.25l0.31,-0.11l2.26,0.03l-0.51,2.76l0.76,1.3l0.5,0.12l1.05,-0.53l1.19,-0.12l0.61,0.24l1.43,-0.62l0.1,-0.67l-0.71,-0.62l1.57,-1.7l8.65,4.86l0.32,1.53l3.34,2.33l-1.05,2.8l0.13,1.61l1.63,1.12l-0.6,1.76l-0.01,2.33l1.89,4.03l0.57,0.43l-1.46,1.08l-2.61,0.94l-1.43,-0.04l-1.06,0.77l-2.29,0.36l-2.87,-0.68l-0.83,0.07l-0.63,-0.75l-0.31,-2.78l-1.32,-1.35l-3.25,-0.77l-3.96,-1.58l-1.18,-2.41l-0.32,-1.75l-1.76,-1.49l0.42,-1.05l-0.44,-0.89l0.08,-0.96l-0.46,-0.58l0.06,-0.56Z",name:"Tanzania"},AZ:{path:"M539.29,175.73l1.33,0.32l1.94,-1.8l2.3,3.34l1.43,0.43l-1.26,0.15l-0.35,0.32l-0.8,3.14l-0.99,0.96l0.05,1.11l-1.26,-1.13l0.7,-1.18l-0.04,-0.47l-0.74,-0.86l-1.48,0.15l-2.34,1.71l-0.03,-1.27l-2.03,-1.35l0.47,-0.62l-0.08,-0.56l-1.03,-0.79l0.29,-0.43l-0.14,-0.58l-1.13,-0.86l1.89,0.68l1.69,0.06l0.37,-0.87l-0.81,-1.37l0.42,0.06l1.63,1.72ZM533.78,180.57l0.61,0.46l0.69,-0.0l0.59,1.15l-0.68,-0.15l-1.21,-1.45Z",name:"Azerbaijan"},IE:{path:"M405.08,135.42l0.35,2.06l-1.75,2.78l-4.22,1.88l-2.84,-0.4l1.73,-3.0l-1.18,-3.53l4.6,-3.74l0.32,1.15l-0.49,1.74l0.4,0.51l1.47,-0.04l1.6,0.6Z",name:"Ireland"},ID:{path:"M756.47,287.89l0.69,4.01l2.79,1.78l0.51,-0.1l2.04,-2.59l2.71,-1.43l2.05,-0.0l3.9,1.73l2.46,0.45l0.08,15.12l-1.75,-1.54l-2.54,-0.51l-0.88,0.71l-2.32,0.06l0.69,-1.33l1.45,-0.64l0.23,-0.46l-0.65,-2.74l-1.24,-2.21l-5.04,-2.29l-2.09,-0.23l-3.68,-2.27l-0.55,0.13l-0.65,1.07l-0.52,0.12l-0.55,-1.89l-1.21,-0.78l1.84,-0.62l1.72,0.05l0.39,-0.52l-0.21,-0.66l-0.38,-0.28l-3.45,-0.0l-1.13,-1.48l-2.1,-0.43l-0.52,-0.6l2.69,-0.48l1.28,-0.78l3.66,0.94l0.3,0.71ZM757.91,300.34l-0.62,0.82l-0.1,-0.8l0.59,-1.12l0.13,1.1ZM747.38,292.98l0.34,0.72l-1.22,-0.57l-4.68,-0.1l0.27,-0.62l2.78,-0.09l2.52,0.67ZM741.05,285.25l-0.67,-2.88l0.64,-2.01l0.41,0.86l1.21,0.18l0.16,0.7l-0.1,1.68l-0.84,-0.16l-0.46,0.3l-0.34,1.34ZM739.05,293.5l-0.5,0.44l-1.34,-0.36l-0.17,-0.37l1.73,-0.08l0.27,0.36ZM721.45,284.51l-0.19,1.97l2.24,2.23l0.54,0.02l1.27,-1.07l2.75,-0.5l-0.9,1.21l-2.11,0.93l-0.16,0.6l2.22,3.01l-0.3,1.07l1.36,1.74l-2.26,0.85l-0.28,-0.31l0.12,-1.19l-1.64,-1.34l0.17,-2.23l-0.56,-0.39l-1.67,0.76l-0.23,0.39l0.3,6.17l-1.1,0.25l-0.69,-0.47l0.64,-2.21l-0.39,-2.42l-0.39,-0.34l-0.8,-0.01l-0.58,-1.29l0.98,-1.6l0.35,-1.96l1.32,-3.87ZM728.59,296.27l0.38,0.49l-0.02,1.28l-0.88,0.49l-0.53,-0.47l1.04,-1.79ZM729.04,286.98l0.27,-0.05l-0.02,0.13l-0.24,-0.08ZM721.68,284.05l0.16,-0.32l1.89,-1.65l1.83,0.68l3.16,0.35l2.94,-0.1l2.39,-1.66l-1.73,2.13l-1.66,0.43l-2.41,-0.48l-4.17,0.13l-2.39,0.51ZM730.55,310.47l1.11,-1.93l2.03,-0.82l0.08,0.62l-1.45,1.67l-1.77,0.46ZM728.12,305.88l-0.1,0.38l-3.46,0.66l-2.91,-0.27l-0.0,-0.25l1.54,-0.41l1.66,0.73l1.67,-0.19l1.61,-0.65ZM722.9,310.24l-0.64,0.03l-2.26,-1.2l1.11,-0.24l1.78,1.41ZM716.26,305.77l0.88,0.51l1.28,-0.17l0.2,0.35l-4.65,0.73l0.39,-0.67l1.15,-0.02l0.75,-0.73ZM711.66,293.84l-0.38,-0.16l-2.54,1.01l-1.12,-1.44l-1.69,-0.13l-1.16,-0.75l-3.04,0.77l-1.1,-1.15l-3.31,-0.11l-0.35,-3.05l-1.35,-0.95l-1.11,-1.98l-0.33,-2.06l0.27,-2.14l0.9,-1.01l0.37,1.15l2.09,1.49l1.53,-0.48l1.82,0.08l1.38,-1.19l1.0,-0.18l2.28,0.67l2.26,-0.53l1.52,-3.64l1.01,-0.99l0.78,-2.57l4.1,0.3l-1.11,1.77l0.02,0.46l1.7,2.2l-0.23,1.39l2.07,1.71l-2.33,0.42l-0.88,1.9l0.1,2.05l-2.4,1.9l-0.06,2.45l-0.7,2.79ZM692.58,302.03l0.35,0.26l4.8,0.25l0.78,-0.97l4.17,1.09l1.13,1.68l3.69,0.45l2.13,1.04l-1.8,0.6l-2.77,-0.99l-4.8,-0.12l-5.24,-1.41l-1.84,-0.25l-1.11,0.3l-4.26,-0.97l-0.7,-1.14l-1.59,-0.13l1.18,-1.65l2.74,0.13l2.87,1.13l0.26,0.68ZM685.53,299.17l-2.22,0.04l-2.06,-2.03l-3.15,-2.01l-2.93,-3.51l-3.11,-5.33l-2.2,-2.12l-1.64,-4.06l-2.32,-1.69l-1.27,-2.07l-1.96,-1.5l-2.51,-2.65l-0.11,-0.66l4.81,0.53l2.15,2.38l3.31,2.74l2.35,2.66l2.7,0.17l1.95,1.59l1.54,2.17l1.59,0.95l-0.84,1.71l0.15,0.52l1.44,0.87l0.79,0.1l0.4,1.58l0.87,1.4l1.96,0.39l1.0,1.31l-0.6,3.01l-0.09,3.5Z",name:"Indonesia"},UA:{path:"M492.5,162.44l1.28,-2.49l1.82,0.19l0.66,-0.23l0.09,-0.71l-0.25,-0.75l-0.79,-0.72l-0.33,-1.21l-0.86,-0.62l-0.02,-1.19l-1.13,-0.86l-1.15,-0.19l-2.04,-1.0l-1.66,0.32l-0.66,0.47l-0.92,-0.0l-0.84,0.78l-2.48,0.7l-1.18,-0.71l-3.07,-0.36l-0.89,0.43l-0.24,-0.55l-1.11,-0.7l0.35,-0.93l1.26,-1.02l-0.54,-1.23l2.04,-2.43l1.4,-0.62l0.25,-1.19l-1.04,-2.39l0.83,-0.13l1.28,-0.84l1.8,-0.07l2.47,0.26l2.86,0.81l1.88,0.06l0.86,0.44l1.04,-0.41l0.77,0.66l2.18,-0.15l0.92,0.3l0.52,-0.34l0.15,-1.53l0.56,-0.54l2.85,-0.05l0.84,-0.72l3.04,-0.18l1.23,1.46l-0.48,0.77l0.21,1.03l0.36,0.32l1.8,0.14l0.93,2.08l3.18,1.15l1.94,-0.45l1.67,1.49l1.4,-0.03l3.35,0.96l0.02,0.54l-0.96,1.59l0.47,1.97l-0.26,0.7l-2.36,0.28l-1.29,0.89l-0.23,1.38l-1.83,0.27l-1.58,0.97l-2.41,0.21l-2.16,1.17l-0.21,0.38l0.34,2.26l1.23,0.75l2.13,-0.08l-0.14,0.31l-2.65,0.53l-3.23,1.69l-0.87,-0.39l0.42,-1.1l-0.25,-0.52l-2.21,-0.73l2.35,-1.06l0.12,-0.65l-0.93,-0.82l-3.62,-0.74l-0.13,-0.89l-0.46,-0.34l-2.61,0.59l-0.91,1.69l-1.71,2.04l-0.86,-0.4l-1.62,0.27Z",name:"Ukraine"},QA:{path:"M549.33,221.64l-0.76,-0.23l-0.14,-1.64l0.84,-1.29l0.47,0.52l0.04,1.34l-0.45,1.3Z",name:"Qatar"},MZ:{path:"M508.58,318.75l-0.34,-2.57l0.51,-2.05l3.55,0.63l2.5,-0.38l1.02,-0.76l1.49,0.01l2.74,-0.98l1.66,-1.2l0.5,9.24l0.41,1.23l-0.68,1.67l-0.93,1.71l-1.5,1.5l-5.16,2.28l-2.78,2.73l-1.02,0.53l-1.71,1.8l-0.98,0.57l-0.35,2.41l1.16,1.94l0.49,2.17l0.43,0.31l-0.06,2.06l-0.39,1.17l0.5,0.72l-0.25,0.73l-0.92,0.83l-5.12,2.39l-1.22,1.36l0.21,1.13l0.58,0.39l-0.11,0.72l-1.22,-0.01l-0.73,-2.97l0.42,-3.09l-1.78,-5.37l2.49,-2.81l0.69,-1.89l0.44,-0.43l0.28,-1.53l-0.39,-0.93l0.59,-3.65l-0.01,-3.26l-1.49,-1.16l-1.2,-0.22l-1.74,-1.17l-1.92,0.01l-0.29,-2.08l7.06,-1.96l1.28,1.09l0.89,-0.1l0.67,0.44l0.1,0.73l-0.51,1.29l0.19,1.81l1.75,1.83l0.65,-0.13l0.71,-1.65l1.17,-0.86l-0.26,-3.47l-1.05,-1.85l-1.04,-0.94Z",name:"Mozambique"}},height:440.70631074413296,width:900,projection:{type:"mill",centralMeridian:11.5}});
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
/***/ },
|
|
2647
|
+
|
|
2648
|
+
/***/ "../node_modules/preact/compat/dist/compat.module.js"
|
|
2649
|
+
/*!***********************************************************!*\
|
|
2650
|
+
!*** ../node_modules/preact/compat/dist/compat.module.js ***!
|
|
2651
|
+
\***********************************************************/
|
|
2652
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2653
|
+
|
|
2654
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2655
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2656
|
+
/* harmony export */ Children: () => (/* binding */ O),
|
|
2657
|
+
/* harmony export */ Component: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Component),
|
|
2658
|
+
/* harmony export */ Fragment: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Fragment),
|
|
2659
|
+
/* harmony export */ PureComponent: () => (/* binding */ w),
|
|
2660
|
+
/* harmony export */ StrictMode: () => (/* binding */ vn),
|
|
2661
|
+
/* harmony export */ Suspense: () => (/* binding */ D),
|
|
2662
|
+
/* harmony export */ SuspenseList: () => (/* binding */ V),
|
|
2663
|
+
/* harmony export */ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => (/* binding */ rn),
|
|
2664
|
+
/* harmony export */ cloneElement: () => (/* binding */ cn),
|
|
2665
|
+
/* harmony export */ createContext: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createContext),
|
|
2666
|
+
/* harmony export */ createElement: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createElement),
|
|
2667
|
+
/* harmony export */ createFactory: () => (/* binding */ on),
|
|
2668
|
+
/* harmony export */ createPortal: () => (/* binding */ j),
|
|
2669
|
+
/* harmony export */ createRef: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createRef),
|
|
2670
|
+
/* harmony export */ "default": () => (/* binding */ bn),
|
|
2671
|
+
/* harmony export */ findDOMNode: () => (/* binding */ an),
|
|
2672
|
+
/* harmony export */ flushSync: () => (/* binding */ hn),
|
|
2673
|
+
/* harmony export */ forwardRef: () => (/* binding */ k),
|
|
2674
|
+
/* harmony export */ hydrate: () => (/* binding */ q),
|
|
2675
|
+
/* harmony export */ isValidElement: () => (/* binding */ ln),
|
|
2676
|
+
/* harmony export */ lazy: () => (/* binding */ M),
|
|
2677
|
+
/* harmony export */ memo: () => (/* binding */ R),
|
|
2678
|
+
/* harmony export */ render: () => (/* binding */ Y),
|
|
2679
|
+
/* harmony export */ startTransition: () => (/* binding */ dn),
|
|
2680
|
+
/* harmony export */ unmountComponentAtNode: () => (/* binding */ fn),
|
|
2681
|
+
/* harmony export */ unstable_batchedUpdates: () => (/* binding */ sn),
|
|
2682
|
+
/* harmony export */ useCallback: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback),
|
|
2683
|
+
/* harmony export */ useContext: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext),
|
|
2684
|
+
/* harmony export */ useDebugValue: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue),
|
|
2685
|
+
/* harmony export */ useDeferredValue: () => (/* binding */ pn),
|
|
2686
|
+
/* harmony export */ useEffect: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect),
|
|
2687
|
+
/* harmony export */ useErrorBoundary: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useErrorBoundary),
|
|
2688
|
+
/* harmony export */ useId: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId),
|
|
2689
|
+
/* harmony export */ useImperativeHandle: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle),
|
|
2690
|
+
/* harmony export */ useInsertionEffect: () => (/* binding */ yn),
|
|
2691
|
+
/* harmony export */ useLayoutEffect: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect),
|
|
2692
|
+
/* harmony export */ useMemo: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo),
|
|
2693
|
+
/* harmony export */ useReducer: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer),
|
|
2694
|
+
/* harmony export */ useRef: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef),
|
|
2695
|
+
/* harmony export */ useState: () => (/* reexport safe */ preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState),
|
|
2696
|
+
/* harmony export */ useSyncExternalStore: () => (/* binding */ _n),
|
|
2697
|
+
/* harmony export */ useTransition: () => (/* binding */ mn),
|
|
2698
|
+
/* harmony export */ version: () => (/* binding */ un)
|
|
2699
|
+
/* harmony export */ });
|
|
2700
|
+
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! preact */ "../node_modules/preact/dist/preact.module.js");
|
|
2701
|
+
/* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! preact/hooks */ "../node_modules/preact/hooks/dist/hooks.module.js");
|
|
2702
|
+
function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function E(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t}function w(n){this.props=n}function R(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:C(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(w.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var x=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),x&&x(n)};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=N,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var A=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:A,forEach:A,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r)};var I=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function M(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function V(){this.u=null,this.o=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n)},(D.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},D.prototype.componentWillUnmount=function(){this.t=[]},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__h=null),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function P(n){return this.getChildContext=function(){return n.context},n.children}function $(n){var e=this,r=n.i;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount()}function j(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)($,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u()};e?e(o):o()}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t)})};var z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,B=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,H="undefined"!=typeof document,Z=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(n)};function Y(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function q(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var G=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function J(){}function K(){return this.cancelBubble}function Q(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return G&&(n=G(n)),n.persist=J,n.isPropagationStopped=K,n.isDefaultPrevented=Q,n.nativeEvent=n};var X,nn={configurable:!0,get:function(){return this.class}},tn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){var t=n.type,e=n.props,u=e;if("string"==typeof t){var o=-1===t.indexOf("-");for(var i in u={},e){var l=e[i];H&&"children"===i&&"noscript"===t||"value"===i&&"defaultValue"in e&&null==l||("defaultValue"===i&&"value"in e&&null==e.value?i="value":"download"===i&&!0===l?l="":/ondoubleclick/i.test(i)?i="ondblclick":/^onchange(textarea|input)/i.test(i+t)&&!Z(e.type)?i="oninput":/^onfocus$/i.test(i)?i="onfocusin":/^onblur$/i.test(i)?i="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(i)?i=i.toLowerCase():o&&B.test(i)?i=i.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===l&&(l=void 0),/^oninput$/i.test(i)&&(i=i.toLowerCase(),u[i]&&(i="oninputCapture")),u[i]=l)}"select"==t&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(e.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==t&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(e.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),n.props=u,e.class!=e.className&&(nn.enumerable="className"in e,null!=e.className&&(u.class=e.className),Object.defineProperty(u,"className",nn))}n.$$typeof=z,tn&&tn(n)};var en=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){en&&en(n),X=n.__c};var rn={ReactCurrentDispatcher:{current:{readContext:function(n){return X.__n[n.__c].props.value}}}},un="17.0.2";function on(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function ln(n){return!!n&&n.$$typeof===z}function cn(n){return ln(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function fn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function an(n){return n&&(n.base||1===n.nodeType&&n)||null}var sn=function(n,t){return n(t)},hn=function(n,t){return n(t)},vn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment;function dn(n){n()}function pn(n){return n}function mn(){return[!1,dn]}var yn=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;function _n(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({h:{__:e,v:t}}),u=r[0].h,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.v=t,E(u.__,t())||o({h:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return E(u.__,u.v())||o({h:u}),n(function(){E(u.__,u.v())||o({h:u})})},[n]),e}var bn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:yn,useTransition:mn,useDeferredValue:pn,useSyncExternalStore:_n,startTransition:dn,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"17.0.2",Children:O,render:Y,hydrate:q,unmountComponentAtNode:fn,createPortal:j,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:on,cloneElement:cn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:ln,findDOMNode:an,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:w,memo:R,forwardRef:k,flushSync:hn,unstable_batchedUpdates:sn,StrictMode:vn,Suspense:D,SuspenseList:V,lazy:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:rn};
|
|
2703
|
+
//# sourceMappingURL=compat.module.js.map
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
/***/ },
|
|
2707
|
+
|
|
2708
|
+
/***/ "../node_modules/preact/dist/preact.module.js"
|
|
2709
|
+
/*!****************************************************!*\
|
|
2710
|
+
!*** ../node_modules/preact/dist/preact.module.js ***!
|
|
2711
|
+
\****************************************************/
|
|
2712
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2713
|
+
|
|
2714
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2715
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2716
|
+
/* harmony export */ Component: () => (/* binding */ x),
|
|
2717
|
+
/* harmony export */ Fragment: () => (/* binding */ _),
|
|
2718
|
+
/* harmony export */ cloneElement: () => (/* binding */ F),
|
|
2719
|
+
/* harmony export */ createContext: () => (/* binding */ G),
|
|
2720
|
+
/* harmony export */ createElement: () => (/* binding */ y),
|
|
2721
|
+
/* harmony export */ createRef: () => (/* binding */ d),
|
|
2722
|
+
/* harmony export */ h: () => (/* binding */ y),
|
|
2723
|
+
/* harmony export */ hydrate: () => (/* binding */ E),
|
|
2724
|
+
/* harmony export */ isValidElement: () => (/* binding */ i),
|
|
2725
|
+
/* harmony export */ options: () => (/* binding */ l),
|
|
2726
|
+
/* harmony export */ render: () => (/* binding */ D),
|
|
2727
|
+
/* harmony export */ toChildArray: () => (/* binding */ j)
|
|
2728
|
+
/* harmony export */ });
|
|
2729
|
+
var n,l,u,i,t,r,o,f,e,c={},s=[],a=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v(n){var l=n.parentNode;l&&l.removeChild(n)}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u:o};return null==o&&null!=l.vnode&&l.vnode(f),f}function d(){return{current:null}}function _(n){return n.children}function k(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g(n,r,l[r],u[r],i)}function b(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a.test(l)?u:u+"px"}function g(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else{if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b(n.style,l,u[l])}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w:m,r):n.removeEventListener(l,r?w:m,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u))}}function m(n){t=!0;try{return this.l[n.type+!1](l.event?l.event(n):n)}finally{t=!1}}function w(n){t=!0;try{return this.l[n.type+!0](l.event?l.event(n):n)}finally{t=!1}}function x(n,l){this.props=n,this.context=l}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return"function"==typeof n.type?A(n):null}function P(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P(n)}}function C(n){t?setTimeout(n):f(n)}function T(n){(!n.__d&&(n.__d=!0)&&r.push(n)&&!$.__r++||o!==l.debounceRendering)&&((o=l.debounceRendering)||C)($)}function $(){var n,l,u,i,t,o,f,e;for(r.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r.shift();)n.__d&&(l=r.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P(o)),r.length>l&&r.sort(function(n,l){return n.__v.__b-l.__v.__b}));$.__r=0}function H(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null}M(n,d,y=y||c,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I(d,e,n):e=z(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y))}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h])}function I(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I(i,l,u):z(u,i,i,t,i.__e,l));return l}function j(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j(n,l)}):l.push(n)),l}function z(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else{for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r}return void 0!==o?o:t.nextSibling}function L(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x(b,m),a.constructor=$,a.render=B),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u)}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d)})}if(a.context=m,a.props=b,a.__P=n,A=l.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[]}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l.diffed)&&s(u)}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l.__e(n,u,i)}}function N(n,u){l.__c&&l.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u)})}catch(n){l.__e(n,u.__v)}})}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1}if(null===d)y===p||e&&l.data===p||(l.data=p);else{if(o=o&&n.call(l.childNodes),a=(y=i.props||c).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""))}if(k(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g(l,"checked",_,y.checked,!1))}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u}catch(n){l.__e(n,i)}}function q(n,u,i){var t,r;if(l.unmount&&l.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(n){l.__e(n,u)}t.base=t.__P=null,n.__c=void 0}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v(n.__e),n.__=n.__e=n.__d=void 0}function B(n,l,u){return this.constructor(n,u)}function D(u,i,t){var r,o,f;l.__&&l.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c,c,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u)}function E(n,l){D(n,l,E)}function F(l,u,i){var t,r,o,f=h({},l.props);for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];return arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),p(l.type,f,t||l.key,r||l.ref,null)}function G(n,l){var u={__c:l="__cC"+e++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T(n)})},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n)}}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l}throw n}},u=0,i=function(n){return null!=n&&void 0===n.constructor},t=!1,x.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T(this))},x.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T(this))},x.prototype.render=_,r=[],f="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$.__r=0,e=0;
|
|
2730
|
+
//# sourceMappingURL=preact.module.js.map
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
/***/ },
|
|
2734
|
+
|
|
2735
|
+
/***/ "../node_modules/preact/hooks/dist/hooks.module.js"
|
|
2736
|
+
/*!*********************************************************!*\
|
|
2737
|
+
!*** ../node_modules/preact/hooks/dist/hooks.module.js ***!
|
|
2738
|
+
\*********************************************************/
|
|
2739
|
+
(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
2740
|
+
|
|
2741
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2742
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2743
|
+
/* harmony export */ useCallback: () => (/* binding */ T),
|
|
2744
|
+
/* harmony export */ useContext: () => (/* binding */ q),
|
|
2745
|
+
/* harmony export */ useDebugValue: () => (/* binding */ x),
|
|
2746
|
+
/* harmony export */ useEffect: () => (/* binding */ h),
|
|
2747
|
+
/* harmony export */ useErrorBoundary: () => (/* binding */ P),
|
|
2748
|
+
/* harmony export */ useId: () => (/* binding */ V),
|
|
2749
|
+
/* harmony export */ useImperativeHandle: () => (/* binding */ A),
|
|
2750
|
+
/* harmony export */ useLayoutEffect: () => (/* binding */ s),
|
|
2751
|
+
/* harmony export */ useMemo: () => (/* binding */ F),
|
|
2752
|
+
/* harmony export */ useReducer: () => (/* binding */ y),
|
|
2753
|
+
/* harmony export */ useRef: () => (/* binding */ _),
|
|
2754
|
+
/* harmony export */ useState: () => (/* binding */ p)
|
|
2755
|
+
/* harmony export */ });
|
|
2756
|
+
/* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! preact */ "../node_modules/preact/dist/preact.module.js");
|
|
2757
|
+
var t,r,u,i,o=0,f=[],c=[],e=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b,a=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r,v=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed,l=preact__WEBPACK_IMPORTED_MODULE_0__.options.__c,m=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function d(t,u){preact__WEBPACK_IMPORTED_MODULE_0__.options.__h&&preact__WEBPACK_IMPORTED_MODULE_0__.options.__h(r,t,o||u),o=0;var i=r.__H||(r.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({__V:c}),i.__[t]}function p(n){return o=1,y(B,n)}function y(n,u,i){var o=d(t++,2);if(o.t=n,!o.__c&&(o.__=[i?i(u):B(void 0,u),function(n){var t=o.__N?o.__N[0]:o.__[0],r=o.t(t,n);t!==r&&(o.__N=[r,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.u)){r.u=!0;var f=r.shouldComponentUpdate;r.shouldComponentUpdate=function(n,t,r){if(!o.__c.__H)return!0;var u=o.__c.__H.__.filter(function(n){return n.__c});if(u.every(function(n){return!n.__N}))return!f||f.call(this,n,t,r);var i=!1;return u.forEach(function(n){if(n.__N){var t=n.__[0];n.__=n.__N,n.__N=void 0,t!==n.__[0]&&(i=!0)}}),!(!i&&o.__c.props===n)&&(!f||f.call(this,n,t,r))}}return o.__N||o.__}function h(u,i){var o=d(t++,3);!preact__WEBPACK_IMPORTED_MODULE_0__.options.__s&&z(o.__H,i)&&(o.__=u,o.i=i,r.__H.__h.push(o))}function s(u,i){var o=d(t++,4);!preact__WEBPACK_IMPORTED_MODULE_0__.options.__s&&z(o.__H,i)&&(o.__=u,o.i=i,r.__h.push(o))}function _(n){return o=5,F(function(){return{current:n}},[])}function A(n,t,r){o=6,s(function(){return"function"==typeof n?(n(t()),function(){return n(null)}):n?(n.current=t(),function(){return n.current=null}):void 0},null==r?r:r.concat(n))}function F(n,r){var u=d(t++,7);return z(u.__H,r)?(u.__V=n(),u.i=r,u.__h=n,u.__V):u.__}function T(n,t){return o=8,F(function(){return n},t)}function q(n){var u=r.context[n.__c],i=d(t++,9);return i.c=n,u?(null==i.__&&(i.__=!0,u.sub(r)),u.props.value):n.__}function x(t,r){preact__WEBPACK_IMPORTED_MODULE_0__.options.useDebugValue&&preact__WEBPACK_IMPORTED_MODULE_0__.options.useDebugValue(r?r(t):t)}function P(n){var u=d(t++,10),i=p();return u.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,t){u.__&&u.__(n,t),i[1](n)}),[i[0],function(){i[1](void 0)}]}function V(){var n=d(t++,11);if(!n.__){for(var u=r.__v;null!==u&&!u.__m&&null!==u.__;)u=u.__;var i=u.__m||(u.__m=[0,0]);n.__="P"+i[0]+"-"+i[1]++}return n.__}function b(){for(var t;t=f.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(k),t.__H.__h.forEach(w),t.__H.__h=[]}catch(r){t.__H.__h=[],preact__WEBPACK_IMPORTED_MODULE_0__.options.__e(r,t.__v)}}preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){r=null,e&&e(n)},preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){a&&a(n),t=0;var i=(r=n.__c).__H;i&&(u===r?(i.__h=[],r.__h=[],i.__.forEach(function(n){n.__N&&(n.__=n.__N),n.__V=c,n.__N=n.i=void 0})):(i.__h.forEach(k),i.__h.forEach(w),i.__h=[])),u=r},preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(t){v&&v(t);var o=t.__c;o&&o.__H&&(o.__H.__h.length&&(1!==f.push(o)&&i===preact__WEBPACK_IMPORTED_MODULE_0__.options.requestAnimationFrame||((i=preact__WEBPACK_IMPORTED_MODULE_0__.options.requestAnimationFrame)||j)(b)),o.__H.__.forEach(function(n){n.i&&(n.__H=n.i),n.__V!==c&&(n.__=n.__V),n.i=void 0,n.__V=c})),u=r=null},preact__WEBPACK_IMPORTED_MODULE_0__.options.__c=function(t,r){r.some(function(t){try{t.__h.forEach(k),t.__h=t.__h.filter(function(n){return!n.__||w(n)})}catch(u){r.some(function(n){n.__h&&(n.__h=[])}),r=[],preact__WEBPACK_IMPORTED_MODULE_0__.options.__e(u,t.__v)}}),l&&l(t,r)},preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(t){m&&m(t);var r,u=t.__c;u&&u.__H&&(u.__H.__.forEach(function(n){try{k(n)}catch(n){r=n}}),u.__H=void 0,r&&preact__WEBPACK_IMPORTED_MODULE_0__.options.__e(r,u.__v))};var g="function"==typeof requestAnimationFrame;function j(n){var t,r=function(){clearTimeout(u),g&&cancelAnimationFrame(t),setTimeout(n)},u=setTimeout(r,100);g&&(t=requestAnimationFrame(r))}function k(n){var t=r,u=n.__c;"function"==typeof u&&(n.__c=void 0,u()),r=t}function w(n){var t=r;n.__c=n.__(),r=t}function z(n,t){return!n||n.length!==t.length||t.some(function(t,r){return t!==n[r]})}function B(n,t){return"function"==typeof t?t(n):t}
|
|
2758
|
+
//# sourceMappingURL=hooks.module.js.map
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
/***/ },
|
|
2762
|
+
|
|
2763
|
+
/***/ "../node_modules/jsvectormap/dist/jsvectormap.css"
|
|
2764
|
+
/*!********************************************************!*\
|
|
2765
|
+
!*** ../node_modules/jsvectormap/dist/jsvectormap.css ***!
|
|
2766
|
+
\********************************************************/
|
|
2767
|
+
(module, __webpack_exports__, __webpack_require__) {
|
|
2768
|
+
|
|
2769
|
+
__webpack_require__.r(__webpack_exports__);
|
|
2770
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
2771
|
+
/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
|
|
2772
|
+
/* harmony export */ });
|
|
2773
|
+
/* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! !../../style-loader/dist/runtime/injectStylesIntoStyleTag.js */ "../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js");
|
|
2774
|
+
/* harmony import */ var _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
2775
|
+
/* harmony import */ var _style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! !../../style-loader/dist/runtime/styleDomAPI.js */ "../node_modules/style-loader/dist/runtime/styleDomAPI.js");
|
|
2776
|
+
/* harmony import */ var _style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
2777
|
+
/* harmony import */ var _style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! !../../style-loader/dist/runtime/insertBySelector.js */ "../node_modules/style-loader/dist/runtime/insertBySelector.js");
|
|
2778
|
+
/* harmony import */ var _style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2__);
|
|
2779
|
+
/* harmony import */ var _style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! !../../style-loader/dist/runtime/setAttributesWithoutAttributes.js */ "../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js");
|
|
2780
|
+
/* harmony import */ var _style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3__);
|
|
2781
|
+
/* harmony import */ var _style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! !../../style-loader/dist/runtime/insertStyleElement.js */ "../node_modules/style-loader/dist/runtime/insertStyleElement.js");
|
|
2782
|
+
/* harmony import */ var _style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4__);
|
|
2783
|
+
/* harmony import */ var _style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! !../../style-loader/dist/runtime/styleTagTransform.js */ "../node_modules/style-loader/dist/runtime/styleTagTransform.js");
|
|
2784
|
+
/* harmony import */ var _style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5__);
|
|
2785
|
+
/* harmony import */ var _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./jsvectormap.css */ "../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../node_modules/jsvectormap/dist/jsvectormap.css");
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
|
|
2797
|
+
var options = {};
|
|
2798
|
+
|
|
2799
|
+
options.styleTagTransform = (_style_loader_dist_runtime_styleTagTransform_js__WEBPACK_IMPORTED_MODULE_5___default());
|
|
2800
|
+
options.setAttributes = (_style_loader_dist_runtime_setAttributesWithoutAttributes_js__WEBPACK_IMPORTED_MODULE_3___default());
|
|
2801
|
+
options.insert = _style_loader_dist_runtime_insertBySelector_js__WEBPACK_IMPORTED_MODULE_2___default().bind(null, "head");
|
|
2802
|
+
options.domAPI = (_style_loader_dist_runtime_styleDomAPI_js__WEBPACK_IMPORTED_MODULE_1___default());
|
|
2803
|
+
options.insertStyleElement = (_style_loader_dist_runtime_insertStyleElement_js__WEBPACK_IMPORTED_MODULE_4___default());
|
|
2804
|
+
|
|
2805
|
+
var update = _style_loader_dist_runtime_injectStylesIntoStyleTag_js__WEBPACK_IMPORTED_MODULE_0___default()(_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"], options);
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
if (true) {
|
|
2809
|
+
if (!_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals || module.hot.invalidate) {
|
|
2810
|
+
var isEqualLocals = function isEqualLocals(a, b, isNamedExport) {
|
|
2811
|
+
if (!a && b || a && !b) {
|
|
2812
|
+
return false;
|
|
2813
|
+
}
|
|
2814
|
+
var p;
|
|
2815
|
+
for (p in a) {
|
|
2816
|
+
if (isNamedExport && p === "default") {
|
|
2817
|
+
// eslint-disable-next-line no-continue
|
|
2818
|
+
continue;
|
|
2819
|
+
}
|
|
2820
|
+
if (a[p] !== b[p]) {
|
|
2821
|
+
return false;
|
|
2822
|
+
}
|
|
2823
|
+
}
|
|
2824
|
+
for (p in b) {
|
|
2825
|
+
if (isNamedExport && p === "default") {
|
|
2826
|
+
// eslint-disable-next-line no-continue
|
|
2827
|
+
continue;
|
|
2828
|
+
}
|
|
2829
|
+
if (!a[p]) {
|
|
2830
|
+
return false;
|
|
2831
|
+
}
|
|
2832
|
+
}
|
|
2833
|
+
return true;
|
|
2834
|
+
};
|
|
2835
|
+
var isNamedExport = !_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals;
|
|
2836
|
+
var oldLocals = isNamedExport ? _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__ : _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals;
|
|
2837
|
+
|
|
2838
|
+
module.hot.accept(
|
|
2839
|
+
/*! !!../../css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./jsvectormap.css */ "../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../node_modules/jsvectormap/dist/jsvectormap.css",
|
|
2840
|
+
__WEBPACK_OUTDATED_DEPENDENCIES__ => { /* harmony import */ _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! !!../../css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./jsvectormap.css */ "../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../node_modules/jsvectormap/dist/jsvectormap.css");
|
|
2841
|
+
return (function () {
|
|
2842
|
+
if (!isEqualLocals(oldLocals, isNamedExport ? _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__ : _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals, isNamedExport)) {
|
|
2843
|
+
module.hot.invalidate();
|
|
2844
|
+
|
|
2845
|
+
return;
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
oldLocals = isNamedExport ? _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__ : _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals;
|
|
2849
|
+
|
|
2850
|
+
update(_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"]);
|
|
2851
|
+
})(__WEBPACK_OUTDATED_DEPENDENCIES__); }
|
|
2852
|
+
)
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2855
|
+
module.hot.dispose(function() {
|
|
2856
|
+
update();
|
|
2857
|
+
});
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"] && _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals ? _css_loader_dist_cjs_js_ruleSet_1_rules_2_use_1_jsvectormap_css__WEBPACK_IMPORTED_MODULE_6__["default"].locals : undefined);
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
/***/ },
|
|
2866
|
+
|
|
2867
|
+
/***/ "../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js"
|
|
2868
|
+
/*!*****************************************************************************!*\
|
|
2869
|
+
!*** ../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js ***!
|
|
2870
|
+
\*****************************************************************************/
|
|
2871
|
+
(module) {
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
var stylesInDOM = [];
|
|
2876
|
+
function getIndexByIdentifier(identifier) {
|
|
2877
|
+
var result = -1;
|
|
2878
|
+
for (var i = 0; i < stylesInDOM.length; i++) {
|
|
2879
|
+
if (stylesInDOM[i].identifier === identifier) {
|
|
2880
|
+
result = i;
|
|
2881
|
+
break;
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2884
|
+
return result;
|
|
2885
|
+
}
|
|
2886
|
+
function modulesToDom(list, options) {
|
|
2887
|
+
var idCountMap = {};
|
|
2888
|
+
var identifiers = [];
|
|
2889
|
+
for (var i = 0; i < list.length; i++) {
|
|
2890
|
+
var item = list[i];
|
|
2891
|
+
var id = options.base ? item[0] + options.base : item[0];
|
|
2892
|
+
var count = idCountMap[id] || 0;
|
|
2893
|
+
var identifier = "".concat(id, " ").concat(count);
|
|
2894
|
+
idCountMap[id] = count + 1;
|
|
2895
|
+
var indexByIdentifier = getIndexByIdentifier(identifier);
|
|
2896
|
+
var obj = {
|
|
2897
|
+
css: item[1],
|
|
2898
|
+
media: item[2],
|
|
2899
|
+
sourceMap: item[3],
|
|
2900
|
+
supports: item[4],
|
|
2901
|
+
layer: item[5]
|
|
2902
|
+
};
|
|
2903
|
+
if (indexByIdentifier !== -1) {
|
|
2904
|
+
stylesInDOM[indexByIdentifier].references++;
|
|
2905
|
+
stylesInDOM[indexByIdentifier].updater(obj);
|
|
2906
|
+
} else {
|
|
2907
|
+
var updater = addElementStyle(obj, options);
|
|
2908
|
+
options.byIndex = i;
|
|
2909
|
+
stylesInDOM.splice(i, 0, {
|
|
2910
|
+
identifier: identifier,
|
|
2911
|
+
updater: updater,
|
|
2912
|
+
references: 1
|
|
2913
|
+
});
|
|
2914
|
+
}
|
|
2915
|
+
identifiers.push(identifier);
|
|
2916
|
+
}
|
|
2917
|
+
return identifiers;
|
|
2918
|
+
}
|
|
2919
|
+
function addElementStyle(obj, options) {
|
|
2920
|
+
var api = options.domAPI(options);
|
|
2921
|
+
api.update(obj);
|
|
2922
|
+
var updater = function updater(newObj) {
|
|
2923
|
+
if (newObj) {
|
|
2924
|
+
if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {
|
|
2925
|
+
return;
|
|
2926
|
+
}
|
|
2927
|
+
api.update(obj = newObj);
|
|
2928
|
+
} else {
|
|
2929
|
+
api.remove();
|
|
2930
|
+
}
|
|
2931
|
+
};
|
|
2932
|
+
return updater;
|
|
2933
|
+
}
|
|
2934
|
+
module.exports = function (list, options) {
|
|
2935
|
+
options = options || {};
|
|
2936
|
+
list = list || [];
|
|
2937
|
+
var lastIdentifiers = modulesToDom(list, options);
|
|
2938
|
+
return function update(newList) {
|
|
2939
|
+
newList = newList || [];
|
|
2940
|
+
for (var i = 0; i < lastIdentifiers.length; i++) {
|
|
2941
|
+
var identifier = lastIdentifiers[i];
|
|
2942
|
+
var index = getIndexByIdentifier(identifier);
|
|
2943
|
+
stylesInDOM[index].references--;
|
|
2944
|
+
}
|
|
2945
|
+
var newLastIdentifiers = modulesToDom(newList, options);
|
|
2946
|
+
for (var _i = 0; _i < lastIdentifiers.length; _i++) {
|
|
2947
|
+
var _identifier = lastIdentifiers[_i];
|
|
2948
|
+
var _index = getIndexByIdentifier(_identifier);
|
|
2949
|
+
if (stylesInDOM[_index].references === 0) {
|
|
2950
|
+
stylesInDOM[_index].updater();
|
|
2951
|
+
stylesInDOM.splice(_index, 1);
|
|
2952
|
+
}
|
|
2953
|
+
}
|
|
2954
|
+
lastIdentifiers = newLastIdentifiers;
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
|
|
2958
|
+
/***/ },
|
|
2959
|
+
|
|
2960
|
+
/***/ "../node_modules/style-loader/dist/runtime/insertBySelector.js"
|
|
2961
|
+
/*!*********************************************************************!*\
|
|
2962
|
+
!*** ../node_modules/style-loader/dist/runtime/insertBySelector.js ***!
|
|
2963
|
+
\*********************************************************************/
|
|
2964
|
+
(module) {
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
|
|
2968
|
+
var memo = {};
|
|
2969
|
+
|
|
2970
|
+
/* istanbul ignore next */
|
|
2971
|
+
function getTarget(target) {
|
|
2972
|
+
if (typeof memo[target] === "undefined") {
|
|
2973
|
+
var styleTarget = document.querySelector(target);
|
|
2974
|
+
|
|
2975
|
+
// Special case to return head of iframe instead of iframe itself
|
|
2976
|
+
if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
|
|
2977
|
+
try {
|
|
2978
|
+
// This will throw an exception if access to iframe is blocked
|
|
2979
|
+
// due to cross-origin restrictions
|
|
2980
|
+
styleTarget = styleTarget.contentDocument.head;
|
|
2981
|
+
} catch (e) {
|
|
2982
|
+
// istanbul ignore next
|
|
2983
|
+
styleTarget = null;
|
|
2984
|
+
}
|
|
2985
|
+
}
|
|
2986
|
+
memo[target] = styleTarget;
|
|
2987
|
+
}
|
|
2988
|
+
return memo[target];
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
/* istanbul ignore next */
|
|
2992
|
+
function insertBySelector(insert, style) {
|
|
2993
|
+
var target = getTarget(insert);
|
|
2994
|
+
if (!target) {
|
|
2995
|
+
throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
2996
|
+
}
|
|
2997
|
+
target.appendChild(style);
|
|
2998
|
+
}
|
|
2999
|
+
module.exports = insertBySelector;
|
|
3000
|
+
|
|
3001
|
+
/***/ },
|
|
3002
|
+
|
|
3003
|
+
/***/ "../node_modules/style-loader/dist/runtime/insertStyleElement.js"
|
|
3004
|
+
/*!***********************************************************************!*\
|
|
3005
|
+
!*** ../node_modules/style-loader/dist/runtime/insertStyleElement.js ***!
|
|
3006
|
+
\***********************************************************************/
|
|
3007
|
+
(module) {
|
|
3008
|
+
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
/* istanbul ignore next */
|
|
3012
|
+
function insertStyleElement(options) {
|
|
3013
|
+
var element = document.createElement("style");
|
|
3014
|
+
options.setAttributes(element, options.attributes);
|
|
3015
|
+
options.insert(element, options.options);
|
|
3016
|
+
return element;
|
|
3017
|
+
}
|
|
3018
|
+
module.exports = insertStyleElement;
|
|
3019
|
+
|
|
3020
|
+
/***/ },
|
|
3021
|
+
|
|
3022
|
+
/***/ "../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js"
|
|
3023
|
+
/*!***********************************************************************************!*\
|
|
3024
|
+
!*** ../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js ***!
|
|
3025
|
+
\***********************************************************************************/
|
|
3026
|
+
(module, __unused_webpack_exports, __webpack_require__) {
|
|
3027
|
+
|
|
3028
|
+
|
|
3029
|
+
|
|
3030
|
+
/* istanbul ignore next */
|
|
3031
|
+
function setAttributesWithoutAttributes(styleElement) {
|
|
3032
|
+
var nonce = true ? __webpack_require__.nc : 0;
|
|
3033
|
+
if (nonce) {
|
|
3034
|
+
styleElement.setAttribute("nonce", nonce);
|
|
3035
|
+
}
|
|
3036
|
+
}
|
|
3037
|
+
module.exports = setAttributesWithoutAttributes;
|
|
3038
|
+
|
|
3039
|
+
/***/ },
|
|
3040
|
+
|
|
3041
|
+
/***/ "../node_modules/style-loader/dist/runtime/styleDomAPI.js"
|
|
3042
|
+
/*!****************************************************************!*\
|
|
3043
|
+
!*** ../node_modules/style-loader/dist/runtime/styleDomAPI.js ***!
|
|
3044
|
+
\****************************************************************/
|
|
3045
|
+
(module) {
|
|
3046
|
+
|
|
3047
|
+
|
|
3048
|
+
|
|
3049
|
+
/* istanbul ignore next */
|
|
3050
|
+
function apply(styleElement, options, obj) {
|
|
3051
|
+
var css = "";
|
|
3052
|
+
if (obj.supports) {
|
|
3053
|
+
css += "@supports (".concat(obj.supports, ") {");
|
|
3054
|
+
}
|
|
3055
|
+
if (obj.media) {
|
|
3056
|
+
css += "@media ".concat(obj.media, " {");
|
|
3057
|
+
}
|
|
3058
|
+
var needLayer = typeof obj.layer !== "undefined";
|
|
3059
|
+
if (needLayer) {
|
|
3060
|
+
css += "@layer".concat(obj.layer.length > 0 ? " ".concat(obj.layer) : "", " {");
|
|
3061
|
+
}
|
|
3062
|
+
css += obj.css;
|
|
3063
|
+
if (needLayer) {
|
|
3064
|
+
css += "}";
|
|
3065
|
+
}
|
|
3066
|
+
if (obj.media) {
|
|
3067
|
+
css += "}";
|
|
3068
|
+
}
|
|
3069
|
+
if (obj.supports) {
|
|
3070
|
+
css += "}";
|
|
3071
|
+
}
|
|
3072
|
+
var sourceMap = obj.sourceMap;
|
|
3073
|
+
if (sourceMap && typeof btoa !== "undefined") {
|
|
3074
|
+
css += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), " */");
|
|
3075
|
+
}
|
|
3076
|
+
|
|
3077
|
+
// For old IE
|
|
3078
|
+
/* istanbul ignore if */
|
|
3079
|
+
options.styleTagTransform(css, styleElement, options.options);
|
|
3080
|
+
}
|
|
3081
|
+
function removeStyleElement(styleElement) {
|
|
3082
|
+
// istanbul ignore if
|
|
3083
|
+
if (styleElement.parentNode === null) {
|
|
3084
|
+
return false;
|
|
3085
|
+
}
|
|
3086
|
+
styleElement.parentNode.removeChild(styleElement);
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
/* istanbul ignore next */
|
|
3090
|
+
function domAPI(options) {
|
|
3091
|
+
if (typeof document === "undefined") {
|
|
3092
|
+
return {
|
|
3093
|
+
update: function update() {},
|
|
3094
|
+
remove: function remove() {}
|
|
3095
|
+
};
|
|
3096
|
+
}
|
|
3097
|
+
var styleElement = options.insertStyleElement(options);
|
|
3098
|
+
return {
|
|
3099
|
+
update: function update(obj) {
|
|
3100
|
+
apply(styleElement, options, obj);
|
|
3101
|
+
},
|
|
3102
|
+
remove: function remove() {
|
|
3103
|
+
removeStyleElement(styleElement);
|
|
3104
|
+
}
|
|
3105
|
+
};
|
|
3106
|
+
}
|
|
3107
|
+
module.exports = domAPI;
|
|
3108
|
+
|
|
3109
|
+
/***/ },
|
|
3110
|
+
|
|
3111
|
+
/***/ "../node_modules/style-loader/dist/runtime/styleTagTransform.js"
|
|
3112
|
+
/*!**********************************************************************!*\
|
|
3113
|
+
!*** ../node_modules/style-loader/dist/runtime/styleTagTransform.js ***!
|
|
3114
|
+
\**********************************************************************/
|
|
3115
|
+
(module) {
|
|
3116
|
+
|
|
3117
|
+
|
|
3118
|
+
|
|
3119
|
+
/* istanbul ignore next */
|
|
3120
|
+
function styleTagTransform(css, styleElement) {
|
|
3121
|
+
if (styleElement.styleSheet) {
|
|
3122
|
+
styleElement.styleSheet.cssText = css;
|
|
3123
|
+
} else {
|
|
3124
|
+
while (styleElement.firstChild) {
|
|
3125
|
+
styleElement.removeChild(styleElement.firstChild);
|
|
3126
|
+
}
|
|
3127
|
+
styleElement.appendChild(document.createTextNode(css));
|
|
3128
|
+
}
|
|
3129
|
+
}
|
|
3130
|
+
module.exports = styleTagTransform;
|
|
3131
|
+
|
|
3132
|
+
/***/ },
|
|
3133
|
+
|
|
3134
|
+
/***/ "../node_modules/@kurkle/color/dist/color.esm.js"
|
|
3135
|
+
/*!*******************************************************!*\
|
|
3136
|
+
!*** ../node_modules/@kurkle/color/dist/color.esm.js ***!
|
|
3137
|
+
\*******************************************************/
|
|
3138
|
+
(__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
|
|
3139
|
+
|
|
3140
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3141
|
+
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
3142
|
+
/* harmony export */ Color: () => (/* binding */ Color),
|
|
3143
|
+
/* harmony export */ b2n: () => (/* binding */ b2n),
|
|
3144
|
+
/* harmony export */ b2p: () => (/* binding */ b2p),
|
|
3145
|
+
/* harmony export */ "default": () => (/* binding */ index_esm),
|
|
3146
|
+
/* harmony export */ hexParse: () => (/* binding */ hexParse),
|
|
3147
|
+
/* harmony export */ hexString: () => (/* binding */ hexString),
|
|
3148
|
+
/* harmony export */ hsl2rgb: () => (/* binding */ hsl2rgb),
|
|
3149
|
+
/* harmony export */ hslString: () => (/* binding */ hslString),
|
|
3150
|
+
/* harmony export */ hsv2rgb: () => (/* binding */ hsv2rgb),
|
|
3151
|
+
/* harmony export */ hueParse: () => (/* binding */ hueParse),
|
|
3152
|
+
/* harmony export */ hwb2rgb: () => (/* binding */ hwb2rgb),
|
|
3153
|
+
/* harmony export */ lim: () => (/* binding */ lim),
|
|
3154
|
+
/* harmony export */ n2b: () => (/* binding */ n2b),
|
|
3155
|
+
/* harmony export */ n2p: () => (/* binding */ n2p),
|
|
3156
|
+
/* harmony export */ nameParse: () => (/* binding */ nameParse),
|
|
3157
|
+
/* harmony export */ p2b: () => (/* binding */ p2b),
|
|
3158
|
+
/* harmony export */ rgb2hsl: () => (/* binding */ rgb2hsl),
|
|
3159
|
+
/* harmony export */ rgbParse: () => (/* binding */ rgbParse),
|
|
3160
|
+
/* harmony export */ rgbString: () => (/* binding */ rgbString),
|
|
3161
|
+
/* harmony export */ rotate: () => (/* binding */ rotate),
|
|
3162
|
+
/* harmony export */ round: () => (/* binding */ round)
|
|
3163
|
+
/* harmony export */ });
|
|
3164
|
+
/*!
|
|
3165
|
+
* @kurkle/color v0.3.4
|
|
3166
|
+
* https://github.com/kurkle/color#readme
|
|
3167
|
+
* (c) 2024 Jukka Kurkela
|
|
3168
|
+
* Released under the MIT License
|
|
3169
|
+
*/
|
|
3170
|
+
function round(v) {
|
|
3171
|
+
return v + 0.5 | 0;
|
|
3172
|
+
}
|
|
3173
|
+
const lim = (v, l, h) => Math.max(Math.min(v, h), l);
|
|
3174
|
+
function p2b(v) {
|
|
3175
|
+
return lim(round(v * 2.55), 0, 255);
|
|
3176
|
+
}
|
|
3177
|
+
function b2p(v) {
|
|
3178
|
+
return lim(round(v / 2.55), 0, 100);
|
|
3179
|
+
}
|
|
3180
|
+
function n2b(v) {
|
|
3181
|
+
return lim(round(v * 255), 0, 255);
|
|
3182
|
+
}
|
|
3183
|
+
function b2n(v) {
|
|
3184
|
+
return lim(round(v / 2.55) / 100, 0, 1);
|
|
3185
|
+
}
|
|
3186
|
+
function n2p(v) {
|
|
3187
|
+
return lim(round(v * 100), 0, 100);
|
|
3188
|
+
}
|
|
3189
|
+
|
|
3190
|
+
const map$1 = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15};
|
|
3191
|
+
const hex = [...'0123456789ABCDEF'];
|
|
3192
|
+
const h1 = b => hex[b & 0xF];
|
|
3193
|
+
const h2 = b => hex[(b & 0xF0) >> 4] + hex[b & 0xF];
|
|
3194
|
+
const eq = b => ((b & 0xF0) >> 4) === (b & 0xF);
|
|
3195
|
+
const isShort = v => eq(v.r) && eq(v.g) && eq(v.b) && eq(v.a);
|
|
3196
|
+
function hexParse(str) {
|
|
3197
|
+
var len = str.length;
|
|
3198
|
+
var ret;
|
|
3199
|
+
if (str[0] === '#') {
|
|
3200
|
+
if (len === 4 || len === 5) {
|
|
3201
|
+
ret = {
|
|
3202
|
+
r: 255 & map$1[str[1]] * 17,
|
|
3203
|
+
g: 255 & map$1[str[2]] * 17,
|
|
3204
|
+
b: 255 & map$1[str[3]] * 17,
|
|
3205
|
+
a: len === 5 ? map$1[str[4]] * 17 : 255
|
|
3206
|
+
};
|
|
3207
|
+
} else if (len === 7 || len === 9) {
|
|
3208
|
+
ret = {
|
|
3209
|
+
r: map$1[str[1]] << 4 | map$1[str[2]],
|
|
3210
|
+
g: map$1[str[3]] << 4 | map$1[str[4]],
|
|
3211
|
+
b: map$1[str[5]] << 4 | map$1[str[6]],
|
|
3212
|
+
a: len === 9 ? (map$1[str[7]] << 4 | map$1[str[8]]) : 255
|
|
3213
|
+
};
|
|
3214
|
+
}
|
|
3215
|
+
}
|
|
3216
|
+
return ret;
|
|
3217
|
+
}
|
|
3218
|
+
const alpha = (a, f) => a < 255 ? f(a) : '';
|
|
3219
|
+
function hexString(v) {
|
|
3220
|
+
var f = isShort(v) ? h1 : h2;
|
|
3221
|
+
return v
|
|
3222
|
+
? '#' + f(v.r) + f(v.g) + f(v.b) + alpha(v.a, f)
|
|
3223
|
+
: undefined;
|
|
3224
|
+
}
|
|
3225
|
+
|
|
3226
|
+
const HUE_RE = /^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;
|
|
3227
|
+
function hsl2rgbn(h, s, l) {
|
|
3228
|
+
const a = s * Math.min(l, 1 - l);
|
|
3229
|
+
const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);
|
|
3230
|
+
return [f(0), f(8), f(4)];
|
|
3231
|
+
}
|
|
3232
|
+
function hsv2rgbn(h, s, v) {
|
|
3233
|
+
const f = (n, k = (n + h / 60) % 6) => v - v * s * Math.max(Math.min(k, 4 - k, 1), 0);
|
|
3234
|
+
return [f(5), f(3), f(1)];
|
|
3235
|
+
}
|
|
3236
|
+
function hwb2rgbn(h, w, b) {
|
|
3237
|
+
const rgb = hsl2rgbn(h, 1, 0.5);
|
|
3238
|
+
let i;
|
|
3239
|
+
if (w + b > 1) {
|
|
3240
|
+
i = 1 / (w + b);
|
|
3241
|
+
w *= i;
|
|
3242
|
+
b *= i;
|
|
3243
|
+
}
|
|
3244
|
+
for (i = 0; i < 3; i++) {
|
|
3245
|
+
rgb[i] *= 1 - w - b;
|
|
3246
|
+
rgb[i] += w;
|
|
3247
|
+
}
|
|
3248
|
+
return rgb;
|
|
3249
|
+
}
|
|
3250
|
+
function hueValue(r, g, b, d, max) {
|
|
3251
|
+
if (r === max) {
|
|
3252
|
+
return ((g - b) / d) + (g < b ? 6 : 0);
|
|
3253
|
+
}
|
|
3254
|
+
if (g === max) {
|
|
3255
|
+
return (b - r) / d + 2;
|
|
3256
|
+
}
|
|
3257
|
+
return (r - g) / d + 4;
|
|
3258
|
+
}
|
|
3259
|
+
function rgb2hsl(v) {
|
|
3260
|
+
const range = 255;
|
|
3261
|
+
const r = v.r / range;
|
|
3262
|
+
const g = v.g / range;
|
|
3263
|
+
const b = v.b / range;
|
|
3264
|
+
const max = Math.max(r, g, b);
|
|
3265
|
+
const min = Math.min(r, g, b);
|
|
3266
|
+
const l = (max + min) / 2;
|
|
3267
|
+
let h, s, d;
|
|
3268
|
+
if (max !== min) {
|
|
3269
|
+
d = max - min;
|
|
3270
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
3271
|
+
h = hueValue(r, g, b, d, max);
|
|
3272
|
+
h = h * 60 + 0.5;
|
|
3273
|
+
}
|
|
3274
|
+
return [h | 0, s || 0, l];
|
|
3275
|
+
}
|
|
3276
|
+
function calln(f, a, b, c) {
|
|
3277
|
+
return (
|
|
3278
|
+
Array.isArray(a)
|
|
3279
|
+
? f(a[0], a[1], a[2])
|
|
3280
|
+
: f(a, b, c)
|
|
3281
|
+
).map(n2b);
|
|
3282
|
+
}
|
|
3283
|
+
function hsl2rgb(h, s, l) {
|
|
3284
|
+
return calln(hsl2rgbn, h, s, l);
|
|
3285
|
+
}
|
|
3286
|
+
function hwb2rgb(h, w, b) {
|
|
3287
|
+
return calln(hwb2rgbn, h, w, b);
|
|
3288
|
+
}
|
|
3289
|
+
function hsv2rgb(h, s, v) {
|
|
3290
|
+
return calln(hsv2rgbn, h, s, v);
|
|
3291
|
+
}
|
|
3292
|
+
function hue(h) {
|
|
3293
|
+
return (h % 360 + 360) % 360;
|
|
3294
|
+
}
|
|
3295
|
+
function hueParse(str) {
|
|
3296
|
+
const m = HUE_RE.exec(str);
|
|
3297
|
+
let a = 255;
|
|
3298
|
+
let v;
|
|
3299
|
+
if (!m) {
|
|
3300
|
+
return;
|
|
3301
|
+
}
|
|
3302
|
+
if (m[5] !== v) {
|
|
3303
|
+
a = m[6] ? p2b(+m[5]) : n2b(+m[5]);
|
|
3304
|
+
}
|
|
3305
|
+
const h = hue(+m[2]);
|
|
3306
|
+
const p1 = +m[3] / 100;
|
|
3307
|
+
const p2 = +m[4] / 100;
|
|
3308
|
+
if (m[1] === 'hwb') {
|
|
3309
|
+
v = hwb2rgb(h, p1, p2);
|
|
3310
|
+
} else if (m[1] === 'hsv') {
|
|
3311
|
+
v = hsv2rgb(h, p1, p2);
|
|
3312
|
+
} else {
|
|
3313
|
+
v = hsl2rgb(h, p1, p2);
|
|
3314
|
+
}
|
|
3315
|
+
return {
|
|
3316
|
+
r: v[0],
|
|
3317
|
+
g: v[1],
|
|
3318
|
+
b: v[2],
|
|
3319
|
+
a: a
|
|
3320
|
+
};
|
|
3321
|
+
}
|
|
3322
|
+
function rotate(v, deg) {
|
|
3323
|
+
var h = rgb2hsl(v);
|
|
3324
|
+
h[0] = hue(h[0] + deg);
|
|
3325
|
+
h = hsl2rgb(h);
|
|
3326
|
+
v.r = h[0];
|
|
3327
|
+
v.g = h[1];
|
|
3328
|
+
v.b = h[2];
|
|
3329
|
+
}
|
|
3330
|
+
function hslString(v) {
|
|
3331
|
+
if (!v) {
|
|
3332
|
+
return;
|
|
3333
|
+
}
|
|
3334
|
+
const a = rgb2hsl(v);
|
|
3335
|
+
const h = a[0];
|
|
3336
|
+
const s = n2p(a[1]);
|
|
3337
|
+
const l = n2p(a[2]);
|
|
3338
|
+
return v.a < 255
|
|
3339
|
+
? `hsla(${h}, ${s}%, ${l}%, ${b2n(v.a)})`
|
|
3340
|
+
: `hsl(${h}, ${s}%, ${l}%)`;
|
|
3341
|
+
}
|
|
3342
|
+
|
|
3343
|
+
const map = {
|
|
3344
|
+
x: 'dark',
|
|
3345
|
+
Z: 'light',
|
|
3346
|
+
Y: 're',
|
|
3347
|
+
X: 'blu',
|
|
3348
|
+
W: 'gr',
|
|
3349
|
+
V: 'medium',
|
|
3350
|
+
U: 'slate',
|
|
3351
|
+
A: 'ee',
|
|
3352
|
+
T: 'ol',
|
|
3353
|
+
S: 'or',
|
|
3354
|
+
B: 'ra',
|
|
3355
|
+
C: 'lateg',
|
|
3356
|
+
D: 'ights',
|
|
3357
|
+
R: 'in',
|
|
3358
|
+
Q: 'turquois',
|
|
3359
|
+
E: 'hi',
|
|
3360
|
+
P: 'ro',
|
|
3361
|
+
O: 'al',
|
|
3362
|
+
N: 'le',
|
|
3363
|
+
M: 'de',
|
|
3364
|
+
L: 'yello',
|
|
3365
|
+
F: 'en',
|
|
3366
|
+
K: 'ch',
|
|
3367
|
+
G: 'arks',
|
|
3368
|
+
H: 'ea',
|
|
3369
|
+
I: 'ightg',
|
|
3370
|
+
J: 'wh'
|
|
3371
|
+
};
|
|
3372
|
+
const names$1 = {
|
|
3373
|
+
OiceXe: 'f0f8ff',
|
|
3374
|
+
antiquewEte: 'faebd7',
|
|
3375
|
+
aqua: 'ffff',
|
|
3376
|
+
aquamarRe: '7fffd4',
|
|
3377
|
+
azuY: 'f0ffff',
|
|
3378
|
+
beige: 'f5f5dc',
|
|
3379
|
+
bisque: 'ffe4c4',
|
|
3380
|
+
black: '0',
|
|
3381
|
+
blanKedOmond: 'ffebcd',
|
|
3382
|
+
Xe: 'ff',
|
|
3383
|
+
XeviTet: '8a2be2',
|
|
3384
|
+
bPwn: 'a52a2a',
|
|
3385
|
+
burlywood: 'deb887',
|
|
3386
|
+
caMtXe: '5f9ea0',
|
|
3387
|
+
KartYuse: '7fff00',
|
|
3388
|
+
KocTate: 'd2691e',
|
|
3389
|
+
cSO: 'ff7f50',
|
|
3390
|
+
cSnflowerXe: '6495ed',
|
|
3391
|
+
cSnsilk: 'fff8dc',
|
|
3392
|
+
crimson: 'dc143c',
|
|
3393
|
+
cyan: 'ffff',
|
|
3394
|
+
xXe: '8b',
|
|
3395
|
+
xcyan: '8b8b',
|
|
3396
|
+
xgTMnPd: 'b8860b',
|
|
3397
|
+
xWay: 'a9a9a9',
|
|
3398
|
+
xgYF: '6400',
|
|
3399
|
+
xgYy: 'a9a9a9',
|
|
3400
|
+
xkhaki: 'bdb76b',
|
|
3401
|
+
xmagFta: '8b008b',
|
|
3402
|
+
xTivegYF: '556b2f',
|
|
3403
|
+
xSange: 'ff8c00',
|
|
3404
|
+
xScEd: '9932cc',
|
|
3405
|
+
xYd: '8b0000',
|
|
3406
|
+
xsOmon: 'e9967a',
|
|
3407
|
+
xsHgYF: '8fbc8f',
|
|
3408
|
+
xUXe: '483d8b',
|
|
3409
|
+
xUWay: '2f4f4f',
|
|
3410
|
+
xUgYy: '2f4f4f',
|
|
3411
|
+
xQe: 'ced1',
|
|
3412
|
+
xviTet: '9400d3',
|
|
3413
|
+
dAppRk: 'ff1493',
|
|
3414
|
+
dApskyXe: 'bfff',
|
|
3415
|
+
dimWay: '696969',
|
|
3416
|
+
dimgYy: '696969',
|
|
3417
|
+
dodgerXe: '1e90ff',
|
|
3418
|
+
fiYbrick: 'b22222',
|
|
3419
|
+
flSOwEte: 'fffaf0',
|
|
3420
|
+
foYstWAn: '228b22',
|
|
3421
|
+
fuKsia: 'ff00ff',
|
|
3422
|
+
gaRsbSo: 'dcdcdc',
|
|
3423
|
+
ghostwEte: 'f8f8ff',
|
|
3424
|
+
gTd: 'ffd700',
|
|
3425
|
+
gTMnPd: 'daa520',
|
|
3426
|
+
Way: '808080',
|
|
3427
|
+
gYF: '8000',
|
|
3428
|
+
gYFLw: 'adff2f',
|
|
3429
|
+
gYy: '808080',
|
|
3430
|
+
honeyMw: 'f0fff0',
|
|
3431
|
+
hotpRk: 'ff69b4',
|
|
3432
|
+
RdianYd: 'cd5c5c',
|
|
3433
|
+
Rdigo: '4b0082',
|
|
3434
|
+
ivSy: 'fffff0',
|
|
3435
|
+
khaki: 'f0e68c',
|
|
3436
|
+
lavFMr: 'e6e6fa',
|
|
3437
|
+
lavFMrXsh: 'fff0f5',
|
|
3438
|
+
lawngYF: '7cfc00',
|
|
3439
|
+
NmoncEffon: 'fffacd',
|
|
3440
|
+
ZXe: 'add8e6',
|
|
3441
|
+
ZcSO: 'f08080',
|
|
3442
|
+
Zcyan: 'e0ffff',
|
|
3443
|
+
ZgTMnPdLw: 'fafad2',
|
|
3444
|
+
ZWay: 'd3d3d3',
|
|
3445
|
+
ZgYF: '90ee90',
|
|
3446
|
+
ZgYy: 'd3d3d3',
|
|
3447
|
+
ZpRk: 'ffb6c1',
|
|
3448
|
+
ZsOmon: 'ffa07a',
|
|
3449
|
+
ZsHgYF: '20b2aa',
|
|
3450
|
+
ZskyXe: '87cefa',
|
|
3451
|
+
ZUWay: '778899',
|
|
3452
|
+
ZUgYy: '778899',
|
|
3453
|
+
ZstAlXe: 'b0c4de',
|
|
3454
|
+
ZLw: 'ffffe0',
|
|
3455
|
+
lime: 'ff00',
|
|
3456
|
+
limegYF: '32cd32',
|
|
3457
|
+
lRF: 'faf0e6',
|
|
3458
|
+
magFta: 'ff00ff',
|
|
3459
|
+
maPon: '800000',
|
|
3460
|
+
VaquamarRe: '66cdaa',
|
|
3461
|
+
VXe: 'cd',
|
|
3462
|
+
VScEd: 'ba55d3',
|
|
3463
|
+
VpurpN: '9370db',
|
|
3464
|
+
VsHgYF: '3cb371',
|
|
3465
|
+
VUXe: '7b68ee',
|
|
3466
|
+
VsprRggYF: 'fa9a',
|
|
3467
|
+
VQe: '48d1cc',
|
|
3468
|
+
VviTetYd: 'c71585',
|
|
3469
|
+
midnightXe: '191970',
|
|
3470
|
+
mRtcYam: 'f5fffa',
|
|
3471
|
+
mistyPse: 'ffe4e1',
|
|
3472
|
+
moccasR: 'ffe4b5',
|
|
3473
|
+
navajowEte: 'ffdead',
|
|
3474
|
+
navy: '80',
|
|
3475
|
+
Tdlace: 'fdf5e6',
|
|
3476
|
+
Tive: '808000',
|
|
3477
|
+
TivedBb: '6b8e23',
|
|
3478
|
+
Sange: 'ffa500',
|
|
3479
|
+
SangeYd: 'ff4500',
|
|
3480
|
+
ScEd: 'da70d6',
|
|
3481
|
+
pOegTMnPd: 'eee8aa',
|
|
3482
|
+
pOegYF: '98fb98',
|
|
3483
|
+
pOeQe: 'afeeee',
|
|
3484
|
+
pOeviTetYd: 'db7093',
|
|
3485
|
+
papayawEp: 'ffefd5',
|
|
3486
|
+
pHKpuff: 'ffdab9',
|
|
3487
|
+
peru: 'cd853f',
|
|
3488
|
+
pRk: 'ffc0cb',
|
|
3489
|
+
plum: 'dda0dd',
|
|
3490
|
+
powMrXe: 'b0e0e6',
|
|
3491
|
+
purpN: '800080',
|
|
3492
|
+
YbeccapurpN: '663399',
|
|
3493
|
+
Yd: 'ff0000',
|
|
3494
|
+
Psybrown: 'bc8f8f',
|
|
3495
|
+
PyOXe: '4169e1',
|
|
3496
|
+
saddNbPwn: '8b4513',
|
|
3497
|
+
sOmon: 'fa8072',
|
|
3498
|
+
sandybPwn: 'f4a460',
|
|
3499
|
+
sHgYF: '2e8b57',
|
|
3500
|
+
sHshell: 'fff5ee',
|
|
3501
|
+
siFna: 'a0522d',
|
|
3502
|
+
silver: 'c0c0c0',
|
|
3503
|
+
skyXe: '87ceeb',
|
|
3504
|
+
UXe: '6a5acd',
|
|
3505
|
+
UWay: '708090',
|
|
3506
|
+
UgYy: '708090',
|
|
3507
|
+
snow: 'fffafa',
|
|
3508
|
+
sprRggYF: 'ff7f',
|
|
3509
|
+
stAlXe: '4682b4',
|
|
3510
|
+
tan: 'd2b48c',
|
|
3511
|
+
teO: '8080',
|
|
3512
|
+
tEstN: 'd8bfd8',
|
|
3513
|
+
tomato: 'ff6347',
|
|
3514
|
+
Qe: '40e0d0',
|
|
3515
|
+
viTet: 'ee82ee',
|
|
3516
|
+
JHt: 'f5deb3',
|
|
3517
|
+
wEte: 'ffffff',
|
|
3518
|
+
wEtesmoke: 'f5f5f5',
|
|
3519
|
+
Lw: 'ffff00',
|
|
3520
|
+
LwgYF: '9acd32'
|
|
3521
|
+
};
|
|
3522
|
+
function unpack() {
|
|
3523
|
+
const unpacked = {};
|
|
3524
|
+
const keys = Object.keys(names$1);
|
|
3525
|
+
const tkeys = Object.keys(map);
|
|
3526
|
+
let i, j, k, ok, nk;
|
|
3527
|
+
for (i = 0; i < keys.length; i++) {
|
|
3528
|
+
ok = nk = keys[i];
|
|
3529
|
+
for (j = 0; j < tkeys.length; j++) {
|
|
3530
|
+
k = tkeys[j];
|
|
3531
|
+
nk = nk.replace(k, map[k]);
|
|
3532
|
+
}
|
|
3533
|
+
k = parseInt(names$1[ok], 16);
|
|
3534
|
+
unpacked[nk] = [k >> 16 & 0xFF, k >> 8 & 0xFF, k & 0xFF];
|
|
3535
|
+
}
|
|
3536
|
+
return unpacked;
|
|
3537
|
+
}
|
|
3538
|
+
|
|
3539
|
+
let names;
|
|
3540
|
+
function nameParse(str) {
|
|
3541
|
+
if (!names) {
|
|
3542
|
+
names = unpack();
|
|
3543
|
+
names.transparent = [0, 0, 0, 0];
|
|
3544
|
+
}
|
|
3545
|
+
const a = names[str.toLowerCase()];
|
|
3546
|
+
return a && {
|
|
3547
|
+
r: a[0],
|
|
3548
|
+
g: a[1],
|
|
3549
|
+
b: a[2],
|
|
3550
|
+
a: a.length === 4 ? a[3] : 255
|
|
3551
|
+
};
|
|
3552
|
+
}
|
|
3553
|
+
|
|
3554
|
+
const RGB_RE = /^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;
|
|
3555
|
+
function rgbParse(str) {
|
|
3556
|
+
const m = RGB_RE.exec(str);
|
|
3557
|
+
let a = 255;
|
|
3558
|
+
let r, g, b;
|
|
3559
|
+
if (!m) {
|
|
3560
|
+
return;
|
|
3561
|
+
}
|
|
3562
|
+
if (m[7] !== r) {
|
|
3563
|
+
const v = +m[7];
|
|
3564
|
+
a = m[8] ? p2b(v) : lim(v * 255, 0, 255);
|
|
3565
|
+
}
|
|
3566
|
+
r = +m[1];
|
|
3567
|
+
g = +m[3];
|
|
3568
|
+
b = +m[5];
|
|
3569
|
+
r = 255 & (m[2] ? p2b(r) : lim(r, 0, 255));
|
|
3570
|
+
g = 255 & (m[4] ? p2b(g) : lim(g, 0, 255));
|
|
3571
|
+
b = 255 & (m[6] ? p2b(b) : lim(b, 0, 255));
|
|
3572
|
+
return {
|
|
3573
|
+
r: r,
|
|
3574
|
+
g: g,
|
|
3575
|
+
b: b,
|
|
3576
|
+
a: a
|
|
3577
|
+
};
|
|
3578
|
+
}
|
|
3579
|
+
function rgbString(v) {
|
|
3580
|
+
return v && (
|
|
3581
|
+
v.a < 255
|
|
3582
|
+
? `rgba(${v.r}, ${v.g}, ${v.b}, ${b2n(v.a)})`
|
|
3583
|
+
: `rgb(${v.r}, ${v.g}, ${v.b})`
|
|
3584
|
+
);
|
|
3585
|
+
}
|
|
3586
|
+
|
|
3587
|
+
const to = v => v <= 0.0031308 ? v * 12.92 : Math.pow(v, 1.0 / 2.4) * 1.055 - 0.055;
|
|
3588
|
+
const from = v => v <= 0.04045 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);
|
|
3589
|
+
function interpolate(rgb1, rgb2, t) {
|
|
3590
|
+
const r = from(b2n(rgb1.r));
|
|
3591
|
+
const g = from(b2n(rgb1.g));
|
|
3592
|
+
const b = from(b2n(rgb1.b));
|
|
3593
|
+
return {
|
|
3594
|
+
r: n2b(to(r + t * (from(b2n(rgb2.r)) - r))),
|
|
3595
|
+
g: n2b(to(g + t * (from(b2n(rgb2.g)) - g))),
|
|
3596
|
+
b: n2b(to(b + t * (from(b2n(rgb2.b)) - b))),
|
|
3597
|
+
a: rgb1.a + t * (rgb2.a - rgb1.a)
|
|
3598
|
+
};
|
|
3599
|
+
}
|
|
3600
|
+
|
|
3601
|
+
function modHSL(v, i, ratio) {
|
|
3602
|
+
if (v) {
|
|
3603
|
+
let tmp = rgb2hsl(v);
|
|
3604
|
+
tmp[i] = Math.max(0, Math.min(tmp[i] + tmp[i] * ratio, i === 0 ? 360 : 1));
|
|
3605
|
+
tmp = hsl2rgb(tmp);
|
|
3606
|
+
v.r = tmp[0];
|
|
3607
|
+
v.g = tmp[1];
|
|
3608
|
+
v.b = tmp[2];
|
|
3609
|
+
}
|
|
3610
|
+
}
|
|
3611
|
+
function clone(v, proto) {
|
|
3612
|
+
return v ? Object.assign(proto || {}, v) : v;
|
|
3613
|
+
}
|
|
3614
|
+
function fromObject(input) {
|
|
3615
|
+
var v = {r: 0, g: 0, b: 0, a: 255};
|
|
3616
|
+
if (Array.isArray(input)) {
|
|
3617
|
+
if (input.length >= 3) {
|
|
3618
|
+
v = {r: input[0], g: input[1], b: input[2], a: 255};
|
|
3619
|
+
if (input.length > 3) {
|
|
3620
|
+
v.a = n2b(input[3]);
|
|
3621
|
+
}
|
|
3622
|
+
}
|
|
3623
|
+
} else {
|
|
3624
|
+
v = clone(input, {r: 0, g: 0, b: 0, a: 1});
|
|
3625
|
+
v.a = n2b(v.a);
|
|
3626
|
+
}
|
|
3627
|
+
return v;
|
|
3628
|
+
}
|
|
3629
|
+
function functionParse(str) {
|
|
3630
|
+
if (str.charAt(0) === 'r') {
|
|
3631
|
+
return rgbParse(str);
|
|
3632
|
+
}
|
|
3633
|
+
return hueParse(str);
|
|
3634
|
+
}
|
|
3635
|
+
class Color {
|
|
3636
|
+
constructor(input) {
|
|
3637
|
+
if (input instanceof Color) {
|
|
3638
|
+
return input;
|
|
3639
|
+
}
|
|
3640
|
+
const type = typeof input;
|
|
3641
|
+
let v;
|
|
3642
|
+
if (type === 'object') {
|
|
3643
|
+
v = fromObject(input);
|
|
3644
|
+
} else if (type === 'string') {
|
|
3645
|
+
v = hexParse(input) || nameParse(input) || functionParse(input);
|
|
3646
|
+
}
|
|
3647
|
+
this._rgb = v;
|
|
3648
|
+
this._valid = !!v;
|
|
3649
|
+
}
|
|
3650
|
+
get valid() {
|
|
3651
|
+
return this._valid;
|
|
3652
|
+
}
|
|
3653
|
+
get rgb() {
|
|
3654
|
+
var v = clone(this._rgb);
|
|
3655
|
+
if (v) {
|
|
3656
|
+
v.a = b2n(v.a);
|
|
3657
|
+
}
|
|
3658
|
+
return v;
|
|
3659
|
+
}
|
|
3660
|
+
set rgb(obj) {
|
|
3661
|
+
this._rgb = fromObject(obj);
|
|
3662
|
+
}
|
|
3663
|
+
rgbString() {
|
|
3664
|
+
return this._valid ? rgbString(this._rgb) : undefined;
|
|
3665
|
+
}
|
|
3666
|
+
hexString() {
|
|
3667
|
+
return this._valid ? hexString(this._rgb) : undefined;
|
|
3668
|
+
}
|
|
3669
|
+
hslString() {
|
|
3670
|
+
return this._valid ? hslString(this._rgb) : undefined;
|
|
3671
|
+
}
|
|
3672
|
+
mix(color, weight) {
|
|
3673
|
+
if (color) {
|
|
3674
|
+
const c1 = this.rgb;
|
|
3675
|
+
const c2 = color.rgb;
|
|
3676
|
+
let w2;
|
|
3677
|
+
const p = weight === w2 ? 0.5 : weight;
|
|
3678
|
+
const w = 2 * p - 1;
|
|
3679
|
+
const a = c1.a - c2.a;
|
|
3680
|
+
const w1 = ((w * a === -1 ? w : (w + a) / (1 + w * a)) + 1) / 2.0;
|
|
3681
|
+
w2 = 1 - w1;
|
|
3682
|
+
c1.r = 0xFF & w1 * c1.r + w2 * c2.r + 0.5;
|
|
3683
|
+
c1.g = 0xFF & w1 * c1.g + w2 * c2.g + 0.5;
|
|
3684
|
+
c1.b = 0xFF & w1 * c1.b + w2 * c2.b + 0.5;
|
|
3685
|
+
c1.a = p * c1.a + (1 - p) * c2.a;
|
|
3686
|
+
this.rgb = c1;
|
|
3687
|
+
}
|
|
3688
|
+
return this;
|
|
3689
|
+
}
|
|
3690
|
+
interpolate(color, t) {
|
|
3691
|
+
if (color) {
|
|
3692
|
+
this._rgb = interpolate(this._rgb, color._rgb, t);
|
|
3693
|
+
}
|
|
3694
|
+
return this;
|
|
3695
|
+
}
|
|
3696
|
+
clone() {
|
|
3697
|
+
return new Color(this.rgb);
|
|
3698
|
+
}
|
|
3699
|
+
alpha(a) {
|
|
3700
|
+
this._rgb.a = n2b(a);
|
|
3701
|
+
return this;
|
|
3702
|
+
}
|
|
3703
|
+
clearer(ratio) {
|
|
3704
|
+
const rgb = this._rgb;
|
|
3705
|
+
rgb.a *= 1 - ratio;
|
|
3706
|
+
return this;
|
|
3707
|
+
}
|
|
3708
|
+
greyscale() {
|
|
3709
|
+
const rgb = this._rgb;
|
|
3710
|
+
const val = round(rgb.r * 0.3 + rgb.g * 0.59 + rgb.b * 0.11);
|
|
3711
|
+
rgb.r = rgb.g = rgb.b = val;
|
|
3712
|
+
return this;
|
|
3713
|
+
}
|
|
3714
|
+
opaquer(ratio) {
|
|
3715
|
+
const rgb = this._rgb;
|
|
3716
|
+
rgb.a *= 1 + ratio;
|
|
3717
|
+
return this;
|
|
3718
|
+
}
|
|
3719
|
+
negate() {
|
|
3720
|
+
const v = this._rgb;
|
|
3721
|
+
v.r = 255 - v.r;
|
|
3722
|
+
v.g = 255 - v.g;
|
|
3723
|
+
v.b = 255 - v.b;
|
|
3724
|
+
return this;
|
|
3725
|
+
}
|
|
3726
|
+
lighten(ratio) {
|
|
3727
|
+
modHSL(this._rgb, 2, ratio);
|
|
3728
|
+
return this;
|
|
3729
|
+
}
|
|
3730
|
+
darken(ratio) {
|
|
3731
|
+
modHSL(this._rgb, 2, -ratio);
|
|
3732
|
+
return this;
|
|
3733
|
+
}
|
|
3734
|
+
saturate(ratio) {
|
|
3735
|
+
modHSL(this._rgb, 1, ratio);
|
|
3736
|
+
return this;
|
|
3737
|
+
}
|
|
3738
|
+
desaturate(ratio) {
|
|
3739
|
+
modHSL(this._rgb, 1, -ratio);
|
|
3740
|
+
return this;
|
|
3741
|
+
}
|
|
3742
|
+
rotate(deg) {
|
|
3743
|
+
rotate(this._rgb, deg);
|
|
3744
|
+
return this;
|
|
3745
|
+
}
|
|
3746
|
+
}
|
|
3747
|
+
|
|
3748
|
+
function index_esm(input) {
|
|
3749
|
+
return new Color(input);
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3752
|
+
|
|
3753
|
+
|
|
3754
|
+
|
|
3755
|
+
/***/ }
|
|
3756
|
+
|
|
3757
|
+
}]);
|
|
3758
|
+
//# sourceMappingURL=vendors.js.map
|