@planet/maps 8.0.0 → 8.1.0

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 (95) hide show
  1. package/LICENSE +202 -0
  2. package/config.js +32 -0
  3. package/lib/Map.js +73 -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 +103 -17
  86. package/readme.md +44 -35
  87. package/renderer/render.js +313 -0
  88. package/renderer/update.js +98 -0
  89. package/.npmignore +0 -2
  90. package/common.js +0 -582
  91. package/debug.js +0 -91520
  92. package/embed.js +0 -376
  93. package/explorer.js +0 -517
  94. package/ol.css +0 -241
  95. package/ol.min.js +0 -1012
package/ol.min.js DELETED
@@ -1,1012 +0,0 @@
1
- // OpenLayers. See https://openlayers.org/
2
- // License: https://raw.githubusercontent.com/openlayers/openlayers/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,ba=this;function t(a,b){var c=OPENLAYERS,d=a.split("."),c=c||ba;d[0]in c||!c.execScript||c.execScript("var "+d[0]);for(var e;d.length&&(e=d.shift());)d.length||void 0===b?c[e]?c=c[e]:c=c[e]={}:c[e]=b};var ca,da;function ea(a,b){return a>b?1:a<b?-1:0}function fa(a,b){return 0<=a.indexOf(b)}function ga(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 ha(a,b){var c,d=Array.isArray(b)?b:[b],e=d.length;for(c=0;c<e;c++)a[a.length]=d[c]}
15
- function ia(a,b){for(var c=a.length>>>0,d,e=0;e<c;e++)if(d=a[e],b(d,e,a))return d;return null}function ja(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 ka(a){var b=la,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 ma(a,b){var c;return a.every(function(d,e){c=e;return!b(d,e,a)})?-1:c}
16
- function na(a,b){var c=b||ea;return a.every(function(b,e){if(!e)return!0;var d=c(a[e-1],b);return!(0<d||0===d)})};function u(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a}function oa(){}function w(a){return a.lo||(a.lo=++pa)}var pa=0;function qa(a){this.message="Assertion failed. See https://openlayers.org/en/v7.1.0/doc/errors/#"+a+" for details.";this.code=a;this.name="AssertionError"}u(qa,Error);function ra(a,b){if(!a)throw new qa(b);};function sa(a,b,c,d){this.ea=a;this.ca=b;this.ga=c;this.ka=d}function ta(a,b,c){return a.ea<=b&&b<=a.ca&&a.ga<=c&&c<=a.ka}function ua(a,b){return a.ea==b.ea&&a.ga==b.ga&&a.ca==b.ca&&a.ka==b.ka}function va(a,b){return a.ea<=b.ca&&a.ca>=b.ea&&a.ga<=b.ka&&a.ka>=b.ga};function wa(a,b,c){return Math.min(Math.max(a,b),c)}var ya=function(){var a;"cosh"in Math?a=Math.cosh:a=function(a){a=Math.exp(a);return(a+1/a)/2};return a}();function za(a){ra(0<a,29);return Math.pow(2,Math.ceil(Math.log(a)/Math.LN2))}function Aa(a,b,c,d,e,f){var g=e-c,h=f-d;if(g||h){var l=((a-c)*g+(b-d)*h)/(g*g+h*h);1<l?(c=e,d=f):0<l&&(c+=g*l,d+=h*l)}return Ba(a,b,c,d)}function Ba(a,b,c,d){a=c-a;b=d-b;return a*a+b*b}function Ca(a){return a*Math.PI/180}
17
- function Da(a,b){var c=a%b;return 0>c*b?c+b:c}function Ea(a,b,c){return a+c*(b-a)};function Fa(a,b,c){void 0===c&&(c=[0,0]);c[0]=a[0]+2*b;c[1]=a[1]+2*b;return c}function Ga(a,b,c){void 0===c&&(c=[0,0]);c[0]=a[0]*b+.5|0;c[1]=a[1]*b+.5|0;return c}function Ha(a,b){if(Array.isArray(a))return a;void 0===b?b=[a,a]:b[0]=b[1]=a;return b};function Ia(a){for(var b=Ja(),c=0,d=a.length;c<d;++c)Ka(b,a[c]);return b}function La(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 Ma(a,b){return b?(b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3],b):a.slice()}function Na(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 Ra(a,b){return Sa(a,b[0],b[1])}function Ta(a,b){return a[0]<=b[0]&&b[2]<=a[2]&&a[1]<=b[1]&&b[3]<=a[3]}
18
- function Sa(a,b,c){return a[0]<=b&&b<=a[2]&&a[1]<=c&&c<=a[3]}function Va(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);h||(h=1);return h}function Ja(){return[Infinity,Infinity,-Infinity,-Infinity]}function Wa(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 Xa(a,b){var c=a[0],d=a[1];return Wa(c,d,c,d,b)}function Ya(a,b,c,d,e){e=Wa(Infinity,Infinity,-Infinity,-Infinity,e);return Za(e,a,b,c,d)}
19
- function $a(a,b){return a[0]==b[0]&&a[2]==b[2]&&a[1]==b[1]&&a[3]==b[3]}function ab(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 Ka(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 Za(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}
20
- function bb(a,b,c){var d;return(d=b.call(c,cb(a)))||(d=b.call(c,db(a)))||(d=b.call(c,eb(a)))?d:(d=b.call(c,fb(a)))?d:!1}function gb(a){var b=0;hb(a)||(b=ib(a)*jb(a));return b}function cb(a){return[a[0],a[1]]}function db(a){return[a[2],a[1]]}function kb(a){return[(a[0]+a[2])/2,(a[1]+a[3])/2]}
21
- function lb(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 Wa(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 jb(a){return a[3]-a[1]}function mb(a,b,c){c=c?c:Ja();nb(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 fb(a){return[a[0],a[3]]}
22
- function eb(a){return[a[2],a[3]]}function ib(a){return a[2]-a[0]}function nb(a,b){return a[0]<=b[2]&&a[2]>=b[0]&&a[1]<=b[3]&&a[3]>=b[1]}function hb(a){return a[2]<a[0]||a[3]<a[1]}function ob(a,b){var c=(a[2]-a[0])/2*(b-1),d=(a[3]-a[1])/2*(b-1);a[0]-=c;a[2]+=c;a[1]-=d;a[3]+=d}
23
- function pb(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 Wa(b,a,d,e,c)};var qb="function"===typeof Object.assign?Object.assign:function(a,b){if(!a||null===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 rb(a){for(var b in a)delete a[b]}function sb(a){var b=[],c;for(c in a)b.push(a[c]);return b}function tb(a){for(var b in a)return!1;return!b};/*
24
-
25
- Latitude/longitude spherical geodesy formulae taken from
26
- http://www.movable-type.co.uk/scripts/latlong.html
27
- Licensed under CC-BY-3.0.
28
- */
29
- function ub(a){this.radius=a}ub.prototype.a=function(a){for(var b=0,c=a.length,d=a[c-1][0],e=a[c-1][1],f=0;f<c;f++)var g=a[f][0],h=a[f][1],b=b+Ca(g-d)*(2+Math.sin(Ca(e))+Math.sin(Ca(h))),d=g,e=h;return b*this.radius*this.radius/2};ub.prototype.b=function(a,b){var c=Ca(a[1]),d=Ca(b[1]),e=(d-c)/2,f=Ca(b[0]-a[0])/2,c=Math.sin(e)*Math.sin(e)+Math.sin(f)*Math.sin(f)*Math.cos(c)*Math.cos(d);return 2*this.radius*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))};
30
- ub.prototype.offset=function(a,b,c){var d=Ca(a[1]);b/=this.radius;var e=Math.asin(Math.sin(d)*Math.cos(b)+Math.cos(d)*Math.sin(b)*Math.cos(c));return[180*(Ca(a[0])+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 ub(6370997);var wb={};wb.degrees=2*Math.PI*vb.radius/360;wb.ft=.3048;wb.m=1;wb["us-ft"]=1200/3937;var xb=null;function yb(a){this.ob=a.code;this.i=a.units;this.c=void 0!==a.extent?a.extent:null;this.g=void 0!==a.worldExtent?a.worldExtent:null;this.b=void 0!==a.axisOrientation?a.axisOrientation:"enu";this.f=void 0!==a.global?a.global:!1;this.a=!(!this.f||!this.c);this.j=a.getPointResolution;this.l=null;this.o=a.metersPerUnit;var b=a.code,c=xb||window.proj4;"function"==typeof c&&(b=c.defs(b),void 0!==b&&(void 0!==b.axis&&void 0===a.axisOrientation&&(this.b=b.axis),void 0===a.metersPerUnit&&(this.o=b.to_meter),
31
- void 0===a.units&&(this.i=b.units)))}k=yb.prototype;k.pk=function(){return this.ob};k.D=function(){return this.c};k.Kb=function(){return this.i};k.tc=function(){return this.o||wb[this.i]};k.$k=function(){return this.g};k.Ll=function(){return this.f};k.qp=function(a){this.f=a;this.a=!(!a||!this.c)};k.mn=function(a){this.c=a;this.a=!(!this.f||!a)};k.yp=function(a){this.g=a};k.pp=function(a){this.j=a};var zb={};var Ab={};function Bb(a,b,c){a=a.ob;b=b.ob;a in Ab||(Ab[a]={});Ab[a][b]=c}function Cb(a,b){var c;a in Ab&&b in Ab[a]&&(c=Ab[a][b]);return c};function Db(a,b,c){var d=a.j;d?b=d(b,c):"degrees"!=a.Kb()&&(d=Eb(a,Fb("EPSG:4326")),b=[c[0]-b/2,c[1],c[0]+b/2,c[1],c[0],c[1]-b/2,c[0],c[1]+b/2],b=d(b,b,2),b=(vb.b(b.slice(0,2),b.slice(2,4))+vb.b(b.slice(4,6),b.slice(6,8)))/2,a=a.tc(),void 0!==a&&(b/=a));return b}function Hb(a){Ib(a);a.forEach(function(b){a.forEach(function(a){b!==a&&Bb(b,a,Jb)})})}function Kb(){var a=Lb,b=Nb,c=Ob;Pb.forEach(function(d){a.forEach(function(a){Bb(d,a,b);Bb(a,d,c)})})}function Qb(a){zb[a.ob]=a;Bb(a,a,Jb)}
32
- function Ib(a){var b=[];a.forEach(function(a){b.push(Qb(a))})}function Rb(a){return a?"string"===typeof a?Fb(a):a:Fb("EPSG:3857")}function Sb(a,b,c,d){a=Fb(a);b=Fb(b);Bb(a,b,Tb(c));Bb(b,a,Tb(d))}function Tb(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}}
33
- function Fb(a){var b=null;if(a instanceof yb)b=a;else if("string"===typeof a){var b=zb[a]||null,c=xb||window.proj4;b||"function"!=typeof c||void 0===c.defs(a)||(b=new yb({code:a}),Qb(b))}return b}function Ub(a,b){if(a===b)return!0;var c=a.Kb()===b.Kb();return a.ob===b.ob?c:Eb(a,b)===Jb&&c}function Vb(a,b){var c=Fb(a),d=Fb(b);return Eb(c,d)}
34
- function Eb(a,b){var c=a.ob,d=b.ob,e=Cb(c,d);if(!e){var f=xb||window.proj4;if("function"==typeof f){var g=f.defs(c),h=f.defs(d);void 0!==g&&void 0!==h&&(g===h?Hb([b,a]):(e=f(d,c),Sb(b,a,e.forward,e.inverse)),e=Cb(c,d))}}e||(e=Wb);return e}function Wb(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 Jb(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 Xb(a,b,c){return Vb(b,c)(a,void 0,a.length)}
35
- function Yb(a,b,c){b=Vb(b,c);return pb(a,b)};function Zb(a,b,c,d){return void 0!==d?(d[0]=a,d[1]=b,d[2]=c,d):[a,b,c]}function $b(a){var b=a[0],c=Array(b),d=1<<b-1,e,f;for(e=0;e<b;++e)f=48,a[1]&d&&(f+=1),a[2]&d&&(f+=2),c[e]=String.fromCharCode(f),d>>=1;return c.join("")};function ac(a){this.minZoom=void 0!==a.minZoom?a.minZoom:0;this.b=a.resolutions;ra(na(this.b,function(a,b){return b-a}),17);this.maxZoom=this.b.length-1;this.f=void 0!==a.origin?a.origin:null;this.c=null;void 0!==a.origins&&(this.c=a.origins,ra(this.c.length==this.b.length,20));var b=a.extent;void 0===b||this.f||this.c||(this.f=fb(b));ra(!this.f&&this.c||this.f&&!this.c,18);this.i=null;void 0!==a.tileSizes&&(this.i=a.tileSizes,ra(this.i.length==this.b.length,19));this.g=void 0!==a.tileSize?a.tileSize:
36
- this.i?null:256;ra(!this.g&&this.i||this.g&&!this.i,22);this.v=void 0!==b?b:null;this.a=null;this.l=[0,0];void 0!==a.sizes?this.a=a.sizes.map(function(a){return new sa(Math.min(0,a[0]),Math.max(a[0]-1,-1),Math.min(0,a[1]),Math.max(a[1]-1,-1))},this):b&&bc(this,b)}var cc=[0,0,0];k=ac.prototype;k.fh=function(a,b,c){a=ec(this,a,b);for(var d=a.ea,e=a.ca;d<=e;++d)for(var f=a.ga,g=a.ka;f<=g;++f)c([b,d,f])};
37
- function fc(a,b,c,d,e){e=a.Ua(b,e);for(b=b[0]-1;b>=a.minZoom;){if(c.call(null,b,ec(a,e,b,d)))return!0;--b}return!1}k.D=function(){return this.v};k.ph=function(){return this.maxZoom};k.qh=function(){return this.minZoom};k.Rc=function(a){return this.f?this.f:this.c[a]};k.Ma=function(a){return this.b[a]};k.pi=function(){return this.b};function gc(a,b,c,d){return b[0]<a.maxZoom?(d=a.Ua(b,d),ec(a,d,b[0]+1,c)):null}
38
- function hc(a,b,c,d){ic(a,b[0],b[1],c,!1,cc);var e=cc[1],f=cc[2];ic(a,b[2],b[3],c,!0,cc);a=cc[1];b=cc[2];void 0!==d?(d.ea=e,d.ca=a,d.ga=f,d.ka=b):d=new sa(e,a,f,b);return d}function ec(a,b,c,d){return hc(a,b,a.Ma(c),d)}function jc(a,b){var c=a.Rc(b[0]),d=a.Ma(b[0]),e=Ha(a.gb(b[0]),a.l);return[c[0]+(b[1]+.5)*e[0]*d,c[1]+(b[2]+.5)*e[1]*d]}k.Ua=function(a,b){var c=this.Rc(a[0]),d=this.Ma(a[0]),e=Ha(this.gb(a[0]),this.l),f=c[0]+a[1]*e[0]*d,c=c[1]+a[2]*e[1]*d;return Wa(f,c,f+e[0]*d,c+e[1]*d,b)};
39
- k.xe=function(a,b,c){return ic(this,a[0],a[1],b,!1,c)};function ic(a,b,c,d,e,f){var g=a.Nc(d),h=d/a.Ma(g),l=a.Rc(g);a=Ha(a.gb(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));return Zb(g,b,c,f)}k.Qf=function(a,b,c){return ic(this,a[0],a[1],this.Ma(b),!1,c)};k.gb=function(a){return this.g?this.g:this.i[a]};k.Nc=function(a,b){return wa(ga(this.b,a,b||0),this.minZoom,this.maxZoom)};
40
- function bc(a,b){for(var c=a.b.length,d=Array(c),e=a.minZoom;e<c;++e)d[e]=ec(a,b,e);a.a=d};function kc(a){var b=a.l;if(!b){var b=lc(a),c=mc(b,void 0,void 0),b=new ac({extent:b,origin:fb(b),resolutions:c,tileSize:void 0});a.l=b}return b}function nc(a){var b={};qb(b,a?a:{});void 0===b.extent&&(b.extent=Fb("EPSG:3857").D());b.resolutions=mc(b.extent,b.maxZoom,b.tileSize);delete b.maxZoom;return new ac(b)}function mc(a,b,c){b=void 0!==b?b:42;var d=jb(a);a=ib(a);c=Ha(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}
41
- function lc(a){a=Fb(a);var b=a.D();b||(a=180*wb.degrees/a.tc(),b=Wa(-a,-a,a,a));return b};function oc(a){this.b=a.html;this.a=a.tileRanges?a.tileRanges:null}oc.prototype.f=function(){return this.b};function pc(a){return function(b){if(b)return[wa(b[0],a[0],a[2]),wa(b[1],a[1],a[3])]}}function qc(a){return a};function rc(a){function b(b){var c=a.listener,e=a.Wg||a.target;a.Yg&&sc(a);return c.call(e,b)}return a.Xg=b}function tc(a,b,c,d){for(var e,f=0,g=a.length;f<g;++f)if(e=a[f],e.listener===b&&e.Wg===c)return d&&(e.deleteIndex=f),e}function uc(a,b){var c=a.fb;return c?c[b]:void 0}function vc(a){var b=a.fb;b||(b=a.fb={});return b}
42
- function wc(a,b){var c=uc(a,b);if(c){for(var d=0,e=c.length;d<e;++d)a.removeEventListener(b,c[d].Xg),rb(c[d]);c.length=0;if(c=a.fb)delete c[b],Object.keys(c).length||delete a.fb}}function B(a,b,c,d,e){var f=vc(a),g=f[b];g||(g=f[b]=[]);(f=tc(g,c,d,!1))?e||(f.Yg=!1):(f={Wg:d,Yg:!!e,listener:c,target:a,type:b},a.addEventListener(b,rc(f)),g.push(f));return f}function xc(a,b,c,d){return B(a,b,c,d,!0)}function yc(a,b,c,d){(a=uc(a,b))&&(c=tc(a,c,d,!0))&&sc(c)}
43
- function sc(a){if(a&&a.target){a.target.removeEventListener(a.type,a.Xg);var b=uc(a.target,a.type);if(b){var c="deleteIndex"in a?a.deleteIndex:b.indexOf(a);-1!==c&&b.splice(c,1);b.length||wc(a.target,a.type)}rb(a)}}function zc(a){var b=vc(a),c;for(c in b)wc(a,c)};function Ac(){}Ac.prototype.$b=!1;function Bc(a){a.$b||(a.$b=!0,a.sa())}Ac.prototype.sa=oa;function Cc(a){this.type=a;this.target=null}Cc.prototype.preventDefault=Cc.prototype.stopPropagation=function(){this.Go=!0};function Dc(a){a.stopPropagation()};function Ec(){this.ab={};this.ua={};this.ra={}}u(Ec,Ac);Ec.prototype.addEventListener=function(a,b){var c=this.ra[a];c||(c=this.ra[a]=[]);-1===c.indexOf(b)&&c.push(b)};
44
- Ec.prototype.b=function(a){var b="string"===typeof a?new Cc(a):a;a=b.type;b.target=this;var c=this.ra[a],d;if(c){a in this.ua||(this.ua[a]=0,this.ab[a]=0);++this.ua[a];for(var e=0,f=c.length;e<f;++e)if(!1===c[e].call(this,b)||b.Go){d=!1;break}--this.ua[a];if(!this.ua[a]){b=this.ab[a];for(delete this.ab[a];b--;)this.removeEventListener(a,oa);delete this.ua[a]}return d}};Ec.prototype.sa=function(){zc(this)};function Fc(a,b){return b?b in a.ra:0<Object.keys(a.ra).length}
45
- Ec.prototype.removeEventListener=function(a,b){var c=this.ra[a];if(c){var d=c.indexOf(b);a in this.ab?(c[d]=oa,++this.ab[a]):(c.splice(d,1),c.length||delete this.ra[a])}};function Gc(){Ec.call(this);this.f=0}u(Gc,Ec);function Hc(a){if(Array.isArray(a))for(var b=0,c=a.length;b<c;++b)sc(a[b]);else sc(a)}k=Gc.prototype;k.s=function(){++this.f;this.b("change")};k.L=function(){return this.f};k.J=function(a,b,c){if(Array.isArray(a)){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=B(this,a[f],b,c);return e}return B(this,a,b,c)};k.once=function(a,b,c){if(Array.isArray(a)){for(var d=a.length,e=Array(d),f=0;f<d;++f)e[f]=xc(this,a[f],b,c);return e}return xc(this,a,b,c)};
46
- k.K=function(a,b,c){if(Array.isArray(a))for(var d=0,e=a.length;d<e;++d)yc(this,a[d],b,c);else yc(this,a,b,c)};k.M=Hc;function Ic(a){Gc.call(this);w(this);this.I={};void 0!==a&&this.H(a)}u(Ic,Gc);var Jc={};function Kc(a){return Jc.hasOwnProperty(a)?Jc[a]:Jc[a]="change:"+a}k=Ic.prototype;k.get=function(a){var b;this.I.hasOwnProperty(a)&&(b=this.I[a]);return b};k.P=function(){return Object.keys(this.I)};k.O=function(){return qb({},this.I)};function Lc(a,b,c){var d;d=Kc(b);a.b(new Mc(d,b,c));a.b(new Mc("propertychange",b,c))}k.set=function(a,b,c){c?this.I[a]=b:(c=this.I[a],this.I[a]=b,c!==b&&Lc(this,a,c))};
47
- k.H=function(a,b){for(var c in a)this.set(c,a[c],b)};k.R=function(a,b){if(a in this.I){var c=this.I[a];delete this.I[a];b||Lc(this,a,c)}};function Mc(a,b,c){Cc.call(this,a);this.key=b;this.oldValue=c}u(Mc,Cc);function D(a){Ic.call(this);this.a=a?a:[];Nc(this)}u(D,Ic);k=D.prototype;k.clear=function(){for(;0<this.fc();)this.pop()};k.Uf=function(a){var b,c;b=0;for(c=a.length;b<c;++b)this.push(a[b]);return this};k.forEach=function(a,b){this.a.forEach(a,b)};k.bm=function(){return this.a};k.item=function(a){return this.a[a]};k.fc=function(){return this.get(Oc)};k.Ce=function(a,b){this.a.splice(a,0,b);Nc(this);this.b(new Pc("add",b))};k.pop=function(){return this.ug(this.fc()-1)};
48
- k.push=function(a){var b=this.fc();this.Ce(b,a);return this.fc()};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.ug(c)};k.ug=function(a){var b=this.a[a];this.a.splice(a,1);Nc(this);this.b(new Pc("remove",b));return b};k.np=function(a,b){var c=this.fc();if(a<c)c=this.a[a],this.a[a]=b,this.b(new Pc("remove",c)),this.b(new Pc("add",b));else{for(;c<a;++c)this.Ce(c,void 0);this.Ce(a,b)}};function Nc(a){a.set(Oc,a.a.length)}var Oc="length";
49
- function Pc(a,b){Cc.call(this,a);this.element=b}u(Pc,Cc);var Qc=/^#(?:[0-9a-f]{3}){1,2}$/i,Rc=/^([a-z]*)$/i;function Sc(a){return Array.isArray(a)?a:Tc(a)}function Uc(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}
50
- var Tc=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)d++&3||(delete a[e],--b)}d=c;var f;Rc.exec(d)&&(e=document.createElement("div"),e.style.color=d,document.body.appendChild(e),d=getComputedStyle(e).color,document.body.removeChild(e));if(Qc.exec(d)){f=d.length-1;ra(3==f||6==f,54);var 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<<4)+
51
- d);f=[f,e,d,1]}else d.indexOf("rgba(")?d.indexOf("rgb(")?ra(!1,14):(d=d.slice(4,-1).split(",").map(Number),d.push(1),f=Vc(d)):(d=d.slice(5,-1).split(",").map(Number),f=Vc(d));d=f;a[c]=d;++b}return d}}();function Vc(a){var b=[];b[0]=wa(a[0]+.5|0,0,255);b[1]=wa(a[1]+.5|0,0,255);b[2]=wa(a[2]+.5|0,0,255);b[3]=wa(a[3],0,1);return b};function Xc(a){return"string"===typeof a||a instanceof CanvasPattern||a instanceof CanvasGradient?a:Uc(a)};function Yc(a,b,c){this.center=a;this.resolution=b;this.rotation=c};function Zc(a,b){var c=document.createElement("CANVAS");a&&(c.width=a);b&&(c.height=b);return c.getContext("2d")}function $c(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)}function ad(a){a&&a.parentNode&&a.parentNode.removeChild(a)};function bd(a){Ic.call(this);this.element=a.element?a.element:null;this.a=this.T=null;this.v=[];this.render=a.render?a.render:oa;a.target&&this.i(a.target)}u(bd,Ic);bd.prototype.sa=function(){ad(this.element);Ic.prototype.sa.call(this)};bd.prototype.g=function(){return this.a};
52
- bd.prototype.setMap=function(a){this.a&&ad(this.element);for(var b=0,c=this.v.length;b<c;++b)sc(this.v[b]);this.v.length=0;if(this.a=a)(this.T?this.T:a.u).appendChild(this.element),this.render!==oa&&this.v.push(B(a,"postrender",this.render,this)),a.render()};bd.prototype.i=function(a){this.T="string"===typeof a?document.getElementById(a):a};function cd(a){a=a?a:{};this.S=document.createElement("UL");this.u=document.createElement("LI");this.S.appendChild(this.u);this.u.style.display="none";this.c=void 0!==a.collapsed?a.collapsed:!0;this.j=void 0!==a.collapsible?a.collapsible:!0;this.j||(this.c=!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.A=document.createElement("span"),this.A.textContent=d):this.A=
53
- d;d=void 0!==a.label?a.label:"i";"string"===typeof d?(this.C=document.createElement("span"),this.C.textContent=d):this.C=d;var e=this.j&&!this.c?this.A:this.C,d=document.createElement("button");d.setAttribute("type","button");d.title=c;d.appendChild(e);B(d,"click",this.zm,this);c=document.createElement("div");c.className=b+" ol-unselectable ol-control"+(this.c&&this.j?" ol-collapsed":"")+(this.j?"":" ol-uncollapsible");c.appendChild(this.S);c.appendChild(d);bd.call(this,{element:c,render:a.render?
54
- a.render:ed,target:a.target});this.G=!0;this.o={};this.l={};this.Z={}}u(cd,bd);
55
- function ed(a){if(a=a.frameState){var b,c,d,e,f,g,h,l,m,n,p,q=a.layerStatesArray,r=qb({},a.attributions),v={},x={},y=a.viewState.projection;c=0;for(b=q.length;c<b;c++)if(g=q[c].layer.ma())if(n=w(g).toString(),m=g.l)for(d=0,e=m.length;d<e;d++)if(h=m[d],l=w(h).toString(),!(l in r)){if(f=a.usedTiles[n]){var z=g.Jb(y);a:{p=void 0;var A,Y,Qa=h,xa=z,Oa=y;if(Qa.a){for(p in f)if(p in Qa.a){var z=f[p],C;Y=0;for(A=Qa.a[p].length;Y<A;++Y){C=Qa.a[p][Y];if(va(C,z)){p=!0;break a}var Pa=ec(xa,lc(Oa),parseInt(p,
56
- 10)),Gb=Pa.ca-Pa.ea+1;if(z.ea<Pa.ea||z.ca>Pa.ca)if(va(C,new sa(Da(z.ea,Gb),Da(z.ca,Gb),z.ga,z.ka))||z.ca-z.ea+1>Gb&&va(C,Pa)){p=!0;break a}}}p=!1}else p=!0}}else p=!1;p?(l in v&&delete v[l],p=h.b,p in x||(x[p]=!0,r[l]=h)):v[l]=h}b=[r,v];c=b[0];b=b[1];for(var aa in this.o)aa in c?(this.l[aa]||(this.o[aa].style.display="",this.l[aa]=!0),delete c[aa]):aa in b?(this.l[aa]&&(this.o[aa].style.display="none",delete this.l[aa]),delete b[aa]):(ad(this.o[aa]),delete this.o[aa],delete this.l[aa]);for(aa in c)d=
57
- document.createElement("LI"),d.innerHTML=c[aa].b,this.S.appendChild(d),this.o[aa]=d,this.l[aa]=!0;for(aa in b)d=document.createElement("LI"),d.innerHTML=b[aa].b,d.style.display="none",this.S.appendChild(d),this.o[aa]=d;aa=!tb(this.l)||!tb(a.logos);this.G!=aa&&(this.element.style.display=aa?"":"none",this.G=aa);aa&&tb(this.l)?this.element.classList.add("ol-logo-only"):this.element.classList.remove("ol-logo-only");var Ua;a=a.logos;aa=this.Z;for(Ua in aa)Ua in a||(ad(aa[Ua]),delete aa[Ua]);for(var Mb in a)b=
58
- a[Mb],b instanceof HTMLElement&&(this.u.appendChild(b),aa[Mb]=b),Mb in aa||(Ua=new Image,Ua.src=Mb,""===b?c=Ua:(c=document.createElement("a"),c.href=b,c.appendChild(Ua)),this.u.appendChild(c),aa[Mb]=c);this.u.style.display=tb(a)?"none":""}else this.G&&(this.element.style.display="none",this.G=!1)}k=cd.prototype;k.zm=function(a){a.preventDefault();fd(this)};function fd(a){a.element.classList.toggle("ol-collapsed");a.c?$c(a.A,a.C):$c(a.C,a.A);a.c=!a.c}k.ym=function(){return this.j};
59
- k.Bm=function(a){this.j!==a&&(this.j=a,this.element.classList.toggle("ol-uncollapsible"),!a&&this.c&&fd(this))};k.Am=function(a){this.j&&this.c!==a&&fd(this)};k.xm=function(){return this.c};function gd(a){return Math.pow(a,3)}function hd(a){return 1-gd(1-a)}function id(a){return 3*a*a-2*a*a*a}function jd(a){return a};function kd(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-rotate",c=void 0!==a.label?a.label:"\u21e7";this.c=null;"string"===typeof c?(this.c=document.createElement("span"),this.c.className="ol-compass",this.c.textContent=c):(this.c=c,this.c.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.c);B(c,"click",kd.prototype.A,this);d=document.createElement("div");
60
- d.className=b+" ol-unselectable ol-control";d.appendChild(c);b=a.render?a.render:ld;this.j=a.resetNorth?a.resetNorth:void 0;bd.call(this,{element:d,render:b,target:a.target});this.o=void 0!==a.duration?a.duration:250;this.l=void 0!==a.autoHide?a.autoHide:!0;this.u=void 0;this.l&&this.element.classList.add("ol-hidden")}u(kd,bd);
61
- kd.prototype.A=function(a){a.preventDefault();if(this.j)this.j();else if(a=this.a.aa()){var b=a.Wa();void 0!==b&&(0<this.o?(b%=2*Math.PI,a.animate({rotation:0,duration:this.o,easing:hd})):a.Ie(0))}};
62
- function ld(a){if(a=a.frameState){a=a.viewState.rotation;if(a!=this.u){var b="rotate("+a+"rad)";if(this.l){var c=this.element.classList.contains("ol-hidden");c||a?c&&a&&this.element.classList.remove("ol-hidden"):this.element.classList.add("ol-hidden")}this.c.style.msTransform=b;this.c.style.webkitTransform=b;this.c.style.transform=b}this.u=a}};function md(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);B(h,"click",md.prototype.l.bind(this,
63
- 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);B(d,"click",md.prototype.l.bind(this,-c));c=document.createElement("div");c.className=b+" ol-unselectable ol-control";c.appendChild(h);c.appendChild(d);bd.call(this,{element:c,target:a.target});this.c=void 0!==a.duration?a.duration:250}u(md,bd);
64
- md.prototype.l=function(a,b){b.preventDefault();var c=this.a.aa();if(c){var d=c.Va();d&&(d=c.constrainResolution(d,a),0<this.c?(0<nd(c)[0]&&od(c),c.animate({resolution:d,duration:this.c,easing:hd})):c.Yc(d))}};function pd(a){a=a?a:{};var b=new D;(void 0!==a.zoom?a.zoom:1)&&b.push(new md(a.zoomOptions));(void 0!==a.rotate?a.rotate:1)&&b.push(new kd(a.rotateOptions));(void 0!==a.attribution?a.attribution:1)&&b.push(new cd(a.attributionOptions));return b};function qd(a){a=a?a:{};this.c=void 0!==a.className?a.className:"ol-full-screen";var b=void 0!==a.label?a.label:"\u2922";this.j="string"===typeof b?document.createTextNode(b):b;b=void 0!==a.labelActive?a.labelActive:"\u00d7";this.o="string"===typeof b?document.createTextNode(b):b;var c=a.tipLabel?a.tipLabel:"Toggle full-screen",b=document.createElement("button");b.className=this.c+"-"+rd();b.setAttribute("type","button");b.title=c;b.appendChild(this.j);B(b,"click",this.C,this);c=document.createElement("div");
65
- c.className=this.c+" ol-unselectable ol-control "+(sd()?"":"ol-unsupported");c.appendChild(b);bd.call(this,{element:c,target:a.target});this.A=void 0!==a.keys?a.keys:!1;this.l=a.source}u(qd,bd);
66
- qd.prototype.C=function(a){a.preventDefault();sd()&&(a=this.a)&&(rd()?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():(a=this.l?"string"===typeof this.l?document.getElementById(this.l):this.l:a.Lc(),this.A?a.mozRequestFullScreenWithKeys?a.mozRequestFullScreenWithKeys():a.webkitRequestFullscreen?a.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):
67
- td(a):td(a)))};qd.prototype.u=function(){var a=this.element.firstElementChild,b=this.a;rd()?(a.className=this.c+"-true",$c(this.o,this.j)):(a.className=this.c+"-false",$c(this.j,this.o));b&&b.yd()};qd.prototype.setMap=function(a){bd.prototype.setMap.call(this,a);a&&this.v.push(B(document,ud(),this.u,this))};
68
- function sd(){var a=document.body;return!!(a.webkitRequestFullscreen||a.mozRequestFullScreen&&document.mozFullScreenEnabled||a.msRequestFullscreen&&document.msFullscreenEnabled||a.requestFullscreen&&document.fullscreenEnabled)}function rd(){return!!(document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||document.fullscreenElement)}
69
- function td(a){a.requestFullscreen?a.requestFullscreen():a.msRequestFullscreen?a.msRequestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.webkitRequestFullscreen&&a.webkitRequestFullscreen()}var ud=function(){var a;return function(){if(!a){var b=document.body;b.webkitRequestFullscreen?a="webkitfullscreenchange":b.mozRequestFullScreen?a="mozfullscreenchange":b.msRequestFullscreen?a="MSFullscreenChange":b.requestFullscreen&&(a="fullscreenchange")}return a}}();function vd(a){a=a?a:{};var b=document.createElement("DIV");b.className=void 0!==a.className?a.className:"ol-mouse-position";bd.call(this,{element:b,render:a.render?a.render:wd,target:a.target});B(this,Kc(xd),this.Cm,this);a.coordinateFormat&&this.Gi(a.coordinateFormat);a.projection&&this.Nh(Fb(a.projection));this.u=void 0!==a.undefinedHTML?a.undefinedHTML:"";this.o=b.innerHTML;this.j=this.l=this.c=null}u(vd,bd);
70
- function wd(a){a=a.frameState;a?this.c!=a.viewState.projection&&(this.c=a.viewState.projection,this.l=null):this.c=null;yd(this,this.j)}k=vd.prototype;k.Cm=function(){this.l=null};k.jh=function(){return this.get(zd)};k.Mh=function(){return this.get(xd)};k.sl=function(a){this.j=this.a.ue(a);yd(this,this.j)};k.tl=function(){yd(this,null);this.j=null};k.setMap=function(a){bd.prototype.setMap.call(this,a);a&&(a=a.c,this.v.push(B(a,"mousemove",this.sl,this),B(a,"mouseout",this.tl,this)))};
71
- k.Gi=function(a){this.set(zd,a)};k.Nh=function(a){this.set(xd,a)};function yd(a,b){var c=a.u;if(b&&a.c){if(!a.l){var d=a.Mh();a.l=d?Eb(a.c,d):Wb}if(d=a.a.$a(b))a.l(d,d),c=(c=a.jh())?c(d):d.toString()}a.o&&c==a.o||(a.element.innerHTML=c,a.o=c)}var xd="projection",zd="coordinateFormat";function Ad(a,b,c){Cc.call(this,a);this.map=b;this.frameState=void 0!==c?c:null}u(Ad,Cc);function Bd(a,b,c,d,e){Ad.call(this,a,b,e);this.originalEvent=c;this.pixel=b.ue(c);this.coordinate=b.$a(this.pixel);this.dragging=void 0!==d?d:!1}u(Bd,Ad);Bd.prototype.preventDefault=function(){Ad.prototype.preventDefault.call(this);this.originalEvent.preventDefault()};Bd.prototype.stopPropagation=function(){Ad.prototype.stopPropagation.call(this);this.originalEvent.stopPropagation()};var Cd={Yp:"singleclick",Np:"click",Op:"dblclick",Rp:"pointerdrag",Up:"pointermove",Qp:"pointerdown",Xp:"pointerup",Wp:"pointerover",Vp:"pointerout",Sp:"pointerenter",Tp:"pointerleave",Pp:"pointercancel"};function Dd(a,b,c,d,e){Bd.call(this,a,b,c.b,d,e);this.b=c}u(Dd,Bd);var Ed=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Fd(a,b){var c,d,e=Ed.length;for(d=0;d<e;++d)try{if(c=a.getContext(Ed[d],b))return c}catch(f){}return null};var Gd,Hd="undefined"!==typeof navigator?navigator.userAgent.toLowerCase():"",Id=-1!==Hd.indexOf("firefox"),Jd=-1!==Hd.indexOf("safari")&&-1==Hd.indexOf("chrom"),Kd=-1!==Hd.indexOf("webkit")&&-1==Hd.indexOf("edge"),Ld=-1!==Hd.indexOf("macintosh"),Md=window.devicePixelRatio||1,Nd=!1,Od=function(){if(!("HTMLCanvasElement"in window))return!1;try{var a=document.createElement("CANVAS").getContext("2d");return a?(void 0!==a.setLineDash&&(Nd=!0),!0):!1}catch(b){return!1}}(),Pd="DeviceOrientationEvent"in
72
- window,Qd="geolocation"in navigator,Rd="ontouchstart"in window,Sd="PointerEvent"in window,Td=!!navigator.msPointerEnabled,Ud=!1,Vd,Wd=[];if("WebGLRenderingContext"in window)try{var Xd=Fd(document.createElement("CANVAS"),{failIfMajorPerformanceCaveat:!0});Xd&&(Ud=!0,Vd=Xd.getParameter(Xd.MAX_TEXTURE_SIZE),Wd=Xd.getSupportedExtensions())}catch(a){}Gd=Ud;da=Wd;ca=Vd;function Yd(a,b){this.b=a;this.i=b};function Zd(a){Yd.call(this,a,{mousedown:this.Nl,mousemove:this.Ol,mouseup:this.Rl,mouseover:this.Ql,mouseout:this.Pl});this.a=a.f;this.f=[]}u(Zd,Yd);function ae(a,b){for(var c=a.f,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 be(a){var b=ce(a,a),c=b.preventDefault;b.preventDefault=function(){a.preventDefault();c()};b.pointerId=1;b.isPrimary=!0;b.pointerType="mouse";return b}k=Zd.prototype;
73
- k.Nl=function(a){if(!ae(this,a)){(1).toString()in this.a&&this.cancel(a);var b=be(a);this.a[(1).toString()]=a;de(this.b,"pointerdown",b,a)}};k.Ol=function(a){if(!ae(this,a)){var b=be(a);de(this.b,"pointermove",b,a)}};k.Rl=function(a){if(!ae(this,a)){var b=this.a[(1).toString()];b&&b.button===a.button&&(b=be(a),de(this.b,"pointerup",b,a),delete this.a[(1).toString()])}};k.Ql=function(a){if(!ae(this,a)){var b=be(a);ee(this.b,b,a)}};k.Pl=function(a){if(!ae(this,a)){var b=be(a);fe(this.b,b,a)}};
74
- k.cancel=function(a){var b=be(a);this.b.cancel(b,a);delete this.a[(1).toString()]};function ge(a){Yd.call(this,a,{MSPointerDown:this.Wl,MSPointerMove:this.Xl,MSPointerUp:this.$l,MSPointerOut:this.Yl,MSPointerOver:this.Zl,MSPointerCancel:this.Vl,MSGotPointerCapture:this.Tl,MSLostPointerCapture:this.Ul});this.a=a.f;this.f=["","unavailable","touch","pen","mouse"]}u(ge,Yd);function he(a,b){var c=b;"number"===typeof b.pointerType&&(c=ce(b,b),c.pointerType=a.f[b.pointerType]);return c}k=ge.prototype;
75
- k.Wl=function(a){this.a[a.pointerId.toString()]=a;var b=he(this,a);de(this.b,"pointerdown",b,a)};k.Xl=function(a){var b=he(this,a);de(this.b,"pointermove",b,a)};k.$l=function(a){var b=he(this,a);de(this.b,"pointerup",b,a);delete this.a[a.pointerId.toString()]};k.Yl=function(a){var b=he(this,a);fe(this.b,b,a)};k.Zl=function(a){var b=he(this,a);ee(this.b,b,a)};k.Vl=function(a){var b=he(this,a);this.b.cancel(b,a);delete this.a[a.pointerId.toString()]};
76
- k.Ul=function(a){this.b.b(new ie("lostpointercapture",a,a))};k.Tl=function(a){this.b.b(new ie("gotpointercapture",a,a))};function je(a){Yd.call(this,a,{pointerdown:this.yo,pointermove:this.zo,pointerup:this.Co,pointerout:this.Ao,pointerover:this.Bo,pointercancel:this.xo,gotpointercapture:this.bl,lostpointercapture:this.Ml})}u(je,Yd);k=je.prototype;k.yo=function(a){ke(this.b,a)};k.zo=function(a){ke(this.b,a)};k.Co=function(a){ke(this.b,a)};k.Ao=function(a){ke(this.b,a)};k.Bo=function(a){ke(this.b,a)};k.xo=function(a){ke(this.b,a)};k.Ml=function(a){ke(this.b,a)};k.bl=function(a){ke(this.b,a)};function ie(a,b,c){Cc.call(this,a);this.b=b;a=c?c:{};this.buttons=le(a);this.pressure=me(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:
77
- 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()})}u(ie,Cc);function le(a){if(a.buttons||ne)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}
78
- function me(a,b){var c=0;a.pressure?c=a.pressure:c=b?.5:0;return c}var ne=!1;try{ne=1===(new MouseEvent("click",{buttons:1})).buttons}catch(a){};function oe(a,b){Yd.call(this,a,{touchstart:this.Ep,touchmove:this.Dp,touchend:this.Cp,touchcancel:this.Bp});this.a=a.f;this.l=b;this.f=void 0;this.g=0;this.c=void 0}u(oe,Yd);k=oe.prototype;k.Ei=function(){this.g=0;this.c=void 0};
79
- function pe(a,b,c){b=ce(b,c);b.pointerId=c.identifier+2;b.bubbles=!0;b.cancelable=!0;b.detail=a.g;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.f===c.identifier;b.pointerType="touch";b.clientX=c.clientX;b.clientY=c.clientY;b.screenX=c.screenX;b.screenY=c.screenY;return b}
80
- function qe(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=pe(a,b,e[g]),h.preventDefault=d,c.call(a,b,h)}
81
- k.Ep=function(a){var b=a.touches,c=Object.keys(this.a),d=c.length;if(d>=b.length){var e=[],f,g,h;for(f=0;f<d;++f){g=c[f];h=this.a[g];var l;if(!(l=1==g))a:{for(var m=b.length,n=0;n<m;n++)if(l=b[n],l.identifier===g-2){l=!0;break a}l=!1}l||e.push(h.out)}for(f=0;f<e.length;++f)this.Af(a,e[f])}b=a.changedTouches[0];c=Object.keys(this.a).length;if(!c||1===c&&(1).toString()in this.a)this.f=b.identifier,void 0!==this.c&&clearTimeout(this.c);re(this,a);this.g++;qe(this,a,this.to)};
82
- k.to=function(a,b){this.a[b.pointerId]={target:b.target,out:b,ri:b.target};var c=this.b;b.bubbles=!0;de(c,"pointerover",b,a);c=this.b;b.bubbles=!1;de(c,"pointerenter",b,a);de(this.b,"pointerdown",b,a)};k.Dp=function(a){a.preventDefault();qe(this,a,this.Sl)};
83
- k.Sl=function(a,b){var c=this.a[b.pointerId];if(c){var d=c.out,e=c.ri;de(this.b,"pointermove",b,a);d&&e!==b.target&&(d.relatedTarget=b.target,b.relatedTarget=e,d.target=e,b.target?(fe(this.b,d,a),ee(this.b,b,a)):(b.target=e,b.relatedTarget=null,this.Af(a,b)));c.out=b;c.ri=b.target}};k.Cp=function(a){re(this,a);qe(this,a,this.Fp)};
84
- k.Fp=function(a,b){de(this.b,"pointerup",b,a);this.b.out(b,a);se(this.b,b,a);delete this.a[b.pointerId];b.isPrimary&&(this.f=void 0,this.c=setTimeout(this.Ei.bind(this),200))};k.Bp=function(a){qe(this,a,this.Af)};k.Af=function(a,b){this.b.cancel(b,a);this.b.out(b,a);se(this.b,b,a);delete this.a[b.pointerId];b.isPrimary&&(this.f=void 0,this.c=setTimeout(this.Ei.bind(this),200))};
85
- function re(a,b){var c=a.l.f,d=b.changedTouches[0];if(a.f===d.identifier){var e=[d.clientX,d.clientY];c.push(e);setTimeout(function(){var a=c.indexOf(e);-1<a&&c.splice(a,1)},2500)}};function te(a){Ec.call(this);this.g=a;this.f={};this.i={};this.a=[];Sd?ve(this,new je(this)):Td?ve(this,new ge(this)):(a=new Zd(this),ve(this,a),Rd&&ve(this,new oe(this,a)));a=this.a.length;for(var b,c=0;c<a;c++)b=this.a[c],we(this,Object.keys(b.i))}u(te,Ec);function ve(a,b){var c=Object.keys(b.i);c&&(c.forEach(function(a){var c=b.i[a];c&&(this.i[a]=c.bind(b))},a),a.a.push(b))}te.prototype.c=function(a){var b=this.i[a.type];b&&b(a)};
86
- function we(a,b){b.forEach(function(a){B(this.g,a,this.c,this)},a)}function xe(a,b){b.forEach(function(a){yc(this.g,a,this.c,this)},a)}function ce(a,b){for(var c={},d,e=0,f=ye.length;e<f;e++)d=ye[e][0],c[d]=a[d]||b[d]||ye[e][1];return c}function se(a,b,c){b.bubbles=!1;de(a,"pointerleave",b,c)}te.prototype.out=function(a,b){a.bubbles=!0;de(this,"pointerout",a,b)};te.prototype.cancel=function(a,b){de(this,"pointercancel",a,b)};
87
- function fe(a,b,c){a.out(b,c);var d=b.target,e=b.relatedTarget;d&&e&&d.contains(e)||se(a,b,c)}function ee(a,b,c){b.bubbles=!0;de(a,"pointerover",b,c);var d=b.target,e=b.relatedTarget;d&&e&&d.contains(e)||(b.bubbles=!1,de(a,"pointerenter",b,c))}function de(a,b,c,d){a.b(new ie(b,d,c))}function ke(a,b){a.b(new ie(b.type,b,b))}te.prototype.sa=function(){for(var a=this.a.length,b,c=0;c<a;c++)b=this.a[c],xe(this,Object.keys(b.i));Ec.prototype.sa.call(this)};
88
- var ye=[["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 ze(a){Ec.call(this);this.c=a;this.l=0;this.j=!1;this.i=[];this.f=null;a=this.c.c;this.u=0;this.I={};this.g=new te(a);this.a=null;this.o=B(this.g,"pointerdown",this.vl,this);this.v=B(this.g,"pointermove",this.ap,this)}u(ze,Ec);function Ae(a,b){var c=new Dd("click",a.c,b);a.b(c);a.l?(clearTimeout(a.l),a.l=0,c=new Dd("dblclick",a.c,b),a.b(c)):a.l=setTimeout(function(){this.l=0;var a=new Dd("singleclick",this.c,b);this.b(a)}.bind(a),250)}
89
- function Be(a,b){"pointerup"==b.type||"pointercancel"==b.type?delete a.I[b.pointerId]:"pointerdown"==b.type&&(a.I[b.pointerId]=!0);a.u=Object.keys(a.I).length}k=ze.prototype;k.wh=function(a){Be(this,a);var b=new Dd("pointerup",this.c,a);this.b(b);this.j||a.button||Ae(this,this.f);this.u||(this.i.forEach(sc),this.i.length=0,this.j=!1,this.f=null,Bc(this.a),this.a=null)};
90
- k.vl=function(a){Be(this,a);var b=new Dd("pointerdown",this.c,a);this.b(b);this.f=a;this.i.length||(this.a=new te(document),this.i.push(B(this.a,"pointermove",this.pm,this),B(this.a,"pointerup",this.wh,this),B(this.g,"pointercancel",this.wh,this)))};k.pm=function(a){if(a.clientX!=this.f.clientX||a.clientY!=this.f.clientY){this.j=!0;var b=new Dd("pointerdrag",this.c,a,this.j);this.b(b)}a.preventDefault()};
91
- k.ap=function(a){this.b(new Dd(a.type,this.c,a,!(!this.f||a.clientX==this.f.clientX&&a.clientY==this.f.clientY)))};k.sa=function(){this.v&&(sc(this.v),this.v=null);this.o&&(sc(this.o),this.o=null);this.i.forEach(sc);this.i.length=0;this.a&&(Bc(this.a),this.a=null);this.g&&(Bc(this.g),this.g=null);Ec.prototype.sa.call(this)};function Ce(a,b){this.o=a;this.c=b;this.b=[];this.f=[];this.a={}}Ce.prototype.clear=function(){this.b.length=0;this.f.length=0;rb(this.a)};function De(a){var b=a.b,c=a.f,d=b[0];1==b.length?(b.length=0,c.length=0):(b[0]=b.pop(),c[0]=c.pop(),Ee(a,0));b=a.c(d);delete a.a[b];return d}Ce.prototype.i=function(a){ra(!(this.c(a)in this.a),31);var b=this.o(a);return Infinity!=b?(this.b.push(a),this.f.push(b),this.a[this.c(a)]=!0,Fe(this,0,this.b.length-1),!0):!1};
92
- function Ee(a,b){for(var c=a.b,d=a.f,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;Fe(a,h,b)}function Fe(a,b,c){var d=a.b;a=a.f;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 Ge(a){var b=a.o,c=a.b,d=a.f,e=0,f=c.length,g,h,l;for(h=0;h<f;++h)g=c[h],l=b(g),Infinity==l?delete a.a[a.c(g)]:(d[e]=l,c[e++]=g);c.length=e;d.length=e;for(b=(a.b.length>>1)-1;0<=b;b--)Ee(a,b)};function He(a,b){Ce.call(this,function(b){return a.apply(null,b)},function(a){return a[0].jb()});this.v=b;this.l=0;this.g={}}u(He,Ce);He.prototype.i=function(a){var b=Ce.prototype.i.call(this,a);b&&B(a[0],"change",this.j,this);return b};He.prototype.j=function(a){a=a.target;var b=a.W();if(2===b||3===b||4===b||5===b)yc(a,"change",this.j,this),a=a.jb(),a in this.g&&(delete this.g[a],--this.l),this.v()};
93
- function Ie(a,b,c){for(var d=0,e,f;a.l<b&&d<c&&0<a.b.length;)e=De(a)[0],f=e.jb(),0!==e.W()||f in a.g||(a.g[f]=!0,++a.l,++d,e.load())};function Je(a){return function(b,c,d){if(void 0!==b)return b=ga(a,b,d),b=wa(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 Le(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 Me(a){if(void 0!==a)return 0}function Ne(a,b){if(void 0!==a)return a+b}function Oe(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 Pe(){var a=Ca(5);return function(b,c){if(void 0!==b)return Math.abs(b+c)<=a?0:b+c}};function Qe(a,b){var c=void 0!==b?a.toFixed(b):""+a,d=c.indexOf("."),d=-1===d?c.length:d;return 2<d?c:Array(3-d).join("0")+c}function Re(a){a=(""+a).split(".");for(var b=["1","3"],c=0;c<Math.max(a.length,b.length);c++){var d=parseInt(a[c]||"0",10),e=parseInt(b[c]||"0",10);if(d>e)return 1;if(e>d)return-1}return 0};function Se(a,b){a[0]+=b[0];a[1]+=b[1];return a}function Te(a,b){var c=a[0],d=a[1],e=b[0],f=b[1],g=e[0],e=e[1],h=f[0],f=f[1],l=h-g,m=f-e,c=l||m?(l*(c-g)+m*(d-e))/(l*l+m*m||0):0;0>=c||(1<=c?(g=h,e=f):(g+=c*l,e+=c*m));return[g,e]}function Ue(a,b,c){a=Da(a+180,360)-180;var d=Math.abs(3600*a);return Math.floor(d/3600)+"\u00b0 "+Qe(Math.floor(d/60%60))+"\u2032 "+Qe(d%60,c||0)+"\u2033 "+b.charAt(0>a?1:0)}function Ve(a,b,c){return a?b.replace("{x}",a[0].toFixed(c)).replace("{y}",a[1].toFixed(c)):""}
94
- function We(a,b){for(var c=!0,d=a.length-1;0<=d;--d)if(a[d]!=b[d]){c=!1;break}return c}function Xe(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;return a}function Ye(a,b){a[0]*=b;a[1]*=b}function Ze(a,b){var c=a[0]-b[0],d=a[1]-b[1];return c*c+d*d}function $e(a,b){return Math.sqrt(Ze(a,b))}function af(a,b){return Ze(a,Te(a,b))}function bf(a,b){return Ve(a,"{x}, {y}",b)};function cf(){return!0}function df(){return!1};function ef(){Ic.call(this);this.o=Ja();this.v=-1;this.i={};this.j=this.g=0}u(ef,Ic);k=ef.prototype;k.Bb=function(a,b){var c=b?b:[NaN,NaN];this.Hb(a[0],a[1],c,Infinity);return c};k.tb=function(a){return this.Pc(a[0],a[1])};k.Pc=df;k.D=function(a){this.v!=this.f&&(this.o=this.oe(this.o),this.v=this.f);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.Qb=function(a){return this.Rd(a*a)};k.ub=function(a,b){this.Ec(Vb(a,b));return this};function ff(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 gf(a,b,c,d,e,f){var g=f?f:[],h=0,l,m;for(l=0;l<b;l+=c)for(g[h++]=a[l]+d,g[h++]=a[l+1]+e,m=l+2;m<l+c;++m)g[h++]=a[m];f&&g.length!=h&&(g.length=h);return g};function E(){ef.call(this);this.la="XY";this.a=2;this.B=null}u(E,ef);function hf(a){var b;"XY"==a?b=2:"XYZ"==a||"XYM"==a?b=3:"XYZM"==a&&(b=4);return b}k=E.prototype;k.Pc=df;k.oe=function(a){return Ya(this.B,0,this.B.length,this.a,a)};k.cc=function(){return this.B.slice(0,this.a)};k.ia=function(){return this.B};k.dc=function(){return this.B.slice(this.B.length-this.a)};k.ec=function(){return this.la};
95
- k.Rd=function(a){this.j!=this.f&&(rb(this.i),this.g=0,this.j=this.f);if(0>a||this.g&&a<=this.g)return this;var b=a.toString();if(this.i.hasOwnProperty(b))return this.i[b];var c=this.ld(a);if(c.ia().length<this.B.length)return this.i[b]=c;this.g=a;return this};k.ld=function(){return this};k.ta=function(){return this.a};function jf(a,b,c){a.a=hf(b);a.la=b;a.B=c}
96
- function kf(a,b,c,d){if(b)c=hf(b);else{for(b=0;b<d;++b)if(c.length)c=c[0];else{a.la="XY";a.a=2;return}c=c.length;var e;2==c?e="XY":3==c?e="XYZ":4==c&&(e="XYZM");b=e}a.la=b;a.a=c}k.Ec=function(a){this.B&&(a(this.B,this.B,this.a),this.s())};
97
- k.rotate=function(a,b){var c=this.ia();if(c){for(var d=c.length,e=this.ta(),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,r=c[p+1]-m;f[n++]=l+q*g-r*h;f[n++]=m+q*h+r*g;for(q=p+2;q<p+e;++q)f[n++]=c[q]}c&&f.length!=n&&(f.length=n);this.s()}};
98
- k.scale=function(a,b,c){var d=b;void 0===d&&(d=a);var e=c;e||(e=kb(this.D()));if(c=this.ia()){b=c.length;for(var f=this.ta(),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.s()}};k.translate=function(a,b){var c=this.ia();c&&(gf(c,c.length,this.ta(),a,b,c),this.s())};function lf(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 mf(a,b,c,d){var e=0,f,g;f=0;for(g=c.length;f<g;++f){var h=c[f],e=e+lf(a,b,h,d);b=h}return e};function nf(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(m||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]=Ea(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 of(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=Ba(f,g,h,l);f>e&&(e=f);f=h;g=l}return e}function pf(a,b,c,d,e){var f,g;f=0;for(g=c.length;f<g;++f){var h=c[f];e=of(a,b,h,d,e);b=h}return e}
99
- function qf(a,b,c,d,e,f,g,h,l,m,n){if(b==c)return m;var p;if(!e){p=Ba(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],r=b+d;r<c;)if(nf(a,r-d,r,d,g,h,q),p=Ba(g,h,q[0],q[1]),p<m){m=p;for(n=0;n<d;++n)l[n]=q[n];l.length=d;r+=d}else r+=d*Math.max((Math.sqrt(p)-Math.sqrt(m))/e|0,1);if(f&&(nf(a,c-d,b,d,g,h,q),p=Ba(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}
100
- function rf(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 r=c[p];m=qf(a,b,r,d,e,f,g,h,l,m,n);b=r}return m};function sf(a,b){var c=0,d,e;d=0;for(e=b.length;d<e;++d)a[c++]=b[d];return c}function tf(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 uf(a,b,c,d,e){e=e?e:[];var f=0,g,h;g=0;for(h=c.length;g<h;++g)b=tf(a,b,c[g],d),e[f++]=b;e.length=f;return e};function vf(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 wf(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++]=vf(a,b,l,d,e[f]);b=l}e.length=f;return e};function xf(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(),r=0,v=a[q],x=a[q+1],y=a[p],z=a[p+1];for(n=q+d;n<p;n+=d){var A=Aa(a[n],a[n+1],v,x,y,z);A>r&&(m=n,r=A)}r>e&&(l[(m-b)/d]=1,q+d<m&&c.push(q,m),m+d<p&&c.push(m,p))}for(n=0;n<h;++n)l[n]&&(f[g++]=a[b+n*d],f[g++]=a[b+n*d+1]);return g}
101
- function yf(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,q=a,r=n,v=d,x=e,y=f,z=g;if(b!=r){var A=x*Math.round(q[b]/x),Y=x*Math.round(q[b+1]/x);b+=v;y[z++]=A;y[z++]=Y;do if(p=x*Math.round(q[b]/x),g=x*Math.round(q[b+1]/x),b+=v,b==r){y[z++]=p;y[z++]=g;g=z;break a}while(p==A&&g==Y);for(;b<r;){var Qa,xa;Qa=x*Math.round(q[b]/x);xa=x*Math.round(q[b+1]/x);b+=v;if(Qa!=p||xa!=g){var Oa=p-A,C=g-Y,Pa=Qa-A,Gb=xa-Y;Oa*Gb==C*Pa&&(0>Oa&&Pa<Oa||Oa==Pa||0<Oa&&Pa>Oa)&&(0>C&&Gb<C||C==Gb||0<
102
- C&&Gb>C)||(y[z++]=p,y[z++]=g,A=p,Y=g);p=Qa;g=xa}}y[z++]=p;y[z++]=g}g=z}h.push(g);b=n}return g};function zf(a,b){E.call(this);this.c=this.l=-1;this.qa(a,b)}u(zf,E);k=zf.prototype;k.clone=function(){var a=new zf(null);Af(a,this.la,this.B.slice());return a};k.Hb=function(a,b,c,d){if(d<Na(this.D(),a,b))return d;this.c!=this.f&&(this.l=Math.sqrt(of(this.B,0,this.B.length,this.a,0)),this.c=this.f);return qf(this.B,0,this.B.length,this.a,this.l,!0,a,b,c,d)};k.Lm=function(){return lf(this.B,0,this.B.length,this.a)};k.Y=function(){return vf(this.B,0,this.B.length,this.a)};
103
- k.ld=function(a){var b=[];b.length=xf(this.B,0,this.B.length,this.a,a,b,0);a=new zf(null);Af(a,"XY",b);return a};k.U=function(){return"LinearRing"};k.Ya=function(){};k.qa=function(a,b){a?(kf(this,b,a,1),this.B||(this.B=[]),this.B.length=tf(this.B,0,a,this.a),this.s()):Af(this,"XY",null)};function Af(a,b,c){jf(a,b,c);a.s()};function F(a,b){E.call(this);this.qa(a,b)}u(F,E);k=F.prototype;k.clone=function(){var a=new F(null);a.da(this.la,this.B.slice());return a};k.Hb=function(a,b,c,d){var e=this.B;a=Ba(a,b,e[0],e[1]);if(a<d){d=this.a;for(b=0;b<d;++b)c[b]=e[b];c.length=d;return a}return d};k.Y=function(){return this.B?this.B.slice():[]};k.oe=function(a){return Xa(this.B,a)};k.U=function(){return"Point"};k.Ya=function(a){return Sa(a,this.B[0],this.B[1])};
104
- k.qa=function(a,b){a?(kf(this,b,a,0),this.B||(this.B=[]),this.B.length=sf(this.B,a),this.s()):this.da("XY",null)};k.da=function(a,b){jf(this,a,b);this.s()};function Bf(a,b,c,d,e){return!bb(e,function(e){return!Cf(a,b,c,d,e[0],e[1])})}function Cf(a,b,c,d,e,f){for(var g=0,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&&0<(m-h)*(f-l)-(e-h)*(n-l)&&g++:n<=f&&0>(m-h)*(f-l)-(e-h)*(n-l)&&g--;h=m;l=n}return!!g}function Df(a,b,c,d,e,f){if(!c.length||!Cf(a,b,c[0],d,e,f))return!1;var g;b=1;for(g=c.length;b<g;++b)if(Cf(a,c[b-1],c[b],d,e,f))return!1;return!0};function Ef(a,b,c,d,e,f,g){var h,l,m,n,p,q=e[f+1],r=[],v=c[0];m=a[v-d];p=a[v-d+1];for(h=b;h<v;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,r.push(m);m=n;p=l}v=NaN;p=-Infinity;r.sort(ea);m=r[0];h=1;for(l=r.length;h<l;++h){n=r[h];var x=Math.abs(n-m);x>p&&(m=(m+n)/2,Df(a,b,c,d,m,q)&&(v=m,p=x));m=n}isNaN(v)&&(v=e[f]);return g?(g.push(v,q),g):[v,q]};function Ff(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 Gf(a,b,c,d,e){var f=Za(Ja(),a,b,c,d);return nb(e,f)?Ta(e,f)||f[0]>=e[0]&&f[2]<=e[2]||f[1]>=e[1]&&f[3]<=e[3]?!0:Ff(a,b,c,d,function(a,b){var c=!1,d=Va(e,a),f=Va(e,b);if(1===d||1===f)c=!0;else{var g=e[0],h=e[1],r=e[2],v=e[3],x=b[0],y=b[1],z=(y-a[1])/(x-a[0]);f&2&&!(d&2)&&(c=x-(y-v)/z,c=c>=g&&c<=r);c||!(f&4)||d&4||(c=y-(x-r)*z,c=c>=h&&c<=v);c||!(f&8)||d&8||(c=x-(y-h)/z,c=c>=g&&c<=r);c||!(f&16)||d&16||(c=y-(x-g)*z,c=c>=h&&c<=v)}return c}):!1}
105
- function Hf(a,b,c,d,e){var f=c[0];if(!(Gf(a,b,f,d,e)||Cf(a,b,f,d,e[0],e[1])||Cf(a,b,f,d,e[0],e[3])||Cf(a,b,f,d,e[2],e[1])||Cf(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(Bf(a,c[b-1],c[b],d,e))return!1;return!0};function If(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 Jf(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=If(a,e,h,c);if(!f){if(d&&e||!d&&!e)return!1}else if(d&&!e||!d&&e)return!1;e=h}return!0}
106
- function Kf(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=If(a,b,h,d);if(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 Lf(a,b,c,d){var e=0,f,g;f=0;for(g=b.length;f<g;++f)e=Kf(a,e,b[f],c,d);return e};function G(a,b){E.call(this);this.c=[];this.u=-1;this.A=null;this.S=this.C=this.G=-1;this.l=null;this.qa(a,b)}u(G,E);k=G.prototype;k.Wj=function(a){this.B?ha(this.B,a.ia()):this.B=a.ia().slice();this.c.push(this.B.length);this.s()};k.clone=function(){var a=new G(null);a.da(this.la,this.B.slice(),this.c.slice());return a};
107
- k.Hb=function(a,b,c,d){if(d<Na(this.D(),a,b))return d;this.C!=this.f&&(this.G=Math.sqrt(pf(this.B,0,this.c,this.a,0)),this.C=this.f);return rf(this.B,0,this.c,this.a,this.G,!0,a,b,c,d)};k.Pc=function(a,b){return Df(this.gc(),0,this.c,this.a,a,b)};k.Om=function(){return mf(this.gc(),0,this.c,this.a)};k.Y=function(a){var b;void 0!==a?(b=this.gc().slice(),Kf(b,0,this.c,this.a,a)):b=this.B;return wf(b,0,this.c,this.a)};k.Sb=function(){return this.c};
108
- function Mf(a){if(a.u!=a.f){var b=kb(a.D());a.A=Ef(a.gc(),0,a.c,a.a,b,0);a.u=a.f}return a.A}k.zk=function(){return new F(Mf(this))};k.Fk=function(){return this.c.length};k.oh=function(a){if(0>a||this.c.length<=a)return null;var b=new zf(null);Af(b,this.la,this.B.slice(a?this.c[a-1]:0,this.c[a]));return b};k.kd=function(){var a=this.la,b=this.B,c=this.c,d=[],e=0,f,g;f=0;for(g=c.length;f<g;++f){var h=c[f],l=new zf(null);Af(l,a,b.slice(e,h));d.push(l);e=h}return d};
109
- k.gc=function(){if(this.S!=this.f){var a=this.B;Jf(a,this.c,this.a)?this.l=a:(this.l=a.slice(),this.l.length=Kf(this.l,0,this.c,this.a));this.S=this.f}return this.l};k.ld=function(a){var b=[],c=[];b.length=yf(this.B,0,this.c,this.a,Math.sqrt(a),b,0,c);a=new G(null);a.da("XY",b,c);return a};k.U=function(){return"Polygon"};k.Ya=function(a){return Hf(this.gc(),0,this.c,this.a,a)};
110
- k.qa=function(a,b){if(a){kf(this,b,a,2);this.B||(this.B=[]);var c=uf(this.B,0,a,this.a,this.c);this.B.length=c.length?c[c.length-1]:0;this.s()}else this.da("XY",null,this.c)};k.da=function(a,b,c){jf(this,a,b);this.c=c;this.s()};function Nf(a,b,c,d){var e=d?d:32;d=[];var f;for(f=0;f<e;++f)ha(d,a.offset(b,c,2*Math.PI*f/e));d.push(d[0],d[1]);a=new G(null);a.da("XY",d,[d.length]);return a}
111
- function Of(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 G(null);c.da("XY",b,[b.length]);return c}function Pf(a,b,c){var d=b?b:32,e=a.ta();b=a.la;for(var f=new G(null,b),d=e*(d+1),e=Array(d),g=0;g<d;g++)e[g]=0;f.da(b,e,[e.length]);Qf(f,a.Ca(),a.Wd(),c);return f}function Qf(a,b,c,d){var e=a.ia(),f=a.la,g=a.ta(),h=a.Sb(),l=e.length/g-1;d=d?d:0;for(var m,n,p=0;p<=l;++p)n=p*g,m=d+2*Da(p,l)*Math.PI/l,e[n]=b[0]+c*Math.cos(m),e[n+1]=b[1]+c*Math.sin(m);a.da(f,e,h)};function Rf(a){Ic.call(this);a=a||{};this.l=[0,0];this.c=[];this.mf=this.mf.bind(this);var b={};b.center=void 0!==a.center?a.center:null;this.o=Rb(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=Je(c);else{d=Rb(a.projection);e=d.D();var h=(e?Math.max(ib(e),jb(e)):360*wb.degrees/d.tc())/256/Math.pow(2,0),l=h/Math.pow(2,28);d=a.maxResolution;void 0!==
112
- d?f=0:d=h/Math.pow(g,f);e=a.minResolution;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=Le(g,d,c-f)}this.a=d;this.i=e;this.A=g;this.g=a.resolutions;this.j=f;(void 0!==a.enableRotation?a.enableRotation:1)?(f=a.constrainRotation,f=void 0===f||!0===f?Pe():!1===f?Ne:"number"===typeof f?Oe(f):Ne):f=Me;this.u=new Yc(void 0!==a.extent?pc(a.extent):qc,c,f);void 0!==a.resolution?b.resolution=a.resolution:
113
- void 0!==a.zoom&&(b.resolution=this.constrainResolution(this.a,a.zoom-this.j));b.rotation=void 0!==a.rotation?a.rotation:0;this.H(b)}u(Rf,Ic);k=Rf.prototype;
114
- k.animate=function(a){var b=Date.now(),c=this.Ca().slice(),d=this.Va(),e=this.Wa(),f=arguments.length,g;1<f&&"function"===typeof arguments[f-1]&&(g=arguments[f-1],--f);for(var h=[],l=0;l<f;++l){var m=arguments[l],n={start:b,complete:!1,anchor:m.anchor,duration:void 0!==m.duration?m.duration:1E3,easing:m.easing||id};m.center&&(n.Cg=c,n.Eg=m.center,c=n.Eg);void 0!==m.zoom?(n.jf=d,n.kf=this.constrainResolution(this.a,m.zoom-this.j,0),d=n.kf):m.resolution&&(n.jf=d,n.kf=m.resolution,d=n.kf);void 0!==m.rotation&&
115
- (n.Dg=e,n.Yi=m.rotation,e=n.Yi);n.gd=g;b+=n.duration;h.push(n)}this.c.push(h);Sf(this,0,1);this.mf()};function od(a){Sf(a,0,-nd(a)[0]);for(var b=0,c=a.c.length;b<c;++b){var d=a.c[b];d[0].gd&&d[0].gd(!1)}a.c.length=0}
116
- k.mf=function(){void 0!==this.v&&(cancelAnimationFrame(this.v),this.v=void 0);if(0<nd(this)[0]){for(var a=Date.now(),b=!1,c=this.c.length-1;0<=c;--c){for(var d=this.c[c],e=!0,f=0,g=d.length;f<g;++f){var h=d[f];if(!h.complete){b=a-h.start;b=0<h.duration?b/h.duration:1;1<=b?(h.complete=!0,b=1):e=!1;b=h.easing(b);if(h.Cg){var l=h.Cg[0],m=h.Cg[1];this.set("center",[l+b*(h.Eg[0]-l),m+b*(h.Eg[1]-m)])}h.jf&&(l=h.jf+b*(h.kf-h.jf),h.anchor&&this.set("center",Tf(this,l,h.anchor)),this.set("resolution",l));
117
- void 0!==h.Dg&&(b=h.Dg+b*(h.Yi-h.Dg),h.anchor&&this.set("center",Uf(this,b,h.anchor)),this.set("rotation",b));b=!0;if(!h.complete)break}}e&&(this.c[c]=null,Sf(this,0,-1),(d=d[0].gd)&&d(!0))}this.c=this.c.filter(Boolean);b&&void 0===this.v&&(this.v=requestAnimationFrame(this.mf))}};function Uf(a,b,c){var d,e=a.Ca();void 0!==e&&(d=[e[0]-c[0],e[1]-c[1]],Xe(d,b-a.Wa()),Se(d,c));return d}
118
- function Tf(a,b,c){var d,e=a.Ca();a=a.Va();void 0!==e&&void 0!==a&&(d=[c[0]-b*(c[0]-e[0])/a,c[1]-b*(c[1]-e[1])/a]);return d}function Vf(a){var b=[100,100];a='.ol-viewport[data-view="'+w(a)+'"]';if(a=document.querySelector(a))a=getComputedStyle(a),b[0]=parseInt(a.width,10),b[1]=parseInt(a.height,10);return b}k.Fc=function(a){return this.u.center(a)};k.constrainResolution=function(a,b,c){return this.u.resolution(a,b||0,c||0)};k.constrainRotation=function(a,b){return this.u.rotation(a,b||0)};k.Ca=function(){return this.get("center")};
119
- function nd(a,b){return void 0!==b?(b[0]=a.l[0],b[1]=a.l[1],b):a.l.slice()}k.fd=function(a){a=a||Vf(this);var b=this.Ca();ra(b,1);var c=this.Va();ra(void 0!==c,2);var d=this.Wa();ra(void 0!==d,3);return lb(b,c,d,a)};k.tm=function(){return this.a};k.um=function(){return this.i};k.vm=function(){return this.o};k.Va=function(){return this.get("resolution")};k.wm=function(){return this.g};function Wf(a,b){return Math.max(ib(a)/b[0],jb(a)/b[1])}
120
- function Xf(a){var b=a.a,c=Math.log(b/a.i)/Math.log(2);return function(a){return b/Math.pow(2,a*c)}}k.Wa=function(){return this.get("rotation")};function Yf(a){var b=a.a,c=Math.log(b/a.i)/Math.log(2);return function(a){return Math.log(b/a)/Math.log(2)/c}}k.W=function(){var a=this.Ca(),b=this.o,c=this.Va(),d=this.Wa();return{center:a.slice(),projection:void 0!==b?b:null,resolution:c,rotation:d}};
121
- k.al=function(){var a,b=this.Va();if(void 0!==b&&b>=this.i&&b<=this.a){a=this.j||0;var c,d;if(this.g){d=ga(this.g,b,1);a+=d;if(d==this.g.length-1)return a;c=this.g[d];d=c/this.g[d+1]}else c=this.a,d=this.A;a+=Math.log(c/b)/Math.log(d)}return a};
122
- k.Gf=function(a,b){var c=b||{},d=c.size;d||(d=Vf(this));var e;a instanceof E?"Circle"===a.U()?(a=a.D(),e=Of(a),e.rotate(this.Wa(),kb(a))):e=a:(ra(Array.isArray(a),24),ra(!hb(a),25),e=Of(a));var f=c.padding?c.padding:[0,0,0,0],g=void 0!==c.constrainResolution?c.constrainResolution:!0,h=void 0!==c.nearest?c.nearest:!1,l;void 0!==c.minResolution?l=c.minResolution:void 0!==c.maxZoom?l=this.constrainResolution(this.a,c.maxZoom-this.j,0):l=0;var m=e.ia(),n=this.Wa(),p=Math.cos(-n),n=Math.sin(-n),q=Infinity,
123
- r=Infinity,v=-Infinity,x=-Infinity;e=e.ta();for(var y=0,z=m.length;y<z;y+=e)var A=m[y]*p-m[y+1]*n,Y=m[y]*n+m[y+1]*p,q=Math.min(q,A),r=Math.min(r,Y),v=Math.max(v,A),x=Math.max(x,Y);d=Wf([q,r,v,x],[d[0]-f[1]-f[3],d[1]-f[0]-f[2]]);d=isNaN(d)?l:Math.max(d,l);g&&(g=this.constrainResolution(d,0,0),!h&&g<d&&(g=this.constrainResolution(g,-1,0)),d=g);n=-n;h=(q+v)/2+(f[1]-f[3])/2*d;f=(r+x)/2+(f[0]-f[2])/2*d;p=[h*p-f*n,f*p+h*n];void 0!==c.duration?this.animate({resolution:d,center:p,duration:c.duration,easing:c.easing}):
124
- (this.Yc(d),this.xb(p))};k.ak=function(a,b,c){var d=this.Wa(),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.Va(),f=f+(b[0]/2-c[0])*g;a+=(c[1]-b[1]/2)*g;d=-d;this.xb([f*e-a*d,a*e+f*d])};function Zf(a){return!!a.Ca()&&void 0!==a.Va()}k.rotate=function(a,b){if(void 0!==b){var c=Uf(this,a,b);this.xb(c)}this.Ie(a)};k.xb=function(a){this.set("center",a);0<nd(this)[0]&&od(this)};function Sf(a,b,c){a.l[b]+=c;a.s()}k.Yc=function(a){this.set("resolution",a);0<nd(this)[0]&&od(this)};
125
- k.Ie=function(a){this.set("rotation",a);0<nd(this)[0]&&od(this)};k.zp=function(a){a=this.constrainResolution(this.a,a-this.j,0);this.Yc(a)};function $f(a,b,c){this.i=a;this.c=b;this.g=c;this.b=[];this.a=this.f=0};function ag(a){Ic.call(this);this.v=null;this.Ja(!0);this.handleEvent=a.handleEvent}u(ag,Ic);ag.prototype.c=function(){return this.get("active")};ag.prototype.i=function(){return this.v};ag.prototype.Ja=function(a){this.set("active",a)};ag.prototype.setMap=function(a){this.v=a};function bg(a,b,c,d){if(void 0!==b){var e=a.Wa(),f=a.Ca();void 0!==e&&f&&0<d?a.animate({rotation:b,anchor:c,duration:d,easing:hd}):a.rotate(b,c)}}
126
- function cg(a,b,c,d){var e=a.Va();b=a.constrainResolution(e,b,0);if(c&&void 0!==b&&b!==e){var f=a.Ca();c=Tf(a,b,c);c=a.Fc(c);c=[(b*f[0]-e*c[0])/(b-e),(b*f[1]-e*c[1])/(b-e)]}dg(a,b,c,d)}function dg(a,b,c,d){if(b){var e=a.Va(),f=a.Ca();void 0!==e&&f&&b!==e&&d?a.animate({resolution:b,anchor:c,duration:d,easing:hd}):(c&&(c=Tf(a,b,c),a.xb(c)),a.Yc(b))}};function eg(a){a=a?a:{};this.a=a.delta?a.delta:1;ag.call(this,{handleEvent:fg});this.g=void 0!==a.duration?a.duration:250}u(eg,ag);function fg(a){var b=!1,c=a.originalEvent;if("dblclick"==a.type){var b=a.coordinate,c=c.shiftKey?-this.a:this.a,d=a.map.aa();cg(d,c,b,this.g);a.preventDefault();b=!0}return!b};function gg(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}function hg(a){a=a.originalEvent;return!a.button&&!(Kd&&Ld&&a.ctrlKey)}function ig(a){return"pointermove"==a.type}function jg(a){return"singleclick"==a.type}function kg(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey}function lg(a){a=a.originalEvent;return!a.altKey&&!(a.metaKey||a.ctrlKey)&&a.shiftKey}
127
- function mg(a){a=a.originalEvent.target.tagName;return"INPUT"!==a&&"SELECT"!==a&&"TEXTAREA"!==a}function ng(a){ra(a.b,56);return"mouse"==a.b.pointerType}function og(a){a=a.b;return a.isPrimary&&0===a.button};function pg(a){a=a?a:{};ag.call(this,{handleEvent:a.handleEvent?a.handleEvent:qg});this.tf=a.handleDownEvent?a.handleDownEvent:df;this.qf=a.handleDragEvent?a.handleDragEvent:oa;this.yf=a.handleMoveEvent?a.handleMoveEvent:oa;this.zf=a.handleUpEvent?a.handleUpEvent:df;this.A=!1;this.Z={};this.l=[]}u(pg,ag);function rg(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]}
128
- function qg(a){if(!(a instanceof Dd))return!0;var b=!1,c=a.type;if("pointerdown"===c||"pointerdrag"===c||"pointerup"===c)c=a.b,"pointerup"==a.type?delete this.Z[c.pointerId]:"pointerdown"==a.type?this.Z[c.pointerId]=c:c.pointerId in this.Z&&(this.Z[c.pointerId]=c),this.l=sb(this.Z);this.A?"pointerdrag"==a.type?this.qf(a):"pointerup"==a.type&&(this.A=this.zf(a)&&0<this.l.length):"pointerdown"==a.type?(this.A=a=this.tf(a),b=this.$c(a)):"pointermove"==a.type&&this.yf(a);return!b}pg.prototype.$c=function(a){return a};function sg(a){pg.call(this,{handleDownEvent:tg,handleDragEvent:ug,handleUpEvent:vg});a=a?a:{};this.a=a.kinetic;this.g=null;this.o=a.condition?a.condition:kg;this.j=!1}u(sg,pg);function ug(a){var b=rg(this.l);this.a&&this.a.b.push(b[0],b[1],Date.now());if(this.g){var c=this.g[0]-b[0],d=b[1]-this.g[1];a=a.map.aa();var e=a.W(),c=[c,d];Ye(c,e.resolution);Xe(c,e.rotation);Se(c,e.center);c=a.Fc(c);a.xb(c)}this.g=b}
129
- function vg(a){var b=a.map;a=b.aa();if(this.l.length)return this.a&&(a=this.a,a.b.length=0,a.f=0,a.a=0),this.g=null,!0;var c;if(c=!this.j&&this.a)if(c=this.a,6>c.b.length)c=!1;else{var d=Date.now()-c.g,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.f=Math.atan2(e,g);c.a=Math.sqrt(g*g+e*e)/d;c=c.a>c.c}}c&&(c=this.a,c=(c.c-c.a)/c.i,e=this.a.f,f=a.Ca(),f=b.La(f),b=b.$a([f[0]-c*Math.cos(e),f[1]-c*Math.sin(e)]),a.animate({center:a.Fc(b),
130
- duration:500,easing:hd}));Sf(a,1,-1);return!1}function tg(a){if(0<this.l.length&&this.o(a)){var b=a.map.aa();this.g=null;this.A||Sf(b,1,1);nd(b)[0]&&b.xb(a.frameState.viewState.center);this.a&&(a=this.a,a.b.length=0,a.f=0,a.a=0);this.j=1<this.l.length;return!0}return!1}sg.prototype.$c=df;function wg(a){a=a?a:{};pg.call(this,{handleDownEvent:xg,handleDragEvent:yg,handleUpEvent:zg});this.g=a.condition?a.condition:gg;this.a=void 0;this.j=void 0!==a.duration?a.duration:250}u(wg,pg);function yg(a){if(ng(a)){var b=a.map,c=b.Nb();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 b=b.aa(),d=b.Wa();bg(b,d-a)}this.a=c}}function zg(a){if(!ng(a))return!0;a=a.map.aa();Sf(a,1,-1);var b=a.Wa(),c=this.j,b=a.constrainRotation(b,0);bg(a,b,void 0,c);return!1}
131
- function xg(a){return ng(a)&&hg(a)&&this.g(a)?(Sf(a.map.aa(),1,1),this.a=void 0,!0):!1}wg.prototype.$c=df;function Ag(a){this.Hc=null;this.a=document.createElement("div");this.a.style.position="absolute";this.a.className="ol-box "+a;this.f=this.c=this.b=null}u(Ag,Ac);Ag.prototype.sa=function(){this.setMap(null)};function Bg(a){var b=a.c,c=a.f;a=a.a.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"}
132
- Ag.prototype.setMap=function(a){if(this.b){this.b.A.removeChild(this.a);var b=this.a.style;b.left=b.top=b.width=b.height="inherit"}(this.b=a)&&this.b.A.appendChild(this.a)};function Cg(a){var b=a.c,c=a.f,b=[b,[b[0],c[1]],c,[c[0],b[1]]].map(a.b.$a,a.b);b[4]=b[0].slice();a.Hc?a.Hc.qa([b]):a.Hc=new G([b])}Ag.prototype.V=function(){return this.Hc};function Dg(a){pg.call(this,{handleDownEvent:Eg,handleDragEvent:Fg,handleUpEvent:Gg});a=a?a:{};this.a=new Ag(a.className||"ol-dragbox");this.g=null;this.u=a.condition?a.condition:cf;this.o=a.boxEndCondition?a.boxEndCondition:Hg}u(Dg,pg);function Hg(a,b,c){a=c[0]-b[0];b=c[1]-b[1];return 64<=a*a+b*b}function Fg(a){if(ng(a)){var b=this.a,c=a.pixel;b.c=this.g;b.f=c;Cg(b);Bg(b);this.b(new Ig(Jg,a.coordinate,a))}}Dg.prototype.V=function(){return this.a.V()};Dg.prototype.j=oa;
133
- function Gg(a){if(!ng(a))return!0;this.a.setMap(null);this.o(a,this.g,a.pixel)&&(this.j(a),this.b(new Ig(Kg,a.coordinate,a)));return!1}function Eg(a){if(ng(a)&&hg(a)&&this.u(a)){this.g=a.pixel;this.a.setMap(a.map);var b=this.a,c=this.g;b.c=this.g;b.f=c;Cg(b);Bg(b);this.b(new Ig(Lg,a.coordinate,a));return!0}return!1}var Lg="boxstart",Jg="boxdrag",Kg="boxend";function Ig(a,b,c){Cc.call(this,a);this.coordinate=b;this.mapBrowserEvent=c}u(Ig,Cc);function Mg(a){a=a?a:{};var b=a.condition?a.condition:lg;this.C=void 0!==a.duration?a.duration:200;this.G=void 0!==a.out?a.out:!1;Dg.call(this,{condition:b,className:a.className||"ol-dragzoom"})}u(Mg,Dg);
134
- Mg.prototype.j=function(){var a=this.v,b=a.aa(),c=a.Nb(),d=this.V().D();if(this.G){var e=b.fd(c),d=[a.La(cb(d)),a.La(eb(d))],a=Wa(Infinity,Infinity,-Infinity,-Infinity,void 0),f,g;f=0;for(g=d.length;f<g;++f)Ka(a,d[f]);ob(e,1/Wf(a,c));d=e}c=b.constrainResolution(Wf(d,c));e=kb(d);e=b.Fc(e);b.animate({resolution:c,center:e,duration:this.C,easing:hd})};function Ng(a){ag.call(this,{handleEvent:Og});a=a||{};this.a=function(a){return kg(a)&&mg(a)};this.g=a.condition?a.condition:this.a;this.l=void 0!==a.duration?a.duration:100;this.j=void 0!==a.pixelDelta?a.pixelDelta:128}u(Ng,ag);
135
- function Og(a){var b=!1;if("keydown"==a.type){var c=a.originalEvent.keyCode;if(this.g(a)&&(40==c||37==c||39==c||38==c)){var b=a.map.aa(),d=b.Va()*this.j,e=0,f=0;40==c?f=-d:37==c?e=-d:39==c?e=d:f=d;d=[e,f];Xe(d,b.Wa());c=this.l;if(e=b.Ca())d=b.Fc([e[0]+d[0],e[1]+d[1]]),c?b.animate({duration:c,easing:jd,center:d}):b.xb(d);a.preventDefault();b=!0}}return!b};function Pg(a){ag.call(this,{handleEvent:Qg});a=a?a:{};this.g=a.condition?a.condition:mg;this.a=a.delta?a.delta:1;this.l=void 0!==a.duration?a.duration:100}u(Pg,ag);function Qg(a){var b=!1;if("keydown"==a.type||"keypress"==a.type){var c=a.originalEvent.charCode;!this.g(a)||43!=c&&45!=c||(b=43==c?this.a:-this.a,c=a.map.aa(),cg(c,b,void 0,this.l),a.preventDefault(),b=!0)}return!b};function Rg(a){ag.call(this,{handleEvent:Sg});a=a||{};this.l=0;this.S=void 0!==a.duration?a.duration:250;this.Z=void 0!==a.timeout?a.timeout:80;this.A=void 0!==a.useAnchor?a.useAnchor:!0;this.a=null;this.o=this.j=this.u=this.g=void 0}u(Rg,ag);
136
- function Sg(a){var b=a.type;if("wheel"!==b&&"mousewheel"!==b)return!0;a.preventDefault();var b=a.map,c=a.originalEvent;this.A&&(this.a=a.coordinate);var d;"wheel"==a.type?(d=c.deltaY,Id&&c.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(d/=Md),c.deltaMode===WheelEvent.DOM_DELTA_LINE&&(d*=40)):"mousewheel"==a.type&&(d=-c.wheelDeltaY,Jd&&(d/=3));if(0===d)return!1;a=Date.now();void 0===this.g&&(this.g=a);if(!this.j||400<a-this.g)this.j=4>Math.abs(d)?Tg:Ug;if(this.j===Tg){b=b.aa();this.o?clearTimeout(this.o):
137
- Sf(b,1,1);this.o=setTimeout(this.C.bind(this),400);d=b.Va()*Math.pow(2,d/300);var c=b.i,e=b.a,f=0;d<c?(d=Math.max(d,c/1.5),f=1):d>e&&(d=Math.min(d,1.5*e),f=-1);if(this.a){var g=Tf(b,d,this.a);b.xb(b.Fc(g))}b.Yc(d);0<f?b.animate({resolution:c,easing:hd,anchor:this.a,duration:500}):0>f&&b.animate({resolution:e,easing:hd,anchor:this.a,duration:500});this.g=a;return!1}this.l+=d;a=Math.max(this.Z-(a-this.g),0);clearTimeout(this.u);this.u=setTimeout(this.G.bind(this,b),a);return!1}
138
- Rg.prototype.C=function(){this.o=void 0;Sf(this.v.aa(),1,-1)};Rg.prototype.G=function(a){a=a.aa();0<nd(a)[0]&&od(a);cg(a,-wa(this.l,-1,1),this.a,this.S);this.j=void 0;this.l=0;this.a=null;this.u=this.g=void 0};Rg.prototype.T=function(a){this.A=a;a||(this.a=null)};var Tg="trackpad",Ug="wheel";function Vg(a){pg.call(this,{handleDownEvent:Wg,handleDragEvent:Xg,handleUpEvent:Yg});a=a||{};this.g=null;this.j=void 0;this.a=!1;this.o=0;this.C=void 0!==a.threshold?a.threshold:.3;this.u=void 0!==a.duration?a.duration:250}u(Vg,pg);
139
- function Xg(a){var b=0,c=this.l[0],d=this.l[1],c=Math.atan2(d.clientY-c.clientY,d.clientX-c.clientX);void 0!==this.j&&(b=c-this.j,this.o+=b,!this.a&&Math.abs(this.o)>this.C&&(this.a=!0));this.j=c;a=a.map;c=a.c.getBoundingClientRect();d=rg(this.l);d[0]-=c.left;d[1]-=c.top;this.g=a.$a(d);this.a&&(c=a.aa(),d=c.Wa(),a.render(),bg(c,d+b,this.g))}
140
- function Yg(a){if(2>this.l.length){a=a.map.aa();Sf(a,1,-1);if(this.a){var b=a.Wa(),c=this.g,d=this.u,b=a.constrainRotation(b,0);bg(a,b,c,d)}return!1}return!0}function Wg(a){return 2<=this.l.length?(a=a.map,this.g=null,this.j=void 0,this.a=!1,this.o=0,this.A||Sf(a.aa(),1,1),!0):!1}Vg.prototype.$c=df;function Zg(a){pg.call(this,{handleDownEvent:$g,handleDragEvent:ah,handleUpEvent:bh});a=a?a:{};this.o=a.constrainResolution||!1;this.g=null;this.u=void 0!==a.duration?a.duration:400;this.a=void 0;this.j=1}u(Zg,pg);
141
- function ah(a){var b=1,c=this.l[0],d=this.l[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;a=a.map;var e=a.aa(),d=e.Va(),f=e.a,g=e.i,c=d*b;c>f?(b=f/d,c=f):c<g&&(b=g/d,c=g);1!=b&&(this.j=b);b=a.c.getBoundingClientRect();d=rg(this.l);d[0]-=b.left;d[1]-=b.top;this.g=a.$a(d);a.render();dg(e,c,this.g)}
142
- function bh(a){if(2>this.l.length){a=a.map.aa();Sf(a,1,-1);var b=a.Va();if(this.o||b<a.i||b>a.a){var c=this.g,d=this.u,b=a.constrainResolution(b,0,this.j-1);dg(a,b,c,d)}return!1}return!0}function $g(a){return 2<=this.l.length?(a=a.map,this.g=null,this.a=void 0,this.j=1,this.A||Sf(a.aa(),1,1),!0):!1}Zg.prototype.$c=df;function ch(a){a=a?a:{};var b=new D,c=new $f(-.005,.05,100);(void 0!==a.altShiftDragRotate?a.altShiftDragRotate:1)&&b.push(new wg);(void 0!==a.doubleClickZoom?a.doubleClickZoom:1)&&b.push(new eg({delta:a.zoomDelta,duration:a.zoomDuration}));(void 0!==a.dragPan?a.dragPan:1)&&b.push(new sg({kinetic:c}));(void 0!==a.pinchRotate?a.pinchRotate:1)&&b.push(new Vg);(void 0!==a.pinchZoom?a.pinchZoom:1)&&b.push(new Zg({duration:a.zoomDuration}));if(void 0!==a.keyboard?a.keyboard:1)b.push(new Ng),b.push(new Pg({delta:a.zoomDelta,
143
- duration:a.zoomDuration}));(void 0!==a.mouseWheelZoom?a.mouseWheelZoom:1)&&b.push(new Rg({duration:a.zoomDuration}));(void 0!==a.shiftDragZoom?a.shiftDragZoom:1)&&b.push(new Mg({duration:a.zoomDuration}));return b};function dh(a){Ic.call(this);var b=qb({},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.H(b);this.a={layer:this,Ee:!0}}u(dh,Ic);
144
- function eh(a){a.a.opacity=wa(a.jc(),0,1);a.a.Vi=a.Of();a.a.visible=a.Lb();a.a.extent=a.D();a.a.zIndex=a.Aa();a.a.maxResolution=a.hc();a.a.minResolution=Math.max(a.ic(),0);return a.a}k=dh.prototype;k.D=function(){return this.get("extent")};k.hc=function(){return this.get("maxResolution")};k.ic=function(){return this.get("minResolution")};k.jc=function(){return this.get("opacity")};k.Lb=function(){return this.get("visible")};k.Aa=function(){return this.get("zIndex")};
145
- k.vc=function(a){this.set("extent",a)};k.Ac=function(a){this.set("maxResolution",a)};k.Bc=function(a){this.set("minResolution",a)};k.wc=function(a){this.set("opacity",a)};k.xc=function(a){this.set("visible",a)};k.Xb=function(a){this.set("zIndex",a)};function fh(a){var b=a||{};a=qb({},b);delete a.layers;b=b.layers;dh.call(this,a);this.i=[];this.c={};B(this,Kc(gh),this.ol,this);b?Array.isArray(b)?b=new D(b.slice()):ra(b instanceof D,43):b=new D;this.Th(b)}u(fh,dh);k=fh.prototype;k.Ed=function(){};k.Ae=function(){this.Lb()&&this.s()};
146
- k.ol=function(){this.i.forEach(sc);this.i.length=0;var a=this.pd();this.i.push(B(a,"add",this.nl,this),B(a,"remove",this.pl,this));for(var b in this.c)this.c[b].forEach(sc);rb(this.c);var a=a.a,c,d;b=0;for(c=a.length;b<c;b++)d=a[b],this.c[w(d).toString()]=[B(d,"propertychange",this.Ae,this),B(d,"change",this.Ae,this)];this.s()};k.nl=function(a){a=a.element;var b=w(a).toString();this.c[b]=[B(a,"propertychange",this.Ae,this),B(a,"change",this.Ae,this)];this.s()};
147
- k.pl=function(a){a=w(a.element).toString();this.c[a].forEach(sc);delete this.c[a];this.s()};k.pd=function(){return this.get(gh)};k.Th=function(a){this.set(gh,a)};
148
- k.Mf=function(a){var b=void 0!==a?a:[],c=b.length;this.pd().forEach(function(a){a.Mf(b)});a=eh(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?mb(e.extent,a.extent):a.extent);return b};k.Of=function(){return"ready"};var gh="layers";function hh(a){yb.call(this,{code:a,units:"m",extent:ih,global:!0,worldExtent:jh,getPointResolution:function(a,c){return a/ya(c[1]/6378137)}})}u(hh,yb);var kh=6378137*Math.PI,ih=[-kh,-kh,kh,kh],jh=[-180,-85,180,85],Lb="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 hh(a)});
149
- function Nb(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]=kh*a[e]/180;var f=6378137*Math.log(Math.tan(Math.PI*(a[e+1]+90)/360));f>kh?f=kh:f<-kh&&(f=-kh);b[e+1]=f}return b}function Ob(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]/kh,b[e+1]=360*Math.atan(Math.exp(a[e+1]/6378137))/Math.PI-90;return b};var mh=new ub(6378137);function nh(a,b){yb.call(this,{code:a,units:"degrees",extent:oh,axisOrientation:b,global:!0,metersPerUnit:ph,worldExtent:oh})}u(nh,yb);var oh=[-180,-90,180,90],ph=Math.PI*mh.radius/180,Pb=[new nh("CRS:84"),new nh("EPSG:4326","neu"),new nh("urn:ogc:def:crs:EPSG::4326","neu"),new nh("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new nh("urn:ogc:def:crs:OGC:1.3:CRS84"),new nh("urn:ogc:def:crs:OGC:2:84"),new nh("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new nh("urn:x-ogc:def:crs:EPSG:4326","neu")];function qh(){Hb(Lb);Hb(Pb);Kb()};function rh(a){var b=qb({},a);delete b.source;dh.call(this,b);this.u=this.o=this.j=null;a.map&&this.setMap(a.map);B(this,Kc("source"),this.Bl,this);this.Zc(a.source?a.source:null)}u(rh,dh);function sh(a,b){return a.visible&&b>=a.minResolution&&b<a.maxResolution}k=rh.prototype;k.Mf=function(a){a=a?a:[];a.push(eh(this));return a};k.ma=function(){return this.get("source")||null};k.Of=function(){var a=this.ma();return a?a.W():"undefined"};k.ln=function(){this.s()};
150
- k.Bl=function(){this.u&&(sc(this.u),this.u=null);var a=this.ma();a&&(this.u=B(a,"change",this.ln,this));this.s()};k.setMap=function(a){this.j&&(sc(this.j),this.j=null);a||this.s();this.o&&(sc(this.o),this.o=null);a&&(this.j=B(a,"precompose",function(a){var b=eh(this);b.Ee=!1;b.zIndex=Infinity;a.frameState.layerStatesArray.push(b);a.frameState.layerStates[w(this)]=b},this),this.o=B(this,"change",a.render,a),this.s())};k.Zc=function(a){this.set("source",a)};function th(){this.b={};this.a=0}th.prototype.clear=function(){this.b={};this.a=0};th.prototype.get=function(a,b,c){a=b+":"+a+":"+(c?Uc(c):"null");return a in this.b?this.b[a]:null};th.prototype.set=function(a,b,c,d){this.b[b+":"+a+":"+(c?Uc(c):"null")]=d;++this.a};var uh=new th;var vh=Array(6);function wh(){return[1,0,0,1,0,0]}function xh(a){return yh(a,1,0,0,1,0,0)}function zh(a,b){var c=a[0],d=a[1],e=a[2],f=a[3],g=a[4],h=a[5],l=b[0],m=b[1],n=b[2],p=b[3],q=b[4],r=b[5];a[0]=c*l+e*m;a[1]=d*l+f*m;a[2]=c*n+e*p;a[3]=d*n+f*p;a[4]=c*q+e*r+g;a[5]=d*q+f*r+h;return a}function yh(a,b,c,d,e,f,g){a[0]=b;a[1]=c;a[2]=d;a[3]=e;a[4]=f;a[5]=g;return a}function Ah(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}
151
- function Bh(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 Ch(a,b){var c=Math.cos(b),d=Math.sin(b);zh(a,yh(vh,c,d,-d,c,0,0))}function Dh(a,b,c){return zh(a,yh(vh,b,0,0,c,0,0))}function Eh(a,b,c){zh(a,yh(vh,1,0,0,1,b,c))}function Fh(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}
152
- function Gh(a){var b=a[0]*a[3]-a[1]*a[2];ra(!!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;return a};function Hh(a,b){this.j=b;this.c={};this.v={}}u(Hh,Ac);function Ih(a){var b=a.viewState,c=a.coordinateToPixelTransform,d=a.pixelToCoordinateTransform;Fh(c,a.size[0]/2,a.size[1]/2,1/b.resolution,-1/b.resolution,-b.rotation,-b.center[0],-b.center[1]);Gh(Ah(d,c))}k=Hh.prototype;k.sa=function(){for(var a in this.c)Bc(this.c[a])};function Jh(){if(32<uh.a){var a=0,b,c;for(b in uh.b)c=uh.b[b],a++&3||Fc(c)||(delete uh.b[b],--uh.a)}}
153
- k.Ba=function(a,b,c,d,e,f,g){function h(a,c){var f=w(a).toString(),g=b.layerStates[w(c)].Ee;if(!(f in b.skippedFeatureUids)||g)return d.call(e,a,g?c:null)}var l,m=b.viewState,n=m.resolution,p=m.projection,m=a;if(p.a){var p=p.D(),q=ib(p),r=a[0];if(r<p[0]||r>p[2])m=[r+q*Math.ceil((p[0]-r)/q),a[1]]}p=b.layerStatesArray;for(q=p.length-1;0<=q;--q){var v=p[q],r=v.layer;if(sh(v,n)&&f.call(g,r)&&(v=Kh(this,r),r.ma()&&(l=v.Ba(r.ma().G?m:a,b,c,h,e)),l))return l}};
154
- k.$h=function(a,b,c,d,e){return void 0!==this.Ba(a,b,c,cf,this,d,e)};function Kh(a,b){var c=w(b).toString();if(c in a.c)return a.c[c];var d=b.Ed(a);a.c[c]=d;a.v[c]=B(d,"change",a.ml,a);return d}k.ml=function(){this.j.render()};k.wg=oa;k.hp=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];sc(this.v[d]);delete this.v[d];Bc(e)}};function Lh(a,b){for(var c in a.c)if(!(c in b.layerStates)){b.postRenderFunctions.push(a.hp.bind(a));break}}
155
- function la(a,b){return a.zIndex-b.zIndex};function Mh(a,b,c,d,e){Cc.call(this,a);this.vectorContext=b;this.frameState=c;this.context=d;this.glContext=e}u(Mh,Cc);var Nh=[0,0,0,1],Oh=[],Ph=[0,0,0,1];function Qh(a,b,c,d){b&&(a.translate(c,d),a.rotate(b),a.translate(-c,-d))};function Rh(){}k=Rh.prototype;k.nc=function(){};k.qd=function(){};k.ac=function(){};k.pe=function(){};k.qe=function(){};k.Rb=function(){};k.oc=function(){};k.pc=function(){};k.qc=function(){};k.rc=function(){};k.sc=function(){};k.yc=function(){};k.Oa=function(){};k.Wb=function(){};k.Ub=function(){};function Sh(a,b,c,d,e){this.f=a;this.I=b;this.c=c;this.u=d;this.nb=e;this.N=this.b=this.a=this.ab=this.T=this.S=null;this.fb=this.Z=this.o=this.G=this.C=this.A=0;this.fa=!1;this.i=this.ja=0;this.pa=!1;this.ra=0;this.Ga="";this.Ka=this.$b=0;this.Ia=!1;this.l=this.Pa=0;this.ua=this.j=this.g=null;this.v=[];this.mb=wh()}u(Sh,Rh);
156
- function Th(a,b,c){if(a.N){b=ff(b,0,c,2,a.u,a.v);c=a.f;var d=a.mb,e=c.globalAlpha;1!=a.o&&(c.globalAlpha=e*a.o);var f=a.ja;a.fa&&(f+=a.nb);var g,h;g=0;for(h=b.length;g<h;g+=2){var l=b[g]-a.A,m=b[g+1]-a.C;a.pa&&(l=Math.round(l),m=Math.round(m));if(f||1!=a.i){var n=l+a.A,p=m+a.C;Fh(d,n,p,a.i,a.i,f,-n,-p);c.setTransform.apply(c,d)}c.drawImage(a.N,a.Z,a.fb,a.ra,a.G,l,m,a.ra,a.G)}(f||1!=a.i)&&c.setTransform(1,0,0,1,0,0);1!=a.o&&(c.globalAlpha=e)}}
157
- function Uh(a,b,c,d){var e=0;if(a.ua&&""!==a.Ga){a.g&&Vh(a,a.g);a.j&&Wh(a,a.j);var f=a.ua,g=a.f,h=a.ab;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.ab={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline});b=ff(b,e,c,d,a.u,a.v);f=a.f;g=a.Pa;for(a.Ia&&(g+=a.nb);e<c;e+=d){var h=b[e]+
158
- a.$b,l=b[e+1]+a.Ka;if(g||1!=a.l){var m=Fh(a.mb,h,l,a.l,a.l,g,-h,-l);f.setTransform.apply(f,m)}a.j&&f.strokeText(a.Ga,h,l);a.g&&f.fillText(a.Ga,h,l)}(g||1!=a.l)&&f.setTransform(1,0,0,1,0,0)}}function Xh(a,b,c,d,e,f){var g=a.f;a=ff(b,c,d,e,a.u,a.v);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 Yh(a,b,c,d,e){var f,g;f=0;for(g=d.length;f<g;++f)c=Xh(a,b,c,d[f],e,!0);return c}k=Sh.prototype;
159
- k.ac=function(a){if(nb(this.c,a.D())){if(this.a||this.b){this.a&&Vh(this,this.a);this.b&&Wh(this,this.b);var b;b=this.u;var c=this.v,d=a.ia();b=d?ff(d,0,d.length,a.ta(),b,c):null;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.a&&d.fill();this.b&&d.stroke()}""!==this.Ga&&Uh(this,a.Ca(),2,2)}};k.qd=function(a){this.Oa(a.Da(),a.Ea());this.Wb(a.$());this.Ub(a.Qa())};
160
- k.nc=function(a){switch(a.U()){case "Point":this.rc(a);break;case "LineString":this.Rb(a);break;case "Polygon":this.sc(a);break;case "MultiPoint":this.pc(a);break;case "MultiLineString":this.oc(a);break;case "MultiPolygon":this.qc(a);break;case "GeometryCollection":this.qe(a);break;case "Circle":this.ac(a)}};k.pe=function(a,b){var c=(0,b.Sa)(a);c&&nb(this.c,c.D())&&(this.qd(b),this.nc(c))};k.qe=function(a){a=a.a;var b,c;b=0;for(c=a.length;b<c;++b)this.nc(a[b])};
161
- k.rc=function(a){var b=a.ia();a=a.ta();this.N&&Th(this,b,b.length);""!==this.Ga&&Uh(this,b,b.length,a)};k.pc=function(a){var b=a.ia();a=a.ta();this.N&&Th(this,b,b.length);""!==this.Ga&&Uh(this,b,b.length,a)};k.Rb=function(a){if(nb(this.c,a.D())){if(this.b){Wh(this,this.b);var b=this.f,c=a.ia();b.beginPath();Xh(this,c,0,c.length,a.ta(),!1);b.stroke()}""!==this.Ga&&(a=Zh(a),Uh(this,a,2,2))}};
162
- k.oc=function(a){var b=a.D();if(nb(this.c,b)){if(this.b){Wh(this,this.b);var b=this.f,c=a.ia(),d=0,e=a.Sb(),f=a.ta();b.beginPath();var g,h;g=0;for(h=e.length;g<h;++g)d=Xh(this,c,d,e[g],f,!1);b.stroke()}""!==this.Ga&&(a=$h(a),Uh(this,a,a.length,2))}};k.sc=function(a){if(nb(this.c,a.D())){if(this.b||this.a){this.a&&Vh(this,this.a);this.b&&Wh(this,this.b);var b=this.f;b.beginPath();Yh(this,a.gc(),0,a.Sb(),a.ta());this.a&&b.fill();this.b&&b.stroke()}""!==this.Ga&&(a=Mf(a),Uh(this,a,2,2))}};
163
- k.qc=function(a){if(nb(this.c,a.D())){if(this.b||this.a){this.a&&Vh(this,this.a);this.b&&Wh(this,this.b);var b=this.f,c=ai(a),d=0,e=a.c,f=a.ta(),g,h;b.beginPath();g=0;for(h=e.length;g<h;++g)d=Yh(this,c,d,e[g],f);this.a&&b.fill();this.b&&b.stroke()}""!==this.Ga&&(a=bi(a),Uh(this,a,a.length,2))}};function Vh(a,b){var c=a.f,d=a.S;d?d.fillStyle!=b.fillStyle&&(d.fillStyle=c.fillStyle=b.fillStyle):(c.fillStyle=b.fillStyle,a.S={fillStyle:b.fillStyle})}
164
- function Wh(a,b){var c=a.f,d=a.T;d?(d.lineCap!=b.lineCap&&(d.lineCap=c.lineCap=b.lineCap),Nd&&!ja(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,Nd&&c.setLineDash(b.lineDash),c.lineJoin=b.lineJoin,c.lineWidth=
165
- b.lineWidth,c.miterLimit=b.miterLimit,c.strokeStyle=b.strokeStyle,a.T={lineCap:b.lineCap,lineDash:b.lineDash,lineJoin:b.lineJoin,lineWidth:b.lineWidth,miterLimit:b.miterLimit,strokeStyle:b.strokeStyle})}
166
- k.Oa=function(a,b){if(a){var c=a.b;this.a={fillStyle:Xc(c?c:Nh)}}else this.a=null;if(b){var c=b.a,d=b.i,e=b.f,f=b.g,g=b.l,h=b.c,l=b.j;this.b={lineCap:void 0!==d?d:"round",lineDash:e?e:Oh,lineDashOffset:f?f:0,lineJoin:void 0!==g?g:"round",lineWidth:this.I*(void 0!==h?h:1),miterLimit:void 0!==l?l:10,strokeStyle:Xc(c?c:Ph)}}else this.b=null};
167
- k.Wb=function(a){if(a){var b=a.Ic(),c=a.$(1),d=a.Qc(),e=a.kc();this.A=b[0];this.C=b[1];this.G=e[1];this.N=c;this.o=a.g;this.Z=d[0];this.fb=d[1];this.fa=a.o;this.ja=a.l;this.i=a.c;this.pa=a.v;this.ra=e[0]}else this.N=null};
168
- k.Ub=function(a){if(a){var b=a.Da();b?(b=b.b,this.g={fillStyle:Xc(b?b:Nh)}):this.g=null;var c=a.Ea();if(c){var b=c.a,d=c.i,e=c.f,f=c.g,g=c.l,h=c.c,c=c.j;this.j={lineCap:void 0!==d?d:"round",lineDash:e?e:Oh,lineDashOffset:f?f:0,lineJoin:void 0!==g?g:"round",lineWidth:void 0!==h?h:1,miterLimit:void 0!==c?c:10,strokeStyle:Xc(b?b:Ph)}}else this.j=null;var b=a.a,d=a.f,e=a.c,f=a.j,g=a.i,h=a.b,c=a.Qa(),l=a.g;a=a.l;this.ua={font:void 0!==b?b:"10px sans-serif",textAlign:void 0!==l?l:"center",textBaseline:void 0!==
169
- a?a:"middle"};this.Ga=void 0!==c?c:"";this.$b=void 0!==d?this.I*d:0;this.Ka=void 0!==e?this.I*e:0;this.Ia=void 0!==f?f:!1;this.Pa=void 0!==g?g:0;this.l=this.I*(void 0!==h?h:1)}else this.Ga=""};function ci(a,b){Hh.call(this,0,b);this.f=Zc();this.b=this.f.canvas;this.b.style.width="100%";this.b.style.height="100%";this.b.style.display="block";this.b.className="ol-unselectable";a.insertBefore(this.b,a.childNodes[0]||null);this.a=!0;this.i=wh()}u(ci,Hh);
170
- function di(a,b,c){var d=a.j,e=a.f;if(Fc(d,b)){var f=c.extent,g=c.pixelRatio,h=c.viewState.rotation,l=c.viewState,m=c.pixelRatio/l.resolution;a=Fh(a.i,a.b.width/2,a.b.height/2,m,-m,-l.rotation,-l.center[0],-l.center[1]);d.b(new Mh(b,new Sh(e,g,f,a,h),c,e,null))}}ci.prototype.U=function(){return"canvas"};
171
- ci.prototype.wg=function(a){if(a){var b=this.f,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;Ih(a);di(this,"precompose",a);var f=a.layerStatesArray;ka(f);Qh(b,e,d/2,c/2);var g=a.viewState.resolution,h,l,m,n;h=0;for(l=f.length;h<l;++h)n=f[h],m=n.layer,m=Kh(this,m),sh(n,g)&&"ready"==n.Vi&&m.rd(a,n)&&m.I(a,n,b);Qh(b,-e,d/2,c/2);di(this,"postcompose",a);this.a||(this.b.style.display=
172
- "",this.a=!0);Lh(this,a);a.postRenderFunctions.push(Jh)}else this.a&&(this.b.style.display="none",this.a=!1)};ci.prototype.Zh=function(a,b,c,d,e,f){var g,h=b.viewState.resolution,l=b.layerStatesArray,m=l.length;a=Bh(b.pixelToCoordinateTransform,a.slice());for(--m;0<=m;--m){g=l[m];var n=g.layer;if(sh(g,h)&&e.call(f,n)&&(g=Kh(this,n).v(a,b,c,d)))return g}};var ei=["Polygon","Circle","LineString","Image","Text"];function fi(){};function gi(a){this.b=a};function hi(a){this.b=a}u(hi,gi);hi.prototype.U=function(){return 35632};function ii(a){this.b=a}u(ii,gi);ii.prototype.U=function(){return 35633};function ji(){this.b="precision mediump float;varying vec2 a;varying vec2 b;varying float c;varying float d;uniform float m;uniform vec4 n;uniform vec4 o;uniform vec2 p;void main(void){vec2 windowCenter=vec2((a.x+1.0)/2.0*p.x*d,(a.y+1.0)/2.0*p.y*d);vec2 windowOffset=vec2((b.x+1.0)/2.0*p.x*d,(b.y+1.0)/2.0*p.y*d);float radius=length(windowCenter-windowOffset);float dist=length(windowCenter-gl_FragCoord.xy);if(dist>radius+c){if(o.a==0.0){gl_FragColor=n;}else{gl_FragColor=o;}gl_FragColor.a=gl_FragColor.a-(dist-(radius+c));}else if(n.a==0.0){gl_FragColor=o;if(dist<radius-c){gl_FragColor.a=gl_FragColor.a-(radius-c-dist);}} else{gl_FragColor=n;float strokeDist=radius-c;float antialias=2.0*d;if(dist>strokeDist){gl_FragColor=o;}else if(dist>=strokeDist-antialias){float step=smoothstep(strokeDist-antialias,strokeDist,dist);gl_FragColor=mix(n,o,step);}} gl_FragColor.a=gl_FragColor.a*m;if(gl_FragColor.a<=0.0){discard;}}"}
173
- u(ji,hi);var ki=new ji;
174
- function li(){this.b="varying vec2 a;varying vec2 b;varying float c;varying float d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;void main(void){mat4 offsetMatrix=i*j;a=vec4(h*vec4(e,0.0,1.0)).xy;d=l;float lineWidth=k*l;c=lineWidth/2.0;if(lineWidth==0.0){lineWidth=2.0*l;}vec2 offset;float radius=g+3.0*l;if(f==0.0){offset=vec2(-1.0,1.0);}else if(f==1.0){offset=vec2(-1.0,-1.0);}else if(f==2.0){offset=vec2(1.0,-1.0);}else{offset=vec2(1.0,1.0);}gl_Position=h*vec4(e+offset*radius,0.0,1.0)+offsetMatrix*vec4(offset*lineWidth,0.0,0.0);b=vec4(h*vec4(e.x+g,e.y,0.0,1.0)).xy;if(distance(a,b)>20000.0){gl_Position=vec4(a,0.0,1.0);}}"}
175
- u(li,ii);var mi=new li;function ni(a,b){this.G=a.getUniformLocation(b,"n");this.ra=a.getUniformLocation(b,"k");this.c=a.getUniformLocation(b,"j");this.i=a.getUniformLocation(b,"i");this.a=a.getUniformLocation(b,"m");this.ua=a.getUniformLocation(b,"l");this.f=a.getUniformLocation(b,"h");this.S=a.getUniformLocation(b,"p");this.T=a.getUniformLocation(b,"o");this.l=a.getAttribLocation(b,"f");this.b=a.getAttribLocation(b,"e");this.u=a.getAttribLocation(b,"g")};function oi(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function pi(a,b){a[0]=b[0];a[1]=b[1];a[4]=b[2];a[5]=b[3];a[12]=b[4];a[13]=b[5];return a};function qi(a,b){this.origin=kb(b);this.nb=wh();this.Pa=wh();this.mb=wh();this.Ka=oi();this.b=[];this.o=null;this.f=[];this.g=[];this.a=[];this.v=null;this.l=void 0}u(qi,Rh);
176
- qi.prototype.i=function(a,b,c,d,e,f,g,h,l,m,n){var p=a.b,q,r,v,x,y,z,A,Y;this.l&&(q=p.isEnabled(p.STENCIL_TEST),r=p.getParameter(p.STENCIL_FUNC),v=p.getParameter(p.STENCIL_VALUE_MASK),x=p.getParameter(p.STENCIL_REF),y=p.getParameter(p.STENCIL_WRITEMASK),z=p.getParameter(p.STENCIL_FAIL),A=p.getParameter(p.STENCIL_PASS_DEPTH_PASS),Y=p.getParameter(p.STENCIL_PASS_DEPTH_FAIL),p.enable(p.STENCIL_TEST),p.clear(p.STENCIL_BUFFER_BIT),p.stencilMask(255),p.stencilFunc(p.ALWAYS,1,255),p.stencilOp(p.KEEP,p.KEEP,
177
- p.REPLACE),this.l.i(a,b,c,d,e,f,g,h,l,m,n),p.stencilMask(0),p.stencilFunc(p.NOTEQUAL,1,255));ri(a,34962,this.v);ri(a,34963,this.o);f=this.gf(p,a,e,f);var Qa=xh(this.nb);Dh(Qa,2/(c*e[0]),2/(c*e[1]));Ch(Qa,-d);Eh(Qa,-(b[0]-this.origin[0]),-(b[1]-this.origin[1]));b=xh(this.mb);Dh(b,2/e[0],2/e[1]);e=xh(this.Pa);d&&Ch(e,-d);p.uniformMatrix4fv(f.f,!1,pi(this.Ka,Qa));p.uniformMatrix4fv(f.i,!1,pi(this.Ka,b));p.uniformMatrix4fv(f.c,!1,pi(this.Ka,e));p.uniform1f(f.a,g);var xa;l?(m?a=this.re(p,a,h,l,n):(p.clear(p.COLOR_BUFFER_BIT|
178
- p.DEPTH_BUFFER_BIT),this.Nd(p,a,h,!0),a=(a=l(null))?a:void 0),xa=a):this.Nd(p,a,h,!1);this.hf(p,f);this.l&&(q||p.disable(p.STENCIL_TEST),p.clear(p.STENCIL_BUFFER_BIT),p.stencilFunc(r,x,v),p.stencilMask(y),p.stencilOp(z,Y,A));return xa};function si(a,b,c,d){a.drawElements(4,d-c,b.g?5125:5123,c*(b.g?4:2))};var ti=[0,0,0,1],ui=[],vi=[0,0,0,1];function wi(a,b,c,d,e,f){a=(c-a)*(f-b)-(e-a)*(d-b);return a<=xi&&a>=-xi?void 0:0<a}var xi=Number.EPSILON||2.220446049250313E-16;function yi(a){this.b=void 0!==a?a:[];this.a=zi}var zi=35044;function Ai(a,b){qi.call(this,0,b);this.I=null;this.j=[];this.u=[];this.A=0;this.c={fillColor:null,strokeColor:null,lineDash:null,lineDashOffset:void 0,lineWidth:void 0,s:!1}}u(Ai,qi);k=Ai.prototype;
179
- k.ac=function(a,b){var c=a.Wd(),d=a.ta();if(c){this.f.push(this.b.length);this.g.push(b);this.c.s&&(this.u.push(this.b.length),this.c.s=!1);this.A=c;var c=a.ia(),c=gf(c,2,d,-this.origin[0],-this.origin[1]),e=this.a.length,f=this.b.length,g=e/4,h;for(h=0;2>h;h+=d)this.a[e++]=c[h],this.a[e++]=c[h+1],this.a[e++]=0,this.a[e++]=this.A,this.a[e++]=c[h],this.a[e++]=c[h+1],this.a[e++]=1,this.a[e++]=this.A,this.a[e++]=c[h],this.a[e++]=c[h+1],this.a[e++]=2,this.a[e++]=this.A,this.a[e++]=c[h],this.a[e++]=c[h+
180
- 1],this.a[e++]=3,this.a[e++]=this.A,this.b[f++]=g,this.b[f++]=g+1,this.b[f++]=g+2,this.b[f++]=g+2,this.b[f++]=g+3,this.b[f++]=g,g+=4}else this.c.s&&(this.j.pop(),this.j.length&&(d=this.j[this.j.length-1],this.c.fillColor=d[0],this.c.strokeColor=d[1],this.c.lineWidth=d[2],this.c.s=!1))};k.Cb=function(){this.v=new yi(this.a);this.o=new yi(this.b);this.f.push(this.b.length);!this.u.length&&0<this.j.length&&(this.j=[]);this.b=this.a=null};
181
- k.Db=function(a){var b=this.v,c=this.o;return function(){Bi(a,b);Bi(a,c)}};k.gf=function(a,b,c,d){var e=Ci(b,ki,mi),f;this.I?f=this.I:this.I=f=new ni(a,e);b.Sc(e);a.enableVertexAttribArray(f.b);a.vertexAttribPointer(f.b,2,5126,!1,16,0);a.enableVertexAttribArray(f.l);a.vertexAttribPointer(f.l,1,5126,!1,16,8);a.enableVertexAttribArray(f.u);a.vertexAttribPointer(f.u,1,5126,!1,16,12);a.uniform2fv(f.S,c);a.uniform1f(f.ua,d);return f};
182
- k.hf=function(a,b){a.disableVertexAttribArray(b.b);a.disableVertexAttribArray(b.l);a.disableVertexAttribArray(b.u)};
183
- k.Nd=function(a,b,c){if(tb(c)){var d,e,f;e=this.f[this.f.length-1];for(c=this.u.length-1;0<=c;--c)d=this.u[c],f=this.j[c],a.uniform4fv(this.I.G,f[0]),Di(this,a,f[1],f[2]),si(a,b,d,e),e=d}else{var g,h,l,m;l=this.f.length-2;f=e=this.f[l+1];for(d=this.u.length-1;0<=d;--d){g=this.j[d];a.uniform4fv(this.I.G,g[0]);Di(this,a,g[1],g[2]);for(g=this.u[d];0<=l&&this.f[l]>=g;)m=this.f[l],h=this.g[l],h=w(h).toString(),c[h]&&(e!==f&&si(a,b,e,f),f=m),l--,e=m;e!==f&&si(a,b,e,f);e=f=g}}};
184
- k.re=function(a,b,c,d,e){var f,g,h,l,m,n,p;p=this.f.length-2;h=this.f[p+1];for(f=this.u.length-1;0<=f;--f)for(g=this.j[f],a.uniform4fv(this.I.G,g[0]),Di(this,a,g[1],g[2]),l=this.u[f];0<=p&&this.f[p]>=l;){g=this.f[p];m=this.g[p];n=w(m).toString();if(void 0===c[n]&&m.V()&&(void 0===e||nb(e,m.V().D()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),si(a,b,g,h),h=d(m)))return h;p--;h=g}};function Di(a,b,c,d){b.uniform4fv(a.I.T,c);b.uniform1f(a.I.ra,d)}
185
- k.Oa=function(a,b){var c,d;b?(c=b.f,this.c.lineDash=c?c:ui,c=b.g,this.c.lineDashOffset=c?c:0,c=b.a,c instanceof CanvasGradient||c instanceof CanvasPattern?c=vi:c=Sc(c).map(function(a,b){return 3!=b?a/255:a})||vi,d=b.c,d=void 0!==d?d:1):(c=[0,0,0,0],d=0);var e=a?a.b:[0,0,0,0];e instanceof CanvasGradient||e instanceof CanvasPattern?e=ti:e=Sc(e).map(function(a,b){return 3!=b?a/255:a})||ti;this.c.strokeColor&&ja(this.c.strokeColor,c)&&this.c.fillColor&&ja(this.c.fillColor,e)&&this.c.lineWidth===d||(this.c.s=
186
- !0,this.c.fillColor=e,this.c.strokeColor=c,this.c.lineWidth=d,this.j.push([e,c,d]))};function Ei(){this.b="precision mediump float;varying vec2 a;varying float b;uniform float k;uniform sampler2D l;void main(void){vec4 texColor=texture2D(l,a);gl_FragColor.rgb=texColor.rgb;float alpha=texColor.a*b*k;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}u(Ei,hi);var Fi=new Ei;
187
- function Gi(){this.b="varying vec2 a;varying float b;attribute vec2 c;attribute vec2 d;attribute vec2 e;attribute float f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;void main(void){mat4 offsetMatrix=i;if(g==1.0){offsetMatrix=i*j;}vec4 offsets=offsetMatrix*vec4(e,0.0,0.0);gl_Position=h*vec4(c,0.0,1.0)+offsets;a=d;b=f;}"}u(Gi,ii);var Hi=new Gi;
188
- function Ii(a,b){this.c=a.getUniformLocation(b,"j");this.i=a.getUniformLocation(b,"i");this.a=a.getUniformLocation(b,"k");this.f=a.getUniformLocation(b,"h");this.v=a.getAttribLocation(b,"e");this.I=a.getAttribLocation(b,"f");this.b=a.getAttribLocation(b,"c");this.A=a.getAttribLocation(b,"g");this.C=a.getAttribLocation(b,"d")};function Ji(a,b){this.l=a;this.b=b;this.a={};this.c={};this.f={};this.o=this.v=this.i=this.j=null;(this.g=fa(da,"OES_element_index_uint"))&&b.getExtension("OES_element_index_uint");B(this.l,"webglcontextlost",this.no,this);B(this.l,"webglcontextrestored",this.oo,this)}u(Ji,Ac);
189
- function ri(a,b,c){var d=a.b,e=c.b,f=String(w(c));if(f in a.a)d.bindBuffer(b,a.a[f].buffer);else{var g=d.createBuffer();d.bindBuffer(b,g);var h;34962==b?h=new Float32Array(e):34963==b&&(h=a.g?new Uint32Array(e):new Uint16Array(e));d.bufferData(b,h,c.a);a.a[f]={mc:c,buffer:g}}}function Bi(a,b){var c=a.b,d=String(w(b)),e=a.a[d];c.isContextLost()||c.deleteBuffer(e.buffer);delete a.a[d]}k=Ji.prototype;
190
- k.sa=function(){zc(this.l);var a=this.b;if(!a.isContextLost()){for(var b in this.a)a.deleteBuffer(this.a[b].buffer);for(b in this.f)a.deleteProgram(this.f[b]);for(b in this.c)a.deleteShader(this.c[b]);a.deleteFramebuffer(this.i);a.deleteRenderbuffer(this.o);a.deleteTexture(this.v)}};k.mo=function(){return this.b};
191
- function Ki(a){if(!a.i){var b=a.b,c=b.createFramebuffer();b.bindFramebuffer(b.FRAMEBUFFER,c);var d=Li(b,1,1),e=b.createRenderbuffer();b.bindRenderbuffer(b.RENDERBUFFER,e);b.renderbufferStorage(b.RENDERBUFFER,b.DEPTH_COMPONENT16,1,1);b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,d,0);b.framebufferRenderbuffer(b.FRAMEBUFFER,b.DEPTH_ATTACHMENT,b.RENDERBUFFER,e);b.bindTexture(b.TEXTURE_2D,null);b.bindRenderbuffer(b.RENDERBUFFER,null);b.bindFramebuffer(b.FRAMEBUFFER,null);a.i=c;
192
- a.v=d;a.o=e}return a.i}function Mi(a,b){var c=String(w(b));if(c in a.c)return a.c[c];var d=a.b,e=d.createShader(b.U());d.shaderSource(e,b.b);d.compileShader(e);return a.c[c]=e}function Ci(a,b,c){var d=w(b)+"/"+w(c);if(d in a.f)return a.f[d];var e=a.b,f=e.createProgram();e.attachShader(f,Mi(a,b));e.attachShader(f,Mi(a,c));e.linkProgram(f);return a.f[d]=f}k.no=function(){rb(this.a);rb(this.c);rb(this.f);this.o=this.v=this.i=this.j=null};k.oo=function(){};
193
- k.Sc=function(a){if(a==this.j)return!1;this.b.useProgram(a);this.j=a;return!0};function Ni(a,b,c){var d=a.createTexture();a.bindTexture(a.TEXTURE_2D,d);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR);a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR);void 0!==b&&a.texParameteri(3553,10242,b);void 0!==c&&a.texParameteri(3553,10243,c);return d}function Li(a,b,c){var d=Ni(a,void 0,void 0);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,b,c,0,a.RGBA,a.UNSIGNED_BYTE,null);return d}
194
- function Oi(a,b){var c=Ni(a,33071,33071);a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,b);return c};function Pi(a,b){qi.call(this,0,b);this.G=this.C=void 0;this.A=[];this.I=[];this.ua=void 0;this.j=[];this.c=[];this.T=this.S=void 0;this.ra=null;this.pa=this.ja=this.fa=this.fb=this.Z=this.ab=void 0;this.Ia=[];this.u=[];this.$b=void 0}u(Pi,qi);k=Pi.prototype;k.Db=function(a){var b=this.v,c=this.o,d=this.Ia,e=this.u,f=a.b;return function(){if(!f.isContextLost()){var g,h;g=0;for(h=d.length;g<h;++g)f.deleteTexture(d[g]);g=0;for(h=e.length;g<h;++g)f.deleteTexture(e[g])}Bi(a,b);Bi(a,c)}};
195
- function Qi(a,b,c,d){var e=a.C,f=a.G,g=a.ua,h=a.S,l=a.T,m=a.ab,n=a.Z,p=a.fb,q=a.fa?1:0,r=-a.ja,v=a.pa,x=a.$b,y=Math.cos(r),r=Math.sin(r),z=a.b.length,A=a.a.length,Y,Qa,xa,Oa,C,Pa;for(Y=0;Y<c;Y+=d)C=b[Y]-a.origin[0],Pa=b[Y+1]-a.origin[1],Qa=A/8,xa=-v*e,Oa=-v*(g-f),a.a[A++]=C,a.a[A++]=Pa,a.a[A++]=xa*y-Oa*r,a.a[A++]=xa*r+Oa*y,a.a[A++]=n/l,a.a[A++]=(p+g)/h,a.a[A++]=m,a.a[A++]=q,xa=v*(x-e),Oa=-v*(g-f),a.a[A++]=C,a.a[A++]=Pa,a.a[A++]=xa*y-Oa*r,a.a[A++]=xa*r+Oa*y,a.a[A++]=(n+x)/l,a.a[A++]=(p+g)/h,a.a[A++]=
196
- m,a.a[A++]=q,xa=v*(x-e),Oa=v*f,a.a[A++]=C,a.a[A++]=Pa,a.a[A++]=xa*y-Oa*r,a.a[A++]=xa*r+Oa*y,a.a[A++]=(n+x)/l,a.a[A++]=p/h,a.a[A++]=m,a.a[A++]=q,xa=-v*e,Oa=v*f,a.a[A++]=C,a.a[A++]=Pa,a.a[A++]=xa*y-Oa*r,a.a[A++]=xa*r+Oa*y,a.a[A++]=n/l,a.a[A++]=p/h,a.a[A++]=m,a.a[A++]=q,a.b[z++]=Qa,a.b[z++]=Qa+1,a.b[z++]=Qa+2,a.b[z++]=Qa,a.b[z++]=Qa+2,a.b[z++]=Qa+3}k.pc=function(a,b){this.f.push(this.b.length);this.g.push(b);var c=a.ia();Qi(this,c,c.length,a.ta())};
197
- k.rc=function(a,b){this.f.push(this.b.length);this.g.push(b);var c=a.ia();Qi(this,c,c.length,a.ta())};k.Cb=function(a){a=a.b;this.A.push(this.b.length);this.I.push(this.b.length);this.v=new yi(this.a);this.o=new yi(this.b);var b={};Ri(this.Ia,this.j,b,a);Ri(this.u,this.c,b,a);this.ua=this.G=this.C=void 0;this.c=this.j=null;this.T=this.S=void 0;this.b=null;this.pa=this.ja=this.fa=this.fb=this.Z=this.ab=void 0;this.a=null;this.$b=void 0};
198
- function Ri(a,b,c,d){var e,f,g,h=b.length;for(g=0;g<h;++g)e=b[g],f=w(e).toString(),f in c?e=c[f]:(e=Oi(d,e),c[f]=e),a[g]=e}
199
- k.gf=function(a,b){var c=Ci(b,Fi,Hi),d;this.ra?d=this.ra:this.ra=d=new Ii(a,c);b.Sc(c);a.enableVertexAttribArray(d.b);a.vertexAttribPointer(d.b,2,5126,!1,32,0);a.enableVertexAttribArray(d.v);a.vertexAttribPointer(d.v,2,5126,!1,32,8);a.enableVertexAttribArray(d.C);a.vertexAttribPointer(d.C,2,5126,!1,32,16);a.enableVertexAttribArray(d.I);a.vertexAttribPointer(d.I,1,5126,!1,32,24);a.enableVertexAttribArray(d.A);a.vertexAttribPointer(d.A,1,5126,!1,32,28);return d};
200
- k.hf=function(a,b){a.disableVertexAttribArray(b.b);a.disableVertexAttribArray(b.v);a.disableVertexAttribArray(b.C);a.disableVertexAttribArray(b.I);a.disableVertexAttribArray(b.A)};
201
- k.Nd=function(a,b,c,d){var e=d?this.u:this.Ia;d=d?this.I:this.A;if(tb(c)){var f,g;c=0;f=e.length;for(g=0;c<f;++c){a.bindTexture(3553,e[c]);var h=d[c];si(a,b,g,h);g=h}}else for(g=f=0,h=e.length;g<h;++g){a.bindTexture(3553,e[g]);for(var l=0<g?d[g-1]:0,m=d[g],n=l;f<this.f.length&&this.f[f]<=m;){var p=w(this.g[f]).toString();void 0!==c[p]?(n!==l&&si(a,b,n,l),l=n=f===this.f.length-1?m:this.f[f+1]):l=f===this.f.length-1?m:this.f[f+1];f++}n!==l&&si(a,b,n,l)}};
202
- k.re=function(a,b,c,d,e){var f,g,h,l,m,n,p=this.f.length-1;for(f=this.u.length-1;0<=f;--f)for(a.bindTexture(3553,this.u[f]),g=0<f?this.I[f-1]:0,l=this.I[f];0<=p&&this.f[p]>=g;){h=this.f[p];m=this.g[p];n=w(m).toString();if(void 0===c[n]&&m.V()&&(void 0===e||nb(e,m.V().D()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),si(a,b,h,l),l=d(m)))return l;l=h;p--}};
203
- k.Wb=function(a){var b=a.Ic(),c=a.$(1),d=a.ve(),e=a.dg(1),f=a.g,g=a.Qc(),h=a.o,l=a.l,m=a.kc();a=a.c;var n;this.j.length?(n=this.j[this.j.length-1],w(n)!=w(c)&&(this.A.push(this.b.length),this.j.push(c))):this.j.push(c);this.c.length?(n=this.c[this.c.length-1],w(n)!=w(e)&&(this.I.push(this.b.length),this.c.push(e))):this.c.push(e);this.C=b[0];this.G=b[1];this.ua=m[1];this.S=d[1];this.T=d[0];this.ab=f;this.Z=g[0];this.fb=g[1];this.ja=l;this.fa=h;this.pa=a;this.$b=m[0]};function Si(a,b,c){var d=b-c;return a[0]===a[d]&&a[1]===a[d+1]&&3<(b-0)/c?!!lf(a,0,b,c):!1};function Ti(){this.b="precision mediump float;varying float a;varying vec2 b;varying float c;uniform float m;uniform vec4 n;uniform vec2 o;uniform float p;void main(void){if(a>0.0){vec2 windowCoords=vec2((b.x+1.0)/2.0*o.x*p,(b.y+1.0)/2.0*o.y*p);if(length(windowCoords-gl_FragCoord.xy)>c*p){discard;}} gl_FragColor=n;float alpha=n.a*m;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}u(Ti,hi);var Ui=new Ti;
204
- function Vi(){this.b="varying float a;varying vec2 b;varying float c;attribute vec2 d;attribute vec2 e;attribute vec2 f;attribute float g;uniform mat4 h;uniform mat4 i;uniform mat4 j;uniform float k;uniform float l;bool nearlyEquals(in float value,in float ref){float epsilon=0.000000000001;return value>=ref-epsilon&&value<=ref+epsilon;}void alongNormal(out vec2 offset,in vec2 nextP,in float turnDir,in float direction){vec2 dirVect=nextP-e;vec2 normal=normalize(vec2(-turnDir*dirVect.y,turnDir*dirVect.x));offset=k/2.0*normal*direction;}void miterUp(out vec2 offset,out float round,in bool isRound,in float direction){float halfWidth=k/2.0;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=f-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;round=0.0;if(isRound){round=1.0;}else if(miterLength>l+k){offset=halfWidth*tmpNormal*direction;}} bool miterDown(out vec2 offset,in vec4 projPos,in mat4 offsetMatrix,in float direction){bool degenerate=false;vec2 tangent=normalize(normalize(f-e)+normalize(e-d));vec2 normal=vec2(-tangent.y,tangent.x);vec2 dirVect=d-e;vec2 tmpNormal=normalize(vec2(-dirVect.y,dirVect.x));vec2 longOffset,shortOffset,longVertex;vec4 shortProjVertex;float halfWidth=k/2.0;if(length(f-e)>length(d-e)){longOffset=tmpNormal*direction*halfWidth;shortOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=f;shortProjVertex=h*vec4(d,0.0,1.0);}else{shortOffset=tmpNormal*direction*halfWidth;longOffset=normalize(vec2(dirVect.y,-dirVect.x))*direction*halfWidth;longVertex=d;shortProjVertex=h*vec4(f,0.0,1.0);}vec4 p1=h*vec4(longVertex,0.0,1.0)+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p2=projPos+offsetMatrix*vec4(longOffset,0.0,0.0);vec4 p3=shortProjVertex+offsetMatrix*vec4(-shortOffset,0.0,0.0);vec4 p4=shortProjVertex+offsetMatrix*vec4(shortOffset,0.0,0.0);float denom=(p4.y-p3.y)*(p2.x-p1.x)-(p4.x-p3.x)*(p2.y-p1.y);float firstU=((p4.x-p3.x)*(p1.y-p3.y)-(p4.y-p3.y)*(p1.x-p3.x))/denom;float secondU=((p2.x-p1.x)*(p1.y-p3.y)-(p2.y-p1.y)*(p1.x-p3.x))/denom;float epsilon=0.000000000001;if(firstU>epsilon&&firstU<1.0-epsilon&&secondU>epsilon&&secondU<1.0-epsilon){shortProjVertex.x=p1.x+firstU*(p2.x-p1.x);shortProjVertex.y=p1.y+firstU*(p2.y-p1.y);offset=shortProjVertex.xy;degenerate=true;}else{float miterLength=abs(halfWidth/dot(normal,tmpNormal));offset=normal*direction*miterLength;}return degenerate;}void squareCap(out vec2 offset,out float round,in bool isRound,in vec2 nextP,in float turnDir,in float direction){round=0.0;vec2 dirVect=e-nextP;vec2 firstNormal=normalize(dirVect);vec2 secondNormal=vec2(turnDir*firstNormal.y*direction,-turnDir*firstNormal.x*direction);vec2 hypotenuse=normalize(firstNormal-secondNormal);vec2 normal=vec2(turnDir*hypotenuse.y*direction,-turnDir*hypotenuse.x*direction);float length=sqrt(c*c*2.0);offset=normal*length;if(isRound){round=1.0;}} void main(void){bool degenerate=false;float direction=float(sign(g));mat4 offsetMatrix=i*j;vec2 offset;vec4 projPos=h*vec4(e,0.0,1.0);bool round=nearlyEquals(mod(g,2.0),0.0);a=0.0;c=k/2.0;b=projPos.xy;if(nearlyEquals(mod(g,3.0),0.0)||nearlyEquals(mod(g,17.0),0.0)){alongNormal(offset,f,1.0,direction);}else if(nearlyEquals(mod(g,5.0),0.0)||nearlyEquals(mod(g,13.0),0.0)){alongNormal(offset,d,-1.0,direction);}else if(nearlyEquals(mod(g,23.0),0.0)){miterUp(offset,a,round,direction);}else if(nearlyEquals(mod(g,19.0),0.0)){degenerate=miterDown(offset,projPos,offsetMatrix,direction);}else if(nearlyEquals(mod(g,7.0),0.0)){squareCap(offset,a,round,f,1.0,direction);}else if(nearlyEquals(mod(g,11.0),0.0)){squareCap(offset,a,round,d,-1.0,direction);}if(!degenerate){vec4 offsets=offsetMatrix*vec4(offset,0.0,0.0);gl_Position=projPos+offsets;}else{gl_Position=vec4(offset,0.0,1.0);}}"}
205
- u(Vi,ii);var Wi=new Vi;function Xi(a,b){this.G=a.getUniformLocation(b,"n");this.ra=a.getUniformLocation(b,"k");this.T=a.getUniformLocation(b,"l");this.c=a.getUniformLocation(b,"j");this.i=a.getUniformLocation(b,"i");this.a=a.getUniformLocation(b,"m");this.ua=a.getUniformLocation(b,"p");this.f=a.getUniformLocation(b,"h");this.S=a.getUniformLocation(b,"o");this.g=a.getAttribLocation(b,"g");this.j=a.getAttribLocation(b,"d");this.o=a.getAttribLocation(b,"f");this.b=a.getAttribLocation(b,"e")};function Yi(a,b){qi.call(this,0,b);this.I=null;this.u=[];this.j=[];this.c={strokeColor:null,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0,s:!1}}u(Yi,qi);
206
- function Zi(a,b,c,d){var e,f=a.a.length,g=a.b.length,h="bevel"===a.c.lineJoin?0:"miter"===a.c.lineJoin?1:2,l="butt"===a.c.lineCap?0:"square"===a.c.lineCap?1:2,m=Si(b,c,d),n,p,q,r=g,v=1,x,y,z;for(e=0;e<c;e+=d){q=f/7;x=y;y=z||[b[e],b[e+1]];if(e)if(e===c-d){m?z=n:(x=x||[0,0],f=$i(a,x,y,[0,0],v*aj*(l||1),f),f=$i(a,x,y,[0,0],-v*aj*(l||1),f),a.b[g++]=q,a.b[g++]=r-1,a.b[g++]=r,a.b[g++]=r,a.b[g++]=q+1,a.b[g++]=q,l&&(f=$i(a,x,y,[0,0],v*bj*l,f),f=$i(a,x,y,[0,0],-v*bj*l,f),a.b[g++]=q+2,a.b[g++]=q,a.b[g++]=q+
207
- 1,a.b[g++]=q+1,a.b[g++]=q+3,a.b[g++]=q+2));break}else z=[b[e+d],b[e+d+1]];else{z=[b[e+d],b[e+d+1]];if(c-0===2*d&&ja(y,z))break;if(m)x=[b[c-2*d],b[c-2*d+1]],n=z;else{l&&(f=$i(a,[0,0],y,z,v*cj*l,f),f=$i(a,[0,0],y,z,-v*cj*l,f),a.b[g++]=q+2,a.b[g++]=q,a.b[g++]=q+1,a.b[g++]=q+1,a.b[g++]=q+3,a.b[g++]=q+2);f=$i(a,[0,0],y,z,v*dj*(l||1),f);f=$i(a,[0,0],y,z,-v*dj*(l||1),f);r=f/7-1;continue}}p=wi(x[0],x[1],y[0],y[1],z[0],z[1])?-1:1;f=$i(a,x,y,z,p*ej*(h||1),f);f=$i(a,x,y,z,p*fj*(h||1),f);f=$i(a,x,y,z,-p*gj*(h||
208
- 1),f);0<e&&(a.b[g++]=q,a.b[g++]=r-1,a.b[g++]=r,a.b[g++]=q+2,a.b[g++]=q,a.b[g++]=0<v*p?r:r-1);a.b[g++]=q;a.b[g++]=q+2;a.b[g++]=q+1;r=q+2;v=p;h&&(f=$i(a,x,y,z,p*hj*h,f),a.b[g++]=q+1,a.b[g++]=q+3,a.b[g++]=q)}m&&(q=q||f/7,p=If([x[0],x[1],y[0],y[1],z[0],z[1]],0,6,2)?1:-1,f=$i(a,x,y,z,p*ej*(h||1),f),$i(a,x,y,z,-p*gj*(h||1),f),a.b[g++]=q,a.b[g++]=r-1,a.b[g++]=r,a.b[g++]=q+1,a.b[g++]=q,a.b[g++]=0<v*p?r:r-1)}
209
- function $i(a,b,c,d,e,f){a.a[f++]=b[0];a.a[f++]=b[1];a.a[f++]=c[0];a.a[f++]=c[1];a.a[f++]=d[0];a.a[f++]=d[1];a.a[f++]=e;return f}function ij(a,b,c){b-=0;return b<2*c?!1:b===2*c?!ja([a[0],a[1]],[a[0+c],a[c+1]]):!0}k=Yi.prototype;k.Rb=function(a,b){var c=a.ia(),d=a.ta();ij(c,c.length,d)&&(c=gf(c,c.length,d,-this.origin[0],-this.origin[1]),this.c.s&&(this.j.push(this.b.length),this.c.s=!1),this.f.push(this.b.length),this.g.push(b),Zi(this,c,c.length,d))};
210
- k.oc=function(a,b){var c=this.b.length,d=a.jd(),e,f;e=0;for(f=d.length;e<f;++e){var g=d[e].ia(),h=d[e].ta();ij(g,g.length,h)&&(g=gf(g,g.length,h,-this.origin[0],-this.origin[1]),Zi(this,g,g.length,h))}this.b.length>c&&(this.f.push(c),this.g.push(b),this.c.s&&(this.j.push(c),this.c.s=!1))};
211
- function jj(a,b,c,d){Si(b,b.length,d)||(b.push(b[0]),b.push(b[1]));Zi(a,b,b.length,d);if(c.length){var e;b=0;for(e=c.length;b<e;++b)Si(c[b],c[b].length,d)||(c[b].push(c[b][0]),c[b].push(c[b][1])),Zi(a,c[b],c[b].length,d)}}function kj(a,b,c){c=void 0===c?a.b.length:c;a.f.push(c);a.g.push(b);a.c.s&&(a.j.push(c),a.c.s=!1)}k.Cb=function(){this.v=new yi(this.a);this.o=new yi(this.b);this.f.push(this.b.length);!this.j.length&&0<this.u.length&&(this.u=[]);this.b=this.a=null};
212
- k.Db=function(a){var b=this.v,c=this.o;return function(){Bi(a,b);Bi(a,c)}};k.gf=function(a,b,c,d){var e=Ci(b,Ui,Wi),f;this.I?f=this.I:this.I=f=new Xi(a,e);b.Sc(e);a.enableVertexAttribArray(f.j);a.vertexAttribPointer(f.j,2,5126,!1,28,0);a.enableVertexAttribArray(f.b);a.vertexAttribPointer(f.b,2,5126,!1,28,8);a.enableVertexAttribArray(f.o);a.vertexAttribPointer(f.o,2,5126,!1,28,16);a.enableVertexAttribArray(f.g);a.vertexAttribPointer(f.g,1,5126,!1,28,24);a.uniform2fv(f.S,c);a.uniform1f(f.ua,d);return f};
213
- k.hf=function(a,b){a.disableVertexAttribArray(b.j);a.disableVertexAttribArray(b.b);a.disableVertexAttribArray(b.o);a.disableVertexAttribArray(b.g)};
214
- k.Nd=function(a,b,c,d){var e=a.getParameter(a.DEPTH_FUNC),f=a.getParameter(a.DEPTH_WRITEMASK);d||(a.enable(a.DEPTH_TEST),a.depthMask(!0),a.depthFunc(a.NOTEQUAL));if(tb(c)){var g,h,l;h=this.f[this.f.length-1];for(c=this.j.length-1;0<=c;--c)g=this.j[c],l=this.u[c],lj(this,a,l[0],l[1],l[2]),si(a,b,g,h),a.clear(a.DEPTH_BUFFER_BIT),h=g}else{var m,n,p,q;p=this.f.length-2;l=h=this.f[p+1];for(g=this.j.length-1;0<=g;--g){m=this.u[g];lj(this,a,m[0],m[1],m[2]);for(m=this.j[g];0<=p&&this.f[p]>=m;)q=this.f[p],
215
- n=this.g[p],n=w(n).toString(),c[n]&&(h!==l&&(si(a,b,h,l),a.clear(a.DEPTH_BUFFER_BIT)),l=q),p--,h=q;h!==l&&(si(a,b,h,l),a.clear(a.DEPTH_BUFFER_BIT));h=l=m}}d||(a.disable(a.DEPTH_TEST),a.clear(a.DEPTH_BUFFER_BIT),a.depthMask(f),a.depthFunc(e))};
216
- k.re=function(a,b,c,d,e){var f,g,h,l,m,n,p;p=this.f.length-2;h=this.f[p+1];for(f=this.j.length-1;0<=f;--f)for(g=this.u[f],lj(this,a,g[0],g[1],g[2]),l=this.j[f];0<=p&&this.f[p]>=l;){g=this.f[p];m=this.g[p];n=w(m).toString();if(void 0===c[n]&&m.V()&&(void 0===e||nb(e,m.V().D()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),si(a,b,g,h),h=d(m)))return h;p--;h=g}};function lj(a,b,c,d,e){b.uniform4fv(a.I.G,c);b.uniform1f(a.I.ra,d);b.uniform1f(a.I.T,e)}
217
- k.Oa=function(a,b){var c=b.i;this.c.lineCap=void 0!==c?c:"round";c=b.f;this.c.lineDash=c?c:ui;c=b.g;this.c.lineDashOffset=c?c:0;c=b.l;this.c.lineJoin=void 0!==c?c:"round";c=b.a;c instanceof CanvasGradient||c instanceof CanvasPattern?c=vi:c=Sc(c).map(function(a,b){return 3!=b?a/255:a})||vi;var d=b.c,d=void 0!==d?d:1,e=b.j,e=void 0!==e?e:10;this.c.strokeColor&&ja(this.c.strokeColor,c)&&this.c.lineWidth===d&&this.c.miterLimit===e||(this.c.s=!0,this.c.strokeColor=c,this.c.lineWidth=d,this.c.miterLimit=
218
- e,this.u.push([c,d,e]))};var dj=3,aj=5,cj=7,bj=11,ej=13,fj=17,gj=19,hj=23;function mj(){this.b="precision mediump float;uniform vec4 e;uniform float f;void main(void){gl_FragColor=e;float alpha=e.a*f;if(alpha==0.0){discard;}gl_FragColor.a=alpha;}"}u(mj,hi);var nj=new mj;function oj(){this.b="attribute vec2 a;uniform mat4 b;uniform mat4 c;uniform mat4 d;void main(void){gl_Position=b*vec4(a,0.0,1.0);}"}u(oj,ii);var pj=new oj;
219
- function qj(a,b){this.G=a.getUniformLocation(b,"e");this.c=a.getUniformLocation(b,"d");this.i=a.getUniformLocation(b,"c");this.a=a.getUniformLocation(b,"f");this.f=a.getUniformLocation(b,"b");this.b=a.getAttribLocation(b,"a")};function rj(a){a=a||{};this.a=void 0!==a.color?a.color:null;this.i=a.lineCap;this.f=void 0!==a.lineDash?a.lineDash:null;this.g=a.lineDashOffset;this.l=a.lineJoin;this.j=a.miterLimit;this.c=a.width;this.b=void 0}k=rj.prototype;k.clone=function(){var a=this.a;return new rj({color:a&&a.slice?a.slice():a||void 0,lineCap:this.i,lineDash:this.f?this.f.slice():void 0,lineDashOffset:this.g,lineJoin:this.l,miterLimit:this.j,width:this.c})};k.bo=function(){return this.a};k.Bk=function(){return this.i};
220
- k.co=function(){return this.f};k.Ck=function(){return this.g};k.Dk=function(){return this.l};k.Ik=function(){return this.j};k.eo=function(){return this.c};k.fo=function(a){this.a=a;this.b=void 0};k.rp=function(a){this.i=a;this.b=void 0};k.setLineDash=function(a){this.f=a;this.b=void 0};k.sp=function(a){this.g=a;this.b=void 0};k.tp=function(a){this.l=a;this.b=void 0};k.up=function(a){this.j=a;this.b=void 0};k.xp=function(a){this.c=a;this.b=void 0};function sj(a){this.b=this.a=this.f=void 0;this.i=void 0===a?!0:a;this.c=0}function tj(a){var b=a.b;if(b){var c=b.next,d=b.vb;c&&(c.vb=d);d&&(d.next=c);a.b=c||d;a.f===a.a?(a.b=void 0,a.f=void 0,a.a=void 0):a.f===b?a.f=a.b:a.a===b&&(a.a=d?a.b.vb:a.b);a.c--}}function uj(a){a.b=a.f;if(a.b)return a.b.data}function vj(a){if(a.b&&a.b.next)return a.b=a.b.next,a.b.data}function wj(a){if(a.b&&a.b.next)return a.b.next.data}function xj(a){if(a.b&&a.b.vb)return a.b=a.b.vb,a.b.data}
221
- function yj(a){if(a.b&&a.b.vb)return a.b.vb.data}function zj(a){if(a.b)return a.b.data}sj.prototype.concat=function(a){if(a.b){if(this.b){var b=this.b.next;this.b.next=a.f;a.f.vb=this.b;b.vb=a.a;a.a.next=b;this.c+=a.c}else this.b=a.b,this.f=a.f,this.a=a.a,this.c=a.c;a.b=void 0;a.f=void 0;a.a=void 0;a.c=0}};var Aj,Bj,Cj,Dj;
222
- (function(){var a={},b={na:a};(function(c){if("object"===typeof a&&"undefined"!==typeof b)b.na=c();else{var d;"undefined"!==typeof window?d=window:"undefined"!==typeof global?d=global:"undefined"!==typeof self?d=self:d=this;d.eq=c()}})(function(){return function d(a,b,g){function e(h,l){if(!b[h]){if(!a[h]){var m="function"==typeof require&&require;if(!l&&m)return m(h,!0);if(f)return f(h,!0);m=Error("Cannot find module '"+h+"'");throw m.code="MODULE_NOT_FOUND",m;}m=b[h]={na:{}};a[h][0].call(m.na,function(b){var d=
223
- a[h][1][b];return e(d?d:b)},m,m.na,d,a,b,g)}return b[h].na}for(var f="function"==typeof require&&require,m=0;m<g.length;m++)e(g[m]);return e}({1:[function(a,b){function d(a,b,f,g,q){f=f||0;g=g||a.length-1;for(q=q||h;g>f;){if(600<g-f){var l=g-f+1,m=b-f+1,n=Math.log(l),p=.5*Math.exp(2*n/3),n=.5*Math.sqrt(n*p*(l-p)/l)*(0>m-l/2?-1:1);d(a,b,Math.max(f,Math.floor(b-m*p/l+n)),Math.min(g,Math.floor(b+(l-m)*p/l+n)),q)}l=a[b];m=f;p=g;e(a,f,b);for(0<q(a[g],l)&&e(a,f,g);m<p;){e(a,m,p);m++;for(p--;0>q(a[m],l);)m++;
224
- for(;0<q(a[p],l);)p--}0===q(a[f],l)?e(a,f,p):(p++,e(a,p,g));p<=b&&(f=p+1);b<=p&&(g=p-1)}}function e(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.na=d},{}],2:[function(a,b){function d(a,b){if(!(this instanceof d))return new d(a,b);this.xf=Math.max(4,a||9);this.Qg=Math.max(2,Math.ceil(.4*this.xf));b&&this.Mj(b);this.clear()}function e(a,b){h(a,0,a.children.length,b,a)}function h(a,b,d,e,f){f||(f=x(null));f.ea=Infinity;f.ga=Infinity;f.ca=-Infinity;f.ka=-Infinity;for(var g;b<
225
- d;b++)g=a.children[b],l(f,a.ib?e(g):g);return f}function l(a,b){a.ea=Math.min(a.ea,b.ea);a.ga=Math.min(a.ga,b.ga);a.ca=Math.max(a.ca,b.ca);a.ka=Math.max(a.ka,b.ka)}function m(a,b){return a.ea-b.ea}function n(a,b){return a.ga-b.ga}function p(a){return(a.ca-a.ea)*(a.ka-a.ga)}function q(a){return a.ca-a.ea+(a.ka-a.ga)}function r(a,b){return a.ea<=b.ea&&a.ga<=b.ga&&b.ca<=a.ca&&b.ka<=a.ka}function v(a,b){return b.ea<=a.ca&&b.ga<=a.ka&&b.ca>=a.ea&&b.ka>=a.ga}function x(a){return{children:a,height:1,ib:!0,
226
- ea:Infinity,ga:Infinity,ca:-Infinity,ka:-Infinity}}function y(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,z(a,h,b,d,f),g.push(b,h,h,d))}b.na=d;var z=a("quickselect");d.prototype={all:function(){return this.Lg(this.data,[])},search:function(a){var b=this.data,d=[],e=this.zb;if(!v(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.ib?e(l):l,v(a,m)&&(b.ib?d.push(l):r(a,m)?this.Lg(l,d):f.push(l));b=f.pop()}return d},
227
- load:function(a){if(!a||!a.length)return this;if(a.length<this.Qg){for(var b=0,d=a.length;b<d;b++)this.Fa(a[b]);return this}a=this.Ng(a.slice(),0,a.length-1,0);this.data.children.length?this.data.height===a.height?this.Sg(this.data,a):(this.data.height<a.height&&(b=this.data,this.data=a,a=b),this.Pg(a,this.data.height-a.height-1,!0)):this.data=a;return this},Fa:function(a){a&&this.Pg(a,this.data.height-1);return this},clear:function(){this.data=x([]);return this},remove:function(a,b){if(!a)return this;
228
- for(var d=this.data,e=this.zb(a),f=[],g=[],h,l,m,n;d||f.length;){d||(d=f.pop(),l=f[f.length-1],h=g.pop(),n=!0);if(d.ib){a:{m=a;var p=d.children,q=b;if(q){for(var v=0;v<p.length;v++)if(q(m,p[v])){m=v;break a}m=-1}else m=p.indexOf(m)}if(-1!==m){d.children.splice(m,1);f.push(d);this.Kj(f);break}}n||d.ib||!r(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},zb:function(a){return a},Bf:m,Cf:n,toJSON:function(){return this.data},Lg:function(a,b){for(var d=
229
- [];a;)a.ib?b.push.apply(b,a.children):d.push.apply(d,a.children),a=d.pop();return b},Ng:function(a,b,d,f){var g=d-b+1,h=this.xf,l;if(g<=h)return l=x(a.slice(b,d+1)),e(l,this.zb),l;f||(f=Math.ceil(Math.log(g)/Math.log(h)),h=Math.ceil(g/Math.pow(h,f-1)));l=x([]);l.ib=!1;l.height=f;var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),m,n,p;for(y(a,b,d,h,this.Bf);b<=d;b+=h)for(n=Math.min(b+h-1,d),y(a,b,n,g,this.Cf),m=b;m<=n;m+=g)p=Math.min(m+g-1,n),l.children.push(this.Ng(a,m,p,f-1));e(l,this.zb);return l},
230
- Jj:function(a,b,d,e){for(var f,g,h,l,m,n,q,r;;){e.push(b);if(b.ib||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.ca,a.ca)-Math.min(h.ea,a.ea))*(Math.max(h.ka,a.ka)-Math.min(h.ga,a.ga))-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},Pg:function(a,b,d){var e=this.zb;d=d?a:e(a);var e=[],f=this.Jj(d,this.data,b,e);f.children.push(a);for(l(f,d);0<=b;)if(e[b].children.length>this.xf)this.Rj(e,b),b--;else break;this.Gj(d,
231
- e,b)},Rj:function(a,b){var d=a[b],f=d.children.length,g=this.Qg;this.Hj(d,g,f);f=this.Ij(d,g,f);f=x(d.children.splice(f,d.children.length-f));f.height=d.height;f.ib=d.ib;e(d,this.zb);e(f,this.zb);b?a[b-1].children.push(f):this.Sg(d,f)},Sg:function(a,b){this.data=x([a,b]);this.data.height=a.height+1;this.data.ib=!1;e(this.data,this.zb)},Ij: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.zb),g=h(a,e,d,this.zb),l=Math.max(0,Math.min(f.ca,g.ca)-Math.max(f.ea,g.ea))*Math.max(0,
232
- Math.min(f.ka,g.ka)-Math.max(f.ga,g.ga)),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},Hj:function(a,b,d){var e=a.ib?this.Bf:m,f=a.ib?this.Cf:n,g=this.Mg(a,b,d,e);b=this.Mg(a,b,d,f);g<b&&a.children.sort(e)},Mg:function(a,b,d,e){a.children.sort(e);e=this.zb;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.ib?e(p):p),m+=q(f);for(n=d-b-1;n>=b;n--)p=a.children[n],l(g,a.ib?e(p):p),m+=q(g);return m},Gj:function(a,b,d){for(;0<=d;d--)l(b[d],a)},
233
- Kj:function(a){for(var b=a.length-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():e(a[b],this.zb)},Mj:function(a){var b=["return a"," - b",";"];this.Bf=new Function("a","b",b.join(a[0]));this.Cf=new Function("a","b",b.join(a[1]));this.zb=new Function("a","return {minX: a"+a[0]+", minY: a"+a[1]+", maxX: a"+a[2]+", maxY: a"+a[3]+"};")}}},{quickselect:1}]},{},[2])(2)});Aj=b.na})();function Ej(a){this.b=Aj(a);this.a={}}k=Ej.prototype;k.Fa=function(a,b){var c={ea:a[0],ga:a[1],ca:a[2],ka:a[3],value:b};this.b.Fa(c);this.a[w(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={ea:f[0],ga:f[1],ca:f[2],ka:f[3],value:g};c[d]=f;this.a[w(g)]=f}this.b.load(c)};k.remove=function(a){a=w(a);var b=this.a[a];delete this.a[a];return null!==this.b.remove(b)};
234
- function Fj(a,b,c){var d=a.a[w(c)];$a([d.ea,d.ga,d.ca,d.ka],b)||(a.remove(c),a.Fa(b,c))}function Gj(a){return a.b.all().map(function(a){return a.value})}function Hj(a,b){return a.b.search({ea:b[0],ga:b[1],ca:b[2],ka:b[3]}).map(function(a){return a.value})}k.forEach=function(a,b){return Ij(Gj(this),a,b)};function Jj(a,b,c,d){return Ij(Hj(a,b),c,d)}function Ij(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.a={}};
235
- k.D=function(){var a=this.b.data;return[a.ea,a.ga,a.ca,a.ka]};function Kj(a,b){qi.call(this,0,b);this.l=new Yi(0,b);this.I=null;this.u=[];this.c=[];this.j={fillColor:null,s:!1}}u(Kj,qi);function Lj(a,b,c,d){var e=new sj,f=new Ej;b=Mj(a,b,d,e,f,!0);if(c.length){var g,h,l=[];g=0;for(h=c.length;g<h;++g){var m={list:new sj,ca:void 0};l.push(m);m.ca=Mj(a,c[g],d,m.list,f,!1)}l.sort(function(a,b){return b.ca-a.ca});for(g=0;g<l.length;++g)Nj(l[g].list,l[g].ca,e,b,f)}Oj(e,f,!1);Pj(a,e,f)}
236
- function Mj(a,b,c,d,e,f){var g,h,l=a.a.length/2,m,n,p,q=[],r=[];if(f===If(b,0,b.length,c))for(n=m=Qj(a,b[0],b[1],l++),f=b[0],g=c,h=b.length;g<h;g+=c)p=Qj(a,b[g],b[g+1],l++),r.push(Rj(n,p,d)),q.push([Math.min(n.x,p.x),Math.min(n.y,p.y),Math.max(n.x,p.x),Math.max(n.y,p.y)]),f=b[g]>f?b[g]:f,n=p;else for(g=b.length-c,n=m=Qj(a,b[g],b[g+1],l++),f=b[g],g-=c,h=0;g>=h;g-=c)p=Qj(a,b[g],b[g+1],l++),r.push(Rj(n,p,d)),q.push([Math.min(n.x,p.x),Math.min(n.y,p.y),Math.max(n.x,p.x),Math.max(n.y,p.y)]),f=b[g]>f?b[g]:
237
- f,n=p;r.push(Rj(p,m,d));q.push([Math.min(n.x,p.x),Math.min(n.y,p.y),Math.max(n.x,p.x),Math.max(n.y,p.y)]);e.load(q,r);return f}function Oj(a,b,c){var d=uj(a),e=d,f=vj(a),g=!1;do{var h=c?wi(f.X.x,f.X.y,e.X.x,e.X.y,e.ba.x,e.ba.y):wi(e.ba.x,e.ba.y,e.X.x,e.X.y,f.X.x,f.X.y);void 0===h?(Sj(e,f,a,b),g=!0,f===d&&(d=wj(a)),f=e,xj(a)):e.X.wb!==h&&(e.X.wb=h,g=!0);e=f;f=vj(a)}while(e!==d);return g}
238
- function Nj(a,b,c,d,e){Oj(a,e,!0);for(var f=uj(a);f.X.x!==b;)f=vj(a);b=f.X;d={x:d,y:b.y,hb:-1};var g=Infinity,h,l,m,n;m=Tj({ba:b,X:d},e,!0);h=0;for(l=m.length;h<l;++h){var p=m[h];if(void 0===p.ba.wb){var q=Uj(b,d,p.ba,p.X,!0),r=Math.abs(b.x-q[0]);r<g&&(g=r,n={x:q[0],y:q[1],hb:-1},f=p)}}if(Infinity!==g){m=f.X;if(0<g&&(f=Vj(b,n,f.X,e),f.length))for(n=Infinity,h=0,l=f.length;h<l;++h)if(g=f[h],p=Math.atan2(b.y-g.y,d.x-g.x),p<n||p===n&&g.x<m.x)n=p,m=g;for(f=uj(c);f.X!==m;)f=vj(c);d={x:b.x,y:b.y,hb:b.hb,
239
- wb:void 0};h={x:f.X.x,y:f.X.y,hb:f.X.hb,wb:void 0};wj(a).ba=d;Rj(b,f.X,a,e);Rj(h,d,a,e);f.X=h;a.i&&a.b&&(a.f=a.b,a.a=a.b.vb);c.concat(a)}}
240
- function Pj(a,b,c){for(var d=!1,e=Wj(b,c);3<b.c;)if(e){if(!Xj(a,b,c,e,d)&&!Oj(b,c,d)&&!Yj(a,b,c,!0))break}else if(!Xj(a,b,c,e,d)&&!Oj(b,c,d)&&!Yj(a,b,c))if(e=Wj(b,c)){var d=b,f=2*d.c,g=Array(f),h=uj(d),l=h,m=0;do g[m++]=l.ba.x,g[m++]=l.ba.y,l=vj(d);while(l!==h);d=!If(g,0,f,2);Oj(b,c,d)}else{e=a;d=b;f=g=uj(d);do{h=Tj(f,c);if(h.length){g=h[0];h=Uj(f.ba,f.X,g.ba,g.X);h=Qj(e,h[0],h[1],e.a.length/2);l=new sj;m=new Ej;Rj(h,f.X,l,m);f.X=h;Fj(c,[Math.min(f.ba.x,h.x),Math.min(f.ba.y,h.y),Math.max(f.ba.x,h.x),
241
- Math.max(f.ba.y,h.y)],f);for(f=vj(d);f!==g;)Rj(f.ba,f.X,l,m),c.remove(f),tj(d),f=zj(d);Rj(g.ba,h,l,m);g.ba=h;Fj(c,[Math.min(g.X.x,h.x),Math.min(g.X.y,h.y),Math.max(g.X.x,h.x),Math.max(g.X.y,h.y)],g);Oj(d,c,!1);Pj(e,d,c);Oj(l,m,!1);Pj(e,l,m);break}f=vj(d)}while(f!==g);break}3===b.c&&(e=a.b.length,a.b[e++]=yj(b).ba.hb,a.b[e++]=zj(b).ba.hb,a.b[e++]=wj(b).ba.hb)}
242
- function Xj(a,b,c,d,e){var f=a.b.length,g=uj(b),h=yj(b),l=g,m=vj(b),n=wj(b),p,q,r,v=!1;do{p=l.ba;q=l.X;r=m.X;if(!1===q.wb){var x=e?Zj(n.X,r,q,p,h.ba):Zj(h.ba,p,q,r,n.X);!d&&Tj({ba:p,X:r},c).length||!x||Vj(p,q,r,c,!0).length||!d&&!1!==p.wb&&!1!==r.wb&&If([h.ba.x,h.ba.y,p.x,p.y,q.x,q.y,r.x,r.y,n.X.x,n.X.y],0,10,2)!==!e||(a.b[f++]=p.hb,a.b[f++]=q.hb,a.b[f++]=r.hb,Sj(l,m,b,c),m===g&&(g=n),v=!0)}h=yj(b);l=zj(b);m=vj(b);n=wj(b)}while(l!==g&&3<b.c);return v}
243
- function Yj(a,b,c,d){var e=uj(b);vj(b);var f=e,g=vj(b),h=!1;do{var l=Uj(f.ba,f.X,g.ba,g.X,d);if(l){var m,h=a.b.length,n=a.a.length/2,p=xj(b);tj(b);c.remove(p);m=p===e;d?(l[0]===f.ba.x&&l[1]===f.ba.y?(xj(b),l=f.ba,g.ba=l,c.remove(f),m=m||f===e):(l=g.X,f.X=l,c.remove(g),m=m||g===e),tj(b)):(l=Qj(a,l[0],l[1],n),f.X=l,g.ba=l,Fj(c,[Math.min(f.ba.x,f.X.x),Math.min(f.ba.y,f.X.y),Math.max(f.ba.x,f.X.x),Math.max(f.ba.y,f.X.y)],f),Fj(c,[Math.min(g.ba.x,g.X.x),Math.min(g.ba.y,g.X.y),Math.max(g.ba.x,g.X.x),Math.max(g.ba.y,
244
- g.X.y)],g));a.b[h++]=p.ba.hb;a.b[h++]=p.X.hb;a.b[h++]=l.hb;h=!0;if(m)break}f=yj(b);g=vj(b)}while(f!==e);return h}function Wj(a,b){var c=uj(a),d=c;do{if(Tj(d,b).length)return!1;d=vj(a)}while(d!==c);return!0}function Qj(a,b,c,d){var e=a.a.length;a.a[e++]=b;a.a[e++]=c;return{x:b,y:c,hb:d,wb:void 0}}
245
- function Rj(a,b,c,d){var e={ba:a,X:b},f={vb:void 0,next:void 0,data:e},g=c.b;if(g){var h=g.next;f.vb=g;f.next=h;g.next=f;h&&(h.vb=f);g===c.a&&(c.a=f)}else c.f=f,c.a=f,c.i&&(f.next=f,f.vb=f);c.b=f;c.c++;d&&d.Fa([Math.min(a.x,b.x),Math.min(a.y,b.y),Math.max(a.x,b.x),Math.max(a.y,b.y)],e);return e}function Sj(a,b,c,d){zj(c)===b&&(tj(c),a.X=b.X,d.remove(b),Fj(d,[Math.min(a.ba.x,a.X.x),Math.min(a.ba.y,a.X.y),Math.max(a.ba.x,a.X.x),Math.max(a.ba.y,a.X.y)],a))}
246
- function Vj(a,b,c,d,e){var f,g,h,l=[],m=Hj(d,[Math.min(a.x,b.x,c.x),Math.min(a.y,b.y,c.y),Math.max(a.x,b.x,c.x),Math.max(a.y,b.y,c.y)]);d=0;for(f=m.length;d<f;++d)for(g in m[d])h=m[d][g],"object"!==typeof h||e&&!h.wb||h.x===a.x&&h.y===a.y||h.x===b.x&&h.y===b.y||h.x===c.x&&h.y===c.y||-1!==l.indexOf(h)||!Cf([a.x,a.y,b.x,b.y,c.x,c.y],0,6,2,h.x,h.y)||l.push(h);return l}
247
- function Tj(a,b,c){var d=a.ba,e=a.X;b=Hj(b,[Math.min(d.x,e.x),Math.min(d.y,e.y),Math.max(d.x,e.x),Math.max(d.y,e.y)]);var f=[],g,h;g=0;for(h=b.length;g<h;++g){var l=b[g];a!==l&&(c||l.ba!==e||l.X!==d)&&Uj(d,e,l.ba,l.X,c)&&f.push(l)}return f}
248
- function Uj(a,b,c,d,e){var f=(d.y-c.y)*(b.x-a.x)-(d.x-c.x)*(b.y-a.y);if(f&&(d=((d.x-c.x)*(a.y-c.y)-(d.y-c.y)*(a.x-c.x))/f,c=((b.x-a.x)*(a.y-c.y)-(b.y-a.y)*(a.x-c.x))/f,!e&&d>xi&&d<1-xi&&c>xi&&c<1-xi||e&&0<=d&&1>=d&&0<=c&&1>=c))return[a.x+d*(b.x-a.x),a.y+d*(b.y-a.y)]}
249
- function Zj(a,b,c,d,e){if(void 0===b.wb||void 0===d.wb)return!1;var f=(c.x-d.x)*(b.y-d.y)>(c.y-d.y)*(b.x-d.x);e=(e.x-d.x)*(b.y-d.y)<(e.y-d.y)*(b.x-d.x);a=(a.x-b.x)*(d.y-b.y)>(a.y-b.y)*(d.x-b.x);c=(c.x-b.x)*(d.y-b.y)<(c.y-b.y)*(d.x-b.x);b=b.wb?c||a:c&&a;return(d.wb?e||f:e&&f)&&b}k=Kj.prototype;
250
- k.qc=function(a,b){var c=a.Pd(),d=a.ta(),e=this.b.length,f=this.l.b.length,g,h,l,m;g=0;for(h=c.length;g<h;++g){var n=c[g].kd();if(0<n.length){var p=n[0].ia(),p=gf(p,p.length,d,-this.origin[0],-this.origin[1]),q=[],r;l=1;for(m=n.length;l<m;++l)r=n[l].ia(),r=gf(r,r.length,d,-this.origin[0],-this.origin[1]),q.push(r);jj(this.l,p,q,d);Lj(this,p,q,d)}}this.b.length>e&&(this.f.push(e),this.g.push(b),this.j.s&&(this.c.push(e),this.j.s=!1));this.l.b.length>f&&kj(this.l,b,f)};
251
- k.sc=function(a,b){var c=a.kd(),d=a.ta();if(0<c.length){this.f.push(this.b.length);this.g.push(b);this.j.s&&(this.c.push(this.b.length),this.j.s=!1);kj(this.l,b);var e=c[0].ia(),e=gf(e,e.length,d,-this.origin[0],-this.origin[1]),f=[],g,h,l;g=1;for(h=c.length;g<h;++g)l=c[g].ia(),l=gf(l,l.length,d,-this.origin[0],-this.origin[1]),f.push(l);jj(this.l,e,f,d);Lj(this,e,f,d)}};
252
- k.Cb=function(a){this.v=new yi(this.a);this.o=new yi(this.b);this.f.push(this.b.length);this.l.Cb(a);!this.c.length&&0<this.u.length&&(this.u=[]);this.b=this.a=null};k.Db=function(a){var b=this.v,c=this.o,d=this.l.Db(a);return function(){Bi(a,b);Bi(a,c);d()}};k.gf=function(a,b){var c=Ci(b,nj,pj),d;this.I?d=this.I:this.I=d=new qj(a,c);b.Sc(c);a.enableVertexAttribArray(d.b);a.vertexAttribPointer(d.b,2,5126,!1,8,0);return d};k.hf=function(a,b){a.disableVertexAttribArray(b.b)};
253
- k.Nd=function(a,b,c,d){var e=a.getParameter(a.DEPTH_FUNC),f=a.getParameter(a.DEPTH_WRITEMASK);d||(a.enable(a.DEPTH_TEST),a.depthMask(!0),a.depthFunc(a.NOTEQUAL));if(tb(c)){var g,h,l;h=this.f[this.f.length-1];for(c=this.c.length-1;0<=c;--c)g=this.c[c],l=this.u[c],a.uniform4fv(this.I.G,l),si(a,b,g,h),h=g}else{var m,n,p,q;p=this.f.length-2;l=h=this.f[p+1];for(g=this.c.length-1;0<=g;--g){m=this.u[g];a.uniform4fv(this.I.G,m);for(m=this.c[g];0<=p&&this.f[p]>=m;)q=this.f[p],n=this.g[p],n=w(n).toString(),
254
- c[n]&&(h!==l&&(si(a,b,h,l),a.clear(a.DEPTH_BUFFER_BIT)),l=q),p--,h=q;h!==l&&(si(a,b,h,l),a.clear(a.DEPTH_BUFFER_BIT));h=l=m}}d||(a.disable(a.DEPTH_TEST),a.clear(a.DEPTH_BUFFER_BIT),a.depthMask(f),a.depthFunc(e))};
255
- k.re=function(a,b,c,d,e){var f,g,h,l,m,n,p;p=this.f.length-2;h=this.f[p+1];for(f=this.c.length-1;0<=f;--f)for(g=this.u[f],a.uniform4fv(this.I.G,g),l=this.c[f];0<=p&&this.f[p]>=l;){g=this.f[p];m=this.g[p];n=w(m).toString();if(void 0===c[n]&&m.V()&&(void 0===e||nb(e,m.V().D()))&&(a.clear(a.COLOR_BUFFER_BIT|a.DEPTH_BUFFER_BIT),si(a,b,g,h),h=d(m)))return h;p--;h=g}};
256
- k.Oa=function(a,b){var c=a?a.b:[0,0,0,0];c instanceof CanvasGradient||c instanceof CanvasPattern?c=ti:c=Sc(c).map(function(a,b){return 3!=b?a/255:a})||ti;this.j.fillColor&&ja(c,this.j.fillColor)||(this.j.fillColor=c,this.j.s=!0,this.u.push(c));b?this.l.Oa(null,b):this.l.Oa(null,new rj({color:[0,0,0,0],lineWidth:0}))};function ak(){}ak.prototype.i=function(){};function bk(a,b,c){this.g=b;this.l=a;this.c=c;this.a={}}u(bk,fi);function ck(a,b){var c=[],d;for(d in a.a){var e=a.a[d],f;for(f in e)c.push(e[f].Db(b))}return function(){for(var a=c.length,b,d=0;d<a;d++)b=c[d].apply(this,arguments);return b}}function dk(a,b){for(var c in a.a){var d=a.a[c],e;for(e in d)d[e].Cb(b)}}bk.prototype.b=function(a,b){var c=void 0!==a?a.toString():"0",d=this.a[c];void 0===d&&(d={},this.a[c]=d);c=d[b];void 0===c&&(c=new ek[b](this.l,this.g),d[b]=c);return c};
257
- bk.prototype.f=function(){return tb(this.a)};bk.prototype.i=function(a,b,c,d,e,f,g,h){var l=Object.keys(this.a).map(Number);l.sort(ea);var m,n,p,q,r,v;m=0;for(n=l.length;m<n;++m)for(r=this.a[l[m].toString()],p=0,q=ei.length;p<q;++p)v=r[ei[p]],void 0!==v&&v.i(a,b,c,d,e,f,g,h,void 0,!1)};
258
- function fk(a,b,c,d,e,f,g,h,l,m,n){var p=gk,q=Object.keys(a.a).map(Number);q.sort(function(a,b){return b-a});var r,v,x,y,z;r=0;for(v=q.length;r<v;++r)for(y=a.a[q[r].toString()],x=ei.length-1;0<=x;--x)if(z=y[ei[x]],void 0!==z&&(z=z.i(b,c,d,e,p,f,g,h,l,m,n)))return z}
259
- bk.prototype.Ba=function(a,b,c,d,e,f,g,h,l,m){var n=b.b;n.bindFramebuffer(n.FRAMEBUFFER,Ki(b));var p;void 0!==this.c&&(p=La(Xa(a),d*this.c));return fk(this,b,a,d,e,g,h,l,function(a){var b=new Uint8Array(4);n.readPixels(0,0,1,1,n.RGBA,n.UNSIGNED_BYTE,b);if(0<b[3]&&(a=m(a)))return a},!0,p)};
260
- function hk(a,b,c,d,e,f,g,h){var l=c.b;l.bindFramebuffer(l.FRAMEBUFFER,Ki(c));return void 0!==fk(a,c,b,d,e,f,g,h,function(){var a=new Uint8Array(4);l.readPixels(0,0,1,1,l.RGBA,l.UNSIGNED_BYTE,a);return 0<a[3]},!1)}var gk=[1,1],ek={Circle:Ai,Image:Pi,LineString:Yi,Polygon:Kj,Text:ak};function ik(a,b,c,d,e,f,g){this.b=a;this.f=b;this.a=f;this.c=g;this.l=e;this.g=d;this.i=c;this.j=this.o=this.v=null}u(ik,Rh);k=ik.prototype;k.qd=function(a){this.Oa(a.Da(),a.Ea());this.Wb(a.$())};
261
- k.nc=function(a){switch(a.U()){case "Point":this.rc(a,null);break;case "LineString":this.Rb(a,null);break;case "Polygon":this.sc(a,null);break;case "MultiPoint":this.pc(a,null);break;case "MultiLineString":this.oc(a,null);break;case "MultiPolygon":this.qc(a,null);break;case "GeometryCollection":this.qe(a,null);break;case "Circle":this.ac(a,null)}};k.pe=function(a,b){var c=(0,b.Sa)(a);c&&nb(this.a,c.D())&&(this.qd(b),this.nc(c))};k.qe=function(a){a=a.a;var b,c;b=0;for(c=a.length;b<c;++b)this.nc(a[b])};
262
- k.rc=function(a,b){var c=this.b,d=(new bk(1,this.a)).b(0,"Image");d.Wb(this.v);d.rc(a,b);d.Cb(c);d.i(this.b,this.f,this.i,this.g,this.l,this.c,1,{},void 0,!1);d.Db(c)()};k.pc=function(a,b){var c=this.b,d=(new bk(1,this.a)).b(0,"Image");d.Wb(this.v);d.pc(a,b);d.Cb(c);d.i(this.b,this.f,this.i,this.g,this.l,this.c,1,{},void 0,!1);d.Db(c)()};
263
- k.Rb=function(a,b){var c=this.b,d=(new bk(1,this.a)).b(0,"LineString");d.Oa(null,this.j);d.Rb(a,b);d.Cb(c);d.i(this.b,this.f,this.i,this.g,this.l,this.c,1,{},void 0,!1);d.Db(c)()};k.oc=function(a,b){var c=this.b,d=(new bk(1,this.a)).b(0,"LineString");d.Oa(null,this.j);d.oc(a,b);d.Cb(c);d.i(this.b,this.f,this.i,this.g,this.l,this.c,1,{},void 0,!1);d.Db(c)()};
264
- k.sc=function(a,b){var c=this.b,d=(new bk(1,this.a)).b(0,"Polygon");d.Oa(this.o,this.j);d.sc(a,b);d.Cb(c);d.i(this.b,this.f,this.i,this.g,this.l,this.c,1,{},void 0,!1);d.Db(c)()};k.qc=function(a,b){var c=this.b,d=(new bk(1,this.a)).b(0,"Polygon");d.Oa(this.o,this.j);d.qc(a,b);d.Cb(c);d.i(this.b,this.f,this.i,this.g,this.l,this.c,1,{},void 0,!1);d.Db(c)()};
265
- k.ac=function(a,b){var c=this.b,d=(new bk(1,this.a)).b(0,"Circle");d.Oa(this.o,this.j);d.ac(a,b);d.Cb(c);d.i(this.b,this.f,this.i,this.g,this.l,this.c,1,{},void 0,!1);d.Db(c)()};k.Wb=function(a){this.v=a};k.Oa=function(a,b){this.o=a;this.j=b};function jk(){this.c=0;this.b={};this.f=this.a=null}k=jk.prototype;k.clear=function(){this.c=0;this.b={};this.f=this.a=null};k.forEach=function(a,b){for(var c=this.a;c;)a.call(b,c.ad,c.uc,this),c=c.Mb};k.get=function(a){a=this.b[a];ra(!!a,15);if(a===this.f)return a.ad;a===this.a?(this.a=this.a.Mb,this.a.ud=null):(a.Mb.ud=a.ud,a.ud.Mb=a.Mb);a.Mb=null;a.ud=this.f;this.f=this.f.Mb=a;return a.ad};
266
- k.pop=function(){var a=this.a;delete this.b[a.uc];a.Mb&&(a.Mb.ud=null);this.a=a.Mb;this.a||(this.f=null);--this.c;return a.ad};k.replace=function(a,b){this.get(a);this.b[a].ad=b};k.set=function(a,b){ra(!(a in this.b),16);var c={uc:a,Mb:null,ud:this.f,ad:b};this.f?this.f.Mb=c:this.a=c;this.f=c;this.b[a]=c;++this.c};function kk(a,b){Hh.call(this,0,b);this.b=document.createElement("CANVAS");this.b.style.width="100%";this.b.style.height="100%";this.b.style.display="block";this.b.className="ol-unselectable";a.insertBefore(this.b,a.childNodes[0]||null);this.u=this.A=0;this.C=Zc();this.o=!0;this.f=Fd(this.b,{antialias:!0,depth:!0,failIfMajorPerformanceCaveat:!0,preserveDrawingBuffer:!1,stencil:!0});this.i=new Ji(this.b,this.f);B(this.b,"webglcontextlost",this.pn,this);B(this.b,"webglcontextrestored",this.qn,this);
267
- this.a=new jk;this.I=null;this.l=new Ce(function(a){var b=a[1];a=a[2];var c=b[0]-this.I[0],b=b[1]-this.I[1];return 65536*Math.log(a)+Math.sqrt(c*c+b*b)/a}.bind(this),function(a){return a[0].jb()});this.G=function(){if(this.l.b.length){Ge(this.l);var a=De(this.l);lk(this,a[0],a[3],a[4])}return!1}.bind(this);this.g=0;mk(this)}u(kk,Hh);
268
- function lk(a,b,c,d){var e=a.f,f=b.jb();if(a.a.b.hasOwnProperty(f))a=a.a.get(f),e.bindTexture(3553,a.Gb),9729!=a.Ch&&(e.texParameteri(3553,10240,9729),a.Ch=9729),9729!=a.Eh&&(e.texParameteri(3553,10241,9729),a.Eh=9729);else{var g=e.createTexture();e.bindTexture(3553,g);if(0<d){var h=a.C.canvas,l=a.C;a.A!==c[0]||a.u!==c[1]?(h.width=c[0],h.height=c[1],a.A=c[0],a.u=c[1]):l.clearRect(0,0,c[0],c[1]);l.drawImage(b.$(),d,d,c[0],c[1],0,0,c[0],c[1]);e.texImage2D(3553,0,6408,6408,5121,h)}else e.texImage2D(3553,
269
- 0,6408,6408,5121,b.$());e.texParameteri(3553,10240,9729);e.texParameteri(3553,10241,9729);e.texParameteri(3553,10242,33071);e.texParameteri(3553,10243,33071);a.a.set(f,{Gb:g,Ch:9729,Eh:9729})}}function nk(a,b,c){var d=a.j;if(Fc(d,b)){a=a.i;var e=c.viewState;d.b(new Mh(b,new ik(a,e.center,e.resolution,e.rotation,c.size,c.extent,c.pixelRatio),c,null,a))}}k=kk.prototype;k.sa=function(){var a=this.f;a.isContextLost()||this.a.forEach(function(b){b&&a.deleteTexture(b.Gb)});Bc(this.i);Hh.prototype.sa.call(this)};
270
- k.ck=function(a,b){for(var c=this.f,d;1024<this.a.c-this.g;){if(d=this.a.a.ad)c.deleteTexture(d.Gb);else if(+this.a.a.uc==b.index)break;else--this.g;this.a.pop()}};k.U=function(){return"webgl"};k.pn=function(a){a.preventDefault();this.a.clear();this.g=0;a=this.c;for(var b in a)a[b].ag()};k.qn=function(){mk(this);this.j.render()};function mk(a){a=a.f;a.activeTexture(33984);a.blendFuncSeparate(770,771,1,771);a.disable(2884);a.disable(2929);a.disable(3089);a.disable(2960)}
271
- k.wg=function(a){var b=this.i,c=this.f;if(c.isContextLost())return!1;if(!a)return this.o&&(this.b.style.display="none",this.o=!1),!1;this.I=a.focus;this.a.set((-a.index).toString(),null);++this.g;nk(this,"precompose",a);var d=[],e=a.layerStatesArray;ka(e);var f=a.viewState.resolution,g,h,l,m;g=0;for(h=e.length;g<h;++g)m=e[g],sh(m,f)&&"ready"==m.Vi&&(l=Kh(this,m.layer),l.bg(a,m,b)&&d.push(m));e=a.size[0]*a.pixelRatio;f=a.size[1]*a.pixelRatio;if(this.b.width!=e||this.b.height!=f)this.b.width=e,this.b.height=
272
- f;c.bindFramebuffer(36160,null);c.clearColor(0,0,0,0);c.clear(16384);c.enable(3042);c.viewport(0,0,this.b.width,this.b.height);g=0;for(h=d.length;g<h;++g)m=d[g],l=Kh(this,m.layer),l.bi(a,m,b);this.o||(this.b.style.display="",this.o=!0);Ih(a);1024<this.a.c-this.g&&a.postRenderFunctions.push(this.ck.bind(this));this.l.b.length&&(a.postRenderFunctions.push(this.G),a.animate=!0);nk(this,"postcompose",a);Lh(this,a);a.postRenderFunctions.push(Jh)};
273
- k.Ba=function(a,b,c,d,e,f,g){var h;if(this.f.isContextLost())return!1;var l=b.viewState,m=b.layerStatesArray,n;for(n=m.length-1;0<=n;--n){h=m[n];var p=h.layer;if(sh(h,l.resolution)&&f.call(g,p)&&(h=Kh(this,p).Ba(a,b,c,d,e)))return h}};k.$h=function(a,b,c,d,e){c=!1;if(this.f.isContextLost())return!1;var f=b.viewState,g=b.layerStatesArray,h;for(h=g.length-1;0<=h;--h){var l=g[h],m=l.layer;if(sh(l,f.resolution)&&d.call(e,m)&&(c=Kh(this,m).Le(a,b)))return!0}return c};
274
- k.Zh=function(a,b,c,d,e){if(this.f.isContextLost())return!1;var f=b.viewState,g,h=b.layerStatesArray,l;for(l=h.length-1;0<=l;--l){g=h[l];var m=g.layer;if(sh(g,f.resolution)&&e.call(d,m)&&(g=Kh(this,m).$f(a,b,c,d)))return g}};var ok=["canvas","webgl"];
275
- function H(a){Ic.call(this);var b=pk(a);this.sf=void 0!==a.loadTilesWhileAnimating?a.loadTilesWhileAnimating:!1;this.tf=void 0!==a.loadTilesWhileInteracting?a.loadTilesWhileInteracting:!1;this.yf=void 0!==a.pixelRatio?a.pixelRatio:Md;this.qf=b.logos;this.ja=function(){this.g=void 0;this.ip.call(this,Date.now())}.bind(this);this.nb=wh();this.zf=wh();this.Cd=0;this.a=null;this.mb=Ja();this.G=this.S=this.T=null;this.c=document.createElement("DIV");this.c.className="ol-viewport"+(Rd?" ol-touch":"");this.c.style.position=
276
- "relative";this.c.style.overflow="hidden";this.c.style.width="100%";this.c.style.height="100%";this.c.style.msTouchAction="none";this.c.style.touchAction="none";this.A=document.createElement("DIV");this.A.className="ol-overlaycontainer";this.c.appendChild(this.A);this.u=document.createElement("DIV");this.u.className="ol-overlaycontainer-stopevent";a="click dblclick mousedown touchstart mspointerdown pointerdown mousewheel wheel".split(" ");for(var c=0,d=a.length;c<d;++c)B(this.u,a[c],Dc);this.c.appendChild(this.u);
277
- this.Ka=new ze(this);for(var e in Cd)B(this.Ka,Cd[e],this.vh,this);this.pa=b.keyboardEventTarget;this.v=null;B(this.c,"wheel",this.md,this);B(this.c,"mousewheel",this.md,this);this.j=b.controls;this.l=b.interactions;this.o=b.overlays;this.eg={};this.C=new b.kp(this.c,this);this.Z=null;this.Pa=[];this.Ia=new He(this.Xk.bind(this),this.Dl.bind(this));this.fa={};B(this,Kc("layergroup"),this.ll,this);B(this,Kc("view"),this.El,this);B(this,Kc("size"),this.Al,this);B(this,Kc("target"),this.Cl,this);this.H(b.values);
278
- this.j.forEach(function(a){a.setMap(this)},this);B(this.j,"add",function(a){a.element.setMap(this)},this);B(this.j,"remove",function(a){a.element.setMap(null)},this);this.l.forEach(function(a){a.setMap(this)},this);B(this.l,"add",function(a){a.element.setMap(this)},this);B(this.l,"remove",function(a){a.element.setMap(null)},this);this.o.forEach(this.Vg,this);B(this.o,"add",function(a){this.Vg(a.element)},this);B(this.o,"remove",function(a){var b=a.element.g;void 0!==b&&delete this.eg[b.toString()];
279
- a.element.setMap(null)},this)}u(H,Ic);k=H.prototype;k.Sj=function(a){this.j.push(a)};k.Tj=function(a){this.l.push(a)};k.Tg=function(a){this.Kc().pd().push(a)};k.Ug=function(a){this.o.push(a)};k.Vg=function(a){var b=a.g;void 0!==b&&(this.eg[b.toString()]=a);a.setMap(this)};
280
- k.sa=function(){Bc(this.Ka);Bc(this.C);yc(this.c,"wheel",this.md,this);yc(this.c,"mousewheel",this.md,this);this.i&&(window.removeEventListener("resize",this.i,!1),this.i=void 0);this.g&&(cancelAnimationFrame(this.g),this.g=void 0);this.Ge(null);Ic.prototype.sa.call(this)};k.se=function(a,b,c){if(this.a)return a=this.$a(a),c=c?c:{},this.C.Ba(a,this.a,void 0!==c.hitTolerance?c.hitTolerance*this.a.pixelRatio:0,b,null,c.layerFilter?c.layerFilter:cf,null)};
281
- k.qm=function(a,b,c,d,e){if(this.a)return this.C.Zh(a,this.a,b,void 0!==c?c:null,d?d:cf,void 0!==e?e:null)};k.Fl=function(a,b){if(!this.a)return!1;var c=this.$a(a);b=b?b:{};return this.C.$h(c,this.a,void 0!==b.hitTolerance?b.hitTolerance*this.a.pixelRatio:0,b.layerFilter?b.layerFilter:cf,null)};k.tk=function(a){return this.$a(this.ue(a))};k.ue=function(a){var b=this.c.getBoundingClientRect();a=a.changedTouches?a.changedTouches[0]:a;return[a.clientX-b.left,a.clientY-b.top]};k.Pf=function(){return this.get("target")};
282
- k.Lc=function(){var a=this.Pf();return void 0!==a?"string"===typeof a?document.getElementById(a):a:null};k.$a=function(a){var b=this.a;return b?Bh(b.pixelToCoordinateTransform,a.slice()):null};k.rk=function(){return this.j};k.Mk=function(){return this.o};k.Lk=function(a){a=this.eg[a.toString()];return void 0!==a?a:null};k.yk=function(){return this.l};k.Kc=function(){return this.get("layergroup")};k.Kh=function(){return this.Kc().pd()};
283
- k.La=function(a){var b=this.a;return b?Bh(b.coordinateToPixelTransform,a.slice(0,2)):null};k.Nb=function(){return this.get("size")};k.aa=function(){return this.get("view")};k.Zk=function(){return this.c};k.Xk=function(a,b,c,d){var e=this.a;if(!(e&&b in e.wantedTiles&&e.wantedTiles[b][a.jb()]))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};k.md=function(a,b){var c=new Bd(b||a.type,this,a);this.vh(c)};
284
- k.vh=function(a){if(this.a){this.Z=a.coordinate;a.frameState=this.a;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.c()&&!d.handleEvent(a))break}}};k.yl=function(){var a=this.a,b=this.Ia;if(b.b.length){var c=16,d=c;if(a){var e=a.viewHints;e[0]&&(c=this.sf?8:0,d=2);e[1]&&(c=this.tf?8:0,d=2)}b.l<c&&(Ge(b),Ie(b,c,d))}b=this.Pa;c=0;for(d=b.length;c<d;++c)b[c](this,a);b.length=0};k.Al=function(){this.render()};
285
- k.Cl=function(){var a;this.Pf()&&(a=this.Lc());if(this.v){for(var b=0,c=this.v.length;b<c;++b)sc(this.v[b]);this.v=null}a?(a.appendChild(this.c),a=this.pa?this.pa:a,this.v=[B(a,"keydown",this.md,this),B(a,"keypress",this.md,this)],this.i||(this.i=this.yd.bind(this),window.addEventListener("resize",this.i,!1))):(ad(this.c),this.i&&(window.removeEventListener("resize",this.i,!1),this.i=void 0));this.yd()};k.Dl=function(){this.render()};k.yh=function(){this.render()};
286
- k.El=function(){this.T&&(sc(this.T),this.T=null);this.S&&(sc(this.S),this.S=null);var a=this.aa();a&&(this.c.setAttribute("data-view",w(a)),this.T=B(a,"propertychange",this.yh,this),this.S=B(a,"change",this.yh,this));this.render()};k.ll=function(){this.G&&(this.G.forEach(sc),this.G=null);var a=this.Kc();a&&(this.G=[B(a,"propertychange",this.render,this),B(a,"change",this.render,this)]);this.render()};k.jp=function(){this.g&&cancelAnimationFrame(this.g);this.ja()};
287
- k.render=function(){void 0===this.g&&(this.g=requestAnimationFrame(this.ja))};k.bp=function(a){return this.j.remove(a)};k.cp=function(a){return this.l.remove(a)};k.fp=function(a){return this.Kc().pd().remove(a)};k.gp=function(a){return this.o.remove(a)};
288
- k.ip=function(a){var b,c,d=this.Nb(),e=this.aa(),f=Ja(),g=null;if(void 0!==d&&0<d[0]&&0<d[1]&&e&&Zf(e)){var g=nd(e,this.a?this.a.viewHints:void 0),h=this.Kc().Mf(),l={};b=0;for(c=h.length;b<c;++b)l[w(h[b].layer)]=h[b];b=e.W();g={animate:!1,attributions:{},coordinateToPixelTransform:this.nb,extent:f,focus:this.Z?this.Z:b.center,index:this.Cd++,layerStates:l,layerStatesArray:h,logos:qb({},this.qf),pixelRatio:this.yf,pixelToCoordinateTransform:this.zf,postRenderFunctions:[],size:d,skippedFeatureUids:this.fa,
289
- tileQueue:this.Ia,time:a,usedTiles:{},viewState:b,viewHints:g,wantedTiles:{}}}g&&(g.extent=lb(b.center,b.resolution,b.rotation,g.size,f));this.a=g;this.C.wg(g);g&&(g.animate&&this.render(),Array.prototype.push.apply(this.Pa,g.postRenderFunctions),g.viewHints[0]||g.viewHints[1]||$a(g.extent,this.mb)||(this.b(new Ad("moveend",this,g)),Ma(g.extent,this.mb)));this.b(new Ad("postrender",this,g));setTimeout(this.yl.bind(this),0)};k.Mi=function(a){this.set("layergroup",a)};
290
- k.Bg=function(a){this.set("size",a)};k.Ge=function(a){this.set("target",a)};k.wp=function(a){this.set("view",a)};k.Ui=function(a){a=w(a).toString();this.fa[a]=!0;this.render()};k.yd=function(){var a=this.Lc();if(a){var b=getComputedStyle(a);this.Bg([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.Bg(void 0)};
291
- k.$i=function(a){a=w(a).toString();delete this.fa[a];this.render()};
292
- function pk(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"]="https://openlayers.org/";
293
- else{var e=a.logo;"string"===typeof e?d[e]="":e instanceof HTMLElement?d[w(e).toString()]=e:e&&(ra("string"==typeof e.href,44),ra("string"==typeof e.src,45),d[e.src]=e.href)}e=a.layers instanceof fh?a.layers:new fh({layers:a.layers});c.layergroup=e;c.target=a.target;c.view=void 0!==a.view?a.view:new Rf;var e=Hh,f;void 0!==a.renderer?(Array.isArray(a.renderer)?f=a.renderer:"string"===typeof a.renderer?f=[a.renderer]:ra(!1,46),0<=f.indexOf("dom")&&(f=f.concat(ok))):f=ok;var g,h;g=0;for(h=f.length;g<
294
- h;++g){var l=f[g];if("canvas"==l){if(Od){e=ci;break}}else if("webgl"==l&&Gd){e=kk;break}}void 0!==a.controls?Array.isArray(a.controls)?f=new D(a.controls.slice()):(ra(a.controls instanceof D,47),f=a.controls):f=pd();void 0!==a.interactions?Array.isArray(a.interactions)?g=new D(a.interactions.slice()):(ra(a.interactions instanceof D,48),g=a.interactions):g=ch();void 0!==a.overlays?Array.isArray(a.overlays)?a=new D(a.overlays.slice()):(ra(a.overlays instanceof D,49),a=a.overlays):a=new D;return{controls:f,
295
- interactions:g,keyboardEventTarget:b,logos:d,overlays:a,kp:e,values:c}}qh();function qk(a){Ic.call(this);this.g=a.id;this.o=void 0!==a.insertFirst?a.insertFirst:!0;this.v=void 0!==a.stopEvent?a.stopEvent:!0;this.c=document.createElement("DIV");this.c.className="ol-overlay-container";this.c.style.position="absolute";this.autoPan=void 0!==a.autoPan?a.autoPan:!1;this.l=a.autoPanAnimation||{};this.j=void 0!==a.autoPanMargin?a.autoPanMargin:20;this.a={ne:"",De:"",cf:"",lf:"",visible:!0};this.i=null;B(this,Kc(rk),this.gl,this);B(this,Kc(sk),this.ql,this);B(this,Kc(tk),this.ul,
296
- this);B(this,Kc(uk),this.wl,this);B(this,Kc(vk),this.xl,this);void 0!==a.element&&this.Hi(a.element);this.Oi(void 0!==a.offset?a.offset:[0,0]);this.Ri(void 0!==a.positioning?a.positioning:"top-left");void 0!==a.position&&this.Xf(a.position)}u(qk,Ic);k=qk.prototype;k.te=function(){return this.get(rk)};k.rm=function(){return this.g};k.He=function(){return this.get(sk)};k.rh=function(){return this.get(tk)};k.Lh=function(){return this.get(uk)};k.sh=function(){return this.get(vk)};
297
- k.gl=function(){for(var a=this.c;a.lastChild;)a.removeChild(a.lastChild);(a=this.te())&&this.c.appendChild(a)};k.ql=function(){this.i&&(ad(this.c),sc(this.i),this.i=null);var a=this.He();a&&(this.i=B(a,"postrender",this.render,this),wk(this),a=this.v?a.u:a.A,this.o?a.insertBefore(this.c,a.childNodes[0]||null):a.appendChild(this.c))};k.render=function(){wk(this)};k.ul=function(){wk(this)};
298
- k.wl=function(){wk(this);if(this.get(uk)&&this.autoPan){var a=this.He();if(a&&a.Lc()){var b=xk(a.Lc(),a.Nb()),c=this.te(),d=c.offsetWidth,e=c.currentStyle||getComputedStyle(c),d=d+(parseInt(e.marginLeft,10)+parseInt(e.marginRight,10)),e=c.offsetHeight,f=c.currentStyle||getComputedStyle(c),e=e+(parseInt(f.marginTop,10)+parseInt(f.marginBottom,10)),g=xk(c,[d,e]),c=this.j;Ta(b,g)||(d=g[0]-b[0],e=b[2]-g[2],f=g[1]-b[1],g=b[3]-g[3],b=[0,0],0>d?b[0]=d-c:0>e&&(b[0]=Math.abs(e)+c),0>f?b[1]=f-c:0>g&&(b[1]=
299
- Math.abs(g)+c),0===b[0]&&0===b[1])||(c=a.aa().Ca(),c=a.La(c),b=[c[0]+b[0],c[1]+b[1]],a.aa().animate({center:a.$a(b),duration:this.l.duration,easing:this.l.easing}))}}};k.xl=function(){wk(this)};k.Hi=function(a){this.set(rk,a)};k.setMap=function(a){this.set(sk,a)};k.Oi=function(a){this.set(tk,a)};k.Xf=function(a){this.set(uk,a)};function xk(a,b){var c=a.getBoundingClientRect(),d=c.left+window.pageXOffset,c=c.top+window.pageYOffset;return[d,c,d+b[0],c+b[1]]}k.Ri=function(a){this.set(vk,a)};
300
- function yk(a,b){a.a.visible!==b&&(a.c.style.display=b?"":"none",a.a.visible=b)}
301
- function wk(a){var b=a.He(),c=a.Lh();if(b&&b.a&&c){var c=b.La(c),d=b.Nb(),b=a.c.style,e=a.rh(),f=a.sh(),g=e[0],e=e[1];if("bottom-right"==f||"center-right"==f||"top-right"==f)""!==a.a.De&&(a.a.De=b.left=""),g=Math.round(d[0]-c[0]-g)+"px",a.a.cf!=g&&(a.a.cf=b.right=g);else{""!==a.a.cf&&(a.a.cf=b.right="");if("bottom-center"==f||"center-center"==f||"top-center"==f)g-=a.c.offsetWidth/2;g=Math.round(c[0]+g)+"px";a.a.De!=g&&(a.a.De=b.left=g)}if("bottom-left"==f||"bottom-center"==f||"bottom-right"==f)""!==
302
- a.a.lf&&(a.a.lf=b.top=""),c=Math.round(d[1]-c[1]-e)+"px",a.a.ne!=c&&(a.a.ne=b.bottom=c);else{""!==a.a.ne&&(a.a.ne=b.bottom="");if("center-left"==f||"center-center"==f||"center-right"==f)e-=a.c.offsetHeight/2;c=Math.round(c[1]+e)+"px";a.a.lf!=c&&(a.a.lf=b.top=c)}yk(a,!0)}else yk(a,!1)}var rk="element",sk="map",tk="offset",uk="position",vk="positioning";function zk(a){a=a?a:{};this.l=void 0!==a.collapsed?a.collapsed:!0;this.j=void 0!==a.collapsible?a.collapsible:!0;this.j||(this.l=!1);var b=void 0!==a.className?a.className:"ol-overviewmap",c=void 0!==a.tipLabel?a.tipLabel:"Overview map",d=void 0!==a.collapseLabel?a.collapseLabel:"\u00ab";"string"===typeof d?(this.o=document.createElement("span"),this.o.textContent=d):this.o=d;d=void 0!==a.label?a.label:"\u00bb";"string"===typeof d?(this.u=document.createElement("span"),this.u.textContent=d):this.u=
303
- d;var e=this.j&&!this.l?this.o:this.u,d=document.createElement("button");d.setAttribute("type","button");d.title=c;d.appendChild(e);B(d,"click",this.Fm,this);this.C=document.createElement("DIV");this.C.className="ol-overviewmap-map";var f=this.c=new H({controls:new D,interactions:new D,view:a.view});a.layers&&a.layers.forEach(function(a){f.Tg(a)},this);c=document.createElement("DIV");c.className="ol-overviewmap-box";c.style.boxSizing="border-box";this.A=new qk({position:[0,0],positioning:"bottom-left",
304
- element:c});this.c.Ug(this.A);c=document.createElement("div");c.className=b+" ol-unselectable ol-control"+(this.l&&this.j?" ol-collapsed":"")+(this.j?"":" ol-uncollapsible");c.appendChild(this.C);c.appendChild(d);bd.call(this,{element:c,render:a.render?a.render:Ak,target:a.target})}u(zk,bd);k=zk.prototype;
305
- k.setMap=function(a){var b=this.a;a!==b&&(b&&((b=b.aa())&&yc(b,Kc("rotation"),this.Be,this),this.c.Ge(null)),bd.prototype.setMap.call(this,a),a&&(this.c.Ge(this.C),this.v.push(B(a,"propertychange",this.rl,this)),this.c.Kh().fc()||this.c.Mi(a.Kc()),a=a.aa()))&&(B(a,Kc("rotation"),this.Be,this),Zf(a)&&(this.c.yd(),Bk(this)))};k.rl=function(a){"view"===a.key&&((a=a.oldValue)&&yc(a,Kc("rotation"),this.Be,this),a=this.a.aa(),B(a,Kc("rotation"),this.Be,this))};k.Be=function(){this.c.aa().Ie(this.a.aa().Wa())};
306
- function Ak(){var a=this.a,b=this.c;if(a.a&&b.a){var c=a.Nb(),a=a.aa().fd(c),d=b.Nb(),c=b.aa().fd(d),e=b.La(fb(a)),f=b.La(db(a)),b=Math.abs(e[0]-f[0]),e=Math.abs(e[1]-f[1]),f=d[0],d=d[1];b<.1*f||e<.1*d||b>.75*f||e>.75*d?Bk(this):Ta(c,a)||(a=this.c,c=this.a.aa(),a.aa().xb(c.Ca()))}Ck(this)}function Bk(a){var b=a.a;a=a.c;var c=b.Nb(),b=b.aa().fd(c);a=a.aa();ob(b,1/(.1*Math.pow(2,Math.log(7.5)/Math.LN2/2)));a.Gf(b)}
307
- function Ck(a){var b=a.a,c=a.c;if(b.a&&c.a){var d=b.Nb(),e=b.aa(),f=c.aa(),c=e.Wa(),b=a.A,g=a.A.te(),h=e.fd(d),d=f.Va(),e=cb(h),f=eb(h),l;if(a=a.a.aa().Ca())l=[e[0]-a[0],e[1]-a[1]],Xe(l,c),Se(l,a);b.Xf(l);g&&(g.style.width=Math.abs((e[0]-f[0])/d)+"px",g.style.height=Math.abs((f[1]-e[1])/d)+"px")}}k.Fm=function(a){a.preventDefault();Dk(this)};
308
- function Dk(a){a.element.classList.toggle("ol-collapsed");a.l?$c(a.o,a.u):$c(a.u,a.o);a.l=!a.l;var b=a.c;a.l||b.a||(b.yd(),Bk(a),xc(b,"postrender",function(){Ck(this)},a))}k.Em=function(){return this.j};k.Hm=function(a){this.j!==a&&(this.j=a,this.element.classList.toggle("ol-uncollapsible"),!a&&this.l&&Dk(this))};k.Gm=function(a){this.j&&this.l!==a&&Dk(this)};k.Dm=function(){return this.l};k.Nk=function(){return this.c};function Ek(a){a=a?a:{};var b=void 0!==a.className?a.className:"ol-scale-line";this.j=document.createElement("DIV");this.j.className=b+"-inner";this.c=document.createElement("DIV");this.c.className=b+" ol-unselectable";this.c.appendChild(this.j);this.u=null;this.o=void 0!==a.minWidth?a.minWidth:64;this.l=!1;this.C=void 0;this.A="";bd.call(this,{element:this.c,render:a.render?a.render:Fk,target:a.target});B(this,Kc(Gk),this.S,this);this.G(a.units||"metric")}u(Ek,bd);var Hk=[1,2,5];
309
- Ek.prototype.Kb=function(){return this.get(Gk)};function Fk(a){(a=a.frameState)?this.u=a.viewState:this.u=null;Ik(this)}Ek.prototype.S=function(){Ik(this)};Ek.prototype.G=function(a){this.set(Gk,a)};
310
- function Ik(a){var b=a.u;if(b){var c=b.projection,d=c.tc(),b=Db(c,b.resolution,b.center)*d,d=a.o*b,c="",e=a.Kb();"degrees"==e?(c=wb.degrees,b/=c,d<c/60?(c="\u2033",b*=3600):d<c?(c="\u2032",b*=60):c="\u00b0"):"imperial"==e?.9144>d?(c="in",b/=.0254):1609.344>d?(c="ft",b/=.3048):(c="mi",b/=1609.344):"nautical"==e?(b/=1852,c="nm"):"metric"==e?1>d?(c="mm",b*=1E3):1E3>d?c="m":(c="km",b/=1E3):"us"==e?.9144>d?(c="in",b*=39.37):1609.344>d?(c="ft",b/=.30480061):(c="mi",b/=1609.3472):ra(!1,33);for(var e=3*Math.floor(Math.log(a.o*
311
- b)/Math.log(10)),f;;){f=Hk[(e%3+3)%3]*Math.pow(10,Math.floor(e/3));d=Math.round(f/b);if(isNaN(d)){a.c.style.display="none";a.l=!1;return}if(d>=a.o)break;++e}b=f+" "+c;a.A!=b&&(a.j.innerHTML=b,a.A=b);a.C!=d&&(a.j.style.width=d+"px",a.C=d);a.l||(a.c.style.display="",a.l=!0)}else a.l&&(a.c.style.display="none",a.l=!1)}var Gk="units";function Jk(a){a=a?a:{};this.c=void 0;this.l=Kk;this.A=this.o=0;this.S=null;this.fa=!1;this.Z=void 0!==a.duration?a.duration:200;var b=void 0!==a.className?a.className:"ol-zoomslider",c=document.createElement("button");c.setAttribute("type","button");c.className=b+"-thumb ol-unselectable";var d=document.createElement("div");d.className=b+" ol-unselectable ol-control";d.appendChild(c);this.j=new te(d);B(this.j,"pointerdown",this.fl,this);B(this.j,"pointermove",this.dl,this);B(this.j,"pointerup",this.el,
312
- this);B(d,"click",this.cl,this);B(c,"click",Dc);bd.call(this,{element:d,render:a.render?a.render:Lk})}u(Jk,bd);Jk.prototype.sa=function(){Bc(this.j);bd.prototype.sa.call(this)};var Kk=0;k=Jk.prototype;k.setMap=function(a){bd.prototype.setMap.call(this,a);a&&a.render()};
313
- function Lk(a){if(a.frameState){if(!this.fa){var b=this.element,c=b.offsetWidth,d=b.offsetHeight,e=b.firstElementChild,f=getComputedStyle(e),b=e.offsetWidth+parseFloat(f.marginRight)+parseFloat(f.marginLeft),e=e.offsetHeight+parseFloat(f.marginTop)+parseFloat(f.marginBottom);this.S=[b,e];c>d?(this.l=1,this.A=c-b):(this.l=Kk,this.o=d-e);this.fa=!0}a=a.frameState.viewState.resolution;a!==this.c&&(this.c=a,Mk(this,a))}}
314
- k.cl=function(a){var b=this.a.aa();a=Nk(this,wa(1===this.l?(a.offsetX-this.S[0]/2)/this.A:(a.offsetY-this.S[1]/2)/this.o,0,1));b.animate({resolution:b.constrainResolution(a),duration:this.Z,easing:hd})};k.fl=function(a){this.u||a.b.target!==this.element.firstElementChild||(Sf(this.a.aa(),1,1),this.C=a.clientX,this.G=a.clientY,this.u=!0)};
315
- k.dl=function(a){if(this.u){var b=this.element.firstElementChild;this.c=Nk(this,wa(1===this.l?(a.clientX-this.C+parseInt(b.style.left,10))/this.A:(a.clientY-this.G+parseInt(b.style.top,10))/this.o,0,1));this.a.aa().Yc(this.c);Mk(this,this.c);this.C=a.clientX;this.G=a.clientY}};k.el=function(){if(this.u){var a=this.a.aa();Sf(a,1,-1);a.animate({resolution:a.constrainResolution(this.c),duration:this.Z,easing:hd});this.u=!1;this.G=this.C=void 0}};
316
- function Mk(a,b){var c;c=1-Yf(a.a.aa())(b);var d=a.element.firstElementChild;1==a.l?d.style.left=a.A*c+"px":d.style.top=a.o*c+"px"}function Nk(a,b){return Xf(a.a.aa())(1-b)};function Ok(a){a=a?a:{};this.c=a.extent?a.extent:null;var b=void 0!==a.className?a.className:"ol-zoom-extent",c=void 0!==a.label?a.label:"E",d=void 0!==a.tipLabel?a.tipLabel:"Fit to extent",e=document.createElement("button");e.setAttribute("type","button");e.title=d;e.appendChild("string"===typeof c?document.createTextNode(c):c);B(e,"click",this.l,this);c=document.createElement("div");c.className=b+" ol-unselectable ol-control";c.appendChild(e);bd.call(this,{element:c,target:a.target})}u(Ok,bd);
317
- Ok.prototype.l=function(a){a.preventDefault();a=this.a.aa();var b=this.c?this.c:a.o.D();a.Gf(b)};function Pk(a){Ic.call(this);a=a?a:{};this.a=null;B(this,Kc(Qk),this.dm,this);this.Vf(void 0!==a.tracking?a.tracking:!1)}u(Pk,Ic);k=Pk.prototype;k.sa=function(){this.Vf(!1);Ic.prototype.sa.call(this)};
318
- k.ro=function(a){if(null!==a.alpha){var b=Ca(a.alpha);this.set(Rk,b);"boolean"===typeof a.absolute&&a.absolute?this.set(Sk,b):"number"===typeof a.webkitCompassHeading&&-1!=a.webkitCompassAccuracy&&this.set(Sk,Ca(a.webkitCompassHeading))}null!==a.beta&&this.set(Tk,Ca(a.beta));null!==a.gamma&&this.set(Uk,Ca(a.gamma));this.s()};k.kk=function(){return this.get(Rk)};k.nk=function(){return this.get(Tk)};k.vk=function(){return this.get(Uk)};k.cm=function(){return this.get(Sk)};k.Gh=function(){return this.get(Qk)};
319
- k.dm=function(){if(Pd){var a=this.Gh();a&&!this.a?this.a=B(window,"deviceorientation",this.ro,this):a||null===this.a||(sc(this.a),this.a=null)}};k.Vf=function(a){this.set(Qk,a)};var Rk="alpha",Tk="beta",Uk="gamma",Sk="heading",Qk="tracking";function Vk(a){this.g=a.opacity;this.o=a.rotateWithView;this.l=a.rotation;this.c=a.scale;this.v=a.snapToPixel}k=Vk.prototype;k.Qe=function(){return this.g};k.Re=function(){return this.o};k.Se=function(){return this.l};k.Te=function(){return this.c};k.we=function(){return this.v};k.sd=function(a){this.g=a};k.Ue=function(a){this.l=a};k.td=function(a){this.c=a};function Wk(a){this.A=this.I=this.i=null;this.Xa=void 0!==a.fill?a.fill:null;this.ra=[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.j=void 0!==a.angle?a.angle:0;this.Za=void 0!==a.stroke?a.stroke:null;this.G=this.ua=this.C=null;this.u=a.atlasManager;Xk(this,this.u);Vk.call(this,{opacity:1,rotateWithView:void 0!==a.rotateWithView?a.rotateWithView:!1,rotation:void 0!==a.rotation?a.rotation:0,scale:1,snapToPixel:void 0!==a.snapToPixel?
320
- a.snapToPixel:!0})}u(Wk,Vk);k=Wk.prototype;k.clone=function(){var a=new Wk({fill:this.Da()?this.Da().clone():void 0,points:this.f!==this.a?this.b/2:this.b,radius:this.a,radius2:this.f,angle:this.j,snapToPixel:this.v,stroke:this.Ea()?this.Ea().clone():void 0,rotation:this.l,rotateWithView:this.o,atlasManager:this.u});a.sd(this.g);a.td(this.c);return a};k.Ic=function(){return this.C};k.li=function(){return this.j};k.Da=function(){return this.Xa};k.dg=function(){return this.A};k.$=function(){return this.I};
321
- k.ve=function(){return this.G};k.Pe=function(){return 2};k.Qc=function(){return this.ra};k.mi=function(){return this.b};k.ni=function(){return this.a};k.th=function(){return this.f};k.kc=function(){return this.ua};k.Ea=function(){return this.Za};k.Ah=function(){};k.load=function(){};k.Zi=function(){};
322
- function Xk(a,b){var c,d="",e="",f=0,g=null,h,l=0;a.Za&&(h=Xc(a.Za.a),l=a.Za.c,void 0===l&&(l=1),g=a.Za.f,Nd||(g=null),e=a.Za.l,void 0===e&&(e="round"),d=a.Za.i,void 0===d&&(d="round"),f=a.Za.j,void 0===f&&(f=10));var m=2*(a.a+l)+1,d={strokeStyle:h,Wi:l,size:m,lineCap:d,lineDash:g,lineJoin:e,miterLimit:f};void 0===b?(e=Zc(m,m),a.I=e.canvas,c=m=a.I.width,a.bh(d,e,0,0),a.Xa?a.A=a.I:(e=Zc(d.size,d.size),a.A=e.canvas,a.ah(d,e,0,0))):(m=Math.round(m),(e=!a.Xa)&&(c=a.ah.bind(a,d)),a.Za?(f=a.Za,void 0===
323
- f.b&&(f.b="s",f.b=f.a?"string"===typeof f.a?f.b+f.a:f.b+w(f.a).toString():f.b+"-",f.b+=","+(void 0!==f.i?f.i.toString():"-")+","+(f.f?f.f.toString():"-")+","+(void 0!==f.g?f.g:"-")+","+(void 0!==f.l?f.l:"-")+","+(void 0!==f.j?f.j.toString():"-")+","+(void 0!==f.c?f.c.toString():"-")),f=f.b):f="-",a.Xa?(g=a.Xa,void 0===g.a&&(g.a=g.b instanceof CanvasPattern||g.b instanceof CanvasGradient?w(g.b).toString():"f"+(g.b?Uc(g.b):"-")),g=g.a):g="-",a.i&&f==a.i[1]&&g==a.i[2]&&a.a==a.i[3]&&a.f==a.i[4]&&a.j==
324
- a.i[5]&&a.b==a.i[6]||(a.i=["r"+f+g+(void 0!==a.a?a.a.toString():"-")+(void 0!==a.f?a.f.toString():"-")+(void 0!==a.j?a.j.toString():"-")+(void 0!==a.b?a.b.toString():"-"),f,g,a.a,a.f,a.j,a.b]),d=b.add(a.i[0],m,m,a.bh.bind(a,d),c),a.I=d.image,a.ra=[d.offsetX,d.offsetY],c=d.image.width,a.A=e?d.Gl:a.I);a.C=[m/2,m/2];a.ua=[m,m];a.G=[c,c]}
325
- k.bh=function(a,b,c,d){var e;b.setTransform(1,0,0,1,0,0);b.translate(c,d);b.beginPath();if(Infinity===this.b)b.arc(a.size/2,a.size/2,this.a,0,2*Math.PI,!0);else for(this.f!==this.a&&(this.b*=2),c=0;c<=this.b;c++)d=2*c*Math.PI/this.b-Math.PI/2+this.j,e=c%2?this.f:this.a,b.lineTo(a.size/2+e*Math.cos(d),a.size/2+e*Math.sin(d));this.Xa&&(b.fillStyle=Xc(this.Xa.b),b.fill());this.Za&&(b.strokeStyle=a.strokeStyle,b.lineWidth=a.Wi,a.lineDash&&b.setLineDash(a.lineDash),b.lineCap=a.lineCap,b.lineJoin=a.lineJoin,
326
- b.miterLimit=a.miterLimit,b.stroke());b.closePath()};
327
- k.ah=function(a,b,c,d){b.setTransform(1,0,0,1,0,0);b.translate(c,d);b.beginPath();if(Infinity===this.b)b.arc(a.size/2,a.size/2,this.a,0,2*Math.PI,!0);else{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.j,d=c%2?this.f:this.a,b.lineTo(a.size/2+d*Math.cos(e),a.size/2+d*Math.sin(e))}b.fillStyle=Nh;b.fill();this.Za&&(b.strokeStyle=a.strokeStyle,b.lineWidth=a.Wi,a.lineDash&&b.setLineDash(a.lineDash),b.stroke());b.closePath()};function Yk(a){a=a||{};Wk.call(this,{points:Infinity,fill:a.fill,radius:a.radius,snapToPixel:a.snapToPixel,stroke:a.stroke,atlasManager:a.atlasManager})}u(Yk,Wk);Yk.prototype.clone=function(){var a=new Yk({fill:this.Da()?this.Da().clone():void 0,stroke:this.Ea()?this.Ea().clone():void 0,radius:this.a,snapToPixel:this.v,atlasManager:this.u});a.sd(this.g);a.td(this.c);return a};Yk.prototype.Xc=function(a){this.a=a;Xk(this,this.u)};function Zk(a){a=a||{};this.b=void 0!==a.color?a.color:null;this.a=void 0}Zk.prototype.clone=function(){var a=this.b;return new Zk({color:a&&a.slice?a.slice():a||void 0})};Zk.prototype.f=function(){return this.b};Zk.prototype.c=function(a){this.b=a;this.a=void 0};function $k(a){a=a||{};this.Hc=null;this.Sa=al;void 0!==a.geometry&&this.Ta(a.geometry);this.Xa=void 0!==a.fill?a.fill:null;this.N=void 0!==a.image?a.image:null;this.Za=void 0!==a.stroke?a.stroke:null;this.Ga=void 0!==a.text?a.text:null;this.lj=a.zIndex}k=$k.prototype;
328
- k.clone=function(){var a=this.V();a&&a.clone&&(a=a.clone());return new $k({geometry:a,fill:this.Da()?this.Da().clone():void 0,image:this.$()?this.$().clone():void 0,stroke:this.Ea()?this.Ea().clone():void 0,text:this.Qa()?this.Qa().clone():void 0,zIndex:this.Aa()})};k.V=function(){return this.Hc};k.wk=function(){return this.Sa};k.Da=function(){return this.Xa};k.df=function(a){this.Xa=a};k.$=function(){return this.N};k.Ag=function(a){this.N=a};k.Ea=function(){return this.Za};
329
- k.ef=function(a){this.Za=a};k.Qa=function(){return this.Ga};k.ff=function(a){this.Ga=a};k.Aa=function(){return this.lj};k.Ta=function(a){"function"===typeof a?this.Sa=a:"string"===typeof a?this.Sa=function(b){return b.get(a)}:a?a&&(this.Sa=function(){return a}):this.Sa=al;this.Hc=a};k.Xb=function(a){this.lj=a};function bl(a){if("function"!==typeof a){var b;Array.isArray(a)?b=a:(ra(a instanceof $k,41),b=[a]);a=function(){return b}}return a}var cl=null;
330
- function dl(){if(!cl){var a=new Zk({color:"rgba(255,255,255,0.4)"}),b=new rj({color:"#3399CC",width:1.25});cl=[new $k({image:new Yk({fill:a,stroke:b,radius:5}),fill:a,stroke:b})]}return cl}
331
- function fl(){var a={},b=[255,255,255,1],c=[0,153,255,1];a.Polygon=[new $k({fill:new Zk({color:[255,255,255,.5]})})];a.MultiPolygon=a.Polygon;a.LineString=[new $k({stroke:new rj({color:b,width:5})}),new $k({stroke:new rj({color:c,width:3})})];a.MultiLineString=a.LineString;a.Circle=a.Polygon.concat(a.LineString);a.Point=[new $k({image:new Yk({radius:6,fill:new Zk({color:c}),stroke:new rj({color:b,width:1.5})}),zIndex:Infinity})];a.MultiPoint=a.Point;a.GeometryCollection=a.Polygon.concat(a.LineString,
332
- a.Point);return a}function al(a){return a.V()};function I(a){Ic.call(this);this.a=void 0;this.c="geometry";this.g=null;this.l=void 0;this.i=null;B(this,Kc(this.c),this.ze,this);void 0!==a&&(a instanceof ef||!a?this.Ta(a):this.H(a))}u(I,Ic);k=I.prototype;k.clone=function(){var a=new I(this.O());a.Wc(this.c);var b=this.V();b&&a.Ta(b.clone());(b=this.g)&&a.Wf(b);return a};k.V=function(){return this.get(this.c)};k.em=function(){return this.a};k.xk=function(){return this.c};k.fm=function(){return this.g};k.Oc=function(){return this.l};k.hl=function(){this.s()};
333
- k.ze=function(){this.i&&(sc(this.i),this.i=null);var a=this.V();a&&(this.i=B(a,"change",this.hl,this));this.s()};k.Ta=function(a){this.set(this.c,a)};k.Wf=function(a){this.l=(this.g=a)?gl(a):void 0;this.s()};k.lc=function(a){this.a=a;this.s()};k.Wc=function(a){yc(this,Kc(this.c),this.ze,this);this.c=a;B(this,Kc(this.c),this.ze,this);this.ze()};
334
- function gl(a){var b;if("function"===typeof a)2==a.length?b=function(b){return a(this,b)}:b=a;else{var c;Array.isArray(a)?c=a:(ra(a instanceof $k,41),c=[a]);b=function(){return c}}return b};var hl=document.implementation.createDocument("","",null);function il(a,b){return hl.createElementNS(a,b)}function jl(a,b){return kl(a,b,[]).join("")}function kl(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)kl(a,b,c);return c}function ll(a){return a instanceof Document}function ml(a){return a instanceof Node}
335
- function nl(a){return(new DOMParser).parseFromString(a,"application/xml")}function pl(a,b){return function(c,d){var e=a.call(b,c,d);void 0!==e&&ha(d[d.length-1],e)}}function ql(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 rl(a,b){return function(c,d){var e=a.call(void 0!==b?b:this,c,d);void 0!==e&&(d[d.length-1]=e)}}
336
- function sl(a){return function(b,c){var d=a.call(this,b,c);if(void 0!==d){var e=c[c.length-1],f=b.localName,g;f in e?g=e[f]:g=e[f]=[];g.push(d)}}}function J(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 K(a,b){return function(c,d,e){a.call(void 0!==b?b:this,c,d,e);e[e.length-1].node.appendChild(c)}}
337
- function tl(a){var b,c;return function(d,e,f){if(!b){b={};var g={};g[d.localName]=a;b[d.namespaceURI]=g;c=ul(d.localName)}vl(b,c,e,f)}}function ul(a,b){return function(c,d,e){c=d[d.length-1].node;d=a;void 0===d&&(d=e);e=b;void 0===b&&(e=c.namespaceURI);return il(e,d)}}var wl=ul();function xl(a,b){for(var c=b.length,d=Array(c),e=0;e<c;++e)d[e]=a[b[e]];return d}function L(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}
338
- function yl(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)}}function M(a,b,c,d,e){d.push(a);yl(b,c,d,e);return d.pop()}function vl(a,b,c,d,e,f){for(var g=(void 0!==e?e:c).length,h,l,m=0;m<g;++m)h=c[m],void 0!==h&&(l=b.call(f,h,d,void 0!==e?e[m]:void 0),void 0!==l&&a[l.namespaceURI][l.localName].call(f,l,h,d))}function zl(a,b,c,d,e,f,g){e.push(a);vl(b,c,d,e,f,g);e.pop()};function Al(a,b,c,d){return function(e,f,g){var h=new XMLHttpRequest;h.open("GET","function"===typeof a?a(e,f,g):a,!0);"arraybuffer"==b.U()&&(h.responseType="arraybuffer");h.onload=function(){if(!h.status||200<=h.status&&300>h.status){var a=b.U(),e;"json"==a||"text"==a?e=h.responseText:"xml"==a?(e=h.responseXML)||(e=nl(h.responseText)):"arraybuffer"==a&&(e=h.response);e?c.call(this,b.Ra(e,{featureProjection:g}),b.lb(e)):d.call(this)}else d.call(this)}.bind(this);h.send()}}
339
- function Bl(a,b){return Al(a,b,function(a){this.ed(a)},oa)};function Cl(){this.g=this.defaultDataProjection=null}function Dl(a,b,c){var d;c&&(d={dataProjection:c.dataProjection?c.dataProjection:a.lb(b),featureProjection:c.featureProjection});return El(a,d)}function El(a,b){return qb({dataProjection:a.defaultDataProjection,featureProjection:a.g},b)}
340
- function Fl(a,b,c){var d=c?Fb(c.featureProjection):null,e=c?Fb(c.dataProjection):null,f;d&&e&&!Ub(d,e)?a instanceof ef?f=(b?a.clone():a).ub(b?d:e,b?e:d):f=Yb(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.Ec(a)}return f};function Gl(){Cl.call(this)}u(Gl,Cl);function Hl(a){return"string"===typeof a?(a=JSON.parse(a))?a:null:null!==a?a:null}k=Gl.prototype;k.U=function(){return"json"};k.Vb=function(a,b){return this.Tc(Hl(a),Dl(this,a,b))};k.Ra=function(a,b){return this.lg(Hl(a),Dl(this,a,b))};k.Uc=function(a,b){return this.pg(Hl(a),Dl(this,a,b))};k.lb=function(a){return this.sg(Hl(a))};k.zd=function(a,b){return JSON.stringify(this.bd(a,b))};k.Yb=function(a,b){return JSON.stringify(this.de(a,b))};
341
- k.cd=function(a,b){return JSON.stringify(this.fe(a,b))};function Il(a,b,c,d,e,f){var g=NaN,h=NaN,l=(c-b)/d;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 if(l){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=+ea(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=Ea(a[b],a[b+d],c),h=Ea(a[b+1],a[b+d+1],c)):(g=a[b+e*d],h=a[b+e*d+1])}return f?(f[0]=
342
- g,f[1]=h,f):[g,h]}function Jl(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(Ea(a[(b-1)*d+g],a[b*d+g],f));c.push(e);return c}
343
- function Kl(a,b,c,d,e,f){var g=0;if(f)return Jl(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;else if(d<=a[h-1])return Jl(a,g,h,c,d,!1);g=h}}return null};function N(a,b){E.call(this);this.c=null;this.u=this.A=this.l=-1;this.qa(a,b)}u(N,E);k=N.prototype;k.Uj=function(a){this.B?ha(this.B,a):this.B=a.slice();this.s()};k.clone=function(){var a=new N(null);a.da(this.la,this.B.slice());return a};k.Hb=function(a,b,c,d){if(d<Na(this.D(),a,b))return d;this.u!=this.f&&(this.A=Math.sqrt(of(this.B,0,this.B.length,this.a,0)),this.u=this.f);return qf(this.B,0,this.B.length,this.a,this.A,!1,a,b,c,d)};k.hk=function(a,b){return Ff(this.B,0,this.B.length,this.a,a,b)};
344
- k.Jm=function(a,b){return"XYM"!=this.la&&"XYZM"!=this.la?null:Jl(this.B,0,this.B.length,this.a,a,void 0!==b?b:!1)};k.Y=function(){return vf(this.B,0,this.B.length,this.a)};k.ih=function(a,b){return Il(this.B,0,this.B.length,this.a,a,b)};k.Km=function(){var a=this.B,b=this.a,c=a[0],d=a[1],e=0,f;for(f=0+b;f<this.B.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 Zh(a){a.l!=a.f&&(a.c=a.ih(.5,a.c),a.l=a.f);return a.c}
345
- k.ld=function(a){var b=[];b.length=xf(this.B,0,this.B.length,this.a,a,b,0);a=new N(null);a.da("XY",b);return a};k.U=function(){return"LineString"};k.Ya=function(a){return Gf(this.B,0,this.B.length,this.a,a)};k.qa=function(a,b){a?(kf(this,b,a,1),this.B||(this.B=[]),this.B.length=tf(this.B,0,a,this.a),this.s()):this.da("XY",null)};k.da=function(a,b){jf(this,a,b);this.s()};function O(a,b){E.call(this);this.c=[];this.l=this.u=-1;this.qa(a,b)}u(O,E);k=O.prototype;k.Vj=function(a){this.B?ha(this.B,a.ia().slice()):this.B=a.ia().slice();this.c.push(this.B.length);this.s()};k.clone=function(){var a=new O(null);a.da(this.la,this.B.slice(),this.c.slice());return a};k.Hb=function(a,b,c,d){if(d<Na(this.D(),a,b))return d;this.l!=this.f&&(this.u=Math.sqrt(pf(this.B,0,this.c,this.a,0)),this.l=this.f);return rf(this.B,0,this.c,this.a,this.u,!1,a,b,c,d)};
346
- k.Mm=function(a,b,c){return"XYM"!=this.la&&"XYZM"!=this.la||!this.B.length?null:Kl(this.B,this.c,this.a,a,void 0!==b?b:!1,void 0!==c?c:!1)};k.Y=function(){return wf(this.B,0,this.c,this.a)};k.Sb=function(){return this.c};k.Ek=function(a){if(0>a||this.c.length<=a)return null;var b=new N(null);b.da(this.la,this.B.slice(a?this.c[a-1]:0,this.c[a]));return b};
347
- k.jd=function(){var a=this.B,b=this.c,c=this.la,d=[],e=0,f,g;f=0;for(g=b.length;f<g;++f){var h=b[f],l=new N(null);l.da(c,a.slice(e,h));d.push(l);e=h}return d};function $h(a){var b=[],c=a.B,d=0,e=a.c;a=a.a;var f,g;f=0;for(g=e.length;f<g;++f){var h=e[f],d=Il(c,d,h,a,.5);ha(b,d);d=h}return b}k.ld=function(a){var b=[],c=[],d=this.B,e=this.c,f=this.a,g=0,h=0,l,m;l=0;for(m=e.length;l<m;++l){var n=e[l],h=xf(d,g,n,f,a,b,h);c.push(h);g=n}b.length=h;a=new O(null);a.da("XY",b,c);return a};k.U=function(){return"MultiLineString"};
348
- k.Ya=function(a){a:{var b=this.B,c=this.c,d=this.a,e=0,f,g;f=0;for(g=c.length;f<g;++f){if(Gf(b,e,c[f],d,a)){a=!0;break a}e=c[f]}a=!1}return a};k.qa=function(a,b){if(a){kf(this,b,a,2);this.B||(this.B=[]);var c=uf(this.B,0,a,this.a,this.c);this.B.length=c.length?c[c.length-1]:0;this.s()}else this.da("XY",null,this.c)};k.da=function(a,b,c){jf(this,a,b);this.c=c;this.s()};
349
- function Ll(a,b){var c=a.la,d=[],e=[],f,g;f=0;for(g=b.length;f<g;++f){var h=b[f];f||(c=h.la);ha(d,h.ia());e.push(d.length)}a.da(c,d,e)};function P(a,b){E.call(this);this.qa(a,b)}u(P,E);k=P.prototype;k.Xj=function(a){this.B?ha(this.B,a.ia()):this.B=a.ia().slice();this.s()};k.clone=function(){var a=new P(null);a.da(this.la,this.B.slice());return a};k.Hb=function(a,b,c,d){if(d<Na(this.D(),a,b))return d;var e=this.B,f=this.a,g,h,l;g=0;for(h=e.length;g<h;g+=f)if(l=Ba(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.Y=function(){return vf(this.B,0,this.B.length,this.a)};
350
- k.Pk=function(a){var b=this.B?this.B.length/this.a:0;if(0>a||b<=a)return null;b=new F(null);b.da(this.la,this.B.slice(a*this.a,(a+1)*this.a));return b};k.Je=function(){var a=this.B,b=this.la,c=this.a,d=[],e,f;e=0;for(f=a.length;e<f;e+=c){var g=new F(null);g.da(b,a.slice(e,e+c));d.push(g)}return d};k.U=function(){return"MultiPoint"};k.Ya=function(a){var b=this.B,c=this.a,d,e,f,g;d=0;for(e=b.length;d<e;d+=c)if(f=b[d],g=b[d+1],Sa(a,f,g))return!0;return!1};
351
- k.qa=function(a,b){a?(kf(this,b,a,1),this.B||(this.B=[]),this.B.length=tf(this.B,0,a,this.a),this.s()):this.da("XY",null)};k.da=function(a,b){jf(this,a,b);this.s()};function Q(a,b){E.call(this);this.c=[];this.u=-1;this.A=null;this.S=this.C=this.G=-1;this.l=null;this.qa(a,b)}u(Q,E);k=Q.prototype;k.Yj=function(a){if(this.B){var b=this.B.length;ha(this.B,a.ia());a=a.Sb().slice();var c,d;c=0;for(d=a.length;c<d;++c)a[c]+=b}else this.B=a.ia().slice(),a=a.Sb().slice(),this.c.push();this.c.push(a);this.s()};k.clone=function(){for(var a=new Q(null),b=this.c.length,c=Array(b),d=0;d<b;++d)c[d]=this.c[d].slice();Ml(a,this.la,this.B.slice(),c);return a};
352
- k.Hb=function(a,b,c,d){if(d<Na(this.D(),a,b))return d;if(this.C!=this.f){var e=this.c,f=0,g=0,h,l;h=0;for(l=e.length;h<l;++h)var m=e[h],g=pf(this.B,f,m,this.a,g),f=m[m.length-1];this.G=Math.sqrt(g);this.C=this.f}e=ai(this);f=this.c;g=this.a;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=rf(e,l,q,g,h,!0,a,b,c,d,m);l=q[q.length-1]}return d};
353
- k.Pc=function(a,b){var c;a:{c=ai(this);var d=this.c,e=0;if(d.length){var f,g;f=0;for(g=d.length;f<g;++f){var h=d[f];if(Df(c,e,h,this.a,a,b)){c=!0;break a}e=h[h.length-1]}}c=!1}return c};k.Nm=function(){var a=ai(this),b=this.c,c=0,d=0,e,f;e=0;for(f=b.length;e<f;++e)var g=b[e],d=d+mf(a,c,g,this.a),c=g[g.length-1];return d};
354
- k.Y=function(a){var b;void 0!==a?(b=ai(this).slice(),Lf(b,this.c,this.a,a)):b=this.B;a=b;b=this.c;var c=this.a,d=0,e=[],f=0,g,h;g=0;for(h=b.length;g<h;++g){var l=b[g];e[f++]=wf(a,d,l,c,e[f]);d=l[l.length-1]}e.length=f;return e};
355
- function bi(a){if(a.u!=a.f){var b=a.B,c=a.c,d=a.a,e=0,f=[],g,h;g=0;for(h=c.length;g<h;++g){var l=c[g],e=Ya(b,e,l[0],d);f.push((e[0]+e[2])/2,(e[1]+e[3])/2);e=l[l.length-1]}b=ai(a);c=a.c;d=a.a;g=0;h=[];l=0;for(e=c.length;l<e;++l){var m=c[l];h=Ef(b,g,m,d,f,2*l,h);g=m[m.length-1]}a.A=h;a.u=a.f}return a.A}k.Ak=function(){var a=new P(null);a.da("XY",bi(this).slice());return a};
356
- function ai(a){if(a.S!=a.f){var b=a.B,c;a:{c=a.c;var d,e;d=0;for(e=c.length;d<e;++d)if(!Jf(b,c[d],a.a,void 0)){c=!1;break a}c=!0}c?a.l=b:(a.l=b.slice(),a.l.length=Lf(a.l,a.c,a.a));a.S=a.f}return a.l}k.ld=function(a){var b=[],c=[],d=this.B,e=this.c,f=this.a;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=yf(d,g,n,f,a,b,h,p);c.push(p);g=n[n.length-1]}b.length=h;d=new Q(null);Ml(d,"XY",b,c);return d};
357
- k.Qk=function(a){if(0>a||this.c.length<=a)return null;var b;a?(b=this.c[a-1],b=b[b.length-1]):b=0;a=this.c[a].slice();var c=a[a.length-1];if(b){var d,e;d=0;for(e=a.length;d<e;++d)a[d]-=b}d=new G(null);d.da(this.la,this.B.slice(b,c),a);return d};k.Pd=function(){var a=this.la,b=this.B,c=this.c,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(e)for(h=0,l=m.length;h<l;++h)m[h]-=e;h=new G(null);h.da(a,b.slice(e,n),m);d.push(h);e=n}return d};k.U=function(){return"MultiPolygon"};
358
- k.Ya=function(a){a:{var b=ai(this),c=this.c,d=this.a,e=0,f,g;f=0;for(g=c.length;f<g;++f){var h=c[f];if(Hf(b,e,h,d,a)){a=!0;break a}e=h[h.length-1]}a=!1}return a};k.qa=function(a,b){if(a){kf(this,b,a,3);this.B||(this.B=[]);var c=this.B,d=this.a,e=this.c,f=0,e=e?e:[],g=0,h,l;h=0;for(l=a.length;h<l;++h)f=uf(c,f,a[h],d,e[g]),e[g++]=f,f=f[f.length-1];e.length=g;e.length?(c=e[e.length-1],this.B.length=c.length?c[c.length-1]:0):this.B.length=0;this.s()}else Ml(this,"XY",null,this.c)};
359
- function Ml(a,b,c,d){jf(a,b,c);a.c=d;a.s()}function Nl(a,b){var c=a.la,d=[],e=[],f,g,h;f=0;for(g=b.length;f<g;++f){var l=b[f];f||(c=l.la);var m=d.length;h=l.Sb();var n,p;n=0;for(p=h.length;n<p;++n)h[n]+=m;ha(d,l.ia());e.push(h)}Ml(a,c,d,e)};function Ol(a){a=a?a:{};Cl.call(this);this.b=a.geometryName}u(Ol,Gl);
360
- function Pl(a,b){if(!a)return null;var c;if("number"===typeof a.x&&"number"===typeof a.y)c="Point";else if(a.points)c="MultiPoint";else if(a.paths)c=1===a.paths.length?"LineString":"MultiLineString";else if(a.rings){var d=a.rings,e=Ql(a),f=[],g=[];c=[];var h,l;h=0;for(l=d.length;h<l;++h)f.length=0,tf(f,0,d[h],e.length),If(f,0,f.length,e.length)?g.push([d[h]]):c.push(d[h]);for(;c.length;){d=c.shift();e=!1;for(h=g.length-1;0<=h;h--)if(Ta((new zf(g[h][0])).D(),(new zf(d)).D())){g[h].push(d);e=!0;break}e||
361
- g.push([d.reverse()])}a=qb({},a);1===g.length?(c="Polygon",a.rings=g[0]):(c="MultiPolygon",a.rings=g)}return Fl((0,Rl[c])(a),!1,b)}function Ql(a){var b="XY";!0===a.hasZ&&!0===a.hasM?b="XYZM":!0===a.hasZ?b="XYZ":!0===a.hasM&&(b="XYM");return b}function Sl(a){a=a.la;return{hasZ:"XYZ"===a||"XYZM"===a,hasM:"XYM"===a||"XYZM"===a}}
362
- var Rl={Point:function(a){return void 0!==a.m&&void 0!==a.z?new F([a.x,a.y,a.z,a.m],"XYZM"):void 0!==a.z?new F([a.x,a.y,a.z],"XYZ"):void 0!==a.m?new F([a.x,a.y,a.m],"XYM"):new F([a.x,a.y])},LineString:function(a){return new N(a.paths[0],Ql(a))},Polygon:function(a){return new G(a.rings,Ql(a))},MultiPoint:function(a){return new P(a.points,Ql(a))},MultiLineString:function(a){return new O(a.paths,Ql(a))},MultiPolygon:function(a){return new Q(a.rings,Ql(a))}},Tl={Point:function(a){var b=a.Y(),c;a=a.la;
363
- "XYZ"===a?c={x:b[0],y:b[1],z:b[2]}:"XYM"===a?c={x:b[0],y:b[1],m:b[2]}:"XYZM"===a?c={x:b[0],y:b[1],z:b[2],m:b[3]}:"XY"===a?c={x:b[0],y:b[1]}:ra(!1,34);return c},LineString:function(a){var b=Sl(a);return{hasZ:b.hasZ,hasM:b.hasM,paths:[a.Y()]}},Polygon:function(a){var b=Sl(a);return{hasZ:b.hasZ,hasM:b.hasM,rings:a.Y(!1)}},MultiPoint:function(a){var b=Sl(a);return{hasZ:b.hasZ,hasM:b.hasM,points:a.Y()}},MultiLineString:function(a){var b=Sl(a);return{hasZ:b.hasZ,hasM:b.hasM,paths:a.Y()}},MultiPolygon:function(a){var b=
364
- Sl(a);a=a.Y(!1);for(var c=[],d=0;d<a.length;d++)for(var e=a[d].length-1;0<=e;e--)c.push(a[d][e]);return{hasZ:b.hasZ,hasM:b.hasM,rings:c}}};k=Ol.prototype;k.Tc=function(a,b){var c=Pl(a.geometry,b),d=new I;this.b&&d.Wc(this.b);d.Ta(c);b&&b.Sf&&a.attributes[b.Sf]&&d.lc(a.attributes[b.Sf]);a.attributes&&d.H(a.attributes);return d};
365
- k.lg=function(a,b){var c=b?b:{};if(a.features){var d=[],e=a.features,f,g;c.Sf=a.objectIdFieldName;f=0;for(g=e.length;f<g;++f)d.push(this.Tc(e[f],c));return d}return[this.Tc(a,c)]};k.pg=function(a,b){return Pl(a,b)};k.sg=function(a){return a.spatialReference&&a.spatialReference.wkid?Fb("EPSG:"+a.spatialReference.wkid):null};function Ul(a,b){return(0,Tl[a.U()])(Fl(a,!0,b),b)}k.fe=function(a,b){return Ul(a,El(this,b))};
366
- k.bd=function(a,b){b=El(this,b);var c={},d=a.V();d&&(c.geometry=Ul(d,b));d=a.O();delete d[a.c];c.attributes=tb(d)?{}:d;b&&b.featureProjection&&(c.spatialReference={wkid:Fb(b.featureProjection).ob.split(":").pop()});return c};k.de=function(a,b){b=El(this,b);var c=[],d,e;d=0;for(e=a.length;d<e;++d)c.push(this.bd(a[d],b));return{features:c}};function Vl(a){this.Cc=a};function Wl(a,b){this.Cc=a;this.b=Array.prototype.slice.call(arguments,1);ra(2<=this.b.length,57)}u(Wl,Vl);function Xl(a){var b=["And"].concat(Array.prototype.slice.call(arguments));Wl.apply(this,b)}u(Xl,Wl);function Yl(a,b,c){this.Cc="BBOX";this.geometryName=a;this.extent=b;this.srsName=c}u(Yl,Vl);function Zl(a,b){this.Cc=a;this.b=b}u(Zl,Vl);function $l(a,b,c,d){Zl.call(this,a,b);this.f=c;this.a=d}u($l,Zl);function am(a,b,c){$l.call(this,"PropertyIsEqualTo",a,b,c)}u(am,$l);function bm(a,b){$l.call(this,"PropertyIsGreaterThan",a,b)}u(bm,$l);function cm(a,b){$l.call(this,"PropertyIsGreaterThanOrEqualTo",a,b)}u(cm,$l);function dm(a,b,c,d){this.Cc=a;this.geometryName=b||"the_geom";this.geometry=c;this.srsName=d}u(dm,Vl);function em(a,b,c){dm.call(this,"Intersects",a,b,c)}u(em,dm);function fm(a,b,c){Zl.call(this,"PropertyIsBetween",a);this.a=b;this.f=c}u(fm,Zl);function gm(a,b,c,d,e,f){Zl.call(this,"PropertyIsLike",a);this.c=b;this.g=void 0!==c?c:"*";this.i=void 0!==d?d:".";this.f=void 0!==e?e:"!";this.a=f}u(gm,Zl);function hm(a){Zl.call(this,"PropertyIsNull",a)}u(hm,Zl);function im(a,b){$l.call(this,"PropertyIsLessThan",a,b)}u(im,$l);function jm(a,b){$l.call(this,"PropertyIsLessThanOrEqualTo",a,b)}u(jm,$l);function km(a){this.Cc="Not";this.condition=a}u(km,Vl);function lm(a,b,c){$l.call(this,"PropertyIsNotEqualTo",a,b,c)}u(lm,$l);function mm(a){var b=["Or"].concat(Array.prototype.slice.call(arguments));Wl.apply(this,b)}u(mm,Wl);function nm(a,b,c){dm.call(this,"Within",a,b,c)}u(nm,dm);function om(a){var b=[null].concat(Array.prototype.slice.call(arguments));return new (Function.prototype.bind.apply(Xl,b))}function pm(a,b,c){return new Yl(a,b,c)};function qm(a){ef.call(this);this.a=a?a:null;rm(this)}u(qm,ef);function sm(a){var b=[],c,d;c=0;for(d=a.length;c<d;++c)b.push(a[c].clone());return b}function tm(a){var b,c;if(a.a)for(b=0,c=a.a.length;b<c;++b)yc(a.a[b],"change",a.s,a)}function rm(a){var b,c;if(a.a)for(b=0,c=a.a.length;b<c;++b)B(a.a[b],"change",a.s,a)}k=qm.prototype;k.clone=function(){var a=new qm(null);a.Ki(this.a);return a};
367
- k.Hb=function(a,b,c,d){if(d<Na(this.D(),a,b))return d;var e=this.a,f,g;f=0;for(g=e.length;f<g;++f)d=e[f].Hb(a,b,c,d);return d};k.Pc=function(a,b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d].Pc(a,b))return!0;return!1};k.oe=function(a){Wa(Infinity,Infinity,-Infinity,-Infinity,a);for(var b=this.a,c=0,d=b.length;c<d;++c)ab(a,b[c].D());return a};k.Jf=function(){return sm(this.a)};
368
- k.Rd=function(a){this.j!=this.f&&(rb(this.i),this.g=0,this.j=this.f);if(0>a||this.g&&a<this.g)return this;var b=a.toString();if(this.i.hasOwnProperty(b))return this.i[b];var c=[],d=this.a,e=!1,f,g;f=0;for(g=d.length;f<g;++f){var h=d[f],l=h.Rd(a);c.push(l);l!==h&&(e=!0)}if(e)return a=new qm(null),tm(a),a.a=c,rm(a),a.s(),this.i[b]=a;this.g=a;return this};k.U=function(){return"GeometryCollection"};k.Ya=function(a){var b=this.a,c,d;c=0;for(d=b.length;c<d;++c)if(b[c].Ya(a))return!0;return!1};
369
- k.rotate=function(a,b){for(var c=this.a,d=0,e=c.length;d<e;++d)c[d].rotate(a,b);this.s()};k.scale=function(a,b,c){c||(c=kb(this.D()));for(var d=this.a,e=0,f=d.length;e<f;++e)d[e].scale(a,b,c);this.s()};k.Ki=function(a){a=sm(a);tm(this);this.a=a;rm(this);this.s()};k.Ec=function(a){var b=this.a,c,d;c=0;for(d=b.length;c<d;++c)b[c].Ec(a);this.s()};k.translate=function(a,b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)c[d].translate(a,b);this.s()};k.sa=function(){tm(this);ef.prototype.sa.call(this)};function um(a){a=a?a:{};Cl.call(this);this.defaultDataProjection=Fb(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326");a.featureProjection&&(this.g=Fb(a.featureProjection));this.b=a.geometryName}u(um,Gl);function vm(a,b){return a?Fl((0,wm[a.type])(a),!1,b):null}function xm(a,b){return(0,ym[a.U()])(Fl(a,!0,b),b)}
370
- var wm={Point:function(a){return new F(a.coordinates)},LineString:function(a){return new N(a.coordinates)},Polygon:function(a){return new G(a.coordinates)},MultiPoint:function(a){return new P(a.coordinates)},MultiLineString:function(a){return new O(a.coordinates)},MultiPolygon:function(a){return new Q(a.coordinates)},GeometryCollection:function(a,b){var c=a.geometries.map(function(a){return vm(a,b)});return new qm(c)}},ym={Point:function(a){return{type:"Point",coordinates:a.Y()}},LineString:function(a){return{type:"LineString",
371
- coordinates:a.Y()}},Polygon:function(a,b){var c;b&&(c=b.rightHanded);return{type:"Polygon",coordinates:a.Y(c)}},MultiPoint:function(a){return{type:"MultiPoint",coordinates:a.Y()}},MultiLineString:function(a){return{type:"MultiLineString",coordinates:a.Y()}},MultiPolygon:function(a,b){var c;b&&(c=b.rightHanded);return{type:"MultiPolygon",coordinates:a.Y(c)}},GeometryCollection:function(a,b){return{type:"GeometryCollection",geometries:a.a.map(function(a){var c=qb({},b);delete c.featureProjection;return xm(a,
372
- c)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};k=um.prototype;k.Tc=function(a,b){var c;c="Feature"===a.type?a:{type:"Feature",geometry:a};var d=vm(c.geometry,b),e=new I;this.b&&e.Wc(this.b);e.Ta(d);void 0!==c.id&&e.lc(c.id);c.properties&&e.H(c.properties);return e};k.lg=function(a,b){var c;if("FeatureCollection"===a.type){c=[];var d=a.features,e,f;e=0;for(f=d.length;e<f;++e)c.push(this.Tc(d[e],b))}else c=[this.Tc(a,b)];return c};k.pg=function(a,b){return vm(a,b)};
373
- k.sg=function(a){a=a.crs;var b;a?"name"==a.type?b=Fb(a.properties.name):"EPSG"==a.type?b=Fb("EPSG:"+a.properties.code):ra(!1,36):b=this.defaultDataProjection;return b};k.bd=function(a,b){b=El(this,b);var c={type:"Feature"},d=a.a;void 0!==d&&(c.id=d);(d=a.V())?c.geometry=xm(d,b):c.geometry=null;d=a.O();delete d[a.c];tb(d)?c.properties=null:c.properties=d;return c};k.de=function(a,b){b=El(this,b);var c=[],d,e;d=0;for(e=a.length;d<e;++d)c.push(this.bd(a[d],b));return{type:"FeatureCollection",features:c}};
374
- k.fe=function(a,b){return xm(a,El(this,b))};function zm(){this.f=new XMLSerializer;Cl.call(this)}u(zm,Cl);k=zm.prototype;k.U=function(){return"xml"};k.Vb=function(a,b){if(ll(a))return Am(this,a,b);if(ml(a))return this.kg(a,b);if("string"===typeof a){var c=nl(a);return Am(this,c,b)}return null};function Am(a,b,c){a=Bm(a,b,c);return 0<a.length?a[0]:null}k.kg=function(){return null};k.Ra=function(a,b){if(ll(a))return Bm(this,a,b);if(ml(a))return this.zc(a,b);if("string"===typeof a){var c=nl(a);return Bm(this,c,b)}return[]};
375
- function Bm(a,b,c){var d=[];for(b=b.firstChild;b;b=b.nextSibling)b.nodeType==Node.ELEMENT_NODE&&ha(d,a.zc(b,c));return d}k.Uc=function(a,b){if(ll(a))return null;if(ml(a))return this.wi(a,b);"string"===typeof a&&nl(a);return null};k.wi=function(){return null};k.lb=function(a){return ll(a)?this.rg(a):ml(a)?this.$e(a):"string"===typeof a?(a=nl(a),this.rg(a)):null};k.rg=function(){return this.defaultDataProjection};k.$e=function(){return this.defaultDataProjection};
376
- k.zd=function(a,b){return this.f.serializeToString(this.Gg(a,b))};k.Gg=function(){return null};k.Yb=function(a,b){var c=this.Zb(a,b);return this.f.serializeToString(c)};k.Zb=function(){return null};k.cd=function(a,b){var c=this.ee(a,b);return this.f.serializeToString(c)};k.ee=function(){return null};function Cm(a){a=a?a:{};this.featureType=a.featureType;this.featureNS=a.featureNS;this.srsName=a.srsName;this.schemaLocation="";this.b={};this.b["http://www.opengis.net/gml"]={featureMember:rl(Cm.prototype.Yd),featureMembers:rl(Cm.prototype.Yd)};zm.call(this)}u(Cm,zm);var Dm=/^[\s\xa0]*$/;k=Cm.prototype;
377
- k.Yd=function(a,b){var c=a.localName,d=null;if("FeatureCollection"==c)"http://www.opengis.net/wfs"===a.namespaceURI?d=M([],this.b,a,b,this):d=M(null,this.b,a,b,this);else if("featureMembers"==c||"featureMember"==c){var e=b[0],f=e.featureType,g=e.featureNS,h,l;if(!f&&a.childNodes){f=[];g={};h=0;for(l=a.childNodes.length;h<l;++h){var m=a.childNodes[h];if(1===m.nodeType){var n=m.nodeName.split(":").pop();if(-1===f.indexOf(n)){var p="",q=0,m=m.namespaceURI,r;for(r in g){if(g[r]===m){p=r;break}++q}p||
378
- (p="p"+q,g[p]=m);f.push(p+":"+n)}}}"featureMember"!=c&&(e.featureType=f,e.featureNS=g)}"string"===typeof g&&(h=g,g={},g.p0=h);var e={},f=Array.isArray(f)?f:[f],v;for(v in g){n={};h=0;for(l=f.length;h<l;++h)(-1===f[h].indexOf(":")?"p0":f[h].split(":")[0])===v&&(n[f[h].split(":").pop()]="featureMembers"==c?ql(this.jg,this):rl(this.jg,this));e[g[v]]=n}"featureMember"==c?d=M(void 0,e,a,b):d=M([],e,a,b)}null===d&&(d=[]);return d};
379
- k.Xe=function(a,b){var c=b[0];c.srsName=a.firstElementChild.getAttribute("srsName");var d=M(null,this.Kg,a,b,this);if(d)return Fl(d,!1,c)};
380
- k.jg=function(a,b){var c,d;(d=a.getAttribute("fid"))||(d=a.getAttributeNS("http://www.opengis.net/gml","id")||"");var e={},f;for(c=a.firstElementChild;c;c=c.nextElementSibling){var g=c.localName;if(0===c.childNodes.length||1===c.childNodes.length&&(3===c.firstChild.nodeType||4===c.firstChild.nodeType)){var h=jl(c,!1);Dm.test(h)&&(h=void 0);e[g]=h}else"boundedBy"!==g&&(f=g),e[g]=this.Xe(c,b)}c=new I(e);f&&c.Wc(f);d&&c.lc(d);return c};
381
- k.Bi=function(a,b){var c=this.We(a,b);if(c){var d=new F(null);d.da("XYZ",c);return d}};k.zi=function(a,b){var c=M([],this.tj,a,b,this);if(c)return new P(c)};k.yi=function(a,b){var c=M([],this.sj,a,b,this);if(c){var d=new O(null);Ll(d,c);return d}};k.Ai=function(a,b){var c=M([],this.uj,a,b,this);if(c){var d=new Q(null);Nl(d,c);return d}};k.si=function(a,b){yl(this.xj,a,b,this)};k.zh=function(a,b){yl(this.qj,a,b,this)};k.ti=function(a,b){yl(this.yj,a,b,this)};
382
- k.Ye=function(a,b){var c=this.We(a,b);if(c){var d=new N(null);d.da("XYZ",c);return d}};k.Mo=function(a,b){var c=M(null,this.ge,a,b,this);if(c)return c};k.xi=function(a,b){var c=this.We(a,b);if(c){var d=new zf(null);Af(d,"XYZ",c);return d}};k.Ze=function(a,b){var c=M([null],this.rf,a,b,this);if(c&&c[0]){var d=new G(null),e=c[0],f=[e.length],g,h;g=1;for(h=c.length;g<h;++g)ha(e,c[g]),f.push(e.length);d.da("XYZ",e,f);return d}};k.We=function(a,b){return M(null,this.ge,a,b,this)};
383
- k.tj={"http://www.opengis.net/gml":{pointMember:ql(Cm.prototype.si),pointMembers:ql(Cm.prototype.si)}};k.sj={"http://www.opengis.net/gml":{lineStringMember:ql(Cm.prototype.zh),lineStringMembers:ql(Cm.prototype.zh)}};k.uj={"http://www.opengis.net/gml":{polygonMember:ql(Cm.prototype.ti),polygonMembers:ql(Cm.prototype.ti)}};k.xj={"http://www.opengis.net/gml":{Point:ql(Cm.prototype.We)}};k.qj={"http://www.opengis.net/gml":{LineString:ql(Cm.prototype.Ye)}};k.yj={"http://www.opengis.net/gml":{Polygon:ql(Cm.prototype.Ze)}};
384
- k.he={"http://www.opengis.net/gml":{LinearRing:rl(Cm.prototype.Mo)}};k.wi=function(a,b){var c=this.Xe(a,[Dl(this,a,b?b:{})]);return c?c:null};k.zc=function(a,b){var c={featureType:this.featureType,featureNS:this.featureNS};b&&qb(c,Dl(this,a,b));return this.Yd(a,[c])||[]};k.$e=function(a){return Fb(this.srsName?this.srsName:a.firstElementChild.getAttribute("srsName"))};function Em(a){a=jl(a,!1);return Fm(a)}function Fm(a){if(a=/^\s*(true|1)|(false|0)\s*$/.exec(a))return void 0!==a[1]||!1}function Gm(a){a=jl(a,!1);a=Date.parse(a);return isNaN(a)?void 0:a/1E3}function Hm(a){a=jl(a,!1);return Im(a)}function Im(a){if(a=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(a))return parseFloat(a[1])}function Jm(a){a=jl(a,!1);return Km(a)}function Km(a){if(a=/^\s*(\d+)\s*$/.exec(a))return parseInt(a[1],10)}function R(a){return jl(a,!1).trim()}
385
- function Lm(a,b){Mm(a,b?"1":"0")}function Nm(a,b){a.appendChild(hl.createTextNode(b.toPrecision()))}function Om(a,b){a.appendChild(hl.createTextNode(b.toString()))}function Mm(a,b){a.appendChild(hl.createTextNode(b))};function Pm(a){a=a?a:{};Cm.call(this,a);this.o=void 0!==a.surface?a.surface:!1;this.i=void 0!==a.curve?a.curve:!1;this.l=void 0!==a.multiCurve?a.multiCurve:!0;this.j=void 0!==a.multiSurface?a.multiSurface:!0;this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}u(Pm,Cm);k=Pm.prototype;k.Qo=function(a,b){var c=M([],this.rj,a,b,this);if(c){var d=new O(null);Ll(d,c);return d}};
386
- k.Ro=function(a,b){var c=M([],this.vj,a,b,this);if(c){var d=new Q(null);Nl(d,c);return d}};k.$g=function(a,b){yl(this.nj,a,b,this)};k.Xi=function(a,b){yl(this.Cj,a,b,this)};k.Uo=function(a,b){return M([null],this.wj,a,b,this)};k.Xo=function(a,b){return M([null],this.Bj,a,b,this)};k.Vo=function(a,b){return M([null],this.rf,a,b,this)};k.Po=function(a,b){return M([null],this.ge,a,b,this)};k.Kl=function(a,b){var c=M(void 0,this.he,a,b,this);c&&b[b.length-1].push(c)};
387
- k.dk=function(a,b){var c=M(void 0,this.he,a,b,this);c&&(b[b.length-1][0]=c)};k.Ci=function(a,b){var c=M([null],this.Dj,a,b,this);if(c&&c[0]){var d=new G(null),e=c[0],f=[e.length],g,h;g=1;for(h=c.length;g<h;++g)ha(e,c[g]),f.push(e.length);d.da("XYZ",e,f);return d}};k.ui=function(a,b){var c=M([null],this.oj,a,b,this);if(c){var d=new N(null);d.da("XYZ",c);return d}};k.Lo=function(a,b){var c=M([null],this.pj,a,b,this);return Wa(c[1][0],c[1][1],c[2][0],c[2][1])};
388
- k.No=function(a,b){for(var c=jl(a,!1),d=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,e=[],f;f=d.exec(c);)e.push(parseFloat(f[1])),c=c.substr(f[0].length);if(""===c){c=b[0].srsName;d="enu";c&&(d=Fb(c).b);if("neu"===d)for(c=0,d=e.length;c<d;c+=3)f=e[c],e[c]=e[c+1],e[c+1]=f;c=e.length;2==c&&e.push(0);if(c)return e}};
389
- k.og=function(a,b){var c=jl(a,!1).replace(/^\s*|\s*$/g,""),d=b[0].srsName,e=a.parentNode.getAttribute("srsDimension"),f="enu";d&&(f=Fb(d).b);c=c.split(/\s+/);d=2;a.getAttribute("srsDimension")?d=Km(a.getAttribute("srsDimension")):a.getAttribute("dimension")?d=Km(a.getAttribute("dimension")):e&&(d=Km(e));for(var g,h,l=[],m=0,n=c.length;m<n;m+=d)e=parseFloat(c[m]),g=parseFloat(c[m+1]),h=3===d?parseFloat(c[m+2]):0,"en"===f.substr(0,2)?l.push(e,g,h):l.push(g,e,h);return l};
390
- k.ge={"http://www.opengis.net/gml":{pos:rl(Pm.prototype.No),posList:rl(Pm.prototype.og)}};k.rf={"http://www.opengis.net/gml":{interior:Pm.prototype.Kl,exterior:Pm.prototype.dk}};
391
- k.Kg={"http://www.opengis.net/gml":{Point:rl(Cm.prototype.Bi),MultiPoint:rl(Cm.prototype.zi),LineString:rl(Cm.prototype.Ye),MultiLineString:rl(Cm.prototype.yi),LinearRing:rl(Cm.prototype.xi),Polygon:rl(Cm.prototype.Ze),MultiPolygon:rl(Cm.prototype.Ai),Surface:rl(Pm.prototype.Ci),MultiSurface:rl(Pm.prototype.Ro),Curve:rl(Pm.prototype.ui),MultiCurve:rl(Pm.prototype.Qo),Envelope:rl(Pm.prototype.Lo)}};k.rj={"http://www.opengis.net/gml":{curveMember:ql(Pm.prototype.$g),curveMembers:ql(Pm.prototype.$g)}};
392
- k.vj={"http://www.opengis.net/gml":{surfaceMember:ql(Pm.prototype.Xi),surfaceMembers:ql(Pm.prototype.Xi)}};k.nj={"http://www.opengis.net/gml":{LineString:ql(Cm.prototype.Ye),Curve:ql(Pm.prototype.ui)}};k.Cj={"http://www.opengis.net/gml":{Polygon:ql(Cm.prototype.Ze),Surface:ql(Pm.prototype.Ci)}};k.Dj={"http://www.opengis.net/gml":{patches:rl(Pm.prototype.Uo)}};k.oj={"http://www.opengis.net/gml":{segments:rl(Pm.prototype.Xo)}};k.pj={"http://www.opengis.net/gml":{lowerCorner:ql(Pm.prototype.og),upperCorner:ql(Pm.prototype.og)}};
393
- k.wj={"http://www.opengis.net/gml":{PolygonPatch:rl(Pm.prototype.Vo)}};k.Bj={"http://www.opengis.net/gml":{LineStringSegment:rl(Pm.prototype.Po)}};function Qm(a,b,c){c=c[c.length-1].srsName;b=b.Y();for(var d=b.length,e=Array(d),f,g=0;g<d;++g){f=b[g];var h=g,l="enu";c&&(l=Fb(c).b);e[h]="en"===l.substr(0,2)?f[0]+" "+f[1]:f[1]+" "+f[0]}Mm(a,e.join(" "))}
394
- k.ij=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);d=il(a.namespaceURI,"pos");a.appendChild(d);c=c[c.length-1].srsName;a="enu";c&&(a=Fb(c).b);b=b.Y();Mm(d,"en"===a.substr(0,2)?b[0]+" "+b[1]:b[1]+" "+b[0])};var Rm={"http://www.opengis.net/gml":{lowerCorner:K(Mm),upperCorner:K(Mm)}};k=Pm.prototype;k.Kp=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);zl({node:a},Rm,wl,[b[0]+" "+b[1],b[2]+" "+b[3]],c,["lowerCorner","upperCorner"],this)};
395
- k.fj=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);d=il(a.namespaceURI,"posList");a.appendChild(d);Qm(d,b,c)};k.Aj=function(a,b){var c=b[b.length-1],d=c.node,e=c.exteriorWritten;void 0===e&&(c.exteriorWritten=!0);return il(d.namespaceURI,void 0!==e?"interior":"exterior")};
396
- k.pf=function(a,b,c){var d=c[c.length-1].srsName;"PolygonPatch"!==a.nodeName&&d&&a.setAttribute("srsName",d);"Polygon"===a.nodeName||"PolygonPatch"===a.nodeName?(b=b.kd(),zl({node:a,srsName:d},Sm,this.Aj,b,c,void 0,this)):"Surface"===a.nodeName&&(d=il(a.namespaceURI,"patches"),a.appendChild(d),a=il(d.namespaceURI,"PolygonPatch"),d.appendChild(a),this.pf(a,b,c))};
397
- k.nf=function(a,b,c){var d=c[c.length-1].srsName;"LineStringSegment"!==a.nodeName&&d&&a.setAttribute("srsName",d);"LineString"===a.nodeName||"LineStringSegment"===a.nodeName?(d=il(a.namespaceURI,"posList"),a.appendChild(d),Qm(d,b,c)):"Curve"===a.nodeName&&(d=il(a.namespaceURI,"segments"),a.appendChild(d),a=il(d.namespaceURI,"LineStringSegment"),d.appendChild(a),this.nf(a,b,c))};
398
- k.hj=function(a,b,c){var d=c[c.length-1],e=d.srsName,d=d.surface;e&&a.setAttribute("srsName",e);b=b.Pd();zl({node:a,srsName:e,surface:d},Tm,this.c,b,c,void 0,this)};k.Lp=function(a,b,c){var d=c[c.length-1].srsName;d&&a.setAttribute("srsName",d);b=b.Je();zl({node:a,srsName:d},Um,ul("pointMember"),b,c,void 0,this)};k.gj=function(a,b,c){var d=c[c.length-1],e=d.srsName,d=d.curve;e&&a.setAttribute("srsName",e);b=b.jd();zl({node:a,srsName:e,curve:d},Vm,this.c,b,c,void 0,this)};
399
- k.jj=function(a,b,c){var d=il(a.namespaceURI,"LinearRing");a.appendChild(d);this.fj(d,b,c)};k.kj=function(a,b,c){var d=this.a(b,c);d&&(a.appendChild(d),this.pf(d,b,c))};k.Mp=function(a,b,c){var d=il(a.namespaceURI,"Point");a.appendChild(d);this.ij(d,b,c)};k.ej=function(a,b,c){var d=this.a(b,c);d&&(a.appendChild(d),this.nf(d,b,c))};
400
- k.Ad=function(a,b,c){var d=c[c.length-1],e=qb({},d);e.node=a;var f;Array.isArray(b)?d.dataProjection?f=Yb(b,d.featureProjection,d.dataProjection):f=b:f=Fl(b,!0,d);zl(e,Wm,this.a,[f],c,void 0,this)};
401
- k.dj=function(a,b,c){var d=b.a;d&&a.setAttribute("fid",d);var d=c[c.length-1],e=d.featureNS,f=b.c;d.Vc||(d.Vc={},d.Vc[e]={});var g=b.O();b=[];var h=[],l;for(l in g){var m=g[l];null!==m&&(b.push(l),h.push(m),l==f||m instanceof ef?l in d.Vc[e]||(d.Vc[e][l]=K(this.Ad,this)):l in d.Vc[e]||(d.Vc[e][l]=K(Mm)))}l=qb({},d);l.node=a;zl(l,d.Vc,ul(void 0,e),h,c,b)};
402
- var Tm={"http://www.opengis.net/gml":{surfaceMember:K(Pm.prototype.kj),polygonMember:K(Pm.prototype.kj)}},Um={"http://www.opengis.net/gml":{pointMember:K(Pm.prototype.Mp)}},Vm={"http://www.opengis.net/gml":{lineStringMember:K(Pm.prototype.ej),curveMember:K(Pm.prototype.ej)}},Sm={"http://www.opengis.net/gml":{exterior:K(Pm.prototype.jj),interior:K(Pm.prototype.jj)}},Wm={"http://www.opengis.net/gml":{Curve:K(Pm.prototype.nf),MultiCurve:K(Pm.prototype.gj),Point:K(Pm.prototype.ij),MultiPoint:K(Pm.prototype.Lp),
403
- LineString:K(Pm.prototype.nf),MultiLineString:K(Pm.prototype.gj),LinearRing:K(Pm.prototype.fj),Polygon:K(Pm.prototype.pf),MultiPolygon:K(Pm.prototype.hj),Surface:K(Pm.prototype.pf),MultiSurface:K(Pm.prototype.hj),Envelope:K(Pm.prototype.Kp)}},Xm={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};Pm.prototype.c=function(a,b){return il("http://www.opengis.net/gml",Xm[b[b.length-1].node.nodeName])};
404
- Pm.prototype.a=function(a,b){var c=b[b.length-1],d=c.multiSurface,e=c.surface,f=c.curve,c=c.multiCurve,g;Array.isArray(a)?g="Envelope":(g=a.U(),"MultiPolygon"===g&&!0===d?g="MultiSurface":"Polygon"===g&&!0===e?g="Surface":"LineString"===g&&!0===f?g="Curve":"MultiLineString"===g&&!0===c&&(g="MultiCurve"));return il("http://www.opengis.net/gml",g)};
405
- Pm.prototype.ee=function(a,b){b=El(this,b);var c=il("http://www.opengis.net/gml","geom"),d={node:c,srsName:this.srsName,curve:this.i,surface:this.o,multiSurface:this.j,multiCurve:this.l};b&&qb(d,b);this.Ad(c,a,[d]);return c};
406
- Pm.prototype.Zb=function(a,b){b=El(this,b);var c=il("http://www.opengis.net/gml","featureMembers");c.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var d={srsName:this.srsName,curve:this.i,surface:this.o,multiSurface:this.j,multiCurve:this.l,featureNS:this.featureNS,featureType:this.featureType};b&&qb(d,b);var d=[d],e=d[d.length-1],f=e.featureType,g=e.featureNS,h={};h[g]={};h[g][f]=K(this.dj,this);e=qb({},e);e.node=c;zl(e,h,ul(f,g),a,d);return c};function Ym(a){a=a?a:{};Cm.call(this,a);this.b["http://www.opengis.net/gml"].featureMember=ql(Cm.prototype.Yd);this.schemaLocation=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}u(Ym,Cm);k=Ym.prototype;
407
- k.vi=function(a,b){var c=jl(a,!1).replace(/^\s*|\s*$/g,""),d=b[0].srsName,e=a.parentNode.getAttribute("srsDimension"),f="enu";d&&(d=Fb(d))&&(f=d.b);c=c.split(/[\s,]+/);d=2;a.getAttribute("srsDimension")?d=Km(a.getAttribute("srsDimension")):a.getAttribute("dimension")?d=Km(a.getAttribute("dimension")):e&&(d=Km(e));for(var g,h,l=[],m=0,n=c.length;m<n;m+=d)e=parseFloat(c[m]),g=parseFloat(c[m+1]),h=3===d?parseFloat(c[m+2]):0,"en"===f.substr(0,2)?l.push(e,g,h):l.push(g,e,h);return l};
408
- k.Jo=function(a,b){var c=M([null],this.mj,a,b,this);return Wa(c[1][0],c[1][1],c[1][3],c[1][4])};k.Il=function(a,b){var c=M(void 0,this.he,a,b,this);c&&b[b.length-1].push(c)};k.so=function(a,b){var c=M(void 0,this.he,a,b,this);c&&(b[b.length-1][0]=c)};k.ge={"http://www.opengis.net/gml":{coordinates:rl(Ym.prototype.vi)}};k.rf={"http://www.opengis.net/gml":{innerBoundaryIs:Ym.prototype.Il,outerBoundaryIs:Ym.prototype.so}};k.mj={"http://www.opengis.net/gml":{coordinates:ql(Ym.prototype.vi)}};
409
- k.Kg={"http://www.opengis.net/gml":{Point:rl(Cm.prototype.Bi),MultiPoint:rl(Cm.prototype.zi),LineString:rl(Cm.prototype.Ye),MultiLineString:rl(Cm.prototype.yi),LinearRing:rl(Cm.prototype.xi),Polygon:rl(Cm.prototype.Ze),MultiPolygon:rl(Cm.prototype.Ai),Box:rl(Ym.prototype.Jo)}};function Zm(a){a=a?a:{};zm.call(this);this.defaultDataProjection=Fb("EPSG:4326");this.b=a.readExtensions}u(Zm,zm);var $m=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"];function an(a,b,c,d){a.push(parseFloat(c.getAttribute("lon")),parseFloat(c.getAttribute("lat")));"ele"in d?(a.push(d.ele),delete d.ele,b.hasZ=!0):a.push(0);"time"in d?(a.push(d.time),delete d.time,b.hasM=!0):a.push(0);return a}
410
- function bn(a,b,c){var d="XY",e=2;a.hasZ&&a.hasM?(d="XYZM",e=4):a.hasZ?(d="XYZ",e=3):a.hasM&&(d="XYM",e=3);if(4!==e){var f,g;f=0;for(g=b.length/4;f<g;f++)b[f*e]=b[4*f],b[f*e+1]=b[4*f+1],a.hasZ&&(b[f*e+2]=b[4*f+2]),a.hasM&&(b[f*e+2]=b[4*f+3]);b.length=b.length/4*e;if(c)for(f=0,g=c.length;f<g;f++)c[f]=c[f]/4*e}return d}function cn(a,b){var c=b[b.length-1],d=a.getAttribute("href");null!==d&&(c.link=d);yl(dn,a,b)}function en(a,b){b[b.length-1].extensionsNode_=a}
411
- function fn(a,b){var c=b[0],d=M({flatCoordinates:[],layoutOptions:{}},gn,a,b);if(d){var e=d.flatCoordinates;delete d.flatCoordinates;var f=d.layoutOptions;delete d.layoutOptions;var f=bn(f,e),g=new N(null);g.da(f,e);Fl(g,!1,c);c=new I(g);c.H(d);return c}}
412
- function hn(a,b){var c=b[0],d=M({flatCoordinates:[],ends:[],layoutOptions:{}},jn,a,b);if(d){var e=d.flatCoordinates;delete d.flatCoordinates;var f=d.ends;delete d.ends;var g=d.layoutOptions;delete d.layoutOptions;var g=bn(g,e,f),h=new O(null);h.da(g,e,f);Fl(h,!1,c);c=new I(h);c.H(d);return c}}function kn(a,b){var c=b[0],d=M({},ln,a,b);if(d){var e={},f=an([],e,a,d),e=bn(e,f),f=new F(f,e);Fl(f,!1,c);c=new I(f);c.H(d);return c}}
413
- var mn={rte:fn,trk:hn,wpt:kn},nn=L($m,{rte:ql(fn),trk:ql(hn),wpt:ql(kn)}),dn=L($m,{text:J(R,"linkText"),type:J(R,"linkType")}),gn=L($m,{name:J(R),cmt:J(R),desc:J(R),src:J(R),link:cn,number:J(Jm),extensions:en,type:J(R),rtept:function(a,b){var c=M({},on,a,b);if(c){var d=b[b.length-1];an(d.flatCoordinates,d.layoutOptions,a,c)}}}),on=L($m,{ele:J(Hm),time:J(Gm)}),jn=L($m,{name:J(R),cmt:J(R),desc:J(R),src:J(R),link:cn,number:J(Jm),type:J(R),extensions:en,trkseg:function(a,b){var c=b[b.length-1];yl(pn,
414
- a,b);c.ends.push(c.flatCoordinates.length)}}),pn=L($m,{trkpt:function(a,b){var c=M({},qn,a,b);if(c){var d=b[b.length-1];an(d.flatCoordinates,d.layoutOptions,a,c)}}}),qn=L($m,{ele:J(Hm),time:J(Gm)}),ln=L($m,{ele:J(Hm),time:J(Gm),magvar:J(Hm),geoidheight:J(Hm),name:J(R),cmt:J(R),desc:J(R),src:J(R),link:cn,sym:J(R),type:J(R),fix:J(R),sat:J(Jm),hdop:J(Hm),vdop:J(Hm),pdop:J(Hm),ageofdgpsdata:J(Hm),dgpsid:J(Jm),extensions:en});
415
- function rn(a,b){b||(b=[]);for(var c=0,d=b.length;c<d;++c){var e=b[c];if(a.b){var f=e.get("extensionsNode_")||null;a.b(e,f)}e.set("extensionsNode_",void 0)}}Zm.prototype.kg=function(a,b){if(!fa($m,a.namespaceURI))return null;var c=mn[a.localName];if(!c)return null;c=c(a,[Dl(this,a,b)]);if(!c)return null;rn(this,[c]);return c};Zm.prototype.zc=function(a,b){if(!fa($m,a.namespaceURI))return[];if("gpx"==a.localName){var c=M([],nn,a,[Dl(this,a,b)]);if(c)return rn(this,c),c}return[]};
416
- function sn(a,b,c){a.setAttribute("href",b);b=c[c.length-1].properties;zl({node:a},tn,wl,[b.linkText,b.linkType],c,un)}function vn(a,b,c){var d=c[c.length-1],e=d.node.namespaceURI,f=d.properties;a.setAttributeNS(null,"lat",b[1]);a.setAttributeNS(null,"lon",b[0]);switch(d.geometryLayout){case "XYZM":b[3]&&(f.time=b[3]);case "XYZ":b[2]&&(f.ele=b[2]);break;case "XYM":b[2]&&(f.time=b[2])}b="rtept"==a.nodeName?wn[e]:xn[e];d=xl(f,b);zl({node:a,properties:f},yn,wl,d,c,b)}
417
- var un=["text","type"],tn=L($m,{text:K(Mm),type:K(Mm)}),zn=L($m,"name cmt desc src link number type rtept".split(" ")),An=L($m,{name:K(Mm),cmt:K(Mm),desc:K(Mm),src:K(Mm),link:K(sn),number:K(Om),type:K(Mm),rtept:tl(K(vn))}),wn=L($m,["ele","time"]),Bn=L($m,"name cmt desc src link number type trkseg".split(" ")),En=L($m,{name:K(Mm),cmt:K(Mm),desc:K(Mm),src:K(Mm),link:K(sn),number:K(Om),type:K(Mm),trkseg:tl(K(function(a,b,c){zl({node:a,geometryLayout:b.la,properties:{}},Cn,Dn,b.Y(),c)}))}),Dn=ul("trkpt"),
418
- Cn=L($m,{trkpt:K(vn)}),xn=L($m,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),yn=L($m,{ele:K(Nm),time:K(function(a,b){var c=new Date(1E3*b);a.appendChild(hl.createTextNode(c.getUTCFullYear()+"-"+Qe(c.getUTCMonth()+1)+"-"+Qe(c.getUTCDate())+"T"+Qe(c.getUTCHours())+":"+Qe(c.getUTCMinutes())+":"+Qe(c.getUTCSeconds())+"Z"))}),magvar:K(Nm),geoidheight:K(Nm),name:K(Mm),cmt:K(Mm),desc:K(Mm),src:K(Mm),link:K(sn),sym:K(Mm),type:K(Mm),fix:K(Mm),
419
- sat:K(Om),hdop:K(Nm),vdop:K(Nm),pdop:K(Nm),ageofdgpsdata:K(Nm),dgpsid:K(Om)}),Fn={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function Gn(a,b){var c=a.V();if(c&&(c=Fn[c.U()]))return il(b[b.length-1].node.namespaceURI,c)}
420
- var Hn=L($m,{rte:K(function(a,b,c){var d=c[0],e=b.O();a={node:a,properties:e};if(b=b.V())b=Fl(b,!0,d),a.geometryLayout=b.la,e.rtept=b.Y();d=zn[c[c.length-1].node.namespaceURI];e=xl(e,d);zl(a,An,wl,e,c,d)}),trk:K(function(a,b,c){var d=c[0],e=b.O();a={node:a,properties:e};if(b=b.V())b=Fl(b,!0,d),e.trkseg=b.jd();d=Bn[c[c.length-1].node.namespaceURI];e=xl(e,d);zl(a,En,wl,e,c,d)}),wpt:K(function(a,b,c){var d=c[0],e=c[c.length-1];e.properties=b.O();if(b=b.V())b=Fl(b,!0,d),e.geometryLayout=b.la,vn(a,b.Y(),
421
- c)})});Zm.prototype.Zb=function(a,b){b=El(this,b);var c=il("http://www.topografix.com/GPX/1/1","gpx");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.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd");c.setAttribute("version","1.1");c.setAttribute("creator","OpenLayers");zl({node:c},Hn,Gn,a,[b]);return c};function In(){Cl.call(this)}u(In,Cl);function Jn(a){return"string"===typeof a?a:""}k=In.prototype;k.U=function(){return"text"};k.Vb=function(a,b){return this.Xd(Jn(a),El(this,b))};k.Ra=function(a,b){return this.mg(Jn(a),El(this,b))};k.Uc=function(a,b){return this.vd(Jn(a),El(this,b))};k.lb=function(){return this.defaultDataProjection};k.zd=function(a,b){return this.ce(a,El(this,b))};k.Yb=function(a,b){return this.Hg(a,El(this,b))};k.cd=function(a,b){return this.Bd(a,El(this,b))};function Kn(a){a=a?a:{};Cl.call(this);this.defaultDataProjection=Fb("EPSG:4326");this.b=a.altitudeMode?a.altitudeMode:"none"}u(Kn,In);var Ln=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Mn=/^H.([A-Z]{3}).*?:(.*)/,Nn=/^HFDTE(\d{2})(\d{2})(\d{2})/,On=/\r\n|\r|\n/;k=Kn.prototype;
422
- k.Xd=function(a,b){var c=this.b,d=a.split(On),e={},f=[],g=2E3,h=0,l=1,m=-1,n,p;n=0;for(p=d.length;n<p;++n){var q=d[n],r;if("B"==q.charAt(0)){if(r=Ln.exec(q)){var q=parseInt(r[1],10),v=parseInt(r[2],10),x=parseInt(r[3],10),y=parseInt(r[4],10)+parseInt(r[5],10)/6E4;"S"==r[6]&&(y=-y);var z=parseInt(r[7],10)+parseInt(r[8],10)/6E4;"W"==r[9]&&(z=-z);f.push(z,y);"none"!=c&&f.push("gps"==c?parseInt(r[11],10):"barometric"==c?parseInt(r[12],10):0);r=Date.UTC(g,h,l,q,v,x);r<m&&(r=Date.UTC(g,h,l+1,q,v,x));f.push(r/
423
- 1E3);m=r}}else"H"==q.charAt(0)&&((r=Nn.exec(q))?(l=parseInt(r[1],10),h=parseInt(r[2],10)-1,g=2E3+parseInt(r[3],10)):(r=Mn.exec(q))&&(e[r[1]]=r[2].trim()))}if(!f.length)return null;d=new N(null);d.da("none"==c?"XYM":"XYZM",f);c=new I(Fl(d,!1,b));c.H(e);return c};k.mg=function(a,b){var c=this.Xd(a,b);return c?[c]:[]};k.ce=function(){};k.Hg=function(){};k.Bd=function(){};k.vd=function(){};function Pn(a,b,c,d,e,f){Ec.call(this);this.l=null;this.N=a?a:new Image;null!==d&&(this.N.crossOrigin=d);this.c=f?document.createElement("CANVAS"):null;this.g=f;this.i=null;this.f=e;this.a=c;this.j=b;this.o=!1;2==this.f&&Qn(this)}u(Pn,Ec);function Qn(a){var b=Zc(1,1);try{b.drawImage(a.N,0,0),b.getImageData(0,0,1,1)}catch(c){a.o=!0}}Pn.prototype.v=function(){this.f=3;this.i.forEach(sc);this.i=null;this.b("change")};
424
- Pn.prototype.I=function(){this.f=2;this.a&&(this.N.width=this.a[0],this.N.height=this.a[1]);this.a=[this.N.width,this.N.height];this.i.forEach(sc);this.i=null;Qn(this);if(!this.o&&null!==this.g){this.c.width=this.N.width;this.c.height=this.N.height;var a=this.c.getContext("2d");a.drawImage(this.N,0,0);for(var b=a.getImageData(0,0,this.N.width,this.N.height),c=b.data,d=this.g[0]/255,e=this.g[1]/255,f=this.g[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")};
425
- Pn.prototype.$=function(){return this.c?this.c:this.N};Pn.prototype.load=function(){if(0==this.f){this.f=1;this.i=[xc(this.N,"error",this.v,this),xc(this.N,"load",this.I,this)];try{this.N.src=this.j}catch(a){this.v()}}};function Rn(a){a=a||{};this.j=void 0!==a.anchor?a.anchor:[.5,.5];this.I=null;this.a=void 0!==a.anchorOrigin?a.anchorOrigin:"top-left";this.C=void 0!==a.anchorXUnits?a.anchorXUnits:"fraction";this.G=void 0!==a.anchorYUnits?a.anchorYUnits:"fraction";this.ua=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;ra(!(void 0!==d&&b),4);ra(!b||b&&c,5);void 0!==d&&d.length||!b||(d=b.src||w(b).toString());ra(void 0!==d&&0<d.length,6);var e=void 0!==
426
- a.src?0:2;this.i=void 0!==a.color?Sc(a.color):null;var f=this.ua,g=this.i,h=uh.get(d,f,g);h||(h=new Pn(b,d,c,f,e,g),uh.set(d,f,g,h));this.b=h;this.ra=void 0!==a.offset?a.offset:[0,0];this.f=void 0!==a.offsetOrigin?a.offsetOrigin:"top-left";this.u=null;this.A=void 0!==a.size?a.size:null;Vk.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!==a.rotateWithView?
427
- a.rotateWithView:!1})}u(Rn,Vk);k=Rn.prototype;
428
- k.clone=function(){var a=this.$(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 Rn({anchor:this.j.slice(),anchorOrigin:this.a,anchorXUnits:this.C,anchorYUnits:this.G,crossOrigin:this.ua,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.j,offset:this.ra.slice(),offsetOrigin:this.f,
429
- size:null!==this.A?this.A.slice():void 0,opacity:this.g,scale:this.c,snapToPixel:this.v,rotation:this.l,rotateWithView:this.o})};
430
- k.Ic=function(){if(this.I)return this.I;var a=this.j,b=this.kc();if("fraction"==this.C||"fraction"==this.G){if(!b)return null;a=this.j.slice();"fraction"==this.C&&(a[0]*=b[0]);"fraction"==this.G&&(a[1]*=b[1])}if("top-left"!=this.a){if(!b)return null;a===this.j&&(a=this.j.slice());if("top-right"==this.a||"bottom-right"==this.a)a[0]=-a[0]+b[0];if("bottom-left"==this.a||"bottom-right"==this.a)a[1]=-a[1]+b[1]}return this.I=a};k.$n=function(){return this.i};k.$=function(a){return this.b.$(a)};k.ve=function(){return this.b.a};
431
- k.Pe=function(){return this.b.f};k.dg=function(){var a=this.b;if(!a.l)if(a.o){var b=a.a[0],c=a.a[1],d=Zc(b,c);d.fillRect(0,0,b,c);a.l=d.canvas}else a.l=a.N;return a.l};k.Qc=function(){if(this.u)return this.u;var a=this.ra;if("top-left"!=this.f){var b=this.kc(),c=this.b.a;if(!b||!c)return null;a=a.slice();if("top-right"==this.f||"bottom-right"==this.f)a[0]=c[0]-b[0]-a[0];if("bottom-left"==this.f||"bottom-right"==this.f)a[1]=c[1]-b[1]-a[1]}return this.u=a};k.ao=function(){return this.b.j};
432
- k.kc=function(){return this.A?this.A:this.b.a};k.Ah=function(a,b){return B(this.b,"change",a,b)};k.load=function(){this.b.load()};k.Zi=function(a,b){yc(this.b,"change",a,b)};function Sn(a){a=a||{};this.a=a.font;this.i=a.rotation;this.j=a.rotateWithView;this.b=a.scale;this.Ga=a.text;this.g=a.textAlign;this.l=a.textBaseline;this.Xa=void 0!==a.fill?a.fill:new Zk({color:"#333"});this.Za=void 0!==a.stroke?a.stroke:null;this.f=void 0!==a.offsetX?a.offsetX:0;this.c=void 0!==a.offsetY?a.offsetY:0}k=Sn.prototype;
433
- k.clone=function(){return new Sn({font:this.a,rotation:this.i,rotateWithView:this.j,scale:this.b,text:this.Qa(),textAlign:this.g,textBaseline:this.l,fill:this.Da()?this.Da().clone():void 0,stroke:this.Ea()?this.Ea().clone():void 0,offsetX:this.f,offsetY:this.c})};k.uk=function(){return this.a};k.Jk=function(){return this.f};k.Kk=function(){return this.c};k.Da=function(){return this.Xa};k.ho=function(){return this.j};k.io=function(){return this.i};k.jo=function(){return this.b};k.Ea=function(){return this.Za};
434
- k.Qa=function(){return this.Ga};k.Uk=function(){return this.g};k.Vk=function(){return this.l};k.Ji=function(a){this.a=a};k.Pi=function(a){this.f=a};k.Qi=function(a){this.c=a};k.df=function(a){this.Xa=a};k.ko=function(a){this.i=a};k.oi=function(a){this.b=a};k.ef=function(a){this.Za=a};k.ff=function(a){this.Ga=a};k.Si=function(a){this.g=a};k.vp=function(a){this.l=a};function Tn(a){a=a?a:{};zm.call(this);Un||(Vn=[255,255,255,1],Wn=new Zk({color:Vn}),Xn=[20,2],Yn=Zn="pixels",$n=[64,64],ao="https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png",bo=.5,co=new Rn({anchor:Xn,anchorOrigin:"bottom-left",anchorXUnits:Zn,anchorYUnits:Yn,crossOrigin:"anonymous",rotation:0,scale:bo,size:$n,src:ao}),eo="NO_IMAGE",fo=new rj({color:Vn,width:1}),go=new rj({color:[51,51,51,1],width:2}),ho=new Sn({font:"bold 16px Helvetica",fill:Wn,stroke:go,scale:.8}),io=new $k({fill:Wn,
435
- image:co,text:ho,stroke:fo,zIndex:0}),Un=[io]);this.defaultDataProjection=Fb("EPSG:4326");this.a=a.defaultStyle?a.defaultStyle:Un;this.c=void 0!==a.extractStyles?a.extractStyles:!0;this.l=void 0!==a.writeStyles?a.writeStyles:!0;this.b={};this.i=void 0!==a.showPointNames?a.showPointNames:!0}var Un,Vn,Wn,Xn,Zn,Yn,$n,ao,bo,co,eo,fo,go,ho,io;u(Tn,zm);
436
- var jo=["http://www.google.com/kml/ext/2.2"],ko=[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"],lo={fraction:"fraction",pixels:"pixels"};
437
- function mo(a,b){var c,d=[0,0],e="start";a.$()&&(c=a.$().ve(),null===c&&(c=$n),2==c.length&&(e=a.$().c,d[0]=e*c[0]/2,d[1]=-e*c[1]/2,e="left"));if(null!==a.Qa()){var f=a.Qa();c=f.clone();c.Ji(f.a||ho.a);c.oi(f.b||ho.b);c.df(f.Da()||ho.Da());c.ef(f.Ea()||go)}else c=ho.clone();c.ff(b);c.Pi(d[0]);c.Qi(d[1]);c.Si(e);return new $k({text:c})}
438
- function no(a,b,c,d,e){return function(){var f=e,g="";f&&this.V()&&(f="Point"===this.V().U());f&&(g=this.get("name"),f=f&&g);if(a)return f?(f=mo(a[0],g),a.concat(f)):a;if(b){var h=oo(b,c,d);return f?(f=mo(h[0],g),h.concat(f)):h}return f?(f=mo(c[0],g),c.concat(f)):c}}function oo(a,b,c){return Array.isArray(a)?a:"string"===typeof a?(!(a in c)&&"#"+a in c&&(a="#"+a),oo(c[a],b,c)):b}
439
- function po(a){a=jl(a,!1);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 qo(a){a=jl(a,!1);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);if(""===a)return b}
440
- function ro(a){var b=jl(a,!1).trim();return a.baseURI?(new URL(b,a.baseURI)).href:b}function so(a){return Hm(a)}function to(a,b){return M(null,uo,a,b)}function vo(a,b){var c=M({B:[],cj:[]},wo,a,b);if(c){var d=c.B,c=c.cj,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);c.da("XYZM",d);return c}}function xo(a,b){var c=M({},yo,a,b),d=M(null,zo,a,b);if(d){var e=new N(null);e.da("XYZ",d);e.H(c);return e}}
441
- function Ao(a,b){var c=M({},yo,a,b),d=M(null,zo,a,b);if(d){var e=new G(null);e.da("XYZ",d,[d.length]);e.H(c);return e}}
442
- function Bo(a,b){var c=M([],Co,a,b);if(!c)return null;if(!c.length)return new qm(c);var d,e=!0,f=c[0].U(),g,h,l;h=1;for(l=c.length;h<l;++h)if(g=c[h],g.U()!=f){e=!1;break}if(e)if("Point"==f){d=c[0];e=d.la;f=d.ia();h=1;for(l=c.length;h<l;++h)g=c[h],ha(f,g.ia());d=new P(null);d.da(e,f);Do(d,c)}else"LineString"==f?(d=new O(null),Ll(d,c),Do(d,c)):"Polygon"==f?(d=new Q(null),Nl(d,c),Do(d,c)):"GeometryCollection"==f?d=new qm(c):ra(!1,37);else d=new qm(c);return d}
443
- function Eo(a,b){var c=M({},yo,a,b),d=M(null,zo,a,b);if(d){var e=new F(null);e.da("XYZ",d);e.H(c);return e}}function Fo(a,b){var c=M({},yo,a,b),d=M([null],Go,a,b);if(d&&d[0]){var e=new G(null),f=d[0],g=[f.length],h,l;h=1;for(l=d.length;h<l;++h)ha(f,d[h]),g.push(f.length);e.da("XYZ",f,g);e.H(c);return e}}
444
- function Ho(a,b){var c=M({},Io,a,b);if(!c)return null;var d="fillStyle"in c?c.fillStyle:Wn,e=c.fill;void 0===e||e||(d=null);e="imageStyle"in c?c.imageStyle:co;e==eo&&(e=void 0);var f="textStyle"in c?c.textStyle:ho,g="strokeStyle"in c?c.strokeStyle:fo,c=c.outline;void 0===c||c||(g=null);return[new $k({fill:d,image:e,stroke:g,text:f,zIndex:void 0})]}
445
- function Do(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 Jo(a,b){yl(Ko,a,b)}function Lo(a,b){yl(Mo,a,b)}
446
- var No=L(ko,{displayName:J(R),value:J(R)}),Ko=L(ko,{Data:function(a,b){var c=a.getAttribute("name");yl(No,a,b);var d=b[b.length-1];null!==c?d[c]=d.value:null!==d.displayName&&(d[d.displayName]=d.value)},SchemaData:function(a,b){yl(Oo,a,b)}}),Mo=L(ko,{LatLonAltBox:function(a,b){var c=M({},Po,a,b);if(c){var d=b[b.length-1];d.extent=[parseFloat(c.west),parseFloat(c.south),parseFloat(c.east),parseFloat(c.north)];d.altitudeMode=c.altitudeMode;d.minAltitude=parseFloat(c.minAltitude);d.maxAltitude=parseFloat(c.maxAltitude)}},
447
- Lod:function(a,b){var c=M({},Qo,a,b);if(c){var d=b[b.length-1];d.minLodPixels=parseFloat(c.minLodPixels);d.maxLodPixels=parseFloat(c.maxLodPixels);d.minFadeExtent=parseFloat(c.minFadeExtent);d.maxFadeExtent=parseFloat(c.maxFadeExtent)}}}),Po=L(ko,{altitudeMode:J(R),minAltitude:J(Hm),maxAltitude:J(Hm),north:J(Hm),south:J(Hm),east:J(Hm),west:J(Hm)}),Qo=L(ko,{minLodPixels:J(Hm),maxLodPixels:J(Hm),minFadeExtent:J(Hm),maxFadeExtent:J(Hm)}),yo=L(ko,{extrude:J(Em),altitudeMode:J(R)}),uo=L(ko,{coordinates:rl(qo)}),
448
- Go=L(ko,{innerBoundaryIs:function(a,b){var c=M(void 0,Ro,a,b);c&&b[b.length-1].push(c)},outerBoundaryIs:function(a,b){var c=M(void 0,So,a,b);c&&(b[b.length-1][0]=c)}}),wo=L(ko,{when:function(a,b){var c=b[b.length-1].cj,d=jl(a,!1),d=Date.parse(d);c.push(isNaN(d)?0:d)}},L(jo,{coord:function(a,b){var c=b[b.length-1].B,d=jl(a,!1);(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]),
449
- parseFloat(d[3]),0):c.push(0,0,0,0)}})),zo=L(ko,{coordinates:rl(qo)}),To=L(ko,{href:J(ro)},L(jo,{x:J(Hm),y:J(Hm),w:J(Hm),h:J(Hm)})),Uo=L(ko,{Icon:J(function(a,b){var c=M({},To,a,b);return c?c:null}),heading:J(Hm),hotSpot:J(function(a){var b=a.getAttribute("xunits"),c=a.getAttribute("yunits");return{x:parseFloat(a.getAttribute("x")),Ig:lo[b],y:parseFloat(a.getAttribute("y")),Jg:lo[c]}}),scale:J(so)}),Ro=L(ko,{LinearRing:rl(to)}),Vo=L(ko,{color:J(po),scale:J(so)}),Wo=L(ko,{color:J(po),width:J(Hm)}),
450
- Co=L(ko,{LineString:ql(xo),LinearRing:ql(Ao),MultiGeometry:ql(Bo),Point:ql(Eo),Polygon:ql(Fo)}),Xo=L(jo,{Track:ql(vo)}),Zo=L(ko,{ExtendedData:Jo,Region:Lo,Link:function(a,b){yl(Yo,a,b)},address:J(R),description:J(R),name:J(R),open:J(Em),phoneNumber:J(R),visibility:J(Em)}),Yo=L(ko,{href:J(ro)}),So=L(ko,{LinearRing:rl(to)}),$o=L(ko,{Style:J(Ho),key:J(R),styleUrl:J(ro)}),bp=L(ko,{ExtendedData:Jo,Region:Lo,MultiGeometry:J(Bo,"geometry"),LineString:J(xo,"geometry"),LinearRing:J(Ao,"geometry"),Point:J(Eo,
451
- "geometry"),Polygon:J(Fo,"geometry"),Style:J(Ho),StyleMap:function(a,b){var c=M(void 0,ap,a,b);if(c){var d=b[b.length-1];Array.isArray(c)?d.Style=c:"string"===typeof c?d.styleUrl=c:ra(!1,38)}},address:J(R),description:J(R),name:J(R),open:J(Em),phoneNumber:J(R),styleUrl:J(ro),visibility:J(Em)},L(jo,{MultiTrack:J(function(a,b){var c=M([],Xo,a,b);if(c){var d=new O(null);Ll(d,c);return d}},"geometry"),Track:J(vo,"geometry")})),cp=L(ko,{color:J(po),fill:J(Em),outline:J(Em)}),Oo=L(ko,{SimpleData:function(a,
452
- b){var c=a.getAttribute("name");if(null!==c){var d=R(a);b[b.length-1][c]=d}}}),Io=L(ko,{IconStyle:function(a,b){var c=M({},Uo,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=ao);var l,m,n;(h=c.hotSpot)?(l=[h.x,h.y],m=h.Ig,n=h.Jg):g===ao?(l=Xn,m=Zn,n=Yn):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(g)&&(l=[.5,0],n=m="fraction");var p,h=e.x,q=e.y;void 0!==h&&void 0!==q&&(p=[h,q]);var r,h=e.w,e=e.h;void 0!==h&&void 0!==e&&(r=[h,
453
- e]);var v,e=c.heading;void 0!==e&&(v=Ca(e));c=c.scale;f?(g==ao&&(r=$n,void 0===c&&(c=bo)),f=new Rn({anchor:l,anchorOrigin:"bottom-left",anchorXUnits:m,anchorYUnits:n,crossOrigin:"anonymous",offset:p,offsetOrigin:"bottom-left",rotation:v,scale:c,size:r,src:g}),d.imageStyle=f):d.imageStyle=eo}},LabelStyle:function(a,b){var c=M({},Vo,a,b);c&&(b[b.length-1].textStyle=new Sn({fill:new Zk({color:"color"in c?c.color:Vn}),scale:c.scale}))},LineStyle:function(a,b){var c=M({},Wo,a,b);c&&(b[b.length-1].strokeStyle=
454
- new rj({color:"color"in c?c.color:Vn,width:"width"in c?c.width:1}))},PolyStyle:function(a,b){var c=M({},cp,a,b);if(c){var d=b[b.length-1];d.fillStyle=new Zk({color:"color"in c?c.color:Vn});var e=c.fill;void 0!==e&&(d.fill=e);c=c.outline;void 0!==c&&(d.outline=c)}}}),ap=L(ko,{Pair:function(a,b){var c=M({},$o,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=Tn.prototype;
455
- k.ig=function(a,b){var c=L(ko,{Document:pl(this.ig,this),Folder:pl(this.ig,this),Placemark:ql(this.qg,this),Style:this.Zo.bind(this),StyleMap:this.Yo.bind(this)});if(c=M([],c,a,b,this))return c};k.qg=function(a,b){var c=M({geometry:null},bp,a,b);if(c){var d=new I,e=a.getAttribute("id");null!==e&&d.lc(e);var e=b[0],f=c.geometry;f&&Fl(f,!1,e);d.Ta(f);delete c.geometry;this.c&&d.Wf(no(c.Style,c.styleUrl,this.a,this.b,this.i));delete c.Style;d.H(c);return d}};
456
- k.Zo=function(a,b){var c=a.getAttribute("id");if(null!==c){var d=Ho(a,b);d&&(c=a.baseURI?(new URL("#"+c,a.baseURI)).href:"#"+c,this.b[c]=d)}};k.Yo=function(a,b){var c=a.getAttribute("id");if(null!==c){var d=M(void 0,ap,a,b);d&&(c=a.baseURI?(new URL("#"+c,a.baseURI)).href:"#"+c,this.b[c]=d)}};k.kg=function(a,b){if(!fa(ko,a.namespaceURI))return null;var c=this.qg(a,[Dl(this,a,b)]);return c?c:null};
457
- k.zc=function(a,b){if(!fa(ko,a.namespaceURI))return[];var c;c=a.localName;if("Document"==c||"Folder"==c)return(c=this.ig(a,[Dl(this,a,b)]))?c:[];if("Placemark"==c)return(c=this.qg(a,[Dl(this,a,b)]))?[c]:[];if("kml"==c){c=[];var d;for(d=a.firstElementChild;d;d=d.nextElementSibling){var e=this.zc(d,b);e&&ha(c,e)}return c}return[]};k.So=function(a){if(ll(a))return dp(this,a);if(ml(a))return ep(this,a);if("string"===typeof a)return a=nl(a),dp(this,a)};
458
- function dp(a,b){var c;for(c=b.firstChild;c;c=c.nextSibling)if(c.nodeType==Node.ELEMENT_NODE){var d=ep(a,c);if(d)return d}}function ep(a,b){var c;for(c=b.firstElementChild;c;c=c.nextElementSibling)if(fa(ko,c.namespaceURI)&&"name"==c.localName)return R(c);for(c=b.firstElementChild;c;c=c.nextElementSibling){var d=c.localName;if(fa(ko,c.namespaceURI)&&("Document"==d||"Folder"==d||"Placemark"==d||"kml"==d)&&(d=ep(a,c)))return d}}
459
- k.To=function(a){var b=[];ll(a)?ha(b,fp(this,a)):ml(a)?ha(b,gp(this,a)):"string"===typeof a&&(a=nl(a),ha(b,fp(this,a)));return b};function fp(a,b){var c,d=[];for(c=b.firstChild;c;c=c.nextSibling)c.nodeType==Node.ELEMENT_NODE&&ha(d,gp(a,c));return d}
460
- function gp(a,b){var c,d=[];for(c=b.firstElementChild;c;c=c.nextElementSibling)if(fa(ko,c.namespaceURI)&&"NetworkLink"==c.localName){var e=M({},Zo,c,[]);d.push(e)}for(c=b.firstElementChild;c;c=c.nextElementSibling)e=c.localName,!fa(ko,c.namespaceURI)||"Document"!=e&&"Folder"!=e&&"kml"!=e||ha(d,gp(a,c));return d}k.Wo=function(a){var b=[];ll(a)?ha(b,hp(this,a)):ml(a)?ha(b,this.af(a)):"string"===typeof a&&(a=nl(a),ha(b,hp(this,a)));return b};
461
- function hp(a,b){var c,d=[];for(c=b.firstChild;c;c=c.nextSibling)c.nodeType==Node.ELEMENT_NODE&&ha(d,a.af(c));return d}k.af=function(a){var b,c=[];for(b=a.firstElementChild;b;b=b.nextElementSibling)if(fa(ko,b.namespaceURI)&&"Region"==b.localName){var d=M({},Mo,b,[]);c.push(d)}for(b=a.firstElementChild;b;b=b.nextElementSibling)a=b.localName,!fa(ko,b.namespaceURI)||"Document"!=a&&"Folder"!=a&&"kml"!=a||ha(c,this.af(b));return c};
462
- function ip(a,b){var c=Sc(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}Mm(a,c.join(""))}function jp(a,b,c){a={node:a};var d=b.U(),e,f;"GeometryCollection"==d?(e=b.Jf(),f=kp):"MultiPoint"==d?(e=b.Je(),f=lp):"MultiLineString"==d?(e=b.jd(),f=mp):"MultiPolygon"==d?(e=b.Pd(),f=np):ra(!1,39);zl(a,op,f,e,c)}function pp(a,b,c){zl({node:a},qp,rp,[b],c)}
463
- function sp(a,b,c){var d={node:a};b.a&&a.setAttribute("id",b.a);a=b.O();var e={address:1,description:1,name:1,open:1,phoneNumber:1,styleUrl:1,visibility:1};e[b.c]=1;var f=Object.keys(a||{}).sort().filter(function(a){return!e[a]});if(0<f.length){var g=xl(a,f);zl(d,tp,up,[{names:f,values:g}],c)}if(f=b.Oc())if(f=f.call(b,0))f=Array.isArray(f)?f[0]:f,this.l&&(a.Style=f),(f=f.Qa())&&(a.name=f.Qa());f=vp[c[c.length-1].node.namespaceURI];a=xl(a,f);zl(d,tp,wl,a,c,f);a=c[0];(b=b.V())&&(b=Fl(b,!0,a));zl(d,
464
- tp,kp,[b],c)}function wp(a,b,c){var d=b.ia();a={node:a};a.layout=b.la;a.stride=b.ta();zl(a,xp,yp,[d],c)}function zp(a,b,c){b=b.kd();var d=b.shift();a={node:a};zl(a,Ap,Bp,b,c);zl(a,Ap,Cp,[d],c)}function Dp(a,b){Nm(a,Math.round(1E6*b)/1E6)}
465
- var Ep=L(ko,["Document","Placemark"]),Hp=L(ko,{Document:K(function(a,b,c){zl({node:a},Fp,Gp,b,c,void 0,this)}),Placemark:K(sp)}),Fp=L(ko,{Placemark:K(sp)}),Ip=L(ko,{Data:K(function(a,b,c){a.setAttribute("name",b.name);a={node:a};b=b.value;"object"==typeof b?(null!==b&&b.displayName&&zl(a,Ip,wl,[b.displayName],c,["displayName"]),null!==b&&b.value&&zl(a,Ip,wl,[b.value],c,["value"])):zl(a,Ip,wl,[b],c,["value"])}),value:K(function(a,b){Mm(a,b)}),displayName:K(function(a,b){a.appendChild(hl.createCDATASection(b))})}),
466
- Jp={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry",GeometryCollection:"MultiGeometry"},Kp=L(ko,["href"],L(jo,["x","y","w","h"])),Lp=L(ko,{href:K(Mm)},L(jo,{x:K(Nm),y:K(Nm),w:K(Nm),h:K(Nm)})),Mp=L(ko,["scale","heading","Icon","hotSpot"]),Op=L(ko,{Icon:K(function(a,b,c){a={node:a};var d=Kp[c[c.length-1].node.namespaceURI],e=xl(b,d);zl(a,Lp,wl,e,c,d);d=Kp[jo[0]];e=xl(b,d);zl(a,Lp,
467
- Np,e,c,d)}),heading:K(Nm),hotSpot:K(function(a,b){a.setAttribute("x",b.x);a.setAttribute("y",b.y);a.setAttribute("xunits",b.Ig);a.setAttribute("yunits",b.Jg)}),scale:K(Dp)}),Pp=L(ko,["color","scale"]),Qp=L(ko,{color:K(ip),scale:K(Dp)}),Rp=L(ko,["color","width"]),Sp=L(ko,{color:K(ip),width:K(Nm)}),qp=L(ko,{LinearRing:K(wp)}),op=L(ko,{LineString:K(wp),Point:K(wp),Polygon:K(zp),GeometryCollection:K(jp)}),vp=L(ko,"name open visibility address phoneNumber description styleUrl Style".split(" ")),tp=L(ko,
468
- {ExtendedData:K(function(a,b,c){a={node:a};var d=b.names;b=b.values;for(var e=d.length,f=0;f<e;f++)zl(a,Ip,Tp,[{name:d[f],value:b[f]}],c)}),MultiGeometry:K(jp),LineString:K(wp),LinearRing:K(wp),Point:K(wp),Polygon:K(zp),Style:K(function(a,b,c){a={node:a};var d={},e=b.Da(),f=b.Ea(),g=b.$();b=b.Qa();g instanceof Rn&&(d.IconStyle=g);b&&(d.LabelStyle=b);f&&(d.LineStyle=f);e&&(d.PolyStyle=e);b=Up[c[c.length-1].node.namespaceURI];d=xl(d,b);zl(a,Vp,wl,d,c,b)}),address:K(Mm),description:K(Mm),name:K(Mm),
469
- open:K(Lm),phoneNumber:K(Mm),styleUrl:K(Mm),visibility:K(Lm)}),xp=L(ko,{coordinates:K(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:ra(!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]}Mm(a,h)})}),Ap=L(ko,{outerBoundaryIs:K(pp),innerBoundaryIs:K(pp)}),Wp=L(ko,{color:K(ip)}),Up=L(ko,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),Vp=L(ko,{IconStyle:K(function(a,
470
- b,c){a={node:a};var d={},e=b.kc(),f=b.ve(),g={href:b.b.j};if(e){g.w=e[0];g.h=e[1];var h=b.Ic(),l=b.Qc();l&&f&&l[0]&&l[1]!==e[1]&&(g.x=l[0],g.y=f[1]-(l[1]+e[1]));h&&h[0]&&h[1]!==e[1]&&(d.hotSpot={x:h[0],Ig:"pixels",y:e[1]-h[1],Jg:"pixels"})}d.Icon=g;e=b.c;1!==e&&(d.scale=e);(b=b.l)&&(d.heading=b);b=Mp[c[c.length-1].node.namespaceURI];d=xl(d,b);zl(a,Op,wl,d,c,b)}),LabelStyle:K(function(a,b,c){a={node:a};var d={},e=b.Da();e&&(d.color=e.b);(b=b.b)&&1!==b&&(d.scale=b);b=Pp[c[c.length-1].node.namespaceURI];
471
- d=xl(d,b);zl(a,Qp,wl,d,c,b)}),LineStyle:K(function(a,b,c){a={node:a};var d=Rp[c[c.length-1].node.namespaceURI];b=xl({color:b.a,width:b.c},d);zl(a,Sp,wl,b,c,d)}),PolyStyle:K(function(a,b,c){zl({node:a},Wp,Xp,[b.b],c)})});function Np(a,b,c){return il(jo[0],"gx:"+c)}function Gp(a,b){return il(b[b.length-1].node.namespaceURI,"Placemark")}function kp(a,b){if(a)return il(b[b.length-1].node.namespaceURI,Jp[a.U()])}
472
- var Xp=ul("color"),yp=ul("coordinates"),Tp=ul("Data"),up=ul("ExtendedData"),Bp=ul("innerBoundaryIs"),lp=ul("Point"),mp=ul("LineString"),rp=ul("LinearRing"),np=ul("Polygon"),Cp=ul("outerBoundaryIs");
473
- Tn.prototype.Zb=function(a,b){b=El(this,b);var c=il(ko[4],"kml");c.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:gx",jo[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=Ep[c.namespaceURI],
474
- e=xl(e,f);zl(d,Hp,wl,e,[b],f,this);return c};(function(){var a={},b={na:a};(function(c){if("object"===typeof a&&"undefined"!==typeof b)b.na=c();else{var d;"undefined"!==typeof window?d=window:"undefined"!==typeof global?d=global:"undefined"!==typeof self?d=self:d=this;d.bq=c()}})(function(){return function d(a,b,g){function e(h,l){if(!b[h]){if(!a[h]){var m="function"==typeof require&&require;if(!l&&m)return m(h,!0);if(f)return f(h,!0);m=Error("Cannot find module '"+h+"'");throw m.code="MODULE_NOT_FOUND",m;}m=b[h]={na:{}};a[h][0].call(m.na,function(b){var d=
475
- a[h][1][b];return e(d?d:b)},m,m.na,d,a,b,g)}return b[h].na}for(var f="function"==typeof require&&require,m=0;m<g.length;m++)e(g[m]);return e}({1:[function(a,b,f){f.read=function(a,b,d,e,f){var g;g=8*f-e-1;var h=(1<<g)-1,l=h>>1,m=-7;f=d?f-1:0;var n=d?-1:1,y=a[b+f];f+=n;d=y&(1<<-m)-1;y>>=-m;for(m+=g;0<m;d=256*d+a[b+f],f+=n,m-=8);g=d&(1<<-m)-1;d>>=-m;for(m+=e;0<m;g=256*g+a[b+f],f+=n,m-=8);if(0===d)d=1-l;else{if(d===h)return g?NaN:Infinity*(y?-1:1);g+=Math.pow(2,e);d-=l}return(y?-1:1)*g*Math.pow(2,d-
476
- e)};f.write=function(a,b,d,e,f,p){var g,h=8*p-f-1,l=(1<<h)-1,m=l>>1,n=23===f?Math.pow(2,-24)-Math.pow(2,-77):0;p=e?0:p-1;var z=e?1:-1,A=0>b||0===b&&0>1/b?1:0;b=Math.abs(b);isNaN(b)||Infinity===b?(b=isNaN(b)?1:0,e=l):(e=Math.floor(Math.log(b)/Math.LN2),1>b*(g=Math.pow(2,-e))&&(e--,g*=2),b=1<=e+m?b+n/g:b+n*Math.pow(2,1-m),2<=b*g&&(e++,g/=2),e+m>=l?(b=0,e=l):1<=e+m?(b=(b*g-1)*Math.pow(2,f),e+=m):(b=b*Math.pow(2,m-1)*Math.pow(2,f),e=0));for(;8<=f;a[d+p]=b&255,p+=z,b/=256,f-=8);e=e<<f|b;for(h+=f;0<h;a[d+
477
- p]=e&255,p+=z,e/=256,h-=8);a[d+p-z]|=128*A}},{}],2:[function(a,b){function d(a){this.mc=ArrayBuffer.isView&&ArrayBuffer.isView(a)?a:new Uint8Array(a||0);this.type=this.ha=0;this.length=this.mc.length}function e(a,b,d){var e=d.mc,f,g;g=e[d.ha++];f=(g&112)>>4;if(128>g)return h(a,f,b);g=e[d.ha++];f|=(g&127)<<3;if(128>g)return h(a,f,b);g=e[d.ha++];f|=(g&127)<<10;if(128>g)return h(a,f,b);g=e[d.ha++];f|=(g&127)<<17;if(128>g)return h(a,f,b);g=e[d.ha++];f|=(g&127)<<24;if(128>g)return h(a,f,b);g=e[d.ha++];
478
- if(128>g)return h(a,f|(g&1)<<31,b);throw Error("Expected varint not more than 10 bytes");}function h(a,b,d){return d?4294967296*b+(a>>>0):4294967296*(b>>>0)+(a>>>0)}b.na=d;var l=a("ieee754");d.c=0;d.f=1;d.b=2;d.a=5;d.prototype={ng:function(a,b,d){for(d=d||this.length;this.ha<d;){var e=this.Na(),f=e>>3,g=this.ha;this.type=e&7;a(f,b,this);this.ha===g&&this.Ap(e)}return b},Oo:function(){var a=l.read(this.mc,this.ha,!0,23,4);this.ha+=4;return a},Ko:function(){var a=l.read(this.mc,this.ha,!0,52,8);this.ha+=
479
- 8;return a},Na:function(a){var b=this.mc,d,f;f=b[this.ha++];d=f&127;if(128>f)return d;f=b[this.ha++];d|=(f&127)<<7;if(128>f)return d;f=b[this.ha++];d|=(f&127)<<14;if(128>f)return d;f=b[this.ha++];d|=(f&127)<<21;if(128>f)return d;f=b[this.ha];return e(d|(f&15)<<28,a,this)},$o:function(){return this.Na(!0)},Zd:function(){var a=this.Na();return 1===a%2?(a+1)/-2:a/2},Io:function(){return!!this.Na()},tg:function(){for(var a=this.Na()+this.ha,b=this.mc,d="",e=this.ha;e<a;){var f=b[e],g=null,h=239<f?4:223<
480
- f?3:191<f?2:1;if(e+h>a)break;var l,z,A;if(1===h)128>f&&(g=f);else if(2===h)l=b[e+1],128===(l&192)&&(g=(f&31)<<6|l&63,127>=g&&(g=null));else if(3===h){if(l=b[e+1],z=b[e+2],128===(l&192)&&128===(z&192)&&(g=(f&15)<<12|(l&63)<<6|z&63,2047>=g||55296<=g&&57343>=g))g=null}else 4===h&&(l=b[e+1],z=b[e+2],A=b[e+3],128===(l&192)&&128===(z&192)&&128===(A&192)&&(g=(f&15)<<18|(l&63)<<12|(z&63)<<6|A&63,65535>=g||1114112<=g))&&(g=null);null===g?(g=65533,h=1):65535<g&&(g-=65536,d+=String.fromCharCode(g>>>10&1023|
481
- 55296),g=56320|g&1023);d+=String.fromCharCode(g);e+=h}this.ha=a;return d},Ap:function(a){a&=7;if(a===d.c)for(;127<this.mc[this.ha++];);else if(a===d.b)this.ha=this.Na()+this.ha;else if(a===d.a)this.ha+=4;else if(a===d.f)this.ha+=8;else throw Error("Unimplemented type: "+a);}}},{ieee754:1}]},{},[2])(2)});Bj=b.na})();(function(){var a={},b={na:a};(function(c){if("object"===typeof a&&"undefined"!==typeof b)b.na=c();else{var d;"undefined"!==typeof window?d=window:"undefined"!==typeof global?d=global:"undefined"!==typeof self?d=self:d=this;d.fq=c()}})(function(){return function d(a,b,g){function e(h,l){if(!b[h]){if(!a[h]){var m="function"==typeof require&&require;if(!l&&m)return m(h,!0);if(f)return f(h,!0);m=Error("Cannot find module '"+h+"'");throw m.code="MODULE_NOT_FOUND",m;}m=b[h]={na:{}};a[h][0].call(m.na,function(b){var d=
482
- a[h][1][b];return e(d?d:b)},m,m.na,d,a,b,g)}return b[h].na}for(var f="function"==typeof require&&require,m=0;m<g.length;m++)e(g[m]);return e}({1:[function(a,b){function d(a,b){this.x=a;this.y=b}b.na=d;d.prototype={clone:function(){return new d(this.x,this.y)},add:function(a){return this.clone().Fj(a)},rotate:function(a){return this.clone().Pj(a)},round:function(){return this.clone().Qj()},angle:function(){return Math.atan2(this.y,this.x)},Fj:function(a){this.x+=a.x;this.y+=a.y;return this},Pj:function(a){var b=
483
- Math.cos(a);a=Math.sin(a);var d=a*this.x+b*this.y;this.x=b*this.x-a*this.y;this.y=d;return this},Qj:function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}};d.b=function(a){return a instanceof d?a:Array.isArray(a)?new d(a[0],a[1]):a}},{}],2:[function(a,b){b.na.Ej=a("./lib/vectortile.js");b.na.Zp=a("./lib/vectortilefeature.js");b.na.$p=a("./lib/vectortilelayer.js")},{"./lib/vectortile.js":3,"./lib/vectortilefeature.js":4,"./lib/vectortilelayer.js":5}],3:[function(a,b){function d(a,
484
- b,d){3===a&&(a=new e(d,d.Na()+d.ha),a.length&&(b[a.name]=a))}var e=a("./vectortilelayer");b.na=function(a,b){this.layers=a.ng(d,{},b)}},{"./vectortilelayer":5}],4:[function(a,b){function d(a,b,d,f,g){this.properties={};this.extent=d;this.type=0;this.Dc=a;this.uf=-1;this.je=f;this.le=g;a.ng(e,this,b)}function e(a,b,d){if(1==a)b.id=d.Na();else if(2==a)for(a=d.Na()+d.ha;d.ha<a;){var e=b.je[d.Na()],f=b.le[d.Na()];b.properties[e]=f}else 3==a?b.type=d.Na():4==a&&(b.uf=d.ha)}var h=a("point-geometry");b.na=
485
- d;d.b=["Unknown","Point","LineString","Polygon"];d.prototype.Bh=function(){var a=this.Dc;a.ha=this.uf;for(var b=a.Na()+a.ha,d=1,e=0,f=0,g=0,v=[],x;a.ha<b;)if(e||(e=a.Na(),d=e&7,e>>=3),e--,1===d||2===d)f+=a.Zd(),g+=a.Zd(),1===d&&(x&&v.push(x),x=[]),x.push(new h(f,g));else if(7===d)x&&x.push(x[0].clone());else throw Error("unknown command "+d);x&&v.push(x);return v};d.prototype.bbox=function(){var a=this.Dc;a.ha=this.uf;for(var b=a.Na()+a.ha,d=1,e=0,f=0,g=0,h=Infinity,x=-Infinity,y=Infinity,z=-Infinity;a.ha<
486
- b;)if(e||(e=a.Na(),d=e&7,e>>=3),e--,1===d||2===d)f+=a.Zd(),g+=a.Zd(),f<h&&(h=f),f>x&&(x=f),g<y&&(y=g),g>z&&(z=g);else if(7!==d)throw Error("unknown command "+d);return[h,y,x,z]}},{"point-geometry":1}],5:[function(a,b){function d(a,b){this.version=1;this.name=null;this.extent=4096;this.length=0;this.Dc=a;this.je=[];this.le=[];this.ie=[];a.ng(e,this,b);this.length=this.ie.length}function e(a,b,d){15===a?b.version=d.Na():1===a?b.name=d.tg():5===a?b.extent=d.Na():2===a?b.ie.push(d.ha):3===a?b.je.push(d.tg()):
487
- 4===a&&b.le.push(h(d))}function h(a){for(var b=null,d=a.Na()+a.ha;a.ha<d;)b=a.Na()>>3,b=1===b?a.tg():2===b?a.Oo():3===b?a.Ko():4===b?a.$o():5===b?a.Na():6===b?a.Zd():7===b?a.Io():null;return b}var l=a("./vectortilefeature.js");b.na=d;d.prototype.feature=function(a){if(0>a||a>=this.ie.length)throw Error("feature index out of bounds");this.Dc.ha=this.ie[a];a=this.Dc.Na()+this.Dc.ha;return new l(this.Dc,a,this.extent,this.je,this.le)}},{"./vectortilefeature.js":4}]},{},[2])(2)});Cj=b.na})();function Yp(a,b,c,d){this.f=a;this.b=b;this.i=c;this.c=d}k=Yp.prototype;k.get=function(a){return this.c[a]};k.Sb=function(){return this.i};k.D=function(){this.a||(this.a="Point"===this.f?Xa(this.b):Ya(this.b,0,this.b.length,2));return this.a};k.gc=function(){return this.b};k.ia=Yp.prototype.gc;k.V=function(){return this};k.nn=function(){return this.c};k.Rd=Yp.prototype.V;k.ta=function(){return 2};k.Oc=oa;k.U=function(){return this.f};function Zp(a){Cl.call(this);a=a?a:{};this.defaultDataProjection=new yb({code:"",units:"tile-pixels"});this.b=a.featureClass?a.featureClass:Yp;this.f=a.geometryName;this.a=a.layerName?a.layerName:"layer";this.c=a.layers?a.layers:null}u(Zp,Cl);k=Zp.prototype;k.U=function(){return"arraybuffer"};
488
- k.Ra=function(a,b){var c=this.c,d=new Bj(a),d=new Cj.Ej(d),e=[],f=this.b,g,h,l;for(l in d.layers)if(!c||-1!=c.indexOf(l)){g=d.layers[l];for(var m=0,n=g.length;m<n;++m){if(f===Yp){h=void 0;var p=g.feature(m),q=l,r=p.Bh(),v=[],x=[];$p(r,x,v);var y=p.type;1===y?h=1===r.length?"Point":"MultiPoint":2===y?h=1===r.length?"LineString":"MultiLineString":3===y&&(h="Polygon");p=p.properties;p[this.a]=q;h=new this.b(h,x,v,p)}else{y=g.feature(m);p=l;x=b;h=new this.b;q=y.id;v=y.properties;v[this.a]=p;this.f&&h.Wc(this.f);
489
- p=void 0;r=y.type;if(0===r)p=null;else{var y=y.Bh(),z=[],A=[];$p(y,A,z);1===r?p=1===y.length?new F(null):new P(null):2===r?1===y.length?p=new N(null):p=new O(null):3===r&&(p=new G(null));p.da("XY",A,z)}x=Fl(p,!1,El(this,x));h.Ta(x);h.lc(q);h.H(v)}e.push(h)}}return e};k.lb=function(){return this.defaultDataProjection};k.Im=function(a){this.c=a};function $p(a,b,c){for(var d=0,e=0,f=a.length;e<f;++e){var g=a[e],h,l;h=0;for(l=g.length;h<l;++h){var m=g[h];b.push(m.x,m.y)}d+=2*h;c.push(d)}}k.Vb=function(){};
490
- k.Uc=function(){};k.zd=function(){};k.cd=function(){};k.Yb=function(){};function aq(){zm.call(this);this.defaultDataProjection=Fb("EPSG:4326")}u(aq,zm);function bq(a,b){b[b.length-1].be[a.getAttribute("k")]=a.getAttribute("v")}
491
- var cq=[null],dq=L(cq,{nd:function(a,b){b[b.length-1].od.push(a.getAttribute("ref"))},tag:bq}),fq=L(cq,{node:function(a,b){var c=b[0],d=b[b.length-1],e=a.getAttribute("id"),f=[parseFloat(a.getAttribute("lon")),parseFloat(a.getAttribute("lat"))];d.Fh[e]=f;var g=M({be:{}},eq,a,b);tb(g.be)||(f=new F(f),Fl(f,!1,c),c=new I(f),c.lc(e),c.H(g.be),d.features.push(c))},way:function(a,b){for(var c=b[0],d=a.getAttribute("id"),e=M({od:[],be:{}},dq,a,b),f=b[b.length-1],g=[],h=0,l=e.od.length;h<l;h++)ha(g,f.Fh[e.od[h]]);
492
- e.od[0]==e.od[e.od.length-1]?(h=new G(null),h.da("XY",g,[g.length])):(h=new N(null),h.da("XY",g));Fl(h,!1,c);c=new I(h);c.lc(d);c.H(e.be);f.features.push(c)}}),eq=L(cq,{tag:bq});aq.prototype.zc=function(a,b){var c=Dl(this,a,b);return"osm"==a.localName&&(c=M({Fh:{},features:[]},fq,a,[c]),c.features)?c.features:[]};aq.prototype.Gg=function(){};aq.prototype.Zb=function(){};aq.prototype.ee=function(){};function gq(a){return a.getAttributeNS("http://www.w3.org/1999/xlink","href")};function hq(){}hq.prototype.read=function(a){return ll(a)?this.a(a):ml(a)?this.b(a):"string"===typeof a?(a=nl(a),this.a(a)):null};function iq(){}u(iq,hq);iq.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return this.b(a);return null};iq.prototype.b=function(a){return(a=M({},jq,a,[]))?a:null};
493
- var lq=[null,"http://www.opengis.net/ows/1.1"],jq=L(lq,{ServiceIdentification:J(function(a,b){return M({},mq,a,b)}),ServiceProvider:J(function(a,b){return M({},nq,a,b)}),OperationsMetadata:J(function(a,b){return M({},oq,a,b)})}),pq=L(lq,{DeliveryPoint:J(R),City:J(R),AdministrativeArea:J(R),PostalCode:J(R),Country:J(R),ElectronicMailAddress:J(R)}),qq=L(lq,{Value:sl(function(a){return R(a)})}),rq=L(lq,{AllowedValues:J(function(a,b){return M({},qq,a,b)})}),tq=L(lq,{Phone:J(function(a,b){return M({},
494
- sq,a,b)}),Address:J(function(a,b){return M({},pq,a,b)})}),vq=L(lq,{HTTP:J(function(a,b){return M({},uq,a,b)})}),uq=L(lq,{Get:sl(function(a,b){var c=gq(a);if(c)return M({href:c},wq,a,b)}),Post:void 0}),xq=L(lq,{DCP:J(function(a,b){return M({},vq,a,b)})}),oq=L(lq,{Operation:function(a,b){var c=a.getAttribute("name"),d=M({},xq,a,b);d&&(b[b.length-1][c]=d)}}),sq=L(lq,{Voice:J(R),Facsimile:J(R)}),wq=L(lq,{Constraint:sl(function(a,b){var c=a.getAttribute("name");if(c)return M({name:c},rq,a,b)})}),yq=L(lq,
495
- {IndividualName:J(R),PositionName:J(R),ContactInfo:J(function(a,b){return M({},tq,a,b)})}),mq=L(lq,{Title:J(R),ServiceTypeVersion:J(R),ServiceType:J(R)}),nq=L(lq,{ProviderName:J(R),ProviderSite:J(gq),ServiceContact:J(function(a,b){return M({},yq,a,b)})});function zq(a,b,c,d){var e;void 0!==d?e=d:e=[];for(var f=d=0;f<b;){var g=a[f++];e[d++]=a[f++];e[d++]=g;for(g=2;g<c;++g)e[d++]=a[f++]}e.length=d};function Aq(a){a=a?a:{};Cl.call(this);this.defaultDataProjection=Fb("EPSG:4326");this.b=a.factor?a.factor:1E5;this.a=a.geometryLayout?a.geometryLayout:"XY"}u(Aq,In);function Bq(a,b,c){var d,e=Array(b);for(d=0;d<b;++d)e[d]=0;var f,g;f=0;for(g=a.length;f<g;)for(d=0;d<b;++d,++f){var h=a[f],l=h-e[d];e[d]=h;a[f]=l}return Cq(a,c?c:1E5)}function Dq(a,b,c){var d,e=Array(b);for(d=0;d<b;++d)e[d]=0;a=Eq(a,c?c:1E5);var f;c=0;for(f=a.length;c<f;)for(d=0;d<b;++d,++c)e[d]+=a[c],a[c]=e[d];return a}
496
- function Cq(a,b){var c=b?b:1E5,d,e;d=0;for(e=a.length;d<e;++d)a[d]=Math.round(a[d]*c);c=0;for(d=a.length;c<d;++c)e=a[c],a[c]=0>e?~(e<<1):e<<1;c="";d=0;for(e=a.length;d<e;++d){for(var f,g=a[d],h="";32<=g;)f=(32|g&31)+63,h+=String.fromCharCode(f),g>>=5;h+=String.fromCharCode(g+63);c+=h}return c}
497
- function Eq(a,b){var c=b?b:1E5,d=[],e=0,f=0,g,h;g=0;for(h=a.length;g<h;++g){var l=a.charCodeAt(g)-63,e=e|(l&31)<<f;32>l?(d.push(e),f=e=0):f+=5}e=0;for(f=d.length;e<f;++e)g=d[e],d[e]=g&1?~(g>>1):g>>1;e=0;for(f=d.length;e<f;++e)d[e]/=c;return d}k=Aq.prototype;k.Xd=function(a,b){var c=this.vd(a,b);return new I(c)};k.mg=function(a,b){return[this.Xd(a,b)]};k.vd=function(a,b){var c=hf(this.a),d=Dq(a,c,this.b);zq(d,d.length,c,d);c=vf(d,0,d.length,c);return Fl(new N(c,this.a),!1,El(this,b))};
498
- k.ce=function(a,b){var c=a.V();if(c)return this.Bd(c,b);ra(!1,40);return""};k.Hg=function(a,b){return this.ce(a[0],b)};k.Bd=function(a,b){a=Fl(a,!0,El(this,b));var c=a.ia(),d=a.ta();zq(c,c.length,d,c);return Bq(c,d,this.b)};function Fq(a){a=a?a:{};Cl.call(this);this.defaultDataProjection=Fb(a.defaultDataProjection?a.defaultDataProjection:"EPSG:4326")}u(Fq,Gl);function Gq(a,b){var c=[],d,e,f,g;f=0;for(g=a.length;f<g;++f)d=a[f],0<f&&c.pop(),0<=d?e=b[d]:e=b[~d].slice().reverse(),c.push.apply(c,e);d=0;for(e=c.length;d<e;++d)c[d]=c[d].slice();return c}function Hq(a,b,c,d,e){a=a.geometries;var f=[],g,h;g=0;for(h=a.length;g<h;++g)f[g]=Iq(a[g],b,c,d,e);return f}
499
- function Iq(a,b,c,d,e){var f=a.type,g=Jq[f];b="Point"===f||"MultiPoint"===f?g(a,c,d):g(a,b);c=new I;c.Ta(Fl(b,!1,e));void 0!==a.id&&c.lc(a.id);a.properties&&c.H(a.properties);return c}
500
- Fq.prototype.lg=function(a,b){if("Topology"==a.type){var c,d=null,e=null;a.transform&&(c=a.transform,d=c.scale,e=c.translate);var f=a.arcs;if(c){c=d;var g=e,h,l;h=0;for(l=f.length;h<l;++h){var m,n,p,q=f[h],r=c,v=g,x=0,y=0;n=0;for(m=q.length;n<m;++n)p=q[n],x+=p[0],y+=p[1],p[0]=x,p[1]=y,Kq(p,r,v)}}c=[];g=sb(a.objects);h=0;for(l=g.length;h<l;++h)"GeometryCollection"===g[h].type?(m=g[h],c.push.apply(c,Hq(m,f,d,e,b))):(m=g[h],c.push(Iq(m,f,d,e,b)));return c}return[]};
501
- function Kq(a,b,c){a[0]=a[0]*b[0]+c[0];a[1]=a[1]*b[1]+c[1]}Fq.prototype.sg=function(){return this.defaultDataProjection};
502
- var Jq={Point:function(a,b,c){a=a.coordinates;b&&c&&Kq(a,b,c);return new F(a)},LineString:function(a,b){var c=Gq(a.arcs,b);return new N(c)},Polygon:function(a,b){var c=[],d,e;d=0;for(e=a.arcs.length;d<e;++d)c[d]=Gq(a.arcs[d],b);return new G(c)},MultiPoint:function(a,b,c){a=a.coordinates;var d,e;if(b&&c)for(d=0,e=a.length;d<e;++d)Kq(a[d],b,c);return new P(a)},MultiLineString:function(a,b){var c=[],d,e;d=0;for(e=a.arcs.length;d<e;++d)c[d]=Gq(a.arcs[d],b);return new O(c)},MultiPolygon:function(a,b){var c=
503
- [],d,e,f,g,h,l;h=0;for(l=a.arcs.length;h<l;++h){d=a.arcs[h];e=[];f=0;for(g=d.length;f<g;++f)e[f]=Gq(d[f],b);c[h]=e}return new Q(c)}};k=Fq.prototype;k.bd=function(){};k.de=function(){};k.fe=function(){};k.pg=function(){};k.Tc=function(){};function Lq(a){a=a?a:{};this.i=a.featureType;this.a=a.featureNS;this.b=a.gmlFormat?a.gmlFormat:new Pm;this.c=a.schemaLocation?a.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";zm.call(this)}u(Lq,zm);Lq.prototype.zc=function(a,b){var c={featureType:this.i,featureNS:this.a};qb(c,Dl(this,a,b?b:{}));c=[c];this.b.b["http://www.opengis.net/gml"].featureMember=ql(Cm.prototype.Yd);(c=M([],this.b.b,a,c,this.b))||(c=[]);return c};
504
- Lq.prototype.j=function(a){if(ll(a))return Mq(a);if(ml(a))return M({},Nq,a,[]);if("string"===typeof a)return a=nl(a),Mq(a)};Lq.prototype.l=function(a){if(ll(a))return Oq(this,a);if(ml(a))return Pq(this,a);if("string"===typeof a)return a=nl(a),Oq(this,a)};function Oq(a,b){for(var c=b.firstChild;c;c=c.nextSibling)if(c.nodeType==Node.ELEMENT_NODE)return Pq(a,c)}var Qq={"http://www.opengis.net/gml":{boundedBy:J(Cm.prototype.Xe,"bounds")}};
505
- function Pq(a,b){var c={},d=Km(b.getAttribute("numberOfFeatures"));c.numberOfFeatures=d;return M(c,Qq,b,[],a.b)}
506
- var Rq={"http://www.opengis.net/wfs":{totalInserted:J(Jm),totalUpdated:J(Jm),totalDeleted:J(Jm)}},Sq={"http://www.opengis.net/ogc":{FeatureId:ql(function(a){return a.getAttribute("fid")})}},Tq={"http://www.opengis.net/wfs":{Feature:function(a,b){yl(Sq,a,b)}}},Nq={"http://www.opengis.net/wfs":{TransactionSummary:J(function(a,b){return M({},Rq,a,b)},"transactionSummary"),InsertResults:J(function(a,b){return M([],Tq,a,b)},"insertIds")}};
507
- function Mq(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return M({},Nq,a,[])}var Uq={"http://www.opengis.net/wfs":{PropertyName:K(Mm)}};function Vq(a,b){var c=il("http://www.opengis.net/ogc","Filter"),d=il("http://www.opengis.net/ogc","FeatureId");c.appendChild(d);d.setAttribute("fid",b);a.appendChild(c)}
508
- var Wq={"http://www.opengis.net/wfs":{Insert:K(function(a,b,c){var d=c[c.length-1],d=il(d.featureNS,d.featureType);a.appendChild(d);Pm.prototype.dj(d,b,c)}),Update:K(function(a,b,c){var d=c[c.length-1];ra(void 0!==b.a,27);var e=d.featureType,f=d.featurePrefix,f=f?f:"feature",g=d.featureNS;a.setAttribute("typeName",f+":"+e);a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+f,g);e=b.a;if(void 0!==e){for(var f=b.P(),g=[],h=0,l=f.length;h<l;h++){var m=b.get(f[h]);void 0!==m&&g.push({name:f[h],
509
- value:m})}zl({node:a,srsName:d.srsName},Wq,ul("Property"),g,c);Vq(a,e)}}),Delete:K(function(a,b,c){var d=c[c.length-1];ra(void 0!==b.a,26);c=d.featureType;var e=d.featurePrefix,e=e?e:"feature",d=d.featureNS;a.setAttribute("typeName",e+":"+c);a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+e,d);b=b.a;void 0!==b&&Vq(a,b)}),Property:K(function(a,b,c){var d=il("http://www.opengis.net/wfs","Name");a.appendChild(d);Mm(d,b.name);void 0!==b.value&&null!==b.value&&(d=il("http://www.opengis.net/wfs",
510
- "Value"),a.appendChild(d),b.value instanceof ef?Pm.prototype.Ad(d,b.value,c):Mm(d,b.value))}),Native:K(function(a,b){b.Ip&&a.setAttribute("vendorId",b.Ip);void 0!==b.mp&&a.setAttribute("safeToIgnore",b.mp);void 0!==b.value&&Mm(a,b.value)})}};function Xq(a,b,c){var d={node:a};b.b.forEach(function(a){zl(d,Yq,ul(a.Cc),[a],c)})}function Zq(a,b){void 0!==b.a&&a.setAttribute("matchCase",b.a.toString());$q(a,b.b);ar(a,""+b.f)}
511
- function br(a,b,c){a=il("http://www.opengis.net/ogc",a);Mm(a,c);b.appendChild(a)}function $q(a,b){br("PropertyName",a,b)}function ar(a,b){br("Literal",a,b)}
512
- var Yq={"http://www.opengis.net/wfs":{Query:K(function(a,b,c){var d=c[c.length-1],e=d.featurePrefix,f=d.featureNS,g=d.propertyNames,h=d.srsName;a.setAttribute("typeName",(e?e+":":"")+b);h&&a.setAttribute("srsName",h);f&&a.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns:"+e,f);b=qb({},d);b.node=a;zl(b,Uq,ul("PropertyName"),g,c);if(d=d.filter)g=il("http://www.opengis.net/ogc","Filter"),a.appendChild(g),zl({node:g},Yq,ul(d.Cc),[d],c)})},"http://www.opengis.net/ogc":{And:K(Xq),Or:K(Xq),Not:K(function(a,
513
- b,c){b=b.condition;zl({node:a},Yq,ul(b.Cc),[b],c)}),BBOX:K(function(a,b,c){c[c.length-1].srsName=b.srsName;$q(a,b.geometryName);Pm.prototype.Ad(a,b.extent,c)}),Intersects:K(function(a,b,c){c[c.length-1].srsName=b.srsName;$q(a,b.geometryName);Pm.prototype.Ad(a,b.geometry,c)}),Within:K(function(a,b,c){c[c.length-1].srsName=b.srsName;$q(a,b.geometryName);Pm.prototype.Ad(a,b.geometry,c)}),PropertyIsEqualTo:K(Zq),PropertyIsNotEqualTo:K(Zq),PropertyIsLessThan:K(Zq),PropertyIsLessThanOrEqualTo:K(Zq),PropertyIsGreaterThan:K(Zq),
514
- PropertyIsGreaterThanOrEqualTo:K(Zq),PropertyIsNull:K(function(a,b){$q(a,b.b)}),PropertyIsBetween:K(function(a,b){$q(a,b.b);var c=il("http://www.opengis.net/ogc","LowerBoundary");a.appendChild(c);ar(c,""+b.a);c=il("http://www.opengis.net/ogc","UpperBoundary");a.appendChild(c);ar(c,""+b.f)}),PropertyIsLike:K(function(a,b){a.setAttribute("wildCard",b.g);a.setAttribute("singleChar",b.i);a.setAttribute("escapeChar",b.f);void 0!==b.a&&a.setAttribute("matchCase",b.a.toString());$q(a,b.b);ar(a,""+b.c)})}};
515
- Lq.prototype.o=function(a){var b=il("http://www.opengis.net/wfs","GetFeature");b.setAttribute("service","WFS");b.setAttribute("version","1.1.0");var c;if(a&&(a.handle&&b.setAttribute("handle",a.handle),a.outputFormat&&b.setAttribute("outputFormat",a.outputFormat),void 0!==a.maxFeatures&&b.setAttribute("maxFeatures",a.maxFeatures),a.resultType&&b.setAttribute("resultType",a.resultType),void 0!==a.startIndex&&b.setAttribute("startIndex",a.startIndex),void 0!==a.count&&b.setAttribute("count",a.count),
516
- c=a.filter,a.bbox)){ra(a.geometryName,12);var d=pm(a.geometryName,a.bbox,a.srsName);c?c=om(c,d):c=d}b.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c);c={node:b,srsName:a.srsName,featureNS:a.featureNS?a.featureNS:this.a,featurePrefix:a.featurePrefix,geometryName:a.geometryName,filter:c,propertyNames:a.propertyNames?a.propertyNames:[]};ra(Array.isArray(a.featureTypes),11);a=a.featureTypes;c=[c];d=qb({},c[c.length-1]);d.node=b;zl(d,Yq,ul("Query"),a,c);return b};
517
- Lq.prototype.v=function(a,b,c,d){var e=[],f=il("http://www.opengis.net/wfs","Transaction");f.setAttribute("service","WFS");f.setAttribute("version","1.1.0");var g,h;d&&(g=d.gmlOptions?d.gmlOptions:{},d.handle&&f.setAttribute("handle",d.handle));f.setAttributeNS("http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.c);a&&(h={node:f,featureNS:d.featureNS,featureType:d.featureType,featurePrefix:d.featurePrefix,srsName:d.srsName},qb(h,g),zl(h,Wq,ul("Insert"),a,e));b&&(h={node:f,featureNS:d.featureNS,
518
- featureType:d.featureType,featurePrefix:d.featurePrefix,srsName:d.srsName},qb(h,g),zl(h,Wq,ul("Update"),b,e));c&&zl({node:f,featureNS:d.featureNS,featureType:d.featureType,featurePrefix:d.featurePrefix,srsName:d.srsName},Wq,ul("Delete"),c,e);d.nativeElements&&zl({node:f,featureNS:d.featureNS,featureType:d.featureType,featurePrefix:d.featurePrefix,srsName:d.srsName},Wq,ul("Native"),d.nativeElements,e);return f};
519
- Lq.prototype.rg=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return this.$e(a);return null};Lq.prototype.$e=function(a){if(a.firstElementChild&&a.firstElementChild.firstElementChild)for(a=a.firstElementChild.firstElementChild,a=a.firstElementChild;a;a=a.nextElementSibling)if(0!==a.childNodes.length&&(1!==a.childNodes.length||3!==a.firstChild.nodeType)){var b=[{}];this.b.Xe(a,b);return Fb(b.pop().srsName)}return null};function cr(a){a=a?a:{};Cl.call(this);this.b=void 0!==a.splitCollection?a.splitCollection:!1}u(cr,In);function dr(a){a=a.Y();return a.length?a.join(" "):""}function er(a){a=a.Y();for(var b=[],c=0,d=a.length;c<d;++c)b.push(a[c].join(" "));return b.join(",")}function fr(a){var b=[];a=a.kd();for(var c=0,d=a.length;c<d;++c)b.push("("+er(a[c])+")");return b.join(",")}
520
- function gr(a){var b=a.U(),c=(0,hr[b])(a),b=b.toUpperCase();if(a instanceof E){a=a.la;var d="";if("XYZ"===a||"XYZM"===a)d+="Z";if("XYM"===a||"XYZM"===a)d+="M";a=d;0<a.length&&(b+=" "+a)}return c.length?b+"("+c+")":b+" EMPTY"}
521
- var hr={Point:dr,LineString:er,Polygon:fr,MultiPoint:function(a){var b=[];a=a.Je();for(var c=0,d=a.length;c<d;++c)b.push("("+dr(a[c])+")");return b.join(",")},MultiLineString:function(a){var b=[];a=a.jd();for(var c=0,d=a.length;c<d;++c)b.push("("+er(a[c])+")");return b.join(",")},MultiPolygon:function(a){var b=[];a=a.Pd();for(var c=0,d=a.length;c<d;++c)b.push("("+fr(a[c])+")");return b.join(",")},GeometryCollection:function(a){var b=[];a=a.Jf();for(var c=0,d=a.length;c<d;++c)b.push(gr(a[c]));return b.join(",")}};
522
- k=cr.prototype;k.Xd=function(a,b){var c=this.vd(a,b);if(c){var d=new I;d.Ta(c);return d}return null};k.mg=function(a,b){var c=[],d=this.vd(a,b);this.b&&"GeometryCollection"==d.U()?c=d.a:c=[d];for(var e=[],f=0,g=c.length;f<g;++f)d=new I,d.Ta(c[f]),e.push(d);return e};k.vd=function(a,b){var c;c=new ir(new jr(a));kr(c);return(c=lr(c))?Fl(c,!1,b):null};k.ce=function(a,b){var c=a.V();return c?this.Bd(c,b):""};
523
- k.Hg=function(a,b){if(1==a.length)return this.ce(a[0],b);for(var c=[],d=0,e=a.length;d<e;++d)c.push(a[d].V());c=new qm(c);return this.Bd(c,b)};k.Bd=function(a,b){return gr(Fl(a,!0,b))};function jr(a){this.a=a;this.b=-1}
524
- function mr(a){var b=a.a.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.a.charAt(++a.b)}while("0"<=d&&"9">=d||"."==d&&(void 0===e||!e)||!f&&("e"==d||"E"==d)||f&&("-"==d||"+"==d));a=parseFloat(a.a.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.a.charAt(++a.b);while("a"<=d&&"z">=
525
- d||"A"<=d&&"Z">=d);a=a.a.substring(b,a.b--).toUpperCase();c.value=a}else{if(" "==b||"\t"==b||"\r"==b||"\n"==b)return mr(a);if(""===b)c.type=6;else throw Error("Unexpected character: "+b);}return c}function ir(a){this.f=a;this.a="XY"}function kr(a){a.b=mr(a.f)}function nr(a,b){var c=a.b.type==b;c&&kr(a);return c}
526
- function lr(a){var b=a.b;if(nr(a,1)){var b=b.value,c="XY",d=a.b;1==a.b.type&&(d=d.value,"Z"===d?c="XYZ":"M"===d?c="XYM":"ZM"===d&&(c="XYZM"),"XY"!==c&&kr(a));a.a=c;if("GEOMETRYCOLLECTION"==b){a:{if(nr(a,2)){b=[];do b.push(lr(a));while(nr(a,5));if(nr(a,3)){a=b;break a}}else if(or(a)){a=[];break a}throw Error(pr(a));}return new qm(a)}d=qr[b];c=rr[b];if(!d||!c)throw Error("Invalid geometry type: "+b);b=d.call(a);return new c(b,a.a)}throw Error(pr(a));}k=ir.prototype;
527
- k.gg=function(){if(nr(this,2)){var a=sr(this);if(nr(this,3))return a}else if(or(this))return null;throw Error(pr(this));};k.fg=function(){if(nr(this,2)){var a=tr(this);if(nr(this,3))return a}else if(or(this))return[];throw Error(pr(this));};k.hg=function(){if(nr(this,2)){var a=ur(this);if(nr(this,3))return a}else if(or(this))return[];throw Error(pr(this));};
528
- k.vo=function(){if(nr(this,2)){var a;if(2==this.b.type)for(a=[this.gg()];nr(this,5);)a.push(this.gg());else a=tr(this);if(nr(this,3))return a}else if(or(this))return[];throw Error(pr(this));};k.uo=function(){if(nr(this,2)){var a=ur(this);if(nr(this,3))return a}else if(or(this))return[];throw Error(pr(this));};k.wo=function(){if(nr(this,2)){for(var a=[this.hg()];nr(this,5);)a.push(this.hg());if(nr(this,3))return a}else if(or(this))return[];throw Error(pr(this));};
529
- function sr(a){for(var b=[],c=a.a.length,d=0;d<c;++d){var e=a.b;if(nr(a,4))b.push(e.value);else break}if(b.length==c)return b;throw Error(pr(a));}function tr(a){for(var b=[sr(a)];nr(a,5);)b.push(sr(a));return b}function ur(a){for(var b=[a.fg()];nr(a,5);)b.push(a.fg());return b}function or(a){var b=1==a.b.type&&"EMPTY"==a.b.value;b&&kr(a);return b}function pr(a){return"Unexpected `"+a.b.value+"` at position "+a.b.position+" in `"+a.f.a+"`"}
530
- var rr={POINT:F,LINESTRING:N,POLYGON:G,MULTIPOINT:P,MULTILINESTRING:O,MULTIPOLYGON:Q},qr={POINT:ir.prototype.gg,LINESTRING:ir.prototype.fg,POLYGON:ir.prototype.hg,MULTIPOINT:ir.prototype.vo,MULTILINESTRING:ir.prototype.uo,MULTIPOLYGON:ir.prototype.wo};function vr(){this.version=void 0}u(vr,hq);vr.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return this.b(a);return null};vr.prototype.b=function(a){this.version=a.getAttribute("version").trim();return(a=M({version:this.version},wr,a,[]))?a:null};function xr(a,b){return M({},yr,a,b)}function zr(a,b){return M({},Ar,a,b)}function Br(a,b){var c=xr(a,b);if(c){var d=[Km(a.getAttribute("width")),Km(a.getAttribute("height"))];c.size=d;return c}}
531
- function Cr(a,b){return M([],Dr,a,b)}
532
- var Er=[null,"http://www.opengis.net/wms"],wr=L(Er,{Service:J(function(a,b){return M({},Fr,a,b)}),Capability:J(function(a,b){return M({},Gr,a,b)})}),Gr=L(Er,{Request:J(function(a,b){return M({},Hr,a,b)}),Exception:J(function(a,b){return M([],Ir,a,b)}),Layer:J(function(a,b){return M({},Jr,a,b)})}),Fr=L(Er,{Name:J(R),Title:J(R),Abstract:J(R),KeywordList:J(Cr),OnlineResource:J(gq),ContactInformation:J(function(a,b){return M({},Kr,a,b)}),Fees:J(R),AccessConstraints:J(R),LayerLimit:J(Jm),MaxWidth:J(Jm),
533
- MaxHeight:J(Jm)}),Kr=L(Er,{ContactPersonPrimary:J(function(a,b){return M({},Lr,a,b)}),ContactPosition:J(R),ContactAddress:J(function(a,b){return M({},Mr,a,b)}),ContactVoiceTelephone:J(R),ContactFacsimileTelephone:J(R),ContactElectronicMailAddress:J(R)}),Lr=L(Er,{ContactPerson:J(R),ContactOrganization:J(R)}),Mr=L(Er,{AddressType:J(R),Address:J(R),City:J(R),StateOrProvince:J(R),PostCode:J(R),Country:J(R)}),Ir=L(Er,{Format:ql(R)}),Jr=L(Er,{Name:J(R),Title:J(R),Abstract:J(R),KeywordList:J(Cr),CRS:sl(R),
534
- EX_GeographicBoundingBox:J(function(a,b){var c=M({},Nr,a,b);if(c){var d=c.westBoundLongitude,e=c.southBoundLatitude,f=c.eastBoundLongitude,c=c.northBoundLatitude;if(void 0!==d&&void 0!==e&&void 0!==f&&void 0!==c)return[d,e,f,c]}}),BoundingBox:sl(function(a){var b=[Im(a.getAttribute("minx")),Im(a.getAttribute("miny")),Im(a.getAttribute("maxx")),Im(a.getAttribute("maxy"))],c=[Im(a.getAttribute("resx")),Im(a.getAttribute("resy"))];return{crs:a.getAttribute("CRS"),extent:b,res:c}}),Dimension:sl(function(a){return{name:a.getAttribute("name"),
535
- units:a.getAttribute("units"),unitSymbol:a.getAttribute("unitSymbol"),"default":a.getAttribute("default"),multipleValues:Fm(a.getAttribute("multipleValues")),nearestValue:Fm(a.getAttribute("nearestValue")),current:Fm(a.getAttribute("current")),values:R(a)}}),Attribution:J(function(a,b){return M({},Or,a,b)}),AuthorityURL:sl(function(a,b){var c=xr(a,b);if(c)return c.name=a.getAttribute("name"),c}),Identifier:sl(R),MetadataURL:sl(function(a,b){var c=xr(a,b);if(c)return c.type=a.getAttribute("type"),
536
- c}),DataURL:sl(xr),FeatureListURL:sl(xr),Style:sl(function(a,b){return M({},Pr,a,b)}),MinScaleDenominator:J(Hm),MaxScaleDenominator:J(Hm),Layer:sl(function(a,b){var c=b[b.length-1],d=M({},Jr,a,b);if(d){var e=Fm(a.getAttribute("queryable"));void 0===e&&(e=c.queryable);d.queryable=void 0!==e?e:!1;e=Km(a.getAttribute("cascaded"));void 0===e&&(e=c.cascaded);d.cascaded=e;e=Fm(a.getAttribute("opaque"));void 0===e&&(e=c.opaque);d.opaque=void 0!==e?e:!1;e=Fm(a.getAttribute("noSubsets"));void 0===e&&(e=c.noSubsets);
537
- d.noSubsets=void 0!==e?e:!1;(e=Im(a.getAttribute("fixedWidth")))||(e=c.fixedWidth);d.fixedWidth=e;(e=Im(a.getAttribute("fixedHeight")))||(e=c.fixedHeight);d.fixedHeight=e;["Style","CRS","AuthorityURL"].forEach(function(a){a in c&&(d[a]=(d[a]||[]).concat(c[a]))});"EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" ").forEach(function(a){a in d||(d[a]=c[a])});return d}})}),Or=L(Er,{Title:J(R),OnlineResource:J(gq),LogoURL:J(Br)}),Nr=L(Er,{westBoundLongitude:J(Hm),
538
- eastBoundLongitude:J(Hm),southBoundLatitude:J(Hm),northBoundLatitude:J(Hm)}),Hr=L(Er,{GetCapabilities:J(zr),GetMap:J(zr),GetFeatureInfo:J(zr)}),Ar=L(Er,{Format:sl(R),DCPType:sl(function(a,b){return M({},Qr,a,b)})}),Qr=L(Er,{HTTP:J(function(a,b){return M({},Rr,a,b)})}),Rr=L(Er,{Get:J(xr),Post:J(xr)}),Pr=L(Er,{Name:J(R),Title:J(R),Abstract:J(R),LegendURL:sl(Br),StyleSheetURL:J(xr),StyleURL:J(xr)}),yr=L(Er,{Format:J(R),OnlineResource:J(gq)}),Dr=L(Er,{Keyword:ql(R)});function Sr(a){a=a?a:{};this.a="http://mapserver.gis.umn.edu/mapserver";this.b=new Ym;this.c=a.layers?a.layers:null;zm.call(this)}u(Sr,zm);
539
- Sr.prototype.zc=function(a,b){var c={};b&&qb(c,Dl(this,a,b));var d=[c];a.setAttribute("namespaceURI",this.a);var e=a.localName,c=[];if(a.childNodes.length){if("msGMLOutput"==e)for(var f=0,g=a.childNodes.length;f<g;f++){var h=a.childNodes[f];if(h.nodeType===Node.ELEMENT_NODE){var l=d[0],m=h.localName.replace("_layer","");if(!this.c||fa(this.c,m)){m+="_feature";l.featureType=m;l.featureNS=this.a;var n={};n[m]=ql(this.b.jg,this.b);l=L([l.featureNS,null],n);h.setAttribute("namespaceURI",this.a);(h=M([],
540
- l,h,d,this.b))&&ha(c,h)}}}"FeatureCollection"==e&&(d=M([],this.b.b,a,[{}],this.b))&&(c=d)}return c};Sr.prototype.Gg=function(){};Sr.prototype.Zb=function(){};Sr.prototype.ee=function(){};function Tr(){this.f=new iq}u(Tr,hq);Tr.prototype.a=function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType==Node.ELEMENT_NODE)return this.b(a);return null};Tr.prototype.b=function(a){var b=a.getAttribute("version").trim(),c=this.f.b(a);if(!c)return null;c.version=b;return(c=M(c,Ur,a,[]))?c:null};function Vr(a){var b=R(a).split(" ");if(b&&2==b.length&&(a=+b[0],b=+b[1],!isNaN(a)&&!isNaN(b)))return[a,b]}
541
- var Wr=[null,"http://www.opengis.net/wmts/1.0"],Xr=[null,"http://www.opengis.net/ows/1.1"],Ur=L(Wr,{Contents:J(function(a,b){return M({},Yr,a,b)})}),Yr=L(Wr,{Layer:sl(function(a,b){return M({},Zr,a,b)}),TileMatrixSet:sl(function(a,b){return M({},$r,a,b)})}),Zr=L(Wr,{Style:sl(function(a,b){var c=M({},as,a,b);if(c){var d="true"===a.getAttribute("isDefault");c.isDefault=d;return c}}),Format:sl(R),TileMatrixSetLink:sl(function(a,b){return M({},bs,a,b)}),Dimension:sl(function(a,b){return M({},cs,a,b)}),
542
- ResourceURL:sl(function(a){var b=a.getAttribute("format"),c=a.getAttribute("template");a=a.getAttribute("resourceType");var d={};b&&(d.format=b);c&&(d.template=c);a&&(d.resourceType=a);return d})},L(Xr,{Title:J(R),Abstract:J(R),WGS84BoundingBox:J(function(a,b){var c=M([],ds,a,b);if(2==c.length)return Ia(c)}),Identifier:J(R)})),as=L(Wr,{LegendURL:sl(function(a){var b={};b.format=a.getAttribute("format");b.href=gq(a);return b})},L(Xr,{Title:J(R),Identifier:J(R)})),bs=L(Wr,{TileMatrixSet:J(R),TileMatrixSetLimits:J(function(a,
543
- b){return M([],es,a,b)})}),es=L(Wr,{TileMatrixLimits:ql(function(a,b){return M({},fs,a,b)})}),fs=L(Wr,{TileMatrix:J(R),MinTileRow:J(Jm),MaxTileRow:J(Jm),MinTileCol:J(Jm),MaxTileCol:J(Jm)}),cs=L(Wr,{Default:J(R),Value:sl(R)},L(Xr,{Identifier:J(R)})),ds=L(Xr,{LowerCorner:ql(Vr),UpperCorner:ql(Vr)}),$r=L(Wr,{WellKnownScaleSet:J(R),TileMatrix:sl(function(a,b){return M({},gs,a,b)})},L(Xr,{SupportedCRS:J(R),Identifier:J(R)})),gs=L(Wr,{TopLeftCorner:J(Vr),ScaleDenominator:J(Hm),TileWidth:J(Jm),TileHeight:J(Jm),
544
- MatrixWidth:J(Jm),MatrixHeight:J(Jm)},L(Xr,{Identifier:J(R)}));function hs(a){Ic.call(this);a=a||{};this.a=null;this.i=Wb;this.c=void 0;B(this,Kc("projection"),this.im,this);B(this,Kc("tracking"),this.jm,this);void 0!==a.projection&&this.Jh(Fb(a.projection));void 0!==a.trackingOptions&&this.Ti(a.trackingOptions);this.Fe(void 0!==a.tracking?a.tracking:!1)}u(hs,Ic);k=hs.prototype;k.sa=function(){this.Fe(!1);Ic.prototype.sa.call(this)};k.im=function(){var a=this.Hh();a&&(this.i=Eb(Fb("EPSG:4326"),a),this.a&&this.set("position",this.i(this.a)))};
545
- k.jm=function(){if(Qd){var a=this.Ih();a&&void 0===this.c?this.c=navigator.geolocation.watchPosition(this.Do.bind(this),this.Eo.bind(this),this.uh()):a||void 0===this.c||(navigator.geolocation.clearWatch(this.c),this.c=void 0)}};
546
- k.Do=function(a){a=a.coords;this.set("accuracy",a.accuracy);this.set("altitude",null===a.altitude?void 0:a.altitude);this.set("altitudeAccuracy",null===a.altitudeAccuracy?void 0:a.altitudeAccuracy);this.set("heading",null===a.heading?void 0:Ca(a.heading));this.a?(this.a[0]=a.longitude,this.a[1]=a.latitude):this.a=[a.longitude,a.latitude];var b=this.i(this.a);this.set("position",b);this.set("speed",null===a.speed?void 0:a.speed);a=Nf(mh,this.a,a.accuracy);a.Ec(this.i);this.set("accuracyGeometry",a);
547
- this.s()};k.Eo=function(a){a.type="error";this.Fe(!1);this.b(a)};k.ik=function(){return this.get("accuracy")};k.jk=function(){return this.get("accuracyGeometry")||null};k.lk=function(){return this.get("altitude")};k.mk=function(){return this.get("altitudeAccuracy")};k.gm=function(){return this.get("heading")};k.hm=function(){return this.get("position")};k.Hh=function(){return this.get("projection")};k.Sk=function(){return this.get("speed")};k.Ih=function(){return this.get("tracking")};k.uh=function(){return this.get("trackingOptions")};
548
- k.Jh=function(a){this.set("projection",a)};k.Fe=function(a){this.set("tracking",a)};k.Ti=function(a){this.set("trackingOptions",a)};function is(a,b,c){E.call(this);this.zg(a,b?b:0,c)}u(is,E);k=is.prototype;k.clone=function(){var a=new is(null);jf(a,this.la,this.B.slice());a.s();return a};k.Hb=function(a,b,c,d){var e=this.B;a-=e[0];var f=b-e[1];b=a*a+f*f;if(b<d){if(b)for(d=this.Wd()/Math.sqrt(b),c[0]=e[0]+d*a,c[1]=e[1]+d*f,d=2;d<this.a;++d)c[d]=e[d];else for(d=0;d<this.a;++d)c[d]=e[d];c.length=this.a;return b}return d};k.Pc=function(a,b){var c=this.B,d=a-c[0],c=b-c[1];return d*d+c*c<=js(this)};
549
- k.Ca=function(){return this.B.slice(0,this.a)};k.oe=function(a){var b=this.B,c=b[this.a]-b[0];return Wa(b[0]-c,b[1]-c,b[0]+c,b[1]+c,a)};k.Wd=function(){return Math.sqrt(js(this))};function js(a){var b=a.B[a.a]-a.B[0];a=a.B[a.a+1]-a.B[1];return b*b+a*a}k.U=function(){return"Circle"};k.Ya=function(a){var b=this.D();return nb(a,b)?(b=this.Ca(),a[0]<=b[0]&&a[2]>=b[0]||a[1]<=b[1]&&a[3]>=b[1]?!0:bb(a,this.tb,this)):!1};
550
- k.xb=function(a){var b=this.a,c=a.slice();c[b]=c[0]+(this.B[b]-this.B[0]);var d;for(d=1;d<b;++d)c[b+d]=a[d];jf(this,this.la,c);this.s()};k.zg=function(a,b,c){if(a){kf(this,c,a,0);this.B||(this.B=[]);c=this.B;a=sf(c,a);c[a++]=c[0]+b;var d;b=1;for(d=this.a;b<d;++b)c[a++]=c[b];c.length=a}else jf(this,"XY",null);this.s()};k.Y=function(){};k.qa=function(){};k.Xc=function(a){this.B[this.a]=this.B[0]+a;this.s()};function ks(a,b,c){for(var d=[],e=a(0),f=a(1),g=b(e),h=b(f),l=[f,e],m=[h,g],n=[1,0],p={},q=1E5,r,v,x,y,z;0<--q&&0<n.length;)x=n.pop(),e=l.pop(),g=m.pop(),f=x.toString(),f in p||(d.push(g[0],g[1]),p[f]=!0),y=n.pop(),f=l.pop(),h=m.pop(),z=(x+y)/2,r=a(z),v=b(r),Aa(v[0],v[1],g[0],g[1],h[0],h[1])<c?(d.push(h[0],h[1]),f=y.toString(),p[f]=!0):(n.push(y,z,z,x),m.push(h,v,v,g),l.push(f,r,r,e));return d}function ls(a,b,c,d,e){var f=Fb("EPSG:4326");return ks(function(d){return[a,b+(c-b)*d]},Vb(f,d),e)}
551
- function ms(a,b,c,d,e){var f=Fb("EPSG:4326");return ks(function(d){return[b+(c-b)*d,a]},Vb(f,d),e)};function ns(a){a=a||{};this.i=this.j=null;this.f=this.g=Infinity;this.c=this.l=-Infinity;this.A=this.u=Infinity;this.G=this.C=-Infinity;this.S=void 0!==a.targetSize?a.targetSize:100;this.ra=void 0!==a.maxLines?a.maxLines:100;this.b=[];this.a=[];this.ua=void 0!==a.strokeStyle?a.strokeStyle:os;this.I=this.o=void 0;this.v=null;this.setMap(void 0!==a.map?a.map:null)}var os=new rj({color:"rgba(0,0,0,0.2)"}),ps=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];
552
- function qs(a,b,c,d,e,f,g){var h=g;b=ls(b,c,d,a.i,e);h=void 0!==a.b[h]?a.b[h]:new N(null);h.da("XY",b);nb(h.D(),f)&&(a.b[g++]=h);return g}function rs(a,b,c,d,e){var f=e;b=ms(b,a.c,a.f,a.i,c);f=void 0!==a.a[f]?a.a[f]:new N(null);f.da("XY",b);nb(f.D(),d)&&(a.a[e++]=f);return e}k=ns.prototype;k.km=function(){return this.j};k.Hk=function(){return this.b};k.Ok=function(){return this.a};
553
- k.xh=function(a){var b=a.vectorContext,c=a.frameState,d=c.extent;a=c.viewState;var e=a.center,f=a.projection,g=a.resolution;a=c.pixelRatio;a=g*g/(4*a*a);if(!this.i||!Ub(this.i,f)){var h=Fb("EPSG:4326"),l=f.D(),m=f.g,n=Yb(m,h,f),p=m[2],q=m[1],r=m[0],v=n[3],x=n[2],y=n[1],n=n[0];this.g=m[3];this.f=p;this.l=q;this.c=r;this.u=v;this.A=x;this.C=y;this.G=n;this.o=Vb(h,f);this.I=Vb(f,h);this.v=this.I(kb(l));this.i=f}f.a&&(f=f.D(),h=ib(f),c=c.focus[0],c<f[0]||c>f[2])&&(c=h*Math.ceil((f[0]-c)/h),d=[d[0]+c,
554
- d[1],d[2]+c,d[3]]);c=this.v[0];f=this.v[1];h=-1;m=Math.pow(this.S*g,2);p=[];q=[];g=0;for(l=ps.length;g<l;++g){r=ps[g]/2;p[0]=c-r;p[1]=f-r;q[0]=c+r;q[1]=f+r;this.o(p,p);this.o(q,q);r=Math.pow(q[0]-p[0],2)+Math.pow(q[1]-p[1],2);if(r<=m)break;h=ps[g]}g=h;if(-1==g)this.b.length=this.a.length=0;else{c=this.I(e);e=c[0];c=c[1];f=this.ra;h=[Math.max(d[0],this.G),Math.max(d[1],this.C),Math.min(d[2],this.A),Math.min(d[3],this.u)];h=Yb(h,this.i,"EPSG:4326");m=h[3];q=h[1];e=Math.floor(e/g)*g;p=wa(e,this.c,this.f);
555
- l=qs(this,p,q,m,a,d,0);for(h=0;p!=this.c&&h++<f;)p=Math.max(p-g,this.c),l=qs(this,p,q,m,a,d,l);p=wa(e,this.c,this.f);for(h=0;p!=this.f&&h++<f;)p=Math.min(p+g,this.f),l=qs(this,p,q,m,a,d,l);this.b.length=l;c=Math.floor(c/g)*g;e=wa(c,this.l,this.g);l=rs(this,e,a,d,0);for(h=0;e!=this.l&&h++<f;)e=Math.max(e-g,this.l),l=rs(this,e,a,d,l);e=wa(c,this.l,this.g);for(h=0;e!=this.g&&h++<f;)e=Math.min(e+g,this.g),l=rs(this,e,a,d,l);this.a.length=l}b.Oa(null,this.ua);a=0;for(e=this.b.length;a<e;++a)g=this.b[a],
556
- b.Rb(g,null);a=0;for(e=this.a.length;a<e;++a)g=this.a[a],b.Rb(g,null)};k.setMap=function(a){this.j&&(this.j.K("postcompose",this.xh,this),this.j.render());a&&(a.J("postcompose",this.xh,this),a.render());this.j=a};function ss(a,b,c,d,e){Ec.call(this);this.i=e;this.extent=a;this.a=c;this.resolution=b;this.state=d}u(ss,Ec);ss.prototype.s=function(){this.b("change")};ss.prototype.D=function(){return this.extent};ss.prototype.W=function(){return this.state};function ts(a,b,c,d,e,f,g){ss.call(this,a,b,c,0,d);this.l=e;this.N=new Image;null!==f&&(this.N.crossOrigin=f);this.c={};this.f=null;this.state=0;this.g=g}u(ts,ss);k=ts.prototype;k.$=function(a){if(void 0!==a){var b;a=w(a);if(a in this.c)return this.c[a];tb(this.c)?b=this.N:b=this.N.cloneNode(!1);return this.c[a]=b}return this.N};k.nm=function(){this.state=3;this.f.forEach(sc);this.f=null;this.s()};
557
- k.om=function(){void 0===this.resolution&&(this.resolution=jb(this.extent)/this.N.height);this.state=2;this.f.forEach(sc);this.f=null;this.s()};k.load=function(){if(0==this.state||3==this.state)this.state=1,this.s(),this.f=[xc(this.N,"error",this.nm,this),xc(this.N,"load",this.om,this)],this.g(this,this.l)};k.Ag=function(a){this.N=a};function us(a,b,c,d,e,f){this.c=f?f:null;ss.call(this,a,b,c,f?0:2,d);this.f=e}u(us,ss);us.prototype.g=function(a){this.state=a?3:2;this.s()};us.prototype.load=function(){0==this.state&&(this.state=1,this.s(),this.c(this.g.bind(this)))};us.prototype.$=function(){return this.f};function vs(a,b){Ec.call(this);this.Ha=a;this.state=b;this.a=null;this.key=""}u(vs,Ec);vs.prototype.s=function(){this.b("change")};vs.prototype.jb=function(){return this.key+"/"+this.Ha};function ws(a){if(!a.a)return a;var b=a.a;do{if(2==b.W())return b;b=b.a}while(b);return a}vs.prototype.i=function(){return this.Ha};vs.prototype.W=function(){return this.state};function xs(a,b,c,d,e){vs.call(this,a,b);this.g=c;this.N=new Image;null!==d&&(this.N.crossOrigin=d);this.c=null;this.j=e}u(xs,vs);k=xs.prototype;k.sa=function(){1==this.state&&ys(this);this.a&&Bc(this.a);this.state=5;this.s();vs.prototype.sa.call(this)};k.$=function(){return this.N};k.jb=function(){return this.g};k.lm=function(){this.state=3;ys(this);this.s()};k.mm=function(){this.state=this.N.naturalWidth&&this.N.naturalHeight?2:4;ys(this);this.s()};
558
- k.load=function(){if(0==this.state||3==this.state)this.state=1,this.s(),this.c=[xc(this.N,"error",this.lm,this),xc(this.N,"load",this.mm,this)],this.j(this,this.g)};function ys(a){a.c.forEach(sc);a.c=null};function zs(a){a=a?a:{};ag.call(this,{handleEvent:cf});this.g=a.formatConstructors?a.formatConstructors:[];this.j=a.projection?Fb(a.projection):null;this.a=null;this.target=a.target?a.target:null}u(zs,ag);function As(a){a=a.dataTransfer.files;var b,c,d;b=0;for(c=a.length;b<c;++b){d=a.item(b);var e=new FileReader;e.addEventListener("load",this.l.bind(this,d));e.readAsText(d)}}function Bs(a){a.stopPropagation();a.preventDefault();a.dataTransfer.dropEffect="copy"}
559
- zs.prototype.l=function(a,b){var c=b.target.result,d=this.v,e=this.j;e||(e=d.aa().o);var d=this.g,f=[],g,h;g=0;for(h=d.length;g<h;++g){var l=new d[g];var m={featureProjection:e};try{f=l.Ra(c,m)}catch(n){f=null}if(f&&0<f.length)break}this.b(new Cs(Ds,a,f,e))};zs.prototype.setMap=function(a){this.a&&(this.a.forEach(sc),this.a=null);ag.prototype.setMap.call(this,a);a&&(a=this.target?this.target:a.c,this.a=[B(a,"drop",As,this),B(a,"dragenter",Bs,this),B(a,"dragover",Bs,this),B(a,"drop",Bs,this)])};
560
- var Ds="addfeatures";function Cs(a,b,c,d){Cc.call(this,a);this.features=c;this.file=b;this.projection=d}u(Cs,Cc);function Es(a){a=a?a:{};pg.call(this,{handleDownEvent:Fs,handleDragEvent:Gs,handleUpEvent:Hs});this.o=a.condition?a.condition:lg;this.a=this.g=void 0;this.j=0;this.u=void 0!==a.duration?a.duration:400}u(Es,pg);function Gs(a){if(ng(a)){var b=a.map,c=b.Nb(),d=a.pixel;a=d[0]-c[0]/2;d=c[1]/2-d[1];c=Math.atan2(d,a);a=Math.sqrt(a*a+d*d);b=b.aa();void 0!==this.g&&(d=c-this.g,bg(b,b.Wa()-d));this.g=c;void 0!==this.a&&(c=this.a*(b.Va()/a),dg(b,c));void 0!==this.a&&(this.j=this.a/a);this.a=a}}
561
- function Hs(a){if(!ng(a))return!0;a=a.map.aa();Sf(a,1,-1);var b=this.j-1,c=a.Wa(),c=a.constrainRotation(c,0);bg(a,c,void 0,void 0);var c=a.Va(),d=this.u,c=a.constrainResolution(c,0,b);dg(a,c,void 0,d);this.j=0;return!1}function Fs(a){return ng(a)&&this.o(a)?(Sf(a.map.aa(),1,1),this.a=this.g=void 0,!0):!1};function Is(a,b,c,d){this.pa=a;this.Z=b;this.overlaps=d;this.c=0;this.resolution=c;this.S=this.ua=null;this.a=[];this.coordinates=[];this.fb=wh();this.b=[];this.ra=null;this.ja=wh();this.fa=wh()}u(Is,Rh);
562
- function Js(a,b,c,d,e,f,g){var h=a.coordinates.length,l=a.Hf();g&&(c+=e);g=[b[c],b[c+1]];var m=[NaN,NaN],n=!0,p,q,r;for(p=c+e;p<d;p+=e)m[0]=b[p],m[1]=b[p+1],r=Va(l,m),r!==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===r?(a.coordinates[h++]=m[0],a.coordinates[h++]=m[1],n=!1):n=!0,g[0]=m[0],g[1]=m[1],q=r;if(f&&n||p===c+e)a.coordinates[h++]=g[0],a.coordinates[h++]=g[1];return h}
563
- function Ks(a,b){a.ua=[0,b,0];a.a.push(a.ua);a.S=[0,b,0];a.b.push(a.S)}Is.prototype.Xa=function(a,b){if(this.ab){var c=Bh(this.fb,this.ab.slice());a.translate(c[0],c[1]);a.rotate(b)}a.fill();this.ab&&a.setTransform.apply(a,this.fa)};
564
- function Ls(a,b,c,d,e,f,g,h,l){var m;a.ra&&ja(d,a.fb)?m=a.ra:(a.ra||(a.ra=[]),m=ff(a.coordinates,0,a.coordinates.length,2,d,a.ra),Ah(a.fb,d));d=!tb(f);for(var n=0,p=g.length,q=0,r,v=a.ja,x=a.fa,y,z,A,Y,Qa=0,xa=0,Oa=a.a!=g||a.overlaps?0:200;n<p;){var C=g[n],Pa,Gb,aa,Ua;switch(C[0]){case 0:q=C[1];d&&f[w(q).toString()]||!q.V()?n=C[2]:void 0===l||nb(l,q.V().D())?++n:n=C[2]+1;break;case 1:Qa>Oa&&(a.Xa(b,e),Qa=0);xa>Oa&&(b.stroke(),xa=0);Qa||xa||(b.beginPath(),y=z=NaN);++n;break;case 2:q=C[1];r=m[q];C=
565
- m[q+1];A=m[q+2]-r;q=m[q+3]-C;q=Math.sqrt(A*A+q*q);b.moveTo(r+q,C);b.arc(r,C,q,0,2*Math.PI,!0);++n;break;case 3:b.closePath();++n;break;case 4:q=C[1];r=C[2];Pa=C[3];Gb=C[4]*c;aa=C[5]*c;var Mb=C[6],dc=C[7],dd=C[8],$d=C[9];Ua=C[10];A=C[11];Y=C[12];var Ke=C[13],ue=C[14];for(Ua&&(A+=e);q<r;q+=2){C=m[q]-Gb;Ua=m[q+1]-aa;Ke&&(C=Math.round(C),Ua=Math.round(Ua));if(1!=Y||A){var Wc=C+Gb,lh=Ua+aa;Fh(v,Wc,lh,Y,Y,A,-Wc,-lh);b.setTransform.apply(b,v)}Wc=b.globalAlpha;1!=dc&&(b.globalAlpha=Wc*dc);var lh=ue+dd>Pa.width?
566
- Pa.width-dd:ue,kq=Mb+$d>Pa.height?Pa.height-$d:Mb;b.drawImage(Pa,dd,$d,lh,kq,C,Ua,lh*c,kq*c);1!=dc&&(b.globalAlpha=Wc);(1!=Y||A)&&b.setTransform.apply(b,x)}++n;break;case 5:q=C[1];r=C[2];aa=C[3];Mb=C[4]*c;dc=C[5]*c;A=C[6];Y=C[7]*c;Pa=C[8];Gb=C[9];for((Ua=C[10])&&(A+=e);q<r;q+=2){C=m[q]+Mb;Ua=m[q+1]+dc;if(1!=Y||A)Fh(v,C,Ua,Y,Y,A,-C,-Ua),b.setTransform.apply(b,v);dd=aa.split("\n");$d=dd.length;1<$d?(Ke=Math.round(1.5*b.measureText("M").width),Ua-=($d-1)/2*Ke):Ke=0;for(ue=0;ue<$d;ue++)Wc=dd[ue],Gb&&
567
- b.strokeText(Wc,C,Ua),Pa&&b.fillText(Wc,C,Ua),Ua+=Ke;(1!=Y||A)&&b.setTransform.apply(b,x)}++n;break;case 6:if(h&&(q=C[1],q=h(q)))return q;++n;break;case 7:Oa?Qa++:a.Xa(b,e);++n;break;case 8:q=C[1];r=C[2];C=m[q];Ua=m[q+1];A=C+.5|0;Y=Ua+.5|0;if(A!==y||Y!==z)b.moveTo(C,Ua),y=A,z=Y;for(q+=2;q<r;q+=2)if(C=m[q],Ua=m[q+1],A=C+.5|0,Y=Ua+.5|0,q==r-2||A!==y||Y!==z)b.lineTo(C,Ua),y=A,z=Y;++n;break;case 9:a.ab=C[2];Qa&&(a.Xa(b,e),Qa=0,xa&&(b.stroke(),xa=0));b.fillStyle=C[1];++n;break;case 10:var q=void 0!==C[8]?
568
- C[8]:!0,el=C[9];r=C[2];xa&&(b.stroke(),xa=0);b.strokeStyle=C[1];b.lineWidth=q?r*c:r;b.lineCap=C[3];b.lineJoin=C[4];b.miterLimit=C[5];Nd&&(r=C[6],A=C[7],q&&c!==el&&(r=r.map(function(a){return a*c/el}),A*=c/el,C[6]=r,C[7]=A,C[9]=c),b.lineDashOffset=A,b.setLineDash(r));++n;break;case 11:b.font=C[1];b.textAlign=C[2];b.textBaseline=C[3];++n;break;case 12:Oa?xa++:b.stroke();++n;break;default:++n}}Qa&&a.Xa(b,e);xa&&b.stroke()}Is.prototype.i=function(a,b,c,d,e){Ls(this,a,b,c,d,e,this.a,void 0,void 0)};
569
- function Ms(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 Ns(a,b){a.ua[2]=a.a.length;a.ua=null;a.S[2]=a.b.length;a.S=null;var c=[6,b];a.a.push(c);a.b.push(c)}Is.prototype.Ke=oa;Is.prototype.Hf=function(){return this.Z};function Os(a,b,c,d){Is.call(this,a,b,c,d);this.N=this.T=null;this.G=this.C=this.A=this.u=this.I=this.v=this.o=this.j=this.l=this.g=this.f=void 0}u(Os,Is);
570
- Os.prototype.rc=function(a,b){if(this.N){Ks(this,b);var c=a.ia(),d=this.coordinates.length,c=Js(this,c,0,c.length,a.ta(),!1,!1);this.a.push([4,d,c,this.N,this.f,this.g,this.l,this.j,this.o,this.v,this.I,this.u,this.A,this.C,this.G]);this.b.push([4,d,c,this.T,this.f,this.g,this.l,this.j,this.o,this.v,this.I,this.u,this.A,this.C,this.G]);Ns(this,b)}};
571
- Os.prototype.pc=function(a,b){if(this.N){Ks(this,b);var c=a.ia(),d=this.coordinates.length,c=Js(this,c,0,c.length,a.ta(),!1,!1);this.a.push([4,d,c,this.N,this.f,this.g,this.l,this.j,this.o,this.v,this.I,this.u,this.A,this.C,this.G]);this.b.push([4,d,c,this.T,this.f,this.g,this.l,this.j,this.o,this.v,this.I,this.u,this.A,this.C,this.G]);Ns(this,b)}};Os.prototype.Ke=function(){Ms(this);this.g=this.f=void 0;this.N=this.T=null;this.G=this.C=this.u=this.I=this.v=this.o=this.j=this.A=this.l=void 0};
572
- Os.prototype.Wb=function(a){var b=a.Ic(),c=a.kc(),d=a.dg(1),e=a.$(1),f=a.Qc();this.f=b[0];this.g=b[1];this.T=d;this.N=e;this.l=c[1];this.j=a.g;this.o=f[0];this.v=f[1];this.I=a.o;this.u=a.l;this.A=a.c;this.C=a.v;this.G=c[0]};function Ps(a,b,c,d){Is.call(this,a,b,c,d);this.g=null;this.f={Ld:void 0,Fd:void 0,Gd:null,Hd:void 0,Id:void 0,Jd:void 0,Kd:void 0,Tf:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}u(Ps,Is);function Qs(a,b,c,d,e){var f=a.coordinates.length;b=Js(a,b,c,d,e,!1,!1);f=[8,f,b];a.a.push(f);a.b.push(f);return d}k=Ps.prototype;k.Hf=function(){this.g||(this.g=Ma(this.Z),0<this.c&&La(this.g,this.resolution*(this.c+1)/2,this.g));return this.g};
573
- function Rs(a){var b=a.f,c=b.strokeStyle,d=b.lineCap,e=b.lineDash,f=b.lineDashOffset,g=b.lineJoin,h=b.lineWidth,l=b.miterLimit;b.Ld==c&&b.Fd==d&&ja(b.Gd,e)&&b.Hd==f&&b.Id==g&&b.Jd==h&&b.Kd==l||(b.Tf!=a.coordinates.length&&(a.a.push([12]),b.Tf=a.coordinates.length),a.a.push([10,c,h,d,g,l,e,f,!0,1],[1]),b.Ld=c,b.Fd=d,b.Gd=e,b.Hd=f,b.Id=g,b.Jd=h,b.Kd=l)}
574
- k.Rb=function(a,b){var c=this.f,d=c.lineWidth;void 0!==c.strokeStyle&&void 0!==d&&(Rs(this),Ks(this,b),this.b.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset,!0,1],[1]),c=a.ia(),Qs(this,c,0,c.length,a.ta()),this.b.push([12]),Ns(this,b))};
575
- k.oc=function(a,b){var c=this.f,d=c.lineWidth;if(void 0!==c.strokeStyle&&void 0!==d){Rs(this);Ks(this,b);this.b.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset,!0,1],[1]);var c=a.Sb(),d=a.ia(),e=a.ta(),f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Qs(this,d,f,c[g],e);this.b.push([12]);Ns(this,b)}};k.Ke=function(){this.f.Tf!=this.coordinates.length&&this.a.push([12]);Ms(this);this.f=null};
576
- k.Oa=function(a,b){var c=b.a;this.f.strokeStyle=Xc(c?c:Ph);c=b.i;this.f.lineCap=void 0!==c?c:"round";c=b.f;this.f.lineDash=c?c:Oh;c=b.g;this.f.lineDashOffset=c?c:0;c=b.l;this.f.lineJoin=void 0!==c?c:"round";c=b.c;this.f.lineWidth=void 0!==c?c:1;c=b.j;this.f.miterLimit=void 0!==c?c:10;this.f.lineWidth>this.c&&(this.c=this.f.lineWidth,this.g=null)};function Ss(a,b,c,d){Is.call(this,a,b,c,d);this.g=null;this.f={Zg:void 0,Ld:void 0,Fd:void 0,Gd:null,Hd:void 0,Id:void 0,Jd:void 0,Kd:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineDashOffset:void 0,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}u(Ss,Is);
577
- function Ts(a,b,c,d,e){var f=a.f,g=void 0!==f.fillStyle,f=void 0!=f.strokeStyle,h=d.length,l=[1];a.a.push(l);a.b.push(l);for(l=0;l<h;++l){var m=d[l],n=a.coordinates.length;c=Js(a,b,c,m,e,!0,!f);c=[8,n,c];a.a.push(c);a.b.push(c);f&&(c=[3],a.a.push(c),a.b.push(c));c=m}b=[7];a.b.push(b);g&&a.a.push(b);f&&(g=[12],a.a.push(g),a.b.push(g));return c}k=Ss.prototype;
578
- k.ac=function(a,b){var c=this.f,d=c.strokeStyle;if(void 0!==c.fillStyle||void 0!==d){Us(this,a);Ks(this,b);this.b.push([9,Uc(Nh)]);void 0!==c.strokeStyle&&this.b.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset,!0,1]);var e=a.ia(),d=this.coordinates.length;Js(this,e,0,e.length,a.ta(),!1,!1);e=[1];d=[2,d];this.a.push(e,d);this.b.push(e,d);d=[7];this.b.push(d);void 0!==c.fillStyle&&this.a.push(d);void 0!==c.strokeStyle&&(c=[12],this.a.push(c),this.b.push(c));
579
- Ns(this,b)}};k.sc=function(a,b){var c=this.f;Us(this,a);Ks(this,b);this.b.push([9,Uc(Nh)]);void 0!==c.strokeStyle&&this.b.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset,!0,1]);var c=a.Sb(),d=a.gc();Ts(this,d,0,c,a.ta());Ns(this,b)};
580
- k.qc=function(a,b){var c=this.f,d=c.strokeStyle;if(void 0!==c.fillStyle||void 0!==d){Us(this,a);Ks(this,b);this.b.push([9,Uc(Nh)]);void 0!==c.strokeStyle&&this.b.push([10,c.strokeStyle,c.lineWidth,c.lineCap,c.lineJoin,c.miterLimit,c.lineDash,c.lineDashOffset,!0,1]);var c=a.c,d=ai(a),e=a.ta(),f=0,g,h;g=0;for(h=c.length;g<h;++g)f=Ts(this,d,f,c[g],e);Ns(this,b)}};k.Ke=function(){Ms(this);this.f=null;var a=this.pa;if(a){var b=this.coordinates,c,d;c=0;for(d=b.length;c<d;++c)b[c]=a*Math.round(b[c]/a)}};
581
- k.Hf=function(){this.g||(this.g=Ma(this.Z),0<this.c&&La(this.g,this.resolution*(this.c+1)/2,this.g));return this.g};
582
- k.Oa=function(a,b){var c=this.f;if(a){var d=a.b;c.fillStyle=Xc(d?d:Nh)}else c.fillStyle=void 0;b?(d=b.a,c.strokeStyle=Xc(d?d:Ph),d=b.i,c.lineCap=void 0!==d?d:"round",d=b.f,c.lineDash=d?d.slice():Oh,d=b.g,c.lineDashOffset=d?d:0,d=b.l,c.lineJoin=void 0!==d?d:"round",d=b.c,c.lineWidth=void 0!==d?d:1,d=b.j,c.miterLimit=void 0!==d?d:10,c.lineWidth>this.c&&(this.c=c.lineWidth,this.g=null)):(c.strokeStyle=void 0,c.lineCap=void 0,c.lineDash=null,c.lineDashOffset=void 0,c.lineJoin=void 0,c.lineWidth=void 0,
583
- c.miterLimit=void 0)};function Us(a,b){var c=a.f,d=c.fillStyle,e=c.strokeStyle,f=c.lineCap,g=c.lineDash,h=c.lineDashOffset,l=c.lineJoin,m=c.lineWidth,n=c.miterLimit;if(void 0!==d&&("string"!==typeof d||c.Zg!=d)){var p=[9,d];"string"!==typeof d&&(d=b.D(),p.push([d[0],d[3]]));a.a.push(p);c.Zg=c.fillStyle}void 0===e||c.Ld==e&&c.Fd==f&&ja(c.Gd,g)&&c.Hd==h&&c.Id==l&&c.Jd==m&&c.Kd==n||(a.a.push([10,e,m,f,l,n,g,h,!0,1]),c.Ld=e,c.Fd=f,c.Gd=g,c.Hd=h,c.Id=l,c.Jd=m,c.Kd=n)};function Vs(a,b,c,d){Is.call(this,a,b,c,d);this.G=this.C=this.A=null;this.Ga="";this.o=this.j=0;this.v=void 0;this.u=this.I=0;this.l=this.g=this.f=null}u(Vs,Is);
584
- Vs.prototype.yc=function(a,b,c,d,e,f){if(""!==this.Ga&&this.l&&(this.f||this.g)){if(this.f){e=this.f;var g=this.A;if(!g||g.fillStyle!=e.fillStyle){var h=[9,e.fillStyle];this.a.push(h);this.b.push(h);g?g.fillStyle=e.fillStyle:this.A={fillStyle:e.fillStyle}}}this.g&&(e=this.g,g=this.C,g&&g.lineCap==e.lineCap&&g.lineDash==e.lineDash&&g.lineDashOffset==e.lineDashOffset&&g.lineJoin==e.lineJoin&&g.lineWidth==e.lineWidth&&g.miterLimit==e.miterLimit&&g.strokeStyle==e.strokeStyle||(h=[10,e.strokeStyle,e.lineWidth,
585
- e.lineCap,e.lineJoin,e.miterLimit,e.lineDash,e.lineDashOffset,!1,1],this.a.push(h),this.b.push(h),g?(g.lineCap=e.lineCap,g.lineDash=e.lineDash,g.lineDashOffset=e.lineDashOffset,g.lineJoin=e.lineJoin,g.lineWidth=e.lineWidth,g.miterLimit=e.miterLimit,g.strokeStyle=e.strokeStyle):this.C={lineCap:e.lineCap,lineDash:e.lineDash,lineDashOffset:e.lineDashOffset,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle}));e=this.l;g=this.G;g&&g.font==e.font&&g.textAlign==
586
- e.textAlign&&g.textBaseline==e.textBaseline||(h=[11,e.font,e.textAlign,e.textBaseline],this.a.push(h),this.b.push(h),g?(g.font=e.font,g.textAlign=e.textAlign,g.textBaseline=e.textBaseline):this.G={font:e.font,textAlign:e.textAlign,textBaseline:e.textBaseline});Ks(this,f);e=this.coordinates.length;a=Js(this,a,b,c,d,!1,!1);a=[5,e,a,this.Ga,this.j,this.o,this.I,this.u,!!this.f,!!this.g,this.v];this.a.push(a);this.b.push(a);Ns(this,f)}};
587
- Vs.prototype.Ub=function(a){if(a){var b=a.Da();b?(b=b.b,b=Xc(b?b:Nh),this.f?this.f.fillStyle=b:this.f={fillStyle:b}):this.f=null;var c=a.Ea();if(c){var b=c.a,d=c.i,e=c.f,f=c.g,g=c.l,h=c.c,c=c.j,d=void 0!==d?d:"round",e=e?e.slice():Oh,f=void 0!==f?f:0,g=void 0!==g?g:"round",h=void 0!==h?h:1,c=void 0!==c?c:10,b=Xc(b?b:Ph);if(this.g){var l=this.g;l.lineCap=d;l.lineDash=e;l.lineDashOffset=f;l.lineJoin=g;l.lineWidth=h;l.miterLimit=c;l.strokeStyle=b}else this.g={lineCap:d,lineDash:e,lineDashOffset:f,lineJoin:g,
588
- lineWidth:h,miterLimit:c,strokeStyle:b}}else this.g=null;var m=a.a,b=a.f,d=a.c,e=a.j,h=a.i,c=a.b,f=a.Qa(),g=a.g,l=a.l;a=void 0!==m?m:"10px sans-serif";g=void 0!==g?g:"center";l=void 0!==l?l:"middle";this.l?(m=this.l,m.font=a,m.textAlign=g,m.textBaseline=l):this.l={font:a,textAlign:g,textBaseline:l};this.Ga=void 0!==f?f:"";this.j=void 0!==b?b:0;this.o=void 0!==d?d:0;this.v=void 0!==e?e:!1;this.I=void 0!==h?h:0;this.u=void 0!==c?c:1}else this.Ga=""};function Ws(a,b,c,d,e){this.I=a;this.c=b;this.o=d;this.v=c;this.g=e;this.a={};this.l=Zc(1,1);this.j=wh()}u(Ws,fi);var Xs={0:[[!0]]};function Ys(a,b,c){var d,e=Math.floor(a.length/2);if(b>=e)for(d=e;d<b;d++)a[d][c]=!0;else if(b<e)for(d=b+1;d<e;d++)a[d][c]=!0}
589
- function Zs(a){if(void 0!==Xs[a])return Xs[a];for(var b=2*a+1,c=Array(b),d=0;d<b;d++)c[d]=Array(b);for(var b=a,e=d=0;b>=d;)Ys(c,a+b,a+d),Ys(c,a+d,a+b),Ys(c,a-d,a+b),Ys(c,a-b,a+d),Ys(c,a-b,a-d),Ys(c,a-d,a-b),Ys(c,a+d,a-b),Ys(c,a+b,a-d),d++,e+=1+2*d,0<2*(e-b)+1&&(--b,e+=1-2*b);return Xs[a]=c}function $s(a){for(var b in a.a){var c=a.a[b],d;for(d in c)c[d].Ke()}}
590
- Ws.prototype.Ba=function(a,b,c,d,e,f){d=Math.round(d);var g=2*d+1,h=Fh(this.j,d+.5,d+.5,1/b,-1/b,-c,-a[0],-a[1]),l=this.l;l.canvas.width!==g||l.canvas.height!==g?(l.canvas.width=g,l.canvas.height=g):l.clearRect(0,0,g,g);var m;void 0!==this.g&&(m=Ja(),Ka(m,a),La(m,b*(this.g+d),m));var n=Zs(d);return at(this,l,h,c,e,function(a){for(var b=l.getImageData(0,0,g,g).data,c=0;c<g;c++)for(var d=0;d<g;d++)if(n[c][d]&&0<b[4*(d*g+c)+3]){if(a=f(a))return a;l.clearRect(0,0,g,g);return}},m)};
591
- function bt(a,b){var c=a.c,d=c[0],e=c[1],f=c[2],c=c[3],d=[d,e,d,c,f,c,f,e];ff(d,0,8,2,b,d);return d}Ws.prototype.b=function(a,b){var c=void 0!==a?a.toString():"0",d=this.a[c];void 0===d&&(d={},this.a[c]=d);c=d[b];void 0===c&&(c=new ct[b](this.I,this.c,this.v,this.o),d[b]=c);return c};Ws.prototype.f=function(){return tb(this.a)};
592
- Ws.prototype.i=function(a,b,c,d,e,f){var g=Object.keys(this.a).map(Number);g.sort(ea);var h=bt(this,c);a.save();a.beginPath();a.moveTo(h[0],h[1]);a.lineTo(h[2],h[3]);a.lineTo(h[4],h[5]);a.lineTo(h[6],h[7]);a.clip();f=f?f:ei;var l,m,n,p,q,h=0;for(l=g.length;h<l;++h)for(p=this.a[g[h].toString()],m=0,n=f.length;m<n;++m)q=p[f[m]],void 0!==q&&q.i(a,b,c,d,e);a.restore()};
593
- function at(a,b,c,d,e,f,g){var h=Object.keys(a.a).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.a[h[l].toString()],n=ei.length-1;0<=n;--n)if(q=p[ei[n]],void 0!==q&&(q=Ls(q,b,1,c,d,e,q.b,f,g)))return q}var ct={Circle:Ss,Image:Os,LineString:Ps,Polygon:Ss,Text:Vs};function dt(a){Gc.call(this);this.a=a}u(dt,Gc);dt.prototype.Ba=oa;dt.prototype.Le=df;dt.prototype.Df=function(a,b,c){return function(d,e){return et(a,b,d,e,function(a){c[d]||(c[d]={});c[d][a.Ha.toString()]=a})}};dt.prototype.fa=function(a){2===a.target.W()&&ft(this)};function gt(a,b){var c=b.W();2!=c&&3!=c&&B(b,"change",a.fa,a);0==c&&(b.load(),c=b.W());return 2==c}function ft(a){var b=a.a;b.Lb()&&"ready"==b.Of()&&a.s()}
594
- function ht(a,b){b.gi()&&a.postRenderFunctions.push(function(a,b,e){b=w(a).toString();a.hd(e.viewState.projection,e.usedTiles[b])}.bind(null,b))}function it(a,b){if(b){var c,d,e;d=0;for(e=b.length;d<e;++d)c=b[d],a[w(c).toString()]=c}}function jt(a,b){var c=b.S;void 0!==c&&("string"===typeof c?a.logos[c]="":c&&(ra("string"==typeof c.href,44),ra("string"==typeof c.src,45),a.logos[c.src]=c.href))}
595
- function kt(a,b,c,d){b=w(b).toString();c=c.toString();b in a?c in a[b]?(a=a[b][c],d.ea<a.ea&&(a.ea=d.ea),d.ca>a.ca&&(a.ca=d.ca),d.ga<a.ga&&(a.ga=d.ga),d.ka>a.ka&&(a.ka=d.ka)):a[b][c]=d:(a[b]={},a[b][c]=d)}
596
- function lt(a,b,c,d,e,f,g,h,l,m){var n=w(b).toString();n in a.wantedTiles||(a.wantedTiles[n]={});var p=a.wantedTiles[n];a=a.tileQueue;var q=c.minZoom,r,v,x,y,z,A;for(A=g;A>=q;--A)for(v=ec(c,f,A,v),x=c.Ma(A),y=v.ea;y<=v.ca;++y)for(z=v.ga;z<=v.ka;++z)g-A<=h?(r=b.Mc(A,y,z,d,e),0==r.W()&&(p[r.jb()]=!0,r.jb()in a.a||a.i([r,n,jc(c,r.Ha),x])),l&&l.call(m,r)):b.Fg(A,y,z,e)};function mt(a){dt.call(this,a);this.ja=wh()}u(mt,dt);function nt(a,b,c){var d=b.pixelRatio,e=b.size[0]*d,f=b.size[1]*d,g=b.viewState.rotation,h=fb(c),l=eb(c),m=db(c);c=cb(c);Bh(b.coordinateToPixelTransform,h);Bh(b.coordinateToPixelTransform,l);Bh(b.coordinateToPixelTransform,m);Bh(b.coordinateToPixelTransform,c);a.save();Qh(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();Qh(a,g,e/2,f/2)}
597
- function ot(a,b,c,d,e){var f=a.a;if(Fc(f,b)){var g=d.size[0]*d.pixelRatio,h=d.size[1]*d.pixelRatio,l=d.viewState.rotation;Qh(c,-l,g/2,h/2);a=e?e:pt(a,d,0);f.b(new Mh(b,new Sh(c,d.pixelRatio,d.extent,a,d.viewState.rotation),d,c,null));Qh(c,l,g/2,h/2)}}mt.prototype.v=function(a,b,c,d){if(this.Ba(a,b,0,cf,this))return c.call(d,this.a,null)};mt.prototype.Ve=function(a,b,c,d){ot(this,"postcompose",a,b,d)};
598
- function pt(a,b,c){var d=b.viewState,e=b.pixelRatio,f=e/d.resolution;return Fh(a.ja,e*b.size[0]/2,e*b.size[1]/2,f,-f,-d.rotation,-d.center[0]+c,-d.center[1])};function qt(a,b){return w(a)-w(b)}function rt(a,b){var c=.5*a/b;return c*c}function st(a,b,c,d,e,f){var g=!1,h,l;if(h=c.$())l=h.Pe(),2==l||3==l?h.Zi(e,f):(0==l&&h.load(),h.Ah(e,f),g=!0);if(e=(0,c.Sa)(b))d=e.Rd(d),(0,tt[d.U()])(a,d,c,b);return g}
599
- var tt={Point:function(a,b,c,d){var e=c.$();if(e){if(2!=e.Pe())return;var f=a.b(c.Aa(),"Image");f.Wb(e);f.rc(b,d)}if(e=c.Qa())a=a.b(c.Aa(),"Text"),a.Ub(e),a.yc(b.ia(),0,2,2,b,d)},LineString:function(a,b,c,d){var e=c.Ea();if(e){var f=a.b(c.Aa(),"LineString");f.Oa(null,e);f.Rb(b,d)}if(e=c.Qa())a=a.b(c.Aa(),"Text"),a.Ub(e),a.yc(Zh(b),0,2,2,b,d)},Polygon:function(a,b,c,d){var e=c.Da(),f=c.Ea();if(e||f){var g=a.b(c.Aa(),"Polygon");g.Oa(e,f);g.sc(b,d)}if(e=c.Qa())a=a.b(c.Aa(),"Text"),a.Ub(e),a.yc(Mf(b),
600
- 0,2,2,b,d)},MultiPoint:function(a,b,c,d){var e=c.$();if(e){if(2!=e.Pe())return;var f=a.b(c.Aa(),"Image");f.Wb(e);f.pc(b,d)}if(e=c.Qa())a=a.b(c.Aa(),"Text"),a.Ub(e),c=b.ia(),a.yc(c,0,c.length,b.ta(),b,d)},MultiLineString:function(a,b,c,d){var e=c.Ea();if(e){var f=a.b(c.Aa(),"LineString");f.Oa(null,e);f.oc(b,d)}if(e=c.Qa())a=a.b(c.Aa(),"Text"),a.Ub(e),c=$h(b),a.yc(c,0,c.length,2,b,d)},MultiPolygon:function(a,b,c,d){var e=c.Da(),f=c.Ea();if(f||e){var g=a.b(c.Aa(),"Polygon");g.Oa(e,f);g.qc(b,d)}if(e=
601
- c.Qa())a=a.b(c.Aa(),"Text"),a.Ub(e),c=bi(b),a.yc(c,0,c.length,2,b,d)},GeometryCollection:function(a,b,c,d){b=b.a;var e,f;e=0;for(f=b.length;e<f;++e)(0,tt[b[e].U()])(a,b[e],c,d)},Circle:function(a,b,c,d){var e=c.Da(),f=c.Ea();if(e||f){var g=a.b(c.Aa(),"Circle");g.Oa(e,f);g.ac(b,d)}if(e=c.Qa())a=a.b(c.Aa(),"Text"),a.Ub(e),a.yc(b.Ca(),0,2,2,b,d)}};function ut(a){mt.call(this,a);this.c=!1;this.u=-1;this.o=NaN;this.l=Ja();this.i=this.j=null;this.g=Zc()}u(ut,mt);
602
- ut.prototype.I=function(a,b,c){var d=a.extent,e=a.pixelRatio,f=b.Ee?a.skippedFeatureUids:{},g=a.viewState,h=g.projection,g=g.rotation,l=h.D(),m=this.a.ma(),n=pt(this,a,0);ot(this,"precompose",c,a,n);var p=b.extent,q=void 0!==p;q&&nt(c,a,p);if((p=this.i)&&!p.f()){var r=0,v=0,x;if(Fc(this.a,"render")){x=c.canvas.width;var y=c.canvas.height;if(g){var z=Math.round(Math.sqrt(x*x+y*y)),r=(z-x)/2,v=(z-y)/2;x=y=z}this.g.canvas.width=x;this.g.canvas.height=y;x=this.g}else x=c;y=x.globalAlpha;x.globalAlpha=
603
- b.opacity;x!=c&&x.translate(r,v);var z=a.size[0]*e,A=a.size[1]*e;Qh(x,-g,z/2,A/2);p.i(x,e,n,g,f);if(m.G&&h.a&&!Ta(l,d)){for(var h=d[0],m=ib(l),Y=0;h<l[0];)--Y,n=m*Y,n=pt(this,a,n),p.i(x,e,n,g,f),h+=m;Y=0;for(h=d[2];h>l[2];)++Y,n=m*Y,n=pt(this,a,n),p.i(x,e,n,g,f),h-=m;n=pt(this,a,0)}Qh(x,g,z/2,A/2);x!=c&&(ot(this,"render",x,a,n),c.drawImage(x.canvas,-r,-v),x.translate(-r,-v));x.globalAlpha=y}q&&c.restore();this.Ve(c,a,b,n)};
604
- ut.prototype.Ba=function(a,b,c,d,e){if(this.i){var f=this.a,g={};return this.i.Ba(a,b.viewState.resolution,b.viewState.rotation,c,{},function(a){var b=w(a).toString();if(!(b in g))return g[b]=!0,d.call(e,a,f)})}};ut.prototype.A=function(){ft(this)};
605
- ut.prototype.rd=function(a){function b(a){var b,d=a.Oc();d?b=d.call(a,m):(d=c.i)&&(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=st(q,a,b[e],rt(m,n),this.A,this)||d;else d=st(q,a,b,rt(m,n),this.A,this)||d;a=d}else a=!1;this.c=this.c||a}}var c=this.a,d=c.ma();it(a.attributions,d.l);jt(a,d);var e=a.viewHints[0],f=a.viewHints[1],g=c.fa,h=c.ja;if(!this.c&&!g&&e||!h&&f)return!0;var l=a.extent,h=a.viewState,e=h.projection,m=h.resolution,n=a.pixelRatio,f=c.f,p=c.c,g=c.get(vt);
606
- void 0===g&&(g=qt);l=La(l,p*m);p=h.projection.D();d.G&&h.projection.a&&!Ta(p,a.extent)&&(a=Math.max(ib(l)/2,ib(p)),l[0]=p[0]-a,l[2]=p[2]+a);if(!this.c&&this.o==m&&this.u==f&&this.j==g&&Ta(this.l,l))return!0;this.i=null;this.c=!1;var q=new Ws(.5*m/n,l,m,d.Ia,c.c);d.Vd(l,m,e);if(g){var r=[];d.bc(l,function(a){r.push(a)},this);r.sort(g);r.forEach(b,this)}else d.bc(l,b,this);$s(q);this.o=m;this.u=f;this.j=g;this.l=l;this.i=q;return!0};function wt(){this.b="precision mediump float;varying vec2 a;uniform float f;uniform sampler2D g;void main(void){vec4 texColor=texture2D(g,a);gl_FragColor.rgb=texColor.rgb;gl_FragColor.a=texColor.a*f;}"}u(wt,hi);var xt=new wt;function yt(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform mat4 d;uniform mat4 e;void main(void){gl_Position=e*vec4(b,0.,1.);a=(d*vec4(c,0.,1.)).st;}"}u(yt,ii);var zt=new yt;
607
- function At(a,b){this.f=a.getUniformLocation(b,"f");this.c=a.getUniformLocation(b,"e");this.g=a.getUniformLocation(b,"d");this.i=a.getUniformLocation(b,"g");this.b=a.getAttribLocation(b,"b");this.a=a.getAttribLocation(b,"c")};function Bt(a,b){dt.call(this,b);this.c=a;this.Z=new yi([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]);this.g=this.Gb=null;this.l=void 0;this.v=wh();this.u=wh();this.C=oi();this.I=null}u(Bt,dt);
608
- function Ct(a,b,c){var d=a.c.f;if(void 0===a.l||a.l!=c){b.postRenderFunctions.push(function(a,b,c){a.isContextLost()||(a.deleteFramebuffer(b),a.deleteTexture(c))}.bind(null,d,a.g,a.Gb));b=Li(d,c,c);var e=d.createFramebuffer();d.bindFramebuffer(36160,e);d.framebufferTexture2D(36160,36064,3553,b,0);a.Gb=b;a.g=e;a.l=c}else d.bindFramebuffer(36160,a.g)}
609
- Bt.prototype.bi=function(a,b,c){Dt(this,"precompose",c,a);ri(c,34962,this.Z);var d=c.b,e=Ci(c,xt,zt),f;this.I?f=this.I:this.I=f=new At(d,e);c.Sc(e)&&(d.enableVertexAttribArray(f.b),d.vertexAttribPointer(f.b,2,5126,!1,16,0),d.enableVertexAttribArray(f.a),d.vertexAttribPointer(f.a,2,5126,!1,16,8),d.uniform1i(f.i,0));d.uniformMatrix4fv(f.g,!1,pi(this.C,this.v));d.uniformMatrix4fv(f.c,!1,pi(this.C,this.u));d.uniform1f(f.f,b.opacity);d.bindTexture(3553,this.Gb);d.drawArrays(5,0,4);Dt(this,"postcompose",
610
- c,a)};function Dt(a,b,c,d){a=a.a;if(Fc(a,b)){var e=d.viewState;a.b(new Mh(b,new ik(c,e.center,e.resolution,e.rotation,d.size,d.extent,d.pixelRatio),d,null,c))}}Bt.prototype.ag=function(){this.g=this.Gb=null;this.l=void 0};function Et(a,b){Bt.call(this,a,b);this.o=!1;this.T=-1;this.S=NaN;this.A=Ja();this.j=this.i=this.G=null}u(Et,Bt);k=Et.prototype;k.bi=function(a,b,c){this.j=b;var d=a.viewState,e=this.i,f=a.size,g=a.pixelRatio,h=this.c.f;e&&!e.f()&&(h.enable(h.SCISSOR_TEST),h.scissor(0,0,f[0]*g,f[1]*g),e.i(c,d.center,d.resolution,d.rotation,f,g,b.opacity,b.Ee?a.skippedFeatureUids:{}),h.disable(h.SCISSOR_TEST))};k.sa=function(){var a=this.i;a&&(ck(a,this.c.i)(),this.i=null);Bt.prototype.sa.call(this)};
611
- k.Ba=function(a,b,c,d,e){if(this.i&&this.j){c=b.viewState;var f=this.a,g={};return this.i.Ba(a,this.c.i,c.center,c.resolution,c.rotation,b.size,b.pixelRatio,this.j.opacity,{},function(a){var b=w(a).toString();if(!(b in g))return g[b]=!0,d.call(e,a,f)})}};k.Le=function(a,b){if(this.i&&this.j){var c=b.viewState;return hk(this.i,a,this.c.i,c.resolution,c.rotation,b.pixelRatio,this.j.opacity,b.skippedFeatureUids)}return!1};
612
- k.$f=function(a,b,c,d){a=Bh(b.pixelToCoordinateTransform,a.slice());if(this.Le(a,b))return c.call(d,this.a,null)};k.ci=function(){ft(this)};
613
- k.bg=function(a,b,c){function d(a){var b,c=a.Oc();c?b=c.call(a,m):(c=e.i)&&(b=c(a,m));if(b){if(b){c=!1;if(Array.isArray(b))for(var d=b.length-1;0<=d;--d)c=st(q,a,b[d],rt(m,n),this.ci,this)||c;else c=st(q,a,b,rt(m,n),this.ci,this)||c;a=c}else a=!1;this.o=this.o||a}}var e=this.a;b=e.ma();it(a.attributions,b.l);jt(a,b);var f=a.viewHints[0],g=a.viewHints[1],h=e.fa,l=e.ja;if(!this.o&&!h&&f||!l&&g)return!0;var g=a.extent,h=a.viewState,f=h.projection,m=h.resolution,n=a.pixelRatio,h=e.f,p=e.c,l=e.get(vt);
614
- void 0===l&&(l=qt);g=La(g,p*m);if(!this.o&&this.S==m&&this.T==h&&this.G==l&&Ta(this.A,g))return!0;this.i&&a.postRenderFunctions.push(ck(this.i,c));this.o=!1;var q=new bk(.5*m/n,g,e.c);b.Vd(g,m,f);if(l){var r=[];b.bc(g,function(a){r.push(a)},this);r.sort(l);r.forEach(d,this)}else b.bc(g,d,this);dk(q,c);this.S=m;this.T=h;this.G=l;this.A=g;this.i=q;return!0};function S(a){a=a?a:{};var b=qb({},a);delete b.style;delete b.renderBuffer;delete b.updateWhileAnimating;delete b.updateWhileInteracting;rh.call(this,b);this.c=void 0!==a.renderBuffer?a.renderBuffer:100;this.A=null;this.i=void 0;this.g(a.style);this.fa=void 0!==a.updateWhileAnimating?a.updateWhileAnimating:!1;this.ja=void 0!==a.updateWhileInteracting?a.updateWhileInteracting:!1}u(S,rh);S.prototype.Ed=function(a){var b=null,c=a.U();"canvas"===c?b=new ut(this):"webgl"===c&&(b=new Et(a,this));return b};
615
- S.prototype.C=function(){return this.A};S.prototype.G=function(){return this.i};S.prototype.g=function(a){this.A=void 0!==a?a:dl;this.i=null===a?void 0:bl(this.A);this.s()};var vt="renderOrder";function Ft(){return[[-Infinity,-Infinity,Infinity,Infinity]]};function Gt(a){Ic.call(this);this.c=Fb(a.projection);this.l=Ht(a.attributions);this.S=a.logo;this.Ka=void 0!==a.state?a.state:"ready";this.G=void 0!==a.wrapX?a.wrapX:!1}u(Gt,Ic);function Ht(a){if("string"===typeof a)return[new oc({html:a})];if(a instanceof oc)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 oc({html:e}):e}return c}return null}k=Gt.prototype;k.Ba=oa;k.ya=function(){return this.l};k.xa=function(){return this.S};k.za=function(){return this.c};
616
- k.W=function(){return this.Ka};k.wa=function(){this.s()};k.va=function(a){this.l=Ht(a);this.s()};function It(a,b){a.Ka=b;a.s()};function T(a){a=a||{};Gt.call(this,{attributions:a.attributions,logo:a.logo,projection:void 0,state:"ready",wrapX:void 0!==a.wrapX?a.wrapX:!0});this.Z=oa;this.T=a.format;this.Ia=void 0==a.overlaps?!0:a.overlaps;this.fa=a.url;a.loader?this.Z=a.loader:void 0!==this.fa&&(ra(this.T,7),this.Z=Bl(this.fa,this.T));this.Cd=a.strategy?a.strategy:Ft;var b=void 0!==a.useSpatialIndex?a.useSpatialIndex:!0;this.a=b?new Ej:null;this.pa=new Ej;this.g={};this.j={};this.o={};this.v={};this.i=null;var c,d;a.features instanceof
617
- D?(c=a.features,d=c.a):Array.isArray(a.features)&&(d=a.features);b||c||(c=new D(d));d&&Jt(this,d);c&&Kt(this,c)}u(T,Gt);k=T.prototype;k.Ab=function(a){var b=w(a).toString();if(Lt(this,b,a)){Mt(this,b,a);var c=a.V();c?(b=c.D(),this.a&&this.a.Fa(b,a)):this.g[b]=a;this.b(new Nt("addfeature",a))}this.s()};function Mt(a,b,c){a.v[b]=[B(c,"change",a.ki,a),B(c,"propertychange",a.ki,a)]}
618
- function Lt(a,b,c){var d=!0,e=c.a;void 0!==e?e.toString()in a.j?d=!1:a.j[e.toString()]=c:(ra(!(b in a.o),30),a.o[b]=c);return d}k.ed=function(a){Jt(this,a);this.s()};function Jt(a,b){var c,d,e,f,g=[],h=[],l=[];d=0;for(e=b.length;d<e;d++)f=b[d],c=w(f).toString(),Lt(a,c,f)&&h.push(f);d=0;for(e=h.length;d<e;d++){f=h[d];c=w(f).toString();Mt(a,c,f);var m=f.V();m?(c=m.D(),g.push(c),l.push(f)):a.g[c]=f}a.a&&a.a.load(g,l);d=0;for(e=h.length;d<e;d++)a.b(new Nt("addfeature",h[d]))}
619
- function Kt(a,b){var c=!1;B(a,"addfeature",function(a){c||(c=!0,b.push(a.feature),c=!1)});B(a,"removefeature",function(a){c||(c=!0,b.remove(a.feature),c=!1)});B(b,"add",function(a){c||(c=!0,this.Ab(a.element),c=!1)},a);B(b,"remove",function(a){c||(c=!0,this.Eb(a.element),c=!1)},a);a.i=b}
620
- k.clear=function(a){if(a){for(var b in this.v)this.v[b].forEach(sc);this.i||(this.v={},this.j={},this.o={})}else if(this.a){this.a.forEach(this.vg,this);for(var c in this.g)this.vg(this.g[c])}this.i&&this.i.clear();this.a&&this.a.clear();this.pa.clear();this.g={};this.b(new Nt("clear"));this.s()};k.dh=function(a,b){if(this.a)return this.a.forEach(a,b);if(this.i)return this.i.forEach(a,b)};function Ot(a,b,c){a.bc([b[0],b[1],b[0],b[1]],function(a){if(a.V().tb(b))return c.call(void 0,a)})}
621
- k.bc=function(a,b,c){if(this.a)return Jj(this.a,a,b,c);if(this.i)return this.i.forEach(b,c)};k.eh=function(a,b,c){return this.bc(a,function(d){if(d.V().Ya(a)&&(d=b.call(c,d)))return d})};k.mh=function(){return this.i};k.Oe=function(){var a;this.i?a=this.i.a:this.a&&(a=Gj(this.a),tb(this.g)||ha(a,sb(this.g)));return a};k.lh=function(a){var b=[];Ot(this,a,function(a){b.push(a)});return b};k.If=function(a){return Hj(this.a,a)};
622
- k.hh=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:cf;Jj(this.a,h,function(a){if(l(a)){var b=a.V(),m=g;g=b.Hb(c,d,f,g);g<m&&(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.kh=function(a){a=this.j[a.toString()];return void 0!==a?a:null};k.ii=function(){return this.T};k.ji=function(){return this.fa};
623
- k.ki=function(a){a=a.target;var b=w(a).toString(),c=a.V();c?(c=c.D(),b in this.g?(delete this.g[b],this.a&&this.a.Fa(c,a)):this.a&&Fj(this.a,c,a)):b in this.g||(this.a&&this.a.remove(a),this.g[b]=a);c=a.a;void 0!==c?(c=c.toString(),b in this.o?(delete this.o[b],this.j[c]=a):this.j[c]!==a&&(Pt(this,a),this.j[c]=a)):b in this.o||(Pt(this,a),this.o[b]=a);this.s();this.b(new Nt("changefeature",a))};
624
- k.Vd=function(a,b,c){var d=this.pa;a=this.Cd(a,b);var e,f;e=0;for(f=a.length;e<f;++e){var g=a[e];Jj(d,g,function(a){return Ta(a.extent,g)})||(this.Z.call(this,g,b,c),d.Fa(g,{extent:g.slice()}))}};k.Eb=function(a){var b=w(a).toString();b in this.g?delete this.g[b]:this.a&&this.a.remove(a);this.vg(a);this.s()};k.vg=function(a){var b=w(a).toString();this.v[b].forEach(sc);delete this.v[b];var c=a.a;void 0!==c?delete this.j[c.toString()]:delete this.o[b];this.b(new Nt("removefeature",a))};
625
- function Pt(a,b){for(var c in a.j)if(a.j[c]===b){delete a.j[c];break}}function Nt(a,b){Cc.call(this,a);this.feature=b}u(Nt,Cc);function Qt(a){pg.call(this,{handleDownEvent:Rt,handleEvent:St,handleUpEvent:Tt});this.fa=null;this.u=!1;this.mb=a.source?a.source:null;this.Ia=a.features?a.features:null;this.bk=a.snapTolerance?a.snapTolerance:12;this.T=a.type;this.g=Ut(this.T);this.Ka=a.minPoints?a.minPoints:this.g===Vt?3:2;this.pa=a.maxPoints?a.maxPoints:Infinity;this.Cd=a.finishCondition?a.finishCondition:cf;var b=a.geometryFunction;if(!b)if("Circle"===this.T)b=function(a,b){var c=b?b:new is([NaN,NaN]);c.zg(a[0],Math.sqrt(Ze(a[0],
626
- a[1])));return c};else{var c,d=this.g;d===Wt?c=F:d===Xt?c=N:d===Vt&&(c=G);b=function(a,b){var e=b;e?d===Vt?e.qa([a[0].concat([a[0][0]])]):e.qa(a):e=new c(a);return e}}this.Sa=b;this.S=this.C=this.a=this.G=this.j=this.o=null;this.nb=a.clickTolerance?a.clickTolerance*a.clickTolerance:36;this.ja=new S({source:new T({useSpatialIndex:!1,wrapX:a.wrapX?a.wrapX:!1}),style:a.style?a.style:Yt()});this.Pa=a.geometryName;this.Zj=a.condition?a.condition:kg;this.sf=a.freehand?cf:a.freehandCondition?a.freehandCondition:
627
- lg;B(this,Kc("active"),this.bj,this)}u(Qt,pg);function Yt(){var a=fl();return function(b){return a[b.V().U()]}}k=Qt.prototype;k.setMap=function(a){pg.prototype.setMap.call(this,a);this.bj()};function St(a){this.u=this.g!==Wt&&this.sf(a);var b=!this.u;this.u&&"pointerdrag"===a.type&&null!==this.j?(Zt(this,a),b=!1):"pointermove"===a.type?b=$t(this,a):"dblclick"===a.type&&(b=!1);return qg.call(this,a)&&b}
628
- function Rt(a){return this.u?(this.fa=a.pixel,this.o||au(this,a),!0):this.Zj(a)?(this.fa=a.pixel,!0):!1}function Tt(a){var b=this.fa,c=a.pixel,d=b[0]-c[0],b=b[1]-c[1],d=d*d+b*b,b=!0,c=this.g===bu;(this.u?d>this.nb:d<=this.nb)?($t(this,a),this.o?this.u||c?this.Od():cu(this,a)?this.Cd(a)&&this.Od():Zt(this,a):(au(this,a),this.g===Wt&&this.Od()),b=!1):c&&(this.o=null);return b}
629
- function $t(a,b){if(a.o){var c=b.coordinate,d=a.j.V(),e;a.g===Wt?e=a.a:a.g===Vt?(e=a.a[0],e=e[e.length-1],cu(a,b)&&(c=a.o.slice())):(e=a.a,e=e[e.length-1]);e[0]=c[0];e[1]=c[1];a.Sa(a.a,d);a.G&&a.G.V().qa(c);d instanceof G&&a.g!==Vt?(a.C||(a.C=new I(new N(null))),d=d.oh(0),c=a.C.V(),c.da(d.la,d.ia())):a.S&&(c=a.C.V(),c.qa(a.S));du(a)}else c=b.coordinate.slice(),a.G?a.G.V().qa(c):(a.G=new I(new F(c)),du(a));return!0}
630
- function cu(a,b){var c=!1;if(a.j){var d=!1,e=[a.o];a.g===Xt?d=a.a.length>a.Ka:a.g===Vt&&(d=a.a[0].length>a.Ka,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.La(h),m=b.pixel,c=m[0]-l[0],l=m[1]-l[1];if(c=Math.sqrt(c*c+l*l)<=(a.u?1:a.bk)){a.o=h;break}}}return c}
631
- function au(a,b){var c=b.coordinate;a.o=c;a.g===Wt?a.a=c.slice():a.g===Vt?(a.a=[[c.slice(),c.slice()]],a.S=a.a[0]):(a.a=[c.slice(),c.slice()],a.g===bu&&(a.S=a.a));a.S&&(a.C=new I(new N(a.S)));c=a.Sa(a.a);a.j=new I;a.Pa&&a.j.Wc(a.Pa);a.j.Ta(c);du(a);a.b(new eu("drawstart",a.j))}
632
- function Zt(a,b){var c=b.coordinate,d=a.j.V(),e,f;a.g===Xt?(a.o=c.slice(),f=a.a,f.length>=a.pa&&(a.u?f.pop():e=!0),f.push(c.slice()),a.Sa(f,d)):a.g===Vt&&(f=a.a[0],f.length>=a.pa&&(a.u?f.pop():e=!0),f.push(c.slice()),e&&(a.o=f[0]),a.Sa(a.a,d));du(a);e&&a.Od()}k.ep=function(){var a=this.j.V(),b,c;this.g===Xt?(b=this.a,b.splice(-2,1),this.Sa(b,a)):this.g===Vt&&(b=this.a[0],b.splice(-2,1),c=this.C.V(),c.qa(b),this.Sa(this.a,a));0===b.length&&(this.o=null);du(this)};
633
- k.Od=function(){var a=fu(this),b=this.a,c=a.V();this.g===Xt?(b.pop(),this.Sa(b,c)):this.g===Vt&&(b[0].pop(),this.Sa(b,c),b=c.Y());"MultiPoint"===this.T?a.Ta(new P([b])):"MultiLineString"===this.T?a.Ta(new O([b])):"MultiPolygon"===this.T&&a.Ta(new Q([b]));this.b(new eu("drawend",a));this.Ia&&this.Ia.push(a);this.mb&&this.mb.Ab(a)};function fu(a){a.o=null;var b=a.j;b&&(a.j=null,a.G=null,a.C=null,a.ja.ma().clear(!0));return b}
634
- k.Pm=function(a){var b=a.V();this.j=a;this.a=b.Y();a=this.a[this.a.length-1];this.o=a.slice();this.a.push(a.slice());du(this);this.b(new eu("drawstart",this.j))};k.$c=df;function du(a){var b=[];a.j&&b.push(a.j);a.C&&b.push(a.C);a.G&&b.push(a.G);a=a.ja.ma();a.clear(!0);a.ed(b)}k.bj=function(){var a=this.v,b=this.c();a&&b||fu(this);this.ja.setMap(b?a:null)};
635
- function Ut(a){var b;"Point"===a||"MultiPoint"===a?b=Wt:"LineString"===a||"MultiLineString"===a?b=Xt:"Polygon"===a||"MultiPolygon"===a?b=Vt:"Circle"===a&&(b=bu);return b}var Wt="Point",Xt="LineString",Vt="Polygon",bu="Circle";function eu(a,b){Cc.call(this,a);this.feature=b}u(eu,Cc);function gu(a){this.a=this.j=null;this.C=!1;this.G=this.o=null;a||(a={});a.extent&&this.g(a.extent);pg.call(this,{handleDownEvent:hu,handleDragEvent:iu,handleEvent:ju,handleUpEvent:ku});this.u=new S({source:new T({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.boxStyle?a.boxStyle:lu(),updateWhileAnimating:!0,updateWhileInteracting:!0});this.S=new S({source:new T({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.pointerStyle?a.pointerStyle:mu(),updateWhileAnimating:!0,updateWhileInteracting:!0})}u(gu,pg);
636
- function ju(a){if(!(a instanceof Dd))return!0;if("pointermove"==a.type&&!this.A){var b=a.pixel,c=a.map,d=nu(this,b,c);d||(d=c.$a(b));ou(this,d)}qg.call(this,a);return!1}
637
- function hu(a){function b(a){var b=null,c=null;a[0]==e[0]?b=e[2]:a[0]==e[2]&&(b=e[0]);a[1]==e[1]?c=e[3]:a[1]==e[3]&&(c=e[1]);return null!==b&&null!==c?[b,c]:null}var c=a.pixel,d=a.map,e=this.D();(a=nu(this,c,d))&&e?(c=a[0]==e[0]||a[0]==e[2]?a[0]:null,d=a[1]==e[1]||a[1]==e[3]?a[1]:null,null!==c&&null!==d?this.a=pu(b(a)):null!==c?this.a=qu(b([c,e[1]]),b([c,e[3]])):null!==d&&(this.a=qu(b([e[0],d]),b([e[2],d])))):(a=d.$a(c),this.g([a[0],a[1],a[0],a[1]]),this.a=pu(a));return!0}
638
- function iu(a){this.a&&(a=a.coordinate,this.g(this.a(a)),ou(this,a));return!0}function ku(){this.a=null;var a=this.D();a&&gb(a)||this.g(null);return!1}function lu(){var a=fl();return function(){return a.Polygon}}function mu(){var a=fl();return function(){return a.Point}}function pu(a){return function(b){return Ia([a,b])}}function qu(a,b){return a[0]==b[0]?function(c){return Ia([a,[c[0],b[1]]])}:a[1]==b[1]?function(c){return Ia([a,[b[0],c[1]]])}:null}
639
- function nu(a,b,c){function d(a,b){return af(e,a)-af(e,b)}var e=c.$a(b),f=a.D();if(f){f=[[[f[0],f[1]],[f[0],f[3]]],[[f[0],f[3]],[f[2],f[3]]],[[f[2],f[3]],[f[2],f[1]]],[[f[2],f[1]],[f[0],f[1]]]];f.sort(d);var f=f[0],g=Te(e,f),h=c.La(g);if(10>=Math.sqrt(Ze(b,h)))return b=c.La(f[0]),c=c.La(f[1]),b=Ze(h,b),c=Ze(h,c),a.C=10>=Math.sqrt(Math.min(b,c)),a.C&&(g=b>c?f[1]:f[0]),g}return null}function ou(a,b){var c=a.G;c?c.V().qa(b):(c=new I(new F(b)),a.G=c,a.S.ma().Ab(c))}
640
- gu.prototype.setMap=function(a){this.u.setMap(a);this.S.setMap(a);pg.prototype.setMap.call(this,a)};gu.prototype.D=function(){return this.j};gu.prototype.g=function(a){this.j=a?a:null;var b=this.o;b?a?b.Ta(Of(a)):b.Ta(void 0):(this.o=b=a?new I(Of(a)):new I({}),this.u.ma().Ab(b));this.b(new ru(this.j))};function ru(a){Cc.call(this,su);this.b=a}u(ru,Cc);var su="extentchanged";function tu(a){pg.call(this,{handleDownEvent:uu,handleDragEvent:vu,handleEvent:wu,handleUpEvent:xu});this.nb=a.condition?a.condition:og;this.Pa=function(a){return kg(a)&&jg(a)};this.mb=a.deleteCondition?a.deleteCondition:this.Pa;this.Ia=this.g=null;this.Ka=[0,0];this.C=this.S=!1;this.a=new Ej;this.ja=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.o=this.pa=!1;this.j=[];this.G=new S({source:new T({useSpatialIndex:!1,wrapX:!!a.wrapX}),style:a.style?a.style:yu(),updateWhileAnimating:!0,updateWhileInteracting:!0});
641
- this.fa={Point:this.Wm,LineString:this.Ph,LinearRing:this.Ph,Polygon:this.Xm,MultiPoint:this.Um,MultiLineString:this.Tm,MultiPolygon:this.Vm,Circle:this.Jp,GeometryCollection:this.Sm};this.u=a.features;this.u.forEach(this.Zf,this);B(this.u,"add",this.Qm,this);B(this.u,"remove",this.Rm,this);this.T=null}u(tu,pg);k=tu.prototype;k.Zf=function(a){var b=a.V();b&&b.U()in this.fa&&this.fa[b.U()].call(this,a,b);(b=this.v)&&b.a&&this.c()&&zu(this,this.Ka,b);B(a,"change",this.Oh,this)};
642
- function Au(a,b){a.C||(a.C=!0,a.b(new Bu("modifystart",a.u,b)))}function Cu(a,b){Du(a,b);a.g&&!a.u.fc()&&(a.G.ma().Eb(a.g),a.g=null);yc(b,"change",a.Oh,a)}function Du(a,b){var c=a.a,d=[];c.forEach(function(a){b===a.feature&&d.push(a)});for(var e=d.length-1;0<=e;--e)c.remove(d[e])}k.Ja=function(a){this.g&&!a&&(this.G.ma().Eb(this.g),this.g=null);pg.prototype.Ja.call(this,a)};k.setMap=function(a){this.G.setMap(a);pg.prototype.setMap.call(this,a)};k.Qm=function(a){this.Zf(a.element)};
643
- k.Oh=function(a){this.o||(a=a.target,Cu(this,a),this.Zf(a))};k.Rm=function(a){Cu(this,a.element)};k.Wm=function(a,b){var c=b.Y(),c={feature:a,geometry:b,oa:[c,c]};this.a.Fa(b.D(),c)};k.Um=function(a,b){var c=b.Y(),d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],d={feature:a,geometry:b,depth:[e],index:e,oa:[d,d]},this.a.Fa(b.D(),d)};k.Ph=function(a,b){var c=b.Y(),d,e,f,g;d=0;for(e=c.length-1;d<e;++d)f=c.slice(d,d+2),g={feature:a,geometry:b,index:d,oa:f},this.a.Fa(Ia(f),g)};
644
- k.Tm=function(a,b){var c=b.Y(),d,e,f,g,h,l,m;g=0;for(h=c.length;g<h;++g)for(d=c[g],e=0,f=d.length-1;e<f;++e)l=d.slice(e,e+2),m={feature:a,geometry:b,depth:[g],index:e,oa:l},this.a.Fa(Ia(l),m)};k.Xm=function(a,b){var c=b.Y(),d,e,f,g,h,l,m;g=0;for(h=c.length;g<h;++g)for(d=c[g],e=0,f=d.length-1;e<f;++e)l=d.slice(e,e+2),m={feature:a,geometry:b,depth:[g],index:e,oa:l},this.a.Fa(Ia(l),m)};
645
- k.Vm=function(a,b){var c=b.Y(),d,e,f,g,h,l,m,n,p,q;l=0;for(m=c.length;l<m;++l)for(n=c[l],g=0,h=n.length;g<h;++g)for(d=n[g],e=0,f=d.length-1;e<f;++e)p=d.slice(e,e+2),q={feature:a,geometry:b,depth:[g,l],index:e,oa:p},this.a.Fa(Ia(p),q)};k.Jp=function(a,b){var c=b.Ca(),d={feature:a,geometry:b,index:0,oa:[c,c]},e={feature:a,geometry:b,index:1,oa:[c,c]};d.Ff=e.Ff=[d,e];this.a.Fa(Xa(c),d);this.a.Fa(b.D(),e)};k.Sm=function(a,b){var c,d=b.a;for(c=0;c<d.length;++c)this.fa[d[c].U()].call(this,a,d[c])};
646
- function Eu(a,b){var c=a.g;c?c.V().qa(b):(c=new I(new F(b)),a.g=c,a.G.ma().Ab(c))}function Fu(a,b){return a.index-b.index}
647
- function uu(a){if(!this.nb(a))return!1;zu(this,a.pixel,a.map);this.j.length=0;this.C=!1;var b=this.g;if(b){var c=[],b=b.V().Y(),d=Ia([b]),d=Hj(this.a,d),e={};d.sort(Fu);for(var f=0,g=d.length;f<g;++f){var h=d[f],l=h.oa,m=w(h.feature),n=h.depth;n&&(m+="-"+n.join("-"));e[m]||(e[m]=Array(2));if("Circle"===h.geometry.U()&&1===h.index)l=Gu(b,h),We(l,b)&&!e[m][0]&&(this.j.push([h,0]),e[m][0]=h);else if(We(l[0],b)&&!e[m][0])this.j.push([h,0]),e[m][0]=h;else if(We(l[1],b)&&!e[m][1]){if("LineString"!==h.geometry.U()&&
648
- "MultiLineString"!==h.geometry.U()||!e[m][0]||0!==e[m][0].index)this.j.push([h,1]),e[m][1]=h}else w(l)in this.Ia&&!e[m][0]&&!e[m][1]&&c.push([h,b])}c.length&&Au(this,a);for(a=c.length-1;0<=a;--a)this.Jl.apply(this,c[a])}return!!this.g}
649
- function vu(a){this.S=!1;Au(this,a);a=a.coordinate;for(var b=0,c=this.j.length;b<c;++b){for(var d=this.j[b],e=d[0],f=e.depth,g=e.geometry,h,l=e.oa,d=d[1];a.length<g.ta();)a.push(l[d][a.length]);switch(g.U()){case "Point":h=a;l[0]=l[1]=a;break;case "MultiPoint":h=g.Y();h[e.index]=a;l[0]=l[1]=a;break;case "LineString":h=g.Y();h[e.index+d]=a;l[d]=a;break;case "MultiLineString":h=g.Y();h[f[0]][e.index+d]=a;l[d]=a;break;case "Polygon":h=g.Y();h[f[0]][e.index+d]=a;l[d]=a;break;case "MultiPolygon":h=g.Y();
650
- h[f[1]][f[0]][e.index+d]=a;l[d]=a;break;case "Circle":l[0]=l[1]=a,0===e.index?(this.o=!0,g.xb(a)):(this.o=!0,g.Xc($e(g.Ca(),a))),this.o=!1}h&&(e=g,f=h,this.o=!0,e.qa(f),this.o=!1)}Eu(this,a)}function xu(a){for(var b,c,d=this.j.length-1;0<=d;--d)if(b=this.j[d][0],c=b.geometry,"Circle"===c.U()){var e=c.Ca(),f=b.Ff[0];b=b.Ff[1];f.oa[0]=f.oa[1]=e;b.oa[0]=b.oa[1]=e;Fj(this.a,Xa(e),f);Fj(this.a,c.D(),b)}else Fj(this.a,Ia(b.oa),b);this.C&&(this.b(new Bu("modifyend",this.u,a)),this.C=!1);return!1}
651
- function wu(a){if(!(a instanceof Dd))return!0;this.T=a;var b;nd(a.map.aa())[1]||"pointermove"!=a.type||this.A||(this.Ka=a.pixel,zu(this,a.pixel,a.map));this.g&&this.mb(a)&&(b="singleclick"==a.type&&this.S?!0:this.Di());"singleclick"==a.type&&(this.S=!1);return qg.call(this,a)&&!b}
652
- function zu(a,b,c){function d(a,b){return Hu(e,a)-Hu(e,b)}var e=c.$a(b),f=La(Xa(e),c.aa().Va()*a.ja),f=Hj(a.a,f);if(0<f.length){f.sort(d);var g=f[0],h=g.oa,l=Gu(e,g),m=c.La(l),n=$e(b,m);if(n<=a.ja){b={};if("Circle"===g.geometry.U()&&1===g.index)a.pa=!0,Eu(a,l);else for(n=c.La(h[0]),g=c.La(h[1]),c=Ze(m,n),m=Ze(m,g),n=Math.sqrt(Math.min(c,m)),a.pa=n<=a.ja,a.pa&&(l=c>m?h[1]:h[0]),Eu(a,l),m=1,c=f.length;m<c;++m)if(l=f[m].oa,We(h[0],l[0])&&We(h[1],l[1])||We(h[0],l[1])&&We(h[1],l[0]))b[w(l)]=!0;else break;
653
- b[w(h)]=!0;a.Ia=b;return}}a.g&&(a.G.ma().Eb(a.g),a.g=null)}function Hu(a,b){var c=b.geometry;if("Circle"===c.U()&&1===b.index){var d=Ze(c.Ca(),a),c=Math.sqrt(d)-c.Wd();return c*c}return af(a,b.oa)}function Gu(a,b){var c=b.geometry;return"Circle"===c.U()&&1===b.index?c.Bb(a):Te(a,b.oa)}
654
- k.Jl=function(a,b){for(var c=a.oa,d=a.feature,e=a.geometry,f=a.depth,g=a.index,h;b.length<e.ta();)b.push(0);switch(e.U()){case "MultiLineString":h=e.Y();h[f[0]].splice(g+1,0,b);break;case "Polygon":h=e.Y();h[f[0]].splice(g+1,0,b);break;case "MultiPolygon":h=e.Y();h[f[1]][f[0]].splice(g+1,0,b);break;case "LineString":h=e.Y();h.splice(g+1,0,b);break;default:return}this.o=!0;e.qa(h);this.o=!1;h=this.a;h.remove(a);Iu(this,e,g,f,1);var l={oa:[c[0],b],feature:d,geometry:e,depth:f,index:g};h.Fa(Ia(l.oa),
655
- l);this.j.push([l,1]);c={oa:[b,c[1]],feature:d,geometry:e,depth:f,index:g+1};h.Fa(Ia(c.oa),c);this.j.push([c,0]);this.S=!0};
656
- k.Di=function(){if(this.T&&"pointerdrag"!=this.T.type){var a=this.T;Au(this,a);var b=this.j,c={},d,e,f,g,h,l,m,n,p;for(h=b.length-1;0<=h;--h)g=b[h],n=g[0],p=w(n.feature),n.depth&&(p+="-"+n.depth.join("-")),p in c||(c[p]={}),0===g[1]?(c[p].right=n,c[p].index=n.index):1==g[1]&&(c[p].left=n,c[p].index=n.index+1);for(p in c){m=c[p].right;h=c[p].left;g=c[p].index;l=g-1;n=void 0!==h?h:m;0>l&&(l=0);b=n.geometry;e=f=b.Y();d=!1;switch(b.U()){case "MultiLineString":2<f[n.depth[0]].length&&(f[n.depth[0]].splice(g,
657
- 1),d=!0);break;case "LineString":2<f.length&&(f.splice(g,1),d=!0);break;case "MultiPolygon":e=e[n.depth[1]];case "Polygon":e=e[n.depth[0]],4<e.length&&(g==e.length-1&&(g=0),e.splice(g,1),d=!0,0===g&&(e.pop(),e.push(e[0]),l=e.length-1))}d&&(d=b,this.o=!0,d.qa(f),this.o=!1,f=[],void 0!==h&&(this.a.remove(h),f.push(h.oa[0])),void 0!==m&&(this.a.remove(m),f.push(m.oa[1])),void 0!==h&&void 0!==m&&(h={depth:n.depth,feature:n.feature,geometry:n.geometry,index:l,oa:f},this.a.Fa(Ia(h.oa),h)),Iu(this,b,g,n.depth,
658
- -1),this.g&&(this.G.ma().Eb(this.g),this.g=null))}this.b(new Bu("modifyend",this.u,a));this.C=!1;return!0}return!1};function Iu(a,b,c,d,e){Jj(a.a,b.D(),function(a){a.geometry===b&&(void 0===d||void 0===a.depth||ja(a.depth,d))&&a.index>c&&(a.index+=e)})}function yu(){var a=fl();return function(){return a.Point}}function Bu(a,b,c){Cc.call(this,a);this.features=b;this.mapBrowserEvent=c}u(Bu,Cc);function Ju(a){ag.call(this,{handleEvent:Ku});a=a?a:{};this.C=a.condition?a.condition:jg;this.A=a.addCondition?a.addCondition:df;this.G=a.removeCondition?a.removeCondition:df;this.S=a.toggleCondition?a.toggleCondition:lg;this.o=a.multi?a.multi:!1;this.j=a.filter?a.filter:cf;this.l=a.hitTolerance?a.hitTolerance:0;this.g=new S({source:new T({useSpatialIndex:!1,features:a.features,wrapX:a.wrapX}),style:a.style?a.style:Lu(),updateWhileAnimating:!0,updateWhileInteracting:!0});if(a.layers)if("function"===
659
- typeof a.layers)a=a.layers;else{var b=a.layers;a=function(a){return fa(b,a)}}else a=cf;this.u=a;this.a={};a=this.g.ma().i;B(a,"add",this.Ym,this);B(a,"remove",this.bn,this)}u(Ju,ag);k=Ju.prototype;k.Zm=function(){return this.g.ma().i};k.$m=function(){return this.l};k.an=function(a){a=w(a);return this.a[a]};
660
- function Ku(a){if(!this.C(a))return!0;var b=this.A(a),c=this.G(a),d=this.S(a),e=!b&&!c&&!d,f=a.map,g=this.g.ma().i,h=[],l=[];if(e){rb(this.a);f.se(a.pixel,function(a,b){if(this.j(a,b)){l.push(a);var c=w(a);this.a[c]=b;return!this.o}}.bind(this),{layerFilter:this.u,hitTolerance:this.l});for(e=g.fc()-1;0<=e;--e){var f=g.item(e),m=l.indexOf(f);-1<m?l.splice(m,1):(g.remove(f),h.push(f))}l.length&&g.Uf(l)}else{f.se(a.pixel,function(a,e){if(this.j(a,e)){if(!b&&!d||fa(g.a,a))(c||d)&&fa(g.a,a)&&(h.push(a),
661
- f=w(a),delete this.a[f]);else{l.push(a);var f=w(a);this.a[f]=e}return!this.o}}.bind(this),{layerFilter:this.u,hitTolerance:this.l});for(e=h.length-1;0<=e;--e)g.remove(h[e]);g.Uf(l)}(0<l.length||0<h.length)&&this.b(new Mu(Nu,l,h,a));return ig(a)}k.cn=function(a){this.l=a};k.setMap=function(a){var b=this.v,c=this.g.ma().i;b&&c.forEach(b.$i,b);ag.prototype.setMap.call(this,a);this.g.setMap(a);a&&c.forEach(a.Ui,a)};
662
- function Lu(){var a=fl();ha(a.Polygon,a.LineString);ha(a.GeometryCollection,a.LineString);return function(b){return b.V()?a[b.V().U()]:null}}k.Ym=function(a){var b=this.v;b&&b.Ui(a.element)};k.bn=function(a){var b=this.v;b&&b.$i(a.element)};function Mu(a,b,c,d){Cc.call(this,a);this.selected=b;this.deselected=c;this.mapBrowserEvent=d}u(Mu,Cc);var Nu="select";function Ou(a){pg.call(this,{handleEvent:Pu,handleDownEvent:cf,handleUpEvent:Qu});a=a?a:{};this.o=a.source?a.source:null;this.ja=void 0!==a.vertex?a.vertex:!0;this.S=void 0!==a.edge?a.edge:!0;this.j=a.features?a.features:null;this.pa=[];this.C={};this.T={};this.u={};this.G=null;this.g=void 0!==a.pixelTolerance?a.pixelTolerance:10;this.Ka=Ru.bind(this);this.a=new Ej;this.fa={Point:this.jn,LineString:this.Sh,LinearRing:this.Sh,Polygon:this.kn,MultiPoint:this.gn,MultiLineString:this.fn,MultiPolygon:this.hn,
663
- GeometryCollection:this.en}}u(Ou,pg);k=Ou.prototype;k.Ab=function(a,b){var c=void 0!==b?b:!0,d=w(a),e=a.V();if(e){var f=this.fa[e.U()];f&&(this.T[d]=e.D(Ja()),f.call(this,a,e))}c&&(this.C[d]=B(a,"change",this.dn,this))};k.fk=function(a){this.Ab(a)};k.gk=function(a){this.Eb(a)};k.Qh=function(a){var b;a instanceof Nt?b=a.feature:a instanceof Pc&&(b=a.element);this.Ab(b)};k.Rh=function(a){var b;a instanceof Nt?b=a.feature:a instanceof Pc&&(b=a.element);this.Eb(b)};
664
- k.dn=function(a){a=a.target;if(this.A){var b=w(a);b in this.u||(this.u[b]=a)}else this.aj(a)};k.Eb=function(a,b){var c=void 0!==b?b:!0,d=w(a),e=this.T[d];if(e){var f=this.a,g=[];Jj(f,e,function(b){a===b.feature&&g.push(b)});for(e=g.length-1;0<=e;--e)f.remove(g[e])}c&&(sc(this.C[d]),delete this.C[d])};
665
- k.setMap=function(a){var b=this.v,c=this.pa,d;this.j?d=this.j:this.o&&(d=this.o.Oe());b&&(c.forEach(sc),c.length=0,d.forEach(this.gk,this));pg.prototype.setMap.call(this,a);a&&(this.j?c.push(B(this.j,"add",this.Qh,this),B(this.j,"remove",this.Rh,this)):this.o&&c.push(B(this.o,"addfeature",this.Qh,this),B(this.o,"removefeature",this.Rh,this)),d.forEach(this.fk,this))};k.$c=df;k.aj=function(a){this.Eb(a,!1);this.Ab(a,!1)};
666
- k.en=function(a,b){var c,d=b.a;for(c=0;c<d.length;++c)this.fa[d[c].U()].call(this,a,d[c])};k.Sh=function(a,b){var c=b.Y(),d,e,f,g;d=0;for(e=c.length-1;d<e;++d)f=c.slice(d,d+2),g={feature:a,oa:f},this.a.Fa(Ia(f),g)};k.fn=function(a,b){var c=b.Y(),d,e,f,g,h,l,m;g=0;for(h=c.length;g<h;++g)for(d=c[g],e=0,f=d.length-1;e<f;++e)l=d.slice(e,e+2),m={feature:a,oa:l},this.a.Fa(Ia(l),m)};k.gn=function(a,b){var c=b.Y(),d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],d={feature:a,oa:[d,d]},this.a.Fa(b.D(),d)};
667
- k.hn=function(a,b){var c=b.Y(),d,e,f,g,h,l,m,n,p,q;l=0;for(m=c.length;l<m;++l)for(n=c[l],g=0,h=n.length;g<h;++g)for(d=n[g],e=0,f=d.length-1;e<f;++e)p=d.slice(e,e+2),q={feature:a,oa:p},this.a.Fa(Ia(p),q)};k.jn=function(a,b){var c=b.Y(),c={feature:a,oa:[c,c]};this.a.Fa(b.D(),c)};k.kn=function(a,b){var c=b.Y(),d,e,f,g,h,l,m;g=0;for(h=c.length;g<h;++g)for(d=c[g],e=0,f=d.length-1;e<f;++e)l=d.slice(e,e+2),m={feature:a,oa:l},this.a.Fa(Ia(l),m)};
668
- function Pu(a){var b,c,d=a.pixel,e=a.coordinate;b=a.map;var f=b.$a([d[0]-this.g,d[1]+this.g]);c=b.$a([d[0]+this.g,d[1]-this.g]);var f=Ia([f,c]),g=Hj(this.a,f),h,f=!1,l=null;c=null;if(0<g.length){this.G=e;g.sort(this.Ka);g=g[0].oa;if(this.ja&&!this.S){if(e=b.La(g[0]),h=b.La(g[1]),e=Ze(d,e),d=Ze(d,h),h=Math.sqrt(Math.min(e,d)),h=h<=this.g)f=!0,l=e>d?g[1]:g[0],c=b.La(l)}else this.S&&(l=Te(e,g),c=b.La(l),Math.sqrt(Ze(d,c))<=this.g&&(f=!0,this.ja&&(e=b.La(g[0]),h=b.La(g[1]),e=Ze(c,e),d=Ze(c,h),h=Math.sqrt(Math.min(e,
669
- d)),h=h<=this.g)))&&(l=e>d?g[1]:g[0],c=b.La(l));f&&(c=[Math.round(c[0]),Math.round(c[1])])}b=l;f&&(a.coordinate=b.slice(0,2),a.pixel=c);return qg.call(this,a)}function Qu(){var a=sb(this.u);a.length&&(a.forEach(this.aj,this),this.u={});return!1}function Ru(a,b){return af(this.G,a.oa)-af(this.G,b.oa)};function Su(a){pg.call(this,{handleDownEvent:Tu,handleDragEvent:Uu,handleMoveEvent:Vu,handleUpEvent:Wu});a=a?a:{};this.g=void 0;this.a=null;this.o=void 0!==a.features?a.features:null;var b;if(a.layers)if("function"===typeof a.layers)b=a.layers;else{var c=a.layers;b=function(a){return fa(c,a)}}else b=cf;this.C=b;this.u=a.hitTolerance?a.hitTolerance:0;this.j=null}u(Su,pg);
670
- function Tu(a){this.j=Xu(this,a.pixel,a.map);if(!this.a&&this.j){this.a=a.coordinate;Vu.call(this,a);var b=this.o||new D([this.j]);this.b(new Yu("translatestart",b,a.coordinate));return!0}return!1}function Wu(a){if(this.a){this.a=null;Vu.call(this,a);var b=this.o||new D([this.j]);this.b(new Yu("translateend",b,a.coordinate));return!0}return!1}
671
- function Uu(a){if(this.a){a=a.coordinate;var b=a[0]-this.a[0],c=a[1]-this.a[1],d=this.o||new D([this.j]);d.forEach(function(a){var d=a.V();d.translate(b,c);a.Ta(d)});this.a=a;this.b(new Yu("translating",d,a))}}function Vu(a){var b=a.map.Lc();Xu(this,a.pixel,a.map)?(this.g=void 0!==this.g?this.g:b.style.cursor,b.style.cursor=this.a?"-webkit-grabbing":"-webkit-grab",b.style.cursor=this.a?"grabbing":"grab"):void 0!==this.g&&(b.style.cursor=this.g,this.g=void 0)}
672
- function Xu(a,b,c){return c.se(b,function(a){if(!this.o||fa(this.o.a,a))return a}.bind(a),{layerFilter:a.C,hitTolerance:a.u})}Su.prototype.G=function(){return this.u};Su.prototype.S=function(a){this.u=a};function Yu(a,b,c){Cc.call(this,a);this.features=b;this.coordinate=c}u(Yu,Cc);function U(a){a=a?a:{};var b=qb({},a);delete b.gradient;delete b.radius;delete b.blur;delete b.shadow;delete b.weight;S.call(this,b);this.l=null;this.Z=void 0!==a.shadow?a.shadow:250;this.T=void 0;this.S=null;B(this,Kc(Zu),this.il,this);this.Li(a.gradient?a.gradient:$u);this.Fi(void 0!==a.blur?a.blur:15);this.Xc(void 0!==a.radius?a.radius:8);B(this,Kc(av),this.Rf,this);B(this,Kc(bv),this.Rf,this);this.Rf();var c=a.weight?a.weight:"weight",d;"string"===typeof c?d=function(a){return a.get(c)}:d=c;this.g(function(a){a=
673
- d(a);a=void 0!==a?wa(a,0,1):1;var b=255*a|0,c=this.S[b];c||(c=[new $k({image:new Rn({opacity:a,src:this.T})})],this.S[b]=c);return c}.bind(this));this.set(vt,null);B(this,"render",this.zl,this)}u(U,S);var $u=["#00f","#0ff","#0f0","#ff0","#f00"];k=U.prototype;k.gh=function(){return this.get(av)};k.nh=function(){return this.get(Zu)};k.Uh=function(){return this.get(bv)};
674
- k.il=function(){for(var a=this.nh(),b=Zc(1,256),c=b.createLinearGradient(0,0,1,256),d=1/(a.length-1),e=0,f=a.length;e<f;++e)c.addColorStop(e*d,a[e]);b.fillStyle=c;b.fillRect(0,0,1,256);this.l=b.getImageData(0,0,1,256).data};k.Rf=function(){var a=this.Uh(),b=this.gh(),c=a+b+1,d=2*c,d=Zc(d,d);d.shadowOffsetX=d.shadowOffsetY=this.Z;d.shadowBlur=b;d.shadowColor="#000";d.beginPath();b=c-this.Z;d.arc(b,b,a,0,2*Math.PI,!0);d.fill();this.T=d.canvas.toDataURL();this.S=Array(256);this.s()};
675
- k.zl=function(a){a=a.context;var b=a.canvas,b=a.getImageData(0,0,b.width,b.height),c=b.data,d,e,f;d=0;for(e=c.length;d<e;d+=4)if(f=4*c[d+3])c[d]=this.l[f],c[d+1]=this.l[f+1],c[d+2]=this.l[f+2];a.putImageData(b,0,0)};k.Fi=function(a){this.set(av,a)};k.Li=function(a){this.set(Zu,a)};k.Xc=function(a){this.set(bv,a)};var av="blur",Zu="gradient",bv="radius";function cv(a){mt.call(this,a);this.o=wh();this.g=null}u(cv,mt);cv.prototype.I=function(a,b,c){ot(this,"precompose",c,a,void 0);var d=this.$();if(d){var e=b.extent,f=void 0!==e;f&&nt(c,a,e);var e=this.A(),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()}this.Ve(c,a,b)};
676
- cv.prototype.Ba=function(a,b,c,d,e){var f=this.a;return f.ma().Ba(a,b.viewState.resolution,b.viewState.rotation,c,b.skippedFeatureUids,function(a){return d.call(e,a,f)})};
677
- cv.prototype.v=function(a,b,c,d){if(this.$()){if(this.a.ma().Ba!==oa)return mt.prototype.v.apply(this,arguments);var e=Bh(this.o,a.slice());Ye(e,b.viewState.resolution/this.i);this.g||(this.g=Zc(1,1));this.g.clearRect(0,0,1,1);this.g.drawImage(this.$(),e[0],e[1],1,1,0,0,1,1);e=this.g.getImageData(0,0,1,1).data;if(0<e[3])return c.call(d,this.a,e)}};function dv(a){cv.call(this,a);this.N=null;this.c=wh()}u(dv,cv);dv.prototype.$=function(){return this.N?this.N.$():null};dv.prototype.A=function(){return this.c};
678
- dv.prototype.rd=function(a,b){var c=a.pixelRatio,d=a.size,e=a.viewState,f=e.center,g=e.resolution,h=this.a.ma(),l=a.viewHints,m=a.extent;void 0!==b.extent&&(m=mb(m,b.extent));l[0]||l[1]||hb(m)||(e=h.$(m,g,c,e.projection))&&gt(this,e)&&(this.N=e);if(this.N){var e=this.N,m=e.D(),n=e.resolution,l=e.a,p=c*n/(g*l),m=Fh(this.c,c*d[0]/2,c*d[1]/2,p,p,0,l*(m[0]-f[0])/n,l*(f[1]-m[3])/n);Fh(this.o,c*d[0]/2-m[4],c*d[1]/2-m[5],c/g,-c/g,0,-f[0],-f[1]);it(a.attributions,e.i);jt(a,h);this.i=g*c/l}return!!this.N};function ev(a,b,c,d){var e=Xb(c,b,a);c=Db(b,d,c);b=b.tc();void 0!==b&&(c*=b);b=a.tc();void 0!==b&&(c/=b);a=Db(a,c,e)/c;isFinite(a)&&0<a&&(c/=a);return c}function fv(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)]}
679
- function gv(a,b,c,d,e,f,g,h,l,m,n){var p=Zc(Math.round(c*a),Math.round(c*b));if(!l.length)return p.canvas;p.scale(c,c);var q=Ja();l.forEach(function(a){ab(q,a.extent)});var r=Zc(Math.round(c*ib(q)/d),Math.round(c*jb(q)/d)),v=c/d;l.forEach(function(a){r.drawImage(a.image,m,m,a.image.width-2*m,a.image.height-2*m,(a.extent[0]-q[0])*v,-(a.extent[3]-q[3])*v,ib(a.extent)*v,jb(a.extent)*v)});var x=fb(g);h.c.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]-
680
- x[0])/f;var n=-(e[0][1]-x[1])/f,v=(e[1][0]-x[0])/f,y=-(e[1][1]-x[1])/f,aa=(e[2][0]-x[0])/f,Ua=-(e[2][1]-x[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,v-a],[l,m,0,0,aa-a],[0,0,g,h,y-n],[0,0,l,m,Ua-n]];h=g.length;for(l=0;l<h;l++){for(var m=l,Mb=Math.abs(g[l][l]),dc=l+1;dc<h;dc++){var dd=Math.abs(g[dc][l]);dd>Mb&&(Mb=dd,m=dc)}if(!Mb){g=null;break a}Mb=g[m];g[m]=g[l];g[l]=Mb;for(m=l+1;m<h;m++)for(Mb=-g[m][l]/g[l][l],dc=l;dc<h+1;dc++)g[m][dc]=l==dc?0:g[m][dc]+Mb*g[l][dc]}l=Array(h);
681
- for(m=h-1;0<=m;m--)for(l[m]=g[m][h]/g[m][m],Mb=m-1;0<=Mb;Mb--)g[Mb][h]-=g[Mb][m]*l[m];g=l}g&&(p.save(),p.beginPath(),l=(a+v+aa)/3,m=(n+y+Ua)/3,h=fv(l,m,a,n),v=fv(l,m,v,y),aa=fv(l,m,aa,Ua),p.moveTo(v[0],v[1]),p.lineTo(h[0],h[1]),p.lineTo(aa[0],aa[1]),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(r.canvas,0,0),p.restore())});n&&(p.save(),p.strokeStyle="black",p.lineWidth=1,h.c.forEach(function(a){var b=a.target;a=(b[0][0]-x[0])/f;var c=-(b[0][1]-
682
- x[1])/f,d=(b[1][0]-x[0])/f,e=-(b[1][1]-x[1])/f,g=(b[2][0]-x[0])/f,b=-(b[2][1]-x[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 hv(a,b,c,d,e){this.f=a;this.i=b;var f={},g=Vb(this.i,this.f);this.a=function(a){var b=a[0]+"/"+a[1];f[b]||(f[b]=g(a));return f[b]};this.g=d;this.v=e*e;this.c=[];this.j=!1;this.o=this.f.a&&!!d&&!!this.f.D()&&ib(d)==ib(this.f.D());this.b=this.f.D()?ib(this.f.D()):null;this.l=this.i.D()?ib(this.i.D()):null;a=fb(c);b=eb(c);d=db(c);c=cb(c);e=this.a(a);var h=this.a(b),l=this.a(d),m=this.a(c);iv(this,a,b,d,c,e,h,l,m,10);if(this.j){var n=Infinity;this.c.forEach(function(a){n=Math.min(n,a.source[0][0],
683
- a.source[1][0],a.source[2][0])});this.c.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={}}
684
- function iv(a,b,c,d,e,f,g,h,l,m){var n=Ia([f,g,h,l]),p=a.b?ib(n)/a.b:null,q=a.b,r=a.f.a&&.5<p&&1>p,v=!1;if(0<m){if(a.i.f&&a.l)var x=Ia([b,c,d,e]),v=v|.25<ib(x)/a.l;!r&&a.f.f&&p&&(v|=.25<p)}if(v||!a.g||nb(n,a.g)){if(!(v||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)v=!0;else return;if(0<m&&(v||(n=a.a([(b[0]+d[0])/2,(b[1]+d[1])/2]),q=r?(Da(f[0],q)+Da(h[0],q))/2-Da(n[0],q):(f[0]+h[0])/2-n[0],n=(f[1]+h[1])/2-n[1],
685
- v=q*q+n*n>a.v),v)){Math.abs(b[0]-d[0])<=Math.abs(b[1]-d[1])?(r=[(c[0]+d[0])/2,(c[1]+d[1])/2],q=a.a(r),n=[(e[0]+b[0])/2,(e[1]+b[1])/2],p=a.a(n),iv(a,b,c,r,n,f,g,q,p,m-1),iv(a,n,r,d,e,p,q,h,l,m-1)):(r=[(b[0]+c[0])/2,(b[1]+c[1])/2],q=a.a(r),n=[(d[0]+e[0])/2,(d[1]+e[1])/2],p=a.a(n),iv(a,b,r,n,e,f,q,p,l,m-1),iv(a,r,c,d,n,q,g,h,p,m-1));return}if(r){if(!a.o)return;a.j=!0}a.c.push({source:[f,h,l],target:[b,d,e]});a.c.push({source:[f,g,h],target:[b,c,d]})}}
686
- function jv(a){var b=Ja();a.c.forEach(function(a){a=a.source;Ka(b,a[0]);Ka(b,a[1]);Ka(b,a[2])});return b};function kv(a,b,c,d,e,f){this.v=b;this.o=a.D();var g=b.D(),h=g?mb(c,g):c,g=ev(a,b,kb(h),d);this.l=new hv(a,b,h,this.o,.5*g);this.c=d;this.f=c;a=jv(this.l);this.j=(this.Fb=f(a,g,e))?this.Fb.a:1;this.ae=this.g=null;e=2;f=[];this.Fb&&(e=0,f=this.Fb.i);ss.call(this,c,d,this.j,e,f)}u(kv,ss);kv.prototype.sa=function(){1==this.state&&(sc(this.ae),this.ae=null);ss.prototype.sa.call(this)};kv.prototype.$=function(){return this.g};
687
- kv.prototype.$d=function(){var a=this.Fb.W();2==a&&(this.g=gv(ib(this.f)/this.c,jb(this.f)/this.c,this.j,this.Fb.resolution,0,this.c,this.f,this.l,[{extent:this.Fb.D(),image:this.Fb.$()}],0));this.state=a;this.s()};kv.prototype.load=function(){if(0==this.state){this.state=1;this.s();var a=this.Fb.W();2==a||3==a?this.$d():(this.ae=B(this.Fb,"change",function(){var a=this.Fb.W();if(2==a||3==a)sc(this.ae),this.ae=null,this.$d()},this),this.Fb.load())}};function lv(a){Gt.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state});this.u=void 0!==a.resolutions?a.resolutions:null;this.a=null;this.fa=0}u(lv,Gt);function mv(a,b){a.u&&(b=a.u[ga(a.u,b,0)]);return b}
688
- lv.prototype.$=function(a,b,c,d){var e=this.c;if(e&&d&&!Ub(e,d)){if(this.a){if(this.fa==this.f&&Ub(this.a.v,d)&&this.a.resolution==b&&this.a.a==c&&$a(this.a.D(),a))return this.a;Bc(this.a);this.a=null}this.a=new kv(e,d,a,b,c,function(a,b,c){return this.Jc(a,b,c,e)}.bind(this));this.fa=this.f;return this.a}e&&(d=e);return this.Jc(a,b,c,d)};lv.prototype.j=function(a){a=a.target;switch(a.W()){case 1:this.b(new nv(ov,a));break;case 2:this.b(new nv(pv,a));break;case 3:this.b(new nv(qv,a))}};
689
- function rv(a,b){a.$().src=b}function nv(a,b){Cc.call(this,a);this.image=b}u(nv,Cc);var ov="imageloadstart",pv="imageloadend",qv="imageloaderror";function sv(a){lv.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions,state:a.state});this.ja=a.canvasFunction;this.T=null;this.Z=0;this.pa=void 0!==a.ratio?a.ratio:1.5}u(sv,lv);sv.prototype.Jc=function(a,b,c,d){b=mv(this,b);var e=this.T;if(e&&this.Z==this.f&&e.resolution==b&&e.a==c&&Ta(e.D(),a))return e;a=a.slice();ob(a,this.pa);(d=this.ja(a,b,c,[ib(a)/b*c,jb(a)/b*c],d))&&(e=new us(a,b,c,this.l,d));this.T=e;this.Z=this.f;return e};function tv(a){this.i=a.source;this.Pa=wh();this.g=Zc();this.o=[0,0];this.Ia=void 0==a.renderBuffer?100:a.renderBuffer;this.A=null;sv.call(this,{attributions:a.attributions,canvasFunction:this.$j.bind(this),logo:a.logo,projection:a.projection,ratio:a.ratio,resolutions:a.resolutions,state:this.i.W()});this.C=null;this.v=void 0;this.di(a.style);B(this.i,"change",this.Gn,this)}u(tv,sv);k=tv.prototype;
690
- k.$j=function(a,b,c,d,e){var f=new Ws(.5*b/c,a,b,this.i.Ia,this.Ia);this.i.Vd(a,b,e);var g=!1;this.i.bc(a,function(a){var d;if(!(d=g)){var e;(d=a.Oc())?e=d.call(a,b):this.v&&(e=this.v(a,b));if(e){var h,p=!1;Array.isArray(e)||(e=[e]);d=0;for(h=e.length;d<h;++d)p=st(f,a,e[d],rt(b,c),this.Fn,this)||p;d=p}else d=!1}g=d},this);$s(f);if(g)return null;this.o[0]!=d[0]||this.o[1]!=d[1]?(this.g.canvas.width=d[0],this.g.canvas.height=d[1],this.o[0]=d[0],this.o[1]=d[1]):this.g.clearRect(0,0,d[0],d[1]);a=uv(this,
691
- kb(a),b,c,d);f.i(this.g,c,a,0,{});this.A=f;return this.g.canvas};k.Ba=function(a,b,c,d,e,f){if(this.A){var g={};return this.A.Ba(a,b,0,d,e,function(a){var b=w(a).toString();if(!(b in g))return g[b]=!0,f(a)})}};k.Cn=function(){return this.i};k.Dn=function(){return this.C};k.En=function(){return this.v};function uv(a,b,c,d,e){c=d/c;return Fh(a.Pa,e[0]/2,e[1]/2,c,-c,0,-b[0],-b[1])}k.Fn=function(){this.s()};k.Gn=function(){It(this,this.i.W())};
692
- k.di=function(a){this.C=void 0!==a?a:dl;this.v=a?bl(this.C):void 0;this.s()};function vv(a,b){Bt.call(this,a,b);this.j=this.i=this.N=null}u(vv,Bt);function wv(a,b){var c=b.$();return Oi(a.c.f,c)}vv.prototype.Ba=function(a,b,c,d,e){var f=this.a;return f.ma().Ba(a,b.viewState.resolution,b.viewState.rotation,c,b.skippedFeatureUids,function(a){return d.call(e,a,f)})};
693
- vv.prototype.bg=function(a,b){var c=this.c.f,d=a.pixelRatio,e=a.viewState,f=e.center,g=e.resolution,h=e.rotation,l=this.N,m=this.Gb,n=this.a.ma(),p=a.viewHints,q=a.extent;void 0!==b.extent&&(q=mb(q,b.extent));p[0]||p[1]||hb(q)||(e=n.$(q,g,d,e.projection))&&gt(this,e)&&(l=e,m=wv(this,e),this.Gb&&a.postRenderFunctions.push(function(a,b){a.isContextLost()||a.deleteTexture(b)}.bind(null,c,this.Gb)));l&&(c=this.c.i.l,xv(this,c.width,c.height,d,f,g,h,l.D()),this.j=null,d=this.v,xh(d),Dh(d,1,-1),Eh(d,0,
694
- -1),this.N=l,this.Gb=m,it(a.attributions,l.i),jt(a,n));return!!l};function xv(a,b,c,d,e,f,g,h){b*=f;c*=f;a=a.u;xh(a);Dh(a,2*d/b,2*d/c);Ch(a,-g);Eh(a,h[0]-e[0],h[1]-e[1]);Dh(a,(h[2]-h[0])/2,(h[3]-h[1])/2);Eh(a,1,1)}vv.prototype.Le=function(a,b){return void 0!==this.Ba(a,b,0,cf,this)};
695
- vv.prototype.$f=function(a,b,c,d){if(this.N&&this.N.$())if(this.a.ma()instanceof tv){var e=Bh(b.pixelToCoordinateTransform,a.slice());if(this.Ba(e,b,0,cf,this))return c.call(d,this.a,null)}else{e=[this.N.$().width,this.N.$().height];if(!this.j){var f=b.size;b=wh();Eh(b,-1,-1);Dh(b,2/f[0],2/f[1]);Eh(b,0,f[1]);Dh(b,1,-1);var f=Gh(this.u.slice()),g=wh();Eh(g,0,e[1]);Dh(g,1,-1);Dh(g,e[0]/2,e[1]/2);Eh(g,1,1);zh(g,f);zh(g,b);this.j=g}a=Bh(this.j,a.slice());if(!(0>a[0]||a[0]>e[0]||0>a[1]||a[1]>e[1])&&(this.i||
696
- (this.i=Zc(1,1)),this.i.clearRect(0,0,1,1),this.i.drawImage(this.N.$(),a[0],a[1],1,1,0,0,1,1),e=this.i.getImageData(0,0,1,1).data,0<e[3]))return c.call(d,this.a,e)}};function yv(a){rh.call(this,a?a:{})}u(yv,rh);yv.prototype.Ed=function(a){var b=null,c=a.U();"canvas"===c?b=new dv(this):"webgl"===c&&(b=new vv(a,this));return b};function zv(a){cv.call(this,a);this.u=Zc();this.l=null;this.c=[];this.j=Ja();this.Ka=new sa(0,0,0,0);this.C=wh();this.Z=0}u(zv,cv);function Av(a,b){var c=b.W(),d=a.a.Ud();return 2==c||4==c||3==c&&!d}
697
- zv.prototype.rd=function(a,b){var c=a.pixelRatio,d=a.size,e=a.viewState,f=e.projection,g=e.resolution,e=e.center,h=this.a,l=h.ma(),m=l.f,n=l.Jb(f),p=n.Nc(g,this.Z),q=n.Ma(p),r=Math.round(g/q)||1,v=a.extent;void 0!==b.extent&&(v=mb(v,b.extent));if(hb(v))return!1;var x=hc(n,v,q),y;y=n.Rc(p);var z=n.Ma(p),A=Ha(n.gb(p),n.l);y=Wa(y[0]+x.ea*A[0]*z,y[1]+x.ga*A[1]*z,y[0]+(x.ca+1)*A[0]*z,y[1]+(x.ka+1)*A[1]*z,void 0);z=l.qb(c);A={};A[p]={};var Y=this.Df(l,f,A),Qa=this.j,xa=this.Ka,Oa=!1,C,Pa,Gb;for(Pa=x.ea;Pa<=
698
- x.ca;++Pa)for(Gb=x.ga;Gb<=x.ka;++Gb)C=l.Mc(p,Pa,Gb,c,f),Av(this,C)||(C=ws(C)),Av(this,C)?2==C.W()&&(A[p][C.Ha.toString()]=C,Oa||-1!=this.c.indexOf(C)||(Oa=!0)):fc(n,C.Ha,Y,xa,Qa)||(C=gc(n,C.Ha,xa,Qa))&&Y(p+1,C);Y=a.viewHints;if(!(this.i&&16<Date.now()-a.time&&(Y[0]||Y[1])||!Oa&&this.l&&Ta(this.l,v)&&this.bf==m)||r!=this.S){Oa=l.Td(p,c,f);Pa=Math.round((x.ca-x.ea+1)*Oa[0]/r);C=Math.round((x.ka-x.ga+1)*Oa[0]/r);Oa=this.u;Gb=Oa.canvas;Y=l.Nf(f);Gb.width!=Pa||Gb.height!=C?(this.S=r,Gb.width=Pa,Gb.height=
699
- C):(Oa.clearRect(0,0,Pa,C),r=this.S);this.c.length=0;xa=Object.keys(A).map(Number);xa.sort(ea);var aa,Ua,Mb,dc,dd,$d,Ke,ue;Mb=0;for(dc=xa.length;Mb<dc;++Mb){Pa=xa[Mb];Ua=l.Td(Pa,c,f);C=n.Ma(Pa);aa=C/q;dd=z*l.Kf(f);$d=A[Pa];for(var Wc in $d)C=$d[Wc],Gb=n.Ua(C.Ha,Qa),Pa=(Gb[0]-y[0])/q*z/r,Gb=(y[3]-Gb[3])/q*z/r,Ke=Ua[0]*aa/r,ue=Ua[1]*aa/r,Y||Oa.clearRect(Pa,Gb,Ke,ue),this.Ef(C,a,b,Pa,Gb,Ke,ue,dd),this.c.push(C)}this.bf=m;this.i=q*c/z*r;this.l=y}Wc=this.i/g;Wc=Fh(this.C,c*d[0]/2,c*d[1]/2,Wc,Wc,0,(this.l[0]-
700
- e[0])/this.i*c,(e[1]-this.l[3])/this.i*c);Fh(this.o,c*d[0]/2-Wc[4],c*d[1]/2-Wc[5],c/g,-c/g,0,-e[0],-e[1]);kt(a.usedTiles,l,p,x);lt(a,l,n,c,f,v,p,h.Qd());ht(a,l);jt(a,l);return 0<this.c.length};zv.prototype.Ef=function(a,b,c,d,e,f,g,h){(a=a.$())&&this.u.drawImage(a,h,h,a.width-2*h,a.height-2*h,d,e,f,g)};zv.prototype.$=function(){return this.u.canvas};zv.prototype.A=function(){return this.C};function Bv(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}u(Bv,hi);var Cv=new Bv;function Dv(){this.b="varying vec2 a;attribute vec2 b;attribute vec2 c;uniform vec4 d;void main(void){gl_Position=vec4(b*d.xy+d.zw,0.,1.);a=c;}"}u(Dv,ii);var Ev=new Dv;function Fv(a,b){this.f=a.getUniformLocation(b,"e");this.c=a.getUniformLocation(b,"d");this.b=a.getAttribLocation(b,"b");this.a=a.getAttribLocation(b,"c")};function Gv(a,b){Bt.call(this,a,b);this.S=Cv;this.ja=Ev;this.i=null;this.G=new yi([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]);this.A=this.j=null;this.o=-1;this.T=[0,0]}u(Gv,Bt);k=Gv.prototype;k.sa=function(){Bi(this.c.i,this.G);Bt.prototype.sa.call(this)};k.Df=function(a,b,c){var d=this.c;return function(e,f){return et(a,b,e,f,function(a){var b=d.a.b.hasOwnProperty(a.jb());b&&(c[e]||(c[e]={}),c[e][a.Ha.toString()]=a);return b})}};k.ag=function(){Bt.prototype.ag.call(this);this.i=null};
701
- k.bg=function(a,b,c){var d=this.c,e=c.b,f=a.viewState,g=f.projection,h=this.a,l=h.ma(),m=l.Jb(g),n=m.Nc(f.resolution),p=m.Ma(n),q=l.Td(n,a.pixelRatio,g),r=q[0]/Ha(m.gb(n),this.T)[0],v=p/r,x=l.qb(r)*l.Kf(g),y=f.center,z=a.extent,A=hc(m,z,p);if(this.j&&ua(this.j,A)&&this.o==l.f)v=this.A;else{var Y=[A.ca-A.ea+1,A.ka-A.ga+1],Qa=za(Math.max(Y[0]*q[0],Y[1]*q[1])),Y=v*Qa,xa=m.Rc(n),Oa=xa[0]+A.ea*q[0]*v,v=xa[1]+A.ga*q[1]*v,v=[Oa,v,Oa+Y,v+Y];Ct(this,a,Qa);e.viewport(0,0,Qa,Qa);e.clearColor(0,0,0,0);e.clear(16384);
702
- e.disable(3042);Qa=Ci(c,this.S,this.ja);c.Sc(Qa);this.i||(this.i=new Fv(e,Qa));ri(c,34962,this.G);e.enableVertexAttribArray(this.i.b);e.vertexAttribPointer(this.i.b,2,5126,!1,16,0);e.enableVertexAttribArray(this.i.a);e.vertexAttribPointer(this.i.a,2,5126,!1,16,8);e.uniform1i(this.i.f,0);c={};c[n]={};var C=this.Df(l,g,c),Pa=h.Ud(),Qa=!0,Oa=Ja(),Gb=new sa(0,0,0,0),aa,Ua,Mb;for(Ua=A.ea;Ua<=A.ca;++Ua)for(Mb=A.ga;Mb<=A.ka;++Mb){xa=l.Mc(n,Ua,Mb,r,g);if(void 0!==b.extent&&(aa=m.Ua(xa.Ha,Oa),!nb(aa,b.extent)))continue;
703
- aa=xa.W();(aa=2==aa||4==aa||3==aa&&!Pa)||(xa=ws(xa));aa=xa.W();if(2==aa){if(d.a.b.hasOwnProperty(xa.jb())){c[n][xa.Ha.toString()]=xa;continue}}else if(4==aa||3==aa&&!Pa)continue;Qa=!1;aa=fc(m,xa.Ha,C,Gb,Oa);aa||(xa=gc(m,xa.Ha,Gb,Oa))&&C(n+1,xa)}b=Object.keys(c).map(Number);b.sort(ea);for(var C=new Float32Array(4),dc,Pa=0,Gb=b.length;Pa<Gb;++Pa)for(dc in Ua=c[b[Pa]],Ua)xa=Ua[dc],aa=m.Ua(xa.Ha,Oa),C[0]=2*(aa[2]-aa[0])/Y,C[1]=2*(aa[3]-aa[1])/Y,C[2]=2*(aa[0]-v[0])/Y-1,C[3]=2*(aa[1]-v[1])/Y-1,e.uniform4fv(this.i.c,
704
- C),lk(d,xa,q,x*r),e.drawArrays(5,0,4);Qa?(this.j=A,this.A=v,this.o=l.f):(this.A=this.j=null,this.o=-1,a.animate=!0)}kt(a.usedTiles,l,n,A);var dd=d.l;lt(a,l,m,r,g,z,n,h.Qd(),function(a){2!=a.W()||d.a.b.hasOwnProperty(a.jb())||a.jb()in dd.a||dd.i([a,jc(m,a.Ha),m.Ma(a.Ha[0]),q,x*r])},this);ht(a,l);jt(a,l);e=this.v;xh(e);Eh(e,(Math.round(y[0]/p)*p-v[0])/(v[2]-v[0]),(Math.round(y[1]/p)*p-v[1])/(v[3]-v[1]));f.rotation&&Ch(e,f.rotation);Dh(e,a.size[0]*f.resolution/(v[2]-v[0]),a.size[1]*f.resolution/(v[3]-
705
- v[1]));Eh(e,-.5,-.5);return!0};k.$f=function(a,b,c,d){if(this.g){a=Bh(this.v,[a[0]/b.size[0],(b.size[1]-a[1])/b.size[1]].slice());a=[a[0]*this.l,a[1]*this.l];b=this.c.i.b;b.bindFramebuffer(b.FRAMEBUFFER,this.g);var e=new Uint8Array(4);b.readPixels(a[0],a[1],1,1,b.RGBA,b.UNSIGNED_BYTE,e);if(0<e[3])return c.call(d,this.a,e)}};function Hv(a){a=a?a:{};var b=qb({},a);delete b.preload;delete b.useInterimTilesOnError;rh.call(this,b);this.Vh(void 0!==a.preload?a.preload:0);this.Wh(void 0!==a.useInterimTilesOnError?a.useInterimTilesOnError:!0)}u(Hv,rh);k=Hv.prototype;k.Ed=function(a){var b=null,c=a.U();"canvas"===c?b=new zv(this):"webgl"===c&&(b=new Gv(a,this));return b};k.Qd=function(){return this.get("preload")};k.Vh=function(a){this.set("preload",a)};k.Ud=function(){return this.get("useInterimTilesOnError")};
706
- k.Wh=function(a){this.set("useInterimTilesOnError",a)};function Iv(a){zv.call(this,a);this.G=!1;this.T=wh();this.Z="vector"==a.v?1:0}u(Iv,zv);var Jv={image:ei,hybrid:["Polygon","LineString"]},Kv={hybrid:["Image","Text"],vector:ei};k=Iv.prototype;k.rd=function(a,b){var c=this.a.f;this.pa!=c&&(this.c.length=0);this.pa=c;return zv.prototype.rd.apply(this,arguments)};
707
- function Lv(a,b,c){function d(a){var b,c=a.Oc();c?b=c.call(a,r):(c=e.i)&&(b=c(a,r));if(b){Array.isArray(b)||(b=[b]);var c=A,d=z;if(b){var f=!1;if(Array.isArray(b))for(var g=0,h=b.length;g<h;++g)f=st(d,a,b[g],c,this.ai,this)||f;else f=st(d,a,b,c,this.ai,this)||f;a=f}else a=!1;this.G=this.G||a;l.Md=l.Md||a}}var e=a.a,f=c.pixelRatio;c=c.viewState.projection;var g=e.f,h=e.get(vt)||null,l=b.f;if(l.Md||l.bf!=g||l.xg!=h){l.wd=null;l.Md=!1;var m=e.ma(),n=m.tileGrid,p=b.Ha,q=b.l,r=n.Ma(p[0]),v,x,y;"tile-pixels"==
708
- q.Kb()?(v=y=m.qb(),n=Ha(n.gb(p[0])),v=[0,0,n[0]*v,n[1]*v]):(y=r,v=n.Ua(p),Ub(c,q)||(x=!0,b.Yf(c)));l.Md=!1;var z=new Ws(0,v,y,m.g,e.c),A=rt(y,f);b=b.g;h&&h!==l.xg&&b.sort(h);m=0;for(y=b.length;m<y;++m)f=b[m],x&&f.V().ub(q,c),d.call(a,f);$s(z);l.bf=g;l.xg=h;l.wd=z;l.resolution=NaN}}
709
- k.Ef=function(a,b,c,d,e,f,g,h){var l=a;Lv(this,l,b);if("vector"!=this.a.v){var m=l,n=b,p=this.a,l=m.f,q=p.f,r=Jv[p.v];if(r&&l.yg!==q){l.yg=q;var v=m.Ha,x=m.Ha[0],q=n.pixelRatio,y=p.ma(),z=y.tileGrid,A=y.qb(),p=xh(this.T);"tile-pixels"==m.l.Kb()?(v=q/A,Dh(p,v,v)):(A=q/z.Ma(x),v=z.Ua(v,this.j),Dh(p,A,-A),Eh(p,-v[0],-v[3]));m=m.c;n=y.Td(x,q,n.viewState.projection);m.canvas.width=n[0];m.canvas.height=n[1];l.wd.i(m,q,p,0,{},r)}}zv.prototype.Ef.apply(this,arguments)};
710
- k.Ba=function(a,b,c,d,e){var f=b.viewState.resolution;b=b.viewState.rotation;c=void 0==c?0:c;var g=this.a,h={},l=this.c,m=g.ma(),n=m.tileGrid,p,q,r,v,x,y;r=0;for(v=l.length;r<v;++r)y=l[r],q=y.Ha,x=m.tileGrid.Ua(q,this.j),Ra(La(x,c*f),a)&&("tile-pixels"===y.l.Kb()?(x=fb(x),f=m.qb(),q=n.Ma(q[0])/f,q=[(a[0]-x[0])/q,(x[1]-a[1])/q]):q=a,y=y.f.wd,p=p||y.Ba(q,f,b,c,{},function(a){var b=w(a).toString();if(!(b in h))return h[b]=!0,d.call(e,a,g)}));return p};k.ai=function(){ft(this)};
711
- k.Ve=function(a,b,c){var d=Kv[this.a.v];if(d)for(var e=b.pixelRatio,f=b.viewState.rotation,g=b.size,h=Math.round(e*g[0]/2),g=Math.round(e*g[1]/2),l=this.c,m=[],n=[],p=l.length-1;0<=p;--p){var q=l[p],r;var v=q;r=b;if("tile-pixels"==v.l.Kb()){var x=this.a.ma(),y=x.tileGrid,z=v.Ha,x=y.Ma(z[0])/x.qb(),v=r.viewState,A=r.pixelRatio,Y=v.resolution/A,z=y.Ua(z,this.j),y=v.center,z=fb(z);r=r.size;r=Fh(this.T,Math.round(A*r[0]/2),Math.round(A*r[1]/2),x/Y,x/Y,v.rotation,(z[0]-y[0])/x,(y[1]-z[1])/x)}else r=pt(this,
712
- r,0);x=bt(q.f.wd,r);v=q.Ha[0];a.save();a.globalAlpha=c.opacity;Qh(a,-f,h,g);A=0;for(Y=m.length;A<Y;++A)y=m[A],v<n[A]&&(a.beginPath(),a.moveTo(x[0],x[1]),a.lineTo(x[2],x[3]),a.lineTo(x[4],x[5]),a.lineTo(x[6],x[7]),a.moveTo(y[6],y[7]),a.lineTo(y[4],y[5]),a.lineTo(y[2],y[3]),a.lineTo(y[0],y[1]),a.clip());q.f.wd.i(a,e,r,f,{},d);a.restore();m.push(x);n.push(v)}zv.prototype.Ve.apply(this,arguments)};function V(a){a=a?a:{};var b=qb({},a);delete b.preload;delete b.useInterimTilesOnError;S.call(this,b);this.Xh(a.preload?a.preload:0);this.Yh(a.useInterimTilesOnError?a.useInterimTilesOnError:!0);ra(void 0==a.renderMode||"image"==a.renderMode||"hybrid"==a.renderMode||"vector"==a.renderMode,28);this.v=a.renderMode||"hybrid"}u(V,S);k=V.prototype;k.Ed=function(a){var b=null;"canvas"===a.U()&&(b=new Iv(this));return b};k.Qd=function(){return this.get(Mv)};k.Ud=function(){return this.get(Nv)};
713
- k.Xh=function(a){this.set("preload",a)};k.Yh=function(a){this.set("useInterimTilesOnError",a)};var Mv="preload",Nv="useInterimTilesOnError";function Ov(a,b,c,d){function e(){delete window[g];f.parentNode.removeChild(f)}var f=document.createElement("script"),g="olc_"+w(b);f.async=!0;f.src=a+(-1==a.indexOf("?")?"?":"&")+(d||"callback")+"="+g;var h=setTimeout(function(){e();c&&c()},1E4);window[g]=function(a){clearTimeout(h);e();b(a)};document.getElementsByTagName("head")[0].appendChild(f)};function Pv(a,b,c,d,e,f,g,h,l,m,n){vs.call(this,e,0);this.C=void 0!==n?n:!1;this.A=g;this.u=h;this.I=null;this.c=b;this.j=d;this.o=f?f:e;this.f=[];this.xd=null;this.g=0;f=d.Ua(this.o);h=this.j.D();e=this.c.D();f=h?mb(f,h):f;if(gb(f))if((h=a.D())&&(e?e=mb(e,h):e=h),d=ev(a,c,kb(f),d.Ma(this.o[0])),!isFinite(d)||0>=d)this.state=4;else if(this.v=new hv(a,c,f,e,d*(void 0!==m?m:.5)),this.v.c.length)if(this.g=b.Nc(d),c=jv(this.v),e&&(a.a?(c[1]=wa(c[1],e[1],e[3]),c[3]=wa(c[3],e[1],e[3])):c=mb(c,e)),gb(c)){a=
714
- ec(b,c,this.g);for(b=a.ea;b<=a.ca;b++)for(c=a.ga;c<=a.ka;c++)(m=l(this.g,b,c,g))&&this.f.push(m);this.f.length||(this.state=4)}else this.state=4;else this.state=4;else this.state=4}u(Pv,vs);Pv.prototype.sa=function(){1==this.state&&(this.xd.forEach(sc),this.xd=null);vs.prototype.sa.call(this)};Pv.prototype.$=function(){return this.I};
715
- Pv.prototype.$d=function(){var a=[];this.f.forEach(function(b){b&&2==b.W()&&a.push({extent:this.c.Ua(b.Ha),image:b.$()})},this);this.f.length=0;if(a.length){var b=this.o[0],c=this.j.gb(b),d="number"===typeof c?c:c[0],c="number"===typeof c?c:c[1],b=this.j.Ma(b),e=this.c.Ma(this.g),f=this.j.Ua(this.o);this.I=gv(d,c,this.A,e,this.c.D(),b,f,this.v,a,this.u,this.C);this.state=2}else this.state=3;this.s()};
716
- Pv.prototype.load=function(){if(0==this.state){this.state=1;this.s();var a=0;this.xd=[];this.f.forEach(function(b){var c=b.W();if(0==c||1==c){a++;var d;d=B(b,"change",function(){var c=b.W();if(2==c||3==c||4==c)sc(d),a--,a||(this.xd.forEach(sc),this.xd=null,this.$d())},this);this.xd.push(d)}},this);this.f.forEach(function(a){0==a.W()&&a.load()});a||setTimeout(this.$d.bind(this),0)}};function Qv(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.a?b.a[g[0]]:null;ra(a,55);return(a.ka-a.ga+1+g[2]).toString()})}}function Rv(a,b){for(var c=a.length,d=Array(c),e=0;e<c;++e)d[e]=Qv(a[e],b);return Sv(d)}function Sv(a){return 1===a.length?a[0]:function(b,c,d){if(b)return a[Da((b[1]<<b[0])+b[2],a.length)](b,c,d)}}
717
- function Tv(){}function Uv(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)));return b}if(c=c=/\{(\d+)-(\d+)\}/.exec(a)){d=parseInt(c[2],10);for(e=parseInt(c[1],10);e<=d;e++)b.push(a.replace(c[0],e.toString()));return b}b.push(a);return b};function Vv(a){jk.call(this);this.i=void 0!==a?a:2048}u(Vv,jk);function Wv(a){return a.c>a.i}Vv.prototype.hd=function(a){for(var b,c;Wv(this);){b=this.a.ad;c=b.Ha[0].toString();var d;if(d=c in a)b=b.Ha,d=ta(a[c],b[1],b[2]);if(d)break;else Bc(this.pop())}};function Xv(a){Gt.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,state:a.state,wrapX:a.wrapX});this.pa=void 0!==a.opaque?a.opaque:!1;this.Pa=void 0!==a.tilePixelRatio?a.tilePixelRatio:1;this.tileGrid=void 0!==a.tileGrid?a.tileGrid:null;this.a=new Vv(a.cacheSize);this.j=[0,0];this.uc=""}u(Xv,Gt);k=Xv.prototype;k.gi=function(){return Wv(this.a)};k.hd=function(a,b){var c=this.Sd(a);c&&c.hd(b)};
718
- function et(a,b,c,d,e){b=a.Sd(b);if(!b)return!1;for(var f=!0,g,h,l=d.ea;l<=d.ca;++l)for(var m=d.ga;m<=d.ka;++m)g=a.Tb(c,l,m),h=!1,b.b.hasOwnProperty(g)&&(g=b.get(g),(h=2===g.W())&&(h=!1!==e(g))),h||(f=!1);return f}k.Kf=function(){return 0};function Yv(a,b){a.uc!==b&&(a.uc=b,a.s())}k.Tb=function(a,b,c){return a+"/"+b+"/"+c};k.Nf=function(){return this.pa};k.bb=function(){return this.tileGrid};k.Jb=function(a){return this.tileGrid?this.tileGrid:kc(a)};
719
- k.Sd=function(a){var b=this.c;return b&&!Ub(b,a)?null:this.a};k.qb=function(){return this.Pa};k.Td=function(a,b,c){c=this.Jb(c);b=this.qb(b);a=Ha(c.gb(a),this.j);return 1==b?a:Ga(a,b,this.j)};function Zv(a,b,c){var d=void 0!==c?c:a.c;c=a.Jb(d);if(a.G&&d.f){var e=b;b=e[0];a=jc(c,e);d=lc(d);Ra(d,a)?b=e:(e=ib(d),a[0]+=e*Math.ceil((d[0]-a[0])/e),b=c.Qf(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?ec(c,f,e):c.a?c.a[e]:null)?ta(c,d,a):!0}return c?b:null}
720
- k.wa=function(){this.a.clear();this.s()};k.Fg=oa;function $v(a,b){Cc.call(this,a);this.tile=b}u($v,Cc);function aw(a){Xv.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.Gc?this.Gc.bind(this):Tv;this.urls=null;a.urls?this.eb(a.urls):a.url&&this.kb(a.url);a.tileUrlFunction&&this.cb(a.tileUrlFunction)}u(aw,Xv);k=aw.prototype;k.pb=function(){return this.tileLoadFunction};
721
- k.rb=function(){return this.tileUrlFunction};k.sb=function(){return this.urls};k.hi=function(a){a=a.target;switch(a.W()){case 1:this.b(new $v("tileloadstart",a));break;case 2:this.b(new $v("tileloadend",a));break;case 3:this.b(new $v("tileloaderror",a))}};k.yb=function(a){this.a.clear();this.tileLoadFunction=a;this.s()};k.cb=function(a,b){this.tileUrlFunction=a;"undefined"!==typeof b?Yv(this,b):this.s()};
722
- k.kb=function(a){var b=this.urls=Uv(a);this.cb(this.Gc?this.Gc.bind(this):Rv(b,this.tileGrid),a)};k.eb=function(a){this.urls=a;var b=a.join("\n");this.cb(this.Gc?this.Gc.bind(this):Rv(a,this.tileGrid),b)};k.Fg=function(a,b,c){a=this.Tb(a,b,c);this.a.b.hasOwnProperty(a)&&this.a.get(a)};function W(a){aw.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:bw,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=a.tileClass?a.tileClass:xs;this.g={};this.v={};this.Ia=a.reprojectionErrorThreshold;this.C=
723
- !1}u(W,aw);k=W.prototype;k.gi=function(){if(Wv(this.a))return!0;for(var a in this.g)if(Wv(this.g[a]))return!0;return!1};k.hd=function(a,b){var c=this.Sd(a);this.a.hd(this.a==c?b:{});for(var d in this.g){var e=this.g[d];e.hd(e==c?b:{})}};k.Kf=function(a){return this.c&&a&&!Ub(this.c,a)?0:this.Lf()};k.Lf=function(){return 0};k.Nf=function(a){return this.c&&a&&!Ub(this.c,a)?!1:aw.prototype.Nf.call(this,a)};
724
- k.Jb=function(a){var b=this.c;return!this.tileGrid||b&&!Ub(b,a)?(b=w(a).toString(),b in this.v||(this.v[b]=kc(a)),this.v[b]):this.tileGrid};k.Sd=function(a){var b=this.c;if(!b||Ub(b,a))return this.a;a=w(a).toString();a in this.g||(this.g[a]=new Vv);return this.g[a]};function cw(a,b,c,d,e,f,g){b=[b,c,d];e=(c=Zv(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;B(e,"change",a.hi,a);return e}
725
- k.Mc=function(a,b,c,d,e){if(this.c&&e&&!Ub(this.c,e)){var f=this.Sd(e);c=[a,b,c];var g;a=this.Tb.apply(this,c);f.b.hasOwnProperty(a)&&(g=f.get(a));b=this.uc;if(g&&g.key==b)return g;var h=this.c,l=this.Jb(h),m=this.Jb(e),n=Zv(this,c,e);d=new Pv(h,l,e,m,c,n,this.qb(d),this.Lf(),function(a,b,c,d){return dw(this,a,b,c,d,h)}.bind(this),this.Ia,this.C);d.key=b;g?(d.a=g,f.replace(a,d)):f.set(a,d);return d}return dw(this,a,b,c,d,e)};
726
- function dw(a,b,c,d,e,f){var g,h=a.Tb(b,c,d),l=a.uc;if(a.a.b.hasOwnProperty(h)){if(g=a.a.get(h),g.key!=l){var m=g;g=cw(a,b,c,d,e,f,l);0==m.W()?g.a=m.a:g.a=m;if(g.a){b=g.a;c=g;do{if(2==b.W()){b.a=null;break}else 1==b.W()?c=b:0==b.W()?c.a=b.a:c=b;b=c.a}while(b)}a.a.replace(h,g)}}else g=cw(a,b,c,d,e,f,l),a.a.set(h,g);return g}k.Ob=function(a){if(this.C!=a){this.C=a;for(var b in this.g)this.g[b].clear();this.s()}};k.Pb=function(a,b){var c=Fb(a);c&&(c=w(c).toString(),c in this.v||(this.v[c]=b))};
727
- function bw(a,b){a.$().src=b};function ew(a){this.A=void 0!==a.hidpi?a.hidpi:!1;W.call(this,{cacheSize:a.cacheSize,crossOrigin:"anonymous",opaque:!0,projection:Fb("EPSG:3857"),reprojectionErrorThreshold:a.reprojectionErrorThreshold,state:"loading",tileLoadFunction:a.tileLoadFunction,tilePixelRatio:this.A?2:1,wrapX:void 0!==a.wrapX?a.wrapX:!0});this.T=void 0!==a.culture?a.culture:"en-us";this.u=void 0!==a.maxZoom?a.maxZoom:-1;this.i=a.key;this.o=a.imagerySet;Ov("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+this.o+"?uriScheme=https&include=ImageryProviders&key="+
728
- this.i,this.ja.bind(this),void 0,"jsonp")}u(ew,W);var fw=new oc({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});ew.prototype.Z=function(){return this.i};ew.prototype.fa=function(){return this.o};
729
- ew.prototype.ja=function(a){if(200!=a.statusCode||"OK"!=a.statusDescription||"ValidCredentials"!=a.authenticationResultCode||1!=a.resourceSets.length||1!=a.resourceSets[0].resources.length)It(this,"error");else{var b=a.brandLogoUri;-1==b.indexOf("https")&&(b=b.replace("http","https"));var c=a.resourceSets[0].resources[0],d=-1==this.u?c.zoomMax:this.u;a=lc(this.c);var e=nc({extent:a,minZoom:c.zoomMin,maxZoom:d,tileSize:(c.imageWidth==c.imageHeight?c.imageWidth:[c.imageWidth,c.imageHeight])/this.qb()});
730
- this.tileGrid=e;var f=this.T,g=this.A;this.tileUrlFunction=Sv(c.imageUrlSubdomains.map(function(a){var b=[0,0,0],d=c.imageUrl.replace("{subdomain}",a).replace("{culture}",f);return function(a){if(a)return Zb(a[0],a[1],-a[2]-1,b),a=d,g&&(a+="&dpi=d1&device=mobile"),a.replace("{quadkey}",$b(b))}}));if(c.imageryProviders){var h=Eb(Fb("EPSG:4326"),this.c);a=c.imageryProviders.map(function(a){var b=a.attribution,c={};a.coverageAreas.forEach(function(a){var b=a.zoomMin,f=Math.min(a.zoomMax,d);a=a.bbox;
731
- a=pb([a[1],a[0],a[3],a[2]],h);var g,l;for(g=b;g<=f;++g)l=g.toString(),b=ec(e,a,g),l in c?c[l].push(b):c[l]=[b]});return new oc({html:b,tileRanges:c})});a.push(fw);this.va(a)}this.S=b;It(this,"ready")}};function gw(a){a=a||{};var b=void 0!==a.projection?a.projection:"EPSG:3857",c=void 0!==a.tileGrid?a.tileGrid:nc({extent:lc(b),maxZoom:a.maxZoom,minZoom:a.minZoom,tileSize:a.tileSize});W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,opaque:a.opaque,projection:b,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:c,tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:a.tileUrlFunction,url:a.url,urls:a.urls,
732
- wrapX:void 0!==a.wrapX?a.wrapX:!0})}u(gw,W);function hw(a){this.u=a.account;this.A=a.map||"";this.i=a.config||{};this.o={};gw.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,maxZoom:void 0!==a.maxZoom?a.maxZoom:18,minZoom:a.minZoom,projection:a.projection,state:"loading",wrapX:a.wrapX});iw(this)}u(hw,gw);k=hw.prototype;k.qk=function(){return this.i};k.Gp=function(a){qb(this.i,a);iw(this)};k.op=function(a){this.i=a||{};iw(this)};
733
- function iw(a){var b=JSON.stringify(a.i);if(a.o[b])jw(a,a.o[b]);else{var c="https://"+a.u+".cartodb.com/api/v1/map";a.A&&(c+="/named/"+a.A);var d=new XMLHttpRequest;d.addEventListener("load",a.kl.bind(a,b));d.addEventListener("error",a.jl.bind(a));d.open("POST",c);d.setRequestHeader("Content-type","application/json");d.send(JSON.stringify(a.i))}}
734
- k.kl=function(a,b){var c=b.target;if(!c.status||200<=c.status&&300>c.status){var d;try{d=JSON.parse(c.responseText)}catch(e){It(this,"error");return}jw(this,d);this.o[a]=d;It(this,"ready")}else It(this,"error")};k.jl=function(){It(this,"error")};function jw(a,b){a.kb("https://"+b.cdn_url.https+"/"+a.u+"/api/v1/map/"+b.layergroupid+"/{z}/{x}/{y}.png")};function X(a){T.call(this,{attributions:a.attributions,extent:a.extent,logo:a.logo,projection:a.projection,wrapX:a.wrapX});this.C=void 0;this.ja=void 0!==a.distance?a.distance:20;this.A=[];this.Sa=a.geometryFunction||function(a){a=a.V();ra(a instanceof F,10);return a};this.u=a.source;this.u.J("change",X.prototype.Pa,this)}u(X,T);X.prototype.mb=function(){return this.u};X.prototype.Vd=function(a,b,c){this.u.Vd(a,b,c);b!==this.C&&(this.clear(),this.C=b,kw(this),this.ed(this.A))};
735
- X.prototype.nb=function(a){this.ja=a;this.Pa()};X.prototype.Pa=function(){this.clear();kw(this);this.ed(this.A);this.s()};function kw(a){if(void 0!==a.C){a.A.length=0;for(var b=Ja(),c=a.ja*a.C,d=a.u.Oe(),e={},f=0,g=d.length;f<g;f++){var h=d[f];w(h).toString()in e||!(h=a.Sa(h))||(h=h.Y(),Xa(h,b),La(b,c,b),h=a.u.If(b),h=h.filter(function(a){a=w(a).toString();return a in e?!1:e[a]=!0}),a.A.push(lw(a,h)))}}}
736
- function lw(a,b){for(var c=[0,0],d=b.length-1;0<=d;--d){var e=a.Sa(b[d]);e?Se(c,e.Y()):b.splice(d,1)}Ye(c,1/b.length);c=new I(new F(c));c.set("features",b);return c};function mw(a,b){var c=[];Object.keys(b).forEach(function(a){null!==b[a]&&void 0!==b[a]&&c.push(a+"="+encodeURIComponent(b[a]))});var d=c.join("&");a=a.replace(/[?&]$/,"");a=-1===a.indexOf("?")?a+"?":a+"&";return a+d};function nw(a){a=a||{};lv.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions});this.T=void 0!==a.crossOrigin?a.crossOrigin:null;this.Z=void 0!==a.hidpi?a.hidpi:!0;this.i=a.url;this.g=a.imageLoadFunction?a.imageLoadFunction:rv;this.v=a.params||{};this.N=null;this.o=[0,0];this.C=0;this.A=void 0!==a.ratio?a.ratio:1.5}u(nw,lv);k=nw.prototype;k.sn=function(){return this.v};
737
- k.Jc=function(a,b,c,d){if(void 0===this.i)return null;b=mv(this,b);c=this.Z?c:1;var e=this.N;if(e&&this.C==this.f&&e.resolution==b&&e.a==c&&Ta(e.D(),a))return e;e={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};qb(e,this.v);a=a.slice();var f=(a[0]+a[2])/2,g=(a[1]+a[3])/2;if(1!=this.A){var h=this.A*ib(a)/2,l=this.A*jb(a)/2;a[0]=f-h;a[1]=g-l;a[2]=f+h;a[3]=g+l}var h=b/c,l=Math.ceil(ib(a)/h),m=Math.ceil(jb(a)/h);a[0]=f-h*l/2;a[2]=f+h*l/2;a[1]=g-h*m/2;a[3]=g+h*m/2;this.o[0]=l;this.o[1]=m;f=a;g=this.o;h=c;d=
738
- d.ob.split(":").pop();e.SIZE=g[0]+","+g[1];e.BBOX=f.join(",");e.BBOXSR=d;e.IMAGESR=d;e.DPI=90*h;d=this.i;f=d.replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage");f==d&&ra(!1,50);e=mw(f,e);this.N=new ts(a,b,c,this.l,e,this.T,this.g);this.C=this.f;B(this.N,"change",this.j,this);return this.N};k.rn=function(){return this.g};k.tn=function(){return this.i};k.vn=function(a){this.N=null;this.g=a;this.s()};k.wn=function(a){a!=this.i&&(this.i=a,this.N=null,this.s())};
739
- k.xn=function(a){qb(this.v,a);this.N=null;this.s()};function ow(a){lv.call(this,{projection:a.projection,resolutions:a.resolutions});this.T=void 0!==a.crossOrigin?a.crossOrigin:null;this.o=void 0!==a.displayDpi?a.displayDpi:96;this.g=a.params||{};this.C=a.url;this.i=a.imageLoadFunction?a.imageLoadFunction:rv;this.Z=void 0!==a.hidpi?a.hidpi:!0;this.ja=void 0!==a.metersPerUnit?a.metersPerUnit:1;this.v=void 0!==a.ratio?a.ratio:1;this.pa=void 0!==a.useOverlay?a.useOverlay:!1;this.N=null;this.A=0}u(ow,lv);k=ow.prototype;k.zn=function(){return this.g};
740
- k.Jc=function(a,b,c){b=mv(this,b);c=this.Z?c:1;var d=this.N;if(d&&this.A==this.f&&d.resolution==b&&d.a==c&&Ta(d.D(),a))return d;1!=this.v&&(a=a.slice(),ob(a,this.v));var e=[ib(a)/b*c,jb(a)/b*c];if(void 0!==this.C){var d=this.C,f=kb(a),g=this.ja,h=ib(a),l=jb(a),m=e[0],n=e[1],p=.0254/this.o,e={OPERATION:this.pa?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.o,SETDISPLAYWIDTH:Math.round(e[0]),SETDISPLAYHEIGHT:Math.round(e[1]),
741
- SETVIEWSCALE:n*h>m*l?h*g/(m*p):l*g/(n*p),SETVIEWCENTERX:f[0],SETVIEWCENTERY:f[1]};qb(e,this.g);d=mw(d,e);d=new ts(a,b,c,this.l,d,this.T,this.i);B(d,"change",this.j,this)}else d=null;this.N=d;this.A=this.f;return d};k.yn=function(){return this.i};k.Bn=function(a){qb(this.g,a);this.s()};k.An=function(a){this.N=null;this.i=a;this.s()};function pw(a){var b=a.imageExtent,c=void 0!==a.crossOrigin?a.crossOrigin:null,d=a.imageLoadFunction?a.imageLoadFunction:rv;lv.call(this,{attributions:a.attributions,logo:a.logo,projection:Fb(a.projection)});this.N=new ts(b,void 0,1,this.l,a.url,c,d);this.i=a.imageSize?a.imageSize:null;B(this.N,"change",this.j,this)}u(pw,lv);pw.prototype.Jc=function(a){return nb(a,this.N.D())?this.N:null};
742
- pw.prototype.j=function(a){if(2==this.N.W()){var b=this.N.D(),c=this.N.$(),d,e;this.i?(d=this.i[0],e=this.i[1]):(d=c.width,e=c.height);b=Math.ceil(ib(b)/(jb(b)/e));if(b!=d){var b=Zc(b,e),f=b.canvas;b.drawImage(c,0,0,d,e,0,0,f.width,f.height);this.N.Ag(f)}}lv.prototype.j.call(this,a)};function qw(a){a=a||{};lv.call(this,{attributions:a.attributions,logo:a.logo,projection:a.projection,resolutions:a.resolutions});this.ja=void 0!==a.crossOrigin?a.crossOrigin:null;this.g=a.url;this.v=a.imageLoadFunction?a.imageLoadFunction:rv;this.i=a.params||{};this.o=!0;rw(this);this.Z=a.serverType;this.pa=void 0!==a.hidpi?a.hidpi:!0;this.N=null;this.A=[0,0];this.T=0;this.C=void 0!==a.ratio?a.ratio:1.5}u(qw,lv);var sw=[101,101];k=qw.prototype;
743
- k.Hn=function(a,b,c,d){if(void 0!==this.g){var e=lb(a,b,0,sw),f={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.i.LAYERS};qb(f,this.i,d);d=Math.floor((e[3]-a[1])/b);f[this.o?"I":"X"]=Math.floor((a[0]-e[0])/b);f[this.o?"J":"Y"]=d;return tw(this,e,sw,1,Fb(c),f)}};k.Jn=function(){return this.i};
744
- k.Jc=function(a,b,c,d){if(void 0===this.g)return null;b=mv(this,b);1==c||this.pa&&void 0!==this.Z||(c=1);var e=b/c,f=kb(a),g=lb(f,b,0,[Math.ceil(ib(a)/e),Math.ceil(jb(a)/e)]);a=lb(f,b,0,[Math.ceil(this.C*ib(a)/e),Math.ceil(this.C*jb(a)/e)]);if((f=this.N)&&this.T==this.f&&f.resolution==b&&f.a==c&&Ta(f.D(),g))return f;g={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};qb(g,this.i);this.A[0]=Math.round(ib(a)/e);this.A[1]=Math.round(jb(a)/e);d=tw(this,a,this.A,c,d,g);
745
- this.N=new ts(a,b,c,this.l,d,this.ja,this.v);this.T=this.f;B(this.N,"change",this.j,this);return this.N};k.In=function(){return this.v};
746
- function tw(a,b,c,d,e,f){ra(void 0!==a.g,9);f[a.o?"CRS":"SRS"]=e.ob;"STYLES"in a.i||(f.STYLES="");if(1!=d)switch(a.Z){case "geoserver":d=90*d+.5|0;f.FORMAT_OPTIONS="FORMAT_OPTIONS"in f?f.FORMAT_OPTIONS+(";dpi:"+d):"dpi:"+d;break;case "mapserver":f.MAP_RESOLUTION=90*d;break;case "carmentaserver":case "qgis":f.DPI=90*d;break;default:ra(!1,8)}f.WIDTH=c[0];f.HEIGHT=c[1];c=e.b;var g;a.o&&"ne"==c.substr(0,2)?g=[b[1],b[0],b[3],b[2]]:g=b;f.BBOX=g.join(",");return mw(a.g,f)}k.Kn=function(){return this.g};
747
- k.Ln=function(a){this.N=null;this.v=a;this.s()};k.Mn=function(a){a!=this.g&&(this.g=a,this.N=null,this.s())};k.Nn=function(a){qb(this.i,a);rw(this);this.N=null;this.s()};function rw(a){a.o=0<=Re(a.i.VERSION||"1.3.0")};function uw(a){a=a||{};var b;void 0!==a.attributions?b=a.attributions:b=[vw];gw.call(this,{attributions:b,cacheSize:a.cacheSize,crossOrigin:void 0!==a.crossOrigin?a.crossOrigin:"anonymous",opaque:void 0!==a.opaque?a.opaque:!0,maxZoom:void 0!==a.maxZoom?a.maxZoom:19,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:a.wrapX})}u(uw,gw);var vw=new oc({html:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});(function(){var a={},b={na:a};(function(c){if("object"===typeof a&&"undefined"!==typeof b)b.na=c();else{var d;"undefined"!==typeof window?d=window:"undefined"!==typeof global?d=global:"undefined"!==typeof self?d=self:d=this;d.cq=c()}})(function(){return function d(a,b,g){function e(h,l){if(!b[h]){if(!a[h]){var m="function"==typeof require&&require;if(!l&&m)return m(h,!0);if(f)return f(h,!0);m=Error("Cannot find module '"+h+"'");throw m.code="MODULE_NOT_FOUND",m;}m=b[h]={na:{}};a[h][0].call(m.na,function(b){var d=
748
- a[h][1][b];return e(d?d:b)},m,m.na,d,a,b,g)}return b[h].na}for(var f="function"==typeof require&&require,m=0;m<g.length;m++)e(g[m]);return e}({1:[function(a,b,f){a=a("./processor");f.zj=a},{"./processor":2}],2:[function(a,b){function d(a){var b=!0;try{new ImageData(10,10)}catch(q){b=!1}return function(d){var e=d.buffers,f=d.meta,g=d.width,h=d.height,l=e.length,m=e[0].byteLength;if(d.imageOps){m=Array(l);for(d=0;d<l;++d){var n=m,p=d,q;q=new Uint8ClampedArray(e[d]);var Oa=g,C=h;q=b?new ImageData(q,
749
- Oa,C):{data:q,width:Oa,height:C};n[p]=q}g=a(m,f).data}else{g=new Uint8ClampedArray(m);h=Array(l);n=Array(l);for(d=0;d<l;++d)h[d]=new Uint8ClampedArray(e[d]),n[d]=[0,0,0,0];for(e=0;e<m;e+=4){for(d=0;d<l;++d)p=h[d],n[d][0]=p[e],n[d][1]=p[e+1],n[d][2]=p[e+2],n[d][3]=p[e+3];d=a(n,f);g[e]=d[0];g[e+1]=d[1];g[e+2]=d[2];g[e+3]=d[3]}}return g.buffer}}function e(a,b){var e=Object.keys(a.lib||{}).map(function(b){return"var "+b+" = "+a.lib[b].toString()+";"}).concat(["var __minion__ = ("+d.toString()+")(",a.operation.toString(),
750
- ");",'self.addEventListener("message", function(event) {'," var buffer = __minion__(event.data);"," self.postMessage({buffer: buffer, meta: event.data.meta}, [buffer]);","});"]),e=URL.createObjectURL(new Blob(e,{type:"text/javascript"})),e=new Worker(e);e.addEventListener("message",b);return e}function h(a,b){var e=d(a.operation);return{postMessage:function(a){setTimeout(function(){b({data:{buffer:e(a),meta:a.meta}})},0)}}}function l(a){this.vf=!!a.Hl;var b;0===a.threads?b=0:this.vf?b=1:b=a.threads||
751
- 1;var d=[];if(b)for(var f=0;f<b;++f)d[f]=e(a,this.Rg.bind(this,f));else d[0]=h(a,this.Rg.bind(this,0));this.me=d;this.Dd=[];this.Nj=a.Ho||Infinity;this.ke=0;this.dd={};this.wf=null}var m=a("./util").am;l.prototype.Fo=function(a,b,d){this.Lj({inputs:a,Dh:b,gd:d});this.Og()};l.prototype.Lj=function(a){for(this.Dd.push(a);this.Dd.length>this.Nj;)this.Dd.shift().gd(null,null)};l.prototype.Og=function(){if(0===this.ke&&0<this.Dd.length){var a=this.wf=this.Dd.shift(),b=a.inputs[0].width,d=a.inputs[0].height,
752
- e=a.inputs.map(function(a){return a.data.buffer}),f=this.me.length;this.ke=f;if(1===f)this.me[0].postMessage({buffers:e,meta:a.Dh,imageOps:this.vf,width:b,height:d},e);else for(var g=4*Math.ceil(a.inputs[0].data.length/4/f),h=0;h<f;++h){for(var l=h*g,m=[],Y=0,Qa=e.length;Y<Qa;++Y)m.push(e[h].slice(l,l+g));this.me[h].postMessage({buffers:m,meta:a.Dh,imageOps:this.vf,width:b,height:d},m)}}};l.prototype.Rg=function(a,b){this.aq||(this.dd[a]=b.data,--this.ke,0===this.ke&&this.Oj())};l.prototype.Oj=function(){var a=
753
- this.wf,b=this.me.length,d,e;if(1===b)d=new Uint8ClampedArray(this.dd[0].buffer),e=this.dd[0].meta;else{var f=a.inputs[0].data.length;d=new Uint8ClampedArray(f);e=Array(f);for(var f=4*Math.ceil(f/4/b),g=0;g<b;++g){var h=g*f;d.set(new Uint8ClampedArray(this.dd[g].buffer),h);e[g]=this.dd[g].meta}}this.wf=null;this.dd={};a.gd(null,m(d,a.inputs[0].width,a.inputs[0].height),e);this.Og()};b.na=l},{"./util":3}],3:[function(a,b,f){var d=!0;try{new ImageData(10,10)}catch(l){d=!1}var e=document.createElement("canvas").getContext("2d");
754
- f.am=function(a,b,f){if(d)return new ImageData(a,b,f);b=e.createImageData(b,f);b.data.set(a);return b}},{}]},{},[1])(1)});Dj=b.na})();function ww(a){this.C=null;this.Ia=void 0!==a.operationType?a.operationType:"pixel";this.Pa=void 0!==a.threads?a.threads:1;this.i=xw(a.sources);for(var b=0,c=this.i.length;b<c;++b)B(this.i[b],"change",this.s,this);this.g=Zc();this.ja=new He(function(){return 1},this.s.bind(this));for(var b=yw(this.i),c={},d=0,e=b.length;d<e;++d)c[w(b[d].layer)]=b[d];this.o=this.v=null;this.Z={animate:!1,attributions:{},coordinateToPixelTransform:wh(),extent:null,focus:null,index:0,layerStates:c,layerStatesArray:b,
755
- logos:{},pixelRatio:1,pixelToCoordinateTransform:wh(),postRenderFunctions:[],size:[0,0],skippedFeatureUids:{},tileQueue:this.ja,time:Date.now(),usedTiles:{},viewState:{rotation:0},viewHints:[],wantedTiles:{}};lv.call(this,{});a.operation&&this.A(a.operation,a.lib)}u(ww,lv);ww.prototype.A=function(a,b){this.C=new Dj.zj({operation:a,Hl:"image"===this.Ia,Ho:1,lib:b,threads:this.Pa});this.s()};function zw(a,b,c){var d=a.v;return!d||a.f!==d.lp||c!==d.resolution||!$a(b,d.extent)}
756
- ww.prototype.$=function(a,b,c,d){c=!0;for(var e,f=0,g=this.i.length;f<g;++f)if(e=this.i[f].a.ma(),"ready"!==e.W()){c=!1;break}if(!c)return null;a=a.slice();if(!zw(this,a,b))return this.o;c=this.g.canvas;e=Math.round(ib(a)/b);f=Math.round(jb(a)/b);if(e!==c.width||f!==c.height)c.width=e,c.height=f;e=qb({},this.Z);e.viewState=qb({},e.viewState);var f=kb(a),g=Math.round(ib(a)/b),h=Math.round(jb(a)/b);e.extent=a;e.focus=kb(a);e.size[0]=g;e.size[1]=h;g=e.viewState;g.center=f;g.projection=d;g.resolution=
757
- b;this.o=d=new us(a,b,1,this.l,c,this.T.bind(this,e));this.v={extent:a,resolution:b,lp:this.f};return d};
758
- ww.prototype.T=function(a,b){for(var c=this.i.length,d=Array(c),e=0;e<c;++e){var f;f=this.i[e];var g=a,h=a.layerStatesArray[e];if(f.rd(g,h)){var l=g.size[0],m=g.size[1];if(Aw){var n=Aw.canvas;n.width!==l||n.height!==m?Aw=Zc(l,m):Aw.clearRect(0,0,l,m)}else Aw=Zc(l,m);f.I(g,h,Aw);f=Aw.getImageData(0,0,l,m)}else f=null;if(f)d[e]=f;else{d=null;break}}d&&(c={},this.b(new Bw(Cw,a,c)),this.C.Fo(d,c,this.pa.bind(this,a,b)));Ie(a.tileQueue,16,16)};
759
- ww.prototype.pa=function(a,b,c,d,e){c?b(c):d&&(this.b(new Bw(Dw,a,e)),zw(this,a.extent,a.viewState.resolution/a.pixelRatio)||this.g.putImageData(d,0,0),b(null))};var Aw=null;function yw(a){return a.map(function(a){return eh(a.a)})}function xw(a){for(var b=a.length,c=Array(b),d=0;d<b;++d){var e=d,f=a[d],g=null;f instanceof Xv?(f=new Hv({source:f}),g=new zv(f)):f instanceof lv&&(f=new yv({source:f}),g=new dv(f));c[e]=g}return c}
760
- function Bw(a,b,c){Cc.call(this,a);this.extent=b.extent;this.resolution=b.viewState.resolution/b.pixelRatio;this.data=c}u(Bw,Cc);ww.prototype.Jc=function(){return null};var Cw="beforeoperations",Dw="afteroperations";function Ew(a){var b=a.layer.indexOf("-"),b=Fw[-1==b?a.layer:a.layer.slice(0,b)],c=Gw[a.layer];gw.call(this,{attributions:Hw,cacheSize:a.cacheSize,crossOrigin:"anonymous",maxZoom:void 0!=a.maxZoom?a.maxZoom:b.maxZoom,minZoom:void 0!=a.minZoom?a.minZoom:b.minZoom,opaque:c.opaque,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileLoadFunction:a.tileLoadFunction,url:void 0!==a.url?a.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+a.layer+"/{z}/{x}/{y}."+c.Ib})}u(Ew,gw);
761
- var Hw=[new oc({html:'Map tiles by <a href="http://stamen.com/">Stamen Design</a>, under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.'}),vw],Gw={terrain:{Ib:"jpg",opaque:!0},"terrain-background":{Ib:"jpg",opaque:!0},"terrain-labels":{Ib:"png",opaque:!1},"terrain-lines":{Ib:"png",opaque:!1},"toner-background":{Ib:"png",opaque:!0},toner:{Ib:"png",opaque:!0},"toner-hybrid":{Ib:"png",opaque:!1},"toner-labels":{Ib:"png",opaque:!1},"toner-lines":{Ib:"png",opaque:!1},"toner-lite":{Ib:"png",
762
- opaque:!0},watercolor:{Ib:"jpg",opaque:!0}},Fw={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:1,maxZoom:16}};function Iw(a){a=a||{};W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0});this.i=a.params||{};this.o=Ja();Yv(this,Jw(this))}u(Iw,W);function Jw(a){var b=0,c=[],d;for(d in a.i)c[b++]=d+"-"+a.i[d];return c.join("/")}Iw.prototype.u=function(){return this.i};
763
- Iw.prototype.qb=function(a){return a};
764
- Iw.prototype.Gc=function(a,b,c){var d=this.tileGrid;d||(d=this.Jb(c));if(!(d.b.length<=a[0])){var e=d.Ua(a,this.o),f=Ha(d.gb(a[0]),this.j);1!=b&&(f=Ga(f,b,this.j));d={F:"image",FORMAT:"PNG32",TRANSPARENT:!0};qb(d,this.i);var g=this.urls;g?(c=c.ob.split(":").pop(),d.SIZE=f[0]+","+f[1],d.BBOX=e.join(","),d.BBOXSR=c,d.IMAGESR=c,d.DPI=Math.round(d.DPI?d.DPI*b:90*b),a=(1==g.length?g[0]:g[Da((a[1]<<a[0])+a[2],g.length)]).replace(/MapServer\/?$/,"MapServer/export").replace(/ImageServer\/?$/,"ImageServer/exportImage"),
765
- a=mw(a,d)):a=void 0;return a}};Iw.prototype.A=function(a){qb(this.i,a);Yv(this,Jw(this))};function Kw(a){Xv.call(this,{opaque:!1,projection:a.projection,tileGrid:a.tileGrid,wrapX:void 0!==a.wrapX?a.wrapX:!0})}u(Kw,Xv);Kw.prototype.Mc=function(a,b,c){var d=this.Tb(a,b,c);if(this.a.b.hasOwnProperty(d))return this.a.get(d);var e=Ha(this.tileGrid.gb(a));a=[a,b,c];b=(b=Zv(this,a))?Zv(this,b).toString():"";e=new Lw(a,e,b);this.a.set(d,e);return e};function Lw(a,b,c){vs.call(this,a,2);this.c=b;this.Ga=c;this.f=null}u(Lw,vs);
766
- Lw.prototype.$=function(){if(this.f)return this.f;var a=this.c,b=Zc(a[0],a[1]);b.strokeStyle="black";b.strokeRect(.5,.5,a[0]+.5,a[1]+.5);b.fillStyle="black";b.textAlign="center";b.textBaseline="middle";b.font="24px sans-serif";b.fillText(this.Ga,a[0]/2,a[1]/2);return this.f=b.canvas};Lw.prototype.load=function(){};function Mw(a){this.i=null;W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,projection:Fb("EPSG:3857"),reprojectionErrorThreshold:a.reprojectionErrorThreshold,state:"loading",tileLoadFunction:a.tileLoadFunction,wrapX:void 0!==a.wrapX?a.wrapX:!0});if(a.jsonp)Ov(a.url,this.ei.bind(this),this.Me.bind(this));else{var b=new XMLHttpRequest;b.addEventListener("load",this.Pn.bind(this));b.addEventListener("error",this.On.bind(this));b.open("GET",a.url);b.send()}}
767
- u(Mw,W);k=Mw.prototype;k.Pn=function(a){a=a.target;if(!a.status||200<=a.status&&300>a.status){var b;try{b=JSON.parse(a.responseText)}catch(c){this.Me();return}this.ei(b)}else this.Me()};k.On=function(){this.Me()};k.Wk=function(){return this.i};
768
- k.ei=function(a){var b=Fb("EPSG:4326"),c=this.c,d;if(a.bounds){var e=Eb(b,c);d=pb(a.bounds,e)}var f=a.minzoom||0,e=a.maxzoom||22;this.tileGrid=c=nc({extent:lc(c),maxZoom:e,minZoom:f});this.tileUrlFunction=Rv(a.tiles,c);if(void 0!==a.attribution&&!this.l){b=void 0!==d?d:b.D();d={};for(var g;f<=e;++f)g=f.toString(),d[g]=[ec(c,b,f)];this.va([new oc({html:a.attribution,tileRanges:d})])}this.i=a;It(this,"ready")};k.Me=function(){It(this,"error")};function Nw(a){Xv.call(this,{projection:Fb("EPSG:3857"),state:"loading"});this.v=void 0!==a.preemptive?a.preemptive:!0;this.o=Tv;this.g=void 0;this.i=a.jsonp||!1;if(a.url)if(this.i)Ov(a.url,this.cg.bind(this),this.Ne.bind(this));else{var b=new XMLHttpRequest;b.addEventListener("load",this.Tn.bind(this));b.addEventListener("error",this.Sn.bind(this));b.open("GET",a.url);b.send()}else a.tileJSON?this.cg(a.tileJSON):ra(!1,51)}u(Nw,Xv);k=Nw.prototype;
769
- k.Tn=function(a){a=a.target;if(!a.status||200<=a.status&&300>a.status){var b;try{b=JSON.parse(a.responseText)}catch(c){this.Ne();return}this.cg(b)}else this.Ne()};k.Sn=function(){this.Ne()};k.Tk=function(){return this.g};k.ek=function(a,b,c,d,e){this.tileGrid?(b=this.tileGrid.xe(a,b),Ow(this.Mc(b[0],b[1],b[2],1,this.c),a,c,d,e)):!0===e?setTimeout(function(){c.call(d,null)},0):c.call(d,null)};k.Ne=function(){It(this,"error")};
770
- k.cg=function(a){var b=Fb("EPSG:4326"),c=this.c,d;if(a.bounds){var e=Eb(b,c);d=pb(a.bounds,e)}var f=a.minzoom||0,e=a.maxzoom||22;this.tileGrid=c=nc({extent:lc(c),maxZoom:e,minZoom:f});this.g=a.template;var g=a.grids;if(g){this.o=Rv(g,c);if(void 0!==a.attribution){b=void 0!==d?d:b.D();for(d={};f<=e;++f)g=f.toString(),d[g]=[ec(c,b,f)];this.va([new oc({html:a.attribution,tileRanges:d})])}It(this,"ready")}else It(this,"error")};
771
- k.Mc=function(a,b,c,d,e){var f=this.Tb(a,b,c);if(this.a.b.hasOwnProperty(f))return this.a.get(f);a=[a,b,c];b=Zv(this,a,e);d=this.o(b,d,e);d=new Pw(a,void 0!==d?0:4,void 0!==d?d:"",this.tileGrid.Ua(a),this.v,this.i);this.a.set(f,d);return d};k.Fg=function(a,b,c){a=this.Tb(a,b,c);this.a.b.hasOwnProperty(a)&&this.a.get(a)};function Pw(a,b,c,d,e,f){vs.call(this,a,b);this.o=c;this.f=d;this.I=e;this.c=this.j=this.g=null;this.v=f}u(Pw,vs);k=Pw.prototype;k.$=function(){return null};
772
- k.getData=function(a){if(!this.g||!this.j)return null;var b=this.g[Math.floor((1-(a[1]-this.f[1])/(this.f[3]-this.f[1]))*this.g.length)];if("string"!==typeof b)return null;b=b.charCodeAt(Math.floor((a[0]-this.f[0])/(this.f[2]-this.f[0])*b.length));93<=b&&b--;35<=b&&b--;b-=32;a=null;b in this.j&&(b=this.j[b],this.c&&b in this.c?a=this.c[b]:a=b);return a};
773
- function Ow(a,b,c,d,e){0==a.state&&!0===e?(xc(a,"change",function(){c.call(d,this.getData(b))},a),Qw(a)):!0===e?setTimeout(function(){c.call(d,this.getData(b))}.bind(a),0):c.call(d,a.getData(b))}k.jb=function(){return this.o};k.ye=function(){this.state=3;this.s()};k.fi=function(a){this.g=a.grid;this.j=a.keys;this.c=a.data;this.state=4;this.s()};
774
- function Qw(a){if(0==a.state)if(a.state=1,a.v)Ov(a.o,a.fi.bind(a),a.ye.bind(a));else{var b=new XMLHttpRequest;b.addEventListener("load",a.Rn.bind(a));b.addEventListener("error",a.Qn.bind(a));b.open("GET",a.o);b.send()}}k.Rn=function(a){a=a.target;if(!a.status||200<=a.status&&300>a.status){var b;try{b=JSON.parse(a.responseText)}catch(c){this.ye();return}this.fi(b)}else this.ye()};k.Qn=function(){this.ye()};k.load=function(){this.I&&Qw(this)};function Rw(a){a=a||{};var b=a.params||{};W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,opaque:!("TRANSPARENT"in b?b.TRANSPARENT:1),projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction,url:a.url,urls:a.urls,wrapX:void 0!==a.wrapX?a.wrapX:!0});this.u=void 0!==a.gutter?a.gutter:0;this.i=b;this.o=!0;this.A=a.serverType;this.Z=void 0!==a.hidpi?a.hidpi:!0;this.T="";
775
- Sw(this);this.fa=Ja();Tw(this);Yv(this,Uw(this))}u(Rw,W);k=Rw.prototype;
776
- k.Un=function(a,b,c,d){c=Fb(c);var e=this.tileGrid;e||(e=this.Jb(c));b=e.xe(a,b);if(!(e.b.length<=b[0])){var f=e.Ma(b[0]),g=e.Ua(b,this.fa),e=Ha(e.gb(b[0]),this.j),h=this.u;h&&(e=Fa(e,h,this.j),g=La(g,f*h,g));h={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.i.LAYERS};qb(h,this.i,d);d=Math.floor((g[3]-a[1])/f);h[this.o?"I":"X"]=Math.floor((a[0]-g[0])/f);h[this.o?"J":"Y"]=d;return Vw(this,b,e,g,1,c,h)}};k.Lf=function(){return this.u};
777
- k.Tb=function(a,b,c){return this.T+W.prototype.Tb.call(this,a,b,c)};k.Vn=function(){return this.i};
778
- function Vw(a,b,c,d,e,f,g){var h=a.urls;if(h){g.WIDTH=c[0];g.HEIGHT=c[1];g[a.o?"CRS":"SRS"]=f.ob;"STYLES"in a.i||(g.STYLES="");if(1!=e)switch(a.A){case "geoserver":c=90*e+.5|0;g.FORMAT_OPTIONS="FORMAT_OPTIONS"in g?g.FORMAT_OPTIONS+(";dpi:"+c):"dpi:"+c;break;case "mapserver":g.MAP_RESOLUTION=90*e;break;case "carmentaserver":case "qgis":g.DPI=90*e;break;default:ra(!1,52)}f=f.b;a.o&&"ne"==f.substr(0,2)&&(a=d[0],d[0]=d[1],d[1]=a,a=d[2],d[2]=d[3],d[3]=a);g.BBOX=d.join(",");return mw(1==h.length?h[0]:h[Da((b[1]<<
779
- b[0])+b[2],h.length)],g)}}k.qb=function(a){return this.Z&&void 0!==this.A?a:1};function Sw(a){var b=0,c=[];if(a.urls){var d,e;d=0;for(e=a.urls.length;d<e;++d)c[b++]=a.urls[d]}a.T=c.join("#")}function Uw(a){var b=0,c=[],d;for(d in a.i)c[b++]=d+"-"+a.i[d];return c.join("/")}
780
- k.Gc=function(a,b,c){var d=this.tileGrid;d||(d=this.Jb(c));if(!(d.b.length<=a[0])){1==b||this.Z&&void 0!==this.A||(b=1);var e=d.Ma(a[0]),f=d.Ua(a,this.fa),d=Ha(d.gb(a[0]),this.j),g=this.u;g&&(d=Fa(d,g,this.j),f=La(f,e*g,f));1!=b&&(d=Ga(d,b,this.j));e={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0};qb(e,this.i);return Vw(this,a,d,f,b,c,e)}};k.eb=function(a){W.prototype.eb.call(this,a);Sw(this)};k.Wn=function(a){qb(this.i,a);Sw(this);Tw(this);Yv(this,Uw(this))};
781
- function Tw(a){a.o=0<=Re(a.i.VERSION||"1.3.0")};function Ww(a,b,c,d,e){vs.call(this,a,b);this.c=Zc();this.j=d;this.g=null;this.f={Md:!1,xg:null,bf:-1,yg:-1,wd:null};this.I=e;this.o=c}u(Ww,vs);k=Ww.prototype;k.$=function(){return-1==this.f.yg?null:this.c.canvas};k.sm=function(){return this.j};k.jb=function(){return this.o};k.load=function(){0==this.state&&(this.state=1,this.s(),this.I(this,this.o),this.v(null,NaN,null))};k.qo=function(a,b){this.Yf(b);this.Ii(a)};k.po=function(){this.state=3;this.s()};k.Ii=function(a){this.g=a;this.state=2;this.s()};
782
- k.Yf=function(a){this.l=a};k.Ni=function(a){this.v=a};function Xw(a,b){a.Ni(Al(b,a.j,a.qo.bind(a),a.po.bind(a)))};function Yw(a){aw.call(this,{attributions:a.attributions,cacheSize:void 0!==a.cacheSize?a.cacheSize:128,extent:a.extent,logo:a.logo,opaque:!1,projection:a.projection,state:a.state,tileGrid:a.tileGrid,tileLoadFunction:a.tileLoadFunction?a.tileLoadFunction:Xw,tileUrlFunction:a.tileUrlFunction,tilePixelRatio:a.tilePixelRatio,url:a.url,urls:a.urls,wrapX:void 0===a.wrapX?!0:a.wrapX});this.i=a.format?a.format:null;this.g=void 0==a.overlaps?!0:a.overlaps;this.tileClass=a.tileClass?a.tileClass:Ww}u(Yw,aw);
783
- Yw.prototype.Mc=function(a,b,c,d,e){var f=this.Tb(a,b,c);if(this.a.b.hasOwnProperty(f))return this.a.get(f);a=[a,b,c];d=(b=Zv(this,a,e))?this.tileUrlFunction(b,d,e):void 0;d=new this.tileClass(a,void 0!==d?0:4,void 0!==d?d:"",this.i,this.tileLoadFunction);B(d,"change",this.hi,this);this.a.set(f,d);return d};Yw.prototype.qb=function(a){return void 0==a?aw.prototype.qb.call(this,a):a};Yw.prototype.Td=function(a,b){var c=Ha(this.tileGrid.gb(a));return[Math.round(c[0]*b),Math.round(c[1]*b)]};function Zw(a){this.j=a.matrixIds;ac.call(this,{extent:a.extent,origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes,sizes:a.sizes})}u(Zw,ac);Zw.prototype.o=function(){return this.j};
784
- function $w(a,b,c){var d=[],e=[],f=[],g=[],h=[],l=void 0!==c?c:[];c=Fb(a.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var m=c.tc(),n="ne"==c.b.substr(0,2);a.TileMatrix.sort(function(a,b){return b.ScaleDenominator-a.ScaleDenominator});a.TileMatrix.forEach(function(a){var b;0<l.length?b=ia(l,function(b){return a.Identifier==b.TileMatrix}):b=!0;if(b){e.push(a.Identifier);b=2.8E-4*a.ScaleDenominator/m;var c=a.TileWidth,p=a.TileHeight;n?f.push([a.TopLeftCorner[1],a.TopLeftCorner[0]]):
785
- f.push(a.TopLeftCorner);d.push(b);g.push(c==p?c:[c,p]);h.push([a.MatrixWidth,-a.MatrixHeight])}});return new Zw({extent:b,origins:f,resolutions:d,matrixIds:e,tileSizes:g,sizes:h})};function Z(a){function b(a){a="KVP"==d?mw(a,f):a.replace(/\{(\w+?)\}/g,function(a,b){return b.toLowerCase()in f?f[b.toLowerCase()]:a});return function(b){if(b){var c={TileMatrix:e.j[b[0]],TileCol:b[1],TileRow:-b[2]-1};qb(c,g);b=a;return b="KVP"==d?mw(b,c):b.replace(/\{(\w+?)\}/g,function(a,b){return c[b]})}}}this.fa=void 0!==a.version?a.version:"1.0.0";this.u=void 0!==a.format?a.format:"image/jpeg";this.i=a.dimensions?a.dimensions:{};this.A=a.layer;this.o=a.matrixSet;this.T=a.style;var c=a.urls;void 0===
786
- c&&void 0!==a.url&&(c=Uv(a.url));var d=this.Z=void 0!==a.requestEncoding?a.requestEncoding:"KVP",e=a.tileGrid,f={layer:this.A,style:this.T,tilematrixset:this.o};"KVP"==d&&qb(f,{Service:"WMTS",Request:"GetTile",Version:this.fa,Format:this.u});var g=this.i,h=c&&0<c.length?Sv(c.map(b)):Tv;W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileClass:a.tileClass,tileGrid:e,
787
- tileLoadFunction:a.tileLoadFunction,tilePixelRatio:a.tilePixelRatio,tileUrlFunction:h,urls:c,wrapX:void 0!==a.wrapX?a.wrapX:!1});Yv(this,ax(this))}u(Z,W);k=Z.prototype;k.sk=function(){return this.i};k.Xn=function(){return this.u};k.Yn=function(){return this.A};k.Gk=function(){return this.o};k.Rk=function(){return this.Z};k.Zn=function(){return this.T};k.Yk=function(){return this.fa};function ax(a){var b=0,c=[],d;for(d in a.i)c[b++]=d+"-"+a.i[d];return c.join("/")}
788
- k.Hp=function(a){qb(this.i,a);Yv(this,ax(this))};function bx(a){a=a||{};var b=a.size,c=b[0],d=b[1],e=[],f=256;switch(void 0!==a.tierSizeCalculation?a.tierSizeCalculation:cx){case cx:for(;c>f||d>f;)e.push([Math.ceil(c/f),Math.ceil(d/f)]),f+=f;break;case dx:for(;c>f||d>f;)e.push([Math.ceil(c/f),Math.ceil(d/f)]),c>>=1,d>>=1;break;default:ra(!1,53)}e.push([1,1]);e.reverse();for(var f=[1],g=[0],d=1,c=e.length;d<c;d++)f.push(1<<d),g.push(e[d-1][0]*e[d-1][1]+g[d-1]);f.reverse();var b=[0,-b[1],b[0],0],b=new ac({extent:b,origin:fb(b),resolutions:f}),h=a.url;
789
- W.call(this,{attributions:a.attributions,cacheSize:a.cacheSize,crossOrigin:a.crossOrigin,logo:a.logo,projection:a.projection,reprojectionErrorThreshold:a.reprojectionErrorThreshold,tileClass:ex,tileGrid:b,tileUrlFunction:function(a){if(a){var b=a[0],c=a[1];a=-a[2]-1;return h+"TileGroup"+((c+a*e[b][0]+g[b])/256|0)+"/"+b+"-"+c+"-"+a+".jpg"}}})}u(bx,W);function ex(a,b,c,d,e){xs.call(this,a,b,c,d,e);this.f=null}u(ex,xs);
790
- ex.prototype.$=function(){if(this.f)return this.f;var a=xs.prototype.$.call(this);if(2==this.state){if(256==a.width&&256==a.height)return this.f=a;var b=Zc(256,256);b.drawImage(a,0,0);return this.f=b.canvas}return a};var cx="default",dx="truncated";function fx(a,b){this.b=b;this.a=[{x:0,y:0,width:a,height:a}];this.c={};this.f=Zc(a,a);this.i=this.f.canvas}fx.prototype.get=function(a){return this.c[a]||null};
791
- fx.prototype.add=function(a,b,c,d,e){var f,g,h;g=0;for(h=this.a.length;g<h;++g)if(f=this.a[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.i},this.c[a]=h,d.call(e,this.f,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},gx(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},gx(this,
792
- a,c,b)),h;return null};function gx(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.a.splice.apply(a.a,b)};function hx(a){a=a||{};this.a=void 0!==a.initialSize?a.initialSize:256;this.f=void 0!==a.maxSize?a.maxSize:void 0!==ca?ca:2048;this.b=void 0!==a.space?a.space:1;this.i=[new fx(this.a,this.b)];this.c=this.a;this.g=[new fx(this.c,this.b)]}hx.prototype.add=function(a,b,c,d,e,f){if(b+this.b>this.f||c+this.b>this.f)return null;d=ix(this,!1,a,b,c,d,f);if(!d)return null;a=ix(this,!0,a,b,c,e?e:oa,f);return{offsetX:d.offsetX,offsetY:d.offsetY,image:d.image,Gl:a.image}};
793
- function ix(a,b,c,d,e,f,g){var h=b?a.g:a.i,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.c,a.f),a.c=l):(l=Math.min(2*a.a,a.f),a.a=l),l=new fx(l,a.b),h.push(l),++n)}return null};qa.prototype.code=qa.prototype.code;t("ol.Attribution",oc);oc.prototype.getHTML=oc.prototype.f;t("ol.Collection",D);D.prototype.clear=D.prototype.clear;D.prototype.extend=D.prototype.Uf;D.prototype.forEach=D.prototype.forEach;D.prototype.getArray=D.prototype.bm;D.prototype.item=D.prototype.item;D.prototype.getLength=D.prototype.fc;D.prototype.insertAt=D.prototype.Ce;D.prototype.pop=D.prototype.pop;D.prototype.push=D.prototype.push;D.prototype.remove=D.prototype.remove;D.prototype.removeAt=D.prototype.ug;
794
- D.prototype.setAt=D.prototype.np;Pc.prototype.element=Pc.prototype.element;t("ol.color.asArray",Sc);t("ol.color.asString",Uc);t("ol.colorlike.asColorLike",Xc);t("ol.control.defaults",pd);t("ol.coordinate.add",Se);t("ol.coordinate.createStringXY",function(a){return function(b){return bf(b,a)}});t("ol.coordinate.format",Ve);t("ol.coordinate.rotate",Xe);t("ol.coordinate.toStringHDMS",function(a,b){return a?Ue(a[1],"NS",b)+" "+Ue(a[0],"EW",b):""});t("ol.coordinate.toStringXY",bf);
795
- t("ol.DeviceOrientation",Pk);Pk.prototype.getAlpha=Pk.prototype.kk;Pk.prototype.getBeta=Pk.prototype.nk;Pk.prototype.getGamma=Pk.prototype.vk;Pk.prototype.getHeading=Pk.prototype.cm;Pk.prototype.getTracking=Pk.prototype.Gh;Pk.prototype.setTracking=Pk.prototype.Vf;t("ol.easing.easeIn",gd);t("ol.easing.easeOut",hd);t("ol.easing.inAndOut",id);t("ol.easing.linear",jd);t("ol.easing.upAndDown",function(a){return.5>a?id(2*a):1-id(2*(a-.5))});t("ol.extent.boundingExtent",Ia);t("ol.extent.buffer",La);
796
- t("ol.extent.containsCoordinate",Ra);t("ol.extent.containsExtent",Ta);t("ol.extent.containsXY",Sa);t("ol.extent.createEmpty",Ja);t("ol.extent.equals",$a);t("ol.extent.extend",ab);t("ol.extent.getBottomLeft",cb);t("ol.extent.getBottomRight",db);t("ol.extent.getCenter",kb);t("ol.extent.getHeight",jb);t("ol.extent.getIntersection",mb);t("ol.extent.getSize",function(a){return[a[2]-a[0],a[3]-a[1]]});t("ol.extent.getTopLeft",fb);t("ol.extent.getTopRight",eb);t("ol.extent.getWidth",ib);
797
- t("ol.extent.intersects",nb);t("ol.extent.isEmpty",hb);t("ol.extent.applyTransform",pb);t("ol.Feature",I);I.prototype.clone=I.prototype.clone;I.prototype.getGeometry=I.prototype.V;I.prototype.getId=I.prototype.em;I.prototype.getGeometryName=I.prototype.xk;I.prototype.getStyle=I.prototype.fm;I.prototype.getStyleFunction=I.prototype.Oc;I.prototype.setGeometry=I.prototype.Ta;I.prototype.setStyle=I.prototype.Wf;I.prototype.setId=I.prototype.lc;I.prototype.setGeometryName=I.prototype.Wc;
798
- t("ol.featureloader.xhr",Bl);t("ol.Geolocation",hs);hs.prototype.getAccuracy=hs.prototype.ik;hs.prototype.getAccuracyGeometry=hs.prototype.jk;hs.prototype.getAltitude=hs.prototype.lk;hs.prototype.getAltitudeAccuracy=hs.prototype.mk;hs.prototype.getHeading=hs.prototype.gm;hs.prototype.getPosition=hs.prototype.hm;hs.prototype.getProjection=hs.prototype.Hh;hs.prototype.getSpeed=hs.prototype.Sk;hs.prototype.getTracking=hs.prototype.Ih;hs.prototype.getTrackingOptions=hs.prototype.uh;
799
- hs.prototype.setProjection=hs.prototype.Jh;hs.prototype.setTracking=hs.prototype.Fe;hs.prototype.setTrackingOptions=hs.prototype.Ti;t("ol.Graticule",ns);ns.prototype.getMap=ns.prototype.km;ns.prototype.getMeridians=ns.prototype.Hk;ns.prototype.getParallels=ns.prototype.Ok;ns.prototype.setMap=ns.prototype.setMap;t("ol.has.DEVICE_PIXEL_RATIO",Md);t("ol.has.CANVAS",Od);t("ol.has.DEVICE_ORIENTATION",Pd);t("ol.has.GEOLOCATION",Qd);t("ol.has.TOUCH",Rd);t("ol.has.WEBGL",Gd);ts.prototype.getImage=ts.prototype.$;
800
- ts.prototype.load=ts.prototype.load;xs.prototype.getImage=xs.prototype.$;t("ol.inherits",u);t("ol.interaction.defaults",ch);t("ol.Kinetic",$f);t("ol.loadingstrategy.all",Ft);t("ol.loadingstrategy.bbox",function(a){return[a]});t("ol.loadingstrategy.tile",function(a){return function(b,c){var d=a.Nc(c),e=ec(a,b,d),f=[],d=[d,0,0];for(d[1]=e.ea;d[1]<=e.ca;++d[1])for(d[2]=e.ga;d[2]<=e.ka;++d[2])f.push(a.Ua(d));return f}});t("ol.Map",H);H.prototype.addControl=H.prototype.Sj;H.prototype.addInteraction=H.prototype.Tj;
801
- H.prototype.addLayer=H.prototype.Tg;H.prototype.addOverlay=H.prototype.Ug;H.prototype.forEachFeatureAtPixel=H.prototype.se;H.prototype.forEachLayerAtPixel=H.prototype.qm;H.prototype.hasFeatureAtPixel=H.prototype.Fl;H.prototype.getEventCoordinate=H.prototype.tk;H.prototype.getEventPixel=H.prototype.ue;H.prototype.getTarget=H.prototype.Pf;H.prototype.getTargetElement=H.prototype.Lc;H.prototype.getCoordinateFromPixel=H.prototype.$a;H.prototype.getControls=H.prototype.rk;H.prototype.getOverlays=H.prototype.Mk;
802
- H.prototype.getOverlayById=H.prototype.Lk;H.prototype.getInteractions=H.prototype.yk;H.prototype.getLayerGroup=H.prototype.Kc;H.prototype.getLayers=H.prototype.Kh;H.prototype.getPixelFromCoordinate=H.prototype.La;H.prototype.getSize=H.prototype.Nb;H.prototype.getView=H.prototype.aa;H.prototype.getViewport=H.prototype.Zk;H.prototype.renderSync=H.prototype.jp;H.prototype.render=H.prototype.render;H.prototype.removeControl=H.prototype.bp;H.prototype.removeInteraction=H.prototype.cp;
803
- H.prototype.removeLayer=H.prototype.fp;H.prototype.removeOverlay=H.prototype.gp;H.prototype.setLayerGroup=H.prototype.Mi;H.prototype.setSize=H.prototype.Bg;H.prototype.setTarget=H.prototype.Ge;H.prototype.setView=H.prototype.wp;H.prototype.updateSize=H.prototype.yd;Bd.prototype.originalEvent=Bd.prototype.originalEvent;Bd.prototype.pixel=Bd.prototype.pixel;Bd.prototype.coordinate=Bd.prototype.coordinate;Bd.prototype.dragging=Bd.prototype.dragging;Ad.prototype.map=Ad.prototype.map;
804
- Ad.prototype.frameState=Ad.prototype.frameState;t("ol.Object",Ic);Ic.prototype.get=Ic.prototype.get;Ic.prototype.getKeys=Ic.prototype.P;Ic.prototype.getProperties=Ic.prototype.O;Ic.prototype.set=Ic.prototype.set;Ic.prototype.setProperties=Ic.prototype.H;Ic.prototype.unset=Ic.prototype.R;Mc.prototype.key=Mc.prototype.key;Mc.prototype.oldValue=Mc.prototype.oldValue;t("ol.Observable",Gc);t("ol.Observable.unByKey",Hc);Gc.prototype.changed=Gc.prototype.s;Gc.prototype.dispatchEvent=Gc.prototype.b;
805
- Gc.prototype.getRevision=Gc.prototype.L;Gc.prototype.on=Gc.prototype.J;Gc.prototype.once=Gc.prototype.once;Gc.prototype.un=Gc.prototype.K;Gc.prototype.unByKey=Gc.prototype.M;t("ol.Overlay",qk);qk.prototype.getElement=qk.prototype.te;qk.prototype.getId=qk.prototype.rm;qk.prototype.getMap=qk.prototype.He;qk.prototype.getOffset=qk.prototype.rh;qk.prototype.getPosition=qk.prototype.Lh;qk.prototype.getPositioning=qk.prototype.sh;qk.prototype.setElement=qk.prototype.Hi;qk.prototype.setMap=qk.prototype.setMap;
806
- qk.prototype.setOffset=qk.prototype.Oi;qk.prototype.setPosition=qk.prototype.Xf;qk.prototype.setPositioning=qk.prototype.Ri;t("ol.proj.METERS_PER_UNIT",wb);t("ol.proj.setProj4",function(a){xb=a});t("ol.proj.getPointResolution",Db);t("ol.proj.addEquivalentProjections",Hb);t("ol.proj.addProjection",Qb);t("ol.proj.addCoordinateTransforms",Sb);t("ol.proj.fromLonLat",function(a,b){return Xb(a,"EPSG:4326",void 0!==b?b:"EPSG:3857")});
807
- t("ol.proj.toLonLat",function(a,b){return Xb(a,void 0!==b?b:"EPSG:3857","EPSG:4326")});t("ol.proj.get",Fb);t("ol.proj.equivalent",Ub);t("ol.proj.getTransform",Vb);t("ol.proj.transform",Xb);t("ol.proj.transformExtent",Yb);t("ol.render.toContext",function(a,b){var c=a.canvas,d=b?b:{},e=d.pixelRatio||Md;if(d=d.size)c.width=d[0]*e,c.height=d[1]*e,c.style.width=d[0]+"px",c.style.height=d[1]+"px";c=[0,0,c.width,c.height];d=Dh(wh(),e,e);return new Sh(a,e,c,d,0)});t("ol.size.toSize",Ha);t("ol.Sphere",ub);
808
- ub.prototype.geodesicArea=ub.prototype.a;ub.prototype.haversineDistance=ub.prototype.b;vs.prototype.getTileCoord=vs.prototype.i;vs.prototype.load=vs.prototype.load;t("ol.tilegrid.createXYZ",nc);Ww.prototype.getFormat=Ww.prototype.sm;Ww.prototype.setFeatures=Ww.prototype.Ii;Ww.prototype.setProjection=Ww.prototype.Yf;Ww.prototype.setLoader=Ww.prototype.Ni;t("ol.View",Rf);Rf.prototype.animate=Rf.prototype.animate;Rf.prototype.constrainCenter=Rf.prototype.Fc;Rf.prototype.constrainResolution=Rf.prototype.constrainResolution;
809
- Rf.prototype.constrainRotation=Rf.prototype.constrainRotation;Rf.prototype.getCenter=Rf.prototype.Ca;Rf.prototype.calculateExtent=Rf.prototype.fd;Rf.prototype.getMaxResolution=Rf.prototype.tm;Rf.prototype.getMinResolution=Rf.prototype.um;Rf.prototype.getProjection=Rf.prototype.vm;Rf.prototype.getResolution=Rf.prototype.Va;Rf.prototype.getResolutions=Rf.prototype.wm;Rf.prototype.getRotation=Rf.prototype.Wa;Rf.prototype.getZoom=Rf.prototype.al;Rf.prototype.fit=Rf.prototype.Gf;
810
- Rf.prototype.centerOn=Rf.prototype.ak;Rf.prototype.rotate=Rf.prototype.rotate;Rf.prototype.setCenter=Rf.prototype.xb;Rf.prototype.setResolution=Rf.prototype.Yc;Rf.prototype.setRotation=Rf.prototype.Ie;Rf.prototype.setZoom=Rf.prototype.zp;t("ol.xml.getAllTextContent",jl);t("ol.xml.parse",nl);Ji.prototype.getGL=Ji.prototype.mo;Ji.prototype.useProgram=Ji.prototype.Sc;t("ol.tilegrid.TileGrid",ac);ac.prototype.forEachTileCoord=ac.prototype.fh;ac.prototype.getMaxZoom=ac.prototype.ph;
811
- ac.prototype.getMinZoom=ac.prototype.qh;ac.prototype.getOrigin=ac.prototype.Rc;ac.prototype.getResolution=ac.prototype.Ma;ac.prototype.getResolutions=ac.prototype.pi;ac.prototype.getTileCoordExtent=ac.prototype.Ua;ac.prototype.getTileCoordForCoordAndResolution=ac.prototype.xe;ac.prototype.getTileCoordForCoordAndZ=ac.prototype.Qf;ac.prototype.getTileSize=ac.prototype.gb;ac.prototype.getZForResolution=ac.prototype.Nc;t("ol.tilegrid.WMTS",Zw);Zw.prototype.getMatrixIds=Zw.prototype.o;
812
- t("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",$w);t("ol.style.AtlasManager",hx);t("ol.style.Circle",Yk);Yk.prototype.setRadius=Yk.prototype.Xc;t("ol.style.Fill",Zk);Zk.prototype.clone=Zk.prototype.clone;Zk.prototype.getColor=Zk.prototype.f;Zk.prototype.setColor=Zk.prototype.c;t("ol.style.Icon",Rn);Rn.prototype.clone=Rn.prototype.clone;Rn.prototype.getAnchor=Rn.prototype.Ic;Rn.prototype.getColor=Rn.prototype.$n;Rn.prototype.getImage=Rn.prototype.$;Rn.prototype.getOrigin=Rn.prototype.Qc;
813
- Rn.prototype.getSrc=Rn.prototype.ao;Rn.prototype.getSize=Rn.prototype.kc;Rn.prototype.load=Rn.prototype.load;t("ol.style.Image",Vk);Vk.prototype.getOpacity=Vk.prototype.Qe;Vk.prototype.getRotateWithView=Vk.prototype.Re;Vk.prototype.getRotation=Vk.prototype.Se;Vk.prototype.getScale=Vk.prototype.Te;Vk.prototype.getSnapToPixel=Vk.prototype.we;Vk.prototype.setOpacity=Vk.prototype.sd;Vk.prototype.setRotation=Vk.prototype.Ue;Vk.prototype.setScale=Vk.prototype.td;t("ol.style.RegularShape",Wk);
814
- Wk.prototype.clone=Wk.prototype.clone;Wk.prototype.getAnchor=Wk.prototype.Ic;Wk.prototype.getAngle=Wk.prototype.li;Wk.prototype.getFill=Wk.prototype.Da;Wk.prototype.getImage=Wk.prototype.$;Wk.prototype.getOrigin=Wk.prototype.Qc;Wk.prototype.getPoints=Wk.prototype.mi;Wk.prototype.getRadius=Wk.prototype.ni;Wk.prototype.getRadius2=Wk.prototype.th;Wk.prototype.getSize=Wk.prototype.kc;Wk.prototype.getStroke=Wk.prototype.Ea;t("ol.style.Stroke",rj);rj.prototype.clone=rj.prototype.clone;
815
- rj.prototype.getColor=rj.prototype.bo;rj.prototype.getLineCap=rj.prototype.Bk;rj.prototype.getLineDash=rj.prototype.co;rj.prototype.getLineDashOffset=rj.prototype.Ck;rj.prototype.getLineJoin=rj.prototype.Dk;rj.prototype.getMiterLimit=rj.prototype.Ik;rj.prototype.getWidth=rj.prototype.eo;rj.prototype.setColor=rj.prototype.fo;rj.prototype.setLineCap=rj.prototype.rp;rj.prototype.setLineDash=rj.prototype.setLineDash;rj.prototype.setLineDashOffset=rj.prototype.sp;rj.prototype.setLineJoin=rj.prototype.tp;
816
- rj.prototype.setMiterLimit=rj.prototype.up;rj.prototype.setWidth=rj.prototype.xp;t("ol.style.Style",$k);$k.prototype.clone=$k.prototype.clone;$k.prototype.getGeometry=$k.prototype.V;$k.prototype.getGeometryFunction=$k.prototype.wk;$k.prototype.getFill=$k.prototype.Da;$k.prototype.setFill=$k.prototype.df;$k.prototype.getImage=$k.prototype.$;$k.prototype.setImage=$k.prototype.Ag;$k.prototype.getStroke=$k.prototype.Ea;$k.prototype.setStroke=$k.prototype.ef;$k.prototype.getText=$k.prototype.Qa;
817
- $k.prototype.setText=$k.prototype.ff;$k.prototype.getZIndex=$k.prototype.Aa;$k.prototype.setGeometry=$k.prototype.Ta;$k.prototype.setZIndex=$k.prototype.Xb;t("ol.style.Text",Sn);Sn.prototype.clone=Sn.prototype.clone;Sn.prototype.getFont=Sn.prototype.uk;Sn.prototype.getOffsetX=Sn.prototype.Jk;Sn.prototype.getOffsetY=Sn.prototype.Kk;Sn.prototype.getFill=Sn.prototype.Da;Sn.prototype.getRotateWithView=Sn.prototype.ho;Sn.prototype.getRotation=Sn.prototype.io;Sn.prototype.getScale=Sn.prototype.jo;
818
- Sn.prototype.getStroke=Sn.prototype.Ea;Sn.prototype.getText=Sn.prototype.Qa;Sn.prototype.getTextAlign=Sn.prototype.Uk;Sn.prototype.getTextBaseline=Sn.prototype.Vk;Sn.prototype.setFont=Sn.prototype.Ji;Sn.prototype.setOffsetX=Sn.prototype.Pi;Sn.prototype.setOffsetY=Sn.prototype.Qi;Sn.prototype.setFill=Sn.prototype.df;Sn.prototype.setRotation=Sn.prototype.ko;Sn.prototype.setScale=Sn.prototype.oi;Sn.prototype.setStroke=Sn.prototype.ef;Sn.prototype.setText=Sn.prototype.ff;Sn.prototype.setTextAlign=Sn.prototype.Si;
819
- Sn.prototype.setTextBaseline=Sn.prototype.vp;t("ol.source.BingMaps",ew);t("ol.source.BingMaps.TOS_ATTRIBUTION",fw);ew.prototype.getApiKey=ew.prototype.Z;ew.prototype.getImagerySet=ew.prototype.fa;t("ol.source.CartoDB",hw);hw.prototype.getConfig=hw.prototype.qk;hw.prototype.updateConfig=hw.prototype.Gp;hw.prototype.setConfig=hw.prototype.op;t("ol.source.Cluster",X);X.prototype.getSource=X.prototype.mb;X.prototype.setDistance=X.prototype.nb;t("ol.source.Image",lv);nv.prototype.image=nv.prototype.image;
820
- t("ol.source.ImageArcGISRest",nw);nw.prototype.getParams=nw.prototype.sn;nw.prototype.getImageLoadFunction=nw.prototype.rn;nw.prototype.getUrl=nw.prototype.tn;nw.prototype.setImageLoadFunction=nw.prototype.vn;nw.prototype.setUrl=nw.prototype.wn;nw.prototype.updateParams=nw.prototype.xn;t("ol.source.ImageCanvas",sv);t("ol.source.ImageMapGuide",ow);ow.prototype.getParams=ow.prototype.zn;ow.prototype.getImageLoadFunction=ow.prototype.yn;ow.prototype.updateParams=ow.prototype.Bn;
821
- ow.prototype.setImageLoadFunction=ow.prototype.An;t("ol.source.ImageStatic",pw);t("ol.source.ImageVector",tv);tv.prototype.getSource=tv.prototype.Cn;tv.prototype.getStyle=tv.prototype.Dn;tv.prototype.getStyleFunction=tv.prototype.En;tv.prototype.setStyle=tv.prototype.di;t("ol.source.ImageWMS",qw);qw.prototype.getGetFeatureInfoUrl=qw.prototype.Hn;qw.prototype.getParams=qw.prototype.Jn;qw.prototype.getImageLoadFunction=qw.prototype.In;qw.prototype.getUrl=qw.prototype.Kn;
822
- qw.prototype.setImageLoadFunction=qw.prototype.Ln;qw.prototype.setUrl=qw.prototype.Mn;qw.prototype.updateParams=qw.prototype.Nn;t("ol.source.OSM",uw);t("ol.source.OSM.ATTRIBUTION",vw);t("ol.source.Raster",ww);ww.prototype.setOperation=ww.prototype.A;Bw.prototype.extent=Bw.prototype.extent;Bw.prototype.resolution=Bw.prototype.resolution;Bw.prototype.data=Bw.prototype.data;t("ol.source.Source",Gt);Gt.prototype.getAttributions=Gt.prototype.ya;Gt.prototype.getLogo=Gt.prototype.xa;
823
- Gt.prototype.getProjection=Gt.prototype.za;Gt.prototype.getState=Gt.prototype.W;Gt.prototype.refresh=Gt.prototype.wa;Gt.prototype.setAttributions=Gt.prototype.va;t("ol.source.Stamen",Ew);t("ol.source.Tile",Xv);Xv.prototype.getTileGrid=Xv.prototype.bb;$v.prototype.tile=$v.prototype.tile;t("ol.source.TileArcGISRest",Iw);Iw.prototype.getParams=Iw.prototype.u;Iw.prototype.updateParams=Iw.prototype.A;t("ol.source.TileDebug",Kw);t("ol.source.TileImage",W);W.prototype.setRenderReprojectionEdges=W.prototype.Ob;
824
- W.prototype.setTileGridForProjection=W.prototype.Pb;t("ol.source.TileJSON",Mw);Mw.prototype.getTileJSON=Mw.prototype.Wk;t("ol.source.TileUTFGrid",Nw);Nw.prototype.getTemplate=Nw.prototype.Tk;Nw.prototype.forDataAtCoordinateAndResolution=Nw.prototype.ek;t("ol.source.TileWMS",Rw);Rw.prototype.getGetFeatureInfoUrl=Rw.prototype.Un;Rw.prototype.getParams=Rw.prototype.Vn;Rw.prototype.updateParams=Rw.prototype.Wn;aw.prototype.getTileLoadFunction=aw.prototype.pb;aw.prototype.getTileUrlFunction=aw.prototype.rb;
825
- aw.prototype.getUrls=aw.prototype.sb;aw.prototype.setTileLoadFunction=aw.prototype.yb;aw.prototype.setTileUrlFunction=aw.prototype.cb;aw.prototype.setUrl=aw.prototype.kb;aw.prototype.setUrls=aw.prototype.eb;t("ol.source.Vector",T);T.prototype.addFeature=T.prototype.Ab;T.prototype.addFeatures=T.prototype.ed;T.prototype.clear=T.prototype.clear;T.prototype.forEachFeature=T.prototype.dh;T.prototype.forEachFeatureInExtent=T.prototype.bc;T.prototype.forEachFeatureIntersectingExtent=T.prototype.eh;
826
- T.prototype.getFeaturesCollection=T.prototype.mh;T.prototype.getFeatures=T.prototype.Oe;T.prototype.getFeaturesAtCoordinate=T.prototype.lh;T.prototype.getFeaturesInExtent=T.prototype.If;T.prototype.getClosestFeatureToCoordinate=T.prototype.hh;T.prototype.getExtent=T.prototype.D;T.prototype.getFeatureById=T.prototype.kh;T.prototype.getFormat=T.prototype.ii;T.prototype.getUrl=T.prototype.ji;T.prototype.removeFeature=T.prototype.Eb;Nt.prototype.feature=Nt.prototype.feature;t("ol.source.VectorTile",Yw);
827
- t("ol.source.WMTS",Z);Z.prototype.getDimensions=Z.prototype.sk;Z.prototype.getFormat=Z.prototype.Xn;Z.prototype.getLayer=Z.prototype.Yn;Z.prototype.getMatrixSet=Z.prototype.Gk;Z.prototype.getRequestEncoding=Z.prototype.Rk;Z.prototype.getStyle=Z.prototype.Zn;Z.prototype.getVersion=Z.prototype.Yk;Z.prototype.updateDimensions=Z.prototype.Hp;
828
- t("ol.source.WMTS.optionsFromCapabilities",function(a,b){var c=ia(a.Contents.Layer,function(a){return a.Identifier==b.layer}),d=a.Contents.TileMatrixSet,e,f,g;e=1<c.TileMatrixSetLink.length?"projection"in b?ma(c.TileMatrixSetLink,function(a){var c=ia(d,function(b){return b.Identifier==a.TileMatrixSet}).SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"),e=Fb(c),f=Fb(b.projection);return e&&f?Ub(e,f):c==b.projection}):ma(c.TileMatrixSetLink,function(a){return a.TileMatrixSet==b.matrixSet}):
829
- 0;0>e&&(e=0);f=c.TileMatrixSetLink[e].TileMatrixSet;g=c.TileMatrixSetLink[e].TileMatrixSetLimits;var h=c.Format[0];"format"in b&&(h=b.format);e=ma(c.Style,function(a){return"style"in b?a.Title==b.style:a.isDefault});0>e&&(e=0);e=c.Style[e].Identifier;var l={};"Dimension"in c&&c.Dimension.forEach(function(a){var b=a.Identifier,c=a.Default;void 0===c&&(c=a.Value[0]);l[b]=c});var m=ia(a.Contents.TileMatrixSet,function(a){return a.Identifier==f}),n;n="projection"in b?Fb(b.projection):Fb(m.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,
830
- "$1:$3"));var p=c.WGS84BoundingBox,q,r;void 0!==p&&(r=Fb("EPSG:4326").D(),r=p[0]==r[0]&&p[2]==r[2],q=Yb(p,"EPSG:4326",n),(p=n.D())&&(Ta(p,q)||(q=void 0)));g=$w(m,q,g);var v=[],m=b.requestEncoding,m=void 0!==m?m:"";if("OperationsMetadata"in a&&"GetTile"in a.OperationsMetadata){q=a.OperationsMetadata.GetTile.DCP.HTTP.Get;for(var p=0,x=q.length;p<x;++p){var y=ia(q[p].Constraint,function(a){return"GetEncoding"==a.name}).AllowedValues.Value;""===m&&(m=y[0]);if("KVP"===m)fa(y,"KVP")&&v.push(q[p].href);
831
- else break}}v.length||(m="REST",c.ResourceURL.forEach(function(a){"tile"===a.resourceType&&(h=a.format,v.push(a.template))}));return{urls:v,layer:b.layer,matrixSet:f,format:h,projection:n,requestEncoding:m,tileGrid:g,style:e,dimensions:l,wrapX:r}});t("ol.source.XYZ",gw);t("ol.source.Zoomify",bx);Mh.prototype.vectorContext=Mh.prototype.vectorContext;Mh.prototype.frameState=Mh.prototype.frameState;Mh.prototype.context=Mh.prototype.context;Mh.prototype.glContext=Mh.prototype.glContext;
832
- Yp.prototype.get=Yp.prototype.get;Yp.prototype.getExtent=Yp.prototype.D;Yp.prototype.getGeometry=Yp.prototype.V;Yp.prototype.getProperties=Yp.prototype.nn;Yp.prototype.getType=Yp.prototype.U;t("ol.render.VectorContext",Rh);ik.prototype.setStyle=ik.prototype.qd;ik.prototype.drawGeometry=ik.prototype.nc;ik.prototype.drawFeature=ik.prototype.pe;Sh.prototype.drawCircle=Sh.prototype.ac;Sh.prototype.setStyle=Sh.prototype.qd;Sh.prototype.drawGeometry=Sh.prototype.nc;Sh.prototype.drawFeature=Sh.prototype.pe;
833
- t("ol.proj.common.add",qh);t("ol.proj.Projection",yb);yb.prototype.getCode=yb.prototype.pk;yb.prototype.getExtent=yb.prototype.D;yb.prototype.getUnits=yb.prototype.Kb;yb.prototype.getMetersPerUnit=yb.prototype.tc;yb.prototype.getWorldExtent=yb.prototype.$k;yb.prototype.isGlobal=yb.prototype.Ll;yb.prototype.setGlobal=yb.prototype.qp;yb.prototype.setExtent=yb.prototype.mn;yb.prototype.setWorldExtent=yb.prototype.yp;yb.prototype.setGetPointResolution=yb.prototype.pp;
834
- t("ol.proj.Units.METERS_PER_UNIT",wb);t("ol.layer.Base",dh);dh.prototype.getExtent=dh.prototype.D;dh.prototype.getMaxResolution=dh.prototype.hc;dh.prototype.getMinResolution=dh.prototype.ic;dh.prototype.getOpacity=dh.prototype.jc;dh.prototype.getVisible=dh.prototype.Lb;dh.prototype.getZIndex=dh.prototype.Aa;dh.prototype.setExtent=dh.prototype.vc;dh.prototype.setMaxResolution=dh.prototype.Ac;dh.prototype.setMinResolution=dh.prototype.Bc;dh.prototype.setOpacity=dh.prototype.wc;
835
- dh.prototype.setVisible=dh.prototype.xc;dh.prototype.setZIndex=dh.prototype.Xb;t("ol.layer.Group",fh);fh.prototype.getLayers=fh.prototype.pd;fh.prototype.setLayers=fh.prototype.Th;t("ol.layer.Heatmap",U);U.prototype.getBlur=U.prototype.gh;U.prototype.getGradient=U.prototype.nh;U.prototype.getRadius=U.prototype.Uh;U.prototype.setBlur=U.prototype.Fi;U.prototype.setGradient=U.prototype.Li;U.prototype.setRadius=U.prototype.Xc;t("ol.layer.Image",yv);yv.prototype.getSource=yv.prototype.ma;
836
- t("ol.layer.Layer",rh);rh.prototype.getSource=rh.prototype.ma;rh.prototype.setMap=rh.prototype.setMap;rh.prototype.setSource=rh.prototype.Zc;t("ol.layer.Tile",Hv);Hv.prototype.getPreload=Hv.prototype.Qd;Hv.prototype.getSource=Hv.prototype.ma;Hv.prototype.setPreload=Hv.prototype.Vh;Hv.prototype.getUseInterimTilesOnError=Hv.prototype.Ud;Hv.prototype.setUseInterimTilesOnError=Hv.prototype.Wh;t("ol.layer.Vector",S);S.prototype.getSource=S.prototype.ma;S.prototype.getStyle=S.prototype.C;
837
- S.prototype.getStyleFunction=S.prototype.G;S.prototype.setStyle=S.prototype.g;t("ol.layer.VectorTile",V);V.prototype.getPreload=V.prototype.Qd;V.prototype.getUseInterimTilesOnError=V.prototype.Ud;V.prototype.setPreload=V.prototype.Xh;V.prototype.setUseInterimTilesOnError=V.prototype.Yh;t("ol.interaction.DoubleClickZoom",eg);t("ol.interaction.DoubleClickZoom.handleEvent",fg);t("ol.interaction.DragAndDrop",zs);t("ol.interaction.DragAndDrop.handleEvent",cf);Cs.prototype.features=Cs.prototype.features;
838
- Cs.prototype.file=Cs.prototype.file;Cs.prototype.projection=Cs.prototype.projection;t("ol.interaction.DragBox",Dg);Dg.prototype.getGeometry=Dg.prototype.V;Ig.prototype.coordinate=Ig.prototype.coordinate;Ig.prototype.mapBrowserEvent=Ig.prototype.mapBrowserEvent;t("ol.interaction.DragPan",sg);t("ol.interaction.DragRotate",wg);t("ol.interaction.DragRotateAndZoom",Es);t("ol.interaction.DragZoom",Mg);t("ol.interaction.Draw",Qt);t("ol.interaction.Draw.handleEvent",St);Qt.prototype.removeLastPoint=Qt.prototype.ep;
839
- Qt.prototype.finishDrawing=Qt.prototype.Od;Qt.prototype.extend=Qt.prototype.Pm;t("ol.interaction.Draw.createRegularPolygon",function(a,b){return function(c,d){var e=c[0],f=c[1],g=Math.sqrt(Ze(e,f)),h=d?d:Pf(new is(e),a);Qf(h,e,g,b?b:Math.atan((f[1]-e[1])/(f[0]-e[0])));return h}});t("ol.interaction.Draw.createBox",function(){return function(a,b){var c=Ia(a),d=b||new G(null);d.qa([[cb(c),db(c),eb(c),fb(c),cb(c)]]);return d}});eu.prototype.feature=eu.prototype.feature;t("ol.interaction.Extent",gu);
840
- gu.prototype.getExtent=gu.prototype.D;gu.prototype.setExtent=gu.prototype.g;ru.prototype.extent_=ru.prototype.b;t("ol.interaction.Interaction",ag);ag.prototype.getActive=ag.prototype.c;ag.prototype.getMap=ag.prototype.i;ag.prototype.setActive=ag.prototype.Ja;t("ol.interaction.KeyboardPan",Ng);t("ol.interaction.KeyboardPan.handleEvent",Og);t("ol.interaction.KeyboardZoom",Pg);t("ol.interaction.KeyboardZoom.handleEvent",Qg);t("ol.interaction.Modify",tu);t("ol.interaction.Modify.handleEvent",wu);
841
- tu.prototype.removePoint=tu.prototype.Di;Bu.prototype.features=Bu.prototype.features;Bu.prototype.mapBrowserEvent=Bu.prototype.mapBrowserEvent;t("ol.interaction.MouseWheelZoom",Rg);t("ol.interaction.MouseWheelZoom.handleEvent",Sg);Rg.prototype.setMouseAnchor=Rg.prototype.T;t("ol.interaction.PinchRotate",Vg);t("ol.interaction.PinchZoom",Zg);t("ol.interaction.Pointer",pg);t("ol.interaction.Pointer.handleEvent",qg);t("ol.interaction.Select",Ju);Ju.prototype.getFeatures=Ju.prototype.Zm;
842
- Ju.prototype.getHitTolerance=Ju.prototype.$m;Ju.prototype.getLayer=Ju.prototype.an;t("ol.interaction.Select.handleEvent",Ku);Ju.prototype.setHitTolerance=Ju.prototype.cn;Ju.prototype.setMap=Ju.prototype.setMap;Mu.prototype.selected=Mu.prototype.selected;Mu.prototype.deselected=Mu.prototype.deselected;Mu.prototype.mapBrowserEvent=Mu.prototype.mapBrowserEvent;t("ol.interaction.Snap",Ou);Ou.prototype.addFeature=Ou.prototype.Ab;Ou.prototype.removeFeature=Ou.prototype.Eb;t("ol.interaction.Translate",Su);
843
- Su.prototype.getHitTolerance=Su.prototype.G;Su.prototype.setHitTolerance=Su.prototype.S;Yu.prototype.features=Yu.prototype.features;Yu.prototype.coordinate=Yu.prototype.coordinate;t("ol.geom.Circle",is);is.prototype.clone=is.prototype.clone;is.prototype.getCenter=is.prototype.Ca;is.prototype.getRadius=is.prototype.Wd;is.prototype.getType=is.prototype.U;is.prototype.intersectsExtent=is.prototype.Ya;is.prototype.setCenter=is.prototype.xb;is.prototype.setCenterAndRadius=is.prototype.zg;
844
- is.prototype.setRadius=is.prototype.Xc;is.prototype.transform=is.prototype.ub;t("ol.geom.Geometry",ef);ef.prototype.getClosestPoint=ef.prototype.Bb;ef.prototype.intersectsCoordinate=ef.prototype.tb;ef.prototype.getExtent=ef.prototype.D;ef.prototype.rotate=ef.prototype.rotate;ef.prototype.scale=ef.prototype.scale;ef.prototype.simplify=ef.prototype.Qb;ef.prototype.transform=ef.prototype.ub;t("ol.geom.GeometryCollection",qm);qm.prototype.clone=qm.prototype.clone;qm.prototype.getGeometries=qm.prototype.Jf;
845
- qm.prototype.getType=qm.prototype.U;qm.prototype.intersectsExtent=qm.prototype.Ya;qm.prototype.setGeometries=qm.prototype.Ki;qm.prototype.applyTransform=qm.prototype.Ec;qm.prototype.translate=qm.prototype.translate;t("ol.geom.LinearRing",zf);zf.prototype.clone=zf.prototype.clone;zf.prototype.getArea=zf.prototype.Lm;zf.prototype.getCoordinates=zf.prototype.Y;zf.prototype.getType=zf.prototype.U;zf.prototype.setCoordinates=zf.prototype.qa;t("ol.geom.LineString",N);N.prototype.appendCoordinate=N.prototype.Uj;
846
- N.prototype.clone=N.prototype.clone;N.prototype.forEachSegment=N.prototype.hk;N.prototype.getCoordinateAtM=N.prototype.Jm;N.prototype.getCoordinates=N.prototype.Y;N.prototype.getCoordinateAt=N.prototype.ih;N.prototype.getLength=N.prototype.Km;N.prototype.getType=N.prototype.U;N.prototype.intersectsExtent=N.prototype.Ya;N.prototype.setCoordinates=N.prototype.qa;t("ol.geom.MultiLineString",O);O.prototype.appendLineString=O.prototype.Vj;O.prototype.clone=O.prototype.clone;
847
- O.prototype.getCoordinateAtM=O.prototype.Mm;O.prototype.getCoordinates=O.prototype.Y;O.prototype.getLineString=O.prototype.Ek;O.prototype.getLineStrings=O.prototype.jd;O.prototype.getType=O.prototype.U;O.prototype.intersectsExtent=O.prototype.Ya;O.prototype.setCoordinates=O.prototype.qa;t("ol.geom.MultiPoint",P);P.prototype.appendPoint=P.prototype.Xj;P.prototype.clone=P.prototype.clone;P.prototype.getCoordinates=P.prototype.Y;P.prototype.getPoint=P.prototype.Pk;P.prototype.getPoints=P.prototype.Je;
848
- P.prototype.getType=P.prototype.U;P.prototype.intersectsExtent=P.prototype.Ya;P.prototype.setCoordinates=P.prototype.qa;t("ol.geom.MultiPolygon",Q);Q.prototype.appendPolygon=Q.prototype.Yj;Q.prototype.clone=Q.prototype.clone;Q.prototype.getArea=Q.prototype.Nm;Q.prototype.getCoordinates=Q.prototype.Y;Q.prototype.getInteriorPoints=Q.prototype.Ak;Q.prototype.getPolygon=Q.prototype.Qk;Q.prototype.getPolygons=Q.prototype.Pd;Q.prototype.getType=Q.prototype.U;Q.prototype.intersectsExtent=Q.prototype.Ya;
849
- Q.prototype.setCoordinates=Q.prototype.qa;t("ol.geom.Point",F);F.prototype.clone=F.prototype.clone;F.prototype.getCoordinates=F.prototype.Y;F.prototype.getType=F.prototype.U;F.prototype.intersectsExtent=F.prototype.Ya;F.prototype.setCoordinates=F.prototype.qa;t("ol.geom.Polygon",G);G.prototype.appendLinearRing=G.prototype.Wj;G.prototype.clone=G.prototype.clone;G.prototype.getArea=G.prototype.Om;G.prototype.getCoordinates=G.prototype.Y;G.prototype.getInteriorPoint=G.prototype.zk;
850
- G.prototype.getLinearRingCount=G.prototype.Fk;G.prototype.getLinearRing=G.prototype.oh;G.prototype.getLinearRings=G.prototype.kd;G.prototype.getType=G.prototype.U;G.prototype.intersectsExtent=G.prototype.Ya;G.prototype.setCoordinates=G.prototype.qa;t("ol.geom.Polygon.circular",Nf);t("ol.geom.Polygon.fromExtent",Of);t("ol.geom.Polygon.fromCircle",Pf);t("ol.geom.SimpleGeometry",E);E.prototype.getFirstCoordinate=E.prototype.cc;E.prototype.getLastCoordinate=E.prototype.dc;E.prototype.getLayout=E.prototype.ec;
851
- E.prototype.applyTransform=E.prototype.Ec;E.prototype.translate=E.prototype.translate;t("ol.format.EsriJSON",Ol);Ol.prototype.readFeature=Ol.prototype.Vb;Ol.prototype.readFeatures=Ol.prototype.Ra;Ol.prototype.readGeometry=Ol.prototype.Uc;Ol.prototype.readProjection=Ol.prototype.lb;Ol.prototype.writeGeometry=Ol.prototype.cd;Ol.prototype.writeGeometryObject=Ol.prototype.fe;Ol.prototype.writeFeature=Ol.prototype.zd;Ol.prototype.writeFeatureObject=Ol.prototype.bd;Ol.prototype.writeFeatures=Ol.prototype.Yb;
852
- Ol.prototype.writeFeaturesObject=Ol.prototype.de;t("ol.format.Feature",Cl);t("ol.format.filter.and",om);t("ol.format.filter.or",function(a){var b=[null].concat(Array.prototype.slice.call(arguments));return new (Function.prototype.bind.apply(mm,b))});t("ol.format.filter.not",function(a){return new km(a)});t("ol.format.filter.bbox",pm);t("ol.format.filter.intersects",function(a,b,c){return new em(a,b,c)});t("ol.format.filter.within",function(a,b,c){return new nm(a,b,c)});
853
- t("ol.format.filter.equalTo",function(a,b,c){return new am(a,b,c)});t("ol.format.filter.notEqualTo",function(a,b,c){return new lm(a,b,c)});t("ol.format.filter.lessThan",function(a,b){return new im(a,b)});t("ol.format.filter.lessThanOrEqualTo",function(a,b){return new jm(a,b)});t("ol.format.filter.greaterThan",function(a,b){return new bm(a,b)});t("ol.format.filter.greaterThanOrEqualTo",function(a,b){return new cm(a,b)});t("ol.format.filter.isNull",function(a){return new hm(a)});
854
- t("ol.format.filter.between",function(a,b,c){return new fm(a,b,c)});t("ol.format.filter.like",function(a,b,c,d,e,f){return new gm(a,b,c,d,e,f)});t("ol.format.GeoJSON",um);um.prototype.readFeature=um.prototype.Vb;um.prototype.readFeatures=um.prototype.Ra;um.prototype.readGeometry=um.prototype.Uc;um.prototype.readProjection=um.prototype.lb;um.prototype.writeFeature=um.prototype.zd;um.prototype.writeFeatureObject=um.prototype.bd;um.prototype.writeFeatures=um.prototype.Yb;
855
- um.prototype.writeFeaturesObject=um.prototype.de;um.prototype.writeGeometry=um.prototype.cd;um.prototype.writeGeometryObject=um.prototype.fe;t("ol.format.GML",Pm);Pm.prototype.writeFeatures=Pm.prototype.Yb;Pm.prototype.writeFeaturesNode=Pm.prototype.Zb;t("ol.format.GML2",Ym);t("ol.format.GML3",Pm);Pm.prototype.writeGeometryNode=Pm.prototype.ee;Pm.prototype.writeFeatures=Pm.prototype.Yb;Pm.prototype.writeFeaturesNode=Pm.prototype.Zb;Cm.prototype.readFeatures=Cm.prototype.Ra;t("ol.format.GPX",Zm);
856
- Zm.prototype.readFeature=Zm.prototype.Vb;Zm.prototype.readFeatures=Zm.prototype.Ra;Zm.prototype.readProjection=Zm.prototype.lb;Zm.prototype.writeFeatures=Zm.prototype.Yb;Zm.prototype.writeFeaturesNode=Zm.prototype.Zb;t("ol.format.IGC",Kn);Kn.prototype.readFeature=Kn.prototype.Vb;Kn.prototype.readFeatures=Kn.prototype.Ra;Kn.prototype.readProjection=Kn.prototype.lb;t("ol.format.KML",Tn);Tn.prototype.readFeature=Tn.prototype.Vb;Tn.prototype.readFeatures=Tn.prototype.Ra;Tn.prototype.readName=Tn.prototype.So;
857
- Tn.prototype.readNetworkLinks=Tn.prototype.To;Tn.prototype.readRegion=Tn.prototype.Wo;Tn.prototype.readRegionFromNode=Tn.prototype.af;Tn.prototype.readProjection=Tn.prototype.lb;Tn.prototype.writeFeatures=Tn.prototype.Yb;Tn.prototype.writeFeaturesNode=Tn.prototype.Zb;t("ol.format.MVT",Zp);Zp.prototype.readFeatures=Zp.prototype.Ra;Zp.prototype.readProjection=Zp.prototype.lb;Zp.prototype.setLayers=Zp.prototype.Im;t("ol.format.OSMXML",aq);aq.prototype.readFeatures=aq.prototype.Ra;
858
- aq.prototype.readProjection=aq.prototype.lb;t("ol.format.Polyline",Aq);t("ol.format.Polyline.encodeDeltas",Bq);t("ol.format.Polyline.decodeDeltas",Dq);t("ol.format.Polyline.encodeFloats",Cq);t("ol.format.Polyline.decodeFloats",Eq);Aq.prototype.readFeature=Aq.prototype.Vb;Aq.prototype.readFeatures=Aq.prototype.Ra;Aq.prototype.readGeometry=Aq.prototype.Uc;Aq.prototype.readProjection=Aq.prototype.lb;Aq.prototype.writeGeometry=Aq.prototype.cd;t("ol.format.TopoJSON",Fq);Fq.prototype.readFeatures=Fq.prototype.Ra;
859
- Fq.prototype.readProjection=Fq.prototype.lb;t("ol.format.WFS",Lq);Lq.prototype.readFeatures=Lq.prototype.Ra;Lq.prototype.readTransactionResponse=Lq.prototype.j;Lq.prototype.readFeatureCollectionMetadata=Lq.prototype.l;Lq.prototype.writeGetFeature=Lq.prototype.o;Lq.prototype.writeTransaction=Lq.prototype.v;Lq.prototype.readProjection=Lq.prototype.lb;t("ol.format.WKT",cr);cr.prototype.readFeature=cr.prototype.Vb;cr.prototype.readFeatures=cr.prototype.Ra;cr.prototype.readGeometry=cr.prototype.Uc;
860
- cr.prototype.writeFeature=cr.prototype.zd;cr.prototype.writeFeatures=cr.prototype.Yb;cr.prototype.writeGeometry=cr.prototype.cd;t("ol.format.WMSCapabilities",vr);vr.prototype.read=vr.prototype.read;t("ol.format.WMSGetFeatureInfo",Sr);Sr.prototype.readFeatures=Sr.prototype.Ra;t("ol.format.WMTSCapabilities",Tr);Tr.prototype.read=Tr.prototype.read;t("ol.format.filter.And",Xl);t("ol.format.filter.Bbox",Yl);t("ol.format.filter.Comparison",Zl);t("ol.format.filter.ComparisonBinary",$l);
861
- t("ol.format.filter.EqualTo",am);t("ol.format.filter.Filter",Vl);t("ol.format.filter.GreaterThan",bm);t("ol.format.filter.GreaterThanOrEqualTo",cm);t("ol.format.filter.Intersects",em);t("ol.format.filter.IsBetween",fm);t("ol.format.filter.IsLike",gm);t("ol.format.filter.IsNull",hm);t("ol.format.filter.LessThan",im);t("ol.format.filter.LessThanOrEqualTo",jm);t("ol.format.filter.Not",km);t("ol.format.filter.NotEqualTo",lm);t("ol.format.filter.Or",mm);t("ol.format.filter.Spatial",dm);
862
- t("ol.format.filter.Within",nm);t("ol.events.condition.altKeyOnly",function(a){a=a.originalEvent;return a.altKey&&!(a.metaKey||a.ctrlKey)&&!a.shiftKey});t("ol.events.condition.altShiftKeysOnly",gg);t("ol.events.condition.always",cf);t("ol.events.condition.click",function(a){return"click"==a.type});t("ol.events.condition.never",df);t("ol.events.condition.pointerMove",ig);t("ol.events.condition.singleClick",jg);t("ol.events.condition.doubleClick",function(a){return"dblclick"==a.type});
863
- t("ol.events.condition.noModifierKeys",kg);t("ol.events.condition.platformModifierKeyOnly",function(a){a=a.originalEvent;return!a.altKey&&(Ld?a.metaKey:a.ctrlKey)&&!a.shiftKey});t("ol.events.condition.shiftKeyOnly",lg);t("ol.events.condition.targetNotEditable",mg);t("ol.events.condition.mouseOnly",ng);t("ol.events.condition.primaryAction",og);Cc.prototype.type=Cc.prototype.type;Cc.prototype.target=Cc.prototype.target;Cc.prototype.preventDefault=Cc.prototype.preventDefault;
864
- Cc.prototype.stopPropagation=Cc.prototype.stopPropagation;t("ol.control.Attribution",cd);t("ol.control.Attribution.render",ed);cd.prototype.getCollapsible=cd.prototype.ym;cd.prototype.setCollapsible=cd.prototype.Bm;cd.prototype.setCollapsed=cd.prototype.Am;cd.prototype.getCollapsed=cd.prototype.xm;t("ol.control.Control",bd);bd.prototype.getMap=bd.prototype.g;bd.prototype.setMap=bd.prototype.setMap;bd.prototype.setTarget=bd.prototype.i;t("ol.control.FullScreen",qd);t("ol.control.MousePosition",vd);
865
- t("ol.control.MousePosition.render",wd);vd.prototype.getCoordinateFormat=vd.prototype.jh;vd.prototype.getProjection=vd.prototype.Mh;vd.prototype.setCoordinateFormat=vd.prototype.Gi;vd.prototype.setProjection=vd.prototype.Nh;t("ol.control.OverviewMap",zk);t("ol.control.OverviewMap.render",Ak);zk.prototype.getCollapsible=zk.prototype.Em;zk.prototype.setCollapsible=zk.prototype.Hm;zk.prototype.setCollapsed=zk.prototype.Gm;zk.prototype.getCollapsed=zk.prototype.Dm;zk.prototype.getOverviewMap=zk.prototype.Nk;
866
- t("ol.control.Rotate",kd);t("ol.control.Rotate.render",ld);t("ol.control.ScaleLine",Ek);Ek.prototype.getUnits=Ek.prototype.Kb;t("ol.control.ScaleLine.render",Fk);Ek.prototype.setUnits=Ek.prototype.G;t("ol.control.Zoom",md);t("ol.control.ZoomSlider",Jk);t("ol.control.ZoomSlider.render",Lk);t("ol.control.ZoomToExtent",Ok);Ic.prototype.changed=Ic.prototype.s;Ic.prototype.dispatchEvent=Ic.prototype.b;Ic.prototype.getRevision=Ic.prototype.L;Ic.prototype.on=Ic.prototype.J;Ic.prototype.once=Ic.prototype.once;
867
- Ic.prototype.un=Ic.prototype.K;Ic.prototype.unByKey=Ic.prototype.M;D.prototype.get=D.prototype.get;D.prototype.getKeys=D.prototype.P;D.prototype.getProperties=D.prototype.O;D.prototype.set=D.prototype.set;D.prototype.setProperties=D.prototype.H;D.prototype.unset=D.prototype.R;D.prototype.changed=D.prototype.s;D.prototype.dispatchEvent=D.prototype.b;D.prototype.getRevision=D.prototype.L;D.prototype.on=D.prototype.J;D.prototype.once=D.prototype.once;D.prototype.un=D.prototype.K;
868
- D.prototype.unByKey=D.prototype.M;Pc.prototype.type=Pc.prototype.type;Pc.prototype.target=Pc.prototype.target;Pc.prototype.preventDefault=Pc.prototype.preventDefault;Pc.prototype.stopPropagation=Pc.prototype.stopPropagation;Pk.prototype.get=Pk.prototype.get;Pk.prototype.getKeys=Pk.prototype.P;Pk.prototype.getProperties=Pk.prototype.O;Pk.prototype.set=Pk.prototype.set;Pk.prototype.setProperties=Pk.prototype.H;Pk.prototype.unset=Pk.prototype.R;Pk.prototype.changed=Pk.prototype.s;
869
- Pk.prototype.dispatchEvent=Pk.prototype.b;Pk.prototype.getRevision=Pk.prototype.L;Pk.prototype.on=Pk.prototype.J;Pk.prototype.once=Pk.prototype.once;Pk.prototype.un=Pk.prototype.K;Pk.prototype.unByKey=Pk.prototype.M;I.prototype.get=I.prototype.get;I.prototype.getKeys=I.prototype.P;I.prototype.getProperties=I.prototype.O;I.prototype.set=I.prototype.set;I.prototype.setProperties=I.prototype.H;I.prototype.unset=I.prototype.R;I.prototype.changed=I.prototype.s;I.prototype.dispatchEvent=I.prototype.b;
870
- I.prototype.getRevision=I.prototype.L;I.prototype.on=I.prototype.J;I.prototype.once=I.prototype.once;I.prototype.un=I.prototype.K;I.prototype.unByKey=I.prototype.M;hs.prototype.get=hs.prototype.get;hs.prototype.getKeys=hs.prototype.P;hs.prototype.getProperties=hs.prototype.O;hs.prototype.set=hs.prototype.set;hs.prototype.setProperties=hs.prototype.H;hs.prototype.unset=hs.prototype.R;hs.prototype.changed=hs.prototype.s;hs.prototype.dispatchEvent=hs.prototype.b;hs.prototype.getRevision=hs.prototype.L;
871
- hs.prototype.on=hs.prototype.J;hs.prototype.once=hs.prototype.once;hs.prototype.un=hs.prototype.K;hs.prototype.unByKey=hs.prototype.M;xs.prototype.getTileCoord=xs.prototype.i;xs.prototype.load=xs.prototype.load;H.prototype.get=H.prototype.get;H.prototype.getKeys=H.prototype.P;H.prototype.getProperties=H.prototype.O;H.prototype.set=H.prototype.set;H.prototype.setProperties=H.prototype.H;H.prototype.unset=H.prototype.R;H.prototype.changed=H.prototype.s;H.prototype.dispatchEvent=H.prototype.b;
872
- H.prototype.getRevision=H.prototype.L;H.prototype.on=H.prototype.J;H.prototype.once=H.prototype.once;H.prototype.un=H.prototype.K;H.prototype.unByKey=H.prototype.M;Ad.prototype.type=Ad.prototype.type;Ad.prototype.target=Ad.prototype.target;Ad.prototype.preventDefault=Ad.prototype.preventDefault;Ad.prototype.stopPropagation=Ad.prototype.stopPropagation;Bd.prototype.map=Bd.prototype.map;Bd.prototype.frameState=Bd.prototype.frameState;Bd.prototype.type=Bd.prototype.type;Bd.prototype.target=Bd.prototype.target;
873
- Bd.prototype.preventDefault=Bd.prototype.preventDefault;Bd.prototype.stopPropagation=Bd.prototype.stopPropagation;Dd.prototype.originalEvent=Dd.prototype.originalEvent;Dd.prototype.pixel=Dd.prototype.pixel;Dd.prototype.coordinate=Dd.prototype.coordinate;Dd.prototype.dragging=Dd.prototype.dragging;Dd.prototype.preventDefault=Dd.prototype.preventDefault;Dd.prototype.stopPropagation=Dd.prototype.stopPropagation;Dd.prototype.map=Dd.prototype.map;Dd.prototype.frameState=Dd.prototype.frameState;
874
- Dd.prototype.type=Dd.prototype.type;Dd.prototype.target=Dd.prototype.target;Mc.prototype.type=Mc.prototype.type;Mc.prototype.target=Mc.prototype.target;Mc.prototype.preventDefault=Mc.prototype.preventDefault;Mc.prototype.stopPropagation=Mc.prototype.stopPropagation;qk.prototype.get=qk.prototype.get;qk.prototype.getKeys=qk.prototype.P;qk.prototype.getProperties=qk.prototype.O;qk.prototype.set=qk.prototype.set;qk.prototype.setProperties=qk.prototype.H;qk.prototype.unset=qk.prototype.R;
875
- qk.prototype.changed=qk.prototype.s;qk.prototype.dispatchEvent=qk.prototype.b;qk.prototype.getRevision=qk.prototype.L;qk.prototype.on=qk.prototype.J;qk.prototype.once=qk.prototype.once;qk.prototype.un=qk.prototype.K;qk.prototype.unByKey=qk.prototype.M;Ww.prototype.getTileCoord=Ww.prototype.i;Ww.prototype.load=Ww.prototype.load;Rf.prototype.get=Rf.prototype.get;Rf.prototype.getKeys=Rf.prototype.P;Rf.prototype.getProperties=Rf.prototype.O;Rf.prototype.set=Rf.prototype.set;
876
- Rf.prototype.setProperties=Rf.prototype.H;Rf.prototype.unset=Rf.prototype.R;Rf.prototype.changed=Rf.prototype.s;Rf.prototype.dispatchEvent=Rf.prototype.b;Rf.prototype.getRevision=Rf.prototype.L;Rf.prototype.on=Rf.prototype.J;Rf.prototype.once=Rf.prototype.once;Rf.prototype.un=Rf.prototype.K;Rf.prototype.unByKey=Rf.prototype.M;Zw.prototype.forEachTileCoord=Zw.prototype.fh;Zw.prototype.getMaxZoom=Zw.prototype.ph;Zw.prototype.getMinZoom=Zw.prototype.qh;Zw.prototype.getOrigin=Zw.prototype.Rc;
877
- Zw.prototype.getResolution=Zw.prototype.Ma;Zw.prototype.getResolutions=Zw.prototype.pi;Zw.prototype.getTileCoordExtent=Zw.prototype.Ua;Zw.prototype.getTileCoordForCoordAndResolution=Zw.prototype.xe;Zw.prototype.getTileCoordForCoordAndZ=Zw.prototype.Qf;Zw.prototype.getTileSize=Zw.prototype.gb;Zw.prototype.getZForResolution=Zw.prototype.Nc;Wk.prototype.getOpacity=Wk.prototype.Qe;Wk.prototype.getRotateWithView=Wk.prototype.Re;Wk.prototype.getRotation=Wk.prototype.Se;Wk.prototype.getScale=Wk.prototype.Te;
878
- Wk.prototype.getSnapToPixel=Wk.prototype.we;Wk.prototype.setOpacity=Wk.prototype.sd;Wk.prototype.setRotation=Wk.prototype.Ue;Wk.prototype.setScale=Wk.prototype.td;Yk.prototype.clone=Yk.prototype.clone;Yk.prototype.getAngle=Yk.prototype.li;Yk.prototype.getFill=Yk.prototype.Da;Yk.prototype.getPoints=Yk.prototype.mi;Yk.prototype.getRadius=Yk.prototype.ni;Yk.prototype.getRadius2=Yk.prototype.th;Yk.prototype.getStroke=Yk.prototype.Ea;Yk.prototype.getOpacity=Yk.prototype.Qe;
879
- Yk.prototype.getRotateWithView=Yk.prototype.Re;Yk.prototype.getRotation=Yk.prototype.Se;Yk.prototype.getScale=Yk.prototype.Te;Yk.prototype.getSnapToPixel=Yk.prototype.we;Yk.prototype.setOpacity=Yk.prototype.sd;Yk.prototype.setRotation=Yk.prototype.Ue;Yk.prototype.setScale=Yk.prototype.td;Rn.prototype.getOpacity=Rn.prototype.Qe;Rn.prototype.getRotateWithView=Rn.prototype.Re;Rn.prototype.getRotation=Rn.prototype.Se;Rn.prototype.getScale=Rn.prototype.Te;Rn.prototype.getSnapToPixel=Rn.prototype.we;
880
- Rn.prototype.setOpacity=Rn.prototype.sd;Rn.prototype.setRotation=Rn.prototype.Ue;Rn.prototype.setScale=Rn.prototype.td;Gt.prototype.get=Gt.prototype.get;Gt.prototype.getKeys=Gt.prototype.P;Gt.prototype.getProperties=Gt.prototype.O;Gt.prototype.set=Gt.prototype.set;Gt.prototype.setProperties=Gt.prototype.H;Gt.prototype.unset=Gt.prototype.R;Gt.prototype.changed=Gt.prototype.s;Gt.prototype.dispatchEvent=Gt.prototype.b;Gt.prototype.getRevision=Gt.prototype.L;Gt.prototype.on=Gt.prototype.J;
881
- Gt.prototype.once=Gt.prototype.once;Gt.prototype.un=Gt.prototype.K;Gt.prototype.unByKey=Gt.prototype.M;Xv.prototype.getAttributions=Xv.prototype.ya;Xv.prototype.getLogo=Xv.prototype.xa;Xv.prototype.getProjection=Xv.prototype.za;Xv.prototype.getState=Xv.prototype.W;Xv.prototype.refresh=Xv.prototype.wa;Xv.prototype.setAttributions=Xv.prototype.va;Xv.prototype.get=Xv.prototype.get;Xv.prototype.getKeys=Xv.prototype.P;Xv.prototype.getProperties=Xv.prototype.O;Xv.prototype.set=Xv.prototype.set;
882
- Xv.prototype.setProperties=Xv.prototype.H;Xv.prototype.unset=Xv.prototype.R;Xv.prototype.changed=Xv.prototype.s;Xv.prototype.dispatchEvent=Xv.prototype.b;Xv.prototype.getRevision=Xv.prototype.L;Xv.prototype.on=Xv.prototype.J;Xv.prototype.once=Xv.prototype.once;Xv.prototype.un=Xv.prototype.K;Xv.prototype.unByKey=Xv.prototype.M;aw.prototype.getTileGrid=aw.prototype.bb;aw.prototype.refresh=aw.prototype.wa;aw.prototype.getAttributions=aw.prototype.ya;aw.prototype.getLogo=aw.prototype.xa;
883
- aw.prototype.getProjection=aw.prototype.za;aw.prototype.getState=aw.prototype.W;aw.prototype.setAttributions=aw.prototype.va;aw.prototype.get=aw.prototype.get;aw.prototype.getKeys=aw.prototype.P;aw.prototype.getProperties=aw.prototype.O;aw.prototype.set=aw.prototype.set;aw.prototype.setProperties=aw.prototype.H;aw.prototype.unset=aw.prototype.R;aw.prototype.changed=aw.prototype.s;aw.prototype.dispatchEvent=aw.prototype.b;aw.prototype.getRevision=aw.prototype.L;aw.prototype.on=aw.prototype.J;
884
- aw.prototype.once=aw.prototype.once;aw.prototype.un=aw.prototype.K;aw.prototype.unByKey=aw.prototype.M;W.prototype.getTileLoadFunction=W.prototype.pb;W.prototype.getTileUrlFunction=W.prototype.rb;W.prototype.getUrls=W.prototype.sb;W.prototype.setTileLoadFunction=W.prototype.yb;W.prototype.setTileUrlFunction=W.prototype.cb;W.prototype.setUrl=W.prototype.kb;W.prototype.setUrls=W.prototype.eb;W.prototype.getTileGrid=W.prototype.bb;W.prototype.refresh=W.prototype.wa;W.prototype.getAttributions=W.prototype.ya;
885
- W.prototype.getLogo=W.prototype.xa;W.prototype.getProjection=W.prototype.za;W.prototype.getState=W.prototype.W;W.prototype.setAttributions=W.prototype.va;W.prototype.get=W.prototype.get;W.prototype.getKeys=W.prototype.P;W.prototype.getProperties=W.prototype.O;W.prototype.set=W.prototype.set;W.prototype.setProperties=W.prototype.H;W.prototype.unset=W.prototype.R;W.prototype.changed=W.prototype.s;W.prototype.dispatchEvent=W.prototype.b;W.prototype.getRevision=W.prototype.L;W.prototype.on=W.prototype.J;
886
- W.prototype.once=W.prototype.once;W.prototype.un=W.prototype.K;W.prototype.unByKey=W.prototype.M;ew.prototype.setRenderReprojectionEdges=ew.prototype.Ob;ew.prototype.setTileGridForProjection=ew.prototype.Pb;ew.prototype.getTileLoadFunction=ew.prototype.pb;ew.prototype.getTileUrlFunction=ew.prototype.rb;ew.prototype.getUrls=ew.prototype.sb;ew.prototype.setTileLoadFunction=ew.prototype.yb;ew.prototype.setTileUrlFunction=ew.prototype.cb;ew.prototype.setUrl=ew.prototype.kb;ew.prototype.setUrls=ew.prototype.eb;
887
- ew.prototype.getTileGrid=ew.prototype.bb;ew.prototype.refresh=ew.prototype.wa;ew.prototype.getAttributions=ew.prototype.ya;ew.prototype.getLogo=ew.prototype.xa;ew.prototype.getProjection=ew.prototype.za;ew.prototype.getState=ew.prototype.W;ew.prototype.setAttributions=ew.prototype.va;ew.prototype.get=ew.prototype.get;ew.prototype.getKeys=ew.prototype.P;ew.prototype.getProperties=ew.prototype.O;ew.prototype.set=ew.prototype.set;ew.prototype.setProperties=ew.prototype.H;ew.prototype.unset=ew.prototype.R;
888
- ew.prototype.changed=ew.prototype.s;ew.prototype.dispatchEvent=ew.prototype.b;ew.prototype.getRevision=ew.prototype.L;ew.prototype.on=ew.prototype.J;ew.prototype.once=ew.prototype.once;ew.prototype.un=ew.prototype.K;ew.prototype.unByKey=ew.prototype.M;gw.prototype.setRenderReprojectionEdges=gw.prototype.Ob;gw.prototype.setTileGridForProjection=gw.prototype.Pb;gw.prototype.getTileLoadFunction=gw.prototype.pb;gw.prototype.getTileUrlFunction=gw.prototype.rb;gw.prototype.getUrls=gw.prototype.sb;
889
- gw.prototype.setTileLoadFunction=gw.prototype.yb;gw.prototype.setTileUrlFunction=gw.prototype.cb;gw.prototype.setUrl=gw.prototype.kb;gw.prototype.setUrls=gw.prototype.eb;gw.prototype.getTileGrid=gw.prototype.bb;gw.prototype.refresh=gw.prototype.wa;gw.prototype.getAttributions=gw.prototype.ya;gw.prototype.getLogo=gw.prototype.xa;gw.prototype.getProjection=gw.prototype.za;gw.prototype.getState=gw.prototype.W;gw.prototype.setAttributions=gw.prototype.va;gw.prototype.get=gw.prototype.get;
890
- gw.prototype.getKeys=gw.prototype.P;gw.prototype.getProperties=gw.prototype.O;gw.prototype.set=gw.prototype.set;gw.prototype.setProperties=gw.prototype.H;gw.prototype.unset=gw.prototype.R;gw.prototype.changed=gw.prototype.s;gw.prototype.dispatchEvent=gw.prototype.b;gw.prototype.getRevision=gw.prototype.L;gw.prototype.on=gw.prototype.J;gw.prototype.once=gw.prototype.once;gw.prototype.un=gw.prototype.K;gw.prototype.unByKey=gw.prototype.M;hw.prototype.setRenderReprojectionEdges=hw.prototype.Ob;
891
- hw.prototype.setTileGridForProjection=hw.prototype.Pb;hw.prototype.getTileLoadFunction=hw.prototype.pb;hw.prototype.getTileUrlFunction=hw.prototype.rb;hw.prototype.getUrls=hw.prototype.sb;hw.prototype.setTileLoadFunction=hw.prototype.yb;hw.prototype.setTileUrlFunction=hw.prototype.cb;hw.prototype.setUrl=hw.prototype.kb;hw.prototype.setUrls=hw.prototype.eb;hw.prototype.getTileGrid=hw.prototype.bb;hw.prototype.refresh=hw.prototype.wa;hw.prototype.getAttributions=hw.prototype.ya;
892
- hw.prototype.getLogo=hw.prototype.xa;hw.prototype.getProjection=hw.prototype.za;hw.prototype.getState=hw.prototype.W;hw.prototype.setAttributions=hw.prototype.va;hw.prototype.get=hw.prototype.get;hw.prototype.getKeys=hw.prototype.P;hw.prototype.getProperties=hw.prototype.O;hw.prototype.set=hw.prototype.set;hw.prototype.setProperties=hw.prototype.H;hw.prototype.unset=hw.prototype.R;hw.prototype.changed=hw.prototype.s;hw.prototype.dispatchEvent=hw.prototype.b;hw.prototype.getRevision=hw.prototype.L;
893
- hw.prototype.on=hw.prototype.J;hw.prototype.once=hw.prototype.once;hw.prototype.un=hw.prototype.K;hw.prototype.unByKey=hw.prototype.M;T.prototype.getAttributions=T.prototype.ya;T.prototype.getLogo=T.prototype.xa;T.prototype.getProjection=T.prototype.za;T.prototype.getState=T.prototype.W;T.prototype.refresh=T.prototype.wa;T.prototype.setAttributions=T.prototype.va;T.prototype.get=T.prototype.get;T.prototype.getKeys=T.prototype.P;T.prototype.getProperties=T.prototype.O;T.prototype.set=T.prototype.set;
894
- T.prototype.setProperties=T.prototype.H;T.prototype.unset=T.prototype.R;T.prototype.changed=T.prototype.s;T.prototype.dispatchEvent=T.prototype.b;T.prototype.getRevision=T.prototype.L;T.prototype.on=T.prototype.J;T.prototype.once=T.prototype.once;T.prototype.un=T.prototype.K;T.prototype.unByKey=T.prototype.M;X.prototype.addFeature=X.prototype.Ab;X.prototype.addFeatures=X.prototype.ed;X.prototype.clear=X.prototype.clear;X.prototype.forEachFeature=X.prototype.dh;X.prototype.forEachFeatureInExtent=X.prototype.bc;
895
- X.prototype.forEachFeatureIntersectingExtent=X.prototype.eh;X.prototype.getFeaturesCollection=X.prototype.mh;X.prototype.getFeatures=X.prototype.Oe;X.prototype.getFeaturesAtCoordinate=X.prototype.lh;X.prototype.getFeaturesInExtent=X.prototype.If;X.prototype.getClosestFeatureToCoordinate=X.prototype.hh;X.prototype.getExtent=X.prototype.D;X.prototype.getFeatureById=X.prototype.kh;X.prototype.getFormat=X.prototype.ii;X.prototype.getUrl=X.prototype.ji;X.prototype.removeFeature=X.prototype.Eb;
896
- X.prototype.getAttributions=X.prototype.ya;X.prototype.getLogo=X.prototype.xa;X.prototype.getProjection=X.prototype.za;X.prototype.getState=X.prototype.W;X.prototype.refresh=X.prototype.wa;X.prototype.setAttributions=X.prototype.va;X.prototype.get=X.prototype.get;X.prototype.getKeys=X.prototype.P;X.prototype.getProperties=X.prototype.O;X.prototype.set=X.prototype.set;X.prototype.setProperties=X.prototype.H;X.prototype.unset=X.prototype.R;X.prototype.changed=X.prototype.s;
897
- X.prototype.dispatchEvent=X.prototype.b;X.prototype.getRevision=X.prototype.L;X.prototype.on=X.prototype.J;X.prototype.once=X.prototype.once;X.prototype.un=X.prototype.K;X.prototype.unByKey=X.prototype.M;lv.prototype.getAttributions=lv.prototype.ya;lv.prototype.getLogo=lv.prototype.xa;lv.prototype.getProjection=lv.prototype.za;lv.prototype.getState=lv.prototype.W;lv.prototype.refresh=lv.prototype.wa;lv.prototype.setAttributions=lv.prototype.va;lv.prototype.get=lv.prototype.get;
898
- lv.prototype.getKeys=lv.prototype.P;lv.prototype.getProperties=lv.prototype.O;lv.prototype.set=lv.prototype.set;lv.prototype.setProperties=lv.prototype.H;lv.prototype.unset=lv.prototype.R;lv.prototype.changed=lv.prototype.s;lv.prototype.dispatchEvent=lv.prototype.b;lv.prototype.getRevision=lv.prototype.L;lv.prototype.on=lv.prototype.J;lv.prototype.once=lv.prototype.once;lv.prototype.un=lv.prototype.K;lv.prototype.unByKey=lv.prototype.M;nv.prototype.type=nv.prototype.type;nv.prototype.target=nv.prototype.target;
899
- nv.prototype.preventDefault=nv.prototype.preventDefault;nv.prototype.stopPropagation=nv.prototype.stopPropagation;nw.prototype.getAttributions=nw.prototype.ya;nw.prototype.getLogo=nw.prototype.xa;nw.prototype.getProjection=nw.prototype.za;nw.prototype.getState=nw.prototype.W;nw.prototype.refresh=nw.prototype.wa;nw.prototype.setAttributions=nw.prototype.va;nw.prototype.get=nw.prototype.get;nw.prototype.getKeys=nw.prototype.P;nw.prototype.getProperties=nw.prototype.O;nw.prototype.set=nw.prototype.set;
900
- nw.prototype.setProperties=nw.prototype.H;nw.prototype.unset=nw.prototype.R;nw.prototype.changed=nw.prototype.s;nw.prototype.dispatchEvent=nw.prototype.b;nw.prototype.getRevision=nw.prototype.L;nw.prototype.on=nw.prototype.J;nw.prototype.once=nw.prototype.once;nw.prototype.un=nw.prototype.K;nw.prototype.unByKey=nw.prototype.M;sv.prototype.getAttributions=sv.prototype.ya;sv.prototype.getLogo=sv.prototype.xa;sv.prototype.getProjection=sv.prototype.za;sv.prototype.getState=sv.prototype.W;
901
- sv.prototype.refresh=sv.prototype.wa;sv.prototype.setAttributions=sv.prototype.va;sv.prototype.get=sv.prototype.get;sv.prototype.getKeys=sv.prototype.P;sv.prototype.getProperties=sv.prototype.O;sv.prototype.set=sv.prototype.set;sv.prototype.setProperties=sv.prototype.H;sv.prototype.unset=sv.prototype.R;sv.prototype.changed=sv.prototype.s;sv.prototype.dispatchEvent=sv.prototype.b;sv.prototype.getRevision=sv.prototype.L;sv.prototype.on=sv.prototype.J;sv.prototype.once=sv.prototype.once;
902
- sv.prototype.un=sv.prototype.K;sv.prototype.unByKey=sv.prototype.M;ow.prototype.getAttributions=ow.prototype.ya;ow.prototype.getLogo=ow.prototype.xa;ow.prototype.getProjection=ow.prototype.za;ow.prototype.getState=ow.prototype.W;ow.prototype.refresh=ow.prototype.wa;ow.prototype.setAttributions=ow.prototype.va;ow.prototype.get=ow.prototype.get;ow.prototype.getKeys=ow.prototype.P;ow.prototype.getProperties=ow.prototype.O;ow.prototype.set=ow.prototype.set;ow.prototype.setProperties=ow.prototype.H;
903
- ow.prototype.unset=ow.prototype.R;ow.prototype.changed=ow.prototype.s;ow.prototype.dispatchEvent=ow.prototype.b;ow.prototype.getRevision=ow.prototype.L;ow.prototype.on=ow.prototype.J;ow.prototype.once=ow.prototype.once;ow.prototype.un=ow.prototype.K;ow.prototype.unByKey=ow.prototype.M;pw.prototype.getAttributions=pw.prototype.ya;pw.prototype.getLogo=pw.prototype.xa;pw.prototype.getProjection=pw.prototype.za;pw.prototype.getState=pw.prototype.W;pw.prototype.refresh=pw.prototype.wa;
904
- pw.prototype.setAttributions=pw.prototype.va;pw.prototype.get=pw.prototype.get;pw.prototype.getKeys=pw.prototype.P;pw.prototype.getProperties=pw.prototype.O;pw.prototype.set=pw.prototype.set;pw.prototype.setProperties=pw.prototype.H;pw.prototype.unset=pw.prototype.R;pw.prototype.changed=pw.prototype.s;pw.prototype.dispatchEvent=pw.prototype.b;pw.prototype.getRevision=pw.prototype.L;pw.prototype.on=pw.prototype.J;pw.prototype.once=pw.prototype.once;pw.prototype.un=pw.prototype.K;
905
- pw.prototype.unByKey=pw.prototype.M;tv.prototype.getAttributions=tv.prototype.ya;tv.prototype.getLogo=tv.prototype.xa;tv.prototype.getProjection=tv.prototype.za;tv.prototype.getState=tv.prototype.W;tv.prototype.refresh=tv.prototype.wa;tv.prototype.setAttributions=tv.prototype.va;tv.prototype.get=tv.prototype.get;tv.prototype.getKeys=tv.prototype.P;tv.prototype.getProperties=tv.prototype.O;tv.prototype.set=tv.prototype.set;tv.prototype.setProperties=tv.prototype.H;tv.prototype.unset=tv.prototype.R;
906
- tv.prototype.changed=tv.prototype.s;tv.prototype.dispatchEvent=tv.prototype.b;tv.prototype.getRevision=tv.prototype.L;tv.prototype.on=tv.prototype.J;tv.prototype.once=tv.prototype.once;tv.prototype.un=tv.prototype.K;tv.prototype.unByKey=tv.prototype.M;qw.prototype.getAttributions=qw.prototype.ya;qw.prototype.getLogo=qw.prototype.xa;qw.prototype.getProjection=qw.prototype.za;qw.prototype.getState=qw.prototype.W;qw.prototype.refresh=qw.prototype.wa;qw.prototype.setAttributions=qw.prototype.va;
907
- qw.prototype.get=qw.prototype.get;qw.prototype.getKeys=qw.prototype.P;qw.prototype.getProperties=qw.prototype.O;qw.prototype.set=qw.prototype.set;qw.prototype.setProperties=qw.prototype.H;qw.prototype.unset=qw.prototype.R;qw.prototype.changed=qw.prototype.s;qw.prototype.dispatchEvent=qw.prototype.b;qw.prototype.getRevision=qw.prototype.L;qw.prototype.on=qw.prototype.J;qw.prototype.once=qw.prototype.once;qw.prototype.un=qw.prototype.K;qw.prototype.unByKey=qw.prototype.M;
908
- uw.prototype.setRenderReprojectionEdges=uw.prototype.Ob;uw.prototype.setTileGridForProjection=uw.prototype.Pb;uw.prototype.getTileLoadFunction=uw.prototype.pb;uw.prototype.getTileUrlFunction=uw.prototype.rb;uw.prototype.getUrls=uw.prototype.sb;uw.prototype.setTileLoadFunction=uw.prototype.yb;uw.prototype.setTileUrlFunction=uw.prototype.cb;uw.prototype.setUrl=uw.prototype.kb;uw.prototype.setUrls=uw.prototype.eb;uw.prototype.getTileGrid=uw.prototype.bb;uw.prototype.refresh=uw.prototype.wa;
909
- uw.prototype.getAttributions=uw.prototype.ya;uw.prototype.getLogo=uw.prototype.xa;uw.prototype.getProjection=uw.prototype.za;uw.prototype.getState=uw.prototype.W;uw.prototype.setAttributions=uw.prototype.va;uw.prototype.get=uw.prototype.get;uw.prototype.getKeys=uw.prototype.P;uw.prototype.getProperties=uw.prototype.O;uw.prototype.set=uw.prototype.set;uw.prototype.setProperties=uw.prototype.H;uw.prototype.unset=uw.prototype.R;uw.prototype.changed=uw.prototype.s;uw.prototype.dispatchEvent=uw.prototype.b;
910
- uw.prototype.getRevision=uw.prototype.L;uw.prototype.on=uw.prototype.J;uw.prototype.once=uw.prototype.once;uw.prototype.un=uw.prototype.K;uw.prototype.unByKey=uw.prototype.M;ww.prototype.getAttributions=ww.prototype.ya;ww.prototype.getLogo=ww.prototype.xa;ww.prototype.getProjection=ww.prototype.za;ww.prototype.getState=ww.prototype.W;ww.prototype.refresh=ww.prototype.wa;ww.prototype.setAttributions=ww.prototype.va;ww.prototype.get=ww.prototype.get;ww.prototype.getKeys=ww.prototype.P;
911
- ww.prototype.getProperties=ww.prototype.O;ww.prototype.set=ww.prototype.set;ww.prototype.setProperties=ww.prototype.H;ww.prototype.unset=ww.prototype.R;ww.prototype.changed=ww.prototype.s;ww.prototype.dispatchEvent=ww.prototype.b;ww.prototype.getRevision=ww.prototype.L;ww.prototype.on=ww.prototype.J;ww.prototype.once=ww.prototype.once;ww.prototype.un=ww.prototype.K;ww.prototype.unByKey=ww.prototype.M;Bw.prototype.type=Bw.prototype.type;Bw.prototype.target=Bw.prototype.target;
912
- Bw.prototype.preventDefault=Bw.prototype.preventDefault;Bw.prototype.stopPropagation=Bw.prototype.stopPropagation;Ew.prototype.setRenderReprojectionEdges=Ew.prototype.Ob;Ew.prototype.setTileGridForProjection=Ew.prototype.Pb;Ew.prototype.getTileLoadFunction=Ew.prototype.pb;Ew.prototype.getTileUrlFunction=Ew.prototype.rb;Ew.prototype.getUrls=Ew.prototype.sb;Ew.prototype.setTileLoadFunction=Ew.prototype.yb;Ew.prototype.setTileUrlFunction=Ew.prototype.cb;Ew.prototype.setUrl=Ew.prototype.kb;
913
- Ew.prototype.setUrls=Ew.prototype.eb;Ew.prototype.getTileGrid=Ew.prototype.bb;Ew.prototype.refresh=Ew.prototype.wa;Ew.prototype.getAttributions=Ew.prototype.ya;Ew.prototype.getLogo=Ew.prototype.xa;Ew.prototype.getProjection=Ew.prototype.za;Ew.prototype.getState=Ew.prototype.W;Ew.prototype.setAttributions=Ew.prototype.va;Ew.prototype.get=Ew.prototype.get;Ew.prototype.getKeys=Ew.prototype.P;Ew.prototype.getProperties=Ew.prototype.O;Ew.prototype.set=Ew.prototype.set;Ew.prototype.setProperties=Ew.prototype.H;
914
- Ew.prototype.unset=Ew.prototype.R;Ew.prototype.changed=Ew.prototype.s;Ew.prototype.dispatchEvent=Ew.prototype.b;Ew.prototype.getRevision=Ew.prototype.L;Ew.prototype.on=Ew.prototype.J;Ew.prototype.once=Ew.prototype.once;Ew.prototype.un=Ew.prototype.K;Ew.prototype.unByKey=Ew.prototype.M;$v.prototype.type=$v.prototype.type;$v.prototype.target=$v.prototype.target;$v.prototype.preventDefault=$v.prototype.preventDefault;$v.prototype.stopPropagation=$v.prototype.stopPropagation;
915
- Iw.prototype.setRenderReprojectionEdges=Iw.prototype.Ob;Iw.prototype.setTileGridForProjection=Iw.prototype.Pb;Iw.prototype.getTileLoadFunction=Iw.prototype.pb;Iw.prototype.getTileUrlFunction=Iw.prototype.rb;Iw.prototype.getUrls=Iw.prototype.sb;Iw.prototype.setTileLoadFunction=Iw.prototype.yb;Iw.prototype.setTileUrlFunction=Iw.prototype.cb;Iw.prototype.setUrl=Iw.prototype.kb;Iw.prototype.setUrls=Iw.prototype.eb;Iw.prototype.getTileGrid=Iw.prototype.bb;Iw.prototype.refresh=Iw.prototype.wa;
916
- Iw.prototype.getAttributions=Iw.prototype.ya;Iw.prototype.getLogo=Iw.prototype.xa;Iw.prototype.getProjection=Iw.prototype.za;Iw.prototype.getState=Iw.prototype.W;Iw.prototype.setAttributions=Iw.prototype.va;Iw.prototype.get=Iw.prototype.get;Iw.prototype.getKeys=Iw.prototype.P;Iw.prototype.getProperties=Iw.prototype.O;Iw.prototype.set=Iw.prototype.set;Iw.prototype.setProperties=Iw.prototype.H;Iw.prototype.unset=Iw.prototype.R;Iw.prototype.changed=Iw.prototype.s;Iw.prototype.dispatchEvent=Iw.prototype.b;
917
- Iw.prototype.getRevision=Iw.prototype.L;Iw.prototype.on=Iw.prototype.J;Iw.prototype.once=Iw.prototype.once;Iw.prototype.un=Iw.prototype.K;Iw.prototype.unByKey=Iw.prototype.M;Kw.prototype.getTileGrid=Kw.prototype.bb;Kw.prototype.refresh=Kw.prototype.wa;Kw.prototype.getAttributions=Kw.prototype.ya;Kw.prototype.getLogo=Kw.prototype.xa;Kw.prototype.getProjection=Kw.prototype.za;Kw.prototype.getState=Kw.prototype.W;Kw.prototype.setAttributions=Kw.prototype.va;Kw.prototype.get=Kw.prototype.get;
918
- Kw.prototype.getKeys=Kw.prototype.P;Kw.prototype.getProperties=Kw.prototype.O;Kw.prototype.set=Kw.prototype.set;Kw.prototype.setProperties=Kw.prototype.H;Kw.prototype.unset=Kw.prototype.R;Kw.prototype.changed=Kw.prototype.s;Kw.prototype.dispatchEvent=Kw.prototype.b;Kw.prototype.getRevision=Kw.prototype.L;Kw.prototype.on=Kw.prototype.J;Kw.prototype.once=Kw.prototype.once;Kw.prototype.un=Kw.prototype.K;Kw.prototype.unByKey=Kw.prototype.M;Mw.prototype.setRenderReprojectionEdges=Mw.prototype.Ob;
919
- Mw.prototype.setTileGridForProjection=Mw.prototype.Pb;Mw.prototype.getTileLoadFunction=Mw.prototype.pb;Mw.prototype.getTileUrlFunction=Mw.prototype.rb;Mw.prototype.getUrls=Mw.prototype.sb;Mw.prototype.setTileLoadFunction=Mw.prototype.yb;Mw.prototype.setTileUrlFunction=Mw.prototype.cb;Mw.prototype.setUrl=Mw.prototype.kb;Mw.prototype.setUrls=Mw.prototype.eb;Mw.prototype.getTileGrid=Mw.prototype.bb;Mw.prototype.refresh=Mw.prototype.wa;Mw.prototype.getAttributions=Mw.prototype.ya;
920
- Mw.prototype.getLogo=Mw.prototype.xa;Mw.prototype.getProjection=Mw.prototype.za;Mw.prototype.getState=Mw.prototype.W;Mw.prototype.setAttributions=Mw.prototype.va;Mw.prototype.get=Mw.prototype.get;Mw.prototype.getKeys=Mw.prototype.P;Mw.prototype.getProperties=Mw.prototype.O;Mw.prototype.set=Mw.prototype.set;Mw.prototype.setProperties=Mw.prototype.H;Mw.prototype.unset=Mw.prototype.R;Mw.prototype.changed=Mw.prototype.s;Mw.prototype.dispatchEvent=Mw.prototype.b;Mw.prototype.getRevision=Mw.prototype.L;
921
- Mw.prototype.on=Mw.prototype.J;Mw.prototype.once=Mw.prototype.once;Mw.prototype.un=Mw.prototype.K;Mw.prototype.unByKey=Mw.prototype.M;Nw.prototype.getTileGrid=Nw.prototype.bb;Nw.prototype.refresh=Nw.prototype.wa;Nw.prototype.getAttributions=Nw.prototype.ya;Nw.prototype.getLogo=Nw.prototype.xa;Nw.prototype.getProjection=Nw.prototype.za;Nw.prototype.getState=Nw.prototype.W;Nw.prototype.setAttributions=Nw.prototype.va;Nw.prototype.get=Nw.prototype.get;Nw.prototype.getKeys=Nw.prototype.P;
922
- Nw.prototype.getProperties=Nw.prototype.O;Nw.prototype.set=Nw.prototype.set;Nw.prototype.setProperties=Nw.prototype.H;Nw.prototype.unset=Nw.prototype.R;Nw.prototype.changed=Nw.prototype.s;Nw.prototype.dispatchEvent=Nw.prototype.b;Nw.prototype.getRevision=Nw.prototype.L;Nw.prototype.on=Nw.prototype.J;Nw.prototype.once=Nw.prototype.once;Nw.prototype.un=Nw.prototype.K;Nw.prototype.unByKey=Nw.prototype.M;Rw.prototype.setRenderReprojectionEdges=Rw.prototype.Ob;Rw.prototype.setTileGridForProjection=Rw.prototype.Pb;
923
- Rw.prototype.getTileLoadFunction=Rw.prototype.pb;Rw.prototype.getTileUrlFunction=Rw.prototype.rb;Rw.prototype.getUrls=Rw.prototype.sb;Rw.prototype.setTileLoadFunction=Rw.prototype.yb;Rw.prototype.setTileUrlFunction=Rw.prototype.cb;Rw.prototype.setUrl=Rw.prototype.kb;Rw.prototype.setUrls=Rw.prototype.eb;Rw.prototype.getTileGrid=Rw.prototype.bb;Rw.prototype.refresh=Rw.prototype.wa;Rw.prototype.getAttributions=Rw.prototype.ya;Rw.prototype.getLogo=Rw.prototype.xa;Rw.prototype.getProjection=Rw.prototype.za;
924
- Rw.prototype.getState=Rw.prototype.W;Rw.prototype.setAttributions=Rw.prototype.va;Rw.prototype.get=Rw.prototype.get;Rw.prototype.getKeys=Rw.prototype.P;Rw.prototype.getProperties=Rw.prototype.O;Rw.prototype.set=Rw.prototype.set;Rw.prototype.setProperties=Rw.prototype.H;Rw.prototype.unset=Rw.prototype.R;Rw.prototype.changed=Rw.prototype.s;Rw.prototype.dispatchEvent=Rw.prototype.b;Rw.prototype.getRevision=Rw.prototype.L;Rw.prototype.on=Rw.prototype.J;Rw.prototype.once=Rw.prototype.once;
925
- Rw.prototype.un=Rw.prototype.K;Rw.prototype.unByKey=Rw.prototype.M;Nt.prototype.type=Nt.prototype.type;Nt.prototype.target=Nt.prototype.target;Nt.prototype.preventDefault=Nt.prototype.preventDefault;Nt.prototype.stopPropagation=Nt.prototype.stopPropagation;Yw.prototype.getTileLoadFunction=Yw.prototype.pb;Yw.prototype.getTileUrlFunction=Yw.prototype.rb;Yw.prototype.getUrls=Yw.prototype.sb;Yw.prototype.setTileLoadFunction=Yw.prototype.yb;Yw.prototype.setTileUrlFunction=Yw.prototype.cb;
926
- Yw.prototype.setUrl=Yw.prototype.kb;Yw.prototype.setUrls=Yw.prototype.eb;Yw.prototype.getTileGrid=Yw.prototype.bb;Yw.prototype.refresh=Yw.prototype.wa;Yw.prototype.getAttributions=Yw.prototype.ya;Yw.prototype.getLogo=Yw.prototype.xa;Yw.prototype.getProjection=Yw.prototype.za;Yw.prototype.getState=Yw.prototype.W;Yw.prototype.setAttributions=Yw.prototype.va;Yw.prototype.get=Yw.prototype.get;Yw.prototype.getKeys=Yw.prototype.P;Yw.prototype.getProperties=Yw.prototype.O;Yw.prototype.set=Yw.prototype.set;
927
- Yw.prototype.setProperties=Yw.prototype.H;Yw.prototype.unset=Yw.prototype.R;Yw.prototype.changed=Yw.prototype.s;Yw.prototype.dispatchEvent=Yw.prototype.b;Yw.prototype.getRevision=Yw.prototype.L;Yw.prototype.on=Yw.prototype.J;Yw.prototype.once=Yw.prototype.once;Yw.prototype.un=Yw.prototype.K;Yw.prototype.unByKey=Yw.prototype.M;Z.prototype.setRenderReprojectionEdges=Z.prototype.Ob;Z.prototype.setTileGridForProjection=Z.prototype.Pb;Z.prototype.getTileLoadFunction=Z.prototype.pb;
928
- Z.prototype.getTileUrlFunction=Z.prototype.rb;Z.prototype.getUrls=Z.prototype.sb;Z.prototype.setTileLoadFunction=Z.prototype.yb;Z.prototype.setTileUrlFunction=Z.prototype.cb;Z.prototype.setUrl=Z.prototype.kb;Z.prototype.setUrls=Z.prototype.eb;Z.prototype.getTileGrid=Z.prototype.bb;Z.prototype.refresh=Z.prototype.wa;Z.prototype.getAttributions=Z.prototype.ya;Z.prototype.getLogo=Z.prototype.xa;Z.prototype.getProjection=Z.prototype.za;Z.prototype.getState=Z.prototype.W;Z.prototype.setAttributions=Z.prototype.va;
929
- Z.prototype.get=Z.prototype.get;Z.prototype.getKeys=Z.prototype.P;Z.prototype.getProperties=Z.prototype.O;Z.prototype.set=Z.prototype.set;Z.prototype.setProperties=Z.prototype.H;Z.prototype.unset=Z.prototype.R;Z.prototype.changed=Z.prototype.s;Z.prototype.dispatchEvent=Z.prototype.b;Z.prototype.getRevision=Z.prototype.L;Z.prototype.on=Z.prototype.J;Z.prototype.once=Z.prototype.once;Z.prototype.un=Z.prototype.K;Z.prototype.unByKey=Z.prototype.M;bx.prototype.setRenderReprojectionEdges=bx.prototype.Ob;
930
- bx.prototype.setTileGridForProjection=bx.prototype.Pb;bx.prototype.getTileLoadFunction=bx.prototype.pb;bx.prototype.getTileUrlFunction=bx.prototype.rb;bx.prototype.getUrls=bx.prototype.sb;bx.prototype.setTileLoadFunction=bx.prototype.yb;bx.prototype.setTileUrlFunction=bx.prototype.cb;bx.prototype.setUrl=bx.prototype.kb;bx.prototype.setUrls=bx.prototype.eb;bx.prototype.getTileGrid=bx.prototype.bb;bx.prototype.refresh=bx.prototype.wa;bx.prototype.getAttributions=bx.prototype.ya;
931
- bx.prototype.getLogo=bx.prototype.xa;bx.prototype.getProjection=bx.prototype.za;bx.prototype.getState=bx.prototype.W;bx.prototype.setAttributions=bx.prototype.va;bx.prototype.get=bx.prototype.get;bx.prototype.getKeys=bx.prototype.P;bx.prototype.getProperties=bx.prototype.O;bx.prototype.set=bx.prototype.set;bx.prototype.setProperties=bx.prototype.H;bx.prototype.unset=bx.prototype.R;bx.prototype.changed=bx.prototype.s;bx.prototype.dispatchEvent=bx.prototype.b;bx.prototype.getRevision=bx.prototype.L;
932
- bx.prototype.on=bx.prototype.J;bx.prototype.once=bx.prototype.once;bx.prototype.un=bx.prototype.K;bx.prototype.unByKey=bx.prototype.M;Pv.prototype.getTileCoord=Pv.prototype.i;Pv.prototype.load=Pv.prototype.load;dt.prototype.changed=dt.prototype.s;dt.prototype.dispatchEvent=dt.prototype.b;dt.prototype.getRevision=dt.prototype.L;dt.prototype.on=dt.prototype.J;dt.prototype.once=dt.prototype.once;dt.prototype.un=dt.prototype.K;dt.prototype.unByKey=dt.prototype.M;Bt.prototype.changed=Bt.prototype.s;
933
- Bt.prototype.dispatchEvent=Bt.prototype.b;Bt.prototype.getRevision=Bt.prototype.L;Bt.prototype.on=Bt.prototype.J;Bt.prototype.once=Bt.prototype.once;Bt.prototype.un=Bt.prototype.K;Bt.prototype.unByKey=Bt.prototype.M;vv.prototype.changed=vv.prototype.s;vv.prototype.dispatchEvent=vv.prototype.b;vv.prototype.getRevision=vv.prototype.L;vv.prototype.on=vv.prototype.J;vv.prototype.once=vv.prototype.once;vv.prototype.un=vv.prototype.K;vv.prototype.unByKey=vv.prototype.M;Gv.prototype.changed=Gv.prototype.s;
934
- Gv.prototype.dispatchEvent=Gv.prototype.b;Gv.prototype.getRevision=Gv.prototype.L;Gv.prototype.on=Gv.prototype.J;Gv.prototype.once=Gv.prototype.once;Gv.prototype.un=Gv.prototype.K;Gv.prototype.unByKey=Gv.prototype.M;Et.prototype.changed=Et.prototype.s;Et.prototype.dispatchEvent=Et.prototype.b;Et.prototype.getRevision=Et.prototype.L;Et.prototype.on=Et.prototype.J;Et.prototype.once=Et.prototype.once;Et.prototype.un=Et.prototype.K;Et.prototype.unByKey=Et.prototype.M;mt.prototype.changed=mt.prototype.s;
935
- mt.prototype.dispatchEvent=mt.prototype.b;mt.prototype.getRevision=mt.prototype.L;mt.prototype.on=mt.prototype.J;mt.prototype.once=mt.prototype.once;mt.prototype.un=mt.prototype.K;mt.prototype.unByKey=mt.prototype.M;cv.prototype.changed=cv.prototype.s;cv.prototype.dispatchEvent=cv.prototype.b;cv.prototype.getRevision=cv.prototype.L;cv.prototype.on=cv.prototype.J;cv.prototype.once=cv.prototype.once;cv.prototype.un=cv.prototype.K;cv.prototype.unByKey=cv.prototype.M;dv.prototype.changed=dv.prototype.s;
936
- dv.prototype.dispatchEvent=dv.prototype.b;dv.prototype.getRevision=dv.prototype.L;dv.prototype.on=dv.prototype.J;dv.prototype.once=dv.prototype.once;dv.prototype.un=dv.prototype.K;dv.prototype.unByKey=dv.prototype.M;zv.prototype.changed=zv.prototype.s;zv.prototype.dispatchEvent=zv.prototype.b;zv.prototype.getRevision=zv.prototype.L;zv.prototype.on=zv.prototype.J;zv.prototype.once=zv.prototype.once;zv.prototype.un=zv.prototype.K;zv.prototype.unByKey=zv.prototype.M;ut.prototype.changed=ut.prototype.s;
937
- ut.prototype.dispatchEvent=ut.prototype.b;ut.prototype.getRevision=ut.prototype.L;ut.prototype.on=ut.prototype.J;ut.prototype.once=ut.prototype.once;ut.prototype.un=ut.prototype.K;ut.prototype.unByKey=ut.prototype.M;Iv.prototype.changed=Iv.prototype.s;Iv.prototype.dispatchEvent=Iv.prototype.b;Iv.prototype.getRevision=Iv.prototype.L;Iv.prototype.on=Iv.prototype.J;Iv.prototype.once=Iv.prototype.once;Iv.prototype.un=Iv.prototype.K;Iv.prototype.unByKey=Iv.prototype.M;Mh.prototype.type=Mh.prototype.type;
938
- Mh.prototype.target=Mh.prototype.target;Mh.prototype.preventDefault=Mh.prototype.preventDefault;Mh.prototype.stopPropagation=Mh.prototype.stopPropagation;ie.prototype.type=ie.prototype.type;ie.prototype.target=ie.prototype.target;ie.prototype.preventDefault=ie.prototype.preventDefault;ie.prototype.stopPropagation=ie.prototype.stopPropagation;dh.prototype.get=dh.prototype.get;dh.prototype.getKeys=dh.prototype.P;dh.prototype.getProperties=dh.prototype.O;dh.prototype.set=dh.prototype.set;
939
- dh.prototype.setProperties=dh.prototype.H;dh.prototype.unset=dh.prototype.R;dh.prototype.changed=dh.prototype.s;dh.prototype.dispatchEvent=dh.prototype.b;dh.prototype.getRevision=dh.prototype.L;dh.prototype.on=dh.prototype.J;dh.prototype.once=dh.prototype.once;dh.prototype.un=dh.prototype.K;dh.prototype.unByKey=dh.prototype.M;fh.prototype.getExtent=fh.prototype.D;fh.prototype.getMaxResolution=fh.prototype.hc;fh.prototype.getMinResolution=fh.prototype.ic;fh.prototype.getOpacity=fh.prototype.jc;
940
- fh.prototype.getVisible=fh.prototype.Lb;fh.prototype.getZIndex=fh.prototype.Aa;fh.prototype.setExtent=fh.prototype.vc;fh.prototype.setMaxResolution=fh.prototype.Ac;fh.prototype.setMinResolution=fh.prototype.Bc;fh.prototype.setOpacity=fh.prototype.wc;fh.prototype.setVisible=fh.prototype.xc;fh.prototype.setZIndex=fh.prototype.Xb;fh.prototype.get=fh.prototype.get;fh.prototype.getKeys=fh.prototype.P;fh.prototype.getProperties=fh.prototype.O;fh.prototype.set=fh.prototype.set;
941
- fh.prototype.setProperties=fh.prototype.H;fh.prototype.unset=fh.prototype.R;fh.prototype.changed=fh.prototype.s;fh.prototype.dispatchEvent=fh.prototype.b;fh.prototype.getRevision=fh.prototype.L;fh.prototype.on=fh.prototype.J;fh.prototype.once=fh.prototype.once;fh.prototype.un=fh.prototype.K;fh.prototype.unByKey=fh.prototype.M;rh.prototype.getExtent=rh.prototype.D;rh.prototype.getMaxResolution=rh.prototype.hc;rh.prototype.getMinResolution=rh.prototype.ic;rh.prototype.getOpacity=rh.prototype.jc;
942
- rh.prototype.getVisible=rh.prototype.Lb;rh.prototype.getZIndex=rh.prototype.Aa;rh.prototype.setExtent=rh.prototype.vc;rh.prototype.setMaxResolution=rh.prototype.Ac;rh.prototype.setMinResolution=rh.prototype.Bc;rh.prototype.setOpacity=rh.prototype.wc;rh.prototype.setVisible=rh.prototype.xc;rh.prototype.setZIndex=rh.prototype.Xb;rh.prototype.get=rh.prototype.get;rh.prototype.getKeys=rh.prototype.P;rh.prototype.getProperties=rh.prototype.O;rh.prototype.set=rh.prototype.set;
943
- rh.prototype.setProperties=rh.prototype.H;rh.prototype.unset=rh.prototype.R;rh.prototype.changed=rh.prototype.s;rh.prototype.dispatchEvent=rh.prototype.b;rh.prototype.getRevision=rh.prototype.L;rh.prototype.on=rh.prototype.J;rh.prototype.once=rh.prototype.once;rh.prototype.un=rh.prototype.K;rh.prototype.unByKey=rh.prototype.M;S.prototype.setMap=S.prototype.setMap;S.prototype.setSource=S.prototype.Zc;S.prototype.getExtent=S.prototype.D;S.prototype.getMaxResolution=S.prototype.hc;
944
- S.prototype.getMinResolution=S.prototype.ic;S.prototype.getOpacity=S.prototype.jc;S.prototype.getVisible=S.prototype.Lb;S.prototype.getZIndex=S.prototype.Aa;S.prototype.setExtent=S.prototype.vc;S.prototype.setMaxResolution=S.prototype.Ac;S.prototype.setMinResolution=S.prototype.Bc;S.prototype.setOpacity=S.prototype.wc;S.prototype.setVisible=S.prototype.xc;S.prototype.setZIndex=S.prototype.Xb;S.prototype.get=S.prototype.get;S.prototype.getKeys=S.prototype.P;S.prototype.getProperties=S.prototype.O;
945
- S.prototype.set=S.prototype.set;S.prototype.setProperties=S.prototype.H;S.prototype.unset=S.prototype.R;S.prototype.changed=S.prototype.s;S.prototype.dispatchEvent=S.prototype.b;S.prototype.getRevision=S.prototype.L;S.prototype.on=S.prototype.J;S.prototype.once=S.prototype.once;S.prototype.un=S.prototype.K;S.prototype.unByKey=S.prototype.M;U.prototype.getSource=U.prototype.ma;U.prototype.getStyle=U.prototype.C;U.prototype.getStyleFunction=U.prototype.G;U.prototype.setStyle=U.prototype.g;
946
- U.prototype.setMap=U.prototype.setMap;U.prototype.setSource=U.prototype.Zc;U.prototype.getExtent=U.prototype.D;U.prototype.getMaxResolution=U.prototype.hc;U.prototype.getMinResolution=U.prototype.ic;U.prototype.getOpacity=U.prototype.jc;U.prototype.getVisible=U.prototype.Lb;U.prototype.getZIndex=U.prototype.Aa;U.prototype.setExtent=U.prototype.vc;U.prototype.setMaxResolution=U.prototype.Ac;U.prototype.setMinResolution=U.prototype.Bc;U.prototype.setOpacity=U.prototype.wc;U.prototype.setVisible=U.prototype.xc;
947
- U.prototype.setZIndex=U.prototype.Xb;U.prototype.get=U.prototype.get;U.prototype.getKeys=U.prototype.P;U.prototype.getProperties=U.prototype.O;U.prototype.set=U.prototype.set;U.prototype.setProperties=U.prototype.H;U.prototype.unset=U.prototype.R;U.prototype.changed=U.prototype.s;U.prototype.dispatchEvent=U.prototype.b;U.prototype.getRevision=U.prototype.L;U.prototype.on=U.prototype.J;U.prototype.once=U.prototype.once;U.prototype.un=U.prototype.K;U.prototype.unByKey=U.prototype.M;
948
- yv.prototype.setMap=yv.prototype.setMap;yv.prototype.setSource=yv.prototype.Zc;yv.prototype.getExtent=yv.prototype.D;yv.prototype.getMaxResolution=yv.prototype.hc;yv.prototype.getMinResolution=yv.prototype.ic;yv.prototype.getOpacity=yv.prototype.jc;yv.prototype.getVisible=yv.prototype.Lb;yv.prototype.getZIndex=yv.prototype.Aa;yv.prototype.setExtent=yv.prototype.vc;yv.prototype.setMaxResolution=yv.prototype.Ac;yv.prototype.setMinResolution=yv.prototype.Bc;yv.prototype.setOpacity=yv.prototype.wc;
949
- yv.prototype.setVisible=yv.prototype.xc;yv.prototype.setZIndex=yv.prototype.Xb;yv.prototype.get=yv.prototype.get;yv.prototype.getKeys=yv.prototype.P;yv.prototype.getProperties=yv.prototype.O;yv.prototype.set=yv.prototype.set;yv.prototype.setProperties=yv.prototype.H;yv.prototype.unset=yv.prototype.R;yv.prototype.changed=yv.prototype.s;yv.prototype.dispatchEvent=yv.prototype.b;yv.prototype.getRevision=yv.prototype.L;yv.prototype.on=yv.prototype.J;yv.prototype.once=yv.prototype.once;
950
- yv.prototype.un=yv.prototype.K;yv.prototype.unByKey=yv.prototype.M;Hv.prototype.setMap=Hv.prototype.setMap;Hv.prototype.setSource=Hv.prototype.Zc;Hv.prototype.getExtent=Hv.prototype.D;Hv.prototype.getMaxResolution=Hv.prototype.hc;Hv.prototype.getMinResolution=Hv.prototype.ic;Hv.prototype.getOpacity=Hv.prototype.jc;Hv.prototype.getVisible=Hv.prototype.Lb;Hv.prototype.getZIndex=Hv.prototype.Aa;Hv.prototype.setExtent=Hv.prototype.vc;Hv.prototype.setMaxResolution=Hv.prototype.Ac;
951
- Hv.prototype.setMinResolution=Hv.prototype.Bc;Hv.prototype.setOpacity=Hv.prototype.wc;Hv.prototype.setVisible=Hv.prototype.xc;Hv.prototype.setZIndex=Hv.prototype.Xb;Hv.prototype.get=Hv.prototype.get;Hv.prototype.getKeys=Hv.prototype.P;Hv.prototype.getProperties=Hv.prototype.O;Hv.prototype.set=Hv.prototype.set;Hv.prototype.setProperties=Hv.prototype.H;Hv.prototype.unset=Hv.prototype.R;Hv.prototype.changed=Hv.prototype.s;Hv.prototype.dispatchEvent=Hv.prototype.b;Hv.prototype.getRevision=Hv.prototype.L;
952
- Hv.prototype.on=Hv.prototype.J;Hv.prototype.once=Hv.prototype.once;Hv.prototype.un=Hv.prototype.K;Hv.prototype.unByKey=Hv.prototype.M;V.prototype.getSource=V.prototype.ma;V.prototype.getStyle=V.prototype.C;V.prototype.getStyleFunction=V.prototype.G;V.prototype.setStyle=V.prototype.g;V.prototype.setMap=V.prototype.setMap;V.prototype.setSource=V.prototype.Zc;V.prototype.getExtent=V.prototype.D;V.prototype.getMaxResolution=V.prototype.hc;V.prototype.getMinResolution=V.prototype.ic;
953
- V.prototype.getOpacity=V.prototype.jc;V.prototype.getVisible=V.prototype.Lb;V.prototype.getZIndex=V.prototype.Aa;V.prototype.setExtent=V.prototype.vc;V.prototype.setMaxResolution=V.prototype.Ac;V.prototype.setMinResolution=V.prototype.Bc;V.prototype.setOpacity=V.prototype.wc;V.prototype.setVisible=V.prototype.xc;V.prototype.setZIndex=V.prototype.Xb;V.prototype.get=V.prototype.get;V.prototype.getKeys=V.prototype.P;V.prototype.getProperties=V.prototype.O;V.prototype.set=V.prototype.set;
954
- V.prototype.setProperties=V.prototype.H;V.prototype.unset=V.prototype.R;V.prototype.changed=V.prototype.s;V.prototype.dispatchEvent=V.prototype.b;V.prototype.getRevision=V.prototype.L;V.prototype.on=V.prototype.J;V.prototype.once=V.prototype.once;V.prototype.un=V.prototype.K;V.prototype.unByKey=V.prototype.M;ag.prototype.get=ag.prototype.get;ag.prototype.getKeys=ag.prototype.P;ag.prototype.getProperties=ag.prototype.O;ag.prototype.set=ag.prototype.set;ag.prototype.setProperties=ag.prototype.H;
955
- ag.prototype.unset=ag.prototype.R;ag.prototype.changed=ag.prototype.s;ag.prototype.dispatchEvent=ag.prototype.b;ag.prototype.getRevision=ag.prototype.L;ag.prototype.on=ag.prototype.J;ag.prototype.once=ag.prototype.once;ag.prototype.un=ag.prototype.K;ag.prototype.unByKey=ag.prototype.M;eg.prototype.getActive=eg.prototype.c;eg.prototype.getMap=eg.prototype.i;eg.prototype.setActive=eg.prototype.Ja;eg.prototype.get=eg.prototype.get;eg.prototype.getKeys=eg.prototype.P;eg.prototype.getProperties=eg.prototype.O;
956
- eg.prototype.set=eg.prototype.set;eg.prototype.setProperties=eg.prototype.H;eg.prototype.unset=eg.prototype.R;eg.prototype.changed=eg.prototype.s;eg.prototype.dispatchEvent=eg.prototype.b;eg.prototype.getRevision=eg.prototype.L;eg.prototype.on=eg.prototype.J;eg.prototype.once=eg.prototype.once;eg.prototype.un=eg.prototype.K;eg.prototype.unByKey=eg.prototype.M;zs.prototype.getActive=zs.prototype.c;zs.prototype.getMap=zs.prototype.i;zs.prototype.setActive=zs.prototype.Ja;zs.prototype.get=zs.prototype.get;
957
- zs.prototype.getKeys=zs.prototype.P;zs.prototype.getProperties=zs.prototype.O;zs.prototype.set=zs.prototype.set;zs.prototype.setProperties=zs.prototype.H;zs.prototype.unset=zs.prototype.R;zs.prototype.changed=zs.prototype.s;zs.prototype.dispatchEvent=zs.prototype.b;zs.prototype.getRevision=zs.prototype.L;zs.prototype.on=zs.prototype.J;zs.prototype.once=zs.prototype.once;zs.prototype.un=zs.prototype.K;zs.prototype.unByKey=zs.prototype.M;Cs.prototype.type=Cs.prototype.type;Cs.prototype.target=Cs.prototype.target;
958
- Cs.prototype.preventDefault=Cs.prototype.preventDefault;Cs.prototype.stopPropagation=Cs.prototype.stopPropagation;pg.prototype.getActive=pg.prototype.c;pg.prototype.getMap=pg.prototype.i;pg.prototype.setActive=pg.prototype.Ja;pg.prototype.get=pg.prototype.get;pg.prototype.getKeys=pg.prototype.P;pg.prototype.getProperties=pg.prototype.O;pg.prototype.set=pg.prototype.set;pg.prototype.setProperties=pg.prototype.H;pg.prototype.unset=pg.prototype.R;pg.prototype.changed=pg.prototype.s;
959
- pg.prototype.dispatchEvent=pg.prototype.b;pg.prototype.getRevision=pg.prototype.L;pg.prototype.on=pg.prototype.J;pg.prototype.once=pg.prototype.once;pg.prototype.un=pg.prototype.K;pg.prototype.unByKey=pg.prototype.M;Dg.prototype.getActive=Dg.prototype.c;Dg.prototype.getMap=Dg.prototype.i;Dg.prototype.setActive=Dg.prototype.Ja;Dg.prototype.get=Dg.prototype.get;Dg.prototype.getKeys=Dg.prototype.P;Dg.prototype.getProperties=Dg.prototype.O;Dg.prototype.set=Dg.prototype.set;
960
- Dg.prototype.setProperties=Dg.prototype.H;Dg.prototype.unset=Dg.prototype.R;Dg.prototype.changed=Dg.prototype.s;Dg.prototype.dispatchEvent=Dg.prototype.b;Dg.prototype.getRevision=Dg.prototype.L;Dg.prototype.on=Dg.prototype.J;Dg.prototype.once=Dg.prototype.once;Dg.prototype.un=Dg.prototype.K;Dg.prototype.unByKey=Dg.prototype.M;Ig.prototype.type=Ig.prototype.type;Ig.prototype.target=Ig.prototype.target;Ig.prototype.preventDefault=Ig.prototype.preventDefault;Ig.prototype.stopPropagation=Ig.prototype.stopPropagation;
961
- sg.prototype.getActive=sg.prototype.c;sg.prototype.getMap=sg.prototype.i;sg.prototype.setActive=sg.prototype.Ja;sg.prototype.get=sg.prototype.get;sg.prototype.getKeys=sg.prototype.P;sg.prototype.getProperties=sg.prototype.O;sg.prototype.set=sg.prototype.set;sg.prototype.setProperties=sg.prototype.H;sg.prototype.unset=sg.prototype.R;sg.prototype.changed=sg.prototype.s;sg.prototype.dispatchEvent=sg.prototype.b;sg.prototype.getRevision=sg.prototype.L;sg.prototype.on=sg.prototype.J;
962
- sg.prototype.once=sg.prototype.once;sg.prototype.un=sg.prototype.K;sg.prototype.unByKey=sg.prototype.M;wg.prototype.getActive=wg.prototype.c;wg.prototype.getMap=wg.prototype.i;wg.prototype.setActive=wg.prototype.Ja;wg.prototype.get=wg.prototype.get;wg.prototype.getKeys=wg.prototype.P;wg.prototype.getProperties=wg.prototype.O;wg.prototype.set=wg.prototype.set;wg.prototype.setProperties=wg.prototype.H;wg.prototype.unset=wg.prototype.R;wg.prototype.changed=wg.prototype.s;wg.prototype.dispatchEvent=wg.prototype.b;
963
- wg.prototype.getRevision=wg.prototype.L;wg.prototype.on=wg.prototype.J;wg.prototype.once=wg.prototype.once;wg.prototype.un=wg.prototype.K;wg.prototype.unByKey=wg.prototype.M;Es.prototype.getActive=Es.prototype.c;Es.prototype.getMap=Es.prototype.i;Es.prototype.setActive=Es.prototype.Ja;Es.prototype.get=Es.prototype.get;Es.prototype.getKeys=Es.prototype.P;Es.prototype.getProperties=Es.prototype.O;Es.prototype.set=Es.prototype.set;Es.prototype.setProperties=Es.prototype.H;Es.prototype.unset=Es.prototype.R;
964
- Es.prototype.changed=Es.prototype.s;Es.prototype.dispatchEvent=Es.prototype.b;Es.prototype.getRevision=Es.prototype.L;Es.prototype.on=Es.prototype.J;Es.prototype.once=Es.prototype.once;Es.prototype.un=Es.prototype.K;Es.prototype.unByKey=Es.prototype.M;Mg.prototype.getGeometry=Mg.prototype.V;Mg.prototype.getActive=Mg.prototype.c;Mg.prototype.getMap=Mg.prototype.i;Mg.prototype.setActive=Mg.prototype.Ja;Mg.prototype.get=Mg.prototype.get;Mg.prototype.getKeys=Mg.prototype.P;
965
- Mg.prototype.getProperties=Mg.prototype.O;Mg.prototype.set=Mg.prototype.set;Mg.prototype.setProperties=Mg.prototype.H;Mg.prototype.unset=Mg.prototype.R;Mg.prototype.changed=Mg.prototype.s;Mg.prototype.dispatchEvent=Mg.prototype.b;Mg.prototype.getRevision=Mg.prototype.L;Mg.prototype.on=Mg.prototype.J;Mg.prototype.once=Mg.prototype.once;Mg.prototype.un=Mg.prototype.K;Mg.prototype.unByKey=Mg.prototype.M;Qt.prototype.getActive=Qt.prototype.c;Qt.prototype.getMap=Qt.prototype.i;Qt.prototype.setActive=Qt.prototype.Ja;
966
- Qt.prototype.get=Qt.prototype.get;Qt.prototype.getKeys=Qt.prototype.P;Qt.prototype.getProperties=Qt.prototype.O;Qt.prototype.set=Qt.prototype.set;Qt.prototype.setProperties=Qt.prototype.H;Qt.prototype.unset=Qt.prototype.R;Qt.prototype.changed=Qt.prototype.s;Qt.prototype.dispatchEvent=Qt.prototype.b;Qt.prototype.getRevision=Qt.prototype.L;Qt.prototype.on=Qt.prototype.J;Qt.prototype.once=Qt.prototype.once;Qt.prototype.un=Qt.prototype.K;Qt.prototype.unByKey=Qt.prototype.M;eu.prototype.type=eu.prototype.type;
967
- eu.prototype.target=eu.prototype.target;eu.prototype.preventDefault=eu.prototype.preventDefault;eu.prototype.stopPropagation=eu.prototype.stopPropagation;gu.prototype.getActive=gu.prototype.c;gu.prototype.getMap=gu.prototype.i;gu.prototype.setActive=gu.prototype.Ja;gu.prototype.get=gu.prototype.get;gu.prototype.getKeys=gu.prototype.P;gu.prototype.getProperties=gu.prototype.O;gu.prototype.set=gu.prototype.set;gu.prototype.setProperties=gu.prototype.H;gu.prototype.unset=gu.prototype.R;
968
- gu.prototype.changed=gu.prototype.s;gu.prototype.dispatchEvent=gu.prototype.b;gu.prototype.getRevision=gu.prototype.L;gu.prototype.on=gu.prototype.J;gu.prototype.once=gu.prototype.once;gu.prototype.un=gu.prototype.K;gu.prototype.unByKey=gu.prototype.M;ru.prototype.type=ru.prototype.type;ru.prototype.target=ru.prototype.target;ru.prototype.preventDefault=ru.prototype.preventDefault;ru.prototype.stopPropagation=ru.prototype.stopPropagation;Ng.prototype.getActive=Ng.prototype.c;Ng.prototype.getMap=Ng.prototype.i;
969
- Ng.prototype.setActive=Ng.prototype.Ja;Ng.prototype.get=Ng.prototype.get;Ng.prototype.getKeys=Ng.prototype.P;Ng.prototype.getProperties=Ng.prototype.O;Ng.prototype.set=Ng.prototype.set;Ng.prototype.setProperties=Ng.prototype.H;Ng.prototype.unset=Ng.prototype.R;Ng.prototype.changed=Ng.prototype.s;Ng.prototype.dispatchEvent=Ng.prototype.b;Ng.prototype.getRevision=Ng.prototype.L;Ng.prototype.on=Ng.prototype.J;Ng.prototype.once=Ng.prototype.once;Ng.prototype.un=Ng.prototype.K;Ng.prototype.unByKey=Ng.prototype.M;
970
- Pg.prototype.getActive=Pg.prototype.c;Pg.prototype.getMap=Pg.prototype.i;Pg.prototype.setActive=Pg.prototype.Ja;Pg.prototype.get=Pg.prototype.get;Pg.prototype.getKeys=Pg.prototype.P;Pg.prototype.getProperties=Pg.prototype.O;Pg.prototype.set=Pg.prototype.set;Pg.prototype.setProperties=Pg.prototype.H;Pg.prototype.unset=Pg.prototype.R;Pg.prototype.changed=Pg.prototype.s;Pg.prototype.dispatchEvent=Pg.prototype.b;Pg.prototype.getRevision=Pg.prototype.L;Pg.prototype.on=Pg.prototype.J;
971
- Pg.prototype.once=Pg.prototype.once;Pg.prototype.un=Pg.prototype.K;Pg.prototype.unByKey=Pg.prototype.M;tu.prototype.getActive=tu.prototype.c;tu.prototype.getMap=tu.prototype.i;tu.prototype.setActive=tu.prototype.Ja;tu.prototype.get=tu.prototype.get;tu.prototype.getKeys=tu.prototype.P;tu.prototype.getProperties=tu.prototype.O;tu.prototype.set=tu.prototype.set;tu.prototype.setProperties=tu.prototype.H;tu.prototype.unset=tu.prototype.R;tu.prototype.changed=tu.prototype.s;tu.prototype.dispatchEvent=tu.prototype.b;
972
- tu.prototype.getRevision=tu.prototype.L;tu.prototype.on=tu.prototype.J;tu.prototype.once=tu.prototype.once;tu.prototype.un=tu.prototype.K;tu.prototype.unByKey=tu.prototype.M;Bu.prototype.type=Bu.prototype.type;Bu.prototype.target=Bu.prototype.target;Bu.prototype.preventDefault=Bu.prototype.preventDefault;Bu.prototype.stopPropagation=Bu.prototype.stopPropagation;Rg.prototype.getActive=Rg.prototype.c;Rg.prototype.getMap=Rg.prototype.i;Rg.prototype.setActive=Rg.prototype.Ja;Rg.prototype.get=Rg.prototype.get;
973
- Rg.prototype.getKeys=Rg.prototype.P;Rg.prototype.getProperties=Rg.prototype.O;Rg.prototype.set=Rg.prototype.set;Rg.prototype.setProperties=Rg.prototype.H;Rg.prototype.unset=Rg.prototype.R;Rg.prototype.changed=Rg.prototype.s;Rg.prototype.dispatchEvent=Rg.prototype.b;Rg.prototype.getRevision=Rg.prototype.L;Rg.prototype.on=Rg.prototype.J;Rg.prototype.once=Rg.prototype.once;Rg.prototype.un=Rg.prototype.K;Rg.prototype.unByKey=Rg.prototype.M;Vg.prototype.getActive=Vg.prototype.c;Vg.prototype.getMap=Vg.prototype.i;
974
- Vg.prototype.setActive=Vg.prototype.Ja;Vg.prototype.get=Vg.prototype.get;Vg.prototype.getKeys=Vg.prototype.P;Vg.prototype.getProperties=Vg.prototype.O;Vg.prototype.set=Vg.prototype.set;Vg.prototype.setProperties=Vg.prototype.H;Vg.prototype.unset=Vg.prototype.R;Vg.prototype.changed=Vg.prototype.s;Vg.prototype.dispatchEvent=Vg.prototype.b;Vg.prototype.getRevision=Vg.prototype.L;Vg.prototype.on=Vg.prototype.J;Vg.prototype.once=Vg.prototype.once;Vg.prototype.un=Vg.prototype.K;Vg.prototype.unByKey=Vg.prototype.M;
975
- Zg.prototype.getActive=Zg.prototype.c;Zg.prototype.getMap=Zg.prototype.i;Zg.prototype.setActive=Zg.prototype.Ja;Zg.prototype.get=Zg.prototype.get;Zg.prototype.getKeys=Zg.prototype.P;Zg.prototype.getProperties=Zg.prototype.O;Zg.prototype.set=Zg.prototype.set;Zg.prototype.setProperties=Zg.prototype.H;Zg.prototype.unset=Zg.prototype.R;Zg.prototype.changed=Zg.prototype.s;Zg.prototype.dispatchEvent=Zg.prototype.b;Zg.prototype.getRevision=Zg.prototype.L;Zg.prototype.on=Zg.prototype.J;
976
- Zg.prototype.once=Zg.prototype.once;Zg.prototype.un=Zg.prototype.K;Zg.prototype.unByKey=Zg.prototype.M;Ju.prototype.getActive=Ju.prototype.c;Ju.prototype.getMap=Ju.prototype.i;Ju.prototype.setActive=Ju.prototype.Ja;Ju.prototype.get=Ju.prototype.get;Ju.prototype.getKeys=Ju.prototype.P;Ju.prototype.getProperties=Ju.prototype.O;Ju.prototype.set=Ju.prototype.set;Ju.prototype.setProperties=Ju.prototype.H;Ju.prototype.unset=Ju.prototype.R;Ju.prototype.changed=Ju.prototype.s;Ju.prototype.dispatchEvent=Ju.prototype.b;
977
- Ju.prototype.getRevision=Ju.prototype.L;Ju.prototype.on=Ju.prototype.J;Ju.prototype.once=Ju.prototype.once;Ju.prototype.un=Ju.prototype.K;Ju.prototype.unByKey=Ju.prototype.M;Mu.prototype.type=Mu.prototype.type;Mu.prototype.target=Mu.prototype.target;Mu.prototype.preventDefault=Mu.prototype.preventDefault;Mu.prototype.stopPropagation=Mu.prototype.stopPropagation;Ou.prototype.getActive=Ou.prototype.c;Ou.prototype.getMap=Ou.prototype.i;Ou.prototype.setActive=Ou.prototype.Ja;Ou.prototype.get=Ou.prototype.get;
978
- Ou.prototype.getKeys=Ou.prototype.P;Ou.prototype.getProperties=Ou.prototype.O;Ou.prototype.set=Ou.prototype.set;Ou.prototype.setProperties=Ou.prototype.H;Ou.prototype.unset=Ou.prototype.R;Ou.prototype.changed=Ou.prototype.s;Ou.prototype.dispatchEvent=Ou.prototype.b;Ou.prototype.getRevision=Ou.prototype.L;Ou.prototype.on=Ou.prototype.J;Ou.prototype.once=Ou.prototype.once;Ou.prototype.un=Ou.prototype.K;Ou.prototype.unByKey=Ou.prototype.M;Su.prototype.getActive=Su.prototype.c;Su.prototype.getMap=Su.prototype.i;
979
- Su.prototype.setActive=Su.prototype.Ja;Su.prototype.get=Su.prototype.get;Su.prototype.getKeys=Su.prototype.P;Su.prototype.getProperties=Su.prototype.O;Su.prototype.set=Su.prototype.set;Su.prototype.setProperties=Su.prototype.H;Su.prototype.unset=Su.prototype.R;Su.prototype.changed=Su.prototype.s;Su.prototype.dispatchEvent=Su.prototype.b;Su.prototype.getRevision=Su.prototype.L;Su.prototype.on=Su.prototype.J;Su.prototype.once=Su.prototype.once;Su.prototype.un=Su.prototype.K;Su.prototype.unByKey=Su.prototype.M;
980
- Yu.prototype.type=Yu.prototype.type;Yu.prototype.target=Yu.prototype.target;Yu.prototype.preventDefault=Yu.prototype.preventDefault;Yu.prototype.stopPropagation=Yu.prototype.stopPropagation;ef.prototype.get=ef.prototype.get;ef.prototype.getKeys=ef.prototype.P;ef.prototype.getProperties=ef.prototype.O;ef.prototype.set=ef.prototype.set;ef.prototype.setProperties=ef.prototype.H;ef.prototype.unset=ef.prototype.R;ef.prototype.changed=ef.prototype.s;ef.prototype.dispatchEvent=ef.prototype.b;
981
- ef.prototype.getRevision=ef.prototype.L;ef.prototype.on=ef.prototype.J;ef.prototype.once=ef.prototype.once;ef.prototype.un=ef.prototype.K;ef.prototype.unByKey=ef.prototype.M;E.prototype.getClosestPoint=E.prototype.Bb;E.prototype.intersectsCoordinate=E.prototype.tb;E.prototype.getExtent=E.prototype.D;E.prototype.rotate=E.prototype.rotate;E.prototype.scale=E.prototype.scale;E.prototype.simplify=E.prototype.Qb;E.prototype.transform=E.prototype.ub;E.prototype.get=E.prototype.get;E.prototype.getKeys=E.prototype.P;
982
- E.prototype.getProperties=E.prototype.O;E.prototype.set=E.prototype.set;E.prototype.setProperties=E.prototype.H;E.prototype.unset=E.prototype.R;E.prototype.changed=E.prototype.s;E.prototype.dispatchEvent=E.prototype.b;E.prototype.getRevision=E.prototype.L;E.prototype.on=E.prototype.J;E.prototype.once=E.prototype.once;E.prototype.un=E.prototype.K;E.prototype.unByKey=E.prototype.M;is.prototype.getFirstCoordinate=is.prototype.cc;is.prototype.getLastCoordinate=is.prototype.dc;is.prototype.getLayout=is.prototype.ec;
983
- is.prototype.rotate=is.prototype.rotate;is.prototype.scale=is.prototype.scale;is.prototype.getClosestPoint=is.prototype.Bb;is.prototype.intersectsCoordinate=is.prototype.tb;is.prototype.getExtent=is.prototype.D;is.prototype.simplify=is.prototype.Qb;is.prototype.get=is.prototype.get;is.prototype.getKeys=is.prototype.P;is.prototype.getProperties=is.prototype.O;is.prototype.set=is.prototype.set;is.prototype.setProperties=is.prototype.H;is.prototype.unset=is.prototype.R;is.prototype.changed=is.prototype.s;
984
- is.prototype.dispatchEvent=is.prototype.b;is.prototype.getRevision=is.prototype.L;is.prototype.on=is.prototype.J;is.prototype.once=is.prototype.once;is.prototype.un=is.prototype.K;is.prototype.unByKey=is.prototype.M;qm.prototype.getClosestPoint=qm.prototype.Bb;qm.prototype.intersectsCoordinate=qm.prototype.tb;qm.prototype.getExtent=qm.prototype.D;qm.prototype.rotate=qm.prototype.rotate;qm.prototype.scale=qm.prototype.scale;qm.prototype.simplify=qm.prototype.Qb;qm.prototype.transform=qm.prototype.ub;
985
- qm.prototype.get=qm.prototype.get;qm.prototype.getKeys=qm.prototype.P;qm.prototype.getProperties=qm.prototype.O;qm.prototype.set=qm.prototype.set;qm.prototype.setProperties=qm.prototype.H;qm.prototype.unset=qm.prototype.R;qm.prototype.changed=qm.prototype.s;qm.prototype.dispatchEvent=qm.prototype.b;qm.prototype.getRevision=qm.prototype.L;qm.prototype.on=qm.prototype.J;qm.prototype.once=qm.prototype.once;qm.prototype.un=qm.prototype.K;qm.prototype.unByKey=qm.prototype.M;
986
- zf.prototype.getFirstCoordinate=zf.prototype.cc;zf.prototype.getLastCoordinate=zf.prototype.dc;zf.prototype.getLayout=zf.prototype.ec;zf.prototype.rotate=zf.prototype.rotate;zf.prototype.scale=zf.prototype.scale;zf.prototype.getClosestPoint=zf.prototype.Bb;zf.prototype.intersectsCoordinate=zf.prototype.tb;zf.prototype.getExtent=zf.prototype.D;zf.prototype.simplify=zf.prototype.Qb;zf.prototype.transform=zf.prototype.ub;zf.prototype.get=zf.prototype.get;zf.prototype.getKeys=zf.prototype.P;
987
- zf.prototype.getProperties=zf.prototype.O;zf.prototype.set=zf.prototype.set;zf.prototype.setProperties=zf.prototype.H;zf.prototype.unset=zf.prototype.R;zf.prototype.changed=zf.prototype.s;zf.prototype.dispatchEvent=zf.prototype.b;zf.prototype.getRevision=zf.prototype.L;zf.prototype.on=zf.prototype.J;zf.prototype.once=zf.prototype.once;zf.prototype.un=zf.prototype.K;zf.prototype.unByKey=zf.prototype.M;N.prototype.getFirstCoordinate=N.prototype.cc;N.prototype.getLastCoordinate=N.prototype.dc;
988
- N.prototype.getLayout=N.prototype.ec;N.prototype.rotate=N.prototype.rotate;N.prototype.scale=N.prototype.scale;N.prototype.getClosestPoint=N.prototype.Bb;N.prototype.intersectsCoordinate=N.prototype.tb;N.prototype.getExtent=N.prototype.D;N.prototype.simplify=N.prototype.Qb;N.prototype.transform=N.prototype.ub;N.prototype.get=N.prototype.get;N.prototype.getKeys=N.prototype.P;N.prototype.getProperties=N.prototype.O;N.prototype.set=N.prototype.set;N.prototype.setProperties=N.prototype.H;
989
- N.prototype.unset=N.prototype.R;N.prototype.changed=N.prototype.s;N.prototype.dispatchEvent=N.prototype.b;N.prototype.getRevision=N.prototype.L;N.prototype.on=N.prototype.J;N.prototype.once=N.prototype.once;N.prototype.un=N.prototype.K;N.prototype.unByKey=N.prototype.M;O.prototype.getFirstCoordinate=O.prototype.cc;O.prototype.getLastCoordinate=O.prototype.dc;O.prototype.getLayout=O.prototype.ec;O.prototype.rotate=O.prototype.rotate;O.prototype.scale=O.prototype.scale;O.prototype.getClosestPoint=O.prototype.Bb;
990
- O.prototype.intersectsCoordinate=O.prototype.tb;O.prototype.getExtent=O.prototype.D;O.prototype.simplify=O.prototype.Qb;O.prototype.transform=O.prototype.ub;O.prototype.get=O.prototype.get;O.prototype.getKeys=O.prototype.P;O.prototype.getProperties=O.prototype.O;O.prototype.set=O.prototype.set;O.prototype.setProperties=O.prototype.H;O.prototype.unset=O.prototype.R;O.prototype.changed=O.prototype.s;O.prototype.dispatchEvent=O.prototype.b;O.prototype.getRevision=O.prototype.L;O.prototype.on=O.prototype.J;
991
- O.prototype.once=O.prototype.once;O.prototype.un=O.prototype.K;O.prototype.unByKey=O.prototype.M;P.prototype.getFirstCoordinate=P.prototype.cc;P.prototype.getLastCoordinate=P.prototype.dc;P.prototype.getLayout=P.prototype.ec;P.prototype.rotate=P.prototype.rotate;P.prototype.scale=P.prototype.scale;P.prototype.getClosestPoint=P.prototype.Bb;P.prototype.intersectsCoordinate=P.prototype.tb;P.prototype.getExtent=P.prototype.D;P.prototype.simplify=P.prototype.Qb;P.prototype.transform=P.prototype.ub;
992
- P.prototype.get=P.prototype.get;P.prototype.getKeys=P.prototype.P;P.prototype.getProperties=P.prototype.O;P.prototype.set=P.prototype.set;P.prototype.setProperties=P.prototype.H;P.prototype.unset=P.prototype.R;P.prototype.changed=P.prototype.s;P.prototype.dispatchEvent=P.prototype.b;P.prototype.getRevision=P.prototype.L;P.prototype.on=P.prototype.J;P.prototype.once=P.prototype.once;P.prototype.un=P.prototype.K;P.prototype.unByKey=P.prototype.M;Q.prototype.getFirstCoordinate=Q.prototype.cc;
993
- Q.prototype.getLastCoordinate=Q.prototype.dc;Q.prototype.getLayout=Q.prototype.ec;Q.prototype.rotate=Q.prototype.rotate;Q.prototype.scale=Q.prototype.scale;Q.prototype.getClosestPoint=Q.prototype.Bb;Q.prototype.intersectsCoordinate=Q.prototype.tb;Q.prototype.getExtent=Q.prototype.D;Q.prototype.simplify=Q.prototype.Qb;Q.prototype.transform=Q.prototype.ub;Q.prototype.get=Q.prototype.get;Q.prototype.getKeys=Q.prototype.P;Q.prototype.getProperties=Q.prototype.O;Q.prototype.set=Q.prototype.set;
994
- Q.prototype.setProperties=Q.prototype.H;Q.prototype.unset=Q.prototype.R;Q.prototype.changed=Q.prototype.s;Q.prototype.dispatchEvent=Q.prototype.b;Q.prototype.getRevision=Q.prototype.L;Q.prototype.on=Q.prototype.J;Q.prototype.once=Q.prototype.once;Q.prototype.un=Q.prototype.K;Q.prototype.unByKey=Q.prototype.M;F.prototype.getFirstCoordinate=F.prototype.cc;F.prototype.getLastCoordinate=F.prototype.dc;F.prototype.getLayout=F.prototype.ec;F.prototype.rotate=F.prototype.rotate;F.prototype.scale=F.prototype.scale;
995
- F.prototype.getClosestPoint=F.prototype.Bb;F.prototype.intersectsCoordinate=F.prototype.tb;F.prototype.getExtent=F.prototype.D;F.prototype.simplify=F.prototype.Qb;F.prototype.transform=F.prototype.ub;F.prototype.get=F.prototype.get;F.prototype.getKeys=F.prototype.P;F.prototype.getProperties=F.prototype.O;F.prototype.set=F.prototype.set;F.prototype.setProperties=F.prototype.H;F.prototype.unset=F.prototype.R;F.prototype.changed=F.prototype.s;F.prototype.dispatchEvent=F.prototype.b;
996
- F.prototype.getRevision=F.prototype.L;F.prototype.on=F.prototype.J;F.prototype.once=F.prototype.once;F.prototype.un=F.prototype.K;F.prototype.unByKey=F.prototype.M;G.prototype.getFirstCoordinate=G.prototype.cc;G.prototype.getLastCoordinate=G.prototype.dc;G.prototype.getLayout=G.prototype.ec;G.prototype.rotate=G.prototype.rotate;G.prototype.scale=G.prototype.scale;G.prototype.getClosestPoint=G.prototype.Bb;G.prototype.intersectsCoordinate=G.prototype.tb;G.prototype.getExtent=G.prototype.D;
997
- G.prototype.simplify=G.prototype.Qb;G.prototype.transform=G.prototype.ub;G.prototype.get=G.prototype.get;G.prototype.getKeys=G.prototype.P;G.prototype.getProperties=G.prototype.O;G.prototype.set=G.prototype.set;G.prototype.setProperties=G.prototype.H;G.prototype.unset=G.prototype.R;G.prototype.changed=G.prototype.s;G.prototype.dispatchEvent=G.prototype.b;G.prototype.getRevision=G.prototype.L;G.prototype.on=G.prototype.J;G.prototype.once=G.prototype.once;G.prototype.un=G.prototype.K;
998
- G.prototype.unByKey=G.prototype.M;Pm.prototype.readFeatures=Pm.prototype.Ra;Ym.prototype.readFeatures=Ym.prototype.Ra;Pm.prototype.readFeatures=Pm.prototype.Ra;bd.prototype.get=bd.prototype.get;bd.prototype.getKeys=bd.prototype.P;bd.prototype.getProperties=bd.prototype.O;bd.prototype.set=bd.prototype.set;bd.prototype.setProperties=bd.prototype.H;bd.prototype.unset=bd.prototype.R;bd.prototype.changed=bd.prototype.s;bd.prototype.dispatchEvent=bd.prototype.b;bd.prototype.getRevision=bd.prototype.L;
999
- bd.prototype.on=bd.prototype.J;bd.prototype.once=bd.prototype.once;bd.prototype.un=bd.prototype.K;bd.prototype.unByKey=bd.prototype.M;cd.prototype.getMap=cd.prototype.g;cd.prototype.setMap=cd.prototype.setMap;cd.prototype.setTarget=cd.prototype.i;cd.prototype.get=cd.prototype.get;cd.prototype.getKeys=cd.prototype.P;cd.prototype.getProperties=cd.prototype.O;cd.prototype.set=cd.prototype.set;cd.prototype.setProperties=cd.prototype.H;cd.prototype.unset=cd.prototype.R;cd.prototype.changed=cd.prototype.s;
1000
- cd.prototype.dispatchEvent=cd.prototype.b;cd.prototype.getRevision=cd.prototype.L;cd.prototype.on=cd.prototype.J;cd.prototype.once=cd.prototype.once;cd.prototype.un=cd.prototype.K;cd.prototype.unByKey=cd.prototype.M;qd.prototype.getMap=qd.prototype.g;qd.prototype.setMap=qd.prototype.setMap;qd.prototype.setTarget=qd.prototype.i;qd.prototype.get=qd.prototype.get;qd.prototype.getKeys=qd.prototype.P;qd.prototype.getProperties=qd.prototype.O;qd.prototype.set=qd.prototype.set;
1001
- qd.prototype.setProperties=qd.prototype.H;qd.prototype.unset=qd.prototype.R;qd.prototype.changed=qd.prototype.s;qd.prototype.dispatchEvent=qd.prototype.b;qd.prototype.getRevision=qd.prototype.L;qd.prototype.on=qd.prototype.J;qd.prototype.once=qd.prototype.once;qd.prototype.un=qd.prototype.K;qd.prototype.unByKey=qd.prototype.M;vd.prototype.getMap=vd.prototype.g;vd.prototype.setMap=vd.prototype.setMap;vd.prototype.setTarget=vd.prototype.i;vd.prototype.get=vd.prototype.get;vd.prototype.getKeys=vd.prototype.P;
1002
- vd.prototype.getProperties=vd.prototype.O;vd.prototype.set=vd.prototype.set;vd.prototype.setProperties=vd.prototype.H;vd.prototype.unset=vd.prototype.R;vd.prototype.changed=vd.prototype.s;vd.prototype.dispatchEvent=vd.prototype.b;vd.prototype.getRevision=vd.prototype.L;vd.prototype.on=vd.prototype.J;vd.prototype.once=vd.prototype.once;vd.prototype.un=vd.prototype.K;vd.prototype.unByKey=vd.prototype.M;zk.prototype.getMap=zk.prototype.g;zk.prototype.setMap=zk.prototype.setMap;
1003
- zk.prototype.setTarget=zk.prototype.i;zk.prototype.get=zk.prototype.get;zk.prototype.getKeys=zk.prototype.P;zk.prototype.getProperties=zk.prototype.O;zk.prototype.set=zk.prototype.set;zk.prototype.setProperties=zk.prototype.H;zk.prototype.unset=zk.prototype.R;zk.prototype.changed=zk.prototype.s;zk.prototype.dispatchEvent=zk.prototype.b;zk.prototype.getRevision=zk.prototype.L;zk.prototype.on=zk.prototype.J;zk.prototype.once=zk.prototype.once;zk.prototype.un=zk.prototype.K;zk.prototype.unByKey=zk.prototype.M;
1004
- kd.prototype.getMap=kd.prototype.g;kd.prototype.setMap=kd.prototype.setMap;kd.prototype.setTarget=kd.prototype.i;kd.prototype.get=kd.prototype.get;kd.prototype.getKeys=kd.prototype.P;kd.prototype.getProperties=kd.prototype.O;kd.prototype.set=kd.prototype.set;kd.prototype.setProperties=kd.prototype.H;kd.prototype.unset=kd.prototype.R;kd.prototype.changed=kd.prototype.s;kd.prototype.dispatchEvent=kd.prototype.b;kd.prototype.getRevision=kd.prototype.L;kd.prototype.on=kd.prototype.J;
1005
- kd.prototype.once=kd.prototype.once;kd.prototype.un=kd.prototype.K;kd.prototype.unByKey=kd.prototype.M;Ek.prototype.getMap=Ek.prototype.g;Ek.prototype.setMap=Ek.prototype.setMap;Ek.prototype.setTarget=Ek.prototype.i;Ek.prototype.get=Ek.prototype.get;Ek.prototype.getKeys=Ek.prototype.P;Ek.prototype.getProperties=Ek.prototype.O;Ek.prototype.set=Ek.prototype.set;Ek.prototype.setProperties=Ek.prototype.H;Ek.prototype.unset=Ek.prototype.R;Ek.prototype.changed=Ek.prototype.s;
1006
- Ek.prototype.dispatchEvent=Ek.prototype.b;Ek.prototype.getRevision=Ek.prototype.L;Ek.prototype.on=Ek.prototype.J;Ek.prototype.once=Ek.prototype.once;Ek.prototype.un=Ek.prototype.K;Ek.prototype.unByKey=Ek.prototype.M;md.prototype.getMap=md.prototype.g;md.prototype.setMap=md.prototype.setMap;md.prototype.setTarget=md.prototype.i;md.prototype.get=md.prototype.get;md.prototype.getKeys=md.prototype.P;md.prototype.getProperties=md.prototype.O;md.prototype.set=md.prototype.set;
1007
- md.prototype.setProperties=md.prototype.H;md.prototype.unset=md.prototype.R;md.prototype.changed=md.prototype.s;md.prototype.dispatchEvent=md.prototype.b;md.prototype.getRevision=md.prototype.L;md.prototype.on=md.prototype.J;md.prototype.once=md.prototype.once;md.prototype.un=md.prototype.K;md.prototype.unByKey=md.prototype.M;Jk.prototype.getMap=Jk.prototype.g;Jk.prototype.setMap=Jk.prototype.setMap;Jk.prototype.setTarget=Jk.prototype.i;Jk.prototype.get=Jk.prototype.get;Jk.prototype.getKeys=Jk.prototype.P;
1008
- Jk.prototype.getProperties=Jk.prototype.O;Jk.prototype.set=Jk.prototype.set;Jk.prototype.setProperties=Jk.prototype.H;Jk.prototype.unset=Jk.prototype.R;Jk.prototype.changed=Jk.prototype.s;Jk.prototype.dispatchEvent=Jk.prototype.b;Jk.prototype.getRevision=Jk.prototype.L;Jk.prototype.on=Jk.prototype.J;Jk.prototype.once=Jk.prototype.once;Jk.prototype.un=Jk.prototype.K;Jk.prototype.unByKey=Jk.prototype.M;Ok.prototype.getMap=Ok.prototype.g;Ok.prototype.setMap=Ok.prototype.setMap;
1009
- Ok.prototype.setTarget=Ok.prototype.i;Ok.prototype.get=Ok.prototype.get;Ok.prototype.getKeys=Ok.prototype.P;Ok.prototype.getProperties=Ok.prototype.O;Ok.prototype.set=Ok.prototype.set;Ok.prototype.setProperties=Ok.prototype.H;Ok.prototype.unset=Ok.prototype.R;Ok.prototype.changed=Ok.prototype.s;Ok.prototype.dispatchEvent=Ok.prototype.b;Ok.prototype.getRevision=Ok.prototype.L;Ok.prototype.on=Ok.prototype.J;Ok.prototype.once=Ok.prototype.once;Ok.prototype.un=Ok.prototype.K;Ok.prototype.unByKey=Ok.prototype.M;
1010
- return OPENLAYERS.ol;
1011
- }));
1012
-