@splunk/visualizations 24.4.0 → 24.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Area_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bar_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Bubble_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_ChoroplethSvg_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Column_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Ellipse_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_FillerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Image_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Line_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_LinkGraph_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Map_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Markdown_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_MarkerGauge_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Parallel_Coordinates_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Pie_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Punchcard_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Rectangle_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Sankey_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Scatter_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Icon_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Single_Value_Radial_Editor.png +0 -0
- package/.loki/reference/chrome_docker_VisualizationEditors_Editors_Table_Editor.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Choropleth_Svg_Choropleth_Svg_Placeholder_If_No_Svg_And_No_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_GET_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Internal_Fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_By_Mostly_null.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Map_Map_Bubble_Layer_Geostats_Dynamic_Coloring.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Background_Color_af575a.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Basic_Markdown.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Begin_with_Text_Instead_of_Header.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Color_purple.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Markdown_Markdown_Font_Size_extraLarge.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_empty_columns_and_fields.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_label_data_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_invalid_value_data_specified.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Pie_Pie_Placeholder_if_missing_column.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Icon_Single_Value_Icon_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Single_Value_Single_Value_Use_Time_Type_Series_Data.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Cell_Types.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Header_Visibility_fixed.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparkline_Custom.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Sparklines_Adv.png +0 -0
- package/.loki/reference/chrome_docker_Visualizations_Table_Table_Time_Zone_Time_Formatting.png +0 -0
- package/Area.js +246 -218
- package/Area.js.map +1 -1
- package/Bar.js +238 -210
- package/Bar.js.map +1 -1
- package/Bubble.js +231 -203
- package/Bubble.js.map +1 -1
- package/ChoroplethSvg.js +230 -197
- package/ChoroplethSvg.js.map +1 -1
- package/Column.js +238 -210
- package/Column.js.map +1 -1
- package/Ellipse.js +203 -170
- package/Ellipse.js.map +1 -1
- package/FillerGauge.js +222 -189
- package/FillerGauge.js.map +1 -1
- package/Image.js +199 -164
- package/Image.js.map +1 -1
- package/Line.js +239 -211
- package/Line.js.map +1 -1
- package/LinkGraph.js +264 -223
- package/LinkGraph.js.map +1 -1
- package/Map.config.js +39 -25
- package/Map.config.js.map +1 -1
- package/Map.js +469 -327
- package/Map.js.map +1 -1
- package/Markdown.config.js +29 -1
- package/Markdown.config.js.map +1 -1
- package/Markdown.js +513 -267
- package/Markdown.js.map +1 -1
- package/MarkerGauge.js +941 -906
- package/MarkerGauge.js.map +1 -1
- package/ParallelCoordinates.js +230 -196
- package/ParallelCoordinates.js.map +1 -1
- package/Pie.js +309 -249
- package/Pie.js.map +1 -1
- package/Punchcard.js +263 -229
- package/Punchcard.js.map +1 -1
- package/Rectangle.js +217 -182
- package/Rectangle.js.map +1 -1
- package/Sankey.js +269 -230
- package/Sankey.js.map +1 -1
- package/Scatter.js +314 -286
- package/Scatter.js.map +1 -1
- package/SingleValue.js +398 -363
- package/SingleValue.js.map +1 -1
- package/SingleValueBasic.js +25 -25
- package/SingleValueBasic.js.map +1 -1
- package/SingleValueIcon.js +2821 -2653
- package/SingleValueIcon.js.map +1 -1
- package/SingleValueRadial.js +359 -324
- package/SingleValueRadial.js.map +1 -1
- package/Table.config.js +2 -1
- package/Table.config.js.map +1 -1
- package/Table.js +623 -347
- package/Table.js.map +1 -1
- package/common/Charting.js +21 -21
- package/common/Charting.js.map +1 -1
- package/common/ChartingApi.js +2 -2
- package/common/ChartingApi.js.map +1 -1
- package/common/EventsDoc.js +18 -18
- package/common/EventsDoc.js.map +1 -1
- package/common/GaugeMajorTicks.js +10 -10
- package/common/GaugeMajorTicks.js.map +1 -1
- package/common/GaugeValueMarker.js +10 -10
- package/common/GaugeValueMarker.js.map +1 -1
- package/common/OptionsDoc.js +217 -174
- package/common/OptionsDoc.js.map +1 -1
- package/common/SplunkVisualization.js +4 -4
- package/common/SplunkVisualization.js.map +1 -1
- package/common/ThemesDoc.js +26 -26
- package/common/ThemesDoc.js.map +1 -1
- package/common/chartingUtils.js +3 -3
- package/common/chartingUtils.js.map +1 -1
- package/common/gaugeUtils.js +2 -2
- package/common/shapeUtils.js +2 -2
- package/common/withDashboardViz.js +80 -48
- package/common/withDashboardViz.js.map +1 -1
- package/package.json +13 -11
package/Map.js
CHANGED
|
@@ -87,7 +87,7 @@ module.exports =
|
|
|
87
87
|
/******/
|
|
88
88
|
/******/
|
|
89
89
|
/******/ // Load entry module and return exports
|
|
90
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
90
|
+
/******/ return __webpack_require__(__webpack_require__.s = 194);
|
|
91
91
|
/******/ })
|
|
92
92
|
/************************************************************************/
|
|
93
93
|
/******/ ([
|
|
@@ -164,7 +164,7 @@ var VizBehavior;
|
|
|
164
164
|
"use strict";
|
|
165
165
|
|
|
166
166
|
|
|
167
|
-
var _defineProperty = __webpack_require__(
|
|
167
|
+
var _defineProperty = __webpack_require__(7);
|
|
168
168
|
|
|
169
169
|
var __rest = this && this.__rest || function (s, e) {
|
|
170
170
|
var t = {};
|
|
@@ -350,12 +350,18 @@ exports.generatePrecisionValues = generatePrecisionValues;
|
|
|
350
350
|
|
|
351
351
|
/***/ }),
|
|
352
352
|
/* 7 */
|
|
353
|
+
/***/ (function(module, exports) {
|
|
354
|
+
|
|
355
|
+
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
356
|
+
|
|
357
|
+
/***/ }),
|
|
358
|
+
/* 8 */
|
|
353
359
|
/***/ (function(module, exports, __webpack_require__) {
|
|
354
360
|
|
|
355
361
|
"use strict";
|
|
356
362
|
|
|
357
363
|
|
|
358
|
-
var _typeof = __webpack_require__(
|
|
364
|
+
var _typeof = __webpack_require__(21);
|
|
359
365
|
|
|
360
366
|
Object.defineProperty(exports, "__esModule", {
|
|
361
367
|
value: true
|
|
@@ -476,12 +482,6 @@ var findClosestMatchFromDefaultList = function findClosestMatchFromDefaultList(s
|
|
|
476
482
|
|
|
477
483
|
exports.findClosestMatchFromDefaultList = findClosestMatchFromDefaultList;
|
|
478
484
|
|
|
479
|
-
/***/ }),
|
|
480
|
-
/* 8 */
|
|
481
|
-
/***/ (function(module, exports) {
|
|
482
|
-
|
|
483
|
-
module.exports = require("@babel/runtime/helpers/defineProperty");
|
|
484
|
-
|
|
485
485
|
/***/ }),
|
|
486
486
|
/* 9 */
|
|
487
487
|
/***/ (function(module, exports) {
|
|
@@ -582,7 +582,7 @@ var withFixedSizeContainer = function withFixedSizeContainer(Viz) {
|
|
|
582
582
|
|
|
583
583
|
return React.createElement(FixSizeItem, {
|
|
584
584
|
"data-test": "fix-size-item",
|
|
585
|
-
"data-splunk-visualization-version": "24.
|
|
585
|
+
"data-splunk-visualization-version": "24.5.0 - b75bfbe79",
|
|
586
586
|
width: width,
|
|
587
587
|
height: height,
|
|
588
588
|
backgroundColor: backgroundColor
|
|
@@ -628,16 +628,22 @@ module.exports = require("@splunk/visualizations-shared/SizeAwareWrapper");
|
|
|
628
628
|
|
|
629
629
|
/***/ }),
|
|
630
630
|
/* 18 */,
|
|
631
|
-
/* 19
|
|
632
|
-
|
|
631
|
+
/* 19 */
|
|
632
|
+
/***/ (function(module, exports) {
|
|
633
|
+
|
|
634
|
+
module.exports = require("@splunk/visualization-context/TimezoneContext");
|
|
635
|
+
|
|
636
|
+
/***/ }),
|
|
637
|
+
/* 20 */,
|
|
638
|
+
/* 21 */
|
|
633
639
|
/***/ (function(module, exports) {
|
|
634
640
|
|
|
635
641
|
module.exports = require("@babel/runtime/helpers/typeof");
|
|
636
642
|
|
|
637
643
|
/***/ }),
|
|
638
|
-
/* 21 */,
|
|
639
644
|
/* 22 */,
|
|
640
|
-
/* 23
|
|
645
|
+
/* 23 */,
|
|
646
|
+
/* 24 */
|
|
641
647
|
/***/ (function(module, exports, __webpack_require__) {
|
|
642
648
|
|
|
643
649
|
"use strict";
|
|
@@ -670,13 +676,104 @@ var pickFieldFromJSONSchema = function pickFieldFromJSONSchema(optionsSchema) {
|
|
|
670
676
|
exports.pickFieldFromJSONSchema = pickFieldFromJSONSchema;
|
|
671
677
|
|
|
672
678
|
/***/ }),
|
|
673
|
-
/*
|
|
679
|
+
/* 25 */
|
|
680
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
681
|
+
|
|
682
|
+
"use strict";
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
Object.defineProperty(exports, "__esModule", {
|
|
686
|
+
value: true
|
|
687
|
+
});
|
|
688
|
+
exports.shouldShowIconPlaceholder = void 0;
|
|
689
|
+
|
|
690
|
+
var React = __webpack_require__(1);
|
|
691
|
+
|
|
692
|
+
var T = __webpack_require__(0);
|
|
693
|
+
|
|
694
|
+
var lodash_1 = __webpack_require__(2);
|
|
695
|
+
|
|
696
|
+
var i18n_1 = __webpack_require__(3);
|
|
697
|
+
|
|
698
|
+
var Message_1 = __webpack_require__(9);
|
|
699
|
+
|
|
700
|
+
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
701
|
+
/**
|
|
702
|
+
* @method shouldShowIconPlaceholder
|
|
703
|
+
* @param {object} dataSources
|
|
704
|
+
* @param {boolean} loading
|
|
705
|
+
* @returns {boolean}
|
|
706
|
+
*/
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
710
|
+
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
711
|
+
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
712
|
+
var noData = data === undefined;
|
|
713
|
+
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
714
|
+
var noFields = fields === undefined;
|
|
715
|
+
return loading || noData || noFields;
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
719
|
+
var propTypes = {
|
|
720
|
+
icon: T.func,
|
|
721
|
+
width: T.oneOfType([T.string, T.number]),
|
|
722
|
+
height: T.oneOfType([T.string, T.number]),
|
|
723
|
+
// eslint-disable-next-line react/no-unused-prop-types
|
|
724
|
+
backgroundColor: T.string,
|
|
725
|
+
iconColor: T.string
|
|
726
|
+
};
|
|
727
|
+
/**
|
|
728
|
+
* @method IconPlaceholder
|
|
729
|
+
* @param {IconPlaceholderProps} props
|
|
730
|
+
* @returns {React.ReactElement}
|
|
731
|
+
*/
|
|
732
|
+
|
|
733
|
+
var IconPlaceholder = function IconPlaceholder(props) {
|
|
734
|
+
var width = props.width,
|
|
735
|
+
height = props.height,
|
|
736
|
+
icon = props.icon,
|
|
737
|
+
iconColor = props.iconColor;
|
|
738
|
+
|
|
739
|
+
if (icon) {
|
|
740
|
+
return React.createElement(icon, {
|
|
741
|
+
style: {
|
|
742
|
+
left: '50%',
|
|
743
|
+
top: '50%',
|
|
744
|
+
color: iconColor,
|
|
745
|
+
opacity: 0.15,
|
|
746
|
+
position: 'absolute',
|
|
747
|
+
transform: 'translate(-50%, -50%)'
|
|
748
|
+
},
|
|
749
|
+
width: '50%',
|
|
750
|
+
height: '50%'
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
return React.createElement(Message_1.default, {
|
|
755
|
+
width: width,
|
|
756
|
+
height: height,
|
|
757
|
+
level: "warning",
|
|
758
|
+
message: i18n_1._('No DataSource Connected')
|
|
759
|
+
});
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
IconPlaceholder.propTypes = propTypes;
|
|
763
|
+
IconPlaceholder.defaultProps = {
|
|
764
|
+
width: '100%',
|
|
765
|
+
height: 250
|
|
766
|
+
};
|
|
767
|
+
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
768
|
+
|
|
769
|
+
/***/ }),
|
|
770
|
+
/* 26 */
|
|
674
771
|
/***/ (function(module, exports, __webpack_require__) {
|
|
675
772
|
|
|
676
773
|
"use strict";
|
|
677
774
|
|
|
678
775
|
|
|
679
|
-
var _defineProperty = __webpack_require__(
|
|
776
|
+
var _defineProperty = __webpack_require__(7);
|
|
680
777
|
|
|
681
778
|
Object.defineProperty(exports, "__esModule", {
|
|
682
779
|
value: true
|
|
@@ -687,7 +784,7 @@ var T = __webpack_require__(0);
|
|
|
687
784
|
|
|
688
785
|
var lodash_1 = __webpack_require__(2);
|
|
689
786
|
|
|
690
|
-
var DataSource_1 = __webpack_require__(
|
|
787
|
+
var DataSource_1 = __webpack_require__(36);
|
|
691
788
|
|
|
692
789
|
exports.SortParamsPropTypes = T.shape({
|
|
693
790
|
currentSortKey: T.string,
|
|
@@ -740,7 +837,7 @@ var getSortingParams = function getSortingParams(_ref) {
|
|
|
740
837
|
exports.getSortingParams = getSortingParams;
|
|
741
838
|
|
|
742
839
|
/***/ }),
|
|
743
|
-
/*
|
|
840
|
+
/* 27 */
|
|
744
841
|
/***/ (function(module, exports, __webpack_require__) {
|
|
745
842
|
|
|
746
843
|
"use strict";
|
|
@@ -804,98 +901,7 @@ var getPaginationParams = function getPaginationParams(_ref) {
|
|
|
804
901
|
exports.getPaginationParams = getPaginationParams;
|
|
805
902
|
|
|
806
903
|
/***/ }),
|
|
807
|
-
/*
|
|
808
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
809
|
-
|
|
810
|
-
"use strict";
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
Object.defineProperty(exports, "__esModule", {
|
|
814
|
-
value: true
|
|
815
|
-
});
|
|
816
|
-
exports.shouldShowIconPlaceholder = void 0;
|
|
817
|
-
|
|
818
|
-
var React = __webpack_require__(1);
|
|
819
|
-
|
|
820
|
-
var T = __webpack_require__(0);
|
|
821
|
-
|
|
822
|
-
var lodash_1 = __webpack_require__(2);
|
|
823
|
-
|
|
824
|
-
var i18n_1 = __webpack_require__(3);
|
|
825
|
-
|
|
826
|
-
var Message_1 = __webpack_require__(9);
|
|
827
|
-
|
|
828
|
-
var FixedSizeContainer_1 = __webpack_require__(13);
|
|
829
|
-
/**
|
|
830
|
-
* @method shouldShowIconPlaceholder
|
|
831
|
-
* @param {object} dataSources
|
|
832
|
-
* @param {boolean} loading
|
|
833
|
-
* @returns {boolean}
|
|
834
|
-
*/
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
var shouldShowIconPlaceholder = function shouldShowIconPlaceholder(dataSources) {
|
|
838
|
-
var loading = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
839
|
-
var data = lodash_1.get(dataSources, 'primary.data.columns[0]', undefined);
|
|
840
|
-
var noData = data === undefined;
|
|
841
|
-
var fields = lodash_1.get(dataSources, 'primary.data.fields[0]', undefined);
|
|
842
|
-
var noFields = fields === undefined;
|
|
843
|
-
return loading || noData || noFields;
|
|
844
|
-
};
|
|
845
|
-
|
|
846
|
-
exports.shouldShowIconPlaceholder = shouldShowIconPlaceholder;
|
|
847
|
-
var propTypes = {
|
|
848
|
-
icon: T.func,
|
|
849
|
-
width: T.oneOfType([T.string, T.number]),
|
|
850
|
-
height: T.oneOfType([T.string, T.number]),
|
|
851
|
-
// eslint-disable-next-line react/no-unused-prop-types
|
|
852
|
-
backgroundColor: T.string,
|
|
853
|
-
iconColor: T.string
|
|
854
|
-
};
|
|
855
|
-
/**
|
|
856
|
-
* @method IconPlaceholder
|
|
857
|
-
* @param {IconPlaceholderProps} props
|
|
858
|
-
* @returns {React.ReactElement}
|
|
859
|
-
*/
|
|
860
|
-
|
|
861
|
-
var IconPlaceholder = function IconPlaceholder(props) {
|
|
862
|
-
var width = props.width,
|
|
863
|
-
height = props.height,
|
|
864
|
-
icon = props.icon,
|
|
865
|
-
iconColor = props.iconColor;
|
|
866
|
-
|
|
867
|
-
if (icon) {
|
|
868
|
-
return React.createElement(icon, {
|
|
869
|
-
style: {
|
|
870
|
-
left: '50%',
|
|
871
|
-
top: '50%',
|
|
872
|
-
color: iconColor,
|
|
873
|
-
opacity: 0.15,
|
|
874
|
-
position: 'absolute',
|
|
875
|
-
transform: 'translate(-50%, -50%)'
|
|
876
|
-
},
|
|
877
|
-
width: '50%',
|
|
878
|
-
height: '50%'
|
|
879
|
-
});
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
return React.createElement(Message_1.default, {
|
|
883
|
-
width: width,
|
|
884
|
-
height: height,
|
|
885
|
-
level: "warning",
|
|
886
|
-
message: i18n_1._('No DataSource Connected')
|
|
887
|
-
});
|
|
888
|
-
};
|
|
889
|
-
|
|
890
|
-
IconPlaceholder.propTypes = propTypes;
|
|
891
|
-
IconPlaceholder.defaultProps = {
|
|
892
|
-
width: '100%',
|
|
893
|
-
height: 250
|
|
894
|
-
};
|
|
895
|
-
exports.default = FixedSizeContainer_1.default(IconPlaceholder);
|
|
896
|
-
|
|
897
|
-
/***/ }),
|
|
898
|
-
/* 27 */
|
|
904
|
+
/* 28 */
|
|
899
905
|
/***/ (function(module, exports, __webpack_require__) {
|
|
900
906
|
|
|
901
907
|
"use strict";
|
|
@@ -923,7 +929,7 @@ var VizCategory;
|
|
|
923
929
|
})(VizCategory = exports.VizCategory || (exports.VizCategory = {}));
|
|
924
930
|
|
|
925
931
|
/***/ }),
|
|
926
|
-
/*
|
|
932
|
+
/* 29 */
|
|
927
933
|
/***/ (function(module, exports, __webpack_require__) {
|
|
928
934
|
|
|
929
935
|
"use strict";
|
|
@@ -937,33 +943,37 @@ var React = __webpack_require__(1);
|
|
|
937
943
|
|
|
938
944
|
var lodash_1 = __webpack_require__(2);
|
|
939
945
|
|
|
940
|
-
var getSettingsFromThemedProps_1 = __webpack_require__(
|
|
946
|
+
var getSettingsFromThemedProps_1 = __webpack_require__(30);
|
|
941
947
|
|
|
942
|
-
var Options_1 = __webpack_require__(
|
|
948
|
+
var Options_1 = __webpack_require__(31);
|
|
943
949
|
|
|
944
|
-
var SanitizeProps_1 = __webpack_require__(
|
|
950
|
+
var SanitizeProps_1 = __webpack_require__(32);
|
|
951
|
+
|
|
952
|
+
var TimezoneContext_1 = __webpack_require__(19);
|
|
953
|
+
|
|
954
|
+
var moment_1 = __webpack_require__(33);
|
|
945
955
|
|
|
946
956
|
var styled_components_1 = __webpack_require__(4);
|
|
947
957
|
|
|
948
|
-
var SplunkVisualization_1 = __webpack_require__(
|
|
958
|
+
var SplunkVisualization_1 = __webpack_require__(34);
|
|
949
959
|
|
|
950
960
|
var VizBehavior_1 = __webpack_require__(5);
|
|
951
961
|
|
|
952
|
-
var getSorting_1 = __webpack_require__(
|
|
962
|
+
var getSorting_1 = __webpack_require__(26);
|
|
953
963
|
|
|
954
|
-
var getPagination_1 = __webpack_require__(
|
|
964
|
+
var getPagination_1 = __webpack_require__(27);
|
|
955
965
|
|
|
956
|
-
var useDeepMemo_1 = __webpack_require__(
|
|
966
|
+
var useDeepMemo_1 = __webpack_require__(37);
|
|
957
967
|
|
|
958
|
-
var JSONSchemaUtils_1 = __webpack_require__(
|
|
968
|
+
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
959
969
|
|
|
960
|
-
var MissingPropsMessage_1 = __webpack_require__(
|
|
970
|
+
var MissingPropsMessage_1 = __webpack_require__(38);
|
|
961
971
|
|
|
962
|
-
var withEditModeCover_1 = __webpack_require__(
|
|
972
|
+
var withEditModeCover_1 = __webpack_require__(39);
|
|
963
973
|
|
|
964
|
-
var withPlaceholder_1 = __webpack_require__(
|
|
974
|
+
var withPlaceholder_1 = __webpack_require__(40);
|
|
965
975
|
|
|
966
|
-
var hocUtils_1 = __webpack_require__(
|
|
976
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
967
977
|
/**
|
|
968
978
|
* hoc that wraps a pure react visualization in a Dashboard visualization
|
|
969
979
|
* @param {DashboardVizOpts} opts
|
|
@@ -996,6 +1006,23 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
996
1006
|
theme = props.theme,
|
|
997
1007
|
onRequestParamsChange = props.onRequestParamsChange;
|
|
998
1008
|
|
|
1009
|
+
var _React$useContext = React.useContext(TimezoneContext_1.default),
|
|
1010
|
+
serializedTimezone = _React$useContext.serializedTimezone;
|
|
1011
|
+
|
|
1012
|
+
if (serializedTimezone) {
|
|
1013
|
+
/*
|
|
1014
|
+
@splunk/moment currently does not allow us to customize the timezone on a per visualization basis.
|
|
1015
|
+
This ensures that if a timezone was provided via TimezoneContext @splunk/moment time formatting
|
|
1016
|
+
will use it.
|
|
1017
|
+
@TODO(pwied):
|
|
1018
|
+
- remove when we moved away from @splunk/moment
|
|
1019
|
+
- provide timezone context to dynamic option evaluation phase
|
|
1020
|
+
*/
|
|
1021
|
+
if (!moment_1.default.getDefaultSplunkTimezone()) {
|
|
1022
|
+
moment_1.default.setDefaultSplunkTimezone(serializedTimezone);
|
|
1023
|
+
}
|
|
1024
|
+
}
|
|
1025
|
+
|
|
999
1026
|
var themeFunc = function themeFunc(themeVar) {
|
|
1000
1027
|
var _a, _b;
|
|
1001
1028
|
|
|
@@ -1024,7 +1051,7 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1024
1051
|
console.error("unexpected error evaluating options: + ".concat(e.message));
|
|
1025
1052
|
return {};
|
|
1026
1053
|
}
|
|
1027
|
-
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources]); // useEffect hook needs to be initialized before any early returns
|
|
1054
|
+
}, [currentThemeFamily, currentThemeColorScheme, currentThemeDensity, options, context, dataSources, serializedTimezone]); // useEffect hook needs to be initialized before any early returns
|
|
1028
1055
|
// this is in accordance with the order of hook calls being the same on each render https://reactjs.org/docs/hooks-rules.html#explanation
|
|
1029
1056
|
|
|
1030
1057
|
React.useEffect(function () {
|
|
@@ -1147,25 +1174,31 @@ var withDashboardViz = function withDashboardViz(opts) {
|
|
|
1147
1174
|
exports.default = withDashboardViz;
|
|
1148
1175
|
|
|
1149
1176
|
/***/ }),
|
|
1150
|
-
/*
|
|
1177
|
+
/* 30 */
|
|
1151
1178
|
/***/ (function(module, exports) {
|
|
1152
1179
|
|
|
1153
1180
|
module.exports = require("@splunk/themes/getSettingsFromThemedProps");
|
|
1154
1181
|
|
|
1155
1182
|
/***/ }),
|
|
1156
|
-
/*
|
|
1183
|
+
/* 31 */
|
|
1157
1184
|
/***/ (function(module, exports) {
|
|
1158
1185
|
|
|
1159
1186
|
module.exports = require("@splunk/visualization-encoding/Options");
|
|
1160
1187
|
|
|
1161
1188
|
/***/ }),
|
|
1162
|
-
/*
|
|
1189
|
+
/* 32 */
|
|
1163
1190
|
/***/ (function(module, exports) {
|
|
1164
1191
|
|
|
1165
1192
|
module.exports = require("@splunk/visualizations-shared/SanitizeProps");
|
|
1166
1193
|
|
|
1167
1194
|
/***/ }),
|
|
1168
|
-
/*
|
|
1195
|
+
/* 33 */
|
|
1196
|
+
/***/ (function(module, exports) {
|
|
1197
|
+
|
|
1198
|
+
module.exports = require("@splunk/moment");
|
|
1199
|
+
|
|
1200
|
+
/***/ }),
|
|
1201
|
+
/* 34 */
|
|
1169
1202
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1170
1203
|
|
|
1171
1204
|
"use strict";
|
|
@@ -1183,7 +1216,7 @@ var T = __webpack_require__(0);
|
|
|
1183
1216
|
|
|
1184
1217
|
var lodash_1 = __webpack_require__(2);
|
|
1185
1218
|
|
|
1186
|
-
var VizActionHandler_1 = __webpack_require__(
|
|
1219
|
+
var VizActionHandler_1 = __webpack_require__(35); // this is identical to the initial height and width we use in BaseVisualization in dashboard-visualizations
|
|
1187
1220
|
|
|
1188
1221
|
|
|
1189
1222
|
exports.INITIAL_WIDTH = 250;
|
|
@@ -1316,7 +1349,7 @@ SplunkVisualization.defaultProps = {
|
|
|
1316
1349
|
exports.default = SplunkVisualization;
|
|
1317
1350
|
|
|
1318
1351
|
/***/ }),
|
|
1319
|
-
/*
|
|
1352
|
+
/* 35 */
|
|
1320
1353
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1321
1354
|
|
|
1322
1355
|
"use strict";
|
|
@@ -1353,7 +1386,7 @@ var DefaultVizActionHandler = /*#__PURE__*/function () {
|
|
|
1353
1386
|
exports.DefaultVizActionHandler = DefaultVizActionHandler;
|
|
1354
1387
|
|
|
1355
1388
|
/***/ }),
|
|
1356
|
-
/*
|
|
1389
|
+
/* 36 */
|
|
1357
1390
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1358
1391
|
|
|
1359
1392
|
"use strict";
|
|
@@ -1366,7 +1399,7 @@ exports.validSortDirs = void 0;
|
|
|
1366
1399
|
exports.validSortDirs = ['asc', 'desc', 'none'];
|
|
1367
1400
|
|
|
1368
1401
|
/***/ }),
|
|
1369
|
-
/*
|
|
1402
|
+
/* 37 */
|
|
1370
1403
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1371
1404
|
|
|
1372
1405
|
"use strict";
|
|
@@ -1411,7 +1444,7 @@ var useDeepMemo = function useDeepMemo(fn, dependencies) {
|
|
|
1411
1444
|
exports.useDeepMemo = useDeepMemo;
|
|
1412
1445
|
|
|
1413
1446
|
/***/ }),
|
|
1414
|
-
/*
|
|
1447
|
+
/* 38 */
|
|
1415
1448
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1416
1449
|
|
|
1417
1450
|
"use strict";
|
|
@@ -1491,7 +1524,7 @@ exports.MissingPropsMessage.defaultProps = {
|
|
|
1491
1524
|
exports.default = FixedSizeContainer_1.default(exports.MissingPropsMessage);
|
|
1492
1525
|
|
|
1493
1526
|
/***/ }),
|
|
1494
|
-
/*
|
|
1527
|
+
/* 39 */
|
|
1495
1528
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1496
1529
|
|
|
1497
1530
|
"use strict";
|
|
@@ -1505,14 +1538,14 @@ var React = __webpack_require__(1);
|
|
|
1505
1538
|
|
|
1506
1539
|
var styled_components_1 = __webpack_require__(4);
|
|
1507
1540
|
|
|
1508
|
-
var hocUtils_1 = __webpack_require__(
|
|
1541
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1509
1542
|
|
|
1510
1543
|
var Cover = styled_components_1.default.div.withConfig({
|
|
1511
1544
|
displayName: "withEditModeCover__Cover",
|
|
1512
1545
|
componentId: "sc-1gsbnxb-0"
|
|
1513
1546
|
})(["position:absolute;left:0;right:0;top:0;bottom:0;"]);
|
|
1514
1547
|
var Blocker = styled_components_1.default.div.attrs({
|
|
1515
|
-
'data-splunk-visualization-version': "24.
|
|
1548
|
+
'data-splunk-visualization-version': "24.5.0 - b75bfbe79"
|
|
1516
1549
|
}).withConfig({
|
|
1517
1550
|
displayName: "withEditModeCover__Blocker",
|
|
1518
1551
|
componentId: "sc-1gsbnxb-1"
|
|
@@ -1543,7 +1576,7 @@ var withEditModeCover = function withEditModeCover(Visualization, disableEditMod
|
|
|
1543
1576
|
exports.default = withEditModeCover;
|
|
1544
1577
|
|
|
1545
1578
|
/***/ }),
|
|
1546
|
-
/*
|
|
1579
|
+
/* 40 */
|
|
1547
1580
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1548
1581
|
|
|
1549
1582
|
"use strict";
|
|
@@ -1559,11 +1592,11 @@ var colorUtils_1 = __webpack_require__(12);
|
|
|
1559
1592
|
|
|
1560
1593
|
var variables_1 = __webpack_require__(11);
|
|
1561
1594
|
|
|
1562
|
-
var IconPlaceholder_1 = __webpack_require__(
|
|
1595
|
+
var IconPlaceholder_1 = __webpack_require__(25);
|
|
1563
1596
|
|
|
1564
1597
|
var VizBehavior_1 = __webpack_require__(5);
|
|
1565
1598
|
|
|
1566
|
-
var hocUtils_1 = __webpack_require__(
|
|
1599
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
1567
1600
|
|
|
1568
1601
|
var withPlaceholder = function withPlaceholder(Visualization) {
|
|
1569
1602
|
var useIconPlaceholder = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : IconPlaceholder_1.shouldShowIconPlaceholder;
|
|
@@ -1607,44 +1640,42 @@ var withPlaceholder = function withPlaceholder(Visualization) {
|
|
|
1607
1640
|
exports.default = withPlaceholder;
|
|
1608
1641
|
|
|
1609
1642
|
/***/ }),
|
|
1610
|
-
/*
|
|
1643
|
+
/* 41 */
|
|
1611
1644
|
/***/ (function(module, exports) {
|
|
1612
1645
|
|
|
1613
1646
|
module.exports = require("@babel/runtime/helpers/toConsumableArray");
|
|
1614
1647
|
|
|
1615
1648
|
/***/ }),
|
|
1616
|
-
/*
|
|
1617
|
-
/*
|
|
1649
|
+
/* 42 */,
|
|
1650
|
+
/* 43 */
|
|
1618
1651
|
/***/ (function(module, exports) {
|
|
1619
1652
|
|
|
1620
1653
|
module.exports = require("@splunk/visualization-color-palettes");
|
|
1621
1654
|
|
|
1622
1655
|
/***/ }),
|
|
1623
|
-
/*
|
|
1656
|
+
/* 44 */
|
|
1624
1657
|
/***/ (function(module, exports) {
|
|
1625
1658
|
|
|
1626
1659
|
module.exports = require("@splunk/visualization-icons/placeholders");
|
|
1627
1660
|
|
|
1628
1661
|
/***/ }),
|
|
1629
|
-
/*
|
|
1662
|
+
/* 45 */
|
|
1630
1663
|
/***/ (function(module, exports) {
|
|
1631
1664
|
|
|
1632
1665
|
module.exports = require("@splunk/visualization-icons");
|
|
1633
1666
|
|
|
1634
1667
|
/***/ }),
|
|
1635
|
-
/* 44 */,
|
|
1636
|
-
/* 45 */,
|
|
1637
1668
|
/* 46 */,
|
|
1638
1669
|
/* 47 */,
|
|
1639
1670
|
/* 48 */,
|
|
1640
|
-
/* 49
|
|
1671
|
+
/* 49 */,
|
|
1672
|
+
/* 50 */,
|
|
1673
|
+
/* 51 */
|
|
1641
1674
|
/***/ (function(module, exports) {
|
|
1642
1675
|
|
|
1643
1676
|
module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
1644
1677
|
|
|
1645
1678
|
/***/ }),
|
|
1646
|
-
/* 50 */,
|
|
1647
|
-
/* 51 */,
|
|
1648
1679
|
/* 52 */,
|
|
1649
1680
|
/* 53 */,
|
|
1650
1681
|
/* 54 */,
|
|
@@ -1658,24 +1689,24 @@ module.exports = require("@babel/runtime/helpers/slicedToArray");
|
|
|
1658
1689
|
/* 62 */,
|
|
1659
1690
|
/* 63 */,
|
|
1660
1691
|
/* 64 */,
|
|
1661
|
-
/* 65
|
|
1692
|
+
/* 65 */
|
|
1693
|
+
/***/ (function(module, exports) {
|
|
1694
|
+
|
|
1695
|
+
module.exports = require("@splunk/themes");
|
|
1696
|
+
|
|
1697
|
+
/***/ }),
|
|
1662
1698
|
/* 66 */,
|
|
1663
1699
|
/* 67 */,
|
|
1664
1700
|
/* 68 */,
|
|
1665
1701
|
/* 69 */,
|
|
1666
|
-
/* 70
|
|
1702
|
+
/* 70 */,
|
|
1703
|
+
/* 71 */,
|
|
1704
|
+
/* 72 */
|
|
1667
1705
|
/***/ (function(module, exports) {
|
|
1668
1706
|
|
|
1669
1707
|
module.exports = require("d3-scale");
|
|
1670
1708
|
|
|
1671
1709
|
/***/ }),
|
|
1672
|
-
/* 71 */
|
|
1673
|
-
/***/ (function(module, exports) {
|
|
1674
|
-
|
|
1675
|
-
module.exports = require("@splunk/themes");
|
|
1676
|
-
|
|
1677
|
-
/***/ }),
|
|
1678
|
-
/* 72 */,
|
|
1679
1710
|
/* 73 */,
|
|
1680
1711
|
/* 74 */,
|
|
1681
1712
|
/* 75 */,
|
|
@@ -1704,21 +1735,24 @@ module.exports = require("@splunk/themes");
|
|
|
1704
1735
|
/* 98 */,
|
|
1705
1736
|
/* 99 */,
|
|
1706
1737
|
/* 100 */,
|
|
1707
|
-
/* 101
|
|
1738
|
+
/* 101 */,
|
|
1739
|
+
/* 102 */,
|
|
1740
|
+
/* 103 */,
|
|
1741
|
+
/* 104 */
|
|
1708
1742
|
/***/ (function(module, exports) {
|
|
1709
1743
|
|
|
1710
1744
|
module.exports = require("@splunk/visualization-encoding/utils/dsl");
|
|
1711
1745
|
|
|
1712
1746
|
/***/ }),
|
|
1713
|
-
/*
|
|
1747
|
+
/* 105 */
|
|
1714
1748
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1715
1749
|
|
|
1716
1750
|
"use strict";
|
|
1717
1751
|
|
|
1718
1752
|
|
|
1719
|
-
var _slicedToArray = __webpack_require__(
|
|
1753
|
+
var _slicedToArray = __webpack_require__(51);
|
|
1720
1754
|
|
|
1721
|
-
var _toConsumableArray = __webpack_require__(
|
|
1755
|
+
var _toConsumableArray = __webpack_require__(41);
|
|
1722
1756
|
|
|
1723
1757
|
Object.defineProperty(exports, "__esModule", {
|
|
1724
1758
|
value: true
|
|
@@ -1727,11 +1761,11 @@ exports.getGlobalLayerBoundaries = exports.isValidLatLon = exports.bakeBubbleDat
|
|
|
1727
1761
|
|
|
1728
1762
|
var lodash_1 = __webpack_require__(2);
|
|
1729
1763
|
|
|
1730
|
-
var d3_scale_1 = __webpack_require__(
|
|
1764
|
+
var d3_scale_1 = __webpack_require__(72);
|
|
1731
1765
|
|
|
1732
1766
|
var colorUtils_1 = __webpack_require__(12);
|
|
1733
1767
|
|
|
1734
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
1768
|
+
var visualization_color_palettes_1 = __webpack_require__(43);
|
|
1735
1769
|
|
|
1736
1770
|
exports.MAX_LATITUDE = 90;
|
|
1737
1771
|
exports.MIN_LATITUDE = -90;
|
|
@@ -2014,12 +2048,8 @@ var bakeBubbleData = function bakeBubbleData(layer) {
|
|
|
2014
2048
|
|
|
2015
2049
|
|
|
2016
2050
|
var sanitizedBubbleSize = exports.sanitizeValues(layer.bubbleSize);
|
|
2017
|
-
var transposedBubbleSize
|
|
2018
|
-
|
|
2019
|
-
});
|
|
2020
|
-
var transposedSanitizedBubbleSize = sanitizedBubbleSize.map(function (n) {
|
|
2021
|
-
return [n];
|
|
2022
|
-
});
|
|
2051
|
+
var transposedBubbleSize;
|
|
2052
|
+
var transposedSanitizedBubbleSize;
|
|
2023
2053
|
var isPie = false; // format array if bubbleSize is passed as an array of array (data frame)
|
|
2024
2054
|
|
|
2025
2055
|
if (Array.isArray(layer.bubbleSize[0])) {
|
|
@@ -2036,6 +2066,13 @@ var bakeBubbleData = function bakeBubbleData(layer) {
|
|
|
2036
2066
|
if (layer.bubbleSize.length > 1) {
|
|
2037
2067
|
isPie = true;
|
|
2038
2068
|
}
|
|
2069
|
+
} else {
|
|
2070
|
+
transposedBubbleSize = layer.bubbleSize.map(function (n) {
|
|
2071
|
+
return [n];
|
|
2072
|
+
});
|
|
2073
|
+
transposedSanitizedBubbleSize = sanitizedBubbleSize.map(function (n) {
|
|
2074
|
+
return [n];
|
|
2075
|
+
});
|
|
2039
2076
|
}
|
|
2040
2077
|
|
|
2041
2078
|
if (!transposedBubbleSize || !transposedBubbleSize.length) {
|
|
@@ -2136,15 +2173,12 @@ var getGlobalLayerBoundaries = function getGlobalLayerBoundaries(layers) {
|
|
|
2136
2173
|
exports.getGlobalLayerBoundaries = getGlobalLayerBoundaries;
|
|
2137
2174
|
|
|
2138
2175
|
/***/ }),
|
|
2139
|
-
/*
|
|
2176
|
+
/* 106 */
|
|
2140
2177
|
/***/ (function(module, exports) {
|
|
2141
2178
|
|
|
2142
2179
|
module.exports = require("@splunk/react-ui/Popover");
|
|
2143
2180
|
|
|
2144
2181
|
/***/ }),
|
|
2145
|
-
/* 104 */,
|
|
2146
|
-
/* 105 */,
|
|
2147
|
-
/* 106 */,
|
|
2148
2182
|
/* 107 */,
|
|
2149
2183
|
/* 108 */,
|
|
2150
2184
|
/* 109 */,
|
|
@@ -2164,19 +2198,21 @@ module.exports = require("@splunk/react-ui/Popover");
|
|
|
2164
2198
|
/* 123 */,
|
|
2165
2199
|
/* 124 */,
|
|
2166
2200
|
/* 125 */,
|
|
2167
|
-
/* 126
|
|
2201
|
+
/* 126 */,
|
|
2202
|
+
/* 127 */,
|
|
2203
|
+
/* 128 */
|
|
2168
2204
|
/***/ (function(module, exports) {
|
|
2169
2205
|
|
|
2170
2206
|
module.exports = require("maplibre-gl");
|
|
2171
2207
|
|
|
2172
2208
|
/***/ }),
|
|
2173
|
-
/*
|
|
2209
|
+
/* 129 */
|
|
2174
2210
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2175
2211
|
|
|
2176
2212
|
"use strict";
|
|
2177
2213
|
|
|
2178
2214
|
|
|
2179
|
-
var _slicedToArray = __webpack_require__(
|
|
2215
|
+
var _slicedToArray = __webpack_require__(51);
|
|
2180
2216
|
|
|
2181
2217
|
var __rest = this && this.__rest || function (s, e) {
|
|
2182
2218
|
var t = {};
|
|
@@ -2195,7 +2231,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2195
2231
|
value: true
|
|
2196
2232
|
});
|
|
2197
2233
|
|
|
2198
|
-
var maplibre_gl_1 = __webpack_require__(
|
|
2234
|
+
var maplibre_gl_1 = __webpack_require__(128);
|
|
2199
2235
|
|
|
2200
2236
|
var React = __webpack_require__(1);
|
|
2201
2237
|
|
|
@@ -2204,10 +2240,11 @@ var Tooltip_1 = __webpack_require__(202);
|
|
|
2204
2240
|
var MarkerWrapper = function MarkerWrapper(_a) {
|
|
2205
2241
|
var longitude = _a.longitude,
|
|
2206
2242
|
latitude = _a.latitude,
|
|
2207
|
-
|
|
2243
|
+
_a$additionalFields = _a.additionalFields,
|
|
2244
|
+
additionalFields = _a$additionalFields === void 0 ? [] : _a$additionalFields,
|
|
2208
2245
|
map = _a.map,
|
|
2209
2246
|
children = _a.children,
|
|
2210
|
-
otherProps = __rest(_a, ["longitude", "latitude", "
|
|
2247
|
+
otherProps = __rest(_a, ["longitude", "latitude", "additionalFields", "map", "children"]);
|
|
2211
2248
|
|
|
2212
2249
|
var container = React.useRef();
|
|
2213
2250
|
var marker = React.useRef();
|
|
@@ -2258,15 +2295,13 @@ var MarkerWrapper = function MarkerWrapper(_a) {
|
|
|
2258
2295
|
anchor: container.current,
|
|
2259
2296
|
latitude: latitude,
|
|
2260
2297
|
longitude: longitude,
|
|
2261
|
-
|
|
2298
|
+
additionalFields: additionalFields
|
|
2262
2299
|
}));
|
|
2263
2300
|
};
|
|
2264
2301
|
|
|
2265
2302
|
exports.default = MarkerWrapper;
|
|
2266
2303
|
|
|
2267
2304
|
/***/ }),
|
|
2268
|
-
/* 128 */,
|
|
2269
|
-
/* 129 */,
|
|
2270
2305
|
/* 130 */,
|
|
2271
2306
|
/* 131 */,
|
|
2272
2307
|
/* 132 */,
|
|
@@ -2330,12 +2365,15 @@ exports.default = MarkerWrapper;
|
|
|
2330
2365
|
/* 190 */,
|
|
2331
2366
|
/* 191 */,
|
|
2332
2367
|
/* 192 */,
|
|
2333
|
-
/* 193
|
|
2368
|
+
/* 193 */,
|
|
2369
|
+
/* 194 */
|
|
2334
2370
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2335
2371
|
|
|
2336
2372
|
"use strict";
|
|
2337
2373
|
|
|
2338
2374
|
|
|
2375
|
+
var _slicedToArray = __webpack_require__(51);
|
|
2376
|
+
|
|
2339
2377
|
var __rest = this && this.__rest || function (s, e) {
|
|
2340
2378
|
var t = {};
|
|
2341
2379
|
|
|
@@ -2359,13 +2397,11 @@ var React = __webpack_require__(1);
|
|
|
2359
2397
|
|
|
2360
2398
|
var colorUtils_1 = __webpack_require__(12);
|
|
2361
2399
|
|
|
2362
|
-
var
|
|
2400
|
+
var dsl_1 = __webpack_require__(104);
|
|
2363
2401
|
|
|
2364
|
-
var
|
|
2402
|
+
var JSONSchemaUtils_1 = __webpack_require__(24);
|
|
2365
2403
|
|
|
2366
|
-
var
|
|
2367
|
-
|
|
2368
|
-
var hocUtils_1 = __webpack_require__(7);
|
|
2404
|
+
var hocUtils_1 = __webpack_require__(8);
|
|
2369
2405
|
|
|
2370
2406
|
var PureMap_1 = __webpack_require__(195);
|
|
2371
2407
|
|
|
@@ -2375,7 +2411,7 @@ var config_1 = __webpack_require__(204);
|
|
|
2375
2411
|
|
|
2376
2412
|
exports.config = config_1.default;
|
|
2377
2413
|
|
|
2378
|
-
var withDashboardViz_1 = __webpack_require__(
|
|
2414
|
+
var withDashboardViz_1 = __webpack_require__(29); // util fn extracted from PureParallelCoordinates that transforms data structure to array of objects
|
|
2379
2415
|
// TODO: pull this fn into common utils and utilize this fn in ParallelCoordinates
|
|
2380
2416
|
|
|
2381
2417
|
|
|
@@ -2406,14 +2442,14 @@ var convertToArrOfObjects = function convertToArrOfObjects(columns, fields) {
|
|
|
2406
2442
|
|
|
2407
2443
|
exports.convertToArrOfObjects = convertToArrOfObjects;
|
|
2408
2444
|
|
|
2409
|
-
var computeVizProps = function computeVizProps(
|
|
2410
|
-
var themeFunc = _ref.themeFunc,
|
|
2411
|
-
theme = _ref.theme,
|
|
2412
|
-
layers = _ref.layers,
|
|
2413
|
-
dataSources = _ref.dataSources;
|
|
2414
|
-
|
|
2445
|
+
var computeVizProps = function computeVizProps(props) {
|
|
2415
2446
|
var _a, _b;
|
|
2416
2447
|
|
|
2448
|
+
var themeFunc = props.themeFunc,
|
|
2449
|
+
theme = props.theme,
|
|
2450
|
+
layers = props.layers,
|
|
2451
|
+
dataSources = props.dataSources,
|
|
2452
|
+
onOptionsChange = props.onOptionsChange;
|
|
2417
2453
|
var themeColorVariables = ['controlBackgroundColor', 'controlForegroundColor'];
|
|
2418
2454
|
var themeColors = {};
|
|
2419
2455
|
themeColorVariables.forEach(function (variable) {
|
|
@@ -2427,7 +2463,7 @@ var computeVizProps = function computeVizProps(_ref) {
|
|
|
2427
2463
|
|
|
2428
2464
|
var transformedData = exports.convertToArrOfObjects(dataSourceData.columns, dataSourceData.fields);
|
|
2429
2465
|
layers.forEach(function (l) {
|
|
2430
|
-
var _a
|
|
2466
|
+
var _a; // add key `geobin` to the layer object if the data is returned from geostats commands
|
|
2431
2467
|
// to distinguish geostats commands from table commands
|
|
2432
2468
|
|
|
2433
2469
|
|
|
@@ -2438,26 +2474,81 @@ var computeVizProps = function computeVizProps(_ref) {
|
|
|
2438
2474
|
|
|
2439
2475
|
if (geobinIdx > -1) {
|
|
2440
2476
|
layer.geobin = dataSourceData.columns[geobinIdx];
|
|
2441
|
-
}
|
|
2477
|
+
} // Sanitize colors within layers
|
|
2442
2478
|
|
|
2443
|
-
layer.bubbleSizeFields = ((_b = dataSourceData.fields) !== null && _b !== void 0 ? _b : []).map(function (field) {
|
|
2444
|
-
return typeof field === 'string' ? field : field.name;
|
|
2445
|
-
}).filter(function (field, index) {
|
|
2446
|
-
var _a, _b;
|
|
2447
|
-
|
|
2448
|
-
return !['latitude', 'longitude', 'geobin'].includes(field) && types_1.inferDataTypeFromData((_b = (_a = dataSourceData.columns) === null || _a === void 0 ? void 0 : _a[index]) !== null && _b !== void 0 ? _b : []) === 'number';
|
|
2449
|
-
}); // Sanitize colors within layers
|
|
2450
2479
|
|
|
2451
2480
|
layer.seriesColors = Array.isArray(layer.seriesColors) ? colorUtils_1.sanitizeArrayOfColors(layer.seriesColors) : undefined;
|
|
2452
2481
|
layer.dataColors = Array.isArray(layer.dataColors) ? colorUtils_1.sanitizeArrayOfColors(layer.dataColors) : undefined;
|
|
2453
2482
|
layer.metadata = transformedData;
|
|
2454
2483
|
});
|
|
2455
|
-
return Object.assign(Object.assign(Object.assign({}, themeColors), {
|
|
2484
|
+
return Object.assign(Object.assign(Object.assign(Object.assign({}, themeColors), {
|
|
2456
2485
|
themeColorScheme: themeColorScheme
|
|
2457
|
-
}), layers)
|
|
2486
|
+
}), layers), {
|
|
2487
|
+
onOptionsChange: onOptionsChange
|
|
2488
|
+
});
|
|
2458
2489
|
};
|
|
2459
2490
|
|
|
2460
|
-
exports.computeVizProps = computeVizProps;
|
|
2491
|
+
exports.computeVizProps = computeVizProps;
|
|
2492
|
+
|
|
2493
|
+
var withTooltipFields = function withTooltipFields(Viz) {
|
|
2494
|
+
var VizWithTooltipFields = function VizWithTooltipFields(_a) {
|
|
2495
|
+
var _b;
|
|
2496
|
+
|
|
2497
|
+
var dataSources = _a.dataSources,
|
|
2498
|
+
options = _a.options,
|
|
2499
|
+
otherProps = __rest(_a, ["dataSources", "options"]);
|
|
2500
|
+
|
|
2501
|
+
if (!dataSources || !dataSources.primary || !dataSources.primary.data) {
|
|
2502
|
+
return React.createElement(Viz, Object.assign({}, otherProps, {
|
|
2503
|
+
options: options
|
|
2504
|
+
}));
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
if ((_b = options.layers) === null || _b === void 0 ? void 0 : _b.length) {
|
|
2508
|
+
options.layers.forEach(function (l) {
|
|
2509
|
+
var _a;
|
|
2510
|
+
|
|
2511
|
+
var layer = l;
|
|
2512
|
+
|
|
2513
|
+
if (layer.type === 'bubble') {
|
|
2514
|
+
var defaultOptions = JSONSchemaUtils_1.pickFieldFromJSONSchema(config_1.default.optionsSchema, 'default');
|
|
2515
|
+
|
|
2516
|
+
var _defaultOptions$layer = defaultOptions.layers.filter(function (_ref) {
|
|
2517
|
+
var type = _ref.type;
|
|
2518
|
+
return type === 'bubble';
|
|
2519
|
+
}),
|
|
2520
|
+
_defaultOptions$layer2 = _slicedToArray(_defaultOptions$layer, 1),
|
|
2521
|
+
defaultBubbleLayer = _defaultOptions$layer2[0];
|
|
2522
|
+
|
|
2523
|
+
layer.bubbleSizeFields = dsl_1.getFieldsFromDSL((_a = layer.bubbleSize) !== null && _a !== void 0 ? _a : defaultBubbleLayer.bubbleSize, dataSources);
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
var fields = dataSources.primary.data.fields;
|
|
2527
|
+
|
|
2528
|
+
if (Array.isArray(layer.additionalTooltipFields) && Array.isArray(fields) && fields.length) {
|
|
2529
|
+
var _layer$bubbleSizeFiel = layer.bubbleSizeFields,
|
|
2530
|
+
bubbleSizeFields = _layer$bubbleSizeFiel === void 0 ? [] : _layer$bubbleSizeFiel;
|
|
2531
|
+
layer.additionalTooltipFields = layer.additionalTooltipFields.filter(function (field) {
|
|
2532
|
+
return (typeof fields[0] === 'string' ? fields.includes(field) : fields.map(function (f) {
|
|
2533
|
+
return f.name;
|
|
2534
|
+
}).includes(field)) && !bubbleSizeFields.includes(field);
|
|
2535
|
+
});
|
|
2536
|
+
}
|
|
2537
|
+
});
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
return React.createElement(Viz, Object.assign({
|
|
2541
|
+
dataSources: dataSources,
|
|
2542
|
+
options: options
|
|
2543
|
+
}, otherProps));
|
|
2544
|
+
};
|
|
2545
|
+
|
|
2546
|
+
VizWithTooltipFields.propTypes = Viz.propTypes;
|
|
2547
|
+
VizWithTooltipFields.defaultProps = Viz.defaultProps;
|
|
2548
|
+
VizWithTooltipFields.config = Viz.config;
|
|
2549
|
+
return VizWithTooltipFields;
|
|
2550
|
+
}; // HOC for stripping the internal fields for Maps
|
|
2551
|
+
|
|
2461
2552
|
|
|
2462
2553
|
var withoutInternalFields = function withoutInternalFields(Viz) {
|
|
2463
2554
|
// eslint-disable-next-line react/display-name
|
|
@@ -2513,6 +2604,8 @@ var withoutInternalFields = function withoutInternalFields(Viz) {
|
|
|
2513
2604
|
var withNullToZeros = function withNullToZeros(Viz) {
|
|
2514
2605
|
// eslint-disable-next-line react/display-name
|
|
2515
2606
|
var VizWithColumnsNullToZeros = function VizWithColumnsNullToZeros(_a) {
|
|
2607
|
+
var _b, _c;
|
|
2608
|
+
|
|
2516
2609
|
var dataSources = _a.dataSources,
|
|
2517
2610
|
options = _a.options,
|
|
2518
2611
|
otherProps = __rest(_a, ["dataSources", "options"]);
|
|
@@ -2528,7 +2621,7 @@ var withNullToZeros = function withNullToZeros(Viz) {
|
|
|
2528
2621
|
var newColumns = columns;
|
|
2529
2622
|
var mergedOptions = hocUtils_1.deepMergeWithArrayPrimitiveOverrides({}, options, JSONSchemaUtils_1.pickFieldFromJSONSchema(config_1.default.optionsSchema, 'default'));
|
|
2530
2623
|
|
|
2531
|
-
if (
|
|
2624
|
+
if (((_c = (_b = mergedOptions.layers) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.type) === 'bubble') {
|
|
2532
2625
|
var latitudeField = dsl_1.getFieldsFromDSL(mergedOptions.layers[0].latitude, dataSources)[0] || '';
|
|
2533
2626
|
var longitudeField = dsl_1.getFieldsFromDSL(mergedOptions.layers[0].longitude, dataSources)[0] || '';
|
|
2534
2627
|
var excludedFields = [latitudeField, longitudeField, 'geobin'];
|
|
@@ -2571,7 +2664,7 @@ var withNullToZeros = function withNullToZeros(Viz) {
|
|
|
2571
2664
|
return VizWithColumnsNullToZeros;
|
|
2572
2665
|
};
|
|
2573
2666
|
|
|
2574
|
-
var Map = withoutInternalFields(withNullToZeros(withDashboardViz_1.default({
|
|
2667
|
+
var Map = withoutInternalFields(withTooltipFields(withNullToZeros(withDashboardViz_1.default({
|
|
2575
2668
|
ReactViz: PureMap_1.default,
|
|
2576
2669
|
vizConfig: config_1.default,
|
|
2577
2670
|
computeVizProps: exports.computeVizProps,
|
|
@@ -2579,17 +2672,11 @@ var Map = withoutInternalFields(withNullToZeros(withDashboardViz_1.default({
|
|
|
2579
2672
|
useIconPlaceholder: function useIconPlaceholder() {
|
|
2580
2673
|
return false;
|
|
2581
2674
|
}
|
|
2582
|
-
})));
|
|
2675
|
+
}))));
|
|
2583
2676
|
var themes = config_1.default.themes;
|
|
2584
2677
|
exports.themes = themes;
|
|
2585
2678
|
exports.default = Map;
|
|
2586
2679
|
|
|
2587
|
-
/***/ }),
|
|
2588
|
-
/* 194 */
|
|
2589
|
-
/***/ (function(module, exports) {
|
|
2590
|
-
|
|
2591
|
-
module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
2592
|
-
|
|
2593
2680
|
/***/ }),
|
|
2594
2681
|
/* 195 */
|
|
2595
2682
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -2597,7 +2684,7 @@ module.exports = require("@splunk/visualization-encoding/utils/types");
|
|
|
2597
2684
|
"use strict";
|
|
2598
2685
|
|
|
2599
2686
|
|
|
2600
|
-
var _slicedToArray = __webpack_require__(
|
|
2687
|
+
var _slicedToArray = __webpack_require__(51);
|
|
2601
2688
|
|
|
2602
2689
|
Object.defineProperty(exports, "__esModule", {
|
|
2603
2690
|
value: true
|
|
@@ -2614,15 +2701,13 @@ var T = __webpack_require__(0);
|
|
|
2614
2701
|
|
|
2615
2702
|
var chroma = __webpack_require__(196);
|
|
2616
2703
|
|
|
2617
|
-
var maplibre_gl_1 = __webpack_require__(
|
|
2704
|
+
var maplibre_gl_1 = __webpack_require__(128);
|
|
2618
2705
|
|
|
2619
2706
|
var MapContext_1 = __webpack_require__(197);
|
|
2620
2707
|
|
|
2621
2708
|
var PureMapContainer_1 = __webpack_require__(198);
|
|
2622
2709
|
|
|
2623
|
-
__webpack_require__(
|
|
2624
|
-
|
|
2625
|
-
var MapUtils_1 = __webpack_require__(102);
|
|
2710
|
+
var MapUtils_1 = __webpack_require__(105);
|
|
2626
2711
|
|
|
2627
2712
|
var ClusterLayer_1 = __webpack_require__(200);
|
|
2628
2713
|
|
|
@@ -2660,7 +2745,8 @@ var PureMap = function PureMap(props) {
|
|
|
2660
2745
|
themeColorScheme = props.themeColorScheme,
|
|
2661
2746
|
zoom = props.zoom,
|
|
2662
2747
|
onMapLoad = props.onMapLoad,
|
|
2663
|
-
onMapClick = props.onMapClick
|
|
2748
|
+
onMapClick = props.onMapClick,
|
|
2749
|
+
onOptionsChange = props.onOptionsChange;
|
|
2664
2750
|
|
|
2665
2751
|
var _react_1$useContext = react_1.useContext(MapContext_1.default),
|
|
2666
2752
|
defaultTileConfig = _react_1$useContext.defaultTileConfig,
|
|
@@ -2707,16 +2793,15 @@ var PureMap = function PureMap(props) {
|
|
|
2707
2793
|
|
|
2708
2794
|
return zoom;
|
|
2709
2795
|
}, [zoom]);
|
|
2710
|
-
|
|
2711
|
-
var fitMapToContent = function fitMapToContent() {
|
|
2712
|
-
var lngLatBounds = MapUtils_1.getGlobalLayerBoundaries([layers[0]]);
|
|
2713
|
-
map.current.fitBounds(lngLatBounds, {
|
|
2714
|
-
padding: MapUtils_1.MAX_BUBBLE_RADIUS + 5,
|
|
2715
|
-
animate: false
|
|
2716
|
-
});
|
|
2717
|
-
};
|
|
2718
|
-
|
|
2719
2796
|
var initializeMap = react_1.useCallback(function (mapStyle) {
|
|
2797
|
+
var fitMapToContent = function fitMapToContent() {
|
|
2798
|
+
var lngLatBounds = MapUtils_1.getGlobalLayerBoundaries([layers[0]]);
|
|
2799
|
+
map.current.fitBounds(lngLatBounds, {
|
|
2800
|
+
padding: MapUtils_1.MAX_BUBBLE_RADIUS + 5,
|
|
2801
|
+
animate: false
|
|
2802
|
+
});
|
|
2803
|
+
};
|
|
2804
|
+
|
|
2720
2805
|
map.current = new maplibre_gl_1.Map(Object.assign({
|
|
2721
2806
|
container: basemapContainer.current,
|
|
2722
2807
|
preserveDrawingBuffer: true,
|
|
@@ -2740,13 +2825,26 @@ var PureMap = function PureMap(props) {
|
|
|
2740
2825
|
});
|
|
2741
2826
|
map.current.on('zoomend', function () {
|
|
2742
2827
|
setCurrentZoomLevel(map.current.getZoom());
|
|
2828
|
+
}); // drag
|
|
2829
|
+
|
|
2830
|
+
map.current.on('dragend', function () {
|
|
2831
|
+
var newCenter = map.current.getCenter();
|
|
2832
|
+
onOptionsChange({
|
|
2833
|
+
center: [newCenter.lat, newCenter.lng]
|
|
2834
|
+
});
|
|
2835
|
+
}); // zoom
|
|
2836
|
+
|
|
2837
|
+
map.current.on('zoomend', function () {
|
|
2838
|
+
onOptionsChange({
|
|
2839
|
+
zoom: map.current.getZoom()
|
|
2840
|
+
});
|
|
2743
2841
|
}); // zoom
|
|
2744
2842
|
|
|
2745
2843
|
zoomControl.current = new maplibre_gl_1.NavigationControl({
|
|
2746
2844
|
showCompass: false
|
|
2747
2845
|
});
|
|
2748
2846
|
map.current.addControl(zoomControl.current, 'top-left');
|
|
2749
|
-
}, [lngLatCenter, zoomLevel, layers.length
|
|
2847
|
+
}, [lngLatCenter, zoomLevel, layers.length]);
|
|
2750
2848
|
var initializeScale = react_1.useCallback(function () {
|
|
2751
2849
|
scaleControl.current = new maplibre_gl_1.ScaleControl({
|
|
2752
2850
|
maxWidth: 70,
|
|
@@ -2880,7 +2978,7 @@ PureMap.propTypes = {
|
|
|
2880
2978
|
showInLegend: T.bool,
|
|
2881
2979
|
dataColors: T.oneOfType([T.string, T.arrayOf(T.string)]),
|
|
2882
2980
|
seriesColors: T.arrayOf(T.string),
|
|
2883
|
-
|
|
2981
|
+
additionalTooltipFields: T.arrayOf(T.string),
|
|
2884
2982
|
resultLimit: T.number
|
|
2885
2983
|
})),
|
|
2886
2984
|
scaleUnit: T.string,
|
|
@@ -2888,7 +2986,8 @@ PureMap.propTypes = {
|
|
|
2888
2986
|
themeColorScheme: T.string,
|
|
2889
2987
|
zoom: T.number,
|
|
2890
2988
|
onMapLoad: T.func,
|
|
2891
|
-
onMapClick: T.func
|
|
2989
|
+
onMapClick: T.func,
|
|
2990
|
+
onOptionsChange: T.func
|
|
2892
2991
|
};
|
|
2893
2992
|
PureMap.defaultProps = {
|
|
2894
2993
|
mode: 'view',
|
|
@@ -2902,7 +3001,8 @@ PureMap.defaultProps = {
|
|
|
2902
3001
|
layers: [],
|
|
2903
3002
|
themeColorScheme: 'dark',
|
|
2904
3003
|
onMapLoad: lodash_1.noop,
|
|
2905
|
-
onMapClick: lodash_1.noop
|
|
3004
|
+
onMapClick: lodash_1.noop,
|
|
3005
|
+
onOptionsChange: lodash_1.noop
|
|
2906
3006
|
};
|
|
2907
3007
|
exports.default = PureMap;
|
|
2908
3008
|
|
|
@@ -2935,10 +3035,12 @@ var lodash_1 = __webpack_require__(2);
|
|
|
2935
3035
|
|
|
2936
3036
|
var style_1 = __webpack_require__(14);
|
|
2937
3037
|
|
|
3038
|
+
var maplibre_gl_css_1 = __webpack_require__(199);
|
|
3039
|
+
|
|
2938
3040
|
var PureMapContainer = styled_components_1.default.div.withConfig({
|
|
2939
3041
|
displayName: "PureMapContainer",
|
|
2940
3042
|
componentId: "sc-1gjwxfv-0"
|
|
2941
|
-
})(["overflow:hidden;position:relative;z-index:0;background-color:", ";", ";.maplibregl-ctrl-top-left{position:absolute;top:12px;left:16px;.maplibregl-ctrl-group{width:40px !important;height:87px !important;border-radius:4px;margin:8px 0px;background-color:", ";box-shadow:0px 26px 103px rgba(0,0,0,0.64),0px 11px 18px rgba(0,0,0,0.32),0px 3px 6px rgba(0,0,0,0.3);& button{width:40px;height:43px;border-top:0;}.mapboxgl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url('data:image/svg+xml;charset=UTF-8,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9 1C9 0.447715 8.55229 0 8 0C7.44772 0 7 0.447715 7 1V7H1C0.447715 7 0 7.44772 0 8C0 8.55229 0.447715 9 1 9H7V15C7 15.5523 7.44772 16 8 16C8.55229 16 9 15.5523 9 15V9H15C15.5523 9 16 8.55229 16 8C16 7.44772 15.5523 7 15 7H9V1Z\" fill=\"", "\" fill-opacity=\"", "\" /></svg>');}.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url('data:image/svg+xml;charset=UTF-8,<svg width=\"14\" height=\"3\" viewBox=\"0 0 14 3\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0 1.99707C0 1.44479 0.447715 0.99707 1 0.99707H13C13.5523 0.99707 14 1.44479 14 1.99707C14 2.54936 13.5523 2.99707 13 2.99707H1C0.447715 2.99707 0 2.54936 0 1.99707Z\" fill=\"", "\" fill-opacity=\"", "\" /></svg>');}}}.maplibregl-ctrl-bottom-left{display:", ";position:absolute;z-index:0;bottom:16px;left:12px;width:86px;height:29px;border-radius:4px;margin:0;background-color:", ";box-shadow:0px 26px 103px rgba(0,0,0,0.13),0px 11px 18px rgba(0,0,0,0.06),0px 3px 6px rgba(0,0,0,0.06);.maplibregl-ctrl-scale{background-color:", ";color:", ";border:2px solid ", ";border-top:0;border-left:0;border-right:0;padding:0;margin:6px 8px 8px 8px;line-height:13px;letter-spacing:0.02em;font-family:sans-serif;font-size:10px;}}"], function (props) {
|
|
3043
|
+
})(["", " overflow:hidden;position:relative;z-index:0;background-color:", ";", ";.maplibregl-ctrl-top-left{position:absolute;top:12px;left:16px;.maplibregl-ctrl-group{width:40px !important;height:87px !important;border-radius:4px;margin:8px 0px;background-color:", ";box-shadow:0px 26px 103px rgba(0,0,0,0.64),0px 11px 18px rgba(0,0,0,0.32),0px 3px 6px rgba(0,0,0,0.3);& button{width:40px;height:43px;border-top:0;}.mapboxgl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url('data:image/svg+xml;charset=UTF-8,<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M9 1C9 0.447715 8.55229 0 8 0C7.44772 0 7 0.447715 7 1V7H1C0.447715 7 0 7.44772 0 8C0 8.55229 0.447715 9 1 9H7V15C7 15.5523 7.44772 16 8 16C8.55229 16 9 15.5523 9 15V9H15C15.5523 9 16 8.55229 16 8C16 7.44772 15.5523 7 15 7H9V1Z\" fill=\"", "\" fill-opacity=\"", "\" /></svg>');}.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url('data:image/svg+xml;charset=UTF-8,<svg width=\"14\" height=\"3\" viewBox=\"0 0 14 3\" xmlns=\"http://www.w3.org/2000/svg\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M0 1.99707C0 1.44479 0.447715 0.99707 1 0.99707H13C13.5523 0.99707 14 1.44479 14 1.99707C14 2.54936 13.5523 2.99707 13 2.99707H1C0.447715 2.99707 0 2.54936 0 1.99707Z\" fill=\"", "\" fill-opacity=\"", "\" /></svg>');}}}.maplibregl-ctrl-bottom-left{display:", ";position:absolute;z-index:0;bottom:16px;left:12px;width:86px;height:29px;border-radius:4px;margin:0;background-color:", ";box-shadow:0px 26px 103px rgba(0,0,0,0.13),0px 11px 18px rgba(0,0,0,0.06),0px 3px 6px rgba(0,0,0,0.06);.maplibregl-ctrl-scale{background-color:", ";color:", ";border:2px solid ", ";border-top:0;border-left:0;border-right:0;padding:0;margin:6px 8px 8px 8px;line-height:13px;letter-spacing:0.02em;font-family:sans-serif;font-size:10px;}}"], maplibre_gl_css_1.default, function (props) {
|
|
2942
3044
|
return props.backgroundColor;
|
|
2943
3045
|
}, function (props) {
|
|
2944
3046
|
return style_1.toDimension(lodash_1.pick(props, ['width', 'height']));
|
|
@@ -2967,9 +3069,11 @@ exports.default = PureMapContainer;
|
|
|
2967
3069
|
|
|
2968
3070
|
/***/ }),
|
|
2969
3071
|
/* 199 */
|
|
2970
|
-
/***/ (function(module,
|
|
3072
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
2971
3073
|
|
|
2972
|
-
|
|
3074
|
+
"use strict";
|
|
3075
|
+
__webpack_require__.r(__webpack_exports__);
|
|
3076
|
+
/* harmony default export */ __webpack_exports__["default"] = (".mapboxgl-map,.maplibregl-map{font:12px/20px Helvetica Neue,Arial,Helvetica,sans-serif;overflow:hidden;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mapboxgl-canvas,.maplibregl-canvas{position:absolute;left:0;top:0}.mapboxgl-map:-webkit-full-screen,.maplibregl-map:-webkit-full-screen{width:100%;height:100%}.mapboxgl-canvas-container.mapboxgl-interactive,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass,.maplibregl-canvas-container.maplibregl-interactive,.maplibregl-ctrl-group button.maplibregl-ctrl-compass{cursor:-webkit-grab;cursor:-moz-grab;cursor:grab;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.mapboxgl-canvas-container.mapboxgl-interactive.mapboxgl-track-pointer,.maplibregl-canvas-container.maplibregl-interactive.maplibregl-track-pointer{cursor:pointer}.mapboxgl-canvas-container.mapboxgl-interactive:active,.mapboxgl-ctrl-group button.mapboxgl-ctrl-compass:active,.maplibregl-canvas-container.maplibregl-interactive:active,.maplibregl-ctrl-group button.maplibregl-ctrl-compass:active{cursor:-webkit-grabbing;cursor:-moz-grabbing;cursor:grabbing}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate .mapboxgl-canvas,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate .maplibregl-canvas{touch-action:pan-x pan-y}.mapboxgl-canvas-container.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-drag-pan .mapboxgl-canvas,.maplibregl-canvas-container.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:pinch-zoom}.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan,.mapboxgl-canvas-container.mapboxgl-touch-zoom-rotate.mapboxgl-touch-drag-pan .mapboxgl-canvas,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan,.maplibregl-canvas-container.maplibregl-touch-zoom-rotate.maplibregl-touch-drag-pan .maplibregl-canvas{touch-action:none}.mapboxgl-ctrl-bottom-left,.mapboxgl-ctrl-bottom-right,.mapboxgl-ctrl-top-left,.mapboxgl-ctrl-top-right,.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right,.maplibregl-ctrl-top-left,.maplibregl-ctrl-top-right{position:absolute;pointer-events:none;z-index:2}.mapboxgl-ctrl-top-left,.maplibregl-ctrl-top-left{top:0;left:0}.mapboxgl-ctrl-top-right,.maplibregl-ctrl-top-right{top:0;right:0}.mapboxgl-ctrl-bottom-left,.maplibregl-ctrl-bottom-left{bottom:0;left:0}.mapboxgl-ctrl-bottom-right,.maplibregl-ctrl-bottom-right{right:0;bottom:0}.mapboxgl-ctrl,.maplibregl-ctrl{clear:both;pointer-events:auto;transform:translate(0)}.mapboxgl-ctrl-top-left .mapboxgl-ctrl,.maplibregl-ctrl-top-left .maplibregl-ctrl{margin:10px 0 0 10px;float:left}.mapboxgl-ctrl-top-right .mapboxgl-ctrl,.maplibregl-ctrl-top-right .maplibregl-ctrl{margin:10px 10px 0 0;float:right}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl,.maplibregl-ctrl-bottom-left .maplibregl-ctrl{margin:0 0 10px 10px;float:left}.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl,.maplibregl-ctrl-bottom-right .maplibregl-ctrl{margin:0 10px 10px 0;float:right}.mapboxgl-ctrl-group,.maplibregl-ctrl-group{border-radius:4px;background:#fff}.mapboxgl-ctrl-group:not(:empty),.maplibregl-ctrl-group:not(:empty){-moz-box-shadow:0 0 2px rgba(0,0,0,.1);-webkit-box-shadow:0 0 2px rgba(0,0,0,.1);box-shadow:0 0 0 2px rgba(0,0,0,.1)}@media (-ms-high-contrast:active){.mapboxgl-ctrl-group:not(:empty),.maplibregl-ctrl-group:not(:empty){box-shadow:0 0 0 2px ButtonText}}.mapboxgl-ctrl-group button,.maplibregl-ctrl-group button{width:29px;height:29px;display:block;padding:0;outline:none;border:0;box-sizing:border-box;background-color:transparent;cursor:pointer}.mapboxgl-ctrl-group button+button,.maplibregl-ctrl-group button+button{border-top:1px solid #ddd}.mapboxgl-ctrl button .mapboxgl-ctrl-icon,.maplibregl-ctrl button .maplibregl-ctrl-icon{display:block;width:100%;height:100%;background-repeat:no-repeat;background-position:50%}@media (-ms-high-contrast:active){.mapboxgl-ctrl-icon,.maplibregl-ctrl-icon{background-color:transparent}.mapboxgl-ctrl-group button+button,.maplibregl-ctrl-group button+button{border-top:1px solid ButtonText}}.mapboxgl-ctrl button::-moz-focus-inner,.maplibregl-ctrl button::-moz-focus-inner{border:0;padding:0}.mapboxgl-ctrl-attrib-button:focus,.mapboxgl-ctrl-group button:focus,.maplibregl-ctrl-attrib-button:focus,.maplibregl-ctrl-group button:focus{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl button:disabled,.maplibregl-ctrl button:disabled{cursor:not-allowed}.mapboxgl-ctrl button:disabled .mapboxgl-ctrl-icon,.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon{opacity:.25}.mapboxgl-ctrl button:not(:disabled):hover,.maplibregl-ctrl button:not(:disabled):hover{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-group button:focus:focus-visible,.maplibregl-ctrl-group button:focus:focus-visible{box-shadow:0 0 2px 2px #0096ff}.mapboxgl-ctrl-group button:focus:not(:focus-visible),.maplibregl-ctrl-group button:focus:not(:focus-visible){box-shadow:none}.mapboxgl-ctrl-group button:focus:first-child,.maplibregl-ctrl-group button:focus:first-child{border-radius:4px 4px 0 0}.mapboxgl-ctrl-group button:focus:last-child,.maplibregl-ctrl-group button:focus:last-child{border-radius:0 0 4px 4px}.mapboxgl-ctrl-group button:focus:only-child,.maplibregl-ctrl-group button:focus:only-child{border-radius:inherit}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E\")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E\")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 13c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h9c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-9z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.5 8.5c-.75 0-1.5.75-1.5 1.5v3h-3c-.75 0-1.5.75-1.5 1.5S9.25 16 10 16h3v3c0 .75.75 1.5 1.5 1.5S16 19.75 16 19v-3h3c.75 0 1.5-.75 1.5-1.5S19.75 13 19 13h-3v-3c0-.75-.75-1.5-1.5-1.5z'/%3E%3C/svg%3E\")}}.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E\")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E\")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-fullscreen .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 16v5.5c0 1.75-.75 2.5-2.5 2.5H16v-1l3-1.5-4-5.5 1-1 5.5 4 1.5-3h1zM6 16l1.5 3 5.5-4 1 1-4 5.5 3 1.5v1H7.5C5.75 24 5 23.25 5 21.5V16h1zm7-11v1l-3 1.5 4 5.5-1 1-5.5-4L6 13H5V7.5C5 5.75 5.75 5 7.5 5H13zm11 2.5c0-1.75-.75-2.5-2.5-2.5H16v1l3 1.5-4 5.5 1 1 5.5-4 1.5 3h1V7.5z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-shrink .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.5 16c-1.75 0-2.5.75-2.5 2.5V24h1l1.5-3 5.5 4 1-1-4-5.5 3-1.5v-1h-5.5zM13 18.5c0-1.75-.75-2.5-2.5-2.5H5v1l3 1.5L4 24l1 1 5.5-4 1.5 3h1v-5.5zm3-8c0 1.75.75 2.5 2.5 2.5H24v-1l-3-1.5L25 5l-1-1-5.5 4L17 5h-1v5.5zM10.5 13c1.75 0 2.5-.75 2.5-2.5V5h-1l-1.5 3L5 4 4 5l4 5.5L5 12v1h5.5z'/%3E%3C/svg%3E\")}}.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E\")}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23999'/%3E%3C/svg%3E\")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 29 29' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.5 14l4-8 4 8h-8z'/%3E%3Cpath d='M10.5 16l4 8 4-8h-8z' fill='%23ccc'/%3E%3C/svg%3E\")}}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23333'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23aaa'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-waiting .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon{-webkit-animation:maplibregl-spin 2s linear infinite;-moz-animation:maplibregl-spin 2s infinite linear;-o-animation:maplibregl-spin 2s infinite linear;-ms-animation:maplibregl-spin 2s infinite linear;animation:maplibregl-spin 2s linear infinite}@media (-ms-high-contrast:active){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23fff'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23999'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e58978'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%2333b5e5'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23e54e33'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3C/svg%3E\")}}@media (-ms-high-contrast:black-on-white){.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E\")}.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='29' height='29' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill='%23666'%3E%3Cpath d='M10 4C9 4 9 5 9 5v.1A5 5 0 005.1 9H5s-1 0-1 1 1 1 1 1h.1A5 5 0 009 14.9v.1s0 1 1 1 1-1 1-1v-.1a5 5 0 003.9-3.9h.1s1 0 1-1-1-1-1-1h-.1A5 5 0 0011 5.1V5s0-1-1-1zm0 2.5a3.5 3.5 0 110 7 3.5 3.5 0 110-7z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3Cpath d='M14 5l1 1-9 9-1-1 9-9z' fill='red'/%3E%3C/svg%3E\")}}@-webkit-keyframes maplibregl-spin{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@-moz-keyframes maplibregl-spin{0%{-moz-transform:rotate(0deg)}to{-moz-transform:rotate(1turn)}}@-o-keyframes maplibregl-spin{0%{-o-transform:rotate(0deg)}to{-o-transform:rotate(1turn)}}@-ms-keyframes maplibregl-spin{0%{-ms-transform:rotate(0deg)}to{-ms-transform:rotate(1turn)}}@keyframes maplibregl-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}a.mapboxgl-ctrl-logo,a.maplibregl-ctrl-logo{width:88px;height:23px;margin:0 0 -4px -4px;display:block;background-repeat:no-repeat;cursor:pointer;overflow:hidden;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42l-.726 3.663a1.255 1.255 0 01-1.232 1.011h-1.827a1.255 1.255 0 01-1.229-1.509l2.501-12.095a1.255 1.255 0 011.23-1.001h.197a1.255 1.255 0 011.12.685l3.19 6.273 3.125-6.263a1.255 1.255 0 011.123-.695h.181a1.255 1.255 0 011.227.991l1.443 6.71a5.11 5.11 0 01.314-.787l.009-.016a4.623 4.623 0 011.777-1.887c.782-.46 1.668-.667 2.611-.667a4.548 4.548 0 011.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 011.212.925 1.255 1.255 0 011.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4.314.319.566.676.763 1.064V4.701a1.255 1.255 0 011.255-1.255h1.86A1.255 1.255 0 0154.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.416 2.416 0 01-.682-1.71c0-.665.267-1.253.735-1.7a2.448 2.448 0 011.722-.674 2.43 2.43 0 011.705.675c.211.2.381.43.504.683V4.7a1.255 1.255 0 011.255-1.255h1.744A1.255 1.255 0 0165.812 4.7v3.335a4.76 4.76 0 011.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 011.67 1.743v-.98a1.255 1.255 0 011.256-1.256h1.777c.233 0 .451.064.639.174a3.407 3.407 0 011.567-.372c.346 0 .861.02 1.285.232a1.255 1.255 0 01.689 1.004 4.73 4.73 0 01.853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528 0 .343-.02.694-.056 1.051a1.255 1.255 0 01-.947 1.09l.408.952a1.255 1.255 0 01-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.815 5.815 0 01-.548-2.512c0-.286.017-.567.053-.843a1.255 1.255 0 01-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 01-1.256 1.256h-1.777a1.255 1.255 0 01-1.256-1.256V15.69l-.032.057a4.778 4.778 0 01-1.86 1.833 5.04 5.04 0 01-2.484.634 4.47 4.47 0 01-1.935-.424 1.252 1.252 0 01-.764.258h-1.71a1.255 1.255 0 01-1.256-1.255V7.687a2.402 2.402 0 01-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 01-1.256 1.255h-1.843a1.25 1.25 0 01-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 01-1.256-1.255v-1.251l-.061.117a4.703 4.703 0 01-1.782 1.884 4.767 4.767 0 01-2.485.67 5.6 5.6 0 01-1.485-.188l.009 2.764a1.255 1.255 0 01-1.255 1.259h-1.729a1.255 1.255 0 01-1.255-1.255v-3.537a1.255 1.255 0 01-1.167.793h-1.679a1.25 1.25 0 01-.77-.263 4.47 4.47 0 01-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a4.983 4.983 0 01-1.081-.836 1.255 1.255 0 01-1.254 1.312h-1.81a1.255 1.255 0 01-1.228-.99l-.782-3.625-2.044 3.939a1.255 1.255 0 01-1.115.676h-.098a1.255 1.255 0 01-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15c.329-.237.574-.499.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267c-.088-.22-.264-.438-.526-.658l-.032-.028a3.16 3.16 0 00-.668-.428l-.27-.12a3.293 3.293 0 00-1.235-.23c-.757 0-1.415.163-1.974.493a3.36 3.36 0 00-1.3 1.382c-.297.593-.444 1.284-.444 2.074 0 .8.17 1.503.51 2.107a3.795 3.795 0 001.382 1.381 3.883 3.883 0 001.893.477c.53 0 1.015-.11 1.455-.33zm-2.789-5.38c-.384.45-.575 1.038-.575 1.762 0 .735.186 1.332.559 1.794.384.45.933.675 1.645.675a2.25 2.25 0 00.934-.19 2.17 2.17 0 00.468-.29l.178-.161a2.163 2.163 0 00.397-.561c.163-.333.244-.717.244-1.15v-.115c0-.472-.098-.894-.296-1.267l-.043-.077a2.211 2.211 0 00-.633-.709l-.13-.086-.047-.028a2.099 2.099 0 00-1.073-.285c-.702 0-1.244.231-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.958.958 0 00-.353-.389.851.851 0 00-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.626 2.626 0 00.331.423c.213.22.464.402.755.548l.173.074c.433.17.93.255 1.49.255.68 0 1.295-.165 1.844-.493a3.447 3.447 0 001.316-1.4c.329-.603.493-1.299.493-2.089 0-1.273-.33-2.243-.988-2.913-.658-.68-1.52-1.02-2.584-1.02-.598 0-1.124.115-1.575.347a2.807 2.807 0 00-.415.262l-.199.166a3.35 3.35 0 00-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138c.137.193.297.36.48.5l.155.11.053.034c.34.197.713.297 1.119.297.714 0 1.262-.225 1.645-.675.385-.46.576-1.048.576-1.762 0-.746-.192-1.338-.576-1.777-.372-.45-.92-.675-1.645-.675-.29 0-.569.053-.835.16a2.366 2.366 0 00-.284.136 1.99 1.99 0 00-.363.254 2.237 2.237 0 00-.46.569l-.082.162a2.56 2.56 0 00-.213 1.072v.115c0 .471.098.894.296 1.267l.135.211zm.964-.818a1.11 1.11 0 00.367.385.937.937 0 00.476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a.995.995 0 00-.503.135l-.012.007a.859.859 0 00-.335.343c-.073.133-.132.324-.132.614v.115a1.43 1.43 0 00.14.66zm15.7-6.222c.232-.23.346-.516.346-.856a1.053 1.053 0 00-.345-.79 1.175 1.175 0 00-.84-.329c-.34 0-.625.11-.855.33a1.053 1.053 0 00-.346.79c0 .34.115.625.346.855.23.23.516.346.856.346.34 0 .62-.115.839-.346zm4.337 9.314l.033-1.332c.128.269.324.518.59.747l.098.081a3.727 3.727 0 00.316.224l.223.122a3.21 3.21 0 001.44.322 3.785 3.785 0 001.875-.477 3.52 3.52 0 001.382-1.366c.352-.593.526-1.29.526-2.09 0-.79-.147-1.48-.444-2.073a3.235 3.235 0 00-1.283-1.399c-.549-.34-1.195-.51-1.942-.51a3.476 3.476 0 00-1.527.344l-.086.043-.165.09a3.412 3.412 0 00-.33.214c-.288.21-.507.446-.656.707a1.893 1.893 0 00-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.482 2.482 0 00.566.7c.078.065.159.125.245.18l.144.08a2.105 2.105 0 00.975.232c.713 0 1.262-.225 1.645-.675.384-.46.576-1.053.576-1.778 0-.734-.192-1.327-.576-1.777-.373-.46-.921-.692-1.645-.692a2.18 2.18 0 00-1.015.235c-.147.075-.285.17-.415.282l-.15.142a2.086 2.086 0 00-.42.594c-.149.32-.223.685-.223 1.1v.115c0 .47.097.89.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.868.868 0 00-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.13 1.13 0 00.367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013c.23-.087.472-.134.724-.14l.069-.002c.329 0 .542.033.642.099l.247-1.794c-.13-.066-.37-.099-.717-.099a2.3 2.3 0 00-.545.063 2.086 2.086 0 00-.411.148 2.18 2.18 0 00-.4.249 2.482 2.482 0 00-.485.499 2.659 2.659 0 00-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884c0-.364.053-.678.159-.943a1.49 1.49 0 01.466-.636 2.52 2.52 0 01.399-.253 2.19 2.19 0 01.224-.099zm9.784 2.656l.05-.922c0-1.162-.285-2.062-.856-2.698-.559-.647-1.42-.97-2.584-.97-.746 0-1.415.163-2.007.493a3.462 3.462 0 00-1.4 1.382c-.329.604-.493 1.306-.493 2.106 0 .714.143 1.371.428 1.975.285.593.73 1.07 1.332 1.432.604.351 1.355.526 2.255.526.649 0 1.204-.062 1.668-.185l.044-.012.135-.04c.409-.122.736-.263.984-.421l-.542-1.267c-.2.108-.415.199-.642.274l-.297.087c-.34.088-.773.131-1.3.131-.636 0-1.135-.147-1.497-.444a1.573 1.573 0 01-.192-.193c-.244-.294-.415-.705-.512-1.234l-.004-.021h5.43zm-5.427-1.256l-.003.022h3.752v-.138c-.007-.485-.104-.857-.288-1.118a1.056 1.056 0 00-.156-.176c-.307-.285-.746-.428-1.316-.428-.657 0-1.155.202-1.494.604-.253.3-.417.712-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z' fill='%23000' fill-opacity='.4' fill-rule='evenodd'/%3E%3Cpath d='M19.63 11.151l-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81c-.68 0-1.311-.16-1.893-.478a3.795 3.795 0 01-1.381-1.382c-.34-.604-.51-1.306-.51-2.106 0-.79.147-1.482.444-2.074a3.364 3.364 0 011.3-1.382c.559-.33 1.217-.494 1.974-.494a3.293 3.293 0 011.234.231 3.341 3.341 0 01.97.575c.264.22.44.439.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332c-.186.395-.526.746-1.02 1.053a3.167 3.167 0 01-1.662.444zm.296-1.482c.626 0 1.152-.214 1.58-.642.428-.44.642-1.01.642-1.711v-.115c0-.472-.098-.894-.296-1.267a2.211 2.211 0 00-.807-.872 2.098 2.098 0 00-1.119-.313c-.702 0-1.245.231-1.629.692-.384.45-.575 1.037-.575 1.76 0 .736.186 1.333.559 1.795.384.45.933.675 1.645.675zm6.521-6.237h1.711v1.4c.604-1.065 1.547-1.597 2.83-1.597 1.064 0 1.926.34 2.584 1.02.659.67.988 1.641.988 2.914 0 .79-.164 1.487-.493 2.09a3.456 3.456 0 01-1.316 1.399 3.51 3.51 0 01-1.844.493c-.636 0-1.19-.11-1.662-.329a2.665 2.665 0 01-1.086-.97l.017 5.134h-1.728V9.242zm4.048 6.22c.714 0 1.262-.224 1.645-.674.385-.46.576-1.048.576-1.762 0-.746-.192-1.338-.576-1.777-.372-.45-.92-.675-1.645-.675-.395 0-.768.098-1.12.296-.34.187-.613.46-.822.823-.197.351-.296.763-.296 1.234v.115c0 .472.098.894.296 1.267.209.362.483.647.823.855.34.197.713.297 1.119.297z' fill='%23fff'/%3E%3Cpath d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.159 1.159 0 01-.856-.346 1.165 1.165 0 01-.346-.856 1.053 1.053 0 01.346-.79c.23-.219.516-.329.856-.329.329 0 .609.11.839.33a1.053 1.053 0 01.345.79 1.159 1.159 0 01-.345.855c-.22.23-.5.346-.84.346zm7.875 9.133a3.167 3.167 0 01-1.662-.444c-.482-.307-.817-.658-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283c.186-.438.548-.812 1.086-1.119a3.486 3.486 0 011.778-.477c.746 0 1.393.17 1.942.51a3.235 3.235 0 011.283 1.4c.297.592.444 1.282.444 2.072 0 .8-.175 1.498-.526 2.09a3.52 3.52 0 01-1.382 1.366 3.785 3.785 0 01-1.876.477zm-.296-1.481c.713 0 1.26-.225 1.645-.675.384-.46.577-1.053.577-1.778 0-.734-.193-1.327-.577-1.776-.373-.46-.921-.692-1.645-.692a2.115 2.115 0 00-1.58.659c-.428.428-.642.992-.642 1.694v.115c0 .473.098.895.296 1.267a2.385 2.385 0 00.807.872 2.1 2.1 0 001.119.313zm5.927-6.237h1.777v1.481c.176-.505.46-.91.856-1.217a2.14 2.14 0 011.349-.46c.351 0 .593.032.724.098l-.247 1.794c-.099-.066-.313-.099-.642-.099-.516 0-.988.164-1.416.494-.417.329-.626.855-.626 1.58v3.883h-1.777V9.242zm9.534 7.718c-.9 0-1.651-.175-2.255-.526-.603-.362-1.047-.84-1.332-1.432a4.567 4.567 0 01-.428-1.975c0-.8.164-1.502.493-2.106a3.462 3.462 0 011.4-1.382c.592-.33 1.262-.494 2.007-.494 1.163 0 2.024.324 2.584.97.57.637.856 1.537.856 2.7 0 .296-.017.603-.05.92h-5.43c.12.67.356 1.153.708 1.45.362.296.86.443 1.497.443.526 0 .96-.044 1.3-.131a4.123 4.123 0 00.938-.362l.542 1.267c-.274.175-.647.329-1.119.46-.472.132-1.042.197-1.711.197zm1.596-4.558c.01-.68-.137-1.158-.444-1.432-.307-.285-.746-.428-1.316-.428-1.152 0-1.815.62-1.991 1.86h3.752z' fill='%23e1e3e9'/%3E%3Cg fill-rule='evenodd' stroke-width='1.036'%3E%3Cpath d='M8.166 16.146l-.002.002a1.54 1.54 0 01-2.009 0l-.002-.002-.043-.034-.002-.002-.199-.162H4.377a.657.657 0 00-.659.659v1.84a.657.657 0 00.659.659h5.565a.657.657 0 00.659-.659v-1.84a.657.657 0 00-.659-.659H8.411l-.202.164zm-1.121-.905a.29.29 0 00.113.023.286.286 0 00.189-.07l.077-.063c.634-.508 4.672-3.743 4.672-7.575 0-2.55-2.215-4.625-4.938-4.625S2.221 5.006 2.221 7.556c0 3.225 2.86 6.027 4.144 7.137h.004l.04.038.484.4.077.063a.628.628 0 00.074.047zm-2.52-.548a16.898 16.898 0 01-1.183-1.315C2.187 11.942.967 9.897.967 7.555c0-3.319 2.855-5.88 6.192-5.88 3.338 0 6.193 2.561 6.193 5.881 0 2.34-1.22 4.387-2.376 5.822a16.898 16.898 0 01-1.182 1.315h.15a1.912 1.912 0 011.914 1.914v1.84a1.912 1.912 0 01-1.914 1.914H4.377a1.912 1.912 0 01-1.914-1.914v-1.84a1.912 1.912 0 011.914-1.914zm3.82-6.935c0 .692-.55 1.222-1.187 1.222s-1.185-.529-1.185-1.222.548-1.222 1.185-1.222c.638 0 1.186.529 1.186 1.222zm-1.186 2.477c1.348 0 2.442-1.11 2.442-2.478S8.507 5.28 7.159 5.28 4.72 6.39 4.72 7.758s1.092 2.477 2.44 2.477zm2.048 7.71H5.114v-.838h4.093z' fill='%23000' fill-opacity='.4'/%3E%3Cpath d='M2.222 7.555c0-2.55 2.214-4.625 4.937-4.625 2.723 0 4.938 2.075 4.938 4.625 0 3.832-4.038 7.068-4.672 7.575l-.077.063a.286.286 0 01-.189.07.286.286 0 01-.188-.07l-.077-.063c-.634-.507-4.672-3.743-4.672-7.575zm4.937 2.68c1.348 0 2.442-1.11 2.442-2.478S8.507 5.28 7.159 5.28 4.72 6.39 4.72 7.758s1.092 2.477 2.44 2.477z' fill='%23e1e3e9'/%3E%3Cpath d='M4.377 15.948a.657.657 0 00-.659.659v1.84a.657.657 0 00.659.659h5.565a.657.657 0 00.659-.659v-1.84a.657.657 0 00-.659-.659zm4.83 1.16H5.114v.838h4.093z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E\")}a.mapboxgl-ctrl-logo.mapboxgl-compact,a.maplibregl-ctrl-logo.maplibregl-compact{width:14px}@media (-ms-high-contrast:active){a.mapboxgl-ctrl-logo,a.maplibregl-ctrl-logo{background-color:transparent;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42l-.726 3.663a1.255 1.255 0 01-1.232 1.011h-1.827a1.255 1.255 0 01-1.229-1.509l2.501-12.095a1.255 1.255 0 011.23-1.001h.197a1.255 1.255 0 011.12.685l3.19 6.273 3.125-6.263a1.255 1.255 0 011.123-.695h.181a1.255 1.255 0 011.227.991l1.443 6.71a5.11 5.11 0 01.314-.787l.009-.016a4.623 4.623 0 011.777-1.887c.782-.46 1.668-.667 2.611-.667a4.548 4.548 0 011.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 011.212.925 1.255 1.255 0 011.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4.314.319.566.676.763 1.064V4.701a1.255 1.255 0 011.255-1.255h1.86A1.255 1.255 0 0154.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.416 2.416 0 01-.682-1.71c0-.665.267-1.253.735-1.7a2.448 2.448 0 011.722-.674 2.43 2.43 0 011.705.675c.211.2.381.43.504.683V4.7a1.255 1.255 0 011.255-1.255h1.744A1.255 1.255 0 0165.812 4.7v3.335a4.76 4.76 0 011.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 011.67 1.743v-.98a1.255 1.255 0 011.256-1.256h1.777c.233 0 .451.064.639.174a3.407 3.407 0 011.567-.372c.346 0 .861.02 1.285.232a1.255 1.255 0 01.689 1.004 4.73 4.73 0 01.853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528 0 .343-.02.694-.056 1.051a1.255 1.255 0 01-.947 1.09l.408.952a1.255 1.255 0 01-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.815 5.815 0 01-.548-2.512c0-.286.017-.567.053-.843a1.255 1.255 0 01-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 01-1.256 1.256h-1.777a1.255 1.255 0 01-1.256-1.256V15.69l-.032.057a4.778 4.778 0 01-1.86 1.833 5.04 5.04 0 01-2.484.634 4.47 4.47 0 01-1.935-.424 1.252 1.252 0 01-.764.258h-1.71a1.255 1.255 0 01-1.256-1.255V7.687a2.402 2.402 0 01-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 01-1.256 1.255h-1.843a1.25 1.25 0 01-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 01-1.256-1.255v-1.251l-.061.117a4.703 4.703 0 01-1.782 1.884 4.767 4.767 0 01-2.485.67 5.6 5.6 0 01-1.485-.188l.009 2.764a1.255 1.255 0 01-1.255 1.259h-1.729a1.255 1.255 0 01-1.255-1.255v-3.537a1.255 1.255 0 01-1.167.793h-1.679a1.25 1.25 0 01-.77-.263 4.47 4.47 0 01-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a4.983 4.983 0 01-1.081-.836 1.255 1.255 0 01-1.254 1.312h-1.81a1.255 1.255 0 01-1.228-.99l-.782-3.625-2.044 3.939a1.255 1.255 0 01-1.115.676h-.098a1.255 1.255 0 01-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15c.329-.237.574-.499.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267c-.088-.22-.264-.438-.526-.658l-.032-.028a3.16 3.16 0 00-.668-.428l-.27-.12a3.293 3.293 0 00-1.235-.23c-.757 0-1.415.163-1.974.493a3.36 3.36 0 00-1.3 1.382c-.297.593-.444 1.284-.444 2.074 0 .8.17 1.503.51 2.107a3.795 3.795 0 001.382 1.381 3.883 3.883 0 001.893.477c.53 0 1.015-.11 1.455-.33zm-2.789-5.38c-.384.45-.575 1.038-.575 1.762 0 .735.186 1.332.559 1.794.384.45.933.675 1.645.675a2.25 2.25 0 00.934-.19 2.17 2.17 0 00.468-.29l.178-.161a2.163 2.163 0 00.397-.561c.163-.333.244-.717.244-1.15v-.115c0-.472-.098-.894-.296-1.267l-.043-.077a2.211 2.211 0 00-.633-.709l-.13-.086-.047-.028a2.099 2.099 0 00-1.073-.285c-.702 0-1.244.231-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.958.958 0 00-.353-.389.851.851 0 00-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.626 2.626 0 00.331.423c.213.22.464.402.755.548l.173.074c.433.17.93.255 1.49.255.68 0 1.295-.165 1.844-.493a3.447 3.447 0 001.316-1.4c.329-.603.493-1.299.493-2.089 0-1.273-.33-2.243-.988-2.913-.658-.68-1.52-1.02-2.584-1.02-.598 0-1.124.115-1.575.347a2.807 2.807 0 00-.415.262l-.199.166a3.35 3.35 0 00-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138c.137.193.297.36.48.5l.155.11.053.034c.34.197.713.297 1.119.297.714 0 1.262-.225 1.645-.675.385-.46.576-1.048.576-1.762 0-.746-.192-1.338-.576-1.777-.372-.45-.92-.675-1.645-.675-.29 0-.569.053-.835.16a2.366 2.366 0 00-.284.136 1.99 1.99 0 00-.363.254 2.237 2.237 0 00-.46.569l-.082.162a2.56 2.56 0 00-.213 1.072v.115c0 .471.098.894.296 1.267l.135.211zm.964-.818a1.11 1.11 0 00.367.385.937.937 0 00.476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a.995.995 0 00-.503.135l-.012.007a.859.859 0 00-.335.343c-.073.133-.132.324-.132.614v.115a1.43 1.43 0 00.14.66zm15.7-6.222c.232-.23.346-.516.346-.856a1.053 1.053 0 00-.345-.79 1.175 1.175 0 00-.84-.329c-.34 0-.625.11-.855.33a1.053 1.053 0 00-.346.79c0 .34.115.625.346.855.23.23.516.346.856.346.34 0 .62-.115.839-.346zm4.337 9.314l.033-1.332c.128.269.324.518.59.747l.098.081a3.727 3.727 0 00.316.224l.223.122a3.21 3.21 0 001.44.322 3.785 3.785 0 001.875-.477 3.52 3.52 0 001.382-1.366c.352-.593.526-1.29.526-2.09 0-.79-.147-1.48-.444-2.073a3.235 3.235 0 00-1.283-1.399c-.549-.34-1.195-.51-1.942-.51a3.476 3.476 0 00-1.527.344l-.086.043-.165.09a3.412 3.412 0 00-.33.214c-.288.21-.507.446-.656.707a1.893 1.893 0 00-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.482 2.482 0 00.566.7c.078.065.159.125.245.18l.144.08a2.105 2.105 0 00.975.232c.713 0 1.262-.225 1.645-.675.384-.46.576-1.053.576-1.778 0-.734-.192-1.327-.576-1.777-.373-.46-.921-.692-1.645-.692a2.18 2.18 0 00-1.015.235c-.147.075-.285.17-.415.282l-.15.142a2.086 2.086 0 00-.42.594c-.149.32-.223.685-.223 1.1v.115c0 .47.097.89.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.868.868 0 00-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.13 1.13 0 00.367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013c.23-.087.472-.134.724-.14l.069-.002c.329 0 .542.033.642.099l.247-1.794c-.13-.066-.37-.099-.717-.099a2.3 2.3 0 00-.545.063 2.086 2.086 0 00-.411.148 2.18 2.18 0 00-.4.249 2.482 2.482 0 00-.485.499 2.659 2.659 0 00-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884c0-.364.053-.678.159-.943a1.49 1.49 0 01.466-.636 2.52 2.52 0 01.399-.253 2.19 2.19 0 01.224-.099zm9.784 2.656l.05-.922c0-1.162-.285-2.062-.856-2.698-.559-.647-1.42-.97-2.584-.97-.746 0-1.415.163-2.007.493a3.462 3.462 0 00-1.4 1.382c-.329.604-.493 1.306-.493 2.106 0 .714.143 1.371.428 1.975.285.593.73 1.07 1.332 1.432.604.351 1.355.526 2.255.526.649 0 1.204-.062 1.668-.185l.044-.012.135-.04c.409-.122.736-.263.984-.421l-.542-1.267c-.2.108-.415.199-.642.274l-.297.087c-.34.088-.773.131-1.3.131-.636 0-1.135-.147-1.497-.444a1.573 1.573 0 01-.192-.193c-.244-.294-.415-.705-.512-1.234l-.004-.021h5.43zm-5.427-1.256l-.003.022h3.752v-.138c-.007-.485-.104-.857-.288-1.118a1.056 1.056 0 00-.156-.176c-.307-.285-.746-.428-1.316-.428-.657 0-1.155.202-1.494.604-.253.3-.417.712-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z' fill='%23000' fill-opacity='.4' fill-rule='evenodd'/%3E%3Cpath d='M19.63 11.151l-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81c-.68 0-1.311-.16-1.893-.478a3.795 3.795 0 01-1.381-1.382c-.34-.604-.51-1.306-.51-2.106 0-.79.147-1.482.444-2.074a3.364 3.364 0 011.3-1.382c.559-.33 1.217-.494 1.974-.494a3.293 3.293 0 011.234.231 3.341 3.341 0 01.97.575c.264.22.44.439.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332c-.186.395-.526.746-1.02 1.053a3.167 3.167 0 01-1.662.444zm.296-1.482c.626 0 1.152-.214 1.58-.642.428-.44.642-1.01.642-1.711v-.115c0-.472-.098-.894-.296-1.267a2.211 2.211 0 00-.807-.872 2.098 2.098 0 00-1.119-.313c-.702 0-1.245.231-1.629.692-.384.45-.575 1.037-.575 1.76 0 .736.186 1.333.559 1.795.384.45.933.675 1.645.675zm6.521-6.237h1.711v1.4c.604-1.065 1.547-1.597 2.83-1.597 1.064 0 1.926.34 2.584 1.02.659.67.988 1.641.988 2.914 0 .79-.164 1.487-.493 2.09a3.456 3.456 0 01-1.316 1.399 3.51 3.51 0 01-1.844.493c-.636 0-1.19-.11-1.662-.329a2.665 2.665 0 01-1.086-.97l.017 5.134h-1.728V9.242zm4.048 6.22c.714 0 1.262-.224 1.645-.674.385-.46.576-1.048.576-1.762 0-.746-.192-1.338-.576-1.777-.372-.45-.92-.675-1.645-.675-.395 0-.768.098-1.12.296-.34.187-.613.46-.822.823-.197.351-.296.763-.296 1.234v.115c0 .472.098.894.296 1.267.209.362.483.647.823.855.34.197.713.297 1.119.297z' fill='%23fff'/%3E%3Cpath d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.159 1.159 0 01-.856-.346 1.165 1.165 0 01-.346-.856 1.053 1.053 0 01.346-.79c.23-.219.516-.329.856-.329.329 0 .609.11.839.33a1.053 1.053 0 01.345.79 1.159 1.159 0 01-.345.855c-.22.23-.5.346-.84.346zm7.875 9.133a3.167 3.167 0 01-1.662-.444c-.482-.307-.817-.658-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283c.186-.438.548-.812 1.086-1.119a3.486 3.486 0 011.778-.477c.746 0 1.393.17 1.942.51a3.235 3.235 0 011.283 1.4c.297.592.444 1.282.444 2.072 0 .8-.175 1.498-.526 2.09a3.52 3.52 0 01-1.382 1.366 3.785 3.785 0 01-1.876.477zm-.296-1.481c.713 0 1.26-.225 1.645-.675.384-.46.577-1.053.577-1.778 0-.734-.193-1.327-.577-1.776-.373-.46-.921-.692-1.645-.692a2.115 2.115 0 00-1.58.659c-.428.428-.642.992-.642 1.694v.115c0 .473.098.895.296 1.267a2.385 2.385 0 00.807.872 2.1 2.1 0 001.119.313zm5.927-6.237h1.777v1.481c.176-.505.46-.91.856-1.217a2.14 2.14 0 011.349-.46c.351 0 .593.032.724.098l-.247 1.794c-.099-.066-.313-.099-.642-.099-.516 0-.988.164-1.416.494-.417.329-.626.855-.626 1.58v3.883h-1.777V9.242zm9.534 7.718c-.9 0-1.651-.175-2.255-.526-.603-.362-1.047-.84-1.332-1.432a4.567 4.567 0 01-.428-1.975c0-.8.164-1.502.493-2.106a3.462 3.462 0 011.4-1.382c.592-.33 1.262-.494 2.007-.494 1.163 0 2.024.324 2.584.97.57.637.856 1.537.856 2.7 0 .296-.017.603-.05.92h-5.43c.12.67.356 1.153.708 1.45.362.296.86.443 1.497.443.526 0 .96-.044 1.3-.131a4.123 4.123 0 00.938-.362l.542 1.267c-.274.175-.647.329-1.119.46-.472.132-1.042.197-1.711.197zm1.596-4.558c.01-.68-.137-1.158-.444-1.432-.307-.285-.746-.428-1.316-.428-1.152 0-1.815.62-1.991 1.86h3.752z' fill='%23e1e3e9'/%3E%3Cg fill-rule='evenodd' stroke-width='1.036'%3E%3Cpath d='M8.166 16.146l-.002.002a1.54 1.54 0 01-2.009 0l-.002-.002-.043-.034-.002-.002-.199-.162H4.377a.657.657 0 00-.659.659v1.84a.657.657 0 00.659.659h5.565a.657.657 0 00.659-.659v-1.84a.657.657 0 00-.659-.659H8.411l-.202.164zm-1.121-.905a.29.29 0 00.113.023.286.286 0 00.189-.07l.077-.063c.634-.508 4.672-3.743 4.672-7.575 0-2.55-2.215-4.625-4.938-4.625S2.221 5.006 2.221 7.556c0 3.225 2.86 6.027 4.144 7.137h.004l.04.038.484.4.077.063a.628.628 0 00.074.047zm-2.52-.548a16.898 16.898 0 01-1.183-1.315C2.187 11.942.967 9.897.967 7.555c0-3.319 2.855-5.88 6.192-5.88 3.338 0 6.193 2.561 6.193 5.881 0 2.34-1.22 4.387-2.376 5.822a16.898 16.898 0 01-1.182 1.315h.15a1.912 1.912 0 011.914 1.914v1.84a1.912 1.912 0 01-1.914 1.914H4.377a1.912 1.912 0 01-1.914-1.914v-1.84a1.912 1.912 0 011.914-1.914zm3.82-6.935c0 .692-.55 1.222-1.187 1.222s-1.185-.529-1.185-1.222.548-1.222 1.185-1.222c.638 0 1.186.529 1.186 1.222zm-1.186 2.477c1.348 0 2.442-1.11 2.442-2.478S8.507 5.28 7.159 5.28 4.72 6.39 4.72 7.758s1.092 2.477 2.44 2.477zm2.048 7.71H5.114v-.838h4.093z' fill='%23000' fill-opacity='.4'/%3E%3Cpath d='M2.222 7.555c0-2.55 2.214-4.625 4.937-4.625 2.723 0 4.938 2.075 4.938 4.625 0 3.832-4.038 7.068-4.672 7.575l-.077.063a.286.286 0 01-.189.07.286.286 0 01-.188-.07l-.077-.063c-.634-.507-4.672-3.743-4.672-7.575zm4.937 2.68c1.348 0 2.442-1.11 2.442-2.478S8.507 5.28 7.159 5.28 4.72 6.39 4.72 7.758s1.092 2.477 2.44 2.477z' fill='%23e1e3e9'/%3E%3Cpath d='M4.377 15.948a.657.657 0 00-.659.659v1.84a.657.657 0 00.659.659h5.565a.657.657 0 00.659-.659v-1.84a.657.657 0 00-.659-.659zm4.83 1.16H5.114v.838h4.093z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E\")}}@media (-ms-high-contrast:black-on-white){a.mapboxgl-ctrl-logo,a.maplibregl-ctrl-logo{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='23' fill='none'%3E%3Cpath d='M17.408 16.796h-1.827l2.501-12.095h.198l3.324 6.533.988 2.19.988-2.19 3.258-6.533h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.929 5.644h-.098l-2.914-5.644-.757-1.71-.345 1.71zm1.958-3.42l-.726 3.663a1.255 1.255 0 01-1.232 1.011h-1.827a1.255 1.255 0 01-1.229-1.509l2.501-12.095a1.255 1.255 0 011.23-1.001h.197a1.255 1.255 0 011.12.685l3.19 6.273 3.125-6.263a1.255 1.255 0 011.123-.695h.181a1.255 1.255 0 011.227.991l1.443 6.71a5.11 5.11 0 01.314-.787l.009-.016a4.623 4.623 0 011.777-1.887c.782-.46 1.668-.667 2.611-.667a4.548 4.548 0 011.7.32l.306.134c.21-.16.474-.256.759-.256h1.694a1.255 1.255 0 011.212.925 1.255 1.255 0 011.212-.925h1.711c.284 0 .545.094.755.252.613-.3 1.312-.45 2.075-.45 1.356 0 2.557.445 3.482 1.4.314.319.566.676.763 1.064V4.701a1.255 1.255 0 011.255-1.255h1.86A1.255 1.255 0 0154.44 4.7v9.194h2.217c.19 0 .37.043.532.118v-4.77c0-.356.147-.678.385-.906a2.416 2.416 0 01-.682-1.71c0-.665.267-1.253.735-1.7a2.448 2.448 0 011.722-.674 2.43 2.43 0 011.705.675c.211.2.381.43.504.683V4.7a1.255 1.255 0 011.255-1.255h1.744A1.255 1.255 0 0165.812 4.7v3.335a4.76 4.76 0 011.526-.246c.938 0 1.817.214 2.59.69a4.47 4.47 0 011.67 1.743v-.98a1.255 1.255 0 011.256-1.256h1.777c.233 0 .451.064.639.174a3.407 3.407 0 011.567-.372c.346 0 .861.02 1.285.232a1.255 1.255 0 01.689 1.004 4.73 4.73 0 01.853-.588c.795-.44 1.675-.647 2.61-.647 1.385 0 2.65.39 3.525 1.396.836.938 1.168 2.173 1.168 3.528 0 .343-.02.694-.056 1.051a1.255 1.255 0 01-.947 1.09l.408.952a1.255 1.255 0 01-.477 1.552c-.418.268-.92.463-1.458.612-.613.171-1.304.244-2.049.244-1.06 0-2.043-.207-2.886-.698l-.015-.008c-.798-.48-1.419-1.135-1.818-1.963l-.004-.008a5.815 5.815 0 01-.548-2.512c0-.286.017-.567.053-.843a1.255 1.255 0 01-.333-.086l-.166-.004c-.223 0-.426.062-.643.228-.03.024-.142.139-.142.59v3.883a1.255 1.255 0 01-1.256 1.256h-1.777a1.255 1.255 0 01-1.256-1.256V15.69l-.032.057a4.778 4.778 0 01-1.86 1.833 5.04 5.04 0 01-2.484.634 4.47 4.47 0 01-1.935-.424 1.252 1.252 0 01-.764.258h-1.71a1.255 1.255 0 01-1.256-1.255V7.687a2.402 2.402 0 01-.428.625c.253.23.412.561.412.93v7.553a1.255 1.255 0 01-1.256 1.255h-1.843a1.25 1.25 0 01-.894-.373c-.228.23-.544.373-.894.373H51.32a1.255 1.255 0 01-1.256-1.255v-1.251l-.061.117a4.703 4.703 0 01-1.782 1.884 4.767 4.767 0 01-2.485.67 5.6 5.6 0 01-1.485-.188l.009 2.764a1.255 1.255 0 01-1.255 1.259h-1.729a1.255 1.255 0 01-1.255-1.255v-3.537a1.255 1.255 0 01-1.167.793h-1.679a1.25 1.25 0 01-.77-.263 4.47 4.47 0 01-1.945.429c-.885 0-1.724-.21-2.495-.632l-.017-.01a4.983 4.983 0 01-1.081-.836 1.255 1.255 0 01-1.254 1.312h-1.81a1.255 1.255 0 01-1.228-.99l-.782-3.625-2.044 3.939a1.255 1.255 0 01-1.115.676h-.098a1.255 1.255 0 01-1.116-.68l-2.061-3.994zM35.92 16.63l.207-.114.223-.15c.329-.237.574-.499.735-.785l.061-.118.033 1.332h1.678V9.242h-1.694l-.033 1.267c-.088-.22-.264-.438-.526-.658l-.032-.028a3.16 3.16 0 00-.668-.428l-.27-.12a3.293 3.293 0 00-1.235-.23c-.757 0-1.415.163-1.974.493a3.36 3.36 0 00-1.3 1.382c-.297.593-.444 1.284-.444 2.074 0 .8.17 1.503.51 2.107a3.795 3.795 0 001.382 1.381 3.883 3.883 0 001.893.477c.53 0 1.015-.11 1.455-.33zm-2.789-5.38c-.384.45-.575 1.038-.575 1.762 0 .735.186 1.332.559 1.794.384.45.933.675 1.645.675a2.25 2.25 0 00.934-.19 2.17 2.17 0 00.468-.29l.178-.161a2.163 2.163 0 00.397-.561c.163-.333.244-.717.244-1.15v-.115c0-.472-.098-.894-.296-1.267l-.043-.077a2.211 2.211 0 00-.633-.709l-.13-.086-.047-.028a2.099 2.099 0 00-1.073-.285c-.702 0-1.244.231-1.629.692zm2.316 2.706c.163-.17.28-.407.28-.83v-.114c0-.292-.06-.508-.15-.68a.958.958 0 00-.353-.389.851.851 0 00-.464-.127c-.4 0-.56.114-.664.239l-.01.012c-.148.174-.275.45-.275.945 0 .506.122.801.27.99.097.11.266.224.68.224.303 0 .504-.09.687-.269zm7.545 1.705a2.626 2.626 0 00.331.423c.213.22.464.402.755.548l.173.074c.433.17.93.255 1.49.255.68 0 1.295-.165 1.844-.493a3.447 3.447 0 001.316-1.4c.329-.603.493-1.299.493-2.089 0-1.273-.33-2.243-.988-2.913-.658-.68-1.52-1.02-2.584-1.02-.598 0-1.124.115-1.575.347a2.807 2.807 0 00-.415.262l-.199.166a3.35 3.35 0 00-.64.82V9.242h-1.712v11.553h1.729l-.017-5.134zm.53-1.138c.137.193.297.36.48.5l.155.11.053.034c.34.197.713.297 1.119.297.714 0 1.262-.225 1.645-.675.385-.46.576-1.048.576-1.762 0-.746-.192-1.338-.576-1.777-.372-.45-.92-.675-1.645-.675-.29 0-.569.053-.835.16a2.366 2.366 0 00-.284.136 1.99 1.99 0 00-.363.254 2.237 2.237 0 00-.46.569l-.082.162a2.56 2.56 0 00-.213 1.072v.115c0 .471.098.894.296 1.267l.135.211zm.964-.818a1.11 1.11 0 00.367.385.937.937 0 00.476.118c.423 0 .59-.117.687-.23.159-.194.28-.478.28-.95 0-.53-.133-.8-.266-.952l-.021-.025c-.078-.094-.231-.221-.68-.221a.995.995 0 00-.503.135l-.012.007a.859.859 0 00-.335.343c-.073.133-.132.324-.132.614v.115a1.43 1.43 0 00.14.66zm15.7-6.222c.232-.23.346-.516.346-.856a1.053 1.053 0 00-.345-.79 1.175 1.175 0 00-.84-.329c-.34 0-.625.11-.855.33a1.053 1.053 0 00-.346.79c0 .34.115.625.346.855.23.23.516.346.856.346.34 0 .62-.115.839-.346zm4.337 9.314l.033-1.332c.128.269.324.518.59.747l.098.081a3.727 3.727 0 00.316.224l.223.122a3.21 3.21 0 001.44.322 3.785 3.785 0 001.875-.477 3.52 3.52 0 001.382-1.366c.352-.593.526-1.29.526-2.09 0-.79-.147-1.48-.444-2.073a3.235 3.235 0 00-1.283-1.399c-.549-.34-1.195-.51-1.942-.51a3.476 3.476 0 00-1.527.344l-.086.043-.165.09a3.412 3.412 0 00-.33.214c-.288.21-.507.446-.656.707a1.893 1.893 0 00-.099.198l.082-1.283V4.701h-1.744v12.095zm.473-2.509a2.482 2.482 0 00.566.7c.078.065.159.125.245.18l.144.08a2.105 2.105 0 00.975.232c.713 0 1.262-.225 1.645-.675.384-.46.576-1.053.576-1.778 0-.734-.192-1.327-.576-1.777-.373-.46-.921-.692-1.645-.692a2.18 2.18 0 00-1.015.235c-.147.075-.285.17-.415.282l-.15.142a2.086 2.086 0 00-.42.594c-.149.32-.223.685-.223 1.1v.115c0 .47.097.89.293 1.26zm2.616-.293c.157-.191.28-.479.28-.967 0-.51-.13-.79-.276-.961l-.021-.026c-.082-.1-.232-.225-.67-.225a.868.868 0 00-.681.279l-.012.011c-.154.155-.274.38-.274.807v.115c0 .285.057.499.144.669a1.13 1.13 0 00.367.405c.137.082.28.123.455.123.423 0 .59-.118.686-.23zm8.266-3.013c.23-.087.472-.134.724-.14l.069-.002c.329 0 .542.033.642.099l.247-1.794c-.13-.066-.37-.099-.717-.099a2.3 2.3 0 00-.545.063 2.086 2.086 0 00-.411.148 2.18 2.18 0 00-.4.249 2.482 2.482 0 00-.485.499 2.659 2.659 0 00-.32.581l-.05.137v-1.48h-1.778v7.553h1.777v-3.884c0-.364.053-.678.159-.943a1.49 1.49 0 01.466-.636 2.52 2.52 0 01.399-.253 2.19 2.19 0 01.224-.099zm9.784 2.656l.05-.922c0-1.162-.285-2.062-.856-2.698-.559-.647-1.42-.97-2.584-.97-.746 0-1.415.163-2.007.493a3.462 3.462 0 00-1.4 1.382c-.329.604-.493 1.306-.493 2.106 0 .714.143 1.371.428 1.975.285.593.73 1.07 1.332 1.432.604.351 1.355.526 2.255.526.649 0 1.204-.062 1.668-.185l.044-.012.135-.04c.409-.122.736-.263.984-.421l-.542-1.267c-.2.108-.415.199-.642.274l-.297.087c-.34.088-.773.131-1.3.131-.636 0-1.135-.147-1.497-.444a1.573 1.573 0 01-.192-.193c-.244-.294-.415-.705-.512-1.234l-.004-.021h5.43zm-5.427-1.256l-.003.022h3.752v-.138c-.007-.485-.104-.857-.288-1.118a1.056 1.056 0 00-.156-.176c-.307-.285-.746-.428-1.316-.428-.657 0-1.155.202-1.494.604-.253.3-.417.712-.494 1.234zm-27.053 2.77V4.7h-1.86v12.095h5.333V15.15zm7.103-5.908v7.553h-1.843V9.242h1.843z' fill='%23000' fill-opacity='.4' fill-rule='evenodd'/%3E%3Cpath d='M19.63 11.151l-.757-1.71-.345 1.71-1.12 5.644h-1.827L18.083 4.7h.197l3.325 6.533.988 2.19.988-2.19L26.839 4.7h.181l2.6 12.095h-1.81l-1.218-5.644-.362-1.71-.658 1.71-2.93 5.644h-.098l-2.913-5.644zm14.836 5.81c-.68 0-1.311-.16-1.893-.478a3.795 3.795 0 01-1.381-1.382c-.34-.604-.51-1.306-.51-2.106 0-.79.147-1.482.444-2.074a3.364 3.364 0 011.3-1.382c.559-.33 1.217-.494 1.974-.494a3.293 3.293 0 011.234.231 3.341 3.341 0 01.97.575c.264.22.44.439.527.659l.033-1.267h1.694v7.553H37.18l-.033-1.332c-.186.395-.526.746-1.02 1.053a3.167 3.167 0 01-1.662.444zm.296-1.482c.626 0 1.152-.214 1.58-.642.428-.44.642-1.01.642-1.711v-.115c0-.472-.098-.894-.296-1.267a2.211 2.211 0 00-.807-.872 2.098 2.098 0 00-1.119-.313c-.702 0-1.245.231-1.629.692-.384.45-.575 1.037-.575 1.76 0 .736.186 1.333.559 1.795.384.45.933.675 1.645.675zm6.521-6.237h1.711v1.4c.604-1.065 1.547-1.597 2.83-1.597 1.064 0 1.926.34 2.584 1.02.659.67.988 1.641.988 2.914 0 .79-.164 1.487-.493 2.09a3.456 3.456 0 01-1.316 1.399 3.51 3.51 0 01-1.844.493c-.636 0-1.19-.11-1.662-.329a2.665 2.665 0 01-1.086-.97l.017 5.134h-1.728V9.242zm4.048 6.22c.714 0 1.262-.224 1.645-.674.385-.46.576-1.048.576-1.762 0-.746-.192-1.338-.576-1.777-.372-.45-.92-.675-1.645-.675-.395 0-.768.098-1.12.296-.34.187-.613.46-.822.823-.197.351-.296.763-.296 1.234v.115c0 .472.098.894.296 1.267.209.362.483.647.823.855.34.197.713.297 1.119.297z' fill='%23fff'/%3E%3Cpath d='M51.325 4.7h1.86v10.45h3.473v1.646h-5.333zm7.12 4.542h1.843v7.553h-1.843zm.905-1.415a1.159 1.159 0 01-.856-.346 1.165 1.165 0 01-.346-.856 1.053 1.053 0 01.346-.79c.23-.219.516-.329.856-.329.329 0 .609.11.839.33a1.053 1.053 0 01.345.79 1.159 1.159 0 01-.345.855c-.22.23-.5.346-.84.346zm7.875 9.133a3.167 3.167 0 01-1.662-.444c-.482-.307-.817-.658-1.004-1.053l-.033 1.332h-1.71V4.701h1.743v4.657l-.082 1.283c.186-.438.548-.812 1.086-1.119a3.486 3.486 0 011.778-.477c.746 0 1.393.17 1.942.51a3.235 3.235 0 011.283 1.4c.297.592.444 1.282.444 2.072 0 .8-.175 1.498-.526 2.09a3.52 3.52 0 01-1.382 1.366 3.785 3.785 0 01-1.876.477zm-.296-1.481c.713 0 1.26-.225 1.645-.675.384-.46.577-1.053.577-1.778 0-.734-.193-1.327-.577-1.776-.373-.46-.921-.692-1.645-.692a2.115 2.115 0 00-1.58.659c-.428.428-.642.992-.642 1.694v.115c0 .473.098.895.296 1.267a2.385 2.385 0 00.807.872 2.1 2.1 0 001.119.313zm5.927-6.237h1.777v1.481c.176-.505.46-.91.856-1.217a2.14 2.14 0 011.349-.46c.351 0 .593.032.724.098l-.247 1.794c-.099-.066-.313-.099-.642-.099-.516 0-.988.164-1.416.494-.417.329-.626.855-.626 1.58v3.883h-1.777V9.242zm9.534 7.718c-.9 0-1.651-.175-2.255-.526-.603-.362-1.047-.84-1.332-1.432a4.567 4.567 0 01-.428-1.975c0-.8.164-1.502.493-2.106a3.462 3.462 0 011.4-1.382c.592-.33 1.262-.494 2.007-.494 1.163 0 2.024.324 2.584.97.57.637.856 1.537.856 2.7 0 .296-.017.603-.05.92h-5.43c.12.67.356 1.153.708 1.45.362.296.86.443 1.497.443.526 0 .96-.044 1.3-.131a4.123 4.123 0 00.938-.362l.542 1.267c-.274.175-.647.329-1.119.46-.472.132-1.042.197-1.711.197zm1.596-4.558c.01-.68-.137-1.158-.444-1.432-.307-.285-.746-.428-1.316-.428-1.152 0-1.815.62-1.991 1.86h3.752z' fill='%23e1e3e9'/%3E%3Cg fill-rule='evenodd' stroke-width='1.036'%3E%3Cpath d='M8.166 16.146l-.002.002a1.54 1.54 0 01-2.009 0l-.002-.002-.043-.034-.002-.002-.199-.162H4.377a.657.657 0 00-.659.659v1.84a.657.657 0 00.659.659h5.565a.657.657 0 00.659-.659v-1.84a.657.657 0 00-.659-.659H8.411l-.202.164zm-1.121-.905a.29.29 0 00.113.023.286.286 0 00.189-.07l.077-.063c.634-.508 4.672-3.743 4.672-7.575 0-2.55-2.215-4.625-4.938-4.625S2.221 5.006 2.221 7.556c0 3.225 2.86 6.027 4.144 7.137h.004l.04.038.484.4.077.063a.628.628 0 00.074.047zm-2.52-.548a16.898 16.898 0 01-1.183-1.315C2.187 11.942.967 9.897.967 7.555c0-3.319 2.855-5.88 6.192-5.88 3.338 0 6.193 2.561 6.193 5.881 0 2.34-1.22 4.387-2.376 5.822a16.898 16.898 0 01-1.182 1.315h.15a1.912 1.912 0 011.914 1.914v1.84a1.912 1.912 0 01-1.914 1.914H4.377a1.912 1.912 0 01-1.914-1.914v-1.84a1.912 1.912 0 011.914-1.914zm3.82-6.935c0 .692-.55 1.222-1.187 1.222s-1.185-.529-1.185-1.222.548-1.222 1.185-1.222c.638 0 1.186.529 1.186 1.222zm-1.186 2.477c1.348 0 2.442-1.11 2.442-2.478S8.507 5.28 7.159 5.28 4.72 6.39 4.72 7.758s1.092 2.477 2.44 2.477zm2.048 7.71H5.114v-.838h4.093z' fill='%23000' fill-opacity='.4'/%3E%3Cpath d='M2.222 7.555c0-2.55 2.214-4.625 4.937-4.625 2.723 0 4.938 2.075 4.938 4.625 0 3.832-4.038 7.068-4.672 7.575l-.077.063a.286.286 0 01-.189.07.286.286 0 01-.188-.07l-.077-.063c-.634-.507-4.672-3.743-4.672-7.575zm4.937 2.68c1.348 0 2.442-1.11 2.442-2.478S8.507 5.28 7.159 5.28 4.72 6.39 4.72 7.758s1.092 2.477 2.44 2.477z' fill='%23e1e3e9'/%3E%3Cpath d='M4.377 15.948a.657.657 0 00-.659.659v1.84a.657.657 0 00.659.659h5.565a.657.657 0 00.659-.659v-1.84a.657.657 0 00-.659-.659zm4.83 1.16H5.114v.838h4.093z' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E\")}}.mapboxgl-ctrl.mapboxgl-ctrl-attrib,.maplibregl-ctrl.maplibregl-ctrl-attrib{padding:0 5px;background-color:hsla(0,0%,100%,.5);margin:0}@media screen{.mapboxgl-ctrl-attrib.mapboxgl-compact,.maplibregl-ctrl-attrib.maplibregl-compact{min-height:20px;padding:2px 24px 2px 0;margin:10px;position:relative;background-color:#fff;border-radius:12px}.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 28px 2px 8px;visibility:visible}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact-show,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact-show{padding:2px 8px 2px 28px;border-radius:12px}.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner,.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-inner{display:none}.mapboxgl-ctrl-attrib-button,.maplibregl-ctrl-attrib-button{display:none;cursor:pointer;position:absolute;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E\");background-color:hsla(0,0%,100%,.5);width:24px;height:24px;box-sizing:border-box;border-radius:12px;outline:none;top:0;right:0;border:0}.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-top-left .mapboxgl-ctrl-attrib-button,.maplibregl-ctrl-bottom-left .maplibregl-ctrl-attrib-button,.maplibregl-ctrl-top-left .maplibregl-ctrl-attrib-button{left:0}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-inner,.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-inner,.maplibregl-ctrl-attrib.maplibregl-compact .maplibregl-ctrl-attrib-button{display:block}.mapboxgl-ctrl-attrib.mapboxgl-compact-show .mapboxgl-ctrl-attrib-button,.maplibregl-ctrl-attrib.maplibregl-compact-show .maplibregl-ctrl-attrib-button{background-color:rgba(0,0,0,.05)}.mapboxgl-ctrl-bottom-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after,.maplibregl-ctrl-bottom-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;right:0}.mapboxgl-ctrl-top-right>.mapboxgl-ctrl-attrib.mapboxgl-compact:after,.maplibregl-ctrl-top-right>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;right:0}.mapboxgl-ctrl-top-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after,.maplibregl-ctrl-top-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{top:0;left:0}.mapboxgl-ctrl-bottom-left>.mapboxgl-ctrl-attrib.mapboxgl-compact:after,.maplibregl-ctrl-bottom-left>.maplibregl-ctrl-attrib.maplibregl-compact:after{bottom:0;left:0}}@media screen and (-ms-high-contrast:active){.mapboxgl-ctrl-attrib.mapboxgl-compact:after,.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' fill='%23fff'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E\")}}@media screen and (-ms-high-contrast:black-on-white){.mapboxgl-ctrl-attrib.mapboxgl-compact:after,.maplibregl-ctrl-attrib.maplibregl-compact:after{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd'%3E%3Cpath d='M4 10a6 6 0 1012 0 6 6 0 10-12 0m5-3a1 1 0 102 0 1 1 0 10-2 0m0 3a1 1 0 112 0v3a1 1 0 11-2 0'/%3E%3C/svg%3E\")}}.mapboxgl-ctrl-attrib a,.maplibregl-ctrl-attrib a{color:rgba(0,0,0,.75);text-decoration:none}.mapboxgl-ctrl-attrib a:hover,.maplibregl-ctrl-attrib a:hover{color:inherit;text-decoration:underline}.mapboxgl-ctrl-attrib .mapbox-improve-map,.maplibregl-ctrl-attrib .mapbox-improve-map{font-weight:700;margin-left:2px}.mapboxgl-attrib-empty,.maplibregl-attrib-empty{display:none}.mapboxgl-ctrl-scale,.maplibregl-ctrl-scale{background-color:hsla(0,0%,100%,.75);font-size:10px;border:2px solid #333;border-top:#333;padding:0 5px;color:#333;box-sizing:border-box}.mapboxgl-popup,.maplibregl-popup{position:absolute;top:0;left:0;display:-webkit-flex;display:flex;will-change:transform;pointer-events:none}.mapboxgl-popup-anchor-top,.mapboxgl-popup-anchor-top-left,.mapboxgl-popup-anchor-top-right,.maplibregl-popup-anchor-top,.maplibregl-popup-anchor-top-left,.maplibregl-popup-anchor-top-right{-webkit-flex-direction:column;flex-direction:column}.mapboxgl-popup-anchor-bottom,.mapboxgl-popup-anchor-bottom-left,.mapboxgl-popup-anchor-bottom-right,.maplibregl-popup-anchor-bottom,.maplibregl-popup-anchor-bottom-left,.maplibregl-popup-anchor-bottom-right{-webkit-flex-direction:column-reverse;flex-direction:column-reverse}.mapboxgl-popup-anchor-left,.maplibregl-popup-anchor-left{-webkit-flex-direction:row;flex-direction:row}.mapboxgl-popup-anchor-right,.maplibregl-popup-anchor-right{-webkit-flex-direction:row-reverse;flex-direction:row-reverse}.mapboxgl-popup-tip,.maplibregl-popup-tip{width:0;height:0;border:10px solid transparent;z-index:1}.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,.maplibregl-popup-anchor-top .maplibregl-popup-tip{-webkit-align-self:center;align-self:center;border-top:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,.maplibregl-popup-anchor-top-left .maplibregl-popup-tip{-webkit-align-self:flex-start;align-self:flex-start;border-top:none;border-left:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip,.maplibregl-popup-anchor-top-right .maplibregl-popup-tip{-webkit-align-self:flex-end;align-self:flex-end;border-top:none;border-right:none;border-bottom-color:#fff}.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,.maplibregl-popup-anchor-bottom .maplibregl-popup-tip{-webkit-align-self:center;align-self:center;border-bottom:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,.maplibregl-popup-anchor-bottom-left .maplibregl-popup-tip{-webkit-align-self:flex-start;align-self:flex-start;border-bottom:none;border-left:none;border-top-color:#fff}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip,.maplibregl-popup-anchor-bottom-right .maplibregl-popup-tip{-webkit-align-self:flex-end;align-self:flex-end;border-bottom:none;border-right:none;border-top-color:#fff}.mapboxgl-popup-anchor-left .mapboxgl-popup-tip,.maplibregl-popup-anchor-left .maplibregl-popup-tip{-webkit-align-self:center;align-self:center;border-left:none;border-right-color:#fff}.mapboxgl-popup-anchor-right .mapboxgl-popup-tip,.maplibregl-popup-anchor-right .maplibregl-popup-tip{-webkit-align-self:center;align-self:center;border-right:none;border-left-color:#fff}.mapboxgl-popup-close-button,.maplibregl-popup-close-button{position:absolute;right:0;top:0;border:0;border-radius:0 3px 0 0;cursor:pointer;background-color:transparent}.mapboxgl-popup-close-button:hover,.maplibregl-popup-close-button:hover{background-color:rgba(0,0,0,.05)}.mapboxgl-popup-content,.maplibregl-popup-content{position:relative;background:#fff;border-radius:3px;box-shadow:0 1px 2px rgba(0,0,0,.1);padding:10px 10px 15px;pointer-events:auto}.mapboxgl-popup-anchor-top-left .mapboxgl-popup-content,.maplibregl-popup-anchor-top-left .maplibregl-popup-content{border-top-left-radius:0}.mapboxgl-popup-anchor-top-right .mapboxgl-popup-content,.maplibregl-popup-anchor-top-right .maplibregl-popup-content{border-top-right-radius:0}.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content,.maplibregl-popup-anchor-bottom-left .maplibregl-popup-content{border-bottom-left-radius:0}.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content,.maplibregl-popup-anchor-bottom-right .maplibregl-popup-content{border-bottom-right-radius:0}.mapboxgl-popup-track-pointer,.maplibregl-popup-track-pointer{display:none}.mapboxgl-popup-track-pointer *,.maplibregl-popup-track-pointer *{pointer-events:none;user-select:none}.mapboxgl-map:hover .mapboxgl-popup-track-pointer,.maplibregl-map:hover .maplibregl-popup-track-pointer{display:flex}.mapboxgl-map:active .mapboxgl-popup-track-pointer,.maplibregl-map:active .maplibregl-popup-track-pointer{display:none}.mapboxgl-marker,.maplibregl-marker{position:absolute;top:0;left:0;will-change:transform}.mapboxgl-user-location-dot,.maplibregl-user-location-dot{background-color:#1da1f2;width:15px;height:15px;border-radius:50%}.mapboxgl-user-location-dot:before,.maplibregl-user-location-dot:before{background-color:#1da1f2;content:\"\";width:15px;height:15px;border-radius:50%;position:absolute;-webkit-animation:maplibregl-user-location-dot-pulse 2s infinite;-moz-animation:maplibregl-user-location-dot-pulse 2s infinite;-ms-animation:maplibregl-user-location-dot-pulse 2s infinite;animation:maplibregl-user-location-dot-pulse 2s infinite}.mapboxgl-user-location-dot:after,.maplibregl-user-location-dot:after{border-radius:50%;border:2px solid #fff;content:\"\";height:19px;left:-2px;position:absolute;top:-2px;width:19px;box-sizing:border-box;box-shadow:0 0 3px rgba(0,0,0,.35)}@-webkit-keyframes maplibregl-user-location-dot-pulse{0%{-webkit-transform:scale(1);opacity:1}70%{-webkit-transform:scale(3);opacity:0}to{-webkit-transform:scale(1);opacity:0}}@-ms-keyframes maplibregl-user-location-dot-pulse{0%{-ms-transform:scale(1);opacity:1}70%{-ms-transform:scale(3);opacity:0}to{-ms-transform:scale(1);opacity:0}}@keyframes maplibregl-user-location-dot-pulse{0%{transform:scale(1);opacity:1}70%{transform:scale(3);opacity:0}to{transform:scale(1);opacity:0}}.mapboxgl-user-location-dot-stale,.maplibregl-user-location-dot-stale{background-color:#aaa}.mapboxgl-user-location-dot-stale:after,.maplibregl-user-location-dot-stale:after{display:none}.mapboxgl-user-location-accuracy-circle,.maplibregl-user-location-accuracy-circle{background-color:rgba(29,161,242,.2);width:1px;height:1px;border-radius:100%}.mapboxgl-crosshair,.mapboxgl-crosshair .mapboxgl-interactive,.mapboxgl-crosshair .mapboxgl-interactive:active,.maplibregl-crosshair,.maplibregl-crosshair .maplibregl-interactive,.maplibregl-crosshair .maplibregl-interactive:active{cursor:crosshair}.mapboxgl-boxzoom,.maplibregl-boxzoom{position:absolute;top:0;left:0;width:0;height:0;background:#fff;border:2px dotted #202020;opacity:.5}@media print{.mapbox-improve-map{display:none}}");
|
|
2973
3077
|
|
|
2974
3078
|
/***/ }),
|
|
2975
3079
|
/* 200 */
|
|
@@ -3030,9 +3134,11 @@ exports.default = ClusterLayer;
|
|
|
3030
3134
|
"use strict";
|
|
3031
3135
|
|
|
3032
3136
|
|
|
3033
|
-
var _slicedToArray = __webpack_require__(
|
|
3137
|
+
var _slicedToArray = __webpack_require__(51);
|
|
3034
3138
|
|
|
3035
|
-
var _defineProperty = __webpack_require__(
|
|
3139
|
+
var _defineProperty = __webpack_require__(7);
|
|
3140
|
+
|
|
3141
|
+
var _toConsumableArray = __webpack_require__(41);
|
|
3036
3142
|
|
|
3037
3143
|
Object.defineProperty(exports, "__esModule", {
|
|
3038
3144
|
value: true
|
|
@@ -3047,9 +3153,9 @@ var lodash_1 = __webpack_require__(2);
|
|
|
3047
3153
|
|
|
3048
3154
|
var colorUtils_1 = __webpack_require__(12);
|
|
3049
3155
|
|
|
3050
|
-
var MapUtils_1 = __webpack_require__(
|
|
3156
|
+
var MapUtils_1 = __webpack_require__(105);
|
|
3051
3157
|
|
|
3052
|
-
var MarkerWrapper_1 = __webpack_require__(
|
|
3158
|
+
var MarkerWrapper_1 = __webpack_require__(129);
|
|
3053
3159
|
|
|
3054
3160
|
exports.PieSegment = React.memo(function (_ref) {
|
|
3055
3161
|
var start = _ref.start,
|
|
@@ -3062,11 +3168,11 @@ exports.PieSegment = React.memo(function (_ref) {
|
|
|
3062
3168
|
|
|
3063
3169
|
var _ref2 = segmentMetadata !== null && segmentMetadata !== void 0 ? segmentMetadata : {},
|
|
3064
3170
|
name = _ref2.name,
|
|
3065
|
-
|
|
3171
|
+
value = _ref2.value;
|
|
3066
3172
|
|
|
3067
3173
|
var handleSegmentClick = React.useCallback(function (e) {
|
|
3068
|
-
handleBubbleClick(e, name,
|
|
3069
|
-
}, [name,
|
|
3174
|
+
handleBubbleClick(e, name, value);
|
|
3175
|
+
}, [name, value, handleBubbleClick]);
|
|
3070
3176
|
|
|
3071
3177
|
if (end - start === 1) {
|
|
3072
3178
|
return React.createElement("circle", {
|
|
@@ -3112,6 +3218,8 @@ exports.Bubble = React.memo(function (_ref3) {
|
|
|
3112
3218
|
latitude = _ref3.latitude,
|
|
3113
3219
|
longitude = _ref3.longitude,
|
|
3114
3220
|
bubbleSize = _ref3.bubbleSize,
|
|
3221
|
+
_ref3$additionalField = _ref3.additionalFields,
|
|
3222
|
+
additionalFields = _ref3$additionalField === void 0 ? [] : _ref3$additionalField,
|
|
3115
3223
|
map = _ref3.map,
|
|
3116
3224
|
handleMapClick = _ref3.handleMapClick;
|
|
3117
3225
|
var onBubbleClick = React.useCallback(function (e, name, value) {
|
|
@@ -3173,7 +3281,7 @@ exports.Bubble = React.memo(function (_ref3) {
|
|
|
3173
3281
|
return React.createElement(StyledMarkerWrapper, {
|
|
3174
3282
|
longitude: longitude,
|
|
3175
3283
|
latitude: latitude,
|
|
3176
|
-
|
|
3284
|
+
additionalFields: [].concat(_toConsumableArray(bubbleSize), _toConsumableArray(additionalFields)),
|
|
3177
3285
|
map: map,
|
|
3178
3286
|
"data-test-type": "bubble"
|
|
3179
3287
|
}, bubble);
|
|
@@ -3204,6 +3312,8 @@ var BubbleLayer = function BubbleLayer(props) {
|
|
|
3204
3312
|
bubbleSizeFields = _ref4.bubbleSizeFields,
|
|
3205
3313
|
isPie = _ref4.isPie;
|
|
3206
3314
|
|
|
3315
|
+
var _bubbleLayer$addition = bubbleLayer.additionalTooltipFields,
|
|
3316
|
+
additionalTooltipFields = _bubbleLayer$addition === void 0 ? [] : _bubbleLayer$addition;
|
|
3207
3317
|
var roundedZoom = Math.round(zoom);
|
|
3208
3318
|
var themeColor = themeColorScheme === 'light' ? '#ffffff' : '#1a1c20';
|
|
3209
3319
|
var dynamicColors = bubbleLayer.dataColors; // filter data for the current zoom level and sort base on values
|
|
@@ -3251,13 +3361,19 @@ var BubbleLayer = function BubbleLayer(props) {
|
|
|
3251
3361
|
longitude = _datum$data$coordinat[0],
|
|
3252
3362
|
latitude = _datum$data$coordinat[1];
|
|
3253
3363
|
|
|
3254
|
-
var bubbleSize = datum.data.values.map(function (
|
|
3364
|
+
var bubbleSize = datum.data.values.map(function (value, index) {
|
|
3255
3365
|
return {
|
|
3256
3366
|
name: bubbleSizeFields[index],
|
|
3257
|
-
|
|
3367
|
+
value: value,
|
|
3258
3368
|
color: colors[index]
|
|
3259
3369
|
};
|
|
3260
3370
|
});
|
|
3371
|
+
var additionalFields = bubbleLayer.metadata ? additionalTooltipFields.map(function (field) {
|
|
3372
|
+
return {
|
|
3373
|
+
name: field,
|
|
3374
|
+
value: datum.data.metadata[field]
|
|
3375
|
+
};
|
|
3376
|
+
}) : [];
|
|
3261
3377
|
return React.createElement(exports.Bubble, {
|
|
3262
3378
|
key: String(i),
|
|
3263
3379
|
originalValues: datum.data.values,
|
|
@@ -3268,6 +3384,7 @@ var BubbleLayer = function BubbleLayer(props) {
|
|
|
3268
3384
|
longitude: longitude,
|
|
3269
3385
|
latitude: latitude,
|
|
3270
3386
|
bubbleSize: bubbleSize,
|
|
3387
|
+
additionalFields: additionalFields,
|
|
3271
3388
|
map: map,
|
|
3272
3389
|
handleMapClick: function handleMapClick(e, name, value) {
|
|
3273
3390
|
return _handleMapClick(e, name, value, i);
|
|
@@ -3294,7 +3411,7 @@ var React = __webpack_require__(1);
|
|
|
3294
3411
|
|
|
3295
3412
|
var styled_components_1 = __webpack_require__(4);
|
|
3296
3413
|
|
|
3297
|
-
var Popover_1 = __webpack_require__(
|
|
3414
|
+
var Popover_1 = __webpack_require__(106);
|
|
3298
3415
|
|
|
3299
3416
|
var i18n_1 = __webpack_require__(3);
|
|
3300
3417
|
|
|
@@ -3314,8 +3431,8 @@ var StyledValueColumn = styled_components_1.default.td.withConfig({
|
|
|
3314
3431
|
displayName: "Tooltip__StyledValueColumn",
|
|
3315
3432
|
componentId: "xwewsa-3"
|
|
3316
3433
|
})(["text-align:right;"]);
|
|
3317
|
-
var
|
|
3318
|
-
displayName: "
|
|
3434
|
+
var StyledColorBlock = styled_components_1.default.div.withConfig({
|
|
3435
|
+
displayName: "Tooltip__StyledColorBlock",
|
|
3319
3436
|
componentId: "xwewsa-4"
|
|
3320
3437
|
})(["background-color:", ";display:inline-block;margin-right:4px;border-radius:2px;width:6px;height:11px;transform:translateY(1px);"], function (props) {
|
|
3321
3438
|
return props.color;
|
|
@@ -3359,8 +3476,8 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
3359
3476
|
anchor = _ref.anchor,
|
|
3360
3477
|
latitude = _ref.latitude,
|
|
3361
3478
|
longitude = _ref.longitude,
|
|
3362
|
-
_ref$
|
|
3363
|
-
|
|
3479
|
+
_ref$additionalFields = _ref.additionalFields,
|
|
3480
|
+
additionalFields = _ref$additionalFields === void 0 ? [] : _ref$additionalFields;
|
|
3364
3481
|
return React.createElement(StyledPopover, {
|
|
3365
3482
|
open: open,
|
|
3366
3483
|
anchor: anchor,
|
|
@@ -3370,19 +3487,20 @@ var Tooltip = function Tooltip(_ref) {
|
|
|
3370
3487
|
"data-test": "latitude"
|
|
3371
3488
|
}, exports.convertDegToDMS(latitude, 'latitude'))), React.createElement("tr", null, React.createElement(StyledTitleColumn, null, i18n_1._('Longitude')), React.createElement(StyledValueColumn, {
|
|
3372
3489
|
"data-test": "longitude"
|
|
3373
|
-
}, exports.convertDegToDMS(longitude, 'longitude'))),
|
|
3490
|
+
}, exports.convertDegToDMS(longitude, 'longitude'))), additionalFields.map(function (_ref2, index) {
|
|
3374
3491
|
var name = _ref2.name,
|
|
3375
|
-
|
|
3492
|
+
value = _ref2.value,
|
|
3376
3493
|
color = _ref2.color;
|
|
3377
3494
|
return React.createElement("tr", {
|
|
3378
|
-
key:
|
|
3495
|
+
key: String(index)
|
|
3379
3496
|
}, React.createElement(StyledTitleColumn, {
|
|
3380
|
-
"data-test": "
|
|
3381
|
-
}, React.createElement(
|
|
3497
|
+
"data-test": "field-title"
|
|
3498
|
+
}, color ? React.createElement(StyledColorBlock, {
|
|
3499
|
+
"data-test": "field-color",
|
|
3382
3500
|
color: color
|
|
3383
|
-
}), name), React.createElement(StyledValueColumn, {
|
|
3384
|
-
"data-test": "
|
|
3385
|
-
},
|
|
3501
|
+
}) : null, name), React.createElement(StyledValueColumn, {
|
|
3502
|
+
"data-test": "field-value"
|
|
3503
|
+
}, value));
|
|
3386
3504
|
}))));
|
|
3387
3505
|
};
|
|
3388
3506
|
|
|
@@ -3395,7 +3513,7 @@ exports.default = Tooltip;
|
|
|
3395
3513
|
"use strict";
|
|
3396
3514
|
|
|
3397
3515
|
|
|
3398
|
-
var _defineProperty = __webpack_require__(
|
|
3516
|
+
var _defineProperty = __webpack_require__(7);
|
|
3399
3517
|
|
|
3400
3518
|
var __rest = this && this.__rest || function (s, e) {
|
|
3401
3519
|
var t = {};
|
|
@@ -3421,9 +3539,11 @@ var React = __webpack_require__(1);
|
|
|
3421
3539
|
|
|
3422
3540
|
var colorUtils_1 = __webpack_require__(12);
|
|
3423
3541
|
|
|
3424
|
-
var
|
|
3542
|
+
var lodash_1 = __webpack_require__(2);
|
|
3543
|
+
|
|
3544
|
+
var MapUtils_1 = __webpack_require__(105);
|
|
3425
3545
|
|
|
3426
|
-
var MarkerWrapper_1 = __webpack_require__(
|
|
3546
|
+
var MarkerWrapper_1 = __webpack_require__(129);
|
|
3427
3547
|
|
|
3428
3548
|
var MarkerIcon = function MarkerIcon(_a) {
|
|
3429
3549
|
var theme = _a.theme,
|
|
@@ -3455,6 +3575,7 @@ var Marker = React.memo(function (_ref) {
|
|
|
3455
3575
|
color = _ref.color,
|
|
3456
3576
|
themeColorScheme = _ref.themeColorScheme,
|
|
3457
3577
|
map = _ref.map,
|
|
3578
|
+
additionalFields = _ref.additionalFields,
|
|
3458
3579
|
handleLayerClick = _ref.handleLayerClick;
|
|
3459
3580
|
var icon = React.useMemo(function () {
|
|
3460
3581
|
return React.createElement(exports.MarkerIcon, {
|
|
@@ -3462,11 +3583,12 @@ var Marker = React.memo(function (_ref) {
|
|
|
3462
3583
|
theme: themeColorScheme,
|
|
3463
3584
|
onClick: handleLayerClick
|
|
3464
3585
|
});
|
|
3465
|
-
}, [color, themeColorScheme]);
|
|
3586
|
+
}, [color, handleLayerClick, themeColorScheme]);
|
|
3466
3587
|
return React.createElement(StyledMarkerWrapper, {
|
|
3467
3588
|
latitude: latitude,
|
|
3468
3589
|
longitude: longitude,
|
|
3469
3590
|
map: map,
|
|
3591
|
+
additionalFields: additionalFields,
|
|
3470
3592
|
"data-test-type": "marker"
|
|
3471
3593
|
}, icon);
|
|
3472
3594
|
});
|
|
@@ -3477,21 +3599,50 @@ var StyledMarkerWrapper = styled_components_1.default(MarkerWrapper_1.default).w
|
|
|
3477
3599
|
})(["width:22px;height:28px;cursor:pointer;"]);
|
|
3478
3600
|
|
|
3479
3601
|
var generateMarkerWrapperProps = function generateMarkerWrapperProps(markerLayer) {
|
|
3602
|
+
var onMapClick = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : lodash_1.noop;
|
|
3480
3603
|
var latArray = markerLayer.latitude;
|
|
3481
3604
|
var lonArray = markerLayer.longitude;
|
|
3482
3605
|
var isStaticColor = !markerLayer.dataColors;
|
|
3483
3606
|
var limit = Math.min(latArray.length, lonArray.length, markerLayer.resultLimit ? markerLayer.resultLimit : MapUtils_1.DEFAULT_RESULT_LIMIT);
|
|
3484
3607
|
var markerProps = [];
|
|
3485
3608
|
|
|
3486
|
-
|
|
3609
|
+
var _loop = function _loop(i) {
|
|
3487
3610
|
var staticColor = markerLayer.seriesColors && colorUtils_1.isColor(markerLayer.seriesColors[0]) ? markerLayer.seriesColors[0] : MapUtils_1.DEFAULT_CLUSTER_COLOR;
|
|
3488
3611
|
var dynamicColor = markerLayer.dataColors && colorUtils_1.isColor(markerLayer.dataColors[i]) ? markerLayer.dataColors[i] : MapUtils_1.DEFAULT_CLUSTER_COLOR;
|
|
3489
3612
|
var color = isStaticColor ? staticColor : dynamicColor;
|
|
3613
|
+
var additionalFields = markerLayer.metadata ? markerLayer.additionalTooltipFields.map(function (field) {
|
|
3614
|
+
return {
|
|
3615
|
+
name: field,
|
|
3616
|
+
value: markerLayer.metadata[i][field]
|
|
3617
|
+
};
|
|
3618
|
+
}) : [];
|
|
3619
|
+
|
|
3620
|
+
var handleLayerClick = function handleLayerClick(e) {
|
|
3621
|
+
var _a;
|
|
3622
|
+
|
|
3623
|
+
var metadata = (_a = markerLayer === null || markerLayer === void 0 ? void 0 : markerLayer.metadata[i]) !== null && _a !== void 0 ? _a : {};
|
|
3624
|
+
var payload = Object.keys(metadata).reduce(function (acc, curr) {
|
|
3625
|
+
var key = "row.".concat(curr, ".value");
|
|
3626
|
+
var value = String(metadata[curr]);
|
|
3627
|
+
return Object.assign(Object.assign({}, acc), _defineProperty({}, key, value));
|
|
3628
|
+
}, {});
|
|
3629
|
+
onMapClick({
|
|
3630
|
+
e: e,
|
|
3631
|
+
payload: payload
|
|
3632
|
+
});
|
|
3633
|
+
};
|
|
3634
|
+
|
|
3490
3635
|
markerProps.push({
|
|
3491
3636
|
latitude: latArray[i],
|
|
3492
3637
|
longitude: lonArray[i],
|
|
3493
|
-
color: color
|
|
3638
|
+
color: color,
|
|
3639
|
+
additionalFields: additionalFields,
|
|
3640
|
+
handleLayerClick: handleLayerClick
|
|
3494
3641
|
});
|
|
3642
|
+
};
|
|
3643
|
+
|
|
3644
|
+
for (var i = 0; i < limit; i += 1) {
|
|
3645
|
+
_loop(i);
|
|
3495
3646
|
}
|
|
3496
3647
|
|
|
3497
3648
|
return markerProps;
|
|
@@ -3505,38 +3656,15 @@ var MarkerLayer = function MarkerLayer(props) {
|
|
|
3505
3656
|
markerLayer = props.markerLayer,
|
|
3506
3657
|
onMapClick = props.onMapClick;
|
|
3507
3658
|
markerLayer.seriesColors = markerLayer.seriesColors || MapUtils_1.DEFAULT_SERIES_COLORS;
|
|
3508
|
-
var
|
|
3509
|
-
return exports.generateMarkerWrapperProps(markerLayer);
|
|
3510
|
-
}, [markerLayer]);
|
|
3511
|
-
var onMarkerClick = React.useCallback(function (e, i) {
|
|
3512
|
-
var _a;
|
|
3513
|
-
|
|
3514
|
-
var metadata = (_a = markerLayer === null || markerLayer === void 0 ? void 0 : markerLayer.metadata[i]) !== null && _a !== void 0 ? _a : {};
|
|
3515
|
-
var payload = Object.keys(metadata).reduce(function (acc, curr) {
|
|
3516
|
-
var key = "row.".concat(curr, ".value");
|
|
3517
|
-
var value = String(metadata[curr]);
|
|
3518
|
-
return Object.assign(Object.assign({}, acc), _defineProperty({}, key, value));
|
|
3519
|
-
}, {});
|
|
3520
|
-
onMapClick({
|
|
3521
|
-
e: e,
|
|
3522
|
-
payload: payload
|
|
3523
|
-
});
|
|
3659
|
+
var markerPropsList = React.useMemo(function () {
|
|
3660
|
+
return exports.generateMarkerWrapperProps(markerLayer, onMapClick);
|
|
3524
3661
|
}, [markerLayer, onMapClick]);
|
|
3525
|
-
return React.createElement(React.Fragment, null,
|
|
3526
|
-
|
|
3527
|
-
longitude = _ref2.longitude,
|
|
3528
|
-
color = _ref2.color;
|
|
3529
|
-
return React.createElement(Marker, {
|
|
3662
|
+
return React.createElement(React.Fragment, null, markerPropsList.map(function (markerProps, i) {
|
|
3663
|
+
return React.createElement(Marker, Object.assign({
|
|
3530
3664
|
key: String(i),
|
|
3531
|
-
latitude: latitude,
|
|
3532
|
-
longitude: longitude,
|
|
3533
|
-
color: color,
|
|
3534
3665
|
themeColorScheme: themeColorScheme,
|
|
3535
|
-
map: map
|
|
3536
|
-
|
|
3537
|
-
return onMarkerClick(e, i);
|
|
3538
|
-
}
|
|
3539
|
-
});
|
|
3666
|
+
map: map
|
|
3667
|
+
}, markerProps));
|
|
3540
3668
|
}));
|
|
3541
3669
|
};
|
|
3542
3670
|
|
|
@@ -3553,21 +3681,21 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3553
3681
|
value: true
|
|
3554
3682
|
});
|
|
3555
3683
|
|
|
3556
|
-
var visualization_icons_1 = __webpack_require__(
|
|
3684
|
+
var visualization_icons_1 = __webpack_require__(45);
|
|
3557
3685
|
|
|
3558
|
-
var placeholders_1 = __webpack_require__(
|
|
3686
|
+
var placeholders_1 = __webpack_require__(44);
|
|
3559
3687
|
|
|
3560
3688
|
var schemaUtils_1 = __webpack_require__(15);
|
|
3561
3689
|
|
|
3562
|
-
var visualization_color_palettes_1 = __webpack_require__(
|
|
3690
|
+
var visualization_color_palettes_1 = __webpack_require__(43);
|
|
3563
3691
|
|
|
3564
|
-
var themes_1 = __webpack_require__(
|
|
3692
|
+
var themes_1 = __webpack_require__(65);
|
|
3565
3693
|
|
|
3566
3694
|
var i18n_1 = __webpack_require__(3);
|
|
3567
3695
|
|
|
3568
3696
|
var VizBehavior_1 = __webpack_require__(5);
|
|
3569
3697
|
|
|
3570
|
-
var VizCategory_1 = __webpack_require__(
|
|
3698
|
+
var VizCategory_1 = __webpack_require__(28);
|
|
3571
3699
|
|
|
3572
3700
|
var configUtils_1 = __webpack_require__(6);
|
|
3573
3701
|
|
|
@@ -3612,13 +3740,13 @@ var size = {
|
|
|
3612
3740
|
var optionsSchema = {
|
|
3613
3741
|
backgroundColor: {
|
|
3614
3742
|
default: '> themes.defaultBackgroundColor',
|
|
3615
|
-
description: 'Specify
|
|
3743
|
+
description: 'Specify a color for the background. You might use a dataSource to apply the color. The default for enterprise light is "#FFFFFF". The default for enterprise dark is "#000000". The default for prisma dark is "#0B0C0E".',
|
|
3616
3744
|
pattern: schemaUtils_1.COLOR_OR_TOKEN_PATTERN_WITH_RGBA,
|
|
3617
3745
|
type: 'string'
|
|
3618
3746
|
},
|
|
3619
3747
|
center: {
|
|
3620
3748
|
type: 'array',
|
|
3621
|
-
description: 'Specify the center of the map in coordinates, in the form of [latitude, longitude].
|
|
3749
|
+
description: 'Specify the center of the map in coordinates, in the form of [latitude, longitude]. If you don’t provide coordinates, the map automatically centers, based on available location data. If there is no available location data, the center of the map defaults to [37.7749, -122.4194].',
|
|
3622
3750
|
items: {
|
|
3623
3751
|
type: 'number'
|
|
3624
3752
|
}
|
|
@@ -3632,18 +3760,18 @@ var optionsSchema = {
|
|
|
3632
3760
|
longitude: '> primary | seriesByName("longitude")',
|
|
3633
3761
|
seriesColors: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
3634
3762
|
bubbleSize: '> primary | frameWithoutSeriesNames("geobin", "latitude", "longitude") | frameBySeriesTypes("number")',
|
|
3635
|
-
|
|
3763
|
+
additionalTooltipFields: [],
|
|
3636
3764
|
resultLimit: 1000
|
|
3637
3765
|
}, {
|
|
3638
3766
|
type: 'marker',
|
|
3639
3767
|
latitude: '> primary | seriesByName("latitude")',
|
|
3640
3768
|
longitude: '> primary | seriesByName("longitude")',
|
|
3641
3769
|
seriesColors: visualization_color_palettes_1.VIZ_CATEGORICAL,
|
|
3642
|
-
|
|
3770
|
+
additionalTooltipFields: [],
|
|
3643
3771
|
resultLimit: 1000
|
|
3644
3772
|
}],
|
|
3645
3773
|
type: 'array',
|
|
3646
|
-
description: 'Specify the data visualization layers
|
|
3774
|
+
description: 'Specify the optional data visualization layers over the base map. If empty, only the base map appears.',
|
|
3647
3775
|
items: {
|
|
3648
3776
|
anyOf: [{
|
|
3649
3777
|
type: 'object',
|
|
@@ -3651,25 +3779,34 @@ var optionsSchema = {
|
|
|
3651
3779
|
type: {
|
|
3652
3780
|
description: 'Specify the type of data layer method to display points on the map. For example, “bubble” or “marker”.',
|
|
3653
3781
|
type: 'string',
|
|
3654
|
-
pattern: schemaUtils_1.getPattern(['marker']),
|
|
3782
|
+
pattern: schemaUtils_1.getPattern(['marker', 'bubble']),
|
|
3655
3783
|
default: 'marker'
|
|
3656
3784
|
},
|
|
3657
3785
|
latitude: {
|
|
3658
3786
|
description: 'Specify a dataSource series to apply latitude coordinates for data points displayed on the map.',
|
|
3659
3787
|
type: ['string', 'array'],
|
|
3788
|
+
items: {
|
|
3789
|
+
type: 'number'
|
|
3790
|
+
},
|
|
3660
3791
|
default: '> primary | seriesByName("latitude")'
|
|
3661
3792
|
},
|
|
3662
3793
|
longitude: {
|
|
3663
3794
|
description: 'Specify a dataSource series to apply longitude coordinates for data points displayed on the map.',
|
|
3664
3795
|
type: ['string', 'array'],
|
|
3796
|
+
items: {
|
|
3797
|
+
type: 'number'
|
|
3798
|
+
},
|
|
3665
3799
|
default: '> primary | seriesByName("longitude")'
|
|
3666
3800
|
},
|
|
3667
3801
|
dataColors: {
|
|
3668
|
-
description: 'Specify the colors used for data points. You may use an array of colors to be picked from, or you may use a dataSource to apply dynamic coloring. For example, “> primary | seriesByName("status") | matchValue(colorMatchConfig)”. ',
|
|
3669
|
-
type: ['string', 'array']
|
|
3802
|
+
description: 'Specify the colors used for data points. If specified, this option overrides the seriesColors option. You may use an array of colors to be picked from, or you may use a dataSource to apply dynamic coloring. For example, “> primary | seriesByName("status") | matchValue(colorMatchConfig)”. ',
|
|
3803
|
+
type: ['string', 'array'],
|
|
3804
|
+
items: {
|
|
3805
|
+
type: 'string'
|
|
3806
|
+
}
|
|
3670
3807
|
},
|
|
3671
3808
|
seriesColors: {
|
|
3672
|
-
description: 'Specify the colors used for data points.',
|
|
3809
|
+
description: 'Specify the colors used for data points. If the dataColors option is specified, the seriesColors option is ignored.',
|
|
3673
3810
|
type: 'array',
|
|
3674
3811
|
items: {
|
|
3675
3812
|
type: 'string',
|
|
@@ -3677,8 +3814,8 @@ var optionsSchema = {
|
|
|
3677
3814
|
},
|
|
3678
3815
|
default: visualization_color_palettes_1.VIZ_CATEGORICAL
|
|
3679
3816
|
},
|
|
3680
|
-
|
|
3681
|
-
description: 'Specify the fields to add to tooltips
|
|
3817
|
+
additionalTooltipFields: {
|
|
3818
|
+
description: 'Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values will be shown in addition to the ones displayed by default.',
|
|
3682
3819
|
type: 'array',
|
|
3683
3820
|
items: {
|
|
3684
3821
|
type: 'string'
|
|
@@ -3686,7 +3823,7 @@ var optionsSchema = {
|
|
|
3686
3823
|
default: []
|
|
3687
3824
|
},
|
|
3688
3825
|
resultLimit: {
|
|
3689
|
-
description: 'Specify the maximum number of data points
|
|
3826
|
+
description: 'Specify the maximum number of data points to render on the map. Adjust the value to improve performance.',
|
|
3690
3827
|
type: 'number',
|
|
3691
3828
|
default: 1000
|
|
3692
3829
|
}
|
|
@@ -3697,12 +3834,15 @@ var optionsSchema = {
|
|
|
3697
3834
|
type: {
|
|
3698
3835
|
description: 'Specify the type of data layer method to display points on the map. For example, “bubble” or “marker”.',
|
|
3699
3836
|
type: 'string',
|
|
3700
|
-
pattern: schemaUtils_1.getPattern(['bubble']),
|
|
3837
|
+
pattern: schemaUtils_1.getPattern(['marker', 'bubble']),
|
|
3701
3838
|
default: 'bubble'
|
|
3702
3839
|
},
|
|
3703
3840
|
bubbleSize: {
|
|
3704
|
-
description: 'Specify the data column to encode bubble size',
|
|
3841
|
+
description: 'Specify the data column to encode bubble size. This applies to layers where type: "bubble".',
|
|
3705
3842
|
type: ['string', 'array'],
|
|
3843
|
+
items: {
|
|
3844
|
+
type: 'number'
|
|
3845
|
+
},
|
|
3706
3846
|
default: '> primary | frameWithoutSeriesNames("geobin", "latitude", "longitude") | frameBySeriesTypes("number")'
|
|
3707
3847
|
},
|
|
3708
3848
|
latitude: {
|
|
@@ -3722,11 +3862,14 @@ var optionsSchema = {
|
|
|
3722
3862
|
default: '> primary | seriesByName("longitude")'
|
|
3723
3863
|
},
|
|
3724
3864
|
dataColors: {
|
|
3725
|
-
description: 'Specify the colors used for data points. You may use an array of colors to be picked from, or you may use a dataSource to apply dynamic coloring. For example, “> primary | seriesByName("status") | matchValue(colorMatchConfig)”. ',
|
|
3726
|
-
type: ['string', 'array']
|
|
3865
|
+
description: 'Specify the colors used for data points. If specified, this option overrides the seriesColors option. You may use an array of colors to be picked from, or you may use a dataSource to apply dynamic coloring. For example, “> primary | seriesByName("status") | matchValue(colorMatchConfig)”. ',
|
|
3866
|
+
type: ['string', 'array'],
|
|
3867
|
+
items: {
|
|
3868
|
+
type: 'string'
|
|
3869
|
+
}
|
|
3727
3870
|
},
|
|
3728
3871
|
seriesColors: {
|
|
3729
|
-
description:
|
|
3872
|
+
description: 'Specify the colors used for data points. If the dataColors option is specified, the seriesColors option is ignored.',
|
|
3730
3873
|
type: 'array',
|
|
3731
3874
|
items: {
|
|
3732
3875
|
type: 'string',
|
|
@@ -3734,8 +3877,8 @@ var optionsSchema = {
|
|
|
3734
3877
|
},
|
|
3735
3878
|
default: visualization_color_palettes_1.VIZ_CATEGORICAL
|
|
3736
3879
|
},
|
|
3737
|
-
|
|
3738
|
-
description: 'Specify the fields to add to tooltips
|
|
3880
|
+
additionalTooltipFields: {
|
|
3881
|
+
description: 'Specify the fields to add to the default set of tooltips. Tooltips appear when you hover over data points. These fields and their corresponding values will be shown in addition to the ones displayed by default.',
|
|
3739
3882
|
type: 'array',
|
|
3740
3883
|
items: {
|
|
3741
3884
|
type: 'string'
|
|
@@ -3743,7 +3886,7 @@ var optionsSchema = {
|
|
|
3743
3886
|
default: []
|
|
3744
3887
|
},
|
|
3745
3888
|
resultLimit: {
|
|
3746
|
-
description: 'Specify the maximum number of data points
|
|
3889
|
+
description: 'Specify the maximum number of data points to render on the map. Adjust the value to improve performance.',
|
|
3747
3890
|
type: 'number',
|
|
3748
3891
|
default: 1000
|
|
3749
3892
|
}
|
|
@@ -3754,7 +3897,7 @@ var optionsSchema = {
|
|
|
3754
3897
|
scaleUnit: {
|
|
3755
3898
|
default: 'metric',
|
|
3756
3899
|
type: 'string',
|
|
3757
|
-
description: 'Specify
|
|
3900
|
+
description: 'Specify the scale unit to use.',
|
|
3758
3901
|
pattern: schemaUtils_1.getPattern(['metric', 'imperial'])
|
|
3759
3902
|
},
|
|
3760
3903
|
// TODO: choropleth map retain old design
|
|
@@ -3766,11 +3909,11 @@ var optionsSchema = {
|
|
|
3766
3909
|
showScale: {
|
|
3767
3910
|
default: true,
|
|
3768
3911
|
type: 'boolean',
|
|
3769
|
-
description: 'Specify whether the scale on the bottom left
|
|
3912
|
+
description: 'Specify whether to display the scale on the bottom left.'
|
|
3770
3913
|
},
|
|
3771
3914
|
baseLayerTileServer: {
|
|
3772
3915
|
type: 'string',
|
|
3773
|
-
description: 'Specify the
|
|
3916
|
+
description: 'Specify the URL for the set of tiles that make up the base map.'
|
|
3774
3917
|
},
|
|
3775
3918
|
baseLayerTileServerType: {
|
|
3776
3919
|
type: 'string',
|
|
@@ -3842,14 +3985,13 @@ var editorConfig = [{
|
|
|
3842
3985
|
}], [{
|
|
3843
3986
|
label: i18n_1._('Size'),
|
|
3844
3987
|
option: 'layers[0].bubbleSize',
|
|
3845
|
-
editor: 'editor.
|
|
3988
|
+
editor: 'editor.columnMultiSelector',
|
|
3846
3989
|
showEditor: function showEditor(_ref) {
|
|
3847
3990
|
var options = _ref.options;
|
|
3848
3991
|
return !(options.layers && options.layers.length && options.layers[0].type === 'marker');
|
|
3849
3992
|
},
|
|
3850
3993
|
editorProps: {
|
|
3851
3994
|
dataSourceKey: 'primary',
|
|
3852
|
-
isMultiSelect: true,
|
|
3853
3995
|
shouldShowInternalFields: false,
|
|
3854
3996
|
excludeByNames: ['latitude', 'longitude', 'geobin']
|
|
3855
3997
|
}
|