@progress/kendo-react-map 5.4.0 → 5.5.0-dev.202206221002

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. package/dist/cdn/js/kendo-react-map.js +1 -1
  2. package/dist/es/Map.d.ts +9 -0
  3. package/dist/es/Map.js +32 -2
  4. package/dist/es/components/BubbleLayer.d.ts +2 -1
  5. package/dist/es/components/BubbleLayer.js +7 -0
  6. package/dist/es/components/BubbleLayerTooltip.d.ts +15 -0
  7. package/dist/es/components/BubbleLayerTooltip.js +18 -0
  8. package/dist/es/components/Layers.js +1 -1
  9. package/dist/es/components/MarkerLayer.d.ts +2 -1
  10. package/dist/es/components/MarkerLayer.js +7 -0
  11. package/dist/es/components/MarkerLayerTooltip.d.ts +15 -0
  12. package/dist/es/components/MarkerLayerTooltip.js +18 -0
  13. package/dist/es/components/ShapeLayer.d.ts +2 -1
  14. package/dist/es/components/ShapeLayer.js +7 -0
  15. package/dist/es/components/ShapeLayerTooltip.d.ts +15 -0
  16. package/dist/es/components/ShapeLayerTooltip.js +18 -0
  17. package/dist/es/components/main.d.ts +4 -1
  18. package/dist/es/components/main.js +4 -1
  19. package/dist/es/events/dom-event.d.ts +23 -0
  20. package/dist/es/events/dom-event.js +21 -0
  21. package/dist/es/main.d.ts +3 -3
  22. package/dist/es/main.js +2 -2
  23. package/dist/es/package-metadata.js +1 -1
  24. package/dist/es/tooltip/BubbleTooltipContext.d.ts +22 -0
  25. package/dist/es/tooltip/BubbleTooltipContext.js +1 -0
  26. package/dist/es/tooltip/MapTooltip.d.ts +37 -0
  27. package/dist/es/tooltip/MapTooltip.js +123 -0
  28. package/dist/es/tooltip/MarkerTooltipContext.d.ts +22 -0
  29. package/dist/es/tooltip/MarkerTooltipContext.js +1 -0
  30. package/dist/es/tooltip/Popup.d.ts +29 -0
  31. package/dist/es/tooltip/Popup.js +76 -0
  32. package/dist/es/tooltip/ShapeTooltipContext.d.ts +18 -0
  33. package/dist/es/tooltip/ShapeTooltipContext.js +1 -0
  34. package/dist/es/tooltip/main.d.ts +5 -0
  35. package/dist/es/tooltip/main.js +2 -0
  36. package/dist/es/utils/main.d.ts +10 -0
  37. package/dist/es/utils/main.js +28 -0
  38. package/dist/npm/Map.d.ts +9 -0
  39. package/dist/npm/Map.js +32 -2
  40. package/dist/npm/components/BubbleLayer.d.ts +2 -1
  41. package/dist/npm/components/BubbleLayer.js +7 -0
  42. package/dist/npm/components/BubbleLayerTooltip.d.ts +15 -0
  43. package/dist/npm/components/BubbleLayerTooltip.js +21 -0
  44. package/dist/npm/components/Layers.js +1 -1
  45. package/dist/npm/components/MarkerLayer.d.ts +2 -1
  46. package/dist/npm/components/MarkerLayer.js +7 -0
  47. package/dist/npm/components/MarkerLayerTooltip.d.ts +15 -0
  48. package/dist/npm/components/MarkerLayerTooltip.js +21 -0
  49. package/dist/npm/components/ShapeLayer.d.ts +2 -1
  50. package/dist/npm/components/ShapeLayer.js +7 -0
  51. package/dist/npm/components/ShapeLayerTooltip.d.ts +15 -0
  52. package/dist/npm/components/ShapeLayerTooltip.js +21 -0
  53. package/dist/npm/components/main.d.ts +4 -1
  54. package/dist/npm/components/main.js +7 -1
  55. package/dist/npm/events/dom-event.d.ts +23 -0
  56. package/dist/npm/events/dom-event.js +24 -0
  57. package/dist/npm/main.d.ts +3 -3
  58. package/dist/npm/main.js +1 -0
  59. package/dist/npm/package-metadata.js +1 -1
  60. package/dist/npm/tooltip/BubbleTooltipContext.d.ts +22 -0
  61. package/dist/npm/tooltip/BubbleTooltipContext.js +2 -0
  62. package/dist/npm/tooltip/MapTooltip.d.ts +37 -0
  63. package/dist/npm/tooltip/MapTooltip.js +126 -0
  64. package/dist/npm/tooltip/MarkerTooltipContext.d.ts +22 -0
  65. package/dist/npm/tooltip/MarkerTooltipContext.js +2 -0
  66. package/dist/npm/tooltip/Popup.d.ts +29 -0
  67. package/dist/npm/tooltip/Popup.js +79 -0
  68. package/dist/npm/tooltip/ShapeTooltipContext.d.ts +18 -0
  69. package/dist/npm/tooltip/ShapeTooltipContext.js +2 -0
  70. package/dist/npm/tooltip/main.d.ts +5 -0
  71. package/dist/npm/tooltip/main.js +5 -0
  72. package/dist/npm/utils/main.d.ts +10 -0
  73. package/dist/npm/utils/main.js +32 -0
  74. package/dist/systemjs/kendo-react-map.js +1 -1
  75. package/package.json +2 -2
@@ -0,0 +1,126 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __assign = (this && this.__assign) || function () {
18
+ __assign = Object.assign || function(t) {
19
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
20
+ s = arguments[i];
21
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
22
+ t[p] = s[p];
23
+ }
24
+ return t;
25
+ };
26
+ return __assign.apply(this, arguments);
27
+ };
28
+ var __rest = (this && this.__rest) || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
+ t[p] = s[p];
32
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
+ t[p[i]] = s[p[i]];
36
+ }
37
+ return t;
38
+ };
39
+ Object.defineProperty(exports, "__esModule", { value: true });
40
+ exports.MapTooltip = void 0;
41
+ var React = require("react");
42
+ var kendo_charts_1 = require("@progress/kendo-charts");
43
+ var Popup_1 = require("./Popup");
44
+ var MapContext_1 = require("../MapContext");
45
+ /**
46
+ * @hidden
47
+ */
48
+ var MapTooltip = /** @class */ (function (_super) {
49
+ __extends(MapTooltip, _super);
50
+ function MapTooltip() {
51
+ var _this = _super !== null && _super.apply(this, arguments) || this;
52
+ _this.context = null;
53
+ _this.state = {
54
+ popupShown: false
55
+ };
56
+ return _this;
57
+ }
58
+ MapTooltip.prototype.componentDidMount = function () {
59
+ this.mapObserver = new kendo_charts_1.InstanceObserver(this, {
60
+ showTooltip: 'onShowTooltip',
61
+ hideTooltip: 'onHideTooltip'
62
+ });
63
+ this.context.observersStore.dispatch({
64
+ type: 'add',
65
+ payload: this.mapObserver
66
+ });
67
+ };
68
+ MapTooltip.prototype.render = function () {
69
+ var _a = this.state, popupContext = _a.popupContext, shared = _a.shared, className = _a.className, tooltipProps = __rest(_a, ["popupContext", "shared", "className"]);
70
+ if (!popupContext || !this.state.popupShown) {
71
+ // Popup closed.
72
+ return null;
73
+ }
74
+ var layerIndex = popupContext.layerIndex;
75
+ var render = this.findRenderFunctionByLayer(layerIndex);
76
+ if (!render) {
77
+ // No renderer set for layer tooltip.
78
+ return null;
79
+ }
80
+ var tooltipContent = function () { return (React.createElement("div", { className: "k-tooltip-content" }, render(popupContext))); };
81
+ var popupContainerClassName = "k-map-".concat(popupContext.type, "-tooltip");
82
+ return (React.createElement(Popup_1.TooltipPopup, __assign({}, tooltipProps, { popupContent: tooltipContent, className: popupContainerClassName })));
83
+ };
84
+ MapTooltip.prototype.componentWillUnmount = function () {
85
+ this.context.observersStore.dispatch({
86
+ type: 'remove',
87
+ payload: this.mapObserver
88
+ });
89
+ };
90
+ MapTooltip.prototype.onShowTooltip = function (e) {
91
+ var anchor = e.anchor, className = e.className;
92
+ var context = this.createTooltipContext(e);
93
+ this.setState({
94
+ popupShown: true,
95
+ popupAlign: { vertical: 'bottom', horizontal: 'center' },
96
+ popupOffset: anchor,
97
+ popupContext: context,
98
+ popupStyles: { position: 'relative' },
99
+ className: className
100
+ });
101
+ };
102
+ MapTooltip.prototype.onHideTooltip = function () {
103
+ this.setState({
104
+ popupShown: false,
105
+ popupStyles: {},
106
+ className: undefined
107
+ });
108
+ };
109
+ MapTooltip.prototype.createTooltipContext = function (e) {
110
+ return e;
111
+ };
112
+ MapTooltip.prototype.findRenderFunctionByLayer = function (layerIndex) {
113
+ var layers = this.context.optionsStore.getState().layers;
114
+ if (layers !== undefined
115
+ && Array.isArray(layers)
116
+ && layers[layerIndex] !== undefined
117
+ && layers[layerIndex].hasOwnProperty('tooltip')
118
+ && layers[layerIndex].tooltip.hasOwnProperty('render')) {
119
+ return layers[layerIndex].tooltip.render;
120
+ }
121
+ return null;
122
+ };
123
+ MapTooltip.contextType = MapContext_1.MapContext;
124
+ return MapTooltip;
125
+ }(React.Component));
126
+ exports.MapTooltip = MapTooltip;
@@ -0,0 +1,22 @@
1
+ import { Location } from '../main';
2
+ /**
3
+ * Context object for marker tooltips.
4
+ */
5
+ export interface MarkerTooltipContext {
6
+ /**
7
+ * The original data item used to create the marker.
8
+ */
9
+ dataItem: any;
10
+ /**
11
+ * The index of the marker layer in the map.
12
+ */
13
+ layerIndex: number;
14
+ /**
15
+ * The location of the marker.
16
+ */
17
+ location: Location;
18
+ /**
19
+ * The title of the marker.
20
+ */
21
+ title: string;
22
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,29 @@
1
+ import * as React from 'react';
2
+ import { InstanceObserver } from '@progress/kendo-charts';
3
+ import { DomEvent } from './../events/dom-event';
4
+ import { Align, Offset } from '@progress/kendo-react-popup';
5
+ import { MapContext } from '../MapContext';
6
+ /**
7
+ * @hidden
8
+ */
9
+ export interface TooltipPopupProps {
10
+ className?: string | undefined;
11
+ popupShown: boolean;
12
+ popupAlign?: Align;
13
+ popupOffset?: Offset;
14
+ popupStyles?: any;
15
+ popupContent: Function;
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export declare class TooltipPopup extends React.Component<TooltipPopupProps, {}> {
21
+ static contextType: React.Context<import("../MapContext").MapContextType | null>;
22
+ context: React.ContextType<typeof MapContext>;
23
+ mapObserver: InstanceObserver;
24
+ element: HTMLDivElement | null;
25
+ constructor(props: TooltipPopupProps, context: any);
26
+ render(): JSX.Element;
27
+ componentWillUnmount(): void;
28
+ onMapMouseLeave: (e: DomEvent<React.MouseEvent<HTMLDivElement>>) => boolean;
29
+ }
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ var __extends = (this && this.__extends) || (function () {
3
+ var extendStatics = function (d, b) {
4
+ extendStatics = Object.setPrototypeOf ||
5
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
6
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
7
+ return extendStatics(d, b);
8
+ };
9
+ return function (d, b) {
10
+ if (typeof b !== "function" && b !== null)
11
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
12
+ extendStatics(d, b);
13
+ function __() { this.constructor = d; }
14
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15
+ };
16
+ })();
17
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
18
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
19
+ if (ar || !(i in from)) {
20
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
21
+ ar[i] = from[i];
22
+ }
23
+ }
24
+ return to.concat(ar || Array.prototype.slice.call(from));
25
+ };
26
+ Object.defineProperty(exports, "__esModule", { value: true });
27
+ exports.TooltipPopup = void 0;
28
+ var React = require("react");
29
+ var kendo_charts_1 = require("@progress/kendo-charts");
30
+ var main_1 = require("../utils/main");
31
+ var kendo_react_popup_1 = require("@progress/kendo-react-popup");
32
+ var MapContext_1 = require("../MapContext");
33
+ var COLLISION = { horizontal: 'fit', vertical: 'fit' };
34
+ var TOOLTIP_CLASSES = ['k-tooltip', 'k-map-tooltip'];
35
+ var POPUP_WRAPPER_CLASS = 'k-tooltip-wrapper';
36
+ /**
37
+ * @hidden
38
+ */
39
+ var TooltipPopup = /** @class */ (function (_super) {
40
+ __extends(TooltipPopup, _super);
41
+ function TooltipPopup(props, context) {
42
+ var _this = _super.call(this, props, context) || this;
43
+ _this.context = null;
44
+ _this.element = null;
45
+ _this.onMapMouseLeave = function (e) {
46
+ var syntheticEvent = e.syntheticEvent;
47
+ if ((0, main_1.hasParent)(syntheticEvent.relatedTarget, _this.element)) {
48
+ /* prevent default behavior so that the tooltip won't be hidden */
49
+ return true;
50
+ }
51
+ return false;
52
+ };
53
+ _this.mapObserver = new kendo_charts_1.InstanceObserver(_this, {
54
+ onMouseLeave: 'onMapMouseLeave'
55
+ });
56
+ context.observersStore.dispatch({
57
+ type: 'add',
58
+ payload: _this.mapObserver
59
+ });
60
+ return _this;
61
+ }
62
+ TooltipPopup.prototype.render = function () {
63
+ var _this = this;
64
+ var _a = this.props, popupShown = _a.popupShown, popupAlign = _a.popupAlign, popupOffset = _a.popupOffset, popupStyles = _a.popupStyles, popupContent = _a.popupContent, className = _a.className;
65
+ var wrapperClass = __spreadArray(__spreadArray([], TOOLTIP_CLASSES, true), [className], false).join(' ').trim();
66
+ var popupComponent = (React.createElement(kendo_react_popup_1.Popup, { animate: true, popupAlign: popupAlign, offset: popupOffset, show: popupShown, collision: COLLISION, className: POPUP_WRAPPER_CLASS },
67
+ React.createElement("div", { className: wrapperClass, style: popupStyles, ref: function (el) { return _this.element = el; } }, popupContent())));
68
+ return popupComponent;
69
+ };
70
+ TooltipPopup.prototype.componentWillUnmount = function () {
71
+ this.context.observersStore.dispatch({
72
+ type: 'remove',
73
+ payload: this.mapObserver
74
+ });
75
+ };
76
+ TooltipPopup.contextType = MapContext_1.MapContext;
77
+ return TooltipPopup;
78
+ }(React.Component));
79
+ exports.TooltipPopup = TooltipPopup;
@@ -0,0 +1,18 @@
1
+ import { Location } from '../main';
2
+ /**
3
+ * Context object for shape layer tooltips.
4
+ */
5
+ export interface ShapeTooltipContext {
6
+ /**
7
+ * The original GeoJSON data item used to create the shape.
8
+ */
9
+ dataItem: any;
10
+ /**
11
+ * The index of the shape layer in the map.
12
+ */
13
+ layerIndex: number;
14
+ /**
15
+ * The location (center point) of the shape.
16
+ */
17
+ location: Location;
18
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { MapTooltip } from './MapTooltip';
2
+ import { MarkerTooltipContext } from './MarkerTooltipContext';
3
+ import { BubbleTooltipContext } from './BubbleTooltipContext';
4
+ import { ShapeTooltipContext } from './ShapeTooltipContext';
5
+ export { BubbleTooltipContext, MarkerTooltipContext, MapTooltip, ShapeTooltipContext };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.MapTooltip = void 0;
4
+ var MapTooltip_1 = require("./MapTooltip");
5
+ Object.defineProperty(exports, "MapTooltip", { enumerable: true, get: function () { return MapTooltip_1.MapTooltip; } });
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * @hidden
4
+ */
5
+ declare function hasParent(element: any, parent: any): boolean;
6
+ /**
7
+ * @hidden
8
+ */
9
+ declare function validateChildren<P>(props: P, propName: string, componentName: string, childType: React.FunctionComponent): Error | null;
10
+ export { hasParent, validateChildren };
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.validateChildren = exports.hasParent = void 0;
4
+ /**
5
+ * @hidden
6
+ */
7
+ function hasParent(element, parent) {
8
+ var current = element;
9
+ while (current && current !== parent) {
10
+ current = current.parentNode;
11
+ }
12
+ return current ? true : false;
13
+ }
14
+ exports.hasParent = hasParent;
15
+ /**
16
+ * @hidden
17
+ */
18
+ function validateChildren(props, propName, componentName, childType) {
19
+ var prop = props[propName];
20
+ if (prop) {
21
+ if (Array.isArray(prop)) {
22
+ for (var _i = 0, prop_1 = prop; _i < prop_1.length; _i++) {
23
+ var value = prop_1[_i];
24
+ if (!value.type || value.type !== childType) {
25
+ return new Error("".concat(componentName, " children should be Array of type ").concat(childType.displayName, "."));
26
+ }
27
+ }
28
+ }
29
+ }
30
+ return null;
31
+ }
32
+ exports.validateChildren = validateChildren;
@@ -1 +1 @@
1
- System.register("@progress/kendo-react-map",["@progress/kendo-charts","@progress/kendo-react-common","prop-types","react"],function(e,t){var n={},i={},a={},c={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(c,"__esModule",{value:!0}),{setters:[function(t){Object.keys(t).forEach(function(e){n[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){i[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){a[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){c[e]=t[e]})}],execute:function(){e((()=>{"use strict";var r={697:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__rest||function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},c=(Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0,n(954)),s=n(895),p=n(777),u=n(194),l=n(113),f=n(600),y=(n(410),n(636)),v=n(811),d=n(363),n=(o=c.Component,i(h,o),Object.defineProperty(h.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),h.prototype.componentDidMount=function(){this.instantiateCoreMap(),this.optionsUnsubscriber=this.optionsStore.subscribe(this.refresh.bind(this)),window.addEventListener("resize",this.onWindowResize)},h.prototype.componentWillUnmount=function(){this.optionsUnsubscriber(),null!==this.mapInstance&&(this.mapInstance.destroy(),this.mapInstance=null),window.removeEventListener("resize",this.onWindowResize)},h.prototype.componentDidUpdate=function(e){var t=this.props,n=(t.dir,t.children,a(t,["dir","children"]));null!==this.mapInstance&&(Object.entries(e).filter(function(e){return"dir"!==e[0]&&"children"!==e[0]}).some(function(e){var t=e[0],e=e[1];return!(n.hasOwnProperty(t)&&n[t]===e)})&&this.refresh(),e.dir)},h.prototype.render=function(){var t=this,e=this.props,n=e.style,r=e.className,e=e.children,n=Object.assign({},void 0===n?{}:n,{position:"relative"}),r=c.createElement("div",{className:r,style:n,key:"mapElement"},c.createElement("div",{ref:function(e){return t._element=e},className:"k-map"},e));return c.createElement(y.MapContext.Provider,{value:this.contextValue},r)},h.prototype.getMapOptions=function(){var e=this.props,e={center:e.center,controls:e.controls,minZoom:e.minZoom,maxZoom:e.maxZoom,minSize:e.minSize,pannable:e.pannable,wraparound:e.wraparound,zoom:e.zoom,zoomable:e.zoomable};return Object.assign(e,this.optionsStore.getState())},h.prototype.refresh=function(){var e;null!==this.mapInstance&&(e=this.getMapOptions(),this.mapInstance.setOptions(e))},h.prototype.instantiateCoreMap=function(){var e=this.getMapOptions();this.mapInstance=new p.Map(this.element,e,{},{observer:this.mapObserver,sender:this})},h.prototype.trigger=function(e,t){for(var n="click"===e?"mapClick":e,e=(0,u.create)(n,t,this),r="on"+n.charAt(0).toUpperCase()+n.slice(1),o=this.observersStore.getState(),i=!1,a=0;a<o.length;a++)o[a].trigger(n,t)&&(i=!0);return!1===i&&e&&this.props.hasOwnProperty(r)?(this.props[r].call(void 0,e),e.isDefaultPrevented&&e.isDefaultPrevented()):i},h.prototype.requiresHandlers=function(e){for(var t=0;t<e.length;t++){var n=e[t],n="on"+n.charAt(0).toUpperCase()+n.slice(1);if(this.props.hasOwnProperty(n))return!0}return!1},h.propTypes={dir:s.string},h.defaultProps={},h);function h(e){var t=o.call(this,e)||this;return t.mapInstance=null,t._element=null,t.optionsStore={},t.optionsUnsubscriber=Function.prototype,t.observersStore={},t.onRender=function(e){null!==t.mapInstance&&t.trigger("render",e)},t.onWindowResize=function(){t.mapInstance},(0,v.validatePackage)(d.packageMetadata),t.optionsStore=(0,l.default)(f.optionsReducer),t.observersStore=(0,l.default)(f.observersReducer),t.childrenObserver=new p.InstanceObserver(t,{onMouseLeave:"onChildMouseLeave"}),t.contextValue={optionsStore:t.optionsStore,observersStore:t.observersStore,childrenObserver:t.childrenObserver},t.mapObserver=new p.InstanceObserver(t,{}),t}t.Map=n},636:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MapContext=void 0;n=n(954);t.MapContext=n.createContext(null),t.MapContext.displayName="MapContext"},894:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomStartEvent=t.ZoomEndEvent=t.ShapeMouseLeaveEvent=t.ShapeMouseEnterEvent=t.ShapeFeatureCreatedEvent=t.ShapeCreatedEvent=t.ShapeClickEvent=t.ResetEvent=t.PanEvent=t.PanEndEvent=t.MarkerCreatedEvent=t.MarkerClickEvent=t.MarkerActivateEvent=t.MapClickEvent=t.BeforeResetEvent=void 0;var r=n(662),o=(Object.defineProperty(t,"BeforeResetEvent",{enumerable:!0,get:function(){return r.BeforeResetEvent}}),n(921)),i=(Object.defineProperty(t,"MapClickEvent",{enumerable:!0,get:function(){return o.MapClickEvent}}),n(606)),a=(Object.defineProperty(t,"MarkerActivateEvent",{enumerable:!0,get:function(){return i.MarkerActivateEvent}}),n(236)),c=(Object.defineProperty(t,"MarkerClickEvent",{enumerable:!0,get:function(){return a.MarkerClickEvent}}),n(904)),s=(Object.defineProperty(t,"MarkerCreatedEvent",{enumerable:!0,get:function(){return c.MarkerCreatedEvent}}),n(982)),p=(Object.defineProperty(t,"PanEndEvent",{enumerable:!0,get:function(){return s.PanEndEvent}}),n(719)),u=(Object.defineProperty(t,"PanEvent",{enumerable:!0,get:function(){return p.PanEvent}}),n(843)),l=(Object.defineProperty(t,"ResetEvent",{enumerable:!0,get:function(){return u.ResetEvent}}),n(139)),f=(Object.defineProperty(t,"ShapeClickEvent",{enumerable:!0,get:function(){return l.ShapeClickEvent}}),n(861)),y=(Object.defineProperty(t,"ShapeCreatedEvent",{enumerable:!0,get:function(){return f.ShapeCreatedEvent}}),n(737)),v=(Object.defineProperty(t,"ShapeFeatureCreatedEvent",{enumerable:!0,get:function(){return y.ShapeFeatureCreatedEvent}}),n(695)),d=(Object.defineProperty(t,"ShapeMouseEnterEvent",{enumerable:!0,get:function(){return v.ShapeMouseEnterEvent}}),n(773)),h=(Object.defineProperty(t,"ShapeMouseLeaveEvent",{enumerable:!0,get:function(){return d.ShapeMouseLeaveEvent}}),n(706)),_=(Object.defineProperty(t,"ZoomEndEvent",{enumerable:!0,get:function(){return h.ZoomEndEvent}}),n(476));Object.defineProperty(t,"ZoomStartEvent",{enumerable:!0,get:function(){return _.ZoomStartEvent}})},104:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Extent=t.Location=void 0;var r=n(777);Object.defineProperty(t,"Location",{enumerable:!0,get:function(){return r.Location}}),Object.defineProperty(t,"Extent",{enumerable:!0,get:function(){return r.Extent}})},752:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"bubble"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapBubbleLayer=void 0,n(954)),a=n(96);(t.MapBubbleLayer=r).displayName="MapBubbleLayer"},515:function(e,t,n){function r(e){return i.createElement(c.default,o({},e,{_mapKey:"layers"}))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapLayers=void 0,n(954)),a=n(895),c=n(958);(t.MapLayers=r).propTypes={children:a.array}},625:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"marker"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapMarkerLayer=void 0,n(954)),a=n(96);(t.MapMarkerLayer=r).displayName="MapMarkerLayer"},286:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"shape"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapShapeLayer=void 0,n(954)),a=n(96);(t.MapShapeLayer=r).displayName="MapShapeLayer"},641:function(e,t,n){function r(e){return i.createElement(a.default,o({type:"tile"},e))}var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapTileLayer=void 0,n(954)),a=n(96);(t.MapTileLayer=r).displayName="MapTileLayer"},958:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=(Object.defineProperty(t,"__esModule",{value:!0}),n(954)),n=n(636),i=(o=c.Component,i(s,o),s.prototype.renderChildren=function(e,t){var n=e.props.children,r=this.props,o=r._mapKey,r=r._parentStore,o=a(a({},e.props),{_mapCollectionIdxKey:"".concat(o,"_").concat(t),_parentStore:r});return c.cloneElement(e,o,n)},s.prototype.render=function(){var n=this,e=this.props,t=e._mapKey,r=e._parentStore,e=e.children;return(r||this.optionsStore).dispatch({mapKey:t,payload:[]}),c.Children.map(e,function(e,t){return c.isValidElement(e)?n.renderChildren(e,t):e})},s.contextType=n.MapContext,s);function s(e,t){e=o.call(this,e,t)||this;return e.optionsStore=t.optionsStore,e}t.default=i},96:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c=this&&this.__rest||function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n},s=(Object.defineProperty(t,"__esModule",{value:!0}),n(954)),p=n(113),u=n(600),n=n(636),i=(o=s.Component,i(l,o),l.prototype.render=function(){var t=this,e=this.props.children;return void 0!==e?s.Children.map(e,function(e){return s.isValidElement(e)?t.renderChildren(e):e}):null},l.prototype.componentDidMount=function(){this.dispatch()},l.prototype.componentDidUpdate=function(){this.dispatch()},l.prototype.dispatch=function(){var e=this.props,t=e._mapKey,n=e._mapCollectionIdxKey,r=e._parentStore,e=(e.children,c(e,["_mapKey","_mapCollectionIdxKey","_parentStore","children"]));(r||this.optionsStore).dispatch({mapKey:t,mapCollectionIdxKey:n,payload:Object.assign({},e,this.childStore.getState())})},l.prototype.renderChildren=function(e){var t=e.props.children,n=a(a({},e.props),{_parentStore:this.childStore});return s.cloneElement(e,n,t)},l.contextType=n.MapContext,l);function l(e,t){e=o.call(this,e,t)||this;return e.optionsStore=t.optionsStore,e.childStore=(0,p.default)(u.optionsReducer),e}t.default=i},388:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MapMarkerLayer=t.MapBubbleLayer=t.MapTileLayer=t.MapShapeLayer=t.MapLayers=void 0;var r=n(515),o=(Object.defineProperty(t,"MapLayers",{enumerable:!0,get:function(){return r.MapLayers}}),n(286)),i=(Object.defineProperty(t,"MapShapeLayer",{enumerable:!0,get:function(){return o.MapShapeLayer}}),n(641)),a=(Object.defineProperty(t,"MapTileLayer",{enumerable:!0,get:function(){return i.MapTileLayer}}),n(752)),c=(Object.defineProperty(t,"MapBubbleLayer",{enumerable:!0,get:function(){return a.MapBubbleLayer}}),n(625));Object.defineProperty(t,"MapMarkerLayer",{enumerable:!0,get:function(){return c.MapMarkerLayer}})},410:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var t=n(777),n=t.DateCategoryAxis.prototype.options.labels.dateFormats,t=t.DateValueAxis.prototype.options.labels.dateFormats,r={milliseconds:"HH:mm:ss.SSS",seconds:{time:"medium"},minutes:{time:"short"},hours:{time:"short"},days:{skeleton:"Md"},weeks:{skeleton:"Md"},months:{skeleton:"yyMMM"},years:{skeleton:"y"}};Object.assign(n,r),Object.assign(t,r)},874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseEvent=void 0,t.BaseEvent=function(e){this.target=e}},662:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.BeforeResetEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){return o.call(this,t)||this}t.BeforeResetEvent=n},921:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapClickEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.location=e.location,t.originalEvent=e.originalEvent,t}t.MapClickEvent=n},194:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.create=void 0;var n=n(894),r={beforeReset:n.BeforeResetEvent,mapClick:n.MapClickEvent,markerActivate:n.MarkerActivateEvent,markerClick:n.MarkerClickEvent,markerCreated:n.MarkerCreatedEvent,panEnd:n.PanEndEvent,pan:n.PanEvent,reset:n.ResetEvent,shapeClick:n.ShapeClickEvent,shapeCreated:n.ShapeCreatedEvent,shapeFeatureCreated:n.ShapeFeatureCreatedEvent,shapeMouseEnter:n.ShapeMouseEnterEvent,shapeMouseLeave:n.ShapeMouseLeaveEvent,zoomEnd:n.ZoomEndEvent,zoomStart:n.ZoomStartEvent};t.create=function(e,t,n){if(r[e])return new r[e](t,n)}},606:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerActivateEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerActivateEvent=n},236:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerClickEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerClickEvent=n},904:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerCreatedEvent=void 0,o=n(619).PreventableEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerCreatedEvent=n},982:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PanEndEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}t.PanEndEvent=n},719:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PanEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}t.PanEvent=n},619:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PreventableEvent=void 0,o=n(874).BaseEvent,i(a,o),a.prototype.preventDefault=function(){this.prevented=!0},a.prototype.isDefaultPrevented=function(){return this.prevented},a);function a(){var e=null!==o&&o.apply(this,arguments)||this;return e.prevented=!1,e}t.PreventableEvent=n},843:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ResetEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){return o.call(this,t)||this}t.ResetEvent=n},139:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeClickEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeClickEvent=n},861:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeCreatedEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.location=null,e.shape&&(t.dataItem=e.shape.dataItem,t.location=e.shape.location),t}t.ShapeCreatedEvent=n},737:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeFeatureCreatedEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.dataItem=e.dataItem,t.layer=e.layer,t.group=e.group,t.properties=e.properties,t}t.ShapeFeatureCreatedEvent=n},695:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeMouseEnterEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeMouseEnterEvent=n},773:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeMouseLeaveEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeMouseLeaveEvent=n},706:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomEndEvent=void 0,o=n(874).BaseEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.originalEvent=e.originalEvent,t}t.ZoomEndEvent=n},476:function(e,t,n){var r,o,i=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomStartEvent=void 0,o=n(619).PreventableEvent,i(a,o),a);function a(e,t){t=o.call(this,t)||this;return t.originalEvent=e.originalEvent,t}t.ZoomStartEvent=n},468:function(e,t,n){var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){e[r=void 0===r?n:r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0,n(697));Object.defineProperty(t,"Map",{enumerable:!0,get:function(){return i.Map}}),o(n(388),t),o(n(104),t),o(n(894),t)},363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-map",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1655713530,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},600:function(e,t){var n=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||((r=r||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},r=(Object.defineProperty(t,"__esModule",{value:!0}),t.observersReducer=t.optionsReducer=void 0,t.optionsReducer=function(e,t){return t.mapCollectionIdxKey?r.collectionConfigurationItem(e,t):t.mapKey?r.configurationItem(e,t):{}},t.observersReducer=function(e,t){if(!t.type)return[];switch(t.type){case"add":return n(n([],e,!0),[t.payload],!1);case"remove":return e.filter(function(e){return e!==t.payload});default:return e}},{configurationItem:function(e,t){return Object.assign(e,((e={})[t.mapKey]=t.payload,e))},collectionConfigurationItem:function(e,n){var r=!1,t=n.mapCollectionIdxKey.split("_"),o=t[0],i=t[1],t=e[o].map(function(e,t){return parseInt(i,10)===t?(r=!0,n.payload):e});return!1===r&&t.splice(parseInt(i,10),0,n.payload),Object.assign(e,((e={})[o]=t,e))},themeItem:function(e,t){for(var n={},e=Object.assign(n,e),t=t.payload,r=t.field,t=t.value,o=r.split("."),i=o.shift();0<o.length;)n=n[i]=n[i]||{},i=o.shift();return n[i]=t,e}})},113:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var o=n(811);t.default=function(t){function e(e){n=t(n,e),o.canUseDOM&&r.forEach(function(e){return e()})}var n,r=[];return e({}),{getState:function(){return n},dispatch:e,subscribe:function(t){return r.push(t),function(){return r=r.filter(function(e){return e!==t})}}}}},777:e=>{e.exports=n},811:e=>{e.exports=i},895:e=>{e.exports=a},954:e=>{e.exports=c}},o={};return function e(t){var n=o[t];if(void 0!==n)return n.exports;n=o[t]={exports:{}};return r[t].call(n.exports,n,n.exports,e),n.exports}(468)})())}}});
1
+ System.register("@progress/kendo-react-map",["react","prop-types","@progress/kendo-charts","@progress/kendo-react-common","react-dom"],function(e,t){var i={},a={},p={},s={},l={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(p,"__esModule",{value:!0}),Object.defineProperty(s,"__esModule",{value:!0}),{setters:[function(t){Object.keys(t).forEach(function(e){i[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){a[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){p[e]=t[e]})},function(t){Object.keys(t).forEach(function(e){s[e]=t[e]})},function(e){l.createPortal=e.createPortal}],execute:function(){e((()=>{"use strict";var n={697:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},p=(Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0,n(954)),s=n(895),l=n(777),c=n(194),u=n(113),f=n(600),h=(n(410),n(636)),d=n(633),y=n(811),v=n(363),m=n(290),n=(r=p.Component,i(_,r),Object.defineProperty(_.prototype,"element",{get:function(){return this._element},enumerable:!1,configurable:!0}),_.prototype.componentDidMount=function(){this.instantiateCoreMap(),this.optionsUnsubscriber=this.optionsStore.subscribe(this.refresh.bind(this)),window.addEventListener("resize",this.onWindowResize)},_.prototype.componentWillUnmount=function(){this.optionsUnsubscriber(),null!==this.mapInstance&&(this.mapInstance.destroy(),this.mapInstance=null),window.removeEventListener("resize",this.onWindowResize)},_.prototype.componentDidUpdate=function(e){var t=this.props,n=(t.dir,t.children,a(t,["dir","children"]));null!==this.mapInstance&&(Object.entries(e).filter(function(e){return"dir"!==e[0]&&"children"!==e[0]}).some(function(e){var t=e[0],e=e[1];return!(n.hasOwnProperty(t)&&n[t]===e)})&&this.refresh(),e.dir)},_.prototype.render=function(){var t=this,e=this.props,n=e.style,o=e.className,e=e.children,n=Object.assign({},void 0===n?{}:n,{position:"relative"}),o=p.createElement("div",{className:o,style:n,key:"mapElement"},p.createElement("div",{ref:function(e){return t._element=e},className:"k-map",onMouseLeave:this.onMapMouseLeave},e));return p.createElement(h.MapContext.Provider,{value:this.contextValue},p.createElement(d.MapTooltip,{key:"tooltip"}),o)},_.prototype.getMapOptions=function(){var e=this.props,e={center:e.center,controls:e.controls,minZoom:e.minZoom,maxZoom:e.maxZoom,minSize:e.minSize,pannable:e.pannable,wraparound:e.wraparound,zoom:e.zoom,zoomable:e.zoomable};return Object.assign(e,this.optionsStore.getState())},_.prototype.refresh=function(){var e;null!==this.mapInstance&&(e=this.getMapOptions(),this.mapInstance.setOptions(e))},_.prototype.instantiateCoreMap=function(){var e=this.getMapOptions();this.mapInstance=new l.Map(this.element,e,{},{observer:this.mapObserver,sender:this})},_.prototype.trigger=function(e,t){for(var n="click"===e?"mapClick":e,e=(0,c.create)(n,t,this),o="on"+n.charAt(0).toUpperCase()+n.slice(1),r=this.observersStore.getState(),i=!1,a=0;a<r.length;a++)r[a].trigger(n,t)&&(i=!0);return!1===i&&e&&this.props.hasOwnProperty(o)?(this.props[o].call(void 0,e),e.isDefaultPrevented&&e.isDefaultPrevented()):i},_.prototype.requiresHandlers=function(e){for(var t=0;t<e.length;t++){var n=e[t],n="on"+n.charAt(0).toUpperCase()+n.slice(1);if(this.props.hasOwnProperty(n))return!0}return!1},_.prototype.triggerDomEvent=function(e,t){for(var n=this.observersStore.getState(),o=!1,r=0;r<n.length;r++)n[r].trigger(e,t)&&(o=!0);return o},_.propTypes={dir:s.string},_.defaultProps={},_);function _(e){var n=r.call(this,e)||this;return n.mapInstance=null,n._element=null,n.optionsStore={},n.optionsUnsubscriber=Function.prototype,n.observersStore={},n.onRender=function(e){null!==n.mapInstance&&n.trigger("render",e)},n.onMapMouseLeave=function(e){var t=(0,m.toDomEvent)(n,e);n.triggerDomEvent("onMouseLeave",t)?e.preventDefault():null!==n.mapInstance&&n.mapInstance.hideTooltip()},n.onWindowResize=function(){n.mapInstance},(0,y.validatePackage)(v.packageMetadata),n.optionsStore=(0,u.default)(f.optionsReducer),n.observersStore=(0,u.default)(f.observersReducer),n.childrenObserver=new l.InstanceObserver(n,{onMouseLeave:"onChildMouseLeave"}),n.contextValue={optionsStore:n.optionsStore,observersStore:n.observersStore,childrenObserver:n.childrenObserver},n.mapObserver=new l.InstanceObserver(n,{}),n}t.Map=n},636:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MapContext=void 0;n=n(954);t.MapContext=n.createContext(null),t.MapContext.displayName="MapContext"},894:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomStartEvent=t.ZoomEndEvent=t.ShapeMouseLeaveEvent=t.ShapeMouseEnterEvent=t.ShapeFeatureCreatedEvent=t.ShapeCreatedEvent=t.ShapeClickEvent=t.ResetEvent=t.PanEvent=t.PanEndEvent=t.MarkerCreatedEvent=t.MarkerClickEvent=t.MarkerActivateEvent=t.MapClickEvent=t.BeforeResetEvent=void 0;var o=n(662),r=(Object.defineProperty(t,"BeforeResetEvent",{enumerable:!0,get:function(){return o.BeforeResetEvent}}),n(921)),i=(Object.defineProperty(t,"MapClickEvent",{enumerable:!0,get:function(){return r.MapClickEvent}}),n(606)),a=(Object.defineProperty(t,"MarkerActivateEvent",{enumerable:!0,get:function(){return i.MarkerActivateEvent}}),n(236)),p=(Object.defineProperty(t,"MarkerClickEvent",{enumerable:!0,get:function(){return a.MarkerClickEvent}}),n(904)),s=(Object.defineProperty(t,"MarkerCreatedEvent",{enumerable:!0,get:function(){return p.MarkerCreatedEvent}}),n(982)),l=(Object.defineProperty(t,"PanEndEvent",{enumerable:!0,get:function(){return s.PanEndEvent}}),n(719)),c=(Object.defineProperty(t,"PanEvent",{enumerable:!0,get:function(){return l.PanEvent}}),n(843)),u=(Object.defineProperty(t,"ResetEvent",{enumerable:!0,get:function(){return c.ResetEvent}}),n(139)),f=(Object.defineProperty(t,"ShapeClickEvent",{enumerable:!0,get:function(){return u.ShapeClickEvent}}),n(861)),h=(Object.defineProperty(t,"ShapeCreatedEvent",{enumerable:!0,get:function(){return f.ShapeCreatedEvent}}),n(737)),d=(Object.defineProperty(t,"ShapeFeatureCreatedEvent",{enumerable:!0,get:function(){return h.ShapeFeatureCreatedEvent}}),n(695)),y=(Object.defineProperty(t,"ShapeMouseEnterEvent",{enumerable:!0,get:function(){return d.ShapeMouseEnterEvent}}),n(773)),v=(Object.defineProperty(t,"ShapeMouseLeaveEvent",{enumerable:!0,get:function(){return y.ShapeMouseLeaveEvent}}),n(706)),m=(Object.defineProperty(t,"ZoomEndEvent",{enumerable:!0,get:function(){return v.ZoomEndEvent}}),n(476));Object.defineProperty(t,"ZoomStartEvent",{enumerable:!0,get:function(){return m.ZoomStartEvent}})},898:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Extent=t.Location=void 0;var o=n(777);Object.defineProperty(t,"Location",{enumerable:!0,get:function(){return o.Location}}),Object.defineProperty(t,"Extent",{enumerable:!0,get:function(){return o.Extent}})},752:function(e,t,n){function o(e){return i.createElement(p.default,r({type:"bubble"},e))}var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapBubbleLayer=void 0,n(954)),a=n(75),p=n(96),s=n(239);(t.MapBubbleLayer=o).displayName="MapBubbleLayer",o.propTypes={children:function(e,t,n){return(0,a.validateChildren)(e,t,n,s.MapBubbleLayerTooltip)}}},239:function(e,t,n){function o(e){return i.createElement(a.default,r({},e,{_mapKey:"tooltip"}))}var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapBubbleLayerTooltip=void 0,n(954)),a=n(96);(t.MapBubbleLayerTooltip=o).defaultProps={}},515:function(e,t,n){function o(e){return i.createElement(p.default,r({},e,{_mapKey:"layers"}))}var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapLayers=void 0,n(954)),a=n(895),p=n(958);(t.MapLayers=o).propTypes={children:a.node}},625:function(e,t,n){function o(e){return i.createElement(p.default,r({type:"marker"},e))}var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapMarkerLayer=void 0,n(954)),a=n(75),p=n(96),s=n(979);(t.MapMarkerLayer=o).displayName="MapMarkerLayer",o.propTypes={children:function(e,t,n){return(0,a.validateChildren)(e,t,n,s.MapMarkerLayerTooltip)}}},979:function(e,t,n){function o(e){return i.createElement(a.default,r({},e,{_mapKey:"tooltip"}))}var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapMarkerLayerTooltip=void 0,n(954)),a=n(96);(t.MapMarkerLayerTooltip=o).defaultProps={}},286:function(e,t,n){function o(e){return i.createElement(p.default,r({type:"shape"},e))}var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapShapeLayer=void 0,n(954)),a=n(75),p=n(96),s=n(570);(t.MapShapeLayer=o).displayName="MapShapeLayer",o.propTypes={children:function(e,t,n){return(0,a.validateChildren)(e,t,n,s.MapShapeLayerTooltip)}}},570:function(e,t,n){function o(e){return i.createElement(a.default,r({},e,{_mapKey:"tooltip"}))}var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapShapeLayerTooltip=void 0,n(954)),a=n(96);(t.MapShapeLayerTooltip=o).defaultProps={}},641:function(e,t,n){function o(e){return i.createElement(a.default,r({type:"tile"},e))}var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapTileLayer=void 0,n(954)),a=n(96);(t.MapTileLayer=o).displayName="MapTileLayer"},958:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=(Object.defineProperty(t,"__esModule",{value:!0}),n(954)),n=n(636),i=(r=p.Component,i(s,r),s.prototype.renderChildren=function(e,t){var n=e.props.children,o=this.props,r=o._mapKey,o=o._parentStore,r=a(a({},e.props),{_mapCollectionIdxKey:"".concat(r,"_").concat(t),_parentStore:o});return p.cloneElement(e,r,n)},s.prototype.render=function(){var n=this,e=this.props,t=e._mapKey,o=e._parentStore,e=e.children;return(o||this.optionsStore).dispatch({mapKey:t,payload:[]}),p.Children.map(e,function(e,t){return p.isValidElement(e)?n.renderChildren(e,t):e})},s.contextType=n.MapContext,s);function s(e,t){e=r.call(this,e,t)||this;return e.optionsStore=t.optionsStore,e}t.default=i},96:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},s=(Object.defineProperty(t,"__esModule",{value:!0}),n(954)),l=n(113),c=n(600),n=n(636),i=(r=s.Component,i(u,r),u.prototype.render=function(){var t=this,e=this.props.children;return void 0!==e?s.Children.map(e,function(e){return s.isValidElement(e)?t.renderChildren(e):e}):null},u.prototype.componentDidMount=function(){this.dispatch()},u.prototype.componentDidUpdate=function(){this.dispatch()},u.prototype.dispatch=function(){var e=this.props,t=e._mapKey,n=e._mapCollectionIdxKey,o=e._parentStore,e=(e.children,p(e,["_mapKey","_mapCollectionIdxKey","_parentStore","children"]));(o||this.optionsStore).dispatch({mapKey:t,mapCollectionIdxKey:n,payload:Object.assign({},e,this.childStore.getState())})},u.prototype.renderChildren=function(e){var t=e.props.children,n=a(a({},e.props),{_parentStore:this.childStore});return s.cloneElement(e,n,t)},u.contextType=n.MapContext,u);function u(e,t){e=r.call(this,e,t)||this;return e.optionsStore=t.optionsStore,e.childStore=(0,l.default)(c.optionsReducer),e}t.default=i},388:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MapMarkerLayerTooltip=t.MapMarkerLayer=t.MapBubbleLayerTooltip=t.MapBubbleLayer=t.MapTileLayer=t.MapShapeLayerTooltip=t.MapShapeLayer=t.MapLayers=void 0;var o=n(515),r=(Object.defineProperty(t,"MapLayers",{enumerable:!0,get:function(){return o.MapLayers}}),n(286)),i=(Object.defineProperty(t,"MapShapeLayer",{enumerable:!0,get:function(){return r.MapShapeLayer}}),n(570)),a=(Object.defineProperty(t,"MapShapeLayerTooltip",{enumerable:!0,get:function(){return i.MapShapeLayerTooltip}}),n(641)),p=(Object.defineProperty(t,"MapTileLayer",{enumerable:!0,get:function(){return a.MapTileLayer}}),n(752)),s=(Object.defineProperty(t,"MapBubbleLayer",{enumerable:!0,get:function(){return p.MapBubbleLayer}}),n(239)),l=(Object.defineProperty(t,"MapBubbleLayerTooltip",{enumerable:!0,get:function(){return s.MapBubbleLayerTooltip}}),n(625)),c=(Object.defineProperty(t,"MapMarkerLayer",{enumerable:!0,get:function(){return l.MapMarkerLayer}}),n(979));Object.defineProperty(t,"MapMarkerLayerTooltip",{enumerable:!0,get:function(){return c.MapMarkerLayerTooltip}})},410:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var t=n(777),n=t.DateCategoryAxis.prototype.options.labels.dateFormats,t=t.DateValueAxis.prototype.options.labels.dateFormats,o={milliseconds:"HH:mm:ss.SSS",seconds:{time:"medium"},minutes:{time:"short"},hours:{time:"short"},days:{skeleton:"Md"},weeks:{skeleton:"Md"},months:{skeleton:"yyMMM"},years:{skeleton:"y"}};Object.assign(n,o),Object.assign(t,o)},874:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseEvent=void 0,t.BaseEvent=function(e){this.target=e}},662:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.BeforeResetEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){return r.call(this,t)||this}t.BeforeResetEvent=n},290:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.toDomEvent=t.DomEvent=void 0;function n(e,t){this.sender=e,this.syntheticEvent=t}t.DomEvent=n,t.toDomEvent=function(e,t){return new n(e,t)}},921:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapClickEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.location=e.location,t.originalEvent=e.originalEvent,t}t.MapClickEvent=n},194:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.create=void 0;var n=n(894),o={beforeReset:n.BeforeResetEvent,mapClick:n.MapClickEvent,markerActivate:n.MarkerActivateEvent,markerClick:n.MarkerClickEvent,markerCreated:n.MarkerCreatedEvent,panEnd:n.PanEndEvent,pan:n.PanEvent,reset:n.ResetEvent,shapeClick:n.ShapeClickEvent,shapeCreated:n.ShapeCreatedEvent,shapeFeatureCreated:n.ShapeFeatureCreatedEvent,shapeMouseEnter:n.ShapeMouseEnterEvent,shapeMouseLeave:n.ShapeMouseLeaveEvent,zoomEnd:n.ZoomEndEvent,zoomStart:n.ZoomStartEvent};t.create=function(e,t,n){if(o[e])return new o[e](t,n)}},606:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerActivateEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerActivateEvent=n},236:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerClickEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerClickEvent=n},904:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.MarkerCreatedEvent=void 0,r=n(619).PreventableEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.marker=e.marker,t.layer=e.layer,t}t.MarkerCreatedEvent=n},982:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PanEndEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}t.PanEndEvent=n},719:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PanEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.origin=e.origin,t.center=e.center,t.originalEvent=e.originalEvent,t}t.PanEvent=n},619:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.PreventableEvent=void 0,r=n(874).BaseEvent,i(a,r),a.prototype.preventDefault=function(){this.prevented=!0},a.prototype.isDefaultPrevented=function(){return this.prevented},a);function a(){var e=null!==r&&r.apply(this,arguments)||this;return e.prevented=!1,e}t.PreventableEvent=n},843:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ResetEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){return r.call(this,t)||this}t.ResetEvent=n},139:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeClickEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeClickEvent=n},861:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeCreatedEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.location=null,e.shape&&(t.dataItem=e.shape.dataItem,t.location=e.shape.location),t}t.ShapeCreatedEvent=n},737:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeFeatureCreatedEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.dataItem=e.dataItem,t.layer=e.layer,t.group=e.group,t.properties=e.properties,t}t.ShapeFeatureCreatedEvent=n},695:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeMouseEnterEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeMouseEnterEvent=n},773:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ShapeMouseLeaveEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.layer=e.layer,t.shape=e.shape,t.originalEvent=e.originalEvent,t}t.ShapeMouseLeaveEvent=n},706:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomEndEvent=void 0,r=n(874).BaseEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.originalEvent=e.originalEvent,t}t.ZoomEndEvent=n},476:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),n=(Object.defineProperty(t,"__esModule",{value:!0}),t.ZoomStartEvent=void 0,r=n(619).PreventableEvent,i(a,r),a);function a(e,t){t=r.call(this,t)||this;return t.originalEvent=e.originalEvent,t}t.ZoomStartEvent=n},468:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,o,r)}:function(e,t,n,o){e[o=void 0===o?n:o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)},i=(Object.defineProperty(t,"__esModule",{value:!0}),t.Map=void 0,n(697));Object.defineProperty(t,"Map",{enumerable:!0,get:function(){return i.Map}}),r(n(388),t),r(n(898),t),r(n(894),t),r(n(12),t)},363:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata=void 0,t.packageMetadata={name:"@progress/kendo-react-map",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1655891560,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"}},600:function(e,t){var n=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||((o=o||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))},o=(Object.defineProperty(t,"__esModule",{value:!0}),t.observersReducer=t.optionsReducer=void 0,t.optionsReducer=function(e,t){return t.mapCollectionIdxKey?o.collectionConfigurationItem(e,t):t.mapKey?o.configurationItem(e,t):{}},t.observersReducer=function(e,t){if(!t.type)return[];switch(t.type){case"add":return n(n([],e,!0),[t.payload],!1);case"remove":return e.filter(function(e){return e!==t.payload});default:return e}},{configurationItem:function(e,t){return Object.assign(e,((e={})[t.mapKey]=t.payload,e))},collectionConfigurationItem:function(e,n){var o=!1,t=n.mapCollectionIdxKey.split("_"),r=t[0],i=t[1],t=e[r].map(function(e,t){return parseInt(i,10)===t?(o=!0,n.payload):e});return!1===o&&t.splice(parseInt(i,10),0,n.payload),Object.assign(e,((e={})[r]=t,e))},themeItem:function(e,t){for(var n={},e=Object.assign(n,e),t=t.payload,o=t.field,t=t.value,r=o.split("."),i=r.shift();0<r.length;)n=n[i]=n[i]||{},i=r.shift();return n[i]=t,e}})},113:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n(811);t.default=function(t){function e(e){n=t(n,e),r.canUseDOM&&o.forEach(function(e){return e()})}var n,o=[];return e({}),{getState:function(){return n},dispatch:e,subscribe:function(t){return o.push(t),function(){return o=o.filter(function(e){return e!==t})}}}}},633:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},p=this&&this.__rest||function(e,t){var n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},s=(Object.defineProperty(t,"__esModule",{value:!0}),t.MapTooltip=void 0,n(954)),l=n(777),c=n(104),n=n(636),i=(r=s.Component,i(u,r),u.prototype.componentDidMount=function(){this.mapObserver=new l.InstanceObserver(this,{showTooltip:"onShowTooltip",hideTooltip:"onHideTooltip"}),this.context.observersStore.dispatch({type:"add",payload:this.mapObserver})},u.prototype.render=function(){var e=this.state,t=e.popupContext,e=(e.shared,e.className,p(e,["popupContext","shared","className"]));if(!t||!this.state.popupShown)return null;var n=t.layerIndex,o=this.findRenderFunctionByLayer(n);if(!o)return null;n="k-map-".concat(t.type,"-tooltip");return s.createElement(c.TooltipPopup,a({},e,{popupContent:function(){return s.createElement("div",{className:"k-tooltip-content"},o(t))},className:n}))},u.prototype.componentWillUnmount=function(){this.context.observersStore.dispatch({type:"remove",payload:this.mapObserver})},u.prototype.onShowTooltip=function(e){var t=e.anchor,n=e.className,e=this.createTooltipContext(e);this.setState({popupShown:!0,popupAlign:{vertical:"bottom",horizontal:"center"},popupOffset:t,popupContext:e,popupStyles:{position:"relative"},className:n})},u.prototype.onHideTooltip=function(){this.setState({popupShown:!1,popupStyles:{},className:void 0})},u.prototype.createTooltipContext=function(e){return e},u.prototype.findRenderFunctionByLayer=function(e){var t=this.context.optionsStore.getState().layers;return void 0!==t&&Array.isArray(t)&&void 0!==t[e]&&t[e].hasOwnProperty("tooltip")&&t[e].tooltip.hasOwnProperty("render")?t[e].tooltip.render:null},u.contextType=n.MapContext,u);function u(){var e=null!==r&&r.apply(this,arguments)||this;return e.context=null,e.state={popupShown:!1},e}t.MapTooltip=i},104:function(e,t,n){var o,r,i=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),p=this&&this.__spreadArray||function(e,t,n){if(n||2===arguments.length)for(var o,r=0,i=t.length;r<i;r++)!o&&r in t||((o=o||Array.prototype.slice.call(t,0,r))[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))},s=(Object.defineProperty(t,"__esModule",{value:!0}),t.TooltipPopup=void 0,n(954)),a=n(777),l=n(75),c=n(545),n=n(636),u={horizontal:"fit",vertical:"fit"},f=["k-tooltip","k-map-tooltip"],i=(r=s.Component,i(h,r),h.prototype.render=function(){var t=this,e=this.props,n=e.popupShown,o=e.popupAlign,r=e.popupOffset,i=e.popupStyles,a=e.popupContent,e=e.className,e=p(p([],f,!0),[e],!1).join(" ").trim();return s.createElement(c.Popup,{animate:!0,popupAlign:o,offset:r,show:n,collision:u,className:"k-tooltip-wrapper"},s.createElement("div",{className:e,style:i,ref:function(e){return t.element=e}},a()))},h.prototype.componentWillUnmount=function(){this.context.observersStore.dispatch({type:"remove",payload:this.mapObserver})},h.contextType=n.MapContext,h);function h(e,t){var n=r.call(this,e,t)||this;return n.context=null,n.element=null,n.onMapMouseLeave=function(e){e=e.syntheticEvent;return!!(0,l.hasParent)(e.relatedTarget,n.element)},n.mapObserver=new a.InstanceObserver(n,{onMouseLeave:"onMapMouseLeave"}),t.observersStore.dispatch({type:"add",payload:n.mapObserver}),n}t.TooltipPopup=i},12:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MapTooltip=void 0;var o=n(633);Object.defineProperty(t,"MapTooltip",{enumerable:!0,get:function(){return o.MapTooltip}})},75:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.validateChildren=t.hasParent=void 0,t.hasParent=function(e,t){for(var n=e;n&&n!==t;)n=n.parentNode;return!!n},t.validateChildren=function(e,t,n,o){e=e[t];if(e&&Array.isArray(e))for(var r=0,i=e;r<i.length;r++){var a=i[r];if(!a.type||a.type!==o)return new Error("".concat(n," children should be Array of type ").concat(o.displayName,"."))}return null}},545:(I,e,t)=>{t.r(e),t.d(e,{Popup:()=>Q,PopupPropsContext:()=>J});function h(t){t.style.transitionDuration="",Array.from(t.classList).forEach(function(e){e.startsWith("k-slide-")&&t.classList.remove(e)})}var l=t(954),z=t(493),e=t(895),B="undefined"!=typeof window&&/Firefox/.test(window.navigator.userAgent),c=t(811);const u="bottom",f="center",d="middle",s="left",y="right",v="top",m="fit",_="flip";function b(e,t,n){return e<0?-e:n<e+t?n-(e+t):0}function g(e){var t=e.offset,n=e.size,o=e.anchorSize,r=e.viewPortSize,i=e.anchorAlignPoint,a=e.elementAlignPoint,p=0,e=2*e.margin;return a!==i&&a!==f&&a!==d&&i!==f&&i!==d&&(a=i===v||i===s,t<0&&a?t+(p=n+o+e)+n>r&&(p=0):0<=t&&!a&&(r<t+n&&(p+=-(o+n+e)),t+p<0&&(p=0))),p}r=!(n=function(e){if(!i())return!1;e=e?e.ownerDocument:document;if(!e||!e.body)return!1;var t=e.createElement("div"),n=(t.style.transform="matrix(10, 0, 0, 10, 0, 0)",t.innerHTML='<div style="position: fixed; top: 10px;">child</div>',e.body.appendChild(t),10!==t.children[0].getBoundingClientRect().top);return e.body.removeChild(t),n});var n,o,r,i=function(){return Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)};const O={eitherRect:function(e,t){return e||{height:0,left:t.left,top:t.top,width:0}},scaleRect:function(e,t){return e&&1!==t?{height:e.height/t,left:e.left/t,top:e.top/t,width:e.width/t}:e},removeStackingOffset:function(e,t){return t?{height:e.height,left:e.left-t.left,top:e.top-t.top,width:e.width}:e},hasRelativeStackingContext:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return r||(o=n.apply(void 0,e),r=!0),o},canUseDOM:i};function a(e){return e.ownerDocument||e.document||e}const w=function(e){return a(e).defaultView},p=function(e){return a(e).documentElement};var E=0;function N(e){var t=w(e),e=p(e),t={height:t.innerHeight,width:t.innerWidth};return 0<e.scrollHeight-e.clientHeight&&(t.width-=(E||"undefined"==typeof document||((e=document.createElement("div")).style.cssText="overflow:scroll;overflow-x:hidden;zoom:1;clear:both;display:block",e.innerHTML="&nbsp;",document.body.appendChild(e),E=e.offsetWidth-e.scrollWidth,document.body.removeChild(e)),E)),t}function K(e){var t=p(e),e=w(e);return{x:e.pageXOffset||t.scrollLeft||0,y:e.pageYOffset||t.scrollTop||0}}function P(e){var t,n,o,r,i=e.getBoundingClientRect(),a=i.left,p=i.top;return i.height||i.width||(t=(e=e).style,n=t.display,o=t.left,t=t.position,e.style.display="",e.style.left="-10000px",e.style.position="absolute",r=e.getBoundingClientRect(),e.style.display=n,e.style.left=o,e.style.position=t,i=r),{top:p,left:a,height:i.height,width:i.width}}function U(e){return e===(e.ownerDocument||{}).body?K(e):{x:e.scrollLeft,y:e.scrollTop}}function M(e){for(var t=e.offsetParent;t&&"static"===t.style.position;)t=t.offsetParent;return t||p(e)}function Z(e,t){for(var n=[],o=e.parentNode;o&&(n.push(o),o!==t);)o=o.parentNode;return n}function F(){return O.canUseDOM()?window:null}function j(e){if(!e||!O.hasRelativeStackingContext())return null;for(var t=e.parentElement;t;){if("none"!==window.getComputedStyle(t).transform)return t;t=t.parentElement}return null}function H(){return O.canUseDOM()&&parseFloat((document.documentElement.clientWidth/window.innerWidth).toFixed(2))||1}var W=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],V=/auto|scroll/;const S={addOffset:function(e,t){return{left:e.left+t.left,top:e.top+t.top}},addScroll:function(e,t){return{top:e.top+t.y,left:e.left+t.x,height:e.height,width:e.width}},align:function(e){var t=e.anchorRect,n=e.anchorAlign,o=e.elementRect,r=e.elementAlign,e=e.margin,i=n.horizontal,n=n.vertical,a=r.horizontal,r=r.vertical,p=(e=void 0===e?{}:e).horizontal||0,e=e.vertical||0,s=t.top,l=t.left;return n===u&&(s+=t.height),n!==f&&n!==d||(s+=Math.round(t.height/2)),r===u&&(s-=o.height,e*=-1),r!==f&&r!==d||(s-=Math.round(o.height/2),e*=-1),i===y&&(l+=t.width),i!==f&&i!==d||(l+=Math.round(t.width/2)),a===y&&(l-=o.width,p*=-1),a!==f&&a!==d||(l-=Math.round(o.width/2),p*=-1),{top:s+e,left:l+p}},boundingOffset:function(e){if(!e.getBoundingClientRect)return{bottom:(t=N(e)).height,left:0,right:t.width,top:0};var t=e.getBoundingClientRect();return{bottom:t.bottom,left:t.left,right:t.right,top:t.top}},getFontStyles:function(e){var t=F();if(!t||!e)return[];var n=t.getComputedStyle(e);return W.map(function(e){return{key:e,value:n[e]}})},getWindow:F,hasOffsetParent:function(e){return!!e&&Boolean(e.offsetParent)},offset:function(e){return e?P(e):null},offsetAtPoint:function(e,t){if(!e)return null;var n=e.style,o=n.left,r=n.top,n=n.transition,t=(e.style.transition="none",e.style.left=t.left+"px",e.style.top=t.top+"px",P(e));return e.style.left=o,e.style.top=r,e.offsetHeight,e.style.transition=n,t},position:function(e,t,n){return e&&t?(e=e,void 0===(n=n||1)&&(n=1),t=(t=t)?M(t):null,o=e,i=t,r=w(o),a=r.getComputedStyle(o),s=P(o),i=i||M(o),o=o.ownerDocument,o=i!==o.body&&i!==o.documentElement,p={top:0,left:0},"fixed"!==a.position&&o&&(a=r.getComputedStyle(i),(p=P(i)).top+=parseInt(a.borderTopWidth,10),p.left+=parseInt(a.borderLeftWidth,10)),o={top:s.top-p.top,left:s.left-p.left,height:s.height,width:s.width},r=o.top,i=o.left,a=o.height,p=o.width,s=e,o=(s=(o=t)?U(o):(o=s,(o=M(o))?U(o):{x:0,y:0})).x,s=s.y,e=e.ownerDocument,t=t===e.body||t===e.documentElement?1:n,{top:r+s*t,left:i+o*t,height:a,width:p}):null;var o,r,i,a,p,s},removeScroll:function(e,t){return{top:e.top-t.y,left:e.left-t.x,height:e.height,width:e.width}},restrictToView:function(e){var t=e.anchorRect,n=e.anchorAlign,o=e.elementRect,r=e.elementAlign,i=e.collisions,a=e.viewPort,e=e.margin,p=o.top,s=o.left,l=o.height,o=o.width,c=a.height,a=a.width,u=(e=void 0===e?{}:e).horizontal||0,e=e.vertical||0,f=0,h=0,d=i.vertical===m,y=i.horizontal===m,v=i.vertical===_,i=i.horizontal===_,e=(d&&(h+=b(p,l,c)),y&&(f+=b(s,o,a)),v&&(h+=g({margin:e,offset:p,size:l,anchorSize:t.height,viewPortSize:c,anchorAlignPoint:n.vertical,elementAlignPoint:r.vertical})),i&&(f+=g({margin:u,offset:s,size:o,anchorSize:t.width,viewPortSize:a,anchorAlignPoint:n.horizontal,elementAlignPoint:r.horizontal})),v&&0!==h),p=i&&0!==f,l=d&&0!==h,c=y&&0!==f;return{flipped:p||e,fitted:l||c,flip:{horizontal:p,vertical:e},fit:{horizontal:c,vertical:l},offset:{left:f,top:h}}},scrollPosition:K,scrollableParents:function(e){var t=[];if(!O.canUseDOM())return t;for(var n,o=e.parentElement;o;)(V.test(""+(n=o).style.overflow+n.style.overflowX+n.style.overflowY||""+(n=window.getComputedStyle(n)).overflow+n.overflowX+n.overflowY)||o.hasAttribute("data-scrollable"))&&t.push(o),o=o.parentElement;return t.push(window),t},getRelativeContextElement:j,stackingElementOffset:function(e){e=j(e);return e?P(e):null},stackingElementScroll:function(e){e=j(e);return e?{x:e.scrollLeft,y:e.scrollTop}:{x:0,y:0}},stackingElementViewPort:function(e){e=j(e);return e?{height:e.scrollHeight,width:e.scrollWidth}:null},useRelativePosition:function(e){return Boolean(j(e))},windowViewPort:N,zoomLevel:H,isZoomed:function(){return 1<H()},zIndex:function(i,e){if(!i||!O.canUseDOM())return null;e=function(e){for(var n,t,o=Z(i),r=e;r&&(n=function(e){for(var t=[],n=e.parentNode.firstElementChild;n;)n!==e&&t.push(n),n=n.nextElementSibling;return t}(r),!(t=o.reduce(function(e,t){return e.concat(n.filter(function(e){return e===t}))},[])[0]));)r=r.parentElement;return t}(e);if(!e)return null;e=[i].concat(Z(i,e)).reduce(function(e,t){t=t.style.zIndex||window.getComputedStyle(t).zIndex,t=parseInt(t,10);return e<t?t:e},0);return e?e+1:null}};var C,q={name:"@progress/kendo-react-popup",productName:"KendoReact",productCodes:["KENDOUIREACT","KENDOUICOMPLETE"],publishDate:1651672238,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning"},x=(C=function(e,t){return(C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(){return(x=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)});function k(e,t){if(e===t)return 1;if(!!e==!!t){var n=Object.getOwnPropertyNames(e),o=Object.getOwnPropertyNames(t);if(n.length===o.length){for(var r=0;r<n.length;r++){var i=n[r];if(e[i]!==t[i])return}return 1}}}var T,L,A,R,t={left:-1e3,top:0},X=((R=T=T||{}).hiding="hiding",R.hidden="hidden",R.showing="showing",R.shown="shown",R.reposition="reposition","k-animation-container-shown"),Y=(L=l.Component,C(A=D,R=L),A.prototype=null===R?Object.create(R):($.prototype=R.prototype,new $),Object.defineProperty(D.prototype,"element",{get:function(){return this._popup},enumerable:!0,configurable:!0}),D.getDerivedStateFromProps=function(e,t){var n=e.show,o=e.anchor,r=e.anchorAlign,i=e.appendTo,a=e.collision,p=e.popupAlign,s=e.className,l=e.popupClass,c=e.style,u=e.offset,f=e.contentKey,n=x({},t,{props:{show:n,anchor:o,anchorAlign:r,appendTo:i,collision:a,popupAlign:p,className:s,popupClass:l,style:c,offset:u,contentKey:f}});return e.show?t.current===T.hidden||t.current===T.hiding?x({},n,{current:T.showing,previous:t.current}):t.current===T.showing?x({},n,{current:T.shown,previous:t.current}):t.current!==T.shown||k(u,t.props.offset)&&k(r,t.props.anchorAlign)&&k(i,t.props.appendTo)&&k(a,t.props.collision)&&k(p,t.props.popupAlign)&&k(c,t.props.style)&&o===t.props.anchor&&l===t.props.popupClass&&s===t.props.className?n:x({},n,{current:T.reposition,previous:t.current}):t.current===T.hiding||t.current===T.hidden?x({},n,{current:T.hidden,previous:t.current}):x({},n,{current:T.hiding,previous:t.current})},D.prototype.componentDidUpdate=function(e){this.state.current===T.showing&&this._popup?this.show(this._popup):this.state.current===T.hiding&&this._popup?(this.onClosing(this._popup),this.animate(this._popup.firstChild,"exit",this.onClosed)):this.state.current===T.reposition&&this.state.previous===T.shown?this.setState({current:T.shown,previous:this.state.current}):this.state.current===T.shown&&e.contentKey!==this.props.contentKey&&this._popup&&this.setPosition(this._popup)},D.prototype.componentDidMount=function(){this.state.current===T.showing&&this._popup&&this.show(this._popup)},D.prototype.componentWillUnmount=function(){this.detachRepositionHandlers()},D.prototype.render=function(){var t=this,e=this.props,n=e.children,o=e.className,r=e.popupClass,i=e.show,a=e.id,e=e.positionMode,p=this.props.appendTo||(c.canUseDOM?(this.props.anchor&&this.props.anchor.ownerDocument?this.props.anchor.ownerDocument:document).body:void 0),e=(this.state.current===T.reposition&&this.state.previous===T.shown&&this._popup&&this.setPosition(this._popup),Object.assign({},{position:e,top:0,left:-1e4},this.props.style||{})),s=this.state.current===T.hiding;return(i||s)&&p?(i=this.getCurrentZIndex(),s=l.createElement(c.ZIndexContext.Provider,{value:i},l.createElement("div",{className:(0,c.classNames)("k-animation-container","k-animation-container-relative",o),id:a,ref:function(e){return t._popup=e},style:x({zIndex:i},e)},l.createElement("div",{className:(0,c.classNames)("k-popup",r,"k-child-animation-container"),style:{transitionDelay:"0ms"}},n))),null!==this.props.appendTo?z.createPortal(s,p):s):null},Object.defineProperty(D.prototype,"animationDuration",{get:function(){var e=this.props.animate,t=0,n=0;return e&&(!0===e?t=n=300:(t=e.openDuration||0,n=e.closeDuration||0)),{enter:t,exit:n}},enumerable:!0,configurable:!0}),D.prototype.attachRepositionHandlers=function(e){var t=this;this.detachRepositionHandlers(),this._scrollableParents=S.scrollableParents(this.props.anchor||e),this._scrollableParents.map(function(e){return e.addEventListener("scroll",t.reposition)}),window.addEventListener("resize",this.reposition)},D.prototype.detachRepositionHandlers=function(){var t=this;this._scrollableParents&&(this._scrollableParents.map(function(e){return e.removeEventListener("scroll",t.reposition)}),this._scrollableParents=void 0),window.removeEventListener("resize",this.reposition)},D.prototype.reposition=function(){this.setState({current:T.reposition,previous:this.state.current})},D.propTypes={anchor:function(e){e=e.anchor;return e&&"number"!=typeof e.nodeType?new Error("Invalid prop `anchor` supplied to `Kendo React Popup`. Validation failed."):null},appendTo:function(e){e=e.appendTo;return e&&"number"!=typeof e.nodeType?new Error("Invalid prop `appendTo` supplied to `Kendo React Popup`. Validation failed."):null},className:e.oneOfType([e.string,e.arrayOf(e.string),e.object]),id:e.string,popupClass:e.oneOfType([e.string,e.arrayOf(e.string),e.object]),collision:e.shape({horizontal:e.oneOf([m,_,"none"]),vertical:e.oneOf([m,_,"none"])}),anchorAlign:e.shape({horizontal:e.oneOf([s,f,y]),vertical:e.oneOf([v,f,u])}),popupAlign:e.shape({horizontal:e.oneOf([s,f,y]),vertical:e.oneOf([v,f,u])}),offset:e.shape({left:e.number,top:e.number}),children:e.oneOfType([e.element,e.node]),show:e.bool,animate:e.oneOfType([e.bool,e.shape({openDuration:e.number,closeDuration:e.number})]),margin:e.shape({horizontal:e.number,vertical:e.number}),positionMode:e.oneOf(["fixed","absolute"]),scale:e.number,style:e.object,onClose:e.func,onPosition:e.func,onOpen:e.func},D.defaultProps={collision:{horizontal:m,vertical:_},anchorAlign:{horizontal:s,vertical:u},popupAlign:{horizontal:s,vertical:v},offset:t,animate:!0,show:!1,margin:{horizontal:0,vertical:0},positionMode:"absolute"},D.contextType=c.ZIndexContext,D.displayName="PopupComponent",D),G=function(){return(G=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},J=l.createContext(function(e){return e}),Q=l.forwardRef(function(e,t){e=l.useContext(J).call(void 0,e);return l.createElement(Y,G({ref:t},e))});function D(e){var f=L.call(this,e)||this;return f.state={current:T.hidden,previous:T.hidden,props:{}},f._popup=null,f.show=function(e){f.setPosition(e),f.animate(e.firstChild,"enter",f.onOpened),f.setState({current:T.shown,previous:f.state.current})},f.setPosition=function(e){var t,n,o,r=f.props,i=r.anchorAlign,a=r.popupAlign,p=r.collision,s=r.offset,l=r.anchor,c=r.margin,u=r.scale,r=r.positionMode,c=(r={anchor:l,anchorAlign:i,element:e,elementAlign:a,collisions:p,currentLocation:(l=(p={anchor:l,anchorAlign:i,element:e,elementAlign:a,offset:s,margin:c,positionMode:r,scale:u}).anchor,i=p.element,a=p.anchorAlign,s=p.elementAlign,c=p.margin,r=p.offset,u=p.positionMode,p=p.scale||1,u="fixed"!==u&&S.hasOffsetParent(i)?function(e,t,n,o){e=O.eitherRect(S.position(e,t,o),n);return O.scaleRect(e,o)}(l,i,r,p):(u=r,r=p,n=t=i,n=(l=l)?{x:0,y:0}:S.scrollPosition(n),l=O.eitherRect(S.offset(l),u),u=2*r,o=S.stackingElementScroll(t),1!==r&&o&&(o.x/=u,o.y/=u),t=S.stackingElementOffset(t),1!==r&&t&&(t.left/=u,t.top/=u),S.removeScroll(S.addScroll(O.removeStackingOffset(O.scaleRect(l,r),t),o),n)),l=O.scaleRect(S.offset(i),p),S.align({anchorAlign:a,anchorRect:u,elementAlign:s,elementRect:l,margin:c})),margin:f.props.margin},t=r.anchor,o=r.currentLocation,n=r.element,i=r.anchorAlign,p=r.elementAlign,a=r.collisions,u=r.margin,s=r.scale||1,l=S.offsetAtPoint(n,o),l=O.scaleRect(l,s),t=O.scaleRect(S.offset(t),s),t=O.eitherRect(t,o),(r=r.viewPort||S.windowViewPort(n)).width=r.width/s,r.height=r.height/s,n=S.restrictToView({anchorAlign:i,anchorRect:t,collisions:a,elementAlign:p,elementRect:l,margin:u,viewPort:r}),s=S.addOffset(o,n.offset),{flip:n.flip,flipped:n.flipped,offset:s});e.style.top=c.offset.top+"px",e.style.left=c.offset.left+"px",f._collisions={fit:c.fit,fitted:c.fitted,flip:c.flip,flipped:c.flipped},f.props.onPosition&&f.props.onPosition.call(void 0,{target:f,flipped:c.flipped,fitted:c.fitted})},f.onOpened=function(){var e=f._popup;e&&(f.props.show&&e.classList.add(X),f.attachRepositionHandlers(e),f.props.onOpen&&f.props.onOpen.call(void 0,{target:f}))},f.animate=function(e,t,n){var o,r,i,a,p,s,l,c,u;f.props.popupAlign&&(o=(u=f.props.popupAlign).horizontal,u=u.vertical,o="left"===o&&"center"===u?"right":"right"===o&&"center"===u?"left":"top"===u?"down":"up",f._collisions&&f._collisions.flipped&&(o={down:"up",up:"down",left:"right",right:"left"}[o]),r=e,u=o,i=f.animationDuration[t],e=t,a=n,0===i?a():(l=(s="k-slide-"+u+"-"+e)+"-active",c=function(e){e.target===r&&(r.removeEventListener("transitionend",c),h(r),a())},r.addEventListener("transitionend",c),(u=r.ownerDocument)&&(p=u.defaultView)&&(e=function(){h(r),r.classList.add(s),p.requestAnimationFrame(function(){r.style.transitionDuration=i+"ms",r.classList.add(l)})},B?p.requestAnimationFrame(e):e())))},f.onClosing=function(e){f.props.show||e.classList.remove(X),f.detachRepositionHandlers()},f.onClosed=function(){f.state.current===T.hiding&&f.state.previous===T.shown&&f.setState({current:T.hidden,previous:f.state.current}),f.props.onClose&&f.props.onClose.call(void 0,{target:f})},f.getCurrentZIndex=function(){return f.context?f.context+1:100},(0,c.validatePackage)(q),f.reposition=function(n,o,r){function i(){c=!1===r.leading?0:(new Date).getTime(),a=null,l=n.apply(p,s),a||(p=s=null)}var a,p,s,l,c=0;r=(r=void 0===r?{}:r)||{};return function(){var e=(new Date).getTime(),t=(c||!1!==r.leading||(c=e),o-(e-c));return p=this,s=arguments,t<=0||o<t?(a&&(clearTimeout(a),a=null),c=e,l=n.apply(p,s),a||(p=s=null)):a||!1===r.trailing||(a=window.setTimeout(i,t)),l}}(f.reposition.bind(f),16.666666666666668),f}function $(){this.constructor=A}Q.displayName="Popup"},777:e=>{e.exports=p},811:e=>{e.exports=s},895:e=>{e.exports=a},954:e=>{e.exports=i},493:e=>{e.exports=l}},o={};function r(e){var t=o[e];if(void 0!==t)return t.exports;t=o[e]={exports:{}};return n[e].call(t.exports,t,t.exports,r),t.exports}return r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r(468)})())}}});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-react-map",
3
3
  "description": "KendoReact Map package",
4
- "version": "5.4.0",
4
+ "version": "5.5.0-dev.202206221002",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-react.git"
@@ -36,7 +36,7 @@
36
36
  "react-dom": "^16.8.2 || ^17.0.0 || ^18.0.0"
37
37
  },
38
38
  "dependencies": {
39
- "@progress/kendo-charts": "^1.23.6",
39
+ "@progress/kendo-charts": "dev",
40
40
  "@progress/kendo-react-common": "5.3.0-dev.202205041411",
41
41
  "prop-types": "^15.6.0"
42
42
  },