chunk-6859c856.054a6894.js 87 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6859c856"],{"01d4":function(t,n,e){"use strict";n["a"]={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"}},"045d":function(t,n,e){"use strict";n["a"]={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},"06f8":function(t,n,e){"use strict";e.d(n,"a",(function(){return a})),e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return s})),e.d(n,"f",(function(){return l})),e.d(n,"d",(function(){return p})),e.d(n,"e",(function(){return h})),e.d(n,"g",(function(){return d})),e.d(n,"i",(function(){return v})),e.d(n,"m",(function(){return y})),e.d(n,"j",(function(){return g})),e.d(n,"l",(function(){return _})),e.d(n,"n",(function(){return O})),e.d(n,"h",(function(){return b})),e.d(n,"k",(function(){return E}));var r=e("0b2d"),o=e("57cb"),i=e("617d"),u=e("92fa");function a(t){var n=arguments;return function(t){for(var e=!0,r=0,o=n.length;r<o;++r)if(e=e&&n[r](t),!e)break;return e}}var c=function(t){var n=t.originalEvent;return n.altKey&&!(n.metaKey||n.ctrlKey)&&!n.shiftKey},s=function(t){var n=t.originalEvent;return n.altKey&&!(n.metaKey||n.ctrlKey)&&n.shiftKey},f=function(t){return t.target.getTargetElement().contains(document.activeElement)},l=function(t){return!t.map.getTargetElement().hasAttribute("tabindex")||f(t)},p=o["b"],h=function(t){return t.type==r["a"].CLICK},d=function(t){var n=t.originalEvent;return 0==n.button&&!(i["f"]&&i["d"]&&n.ctrlKey)},v=o["a"],y=function(t){return t.type==r["a"].SINGLECLICK},g=function(t){var n=t.originalEvent;return!n.altKey&&!(n.metaKey||n.ctrlKey)&&!n.shiftKey},_=function(t){var n=t.originalEvent;return!n.altKey&&!(n.metaKey||n.ctrlKey)&&n.shiftKey},O=function(t){var n=t.originalEvent,e=n.target.tagName;return"INPUT"!==e&&"SELECT"!==e&&"TEXTAREA"!==e},b=function(t){var n=t.originalEvent;return Object(u["a"])(void 0!==n,56),"mouse"==n.pointerType},E=function(t){var n=t.originalEvent;return Object(u["a"])(void 0!==n,56),n.isPrimary&&0===n.button}},"070d":function(t,n,e){"use strict";n["a"]={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"}},"0999":function(t,n,e){"use strict";e.d(n,"a",(function(){return o})),e.d(n,"e",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"b",(function(){return a})),e.d(n,"d",(function(){return c}));var r=e("617d");function o(t,n,e,o){var i;return e&&e.length?i=e.shift():r["g"]?i=new OffscreenCanvas(t||300,n||300):(i=document.createElement("canvas"),i.style.all="unset"),t&&(i.width=t),n&&(i.height=n),i.getContext("2d",o)}function i(t,n){var e=n.parentNode;e&&e.replaceChild(t,n)}function u(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function a(t){while(t.lastChild)t.removeChild(t.lastChild)}function c(t,n){for(var e=t.childNodes,r=0;1;++r){var o=e[r],i=n[r];if(!o&&!i)break;o!==i&&(o?i?t.insertBefore(i,o):(t.removeChild(o),--r):t.appendChild(i))}}},"0a9d":function(t,n,e){"use strict";e.d(n,"a",(function(){return i})),e.d(n,"b",(function(){return u}));var r=e("25f1"),o=e("9f5e");function i(t,n,e,i,u,a,c){for(var s,f,l,p,h,d,v,y=u[a+1],g=[],_=0,O=e.length;_<O;++_){var b=e[_];for(p=t[b-i],d=t[b-i+1],s=n;s<b;s+=i)h=t[s],v=t[s+1],(y<=d&&v<=y||d<=y&&y<=v)&&(l=(y-d)/(v-d)*(h-p)+p,g.push(l)),p=h,d=v}var E=NaN,m=-1/0;for(g.sort(o["i"]),p=g[0],s=1,f=g.length;s<f;++s){h=g[s];var j=Math.abs(h-p);j>m&&(l=(p+h)/2,Object(r["c"])(t,n,e,i,l,y)&&(E=l,m=j)),p=h}return isNaN(E)&&(E=u[a]),c?(c.push(E,y,m),c):[E,y,m]}function u(t,n,e,r,o){for(var u=[],a=0,c=e.length;a<c;++a){var s=e[a];u=i(t,n,s,r,o,2*a,u),n=s[s.length-1]}return u}},"0af5":function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return c})),e.d(n,"d",(function(){return s})),e.d(n,"e",(function(){return f})),e.d(n,"f",(function(){return l})),e.d(n,"g",(function(){return p})),e.d(n,"h",(function(){return h})),e.d(n,"i",(function(){return d})),e.d(n,"j",(function(){return v})),e.d(n,"k",(function(){return y})),e.d(n,"l",(function(){return g})),e.d(n,"m",(function(){return _})),e.d(n,"n",(function(){return O})),e.d(n,"o",(function(){return b})),e.d(n,"p",(function(){return E})),e.d(n,"q",(function(){return m})),e.d(n,"r",(function(){return j})),e.d(n,"s",(function(){return w})),e.d(n,"t",(function(){return R})),e.d(n,"u",(function(){return P})),e.d(n,"v",(function(){return x})),e.d(n,"w",(function(){return T})),e.d(n,"x",(function(){return I})),e.d(n,"y",(function(){return M})),e.d(n,"z",(function(){return S})),e.d(n,"A",(function(){return N})),e.d(n,"B",(function(){return A})),e.d(n,"C",(function(){return L})),e.d(n,"D",(function(){return D})),e.d(n,"E",(function(){return G})),e.d(n,"G",(function(){return U})),e.d(n,"H",(function(){return F})),e.d(n,"F",(function(){return X})),e.d(n,"a",(function(){return K})),e.d(n,"I",(function(){return Y}));var r=e("3820"),o=e("045d"),i=e("92fa");function u(t){for(var n=v(),e=0,r=t.length;e<r;++e)m(n,t[e]);return n}function a(t,n,e){var r=Math.min.apply(null,t),o=Math.min.apply(null,n),i=Math.max.apply(null,t),u=Math.max.apply(null,n);return y(r,o,i,u,e)}function c(t,n,e){return e?(e[0]=t[0]-n,e[1]=t[1]-n,e[2]=t[2]+n,e[3]=t[3]+n,e):[t[0]-n,t[1]-n,t[2]+n,t[3]+n]}function s(t,n){return n?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n):t.slice()}function f(t,n,e){var r,o;return r=n<t[0]?t[0]-n:t[2]<n?n-t[2]:0,o=e<t[1]?t[1]-e:t[3]<e?e-t[3]:0,r*r+o*o}function l(t,n){return h(t,n[0],n[1])}function p(t,n){return t[0]<=n[0]&&n[2]<=t[2]&&t[1]<=n[1]&&n[3]<=t[3]}function h(t,n,e){return t[0]<=n&&n<=t[2]&&t[1]<=e&&e<=t[3]}function d(t,n){var e=t[0],r=t[1],i=t[2],u=t[3],a=n[0],c=n[1],s=o["a"].UNKNOWN;return a<e?s|=o["a"].LEFT:a>i&&(s|=o["a"].RIGHT),c<r?s|=o["a"].BELOW:c>u&&(s|=o["a"].ABOVE),s===o["a"].UNKNOWN&&(s=o["a"].INTERSECTING),s}function v(){return[1/0,1/0,-1/0,-1/0]}function y(t,n,e,r,o){return o?(o[0]=t,o[1]=n,o[2]=e,o[3]=r,o):[t,n,e,r]}function g(t){return y(1/0,1/0,-1/0,-1/0,t)}function _(t,n){var e=t[0],r=t[1];return y(e,r,e,r,n)}function O(t,n,e,r,o){var i=g(o);return j(i,t,n,e,r)}function b(t,n){return t[0]==n[0]&&t[2]==n[2]&&t[1]==n[1]&&t[3]==n[3]}function E(t,n){return n[0]<t[0]&&(t[0]=n[0]),n[2]>t[2]&&(t[2]=n[2]),n[1]<t[1]&&(t[1]=n[1]),n[3]>t[3]&&(t[3]=n[3]),t}function m(t,n){n[0]<t[0]&&(t[0]=n[0]),n[0]>t[2]&&(t[2]=n[0]),n[1]<t[1]&&(t[1]=n[1]),n[1]>t[3]&&(t[3]=n[1])}function j(t,n,e,r,o){for(;e<r;e+=o)C(t,n[e],n[e+1]);return t}function C(t,n,e){t[0]=Math.min(t[0],n),t[1]=Math.min(t[1],e),t[2]=Math.max(t[2],n),t[3]=Math.max(t[3],e)}function w(t,n){var e;return e=n(P(t)),e||(e=n(x(t)),e||(e=n(L(t)),e||(e=n(A(t)),e||!1)))}function R(t){var n=0;return U(t)||(n=D(t)*S(t)),n}function P(t){return[t[0],t[1]]}function x(t){return[t[2],t[1]]}function T(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function I(t,n){var e;return n===r["a"].BOTTOM_LEFT?e=P(t):n===r["a"].BOTTOM_RIGHT?e=x(t):n===r["a"].TOP_LEFT?e=A(t):n===r["a"].TOP_RIGHT?e=L(t):Object(i["a"])(!1,13),e}function M(t,n,e,r,o){var i=n*r[0]/2,u=n*r[1]/2,a=Math.cos(e),c=Math.sin(e),s=i*a,f=i*c,l=u*a,p=u*c,h=t[0],d=t[1],v=h-s+p,g=h-s-p,_=h+s-p,O=h+s+p,b=d-f-l,E=d-f+l,m=d+f+l,j=d+f-l;return y(Math.min(v,g,_,O),Math.min(b,E,m,j),Math.max(v,g,_,O),Math.max(b,E,m,j),o)}function S(t){return t[3]-t[1]}function N(t,n,e){var r=e||v();return G(t,n)?(t[0]>n[0]?r[0]=t[0]:r[0]=n[0],t[1]>n[1]?r[1]=t[1]:r[1]=n[1],t[2]<n[2]?r[2]=t[2]:r[2]=n[2],t[3]<n[3]?r[3]=t[3]:r[3]=n[3]):g(r),r}function A(t){return[t[0],t[3]]}function L(t){return[t[2],t[3]]}function D(t){return t[2]-t[0]}function G(t,n){return t[0]<=n[2]&&t[2]>=n[0]&&t[1]<=n[3]&&t[3]>=n[1]}function U(t){return t[2]<t[0]||t[3]<t[1]}function F(t,n){return n?(n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n):t}function X(t,n,e){var r=!1,i=d(t,n),u=d(t,e);if(i===o["a"].INTERSECTING||u===o["a"].INTERSECTING)r=!0;else{var a=t[0],c=t[1],s=t[2],f=t[3],l=n[0],p=n[1],h=e[0],v=e[1],y=(v-p)/(h-l),g=void 0,_=void 0;u&o["a"].ABOVE&&!(i&o["a"].ABOVE)&&(g=h-(v-f)/y,r=g>=a&&g<=s),r||!(u&o["a"].RIGHT)||i&o["a"].RIGHT||(_=v-(h-s)*y,r=_>=c&&_<=f),r||!(u&o["a"].BELOW)||i&o["a"].BELOW||(g=h-(v-c)/y,r=g>=a&&g<=s),r||!(u&o["a"].LEFT)||i&o["a"].LEFT||(_=v-(h-a)*y,r=_>=c&&_<=f)}return r}function K(t,n,e,r){var o=[];if(r>1)for(var i=t[2]-t[0],u=t[3]-t[1],c=0;c<r;++c)o.push(t[0]+i*c/r,t[1],t[2],t[1]+u*c/r,t[2]-i*c/r,t[3],t[0],t[3]-u*c/r);else o=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];n(o,o,2);for(var s=[],f=[],l=(c=0,o.length);c<l;c+=2)s.push(o[c]),f.push(o[c+1]);return a(s,f,e)}function Y(t,n){var e=n.getExtent(),r=T(t);if(n.canWrapX()&&(r[0]<e[0]||r[0]>=e[2])){var o=D(e),i=Math.floor((r[0]-e[0])/o),u=i*o;t[0]-=u,t[2]-=u}return t}},"0b2d":function(t,n,e){"use strict";var r=e("01d4");n["a"]={SINGLECLICK:"singleclick",CLICK:r["a"].CLICK,DBLCLICK:r["a"].DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},"0ec0":function(t,n,e){"use strict";var r=e("da5c"),o=e("cef7"),i=e("57cb"),u=e("38f3"),a=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),c=function(t){function n(n){var e=t.call(this)||this;return e.eventTarget_=n,e.pendingRemovals_=null,e.dispatching_=null,e.listeners_=null,e}return a(n,t),n.prototype.addEventListener=function(t,n){if(t&&n){var e=this.listeners_||(this.listeners_={}),r=e[t]||(e[t]=[]);-1===r.indexOf(n)&&r.push(n)}},n.prototype.dispatchEvent=function(t){var n="string"===typeof t?new o["a"](t):t,e=n.type;n.target||(n.target=this.eventTarget_||this);var r,u=this.listeners_&&this.listeners_[e];if(u){var a=this.dispatching_||(this.dispatching_={}),c=this.pendingRemovals_||(this.pendingRemovals_={});e in a||(a[e]=0,c[e]=0),++a[e];for(var s=0,f=u.length;s<f;++s)if(r="handleEvent"in u[s]?u[s].handleEvent(n):u[s].call(this,n),!1===r||n.propagationStopped){r=!1;break}if(--a[e],0===a[e]){var l=c[e];delete c[e];while(l--)this.removeEventListener(e,i["c"]);delete a[e]}return r}},n.prototype.disposeInternal=function(){this.listeners_&&Object(u["b"])(this.listeners_)},n.prototype.getListeners=function(t){return this.listeners_&&this.listeners_[t]||void 0},n.prototype.hasListener=function(t){return!!this.listeners_&&(t?t in this.listeners_:Object.keys(this.listeners_).length>0)},n.prototype.removeEventListener=function(t,n){var e=this.listeners_&&this.listeners_[t];if(e){var r=e.indexOf(n);-1!==r&&(this.pendingRemovals_&&t in this.pendingRemovals_?(e[r]=i["c"],++this.pendingRemovals_[t]):(e.splice(r,1),0===e.length&&delete this.listeners_[t]))}},n}(r["a"]);n["a"]=c},1300:function(t,n,e){"use strict";function r(){return function(){throw new Error("Unimplemented abstract method.")}()}e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return u}));var o=0;function i(t){return t.ol_uid||(t.ol_uid=String(++o))}var u="6.9.0"},"137e":function(t,n,e){"use strict";var r=e("01d4"),o=e("869f"),i=e("35a7"),u=e("6d83"),a=e("1300"),c=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),s=function(t){function n(n){var e=t.call(this)||this;return e.boundHandleImageChange_=e.handleImageChange_.bind(e),e.layer_=n,e.declutterExecutorGroup=null,e}return c(n,t),n.prototype.getFeatures=function(t){return Object(a["b"])()},n.prototype.prepareFrame=function(t){return Object(a["b"])()},n.prototype.renderFrame=function(t,n){return Object(a["b"])()},n.prototype.loadedTileCallback=function(t,n,e){t[n]||(t[n]={}),t[n][e.tileCoord.toString()]=e},n.prototype.createLoadedTileFinder=function(t,n,e){return function(r,o){var i=this.loadedTileCallback.bind(this,e,r);return t.forEachLoadedTile(n,r,o,i)}.bind(this)},n.prototype.forEachFeatureAtCoordinate=function(t,n,e,r,o){},n.prototype.getDataAtPixel=function(t,n,e){return null},n.prototype.getLayer=function(){return this.layer_},n.prototype.handleFontsChanged=function(){},n.prototype.handleImageChange_=function(t){var n=t.target;n.getState()===o["a"].LOADED&&this.renderIfReadyAndVisible()},n.prototype.loadImage=function(t){var n=t.getState();return n!=o["a"].LOADED&&n!=o["a"].ERROR&&t.addEventListener(r["a"].CHANGE,this.boundHandleImageChange_),n==o["a"].IDLE&&(t.load(),n=t.getState()),n==o["a"].LOADED},n.prototype.renderIfReadyAndVisible=function(){var t=this.getLayer();t.getVisible()&&t.getSourceState()==u["a"].READY&&t.changed()},n}(i["a"]),f=s,l=e("3333"),p=e("070d"),h=e("a896"),d=e("0af5"),v=e("0999"),y=e("cd7e"),g=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),_=function(t){function n(n){var e=t.call(this,n)||this;return e.container=null,e.renderedResolution,e.tempTransform=Object(h["c"])(),e.pixelTransform=Object(h["c"])(),e.inversePixelTransform=Object(h["c"])(),e.context=null,e.containerReused=!1,e}return g(n,t),n.prototype.useContainer=function(t,n,e){var r,o,i=this.getLayer().getClassName();if(t&&t.style.opacity===Object(y["e"])(e)&&t.className===i){var u=t.firstElementChild;u instanceof HTMLCanvasElement&&(o=u.getContext("2d"))}if(o&&o.canvas.style.transform===n?(this.container=t,this.context=o,this.containerReused=!0):this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1),!this.container){r=document.createElement("div"),r.className=i;var a=r.style;a.position="absolute",a.width="100%",a.height="100%",o=Object(v["a"])();u=o.canvas;r.appendChild(u),a=u.style,a.position="absolute",a.left="0",a.transformOrigin="top left",this.container=r,this.context=o}},n.prototype.clipUnrotated=function(t,n,e){var r=Object(d["B"])(e),o=Object(d["C"])(e),i=Object(d["v"])(e),u=Object(d["u"])(e);Object(h["a"])(n.coordinateToPixelTransform,r),Object(h["a"])(n.coordinateToPixelTransform,o),Object(h["a"])(n.coordinateToPixelTransform,i),Object(h["a"])(n.coordinateToPixelTransform,u);var a=this.inversePixelTransform;Object(h["a"])(a,r),Object(h["a"])(a,o),Object(h["a"])(a,i),Object(h["a"])(a,u),t.save(),t.beginPath(),t.moveTo(Math.round(r[0]),Math.round(r[1])),t.lineTo(Math.round(o[0]),Math.round(o[1])),t.lineTo(Math.round(i[0]),Math.round(i[1])),t.lineTo(Math.round(u[0]),Math.round(u[1])),t.clip()},n.prototype.dispatchRenderEvent_=function(t,n,e){var r=this.getLayer();if(r.hasListener(t)){var o=new l["a"](t,this.inversePixelTransform,e,n);r.dispatchEvent(o)}},n.prototype.preRender=function(t,n){this.dispatchRenderEvent_(p["a"].PRERENDER,t,n)},n.prototype.postRender=function(t,n){this.dispatchRenderEvent_(p["a"].POSTRENDER,t,n)},n.prototype.getRenderTransform=function(t,n,e,r,o,i,u){var a=o/2,c=i/2,s=r/n,f=-s,l=-t[0]+u,p=-t[1];return Object(h["b"])(this.tempTransform,a,c,s,f,-e,l,p)},n.prototype.getDataAtPixel=function(t,n,e){var r,o=Object(h["a"])(this.inversePixelTransform,t.slice()),i=this.context,u=this.getLayer(),a=u.getExtent();if(a){var c=Object(h["a"])(n.pixelToCoordinateTransform,t.slice());if(!Object(d["f"])(a,c))return null}try{var s=Math.round(o[0]),f=Math.round(o[1]),l=document.createElement("canvas"),p=l.getContext("2d");l.width=1,l.height=1,p.clearRect(0,0,1,1),p.drawImage(i.canvas,s,f,1,1,0,0,1,1),r=p.getImageData(0,0,1,1).data}catch(v){return"SecurityError"===v.name?new Uint8Array:r}return 0===r[3]?null:r},n}(f);n["a"]=_},"183a":function(t,n,e){"use strict";n["a"]={ADD:"add",REMOVE:"remove"}},"1af9":function(t,n,e){"use strict";e.d(n,"b",(function(){return h}));var r=e("5564"),o=e("01d4"),i=e("df4c"),u=e("070d"),a=e("6d83"),c=e("92fa"),s=e("38f3"),f=e("1e8d"),l=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),p=function(t){function n(n){var e=this,r=Object(s["a"])({},n);delete r.source,e=t.call(this,r)||this,e.on,e.once,e.un,e.mapPrecomposeKey_=null,e.mapRenderKey_=null,e.sourceChangeKey_=null,e.renderer_=null,n.render&&(e.render=n.render),n.map&&e.setMap(n.map),e.addChangeListener(i["a"].SOURCE,e.handleSourcePropertyChange_);var o=n.source?n.source:null;return e.setSource(o),e}return l(n,t),n.prototype.getLayersArray=function(t){var n=t||[];return n.push(this),n},n.prototype.getLayerStatesArray=function(t){var n=t||[];return n.push(this.getLayerState()),n},n.prototype.getSource=function(){return this.get(i["a"].SOURCE)||null},n.prototype.getSourceState=function(){var t=this.getSource();return t?t.getState():a["a"].UNDEFINED},n.prototype.handleSourceChange_=function(){this.changed()},n.prototype.handleSourcePropertyChange_=function(){this.sourceChangeKey_&&(Object(f["c"])(this.sourceChangeKey_),this.sourceChangeKey_=null);var t=this.getSource();t&&(this.sourceChangeKey_=Object(f["a"])(t,o["a"].CHANGE,this.handleSourceChange_,this)),this.changed()},n.prototype.getFeatures=function(t){return this.renderer_?this.renderer_.getFeatures(t):new Promise((function(t){return t([])}))},n.prototype.render=function(t,n){var e=this.getRenderer();if(e.prepareFrame(t))return e.renderFrame(t,n)},n.prototype.setMap=function(t){this.mapPrecomposeKey_&&(Object(f["c"])(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),t||this.changed(),this.mapRenderKey_&&(Object(f["c"])(this.mapRenderKey_),this.mapRenderKey_=null),t&&(this.mapPrecomposeKey_=Object(f["a"])(t,u["a"].PRECOMPOSE,(function(t){var n=t,e=n.frameState.layerStatesArray,r=this.getLayerState(!1);Object(c["a"])(!e.some((function(t){return t.layer===r.layer})),67),e.push(r)}),this),this.mapRenderKey_=Object(f["a"])(this,o["a"].CHANGE,t.render,t),this.changed())},n.prototype.setSource=function(t){this.set(i["a"].SOURCE,t)},n.prototype.getRenderer=function(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_},n.prototype.hasRenderer=function(){return!!this.renderer_},n.prototype.createRenderer=function(){return null},n.prototype.disposeInternal=function(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),t.prototype.disposeInternal.call(this)},n}(r["a"]);function h(t,n){if(!t.visible)return!1;var e=n.resolution;if(e<t.minResolution||e>=t.maxResolution)return!1;var r=n.zoom;return r>t.minZoom&&r<=t.maxZoom}n["a"]=p},"1c48":function(t,n,e){"use strict";e.d(n,"a",(function(){return o})),e.d(n,"b",(function(){return i})),e.d(n,"e",(function(){return u})),e.d(n,"c",(function(){return c})),e.d(n,"d",(function(){return s}));var r=e("7fc9");function o(t,n,e,o,i,u,a){var c=(e-n)/o;if(c<3){for(;n<e;n+=o)u[a++]=t[n],u[a++]=t[n+1];return a}var s=new Array(c);s[0]=1,s[c-1]=1;var f=[n,e-o],l=0;while(f.length>0){for(var p=f.pop(),h=f.pop(),d=0,v=t[h],y=t[h+1],g=t[p],_=t[p+1],O=h+o;O<p;O+=o){var b=t[O],E=t[O+1],m=Object(r["h"])(b,E,v,y,g,_);m>d&&(l=O,d=m)}d>i&&(s[(l-n)/o]=1,h+o<l&&f.push(h,l),l+o<p&&f.push(l,p))}for(O=0;O<c;++O)s[O]&&(u[a++]=t[n+O*o],u[a++]=t[n+O*o+1]);return a}function i(t,n,e,r,i,u,a,c){for(var s=0,f=e.length;s<f;++s){var l=e[s];a=o(t,n,l,r,i,u,a),c.push(a),n=l}return a}function u(t,n){return n*Math.round(t/n)}function a(t,n,e,r,o,i,a){if(n==e)return a;var c,s,f=u(t[n],o),l=u(t[n+1],o);n+=r,i[a++]=f,i[a++]=l;do{if(c=u(t[n],o),s=u(t[n+1],o),n+=r,n==e)return i[a++]=c,i[a++]=s,a}while(c==f&&s==l);while(n<e){var p=u(t[n],o),h=u(t[n+1],o);if(n+=r,p!=c||h!=s){var d=c-f,v=s-l,y=p-f,g=h-l;d*g==v*y&&(d<0&&y<d||d==y||d>0&&y>d)&&(v<0&&g<v||v==g||v>0&&g>v)?(c=p,s=h):(i[a++]=c,i[a++]=s,f=c,l=s,c=p,s=h)}}return i[a++]=c,i[a++]=s,a}function c(t,n,e,r,o,i,u,c){for(var s=0,f=e.length;s<f;++s){var l=e[s];u=a(t,n,l,r,o,i,u),c.push(u),n=l}return u}function s(t,n,e,r,o,i,u,a){for(var s=0,f=e.length;s<f;++s){var l=e[s],p=[];u=c(t,n,l,r,o,i,u,p),a.push(p),n=l[l.length-1]}return u}},"1dde":function(t,n,e){var r=e("d039"),o=e("b622"),i=e("2d00"),u=o("species");t.exports=function(t){return i>=51||!r((function(){var n=[],e=n.constructor={};return e[u]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},"1e8d":function(t,n,e){"use strict";e.d(n,"a",(function(){return o})),e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u}));var r=e("38f3");function o(t,n,e,r,o){if(r&&r!==t&&(e=e.bind(r)),o){var i=e;e=function(){t.removeEventListener(n,e),i.apply(this,arguments)}}var u={target:t,type:n,listener:e};return t.addEventListener(n,e),u}function i(t,n,e,r){return o(t,n,e,r,!0)}function u(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),Object(r["b"])(t))}},"256f":function(t,n,e){"use strict";e.d(n,"a",(function(){return r["a"]})),e.d(n,"g",(function(){return L})),e.d(n,"h",(function(){return D})),e.d(n,"b",(function(){return F})),e.d(n,"c",(function(){return X})),e.d(n,"j",(function(){return K})),e.d(n,"i",(function(){return Y})),e.d(n,"o",(function(){return Z})),e.d(n,"p",(function(){return k})),e.d(n,"k",(function(){return q})),e.d(n,"l",(function(){return z})),e.d(n,"d",(function(){return B})),e.d(n,"m",(function(){return V})),e.d(n,"e",(function(){return W})),e.d(n,"n",(function(){return $})),e.d(n,"f",(function(){return J}));var r=e("fced"),o=function(){function t(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!(!this.global_||!this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}return t.prototype.canWrapX=function(){return this.canWrapX_},t.prototype.getCode=function(){return this.code_},t.prototype.getExtent=function(){return this.extent_},t.prototype.getUnits=function(){return this.units_},t.prototype.getMetersPerUnit=function(){return this.metersPerUnit_||r["a"][this.units_]},t.prototype.getWorldExtent=function(){return this.worldExtent_},t.prototype.getAxisOrientation=function(){return this.axisOrientation_},t.prototype.isGlobal=function(){return this.global_},t.prototype.setGlobal=function(t){this.global_=t,this.canWrapX_=!(!t||!this.extent_)},t.prototype.getDefaultTileGrid=function(){return this.defaultTileGrid_},t.prototype.setDefaultTileGrid=function(t){this.defaultTileGrid_=t},t.prototype.setExtent=function(t){this.extent_=t,this.canWrapX_=!(!this.global_||!t)},t.prototype.setWorldExtent=function(t){this.worldExtent_=t},t.prototype.setGetPointResolution=function(t){this.getPointResolutionFunc_=t},t.prototype.getPointResolutionFunc=function(){return this.getPointResolutionFunc_},t}(),i=o,u=e("7fc9"),a=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),c=6378137,s=Math.PI*c,f=[-s,-s,s,s],l=[-180,-85,180,85],p=c*Math.log(Math.tan(Math.PI/2)),h=function(t){function n(n){return t.call(this,{code:n,units:r["b"].METERS,extent:f,global:!0,worldExtent:l,getPointResolution:function(t,n){return t/Object(u["b"])(n[1]/c)}})||this}return a(n,t),n}(i),d=[new h("EPSG:3857"),new h("EPSG:102100"),new h("EPSG:102113"),new h("EPSG:900913"),new h("http://www.opengis.net/def/crs/EPSG/0/3857"),new h("http://www.opengis.net/gml/srs/epsg.xml#3857")];function v(t,n,e){var r=t.length,o=e>1?e:2,i=n;void 0===i&&(i=o>2?t.slice():new Array(r));for(var u=0;u<r;u+=o){i[u]=s*t[u]/180;var a=c*Math.log(Math.tan(Math.PI*(+t[u+1]+90)/360));a>p?a=p:a<-p&&(a=-p),i[u+1]=a}return i}function y(t,n,e){var r=t.length,o=e>1?e:2,i=n;void 0===i&&(i=o>2?t.slice():new Array(r));for(var u=0;u<r;u+=o)i[u]=180*t[u]/s,i[u+1]=360*Math.atan(Math.exp(t[u+1]/c))/Math.PI-90;return i}var g=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),_=6378137,O=[-180,-90,180,90],b=Math.PI*_/180,E=function(t){function n(n,e){return t.call(this,{code:n,units:r["b"].DEGREES,extent:O,axisOrientation:e,global:!0,metersPerUnit:b,worldExtent:O})||this}return g(n,t),n}(i),m=[new E("CRS:84"),new E("EPSG:4326","neu"),new E("urn:ogc:def:crs:OGC:1.3:CRS84"),new E("urn:ogc:def:crs:OGC:2:84"),new E("http://www.opengis.net/def/crs/OGC/1.3/CRS84","neu"),new E("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new E("http://www.opengis.net/def/crs/EPSG/0/4326","neu")],j={};function C(t){return j[t]||j[t.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}function w(t,n){j[t]=n}e("38f3");var R={};function P(t,n,e){var r=t.getCode(),o=n.getCode();r in R||(R[r]={}),R[r][o]=e}function x(t,n){var e;return t in R&&n in R[t]&&(e=R[t][n]),e}var T=e("0af5"),I=e("790a");e("a568");function M(t,n,e){var r;if(void 0!==n){for(var o=0,i=t.length;o<i;++o)n[o]=t[o];r=n}else r=t.slice();return r}function S(t,n,e){if(void 0!==n&&t!==n){for(var r=0,o=t.length;r<o;++r)n[r]=t[r];t=n}return t}function N(t){w(t.getCode(),t),P(t,t,M)}function A(t){t.forEach(N)}function L(t){return"string"===typeof t?C(t):t||null}function D(t,n,e,o){var i;t=L(t);var u=t.getPointResolutionFunc();if(u){if(i=u(n,e),o&&o!==t.getUnits()){var a=t.getMetersPerUnit();a&&(i=i*a/r["a"][o])}}else{var c=t.getUnits();if(c==r["b"].DEGREES&&!o||o==r["b"].DEGREES)i=n;else{var s=K(t,L("EPSG:4326"));if(s===S&&c!==r["b"].DEGREES)i=n*t.getMetersPerUnit();else{var f=[e[0]-n/2,e[1],e[0]+n/2,e[1],e[0],e[1]-n/2,e[0],e[1]+n/2];f=s(f,f,2);var l=Object(I["a"])(f.slice(0,2),f.slice(2,4)),p=Object(I["a"])(f.slice(4,6),f.slice(6,8));i=(l+p)/2}a=o?r["a"][o]:t.getMetersPerUnit();void 0!==a&&(i/=a)}}return i}function G(t){A(t),t.forEach((function(n){t.forEach((function(t){n!==t&&P(n,t,M)}))}))}function U(t,n,e,r){t.forEach((function(t){n.forEach((function(n){P(t,n,e),P(n,t,r)}))}))}function F(t,n){return t?"string"===typeof t?L(t):t:L(n)}function X(t,n){if(t===n)return!0;var e=t.getUnits()===n.getUnits();if(t.getCode()===n.getCode())return e;var r=K(t,n);return r===M&&e}function K(t,n){var e=t.getCode(),r=n.getCode(),o=x(e,r);return o||(o=S),o}function Y(t,n){var e=L(t),r=L(n);return K(e,r)}function Z(t,n,e){var r=Y(n,e);return r(t,void 0,t.length)}function k(t,n,e,r){var o=Y(n,e);return Object(T["a"])(t,o,void 0,r)}var H=null;function q(){return H}function z(t,n){return H?Z(t,n,H):t}function B(t,n){return H?Z(t,H,n):t}function V(t,n){return H?k(t,n,H):t}function W(t,n){return H?k(t,H,n):t}function $(t,n){if(!H)return t;var e=L(n).getUnits(),o=H.getUnits();return e&&o?t*r["a"][e]/r["a"][o]:t}function J(t,n){if(!H)return t;var e=L(n).getUnits(),o=H.getUnits();return e&&o?t*r["a"][o]/r["a"][e]:t}function Q(){G(d),G(m),U(m,d,v,y)}Q()},"25f1":function(t,n,e){"use strict";e.d(n,"a",(function(){return o})),e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"d",(function(){return a}));var r=e("0af5");function o(t,n,e,o,u){var a=Object(r["s"])(u,(function(r){return!i(t,n,e,o,r[0],r[1])}));return!a}function i(t,n,e,r,o,i){for(var u=0,a=t[e-r],c=t[e-r+1];n<e;n+=r){var s=t[n],f=t[n+1];c<=i?f>i&&(s-a)*(i-c)-(o-a)*(f-c)>0&&u++:f<=i&&(s-a)*(i-c)-(o-a)*(f-c)<0&&u--,a=s,c=f}return 0!==u}function u(t,n,e,r,o,u){if(0===e.length)return!1;if(!i(t,n,e[0],r,o,u))return!1;for(var a=1,c=e.length;a<c;++a)if(i(t,e[a-1],e[a],r,o,u))return!1;return!0}function a(t,n,e,r,o,i){if(0===e.length)return!1;for(var a=0,c=e.length;a<c;++a){var s=e[a];if(u(t,n,s,r,o,i))return!0;n=s[s.length-1]}return!1}},3333:function(t,n,e){"use strict";var r=e("cef7"),o=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),i=function(t){function n(n,e,r,o){var i=t.call(this,n)||this;return i.inversePixelTransform=e,i.frameState=r,i.context=o,i}return o(n,t),n}(r["a"]);n["a"]=i},"345d":function(t,n,e){"use strict";function r(t){return t[0]>0&&t[1]>0}function o(t,n,e){return void 0===e&&(e=[0,0]),e[0]=t[0]*n+.5|0,e[1]=t[1]*n+.5|0,e}function i(t,n){return Array.isArray(t)?t:(void 0===n?n=[t,t]:(n[0]=t,n[1]=t),n)}e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i}))},"35a7":function(t,n,e){"use strict";var r=e("0ec0"),o=e("01d4"),i=e("1e8d"),u=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),a=function(t){function n(){var n=t.call(this)||this;return n.on=n.onInternal,n.once=n.onceInternal,n.un=n.unInternal,n.revision_=0,n}return u(n,t),n.prototype.changed=function(){++this.revision_,this.dispatchEvent(o["a"].CHANGE)},n.prototype.getRevision=function(){return this.revision_},n.prototype.onInternal=function(t,n){if(Array.isArray(t)){for(var e=t.length,r=new Array(e),o=0;o<e;++o)r[o]=Object(i["a"])(this,t[o],n);return r}return Object(i["a"])(this,t,n)},n.prototype.onceInternal=function(t,n){var e;if(Array.isArray(t)){var r=t.length;e=new Array(r);for(var o=0;o<r;++o)e[o]=Object(i["b"])(this,t[o],n)}else e=Object(i["b"])(this,t,n);return n.ol_key=e,e},n.prototype.unInternal=function(t,n){var e=n.ol_key;if(e)c(e);else if(Array.isArray(t))for(var r=0,o=t.length;r<o;++r)this.removeEventListener(t[r],n);else this.removeEventListener(t,n)},n}(r["a"]);function c(t){if(Array.isArray(t))for(var n=0,e=t.length;n<e;++n)Object(i["c"])(t[n]);else Object(i["c"])(t)}a.prototype.on,a.prototype.once,a.prototype.un,n["a"]=a},3820:function(t,n,e){"use strict";n["a"]={BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",TOP_LEFT:"top-left",TOP_RIGHT:"top-right"}},"38f3":function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"d",(function(){return u}));var r="function"===typeof Object.assign?Object.assign:function(t,n){if(void 0===t||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),r=1,o=arguments.length;r<o;++r){var i=arguments[r];if(void 0!==i&&null!==i)for(var u in i)i.hasOwnProperty(u)&&(e[u]=i[u])}return e};function o(t){for(var n in t)delete t[n]}var i="function"===typeof Object.values?Object.values:function(t){var n=[];for(var e in t)n.push(t[e]);return n};function u(t){var n;for(n in t)return!1;return!n}},"3c22":function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var r=e("5c38"),o=function(){function t(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}return t.prototype.clear=function(){this.cache_={},this.cacheSize_=0},t.prototype.canExpireCache=function(){return this.cacheSize_>this.maxCacheSize_},t.prototype.expire=function(){if(this.canExpireCache()){var t=0;for(var n in this.cache_){var e=this.cache_[n];0!==(3&t++)||e.hasListener()||(delete this.cache_[n],--this.cacheSize_)}}},t.prototype.get=function(t,n,e){var r=i(t,n,e);return r in this.cache_?this.cache_[r]:null},t.prototype.set=function(t,n,e,r){var o=i(t,n,e);this.cache_[o]=r,++this.cacheSize_},t.prototype.setSize=function(t){this.maxCacheSize_=t,this.expire()},t}();function i(t,n,e){var o=e?Object(r["b"])(e):"null";return n+":"+t+":"+o}var u=new o},4105:function(t,n,e){"use strict";e.d(n,"a",(function(){return c}));var r=e("4334"),o=e("0b2d"),i=e("38f3"),u=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),a=function(t){function n(n){var e=this,r=n||{};return e=t.call(this,r)||this,r.handleDownEvent&&(e.handleDownEvent=r.handleDownEvent),r.handleDragEvent&&(e.handleDragEvent=r.handleDragEvent),r.handleMoveEvent&&(e.handleMoveEvent=r.handleMoveEvent),r.handleUpEvent&&(e.handleUpEvent=r.handleUpEvent),r.stopDown&&(e.stopDown=r.stopDown),e.handlingDownUpSequence=!1,e.trackedPointers_={},e.targetPointers=[],e}return u(n,t),n.prototype.getPointerCount=function(){return this.targetPointers.length},n.prototype.handleDownEvent=function(t){return!1},n.prototype.handleDragEvent=function(t){},n.prototype.handleEvent=function(t){if(!t.originalEvent)return!0;var n=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==o["a"].POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==o["a"].POINTERUP){var e=this.handleUpEvent(t);this.handlingDownUpSequence=e&&this.targetPointers.length>0}}else if(t.type==o["a"].POINTERDOWN){var r=this.handleDownEvent(t);this.handlingDownUpSequence=r,n=this.stopDown(r)}else t.type==o["a"].POINTERMOVE&&this.handleMoveEvent(t);return!n},n.prototype.handleMoveEvent=function(t){},n.prototype.handleUpEvent=function(t){return!1},n.prototype.stopDown=function(t){return t},n.prototype.updateTrackedPointers_=function(t){if(s(t)){var n=t.originalEvent,e=n.pointerId.toString();t.type==o["a"].POINTERUP?delete this.trackedPointers_[e]:(t.type==o["a"].POINTERDOWN||e in this.trackedPointers_)&&(this.trackedPointers_[e]=n),this.targetPointers=Object(i["c"])(this.trackedPointers_)}},n}(r["a"]);function c(t){for(var n=t.length,e=0,r=0,o=0;o<n;o++)e+=t[o].clientX,r+=t[o].clientY;return[e/n,r/n]}function s(t){var n=t.type;return n===o["a"].POINTERDOWN||n===o["a"].POINTERDRAG||n===o["a"].POINTERUP}n["b"]=a},4334:function(t,n,e){"use strict";e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return s}));var r=e("e269"),o=e("bf62"),i=e("ca42"),u=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),a=function(t){function n(n){var e=t.call(this)||this;return e.on,e.once,e.un,n&&n.handleEvent&&(e.handleEvent=n.handleEvent),e.map_=null,e.setActive(!0),e}return u(n,t),n.prototype.getActive=function(){return this.get(o["a"].ACTIVE)},n.prototype.getMap=function(){return this.map_},n.prototype.handleEvent=function(t){return!0},n.prototype.setActive=function(t){this.set(o["a"].ACTIVE,t)},n.prototype.setMap=function(t){this.map_=t},n}(r["a"]);function c(t,n,e){var r=t.getCenterInternal();if(r){var o=[r[0]+n[0],r[1]+n[1]];t.animateInternal({duration:void 0!==e?e:250,easing:i["d"],center:t.getConstrainedCenter(o)})}}function s(t,n,e,r){var o=t.getZoom();if(void 0!==o){var u=t.getConstrainedZoom(o+n),a=t.getResolutionForZoom(u);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:a,anchor:e,duration:void 0!==r?r:250,easing:i["b"]})}}n["a"]=a},"496f":function(t,n,e){"use strict";n["a"]={ANIMATING:0,INTERACTING:1}},"4d98":function(t,n,e){"use strict";function r(t,n,e,r){while(n<e-r){for(var o=0;o<r;++o){var i=t[n+o];t[n+o]=t[e-r+o],t[e-r+o]=i}n+=r,e-=r}}function o(t,n,e,r){for(var o=0,i=t[e-r],u=t[e-r+1];n<e;n+=r){var a=t[n],c=t[n+1];o+=(a-i)*(c+u),i=a,u=c}return 0===o?void 0:o>0}function i(t,n,e,r,i){for(var u=void 0!==i&&i,a=0,c=e.length;a<c;++a){var s=e[a],f=o(t,n,s,r);if(0===a){if(u&&f||!u&&!f)return!1}else if(u&&!f||!u&&f)return!1;n=s}return!0}function u(t,n,e,r,o){for(var u=0,a=e.length;u<a;++u){var c=e[u];if(!i(t,n,c,r,o))return!1;c.length&&(n=c[c.length-1])}return!0}function a(t,n,e,i,u){for(var a=void 0!==u&&u,c=0,s=e.length;c<s;++c){var f=e[c],l=o(t,n,f,i),p=0===c?a&&l||!a&&!l:a&&!l||!a&&l;p&&r(t,n,f,i),n=f}return n}function c(t,n,e,r,o){for(var i=0,u=e.length;i<u;++i)n=a(t,n,e[i],r,o);return n}e.d(n,"a",(function(){return i})),e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return a})),e.d(n,"d",(function(){return c}))},"509b":function(t,n,e){"use strict";var r=e("7238"),o=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),i=function(t){function n(n,e,r,o,i){var u=t.call(this,n,e,i)||this;return u.originalEvent=r,u.pixel_=null,u.coordinate_=null,u.dragging=void 0!==o&&o,u}return o(n,t),Object.defineProperty(n.prototype,"pixel",{get:function(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_},set:function(t){this.pixel_=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coordinate",{get:function(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_},set:function(t){this.coordinate_=t},enumerable:!1,configurable:!0}),n.prototype.preventDefault=function(){t.prototype.preventDefault.call(this),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()},n.prototype.stopPropagation=function(){t.prototype.stopPropagation.call(this),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()},n}(r["a"]);n["a"]=i},"521b":function(t,n,e){"use strict";n["a"]={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"}},5564:function(t,n,e){"use strict";var r=e("e269"),o=e("df4c"),i=e("1300"),u=e("92fa"),a=e("38f3"),c=e("7fc9"),s=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),f=function(t){function n(n){var e=t.call(this)||this;e.on,e.once,e.un;var r=Object(a["a"])({},n);return"object"===typeof n.properties&&(delete r.properties,Object(a["a"])(r,n.properties)),r[o["a"].OPACITY]=void 0!==n.opacity?n.opacity:1,Object(u["a"])("number"===typeof r[o["a"].OPACITY],64),r[o["a"].VISIBLE]=void 0===n.visible||n.visible,r[o["a"].Z_INDEX]=n.zIndex,r[o["a"].MAX_RESOLUTION]=void 0!==n.maxResolution?n.maxResolution:1/0,r[o["a"].MIN_RESOLUTION]=void 0!==n.minResolution?n.minResolution:0,r[o["a"].MIN_ZOOM]=void 0!==n.minZoom?n.minZoom:-1/0,r[o["a"].MAX_ZOOM]=void 0!==n.maxZoom?n.maxZoom:1/0,e.className_=void 0!==r.className?n.className:"ol-layer",delete r.className,e.setProperties(r),e.state_=null,e}return s(n,t),n.prototype.getClassName=function(){return this.className_},n.prototype.getLayerState=function(t){var n=this.state_||{layer:this,managed:void 0===t||t},e=this.getZIndex();return n.opacity=Object(c["a"])(Math.round(100*this.getOpacity())/100,0,1),n.sourceState=this.getSourceState(),n.visible=this.getVisible(),n.extent=this.getExtent(),n.zIndex=void 0!==e||n.managed?e:1/0,n.maxResolution=this.getMaxResolution(),n.minResolution=Math.max(this.getMinResolution(),0),n.minZoom=this.getMinZoom(),n.maxZoom=this.getMaxZoom(),this.state_=n,n},n.prototype.getLayersArray=function(t){return Object(i["b"])()},n.prototype.getLayerStatesArray=function(t){return Object(i["b"])()},n.prototype.getExtent=function(){return this.get(o["a"].EXTENT)},n.prototype.getMaxResolution=function(){return this.get(o["a"].MAX_RESOLUTION)},n.prototype.getMinResolution=function(){return this.get(o["a"].MIN_RESOLUTION)},n.prototype.getMinZoom=function(){return this.get(o["a"].MIN_ZOOM)},n.prototype.getMaxZoom=function(){return this.get(o["a"].MAX_ZOOM)},n.prototype.getOpacity=function(){return this.get(o["a"].OPACITY)},n.prototype.getSourceState=function(){return Object(i["b"])()},n.prototype.getVisible=function(){return this.get(o["a"].VISIBLE)},n.prototype.getZIndex=function(){return this.get(o["a"].Z_INDEX)},n.prototype.setExtent=function(t){this.set(o["a"].EXTENT,t)},n.prototype.setMaxResolution=function(t){this.set(o["a"].MAX_RESOLUTION,t)},n.prototype.setMinResolution=function(t){this.set(o["a"].MIN_RESOLUTION,t)},n.prototype.setMaxZoom=function(t){this.set(o["a"].MAX_ZOOM,t)},n.prototype.setMinZoom=function(t){this.set(o["a"].MIN_ZOOM,t)},n.prototype.setOpacity=function(t){Object(u["a"])("number"===typeof t,64),this.set(o["a"].OPACITY,t)},n.prototype.setVisible=function(t){this.set(o["a"].VISIBLE,t)},n.prototype.setZIndex=function(t){this.set(o["a"].Z_INDEX,t)},n.prototype.disposeInternal=function(){this.state_&&(this.state_.layer=null,this.state_=null),t.prototype.disposeInternal.call(this)},n}(r["a"]);n["a"]=f},"57cb":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"a",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"d",(function(){return a}));var r=e("9f5e");function o(){return!0}function i(){return!1}function u(){}function a(t){var n,e,o,i=!1;return function(){var u=Array.prototype.slice.call(arguments);return i&&this===o&&Object(r["b"])(u,e)||(i=!0,o=this,e=u,n=t.apply(this,arguments)),n}}},"5bc3":function(t,n,e){"use strict";e.d(n,"c",(function(){return C})),e.d(n,"b",(function(){return w})),e.d(n,"d",(function(){return R}));var r=e("521b"),o=e("f623"),i=e("9abc"),u=e("9769"),a=e("0af5"),c=e("abb7"),s=e("1c48"),f=e("bb6c"),l=e("b589"),p=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),h=function(t){function n(n,e){var r=t.call(this)||this;return r.maxDelta_=-1,r.maxDeltaRevision_=-1,void 0===e||Array.isArray(n[0])?r.setCoordinates(n,e):r.setFlatCoordinates(e,n),r}return p(n,t),n.prototype.clone=function(){return new n(this.flatCoordinates.slice(),this.layout)},n.prototype.closestPointXY=function(t,n,e,r){return r<Object(a["e"])(this.getExtent(),t,n)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u["e"])(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u["d"])(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,t,n,e,r))},n.prototype.getArea=function(){return Object(l["a"])(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},n.prototype.getCoordinates=function(){return Object(f["a"])(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)},n.prototype.getSimplifiedGeometryInternal=function(t){var e=[];return e.length=Object(s["a"])(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t,e,0),new n(e,r["a"].XY)},n.prototype.getType=function(){return o["a"].LINEAR_RING},n.prototype.intersectsExtent=function(t){return!1},n.prototype.setCoordinates=function(t,n){this.setLayout(n,t,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(c["b"])(this.flatCoordinates,0,t,this.stride),this.changed()},n}(i["a"]),d=h,v=e("f403"),y=e("9f5e"),g=e("0a9d"),_=e("c560"),O=e("4d98"),b=e("25f1"),E=e("7fc9"),m=(e("790a"),function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),j=function(t){function n(n,e,r){var o=t.call(this)||this;return o.ends_=[],o.flatInteriorPointRevision_=-1,o.flatInteriorPoint_=null,o.maxDelta_=-1,o.maxDeltaRevision_=-1,o.orientedRevision_=-1,o.orientedFlatCoordinates_=null,void 0!==e&&r?(o.setFlatCoordinates(e,n),o.ends_=r):o.setCoordinates(n,e),o}return m(n,t),n.prototype.appendLinearRing=function(t){this.flatCoordinates?Object(y["c"])(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},n.prototype.clone=function(){var t=new n(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t},n.prototype.closestPointXY=function(t,n,e,r){return r<Object(a["e"])(this.getExtent(),t,n)?r:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(u["a"])(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(u["b"])(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,n,e,r))},n.prototype.containsXY=function(t,n){return Object(b["c"])(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,n)},n.prototype.getArea=function(){return Object(l["b"])(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},n.prototype.getCoordinates=function(t){var n;return void 0!==t?(n=this.getOrientedFlatCoordinates().slice(),Object(O["c"])(n,0,this.ends_,this.stride,t)):n=this.flatCoordinates,Object(f["b"])(n,0,this.ends_,this.stride)},n.prototype.getEnds=function(){return this.ends_},n.prototype.getFlatInteriorPoint=function(){if(this.flatInteriorPointRevision_!=this.getRevision()){var t=Object(a["w"])(this.getExtent());this.flatInteriorPoint_=Object(g["a"])(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},n.prototype.getInteriorPoint=function(){return new v["a"](this.getFlatInteriorPoint(),r["a"].XYM)},n.prototype.getLinearRingCount=function(){return this.ends_.length},n.prototype.getLinearRing=function(t){return t<0||this.ends_.length<=t?null:new d(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},n.prototype.getLinearRings=function(){for(var t=this.layout,n=this.flatCoordinates,e=this.ends_,r=[],o=0,i=0,u=e.length;i<u;++i){var a=e[i],c=new d(n.slice(o,a),t);r.push(c),o=a}return r},n.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;Object(O["a"])(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=Object(O["c"])(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},n.prototype.getSimplifiedGeometryInternal=function(t){var e=[],o=[];return e.length=Object(s["c"])(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),e,0,o),new n(e,r["a"].XY,o)},n.prototype.getType=function(){return o["a"].POLYGON},n.prototype.intersectsExtent=function(t){return Object(_["c"])(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)},n.prototype.setCoordinates=function(t,n){this.setLayout(n,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var e=Object(c["c"])(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===e.length?0:e[e.length-1],this.changed()},n}(i["a"]);n["a"]=j;function C(t){var n=t[0],e=t[1],o=t[2],i=t[3],u=[n,e,n,i,o,i,o,e,n,e];return new j(u,r["a"].XY,[u.length])}function w(t,n,e){for(var r=n||32,o=t.getStride(),i=t.getLayout(),u=t.getCenter(),a=o*(r+1),c=new Array(a),s=0;s<a;s+=o){c[s]=0,c[s+1]=0;for(var f=2;f<o;f++)c[s+f]=u[f]}var l=[c.length],p=new j(c,i,l);return R(p,u,t.getRadius(),e),p}function R(t,n,e,r){for(var o=t.getFlatCoordinates(),i=t.getStride(),u=o.length/i-1,a=r||0,c=0;c<=u;++c){var s=c*i,f=a+2*Object(E["e"])(c,u)*Math.PI/u;o[s]=n[0]+e*Math.cos(f),o[s+1]=n[1]+e*Math.sin(f)}t.changed()}},"5c38":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"a",(function(){return f})),e.d(n,"c",(function(){return h}));var r=e("92fa"),o=e("7fc9"),i=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,u=/^([a-z]*)$|^hsla?\(.*\)$/i;function a(t){return"string"===typeof t?t:h(t)}function c(t){var n=document.createElement("div");if(n.style.color=t,""!==n.style.color){document.body.appendChild(n);var e=getComputedStyle(n).color;return document.body.removeChild(n),e}return""}var s=function(){var t=1024,n={},e=0;return function(r){var o;if(n.hasOwnProperty(r))o=n[r];else{if(e>=t){var i=0;for(var u in n)0===(3&i++)&&(delete n[u],--e)}o=l(r),n[r]=o,++e}return o}}();function f(t){return Array.isArray(t)?t:s(t)}function l(t){var n,e,o,a,s;if(u.exec(t)&&(t=c(t)),i.exec(t)){var f=t.length-1,l=void 0;l=f<=4?1:2;var h=4===f||8===f;n=parseInt(t.substr(1+0*l,l),16),e=parseInt(t.substr(1+1*l,l),16),o=parseInt(t.substr(1+2*l,l),16),a=h?parseInt(t.substr(1+3*l,l),16):255,1==l&&(n=(n<<4)+n,e=(e<<4)+e,o=(o<<4)+o,h&&(a=(a<<4)+a)),s=[n,e,o,a/255]}else 0==t.indexOf("rgba(")?(s=t.slice(5,-1).split(",").map(Number),p(s)):0==t.indexOf("rgb(")?(s=t.slice(4,-1).split(",").map(Number),s.push(1),p(s)):Object(r["a"])(!1,14);return s}function p(t){return t[0]=Object(o["a"])(t[0]+.5|0,0,255),t[1]=Object(o["a"])(t[1]+.5|0,0,255),t[2]=Object(o["a"])(t[2]+.5|0,0,255),t[3]=Object(o["a"])(t[3],0,1),t}function h(t){var n=t[0];n!=(0|n)&&(n=n+.5|0);var e=t[1];e!=(0|e)&&(e=e+.5|0);var r=t[2];r!=(0|r)&&(r=r+.5|0);var o=void 0===t[3]?1:t[3];return"rgba("+n+","+e+","+r+","+o+")"}},"617d":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"f",(function(){return i})),e.d(n,"d",(function(){return u})),e.d(n,"a",(function(){return a})),e.d(n,"g",(function(){return c})),e.d(n,"c",(function(){return s})),e.d(n,"e",(function(){return f}));var r="undefined"!==typeof navigator&&"undefined"!==typeof navigator.userAgent?navigator.userAgent.toLowerCase():"",o=-1!==r.indexOf("firefox"),i=(-1!==r.indexOf("safari")&&r.indexOf("chrom"),-1!==r.indexOf("webkit")&&-1==r.indexOf("edge")),u=-1!==r.indexOf("macintosh"),a="undefined"!==typeof devicePixelRatio?devicePixelRatio:1,c="undefined"!==typeof WorkerGlobalScope&&"undefined"!==typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,s="undefined"!==typeof Image&&Image.prototype.decode,f=function(){var t=!1;try{var n=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,n),window.removeEventListener("_",null,n)}catch(e){}return t}()},6611:function(t,n,e){"use strict";e.d(n,"a",(function(){return d}));var r=e("01d4"),o=e("0ec0"),i=e("1300"),u=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),a=function(t){function n(n,e,r,o){var i=t.call(this)||this;return i.extent=n,i.pixelRatio_=r,i.resolution=e,i.state=o,i}return u(n,t),n.prototype.changed=function(){this.dispatchEvent(r["a"].CHANGE)},n.prototype.getExtent=function(){return this.extent},n.prototype.getImage=function(){return Object(i["b"])()},n.prototype.getPixelRatio=function(){return this.pixelRatio_},n.prototype.getResolution=function(){return this.resolution},n.prototype.getState=function(){return this.state},n.prototype.load=function(){Object(i["b"])()},n}(o["a"]),c=a,s=e("869f"),f=e("617d"),l=e("0af5"),p=e("1e8d"),h=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}();(function(t){function n(n,e,r,o,i,u){var a=t.call(this,n,e,r,s["a"].IDLE)||this;return a.src_=o,a.image_=new Image,null!==i&&(a.image_.crossOrigin=i),a.unlisten_=null,a.state=s["a"].IDLE,a.imageLoadFunction_=u,a}h(n,t),n.prototype.getImage=function(){return this.image_},n.prototype.handleImageError_=function(){this.state=s["a"].ERROR,this.unlistenImage_(),this.changed()},n.prototype.handleImageLoad_=function(){void 0===this.resolution&&(this.resolution=Object(l["z"])(this.extent)/this.image_.height),this.state=s["a"].LOADED,this.unlistenImage_(),this.changed()},n.prototype.load=function(){this.state!=s["a"].IDLE&&this.state!=s["a"].ERROR||(this.state=s["a"].LOADING,this.changed(),this.imageLoadFunction_(this,this.src_),this.unlisten_=d(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))},n.prototype.setImage=function(t){this.image_=t,this.resolution=Object(l["z"])(this.extent)/this.image_.height},n.prototype.unlistenImage_=function(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}})(c);function d(t,n,e){var o=t;if(o.src&&f["c"]){var i=o.decode(),u=!0,a=function(){u=!1};return i.then((function(){u&&n()})).catch((function(t){u&&("EncodingError"===t.name&&"Invalid image type."===t.message?n():e())})),a}var c=[Object(p["b"])(o,r["a"].LOAD,n),Object(p["b"])(o,r["a"].ERROR,e)];return function(){c.forEach(p["c"])}}},"6d83":function(t,n,e){"use strict";n["a"]={UNDEFINED:"undefined",LOADING:"loading",READY:"ready",ERROR:"error"}},7238:function(t,n,e){"use strict";var r=e("cef7"),o=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),i=function(t){function n(n,e,r){var o=t.call(this,n)||this;return o.map=e,o.frameState=void 0!==r?r:null,o}return o(n,t),n}(r["a"]);n["a"]=i},"790a":function(t,n,e){"use strict";e.d(n,"a",(function(){return i})),e.d(n,"b",(function(){return u}));e("f623");var r=e("7fc9"),o=6371008.8;function i(t,n,e){var i=e||o,u=Object(r["j"])(t[1]),a=Object(r["j"])(n[1]),c=(a-u)/2,s=Object(r["j"])(n[0]-t[0])/2,f=Math.sin(c)*Math.sin(c)+Math.sin(s)*Math.sin(s)*Math.cos(u)*Math.cos(a);return 2*i*Math.atan2(Math.sqrt(f),Math.sqrt(1-f))}function u(t,n,e,i){var u=i||o,a=Object(r["j"])(t[1]),c=Object(r["j"])(t[0]),s=n/u,f=Math.asin(Math.sin(a)*Math.cos(s)+Math.cos(a)*Math.sin(s)*Math.cos(e)),l=c+Math.atan2(Math.sin(e)*Math.sin(s)*Math.cos(a),Math.cos(s)-Math.sin(a)*Math.sin(f));return[Object(r["i"])(l),Object(r["i"])(f)]}},"7b4f":function(t,n,e){"use strict";n["a"]={PROPERTYCHANGE:"propertychange"}},"7fc9":function(t,n,e){"use strict";function r(t,n,e){return Math.min(Math.max(t,n),e)}e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return o})),e.d(n,"d",(function(){return i})),e.d(n,"h",(function(){return u})),e.d(n,"g",(function(){return a})),e.d(n,"f",(function(){return c})),e.d(n,"i",(function(){return s})),e.d(n,"j",(function(){return f})),e.d(n,"e",(function(){return l})),e.d(n,"c",(function(){return p}));var o=function(){var t;return t="cosh"in Math?Math.cosh:function(t){var n=Math.exp(t);return(n+1/n)/2},t}(),i=function(){var t;return t="log2"in Math?Math.log2:function(t){return Math.log(t)*Math.LOG2E},t}();function u(t,n,e,r,o,i){var u=o-e,c=i-r;if(0!==u||0!==c){var s=((t-e)*u+(n-r)*c)/(u*u+c*c);s>1?(e=o,r=i):s>0&&(e+=u*s,r+=c*s)}return a(t,n,e,r)}function a(t,n,e,r){var o=e-t,i=r-n;return o*o+i*i}function c(t){for(var n=t.length,e=0;e<n;e++){for(var r=e,o=Math.abs(t[e][e]),i=e+1;i<n;i++){var u=Math.abs(t[i][e]);u>o&&(o=u,r=i)}if(0===o)return null;var a=t[r];t[r]=t[e],t[e]=a;for(var c=e+1;c<n;c++)for(var s=-t[c][e]/t[e][e],f=e;f<n+1;f++)e==f?t[c][f]=0:t[c][f]+=s*t[e][f]}for(var l=new Array(n),p=n-1;p>=0;p--){l[p]=t[p][n]/t[p][p];for(var h=p-1;h>=0;h--)t[h][n]-=t[h][p]*l[p]}return l}function s(t){return 180*t/Math.PI}function f(t){return t*Math.PI/180}function l(t,n){var e=t%n;return e*n<0?e+n:e}function p(t,n,e){return t+e*(n-t)}},"835b":function(t,n,e){"use strict";var r=e("1300"),o=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),i=function(t){function n(n){var e=this,o="latest"===r["a"]?r["a"]:"v"+r["a"].split("-")[0],i="Assertion failed. See https://openlayers.org/en/"+o+"/doc/errors/#"+n+" for details.";return e=t.call(this,i)||this,e.code=n,e.name="AssertionError",e.message=i,e}return o(n,t),n}(Error);n["a"]=i},"869f":function(t,n,e){"use strict";n["a"]={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},"92fa":function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e("835b");function o(t,n){if(!t)throw new r["a"](n)}},9769:function(t,n,e){"use strict";e.d(n,"e",(function(){return i})),e.d(n,"a",(function(){return u})),e.d(n,"f",(function(){return a})),e.d(n,"d",(function(){return c})),e.d(n,"b",(function(){return s})),e.d(n,"c",(function(){return f}));var r=e("7fc9");function o(t,n,e,o,i,u,a){var c,s=t[n],f=t[n+1],l=t[e]-s,p=t[e+1]-f;if(0===l&&0===p)c=n;else{var h=((i-s)*l+(u-f)*p)/(l*l+p*p);if(h>1)c=e;else{if(h>0){for(var d=0;d<o;++d)a[d]=Object(r["c"])(t[n+d],t[e+d],h);return void(a.length=o)}c=n}}for(d=0;d<o;++d)a[d]=t[c+d];a.length=o}function i(t,n,e,o,i){var u=t[n],a=t[n+1];for(n+=o;n<e;n+=o){var c=t[n],s=t[n+1],f=Object(r["g"])(u,a,c,s);f>i&&(i=f),u=c,a=s}return i}function u(t,n,e,r,o){for(var u=0,a=e.length;u<a;++u){var c=e[u];o=i(t,n,c,r,o),n=c}return o}function a(t,n,e,r,o){for(var i=0,a=e.length;i<a;++i){var c=e[i];o=u(t,n,c,r,o),n=c[c.length-1]}return o}function c(t,n,e,i,u,a,c,s,f,l,p){if(n==e)return l;var h,d;if(0===u){if(d=Object(r["g"])(c,s,t[n],t[n+1]),d<l){for(h=0;h<i;++h)f[h]=t[n+h];return f.length=i,d}return l}var v=p||[NaN,NaN],y=n+i;while(y<e)if(o(t,y-i,y,i,c,s,v),d=Object(r["g"])(c,s,v[0],v[1]),d<l){for(l=d,h=0;h<i;++h)f[h]=v[h];f.length=i,y+=i}else y+=i*Math.max((Math.sqrt(d)-Math.sqrt(l))/u|0,1);if(a&&(o(t,e-i,n,i,c,s,v),d=Object(r["g"])(c,s,v[0],v[1]),d<l)){for(l=d,h=0;h<i;++h)f[h]=v[h];f.length=i}return l}function s(t,n,e,r,o,i,u,a,s,f,l){for(var p=l||[NaN,NaN],h=0,d=e.length;h<d;++h){var v=e[h];f=c(t,n,v,r,o,i,u,a,s,f,p),n=v}return f}function f(t,n,e,r,o,i,u,a,c,f,l){for(var p=l||[NaN,NaN],h=0,d=e.length;h<d;++h){var v=e[h];f=s(t,n,v,r,o,i,u,a,c,f,p),n=v[v.length-1]}return f}},"9abc":function(t,n,e){"use strict";e.d(n,"b",(function(){return b}));var r=e("e269"),o=e("fced"),i=e("1300"),u=e("a896"),a=e("0af5"),c=e("256f"),s=e("57cb"),f=e("bef8"),l=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),p=Object(u["c"])(),h=function(t){function n(){var n=t.call(this)||this;return n.extent_=Object(a["j"])(),n.extentRevision_=-1,n.simplifiedGeometryMaxMinSquaredTolerance=0,n.simplifiedGeometryRevision=0,n.simplifyTransformedInternal=Object(s["d"])((function(t,n,e){if(!e)return this.getSimplifiedGeometry(n);var r=this.clone();return r.applyTransform(e),r.getSimplifiedGeometry(n)})),n}return l(n,t),n.prototype.simplifyTransformed=function(t,n){return this.simplifyTransformedInternal(this.getRevision(),t,n)},n.prototype.clone=function(){return Object(i["b"])()},n.prototype.closestPointXY=function(t,n,e,r){return Object(i["b"])()},n.prototype.containsXY=function(t,n){var e=this.getClosestPoint([t,n]);return e[0]===t&&e[1]===n},n.prototype.getClosestPoint=function(t,n){var e=n||[NaN,NaN];return this.closestPointXY(t[0],t[1],e,1/0),e},n.prototype.intersectsCoordinate=function(t){return this.containsXY(t[0],t[1])},n.prototype.computeExtent=function(t){return Object(i["b"])()},n.prototype.getExtent=function(t){if(this.extentRevision_!=this.getRevision()){var n=this.computeExtent(this.extent_);(isNaN(n[0])||isNaN(n[1]))&&Object(a["l"])(n),this.extentRevision_=this.getRevision()}return Object(a["H"])(this.extent_,t)},n.prototype.rotate=function(t,n){Object(i["b"])()},n.prototype.scale=function(t,n,e){Object(i["b"])()},n.prototype.simplify=function(t){return this.getSimplifiedGeometry(t*t)},n.prototype.getSimplifiedGeometry=function(t){return Object(i["b"])()},n.prototype.getType=function(){return Object(i["b"])()},n.prototype.applyTransform=function(t){Object(i["b"])()},n.prototype.intersectsExtent=function(t){return Object(i["b"])()},n.prototype.translate=function(t,n){Object(i["b"])()},n.prototype.transform=function(t,n){var e=Object(c["g"])(t),r=e.getUnits()==o["b"].TILE_PIXELS?function(t,r,o){var i=e.getExtent(),s=e.getWorldExtent(),l=Object(a["z"])(s)/Object(a["z"])(i);return Object(u["b"])(p,s[0],s[3],l,-l,0,0,0),Object(f["c"])(t,0,t.length,o,p,r),Object(c["i"])(e,n)(t,r,o)}:Object(c["i"])(e,n);return this.applyTransform(r),this},n}(r["a"]),d=h,v=e("521b"),y=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),g=function(t){function n(){var n=t.call(this)||this;return n.layout=v["a"].XY,n.stride=2,n.flatCoordinates=null,n}return y(n,t),n.prototype.computeExtent=function(t){return Object(a["n"])(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},n.prototype.getCoordinates=function(){return Object(i["b"])()},n.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},n.prototype.getFlatCoordinates=function(){return this.flatCoordinates},n.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},n.prototype.getLayout=function(){return this.layout},n.prototype.getSimplifiedGeometry=function(t){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),t<0||0!==this.simplifiedGeometryMaxMinSquaredTolerance&&t<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;var n=this.getSimplifiedGeometryInternal(t),e=n.getFlatCoordinates();return e.length<this.flatCoordinates.length?n:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)},n.prototype.getSimplifiedGeometryInternal=function(t){return this},n.prototype.getStride=function(){return this.stride},n.prototype.setFlatCoordinates=function(t,n){this.stride=O(t),this.layout=t,this.flatCoordinates=n},n.prototype.setCoordinates=function(t,n){Object(i["b"])()},n.prototype.setLayout=function(t,n,e){var r;if(t)r=O(t);else{for(var o=0;o<e;++o){if(0===n.length)return this.layout=v["a"].XY,void(this.stride=2);n=n[0]}r=n.length,t=_(r)}this.layout=t,this.stride=r},n.prototype.applyTransform=function(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())},n.prototype.rotate=function(t,n){var e=this.getFlatCoordinates();if(e){var r=this.getStride();Object(f["a"])(e,0,e.length,r,t,n,e),this.changed()}},n.prototype.scale=function(t,n,e){var r=n;void 0===r&&(r=t);var o=e;o||(o=Object(a["w"])(this.getExtent()));var i=this.getFlatCoordinates();if(i){var u=this.getStride();Object(f["b"])(i,0,i.length,u,t,r,o,i),this.changed()}},n.prototype.translate=function(t,n){var e=this.getFlatCoordinates();if(e){var r=this.getStride();Object(f["d"])(e,0,e.length,r,t,n,e),this.changed()}},n}(d);function _(t){var n;return 2==t?n=v["a"].XY:3==t?n=v["a"].XYZ:4==t&&(n=v["a"].XYZM),n}function O(t){var n;return t==v["a"].XY?n=2:t==v["a"].XYZ||t==v["a"].XYM?n=3:t==v["a"].XYZM&&(n=4),n}function b(t,n,e){var r=t.getFlatCoordinates();if(r){var o=t.getStride();return Object(f["c"])(r,0,r.length,o,n,e)}return null}n["a"]=g},"9f5e":function(t,n,e){"use strict";function r(t,n,e){var r,i,u=e||o,a=0,c=t.length,s=!1;while(a<c)r=a+(c-a>>1),i=+u(t[r],n),i<0?a=r+1:(c=r,s=!i);return s?a:~a}function o(t,n){return t>n?1:t<n?-1:0}function i(t,n){return t.indexOf(n)>=0}function u(t,n,e){var r=t.length;if(t[0]<=n)return 0;if(n<=t[r-1])return r-1;var o=void 0;if(e>0){for(o=1;o<r;++o)if(t[o]<n)return o-1}else if(e<0){for(o=1;o<r;++o)if(t[o]<=n)return o}else for(o=1;o<r;++o){if(t[o]==n)return o;if(t[o]<n)return"function"===typeof e?e(n,t[o-1],t[o])>0?o-1:o:t[o-1]-n<n-t[o]?o-1:o}return r-1}function a(t,n,e){while(n<e){var r=t[n];t[n]=t[e],t[e]=r,++n,--e}}function c(t,n){for(var e=Array.isArray(n)?n:[n],r=e.length,o=0;o<r;o++)t[t.length]=e[o]}function s(t,n){for(var e,r=t.length>>>0,o=0;o<r;o++)if(e=t[o],n(e,o,t))return e;return null}function f(t,n){var e=t.length;if(e!==n.length)return!1;for(var r=0;r<e;r++)if(t[r]!==n[r])return!1;return!0}function l(t,n){var e,r=!t.every((function(r,o){return e=o,!n(r,o,t)}));return r?e:-1}function p(t,n,e){var r=n||o;return t.every((function(n,o){if(0===o)return!0;var i=r(t[o-1],n);return!(i>0||e&&0===i)}))}e.d(n,"a",(function(){return r})),e.d(n,"i",(function(){return o})),e.d(n,"f",(function(){return i})),e.d(n,"h",(function(){return u})),e.d(n,"j",(function(){return a})),e.d(n,"c",(function(){return c})),e.d(n,"d",(function(){return s})),e.d(n,"b",(function(){return f})),e.d(n,"e",(function(){return l})),e.d(n,"g",(function(){return p}))},a568:function(t,n,e){"use strict";e.d(n,"a",(function(){return o})),e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"e",(function(){return a})),e.d(n,"g",(function(){return c})),e.d(n,"h",(function(){return s})),e.d(n,"i",(function(){return f})),e.d(n,"d",(function(){return l})),e.d(n,"j",(function(){return p})),e.d(n,"k",(function(){return h})),e.d(n,"f",(function(){return d}));var r=e("0af5");e("7fc9");function o(t,n){return t[0]+=+n[0],t[1]+=+n[1],t}function i(t,n){var e=n.getRadius(),r=n.getCenter(),o=r[0],i=r[1],u=t[0],a=t[1],c=u-o,s=a-i;0===c&&0===s&&(c=1);var f=Math.sqrt(c*c+s*s),l=o+e*c/f,p=i+e*s/f;return[l,p]}function u(t,n){var e,r,o=t[0],i=t[1],u=n[0],a=n[1],c=u[0],s=u[1],f=a[0],l=a[1],p=f-c,h=l-s,d=0===p&&0===h?0:(p*(o-c)+h*(i-s))/(p*p+h*h||0);return d<=0?(e=c,r=s):d>=1?(e=f,r=l):(e=c+d*p,r=s+d*h),[e,r]}function a(t,n){for(var e=!0,r=t.length-1;r>=0;--r)if(t[r]!=n[r]){e=!1;break}return e}function c(t,n){var e=Math.cos(n),r=Math.sin(n),o=t[0]*e-t[1]*r,i=t[1]*e+t[0]*r;return t[0]=o,t[1]=i,t}function s(t,n){return t[0]*=n,t[1]*=n,t}function f(t,n){var e=t[0]-n[0],r=t[1]-n[1];return e*e+r*r}function l(t,n){return Math.sqrt(f(t,n))}function p(t,n){return f(t,u(t,n))}function h(t,n){if(n.canWrapX()){var e=Object(r["D"])(n.getExtent()),o=d(t,n,e);o&&(t[0]-=o*e)}return t}function d(t,n,e){var o=n.getExtent(),i=0;if(n.canWrapX()&&(t[0]<o[0]||t[0]>o[2])){var u=e||Object(r["D"])(o);i=Math.floor((t[0]-o[0])/u)}return i}},a896:function(t,n,e){"use strict";e.d(n,"c",(function(){return u})),e.d(n,"f",(function(){return c})),e.d(n,"a",(function(){return s})),e.d(n,"e",(function(){return f})),e.d(n,"b",(function(){return l})),e.d(n,"d",(function(){return p})),e.d(n,"g",(function(){return d}));var r,o=e("617d"),i=e("92fa");new Array(6);function u(){return[1,0,0,1,0,0]}function a(t,n,e,r,o,i,u){return t[0]=n,t[1]=e,t[2]=r,t[3]=o,t[4]=i,t[5]=u,t}function c(t,n){return t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3],t[4]=n[4],t[5]=n[5],t}function s(t,n){var e=n[0],r=n[1];return n[0]=t[0]*e+t[2]*r+t[4],n[1]=t[1]*e+t[3]*r+t[5],n}function f(t,n,e){return a(t,n,0,0,e,0,0)}function l(t,n,e,r,o,i,u,a){var c=Math.sin(i),s=Math.cos(i);return t[0]=r*s,t[1]=o*c,t[2]=-r*c,t[3]=o*s,t[4]=u*r*s-a*r*c+n,t[5]=u*o*c+a*o*s+e,t}function p(t,n){var e=h(n);Object(i["a"])(0!==e,32);var r=n[0],o=n[1],u=n[2],a=n[3],c=n[4],s=n[5];return t[0]=a/e,t[1]=-o/e,t[2]=-u/e,t[3]=r/e,t[4]=(u*s-a*c)/e,t[5]=-(r*s-o*c)/e,t}function h(t){return t[0]*t[3]-t[1]*t[2]}function d(t){var n="matrix("+t.join(", ")+")";if(o["g"])return n;var e=r||(r=document.createElement("div"));return e.style.transform=n,e.style.transform}},abb7:function(t,n,e){"use strict";function r(t,n,e,r){for(var o=0,i=e.length;o<i;++o)t[n++]=e[o];return n}function o(t,n,e,r){for(var o=0,i=e.length;o<i;++o)for(var u=e[o],a=0;a<r;++a)t[n++]=u[a];return n}function i(t,n,e,r,i){for(var u=i||[],a=0,c=0,s=e.length;c<s;++c){var f=o(t,n,e[c],r);u[a++]=f,n=f}return u.length=a,u}function u(t,n,e,r,o){for(var u=o||[],a=0,c=0,s=e.length;c<s;++c){var f=i(t,n,e[c],r,u[a]);u[a++]=f,n=f[f.length-1]}return u.length=a,u}e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"d",(function(){return u}))},b589:function(t,n,e){"use strict";function r(t,n,e,r){for(var o=0,i=t[e-r],u=t[e-r+1];n<e;n+=r){var a=t[n],c=t[n+1];o+=u*a-i*c,i=a,u=c}return o/2}function o(t,n,e,o){for(var i=0,u=0,a=e.length;u<a;++u){var c=e[u];i+=r(t,n,c,o),n=c}return i}function i(t,n,e,r){for(var i=0,u=0,a=e.length;u<a;++u){var c=e[u];i+=o(t,n,c,r),n=c[c.length-1]}return i}e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i}))},bb6c:function(t,n,e){"use strict";function r(t,n,e,r,o){for(var i=void 0!==o?o:[],u=0,a=n;a<e;a+=r)i[u++]=t.slice(a,a+r);return i.length=u,i}function o(t,n,e,o,i){for(var u=void 0!==i?i:[],a=0,c=0,s=e.length;c<s;++c){var f=e[c];u[a++]=r(t,n,f,o,u[a]),n=f}return u.length=a,u}function i(t,n,e,r,i){for(var u=void 0!==i?i:[],a=0,c=0,s=e.length;c<s;++c){var f=e[c];u[a++]=o(t,n,f,r,u[a]),n=f[f.length-1]}return u.length=a,u}e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i}))},bef8:function(t,n,e){"use strict";function r(t,n,e,r,o,i){for(var u=i||[],a=0,c=n;c<e;c+=r){var s=t[c],f=t[c+1];u[a++]=o[0]*s+o[2]*f+o[4],u[a++]=o[1]*s+o[3]*f+o[5]}return i&&u.length!=a&&(u.length=a),u}function o(t,n,e,r,o,i,u){for(var a=u||[],c=Math.cos(o),s=Math.sin(o),f=i[0],l=i[1],p=0,h=n;h<e;h+=r){var d=t[h]-f,v=t[h+1]-l;a[p++]=f+d*c-v*s,a[p++]=l+d*s+v*c;for(var y=h+2;y<h+r;++y)a[p++]=t[y]}return u&&a.length!=p&&(a.length=p),a}function i(t,n,e,r,o,i,u,a){for(var c=a||[],s=u[0],f=u[1],l=0,p=n;p<e;p+=r){var h=t[p]-s,d=t[p+1]-f;c[l++]=s+o*h,c[l++]=f+i*d;for(var v=p+2;v<p+r;++v)c[l++]=t[v]}return a&&c.length!=l&&(c.length=l),c}function u(t,n,e,r,o,i,u){for(var a=u||[],c=0,s=n;s<e;s+=r){a[c++]=t[s]+o,a[c++]=t[s+1]+i;for(var f=s+2;f<s+r;++f)a[c++]=t[f]}return u&&a.length!=c&&(a.length=c),a}e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o})),e.d(n,"b",(function(){return i})),e.d(n,"d",(function(){return u}))},bf62:function(t,n,e){"use strict";n["a"]={ACTIVE:"active"}},c560:function(t,n,e){"use strict";e.d(n,"a",(function(){return u})),e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return s})),e.d(n,"d",(function(){return f}));var r=e("0af5"),o=e("fd4d"),i=e("25f1");function u(t,n,e,i,u){var a=Object(r["r"])(Object(r["j"])(),t,n,e,i);return!!Object(r["E"])(u,a)&&(!!Object(r["g"])(u,a)||(a[0]>=u[0]&&a[2]<=u[2]||(a[1]>=u[1]&&a[3]<=u[3]||Object(o["a"])(t,n,e,i,(function(t,n){return Object(r["F"])(u,t,n)})))))}function a(t,n,e,r,o){for(var i=0,a=e.length;i<a;++i){if(u(t,n,e[i],r,o))return!0;n=e[i]}return!1}function c(t,n,e,r,o){return!!u(t,n,e,r,o)||(!!Object(i["b"])(t,n,e,r,o[0],o[1])||(!!Object(i["b"])(t,n,e,r,o[0],o[3])||(!!Object(i["b"])(t,n,e,r,o[2],o[1])||!!Object(i["b"])(t,n,e,r,o[2],o[3]))))}function s(t,n,e,r,o){if(!c(t,n,e[0],r,o))return!1;if(1===e.length)return!0;for(var a=1,s=e.length;a<s;++a)if(Object(i["a"])(t,e[a-1],e[a],r,o)&&!u(t,e[a-1],e[a],r,o))return!1;return!0}function f(t,n,e,r,o){for(var i=0,u=e.length;i<u;++i){var a=e[i];if(s(t,n,a,r,o))return!0;n=a[a.length-1]}return!1}},ca42:function(t,n,e){"use strict";function r(t){return Math.pow(t,3)}function o(t){return 1-r(1-t)}function i(t){return 3*t*t-2*t*t*t}function u(t){return t}e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"d",(function(){return u}))},cd7e:function(t,n,e){"use strict";e.d(n,"c",(function(){return r})),e.d(n,"d",(function(){return o})),e.d(n,"b",(function(){return i})),e.d(n,"a",(function(){return u})),e.d(n,"f",(function(){return s})),e.d(n,"e",(function(){return f}));var r="ol-hidden",o="ol-unselectable",i="ol-control",u="ol-collapsed",a=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))","?\\s*([-,\\\"\\'\\sa-z]+?)\\s*$"].join(""),"i"),c=["style","variant","weight","size","lineHeight","family"],s=function(t){var n=t.match(a);if(!n)return null;for(var e={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},r=0,o=c.length;r<o;++r){var i=n[r+1];void 0!==i&&(e[c[r]]=i)}return e.families=e.family.split(/,\s?/),e};function f(t){return 1===t?"":String(Math.round(100*t)/100)}},cef7:function(t,n,e){"use strict";var r=function(){function t(t){this.propagationStopped,this.defaultPrevented,this.type=t,this.target=null}return t.prototype.preventDefault=function(){this.defaultPrevented=!0},t.prototype.stopPropagation=function(){this.propagationStopped=!0},t}();n["a"]=r},d81d:function(t,n,e){"use strict";var r=e("23e7"),o=e("b727").map,i=e("1dde"),u=i("map");r({target:"Array",proto:!0,forced:!u},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},da5c:function(t,n,e){"use strict";var r=function(){function t(){this.disposed=!1}return t.prototype.dispose=function(){this.disposed||(this.disposed=!0,this.disposeInternal())},t.prototype.disposeInternal=function(){},t}();n["a"]=r},ddea:function(t,n,e){"use strict";e.d(n,"c",(function(){return s})),e.d(n,"b",(function(){return f})),e.d(n,"d",(function(){return l})),e.d(n,"e",(function(){return p})),e.d(n,"f",(function(){return h})),e.d(n,"g",(function(){return d})),e.d(n,"i",(function(){return v})),e.d(n,"k",(function(){return y})),e.d(n,"l",(function(){return g})),e.d(n,"m",(function(){return _})),e.d(n,"j",(function(){return O})),e.d(n,"h",(function(){return b})),e.d(n,"a",(function(){return E})),e.d(n,"r",(function(){return R})),e.d(n,"p",(function(){return P})),e.d(n,"o",(function(){return I})),e.d(n,"q",(function(){return M})),e.d(n,"n",(function(){return S}));var r=e("e269"),o=e("0ec0"),i=e("617d"),u=e("38f3"),a=e("0999"),c=e("cd7e"),s="10px sans-serif",f="#000",l="round",p=[],h=0,d="round",v=10,y="#000",g="center",_="middle",O=[0,0,0,0],b=1,E=new r["a"],m=new o["a"];m.setSize=function(){console.warn("labelCache is deprecated.")};var j,C=null,w={},R=function(){var t,n,e=100,r="32px ",o=["monospace","serif"],i=o.length,a="wmytzilWMYTZIL@#/&?$%10";function s(t,e,u){for(var c=!0,s=0;s<i;++s){var f=o[s];if(n=T(t+" "+e+" "+r+f,a),u!=f){var l=T(t+" "+e+" "+r+u+","+f,a);c=c&&l!=n}}return!!c}function f(){for(var n=!0,r=E.getKeys(),o=0,i=r.length;o<i;++o){var a=r[o];E.get(a)<e&&(s.apply(this,a.split("\n"))?(Object(u["b"])(w),C=null,j=void 0,E.set(a,e)):(E.set(a,E.get(a)+1,!0),n=!1))}n&&(clearInterval(t),t=void 0)}return function(n){var r=Object(c["f"])(n);if(r)for(var o=r.families,i=0,u=o.length;i<u;++i){var a=o[i],l=r.style+"\n"+r.weight+"\n"+a;void 0===E.get(l)&&(E.set(l,e,!0),s(r.style,r.weight,a)||(E.set(l,0,!0),void 0===t&&(t=setInterval(f,32))))}}}(),P=function(){var t;return function(n){var e=w[n];if(void 0==e){if(i["g"]){var r=Object(c["f"])(n),o=x(n,"Žg"),u=isNaN(Number(r.lineHeight))?1.2:Number(r.lineHeight);e=u*(o.actualBoundingBoxAscent+o.actualBoundingBoxDescent)}else t||(t=document.createElement("div"),t.innerHTML="M",t.style.minHeight="0",t.style.maxHeight="none",t.style.height="auto",t.style.padding="0",t.style.border="none",t.style.position="absolute",t.style.display="block",t.style.left="-99999px"),t.style.font=n,document.body.appendChild(t),e=t.offsetHeight,document.body.removeChild(t);w[n]=e}return e}}();function x(t,n){return C||(C=Object(a["a"])(1,1)),t!=j&&(C.font=t,j=C.font),C.measureText(n)}function T(t,n){return x(t,n).width}function I(t,n,e){if(n in e)return e[n];var r=T(t,n);return e[n]=r,r}function M(t,n,e){for(var r=n.length,o=0,i=0;i<r;++i){var u=T(t,n[i]);o=Math.max(o,u),e.push(u)}return o}function S(t,n,e,r,o,i,u,a,c,s,f){t.save(),1!==e&&(t.globalAlpha*=e),n&&t.setTransform.apply(t,n),r.contextInstructions?(t.translate(c,s),t.scale(f[0],f[1]),N(r,t)):f[0]<0||f[1]<0?(t.translate(c,s),t.scale(f[0],f[1]),t.drawImage(r,o,i,u,a,0,0,u,a)):t.drawImage(r,o,i,u,a,c,s,u*f[0],a*f[1]),t.restore()}function N(t,n){for(var e=t.contextInstructions,r=0,o=e.length;r<o;r+=2)Array.isArray(e[r+1])?n[e[r]].apply(n,e[r+1]):n[e[r]]=e[r+1]}},df4c:function(t,n,e){"use strict";n["a"]={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source"}},e269:function(t,n,e){"use strict";var r=e("cef7"),o=e("7b4f"),i=e("35a7"),u=e("38f3"),a=e("1300"),c=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),s=function(t){function n(n,e,r){var o=t.call(this,n)||this;return o.key=e,o.oldValue=r,o}return c(n,t),n}(r["a"]),f=function(t){function n(n){var e=t.call(this)||this;return e.on,e.once,e.un,Object(a["c"])(e),e.values_=null,void 0!==n&&e.setProperties(n),e}return c(n,t),n.prototype.get=function(t){var n;return this.values_&&this.values_.hasOwnProperty(t)&&(n=this.values_[t]),n},n.prototype.getKeys=function(){return this.values_&&Object.keys(this.values_)||[]},n.prototype.getProperties=function(){return this.values_&&Object(u["a"])({},this.values_)||{}},n.prototype.hasProperties=function(){return!!this.values_},n.prototype.notify=function(t,n){var e;e="change:"+t,this.dispatchEvent(new s(e,t,n)),e=o["a"].PROPERTYCHANGE,this.dispatchEvent(new s(e,t,n))},n.prototype.addChangeListener=function(t,n){this.addEventListener("change:"+t,n)},n.prototype.removeChangeListener=function(t,n){this.removeEventListener("change:"+t,n)},n.prototype.set=function(t,n,e){var r=this.values_||(this.values_={});if(e)r[t]=n;else{var o=r[t];r[t]=n,o!==n&&this.notify(t,o)}},n.prototype.setProperties=function(t,n){for(var e in t)this.set(e,t[e],n)},n.prototype.applyProperties=function(t){t.values_&&Object(u["a"])(this.values_||(this.values_={}),t.values_)},n.prototype.unset=function(t,n){if(this.values_&&t in this.values_){var e=this.values_[t];delete this.values_[t],Object(u["d"])(this.values_)&&(this.values_=null),n||this.notify(t,e)}},n}(i["a"]);n["a"]=f},e300:function(t,n,e){"use strict";var r=e("835b"),o=e("e269"),i=e("183a"),u=e("cef7"),a=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),c={LENGTH:"length"},s=function(t){function n(n,e,r){var o=t.call(this,n)||this;return o.element=e,o.index=r,o}return a(n,t),n}(u["a"]),f=function(t){function n(n,e){var r=t.call(this)||this;r.on,r.once,r.un;var o=e||{};if(r.unique_=!!o.unique,r.array_=n||[],r.unique_)for(var i=0,u=r.array_.length;i<u;++i)r.assertUnique_(r.array_[i],i);return r.updateLength_(),r}return a(n,t),n.prototype.clear=function(){while(this.getLength()>0)this.pop()},n.prototype.extend=function(t){for(var n=0,e=t.length;n<e;++n)this.push(t[n]);return this},n.prototype.forEach=function(t){for(var n=this.array_,e=0,r=n.length;e<r;++e)t(n[e],e,n)},n.prototype.getArray=function(){return this.array_},n.prototype.item=function(t){return this.array_[t]},n.prototype.getLength=function(){return this.get(c.LENGTH)},n.prototype.insertAt=function(t,n){this.unique_&&this.assertUnique_(n),this.array_.splice(t,0,n),this.updateLength_(),this.dispatchEvent(new s(i["a"].ADD,n,t))},n.prototype.pop=function(){return this.removeAt(this.getLength()-1)},n.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var n=this.getLength();return this.insertAt(n,t),this.getLength()},n.prototype.remove=function(t){for(var n=this.array_,e=0,r=n.length;e<r;++e)if(n[e]===t)return this.removeAt(e)},n.prototype.removeAt=function(t){var n=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new s(i["a"].REMOVE,n,t)),n},n.prototype.setAt=function(t,n){var e=this.getLength();if(t<e){this.unique_&&this.assertUnique_(n,t);var r=this.array_[t];this.array_[t]=n,this.dispatchEvent(new s(i["a"].REMOVE,r,t)),this.dispatchEvent(new s(i["a"].ADD,n,t))}else{for(var o=e;o<t;++o)this.insertAt(o,void 0);this.insertAt(t,n)}},n.prototype.updateLength_=function(){this.set(c.LENGTH,this.array_.length)},n.prototype.assertUnique_=function(t,n){for(var e=0,o=this.array_.length;e<o;++e)if(this.array_[e]===t&&e!==n)throw new r["a"](58)},n}(o["a"]);n["a"]=f},f403:function(t,n,e){"use strict";var r=e("f623"),o=e("9abc"),i=e("0af5"),u=e("abb7"),a=e("7fc9"),c=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),s=function(t){function n(n,e){var r=t.call(this)||this;return r.setCoordinates(n,e),r}return c(n,t),n.prototype.clone=function(){var t=new n(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t},n.prototype.closestPointXY=function(t,n,e,r){var o=this.flatCoordinates,i=Object(a["g"])(t,n,o[0],o[1]);if(i<r){for(var u=this.stride,c=0;c<u;++c)e[c]=o[c];return e.length=u,i}return r},n.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},n.prototype.computeExtent=function(t){return Object(i["m"])(this.flatCoordinates,t)},n.prototype.getType=function(){return r["a"].POINT},n.prototype.intersectsExtent=function(t){return Object(i["h"])(t,this.flatCoordinates[0],this.flatCoordinates[1])},n.prototype.setCoordinates=function(t,n){this.setLayout(n,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(u["a"])(this.flatCoordinates,0,t,this.stride),this.changed()},n}(o["a"]);n["a"]=s},f623:function(t,n,e){"use strict";n["a"]={POINT:"Point",LINE_STRING:"LineString",LINEAR_RING:"LinearRing",POLYGON:"Polygon",MULTI_POINT:"MultiPoint",MULTI_LINE_STRING:"MultiLineString",MULTI_POLYGON:"MultiPolygon",GEOMETRY_COLLECTION:"GeometryCollection",CIRCLE:"Circle"}},fced:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r={RADIANS:"radians",DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"};r.METERS,r.FEET,r.USFEET,r.RADIANS,r.DEGREES;var o={};o[r.RADIANS]=6370997/(2*Math.PI),o[r.DEGREES]=2*Math.PI*6370997/360,o[r.FEET]=.3048,o[r.METERS]=1,o[r.USFEET]=1200/3937,n["b"]=r},fd4d:function(t,n,e){"use strict";function r(t,n,e,r,o){var i;for(n+=r;n<e;n+=r)if(i=o(t.slice(n-r,n),t.slice(n,n+r)),i)return i;return!1}e.d(n,"a",(function(){return r}))},ff80:function(t,n,e){"use strict";var r=e("e269"),o=e("6d83"),i=e("1300"),u=e("256f"),a=function(){var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};return function(n,e){if("function"!==typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}(),c=function(t){function n(n){var e=t.call(this)||this;e.projection=Object(u["g"])(n.projection),e.attributions_=s(n.attributions),e.attributionsCollapsible_=void 0===n.attributionsCollapsible||n.attributionsCollapsible,e.loading=!1,e.state_=void 0!==n.state?n.state:o["a"].READY,e.wrapX_=void 0!==n.wrapX&&n.wrapX,e.viewResolver=null,e.viewRejector=null;var r=e;return e.viewPromise_=new Promise((function(t,n){r.viewResolver=t,r.viewRejector=n})),e}return a(n,t),n.prototype.getAttributions=function(){return this.attributions_},n.prototype.getAttributionsCollapsible=function(){return this.attributionsCollapsible_},n.prototype.getProjection=function(){return this.projection},n.prototype.getResolutions=function(){return Object(i["b"])()},n.prototype.getView=function(){return this.viewPromise_},n.prototype.getState=function(){return this.state_},n.prototype.getWrapX=function(){return this.wrapX_},n.prototype.getContextOptions=function(){},n.prototype.refresh=function(){this.changed()},n.prototype.setAttributions=function(t){this.attributions_=s(t),this.changed()},n.prototype.setState=function(t){this.state_=t,this.changed()},n}(r["a"]);function s(t){return t?Array.isArray(t)?function(n){return t}:"function"===typeof t?t:function(n){return[t]}:null}n["a"]=c}}]);