text: (self.webpackChunkgeonode_mapstore_client=self.webpackChunkgeonode_mapstore_client||[]).push([[127,3204,7654],{73814:(e,t,n)=>{"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{xO:()=>a,HH:()=>l,yp:()=>u,i8:()=>c,hC:()=>s,UK:()=>f});var a="MAP:ADD_POPUP",l="MAP:REMOVE_POPUP",u="MAP:CLEAN_POPUPS",c=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return{type:a,id:e,popup:o({id:e},t),single:n}},s=function(e){return{type:l,id:e}},f=function(){return{type:u}}},49243:(e,t,n)=>{"use strict";n.d(t,{y:()=>v});var r=n(47037),o=n.n(r),i=n(14293),a=n.n(i),l=n(49977),u=n(88798),c=n(75875),s=n.n(c),f=n(86267);function p(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=r.attachJSON,c=r.itemId,d=void 0===c?null:c,m=function(t){return l.Observable.defer((function(){return s().get(e,{params:t})}))},g=function(t){return(0,u.pf)(n,e,t)},v=(0,u.pf)(n,e,t)?g:m;return i&&"application/json"!==t.info_format&&"application/json"!==t.outputFormat?l.Observable.forkJoin(v(t),v(y(y({},t),{},{info_format:"application/json"})).map((function(e){return e.data})).catch((function(){return l.Observable.of({})}))).map((function(e){var t=p(e,2),n=t[0],r=t[1];return y(y({},n),{},{features:r&&r.features&&r.features.filter((function(e){return!!a()(d)||e.id===d})),featuresCrs:r&&r.crs&&(0,f.parseURN)(r.crs)})})):v(t).map((function(e){return e.data})).map((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{data:o()(e)?e:y(y({},e),{},{features:e.features&&e.features.filter((function(e){return!d||e.id===d}))}),features:e.features&&e.features.filter((function(e){return!d||e.id===d})),featuresCrs:e&&e.crs&&(0,f.parseURN)(e.crs)}}))}},21751:(e,t,n)=>{"use strict";n.r(t),n.d(t,{IDENTIFY_POPUP:()=>E,default:()=>P});var r=n(24852),o=n.n(r),i=n(73014),a=n(11196),l=n(67076),u=n(71703),c=n(22222),s=n(7877),f=n(21914),p=n(42872),d=n(1469),m=n.n(d),y=n(52353),g=n.n(y),v=n(79870),b=n(827),h=(0,l.compose)((0,u.connect)((0,c.P1)(s.Qf,(function(e){return{index:e}})),{setIndex:f.oO}),(0,l.defaultProps)({index:0,responses:[]})),O=(0,c.P1)([s.q7,s.o9,s.OK,s.us,s.x0,b.Mc,s.vR],(function(e,t,n,r,o,i,a){return{responses:e,validResponses:t,requests:n,format:r,showEmptyMessageGFI:o,missingResponses:(n||[]).length-(e||[]).length,renderEmpty:i,loaded:a}}));const w=(0,l.compose)((0,u.connect)(O),(0,l.defaultProps)({responses:[],container:function(e){var t=e.index,n=e.children;return o().createElement(o().Fragment,null,m()(n)&&n[t]||n)},header:v.Z}),h,a.Yy,a.mI,(0,i.Z)((function(e){var t=e.loaded;return g()(t)})))(p.Z);var E="identify";const P={identify:w}},87320:(e,t,n)=>{"use strict";n.d(t,{Z:()=>O});var r=n(24852),o=n.n(r),i=n(45697),a=n.n(i),l=n(88798),u=n(43129),c=n(30294),s=n(52595);function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var p=function(e){var t,n,i=e.text,a=e.placement,l=e.bsStyle,u=e.left,p=e.top,d=e.title,m=e.glyph,y=e.id,g=(0,r.useRef)(),v=(t=(0,r.useState)(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}(t,n)||function(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),b=v[0],h=v[1];return o().createElement("span",{className:"mapstore-info-popover",onMouseLeave:function(){return h(!1)}},o().createElement(c.Glyphicon,{onMouseEnter:function(){h(!0)},ref:function(e){g.current=e},className:"text-".concat(l),glyph:m}),o().createElement(s.Z,{placement:a,show:b,target:function(){return g.current}},o().createElement(c.Popover,{id:y,placement:a,positionLeft:u,positionTop:p,title:d},o().createElement("div",{style:{display:"flex"}},i))))};p.propTypes={id:a().string,title:a().string,text:a().string,glyph:a().string,bsStyle:a().string,placement:a().string,left:a().number,top:a().number,trigger:a().oneOfType([a().array,a().bool])},p.defaultProps={id:"",title:"",text:"",placement:"right",left:200,top:50,glyph:"question-sign",bsStyle:"info"};const d=p;var m=n(15402);function y(){return(y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function h(e){var t=e.id,n=e.label,r=e.infoFormat,i=e.availableInfoFormat,a=e.popoverMessage,l=e.disabled,s=e.onInfoFormatChange,f=e.selectProps,p=Object.keys(i).reduce((function(e,t){return Object.keys(e).map((function(t){return e[t]})).some((function(e){return e===i[t]}))?e:v(v({},e),{},b({},t,i[t]))}),{}),g=Object.keys(p).map((function(e){return{value:p[e],label:e}})),h=o().createElement(o().Fragment,null,"   ",a&&o().createElement(d,{text:o().createElement(m.Z,{msgId:a})}),o().createElement(u.ZP,y({},f,{id:t,value:r,clearable:!1,disabled:l,options:g,onChange:function(e){return s(null==e?void 0:e.value)}})));return n?o().createElement(c.FormGroup,{bsSize:"small"},o().createElement(c.ControlLabel,null,n),h):h}h.propTypes={id:a().string,label:a().oneOfType([a().func,a().string,a().object]),availableInfoFormat:a().object,infoFormat:a().string,popoverMessage:a().string,onInfoFormatChange:a().func,disabled:a().bool,selectProps:a().object},h.defaultProps={id:"mapstore-feature-format-selector",availableInfoFormat:(0,l.eq)(),infoFormat:(0,l.wR)(),popoverMessage:"",onInfoFormatChange:function(){},selectProps:{}};const O=h},52595:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=(0,n(61365).Z)(n(30294).Overlay)},84611:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>mt}),n(17097);var r=n(52353),o=n.n(r),i=n(27418),a=n.n(i),l=n(24852),u=n.n(l),c=n(30294),s=n(71703),f=n(67076),p=n(22222),d=n(1550),m=n(21914),y=n(42872),g=n(11196),v=n(7654),b=n.n(v),h=n(14293),O=n.n(h),w=n(61868),E=(0,f.withHandlers)({needsRefresh:function(){return function(e,t){if(t.enabled&&t.point&&t.point.pixel){if(!e.point||!e.point.pixel||e.point.pixel.x!==t.point.pixel.x||e.point.latlng!==t.point.latlng||e.point.pixel.y!==t.point.pixel.y)return!0;if(!e.point||!e.point.pixel||t.point.pixel&&e.format!==t.format)return!0}return!1}},onClose:function(e){var t=e.purgeResults,n=void 0===t?function(){}:t,r=e.closeIdentify,o=void 0===r?function(){}:r;return function(){n(),o()}},onSubmitClickPoint:function(e){var t=e.onSubmitClickPoint,n=void 0===t?function(){}:t,r=e.point;return function(e){var t=O()(e.lat)||b()(e.lat)?0:parseFloat(e.lat),o=O()(e.lon)||b()(e.lon)?0:parseFloat(e.lon),i=(0,w.t8)("latlng.lng",o,(0,w.t8)("latlng.lat",t,r));n(i)}},onChangeFormat:function(e){var t=e.onChangeFormat,n=void 0===t?function(){}:t;return function(e){n(e)}}}),P=(0,f.compose)(E,(0,f.lifecycle)({componentDidMount:function(){var e=this.props,t=e.enabled,n=e.showInMapPopup,r=e.changeMousePointer,o=void 0===r?function(){}:r,i=e.disableCenterToMarker,a=e.onEnableCenterToMarker,l=void 0===a?function(){}:a,u=e.setShowInMapPopup,c=void 0===u?function(){}:u;t&&o("pointer"),i||l(),c(n)},componentWillUnmount:function(){var e=this.props,t=e.hideMarker,n=void 0===t?function(){}:t,r=e.purgeResults,o=void 0===r?function(){}:r,i=e.changeMousePointer;(void 0===i?function(){}:i)("auto"),n(),o()},componentWillReceiveProps:function(e){var t,n=this.props,r=n.hideMarker,o=void 0===r?function(){}:r,i=n.purgeResults,a=void 0===i?function(){}:i,l=n.changeMousePointer,u=void 0===l?function(){}:l,c=n.enabled;e.enabled&&!c?u("pointer"):!e.enabled&&c&&(u("auto"),o(),a()),this.props.showInMapPopup!==e.showInMapPopup&&(null===(t=e.setShowInMapPopup)||void 0===t||t.call(e,e.showInMapPopup))}})),S=n(13292),j=n.n(S);const C=(0,f.withHandlers)({zoomToFeature:function(e){var t=e.zoomToExtent,n=void 0===t?function(){}:t,r=e.currentFeature,o=void 0===r?[]:r,i=e.currentFeatureCrs;return function(){var e=o.filter((function(e){return!!e.geometry}));if(e.length>0){var t=j()({type:"FeatureCollection",features:e});t&&n(t,i)}}}});var x=n(27361),I=n.n(x),M=n(80717),F=n(5346),T=n(32107),k=n(94745),R=n(99534);const N=function(e){var t=e.latlng,n=e.enableRevGeocode,r=e.hideRevGeocode,o=void 0===r?function(){}:r,i=e.showModalReverse,a=e.revGeocodeDisplayName;return n&&t?u().createElement(R.Z,null,u().createElement(k.Z,{fade:!0,title:u().createElement("span",null,u().createElement(c.Glyphicon,{glyph:"map-marker"})," ",u().createElement(F.Z,{msgId:"identifyRevGeocodeModalTitle"})),size:"xs",show:i,onClose:o,buttons:[{text:u().createElement(F.Z,{msgId:"close"}),onClick:o,bsStyle:"primary"}]},u().createElement("div",{className:"ms-alert",style:{padding:15}},u().createElement("div",{className:"ms-alert-center text-center"},u().createElement("div",null,a))))):null};var D=n(38261),A=n(41609),Z=n.n(A);const G=function(e){return u().createElement(D.Z,{format:e.formatCoord||"decimal",aeronauticalOptions:{seconds:{decimals:4,step:1e-4}},idx:1,onSubmit:function(t,n){e.onSubmit(Z()(n)?void 0:n)},onChangeFormat:function(t){e.onChangeFormat(t)},key:"GFI row coord editor",component:e.coordinate||{},customClassName:"coord-editor",isDraggable:!1,showDraggable:!1,formatVisible:!0,showLabels:!0,removeVisible:!1})};var z=n(47361),L=(0,n(62395).Z)((function(e){var t=e.degrees,n=void 0===t?0:t,r=e.minutes,o=void 0===r?0:r,i=e.seconds,a=void 0===i?0:i,l=e.direction,c=e.integerFormat,s=e.decimalFormat;return u().createElement("span",{className:"coordinate-dms"},u().createElement(z.Z,{key:"latD",numberParams:c,value:n}),u().createElement("span",null,"° "),u().createElement(z.Z,{key:"latM",numberParams:c,value:o}),u().createElement("span",null,"' "),u().createElement(z.Z,{key:"latS",numberParams:s,value:a}),u().createElement("span",null,"'' ")," ",u().createElement("span",null,l))}));const _=function(e){var t=e.integerFormat,n=void 0===t?{style:"decimal",minimumIntegerDigits:2,maximumFractionDigits:0}:t,r=e.decimalFormat,o=void 0===r?{style:"decimal",minimumIntegerDigits:2,maximumFractionDigits:4,minimumFractionDigits:4}:r,i=e.coordinate,a=void 0===i?{}:i,l=e.formatCoord,s=void 0===l?"decimal":l,f=e.className;return u().createElement(c.Row,{className:f},u().createElement(c.Col,{xs:12},O()(a.lat)||O()(a.lon)?null:"decimal"===s?u().createElement("div",{className:"ms-coordinates-decimal"},"Lat: ",u().createElement(z.Z,{value:Math.round(1e5*a.lat)/1e5})," - Long: ",u().createElement(z.Z,{value:a.lon})):u().createElement("div",{className:"ms-coordinates-aeronautical"},u().createElement("span",null,"Lat: ",u().createElement(L,{integerFormat:n,decimalFormat:o,value:a.lat})),u().createElement("span",null," - "),u().createElement("span",null," Long: ",u().createElement(L,{coordinate:"lon",integerFormat:n,decimalFormat:o,value:a.lon})))))},H=function(e){var t=e.coordinate,n=void 0===t?{}:t,r=e.formatCoord,o=e.edit,i=e.onSubmit,a=void 0===i?function(){}:i,l=e.onChangeFormat,c=void 0===l?function(){}:l;return o?u().createElement(G,{removeVisible:!1,formatCoord:r,coordinate:n||{lat:"",lon:""},onSubmit:a,onChangeFormat:c}):u().createElement(_,{className:"coordinates-text",formatCoord:r,coordinate:n||{lat:"",lon:""}})};var B=n(2870),U=n(45697),q=n.n(U),V=n(43129);function K(){return(K=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Y(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var J=(0,n(93451).Z)(["placeholder","clearValueText","noResultsText"])(V.ZP),$=function(e){var t=e.responses,n=e.index,r=e.loaded,o=e.setIndex,i=e.missingResponses,a=e.emptyResponses,c=e.validator,s=e.format,f=W((0,l.useState)([]),2),p=f[0],d=f[1],m=W((0,l.useState)(""),2),y=m[0],g=m[1];return(0,l.useEffect)((function(){Z()(t)||d(t.map((function(e,t){var n,r,o=null==e||null===(n=e.layerMetadata)||void 0===n?void 0:n.title;return{label:o,value:o,idx:t,style:{display:null!==(r=c(s))&&void 0!==r&&r.getValidResponses([e]).length?"block":"none"}}})))}),[t]),(0,l.useEffect)((function(){var e,o;r&&g((null===(e=t[n])||void 0===e||null===(o=e.layerMetadata)||void 0===o?void 0:o.title)||"")}),[t,n,r]),u().createElement("div",{id:"identify-layer-select",style:{flex:"1 1 0%",padding:"0px 4px"}},u().createElement(J,K({},{clearable:!1,isSearchable:!0},{onChange:function(e){var t=(null==e?void 0:e.idx)||0;o(t)},value:y||"",options:p,disabled:0!==i||0===t.length||a,noResultsText:"identifyLayerSelectNoResult"})))};$.defaultProps={responses:[],index:0,loaded:!1,setIndex:function(){},missingResponses:0,emptyResponses:!1,validator:function(){},format:""},$.propTypes={responses:q().array,setIndex:q().func,index:q().number,emptyResponses:q().bool,validator:q().func,format:q().string};const X=$;function Q(){return(Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ee(Object(n),!0).forEach((function(t){ne(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var re=n(73014),oe=n(87320),ie=n(81756);function ae(e){return(ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function se(e,t){return!t||"object"!==ae(t)&&"function"!=typeof t?fe(e):t}function fe(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var me=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}(a,e);var t,n,r,o,i=(r=a,o=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=pe(r);if(o){var n=pe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return se(this,e)});function a(){var e;le(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return de(fe(e=i.call.apply(i,[this].concat(n))),"onChange",(function(t){e.props.onSetMapTrigger(t.target.value)})),e}return t=a,(n=[{key:"render",value:function(){return u().createElement(c.FormGroup,{bsSize:"small"},u().createElement(c.ControlLabel,null,u().createElement(ie.Z,{msgId:"infoTriggerLabel"})),u().createElement(c.FormControl,{value:this.props.hoverEnabled?this.props.trigger:"click",componentClass:"select",onChange:this.onChange},u().createElement("option",{value:"click",key:"click"},"Click"),u().createElement("option",{disabled:!this.props.hoverEnabled,value:"hover",key:"hover"},"Hover")))}}])&&ue(t.prototype,n),a}(u().Component);de(me,"propTypes",{trigger:q().string,onSetMapTrigger:q().func,hoverEnabled:q().bool}),de(me,"defaultProps",{hoverEnabled:!0});const ye=me;var ge=n(49977),ve=n.n(ge),be=n(13311),he=n.n(be),Oe=n(31351),we=n.n(Oe),Ee=n(55877),Pe=n.n(Ee),Se=n(75982),je=n(82904),Ce=n(33528),xe=n(95797),Ie=n(80416),Me=n(42780),Fe=n(81808),Te=n(73814),ke=n(97222),Re=n(7877),Ne=n(75110),De=n(31255),Ae=n(69842),Ze=n(827),Ge=n(55105),ze=n(86267),Le=n(2510),_e=n(7147),He=n(38842),Be=n(52259),Ue=n(88798),qe=n(21751),Ve=n(49243),Ke=n(13652);function We(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?We(Object(n),!0).forEach((function(t){Je(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):We(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Xe=function(e,t){var n,r,o,i=I()(e,"latlng.lng"),a=I()(e,"latlng.lat"),l=(0,ze.reproject)([i,a],"EPSG:4326",t),u=(0,Be.getHook)(Be.GET_PIXEL_FROM_COORDINATES_HOOK);if(u){var c=(r=u([l.x,l.y]),o=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw i}}return n}}(r,o)||function(e,t){if(e){if("string"==typeof e)return $e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$e(e,t):void 0}}(r,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());n={x:c[0],y:c[1]}}else n=e.pixel;var s=(0,Be.getHook)(Be.GET_COORDINATES_FROM_PIXEL_HOOK),f=(0,ze.calculateCircleRadiusFromPixel)(s,n,l,5),p={type:"geometry",enabled:!0,value:{geometry:{center:[l.x,l.y],coordinates:(0,ze.calculateCircleCoordinates)(l,f,12),extent:[l.x-f,l.y-f,l.x+f,l.y+f],projection:t,radius:f,type:"Polygon"},method:"Circle",operation:"INTERSECTS"}};return Ye(Ye({},e),{},{pixel:n,geometricFilter:p})};const Qe={getFeatureInfoOnFeatureInfoClick:function(e,t){var n=t.getState,r=void 0===n?function(){}:n;return e.ofType(m.xy).switchMap((function(e){var t=e.point,n=e.filterNameList,o=void 0===n?[]:n,i=e.overrideParams,a=void 0===i?{}:i,l=we()((0,Ne.OX)(r())),u=(0,Ne.$z)(r());u.length&&(l=u);var c=(0,Ne.NP)(r());if(0===l.length||0===u.length&&0!==c.length)return ve().Observable.of((0,m.g)(),(0,m.LU)());var s=["SLD_BODY"],f=["buffer","cql_filter","filter","propertyName"],p=ve().Observable.from(l.filter((function(e){return!o.length||o.filter((function(t){return-1!==t.indexOf(e.name)})).length>0}))).mergeMap((function(e){var t=(0,He.fY)(r()),n=(0,Ue.Fm)(e,Ye(Ye({},(0,Re.oq)(r())),{},{env:t})),o=n.url,i=n.request,u=n.metadata;if((0,Re.A4)(r())&&(0,Re.Ap)(r())&&(i=Ye(Ye({},i),(0,Re.Ap)(r())[e.name])),a[e.name]&&(i=Ye(Ye({},i),a[e.name])),o){var c=o,p=i,d=u,y=(0,Ue.K7)(e,f,s),g=(0,Re.hs)(r()),v=(0,Re.A4)(r()),b=Pe().v1(),h=Ye(Ye({},y),p);return(0,Ve.y)(c,h,e,{attachJSON:g,itemId:v}).map((function(t){return t.data.exceptions?(0,m.Mn)(b,t.data.exceptions,p,d):(0,m.Fm)(b,t.data,p,Ye(Ye({},d),{},{features:t.features,featuresCrs:t.featuresCrs}),e)})).catch((function(e){return ve().Observable.of((0,m.sV)(b,e.data||e.statusText||e.status,p,d))})).startWith((0,m.WU)(b,h))}return ve().Observable.of((0,m.JB)(e,i,u,l))}));return t&&t.modifiers&&!0===t.modifiers.ctrl&&t.multiSelection?p:p.startWith((0,m.g)())}))},handleMapInfoMarker:function(e,t){var n=t.getState;return e.ofType(m.xy).filter((function(){return!(0,Re.xt)(n())})).map((function(e){return e.layer?(0,m.aN)():(0,m.HP)()}))},closeFeatureGridFromIdentifyEpic:function(e){return e.ofType(m.XL,m.qb).switchMap((function(){return ve().Observable.of((0,Ce.YV)())}))},closeFeatureAndAnnotationEditing:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getState,r=void 0===n?function(){}:n;return e.ofType(m.cb).switchMap((function(){return I()(r(),"annotations.editing")?ve().Observable.of((0,Me.g)()):ve().Observable.of((0,m.g)())}))},hideMarkerOnIdentifyCloseOrClearWarning:function(e){return e.ofType(m.cb,m.ih).flatMap((function(){return ve().Observable.of((0,m.aN)())}))},changeMapPointer:function(e,t){return e.ofType(d.N7).filter((function(){return!t.getState().map})).switchMap((function(t){return e.ofType(Fe.ok).mapTo(t)}))},onMapClick:function(e,t){return e.ofType(d.TR).filter((function(){var e,n=t.getState().mapInfo.disableAlwaysOn,r=void 0!==n&&n;return!(0,Ze.Mc)(t.getState())&&(r||(e=t.getState()||{},!((0,Re.lN)(e)||(0,De.Rd)(e)&&(function(e){return"EDIT"===(0,De.eK)(e)}(e)||function(e){return I()(he()((0,De.M0)(e),(function(e){return"geometry"===e.type})),"enabled")}(e)))))})).switchMap((function(e){var n=e.point,r=e.layer,o=(0,Ze.uy)(t.getState());return ve().Observable.of((0,m.lK)(Xe(n,o),r),(0,ke.KG)()).merge(ve().Observable.of((0,Te.i8)(Pe()(),{component:qe.IDENTIFY_POPUP,maxWidth:600,position:{coordinates:n?n.rawPos:[]}})).filter((function(){return(0,Re.xt)(t.getState())})))}))},onUpdateFeatureInfoClickPoint:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getState,r=void 0===n?function(){}:n;return e.ofType(m.jL).map((function(e){var t=e.point,n=(0,Ze.uy)(r());return{point:Xe(t,n)}})).withLatestFrom(e.ofType(m.xy),(function(e,t){var n=e.point;return Ye(Ye({},t),{},{point:n})}))},featureInfoClickOnHighligh:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.getState,r=void 0===n?function(){}:n;return e.ofType(m.oz).filter((function(e){return e.enabled&&(0,Re.Bz)(r())})).switchMap((function(){return ve().Observable.from([(0,m.lK)((0,Re.Bz)(r()),(0,Re.H_)(r()),(0,Re.ij)(r()),(0,Re.Ap)(r()),(0,Re.A4)(r())),(0,m.HP)()])}))},zoomToVisibleAreaEpic:function(e,t){return e.ofType(m.xy).filter((function(){return(0,Ne._$)(t.getState())})).switchMap((function(n){return e.ofType(m.XL,m.km).mergeMap((function(){var r=t.getState(),o=(0,Ze.Od)(r),i=(0,Ze.uy)(r),a=(0,Ze.pb)(r),l=he()(a,{code:i}),u=l&&l.extent,c=u&&(0,ze.reprojectBbox)(u,i,"EPSG:4326"),s=(0,Ge.Nr)(r),f=n.point&&n.point&&n.point.latlng,p=(0,Be.getCurrentResolution)(Math.round(o.zoom),0,21,96),y=s&&o&&o.size&&{left:(0,Be.parseLayoutValue)(s.left,o.size.width),bottom:(0,Be.parseLayoutValue)(s.bottom,o.size.height),right:(0,Be.parseLayoutValue)(s.right,o.size.width),top:(0,Be.parseLayoutValue)(s.top,o.size.height)};if(!o||!y||!f||n.point.cartographic||(0,ze.isInsideVisibleArea)(f,o,y,p)||(0,Ze.Mc)(r))return ve().Observable.of((0,m.PM)("disabled"));if(c&&!(0,ze.isPointInsideExtent)(f,c))return ve().Observable.empty();var g=(0,ze.centerToVisibleArea)(f,o,y,p);return ve().Observable.of((0,m.PM)("enabled"),(0,d.xy)(g.pos,g.zoom,g.crs)).concat(e.ofType(m.cb).switchMap((function(){var e=o&&(0,Be.getBbox)(o.center,o.zoom);return ve().Observable.of((0,d.o6)(o.center,o.zoom,e,o.size,null,o.projection))})).takeUntil(e.ofType(d.pP).skip(1)))}))}))},closeFeatureInfoOnCatalogOpenEpic:function(e,t){return e.ofType(je.dc).filter((function(e){return"metadataexplorer"===e.control&&e.properties&&e.properties.enabled})).switchMap((function(){return ve().Observable.of((0,m.g)(),(0,m.aN)()).merge(ve().Observable.of((0,Te.UK)()).filter((function(){return(0,Re.xt)(t.getState())})))}))},closeFeatureInfoOnAnnotationOpenEpic:function(e,t){var n=t.getState;return e.ofType(je.kM).filter((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.control;return"annotations"===t&&I()(n(),"controls.annotations.enabled",!1)})).mapTo((0,m.g)())},closeFeatureInfoOnMeasureOpenEpic:function(e){return e.ofType(je.At).filter((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.control,n=e.value;return"measure"===t&&n})).mapTo((0,m.g)())},cleanPopupsEpicOnPurge:function(e,t){var n=t.getState;return e.ofType(m.DZ).filter((function(){return(0,Re.xt)(n())})).mapTo((0,Te.UK)())},identifyEditLayerFeaturesEpic:function(e,t){return e.ofType(m.fv).exhaustMap((function(e){var n,r=e.layer;return ve().Observable.of((0,m.ZM)(null===(n=(0,Re.Bz)(t.getState()))||void 0===n?void 0:n.geometricFilter),(0,Ie.Qr)(r))}))},switchFeatureGridToEdit:function(e,t){return e.ofType(xe.Yx).switchMap((function(){var e=(0,Re.AO)(t.getState()),n=(he()((0,De.M0)(t.getState()),(function(e){return"geometry"===e.type}))||{}).attribute||I()((0,Ae.vE)(t.getState()),"attribute");return e?ve().Observable.of((0,m.ZM)(),(0,Ce.lg)(),(0,Ce.a8)(Ye(Ye({},e),{},{attribute:n,value:Ye(Ye({},e.value),{},{attribute:n})}))):ve().Observable.empty()}))},resetCurrentEditFeatureQuery:function(e){return e.ofType(Ce.sF,Se.nk).mapTo((0,m.ZM)())},mouseMoveMapEventEpic:function(e,t){var n=t.getState;return e.ofType(d.Jb).debounceTime((0,Le.nR)(n())).switchMap((function(e){var t=e.position,r=e.layer,o=(0,_e.Yq)("annotations")(n()),i=(0,_e.QF)(n()),a=n().mousePosition.mouseOut;return!(0,Ze.Mc)(n())||o||i||a?ve().Observable.empty():ve().Observable.of((0,m.lK)(t,r)).merge(ve().Observable.of((0,Te.i8)(Pe()(),{component:qe.IDENTIFY_POPUP,maxWidth:600,position:{coordinates:t?t.rawPos:[]},autoPanMargin:70,autoPan:!0})))}))},removePopupOnUnregister:function(e,t){var n=t.getState;return e.ofType(d.GI).switchMap((function(){var e,t,r=ve().Observable.empty(),o=(null===(e=n())||void 0===e||null===(t=e.mapPopups)||void 0===t?void 0:t.popups)||[];if(o.length&&!(0,Ze.Mc)(n())){var i=o[0].id;r=ve().Observable.of((0,Te.hC)(i))}return r}))},removePopupOnLocationChangeEpic:function(e,t){var n=t.getState;return e.ofType(Se.nk,m.DZ,m.ih).switchMap((function(){var e,t,r=ve().Observable.empty(),o=(null===(e=n())||void 0===e||null===(t=e.mapPopups)||void 0===t?void 0:t.popups)||[];if(o.length){var i=o[0].id;r=ve().Observable.of((0,Te.hC)(i))}return r}))},removeMapInfoMarkerOnRemoveMapPopupEpic:function(e,t){var n=t.getState;return e.ofType(Te.HH).switchMap((function(){return(0,Ze.Mc)(n())?ve().Observable.of((0,m.aN)()):ve().Observable.empty()}))},setMapTriggerEpic:function(e,t){return e.ofType(m.zX,Fe.ok,Ke.Wz).switchMap((function(){return ve().Observable.of("hover"===(0,Re.EI)(t.getState())?(0,d.H0)("mousemove","identifyFloatingTool"):(0,d.$X)("mousemove","identifyFloatingTool"))}))}};var et=n(26125),tt=n(8316),nt=n(93152),rt=n(37275);function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function it(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){at(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function at(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lt=(0,p.zB)({enabled:function(e){return e.mapInfo&&e.mapInfo.enabled||e.controls&&e.controls.info&&e.controls.info.enabled||!1},responses:Re.q7,validResponses:Re.o9,requests:Re.OK,format:Re.us,map:Ze.Od,layers:Ne.l2,point:Re.Bz,showModalReverse:function(e){return e.mapInfo&&e.mapInfo.showModalReverse},reverseGeocodeData:function(e){return e.mapInfo&&e.mapInfo.reverseGeocodeData},warning:function(e){return e.mapInfo&&e.mapInfo.warning},currentLocale:tt.Pz,dockStyle:function(e){return(0,Ge.ic)(e,{height:!0})},formatCoord:function(e){return e.mapInfo&&e.mapInfo.formatCoord||rt.ZP.getConfigProp("defaultCoordinateFormat")},showCoordinateEditor:function(e){return e.mapInfo&&e.mapInfo.showCoordinateEditor},showEmptyMessageGFI:function(e){return(0,Re.x0)(e)},isEditingAllowed:De.nq,isCesium:nt.c0,floatingIdentifyEnabled:function(e){return(0,Ze.Mc)(e)}}),ut=(0,f.compose)((0,s.connect)((0,p.P1)(Re.Qf,Re.vR,(function(e){return e.browser&&e.browser.mobile}),(function(e,t,n){return{index:e,loaded:t,isMobile:n}})),{setIndex:m.oO})),ct=(0,f.compose)(ut,g.Yy,g.mI,(0,re.Z)((function(e){var t=e.loaded;return o()(t)})))(y.Z),st=(0,f.defaultProps)({formatCoord:"decimal",enabled:!1,draggable:!0,collapsible:!1,format:(0,Ue.wR)(),requests:[],responses:[],viewerOptions:{},viewer:ct,purgeResults:function(){},hideMarker:function(){},clearWarning:function(){},changeMousePointer:function(){},showRevGeocode:function(){},hideRevGeocode:function(){},containerProps:{continuous:!1},enabledCoordEditorButton:!0,showCoordinateEditor:!1,showModalReverse:!1,reverseGeocodeData:{},enableRevGeocode:!0,wrapRevGeocode:!1,style:{},point:{},layer:null,map:{},layers:[],panelClassName:"modal-dialog info-panel modal-content",headerClassName:"modal-header",bodyClassName:"modal-body info-wrap",dock:!0,headerGlyph:"",closeGlyph:"1-close",className:"square-button",currentLocale:"en-US",fullscreen:!1,showTabs:!0,showCoords:!0,showLayerTitle:!0,showMoreInfo:!0,showEdit:!1,position:"right",size:660,getToolButtons:function(e){e.showHighlightFeatureButton,e.currentFeature,e.highlight;var t=e.onEdit,n=void 0===t?function(){}:t,r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["showHighlightFeatureButton","currentFeature","highlight","onEdit"]);return[{glyph:"info-sign",tooltipId:"identifyRevGeocodeSubmitText",visible:r.latlng&&r.enableRevGeocode&&r.lngCorrected&&r.showMoreInfo,onClick:function(){r.showRevGeocode({lat:r.latlng.lat,lng:r.lngCorrected})}},{glyph:"search-coords",tooltipId:r.showCoordinateEditor?"identifyHideCoordinateEditor":"identifyShowCoordinateEditor",visible:r.enabledCoordEditorButton,bsStyle:r.showCoordinateEditor?"success":"primary",onClick:function(){r.onToggleShowCoordinateEditor(r.showCoordinateEditor)}},{glyph:"pencil",visible:r.showEdit,tooltipId:"identifyEdit",onClick:function(){return n()}}].filter((function(e){return e&&e.visible}))},getFeatureButtons:function(e){var t=e.showHighlightFeatureButton,n=e.currentFeature,r=e.highlight,o=e.toggleHighlightFeature,i=void 0===o?function(){}:o,a=e.zoomToFeature,l=void 0===a?function(){}:a;return[{glyph:"map-filter",visible:t,tooltipId:r?"identifyStopHighlightingFeatures":"identifyHighlightFeatures",bsStyle:r?"success":"primary",onClick:function(){return i(!r)}},{glyph:"zoom-to",visible:r&&!!n&&n.length>0&&n.reduce((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.geometry;return e||!!n}),!1)||!1,tooltipId:"identifyZoomToFeature",onClick:l}]},showFullscreen:!1,validResponses:[],validator:Ue.Te,zIndex:1050}),ft=(0,f.compose)((0,s.connect)(lt,{purgeResults:m.g,closeIdentify:m.Mc,onSubmitClickPoint:m.sv,onToggleShowCoordinateEditor:m.RA,onChangeFormat:m.Zw,changeMousePointer:d.Mo,clearWarning:m.XP,hideMarker:m.aN,showRevGeocode:m.Pg,hideRevGeocode:m.u0,onEnableCenterToMarker:m.PM.bind(null,"enabled"),onEdit:m.am},(function(e,t,n){return it(it(it(it({},n),e),t),{},{enabled:e.enabled&&(e.isCesium||!n.showInMapPopup)&&!e.floatingIdentifyEnabled})})),(0,f.compose)((0,s.connect)((0,p.zB)({highlight:Re.hs,currentFeature:Re.IA,currentFeatureCrs:Re.Kc}),{toggleHighlightFeature:m.MO,zoomToExtent:d.Px}),C),(0,s.connect)((0,p.P1)(nt.$v,(function(e){return{mapType:e}})),{},(function(e,t,n){var r=e.mapType,o=n.showHighlightFeatureButton;return it(it({},function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(n,["showHighlightFeatureButton"])),{},{showHighlightFeatureButton:"openlayers"===r&&o})})),st,ut,g.mI,(0,s.connect)((function(){}),{setShowInMapPopup:m.Y$}),P)((function(e){var t,n,r=e.enabled,o=e.requests,i=void 0===o?[]:o,a=e.onClose,l=void 0===a?function(){}:a,s=e.responses,f=void 0===s?[]:s,p=e.index,d=e.viewerOptions,m=void 0===d?{}:d,y=e.format,g=e.dock,v=void 0===g||g,b=e.position,h=e.size,O=e.fluid,w=e.validResponses,E=void 0===w?[]:w,P=e.viewer,S=void 0===P?function(){return null}:P,j=e.getToolButtons,C=void 0===j?function(){return[]}:j,x=e.getFeatureButtons,D=void 0===x?function(){return[]}:x,A=e.showFullscreen,Z=e.reverseGeocodeData,G=void 0===Z?{}:Z,z=e.point,L=e.dockStyle,_=void 0===L?{}:L,U=e.draggable,q=e.setIndex,V=e.warning,K=e.clearWarning,W=e.zIndex,Y=e.showEmptyMessageGFI,J=e.showEdit,$=e.isEditingAllowed,ee=e.onEdit,ne=void 0===ee?function(){}:ee,re=e.enabledCoordEditorButton,oe=e.showCoordinateEditor,ie=e.onSubmitClickPoint,ae=e.onChangeFormat,le=e.formatCoord,ue=e.loaded,ce=e.validator,se=void 0===ce?function(){return null}:ce,fe=e.toggleHighlightFeature,pe=void 0===fe?function(){}:fe,de=z&&z.latlng||null,me=E[p],ye=(me||{}).layer,ge=null;de&&(ge=de&&Math.round(1e17*de.lng)/1e17,ge-=360*Math.floor(ge/360+.5));var ve=S,be=C(te(te({},e),{},{lngCorrected:ge,validResponses:E,latlng:de,showEdit:J&&$&&!!me&&(0,B.j)(me),onEdit:ne.bind(null,ye&&{id:ye.id,name:ye.name,url:I()(ye,"search.url")})})),he=i.length===(null===(t=se(y))||void 0===t||null===(n=t.getNoValidResponses(f))||void 0===n?void 0:n.length)||0,Oe=i.length-f.length,we=G.error?u().createElement(F.Z,{msgId:"identifyRevGeocodeError"}):G.display_name;return u().createElement("div",{id:"identify-container",className:r&&0!==i.length?"identify-active":""},u().createElement(T.Z,{bsStyle:"primary",glyph:"map-marker",open:r&&0!==i.length,size:h,fluid:O,position:b,draggable:U,onClose:function(){l(),pe(!1)},dock:v,style:_,showFullscreen:A,zIndex:W,header:[u().createElement(c.Row,{className:"layer-select-row"},u().createElement("div",{className:"layer-col"},u().createElement("span",{className:"identify-icon glyphicon glyphicon-1-layer"}),u().createElement(X,{responses:E,index:p,loaded:ue,setIndex:q,missingResponses:Oe,emptyResponses:he,validator:se,format:y}),u().createElement(M.Z,{btnDefaultProps:{bsStyle:"primary",className:"square-button-md"},buttons:D(e),transitionProps:null}))),u().createElement(c.Row,{className:"coordinates-edit-row"},u().createElement("span",{className:"identify-icon glyphicon glyphicon-point"}),u().createElement("div",{className:"coordinate-editor"},u().createElement(H,{key:"coordinate-editor",formatCoord:le,enabledCoordEditorButton:re,onSubmit:ie,onChangeFormat:ae,edit:oe,coordinate:{lat:de&&de.lat,lon:ge}})),u().createElement(N,Q({latlng:de,revGeocodeDisplayName:we},e)),u().createElement(M.Z,{btnDefaultProps:{bsStyle:"primary",className:"square-button-md"},buttons:be,transitionProps:null}))].filter((function(e){return e}))},u().createElement(ve,Q({index:p,setIndex:q,format:y,missingResponses:Oe,responses:f,requests:i,showEmptyMessageGFI:Y},m))),u().createElement(R.Z,null,u().createElement(k.Z,{fade:!0,title:u().createElement(F.Z,{msgId:"warning"}),size:"xs",show:V,onClose:K,buttons:[{text:u().createElement(F.Z,{msgId:"close"}),onClick:K,bsStyle:"primary"}]},u().createElement("div",{className:"ms-alert",style:{padding:15}},u().createElement("div",{className:"ms-alert-center text-center"},u().createElement(F.Z,{msgId:"identifyNoQueryableLayers"}))))))})),pt=(0,s.connect)((function(e){return{infoFormat:(0,Re.us)(e)}}),{onInfoFormatChange:m.ws})(oe.Z),dt=(0,s.connect)((function(e){return{trigger:(0,Ze.Mc)(e)?"hover":"click",hoverEnabled:(0,Re.qK)(e)}}),{onSetMapTrigger:m.wm})(ye);const mt={IdentifyPlugin:a()(ft,{Toolbar:{name:"info",position:6,tooltip:"info.tooltip",icon:u().createElement(c.Glyphicon,{glyph:"map-marker"}),help:u().createElement(ie.Z,{msgId:"helptexts.infoButton"}),action:m.TM,selector:function(e){return{bsStyle:e.mapInfo&&e.mapInfo.enabled?"success":"primary",active:!(!e.mapInfo||!e.mapInfo.enabled)}}},Settings:{tool:[u().createElement(pt,{key:"featureinfoformat",label:u().createElement(ie.Z,{msgId:"infoFormatLbl"})}),u().createElement(dt,{key:"featureinfotrigger"})],position:3}}),reducers:{mapInfo:et.Z},epics:Qe}},38842:(e,t,n)=>{"use strict";n.d(t,{wk:()=>f,Yf:()=>p,c3:()=>d,fY:()=>m});var r=n(18721),o=n.n(r),i=n(27361),a=n.n(i),l=n(13311),u=n.n(l),c=n(22222),s=n(8316),f=function(e){return o()(e,"localConfig.localizedLayerStyles")},p=function(e){var t=a()(e,"localConfig.plugins.dashboard",[]),n=u()(t,(function(e){return"DashboardEditor"===e.name}))||{};return a()(n,"cfg.catalog.localizedLayerStyles",!1)},d=function(e){return a()(e,"localConfig.localizedLayerStyles.name","mapstore_language")},m=(0,c.P1)(f,d,s.KV,(function(e,t,n){var r=[];return e&&r.push({name:t,value:n}),r}))},20701:(e,t,n)=>{(e.exports=n(9252)()).push([e.id,".msgapi .swipe-header-left-button {\n    float: left;\n}\n\n.msgapi .swipe-header-right-button {\n    float: right;\n}\n",""])},54625:e=>{e.exports=function(e){if(!e||!e.type)return null;var n=t[e.type];return n?"geometry"===n?{type:"FeatureCollection",features:[{type:"Feature",properties:{},geometry:e}]}:"feature"===n?{type:"FeatureCollection",features:[e]}:"featurecollection"===n?e:void 0:null};var t={Point:"geometry",MultiPoint:"geometry",LineString:"geometry",MultiLineString:"geometry",Polygon:"geometry",MultiPolygon:"geometry",GeometryCollection:"geometry",Feature:"feature",FeatureCollection:"featurecollection"}},87157:(e,t,n)=>{var r=n(40554),o=n(88958);e.exports=function(e,t,n,i){var a=e.length;for((n=r(n))<0&&(n=-n>a?0:a+n),(i=void 0===i||i>a?a:r(i))<0&&(i+=a),i=n>i?0:o(i);n<i;)e[n++]=t;return e}},98805:(e,t,n)=>{var r=n(40180),o=n(62689),i=n(83140),a=n(79833);e.exports=function(e){return function(t){t=a(t);var n=o(t)?i(t):void 0,l=n?n[0]:t.charAt(0),u=n?r(n,1).join(""):t.slice(1);return l[e]()+u}}},89179:(e,t,n)=>{var r=n(55639),o=n(40554),i=n(14841),a=n(79833),l=r.isFinite,u=Math.min;e.exports=function(e){var t=Math[e];return function(e,n){if(e=i(e),(n=null==n?0:u(o(n),292))&&l(e)){var r=(a(e)+"e").split("e"),c=t(r[0]+"e"+(+r[1]+n));return+((r=(a(c)+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}},48403:(e,t,n)=>{var r=n(79833),o=n(11700);e.exports=function(e){return o(r(e).toLowerCase())}},19873:(e,t,n)=>{var r=n(87157),o=n(16612);e.exports=function(e,t,n,i){var a=null==e?0:e.length;return a?(n&&"number"!=typeof n&&o(e,t,n)&&(n=0,i=a),r(e,t,n,i)):[]}},7654:(e,t,n)=>{var r=n(81763);e.exports=function(e){return r(e)&&e!=+e}},31351:e=>{var t=Array.prototype.reverse;e.exports=function(e){return null==e?e:t.call(e)}},59854:(e,t,n)=>{var r=n(89179)("round");e.exports=r},88958:(e,t,n)=>{var r=n(29750),o=n(40554);e.exports=function(e){return e?r(o(e),0,4294967295):0}},11700:(e,t,n)=>{var r=n(98805)("toUpperCase");e.exports=r},19081:(e,t,n)=>{"use strict";e.exports=n(1174)},17097:(e,t,n)=>{var r=n(20701);"string"==typeof r&&(r=[[e.id,r,""]]),n(14246)(r,{}),r.locals&&(e.exports=r.locals)},55745:(e,t,n)=>{var r=n(3465),o=r.featureCollection,i=n(98098),a=n(54625);e.exports=function(e,t,n){var l=r.distanceToDegrees(t,n),u=a(e),c=a(o(u.features.map((function(e){return function(e,t){var n=(new i.io.GeoJSONReader).read(e.geometry).buffer(t);return{type:"Feature",geometry:n=(new i.io.GeoJSONWriter).write(n),properties:{}}}(e,l)}))));return c.features.length>1?c:1===c.features.length?c.features[0]:void 0}},65442:(e,t,n)=>{var r=n(98098);e.exports=function(e,t){var n,o;n="Feature"===e.type?e.geometry:e,o="Feature"===t.type?t.geometry:t;var i=new r.io.GeoJSONReader,a=i.read(JSON.stringify(n)),l=i.read(JSON.stringify(o)),u=a.intersection(l);if(!u.isEmpty())return{type:"Feature",properties:{},geometry:(new r.io.GeoJSONWriter).write(u)}}}}]);