@progress/kendo-react-map 5.6.0-dev.202208040930 → 5.6.0-dev.202208090813

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.
@@ -1 +1 @@
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:1659604841,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())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()){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;t.push(window)}return 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)})())}}});
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))},_.prototype.componentWillUnmount=function(){this.optionsUnsubscriber(),null!==this.mapInstance&&(this.mapInstance.destroy(),this.mapInstance=null)},_.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())},Object.defineProperty(_.prototype,"layers",{get:function(){var e;return null==(e=this.mapInstance)?void 0:e.layers},enumerable:!1,configurable:!0}),Object.defineProperty(_.prototype,"extent",{get:function(){var e;return null==(e=this.mapInstance)?void 0:e.extent()},set:function(e){var t;null!=(t=this.mapInstance)&&t.extent(e)},enumerable:!1,configurable:!0}),_.prototype.resize=function(){},_.prototype.viewSize=function(){var e;return null==(e=this.mapInstance)?void 0:e.viewSize()},_.prototype.eventOffset=function(e){var t;return null==(t=this.mapInstance)?void 0:t.eventOffset(e)},_.prototype.eventToLayer=function(e){var t;return null==(t=this.mapInstance)?void 0:t.eventToLayer(e)},_.prototype.eventToLocation=function(e){var t;return null==(t=this.mapInstance)?void 0:t.eventToLocation(e)},_.prototype.eventToView=function(e){var t;return null==(t=this.mapInstance)?void 0:t.eventToView(e)},_.prototype.layerToLocation=function(e,t){var n;return null==(n=this.mapInstance)?void 0:n.layerToLocation(e,t)},_.prototype.locationToLayer=function(e,t){var n;return null==(n=this.mapInstance)?void 0:n.locationToLayer(e,t)},_.prototype.locationToView=function(e){var t;return null==(t=this.mapInstance)?void 0:t.locationToView(e)},_.prototype.viewToLocation=function(e,t){var n;return null==(n=this.mapInstance)?void 0:n.viewToLocation(e,t)},_.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.onInit=function(e){n.mapInstance=e.sender},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()},(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,{init:"onInit"}),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:1660032211,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:(D,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())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 V=["font-size","font-family","font-stretch","font-style","font-weight","line-height"],W=/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 V.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()){for(var n,o=e.parentElement;o;)(W.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;t.push(window)}return 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 T(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 k,L,A,I,t={left:-1e3,top:0},X=((I=k=k||{}).hiding="hiding",I.hidden="hidden",I.showing="showing",I.shown="shown",I.reposition="reposition","k-animation-container-shown"),Y=(L=l.Component,C(A=R,I=L),A.prototype=null===I?Object.create(I):($.prototype=I.prototype,new $),Object.defineProperty(R.prototype,"element",{get:function(){return this._popup},enumerable:!0,configurable:!0}),R.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===k.hidden||t.current===k.hiding?x({},n,{current:k.showing,previous:t.current}):t.current===k.showing?x({},n,{current:k.shown,previous:t.current}):t.current!==k.shown||T(u,t.props.offset)&&T(r,t.props.anchorAlign)&&T(i,t.props.appendTo)&&T(a,t.props.collision)&&T(p,t.props.popupAlign)&&T(c,t.props.style)&&o===t.props.anchor&&l===t.props.popupClass&&s===t.props.className?n:x({},n,{current:k.reposition,previous:t.current}):t.current===k.hiding||t.current===k.hidden?x({},n,{current:k.hidden,previous:t.current}):x({},n,{current:k.hiding,previous:t.current})},R.prototype.componentDidUpdate=function(e){this.state.current===k.showing&&this._popup?this.show(this._popup):this.state.current===k.hiding&&this._popup?(this.onClosing(this._popup),this.animate(this._popup.firstChild,"exit",this.onClosed)):this.state.current===k.reposition&&this.state.previous===k.shown?this.setState({current:k.shown,previous:this.state.current}):this.state.current===k.shown&&e.contentKey!==this.props.contentKey&&this._popup&&this.setPosition(this._popup)},R.prototype.componentDidMount=function(){this.state.current===k.showing&&this._popup&&this.show(this._popup)},R.prototype.componentWillUnmount=function(){this.detachRepositionHandlers()},R.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===k.reposition&&this.state.previous===k.shown&&this._popup&&this.setPosition(this._popup),Object.assign({},{position:e,top:0,left:-1e4},this.props.style||{})),s=this.state.current===k.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(R.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}),R.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)},R.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)},R.prototype.reposition=function(){this.setState({current:k.reposition,previous:this.state.current})},R.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},R.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"},R.contextType=c.ZIndexContext,R.displayName="PopupComponent",R),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 R(e){var f=L.call(this,e)||this;return f.state={current:k.hidden,previous:k.hidden,props:{}},f._popup=null,f.show=function(e){f.setPosition(e),f.animate(e.firstChild,"enter",f.onOpened),f.setState({current:k.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===k.hiding&&f.state.previous===k.shown&&f.setState({current:k.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.6.0-dev.202208040930",
4
+ "version": "5.6.0-dev.202208090813",
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.24.0",
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
  },