UNPKG

@xnsk-openlayers-sdk/xnsk_fe_openlayers

Version:

先农数科前端团队openlayers功能相关的SDK,目标:所有前端Gis地图相关模块的唯一官方指定SDK

1 lines 2.58 MB
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.XNOL=e():t.XNOL=e()}(window,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="/",n(n.s=140)}([function(t,e,n){"use strict";n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return a})),n.d(e,"d",(function(){return u})),n.d(e,"e",(function(){return l})),n.d(e,"f",(function(){return c})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return p})),n.d(e,"j",(function(){return d})),n.d(e,"k",(function(){return g})),n.d(e,"l",(function(){return y})),n.d(e,"m",(function(){return v})),n.d(e,"n",(function(){return _})),n.d(e,"o",(function(){return m})),n.d(e,"p",(function(){return x})),n.d(e,"q",(function(){return E})),n.d(e,"r",(function(){return w})),n.d(e,"s",(function(){return I})),n.d(e,"t",(function(){return C})),n.d(e,"u",(function(){return S})),n.d(e,"v",(function(){return O})),n.d(e,"w",(function(){return k})),n.d(e,"x",(function(){return L})),n.d(e,"y",(function(){return N})),n.d(e,"z",(function(){return P})),n.d(e,"A",(function(){return T})),n.d(e,"B",(function(){return R})),n.d(e,"C",(function(){return M})),n.d(e,"D",(function(){return A})),n.d(e,"E",(function(){return D})),n.d(e,"G",(function(){return F})),n.d(e,"H",(function(){return j})),n.d(e,"F",(function(){return G})),n.d(e,"a",(function(){return B})),n.d(e,"I",(function(){return U}));var i=n(75),r=n(36),o=n(9);function s(t){for(var e=d(),n=0,i=t.length;n<i;++n)E(e,t[n]);return e}function a(t,e,n){return n?(n[0]=t[0]-e,n[1]=t[1]-e,n[2]=t[2]+e,n[3]=t[3]+e,n):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function u(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function l(t,e,n){var i,r;return(i=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0)*i+(r=n<t[1]?t[1]-n:t[3]<n?n-t[3]:0)*r}function c(t,e){return f(t,e[0],e[1])}function h(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function f(t,e,n){return t[0]<=e&&e<=t[2]&&t[1]<=n&&n<=t[3]}function p(t,e){var n=t[0],i=t[1],o=t[2],s=t[3],a=e[0],u=e[1],l=r.a.UNKNOWN;return a<n?l|=r.a.LEFT:a>o&&(l|=r.a.RIGHT),u<i?l|=r.a.BELOW:u>s&&(l|=r.a.ABOVE),l===r.a.UNKNOWN&&(l=r.a.INTERSECTING),l}function d(){return[1/0,1/0,-1/0,-1/0]}function g(t,e,n,i,r){return r?(r[0]=t,r[1]=e,r[2]=n,r[3]=i,r):[t,e,n,i]}function y(t){return g(1/0,1/0,-1/0,-1/0,t)}function v(t,e){var n=t[0],i=t[1];return g(n,i,n,i,e)}function _(t,e,n,i,r){return w(y(r),t,e,n,i)}function m(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function x(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function E(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function w(t,e,n,i,r){for(;n<i;n+=r)b(t,e[n],e[n+1]);return t}function b(t,e,n){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],n),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],n)}function I(t,e){var n;return(n=e(S(t)))||(n=e(O(t)))||(n=e(M(t)))?n:(n=e(R(t)))||!1}function C(t){var e=0;return F(t)||(e=A(t)*P(t)),e}function S(t){return[t[0],t[1]]}function O(t){return[t[2],t[1]]}function k(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function L(t,e){var n;return e===i.a.BOTTOM_LEFT?n=S(t):e===i.a.BOTTOM_RIGHT?n=O(t):e===i.a.TOP_LEFT?n=R(t):e===i.a.TOP_RIGHT?n=M(t):Object(o.a)(!1,13),n}function N(t,e,n,i,r){var o=e*i[0]/2,s=e*i[1]/2,a=Math.cos(n),u=Math.sin(n),l=o*a,c=o*u,h=s*a,f=s*u,p=t[0],d=t[1],y=p-l+f,v=p-l-f,_=p+l-f,m=p+l+f,x=d-c-h,E=d-c+h,w=d+c+h,b=d+c-h;return g(Math.min(y,v,_,m),Math.min(x,E,w,b),Math.max(y,v,_,m),Math.max(x,E,w,b),r)}function P(t){return t[3]-t[1]}function T(t,e,n){var i=n||[1/0,1/0,-1/0,-1/0];return D(t,e)?(t[0]>e[0]?i[0]=t[0]:i[0]=e[0],t[1]>e[1]?i[1]=t[1]:i[1]=e[1],t[2]<e[2]?i[2]=t[2]:i[2]=e[2],t[3]<e[3]?i[3]=t[3]:i[3]=e[3]):y(i),i}function R(t){return[t[0],t[3]]}function M(t){return[t[2],t[3]]}function A(t){return t[2]-t[0]}function D(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function F(t){return t[2]<t[0]||t[3]<t[1]}function j(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}function G(t,e,n){var i=!1,o=p(t,e),s=p(t,n);if(o===r.a.INTERSECTING||s===r.a.INTERSECTING)i=!0;else{var a=t[0],u=t[1],l=t[2],c=t[3],h=e[0],f=e[1],d=n[0],g=n[1],y=(g-f)/(d-h),v=void 0,_=void 0;s&r.a.ABOVE&&!(o&r.a.ABOVE)&&(i=(v=d-(g-c)/y)>=a&&v<=l),i||!(s&r.a.RIGHT)||o&r.a.RIGHT||(i=(_=g-(d-l)*y)>=u&&_<=c),i||!(s&r.a.BELOW)||o&r.a.BELOW||(i=(v=d-(g-u)/y)>=a&&v<=l),i||!(s&r.a.LEFT)||o&r.a.LEFT||(i=(_=g-(d-a)*y)>=u&&_<=c)}return i}function B(t,e,n,i){var r=[];if(i>1)for(var o=t[2]-t[0],s=t[3]-t[1],a=0;a<i;++a)r.push(t[0]+o*a/i,t[1],t[2],t[1]+s*a/i,t[2]-o*a/i,t[3],t[0],t[3]-s*a/i);else r=[t[0],t[1],t[2],t[1],t[2],t[3],t[0],t[3]];e(r,r,2);for(var u=[],l=[],c=(a=0,r.length);a<c;a+=2)u.push(r[a]),l.push(r[a+1]);return function(t,e,n){return g(Math.min.apply(null,t),Math.min.apply(null,e),Math.max.apply(null,t),Math.max.apply(null,e),n)}(u,l,n)}function U(t,e){var n=e.getExtent(),i=k(t);if(e.canWrapX()&&(i[0]<n[0]||i[0]>=n[2])){var r=A(n),o=Math.floor((i[0]-n[0])/r)*r;t[0]-=o,t[2]-=o}return t}},function(t,e,n){"use strict";e.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"}},function(t,e,n){"use strict";function i(){return function(){throw new Error("Unimplemented abstract method.")}()}n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return s}));var r=0;function o(t){return t.ol_uid||(t.ol_uid=String(++r))}var s="6.14.1"},function(t,e,n){"use strict";n.d(e,"a",(function(){return r.a})),n.d(e,"c",(function(){return k})),n.d(e,"h",(function(){return T})),n.d(e,"i",(function(){return R})),n.d(e,"b",(function(){return A})),n.d(e,"d",(function(){return D})),n.d(e,"k",(function(){return F})),n.d(e,"j",(function(){return j})),n.d(e,"p",(function(){return G})),n.d(e,"q",(function(){return B})),n.d(e,"l",(function(){return V})),n.d(e,"m",(function(){return X})),n.d(e,"e",(function(){return W})),n.d(e,"n",(function(){return H})),n.d(e,"f",(function(){return Z})),n.d(e,"o",(function(){return K})),n.d(e,"g",(function(){return J}));var i,r=n(24),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}(),s=n(4),a=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=6378137*Math.PI,l=[-u,-u,u,u],c=[-180,-85,180,85],h=6378137*Math.log(Math.tan(Math.PI/2)),f=function(t){function e(e){return t.call(this,{code:e,units:r.b.METERS,extent:l,global:!0,worldExtent:c,getPointResolution:function(t,e){return t/Object(s.c)(e[1]/6378137)}})||this}return a(e,t),e}(o),p=[new f("EPSG:3857"),new f("EPSG:102100"),new f("EPSG:102113"),new f("EPSG:900913"),new f("http://www.opengis.net/def/crs/EPSG/0/3857"),new f("http://www.opengis.net/gml/srs/epsg.xml#3857")];function d(t,e,n){var i=t.length,r=n>1?n:2,o=e;void 0===o&&(o=r>2?t.slice():new Array(i));for(var s=0;s<i;s+=r){o[s]=u*t[s]/180;var a=6378137*Math.log(Math.tan(Math.PI*(+t[s+1]+90)/360));a>h?a=h:a<-h&&(a=-h),o[s+1]=a}return o}function g(t,e,n){var i=t.length,r=n>1?n:2,o=e;void 0===o&&(o=r>2?t.slice():new Array(i));for(var s=0;s<i;s+=r)o[s]=180*t[s]/u,o[s+1]=360*Math.atan(Math.exp(t[s+1]/6378137))/Math.PI-90;return o}var y=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),v=[-180,-90,180,90],_=6378137*Math.PI/180,m=function(t){function e(e,n){return t.call(this,{code:e,units:r.b.DEGREES,extent:v,axisOrientation:n,global:!0,metersPerUnit:_,worldExtent:v})||this}return y(e,t),e}(o),x=[new m("CRS:84"),new m("EPSG:4326","neu"),new m("urn:ogc:def:crs:OGC:1.3:CRS84"),new m("urn:ogc:def:crs:OGC:2:84"),new m("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new m("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new m("http://www.opengis.net/def/crs/EPSG/0/4326","neu")],E={};n(8);var w={};function b(t,e,n){var i=t.getCode(),r=e.getCode();i in w||(w[i]={}),w[i][r]=n}var I=n(0),C=n(17),S=n(67),O=!0;function k(t){O=!(void 0===t||t)}function L(t,e,n){var i;if(void 0!==e){for(var r=0,o=t.length;r<o;++r)e[r]=t[r];i=e}else i=t.slice();return i}function N(t,e,n){if(void 0!==e&&t!==e){for(var i=0,r=t.length;i<r;++i)e[i]=t[i];t=e}return t}function P(t){!function(t,e){E[t]=e}(t.getCode(),t),b(t,t,L)}function T(t){return"string"==typeof t?E[e=t]||E[e.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null:t||null;var e}function R(t,e,n,i){var o,s=(t=T(t)).getPointResolutionFunc();if(s){if(o=s(e,n),i&&i!==t.getUnits())(u=t.getMetersPerUnit())&&(o=o*u/r.a[i])}else{var a=t.getUnits();if(a==r.b.DEGREES&&!i||i==r.b.DEGREES)o=e;else{var u,l=F(t,T("EPSG:4326"));if(l===N&&a!==r.b.DEGREES)o=e*t.getMetersPerUnit();else{var c=[n[0]-e/2,n[1],n[0]+e/2,n[1],n[0],n[1]-e/2,n[0],n[1]+e/2];c=l(c,c,2),o=(Object(S.b)(c.slice(0,2),c.slice(2,4))+Object(S.b)(c.slice(4,6),c.slice(6,8)))/2}void 0!==(u=i?r.a[i]:t.getMetersPerUnit())&&(o/=u)}}return o}function M(t){!function(t){t.forEach(P)}(t),t.forEach((function(e){t.forEach((function(t){e!==t&&b(e,t,L)}))}))}function A(t,e){return t?"string"==typeof t?T(t):t:T(e)}function D(t,e){if(t===e)return!0;var n=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||F(t,e)===L)&&n}function F(t,e){var n=function(t,e){var n;return t in w&&e in w[t]&&(n=w[t][e]),n}(t.getCode(),e.getCode());return n||(n=N),n}function j(t,e){return F(T(t),T(e))}function G(t,e,n){return j(e,n)(t,void 0,t.length)}function B(t,e,n,i){var r=j(e,n);return Object(I.a)(t,r,void 0,i)}var U,q,z,Y=null;function V(){return Y}function X(t,e){return Y?G(t,e,Y):t}function W(t,e){return Y?G(t,Y,e):(O&&!Object(C.e)(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(O=!1,console.warn("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t)}function H(t,e){return Y?B(t,e,Y):t}function Z(t,e){return Y?B(t,Y,e):t}function K(t,e){if(!Y)return t;var n=T(e).getUnits(),i=Y.getUnits();return n&&i?t*r.a[n]/r.a[i]:t}function J(t,e){if(!Y)return t;var n=T(e).getUnits(),i=Y.getUnits();return n&&i?t*r.a[i]/r.a[n]:t}M(p),M(x),U=p,q=d,z=g,x.forEach((function(t){U.forEach((function(e){b(t,e,q),b(e,t,z)}))}))},function(t,e,n){"use strict";function i(t,e,n){return Math.min(Math.max(t,e),n)}n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"k",(function(){return s})),n.d(e,"j",(function(){return a})),n.d(e,"i",(function(){return u})),n.d(e,"l",(function(){return l})),n.d(e,"m",(function(){return c})),n.d(e,"g",(function(){return h})),n.d(e,"e",(function(){return f})),n.d(e,"h",(function(){return d})),n.d(e,"d",(function(){return g})),n.d(e,"a",(function(){return y}));var r="cosh"in Math?Math.cosh:function(t){var e=Math.exp(t);return(e+1/e)/2},o="log2"in Math?Math.log2:function(t){return Math.log(t)*Math.LOG2E};function s(t,e,n,i,r,o){var s=r-n,u=o-i;if(0!==s||0!==u){var l=((t-n)*s+(e-i)*u)/(s*s+u*u);l>1?(n=r,i=o):l>0&&(n+=s*l,i+=u*l)}return a(t,e,n,i)}function a(t,e,n,i){var r=n-t,o=i-e;return r*r+o*o}function u(t){for(var e=t.length,n=0;n<e;n++){for(var i=n,r=Math.abs(t[n][n]),o=n+1;o<e;o++){var s=Math.abs(t[o][n]);s>r&&(r=s,i=o)}if(0===r)return null;var a=t[i];t[i]=t[n],t[n]=a;for(var u=n+1;u<e;u++)for(var l=-t[u][n]/t[n][n],c=n;c<e+1;c++)n==c?t[u][c]=0:t[u][c]+=l*t[n][c]}for(var h=new Array(e),f=e-1;f>=0;f--){h[f]=t[f][e]/t[f][f];for(var p=f-1;p>=0;p--)t[p][e]-=t[p][f]*h[f]}return h}function l(t){return 180*t/Math.PI}function c(t){return t*Math.PI/180}function h(t,e){var n=t%e;return n*e<0?n+e:n}function f(t,e,n){return t+n*(e-t)}function p(t,e){var n=Math.pow(10,e);return Math.round(t*n)/n}function d(t,e){return Math.round(p(t,e))}function g(t,e){return Math.floor(p(t,e))}function y(t,e){return Math.ceil(p(t,e))}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return s}));var i=n(8);function r(t,e,n,i,r){if(i&&i!==t&&(n=n.bind(i)),r){var o=n;n=function(){t.removeEventListener(e,n),o.apply(this,arguments)}}var s={target:t,type:e,listener:n};return t.addEventListener(e,n),s}function o(t,e,n,i){return r(t,e,n,i,!0)}function s(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),Object(i.b)(t))}},function(t,e,n){"use strict";e.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"}},function(t,e,n){"use strict";n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return c})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return f})),n.d(e,"f",(function(){return p})),n.d(e,"g",(function(){return d})),n.d(e,"i",(function(){return g})),n.d(e,"k",(function(){return y})),n.d(e,"l",(function(){return v})),n.d(e,"m",(function(){return _})),n.d(e,"j",(function(){return m})),n.d(e,"h",(function(){return x})),n.d(e,"a",(function(){return E})),n.d(e,"q",(function(){return S})),n.d(e,"p",(function(){return N})),n.d(e,"o",(function(){return P})),n.d(e,"n",(function(){return T}));var i=n(27),r=n(49),o=n(28),s=n(8),a=n(18),u=n(23),l="10px sans-serif",c="#000",h="round",f=[],p=0,d="round",g=10,y="#000",v="center",_="middle",m=[0,0,0,0],x=1,E=new i.a;(new r.a).setSize=function(){console.warn("labelCache is deprecated.")};var w,b,I=null,C={},S=function(){var t,e,n=["monospace","serif"],i=n.length,r="wmytzilWMYTZIL@#/&?$%10";function o(t,o,s){for(var a=!0,u=0;u<i;++u){var l=n[u];if(e=L(t+" "+o+" 32px "+l,r),s!=l){var c=L(t+" "+o+" 32px "+s+","+l,r);a=a&&c!=e}}return!!a}function a(){for(var e=!0,n=E.getKeys(),i=0,r=n.length;i<r;++i){var a=n[i];E.get(a)<100&&(o.apply(this,a.split("\n"))?(Object(s.b)(C),I=null,w=void 0,E.set(a,100)):(E.set(a,E.get(a)+1,!0),e=!1))}e&&(clearInterval(t),t=void 0)}return function(e){var n=Object(u.g)(e);if(n)for(var i=n.families,r=0,s=i.length;r<s;++r){var l=i[r],c=n.style+"\n"+n.weight+"\n"+l;void 0===E.get(c)&&(E.set(c,100,!0),o(n.style,n.weight,l)||(E.set(c,0,!0),void 0===t&&(t=setInterval(a,32))))}}}(),O=function(t){var e=C[t];if(null==e){if(o.g){var n=Object(u.g)(t),i=k(t,"Žg");e=(isNaN(Number(n.lineHeight))?1.2:Number(n.lineHeight))*(i.actualBoundingBoxAscent+i.actualBoundingBoxDescent)}else b||((b=document.createElement("div")).innerHTML="M",b.style.minHeight="0",b.style.maxHeight="none",b.style.height="auto",b.style.padding="0",b.style.border="none",b.style.position="absolute",b.style.display="block",b.style.left="-99999px"),b.style.font=t,document.body.appendChild(b),e=b.offsetHeight,document.body.removeChild(b);C[t]=e}return e};function k(t,e){return I||(I=Object(a.a)(1,1)),t!=w&&(I.font=t,w=I.font),I.measureText(e)}function L(t,e){return k(t,e).width}function N(t,e,n){if(e in n)return n[e];var i=L(t,e);return n[e]=i,i}function P(t,e){for(var n=[],i=[],r=[],o=0,s=0,a=0,u=0,l=0,c=e.length;l<=c;l+=2){var h=e[l];if("\n"!==h&&l!==c){var f=e[l+1]||t.font,p=L(f,h);n.push(p),s+=p;var d=O(f);i.push(d),u=Math.max(u,d)}else o=Math.max(o,s),r.push(s),s=0,a+=u}return{width:o,height:a,widths:n,heights:i,lineWidths:r}}function T(t,e,n,i,r,o,s,a,u,l,c){t.save(),1!==n&&(t.globalAlpha*=n),e&&t.setTransform.apply(t,e),i.contextInstructions?(t.translate(u,l),t.scale(c[0],c[1]),function(t,e){for(var n=t.contextInstructions,i=0,r=n.length;i<r;i+=2)Array.isArray(n[i+1])?e[n[i]].apply(e,n[i+1]):e[n[i]]=n[i+1]}(i,t)):c[0]<0||c[1]<0?(t.translate(u,l),t.scale(c[0],c[1]),t.drawImage(i,r,o,s,a,0,0,s,a)):t.drawImage(i,r,o,s,a,u,l,s*c[0],a*c[1]),t.restore()}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"d",(function(){return s}));var i="function"==typeof Object.assign?Object.assign:function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),i=1,r=arguments.length;i<r;++i){var o=arguments[i];if(null!=o)for(var s in o)o.hasOwnProperty(s)&&(n[s]=o[s])}return n};function r(t){for(var e in t)delete t[e]}var o="function"==typeof Object.values?Object.values:function(t){var e=[];for(var n in t)e.push(t[n]);return e};function s(t){var e;for(e in t)return!1;return!e}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i=n(93);function r(t,e){if(!t)throw new i.a(e)}},function(t,e,n){"use strict";n.d(e,"c",(function(){return s})),n.d(e,"f",(function(){return u})),n.d(e,"a",(function(){return l})),n.d(e,"e",(function(){return c})),n.d(e,"b",(function(){return h})),n.d(e,"d",(function(){return f})),n.d(e,"g",(function(){return p}));var i,r=n(28),o=n(9);new Array(6);function s(){return[1,0,0,1,0,0]}function a(t,e,n,i,r,o,s){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t[4]=o,t[5]=s,t}function u(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function l(t,e){var n=e[0],i=e[1];return e[0]=t[0]*n+t[2]*i+t[4],e[1]=t[1]*n+t[3]*i+t[5],e}function c(t,e,n){return a(t,e,0,0,n,0,0)}function h(t,e,n,i,r,o,s,a){var u=Math.sin(o),l=Math.cos(o);return t[0]=i*l,t[1]=r*u,t[2]=-i*u,t[3]=r*l,t[4]=s*i*l-a*i*u+e,t[5]=s*r*u+a*r*l+n,t}function f(t,e){var n,i=(n=e)[0]*n[3]-n[1]*n[2];Object(o.a)(0!==i,32);var r=e[0],s=e[1],a=e[2],u=e[3],l=e[4],c=e[5];return t[0]=u/i,t[1]=-s/i,t[2]=-a/i,t[3]=r/i,t[4]=(a*c-u*l)/i,t[5]=-(r*c-s*l)/i,t}function p(t){var e="matrix("+t.join(", ")+")";if(r.g)return e;var n=i||(i=document.createElement("div"));return n.style.transform=e,n.style.transform}},function(t,e,n){"use strict";function i(t,e,n){for(var i,o,s=n||r,a=0,u=t.length,l=!1;a<u;)(o=+s(t[i=a+(u-a>>1)],e))<0?a=i+1:(u=i,l=!o);return l?a:~a}function r(t,e){return t>e?1:t<e?-1:0}function o(t,e){return t.indexOf(e)>=0}function s(t,e,n){var i=t.length;if(t[0]<=e)return 0;if(e<=t[i-1])return i-1;var r=void 0;if(n>0){for(r=1;r<i;++r)if(t[r]<e)return r-1}else if(n<0){for(r=1;r<i;++r)if(t[r]<=e)return r}else for(r=1;r<i;++r){if(t[r]==e)return r;if(t[r]<e)return"function"==typeof n?n(e,t[r-1],t[r])>0?r-1:r:t[r-1]-e<e-t[r]?r-1:r}return i-1}function a(t,e,n){for(;e<n;){var i=t[e];t[e]=t[n],t[n]=i,++e,--n}}function u(t,e){for(var n=Array.isArray(e)?e:[e],i=n.length,r=0;r<i;r++)t[t.length]=n[r]}function l(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function c(t,e,n){var i=e||r;return t.every((function(e,r){if(0===r)return!0;var o=i(t[r-1],e);return!(o>0||n&&0===o)}))}n.d(e,"a",(function(){return i})),n.d(e,"g",(function(){return r})),n.d(e,"d",(function(){return o})),n.d(e,"f",(function(){return s})),n.d(e,"h",(function(){return a})),n.d(e,"c",(function(){return u})),n.d(e,"b",(function(){return l})),n.d(e,"e",(function(){return c}))},function(t,e,n){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},function(t,e,n){"use strict";e.a={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4}},function(t,e,n){"use strict";var i=n(6);e.a={SINGLECLICK:"singleclick",CLICK:i.a.CLICK,DBLCLICK:i.a.DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return l})),n.d(e,"f",(function(){return c})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return f})),n.d(e,"g",(function(){return p})),n.d(e,"i",(function(){return d})),n.d(e,"m",(function(){return g})),n.d(e,"j",(function(){return y})),n.d(e,"l",(function(){return v})),n.d(e,"n",(function(){return _})),n.d(e,"h",(function(){return m})),n.d(e,"k",(function(){return x}));var i=n(14),r=n(16),o=n(28),s=n(9);function a(t){var e=arguments;return function(t){for(var n=!0,i=0,r=e.length;i<r&&(n=n&&e[i](t));++i);return n}}var u=function(t){var e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},l=function(t){var e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},c=function(t){return!t.map.getTargetElement().hasAttribute("tabindex")||function(t){var e=t.map.getTargetElement(),n=t.map.getOwnerDocument().activeElement;return e.contains(n)}(t)},h=r.b,f=function(t){return t.type==i.a.CLICK},p=function(t){var e=t.originalEvent;return 0==e.button&&!(o.f&&o.d&&e.ctrlKey)},d=r.a,g=function(t){return t.type==i.a.SINGLECLICK},y=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},v=function(t){var e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},_=function(t){var e=t.originalEvent.target.tagName;return"INPUT"!==e&&"SELECT"!==e&&"TEXTAREA"!==e},m=function(t){var e=t.originalEvent;return Object(s.a)(void 0!==e,56),"mouse"==e.pointerType},x=function(t){var e=t.originalEvent;return Object(s.a)(void 0!==e,56),e.isPrimary&&0===e.button}},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"d",(function(){return a}));var i=n(11);function r(){return!0}function o(){return!1}function s(){}function a(t){var e,n,r,o=!1;return function(){var s=Array.prototype.slice.call(arguments);return o&&this===r&&Object(i.b)(s,n)||(o=!0,r=this,n=s,e=t.apply(this,arguments)),e}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return s})),n.d(e,"e",(function(){return a})),n.d(e,"g",(function(){return u})),n.d(e,"h",(function(){return l})),n.d(e,"i",(function(){return c})),n.d(e,"d",(function(){return h})),n.d(e,"j",(function(){return f})),n.d(e,"k",(function(){return p})),n.d(e,"f",(function(){return d}));var i=n(0);n(4),n(87);function r(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function o(t,e){var n=e.getRadius(),i=e.getCenter(),r=i[0],o=i[1],s=t[0]-r,a=t[1]-o;0===s&&0===a&&(s=1);var u=Math.sqrt(s*s+a*a);return[r+n*s/u,o+n*a/u]}function s(t,e){var n,i,r=t[0],o=t[1],s=e[0],a=e[1],u=s[0],l=s[1],c=a[0],h=a[1],f=c-u,p=h-l,d=0===f&&0===p?0:(f*(r-u)+p*(o-l))/(f*f+p*p||0);return d<=0?(n=u,i=l):d>=1?(n=c,i=h):(n=u+d*f,i=l+d*p),[n,i]}function a(t,e){for(var n=!0,i=t.length-1;i>=0;--i)if(t[i]!=e[i]){n=!1;break}return n}function u(t,e){var n=Math.cos(e),i=Math.sin(e),r=t[0]*n-t[1]*i,o=t[1]*n+t[0]*i;return t[0]=r,t[1]=o,t}function l(t,e){return t[0]*=e,t[1]*=e,t}function c(t,e){var n=t[0]-e[0],i=t[1]-e[1];return n*n+i*i}function h(t,e){return Math.sqrt(c(t,e))}function f(t,e){return c(t,s(t,e))}function p(t,e){if(e.canWrapX()){var n=Object(i.D)(e.getExtent()),r=d(t,e,n);r&&(t[0]-=r*n)}return t}function d(t,e,n){var r=e.getExtent(),o=0;if(e.canWrapX()&&(t[0]<r[0]||t[0]>r[2])){var s=n||Object(i.D)(r);o=Math.floor((t[0]-r[0])/s)}return o}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"g",(function(){return a})),n.d(e,"e",(function(){return u})),n.d(e,"d",(function(){return l})),n.d(e,"f",(function(){return c}));var i=n(28);function r(t,e,n,r){var o;return o=n&&n.length?n.shift():i.g?new OffscreenCanvas(t||300,e||300):document.createElement("canvas"),t&&(o.width=t),e&&(o.height=e),o.getContext("2d",r)}function o(t){var e=t.offsetWidth,n=getComputedStyle(t);return e+=parseInt(n.marginLeft,10)+parseInt(n.marginRight,10)}function s(t){var e=t.offsetHeight,n=getComputedStyle(t);return e+=parseInt(n.marginTop,10)+parseInt(n.marginBottom,10)}function a(t,e){var n=e.parentNode;n&&n.replaceChild(t,e)}function u(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function l(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function c(t,e){for(var n=t.childNodes,i=0;;++i){var r=n[i],o=e[i];if(!r&&!o)break;r!==o&&(r?o?t.insertBefore(o,r):(t.removeChild(r),--i):t.appendChild(o))}}},function(t,e,n){"use strict";e.a={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source",MAP:"map"}},function(t,e,n){"use strict";e.a={ADD:"add",REMOVE:"remove"}},function(t,e,n){"use strict";e.a={XY:"XY",XYZ:"XYZ",XYM:"XYM",XYZM:"XYZM"}},function(t,e,n){"use strict";var i=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}();e.a=i},function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"d",(function(){return r})),n.d(e,"e",(function(){return o})),n.d(e,"b",(function(){return s})),n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return c})),n.d(e,"f",(function(){return h}));var i="ol-hidden",r="ol-selectable",o="ol-unselectable",s="ol-control",a="ol-collapsed",u=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"),l=["style","variant","weight","size","lineHeight","family"],c=function(t){var e=t.match(u);if(!e)return null;for(var n={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"},i=0,r=l.length;i<r;++i){var o=e[i+1];void 0!==o&&(n[l[i]]=o)}return n.families=n.family.split(/,\s?/),n};function h(t){return 1===t?"":String(Math.round(100*t)/100)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var i={RADIANS:"radians",DEGREES:"degrees",FEET:"ft",METERS:"m",PIXELS:"pixels",TILE_PIXELS:"tile-pixels",USFEET:"us-ft"};var r={};r[i.RADIANS]=6370997/(2*Math.PI),r[i.DEGREES]=2*Math.PI*6370997/360,r[i.FEET]=.3048,r[i.METERS]=1,r[i.USFEET]=1200/3937,e.b=i},function(t,e,n){"use strict";n.d(e,"c",(function(){return b})),n.d(e,"b",(function(){return I})),n.d(e,"d",(function(){return C}));var i,r=n(21),o=n(1),s=n(114),a=n(32),u=n(37),l=n(45),c=n(0),h=n(41),f=n(11),p=n(102),d=n(33),g=n(66),y=n(72),v=n(79),_=n(52),m=n(4),x=n(50),E=(n(67),i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),w=function(t){function e(e,n,i){var r=t.call(this)||this;return r.ends_=[],r.flatInteriorPointRevision_=-1,r.flatInteriorPoint_=null,r.maxDelta_=-1,r.maxDeltaRevision_=-1,r.orientedRevision_=-1,r.orientedFlatCoordinates_=null,void 0!==n&&i?(r.setFlatCoordinates(n,e),r.ends_=i):r.setCoordinates(e,n),r}return E(e,t),e.prototype.appendLinearRing=function(t){this.flatCoordinates?Object(f.c)(this.flatCoordinates,t.getFlatCoordinates()):this.flatCoordinates=t.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()},e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,i){return i<Object(c.e)(this.getExtent(),t,e)?i:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(Object(l.a)(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Object(l.b)(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,t,e,n,i))},e.prototype.containsXY=function(t,e){return Object(_.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,e)},e.prototype.getArea=function(){return Object(v.b)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)},e.prototype.getCoordinates=function(t){var e;return void 0!==t?(e=this.getOrientedFlatCoordinates().slice(),Object(y.c)(e,0,this.ends_,this.stride,t)):e=this.flatCoordinates,Object(d.b)(e,0,this.ends_,this.stride)},e.prototype.getEnds=function(){return this.ends_},e.prototype.getFlatInteriorPoint=function(){if(this.flatInteriorPointRevision_!=this.getRevision()){var t=Object(c.w)(this.getExtent());this.flatInteriorPoint_=Object(p.a)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_},e.prototype.getInteriorPoint=function(){return new a.a(this.getFlatInteriorPoint(),r.a.XYM)},e.prototype.getLinearRingCount=function(){return this.ends_.length},e.prototype.getLinearRing=function(t){return t<0||this.ends_.length<=t?null:new s.a(this.flatCoordinates.slice(0===t?0:this.ends_[t-1],this.ends_[t]),this.layout)},e.prototype.getLinearRings=function(){for(var t=this.layout,e=this.flatCoordinates,n=this.ends_,i=[],r=0,o=0,a=n.length;o<a;++o){var u=n[o],l=new s.a(e.slice(r,u),t);i.push(l),r=u}return i},e.prototype.getOrientedFlatCoordinates=function(){if(this.orientedRevision_!=this.getRevision()){var t=this.flatCoordinates;Object(y.a)(t,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=t:(this.orientedFlatCoordinates_=t.slice(),this.orientedFlatCoordinates_.length=Object(y.c)(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_},e.prototype.getSimplifiedGeometryInternal=function(t){var n=[],i=[];return n.length=Object(x.c)(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(t),n,0,i),new e(n,r.a.XY,i)},e.prototype.getType=function(){return o.a.POLYGON},e.prototype.intersectsExtent=function(t){return Object(g.c)(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,t)},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,2),this.flatCoordinates||(this.flatCoordinates=[]);var n=Object(h.c)(this.flatCoordinates,0,t,this.stride,this.ends_);this.flatCoordinates.length=0===n.length?0:n[n.length-1],this.changed()},e}(u.a);function b(t){var e=t[0],n=t[1],i=t[2],o=t[3],s=[e,n,e,o,i,o,i,n,e,n];return new w(s,r.a.XY,[s.length])}function I(t,e,n){for(var i=e||32,r=t.getStride(),o=t.getLayout(),s=t.getCenter(),a=r*(i+1),u=new Array(a),l=0;l<a;l+=r){u[l]=0,u[l+1]=0;for(var c=2;c<r;c++)u[l+c]=s[c]}var h=[u.length],f=new w(u,o,h);return C(f,s,t.getRadius(),n),f}function C(t,e,n,i){for(var r=t.getFlatCoordinates(),o=t.getStride(),s=r.length/o-1,a=i||0,u=0;u<=s;++u){var l=u*o,c=a+2*Object(m.g)(u,s)*Math.PI/s;r[l]=e[0]+n*Math.cos(c),r[l+1]=e[1]+n*Math.sin(c)}t.changed()}e.a=w},function(t,e,n){"use strict";function i(t){return t[0]>0&&t[1]>0}function r(t,e,n){return void 0===n&&(n=[0,0]),n[0]=t[0]*e+.5|0,n[1]=t[1]*e+.5|0,n}function o(t,e){return Array.isArray(t)?t:(void 0===e?e=[t,t]:(e[0]=t,e[1]=t),e)}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o}))},function(t,e,n){"use strict";var i,r=n(22),o=n(56),s=n(100),a=n(8),u=n(2),l=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.key=n,r.oldValue=i,r}return l(e,t),e}(r.a),h=function(t){function e(e){var n=t.call(this)||this;return n.on,n.once,n.un,Object(u.c)(n),n.values_=null,void 0!==e&&n.setProperties(e),n}return l(e,t),e.prototype.get=function(t){var e;return this.values_&&this.values_.hasOwnProperty(t)&&(e=this.values_[t]),e},e.prototype.getKeys=function(){return this.values_&&Object.keys(this.values_)||[]},e.prototype.getProperties=function(){return this.values_&&Object(a.a)({},this.values_)||{}},e.prototype.hasProperties=function(){return!!this.values_},e.prototype.notify=function(t,e){var n;n="change:".concat(t),this.hasListener(n)&&this.dispatchEvent(new c(n,t,e)),n=o.a.PROPERTYCHANGE,this.hasListener(n)&&this.dispatchEvent(new c(n,t,e))},e.prototype.addChangeListener=function(t,e){this.addEventListener("change:".concat(t),e)},e.prototype.removeChangeListener=function(t,e){this.removeEventListener("change:".concat(t),e)},e.prototype.set=function(t,e,n){var i=this.values_||(this.values_={});if(n)i[t]=e;else{var r=i[t];i[t]=e,r!==e&&this.notify(t,r)}},e.prototype.setProperties=function(t,e){for(var n in t)this.set(n,t[n],e)},e.prototype.applyProperties=function(t){t.values_&&Object(a.a)(this.values_||(this.values_={}),t.values_)},e.prototype.unset=function(t,e){if(this.values_&&t in this.values_){var n=this.values_[t];delete this.values_[t],Object(a.d)(this.values_)&&(this.values_=null),e||this.notify(t,n)}},e}(s.a);e.a=h},function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"f",(function(){return o})),n.d(e,"d",(function(){return s})),n.d(e,"a",(function(){return a})),n.d(e,"g",(function(){return u})),n.d(e,"c",(function(){return l})),n.d(e,"e",(function(){return c}));var i="undefined"!=typeof navigator&&void 0!==navigator.userAgent?navigator.userAgent.toLowerCase():"",r=-1!==i.indexOf("firefox"),o=(-1!==i.indexOf("safari")&&-1==i.indexOf("chrom")&&(i.indexOf("version/15.4")>=0||i.match(/cpu (os|iphone os) 15_4 like mac os x/)),-1!==i.indexOf("webkit")&&-1==i.indexOf("edge")),s=-1!==i.indexOf("macintosh"),a="undefined"!=typeof devicePixelRatio?devicePixelRatio:1,u="undefined"!=typeof WorkerGlobalScope&&"undefined"!=typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,l="undefined"!=typeof Image&&Image.prototype.decode,c=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch(t){}return t}()},function(t,e,n){"use strict";var i,r=n(93),o=n(27),s=n(20),a=n(22),u=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l="length",c=function(t){function e(e,n,i){var r=t.call(this,e)||this;return r.element=n,r.index=i,r}return u(e,t),e}(a.a),h=function(t){function e(e,n){var i=t.call(this)||this;i.on,i.once,i.un;var r=n||{};if(i.unique_=!!r.unique,i.array_=e||[],i.unique_)for(var o=0,s=i.array_.length;o<s;++o)i.assertUnique_(i.array_[o],o);return i.updateLength_(),i}return u(e,t),e.prototype.clear=function(){for(;this.getLength()>0;)this.pop()},e.prototype.extend=function(t){for(var e=0,n=t.length;e<n;++e)this.push(t[e]);return this},e.prototype.forEach=function(t){for(var e=this.array_,n=0,i=e.length;n<i;++n)t(e[n],n,e)},e.prototype.getArray=function(){return this.array_},e.prototype.item=function(t){return this.array_[t]},e.prototype.getLength=function(){return this.get(l)},e.prototype.insertAt=function(t,e){this.unique_&&this.assertUnique_(e),this.array_.splice(t,0,e),this.updateLength_(),this.dispatchEvent(new c(s.a.ADD,e,t))},e.prototype.pop=function(){return this.removeAt(this.getLength()-1)},e.prototype.push=function(t){this.unique_&&this.assertUnique_(t);var e=this.getLength();return this.insertAt(e,t),this.getLength()},e.prototype.remove=function(t){for(var e=this.array_,n=0,i=e.length;n<i;++n)if(e[n]===t)return this.removeAt(n)},e.prototype.removeAt=function(t){var e=this.array_[t];return this.array_.splice(t,1),this.updateLength_(),this.dispatchEvent(new c(s.a.REMOVE,e,t)),e},e.prototype.setAt=function(t,e){var n=this.getLength();if(t<n){this.unique_&&this.assertUnique_(e,t);var i=this.array_[t];this.array_[t]=e,this.dispatchEvent(new c(s.a.REMOVE,i,t)),this.dispatchEvent(new c(s.a.ADD,e,t))}else{for(var r=n;r<t;++r)this.insertAt(r,void 0);this.insertAt(t,e)}},e.prototype.updateLength_=function(){this.set(l,this.array_.length)},e.prototype.assertUnique_=function(t,e){for(var n=0,i=this.array_.length;n<i;++n)if(this.array_[n]===t&&n!==e)throw new r.a(58)},e}(o.a);e.a=h},function(t,e,n){"use strict";e.a={ANIMATING:0,INTERACTING:1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var i,r=n(38),o=n(14),s=n(8),a=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(t){function e(e){var n=this,i=e||{};return n=t.call(this,i)||this,i.handleDownEvent&&(n.handleDownEvent=i.handleDownEvent),i.handleDragEvent&&(n.handleDragEvent=i.handleDragEvent),i.handleMoveEvent&&(n.handleMoveEvent=i.handleMoveEvent),i.handleUpEvent&&(n.handleUpEvent=i.handleUpEvent),i.stopDown&&(n.stopDown=i.stopDown),n.handlingDownUpSequence=!1,n.trackedPointers_={},n.targetPointers=[],n}return a(e,t),e.prototype.getPointerCount=function(){return this.targetPointers.length},e.prototype.handleDownEvent=function(t){return!1},e.prototype.handleDragEvent=function(t){},e.prototype.handleEvent=function(t){if(!t.originalEvent)return!0;var e=!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 n=this.handleUpEvent(t);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(t.type==o.a.POINTERDOWN){var i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==o.a.POINTERMOVE&&this.handleMoveEvent(t);return!e},e.prototype.handleMoveEvent=function(t){},e.prototype.handleUpEvent=function(t){return!1},e.prototype.stopDown=function(t){return t},e.prototype.updateTrackedPointers_=function(t){if(function(t){var e=t.type;return e===o.a.POINTERDOWN||e===o.a.POINTERDRAG||e===o.a.POINTERUP}(t)){var e=t.originalEvent,n=e.pointerId.toString();t.type==o.a.POINTERUP?delete this.trackedPointers_[n]:(t.type==o.a.POINTERDOWN||n in this.trackedPointers_)&&(this.trackedPointers_[n]=e),this.targetPointers=Object(s.c)(this.trackedPointers_)}},e}(r.a);function l(t){for(var e=t.length,n=0,i=0,r=0;r<e;r++)n+=t[r].clientX,i+=t[r].clientY;return[n/e,i/e]}e.b=u},function(t,e,n){"use strict";var i,r=n(1),o=n(37),s=n(0),a=n(41),u=n(4),l=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(e,n){var i=t.call(this)||this;return i.setCoordinates(e,n),i}return l(e,t),e.prototype.clone=function(){var t=new e(this.flatCoordinates.slice(),this.layout);return t.applyProperties(this),t},e.prototype.closestPointXY=function(t,e,n,i){var r=this.flatCoordinates,o=Object(u.j)(t,e,r[0],r[1]);if(o<i){for(var s=this.stride,a=0;a<s;++a)n[a]=r[a];return n.length=s,o}return i},e.prototype.getCoordinates=function(){return this.flatCoordinates?this.flatCoordinates.slice():[]},e.prototype.computeExtent=function(t){return Object(s.m)(this.flatCoordinates,t)},e.prototype.getType=function(){return r.a.POINT},e.prototype.intersectsExtent=function(t){return Object(s.h)(t,this.flatCoordinates[0],this.flatCoordinates[1])},e.prototype.setCoordinates=function(t,e){this.setLayout(e,t,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Object(a.a)(this.flatCoordinates,0,t,this.stride),this.changed()},e}(o.a);e.a=c},function(t,e,n){"use strict";function i(t,e,n,i,r){for(var o=void 0!==r?r:[],s=0,a=e;a<n;a+=i)o[s++]=t.slice(a,a+i);return o.length=s,o}function r(t,e,n,r,o){for(var s=void 0!==o?o:[],a=0,u=0,l=n.length;u<l;++u){var c=n[u];s[a++]=i(t,e,c,r,s[a]),e=c}return s.length=a,s}function o(t,e,n,i,o){for(var s=void 0!==o?o:[],a=0,u=0,l=n.length;u<l;++u){var c=n[u];s[a++]=r(t,e,c,i,s[a]),e=c[c.length-1]}return s.length=a,s}n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o}))},function(t,e,n){"use strict";var i,r=n(27),o=n(6),s=n(9),a=n(5),u=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),l=function(t){function e(e){var n=t.call(this)||this;if(n.on,n.once,n.un,n.id_=void 0,n.geometryName_="geometry",n.style_=null,n.styleFunction_=void 0,n.geometryChangeKey_=null,n.addChangeListener(n.geometryName_,n.handleGeometryChanged_),e)if("function"==typeof e.getSimplifiedGeometry){var i=e;n.setGeometry(i)}else{var r=e;n.setProperties(r)}return n}return u(e,t),e.prototype.clone=function(){var t=new e(this.hasProperties()?this.getProperties():null);t.setGeometryName(this.getGeometryName());var n=this.getGeometry();n&&t.setGeometry(n.clone());var i=this.getStyle();return i&&t.setStyle(i),t},e.prototype.getGeometry=function(){return this.get(this.geometryName_)},e.prototype.getId=function(){return this.id_},e.prototype.getGeometryName=function(){return this.geometryName_},e.prototype.getStyle=function(){return this.style_},e.prototype.getStyleFunction=function(){return this.styleFunction_},e.prototype.handleGeometryChange_=function(){this.changed()},e.prototype.handleGeometryChanged_=function(){this.geometryChangeKey_&&(Object(a.c)(this.geometryChangeKey_),this.geometryChangeKey_=null);var t=this.getGeometry();t&&(this.geometryChangeKey_=Object(a.a)(t,o.a.CHANGE,this.handleGeometryChange_,this)),this.changed()},e.prototype.setGeometry=function(t){this.set(this.geometryName_,t)},e.prototype.setStyle=function(t){this.style_=t,this.styleFunction_=t?function(t){if("function"==typeof t)return t;var e;Array.isArray(t)?e=t:(Object(s.a)("function"==typeof t.getZIndex,41),e=[t]);return function(){return e}}(t):void 0,this.changed()},e.prototype.setId=function(t){this.id_=t,this.changed()},e.prototype.setGeometryName=function(t){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=t,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()},e}(r.a);e.a=l},function(t,e,n){"use strict";function i(t,e,n,i,r,o){for(var s=o||[],a=0,u=e;u<n;u+=i){var l=t[u],c=t[u+1];s[a++]=r[0]*l+r[2]*c+r[4],s[a++]=r[1]*l+r[3]*c+r[5]}return o&&s.length!=a&&(s.length=a),s}function r(t,e,n,i,r,o,s){for(var a=s||[],u=Math.cos(r),l=Math.sin(r),c=o[0],h=o[1],f=0,p=e;p<n;p+=i){var d=t[p]-c,g=t[p+1]-h;a[f++]=c+d*u-g*l,a[f++]=h+d*l+g*u;for(var y=p+2;y<p+i;++y)a[f++]=t[y]}return s&&a.length!=f&&(a.length=f),a}function o(t,e,n,i,r,o,s,a){for(var u=a||[],l=s[0],c=s[1],h=0,f=e;f<n;f+=i){var p=t[f]-l,d=t[f+1]-c;u[h++]=l+r*p,u[h++]=c+o*d;for(var g=f+2;g<f+i;++g)u[h++]=t[g]}return a&&u.length!=h&&(u.length=h),u}function s(t,e,n,i,r,o,s){for(var a=s||[],u=0,l=e;l<n;l+=i){a[u++]=t[l]+r,a[u++]=t[l+1]+o;for(var c=l+2;c<l+i;++c)a[u++]=t[c]}return s&&a.length!=u&&(a.length=u),a}n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return s}))},function(t,e,n){"use strict";e.a={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16}},function(t,e,n){"use strict";n.d(e,"b",(function(){return f}));var i,r=n(103),o=n(21),s=n(2),a=n(0),u=n(35),l=(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),c=function(t){function e(){var e=t.call(this)||this;return e.layout=o.a.XY,e.stride=2,e.flatCoordinates=null,e}return l(e,t),e.prototype.computeExtent=function(t){return Object(a.n)(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,t)},e.prototype.getCoordinates=function(){return Object(s.b)()},e.prototype.getFirstCoordinate=function(){return this.flatCoordinates.slice(0,this.stride)},e.prototype.getFlatCoordinates=function(){return this.flatCoordinates},e.prototype.getLastCoordinate=function(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)},e.prototype.getLayout=function(){return this.layout},e.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 e=this.getSimplifiedGeometryInternal(t);return e.getFlatCoordinates().length<this.flatCoordinates.length?e:(this.simplifiedGeometryMaxMinSquaredTolerance=t,this)},e.prototype.getSimplifiedGeometryInternal=function(t){return this},e.prototype.getStride=function(){return this.stride},e.prototype.setFlatCoordinates=function(t,e){this.stride=h(t),this.layout=t,this.flatCoordinates=e},e.prototype.setCoordinates=function(t,e){Object(s.b)()},e.prototype.setLayout=function(t,e,n){var i;if(t)i=h(t);else{for(var r=0;r<n;++r){if(0===e.length)return this.layout=o.a.XY,void(this.stride=2);e=e[0]}t=function(t){var e;2==t?e=o.a.XY:3==t?e=o.a.XYZ:4==t&&(e=o.a.XYZM);return e}(i=e.length)}this.layout=t,this.stride=i},e.prototype.applyTransform=function(t){this.flatCoordinates&&(t(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())},e.prototype.rotate=function(t,e){var n=this.getFlatCoordinates();if(n){var i=this.getStride();Object(u.a)(n,0,n.length,i,t,e,n),this.changed()}},e.prototype.scale=function(t,e,n){var i=e;void 0===i&&(i=t);var r=n;r||(r=Object(a.w)(this.getExtent()));var o=this.getFlatCoordinates();if(o){var s=this.getStride();Object(u.b)(o,0,o.length,s,t,i,r,o),this.changed()}},e.prototype.translate=function(t,e){var n=this.getFlatC