text: (self.webpackChunkgeonode_mapstore_client=self.webpackChunkgeonode_mapstore_client||[]).push([[90475],{556307:t=>{t.exports=window.L},503901:(t,e,n)=>{"use strict";n.d(e,{qR:()=>l,yQ:()=>h});var i=n(375875),r=n.n(i),a=n(581399),o=n.n(a),s=n(882702),c=new(o())(100),u=function(t,e,n,i){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-9999,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=i*t+n;try{var s=e.dataView.getInt16(2*o,a);if(s!==r&&32767!==s&&-32768!==s)return s}catch(t){}return null},l=function(t,e,n){return c.has(n)?null:new s.Promise((function(i,a){r().get(t,{responseType:"arraybuffer"}).then((function(t){!function(t,e,n){c.set(n,{data:t,dataView:new DataView(t),coords:e,current:!0,status:"success"})}(t.data,e,n),i()})).catch((function(t){!function(t,e,n){c.set(n,{coords:e,current:!0,status:"error: "+t})}(t.message,e,n),a(t)}))}))},h=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-9999,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=c.get(t);return a&&"success"===a.status?{available:!0,value:u(n,a,e.x,e.y,i,r)}:a&&"loading"===a.status?{available:!1,message:"elevationLoading"}:a&&"error"===a.status?{available:!1,message:"elevationLoadingError"}:{available:!1,message:"elevationNotAvailable"}}},45992:(t,e,n)=>{"use strict";n.d(e,{h:()=>l,Z:()=>h});var i=n(535937),r=n.n(i),a=n(836882),o=n(463202);function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){u(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l=function(t,e){var n,i,s,u,l=a.Z;if("custom"===t)n=e;else if(s=(u=t.split("."))[0],i=u[1],!(n=l[s]))throw new Error("No such provider ("+s+")");var h={url:n.url,options:n.options||{}};if(i&&"variants"in n){if(!(i in n.variants))throw new Error("No such variant of "+(s||n.url)+" ("+i+")");var p,d=n.variants[i];p="string"==typeof d?{variant:d}:d.options,h={url:d.url||h.url,options:c(c({},h.options||{}),p)}}else"function"==typeof h.url&&(h.url=h.url(u.splice(1,u.length-1).join(".")));var f="file:"===window.location.protocol||h.options.forceHTTP;0===h.url.indexOf("//")&&f&&(h.url="http:"+h.url),h.options.retina&&(e.detectRetina&&o.ZP.getBrowserProperties().retina?e.detectRetina=!1:h.options.retina=""),h.options.attribution&&(h.options.attribution=function t(e){return-1===e.indexOf("{attribution.")?e:e.replace(/\{attribution.(\w*)\}/,(function(e,n){return t(l[n].options.attribution)}))}(h.options.attribution));var v=c(c({},h.options),r()(e,(function(t){return void 0!==t})));return[h.url,v]};const h={getLayerConfig:l}},333358:(t,e,n)=>{"use strict";n.d(e,{z:()=>r});var i=["application/vnd.mapbox-vector-tile","application/json;type=geojson","application/json;type=topojson"],r=function(t){return-1!==i.indexOf(t)}},581399:function(t,e){var n,i,r;!function(a,o){"use strict";"object"==typeof t.exports?t.exports=o():(i=[],void 0===(r="function"==typeof(n=o)?n.apply(e,i):n)||(t.exports=r))}("object"==typeof window&&window,(function(){"use strict";function t(e){if(!(this instanceof t))return new t(e);this._LRUCacheState=new n(e)}var e=t.prototype;function n(t){this.capacity=t>0?+t:Number.MAX_SAFE_INTEGER||Number.MAX_VALUE,this.data=Object.create?Object.create(null):{},this.hash=Object.create?Object.create(null):{},this.linkedList=new i}function i(){this.length=0,this.head=null,this.end=null}function r(t){this.key=t,this.p=null,this.n=null}function a(t,e){e!==t.head&&(t.end?t.end===e&&(t.end=e.n):t.end=e,o(e.n,e.p),o(e,t.head),t.head=e,t.head.n=null)}function o(t,e){t!==e&&(t&&(t.p=e),e&&(e.n=t))}return e.get=function(t){var e=this._LRUCacheState,n=e.hash[t];if(n)return a(e.linkedList,n),e.data[t]},e.set=function(t,e){var n=this._LRUCacheState,i=n.hash[t];return void 0===e||(i||(n.hash[t]=new r(t),n.linkedList.length+=1,i=n.hash[t]),a(n.linkedList,i),n.data[t]=e,n.linkedList.length>n.capacity&&this.remove(n.linkedList.end.key)),this},e.update=function(t,e){return this.has(t)&&this.set(t,e(this.get(t))),this},e.remove=function(t){var e=this._LRUCacheState,n=e.hash[t];return n?(n===e.linkedList.head&&(e.linkedList.head=n.p),n===e.linkedList.end&&(e.linkedList.end=n.n),o(n.n,n.p),delete e.hash[t],delete e.data[t],e.linkedList.length-=1,this):this},e.removeAll=function(){return this._LRUCacheState=new n(this._LRUCacheState.capacity),this},e.info=function(){var t=this._LRUCacheState;return{capacity:t.capacity,length:t.linkedList.length}},e.keys=function(){for(var t=[],e=this._LRUCacheState.linkedList.head;e;)t.push(e.key),e=e.p;return t},e.has=function(t){return!!this._LRUCacheState.hash[t]},e.staleKey=function(){return this._LRUCacheState.linkedList.end&&this._LRUCacheState.linkedList.end.key},e.popStale=function(){var t=this.staleKey();if(!t)return null;var e=[t,this._LRUCacheState.data[t]];return this.remove(t),e},t}))}}]);