@planet/maps 7.1.0 → 8.0.0-dev.1666713300824

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/LICENSE +202 -0
  2. package/config.js +32 -0
  3. package/lib/Map.js +70 -0
  4. package/lib/Overlay.js +24 -0
  5. package/lib/View.js +24 -0
  6. package/lib/control/Attribution.js +24 -0
  7. package/lib/control/Control.js +24 -0
  8. package/lib/control/FullScreen.js +24 -0
  9. package/lib/control/MousePosition.js +24 -0
  10. package/lib/control/OverviewMap.js +24 -0
  11. package/lib/control/Rotate.js +24 -0
  12. package/lib/control/ScaleLine.js +24 -0
  13. package/lib/control/Zoom.js +24 -0
  14. package/lib/control/ZoomSlider.js +24 -0
  15. package/lib/control/ZoomToExtent.js +24 -0
  16. package/lib/interaction/DoubleClickZoom.js +24 -0
  17. package/lib/interaction/DragAndDrop.js +24 -0
  18. package/lib/interaction/DragBox.js +24 -0
  19. package/lib/interaction/DragPan.js +24 -0
  20. package/lib/interaction/DragRotate.js +24 -0
  21. package/lib/interaction/DragRotateAndZoom.js +28 -0
  22. package/lib/interaction/DragZoom.js +24 -0
  23. package/lib/interaction/Draw.js +24 -0
  24. package/lib/interaction/Extent.js +24 -0
  25. package/lib/interaction/Interaction.js +24 -0
  26. package/lib/interaction/KeyboardPan.js +24 -0
  27. package/lib/interaction/KeyboardZoom.js +24 -0
  28. package/lib/interaction/Link.js +24 -0
  29. package/lib/interaction/Modify.js +24 -0
  30. package/lib/interaction/MouseWheelZoom.js +24 -0
  31. package/lib/interaction/PinchRotate.js +24 -0
  32. package/lib/interaction/PinchZoom.js +24 -0
  33. package/lib/interaction/Pointer.js +24 -0
  34. package/lib/interaction/Property.js +24 -0
  35. package/lib/interaction/Select.js +24 -0
  36. package/lib/interaction/Snap.js +24 -0
  37. package/lib/interaction/Translate.js +24 -0
  38. package/lib/layer/Base.js +29 -0
  39. package/lib/layer/BaseImage.js +29 -0
  40. package/lib/layer/BaseTile.js +29 -0
  41. package/lib/layer/BaseVector.js +29 -0
  42. package/lib/layer/Graticule.js +29 -0
  43. package/lib/layer/Group.js +29 -0
  44. package/lib/layer/Heatmap.js +29 -0
  45. package/lib/layer/Image.js +29 -0
  46. package/lib/layer/Layer.js +29 -0
  47. package/lib/layer/MapboxVector.js +29 -0
  48. package/lib/layer/Tile.js +29 -0
  49. package/lib/layer/Vector.js +29 -0
  50. package/lib/layer/VectorImage.js +29 -0
  51. package/lib/layer/VectorTile.js +29 -0
  52. package/lib/layer/WebGLPoints.js +29 -0
  53. package/lib/layer/WebGLTile.js +29 -0
  54. package/lib/source/BingMaps.js +24 -0
  55. package/lib/source/CartoDB.js +24 -0
  56. package/lib/source/Cluster.js +24 -0
  57. package/lib/source/DataTile.js +24 -0
  58. package/lib/source/GeoTIFF.js +24 -0
  59. package/lib/source/IIIF.js +24 -0
  60. package/lib/source/Image.js +24 -0
  61. package/lib/source/ImageArcGISRest.js +24 -0
  62. package/lib/source/ImageCanvas.js +24 -0
  63. package/lib/source/ImageMapGuide.js +24 -0
  64. package/lib/source/ImageStatic.js +24 -0
  65. package/lib/source/ImageWMS.js +24 -0
  66. package/lib/source/OGCMapTile.js +24 -0
  67. package/lib/source/OGCVectorTile.js +24 -0
  68. package/lib/source/OSM.js +24 -0
  69. package/lib/source/Raster.js +24 -0
  70. package/lib/source/Source.js +24 -0
  71. package/lib/source/Stamen.js +24 -0
  72. package/lib/source/Tile.js +24 -0
  73. package/lib/source/TileArcGISRest.js +24 -0
  74. package/lib/source/TileDebug.js +24 -0
  75. package/lib/source/TileImage.js +24 -0
  76. package/lib/source/TileJSON.js +24 -0
  77. package/lib/source/TileWMS.js +24 -0
  78. package/lib/source/UTFGrid.js +24 -0
  79. package/lib/source/UrlTile.js +24 -0
  80. package/lib/source/Vector.js +24 -0
  81. package/lib/source/VectorTile.js +24 -0
  82. package/lib/source/WMTS.js +24 -0
  83. package/lib/source/XYZ.js +24 -0
  84. package/lib/source/Zoomify.js +24 -0
  85. package/package.json +52 -17
  86. package/readme.md +44 -35
  87. package/renderer/render.js +304 -0
  88. package/renderer/update.js +98 -0
  89. package/.npmignore +0 -2
  90. package/common.js +0 -505
  91. package/debug.js +0 -88354
  92. package/embed.js +0 -293
  93. package/explorer.js +0 -464
  94. package/ol.css +0 -241
package/explorer.js DELETED
@@ -1,464 +0,0 @@
1
- // OpenLayers 3. See http://openlayers.org/
2
- // License: https://raw.githubusercontent.com/openlayers/ol3/master/LICENSE.md
3
- // Version: v7.1.0
4
- ;(function (root, factory) {
5
- if (typeof exports === "object") {
6
- module.exports = factory();
7
- } else if (typeof define === "function" && define.amd) {
8
- define([], factory);
9
- } else {
10
- root.ol = factory();
11
- }
12
- }(this, function () {
13
- var OPENLAYERS = {};
14
- var k,aa=this;function w(a,b){var c=a.split("."),d=OPENLAYERS||aa;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)c.length||void 0===b?d[e]?d=d[e]:d=d[e]={}:d[e]=b};function x(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a}function da(){}function ea(a){return a.ph||(a.ph=++fa)}var fa=0;function ga(a){this.message="Assertion failed. See http://openlayers.org/en/v7.1.0/doc/errors/#"+a+" for details.";this.code=a;this.name="AssertionError"}x(ga,Error);function ha(a,b){if(!a)throw new ga(b);};function ia(a,b,c){return Math.min(Math.max(a,b),c)}var ka=function(){var a;"cosh"in Math?a=Math.cosh:a=function(a){a=Math.exp(a);return(a+1/a)/2};return a}();function la(a,b,c,d){a=c-a;b=d-b;return a*a+b*b}function ma(a,b){var c=a%b;return 0>c*b?c+b:c}function pa(a,b,c){return a+c*(b-a)};function qa(a){return function(b){if(b)return[ia(b[0],a[0],a[2]),ia(b[1],a[1],a[3])]}}function ta(a){return a};function va(a,b,c){this.center=a;this.resolution=b;this.rotation=c};var ya="function"===typeof Object.assign?Object.assign:function(a,b){if(!a||!a)throw new TypeError("Cannot convert undefined or null to object");for(var c=Object(a),d=1,e=arguments.length;d<e;++d){var f=arguments[d];if(void 0!==f&&null!==f)for(var g in f)f.hasOwnProperty(g)&&(c[g]=f[g])}return c};function za(a){for(var b in a)delete a[b]}function Aa(a){var b=[],c;for(c in a)b.push(a[c]);return b}function Ca(a){for(var b in a)return!1;return!b};function Da(a){function b(b){var d=a.listener,e=a.Gd||a.target;a.Jd&&Ea(a);return d.call(e,b)}return a.Hd=b}function Fa(a,b,c,d){for(var e,f=0,g=a.length;f<g;++f)if(e=a[f],e.listener===b&&e.Gd===c)return d&&(e.deleteIndex=f),e}function Ga(a,b){var c=a.Ea;return c?c[b]:void 0}function Ha(a){var b=a.Ea;b||(b=a.Ea={});return b}
15
- function Ia(a,b){var c=Ga(a,b);if(c){for(var d=0,e=c.length;d<e;++d)a.removeEventListener(b,c[d].Hd),za(c[d]);c.length=0;if(c=a.Ea)delete c[b],0===Object.keys(c).length&&delete a.Ea}}function z(a,b,c,d,e){var f=Ha(a),g=f[b];g||(g=f[b]=[]);(f=Fa(g,c,d,!1))?e||(f.Jd=!1):(f={Gd:d,Jd:!!e,listener:c,target:a,type:b},a.addEventListener(b,Da(f)),g.push(f));return f}function Ja(a,b,c,d){(a=Ga(a,b))&&(c=Fa(a,c,d,!0))&&Ea(c)}
16
- function Ea(a){if(a&&a.target){a.target.removeEventListener(a.type,a.Hd);var b=Ga(a.target,a.type);if(b){var c="deleteIndex"in a?a.deleteIndex:b.indexOf(a);-1!==c&&b.splice(c,1);0===b.length&&Ia(a.target,a.type)}za(a)}};function Ka(){}Ka.prototype.xb=!1;function La(a){a.xb||(a.xb=!0,a.ma())}Ka.prototype.ma=da;function Ma(a){this.type=a;this.target=null}Ma.prototype.preventDefault=Ma.prototype.stopPropagation=function(){this.Ah=!0};function Na(a){a.stopPropagation()};function Oa(){this.ca={};this.T={};this.I={}}x(Oa,Ka);Oa.prototype.addEventListener=function(a,b){var c=this.I[a];c||(c=this.I[a]=[]);-1===c.indexOf(b)&&c.push(b)};
17
- Oa.prototype.b=function(a){var b="string"===typeof a?new Ma(a):a;a=b.type;b.target=this;var c=this.I[a],d;if(c){a in this.T||(this.T[a]=0,this.ca[a]=0);++this.T[a];for(var e=0,f=c.length;e<f;++e)if(!1===c[e].call(this,b)||b.Ah){d=!1;break}--this.T[a];if(0===this.T[a]){b=this.ca[a];for(delete this.ca[a];b--;)this.removeEventListener(a,da);delete this.T[a]}return d}};Oa.prototype.ma=function(){var a=Ha(this),b;for(b in a)Ia(this,b)};function Qa(a,b){return b?b in a.I:0<Object.keys(a.I).length}
18
- Oa.prototype.removeEventListener=function(a,b){var c=this.I[a];if(c){var d=c.indexOf(b);a in this.ca?(c[d]=da,++this.ca[a]):(c.splice(d,1),0===c.length&&delete this.I[a])}};function Ra(){Oa.call(this);this.c=0}x(Ra,Oa);k=Ra.prototype;k.v=function(){++this.c;this.b("change")};k.Y=function(){return this.c};k.Z=function(a,b,c){if(Array.isArray(a)){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=z(this,a[f],b,c);return e}return z(this,a,b,c)};k.$=function(a,b,c){if(Array.isArray(a)){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=z(this,a[f],b,c,!0);return e}return z(this,a,b,c,!0)};
19
- k.aa=function(a,b,c){if(Array.isArray(a))for(var d=0,e=a.length;d<e;++d)Ja(this,a[d],b,c);else Ja(this,a,b,c)};k.ba=function(a){if(Array.isArray(a))for(var b=0,c=a.length;b<c;++b)Ea(a[b]);else Ea(a)};function Ta(a,b,c){Ma.call(this,a);this.key=b;this.oldValue=c}x(Ta,Ma);function Ua(a){Ra.call(this);ea(this);this.B={};void 0!==a&&this.R(a)}x(Ua,Ra);var Va={};function Wa(a){return Va.hasOwnProperty(a)?Va[a]:Va[a]="change:"+a}k=Ua.prototype;k.get=function(a){var b;this.B.hasOwnProperty(a)&&(b=this.B[a]);return b};k.ga=function(){return Object.keys(this.B)};k.V=function(){return ya({},this.B)};function Xa(a,b,c){var d;d=Wa(b);a.b(new Ta(d,b,c));a.b(new Ta("propertychange",b,c))}
20
- k.set=function(a,b,c){c?this.B[a]=b:(c=this.B[a],this.B[a]=b,c!==b&&Xa(this,a,c))};k.R=function(a,b){for(var c in a)this.set(c,a[c],b)};k.ha=function(a,b){if(a in this.B){var c=this.B[a];delete this.B[a];b||Xa(this,a,c)}};function Ya(a,b){return a>b?1:a<b?-1:0}function Za(a,b,c){var d=a.length;if(a[0]<=b)return 0;if(!(b<=a[d-1]))if(0<c)for(c=1;c<d;++c){if(a[c]<b)return c-1}else if(0>c)for(c=1;c<d;++c){if(a[c]<=b)return c}else for(c=1;c<d;++c){if(a[c]==b)return c;if(a[c]<b)return a[c-1]-b<b-a[c]?c-1:c}return d-1}function $a(a,b){var c,d=Array.isArray(b)?b:[b],e=d.length;for(c=0;c<e;c++)a[a.length]=d[c]}function ab(a,b){var c=a.indexOf(b),d=-1<c;d&&a.splice(c,1);return d}
21
- function bb(a,b){var c=a.length;if(c!==b.length)return!1;for(var d=0;d<c;d++)if(a[d]!==b[d])return!1;return!0}function cb(a){var b=db,c=a.length,d=Array(a.length),e;for(e=0;e<c;e++)d[e]={index:e,value:a[e]};d.sort(function(a,c){return b(a.value,c.value)||a.index-c.index});for(e=0;e<a.length;e++)a[e]=d[e].value}function fb(a,b){var c=b||Ya;return a.every(function(b,e){if(0===e)return!0;var f=c(a[e-1],b);return!(0<f||0===f)})};function gb(a){return function(b,c,d){if(void 0!==b)return b=Za(a,b,d),b=ia(b+c,0,a.length-1),c=Math.floor(b),b!=c&&c<a.length-1?a[c]/Math.pow(a[c]/a[c+1],b-c):a[c]}}function hb(a,b,c){return function(d,e,f){if(void 0!==d)return d=Math.max(Math.floor(Math.log(b/d)/Math.log(a)+(-f/2+.5))+e,0),void 0!==c&&(d=Math.min(d,c)),b/Math.pow(a,d)}};function ib(a){if(void 0!==a)return 0}function jb(a,b){if(void 0!==a)return a+b}function kb(a){var b=2*Math.PI/a;return function(a,d){if(void 0!==a)return a=Math.floor((a+d)/b+.5)*b}}function lb(){var a=5*Math.PI/180;return function(b,c){if(void 0!==b)return Math.abs(b+c)<=a?0:b+c}};function mb(a,b){a[0]+=b[0];a[1]+=b[1]}function nb(a,b){var c=Math.cos(b),d=Math.sin(b),e=a[1]*c+a[0]*d;a[0]=a[0]*c-a[1]*d;a[1]=e};function ob(a){for(var b=pb(),c=0,d=a.length;c<d;++c)qb(b,a[c]);return b}function rb(a,b,c){return c?(c[0]=a[0]-b,c[1]=a[1]-b,c[2]=a[2]+b,c[3]=a[3]+b,c):[a[0]-b,a[1]-b,a[2]+b,a[3]+b]}function sb(a,b){return b?(b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3],b):a.slice()}function tb(a,b,c){b=b<a[0]?a[0]-b:a[2]<b?b-a[2]:0;a=c<a[1]?a[1]-c:a[3]<c?c-a[3]:0;return b*b+a*a}function ub(a,b){return vb(a,b[0],b[1])}function wb(a,b){return a[0]<=b[0]&&b[2]<=a[2]&&a[1]<=b[1]&&b[3]<=a[3]}
22
- function vb(a,b,c){return a[0]<=b&&b<=a[2]&&a[1]<=c&&c<=a[3]}function xb(a,b){var c=a[1],d=a[2],e=a[3],f=b[0],g=b[1],h=0;f<a[0]?h|=16:f>d&&(h|=4);g<c?h|=8:g>e&&(h|=2);0===h&&(h=1);return h}function pb(){return[Infinity,Infinity,-Infinity,-Infinity]}function yb(a,b,c,d,e){return e?(e[0]=a,e[1]=b,e[2]=c,e[3]=d,e):[a,b,c,d]}function zb(a){return yb(Infinity,Infinity,-Infinity,-Infinity,a)}function Ab(a,b){return a[0]==b[0]&&a[2]==b[2]&&a[1]==b[1]&&a[3]==b[3]}
23
- function Bb(a,b){b[0]<a[0]&&(a[0]=b[0]);b[2]>a[2]&&(a[2]=b[2]);b[1]<a[1]&&(a[1]=b[1]);b[3]>a[3]&&(a[3]=b[3]);return a}function qb(a,b){b[0]<a[0]&&(a[0]=b[0]);b[0]>a[2]&&(a[2]=b[0]);b[1]<a[1]&&(a[1]=b[1]);b[1]>a[3]&&(a[3]=b[1])}function Cb(a,b,c,d,e){for(;c<d;c+=e){var f=a,g=b[c],h=b[c+1];f[0]=Math.min(f[0],g);f[1]=Math.min(f[1],h);f[2]=Math.max(f[2],g);f[3]=Math.max(f[3],h)}return a}
24
- function Db(a,b,c){var d;return(d=b.call(c,Eb(a)))||(d=b.call(c,Fb(a)))||(d=b.call(c,Gb(a)))?d:(d=b.call(c,Hb(a)))?d:!1}function Ib(a){var b=0;Jb(a)||(b=Kb(a)*Lb(a));return b}function Eb(a){return[a[0],a[1]]}function Fb(a){return[a[2],a[1]]}function Mb(a){return[(a[0]+a[2])/2,(a[1]+a[3])/2]}
25
- function Nb(a,b,c,d,e){var f=b*d[0]/2;d=b*d[1]/2;b=Math.cos(c);var g=Math.sin(c);c=f*b;f*=g;b*=d;var h=d*g,l=a[0],m=a[1];a=l-c+h;d=l-c-h;g=l+c-h;c=l+c+h;var h=m-f-b,l=m-f+b,n=m+f+b,f=m+f-b;return yb(Math.min(a,d,g,c),Math.min(h,l,n,f),Math.max(a,d,g,c),Math.max(h,l,n,f),e)}function Lb(a){return a[3]-a[1]}function Ob(a,b,c){c=c?c:pb();Pb(a,b)&&(c[0]=a[0]>b[0]?a[0]:b[0],c[1]=a[1]>b[1]?a[1]:b[1],c[2]=a[2]<b[2]?a[2]:b[2],c[3]=a[3]<b[3]?a[3]:b[3]);return c}function Hb(a){return[a[0],a[3]]}
26
- function Gb(a){return[a[2],a[3]]}function Kb(a){return a[2]-a[0]}function Pb(a,b){return a[0]<=b[2]&&a[2]>=b[0]&&a[1]<=b[3]&&a[3]>=b[1]}function Jb(a){return a[2]<a[0]||a[3]<a[1]}function Qb(a,b,c){a=[a[0],a[1],a[0],a[3],a[2],a[1],a[2],a[3]];b(a,a,2);var d=[a[0],a[2],a[4],a[6]],e=[a[1],a[3],a[5],a[7]];b=Math.min.apply(null,d);a=Math.min.apply(null,e);d=Math.max.apply(null,d);e=Math.max.apply(null,e);return yb(b,a,d,e,c)};function Rb(){return!0}function Sb(){return!1};/*
27
-
28
- Latitude/longitude spherical geodesy formulae taken from
29
- http://www.movable-type.co.uk/scripts/latlong.html
30
- Licensed under CC-BY-3.0.
31
- */
32
- function Tb(a){this.radius=a}function Ub(a,b){var c=a[1]*Math.PI/180,d=b[1]*Math.PI/180,e=(d-c)/2,f=(b[0]-a[0])*Math.PI/180/2,c=Math.sin(e)*Math.sin(e)+Math.sin(f)*Math.sin(f)*Math.cos(c)*Math.cos(d);return 2*Vb.radius*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))}
33
- Tb.prototype.offset=function(a,b,c){var d=a[1]*Math.PI/180;b/=this.radius;var e=Math.asin(Math.sin(d)*Math.cos(b)+Math.cos(d)*Math.sin(b)*Math.cos(c));return[180*(a[0]*Math.PI/180+Math.atan2(Math.sin(c)*Math.sin(b)*Math.cos(d),Math.cos(b)-Math.sin(d)*Math.sin(e)))/Math.PI,180*e/Math.PI]};var Vb=new Tb(6370997);var Wb={};Wb.degrees=2*Math.PI*Vb.radius/360;Wb.ft=.3048;Wb.m=1;Wb["us-ft"]=1200/3937;
34
- function Xb(a){this.c=a.code;this.g=a.units;this.f=void 0!==a.extent?a.extent:null;this.o=void 0!==a.worldExtent?a.worldExtent:null;this.a=void 0!==a.global?a.global:!1;this.b=!(!this.a||!this.f);this.l=void 0!==a.getPointResolution?a.getPointResolution:this.yf;this.i=null;this.B=a.metersPerUnit;var b=Yb,c=a.code,d=Zb||window.proj4;if("function"==typeof d&&void 0===b[c]){var e=d.defs(c);if(void 0!==e){void 0===a.metersPerUnit&&(this.B=e.to_meter);void 0===a.units&&(this.g=e.units);for(var f in b)b=
35
- d.defs(f),void 0!==b&&(a=$b(f),b===e?ac([a,this]):(b=d(f,c),bc(a,this,b.forward,b.inverse)))}}}k=Xb.prototype;k.Xe=function(){return this.c};k.D=function(){return this.f};k.cb=function(){return this.g};k.bb=function(){return this.B||Wb[this.g]};k.Kf=function(){return this.o};k.bg=function(){return this.a};k.Rh=function(a){this.a=a;this.b=!(!a||!this.f)};k.Og=function(a){this.f=a;this.b=!(!this.a||!a)};k.bi=function(a){this.o=a};k.Qh=function(a){this.l=a};
36
- k.yf=function(a,b){if("degrees"==this.cb())return a;var c=cc(this,$b("EPSG:4326")),d=[b[0]-a/2,b[1],b[0]+a/2,b[1],b[0],b[1]-a/2,b[0],b[1]+a/2],d=c(d,d,2),c=(Ub(d.slice(0,2),d.slice(2,4))+Ub(d.slice(4,6),d.slice(6,8)))/2,d=this.bb();void 0!==d&&(c/=d);return c};k.getPointResolution=function(a,b){return this.l(a,b)};var Yb={},dc={},Zb=null;function ac(a){ec(a);a.forEach(function(b){a.forEach(function(a){b!==a&&fc(b,a,gc)})})}
37
- function hc(){var a=ic,b=jc,c=kc;lc.forEach(function(d){a.forEach(function(a){fc(d,a,b);fc(a,d,c)})})}function mc(a){Yb[a.c]=a;fc(a,a,gc)}function ec(a){var b=[];a.forEach(function(a){b.push(mc(a))})}function nc(a){return a?"string"===typeof a?$b(a):a:$b("EPSG:3857")}function fc(a,b,c){a=a.c;b=b.c;a in dc||(dc[a]={});dc[a][b]=c}function bc(a,b,c,d){a=$b(a);b=$b(b);fc(a,b,oc(c));fc(b,a,oc(d))}
38
- function oc(a){return function(b,c,d){var e=b.length;d=void 0!==d?d:2;c=void 0!==c?c:Array(e);var f,g;for(g=0;g<e;g+=d)for(f=a([b[g],b[g+1]]),c[g]=f[0],c[g+1]=f[1],f=d-1;2<=f;--f)c[g+f]=b[g+f];return c}}function $b(a){var b;if(a instanceof Xb)b=a;else if("string"===typeof a){b=Yb[a];var c=Zb||window.proj4;void 0===b&&"function"==typeof c&&void 0!==c.defs(a)&&(b=new Xb({code:a}),mc(b))}return b||null}function pc(a,b){if(a===b)return!0;var c=a.cb()===b.cb();return a.c===b.c?c:cc(a,b)===gc&&c}
39
- function qc(a,b){var c=$b(a),d=$b(b);return cc(c,d)}function cc(a,b){var c=a.c,d=b.c,e;c in dc&&d in dc[c]&&(e=dc[c][d]);void 0===e&&(e=rc);return e}function rc(a,b){if(void 0!==b&&a!==b){for(var c=0,d=a.length;c<d;++c)b[c]=a[c];a=b}return a}function gc(a,b){var c;if(void 0!==b){c=0;for(var d=a.length;c<d;++c)b[c]=a[c];c=b}else c=a.slice();return c}function sc(a,b,c){return qc(b,c)(a,void 0,a.length)}function tc(a,b,c){b=qc(b,c);return Qb(a,b)};function A(){Ua.call(this);this.o=pb();this.u=-1;this.f={};this.l=this.g=0}x(A,Ua);k=A.prototype;k.Aa=function(a,b){var c=b?b:[NaN,NaN];this.za(a[0],a[1],c,Infinity);return c};k.ta=function(a){return this.gb(a[0],a[1])};k.gb=Sb;k.D=function(a){this.u!=this.c&&(this.o=this.Pb(this.o),this.u=this.c);var b=this.o;a?(a[0]=b[0],a[1]=b[1],a[2]=b[2],a[3]=b[3]):a=b;return a};k.Da=function(a){return this.Ub(a*a)};k.transform=function(a,b){this.ib(qc(a,b));return this};function uc(a,b,c,d,e,f){for(var g=f?f:[],h=0;b<c;b+=d){var l=a[b],m=a[b+1];g[h++]=e[0]*l+e[2]*m+e[4];g[h++]=e[1]*l+e[3]*m+e[5]}f&&g.length!=h&&(g.length=h);return g};function B(){A.call(this);this.O="XY";this.s=2;this.j=null}x(B,A);function vc(a){var b;"XY"==a?b=2:"XYZ"==a||"XYM"==a?b=3:"XYZM"==a&&(b=4);return b}k=B.prototype;k.gb=Sb;k.Pb=function(a){var b=this.j,c=this.j.length,d=this.s;a=zb(a);return Cb(a,b,0,c,d)};k.La=function(){return this.j.slice(0,this.s)};k.Ma=function(){return this.j.slice(this.j.length-this.s)};k.Na=function(){return this.O};
40
- k.Ub=function(a){this.l!=this.c&&(za(this.f),this.g=0,this.l=this.c);if(0>a||0!==this.g&&a<=this.g)return this;var b=a.toString();if(this.f.hasOwnProperty(b))return this.f[b];var c=this.lb(a);if(c.j.length<this.j.length)return this.f[b]=c;this.g=a;return this};k.lb=function(){return this};function wc(a,b,c){a.s=vc(b);a.O=b;a.j=c}
41
- function xc(a,b,c,d){if(b)c=vc(b);else{for(b=0;b<d;++b){if(0===c.length){a.O="XY";a.s=2;return}c=c[0]}c=c.length;var e;2==c?e="XY":3==c?e="XYZ":4==c&&(e="XYZM");b=e}a.O=b;a.s=c}k.ib=function(a){this.j&&(a(this.j,this.j,this.s),this.v())};k.rotate=function(a,b){var c=this.j;if(c){for(var d=c.length,e=this.s,f=c?c:[],g=Math.cos(a),h=Math.sin(a),l=b[0],m=b[1],n=0,p=0;p<d;p+=e){var q=c[p]-l,t=c[p+1]-m;f[n++]=l+q*g-t*h;f[n++]=m+q*h+t*g;for(q=p+2;q<p+e;++q)f[n++]=c[q]}c&&f.length!=n&&(f.length=n);this.v()}};
42
- k.scale=function(a,b,c){var d=b;void 0===d&&(d=a);var e=c;e||(e=Mb(this.D()));if(c=this.j){b=c.length;for(var f=this.s,g=c?c:[],h=e[0],e=e[1],l=0,m=0;m<b;m+=f){var n=c[m]-h,p=c[m+1]-e;g[l++]=h+a*n;g[l++]=e+d*p;for(n=m+2;n<m+f;++n)g[l++]=c[n]}c&&g.length!=l&&(g.length=l);this.v()}};k.translate=function(a,b){var c=this.j;if(c){var d=c.length,e=this.s,f=c?c:[],g=0,h,l;for(h=0;h<d;h+=e)for(f[g++]=c[h]+a,f[g++]=c[h+1]+b,l=h+2;l<h+e;++l)f[g++]=c[l];c&&f.length!=g&&(f.length=g);this.v()}};function yc(a,b,c,d){for(var e=0,f=a[c-d],g=a[c-d+1];b<c;b+=d)var h=a[b],l=a[b+1],e=e+(g*h-f*l),f=h,g=l;return e/2}function zc(a,b,c,d){var e=0,f,g;f=0;for(g=c.length;f<g;++f){var h=c[f],e=e+yc(a,b,h,d);b=h}return e};function Ac(a,b,c,d,e,f,g){var h=a[b],l=a[b+1],m=a[c]-h,n=a[c+1]-l;if(0!==m||0!==n)if(f=((e-h)*m+(f-l)*n)/(m*m+n*n),1<f)b=c;else if(0<f){for(e=0;e<d;++e)g[e]=pa(a[b+e],a[c+e],f);g.length=d;return}for(e=0;e<d;++e)g[e]=a[b+e];g.length=d}function Bc(a,b,c,d,e){var f=a[b],g=a[b+1];for(b+=d;b<c;b+=d){var h=a[b],l=a[b+1],f=la(f,g,h,l);f>e&&(e=f);f=h;g=l}return e}function Cc(a,b,c,d,e){var f,g;f=0;for(g=c.length;f<g;++f){var h=c[f];e=Bc(a,b,h,d,e);b=h}return e}
43
- function Dc(a,b,c,d,e,f,g,h,l,m,n){if(b==c)return m;var p;if(0===e){p=la(g,h,a[b],a[b+1]);if(p<m){for(n=0;n<d;++n)l[n]=a[b+n];l.length=d;return p}return m}for(var q=n?n:[NaN,NaN],t=b+d;t<c;)if(Ac(a,t-d,t,d,g,h,q),p=la(g,h,q[0],q[1]),p<m){m=p;for(n=0;n<d;++n)l[n]=q[n];l.length=d;t+=d}else t+=d*Math.max((Math.sqrt(p)-Math.sqrt(m))/e|0,1);if(f&&(Ac(a,c-d,b,d,g,h,q),p=la(g,h,q[0],q[1]),p<m)){m=p;for(n=0;n<d;++n)l[n]=q[n];l.length=d}return m}
44
- function Ec(a,b,c,d,e,f,g,h,l,m,n){n=n?n:[NaN,NaN];var p,q;p=0;for(q=c.length;p<q;++p){var t=c[p];m=Dc(a,b,t,d,e,f,g,h,l,m,n);b=t}return m};function Fc(a,b){var c=0,d,e;d=0;for(e=b.length;d<e;++d)a[c++]=b[d];return c}function Gc(a,b,c,d){var e,f;e=0;for(f=c.length;e<f;++e){var g=c[e],h;for(h=0;h<d;++h)a[b++]=g[h]}return b}function Hc(a,b,c,d,e){e=e?e:[];var f=0,g,h;g=0;for(h=c.length;g<h;++g)b=Gc(a,b,c[g],d),e[f++]=b;e.length=f;return e};function Ic(a,b,c,d,e){e=void 0!==e?e:[];for(var f=0;b<c;b+=d)e[f++]=a.slice(b,b+d);e.length=f;return e}function Jc(a,b,c,d,e){e=void 0!==e?e:[];var f=0,g,h;g=0;for(h=c.length;g<h;++g){var l=c[g];e[f++]=Ic(a,b,l,d,e[f]);b=l}e.length=f;return e};function Kc(a,b,c,d,e,f,g){var h=(c-b)/d;if(3>h){for(;b<c;b+=d)f[g++]=a[b],f[g++]=a[b+1];return g}var l=Array(h);l[0]=1;l[h-1]=1;c=[b,c-d];for(var m=0,n;0<c.length;){var p=c.pop(),q=c.pop(),t=0,u=a[q],r=a[q+1],v=a[p],ba=a[p+1];for(n=q+d;n<p;n+=d){var P;P=a[n];var V=a[n+1],ja=u,ua=r,y=v-ja,sa=ba-ua;if(0!==y||0!==sa){var oa=((P-ja)*y+(V-ua)*sa)/(y*y+sa*sa);1<oa?(ja=v,ua=ba):0<oa&&(ja+=y*oa,ua+=sa*oa)}P=la(P,V,ja,ua);P>t&&(m=n,t=P)}t>e&&(l[(m-b)/d]=1,q+d<m&&c.push(q,m),m+d<p&&c.push(m,p))}for(n=0;n<
45
- h;++n)l[n]&&(f[g++]=a[b+n*d],f[g++]=a[b+n*d+1]);return g}
46
- function Lc(a,b,c,d,e,f,g,h){var l,m;l=0;for(m=c.length;l<m;++l){var n=c[l];a:{var p=a,q=n,t=d,u=e,r=f;if(b!=q){var v=u*Math.round(p[b]/u),ba=u*Math.round(p[b+1]/u);b+=t;r[g++]=v;r[g++]=ba;var P,V;do if(P=u*Math.round(p[b]/u),V=u*Math.round(p[b+1]/u),b+=t,b==q){r[g++]=P;r[g++]=V;break a}while(P==v&&V==ba);for(;b<q;){var ja,ua;ja=u*Math.round(p[b]/u);ua=u*Math.round(p[b+1]/u);b+=t;if(ja!=P||ua!=V){var y=P-v,sa=V-ba,oa=ja-v,U=ua-ba;y*U==sa*oa&&(0>y&&oa<y||y==oa||0<y&&oa>y)&&(0>sa&&U<sa||sa==U||0<sa&&
47
- U>sa)||(r[g++]=P,r[g++]=V,v=P,ba=V);P=ja;V=ua}}r[g++]=P;r[g++]=V}}h.push(g);b=n}return g};function C(a,b){B.call(this);this.a=this.i=-1;this.W(a,b)}x(C,B);k=C.prototype;k.clone=function(){var a=new C(null);wc(a,this.O,this.j.slice());a.v();return a};k.za=function(a,b,c,d){if(d<tb(this.D(),a,b))return d;this.a!=this.c&&(this.i=Math.sqrt(Bc(this.j,0,this.j.length,this.s,0)),this.a=this.c);return Dc(this.j,0,this.j.length,this.s,this.i,!0,a,b,c,d)};k.Ig=function(){return yc(this.j,0,this.j.length,this.s)};k.ia=function(){return Ic(this.j,0,this.j.length,this.s)};
48
- k.lb=function(a){var b=[];b.length=Kc(this.j,0,this.j.length,this.s,a,b,0);a=new C(null);wc(a,"XY",b);a.v();return a};k.N=function(){return"LinearRing"};k.W=function(a,b){a?(xc(this,b,a,1),this.j||(this.j=[]),this.j.length=Gc(this.j,0,a,this.s)):wc(this,"XY",null);this.v()};function D(a,b){B.call(this);this.W(a,b)}x(D,B);k=D.prototype;k.clone=function(){var a=new D(null);wc(a,this.O,this.j.slice());a.v();return a};k.za=function(a,b,c,d){var e=this.j;a=la(a,b,e[0],e[1]);if(a<d){d=this.s;for(b=0;b<d;++b)c[b]=e[b];c.length=d;return a}return d};k.ia=function(){return this.j?this.j.slice():[]};k.Pb=function(a){var b=this.j,c=b[0],b=b[1];return yb(c,b,c,b,a)};k.N=function(){return"Point"};k.oa=function(a){return vb(a,this.j[0],this.j[1])};
49
- k.W=function(a,b){a?(xc(this,b,a,0),this.j||(this.j=[]),this.j.length=Fc(this.j,a)):wc(this,"XY",null);this.v()};function Mc(a,b,c,d,e){return!Db(e,function(e){return!Nc(a,b,c,d,e[0],e[1])})}function Nc(a,b,c,d,e,f){for(var g=!1,h=a[c-d],l=a[c-d+1];b<c;b+=d){var m=a[b],n=a[b+1];l>f!=n>f&&e<(m-h)*(f-l)/(n-l)+h&&(g=!g);h=m;l=n}return g}function Oc(a,b,c,d,e,f){if(0===c.length||!Nc(a,b,c[0],d,e,f))return!1;var g;b=1;for(g=c.length;b<g;++b)if(Nc(a,c[b-1],c[b],d,e,f))return!1;return!0};function Pc(a,b,c,d,e,f,g){var h,l,m,n,p,q=e[f+1],t=[],u=c[0];m=a[u-d];p=a[u-d+1];for(h=b;h<u;h+=d){n=a[h];l=a[h+1];if(q<=p&&l<=q||p<=q&&q<=l)m=(q-p)/(l-p)*(n-m)+m,t.push(m);m=n;p=l}u=NaN;p=-Infinity;t.sort(Ya);m=t[0];h=1;for(l=t.length;h<l;++h){n=t[h];var r=Math.abs(n-m);r>p&&(m=(m+n)/2,Oc(a,b,c,d,m,q)&&(u=m,p=r));m=n}isNaN(u)&&(u=e[f]);return g?(g.push(u,q),g):[u,q]};function Qc(a,b,c,d,e,f){for(var g=[a[b],a[b+1]],h=[],l;b+d<c;b+=d){h[0]=a[b+d];h[1]=a[b+d+1];if(l=e.call(f,g,h))return l;g[0]=h[0];g[1]=h[1]}return!1};function Rc(a,b,c,d,e){var f=Cb(pb(),a,b,c,d);return Pb(e,f)?wb(e,f)||f[0]>=e[0]&&f[2]<=e[2]||f[1]>=e[1]&&f[3]<=e[3]?!0:Qc(a,b,c,d,function(a,b){var c=!1,d=xb(e,a),f=xb(e,b);if(1===d||1===f)c=!0;else{var p=e[0],q=e[1],t=e[2],u=e[3],r=b[0],v=b[1],ba=(v-a[1])/(r-a[0]);f&2&&!(d&2)&&(c=r-(v-u)/ba,c=c>=p&&c<=t);c||!(f&4)||d&4||(c=v-(r-t)*ba,c=c>=q&&c<=u);c||!(f&8)||d&8||(c=r-(v-q)/ba,c=c>=p&&c<=t);c||!(f&16)||d&16||(c=v-(r-p)*ba,c=c>=q&&c<=u)}return c}):!1}
50
- function Sc(a,b,c,d,e){var f=c[0];if(!(Rc(a,b,f,d,e)||Nc(a,b,f,d,e[0],e[1])||Nc(a,b,f,d,e[0],e[3])||Nc(a,b,f,d,e[2],e[1])||Nc(a,b,f,d,e[2],e[3])))return!1;if(1===c.length)return!0;b=1;for(f=c.length;b<f;++b)if(Mc(a,c[b-1],c[b],d,e))return!1;return!0};function Tc(a,b,c,d){for(var e=0,f=a[c-d],g=a[c-d+1];b<c;b+=d)var h=a[b],l=a[b+1],e=e+(h-f)*(l+g),f=h,g=l;return 0<e}function Uc(a,b,c,d){var e=0;d=void 0!==d?d:!1;var f,g;f=0;for(g=b.length;f<g;++f){var h=b[f],e=Tc(a,e,h,c);if(0===f){if(d&&e||!d&&!e)return!1}else if(d&&!e||!d&&e)return!1;e=h}return!0}
51
- function Vc(a,b,c,d,e){e=void 0!==e?e:!1;var f,g;f=0;for(g=c.length;f<g;++f){var h=c[f],l=Tc(a,b,h,d);if(0===f?e&&l||!e&&!l:e&&!l||!e&&l)for(var l=a,m=h,n=d;b<m-n;){var p;for(p=0;p<n;++p){var q=l[b+p];l[b+p]=l[m-n+p];l[m-n+p]=q}b+=n;m-=n}b=h}return b}function Wc(a,b,c,d){var e=0,f,g;f=0;for(g=b.length;f<g;++f)e=Vc(a,e,b[f],c,d);return e};function E(a,b){B.call(this);this.U=[];this.i=-1;this.A=null;this.G=this.C=this.F=-1;this.a=null;this.W(a,b)}x(E,B);k=E.prototype;k.Je=function(a){this.j?$a(this.j,a.j):this.j=a.j.slice();this.U.push(this.j.length);this.v()};k.clone=function(){var a=new E(null);Xc(a,this.O,this.j.slice(),this.U.slice());return a};k.za=function(a,b,c,d){if(d<tb(this.D(),a,b))return d;this.C!=this.c&&(this.F=Math.sqrt(Cc(this.j,0,this.U,this.s,0)),this.C=this.c);return Ec(this.j,0,this.U,this.s,this.F,!0,a,b,c,d)};
52
- k.gb=function(a,b){return Oc(Yc(this),0,this.U,this.s,a,b)};k.Lg=function(){return zc(Yc(this),0,this.U,this.s)};k.ia=function(a){var b;void 0!==a?(b=Yc(this).slice(),Vc(b,0,this.U,this.s,a)):b=this.j;return Jc(b,0,this.U,this.s)};function Zc(a){if(a.i!=a.c){var b=Mb(a.D());a.A=Pc(Yc(a),0,a.U,a.s,b,0);a.i=a.c}return a.A}k.lf=function(){return new D(Zc(this))};k.rf=function(){return this.U.length};
53
- k.Nd=function(a){if(0>a||this.U.length<=a)return null;var b=new C(null);wc(b,this.O,this.j.slice(0===a?0:this.U[a-1],this.U[a]));b.v();return b};k.Oc=function(){var a=this.O,b=this.j,c=this.U,d=[],e=0,f,g;f=0;for(g=c.length;f<g;++f){var h=c[f],l=new C(null),m=l;wc(m,a,b.slice(e,h));m.v();d.push(l);e=h}return d};function Yc(a){if(a.G!=a.c){var b=a.j;Uc(b,a.U,a.s)?a.a=b:(a.a=b.slice(),a.a.length=Vc(a.a,0,a.U,a.s));a.G=a.c}return a.a}
54
- k.lb=function(a){var b=[],c=[];b.length=Lc(this.j,0,this.U,this.s,Math.sqrt(a),b,0,c);a=new E(null);Xc(a,"XY",b,c);return a};k.N=function(){return"Polygon"};k.oa=function(a){return Sc(Yc(this),0,this.U,this.s,a)};k.W=function(a,b){if(a){xc(this,b,a,2);this.j||(this.j=[]);var c=Hc(this.j,0,a,this.s,this.U);this.j.length=0===c.length?0:c[c.length-1];this.v()}else Xc(this,"XY",null,this.U)};function Xc(a,b,c,d){wc(a,b,c);a.U=d;a.v()}
55
- function $c(a){var b=a[0],c=a[1],d=a[2];a=a[3];b=[b,c,b,a,d,a,d,c,b,c];c=new E(null);Xc(c,"XY",b,[b.length]);return c};function F(a){Ua.call(this);a=a||{};this.g=[0,0];var b={};b[ad]=void 0!==a.center?a.center:null;this.u=nc(a.projection);var c,d,e,f=void 0!==a.minZoom?a.minZoom:0;c=void 0!==a.maxZoom?a.maxZoom:28;var g=void 0!==a.zoomFactor?a.zoomFactor:2;if(void 0!==a.resolutions)c=a.resolutions,d=c[0],e=c[c.length-1],c=gb(c);else{d=nc(a.projection);e=d.D();var h=(e?Math.max(Kb(e),Lb(e)):360*Wb.degrees/d.bb())/256/Math.pow(2,0),l=h/Math.pow(2,28);d=a.maxResolution;void 0!==d?f=0:d=h/Math.pow(g,f);e=a.minResolution;
56
- void 0===e&&(e=void 0!==a.maxZoom?void 0!==a.maxResolution?d/Math.pow(g,c):h/Math.pow(g,c):l);c=f+Math.floor(Math.log(d/e)/Math.log(g));e=d/Math.pow(g,c-f);c=hb(g,d,c-f)}this.a=d;this.o=e;this.A=g;this.f=a.resolutions;this.i=f;f=void 0!==a.extent?qa(a.extent):ta;(void 0!==a.enableRotation?a.enableRotation:1)?(g=a.constrainRotation,g=void 0===g||!0===g?lb():!1===g?jb:"number"===typeof g?kb(g):jb):g=ib;this.l=new va(f,c,g);void 0!==a.resolution?b[bd]=a.resolution:void 0!==a.zoom&&(b[bd]=this.constrainResolution(this.a,
57
- a.zoom-this.i));b[cd]=void 0!==a.rotation?a.rotation:0;this.R(b)}x(F,Ua);k=F.prototype;k.Qb=function(a){return this.l.center(a)};k.constrainResolution=function(a,b,c){return this.l.resolution(a,b||0,c||0)};k.constrainRotation=function(a,b){return this.l.rotation(a,b||0)};k.Ca=function(){return this.get(ad)};k.Id=function(a){var b=this.Ca();ha(b,1);var c=this.X();ha(void 0!==c,2);var d=this.ua();ha(void 0!==d,3);return Nb(b,c,d,a)};k.Bg=function(){return this.a};k.Cg=function(){return this.o};
58
- k.pa=function(){return this.u};k.X=function(){return this.get(bd)};k.Dg=function(){return this.f};function dd(a,b){return Math.max(Kb(a)/b[0],Lb(a)/b[1])}k.ua=function(){return this.get(cd)};k.fa=function(){var a=this.Ca(),b=this.pa(),c=this.X(),d=this.ua();return{center:a.slice(),projection:void 0!==b?b:null,resolution:c,rotation:d}};
59
- k.Lf=function(){var a,b=this.X();if(void 0!==b&&b>=this.o&&b<=this.a){a=this.i||0;var c,d;if(this.f){d=Za(this.f,b,1);a+=d;if(d==this.f.length-1)return a;c=this.f[d];d=c/this.f[d+1]}else c=this.a,d=this.A;a+=Math.log(c/b)/Math.log(d)}return a};
60
- k.Re=function(a,b,c){a instanceof B||(ha(Array.isArray(a),24),ha(!Jb(a),25),a=$c(a));var d=c||{};c=void 0!==d.padding?d.padding:[0,0,0,0];var e=void 0!==d.constrainResolution?d.constrainResolution:!0,f=void 0!==d.nearest?d.nearest:!1,g;void 0!==d.minResolution?g=d.minResolution:void 0!==d.maxZoom?g=this.constrainResolution(this.a,d.maxZoom-this.i,0):g=0;var h=a.j,l=this.ua(),d=Math.cos(-l),l=Math.sin(-l),m=Infinity,n=Infinity,p=-Infinity,q=-Infinity;a=a.s;for(var t=0,u=h.length;t<u;t+=a)var r=h[t]*
61
- d-h[t+1]*l,v=h[t]*l+h[t+1]*d,m=Math.min(m,r),n=Math.min(n,v),p=Math.max(p,r),q=Math.max(q,v);b=dd([m,n,p,q],[b[0]-c[1]-c[3],b[1]-c[0]-c[2]]);b=isNaN(b)?g:Math.max(b,g);e&&(g=this.constrainResolution(b,0,0),!f&&g<b&&(g=this.constrainResolution(g,-1,0)),b=g);this.ub(b);l=-l;f=(m+p)/2+(c[1]-c[3])/2*b;c=(n+q)/2+(c[0]-c[2])/2*b;this.Ha([f*d-c*l,c*d+f*l])};
62
- k.Oe=function(a,b,c){var d=this.ua(),e=Math.cos(-d),d=Math.sin(-d),f=a[0]*e-a[1]*d;a=a[1]*e+a[0]*d;var g=this.X(),f=f+(b[0]/2-c[0])*g;a+=(c[1]-b[1]/2)*g;d=-d;this.Ha([f*e-a*d,a*e+f*d])};k.rotate=function(a,b){if(void 0!==b){var c,d=this.Ca();void 0!==d&&(c=[d[0]-b[0],d[1]-b[1]],nb(c,a-this.ua()),mb(c,b));this.Ha(c)}this.Yc(a)};k.Ha=function(a){this.set(ad,a)};function ed(a,b){a.g[1]+=b}k.ub=function(a){this.set(bd,a)};k.Yc=function(a){this.set(cd,a)};
63
- k.ci=function(a){a=this.constrainResolution(this.a,a-this.i,0);this.ub(a)};var ad="center",bd="resolution",cd="rotation";function fd(a){return 1-Math.pow(1-a,3)}function gd(a){return 3*a*a-2*a*a*a}function hd(a){return a}function id(a){return.5>a?gd(2*a):1-gd(2*(a-.5))};function jd(a){var b=a.source,c=a.start?a.start:Date.now(),d=b[0],e=b[1],f=void 0!==a.duration?a.duration:1E3,g=a.easing?a.easing:gd;return function(a,b){if(b.time<c)return b.animate=!0,b.viewHints[0]+=1,!0;if(b.time<c+f){var m=1-g((b.time-c)/f),n=d-b.viewState.center[0],p=e-b.viewState.center[1];b.animate=!0;b.viewState.center[0]+=m*n;b.viewState.center[1]+=m*p;b.viewHints[0]+=1;return!0}return!1}}
64
- function kd(a){var b=a.rotation?a.rotation:0,c=a.start?a.start:Date.now(),d=void 0!==a.duration?a.duration:1E3,e=a.easing?a.easing:gd,f=a.anchor?a.anchor:null;return function(a,h){if(h.time<c)return h.animate=!0,h.viewHints[0]+=1,!0;if(h.time<c+d){var l=1-e((h.time-c)/d),l=(b-h.viewState.rotation)*l;h.animate=!0;h.viewState.rotation+=l;if(f){var m=h.viewState.center;m[0]-=f[0];m[1]-=f[1];nb(m,l);mb(m,f)}h.viewHints[0]+=1;return!0}return!1}}
65
- function ld(a){var b=a.resolution,c=a.start?a.start:Date.now(),d=void 0!==a.duration?a.duration:1E3,e=a.easing?a.easing:gd;return function(a,g){if(g.time<c)return g.animate=!0,g.viewHints[0]+=1,!0;if(g.time<c+d){var h=1-e((g.time-c)/d),l=b-g.viewState.resolution;g.animate=!0;g.viewState.resolution+=h*l;g.viewHints[0]+=1;return!0}return!1}};function md(a,b,c,d){this.H=a;this.J=b;this.M=c;this.P=d}function nd(a,b,c){return a.H<=b&&b<=a.J&&a.M<=c&&c<=a.P}function od(a,b){return a.H<=b.J&&a.J>=b.H&&a.M<=b.P&&a.P>=b.M};function pd(a,b){if(Array.isArray(a))return a;void 0===b?b=[a,a]:b[0]=b[1]=a;return b};function qd(a){this.minZoom=void 0!==a.minZoom?a.minZoom:0;this.a=a.resolutions;ha(fb(this.a,function(a,b){return b-a}),17);this.maxZoom=this.a.length-1;this.b=void 0!==a.origin?a.origin:null;this.c=null;void 0!==a.origins&&(this.c=a.origins,ha(this.c.length==this.a.length,20));var b=a.extent;void 0===b||this.b||this.c||(this.b=Hb(b));ha(!this.b&&this.c||this.b&&!this.c,18);this.g=null;void 0!==a.tileSizes&&(this.g=a.tileSizes,ha(this.g.length==this.a.length,19));this.i=void 0!==a.tileSize?a.tileSize:
66
- this.g?null:256;ha(!this.i&&this.g||this.i&&!this.g,22);this.B=void 0!==b?b:null;this.f=null;this.l=[0,0];void 0!==a.sizes?this.f=a.sizes.map(function(a){return new md(Math.min(0,a[0]),Math.max(a[0]-1,-1),Math.min(0,a[1]),Math.max(a[1]-1,-1))},this):b&&rd(this,b)}var sd=[0,0,0];function td(a,b,c,d,e){e=ud(a,b,e);for(b=b[0]-1;b>=a.minZoom;){if(c.call(null,b,vd(a,e,b,d)))return!0;--b}return!1}qd.prototype.D=function(){return this.B};qd.prototype.X=function(a){return this.a[a]};
67
- function wd(a,b,c,d){return b[0]<a.maxZoom?(d=ud(a,b,d),vd(a,d,b[0]+1,c)):null}function xd(a,b,c,d){yd(a,b[0],b[1],c,!1,sd);var e=sd[1],f=sd[2];yd(a,b[2],b[3],c,!0,sd);a=sd[1];b=sd[2];void 0!==d?(d.H=e,d.J=a,d.M=f,d.P=b):d=new md(e,a,f,b);return d}function vd(a,b,c,d){c=a.X(c);return xd(a,b,c,d)}function zd(a,b){var c=a.b?a.b:a.c[b[0]],d=a.X(b[0]),e=pd(Ad(a,b[0]),a.l);return[c[0]+(b[1]+.5)*e[0]*d,c[1]+(b[2]+.5)*e[1]*d]}
68
- function ud(a,b,c){var d=a.b?a.b:a.c[b[0]],e=a.X(b[0]);a=pd(Ad(a,b[0]),a.l);var f=d[0]+b[1]*a[0]*e;b=d[1]+b[2]*a[1]*e;return yb(f,b,f+a[0]*e,b+a[1]*e,c)}function yd(a,b,c,d,e,f){var g=Bd(a,d),h=d/a.X(g),l=a.b?a.b:a.c[g];a=pd(Ad(a,g),a.l);b=h*Math.floor((b-l[0])/d+(e?.5:0))/a[0];c=h*Math.floor((c-l[1])/d+(e?0:.5))/a[1];e?(b=Math.ceil(b)-1,c=Math.ceil(c)-1):(b=Math.floor(b),c=Math.floor(c));e=b;void 0!==f?(f[0]=g,f[1]=e,f[2]=c):f=[g,e,c];return f}
69
- function Cd(a,b,c,d){c=a.X(c);return yd(a,b[0],b[1],c,!1,d)}function Ad(a,b){return a.i?a.i:a.g[b]}function Bd(a,b,c){return ia(Za(a.a,b,c||0),a.minZoom,a.maxZoom)}function rd(a,b){for(var c=a.a.length,d=Array(c),e=a.minZoom;e<c;++e)d[e]=vd(a,b,e);a.f=d};function Dd(a){var b=a.i;if(!b){var b=Ed(a),c=Fd(b,void 0,void 0),b=new qd({extent:b,origin:Hb(b),resolutions:c,tileSize:void 0});a.i=b}return b}function Fd(a,b,c){b=void 0!==b?b:42;var d=Lb(a);a=Kb(a);c=pd(void 0!==c?c:256);c=Math.max(a/c[0],d/c[1]);b+=1;d=Array(b);for(a=0;a<b;++a)d[a]=c/Math.pow(2,a);return d}function Ed(a){a=$b(a);var b=a.D();b||(a=180*Wb.degrees/a.bb(),b=yb(-a,-a,a,a));return b};function Gd(a){this.c=a.html;this.b=a.tileRanges?a.tileRanges:null};function G(a){Ua.call(this);this.a=a?a:[];Hd(this)}x(G,Ua);k=G.prototype;k.clear=function(){for(;0<this.$b();)this.pop()};k.rg=function(a){var b,c;b=0;for(c=a.length;b<c;++b)this.push(a[b]);return this};k.fb=function(a,b){this.a.forEach(a,b)};k.sg=function(){return this.a};k.tg=function(a){return this.a[a]};k.$b=function(){return this.get(Id)};k.Zb=function(a,b){this.a.splice(a,0,b);Hd(this);this.b(new Jd(Kd,b))};k.pop=function(){return this.md(this.$b()-1)};
70
- k.push=function(a){var b=this.a.length;this.Zb(b,a);return b};k.remove=function(a){var b=this.a,c,d;c=0;for(d=b.length;c<d;++c)if(b[c]===a)return this.md(c)};k.md=function(a){var b=this.a[a];this.a.splice(a,1);Hd(this);this.b(new Jd(Ld,b));return b};k.Ph=function(a,b){var c=this.$b();if(a<c)c=this.a[a],this.a[a]=b,this.b(new Jd(Ld,c)),this.b(new Jd(Kd,b));else{for(;c<a;++c)this.Zb(c,void 0);this.Zb(a,b)}};function Hd(a){a.set(Id,a.a.length)}var Id="length",Kd="add",Ld="remove";
71
- function Jd(a,b){Ma.call(this,a);this.element=b}x(Jd,Ma);var Md=/^#(?:[0-9a-f]{3}){1,2}$/i,Nd=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,Od=/^(?:rgba)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|1|0\.\d{0,10})\)$/i,Pd=/^([a-z]*)$/i;function Qd(a){if("string"!==typeof a){var b=a[0];b!=(b|0)&&(b=b+.5|0);var c=a[1];c!=(c|0)&&(c=c+.5|0);var d=a[2];d!=(d|0)&&(d=d+.5|0);a="rgba("+b+","+c+","+d+","+(void 0===a[3]?1:a[3])+")"}return a}
72
- var Sd=function(){var a={},b=0;return function(c){var d;if(a.hasOwnProperty(c))d=a[c];else{if(1024<=b){d=0;for(var e in a)0===(d++&3)&&(delete a[e],--b)}d=c;var f,g;Pd.exec(d)&&(e=document.createElement("div"),e.style.color=d,document.body.appendChild(e),d=getComputedStyle(e).color,document.body.removeChild(e));Md.exec(d)?(f=d.length-1,ha(3==f||6==f,54),g=3==f?1:2,f=parseInt(d.substr(1+0*g,g),16),e=parseInt(d.substr(1+1*g,g),16),d=parseInt(d.substr(1+2*g,g),16),1==g&&(f=(f<<4)+f,e=(e<<4)+e,d=(d<<
73
- 4)+d),f=[f,e,d,1]):(g=Od.exec(d))?(f=Number(g[1]),e=Number(g[2]),d=Number(g[3]),g=Number(g[4]),f=Rd([f,e,d,g])):(g=Nd.exec(d))?(f=Number(g[1]),e=Number(g[2]),d=Number(g[3]),f=Rd([f,e,d,1])):ha(!1,14);d=f;a[c]=d;++b}return d}}();function Rd(a){var b=[];b[0]=ia(a[0]+.5|0,0,255);b[1]=ia(a[1]+.5|0,0,255);b[2]=ia(a[2]+.5|0,0,255);b[3]=ia(a[3],0,1);return b};function Td(a){return"string"===typeof a||a instanceof CanvasPattern||a instanceof CanvasGradient?a:Qd(a)};function Ud(a,b){var c=document.createElement("CANVAS");a&&(c.width=a);b&&(c.height=b);return c.getContext("2d")}function Vd(a){a&&a.parentNode&&a.parentNode.removeChild(a)};function Wd(a,b,c){Ma.call(this,a);this.map=b;this.frameState=void 0!==c?c:null}x(Wd,Ma);function Xd(a){Ua.call(this);this.element=a.element?a.element:null;this.i=this.K=null;this.C=[];this.render=a.render?a.render:da;a.target&&this.S(a.target)}x(Xd,Ua);Xd.prototype.ma=function(){Vd(this.element);Ua.prototype.ma.call(this)};Xd.prototype.qa=function(){return this.i};
74
- Xd.prototype.setMap=function(a){this.i&&Vd(this.element);for(var b=0,c=this.C.length;b<c;++b)Ea(this.C[b]);this.C.length=0;if(this.i=a)(this.K?this.K:a.G).appendChild(this.element),this.render!==da&&this.C.push(z(a,"postrender",this.render,this)),a.render()};Xd.prototype.S=function(a){this.K="string"===typeof a?document.getElementById(a):a};function Yd(a){a=a?a:{};this.G=document.createElement("UL");this.o=document.createElement("LI");this.G.appendChild(this.o);this.o.style.display="none";this.g=void 0!==a.collapsed?a.collapsed:!0;this.A=void 0!==a.collapsible?a.collapsible:!0;this.A||(this.g=!1);var b=void 0!==a.className?a.className:"ol-attribution",c=void 0!==a.tipLabel?a.tipLabel:"Attributions",d=void 0!==a.collapseLabel?a.collapseLabel:"\u00bb";"string"===typeof d?(this.l=document.createElement("span"),this.l.textContent=d):this.l=
75
- d;d=void 0!==a.label?a.label:"i";"string"===typeof d?(this.u=document.createElement("span"),this.u.textContent=d):this.u=d;var e=this.A&&!this.g?this.l:this.u,d=document.createElement("button");d.setAttribute("type","button");d.title=c;d.appendChild(e);z(d,"click",this.la,this);c=document.createElement("div");c.className=b+" ol-unselectable ol-control"+(this.g&&this.A?" ol-collapsed":"")+(this.A?"":" ol-uncollapsible");c.appendChild(this.G);c.appendChild(d);Xd.call(this,{element:c,render:a.render?
76
- a.render:Zd,target:a.target});this.F=!0;this.f={};this.a={};this.da={}}x(Yd,Xd);
77
- function Zd(a){if(a=a.frameState){var b,c,d,e,f,g,h,l,m,n,p,q=a.layerStatesArray,t=ya({},a.attributions),u={},r=a.viewState.projection;c=0;for(b=q.length;c<b;c++)if(g=q[c].layer.va())if(n=ea(g).toString(),m=g.u)for(d=0,e=m.length;d<e;d++)if(h=m[d],l=ea(h).toString(),!(l in t)){if(f=a.usedTiles[n]){var v=g.Ua(r);a:{p=h;var ba=r;if(p.b){var P,V,ja,ua=void 0;for(ua in f)if(ua in p.b){ja=f[ua];var y;P=0;for(V=p.b[ua].length;P<V;++P){y=p.b[ua][P];if(od(y,ja)){p=!0;break a}var sa=vd(v,Ed(ba),parseInt(ua,
78
- 10)),oa=sa.J-sa.H+1;if(ja.H<sa.H||ja.J>sa.J)if(od(y,new md(ma(ja.H,oa),ma(ja.J,oa),ja.M,ja.P))||ja.J-ja.H+1>oa&&od(y,sa)){p=!0;break a}}}p=!1}else p=!0}}else p=!1;p?(l in u&&delete u[l],t[l]=h):u[l]=h}b=[t,u];c=b[0];b=b[1];for(var U in this.f)U in c?(this.a[U]||(this.f[U].style.display="",this.a[U]=!0),delete c[U]):U in b?(this.a[U]&&(this.f[U].style.display="none",delete this.a[U]),delete b[U]):(Vd(this.f[U]),delete this.f[U],delete this.a[U]);for(U in c)d=document.createElement("LI"),d.innerHTML=
79
- c[U].c,this.G.appendChild(d),this.f[U]=d,this.a[U]=!0;for(U in b)d=document.createElement("LI"),d.innerHTML=b[U].c,d.style.display="none",this.G.appendChild(d),this.f[U]=d;U=!Ca(this.a)||!Ca(a.logos);this.F!=U&&(this.element.style.display=U?"":"none",this.F=U);U&&Ca(this.a)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only");var ca;a=a.logos;U=this.da;for(ca in U)ca in a||(Vd(U[ca]),delete U[ca]);for(var xa in a)b=a[xa],b instanceof HTMLElement&&(this.o.appendChild(b),
80
- U[xa]=b),xa in U||(ca=new Image,ca.src=xa,""===b?c=ca:(c=document.createElement("a"),c.href=b,c.appendChild(ca)),this.o.appendChild(c),U[xa]=c);this.o.style.display=Ca(a)?"none":""}else this.F&&(this.element.style.display="none",this.F=!1)}Yd.prototype.la=function(a){a.preventDefault();this.element.classList.toggle("ol-collapsed");if(this.g){a=this.u;var b=a.parentNode;b&&b.replaceChild(this.l,a)}else a=this.l,(b=a.parentNode)&&b.replaceChild(this.u,a);this.g=!this.g};function $d(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-rotate",c=void 0!==a.label?a.label:"\u21e7";this.a=null;"string"===typeof c?(this.a=document.createElement("span"),this.a.className="ol-compass",this.a.textContent=c):(this.a=c,this.a.classList.add("ol-compass"));var d=a.tipLabel?a.tipLabel:"Reset rotation",c=document.createElement("button");c.className=b+"-reset";c.setAttribute("type","button");c.title=d;c.appendChild(this.a);z(c,"click",$d.prototype.u,this);d=document.createElement("div");
81
- d.className=b+" ol-unselectable ol-control";d.appendChild(c);b=a.render?a.render:ae;this.g=a.resetNorth?a.resetNorth:void 0;Xd.call(this,{element:d,render:b,target:a.target});this.l=void 0!==a.duration?a.duration:250;this.f=void 0!==a.autoHide?a.autoHide:!0;this.o=void 0;this.f&&this.element.classList.add("ol-hidden")}x($d,Xd);
82
- $d.prototype.u=function(a){a.preventDefault();if(void 0!==this.g)this.g();else{a=this.i;var b=a.ja();if(b){var c=b.ua();void 0!==c&&(0<this.l&&(c%=2*Math.PI,c<-Math.PI&&(c+=2*Math.PI),c>Math.PI&&(c-=2*Math.PI),a.ya(kd({rotation:c,duration:this.l,easing:fd}))),b.Yc(0))}}};
83
- function ae(a){if(a=a.frameState){a=a.viewState.rotation;if(a!=this.o){var b="rotate("+a+"rad)";if(this.f){var c=this.element.classList.contains("ol-hidden");c||0!==a?c&&0!==a&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.a.style.msTransform=b;this.a.style.webkitTransform=b;this.a.style.transform=b}this.o=a}};function be(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-zoom",c=void 0!==a.delta?a.delta:1,d=void 0!==a.zoomInLabel?a.zoomInLabel:"+",e=void 0!==a.zoomOutLabel?a.zoomOutLabel:"\u2212",f=void 0!==a.zoomInTipLabel?a.zoomInTipLabel:"Zoom in",g=void 0!==a.zoomOutTipLabel?a.zoomOutTipLabel:"Zoom out",h=document.createElement("button");h.className=b+"-in";h.setAttribute("type","button");h.title=f;h.appendChild("string"===typeof d?document.createTextNode(d):d);z(h,"click",be.prototype.f.bind(this,
84
- c));d=document.createElement("button");d.className=b+"-out";d.setAttribute("type","button");d.title=g;d.appendChild("string"===typeof e?document.createTextNode(e):e);z(d,"click",be.prototype.f.bind(this,-c));c=document.createElement("div");c.className=b+" ol-unselectable ol-control";c.appendChild(h);c.appendChild(d);Xd.call(this,{element:c,target:a.target});this.a=void 0!==a.duration?a.duration:250}x(be,Xd);
85
- be.prototype.f=function(a,b){b.preventDefault();var c=this.i,d=c.ja();if(d){var e=d.X();e&&(0<this.a&&c.ya(ld({resolution:e,duration:this.a,easing:fd})),c=d.constrainResolution(e,a),d.ub(c))}};var ce="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",de=-1!==ce.indexOf("firefox"),ee=-1!==ce.indexOf("safari")&&-1==ce.indexOf("chrom"),fe=-1!==ce.indexOf("webkit")&&-1==ce.indexOf("edge"),ge=-1!==ce.indexOf("macintosh"),he=window.devicePixelRatio||1,ie=!1,je=function(){if(!("HTMLCanvasElement"in window))return!1;try{var a=document.createElement("CANVAS").getContext("2d");return a?(void 0!==a.setLineDash&&(ie=!0),!0):!1}catch(b){return!1}}(),ke="ontouchstart"in window,le="PointerEvent"in
86
- window,me=!!navigator.msPointerEnabled;function ne(a,b){this.b=a;this.g=b};function oe(a){ne.call(this,a,{mousedown:this.dg,mousemove:this.eg,mouseup:this.hg,mouseover:this.gg,mouseout:this.fg});this.c=a.a;this.a=[]}x(oe,ne);function pe(a,b){for(var c=a.a,d=b.clientX,e=b.clientY,f=0,g=c.length,h;f<g&&(h=c[f]);f++){var l=Math.abs(e-h[1]);if(25>=Math.abs(d-h[0])&&25>=l)return!0}return!1}function qe(a){var b=re(a,a),c=b.preventDefault;b.preventDefault=function(){a.preventDefault();c()};b.pointerId=1;b.isPrimary=!0;b.pointerType="mouse";return b}k=oe.prototype;
87
- k.dg=function(a){if(!pe(this,a)){if((1).toString()in this.c){var b=qe(a);se(this.b,"pointercancel",b,a);delete this.c[(1).toString()]}b=qe(a);this.c[(1).toString()]=a;se(this.b,"pointerdown",b,a)}};k.eg=function(a){if(!pe(this,a)){var b=qe(a);se(this.b,"pointermove",b,a)}};k.hg=function(a){if(!pe(this,a)){var b=this.c[(1).toString()];b&&b.button===a.button&&(b=qe(a),se(this.b,"pointerup",b,a),delete this.c[(1).toString()])}};k.gg=function(a){if(!pe(this,a)){var b=qe(a);te(this.b,b,a)}};
88
- k.fg=function(a){if(!pe(this,a)){var b=qe(a);ue(this.b,b,a)}};function ve(a){ne.call(this,a,{MSPointerDown:this.mg,MSPointerMove:this.ng,MSPointerUp:this.qg,MSPointerOut:this.og,MSPointerOver:this.pg,MSPointerCancel:this.lg,MSGotPointerCapture:this.jg,MSLostPointerCapture:this.kg});this.c=a.a;this.a=["","unavailable","touch","pen","mouse"]}x(ve,ne);function we(a,b){var c=b;"number"===typeof b.pointerType&&(c=re(b,b),c.pointerType=a.a[b.pointerType]);return c}k=ve.prototype;
89
- k.mg=function(a){this.c[a.pointerId.toString()]=a;var b=we(this,a);se(this.b,"pointerdown",b,a)};k.ng=function(a){var b=we(this,a);se(this.b,"pointermove",b,a)};k.qg=function(a){var b=we(this,a);se(this.b,"pointerup",b,a);delete this.c[a.pointerId.toString()]};k.og=function(a){var b=we(this,a);ue(this.b,b,a)};k.pg=function(a){var b=we(this,a);te(this.b,b,a)};k.lg=function(a){var b=we(this,a);se(this.b,"pointercancel",b,a);delete this.c[a.pointerId.toString()]};
90
- k.kg=function(a){this.b.b(new xe("lostpointercapture",a,a))};k.jg=function(a){this.b.b(new xe("gotpointercapture",a,a))};function ye(a){ne.call(this,a,{pointerdown:this.vh,pointermove:this.wh,pointerup:this.zh,pointerout:this.xh,pointerover:this.yh,pointercancel:this.uh,gotpointercapture:this.Mf,lostpointercapture:this.cg})}x(ye,ne);k=ye.prototype;k.vh=function(a){ze(this.b,a)};k.wh=function(a){ze(this.b,a)};k.zh=function(a){ze(this.b,a)};k.xh=function(a){ze(this.b,a)};k.yh=function(a){ze(this.b,a)};k.uh=function(a){ze(this.b,a)};k.cg=function(a){ze(this.b,a)};k.Mf=function(a){ze(this.b,a)};function xe(a,b,c){Ma.call(this,a);this.b=b;a=c?c:{};this.buttons=Ae(a);this.pressure=Be(a,this.buttons);this.bubbles="bubbles"in a?a.bubbles:!1;this.cancelable="cancelable"in a?a.cancelable:!1;this.view="view"in a?a.view:null;this.detail="detail"in a?a.detail:null;this.screenX="screenX"in a?a.screenX:0;this.screenY="screenY"in a?a.screenY:0;this.clientX="clientX"in a?a.clientX:0;this.clientY="clientY"in a?a.clientY:0;this.button="button"in a?a.button:0;this.relatedTarget="relatedTarget"in a?a.relatedTarget:
91
- null;this.pointerId="pointerId"in a?a.pointerId:0;this.width="width"in a?a.width:0;this.height="height"in a?a.height:0;this.pointerType="pointerType"in a?a.pointerType:"";this.isPrimary="isPrimary"in a?a.isPrimary:!1;b.preventDefault&&(this.preventDefault=function(){b.preventDefault()})}x(xe,Ma);function Ae(a){if(a.buttons||Ce)a=a.buttons;else switch(a.which){case 1:a=1;break;case 2:a=4;break;case 3:a=2;break;default:a=0}return a}
92
- function Be(a,b){var c=0;a.pressure?c=a.pressure:c=b?.5:0;return c}var Ce=!1;try{Ce=1===(new MouseEvent("click",{buttons:1})).buttons}catch(a){};function De(a,b){ne.call(this,a,{touchstart:this.hi,touchmove:this.gi,touchend:this.fi,touchcancel:this.ei});this.c=a.a;this.l=b;this.a=void 0;this.i=0;this.f=void 0}x(De,ne);k=De.prototype;k.fe=function(){this.i=0;this.f=void 0};
93
- function Ee(a,b,c){b=re(b,c);b.pointerId=c.identifier+2;b.bubbles=!0;b.cancelable=!0;b.detail=a.i;b.button=0;b.buttons=1;b.width=c.webkitRadiusX||c.radiusX||0;b.height=c.webkitRadiusY||c.radiusY||0;b.pressure=c.webkitForce||c.force||.5;b.isPrimary=a.a===c.identifier;b.pointerType="touch";b.clientX=c.clientX;b.clientY=c.clientY;b.screenX=c.screenX;b.screenY=c.screenY;return b}
94
- function Fe(a,b,c){function d(){b.preventDefault()}var e=Array.prototype.slice.call(b.changedTouches),f=e.length,g,h;for(g=0;g<f;++g)h=Ee(a,b,e[g]),h.preventDefault=d,c.call(a,b,h)}
95
- k.hi=function(a){var b=a.touches,c=Object.keys(this.c),d=c.length;if(d>=b.length){var e=[],f,g,h;for(f=0;f<d;++f){g=c[f];h=this.c[g];var l;if(!(l=1==g))a:{l=b.length;for(var m,n=0;n<l;n++)if(m=b[n],m.identifier===g-2){l=!0;break a}l=!1}l||e.push(h.out)}for(f=0;f<e.length;++f)this.zc(a,e[f])}b=a.changedTouches[0];c=Object.keys(this.c).length;if(0===c||1===c&&(1).toString()in this.c)this.a=b.identifier,void 0!==this.f&&clearTimeout(this.f);Ge(this,a);this.i++;Fe(this,a,this.qh)};
96
- k.qh=function(a,b){this.c[b.pointerId]={target:b.target,out:b,be:b.target};var c=this.b;b.bubbles=!0;se(c,"pointerover",b,a);c=this.b;b.bubbles=!1;se(c,"pointerenter",b,a);se(this.b,"pointerdown",b,a)};k.gi=function(a){a.preventDefault();Fe(this,a,this.ig)};
97
- k.ig=function(a,b){var c=this.c[b.pointerId];if(c){var d=c.out,e=c.be;se(this.b,"pointermove",b,a);d&&e!==b.target&&(d.relatedTarget=b.target,b.relatedTarget=e,d.target=e,b.target?(ue(this.b,d,a),te(this.b,b,a)):(b.target=e,b.relatedTarget=null,this.zc(a,b)));c.out=b;c.be=b.target}};k.fi=function(a){Ge(this,a);Fe(this,a,this.ii)};
98
- k.ii=function(a,b){se(this.b,"pointerup",b,a);this.b.out(b,a);He(this.b,b,a);delete this.c[b.pointerId];b.isPrimary&&(this.a=void 0,this.f=setTimeout(this.fe.bind(this),200))};k.ei=function(a){Fe(this,a,this.zc)};k.zc=function(a,b){se(this.b,"pointercancel",b,a);this.b.out(b,a);He(this.b,b,a);delete this.c[b.pointerId];b.isPrimary&&(this.a=void 0,this.f=setTimeout(this.fe.bind(this),200))};
99
- function Ge(a,b){var c=a.l.a,d=b.changedTouches[0];if(a.a===d.identifier){var e=[d.clientX,d.clientY];c.push(e);setTimeout(function(){ab(c,e)},2500)}};function Ie(a){Oa.call(this);this.i=a;this.a={};this.g={};this.c=[];le?Je(this,new ye(this)):me?Je(this,new ve(this)):(a=new oe(this),Je(this,a),ke&&Je(this,new De(this,a)));a=this.c.length;for(var b,c=0;c<a;c++)b=this.c[c],Ke(this,Object.keys(b.g))}x(Ie,Oa);function Je(a,b){var c=Object.keys(b.g);c&&(c.forEach(function(a){var c=b.g[a];c&&(this.g[a]=c.bind(b))},a),a.c.push(b))}Ie.prototype.f=function(a){var b=this.g[a.type];b&&b(a)};
100
- function Ke(a,b){b.forEach(function(a){z(this.i,a,this.f,this)},a)}function Le(a,b){b.forEach(function(a){Ja(this.i,a,this.f,this)},a)}function re(a,b){for(var c={},d,e=0,f=Me.length;e<f;e++)d=Me[e][0],c[d]=a[d]||b[d]||Me[e][1];return c}function He(a,b,c){b.bubbles=!1;se(a,"pointerleave",b,c)}Ie.prototype.out=function(a,b){a.bubbles=!0;se(this,"pointerout",a,b)};function ue(a,b,c){a.out(b,c);var d=b.target,e=b.relatedTarget;d&&e&&d.contains(e)||He(a,b,c)}
101
- function te(a,b,c){b.bubbles=!0;se(a,"pointerover",b,c);var d=b.target,e=b.relatedTarget;d&&e&&d.contains(e)||(b.bubbles=!1,se(a,"pointerenter",b,c))}function se(a,b,c,d){a.b(new xe(b,d,c))}function ze(a,b){a.b(new xe(b.type,b,b))}Ie.prototype.ma=function(){for(var a=this.c.length,b,c=0;c<a;c++)b=this.c[c],Le(this,Object.keys(b.g));Oa.prototype.ma.call(this)};
102
- var Me=[["bubbles",!1],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",!1],["type",""],["target",null],["currentTarget",null],["which",0]];function Ne(a,b,c,d,e){Wd.call(this,a,b,e);this.originalEvent=c;this.pixel=b.Kc(c);this.coordinate=b.Ka(this.pixel);this.dragging=void 0!==d?d:!1}x(Ne,Wd);Ne.prototype.preventDefault=function(){Wd.prototype.preventDefault.call(this);this.originalEvent.preventDefault()};Ne.prototype.stopPropagation=function(){Wd.prototype.stopPropagation.call(this);this.originalEvent.stopPropagation()};function Oe(a,b,c,d,e){Ne.call(this,a,b,c.b,d,e);this.b=c}x(Oe,Ne);
103
- function Pe(a){Oa.call(this);this.f=a;this.l=0;this.B=!1;this.g=[];this.a=null;a=this.f.a;this.C=0;this.A={};this.i=new Ie(a);this.c=null;this.o=z(this.i,"pointerdown",this.Tf,this);this.u=z(this.i,"pointermove",this.Fh,this)}x(Pe,Oa);function Qe(a,b){var c=new Oe(Re,a.f,b);a.b(c);0!==a.l?(clearTimeout(a.l),a.l=0,c=new Oe(Se,a.f,b),a.b(c)):a.l=setTimeout(function(){this.l=0;var a=new Oe(Te,this.f,b);this.b(a)}.bind(a),250)}
104
- function Ue(a,b){b.type==Ve||b.type==We?delete a.A[b.pointerId]:b.type==Xe&&(a.A[b.pointerId]=!0);a.C=Object.keys(a.A).length}k=Pe.prototype;k.Rd=function(a){Ue(this,a);var b=new Oe(Ve,this.f,a);this.b(b);!this.B&&0===a.button&&Qe(this,this.a);0===this.C&&(this.g.forEach(Ea),this.g.length=0,this.B=!1,this.a=null,La(this.c),this.c=null)};
105
- k.Tf=function(a){Ue(this,a);var b=new Oe(Xe,this.f,a);this.b(b);this.a=a;0===this.g.length&&(this.c=new Ie(document),this.g.push(z(this.c,Ye,this.yg,this),z(this.c,Ve,this.Rd,this),z(this.i,We,this.Rd,this)))};k.yg=function(a){if(a.clientX!=this.a.clientX||a.clientY!=this.a.clientY){this.B=!0;var b=new Oe(Ze,this.f,a,this.B);this.b(b)}a.preventDefault()};k.Fh=function(a){this.b(new Oe(a.type,this.f,a,!(!this.a||a.clientX==this.a.clientX&&a.clientY==this.a.clientY)))};
106
- k.ma=function(){this.u&&(Ea(this.u),this.u=null);this.o&&(Ea(this.o),this.o=null);this.g.forEach(Ea);this.g.length=0;this.c&&(La(this.c),this.c=null);this.i&&(La(this.i),this.i=null);Oa.prototype.ma.call(this)};var Te="singleclick",Re="click",Se="dblclick",Ze="pointerdrag",Ye="pointermove",Xe="pointerdown",Ve="pointerup",We="pointercancel",$e={vi:Te,ji:Re,ki:Se,ni:Ze,ri:Ye,mi:Xe,ui:Ve,ti:"pointerover",si:"pointerout",oi:"pointerenter",pi:"pointerleave",li:We};function af(a,b){Oa.call(this);this.Ia=a;this.state=b;this.c=null;this.key=""}x(af,Oa);function bf(a){a.b("change")}af.prototype.getKey=function(){return this.key+"/"+this.Ia};function cf(a){if(!a.c)return a;var b=a.c;do{if(b.fa()==df)return b;b=b.c}while(b);return a}af.prototype.fa=function(){return this.state};var df=2;function ef(a,b){this.o=a;this.f=b;this.b=[];this.c=[];this.a={}}ef.prototype.clear=function(){this.b.length=0;this.c.length=0;za(this.a)};ef.prototype.l=function(a){ha(!(this.f(a)in this.a),31);var b=this.o(a);return Infinity!=b?(this.b.push(a),this.c.push(b),this.a[this.f(a)]=!0,ff(this,0,this.b.length-1),!0):!1};function gf(a,b){for(var c=a.b,d=a.c,e=c.length,f=c[b],g=d[b],h=b;b<e>>1;){var l=2*b+1,m=2*b+2,l=m<e&&d[m]<d[l]?m:l;c[b]=c[l];d[b]=d[l];b=l}c[b]=f;d[b]=g;ff(a,h,b)}
107
- function ff(a,b,c){var d=a.b;a=a.c;for(var e=d[c],f=a[c];c>b;){var g=c-1>>1;if(a[g]>f)d[c]=d[g],a[c]=a[g],c=g;else break}d[c]=e;a[c]=f};function hf(a,b){ef.call(this,function(b){return a.apply(null,b)},function(a){return a[0].getKey()});this.u=b;this.i=0;this.g={}}x(hf,ef);hf.prototype.l=function(a){var b=ef.prototype.l.call(this,a);b&&z(a[0],"change",this.B,this);return b};hf.prototype.B=function(a){a=a.target;var b=a.fa();if(b===df||3===b||4===b||5===b)Ja(a,"change",this.B,this),a=a.getKey(),a in this.g&&(delete this.g[a],--this.i),this.u()};function jf(){this.b=[];this.c=this.a=0}function kf(a,b){var c=a.c,d=.05-c,e=Math.log(.05/a.c)/-.005;return jd({source:b,duration:e,easing:function(a){return c*(Math.exp(-.005*a*e)-1)/d}})};function lf(a){Ua.call(this);this.la=null;this.sa(!0);this.handleEvent=a.handleEvent}x(lf,Ua);lf.prototype.da=function(){return this.get("active")};lf.prototype.$a=function(){return this.la};lf.prototype.sa=function(a){this.set("active",a)};lf.prototype.setMap=function(a){this.la=a};function mf(a,b,c,d,e){if(void 0!==c){var f=b.ua(),g=b.Ca();void 0!==f&&g&&e&&0<e&&(a.ya(kd({rotation:f,duration:e,easing:fd})),d&&a.ya(jd({source:g,duration:e,easing:fd})));b.rotate(c,d)}}
108
- function nf(a,b,c,d,e){var f=b.X();c=b.constrainResolution(f,c,0);of(a,b,c,d,e)}function of(a,b,c,d,e){if(c){var f=b.X(),g=b.Ca();void 0!==f&&g&&c!==f&&e&&0<e&&(a.ya(ld({resolution:f,duration:e,easing:fd})),d&&a.ya(jd({source:g,duration:e,easing:fd})));if(d){var h;a=b.Ca();e=b.X();void 0!==a&&void 0!==e&&(h=[d[0]-c*(d[0]-a[0])/e,d[1]-c*(d[1]-a[1])/e]);b.Ha(h)}b.ub(c)}};function pf(a){a=a?a:{};this.a=a.delta?a.delta:1;lf.call(this,{handleEvent:qf});this.f=void 0!==a.duration?a.duration:250}x(pf,lf);function qf(a){var b=!1,c=a.originalEvent;if(a.type==Se){var b=a.map,d=a.coordinate,c=c.shiftKey?-this.a:this.a,e=b.ja();nf(b,e,c,d,this.f);a.preventDefault();b=!0}return!b};function rf(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}function sf(a){a=a.originalEvent;return 0==a.button&&!(fe&&ge&&a.ctrlKey)}function tf(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey}function uf(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}function vf(a){a=a.originalEvent.target.tagName;return"INPUT"!==a&&"SELECT"!==a&&"TEXTAREA"!==a}function wf(a){ha(a.b,56);return"mouse"==a.b.pointerType};function xf(a){a=a?a:{};lf.call(this,{handleEvent:a.handleEvent?a.handleEvent:yf});this.uc=a.handleDownEvent?a.handleDownEvent:Sb;this.vc=a.handleDragEvent?a.handleDragEvent:da;this.sc=a.handleMoveEvent?a.handleMoveEvent:da;this.Ce=a.handleUpEvent?a.handleUpEvent:Sb;this.F=!1;this.K={};this.i=[]}x(xf,lf);function zf(a){for(var b=a.length,c=0,d=0,e=0;e<b;e++)c+=a[e].clientX,d+=a[e].clientY;return[c/b,d/b]}
109
- function yf(a){if(!(a instanceof Oe))return!0;var b=!1,c=a.type;if(c===Xe||c===Ze||c===Ve)c=a.b,a.type==Ve?delete this.K[c.pointerId]:a.type==Xe?this.K[c.pointerId]=c:c.pointerId in this.K&&(this.K[c.pointerId]=c),this.i=Aa(this.K);this.F&&(a.type==Ze?this.vc(a):a.type==Ve&&(this.F=this.Ce(a)));a.type==Xe?(this.F=a=this.uc(a),b=this.vb(a)):a.type==Ye&&this.sc(a);return!b}xf.prototype.vb=function(a){return a};function Af(a){xf.call(this,{handleDownEvent:Bf,handleDragEvent:Cf,handleUpEvent:Df});a=a?a:{};this.a=a.kinetic;this.f=this.g=null;this.o=a.condition?a.condition:tf;this.l=!1}x(Af,xf);function Cf(a){var b=zf(this.i);this.a&&this.a.b.push(b[0],b[1],Date.now());if(this.f){var c=this.f[0]-b[0],d=b[1]-this.f[1];a=a.map.ja();var e=a.fa(),d=c=[c,d],f=e.resolution;d[0]*=f;d[1]*=f;nb(c,e.rotation);mb(c,e.center);c=a.Qb(c);a.Ha(c)}this.f=b}
110
- function Df(a){var b=a.map;a=b.ja();if(0===this.i.length){var c;if(c=!this.l&&this.a)if(c=this.a,6>c.b.length)c=!1;else{var d=Date.now()-100,e=c.b.length-3;if(c.b[e+2]<d)c=!1;else{for(var f=e-3;0<f&&c.b[f+2]>d;)f-=3;var d=c.b[e+2]-c.b[f+2],g=c.b[e]-c.b[f],e=c.b[e+1]-c.b[f+1];c.a=Math.atan2(e,g);c.c=Math.sqrt(g*g+e*e)/d;c=.05<c.c}}c?(c=(.05-this.a.c)/-.005,e=this.a.a,f=a.Ca(),this.g=kf(this.a,f),b.ya(this.g),f=b.Gb(f),b=b.Ka([f[0]-c*Math.cos(e),f[1]-c*Math.sin(e)]),b=a.Qb(b),a.Ha(b)):b.render();ed(a,
111
- -1);return!1}this.f=null;return!0}function Bf(a){if(0<this.i.length&&this.o(a)){var b=a.map,c=b.ja();this.f=null;this.F||ed(c,1);this.g&&ab(b.S,this.g)&&(c.Ha(a.frameState.viewState.center),this.g=null);this.a&&(a=this.a,a.b.length=0,a.a=0,a.c=0);this.l=1<this.i.length;return!0}return!1}Af.prototype.vb=Sb;function Ef(a){a=a?a:{};xf.call(this,{handleDownEvent:Ff,handleDragEvent:Gf,handleUpEvent:Hf});this.f=a.condition?a.condition:rf;this.a=void 0;this.g=void 0!==a.duration?a.duration:250}x(Ef,xf);function Gf(a){if(wf(a)){var b=a.map,c=b.ac();a=a.pixel;c=Math.atan2(c[1]/2-a[1],a[0]-c[0]/2);if(void 0!==this.a){a=c-this.a;var d=b.ja(),e=d.ua();mf(b,d,e-a)}this.a=c}}
112
- function Hf(a){if(!wf(a))return!0;a=a.map;var b=a.ja();ed(b,-1);var c=b.ua(),d=this.g,c=b.constrainRotation(c,0);mf(a,b,c,void 0,d);return!1}function Ff(a){return wf(a)&&sf(a)&&this.f(a)?(ed(a.map.ja(),1),this.a=void 0,!0):!1}Ef.prototype.vb=Sb;function If(a){this.f=null;this.c=document.createElement("div");this.c.style.position="absolute";this.c.className="ol-box "+a;this.a=this.g=this.b=null}x(If,Ka);If.prototype.ma=function(){this.setMap(null)};function Jf(a){var b=a.g,c=a.a;a=a.c.style;a.left=Math.min(b[0],c[0])+"px";a.top=Math.min(b[1],c[1])+"px";a.width=Math.abs(c[0]-b[0])+"px";a.height=Math.abs(c[1]-b[1])+"px"}
113
- If.prototype.setMap=function(a){if(this.b){this.b.K.removeChild(this.c);var b=this.c.style;b.left=b.top=b.width=b.height="inherit"}(this.b=a)&&this.b.K.appendChild(this.c)};function Kf(a){var b=a.g,c=a.a,b=[b,[b[0],c[1]],c,[c[0],b[1]]].map(a.b.Ka,a.b);b[4]=b[0].slice();a.f?a.f.W([b]):a.f=new E([b])}If.prototype.L=function(){return this.f};function Lf(a){xf.call(this,{handleDownEvent:Mf,handleDragEvent:Nf,handleUpEvent:Of});a=a?a:{};this.a=new If(a.className||"ol-dragbox");this.f=null;this.u=a.condition?a.condition:Rb;this.o=a.boxEndCondition?a.boxEndCondition:Pf}x(Lf,xf);function Pf(a,b,c){a=c[0]-b[0];b=c[1]-b[1];return 64<=a*a+b*b}function Nf(a){if(wf(a)){var b=this.a,c=a.pixel;b.g=this.f;b.a=c;Kf(b);Jf(b);this.b(new Qf(Rf,a.coordinate,a))}}Lf.prototype.L=function(){return this.a.L()};Lf.prototype.l=da;
114
- function Of(a){if(!wf(a))return!0;this.a.setMap(null);this.o(a,this.f,a.pixel)&&(this.l(a),this.b(new Qf(Sf,a.coordinate,a)));return!1}function Mf(a){if(wf(a)&&sf(a)&&this.u(a)){this.f=a.pixel;this.a.setMap(a.map);var b=this.a,c=this.f;b.g=this.f;b.a=c;Kf(b);Jf(b);this.b(new Qf(Tf,a.coordinate,a));return!0}return!1}var Tf="boxstart",Rf="boxdrag",Sf="boxend";function Qf(a,b,c){Ma.call(this,a);this.coordinate=b;this.mapBrowserEvent=c}x(Qf,Ma);function Uf(a){a=a?a:{};var b=a.condition?a.condition:uf;this.g=void 0!==a.duration?a.duration:200;this.A=void 0!==a.out?a.out:!1;Lf.call(this,{condition:b,className:a.className||"ol-dragzoom"})}x(Uf,Lf);
115
- Uf.prototype.l=function(){var a=this.la,b=a.ja(),c=a.ac(),d=this.L().D();if(this.A){var e=b.Id(c),d=[a.Gb(Eb(d)),a.Gb(Gb(d))],f=zb(void 0),g,h;g=0;for(h=d.length;g<h;++g)qb(f,d[g]);f=1/dd(f,c);d=(e[2]-e[0])/2*(f-1);f=(e[3]-e[1])/2*(f-1);e[0]-=d;e[2]+=d;e[1]-=f;e[3]+=f;d=e}c=b.constrainResolution(dd(d,c));e=b.X();f=b.Ca();a.ya(ld({resolution:e,duration:this.g,easing:fd}));a.ya(jd({source:f,duration:this.g,easing:fd}));b.Ha(Mb(d));b.ub(c)};function Vf(a){lf.call(this,{handleEvent:Wf});a=a||{};this.a=function(a){return tf(a)&&vf(a)};this.f=void 0!==a.condition?a.condition:this.a;this.g=void 0!==a.duration?a.duration:100;this.i=void 0!==a.pixelDelta?a.pixelDelta:128}x(Vf,lf);
116
- function Wf(a){var b=!1;if("keydown"==a.type){var c=a.originalEvent.keyCode;if(this.f(a)&&(40==c||37==c||39==c||38==c)){var d=a.map,b=d.ja(),e=b.X()*this.i,f=0,g=0;40==c?g=-e:37==c?f=-e:39==c?f=e:g=e;c=[f,g];nb(c,b.ua());e=this.g;if(f=b.Ca())e&&0<e&&d.ya(jd({source:f,duration:e,easing:hd})),d=b.Qb([f[0]+c[0],f[1]+c[1]]),b.Ha(d);a.preventDefault();b=!0}}return!b};function Xf(a){lf.call(this,{handleEvent:Yf});a=a?a:{};this.f=a.condition?a.condition:vf;this.a=a.delta?a.delta:1;this.g=void 0!==a.duration?a.duration:100}x(Xf,lf);function Yf(a){var b=!1;if("keydown"==a.type||"keypress"==a.type){var c=a.originalEvent.charCode;if(this.f(a)&&(43==c||45==c)){var b=a.map,c=43==c?this.a:-this.a,d=b.ja();nf(b,d,c,void 0,this.g);a.preventDefault();b=!0}}return!b};function Zf(a){lf.call(this,{handleEvent:$f});a=a||{};this.a=0;this.o=void 0!==a.duration?a.duration:250;this.u=void 0!==a.useAnchor?a.useAnchor:!0;this.g=null;this.i=this.f=void 0}x(Zf,lf);
117
- function $f(a){var b=!1;if("wheel"==a.type||"mousewheel"==a.type){var b=a.map,c=a.originalEvent;this.u&&(this.g=a.coordinate);var d;"wheel"==a.type?(d=c.deltaY,de&&c.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(d/=he),c.deltaMode===WheelEvent.DOM_DELTA_LINE&&(d*=40)):"mousewheel"==a.type&&(d=-c.wheelDeltaY,ee&&(d/=3));this.a+=d;void 0===this.f&&(this.f=Date.now());d=Math.max(80-(Date.now()-this.f),0);clearTimeout(this.i);this.i=setTimeout(this.l.bind(this,b),d);a.preventDefault();b=!0}return!b}
118
- Zf.prototype.l=function(a){var b=ia(this.a,-1,1),c=a.ja();nf(a,c,-b,this.g,this.o);this.a=0;this.g=null;this.i=this.f=void 0};function ag(a){xf.call(this,{handleDownEvent:bg,handleDragEvent:cg,handleUpEvent:dg});a=a||{};this.f=null;this.g=void 0;this.a=!1;this.l=0;this.u=void 0!==a.threshold?a.threshold:.3;this.o=void 0!==a.duration?a.duration:250}x(ag,xf);
119
- function cg(a){var b=0,c=this.i[0],d=this.i[1],c=Math.atan2(d.clientY-c.clientY,d.clientX-c.clientX);void 0!==this.g&&(b=c-this.g,this.l+=b,!this.a&&Math.abs(this.l)>this.u&&(this.a=!0));this.g=c;a=a.map;c=a.a.getBoundingClientRect();d=zf(this.i);d[0]-=c.left;d[1]-=c.top;this.f=a.Ka(d);this.a&&(c=a.ja(),d=c.ua(),a.render(),mf(a,c,d+b,this.f))}
120
- function dg(a){if(2>this.i.length){a=a.map;var b=a.ja();ed(b,-1);if(this.a){var c=b.ua(),d=this.f,e=this.o,c=b.constrainRotation(c,0);mf(a,b,c,d,e)}return!1}return!0}function bg(a){return 2<=this.i.length?(a=a.map,this.f=null,this.g=void 0,this.a=!1,this.l=0,this.F||ed(a.ja(),1),a.render(),!0):!1}ag.prototype.vb=Sb;function eg(a){xf.call(this,{handleDownEvent:fg,handleDragEvent:gg,handleUpEvent:hg});a=a?a:{};this.f=null;this.l=void 0!==a.duration?a.duration:400;this.a=void 0;this.g=1}x(eg,xf);function gg(a){var b=1,c=this.i[0],d=this.i[1],e=c.clientX-d.clientX,c=c.clientY-d.clientY,e=Math.sqrt(e*e+c*c);void 0!==this.a&&(b=this.a/e);this.a=e;1!=b&&(this.g=b);a=a.map;var e=a.ja(),c=e.X(),d=a.a.getBoundingClientRect(),f=zf(this.i);f[0]-=d.left;f[1]-=d.top;this.f=a.Ka(f);a.render();of(a,e,c*b,this.f)}
121
- function hg(a){if(2>this.i.length){a=a.map;var b=a.ja();ed(b,-1);var c=b.X(),d=this.f,e=this.l,c=b.constrainResolution(c,0,this.g-1);of(a,b,c,d,e);return!1}return!0}function fg(a){return 2<=this.i.length?(a=a.map,this.f=null,this.a=void 0,this.g=1,this.F||ed(a.ja(),1),a.render(),!0):!1}eg.prototype.vb=Sb;function ig(a){a=a?a:{};var b=new G,c=new jf;(void 0!==a.altShiftDragRotate?a.altShiftDragRotate:1)&&b.push(new Ef);(void 0!==a.doubleClickZoom?a.doubleClickZoom:1)&&b.push(new pf({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.dragPan?a.dragPan:1)&&b.push(new Af({kinetic:c}));(void 0!==a.pinchRotate?a.pinchRotate:1)&&b.push(new ag);(void 0!==a.pinchZoom?a.pinchZoom:1)&&b.push(new eg({duration:a.zoomDuration}));if(void 0!==a.keyboard?a.keyboard:1)b.push(new Vf),b.push(new Xf({delta:a.zoomDelta,
122
- duration:a.zoomDuration}));(void 0!==a.mouseWheelZoom?a.mouseWheelZoom:1)&&b.push(new Zf({duration:a.zoomDuration}));(void 0!==a.shiftDragZoom?a.shiftDragZoom:1)&&b.push(new Uf({duration:a.zoomDuration}));return b};function jg(a){Ua.call(this);var b=ya({},a);b.opacity=void 0!==a.opacity?a.opacity:1;b.visible=void 0!==a.visible?a.visible:!0;b.zIndex=void 0!==a.zIndex?a.zIndex:0;b.maxResolution=void 0!==a.maxResolution?a.maxResolution:Infinity;b.minResolution=void 0!==a.minResolution?a.minResolution:0;this.R(b);this.a={layer:this,Wc:!0}}x(jg,Ua);
123
- function kg(a){a.a.opacity=ia(a.ec(),0,1);a.a.di=a.Rc();a.a.visible=a.mb();a.a.extent=a.D();a.a.zIndex=a.fc();a.a.maxResolution=a.cc();a.a.minResolution=Math.max(a.dc(),0);return a.a}k=jg.prototype;k.D=function(){return this.get("extent")};k.cc=function(){return this.get("maxResolution")};k.dc=function(){return this.get("minResolution")};k.ec=function(){return this.get("opacity")};k.mb=function(){return this.get("visible")};k.fc=function(){return this.get("zIndex")};
124
- k.ad=function(a){this.set("extent",a)};k.qd=function(a){this.set("maxResolution",a)};k.rd=function(a){this.set("minResolution",a)};k.bd=function(a){this.set("opacity",a)};k.ud=function(a){this.set("visible",a)};k.cd=function(a){this.set("zIndex",a)};function H(a){var b=a||{};a=ya({},b);delete a.layers;b=b.layers;jg.call(this,a);this.g=[];this.f={};z(this,Wa(lg),this.Rf,this);b?Array.isArray(b)?b=new G(b.slice()):ha(b instanceof G,43):b=new G;this.ke(b)}x(H,jg);k=H.prototype;k.Xb=function(){this.mb()&&this.v()};
125
- k.Rf=function(){this.g.forEach(Ea);this.g.length=0;var a=this.ob();this.g.push(z(a,Kd,this.Qf,this),z(a,Ld,this.Sf,this));for(var b in this.f)this.f[b].forEach(Ea);za(this.f);var a=a.a,c,d;b=0;for(c=a.length;b<c;b++)d=a[b],this.f[ea(d).toString()]=[z(d,"propertychange",this.Xb,this),z(d,"change",this.Xb,this)];this.v()};k.Qf=function(a){a=a.element;var b=ea(a).toString();this.f[b]=[z(a,"propertychange",this.Xb,this),z(a,"change",this.Xb,this)];this.v()};
126
- k.Sf=function(a){a=ea(a.element).toString();this.f[a].forEach(Ea);delete this.f[a];this.v()};k.ob=function(){return this.get(lg)};k.ke=function(a){this.set(lg,a)};
127
- k.Mc=function(a){var b=void 0!==a?a:[],c=b.length;this.ob().fb(function(a){a.Mc(b)});a=kg(this);var d,e;for(d=b.length;c<d;c++)e=b[c],e.opacity*=a.opacity,e.visible=e.visible&&a.visible,e.maxResolution=Math.min(e.maxResolution,a.maxResolution),e.minResolution=Math.max(e.minResolution,a.minResolution),void 0!==a.extent&&(e.extent=void 0!==e.extent?Ob(e.extent,a.extent):a.extent);return b};k.Rc=function(){return"ready"};var lg="layers";function mg(a){Xb.call(this,{code:a,units:"m",extent:ng,global:!0,worldExtent:og})}x(mg,Xb);mg.prototype.getPointResolution=function(a,b){return a/ka(b[1]/6378137)};var pg=6378137*Math.PI,ng=[-pg,-pg,pg,pg],og=[-180,-85,180,85],ic="EPSG:3857 EPSG:102100 EPSG:102113 EPSG:900913 urn:ogc:def:crs:EPSG:6.18:3:3857 urn:ogc:def:crs:EPSG::3857 http://www.opengis.net/gml/srs/epsg.xml#3857".split(" ").map(function(a){return new mg(a)});
128
- function jc(a,b,c){var d=a.length;c=1<c?c:2;void 0===b&&(2<c?b=a.slice():b=Array(d));for(var e=0;e<d;e+=c)b[e]=6378137*Math.PI*a[e]/180,b[e+1]=6378137*Math.log(Math.tan(Math.PI*(a[e+1]+90)/360));return b}function kc(a,b,c){var d=a.length;c=1<c?c:2;void 0===b&&(2<c?b=a.slice():b=Array(d));for(var e=0;e<d;e+=c)b[e]=180*a[e]/(6378137*Math.PI),b[e+1]=360*Math.atan(Math.exp(a[e+1]/6378137))/Math.PI-90;return b};var qg=new Tb(6378137);function rg(a,b){Xb.call(this,{code:a,units:"degrees",extent:sg,axisOrientation:b,global:!0,metersPerUnit:tg,worldExtent:sg})}x(rg,Xb);rg.prototype.getPointResolution=function(a){return a};
129
- var sg=[-180,-90,180,90],tg=Math.PI*qg.radius/180,lc=[new rg("CRS:84"),new rg("EPSG:4326","neu"),new rg("urn:ogc:def:crs:EPSG::4326","neu"),new rg("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new rg("urn:ogc:def:crs:OGC:1.3:CRS84"),new rg("urn:ogc:def:crs:OGC:2:84"),new rg("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new rg("urn:x-ogc:def:crs:EPSG:4326","neu")];function ug(){ac(ic);ac(lc);hc()};function vg(a,b,c,d,e){Ma.call(this,a);this.vectorContext=b;this.frameState=c;this.context=d;this.glContext=e}x(vg,Ma);function wg(a){var b=ya({},a);delete b.source;jg.call(this,b);this.i=this.g=this.f=null;a.map&&this.setMap(a.map);z(this,Wa("source"),this.Wf,this);this.td(a.source?a.source:null)}x(wg,jg);k=wg.prototype;k.Mc=function(a){a=a?a:[];a.push(kg(this));return a};k.va=function(){return this.get("source")||null};k.Rc=function(){var a=this.va();return a?a.fa():"undefined"};k.Ng=function(){this.v()};k.Wf=function(){this.i&&(Ea(this.i),this.i=null);var a=this.va();a&&(this.i=z(a,"change",this.Ng,this));this.v()};
130
- k.setMap=function(a){this.f&&(Ea(this.f),this.f=null);a||this.v();this.g&&(Ea(this.g),this.g=null);a&&(this.f=z(a,"precompose",function(a){var c=kg(this);c.Wc=!1;c.zIndex=Infinity;a.frameState.layerStatesArray.push(c);a.frameState.layerStates[ea(this)]=c},this),this.g=z(this,"change",a.render,a),this.v())};k.td=function(a){this.set("source",a)};function xg(){this.b={};this.c=0}xg.prototype.clear=function(){this.b={};this.c=0};xg.prototype.get=function(a,b,c){a=b+":"+a+":"+(c?Qd(c):"null");return a in this.b?this.b[a]:null};xg.prototype.set=function(a,b,c,d){this.b[b+":"+a+":"+(c?Qd(c):"null")]=d;++this.c};var yg=new xg;function zg(){return[1,0,0,1,0,0]}function Ag(a,b){a[0]=b[0];a[1]=b[1];a[2]=b[2];a[3]=b[3];a[4]=b[4];a[5]=b[5];return a}function Bg(a,b){var c=b[0],d=b[1];b[0]=a[0]*c+a[2]*d+a[4];b[1]=a[1]*c+a[3]*d+a[5];return b}function Cg(a,b,c,d,e,f,g,h){var l=Math.sin(f);f=Math.cos(f);a[0]=d*f;a[1]=e*l;a[2]=-d*l;a[3]=e*f;a[4]=g*d*f-h*d*l+b;a[5]=g*e*l+h*e*f+c;return a}
131
- function Dg(a){var b=a[0]*a[3]-a[1]*a[2];ha(0!==b,32);var c=a[0],d=a[1],e=a[2],f=a[3],g=a[4],h=a[5];a[0]=f/b;a[1]=-d/b;a[2]=-e/b;a[3]=c/b;a[4]=(e*h-f*g)/b;a[5]=-(c*h-d*g)/b};function Eg(a,b){this.i=b;this.c={};this.f={}}x(Eg,Ka);k=Eg.prototype;k.ma=function(){for(var a in this.c)La(this.c[a])};function Fg(){if(32<yg.c){var a=0,b,c;for(b in yg.b)c=yg.b[b],0!==(a++&3)||Qa(c)||(delete yg.b[b],--yg.c)}}
132
- k.Ja=function(a,b,c,d,e,f){function g(a,e){var f=ea(a).toString(),g=b.layerStates[ea(e)].Wc;if(!(f in b.skippedFeatureUids)||g)return c.call(d,a,g?e:null)}var h,l=b.viewState,m=l.resolution,n=l.projection,l=a;if(n.b){var n=n.D(),p=Kb(n),q=a[0];if(q<n[0]||q>n[2])l=[q+p*Math.ceil((n[0]-q)/p),a[1]]}n=b.layerStatesArray;for(p=n.length-1;0<=p;--p){var t=n[p],q=t.layer;if(t.visible&&m>=t.minResolution&&m<t.maxResolution&&e.call(f,q)&&(t=Gg(this,q),q.va()&&(h=t.Ja(q.va().A?l:a,b,g,d)),h))return h}};
133
- function Gg(a,b){var c=ea(b).toString();if(c in a.c)return a.c[c];var d;d=b instanceof I?new Hg(b):b instanceof J?new Ig(b):null;a.c[c]=d;a.f[c]=z(d,"change",a.Pf,a);return d}k.Pf=function(){this.i.render()};k.de=da;k.Lh=function(a,b){for(var c in this.c)if(!(b&&c in b.layerStates)){var d=c,e=this.c[d];delete this.c[d];Ea(this.f[d]);delete this.f[d];La(e)}};function db(a,b){return a.zIndex-b.zIndex};function I(a){a=a?a:{};var b=ya({},a);delete b.preload;delete b.useInterimTilesOnError;wg.call(this,b);this.l(void 0!==a.preload?a.preload:0);this.o(void 0!==a.useInterimTilesOnError?a.useInterimTilesOnError:!0)}x(I,wg);I.prototype.u=function(){return this.get(Jg)};I.prototype.l=function(a){this.set(Jg,a)};I.prototype.A=function(){return this.get(Kg)};I.prototype.o=function(a){this.set(Kg,a)};var Jg="preload",Kg="useInterimTilesOnError";var Lg=[0,0,0,1],Mg=[],Ng=[0,0,0,1];function Og(a,b,c,d){0!==b&&(a.translate(c,d),a.rotate(b),a.translate(-c,-d))};function Pg(a){this.o=a.opacity;this.T=a.rotateWithView;this.u=a.rotation;this.g=a.scale;this.A=a.snapToPixel}k=Pg.prototype;k.hc=function(){return this.o};k.ic=function(){return this.T};k.jc=function(){return this.u};k.kc=function(){return this.g};k.Vb=function(){return this.A};k.pb=function(a){this.o=a};k.lc=function(a){this.u=a};k.qb=function(a){this.g=a};function Qg(a){a=a||{};this.B=a.atlasManager;this.l=this.f=this.i=null;this.a=void 0!==a.fill?a.fill:null;this.b=void 0!==a.stroke?a.stroke:null;this.c=a.radius;this.G=[0,0];this.I=this.F=this.ca=this.C=null;Rg(this,this.B);Pg.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0})}x(Qg,Pg);k=Qg.prototype;
134
- k.clone=function(){var a=new Qg({fill:this.a?this.a.clone():void 0,stroke:this.b?this.b.clone():void 0,radius:this.c,snapToPixel:this.A,atlasManager:this.B});a.pb(this.o);a.qb(this.g);return a};k.ab=function(){return this.C};k.Qg=function(){return this.a};k.ed=function(){return this.l};k.Va=function(){return this.f};k.Kb=function(){return 2};k.Sb=function(){return this.F};k.hb=function(){return this.G};k.Rg=function(){return this.c};k.Oa=function(){return this.ca};k.Sg=function(){return this.b};
135
- k.Tg=function(a){this.c=a;Rg(this,this.B)};k.Vc=da;k.load=da;k.vd=da;
136
- function Rg(a,b){var c,d=null,e,f=0;a.b&&(e=Td(a.b.c),f=a.b.f,void 0===f&&(f=1),d=a.b.a,ie||(d=null));var g=2*(a.c+f)+1,d={strokeStyle:e,Mb:f,size:g,lineDash:d};if(void 0===b)e=Ud(g,g),a.f=e.canvas,c=g=a.f.width,a.Xd(d,e,0,0),a.I=[d.size,d.size],a.a?a.l=a.f:(e=Ud(d.size,d.size),a.l=e.canvas,a.Wd(d,e,0,0));else{g=Math.round(g);(e=!a.a)&&(c=a.Wd.bind(a,d));var f=a.b?Sg(a.b):"-",h=a.a?Tg(a.a):"-";a.i&&f==a.i[1]&&h==a.i[2]&&a.c==a.i[3]||(a.i=["c"+f+h+(void 0!==a.c?a.c.toString():"-"),f,h,a.c]);d=b.add(a.i[0],
137
- g,g,a.Xd.bind(a,d),c);a.f=d.image;a.G=[d.offsetX,d.offsetY];c=d.image.width;e?(a.l=d.Yb,a.I=[d.Yb.width,d.Yb.height]):(a.l=a.f,a.I=[c,c])}a.C=[g/2,g/2];a.ca=[g,g];a.F=[c,c]}k.Xd=function(a,b,c,d){b.setTransform(1,0,0,1,0,0);b.translate(c,d);b.beginPath();b.arc(a.size/2,a.size/2,this.c,0,2*Math.PI,!0);this.a&&(b.fillStyle=Td(this.a.b),b.fill());this.b&&(b.strokeStyle=a.strokeStyle,b.lineWidth=a.Mb,a.lineDash&&b.setLineDash(a.lineDash),b.stroke());b.closePath()};
138
- k.Wd=function(a,b,c,d){b.setTransform(1,0,0,1,0,0);b.translate(c,d);b.beginPath();b.arc(a.size/2,a.size/2,this.c,0,2*Math.PI,!0);b.fillStyle=Qd(Lg);b.fill();this.b&&(b.strokeStyle=a.strokeStyle,b.lineWidth=a.Mb,a.lineDash&&b.setLineDash(a.lineDash),b.stroke());b.closePath()};function Ug(a){a=a||{};this.b=void 0!==a.color?a.color:null;this.c=void 0}Ug.prototype.clone=function(){var a=this.b;return new Ug({color:a&&a.slice?a.slice():a||void 0})};Ug.prototype.a=function(){return this.b};Ug.prototype.f=function(a){this.b=a;this.c=void 0};function Tg(a){void 0===a.c&&(a.c=a.b instanceof CanvasPattern||a.b instanceof CanvasGradient?ea(a.b).toString():"f"+(a.b?Qd(a.b):"-"));return a.c};function Vg(a){a=a||{};this.c=void 0!==a.color?a.color:null;this.g=a.lineCap;this.a=void 0!==a.lineDash?a.lineDash:null;this.i=a.lineJoin;this.l=a.miterLimit;this.f=a.width;this.b=void 0}k=Vg.prototype;k.clone=function(){var a=this.c;return new Vg({color:a&&a.slice?a.slice():a||void 0,lineCap:this.g,lineDash:this.a?this.a.slice():void 0,lineJoin:this.i,miterLimit:this.l,width:this.f})};k.$g=function(){return this.c};k.nf=function(){return this.g};k.ah=function(){return this.a};k.pf=function(){return this.i};
139
- k.sf=function(){return this.l};k.bh=function(){return this.f};k.dh=function(a){this.c=a;this.b=void 0};k.Th=function(a){this.g=a;this.b=void 0};k.setLineDash=function(a){this.a=a;this.b=void 0};k.Uh=function(a){this.i=a;this.b=void 0};k.Vh=function(a){this.l=a;this.b=void 0};k.ai=function(a){this.f=a;this.b=void 0};
140
- function Sg(a){void 0===a.b&&(a.b="s",a.b=a.c?"string"===typeof a.c?a.b+a.c:a.b+ea(a.c).toString():a.b+"-",a.b+=","+(void 0!==a.g?a.g.toString():"-")+","+(a.a?a.a.toString():"-")+","+(void 0!==a.i?a.i:"-")+","+(void 0!==a.l?a.l.toString():"-")+","+(void 0!==a.f?a.f.toString():"-"));return a.b};function Wg(a){a=a||{};this.i=null;this.g=Xg;void 0!==a.geometry&&this.$d(a.geometry);this.f=void 0!==a.fill?a.fill:null;this.c=void 0!==a.image?a.image:null;this.a=void 0!==a.stroke?a.stroke:null;this.l=void 0!==a.text?a.text:null;this.b=a.zIndex}k=Wg.prototype;k.clone=function(){var a=this.L();a&&a.clone&&(a=a.clone());return new Wg({geometry:a,fill:this.f?this.f.clone():void 0,image:this.c?this.c.clone():void 0,stroke:this.a?this.a.clone():void 0,text:this.ka()?this.ka().clone():void 0,zIndex:this.b})};
141
- k.L=function(){return this.i};k.gf=function(){return this.g};k.eh=function(){return this.f};k.fh=function(){return this.c};k.gh=function(){return this.a};k.ka=function(){return this.l};k.hh=function(){return this.b};k.$d=function(a){"function"===typeof a?this.g=a:"string"===typeof a?this.g=function(b){return b.get(a)}:a?a&&(this.g=function(){return a}):this.g=Xg;this.i=a};k.ih=function(a){this.b=a};
142
- function Yg(a){if("function"!==typeof a){var b;Array.isArray(a)?b=a:(ha(a instanceof Wg,41),b=[a]);a=function(){return b}}return a}var Zg=null;function $g(){if(!Zg){var a=new Ug({color:"rgba(255,255,255,0.4)"}),b=new Vg({color:"#3399CC",width:1.25});Zg=[new Wg({image:new Qg({fill:a,stroke:b,radius:5}),fill:a,stroke:b})]}return Zg}
143
- function ah(){var a={},b=[255,255,255,1],c=[0,153,255,1];a.Polygon=[new Wg({fill:new Ug({color:[255,255,255,.5]})})];a.MultiPolygon=a.Polygon;a.LineString=[new Wg({stroke:new Vg({color:b,width:5})}),new Wg({stroke:new Vg({color:c,width:3})})];a.MultiLineString=a.LineString;a.Circle=a.Polygon.concat(a.LineString);a.Point=[new Wg({image:new Qg({radius:6,fill:new Ug({color:c}),stroke:new Vg({color:b,width:1.5})}),zIndex:Infinity})];a.MultiPoint=a.Point;a.GeometryCollection=a.Polygon.concat(a.LineString,
144
- a.Point);return a}function Xg(a){return a.L()};function J(a){a=a?a:{};var b=ya({},a);delete b.style;delete b.renderBuffer;delete b.updateWhileAnimating;delete b.updateWhileInteracting;wg.call(this,b);this.C=void 0!==a.renderBuffer?a.renderBuffer:100;this.o=null;this.l=void 0;this.F(a.style);this.S=void 0!==a.updateWhileAnimating?a.updateWhileAnimating:!1;this.da=void 0!==a.updateWhileInteracting?a.updateWhileInteracting:!1}x(J,wg);J.prototype.G=function(){return this.o};J.prototype.K=function(){return this.l};
145
- J.prototype.F=function(a){this.o=void 0!==a?a:$g;this.l=null===a?void 0:Yg(this.o);this.v()};function bh(){};function ch(a,b,c,d,e){this.f=a;this.T=b;this.g=c;this.C=d;this.$a=e;this.i=this.b=this.c=this.Ea=this.la=this.da=null;this.sa=this.qa=this.A=this.ca=this.G=this.F=0;this.xa=!1;this.l=this.xb=0;this.Qa=!1;this.K=0;this.a="";this.Sa=this.Ra=0;this.Xa=!1;this.o=this.Ya=0;this.S=this.u=this.B=null;this.I=[];this.Za=zg()}x(ch,bh);
146
- function dh(a,b,c){if(a.i){b=uc(b,0,c,2,a.C,a.I);c=a.f;var d=a.Za,e=c.globalAlpha;1!=a.A&&(c.globalAlpha=e*a.A);var f=a.xb;a.xa&&(f+=a.$a);var g,h;g=0;for(h=b.length;g<h;g+=2){var l=b[g]-a.F,m=b[g+1]-a.G;a.Qa&&(l=Math.round(l),m=Math.round(m));if(0!==f||1!=a.l){var n=l+a.F,p=m+a.G;Cg(d,n,p,a.l,a.l,f,-n,-p);c.setTransform.apply(c,d)}c.drawImage(a.i,a.qa,a.sa,a.K,a.ca,l,m,a.K,a.ca)}0===f&&1==a.l||c.setTransform(1,0,0,1,0,0);1!=a.A&&(c.globalAlpha=e)}}
147
- function eh(a,b,c,d){var e=0;if(a.S&&""!==a.a){a.B&&fh(a,a.B);a.u&&gh(a,a.u);var f=a.S,g=a.f,h=a.Ea;h?(h.font!=f.font&&(h.font=g.font=f.font),h.textAlign!=f.textAlign&&(h.textAlign=g.textAlign=f.textAlign),h.textBaseline!=f.textBaseline&&(h.textBaseline=g.textBaseline=f.textBaseline)):(g.font=f.font,g.textAlign=f.textAlign,g.textBaseline=f.textBaseline,a.Ea={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline});b=uc(b,e,c,d,a.C,a.I);f=a.f;g=a.Ya;for(a.Xa&&(g+=a.$a);e<c;e+=d){var h=b[e]+
148
- a.Ra,l=b[e+1]+a.Sa;if(0!==g||1!=a.o){var m=Cg(a.Za,h,l,a.o,a.o,g,-h,-l);f.setTransform.apply(f,m)}a.u&&f.strokeText(a.a,h,l);a.B&&f.fillText(a.a,h,l)}0===g&&1==a.o||f.setTransform(1,0,0,1,0,0)}}function hh(a,b,c,d,e,f){var g=a.f;a=uc(b,c,d,e,a.C,a.I);g.moveTo(a[0],a[1]);b=a.length;f&&(b-=2);for(c=2;c<b;c+=2)g.lineTo(a[c],a[c+1]);f&&g.closePath();return d}function ih(a,b,c,d,e){var f,g;f=0;for(g=d.length;f<g;++f)c=hh(a,b,c,d[f],e,!0);return c}k=ch.prototype;
149
- k.Rb=function(a){if(Pb(this.g,a.D())){if(this.c||this.b){this.c&&fh(this,this.c);this.b&&gh(this,this.b);var b;b=(b=a.j)?uc(b,0,b.length,a.s,this.C,this.I):null;var c=b[2]-b[0],d=b[3]-b[1],c=Math.sqrt(c*c+d*d),d=this.f;d.beginPath();d.arc(b[0],b[1],c,0,2*Math.PI);this.c&&d.fill();this.b&&d.stroke()}""!==this.a&&eh(this,a.Jb(),2,2)}};k.Td=function(a){this.Wa(a.f,a.a);this.oc(a.c);this.Pa(a.ka())};
150
- k.Cc=function(a){switch(a.N()){case "Point":this.Hc(a);break;case "LineString":this.Dc(a);break;case "Polygon":this.Ic(a);break;case "MultiPoint":this.Fc(a);break;case "MultiLineString":this.Ec(a);break;case "MultiPolygon":this.Gc(a);break;case "GeometryCollection":a=a.ea;var b,c;b=0;for(c=a.length;b<c;++b)this.Cc(a[b]);break;case "Circle":this.Rb(a)}};k.Qe=function(a,b){var c=(0,b.g)(a);c&&Pb(this.g,c.D())&&(this.Td(b),this.Cc(c))};
151
- k.Hc=function(a){var b=a.j;a=a.s;this.i&&dh(this,b,b.length);""!==this.a&&eh(this,b,b.length,a)};k.Fc=function(a){var b=a.j;a=a.s;this.i&&dh(this,b,b.length);""!==this.a&&eh(this,b,b.length,a)};k.Dc=function(a){if(Pb(this.g,a.D())){if(this.b){gh(this,this.b);var b=this.f,c=a.j;b.beginPath();hh(this,c,0,c.length,a.s,!1);b.stroke()}""!==this.a&&(a=jh(a),eh(this,a,2,2))}};
152
- k.Ec=function(a){var b=a.D();if(Pb(this.g,b)){if(this.b){gh(this,this.b);var b=this.f,c=a.j,d=0,e=a.na,f=a.s;b.beginPath();var g,h;g=0;for(h=e.length;g<h;++g)d=hh(this,c,d,e[g],f,!1);b.stroke()}""!==this.a&&(a=kh(a),eh(this,a,a.length,2))}};k.Ic=function(a){if(Pb(this.g,a.D())){if(this.b||this.c){this.c&&fh(this,this.c);this.b&&gh(this,this.b);var b=this.f;b.beginPath();ih(this,Yc(a),0,a.U,a.s);this.c&&b.fill();this.b&&b.stroke()}""!==this.a&&(a=Zc(a),eh(this,a,2,2))}};
153
- k.Gc=function(a){if(Pb(this.g,a.D())){if(this.b||this.c){this.c&&fh(this,this.c);this.b&&gh(this,this.b);var b=this.f,c=lh(a),d=0,e=a.a,f=a.s,g,h;b.beginPath();g=0;for(h=e.length;g<h;++g)d=ih(this,c,d,e[g],f);this.c&&b.fill();this.b&&b.stroke()}""!==this.a&&(a=mh(a),eh(this,a,a.length,2))}};function fh(a,b){var c=a.f,d=a.da;d?d.fillStyle!=b.fillStyle&&(d.fillStyle=c.fillStyle=b.fillStyle):(c.fillStyle=b.fillStyle,a.da={fillStyle:b.fillStyle})}
154
- function gh(a,b){var c=a.f,d=a.la;d?(d.lineCap!=b.lineCap&&(d.lineCap=c.lineCap=b.lineCap),ie&&!bb(d.lineDash,b.lineDash)&&c.setLineDash(d.lineDash=b.lineDash),d.lineJoin!=b.lineJoin&&(d.lineJoin=c.lineJoin=b.lineJoin),d.lineWidth!=b.lineWidth&&(d.lineWidth=c.lineWidth=b.lineWidth),d.miterLimit!=b.miterLimit&&(d.miterLimit=c.miterLimit=b.miterLimit),d.strokeStyle!=b.strokeStyle&&(d.strokeStyle=c.strokeStyle=b.strokeStyle)):(c.lineCap=b.lineCap,ie&&c.setLineDash(b.lineDash),c.lineJoin=b.lineJoin,c.lineWidth=
155
- b.lineWidth,c.miterLimit=b.miterLimit,c.strokeStyle=b.strokeStyle,a.la={lineCap:b.lineCap,lineDash:b.lineDash,lineJoin:b.lineJoin,lineWidth:b.lineWidth,miterLimit:b.miterLimit,strokeStyle:b.strokeStyle})}
156
- k.Wa=function(a,b){if(a){var c=a.b;this.c={fillStyle:Td(c?c:Lg)}}else this.c=null;if(b){var c=b.c,d=b.g,e=b.a,f=b.i,g=b.f,h=b.l;this.b={lineCap:void 0!==d?d:"round",lineDash:e?e:Mg,lineJoin:void 0!==f?f:"round",lineWidth:this.T*(void 0!==g?g:1),miterLimit:void 0!==h?h:10,strokeStyle:Td(c?c:Ng)}}else this.b=null};
157
- k.oc=function(a){if(a){var b=a.ab(),c=a.Va(1),d=a.hb(),e=a.Oa();this.F=b[0];this.G=b[1];this.ca=e[1];this.i=c;this.A=a.o;this.qa=d[0];this.sa=d[1];this.xa=a.T;this.xb=a.u;this.l=a.g;this.Qa=a.A;this.K=e[0]}else this.i=null};
158
- k.Pa=function(a){if(a){var b=a.b;b?(b=b.b,this.B={fillStyle:Td(b?b:Lg)}):this.B=null;var c=a.f;if(c){var b=c.c,d=c.g,e=c.a,f=c.i,g=c.f,c=c.l;this.u={lineCap:void 0!==d?d:"round",lineDash:e?e:Mg,lineJoin:void 0!==f?f:"round",lineWidth:void 0!==g?g:1,miterLimit:void 0!==c?c:10,strokeStyle:Td(b?b:Ng)}}else this.u=null;var b=a.a,d=a.g,e=a.i,f=a.u,g=a.l,c=a.c,h=a.ka(),l=a.B;a=a.o;this.S={font:void 0!==b?b:"10px sans-serif",textAlign:void 0!==l?l:"center",textBaseline:void 0!==a?a:"middle"};this.a=void 0!==
159
- h?h:"";this.Ra=void 0!==d?this.T*d:0;this.Sa=void 0!==e?this.T*e:0;this.Xa=void 0!==f?f:!1;this.Ya=void 0!==g?g:0;this.o=this.T*(void 0!==c?c:1)}else this.a=""};function nh(a){Ra.call(this);this.a=a}x(nh,Ra);nh.prototype.Ja=da;nh.prototype.B=function(a,b,c,d){a=Bg(b.pixelToCoordinateTransform,a.slice());if(this.Ja(a,b,Rb,this))return c.call(d,this.a,null)};function oh(a,b,c){return function(d,e){return ph(a,b,d,e,function(a){c[d]||(c[d]={});c[d][a.Ia.toString()]=a})}}function qh(a,b){b.Vd()&&a.postRenderFunctions.push(function(a,b,e){b=ea(a).toString();a.jb(e.viewState.projection,e.usedTiles[b])}.bind(null,b))}
160
- function rh(a,b){if(b){var c,d,e;d=0;for(e=b.length;d<e;++d)c=b[d],a[ea(c).toString()]=c}}function sh(a,b){var c=b.S;void 0!==c&&("string"===typeof c?a.logos[c]="":c&&(ha("string"==typeof c.href,44),ha("string"==typeof c.src,45),a.logos[c.src]=c.href))}function th(a,b,c,d){b=ea(b).toString();c=c.toString();b in a?c in a[b]?(a=a[b][c],d.H<a.H&&(a.H=d.H),d.J>a.J&&(a.J=d.J),d.M<a.M&&(a.M=d.M),d.P>a.P&&(a.P=d.P)):a[b][c]=d:(a[b]={},a[b][c]=d)}
161
- function uh(a,b,c,d,e,f,g,h){var l=ea(b).toString();l in a.wantedTiles||(a.wantedTiles[l]={});var m=a.wantedTiles[l];a=a.tileQueue;var n=c.minZoom,p,q,t,u,r,v;for(v=g;v>=n;--v)for(q=vd(c,f,v,q),t=c.X(v),u=q.H;u<=q.J;++u)for(r=q.M;r<=q.P;++r)g-v<=h?(p=vh(b,v,u,r,d,e),0==p.fa()&&(m[p.getKey()]=!0,p.getKey()in a.a||a.l([p,l,zd(c,p.Ia),t]))):b.te(v,u,r,e)};function wh(a){nh.call(this,a);this.S=zg()}x(wh,nh);function xh(a,b,c){var d=b.pixelRatio,e=b.size[0]*d,f=b.size[1]*d,g=b.viewState.rotation,h=Hb(c),l=Gb(c),m=Fb(c);c=Eb(c);Bg(b.coordinateToPixelTransform,h);Bg(b.coordinateToPixelTransform,l);Bg(b.coordinateToPixelTransform,m);Bg(b.coordinateToPixelTransform,c);a.save();Og(a,-g,e/2,f/2);a.beginPath();a.moveTo(h[0]*d,h[1]*d);a.lineTo(l[0]*d,l[1]*d);a.lineTo(m[0]*d,m[1]*d);a.lineTo(c[0]*d,c[1]*d);a.clip();Og(a,g,e/2,f/2)}
162
- wh.prototype.i=function(a,b,c){yh(this,"precompose",c,a,void 0);var d=this.K?this.K.c():null;if(d){var e=b.extent,f=void 0!==e;f&&xh(c,a,e);var e=this.da,g=c.globalAlpha;c.globalAlpha=b.opacity;c.drawImage(d,0,0,+d.width,+d.height,Math.round(e[4]),Math.round(e[5]),Math.round(d.width*e[0]),Math.round(d.height*e[3]));c.globalAlpha=g;f&&c.restore()}yh(this,"postcompose",c,a,void 0)};
163
- function yh(a,b,c,d,e){var f=a.a;if(Qa(f,b)){var g=d.size[0]*d.pixelRatio,h=d.size[1]*d.pixelRatio,l=d.viewState.rotation;Og(c,-l,g/2,h/2);a=void 0!==e?e:zh(a,d,0);f.b(new vg(b,new ch(c,d.pixelRatio,d.extent,a,d.viewState.rotation),d,c,null));Og(c,l,g/2,h/2)}}function zh(a,b,c){var d=b.viewState,e=b.pixelRatio,f=e/d.resolution;return Cg(a.S,e*b.size[0]/2,e*b.size[1]/2,f,-f,-d.rotation,-d.center[0]+c,-d.center[1])};function Ah(){};function Bh(a,b,c,d){this.xa=a;this.da=b;this.overlaps=d;this.f=0;this.resolution=c;this.K=this.ca=null;this.c=[];this.coordinates=[];this.Ea=zg();this.b=[];this.la=[];this.qa=zg();this.sa=zg()}x(Bh,bh);
164
- function Ch(a,b,c,d,e,f,g){var h=a.coordinates.length,l=a.Jc();g&&(c+=e);g=[b[c],b[c+1]];var m=[NaN,NaN],n=!0,p,q,t;for(p=c+e;p<d;p+=e)m[0]=b[p],m[1]=b[p+1],t=xb(l,m),t!==q?(n&&(a.coordinates[h++]=g[0],a.coordinates[h++]=g[1]),a.coordinates[h++]=m[0],a.coordinates[h++]=m[1],n=!1):1===t?(a.coordinates[h++]=m[0],a.coordinates[h++]=m[1],n=!1):n=!0,g[0]=m[0],g[1]=m[1],q=t;if(f&&n||p===c+e)a.coordinates[h++]=g[0],a.coordinates[h++]=g[1];return h}
165
- function Dh(a,b){a.ca=[0,b,0];a.c.push(a.ca);a.K=[0,b,0];a.b.push(a.K)}
166
- function Eh(a,b,c,d,e,f,g,h,l){var m;bb(d,a.Ea)?m=a.la:(m=uc(a.coordinates,0,a.coordinates.length,2,d,a.la),Ag(a.Ea,d));d=!Ca(f);var n=0,p=g.length,q,t,u=a.qa,r=a.sa,v,ba,P,V,ja=0,ua=0;for(a=a.c!=g||a.overlaps?0:200;n<p;){var y=g[n],sa,oa,U,ca;switch(y[0]){case 0:q=y[1];d&&f[ea(q).toString()]||!q.L()?n=y[2]:void 0===l||Pb(l,q.L().D())?++n:n=y[2]+1;break;case 1:ja>a&&(b.fill(),ja=0);ua>a&&(b.stroke(),ua=0);ja||ua||b.beginPath();++n;break;case 2:q=y[1];t=m[q];y=m[q+1];P=m[q+2]-t;q=m[q+3]-y;q=Math.sqrt(P*
167
- P+q*q);b.moveTo(t+q,y);b.arc(t,y,q,0,2*Math.PI,!0);++n;break;case 3:b.closePath();++n;break;case 4:q=y[1];t=y[2];sa=y[3];oa=y[4]*c;U=y[5]*c;var xa=y[6],wa=y[7],ra=y[8],Ba=y[9];ca=y[10];P=y[11];V=y[12];var na=y[13],Pa=y[14];for(ca&&(P+=e);q<t;q+=2){y=m[q]-oa;ca=m[q+1]-U;na&&(y=Math.round(y),ca=Math.round(ca));if(1!=V||0!==P){var eb=y+oa,Sa=ca+U;Cg(u,eb,Sa,V,V,P,-eb,-Sa);b.transform.apply(b,u)}eb=b.globalAlpha;1!=wa&&(b.globalAlpha=eb*wa);var Sa=Pa+ra>sa.width?sa.width-ra:Pa,ti=xa+Ba>sa.height?sa.height-
168
- Ba:xa;b.drawImage(sa,ra,Ba,Sa,ti,y,ca,Sa*c,ti*c);1!=wa&&(b.globalAlpha=eb);if(1!=V||0!==P)Dg(Ag(r,u)),b.transform.apply(b,r)}++n;break;case 5:q=y[1];t=y[2];U=y[3];xa=y[4]*c;wa=y[5]*c;P=y[6];V=y[7]*c;sa=y[8];oa=y[9];for((ca=y[10])&&(P+=e);q<t;q+=2){y=m[q]+xa;ca=m[q+1]+wa;if(1!=V||0!==P)Cg(u,y,ca,V,V,P,-y,-ca),b.transform.apply(b,u);ra=U.split("\n");Ba=ra.length;1<Ba?(na=Math.round(1.5*b.measureText("M").width),ca-=(Ba-1)/2*na):na=0;for(Pa=0;Pa<Ba;Pa++)eb=ra[Pa],oa&&b.strokeText(eb,y,ca),sa&&b.fillText(eb,
169
- y,ca),ca+=na;if(1!=V||0!==P)Dg(Ag(r,u)),b.transform.apply(b,r)}++n;break;case 6:if(void 0!==h&&(q=y[1],q=h(q)))return q;++n;break;case 7:a?ja++:b.fill();++n;break;case 8:q=y[1];t=y[2];y=m[q];ca=m[q+1];P=y+.5|0;V=ca+.5|0;if(P!==v||V!==ba)b.moveTo(y,ca),v=P,ba=V;for(q+=2;q<t;q+=2)if(y=m[q],ca=m[q+1],P=y+.5|0,V=ca+.5|0,q==t-2||P!==v||V!==ba)b.lineTo(y,ca),v=P,ba=V;++n;break;case 9:ja&&(b.fill(),ja=0);b.fillStyle=y[1];++n;break;case 10:v=void 0!==y[7]?y[7]:!0;ba=y[2];ua&&(b.stroke(),ua=0);b.strokeStyle=
170
- y[1];b.lineWidth=v?ba*c:ba;b.lineCap=y[3];b.lineJoin=y[4];b.miterLimit=y[5];ie&&b.setLineDash(y[6]);ba=v=NaN;++n;break;case 11:b.font=y[1];b.textAlign=y[2];b.textBaseline=y[3];++n;break;case 12:a?ua++:b.stroke();++n;break;default:++n}}ja&&b.fill();ua&&b.stroke()}Bh.prototype.G=function(a,b,c,d,e){Eh(this,a,b,c,d,e,this.c,void 0,void 0)};
171
- function Fh(a){var b=a.b;b.reverse();var c,d=b.length,e,f,g=-1;for(c=0;c<d;++c)if(e=b[c],f=e[0],6==f)g=c;else if(0==f){e[2]=c;e=a.b;for(f=c;g<f;){var h=e[g];e[g]=e[f];e[f]=h;++g;--f}g=-1}}function Gh(a,b){a.ca[2]=a.c.length;a.ca=null;a.K[2]=a.b.length;a.K=null;var c=[6,b];a.c.push(c);a.b.push(c)}Bh.prototype.gc=da;Bh.prototype.Jc=function(){return this.da};function Hh(a,b,c,d){Bh.call(this,a,b,c,d);this.l=this.S=null;this.F=this.C=this.T=this.I=this.A=this.u=this.o=this.B=this.i=this.g=this.a=void 0}x(Hh,Bh);Hh.prototype.Hc=function(a,b){if(this.l){Dh(this,b);var c=a.j,d=this.coordinates.length,c=Ch(this,c,0,c.length,a.s,!1,!1);this.c.push([4,d,c,this.l,this.a,this.g,this.i,this.B,this.o,this.u,this.A,this.I,this.T,this.C,this.F]);this.b.push([4,d,c,this.S,this.a,this.g,this.i,this.B,this.o,this.u,this.A,this.I,this.T,this.C,this.F]);Gh(this,b)}};
172
- Hh.prototype.Fc=function(a,b){if(this.l){Dh(this,b);var c=a.j,d=this.coordinates.length,c=Ch(this,c,0,c.length,a.s,!1,!1);this.c.push([4,d,c,this.l,this.a,this.g,this.i,this.B,this.o,this.u,this.A,this.I,this.T,this.C,this.F]);this.b.push([4,d,c,this.S,this.a,this.g,this.i,this.B,this.o,this.u,this.A,this.I,this.T,this.C,this.F]);Gh(this,b)}};Hh.prototype.gc=function(){Fh(this);this.g=this.a=void 0;this.l=this.S=null;this.F=this.C=this.I=this.A=this.u=this.o=this.B=this.T=this.i=void 0};
173
- Hh.prototype.oc=function(a){var b=a.ab(),c=a.Oa(),d=a.ed(1),e=a.Va(1),f=a.hb();this.a=b[0];this.g=b[1];this.S=d;this.l=e;this.i=c[1];this.B=a.o;this.o=f[0];this.u=f[1];this.A=a.T;this.I=a.u;this.T=a.g;this.C=a.A;this.F=c[0]};function Ih(a,b,c,d){Bh.call(this,a,b,c,d);this.g=null;this.a={Db:void 0,yb:void 0,zb:null,Ab:void 0,Bb:void 0,Cb:void 0,Uc:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}x(Ih,Bh);function Jh(a,b,c,d,e){var f=a.coordinates.length;b=Ch(a,b,c,d,e,!1,!1);f=[8,f,b];a.c.push(f);a.b.push(f);return d}k=Ih.prototype;k.Jc=function(){this.g||(this.g=sb(this.da),0<this.f&&rb(this.g,this.resolution*(this.f+1)/2,this.g));return this.g};
174
- function Kh(a){var b=a.a,c=b.strokeStyle,d=b.lineCap,e=b.lineDash,f=b.lineJoin,g=b.lineWidth,h=b.miterLimit;b.Db==c&&b.yb==d&&bb(b.zb,e)&&b.Ab==f&&b.Bb==g&&b.Cb==h||(b.Uc!=a.coordinates.length&&(a.c.push([12]),b.Uc=a.coordinates.length),a.c.push([10,c,g,d,f,h,e],[1]),b.Db=c,b.yb=d,b.zb=e,b.Ab=f,b.Bb=g,b.Cb=h)}
175
- k.Dc=function(a,b){var c=this.a,d=c.lineWidth;void 0!==c.strokeStyle&&void 0!==d&&(Kh(this),Dh(this,b),this.b.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash],[1]),c=a.j,Jh(this,c,0,c.length,a.s),this.b.push([12]),Gh(this,b))};
176
- k.Ec=function(a,b){var c=this.a,d=c.lineWidth;if(void 0!==c.strokeStyle&&void 0!==d){Kh(this);Dh(this,b);this.b.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash],[1]);var c=a.na,d=a.j,e=a.s,f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Jh(this,d,f,c[g],e);this.b.push([12]);Gh(this,b)}};k.gc=function(){this.a.Uc!=this.coordinates.length&&this.c.push([12]);Fh(this);this.a=null};
177
- k.Wa=function(a,b){var c=b.c;this.a.strokeStyle=Td(c?c:Ng);c=b.g;this.a.lineCap=void 0!==c?c:"round";c=b.a;this.a.lineDash=c?c:Mg;c=b.i;this.a.lineJoin=void 0!==c?c:"round";c=b.f;this.a.lineWidth=void 0!==c?c:1;c=b.l;this.a.miterLimit=void 0!==c?c:10;this.a.lineWidth>this.f&&(this.f=this.a.lineWidth,this.g=null)};function Lh(a,b,c,d){Bh.call(this,a,b,c,d);this.g=null;this.a={Kd:void 0,Db:void 0,yb:void 0,zb:null,Ab:void 0,Bb:void 0,Cb:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}x(Lh,Bh);
178
- function Mh(a,b,c,d,e){var f=a.a,g=void 0!==f.fillStyle,f=void 0!=f.strokeStyle,h=d.length,l=[1];a.c.push(l);a.b.push(l);for(l=0;l<h;++l){var m=d[l],n=a.coordinates.length;c=Ch(a,b,c,m,e,!0,!f);c=[8,n,c];a.c.push(c);a.b.push(c);f&&(c=[3],a.c.push(c),a.b.push(c));c=m}b=[7];a.b.push(b);g&&a.c.push(b);f&&(g=[12],a.c.push(g),a.b.push(g));return c}k=Lh.prototype;
179
- k.Rb=function(a,b){var c=this.a,d=c.strokeStyle;if(void 0!==c.fillStyle||void 0!==d){Nh(this);Dh(this,b);this.b.push([9,Qd(Lg)]);void 0!==c.strokeStyle&&this.b.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash]);var e=a.j,d=this.coordinates.length;Ch(this,e,0,e.length,a.s,!1,!1);e=[1];d=[2,d];this.c.push(e,d);this.b.push(e,d);d=[7];this.b.push(d);void 0!==c.fillStyle&&this.c.push(d);void 0!==c.strokeStyle&&(c=[12],this.c.push(c),this.b.push(c));Gh(this,b)}};
180
- k.Ic=function(a,b){var c=this.a;Nh(this);Dh(this,b);this.b.push([9,Qd(Lg)]);void 0!==c.strokeStyle&&this.b.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash]);var c=a.U,d=Yc(a);Mh(this,d,0,c,a.s);Gh(this,b)};
181
- k.Gc=function(a,b){var c=this.a,d=c.strokeStyle;if(void 0!==c.fillStyle||void 0!==d){Nh(this);Dh(this,b);this.b.push([9,Qd(Lg)]);void 0!==c.strokeStyle&&this.b.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash]);var c=a.a,d=lh(a),e=a.s,f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Mh(this,d,f,c[g],e);Gh(this,b)}};k.gc=function(){Fh(this);this.a=null;var a=this.xa;if(0!==a){var b=this.coordinates,c,d;c=0;for(d=b.length;c<d;++c)b[c]=a*Math.round(b[c]/a)}};
182
- k.Jc=function(){this.g||(this.g=sb(this.da),0<this.f&&rb(this.g,this.resolution*(this.f+1)/2,this.g));return this.g};
183
- k.Wa=function(a,b){var c=this.a;if(a){var d=a.b;c.fillStyle=Td(d?d:Lg)}else c.fillStyle=void 0;b?(d=b.c,c.strokeStyle=Td(d?d:Ng),d=b.g,c.lineCap=void 0!==d?d:"round",d=b.a,c.lineDash=d?d.slice():Mg,d=b.i,c.lineJoin=void 0!==d?d:"round",d=b.f,c.lineWidth=void 0!==d?d:1,d=b.l,c.miterLimit=void 0!==d?d:10,c.lineWidth>this.f&&(this.f=c.lineWidth,this.g=null)):(c.strokeStyle=void 0,c.lineCap=void 0,c.lineDash=null,c.lineJoin=void 0,c.lineWidth=void 0,c.miterLimit=void 0)};
184
- function Nh(a){var b=a.a,c=b.fillStyle,d=b.strokeStyle,e=b.lineCap,f=b.lineDash,g=b.lineJoin,h=b.lineWidth,l=b.miterLimit;void 0!==c&&b.Kd!=c&&(a.c.push([9,c]),b.Kd=b.fillStyle);void 0===d||b.Db==d&&b.yb==e&&b.zb==f&&b.Ab==g&&b.Bb==h&&b.Cb==l||(a.c.push([10,d,h,e,g,l,f]),b.Db=d,b.yb=e,b.zb=f,b.Ab=g,b.Bb=h,b.Cb=l)};function Oh(a,b,c,d){Bh.call(this,a,b,c,d);this.F=this.C=this.T=null;this.l="";this.o=this.B=0;this.u=void 0;this.I=this.A=0;this.i=this.g=this.a=null}x(Oh,Bh);
185
- function Ph(a,b,c,d,e){if(""!==a.l&&a.i&&(a.a||a.g)){if(a.a){var f=a.a,g=a.T;if(!g||g.fillStyle!=f.fillStyle){var h=[9,f.fillStyle];a.c.push(h);a.b.push(h);g?g.fillStyle=f.fillStyle:a.T={fillStyle:f.fillStyle}}}a.g&&(f=a.g,g=a.C,g&&g.lineCap==f.lineCap&&g.lineDash==f.lineDash&&g.lineJoin==f.lineJoin&&g.lineWidth==f.lineWidth&&g.miterLimit==f.miterLimit&&g.strokeStyle==f.strokeStyle||(h=[10,f.strokeStyle,f.lineWidth,f.lineCap,f.lineJoin,f.miterLimit,f.lineDash,!1],a.c.push(h),a.b.push(h),g?(g.lineCap=
186
- f.lineCap,g.lineDash=f.lineDash,g.lineJoin=f.lineJoin,g.lineWidth=f.lineWidth,g.miterLimit=f.miterLimit,g.strokeStyle=f.strokeStyle):a.C={lineCap:f.lineCap,lineDash:f.lineDash,lineJoin:f.lineJoin,lineWidth:f.lineWidth,miterLimit:f.miterLimit,strokeStyle:f.strokeStyle}));f=a.i;g=a.F;g&&g.font==f.font&&g.textAlign==f.textAlign&&g.textBaseline==f.textBaseline||(h=[11,f.font,f.textAlign,f.textBaseline],a.c.push(h),a.b.push(h),g?(g.font=f.font,g.textAlign=f.textAlign,g.textBaseline=f.textBaseline):a.F=
187
- {font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline});Dh(a,e);f=a.coordinates.length;b=Ch(a,b,0,c,d,!1,!1);b=[5,f,b,a.l,a.B,a.o,a.A,a.I,!!a.a,!!a.g,a.u];a.c.push(b);a.b.push(b);Gh(a,e)}}
188
- Oh.prototype.Pa=function(a){if(a){var b=a.b;b?(b=b.b,b=Td(b?b:Lg),this.a?this.a.fillStyle=b:this.a={fillStyle:b}):this.a=null;var c=a.f;if(c){var b=c.c,d=c.g,e=c.a,f=c.i,g=c.f,c=c.l,d=void 0!==d?d:"round",e=e?e.slice():Mg,f=void 0!==f?f:"round",g=void 0!==g?g:1,c=void 0!==c?c:10,b=Td(b?b:Ng);if(this.g){var h=this.g;h.lineCap=d;h.lineDash=e;h.lineJoin=f;h.lineWidth=g;h.miterLimit=c;h.strokeStyle=b}else this.g={lineCap:d,lineDash:e,lineJoin:f,lineWidth:g,miterLimit:c,strokeStyle:b}}else this.g=null;
189
- var l=a.a,b=a.g,d=a.i,e=a.u,g=a.l,c=a.c,f=a.ka(),h=a.B,m=a.o;a=void 0!==l?l:"10px sans-serif";h=void 0!==h?h:"center";m=void 0!==m?m:"middle";this.i?(l=this.i,l.font=a,l.textAlign=h,l.textBaseline=m):this.i={font:a,textAlign:h,textBaseline:m};this.l=void 0!==f?f:"";this.B=void 0!==b?b:0;this.o=void 0!==d?d:0;this.u=void 0!==e?e:!1;this.A=void 0!==g?g:0;this.I=void 0!==c?c:1}else this.l=""};var Qh=["Polygon","LineString","Image","Text"];function Rh(a,b,c,d,e){this.B=a;this.c=b;this.i=d;this.l=c;this.a=e;this.b={};this.f=Ud(1,1);this.g=zg()}x(Rh,Ah);function Sh(a){for(var b in a.b){var c=a.b[b],d;for(d in c)c[d].gc()}}Rh.prototype.Ja=function(a,b,c,d,e){var f=Cg(this.g,.5,.5,1/b,-1/b,-c,-a[0],-a[1]),g=this.f;g.clearRect(0,0,1,1);var h;void 0!==this.a&&(h=pb(),qb(h,a),rb(h,b*this.a,h));return Th(this,g,f,c,d,function(a){if(0<g.getImageData(0,0,1,1).data[3]){if(a=e(a))return a;g.clearRect(0,0,1,1)}},h)};
190
- function Uh(a,b,c){var d=void 0!==b?b.toString():"0";b=a.b[d];void 0===b&&(b={},a.b[d]=b);d=b[c];void 0===d&&(d=new Vh[c](a.B,a.c,a.l,a.i),b[c]=d);return d}
191
- Rh.prototype.G=function(a,b,c,d,e,f){var g=Object.keys(this.b).map(Number);g.sort(Ya);var h=this.c,l=h[0],m=h[1],n=h[2],h=h[3],l=[l,m,l,h,n,h,n,m];uc(l,0,8,2,c,l);a.save();a.beginPath();a.moveTo(l[0],l[1]);a.lineTo(l[2],l[3]);a.lineTo(l[4],l[5]);a.lineTo(l[6],l[7]);a.clip();f=f?f:Qh;for(var p,q,l=0,m=g.length;l<m;++l)for(p=this.b[g[l].toString()],n=0,h=f.length;n<h;++n)q=p[f[n]],void 0!==q&&q.G(a,b,c,d,e);a.restore()};
192
- function Th(a,b,c,d,e,f,g){var h=Object.keys(a.b).map(Number);h.sort(function(a,b){return b-a});var l,m,n,p,q;l=0;for(m=h.length;l<m;++l)for(p=a.b[h[l].toString()],n=Qh.length-1;0<=n;--n)if(q=p[Qh[n]],void 0!==q&&(q=Eh(q,b,1,c,d,e,q.b,f,g)))return q}var Vh={Image:Hh,LineString:Ih,Polygon:Lh,Text:Oh};function Wh(a,b){return ea(a)-ea(b)}function Xh(a,b){var c=.5*a/b;return c*c}function Yh(a,b,c,d,e,f){var g=!1,h,l;if(h=c.c)l=h.Kb(),2==l||3==l?h.vd(e,f):(0==l&&h.load(),h.Vc(e,f),g=!0);if(e=(0,c.g)(b))d=e.Ub(d),(0,Zh[d.N()])(a,d,c,b);return g}
193
- var Zh={Point:function(a,b,c,d){var e=c.c;if(e){if(2!=e.Kb())return;var f=Uh(a,c.b,"Image");f.oc(e);f.Hc(b,d)}if(e=c.ka())a=Uh(a,c.b,"Text"),a.Pa(e),Ph(a,b.j,2,2,d)},LineString:function(a,b,c,d){var e=c.a;if(e){var f=Uh(a,c.b,"LineString");f.Wa(null,e);f.Dc(b,d)}if(e=c.ka())a=Uh(a,c.b,"Text"),a.Pa(e),Ph(a,jh(b),2,2,d)},Polygon:function(a,b,c,d){var e=c.f,f=c.a;if(e||f){var g=Uh(a,c.b,"Polygon");g.Wa(e,f);g.Ic(b,d)}if(e=c.ka())a=Uh(a,c.b,"Text"),a.Pa(e),Ph(a,Zc(b),2,2,d)},MultiPoint:function(a,b,c,
194
- d){var e=c.c;if(e){if(2!=e.Kb())return;var f=Uh(a,c.b,"Image");f.oc(e);f.Fc(b,d)}if(e=c.ka())a=Uh(a,c.b,"Text"),a.Pa(e),c=b.j,Ph(a,c,c.length,b.s,d)},MultiLineString:function(a,b,c,d){var e=c.a;if(e){var f=Uh(a,c.b,"LineString");f.Wa(null,e);f.Ec(b,d)}if(e=c.ka())a=Uh(a,c.b,"Text"),a.Pa(e),b=kh(b),Ph(a,b,b.length,2,d)},MultiPolygon:function(a,b,c,d){var e=c.f,f=c.a;if(f||e){var g=Uh(a,c.b,"Polygon");g.Wa(e,f);g.Gc(b,d)}if(e=c.ka())a=Uh(a,c.b,"Text"),a.Pa(e),b=mh(b),Ph(a,b,b.length,2,d)},GeometryCollection:function(a,
195
- b,c,d){b=b.ea;var e,f;e=0;for(f=b.length;e<f;++e)(0,Zh[b[e].N()])(a,b[e],c,d)},Circle:function(a,b,c,d){var e=c.f,f=c.a;if(e||f){var g=Uh(a,c.b,"Polygon");g.Wa(e,f);g.Rb(b,d)}if(e=c.ka())a=Uh(a,c.b,"Text"),a.Pa(e),Ph(a,b.Jb(),2,2,d)}};var $h,ai=-1<navigator.userAgent.indexOf("OPR"),bi=-1<navigator.userAgent.indexOf("Edge");$h=!(!navigator.userAgent.match("CriOS")&&"chrome"in window&&"Google Inc."===navigator.vendor&&0==ai&&0==bi);function ci(a,b,c,d){a=c-a;b=d-b;var e=Math.sqrt(a*a+b*b);return[Math.round(c+a/e),Math.round(d+b/e)]}
196
- function di(a,b,c,d,e,f,g,h,l,m,n){var p=Ud(Math.round(c*a),Math.round(c*b));if(0===l.length)return p.canvas;p.scale(c,c);var q=pb();l.forEach(function(a){Bb(q,a.extent)});var t=Ud(Math.round(c*Kb(q)/d),Math.round(c*Lb(q)/d)),u=c/d;l.forEach(function(a){t.drawImage(a.image,m,m,a.image.width-2*m,a.image.height-2*m,(a.extent[0]-q[0])*u,-(a.extent[3]-q[3])*u,Kb(a.extent)*u,Lb(a.extent)*u)});var r=Hb(g);h.f.forEach(function(a){var b=a.source,e=a.target,g=b[1][0],h=b[1][1],l=b[2][0],m=b[2][1];a=(e[0][0]-
197
- r[0])/f;var n=-(e[0][1]-r[1])/f,u=(e[1][0]-r[0])/f,U=-(e[1][1]-r[1])/f,ca=(e[2][0]-r[0])/f,xa=-(e[2][1]-r[1])/f,e=b[0][0],b=b[0][1],g=g-e,h=h-b,l=l-e,m=m-b;a:{g=[[g,h,0,0,u-a],[l,m,0,0,ca-a],[0,0,g,h,U-n],[0,0,l,m,xa-n]];h=g.length;for(l=0;l<h;l++){for(var m=l,wa=Math.abs(g[l][l]),ra=l+1;ra<h;ra++){var Ba=Math.abs(g[ra][l]);Ba>wa&&(wa=Ba,m=ra)}if(0===wa){g=null;break a}wa=g[m];g[m]=g[l];g[l]=wa;for(m=l+1;m<h;m++)for(wa=-g[m][l]/g[l][l],ra=l;ra<h+1;ra++)g[m][ra]=l==ra?0:g[m][ra]+wa*g[l][ra]}l=Array(h);
198
- for(m=h-1;0<=m;m--)for(l[m]=g[m][h]/g[m][m],wa=m-1;0<=wa;wa--)g[wa][h]-=g[wa][m]*l[m];g=l}g&&(p.save(),p.beginPath(),$h?(l=(a+u+ca)/3,m=(n+U+xa)/3,h=ci(l,m,a,n),u=ci(l,m,u,U),ca=ci(l,m,ca,xa),p.moveTo(u[0],u[1]),p.lineTo(h[0],h[1]),p.lineTo(ca[0],ca[1])):(p.moveTo(u,U),p.lineTo(a,n),p.lineTo(ca,xa)),p.clip(),p.transform(g[0],g[2],g[1],g[3],a,n),p.translate(q[0]-e,q[3]-b),p.scale(d/c,-d/c),p.drawImage(t.canvas,0,0),p.restore())});n&&(p.save(),p.strokeStyle="black",p.lineWidth=1,h.f.forEach(function(a){var b=
199
- a.target;a=(b[0][0]-r[0])/f;var c=-(b[0][1]-r[1])/f,d=(b[1][0]-r[0])/f,e=-(b[1][1]-r[1])/f,g=(b[2][0]-r[0])/f,b=-(b[2][1]-r[1])/f;p.beginPath();p.moveTo(d,e);p.lineTo(a,c);p.lineTo(g,b);p.closePath();p.stroke()}),p.restore());return p.canvas};function ei(a,b,c,d,e){this.a=a;this.g=b;var f={},g=qc(this.g,this.a);this.c=function(a){var b=a[0]+"/"+a[1];f[b]||(f[b]=g(a));return f[b]};this.i=d;this.u=e*e;this.f=[];this.B=!1;this.o=this.a.b&&!!d&&!!this.a.D()&&Kb(d)==Kb(this.a.D());this.b=this.a.D()?Kb(this.a.D()):null;this.l=this.g.D()?Kb(this.g.D()):null;a=Hb(c);b=Gb(c);d=Fb(c);c=Eb(c);e=this.c(a);var h=this.c(b),l=this.c(d),m=this.c(c);fi(this,a,b,d,c,e,h,l,m,10);if(this.B){var n=Infinity;this.f.forEach(function(a){n=Math.min(n,a.source[0][0],
200
- a.source[1][0],a.source[2][0])});this.f.forEach(function(a){if(Math.max(a.source[0][0],a.source[1][0],a.source[2][0])-n>this.b/2){var b=[[a.source[0][0],a.source[0][1]],[a.source[1][0],a.source[1][1]],[a.source[2][0],a.source[2][1]]];b[0][0]-n>this.b/2&&(b[0][0]-=this.b);b[1][0]-n>this.b/2&&(b[1][0]-=this.b);b[2][0]-n>this.b/2&&(b[2][0]-=this.b);Math.max(b[0][0],b[1][0],b[2][0])-Math.min(b[0][0],b[1][0],b[2][0])<this.b/2&&(a.source=b)}},this)}f={}}
201
- function fi(a,b,c,d,e,f,g,h,l,m){var n=ob([f,g,h,l]),p=a.b?Kb(n)/a.b:null,q=a.b,t=a.a.b&&.5<p&&1>p,u=!1;if(0<m){if(a.g.a&&a.l)var r=ob([b,c,d,e]),u=u|.25<Kb(r)/a.l;!t&&a.a.a&&p&&(u|=.25<p)}if(u||!a.i||Pb(n,a.i)){if(!(u||isFinite(f[0])&&isFinite(f[1])&&isFinite(g[0])&&isFinite(g[1])&&isFinite(h[0])&&isFinite(h[1])&&isFinite(l[0])&&isFinite(l[1])))if(0<m)u=!0;else return;if(0<m&&(u||(n=a.c([(b[0]+d[0])/2,(b[1]+d[1])/2]),q=t?(ma(f[0],q)+ma(h[0],q))/2-ma(n[0],q):(f[0]+h[0])/2-n[0],n=(f[1]+h[1])/2-n[1],
202
- u=q*q+n*n>a.u),u)){Math.abs(b[0]-d[0])<=Math.abs(b[1]-d[1])?(t=[(c[0]+d[0])/2,(c[1]+d[1])/2],q=a.c(t),n=[(e[0]+b[0])/2,(e[1]+b[1])/2],p=a.c(n),fi(a,b,c,t,n,f,g,q,p,m-1),fi(a,n,t,d,e,p,q,h,l,m-1)):(t=[(b[0]+c[0])/2,(b[1]+c[1])/2],q=a.c(t),n=[(d[0]+e[0])/2,(d[1]+e[1])/2],p=a.c(n),fi(a,b,t,n,e,f,q,p,l,m-1),fi(a,t,c,d,n,q,g,h,p,m-1));return}if(t){if(!a.o)return;a.B=!0}a.f.push({source:[f,h,l],target:[b,d,e]});a.f.push({source:[f,g,h],target:[b,c,d]})}}
203
- function gi(a){var b=pb();a.f.forEach(function(a){a=a.source;qb(b,a[0]);qb(b,a[1]);qb(b,a[2])});return b};function hi(a){Ua.call(this);this.da=$b(a.projection);this.u=ii(a.attributions);this.S=a.logo;this.la=void 0!==a.state?a.state:"ready";this.A=void 0!==a.wrapX?a.wrapX:!1}x(hi,Ua);function ii(a){if("string"===typeof a)return[new Gd({html:a})];if(a instanceof Gd)return[a];if(Array.isArray(a)){for(var b=a.length,c=Array(b),d=0;d<b;d++){var e=a[d];c[d]="string"===typeof e?new Gd({html:e}):e}return c}return null}k=hi.prototype;k.Ja=da;k.Ud=function(){return this.u};k.Od=function(){return this.S};
204
- k.pa=function(){return this.da};k.fa=function(){return this.la};k.dd=function(){this.v()};k.ge=function(a){this.u=ii(a);this.v()};function Hg(a){wh.call(this,a);this.f=Ud();this.g=[];this.l=pb();this.A=[0,0,0];this.u=zg()}x(Hg,wh);
205
- Hg.prototype.i=function(a,b,c){var d=zh(this,a,0);yh(this,"precompose",c,a,d);var e=a.pixelRatio,f=a.viewState,g=f.center,h=f.projection,l=f.rotation,m=a.size,n=Math.round(e*m[0]/2),m=Math.round(e*m[1]/2),f=e/f.resolution,p=this.a,q=p.va(),t=e*q.Md(h),u=q.Ua(h),p=Qa(p,"render"),r=c,v=1,ba,P,V;if(l||p){r=this.f;ba=r.canvas;var v=q.o/e,ja=c.canvas.width*v;P=c.canvas.height*v;V=Math.round(Math.sqrt(ja*ja+P*P));ba.width!=V?ba.width=ba.height=V:r.clearRect(0,0,V,V);ba=(V-ja)/2/v;P=(V-P)/2/v;f*=v;n=Math.round(v*
206
- (n+ba));m=Math.round(v*(m+P))}ja=r.globalAlpha;r.globalAlpha=b.opacity;var ua=this.g,y,sa=q.Pc(h)&&1==b.opacity;sa||(ua.reverse(),y=[]);var oa=b.extent;if(b=void 0!==oa){var U=Hb(oa),ca=Gb(oa),xa=Fb(oa),oa=Eb(oa);Bg(a.coordinateToPixelTransform,U);Bg(a.coordinateToPixelTransform,ca);Bg(a.coordinateToPixelTransform,xa);Bg(a.coordinateToPixelTransform,oa);var wa=ba||0,ra=P||0;r.save();var Ba=r.canvas.width/2,na=r.canvas.height/2;Og(r,-l,Ba,na);r.beginPath();r.moveTo(v*(U[0]*e+wa),v*(U[1]*e+ra));r.lineTo(v*
207
- (ca[0]*e+wa),v*(ca[1]*e+ra));r.lineTo(v*(xa[0]*e+wa),v*(xa[1]*e+ra));r.lineTo(v*(oa[0]*e+wa),v*(oa[1]*e+ra));r.clip();Og(r,l,Ba,na)}e=0;for(U=ua.length;e<U;++e){ca=ua[e];xa=ca.Ia;ra=ud(u,xa,this.l);Ba=xa[0];na=Eb(ud(u,Cd(u,g,Ba,this.A)));xa=Math.round(Kb(ra)*f);oa=Math.round(Lb(ra)*f);wa=Math.round((ra[0]-na[0])*f/xa)*xa+n+Math.round((na[0]-g[0])*f);ra=Math.round((na[1]-ra[3])*f/oa)*oa+m+Math.round((g[1]-na[1])*f);if(!sa){na=[wa,ra,wa+xa,ra+oa];r.save();for(var Pa=0,eb=y.length;Pa<eb;++Pa){var Sa=
208
- y[Pa];Pb(na,Sa)&&(r.beginPath(),r.moveTo(na[0],na[1]),r.lineTo(na[0],na[3]),r.lineTo(na[2],na[3]),r.lineTo(na[2],na[1]),r.moveTo(Sa[0],Sa[1]),r.lineTo(Sa[2],Sa[1]),r.lineTo(Sa[2],Sa[3]),r.lineTo(Sa[0],Sa[3]),r.closePath(),r.clip())}y.push(na)}na=q;Pa=Ba;eb=na.Ua(h);Ba=na.o;Pa=pd(Ad(eb,Pa),na.C);1==Ba?Ba=Pa:(na=na.C,void 0===na&&(na=[0,0]),na[0]=Pa[0]*Ba+.5|0,na[1]=Pa[1]*Ba+.5|0,Ba=na);r.drawImage(ca.bc(),t,t,Ba[0],Ba[1],wa,ra,xa,oa);sa||r.restore()}b&&r.restore();p&&(h=ba-n/v+n,n=P-m/v+m,g=Cg(this.u,
209
- V/2-h,V/2-n,f,-f,-l,-g[0]+h/f,-g[1]-n/f),yh(this,"render",r,a,g));(l||p)&&c.drawImage(r.canvas,-Math.round(ba),-Math.round(P),V/v,V/v);r.globalAlpha=ja;yh(this,"postcompose",c,a,d)};
210
- Hg.prototype.o=function(a,b){function c(a){a=a.fa();return a==df||4==a||3==a&&!t}var d=a.pixelRatio,e=a.viewState,f=e.projection,g=this.a,h=g.va(),l=h.Ua(f),e=Bd(l,e.resolution,0),m=l.X(e),n=a.extent;void 0!==b.extent&&(n=Ob(n,b.extent));if(Jb(n))return!1;var m=xd(l,n,m),p={};p[e]={};var q=oh(h,f,p),t=g.A(),u=this.l,r=new md(0,0,0,0),v,ba,P,V;for(P=m.H;P<=m.J;++P)for(V=m.M;V<=m.P;++V)v=vh(h,e,P,V,d,f),c(v)||(v=cf(v)),c(v)?p[e][v.Ia.toString()]=v:(ba=td(l,v.Ia,q,r,u),ba||(v=wd(l,v.Ia,r,u))&&q(e+1,
211
- v));q=Object.keys(p).map(Number);q.sort(Ya);u=this.g;u.length=0;var ja,r=0;for(P=q.length;r<P;++r)for(ja in v=q[r],V=p[v],V)v=V[ja],v.fa()==df&&u.push(v);th(a.usedTiles,h,e,m);uh(a,h,l,d,f,n,e,g.u());qh(a,h);sh(a,h);return!0};Hg.prototype.B=function(a,b,c,d){var e=this.f.canvas,f=b.size,g=b.pixelRatio;e.width=f[0]*g;e.height=f[1]*g;this.i(b,kg(this.a),this.f);a=this.f.getImageData(a[0],a[1],1,1).data;if(0<a[3])return c.call(d,this.a,a)};function Ig(a){wh.call(this,a);this.f=!1;this.F=-1;this.C=NaN;this.u=pb();this.g=this.A=null;this.l=Ud()}x(Ig,wh);
212
- Ig.prototype.i=function(a,b,c){var d=a.extent,e=a.pixelRatio,f=b.Wc?a.skippedFeatureUids:{},g=a.viewState,h=g.projection,g=g.rotation,l=h.D(),m=this.a.va(),n=zh(this,a,0);yh(this,"precompose",c,a,n);var p=b.extent,q=void 0!==p;q&&xh(c,a,p);if((p=this.g)&&!Ca(p.b)){var t=0,u=0,r;if(Qa(this.a,"render")){r=c.canvas.width;var v=c.canvas.height;if(g){var ba=Math.round(Math.sqrt(r*r+v*v)),t=(ba-r)/2,u=(ba-v)/2;r=v=ba}this.l.canvas.width=r;this.l.canvas.height=v;r=this.l}else r=c;v=r.globalAlpha;r.globalAlpha=
213
- b.opacity;r!=c&&r.translate(t,u);b=a.size[0]*e;ba=a.size[1]*e;Og(r,-g,b/2,ba/2);p.G(r,e,n,g,f);if(m.A&&h.b&&!wb(l,d)){for(var h=d[0],m=Kb(l),P=0;h<l[0];)--P,n=m*P,n=zh(this,a,n),p.G(r,e,n,g,f),h+=m;P=0;for(h=d[2];h>l[2];)++P,n=m*P,n=zh(this,a,n),p.G(r,e,n,g,f),h-=m;n=zh(this,a,0)}Og(r,g,b/2,ba/2);r!=c&&(yh(this,"render",r,a,n),c.drawImage(r.canvas,-t,-u),r.translate(-t,-u));r.globalAlpha=v}q&&c.restore();yh(this,"postcompose",c,a,n)};
214
- Ig.prototype.Ja=function(a,b,c,d){if(this.g){var e=this.a,f={};return this.g.Ja(a,b.viewState.resolution,b.viewState.rotation,{},function(a){var b=ea(a).toString();if(!(b in f))return f[b]=!0,c.call(d,a,e)})}};Ig.prototype.G=function(){var a=this.a;a.mb()&&"ready"==a.Rc()&&this.v()};
215
- Ig.prototype.o=function(a){function b(a){var b,d=a.g;d?b=d.call(a,m):(d=c.l)&&(b=d(a,m));if(b){if(b){d=!1;if(Array.isArray(b))for(var e=0,f=b.length;e<f;++e)d=Yh(q,a,b[e],Xh(m,n),this.G,this)||d;else d=Yh(q,a,b,Xh(m,n),this.G,this)||d;a=d}else a=!1;this.f=this.f||a}}var c=this.a,d=c.va();rh(a.attributions,d.u);sh(a,d);var e=a.viewHints[0],f=a.viewHints[1],g=c.S,h=c.da;if(!this.f&&!g&&e||!h&&f)return!0;var l=a.extent,h=a.viewState,e=h.projection,m=h.resolution,n=a.pixelRatio,f=c.c,p=c.C,g=c.get("renderOrder");
216
- void 0===g&&(g=Wh);l=rb(l,p*m);p=h.projection.D();d.A&&h.projection.b&&!wb(p,a.extent)&&(a=Math.max(Kb(l)/2,Kb(p)),l[0]=p[0]-a,l[2]=p[2]+a);if(!this.f&&this.C==m&&this.F==f&&this.A==g&&wb(this.u,l))return!0;this.g=null;this.f=!1;var q=new Rh(.5*m/n,l,m,d.qa,c.C);ji(d,l,m,e);if(g){var t=[];d.Fb(l,function(a){t.push(a)},this);t.sort(g);t.forEach(b,this)}else d.Fb(l,b,this);Sh(q);this.C=m;this.F=f;this.A=g;this.u=l;this.g=q;return!0};function ki(a,b){Eg.call(this,0,b);this.g=Ud();this.b=this.g.canvas;this.b.style.width="100%";this.b.style.height="100%";this.b.className="ol-unselectable";a.insertBefore(this.b,a.childNodes[0]||null);this.a=!0;this.l=zg()}x(ki,Eg);function li(a,b,c){var d=a.i,e=a.g;if(Qa(d,b)){var f=c.extent,g=c.pixelRatio,h=c.viewState.rotation,l=c.viewState,m=c.pixelRatio/l.resolution;a=Cg(a.l,a.b.width/2,a.b.height/2,m,-m,-l.rotation,-l.center[0],-l.center[1]);d.b(new vg(b,new ch(e,g,f,a,h),c,e,null))}}
217
- ki.prototype.N=function(){return"canvas"};
218
- ki.prototype.de=function(a){if(a){var b=this.g,c=a.pixelRatio,d=Math.round(a.size[0]*c),c=Math.round(a.size[1]*c);this.b.width!=d||this.b.height!=c?(this.b.width=d,this.b.height=c):b.clearRect(0,0,d,c);var e=a.viewState.rotation,f=a.viewState,g=a.coordinateToPixelTransform,h=a.pixelToCoordinateTransform;Cg(g,a.size[0]/2,a.size[1]/2,1/f.resolution,-1/f.resolution,-f.rotation,-f.center[0],-f.center[1]);Dg(Ag(h,g));li(this,"precompose",a);f=a.layerStatesArray;cb(f);Og(b,e,d/2,c/2);var g=a.viewState.resolution,
219
- l,m,n,h=0;for(l=f.length;h<l;++h)n=f[h],m=n.layer,m=Gg(this,m),n.visible&&g>=n.minResolution&&g<n.maxResolution&&"ready"==n.di&&m.o(a,n)&&m.i(a,n,b);Og(b,-e,d/2,c/2);li(this,"postcompose",a);this.a||(this.b.style.display="",this.a=!0);for(var p in this.c)if(!(p in a.layerStates)){a.postRenderFunctions.push(this.Lh.bind(this));break}a.postRenderFunctions.push(Fg)}else this.a&&(this.b.style.display="none",this.a=!1)};function mi(){this.f=0;this.c={};this.b=this.a=null}mi.prototype.clear=function(){this.f=0;this.c={};this.b=this.a=null};mi.prototype.get=function(a){a=this.c[a];ha(void 0!==a,15);if(a===this.b)return a.Nb;a===this.a?(this.a=this.a.Ga,this.a.rb=null):(a.Ga.rb=a.rb,a.rb.Ga=a.Ga);a.Ga=null;a.rb=this.b;this.b=this.b.Ga=a;return a.Nb};mi.prototype.pop=function(){var a=this.a;delete this.c[a.Ib];a.Ga&&(a.Ga.rb=null);this.a=a.Ga;this.a||(this.b=null);--this.f;return a.Nb};
220
- function ni(a,b,c){a.get(b);a.c[b].Nb=c}mi.prototype.set=function(a,b){ha(!(a in this.c),16);var c={Ib:a,Ga:null,rb:this.b,Nb:b};this.b?this.b.Ga=c:this.a=c;this.b=c;this.c[a]=c;++this.f};var oi=["canvas","webgl"];
221
- function K(a){Ua.call(this);var b=pi(a);this.Za=void 0!==a.loadTilesWhileAnimating?a.loadTilesWhileAnimating:!1;this.$a=void 0!==a.loadTilesWhileInteracting?a.loadTilesWhileInteracting:!1;this.uc=void 0!==a.pixelRatio?a.pixelRatio:he;this.tc=b.logos;this.qa=function(){this.i=void 0;this.Mh.call(this,Date.now())}.bind(this);this.Xa=zg();this.vc=zg();this.Ya=0;this.f=null;this.Ra=pb();this.F=this.da=null;this.a=document.createElement("DIV");this.a.className="ol-viewport"+(ke?" ol-touch":"");this.a.style.position=
222
- "relative";this.a.style.overflow="hidden";this.a.style.width="100%";this.a.style.height="100%";this.a.style.msTouchAction="none";this.a.style.touchAction="none";this.K=document.createElement("DIV");this.K.className="ol-overlaycontainer";this.a.appendChild(this.K);this.G=document.createElement("DIV");this.G.className="ol-overlaycontainer-stopevent";a=["click","dblclick","mousedown","touchstart","mspointerdown",Xe,"mousewheel","wheel"];for(var c=0,d=a.length;c<d;++c)z(this.G,a[c],Na);this.a.appendChild(this.G);
223
- this.xa=new Pe(this);for(var e in $e)z(this.xa,$e[e],this.Qd,this);this.sa=b.keyboardEventTarget;this.A=null;z(this.a,"wheel",this.nb,this);z(this.a,"mousewheel",this.nb,this);this.o=b.controls;this.l=b.interactions;this.u=b.overlays;this.fd={};this.C=new b.Oh(this.a,this);this.la=null;this.S=[];this.Qa=[];this.Sa=new hf(this.Ff.bind(this),this.Yf.bind(this));this.sc={};z(this,Wa(qi),this.Of,this);z(this,Wa(ri),this.Zf,this);z(this,Wa(si),this.Vf,this);z(this,Wa(ui),this.Xf,this);this.R(b.values);
224
- this.o.fb(function(a){a.setMap(this)},this);z(this.o,Kd,function(a){a.element.setMap(this)},this);z(this.o,Ld,function(a){a.element.setMap(null)},this);this.l.fb(function(a){a.setMap(this)},this);z(this.l,Kd,function(a){a.element.setMap(this)},this);z(this.l,Ld,function(a){a.element.setMap(null)},this);this.u.fb(this.Fd,this);z(this.u,Kd,function(a){this.Fd(a.element)},this);z(this.u,Ld,function(a){var b=a.element.Fa;void 0!==b&&delete this.fd[b.toString()];a.element.setMap(null)},this)}x(K,Ua);
225
- k=K.prototype;k.De=function(a){this.o.push(a)};k.Ee=function(a){this.l.push(a)};k.Fe=function(a){this.kb().ob().push(a)};k.Ge=function(a){this.u.push(a)};k.Fd=function(a){var b=a.Fa;void 0!==b&&(this.fd[b.toString()]=a);a.setMap(this)};k.ya=function(a){this.render();Array.prototype.push.apply(this.S,arguments)};
226
- k.ma=function(){La(this.xa);La(this.C);Ja(this.a,"wheel",this.nb,this);Ja(this.a,"mousewheel",this.nb,this);void 0!==this.g&&(window.removeEventListener("resize",this.g,!1),this.g=void 0);this.i&&(cancelAnimationFrame(this.i),this.i=void 0);this.Sd(null);Ua.prototype.ma.call(this)};k.Te=function(a,b,c,d,e){if(this.f)return a=this.Ka(a),this.C.Ja(a,this.f,b,void 0!==c?c:null,void 0!==d?d:Rb,void 0!==e?e:null)};
227
- k.zg=function(a,b,c,d,e){if(this.f){a:{var f=this.C,g=this.f;c=void 0!==c?c:null;d=void 0!==d?d:Rb;e=void 0!==e?e:null;var h,l=g.viewState.resolution,m=g.layerStatesArray,n;for(n=m.length-1;0<=n;--n){h=m[n];var p=h.layer;if(h.visible&&l>=h.minResolution&&l<h.maxResolution&&d.call(e,p)&&(h=Gg(f,p).B(a,g,b,c))){a=h;break a}}a=void 0}return a}};k.ag=function(a,b,c){if(!this.f)return!1;a=this.Ka(a);var d=this.C;return void 0!==d.Ja(a,this.f,Rb,d,void 0!==b?b:Rb,void 0!==c?c:null)};k.Ze=function(a){return this.Ka(this.Kc(a))};
228
- k.Kc=function(a){var b=this.a.getBoundingClientRect();a=a.changedTouches?a.changedTouches[0]:a;return[a.clientX-b.left,a.clientY-b.top]};k.Sc=function(){return this.get(ui)};k.Tc=function(){var a=this.Sc();return void 0!==a?"string"===typeof a?document.getElementById(a):a:null};k.Ka=function(a){var b=this.f;return b?Bg(b.pixelToCoordinateTransform,a.slice()):null};k.Ye=function(){return this.o};k.wf=function(){return this.u};k.vf=function(a){a=this.fd[a.toString()];return void 0!==a?a:null};
229
- k.kf=function(){return this.l};k.kb=function(){return this.get(qi)};k.Ag=function(){return this.kb().ob()};k.Gb=function(a){var b=this.f;return b?Bg(b.coordinateToPixelTransform,a.slice(0,2)):null};k.ac=function(){return this.get(si)};k.ja=function(){return this.get(ri)};k.Jf=function(){return this.a};k.Ff=function(a,b,c,d){var e=this.f;if(!(e&&b in e.wantedTiles&&e.wantedTiles[b][a.getKey()]))return Infinity;a=c[0]-e.focus[0];c=c[1]-e.focus[1];return 65536*Math.log(d)+Math.sqrt(a*a+c*c)/d};
230
- k.nb=function(a,b){var c=new Ne(b||a.type,this,a);this.Qd(c)};k.Qd=function(a){if(this.f){this.la=a.coordinate;a.frameState=this.f;var b=this.l.a,c;if(!1!==this.b(a))for(c=b.length-1;0<=c;c--){var d=b[c];if(d.da()&&!d.handleEvent(a))break}}};
231
- k.Uf=function(){var a=this.f,b=this.Sa;if(0!==b.b.length){var c=16,d=c;if(a){var e=a.viewHints;e[0]&&(c=this.Za?8:0,d=2);e[1]&&(c=this.$a?8:0,d=2)}if(b.i<c){var e=b.o,f=b.b,g=b.c,h=0,l=f.length,m,n,p;for(n=0;n<l;++n)m=f[n],p=e(m),Infinity==p?delete b.a[b.f(m)]:(g[h]=p,f[h++]=m);f.length=h;g.length=h;for(e=(b.b.length>>1)-1;0<=e;e--)gf(b,e);for(e=0;b.i<c&&e<d&&0<b.b.length;)f=b,h=f.b,l=f.c,g=h[0],1==h.length?(h.length=0,l.length=0):(h[0]=h.pop(),l[0]=l.pop(),gf(f,0)),h=f.f(g),delete f.a[h],f=g[0],
232
- g=f.getKey(),0!==f.fa()||g in b.g||(b.g[g]=!0,++b.i,++e,f.load())}}b=this.Qa;d=0;for(c=b.length;d<c;++d)b[d](this,a);b.length=0};k.Vf=function(){this.render()};
233
- k.Xf=function(){var a;this.Sc()&&(a=this.Tc());if(this.A){for(var b=0,c=this.A.length;b<c;++b)Ea(this.A[b]);this.A=null}a?(a.appendChild(this.a),a=this.sa?this.sa:a,this.A=[z(a,"keydown",this.nb,this),z(a,"keypress",this.nb,this)],this.g||(this.g=this.wd.bind(this),window.addEventListener("resize",this.g,!1))):(Vd(this.a),void 0!==this.g&&(window.removeEventListener("resize",this.g,!1),this.g=void 0));this.wd()};k.Yf=function(){this.render()};k.$f=function(){this.render()};
234
- k.Zf=function(){this.da&&(Ea(this.da),this.da=null);var a=this.ja();a&&(this.da=z(a,"propertychange",this.$f,this));this.render()};k.Of=function(){this.F&&(this.F.forEach(Ea),this.F=null);var a=this.kb();a&&(this.F=[z(a,"propertychange",this.render,this),z(a,"change",this.render,this)]);this.render()};k.Nh=function(){this.i&&cancelAnimationFrame(this.i);this.qa()};k.render=function(){void 0===this.i&&(this.i=requestAnimationFrame(this.qa))};k.Gh=function(a){return this.o.remove(a)};k.Hh=function(a){return this.l.remove(a)};
235
- k.Jh=function(a){return this.kb().ob().remove(a)};k.Kh=function(a){return this.u.remove(a)};
236
- k.Mh=function(a){var b,c,d,e=this.ac(),f=this.ja(),g=pb(),h=null;if(b=void 0!==e&&0<e[0]&&0<e[1]&&f)b=!!f.Ca()&&void 0!==f.X();if(b){d=this.f?this.f.viewHints:void 0;void 0!==d?(d[0]=f.g[0],d[1]=f.g[1],h=d):h=f.g.slice();var l=this.kb().Mc(),m={};b=0;for(c=l.length;b<c;++b)m[ea(l[b].layer)]=l[b];d=f.fa();h={animate:!1,attributions:{},coordinateToPixelTransform:this.Xa,extent:g,focus:this.la?this.la:d.center,index:this.Ya++,layerStates:m,layerStatesArray:l,logos:ya({},this.tc),pixelRatio:this.uc,pixelToCoordinateTransform:this.vc,
237
- postRenderFunctions:[],size:e,skippedFeatureUids:this.sc,tileQueue:this.Sa,time:a,usedTiles:{},viewState:d,viewHints:h,wantedTiles:{}}}if(h){a=this.S;b=e=0;for(c=a.length;b<c;++b)f=a[b],f(this,h)&&(a[e++]=f);a.length=e;h.extent=Nb(d.center,d.resolution,d.rotation,h.size,g)}this.f=h;this.C.de(h);h&&(h.animate&&this.render(),Array.prototype.push.apply(this.Qa,h.postRenderFunctions),0!==this.S.length||h.viewHints[0]||h.viewHints[1]||Ab(h.extent,this.Ra)||(this.b(new Wd("moveend",this,h)),sb(h.extent,
238
- this.Ra)));this.b(new Wd("postrender",this,h));setTimeout(this.Uf.bind(this),0)};k.Sh=function(a){this.set(qi,a)};k.sd=function(a){this.set(si,a)};k.Sd=function(a){this.set(ui,a)};k.$h=function(a){this.set(ri,a)};
239
- k.wd=function(){var a=this.Tc();if(a){var b=getComputedStyle(a);this.sd([a.offsetWidth-parseFloat(b.borderLeftWidth)-parseFloat(b.paddingLeft)-parseFloat(b.paddingRight)-parseFloat(b.borderRightWidth),a.offsetHeight-parseFloat(b.borderTopWidth)-parseFloat(b.paddingTop)-parseFloat(b.paddingBottom)-parseFloat(b.borderBottomWidth)])}else this.sd(void 0)};
240
- function pi(a){var b=null;void 0!==a.keyboardEventTarget&&(b="string"===typeof a.keyboardEventTarget?document.getElementById(a.keyboardEventTarget):a.keyboardEventTarget);var c={},d={};if(void 0===a.logo||"boolean"===typeof a.logo&&a.logo)d["data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAA3NCSVQICAjb4U/gAAAACXBIWXMAAAHGAAABxgEXwfpGAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAAhNQTFRF////AP//AICAgP//AFVVQECA////K1VVSbbbYL/fJ05idsTYJFtbbcjbJllmZszWWMTOIFhoHlNiZszTa9DdUcHNHlNlV8XRIVdiasrUHlZjIVZjaMnVH1RlIFRkH1RkH1ZlasvYasvXVsPQH1VkacnVa8vWIVZjIFRjVMPQa8rXIVVkXsXRsNveIFVkIFZlIVVj3eDeh6GmbMvXH1ZkIFRka8rWbMvXIFVkIFVjIFVkbMvWH1VjbMvWIFVlbcvWIFVla8vVIFVkbMvWbMvVH1VkbMvWIFVlbcvWIFVkbcvVbMvWjNPbIFVkU8LPwMzNIFVkbczWIFVkbsvWbMvXIFVkRnB8bcvW2+TkW8XRIFVkIlZlJVloJlpoKlxrLl9tMmJwOWd0Omh1RXF8TneCT3iDUHiDU8LPVMLPVcLPVcPQVsPPVsPQV8PQWMTQWsTQW8TQXMXSXsXRX4SNX8bSYMfTYcfTYsfTY8jUZcfSZsnUaIqTacrVasrVa8jTa8rWbI2VbMvWbcvWdJObdcvUdszUd8vVeJaee87Yfc3WgJyjhqGnitDYjaarldPZnrK2oNbborW5o9bbo9fbpLa6q9ndrL3ArtndscDDutzfu8fJwN7gwt7gxc/QyuHhy+HizeHi0NfX0+Pj19zb1+Tj2uXk29/e3uLg3+Lh3+bl4uXj4ufl4+fl5Ofl5ufl5ujm5+jmySDnBAAAAFp0Uk5TAAECAgMEBAYHCA0NDg4UGRogIiMmKSssLzU7PkJJT1JTVFliY2hrdHZ3foSFhYeJjY2QkpugqbG1tre5w8zQ09XY3uXn6+zx8vT09vf4+Pj5+fr6/P39/f3+gz7SsAAAAVVJREFUOMtjYKA7EBDnwCPLrObS1BRiLoJLnte6CQy8FLHLCzs2QUG4FjZ5GbcmBDDjxJBXDWxCBrb8aM4zbkIDzpLYnAcE9VXlJSWlZRU13koIeW57mGx5XjoMZEUqwxWYQaQbSzLSkYGfKFSe0QMsX5WbjgY0YS4MBplemI4BdGBW+DQ11eZiymfqQuXZIjqwyadPNoSZ4L+0FVM6e+oGI6g8a9iKNT3o8kVzNkzRg5lgl7p4wyRUL9Yt2jAxVh6mQCogae6GmflI8p0r13VFWTHBQ0rWPW7ahgWVcPm+9cuLoyy4kCJDzCm6d8PSFoh0zvQNC5OjDJhQopPPJqph1doJBUD5tnkbZiUEqaCnB3bTqLTFG1bPn71kw4b+GFdpLElKIzRxxgYgWNYc5SCENVHKeUaltHdXx0dZ8uBI1hJ2UUDgq82CM2MwKeibqAvSO7MCABq0wXEPiqWEAAAAAElFTkSuQmCC"]=
241
- "http://openlayers.org/";else{var e=a.logo;"string"===typeof e?d[e]="":e instanceof HTMLElement?d[ea(e).toString()]=e:e&&(ha("string"==typeof e.href,44),ha("string"==typeof e.src,45),d[e.src]=e.href)}e=a.layers instanceof H?a.layers:new H({layers:a.layers});c[qi]=e;c[ui]=a.target;c[ri]=void 0!==a.view?a.view:new F;var e=Eg,f;void 0!==a.renderer?(Array.isArray(a.renderer)?f=a.renderer:"string"===typeof a.renderer?f=[a.renderer]:ha(!1,46),0<=f.indexOf("dom")&&(f=f.concat(oi))):f=oi;var g,h;g=0;for(h=
242
- f.length;g<h;++g)if("canvas"==f[g]&&je){e=ki;break}void 0!==a.controls?Array.isArray(a.controls)?f=new G(a.controls.slice()):(ha(a.controls instanceof G,47),f=a.controls):(f={},g=new G,(void 0!==f.zoom?f.zoom:1)&&g.push(new be(f.zoomOptions)),(void 0!==f.rotate?f.rotate:1)&&g.push(new $d(f.rotateOptions)),(void 0!==f.attribution?f.attribution:1)&&g.push(new Yd(f.attributionOptions)),f=g);void 0!==a.interactions?Array.isArray(a.interactions)?g=new G(a.interactions.slice()):(ha(a.interactions instanceof
243
- G,48),g=a.interactions):g=ig();void 0!==a.overlays?Array.isArray(a.overlays)?a=new G(a.overlays.slice()):(ha(a.overlays instanceof G,49),a=a.overlays):a=new G;return{controls:f,interactions:g,keyboardEventTarget:b,logos:d,overlays:a,Oh:e,values:c}}var qi="layergroup",si="size",ui="target",ri="view";ug();function vi(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-scale-line";this.g=document.createElement("DIV");this.g.className=b+"-inner";this.a=document.createElement("DIV");this.a.className=b+" ol-unselectable";this.a.appendChild(this.g);this.o=null;this.l=void 0!==a.minWidth?a.minWidth:64;this.f=!1;this.A=void 0;this.u="";Xd.call(this,{element:this.a,render:a.render?a.render:wi,target:a.target});z(this,Wa(xi),this.G,this);this.F(a.units||yi)}x(vi,Xd);var zi=[1,2,5];vi.prototype.cb=function(){return this.get(xi)};
244
- function wi(a){(a=a.frameState)?this.o=a.viewState:this.o=null;Ai(this)}vi.prototype.G=function(){Ai(this)};vi.prototype.F=function(a){this.set(xi,a)};
245
- function Ai(a){var b=a.o;if(b){var c=b.projection,d=c.bb(),b=c.getPointResolution(b.resolution,b.center)*d,d=a.l*b,c="",e=a.cb();e==Bi?(c=Wb.degrees,b/=c,d<c/60?(c="\u2033",b*=3600):d<c?(c="\u2032",b*=60):c="\u00b0"):e==Ci?.9144>d?(c="in",b/=.0254):1609.344>d?(c="ft",b/=.3048):(c="mi",b/=1609.344):e==Di?(b/=1852,c="nm"):e==yi?1>d?(c="mm",b*=1E3):1E3>d?c="m":(c="km",b/=1E3):e==Ei?.9144>d?(c="in",b*=39.37):1609.344>d?(c="ft",b/=.30480061):(c="mi",b/=1609.3472):ha(!1,33);for(var e=3*Math.floor(Math.log(a.l*
246
- b)/Math.log(10)),f;;){f=zi[(e%3+3)%3]*Math.pow(10,Math.floor(e/3));d=Math.round(f/b);if(isNaN(d)){a.a.style.display="none";a.f=!1;return}if(d>=a.l)break;++e}b=f+" "+c;a.u!=b&&(a.g.innerHTML=b,a.u=b);a.A!=d&&(a.g.style.width=d+"px",a.A=d);a.f||(a.a.style.display="",a.f=!0)}else a.f&&(a.a.style.display="none",a.f=!1)}var xi="units",Bi="degrees",Ci="imperial",Di="nautical",yi="metric",Ei="us";function L(a){Ua.call(this);this.Fa=void 0;this.a="geometry";this.i=null;this.g=void 0;this.f=null;z(this,Wa(this.a),this.Wb,this);void 0!==a&&(a instanceof A||!a?this.Ba(a):this.R(a))}x(L,Ua);k=L.prototype;k.clone=function(){var a=new L(this.V());a.nc(this.a);var b=this.L();b&&a.Ba(b.clone());(b=this.i)&&a.Xc(b);return a};k.L=function(){return this.get(this.a)};k.jf=function(){return this.Fa};k.hf=function(){return this.a};k.ug=function(){return this.i};k.vg=function(){return this.g};k.Nf=function(){this.v()};
247
- k.Wb=function(){this.f&&(Ea(this.f),this.f=null);var a=this.L();a&&(this.f=z(a,"change",this.Nf,this));this.v()};k.Ba=function(a){this.set(this.a,a)};k.Xc=function(a){this.g=(this.i=a)?Fi(a):void 0;this.v()};k.pd=function(a){this.Fa=a;this.v()};k.nc=function(a){Ja(this,Wa(this.a),this.Wb,this);this.a=a;z(this,Wa(this.a),this.Wb,this);this.Wb()};function Fi(a){if("function"!==typeof a){var b;Array.isArray(a)?b=a:(ha(a instanceof Wg,41),b=[a]);a=function(){return b}}return a};var Gi=document.implementation.createDocument("","",null);function Hi(a){return Ii(a,!1,[]).join("")}function Ii(a,b,c){if(a.nodeType==Node.CDATA_SECTION_NODE||a.nodeType==Node.TEXT_NODE)b?c.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):c.push(a.nodeValue);else for(a=a.firstChild;a;a=a.nextSibling)Ii(a,b,c);return c}function Ji(a){return a instanceof Document}function Ki(a){return a instanceof Node}function Li(a){return(new DOMParser).parseFromString(a,"application/xml")}
248
- function Mi(a,b){return function(c,d){var e=a.call(b,c,d);void 0!==e&&$a(d[d.length-1],e)}}function Ni(a,b){return function(c,d){var e=a.call(void 0!==b?b:this,c,d);void 0!==e&&d[d.length-1].push(e)}}function Oi(a){return function(b,c){var d=a.call(this,b,c);void 0!==d&&(c[c.length-1]=d)}}function Pi(a,b){return function(c,d){var e=a.call(this,c,d);void 0!==e&&(d[d.length-1][void 0!==b?b:c.localName]=e)}}function Qi(a){return function(b,c,d){a.call(this,b,c,d);d[d.length-1].node.appendChild(b)}}
249
- function Ri(a){return function(b,c,d){b=c[c.length-1].node;c=a;void 0===c&&(c=d);return Gi.createElementNS(b.namespaceURI,c)}}var Si=Ri();function Ti(a,b){for(var c=b.length,d=Array(c),e=0;e<c;++e)d[e]=a[b[e]];return d}function M(a,b,c){c=void 0!==c?c:{};var d,e;d=0;for(e=a.length;d<e;++d)c[a[d]]=b;return c}function Ui(a,b,c,d){for(b=b.firstElementChild;b;b=b.nextElementSibling){var e=a[b.namespaceURI];void 0!==e&&(e=e[b.localName])&&e.call(d,b,c)}}
250
- function Vi(a,b,c,d,e){d.push(a);Ui(b,c,d,e);return d.pop()}function Wi(a,b,c,d,e,f,g){e.push(a);a=(void 0!==f?f:d).length;for(var h,l,m=0;m<a;++m)h=d[m],void 0!==h&&(l=c.call(g,h,e,void 0!==f?f[m]:void 0),void 0!==l&&b[l.namespaceURI][l.localName].call(g,l,h,e));e.pop()};function Xi(a,b,c){return function(d,e,f){var g=new XMLHttpRequest;g.open("GET","function"===typeof a?a(d,e,f):a,!0);"arraybuffer"==b.N()&&(g.responseType="arraybuffer");g.onload=function(){if(!g.status||200<=g.status&&300>g.status){var a=b.N(),d;"json"==a||"text"==a?d=g.responseText:"xml"==a?(d=g.responseXML)||(d=Li(g.responseText)):"arraybuffer"==a&&(d=g.response);d&&c.call(this,b.sb(d,{featureProjection:f}),b.tb(d))}}.bind(this);g.send()}}
251
- function Yi(a,b){return Xi(a,b,function(a){this.yc(a)})};function Zi(){this.defaultDataProjection=null}function $i(a,b,c){var d;c&&(d={dataProjection:c.dataProjection?c.dataProjection:a.tb(b),featureProjection:c.featureProjection});return aj(a,d)}function aj(a,b){var c;b&&(c={featureProjection:b.featureProjection,dataProjection:b.dataProjection?b.dataProjection:a.defaultDataProjection,rightHanded:b.rightHanded},b.decimals&&(c.decimals=b.decimals));return c}
252
- function bj(a,b,c){var d=c?$b(c.featureProjection):null,e=c?$b(c.dataProjection):null,f;d&&e&&!pc(d,e)?a instanceof A?f=(b?a.clone():a).transform(b?d:e,b?e:d):f=tc(b?a.slice():a,b?d:e,b?e:d):f=a;if(b&&c&&c.decimals){var g=Math.pow(10,c.decimals);a=function(a){for(var b=0,c=a.length;b<c;++b)a[b]=Math.round(a[b]*g)/g;return a};Array.isArray(f)?a(f):f.ib(a)}return f};function cj(){this.defaultDataProjection=null}x(cj,Zi);function dj(a){return"string"===typeof a?(a=JSON.parse(a))?a:null:null!==a?a:null}k=cj.prototype;k.N=function(){return"json"};k.Lb=function(a,b){return ej(this,dj(a),$i(this,a,b))};k.sb=function(a,b){var c=dj(a),d=$i(this,a,b),e;if("Feature"==c.type)e=[ej(this,c,d)];else if("FeatureCollection"==c.type){e=[];var c=c.features,f,g;f=0;for(g=c.length;f<g;++f)e.push(ej(this,c[f],d))}else ha(!1,35);return e};
253
- k.mc=function(a,b){var c=dj(a),d=$i(this,a,b);return fj(c,d)};k.tb=function(a){a=dj(a).crs;var b;a?"name"==a.type?b=$b(a.properties.name):"EPSG"==a.type?b=$b("EPSG:"+a.properties.code):ha(!1,36):b=this.defaultDataProjection;return b};k.qc=function(a,b){return JSON.stringify(this.b(a,b))};k.Ob=function(a,b){return JSON.stringify(this.a(a,b))};k.rc=function(a,b){return JSON.stringify(this.f(a,b))};function gj(a,b,c,d,e,f){var g=NaN,h=NaN,l=(c-b)/d;if(0!==l)if(1==l)g=a[b],h=a[b+1];else if(2==l)g=(1-e)*a[b]+e*a[b+d],h=(1-e)*a[b+1]+e*a[b+d+1];else{var h=a[b],l=a[b+1],m=0,g=[0],n;for(n=b+d;n<c;n+=d){var p=a[n],q=a[n+1],m=m+Math.sqrt((p-h)*(p-h)+(q-l)*(q-l));g.push(m);h=p;l=q}c=e*m;l=0;m=g.length;for(n=!1;l<m;)e=l+(m-l>>1),h=+Ya(g[e],c),0>h?l=e+1:(m=e,n=!h);e=n?l:~l;0>e?(c=(c-g[-e-2])/(g[-e-1]-g[-e-2]),b+=(-e-2)*d,g=pa(a[b],a[b+d],c),h=pa(a[b+1],a[b+d+1],c)):(g=a[b+e*d],h=a[b+e*d+1])}return f?(f[0]=
254
- g,f[1]=h,f):[g,h]}function hj(a,b,c,d,e,f){if(c==b)return null;if(e<a[b+d-1])return f?(c=a.slice(b,b+d),c[d-1]=e,c):null;if(a[c-1]<e)return f?(c=a.slice(c-d,c),c[d-1]=e,c):null;if(e==a[b+d-1])return a.slice(b,b+d);b/=d;for(c/=d;b<c;)f=b+c>>1,e<a[(f+1)*d-1]?c=f:b=f+1;c=a[b*d-1];if(e==c)return a.slice((b-1)*d,(b-1)*d+d);f=(e-c)/(a[(b+1)*d-1]-c);c=[];var g;for(g=0;g<d-1;++g)c.push(pa(a[(b-1)*d+g],a[b*d+g],f));c.push(e);return c}
255
- function ij(a,b,c,d,e,f){var g=0;if(f)return hj(a,g,b[b.length-1],c,d,e);if(d<a[c-1])return e?(a=a.slice(0,c),a[c-1]=d,a):null;if(a[a.length-1]<d)return e?(a=a.slice(a.length-c),a[c-1]=d,a):null;e=0;for(f=b.length;e<f;++e){var h=b[e];if(g!=h){if(d<a[g+c-1])break;if(d<=a[h-1])return hj(a,g,h,c,d,!1);g=h}}return null};function N(a,b){B.call(this);this.a=null;this.A=this.C=this.i=-1;this.W(a,b)}x(N,B);k=N.prototype;k.He=function(a){this.j?$a(this.j,a):this.j=a.slice();this.v()};k.clone=function(){var a=new N(null);jj(a,this.O,this.j.slice());return a};k.za=function(a,b,c,d){if(d<tb(this.D(),a,b))return d;this.A!=this.c&&(this.C=Math.sqrt(Bc(this.j,0,this.j.length,this.s,0)),this.A=this.c);return Dc(this.j,0,this.j.length,this.s,this.C,!1,a,b,c,d)};k.Ve=function(a,b){return Qc(this.j,0,this.j.length,this.s,a,b)};
256
- k.Gg=function(a,b){return"XYM"!=this.O&&"XYZM"!=this.O?null:hj(this.j,0,this.j.length,this.s,a,void 0!==b?b:!1)};k.ia=function(){return Ic(this.j,0,this.j.length,this.s)};k.Ld=function(a,b){return gj(this.j,0,this.j.length,this.s,a,b)};k.Hg=function(){var a=this.j,b=this.s,c=a[0],d=a[1],e=0,f;for(f=0+b;f<this.j.length;f+=b)var g=a[f],h=a[f+1],e=e+Math.sqrt((g-c)*(g-c)+(h-d)*(h-d)),c=g,d=h;return e};function jh(a){a.i!=a.c&&(a.a=a.Ld(.5,a.a),a.i=a.c);return a.a}
257
- k.lb=function(a){var b=[];b.length=Kc(this.j,0,this.j.length,this.s,a,b,0);a=new N(null);jj(a,"XY",b);return a};k.N=function(){return"LineString"};k.oa=function(a){return Rc(this.j,0,this.j.length,this.s,a)};k.W=function(a,b){a?(xc(this,b,a,1),this.j||(this.j=[]),this.j.length=Gc(this.j,0,a,this.s),this.v()):jj(this,"XY",null)};function jj(a,b,c){wc(a,b,c);a.v()};function O(a,b){B.call(this);this.na=[];this.a=this.i=-1;this.W(a,b)}x(O,B);k=O.prototype;k.Ie=function(a){this.j?$a(this.j,a.j.slice()):this.j=a.j.slice();this.na.push(this.j.length);this.v()};k.clone=function(){var a=new O(null);kj(a,this.O,this.j.slice(),this.na.slice());return a};k.za=function(a,b,c,d){if(d<tb(this.D(),a,b))return d;this.a!=this.c&&(this.i=Math.sqrt(Cc(this.j,0,this.na,this.s,0)),this.a=this.c);return Ec(this.j,0,this.na,this.s,this.i,!1,a,b,c,d)};
258
- k.Jg=function(a,b,c){return"XYM"!=this.O&&"XYZM"!=this.O||0===this.j.length?null:ij(this.j,this.na,this.s,a,void 0!==b?b:!1,void 0!==c?c:!1)};k.ia=function(){return Jc(this.j,0,this.na,this.s)};k.qf=function(a){if(0>a||this.na.length<=a)return null;var b=new N(null);jj(b,this.O,this.j.slice(0===a?0:this.na[a-1],this.na[a]));return b};k.Nc=function(){var a=this.j,b=this.na,c=this.O,d=[],e=0,f,g;f=0;for(g=b.length;f<g;++f){var h=b[f],l=new N(null);jj(l,c,a.slice(e,h));d.push(l);e=h}return d};
259
- function kh(a){var b=[],c=a.j,d=0,e=a.na;a=a.s;var f,g;f=0;for(g=e.length;f<g;++f){var h=e[f],d=gj(c,d,h,a,.5);$a(b,d);d=h}return b}k.lb=function(a){var b=[],c=[],d=this.j,e=this.na,f=this.s,g=0,h=0,l,m;l=0;for(m=e.length;l<m;++l){var n=e[l],h=Kc(d,g,n,f,a,b,h);c.push(h);g=n}b.length=h;a=new O(null);kj(a,"XY",b,c);return a};k.N=function(){return"MultiLineString"};k.oa=function(a){a:{var b=this.j,c=this.na,d=this.s,e=0,f,g;f=0;for(g=c.length;f<g;++f){if(Rc(b,e,c[f],d,a)){a=!0;break a}e=c[f]}a=!1}return a};
260
- k.W=function(a,b){if(a){xc(this,b,a,2);this.j||(this.j=[]);var c=Hc(this.j,0,a,this.s,this.na);this.j.length=0===c.length?0:c[c.length-1];this.v()}else kj(this,"XY",null,this.na)};function kj(a,b,c,d){wc(a,b,c);a.na=d;a.v()}function lj(a,b){var c=a.O,d=[],e=[],f,g;f=0;for(g=b.length;f<g;++f){var h=b[f];0===f&&(c=h.O);$a(d,h.j);e.push(d.length)}kj(a,c,d,e)};function Q(a,b){B.call(this);this.W(a,b)}x(Q,B);k=Q.prototype;k.Ke=function(a){this.j?$a(this.j,a.j):this.j=a.j.slice();this.v()};k.clone=function(){var a=new Q(null);wc(a,this.O,this.j.slice());a.v();return a};k.za=function(a,b,c,d){if(d<tb(this.D(),a,b))return d;var e=this.j,f=this.s,g,h,l;g=0;for(h=e.length;g<h;g+=f)if(l=la(a,b,e[g],e[g+1]),l<d){d=l;for(l=0;l<f;++l)c[l]=e[g+l];c.length=f}return d};k.ia=function(){return Ic(this.j,0,this.j.length,this.s)};
261
- k.xf=function(a){var b=this.j?this.j.length/this.s:0;if(0>a||b<=a)return null;b=new D(null);wc(b,this.O,this.j.slice(a*this.s,(a+1)*this.s));b.v();return b};k.$c=function(){var a=this.j,b=this.O,c=this.s,d=[],e,f;e=0;for(f=a.length;e<f;e+=c){var g=new D(null),h=g;wc(h,b,a.slice(e,e+c));h.v();d.push(g)}return d};k.N=function(){return"MultiPoint"};k.oa=function(a){var b=this.j,c=this.s,d,e,f,g;d=0;for(e=b.length;d<e;d+=c)if(f=b[d],g=b[d+1],vb(a,f,g))return!0;return!1};
262
- k.W=function(a,b){a?(xc(this,b,a,1),this.j||(this.j=[]),this.j.length=Gc(this.j,0,a,this.s)):wc(this,"XY",null);this.v()};function R(a,b){B.call(this);this.a=[];this.A=-1;this.C=null;this.K=this.F=this.G=-1;this.i=null;this.W(a,b)}x(R,B);k=R.prototype;k.Le=function(a){if(this.j){var b=this.j.length;$a(this.j,a.j);a=a.U.slice();var c,d;c=0;for(d=a.length;c<d;++c)a[c]+=b}else this.j=a.j.slice(),a=a.U.slice(),this.a.push();this.a.push(a);this.v()};k.clone=function(){for(var a=new R(null),b=this.a.length,c=Array(b),d=0;d<b;++d)c[d]=this.a[d].slice();mj(a,this.O,this.j.slice(),c);return a};
263
- k.za=function(a,b,c,d){if(d<tb(this.D(),a,b))return d;if(this.F!=this.c){var e=this.a,f=0,g=0,h,l;h=0;for(l=e.length;h<l;++h)var m=e[h],g=Cc(this.j,f,m,this.s,g),f=m[m.length-1];this.G=Math.sqrt(g);this.F=this.c}e=lh(this);f=this.a;g=this.s;h=this.G;l=0;var m=[NaN,NaN],n,p;n=0;for(p=f.length;n<p;++n){var q=f[n];d=Ec(e,l,q,g,h,!0,a,b,c,d,m);l=q[q.length-1]}return d};
264
- k.gb=function(a,b){var c;a:{c=lh(this);var d=this.a,e=this.s,f=0;if(0!==d.length){var g,h;g=0;for(h=d.length;g<h;++g){var l=d[g];if(Oc(c,f,l,e,a,b)){c=!0;break a}f=l[l.length-1]}}c=!1}return c};k.Kg=function(){var a=lh(this),b=this.a,c=0,d=0,e,f;e=0;for(f=b.length;e<f;++e)var g=b[e],d=d+zc(a,c,g,this.s),c=g[g.length-1];return d};
265
- k.ia=function(a){var b;void 0!==a?(b=lh(this).slice(),Wc(b,this.a,this.s,a)):b=this.j;a=b;b=this.a;var c=this.s,d=0,e=[],f=0,g,h;g=0;for(h=b.length;g<h;++g){var l=b[g];e[f++]=Jc(a,d,l,c,e[f]);d=l[l.length-1]}e.length=f;return e};
266
- function mh(a){if(a.A!=a.c){var b=a.j,c=a.a,d=a.s,e=0,f=[],g,h,l;g=0;for(h=c.length;g<h;++g){var m=c[g];l=b;var n=m[0],p=d,q=zb(void 0);l=Cb(q,l,e,n,p);f.push((l[0]+l[2])/2,(l[1]+l[3])/2);e=m[m.length-1]}b=lh(a);c=a.a;d=a.s;g=0;h=[];m=0;for(l=c.length;m<l;++m)e=c[m],h=Pc(b,g,e,d,f,2*m,h),g=e[e.length-1];a.C=h;a.A=a.c}return a.C}k.mf=function(){var a=new Q(null),b=mh(this).slice();wc(a,"XY",b);a.v();return a};
267
- function lh(a){if(a.K!=a.c){var b=a.j,c;a:{c=a.a;var d,e;d=0;for(e=c.length;d<e;++d)if(!Uc(b,c[d],a.s,void 0)){c=!1;break a}c=!0}c?a.i=b:(a.i=b.slice(),a.i.length=Wc(a.i,a.a,a.s));a.K=a.c}return a.i}k.lb=function(a){var b=[],c=[],d=this.j,e=this.a,f=this.s;a=Math.sqrt(a);var g=0,h=0,l,m;l=0;for(m=e.length;l<m;++l){var n=e[l],p=[],h=Lc(d,g,n,f,a,b,h,p);c.push(p);g=n[n.length-1]}b.length=h;d=new R(null);mj(d,"XY",b,c);return d};
268
- k.zf=function(a){if(0>a||this.a.length<=a)return null;var b;0===a?b=0:(b=this.a[a-1],b=b[b.length-1]);a=this.a[a].slice();var c=a[a.length-1];if(0!==b){var d,e;d=0;for(e=a.length;d<e;++d)a[d]-=b}d=new E(null);Xc(d,this.O,this.j.slice(b,c),a);return d};k.Qc=function(){var a=this.O,b=this.j,c=this.a,d=[],e=0,f,g,h,l;f=0;for(g=c.length;f<g;++f){var m=c[f].slice(),n=m[m.length-1];if(0!==e)for(h=0,l=m.length;h<l;++h)m[h]-=e;h=new E(null);Xc(h,a,b.slice(e,n),m);d.push(h);e=n}return d};k.N=function(){return"MultiPolygon"};
269
- k.oa=function(a){a:{var b=lh(this),c=this.a,d=this.s,e=0,f,g;f=0;for(g=c.length;f<g;++f){var h=c[f];if(Sc(b,e,h,d,a)){a=!0;break a}e=h[h.length-1]}a=!1}return a};k.W=function(a,b){if(a){xc(this,b,a,3);this.j||(this.j=[]);var c=this.j,d=this.s,e=this.a,f=0,e=e?e:[],g=0,h,l;h=0;for(l=a.length;h<l;++h)f=Hc(c,f,a[h],d,e[g]),e[g++]=f,f=f[f.length-1];e.length=g;0===e.length?this.j.length=0:(c=e[e.length-1],this.j.length=0===c.length?0:c[c.length-1]);this.v()}else mj(this,"XY",null,this.a)};
270
- function mj(a,b,c,d){wc(a,b,c);a.a=d;a.v()};function S(a){A.call(this);this.ea=a?a:null;nj(this)}x(S,A);function oj(a){var b=[],c,d;c=0;for(d=a.length;c<d;++c)b.push(a[c].clone());return b}function pj(a){var b,c;if(a.ea)for(b=0,c=a.ea.length;b<c;++b)Ja(a.ea[b],"change",a.v,a)}function nj(a){var b,c;if(a.ea)for(b=0,c=a.ea.length;b<c;++b)z(a.ea[b],"change",a.v,a)}k=S.prototype;k.clone=function(){var a=new S(null);a.je(this.ea);return a};
271
- k.za=function(a,b,c,d){if(d<tb(this.D(),a,b))return d;var e=this.ea,f,g;f=0;for(g=e.length;f<g;++f)d=e[f].za(a,b,c,d);return d};k.gb=function(a,b){var c=this.ea,d,e;d=0;for(e=c.length;d<e;++d)if(c[d].gb(a,b))return!0;return!1};k.Pb=function(a){zb(a);for(var b=this.ea,c=0,d=b.length;c<d;++c)Bb(a,b[c].D());return a};k.Lc=function(){return oj(this.ea)};
272
- k.Ub=function(a){this.l!=this.c&&(za(this.f),this.g=0,this.l=this.c);if(0>a||0!==this.g&&a<this.g)return this;var b=a.toString();if(this.f.hasOwnProperty(b))return this.f[b];var c=[],d=this.ea,e=!1,f,g;f=0;for(g=d.length;f<g;++f){var h=d[f],l=h.Ub(a);c.push(l);l!==h&&(e=!0)}if(e)return a=new S(null),pj(a),a.ea=c,nj(a),a.v(),this.f[b]=a;this.g=a;return this};k.N=function(){return"GeometryCollection"};k.oa=function(a){var b=this.ea,c,d;c=0;for(d=b.length;c<d;++c)if(b[c].oa(a))return!0;return!1};
273
- k.rotate=function(a,b){for(var c=this.ea,d=0,e=c.length;d<e;++d)c[d].rotate(a,b);this.v()};k.scale=function(a,b,c){c||(c=Mb(this.D()));for(var d=this.ea,e=0,f=d.length;e<f;++e)d[e].scale(a,b,c);this.v()};k.je=function(a){a=oj(a);pj(this);this.ea=a;nj(this);this.v()};k.ib=function(a){var b=this.ea,c,d;c=0;for(d=b.length;c<d;++c)b[c].ib(a);this.v()};k.translate=function(a,b){var c=this.ea,d,e;d=0;for(e=c.length;d<e;++d)c[d].translate(a,b);this.v()};k.ma=function(){pj(this);A.prototype.ma.call(this)};function qj(a){a=a?a:{};this.defaultDataProjection=null;this.defaultDataProjection=$b(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326");this.c=a.geometryName}x(qj,cj);function fj(a,b){return a?bj((0,rj[a.type])(a),!1,b):null}function sj(a,b){return(0,tj[a.N()])(bj(a,!0,b),b)}
274
- var rj={Point:function(a){return new D(a.coordinates)},LineString:function(a){return new N(a.coordinates)},Polygon:function(a){return new E(a.coordinates)},MultiPoint:function(a){return new Q(a.coordinates)},MultiLineString:function(a){return new O(a.coordinates)},MultiPolygon:function(a){return new R(a.coordinates)},GeometryCollection:function(a,b){var c=a.geometries.map(function(a){return fj(a,b)});return new S(c)}},tj={Point:function(a){return{type:"Point",coordinates:a.ia()}},LineString:function(a){return{type:"LineString",
275
- coordinates:a.ia()}},Polygon:function(a,b){var c;b&&(c=b.rightHanded);return{type:"Polygon",coordinates:a.ia(c)}},MultiPoint:function(a){return{type:"MultiPoint",coordinates:a.ia()}},MultiLineString:function(a){return{type:"MultiLineString",coordinates:a.ia()}},MultiPolygon:function(a,b){var c;b&&(c=b.rightHanded);return{type:"MultiPolygon",coordinates:a.ia(c)}},GeometryCollection:function(a,b){return{type:"GeometryCollection",geometries:a.ea.map(function(a){var d=ya({},b);delete d.featureProjection;
276
- return sj(a,d)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};function ej(a,b,c){c=fj(b.geometry,c);var d=new L;a.c&&d.nc(a.c);d.Ba(c);void 0!==b.id&&d.pd(b.id);b.properties&&d.R(b.properties);return d}qj.prototype.b=function(a,b){b=aj(this,b);var c={type:"Feature"},d=a.Fa;void 0!==d&&(c.id=d);(d=a.L())?c.geometry=sj(d,b):c.geometry=null;d=a.V();delete d[a.a];Ca(d)?c.properties=null:c.properties=d;return c};
277
- qj.prototype.a=function(a,b){b=aj(this,b);var c=[],d,e;d=0;for(e=a.length;d<e;++d)c.push(this.b(a[d],b));return{type:"FeatureCollection",features:c}};qj.prototype.f=function(a,b){return sj(a,aj(this,b))};function uj(){this.c=new XMLSerializer;this.defaultDataProjection=null}x(uj,Zi);k=uj.prototype;k.N=function(){return"xml"};k.Lb=function(a,b){if(Ji(a))return vj(this,a,b);if(Ki(a)){var c;c=0<=T.indexOf(a.namespaceURI)?(c=this.ld(a,[$i(this,a,b)]))?c:null:null;return c}return"string"===typeof a?(c=Li(a),vj(this,c,b)):null};function vj(a,b,c){a=wj(a,b,c);return 0<a.length?a[0]:null}
278
- k.sb=function(a,b){if(Ji(a))return wj(this,a,b);if(Ki(a))return xj(this,a,b);if("string"===typeof a){var c=Li(a);return wj(this,c,b)}return[]};function wj(a,b,c){var d=[];for(b=b.firstChild;b;b=b.nextSibling)b.nodeType==Node.ELEMENT_NODE&&$a(d,xj(a,b,c));return d}k.mc=function(a,b){if(Ji(a))return this.i(a,b);if(Ki(a))return this.o(a,b);if("string"===typeof a){var c=Li(a);return this.i(c,b)}return null};
279
- k.tb=function(a){return Ji(a)||Ki(a)?this.defaultDataProjection:"string"===typeof a?(Li(a),this.defaultDataProjection):null};k.qc=function(a,b){var c=this.u(a,b);return this.c.serializeToString(c)};k.Ob=function(a,b){var c=this.a(a,b);return this.c.serializeToString(c)};k.rc=function(a,b){var c=this.A(a,b);return this.c.serializeToString(c)};function yj(a){a=Hi(a);a=(a=/^\s*(true|1)|(false|0)\s*$/.exec(a))?void 0!==a[1]||!1:void 0;return a}function zj(a){a=Hi(a);a=(a=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(a))?parseFloat(a[1]):void 0;return a}function Aj(a){return Hi(a).trim()}function Bj(a,b){Cj(a,b?"1":"0")}function Dj(a,b){a.appendChild(Gi.createTextNode(b.toPrecision()))}function Cj(a,b){a.appendChild(Gi.createTextNode(b))};function Ej(){this.defaultDataProjection=null}x(Ej,Zi);function Fj(a){return"string"===typeof a?a:""}k=Ej.prototype;k.N=function(){return"text"};k.Lb=function(a,b){var c;if(c=Gj(Fj(a),aj(this,b))){var d=new L;d.Ba(c);c=d}else c=null;return c};k.sb=function(a,b){var c=[],d=Gj(Fj(a),aj(this,b));this.b&&"GeometryCollection"==d.N()?c=d.ea:c=[d];for(var e=[],f=0,g=c.length;f<g;++f)d=new L,d.Ba(c[f]),e.push(d);return e};k.mc=function(a,b){return Gj(Fj(a),aj(this,b))};k.tb=function(){return this.defaultDataProjection};
280
- k.qc=function(a,b){return Hj(a,aj(this,b))};k.Ob=function(a,b){var c;c=aj(this,b);if(1==a.length)c=Hj(a[0],c);else{for(var d=[],e=0,f=a.length;e<f;++e)d.push(a[e].L());d=new S(d);c=Ij(bj(d,!0,c))}return c};k.rc=function(a,b){return Ij(bj(a,!0,aj(this,b)))};function Jj(a,b,c,d,e,f){Oa.call(this);this.B=null;this.c=a?a:new Image;null!==d&&(this.c.crossOrigin=d);this.g=f?document.createElement("CANVAS"):null;this.l=f;this.i=null;this.f=e;this.a=c;this.o=b;this.u=!1;2==this.f&&Kj(this)}x(Jj,Oa);function Kj(a){var b=Ud(1,1);try{b.drawImage(a.c,0,0),b.getImageData(0,0,1,1)}catch(c){a.u=!0}}Jj.prototype.A=function(){this.f=3;this.i.forEach(Ea);this.i=null;this.b("change")};
281
- Jj.prototype.C=function(){this.f=2;this.a&&(this.c.width=this.a[0],this.c.height=this.a[1]);this.a=[this.c.width,this.c.height];this.i.forEach(Ea);this.i=null;Kj(this);if(!this.u&&null!==this.l){this.g.width=this.c.width;this.g.height=this.c.height;var a=this.g.getContext("2d");a.drawImage(this.c,0,0);for(var b=a.getImageData(0,0,this.c.width,this.c.height),c=b.data,d=this.l[0]/255,e=this.l[1]/255,f=this.l[2]/255,g=0,h=c.length;g<h;g+=4)c[g]*=d,c[g+1]*=e,c[g+2]*=f;a.putImageData(b,0,0)}this.b("change")};
282
- Jj.prototype.load=function(){if(0==this.f){this.f=1;this.i=[z(this.c,"error",this.A,this,!0),z(this.c,"load",this.C,this,!0)];try{this.c.src=this.o}catch(a){this.A()}}};function Lj(a){a=a||{};this.f=void 0!==a.anchor?a.anchor:[.5,.5];this.l=null;this.c=void 0!==a.anchorOrigin?a.anchorOrigin:Mj;this.C=void 0!==a.anchorXUnits?a.anchorXUnits:Nj;this.F=void 0!==a.anchorYUnits?a.anchorYUnits:Nj;this.G=void 0!==a.crossOrigin?a.crossOrigin:null;var b=void 0!==a.img?a.img:null,c=void 0!==a.imgSize?a.imgSize:null,d=a.src;ha(!(void 0!==d&&b),4);ha(!b||b&&c,5);void 0!==d&&0!==d.length||!b||(d=b.src||ea(b).toString());ha(void 0!==d&&0<d.length,6);var e=void 0!==a.src?0:2,f;
283
- void 0!==a.color?(f=a.color,f=Array.isArray(f)?f:Sd(f)):f=null;this.i=f;f=this.G;var g=this.i,h=yg.get(d,f,g);h||(h=new Jj(b,d,c,f,e,g),yg.set(d,f,g,h));this.b=h;this.ca=void 0!==a.offset?a.offset:[0,0];this.a=void 0!==a.offsetOrigin?a.offsetOrigin:Mj;this.B=null;this.I=void 0!==a.size?a.size:null;Pg.call(this,{opacity:void 0!==a.opacity?a.opacity:1,rotation:void 0!==a.rotation?a.rotation:0,scale:void 0!==a.scale?a.scale:1,snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0,rotateWithView:void 0!==
284
- a.rotateWithView?a.rotateWithView:!1})}x(Lj,Pg);k=Lj.prototype;
285
- k.clone=function(){var a=this.Va(1),b;if(2===this.b.f)if("IMG"===a.tagName.toUpperCase())b=a.cloneNode(!0);else{b=document.createElement("canvas");var c=b.getContext("2d");b.width=a.width;b.height=a.height;c.drawImage(a,0,0)}return new Lj({anchor:this.f.slice(),anchorOrigin:this.c,anchorXUnits:this.C,anchorYUnits:this.F,crossOrigin:this.G,color:this.i&&this.i.slice?this.i.slice():this.i||void 0,img:b?b:void 0,imgSize:b?this.b.a.slice():void 0,src:b?void 0:this.b.o,offset:this.ca.slice(),offsetOrigin:this.a,
286
- size:null!==this.I?this.I.slice():void 0,opacity:this.o,scale:this.g,snapToPixel:this.A,rotation:this.u,rotateWithView:this.T})};k.ab=function(){if(this.l)return this.l;var a=this.f,b=this.Oa();if(this.C==Nj||this.F==Nj){if(!b)return null;a=this.f.slice();this.C==Nj&&(a[0]*=b[0]);this.F==Nj&&(a[1]*=b[1])}if(this.c!=Mj){if(!b)return null;a===this.f&&(a=this.f.slice());if(this.c==Oj||this.c==Pj)a[0]=-a[0]+b[0];if(this.c==Qj||this.c==Pj)a[1]=-a[1]+b[1]}return this.l=a};
287
- k.Va=function(){var a=this.b;return a.g?a.g:a.c};k.Sb=function(){return this.b.a};k.Kb=function(){return this.b.f};k.ed=function(){var a=this.b;if(!a.B)if(a.u){var b=a.a[0],c=a.a[1],d=Ud(b,c);d.fillRect(0,0,b,c);a.B=d.canvas}else a.B=a.c;return a.B};k.hb=function(){if(this.B)return this.B;var a=this.ca;if(this.a!=Mj){var b=this.Oa(),c=this.b.a;if(!b||!c)return null;a=a.slice();if(this.a==Oj||this.a==Pj)a[0]=c[0]-b[0]-a[0];if(this.a==Qj||this.a==Pj)a[1]=c[1]-b[1]-a[1]}return this.B=a};k.Ug=function(){return this.b.o};
288
- k.Oa=function(){return this.I?this.I:this.b.a};k.Vc=function(a,b){return z(this.b,"change",a,b)};k.load=function(){this.b.load()};k.vd=function(a,b){Ja(this.b,"change",a,b)};var Nj="fraction",Qj="bottom-left",Pj="bottom-right",Mj="top-left",Oj="top-right";function W(a){a=a||{};this.a=a.font;this.l=a.rotation;this.u=a.rotateWithView;this.c=a.scale;this.A=a.text;this.B=a.textAlign;this.o=a.textBaseline;this.b=void 0!==a.fill?a.fill:new Ug({color:"#333"});this.f=void 0!==a.stroke?a.stroke:null;this.g=void 0!==a.offsetX?a.offsetX:0;this.i=void 0!==a.offsetY?a.offsetY:0}k=W.prototype;
289
- k.clone=function(){return new W({font:this.a,rotation:this.l,rotateWithView:this.u,scale:this.c,text:this.ka(),textAlign:this.B,textBaseline:this.o,fill:this.b?this.b.clone():void 0,stroke:this.f?this.f.clone():void 0,offsetX:this.g,offsetY:this.i})};k.ef=function(){return this.a};k.tf=function(){return this.g};k.uf=function(){return this.i};k.jh=function(){return this.b};k.kh=function(){return this.u};k.lh=function(){return this.l};k.mh=function(){return this.c};k.nh=function(){return this.f};
290
- k.ka=function(){return this.A};k.Bf=function(){return this.B};k.Cf=function(){return this.o};k.ie=function(a){this.a=a};k.le=function(a){this.g=a};k.me=function(a){this.i=a};k.he=function(a){this.b=a};k.oh=function(a){this.l=a};k.ae=function(a){this.c=a};k.ne=function(a){this.f=a};k.oe=function(a){this.A=a};k.pe=function(a){this.B=a};k.Xh=function(a){this.o=a};function Rj(a){a=a?a:{};uj.call(this);this.defaultDataProjection=$b("EPSG:4326");var b;a.defaultStyle?b=a.defaultStyle:(b=Sj)||(Tj=[255,255,255,1],Uj=new Ug({color:Tj}),Vj=[20,2],Wj=Xj="pixels",Yj=[64,64],Zj="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png",ak=.5,bk=new Lj({anchor:Vj,anchorOrigin:Qj,anchorXUnits:Xj,anchorYUnits:Wj,crossOrigin:"anonymous",rotation:0,scale:ak,size:Yj,src:Zj}),ck="NO_IMAGE",dk=new Vg({color:Tj,width:1}),ek=new Vg({color:[51,51,51,1],width:2}),fk=new W({font:"bold 16px Helvetica",
291
- fill:Uj,stroke:ek,scale:.8}),gk=new Wg({fill:Uj,image:bk,text:fk,stroke:dk,zIndex:0}),b=Sj=[gk]);this.f=b;this.g=void 0!==a.extractStyles?a.extractStyles:!0;this.B=void 0!==a.writeStyles?a.writeStyles:!0;this.b={};this.l=void 0!==a.showPointNames?a.showPointNames:!0}var Sj,Tj,Uj,Vj,Xj,Wj,Yj,Zj,ak,bk,ck,dk,ek,fk,gk;x(Rj,uj);
292
- var hk=["http://www.google.com/kml/ext/2.2"],T=[null,"http://earth.google.com/kml/2.0","http://earth.google.com/kml/2.1","http://earth.google.com/kml/2.2","http://www.opengis.net/kml/2.2"],ik={fraction:Nj,pixels:"pixels"};
293
- function jk(a,b){var c,d=[0,0],e="start";if(a.c){c=a.c.Sb();null===c&&(c=Yj);var f=a.c.g;isNaN(f)&&(f=ak);2==c.length&&(d[0]=f*c[0]/2,d[1]=-f*c[1]/2,e="left")}null!==a.ka()?(f=a.ka(),c=f.clone(),c.ie(f.a||fk.a),c.ae(f.c||fk.c),c.he(f.b||fk.b),c.ne(f.f||ek)):c=fk.clone();c.oe(b);c.le(d[0]);c.me(d[1]);c.pe(e);return new Wg({text:c})}
294
- function kk(a,b,c,d,e){return function(){var f=e,g="";f&&this.L()&&(f="Point"===this.L().N());f&&(g=this.get("name"),f=f&&g);if(a)return f?(f=jk(a[0],g),a.concat(f)):a;if(b){var h=lk(b,c,d);return f?(f=jk(h[0],g),h.concat(f)):h}return f?(f=jk(c[0],g),c.concat(f)):c}}function lk(a,b,c){return Array.isArray(a)?a:"string"===typeof a?(!(a in c)&&"#"+a in c&&(a="#"+a),lk(c[a],b,c)):b}
295
- function mk(a){a=Hi(a);if(a=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(a))return a=a[1],[parseInt(a.substr(6,2),16),parseInt(a.substr(4,2),16),parseInt(a.substr(2,2),16),parseInt(a.substr(0,2),16)/255]}function nk(a){a=Hi(a);for(var b=[],c=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i,d;d=c.exec(a);)b.push(parseFloat(d[1]),parseFloat(d[2]),d[3]?parseFloat(d[3]):0),a=a.substr(d[0].length);return""!==a?void 0:b}
296
- function ok(a){var b=Hi(a).trim();return a.baseURI?(new URL(b,a.baseURI)).href:b}function pk(a){return zj(a)}function qk(a,b){return Vi(null,rk,a,b)}function sk(a,b){var c=Vi({j:[],ue:[]},tk,a,b);if(c){var d=c.j,c=c.ue,e,f;e=0;for(f=Math.min(d.length,c.length);e<f;++e)d[4*e+3]=c[e];c=new N(null);jj(c,"XYZM",d);return c}}function uk(a,b){var c=Vi({},vk,a,b),d=Vi(null,wk,a,b);if(d){var e=new N(null);jj(e,"XYZ",d);e.R(c);return e}}
297
- function xk(a,b){var c=Vi({},vk,a,b),d=Vi(null,wk,a,b);if(d){var e=new E(null);Xc(e,"XYZ",d,[d.length]);e.R(c);return e}}
298
- function yk(a,b){var c=Vi([],zk,a,b);if(!c)return null;if(0===c.length)return new S(c);var d,e=!0,f=c[0].N(),g,h,l;h=1;for(l=c.length;h<l;++h)if(g=c[h],g.N()!=f){e=!1;break}if(e)if("Point"==f){d=c[0];e=d.O;f=d.j;h=1;for(l=c.length;h<l;++h)g=c[h],$a(f,g.j);g=d=new Q(null);wc(g,e,f);g.v();Ak(d,c)}else if("LineString"==f)d=new O(null),lj(d,c),Ak(d,c);else if("Polygon"==f){g=d=new R(null);h=g.O;l=[];var e=[],m,n,f=0;for(m=c.length;f<m;++f){var p=c[f];0===f&&(h=p.O);var q=l.length;n=p.U;var t,u;t=0;for(u=
299
- n.length;t<u;++t)n[t]+=q;$a(l,p.j);e.push(n)}mj(g,h,l,e);Ak(d,c)}else"GeometryCollection"==f?d=new S(c):ha(!1,37);else d=new S(c);return d}function Bk(a,b){var c=Vi({},vk,a,b),d=Vi(null,wk,a,b);if(d){var e=new D(null);wc(e,"XYZ",d);e.v();e.R(c);return e}}function Ck(a,b){var c=Vi({},vk,a,b),d=Vi([null],Dk,a,b);if(d&&d[0]){var e=new E(null),f=d[0],g=[f.length],h,l;h=1;for(l=d.length;h<l;++h)$a(f,d[h]),g.push(f.length);Xc(e,"XYZ",f,g);e.R(c);return e}}
300
- function Ek(a,b){var c=Vi({},Fk,a,b);if(!c)return null;var d="fillStyle"in c?c.fillStyle:Uj,e=c.fill;void 0===e||e||(d=null);e="imageStyle"in c?c.imageStyle:bk;e==ck&&(e=void 0);var f="textStyle"in c?c.textStyle:fk,g="strokeStyle"in c?c.strokeStyle:dk,c=c.outline;void 0===c||c||(g=null);return[new Wg({fill:d,image:e,stroke:g,text:f,zIndex:void 0})]}
301
- function Ak(a,b){var c=b.length,d=Array(b.length),e=Array(b.length),f,g,h,l;h=l=!1;for(g=0;g<c;++g)f=b[g],d[g]=f.get("extrude"),e[g]=f.get("altitudeMode"),h=h||void 0!==d[g],l=l||e[g];h&&a.set("extrude",d);l&&a.set("altitudeMode",e)}function Gk(a,b){Ui(Hk,a,b)}
302
- var Ik=M(T,{value:Oi(Aj)}),Hk=M(T,{Data:function(a,b){var c=a.getAttribute("name");if(null!==c){var d=Vi(void 0,Ik,a,b);d&&(b[b.length-1][c]=d)}},SchemaData:function(a,b){Ui(Jk,a,b)}}),vk=M(T,{extrude:Pi(yj),altitudeMode:Pi(Aj)}),rk=M(T,{coordinates:Oi(nk)}),Dk=M(T,{innerBoundaryIs:function(a,b){var c=Vi(void 0,Kk,a,b);c&&b[b.length-1].push(c)},outerBoundaryIs:function(a,b){var c=Vi(void 0,Lk,a,b);c&&(b[b.length-1][0]=c)}}),tk=M(T,{when:function(a,b){var c=b[b.length-1].ue,d=Hi(a),d=Date.parse(d);
303
- c.push(isNaN(d)?0:d)}},M(hk,{coord:function(a,b){var c=b[b.length-1].j,d=Hi(a);(d=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(d))?c.push(parseFloat(d[1]),parseFloat(d[2]),parseFloat(d[3]),0):c.push(0,0,0,0)}})),wk=M(T,{coordinates:Oi(nk)}),Mk=M(T,{href:Pi(ok)},M(hk,{x:Pi(zj),y:Pi(zj),w:Pi(zj),h:Pi(zj)})),Nk=M(T,{Icon:Pi(function(a,b){var c=Vi({},Mk,a,b);return c?c:null}),heading:Pi(zj),hotSpot:Pi(function(a){var b=
304
- a.getAttribute("xunits"),c=a.getAttribute("yunits");return{x:parseFloat(a.getAttribute("x")),xd:ik[b],y:parseFloat(a.getAttribute("y")),yd:ik[c]}}),scale:Pi(pk)}),Kk=M(T,{LinearRing:Oi(qk)}),Ok=M(T,{color:Pi(mk),scale:Pi(pk)}),Pk=M(T,{color:Pi(mk),width:Pi(zj)}),zk=M(T,{LineString:Ni(uk),LinearRing:Ni(xk),MultiGeometry:Ni(yk),Point:Ni(Bk),Polygon:Ni(Ck)}),Qk=M(hk,{Track:Ni(sk)}),Sk=M(T,{ExtendedData:Gk,Link:function(a,b){Ui(Rk,a,b)},address:Pi(Aj),description:Pi(Aj),name:Pi(Aj),open:Pi(yj),phoneNumber:Pi(Aj),
305
- visibility:Pi(yj)}),Rk=M(T,{href:Pi(ok)}),Lk=M(T,{LinearRing:Oi(qk)}),Tk=M(T,{Style:Pi(Ek),key:Pi(Aj),styleUrl:Pi(ok)}),Vk=M(T,{ExtendedData:Gk,MultiGeometry:Pi(yk,"geometry"),LineString:Pi(uk,"geometry"),LinearRing:Pi(xk,"geometry"),Point:Pi(Bk,"geometry"),Polygon:Pi(Ck,"geometry"),Style:Pi(Ek),StyleMap:function(a,b){var c=Vi(void 0,Uk,a,b);if(c){var d=b[b.length-1];Array.isArray(c)?d.Style=c:"string"===typeof c?d.styleUrl=c:ha(!1,38)}},address:Pi(Aj),description:Pi(Aj),name:Pi(Aj),open:Pi(yj),phoneNumber:Pi(Aj),
306
- styleUrl:Pi(ok),visibility:Pi(yj)},M(hk,{MultiTrack:Pi(function(a,b){var c=Vi([],Qk,a,b);if(c){var d=new O(null);lj(d,c);return d}},"geometry"),Track:Pi(sk,"geometry")})),Wk=M(T,{color:Pi(mk),fill:Pi(yj),outline:Pi(yj)}),Jk=M(T,{SimpleData:function(a,b){var c=a.getAttribute("name");if(null!==c){var d=Aj(a);b[b.length-1][c]=d}}}),Fk=M(T,{IconStyle:function(a,b){var c=Vi({},Nk,a,b);if(c){var d=b[b.length-1],e="Icon"in c?c.Icon:{},f=!("Icon"in c)||0<Object.keys(e).length,g,h=e.href;h?g=h:f&&(g=Zj);var l,
307
- m,n;(h=c.hotSpot)?(l=[h.x,h.y],m=h.xd,n=h.yd):g===Zj?(l=Vj,m=Xj,n=Wj):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(g)&&(l=[.5,0],n=m=Nj);var p,h=e.x,q=e.y;void 0!==h&&void 0!==q&&(p=[h,q]);var t,h=e.w,e=e.h;void 0!==h&&void 0!==e&&(t=[h,e]);var u,e=c.heading;void 0!==e&&(u=e*Math.PI/180);c=c.scale;c=isNaN(c)||void 0===c?ak:c*ak;f?(g==Zj&&(t=Yj,void 0===c&&(c=ak)),f=new Lj({anchor:l,anchorOrigin:Qj,anchorXUnits:m,anchorYUnits:n,crossOrigin:"anonymous",offset:p,offsetOrigin:Qj,rotation:u,scale:c,
308
- size:t,src:g}),d.imageStyle=f):d.imageStyle=ck}},LabelStyle:function(a,b){var c=Vi({},Ok,a,b);c&&(b[b.length-1].textStyle=new W({fill:new Ug({color:"color"in c?c.color:Tj}),scale:c.scale}))},LineStyle:function(a,b){var c=Vi({},Pk,a,b);c&&(b[b.length-1].strokeStyle=new Vg({color:"color"in c?c.color:Tj,width:"width"in c?c.width:1}))},PolyStyle:function(a,b){var c=Vi({},Wk,a,b);if(c){var d=b[b.length-1];d.fillStyle=new Ug({color:"color"in c?c.color:Tj});var e=c.fill;void 0!==e&&(d.fill=e);c=c.outline;
309
- void 0!==c&&(d.outline=c)}}}),Uk=M(T,{Pair:function(a,b){var c=Vi({},Tk,a,b);if(c){var d=c.key;d&&"normal"==d&&((d=c.styleUrl)&&(b[b.length-1]=d),(c=c.Style)&&(b[b.length-1]=c))}}});k=Rj.prototype;k.kd=function(a,b){var c=M(T,{Document:Mi(this.kd,this),Folder:Mi(this.kd,this),Placemark:Ni(this.ld,this),Style:this.Eh.bind(this),StyleMap:this.Dh.bind(this)});if(c=Vi([],c,a,b,this))return c};
310
- k.ld=function(a,b){var c=Vi({geometry:null},Vk,a,b);if(c){var d=new L,e=a.getAttribute("id");null!==e&&d.pd(e);var e=b[0],f=c.geometry;f&&bj(f,!1,e);d.Ba(f);delete c.geometry;this.g&&d.Xc(kk(c.Style,c.styleUrl,this.f,this.b,this.l));delete c.Style;d.R(c);return d}};k.Eh=function(a,b){var c=a.getAttribute("id");if(null!==c){var d=Ek(a,b);d&&(c=a.baseURI?(new URL("#"+c,a.baseURI)).href:"#"+c,this.b[c]=d)}};
311
- k.Dh=function(a,b){var c=a.getAttribute("id");if(null!==c){var d=Vi(void 0,Uk,a,b);d&&(c=a.baseURI?(new URL("#"+c,a.baseURI)).href:"#"+c,this.b[c]=d)}};function xj(a,b,c){if(!(0<=T.indexOf(b.namespaceURI)))return[];var d;d=b.localName;if("Document"==d||"Folder"==d)return(d=a.kd(b,[$i(a,b,c)]))?d:[];if("Placemark"==d)return(a=a.ld(b,[$i(a,b,c)]))?[a]:[];if("kml"==d){d=[];for(b=b.firstElementChild;b;b=b.nextElementSibling){var e=xj(a,b,c);e&&$a(d,e)}return d}return[]}
312
- k.Bh=function(a){if(Ji(a))return Xk(this,a);if(Ki(a))return Yk(this,a);if("string"===typeof a)return a=Li(a),Xk(this,a)};function Xk(a,b){var c;for(c=b.firstChild;c;c=c.nextSibling)if(c.nodeType==Node.ELEMENT_NODE){var d=Yk(a,c);if(d)return d}}
313
- function Yk(a,b){var c;for(c=b.firstElementChild;c;c=c.nextElementSibling)if(0<=T.indexOf(c.namespaceURI)&&"name"==c.localName)return Aj(c);for(c=b.firstElementChild;c;c=c.nextElementSibling){var d=c.localName;if(0<=T.indexOf(c.namespaceURI)&&("Document"==d||"Folder"==d||"Placemark"==d||"kml"==d)&&(d=Yk(a,c)))return d}}k.Ch=function(a){var b=[];Ji(a)?$a(b,Zk(this,a)):Ki(a)?$a(b,$k(this,a)):"string"===typeof a&&(a=Li(a),$a(b,Zk(this,a)));return b};
314
- function Zk(a,b){var c,d=[];for(c=b.firstChild;c;c=c.nextSibling)c.nodeType==Node.ELEMENT_NODE&&$a(d,$k(a,c));return d}function $k(a,b){var c,d=[];for(c=b.firstElementChild;c;c=c.nextElementSibling)if(0<=T.indexOf(c.namespaceURI)&&"NetworkLink"==c.localName){var e=Vi({},Sk,c,[]);d.push(e)}for(c=b.firstElementChild;c;c=c.nextElementSibling)e=c.localName,!(0<=T.indexOf(c.namespaceURI))||"Document"!=e&&"Folder"!=e&&"kml"!=e||$a(d,$k(a,c));return d}
315
- function al(a,b){var c=Array.isArray(b)?b:Sd(b),c=[255*(4==c.length?c[3]:1),c[2],c[1],c[0]],d;for(d=0;4>d;++d){var e=parseInt(c[d],10).toString(16);c[d]=1==e.length?"0"+e:e}Cj(a,c.join(""))}function bl(a,b,c){a={node:a};var d=b.N(),e,f;"GeometryCollection"==d?(e=b.Lc(),f=cl):"MultiPoint"==d?(e=b.$c(),f=dl):"MultiLineString"==d?(e=b.Nc(),f=el):"MultiPolygon"==d?(e=b.Qc(),f=fl):ha(!1,39);Wi(a,gl,f,e,c)}function hl(a,b,c){Wi({node:a},il,jl,[b],c)}
316
- function kl(a,b,c){var d={node:a};b.Fa&&a.setAttribute("id",b.Fa);a=b.V();var e=b.g;e&&(e=e.call(b,0))&&(e=Array.isArray(e)?e[0]:e,this.B&&(a.Style=e),(e=e.ka())&&(a.name=e.ka()));e=ll[c[c.length-1].node.namespaceURI];a=Ti(a,e);Wi(d,ml,Si,a,c,e);a=c[0];(b=b.L())&&(b=bj(b,!0,a));Wi(d,ml,cl,[b],c)}function nl(a,b,c){var d=b.j;a={node:a};a.layout=b.O;a.stride=b.s;Wi(a,pl,ql,[d],c)}function rl(a,b,c){b=b.Oc();var d=b.shift();a={node:a};Wi(a,sl,tl,b,c);Wi(a,sl,ul,[d],c)}
317
- function vl(a,b){Dj(a,Math.round(b*b*1E6)/1E6)}
318
- var wl=M(T,["Document","Placemark"]),zl=M(T,{Document:Qi(function(a,b,c){Wi({node:a},xl,yl,b,c,void 0,this)}),Placemark:Qi(kl)}),xl=M(T,{Placemark:Qi(kl)}),Al={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},Bl=M(T,["href"],M(hk,["x","y","w","h"])),Cl=M(T,{href:Qi(Cj)},M(hk,{x:Qi(Dj),y:Qi(Dj),w:Qi(Dj),h:Qi(Dj)})),Dl=M(T,["scale","heading","Icon",
319
- "hotSpot"]),Fl=M(T,{Icon:Qi(function(a,b,c){a={node:a};var d=Bl[c[c.length-1].node.namespaceURI],e=Ti(b,d);Wi(a,Cl,Si,e,c,d);d=Bl[hk[0]];e=Ti(b,d);Wi(a,Cl,El,e,c,d)}),heading:Qi(Dj),hotSpot:Qi(function(a,b){a.setAttribute("x",b.x);a.setAttribute("y",b.y);a.setAttribute("xunits",b.xd);a.setAttribute("yunits",b.yd)}),scale:Qi(vl)}),Gl=M(T,["color","scale"]),Hl=M(T,{color:Qi(al),scale:Qi(vl)}),Il=M(T,["color","width"]),Jl=M(T,{color:Qi(al),width:Qi(Dj)}),il=M(T,{LinearRing:Qi(nl)}),gl=M(T,{LineString:Qi(nl),
320
- Point:Qi(nl),Polygon:Qi(rl),GeometryCollection:Qi(bl)}),ll=M(T,"name open visibility address phoneNumber description styleUrl Style".split(" ")),ml=M(T,{MultiGeometry:Qi(bl),LineString:Qi(nl),LinearRing:Qi(nl),Point:Qi(nl),Polygon:Qi(rl),Style:Qi(function(a,b,c){a={node:a};var d={},e=b.f,f=b.a,g=b.c;b=b.ka();g instanceof Lj&&(d.IconStyle=g);b&&(d.LabelStyle=b);f&&(d.LineStyle=f);e&&(d.PolyStyle=e);b=Kl[c[c.length-1].node.namespaceURI];d=Ti(d,b);Wi(a,Ll,Si,d,c,b)}),address:Qi(Cj),description:Qi(Cj),
321
- name:Qi(Cj),open:Qi(Bj),phoneNumber:Qi(Cj),styleUrl:Qi(Cj),visibility:Qi(Bj)}),pl=M(T,{coordinates:Qi(function(a,b,c){c=c[c.length-1];var d=c.layout;c=c.stride;var e;"XY"==d||"XYM"==d?e=2:"XYZ"==d||"XYZM"==d?e=3:ha(!1,34);var f,g=b.length,h="";if(0<g){h+=b[0];for(d=1;d<e;++d)h+=","+b[d];for(f=c;f<g;f+=c)for(h+=" "+b[f],d=1;d<e;++d)h+=","+b[f+d]}Cj(a,h)})}),sl=M(T,{outerBoundaryIs:Qi(hl),innerBoundaryIs:Qi(hl)}),Ml=M(T,{color:Qi(al)}),Kl=M(T,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),Ll=M(T,
322
- {IconStyle:Qi(function(a,b,c){a={node:a};var d={},e=b.Oa(),f=b.Sb(),g={href:b.b.o};if(e){g.w=e[0];g.h=e[1];var h=b.ab(),l=b.hb();l&&f&&0!==l[0]&&l[1]!==e[1]&&(g.x=l[0],g.y=f[1]-(l[1]+e[1]));h&&0!==h[0]&&h[1]!==e[1]&&(d.hotSpot={x:h[0],xd:"pixels",y:e[1]-h[1],yd:"pixels"})}d.Icon=g;e=b.g;1!==e&&(d.scale=e);b=b.u;0!==b&&(d.heading=b);b=Dl[c[c.length-1].node.namespaceURI];d=Ti(d,b);Wi(a,Fl,Si,d,c,b)}),LabelStyle:Qi(function(a,b,c){a={node:a};var d={},e=b.b;e&&(d.color=e.b);(b=b.c)&&1!==b&&(d.scale=b);
323
- b=Gl[c[c.length-1].node.namespaceURI];d=Ti(d,b);Wi(a,Hl,Si,d,c,b)}),LineStyle:Qi(function(a,b,c){a={node:a};var d=Il[c[c.length-1].node.namespaceURI];b=Ti({color:b.c,width:b.f},d);Wi(a,Jl,Si,b,c,d)}),PolyStyle:Qi(function(a,b,c){Wi({node:a},Ml,Nl,[b.b],c)})});function El(a,b,c){return Gi.createElementNS(hk[0],"gx:"+c)}function yl(a,b){return Gi.createElementNS(b[b.length-1].node.namespaceURI,"Placemark")}function cl(a,b){if(a)return Gi.createElementNS(b[b.length-1].node.namespaceURI,Al[a.N()])}
324
- var Nl=Ri("color"),ql=Ri("coordinates"),tl=Ri("innerBoundaryIs"),dl=Ri("Point"),el=Ri("LineString"),jl=Ri("LinearRing"),fl=Ri("Polygon"),ul=Ri("outerBoundaryIs");
325
- Rj.prototype.a=function(a,b){b=aj(this,b);var c=Gi.createElementNS(T[4],"kml");c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",hk[0]);c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance");c.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation","http://www.opengis.net/kml/2.2 https://developers.google.com/kml/schema/kml22gx.xsd");var d={node:c},e={};1<a.length?e.Document=a:1==a.length&&(e.Placemark=a[0]);var f=
326
- wl[c.namespaceURI],e=Ti(e,f);Wi(d,zl,Si,e,[b],f,this);return c};function Ol(a){a=a?a:{};this.defaultDataProjection=null;this.b=void 0!==a.splitCollection?a.splitCollection:!1}x(Ol,Ej);function Pl(a){a=a.ia();return 0===a.length?"":a[0]+" "+a[1]}function Ql(a){a=a.ia();for(var b=[],c=0,d=a.length;c<d;++c)b.push(a[c][0]+" "+a[c][1]);return b.join(",")}function Rl(a){var b=[];a=a.Oc();for(var c=0,d=a.length;c<d;++c)b.push("("+Ql(a[c])+")");return b.join(",")}function Ij(a){var b=a.N();a=(0,Sl[b])(a);b=b.toUpperCase();return 0===a.length?b+" EMPTY":b+"("+a+")"}
327
- var Sl={Point:Pl,LineString:Ql,Polygon:Rl,MultiPoint:function(a){var b=[];a=a.$c();for(var c=0,d=a.length;c<d;++c)b.push("("+Pl(a[c])+")");return b.join(",")},MultiLineString:function(a){var b=[];a=a.Nc();for(var c=0,d=a.length;c<d;++c)b.push("("+Ql(a[c])+")");return b.join(",")},MultiPolygon:function(a){var b=[];a=a.Qc();for(var c=0,d=a.length;c<d;++c)b.push("("+Rl(a[c])+")");return b.join(",")},GeometryCollection:function(a){var b=[];a=a.Lc();for(var c=0,d=a.length;c<d;++c)b.push(Ij(a[c]));return b.join(",")}};
328
- function Gj(a,b){var c;c=new Tl(new Ul(a));c.b=Vl(c.c);return(c=Wl(c))?bj(c,!1,b):null}function Hj(a,b){var c=a.L();return c?Ij(bj(c,!0,b)):""}function Ul(a){this.c=a;this.b=-1}
329
- function Vl(a){var b=a.c.charAt(++a.b),c={position:a.b,value:b};if("("==b)c.type=2;else if(","==b)c.type=5;else if(")"==b)c.type=3;else if("0"<=b&&"9">=b||"."==b||"-"==b){c.type=4;var d,b=a.b,e=!1,f=!1;do{if("."==d)e=!0;else if("e"==d||"E"==d)f=!0;d=a.c.charAt(++a.b)}while("0"<=d&&"9">=d||"."==d&&(void 0===e||!e)||!f&&("e"==d||"E"==d)||f&&("-"==d||"+"==d));a=parseFloat(a.c.substring(b,a.b--));c.value=a}else if("a"<=b&&"z">=b||"A"<=b&&"Z">=b){c.type=1;b=a.b;do d=a.c.charAt(++a.b);while("a"<=d&&"z">=
330
- d||"A"<=d&&"Z">=d);a=a.c.substring(b,a.b--).toUpperCase();c.value=a}else{if(" "==b||"\t"==b||"\r"==b||"\n"==b)return Vl(a);if(""===b)c.type=6;else throw Error("Unexpected character: "+b);}return c}function Tl(a){this.c=a}function Xl(a,b){var c=a.b.type==b;c&&(a.b=Vl(a.c));return c}
331
- function Wl(a){var b=a.b;if(Xl(a,1)){var c=b.value;if("GEOMETRYCOLLECTION"==c){a:{if(Xl(a,2)){b=[];do b.push(Wl(a));while(Xl(a,5));if(Xl(a,3)){a=b;break a}}else if(Yl(a)){a=[];break a}throw Error(Zl(a));}return new S(a)}var d=$l[c],b=am[c];if(!d||!b)throw Error("Invalid geometry type: "+c);a=d.call(a);return new b(a)}throw Error(Zl(a));}k=Tl.prototype;k.hd=function(){if(Xl(this,2)){var a=bm(this);if(Xl(this,3))return a}else if(Yl(this))return null;throw Error(Zl(this));};
332
- k.gd=function(){if(Xl(this,2)){var a=cm(this);if(Xl(this,3))return a}else if(Yl(this))return[];throw Error(Zl(this));};k.jd=function(){if(Xl(this,2)){var a=dm(this);if(Xl(this,3))return a}else if(Yl(this))return[];throw Error(Zl(this));};k.sh=function(){if(Xl(this,2)){var a;if(2==this.b.type)for(a=[this.hd()];Xl(this,5);)a.push(this.hd());else a=cm(this);if(Xl(this,3))return a}else if(Yl(this))return[];throw Error(Zl(this));};
333
- k.rh=function(){if(Xl(this,2)){var a=dm(this);if(Xl(this,3))return a}else if(Yl(this))return[];throw Error(Zl(this));};k.th=function(){if(Xl(this,2)){for(var a=[this.jd()];Xl(this,5);)a.push(this.jd());if(Xl(this,3))return a}else if(Yl(this))return[];throw Error(Zl(this));};function bm(a){for(var b=[],c=0;2>c;++c){var d=a.b;if(Xl(a,4))b.push(d.value);else break}if(2==b.length)return b;throw Error(Zl(a));}function cm(a){for(var b=[bm(a)];Xl(a,5);)b.push(bm(a));return b}
334
- function dm(a){for(var b=[a.gd()];Xl(a,5);)b.push(a.gd());return b}function Yl(a){var b=1==a.b.type&&"EMPTY"==a.b.value;b&&(a.b=Vl(a.c));return b}function Zl(a){return"Unexpected `"+a.b.value+"` at position "+a.b.position+" in `"+a.c.c+"`"}var am={POINT:D,LINESTRING:N,POLYGON:E,MULTIPOINT:Q,MULTILINESTRING:O,MULTIPOLYGON:R},$l={POINT:Tl.prototype.hd,LINESTRING:Tl.prototype.gd,POLYGON:Tl.prototype.jd,MULTIPOINT:Tl.prototype.sh,MULTILINESTRING:Tl.prototype.rh,MULTIPOLYGON:Tl.prototype.th};function X(a,b,c){B.call(this);this.od(a,b?b:0,c)}x(X,B);k=X.prototype;k.clone=function(){var a=new X(null);wc(a,this.O,this.j.slice());a.v();return a};k.za=function(a,b,c,d){var e=this.j;a-=e[0];var f=b-e[1];b=a*a+f*f;if(b<d){if(0===b)for(d=0;d<this.s;++d)c[d]=e[d];else for(d=this.Zc()/Math.sqrt(b),c[0]=e[0]+d*a,c[1]=e[1]+d*f,d=2;d<this.s;++d)c[d]=e[d];c.length=this.s;return b}return d};k.gb=function(a,b){var c=this.j,d=a-c[0],c=b-c[1];return d*d+c*c<=em(this)};
335
- k.Jb=function(){return this.j.slice(0,this.s)};k.Pb=function(a){var b=this.j,c=b[this.s]-b[0];return yb(b[0]-c,b[1]-c,b[0]+c,b[1]+c,a)};k.Zc=function(){return Math.sqrt(em(this))};function em(a){var b=a.j[a.s]-a.j[0];a=a.j[a.s+1]-a.j[1];return b*b+a*a}k.N=function(){return"Circle"};k.oa=function(a){var b=this.D();return Pb(a,b)?(b=this.Jb(),a[0]<=b[0]&&a[2]>=b[0]||a[1]<=b[1]&&a[3]>=b[1]?!0:Db(a,this.ta,this)):!1};
336
- k.Eg=function(a){var b=this.s,c=a.slice();c[b]=c[0]+(this.j[b]-this.j[0]);var d;for(d=1;d<b;++d)c[b+d]=a[d];wc(this,this.O,c);this.v()};k.od=function(a,b,c){if(a){xc(this,c,a,0);this.j||(this.j=[]);c=this.j;a=Fc(c,a);c[a++]=c[0]+b;var d;b=1;for(d=this.s;b<d;++b)c[a++]=c[b];c.length=a}else wc(this,"XY",null);this.v()};k.Fg=function(a){this.j[this.s]=this.j[0]+a;this.v()};function fm(a,b,c,d,e){af.call(this,a,b);this.g=c;this.a=new Image;null!==d&&(this.a.crossOrigin=d);this.f=null;this.i=e}x(fm,af);k=fm.prototype;k.ma=function(){1==this.state&&gm(this);this.c&&La(this.c);this.state=5;bf(this);af.prototype.ma.call(this)};k.bc=function(){return this.a};k.getKey=function(){return this.g};k.wg=function(){this.state=3;gm(this);bf(this)};k.xg=function(){this.state=this.a.naturalWidth&&this.a.naturalHeight?df:4;gm(this);bf(this)};
337
- k.load=function(){if(0==this.state||3==this.state)this.state=1,bf(this),this.f=[z(this.a,"error",this.wg,this,!0),z(this.a,"load",this.xg,this,!0)],this.i(this,this.g)};function gm(a){a.f.forEach(Ea);a.f=null};function hm(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var im;
338
- (function(){var a={},b={Ta:a};(function(c){if("object"===typeof a&&"undefined"!==typeof b)b.Ta=c();else{var d;"undefined"!==typeof window?d=window:"undefined"!==typeof global?d=global:"undefined"!==typeof self?d=self:d=this;d.wi=c()}})(function(){return function d(a,b,g){function h(m,p){if(!b[m]){if(!a[m]){var q="function"==typeof require&&require;if(!p&&q)return q(m,!0);if(l)return l(m,!0);q=Error("Cannot find module '"+m+"'");throw q.code="MODULE_NOT_FOUND",q;}q=b[m]={Ta:{}};a[m][0].call(q.Ta,function(b){var d=
339
- a[m][1][b];return h(d?d:b)},q,q.Ta,d,a,b,g)}return b[m].Ta}for(var l="function"==typeof require&&require,m=0;m<g.length;m++)h(g[m]);return h}({1:[function(a,b){function f(a,b,d,e,q){d=d||0;e=e||a.length-1;for(q=q||h;e>d;){if(600<e-d){var t=e-d+1,u=b-d+1,r=Math.log(t),v=.5*Math.exp(2*r/3),r=.5*Math.sqrt(r*v*(t-v)/t)*(0>u-t/2?-1:1);f(a,b,Math.max(d,Math.floor(b-u*v/t+r)),Math.min(e,Math.floor(b+(t-u)*v/t+r)),q)}t=a[b];u=d;v=e;g(a,d,b);for(0<q(a[e],t)&&g(a,d,e);u<v;){g(a,u,v);u++;for(v--;0>q(a[u],t);)u++;
340
- for(;0<q(a[v],t);)v--}0===q(a[d],t)?g(a,d,v):(v++,g(a,v,e));v<=b&&(d=v+1);b<=v&&(e=v-1)}}function g(a,b,d){var e=a[b];a[b]=a[d];a[d]=e}function h(a,b){return a<b?-1:a>b?1:0}b.Ta=f},{}],2:[function(a,b){function f(a,b){if(!(this instanceof f))return new f(a,b);this.wc=Math.max(4,a||9);this.Dd=Math.max(2,Math.ceil(.4*this.wc));b&&this.Ae(b);this.clear()}function g(a,b){h(a,0,a.children.length,b,a)}function h(a,b,d,e,f){f||(f=r(null));f.H=Infinity;f.M=Infinity;f.J=-Infinity;f.P=-Infinity;for(var g;b<
341
- d;b++)g=a.children[b],l(f,a.ra?e(g):g);return f}function l(a,b){a.H=Math.min(a.H,b.H);a.M=Math.min(a.M,b.M);a.J=Math.max(a.J,b.J);a.P=Math.max(a.P,b.P)}function m(a,b){return a.H-b.H}function n(a,b){return a.M-b.M}function p(a){return(a.J-a.H)*(a.P-a.M)}function q(a){return a.J-a.H+(a.P-a.M)}function t(a,b){return a.H<=b.H&&a.M<=b.M&&b.J<=a.J&&b.P<=a.P}function u(a,b){return b.H<=a.J&&b.M<=a.P&&b.J>=a.H&&b.P>=a.M}function r(a){return{children:a,height:1,ra:!0,H:Infinity,M:Infinity,J:-Infinity,P:-Infinity}}
342
- function v(a,b,d,e,f){for(var g=[b,d],h;g.length;)d=g.pop(),b=g.pop(),d-b<=e||(h=b+Math.ceil((d-b)/e/2)*e,ba(a,h,b,d,f),g.push(b,h,h,d))}b.Ta=f;var ba=a("quickselect");f.prototype={all:function(){return this.zd(this.data,[])},search:function(a){var b=this.data,d=[],e=this.wa;if(!u(a,b))return d;for(var f=[],g,h,l,m;b;){g=0;for(h=b.children.length;g<h;g++)l=b.children[g],m=b.ra?e(l):l,u(a,m)&&(b.ra?d.push(l):t(a,m)?this.zd(l,d):f.push(l));b=f.pop()}return d},load:function(a){if(!a||!a.length)return this;
343
- if(a.length<this.Dd){for(var b=0,d=a.length;b<d;b++)this.eb(a[b]);return this}a=this.Bd(a.slice(),0,a.length-1,0);this.data.children.length?this.data.height===a.height?this.Ed(this.data,a):(this.data.height<a.height&&(b=this.data,this.data=a,a=b),this.Cd(a,this.data.height-a.height-1,!0)):this.data=a;return this},eb:function(a){a&&this.Cd(a,this.data.height-1);return this},clear:function(){this.data=r([]);return this},remove:function(a,b){if(!a)return this;for(var d=this.data,e=this.wa(a),f=[],g=
344
- [],h,l,m,n;d||f.length;){d||(d=f.pop(),l=f[f.length-1],h=g.pop(),n=!0);if(d.ra){a:{m=a;var p=d.children,q=b;if(q){for(var r=0;r<p.length;r++)if(q(m,p[r])){m=r;break a}m=-1}else m=p.indexOf(m)}if(-1!==m){d.children.splice(m,1);f.push(d);this.ze(f);break}}n||d.ra||!t(d,e)?l?(h++,d=l.children[h],n=!1):d=null:(f.push(d),g.push(h),h=0,l=d,d=d.children[0])}return this},wa:function(a){return a},Ac:m,Bc:n,toJSON:function(){return this.data},zd:function(a,b){for(var d=[];a;)a.ra?b.push.apply(b,a.children):
345
- d.push.apply(d,a.children),a=d.pop();return b},Bd:function(a,b,d,e){var f=d-b+1,h=this.wc,l;if(f<=h)return l=r(a.slice(b,d+1)),g(l,this.wa),l;e||(e=Math.ceil(Math.log(f)/Math.log(h)),h=Math.ceil(f/Math.pow(h,e-1)));l=r([]);l.ra=!1;l.height=e;var f=Math.ceil(f/h),h=f*Math.ceil(Math.sqrt(h)),m,n,p;for(v(a,b,d,h,this.Ac);b<=d;b+=h)for(n=Math.min(b+h-1,d),v(a,b,n,f,this.Bc),m=b;m<=n;m+=f)p=Math.min(m+f-1,n),l.children.push(this.Bd(a,m,p,e-1));g(l,this.wa);return l},ye:function(a,b,d,e){for(var f,g,h,
346
- l,m,n,q,r;;){e.push(b);if(b.ra||e.length-1===d)break;q=r=Infinity;f=0;for(g=b.children.length;f<g;f++)h=b.children[f],m=p(h),n=(Math.max(h.J,a.J)-Math.min(h.H,a.H))*(Math.max(h.P,a.P)-Math.min(h.M,a.M))-m,n<r?(r=n,q=m<q?m:q,l=h):n===r&&m<q&&(q=m,l=h);b=l||b.children[0]}return b},Cd:function(a,b,d){var e=this.wa;d=d?a:e(a);var e=[],f=this.ye(d,this.data,b,e);f.children.push(a);for(l(f,d);0<=b;)if(e[b].children.length>this.wc)this.Be(e,b),b--;else break;this.ve(d,e,b)},Be:function(a,b){var d=a[b],e=
347
- d.children.length,f=this.Dd;this.we(d,f,e);e=this.xe(d,f,e);e=r(d.children.splice(e,d.children.length-e));e.height=d.height;e.ra=d.ra;g(d,this.wa);g(e,this.wa);b?a[b-1].children.push(e):this.Ed(d,e)},Ed:function(a,b){this.data=r([a,b]);this.data.height=a.height+1;this.data.ra=!1;g(this.data,this.wa)},xe:function(a,b,d){var e,f,g,l,m,n,q;m=n=Infinity;for(e=b;e<=d-b;e++)f=h(a,0,e,this.wa),g=h(a,e,d,this.wa),l=Math.max(0,Math.min(f.J,g.J)-Math.max(f.H,g.H))*Math.max(0,Math.min(f.P,g.P)-Math.max(f.M,
348
- g.M)),f=p(f)+p(g),l<m?(m=l,q=e,n=f<n?f:n):l===m&&f<n&&(n=f,q=e);return q},we:function(a,b,d){var e=a.ra?this.Ac:m,f=a.ra?this.Bc:n,g=this.Ad(a,b,d,e);b=this.Ad(a,b,d,f);g<b&&a.children.sort(e)},Ad:function(a,b,d,e){a.children.sort(e);e=this.wa;var f=h(a,0,b,e),g=h(a,d-b,d,e),m=q(f)+q(g),n,p;for(n=b;n<d-b;n++)p=a.children[n],l(f,a.ra?e(p):p),m+=q(f);for(n=d-b-1;n>=b;n--)p=a.children[n],l(g,a.ra?e(p):p),m+=q(g);return m},ve:function(a,b,d){for(;0<=d;d--)l(b[d],a)},ze:function(a){for(var b=a.length-
349
- 1,d;0<=b;b--)0===a[b].children.length?0<b?(d=a[b-1].children,d.splice(d.indexOf(a[b]),1)):this.clear():g(a[b],this.wa)},Ae:function(a){var b=["return a"," - b",";"];this.Ac=new Function("a","b",b.join(a[0]));this.Bc=new Function("a","b",b.join(a[1]));this.wa=new Function("a","return {minX: a"+a[0]+", minY: a"+a[1]+", maxX: a"+a[2]+", maxY: a"+a[3]+"};")}}},{quickselect:1}]},{},[2])(2)});im=b.Ta})();function jm(a){this.b=im(a);this.c={}}k=jm.prototype;k.eb=function(a,b){var c={H:a[0],M:a[1],J:a[2],P:a[3],value:b};this.b.eb(c);this.c[ea(b)]=c};k.load=function(a,b){for(var c=Array(b.length),d=0,e=b.length;d<e;d++){var f=a[d],g=b[d],f={H:f[0],M:f[1],J:f[2],P:f[3],value:g};c[d]=f;this.c[ea(g)]=f}this.b.load(c)};k.remove=function(a){a=ea(a);var b=this.c[a];delete this.c[a];return null!==this.b.remove(b)};function km(a){return a.b.all().map(function(a){return a.value})}
350
- function lm(a,b){return a.b.search({H:b[0],M:b[1],J:b[2],P:b[3]}).map(function(a){return a.value})}function mm(a,b,c,d){return nm(lm(a,b),c,d)}function nm(a,b,c){for(var d,e=0,f=a.length;e<f&&!(d=b.call(c,a[e]));e++);return d}k.clear=function(){this.b.clear();this.c={}};k.D=function(){var a=this.b.data;return[a.H,a.M,a.J,a.P]};function Y(a){a=a||{};hi.call(this,{attributions:a.attributions,logo:a.logo,projection:void 0,state:"ready",wrapX:void 0!==a.wrapX?a.wrapX:!0});this.F=da;this.C=a.format;this.qa=void 0==a.overlaps?!0:a.overlaps;this.G=a.url;void 0!==a.loader?this.F=a.loader:void 0!==this.G&&(ha(this.C,7),this.F=Yi(this.G,this.C));this.sa=void 0!==a.strategy?a.strategy:hm;var b=void 0!==a.useSpatialIndex?a.useSpatialIndex:!0;this.a=b?new jm:null;this.K=new jm;this.f={};this.i={};this.l={};this.o={};this.g=null;var c,
351
- d;a.features instanceof G?(c=a.features,d=c.a):Array.isArray(a.features)&&(d=a.features);b||void 0!==c||(c=new G(d));void 0!==d&&om(this,d);void 0!==c&&pm(this,c)}x(Y,hi);k=Y.prototype;k.xc=function(a){var b=ea(a).toString();if(qm(this,b,a)){rm(this,b,a);var c=a.L();c?(b=c.D(),this.a&&this.a.eb(b,a)):this.f[b]=a;this.b(new sm(tm,a))}this.v()};function rm(a,b,c){a.o[b]=[z(c,"change",a.Pd,a),z(c,"propertychange",a.Pd,a)]}
352
- function qm(a,b,c){var d=!0,e=c.Fa;void 0!==e?e.toString()in a.i?d=!1:a.i[e.toString()]=c:(ha(!(b in a.l),30),a.l[b]=c);return d}k.yc=function(a){om(this,a);this.v()};function om(a,b){var c,d,e,f,g=[],h=[],l=[];d=0;for(e=b.length;d<e;d++)f=b[d],c=ea(f).toString(),qm(a,c,f)&&h.push(f);d=0;for(e=h.length;d<e;d++){f=h[d];c=ea(f).toString();rm(a,c,f);var m=f.L();m?(c=m.D(),g.push(c),l.push(f)):a.f[c]=f}a.a&&a.a.load(g,l);d=0;for(e=h.length;d<e;d++)a.b(new sm(tm,h[d]))}
353
- function pm(a,b){var c=!1;z(a,tm,function(a){c||(c=!0,b.push(a.feature),c=!1)});z(a,um,function(a){c||(c=!0,b.remove(a.feature),c=!1)});z(b,Kd,function(a){c||(c=!0,this.xc(a.element),c=!1)},a);z(b,Ld,function(a){c||(c=!0,this.ce(a.element),c=!1)},a);a.g=b}
354
- k.clear=function(a){if(a){for(var b in this.o)this.o[b].forEach(Ea);this.g||(this.o={},this.i={},this.l={})}else if(this.a){a=this.nd;nm(km(this.a),a,this);for(var c in this.f)this.nd(this.f[c])}this.g&&this.g.clear();this.a&&this.a.clear();this.K.clear();this.f={};this.b(new sm(vm));this.v()};k.Se=function(a,b){if(this.a)return nm(km(this.a),a,b);if(this.g)return this.g.fb(a,b)};function wm(a,b,c){a.Fb([b[0],b[1],b[0],b[1]],function(a){if(a.L().ta(b))return c.call(void 0,a)})}
355
- k.Fb=function(a,b,c){if(this.a)return mm(this.a,a,b,c);if(this.g)return this.g.fb(b,c)};k.Ue=function(a,b,c){return this.Fb(a,function(d){if(d.L().oa(a)&&(d=b.call(c,d)))return d})};k.cf=function(){return this.g};k.af=function(){var a;this.g?a=this.g.a:this.a&&(a=km(this.a),Ca(this.f)||$a(a,Aa(this.f)));return a};k.bf=function(a){var b=[];wm(this,a,function(a){b.push(a)});return b};k.df=function(a){return lm(this.a,a)};
356
- k.We=function(a,b){var c=a[0],d=a[1],e=null,f=[NaN,NaN],g=Infinity,h=[-Infinity,-Infinity,Infinity,Infinity],l=b?b:Rb;mm(this.a,h,function(a){if(l(a)){var b=a.L(),p=g;g=b.za(c,d,f,g);g<p&&(e=a,a=Math.sqrt(g),h[0]=c-a,h[1]=d-a,h[2]=c+a,h[3]=d+a)}});return e};k.D=function(){return this.a.D()};k.$e=function(a){a=this.i[a.toString()];return void 0!==a?a:null};k.ff=function(){return this.C};k.Hf=function(){return this.G};
357
- k.Pd=function(a){a=a.target;var b=ea(a).toString(),c=a.L();if(c)if(c=c.D(),b in this.f)delete this.f[b],this.a&&this.a.eb(c,a);else{if(this.a){var d=this.a,e=d.c[ea(a)];Ab([e.H,e.M,e.J,e.P],c)||(d.remove(a),d.eb(c,a))}}else b in this.f||(this.a&&this.a.remove(a),this.f[b]=a);c=a.Fa;void 0!==c?(c=c.toString(),b in this.l?(delete this.l[b],this.i[c]=a):this.i[c]!==a&&(xm(this,a),this.i[c]=a)):b in this.l||(xm(this,a),this.l[b]=a);this.v();this.b(new sm(ym,a))};
358
- function ji(a,b,c,d){var e=a.K;b=a.sa(b,c);var f,g;f=0;for(g=b.length;f<g;++f){var h=b[f];mm(e,h,function(a){return wb(a.extent,h)})||(a.F.call(a,h,c,d),e.eb(h,{extent:h.slice()}))}}k.ce=function(a){var b=ea(a).toString();b in this.f?delete this.f[b]:this.a&&this.a.remove(a);this.nd(a);this.v()};k.nd=function(a){var b=ea(a).toString();this.o[b].forEach(Ea);delete this.o[b];var c=a.Fa;void 0!==c?delete this.i[c.toString()]:delete this.l[b];this.b(new sm(um,a))};
359
- function xm(a,b){for(var c in a.i)if(a.i[c]===b){delete a.i[c];break}}function sm(a,b){Ma.call(this,a);this.feature=b}x(sm,Ma);var tm="addfeature",ym="changefeature",vm="clear",um="removefeature";function zm(a){xf.call(this,{handleDownEvent:Am,handleEvent:Bm,handleUpEvent:Cm});this.qa=null;this.C=!1;this.Za=a.source?a.source:null;this.Qa=a.features?a.features:null;this.Ne=a.snapTolerance?a.snapTolerance:12;this.S=a.type;this.f=Dm(this.S);this.Xa=a.minPoints?a.minPoints:this.f===Em?3:2;this.Sa=a.maxPoints?a.maxPoints:Infinity;this.tc=a.finishCondition?a.finishCondition:Rb;var b=a.geometryFunction;if(!b)if("Circle"===this.S)b=function(a,b){var c=b?b:new X([NaN,NaN]),g=a[0],h=a[1],l=g[0]-h[0],
360
- g=g[1]-h[1];c.od(a[0],Math.sqrt(l*l+g*g));return c};else{var c,b=this.f;b===Fm?c=D:b===Gm?c=N:b===Em&&(c=E);b=function(a,b){var f=b;f?f.W(a):f=new c(a);return f}}this.u=b;this.G=this.o=this.a=this.A=this.g=this.l=null;this.Pe=a.clickTolerance?a.clickTolerance*a.clickTolerance:36;this.xa=new J({source:new Y({useSpatialIndex:!1,wrapX:a.wrapX?a.wrapX:!1}),style:a.style?a.style:Hm()});this.Ya=a.geometryName;this.Me=a.condition?a.condition:tf;this.Ra=a.freehandCondition?a.freehandCondition:uf;z(this,Wa("active"),
361
- this.se,this)}x(zm,xf);function Hm(){var a=ah();return function(b){return a[b.L().N()]}}k=zm.prototype;k.setMap=function(a){xf.prototype.setMap.call(this,a);this.se()};function Bm(a){this.f!==Gm&&this.f!==Em||!this.Ra(a)||(this.C=!0);var b=!this.C;this.C&&a.type===Ze&&null!==this.g?(Im(this,a),b=!1):a.type===Ye?b=Jm(this,a):a.type===Se&&(b=!1);return yf.call(this,a)&&b}function Am(a){return this.Me(a)?(this.qa=a.pixel,!0):this.C?(this.qa=a.pixel,this.l||Km(this,a),!0):!1}
362
- function Cm(a){this.C=!1;var b=this.qa,c=a.pixel,d=b[0]-c[0],b=b[1]-c[1],c=!0;d*d+b*b<=this.Pe&&(Jm(this,a),this.l?this.f===Lm?this.Eb():Mm(this,a)?this.tc(a)&&this.Eb():Im(this,a):(Km(this,a),this.f===Fm&&this.Eb()),c=!1);return c}
363
- function Jm(a,b){if(a.l){var c=b.coordinate,d=a.g.L(),e;a.f===Fm?e=a.a:a.f===Em?(e=a.a[0],e=e[e.length-1],Mm(a,b)&&(c=a.l.slice())):(e=a.a,e=e[e.length-1]);e[0]=c[0];e[1]=c[1];a.u(a.a,d);a.A&&a.A.L().W(c);d instanceof E&&a.f!==Em?(a.o||(a.o=new L(new N(null))),d=d.Nd(0),c=a.o.L(),jj(c,d.O,d.j)):a.G&&(c=a.o.L(),c.W(a.G));Nm(a)}else c=b.coordinate.slice(),a.A?a.A.L().W(c):(a.A=new L(new D(c)),Nm(a));return!0}
364
- function Mm(a,b){var c=!1;if(a.g){var d=!1,e=[a.l];a.f===Gm?d=a.a.length>a.Xa:a.f===Em&&(d=a.a[0].length>a.Xa,e=[a.a[0][0],a.a[0][a.a[0].length-2]]);if(d)for(var d=b.map,f=0,g=e.length;f<g;f++){var h=e[f],l=d.Gb(h),m=b.pixel,c=m[0]-l[0],l=m[1]-l[1],m=a.C&&a.Ra(b)?1:a.Ne;if(c=Math.sqrt(c*c+l*l)<=m){a.l=h;break}}}return c}
365
- function Km(a,b){var c=b.coordinate;a.l=c;a.f===Fm?a.a=c.slice():a.f===Em?(a.a=[[c.slice(),c.slice()]],a.G=a.a[0]):(a.a=[c.slice(),c.slice()],a.f===Lm&&(a.G=a.a));a.G&&(a.o=new L(new N(a.G)));c=a.u(a.a);a.g=new L;a.Ya&&a.g.nc(a.Ya);a.g.Ba(c);Nm(a);a.b(new Om(Pm,a.g))}function Im(a,b){var c=b.coordinate,d=a.g.L(),e,f;if(a.f===Gm)a.l=c.slice(),f=a.a,f.push(c.slice()),e=f.length>a.Sa,a.u(f,d);else if(a.f===Em){f=a.a[0];f.push(c.slice());if(e=f.length>a.Sa)a.l=f[0];a.u(a.a,d)}Nm(a);e&&a.Eb()}
366
- k.Ih=function(){var a=this.g.L(),b,c;this.f===Gm?(b=this.a,b.splice(-2,1),this.u(b,a)):this.f===Em&&(b=this.a[0],b.splice(-2,1),c=this.o.L(),c.W(b),this.u(this.a,a));0===b.length&&(this.l=null);Nm(this)};
367
- k.Eb=function(){var a=Qm(this),b=this.a,c=a.L();this.f===Gm?(b.pop(),this.u(b,c)):this.f===Em&&(b[0].pop(),b[0].push(b[0][0]),this.u(b,c));"MultiPoint"===this.S?a.Ba(new Q([b])):"MultiLineString"===this.S?a.Ba(new O([b])):"MultiPolygon"===this.S&&a.Ba(new R([b]));this.b(new Om(Rm,a));this.Qa&&this.Qa.push(a);this.Za&&this.Za.xc(a)};function Qm(a){a.l=null;var b=a.g;b&&(a.g=null,a.A=null,a.o=null,a.xa.va().clear(!0));return b}
368
- k.Mg=function(a){var b=a.L();this.g=a;this.a=b.ia();a=this.a[this.a.length-1];this.l=a.slice();this.a.push(a.slice());Nm(this);this.b(new Om(Pm,this.g))};k.vb=Sb;function Nm(a){var b=[];a.g&&b.push(a.g);a.o&&b.push(a.o);a.A&&b.push(a.A);a=a.xa.va();a.clear(!0);a.yc(b)}k.se=function(){var a=this.la,b=this.da();a&&b||Qm(this);this.xa.setMap(b?a:null)};
369
- function Dm(a){var b;"Point"===a||"MultiPoint"===a?b=Fm:"LineString"===a||"MultiLineString"===a?b=Gm:"Polygon"===a||"MultiPolygon"===a?b=Em:"Circle"===a&&(b=Lm);return b}var Fm="Point",Gm="LineString",Em="Polygon",Lm="Circle";function Om(a,b){Ma.call(this,a);this.feature=b}x(Om,Ma);var Pm="drawstart",Rm="drawend";function Sm(a,b,c,d,e,f,g,h,l,m,n){af.call(this,e,0);this.C=void 0!==n?n:!1;this.A=g;this.u=h;this.o=null;this.f=b;this.i=d;this.l=f?f:e;this.a=[];this.wb=null;this.g=0;f=ud(d,this.l);h=this.i.D();e=this.f.D();f=h?Ob(f,h):f;if(0===Ib(f))this.state=4;else if((h=a.D())&&(e?e=Ob(e,h):e=h),h=d.X(this.l[0]),n=Mb(f),d=sc(n,c,a),h=c.getPointResolution(h,n),n=c.bb(),void 0!==n&&(h*=n),n=a.bb(),void 0!==n&&(h/=n),d=a.getPointResolution(h,d)/h,isFinite(d)&&0<d&&(h/=d),d=h,!isFinite(d)||0>=d)this.state=4;else if(this.B=
370
- new ei(a,c,f,e,d*(void 0!==m?m:.5)),0===this.B.f.length)this.state=4;else if(this.g=Bd(b,d),c=gi(this.B),e&&(a.b?(c[1]=ia(c[1],e[1],e[3]),c[3]=ia(c[3],e[1],e[3])):c=Ob(c,e)),Ib(c)){a=vd(b,c,this.g);for(b=a.H;b<=a.J;b++)for(c=a.M;c<=a.P;c++)(m=l(this.g,b,c,g))&&this.a.push(m);0===this.a.length&&(this.state=4)}else this.state=4}x(Sm,af);Sm.prototype.ma=function(){1==this.state&&(this.wb.forEach(Ea),this.wb=null);af.prototype.ma.call(this)};Sm.prototype.bc=function(){return this.o};
371
- Sm.prototype.ee=function(){var a=[];this.a.forEach(function(b){b&&b.fa()==df&&a.push({extent:ud(this.f,b.Ia),image:b.bc()})},this);this.a.length=0;if(0===a.length)this.state=3;else{var b=this.l[0],c=Ad(this.i,b),d="number"===typeof c?c:c[0],c="number"===typeof c?c:c[1],b=this.i.X(b),e=this.f.X(this.g),f=ud(this.i,this.l);this.o=di(d,c,this.A,e,this.f.D(),b,f,this.B,a,this.u,this.C);this.state=df}bf(this)};
372
- Sm.prototype.load=function(){if(0==this.state){this.state=1;bf(this);var a=0;this.wb=[];this.a.forEach(function(b){var c=b.fa();if(0==c||1==c){a++;var d;d=z(b,"change",function(){var c=b.fa();if(c==df||3==c||4==c)Ea(d),a--,0===a&&(this.wb.forEach(Ea),this.wb=null,this.ee())},this);this.wb.push(d)}},this);this.a.forEach(function(a){0==a.fa()&&a.load()});0===a&&setTimeout(this.ee.bind(this),0)}};function Tm(a,b){var c=/\{z\}/g,d=/\{x\}/g,e=/\{y\}/g,f=/\{-y\}/g;return function(g){if(g)return a.replace(c,g[0].toString()).replace(d,g[1].toString()).replace(e,function(){return(-g[2]-1).toString()}).replace(f,function(){var a=b.f?b.f[g[0]]:null;ha(a,55);return(a.P-a.M+1+g[2]).toString()})}}function Um(a,b){for(var c=a.length,d=Array(c),e=0;e<c;++e)d[e]=Tm(a[e],b);return Vm(d)}function Vm(a){return 1===a.length?a[0]:function(b,c,d){if(b)return a[ma((b[1]<<b[0])+b[2],a.length)](b,c,d)}}
373
- function Wm(){};function Xm(a){mi.call(this);this.g=void 0!==a?a:2048}x(Xm,mi);function Ym(a){return a.f>a.g}Xm.prototype.jb=function(a){for(var b,c;Ym(this);){b=this.a.Nb;c=b.Ia[0].toString();var d;if(d=c in a)b=b.Ia,d=nd(a[c],b[1],b[2]);if(d)break;else La(this.pop())}};function Zm(a){hi.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state,wrapX:a.wrapX});this.F=void 0!==a.opaque?a.opaque:!1;this.o=void 0!==a.tilePixelRatio?a.tilePixelRatio:1;this.tileGrid=void 0!==a.tileGrid?a.tileGrid:null;this.a=new Xm(a.cacheSize);this.C=[0,0];this.Ib=""}x(Zm,hi);k=Zm.prototype;k.Vd=function(){return Ym(this.a)};k.jb=function(a,b){var c=this.Hb(a);c&&c.jb(b)};
374
- function ph(a,b,c,d,e){b=a.Hb(b);if(!b)return!1;for(var f=!0,g,h,l=d.H;l<=d.J;++l)for(var m=d.M;m<=d.P;++m)g=a.Tb(c,l,m),h=!1,b.c.hasOwnProperty(g)&&(g=b.get(g),(h=g.fa()===df)&&(h=!1!==e(g))),h||(f=!1);return f}k.Md=function(){return 0};k.getKey=function(){return this.Ib};k.Tb=function(a,b,c){return a+"/"+b+"/"+c};k.Pc=function(){return this.F};k.Df=function(){return this.tileGrid};k.Ua=function(a){return this.tileGrid?this.tileGrid:Dd(a)};
375
- k.Hb=function(a){var b=this.pa();return b&&!pc(b,a)?null:this.a};function $m(a,b,c){var d=void 0!==c?c:a.pa();c=a.Ua(d);if(a.A&&d.a){var e=b;b=e[0];a=zd(c,e);d=Ed(d);ub(d,a)?b=e:(e=Kb(d),a[0]+=e*Math.ceil((d[0]-a[0])/e),b=Cd(c,a,b))}e=b[0];d=b[1];a=b[2];if(c.minZoom>e||e>c.maxZoom)c=!1;else{var f=c.D();c=(c=f?vd(c,f,e):c.f?c.f[e]:null)?nd(c,d,a):!0}return c?b:null}k.dd=function(){this.a.clear();this.v()};k.te=da;function an(a,b){Ma.call(this,a);this.tile=b}x(an,Ma);function bn(a){Zm.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tilePixelRatio:a.tilePixelRatio,wrapX:a.wrapX});this.tileLoadFunction=a.tileLoadFunction;this.tileUrlFunction=this.g?this.g.bind(this):Wm;this.urls=null;a.urls?this.re(a.urls):a.url&&this.qe(a.url);a.tileUrlFunction&&this.pc(a.tileUrlFunction)}x(bn,Zm);k=bn.prototype;k.Ef=function(){return this.tileLoadFunction};k.Gf=function(){return this.tileUrlFunction};
376
- k.If=function(){return this.urls};k.Pg=function(a){a=a.target;switch(a.fa()){case 1:this.b(new an("tileloadstart",a));break;case df:this.b(new an("tileloadend",a));break;case 3:this.b(new an("tileloaderror",a))}};k.Zh=function(a){this.a.clear();this.tileLoadFunction=a;this.v()};k.pc=function(a,b){this.tileUrlFunction=a;"undefined"!==typeof b?this.Ib!==b&&(this.Ib=b,this.v()):this.v()};
377
- k.qe=function(a){var b=[],c=/\{([a-z])-([a-z])\}/.exec(a);if(c){var d=c[2].charCodeAt(0),e;for(e=c[1].charCodeAt(0);e<=d;++e)b.push(a.replace(c[0],String.fromCharCode(e)))}else if(c=c=/\{(\d+)-(\d+)\}/.exec(a))for(d=parseInt(c[2],10),e=parseInt(c[1],10);e<=d;e++)b.push(a.replace(c[0],e.toString()));else b.push(a);b=this.urls=b;this.pc(this.g?this.g.bind(this):Um(b,this.tileGrid),a)};k.re=function(a){this.urls=a;var b=a.join("\n");this.pc(this.g?this.g.bind(this):Um(a,this.tileGrid),b)};
378
- k.te=function(a,b,c){a=this.Tb(a,b,c);this.a.c.hasOwnProperty(a)&&this.a.get(a)};function cn(a){bn.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,extent:a.extent,logo:a.logo,opaque:a.opaque,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction?a.tileLoadFunction:dn,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,wrapX:a.wrapX});this.crossOrigin=void 0!==a.crossOrigin?a.crossOrigin:null;this.tileClass=void 0!==a.tileClass?a.tileClass:fm;this.f={};this.i={};this.G=a.reprojectionErrorThreshold;
379
- this.l=!1}x(cn,bn);k=cn.prototype;k.Vd=function(){if(Ym(this.a))return!0;for(var a in this.f)if(Ym(this.f[a]))return!0;return!1};k.jb=function(a,b){var c=this.Hb(a);this.a.jb(this.a==c?b:{});for(var d in this.f){var e=this.f[d];e.jb(e==c?b:{})}};k.Md=function(a){return this.pa()&&a&&pc(this.pa(),a),0};k.Pc=function(a){return this.pa()&&a&&!pc(this.pa(),a)?!1:bn.prototype.Pc.call(this,a)};
380
- k.Ua=function(a){var b=this.pa();return!this.tileGrid||b&&!pc(b,a)?(b=ea(a).toString(),b in this.i||(this.i[b]=Dd(a)),this.i[b]):this.tileGrid};k.Hb=function(a){var b=this.pa();if(!b||pc(b,a))return this.a;a=ea(a).toString();a in this.f||(this.f[a]=new Xm);return this.f[a]};function en(a,b,c,d,e,f,g){b=[b,c,d];e=(c=$m(a,b,f))?a.tileUrlFunction(c,e,f):void 0;e=new a.tileClass(b,void 0!==e?0:4,void 0!==e?e:"",a.crossOrigin,a.tileLoadFunction);e.key=g;z(e,"change",a.Pg,a);return e}
381
- function vh(a,b,c,d,e,f){if(a.pa()&&f&&!pc(a.pa(),f)){e=a.Hb(f);d=[b,c,d];var g;b=a.Tb.apply(a,d);e.c.hasOwnProperty(b)&&(g=e.get(b));c=a.getKey();if(g&&g.key==c)return g;var h=a.pa(),l=a.Ua(h),m=a.Ua(f),n=$m(a,d,f);a=new Sm(h,l,f,m,d,n,a.o,0,function(a,b,c,d){return fn(this,a,b,c,d,h)}.bind(a),a.G,a.l);a.key=c;g?(a.c=g,ni(e,b,a)):e.set(b,a);return a}return fn(a,b,c,d,e,f)}
382
- function fn(a,b,c,d,e,f){var g,h=a.Tb(b,c,d),l=a.getKey();if(a.a.c.hasOwnProperty(h)){if(g=a.a.get(h),g.key!=l){var m=g;g=en(a,b,c,d,e,f,l);0==m.fa()?g.c=m.c:g.c=m;if(g.c){b=g.c;c=g;do{if(b.fa()==df){b.c=null;break}else 1==b.fa()?c=b:0==b.fa()?c.c=b.c:c=b;b=c.c}while(b)}ni(a.a,h,g)}}else g=en(a,b,c,d,e,f,l),a.a.set(h,g);return g}k.Wh=function(a){if(this.l!=a){this.l=a;for(var b in this.f)this.f[b].clear();this.v()}};k.Yh=function(a,b){var c=$b(a);c&&(c=ea(c).toString(),c in this.i||(this.i[c]=b))};
383
- function dn(a,b){a.bc().src=b};function Z(a){a=a||{};var b=void 0!==a.projection?a.projection:"EPSG:3857",c;if(void 0!==a.tileGrid)c=a.tileGrid;else{c={extent:Ed(b),maxZoom:a.maxZoom,minZoom:a.minZoom,tileSize:a.tileSize};var d={};ya(d,void 0!==c?c:{});void 0===d.extent&&(d.extent=$b("EPSG:3857").D());d.resolutions=Fd(d.extent,d.maxZoom,d.tileSize);delete d.maxZoom;c=new qd(d)}cn.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,opaque:a.opaque,projection:b,reprojectionErrorThreshold:a.reprojectionErrorThreshold,
384
- tileGrid:c,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0})}x(Z,cn);function gn(a,b){this.b=b;this.c=[{x:0,y:0,width:a,height:a}];this.f={};this.a=Ud(a,a);this.g=this.a.canvas}gn.prototype.get=function(a){return this.f[a]||null};
385
- gn.prototype.add=function(a,b,c,d,e){var f,g,h;g=0;for(h=this.c.length;g<h;++g)if(f=this.c[g],f.width>=b+this.b&&f.height>=c+this.b)return h={offsetX:f.x+this.b,offsetY:f.y+this.b,image:this.g},this.f[a]=h,d.call(e,this.a,f.x+this.b,f.y+this.b),a=g,b+=this.b,d=c+this.b,f.width-b>f.height-d?(c={x:f.x+b,y:f.y,width:f.width-b,height:f.height},b={x:f.x,y:f.y+d,width:b,height:f.height-d},hn(this,a,c,b)):(c={x:f.x+b,y:f.y,width:f.width-b,height:d},b={x:f.x,y:f.y+d,width:f.width,height:f.height-d},hn(this,
386
- a,c,b)),h;return null};function hn(a,b,c,d){b=[b,1];0<c.width&&0<c.height&&b.push(c);0<d.width&&0<d.height&&b.push(d);a.c.splice.apply(a.c,b)};function jn(a){a=a||{};this.c=void 0!==a.initialSize?a.initialSize:256;this.a=void 0!==a.maxSize?a.maxSize:2048;this.b=void 0!==a.space?a.space:1;this.g=[new gn(this.c,this.b)];this.f=this.c;this.i=[new gn(this.f,this.b)]}jn.prototype.add=function(a,b,c,d,e,f){if(b+this.b>this.a||c+this.b>this.a)return null;d=kn(this,!1,a,b,c,d,f);if(!d)return null;a=kn(this,!0,a,b,c,void 0!==e?e:da,f);return{offsetX:d.offsetX,offsetY:d.offsetY,image:d.image,Yb:a.image}};
387
- function kn(a,b,c,d,e,f,g){var h=b?a.i:a.g,l,m,n;m=0;for(n=h.length;m<n;++m){l=h[m];if(l=l.add(c,d,e,f,g))return l;l||m!==n-1||(b?(l=Math.min(2*a.f,a.a),a.f=l):(l=Math.min(2*a.c,a.a),a.c=l),l=new gn(l,a.b),h.push(l),++n)}return null};function ln(a){this.C=this.I=this.i=null;this.l=void 0!==a.fill?a.fill:null;this.K=[0,0];this.b=a.points;this.a=void 0!==a.radius?a.radius:a.radius1;this.f=void 0!==a.radius2?a.radius2:this.a;this.B=void 0!==a.angle?a.angle:0;this.c=void 0!==a.stroke?a.stroke:null;this.ca=this.S=this.F=null;var b=this.G=a.atlasManager,c="",d="",e=0,f=null,g,h=0;this.c&&(g=Td(this.c.c),h=this.c.f,void 0===h&&(h=1),f=this.c.a,ie||(f=null),d=this.c.i,void 0===d&&(d="round"),c=this.c.g,void 0===c&&(c="round"),e=this.c.l,
388
- void 0===e&&(e=10));var l=2*(this.a+h)+1,c={strokeStyle:g,Mb:h,size:l,lineCap:c,lineDash:f,lineJoin:d,miterLimit:e};if(void 0===b){var m=Ud(l,l);this.I=m.canvas;b=l=this.I.width;this.Zd(c,m,0,0);this.l?this.C=this.I:(m=Ud(c.size,c.size),this.C=m.canvas,this.Yd(c,m,0,0))}else l=Math.round(l),(d=!this.l)&&(m=this.Yd.bind(this,c)),e=this.c?Sg(this.c):"-",f=this.l?Tg(this.l):"-",this.i&&e==this.i[1]&&f==this.i[2]&&this.a==this.i[3]&&this.f==this.i[4]&&this.B==this.i[5]&&this.b==this.i[6]||(this.i=["r"+
389
- e+f+(void 0!==this.a?this.a.toString():"-")+(void 0!==this.f?this.f.toString():"-")+(void 0!==this.B?this.B.toString():"-")+(void 0!==this.b?this.b.toString():"-"),e,f,this.a,this.f,this.B,this.b]),m=b.add(this.i[0],l,l,this.Zd.bind(this,c),m),this.I=m.image,this.K=[m.offsetX,m.offsetY],b=m.image.width,this.C=d?m.Yb:this.I;this.F=[l/2,l/2];this.S=[l,l];this.ca=[b,b];Pg.call(this,{opacity:1,rotateWithView:void 0!==a.rotateWithView?a.rotateWithView:!1,rotation:void 0!==a.rotation?a.rotation:0,scale:1,
390
- snapToPixel:void 0!==a.snapToPixel?a.snapToPixel:!0})}x(ln,Pg);k=ln.prototype;k.clone=function(){var a=new ln({fill:this.l?this.l.clone():void 0,points:this.f!==this.a?this.b/2:this.b,radius:this.a,radius2:this.f,angle:this.B,snapToPixel:this.A,stroke:this.c?this.c.clone():void 0,rotation:this.u,rotateWithView:this.T,atlasManager:this.G});a.pb(this.o);a.qb(this.g);return a};k.ab=function(){return this.F};k.Vg=function(){return this.B};k.Wg=function(){return this.l};k.ed=function(){return this.C};
391
- k.Va=function(){return this.I};k.Sb=function(){return this.ca};k.Kb=function(){return 2};k.hb=function(){return this.K};k.Xg=function(){return this.b};k.Yg=function(){return this.a};k.Af=function(){return this.f};k.Oa=function(){return this.S};k.Zg=function(){return this.c};k.Vc=da;k.load=da;k.vd=da;
392
- k.Zd=function(a,b,c,d){var e;b.setTransform(1,0,0,1,0,0);b.translate(c,d);b.beginPath();this.f!==this.a&&(this.b*=2);for(c=0;c<=this.b;c++)d=2*c*Math.PI/this.b-Math.PI/2+this.B,e=0===c%2?this.a:this.f,b.lineTo(a.size/2+e*Math.cos(d),a.size/2+e*Math.sin(d));this.l&&(b.fillStyle=Td(this.l.b),b.fill());this.c&&(b.strokeStyle=a.strokeStyle,b.lineWidth=a.Mb,a.lineDash&&b.setLineDash(a.lineDash),b.lineCap=a.lineCap,b.lineJoin=a.lineJoin,b.miterLimit=a.miterLimit,b.stroke());b.closePath()};
393
- k.Yd=function(a,b,c,d){b.setTransform(1,0,0,1,0,0);b.translate(c,d);b.beginPath();this.f!==this.a&&(this.b*=2);var e;for(c=0;c<=this.b;c++)e=2*c*Math.PI/this.b-Math.PI/2+this.B,d=0===c%2?this.a:this.f,b.lineTo(a.size/2+d*Math.cos(e),a.size/2+d*Math.sin(e));b.fillStyle=Lg;b.fill();this.c&&(b.strokeStyle=a.strokeStyle,b.lineWidth=a.Mb,a.lineDash&&b.setLineDash(a.lineDash),b.stroke());b.closePath()};G.prototype.clear=G.prototype.clear;G.prototype.extend=G.prototype.rg;G.prototype.forEach=G.prototype.fb;G.prototype.getArray=G.prototype.sg;G.prototype.item=G.prototype.tg;G.prototype.getLength=G.prototype.$b;G.prototype.insertAt=G.prototype.Zb;G.prototype.pop=G.prototype.pop;G.prototype.push=G.prototype.push;G.prototype.remove=G.prototype.remove;G.prototype.removeAt=G.prototype.md;G.prototype.setAt=G.prototype.Ph;G.prototype.get=G.prototype.get;G.prototype.getKeys=G.prototype.ga;
394
- G.prototype.getProperties=G.prototype.V;G.prototype.set=G.prototype.set;G.prototype.setProperties=G.prototype.R;G.prototype.unset=G.prototype.ha;G.prototype.changed=G.prototype.v;G.prototype.dispatchEvent=G.prototype.b;G.prototype.getRevision=G.prototype.Y;G.prototype.on=G.prototype.Z;G.prototype.once=G.prototype.$;G.prototype.un=G.prototype.aa;G.prototype.unByKey=G.prototype.ba;w("ol.Feature",L);L.prototype.clone=L.prototype.clone;L.prototype.getGeometry=L.prototype.L;L.prototype.getId=L.prototype.jf;
395
- L.prototype.getGeometryName=L.prototype.hf;L.prototype.getStyle=L.prototype.ug;L.prototype.getStyleFunction=L.prototype.vg;L.prototype.setGeometry=L.prototype.Ba;L.prototype.setStyle=L.prototype.Xc;L.prototype.setId=L.prototype.pd;L.prototype.setGeometryName=L.prototype.nc;L.prototype.get=L.prototype.get;L.prototype.getKeys=L.prototype.ga;L.prototype.getProperties=L.prototype.V;L.prototype.set=L.prototype.set;L.prototype.setProperties=L.prototype.R;L.prototype.unset=L.prototype.ha;
396
- L.prototype.changed=L.prototype.v;L.prototype.dispatchEvent=L.prototype.b;L.prototype.getRevision=L.prototype.Y;L.prototype.on=L.prototype.Z;L.prototype.once=L.prototype.$;L.prototype.un=L.prototype.aa;L.prototype.unByKey=L.prototype.ba;w("ol.Map",K);K.prototype.addControl=K.prototype.De;K.prototype.addInteraction=K.prototype.Ee;K.prototype.addLayer=K.prototype.Fe;K.prototype.addOverlay=K.prototype.Ge;K.prototype.beforeRender=K.prototype.ya;K.prototype.forEachFeatureAtPixel=K.prototype.Te;
397
- K.prototype.forEachLayerAtPixel=K.prototype.zg;K.prototype.hasFeatureAtPixel=K.prototype.ag;K.prototype.getEventCoordinate=K.prototype.Ze;K.prototype.getEventPixel=K.prototype.Kc;K.prototype.getTarget=K.prototype.Sc;K.prototype.getTargetElement=K.prototype.Tc;K.prototype.getCoordinateFromPixel=K.prototype.Ka;K.prototype.getControls=K.prototype.Ye;K.prototype.getOverlays=K.prototype.wf;K.prototype.getOverlayById=K.prototype.vf;K.prototype.getInteractions=K.prototype.kf;K.prototype.getLayerGroup=K.prototype.kb;
398
- K.prototype.getLayers=K.prototype.Ag;K.prototype.getPixelFromCoordinate=K.prototype.Gb;K.prototype.getSize=K.prototype.ac;K.prototype.getView=K.prototype.ja;K.prototype.getViewport=K.prototype.Jf;K.prototype.renderSync=K.prototype.Nh;K.prototype.render=K.prototype.render;K.prototype.removeControl=K.prototype.Gh;K.prototype.removeInteraction=K.prototype.Hh;K.prototype.removeLayer=K.prototype.Jh;K.prototype.removeOverlay=K.prototype.Kh;K.prototype.setLayerGroup=K.prototype.Sh;K.prototype.setSize=K.prototype.sd;
399
- K.prototype.setTarget=K.prototype.Sd;K.prototype.setView=K.prototype.$h;K.prototype.updateSize=K.prototype.wd;K.prototype.get=K.prototype.get;K.prototype.getKeys=K.prototype.ga;K.prototype.getProperties=K.prototype.V;K.prototype.set=K.prototype.set;K.prototype.setProperties=K.prototype.R;K.prototype.unset=K.prototype.ha;K.prototype.changed=K.prototype.v;K.prototype.dispatchEvent=K.prototype.b;K.prototype.getRevision=K.prototype.Y;K.prototype.on=K.prototype.Z;K.prototype.once=K.prototype.$;
400
- K.prototype.un=K.prototype.aa;K.prototype.unByKey=K.prototype.ba;Ra.prototype.changed=Ra.prototype.v;Ra.prototype.dispatchEvent=Ra.prototype.b;Ra.prototype.getRevision=Ra.prototype.Y;Ra.prototype.on=Ra.prototype.Z;Ra.prototype.once=Ra.prototype.$;Ra.prototype.un=Ra.prototype.aa;Ra.prototype.unByKey=Ra.prototype.ba;w("ol.View",F);F.prototype.constrainCenter=F.prototype.Qb;F.prototype.constrainResolution=F.prototype.constrainResolution;F.prototype.constrainRotation=F.prototype.constrainRotation;
401
- F.prototype.getCenter=F.prototype.Ca;F.prototype.calculateExtent=F.prototype.Id;F.prototype.getMaxResolution=F.prototype.Bg;F.prototype.getMinResolution=F.prototype.Cg;F.prototype.getProjection=F.prototype.pa;F.prototype.getResolution=F.prototype.X;F.prototype.getResolutions=F.prototype.Dg;F.prototype.getRotation=F.prototype.ua;F.prototype.getZoom=F.prototype.Lf;F.prototype.fit=F.prototype.Re;F.prototype.centerOn=F.prototype.Oe;F.prototype.rotate=F.prototype.rotate;F.prototype.setCenter=F.prototype.Ha;
402
- F.prototype.setResolution=F.prototype.ub;F.prototype.setRotation=F.prototype.Yc;F.prototype.setZoom=F.prototype.ci;F.prototype.get=F.prototype.get;F.prototype.getKeys=F.prototype.ga;F.prototype.getProperties=F.prototype.V;F.prototype.set=F.prototype.set;F.prototype.setProperties=F.prototype.R;F.prototype.unset=F.prototype.ha;F.prototype.changed=F.prototype.v;F.prototype.dispatchEvent=F.prototype.b;F.prototype.getRevision=F.prototype.Y;F.prototype.on=F.prototype.Z;F.prototype.once=F.prototype.$;
403
- F.prototype.un=F.prototype.aa;F.prototype.unByKey=F.prototype.ba;w("ol.animation.bounce",function(a){var b=a.resolution,c=a.start?a.start:Date.now(),d=void 0!==a.duration?a.duration:1E3,e=a.easing?a.easing:id;return function(a,g){if(g.time<c)return g.animate=!0,g.viewHints[0]+=1,!0;if(g.time<c+d){var h=e((g.time-c)/d),l=b-g.viewState.resolution;g.animate=!0;g.viewState.resolution+=h*l;g.viewHints[0]+=1;return!0}return!1}});w("ol.animation.pan",jd);w("ol.animation.rotate",kd);
404
- w("ol.animation.zoom",ld);w("ol.control.ScaleLine",vi);vi.prototype.getUnits=vi.prototype.cb;vi.prototype.setUnits=vi.prototype.F;vi.prototype.getMap=vi.prototype.qa;vi.prototype.setMap=vi.prototype.setMap;vi.prototype.setTarget=vi.prototype.S;vi.prototype.get=vi.prototype.get;vi.prototype.getKeys=vi.prototype.ga;vi.prototype.getProperties=vi.prototype.V;vi.prototype.set=vi.prototype.set;vi.prototype.setProperties=vi.prototype.R;vi.prototype.unset=vi.prototype.ha;vi.prototype.changed=vi.prototype.v;
405
- vi.prototype.dispatchEvent=vi.prototype.b;vi.prototype.getRevision=vi.prototype.Y;vi.prototype.on=vi.prototype.Z;vi.prototype.once=vi.prototype.$;vi.prototype.un=vi.prototype.aa;vi.prototype.unByKey=vi.prototype.ba;w("ol.extent.boundingExtent",ob);w("ol.extent.buffer",rb);w("ol.extent.containsCoordinate",ub);w("ol.extent.containsExtent",wb);w("ol.extent.containsXY",vb);w("ol.extent.createEmpty",pb);w("ol.extent.equals",Ab);w("ol.extent.extend",Bb);w("ol.extent.getBottomLeft",Eb);
406
- w("ol.extent.getBottomRight",Fb);w("ol.extent.getCenter",Mb);w("ol.extent.getHeight",Lb);w("ol.extent.getIntersection",Ob);w("ol.extent.getSize",function(a){return[a[2]-a[0],a[3]-a[1]]});w("ol.extent.getTopLeft",Hb);w("ol.extent.getTopRight",Gb);w("ol.extent.getWidth",Kb);w("ol.extent.intersects",Pb);w("ol.extent.isEmpty",Jb);w("ol.extent.applyTransform",Qb);w("ol.format.GeoJSON",qj);qj.prototype.readFeature=qj.prototype.Lb;qj.prototype.readFeatures=qj.prototype.sb;qj.prototype.readGeometry=qj.prototype.mc;
407
- qj.prototype.readProjection=qj.prototype.tb;qj.prototype.writeFeature=qj.prototype.qc;qj.prototype.writeFeatureObject=qj.prototype.b;qj.prototype.writeFeatures=qj.prototype.Ob;qj.prototype.writeFeaturesObject=qj.prototype.a;qj.prototype.writeGeometry=qj.prototype.rc;qj.prototype.writeGeometryObject=qj.prototype.f;w("ol.format.KML",Rj);Rj.prototype.readFeature=Rj.prototype.Lb;Rj.prototype.readFeatures=Rj.prototype.sb;Rj.prototype.readName=Rj.prototype.Bh;Rj.prototype.readNetworkLinks=Rj.prototype.Ch;
408
- Rj.prototype.readProjection=Rj.prototype.tb;Rj.prototype.writeFeatures=Rj.prototype.Ob;Rj.prototype.writeFeaturesNode=Rj.prototype.a;w("ol.format.WKT",Ol);Ol.prototype.readFeature=Ol.prototype.Lb;Ol.prototype.readFeatures=Ol.prototype.sb;Ol.prototype.readGeometry=Ol.prototype.mc;Ol.prototype.writeFeature=Ol.prototype.qc;Ol.prototype.writeFeatures=Ol.prototype.Ob;Ol.prototype.writeGeometry=Ol.prototype.rc;w("ol.geom.Circle",X);X.prototype.clone=X.prototype.clone;X.prototype.getCenter=X.prototype.Jb;
409
- X.prototype.getRadius=X.prototype.Zc;X.prototype.getType=X.prototype.N;X.prototype.intersectsExtent=X.prototype.oa;X.prototype.setCenter=X.prototype.Eg;X.prototype.setCenterAndRadius=X.prototype.od;X.prototype.setRadius=X.prototype.Fg;X.prototype.transform=X.prototype.transform;w("ol.geom.Geometry",A);A.prototype.getClosestPoint=A.prototype.Aa;A.prototype.intersectsCoordinate=A.prototype.ta;A.prototype.getExtent=A.prototype.D;A.prototype.rotate=A.prototype.rotate;A.prototype.scale=A.prototype.scale;
410
- A.prototype.simplify=A.prototype.Da;A.prototype.transform=A.prototype.transform;w("ol.geom.GeometryCollection",S);S.prototype.clone=S.prototype.clone;S.prototype.getGeometries=S.prototype.Lc;S.prototype.getType=S.prototype.N;S.prototype.intersectsExtent=S.prototype.oa;S.prototype.setGeometries=S.prototype.je;S.prototype.applyTransform=S.prototype.ib;S.prototype.translate=S.prototype.translate;w("ol.geom.LinearRing",C);C.prototype.clone=C.prototype.clone;C.prototype.getArea=C.prototype.Ig;
411
- C.prototype.getCoordinates=C.prototype.ia;C.prototype.getType=C.prototype.N;C.prototype.setCoordinates=C.prototype.W;w("ol.geom.LineString",N);N.prototype.appendCoordinate=N.prototype.He;N.prototype.clone=N.prototype.clone;N.prototype.forEachSegment=N.prototype.Ve;N.prototype.getCoordinateAtM=N.prototype.Gg;N.prototype.getCoordinates=N.prototype.ia;N.prototype.getCoordinateAt=N.prototype.Ld;N.prototype.getLength=N.prototype.Hg;N.prototype.getType=N.prototype.N;N.prototype.intersectsExtent=N.prototype.oa;
412
- N.prototype.setCoordinates=N.prototype.W;w("ol.geom.MultiLineString",O);O.prototype.appendLineString=O.prototype.Ie;O.prototype.clone=O.prototype.clone;O.prototype.getCoordinateAtM=O.prototype.Jg;O.prototype.getCoordinates=O.prototype.ia;O.prototype.getLineString=O.prototype.qf;O.prototype.getLineStrings=O.prototype.Nc;O.prototype.getType=O.prototype.N;O.prototype.intersectsExtent=O.prototype.oa;O.prototype.setCoordinates=O.prototype.W;w("ol.geom.MultiPoint",Q);Q.prototype.appendPoint=Q.prototype.Ke;
413
- Q.prototype.clone=Q.prototype.clone;Q.prototype.getCoordinates=Q.prototype.ia;Q.prototype.getPoint=Q.prototype.xf;Q.prototype.getPoints=Q.prototype.$c;Q.prototype.getType=Q.prototype.N;Q.prototype.intersectsExtent=Q.prototype.oa;Q.prototype.setCoordinates=Q.prototype.W;w("ol.geom.MultiPolygon",R);R.prototype.appendPolygon=R.prototype.Le;R.prototype.clone=R.prototype.clone;R.prototype.getArea=R.prototype.Kg;R.prototype.getCoordinates=R.prototype.ia;R.prototype.getInteriorPoints=R.prototype.mf;
414
- R.prototype.getPolygon=R.prototype.zf;R.prototype.getPolygons=R.prototype.Qc;R.prototype.getType=R.prototype.N;R.prototype.intersectsExtent=R.prototype.oa;R.prototype.setCoordinates=R.prototype.W;w("ol.geom.Point",D);D.prototype.clone=D.prototype.clone;D.prototype.getCoordinates=D.prototype.ia;D.prototype.getType=D.prototype.N;D.prototype.intersectsExtent=D.prototype.oa;D.prototype.setCoordinates=D.prototype.W;w("ol.geom.Polygon",E);E.prototype.appendLinearRing=E.prototype.Je;E.prototype.clone=E.prototype.clone;
415
- E.prototype.getArea=E.prototype.Lg;E.prototype.getCoordinates=E.prototype.ia;E.prototype.getInteriorPoint=E.prototype.lf;E.prototype.getLinearRingCount=E.prototype.rf;E.prototype.getLinearRing=E.prototype.Nd;E.prototype.getLinearRings=E.prototype.Oc;E.prototype.getType=E.prototype.N;E.prototype.intersectsExtent=E.prototype.oa;E.prototype.setCoordinates=E.prototype.W;
416
- w("ol.geom.Polygon.circular",function(a,b,c,d){var e=d?d:32;d=[];var f;for(f=0;f<e;++f)$a(d,a.offset(b,c,2*Math.PI*f/e));d.push(d[0],d[1]);a=new E(null);Xc(a,"XY",d,[d.length]);return a});w("ol.geom.Polygon.fromExtent",$c);
417
- w("ol.geom.Polygon.fromCircle",function(a,b,c){var d=b?b:32,e=a.s,f=a.O;b=new E(null,f);for(var d=e*(d+1),e=Array(d),g=0;g<d;g++)e[g]=0;Xc(b,f,e,[e.length]);f=a.Jb();a=a.Zc();var d=b.j,e=b.O,g=b.s,h=b.U,l=d.length/g-1;c=c?c:0;for(var m,n,p=0;p<=l;++p)n=p*g,m=c+2*ma(p,l)*Math.PI/l,d[n]=f[0]+a*Math.cos(m),d[n+1]=f[1]+a*Math.sin(m);Xc(b,e,d,h);return b});w("ol.geom.SimpleGeometry",B);B.prototype.getFirstCoordinate=B.prototype.La;B.prototype.getLastCoordinate=B.prototype.Ma;B.prototype.getLayout=B.prototype.Na;
418
- B.prototype.applyTransform=B.prototype.ib;B.prototype.translate=B.prototype.translate;A.prototype.get=A.prototype.get;A.prototype.getKeys=A.prototype.ga;A.prototype.getProperties=A.prototype.V;A.prototype.set=A.prototype.set;A.prototype.setProperties=A.prototype.R;A.prototype.unset=A.prototype.ha;A.prototype.changed=A.prototype.v;A.prototype.dispatchEvent=A.prototype.b;A.prototype.getRevision=A.prototype.Y;A.prototype.on=A.prototype.Z;A.prototype.once=A.prototype.$;A.prototype.un=A.prototype.aa;
419
- A.prototype.unByKey=A.prototype.ba;B.prototype.getClosestPoint=B.prototype.Aa;B.prototype.intersectsCoordinate=B.prototype.ta;B.prototype.getExtent=B.prototype.D;B.prototype.rotate=B.prototype.rotate;B.prototype.scale=B.prototype.scale;B.prototype.simplify=B.prototype.Da;B.prototype.transform=B.prototype.transform;B.prototype.get=B.prototype.get;B.prototype.getKeys=B.prototype.ga;B.prototype.getProperties=B.prototype.V;B.prototype.set=B.prototype.set;B.prototype.setProperties=B.prototype.R;
420
- B.prototype.unset=B.prototype.ha;B.prototype.changed=B.prototype.v;B.prototype.dispatchEvent=B.prototype.b;B.prototype.getRevision=B.prototype.Y;B.prototype.on=B.prototype.Z;B.prototype.once=B.prototype.$;B.prototype.un=B.prototype.aa;B.prototype.unByKey=B.prototype.ba;X.prototype.getFirstCoordinate=X.prototype.La;X.prototype.getLastCoordinate=X.prototype.Ma;X.prototype.getLayout=X.prototype.Na;X.prototype.rotate=X.prototype.rotate;X.prototype.scale=X.prototype.scale;X.prototype.getClosestPoint=X.prototype.Aa;
421
- X.prototype.intersectsCoordinate=X.prototype.ta;X.prototype.getExtent=X.prototype.D;X.prototype.simplify=X.prototype.Da;X.prototype.get=X.prototype.get;X.prototype.getKeys=X.prototype.ga;X.prototype.getProperties=X.prototype.V;X.prototype.set=X.prototype.set;X.prototype.setProperties=X.prototype.R;X.prototype.unset=X.prototype.ha;X.prototype.changed=X.prototype.v;X.prototype.dispatchEvent=X.prototype.b;X.prototype.getRevision=X.prototype.Y;X.prototype.on=X.prototype.Z;X.prototype.once=X.prototype.$;
422
- X.prototype.un=X.prototype.aa;X.prototype.unByKey=X.prototype.ba;S.prototype.getClosestPoint=S.prototype.Aa;S.prototype.intersectsCoordinate=S.prototype.ta;S.prototype.getExtent=S.prototype.D;S.prototype.rotate=S.prototype.rotate;S.prototype.scale=S.prototype.scale;S.prototype.simplify=S.prototype.Da;S.prototype.transform=S.prototype.transform;S.prototype.get=S.prototype.get;S.prototype.getKeys=S.prototype.ga;S.prototype.getProperties=S.prototype.V;S.prototype.set=S.prototype.set;
423
- S.prototype.setProperties=S.prototype.R;S.prototype.unset=S.prototype.ha;S.prototype.changed=S.prototype.v;S.prototype.dispatchEvent=S.prototype.b;S.prototype.getRevision=S.prototype.Y;S.prototype.on=S.prototype.Z;S.prototype.once=S.prototype.$;S.prototype.un=S.prototype.aa;S.prototype.unByKey=S.prototype.ba;C.prototype.getFirstCoordinate=C.prototype.La;C.prototype.getLastCoordinate=C.prototype.Ma;C.prototype.getLayout=C.prototype.Na;C.prototype.rotate=C.prototype.rotate;C.prototype.scale=C.prototype.scale;
424
- C.prototype.getClosestPoint=C.prototype.Aa;C.prototype.intersectsCoordinate=C.prototype.ta;C.prototype.getExtent=C.prototype.D;C.prototype.simplify=C.prototype.Da;C.prototype.transform=C.prototype.transform;C.prototype.get=C.prototype.get;C.prototype.getKeys=C.prototype.ga;C.prototype.getProperties=C.prototype.V;C.prototype.set=C.prototype.set;C.prototype.setProperties=C.prototype.R;C.prototype.unset=C.prototype.ha;C.prototype.changed=C.prototype.v;C.prototype.dispatchEvent=C.prototype.b;
425
- C.prototype.getRevision=C.prototype.Y;C.prototype.on=C.prototype.Z;C.prototype.once=C.prototype.$;C.prototype.un=C.prototype.aa;C.prototype.unByKey=C.prototype.ba;N.prototype.getFirstCoordinate=N.prototype.La;N.prototype.getLastCoordinate=N.prototype.Ma;N.prototype.getLayout=N.prototype.Na;N.prototype.rotate=N.prototype.rotate;N.prototype.scale=N.prototype.scale;N.prototype.getClosestPoint=N.prototype.Aa;N.prototype.intersectsCoordinate=N.prototype.ta;N.prototype.getExtent=N.prototype.D;
426
- N.prototype.simplify=N.prototype.Da;N.prototype.transform=N.prototype.transform;N.prototype.get=N.prototype.get;N.prototype.getKeys=N.prototype.ga;N.prototype.getProperties=N.prototype.V;N.prototype.set=N.prototype.set;N.prototype.setProperties=N.prototype.R;N.prototype.unset=N.prototype.ha;N.prototype.changed=N.prototype.v;N.prototype.dispatchEvent=N.prototype.b;N.prototype.getRevision=N.prototype.Y;N.prototype.on=N.prototype.Z;N.prototype.once=N.prototype.$;N.prototype.un=N.prototype.aa;
427
- N.prototype.unByKey=N.prototype.ba;O.prototype.getFirstCoordinate=O.prototype.La;O.prototype.getLastCoordinate=O.prototype.Ma;O.prototype.getLayout=O.prototype.Na;O.prototype.rotate=O.prototype.rotate;O.prototype.scale=O.prototype.scale;O.prototype.getClosestPoint=O.prototype.Aa;O.prototype.intersectsCoordinate=O.prototype.ta;O.prototype.getExtent=O.prototype.D;O.prototype.simplify=O.prototype.Da;O.prototype.transform=O.prototype.transform;O.prototype.get=O.prototype.get;O.prototype.getKeys=O.prototype.ga;
428
- O.prototype.getProperties=O.prototype.V;O.prototype.set=O.prototype.set;O.prototype.setProperties=O.prototype.R;O.prototype.unset=O.prototype.ha;O.prototype.changed=O.prototype.v;O.prototype.dispatchEvent=O.prototype.b;O.prototype.getRevision=O.prototype.Y;O.prototype.on=O.prototype.Z;O.prototype.once=O.prototype.$;O.prototype.un=O.prototype.aa;O.prototype.unByKey=O.prototype.ba;Q.prototype.getFirstCoordinate=Q.prototype.La;Q.prototype.getLastCoordinate=Q.prototype.Ma;Q.prototype.getLayout=Q.prototype.Na;
429
- Q.prototype.rotate=Q.prototype.rotate;Q.prototype.scale=Q.prototype.scale;Q.prototype.getClosestPoint=Q.prototype.Aa;Q.prototype.intersectsCoordinate=Q.prototype.ta;Q.prototype.getExtent=Q.prototype.D;Q.prototype.simplify=Q.prototype.Da;Q.prototype.transform=Q.prototype.transform;Q.prototype.get=Q.prototype.get;Q.prototype.getKeys=Q.prototype.ga;Q.prototype.getProperties=Q.prototype.V;Q.prototype.set=Q.prototype.set;Q.prototype.setProperties=Q.prototype.R;Q.prototype.unset=Q.prototype.ha;
430
- Q.prototype.changed=Q.prototype.v;Q.prototype.dispatchEvent=Q.prototype.b;Q.prototype.getRevision=Q.prototype.Y;Q.prototype.on=Q.prototype.Z;Q.prototype.once=Q.prototype.$;Q.prototype.un=Q.prototype.aa;Q.prototype.unByKey=Q.prototype.ba;R.prototype.getFirstCoordinate=R.prototype.La;R.prototype.getLastCoordinate=R.prototype.Ma;R.prototype.getLayout=R.prototype.Na;R.prototype.rotate=R.prototype.rotate;R.prototype.scale=R.prototype.scale;R.prototype.getClosestPoint=R.prototype.Aa;
431
- R.prototype.intersectsCoordinate=R.prototype.ta;R.prototype.getExtent=R.prototype.D;R.prototype.simplify=R.prototype.Da;R.prototype.transform=R.prototype.transform;R.prototype.get=R.prototype.get;R.prototype.getKeys=R.prototype.ga;R.prototype.getProperties=R.prototype.V;R.prototype.set=R.prototype.set;R.prototype.setProperties=R.prototype.R;R.prototype.unset=R.prototype.ha;R.prototype.changed=R.prototype.v;R.prototype.dispatchEvent=R.prototype.b;R.prototype.getRevision=R.prototype.Y;
432
- R.prototype.on=R.prototype.Z;R.prototype.once=R.prototype.$;R.prototype.un=R.prototype.aa;R.prototype.unByKey=R.prototype.ba;D.prototype.getFirstCoordinate=D.prototype.La;D.prototype.getLastCoordinate=D.prototype.Ma;D.prototype.getLayout=D.prototype.Na;D.prototype.rotate=D.prototype.rotate;D.prototype.scale=D.prototype.scale;D.prototype.getClosestPoint=D.prototype.Aa;D.prototype.intersectsCoordinate=D.prototype.ta;D.prototype.getExtent=D.prototype.D;D.prototype.simplify=D.prototype.Da;
433
- D.prototype.transform=D.prototype.transform;D.prototype.get=D.prototype.get;D.prototype.getKeys=D.prototype.ga;D.prototype.getProperties=D.prototype.V;D.prototype.set=D.prototype.set;D.prototype.setProperties=D.prototype.R;D.prototype.unset=D.prototype.ha;D.prototype.changed=D.prototype.v;D.prototype.dispatchEvent=D.prototype.b;D.prototype.getRevision=D.prototype.Y;D.prototype.on=D.prototype.Z;D.prototype.once=D.prototype.$;D.prototype.un=D.prototype.aa;D.prototype.unByKey=D.prototype.ba;
434
- E.prototype.getFirstCoordinate=E.prototype.La;E.prototype.getLastCoordinate=E.prototype.Ma;E.prototype.getLayout=E.prototype.Na;E.prototype.rotate=E.prototype.rotate;E.prototype.scale=E.prototype.scale;E.prototype.getClosestPoint=E.prototype.Aa;E.prototype.intersectsCoordinate=E.prototype.ta;E.prototype.getExtent=E.prototype.D;E.prototype.simplify=E.prototype.Da;E.prototype.transform=E.prototype.transform;E.prototype.get=E.prototype.get;E.prototype.getKeys=E.prototype.ga;
435
- E.prototype.getProperties=E.prototype.V;E.prototype.set=E.prototype.set;E.prototype.setProperties=E.prototype.R;E.prototype.unset=E.prototype.ha;E.prototype.changed=E.prototype.v;E.prototype.dispatchEvent=E.prototype.b;E.prototype.getRevision=E.prototype.Y;E.prototype.on=E.prototype.Z;E.prototype.once=E.prototype.$;E.prototype.un=E.prototype.aa;E.prototype.unByKey=E.prototype.ba;w("ol.interaction.Draw",zm);zm.prototype.removeLastPoint=zm.prototype.Ih;zm.prototype.finishDrawing=zm.prototype.Eb;
436
- zm.prototype.extend=zm.prototype.Mg;zm.prototype.getActive=zm.prototype.da;zm.prototype.getMap=zm.prototype.$a;zm.prototype.setActive=zm.prototype.sa;zm.prototype.get=zm.prototype.get;zm.prototype.getKeys=zm.prototype.ga;zm.prototype.getProperties=zm.prototype.V;zm.prototype.set=zm.prototype.set;zm.prototype.setProperties=zm.prototype.R;zm.prototype.unset=zm.prototype.ha;zm.prototype.changed=zm.prototype.v;zm.prototype.dispatchEvent=zm.prototype.b;zm.prototype.getRevision=zm.prototype.Y;
437
- zm.prototype.on=zm.prototype.Z;zm.prototype.once=zm.prototype.$;zm.prototype.un=zm.prototype.aa;zm.prototype.unByKey=zm.prototype.ba;w("ol.interaction.Pointer",xf);xf.prototype.getActive=xf.prototype.da;xf.prototype.getMap=xf.prototype.$a;xf.prototype.setActive=xf.prototype.sa;xf.prototype.get=xf.prototype.get;xf.prototype.getKeys=xf.prototype.ga;xf.prototype.getProperties=xf.prototype.V;xf.prototype.set=xf.prototype.set;xf.prototype.setProperties=xf.prototype.R;xf.prototype.unset=xf.prototype.ha;
438
- xf.prototype.changed=xf.prototype.v;xf.prototype.dispatchEvent=xf.prototype.b;xf.prototype.getRevision=xf.prototype.Y;xf.prototype.on=xf.prototype.Z;xf.prototype.once=xf.prototype.$;xf.prototype.un=xf.prototype.aa;xf.prototype.unByKey=xf.prototype.ba;w("ol.interaction.defaults",ig);w("ol.layer.Group",H);H.prototype.getLayers=H.prototype.ob;H.prototype.setLayers=H.prototype.ke;H.prototype.getExtent=H.prototype.D;H.prototype.getMaxResolution=H.prototype.cc;H.prototype.getMinResolution=H.prototype.dc;
439
- H.prototype.getOpacity=H.prototype.ec;H.prototype.getVisible=H.prototype.mb;H.prototype.getZIndex=H.prototype.fc;H.prototype.setExtent=H.prototype.ad;H.prototype.setMaxResolution=H.prototype.qd;H.prototype.setMinResolution=H.prototype.rd;H.prototype.setOpacity=H.prototype.bd;H.prototype.setVisible=H.prototype.ud;H.prototype.setZIndex=H.prototype.cd;H.prototype.get=H.prototype.get;H.prototype.getKeys=H.prototype.ga;H.prototype.getProperties=H.prototype.V;H.prototype.set=H.prototype.set;
440
- H.prototype.setProperties=H.prototype.R;H.prototype.unset=H.prototype.ha;H.prototype.changed=H.prototype.v;H.prototype.dispatchEvent=H.prototype.b;H.prototype.getRevision=H.prototype.Y;H.prototype.on=H.prototype.Z;H.prototype.once=H.prototype.$;H.prototype.un=H.prototype.aa;H.prototype.unByKey=H.prototype.ba;w("ol.layer.Tile",I);I.prototype.getPreload=I.prototype.u;I.prototype.getSource=I.prototype.va;I.prototype.setPreload=I.prototype.l;I.prototype.getUseInterimTilesOnError=I.prototype.A;
441
- I.prototype.setUseInterimTilesOnError=I.prototype.o;I.prototype.setMap=I.prototype.setMap;I.prototype.setSource=I.prototype.td;I.prototype.getExtent=I.prototype.D;I.prototype.getMaxResolution=I.prototype.cc;I.prototype.getMinResolution=I.prototype.dc;I.prototype.getOpacity=I.prototype.ec;I.prototype.getVisible=I.prototype.mb;I.prototype.getZIndex=I.prototype.fc;I.prototype.setExtent=I.prototype.ad;I.prototype.setMaxResolution=I.prototype.qd;I.prototype.setMinResolution=I.prototype.rd;
442
- I.prototype.setOpacity=I.prototype.bd;I.prototype.setVisible=I.prototype.ud;I.prototype.setZIndex=I.prototype.cd;I.prototype.get=I.prototype.get;I.prototype.getKeys=I.prototype.ga;I.prototype.getProperties=I.prototype.V;I.prototype.set=I.prototype.set;I.prototype.setProperties=I.prototype.R;I.prototype.unset=I.prototype.ha;I.prototype.changed=I.prototype.v;I.prototype.dispatchEvent=I.prototype.b;I.prototype.getRevision=I.prototype.Y;I.prototype.on=I.prototype.Z;I.prototype.once=I.prototype.$;
443
- I.prototype.un=I.prototype.aa;I.prototype.unByKey=I.prototype.ba;w("ol.layer.Vector",J);J.prototype.getSource=J.prototype.va;J.prototype.getStyle=J.prototype.G;J.prototype.getStyleFunction=J.prototype.K;J.prototype.setStyle=J.prototype.F;J.prototype.setMap=J.prototype.setMap;J.prototype.setSource=J.prototype.td;J.prototype.getExtent=J.prototype.D;J.prototype.getMaxResolution=J.prototype.cc;J.prototype.getMinResolution=J.prototype.dc;J.prototype.getOpacity=J.prototype.ec;J.prototype.getVisible=J.prototype.mb;
444
- J.prototype.getZIndex=J.prototype.fc;J.prototype.setExtent=J.prototype.ad;J.prototype.setMaxResolution=J.prototype.qd;J.prototype.setMinResolution=J.prototype.rd;J.prototype.setOpacity=J.prototype.bd;J.prototype.setVisible=J.prototype.ud;J.prototype.setZIndex=J.prototype.cd;J.prototype.get=J.prototype.get;J.prototype.getKeys=J.prototype.ga;J.prototype.getProperties=J.prototype.V;J.prototype.set=J.prototype.set;J.prototype.setProperties=J.prototype.R;J.prototype.unset=J.prototype.ha;
445
- J.prototype.changed=J.prototype.v;J.prototype.dispatchEvent=J.prototype.b;J.prototype.getRevision=J.prototype.Y;J.prototype.on=J.prototype.Z;J.prototype.once=J.prototype.$;J.prototype.un=J.prototype.aa;J.prototype.unByKey=J.prototype.ba;w("ol.proj.common.add",ug);w("ol.proj.METERS_PER_UNIT",Wb);w("ol.proj.Projection",Xb);Xb.prototype.getCode=Xb.prototype.Xe;Xb.prototype.getExtent=Xb.prototype.D;Xb.prototype.getUnits=Xb.prototype.cb;Xb.prototype.getMetersPerUnit=Xb.prototype.bb;
446
- Xb.prototype.getWorldExtent=Xb.prototype.Kf;Xb.prototype.isGlobal=Xb.prototype.bg;Xb.prototype.setGlobal=Xb.prototype.Rh;Xb.prototype.setExtent=Xb.prototype.Og;Xb.prototype.setWorldExtent=Xb.prototype.bi;Xb.prototype.setGetPointResolution=Xb.prototype.Qh;Xb.prototype.getPointResolution=Xb.prototype.getPointResolution;w("ol.proj.setProj4",function(a){Zb=a});w("ol.proj.addEquivalentProjections",ac);w("ol.proj.addProjection",mc);w("ol.proj.addCoordinateTransforms",bc);
447
- w("ol.proj.fromLonLat",function(a,b){return sc(a,"EPSG:4326",void 0!==b?b:"EPSG:3857")});w("ol.proj.toLonLat",function(a,b){return sc(a,void 0!==b?b:"EPSG:3857","EPSG:4326")});w("ol.proj.get",$b);w("ol.proj.equivalent",pc);w("ol.proj.getTransform",qc);w("ol.proj.transform",sc);w("ol.proj.transformExtent",tc);ch.prototype.drawCircle=ch.prototype.Rb;ch.prototype.setStyle=ch.prototype.Td;ch.prototype.drawGeometry=ch.prototype.Cc;ch.prototype.drawFeature=ch.prototype.Qe;w("ol.source.Vector",Y);
448
- Y.prototype.addFeature=Y.prototype.xc;Y.prototype.addFeatures=Y.prototype.yc;Y.prototype.clear=Y.prototype.clear;Y.prototype.forEachFeature=Y.prototype.Se;Y.prototype.forEachFeatureInExtent=Y.prototype.Fb;Y.prototype.forEachFeatureIntersectingExtent=Y.prototype.Ue;Y.prototype.getFeaturesCollection=Y.prototype.cf;Y.prototype.getFeatures=Y.prototype.af;Y.prototype.getFeaturesAtCoordinate=Y.prototype.bf;Y.prototype.getFeaturesInExtent=Y.prototype.df;Y.prototype.getClosestFeatureToCoordinate=Y.prototype.We;
449
- Y.prototype.getExtent=Y.prototype.D;Y.prototype.getFeatureById=Y.prototype.$e;Y.prototype.getFormat=Y.prototype.ff;Y.prototype.getUrl=Y.prototype.Hf;Y.prototype.removeFeature=Y.prototype.ce;Y.prototype.getAttributions=Y.prototype.Ud;Y.prototype.getLogo=Y.prototype.Od;Y.prototype.getProjection=Y.prototype.pa;Y.prototype.getState=Y.prototype.fa;Y.prototype.refresh=Y.prototype.dd;Y.prototype.setAttributions=Y.prototype.ge;Y.prototype.get=Y.prototype.get;Y.prototype.getKeys=Y.prototype.ga;
450
- Y.prototype.getProperties=Y.prototype.V;Y.prototype.set=Y.prototype.set;Y.prototype.setProperties=Y.prototype.R;Y.prototype.unset=Y.prototype.ha;Y.prototype.changed=Y.prototype.v;Y.prototype.dispatchEvent=Y.prototype.b;Y.prototype.getRevision=Y.prototype.Y;Y.prototype.on=Y.prototype.Z;Y.prototype.once=Y.prototype.$;Y.prototype.un=Y.prototype.aa;Y.prototype.unByKey=Y.prototype.ba;w("ol.source.XYZ",Z);Z.prototype.setRenderReprojectionEdges=Z.prototype.Wh;Z.prototype.setTileGridForProjection=Z.prototype.Yh;
451
- Z.prototype.getTileLoadFunction=Z.prototype.Ef;Z.prototype.getTileUrlFunction=Z.prototype.Gf;Z.prototype.getUrls=Z.prototype.If;Z.prototype.setTileLoadFunction=Z.prototype.Zh;Z.prototype.setTileUrlFunction=Z.prototype.pc;Z.prototype.setUrl=Z.prototype.qe;Z.prototype.setUrls=Z.prototype.re;Z.prototype.getTileGrid=Z.prototype.Df;Z.prototype.refresh=Z.prototype.dd;Z.prototype.getAttributions=Z.prototype.Ud;Z.prototype.getLogo=Z.prototype.Od;Z.prototype.getProjection=Z.prototype.pa;
452
- Z.prototype.getState=Z.prototype.fa;Z.prototype.setAttributions=Z.prototype.ge;Z.prototype.get=Z.prototype.get;Z.prototype.getKeys=Z.prototype.ga;Z.prototype.getProperties=Z.prototype.V;Z.prototype.set=Z.prototype.set;Z.prototype.setProperties=Z.prototype.R;Z.prototype.unset=Z.prototype.ha;Z.prototype.changed=Z.prototype.v;Z.prototype.dispatchEvent=Z.prototype.b;Z.prototype.getRevision=Z.prototype.Y;Z.prototype.on=Z.prototype.Z;Z.prototype.once=Z.prototype.$;Z.prototype.un=Z.prototype.aa;
453
- Z.prototype.unByKey=Z.prototype.ba;w("ol.style.AtlasManager",jn);w("ol.style.Circle",Qg);Qg.prototype.clone=Qg.prototype.clone;Qg.prototype.getFill=Qg.prototype.Qg;Qg.prototype.getImage=Qg.prototype.Va;Qg.prototype.getRadius=Qg.prototype.Rg;Qg.prototype.getStroke=Qg.prototype.Sg;Qg.prototype.setRadius=Qg.prototype.Tg;w("ol.style.Fill",Ug);Ug.prototype.clone=Ug.prototype.clone;Ug.prototype.getColor=Ug.prototype.a;Ug.prototype.setColor=Ug.prototype.f;w("ol.style.Icon",Lj);Lj.prototype.clone=Lj.prototype.clone;
454
- Lj.prototype.getAnchor=Lj.prototype.ab;Lj.prototype.getImage=Lj.prototype.Va;Lj.prototype.getOrigin=Lj.prototype.hb;Lj.prototype.getSrc=Lj.prototype.Ug;Lj.prototype.getSize=Lj.prototype.Oa;Lj.prototype.load=Lj.prototype.load;w("ol.style.Image",Pg);Pg.prototype.getOpacity=Pg.prototype.hc;Pg.prototype.getRotateWithView=Pg.prototype.ic;Pg.prototype.getRotation=Pg.prototype.jc;Pg.prototype.getScale=Pg.prototype.kc;Pg.prototype.getSnapToPixel=Pg.prototype.Vb;Pg.prototype.setOpacity=Pg.prototype.pb;
455
- Pg.prototype.setRotation=Pg.prototype.lc;Pg.prototype.setScale=Pg.prototype.qb;w("ol.style.RegularShape",ln);ln.prototype.clone=ln.prototype.clone;ln.prototype.getAnchor=ln.prototype.ab;ln.prototype.getAngle=ln.prototype.Vg;ln.prototype.getFill=ln.prototype.Wg;ln.prototype.getImage=ln.prototype.Va;ln.prototype.getOrigin=ln.prototype.hb;ln.prototype.getPoints=ln.prototype.Xg;ln.prototype.getRadius=ln.prototype.Yg;ln.prototype.getRadius2=ln.prototype.Af;ln.prototype.getSize=ln.prototype.Oa;
456
- ln.prototype.getStroke=ln.prototype.Zg;w("ol.style.Stroke",Vg);Vg.prototype.clone=Vg.prototype.clone;Vg.prototype.getColor=Vg.prototype.$g;Vg.prototype.getLineCap=Vg.prototype.nf;Vg.prototype.getLineDash=Vg.prototype.ah;Vg.prototype.getLineJoin=Vg.prototype.pf;Vg.prototype.getMiterLimit=Vg.prototype.sf;Vg.prototype.getWidth=Vg.prototype.bh;Vg.prototype.setColor=Vg.prototype.dh;Vg.prototype.setLineCap=Vg.prototype.Th;Vg.prototype.setLineDash=Vg.prototype.setLineDash;Vg.prototype.setLineJoin=Vg.prototype.Uh;
457
- Vg.prototype.setMiterLimit=Vg.prototype.Vh;Vg.prototype.setWidth=Vg.prototype.ai;w("ol.style.Style",Wg);Wg.prototype.clone=Wg.prototype.clone;Wg.prototype.getGeometry=Wg.prototype.L;Wg.prototype.getGeometryFunction=Wg.prototype.gf;Wg.prototype.getFill=Wg.prototype.eh;Wg.prototype.getImage=Wg.prototype.fh;Wg.prototype.getStroke=Wg.prototype.gh;Wg.prototype.getText=Wg.prototype.ka;Wg.prototype.getZIndex=Wg.prototype.hh;Wg.prototype.setGeometry=Wg.prototype.$d;Wg.prototype.setZIndex=Wg.prototype.ih;
458
- w("ol.style.Text",W);W.prototype.clone=W.prototype.clone;W.prototype.getFont=W.prototype.ef;W.prototype.getOffsetX=W.prototype.tf;W.prototype.getOffsetY=W.prototype.uf;W.prototype.getFill=W.prototype.jh;W.prototype.getRotateWithView=W.prototype.kh;W.prototype.getRotation=W.prototype.lh;W.prototype.getScale=W.prototype.mh;W.prototype.getStroke=W.prototype.nh;W.prototype.getText=W.prototype.ka;W.prototype.getTextAlign=W.prototype.Bf;W.prototype.getTextBaseline=W.prototype.Cf;W.prototype.setFont=W.prototype.ie;
459
- W.prototype.setOffsetX=W.prototype.le;W.prototype.setOffsetY=W.prototype.me;W.prototype.setFill=W.prototype.he;W.prototype.setRotation=W.prototype.oh;W.prototype.setScale=W.prototype.ae;W.prototype.setStroke=W.prototype.ne;W.prototype.setText=W.prototype.oe;W.prototype.setTextAlign=W.prototype.pe;W.prototype.setTextBaseline=W.prototype.Xh;Qg.prototype.getOpacity=Qg.prototype.hc;Qg.prototype.getRotateWithView=Qg.prototype.ic;Qg.prototype.getRotation=Qg.prototype.jc;Qg.prototype.getScale=Qg.prototype.kc;
460
- Qg.prototype.getSnapToPixel=Qg.prototype.Vb;Qg.prototype.setOpacity=Qg.prototype.pb;Qg.prototype.setRotation=Qg.prototype.lc;Qg.prototype.setScale=Qg.prototype.qb;Lj.prototype.getOpacity=Lj.prototype.hc;Lj.prototype.getRotateWithView=Lj.prototype.ic;Lj.prototype.getRotation=Lj.prototype.jc;Lj.prototype.getScale=Lj.prototype.kc;Lj.prototype.getSnapToPixel=Lj.prototype.Vb;Lj.prototype.setOpacity=Lj.prototype.pb;Lj.prototype.setRotation=Lj.prototype.lc;Lj.prototype.setScale=Lj.prototype.qb;
461
- ln.prototype.getOpacity=ln.prototype.hc;ln.prototype.getRotateWithView=ln.prototype.ic;ln.prototype.getRotation=ln.prototype.jc;ln.prototype.getScale=ln.prototype.kc;ln.prototype.getSnapToPixel=ln.prototype.Vb;ln.prototype.setOpacity=ln.prototype.pb;ln.prototype.setRotation=ln.prototype.lc;ln.prototype.setScale=ln.prototype.qb;
462
- return OPENLAYERS.ol;
463
- }));
464
-