diff --git a/public/js/iframeSearch.js b/public/js/iframeSearch.js index 67418437434a68b7c2a9d30ee2b320198a737c9f..374fbf1f276e5fe8a161e8cc5ce38bd1bbc72b36 100644 --- a/public/js/iframeSearch.js +++ b/public/js/iframeSearch.js @@ -1,20 +1,20 @@ -function success(t){var e=t.coords;map.getView().setCenter(ol.proj.transform([e.longitude,e.latitude],"EPSG:4326","EPSG:3857")),map.getView().setZoom(12),updateMapExtent()}function error(t){}function receiveLocation(){navigator.geolocation.getCurrentPosition(success,error,options)}function updateMapExtent(){var t=map.getView().calculateExtent([$("#map").width(),$("#map").height()]);extent=ol.proj.transform([t[0],t[1]],"EPSG:3857","EPSG:4326").concat(ol.proj.transform([t[2],t[3]],"EPSG:3857","EPSG:4326"))}function numberWithPoints(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function toggleResults(){"in"===$("#results").attr("data-status")?($("#closer").html("<"),$("#results").attr("data-status","out"),$("#closer").attr("title","Ergebnisse ausklappen"),updateResultsPosition(),updateCloserPosition()):($("#closer").html(">"),$("#results").attr("data-status","in"),$("#closer").attr("title","Ergebnisse einklappen"),updateResultsPosition(),updateCloserPosition())}function updateResultsPosition(){if("out"===$("#results").attr("data-status")){var t=$("#results").outerWidth()*-1;$("#results").css("right",t+"px")}else $("#results").css("right",0)}function updateCloserPosition(){if("out"===$("#results").attr("data-status"))$("#closer").css("right","0px");else{var t=$(window).width(),e=$("#results").width()-1,o=$("#closer").width();t>e+o?$("#closer").css("right",e+"px"):$("#closer").css("right",e-o+"px")}}function adjustView(t){if(!(t.length<=0)){for(var e=[],o=[],i=0;i<t.length&&(("undefined"==typeof e[0]||e[0]>parseFloat(t[i].lon))&&(e[0]=parseFloat(t[i].lon)),("undefined"==typeof e[0]||"undefined"!=typeof t[i].boundingbox&&e[0]>parseFloat(t[i].boundingbox[2]))&&(e[0]=parseFloat(t[i].boundingbox[2])),("undefined"==typeof e[1]||e[1]>parseFloat(t[i].lat))&&(e[1]=parseFloat(t[i].lat)),("undefined"==typeof e[1]||"undefined"!=typeof t[i].boundingbox&&e[1]>parseFloat(t[i].boundingbox[0]))&&(e[1]=parseFloat(t[i].boundingbox[0])),("undefined"==typeof o[0]||o[0]<parseFloat(t[i].lon))&&(o[0]=parseFloat(t[i].lon)),("undefined"==typeof o[0]||"undefined"!=typeof t[i].boundingbox&&o[0]<parseFloat(t[i].boundingbox[3]))&&(o[0]=parseFloat(t[i].boundingbox[3])),("undefined"==typeof o[1]||o[1]<parseFloat(t[i].lat))&&(o[1]=parseFloat(t[i].lat)),("undefined"==typeof o[1]||"undefined"!=typeof t[i].boundingbox&&o[1]<parseFloat(t[i].boundingbox[1]))&&(o[1]=parseFloat(t[i].boundingbox[1])),"undefined"==typeof t[i].type||"city"!==t[i].type&&"administrative"!==t[i].type&&"river"!==t[i].type);i++);e=ol.proj.transform(e,"EPSG:4326","EPSG:3857"),o=ol.proj.transform(o,"EPSG:4326","EPSG:3857"),map.getView().fitExtent([e[0],e[1],o[0],o[1]],map.getSize()),updateMapExtent()}}function adjustViewBoundingBox(t,e){minPosition=ol.proj.transform(t,"EPSG:4326","EPSG:3857"),maxPosition=ol.proj.transform(e,"EPSG:4326","EPSG:3857"),map.getView().fitExtent([minPosition[0],minPosition[1],maxPosition[0],maxPosition[1]],map.getSize()),updateMapExtent()}function clearPOIS(){$.each(overlays,function(t,e){map.removeOverlay(e)}),map.removeLayer(vectorLayer),vectorSource=new ol.source.Vector,$("#results > .result").remove(),$("#results > h4").remove(),overlays=[]}function addMarker(t,e){var o=new ol.Overlay({position:e,element:t,offset:[-12,-45],stopEvent:!1});map.addOverlay(o),overlays.push(o)}function initMap(){popupOverlay=new ol.Overlay({element:$("#popup"),autoPan:!0,autoPanAnimation:{duration:250}}),map=new ol.Map({layers:[new ol.layer.Tile({preload:1/0,source:new ol.source.OSM({attributions:[new ol.Attribution({html:'All search results © <a href="http://nominatim.openstreetmap.org/">Nominatim</a>'}),ol.source.OSM.ATTRIBUTION],url:"https://maps.metager.de/osm_tiles/{z}/{x}/{y}.png"})})],target:"map",controls:[],interactions:ol.interaction.defaults({doubleClickZoom:!1,dragAndDrop:!1,dragPan:!1,dragBox:!1,dragRotate:!1,dragRotateAndZoom:!1,dragZoom:!1,draw:!1,extent:!1,interaction:!1,pointer:!1,keyboardPan:!1,keyboardZoom:!1,modify:!1,pinchRotate:!1,pinchZoom:!1,snap:!1,translate:!1,mouseWheelZoom:!1,pointer:!1,select:!1}),overlays:[popupOverlay],view:new ol.View({maxZoom:18,minZoom:5,center:ol.proj.transform([10.06897,51.37247],"EPSG:4326","EPSG:3857"),zoom:5}),loadTilesWhileAnimating:!0,loadTilesWhileInteracting:!0}),map.addControl(new ol.control.ZoomSlider),$("#popup-closer").click(function(){return popupOverlay.setPosition(void 0),$(this).blur(),!1})}if(!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function o(t){var e=t.length,o=nt.type(t);return"function"!==o&&!nt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===o||0===e||"number"==typeof e&&e>0&&e-1 in t))}function i(t,e,o){if(nt.isFunction(e))return nt.grep(t,function(t,i){return!!e.call(t,i,t)!==o});if(e.nodeType)return nt.grep(t,function(t){return t===e!==o});if("string"==typeof e){if(ct.test(e))return nt.filter(e,t,o);e=nt.filter(e,t)}return nt.grep(t,function(t){return nt.inArray(t,e)>=0!==o})}function n(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function r(t){var e=wt[t]={};return nt.each(t.match(bt)||[],function(t,o){e[o]=!0}),e}function s(){yt.addEventListener?(yt.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1)):(yt.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(yt.addEventListener||"load"===event.type||"complete"===yt.readyState)&&(s(),nt.ready())}function p(t,e,o){if(void 0===o&&1===t.nodeType){var i="data-"+e.replace(Ct,"-$1").toLowerCase();if(o=t.getAttribute(i),"string"==typeof o){try{o="true"===o||"false"!==o&&("null"===o?null:+o+""===o?+o:Mt.test(o)?nt.parseJSON(o):o)}catch(n){}nt.data(t,e,o)}else o=void 0}return o}function l(t){var e;for(e in t)if(("data"!==e||!nt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function h(t,e,o,i){if(nt.acceptData(t)){var n,r,s=nt.expando,a=t.nodeType,p=a?nt.cache:t,l=a?t[s]:t[s]&&s;if(l&&p[l]&&(i||p[l].data)||void 0!==o||"string"!=typeof e)return l||(l=a?t[s]=V.pop()||nt.guid++:s),p[l]||(p[l]=a?{}:{toJSON:nt.noop}),("object"==typeof e||"function"==typeof e)&&(i?p[l]=nt.extend(p[l],e):p[l].data=nt.extend(p[l].data,e)),r=p[l],i||(r.data||(r.data={}),r=r.data),void 0!==o&&(r[nt.camelCase(e)]=o),"string"==typeof e?(n=r[e],null==n&&(n=r[nt.camelCase(e)])):n=r,n}}function u(t,e,o){if(nt.acceptData(t)){var i,n,r=t.nodeType,s=r?nt.cache:t,a=r?t[nt.expando]:nt.expando;if(s[a]){if(e&&(i=o?s[a]:s[a].data)){nt.isArray(e)?e=e.concat(nt.map(e,nt.camelCase)):e in i?e=[e]:(e=nt.camelCase(e),e=e in i?[e]:e.split(" ")),n=e.length;for(;n--;)delete i[e[n]];if(o?!l(i):!nt.isEmptyObject(i))return}(o||(delete s[a].data,l(s[a])))&&(r?nt.cleanData([t],!0):ot.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}function c(){return!0}function f(){return!1}function y(){try{return yt.activeElement}catch(t){}}function d(t){var e=Ft.split("|"),o=t.createDocumentFragment();if(o.createElement)for(;e.length;)o.createElement(e.pop());return o}function g(t,e){var o,i,n=0,r=typeof t.getElementsByTagName!==Tt?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==Tt?t.querySelectorAll(e||"*"):void 0;if(!r)for(r=[],o=t.childNodes||t;null!=(i=o[n]);n++)!e||nt.nodeName(i,e)?r.push(i):nt.merge(r,g(i,e));return void 0===e||e&&nt.nodeName(t,e)?nt.merge([t],r):r}function v(t){Rt.test(t.type)&&(t.defaultChecked=t.checked)}function m(t,e){return nt.nodeName(t,"table")&&nt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function b(t){return t.type=(null!==nt.find.attr(t,"type"))+"/"+t.type,t}function w(t){var e=Kt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function x(t,e){for(var o,i=0;null!=(o=t[i]);i++)nt._data(o,"globalEval",!e||nt._data(e[i],"globalEval"))}function S(t,e){if(1===e.nodeType&&nt.hasData(t)){var o,i,n,r=nt._data(t),s=nt._data(e,r),a=r.events;if(a){delete s.handle,s.events={};for(o in a)for(i=0,n=a[o].length;n>i;i++)nt.event.add(e,o,a[o][i])}s.data&&(s.data=nt.extend({},s.data))}}function T(t,e){var o,i,n;if(1===e.nodeType){if(o=e.nodeName.toLowerCase(),!ot.noCloneEvent&&e[nt.expando]){n=nt._data(e);for(i in n.events)nt.removeEvent(e,i,n.handle);e.removeAttribute(nt.expando)}"script"===o&&e.text!==t.text?(b(e).text=t.text,w(e)):"object"===o?(e.parentNode&&(e.outerHTML=t.outerHTML),ot.html5Clone&&t.innerHTML&&!nt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===o&&Rt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===o?e.defaultSelected=e.selected=t.defaultSelected:("input"===o||"textarea"===o)&&(e.defaultValue=t.defaultValue)}}function M(e,o){var i,n=nt(o.createElement(e)).appendTo(o.body),r=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(n[0]))?i.display:nt.css(n[0],"display");return n.detach(),r}function C(t){var e=yt,o=Qt[t];return o||(o=M(t,e),"none"!==o&&o||(Jt=(Jt||nt("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Jt[0].contentWindow||Jt[0].contentDocument).document,e.write(),e.close(),o=M(t,e),Jt.detach()),Qt[t]=o),o}function E(t,e){return{get:function(){var o=t();if(null!=o)return o?void delete this.get:(this.get=e).apply(this,arguments)}}}function P(t,e){if(e in t)return e;for(var o=e.charAt(0).toUpperCase()+e.slice(1),i=e,n=ce.length;n--;)if(e=ce[n]+o,e in t)return e;return i}function k(t,e){for(var o,i,n,r=[],s=0,a=t.length;a>s;s++)i=t[s],i.style&&(r[s]=nt._data(i,"olddisplay"),o=i.style.display,e?(r[s]||"none"!==o||(i.style.display=""),""===i.style.display&&kt(i)&&(r[s]=nt._data(i,"olddisplay",C(i.nodeName)))):(n=kt(i),(o&&"none"!==o||!n)&&nt._data(i,"olddisplay",n?o:nt.css(i,"display"))));for(s=0;a>s;s++)i=t[s],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[s]||"":"none"));return t}function A(t,e,o){var i=pe.exec(e);return i?Math.max(0,i[1]-(o||0))+(i[2]||"px"):e}function R(t,e,o,i,n){for(var r=o===(i?"border":"content")?4:"width"===e?1:0,s=0;4>r;r+=2)"margin"===o&&(s+=nt.css(t,o+Pt[r],!0,n)),i?("content"===o&&(s-=nt.css(t,"padding"+Pt[r],!0,n)),"margin"!==o&&(s-=nt.css(t,"border"+Pt[r]+"Width",!0,n))):(s+=nt.css(t,"padding"+Pt[r],!0,n),"padding"!==o&&(s+=nt.css(t,"border"+Pt[r]+"Width",!0,n)));return s}function L(t,e,o){var i=!0,n="width"===e?t.offsetWidth:t.offsetHeight,r=te(t),s=ot.boxSizing&&"border-box"===nt.css(t,"boxSizing",!1,r);if(0>=n||null==n){if(n=ee(t,e,r),(0>n||null==n)&&(n=t.style[e]),ie.test(n))return n;i=s&&(ot.boxSizingReliable()||n===t.style[e]),n=parseFloat(n)||0}return n+R(t,e,o||(s?"border":"content"),i,r)+"px"}function N(t,e,o,i,n){return new N.prototype.init(t,e,o,i,n)}function j(){return setTimeout(function(){fe=void 0}),fe=nt.now()}function I(t,e){var o,i={height:t},n=0;for(e=e?1:0;4>n;n+=2-e)o=Pt[n],i["margin"+o]=i["padding"+o]=t;return e&&(i.opacity=i.width=t),i}function D(t,e,o){for(var i,n=(be[e]||[]).concat(be["*"]),r=0,s=n.length;s>r;r++)if(i=n[r].call(o,e,t))return i}function F(t,e,o){var i,n,r,s,a,p,l,h,u=this,c={},f=t.style,y=t.nodeType&&kt(t),d=nt._data(t,"fxshow");o.queue||(a=nt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,p=a.empty.fire,a.empty.fire=function(){a.unqueued||p()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,nt.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(o.overflow=[f.overflow,f.overflowX,f.overflowY],l=nt.css(t,"display"),h="none"===l?nt._data(t,"olddisplay")||C(t.nodeName):l,"inline"===h&&"none"===nt.css(t,"float")&&(ot.inlineBlockNeedsLayout&&"inline"!==C(t.nodeName)?f.zoom=1:f.display="inline-block")),o.overflow&&(f.overflow="hidden",ot.shrinkWrapBlocks()||u.always(function(){f.overflow=o.overflow[0],f.overflowX=o.overflow[1],f.overflowY=o.overflow[2]}));for(i in e)if(n=e[i],de.exec(n)){if(delete e[i],r=r||"toggle"===n,n===(y?"hide":"show")){if("show"!==n||!d||void 0===d[i])continue;y=!0}c[i]=d&&d[i]||nt.style(t,i)}else l=void 0;if(nt.isEmptyObject(c))"inline"===("none"===l?C(t.nodeName):l)&&(f.display=l);else{d?"hidden"in d&&(y=d.hidden):d=nt._data(t,"fxshow",{}),r&&(d.hidden=!y),y?nt(t).show():u.done(function(){nt(t).hide()}),u.done(function(){var e;nt._removeData(t,"fxshow");for(e in c)nt.style(t,e,c[e])});for(i in c)s=D(y?d[i]:0,i,u),i in d||(d[i]=s.start,y&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function O(t,e){var o,i,n,r,s;for(o in t)if(i=nt.camelCase(o),n=e[i],r=t[o],nt.isArray(r)&&(n=r[1],r=t[o]=r[0]),o!==i&&(t[i]=r,delete t[o]),s=nt.cssHooks[i],s&&"expand"in s){r=s.expand(r),delete t[i];for(o in r)o in t||(t[o]=r[o],e[o]=n)}else e[i]=n}function B(t,e,o){var i,n,r=0,s=me.length,a=nt.Deferred().always(function(){delete p.elem}),p=function(){if(n)return!1;for(var e=fe||j(),o=Math.max(0,l.startTime+l.duration-e),i=o/l.duration||0,r=1-i,s=0,p=l.tweens.length;p>s;s++)l.tweens[s].run(r);return a.notifyWith(t,[l,r,o]),1>r&&p?o:(a.resolveWith(t,[l]),!1)},l=a.promise({elem:t,props:nt.extend({},e),opts:nt.extend(!0,{specialEasing:{}},o),originalProperties:e,originalOptions:o,startTime:fe||j(),duration:o.duration,tweens:[],createTween:function(e,o){var i=nt.Tween(t,l.opts,e,o,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(i),i},stop:function(e){var o=0,i=e?l.tweens.length:0;if(n)return this;for(n=!0;i>o;o++)l.tweens[o].run(1);return e?a.resolveWith(t,[l,e]):a.rejectWith(t,[l,e]),this}}),h=l.props;for(O(h,l.opts.specialEasing);s>r;r++)if(i=me[r].call(l,t,h,l.opts))return i;return nt.map(h,D,l),nt.isFunction(l.opts.start)&&l.opts.start.call(t,l),nt.fx.timer(nt.extend(p,{elem:t,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function U(t){return function(e,o){"string"!=typeof e&&(o=e,e="*");var i,n=0,r=e.toLowerCase().match(bt)||[];if(nt.isFunction(o))for(;i=r[n++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(o)):(t[i]=t[i]||[]).push(o)}}function G(t,e,o,i){function n(a){var p;return r[a]=!0,nt.each(t[a]||[],function(t,a){var l=a(e,o,i);return"string"!=typeof l||s||r[l]?s?!(p=l):void 0:(e.dataTypes.unshift(l),n(l),!1)}),p}var r={},s=t===$e;return n(e.dataTypes[0])||!r["*"]&&n("*")}function H(t,e){var o,i,n=nt.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((n[i]?t:o||(o={}))[i]=e[i]);return o&&nt.extend(!0,t,o),t}function q(t,e,o){for(var i,n,r,s,a=t.contents,p=t.dataTypes;"*"===p[0];)p.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){p.unshift(s);break}if(p[0]in o)r=p[0];else{for(s in o){if(!p[0]||t.converters[s+" "+p[0]]){r=s;break}i||(i=s)}r=r||i}return r?(r!==p[0]&&p.unshift(r),o[r]):void 0}function $(t,e,o,i){var n,r,s,a,p,l={},h=t.dataTypes.slice();if(h[1])for(s in t.converters)l[s.toLowerCase()]=t.converters[s];for(r=h.shift();r;)if(t.responseFields[r]&&(o[t.responseFields[r]]=e),!p&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),p=r,r=h.shift())if("*"===r)r=p;else if("*"!==p&&p!==r){if(s=l[p+" "+r]||l["* "+r],!s)for(n in l)if(a=n.split(" "),a[1]===r&&(s=l[p+" "+a[0]]||l["* "+a[0]])){s===!0?s=l[n]:l[n]!==!0&&(r=a[0],h.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(u){return{state:"parsererror",error:s?u:"No conversion from "+p+" to "+r}}}return{state:"success",data:e}}function X(t,e,o,i){var n;if(nt.isArray(e))nt.each(e,function(e,n){o||Ke.test(t)?i(t,n):X(t+"["+("object"==typeof n?e:"")+"]",n,o,i)});else if(o||"object"!==nt.type(e))i(t,e);else for(n in e)X(t+"["+n+"]",e[n],o,i)}function W(){try{return new t.XMLHttpRequest}catch(e){}}function z(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function K(t){return nt.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var V=[],Y=V.slice,Z=V.concat,_=V.push,J=V.indexOf,Q={},tt=Q.toString,et=Q.hasOwnProperty,ot={},it="1.11.2",nt=function(t,e){return new nt.fn.init(t,e)},rt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,st=/^-ms-/,at=/-([\da-z])/gi,pt=function(t,e){return e.toUpperCase()};nt.fn=nt.prototype={jquery:it,constructor:nt,selector:"",length:0,toArray:function(){return Y.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:Y.call(this)},pushStack:function(t){var e=nt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return nt.each(this,t,e)},map:function(t){return this.pushStack(nt.map(this,function(e,o){return t.call(e,o,e)}))},slice:function(){return this.pushStack(Y.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,o=+t+(0>t?e:0);return this.pushStack(o>=0&&e>o?[this[o]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:_,sort:V.sort,splice:V.splice},nt.extend=nt.fn.extend=function(){var t,e,o,i,n,r,s=arguments[0]||{},a=1,p=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||nt.isFunction(s)||(s={}),a===p&&(s=this,a--);p>a;a++)if(null!=(n=arguments[a]))for(i in n)t=s[i],o=n[i],s!==o&&(l&&o&&(nt.isPlainObject(o)||(e=nt.isArray(o)))?(e?(e=!1,r=t&&nt.isArray(t)?t:[]):r=t&&nt.isPlainObject(t)?t:{},s[i]=nt.extend(l,r,o)):void 0!==o&&(s[i]=o));return s},nt.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===nt.type(t)},isArray:Array.isArray||function(t){return"array"===nt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!nt.isArray(t)&&t-parseFloat(t)+1>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==nt.type(t)||t.nodeType||nt.isWindow(t))return!1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(o){return!1}if(ot.ownLast)for(e in t)return et.call(t,e);for(e in t);return void 0===e||et.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?Q[tt.call(t)]||"object":typeof t},globalEval:function(e){e&&nt.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(st,"ms-").replace(at,pt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var n,r=0,s=t.length,a=o(t);if(i){if(a)for(;s>r&&(n=e.apply(t[r],i),n!==!1);r++);else for(r in t)if(n=e.apply(t[r],i),n===!1)break}else if(a)for(;s>r&&(n=e.call(t[r],r,t[r]),n!==!1);r++);else for(r in t)if(n=e.call(t[r],r,t[r]),n===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(rt,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(o(Object(t))?nt.merge(i,"string"==typeof t?[t]:t):_.call(i,t)),i},inArray:function(t,e,o){var i;if(e){if(J)return J.call(e,t,o);for(i=e.length,o=o?0>o?Math.max(0,i+o):o:0;i>o;o++)if(o in e&&e[o]===t)return o}return-1},merge:function(t,e){for(var o=+e.length,i=0,n=t.length;o>i;)t[n++]=e[i++];if(o!==o)for(;void 0!==e[i];)t[n++]=e[i++];return t.length=n,t},grep:function(t,e,o){for(var i,n=[],r=0,s=t.length,a=!o;s>r;r++)i=!e(t[r],r),i!==a&&n.push(t[r]);return n},map:function(t,e,i){var n,r=0,s=t.length,a=o(t),p=[];if(a)for(;s>r;r++)n=e(t[r],r,i),null!=n&&p.push(n);else for(r in t)n=e(t[r],r,i),null!=n&&p.push(n);return Z.apply([],p)},guid:1,proxy:function(t,e){var o,i,n;return"string"==typeof e&&(n=t[e],e=t,t=n),nt.isFunction(t)?(o=Y.call(arguments,2),i=function(){return t.apply(e||this,o.concat(Y.call(arguments)))},i.guid=t.guid=t.guid||nt.guid++,i):void 0},now:function(){return+new Date},support:ot}),nt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){Q["[object "+e+"]"]=e.toLowerCase()});var lt=function(t){function e(t,e,o,i){var n,r,s,a,p,l,u,f,y,d;if((e?e.ownerDocument||e:G)!==N&&L(e),e=e||N,o=o||[],a=e.nodeType,"string"!=typeof t||!t||1!==a&&9!==a&&11!==a)return o;if(!i&&I){if(11!==a&&(n=mt.exec(t)))if(s=n[1]){if(9===a){if(r=e.getElementById(s),!r||!r.parentNode)return o;if(r.id===s)return o.push(r),o}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(s))&&B(e,r)&&r.id===s)return o.push(r),o}else{if(n[2])return J.apply(o,e.getElementsByTagName(t)),o;if((s=n[3])&&x.getElementsByClassName)return J.apply(o,e.getElementsByClassName(s)),o}if(x.qsa&&(!D||!D.test(t))){if(f=u=U,y=e,d=1!==a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(l=C(t),(u=e.getAttribute("id"))?f=u.replace(wt,"\\$&"):e.setAttribute("id",f),f="[id='"+f+"'] ",p=l.length;p--;)l[p]=f+c(l[p]);y=bt.test(t)&&h(e.parentNode)||e,d=l.join(",")}if(d)try{return J.apply(o,y.querySelectorAll(d)),o}catch(g){}finally{u||e.removeAttribute("id")}}}return P(t.replace(pt,"$1"),e,o,i)}function o(){function t(o,i){return e.push(o+" ")>S.cacheLength&&delete t[e.shift()],t[o+" "]=i}var e=[];return t}function i(t){return t[U]=!0,t}function n(t){var e=N.createElement("div");try{return!!t(e)}catch(o){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var o=t.split("|"),i=t.length;i--;)S.attrHandle[o[i]]=e}function s(t,e){var o=e&&t,i=o&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||K)-(~t.sourceIndex||K);if(i)return i;if(o)for(;o=o.nextSibling;)if(o===e)return-1;return t?1:-1}function a(t){return function(e){var o=e.nodeName.toLowerCase();return"input"===o&&e.type===t}}function p(t){return function(e){var o=e.nodeName.toLowerCase();return("input"===o||"button"===o)&&e.type===t}}function l(t){return i(function(e){return e=+e,i(function(o,i){for(var n,r=t([],o.length,e),s=r.length;s--;)o[n=r[s]]&&(o[n]=!(i[n]=o[n]))})})}function h(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function u(){}function c(t){for(var e=0,o=t.length,i="";o>e;e++)i+=t[e].value;return i}function f(t,e,o){var i=e.dir,n=o&&"parentNode"===i,r=q++;return e.first?function(e,o,r){for(;e=e[i];)if(1===e.nodeType||n)return t(e,o,r)}:function(e,o,s){var a,p,l=[H,r];if(s){for(;e=e[i];)if((1===e.nodeType||n)&&t(e,o,s))return!0}else for(;e=e[i];)if(1===e.nodeType||n){if(p=e[U]||(e[U]={}),(a=p[i])&&a[0]===H&&a[1]===r)return l[2]=a[2];if(p[i]=l,l[2]=t(e,o,s))return!0}}}function y(t){return t.length>1?function(e,o,i){for(var n=t.length;n--;)if(!t[n](e,o,i))return!1;return!0}:t[0]}function d(t,o,i){for(var n=0,r=o.length;r>n;n++)e(t,o[n],i);return i}function g(t,e,o,i,n){for(var r,s=[],a=0,p=t.length,l=null!=e;p>a;a++)(r=t[a])&&(!o||o(r,i,n))&&(s.push(r),l&&e.push(a));return s}function v(t,e,o,n,r,s){return n&&!n[U]&&(n=v(n)),r&&!r[U]&&(r=v(r,s)),i(function(i,s,a,p){var l,h,u,c=[],f=[],y=s.length,v=i||d(e||"*",a.nodeType?[a]:a,[]),m=!t||!i&&e?v:g(v,c,t,a,p),b=o?r||(i?t:y||n)?[]:s:m;if(o&&o(m,b,a,p),n)for(l=g(b,f),n(l,[],a,p),h=l.length;h--;)(u=l[h])&&(b[f[h]]=!(m[f[h]]=u));if(i){if(r||t){if(r){for(l=[],h=b.length;h--;)(u=b[h])&&l.push(m[h]=u);r(null,b=[],l,p)}for(h=b.length;h--;)(u=b[h])&&(l=r?tt(i,u):c[h])>-1&&(i[l]=!(s[l]=u))}}else b=g(b===s?b.splice(y,b.length):b),r?r(null,s,b,p):J.apply(s,b)})}function m(t){for(var e,o,i,n=t.length,r=S.relative[t[0].type],s=r||S.relative[" "],a=r?1:0,p=f(function(t){return t===e},s,!0),l=f(function(t){return tt(e,t)>-1},s,!0),h=[function(t,o,i){var n=!r&&(i||o!==k)||((e=o).nodeType?p(t,o,i):l(t,o,i));return e=null,n}];n>a;a++)if(o=S.relative[t[a].type])h=[f(y(h),o)];else{if(o=S.filter[t[a].type].apply(null,t[a].matches),o[U]){for(i=++a;n>i&&!S.relative[t[i].type];i++);return v(a>1&&y(h),a>1&&c(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(pt,"$1"),o,i>a&&m(t.slice(a,i)),n>i&&m(t=t.slice(i)),n>i&&c(t))}h.push(o)}return y(h)}function b(t,o){var n=o.length>0,r=t.length>0,s=function(i,s,a,p,l){var h,u,c,f=0,y="0",d=i&&[],v=[],m=k,b=i||r&&S.find.TAG("*",l),w=H+=null==m?1:Math.random()||.1,x=b.length;for(l&&(k=s!==N&&s);y!==x&&null!=(h=b[y]);y++){if(r&&h){for(u=0;c=t[u++];)if(c(h,s,a)){p.push(h);break}l&&(H=w)}n&&((h=!c&&h)&&f--,i&&d.push(h))}if(f+=y,n&&y!==f){for(u=0;c=o[u++];)c(d,v,s,a);if(i){if(f>0)for(;y--;)d[y]||v[y]||(v[y]=Z.call(p));v=g(v)}J.apply(p,v),l&&!i&&v.length>0&&f+o.length>1&&e.uniqueSort(p)}return l&&(H=w,k=m),d};return n?i(s):s}var w,x,S,T,M,C,E,P,k,A,R,L,N,j,I,D,F,O,B,U="sizzle"+1*new Date,G=t.document,H=0,q=0,$=o(),X=o(),W=o(),z=function(t,e){return t===e&&(R=!0),0},K=1<<31,V={}.hasOwnProperty,Y=[],Z=Y.pop,_=Y.push,J=Y.push,Q=Y.slice,tt=function(t,e){for(var o=0,i=t.length;i>o;o++)if(t[o]===e)return o;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ot="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",nt=it.replace("w","w#"),rt="\\["+ot+"*("+it+")(?:"+ot+"*([*^$|!~]?=)"+ot+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+nt+"))|)"+ot+"*\\]",st=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+rt+")*)|.*)\\)|)",at=new RegExp(ot+"+","g"),pt=new RegExp("^"+ot+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ot+"+$","g"),lt=new RegExp("^"+ot+"*,"+ot+"*"),ht=new RegExp("^"+ot+"*([>+~]|"+ot+")"+ot+"*"),ut=new RegExp("="+ot+"*([^\\]'\"]*?)"+ot+"*\\]","g"),ct=new RegExp(st),ft=new RegExp("^"+nt+"$"),yt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it.replace("w","w*")+")"),ATTR:new RegExp("^"+rt),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ot+"*(even|odd|(([+-]|)(\\d*)n|)"+ot+"*(?:([+-]|)"+ot+"*(\\d+)|))"+ot+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+ot+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ot+"*((?:-\\d)?\\d*)"+ot+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,wt=/'|\\/g,xt=new RegExp("\\\\([\\da-f]{1,6}"+ot+"?|("+ot+")|.)","ig"),St=function(t,e,o){var i="0x"+e-65536;return i!==i||o?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},Tt=function(){L()};try{J.apply(Y=Q.call(G.childNodes),G.childNodes),Y[G.childNodes.length].nodeType}catch(Mt){J={apply:Y.length?function(t,e){_.apply(t,Q.call(e))}:function(t,e){for(var o=t.length,i=0;t[o++]=e[i++];);t.length=o-1}}}x=e.support={},M=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},L=e.setDocument=function(t){var e,o,i=t?t.ownerDocument||t:G;return i!==N&&9===i.nodeType&&i.documentElement?(N=i,j=i.documentElement,o=i.defaultView,o&&o!==o.top&&(o.addEventListener?o.addEventListener("unload",Tt,!1):o.attachEvent&&o.attachEvent("onunload",Tt)),I=!M(i),x.attributes=n(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=n(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=vt.test(i.getElementsByClassName),x.getById=n(function(t){return j.appendChild(t).id=U,!i.getElementsByName||!i.getElementsByName(U).length}),x.getById?(S.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&I){var o=e.getElementById(t);return o&&o.parentNode?[o]:[]}},S.filter.ID=function(t){var e=t.replace(xt,St);return function(t){return t.getAttribute("id")===e}}):(delete S.find.ID,S.filter.ID=function(t){var e=t.replace(xt,St);return function(t){var o="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return o&&o.value===e}}),S.find.TAG=x.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var o,i=[],n=0,r=e.getElementsByTagName(t);if("*"===t){for(;o=r[n++];)1===o.nodeType&&i.push(o);return i}return r},S.find.CLASS=x.getElementsByClassName&&function(t,e){return I?e.getElementsByClassName(t):void 0},F=[],D=[],(x.qsa=vt.test(i.querySelectorAll))&&(n(function(t){j.appendChild(t).innerHTML="<a id='"+U+"'></a><select id='"+U+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&D.push("[*^$]="+ot+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||D.push("\\["+ot+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+U+"-]").length||D.push("~="),t.querySelectorAll(":checked").length||D.push(":checked"),t.querySelectorAll("a#"+U+"+*").length||D.push(".#.+[+~]")}),n(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&D.push("name"+ot+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||D.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),D.push(",.*:")})),(x.matchesSelector=vt.test(O=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&n(function(t){x.disconnectedMatch=O.call(t,"div"),O.call(t,"[s!='']:x"),F.push("!=",st)}),D=D.length&&new RegExp(D.join("|")),F=F.length&&new RegExp(F.join("|")),e=vt.test(j.compareDocumentPosition),B=e||vt.test(j.contains)?function(t,e){var o=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(o.contains?o.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},z=e?function(t,e){if(t===e)return R=!0,0;var o=!t.compareDocumentPosition-!e.compareDocumentPosition;return o?o:(o=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&o||!x.sortDetached&&e.compareDocumentPosition(t)===o?t===i||t.ownerDocument===G&&B(G,t)?-1:e===i||e.ownerDocument===G&&B(G,e)?1:A?tt(A,t)-tt(A,e):0:4&o?-1:1)}:function(t,e){if(t===e)return R=!0,0;var o,n=0,r=t.parentNode,a=e.parentNode,p=[t],l=[e];if(!r||!a)return t===i?-1:e===i?1:r?-1:a?1:A?tt(A,t)-tt(A,e):0;if(r===a)return s(t,e);for(o=t;o=o.parentNode;)p.unshift(o);for(o=e;o=o.parentNode;)l.unshift(o);for(;p[n]===l[n];)n++;return n?s(p[n],l[n]):p[n]===G?-1:l[n]===G?1:0},i):N},e.matches=function(t,o){return e(t,null,null,o)},e.matchesSelector=function(t,o){if((t.ownerDocument||t)!==N&&L(t),o=o.replace(ut,"='$1']"),!(!x.matchesSelector||!I||F&&F.test(o)||D&&D.test(o)))try{var i=O.call(t,o);if(i||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(n){}return e(o,N,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==N&&L(t),B(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==N&&L(t);var o=S.attrHandle[e.toLowerCase()],i=o&&V.call(S.attrHandle,e.toLowerCase())?o(t,e,!I):void 0;return void 0!==i?i:x.attributes||!I?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,o=[],i=0,n=0;if(R=!x.detectDuplicates,A=!x.sortStable&&t.slice(0),t.sort(z),R){for(;e=t[n++];)e===t[n]&&(i=o.push(n));for(;i--;)t.splice(o[i],1)}return A=null,t},T=e.getText=function(t){var e,o="",i=0,n=t.nodeType;if(n){if(1===n||9===n||11===n){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)o+=T(t)}else if(3===n||4===n)return t.nodeValue}else for(;e=t[i++];)o+=T(e);return o},S=e.selectors={cacheLength:50,createPseudo:i,match:yt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(xt,St),t[3]=(t[3]||t[4]||t[5]||"").replace(xt,St),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,o=!t[6]&&t[2];return yt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":o&&ct.test(o)&&(e=C(o,!0))&&(e=o.indexOf(")",o.length-e)-o.length)&&(t[0]=t[0].slice(0,e),t[2]=o.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(xt,St).toLowerCase();return"*"===t?function(){ -return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=$[t+" "];return e||(e=new RegExp("(^|"+ot+")"+t+"("+ot+"|$)"))&&$(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,o,i){return function(n){var r=e.attr(n,t);return null==r?"!="===o:!o||(r+="","="===o?r===i:"!="===o?r!==i:"^="===o?i&&0===r.indexOf(i):"*="===o?i&&r.indexOf(i)>-1:"$="===o?i&&r.slice(-i.length)===i:"~="===o?(" "+r.replace(at," ")+" ").indexOf(i)>-1:"|="===o&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,o,i,n){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===n?function(t){return!!t.parentNode}:function(e,o,p){var l,h,u,c,f,y,d=r!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),m=!p&&!a;if(g){if(r){for(;d;){for(u=e;u=u[d];)if(a?u.nodeName.toLowerCase()===v:1===u.nodeType)return!1;y=d="only"===t&&!y&&"nextSibling"}return!0}if(y=[s?g.firstChild:g.lastChild],s&&m){for(h=g[U]||(g[U]={}),l=h[t]||[],f=l[0]===H&&l[1],c=l[0]===H&&l[2],u=f&&g.childNodes[f];u=++f&&u&&u[d]||(c=f=0)||y.pop();)if(1===u.nodeType&&++c&&u===e){h[t]=[H,f,c];break}}else if(m&&(l=(e[U]||(e[U]={}))[t])&&l[0]===H)c=l[1];else for(;(u=++f&&u&&u[d]||(c=f=0)||y.pop())&&((a?u.nodeName.toLowerCase()!==v:1!==u.nodeType)||!++c||(m&&((u[U]||(u[U]={}))[t]=[H,c]),u!==e)););return c-=n,c===i||c%i===0&&c/i>=0}}},PSEUDO:function(t,o){var n,r=S.pseudos[t]||S.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[U]?r(o):r.length>1?(n=[t,t,"",o],S.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,n=r(t,o),s=n.length;s--;)i=tt(t,n[s]),t[i]=!(e[i]=n[s])}):function(t){return r(t,0,n)}):r}},pseudos:{not:i(function(t){var e=[],o=[],n=E(t.replace(pt,"$1"));return n[U]?i(function(t,e,o,i){for(var r,s=n(t,null,i,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))}):function(t,i,r){return e[0]=t,n(e,null,r,o),e[0]=null,!o.pop()}}),has:i(function(t){return function(o){return e(t,o).length>0}}),contains:i(function(t){return t=t.replace(xt,St),function(e){return(e.textContent||e.innerText||T(e)).indexOf(t)>-1}}),lang:i(function(t){return ft.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(xt,St).toLowerCase(),function(e){var o;do if(o=I?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return o=o.toLowerCase(),o===t||0===o.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var o=t.location&&t.location.hash;return o&&o.slice(1)===e.id},root:function(t){return t===j},focus:function(t){return t===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!S.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,o){return[0>o?o+e:o]}),even:l(function(t,e){for(var o=0;e>o;o+=2)t.push(o);return t}),odd:l(function(t,e){for(var o=1;e>o;o+=2)t.push(o);return t}),lt:l(function(t,e,o){for(var i=0>o?o+e:o;--i>=0;)t.push(i);return t}),gt:l(function(t,e,o){for(var i=0>o?o+e:o;++i<e;)t.push(i);return t})}},S.pseudos.nth=S.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[w]=a(w);for(w in{submit:!0,reset:!0})S.pseudos[w]=p(w);return u.prototype=S.filters=S.pseudos,S.setFilters=new u,C=e.tokenize=function(t,o){var i,n,r,s,a,p,l,h=X[t+" "];if(h)return o?0:h.slice(0);for(a=t,p=[],l=S.preFilter;a;){(!i||(n=lt.exec(a)))&&(n&&(a=a.slice(n[0].length)||a),p.push(r=[])),i=!1,(n=ht.exec(a))&&(i=n.shift(),r.push({value:i,type:n[0].replace(pt," ")}),a=a.slice(i.length));for(s in S.filter)!(n=yt[s].exec(a))||l[s]&&!(n=l[s](n))||(i=n.shift(),r.push({value:i,type:s,matches:n}),a=a.slice(i.length));if(!i)break}return o?a.length:a?e.error(t):X(t,p).slice(0)},E=e.compile=function(t,e){var o,i=[],n=[],r=W[t+" "];if(!r){for(e||(e=C(t)),o=e.length;o--;)r=m(e[o]),r[U]?i.push(r):n.push(r);r=W(t,b(n,i)),r.selector=t}return r},P=e.select=function(t,e,o,i){var n,r,s,a,p,l="function"==typeof t&&t,u=!i&&C(t=l.selector||t);if(o=o||[],1===u.length){if(r=u[0]=u[0].slice(0),r.length>2&&"ID"===(s=r[0]).type&&x.getById&&9===e.nodeType&&I&&S.relative[r[1].type]){if(e=(S.find.ID(s.matches[0].replace(xt,St),e)||[])[0],!e)return o;l&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(n=yt.needsContext.test(t)?0:r.length;n--&&(s=r[n],!S.relative[a=s.type]);)if((p=S.find[a])&&(i=p(s.matches[0].replace(xt,St),bt.test(r[0].type)&&h(e.parentNode)||e))){if(r.splice(n,1),t=i.length&&c(r),!t)return J.apply(o,i),o;break}}return(l||E(t,u))(i,e,!I,o,bt.test(t)&&h(e.parentNode)||e),o},x.sortStable=U.split("").sort(z).join("")===U,x.detectDuplicates=!!R,L(),x.sortDetached=n(function(t){return 1&t.compareDocumentPosition(N.createElement("div"))}),n(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,o){return o?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),x.attributes&&n(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,o){return o||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),n(function(t){return null==t.getAttribute("disabled")})||r(et,function(t,e,o){var i;return o?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);nt.find=lt,nt.expr=lt.selectors,nt.expr[":"]=nt.expr.pseudos,nt.unique=lt.uniqueSort,nt.text=lt.getText,nt.isXMLDoc=lt.isXML,nt.contains=lt.contains;var ht=nt.expr.match.needsContext,ut=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ct=/^.[^:#\[\.,]*$/;nt.filter=function(t,e,o){var i=e[0];return o&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?nt.find.matchesSelector(i,t)?[i]:[]:nt.find.matches(t,nt.grep(e,function(t){return 1===t.nodeType}))},nt.fn.extend({find:function(t){var e,o=[],i=this,n=i.length;if("string"!=typeof t)return this.pushStack(nt(t).filter(function(){for(e=0;n>e;e++)if(nt.contains(i[e],this))return!0}));for(e=0;n>e;e++)nt.find(t,i[e],o);return o=this.pushStack(n>1?nt.unique(o):o),o.selector=this.selector?this.selector+" "+t:t,o},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ht.test(t)?nt(t):t||[],!1).length}});var ft,yt=t.document,dt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,gt=nt.fn.init=function(t,e){var o,i;if(!t)return this;if("string"==typeof t){if(o="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:dt.exec(t),!o||!o[1]&&e)return!e||e.jquery?(e||ft).find(t):this.constructor(e).find(t);if(o[1]){if(e=e instanceof nt?e[0]:e,nt.merge(this,nt.parseHTML(o[1],e&&e.nodeType?e.ownerDocument||e:yt,!0)),ut.test(o[1])&&nt.isPlainObject(e))for(o in e)nt.isFunction(this[o])?this[o](e[o]):this.attr(o,e[o]);return this}if(i=yt.getElementById(o[2]),i&&i.parentNode){if(i.id!==o[2])return ft.find(t);this.length=1,this[0]=i}return this.context=yt,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):nt.isFunction(t)?"undefined"!=typeof ft.ready?ft.ready(t):t(nt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),nt.makeArray(t,this))};gt.prototype=nt.fn,ft=nt(yt);var vt=/^(?:parents|prev(?:Until|All))/,mt={children:!0,contents:!0,next:!0,prev:!0};nt.extend({dir:function(t,e,o){for(var i=[],n=t[e];n&&9!==n.nodeType&&(void 0===o||1!==n.nodeType||!nt(n).is(o));)1===n.nodeType&&i.push(n),n=n[e];return i},sibling:function(t,e){for(var o=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&o.push(t);return o}}),nt.fn.extend({has:function(t){var e,o=nt(t,this),i=o.length;return this.filter(function(){for(e=0;i>e;e++)if(nt.contains(this,o[e]))return!0})},closest:function(t,e){for(var o,i=0,n=this.length,r=[],s=ht.test(t)||"string"!=typeof t?nt(t,e||this.context):0;n>i;i++)for(o=this[i];o&&o!==e;o=o.parentNode)if(o.nodeType<11&&(s?s.index(o)>-1:1===o.nodeType&&nt.find.matchesSelector(o,t))){r.push(o);break}return this.pushStack(r.length>1?nt.unique(r):r)},index:function(t){return t?"string"==typeof t?nt.inArray(this[0],nt(t)):nt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(nt.unique(nt.merge(this.get(),nt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),nt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return nt.dir(t,"parentNode")},parentsUntil:function(t,e,o){return nt.dir(t,"parentNode",o)},next:function(t){return n(t,"nextSibling")},prev:function(t){return n(t,"previousSibling")},nextAll:function(t){return nt.dir(t,"nextSibling")},prevAll:function(t){return nt.dir(t,"previousSibling")},nextUntil:function(t,e,o){return nt.dir(t,"nextSibling",o)},prevUntil:function(t,e,o){return nt.dir(t,"previousSibling",o)},siblings:function(t){return nt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return nt.sibling(t.firstChild)},contents:function(t){return nt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:nt.merge([],t.childNodes)}},function(t,e){nt.fn[t]=function(o,i){var n=nt.map(this,e,o);return"Until"!==t.slice(-5)&&(i=o),i&&"string"==typeof i&&(n=nt.filter(i,n)),this.length>1&&(mt[t]||(n=nt.unique(n)),vt.test(t)&&(n=n.reverse())),this.pushStack(n)}});var bt=/\S+/g,wt={};nt.Callbacks=function(t){t="string"==typeof t?wt[t]||r(t):nt.extend({},t);var e,o,i,n,s,a,p=[],l=!t.once&&[],h=function(r){for(o=t.memory&&r,i=!0,s=a||0,a=0,n=p.length,e=!0;p&&n>s;s++)if(p[s].apply(r[0],r[1])===!1&&t.stopOnFalse){o=!1;break}e=!1,p&&(l?l.length&&h(l.shift()):o?p=[]:u.disable())},u={add:function(){if(p){var i=p.length;!function r(e){nt.each(e,function(e,o){var i=nt.type(o);"function"===i?t.unique&&u.has(o)||p.push(o):o&&o.length&&"string"!==i&&r(o)})}(arguments),e?n=p.length:o&&(a=i,h(o))}return this},remove:function(){return p&&nt.each(arguments,function(t,o){for(var i;(i=nt.inArray(o,p,i))>-1;)p.splice(i,1),e&&(n>=i&&n--,s>=i&&s--)}),this},has:function(t){return t?nt.inArray(t,p)>-1:!(!p||!p.length)},empty:function(){return p=[],n=0,this},disable:function(){return p=l=o=void 0,this},disabled:function(){return!p},lock:function(){return l=void 0,o||u.disable(),this},locked:function(){return!l},fireWith:function(t,o){return!p||i&&!l||(o=o||[],o=[t,o.slice?o.slice():o],e?l.push(o):h(o)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},nt.extend({Deferred:function(t){var e=[["resolve","done",nt.Callbacks("once memory"),"resolved"],["reject","fail",nt.Callbacks("once memory"),"rejected"],["notify","progress",nt.Callbacks("memory")]],o="pending",i={state:function(){return o},always:function(){return n.done(arguments).fail(arguments),this},then:function(){var t=arguments;return nt.Deferred(function(o){nt.each(e,function(e,r){var s=nt.isFunction(t[e])&&t[e];n[r[1]](function(){var t=s&&s.apply(this,arguments);t&&nt.isFunction(t.promise)?t.promise().done(o.resolve).fail(o.reject).progress(o.notify):o[r[0]+"With"](this===i?o.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?nt.extend(t,i):i}},n={};return i.pipe=i.then,nt.each(e,function(t,r){var s=r[2],a=r[3];i[r[1]]=s.add,a&&s.add(function(){o=a},e[1^t][2].disable,e[2][2].lock),n[r[0]]=function(){return n[r[0]+"With"](this===n?i:this,arguments),this},n[r[0]+"With"]=s.fireWith}),i.promise(n),t&&t.call(n,n),n},when:function(t){var e,o,i,n=0,r=Y.call(arguments),s=r.length,a=1!==s||t&&nt.isFunction(t.promise)?s:0,p=1===a?t:nt.Deferred(),l=function(t,o,i){return function(n){o[t]=this,i[t]=arguments.length>1?Y.call(arguments):n,i===e?p.notifyWith(o,i):--a||p.resolveWith(o,i)}};if(s>1)for(e=new Array(s),o=new Array(s),i=new Array(s);s>n;n++)r[n]&&nt.isFunction(r[n].promise)?r[n].promise().done(l(n,i,r)).fail(p.reject).progress(l(n,o,e)):--a;return a||p.resolveWith(i,r),p.promise()}});var xt;nt.fn.ready=function(t){return nt.ready.promise().done(t),this},nt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?nt.readyWait++:nt.ready(!0)},ready:function(t){if(t===!0?!--nt.readyWait:!nt.isReady){if(!yt.body)return setTimeout(nt.ready);nt.isReady=!0,t!==!0&&--nt.readyWait>0||(xt.resolveWith(yt,[nt]),nt.fn.triggerHandler&&(nt(yt).triggerHandler("ready"),nt(yt).off("ready")))}}}),nt.ready.promise=function(e){if(!xt)if(xt=nt.Deferred(),"complete"===yt.readyState)setTimeout(nt.ready);else if(yt.addEventListener)yt.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1);else{yt.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var o=!1;try{o=null==t.frameElement&&yt.documentElement}catch(i){}o&&o.doScroll&&!function n(){if(!nt.isReady){try{o.doScroll("left")}catch(t){return setTimeout(n,50)}s(),nt.ready()}}()}return xt.promise(e)};var St,Tt="undefined";for(St in nt(ot))break;ot.ownLast="0"!==St,ot.inlineBlockNeedsLayout=!1,nt(function(){var t,e,o,i;o=yt.getElementsByTagName("body")[0],o&&o.style&&(e=yt.createElement("div"),i=yt.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",o.appendChild(i).appendChild(e),typeof e.style.zoom!==Tt&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ot.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(o.style.zoom=1)),o.removeChild(i))}),function(){var t=yt.createElement("div");if(null==ot.deleteExpando){ot.deleteExpando=!0;try{delete t.test}catch(e){ot.deleteExpando=!1}}t=null}(),nt.acceptData=function(t){var e=nt.noData[(t.nodeName+" ").toLowerCase()],o=+t.nodeType||1;return(1===o||9===o)&&(!e||e!==!0&&t.getAttribute("classid")===e)};var Mt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ct=/([A-Z])/g;nt.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?nt.cache[t[nt.expando]]:t[nt.expando],!!t&&!l(t)},data:function(t,e,o){return h(t,e,o)},removeData:function(t,e){return u(t,e)},_data:function(t,e,o){return h(t,e,o,!0)},_removeData:function(t,e){return u(t,e,!0)}}),nt.fn.extend({data:function(t,e){var o,i,n,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(n=nt.data(r),1===r.nodeType&&!nt._data(r,"parsedAttrs"))){for(o=s.length;o--;)s[o]&&(i=s[o].name,0===i.indexOf("data-")&&(i=nt.camelCase(i.slice(5)),p(r,i,n[i])));nt._data(r,"parsedAttrs",!0)}return n}return"object"==typeof t?this.each(function(){nt.data(this,t)}):arguments.length>1?this.each(function(){nt.data(this,t,e)}):r?p(r,t,nt.data(r,t)):void 0},removeData:function(t){return this.each(function(){nt.removeData(this,t)})}}),nt.extend({queue:function(t,e,o){var i;return t?(e=(e||"fx")+"queue",i=nt._data(t,e),o&&(!i||nt.isArray(o)?i=nt._data(t,e,nt.makeArray(o)):i.push(o)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var o=nt.queue(t,e),i=o.length,n=o.shift(),r=nt._queueHooks(t,e),s=function(){nt.dequeue(t,e)};"inprogress"===n&&(n=o.shift(),i--),n&&("fx"===e&&o.unshift("inprogress"),delete r.stop,n.call(t,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var o=e+"queueHooks";return nt._data(t,o)||nt._data(t,o,{empty:nt.Callbacks("once memory").add(function(){nt._removeData(t,e+"queue"),nt._removeData(t,o)})})}}),nt.fn.extend({queue:function(t,e){var o=2;return"string"!=typeof t&&(e=t,t="fx",o--),arguments.length<o?nt.queue(this[0],t):void 0===e?this:this.each(function(){var o=nt.queue(this,t,e);nt._queueHooks(this,t),"fx"===t&&"inprogress"!==o[0]&&nt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){nt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var o,i=1,n=nt.Deferred(),r=this,s=this.length,a=function(){--i||n.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)o=nt._data(r[s],t+"queueHooks"),o&&o.empty&&(i++,o.empty.add(a));return a(),n.promise(e)}});var Et=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Pt=["Top","Right","Bottom","Left"],kt=function(t,e){return t=e||t,"none"===nt.css(t,"display")||!nt.contains(t.ownerDocument,t)},At=nt.access=function(t,e,o,i,n,r,s){var a=0,p=t.length,l=null==o;if("object"===nt.type(o)){n=!0;for(a in o)nt.access(t,e,a,o[a],!0,r,s)}else if(void 0!==i&&(n=!0,nt.isFunction(i)||(s=!0),l&&(s?(e.call(t,i),e=null):(l=e,e=function(t,e,o){return l.call(nt(t),o)})),e))for(;p>a;a++)e(t[a],o,s?i:i.call(t[a],a,e(t[a],o)));return n?t:l?e.call(t):p?e(t[0],o):r},Rt=/^(?:checkbox|radio)$/i;!function(){var t=yt.createElement("input"),e=yt.createElement("div"),o=yt.createDocumentFragment();if(e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ot.leadingWhitespace=3===e.firstChild.nodeType,ot.tbody=!e.getElementsByTagName("tbody").length,ot.htmlSerialize=!!e.getElementsByTagName("link").length,ot.html5Clone="<:nav></:nav>"!==yt.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,o.appendChild(t),ot.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",ot.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,o.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",ot.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,ot.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){ot.noCloneEvent=!1}),e.cloneNode(!0).click()),null==ot.deleteExpando){ot.deleteExpando=!0;try{delete e.test}catch(i){ot.deleteExpando=!1}}}(),function(){var e,o,i=yt.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})o="on"+e,(ot[e+"Bubbles"]=o in t)||(i.setAttribute(o,"t"),ot[e+"Bubbles"]=i.attributes[o].expando===!1);i=null}();var Lt=/^(?:input|select|textarea)$/i,Nt=/^key/,jt=/^(?:mouse|pointer|contextmenu)|click/,It=/^(?:focusinfocus|focusoutblur)$/,Dt=/^([^.]*)(?:\.(.+)|)$/;nt.event={global:{},add:function(t,e,o,i,n){var r,s,a,p,l,h,u,c,f,y,d,g=nt._data(t);if(g){for(o.handler&&(p=o,o=p.handler,n=p.selector),o.guid||(o.guid=nt.guid++),(s=g.events)||(s=g.events={}),(h=g.handle)||(h=g.handle=function(t){return typeof nt===Tt||t&&nt.event.triggered===t.type?void 0:nt.event.dispatch.apply(h.elem,arguments)},h.elem=t),e=(e||"").match(bt)||[""],a=e.length;a--;)r=Dt.exec(e[a])||[],f=d=r[1],y=(r[2]||"").split(".").sort(),f&&(l=nt.event.special[f]||{},f=(n?l.delegateType:l.bindType)||f,l=nt.event.special[f]||{},u=nt.extend({type:f,origType:d,data:i,handler:o,guid:o.guid,selector:n,needsContext:n&&nt.expr.match.needsContext.test(n),namespace:y.join(".")},p),(c=s[f])||(c=s[f]=[],c.delegateCount=0,l.setup&&l.setup.call(t,i,y,h)!==!1||(t.addEventListener?t.addEventListener(f,h,!1):t.attachEvent&&t.attachEvent("on"+f,h))),l.add&&(l.add.call(t,u),u.handler.guid||(u.handler.guid=o.guid)),n?c.splice(c.delegateCount++,0,u):c.push(u),nt.event.global[f]=!0);t=null}},remove:function(t,e,o,i,n){var r,s,a,p,l,h,u,c,f,y,d,g=nt.hasData(t)&&nt._data(t);if(g&&(h=g.events)){for(e=(e||"").match(bt)||[""],l=e.length;l--;)if(a=Dt.exec(e[l])||[],f=d=a[1],y=(a[2]||"").split(".").sort(),f){for(u=nt.event.special[f]||{},f=(i?u.delegateType:u.bindType)||f,c=h[f]||[],a=a[2]&&new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"),p=r=c.length;r--;)s=c[r],!n&&d!==s.origType||o&&o.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(c.splice(r,1),s.selector&&c.delegateCount--,u.remove&&u.remove.call(t,s));p&&!c.length&&(u.teardown&&u.teardown.call(t,y,g.handle)!==!1||nt.removeEvent(t,f,g.handle),delete h[f])}else for(f in h)nt.event.remove(t,f+e[l],o,i,!0);nt.isEmptyObject(h)&&(delete g.handle,nt._removeData(t,"events"))}},trigger:function(e,o,i,n){var r,s,a,p,l,h,u,c=[i||yt],f=et.call(e,"type")?e.type:e,y=et.call(e,"namespace")?e.namespace.split("."):[];if(a=h=i=i||yt,3!==i.nodeType&&8!==i.nodeType&&!It.test(f+nt.event.triggered)&&(f.indexOf(".")>=0&&(y=f.split("."),f=y.shift(),y.sort()),s=f.indexOf(":")<0&&"on"+f,e=e[nt.expando]?e:new nt.Event(f,"object"==typeof e&&e),e.isTrigger=n?2:3,e.namespace=y.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),o=null==o?[e]:nt.makeArray(o,[e]),l=nt.event.special[f]||{},n||!l.trigger||l.trigger.apply(i,o)!==!1)){if(!n&&!l.noBubble&&!nt.isWindow(i)){for(p=l.delegateType||f,It.test(p+f)||(a=a.parentNode);a;a=a.parentNode)c.push(a),h=a;h===(i.ownerDocument||yt)&&c.push(h.defaultView||h.parentWindow||t)}for(u=0;(a=c[u++])&&!e.isPropagationStopped();)e.type=u>1?p:l.bindType||f,r=(nt._data(a,"events")||{})[e.type]&&nt._data(a,"handle"),r&&r.apply(a,o),r=s&&a[s],r&&r.apply&&nt.acceptData(a)&&(e.result=r.apply(a,o),e.result===!1&&e.preventDefault());if(e.type=f,!n&&!e.isDefaultPrevented()&&(!l._default||l._default.apply(c.pop(),o)===!1)&&nt.acceptData(i)&&s&&i[f]&&!nt.isWindow(i)){h=i[s],h&&(i[s]=null),nt.event.triggered=f;try{i[f]()}catch(d){}nt.event.triggered=void 0,h&&(i[s]=h)}return e.result}},dispatch:function(t){t=nt.event.fix(t);var e,o,i,n,r,s=[],a=Y.call(arguments),p=(nt._data(this,"events")||{})[t.type]||[],l=nt.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,t)!==!1){for(s=nt.event.handlers.call(this,t,p),e=0;(n=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=n.elem,r=0;(i=n.handlers[r++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(i.namespace))&&(t.handleObj=i,t.data=i.data,o=((nt.event.special[i.origType]||{}).handle||i.handler).apply(n.elem,a),void 0!==o&&(t.result=o)===!1&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var o,i,n,r,s=[],a=e.delegateCount,p=t.target;if(a&&p.nodeType&&(!t.button||"click"!==t.type))for(;p!=this;p=p.parentNode||this)if(1===p.nodeType&&(p.disabled!==!0||"click"!==t.type)){for(n=[],r=0;a>r;r++)i=e[r],o=i.selector+" ",void 0===n[o]&&(n[o]=i.needsContext?nt(o,this).index(p)>=0:nt.find(o,this,null,[p]).length),n[o]&&n.push(i);n.length&&s.push({elem:p,handlers:n})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[nt.expando])return t;var e,o,i,n=t.type,r=t,s=this.fixHooks[n];for(s||(this.fixHooks[n]=s=jt.test(n)?this.mouseHooks:Nt.test(n)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new nt.Event(r),e=i.length;e--;)o=i[e],t[o]=r[o];return t.target||(t.target=r.srcElement||yt),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,s.filter?s.filter(t,r):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var o,i,n,r=e.button,s=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||yt,n=i.documentElement,o=i.body,t.pageX=e.clientX+(n&&n.scrollLeft||o&&o.scrollLeft||0)-(n&&n.clientLeft||o&&o.clientLeft||0),t.pageY=e.clientY+(n&&n.scrollTop||o&&o.scrollTop||0)-(n&&n.clientTop||o&&o.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toElement:s),t.which||void 0===r||(t.which=1&r?1:2&r?3:4&r?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==y()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===y()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return nt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return nt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,o,i){var n=nt.extend(new nt.Event,o,{type:t,isSimulated:!0,originalEvent:{}});i?nt.event.trigger(n,null,e):nt.event.dispatch.call(e,n),n.isDefaultPrevented()&&o.preventDefault()}},nt.removeEvent=yt.removeEventListener?function(t,e,o){t.removeEventListener&&t.removeEventListener(e,o,!1)}:function(t,e,o){var i="on"+e;t.detachEvent&&(typeof t[i]===Tt&&(t[i]=null),t.detachEvent(i,o))},nt.Event=function(t,e){return this instanceof nt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?c:f):this.type=t,e&&nt.extend(this,e),this.timeStamp=t&&t.timeStamp||nt.now(),void(this[nt.expando]=!0)):new nt.Event(t,e)},nt.Event.prototype={isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=c,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=c,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=c,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},nt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){nt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var o,i=this,n=t.relatedTarget,r=t.handleObj;return(!n||n!==i&&!nt.contains(i,n))&&(t.type=r.origType,o=r.handler.apply(this,arguments),t.type=e),o}}}),ot.submitBubbles||(nt.event.special.submit={setup:function(){return!nt.nodeName(this,"form")&&void nt.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,o=nt.nodeName(e,"input")||nt.nodeName(e,"button")?e.form:void 0;o&&!nt._data(o,"submitBubbles")&&(nt.event.add(o,"submit._submit",function(t){t._submit_bubble=!0}),nt._data(o,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&nt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!nt.nodeName(this,"form")&&void nt.event.remove(this,"._submit")}}),ot.changeBubbles||(nt.event.special.change={setup:function(){return Lt.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(nt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),nt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),nt.event.simulate("change",this,t,!0)})),!1):void nt.event.add(this,"beforeactivate._change",function(t){var e=t.target;Lt.test(e.nodeName)&&!nt._data(e,"changeBubbles")&&(nt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||nt.event.simulate("change",this.parentNode,t,!0)}),nt._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return nt.event.remove(this,"._change"),!Lt.test(this.nodeName)}}),ot.focusinBubbles||nt.each({focus:"focusin",blur:"focusout"},function(t,e){var o=function(t){nt.event.simulate(e,t.target,nt.event.fix(t),!0)};nt.event.special[e]={setup:function(){var i=this.ownerDocument||this,n=nt._data(i,e);n||i.addEventListener(t,o,!0),nt._data(i,e,(n||0)+1)},teardown:function(){var i=this.ownerDocument||this,n=nt._data(i,e)-1;n?nt._data(i,e,n):(i.removeEventListener(t,o,!0),nt._removeData(i,e))}}}),nt.fn.extend({on:function(t,e,o,i,n){var r,s;if("object"==typeof t){"string"!=typeof e&&(o=o||e,e=void 0);for(r in t)this.on(r,e,o,t[r],n);return this}if(null==o&&null==i?(i=e,o=e=void 0):null==i&&("string"==typeof e?(i=o,o=void 0):(i=o,o=e,e=void 0)),i===!1)i=f;else if(!i)return this;return 1===n&&(s=i,i=function(t){return nt().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=nt.guid++)),this.each(function(){nt.event.add(this,t,i,o,e)})},one:function(t,e,o,i){return this.on(t,e,o,i,1)},off:function(t,e,o){var i,n;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,nt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(n in t)this.off(n,e,t[n]);return this}return(e===!1||"function"==typeof e)&&(o=e,e=void 0),o===!1&&(o=f),this.each(function(){nt.event.remove(this,t,o,e)})},trigger:function(t,e){return this.each(function(){nt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var o=this[0];return o?nt.event.trigger(t,e,o,!0):void 0}});var Ft="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ot=/ jQuery\d+="(?:null|\d+)"/g,Bt=new RegExp("<(?:"+Ft+")[\\s/>]","i"),Ut=/^\s+/,Gt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Ht=/<([\w:]+)/,qt=/<tbody/i,$t=/<|&#?\w+;/,Xt=/<(?:script|style|link)/i,Wt=/checked\s*(?:[^=]|=\s*.checked.)/i,zt=/^$|\/(?:java|ecma)script/i,Kt=/^true\/(.*)/,Vt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Yt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:ot.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Zt=d(yt),_t=Zt.appendChild(yt.createElement("div"));Yt.optgroup=Yt.option,Yt.tbody=Yt.tfoot=Yt.colgroup=Yt.caption=Yt.thead,Yt.th=Yt.td,nt.extend({clone:function(t,e,o){var i,n,r,s,a,p=nt.contains(t.ownerDocument,t);if(ot.html5Clone||nt.isXMLDoc(t)||!Bt.test("<"+t.nodeName+">")?r=t.cloneNode(!0):(_t.innerHTML=t.outerHTML,_t.removeChild(r=_t.firstChild)),!(ot.noCloneEvent&&ot.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||nt.isXMLDoc(t)))for(i=g(r),a=g(t),s=0;null!=(n=a[s]);++s)i[s]&&T(n,i[s]);if(e)if(o)for(a=a||g(t),i=i||g(r),s=0;null!=(n=a[s]);s++)S(n,i[s]);else S(t,r);return i=g(r,"script"),i.length>0&&x(i,!p&&g(t,"script")),i=a=n=null,r},buildFragment:function(t,e,o,i){for(var n,r,s,a,p,l,h,u=t.length,c=d(e),f=[],y=0;u>y;y++)if(r=t[y],r||0===r)if("object"===nt.type(r))nt.merge(f,r.nodeType?[r]:r);else if($t.test(r)){for(a=a||c.appendChild(e.createElement("div")),p=(Ht.exec(r)||["",""])[1].toLowerCase(),h=Yt[p]||Yt._default,a.innerHTML=h[1]+r.replace(Gt,"<$1></$2>")+h[2],n=h[0];n--;)a=a.lastChild;if(!ot.leadingWhitespace&&Ut.test(r)&&f.push(e.createTextNode(Ut.exec(r)[0])),!ot.tbody)for(r="table"!==p||qt.test(r)?"<table>"!==h[1]||qt.test(r)?0:a:a.firstChild,n=r&&r.childNodes.length;n--;)nt.nodeName(l=r.childNodes[n],"tbody")&&!l.childNodes.length&&r.removeChild(l);for(nt.merge(f,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=c.lastChild}else f.push(e.createTextNode(r));for(a&&c.removeChild(a),ot.appendChecked||nt.grep(g(f,"input"),v),y=0;r=f[y++];)if((!i||-1===nt.inArray(r,i))&&(s=nt.contains(r.ownerDocument,r),a=g(c.appendChild(r),"script"),s&&x(a),o))for(n=0;r=a[n++];)zt.test(r.type||"")&&o.push(r);return a=null,c},cleanData:function(t,e){for(var o,i,n,r,s=0,a=nt.expando,p=nt.cache,l=ot.deleteExpando,h=nt.event.special;null!=(o=t[s]);s++)if((e||nt.acceptData(o))&&(n=o[a], -r=n&&p[n])){if(r.events)for(i in r.events)h[i]?nt.event.remove(o,i):nt.removeEvent(o,i,r.handle);p[n]&&(delete p[n],l?delete o[a]:typeof o.removeAttribute!==Tt?o.removeAttribute(a):o[a]=null,V.push(n))}}}),nt.fn.extend({text:function(t){return At(this,function(t){return void 0===t?nt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||yt).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=m(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=m(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var o,i=t?nt.filter(t,this):this,n=0;null!=(o=i[n]);n++)e||1!==o.nodeType||nt.cleanData(g(o)),o.parentNode&&(e&&nt.contains(o.ownerDocument,o)&&x(g(o,"script")),o.parentNode.removeChild(o));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&nt.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&nt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return nt.clone(this,t,e)})},html:function(t){return At(this,function(t){var e=this[0]||{},o=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Ot,""):void 0;if(!("string"!=typeof t||Xt.test(t)||!ot.htmlSerialize&&Bt.test(t)||!ot.leadingWhitespace&&Ut.test(t)||Yt[(Ht.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(Gt,"<$1></$2>");try{for(;i>o;o++)e=this[o]||{},1===e.nodeType&&(nt.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(n){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,nt.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=Z.apply([],t);var o,i,n,r,s,a,p=0,l=this.length,h=this,u=l-1,c=t[0],f=nt.isFunction(c);if(f||l>1&&"string"==typeof c&&!ot.checkClone&&Wt.test(c))return this.each(function(o){var i=h.eq(o);f&&(t[0]=c.call(this,o,i.html())),i.domManip(t,e)});if(l&&(a=nt.buildFragment(t,this[0].ownerDocument,!1,this),o=a.firstChild,1===a.childNodes.length&&(a=o),o)){for(r=nt.map(g(a,"script"),b),n=r.length;l>p;p++)i=a,p!==u&&(i=nt.clone(i,!0,!0),n&&nt.merge(r,g(i,"script"))),e.call(this[p],i,p);if(n)for(s=r[r.length-1].ownerDocument,nt.map(r,w),p=0;n>p;p++)i=r[p],zt.test(i.type||"")&&!nt._data(i,"globalEval")&&nt.contains(s,i)&&(i.src?nt._evalUrl&&nt._evalUrl(i.src):nt.globalEval((i.text||i.textContent||i.innerHTML||"").replace(Vt,"")));a=o=null}return this}}),nt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){nt.fn[t]=function(t){for(var o,i=0,n=[],r=nt(t),s=r.length-1;s>=i;i++)o=i===s?this:this.clone(!0),nt(r[i])[e](o),_.apply(n,o.get());return this.pushStack(n)}});var Jt,Qt={};!function(){var t;ot.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,o,i;return o=yt.getElementsByTagName("body")[0],o&&o.style?(e=yt.createElement("div"),i=yt.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",o.appendChild(i).appendChild(e),typeof e.style.zoom!==Tt&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(yt.createElement("div")).style.width="5px",t=3!==e.offsetWidth),o.removeChild(i),t):void 0}}();var te,ee,oe=/^margin/,ie=new RegExp("^("+Et+")(?!px)[a-z%]+$","i"),ne=/^(top|right|bottom|left)$/;t.getComputedStyle?(te=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)},ee=function(t,e,o){var i,n,r,s,a=t.style;return o=o||te(t),s=o?o.getPropertyValue(e)||o[e]:void 0,o&&(""!==s||nt.contains(t.ownerDocument,t)||(s=nt.style(t,e)),ie.test(s)&&oe.test(e)&&(i=a.width,n=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=o.width,a.width=i,a.minWidth=n,a.maxWidth=r)),void 0===s?s:s+""}):yt.documentElement.currentStyle&&(te=function(t){return t.currentStyle},ee=function(t,e,o){var i,n,r,s,a=t.style;return o=o||te(t),s=o?o[e]:void 0,null==s&&a&&a[e]&&(s=a[e]),ie.test(s)&&!ne.test(e)&&(i=a.left,n=t.runtimeStyle,r=n&&n.left,r&&(n.left=t.currentStyle.left),a.left="fontSize"===e?"1em":s,s=a.pixelLeft+"px",a.left=i,r&&(n.left=r)),void 0===s?s:s+""||"auto"}),!function(){function e(){var e,o,i,n;o=yt.getElementsByTagName("body")[0],o&&o.style&&(e=yt.createElement("div"),i=yt.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",o.appendChild(i).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r=s=!1,p=!0,t.getComputedStyle&&(r="1%"!==(t.getComputedStyle(e,null)||{}).top,s="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,n=e.appendChild(yt.createElement("div")),n.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",e.style.width="1px",p=!parseFloat((t.getComputedStyle(n,null)||{}).marginRight),e.removeChild(n)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",n=e.getElementsByTagName("td"),n[0].style.cssText="margin:0;border:0;padding:0;display:none",a=0===n[0].offsetHeight,a&&(n[0].style.display="",n[1].style.display="none",a=0===n[0].offsetHeight),o.removeChild(i))}var o,i,n,r,s,a,p;o=yt.createElement("div"),o.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=o.getElementsByTagName("a")[0],(i=n&&n.style)&&(i.cssText="float:left;opacity:.5",ot.opacity="0.5"===i.opacity,ot.cssFloat=!!i.cssFloat,o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",ot.clearCloneStyle="content-box"===o.style.backgroundClip,ot.boxSizing=""===i.boxSizing||""===i.MozBoxSizing||""===i.WebkitBoxSizing,nt.extend(ot,{reliableHiddenOffsets:function(){return null==a&&e(),a},boxSizingReliable:function(){return null==s&&e(),s},pixelPosition:function(){return null==r&&e(),r},reliableMarginRight:function(){return null==p&&e(),p}}))}(),nt.swap=function(t,e,o,i){var n,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];n=o.apply(t,i||[]);for(r in e)t.style[r]=s[r];return n};var re=/alpha\([^)]*\)/i,se=/opacity\s*=\s*([^)]*)/,ae=/^(none|table(?!-c[ea]).+)/,pe=new RegExp("^("+Et+")(.*)$","i"),le=new RegExp("^([+-])=("+Et+")","i"),he={position:"absolute",visibility:"hidden",display:"block"},ue={letterSpacing:"0",fontWeight:"400"},ce=["Webkit","O","Moz","ms"];nt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var o=ee(t,"opacity");return""===o?"1":o}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ot.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,o,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var n,r,s,a=nt.camelCase(e),p=t.style;if(e=nt.cssProps[a]||(nt.cssProps[a]=P(p,a)),s=nt.cssHooks[e]||nt.cssHooks[a],void 0===o)return s&&"get"in s&&void 0!==(n=s.get(t,!1,i))?n:p[e];if(r=typeof o,"string"===r&&(n=le.exec(o))&&(o=(n[1]+1)*n[2]+parseFloat(nt.css(t,e)),r="number"),null!=o&&o===o&&("number"!==r||nt.cssNumber[a]||(o+="px"),ot.clearCloneStyle||""!==o||0!==e.indexOf("background")||(p[e]="inherit"),!(s&&"set"in s&&void 0===(o=s.set(t,o,i)))))try{p[e]=o}catch(l){}}},css:function(t,e,o,i){var n,r,s,a=nt.camelCase(e);return e=nt.cssProps[a]||(nt.cssProps[a]=P(t.style,a)),s=nt.cssHooks[e]||nt.cssHooks[a],s&&"get"in s&&(r=s.get(t,!0,o)),void 0===r&&(r=ee(t,e,i)),"normal"===r&&e in ue&&(r=ue[e]),""===o||o?(n=parseFloat(r),o===!0||nt.isNumeric(n)?n||0:r):r}}),nt.each(["height","width"],function(t,e){nt.cssHooks[e]={get:function(t,o,i){return o?ae.test(nt.css(t,"display"))&&0===t.offsetWidth?nt.swap(t,he,function(){return L(t,e,i)}):L(t,e,i):void 0},set:function(t,o,i){var n=i&&te(t);return A(t,o,i?R(t,e,i,ot.boxSizing&&"border-box"===nt.css(t,"boxSizing",!1,n),n):0)}}}),ot.opacity||(nt.cssHooks.opacity={get:function(t,e){return se.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var o=t.style,i=t.currentStyle,n=nt.isNumeric(e)?"alpha(opacity="+100*e+")":"",r=i&&i.filter||o.filter||"";o.zoom=1,(e>=1||""===e)&&""===nt.trim(r.replace(re,""))&&o.removeAttribute&&(o.removeAttribute("filter"),""===e||i&&!i.filter)||(o.filter=re.test(r)?r.replace(re,n):r+" "+n)}}),nt.cssHooks.marginRight=E(ot.reliableMarginRight,function(t,e){return e?nt.swap(t,{display:"inline-block"},ee,[t,"marginRight"]):void 0}),nt.each({margin:"",padding:"",border:"Width"},function(t,e){nt.cssHooks[t+e]={expand:function(o){for(var i=0,n={},r="string"==typeof o?o.split(" "):[o];4>i;i++)n[t+Pt[i]+e]=r[i]||r[i-2]||r[0];return n}},oe.test(t)||(nt.cssHooks[t+e].set=A)}),nt.fn.extend({css:function(t,e){return At(this,function(t,e,o){var i,n,r={},s=0;if(nt.isArray(e)){for(i=te(t),n=e.length;n>s;s++)r[e[s]]=nt.css(t,e[s],!1,i);return r}return void 0!==o?nt.style(t,e,o):nt.css(t,e)},t,e,arguments.length>1)},show:function(){return k(this,!0)},hide:function(){return k(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){kt(this)?nt(this).show():nt(this).hide()})}}),nt.Tween=N,N.prototype={constructor:N,init:function(t,e,o,i,n,r){this.elem=t,this.prop=o,this.easing=n||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(nt.cssNumber[o]?"":"px")},cur:function(){var t=N.propHooks[this.prop];return t&&t.get?t.get(this):N.propHooks._default.get(this)},run:function(t){var e,o=N.propHooks[this.prop];return this.pos=e=this.options.duration?nt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),o&&o.set?o.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=nt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){nt.fx.step[t.prop]?nt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[nt.cssProps[t.prop]]||nt.cssHooks[t.prop])?nt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},nt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},nt.fx=N.prototype.init,nt.fx.step={};var fe,ye,de=/^(?:toggle|show|hide)$/,ge=new RegExp("^(?:([+-])=|)("+Et+")([a-z%]*)$","i"),ve=/queueHooks$/,me=[F],be={"*":[function(t,e){var o=this.createTween(t,e),i=o.cur(),n=ge.exec(e),r=n&&n[3]||(nt.cssNumber[t]?"":"px"),s=(nt.cssNumber[t]||"px"!==r&&+i)&&ge.exec(nt.css(o.elem,t)),a=1,p=20;if(s&&s[3]!==r){r=r||s[3],n=n||[],s=+i||1;do a=a||".5",s/=a,nt.style(o.elem,t,s+r);while(a!==(a=o.cur()/i)&&1!==a&&--p)}return n&&(s=o.start=+s||+i||0,o.unit=r,o.end=n[1]?s+(n[1]+1)*n[2]:+n[2]),o}]};nt.Animation=nt.extend(B,{tweener:function(t,e){nt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var o,i=0,n=t.length;n>i;i++)o=t[i],be[o]=be[o]||[],be[o].unshift(e)},prefilter:function(t,e){e?me.unshift(t):me.push(t)}}),nt.speed=function(t,e,o){var i=t&&"object"==typeof t?nt.extend({},t):{complete:o||!o&&e||nt.isFunction(t)&&t,duration:t,easing:o&&e||e&&!nt.isFunction(e)&&e};return i.duration=nt.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in nt.fx.speeds?nt.fx.speeds[i.duration]:nt.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){nt.isFunction(i.old)&&i.old.call(this),i.queue&&nt.dequeue(this,i.queue)},i},nt.fn.extend({fadeTo:function(t,e,o,i){return this.filter(kt).css("opacity",0).show().end().animate({opacity:e},t,o,i)},animate:function(t,e,o,i){var n=nt.isEmptyObject(t),r=nt.speed(e,o,i),s=function(){var e=B(this,nt.extend({},t),r);(n||nt._data(this,"finish"))&&e.stop(!0)};return s.finish=s,n||r.queue===!1?this.each(s):this.queue(r.queue,s)},stop:function(t,e,o){var i=function(t){var e=t.stop;delete t.stop,e(o)};return"string"!=typeof t&&(o=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,n=null!=t&&t+"queueHooks",r=nt.timers,s=nt._data(this);if(n)s[n]&&s[n].stop&&i(s[n]);else for(n in s)s[n]&&s[n].stop&&ve.test(n)&&i(s[n]);for(n=r.length;n--;)r[n].elem!==this||null!=t&&r[n].queue!==t||(r[n].anim.stop(o),e=!1,r.splice(n,1));(e||!o)&&nt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,o=nt._data(this),i=o[t+"queue"],n=o[t+"queueHooks"],r=nt.timers,s=i?i.length:0;for(o.finish=!0,nt.queue(this,t,[]),n&&n.stop&&n.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;s>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete o.finish})}}),nt.each(["toggle","show","hide"],function(t,e){var o=nt.fn[e];nt.fn[e]=function(t,i,n){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(I(e,!0),t,i,n)}}),nt.each({slideDown:I("show"),slideUp:I("hide"),slideToggle:I("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){nt.fn[t]=function(t,o,i){return this.animate(e,t,o,i)}}),nt.timers=[],nt.fx.tick=function(){var t,e=nt.timers,o=0;for(fe=nt.now();o<e.length;o++)t=e[o],t()||e[o]!==t||e.splice(o--,1);e.length||nt.fx.stop(),fe=void 0},nt.fx.timer=function(t){nt.timers.push(t),t()?nt.fx.start():nt.timers.pop()},nt.fx.interval=13,nt.fx.start=function(){ye||(ye=setInterval(nt.fx.tick,nt.fx.interval))},nt.fx.stop=function(){clearInterval(ye),ye=null},nt.fx.speeds={slow:600,fast:200,_default:400},nt.fn.delay=function(t,e){return t=nt.fx?nt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,o){var i=setTimeout(e,t);o.stop=function(){clearTimeout(i)}})},function(){var t,e,o,i,n;e=yt.createElement("div"),e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=e.getElementsByTagName("a")[0],o=yt.createElement("select"),n=o.appendChild(yt.createElement("option")),t=e.getElementsByTagName("input")[0],i.style.cssText="top:1px",ot.getSetAttribute="t"!==e.className,ot.style=/top/.test(i.getAttribute("style")),ot.hrefNormalized="/a"===i.getAttribute("href"),ot.checkOn=!!t.value,ot.optSelected=n.selected,ot.enctype=!!yt.createElement("form").enctype,o.disabled=!0,ot.optDisabled=!n.disabled,t=yt.createElement("input"),t.setAttribute("value",""),ot.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),ot.radioValue="t"===t.value}();var we=/\r/g;nt.fn.extend({val:function(t){var e,o,i,n=this[0];return arguments.length?(i=nt.isFunction(t),this.each(function(o){var n;1===this.nodeType&&(n=i?t.call(this,o,nt(this).val()):t,null==n?n="":"number"==typeof n?n+="":nt.isArray(n)&&(n=nt.map(n,function(t){return null==t?"":t+""})),e=nt.valHooks[this.type]||nt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,n,"value")||(this.value=n))})):n?(e=nt.valHooks[n.type]||nt.valHooks[n.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(o=e.get(n,"value"))?o:(o=n.value,"string"==typeof o?o.replace(we,""):null==o?"":o)):void 0}}),nt.extend({valHooks:{option:{get:function(t){var e=nt.find.attr(t,"value");return null!=e?e:nt.trim(nt.text(t))}},select:{get:function(t){for(var e,o,i=t.options,n=t.selectedIndex,r="select-one"===t.type||0>n,s=r?null:[],a=r?n+1:i.length,p=0>n?a:r?n:0;a>p;p++)if(o=i[p],!(!o.selected&&p!==n||(ot.optDisabled?o.disabled:null!==o.getAttribute("disabled"))||o.parentNode.disabled&&nt.nodeName(o.parentNode,"optgroup"))){if(e=nt(o).val(),r)return e;s.push(e)}return s},set:function(t,e){for(var o,i,n=t.options,r=nt.makeArray(e),s=n.length;s--;)if(i=n[s],nt.inArray(nt.valHooks.option.get(i),r)>=0)try{i.selected=o=!0}catch(a){i.scrollHeight}else i.selected=!1;return o||(t.selectedIndex=-1),n}}}}),nt.each(["radio","checkbox"],function(){nt.valHooks[this]={set:function(t,e){return nt.isArray(e)?t.checked=nt.inArray(nt(t).val(),e)>=0:void 0}},ot.checkOn||(nt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var xe,Se,Te=nt.expr.attrHandle,Me=/^(?:checked|selected)$/i,Ce=ot.getSetAttribute,Ee=ot.input;nt.fn.extend({attr:function(t,e){return At(this,nt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){nt.removeAttr(this,t)})}}),nt.extend({attr:function(t,e,o){var i,n,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return typeof t.getAttribute===Tt?nt.prop(t,e,o):(1===r&&nt.isXMLDoc(t)||(e=e.toLowerCase(),i=nt.attrHooks[e]||(nt.expr.match.bool.test(e)?Se:xe)),void 0===o?i&&"get"in i&&null!==(n=i.get(t,e))?n:(n=nt.find.attr(t,e),null==n?void 0:n):null!==o?i&&"set"in i&&void 0!==(n=i.set(t,o,e))?n:(t.setAttribute(e,o+""),o):void nt.removeAttr(t,e))},removeAttr:function(t,e){var o,i,n=0,r=e&&e.match(bt);if(r&&1===t.nodeType)for(;o=r[n++];)i=nt.propFix[o]||o,nt.expr.match.bool.test(o)?Ee&&Ce||!Me.test(o)?t[i]=!1:t[nt.camelCase("default-"+o)]=t[i]=!1:nt.attr(t,o,""),t.removeAttribute(Ce?o:i)},attrHooks:{type:{set:function(t,e){if(!ot.radioValue&&"radio"===e&&nt.nodeName(t,"input")){var o=t.value;return t.setAttribute("type",e),o&&(t.value=o),e}}}}}),Se={set:function(t,e,o){return e===!1?nt.removeAttr(t,o):Ee&&Ce||!Me.test(o)?t.setAttribute(!Ce&&nt.propFix[o]||o,o):t[nt.camelCase("default-"+o)]=t[o]=!0,o}},nt.each(nt.expr.match.bool.source.match(/\w+/g),function(t,e){var o=Te[e]||nt.find.attr;Te[e]=Ee&&Ce||!Me.test(e)?function(t,e,i){var n,r;return i||(r=Te[e],Te[e]=n,n=null!=o(t,e,i)?e.toLowerCase():null,Te[e]=r),n}:function(t,e,o){return o?void 0:t[nt.camelCase("default-"+e)]?e.toLowerCase():null}}),Ee&&Ce||(nt.attrHooks.value={set:function(t,e,o){return nt.nodeName(t,"input")?void(t.defaultValue=e):xe&&xe.set(t,e,o)}}),Ce||(xe={set:function(t,e,o){var i=t.getAttributeNode(o);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(o)),i.value=e+="","value"===o||e===t.getAttribute(o)?e:void 0}},Te.id=Te.name=Te.coords=function(t,e,o){var i;return o?void 0:(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},nt.valHooks.button={get:function(t,e){var o=t.getAttributeNode(e);return o&&o.specified?o.value:void 0},set:xe.set},nt.attrHooks.contenteditable={set:function(t,e,o){xe.set(t,""!==e&&e,o)}},nt.each(["width","height"],function(t,e){nt.attrHooks[e]={set:function(t,o){return""===o?(t.setAttribute(e,"auto"),o):void 0}}})),ot.style||(nt.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Pe=/^(?:input|select|textarea|button|object)$/i,ke=/^(?:a|area)$/i;nt.fn.extend({prop:function(t,e){return At(this,nt.prop,t,e,arguments.length>1)},removeProp:function(t){return t=nt.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),nt.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,o){var i,n,r,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return r=1!==s||!nt.isXMLDoc(t),r&&(e=nt.propFix[e]||e,n=nt.propHooks[e]),void 0!==o?n&&"set"in n&&void 0!==(i=n.set(t,o,e))?i:t[e]=o:n&&"get"in n&&null!==(i=n.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=nt.find.attr(t,"tabindex");return e?parseInt(e,10):Pe.test(t.nodeName)||ke.test(t.nodeName)&&t.href?0:-1}}}}),ot.hrefNormalized||nt.each(["href","src"],function(t,e){nt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),ot.optSelected||(nt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),nt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){nt.propFix[this.toLowerCase()]=this}),ot.enctype||(nt.propFix.enctype="encoding");var Ae=/[\t\r\n\f]/g;nt.fn.extend({addClass:function(t){var e,o,i,n,r,s,a=0,p=this.length,l="string"==typeof t&&t;if(nt.isFunction(t))return this.each(function(e){nt(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(bt)||[];p>a;a++)if(o=this[a],i=1===o.nodeType&&(o.className?(" "+o.className+" ").replace(Ae," "):" ")){for(r=0;n=e[r++];)i.indexOf(" "+n+" ")<0&&(i+=n+" ");s=nt.trim(i),o.className!==s&&(o.className=s)}return this},removeClass:function(t){var e,o,i,n,r,s,a=0,p=this.length,l=0===arguments.length||"string"==typeof t&&t;if(nt.isFunction(t))return this.each(function(e){nt(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(bt)||[];p>a;a++)if(o=this[a],i=1===o.nodeType&&(o.className?(" "+o.className+" ").replace(Ae," "):"")){for(r=0;n=e[r++];)for(;i.indexOf(" "+n+" ")>=0;)i=i.replace(" "+n+" "," ");s=t?nt.trim(i):"",o.className!==s&&(o.className=s)}return this},toggleClass:function(t,e){var o=typeof t;return"boolean"==typeof e&&"string"===o?e?this.addClass(t):this.removeClass(t):this.each(nt.isFunction(t)?function(o){nt(this).toggleClass(t.call(this,o,this.className,e),e)}:function(){if("string"===o)for(var e,i=0,n=nt(this),r=t.match(bt)||[];e=r[i++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else(o===Tt||"boolean"===o)&&(this.className&&nt._data(this,"__className__",this.className),this.className=this.className||t===!1?"":nt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",o=0,i=this.length;i>o;o++)if(1===this[o].nodeType&&(" "+this[o].className+" ").replace(Ae," ").indexOf(e)>=0)return!0;return!1}}),nt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){nt.fn[e]=function(t,o){return arguments.length>0?this.on(e,null,t,o):this.trigger(e)}}),nt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,o){return this.on(t,null,e,o)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,o,i){return this.on(e,t,o,i)},undelegate:function(t,e,o){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",o)}});var Re=nt.now(),Le=/\?/,Ne=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;nt.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var o,i=null,n=nt.trim(e+"");return n&&!nt.trim(n.replace(Ne,function(t,e,n,r){return o&&e&&(i=0),0===i?t:(o=n||e,i+=!r-!n,"")}))?Function("return "+n)():nt.error("Invalid JSON: "+e)},nt.parseXML=function(e){var o,i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(i=new DOMParser,o=i.parseFromString(e,"text/xml")):(o=new ActiveXObject("Microsoft.XMLDOM"),o.async="false",o.loadXML(e))}catch(n){o=void 0}return o&&o.documentElement&&!o.getElementsByTagName("parsererror").length||nt.error("Invalid XML: "+e),o};var je,Ie,De=/#.*$/,Fe=/([?&])_=[^&]*/,Oe=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Be=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ue=/^(?:GET|HEAD)$/,Ge=/^\/\//,He=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,qe={},$e={},Xe="*/".concat("*");try{Ie=location.href}catch(We){Ie=yt.createElement("a"),Ie.href="",Ie=Ie.href}je=He.exec(Ie.toLowerCase())||[],nt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ie,type:"GET",isLocal:Be.test(je[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":nt.parseJSON,"text xml":nt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?H(H(t,nt.ajaxSettings),e):H(nt.ajaxSettings,t)},ajaxPrefilter:U(qe),ajaxTransport:U($e),ajax:function(t,e){function o(t,e,o,i){var n,h,v,m,w,S=e;2!==b&&(b=2,a&&clearTimeout(a),l=void 0,s=i||"",x.readyState=t>0?4:0,n=t>=200&&300>t||304===t,o&&(m=q(u,x,o)),m=$(u,m,x,n),n?(u.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(nt.lastModified[r]=w),w=x.getResponseHeader("etag"),w&&(nt.etag[r]=w)),204===t||"HEAD"===u.type?S="nocontent":304===t?S="notmodified":(S=m.state,h=m.data,v=m.error,n=!v)):(v=S,(t||!S)&&(S="error",0>t&&(t=0))),x.status=t,x.statusText=(e||S)+"",n?y.resolveWith(c,[h,S,x]):y.rejectWith(c,[x,S,v]),x.statusCode(g),g=void 0,p&&f.trigger(n?"ajaxSuccess":"ajaxError",[x,u,n?h:v]),d.fireWith(c,[x,S]),p&&(f.trigger("ajaxComplete",[x,u]),--nt.active||nt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,n,r,s,a,p,l,h,u=nt.ajaxSetup({},e),c=u.context||u,f=u.context&&(c.nodeType||c.jquery)?nt(c):nt.event,y=nt.Deferred(),d=nt.Callbacks("once memory"),g=u.statusCode||{},v={},m={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!h)for(h={};e=Oe.exec(s);)h[e[1].toLowerCase()]=e[2];e=h[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(t,e){var o=t.toLowerCase();return b||(t=m[o]=m[o]||t,v[t]=e),this},overrideMimeType:function(t){return b||(u.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)g[e]=[g[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||w;return l&&l.abort(e),o(0,e),this}};if(y.promise(x).complete=d.add,x.success=x.done,x.error=x.fail,u.url=((t||u.url||Ie)+"").replace(De,"").replace(Ge,je[1]+"//"),u.type=e.method||e.type||u.method||u.type,u.dataTypes=nt.trim(u.dataType||"*").toLowerCase().match(bt)||[""],null==u.crossDomain&&(i=He.exec(u.url.toLowerCase()),u.crossDomain=!(!i||i[1]===je[1]&&i[2]===je[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(je[3]||("http:"===je[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=nt.param(u.data,u.traditional)),G(qe,u,e,x),2===b)return x;p=nt.event&&u.global,p&&0===nt.active++&&nt.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!Ue.test(u.type),r=u.url,u.hasContent||(u.data&&(r=u.url+=(Le.test(r)?"&":"?")+u.data,delete u.data),u.cache===!1&&(u.url=Fe.test(r)?r.replace(Fe,"$1_="+Re++):r+(Le.test(r)?"&":"?")+"_="+Re++)),u.ifModified&&(nt.lastModified[r]&&x.setRequestHeader("If-Modified-Since",nt.lastModified[r]),nt.etag[r]&&x.setRequestHeader("If-None-Match",nt.etag[r])),(u.data&&u.hasContent&&u.contentType!==!1||e.contentType)&&x.setRequestHeader("Content-Type",u.contentType),x.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+Xe+"; q=0.01":""):u.accepts["*"]);for(n in u.headers)x.setRequestHeader(n,u.headers[n]);if(u.beforeSend&&(u.beforeSend.call(c,x,u)===!1||2===b))return x.abort();w="abort";for(n in{success:1,error:1,complete:1})x[n](u[n]);if(l=G($e,u,e,x)){x.readyState=1,p&&f.trigger("ajaxSend",[x,u]),u.async&&u.timeout>0&&(a=setTimeout(function(){x.abort("timeout")},u.timeout));try{b=1,l.send(v,o)}catch(S){if(!(2>b))throw S;o(-1,S)}}else o(-1,"No Transport");return x},getJSON:function(t,e,o){return nt.get(t,e,o,"json")},getScript:function(t,e){return nt.get(t,void 0,e,"script")}}),nt.each(["get","post"],function(t,e){nt[e]=function(t,o,i,n){return nt.isFunction(o)&&(n=n||i,i=o,o=void 0),nt.ajax({url:t,type:e,dataType:n,data:o,success:i})}}),nt._evalUrl=function(t){return nt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},nt.fn.extend({wrapAll:function(t){if(nt.isFunction(t))return this.each(function(e){nt(this).wrapAll(t.call(this,e))});if(this[0]){var e=nt(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return this.each(nt.isFunction(t)?function(e){nt(this).wrapInner(t.call(this,e))}:function(){var e=nt(this),o=e.contents();o.length?o.wrapAll(t):e.append(t)})},wrap:function(t){var e=nt.isFunction(t);return this.each(function(o){nt(this).wrapAll(e?t.call(this,o):t)})},unwrap:function(){return this.parent().each(function(){nt.nodeName(this,"body")||nt(this).replaceWith(this.childNodes)}).end()}}),nt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!ot.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||nt.css(t,"display"))},nt.expr.filters.visible=function(t){return!nt.expr.filters.hidden(t)};var ze=/%20/g,Ke=/\[\]$/,Ve=/\r?\n/g,Ye=/^(?:submit|button|image|reset|file)$/i,Ze=/^(?:input|select|textarea|keygen)/i;nt.param=function(t,e){var o,i=[],n=function(t,e){e=nt.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=nt.ajaxSettings&&nt.ajaxSettings.traditional),nt.isArray(t)||t.jquery&&!nt.isPlainObject(t))nt.each(t,function(){n(this.name,this.value)});else for(o in t)X(o,t[o],e,n);return i.join("&").replace(ze,"+")},nt.fn.extend({serialize:function(){return nt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=nt.prop(this,"elements");return t?nt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!nt(this).is(":disabled")&&Ze.test(this.nodeName)&&!Ye.test(t)&&(this.checked||!Rt.test(t))}).map(function(t,e){var o=nt(this).val();return null==o?null:nt.isArray(o)?nt.map(o,function(t){return{name:e.name,value:t.replace(Ve,"\r\n")}}):{name:e.name,value:o.replace(Ve,"\r\n")}}).get()}}),nt.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&W()||z()}:W;var _e=0,Je={},Qe=nt.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Je)Je[t](void 0,!0)}),ot.cors=!!Qe&&"withCredentials"in Qe,Qe=ot.ajax=!!Qe,Qe&&nt.ajaxTransport(function(t){if(!t.crossDomain||ot.cors){var e;return{send:function(o,i){var n,r=t.xhr(),s=++_e;if(r.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(n in t.xhrFields)r[n]=t.xhrFields[n];t.mimeType&&r.overrideMimeType&&r.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(n in o)void 0!==o[n]&&r.setRequestHeader(n,o[n]+"");r.send(t.hasContent&&t.data||null),e=function(o,n){var a,p,l;if(e&&(n||4===r.readyState))if(delete Je[s],e=void 0,r.onreadystatechange=nt.noop,n)4!==r.readyState&&r.abort();else{l={},a=r.status,"string"==typeof r.responseText&&(l.text=r.responseText);try{p=r.statusText}catch(h){p=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=l.text?200:404}l&&i(a,p,l,r.getAllResponseHeaders())},t.async?4===r.readyState?setTimeout(e):r.onreadystatechange=Je[s]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),nt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return nt.globalEval(t),t}}}),nt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),nt.ajaxTransport("script",function(t){if(t.crossDomain){var e,o=yt.head||nt("head")[0]||yt.documentElement;return{send:function(i,n){e=yt.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset), +function success(t){var e=t.coords;map.getView().setCenter(ol.proj.transform([e.longitude,e.latitude],"EPSG:4326","EPSG:3857")),map.getView().setZoom(12),updateMapExtent()}function error(t){}function receiveLocation(){navigator.geolocation.getCurrentPosition(success,error,options)}function updateMapExtent(){var t=map.getView().calculateExtent([$("#map").width(),$("#map").height()]);extent=ol.proj.transform([t[0],t[1]],"EPSG:3857","EPSG:4326").concat(ol.proj.transform([t[2],t[3]],"EPSG:3857","EPSG:4326"))}function numberWithPoints(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function toggleResults(){"in"===$("#results").attr("data-status")?($("#closer").html("<"),$("#results").attr("data-status","out"),$("#closer").attr("title","Ergebnisse ausklappen"),updateResultsPosition(),updateCloserPosition()):($("#closer").html(">"),$("#results").attr("data-status","in"),$("#closer").attr("title","Ergebnisse einklappen"),updateResultsPosition(),updateCloserPosition())}function updateResultsPosition(){if("out"===$("#results").attr("data-status")){var t=$("#results").outerWidth()*-1;$("#results").css("right",t+"px")}else $("#results").css("right",0)}function updateCloserPosition(){if("out"===$("#results").attr("data-status"))$("#closer").css("right","0px");else{var t=$(window).width(),e=$("#results").width()-1,o=$("#closer").width();t>e+o?$("#closer").css("right",e+"px"):$("#closer").css("right",e-o+"px")}}function adjustView(t){if(!(t.length<=0)){for(var e=[],o=[],i=0;i<t.length&&(("undefined"==typeof e[0]||e[0]>parseFloat(t[i].lon))&&(e[0]=parseFloat(t[i].lon)),("undefined"==typeof e[0]||"undefined"!=typeof t[i].boundingbox&&e[0]>parseFloat(t[i].boundingbox[2]))&&(e[0]=parseFloat(t[i].boundingbox[2])),("undefined"==typeof e[1]||e[1]>parseFloat(t[i].lat))&&(e[1]=parseFloat(t[i].lat)),("undefined"==typeof e[1]||"undefined"!=typeof t[i].boundingbox&&e[1]>parseFloat(t[i].boundingbox[0]))&&(e[1]=parseFloat(t[i].boundingbox[0])),("undefined"==typeof o[0]||o[0]<parseFloat(t[i].lon))&&(o[0]=parseFloat(t[i].lon)),("undefined"==typeof o[0]||"undefined"!=typeof t[i].boundingbox&&o[0]<parseFloat(t[i].boundingbox[3]))&&(o[0]=parseFloat(t[i].boundingbox[3])),("undefined"==typeof o[1]||o[1]<parseFloat(t[i].lat))&&(o[1]=parseFloat(t[i].lat)),("undefined"==typeof o[1]||"undefined"!=typeof t[i].boundingbox&&o[1]<parseFloat(t[i].boundingbox[1]))&&(o[1]=parseFloat(t[i].boundingbox[1])),"undefined"==typeof t[i].type||"city"!==t[i].type&&"administrative"!==t[i].type&&"river"!==t[i].type);i++);e=ol.proj.transform(e,"EPSG:4326","EPSG:3857"),o=ol.proj.transform(o,"EPSG:4326","EPSG:3857"),map.getView().fitExtent([e[0],e[1],o[0],o[1]],map.getSize()),updateMapExtent()}}function adjustViewBoundingBox(t,e){minPosition=ol.proj.transform(t,"EPSG:4326","EPSG:3857"),maxPosition=ol.proj.transform(e,"EPSG:4326","EPSG:3857"),map.getView().fitExtent([minPosition[0],minPosition[1],maxPosition[0],maxPosition[1]],map.getSize()),updateMapExtent()}function clearPOIS(){$.each(overlays,function(t,e){map.removeOverlay(e)}),map.removeLayer(vectorLayer),vectorSource=new ol.source.Vector,$("#results > .result").remove(),$("#results > h4").remove(),overlays=[]}function addMarker(t,e){var o=new ol.Overlay({position:e,element:t,offset:[-12,-45],stopEvent:!1});map.addOverlay(o),overlays.push(o)}function initMap(){popupOverlay=new ol.Overlay({element:$("#popup"),autoPan:!0,autoPanAnimation:{duration:250}}),map=new ol.Map({layers:[new ol.layer.Tile({preload:1/0,source:new ol.source.OSM({attributions:[new ol.Attribution({html:'All search results © <a href="http://nominatim.openstreetmap.org/">Nominatim</a>'}),ol.source.OSM.ATTRIBUTION],url:"https://maps.metager.de/osm_tiles/{z}/{x}/{y}.png"})})],target:"map",controls:[],interactions:ol.interaction.defaults({doubleClickZoom:!1,dragAndDrop:!1,dragPan:!1,dragBox:!1,dragRotate:!1,dragRotateAndZoom:!1,dragZoom:!1,draw:!1,extent:!1,interaction:!1,pointer:!1,keyboardPan:!1,keyboardZoom:!1,modify:!1,pinchRotate:!1,pinchZoom:!1,snap:!1,translate:!1,mouseWheelZoom:!1,pointer:!1,select:!1}),overlays:[popupOverlay],view:new ol.View({maxZoom:18,minZoom:5,center:ol.proj.transform([10.06897,51.37247],"EPSG:4326","EPSG:3857"),zoom:5}),loadTilesWhileAnimating:!0,loadTilesWhileInteracting:!0}),map.addControl(new ol.control.ZoomSlider),$("#popup-closer").click(function(){return popupOverlay.setPosition(void 0),$(this).blur(),!1})}if(!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function o(t){var e=t.length,o=nt.type(t);return"function"!==o&&!nt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===o||0===e||"number"==typeof e&&e>0&&e-1 in t))}function i(t,e,o){if(nt.isFunction(e))return nt.grep(t,function(t,i){return!!e.call(t,i,t)!==o});if(e.nodeType)return nt.grep(t,function(t){return t===e!==o});if("string"==typeof e){if(ct.test(e))return nt.filter(e,t,o);e=nt.filter(e,t)}return nt.grep(t,function(t){return nt.inArray(t,e)>=0!==o})}function n(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function r(t){var e=wt[t]={};return nt.each(t.match(bt)||[],function(t,o){e[o]=!0}),e}function s(){yt.addEventListener?(yt.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1)):(yt.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(yt.addEventListener||"load"===event.type||"complete"===yt.readyState)&&(s(),nt.ready())}function p(t,e,o){if(void 0===o&&1===t.nodeType){var i="data-"+e.replace(Ct,"-$1").toLowerCase();if(o=t.getAttribute(i),"string"==typeof o){try{o="true"===o||"false"!==o&&("null"===o?null:+o+""===o?+o:Mt.test(o)?nt.parseJSON(o):o)}catch(n){}nt.data(t,e,o)}else o=void 0}return o}function l(t){var e;for(e in t)if(("data"!==e||!nt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function h(t,e,o,i){if(nt.acceptData(t)){var n,r,s=nt.expando,a=t.nodeType,p=a?nt.cache:t,l=a?t[s]:t[s]&&s;if(l&&p[l]&&(i||p[l].data)||void 0!==o||"string"!=typeof e)return l||(l=a?t[s]=V.pop()||nt.guid++:s),p[l]||(p[l]=a?{}:{toJSON:nt.noop}),("object"==typeof e||"function"==typeof e)&&(i?p[l]=nt.extend(p[l],e):p[l].data=nt.extend(p[l].data,e)),r=p[l],i||(r.data||(r.data={}),r=r.data),void 0!==o&&(r[nt.camelCase(e)]=o),"string"==typeof e?(n=r[e],null==n&&(n=r[nt.camelCase(e)])):n=r,n}}function u(t,e,o){if(nt.acceptData(t)){var i,n,r=t.nodeType,s=r?nt.cache:t,a=r?t[nt.expando]:nt.expando;if(s[a]){if(e&&(i=o?s[a]:s[a].data)){nt.isArray(e)?e=e.concat(nt.map(e,nt.camelCase)):e in i?e=[e]:(e=nt.camelCase(e),e=e in i?[e]:e.split(" ")),n=e.length;for(;n--;)delete i[e[n]];if(o?!l(i):!nt.isEmptyObject(i))return}(o||(delete s[a].data,l(s[a])))&&(r?nt.cleanData([t],!0):ot.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}function c(){return!0}function f(){return!1}function y(){try{return yt.activeElement}catch(t){}}function d(t){var e=Ft.split("|"),o=t.createDocumentFragment();if(o.createElement)for(;e.length;)o.createElement(e.pop());return o}function g(t,e){var o,i,n=0,r=typeof t.getElementsByTagName!==Tt?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==Tt?t.querySelectorAll(e||"*"):void 0;if(!r)for(r=[],o=t.childNodes||t;null!=(i=o[n]);n++)!e||nt.nodeName(i,e)?r.push(i):nt.merge(r,g(i,e));return void 0===e||e&&nt.nodeName(t,e)?nt.merge([t],r):r}function v(t){Rt.test(t.type)&&(t.defaultChecked=t.checked)}function m(t,e){return nt.nodeName(t,"table")&&nt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function b(t){return t.type=(null!==nt.find.attr(t,"type"))+"/"+t.type,t}function w(t){var e=Kt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function x(t,e){for(var o,i=0;null!=(o=t[i]);i++)nt._data(o,"globalEval",!e||nt._data(e[i],"globalEval"))}function S(t,e){if(1===e.nodeType&&nt.hasData(t)){var o,i,n,r=nt._data(t),s=nt._data(e,r),a=r.events;if(a){delete s.handle,s.events={};for(o in a)for(i=0,n=a[o].length;n>i;i++)nt.event.add(e,o,a[o][i])}s.data&&(s.data=nt.extend({},s.data))}}function T(t,e){var o,i,n;if(1===e.nodeType){if(o=e.nodeName.toLowerCase(),!ot.noCloneEvent&&e[nt.expando]){n=nt._data(e);for(i in n.events)nt.removeEvent(e,i,n.handle);e.removeAttribute(nt.expando)}"script"===o&&e.text!==t.text?(b(e).text=t.text,w(e)):"object"===o?(e.parentNode&&(e.outerHTML=t.outerHTML),ot.html5Clone&&t.innerHTML&&!nt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===o&&Rt.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===o?e.defaultSelected=e.selected=t.defaultSelected:("input"===o||"textarea"===o)&&(e.defaultValue=t.defaultValue)}}function M(e,o){var i,n=nt(o.createElement(e)).appendTo(o.body),r=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(n[0]))?i.display:nt.css(n[0],"display");return n.detach(),r}function C(t){var e=yt,o=Qt[t];return o||(o=M(t,e),"none"!==o&&o||(Jt=(Jt||nt("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Jt[0].contentWindow||Jt[0].contentDocument).document,e.write(),e.close(),o=M(t,e),Jt.detach()),Qt[t]=o),o}function E(t,e){return{get:function(){var o=t();if(null!=o)return o?void delete this.get:(this.get=e).apply(this,arguments)}}}function P(t,e){if(e in t)return e;for(var o=e.charAt(0).toUpperCase()+e.slice(1),i=e,n=ce.length;n--;)if(e=ce[n]+o,e in t)return e;return i}function k(t,e){for(var o,i,n,r=[],s=0,a=t.length;a>s;s++)i=t[s],i.style&&(r[s]=nt._data(i,"olddisplay"),o=i.style.display,e?(r[s]||"none"!==o||(i.style.display=""),""===i.style.display&&kt(i)&&(r[s]=nt._data(i,"olddisplay",C(i.nodeName)))):(n=kt(i),(o&&"none"!==o||!n)&&nt._data(i,"olddisplay",n?o:nt.css(i,"display"))));for(s=0;a>s;s++)i=t[s],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?r[s]||"":"none"));return t}function A(t,e,o){var i=pe.exec(e);return i?Math.max(0,i[1]-(o||0))+(i[2]||"px"):e}function R(t,e,o,i,n){for(var r=o===(i?"border":"content")?4:"width"===e?1:0,s=0;4>r;r+=2)"margin"===o&&(s+=nt.css(t,o+Pt[r],!0,n)),i?("content"===o&&(s-=nt.css(t,"padding"+Pt[r],!0,n)),"margin"!==o&&(s-=nt.css(t,"border"+Pt[r]+"Width",!0,n))):(s+=nt.css(t,"padding"+Pt[r],!0,n),"padding"!==o&&(s+=nt.css(t,"border"+Pt[r]+"Width",!0,n)));return s}function L(t,e,o){var i=!0,n="width"===e?t.offsetWidth:t.offsetHeight,r=te(t),s=ot.boxSizing&&"border-box"===nt.css(t,"boxSizing",!1,r);if(0>=n||null==n){if(n=ee(t,e,r),(0>n||null==n)&&(n=t.style[e]),ie.test(n))return n;i=s&&(ot.boxSizingReliable()||n===t.style[e]),n=parseFloat(n)||0}return n+R(t,e,o||(s?"border":"content"),i,r)+"px"}function N(t,e,o,i,n){return new N.prototype.init(t,e,o,i,n)}function j(){return setTimeout(function(){fe=void 0}),fe=nt.now()}function I(t,e){var o,i={height:t},n=0;for(e=e?1:0;4>n;n+=2-e)o=Pt[n],i["margin"+o]=i["padding"+o]=t;return e&&(i.opacity=i.width=t),i}function D(t,e,o){for(var i,n=(be[e]||[]).concat(be["*"]),r=0,s=n.length;s>r;r++)if(i=n[r].call(o,e,t))return i}function F(t,e,o){var i,n,r,s,a,p,l,h,u=this,c={},f=t.style,y=t.nodeType&&kt(t),d=nt._data(t,"fxshow");o.queue||(a=nt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,p=a.empty.fire,a.empty.fire=function(){a.unqueued||p()}),a.unqueued++,u.always(function(){u.always(function(){a.unqueued--,nt.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(o.overflow=[f.overflow,f.overflowX,f.overflowY],l=nt.css(t,"display"),h="none"===l?nt._data(t,"olddisplay")||C(t.nodeName):l,"inline"===h&&"none"===nt.css(t,"float")&&(ot.inlineBlockNeedsLayout&&"inline"!==C(t.nodeName)?f.zoom=1:f.display="inline-block")),o.overflow&&(f.overflow="hidden",ot.shrinkWrapBlocks()||u.always(function(){f.overflow=o.overflow[0],f.overflowX=o.overflow[1],f.overflowY=o.overflow[2]}));for(i in e)if(n=e[i],de.exec(n)){if(delete e[i],r=r||"toggle"===n,n===(y?"hide":"show")){if("show"!==n||!d||void 0===d[i])continue;y=!0}c[i]=d&&d[i]||nt.style(t,i)}else l=void 0;if(nt.isEmptyObject(c))"inline"===("none"===l?C(t.nodeName):l)&&(f.display=l);else{d?"hidden"in d&&(y=d.hidden):d=nt._data(t,"fxshow",{}),r&&(d.hidden=!y),y?nt(t).show():u.done(function(){nt(t).hide()}),u.done(function(){var e;nt._removeData(t,"fxshow");for(e in c)nt.style(t,e,c[e])});for(i in c)s=D(y?d[i]:0,i,u),i in d||(d[i]=s.start,y&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function O(t,e){var o,i,n,r,s;for(o in t)if(i=nt.camelCase(o),n=e[i],r=t[o],nt.isArray(r)&&(n=r[1],r=t[o]=r[0]),o!==i&&(t[i]=r,delete t[o]),s=nt.cssHooks[i],s&&"expand"in s){r=s.expand(r),delete t[i];for(o in r)o in t||(t[o]=r[o],e[o]=n)}else e[i]=n}function B(t,e,o){var i,n,r=0,s=me.length,a=nt.Deferred().always(function(){delete p.elem}),p=function(){if(n)return!1;for(var e=fe||j(),o=Math.max(0,l.startTime+l.duration-e),i=o/l.duration||0,r=1-i,s=0,p=l.tweens.length;p>s;s++)l.tweens[s].run(r);return a.notifyWith(t,[l,r,o]),1>r&&p?o:(a.resolveWith(t,[l]),!1)},l=a.promise({elem:t,props:nt.extend({},e),opts:nt.extend(!0,{specialEasing:{}},o),originalProperties:e,originalOptions:o,startTime:fe||j(),duration:o.duration,tweens:[],createTween:function(e,o){var i=nt.Tween(t,l.opts,e,o,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(i),i},stop:function(e){var o=0,i=e?l.tweens.length:0;if(n)return this;for(n=!0;i>o;o++)l.tweens[o].run(1);return e?a.resolveWith(t,[l,e]):a.rejectWith(t,[l,e]),this}}),h=l.props;for(O(h,l.opts.specialEasing);s>r;r++)if(i=me[r].call(l,t,h,l.opts))return i;return nt.map(h,D,l),nt.isFunction(l.opts.start)&&l.opts.start.call(t,l),nt.fx.timer(nt.extend(p,{elem:t,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function U(t){return function(e,o){"string"!=typeof e&&(o=e,e="*");var i,n=0,r=e.toLowerCase().match(bt)||[];if(nt.isFunction(o))for(;i=r[n++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(o)):(t[i]=t[i]||[]).push(o)}}function G(t,e,o,i){function n(a){var p;return r[a]=!0,nt.each(t[a]||[],function(t,a){var l=a(e,o,i);return"string"!=typeof l||s||r[l]?s?!(p=l):void 0:(e.dataTypes.unshift(l),n(l),!1)}),p}var r={},s=t===$e;return n(e.dataTypes[0])||!r["*"]&&n("*")}function q(t,e){var o,i,n=nt.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((n[i]?t:o||(o={}))[i]=e[i]);return o&&nt.extend(!0,t,o),t}function H(t,e,o){for(var i,n,r,s,a=t.contents,p=t.dataTypes;"*"===p[0];)p.shift(),void 0===n&&(n=t.mimeType||e.getResponseHeader("Content-Type"));if(n)for(s in a)if(a[s]&&a[s].test(n)){p.unshift(s);break}if(p[0]in o)r=p[0];else{for(s in o){if(!p[0]||t.converters[s+" "+p[0]]){r=s;break}i||(i=s)}r=r||i}return r?(r!==p[0]&&p.unshift(r),o[r]):void 0}function $(t,e,o,i){var n,r,s,a,p,l={},h=t.dataTypes.slice();if(h[1])for(s in t.converters)l[s.toLowerCase()]=t.converters[s];for(r=h.shift();r;)if(t.responseFields[r]&&(o[t.responseFields[r]]=e),!p&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),p=r,r=h.shift())if("*"===r)r=p;else if("*"!==p&&p!==r){if(s=l[p+" "+r]||l["* "+r],!s)for(n in l)if(a=n.split(" "),a[1]===r&&(s=l[p+" "+a[0]]||l["* "+a[0]])){s===!0?s=l[n]:l[n]!==!0&&(r=a[0],h.unshift(a[1]));break}if(s!==!0)if(s&&t["throws"])e=s(e);else try{e=s(e)}catch(u){return{state:"parsererror",error:s?u:"No conversion from "+p+" to "+r}}}return{state:"success",data:e}}function X(t,e,o,i){var n;if(nt.isArray(e))nt.each(e,function(e,n){o||Ke.test(t)?i(t,n):X(t+"["+("object"==typeof n?e:"")+"]",n,o,i)});else if(o||"object"!==nt.type(e))i(t,e);else for(n in e)X(t+"["+n+"]",e[n],o,i)}function W(){try{return new t.XMLHttpRequest}catch(e){}}function z(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function K(t){return nt.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var V=[],Y=V.slice,Z=V.concat,_=V.push,J=V.indexOf,Q={},tt=Q.toString,et=Q.hasOwnProperty,ot={},it="1.11.2",nt=function(t,e){return new nt.fn.init(t,e)},rt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,st=/^-ms-/,at=/-([\da-z])/gi,pt=function(t,e){return e.toUpperCase()};nt.fn=nt.prototype={jquery:it,constructor:nt,selector:"",length:0,toArray:function(){return Y.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:Y.call(this)},pushStack:function(t){var e=nt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return nt.each(this,t,e)},map:function(t){return this.pushStack(nt.map(this,function(e,o){return t.call(e,o,e)}))},slice:function(){return this.pushStack(Y.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,o=+t+(0>t?e:0);return this.pushStack(o>=0&&e>o?[this[o]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:_,sort:V.sort,splice:V.splice},nt.extend=nt.fn.extend=function(){var t,e,o,i,n,r,s=arguments[0]||{},a=1,p=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||nt.isFunction(s)||(s={}),a===p&&(s=this,a--);p>a;a++)if(null!=(n=arguments[a]))for(i in n)t=s[i],o=n[i],s!==o&&(l&&o&&(nt.isPlainObject(o)||(e=nt.isArray(o)))?(e?(e=!1,r=t&&nt.isArray(t)?t:[]):r=t&&nt.isPlainObject(t)?t:{},s[i]=nt.extend(l,r,o)):void 0!==o&&(s[i]=o));return s},nt.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===nt.type(t)},isArray:Array.isArray||function(t){return"array"===nt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!nt.isArray(t)&&t-parseFloat(t)+1>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==nt.type(t)||t.nodeType||nt.isWindow(t))return!1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(o){return!1}if(ot.ownLast)for(e in t)return et.call(t,e);for(e in t);return void 0===e||et.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?Q[tt.call(t)]||"object":typeof t},globalEval:function(e){e&&nt.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(st,"ms-").replace(at,pt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var n,r=0,s=t.length,a=o(t);if(i){if(a)for(;s>r&&(n=e.apply(t[r],i),n!==!1);r++);else for(r in t)if(n=e.apply(t[r],i),n===!1)break}else if(a)for(;s>r&&(n=e.call(t[r],r,t[r]),n!==!1);r++);else for(r in t)if(n=e.call(t[r],r,t[r]),n===!1)break;return t},trim:function(t){return null==t?"":(t+"").replace(rt,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(o(Object(t))?nt.merge(i,"string"==typeof t?[t]:t):_.call(i,t)),i},inArray:function(t,e,o){var i;if(e){if(J)return J.call(e,t,o);for(i=e.length,o=o?0>o?Math.max(0,i+o):o:0;i>o;o++)if(o in e&&e[o]===t)return o}return-1},merge:function(t,e){for(var o=+e.length,i=0,n=t.length;o>i;)t[n++]=e[i++];if(o!==o)for(;void 0!==e[i];)t[n++]=e[i++];return t.length=n,t},grep:function(t,e,o){for(var i,n=[],r=0,s=t.length,a=!o;s>r;r++)i=!e(t[r],r),i!==a&&n.push(t[r]);return n},map:function(t,e,i){var n,r=0,s=t.length,a=o(t),p=[];if(a)for(;s>r;r++)n=e(t[r],r,i),null!=n&&p.push(n);else for(r in t)n=e(t[r],r,i),null!=n&&p.push(n);return Z.apply([],p)},guid:1,proxy:function(t,e){var o,i,n;return"string"==typeof e&&(n=t[e],e=t,t=n),nt.isFunction(t)?(o=Y.call(arguments,2),i=function(){return t.apply(e||this,o.concat(Y.call(arguments)))},i.guid=t.guid=t.guid||nt.guid++,i):void 0},now:function(){return+new Date},support:ot}),nt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){Q["[object "+e+"]"]=e.toLowerCase()});var lt=function(t){function e(t,e,o,i){var n,r,s,a,p,l,u,f,y,d;if((e?e.ownerDocument||e:G)!==N&&L(e),e=e||N,o=o||[],a=e.nodeType,"string"!=typeof t||!t||1!==a&&9!==a&&11!==a)return o;if(!i&&I){if(11!==a&&(n=mt.exec(t)))if(s=n[1]){if(9===a){if(r=e.getElementById(s),!r||!r.parentNode)return o;if(r.id===s)return o.push(r),o}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(s))&&B(e,r)&&r.id===s)return o.push(r),o}else{if(n[2])return J.apply(o,e.getElementsByTagName(t)),o;if((s=n[3])&&x.getElementsByClassName)return J.apply(o,e.getElementsByClassName(s)),o}if(x.qsa&&(!D||!D.test(t))){if(f=u=U,y=e,d=1!==a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(l=C(t),(u=e.getAttribute("id"))?f=u.replace(wt,"\\$&"):e.setAttribute("id",f),f="[id='"+f+"'] ",p=l.length;p--;)l[p]=f+c(l[p]);y=bt.test(t)&&h(e.parentNode)||e,d=l.join(",")}if(d)try{return J.apply(o,y.querySelectorAll(d)),o}catch(g){}finally{u||e.removeAttribute("id")}}}return P(t.replace(pt,"$1"),e,o,i)}function o(){function t(o,i){return e.push(o+" ")>S.cacheLength&&delete t[e.shift()],t[o+" "]=i}var e=[];return t}function i(t){return t[U]=!0,t}function n(t){var e=N.createElement("div");try{return!!t(e)}catch(o){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function r(t,e){for(var o=t.split("|"),i=t.length;i--;)S.attrHandle[o[i]]=e}function s(t,e){var o=e&&t,i=o&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||K)-(~t.sourceIndex||K);if(i)return i;if(o)for(;o=o.nextSibling;)if(o===e)return-1;return t?1:-1}function a(t){return function(e){var o=e.nodeName.toLowerCase();return"input"===o&&e.type===t}}function p(t){return function(e){var o=e.nodeName.toLowerCase();return("input"===o||"button"===o)&&e.type===t}}function l(t){return i(function(e){return e=+e,i(function(o,i){for(var n,r=t([],o.length,e),s=r.length;s--;)o[n=r[s]]&&(o[n]=!(i[n]=o[n]))})})}function h(t){return t&&"undefined"!=typeof t.getElementsByTagName&&t}function u(){}function c(t){for(var e=0,o=t.length,i="";o>e;e++)i+=t[e].value;return i}function f(t,e,o){var i=e.dir,n=o&&"parentNode"===i,r=H++;return e.first?function(e,o,r){for(;e=e[i];)if(1===e.nodeType||n)return t(e,o,r)}:function(e,o,s){var a,p,l=[q,r];if(s){for(;e=e[i];)if((1===e.nodeType||n)&&t(e,o,s))return!0}else for(;e=e[i];)if(1===e.nodeType||n){if(p=e[U]||(e[U]={}),(a=p[i])&&a[0]===q&&a[1]===r)return l[2]=a[2];if(p[i]=l,l[2]=t(e,o,s))return!0}}}function y(t){return t.length>1?function(e,o,i){for(var n=t.length;n--;)if(!t[n](e,o,i))return!1;return!0}:t[0]}function d(t,o,i){for(var n=0,r=o.length;r>n;n++)e(t,o[n],i);return i}function g(t,e,o,i,n){for(var r,s=[],a=0,p=t.length,l=null!=e;p>a;a++)(r=t[a])&&(!o||o(r,i,n))&&(s.push(r),l&&e.push(a));return s}function v(t,e,o,n,r,s){return n&&!n[U]&&(n=v(n)),r&&!r[U]&&(r=v(r,s)),i(function(i,s,a,p){var l,h,u,c=[],f=[],y=s.length,v=i||d(e||"*",a.nodeType?[a]:a,[]),m=!t||!i&&e?v:g(v,c,t,a,p),b=o?r||(i?t:y||n)?[]:s:m;if(o&&o(m,b,a,p),n)for(l=g(b,f),n(l,[],a,p),h=l.length;h--;)(u=l[h])&&(b[f[h]]=!(m[f[h]]=u));if(i){if(r||t){if(r){for(l=[],h=b.length;h--;)(u=b[h])&&l.push(m[h]=u);r(null,b=[],l,p)}for(h=b.length;h--;)(u=b[h])&&(l=r?tt(i,u):c[h])>-1&&(i[l]=!(s[l]=u))}}else b=g(b===s?b.splice(y,b.length):b),r?r(null,s,b,p):J.apply(s,b)})}function m(t){for(var e,o,i,n=t.length,r=S.relative[t[0].type],s=r||S.relative[" "],a=r?1:0,p=f(function(t){return t===e},s,!0),l=f(function(t){return tt(e,t)>-1},s,!0),h=[function(t,o,i){var n=!r&&(i||o!==k)||((e=o).nodeType?p(t,o,i):l(t,o,i));return e=null,n}];n>a;a++)if(o=S.relative[t[a].type])h=[f(y(h),o)];else{if(o=S.filter[t[a].type].apply(null,t[a].matches),o[U]){for(i=++a;n>i&&!S.relative[t[i].type];i++);return v(a>1&&y(h),a>1&&c(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(pt,"$1"),o,i>a&&m(t.slice(a,i)),n>i&&m(t=t.slice(i)),n>i&&c(t))}h.push(o)}return y(h)}function b(t,o){var n=o.length>0,r=t.length>0,s=function(i,s,a,p,l){var h,u,c,f=0,y="0",d=i&&[],v=[],m=k,b=i||r&&S.find.TAG("*",l),w=q+=null==m?1:Math.random()||.1,x=b.length;for(l&&(k=s!==N&&s);y!==x&&null!=(h=b[y]);y++){if(r&&h){for(u=0;c=t[u++];)if(c(h,s,a)){p.push(h);break}l&&(q=w)}n&&((h=!c&&h)&&f--,i&&d.push(h))}if(f+=y,n&&y!==f){for(u=0;c=o[u++];)c(d,v,s,a);if(i){if(f>0)for(;y--;)d[y]||v[y]||(v[y]=Z.call(p));v=g(v)}J.apply(p,v),l&&!i&&v.length>0&&f+o.length>1&&e.uniqueSort(p)}return l&&(q=w,k=m),d};return n?i(s):s}var w,x,S,T,M,C,E,P,k,A,R,L,N,j,I,D,F,O,B,U="sizzle"+1*new Date,G=t.document,q=0,H=0,$=o(),X=o(),W=o(),z=function(t,e){return t===e&&(R=!0),0},K=1<<31,V={}.hasOwnProperty,Y=[],Z=Y.pop,_=Y.push,J=Y.push,Q=Y.slice,tt=function(t,e){for(var o=0,i=t.length;i>o;o++)if(t[o]===e)return o;return-1},et="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ot="[\\x20\\t\\r\\n\\f]",it="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",nt=it.replace("w","w#"),rt="\\["+ot+"*("+it+")(?:"+ot+"*([*^$|!~]?=)"+ot+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+nt+"))|)"+ot+"*\\]",st=":("+it+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+rt+")*)|.*)\\)|)",at=new RegExp(ot+"+","g"),pt=new RegExp("^"+ot+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ot+"+$","g"),lt=new RegExp("^"+ot+"*,"+ot+"*"),ht=new RegExp("^"+ot+"*([>+~]|"+ot+")"+ot+"*"),ut=new RegExp("="+ot+"*([^\\]'\"]*?)"+ot+"*\\]","g"),ct=new RegExp(st),ft=new RegExp("^"+nt+"$"),yt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it.replace("w","w*")+")"),ATTR:new RegExp("^"+rt),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ot+"*(even|odd|(([+-]|)(\\d*)n|)"+ot+"*(?:([+-]|)"+ot+"*(\\d+)|))"+ot+"*\\)|)","i"),bool:new RegExp("^(?:"+et+")$","i"),needsContext:new RegExp("^"+ot+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ot+"*((?:-\\d)?\\d*)"+ot+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,vt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,bt=/[+~]/,wt=/'|\\/g,xt=new RegExp("\\\\([\\da-f]{1,6}"+ot+"?|("+ot+")|.)","ig"),St=function(t,e,o){var i="0x"+e-65536;return i!==i||o?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},Tt=function(){L()};try{J.apply(Y=Q.call(G.childNodes),G.childNodes),Y[G.childNodes.length].nodeType}catch(Mt){J={apply:Y.length?function(t,e){_.apply(t,Q.call(e))}:function(t,e){for(var o=t.length,i=0;t[o++]=e[i++];);t.length=o-1}}}x=e.support={},M=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},L=e.setDocument=function(t){var e,o,i=t?t.ownerDocument||t:G;return i!==N&&9===i.nodeType&&i.documentElement?(N=i,j=i.documentElement,o=i.defaultView,o&&o!==o.top&&(o.addEventListener?o.addEventListener("unload",Tt,!1):o.attachEvent&&o.attachEvent("onunload",Tt)),I=!M(i),x.attributes=n(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=n(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=vt.test(i.getElementsByClassName),x.getById=n(function(t){return j.appendChild(t).id=U,!i.getElementsByName||!i.getElementsByName(U).length}),x.getById?(S.find.ID=function(t,e){if("undefined"!=typeof e.getElementById&&I){var o=e.getElementById(t);return o&&o.parentNode?[o]:[]}},S.filter.ID=function(t){var e=t.replace(xt,St);return function(t){return t.getAttribute("id")===e}}):(delete S.find.ID,S.filter.ID=function(t){var e=t.replace(xt,St);return function(t){var o="undefined"!=typeof t.getAttributeNode&&t.getAttributeNode("id");return o&&o.value===e}}),S.find.TAG=x.getElementsByTagName?function(t,e){return"undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var o,i=[],n=0,r=e.getElementsByTagName(t);if("*"===t){for(;o=r[n++];)1===o.nodeType&&i.push(o);return i}return r},S.find.CLASS=x.getElementsByClassName&&function(t,e){return I?e.getElementsByClassName(t):void 0},F=[],D=[],(x.qsa=vt.test(i.querySelectorAll))&&(n(function(t){j.appendChild(t).innerHTML="<a id='"+U+"'></a><select id='"+U+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&D.push("[*^$]="+ot+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||D.push("\\["+ot+"*(?:value|"+et+")"),t.querySelectorAll("[id~="+U+"-]").length||D.push("~="),t.querySelectorAll(":checked").length||D.push(":checked"),t.querySelectorAll("a#"+U+"+*").length||D.push(".#.+[+~]")}),n(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&D.push("name"+ot+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||D.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),D.push(",.*:")})),(x.matchesSelector=vt.test(O=j.matches||j.webkitMatchesSelector||j.mozMatchesSelector||j.oMatchesSelector||j.msMatchesSelector))&&n(function(t){x.disconnectedMatch=O.call(t,"div"),O.call(t,"[s!='']:x"),F.push("!=",st)}),D=D.length&&new RegExp(D.join("|")),F=F.length&&new RegExp(F.join("|")),e=vt.test(j.compareDocumentPosition),B=e||vt.test(j.contains)?function(t,e){var o=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(o.contains?o.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},z=e?function(t,e){if(t===e)return R=!0,0;var o=!t.compareDocumentPosition-!e.compareDocumentPosition;return o?o:(o=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&o||!x.sortDetached&&e.compareDocumentPosition(t)===o?t===i||t.ownerDocument===G&&B(G,t)?-1:e===i||e.ownerDocument===G&&B(G,e)?1:A?tt(A,t)-tt(A,e):0:4&o?-1:1)}:function(t,e){if(t===e)return R=!0,0;var o,n=0,r=t.parentNode,a=e.parentNode,p=[t],l=[e];if(!r||!a)return t===i?-1:e===i?1:r?-1:a?1:A?tt(A,t)-tt(A,e):0;if(r===a)return s(t,e);for(o=t;o=o.parentNode;)p.unshift(o);for(o=e;o=o.parentNode;)l.unshift(o);for(;p[n]===l[n];)n++;return n?s(p[n],l[n]):p[n]===G?-1:l[n]===G?1:0},i):N},e.matches=function(t,o){return e(t,null,null,o)},e.matchesSelector=function(t,o){if((t.ownerDocument||t)!==N&&L(t),o=o.replace(ut,"='$1']"),!(!x.matchesSelector||!I||F&&F.test(o)||D&&D.test(o)))try{var i=O.call(t,o);if(i||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(n){}return e(o,N,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==N&&L(t),B(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==N&&L(t);var o=S.attrHandle[e.toLowerCase()],i=o&&V.call(S.attrHandle,e.toLowerCase())?o(t,e,!I):void 0;return void 0!==i?i:x.attributes||!I?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,o=[],i=0,n=0;if(R=!x.detectDuplicates,A=!x.sortStable&&t.slice(0),t.sort(z),R){for(;e=t[n++];)e===t[n]&&(i=o.push(n));for(;i--;)t.splice(o[i],1)}return A=null,t},T=e.getText=function(t){var e,o="",i=0,n=t.nodeType;if(n){if(1===n||9===n||11===n){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)o+=T(t)}else if(3===n||4===n)return t.nodeValue}else for(;e=t[i++];)o+=T(e);return o},S=e.selectors={cacheLength:50,createPseudo:i,match:yt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(xt,St),t[3]=(t[3]||t[4]||t[5]||"").replace(xt,St),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,o=!t[6]&&t[2];return yt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":o&&ct.test(o)&&(e=C(o,!0))&&(e=o.indexOf(")",o.length-e)-o.length)&&(t[0]=t[0].slice(0,e),t[2]=o.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(xt,St).toLowerCase();return"*"===t?function(){ +return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=$[t+" "];return e||(e=new RegExp("(^|"+ot+")"+t+"("+ot+"|$)"))&&$(t,function(t){return e.test("string"==typeof t.className&&t.className||"undefined"!=typeof t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,o,i){return function(n){var r=e.attr(n,t);return null==r?"!="===o:!o||(r+="","="===o?r===i:"!="===o?r!==i:"^="===o?i&&0===r.indexOf(i):"*="===o?i&&r.indexOf(i)>-1:"$="===o?i&&r.slice(-i.length)===i:"~="===o?(" "+r.replace(at," ")+" ").indexOf(i)>-1:"|="===o&&(r===i||r.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,o,i,n){var r="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===n?function(t){return!!t.parentNode}:function(e,o,p){var l,h,u,c,f,y,d=r!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),m=!p&&!a;if(g){if(r){for(;d;){for(u=e;u=u[d];)if(a?u.nodeName.toLowerCase()===v:1===u.nodeType)return!1;y=d="only"===t&&!y&&"nextSibling"}return!0}if(y=[s?g.firstChild:g.lastChild],s&&m){for(h=g[U]||(g[U]={}),l=h[t]||[],f=l[0]===q&&l[1],c=l[0]===q&&l[2],u=f&&g.childNodes[f];u=++f&&u&&u[d]||(c=f=0)||y.pop();)if(1===u.nodeType&&++c&&u===e){h[t]=[q,f,c];break}}else if(m&&(l=(e[U]||(e[U]={}))[t])&&l[0]===q)c=l[1];else for(;(u=++f&&u&&u[d]||(c=f=0)||y.pop())&&((a?u.nodeName.toLowerCase()!==v:1!==u.nodeType)||!++c||(m&&((u[U]||(u[U]={}))[t]=[q,c]),u!==e)););return c-=n,c===i||c%i===0&&c/i>=0}}},PSEUDO:function(t,o){var n,r=S.pseudos[t]||S.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return r[U]?r(o):r.length>1?(n=[t,t,"",o],S.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,n=r(t,o),s=n.length;s--;)i=tt(t,n[s]),t[i]=!(e[i]=n[s])}):function(t){return r(t,0,n)}):r}},pseudos:{not:i(function(t){var e=[],o=[],n=E(t.replace(pt,"$1"));return n[U]?i(function(t,e,o,i){for(var r,s=n(t,null,i,[]),a=t.length;a--;)(r=s[a])&&(t[a]=!(e[a]=r))}):function(t,i,r){return e[0]=t,n(e,null,r,o),e[0]=null,!o.pop()}}),has:i(function(t){return function(o){return e(t,o).length>0}}),contains:i(function(t){return t=t.replace(xt,St),function(e){return(e.textContent||e.innerText||T(e)).indexOf(t)>-1}}),lang:i(function(t){return ft.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(xt,St).toLowerCase(),function(e){var o;do if(o=I?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return o=o.toLowerCase(),o===t||0===o.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var o=t.location&&t.location.hash;return o&&o.slice(1)===e.id},root:function(t){return t===j},focus:function(t){return t===N.activeElement&&(!N.hasFocus||N.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!S.pseudos.empty(t)},header:function(t){return gt.test(t.nodeName)},input:function(t){return dt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,o){return[0>o?o+e:o]}),even:l(function(t,e){for(var o=0;e>o;o+=2)t.push(o);return t}),odd:l(function(t,e){for(var o=1;e>o;o+=2)t.push(o);return t}),lt:l(function(t,e,o){for(var i=0>o?o+e:o;--i>=0;)t.push(i);return t}),gt:l(function(t,e,o){for(var i=0>o?o+e:o;++i<e;)t.push(i);return t})}},S.pseudos.nth=S.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})S.pseudos[w]=a(w);for(w in{submit:!0,reset:!0})S.pseudos[w]=p(w);return u.prototype=S.filters=S.pseudos,S.setFilters=new u,C=e.tokenize=function(t,o){var i,n,r,s,a,p,l,h=X[t+" "];if(h)return o?0:h.slice(0);for(a=t,p=[],l=S.preFilter;a;){(!i||(n=lt.exec(a)))&&(n&&(a=a.slice(n[0].length)||a),p.push(r=[])),i=!1,(n=ht.exec(a))&&(i=n.shift(),r.push({value:i,type:n[0].replace(pt," ")}),a=a.slice(i.length));for(s in S.filter)!(n=yt[s].exec(a))||l[s]&&!(n=l[s](n))||(i=n.shift(),r.push({value:i,type:s,matches:n}),a=a.slice(i.length));if(!i)break}return o?a.length:a?e.error(t):X(t,p).slice(0)},E=e.compile=function(t,e){var o,i=[],n=[],r=W[t+" "];if(!r){for(e||(e=C(t)),o=e.length;o--;)r=m(e[o]),r[U]?i.push(r):n.push(r);r=W(t,b(n,i)),r.selector=t}return r},P=e.select=function(t,e,o,i){var n,r,s,a,p,l="function"==typeof t&&t,u=!i&&C(t=l.selector||t);if(o=o||[],1===u.length){if(r=u[0]=u[0].slice(0),r.length>2&&"ID"===(s=r[0]).type&&x.getById&&9===e.nodeType&&I&&S.relative[r[1].type]){if(e=(S.find.ID(s.matches[0].replace(xt,St),e)||[])[0],!e)return o;l&&(e=e.parentNode),t=t.slice(r.shift().value.length)}for(n=yt.needsContext.test(t)?0:r.length;n--&&(s=r[n],!S.relative[a=s.type]);)if((p=S.find[a])&&(i=p(s.matches[0].replace(xt,St),bt.test(r[0].type)&&h(e.parentNode)||e))){if(r.splice(n,1),t=i.length&&c(r),!t)return J.apply(o,i),o;break}}return(l||E(t,u))(i,e,!I,o,bt.test(t)&&h(e.parentNode)||e),o},x.sortStable=U.split("").sort(z).join("")===U,x.detectDuplicates=!!R,L(),x.sortDetached=n(function(t){return 1&t.compareDocumentPosition(N.createElement("div"))}),n(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||r("type|href|height|width",function(t,e,o){return o?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),x.attributes&&n(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||r("value",function(t,e,o){return o||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),n(function(t){return null==t.getAttribute("disabled")})||r(et,function(t,e,o){var i;return o?void 0:t[e]===!0?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);nt.find=lt,nt.expr=lt.selectors,nt.expr[":"]=nt.expr.pseudos,nt.unique=lt.uniqueSort,nt.text=lt.getText,nt.isXMLDoc=lt.isXML,nt.contains=lt.contains;var ht=nt.expr.match.needsContext,ut=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ct=/^.[^:#\[\.,]*$/;nt.filter=function(t,e,o){var i=e[0];return o&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?nt.find.matchesSelector(i,t)?[i]:[]:nt.find.matches(t,nt.grep(e,function(t){return 1===t.nodeType}))},nt.fn.extend({find:function(t){var e,o=[],i=this,n=i.length;if("string"!=typeof t)return this.pushStack(nt(t).filter(function(){for(e=0;n>e;e++)if(nt.contains(i[e],this))return!0}));for(e=0;n>e;e++)nt.find(t,i[e],o);return o=this.pushStack(n>1?nt.unique(o):o),o.selector=this.selector?this.selector+" "+t:t,o},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ht.test(t)?nt(t):t||[],!1).length}});var ft,yt=t.document,dt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,gt=nt.fn.init=function(t,e){var o,i;if(!t)return this;if("string"==typeof t){if(o="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:dt.exec(t),!o||!o[1]&&e)return!e||e.jquery?(e||ft).find(t):this.constructor(e).find(t);if(o[1]){if(e=e instanceof nt?e[0]:e,nt.merge(this,nt.parseHTML(o[1],e&&e.nodeType?e.ownerDocument||e:yt,!0)),ut.test(o[1])&&nt.isPlainObject(e))for(o in e)nt.isFunction(this[o])?this[o](e[o]):this.attr(o,e[o]);return this}if(i=yt.getElementById(o[2]),i&&i.parentNode){if(i.id!==o[2])return ft.find(t);this.length=1,this[0]=i}return this.context=yt,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):nt.isFunction(t)?"undefined"!=typeof ft.ready?ft.ready(t):t(nt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),nt.makeArray(t,this))};gt.prototype=nt.fn,ft=nt(yt);var vt=/^(?:parents|prev(?:Until|All))/,mt={children:!0,contents:!0,next:!0,prev:!0};nt.extend({dir:function(t,e,o){for(var i=[],n=t[e];n&&9!==n.nodeType&&(void 0===o||1!==n.nodeType||!nt(n).is(o));)1===n.nodeType&&i.push(n),n=n[e];return i},sibling:function(t,e){for(var o=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&o.push(t);return o}}),nt.fn.extend({has:function(t){var e,o=nt(t,this),i=o.length;return this.filter(function(){for(e=0;i>e;e++)if(nt.contains(this,o[e]))return!0})},closest:function(t,e){for(var o,i=0,n=this.length,r=[],s=ht.test(t)||"string"!=typeof t?nt(t,e||this.context):0;n>i;i++)for(o=this[i];o&&o!==e;o=o.parentNode)if(o.nodeType<11&&(s?s.index(o)>-1:1===o.nodeType&&nt.find.matchesSelector(o,t))){r.push(o);break}return this.pushStack(r.length>1?nt.unique(r):r)},index:function(t){return t?"string"==typeof t?nt.inArray(this[0],nt(t)):nt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(nt.unique(nt.merge(this.get(),nt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),nt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return nt.dir(t,"parentNode")},parentsUntil:function(t,e,o){return nt.dir(t,"parentNode",o)},next:function(t){return n(t,"nextSibling")},prev:function(t){return n(t,"previousSibling")},nextAll:function(t){return nt.dir(t,"nextSibling")},prevAll:function(t){return nt.dir(t,"previousSibling")},nextUntil:function(t,e,o){return nt.dir(t,"nextSibling",o)},prevUntil:function(t,e,o){return nt.dir(t,"previousSibling",o)},siblings:function(t){return nt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return nt.sibling(t.firstChild)},contents:function(t){return nt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:nt.merge([],t.childNodes)}},function(t,e){nt.fn[t]=function(o,i){var n=nt.map(this,e,o);return"Until"!==t.slice(-5)&&(i=o),i&&"string"==typeof i&&(n=nt.filter(i,n)),this.length>1&&(mt[t]||(n=nt.unique(n)),vt.test(t)&&(n=n.reverse())),this.pushStack(n)}});var bt=/\S+/g,wt={};nt.Callbacks=function(t){t="string"==typeof t?wt[t]||r(t):nt.extend({},t);var e,o,i,n,s,a,p=[],l=!t.once&&[],h=function(r){for(o=t.memory&&r,i=!0,s=a||0,a=0,n=p.length,e=!0;p&&n>s;s++)if(p[s].apply(r[0],r[1])===!1&&t.stopOnFalse){o=!1;break}e=!1,p&&(l?l.length&&h(l.shift()):o?p=[]:u.disable())},u={add:function(){if(p){var i=p.length;!function r(e){nt.each(e,function(e,o){var i=nt.type(o);"function"===i?t.unique&&u.has(o)||p.push(o):o&&o.length&&"string"!==i&&r(o)})}(arguments),e?n=p.length:o&&(a=i,h(o))}return this},remove:function(){return p&&nt.each(arguments,function(t,o){for(var i;(i=nt.inArray(o,p,i))>-1;)p.splice(i,1),e&&(n>=i&&n--,s>=i&&s--)}),this},has:function(t){return t?nt.inArray(t,p)>-1:!(!p||!p.length)},empty:function(){return p=[],n=0,this},disable:function(){return p=l=o=void 0,this},disabled:function(){return!p},lock:function(){return l=void 0,o||u.disable(),this},locked:function(){return!l},fireWith:function(t,o){return!p||i&&!l||(o=o||[],o=[t,o.slice?o.slice():o],e?l.push(o):h(o)),this},fire:function(){return u.fireWith(this,arguments),this},fired:function(){return!!i}};return u},nt.extend({Deferred:function(t){var e=[["resolve","done",nt.Callbacks("once memory"),"resolved"],["reject","fail",nt.Callbacks("once memory"),"rejected"],["notify","progress",nt.Callbacks("memory")]],o="pending",i={state:function(){return o},always:function(){return n.done(arguments).fail(arguments),this},then:function(){var t=arguments;return nt.Deferred(function(o){nt.each(e,function(e,r){var s=nt.isFunction(t[e])&&t[e];n[r[1]](function(){var t=s&&s.apply(this,arguments);t&&nt.isFunction(t.promise)?t.promise().done(o.resolve).fail(o.reject).progress(o.notify):o[r[0]+"With"](this===i?o.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?nt.extend(t,i):i}},n={};return i.pipe=i.then,nt.each(e,function(t,r){var s=r[2],a=r[3];i[r[1]]=s.add,a&&s.add(function(){o=a},e[1^t][2].disable,e[2][2].lock),n[r[0]]=function(){return n[r[0]+"With"](this===n?i:this,arguments),this},n[r[0]+"With"]=s.fireWith}),i.promise(n),t&&t.call(n,n),n},when:function(t){var e,o,i,n=0,r=Y.call(arguments),s=r.length,a=1!==s||t&&nt.isFunction(t.promise)?s:0,p=1===a?t:nt.Deferred(),l=function(t,o,i){return function(n){o[t]=this,i[t]=arguments.length>1?Y.call(arguments):n,i===e?p.notifyWith(o,i):--a||p.resolveWith(o,i)}};if(s>1)for(e=new Array(s),o=new Array(s),i=new Array(s);s>n;n++)r[n]&&nt.isFunction(r[n].promise)?r[n].promise().done(l(n,i,r)).fail(p.reject).progress(l(n,o,e)):--a;return a||p.resolveWith(i,r),p.promise()}});var xt;nt.fn.ready=function(t){return nt.ready.promise().done(t),this},nt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?nt.readyWait++:nt.ready(!0)},ready:function(t){if(t===!0?!--nt.readyWait:!nt.isReady){if(!yt.body)return setTimeout(nt.ready);nt.isReady=!0,t!==!0&&--nt.readyWait>0||(xt.resolveWith(yt,[nt]),nt.fn.triggerHandler&&(nt(yt).triggerHandler("ready"),nt(yt).off("ready")))}}}),nt.ready.promise=function(e){if(!xt)if(xt=nt.Deferred(),"complete"===yt.readyState)setTimeout(nt.ready);else if(yt.addEventListener)yt.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1);else{yt.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var o=!1;try{o=null==t.frameElement&&yt.documentElement}catch(i){}o&&o.doScroll&&!function n(){if(!nt.isReady){try{o.doScroll("left")}catch(t){return setTimeout(n,50)}s(),nt.ready()}}()}return xt.promise(e)};var St,Tt="undefined";for(St in nt(ot))break;ot.ownLast="0"!==St,ot.inlineBlockNeedsLayout=!1,nt(function(){var t,e,o,i;o=yt.getElementsByTagName("body")[0],o&&o.style&&(e=yt.createElement("div"),i=yt.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",o.appendChild(i).appendChild(e),typeof e.style.zoom!==Tt&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",ot.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(o.style.zoom=1)),o.removeChild(i))}),function(){var t=yt.createElement("div");if(null==ot.deleteExpando){ot.deleteExpando=!0;try{delete t.test}catch(e){ot.deleteExpando=!1}}t=null}(),nt.acceptData=function(t){var e=nt.noData[(t.nodeName+" ").toLowerCase()],o=+t.nodeType||1;return(1===o||9===o)&&(!e||e!==!0&&t.getAttribute("classid")===e)};var Mt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Ct=/([A-Z])/g;nt.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return t=t.nodeType?nt.cache[t[nt.expando]]:t[nt.expando],!!t&&!l(t)},data:function(t,e,o){return h(t,e,o)},removeData:function(t,e){return u(t,e)},_data:function(t,e,o){return h(t,e,o,!0)},_removeData:function(t,e){return u(t,e,!0)}}),nt.fn.extend({data:function(t,e){var o,i,n,r=this[0],s=r&&r.attributes;if(void 0===t){if(this.length&&(n=nt.data(r),1===r.nodeType&&!nt._data(r,"parsedAttrs"))){for(o=s.length;o--;)s[o]&&(i=s[o].name,0===i.indexOf("data-")&&(i=nt.camelCase(i.slice(5)),p(r,i,n[i])));nt._data(r,"parsedAttrs",!0)}return n}return"object"==typeof t?this.each(function(){nt.data(this,t)}):arguments.length>1?this.each(function(){nt.data(this,t,e)}):r?p(r,t,nt.data(r,t)):void 0},removeData:function(t){return this.each(function(){nt.removeData(this,t)})}}),nt.extend({queue:function(t,e,o){var i;return t?(e=(e||"fx")+"queue",i=nt._data(t,e),o&&(!i||nt.isArray(o)?i=nt._data(t,e,nt.makeArray(o)):i.push(o)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var o=nt.queue(t,e),i=o.length,n=o.shift(),r=nt._queueHooks(t,e),s=function(){nt.dequeue(t,e)};"inprogress"===n&&(n=o.shift(),i--),n&&("fx"===e&&o.unshift("inprogress"),delete r.stop,n.call(t,s,r)),!i&&r&&r.empty.fire()},_queueHooks:function(t,e){var o=e+"queueHooks";return nt._data(t,o)||nt._data(t,o,{empty:nt.Callbacks("once memory").add(function(){nt._removeData(t,e+"queue"),nt._removeData(t,o)})})}}),nt.fn.extend({queue:function(t,e){var o=2;return"string"!=typeof t&&(e=t,t="fx",o--),arguments.length<o?nt.queue(this[0],t):void 0===e?this:this.each(function(){var o=nt.queue(this,t,e);nt._queueHooks(this,t),"fx"===t&&"inprogress"!==o[0]&&nt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){nt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var o,i=1,n=nt.Deferred(),r=this,s=this.length,a=function(){--i||n.resolveWith(r,[r])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)o=nt._data(r[s],t+"queueHooks"),o&&o.empty&&(i++,o.empty.add(a));return a(),n.promise(e)}});var Et=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Pt=["Top","Right","Bottom","Left"],kt=function(t,e){return t=e||t,"none"===nt.css(t,"display")||!nt.contains(t.ownerDocument,t)},At=nt.access=function(t,e,o,i,n,r,s){var a=0,p=t.length,l=null==o;if("object"===nt.type(o)){n=!0;for(a in o)nt.access(t,e,a,o[a],!0,r,s)}else if(void 0!==i&&(n=!0,nt.isFunction(i)||(s=!0),l&&(s?(e.call(t,i),e=null):(l=e,e=function(t,e,o){return l.call(nt(t),o)})),e))for(;p>a;a++)e(t[a],o,s?i:i.call(t[a],a,e(t[a],o)));return n?t:l?e.call(t):p?e(t[0],o):r},Rt=/^(?:checkbox|radio)$/i;!function(){var t=yt.createElement("input"),e=yt.createElement("div"),o=yt.createDocumentFragment();if(e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",ot.leadingWhitespace=3===e.firstChild.nodeType,ot.tbody=!e.getElementsByTagName("tbody").length,ot.htmlSerialize=!!e.getElementsByTagName("link").length,ot.html5Clone="<:nav></:nav>"!==yt.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,o.appendChild(t),ot.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",ot.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,o.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",ot.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,ot.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){ot.noCloneEvent=!1}),e.cloneNode(!0).click()),null==ot.deleteExpando){ot.deleteExpando=!0;try{delete e.test}catch(i){ot.deleteExpando=!1}}}(),function(){var e,o,i=yt.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})o="on"+e,(ot[e+"Bubbles"]=o in t)||(i.setAttribute(o,"t"),ot[e+"Bubbles"]=i.attributes[o].expando===!1);i=null}();var Lt=/^(?:input|select|textarea)$/i,Nt=/^key/,jt=/^(?:mouse|pointer|contextmenu)|click/,It=/^(?:focusinfocus|focusoutblur)$/,Dt=/^([^.]*)(?:\.(.+)|)$/;nt.event={global:{},add:function(t,e,o,i,n){var r,s,a,p,l,h,u,c,f,y,d,g=nt._data(t);if(g){for(o.handler&&(p=o,o=p.handler,n=p.selector),o.guid||(o.guid=nt.guid++),(s=g.events)||(s=g.events={}),(h=g.handle)||(h=g.handle=function(t){return typeof nt===Tt||t&&nt.event.triggered===t.type?void 0:nt.event.dispatch.apply(h.elem,arguments)},h.elem=t),e=(e||"").match(bt)||[""],a=e.length;a--;)r=Dt.exec(e[a])||[],f=d=r[1],y=(r[2]||"").split(".").sort(),f&&(l=nt.event.special[f]||{},f=(n?l.delegateType:l.bindType)||f,l=nt.event.special[f]||{},u=nt.extend({type:f,origType:d,data:i,handler:o,guid:o.guid,selector:n,needsContext:n&&nt.expr.match.needsContext.test(n),namespace:y.join(".")},p),(c=s[f])||(c=s[f]=[],c.delegateCount=0,l.setup&&l.setup.call(t,i,y,h)!==!1||(t.addEventListener?t.addEventListener(f,h,!1):t.attachEvent&&t.attachEvent("on"+f,h))),l.add&&(l.add.call(t,u),u.handler.guid||(u.handler.guid=o.guid)),n?c.splice(c.delegateCount++,0,u):c.push(u),nt.event.global[f]=!0);t=null}},remove:function(t,e,o,i,n){var r,s,a,p,l,h,u,c,f,y,d,g=nt.hasData(t)&&nt._data(t);if(g&&(h=g.events)){for(e=(e||"").match(bt)||[""],l=e.length;l--;)if(a=Dt.exec(e[l])||[],f=d=a[1],y=(a[2]||"").split(".").sort(),f){for(u=nt.event.special[f]||{},f=(i?u.delegateType:u.bindType)||f,c=h[f]||[],a=a[2]&&new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"),p=r=c.length;r--;)s=c[r],!n&&d!==s.origType||o&&o.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(c.splice(r,1),s.selector&&c.delegateCount--,u.remove&&u.remove.call(t,s));p&&!c.length&&(u.teardown&&u.teardown.call(t,y,g.handle)!==!1||nt.removeEvent(t,f,g.handle),delete h[f])}else for(f in h)nt.event.remove(t,f+e[l],o,i,!0);nt.isEmptyObject(h)&&(delete g.handle,nt._removeData(t,"events"))}},trigger:function(e,o,i,n){var r,s,a,p,l,h,u,c=[i||yt],f=et.call(e,"type")?e.type:e,y=et.call(e,"namespace")?e.namespace.split("."):[];if(a=h=i=i||yt,3!==i.nodeType&&8!==i.nodeType&&!It.test(f+nt.event.triggered)&&(f.indexOf(".")>=0&&(y=f.split("."),f=y.shift(),y.sort()),s=f.indexOf(":")<0&&"on"+f,e=e[nt.expando]?e:new nt.Event(f,"object"==typeof e&&e),e.isTrigger=n?2:3,e.namespace=y.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),o=null==o?[e]:nt.makeArray(o,[e]),l=nt.event.special[f]||{},n||!l.trigger||l.trigger.apply(i,o)!==!1)){if(!n&&!l.noBubble&&!nt.isWindow(i)){for(p=l.delegateType||f,It.test(p+f)||(a=a.parentNode);a;a=a.parentNode)c.push(a),h=a;h===(i.ownerDocument||yt)&&c.push(h.defaultView||h.parentWindow||t)}for(u=0;(a=c[u++])&&!e.isPropagationStopped();)e.type=u>1?p:l.bindType||f,r=(nt._data(a,"events")||{})[e.type]&&nt._data(a,"handle"),r&&r.apply(a,o),r=s&&a[s],r&&r.apply&&nt.acceptData(a)&&(e.result=r.apply(a,o),e.result===!1&&e.preventDefault());if(e.type=f,!n&&!e.isDefaultPrevented()&&(!l._default||l._default.apply(c.pop(),o)===!1)&&nt.acceptData(i)&&s&&i[f]&&!nt.isWindow(i)){h=i[s],h&&(i[s]=null),nt.event.triggered=f;try{i[f]()}catch(d){}nt.event.triggered=void 0,h&&(i[s]=h)}return e.result}},dispatch:function(t){t=nt.event.fix(t);var e,o,i,n,r,s=[],a=Y.call(arguments),p=(nt._data(this,"events")||{})[t.type]||[],l=nt.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,t)!==!1){for(s=nt.event.handlers.call(this,t,p),e=0;(n=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=n.elem,r=0;(i=n.handlers[r++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(i.namespace))&&(t.handleObj=i,t.data=i.data,o=((nt.event.special[i.origType]||{}).handle||i.handler).apply(n.elem,a),void 0!==o&&(t.result=o)===!1&&(t.preventDefault(),t.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,t),t.result}},handlers:function(t,e){var o,i,n,r,s=[],a=e.delegateCount,p=t.target;if(a&&p.nodeType&&(!t.button||"click"!==t.type))for(;p!=this;p=p.parentNode||this)if(1===p.nodeType&&(p.disabled!==!0||"click"!==t.type)){for(n=[],r=0;a>r;r++)i=e[r],o=i.selector+" ",void 0===n[o]&&(n[o]=i.needsContext?nt(o,this).index(p)>=0:nt.find(o,this,null,[p]).length),n[o]&&n.push(i);n.length&&s.push({elem:p,handlers:n})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[nt.expando])return t;var e,o,i,n=t.type,r=t,s=this.fixHooks[n];for(s||(this.fixHooks[n]=s=jt.test(n)?this.mouseHooks:Nt.test(n)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new nt.Event(r),e=i.length;e--;)o=i[e],t[o]=r[o];return t.target||(t.target=r.srcElement||yt),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,s.filter?s.filter(t,r):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var o,i,n,r=e.button,s=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||yt,n=i.documentElement,o=i.body,t.pageX=e.clientX+(n&&n.scrollLeft||o&&o.scrollLeft||0)-(n&&n.clientLeft||o&&o.clientLeft||0),t.pageY=e.clientY+(n&&n.scrollTop||o&&o.scrollTop||0)-(n&&n.clientTop||o&&o.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toElement:s),t.which||void 0===r||(t.which=1&r?1:2&r?3:4&r?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==y()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===y()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return nt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return nt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,o,i){var n=nt.extend(new nt.Event,o,{type:t,isSimulated:!0,originalEvent:{}});i?nt.event.trigger(n,null,e):nt.event.dispatch.call(e,n),n.isDefaultPrevented()&&o.preventDefault()}},nt.removeEvent=yt.removeEventListener?function(t,e,o){t.removeEventListener&&t.removeEventListener(e,o,!1)}:function(t,e,o){var i="on"+e;t.detachEvent&&(typeof t[i]===Tt&&(t[i]=null),t.detachEvent(i,o))},nt.Event=function(t,e){return this instanceof nt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&t.returnValue===!1?c:f):this.type=t,e&&nt.extend(this,e),this.timeStamp=t&&t.timeStamp||nt.now(),void(this[nt.expando]=!0)):new nt.Event(t,e)},nt.Event.prototype={isDefaultPrevented:f,isPropagationStopped:f,isImmediatePropagationStopped:f,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=c,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=c,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=c,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},nt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){nt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var o,i=this,n=t.relatedTarget,r=t.handleObj;return(!n||n!==i&&!nt.contains(i,n))&&(t.type=r.origType,o=r.handler.apply(this,arguments),t.type=e),o}}}),ot.submitBubbles||(nt.event.special.submit={setup:function(){return!nt.nodeName(this,"form")&&void nt.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,o=nt.nodeName(e,"input")||nt.nodeName(e,"button")?e.form:void 0;o&&!nt._data(o,"submitBubbles")&&(nt.event.add(o,"submit._submit",function(t){t._submit_bubble=!0}),nt._data(o,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&nt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!nt.nodeName(this,"form")&&void nt.event.remove(this,"._submit")}}),ot.changeBubbles||(nt.event.special.change={setup:function(){return Lt.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(nt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),nt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),nt.event.simulate("change",this,t,!0)})),!1):void nt.event.add(this,"beforeactivate._change",function(t){var e=t.target;Lt.test(e.nodeName)&&!nt._data(e,"changeBubbles")&&(nt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||nt.event.simulate("change",this.parentNode,t,!0)}),nt._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return nt.event.remove(this,"._change"),!Lt.test(this.nodeName)}}),ot.focusinBubbles||nt.each({focus:"focusin",blur:"focusout"},function(t,e){var o=function(t){nt.event.simulate(e,t.target,nt.event.fix(t),!0)};nt.event.special[e]={setup:function(){var i=this.ownerDocument||this,n=nt._data(i,e);n||i.addEventListener(t,o,!0),nt._data(i,e,(n||0)+1)},teardown:function(){var i=this.ownerDocument||this,n=nt._data(i,e)-1;n?nt._data(i,e,n):(i.removeEventListener(t,o,!0),nt._removeData(i,e))}}}),nt.fn.extend({on:function(t,e,o,i,n){var r,s;if("object"==typeof t){"string"!=typeof e&&(o=o||e,e=void 0);for(r in t)this.on(r,e,o,t[r],n);return this}if(null==o&&null==i?(i=e,o=e=void 0):null==i&&("string"==typeof e?(i=o,o=void 0):(i=o,o=e,e=void 0)),i===!1)i=f;else if(!i)return this;return 1===n&&(s=i,i=function(t){return nt().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=nt.guid++)),this.each(function(){nt.event.add(this,t,i,o,e)})},one:function(t,e,o,i){return this.on(t,e,o,i,1)},off:function(t,e,o){var i,n;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,nt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(n in t)this.off(n,e,t[n]);return this}return(e===!1||"function"==typeof e)&&(o=e,e=void 0),o===!1&&(o=f),this.each(function(){nt.event.remove(this,t,o,e)})},trigger:function(t,e){return this.each(function(){nt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var o=this[0];return o?nt.event.trigger(t,e,o,!0):void 0}});var Ft="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ot=/ jQuery\d+="(?:null|\d+)"/g,Bt=new RegExp("<(?:"+Ft+")[\\s/>]","i"),Ut=/^\s+/,Gt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,qt=/<([\w:]+)/,Ht=/<tbody/i,$t=/<|&#?\w+;/,Xt=/<(?:script|style|link)/i,Wt=/checked\s*(?:[^=]|=\s*.checked.)/i,zt=/^$|\/(?:java|ecma)script/i,Kt=/^true\/(.*)/,Vt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Yt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:ot.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Zt=d(yt),_t=Zt.appendChild(yt.createElement("div"));Yt.optgroup=Yt.option,Yt.tbody=Yt.tfoot=Yt.colgroup=Yt.caption=Yt.thead,Yt.th=Yt.td,nt.extend({clone:function(t,e,o){var i,n,r,s,a,p=nt.contains(t.ownerDocument,t);if(ot.html5Clone||nt.isXMLDoc(t)||!Bt.test("<"+t.nodeName+">")?r=t.cloneNode(!0):(_t.innerHTML=t.outerHTML,_t.removeChild(r=_t.firstChild)),!(ot.noCloneEvent&&ot.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||nt.isXMLDoc(t)))for(i=g(r),a=g(t),s=0;null!=(n=a[s]);++s)i[s]&&T(n,i[s]);if(e)if(o)for(a=a||g(t),i=i||g(r),s=0;null!=(n=a[s]);s++)S(n,i[s]);else S(t,r);return i=g(r,"script"),i.length>0&&x(i,!p&&g(t,"script")),i=a=n=null,r},buildFragment:function(t,e,o,i){for(var n,r,s,a,p,l,h,u=t.length,c=d(e),f=[],y=0;u>y;y++)if(r=t[y],r||0===r)if("object"===nt.type(r))nt.merge(f,r.nodeType?[r]:r);else if($t.test(r)){for(a=a||c.appendChild(e.createElement("div")),p=(qt.exec(r)||["",""])[1].toLowerCase(),h=Yt[p]||Yt._default,a.innerHTML=h[1]+r.replace(Gt,"<$1></$2>")+h[2],n=h[0];n--;)a=a.lastChild;if(!ot.leadingWhitespace&&Ut.test(r)&&f.push(e.createTextNode(Ut.exec(r)[0])),!ot.tbody)for(r="table"!==p||Ht.test(r)?"<table>"!==h[1]||Ht.test(r)?0:a:a.firstChild,n=r&&r.childNodes.length;n--;)nt.nodeName(l=r.childNodes[n],"tbody")&&!l.childNodes.length&&r.removeChild(l);for(nt.merge(f,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=c.lastChild}else f.push(e.createTextNode(r));for(a&&c.removeChild(a),ot.appendChecked||nt.grep(g(f,"input"),v),y=0;r=f[y++];)if((!i||-1===nt.inArray(r,i))&&(s=nt.contains(r.ownerDocument,r),a=g(c.appendChild(r),"script"),s&&x(a),o))for(n=0;r=a[n++];)zt.test(r.type||"")&&o.push(r);return a=null,c},cleanData:function(t,e){for(var o,i,n,r,s=0,a=nt.expando,p=nt.cache,l=ot.deleteExpando,h=nt.event.special;null!=(o=t[s]);s++)if((e||nt.acceptData(o))&&(n=o[a], +r=n&&p[n])){if(r.events)for(i in r.events)h[i]?nt.event.remove(o,i):nt.removeEvent(o,i,r.handle);p[n]&&(delete p[n],l?delete o[a]:typeof o.removeAttribute!==Tt?o.removeAttribute(a):o[a]=null,V.push(n))}}}),nt.fn.extend({text:function(t){return At(this,function(t){return void 0===t?nt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||yt).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=m(this,t);e.appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=m(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var o,i=t?nt.filter(t,this):this,n=0;null!=(o=i[n]);n++)e||1!==o.nodeType||nt.cleanData(g(o)),o.parentNode&&(e&&nt.contains(o.ownerDocument,o)&&x(g(o,"script")),o.parentNode.removeChild(o));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&nt.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&nt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return nt.clone(this,t,e)})},html:function(t){return At(this,function(t){var e=this[0]||{},o=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Ot,""):void 0;if(!("string"!=typeof t||Xt.test(t)||!ot.htmlSerialize&&Bt.test(t)||!ot.leadingWhitespace&&Ut.test(t)||Yt[(qt.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(Gt,"<$1></$2>");try{for(;i>o;o++)e=this[o]||{},1===e.nodeType&&(nt.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(n){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,nt.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=Z.apply([],t);var o,i,n,r,s,a,p=0,l=this.length,h=this,u=l-1,c=t[0],f=nt.isFunction(c);if(f||l>1&&"string"==typeof c&&!ot.checkClone&&Wt.test(c))return this.each(function(o){var i=h.eq(o);f&&(t[0]=c.call(this,o,i.html())),i.domManip(t,e)});if(l&&(a=nt.buildFragment(t,this[0].ownerDocument,!1,this),o=a.firstChild,1===a.childNodes.length&&(a=o),o)){for(r=nt.map(g(a,"script"),b),n=r.length;l>p;p++)i=a,p!==u&&(i=nt.clone(i,!0,!0),n&&nt.merge(r,g(i,"script"))),e.call(this[p],i,p);if(n)for(s=r[r.length-1].ownerDocument,nt.map(r,w),p=0;n>p;p++)i=r[p],zt.test(i.type||"")&&!nt._data(i,"globalEval")&&nt.contains(s,i)&&(i.src?nt._evalUrl&&nt._evalUrl(i.src):nt.globalEval((i.text||i.textContent||i.innerHTML||"").replace(Vt,"")));a=o=null}return this}}),nt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){nt.fn[t]=function(t){for(var o,i=0,n=[],r=nt(t),s=r.length-1;s>=i;i++)o=i===s?this:this.clone(!0),nt(r[i])[e](o),_.apply(n,o.get());return this.pushStack(n)}});var Jt,Qt={};!function(){var t;ot.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,o,i;return o=yt.getElementsByTagName("body")[0],o&&o.style?(e=yt.createElement("div"),i=yt.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",o.appendChild(i).appendChild(e),typeof e.style.zoom!==Tt&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(yt.createElement("div")).style.width="5px",t=3!==e.offsetWidth),o.removeChild(i),t):void 0}}();var te,ee,oe=/^margin/,ie=new RegExp("^("+Et+")(?!px)[a-z%]+$","i"),ne=/^(top|right|bottom|left)$/;t.getComputedStyle?(te=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)},ee=function(t,e,o){var i,n,r,s,a=t.style;return o=o||te(t),s=o?o.getPropertyValue(e)||o[e]:void 0,o&&(""!==s||nt.contains(t.ownerDocument,t)||(s=nt.style(t,e)),ie.test(s)&&oe.test(e)&&(i=a.width,n=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=o.width,a.width=i,a.minWidth=n,a.maxWidth=r)),void 0===s?s:s+""}):yt.documentElement.currentStyle&&(te=function(t){return t.currentStyle},ee=function(t,e,o){var i,n,r,s,a=t.style;return o=o||te(t),s=o?o[e]:void 0,null==s&&a&&a[e]&&(s=a[e]),ie.test(s)&&!ne.test(e)&&(i=a.left,n=t.runtimeStyle,r=n&&n.left,r&&(n.left=t.currentStyle.left),a.left="fontSize"===e?"1em":s,s=a.pixelLeft+"px",a.left=i,r&&(n.left=r)),void 0===s?s:s+""||"auto"}),!function(){function e(){var e,o,i,n;o=yt.getElementsByTagName("body")[0],o&&o.style&&(e=yt.createElement("div"),i=yt.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",o.appendChild(i).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r=s=!1,p=!0,t.getComputedStyle&&(r="1%"!==(t.getComputedStyle(e,null)||{}).top,s="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,n=e.appendChild(yt.createElement("div")),n.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",e.style.width="1px",p=!parseFloat((t.getComputedStyle(n,null)||{}).marginRight),e.removeChild(n)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",n=e.getElementsByTagName("td"),n[0].style.cssText="margin:0;border:0;padding:0;display:none",a=0===n[0].offsetHeight,a&&(n[0].style.display="",n[1].style.display="none",a=0===n[0].offsetHeight),o.removeChild(i))}var o,i,n,r,s,a,p;o=yt.createElement("div"),o.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=o.getElementsByTagName("a")[0],(i=n&&n.style)&&(i.cssText="float:left;opacity:.5",ot.opacity="0.5"===i.opacity,ot.cssFloat=!!i.cssFloat,o.style.backgroundClip="content-box",o.cloneNode(!0).style.backgroundClip="",ot.clearCloneStyle="content-box"===o.style.backgroundClip,ot.boxSizing=""===i.boxSizing||""===i.MozBoxSizing||""===i.WebkitBoxSizing,nt.extend(ot,{reliableHiddenOffsets:function(){return null==a&&e(),a},boxSizingReliable:function(){return null==s&&e(),s},pixelPosition:function(){return null==r&&e(),r},reliableMarginRight:function(){return null==p&&e(),p}}))}(),nt.swap=function(t,e,o,i){var n,r,s={};for(r in e)s[r]=t.style[r],t.style[r]=e[r];n=o.apply(t,i||[]);for(r in e)t.style[r]=s[r];return n};var re=/alpha\([^)]*\)/i,se=/opacity\s*=\s*([^)]*)/,ae=/^(none|table(?!-c[ea]).+)/,pe=new RegExp("^("+Et+")(.*)$","i"),le=new RegExp("^([+-])=("+Et+")","i"),he={position:"absolute",visibility:"hidden",display:"block"},ue={letterSpacing:"0",fontWeight:"400"},ce=["Webkit","O","Moz","ms"];nt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var o=ee(t,"opacity");return""===o?"1":o}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":ot.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,o,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var n,r,s,a=nt.camelCase(e),p=t.style;if(e=nt.cssProps[a]||(nt.cssProps[a]=P(p,a)),s=nt.cssHooks[e]||nt.cssHooks[a],void 0===o)return s&&"get"in s&&void 0!==(n=s.get(t,!1,i))?n:p[e];if(r=typeof o,"string"===r&&(n=le.exec(o))&&(o=(n[1]+1)*n[2]+parseFloat(nt.css(t,e)),r="number"),null!=o&&o===o&&("number"!==r||nt.cssNumber[a]||(o+="px"),ot.clearCloneStyle||""!==o||0!==e.indexOf("background")||(p[e]="inherit"),!(s&&"set"in s&&void 0===(o=s.set(t,o,i)))))try{p[e]=o}catch(l){}}},css:function(t,e,o,i){var n,r,s,a=nt.camelCase(e);return e=nt.cssProps[a]||(nt.cssProps[a]=P(t.style,a)),s=nt.cssHooks[e]||nt.cssHooks[a],s&&"get"in s&&(r=s.get(t,!0,o)),void 0===r&&(r=ee(t,e,i)),"normal"===r&&e in ue&&(r=ue[e]),""===o||o?(n=parseFloat(r),o===!0||nt.isNumeric(n)?n||0:r):r}}),nt.each(["height","width"],function(t,e){nt.cssHooks[e]={get:function(t,o,i){return o?ae.test(nt.css(t,"display"))&&0===t.offsetWidth?nt.swap(t,he,function(){return L(t,e,i)}):L(t,e,i):void 0},set:function(t,o,i){var n=i&&te(t);return A(t,o,i?R(t,e,i,ot.boxSizing&&"border-box"===nt.css(t,"boxSizing",!1,n),n):0)}}}),ot.opacity||(nt.cssHooks.opacity={get:function(t,e){return se.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var o=t.style,i=t.currentStyle,n=nt.isNumeric(e)?"alpha(opacity="+100*e+")":"",r=i&&i.filter||o.filter||"";o.zoom=1,(e>=1||""===e)&&""===nt.trim(r.replace(re,""))&&o.removeAttribute&&(o.removeAttribute("filter"),""===e||i&&!i.filter)||(o.filter=re.test(r)?r.replace(re,n):r+" "+n)}}),nt.cssHooks.marginRight=E(ot.reliableMarginRight,function(t,e){return e?nt.swap(t,{display:"inline-block"},ee,[t,"marginRight"]):void 0}),nt.each({margin:"",padding:"",border:"Width"},function(t,e){nt.cssHooks[t+e]={expand:function(o){for(var i=0,n={},r="string"==typeof o?o.split(" "):[o];4>i;i++)n[t+Pt[i]+e]=r[i]||r[i-2]||r[0];return n}},oe.test(t)||(nt.cssHooks[t+e].set=A)}),nt.fn.extend({css:function(t,e){return At(this,function(t,e,o){var i,n,r={},s=0;if(nt.isArray(e)){for(i=te(t),n=e.length;n>s;s++)r[e[s]]=nt.css(t,e[s],!1,i);return r}return void 0!==o?nt.style(t,e,o):nt.css(t,e)},t,e,arguments.length>1)},show:function(){return k(this,!0)},hide:function(){return k(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){kt(this)?nt(this).show():nt(this).hide()})}}),nt.Tween=N,N.prototype={constructor:N,init:function(t,e,o,i,n,r){this.elem=t,this.prop=o,this.easing=n||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=r||(nt.cssNumber[o]?"":"px")},cur:function(){var t=N.propHooks[this.prop];return t&&t.get?t.get(this):N.propHooks._default.get(this)},run:function(t){var e,o=N.propHooks[this.prop];return this.pos=e=this.options.duration?nt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),o&&o.set?o.set(this):N.propHooks._default.set(this),this}},N.prototype.init.prototype=N.prototype,N.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=nt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){nt.fx.step[t.prop]?nt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[nt.cssProps[t.prop]]||nt.cssHooks[t.prop])?nt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},N.propHooks.scrollTop=N.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},nt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},nt.fx=N.prototype.init,nt.fx.step={};var fe,ye,de=/^(?:toggle|show|hide)$/,ge=new RegExp("^(?:([+-])=|)("+Et+")([a-z%]*)$","i"),ve=/queueHooks$/,me=[F],be={"*":[function(t,e){var o=this.createTween(t,e),i=o.cur(),n=ge.exec(e),r=n&&n[3]||(nt.cssNumber[t]?"":"px"),s=(nt.cssNumber[t]||"px"!==r&&+i)&&ge.exec(nt.css(o.elem,t)),a=1,p=20;if(s&&s[3]!==r){r=r||s[3],n=n||[],s=+i||1;do a=a||".5",s/=a,nt.style(o.elem,t,s+r);while(a!==(a=o.cur()/i)&&1!==a&&--p)}return n&&(s=o.start=+s||+i||0,o.unit=r,o.end=n[1]?s+(n[1]+1)*n[2]:+n[2]),o}]};nt.Animation=nt.extend(B,{tweener:function(t,e){nt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var o,i=0,n=t.length;n>i;i++)o=t[i],be[o]=be[o]||[],be[o].unshift(e)},prefilter:function(t,e){e?me.unshift(t):me.push(t)}}),nt.speed=function(t,e,o){var i=t&&"object"==typeof t?nt.extend({},t):{complete:o||!o&&e||nt.isFunction(t)&&t,duration:t,easing:o&&e||e&&!nt.isFunction(e)&&e};return i.duration=nt.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in nt.fx.speeds?nt.fx.speeds[i.duration]:nt.fx.speeds._default,(null==i.queue||i.queue===!0)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){nt.isFunction(i.old)&&i.old.call(this),i.queue&&nt.dequeue(this,i.queue)},i},nt.fn.extend({fadeTo:function(t,e,o,i){return this.filter(kt).css("opacity",0).show().end().animate({opacity:e},t,o,i)},animate:function(t,e,o,i){var n=nt.isEmptyObject(t),r=nt.speed(e,o,i),s=function(){var e=B(this,nt.extend({},t),r);(n||nt._data(this,"finish"))&&e.stop(!0)};return s.finish=s,n||r.queue===!1?this.each(s):this.queue(r.queue,s)},stop:function(t,e,o){var i=function(t){var e=t.stop;delete t.stop,e(o)};return"string"!=typeof t&&(o=e,e=t,t=void 0),e&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,n=null!=t&&t+"queueHooks",r=nt.timers,s=nt._data(this);if(n)s[n]&&s[n].stop&&i(s[n]);else for(n in s)s[n]&&s[n].stop&&ve.test(n)&&i(s[n]);for(n=r.length;n--;)r[n].elem!==this||null!=t&&r[n].queue!==t||(r[n].anim.stop(o),e=!1,r.splice(n,1));(e||!o)&&nt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,o=nt._data(this),i=o[t+"queue"],n=o[t+"queueHooks"],r=nt.timers,s=i?i.length:0;for(o.finish=!0,nt.queue(this,t,[]),n&&n.stop&&n.stop.call(this,!0),e=r.length;e--;)r[e].elem===this&&r[e].queue===t&&(r[e].anim.stop(!0),r.splice(e,1));for(e=0;s>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete o.finish})}}),nt.each(["toggle","show","hide"],function(t,e){var o=nt.fn[e];nt.fn[e]=function(t,i,n){return null==t||"boolean"==typeof t?o.apply(this,arguments):this.animate(I(e,!0),t,i,n)}}),nt.each({slideDown:I("show"),slideUp:I("hide"),slideToggle:I("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){nt.fn[t]=function(t,o,i){return this.animate(e,t,o,i)}}),nt.timers=[],nt.fx.tick=function(){var t,e=nt.timers,o=0;for(fe=nt.now();o<e.length;o++)t=e[o],t()||e[o]!==t||e.splice(o--,1);e.length||nt.fx.stop(),fe=void 0},nt.fx.timer=function(t){nt.timers.push(t),t()?nt.fx.start():nt.timers.pop()},nt.fx.interval=13,nt.fx.start=function(){ye||(ye=setInterval(nt.fx.tick,nt.fx.interval))},nt.fx.stop=function(){clearInterval(ye),ye=null},nt.fx.speeds={slow:600,fast:200,_default:400},nt.fn.delay=function(t,e){return t=nt.fx?nt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,o){var i=setTimeout(e,t);o.stop=function(){clearTimeout(i)}})},function(){var t,e,o,i,n;e=yt.createElement("div"),e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=e.getElementsByTagName("a")[0],o=yt.createElement("select"),n=o.appendChild(yt.createElement("option")),t=e.getElementsByTagName("input")[0],i.style.cssText="top:1px",ot.getSetAttribute="t"!==e.className,ot.style=/top/.test(i.getAttribute("style")),ot.hrefNormalized="/a"===i.getAttribute("href"),ot.checkOn=!!t.value,ot.optSelected=n.selected,ot.enctype=!!yt.createElement("form").enctype,o.disabled=!0,ot.optDisabled=!n.disabled,t=yt.createElement("input"),t.setAttribute("value",""),ot.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),ot.radioValue="t"===t.value}();var we=/\r/g;nt.fn.extend({val:function(t){var e,o,i,n=this[0];return arguments.length?(i=nt.isFunction(t),this.each(function(o){var n;1===this.nodeType&&(n=i?t.call(this,o,nt(this).val()):t,null==n?n="":"number"==typeof n?n+="":nt.isArray(n)&&(n=nt.map(n,function(t){return null==t?"":t+""})),e=nt.valHooks[this.type]||nt.valHooks[this.nodeName.toLowerCase()],e&&"set"in e&&void 0!==e.set(this,n,"value")||(this.value=n))})):n?(e=nt.valHooks[n.type]||nt.valHooks[n.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(o=e.get(n,"value"))?o:(o=n.value,"string"==typeof o?o.replace(we,""):null==o?"":o)):void 0}}),nt.extend({valHooks:{option:{get:function(t){var e=nt.find.attr(t,"value");return null!=e?e:nt.trim(nt.text(t))}},select:{get:function(t){for(var e,o,i=t.options,n=t.selectedIndex,r="select-one"===t.type||0>n,s=r?null:[],a=r?n+1:i.length,p=0>n?a:r?n:0;a>p;p++)if(o=i[p],!(!o.selected&&p!==n||(ot.optDisabled?o.disabled:null!==o.getAttribute("disabled"))||o.parentNode.disabled&&nt.nodeName(o.parentNode,"optgroup"))){if(e=nt(o).val(),r)return e;s.push(e)}return s},set:function(t,e){for(var o,i,n=t.options,r=nt.makeArray(e),s=n.length;s--;)if(i=n[s],nt.inArray(nt.valHooks.option.get(i),r)>=0)try{i.selected=o=!0}catch(a){i.scrollHeight}else i.selected=!1;return o||(t.selectedIndex=-1),n}}}}),nt.each(["radio","checkbox"],function(){nt.valHooks[this]={set:function(t,e){return nt.isArray(e)?t.checked=nt.inArray(nt(t).val(),e)>=0:void 0}},ot.checkOn||(nt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var xe,Se,Te=nt.expr.attrHandle,Me=/^(?:checked|selected)$/i,Ce=ot.getSetAttribute,Ee=ot.input;nt.fn.extend({attr:function(t,e){return At(this,nt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){nt.removeAttr(this,t)})}}),nt.extend({attr:function(t,e,o){var i,n,r=t.nodeType;if(t&&3!==r&&8!==r&&2!==r)return typeof t.getAttribute===Tt?nt.prop(t,e,o):(1===r&&nt.isXMLDoc(t)||(e=e.toLowerCase(),i=nt.attrHooks[e]||(nt.expr.match.bool.test(e)?Se:xe)),void 0===o?i&&"get"in i&&null!==(n=i.get(t,e))?n:(n=nt.find.attr(t,e),null==n?void 0:n):null!==o?i&&"set"in i&&void 0!==(n=i.set(t,o,e))?n:(t.setAttribute(e,o+""),o):void nt.removeAttr(t,e))},removeAttr:function(t,e){var o,i,n=0,r=e&&e.match(bt);if(r&&1===t.nodeType)for(;o=r[n++];)i=nt.propFix[o]||o,nt.expr.match.bool.test(o)?Ee&&Ce||!Me.test(o)?t[i]=!1:t[nt.camelCase("default-"+o)]=t[i]=!1:nt.attr(t,o,""),t.removeAttribute(Ce?o:i)},attrHooks:{type:{set:function(t,e){if(!ot.radioValue&&"radio"===e&&nt.nodeName(t,"input")){var o=t.value;return t.setAttribute("type",e),o&&(t.value=o),e}}}}}),Se={set:function(t,e,o){return e===!1?nt.removeAttr(t,o):Ee&&Ce||!Me.test(o)?t.setAttribute(!Ce&&nt.propFix[o]||o,o):t[nt.camelCase("default-"+o)]=t[o]=!0,o}},nt.each(nt.expr.match.bool.source.match(/\w+/g),function(t,e){var o=Te[e]||nt.find.attr;Te[e]=Ee&&Ce||!Me.test(e)?function(t,e,i){var n,r;return i||(r=Te[e],Te[e]=n,n=null!=o(t,e,i)?e.toLowerCase():null,Te[e]=r),n}:function(t,e,o){return o?void 0:t[nt.camelCase("default-"+e)]?e.toLowerCase():null}}),Ee&&Ce||(nt.attrHooks.value={set:function(t,e,o){return nt.nodeName(t,"input")?void(t.defaultValue=e):xe&&xe.set(t,e,o)}}),Ce||(xe={set:function(t,e,o){var i=t.getAttributeNode(o);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(o)),i.value=e+="","value"===o||e===t.getAttribute(o)?e:void 0}},Te.id=Te.name=Te.coords=function(t,e,o){var i;return o?void 0:(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},nt.valHooks.button={get:function(t,e){var o=t.getAttributeNode(e);return o&&o.specified?o.value:void 0},set:xe.set},nt.attrHooks.contenteditable={set:function(t,e,o){xe.set(t,""!==e&&e,o)}},nt.each(["width","height"],function(t,e){nt.attrHooks[e]={set:function(t,o){return""===o?(t.setAttribute(e,"auto"),o):void 0}}})),ot.style||(nt.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var Pe=/^(?:input|select|textarea|button|object)$/i,ke=/^(?:a|area)$/i;nt.fn.extend({prop:function(t,e){return At(this,nt.prop,t,e,arguments.length>1)},removeProp:function(t){return t=nt.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(e){}})}}),nt.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(t,e,o){var i,n,r,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return r=1!==s||!nt.isXMLDoc(t),r&&(e=nt.propFix[e]||e,n=nt.propHooks[e]),void 0!==o?n&&"set"in n&&void 0!==(i=n.set(t,o,e))?i:t[e]=o:n&&"get"in n&&null!==(i=n.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=nt.find.attr(t,"tabindex");return e?parseInt(e,10):Pe.test(t.nodeName)||ke.test(t.nodeName)&&t.href?0:-1}}}}),ot.hrefNormalized||nt.each(["href","src"],function(t,e){nt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),ot.optSelected||(nt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),nt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){nt.propFix[this.toLowerCase()]=this}),ot.enctype||(nt.propFix.enctype="encoding");var Ae=/[\t\r\n\f]/g;nt.fn.extend({addClass:function(t){var e,o,i,n,r,s,a=0,p=this.length,l="string"==typeof t&&t;if(nt.isFunction(t))return this.each(function(e){nt(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(bt)||[];p>a;a++)if(o=this[a],i=1===o.nodeType&&(o.className?(" "+o.className+" ").replace(Ae," "):" ")){for(r=0;n=e[r++];)i.indexOf(" "+n+" ")<0&&(i+=n+" ");s=nt.trim(i),o.className!==s&&(o.className=s)}return this},removeClass:function(t){var e,o,i,n,r,s,a=0,p=this.length,l=0===arguments.length||"string"==typeof t&&t;if(nt.isFunction(t))return this.each(function(e){nt(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(bt)||[];p>a;a++)if(o=this[a],i=1===o.nodeType&&(o.className?(" "+o.className+" ").replace(Ae," "):"")){for(r=0;n=e[r++];)for(;i.indexOf(" "+n+" ")>=0;)i=i.replace(" "+n+" "," ");s=t?nt.trim(i):"",o.className!==s&&(o.className=s)}return this},toggleClass:function(t,e){var o=typeof t;return"boolean"==typeof e&&"string"===o?e?this.addClass(t):this.removeClass(t):this.each(nt.isFunction(t)?function(o){nt(this).toggleClass(t.call(this,o,this.className,e),e)}:function(){if("string"===o)for(var e,i=0,n=nt(this),r=t.match(bt)||[];e=r[i++];)n.hasClass(e)?n.removeClass(e):n.addClass(e);else(o===Tt||"boolean"===o)&&(this.className&&nt._data(this,"__className__",this.className),this.className=this.className||t===!1?"":nt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",o=0,i=this.length;i>o;o++)if(1===this[o].nodeType&&(" "+this[o].className+" ").replace(Ae," ").indexOf(e)>=0)return!0;return!1}}),nt.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){nt.fn[e]=function(t,o){return arguments.length>0?this.on(e,null,t,o):this.trigger(e)}}),nt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,o){return this.on(t,null,e,o)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,o,i){return this.on(e,t,o,i)},undelegate:function(t,e,o){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",o)}});var Re=nt.now(),Le=/\?/,Ne=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;nt.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var o,i=null,n=nt.trim(e+"");return n&&!nt.trim(n.replace(Ne,function(t,e,n,r){return o&&e&&(i=0),0===i?t:(o=n||e,i+=!r-!n,"")}))?Function("return "+n)():nt.error("Invalid JSON: "+e)},nt.parseXML=function(e){var o,i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(i=new DOMParser,o=i.parseFromString(e,"text/xml")):(o=new ActiveXObject("Microsoft.XMLDOM"),o.async="false",o.loadXML(e))}catch(n){o=void 0}return o&&o.documentElement&&!o.getElementsByTagName("parsererror").length||nt.error("Invalid XML: "+e),o};var je,Ie,De=/#.*$/,Fe=/([?&])_=[^&]*/,Oe=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Be=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ue=/^(?:GET|HEAD)$/,Ge=/^\/\//,qe=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,He={},$e={},Xe="*/".concat("*");try{Ie=location.href}catch(We){Ie=yt.createElement("a"),Ie.href="",Ie=Ie.href}je=qe.exec(Ie.toLowerCase())||[],nt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ie,type:"GET",isLocal:Be.test(je[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":nt.parseJSON,"text xml":nt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?q(q(t,nt.ajaxSettings),e):q(nt.ajaxSettings,t)},ajaxPrefilter:U(He),ajaxTransport:U($e),ajax:function(t,e){function o(t,e,o,i){var n,h,v,m,w,S=e;2!==b&&(b=2,a&&clearTimeout(a),l=void 0,s=i||"",x.readyState=t>0?4:0,n=t>=200&&300>t||304===t,o&&(m=H(u,x,o)),m=$(u,m,x,n),n?(u.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(nt.lastModified[r]=w),w=x.getResponseHeader("etag"),w&&(nt.etag[r]=w)),204===t||"HEAD"===u.type?S="nocontent":304===t?S="notmodified":(S=m.state,h=m.data,v=m.error,n=!v)):(v=S,(t||!S)&&(S="error",0>t&&(t=0))),x.status=t,x.statusText=(e||S)+"",n?y.resolveWith(c,[h,S,x]):y.rejectWith(c,[x,S,v]),x.statusCode(g),g=void 0,p&&f.trigger(n?"ajaxSuccess":"ajaxError",[x,u,n?h:v]),d.fireWith(c,[x,S]),p&&(f.trigger("ajaxComplete",[x,u]),--nt.active||nt.event.trigger("ajaxStop")))}"object"==typeof t&&(e=t,t=void 0),e=e||{};var i,n,r,s,a,p,l,h,u=nt.ajaxSetup({},e),c=u.context||u,f=u.context&&(c.nodeType||c.jquery)?nt(c):nt.event,y=nt.Deferred(),d=nt.Callbacks("once memory"),g=u.statusCode||{},v={},m={},b=0,w="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!h)for(h={};e=Oe.exec(s);)h[e[1].toLowerCase()]=e[2];e=h[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(t,e){var o=t.toLowerCase();return b||(t=m[o]=m[o]||t,v[t]=e),this},overrideMimeType:function(t){return b||(u.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)g[e]=[g[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||w;return l&&l.abort(e),o(0,e),this}};if(y.promise(x).complete=d.add,x.success=x.done,x.error=x.fail,u.url=((t||u.url||Ie)+"").replace(De,"").replace(Ge,je[1]+"//"),u.type=e.method||e.type||u.method||u.type,u.dataTypes=nt.trim(u.dataType||"*").toLowerCase().match(bt)||[""],null==u.crossDomain&&(i=qe.exec(u.url.toLowerCase()),u.crossDomain=!(!i||i[1]===je[1]&&i[2]===je[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(je[3]||("http:"===je[1]?"80":"443")))),u.data&&u.processData&&"string"!=typeof u.data&&(u.data=nt.param(u.data,u.traditional)),G(He,u,e,x),2===b)return x;p=nt.event&&u.global,p&&0===nt.active++&&nt.event.trigger("ajaxStart"),u.type=u.type.toUpperCase(),u.hasContent=!Ue.test(u.type),r=u.url,u.hasContent||(u.data&&(r=u.url+=(Le.test(r)?"&":"?")+u.data,delete u.data),u.cache===!1&&(u.url=Fe.test(r)?r.replace(Fe,"$1_="+Re++):r+(Le.test(r)?"&":"?")+"_="+Re++)),u.ifModified&&(nt.lastModified[r]&&x.setRequestHeader("If-Modified-Since",nt.lastModified[r]),nt.etag[r]&&x.setRequestHeader("If-None-Match",nt.etag[r])),(u.data&&u.hasContent&&u.contentType!==!1||e.contentType)&&x.setRequestHeader("Content-Type",u.contentType),x.setRequestHeader("Accept",u.dataTypes[0]&&u.accepts[u.dataTypes[0]]?u.accepts[u.dataTypes[0]]+("*"!==u.dataTypes[0]?", "+Xe+"; q=0.01":""):u.accepts["*"]);for(n in u.headers)x.setRequestHeader(n,u.headers[n]);if(u.beforeSend&&(u.beforeSend.call(c,x,u)===!1||2===b))return x.abort();w="abort";for(n in{success:1,error:1,complete:1})x[n](u[n]);if(l=G($e,u,e,x)){x.readyState=1,p&&f.trigger("ajaxSend",[x,u]),u.async&&u.timeout>0&&(a=setTimeout(function(){x.abort("timeout")},u.timeout));try{b=1,l.send(v,o)}catch(S){if(!(2>b))throw S;o(-1,S)}}else o(-1,"No Transport");return x},getJSON:function(t,e,o){return nt.get(t,e,o,"json")},getScript:function(t,e){return nt.get(t,void 0,e,"script")}}),nt.each(["get","post"],function(t,e){nt[e]=function(t,o,i,n){return nt.isFunction(o)&&(n=n||i,i=o,o=void 0),nt.ajax({url:t,type:e,dataType:n,data:o,success:i})}}),nt._evalUrl=function(t){return nt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},nt.fn.extend({wrapAll:function(t){if(nt.isFunction(t))return this.each(function(e){nt(this).wrapAll(t.call(this,e))});if(this[0]){var e=nt(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return this.each(nt.isFunction(t)?function(e){nt(this).wrapInner(t.call(this,e))}:function(){var e=nt(this),o=e.contents();o.length?o.wrapAll(t):e.append(t)})},wrap:function(t){var e=nt.isFunction(t);return this.each(function(o){nt(this).wrapAll(e?t.call(this,o):t)})},unwrap:function(){return this.parent().each(function(){nt.nodeName(this,"body")||nt(this).replaceWith(this.childNodes)}).end()}}),nt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!ot.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||nt.css(t,"display"))},nt.expr.filters.visible=function(t){return!nt.expr.filters.hidden(t)};var ze=/%20/g,Ke=/\[\]$/,Ve=/\r?\n/g,Ye=/^(?:submit|button|image|reset|file)$/i,Ze=/^(?:input|select|textarea|keygen)/i;nt.param=function(t,e){var o,i=[],n=function(t,e){e=nt.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=nt.ajaxSettings&&nt.ajaxSettings.traditional),nt.isArray(t)||t.jquery&&!nt.isPlainObject(t))nt.each(t,function(){n(this.name,this.value)});else for(o in t)X(o,t[o],e,n);return i.join("&").replace(ze,"+")},nt.fn.extend({serialize:function(){return nt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=nt.prop(this,"elements");return t?nt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!nt(this).is(":disabled")&&Ze.test(this.nodeName)&&!Ye.test(t)&&(this.checked||!Rt.test(t))}).map(function(t,e){var o=nt(this).val();return null==o?null:nt.isArray(o)?nt.map(o,function(t){return{name:e.name,value:t.replace(Ve,"\r\n")}}):{name:e.name,value:o.replace(Ve,"\r\n")}}).get()}}),nt.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&W()||z()}:W;var _e=0,Je={},Qe=nt.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Je)Je[t](void 0,!0)}),ot.cors=!!Qe&&"withCredentials"in Qe,Qe=ot.ajax=!!Qe,Qe&&nt.ajaxTransport(function(t){if(!t.crossDomain||ot.cors){var e;return{send:function(o,i){var n,r=t.xhr(),s=++_e;if(r.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(n in t.xhrFields)r[n]=t.xhrFields[n];t.mimeType&&r.overrideMimeType&&r.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest");for(n in o)void 0!==o[n]&&r.setRequestHeader(n,o[n]+"");r.send(t.hasContent&&t.data||null),e=function(o,n){var a,p,l;if(e&&(n||4===r.readyState))if(delete Je[s],e=void 0,r.onreadystatechange=nt.noop,n)4!==r.readyState&&r.abort();else{l={},a=r.status,"string"==typeof r.responseText&&(l.text=r.responseText);try{p=r.statusText}catch(h){p=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=l.text?200:404}l&&i(a,p,l,r.getAllResponseHeaders())},t.async?4===r.readyState?setTimeout(e):r.onreadystatechange=Je[s]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),nt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return nt.globalEval(t),t}}}),nt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),nt.ajaxTransport("script",function(t){if(t.crossDomain){var e,o=yt.head||nt("head")[0]||yt.documentElement;return{send:function(i,n){e=yt.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset), e.src=t.url,e.onload=e.onreadystatechange=function(t,o){(o||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,o||n(200,"success"))},o.insertBefore(e,o.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var to=[],eo=/(=)\?(?=&|$)|\?\?/;nt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=to.pop()||nt.expando+"_"+Re++;return this[t]=!0,t}}),nt.ajaxPrefilter("json jsonp",function(e,o,i){var n,r,s,a=e.jsonp!==!1&&(eo.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&eo.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(n=e.jsonpCallback=nt.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(eo,"$1"+n):e.jsonp!==!1&&(e.url+=(Le.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return s||nt.error(n+" was not called"),s[0]},e.dataTypes[0]="json",r=t[n],t[n]=function(){s=arguments},i.always(function(){t[n]=r,e[n]&&(e.jsonpCallback=o.jsonpCallback,to.push(n)),s&&nt.isFunction(r)&&r(s[0]),s=r=void 0}),"script"):void 0}),nt.parseHTML=function(t,e,o){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(o=e,e=!1),e=e||yt;var i=ut.exec(t),n=!o&&[];return i?[e.createElement(i[1])]:(i=nt.buildFragment([t],e,n),n&&n.length&&nt(n).remove(),nt.merge([],i.childNodes))};var oo=nt.fn.load;nt.fn.load=function(t,e,o){if("string"!=typeof t&&oo)return oo.apply(this,arguments);var i,n,r,s=this,a=t.indexOf(" ");return a>=0&&(i=nt.trim(t.slice(a,t.length)),t=t.slice(0,a)),nt.isFunction(e)?(o=e,e=void 0):e&&"object"==typeof e&&(r="POST"),s.length>0&&nt.ajax({url:t,type:r,dataType:"html",data:e}).done(function(t){n=arguments,s.html(i?nt("<div>").append(nt.parseHTML(t)).find(i):t)}).complete(o&&function(t,e){s.each(o,n||[t.responseText,e,t])}),this},nt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){nt.fn[e]=function(t){return this.on(e,t)}}),nt.expr.filters.animated=function(t){return nt.grep(nt.timers,function(e){return t===e.elem}).length};var io=t.document.documentElement;nt.offset={setOffset:function(t,e,o){var i,n,r,s,a,p,l,h=nt.css(t,"position"),u=nt(t),c={};"static"===h&&(t.style.position="relative"),a=u.offset(),r=nt.css(t,"top"),p=nt.css(t,"left"),l=("absolute"===h||"fixed"===h)&&nt.inArray("auto",[r,p])>-1,l?(i=u.position(),s=i.top,n=i.left):(s=parseFloat(r)||0,n=parseFloat(p)||0),nt.isFunction(e)&&(e=e.call(t,o,a)),null!=e.top&&(c.top=e.top-a.top+s),null!=e.left&&(c.left=e.left-a.left+n),"using"in e?e.using.call(t,c):u.css(c)}},nt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){nt.offset.setOffset(this,t,e)});var e,o,i={top:0,left:0},n=this[0],r=n&&n.ownerDocument;return r?(e=r.documentElement,nt.contains(e,n)?(typeof n.getBoundingClientRect!==Tt&&(i=n.getBoundingClientRect()),o=K(r),{top:i.top+(o.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(o.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var t,e,o={top:0,left:0},i=this[0];return"fixed"===nt.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),nt.nodeName(t[0],"html")||(o=t.offset()),o.top+=nt.css(t[0],"borderTopWidth",!0),o.left+=nt.css(t[0],"borderLeftWidth",!0)),{top:e.top-o.top-nt.css(i,"marginTop",!0),left:e.left-o.left-nt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||io;t&&!nt.nodeName(t,"html")&&"static"===nt.css(t,"position");)t=t.offsetParent;return t||io})}}),nt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var o=/Y/.test(e);nt.fn[t]=function(i){return At(this,function(t,i,n){var r=K(t);return void 0===n?r?e in r?r[e]:r.document.documentElement[i]:t[i]:void(r?r.scrollTo(o?nt(r).scrollLeft():n,o?n:nt(r).scrollTop()):t[i]=n)},t,i,arguments.length,null)}}),nt.each(["top","left"],function(t,e){nt.cssHooks[e]=E(ot.pixelPosition,function(t,o){return o?(o=ee(t,e),ie.test(o)?nt(t).position()[e]+"px":o):void 0})}),nt.each({Height:"height",Width:"width"},function(t,e){nt.each({padding:"inner"+t,content:e,"":"outer"+t},function(o,i){nt.fn[i]=function(i,n){var r=arguments.length&&(o||"boolean"!=typeof i),s=o||(i===!0||n===!0?"margin":"border");return At(this,function(e,o,i){var n;return nt.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+t],n["scroll"+t],e.body["offset"+t],n["offset"+t],n["client"+t])):void 0===i?nt.css(e,o,s):nt.style(e,o,i,s)},e,r?i:void 0,r,null)}})}),nt.fn.size=function(){return this.length},nt.fn.andSelf=nt.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return nt});var no=t.jQuery,ro=t.$;return nt.noConflict=function(e){return t.$===nt&&(t.$=ro),e&&t.jQuery===nt&&(t.jQuery=no),nt},typeof e===Tt&&(t.jQuery=t.$=nt),nt}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var o in e)if(void 0!==t.style[o])return{end:e[o]};return!1}t.fn.emulateTransitionEnd=function(e){var o=!1,i=this;t(this).one("bsTransitionEnd",function(){o=!0});var n=function(){o||t(i).trigger(t.support.transition.end)};return setTimeout(n,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.alert");n||o.data("bs.alert",n=new i(this)),"string"==typeof e&&n[e].call(o)})}var o='[data-dismiss="alert"]',i=function(e){t(e).on("click",o,this.close)};i.VERSION="3.3.4",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function o(){s.detach().trigger("closed.bs.alert").remove()}var n=t(this),r=n.attr("data-target");r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));var s=t(r);e&&e.preventDefault(),s.length||(s=n.closest(".alert")),s.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",o).emulateTransitionEnd(i.TRANSITION_DURATION):o())};var n=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=n,this},t(document).on("click.bs.alert.data-api",o,i.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.button"),r="object"==typeof e&&e;n||i.data("bs.button",n=new o(this,r)),"toggle"==e?n.toggle():e&&n.setState(e)})}var o=function(e,i){this.$element=t(e),this.options=t.extend({},o.DEFAULTS,i),this.isLoading=!1};o.VERSION="3.3.4",o.DEFAULTS={loadingText:"loading..."},o.prototype.setState=function(e){var o="disabled",i=this.$element,n=i.is("input")?"val":"html",r=i.data();e+="Text",null==r.resetText&&i.data("resetText",i[n]()),setTimeout(t.proxy(function(){i[n](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,i.addClass(o).attr(o,o)):this.isLoading&&(this.isLoading=!1,i.removeClass(o).removeAttr(o))},this),0)},o.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var o=this.$element.find("input");"radio"==o.prop("type")&&(o.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&o.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var i=t.fn.button;t.fn.button=e,t.fn.button.Constructor=o,t.fn.button.noConflict=function(){return t.fn.button=i,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(o){var i=t(o.target);i.hasClass("btn")||(i=i.closest(".btn")),e.call(i,"toggle"),o.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.carousel"),r=t.extend({},o.DEFAULTS,i.data(),"object"==typeof e&&e),s="string"==typeof e?e:r.slide;n||i.data("bs.carousel",n=new o(this,r)),"number"==typeof e?n.to(e):s?n[s]():r.interval&&n.pause().cycle()})}var o=function(e,o){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=o,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};o.VERSION="3.3.4",o.TRANSITION_DURATION=600,o.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},o.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},o.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},o.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},o.prototype.getItemForDirection=function(t,e){var o=this.getItemIndex(e),i="prev"==t&&0===o||"next"==t&&o==this.$items.length-1;if(i&&!this.options.wrap)return e;var n="prev"==t?-1:1,r=(o+n)%this.$items.length;return this.$items.eq(r)},o.prototype.to=function(t){var e=this,o=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):o==t?this.pause().cycle():this.slide(t>o?"next":"prev",this.$items.eq(t))},o.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},o.prototype.next=function(){return this.sliding?void 0:this.slide("next")},o.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},o.prototype.slide=function(e,i){var n=this.$element.find(".item.active"),r=i||this.getItemForDirection(e,n),s=this.interval,a="next"==e?"left":"right",p=this;if(r.hasClass("active"))return this.sliding=!1;var l=r[0],h=t.Event("slide.bs.carousel",{relatedTarget:l,direction:a});if(this.$element.trigger(h),!h.isDefaultPrevented()){if(this.sliding=!0,s&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var u=t(this.$indicators.children()[this.getItemIndex(r)]);u&&u.addClass("active")}var c=t.Event("slid.bs.carousel",{relatedTarget:l,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(r.addClass(e),r[0].offsetWidth,n.addClass(a),r.addClass(a),n.one("bsTransitionEnd",function(){r.removeClass([e,a].join(" ")).addClass("active"),n.removeClass(["active",a].join(" ")),p.sliding=!1,setTimeout(function(){p.$element.trigger(c)},0)}).emulateTransitionEnd(o.TRANSITION_DURATION)):(n.removeClass("active"),r.addClass("active"),this.sliding=!1,this.$element.trigger(c)),s&&this.cycle(),this}};var i=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=o,t.fn.carousel.noConflict=function(){return t.fn.carousel=i,this};var n=function(o){var i,n=t(this),r=t(n.attr("data-target")||(i=n.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,""));if(r.hasClass("carousel")){var s=t.extend({},r.data(),n.data()),a=n.attr("data-slide-to");a&&(s.interval=!1),e.call(r,s),a&&r.data("bs.carousel").to(a),o.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var o=t(this);e.call(o,o.data())})})}(jQuery),+function(t){"use strict";function e(e){var o,i=e.attr("data-target")||(o=e.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,"");return t(i)}function o(e){return this.each(function(){var o=t(this),n=o.data("bs.collapse"),r=t.extend({},i.DEFAULTS,o.data(),"object"==typeof e&&e);!n&&r.toggle&&/show|hide/.test(e)&&(r.toggle=!1),n||o.data("bs.collapse",n=new i(this,r)),"string"==typeof e&&n[e]()})}var i=function(e,o){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,o),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};i.VERSION="3.3.4",i.TRANSITION_DURATION=350,i.DEFAULTS={toggle:!0},i.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},i.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(e=n.data("bs.collapse"),e&&e.transitioning))){var r=t.Event("show.bs.collapse");if(this.$element.trigger(r),!r.isDefaultPrevented()){n&&n.length&&(o.call(n,"hide"),e||n.data("bs.collapse",null));var s=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[s](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[s](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var p=t.camelCase(["scroll",s].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(i.TRANSITION_DURATION)[s](this.$element[0][p])}}}},i.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var o=this.dimension();this.$element[o](this.$element[o]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[o](0).one("bsTransitionEnd",t.proxy(n,this)).emulateTransitionEnd(i.TRANSITION_DURATION):n.call(this)}}},i.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},i.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(o,i){var n=t(i);this.addAriaAndCollapsedClass(e(n),n)},this)).end()},i.prototype.addAriaAndCollapsedClass=function(t,e){var o=t.hasClass("in");t.attr("aria-expanded",o),e.toggleClass("collapsed",!o).attr("aria-expanded",o)};var n=t.fn.collapse;t.fn.collapse=o,t.fn.collapse.Constructor=i,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(i){var n=t(this);n.attr("data-target")||i.preventDefault();var r=e(n),s=r.data("bs.collapse"),a=s?"toggle":n.data();o.call(r,a)})}(jQuery),+function(t){"use strict";function e(e){e&&3===e.which||(t(n).remove(),t(r).each(function(){var i=t(this),n=o(i),r={relatedTarget:this};n.hasClass("open")&&(n.trigger(e=t.Event("hide.bs.dropdown",r)),e.isDefaultPrevented()||(i.attr("aria-expanded","false"),n.removeClass("open").trigger("hidden.bs.dropdown",r)))}))}function o(e){var o=e.attr("data-target");o||(o=e.attr("href"),o=o&&/#[A-Za-z]/.test(o)&&o.replace(/.*(?=#[^\s]*$)/,""));var i=o&&t(o);return i&&i.length?i:e.parent()}function i(e){return this.each(function(){var o=t(this),i=o.data("bs.dropdown");i||o.data("bs.dropdown",i=new s(this)),"string"==typeof e&&i[e].call(o)})}var n=".dropdown-backdrop",r='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.4",s.prototype.toggle=function(i){var n=t(this);if(!n.is(".disabled, :disabled")){var r=o(n),s=r.hasClass("open");if(e(),!s){"ontouchstart"in document.documentElement&&!r.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e);var a={relatedTarget:this};if(r.trigger(i=t.Event("show.bs.dropdown",a)),i.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),r.toggleClass("open").trigger("shown.bs.dropdown",a)}return!1}},s.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var i=t(this);if(e.preventDefault(),e.stopPropagation(),!i.is(".disabled, :disabled")){var n=o(i),s=n.hasClass("open");if(!s&&27!=e.which||s&&27==e.which)return 27==e.which&&n.find(r).trigger("focus"),i.trigger("click");var a=" li:not(.disabled):visible a",p=n.find('[role="menu"]'+a+', [role="listbox"]'+a);if(p.length){var l=p.index(e.target);38==e.which&&l>0&&l--,40==e.which&&l<p.length-1&&l++,~l||(l=0),p.eq(l).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdown=i,t.fn.dropdown.Constructor=s,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,s.prototype.toggle).on("keydown.bs.dropdown.data-api",r,s.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',s.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',s.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,i){return this.each(function(){var n=t(this),r=n.data("bs.modal"),s=t.extend({},o.DEFAULTS,n.data(),"object"==typeof e&&e);r||n.data("bs.modal",r=new o(this,s)),"string"==typeof e?r[e](i):s.show&&r.show(i)})}var o=function(e,o){this.options=o,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};o.VERSION="3.3.4",o.TRANSITION_DURATION=300,o.BACKDROP_TRANSITION_DURATION=150,o.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},o.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},o.prototype.show=function(e){var i=this,n=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){i.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(i.$element)&&(i.ignoreBackdropClick=!0)})}),this.backdrop(function(){var n=t.support.transition&&i.$element.hasClass("fade");i.$element.parent().length||i.$element.appendTo(i.$body),i.$element.show().scrollTop(0),i.adjustDialog(),n&&i.$element[0].offsetWidth,i.$element.addClass("in").attr("aria-hidden",!1),i.enforceFocus();var r=t.Event("shown.bs.modal",{relatedTarget:e});n?i.$dialog.one("bsTransitionEnd",function(){i.$element.trigger("focus").trigger(r)}).emulateTransitionEnd(o.TRANSITION_DURATION):i.$element.trigger("focus").trigger(r)}))},o.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(o.TRANSITION_DURATION):this.hideModal())},o.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},o.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},o.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},o.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},o.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},o.prototype.backdrop=function(e){var i=this,n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var r=t.support.transition&&n;if(this.$backdrop=t('<div class="modal-backdrop '+n+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),r&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;r?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(o.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var s=function(){i.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",s).emulateTransitionEnd(o.BACKDROP_TRANSITION_DURATION):s()}else e&&e()},o.prototype.handleUpdate=function(){this.adjustDialog()},o.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},o.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},o.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},o.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},o.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},o.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var i=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=o,t.fn.modal.noConflict=function(){return t.fn.modal=i,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(o){var i=t(this),n=i.attr("href"),r=t(i.attr("data-target")||n&&n.replace(/.*(?=#[^\s]+$)/,"")),s=r.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(n)&&n},r.data(),i.data());i.is("a")&&o.preventDefault(),r.one("show.bs.modal",function(t){t.isDefaultPrevented()||r.one("hidden.bs.modal",function(){i.is(":visible")&&i.trigger("focus")})}),e.call(r,s,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.tooltip"),r="object"==typeof e&&e;(n||!/destroy|hide/.test(e))&&(n||i.data("bs.tooltip",n=new o(this,r)),"string"==typeof e&&n[e]())})}var o=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",t,e)};o.VERSION="3.3.4",o.TRANSITION_DURATION=150,o.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},o.prototype.init=function(e,o,i){if(this.enabled=!0,this.type=e,this.$element=t(o),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),r=n.length;r--;){var s=n[r];if("click"==s)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",p="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(p+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},o.prototype.getDelegateOptions=function(){var e={},o=this.getDefaults();return this._options&&t.each(this._options,function(t,i){o[t]!=i&&(e[t]=i)}),e},o.prototype.enter=function(e){var o=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return o&&o.$tip&&o.$tip.is(":visible")?void(o.hoverState="in"):(o||(o=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,o)),clearTimeout(o.timeout),o.hoverState="in",o.options.delay&&o.options.delay.show?void(o.timeout=setTimeout(function(){"in"==o.hoverState&&o.show()},o.options.delay.show)):o.show())},o.prototype.leave=function(e){var o=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return o||(o=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,o)),clearTimeout(o.timeout),o.hoverState="out",o.options.delay&&o.options.delay.hide?void(o.timeout=setTimeout(function(){"out"==o.hoverState&&o.hide()},o.options.delay.hide)):o.hide()},o.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var n=this,r=this.tip(),s=this.getUID(this.type);this.setContent(),r.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&r.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement,p=/\s?auto?\s?/i,l=p.test(a);l&&(a=a.replace(p,"")||"top"),r.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?r.appendTo(this.options.container):r.insertAfter(this.$element);var h=this.getPosition(),u=r[0].offsetWidth,c=r[0].offsetHeight;if(l){var f=a,y=this.options.container?t(this.options.container):this.$element.parent(),d=this.getPosition(y);a="bottom"==a&&h.bottom+c>d.bottom?"top":"top"==a&&h.top-c<d.top?"bottom":"right"==a&&h.right+u>d.width?"left":"left"==a&&h.left-u<d.left?"right":a,r.removeClass(f).addClass(a)}var g=this.getCalculatedOffset(a,h,u,c);this.applyPlacement(g,a);var v=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?r.one("bsTransitionEnd",v).emulateTransitionEnd(o.TRANSITION_DURATION):v()}},o.prototype.applyPlacement=function(e,o){var i=this.tip(),n=i[0].offsetWidth,r=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),e.top=e.top+s,e.left=e.left+a,t.offset.setOffset(i[0],t.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),i.addClass("in");var p=i[0].offsetWidth,l=i[0].offsetHeight;"top"==o&&l!=r&&(e.top=e.top+r-l);var h=this.getViewportAdjustedDelta(o,e,p,l);h.left?e.left+=h.left:e.top+=h.top;var u=/top|bottom/.test(o),c=u?2*h.left-n+p:2*h.top-r+l,f=u?"offsetWidth":"offsetHeight";i.offset(e),this.replaceArrow(c,i[0][f],u)},o.prototype.replaceArrow=function(t,e,o){this.arrow().css(o?"left":"top",50*(1-t/e)+"%").css(o?"top":"left","")},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},o.prototype.hide=function(e){function i(){"in"!=n.hoverState&&r.detach(),n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}var n=this,r=t(this.$tip),s=t.Event("hide.bs."+this.type);return this.$element.trigger(s),s.isDefaultPrevented()?void 0:(r.removeClass("in"),t.support.transition&&r.hasClass("fade")?r.one("bsTransitionEnd",i).emulateTransitionEnd(o.TRANSITION_DURATION):i(),this.hoverState=null,this)},o.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},o.prototype.hasContent=function(){return this.getTitle()},o.prototype.getPosition=function(e){e=e||this.$element;var o=e[0],i="BODY"==o.tagName,n=o.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var r=i?{top:0,left:0}:e.offset(),s={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=i?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,s,a,r)},o.prototype.getCalculatedOffset=function(t,e,o,i){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-o/2}:"top"==t?{top:e.top-i,left:e.left+e.width/2-o/2}:"left"==t?{top:e.top+e.height/2-i/2,left:e.left-o}:{top:e.top+e.height/2-i/2,left:e.left+e.width}},o.prototype.getViewportAdjustedDelta=function(t,e,o,i){var n={top:0,left:0};if(!this.$viewport)return n;var r=this.options.viewport&&this.options.viewport.padding||0,s=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-r-s.scroll,p=e.top+r-s.scroll+i;a<s.top?n.top=s.top-a:p>s.top+s.height&&(n.top=s.top+s.height-p)}else{var l=e.left-r,h=e.left+r+o;l<s.left?n.left=s.left-l:h>s.width&&(n.left=s.left+s.width-h)}return n},o.prototype.getTitle=function(){var t,e=this.$element,o=this.options;return t=e.attr("data-original-title")||("function"==typeof o.title?o.title.call(e[0]):o.title)},o.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},o.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},o.prototype.enable=function(){this.enabled=!0},o.prototype.disable=function(){this.enabled=!1},o.prototype.toggleEnabled=function(){this.enabled=!this.enabled},o.prototype.toggle=function(e){ -var o=this;e&&(o=t(e.currentTarget).data("bs."+this.type),o||(o=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,o))),o.tip().hasClass("in")?o.leave(o):o.enter(o)},o.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=o,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.popover"),r="object"==typeof e&&e;(n||!/destroy|hide/.test(e))&&(n||i.data("bs.popover",n=new o(this,r)),"string"==typeof e&&n[e]())})}var o=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");o.VERSION="3.3.4",o.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),o.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),o.prototype.constructor=o,o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),o=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof o?"html":"append":"text"](o),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=o,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),+function(t){"use strict";function e(o,i){this.$body=t(document.body),this.$scrollElement=t(t(o).is(document.body)?window:o),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function o(o){return this.each(function(){var i=t(this),n=i.data("bs.scrollspy"),r="object"==typeof o&&o;n||i.data("bs.scrollspy",n=new e(this,r)),"string"==typeof o&&n[o]()})}e.VERSION="3.3.4",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,o="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(o="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),n=e.data("target")||e.attr("href"),r=/^#./.test(n)&&t(n);return r&&r.length&&r.is(":visible")&&[[r[o]().top+i,n]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,o=this.getScrollHeight(),i=this.options.offset+o-this.$scrollElement.height(),n=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=o&&this.refresh(),e>=i)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e<n[0])return this.activeTarget=null,this.clear();for(t=n.length;t--;)s!=r[t]&&e>=n[t]&&(void 0===n[t+1]||e<n[t+1])&&this.activate(r[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var o=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(o).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=o,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);o.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.tab");n||i.data("bs.tab",n=new o(this)),"string"==typeof e&&n[e]()})}var o=function(e){this.element=t(e)};o.VERSION="3.3.4",o.TRANSITION_DURATION=150,o.prototype.show=function(){var e=this.element,o=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=o.find(".active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(r),e.trigger(s),!s.isDefaultPrevented()&&!r.isDefaultPrevented()){var a=t(i);this.activate(e.closest("li"),o),this.activate(a,a.parent(),function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})})}}},o.prototype.activate=function(e,i,n){function r(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var s=i.find("> .active"),a=n&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);s.length&&a?s.one("bsTransitionEnd",r).emulateTransitionEnd(o.TRANSITION_DURATION):r(),s.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=o,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var n=function(o){o.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.affix"),r="object"==typeof e&&e;n||i.data("bs.affix",n=new o(this,r)),"string"==typeof e&&n[e]()})}var o=function(e,i){this.options=t.extend({},o.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};o.VERSION="3.3.4",o.RESET="affix affix-top affix-bottom",o.DEFAULTS={offset:0,target:window},o.prototype.getState=function(t,e,o,i){var n=this.$target.scrollTop(),r=this.$element.offset(),s=this.$target.height();if(null!=o&&"top"==this.affixed)return o>n&&"top";if("bottom"==this.affixed)return null!=o?!(n+this.unpin<=r.top)&&"bottom":!(t-i>=n+s)&&"bottom";var a=null==this.affixed,p=a?n:r.top,l=a?s:e;return null!=o&&o>=n?"top":null!=i&&p+l>=t-i&&"bottom"},o.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(o.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},o.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},o.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,n=i.top,r=i.bottom,s=t(document.body).height();"object"!=typeof i&&(r=n=i),"function"==typeof n&&(n=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var a=this.getState(s,e,n,r);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var p="affix"+(a?"-"+a:""),l=t.Event(p+".bs.affix");if(this.$element.trigger(l),l.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(o.RESET).addClass(p).trigger(p.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-e-r})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=o,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var o=t(this),i=o.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(o,i)})})}(jQuery),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.ol=e()}(this,function(){function t(t){return void 0!==t}function e(e,o,i){e=e.split("."),i=i||sm,e[0]in i||!i.execScript||i.execScript("var "+e[0]);for(var n;e.length&&(n=e.shift());)!e.length&&t(o)?i[n]=o:i=i[n]?i[n]:i[n]={}}function o(){}function i(t){t.Ia=function(){return t.jg?t.jg:t.jg=new t}}function n(t){var e=typeof t;if("object"==e){if(!t)return"null";if(t instanceof Array)return"array";if(t instanceof Object)return e;var o=Object.prototype.toString.call(t);if("[object Window]"==o)return"object";if("[object Array]"==o||"number"==typeof t.length&&"undefined"!=typeof t.splice&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==o||"undefined"!=typeof t.call&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}else if("function"==e&&"undefined"==typeof t.call)return"object";return e}function r(t){return null===t}function s(t){return"array"==n(t)}function a(t){var e=n(t);return"array"==e||"object"==e&&"number"==typeof t.length}function p(t){return"string"==typeof t}function l(t){return"number"==typeof t}function h(t){return"function"==n(t)}function u(t){var e=typeof t;return"object"==e&&null!=t||"function"==e}function c(t){return t[am]||(t[am]=++pm)}function f(t,e,o){return t.call.apply(t.bind,arguments)}function y(t,e,o){if(!t)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var o=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(o,i),t.apply(e,o)}}return function(){return t.apply(e,arguments)}}function d(t,e,o){return d=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?f:y,d.apply(null,arguments)}function g(t,e){var o=Array.prototype.slice.call(arguments,1);return function(){var e=o.slice();return e.push.apply(e,arguments),t.apply(this,e)}}function v(t,e){function o(){}o.prototype=e.prototype,t.S=e.prototype,t.prototype=new o,t.prototype.constructor=t,t.Mo=function(t,o,i){for(var n=Array(arguments.length-2),r=2;r<arguments.length;r++)n[r-2]=arguments[r];return e.prototype[o].apply(t,n)}}function m(t){if(Error.captureStackTrace)Error.captureStackTrace(this,m);else{var e=Error().stack;e&&(this.stack=e)}t&&(this.message=String(t))}function b(t,e){var o=t.length-e.length;return 0<=o&&t.indexOf(e,o)==o}function w(t,e){for(var o=t.split("%s"),i="",n=Array.prototype.slice.call(arguments,1);n.length&&1<o.length;)i+=o.shift()+n.shift();return i+o.join("%s")}function x(t){return bm.test(t)?(-1!=t.indexOf("&")&&(t=t.replace(fm,"&")),-1!=t.indexOf("<")&&(t=t.replace(ym,"<")),-1!=t.indexOf(">")&&(t=t.replace(dm,">")),-1!=t.indexOf('"')&&(t=t.replace(gm,""")),-1!=t.indexOf("'")&&(t=t.replace(vm,"'")),-1!=t.indexOf("\0")&&(t=t.replace(mm,"�")),t):t}function S(e){e=t(void 0)?e.toFixed(void 0):String(e);var o=e.indexOf(".");return-1==o&&(o=e.length),o=Math.max(0,2-o),Array(o+1).join("0")+e}function T(t,e){for(var o=0,i=cm(String(t)).split("."),n=cm(String(e)).split("."),r=Math.max(i.length,n.length),s=0;0==o&&s<r;s++){var a=i[s]||"",p=n[s]||"",l=RegExp("(\\d*)(\\D*)","g"),h=RegExp("(\\d*)(\\D*)","g");do{var u=l.exec(a)||["","",""],c=h.exec(p)||["","",""];if(0==u[0].length&&0==c[0].length)break;o=M(0==u[1].length?0:parseInt(u[1],10),0==c[1].length?0:parseInt(c[1],10))||M(0==u[2].length,0==c[2].length)||M(u[2],c[2])}while(0==o)}return o}function M(t,e){return t<e?-1:t>e?1:0}function C(t,e){return wm.indexOf.call(t,e,void 0)}function E(t,e,o){wm.forEach.call(t,e,o)}function P(t,e){return wm.filter.call(t,e,void 0)}function k(t,e,o){return wm.map.call(t,e,o)}function A(t,e){return wm.some.call(t,e,void 0)}function R(t,e){var o=L(t,e,void 0);return 0>o?null:p(t)?t.charAt(o):t[o]}function L(t,e,o){for(var i=t.length,n=p(t)?t.split(""):t,r=0;r<i;r++)if(r in n&&e.call(o,n[r],r,t))return r;return-1}function N(t,e){return 0<=C(t,e)}function j(t,e){var o,i=C(t,e);return(o=0<=i)&&wm.splice.call(t,i,1),o}function I(t){return wm.concat.apply(wm,arguments)}function D(t){var e=t.length;if(0<e){for(var o=Array(e),i=0;i<e;i++)o[i]=t[i];return o}return[]}function F(t,e){for(var o=1;o<arguments.length;o++){var i=arguments[o];if(a(i)){var n=t.length||0,r=i.length||0;t.length=n+r;for(var s=0;s<r;s++)t[n+s]=i[s]}else t.push(i)}}function O(t,e,o,i){wm.splice.apply(t,B(arguments,1))}function B(t,e,o){return 2>=arguments.length?wm.slice.call(t,e):wm.slice.call(t,e,o)}function U(t,e){t.sort(e||H)}function G(t,e){if(!a(t)||!a(e)||t.length!=e.length)return!1;for(var o=t.length,i=q,n=0;n<o;n++)if(!i(t[n],e[n]))return!1;return!0}function H(t,e){return t>e?1:t<e?-1:0}function q(t,e){return t===e}function $(t){for(var e=[],o=0;o<arguments.length;o++){var i=arguments[o];if(s(i))for(var n=0;n<i.length;n+=8192)for(var r=$.apply(null,B(i,n,n+8192)),a=0;a<r.length;a++)e.push(r[a]);else e.push(i)}return e}function X(t){return-1!=um.indexOf(t)}function W(t,e,o){for(var i in t)e.call(o,t[i],i,t)}function z(t,e){for(var o in t)if(e.call(void 0,t[o],o,t))return!0;return!1}function K(t){var e,o=0;for(e in t)o++;return o}function V(t){var e,o=[],i=0;for(e in t)o[i++]=t[e];return o}function Y(t){var e,o=[],i=0;for(e in t)o[i++]=e;return o}function Z(t,e){return e in t}function _(t,e){for(var o in t)if(t[o]==e)return!0;return!1}function J(t,e){for(var o in t)if(e.call(void 0,t[o],o,t))return o}function Q(t){for(var e in t)return!1;return!0}function tt(t){for(var e in t)delete t[e]}function et(t,e){e in t&&delete t[e]}function ot(t,e,o){return e in t?t[e]:o}function it(t,e){var o=[];return e in t?t[e]:t[e]=o}function nt(t){var e,o={};for(e in t)o[e]=t[e];return o}function rt(t,e){for(var o,i,n=1;n<arguments.length;n++){i=arguments[n];for(o in i)t[o]=i[o];for(var r=0;r<Tm.length;r++)o=Tm[r],Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}}function st(t){var e=arguments.length;if(1==e&&s(arguments[0]))return st.apply(null,arguments[0]);for(var o={},i=0;i<e;i++)o[arguments[i]]=!0;return o}function at(){var t=sm.document;return t?t.documentMode:void 0}function pt(t){return Nm[t]||(Nm[t]=0<=T(Lm,t))}function lt(t,e,o){return Math.min(Math.max(t,e),o)}function ht(t,e){var o=t%e;return 0>o*e?o+e:o}function ut(t,e,o){return t+o*(e-t)}function ct(t){return t*Math.PI/180}function ft(e){return function(o){if(t(o))return[lt(o[0],e[0],e[2]),lt(o[1],e[1],e[3])]}}function yt(t){return t}function dt(t,e,o){var i=t.length;if(t[0]<=e)return 0;if(!(e<=t[i-1]))if(0<o){for(o=1;o<i;++o)if(t[o]<e)return o-1}else if(0>o){for(o=1;o<i;++o)if(t[o]<=e)return o}else for(o=1;o<i;++o){if(t[o]==e)return o;if(t[o]<e)return t[o-1]-e<e-t[o]?o-1:o}return i-1}function gt(e){return function(o,i,n){if(t(o))return o=dt(e,o,n),o=lt(o+i,0,e.length-1),e[o]}}function vt(e,o,i){return function(n,r,s){if(t(n))return s=0<s?0:0>s?1:.5,n=Math.floor(Math.log(o/n)/Math.log(e)+s),r=Math.max(n+r,0),t(i)&&(r=Math.min(r,i)),o/Math.pow(e,r)}}function mt(e){if(t(e))return 0}function bt(e,o){if(t(e))return e+o}function wt(e){var o=2*Math.PI/e;return function(e,i){if(t(e))return e=Math.floor((e+i)/o+.5)*o}}function xt(){var e=ct(5);return function(o,i){if(t(o))return Math.abs(o+i)<=e?0:o+i}}function St(t,e,o){this.center=t,this.resolution=e,this.rotation=o}function Tt(){0!=Um&&(Gm[c(this)]=this),this.U=this.U,this.V=this.V}function Mt(e,o){var i=g(Ct,o);e.U?i.call(void 0):(e.V||(e.V=[]),e.V.push(t(void 0)?d(i,void 0):i))}function Ct(t){t&&"function"==typeof t.Yc&&t.Yc()}function Et(t,e){this.type=t,this.c=this.target=e,this.f=!1,this.rh=!0}function Pt(t){t.fb()}function kt(t){t.preventDefault()}function At(t){return At[" "](t),t}function Rt(t,e){Et.call(this,t?t.type:""),this.relatedTarget=this.c=this.target=null,this.q=this.e=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0,this.l=this.d=this.a=this.i=!1,this.state=null,this.g=!1,this.b=null,t&&Lt(this,t,e)}function Lt(t,e,o){t.b=e;var i=t.type=e.type;if(t.target=e.target||e.srcElement,t.c=o,o=e.relatedTarget){if(Em){var n;t:{try{At(o.nodeName),n=!0;break t}catch(r){}n=!1}n||(o=null)}}else"mouseover"==i?o=e.fromElement:"mouseout"==i&&(o=e.toElement);t.relatedTarget=o,Object.defineProperties?Object.defineProperties(t,{offsetX:{configurable:!0,enumerable:!0,get:t.Zf,set:t.bo},offsetY:{configurable:!0,enumerable:!0,get:t.$f,set:t.co}}):(t.offsetX=t.Zf(),t.offsetY=t.$f()),t.clientX=void 0!==e.clientX?e.clientX:e.pageX,t.clientY=void 0!==e.clientY?e.clientY:e.pageY,t.screenX=e.screenX||0,t.screenY=e.screenY||0,t.button=e.button,t.e=e.keyCode||0,t.q=e.charCode||("keypress"==i?e.keyCode:0),t.i=e.ctrlKey,t.a=e.altKey,t.d=e.shiftKey,t.l=e.metaKey,t.g=km?e.metaKey:e.ctrlKey,t.state=e.state,e.defaultPrevented&&t.preventDefault()}function Nt(t){return!((Fm?0!=t.b.button:"click"!=t.type&&!(t.b.button&qm[0]))||Pm&&km&&t.i)}function jt(t){return!(!t||!t[$m])}function It(t,e,o,i,n){this.$b=t,this.b=null,this.src=e,this.type=o,this.Qc=!!i,this.Sd=n,this.key=++Xm,this.Hc=this.vd=!1}function Dt(t){t.Hc=!0,t.$b=null,t.b=null,t.src=null,t.Sd=null}function Ft(t){this.src=t,this.b={},this.a=0}function Ot(t,e){var o=e.type;if(!(o in t.b))return!1;var i=j(t.b[o],e);return i&&(Dt(e),0==t.b[o].length&&(delete t.b[o],t.a--)),i}function Bt(t,e,o,i,n){return t=t.b[e.toString()],e=-1,t&&(e=Gt(t,o,i,n)),-1<e?t[e]:null}function Ut(e,o,i){var n=t(o),r=n?o.toString():"",s=t(i);return z(e.b,function(t){for(var e=0;e<t.length;++e)if(!(n&&t[e].type!=r||s&&t[e].Qc!=i))return!0;return!1})}function Gt(t,e,o,i){for(var n=0;n<t.length;++n){var r=t[n];if(!r.Hc&&r.$b==e&&r.Qc==!!o&&r.Sd==i)return n}return-1}function Ht(t,e,o,i,n){if(s(e)){for(var r=0;r<e.length;r++)Ht(t,e[r],o,i,n);return null}return o=Jt(o),jt(t)?t.Ka(e,o,i,n):qt(t,e,o,!1,i,n)}function qt(t,e,o,i,n,r){if(!e)throw Error("Invalid event type");var s=!!n,a=_t(t);return a||(t[Wm]=a=new Ft(t)),o=a.add(e,o,i,n,r),o.b?o:(i=$t(),o.b=i,i.src=t,i.$b=o,t.addEventListener?t.addEventListener(e.toString(),i,s):t.attachEvent(Kt(e.toString()),i),Km++,o)}function $t(){var t=Zt,e=Om?function(o){return t.call(e.src,e.$b,o)}:function(o){if(o=t.call(e.src,e.$b,o),!o)return o};return e}function Xt(t,e,o,i,n){if(s(e)){for(var r=0;r<e.length;r++)Xt(t,e[r],o,i,n);return null}return o=Jt(o),jt(t)?t.ab.add(String(e),o,!0,i,n):qt(t,e,o,!0,i,n)}function Wt(t,e,o,i,n){if(s(e))for(var r=0;r<e.length;r++)Wt(t,e[r],o,i,n);else o=Jt(o),jt(t)?t.wf(e,o,i,n):t&&(t=_t(t))&&(e=Bt(t,e,o,!!i,n))&&zt(e)}function zt(t){if(l(t)||!t||t.Hc)return!1;var e=t.src;if(jt(e))return Ot(e.ab,t);var o=t.type,i=t.b;return e.removeEventListener?e.removeEventListener(o,i,t.Qc):e.detachEvent&&e.detachEvent(Kt(o),i),Km--,(o=_t(e))?(Ot(o,t),0==o.a&&(o.src=null,e[Wm]=null)):Dt(t),!0}function Kt(t){return t in zm?zm[t]:zm[t]="on"+t}function Vt(t,e,o,i){var n=!0;if((t=_t(t))&&(e=t.b[e.toString()]))for(e=e.concat(),t=0;t<e.length;t++){var r=e[t];r&&r.Qc==o&&!r.Hc&&(r=Yt(r,i),n=n&&!1!==r)}return n}function Yt(t,e){var o=t.$b,i=t.Sd||t.src;return t.vd&&zt(t),o.call(i,e)}function Zt(t,e){if(t.Hc)return!0;if(!Om){var o;if(!(o=e))t:{o=["window","event"];for(var i,n=sm;i=o.shift();){if(null==n[i]){o=null;break t}n=n[i]}o=n}if(i=o,o=new Rt(i,this),n=!0,!(0>i.keyCode||void 0!=i.returnValue)){t:{var r=!1;if(0==i.keyCode)try{i.keyCode=-1;break t}catch(s){r=!0}(r||void 0==i.returnValue)&&(i.returnValue=!0)}for(i=[],r=o.c;r;r=r.parentNode)i.push(r);for(var r=t.type,a=i.length-1;!o.f&&0<=a;a--){o.c=i[a];var p=Vt(i[a],r,!0,o),n=n&&p}for(a=0;!o.f&&a<i.length;a++)o.c=i[a],p=Vt(i[a],r,!1,o),n=n&&p}return n}return Yt(t,new Rt(e,this))}function _t(t){return t=t[Wm],t instanceof Ft?t:null}function Jt(t){return h(t)?t:(t[Vm]||(t[Vm]=function(e){return t.handleEvent(e)}),t[Vm])}function Qt(){Tt.call(this),this.ab=new Ft(this),this.rc=this,this.sa=null}function te(t,e,o,i){if(e=t.ab.b[String(e)],!e)return!0;e=e.concat();for(var n=!0,r=0;r<e.length;++r){var s=e[r];if(s&&!s.Hc&&s.Qc==o){var a=s.$b,p=s.Sd||s.src;s.vd&&Ot(t.ab,s),n=!1!==a.call(p,i)&&n}}return n&&0!=i.rh}function ee(e,o,i){return Ut(e.ab,t(o)?String(o):void 0,i)}function oe(){Qt.call(this),this.b=0}function ie(t){zt(t)}function ne(t,e,o){Et.call(this,t),this.key=e,this.oldValue=o}function re(e){oe.call(this),c(this),this.q={},t(e)&&this.t(e)}function se(t){return Ym.hasOwnProperty(t)?Ym[t]:Ym[t]="change:"+t}function ae(t,e,o){var i;i=se(e),t.dispatchEvent(new ne(i,e,o)),t.dispatchEvent(new ne("propertychange",e,o))}function pe(e,o,i){return t(i)||(i=[0,0]),i[0]=e[0]+2*o,i[1]=e[1]+2*o,i}function le(e,o,i){return t(i)||(i=[0,0]),i[0]=e[0]*o+.5|0,i[1]=e[1]*o+.5|0,i}function he(e,o){return s(e)?e:(t(o)?(o[0]=e,o[1]=e):o=[e,e],o)}function ue(t,e){return t[0]+=e[0],t[1]+=e[1],t}function ce(t,e){var o=t[0],i=t[1],n=e[0],r=e[1],s=n[0],n=n[1],a=r[0],r=r[1],p=a-s,l=r-n,o=0===p&&0===l?0:(p*(o-s)+l*(i-n))/(p*p+l*l||0);return 0>=o||(1<=o?(s=a,n=r):(s+=o*p,n+=o*l)),[s,n]}function fe(t,e){var o=ht(t+180,360)-180,i=Math.abs(Math.round(3600*o));return Math.floor(i/3600)+"° "+Math.floor(i/60%60)+"′ "+Math.floor(i%60)+"″ "+e.charAt(0>o?1:0)}function ye(e,o,i){return t(e)?o.replace("{x}",e[0].toFixed(i)).replace("{y}",e[1].toFixed(i)):""}function de(t,e){for(var o=!0,i=t.length-1;0<=i;--i)if(t[i]!=e[i]){o=!1;break}return o}function ge(t,e){var o=Math.cos(e),i=Math.sin(e),n=t[1]*o+t[0]*i;return t[0]=t[0]*o-t[1]*i,t[1]=n,t}function ve(t,e){var o=t[0]-e[0],i=t[1]-e[1];return o*o+i*i}function me(t,e){return ve(t,ce(t,e))}function be(t,e){return ye(t,"{x}, {y}",e)}function we(t){this.length=t.length||t;for(var e=0;e<this.length;e++)this[e]=t[e]||0}function xe(t){this.length=t.length||t;for(var e=0;e<this.length;e++)this[e]=t[e]||0}function Se(t,e,o,i,n){t[0]=e,t[1]=o,t[2]=i,t[3]=n}function Te(){var t=Array(16);return Ce(t,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),t}function Me(){var t=Array(16);return Ce(t,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),t}function Ce(t,e,o,i,n,r,s,a,p,l,h,u,c,f,y,d,g){t[0]=e,t[1]=o,t[2]=i,t[3]=n,t[4]=r,t[5]=s,t[6]=a,t[7]=p,t[8]=l,t[9]=h,t[10]=u,t[11]=c,t[12]=f,t[13]=y,t[14]=d,t[15]=g}function Ee(t,e){t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]}function Pe(t){t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1}function ke(t,e,o){var i=t[0],n=t[1],r=t[2],s=t[3],a=t[4],p=t[5],l=t[6],h=t[7],u=t[8],c=t[9],f=t[10],y=t[11],d=t[12],g=t[13],v=t[14];t=t[15];var m=e[0],b=e[1],w=e[2],x=e[3],S=e[4],T=e[5],M=e[6],C=e[7],E=e[8],P=e[9],k=e[10],A=e[11],R=e[12],L=e[13],N=e[14];e=e[15],o[0]=i*m+a*b+u*w+d*x,o[1]=n*m+p*b+c*w+g*x,o[2]=r*m+l*b+f*w+v*x,o[3]=s*m+h*b+y*w+t*x,o[4]=i*S+a*T+u*M+d*C,o[5]=n*S+p*T+c*M+g*C,o[6]=r*S+l*T+f*M+v*C,o[7]=s*S+h*T+y*M+t*C,o[8]=i*E+a*P+u*k+d*A,o[9]=n*E+p*P+c*k+g*A,o[10]=r*E+l*P+f*k+v*A,o[11]=s*E+h*P+y*k+t*A,o[12]=i*R+a*L+u*N+d*e,o[13]=n*R+p*L+c*N+g*e,o[14]=r*R+l*L+f*N+v*e,o[15]=s*R+h*L+y*N+t*e}function Ae(t,e){var o=t[0],i=t[1],n=t[2],r=t[3],s=t[4],a=t[5],p=t[6],l=t[7],h=t[8],u=t[9],c=t[10],f=t[11],y=t[12],d=t[13],g=t[14],v=t[15],m=o*a-i*s,b=o*p-n*s,w=o*l-r*s,x=i*p-n*a,S=i*l-r*a,T=n*l-r*p,M=h*d-u*y,C=h*g-c*y,E=h*v-f*y,P=u*g-c*d,k=u*v-f*d,A=c*v-f*g,R=m*A-b*k+w*P+x*E-S*C+T*M;0!=R&&(R=1/R,e[0]=(a*A-p*k+l*P)*R,e[1]=(-i*A+n*k-r*P)*R,e[2]=(d*T-g*S+v*x)*R,e[3]=(-u*T+c*S-f*x)*R,e[4]=(-s*A+p*E-l*C)*R,e[5]=(o*A-n*E+r*C)*R,e[6]=(-y*T+g*w-v*b)*R,e[7]=(h*T-c*w+f*b)*R,e[8]=(s*k-a*E+l*M)*R,e[9]=(-o*k+i*E-r*M)*R,e[10]=(y*S-d*w+v*m)*R,e[11]=(-h*S+u*w-f*m)*R,e[12]=(-s*P+a*C-p*M)*R,e[13]=(o*P-i*C+n*M)*R,e[14]=(-y*x+d*b-g*m)*R,e[15]=(h*x-u*b+c*m)*R)}function Re(t,e,o){var i=t[1]*e+t[5]*o+0*t[9]+t[13],n=t[2]*e+t[6]*o+0*t[10]+t[14],r=t[3]*e+t[7]*o+0*t[11]+t[15];t[12]=t[0]*e+t[4]*o+0*t[8]+t[12],t[13]=i,t[14]=n,t[15]=r}function Le(t,e,o){Ce(t,t[0]*e,t[1]*e,t[2]*e,t[3]*e,t[4]*o,t[5]*o,t[6]*o,t[7]*o,1*t[8],1*t[9],1*t[10],1*t[11],t[12],t[13],t[14],t[15])}function Ne(t,e){var o=t[0],i=t[1],n=t[2],r=t[3],s=t[4],a=t[5],p=t[6],l=t[7],h=Math.cos(e),u=Math.sin(e);t[0]=o*h+s*u,t[1]=i*h+a*u,t[2]=n*h+p*u,t[3]=r*h+l*u,t[4]=o*-u+s*h,t[5]=i*-u+a*h,t[6]=n*-u+p*h,t[7]=r*-u+l*h}function je(t){for(var e=He(),o=0,i=t.length;o<i;++o)ze(e,t[o]);return e}function Ie(t,e,o){var i=Math.min.apply(null,t),n=Math.min.apply(null,e);return t=Math.max.apply(null,t),e=Math.max.apply(null,e),qe(i,n,t,e,o)}function De(e,o,i){return t(i)?(i[0]=e[0]-o,i[1]=e[1]-o,i[2]=e[2]+o,i[3]=e[3]+o,i):[e[0]-o,e[1]-o,e[2]+o,e[3]+o]}function Fe(e,o){return t(o)?(o[0]=e[0],o[1]=e[1],o[2]=e[2],o[3]=e[3],o):e.slice()}function Oe(t,e,o){return e=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0,t=o<t[1]?t[1]-o:t[3]<o?o-t[3]:0,e*e+t*t}function Be(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function Ue(t,e,o){return t[0]<=e&&e<=t[2]&&t[1]<=o&&o<=t[3]}function Ge(t,e){var o=t[1],i=t[2],n=t[3],r=e[0],s=e[1],a=0;return r<t[0]?a=16|a:r>i&&(a=4|a),s<o?a|=8:s>n&&(a|=2),0===a&&(a=1),a}function He(){return[1/0,1/0,-(1/0),-(1/0)]}function qe(e,o,i,n,r){return t(r)?(r[0]=e,r[1]=o,r[2]=i,r[3]=n,r):[e,o,i,n]}function $e(t,e){var o=t[0],i=t[1];return qe(o,i,o,i,e)}function Xe(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function We(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function ze(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function Ke(t,e,o,i,n){for(;o<i;o+=n){var r=t,s=e[o],a=e[o+1];r[0]=Math.min(r[0],s),r[1]=Math.min(r[1],a),r[2]=Math.max(r[2],s),r[3]=Math.max(r[3],a)}return t}function Ve(t,e){var o;return(o=e.call(void 0,Ye(t)))||(o=e.call(void 0,Ze(t)))||(o=e.call(void 0,io(t)))?o:!!(o=e.call(void 0,oo(t)))&&o}function Ye(t){return[t[0],t[1]]}function Ze(t){return[t[2],t[1]]}function _e(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function Je(t,e){var o;return"bottom-left"===e?o=Ye(t):"bottom-right"===e?o=Ze(t):"top-left"===e?o=oo(t):"top-right"===e&&(o=io(t)),o}function Qe(t,e,o,i){var n=e*i[0]/2;i=e*i[1]/2,e=Math.cos(o),o=Math.sin(o),n=[-n,-n,n,n],i=[-i,i,-i,i];var r,s,a;for(r=0;4>r;++r)s=n[r],a=i[r],n[r]=t[0]+s*e-a*o,i[r]=t[1]+s*o+a*e;return Ie(n,i,void 0)}function to(t){return t[3]-t[1]}function eo(e,o,i){return i=t(i)?i:He(),ro(e,o)&&(i[0]=e[0]>o[0]?e[0]:o[0],i[1]=e[1]>o[1]?e[1]:o[1],i[2]=e[2]<o[2]?e[2]:o[2],i[3]=e[3]<o[3]?e[3]:o[3]),i}function oo(t){return[t[0],t[3]]}function io(t){return[t[2],t[3]]}function no(t){return t[2]-t[0]}function ro(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function so(t){return t[2]<t[0]||t[3]<t[1]}function ao(t,e){var o=(t[2]-t[0])/2*(e-1),i=(t[3]-t[1])/2*(e-1);t[0]-=o,t[2]+=o,t[1]-=i,t[3]+=i}function po(t,e,o){return t=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]],e(t,t,2),Ie([t[0],t[2],t[4],t[6]],[t[1],t[3],t[5],t[7]],o)}function lo(t){this.radius=t}function ho(e){if(this.b=e.code,this.a=e.units,this.f=t(e.extent)?e.extent:null,this.g=t(e.worldExtent)?e.worldExtent:null,this.d=t(e.axisOrientation)?e.axisOrientation:"enu",this.c=(this.e=!!t(e.global)&&e.global)&&null!==this.f,this.q=t(e.getPointResolution)?e.getPointResolution:this.rj,this.i=null,"function"==typeof proj4){var o=e.code,i=proj4.defs(o);if(t(i)){t(i.axis)&&!t(e.axisOrientation)&&(this.d=i.axis),t(e.units)||(e=i.units,!t(e)&&t(i.to_meter)&&(e=i.to_meter.toString(),Jm[e]=i.to_meter),this.a=e),e=Qm;var n,r;for(n in e)r=proj4.defs(n),t(r)&&(e=xo(n),r===i?co([e,this]):(r=proj4(n,o),bo(e,this,r.forward,r.inverse)))}}}function uo(t){return t.d}function co(t){go(t),E(t,function(e){E(t,function(t){e!==t&&mo(e,t,Eo)})})}function fo(){var t=pw,e=Ep,o=Pp;E(hw,function(i){E(t,function(t){mo(i,t,e),mo(t,i,o)})})}function yo(t){Qm[t.b]=t,mo(t,t,Eo)}function go(t){var e=[];E(t,function(t){e.push(yo(t))})}function vo(t){return null!=t?p(t)?xo(t):t:xo("EPSG:3857")}function mo(t,e,o){t=t.b,e=e.b,t in tb||(tb[t]={}),tb[t][e]=o}function bo(t,e,o,i){t=xo(t),e=xo(e),mo(t,e,wo(o)),mo(e,t,wo(i))}function wo(e){return function(o,i,n){var r=o.length;n=t(n)?n:2,i=t(i)?i:Array(r);var s,a;for(a=0;a<r;a+=n)for(s=e([o[a],o[a+1]]),i[a]=s[0],i[a+1]=s[1],s=n-1;2<=s;--s)i[a+s]=o[a+s];return i}}function xo(e){var o;return e instanceof ho?o=e:p(e)?(o=Qm[e],!t(o)&&"function"==typeof proj4&&t(proj4.defs(e))&&(o=new ho({code:e}),yo(o))):o=null,o}function So(t,e){return t===e||(t.b===e.b||t.a==e.a&&Mo(t,e)===Eo)}function To(t,e){var o=xo(t),i=xo(e);return Mo(o,i)}function Mo(e,o){var i,n=e.b,r=o.b;return n in tb&&r in tb[n]&&(i=tb[n][r]),t(i)||(i=Co),i}function Co(e,o){if(t(o)&&e!==o){for(var i=0,n=e.length;i<n;++i)o[i]=e[i];e=o}return e}function Eo(e,o){var i;if(t(o)){i=0;for(var n=e.length;i<n;++i)o[i]=e[i];i=o}else i=e.slice();return i}function Po(t,e,o){return To(e,o)(t,void 0,t.length)}function ko(t,e,o){return e=To(e,o),po(t,e)}function Ao(e){re.call(this),e=t(e)?e:{},this.c=[0,0];var o={};o.center=t(e.center)?e.center:null,this.e=vo(e.projection);var i,n,r,s=t(e.minZoom)?e.minZoom:0;i=t(e.maxZoom)?e.maxZoom:28;var a=t(e.zoomFactor)?e.zoomFactor:2;if(t(e.resolutions))i=e.resolutions,n=i[0],r=i[i.length-1],i=gt(i);else{n=vo(e.projection),r=n.G();var p=(null===r?360*Jm.degrees/Jm[n.a]:Math.max(no(r),to(r)))/256/Math.pow(2,0),h=p/Math.pow(2,28);n=e.maxResolution,t(n)?s=0:n=p/Math.pow(a,s),r=e.minResolution,t(r)||(r=t(e.maxZoom)?t(e.maxResolution)?n/Math.pow(a,i):p/Math.pow(a,i):h),i=s+Math.floor(Math.log(n/r)/Math.log(a)),r=n/Math.pow(a,i-s),i=vt(a,n,i-s)}this.a=n,this.g=r,this.d=s,s=t(e.extent)?ft(e.extent):yt,(t(e.enableRotation)?e.enableRotation:1)?(n=e.constrainRotation,n=t(n)&&!0!==n?!1===n?bt:l(n)?wt(n):bt:xt()):n=mt,this.f=new St(s,i,n),t(e.resolution)?o.resolution=e.resolution:t(e.zoom)&&(o.resolution=this.constrainResolution(this.a,e.zoom-this.d)),o.rotation=t(e.rotation)?e.rotation:0,this.t(o)}function Ro(t,e){return Math.max(no(t)/e[0],to(t)/e[1])}function Lo(t){var e=t.a,o=Math.log(e/t.g)/Math.log(2);return function(t){return e/Math.pow(2,t*o)}}function No(t){var e=t.a,o=Math.log(e/t.g)/Math.log(2);return function(t){return Math.log(e/t)/Math.log(2)/o}}function jo(e){var o=e.Ca(),i=e.e,n=e.ya();return e=e.Da(),{center:o.slice(),projection:t(i)?i:null,resolution:n,rotation:e}}function Io(e){return null!=e.Ca()&&t(e.ya())}function Do(t,e){t.c[1]+=e}function Fo(t){return 1-Math.pow(1-t,3)}function Oo(t){return 3*t*t-2*t*t*t}function Bo(t){return t}function Uo(t){return.5>t?Oo(2*t):1-Oo(2*(t-.5))}function Go(e){var o=e.source,i=t(e.start)?e.start:lm(),n=o[0],r=o[1],s=t(e.duration)?e.duration:1e3,a=t(e.easing)?e.easing:Oo;return function(t,e){if(e.time<i)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<i+s){var o=1-a((e.time-i)/s),p=n-e.viewState.center[0],l=r-e.viewState.center[1];return e.animate=!0,e.viewState.center[0]+=o*p,e.viewState.center[1]+=o*l,e.viewHints[0]+=1,!0}return!1}}function Ho(e){var o=t(e.rotation)?e.rotation:0,i=t(e.start)?e.start:lm(),n=t(e.duration)?e.duration:1e3,r=t(e.easing)?e.easing:Oo,s=t(e.anchor)?e.anchor:null;return function(t,e){if(e.time<i)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<i+n){var a=1-r((e.time-i)/n),a=(o-e.viewState.rotation)*a;if(e.animate=!0,e.viewState.rotation+=a,null!==s){var p=e.viewState.center;p[0]-=s[0],p[1]-=s[1],ge(p,a),ue(p,s)}return e.viewHints[0]+=1,!0}return!1}}function qo(e){var o=e.resolution,i=t(e.start)?e.start:lm(),n=t(e.duration)?e.duration:1e3,r=t(e.easing)?e.easing:Oo; -return function(t,e){if(e.time<i)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<i+n){var s=1-r((e.time-i)/n),a=o-e.viewState.resolution;return e.animate=!0,e.viewState.resolution+=s*a,e.viewHints[0]+=1,!0}return!1}}function $o(e,o,i,n){return t(n)?(n[0]=e,n[1]=o,n[2]=i,n):[e,o,i]}function Xo(t,e,o){return t+"/"+e+"/"+o}function Wo(t){var e,o,i=t[0],n=Array(i),r=1<<i-1;for(e=0;e<i;++e)o=48,t[1]&r&&(o+=1),t[2]&r&&(o+=2),n[e]=String.fromCharCode(o),r>>=1;return n.join("")}function zo(t){return Xo(t[0],t[1],t[2])}function Ko(t,e,o,i){this.b=t,this.d=e,this.c=o,this.a=i}function Vo(e,o,i,n,r){return t(r)?(r.b=e,r.d=o,r.c=i,r.a=n,r):new Ko(e,o,i,n)}function Yo(t,e,o){return t.b<=e&&e<=t.d&&t.c<=o&&o<=t.a}function Zo(t,e){return t.b==e.b&&t.c==e.c&&t.d==e.d&&t.a==e.a}function _o(t){return t.d-t.b+1}function Jo(t,e){return t.b<=e.d&&t.d>=e.b&&t.c<=e.a&&t.a>=e.c}function Qo(e){this.a=e.html,this.b=t(e.tileRanges)?e.tileRanges:null}function ti(t,e,o){Et.call(this,t,o),this.element=e}function ei(e){re.call(this),this.a=t(e)?e:[],oi(this)}function oi(t){t.set("length",t.a.length)}function ii(t){return s(t)?t:nb(t)}function ni(t){if(!p(t)){var e=t[0];e!=(0|e)&&(e=e+.5|0);var o=t[1];o!=(0|o)&&(o=o+.5|0);var i=t[2];i!=(0|i)&&(i=i+.5|0),t="rgba("+e+","+o+","+i+","+t[3]+")"}return t}function ri(e,o){var i=t(o)?o:[];return i[0]=lt(e[0]+.5|0,0,255),i[1]=lt(e[1]+.5|0,0,255),i[2]=lt(e[2]+.5|0,0,255),i[3]=lt(e[3],0,1),i}function si(){this.g=Te(),this.a=void 0,this.b=Te(),this.d=void 0,this.c=Te(),this.f=void 0,this.e=Te(),this.q=void 0,this.i=Te()}function ai(e,o,i,n,r){var s=!1;if(t(o)&&o!==e.a&&(s=e.b,Pe(s),s[12]=o,s[13]=o,s[14]=o,s[15]=1,e.a=o,s=!0),t(i)&&i!==e.d){s=e.c,Pe(s),s[0]=i,s[5]=i,s[10]=i,s[15]=1;var a=-.5*i+.5;s[12]=a,s[13]=a,s[14]=a,s[15]=1,e.d=i,s=!0}return t(n)&&n!==e.f&&(s=Math.cos(n),a=Math.sin(n),Ce(e.e,.213+.787*s-.213*a,.213-.213*s+.143*a,.213-.213*s-.787*a,0,.715-.715*s-.715*a,.715+.285*s+.14*a,.715-.715*s+.715*a,0,.072-.072*s+.928*a,.072-.072*s-.283*a,.072+.928*s+.072*a,0,0,0,0,1),e.f=n,s=!0),t(r)&&r!==e.q&&(Ce(e.i,.213+.787*r,.213-.213*r,.213-.213*r,0,.715-.715*r,.715+.285*r,.715-.715*r,0,.072-.072*r,.072-.072*r,.072+.928*r,0,0,0,0,1),e.q=r,s=!0),s&&(s=e.g,Pe(s),t(i)&&ke(s,e.c,s),t(o)&&ke(s,e.b,s),t(r)&&ke(s,e.i,s),t(n)&&ke(s,e.e,s)),e.g}function pi(e,o){this.x=t(e)?e:0,this.y=t(o)?o:0}function li(t,e){this.width=t,this.height=e}function hi(t){return t?new Ei(Mi(t)):hm||(hm=new Ei)}function ui(t){var e=document;return p(t)?e.getElementById(t):t}function ci(t,e){W(e,function(e,o){"style"==o?t.style.cssText=e:"class"==o?t.className=e:"for"==o?t.htmlFor=e:o in sb?t.setAttribute(sb[o],e):0==o.lastIndexOf("aria-",0)||0==o.lastIndexOf("data-",0)?t.setAttribute(o,e):t[o]=e})}function fi(t){return t=t.document.documentElement,new li(t.clientWidth,t.clientHeight)}function yi(t,e,o){var i=arguments,n=document,r=i[0],a=i[1];if(!rb&&a&&(a.name||a.type)){if(r=["<",r],a.name&&r.push(' name="',x(a.name),'"'),a.type){r.push(' type="',x(a.type),'"');var l={};rt(l,a),delete l.type,a=l}r.push(">"),r=r.join("")}return r=n.createElement(r),a&&(p(a)?r.className=a:s(a)?r.className=a.join(" "):ci(r,a)),2<i.length&&di(n,r,i,2),r}function di(t,e,o,i){function n(o){o&&e.appendChild(p(o)?t.createTextNode(o):o)}for(;i<o.length;i++){var r=o[i];!a(r)||u(r)&&0<r.nodeType?n(r):E(Ci(r)?D(r):r,n)}}function gi(t){return document.createElement(t)}function vi(t,e){di(Mi(t),t,arguments,1)}function mi(t){for(var e;e=t.firstChild;)t.removeChild(e)}function bi(t,e,o){t.insertBefore(e,t.childNodes[o]||null)}function wi(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function xi(t,e){var o=e.parentNode;o&&o.replaceChild(t,e)}function Si(t){if(void 0!=t.firstElementChild)t=t.firstElementChild;else for(t=t.firstChild;t&&1!=t.nodeType;)t=t.nextSibling;return t}function Ti(t,e){if(t.contains&&1==e.nodeType)return t==e||t.contains(e);if("undefined"!=typeof t.compareDocumentPosition)return t==e||Boolean(16&t.compareDocumentPosition(e));for(;e&&t!=e;)e=e.parentNode;return e==t}function Mi(t){return 9==t.nodeType?t:t.ownerDocument||t.document}function Ci(t){if(t&&"number"==typeof t.length){if(u(t))return"function"==typeof t.item||"string"==typeof t.item;if(h(t))return"function"==typeof t.item}return!1}function Ei(t){this.b=t||sm.document||document}function Pi(){return!0}function ki(t){var e=t.b;return t=Pm?e.body||e.documentElement:e.documentElement,e=e.parentWindow||e.defaultView,Cm&&pt("10")&&e.pageYOffset!=t.scrollTop?new pi(t.scrollLeft,t.scrollTop):new pi(e.pageXOffset||t.scrollLeft,e.pageYOffset||t.scrollTop)}function Ai(t){return t.classList?t.classList:(t=t.className,p(t)&&t.match(/\S+/g)||[])}function Ri(t,e){return t.classList?t.classList.contains(e):N(Ai(t),e)}function Li(t,e){t.classList?t.classList.add(e):Ri(t,e)||(t.className+=0<t.className.length?" "+e:e)}function Ni(t,e){t.classList?t.classList.remove(e):Ri(t,e)&&(t.className=P(Ai(t),function(t){return t!=e}).join(" "))}function ji(t,e){Ri(t,e)?Ni(t,e):Li(t,e)}function Ii(t,e,o,i){this.top=t,this.right=e,this.bottom=o,this.left=i}function Di(t,e,o,i){this.left=t,this.top=e,this.width=o,this.height=i}function Fi(t,e){var o=e.x<t.left?t.left-e.x:Math.max(e.x-(t.left+t.width),0),i=e.y<t.top?t.top-e.y:Math.max(e.y-(t.top+t.height),0);return o*o+i*i}function Oi(t,e){var o=Mi(t);return o.defaultView&&o.defaultView.getComputedStyle&&(o=o.defaultView.getComputedStyle(t,null))?o[e]||o.getPropertyValue(e)||"":""}function Bi(t,e){return Oi(t,e)||(t.currentStyle?t.currentStyle[e]:null)||t.style&&t.style[e]}function Ui(t,e,o){var i;e instanceof pi?(i=e.x,e=e.y):(i=e,e=o),t.style.left=qi(i),t.style.top=qi(e)}function Gi(t){var e;try{e=t.getBoundingClientRect()}catch(o){return{left:0,top:0,right:0,bottom:0}}return Cm&&t.ownerDocument.body&&(t=t.ownerDocument,e.left-=t.documentElement.clientLeft+t.body.clientLeft,e.top-=t.documentElement.clientTop+t.body.clientTop),e}function Hi(t){if(1==t.nodeType)return t=Gi(t),new pi(t.left,t.top);var e=h(t.Qi),o=t;return t.targetTouches&&t.targetTouches.length?o=t.targetTouches[0]:e&&t.b.targetTouches&&t.b.targetTouches.length&&(o=t.b.targetTouches[0]),new pi(o.clientX,o.clientY)}function qi(t){return"number"==typeof t&&(t+="px"),t}function $i(t){var e=Xi;if("none"!=Bi(t,"display"))return e(t);var o=t.style,i=o.display,n=o.visibility,r=o.position;return o.visibility="hidden",o.position="absolute",o.display="inline",t=e(t),o.display=i,o.position=r,o.visibility=n,t}function Xi(e){var o=e.offsetWidth,i=e.offsetHeight,n=Pm&&!o&&!i;return t(o)&&!n||!e.getBoundingClientRect?new li(o,i):(e=Gi(e),new li(e.right-e.left,e.bottom-e.top))}function Wi(t,e){t.style.display=e?"":"none"}function zi(t,e,o,i){if(/^\d+px?$/.test(e))return parseInt(e,10);var n=t.style[o],r=t.runtimeStyle[o];return t.runtimeStyle[o]=t.currentStyle[o],t.style[o]=e,e=t.style[i],t.style[o]=n,t.runtimeStyle[o]=r,e}function Ki(t,e){var o=t.currentStyle?t.currentStyle[e]:null;return o?zi(t,o,"left","pixelLeft"):0}function Vi(t,e){if(Cm){var o=Ki(t,e+"Left"),i=Ki(t,e+"Right"),n=Ki(t,e+"Top"),r=Ki(t,e+"Bottom");return new Ii(n,i,r,o)}return o=Oi(t,e+"Left"),i=Oi(t,e+"Right"),n=Oi(t,e+"Top"),r=Oi(t,e+"Bottom"),new Ii(parseFloat(n),parseFloat(i),parseFloat(r),parseFloat(o))}function Yi(t,e){if("none"==(t.currentStyle?t.currentStyle[e+"Style"]:null))return 0;var o=t.currentStyle?t.currentStyle[e+"Width"]:null;return o in ab?ab[o]:zi(t,o,"left","pixelLeft")}function Zi(t){if(Cm&&!(Cm&&9<=Im)){var e=Yi(t,"borderLeft"),o=Yi(t,"borderRight"),i=Yi(t,"borderTop");return t=Yi(t,"borderBottom"),new Ii(i,o,t,e)}return e=Oi(t,"borderLeftWidth"),o=Oi(t,"borderRightWidth"),i=Oi(t,"borderTopWidth"),t=Oi(t,"borderBottomWidth"),new Ii(parseFloat(i),parseFloat(o),parseFloat(t),parseFloat(e))}function _i(e,o,i){Et.call(this,e),this.map=o,this.frameState=t(i)?i:null}function Ji(e){re.call(this),this.element=t(e.element)?e.element:null,this.a=this.L=null,this.l=[],this.render=t(e.render)?e.render:o,t(e.target)&&this.c(e.target)}function Qi(){this.c=0,this.d={},this.a=this.b=null}function tn(t,e){return t.d.hasOwnProperty(e)}function en(e){Qi.call(this),this.e=t(e)?e:2048}function on(t){return t.Tb()>t.e}function nn(t,e){Qt.call(this),this.b=t,this.state=e}function rn(t){t.dispatchEvent("change")}function sn(e){re.call(this),this.f=xo(e.projection),this.d=t(e.attributions)?e.attributions:null,this.L=e.logo,this.o=t(e.state)?e.state:"ready",this.H=e.wrapX}function an(t){return t.H}function pn(t,e){t.o=e,t.k()}function ln(t){return function(){return t}}function hn(t){return t}function un(t){var e;return e=e||0,function(){return t.apply(this,Array.prototype.slice.call(arguments,0,e))}}function cn(t){var e=arguments,o=e.length;return function(){for(var t,i=0;i<o;i++)t=e[i].apply(this,arguments);return t}}function fn(t){var e=arguments,o=e.length;return function(){for(var t=0;t<o;t++)if(!e[t].apply(this,arguments))return!1;return!0}}function yn(e){this.minZoom=t(e.minZoom)?e.minZoom:0,this.b=e.resolutions,this.maxZoom=this.b.length-1,this.f=t(e.origin)?e.origin:null,this.i=null,t(e.origins)&&(this.i=e.origins),this.c=null,t(e.tileSizes)&&(this.c=e.tileSizes),this.g=t(e.tileSize)?e.tileSize:null===this.c?256:null,this.a=[0,0],this.d=null,t(e.widths)&&(this.d=e.widths)}function dn(t,e,o,i){bn(t,e[0],e[1],o,!1,ub);var n=ub[1],r=ub[2];return bn(t,e[2],e[3],o,!0,ub),Vo(n,ub[1],r,ub[2],i)}function gn(t,e,o,i){return dn(t,e,t.ma(o),i)}function vn(t,e){var o=t.Mb(e[0]),i=t.ma(e[0]),n=he(t.na(e[0]),t.a);return[o[0]+(e[1]+.5)*n[0]*i,o[1]+(e[2]+.5)*n[1]*i]}function mn(t,e,o){var i=t.Mb(e[0]),n=t.ma(e[0]);t=he(t.na(e[0]),t.a);var r=i[0]+e[1]*t[0]*n;return e=i[1]+e[2]*t[1]*n,qe(r,e,r+t[0]*n,e+t[1]*n,o)}function bn(t,e,o,i,n,r){var s=Sn(t,i),a=i/t.ma(s),p=t.Mb(s);return t=he(t.na(s),t.a),e=a*(e-p[0])/(i*t[0]),o=a*(o-p[1])/(i*t[1]),n?(e=Math.ceil(e)-1,o=Math.ceil(o)-1):(e=Math.floor(e),o=Math.floor(o)),$o(s,e,o,r)}function wn(e,o,i){return i=gn(e,Cn(i),o),e=xn(e,o),t(e)||(e=_o(i)),Vo(0,e-1,0,i.a-i.c+1,void 0)}function xn(t,e){if(null!==t.d)return t.d[e]}function Sn(t,e){var o=dt(t.b,e,0);return lt(o,t.minZoom,t.maxZoom)}function Tn(e){var o=e.i;if(null===o){for(var o=Cn(e),i=he(t(void 0)?void 0:256),n=t(void 0)?void 0:"bottom-left",r=Mn(o,void 0,he(i)),s=Array(r.length),a=no(o),p=r.length-1;0<=p;--p)s[p]=a/i[0]/r[p];o=new yn({origin:Je(o,n),resolutions:r,tileSize:t(void 0)?void 0:256,widths:s}),e.i=o}return o}function Mn(e,o,i){o=t(o)?o:42;var n=to(e);for(e=no(e),i=t(i)?i:he(256),i=Math.max(e/i[0],n/i[1]),o+=1,n=Array(o),e=0;e<o;++e)n[e]=i/Math.pow(2,e);return n}function Cn(t){t=xo(t);var e=t.G();return null===e&&(t=180*Jm.degrees/t.Gd(),e=qe(-t,-t,t,t)),e}function En(e){sn.call(this,{attributions:e.attributions,extent:e.extent,logo:e.logo,projection:e.projection,state:e.state,wrapX:e.wrapX}),this.X=!!t(e.opaque)&&e.opaque,this.ba=t(e.tilePixelRatio)?e.tilePixelRatio:1,this.tileGrid=t(e.tileGrid)?e.tileGrid:null,this.a=new en,this.c=[0,0]}function Pn(t,e,o,i){for(var n,r,s=!0,a=o.b;a<=o.d;++a)for(var p=o.c;p<=o.a;++p)n=t.bb(e,a,p),r=!1,tn(t.a,n)&&(n=t.a.get(n),(r=2===n.state)&&(r=!1!==i(n))),r||(s=!1);return s}function kn(t,e){return null===t.tileGrid?Tn(e):t.tileGrid}function An(t,e){Et.call(this,t),this.tile=e}function Rn(e){e=t(e)?e:{},this.p=gi("UL"),this.o=gi("LI"),this.p.appendChild(this.o),Wi(this.o,!1),this.d=!t(e.collapsed)||e.collapsed,this.g=!t(e.collapsible)||e.collapsible,this.g||(this.d=!1);var o=t(e.className)?e.className:"ol-attribution",i=t(e.tipLabel)?e.tipLabel:"Attributions",n=t(e.collapseLabel)?e.collapseLabel:"»";this.H=p(n)?yi("SPAN",{},n):n,n=t(e.label)?e.label:"i",this.J=p(n)?yi("SPAN",{},n):n,i=yi("BUTTON",{type:"button",title:i},this.g&&!this.d?this.H:this.J),Ht(i,"click",this.gl,!1,this),Ht(i,["mouseout",Hm],function(){this.blur()},!1),o=yi("DIV",o+" ol-unselectable ol-control"+(this.d&&this.g?" ol-collapsed":"")+(this.g?"":" ol-uncollapsible"),this.p,i),Ji.call(this,{element:o,render:t(e.render)?e.render:Ln,target:e.target}),this.n=!0,this.i={},this.f={},this.N={}}function Ln(e){if(e=e.frameState,null===e)this.n&&(Wi(this.element,!1),this.n=!1);else{var o,i,n,r,s,a,p,l,h,u,f,y=e.layerStatesArray,d=nt(e.attributions),g={},v=e.viewState.projection;for(i=0,o=y.length;i<o;i++)if(a=y[i].layer.da(),null!==a&&(u=c(a).toString(),h=a.d,null!==h))for(n=0,r=h.length;n<r;n++)if(p=h[n],l=c(p).toString(),!(l in d)){if(s=e.usedTiles[u],t(s)){var m=kn(a,v);t:{f=p;var b=v;if(null===f.b)f=!0;else{var w=void 0,x=void 0,S=void 0,T=void 0;for(T in s)if(T in f.b)for(var M,S=s[T],w=0,x=f.b[T].length;w<x;++w){if(M=f.b[T][w],Jo(M,S)){f=!0;break t}var C=wn(m,parseInt(T,10),b),E=_o(C);if((S.b<C.b||S.d>C.d)&&(Jo(M,new Ko(ht(S.b,E),ht(S.d,E),S.c,S.a))||_o(S)>E&&Jo(M,C))){f=!0;break t}}f=!1}}}else f=!1;f?(l in g&&delete g[l],d[l]=p):g[l]=p}o=[d,g],i=o[0],o=o[1];for(var P in this.i)P in i?(this.f[P]||(Wi(this.i[P],!0),this.f[P]=!0),delete i[P]):P in o?(this.f[P]&&(Wi(this.i[P],!1),delete this.f[P]),delete o[P]):(wi(this.i[P]),delete this.i[P],delete this.f[P]);for(P in i)n=gi("LI"),n.innerHTML=i[P].a,this.p.appendChild(n),this.i[P]=n,this.f[P]=!0;for(P in o)n=gi("LI"),n.innerHTML=o[P].a,Wi(n,!1),this.p.appendChild(n),this.i[P]=n;P=!Q(this.f)||!Q(e.logos),this.n!=P&&(Wi(this.element,P),this.n=P),P&&Q(this.f)?Li(this.element,"ol-logo-only"):Ni(this.element,"ol-logo-only");var k;e=e.logos,P=this.N;for(k in P)k in e||(wi(P[k]),delete P[k]);for(var A in e)A in P||(k=new Image,k.src=A,i=e[A],""===i?i=k:(i=yi("A",{href:i}),i.appendChild(k)),this.o.appendChild(i),P[A]=i);Wi(this.o,!Q(e))}}function Nn(t){ji(t.element,"ol-collapsed"),t.d?xi(t.H,t.J):xi(t.J,t.H),t.d=!t.d}function jn(e){e=t(e)?e:{};var o=t(e.className)?e.className:"ol-rotate",i=t(e.label)?e.label:"⇧";this.d=null,p(i)?this.d=yi("SPAN","ol-compass",i):(this.d=i,Li(this.d,"ol-compass")),i=yi("BUTTON",{"class":o+"-reset",type:"button",title:t(e.tipLabel)?e.tipLabel:"Reset rotation"},this.d),Ht(i,"click",jn.prototype.o,!1,this),Ht(i,["mouseout",Hm],function(){this.blur()},!1),o=yi("DIV",o+" ol-unselectable ol-control",i),Ji.call(this,{element:o,render:t(e.render)?e.render:In,target:e.target}),this.g=t(e.duration)?e.duration:250,this.f=!t(e.autoHide)||e.autoHide,this.i=void 0,this.f&&Li(this.element,"ol-hidden")}function In(t){if(t=t.frameState,null!==t){if(t=t.viewState.rotation,t!=this.i){var e="rotate("+180*t/Math.PI+"deg)";if(this.f){var o=this.element;0===t?Li(o,"ol-hidden"):Ni(o,"ol-hidden")}this.d.style.msTransform=e,this.d.style.webkitTransform=e,this.d.style.transform=e}this.i=t}}function Dn(e){e=t(e)?e:{};var o=t(e.className)?e.className:"ol-zoom",i=t(e.delta)?e.delta:1,n=t(e.zoomOutLabel)?e.zoomOutLabel:"−",r=t(e.zoomOutTipLabel)?e.zoomOutTipLabel:"Zoom out",s=yi("BUTTON",{"class":o+"-in",type:"button",title:t(e.zoomInTipLabel)?e.zoomInTipLabel:"Zoom in"},t(e.zoomInLabel)?e.zoomInLabel:"+");Ht(s,"click",g(Dn.prototype.f,i),!1,this),Ht(s,["mouseout",Hm],function(){this.blur()},!1),n=yi("BUTTON",{"class":o+"-out",type:"button",title:r},n),Ht(n,"click",g(Dn.prototype.f,-i),!1,this),Ht(n,["mouseout",Hm],function(){this.blur()},!1),o=yi("DIV",o+" ol-unselectable ol-control",s,n),Ji.call(this,{element:o,target:e.target}),this.d=t(e.duration)?e.duration:250}function Fn(e){e=t(e)?e:{};var o=new ei;return(t(e.zoom)?e.zoom:1)&&o.push(new Dn(e.zoomOptions)),(t(e.rotate)?e.rotate:1)&&o.push(new jn(e.rotateOptions)),(t(e.attribution)?e.attribution:1)&&o.push(new Rn(e.attributionOptions)),o}function On(){var t=hi().b,e=t.body;return!!(e.webkitRequestFullscreen||e.mozRequestFullScreen&&t.mozFullScreenEnabled||e.msRequestFullscreen&&t.msFullscreenEnabled||e.requestFullscreen&&t.fullscreenEnabled)}function Bn(t){t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():t.requestFullscreen&&t.requestFullscreen()}function Un(){var t=hi().b;return!!(t.webkitIsFullScreen||t.mozFullScreen||t.msFullscreenElement||t.fullscreenElement)}function Gn(e){e=t(e)?e:{},this.d=t(e.className)?e.className:"ol-full-screen";var o=t(e.label)?e.label:"↔";this.f=p(o)?document.createTextNode(String(o)):o,o=t(e.labelActive)?e.labelActive:"×",this.g=p(o)?document.createTextNode(String(o)):o,o=t(e.tipLabel)?e.tipLabel:"Toggle full-screen",o=yi("BUTTON",{"class":this.d+"-"+Un(),type:"button",title:o},this.f),Ht(o,"click",this.n,!1,this),Ht(o,["mouseout",Hm],function(){this.blur()},!1),Ht(sm.document,cb,this.i,!1,this);var i=this.d+" ol-unselectable ol-control "+(On()?"":"ol-unsupported"),o=yi("DIV",i,o);Ji.call(this,{element:o,target:e.target}),this.o=!!t(e.keys)&&e.keys}function Hn(e){e=t(e)?e:{};var o=yi("DIV",t(e.className)?e.className:"ol-mouse-position");Ji.call(this,{element:o,render:t(e.render)?e.render:qn,target:e.target}),Ht(this,se("projection"),this.jl,!1,this),t(e.coordinateFormat)&&this.vh(e.coordinateFormat),t(e.projection)&&this.yg(xo(e.projection)),this.o=t(e.undefinedHTML)?e.undefinedHTML:"",this.i=o.innerHTML,this.g=this.f=this.d=null}function qn(t){t=t.frameState,null===t?this.d=null:this.d!=t.viewState.projection&&(this.d=t.viewState.projection,this.f=null),$n(this,this.g)}function $n(e,o){var i=e.o;if(null!==o&&null!==e.d){if(null===e.f){var n=e.xg();e.f=t(n)?Mo(e.d,n):Co}n=e.a.ka(o),null!==n&&(e.f(n,n),i=e.Uf(),i=t(i)?i(n):n.toString())}t(e.i)&&i==e.i||(e.element.innerHTML=i,e.i=i)}function Xn(t,e,o){Tt.call(this),this.d=t,this.c=o,this.b=e||window,this.a=d(this.Pf,this)}function Wn(t){if(null!=t.$){var e=zn(t),o=Kn(t);e&&!o&&t.b.mozRequestAnimationFrame?zt(t.$):e&&o?o.call(t.b,t.$):t.b.clearTimeout(t.$)}t.$=null}function zn(t){return t=t.b,t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||null}function Kn(t){return t=t.b,t.cancelAnimationFrame||t.cancelRequestAnimationFrame||t.webkitCancelRequestAnimationFrame||t.mozCancelRequestAnimationFrame||t.oCancelRequestAnimationFrame||t.msCancelRequestAnimationFrame||null}function Vn(t){sm.setTimeout(function(){throw t},0)}function Yn(t,e){var o=t;e&&(o=d(t,e)),o=yb(o),!h(sm.setImmediate)||sm.Window&&sm.Window.prototype.setImmediate==sm.setImmediate?(fb||(fb=Zn()),fb(o)):sm.setImmediate(o)}function Zn(){var e=sm.MessageChannel;if("undefined"==typeof e&&"undefined"!=typeof window&&window.postMessage&&window.addEventListener&&(e=function(){var t=document.createElement("iframe");t.style.display="none",t.src="",document.documentElement.appendChild(t);var e=t.contentWindow,t=e.document;t.open(),t.write(""),t.close();var o="callImmediate"+Math.random(),i="file:"==e.location.protocol?"*":e.location.protocol+"//"+e.location.host,t=d(function(t){"*"!=i&&t.origin!=i||t.data!=o||this.port1.onmessage()},this);e.addEventListener("message",t,!1),this.port1={},this.port2={postMessage:function(){e.postMessage(o,i)}}}),"undefined"!=typeof e&&!X("Trident")&&!X("MSIE")){var o=new e,i={},n=i;return o.port1.onmessage=function(){if(t(i.next)){i=i.next;var e=i.Lf;i.Lf=null,e()}},function(t){n.next={Lf:t},n=n.next,o.port2.postMessage(0)}}return"undefined"!=typeof document&&"onreadystatechange"in document.createElement("script")?function(t){var e=document.createElement("script");e.onreadystatechange=function(){e.onreadystatechange=null,e.parentNode.removeChild(e),e=null,t(),t=null},document.documentElement.appendChild(e)}:function(t){sm.setTimeout(t,0)}}function _n(t){if("function"==typeof t.cb)return t.cb();if(p(t))return t.split("");if(a(t)){for(var e=[],o=t.length,i=0;i<o;i++)e.push(t[i]);return e}return V(t)}function Jn(t,e){if("function"==typeof t.forEach)t.forEach(e,void 0);else if(a(t)||p(t))E(t,e,void 0);else{var o;if("function"==typeof t.C)o=t.C();else if("function"!=typeof t.cb)if(a(t)||p(t)){o=[];for(var i=t.length,n=0;n<i;n++)o.push(n)}else o=Y(t);else o=void 0;for(var i=_n(t),n=i.length,r=0;r<n;r++)e.call(void 0,i[r],o&&o[r],t)}}function Qn(t,e){this.a={},this.b=[],this.c=0;var o=arguments.length;if(1<o){if(o%2)throw Error("Uneven number of arguments");for(var i=0;i<o;i+=2)this.set(arguments[i],arguments[i+1])}else if(t){t instanceof Qn?(o=t.C(),i=t.cb()):(o=Y(t),i=V(t));for(var n=0;n<o.length;n++)this.set(o[n],i[n])}}function tr(t){if(t.c!=t.b.length){for(var e=0,o=0;e<t.b.length;){var i=t.b[e];er(t.a,i)&&(t.b[o++]=i),e++}t.b.length=o}if(t.c!=t.b.length){for(var n={},o=e=0;e<t.b.length;)i=t.b[e],er(n,i)||(t.b[o++]=i,n[i]=1),e++;t.b.length=o}}function er(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function or(){this.b=lm()}function ir(t){Qt.call(this),this.pd=t||window,this.Md=Ht(this.pd,"resize",this.ik,!1,this),this.Nd=fi(this.pd||window)}function nr(t,e,o,i,n){if(!(Cm||Pm&&pt("525")))return!0;if(km&&n)return rr(t);if(n&&!i)return!1;if(l(e)&&(e=sr(e)),!o&&(17==e||18==e||km&&91==e))return!1;if(Pm&&i&&o)switch(t){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(Cm&&i&&e==t)return!1;switch(t){case 13:return!0;case 27:return!Pm}return rr(t)}function rr(t){if(48<=t&&57>=t||96<=t&&106>=t||65<=t&&90>=t||Pm&&0==t)return!0;switch(t){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function sr(t){if(Em)t=ar(t);else if(km&&Pm)t:switch(t){case 93:t=91}return t}function ar(t){switch(t){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return t}}function pr(t,e){Qt.call(this),t&&lr(this,t,e)}function lr(t,e,o){t.Vd&&hr(t),t.Z=e,t.Ud=Ht(t.Z,"keypress",t,o),t.Ye=Ht(t.Z,"keydown",t.b,o,t),t.Vd=Ht(t.Z,"keyup",t.a,o,t)}function hr(t){t.Ud&&(zt(t.Ud),zt(t.Ye),zt(t.Vd),t.Ud=null,t.Ye=null,t.Vd=null),t.Z=null,t.Ja=-1,t.Hb=-1}function ur(t,e,o,i){Rt.call(this,i),this.type="key",this.e=t,this.q=e}function cr(t,e){Qt.call(this);var o=this.Z=t;(o=u(o)&&1==o.nodeType?this.Z:this.Z?this.Z.body:null)&&Bi(o,"direction"),this.b=Ht(this.Z,Em?"DOMMouseScroll":"mousewheel",this,e)}function fr(t,e){return Pm&&(km||Rm)&&0!=t%e?t:t/e}function yr(t,e,o,i){Rt.call(this,e),this.type="mousewheel",this.detail=t,this.o=i}function dr(e,o,i){Et.call(this,e),this.b=o,e=t(i)?i:{},this.buttons=gr(e),this.pressure=vr(e,this.buttons),this.bubbles=ot(e,"bubbles",!1),this.cancelable=ot(e,"cancelable",!1),this.view=ot(e,"view",null),this.detail=ot(e,"detail",null),this.screenX=ot(e,"screenX",0),this.screenY=ot(e,"screenY",0),this.clientX=ot(e,"clientX",0),this.clientY=ot(e,"clientY",0),this.button=ot(e,"button",0),this.relatedTarget=ot(e,"relatedTarget",null),this.pointerId=ot(e,"pointerId",0),this.width=ot(e,"width",0),this.height=ot(e,"height",0),this.pointerType=ot(e,"pointerType",""),this.isPrimary=ot(e,"isPrimary",!1),o.preventDefault&&(this.preventDefault=function(){o.preventDefault()})}function gr(t){if(t.buttons||bb)t=t.buttons;else switch(t.which){case 1:t=1;break;case 2:t=4;break;case 3:t=2;break;default:t=0}return t}function vr(t,e){var o=0;return o=t.pressure?t.pressure:e?.5:0}function mr(e,o){var i=gi("CANVAS");return t(e)&&(i.width=e),t(o)&&(i.height=o),i.getContext("2d")}function br(t,e){var o=t.style;o.WebkitTransform=e,o.MozTransform=e,o.b=e,o.msTransform=e,o.transform=e,Cm&&!Dm&&(t.style.transformOrigin="0 0")}function wr(e,o){var i;if(Mb()){if(t(6)){var n=Array(16);for(i=0;16>i;++i)n[i]=o[i].toFixed(6);i=n.join(",")}else i=o.join(",");br(e,"matrix3d("+i+")")}else if(Tb()){if(n=[o[0],o[1],o[4],o[5],o[12],o[13]],t(6)){var r=Array(6);for(i=0;6>i;++i)r[i]=n[i].toFixed(6);i=r.join(",")}else i=n.join(",");br(e,"matrix("+i+")")}else e.style.left=Math.round(o[12])+"px",e.style.top=Math.round(o[13])+"px"}function xr(t,e){var o,i,n=Cb.length;for(i=0;i<n;++i)try{if(o=t.getContext(Cb[i],e),null!==o)return o}catch(r){}return null}function Sr(t,e){this.b=t,this.e=e}function Tr(t){Sr.call(this,t,{mousedown:this.tk,mousemove:this.uk,mouseup:this.xk,mouseover:this.wk,mouseout:this.vk}),this.a=t.a,this.c=[]}function Mr(t,e){for(var o,i=t.c,n=e.clientX,r=e.clientY,s=0,a=i.length;s<a&&(o=i[s]);s++){var p=Math.abs(r-o[1]);if(25>=Math.abs(n-o[0])&&25>=p)return!0}return!1}function Cr(t){var e=Or(t,t.b),o=e.preventDefault;return e.preventDefault=function(){t.preventDefault(),o()},e.pointerId=1,e.isPrimary=!0,e.pointerType="mouse",e}function Er(t){Sr.call(this,t,{MSPointerDown:this.Ck,MSPointerMove:this.Dk,MSPointerUp:this.Gk,MSPointerOut:this.Ek,MSPointerOver:this.Fk,MSPointerCancel:this.Bk,MSGotPointerCapture:this.zk,MSLostPointerCapture:this.Ak}),this.a=t.a,this.c=["","unavailable","touch","pen","mouse"]}function Pr(t,e){var o=e;return l(e.b.pointerType)&&(o=Or(e,e.b),o.pointerType=t.c[e.b.pointerType]),o}function kr(t){Sr.call(this,t,{pointerdown:this.nn,pointermove:this.pn,pointerup:this.sn,pointerout:this.qn,pointerover:this.rn,pointercancel:this.mn,gotpointercapture:this.Fj,lostpointercapture:this.sk})}function Ar(t,e){Sr.call(this,t,{touchstart:this.so,touchmove:this.ro,touchend:this.qo,touchcancel:this.po}),this.a=t.a,this.g=e,this.c=void 0,this.f=0,this.d=void 0}function Rr(t,e,o){return e=Or(e,o),e.pointerId=o.identifier+2,e.bubbles=!0,e.cancelable=!0,e.detail=t.f,e.button=0,e.buttons=1,e.width=o.webkitRadiusX||o.radiusX||0,e.height=o.webkitRadiusY||o.radiusY||0,e.pressure=o.webkitForce||o.force||.5,e.isPrimary=t.c===o.identifier,e.pointerType="touch",e.clientX=o.clientX,e.clientY=o.clientY,e.screenX=o.screenX,e.screenY=o.screenY,e}function Lr(t,e,o){function i(){e.preventDefault()}var n,r,s=Array.prototype.slice.call(e.b.changedTouches),a=s.length;for(n=0;n<a;++n)r=Rr(t,e,s[n]),r.preventDefault=i,o.call(t,e,r)}function Nr(t,e){var o=t.g.c,i=e.b.changedTouches[0];if(t.c===i.identifier){var n=[i.clientX,i.clientY];o.push(n),sm.setTimeout(function(){j(o,n)},2500)}}function jr(t){Qt.call(this),this.Z=t,this.a={},this.c={},this.b=[],Nb?Ir(this,new kr(this)):jb?Ir(this,new Er(this)):(t=new Tr(this),Ir(this,t),Lb&&Ir(this,new Ar(this,t))),t=this.b.length;for(var e,o=0;o<t;o++)e=this.b[o],Dr(this,Y(e.e))}function Ir(t,e){var o=Y(e.e);o&&(E(o,function(t){var o=e.e[t];o&&(this.c[t]=d(o,e))},t),t.b.push(e))}function Dr(t,e){E(e,function(t){Ht(this.Z,t,this.d,!1,this)},t)}function Fr(t,e){E(e,function(t){Wt(this.Z,t,this.d,!1,this)},t)}function Or(t,e){for(var o,i={},n=0,r=zb.length;n<r;n++)o=zb[n][0],i[o]=t[o]||e[o]||zb[n][1];return i}function Br(t,e,o){t.ec(e,o);var i=e.relatedTarget;null!==i&&Ti(e.target,i)||(e.bubbles=!1,Gr(t,Xb,e,o))}function Ur(t,e,o){e.bubbles=!0,Gr(t,Hb,e,o);var i=e.relatedTarget;null!==i&&Ti(e.target,i)||(e.bubbles=!1,Gr(t,$b,e,o))}function Gr(t,e,o,i){t.dispatchEvent(new dr(e,i,o))}function Hr(t,e){t.dispatchEvent(new dr(e.type,e,e.b))}function qr(e,o,i,n,r){_i.call(this,e,o,r),this.b=i,this.originalEvent=i.b,this.pixel=o.Bd(this.originalEvent),this.coordinate=o.ka(this.pixel),this.dragging=!!t(n)&&n}function $r(t,e,o,i,n){qr.call(this,t,e,o.b,i,n),this.a=o}function Xr(t){Qt.call(this),this.c=t,this.f=0,this.g=!1,this.a=this.i=this.d=null,t=this.c.a,this.o=0,this.l={},this.e=new jr(t),this.b=null,this.i=Ht(this.e,Ub,this.dk,!1,this),this.q=Ht(this.e,Bb,this.Kn,!1,this)}function Wr(t,e){var o;o=new $r(Vb,t.c,e),t.dispatchEvent(o),0!==t.f?(sm.clearTimeout(t.f),t.f=0,o=new $r(Yb,t.c,e),t.dispatchEvent(o)):t.f=sm.setTimeout(d(function(){this.f=0;var t=new $r(Kb,this.c,e);this.dispatchEvent(t)},t),250)}function zr(t,e){e.type==Qb||e.type==tw?delete t.l[e.pointerId]:e.type==Jb&&(t.l[e.pointerId]=!0),t.o=K(t.l)}function Kr(e){re.call(this);var o=nt(e);o.brightness=t(e.brightness)?e.brightness:0,o.contrast=t(e.contrast)?e.contrast:1,o.hue=t(e.hue)?e.hue:0,o.opacity=t(e.opacity)?e.opacity:1,o.saturation=t(e.saturation)?e.saturation:1,o.visible=!t(e.visible)||e.visible,o.maxResolution=t(e.maxResolution)?e.maxResolution:1/0,o.minResolution=t(e.minResolution)?e.minResolution:0,this.t(o)}function Vr(t){var e=t.Bb(),o=t.Cb(),i=t.Db(),n=t.Kb(),r=t.Gb(),s=t.We(),a=t.eb(),p=t.G(),l=t.Eb(),h=t.Fb();return{layer:t,brightness:lt(e,-1,1),contrast:Math.max(o,0),hue:i,opacity:lt(n,0,1),saturation:Math.max(r,0),i:s,visible:a,extent:p,maxResolution:l,minResolution:Math.max(h,0)}}function Yr(e){var o=nt(e);delete o.source,Kr.call(this,o),this.f=null,Ht(this,se("source"),this.kk,!1,this),this.Jc(t(e.source)?e.source:null)}function Zr(t,e){return t.visible&&e>=t.minResolution&&e<t.maxResolution}function _r(t,e,o,i,n){Qt.call(this),this.f=n,this.extent=t,this.e=o,this.resolution=e,this.state=i}function Jr(t,e,o,i,n,r,s,a){return Pe(t),0===e&&0===o||Re(t,e,o),1==i&&1==n||Le(t,i,n),0!==r&&Ne(t,r),0===s&&0===a||Re(t,s,a),t}function Qr(t,e){return t[0]==e[0]&&t[1]==e[1]&&t[4]==e[4]&&t[5]==e[5]&&t[12]==e[12]&&t[13]==e[13]}function ts(t,e,o){var i=t[1],n=t[5],r=t[13],s=e[0];return e=e[1],o[0]=t[0]*s+t[4]*e+t[12],o[1]=i*s+n*e+r,o}function es(t){oe.call(this),this.a=t}function os(t,e){var o=e.state;return 2!=o&&3!=o&&Ht(e,"change",t.Ol,!1,t),0==o&&(e.load(),o=e.state),2==o}function is(t){var e=t.a;e.eb()&&"ready"==e.We()&&t.k()}function ns(t,e){on(e.a)&&t.postRenderFunctions.push(g(function(t,e,o){e=c(t).toString(),t=t.a,o=o.usedTiles[e];for(var i;on(t)&&(e=t.b.qc,i=e.b[0].toString(),!(i in o&&o[i].contains(e.b)));)t.pop().Yc()},e))}function rs(t,e){if(null!=e){var o,i,n;for(i=0,n=e.length;i<n;++i)o=e[i],t[c(o).toString()]=o}}function ss(e,o){var i=o.L;t(i)&&(p(i)?e.logos[i]="":u(i)&&(e.logos[i.src]=i.href))}function as(t,e,o,i){e=c(e).toString(),o=o.toString(),e in t?o in t[e]?(t=t[e][o],i.b<t.b&&(t.b=i.b),i.d>t.d&&(t.d=i.d),i.c<t.c&&(t.c=i.c),i.a>t.a&&(t.a=i.a)):t[e][o]=i:(t[e]={},t[e][o]=i)}function ps(t,e,o){return[e*(Math.round(t[0]/e)+o[0]%2/2),e*(Math.round(t[1]/e)+o[1]%2/2)]}function ls(e,o,i,n,r,s,a,p,l,h){var u=c(o).toString();u in e.wantedTiles||(e.wantedTiles[u]={});var f=e.wantedTiles[u];e=e.tileQueue;var y,d,g,v,m,b,w=i.minZoom;for(b=a;b>=w;--b)for(d=gn(i,s,b,d),g=i.ma(b),v=d.b;v<=d.d;++v)for(m=d.c;m<=d.a;++m)a-b<=p?(y=o.Vb(b,v,m,n,r),0==y.state&&(f[zo(y.b)]=!0,y.gb()in e.c||xs(e,[y,u,vn(i,y.b),g])),t(l)&&l.call(h,y)):o.yf(b,v,m)}function hs(t){this.U=t.opacity,this.V=t.rotateWithView,this.q=t.rotation,this.l=t.scale,this.n=t.snapToPixel}function us(e){e=t(e)?e:{},this.e=t(e.anchor)?e.anchor:[.5,.5],this.d=null,this.a=t(e.anchorOrigin)?e.anchorOrigin:"top-left",this.g=t(e.anchorXUnits)?e.anchorXUnits:"fraction",this.i=t(e.anchorYUnits)?e.anchorYUnits:"fraction";var o=t(e.crossOrigin)?e.crossOrigin:null,i=t(e.img)?e.img:null,n=t(e.imgSize)?e.imgSize:null,r=e.src;t(r)&&0!==r.length||null===i||(r=i.src);var s=t(e.src)?0:2,a=fs.Ia(),p=a.get(r,o);null===p&&(p=new cs(i,r,n,o,s),a.set(r,o,p)),this.b=p,this.p=t(e.offset)?e.offset:[0,0],this.c=t(e.offsetOrigin)?e.offsetOrigin:"top-left",this.f=null,this.o=t(e.size)?e.size:null,hs.call(this,{opacity:t(e.opacity)?e.opacity:1,rotation:t(e.rotation)?e.rotation:0,scale:t(e.scale)?e.scale:1,snapToPixel:!t(e.snapToPixel)||e.snapToPixel,rotateWithView:!!t(e.rotateWithView)&&e.rotateWithView})}function cs(t,e,o,i,n){Qt.call(this),this.e=null,this.b=null===t?new Image:t,null!==i&&(this.b.crossOrigin=i),this.d=null,this.c=n,this.a=o,this.f=e,this.i=!1}function fs(){this.b={},this.a=0}function ys(t,e){Tt.call(this),this.g=e,this.c=null,this.f={},this.o={}}function ds(t){var e=t.viewState,o=t.coordinateToPixelMatrix;Jr(o,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Ae(o,t.pixelToCoordinateMatrix)}function gs(){var t=fs.Ia();if(32<t.a){var e,o,i=0;for(e in t.b){o=t.b[e];var n;(n=0===(3&i++))&&(jt(o)?o=ee(o,void 0,void 0):(o=_t(o),o=!!o&&Ut(o,void 0,void 0)),n=!o),n&&(delete t.b[e],--t.a)}}}function vs(t,e){var o=c(e).toString();if(o in t.f)return t.f[o];var i=t.Ke(e);return t.f[o]=i,t.o[o]=Ht(i,"change",t.Tj,!1,t),i}function ms(t,e){for(var o in t.f)if(!(o in e.layerStates)){e.postRenderFunctions.push(d(t.Pn,t));break}}function bs(t,e){this.g=t,this.e=e,this.b=[],this.a=[],this.c={}}function ws(t){var e=t.b,o=t.a,i=e[0];return 1==e.length?(e.length=0,o.length=0):(e[0]=e.pop(),o[0]=o.pop(),Ss(t,0)),e=t.e(i),delete t.c[e],i}function xs(t,e){var o=t.g(e);1/0!=o&&(t.b.push(e),t.a.push(o),t.c[t.e(e)]=!0, -Ts(t,0,t.b.length-1))}function Ss(t,e){for(var o=t.b,i=t.a,n=o.length,r=o[e],s=i[e],a=e;e<n>>1;){var p=2*e+1,l=2*e+2,p=l<n&&i[l]<i[p]?l:p;o[e]=o[p],i[e]=i[p],e=p}o[e]=r,i[e]=s,Ts(t,a,e)}function Ts(t,e,o){var i=t.b;t=t.a;for(var n=i[o],r=t[o];o>e;){var s=o-1>>1;if(!(t[s]>r))break;i[o]=i[s],t[o]=t[s],o=s}i[o]=n,t[o]=r}function Ms(t){var e,o,i,n=t.g,r=t.b,s=t.a,a=0,p=r.length;for(o=0;o<p;++o)e=r[o],i=n(e),1/0==i?delete t.c[t.e(e)]:(s[a]=i,r[a++]=e);for(r.length=a,s.length=a,n=(t.b.length>>1)-1;0<=n;n--)Ss(t,n)}function Cs(t,e){bs.call(this,function(e){return t.apply(null,e)},function(t){return t[0].gb()}),this.i=e,this.d=0}function Es(t,e,o){this.d=t,this.c=e,this.f=o,this.b=[],this.a=this.e=0}function Ps(t,e){var o=t.d,i=t.a,n=t.c-i,r=ks(t);return Go({source:e,duration:r,easing:function(t){return i*(Math.exp(o*t*r)-1)/n}})}function ks(t){return Math.log(t.c/t.a)/t.d}function As(t){re.call(this),this.l=null,this.d(!0),this.handleEvent=t.handleEvent}function Rs(e,o,i,n,r){if(null!=i){var s=o.Da(),a=o.Ca();t(s)&&t(a)&&t(r)&&0<r&&(e.Ha(Ho({rotation:s,duration:r,easing:Fo})),t(n)&&e.Ha(Go({source:a,duration:r,easing:Fo}))),o.rotate(i,n)}}function Ls(t,e,o,i,n){var r=e.ya();o=e.constrainResolution(r,o,0),Ns(t,e,o,i,n)}function Ns(e,o,i,n,r){if(null!=i){var s=o.ya(),a=o.Ca();if(t(s)&&t(a)&&t(r)&&0<r&&(e.Ha(qo({resolution:s,duration:r,easing:Fo})),t(n)&&e.Ha(Go({source:a,duration:r,easing:Fo}))),null!=n){var p;e=o.Ca(),r=o.ya(),t(e)&&t(r)&&(p=[n[0]-i*(n[0]-e[0])/r,n[1]-i*(n[1]-e[1])/r]),o.Na(p)}o.tb(i)}}function js(e){e=t(e)?e:{},this.a=t(e.delta)?e.delta:1,As.call(this,{handleEvent:Is}),this.e=t(e.duration)?e.duration:250}function Is(t){var e=!1,o=t.b;if(t.type==Yb){var e=t.map,i=t.coordinate,o=o.d?-this.a:this.a,n=e.R();Ls(e,n,o,i,this.e),t.preventDefault(),e=!0}return!e}function Ds(t){return t=t.b,t.a&&!t.g&&t.d}function Fs(t){return"pointermove"==t.type}function Os(t){return t.type==Kb}function Bs(t){return t=t.b,!t.a&&!t.g&&!t.d}function Us(t){return t=t.b,!t.a&&!t.g&&t.d}function Gs(t){return t=t.b.target.tagName,"INPUT"!==t&&"SELECT"!==t&&"TEXTAREA"!==t}function Hs(t){return 1==t.a.pointerId}function qs(e){e=t(e)?e:{},As.call(this,{handleEvent:t(e.handleEvent)?e.handleEvent:Xs}),this.vb=t(e.handleDownEvent)?e.handleDownEvent:pb,this.wb=t(e.handleDragEvent)?e.handleDragEvent:o,this.xb=t(e.handleMoveEvent)?e.handleMoveEvent:o,this.sc=t(e.handleUpEvent)?e.handleUpEvent:pb,this.o=!1,this.J={},this.e=[]}function $s(t){for(var e=t.length,o=0,i=0,n=0;n<e;n++)o+=t[n].clientX,i+=t[n].clientY;return[o/e,i/e]}function Xs(t){if(!(t instanceof $r))return!0;var e=!1,o=t.type;return o!==Jb&&o!==Zb&&o!==Qb||(o=t.a,t.type==Qb?delete this.J[o.pointerId]:t.type==Jb?this.J[o.pointerId]=o:o.pointerId in this.J&&(this.J[o.pointerId]=o),this.e=V(this.J)),this.o&&(t.type==Zb?this.wb(t):t.type==Qb&&(this.o=this.sc(t))),t.type==Jb?(this.o=t=this.vb(t),e=this.nc(t)):t.type==_b&&this.xb(t),!e}function Ws(e){qs.call(this,{handleDownEvent:Vs,handleDragEvent:zs,handleUpEvent:Ks}),e=t(e)?e:{},this.a=e.kinetic,this.f=this.g=null,this.n=t(e.condition)?e.condition:Bs,this.i=!1}function zs(t){var e=$s(this.e);if(this.a&&this.a.update(e[0],e[1]),null!==this.f){var o=this.f[0]-e[0],i=e[1]-this.f[1];t=t.map;var n=t.R(),r=jo(n),i=o=[o,i],s=r.resolution;i[0]*=s,i[1]*=s,ge(o,r.rotation),ue(o,r.center),o=n.xd(o),t.render(),n.Na(o)}this.f=e}function Ks(t){t=t.map;var e=t.R();if(0===this.e.length){var o;if(o=!this.i&&this.a)if(o=this.a,6>o.b.length)o=!1;else{var i=lm()-o.f,n=o.b.length-3;if(o.b[n+2]<i)o=!1;else{for(var r=n-3;0<r&&o.b[r+2]>i;)r-=3;var i=o.b[n+2]-o.b[r+2],s=o.b[n]-o.b[r],n=o.b[n+1]-o.b[r+1];o.e=Math.atan2(n,s),o.a=Math.sqrt(s*s+n*n)/i,o=o.a>o.c}}return o&&(o=this.a,o=(o.c-o.a)/o.d,n=this.a.e,r=e.Ca(),this.g=Ps(this.a,r),t.Ha(this.g),r=t.ta(r),o=t.ka([r[0]-o*Math.cos(n),r[1]-o*Math.sin(n)]),o=e.xd(o),e.Na(o)),Do(e,-1),t.render(),!1}return this.f=null,!0}function Vs(t){if(0<this.e.length&&this.n(t)){var e=t.map,o=e.R();return this.f=null,this.o||Do(o,1),e.render(),null!==this.g&&j(e.H,this.g)&&(o.Na(t.frameState.viewState.center),this.g=null),this.a&&(t=this.a,t.b.length=0,t.e=0,t.a=0),this.i=1<this.e.length,!0}return!1}function Ys(e){e=t(e)?e:{},qs.call(this,{handleDownEvent:Js,handleDragEvent:Zs,handleUpEvent:_s}),this.f=t(e.condition)?e.condition:Ds,this.a=void 0,this.g=t(e.duration)?e.duration:250}function Zs(e){if(Hs(e)){var o=e.map,i=o.xa();if(e=e.pixel,i=Math.atan2(i[1]/2-e[1],e[0]-i[0]/2),t(this.a)){e=i-this.a;var n=o.R(),r=n.Da();o.render(),Rs(o,n,r-e)}this.a=i}}function _s(t){if(!Hs(t))return!0;t=t.map;var e=t.R();Do(e,-1);var o=e.Da(),i=this.g,o=e.constrainRotation(o,0);return Rs(t,e,o,void 0,i),!1}function Js(t){return!!(Hs(t)&&Nt(t.b)&&this.f(t))&&(t=t.map,Do(t.R(),1),t.render(),this.a=void 0,!0)}function Qs(){re.call(this),this.o=He(),this.n=-1,this.f={},this.l=this.g=0}function ta(e,o,i,n,r,s){var a=r[0],p=r[1],l=r[4],h=r[5],u=r[12];r=r[13];for(var c=t(s)?s:[],f=0;o<i;o+=n){var y=e[o],d=e[o+1];c[f++]=a*y+l*d+u,c[f++]=p*y+h*d+r}return t(s)&&c.length!=f&&(c.length=f),c}function ea(){Qs.call(this),this.a="XY",this.s=2,this.j=null}function oa(t){return"XY"==t?2:"XYZ"==t||"XYM"==t?3:"XYZM"==t?4:void 0}function ia(t,e,o){t.s=oa(e),t.a=e,t.j=o}function na(e,o,i,n){if(t(o))i=oa(o);else{for(o=0;o<n;++o){if(0===i.length)return e.a="XY",void(e.s=2);i=i[0]}i=i.length,o=2==i?"XY":3==i?"XYZ":4==i?"XYZM":void 0}e.a=o,e.s=i}function ra(t,e,o,i){for(var n=0,r=t[o-i],s=t[o-i+1];e<o;e+=i)var a=t[e],p=t[e+1],n=n+(s*a-r*p),r=a,s=p;return n/2}function sa(t,e,o,i){var n,r,s=0;for(n=0,r=o.length;n<r;++n){var a=o[n],s=s+ra(t,e,a,i);e=a}return s}function aa(t,e,o,i,n,r){var s=n-o,a=r-i;if(0!==s||0!==a){var p=((t-o)*s+(e-i)*a)/(s*s+a*a);1<p?(o=n,i=r):0<p&&(o+=s*p,i+=a*p)}return pa(t,e,o,i)}function pa(t,e,o,i){return t=o-t,e=i-e,t*t+e*e}function la(t,e,o,i,n,r,s){var a=t[e],p=t[e+1],l=t[o]-a,h=t[o+1]-p;if(0!==l||0!==h)if(r=((n-a)*l+(r-p)*h)/(l*l+h*h),1<r)e=o;else if(0<r){for(n=0;n<i;++n)s[n]=ut(t[e+n],t[o+n],r);return void(s.length=i)}for(n=0;n<i;++n)s[n]=t[e+n];s.length=i}function ha(t,e,o,i,n){var r=t[e],s=t[e+1];for(e+=i;e<o;e+=i){var a=t[e],p=t[e+1],r=pa(r,s,a,p);r>n&&(n=r),r=a,s=p}return n}function ua(t,e,o,i,n){var r,s;for(r=0,s=o.length;r<s;++r){var a=o[r];n=ha(t,e,a,i,n),e=a}return n}function ca(e,o,i,n,r,s,a,p,l,h,u){if(o==i)return h;var c;if(0===r){if(c=pa(a,p,e[o],e[o+1]),c<h){for(u=0;u<n;++u)l[u]=e[o+u];return l.length=n,c}return h}for(var f=t(u)?u:[NaN,NaN],y=o+n;y<i;)if(la(e,y-n,y,n,a,p,f),c=pa(a,p,f[0],f[1]),c<h){for(h=c,u=0;u<n;++u)l[u]=f[u];l.length=n,y+=n}else y+=n*Math.max((Math.sqrt(c)-Math.sqrt(h))/r|0,1);if(s&&(la(e,i-n,o,n,a,p,f),c=pa(a,p,f[0],f[1]),c<h)){for(h=c,u=0;u<n;++u)l[u]=f[u];l.length=n}return h}function fa(e,o,i,n,r,s,a,p,l,h,u){u=t(u)?u:[NaN,NaN];var c,f;for(c=0,f=i.length;c<f;++c){var y=i[c];h=ca(e,o,y,n,r,s,a,p,l,h,u),o=y}return h}function ya(t,e){var o,i,n=0;for(o=0,i=e.length;o<i;++o)t[n++]=e[o];return n}function da(t,e,o,i){var n,r;for(n=0,r=o.length;n<r;++n){var s,a=o[n];for(s=0;s<i;++s)t[e++]=a[s]}return e}function ga(e,o,i,n,r){r=t(r)?r:[];var s,a,p=0;for(s=0,a=i.length;s<a;++s)o=da(e,o,i[s],n),r[p++]=o;return r.length=p,r}function va(e,o,i,n,r){r=t(r)?r:[];for(var s=0;o<i;o+=n)r[s++]=e.slice(o,o+n);return r.length=s,r}function ma(e,o,i,n,r){r=t(r)?r:[];var s,a,p=0;for(s=0,a=i.length;s<a;++s){var l=i[s];r[p++]=va(e,o,l,n,r[p]),o=l}return r.length=p,r}function ba(t,e,o,i,n,r,s){var a=(o-e)/i;if(3>a){for(;e<o;e+=i)r[s++]=t[e],r[s++]=t[e+1];return s}var p=Array(a);p[0]=1,p[a-1]=1,o=[e,o-i];for(var l,h=0;0<o.length;){var u=o.pop(),c=o.pop(),f=0,y=t[c],d=t[c+1],g=t[u],v=t[u+1];for(l=c+i;l<u;l+=i){var m=aa(t[l],t[l+1],y,d,g,v);m>f&&(h=l,f=m)}f>n&&(p[(h-e)/i]=1,c+i<h&&o.push(c,h),h+i<u&&o.push(h,u))}for(l=0;l<a;++l)p[l]&&(r[s++]=t[e+l*i],r[s++]=t[e+l*i+1]);return s}function wa(t,e,o,i,n,r,s,a){var p,l;for(p=0,l=o.length;p<l;++p){var h=o[p];t:{var u=t,c=h,f=i,y=n,d=r;if(e!=c){var g=y*Math.round(u[e]/y),v=y*Math.round(u[e+1]/y);e+=f,d[s++]=g,d[s++]=v;var m=void 0,b=void 0;do if(m=y*Math.round(u[e]/y),b=y*Math.round(u[e+1]/y),e+=f,e==c){d[s++]=m,d[s++]=b;break t}while(m==g&&b==v);for(;e<c;){var w,x;if(w=y*Math.round(u[e]/y),x=y*Math.round(u[e+1]/y),e+=f,w!=m||x!=b){var S=m-g,T=b-v,M=w-g,C=x-v;S*C==T*M&&(0>S&&M<S||S==M||0<S&&M>S)&&(0>T&&C<T||T==C||0<T&&C>T)||(d[s++]=m,d[s++]=b,g=m,v=b),m=w,b=x}}d[s++]=m,d[s++]=b}}a.push(s),e=h}return s}function xa(t,e){ea.call(this),this.c=this.i=-1,this.W(t,e)}function Sa(t,e,o){ia(t,e,o),t.k()}function Ta(t,e){ea.call(this),this.W(t,e)}function Ma(t,e,o){ia(t,e,o),t.k()}function Ca(t,e,o,i,n){return!Ve(n,function(n){return!Ea(t,e,o,i,n[0],n[1])})}function Ea(t,e,o,i,n,r){for(var s=!1,a=t[o-i],p=t[o-i+1];e<o;e+=i){var l=t[e],h=t[e+1];p>r!=h>r&&n<(l-a)*(r-p)/(h-p)+a&&(s=!s),a=l,p=h}return s}function Pa(t,e,o,i,n,r){if(0===o.length||!Ea(t,e,o[0],i,n,r))return!1;var s;for(e=1,s=o.length;e<s;++e)if(Ea(t,o[e-1],o[e],i,n,r))return!1;return!0}function ka(e,o,i,n,r,s,a){var p,l,h,u,c,f=r[s+1],y=[],d=i[0];for(h=e[d-n],c=e[d-n+1],p=o;p<d;p+=n)u=e[p],l=e[p+1],(f<=c&&l<=f||c<=f&&f<=l)&&(h=(f-c)/(l-c)*(u-h)+h,y.push(h)),h=u,c=l;for(d=NaN,c=-(1/0),y.sort(),h=y[0],p=1,l=y.length;p<l;++p){u=y[p];var g=Math.abs(u-h);g>c&&(h=(h+u)/2,Pa(e,o,i,n,h,f)&&(d=h,c=g)),h=u}return isNaN(d)&&(d=r[s]),t(a)?(a.push(d,f),a):[d,f]}function Aa(t,e,o,i,n,r){for(var s,a=[t[e],t[e+1]],p=[];e+i<o;e+=i){if(p[0]=t[e+i],p[1]=t[e+i+1],s=n.call(r,a,p))return s;a[0]=p[0],a[1]=p[1]}return!1}function Ra(t,e,o,i,n){var r=Ke(He(),t,e,o,i);return!!ro(n,r)&&(!!(Be(n,r)||r[0]>=n[0]&&r[2]<=n[2]||r[1]>=n[1]&&r[3]<=n[3])||Aa(t,e,o,i,function(t,e){var o=!1,i=Ge(n,t),r=Ge(n,e);if(1===i||1===r)o=!0;else{var s=n[0],a=n[1],p=n[2],l=n[3],h=e[0],u=e[1],c=(u-t[1])/(h-t[0]);2&r&&!(2&i)&&(o=h-(u-l)/c,o=o>=s&&o<=p),o||!(4&r)||4&i||(o=u-(h-p)*c,o=o>=a&&o<=l),o||!(8&r)||8&i||(o=h-(u-a)/c,o=o>=s&&o<=p),o||!(16&r)||16&i||(o=u-(h-s)*c,o=o>=a&&o<=l)}return o}))}function La(t,e,o,i,n){var r=o[0];if(!(Ra(t,e,r,i,n)||Ea(t,e,r,i,n[0],n[1])||Ea(t,e,r,i,n[0],n[3])||Ea(t,e,r,i,n[2],n[1])||Ea(t,e,r,i,n[2],n[3])))return!1;if(1===o.length)return!0;for(e=1,r=o.length;e<r;++e)if(Ca(t,o[e-1],o[e],i,n))return!1;return!0}function Na(t,e,o,i){for(var n=0,r=t[o-i],s=t[o-i+1];e<o;e+=i)var a=t[e],p=t[e+1],n=n+(a-r)*(p+s),r=a,s=p;return 0<n}function ja(e,o,i,n){var r=0;n=!!t(n)&&n;var s,a;for(s=0,a=o.length;s<a;++s){var p=o[s],r=Na(e,r,p,i);if(0===s){if(n&&r||!n&&!r)return!1}else if(n&&!r||!n&&r)return!1;r=p}return!0}function Ia(e,o,i,n,r){r=!!t(r)&&r;var s,a;for(s=0,a=i.length;s<a;++s){var p=i[s],l=Na(e,o,p,n);if(0===s?r&&l||!r&&!l:r&&!l||!r&&l)for(var l=e,h=p,u=n;o<h-u;){var c;for(c=0;c<u;++c){var f=l[o+c];l[o+c]=l[h-u+c],l[h-u+c]=f}o+=u,h-=u}o=p}return o}function Da(t,e,o,i){var n,r,s=0;for(n=0,r=e.length;n<r;++n)s=Ia(t,s,e[n],o,i);return s}function Fa(t,e){ea.call(this),this.c=[],this.p=-1,this.H=null,this.N=this.J=this.L=-1,this.i=null,this.W(t,e)}function Oa(t){if(t.p!=t.b){var e=_e(t.G());t.H=ka(Ba(t),0,t.c,t.s,e,0),t.p=t.b}return t.H}function Ba(t){if(t.N!=t.b){var e=t.j;ja(e,t.c,t.s)?t.i=e:(t.i=e.slice(),t.i.length=Ia(t.i,0,t.c,t.s)),t.N=t.b}return t.i}function Ua(t,e,o,i){ia(t,e,o),t.c=i,t.k()}function Ga(e,o,i,n){var r=t(n)?n:32;n=[];var s;for(s=0;s<r;++s)F(n,e.offset(o,i,2*Math.PI*s/r));return n.push(n[0],n[1]),e=new Fa(null),Ua(e,"XY",n,[n.length]),e}function Ha(){}function qa(t,e,o,i,n,r,s){Et.call(this,t,e),this.vectorContext=o,this.b=i,this.frameState=n,this.context=r,this.glContext=s}function $a(t){this.c=this.a=this.e=this.d=this.b=null,this.f=t}function Xa(t){var e=t.e,o=t.a;return t=k([e,[e[0],o[1]],o,[o[0],e[1]]],t.b.ka,t.b),t[4]=t[0].slice(),new Fa([t])}function Wa(t){null===t.b||null===t.e||null===t.a||t.b.render()}function za(t,e){Et.call(this,t),this.coordinate=e}function Ka(e){qs.call(this,{handleDownEvent:Za,handleDragEvent:Va,handleUpEvent:Ya}),e=t(e)?e:{},this.f=new $a(t(e.style)?e.style:null),this.a=null,this.i=t(e.condition)?e.condition:lb}function Va(t){if(Hs(t)){var e=this.f;t=t.pixel,e.e=this.a,e.a=t,e.c=Xa(e),Wa(e)}}function Ya(t){if(!Hs(t))return!0;this.f.setMap(null);var e=t.pixel[0]-this.a[0],o=t.pixel[1]-this.a[1];return 64<=e*e+o*o&&(this.g(t),this.dispatchEvent(new za("boxend",t.coordinate))),!1}function Za(t){if(Hs(t)&&Nt(t.b)&&this.i(t)){this.a=t.pixel,this.f.setMap(t.map);var e=this.f,o=this.a;return e.e=this.a,e.a=o,e.c=Xa(e),Wa(e),this.dispatchEvent(new za("boxstart",t.coordinate)),!0}return!1}function _a(){this.a=-1}function Ja(){this.a=-1,this.a=64,this.b=Array(4),this.e=Array(this.a),this.d=this.c=0,this.b[0]=1732584193,this.b[1]=4023233417,this.b[2]=2562383102,this.b[3]=271733878,this.d=this.c=0}function Qa(t,e,o){o||(o=0);var i=Array(16);if(p(e))for(var n=0;16>n;++n)i[n]=e.charCodeAt(o++)|e.charCodeAt(o++)<<8|e.charCodeAt(o++)<<16|e.charCodeAt(o++)<<24;else for(n=0;16>n;++n)i[n]=e[o++]|e[o++]<<8|e[o++]<<16|e[o++]<<24;e=t.b[0],o=t.b[1];var n=t.b[2],r=t.b[3],s=0,s=e+(r^o&(n^r))+i[0]+3614090360&4294967295;e=o+(s<<7&4294967295|s>>>25),s=r+(n^e&(o^n))+i[1]+3905402710&4294967295,r=e+(s<<12&4294967295|s>>>20),s=n+(o^r&(e^o))+i[2]+606105819&4294967295,n=r+(s<<17&4294967295|s>>>15),s=o+(e^n&(r^e))+i[3]+3250441966&4294967295,o=n+(s<<22&4294967295|s>>>10),s=e+(r^o&(n^r))+i[4]+4118548399&4294967295,e=o+(s<<7&4294967295|s>>>25),s=r+(n^e&(o^n))+i[5]+1200080426&4294967295,r=e+(s<<12&4294967295|s>>>20),s=n+(o^r&(e^o))+i[6]+2821735955&4294967295,n=r+(s<<17&4294967295|s>>>15),s=o+(e^n&(r^e))+i[7]+4249261313&4294967295,o=n+(s<<22&4294967295|s>>>10),s=e+(r^o&(n^r))+i[8]+1770035416&4294967295,e=o+(s<<7&4294967295|s>>>25),s=r+(n^e&(o^n))+i[9]+2336552879&4294967295,r=e+(s<<12&4294967295|s>>>20),s=n+(o^r&(e^o))+i[10]+4294925233&4294967295,n=r+(s<<17&4294967295|s>>>15),s=o+(e^n&(r^e))+i[11]+2304563134&4294967295,o=n+(s<<22&4294967295|s>>>10),s=e+(r^o&(n^r))+i[12]+1804603682&4294967295,e=o+(s<<7&4294967295|s>>>25),s=r+(n^e&(o^n))+i[13]+4254626195&4294967295,r=e+(s<<12&4294967295|s>>>20),s=n+(o^r&(e^o))+i[14]+2792965006&4294967295,n=r+(s<<17&4294967295|s>>>15),s=o+(e^n&(r^e))+i[15]+1236535329&4294967295,o=n+(s<<22&4294967295|s>>>10),s=e+(n^r&(o^n))+i[1]+4129170786&4294967295,e=o+(s<<5&4294967295|s>>>27),s=r+(o^n&(e^o))+i[6]+3225465664&4294967295,r=e+(s<<9&4294967295|s>>>23),s=n+(e^o&(r^e))+i[11]+643717713&4294967295,n=r+(s<<14&4294967295|s>>>18),s=o+(r^e&(n^r))+i[0]+3921069994&4294967295,o=n+(s<<20&4294967295|s>>>12),s=e+(n^r&(o^n))+i[5]+3593408605&4294967295,e=o+(s<<5&4294967295|s>>>27),s=r+(o^n&(e^o))+i[10]+38016083&4294967295,r=e+(s<<9&4294967295|s>>>23),s=n+(e^o&(r^e))+i[15]+3634488961&4294967295,n=r+(s<<14&4294967295|s>>>18),s=o+(r^e&(n^r))+i[4]+3889429448&4294967295,o=n+(s<<20&4294967295|s>>>12),s=e+(n^r&(o^n))+i[9]+568446438&4294967295,e=o+(s<<5&4294967295|s>>>27),s=r+(o^n&(e^o))+i[14]+3275163606&4294967295,r=e+(s<<9&4294967295|s>>>23),s=n+(e^o&(r^e))+i[3]+4107603335&4294967295,n=r+(s<<14&4294967295|s>>>18),s=o+(r^e&(n^r))+i[8]+1163531501&4294967295,o=n+(s<<20&4294967295|s>>>12),s=e+(n^r&(o^n))+i[13]+2850285829&4294967295,e=o+(s<<5&4294967295|s>>>27),s=r+(o^n&(e^o))+i[2]+4243563512&4294967295,r=e+(s<<9&4294967295|s>>>23),s=n+(e^o&(r^e))+i[7]+1735328473&4294967295,n=r+(s<<14&4294967295|s>>>18),s=o+(r^e&(n^r))+i[12]+2368359562&4294967295,o=n+(s<<20&4294967295|s>>>12),s=e+(o^n^r)+i[5]+4294588738&4294967295,e=o+(s<<4&4294967295|s>>>28),s=r+(e^o^n)+i[8]+2272392833&4294967295,r=e+(s<<11&4294967295|s>>>21),s=n+(r^e^o)+i[11]+1839030562&4294967295,n=r+(s<<16&4294967295|s>>>16),s=o+(n^r^e)+i[14]+4259657740&4294967295,o=n+(s<<23&4294967295|s>>>9),s=e+(o^n^r)+i[1]+2763975236&4294967295,e=o+(s<<4&4294967295|s>>>28),s=r+(e^o^n)+i[4]+1272893353&4294967295,r=e+(s<<11&4294967295|s>>>21),s=n+(r^e^o)+i[7]+4139469664&4294967295,n=r+(s<<16&4294967295|s>>>16),s=o+(n^r^e)+i[10]+3200236656&4294967295,o=n+(s<<23&4294967295|s>>>9),s=e+(o^n^r)+i[13]+681279174&4294967295,e=o+(s<<4&4294967295|s>>>28),s=r+(e^o^n)+i[0]+3936430074&4294967295,r=e+(s<<11&4294967295|s>>>21),s=n+(r^e^o)+i[3]+3572445317&4294967295,n=r+(s<<16&4294967295|s>>>16),s=o+(n^r^e)+i[6]+76029189&4294967295,o=n+(s<<23&4294967295|s>>>9),s=e+(o^n^r)+i[9]+3654602809&4294967295,e=o+(s<<4&4294967295|s>>>28),s=r+(e^o^n)+i[12]+3873151461&4294967295,r=e+(s<<11&4294967295|s>>>21),s=n+(r^e^o)+i[15]+530742520&4294967295,n=r+(s<<16&4294967295|s>>>16),s=o+(n^r^e)+i[2]+3299628645&4294967295,o=n+(s<<23&4294967295|s>>>9),s=e+(n^(o|~r))+i[0]+4096336452&4294967295,e=o+(s<<6&4294967295|s>>>26),s=r+(o^(e|~n))+i[7]+1126891415&4294967295,r=e+(s<<10&4294967295|s>>>22),s=n+(e^(r|~o))+i[14]+2878612391&4294967295,n=r+(s<<15&4294967295|s>>>17),s=o+(r^(n|~e))+i[5]+4237533241&4294967295,o=n+(s<<21&4294967295|s>>>11),s=e+(n^(o|~r))+i[12]+1700485571&4294967295,e=o+(s<<6&4294967295|s>>>26),s=r+(o^(e|~n))+i[3]+2399980690&4294967295,r=e+(s<<10&4294967295|s>>>22),s=n+(e^(r|~o))+i[10]+4293915773&4294967295,n=r+(s<<15&4294967295|s>>>17),s=o+(r^(n|~e))+i[1]+2240044497&4294967295,o=n+(s<<21&4294967295|s>>>11),s=e+(n^(o|~r))+i[8]+1873313359&4294967295,e=o+(s<<6&4294967295|s>>>26),s=r+(o^(e|~n))+i[15]+4264355552&4294967295,r=e+(s<<10&4294967295|s>>>22),s=n+(e^(r|~o))+i[6]+2734768916&4294967295,n=r+(s<<15&4294967295|s>>>17),s=o+(r^(n|~e))+i[13]+1309151649&4294967295,o=n+(s<<21&4294967295|s>>>11),s=e+(n^(o|~r))+i[4]+4149444226&4294967295,e=o+(s<<6&4294967295|s>>>26),s=r+(o^(e|~n))+i[11]+3174756917&4294967295,r=e+(s<<10&4294967295|s>>>22),s=n+(e^(r|~o))+i[2]+718787259&4294967295,n=r+(s<<15&4294967295|s>>>17),s=o+(r^(n|~e))+i[9]+3951481745&4294967295,t.b[0]=t.b[0]+e&4294967295,t.b[1]=t.b[1]+(n+(s<<21&4294967295|s>>>11))&4294967295,t.b[2]=t.b[2]+n&4294967295,t.b[3]=t.b[3]+r&4294967295}function tp(e){e=t(e)?e:{},this.b=t(e.color)?e.color:null,this.d=e.lineCap,this.c=t(e.lineDash)?e.lineDash:null,this.e=e.lineJoin,this.f=e.miterLimit,this.a=e.width,this.g=void 0}function ep(e){e=t(e)?e:{},this.b=t(e.color)?e.color:null,this.a=void 0}function op(e){e=t(e)?e:{},this.f=this.b=this.e=null,this.d=t(e.fill)?e.fill:null,this.a=t(e.stroke)?e.stroke:null,this.c=e.radius,this.o=[0,0],this.i=this.p=this.g=null;var o,i,n=e.atlasManager,r=null,s=0;null!==this.a&&(i=ni(this.a.b),s=this.a.a,t(s)||(s=1),r=this.a.c,Pb||(r=null));var a=2*(this.c+s)+1;i={strokeStyle:i,md:s,size:a,lineDash:r},t(n)?(a=Math.round(a),(r=null===this.d)&&(o=d(this.Rg,this,i)),s=this.nb(),i=n.add(s,a,a,d(this.Sg,this,i),o),this.b=i.image,this.o=[i.offsetX,i.offsetY],o=i.image.width,this.f=r?i.ig:this.b):(this.b=gi("CANVAS"),this.b.height=a,this.b.width=a,o=a=this.b.width,n=this.b.getContext("2d"),this.Sg(i,n,0,0),null===this.d?(n=this.f=gi("CANVAS"),n.height=i.size,n.width=i.size,n=n.getContext("2d"),this.Rg(i,n,0,0)):this.f=this.b),this.g=[a/2,a/2],this.p=[a,a],this.i=[o,o],hs.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:!t(e.snapToPixel)||e.snapToPixel})}function ip(e){e=t(e)?e:{},this.g=null,this.d=ap,t(e.geometry)&&this.Vg(e.geometry),this.e=t(e.fill)?e.fill:null,this.f=t(e.image)?e.image:null,this.c=t(e.stroke)?e.stroke:null,this.a=t(e.text)?e.text:null,this.b=e.zIndex}function np(t){return h(t)||(t=s(t)?t:[t],t=ln(t)),t}function rp(){var t=new ep({color:"rgba(255,255,255,0.4)"}),e=new tp({color:"#3399CC",width:1.25}),o=[new ip({image:new op({fill:t,stroke:e,radius:5}),fill:t,stroke:e})];return rp=function(){return o},o}function sp(){var t={},e=[255,255,255,1],o=[0,153,255,1];return t.Polygon=[new ip({fill:new ep({color:[255,255,255,.5]})})],t.MultiPolygon=t.Polygon,t.LineString=[new ip({stroke:new tp({color:e,width:5})}),new ip({stroke:new tp({color:o,width:3})})],t.MultiLineString=t.LineString,t.Circle=t.Polygon.concat(t.LineString),t.Point=[new ip({image:new op({radius:6,fill:new ep({color:o}),stroke:new tp({color:e,width:1.5})}),zIndex:1/0})],t.MultiPoint=t.Point,t.GeometryCollection=t.Polygon.concat(t.Point),t}function ap(t){return t.Q()}function pp(e){var o=t(e)?e:{};e=t(o.condition)?o.condition:Us,this.n=t(o.duration)?o.duration:200,o=t(o.style)?o.style:new ip({stroke:new tp({color:[0,0,255,1]})}),Ka.call(this,{condition:e,style:o})}function lp(e){As.call(this,{handleEvent:hp}),e=t(e)?e:{},this.a=t(e.condition)?e.condition:fn(Bs,Gs),this.e=t(e.duration)?e.duration:100,this.f=t(e.pixelDelta)?e.pixelDelta:128}function hp(e){var o=!1;if("key"==e.type){var i=e.b.e;if(this.a(e)&&(40==i||37==i||39==i||38==i)){var n=e.map,o=n.R(),r=jo(o),s=r.resolution*this.f,a=0,p=0;40==i?p=-s:37==i?a=-s:39==i?a=s:p=s,i=[a,p],ge(i,r.rotation),r=this.e,s=o.Ca(),t(s)&&(t(r)&&0<r&&n.Ha(Go({source:s,duration:r,easing:Bo})),n=o.xd([s[0]+i[0],s[1]+i[1]]),o.Na(n)),e.preventDefault(),o=!0}}return!o}function up(e){As.call(this,{handleEvent:cp}),e=t(e)?e:{},this.e=t(e.condition)?e.condition:Gs,this.a=t(e.delta)?e.delta:1,this.f=t(e.duration)?e.duration:100}function cp(t){var e=!1;if("key"==t.type){var o=t.b.q;if(this.e(t)&&(43==o||45==o)){e=t.map,o=43==o?this.a:-this.a,e.render();var i=e.R();Ls(e,i,o,void 0,this.f),t.preventDefault(),e=!0}}return!e}function fp(e){As.call(this,{handleEvent:yp}),e=t(e)?e:{},this.a=0,this.o=t(e.duration)?e.duration:250,this.f=null,this.g=this.e=void 0}function yp(e){var o=!1;if("mousewheel"==e.type){var o=e.map,i=e.b;this.f=e.coordinate,this.a+=i.o,t(this.e)||(this.e=lm()),i=Math.max(80-(lm()-this.e),0),sm.clearTimeout(this.g),this.g=sm.setTimeout(d(this.i,this,o),i),e.preventDefault(),o=!0}return!o}function dp(e){qs.call(this,{handleDownEvent:mp,handleDragEvent:gp,handleUpEvent:vp}),e=t(e)?e:{},this.f=null,this.g=void 0,this.a=!1,this.i=0,this.p=t(e.threshold)?e.threshold:.3,this.n=t(e.duration)?e.duration:250}function gp(e){var o=0,i=this.e[0],n=this.e[1],i=Math.atan2(n.clientY-i.clientY,n.clientX-i.clientX);t(this.g)&&(o=i-this.g,this.i+=o,!this.a&&Math.abs(this.i)>this.p&&(this.a=!0)),this.g=i,e=e.map,i=Hi(e.a),n=$s(this.e),n[0]-=i.x,n[1]-=i.y,this.f=e.ka(n),this.a&&(i=e.R(),n=i.Da(),e.render(),Rs(e,i,n+o,this.f))}function vp(t){if(2>this.e.length){t=t.map;var e=t.R();if(Do(e,-1),this.a){var o=e.Da(),i=this.f,n=this.n,o=e.constrainRotation(o,0);Rs(t,e,o,i,n)}return!1}return!0}function mp(t){return 2<=this.e.length&&(t=t.map,this.f=null,this.g=void 0,this.a=!1,this.i=0,this.o||Do(t.R(),1),t.render(),!0)}function bp(e){qs.call(this,{handleDownEvent:Sp,handleDragEvent:wp,handleUpEvent:xp}),e=t(e)?e:{},this.f=null,this.i=t(e.duration)?e.duration:400,this.a=void 0,this.g=1}function wp(e){var o=1,i=this.e[0],n=this.e[1],r=i.clientX-n.clientX,i=i.clientY-n.clientY,r=Math.sqrt(r*r+i*i);t(this.a)&&(o=this.a/r),this.a=r,1!=o&&(this.g=o),e=e.map;var r=e.R(),i=r.ya(),n=Hi(e.a),s=$s(this.e);s[0]-=n.x,s[1]-=n.y,this.f=e.ka(s),e.render(),Ns(e,r,i*o,this.f)}function xp(t){if(2>this.e.length){t=t.map;var e=t.R();Do(e,-1);var o=e.ya(),i=this.f,n=this.i,o=e.constrainResolution(o,0,this.g-1);return Ns(t,e,o,i,n),!1}return!0}function Sp(t){return 2<=this.e.length&&(t=t.map,this.f=null,this.a=void 0,this.g=1,this.o||Do(t.R(),1),t.render(),!0)}function Tp(e){e=t(e)?e:{};var o=new ei,i=new Es((-.005),.05,100);return(t(e.altShiftDragRotate)?e.altShiftDragRotate:1)&&o.push(new Ys),(t(e.doubleClickZoom)?e.doubleClickZoom:1)&&o.push(new js({delta:e.zoomDelta,duration:e.zoomDuration})),(t(e.dragPan)?e.dragPan:1)&&o.push(new Ws({kinetic:i})),(t(e.pinchRotate)?e.pinchRotate:1)&&o.push(new dp),(t(e.pinchZoom)?e.pinchZoom:1)&&o.push(new bp({duration:e.zoomDuration})),(t(e.keyboard)?e.keyboard:1)&&(o.push(new lp),o.push(new up({delta:e.zoomDelta,duration:e.zoomDuration}))),(t(e.mouseWheelZoom)?e.mouseWheelZoom:1)&&o.push(new fp({duration:e.zoomDuration})),(t(e.shiftDragZoom)?e.shiftDragZoom:1)&&o.push(new pp),o}function Mp(e){var o=t(e)?e:{};e=nt(o),delete e.layers,o=o.layers,Kr.call(this,e),this.c=[],this.a={},Ht(this,se("layers"),this.Vj,!1,this),null!=o?s(o)&&(o=new ei(o.slice())):o=new ei,this.Ah(o)}function Cp(t){ho.call(this,{code:t,units:"m",extent:sw,global:!0,worldExtent:aw})}function Ep(e,o,i){var n=e.length;i=1<i?i:2,t(o)||(o=2<i?e.slice():Array(n));for(var r=0;r<n;r+=i)o[r]=6378137*Math.PI*e[r]/180,o[r+1]=6378137*Math.log(Math.tan(Math.PI*(e[r+1]+90)/360));return o}function Pp(e,o,i){var n=e.length;i=1<i?i:2,t(o)||(o=2<i?e.slice():Array(n));for(var r=0;r<n;r+=i)o[r]=180*e[r]/(6378137*Math.PI),o[r+1]=360*Math.atan(Math.exp(e[r+1]/6378137))/Math.PI-90;return o}function kp(t,e){ho.call(this,{code:t,units:"degrees",extent:lw,axisOrientation:e,global:!0,worldExtent:lw})}function Ap(){co(pw),co(hw),fo()}function Rp(e){Yr.call(this,t(e)?e:{})}function Lp(e){e=t(e)?e:{};var o=nt(e);delete o.preload,delete o.useInterimTilesOnError,Yr.call(this,o),this.d(t(e.preload)?e.preload:0),this.e(!t(e.useInterimTilesOnError)||e.useInterimTilesOnError)}function Np(e){e=t(e)?e:{};var o=nt(e);delete o.style,delete o.renderBuffer,delete o.updateWhileAnimating,delete o.updateWhileInteracting,Yr.call(this,o),this.c=t(e.renderBuffer)?e.renderBuffer:100,this.g=null,this.a=void 0,this.e(e.style),this.o=!!t(e.updateWhileAnimating)&&e.updateWhileAnimating,this.n=!!t(e.updateWhileInteracting)&&e.updateWhileInteracting}function jp(t,e,o,i,n){this.U={},this.c=t,this.n=e,this.e=o,this.H=i,this.Nc=n,this.f=this.b=this.a=this.oa=this.ba=this.X=null,this.Ga=this.Fa=this.o=this.N=this.L=this.J=0,this.Ra=!1,this.g=this.rc=0,this.vb=!1,this.T=0,this.d="",this.q=this.p=this.xb=this.wb=0,this.sa=this.l=this.i=null,this.V=[],this.sc=Te()}function Ip(t,e,o){if(null!==t.f){e=ta(e,0,o,2,t.H,t.V),o=t.c;var i=t.sc,n=o.globalAlpha;1!=t.o&&(o.globalAlpha=n*t.o);var r=t.rc;t.Ra&&(r+=t.Nc);var s,a;for(s=0,a=e.length;s<a;s+=2){var p=e[s]-t.J,l=e[s+1]-t.L;if(t.vb&&(p=p+.5|0,l=l+.5|0),0!==r||1!=t.g){var h=p+t.J,u=l+t.L;Jr(i,h,u,t.g,t.g,r,-h,-u),o.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])}o.drawImage(t.f,t.Fa,t.Ga,t.T,t.N,p,l,t.T,t.N)}0===r&&1==t.g||o.setTransform(1,0,0,1,0,0),1!=t.o&&(o.globalAlpha=n)}}function Dp(t,e,o,i){var n=0;if(null!==t.sa&&""!==t.d){null===t.i||Up(t,t.i),null===t.l||Gp(t,t.l);var r=t.sa,s=t.c,a=t.oa;for(null===a?(s.font=r.font,s.textAlign=r.textAlign,s.textBaseline=r.textBaseline,t.oa={font:r.font,textAlign:r.textAlign,textBaseline:r.textBaseline}):(a.font!=r.font&&(a.font=s.font=r.font),a.textAlign!=r.textAlign&&(a.textAlign=s.textAlign=r.textAlign),a.textBaseline!=r.textBaseline&&(a.textBaseline=s.textBaseline=r.textBaseline)),e=ta(e,n,o,i,t.H,t.V),r=t.c;n<o;n+=i){if(s=e[n]+t.wb,a=e[n+1]+t.xb,0!==t.p||1!=t.q){var p=Jr(t.sc,s,a,t.q,t.q,t.p,-s,-a);r.setTransform(p[0],p[1],p[4],p[5],p[12],p[13])}null===t.l||r.strokeText(t.d,s,a),null===t.i||r.fillText(t.d,s,a)}0===t.p&&1==t.q||r.setTransform(1,0,0,1,0,0)}}function Fp(t,e,o,i,n,r){var s=t.c;for(t=ta(e,o,i,n,t.H,t.V),s.moveTo(t[0],t[1]),e=2;e<t.length;e+=2)s.lineTo(t[e],t[e+1]);return r&&s.lineTo(t[0],t[1]),i}function Op(t,e,o,i,n){var r,s,a=t.c;for(r=0,s=i.length;r<s;++r)o=Fp(t,e,o,i[r],n,!0),a.closePath();return o}function Bp(t){var e=k(Y(t.U),Number);U(e);var o,i,n,r,s;for(o=0,i=e.length;o<i;++o)for(n=t.U[e[o].toString()],r=0,s=n.length;r<s;++r)n[r](t)}function Up(t,e){var o=t.c,i=t.X;null===i?(o.fillStyle=e.fillStyle,t.X={fillStyle:e.fillStyle}):i.fillStyle!=e.fillStyle&&(i.fillStyle=o.fillStyle=e.fillStyle)}function Gp(t,e){var o=t.c,i=t.ba;null===i?(o.lineCap=e.lineCap,Pb&&o.setLineDash(e.lineDash),o.lineJoin=e.lineJoin,o.lineWidth=e.lineWidth,o.miterLimit=e.miterLimit,o.strokeStyle=e.strokeStyle,t.ba={lineCap:e.lineCap,lineDash:e.lineDash,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle}):(i.lineCap!=e.lineCap&&(i.lineCap=o.lineCap=e.lineCap),Pb&&!G(i.lineDash,e.lineDash)&&o.setLineDash(i.lineDash=e.lineDash),i.lineJoin!=e.lineJoin&&(i.lineJoin=o.lineJoin=e.lineJoin),i.lineWidth!=e.lineWidth&&(i.lineWidth=o.lineWidth=e.lineWidth),i.miterLimit!=e.miterLimit&&(i.miterLimit=o.miterLimit=e.miterLimit),i.strokeStyle!=e.strokeStyle&&(i.strokeStyle=o.strokeStyle=e.strokeStyle))}function Hp(t,e,o){this.oa=t,this.T=e,this.d=null,this.e=0,this.resolution=o,this.L=this.J=null,this.a=[],this.coordinates=[],this.X=Te(),this.b=[],this.sa=[],this.ba=Te()}function qp(t,e,o,i,n,r){var s,a,p,l=t.coordinates.length,h=t.Pe(),u=[e[o],e[o+1]],c=[NaN,NaN],f=!0;for(s=o+n;s<i;s+=n)c[0]=e[s],c[1]=e[s+1],p=Ge(h,c),p!==a?(f&&(t.coordinates[l++]=u[0],t.coordinates[l++]=u[1]),t.coordinates[l++]=c[0],t.coordinates[l++]=c[1],f=!1):1===p?(t.coordinates[l++]=c[0],t.coordinates[l++]=c[1],f=!1):f=!0,u[0]=c[0],u[1]=c[1],a=p;return s===o+n&&(t.coordinates[l++]=u[0],t.coordinates[l++]=u[1]),r&&(t.coordinates[l++]=e[o],t.coordinates[l++]=e[o+1]),l}function $p(t,e){t.J=[0,e,0],t.a.push(t.J),t.L=[0,e,0],t.b.push(t.L)}function Xp(e,o,i,n,r,s,a,p,l){var h;Qr(n,e.X)?h=e.sa:(h=ta(e.coordinates,0,e.coordinates.length,2,n,e.sa),Ee(e.X,n)),n=0;var u,f=a.length,y=0;for(e=e.ba;n<f;){var d,g,v,m,b=a[n];switch(b[0]){case 0:y=b[1],u=c(y).toString(),t(s[u])?n=b[2]:t(l)&&!ro(l,y.Q().G())?n=b[2]:++n;break;case 1:o.beginPath(),++n;break;case 2:y=b[1],u=h[y];var w=h[y+1],x=h[y+2]-u,y=h[y+3]-w;o.arc(u,w,Math.sqrt(x*x+y*y),0,2*Math.PI,!0),++n;break;case 3:o.closePath(),++n;break;case 4:y=b[1],u=b[2],d=b[3],v=b[4]*i;var S=b[5]*i,T=b[6];g=b[7];var M=b[8],C=b[9],w=b[11],x=b[12],E=b[13],P=b[14];for(b[10]&&(w+=r);y<u;y+=2){if(b=h[y]-v,m=h[y+1]-S,E&&(b=b+.5|0,m=m+.5|0),1!=x||0!==w){var k=b+v,A=m+S;Jr(e,k,A,x,x,w,-k,-A),o.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}k=o.globalAlpha,1!=g&&(o.globalAlpha=k*g),o.drawImage(d,M,C,P,T,b,m,P*i,T*i),1!=g&&(o.globalAlpha=k),1==x&&0===w||o.setTransform(1,0,0,1,0,0)}++n;break;case 5:for(y=b[1],u=b[2],v=b[3],S=b[4]*i,T=b[5]*i,w=b[6],x=b[7]*i,d=b[8],g=b[9];y<u;y+=2)b=h[y]+S,m=h[y+1]+T,1==x&&0===w||(Jr(e,b,m,x,x,w,-b,-m),o.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])),g&&o.strokeText(v,b,m),d&&o.fillText(v,b,m),1==x&&0===w||o.setTransform(1,0,0,1,0,0);++n;break;case 6:if(t(p)&&(y=b[1],y=p(y)))return y;++n;break;case 7:o.fill(),++n;break;case 8:for(y=b[1],u=b[2],o.moveTo(h[y],h[y+1]),y+=2;y<u;y+=2)o.lineTo(h[y],h[y+1]);++n;break;case 9:o.fillStyle=b[1],++n;break;case 10:y=!t(b[7])||b[7],u=b[2],o.strokeStyle=b[1],o.lineWidth=y?u*i:u,o.lineCap=b[3],o.lineJoin=b[4],o.miterLimit=b[5],Pb&&o.setLineDash(b[6]),++n;break;case 11:o.font=b[1],o.textAlign=b[2],o.textBaseline=b[3],++n;break;case 12:o.stroke(),++n;break;default:++n}}}function Wp(t){var e=t.b;e.reverse();var o,i,n,r=e.length,s=-1;for(o=0;o<r;++o)if(i=e[o],n=i[0],6==n)s=o;else if(0==n){for(i[2]=o,i=t.b,n=o;s<n;){var a=i[s];i[s]=i[n],i[n]=a,++s,--n}s=-1}}function zp(t,e){t.J[2]=t.a.length,t.J=null,t.L[2]=t.b.length,t.L=null;var o=[6,e];t.a.push(o),t.b.push(o)}function Kp(t,e,o){Hp.call(this,t,e,o),this.i=this.N=null,this.H=this.p=this.n=this.V=this.U=this.o=this.l=this.q=this.g=this.f=this.c=void 0}function Vp(t,e,o){Hp.call(this,t,e,o),this.c={Xc:void 0,Sc:void 0,Tc:null,Uc:void 0,Vc:void 0,Wc:void 0,Ze:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Yp(t,e,o,i,n){var r=t.coordinates.length;return e=qp(t,e,o,i,n,!1),r=[8,r,e],t.a.push(r),t.b.push(r),i}function Zp(t){var e=t.c,o=e.strokeStyle,i=e.lineCap,n=e.lineDash,r=e.lineJoin,s=e.lineWidth,a=e.miterLimit;e.Xc==o&&e.Sc==i&&G(e.Tc,n)&&e.Uc==r&&e.Vc==s&&e.Wc==a||(e.Ze!=t.coordinates.length&&(t.a.push([12]),e.Ze=t.coordinates.length),t.a.push([10,o,s,i,r,a,n],[1]),e.Xc=o,e.Sc=i,e.Tc=n,e.Uc=r,e.Vc=s,e.Wc=a)}function _p(t,e,o){Hp.call(this,t,e,o),this.c={Mf:void 0,Xc:void 0,Sc:void 0,Tc:null,Uc:void 0,Vc:void 0,Wc:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Jp(e,o,i,n,r){var s=e.c,a=[1];e.a.push(a),e.b.push(a);var p,a=0;for(p=n.length;a<p;++a){var l=n[a],h=e.coordinates.length;i=qp(e,o,i,l,r,!0),i=[8,h,i],h=[3],e.a.push(i,h),e.b.push(i,h),i=l}return o=[7],e.b.push(o),t(s.fillStyle)&&e.a.push(o),t(s.strokeStyle)&&(s=[12],e.a.push(s),e.b.push(s)),i}function Qp(e){var o=e.c,i=o.fillStyle,n=o.strokeStyle,r=o.lineCap,s=o.lineDash,a=o.lineJoin,p=o.lineWidth,l=o.miterLimit;t(i)&&o.Mf!=i&&(e.a.push([9,i]),o.Mf=o.fillStyle),!t(n)||o.Xc==n&&o.Sc==r&&o.Tc==s&&o.Uc==a&&o.Vc==p&&o.Wc==l||(e.a.push([10,n,p,r,a,l,s]),o.Xc=n,o.Sc=r,o.Tc=s,o.Uc=a,o.Vc=p,o.Wc=l)}function tl(t,e,o){Hp.call(this,t,e,o), -this.p=this.n=this.V=null,this.i="",this.U=this.o=this.l=this.q=0,this.g=this.f=this.c=null}function el(t,e,o,i){this.q=t,this.d=e,this.i=o,this.e=i,this.a={},this.f=mr(1,1),this.g=Te()}function ol(t){for(var e in t.a){var o,i=t.a[e];for(o in i)i[o].de()}}function il(e,o,i,n,r,s){var a=k(Y(e.a),Number);U(a);var p=e.d,l=p[0],h=p[1],u=p[2],p=p[3],l=[l,h,l,p,u,p,u,h];ta(l,0,8,2,n,l),o.save(),o.beginPath(),o.moveTo(l[0],l[1]),o.lineTo(l[2],l[3]),o.lineTo(l[4],l[5]),o.lineTo(l[6],l[7]),o.closePath(),o.clip();for(var c,f,l=0,h=a.length;l<h;++l)for(c=e.a[a[l].toString()],u=0,p=cw.length;u<p;++u)f=c[cw[u]],t(f)&&Xp(f,o,i,n,r,s,f.a,void 0);o.restore()}function nl(e,o,i,n,r,s,a){var p=k(Y(e.a),Number);U(p,function(t,e){return e-t});var l,h,u,c,f;for(l=0,h=p.length;l<h;++l)for(c=e.a[p[l].toString()],u=cw.length-1;0<=u;--u)if(f=c[cw[u]],t(f)&&(f=Xp(f,o,1,i,n,r,f.b,s,a)))return f}function rl(t){es.call(this,t),this.J=Te()}function sl(e,o,i,n,r){var s=e.a;ee(s,o)&&(e=t(r)?r:al(e,n,0),e=new jp(i,n.pixelRatio,n.extent,e,n.viewState.rotation),s.dispatchEvent(new qa(o,s,e,null,n,i,null)),Bp(e))}function al(t,e,o){var i=e.viewState,n=e.pixelRatio;return Jr(t.J,n*e.size[0]/2,n*e.size[1]/2,n/i.resolution,-n/i.resolution,-i.rotation,-i.center[0]+o,-i.center[1])}function pl(t,e){var o=[0,0];return ts(e,t,o),o}function ll(e,o,i){ea.call(this),this.uh(e,t(o)?o:0,i)}function hl(t){var e=t.j[t.s]-t.j[0];return t=t.j[t.s+1]-t.j[1],e*e+t*t}function ul(e){Qs.call(this),this.d=t(e)?e:null,yl(this)}function cl(t){var e,o,i=[];for(e=0,o=t.length;e<o;++e)i.push(t[e].clone());return i}function fl(t){var e,o;if(null!==t.d)for(e=0,o=t.d.length;e<o;++e)Wt(t.d[e],"change",t.k,!1,t)}function yl(t){var e,o;if(null!==t.d)for(e=0,o=t.d.length;e<o;++e)Ht(t.d[e],"change",t.k,!1,t)}function dl(t,e,o,i,n){var r=NaN,s=NaN,a=(o-e)/i;if(0!==a)if(1==a)r=t[e],s=t[e+1];else if(2==a)r=.5*t[e]+.5*t[e+i],s=.5*t[e+1]+.5*t[e+i+1];else{var p,s=t[e],a=t[e+1],l=0,r=[0];for(p=e+i;p<o;p+=i){var h=t[p],u=t[p+1],l=l+Math.sqrt((h-s)*(h-s)+(u-a)*(u-a));r.push(l),s=h,a=u}o=.5*l;for(var c,s=H,a=0,l=r.length;a<l;)p=a+l>>1,h=s(o,r[p]),0<h?a=p+1:(l=p,c=!h);c=c?a:~a,0>c?(o=(o-r[-c-2])/(r[-c-1]-r[-c-2]),e+=(-c-2)*i,r=ut(t[e],t[e+i],o),s=ut(t[e+1],t[e+i+1],o)):(r=t[e+c*i],s=t[e+c*i+1])}return null!=n?(n[0]=r,n[1]=s,n):[r,s]}function gl(t,e,o,i,n,r){if(o==e)return null;if(n<t[e+i-1])return r?(o=t.slice(e,e+i),o[i-1]=n,o):null;if(t[o-1]<n)return r?(o=t.slice(o-i,o),o[i-1]=n,o):null;if(n==t[e+i-1])return t.slice(e,e+i);for(e/=i,o/=i;e<o;)r=e+o>>1,n<t[(r+1)*i-1]?o=r:e=r+1;if(o=t[e*i-1],n==o)return t.slice((e-1)*i,(e-1)*i+i);r=(n-o)/(t[(e+1)*i-1]-o),o=[];var s;for(s=0;s<i-1;++s)o.push(ut(t[(e-1)*i+s],t[e*i+s],r));return o.push(n),o}function vl(t,e,o,i,n,r){var s=0;if(r)return gl(t,s,e[e.length-1],o,i,n);if(i<t[o-1])return n?(t=t.slice(0,o),t[o-1]=i,t):null;if(t[t.length-1]<i)return n?(t=t.slice(t.length-o),t[o-1]=i,t):null;for(n=0,r=e.length;n<r;++n){var a=e[n];if(s!=a){if(i<t[s+o-1])break;if(i<=t[a-1])return gl(t,s,a,o,i,!1);s=a}}return null}function ml(t,e){ea.call(this),this.c=null,this.p=this.H=this.i=-1,this.W(t,e)}function bl(t){return t.i!=t.b&&(t.c=dl(t.j,0,t.j.length,t.s,t.c),t.i=t.b),t.c}function wl(t,e,o){ia(t,e,o),t.k()}function xl(t,e){ea.call(this),this.c=[],this.i=this.p=-1,this.W(t,e)}function Sl(t){var e=[],o=t.j,i=0,n=t.c;t=t.s;var r,s;for(r=0,s=n.length;r<s;++r){var a=n[r],i=dl(o,i,a,t);F(e,i),i=a}return e}function Tl(t,e,o,i){ia(t,e,o),t.c=i,t.k()}function Ml(t,e){var o,i,n="XY",r=[],s=[];for(o=0,i=e.length;o<i;++o){var a=e[o];0===o&&(n=a.a),F(r,a.j),s.push(r.length)}Tl(t,n,r,s)}function Cl(t,e){ea.call(this),this.W(t,e)}function El(t,e){ea.call(this),this.c=[],this.p=-1,this.H=null,this.N=this.J=this.L=-1,this.i=null,this.W(t,e)}function Pl(t){if(t.p!=t.b){var e,o,i=t.j,n=t.c,r=t.s,s=0,a=[],p=He();for(e=0,o=n.length;e<o;++e){var l=n[e],p=Ke(qe(1/0,1/0,-(1/0),-(1/0),void 0),i,s,l[0],r);a.push((p[0]+p[2])/2,(p[1]+p[3])/2),s=l[l.length-1]}for(i=kl(t),n=t.c,r=t.s,s=0,e=[],o=0,p=n.length;o<p;++o)l=n[o],e=ka(i,s,l,r,a,2*o,e),s=l[l.length-1];t.H=e,t.p=t.b}return t.H}function kl(t){if(t.N!=t.b){var e,o=t.j;t:{e=t.c;var i,n;for(i=0,n=e.length;i<n;++i)if(!ja(o,e[i],t.s,void 0)){e=!1;break t}e=!0}e?t.i=o:(t.i=o.slice(),t.i.length=Da(t.i,t.c,t.s)),t.N=t.b}return t.i}function Al(t,e,o,i){ia(t,e,o),t.c=i,t.k()}function Rl(t,e){var o,i,n,r="XY",s=[],a=[];for(o=0,i=e.length;o<i;++o){var p=e[o];0===o&&(r=p.a);var l=s.length;n=p.c;var h,u;for(h=0,u=n.length;h<u;++h)n[h]+=l;F(s,p.j),a.push(n)}Al(t,r,s,a)}function Ll(t,e){return c(t)-c(e)}function Nl(t,e){var o=.5*t/e;return o*o}function jl(t,e,o,i,n,r){var s,a,p=!1;return s=o.f,null!==s&&(a=s.gd(),2==a||3==a?s.xf(n,r):(0==a&&s.load(),s.$e(n,r),p=!0)),n=(0,o.d)(e),null!=n&&(i=n.Ve(i),(0,dw[i.M()])(t,i,o,e)),p}function Il(t,e,o,i,n){_r.call(this,t,e,o,2,i),this.a=n}function Dl(e){sn.call(this,{attributions:e.attributions,extent:e.extent,logo:e.logo,projection:e.projection,state:e.state}),this.l=t(e.resolutions)?e.resolutions:null}function Fl(t,e){if(null!==t.l){var o=dt(t.l,e,0);e=t.l[o]}return e}function Ol(t,e){t.b().src=e}function Bl(t,e){Et.call(this,t),this.image=e}function Ul(e){Dl.call(this,{attributions:e.attributions,logo:e.logo,projection:e.projection,resolutions:e.resolutions,state:t(e.state)?e.state:void 0}),this.T=e.canvasFunction,this.J=null,this.N=0,this.X=t(e.ratio)?e.ratio:1.5}function Gl(t){t.prototype.then=t.prototype.then,t.prototype.$goog_Thenable=!0}function Hl(t){if(!t)return!1;try{return!!t.$goog_Thenable}catch(e){return!1}}function ql(t,e){bw||$l(),ww||(bw(),ww=!0),xw.push(new Wl(t,e))}function $l(){if(sm.Promise&&sm.Promise.resolve){var t=sm.Promise.resolve();bw=function(){t.then(Xl)}}else bw=function(){Yn(Xl)}}function Xl(){for(;xw.length;){var t=xw;xw=[];for(var e=0;e<t.length;e++){var o=t[e];try{o.b.call(o.a)}catch(i){Vn(i)}}}ww=!1}function Wl(t,e){this.b=t,this.a=e}function zl(t,e){this.a=Sw,this.f=void 0,this.b=this.c=null,this.d=this.e=!1;try{var o=this;t.call(e,function(t){Zl(o,Tw,t)},function(t){Zl(o,Mw,t)})}catch(i){Zl(this,Mw,i)}}function Kl(t,e){if(t.a==Sw)if(t.c){var o=t.c;if(o.b){for(var i,n=0,r=-1,s=0;(i=o.b[s])&&!((i=i.Rc)&&(n++,i==t&&(r=s),0<=r&&1<n));s++);0<=r&&(o.a==Sw&&1==n?Kl(o,e):(n=o.b.splice(r,1)[0],Ql(o,n,Mw,e)))}}else Zl(t,Mw,e)}function Vl(t,e){t.b&&t.b.length||t.a!=Tw&&t.a!=Mw||Jl(t),t.b||(t.b=[]),t.b.push(e)}function Yl(e,o,i,n){var r={Rc:null,Wg:null,Yg:null};return r.Rc=new zl(function(e,s){r.Wg=o?function(t){try{var i=o.call(n,t);e(i)}catch(r){s(r)}}:e,r.Yg=i?function(o){try{var r=i.call(n,o);!t(r)&&o instanceof eh?s(o):e(r)}catch(a){s(a)}}:s}),r.Rc.c=e,Vl(e,r),r.Rc}function Zl(t,e,o){if(t.a==Sw){if(t==o)e=Mw,o=new TypeError("Promise cannot resolve to itself");else{if(Hl(o))return t.a=1,void o.then(t.g,t.i,t);if(u(o))try{var i=o.then;if(h(i))return void _l(t,o,i)}catch(n){e=Mw,o=n}}t.f=o,t.a=e,Jl(t),e!=Mw||o instanceof eh||th(t,o)}}function _l(t,e,o){function i(e){r||(r=!0,t.i(e))}function n(e){r||(r=!0,t.g(e))}t.a=1;var r=!1;try{o.call(e,n,i)}catch(s){i(s)}}function Jl(t){t.e||(t.e=!0,ql(t.q,t))}function Ql(t,e,o,i){if(o==Tw)e.Wg(i);else{if(e.Rc)for(;t&&t.d;t=t.c)t.d=!1;e.Yg(i)}}function th(t,e){t.d=!0,ql(function(){t.d&&Cw.call(null,e)})}function eh(t){m.call(this,t)}function oh(t,e,o){if(h(t))o&&(t=d(t,o));else{if(!t||"function"!=typeof t.handleEvent)throw Error("Invalid listener argument");t=d(t.handleEvent,t)}return 2147483647<e?-1:sm.setTimeout(t,e||0)}function ih(){}function nh(t){var e;return(e=t.b)||(e={},ah(t)&&(e[0]=!0,e[1]=!0),e=t.b=e),e}function rh(){}function sh(t){return(t=ah(t))?new ActiveXObject(t):new XMLHttpRequest}function ah(t){if(!t.a&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var e=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],o=0;o<e.length;o++){var i=e[o];try{return new ActiveXObject(i),t.a=i}catch(n){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return t.a}function ph(t){if(Rw){Rw=!1;var e=sm.location;if(e){var o=e.href;if(o&&(o=(o=ph(o)[3]||null)?decodeURI(o):o)&&o!=e.hostname)throw Rw=!0,Error()}}return t.match(Aw)}function lh(t,e){for(var o=t.split("&"),i=0;i<o.length;i++){var n=o[i].indexOf("="),r=null,s=null;0<=n?(r=o[i].substring(0,n),s=o[i].substring(n+1)):r=o[i],e(r,s?decodeURIComponent(s.replace(/\+/g," ")):"")}}function hh(t){if(t[1]){var e=t[0],o=e.indexOf("#");0<=o&&(t.push(e.substr(o)),t[0]=e=e.substr(0,o)),o=e.indexOf("?"),0>o?t[1]="?":o==e.length-1&&(t[1]=void 0)}return t.join("")}function uh(t,e,o){if(s(e))for(var i=0;i<e.length;i++)uh(t,String(e[i]),o);else null!=e&&o.push("&",t,""===e?"":"=",encodeURIComponent(String(e)))}function ch(t,e){for(var o in e)uh(o,e[o],t);return t}function fh(t){Qt.call(this),this.H=new Qn,this.i=t||null,this.b=!1,this.g=this.Y=null,this.e=this.o="",this.a=this.l=this.d=this.q=!1,this.f=0,this.c=null,this.n=Lw,this.p=this.J=!1}function yh(e){return Cm&&pt(9)&&l(e.timeout)&&t(e.ontimeout)}function dh(t){return"content-type"==t.toLowerCase()}function gh(t,e){t.b=!1,t.Y&&(t.a=!0,t.Y.abort(),t.a=!1),t.e=e,vh(t),bh(t)}function vh(t){t.q||(t.q=!0,t.dispatchEvent("complete"),t.dispatchEvent("error"))}function mh(t){if(t.b&&"undefined"!=typeof rm&&(!t.g[1]||4!=Sh(t)||2!=Th(t)))if(t.d&&4==Sh(t))oh(t.Xg,0,t);else if(t.dispatchEvent("readystatechange"),4==Sh(t)){t.b=!1;try{if(xh(t))t.dispatchEvent("complete"),t.dispatchEvent("success");else{var e;try{e=2<Sh(t)?t.Y.statusText:""}catch(o){e=""}t.e=e+" ["+Th(t)+"]",vh(t)}}finally{bh(t)}}}function bh(t,e){if(t.Y){wh(t);var i=t.Y,n=t.g[0]?o:null;t.Y=null,t.g=null,e||t.dispatchEvent("ready");try{i.onreadystatechange=n}catch(r){}}}function wh(t){t.Y&&t.p&&(t.Y.ontimeout=null),l(t.c)&&(sm.clearTimeout(t.c),t.c=null)}function xh(t){var e,o=Th(t);t:switch(o){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:e=!0;break t;default:e=!1}return e||((o=0===o)&&(t=ph(String(t.o))[1]||null,!t&&self.location&&(t=self.location.protocol,t=t.substr(0,t.length-1)),o=!Nw.test(t?t.toLowerCase():"")),e=o),e}function Sh(t){return t.Y?t.Y.readyState:0}function Th(t){try{return 2<Sh(t)?t.Y.status:-1}catch(e){return-1}}function Mh(t){try{return t.Y?t.Y.responseText:""}catch(e){return""}}function Ch(t){if("undefined"!=typeof XMLSerializer)return(new XMLSerializer).serializeToString(t);if(t=t.xml)return t;throw Error("Your browser does not support serializing XML documents")}function Eh(t,e){return Bw.createElementNS(t,e)}function Ph(t,e){return null===t&&(t=""),Bw.createNode(1,e,t)}function kh(t,e){return Ah(t,e,[]).join("")}function Ah(t,e,o){if(4==t.nodeType||3==t.nodeType)e?o.push(String(t.nodeValue).replace(/(\r\n|\r|\n)/g,"")):o.push(t.nodeValue);else for(t=t.firstChild;null!==t;t=t.nextSibling)Ah(t,e,o);return o}function Rh(t){return t.localName}function Lh(e){var o=e.localName;return t(o)?o:e.baseName}function Nh(t){return t instanceof Document}function jh(t){return u(t)&&9==t.nodeType}function Ih(t){return t instanceof Node}function Dh(e){return u(e)&&t(e.nodeType)}function Fh(t,e,o){return t.getAttributeNS(e,o)||""}function Oh(e,o,i){var n="";return e=Xw(e,o,i),t(e)&&(n=e.nodeValue),n}function Bh(t,e,o){return t.getAttributeNodeNS(e,o)}function Uh(t,e,o){var i=null;t=t.attributes;for(var n,r,s=0,a=t.length;s<a;++s)if(n=t[s],n.namespaceURI==e&&(r=n.prefix?n.prefix+":"+o:o,r==n.nodeName)){i=n;break}return i}function Gh(t,e,o,i){t.setAttributeNS(e,o,i)}function Hh(t,e,o,i){null===e?t.setAttribute(o,i):(e=t.ownerDocument.createNode(2,o,e),e.nodeValue=i,t.setAttributeNode(e))}function qh(t){return(new DOMParser).parseFromString(t,"application/xml")}function $h(e,o){return function(i,n){var r=e.call(o,i,n);t(r)&&F(n[n.length-1],r)}}function Xh(e,o){return function(i,n){var r=e.call(t(o)?o:this,i,n);t(r)&&n[n.length-1].push(r)}}function Wh(e,o){return function(i,n){var r=e.call(t(o)?o:this,i,n);t(r)&&(n[n.length-1]=r)}}function zh(e){return function(o,i){var n=e.call(t(void 0)?void 0:this,o,i);t(n)&&it(i[i.length-1],t(void 0)?void 0:o.localName).push(n)}}function Kh(e,o){return function(i,n){var r=e.call(t(void 0)?void 0:this,i,n);t(r)&&(n[n.length-1][t(o)?o:i.localName]=r)}}function Vh(t,e,o){return Qh(t,e,o)}function Yh(e,o){return function(i,n,r){e.call(t(o)?o:this,i,n,r),r[r.length-1].P.appendChild(i)}}function Zh(e){var o,i;return function(n,r,s){if(!t(o)){o={};var a={};a[n.localName]=e,o[n.namespaceURI]=a,i=_h(n.localName)}ou(o,i,r,s)}}function _h(e,o){return function(i,n,r){return i=n[n.length-1].P,n=e,t(n)||(n=r),r=o,t(o)||(r=i.namespaceURI),Uw(r,n)}}function Jh(t,e){for(var o=e.length,i=Array(o),n=0;n<o;++n)i[n]=t[e[n]];return i}function Qh(e,o,i){i=t(i)?i:{};var n,r;for(n=0,r=e.length;n<r;++n)i[e[n]]=o;return i}function tu(e,o,i,n){for(o=o.firstElementChild;null!==o;o=o.nextElementSibling){var r=e[o.namespaceURI];t(r)&&(r=r[o.localName],t(r)&&r.call(n,o,i))}}function eu(t,e,o,i,n){return i.push(t),tu(e,o,i,n),i.pop()}function ou(e,o,i,n,r,s){for(var a,p,l=(t(r)?r:i).length,h=0;h<l;++h)a=i[h],t(a)&&(p=o.call(s,a,n,t(r)?r[h]:void 0),t(p)&&e[p.namespaceURI][p.localName].call(s,p,a,n))}function iu(t,e,o,i,n,r,s){n.push(t),ou(e,o,i,n,r,s),n.pop()}function nu(t,e,o){return function(i,n,r){i=new fh,i.n="text",Ht(i,"complete",function(t){if(t=t.target,xh(t)){var i,n=e.M();if("json"==n)i=Mh(t);else if("text"==n)i=Mh(t);else if("xml"==n){if(!Cm)try{i=t.Y?t.Y.responseXML:null}catch(s){i=null}null!=i||(i=qh(Mh(t)))}null!=i&&(i=e.ja(i,{featureProjection:r}),o.call(this,i))}Ct(t)},!1,this),i.send(t)}}function ru(t,e){return nu(t,e,function(t){this.Oc(t)})}function su(){return[[-(1/0),-(1/0),1/0,1/0]]}function au(t){this.a=Ow(t),this.b={}}function pu(t){return t=t.a.all(),k(t,function(t){return t[4]})}function lu(t,e){var o=t.a.search(e);return k(o,function(t){return t[4]})}function hu(t,e,o,i){return uu(lu(t,e),o,i)}function uu(t,e,o){for(var i,n=0,r=t.length;n<r&&!(i=e.call(o,t[n]));n++);return i}function cu(e){e=t(e)?e:{},sn.call(this,{attributions:e.attributions,logo:e.logo,projection:void 0,state:"ready",wrapX:!t(e.wrapX)||e.wrapX}),this.J=o,t(e.loader)?this.J=e.loader:t(e.url)&&(this.J=ru(e.url,e.format)),this.oa=t(e.strategy)?e.strategy:su,this.a=new au,this.N=new au,this.c={},this.e={},this.g={},this.i={},t(e.features)&&du(this,e.features)}function fu(t,e,o){t.i[e]=[Ht(o,"change",t.Pg,!1,t),Ht(o,"propertychange",t.Pg,!1,t)]}function yu(e,o,i){var n=!0,r=i.$;return t(r)?r.toString()in e.e?n=!1:e.e[r.toString()]=i:e.g[o]=i,n}function du(t,e){var o,i,n,r,s=[],a=[],p=[];for(i=0,n=e.length;i<n;i++)r=e[i],o=c(r).toString(),yu(t,o,r)&&a.push(r);for(i=0,n=a.length;i<n;i++){r=a[i],o=c(r).toString(),fu(t,o,r);var l=r.Q();null!=l?(o=l.G(),s.push(o),p.push(r)):t.c[o]=r}for(t.a.load(s,p),i=0,n=a.length;i<n;i++)t.dispatchEvent(new mu("addfeature",a[i]))}function gu(t,e,o){t.$c([e[0],e[1],e[0],e[1]],function(t){if(t.Q().Jb(e[0],e[1]))return o.call(void 0,t)})}function vu(t,e){for(var o in t.e)if(t.e[o]===e){delete t.e[o];break}}function mu(t,e){Et.call(this,t),this.feature=e}function bu(t){this.a=t.source,this.ba=Te(),this.c=mr(),this.e=[0,0],this.n=null,Ul.call(this,{attributions:t.attributions,canvasFunction:d(this.zi,this),logo:t.logo,projection:t.projection,ratio:t.ratio,resolutions:t.resolutions,state:this.a.o}),this.p=null,this.g=void 0,this.Mg(t.style),Ht(this.a,"change",this.am,void 0,this)}function wu(t,e,o,i,n){return Jr(t.ba,n[0]/2,n[1]/2,i/o,-i/o,0,-e[0],-e[1])}function xu(t){rl.call(this,t),this.e=null,this.f=Te(),this.c=this.d=null}function Su(t){rl.call(this,t),this.c=this.f=null,this.q=!1,this.g=null,this.l=Te(),this.e=null,this.p=this.H=this.n=NaN,this.i=this.d=null,this.L=[0,0]}function Tu(t){rl.call(this,t),this.d=!1,this.q=-1,this.i=NaN,this.f=He(),this.c=this.g=null,this.e=mr()}function Mu(t,e){ys.call(this,0,e),this.d=mr(),this.b=this.d.canvas,this.b.style.width="100%",this.b.style.height="100%",this.b.className="ol-unselectable",bi(t,this.b,0),this.a=!0,this.e=Te()}function Cu(t,e,o){var i=t.g,n=t.d;if(ee(i,e)){var r=o.extent,s=o.pixelRatio,a=o.viewState,p=a.projection,l=a.resolution,a=a.rotation,h=0;if(p.c){var u=p.G(),p=no(u),c=o.focus[0];(c<u[0]||c>u[2])&&(h=Math.ceil((u[0]-c)/p),h*=p,r=[r[0]+h,r[1],r[2]+h,r[3]])}p=o.pixelRatio,u=o.viewState,c=u.resolution,h=Jr(t.e,t.b.width/2,t.b.height/2,p/c,-p/c,-u.rotation,-u.center[0]-h,-u.center[1]),l=new el(.5*l/s,r,l),r=new jp(n,s,r,h,a),i.dispatchEvent(new qa(e,i,r,l,o,n,null)),ol(l),l.la()||il(l,n,s,h,a,{}),Bp(r),t.c=l}}function Eu(t,e){es.call(this,t),this.target=e}function Pu(t){var e=gi("DIV");e.style.position="absolute",Eu.call(this,t,e),this.c=null,this.d=Me()}function ku(t){var e=gi("DIV");e.style.position="absolute",Eu.call(this,t,e),this.d=!0,this.q=1,this.g=0,this.c={}}function Au(t,e){this.target=gi("DIV"),this.target.style.position="absolute",this.target.style.width="100%",this.target.style.height="100%",this.d=t,this.c=e,this.f=oo(mn(t,e)),this.g=t.ma(e[0]),this.a={},this.b=null,this.e=Me(),this.i=[0,0]}function Ru(t){this.g=mr();var e=this.g.canvas;e.style.maxWidth="none",e.style.position="absolute",Eu.call(this,t,e),this.d=!1,this.n=-1,this.o=NaN,this.q=He(),this.c=this.l=null,this.H=Te(),this.p=Te()}function Lu(t,e,o,i){var n=t.g;t=t.a,ee(t,e)&&(i=new jp(n,o.pixelRatio,o.extent,i,o.viewState.rotation),t.dispatchEvent(new qa(e,t,i,null,o,n,null)),Bp(i))}function Nu(t,e){ys.call(this,0,e),this.a=null,this.a=mr();var o=this.a.canvas;o.style.position="absolute",o.style.width="100%",o.style.height="100%",o.className="ol-unselectable",bi(t,o,0),this.e=Te(),this.b=gi("DIV"),this.b.className="ol-unselectable",o=this.b.style,o.position="absolute",o.width="100%",o.height="100%",Ht(this.b,"touchstart",kt),bi(t,this.b,0),this.d=!0}function ju(t,e,o){var i=t.g;if(ee(i,e)){var n=o.extent,r=o.pixelRatio,s=o.viewState,a=s.resolution,p=s.rotation,l=t.a,h=l.canvas;Jr(t.e,h.width/2,h.height/2,r/s.resolution,-r/s.resolution,-s.rotation,-s.center[0],-s.center[1]),s=new jp(l,r,n,t.e,p),n=new el(.5*a/r,n,a),i.dispatchEvent(new qa(e,i,s,n,o,l,null)),ol(n),n.la()||il(n,l,r,t.e,p,{}),Bp(s),t.c=n}}function Iu(t){this.b=t}function Du(t){this.b=t}function Fu(t){this.b=t}function Ou(){this.b="precision mediump float;varying vec2 a;varying float b;uniform mat4 k;uniform float l;uniform sampler2D m;void main(void){vec4 texColor=texture2D(m,a);float alpha=texColor.a*b*l;if(alpha==0.0){discard;}gl_FragColor.a=alpha;gl_FragColor.rgb=(k*vec4(texColor.rgb,1.)).rgb;}"}function Bu(){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.);gl_Position=h*vec4(c,0.,1.)+offsets;a=d;b=f;}"}function Uu(t,e){this.l=t.getUniformLocation(e,"k"),this.i=t.getUniformLocation(e,"j"),this.q=t.getUniformLocation(e,"i"),this.f=t.getUniformLocation(e,"l"),this.g=t.getUniformLocation(e,"h"),this.b=t.getAttribLocation(e,"e"),this.a=t.getAttribLocation(e,"f"),this.d=t.getAttribLocation(e,"c"),this.c=t.getAttribLocation(e,"g"),this.e=t.getAttribLocation(e,"d")}function Gu(){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;}"}function Hu(){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.);gl_Position=h*vec4(c,0.,1.)+offsets;a=d;b=f;}"}function qu(t,e){this.i=t.getUniformLocation(e,"j"),this.q=t.getUniformLocation(e,"i"),this.f=t.getUniformLocation(e,"k"),this.g=t.getUniformLocation(e,"h"),this.b=t.getAttribLocation(e,"e"),this.a=t.getAttribLocation(e,"f"),this.d=t.getAttribLocation(e,"c"),this.c=t.getAttribLocation(e,"g"),this.e=t.getAttribLocation(e,"d")}function $u(e){this.b=t(e)?e:[],this.a=t(void 0)?void 0:35044}function Xu(t,e){this.l=t,this.b=e,this.a={},this.f={},this.e={},this.i=this.q=this.d=this.g=null,(this.c=N(im,"OES_element_index_uint"))&&e.getExtension("OES_element_index_uint"),Ht(this.l,"webglcontextlost",this.Ym,!1,this),Ht(this.l,"webglcontextrestored",this.Zm,!1,this)}function Wu(t,e,o){var i=t.b,n=o.b,r=c(o);if(r in t.a)i.bindBuffer(e,t.a[r].buffer);else{var s=i.createBuffer();i.bindBuffer(e,s);var a;34962==e?a=new Float32Array(n):34963==e&&(a=t.c?new Uint32Array(n):new Uint16Array(n)),i.bufferData(e,a,o.a),t.a[r]={c:o,buffer:s}}}function zu(t,e){var o=t.b,i=c(e),n=t.a[i];o.isContextLost()||o.deleteBuffer(n.buffer),delete t.a[i]}function Ku(t,e){var o=c(e);if(o in t.f)return t.f[o];var i=t.b,n=i.createShader(e.M());return i.shaderSource(n,e.b),i.compileShader(n),t.f[o]=n}function Vu(t,e,o){var i=c(e)+"/"+c(o);if(i in t.e)return t.e[i];var n=t.b,r=n.createProgram();return n.attachShader(r,Ku(t,e)),n.attachShader(r,Ku(t,o)),n.linkProgram(r),t.e[i]=r}function Yu(e,o,i){var n=e.createTexture();return e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),t(o)&&e.texParameteri(3553,10242,o),t(i)&&e.texParameteri(3553,10243,i),n}function Zu(t,e,o){var i=Yu(t,void 0,void 0);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,e,o,0,t.RGBA,t.UNSIGNED_BYTE,null),i}function _u(t,e){var o=Yu(t,33071,33071);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,e),o}function Ju(t,e){this.n=this.V=void 0,this.wb=new si,this.q=_e(e),this.U=[],this.f=[],this.J=void 0,this.e=[],this.d=[],this.N=this.L=void 0,this.a=[],this.H=this.p=this.i=null,this.T=void 0,this.rc=Me(),this.vb=Me(),this.X=this.sa=void 0,this.xb=Me(),this.Fa=this.oa=this.ba=void 0,this.Ra=[],this.g=[],this.b=[],this.o=null,this.c=[],this.l=[],this.Ga=void 0}function Qu(t,e){var o=t.o,i=t.i,n=t.Ra,r=t.g,s=e.b;return function(){if(!s.isContextLost()){var t,a;for(t=0,a=n.length;t<a;++t)s.deleteTexture(n[t]);for(t=0,a=r.length;t<a;++t)s.deleteTexture(r[t])}zu(e,o),zu(e,i)}}function tc(t,e,o,i){var n,r,s,a,p,l,h=t.V,u=t.n,c=t.J,f=t.L,y=t.N,d=t.T,g=t.sa,v=t.X,m=t.ba?1:0,b=t.oa,w=t.Fa,x=t.Ga,S=Math.cos(b),b=Math.sin(b),T=t.a.length,M=t.b.length;for(n=0;n<o;n+=i)p=e[n]-t.q[0],l=e[n+1]-t.q[1],r=M/8,s=-w*h,a=-w*(c-u),t.b[M++]=p,t.b[M++]=l,t.b[M++]=s*S-a*b,t.b[M++]=s*b+a*S,t.b[M++]=g/y,t.b[M++]=(v+c)/f,t.b[M++]=d,t.b[M++]=m,s=w*(x-h),a=-w*(c-u),t.b[M++]=p,t.b[M++]=l,t.b[M++]=s*S-a*b,t.b[M++]=s*b+a*S,t.b[M++]=(g+x)/y,t.b[M++]=(v+c)/f,t.b[M++]=d,t.b[M++]=m,s=w*(x-h),a=w*u,t.b[M++]=p,t.b[M++]=l,t.b[M++]=s*S-a*b,t.b[M++]=s*b+a*S,t.b[M++]=(g+x)/y,t.b[M++]=v/f,t.b[M++]=d,t.b[M++]=m,s=-w*h,a=w*u,t.b[M++]=p,t.b[M++]=l,t.b[M++]=s*S-a*b,t.b[M++]=s*b+a*S,t.b[M++]=g/y,t.b[M++]=v/f,t.b[M++]=d,t.b[M++]=m,t.a[T++]=r,t.a[T++]=r+1,t.a[T++]=r+2,t.a[T++]=r,t.a[T++]=r+2,t.a[T++]=r+3}function ec(t,e){var o=e.b;t.U.push(t.a.length),t.f.push(t.a.length),t.o=new $u(t.b),Wu(e,34962,t.o),t.i=new $u(t.a),Wu(e,34963,t.i);var i={};oc(t.Ra,t.e,i,o),oc(t.g,t.d,i,o),t.V=void 0,t.n=void 0,t.J=void 0,t.e=null,t.d=null,t.L=void 0,t.N=void 0,t.a=null,t.T=void 0,t.sa=void 0,t.X=void 0,t.ba=void 0,t.oa=void 0,t.Fa=void 0,t.b=null,t.Ga=void 0}function oc(t,e,o,i){var n,r,s,a=e.length;for(s=0;s<a;++s)n=e[s],r=c(n).toString(),r in o?n=o[r]:(n=_u(i,n),o[r]=n),t[s]=n}function ic(e,o,i,n,r,s,a,p,l,h,u,f,y,d,g){var v=o.b;Wu(o,34962,e.o),Wu(o,34963,e.i);var m,b,w=p||1!=l||h||1!=u;w?(m=Ou.Ia(),b=Bu.Ia()):(m=Gu.Ia(),b=Hu.Ia()),b=Vu(o,m,b),w?null===e.p?(m=new Uu(v,b),e.p=m):m=e.p:null===e.H?(m=new qu(v,b),e.H=m):m=e.H,o.oe(b),v.enableVertexAttribArray(m.d),v.vertexAttribPointer(m.d,2,5126,!1,32,0),v.enableVertexAttribArray(m.b),v.vertexAttribPointer(m.b,2,5126,!1,32,8),v.enableVertexAttribArray(m.e),v.vertexAttribPointer(m.e,2,5126,!1,32,16),v.enableVertexAttribArray(m.a),v.vertexAttribPointer(m.a,1,5126,!1,32,24),v.enableVertexAttribArray(m.c),v.vertexAttribPointer(m.c,1,5126,!1,32,28),b=e.xb,Jr(b,0,0,2/(n*s[0]),2/(n*s[1]),-r,-(i[0]-e.q[0]),-(i[1]-e.q[1])),i=e.vb,n=2/s[0],s=2/s[1],Pe(i),i[0]=n,i[5]=s,i[10]=1,i[15]=1,s=e.rc,Pe(s),0!==r&&Ne(s,-r),v.uniformMatrix4fv(m.g,!1,b),v.uniformMatrix4fv(m.q,!1,i),v.uniformMatrix4fv(m.i,!1,s),v.uniform1f(m.f,a),w&&v.uniformMatrix4fv(m.l,!1,ai(e.wb,p,l,h,u));var x;if(t(y)){if(d)t:{for(r=o.c?5125:5123,o=o.c?4:2,h=e.c.length-1,a=e.g.length-1;0<=a;--a)for(v.bindTexture(3553,e.g[a]),p=0<a?e.f[a-1]:0,u=e.f[a];0<=h&&e.c[h]>=p;){if(l=e.c[h],d=e.l[h],w=c(d).toString(),!t(f[w])&&(!t(g)||ro(g,d.Q().G()))&&(v.clear(v.COLOR_BUFFER_BIT|v.DEPTH_BUFFER_BIT),v.drawElements(4,u-l,r,l*o),u=y(d))){e=u;break t}u=l,h--}e=void 0}else v.clear(v.COLOR_BUFFER_BIT|v.DEPTH_BUFFER_BIT),nc(e,v,o,f,e.g,e.f),e=(e=y(null))?e:void 0;x=e}else nc(e,v,o,f,e.Ra,e.U);return v.disableVertexAttribArray(m.d),v.disableVertexAttribArray(m.b),v.disableVertexAttribArray(m.e),v.disableVertexAttribArray(m.a),v.disableVertexAttribArray(m.c),x}function nc(e,o,i,n,r,s){var a=i.c?5125:5123;if(i=i.c?4:2,Q(n)){var p;for(e=0,n=r.length,p=0;e<n;++e){o.bindTexture(3553,r[e]);var l=s[e];o.drawElements(4,l-p,a,p*i),p=l}}else{p=0;var h,l=0;for(h=r.length;l<h;++l){o.bindTexture(3553,r[l]);for(var u=0<l?s[l-1]:0,f=s[l],y=u;p<e.c.length&&e.c[p]<=f;){var d=c(e.l[p]).toString();t(n[d])?(y!==u&&o.drawElements(4,u-y,a,y*i),u=y=p===e.c.length-1?f:e.c[p+1]):u=p===e.c.length-1?f:e.c[p+1],p++}y!==u&&o.drawElements(4,u-y,a,y*i)}}}function rc(t,e,o){this.e=e,this.f=t,this.d=o,this.a={}}function sc(t,e){var o,i=[];for(o in t.a)i.push(Qu(t.a[o],e));return cn.apply(null,i)}function ac(t,e){for(var o in t.a)ec(t.a[o],e)}function pc(e,o,i,n,r,s,a,p,l,h,u,c,f,y){var d,g,v=Vw;for(d=cw.length-1;0<=d;--d)if(g=e.a[cw[d]],t(g)&&(g=ic(g,o,i,n,r,v,s,a,p,l,h,u,c,f,y)))return g}function lc(e,o,i,n,r,s,a,p,l,h,u){var c=i.b;return c.bindFramebuffer(c.FRAMEBUFFER,i.Te()),e=pc(e,i,o,n,r,s,a,p,l,h,u,function(){var t=new Uint8Array(4);return c.readPixels(0,0,1,1,c.RGBA,c.UNSIGNED_BYTE,t),0<t[3]},!1),t(e)}function hc(t,e,o,i,n,r){this.a=t,this.e=e,this.d=r,this.i=n,this.g=i,this.f=o,this.c=null,this.b={}}function uc(){this.b="precision mediump float;varying vec2 a;uniform mat4 f;uniform float g;uniform sampler2D h;void main(void){vec4 texColor=texture2D(h,a);gl_FragColor.rgb=(f*vec4(texColor.rgb,1.)).rgb;gl_FragColor.a=texColor.a*g;}"}function cc(){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;}"}function fc(t,e){this.g=t.getUniformLocation(e,"f"),this.c=t.getUniformLocation(e,"g"),this.d=t.getUniformLocation(e,"e"),this.f=t.getUniformLocation(e,"d"),this.e=t.getUniformLocation(e,"h"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function yc(){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;}"}function dc(){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;}"}function gc(t,e){this.c=t.getUniformLocation(e,"f"),this.d=t.getUniformLocation(e,"e"),this.f=t.getUniformLocation(e,"d"),this.e=t.getUniformLocation(e,"g"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function vc(t,e){es.call(this,e),this.c=t,this.N=new $u([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]),this.e=this.Qa=null,this.f=void 0,this.q=Te(),this.n=Me(),this.T=new si,this.o=this.l=null}function mc(e,o,i){var n=e.c.e;if(t(e.f)&&e.f==i)n.bindFramebuffer(36160,e.e);else{o.postRenderFunctions.push(g(function(t,e,o){t.isContextLost()||(t.deleteFramebuffer(e),t.deleteTexture(o))},n,e.e,e.Qa)),o=Zu(n,i,i);var r=n.createFramebuffer();n.bindFramebuffer(36160,r),n.framebufferTexture2D(36160,36064,3553,o,0),e.Qa=o,e.e=r,e.f=i}}function bc(t,e,o,i){if(t=t.a,ee(t,e)){var n=i.viewState;t.dispatchEvent(new qa(e,t,new hc(o,n.center,n.resolution,n.rotation,i.size,i.extent),null,i,null,o))}}function wc(t,e){vc.call(this,t,e),this.i=this.g=this.d=null}function xc(t,e){var o=e.b();return _u(t.c.e,o)}function Sc(t,e,o,i,n,r,s,a){e*=r,o*=r,t=t.n,Pe(t),Le(t,2*i/e,2*i/o),Ne(t,-s),Re(t,a[0]-n[0],a[1]-n[1]),Le(t,(a[2]-a[0])/2,(a[3]-a[1])/2),Re(t,1,1)}function Tc(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}function Mc(){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;}"}function Cc(t,e){this.c=t.getUniformLocation(e,"e"),this.d=t.getUniformLocation(e,"d"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function Ec(t,e){vc.call(this,t,e),this.J=Tc.Ia(),this.X=Mc.Ia(),this.d=null,this.H=new $u([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]),this.p=this.g=null,this.i=-1,this.L=[0,0]}function Pc(t,e){vc.call(this,t,e),this.i=!1,this.L=-1,this.J=NaN,this.p=He(),this.g=this.d=this.H=null}function kc(t,e){ys.call(this,0,e),this.b=gi("CANVAS"),this.b.style.width="100%",this.b.style.height="100%",this.b.className="ol-unselectable",bi(t,this.b,0),this.p=this.H=0,this.J=mr(),this.l=!0,this.e=xr(this.b,{antialias:!0,depth:!1,Ei:!0,preserveDrawingBuffer:!1,stencil:!0}),this.d=new Xu(this.b,this.e),Ht(this.b,"webglcontextlost",this.Pl,!1,this),Ht(this.b,"webglcontextrestored",this.Ql,!1,this),this.a=new Qi,this.n=null,this.q=new bs(d(function(t){var e=t[1];t=t[2];var o=e[0]-this.n[0],e=e[1]-this.n[1];return 65536*Math.log(t)+Math.sqrt(o*o+e*e)/t},this),function(t){return t[0].gb()}),this.L=d(function(){if(!this.q.la()){Ms(this.q);var t=ws(this.q);Ac(this,t[0],t[3],t[4])}},this),this.i=0,Lc(this)}function Ac(t,e,o,i){var n=t.e,r=e.gb();if(tn(t.a,r))t=t.a.get(r),n.bindTexture(3553,t.Qa),9729!=t.lg&&(n.texParameteri(3553,10240,9729),t.lg=9729),9729!=t.mg&&(n.texParameteri(3553,10240,9729),t.mg=9729);else{var s=n.createTexture();if(n.bindTexture(3553,s),0<i){var a=t.J.canvas,p=t.J;t.H!==o[0]||t.p!==o[1]?(a.width=o[0],a.height=o[1],t.H=o[0],t.p=o[1]):p.clearRect(0,0,o[0],o[1]),p.drawImage(e.Ma(),i,i,o[0],o[1],0,0,o[0],o[1]),n.texImage2D(3553,0,6408,6408,5121,a)}else n.texImage2D(3553,0,6408,6408,5121,e.Ma());n.texParameteri(3553,10240,9729),n.texParameteri(3553,10241,9729),n.texParameteri(3553,10242,33071),n.texParameteri(3553,10243,33071),t.a.set(r,{Qa:s,lg:9729,mg:9729})}}function Rc(e,o,i){var n=e.g;if(ee(n,o)){var r=e.d,s=i.extent,a=i.size,p=i.viewState,l=p.resolution,h=p.center,u=p.rotation,p=new hc(r,h,l,u,a,s),s=new rc(.5*l/i.pixelRatio,s);if(n.dispatchEvent(new qa(o,n,p,s,i,null,r)),ac(s,r),!s.la()){var c=Zw;o=c.opacity,i=c.brightness;var f,y,d,n=c.contrast,g=c.hue,c=c.saturation,v={};for(f=0,y=cw.length;f<y;++f)d=s.a[cw[f]],t(d)&&ic(d,r,h,l,u,a,o,i,n,g,c,v,void 0,!1)}for(sc(s,r)(),r=k(Y(p.b),Number),U(r),a=0,l=r.length;a<l;++a)for(h=p.b[r[a].toString()],u=0,o=h.length;u<o;++u)h[u](p);e.c=s}}function Lc(t){t=t.e,t.activeTexture(33984),t.blendFuncSeparate(770,771,1,771),t.disable(2884),t.disable(2929),t.disable(3089),t.disable(2960)}function Nc(e){re.call(this);var o=jc(e);this.wb=!!t(e.loadTilesWhileAnimating)&&e.loadTilesWhileAnimating,this.xb=!!t(e.loadTilesWhileInteracting)&&e.loadTilesWhileInteracting,this.Nc=t(e.pixelRatio)?e.pixelRatio:Eb,this.sc=o.logos,this.o=new Xn(this.Qn,(void 0),this),Mt(this,this.o),this.Ra=Te(),this.Ee=Te(),this.vb=0,this.c=null,this.oa=He(),this.g=this.J=null,this.a=yi("DIV","ol-viewport"),this.a.style.position="relative",this.a.style.overflow="hidden",this.a.style.width="100%",this.a.style.height="100%",this.a.style.msTouchAction="none",Lb&&(this.a.className="ol-touch"),this.X=yi("DIV","ol-overlaycontainer"),this.a.appendChild(this.X),this.p=yi("DIV","ol-overlaycontainer-stopevent"),Ht(this.p,["click","dblclick","mousedown","touchstart","MSPointerDown",Jb,Em?"DOMMouseScroll":"mousewheel"],Pt),this.a.appendChild(this.p),e=new Xr(this),Ht(e,V(ew),this.eg,!1,this), -Mt(this,e),this.T=o.keyboardEventTarget,this.n=new pr,Ht(this.n,"key",this.dg,!1,this),Mt(this,this.n),e=new cr(this.a),Ht(e,"mousewheel",this.dg,!1,this),Mt(this,e),this.e=o.controls,this.d=o.interactions,this.f=o.overlays,this.i=new o.Sn(this.a,this),Mt(this,this.i),this.Ga=new ir,Mt(this,this.Ga),this.L=this.l=null,this.H=[],this.ba=[],this.Fa=new Cs(d(this.zj,this),d(this.bl,this)),this.N={},Ht(this,se("layergroup"),this.Qj,!1,this),Ht(this,se("view"),this.mk,!1,this),Ht(this,se("size"),this.jk,!1,this),Ht(this,se("target"),this.lk,!1,this),this.t(o.values),this.e.forEach(function(t){t.setMap(this)},this),Ht(this.e,"add",function(t){t.element.setMap(this)},!1,this),Ht(this.e,"remove",function(t){t.element.setMap(null)},!1,this),this.d.forEach(function(t){t.setMap(this)},this),Ht(this.d,"add",function(t){t.element.setMap(this)},!1,this),Ht(this.d,"remove",function(t){t.element.setMap(null)},!1,this),this.f.forEach(function(t){t.setMap(this)},this),Ht(this.f,"add",function(t){t.element.setMap(this)},!1,this),Ht(this.f,"remove",function(t){t.element.setMap(null)},!1,this)}function jc(e){var o=null;t(e.keyboardEventTarget)&&(o=p(e.keyboardEventTarget)?document.getElementById(e.keyboardEventTarget):e.keyboardEventTarget);var i={},n={};if(!t(e.logo)||"boolean"==typeof e.logo&&e.logo)n["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"]="http://openlayers.org/";else{var r=e.logo;p(r)?n[r]="":u(r)&&(n[r.src]=r.href)}r=e.layers instanceof Mp?e.layers:new Mp({layers:e.layers}),i.layergroup=r,i.target=e.target,i.view=t(e.view)?e.view:new Ao;var a,r=ys;t(e.renderer)?s(e.renderer)?a=e.renderer:p(e.renderer)&&(a=[e.renderer]):a=_w;var l,h;for(l=0,h=a.length;l<h;++l){var c=a[l];if("canvas"==c){if(kb){r=Mu;break}}else{if("dom"==c){r=Nu;break}if("webgl"==c&&xb){r=kc;break}}}var f;f=t(e.controls)?s(e.controls)?new ei(e.controls.slice()):e.controls:Fn();var y;return y=t(e.interactions)?s(e.interactions)?new ei(e.interactions.slice()):e.interactions:Tp(),e=t(e.overlays)?s(e.overlays)?new ei(e.overlays.slice()):e.overlays:new ei,{controls:f,interactions:y,keyboardEventTarget:o,logos:n,overlays:e,Sn:r,values:i}}function Ic(e){re.call(this),this.g=!t(e.insertFirst)||e.insertFirst,this.i=!t(e.stopEvent)||e.stopEvent,this.Z=yi("DIV",{"class":"ol-overlay-container"}),this.Z.style.position="absolute",this.f=!!t(e.autoPan)&&e.autoPan,this.d=t(e.autoPanAnimation)?e.autoPanAnimation:{},this.e=t(e.autoPanMargin)?e.autoPanMargin:20,this.a={ud:"",Xd:"",ve:"",we:"",visible:!0},this.c=null,Ht(this,se("element"),this.Kj,!1,this),Ht(this,se("map"),this.Yj,!1,this),Ht(this,se("offset"),this.ck,!1,this),Ht(this,se("position"),this.ek,!1,this),Ht(this,se("positioning"),this.fk,!1,this),t(e.element)&&this.wh(e.element),this.Bh(t(e.offset)?e.offset:[0,0]),this.Ch(t(e.positioning)?e.positioning:"top-left"),t(e.position)&&this.uf(e.position)}function Dc(t,e){var o=Mi(t);Bi(t,"position");var i,n=new pi(0,0);return i=o?Mi(o):document,i=!Cm||Cm&&9<=Im||Pi(hi(i))?i.documentElement:i.body,t!=i&&(i=Gi(t),o=ki(hi(o)),n.x=i.left+o.x,n.y=i.top+o.y),[n.x,n.y,n.x+e[0],n.y+e[1]]}function Fc(e){var o=e.ae(),i=e.wg();if(t(o)&&null!==o.c&&t(i)){var i=o.ta(i),n=o.xa(),o=e.Z.style,r=e.Yf(),s=e.ag(),a=r[0],r=r[1];"bottom-right"==s||"center-right"==s||"top-right"==s?(""!==e.a.Xd&&(e.a.Xd=o.left=""),a=Math.round(n[0]-i[0]-a)+"px",e.a.ve!=a&&(e.a.ve=o.right=a)):(""!==e.a.ve&&(e.a.ve=o.right=""),"bottom-center"!=s&&"center-center"!=s&&"top-center"!=s||(a-=$i(e.Z).width/2),a=Math.round(i[0]+a)+"px",e.a.Xd!=a&&(e.a.Xd=o.left=a)),"bottom-left"==s||"bottom-center"==s||"bottom-right"==s?(""!==e.a.we&&(e.a.we=o.top=""),i=Math.round(n[1]-i[1]-r)+"px",e.a.ud!=i&&(e.a.ud=o.bottom=i)):(""!==e.a.ud&&(e.a.ud=o.bottom=""),"center-left"!=s&&"center-center"!=s&&"center-right"!=s||(r-=$i(e.Z).height/2),i=Math.round(i[1]+r)+"px",e.a.we!=i&&(e.a.we=o.top=i)),e.a.visible||(Wi(e.Z,!0),e.a.visible=!0)}else e.a.visible&&(Wi(e.Z,!1),e.a.visible=!1)}function Oc(e){e=t(e)?e:{},this.f=!t(e.collapsed)||e.collapsed,this.g=!t(e.collapsible)||e.collapsible,this.g||(this.f=!1);var o=t(e.className)?e.className:"ol-overviewmap",i=t(e.tipLabel)?e.tipLabel:"Overview map",n=t(e.collapseLabel)?e.collapseLabel:"«";this.o=p(n)?yi("SPAN",{},n):n,n=t(e.label)?e.label:"»",this.n=p(n)?yi("SPAN",{},n):n,i=yi("BUTTON",{type:"button",title:i},this.g&&!this.f?this.o:this.n),Ht(i,"click",this.ml,!1,this),Ht(i,["mouseout",Hm],function(){this.blur()},!1);var n=yi("DIV","ol-overviewmap-map"),r=this.d=new Nc({controls:new ei,interactions:new ei,target:n});t(e.layers)&&e.layers.forEach(function(t){r.Jf(t)},this);var s=yi("DIV","ol-overviewmap-box");this.i=new Ic({position:[0,0],positioning:"bottom-left",element:s}),this.d.Kf(this.i),o=yi("DIV",o+" ol-unselectable ol-control"+(this.f&&this.g?" ol-collapsed":"")+(this.g?"":" ol-uncollapsible"),n,i),Ji.call(this,{element:o,render:t(e.render)?e.render:Bc,target:e.target})}function Bc(){var t=this.a,e=this.d;if(null!==t.c&&null!==e.c){var o=t.xa(),t=t.R().Pc(o),i=e.xa(),o=e.R().Pc(i),n=e.ta(oo(t)),e=e.ta(Ze(t)),e=new li(Math.abs(n[0]-e[0]),Math.abs(n[1]-e[1])),n=i[0],i=i[1];e.width<.1*n||e.height<.1*i||e.width>.75*n||e.height>.75*i?Uc(this):Be(o,t)||(t=this.d,o=this.a.R(),t.R().Na(o.Ca()))}Gc(this)}function Uc(t){var e=t.a;t=t.d;var o=e.xa(),e=e.R().Pc(o),o=t.xa();t=t.R();var i=Math.log(7.5)/Math.LN2;ao(e,1/(.1*Math.pow(2,i/2))),t.Me(e,o)}function Gc(e){var o=e.a,i=e.d;if(null!==o.c&&null!==i.c){var n=o.xa(),r=o.R(),s=i.R();i.xa();var a,o=r.Da(),p=e.i,i=e.i.$d(),r=r.Pc(n),n=s.ya(),s=Ye(r),r=io(r);e=e.a.R().Ca(),t(e)&&(a=[s[0]-e[0],s[1]-e[1]],ge(a,o),ue(a,e)),p.uf(a),null!=i&&(a=new li(Math.abs((s[0]-r[0])/n),Math.abs((r[1]-s[1])/n)),o=Pi(hi(Mi(i))),!Cm||pt("10")||o&&pt("8")?(i=i.style,Em?i.MozBoxSizing="border-box":Pm?i.WebkitBoxSizing="border-box":i.boxSizing="border-box",i.width=Math.max(a.width,0)+"px",i.height=Math.max(a.height,0)+"px"):(e=i.style,o?(o=Vi(i,"padding"),i=Zi(i),e.pixelWidth=a.width-i.left-o.left-o.right-i.right,e.pixelHeight=a.height-i.top-o.top-o.bottom-i.bottom):(e.pixelWidth=a.width,e.pixelHeight=a.height)))}}function Hc(t){ji(t.element,"ol-collapsed"),t.f?xi(t.o,t.n):xi(t.n,t.o),t.f=!t.f;var e=t.d;t.f||null!==e.c||(e.Kc(),Uc(t),Xt(e,"postrender",function(){Gc(this)},!1,t))}function qc(e){e=t(e)?e:{};var o=t(e.className)?e.className:"ol-scale-line";this.g=yi("DIV",o+"-inner"),this.Z=yi("DIV",o+" ol-unselectable",this.g),this.o=null,this.i=t(e.minWidth)?e.minWidth:64,this.d=!1,this.H=void 0,this.n="",this.f=null,Ji.call(this,{element:this.Z,render:t(e.render)?e.render:$c,target:e.target}),Ht(this,se("units"),this.N,!1,this),this.J(e.units||"metric")}function $c(t){t=t.frameState,null===t?this.o=null:this.o=t.viewState,Xc(this)}function Xc(t){var e=t.o;if(null===e)t.d&&(Wi(t.Z,!1),t.d=!1);else{var o=e.center,i=e.projection,e=i.getPointResolution(e.resolution,o),n=i.a,r=t.p();for("degrees"!=n||"metric"!=r&&"imperial"!=r&&"us"!=r&&"nautical"!=r?"degrees"!=n&&"degrees"==r?(null===t.f&&(t.f=Mo(i,xo("EPSG:4326"))),o=Math.cos(ct(t.f(o)[1])),i=_m.radius,i/=Jm[n],e*=180/(Math.PI*o*i)):t.f=null:(t.f=null,o=Math.cos(ct(o[1])),e*=Math.PI*o*_m.radius/180),o=t.i*e,n="","degrees"==r?o<1/60?(n="″",e*=3600):1>o?(n="′",e*=60):n="°":"imperial"==r?.9144>o?(n="in",e/=.0254):1609.344>o?(n="ft",e/=.3048):(n="mi",e/=1609.344):"nautical"==r?(e/=1852,n="nm"):"metric"==r?1>o?(n="mm",e*=1e3):1e3>o?n="m":(n="km",e/=1e3):"us"==r&&(.9144>o?(n="in",e*=39.37):1609.344>o?(n="ft",e/=.30480061):(n="mi",e/=1609.3472)),o=3*Math.floor(Math.log(t.i*e)/Math.log(10));;){if(i=Jw[o%3]*Math.pow(10,Math.floor(o/3)),r=Math.round(i/e),isNaN(r))return Wi(t.Z,!1),void(t.d=!1);if(r>=t.i)break;++o}e=i+" "+n,t.n!=e&&(t.g.innerHTML=e,t.n=e),t.H!=r&&(t.g.style.width=r+"px",t.H=r),t.d||(Wi(t.Z,!0),t.d=!0)}}function Wc(t){Tt.call(this),this.a=t,this.b={}}function zc(t){W(t.b,zt),t.b={}}function Kc(t,e,o){Qt.call(this),this.target=t,this.handle=e||t,this.b=o||new Di(NaN,NaN,NaN,NaN),this.c=Mi(t),this.a=new Wc(this),Mt(this,this.a),Ht(this.handle,["touchstart","mousedown"],this.cg,!1,this)}function Vc(t){var e=t.type;"touchstart"==e||"touchmove"==e?Lt(t,t.b.targetTouches[0],t.c):"touchend"!=e&&"touchcancel"!=e||Lt(t,t.b.changedTouches[0],t.c)}function Yc(t,e,o){var i=ki(hi(t.c));return e+=i.x-t.d.x,o+=i.y-t.d.y,t.d=i,t.yc+=e,t.zc+=o,e=_c(t,t.yc),t=Jc(t,t.zc),new pi(e,t)}function Zc(t,e,o,i){t.target.style.left=o+"px",t.target.style.top=i+"px",t.dispatchEvent(new Qc("drag",t,e.clientX,e.clientY,0,o,i))}function _c(t,e){var o=t.b,i=isNaN(o.left)?null:o.left,o=isNaN(o.width)?0:o.width;return Math.min(null!=i?i+o:1/0,Math.max(null!=i?i:-(1/0),e))}function Jc(t,e){var o=t.b,i=isNaN(o.top)?null:o.top,o=isNaN(o.height)?0:o.height;return Math.min(null!=i?i+o:1/0,Math.max(null!=i?i:-(1/0),e))}function Qc(e,o,i,n,r,s,a){Et.call(this,e),this.clientX=i,this.clientY=n,this.left=t(s)?s:o.yc,this.top=t(a)?a:o.zc}function tf(e){e=t(e)?e:{},this.f=void 0,this.g=ex,this.i=null,this.n=!1,this.o=t(e.duration)?e.duration:200;var o=t(e.className)?e.className:"ol-zoomslider",i=yi("DIV",[o+"-thumb","ol-unselectable"]),o=yi("DIV",[o,"ol-unselectable","ol-control"],i);this.d=new Kc(i),Mt(this,this.d),Ht(this.d,"start",this.Jj,!1,this),Ht(this.d,"drag",this.Hj,!1,this),Ht(this.d,"end",this.Ij,!1,this),Ht(o,"click",this.Gj,!1,this),Ht(i,"click",Pt),Ji.call(this,{element:o,render:t(e.render)?e.render:ef})}function ef(t){if(null!==t.frameState){if(!this.n){var e=this.element,o=$i(e),i=Si(e),e=Vi(i,"margin"),n=new li(i.offsetWidth,i.offsetHeight),i=n.width+e.right+e.left,e=n.height+e.top+e.bottom;this.i=[i,e],i=o.width-i,e=o.height-e,o.width>o.height?(this.g=1,o=new Di(0,0,i,0)):(this.g=ex,o=new Di(0,0,0,e)),this.d.b=o||new Di(NaN,NaN,NaN,NaN),this.n=!0}t=t.frameState.viewState.resolution,t!==this.f&&(this.f=t,t=1-No(this.a.R())(t),o=this.d,e=Si(this.element),1==this.g?Ui(e,o.b.left+o.b.width*t):Ui(e,o.b.left,o.b.top+o.b.height*t))}}function of(t,e,o){var i=t.d.b;return lt(1===t.g?(e-i.left)/i.width:(o-i.top)/i.height,0,1)}function nf(t,e){return Lo(t.a.R())(1-e)}function rf(e){e=t(e)?e:{},this.d=t(e.extent)?e.extent:null;var o=t(e.className)?e.className:"ol-zoom-extent",i=yi("BUTTON",{type:"button",title:t(e.tipLabel)?e.tipLabel:"Fit to extent"},t(e.label)?e.label:"E");Ht(i,"click",this.f,!1,this),Ht(i,["mouseout",Hm],function(){this.blur()},!1),o=yi("DIV",o+" ol-unselectable ol-control",i),Ji.call(this,{element:o,target:e.target})}function sf(e){re.call(this),e=t(e)?e:{},this.a=null,Ht(this,se("tracking"),this.Jk,!1,this),this.bf(!!t(e.tracking)&&e.tracking)}function af(e){re.call(this),this.$=void 0,this.a="geometry",this.e=null,this.c=void 0,this.d=null,Ht(this,se(this.a),this.Pd,!1,this),t(e)&&(e instanceof Qs||null===e?this.La(e):this.t(e))}function pf(e){e=t(e)?e:{},this.g=this.e=this.d=this.a=this.c=this.b=null,this.f=void 0,this.rg(t(e.style)?e.style:rp),t(e.features)?s(e.features)?this.ld(new ei(e.features.slice())):this.ld(e.features):this.ld(new ei),t(e.map)&&this.setMap(e.map)}function lf(t){null===t.d||t.d.render()}function hf(){this.defaultDataProjection=null}function uf(e,o,i){var n;return t(i)&&(n={dataProjection:t(i.dataProjection)?i.dataProjection:e.za(o),featureProjection:i.featureProjection}),cf(e,n)}function cf(e,o){var i;return t(o)&&(i={featureProjection:o.featureProjection,dataProjection:null!=o.dataProjection?o.dataProjection:e.defaultDataProjection,rightHanded:o.rightHanded}),i}function ff(e,o,i){var n=t(i)?xo(i.featureProjection):null;return i=t(i)?xo(i.dataProjection):null,null===n||null===i||So(n,i)?e:e instanceof Qs?(o?e.clone():e).transform(o?n:i,o?i:n):ko(o?e.slice():e,o?n:i,o?i:n)}function yf(){this.defaultDataProjection=null}function df(e){return u(e)?e:p(e)?(e=Ew(e),t(e)?e:null):null}function gf(e){e=t(e)?e:{},this.defaultDataProjection=null,this.b=e.geometryName}function vf(t,e){if(null===t)return null;var o;if(l(t.x)&&l(t.y))o="Point";else if(null!=t.points)o="MultiPoint";else if(null!=t.paths)o=1===t.paths.length?"LineString":"MultiLineString";else if(null!=t.rings){var i=t.rings,n=mf(t),r=[];o=[];var s,a;for(s=0,a=i.length;s<a;++s){var p=$(i[s]);Na(p,0,p.length,n.length)?r.push([i[s]]):o.push(i[s])}for(;o.length;){for(i=o.shift(),n=!1,s=r.length-1;0<=s;s--)if(Be(new xa(r[s][0]).G(),new xa(i).G())){r[s].push(i),n=!0;break}n||r.push([i.reverse()])}t=nt(t),1===r.length?(o="Polygon",t.rings=r[0]):(o="MultiPolygon",t.rings=r)}return ff((0,ox[o])(t),!1,e)}function mf(t){var e="XY";return!0===t.hasZ&&!0===t.hasM?e="XYZM":!0===t.hasZ?e="XYZ":!0===t.hasM&&(e="XYM"),e}function bf(t){return t=t.a,{hasZ:"XYZ"===t||"XYZM"===t,hasM:"XYM"===t||"XYZM"===t}}function wf(t,e){return(0,ix[t.M()])(ff(t,!0,e),e)}function xf(e){e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo(null!=e.defaultDataProjection?e.defaultDataProjection:"EPSG:4326"),this.b=e.geometryName}function Sf(t,e){return null===t?null:ff((0,nx[t.type])(t),!1,e)}function Tf(t,e){return(0,rx[t.M()])(ff(t,!0,e),e)}function Mf(){this.defaultDataProjection=null}function Cf(t,e,o){return t=Ef(t,e,o),0<t.length?t[0]:null}function Ef(t,e,o){var i=[];for(e=e.firstChild;null!==e;e=e.nextSibling)1==e.nodeType&&F(i,t.Ob(e,o));return i}function Pf(e){e=t(e)?e:{},this.featureType=e.featureType,this.featureNS=e.featureNS,this.srsName=e.srsName,this.schemaLocation="",this.b={},this.b["http://www.opengis.net/gml"]={featureMember:Wh(Pf.prototype.jd),featureMembers:Wh(Pf.prototype.jd)},this.defaultDataProjection=null}function kf(t){return t=kh(t,!1),Af(t)}function Af(e){if(e=/^\s*(true|1)|(false|0)\s*$/.exec(e))return t(e[1])||!1}function Rf(e){if(e=kh(e,!1),e=/^\s*(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?))\s*$/.exec(e)){var o=Date.UTC(parseInt(e[1],10),parseInt(e[2],10)-1,parseInt(e[3],10),parseInt(e[4],10),parseInt(e[5],10),parseInt(e[6],10))/1e3;if("Z"!=e[7]){var i="-"==e[8]?-1:1,o=o+60*i*parseInt(e[9],10);t(e[10])&&(o+=3600*i*parseInt(e[10],10))}return o}}function Lf(t){return t=kh(t,!1),Nf(t)}function Nf(t){if(t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(t))return parseFloat(t[1])}function jf(t){return t=kh(t,!1),If(t)}function If(t){if(t=/^\s*(\d+)\s*$/.exec(t))return parseInt(t[1],10)}function Df(t){return t=kh(t,!1),cm(t)}function Ff(t,e){Uf(t,e?"1":"0")}function Of(t,e){t.appendChild(Bw.createTextNode(e.toPrecision()))}function Bf(t,e){t.appendChild(Bw.createTextNode(e.toString()))}function Uf(t,e){t.appendChild(Bw.createTextNode(e))}function Gf(e){e=t(e)?e:{},Pf.call(this,e),this.i=!!t(e.surface)&&e.surface,this.e=!!t(e.curve)&&e.curve,this.f=!t(e.multiCurve)||e.multiCurve,this.g=!t(e.multiSurface)||e.multiSurface,this.schemaLocation=t(e.schemaLocation)?e.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}function Hf(t,e,o){o=o[o.length-1].srsName,e=e.K();for(var i,n=e.length,r=Array(n),s=0;s<n;++s){i=e[s];var a=s,p="enu";null!=o&&(p=uo(xo(o))),r[a]="en"===p.substr(0,2)?i[0]+" "+i[1]:i[1]+" "+i[0]}Uf(t,r.join(" "))}function qf(e){e=t(e)?e:{},Pf.call(this,e),this.b["http://www.opengis.net/gml"].featureMember=Xh(Pf.prototype.jd),this.schemaLocation=t(e.schemaLocation)?e.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}function $f(e){e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo("EPSG:4326"),this.b=e.readExtensions}function Xf(t,e,o){return t.push(parseFloat(e.getAttribute("lon")),parseFloat(e.getAttribute("lat"))),"ele"in o?(t.push(o.ele),et(o,"ele")):t.push(0),"time"in o?(t.push(o.time),et(o,"time")):t.push(0),t}function Wf(t,e){var o=e[e.length-1],i=t.getAttribute("href");null===i||(o.link=i),tu(gx,t,e)}function zf(t,e){e[e.length-1].extensionsNode_=t}function Kf(e,o){var i=o[0],n=eu({flatCoordinates:[]},vx,e,o);if(t(n)){var r=n.flatCoordinates;et(n,"flatCoordinates");var s=new ml(null);return wl(s,"XYZM",r),ff(s,!1,i),i=new af(s),i.t(n),i}}function Vf(e,o){var i=o[0],n=eu({flatCoordinates:[],ends:[]},bx,e,o);if(t(n)){var r=n.flatCoordinates;et(n,"flatCoordinates");var s=n.ends;et(n,"ends");var a=new xl(null);return Tl(a,"XYZM",r,s),ff(a,!1,i),i=new af(a),i.t(n),i}}function Yf(e,o){var i=o[0],n=eu({},Sx,e,o);if(t(n)){var r=Xf([],e,n),r=new Ta(r,"XYZM");return ff(r,!1,i),i=new af(r),i.t(n),i}}function Zf(e,o){null===o&&(o=[]);for(var i=0,n=o.length;i<n;++i){var r=o[i];if(t(e.b)){var s=r.get("extensionsNode_")||null;e.b(r,s)}r.set("extensionsNode_",void 0)}}function _f(t,e,o){t.setAttribute("href",e),e=o[o.length-1].properties,iu({P:t},Mx,zw,[e.linkText,e.linkType],o,Tx)}function Jf(t,e,o){var i=o[o.length-1],n=i.P.namespaceURI,r=i.properties;switch(Ww(t,null,"lat",e[1]),Ww(t,null,"lon",e[0]),i.geometryLayout){case"XYZM":0!==e[3]&&(r.time=e[3]);case"XYZ":0!==e[2]&&(r.ele=e[2]);break;case"XYM":0!==e[2]&&(r.time=e[2])}e=Lx[n],i=Jh(r,e),iu({P:t,properties:r},Nx,zw,i,o,e)}function Qf(e,o){var i=e.Q();if(t(i))return Uw(o[o.length-1].P.namespaceURI,jx[i.M()])}function ty(t){return t=oy(t),k(t,function(t){return t.c.substring(t.a,t.b)})}function ey(t,e,o){this.c=t,this.a=e,this.b=o}function oy(t){for(var e,o=RegExp("\r\n|\r|\n","g"),i=0,n=[];e=o.exec(t);)i=new ey(t,i,e.index),n.push(i),i=o.lastIndex;return i<t.length&&(i=new ey(t,i,t.length),n.push(i)),n}function iy(){this.defaultDataProjection=null}function ny(e){e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo("EPSG:4326"),this.b=t(e.altitudeMode)?e.altitudeMode:"none"}function ry(e,o){var i;e instanceof ry?(this.Yb=t(o)?o:e.Yb,sy(this,e.Pb),this.pc=e.pc,this.ib=e.ib,ay(this,e.Ec),this.hb=e.hb,py(this,e.b.clone()),this.Sb=e.Sb):e&&(i=ph(String(e)))?(this.Yb=!!o,sy(this,i[1]||"",!0),this.pc=uy(i[2]||""),this.ib=uy(i[3]||"",!0),ay(this,i[4]),this.hb=uy(i[5]||"",!0),py(this,i[6]||"",!0),this.Sb=uy(i[7]||"")):(this.Yb=!!o,this.b=new yy(null,0,this.Yb))}function sy(t,e,o){t.Pb=o?uy(e,!0):e,t.Pb&&(t.Pb=t.Pb.replace(/:$/,""))}function ay(t,e){if(e){if(e=Number(e),isNaN(e)||0>e)throw Error("Bad port number "+e);t.Ec=e}else t.Ec=null}function py(t,e,o){e instanceof yy?(t.b=e,by(t.b,t.Yb)):(o||(e=cy(e,Hx)),t.b=new yy(e,0,t.Yb))}function ly(t){return t instanceof ry?t.clone():new ry(t,(void 0))}function hy(t,e){t instanceof ry||(t=ly(t)),e instanceof ry||(e=ly(e));var o=t,i=e,n=o.clone(),r=!!i.Pb;r?sy(n,i.Pb):r=!!i.pc,r?n.pc=i.pc:r=!!i.ib,r?n.ib=i.ib:r=null!=i.Ec;var s=i.hb;if(r)ay(n,i.Ec);else if(r=!!i.hb)if("/"!=s.charAt(0)&&(o.ib&&!o.hb?s="/"+s:(o=n.hb.lastIndexOf("/"),-1!=o&&(s=n.hb.substr(0,o+1)+s))),o=s,".."==o||"."==o)s="";else if(-1!=o.indexOf("./")||-1!=o.indexOf("/.")){for(var s=0==o.lastIndexOf("/",0),o=o.split("/"),a=[],p=0;p<o.length;){var l=o[p++];"."==l?s&&p==o.length&&a.push(""):".."==l?((1<a.length||1==a.length&&""!=a[0])&&a.pop(),s&&p==o.length&&a.push("")):(a.push(l),s=!0)}s=a.join("/")}else s=o;return r?n.hb=s:r=""!==i.b.toString(),r?py(n,uy(i.b.toString())):r=!!i.Sb,r&&(n.Sb=i.Sb),n}function uy(t,e){return t?e?decodeURI(t):decodeURIComponent(t):""}function cy(t,e,o){return p(t)?(t=encodeURI(t).replace(e,fy),o&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function fy(t){return t=t.charCodeAt(0),"%"+(t>>4&15).toString(16)+(15&t).toString(16)}function yy(t,e,o){this.b=t||null,this.a=!!o}function dy(t){t.ia||(t.ia=new Qn,t.va=0,t.b&&lh(t.b,function(e,o){t.add(decodeURIComponent(e.replace(/\+/g," ")),o)}))}function gy(t,e){return dy(t),e=my(t,e),er(t.ia.a,e)}function vy(t,e,o){t.remove(e),0<o.length&&(t.b=null,t.ia.set(my(t,e),D(o)),t.va+=o.length)}function my(t,e){var o=String(e);return t.a&&(o=o.toLowerCase()),o}function by(t,e){e&&!t.a&&(dy(t),t.b=null,t.ia.forEach(function(t,e){var o=e.toLowerCase();e!=o&&(this.remove(e),vy(this,o,t))},t)),t.a=e}function wy(e){e=t(e)?e:{},this.d=e.font,this.e=e.rotation,this.a=e.scale,this.c=e.text,this.g=e.textAlign,this.i=e.textBaseline,this.b=t(e.fill)?e.fill:null,this.f=t(e.stroke)?e.stroke:null,this.q=t(e.offsetX)?e.offsetX:0,this.l=t(e.offsetY)?e.offsetY:0}function xy(e){function o(t){return s(t)?t:p(t)?(!(t in n)&&"#"+t in n&&(t="#"+t),o(n[t])):i}e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo("EPSG:4326");var i=t(e.defaultStyle)?e.defaultStyle:Jx,n={};this.c=!t(e.extractStyles)||e.extractStyles,this.b=n,this.d=function(){var e=this.get("Style");return t(e)?e:(e=this.get("styleUrl"),t(e)?o(e):i)}}function Sy(t){if(t=kh(t,!1),t=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(t))return t=t[1],[parseInt(t.substr(6,2),16),parseInt(t.substr(4,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(0,2),16)/255]}function Ty(t){t=kh(t,!1);for(var e,o=[],i=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i;e=i.exec(t);)o.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),t=t.substr(e[0].length);return""!==t?void 0:o}function My(t){var e=kh(t,!1);return null!=t.baseURI?hy(t.baseURI,cm(e)).toString():cm(e)}function Cy(e){if(e=Lf(e),t(e))return Math.sqrt(e)}function Ey(t,e){return eu(null,iS,t,e)}function Py(e,o){var i=eu({j:[],Kh:[]},rS,e,o);if(t(i)){var n,r,s=i.j,i=i.Kh;for(n=0,r=Math.min(s.length,i.length);n<r;++n)s[4*n+3]=i[n];return i=new ml(null),wl(i,"XYZM",s),i}}function ky(e,o){var i=eu({},oS,e,o),n=eu(null,sS,e,o);if(t(n)){var r=new ml(null);return wl(r,"XYZ",n),r.t(i),r}}function Ay(e,o){var i=eu({},oS,e,o),n=eu(null,sS,e,o);if(t(n)){var r=new Fa(null);return Ua(r,"XYZ",n,[n.length]),r.t(i),r}}function Ry(e,o){var i=eu([],cS,e,o);if(!t(i))return null;if(0===i.length)return new ul(i);var n,r,s,a=!0,p=i[0].M();for(r=1,s=i.length;r<s;++r)if(n=i[r],n.M()!=p){a=!1;break}if(a){if("Point"==p){for(n=i[0],a=n.a,p=n.j,r=1,s=i.length;r<s;++r)n=i[r],F(p,n.j);return n=new Cl(null),ia(n,a,p),n.k(),Iy(n,i),n}return"LineString"==p?(n=new xl(null),Ml(n,i),Iy(n,i),n):"Polygon"==p?(n=new El(null),Rl(n,i),Iy(n,i),n):"GeometryCollection"==p?new ul(i):null}return new ul(i)}function Ly(t,e){var o=eu({},oS,t,e),i=eu(null,sS,t,e);if(null!=i){var n=new Ta(null);return Ma(n,"XYZ",i),n.t(o),n}}function Ny(t,e){var o=eu({},oS,t,e),i=eu([null],nS,t,e);if(null!=i&&null!==i[0]){var n,r,s=new Fa(null),a=i[0],p=[a.length];for(n=1,r=i.length;n<r;++n)F(a,i[n]),p.push(a.length);return Ua(s,"XYZ",a,p),s.t(o),s}}function jy(e,o){var i=eu({},xS,e,o);if(!t(i))return null;var n=ot(i,"fillStyle",zx),r=i.fill;t(r)&&!r&&(n=null);var r=ot(i,"imageStyle",Yx),s=ot(i,"textStyle",_x),a=ot(i,"strokeStyle",Zx),i=i.outline;return t(i)&&!i&&(a=null),[new ip({fill:n,image:r,stroke:a,text:s,zIndex:void 0})]}function Iy(e,o){var i,n,r,s,a=o.length,p=Array(o.length),l=Array(o.length);for(r=s=!1,n=0;n<a;++n)i=o[n],p[n]=i.get("extrude"),l[n]=i.get("altitudeMode"),r=r||t(p[n]),s=s||t(l[n]);r&&e.set("extrude",p),s&&e.set("altitudeMode",l)}function Dy(t,e){tu(eS,t,e)}function Fy(e,o){var i;for(i=o.firstChild;null!==i;i=i.nextSibling)if(1==i.nodeType){var n=Oy(e,i);if(t(n))return n}}function Oy(e,o){var i;for(i=o.firstElementChild;null!==i;i=i.nextElementSibling)if(N(Xx,i.namespaceURI)&&"name"==i.localName)return Df(i);for(i=o.firstElementChild;null!==i;i=i.nextElementSibling){var n=Gw(i);if(N(Xx,i.namespaceURI)&&("Document"==n||"Folder"==n||"Placemark"==n||"kml"==n)&&(n=Oy(e,i),t(n)))return n}}function By(t,e){var o,i=[];for(o=e.firstChild;null!==o;o=o.nextSibling)1==o.nodeType&&F(i,Uy(t,o));return i}function Uy(t,e){var o,i=[];for(o=e.firstElementChild;null!==o;o=o.nextElementSibling)if(N(Xx,o.namespaceURI)&&"NetworkLink"==o.localName){var n=eu({},yS,o,[]);i.push(n)}for(o=e.firstElementChild;null!==o;o=o.nextElementSibling)n=Gw(o),!N(Xx,o.namespaceURI)||"Document"!=n&&"Folder"!=n&&"kml"!=n||F(i,Uy(t,o));return i}function Gy(t,e){var o,i=ii(e),i=[255*(4==i.length?i[3]:1),i[2],i[1],i[0]];for(o=0;4>o;++o){var n=parseInt(i[o],10).toString(16);i[o]=1==n.length?"0"+n:n}Uf(t,i.join(""))}function Hy(t,e,o){iu({P:t},DS,YS,[e],o)}function qy(e,o,i){var n={P:e};null!=o.$&&e.setAttribute("id",o.$),e=o.D();var r=o.c;t(r)&&(r=r.call(o,0),null!==r&&0<r.length&&(e.Style=r[0],r=r[0].a,null===r||(e.name=r.c))),r=OS[i[i.length-1].P.namespaceURI],e=Jh(e,r),iu(n,BS,zw,e,i,r),e=i[0],o=o.Q(),null!=o&&(o=ff(o,!0,e)),iu(n,BS,Vy,[o],i)}function $y(t,e,o){var i=e.j;t={P:t},t.layout=e.a,t.stride=e.s,iu(t,US,WS,[i],o)}function Xy(t,e,o){e=e.Ed();var i=e.shift();t={P:t},iu(t,GS,zS,e,o),iu(t,GS,_S,[i],o)}function Wy(t,e){Of(t,e*e)}function zy(t,e,o){return Uw($x[0],"gx:"+o)}function Ky(t,e){return Uw(e[e.length-1].P.namespaceURI,"Placemark")}function Vy(t,e){if(null!=t)return Uw(e[e.length-1].P.namespaceURI,ES[t.M()])}function Yy(){this.defaultDataProjection=null,this.defaultDataProjection=xo("EPSG:4326")}function Zy(t,e){e[e.length-1].od[t.getAttribute("k")]=t.getAttribute("v")}function _y(t){return t.getAttributeNS("http://www.w3.org/1999/xlink","href")}function Jy(){}function Qy(){}function td(e,o,i,n){var r;t(n)?r=t(void 0)?void 0:0:(n=[],r=0);var s,a;for(s=0;s<o;)for(a=e[s++],n[r++]=e[s++],n[r++]=a,a=2;a<i;++a)n[r++]=e[s++];n.length=r}function ed(e){e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo("EPSG:4326"),this.b=t(e.factor)?e.factor:1e5,this.a=t(e.geometryLayout)?e.geometryLayout:"XY"}function od(e,o,i){i=t(i)?i:1e5;var n,r=Array(o);for(n=0;n<o;++n)r[n]=0;var s,a;for(s=0,a=e.length;s<a;)for(n=0;n<o;++n,++s){var p=e[s],l=p-r[n];r[n]=p,e[s]=l}return nd(e,i)}function id(e,o,i){var n=t(i)?i:1e5,r=Array(o);for(i=0;i<o;++i)r[i]=0;e=rd(e,n);var s,n=0;for(s=e.length;n<s;)for(i=0;i<o;++i,++n)r[i]+=e[n],e[n]=r[i];return e}function nd(e,o){var i,n,r=t(o)?o:1e5;for(i=0,n=e.length;i<n;++i)e[i]=Math.round(e[i]*r);for(r=0,i=e.length;r<i;++r)n=e[r],e[r]=0>n?~(n<<1):n<<1;for(r="",i=0,n=e.length;i<n;++i){for(var s=e[i],a=void 0,p="";32<=s;)a=(32|31&s)+63,p+=String.fromCharCode(a),s>>=5;a=s+63,p+=String.fromCharCode(a),r+=p}return r}function rd(e,o){var i,n,r=t(o)?o:1e5,s=[],a=0,p=0;for(i=0,n=e.length;i<n;++i){var l=e.charCodeAt(i)-63,a=a|(31&l)<<p;32>l?(s.push(a),p=a=0):p+=5}for(a=0,p=s.length;a<p;++a)i=s[a],s[a]=1&i?~(i>>1):i>>1;for(a=0,p=s.length;a<p;++a)s[a]/=r;return s}function sd(e){e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo(null!=e.defaultDataProjection?e.defaultDataProjection:"EPSG:4326")}function ad(t,e){var o,i,n,r,s=[];for(n=0,r=t.length;n<r;++n)o=t[n],0<n&&s.pop(),i=0<=o?e[o]:e[~o].slice().reverse(),s.push.apply(s,i);for(o=0,i=s.length;o<i;++o)s[o]=s[o].slice();return s}function pd(t,e,o,i,n){t=t.geometries;var r,s,a=[];for(r=0,s=t.length;r<s;++r)a[r]=ld(t[r],e,o,i,n);return a}function ld(e,o,i,n,r){var s=e.type,a=vT[s];return o="Point"===s||"MultiPoint"===s?a(e,i,n):a(e,o),i=new af,i.La(ff(o,!1,r)),t(e.id)&&i.Qb(e.id),t(e.properties)&&i.t(e.properties),i}function hd(t,e,o){t[0]=t[0]*e[0]+o[0],t[1]=t[1]*e[1]+o[1]}function ud(e){e=t(e)?e:{},this.e=e.featureType,this.c=e.featureNS,this.b=t(e.gmlFormat)?e.gmlFormat:new Gf,this.d=t(e.schemaLocation)?e.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd",this.defaultDataProjection=null}function cd(t,e){for(var o=e.firstChild;null!==o;o=o.nextSibling)if(1==o.nodeType)return fd(t,o)}function fd(t,e){var o={},i=If(e.getAttribute("numberOfFeatures"));return o.numberOfFeatures=i,eu(o,mT,e,[],t.b)}function yd(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return eu({},ST,t,[])}function dd(t,e){var o=Uw("http://www.opengis.net/ogc","Filter"),i=Uw("http://www.opengis.net/ogc","FeatureId");o.appendChild(i),i.setAttribute("fid",e),t.appendChild(o)}function gd(e){e=t(e)?e:{},this.defaultDataProjection=null,this.b=!!t(e.splitCollection)&&e.splitCollection}function vd(t){return t=t.K(),0==t.length?"":t[0]+" "+t[1]}function md(t){t=t.K();for(var e=[],o=0,i=t.length;o<i;++o)e.push(t[o][0]+" "+t[o][1]);return e.join(",")}function bd(t){var e=[];t=t.Ed();for(var o=0,i=t.length;o<i;++o)e.push("("+md(t[o])+")");return e.join(",")}function wd(t){var e=t.M();return t=(0,ET[e])(t),e=e.toUpperCase(),0===t.length?e+" EMPTY":e+"("+t+")"}function xd(t){this.a=t,this.b=-1}function Sd(e,o){var i=!!t(o)&&o;return"0"<=e&&"9">=e||"."==e&&!i}function Td(t){var e=t.a.charAt(++t.b),o={position:t.b,value:e};if("("==e)o.type=2;else if(","==e)o.type=5;else if(")"==e)o.type=3;else if(Sd(e)||"-"==e){o.type=4;var i,e=t.b,n=!1;do"."==i&&(n=!0),i=t.a.charAt(++t.b);while(Sd(i,n));t=parseFloat(t.a.substring(e,t.b--)),o.value=t}else if("a"<=e&&"z">=e||"A"<=e&&"Z">=e){o.type=1,e=t.b;do i=t.a.charAt(++t.b);while("a"<=i&&"z">=i||"A"<=i&&"Z">=i);t=t.a.substring(e,t.b--).toUpperCase(),o.value=t}else{if(" "==e||"\t"==e||"\r"==e||"\n"==e)return Td(t);if(""!==e)throw Error("Unexpected character: "+e);o.type=6}return o}function Md(t){this.a=t}function Cd(e){var o=e.b;if(e.match(1)){var i=o.value;if("GEOMETRYCOLLECTION"==i){t:{if(e.match(2)){o=[];do o.push(Cd(e));while(e.match(5));if(e.match(3)){e=o;break t}}else if(Ad(e)){e=[];break t}throw Error(Rd(e))}return new ul(e)}var n=kT[i],o=PT[i];if(!t(n)||!t(o))throw Error("Invalid geometry type: "+i);return e=n.call(e),new o(e)}throw Error(Rd(e))}function Ed(t){for(var e=[],o=0;2>o;++o){var i=t.b;if(!t.match(4))break;e.push(i.value)}if(2==e.length)return e;throw Error(Rd(t))}function Pd(t){for(var e=[Ed(t)];t.match(5);)e.push(Ed(t));return e}function kd(t){for(var e=[t.kf()];t.match(5);)e.push(t.kf());return e}function Ad(t){var e=1==t.b.type&&"EMPTY"==t.b.value;return e&&(t.b=Td(t.a)),e}function Rd(t){return"Unexpected `"+t.b.value+"` at position "+t.b.position+" in `"+t.a.a+"`"}function Ld(){this.version=void 0}function Nd(t,e){return eu({},WT,t,e)}function jd(t,e){return eu({},HT,t,e)}function Id(e,o){var i=Nd(e,o);if(t(i)){var n=[If(e.getAttribute("width")),If(e.getAttribute("height"))];return i.size=n,i}}function Dd(t,e){return eu([],zT,t,e)}function Fd(){this.c="http://mapserver.gis.umn.edu/mapserver",this.b=new qf,this.defaultDataProjection=null}function Od(e,o,i){o.namespaceURI=e.c;var n=Gw(o),r=[];return 0===o.childNodes.length?r:("msGMLOutput"==n&&E(o.childNodes,function(e){if(1===e.nodeType){var o,n=i[0],s=e.localName,a=RegExp;o="_layer".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),a=new a(o,""),s=s.replace(a,"")+"_feature",n.featureType=s,n.featureNS=this.c,a={},a[s]=Xh(this.b.nf,this.b),n=Vh([n.featureNS,null],a),e.namespaceURI=this.c,e=eu([],n,e,i,this.b),t(e)&&F(r,e)}},e),"FeatureCollection"==n&&(e=eu([],e.b.b,o,[{}],e.b),t(e)&&(r=e)),r)}function Bd(){this.d=new Qy}function Ud(e){var o=Df(e).split(" ");if(t(o)&&2==o.length)return e=+o[0],o=+o[1],isNaN(e)||isNaN(o)?void 0:[e,o]}function Gd(e){re.call(this),e=t(e)?e:{},this.a=null,this.d=Co,this.c=void 0,Ht(this,se("projection"),this.Vk,!1,this), -Ht(this,se("tracking"),this.Wk,!1,this),t(e.projection)&&this.ug(xo(e.projection)),t(e.trackingOptions)&&this.Dh(e.trackingOptions),this.Zd(!!t(e.tracking)&&e.tracking)}function Hd(t,e,o){for(var i,n,r,s,a,p=[],l=t(0),h=t(1),u=e(l),c=e(h),f=[h,l],y=[c,u],d=[1,0],g={},v=1e5;0<--v&&0<d.length;)r=d.pop(),l=f.pop(),u=y.pop(),h=r.toString(),h in g||(p.push(u[0],u[1]),g[h]=!0),s=d.pop(),h=f.pop(),c=y.pop(),a=(r+s)/2,i=t(a),n=e(i),aa(n[0],n[1],u[0],u[1],c[0],c[1])<o?(p.push(c[0],c[1]),h=s.toString(),g[h]=!0):(d.push(s,a,a,r),y.push(c,n,n,u),f.push(h,i,i,l));return p}function qd(t,e,o,i,n){var r=xo("EPSG:4326");return Hd(function(i){return[t,e+(o-e)*i]},To(r,i),n)}function $d(t,e,o,i,n){var r=xo("EPSG:4326");return Hd(function(i){return[e+(o-e)*i,t]},To(r,i),n)}function Xd(e){e=t(e)?e:{},this.i=this.g=null,this.d=this.c=1/0,this.f=this.e=-(1/0),this.n=t(e.targetSize)?e.targetSize:100,this.U=t(e.maxLines)?e.maxLines:100,this.b=[],this.a=[],this.V=t(e.strokeStyle)?e.strokeStyle:nM,this.o=this.q=void 0,this.l=null,this.setMap(t(e.map)?e.map:null)}function Wd(e,o,i,n,r){var s=r;return o=qd(o,e.e,e.c,e.i,i),s=t(e.b[s])?e.b[s]:new ml(null),wl(s,"XY",o),ro(s.G(),n)&&(e.b[r++]=s),r}function zd(e,o,i,n,r){var s=r;return o=$d(o,e.f,e.d,e.i,i),s=t(e.a[s])?e.a[s]:new ml(null),wl(s,"XY",o),ro(s.G(),n)&&(e.a[r++]=s),r}function Kd(t,e,o,i,n,r,s){_r.call(this,t,e,o,0,i),this.i=n,this.a=new Image,null!==r&&(this.a.crossOrigin=r),this.d={},this.c=null,this.state=0,this.g=s}function Vd(t,e,o,i,n){nn.call(this,t,e),this.g=o,this.a=new Image,null!==i&&(this.a.crossOrigin=i),this.c={},this.e=null,this.i=n}function Yd(t){E(t.e,zt),t.e=null}function Zd(t,e,o){return function(i,n,r){return o(t,e,i,n,r)}}function _d(){}function Jd(t,e){Qt.call(this),this.b=new Wc(this);var o=t;e&&(o=Mi(t)),this.b.Ka(o,"dragenter",this.$m),o!=t&&this.b.Ka(o,"dragover",this.an),this.b.Ka(t,"dragover",this.bn),this.b.Ka(t,"drop",this.cn)}function Qd(t,e){this.e=[],this.U=t,this.o=e||null,this.d=this.b=!1,this.c=void 0,this.q=this.V=this.g=!1,this.f=0,this.a=null,this.i=0}function tg(t,e,o){t.b=!0,t.c=o,t.d=!e,ng(t)}function eg(t){if(t.b){if(!t.q)throw new rg;t.q=!1}}function og(t,e,o,i){t.e.push([e,o,i]),t.b&&ng(t)}function ig(t){return A(t.e,function(t){return h(t[1])})}function ng(e){if(e.f&&e.b&&ig(e)){var o=e.f,i=sM[o];i&&(sm.clearTimeout(i.$),delete sM[o]),e.f=0}e.a&&(e.a.i--,delete e.a);for(var o=e.c,n=i=!1;e.e.length&&!e.g;){var r=e.e.shift(),s=r[0],a=r[1],r=r[2];if(s=e.d?a:s)try{var p=s.call(r||e.o,o);t(p)&&(e.d=e.d&&(p==o||p instanceof Error),e.c=o=p),Hl(o)&&(n=!0,e.g=!0)}catch(l){o=l,e.d=!0,ig(e)||(i=!0)}}e.c=o,n&&(p=d(e.l,e,!0),n=d(e.l,e,!1),o instanceof Qd?(og(o,p,n),o.V=!0):o.then(p,n)),i&&(o=new ag(o),sM[o.$]=o,e.f=o.$)}function rg(){m.call(this)}function sg(){m.call(this)}function ag(t){this.$=sm.setTimeout(d(this.a,this),0),this.b=t}function pg(e,o){t(e.name)?(this.name=e.name,this.code=aM[e.name]):(this.code=e.code,this.name=lg(e.code)),m.call(this,w("%s %s",this.name,o))}function lg(e){var o=J(aM,function(t){return e==t});if(!t(o))throw Error("Invalid code: "+e);return o}function hg(t,e){Et.call(this,t.type,e)}function ug(){Qt.call(this),this.Ya=new FileReader,this.Ya.onloadstart=d(this.b,this),this.Ya.onprogress=d(this.b,this),this.Ya.onload=d(this.b,this),this.Ya.onabort=d(this.b,this),this.Ya.onerror=d(this.b,this),this.Ya.onloadend=d(this.b,this)}function cg(t){var e=new Qd;return t.Ka("loadend",g(function(t,e){var o=e.Ya.result,i=e.getError();null==o||i?(eg(t),tg(t,!1,i)):(eg(t),tg(t,!0,o)),e.Yc()},e,t)),e}function fg(e){e=t(e)?e:{},As.call(this,{handleEvent:lb}),this.f=t(e.formatConstructors)?e.formatConstructors:[],this.o=t(e.projection)?xo(e.projection):null,this.e=null,this.a=void 0}function yg(t,e,o,i,n){Et.call(this,t,e),this.features=i,this.file=o,this.projection=n}function dg(t,e){this.x=t,this.y=e}function gg(e){e=t(e)?e:{},qs.call(this,{handleDownEvent:bg,handleDragEvent:vg,handleUpEvent:mg}),this.i=t(e.condition)?e.condition:Us,this.a=this.f=void 0,this.g=0,this.n=t(e.duration)?e.duration:400}function vg(e){if(Hs(e)){var o=e.map,i=o.xa();e=e.pixel,e=new dg(e[0]-i[0]/2,i[1]/2-e[1]),i=Math.atan2(e.y,e.x),e=Math.sqrt(e.x*e.x+e.y*e.y);var n=o.R(),r=jo(n);o.render(),t(this.f)&&Rs(o,n,r.rotation-(i-this.f)),this.f=i,t(this.a)&&Ns(o,n,r.resolution/e*this.a),t(this.a)&&(this.g=this.a/e),this.a=e}}function mg(t){if(!Hs(t))return!0;t=t.map;var e=t.R();Do(e,-1);var o=jo(e),i=this.g-1,n=o.rotation,n=e.constrainRotation(n,0);return Rs(t,e,n,void 0,void 0),o=o.resolution,n=this.n,o=e.constrainResolution(o,0,i),Ns(t,e,o,void 0,n),this.g=0,!1}function bg(t){return!(!Hs(t)||!this.i(t))&&(Do(t.map.R(),1),this.a=this.f=void 0,!0)}function wg(t,e){Et.call(this,t),this.feature=e}function xg(e){qs.call(this,{handleDownEvent:Mg,handleEvent:Tg,handleUpEvent:Cg}),this.N=null,this.H=!1,this.Ga=t(e.source)?e.source:null,this.oa=t(e.features)?e.features:null,this.gi=t(e.snapTolerance)?e.snapTolerance:12,this.Nc=t(e.minPointsPerRing)?e.minPointsPerRing:3;var o,i=this.L=e.type;"Point"===i||"MultiPoint"===i?o=lM:"LineString"===i||"MultiLineString"===i?o=hM:"Polygon"===i||"MultiPolygon"===i?o=uM:"Circle"===i&&(o=cM),this.a=o,this.f=this.n=this.p=this.g=this.i=null,this.T=new pf({style:t(e.style)?e.style:Sg()}),this.Fa=e.geometryName,this.Ee=t(e.condition)?e.condition:Bs,this.ba=t(e.freehandCondition)?e.freehandCondition:Us,Ht(this,se("active"),this.Ra,!1,this)}function Sg(){var t=sp();return function(e){return t[e.Q().M()]}}function Tg(t){var e=!this.H;return this.H&&t.type===Zb?(Ag(this,t),e=!1):t.type===_b?e=Eg(this,t):t.type===Yb&&(e=!1),Xs.call(this,t)&&e}function Mg(t){return this.Ee(t)?(this.N=t.pixel,!0):!(this.a!==hM&&this.a!==uM||!this.ba(t))&&(this.N=t.pixel,this.H=!0,null===this.i&&kg(this,t),!0)}function Cg(t){this.H=!1;var e=this.N,o=t.pixel,i=e[0]-o[0],e=e[1]-o[1],o=!0;return 4>=i*i+e*e&&(Eg(this,t),null===this.i?kg(this,t):(this.a===lM||this.a===cM)&&null!==this.i||Pg(this,t)?this.X():Ag(this,t),o=!1),o}function Eg(t,e){if(t.a===lM&&null===t.i)kg(t,e);else if(null===t.i){var o=e.coordinate.slice();null===t.p?(t.p=new af(new Ta(o)),Lg(t)):t.p.Q().W(o)}else{var i,n,o=e.coordinate,r=t.g.Q();t.a===lM?(n=r.K(),n[0]=o[0],n[1]=o[1],r.W(n)):(t.a===hM?i=r.K():t.a===uM?i=t.f[0]:t.a===cM&&(i=r.dd()),Pg(t,e)&&(o=t.i.slice()),t.p.Q().W(o),n=i[i.length-1],n[0]=o[0],n[1]=o[1],t.a===hM?r.W(i):t.a===uM?(n=t.n.Q(),n.W(i),r.W(t.f)):t.a===cM&&(n=t.n.Q(),n.W([r.dd(),o]),r.Ag(n.Bg()))),Lg(t)}return!0}function Pg(t,e){var o=!1;if(null!==t.g){var i=t.g.Q(),n=!1,r=[t.i];if(t.a===hM?n=2<i.K().length:t.a===uM&&(n=i.K()[0].length>t.Nc,r=[t.f[0][0],t.f[0][t.f[0].length-2]]),n)for(var i=e.map,n=0,s=r.length;n<s;n++){var a=r[n],p=i.ta(a),l=e.pixel,o=l[0]-p[0],p=l[1]-p[1],l=t.H&&t.ba(e)?1:t.gi;if(o=Math.sqrt(o*o+p*p)<=l){t.i=a;break}}}return o}function kg(e,o){var i=o.coordinate;e.i=i;var n;e.a===lM?n=new Ta(i.slice()):e.a===hM?n=new ml([i.slice(),i.slice()]):e.a===uM?(e.n=new af(new ml([i.slice(),i.slice()])),e.f=[[i.slice(),i.slice()]],n=new Fa(e.f)):e.a===cM&&(n=new ll(i.slice(),0),e.n=new af(new ml([i.slice(),i.slice()]))),e.g=new af,t(e.Fa)&&e.g.Ic(e.Fa),e.g.La(n),Lg(e),e.dispatchEvent(new wg("drawstart",e.g))}function Ag(t,e){var o,i=e.coordinate,n=t.g.Q();t.a===hM?(t.i=i.slice(),o=n.K(),o.push(i.slice()),n.W(o)):t.a===uM&&(t.f[0].push(i.slice()),n.W(t.f)),Lg(t)}function Rg(t){t.i=null;var e=t.g;return null!==e&&(t.g=null,t.p=null,t.n=null,t.T.b.clear()),e}function Lg(t){var e=[];null===t.g||e.push(t.g),null===t.n||e.push(t.n),null===t.p||e.push(t.p),t.T.ld(new ei(e))}function Ng(e){qs.call(this,{handleDownEvent:Dg,handleDragEvent:Fg,handleEvent:Bg,handleUpEvent:Og}),this.X=t(e.deleteCondition)?e.deleteCondition:fn(Bs,Os),this.T=this.f=null,this.L=[0,0],this.a=new au,this.i=t(e.pixelTolerance)?e.pixelTolerance:10,this.N=!1,this.g=null,this.n=new pf({style:t(e.style)?e.style:Hg()}),this.H={Point:this.Bl,LineString:this.Dg,LinearRing:this.Dg,Polygon:this.Cl,MultiPoint:this.zl,MultiLineString:this.yl,MultiPolygon:this.Al,GeometryCollection:this.xl},this.p=e.features,this.p.forEach(this.Cg,this),Ht(this.p,"add",this.vl,!1,this),Ht(this.p,"remove",this.wl,!1,this)}function jg(t,e){var o=t.f;null===o?(o=new af(new Ta(e)),t.f=o,t.n.pg(o)):o.Q().W(e)}function Ig(t,e){return t.index-e.index}function Dg(t){Ug(this,t.pixel,t.map),this.g=[];var e=this.f;if(null!==e){t=[];var e=e.Q().K(),o=je([e]),o=lu(this.a,o),i={};o.sort(Ig);for(var n=0,r=o.length;n<r;++n){var s=o[n],a=s.aa,p=c(s.feature),l=s.depth;l&&(p+="-"+l.join("-")),i[p]||(i[p]=Array(2)),de(a[0],e)&&!i[p][0]?(this.g.push([s,0]),i[p][0]=s):de(a[1],e)&&!i[p][1]?("LineString"!==s.geometry.M()&&"MultiLineString"!==s.geometry.M()||!i[p][0]||0!==i[p][0].index)&&(this.g.push([s,1]),i[p][1]=s):c(a)in this.T&&!i[p][0]&&!i[p][1]&&t.push([s,e])}for(n=t.length-1;0<=n;--n)this.qk.apply(this,t[n])}return null!==this.f}function Fg(t){t=t.coordinate;for(var e=0,o=this.g.length;e<o;++e){for(var i=this.g[e],n=i[0],r=n.depth,s=n.geometry,a=s.K(),p=n.aa,i=i[1];t.length<s.s;)t.push(0);switch(s.M()){case"Point":a=t,p[0]=p[1]=t;break;case"MultiPoint":a[n.index]=t,p[0]=p[1]=t;break;case"LineString":a[n.index+i]=t,p[i]=t;break;case"MultiLineString":a[r[0]][n.index+i]=t,p[i]=t;break;case"Polygon":a[r[0]][n.index+i]=t,p[i]=t;break;case"MultiPolygon":a[r[1]][r[0]][n.index+i]=t,p[i]=t}s.W(a)}jg(this,t)}function Og(){for(var t,e=this.g.length-1;0<=e;--e)t=this.g[e][0],this.a.update(je(t.aa),t);return!1}function Bg(e){var o;if(e.map.R().c.slice()[1]||e.type!=_b||this.o||(this.L=e.pixel,Ug(this,e.pixel,e.map)),null!==this.f&&this.X(e)){this.f.Q(),o=this.g;var i,n,r,s,a,p,l,h,u,f={};for(a=o.length-1;0<=a;--a)if(r=o[a],h=r[0],s=h.geometry,n=s.K(),u=c(h.feature),h.depth&&(u+="-"+h.depth.join("-")),i=l=p=void 0,0===r[1]?(l=h,p=h.index):1==r[1]&&(i=h,p=h.index+1),u in f||(f[u]=[i,l,p]),r=f[u],t(i)&&(r[0]=i),t(l)&&(r[1]=l),t(r[0])&&t(r[1])){switch(i=n,u=!1,l=p-1,s.M()){case"MultiLineString":n[h.depth[0]].splice(p,1),u=!0;break;case"LineString":n.splice(p,1),u=!0;break;case"MultiPolygon":i=i[h.depth[1]];case"Polygon":i=i[h.depth[0]],4<i.length&&(p==i.length-1&&(p=0),i.splice(p,1),u=!0,0===p&&(i.pop(),i.push(i[0]),l=i.length-1))}u&&(this.a.remove(r[0]),this.a.remove(r[1]),s.W(n),n={depth:h.depth,feature:h.feature,geometry:h.geometry,index:l,aa:[r[0].aa[0],r[1].aa[1]]},this.a.ha(je(n.aa),n),Gg(this,s,p,h.depth,-1),this.n.Yd(this.f),this.f=null)}o=!0}return Xs.call(this,e)&&!o}function Ug(t,e,o){function i(t,e){return me(n,t.aa)-me(n,e.aa)}var n=o.ka(e),r=o.ka([e[0]-t.i,e[1]+t.i]),s=o.ka([e[0]+t.i,e[1]-t.i]),r=je([r,s]),r=lu(t.a,r);if(0<r.length){r.sort(i);var s=r[0].aa,a=ce(n,s),p=o.ta(a);if(Math.sqrt(ve(e,p))<=t.i){for(e=o.ta(s[0]),o=o.ta(s[1]),e=ve(p,e),o=ve(p,o),t.N=Math.sqrt(Math.min(e,o))<=t.i,t.N&&(a=e>o?s[1]:s[0]),jg(t,a),o={},o[c(s)]=!0,e=1,p=r.length;e<p&&(a=r[e].aa,de(s[0],a[0])&&de(s[1],a[1])||de(s[0],a[1])&&de(s[1],a[0]));++e)o[c(a)]=!0;return void(t.T=o)}}null!==t.f&&(t.n.Yd(t.f),t.f=null)}function Gg(e,o,i,n,r){hu(e.a,o.G(),function(e){e.geometry===o&&(!t(n)||G(e.depth,n))&&e.index>i&&(e.index+=r)})}function Hg(){var t=sp();return function(){return t.Point}}function qg(t,e,o){Et.call(this,t),this.selected=e,this.deselected=o}function $g(e){As.call(this,{handleEvent:Xg}),e=t(e)?e:{},this.o=t(e.condition)?e.condition:Os,this.g=t(e.addCondition)?e.addCondition:pb,this.H=t(e.removeCondition)?e.removeCondition:pb,this.L=t(e.toggleCondition)?e.toggleCondition:Us,this.i=!!t(e.multi)&&e.multi,this.e=t(e.filter)?e.filter:lb;var o;if(t(e.layers))if(h(e.layers))o=e.layers;else{var i=e.layers;o=function(t){return N(i,t)}}else o=lb;this.f=o,this.a=new pf({style:t(e.style)?e.style:Wg()}),e=this.a.b,Ht(e,"add",this.n,!1,this),Ht(e,"remove",this.J,!1,this)}function Xg(t){if(!this.o(t))return!0;var e=this.g(t),o=this.H(t),i=this.L(t),n=t.map,r=this.a.b,s=[],a=[],p=!1;if(e||o||i){for(n.Ne(t.pixel,function(t,n){-1==C(r.a,t)?(e||i)&&this.e(t,n)&&a.push(t):(o||i)&&s.push(t)},this,this.f),n=s.length-1;0<=n;--n)r.remove(s[n]);r.af(a),(0<a.length||0<s.length)&&(p=!0)}else n.Ne(t.pixel,function(t,e){if(this.e(t,e))return a.push(t),!this.i},this,this.f),0<a.length&&1==r.Ib()&&r.item(0)==a[0]||(p=!0,0!==r.Ib()&&(s=Array.prototype.concat(r.a),r.clear()),r.af(a));return p&&this.dispatchEvent(new qg("select",a,s)),Fs(t)}function Wg(){var t=sp();return F(t.Polygon,t.LineString),F(t.GeometryCollection,t.LineString),function(e){return t[e.Q().M()]}}function zg(e){qs.call(this,{handleEvent:Kg,handleDownEvent:lb,handleUpEvent:Vg}),e=t(e)?e:{},this.i=t(e.source)?e.source:null,this.g=t(e.features)?e.features:null,this.X=[],this.p={},this.H={},this.N={},this.n={},this.L=null,this.f=t(e.pixelTolerance)?e.pixelTolerance:10,this.ba=d(Yg,this),this.a=new au,this.T={Point:this.Il,LineString:this.Gg,LinearRing:this.Gg,Polygon:this.Jl,MultiPoint:this.Gl,MultiLineString:this.Fl,MultiPolygon:this.Hl,GeometryCollection:this.El}}function Kg(t){var e,o,i=t.pixel,n=t.coordinate;e=t.map;var r=e.ka([i[0]-this.f,i[1]+this.f]);o=e.ka([i[0]+this.f,i[1]-this.f]);var r=je([r,o]),s=lu(this.a,r),a=!1,r=!1,p=null;return o=null,0<s.length&&(this.L=n,s.sort(this.ba),s=s[0].aa,p=ce(n,s),o=e.ta(p),Math.sqrt(ve(i,o))<=this.f&&(r=!0,i=e.ta(s[0]),n=e.ta(s[1]),i=ve(o,i),n=ve(o,n),a=Math.sqrt(Math.min(i,n))<=this.f))&&(p=i>n?s[1]:s[0],o=e.ta(p),o=[Math.round(o[0]),Math.round(o[1])]),e=p,r&&(t.coordinate=e.slice(0,2),t.pixel=o),Xs.call(this,t)}function Vg(){var t=V(this.n);return t.length&&(E(t,this.Jh,this),this.n={}),!1}function Yg(t,e){return me(this.L,t.aa)-me(this.L,e.aa)}function Zg(e){e=t(e)?e:{};var o=nt(e);delete o.gradient,delete o.radius,delete o.blur,delete o.shadow,delete o.weight,Np.call(this,o),this.d=null,this.L=t(e.shadow)?e.shadow:250,this.p=void 0,this.l=null,Ht(this,se("gradient"),this.Pj,!1,this),this.yh(t(e.gradient)?e.gradient:fM),this.th(t(e.blur)?e.blur:15),this.Ig(t(e.radius)?e.radius:8),Ht(this,[se("blur"),se("radius")],this.hg,!1,this),this.hg();var i,n=t(e.weight)?e.weight:"weight";i=p(n)?function(t){return t.get(n)}:n,this.e(d(function(e){e=i(e),e=t(e)?lt(e,0,1):1;var o=255*e|0,n=this.l[o];return t(n)||(n=[new ip({image:new us({opacity:e,src:this.p})})],this.l[o]=n),n},this)),this.set("renderOrder",null),Ht(this,"render",this.hk,!1,this)}function _g(t,e){var o=e||{},i=o.document||document,n=gi("SCRIPT"),r={sh:n,oc:void 0},s=new Qd(Qg,r),a=null,p=null!=o.timeout?o.timeout:5e3;return 0<p&&(a=window.setTimeout(function(){tv(n,!0);var e=new ev(dM,"Timeout reached for loading script "+t);eg(s),tg(s,!1,e)},p),r.oc=a),n.onload=n.onreadystatechange=function(){n.readyState&&"loaded"!=n.readyState&&"complete"!=n.readyState||(tv(n,o.Bi||!1,a),eg(s),tg(s,!0,null))},n.onerror=function(){tv(n,!0,a);var e=new ev(yM,"Error while loading script "+t);eg(s),tg(s,!1,e)},ci(n,{type:"text/javascript",charset:"UTF-8",src:t}),Jg(i).appendChild(n),s}function Jg(t){var e=t.getElementsByTagName("HEAD");return e&&0!=e.length?e[0]:t.documentElement}function Qg(){if(this&&this.sh){var t=this.sh;t&&"SCRIPT"==t.tagName&&tv(t,!0,this.oc)}}function tv(t,e,i){null!=i&&sm.clearTimeout(i),t.onload=o,t.onerror=o,t.onreadystatechange=o,e&&window.setTimeout(function(){wi(t)},0)}function ev(t,e){var o="Jsloader error (code #"+t+")";e&&(o+=": "+e),m.call(this,o),this.code=t}function ov(t,e){this.a=new ry(t),this.b=e?e:"callback",this.oc=5e3}function iv(t,e,o){return function(){rv(t,!1),o&&o(e)}}function nv(t,e){return function(o){rv(t,!0),e.apply(void 0,arguments)}}function rv(t,e){sm._callbacks_[t]&&(e?delete sm._callbacks_[t]:sm._callbacks_[t]=o)}function sv(t){var e=/\{z\}/g,o=/\{x\}/g,i=/\{y\}/g,n=/\{-y\}/g;return function(r){return null===r?void 0:t.replace(e,r[0].toString()).replace(o,r[1].toString()).replace(i,r[2].toString()).replace(n,function(){return((1<<r[0])-r[2]-1).toString()})}}function av(t){return pv(k(t,sv))}function pv(t){return 1===t.length?t[0]:function(e,o,i){return null===e?void 0:t[ht((e[1]<<e[0])+e[2],t.length)](e,o,i)}}function lv(){}function hv(t,e){var o=[0,0,0];return function(i,n,r){return null===i?void 0:e(t(i,r,o),n,r)}}function uv(t){var e=[],o=/\{(\d)-(\d)\}/.exec(t)||/\{([a-z])-([a-z])\}/.exec(t);if(o){var i,n=o[2].charCodeAt(0);for(i=o[1].charCodeAt(0);i<=n;++i)e.push(t.replace(o[0],String.fromCharCode(i)))}else e.push(t);return e}function cv(e){En.call(this,{attributions:e.attributions,extent:e.extent,logo:e.logo,opaque:e.opaque,projection:e.projection,state:t(e.state)?e.state:void 0,tileGrid:e.tileGrid,tilePixelRatio:e.tilePixelRatio,wrapX:e.wrapX}),this.tileUrlFunction=t(e.tileUrlFunction)?e.tileUrlFunction:lv,this.crossOrigin=t(e.crossOrigin)?e.crossOrigin:null,this.tileLoadFunction=t(e.tileLoadFunction)?e.tileLoadFunction:fv,this.tileClass=t(e.tileClass)?e.tileClass:Vd}function fv(t,e){t.Ma().src=e}function yv(e){var o,i=t(e.extent)?e.extent:sw;t(e.tileSize)&&(o=he(e.tileSize)),o=Mn(i,e.maxZoom,o),yn.call(this,{minZoom:e.minZoom,origin:Je(i,"top-left"),resolutions:o,tileSize:e.tileSize})}function dv(e){cv.call(this,{crossOrigin:"anonymous",opaque:!0,projection:xo("EPSG:3857"),state:"loading",tileLoadFunction:e.tileLoadFunction,wrapX:!t(e.wrapX)||e.wrapX}),this.g=t(e.culture)?e.culture:"en-us",this.e=t(e.maxZoom)?e.maxZoom:-1;var o=new ry("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+e.imagerySet);new ov(o,"jsonp").send({include:"ImageryProviders",uriScheme:"https",key:e.key},d(this.i,this))}function gv(e){cu.call(this,{attributions:e.attributions,extent:e.extent,logo:e.logo,projection:e.projection}),this.p=void 0,this.T=t(e.distance)?e.distance:20,this.n=[],this.l=e.source,this.l.r("change",gv.prototype.ba,this)}function vv(e){if(t(e.p)){e.n.length=0;for(var o=He(),i=e.T*e.p,n=e.l.Dc(),r={},s=0,a=n.length;s<a;s++){var p=n[s];Z(r,c(p).toString())||(p=p.Q().K(),$e(p,o),De(o,i,o),p=e.l.Se(o),p=P(p,function(t){return t=c(t).toString(),!(t in r)&&(r[t]=!0)}),e.n.push(mv(p)))}}}function mv(t){for(var e=t.length,o=[0,0],i=0;i<e;i++){var n=t[i].Q().K();ue(o,n)}return e=1/e,o[0]*=e,o[1]*=e,o=new af(new Ta(o)),o.set("features",t),o}function bv(e){Dl.call(this,{projection:e.projection,resolutions:e.resolutions}),this.T=t(e.crossOrigin)?e.crossOrigin:null,this.g=t(e.displayDpi)?e.displayDpi:96,this.e=t(e.params)?e.params:{};var o;o=t(e.url)?Zd(e.url,this.e,d(this.Ul,this)):_d,this.J=o,this.a=t(e.imageLoadFunction)?e.imageLoadFunction:Ol,this.X=!t(e.hidpi)||e.hidpi,this.N=t(e.metersPerUnit)?e.metersPerUnit:1,this.n=t(e.ratio)?e.ratio:1,this.ba=!!t(e.useOverlay)&&e.useOverlay,this.c=null,this.p=0}function wv(e){var o,i,n=t(e.attributions)?e.attributions:null,r=e.imageExtent;t(e.imageSize)&&(o=to(r)/e.imageSize[1],i=[o]);var s=t(e.crossOrigin)?e.crossOrigin:null,a=t(e.imageLoadFunction)?e.imageLoadFunction:Ol;Dl.call(this,{attributions:n,logo:e.logo,projection:xo(e.projection),resolutions:i}),this.a=new Kd(r,o,1,n,e.url,s,a),Ht(this.a,"change",this.i,!1,this)}function xv(e){e=t(e)?e:{},Dl.call(this,{attributions:e.attributions,logo:e.logo,projection:e.projection,resolutions:e.resolutions}),this.X=t(e.crossOrigin)?e.crossOrigin:null,this.e=e.url,this.n=t(e.imageLoadFunction)?e.imageLoadFunction:Ol,this.c=e.params,this.g=!0,Tv(this),this.T=e.serverType,this.ba=!t(e.hidpi)||e.hidpi,this.a=null,this.p=[0,0],this.N=0,this.J=t(e.ratio)?e.ratio:1.5}function Sv(e,o,i,n,r,s){if(s[e.g?"CRS":"SRS"]=r.b,"STYLES"in e.c||(s.STYLES=new String("")),1!=n)switch(e.T){case"geoserver":n=90*n+.5|0,s.FORMAT_OPTIONS=t(s.FORMAT_OPTIONS)?s.FORMAT_OPTIONS+(";dpi:"+n):"dpi:"+n;break;case"mapserver":s.MAP_RESOLUTION=90*n;break;case"carmentaserver":case"qgis":s.DPI=90*n}s.WIDTH=i[0],s.HEIGHT=i[1],i=r.d;var a;return a=e.g&&"ne"==i.substr(0,2)?[o[1],o[0],o[3],o[2]]:o,s.BBOX=a.join(","),hh(ch([e.e],s))}function Tv(t){t.g=0<=T(ot(t.c,"VERSION","1.3.0"),"1.3")}function Mv(e){var o=t(e.projection)?e.projection:"EPSG:3857",i=new yv({extent:Cn(o),maxZoom:e.maxZoom,tileSize:e.tileSize});cv.call(this,{attributions:e.attributions,crossOrigin:e.crossOrigin,logo:e.logo,projection:o,tileGrid:i,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:lv,wrapX:!t(e.wrapX)||e.wrapX}),this.l=i.yb(),t(e.tileUrlFunction)?this.pa(e.tileUrlFunction):t(e.urls)?this.pa(av(e.urls)):t(e.url)&&this.e(e.url)}function Cv(e){e=t(e)?e:{};var o;o=t(e.attributions)?e.attributions:[bM],Mv.call(this,{attributions:o,crossOrigin:t(e.crossOrigin)?e.crossOrigin:"anonymous",opaque:!0,maxZoom:t(e.maxZoom)?e.maxZoom:19,tileLoadFunction:e.tileLoadFunction,url:t(e.url)?e.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:e.wrapX})}function Ev(e){e=t(e)?e:{};var o=xM[e.layer];this.g=e.layer,Mv.call(this,{attributions:o.attributions,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:o.maxZoom,opaque:!0,tileLoadFunction:e.tileLoadFunction,url:t(e.url)?e.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.g+"/{z}/{x}/{y}.jpg"})}function Pv(e){var o=e.layer.indexOf("-"),i=SM[e.layer];Mv.call(this,{attributions:MM,crossOrigin:"anonymous",maxZoom:TM[-1==o?e.layer:e.layer.slice(0,o)].maxZoom,opaque:i.opaque,tileLoadFunction:e.tileLoadFunction,url:t(e.url)?e.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+e.layer+"/{z}/{x}/{y}."+i.Ta})}function kv(e){e=t(e)?e:{};var o=t(e.params)?e.params:{};cv.call(this,{attributions:e.attributions,logo:e.logo,projection:e.projection,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction,tileUrlFunction:d(this.lm,this),wrapX:!t(e.wrapX)||e.wrapX});var i=e.urls;!t(i)&&t(e.url)&&(i=uv(e.url)),this.g=null!=i?i:[],this.e=o,this.i=He()}function Av(t,e){nn.call(this,t,2),this.c=he(e.na(t[0])),this.a={}}function Rv(t){En.call(this,{opaque:!1,projection:t.projection,tileGrid:t.tileGrid})}function Lv(e){cv.call(this,{attributions:e.attributions,crossOrigin:e.crossOrigin,projection:xo("EPSG:3857"),state:"loading",tileLoadFunction:e.tileLoadFunction,wrapX:!t(e.wrapX)||e.wrapX}),new ov(e.url).send(void 0,d(this.e,this))}function Nv(e){En.call(this,{projection:xo("EPSG:3857"),state:"loading"}),this.i=!t(e.preemptive)||e.preemptive,this.e=lv,this.g=void 0,new ov(e.url).send(void 0,d(this.om,this))}function jv(t,e,o,i,n){nn.call(this,t,e),this.g=o,this.a=i,this.i=n,this.d=this.e=this.c=null}function Iv(t,e){if(null===t.c||null===t.e||null==t.d)return null;var o=t.c[Math.floor((1-(e[1]-t.a[1])/(t.a[3]-t.a[1]))*t.c.length)];return p(o)?(o=o.charCodeAt(Math.floor((e[0]-t.a[0])/(t.a[2]-t.a[0])*o.length)),93<=o&&o--,35<=o&&o--,o=t.e[o-32],null!=o?t.d[o]:null):null}function Dv(t,e,o,i,n){0==t.state&&!0===n?(Xt(t,"change",function(){o.call(i,Iv(this,e))},!1,t),Fv(t)):!0===n?Yn(function(){o.call(i,Iv(this,e))},t):o.call(i,Iv(t,e))}function Fv(t){0==t.state&&(t.state=1,new ov(t.g).send(void 0,d(t.Xj,t),d(t.Lj,t)))}function Ov(e){cu.call(this,{attributions:e.attributions,logo:e.logo,projection:void 0,state:"ready"}),this.T=e.format,this.n=e.tileGrid,this.p=lv,this.X=this.n.yb(),this.l={},t(e.tileUrlFunction)?(this.p=e.tileUrlFunction,this.k()):t(e.urls)?(this.p=av(e.urls),this.k()):t(e.url)&&(this.p=av(uv(e.url)),this.k())}function Bv(e,o,i,n){var r=e.l;if(e=e.n.Wb(o,i),r=r[e[0]+"/"+e[1]+"/"+e[2]],t(r))for(e=0,i=r.length;e<i;++e){var s=r[e];if(s.Q().Jb(o[0],o[1])&&n.call(void 0,s))break}}function Uv(e){e=t(e)?e:{};var o=t(e.params)?e.params:{};cv.call(this,{attributions:e.attributions,crossOrigin:e.crossOrigin,logo:e.logo,opaque:!ot(o,"TRANSPARENT",!0),projection:e.projection,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction,tileUrlFunction:d(this.tm,this),wrapX:e.wrapX});var i=e.urls;!t(i)&&t(e.url)&&(i=uv(e.url)),this.g=null!=i?i:[],this.l=t(e.gutter)?e.gutter:0,this.e=o,this.i=!0,this.n=e.serverType,this.J=!t(e.hidpi)||e.hidpi,this.p="",Hv(this),this.N=He(),qv(this)}function Gv(e,o,i,n,r,s,a){var p=e.g;if(0!=p.length){if(a.WIDTH=i[0],a.HEIGHT=i[1],a[e.i?"CRS":"SRS"]=s.b,"STYLES"in e.e||(a.STYLES=new String("")),1!=r)switch(e.n){case"geoserver":i=90*r+.5|0,a.FORMAT_OPTIONS=t(a.FORMAT_OPTIONS)?a.FORMAT_OPTIONS+(";dpi:"+i):"dpi:"+i;break;case"mapserver":a.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":a.DPI=90*r}return s=s.d,e.i&&"ne"==s.substr(0,2)&&(e=n[0],n[0]=n[1],n[1]=e,e=n[2],n[2]=n[3],n[3]=e),a.BBOX=n.join(","),hh(ch([1==p.length?p[0]:p[ht((o[1]<<o[0])+o[2],p.length)]],a))}}function Hv(t){var e,o,i=0,n=[];for(e=0,o=t.g.length;e<o;++e)n[i++]=t.g[e];for(var r in t.e)n[i++]=r+"-"+t.e[r];t.p=n.join("#")}function qv(t){t.i=0<=T(ot(t.e,"VERSION","1.3.0"),"1.3")}function $v(t){this.e=t.matrixIds,yn.call(this,{origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,widths:t.widths})}function Xv(t){var e,o=[],i=[],n=[],r=[],s=[];e=xo(t.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var a=e.Gd(),p="ne"==e.d.substr(0,2);return U(t.TileMatrix,function(t,e){return e.ScaleDenominator-t.ScaleDenominator}),E(t.TileMatrix,function(t){i.push(t.Identifier),p?n.push([t.TopLeftCorner[1],t.TopLeftCorner[0]]):n.push(t.TopLeftCorner),o.push(28e-5*t.ScaleDenominator/a);var e=t.TileWidth,l=t.TileHeight;r.push(e==l?e:[e,l]),s.push(t.MatrixWidth)}),new $v({origins:n,resolutions:o,matrixIds:i,tileSizes:r,widths:s})}function Wv(e){function o(t){return t="KVP"==n?hh(ch([t],s)):t.replace(/\{(\w+?)\}/g,function(t,e){return e.toLowerCase()in s?s[e.toLowerCase()]:t}),function(e){if(null!==e){var o={TileMatrix:r.e[e[0]],TileCol:e[1],TileRow:e[2]};return rt(o,a),e=t,e="KVP"==n?hh(ch([e],o)):e.replace(/\{(\w+?)\}/g,function(t,e){return o[e]})}}}this.N=t(e.version)?e.version:"1.0.0",this.n=t(e.format)?e.format:"image/jpeg",this.e=t(e.dimensions)?e.dimensions:{},this.l="",zv(this),this.p=e.layer,this.i=e.matrixSet,this.J=e.style;var i=e.urls;!t(i)&&t(e.url)&&(i=uv(e.url)),this.g=null!=i?i:[];var n=this.T=t(e.requestEncoding)?e.requestEncoding:"KVP",r=e.tileGrid,s={layer:this.p,style:this.J,tilematrixset:this.i};"KVP"==n&&rt(s,{Service:"WMTS",Request:"GetTile",Version:this.N,Format:this.n});var a=this.e,i=0<this.g.length?pv(k(this.g,o)):lv,p=He(),i=hv(function(t,e,o){if(r.b.length<=t[0])return null;var i=t[1],n=-t[2]-1,s=mn(r,t,p);return e=e.G(),!ro(s,e)||ro(s,e)&&(s[0]==e[2]||s[2]==e[0]||s[1]==e[3]||s[3]==e[1])?null:$o(t[0],i,n,o)},i);cv.call(this,{attributions:e.attributions,crossOrigin:e.crossOrigin,logo:e.logo,projection:e.projection,tileClass:e.tileClass,tileGrid:r,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:i,wrapX:!!t(e.wrapX)&&e.wrapX})}function zv(t){var e,o=0,i=[];for(e in t.e)i[o++]=e+"-"+t.e[e];t.l=i.join("/")}function Kv(e){var o=t(e)?e:o;yn.call(this,{origin:[0,0],resolutions:o.resolutions})}function Vv(e){e=t(e)?e:{};var o=e.size,i=o[0],n=o[1],r=[],s=256;switch(t(e.tierSizeCalculation)?e.tierSizeCalculation:"default"){case"default":for(;i>s||n>s;)r.push([Math.ceil(i/s),Math.ceil(n/s)]),s+=s;break;case"truncated":for(;i>s||n>s;)r.push([Math.ceil(i/s),Math.ceil(n/s)]),i>>=1,n>>=1}r.push([1,1]),r.reverse();for(var s=[1],a=[0],n=1,i=r.length;n<i;n++)s.push(1<<n),a.push(r[n-1][0]*r[n-1][1]+a[n-1]);s.reverse();var s=new Kv({resolutions:s}),p=e.url,o=hv(s.yb({extent:[0,0,o[0],o[1]]}),function(t){if(null!==t){var e=t[0],o=t[1];return t=t[2],p+"TileGroup"+((o+t*r[e][0]+a[e])/256|0)+"/"+e+"-"+o+"-"+t+".jpg"}});cv.call(this,{attributions:e.attributions,crossOrigin:e.crossOrigin,logo:e.logo,tileClass:Yv,tileGrid:s,tileUrlFunction:o})}function Yv(t,e,o,i,n){Vd.call(this,t,e,o,i,n),this.d={}}function Zv(e){e=t(e)?e:{},this.a=t(e.initialSize)?e.initialSize:256,this.c=t(e.maxSize)?e.maxSize:t(om)?om:2048,this.b=t(e.space)?e.space:1,this.e=[new Jv(this.a,this.b)],this.d=this.a,this.f=[new Jv(this.d,this.b)]}function _v(t,e,o,i,n,r,s){var a,p,l,h=e?t.f:t.e;for(p=0,l=h.length;p<l;++p){if(a=h[p],a=a.add(o,i,n,r,s),null!==a)return a;null===a&&p===l-1&&(e?(a=Math.min(2*t.d,t.c),t.d=a):(a=Math.min(2*t.a,t.c),t.a=a),a=new Jv(a,t.b),h.push(a),++l)}}function Jv(t,e){this.b=e,this.a=[{x:0,y:0,width:t,height:t}],this.d={},this.c=gi("CANVAS"),this.c.width=t,this.c.height=t,this.e=this.c.getContext("2d")}function Qv(t,e,o,i){e=[e,1],0<o.width&&0<o.height&&e.push(o),0<i.width&&0<i.height&&e.push(i),t.a.splice.apply(t.a,e)}function tm(e){this.o=this.d=this.e=null,this.i=t(e.fill)?e.fill:null,this.J=[0,0],this.b=e.points,this.c=t(e.radius)?e.radius:e.radius1,this.f=t(e.radius2)?e.radius2:this.c,this.g=t(e.angle)?e.angle:0,this.a=t(e.stroke)?e.stroke:null,this.H=this.L=this.p=null;var o,i=e.atlasManager,n="",r="",s=0,a=null,p=0;null!==this.a&&(o=ni(this.a.b),p=this.a.a,t(p)||(p=1),a=this.a.c,Pb||(a=null),r=this.a.e,t(r)||(r="round"),n=this.a.d,t(n)||(n="round"),s=this.a.f,t(s)||(s=10));var l=2*(this.c+p)+1,n={strokeStyle:o,md:p,size:l,lineCap:n,lineDash:a,lineJoin:r,miterLimit:s};if(t(i)){var h,l=Math.round(l),r=null===this.i;r&&(h=d(this.Tg,this,n)),s=this.nb(),h=i.add(s,l,l,d(this.Ug,this,n),h),this.d=h.image,this.J=[h.offsetX,h.offsetY],i=h.image.width,this.o=r?h.ig:this.d}else this.d=gi("CANVAS"),this.d.height=l,this.d.width=l,i=l=this.d.width,h=this.d.getContext("2d"),this.Ug(n,h,0,0),null===this.i?(h=this.o=gi("CANVAS"),h.height=n.size,h.width=n.size,h=h.getContext("2d"),this.Tg(n,h,0,0)):this.o=this.d;this.p=[l/2,l/2],this.L=[l,l],this.H=[i,i],hs.call(this,{opacity:1,rotateWithView:!1,rotation:t(e.rotation)?e.rotation:0,scale:1,snapToPixel:!t(e.snapToPixel)||e.snapToPixel})}var em,om,im,nm={},rm=rm||{},sm=this,am="closure_uid_"+(1e9*Math.random()>>>0),pm=0,lm=Date.now||function(){return+new Date};v(m,Error),m.prototype.name="CustomError";var hm,um,cm=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},fm=/&/g,ym=/</g,dm=/>/g,gm=/"/g,vm=/'/g,mm=/\x00/g,bm=/[\x00&<>"']/,wm=Array.prototype;t:{var xm=sm.navigator;if(xm){var Sm=xm.userAgent;if(Sm){um=Sm;break t}}um=""}var Tm="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Mm=X("Opera")||X("OPR"),Cm=X("Trident")||X("MSIE"),Em=X("Gecko")&&-1==um.toLowerCase().indexOf("webkit")&&!(X("Trident")||X("MSIE")),Pm=-1!=um.toLowerCase().indexOf("webkit"),km=X("Macintosh"),Am=X("Windows"),Rm=X("Linux")||X("CrOS"),Lm=function(){var t,e="";return Mm&&sm.opera?(e=sm.opera.version,h(e)?e():e):(Em?t=/rv\:([^\);]+)(\)|;)/:Cm?t=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:Pm&&(t=/WebKit\/(\S+)/),t&&(e=(e=t.exec(um))?e[1]:""),Cm&&(t=at(),t>parseFloat(e))?String(t):e)}(),Nm={},jm=sm.document,Im=jm&&Cm?at()||("CSS1Compat"==jm.compatMode?parseInt(Lm,10):5):void 0,Dm=Cm&&!pt("9.0")&&""!==Lm,Fm=!Cm||Cm&&9<=Im,Om=!Cm||Cm&&9<=Im,Bm=Cm&&!pt("9");!Pm||pt("528"),Em&&pt("1.9b")||Cm&&pt("8")||Mm&&pt("9.5")||Pm&&pt("528"),Em&&!pt("8")||Cm&&pt("9");var Um=0,Gm={};Tt.prototype.U=!1,Tt.prototype.Yc=function(){if(!this.U&&(this.U=!0,this.O(),0!=Um)){var t=c(this);delete Gm[t]}},Tt.prototype.O=function(){if(this.V)for(;this.V.length;)this.V.shift()()},Et.prototype.fb=function(){this.f=!0},Et.prototype.preventDefault=function(){this.rh=!1};var Hm=Cm?"focusout":"DOMFocusOut";At[" "]=o,v(Rt,Et);var qm=[1,4,2];em=Rt.prototype,em.fb=function(){Rt.S.fb.call(this),this.b.stopPropagation?this.b.stopPropagation():this.b.cancelBubble=!0},em.preventDefault=function(){Rt.S.preventDefault.call(this);var t=this.b;if(t.preventDefault);else if(t.returnValue=!1,Bm)try{(t.ctrlKey||112<=t.keyCode&&123>=t.keyCode)&&(t.keyCode=-1)}catch(e){}},em.Qi=function(){return this.b},em.Zf=function(){return Pm||void 0!==this.b.offsetX?this.b.offsetX:this.b.layerX},em.bo=function(t){Object.defineProperties(this,{offsetX:{writable:!0,enumerable:!0,configurable:!0,value:t}})},em.$f=function(){return Pm||void 0!==this.b.offsetY?this.b.offsetY:this.b.layerY},em.co=function(t){Object.defineProperties(this,{offsetY:{writable:!0,enumerable:!0,configurable:!0,value:t}})};var $m="closure_listenable_"+(1e6*Math.random()|0),Xm=0;Ft.prototype.add=function(t,e,o,i,n){var r=t.toString();t=this.b[r],t||(t=this.b[r]=[],this.a++);var s=Gt(t,e,i,n);return-1<s?(e=t[s],o||(e.vd=!1)):(e=new It(e,this.src,r,(!!i),n),e.vd=o,t.push(e)),e},Ft.prototype.remove=function(t,e,o,i){if(t=t.toString(),!(t in this.b))return!1; -var n=this.b[t];return e=Gt(n,e,o,i),-1<e&&(Dt(n[e]),wm.splice.call(n,e,1),0==n.length&&(delete this.b[t],this.a--),!0)};var Wm="closure_lm_"+(1e6*Math.random()|0),zm={},Km=0,Vm="__closure_events_fn_"+(1e9*Math.random()>>>0);v(Qt,Tt),Qt.prototype[$m]=!0,em=Qt.prototype,em.addEventListener=function(t,e,o,i){Ht(this,t,e,o,i)},em.removeEventListener=function(t,e,o,i){Wt(this,t,e,o,i)},em.dispatchEvent=function(t){var e,o=this.sa;if(o)for(e=[];o;o=o.sa)e.push(o);var o=this.rc,i=t.type||t;if(p(t))t=new Et(t,o);else if(t instanceof Et)t.target=t.target||o;else{var n=t;t=new Et(i,o),rt(t,n)}var r,n=!0;if(e)for(var s=e.length-1;!t.f&&0<=s;s--)r=t.c=e[s],n=te(r,i,!0,t)&&n;if(t.f||(r=t.c=o,n=te(r,i,!0,t)&&n,t.f||(n=te(r,i,!1,t)&&n)),e)for(s=0;!t.f&&s<e.length;s++)r=t.c=e[s],n=te(r,i,!1,t)&&n;return n},em.O=function(){if(Qt.S.O.call(this),this.ab){var t,e=this.ab,o=0;for(t in e.b){for(var i=e.b[t],n=0;n<i.length;n++)++o,Dt(i[n]);delete e.b[t],e.a--}}this.sa=null},em.Ka=function(t,e,o,i){return this.ab.add(String(t),e,!1,o,i)},em.wf=function(t,e,o,i){return this.ab.remove(String(t),e,o,i)},v(oe,Qt),em=oe.prototype,em.k=function(){++this.b,this.dispatchEvent("change")},em.v=function(){return this.b},em.r=function(t,e,o){return Ht(this,t,e,!1,o)},em.A=function(t,e,o){return Xt(this,t,e,!1,o)},em.u=function(t,e,o){Wt(this,t,e,!1,o)},em.B=ie,v(ne,Et),v(re,oe);var Ym={};if(em=re.prototype,em.get=function(t){var e;return this.q.hasOwnProperty(t)&&(e=this.q[t]),e},em.C=function(){return Y(this.q)},em.D=function(){var t,e={};for(t in this.q)e[t]=this.q[t];return e},em.set=function(t,e){var o=this.q[t];this.q[t]=e,ae(this,t,o)},em.t=function(t){for(var e in t)this.set(e,t[e])},em.I=function(t){if(t in this.q){var e=this.q[t];delete this.q[t],ae(this,t,e)}},we.prototype.b=4,we.prototype.set=function(t,e){e=e||0;for(var o=0;o<t.length&&e+o<this.length;o++)this[e+o]=t[o]},we.prototype.toString=Array.prototype.join,"undefined"==typeof Float32Array&&(we.BYTES_PER_ELEMENT=4,we.prototype.BYTES_PER_ELEMENT=we.prototype.b,we.prototype.set=we.prototype.set,we.prototype.toString=we.prototype.toString,e("Float32Array",we,void 0)),xe.prototype.b=8,xe.prototype.set=function(t,e){e=e||0;for(var o=0;o<t.length&&e+o<this.length;o++)this[e+o]=t[o]},xe.prototype.toString=Array.prototype.join,"undefined"==typeof Float64Array){try{xe.BYTES_PER_ELEMENT=8}catch(Zm){}xe.prototype.BYTES_PER_ELEMENT=xe.prototype.b,xe.prototype.set=xe.prototype.set,xe.prototype.toString=xe.prototype.toString,e("Float64Array",xe,void 0)}new Float64Array(3),new Float64Array(3),new Float64Array(4),new Float64Array(4),new Float64Array(4),new Float64Array(16),lo.prototype.a=function(t){for(var e=0,o=t.length,i=t[o-1][0],n=t[o-1][1],r=0;r<o;r++)var s=t[r][0],a=t[r][1],e=e+ct(s-i)*(2+Math.sin(ct(n))+Math.sin(ct(a))),i=s,n=a;return e*this.radius*this.radius/2},lo.prototype.b=function(t,e){var o=ct(t[1]),i=ct(e[1]),n=(i-o)/2,r=ct(e[0]-t[0])/2,o=Math.sin(n)*Math.sin(n)+Math.sin(r)*Math.sin(r)*Math.cos(o)*Math.cos(i);return 2*this.radius*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))},lo.prototype.offset=function(t,e,o){var i=ct(t[1]);e/=this.radius;var n=Math.asin(Math.sin(i)*Math.cos(e)+Math.cos(i)*Math.sin(e)*Math.cos(o));return[180*(ct(t[0])+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(i),Math.cos(e)-Math.sin(i)*Math.sin(n)))/Math.PI,180*n/Math.PI]};var _m=new lo(6370997),Jm={};Jm.degrees=2*Math.PI*_m.radius/360,Jm.ft=.3048,Jm.m=1,Jm["us-ft"]=1200/3937,em=ho.prototype,em.Ri=function(){return this.b},em.G=function(){return this.f},em.Ll=function(){return this.a},em.Gd=function(){return Jm[this.a]},em.Cj=function(){return this.g},em.Ml=function(){return this.e},em.Yn=function(t){this.c=(this.e=t)&&null!==this.f},em.Nl=function(t){this.f=t,this.c=this.e&&null!==t},em.lo=function(t){this.g=t},em.Xn=function(t){this.q=t},em.rj=function(e,o){if("degrees"==this.a)return e;var i=Mo(this,xo("EPSG:4326")),n=[o[0]-e/2,o[1],o[0]+e/2,o[1],o[0],o[1]-e/2,o[0],o[1]+e/2],n=i(n,n,2),i=(_m.b(n.slice(0,2),n.slice(2,4))+_m.b(n.slice(4,6),n.slice(6,8)))/2,n=this.Gd();return t(n)&&(i/=n),i},em.getPointResolution=function(t,e){return this.q(t,e)};var Qm={},tb={};v(Ao,re),em=Ao.prototype,em.xd=function(t){return this.f.center(t)},em.constrainResolution=function(t,e,o){return this.f.resolution(t,e||0,o||0)},em.constrainRotation=function(t,e){return this.f.rotation(t,e||0)},em.Ca=function(){return this.get("center")},em.Pc=function(t){var e=this.Ca(),o=this.ya();return[e[0]-o*t[0]/2,e[1]-o*t[1]/2,e[0]+o*t[0]/2,e[1]+o*t[1]/2]},em.dl=function(){return this.e},em.ya=function(){return this.get("resolution")},em.Da=function(){return this.get("rotation")},em.Ej=function(){var e,o=this.ya();if(t(o)){var i,n=0;do{if(i=this.constrainResolution(this.a,n),i==o){e=n;break}++n}while(i>this.g)}return t(e)?this.d+e:e},em.Me=function(t,e){if(!so(t)){this.Na(_e(t));var o=Ro(t,e),i=this.constrainResolution(o,0,0);i<o&&(i=this.constrainResolution(i,-1,0)),this.tb(i)}},em.Fi=function(e,o,i){var n=t(i)?i:{};i=t(n.padding)?n.padding:[0,0,0,0];var r,s=!t(n.constrainResolution)||n.constrainResolution,a=!!t(n.nearest)&&n.nearest;r=t(n.minResolution)?n.minResolution:t(n.maxZoom)?this.constrainResolution(this.a,n.maxZoom-this.d,0):0;var p=e.j,l=this.Da(),n=Math.cos(-l),l=Math.sin(-l),h=1/0,u=1/0,c=-(1/0),f=-(1/0);e=e.s;for(var y=0,d=p.length;y<d;y+=e)var g=p[y]*n-p[y+1]*l,v=p[y]*l+p[y+1]*n,h=Math.min(h,g),u=Math.min(u,v),c=Math.max(c,g),f=Math.max(f,v);o=Ro([h,u,c,f],[o[0]-i[1]-i[3],o[1]-i[0]-i[2]]),o=isNaN(o)?r:Math.max(o,r),s&&(r=this.constrainResolution(o,0,0),!a&&r<o&&(r=this.constrainResolution(r,-1,0)),o=r),this.tb(o),l=-l,a=(h+c)/2+(i[1]-i[3])/2*o,i=(u+f)/2+(i[0]-i[2])/2*o,this.Na([a*n-i*l,i*n+a*l])},em.Ai=function(t,e,o){var i=this.Da(),n=Math.cos(-i),i=Math.sin(-i),r=t[0]*n-t[1]*i;t=t[1]*n+t[0]*i;var s=this.ya(),r=r+(e[0]/2-o[0])*s;t+=(o[1]-e[1]/2)*s,i=-i,this.Na([r*n-t*i,t*n+r*i])},em.rotate=function(e,o){if(t(o)){var i,n=this.Ca();t(n)&&(i=[n[0]-o[0],n[1]-o[1]],ge(i,e-this.Da()),ue(i,o)),this.Na(i)}this.be(e)},em.Na=function(t){this.set("center",t)},em.tb=function(t){this.set("resolution",t)},em.be=function(t){this.set("rotation",t)},em.no=function(t){t=this.constrainResolution(this.a,t-this.d,0),this.tb(t)},Ko.prototype.contains=function(t){return Yo(this,t[1],t[2])},Qo.prototype.c=function(){return this.a},v(ti,Et),v(ei,re),em=ei.prototype,em.clear=function(){for(;0<this.Ib();)this.pop()},em.af=function(t){var e,o;for(e=0,o=t.length;e<o;++e)this.push(t[e]);return this},em.forEach=function(t,e){E(this.a,t,e)},em.Hk=function(){return this.a},em.item=function(t){return this.a[t]},em.Ib=function(){return this.get("length")},em.Td=function(t,e){O(this.a,t,0,e),oi(this),this.dispatchEvent(new ti("add",e,this))},em.pop=function(){return this.tf(this.Ib()-1)},em.push=function(t){var e=this.a.length;return this.Td(e,t),e},em.remove=function(t){var e,o,i=this.a;for(e=0,o=i.length;e<o;++e)if(i[e]===t)return this.tf(e)},em.tf=function(t){var e=this.a[t];return wm.splice.call(this.a,t,1),oi(this),this.dispatchEvent(new ti("remove",e,this)),e},em.Un=function(t,e){var o=this.Ib();if(t<o)o=this.a[t],this.a[t]=e,this.dispatchEvent(new ti("remove",o,this)),this.dispatchEvent(new ti("add",e,this));else{for(;o<t;++o)this.Td(o,void 0);this.Td(t,e)}};var eb=/^#(?:[0-9a-f]{3}){1,2}$/i,ob=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,ib=/^(?:rgba)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|1|0\.\d{0,10})\)$/i,nb=function(){var t={},e=0;return function(o){var i;if(t.hasOwnProperty(o))i=t[o];else{if(1024<=e){i=0;for(var n in t)0===(3&i++)&&(delete t[n],--e)}var r,s;eb.exec(o)?(s=3==o.length-1?1:2,i=parseInt(o.substr(1+0*s,s),16),n=parseInt(o.substr(1+1*s,s),16),r=parseInt(o.substr(1+2*s,s),16),1==s&&(i=(i<<4)+i,n=(n<<4)+n,r=(r<<4)+r),i=[i,n,r,1]):(s=ib.exec(o))?(i=Number(s[1]),n=Number(s[2]),r=Number(s[3]),s=Number(s[4]),i=[i,n,r,s],i=ri(i,i)):(s=ob.exec(o))?(i=Number(s[1]),n=Number(s[2]),r=Number(s[3]),i=[i,n,r,1],i=ri(i,i)):i=void 0,t[o]=i,++e}return i}}(),rb=!Cm||Cm&&9<=Im;!Em&&!Cm||Cm&&Cm&&9<=Im||Em&&pt("1.9.1"),Cm&&pt("9"),st("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),em=pi.prototype,em.clone=function(){return new pi(this.x,this.y)},em.ceil=function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},em.floor=function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},em.round=function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},em.scale=function(t,e){var o=l(e)?e:t;return this.x*=t,this.y*=o,this},em=li.prototype,em.clone=function(){return new li(this.width,this.height)},em.la=function(){return!(this.width*this.height)},em.ceil=function(){return this.width=Math.ceil(this.width),this.height=Math.ceil(this.height),this},em.floor=function(){return this.width=Math.floor(this.width),this.height=Math.floor(this.height),this},em.round=function(){return this.width=Math.round(this.width),this.height=Math.round(this.height),this},em.scale=function(t,e){var o=l(e)?e:t;return this.width*=t,this.height*=o,this};var sb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};Ei.prototype.appendChild=function(t,e){t.appendChild(e)},Ei.prototype.contains=Ti,em=Ii.prototype,em.clone=function(){return new Ii(this.top,this.right,this.bottom,this.left)},em.contains=function(t){return!(!this||!t)&&(t instanceof Ii?t.left>=this.left&&t.right<=this.right&&t.top>=this.top&&t.bottom<=this.bottom:t.x>=this.left&&t.x<=this.right&&t.y>=this.top&&t.y<=this.bottom)},em.ceil=function(){return this.top=Math.ceil(this.top),this.right=Math.ceil(this.right),this.bottom=Math.ceil(this.bottom),this.left=Math.ceil(this.left),this},em.floor=function(){return this.top=Math.floor(this.top),this.right=Math.floor(this.right),this.bottom=Math.floor(this.bottom),this.left=Math.floor(this.left),this},em.round=function(){return this.top=Math.round(this.top),this.right=Math.round(this.right),this.bottom=Math.round(this.bottom),this.left=Math.round(this.left),this},em.scale=function(t,e){var o=l(e)?e:t;return this.left*=t,this.right*=t,this.top*=o,this.bottom*=o,this},em=Di.prototype,em.clone=function(){return new Di(this.left,this.top,this.width,this.height)},em.contains=function(t){return t instanceof Di?this.left<=t.left&&this.left+this.width>=t.left+t.width&&this.top<=t.top&&this.top+this.height>=t.top+t.height:t.x>=this.left&&t.x<=this.left+this.width&&t.y>=this.top&&t.y<=this.top+this.height},em.distance=function(t){return Math.sqrt(Fi(this,t))},em.ceil=function(){return this.left=Math.ceil(this.left),this.top=Math.ceil(this.top),this.width=Math.ceil(this.width),this.height=Math.ceil(this.height),this},em.floor=function(){return this.left=Math.floor(this.left),this.top=Math.floor(this.top),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this},em.round=function(){return this.left=Math.round(this.left),this.top=Math.round(this.top),this.width=Math.round(this.width),this.height=Math.round(this.height),this},em.scale=function(t,e){var o=l(e)?e:t;return this.left*=t,this.width*=t,this.top*=o,this.height*=o,this};var ab={thin:2,medium:4,thick:6};v(_i,Et),v(Ji,re),Ji.prototype.O=function(){wi(this.element),Ji.S.O.call(this)},Ji.prototype.e=function(){return this.a},Ji.prototype.setMap=function(t){null===this.a||wi(this.element),0!=this.l.length&&(E(this.l,zt),this.l.length=0),this.a=t,null!==this.a&&((null===this.L?t.p:this.L).appendChild(this.element),this.render!==o&&this.l.push(Ht(t,"postrender",this.render,!1,this)),t.render())},Ji.prototype.c=function(t){this.L=ui(t)},em=Qi.prototype,em.clear=function(){this.c=0,this.d={},this.a=this.b=null},em.forEach=function(t,e){for(var o=this.b;null!==o;)t.call(e,o.qc,o.Wd,this),o=o.Wa},em.get=function(t){return t=this.d[t],t===this.a?t.qc:(t===this.b?(this.b=this.b.Wa,this.b.Nb=null):(t.Wa.Nb=t.Nb,t.Nb.Wa=t.Wa),t.Wa=null,t.Nb=this.a,this.a=this.a.Wa=t,t.qc)},em.Tb=function(){return this.c},em.C=function(){var t,e=Array(this.c),o=0;for(t=this.a;null!==t;t=t.Nb)e[o++]=t.Wd;return e},em.cb=function(){var t,e=Array(this.c),o=0;for(t=this.a;null!==t;t=t.Nb)e[o++]=t.qc;return e},em.pop=function(){var t=this.b;return delete this.d[t.Wd],null!==t.Wa&&(t.Wa.Nb=null),this.b=t.Wa,null===this.b&&(this.a=null),--this.c,t.qc},em.set=function(t,e){var o={Wd:t,Wa:null,Nb:this.a,qc:e};null===this.a?this.b=o:this.a.Wa=o,this.a=o,this.d[t]=o,++this.c},v(en,Qi),v(nn,Qt),nn.prototype.gb=function(){return c(this).toString()},nn.prototype.f=function(){return this.b},v(sn,re),em=sn.prototype,em.ge=o,em.ea=function(){return this.d},em.ca=function(){return this.L},em.fa=function(){return this.f},em.ga=function(){return this.o};var pb=ln(!1),lb=ln(!0),hb=ln(null),ub=[0,0,0];em=yn.prototype,em.yb=function(){return hn},em.Ad=function(t,e,o,i,n){for(n=mn(this,t,n),t=t[0]-1;t>=this.minZoom;){if(e.call(o,t,gn(this,n,t,i)))return!0;--t}return!1},em.Fd=function(){return this.maxZoom},em.Hd=function(){return this.minZoom},em.Mb=function(t){return null===this.f?this.i[t]:this.f},em.ma=function(t){return this.b[t]},em.ne=function(){return this.b},em.Ld=function(t,e,o){return t[0]<this.maxZoom?(o=mn(this,t,o),gn(this,o,t[0]+1,e)):null},em.Wb=function(t,e,o){return bn(this,t[0],t[1],e,!1,o)},em.cd=function(t,e,o){return bn(this,t[0],t[1],this.ma(e),!1,o)},em.na=function(t){return null===this.g?this.c[t]:this.g},v(En,sn),em=En.prototype,em.Cd=function(){return 0},em.bb=Xo,em.ua=function(){return this.tileGrid},em.Xb=function(t,e,o){return e=kn(this,o),le(he(e.na(t),this.c),this.ba,this.c)},em.yf=o,v(An,Et),v(Rn,Ji),em=Rn.prototype,em.gl=function(t){t.preventDefault(),Nn(this)},em.fl=function(){return this.g},em.il=function(t){this.g!==t&&(this.g=t,ji(this.element,"ol-uncollapsible"),!t&&this.d&&Nn(this))},em.hl=function(t){this.g&&this.d!==t&&Nn(this)},em.el=function(){return this.d},v(jn,Ji),jn.prototype.o=function(e){e.preventDefault(),e=this.a;var o=e.R();if(null!==o){for(var i=o.Da();i<-Math.PI;)i+=2*Math.PI;for(;i>Math.PI;)i-=2*Math.PI;t(i)&&(0<this.g&&e.Ha(Ho({rotation:i,duration:this.g,easing:Fo})),o.be(0))}},v(Dn,Ji),Dn.prototype.f=function(e,o){o.preventDefault();var i=this.a,n=i.R();if(null!==n){var r=n.ya();t(r)&&(0<this.d&&i.Ha(qo({resolution:r,duration:this.d,easing:Fo})),i=n.constrainResolution(r,e),n.tb(i))}};var cb=Pm?"webkitfullscreenchange":Em?"mozfullscreenchange":Cm?"MSFullscreenChange":"fullscreenchange";v(Gn,Ji),Gn.prototype.n=function(t){t.preventDefault(),On()&&(t=this.a,null!==t&&(Un()?(t=hi().b,t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen?t.msExitFullscreen():t.exitFullscreen&&t.exitFullscreen()):(t=t.df(),t=ui(t),this.o?t.mozRequestFullScreenWithKeys?t.mozRequestFullScreenWithKeys():t.webkitRequestFullscreen?t.webkitRequestFullscreen():Bn(t):Bn(t))))},Gn.prototype.i=function(){var t=this.d+"-true",e=this.d+"-false",o=Si(this.element),i=this.a;Un()?(Ri(o,e)&&(Ni(o,e),Li(o,t)),xi(this.g,this.f)):(Ri(o,t)&&(Ni(o,t),Li(o,e)),xi(this.f,this.g)),null===i||i.Kc()},v(Hn,Ji),em=Hn.prototype,em.jl=function(){this.f=null},em.Uf=function(){return this.get("coordinateFormat")},em.xg=function(){return this.get("projection")},em.$j=function(t){this.g=this.a.Bd(t.b),$n(this,this.g)},em.ak=function(){$n(this,null),this.g=null},em.setMap=function(t){Hn.S.setMap.call(this,t),null!==t&&(t=t.a,this.l.push(Ht(t,"mousemove",this.$j,!1,this),Ht(t,"mouseout",this.ak,!1,this)))},em.vh=function(t){this.set("coordinateFormat",t)},em.yg=function(t){this.set("projection",t)},v(Xn,Tt),em=Xn.prototype,em.$=null,em.zf=!1,em.start=function(){Wn(this),this.zf=!1;var t=zn(this),e=Kn(this);t&&!e&&this.b.mozRequestAnimationFrame?(this.$=Ht(this.b,"MozBeforePaint",this.a),this.b.mozRequestAnimationFrame(null),this.zf=!0):this.$=t&&e?t.call(this.b,this.a):this.b.setTimeout(un(this.a),20)},em.Pf=function(){this.zf&&this.$&&zt(this.$),this.$=null,this.d.call(this.c,lm())},em.O=function(){Wn(this),Xn.S.O.call(this)};var fb,yb=hn;em=Qn.prototype,em.Tb=function(){return this.c},em.cb=function(){tr(this);for(var t=[],e=0;e<this.b.length;e++)t.push(this.a[this.b[e]]);return t},em.C=function(){return tr(this),this.b.concat()},em.la=function(){return 0==this.c},em.clear=function(){this.a={},this.c=this.b.length=0},em.remove=function(t){return!!er(this.a,t)&&(delete this.a[t],this.c--,this.b.length>2*this.c&&tr(this),!0)},em.get=function(t,e){return er(this.a,t)?this.a[t]:e},em.set=function(t,e){er(this.a,t)||(this.c++,this.b.push(t)),this.a[t]=e},em.forEach=function(t,e){for(var o=this.C(),i=0;i<o.length;i++){var n=o[i],r=this.get(n);t.call(e,r,n,this)}},em.clone=function(){return new Qn(this)},new or,or.prototype.set=function(t){this.b=t},or.prototype.get=function(){return this.b},v(ir,Qt),em=ir.prototype,em.Md=null,em.pd=null,em.Nd=null,em.O=function(){ir.S.O.call(this),this.Md&&(zt(this.Md),this.Md=null),this.Nd=this.pd=null},em.ik=function(){var t=fi(this.pd||window),e=this.Nd;t==e||t&&e&&t.width==e.width&&t.height==e.height||(this.Nd=t,this.dispatchEvent("resize"))},v(pr,Qt),em=pr.prototype,em.Z=null,em.Ud=null,em.Ye=null,em.Vd=null,em.Ja=-1,em.Hb=-1,em.Ge=!1;var db={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},gb={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},vb=Cm||Pm&&pt("525"),mb=km&&Em;pr.prototype.b=function(t){Pm&&(17==this.Ja&&!t.i||18==this.Ja&&!t.a||km&&91==this.Ja&&!t.l)&&(this.Hb=this.Ja=-1),-1==this.Ja&&(t.i&&17!=t.e?this.Ja=17:t.a&&18!=t.e?this.Ja=18:t.l&&91!=t.e&&(this.Ja=91)),vb&&!nr(t.e,this.Ja,t.d,t.i,t.a)?this.handleEvent(t):(this.Hb=sr(t.e),mb&&(this.Ge=t.a))},pr.prototype.a=function(t){this.Hb=this.Ja=-1,this.Ge=t.a},pr.prototype.handleEvent=function(t){var e,o,i=t.b,n=i.altKey;Cm&&"keypress"==t.type?(e=this.Hb,o=13!=e&&27!=e?i.keyCode:0):Pm&&"keypress"==t.type?(e=this.Hb,o=0<=i.charCode&&63232>i.charCode&&rr(e)?i.charCode:0):Mm?(e=this.Hb,o=rr(e)?i.keyCode:0):(e=i.keyCode||this.Hb,o=i.charCode||0,mb&&(n=this.Ge),km&&63==o&&224==e&&(e=191));var r=e=sr(e),s=i.keyIdentifier;e?63232<=e&&e in db?r=db[e]:25==e&&t.d&&(r=9):s&&s in gb&&(r=gb[s]),this.Ja=r,t=new ur(r,o,0,i),t.a=n,this.dispatchEvent(t)},pr.prototype.O=function(){pr.S.O.call(this),hr(this)},v(ur,Rt),v(cr,Qt),cr.prototype.handleEvent=function(e){var o=0,i=0,n=0;e=e.b,"mousewheel"==e.type?(i=1,(Cm||Pm&&(Am||pt("532.0")))&&(i=40),n=fr(-e.wheelDelta,i),t(e.wheelDeltaX)?(o=fr(-e.wheelDeltaX,i),i=fr(-e.wheelDeltaY,i)):i=n):(n=e.detail,100<n?n=3:-100>n&&(n=-3),t(e.axis)&&e.axis===e.HORIZONTAL_AXIS?o=n:i=n),l(this.a)&<(o,-this.a,this.a),l(this.c)&&(i=lt(i,-this.c,this.c)),o=new yr(n,e,0,i),this.dispatchEvent(o)},cr.prototype.O=function(){cr.S.O.call(this),zt(this.b),this.b=null},v(yr,Rt),v(dr,Et);var bb=!1;try{bb=1===new MouseEvent("click",{buttons:1}).buttons}catch(wb){}var xb,Sb,Tb=function(){var e;return function(){if(!t(e))if(sm.getComputedStyle){var o,i=gi("P"),n={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(i);for(var r in n)r in i.style&&(i.style[r]="translate(1px,1px)",o=sm.getComputedStyle(i).getPropertyValue(n[r]));wi(i),e=o&&"none"!==o}else e=!1;return e}}(),Mb=function(){var e;return function(){if(!t(e))if(sm.getComputedStyle){var o,i=gi("P"),n={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(i);for(var r in n)r in i.style&&(i.style[r]="translate3d(1px,1px,1px)",o=sm.getComputedStyle(i).getPropertyValue(n[r]));wi(i),e=o&&"none"!==o}else e=!1;return e}}(),Cb=["experimental-webgl","webgl","webkit-3d","moz-webgl"],Eb=sm.devicePixelRatio||1,Pb=!1,kb=function(){if(!("HTMLCanvasElement"in sm))return!1;try{var e=mr();return null!==e&&(t(e.setLineDash)&&(Pb=!0),!0)}catch(o){return!1}}(),Ab="DeviceOrientationEvent"in sm,Rb="geolocation"in sm.navigator,Lb="ontouchstart"in sm,Nb="PointerEvent"in sm,jb=!!sm.navigator.msPointerEnabled,Ib=!1,Db=[];if("WebGLRenderingContext"in sm)try{var Fb=xr(gi("CANVAS"),{Ei:!0});null!==Fb&&(Ib=!0,Sb=Fb.getParameter(Fb.MAX_TEXTURE_SIZE),Db=Fb.getSupportedExtensions())}catch(Ob){}xb=Ib,im=Db,om=Sb,v(Tr,Sr),em=Tr.prototype,em.tk=function(t){if(!Mr(this,t)){1..toString()in this.a&&this.cancel(t);var e=Cr(t);this.a[1..toString()]=t,Gr(this.b,Ub,e,t)}},em.uk=function(t){if(!Mr(this,t)){var e=Cr(t);Gr(this.b,Bb,e,t)}},em.xk=function(t){if(!Mr(this,t)){var e=this.a[1..toString()];e&&e.button===t.button&&(e=Cr(t),Gr(this.b,Gb,e,t),et(this.a,1..toString()))}},em.wk=function(t){if(!Mr(this,t)){var e=Cr(t);Ur(this.b,e,t)}},em.vk=function(t){if(!Mr(this,t)){var e=Cr(t);Br(this.b,e,t)}},em.cancel=function(t){var e=Cr(t);this.b.cancel(e,t),et(this.a,1..toString())},v(Er,Sr),em=Er.prototype,em.Ck=function(t){this.a[t.b.pointerId]=t;var e=Pr(this,t);Gr(this.b,Ub,e,t)},em.Dk=function(t){var e=Pr(this,t);Gr(this.b,Bb,e,t)},em.Gk=function(t){var e=Pr(this,t);Gr(this.b,Gb,e,t),et(this.a,t.b.pointerId)},em.Ek=function(t){var e=Pr(this,t);Br(this.b,e,t)},em.Fk=function(t){var e=Pr(this,t);Ur(this.b,e,t)},em.Bk=function(t){var e=Pr(this,t);this.b.cancel(e,t),et(this.a,t.b.pointerId)},em.Ak=function(t){this.b.dispatchEvent(new dr("lostpointercapture",t,t.b))},em.zk=function(t){this.b.dispatchEvent(new dr("gotpointercapture",t,t.b))},v(kr,Sr),em=kr.prototype,em.nn=function(t){Hr(this.b,t)},em.pn=function(t){Hr(this.b,t)},em.sn=function(t){Hr(this.b,t)},em.qn=function(t){Hr(this.b,t)},em.rn=function(t){Hr(this.b,t)},em.mn=function(t){Hr(this.b,t)},em.sk=function(t){Hr(this.b,t)},em.Fj=function(t){Hr(this.b,t)},v(Ar,Sr),em=Ar.prototype,em.qh=function(){this.f=0,this.d=void 0},em.so=function(e){var o=e.b.touches,i=Y(this.a),n=i.length;if(n>=o.length){var r,s,a,p=[];for(r=0;r<n;++r){s=i[r],a=this.a[s];var l;if(!(l=1==s))t:{l=o.length;for(var h=void 0,u=0;u<l;u++)if(h=o[u],h.identifier===s-2){l=!0;break t}l=!1}l||p.push(a.ec)}for(r=0;r<p.length;++r)this.He(e,p[r])}o=K(this.a),(0===o||1===o&&1..toString()in this.a)&&(this.c=e.b.changedTouches[0].identifier,t(this.d)&&sm.clearTimeout(this.d)),Nr(this,e),this.f++,Lr(this,e,this.hn)},em.hn=function(t,e){this.a[e.pointerId]={target:e.target,ec:e,Zg:e.target};var o=this.b;e.bubbles=!0,Gr(o,Hb,e,t),o=this.b,e.bubbles=!1,Gr(o,$b,e,t),Gr(this.b,Ub,e,t)},em.ro=function(t){t.preventDefault(),Lr(this,t,this.yk)},em.yk=function(t,e){var o=this.a[e.pointerId];if(o){var i=o.ec,n=o.Zg;Gr(this.b,Bb,e,t),i&&n!==e.target&&(i.relatedTarget=e.target,e.relatedTarget=n,i.target=n,e.target?(Br(this.b,i,t),Ur(this.b,e,t)):(e.target=n,e.relatedTarget=null,this.He(t,e))),o.ec=e,o.Zg=e.target}},em.qo=function(t){Nr(this,t),Lr(this,t,this.to)},em.to=function(t,e){Gr(this.b,Gb,e,t),this.b.ec(e,t);var o=this.b;e.bubbles=!1,Gr(o,Xb,e,t),et(this.a,e.pointerId),e.isPrimary&&(this.c=void 0,this.d=sm.setTimeout(d(this.qh,this),200))},em.po=function(t){Lr(this,t,this.He)},em.He=function(t,e){this.b.cancel(e,t),this.b.ec(e,t);var o=this.b;e.bubbles=!1,Gr(o,Xb,e,t),et(this.a,e.pointerId),e.isPrimary&&(this.c=void 0,this.d=sm.setTimeout(d(this.qh,this),200))},v(jr,Qt),jr.prototype.d=function(t){var e=this.c[t.type];e&&e(t)},jr.prototype.ec=function(t,e){t.bubbles=!0,Gr(this,qb,t,e)},jr.prototype.cancel=function(t,e){Gr(this,Wb,t,e)},jr.prototype.O=function(){for(var t,e=this.b.length,o=0;o<e;o++)t=this.b[o],Fr(this,Y(t.e));jr.S.O.call(this)};var Bb="pointermove",Ub="pointerdown",Gb="pointerup",Hb="pointerover",qb="pointerout",$b="pointerenter",Xb="pointerleave",Wb="pointercancel",zb=[["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]];v(qr,_i),qr.prototype.preventDefault=function(){qr.S.preventDefault.call(this),this.b.preventDefault()},qr.prototype.fb=function(){qr.S.fb.call(this),this.b.fb()},v($r,qr),v(Xr,Qt),em=Xr.prototype,em.fg=function(t){zr(this,t);var e=new $r(Qb,this.c,t);this.dispatchEvent(e),!this.g&&0===t.button&&Wr(this,this.a),0===this.o&&(E(this.d,zt),this.d=null,this.g=!1,this.a=null,Ct(this.b),this.b=null)},em.dk=function(t){zr(this,t);var e=new $r(Jb,this.c,t);this.dispatchEvent(e),this.a=t,null===this.d&&(this.b=new jr(document),this.d=[Ht(this.b,_b,this.$k,!1,this),Ht(this.b,Qb,this.fg,!1,this),Ht(this.e,tw,this.fg,!1,this)])},em.$k=function(t){if(t.clientX!=this.a.clientX||t.clientY!=this.a.clientY){this.g=!0;var e=new $r(Zb,this.c,t,this.g);this.dispatchEvent(e)}t.preventDefault()},em.Kn=function(t){this.dispatchEvent(new $r(t.type,this.c,t,null!==this.a&&(t.clientX!=this.a.clientX||t.clientY!=this.a.clientY)))},em.O=function(){null!==this.q&&(zt(this.q),this.q=null),null!==this.i&&(zt(this.i),this.i=null),null!==this.d&&(E(this.d,zt),this.d=null),null!==this.b&&(Ct(this.b),this.b=null),null!==this.e&&(Ct(this.e),this.e=null),Xr.S.O.call(this)};var Kb="singleclick",Vb="click",Yb="dblclick",Zb="pointerdrag",_b="pointermove",Jb="pointerdown",Qb="pointerup",tw="pointercancel",ew={Ko:Kb,zo:Vb,Ao:Yb,Do:Zb,Go:_b,Co:Jb,Jo:Qb,Io:"pointerover",Ho:"pointerout",Eo:"pointerenter",Fo:"pointerleave",Bo:tw};v(Kr,re),em=Kr.prototype,em.Bb=function(){return this.get("brightness")},em.Cb=function(){return this.get("contrast")},em.Db=function(){return this.get("hue")},em.G=function(){return this.get("extent")},em.Eb=function(){return this.get("maxResolution")},em.Fb=function(){return this.get("minResolution")},em.Kb=function(){return this.get("opacity")},em.Gb=function(){return this.get("saturation")},em.eb=function(){return this.get("visible")},em.gc=function(t){this.set("brightness",t)},em.hc=function(t){this.set("contrast",t)},em.ic=function(t){this.set("hue",t)},em.bc=function(t){this.set("extent",t)},em.jc=function(t){this.set("maxResolution",t)},em.kc=function(t){this.set("minResolution",t)},em.cc=function(t){this.set("opacity",t)},em.lc=function(t){this.set("saturation",t)},em.mc=function(t){this.set("visible",t)},v(Yr,Kr),em=Yr.prototype,em.Ue=function(e){return e=t(e)?e:[],e.push(Vr(this)),e},em.da=function(){var e=this.get("source");return t(e)?e:null},em.We=function(){var t=this.da();return null===t?"undefined":t.o},em.Kl=function(){this.k()},em.kk=function(){null!==this.f&&(zt(this.f),this.f=null);var t=this.da();null!==t&&(this.f=Ht(t,"change",this.Kl,!1,this)),this.k()},em.Jc=function(t){this.set("source",t)},v(_r,Qt),_r.prototype.G=function(){return this.extent},v(es,oe),em=es.prototype,em.Pa=o,em.dc=function(t,e,o,i){if(t=t.slice(),ts(e.pixelToCoordinateMatrix,t,t),this.Pa(t,e,lb,this))return o.call(i,this.a)},em.ee=pb,em.yd=function(t,e){return function(o,i){return Pn(t,o,i,function(t){e[o]||(e[o]={}),e[o][t.b.toString()]=t})}},em.Ol=function(t){2===t.target.state&&is(this)},em=hs.prototype,em.ie=function(){return this.U},em.Jd=function(){return this.V},em.je=function(){return this.q},em.ke=function(){return this.l},em.Kd=function(){return this.n},em.le=function(t){this.q=t},em.me=function(t){this.l=t},v(us,hs),em=us.prototype,em.mb=function(){if(null!==this.d)return this.d;var t=this.e,e=this.Xa();if("fraction"==this.g||"fraction"==this.i){if(null===e)return null;t=this.e.slice(),"fraction"==this.g&&(t[0]*=e[0]),"fraction"==this.i&&(t[1]*=e[1])}if("top-left"!=this.a){if(null===e)return null;t===this.e&&(t=this.e.slice()),"top-right"!=this.a&&"bottom-right"!=this.a||(t[0]=-t[0]+e[0]),"bottom-left"!=this.a&&"bottom-right"!=this.a||(t[1]=-t[1]+e[1])}return this.d=t},em.Lb=function(){return this.b.b},em.Dd=function(){return this.b.a},em.gd=function(){return this.b.c},em.he=function(){var t=this.b;if(null===t.e)if(t.i){var e=t.a[0],o=t.a[1],i=mr(e,o);i.fillRect(0,0,e,o),t.e=i.canvas}else t.e=t.b;return t.e},em.rb=function(){if(null!==this.f)return this.f;var t=this.p;if("top-left"!=this.c){var e=this.Xa(),o=this.b.a;if(null===e||null===o)return null;t=t.slice(),"top-right"!=this.c&&"bottom-right"!=this.c||(t[0]=o[0]-e[0]-t[0]),"bottom-left"!=this.c&&"bottom-right"!=this.c||(t[1]=o[1]-e[1]-t[1])}return this.f=t},em.Bm=function(){return this.b.f},em.Xa=function(){return null===this.o?this.b.a:this.o},em.$e=function(t,e){return Ht(this.b,"change",t,!1,e)},em.load=function(){this.b.load()},em.xf=function(t,e){Wt(this.b,"change",t,!1,e)},v(cs,Qt),cs.prototype.g=function(){this.c=3,E(this.d,zt),this.d=null,this.dispatchEvent("change")},cs.prototype.q=function(){this.c=2,this.a=[this.b.width,this.b.height],E(this.d,zt),this.d=null;var t=mr(1,1);t.drawImage(this.b,0,0);try{t.getImageData(0,0,1,1)}catch(e){this.i=!0}this.dispatchEvent("change")},cs.prototype.load=function(){if(0==this.c){this.c=1,this.d=[Xt(this.b,"error",this.g,!1,this),Xt(this.b,"load",this.q,!1,this)];try{this.b.src=this.f}catch(t){this.g()}}},i(fs),fs.prototype.clear=function(){this.b={},this.a=0},fs.prototype.get=function(t,e){var o=e+":"+t;return o in this.b?this.b[o]:null},fs.prototype.set=function(t,e,o){this.b[e+":"+t]=o,++this.a},v(ys,Tt),em=ys.prototype,em.O=function(){W(this.f,Ct),ys.S.O.call(this)},em.ef=function(t,e,o,i,n,r){function s(t){var e=c(t).toString();if(!(e in u))return u[e]=!0,o.call(i,t,null)}var a,p=e.viewState,l=p.resolution,h=p.rotation,u={},f=p.projection,p=t;if(f.c){var y=f.G(),f=no(y);a=t[0],(a<y[0]||a>y[2])&&(p=Math.ceil((y[0]-a)/f),p=[a+f*p,t[1]])}if(null!==this.c&&(a=this.c.c(p,l,h,{},s)))return a;for(h=e.layerStatesArray,f=h.length-1;0<=f;--f)if(a=h[f],y=a.layer,Zr(a,l)&&n.call(r,y)&&(a=vs(this,y).Pa(an(y.da())?p:t,e,o,i)))return a},em.Jg=function(t,e,o,i,n,r){var s,a=e.viewState,p=a.resolution,a=a.rotation;if(null!==this.c){var l=this.g.ka(t);if(this.c.c(l,p,a,{},lb)&&(s=o.call(i,null)))return s}for(a=e.layerStatesArray,l=a.length-1;0<=l;--l){s=a[l];var h=s.layer;if(Zr(s,p)&&n.call(r,h)&&(s=vs(this,h).dc(t,e,o,i)))return s}},em.Kg=function(e,o,i,n){return e=this.ef(e,o,lb,this,i,n),t(e)},em.Tj=function(){this.g.render()},em.ue=o,em.Pn=function(t,e){for(var o in this.f)if(!(null!==e&&o in e.layerStates)){var i=o,n=this.f[i];delete this.f[i],zt(this.o[i]),delete this.o[i],Ct(n)}},bs.prototype.clear=function(){this.b.length=0,this.a.length=0,tt(this.c)},bs.prototype.Tb=function(){return this.b.length},bs.prototype.la=function(){return 0===this.b.length},v(Cs,bs),Cs.prototype.f=function(t){t=t.target;var e=t.state;2!==e&&3!==e&&4!==e||(Wt(t,"change",this.f,!1,this),--this.d,this.i())},Es.prototype.update=function(t,e){this.b.push(t,e,lm())},v(As,re),As.prototype.c=function(){return this.get("active")},As.prototype.d=function(t){this.set("active",t)},As.prototype.setMap=function(t){this.l=t},v(js,As),v(qs,As),qs.prototype.nc=hn,v(Ws,qs),Ws.prototype.nc=pb,v(Ys,qs),Ys.prototype.nc=pb,v(Qs,re),Qs.prototype.e=function(e,o){var i=t(o)?o:[NaN,NaN];return this.Sa(e[0],e[1],i,1/0),i},Qs.prototype.Jb=pb,Qs.prototype.G=function(e){this.n!=this.b&&(this.o=this.wd(this.o),this.n=this.b);var o=this.o;return t(e)?(e[0]=o[0],e[1]=o[1],e[2]=o[2],e[3]=o[3]):e=o,e},Qs.prototype.transform=function(t,e){return this.qa(To(t,e)),this},v(ea,Qs),em=ea.prototype,em.Jb=pb,em.wd=function(t){var e=this.j,o=this.j.length,i=this.s;return t=qe(1/0,1/0,-(1/0),-(1/0),t),Ke(t,e,0,o,i)},em.ob=function(){return this.j.slice(0,this.s)},em.pb=function(){return this.j.slice(this.j.length-this.s)},em.qb=function(){return this.a},em.Ve=function(t){if(this.l!=this.b&&(tt(this.f), -this.g=0,this.l=this.b),0>t||0!==this.g&&t<=this.g)return this;var e=t.toString();if(this.f.hasOwnProperty(e))return this.f[e];var o=this.xc(t);return o.j.length<this.j.length?this.f[e]=o:(this.g=t,this)},em.xc=function(){return this},em.qa=function(t){null!==this.j&&(t(this.j,this.j,this.s),this.k())},em.Oa=function(e,o){var i=this.j;if(null!==i){var n,r,s=i.length,a=this.s,p=t(i)?i:[],l=0;for(n=0;n<s;n+=a)for(p[l++]=i[n]+e,p[l++]=i[n+1]+o,r=n+2;r<n+a;++r)p[l++]=i[r];t(i)&&p.length!=l&&(p.length=l),this.k()}},v(xa,ea),em=xa.prototype,em.clone=function(){var t=new xa(null);return Sa(t,this.a,this.j.slice()),t},em.Sa=function(t,e,o,i){return i<Oe(this.G(),t,e)?i:(this.c!=this.b&&(this.i=Math.sqrt(ha(this.j,0,this.j.length,this.s,0)),this.c=this.b),ca(this.j,0,this.j.length,this.s,this.i,!0,t,e,o,i))},em.rl=function(){return ra(this.j,0,this.j.length,this.s)},em.K=function(){return va(this.j,0,this.j.length,this.s)},em.xc=function(t){var e=[];return e.length=ba(this.j,0,this.j.length,this.s,t,e,0),t=new xa(null),Sa(t,"XY",e),t},em.M=function(){return"LinearRing"},em.W=function(t,e){null===t?Sa(this,"XY",null):(na(this,e,t,1),null===this.j&&(this.j=[]),this.j.length=da(this.j,0,t,this.s),this.k())},v(Ta,ea),em=Ta.prototype,em.clone=function(){var t=new Ta(null);return Ma(t,this.a,this.j.slice()),t},em.Sa=function(t,e,o,i){var n=this.j;if(t=pa(t,e,n[0],n[1]),t<i){for(i=this.s,e=0;e<i;++e)o[e]=n[e];return o.length=i,t}return i},em.K=function(){return null===this.j?[]:this.j.slice()},em.wd=function(t){return $e(this.j,t)},em.M=function(){return"Point"},em.ra=function(t){return Ue(t,this.j[0],this.j[1])},em.W=function(t,e){null===t?Ma(this,"XY",null):(na(this,e,t,0),null===this.j&&(this.j=[]),this.j.length=ya(this.j,t),this.k())},v(Fa,ea),em=Fa.prototype,em.wi=function(t){null===this.j?this.j=t.j.slice():F(this.j,t.j),this.c.push(this.j.length),this.k()},em.clone=function(){var t=new Fa(null);return Ua(t,this.a,this.j.slice(),this.c.slice()),t},em.Sa=function(t,e,o,i){return i<Oe(this.G(),t,e)?i:(this.J!=this.b&&(this.L=Math.sqrt(ua(this.j,0,this.c,this.s,0)),this.J=this.b),fa(this.j,0,this.c,this.s,this.L,!0,t,e,o,i))},em.Jb=function(t,e){return Pa(Ba(this),0,this.c,this.s,t,e)},em.ul=function(){return sa(Ba(this),0,this.c,this.s)},em.K=function(e){var o;return t(e)?(o=Ba(this).slice(),Ia(o,0,this.c,this.s,e)):o=this.j,ma(o,0,this.c,this.s)},em.cj=function(){return new Ta(Oa(this))},em.ij=function(){return this.c.length},em.hj=function(t){if(0>t||this.c.length<=t)return null;var e=new xa(null);return Sa(e,this.a,this.j.slice(0===t?0:this.c[t-1],this.c[t])),e},em.Ed=function(){var t,e,o=this.a,i=this.j,n=this.c,r=[],s=0;for(t=0,e=n.length;t<e;++t){var a=n[t],p=new xa(null);Sa(p,o,i.slice(s,a)),r.push(p),s=a}return r},em.xc=function(t){var e=[],o=[];return e.length=wa(this.j,0,this.c,this.s,Math.sqrt(t),e,0,o),t=new Fa(null),Ua(t,"XY",e,o),t},em.M=function(){return"Polygon"},em.ra=function(t){return La(Ba(this),0,this.c,this.s,t)},em.W=function(t,e){if(null===t)Ua(this,"XY",null,this.c);else{na(this,e,t,2),null===this.j&&(this.j=[]);var o=ga(this.j,0,t,this.s,this.c);this.j.length=0===o.length?0:o[o.length-1],this.k()}},v(qa,Et),v($a,Tt),$a.prototype.O=function(){this.setMap(null)},$a.prototype.g=function(t){var e=this.c,o=this.f;t.vectorContext.tc(1/0,function(t){t.Aa(o.e,o.c),t.Ba(o.a),t.Rb(e,null)})},$a.prototype.Q=function(){return this.c},$a.prototype.setMap=function(t){null!==this.d&&(zt(this.d),this.d=null,this.b.render(),this.b=null),this.b=t,null!==this.b&&(this.d=Ht(t,"postcompose",this.g,!1,this),Wa(this))},v(za,Et),v(Ka,qs),Ka.prototype.Q=function(){return this.f.Q()},Ka.prototype.g=o,v(Ja,_a),Ja.prototype.update=function(e,o){t(o)||(o=e.length);for(var i=o-this.a,n=this.e,r=this.c,s=0;s<o;){if(0==r)for(;s<=i;)Qa(this,e,s),s+=this.a;if(p(e)){for(;s<o;)if(n[r++]=e.charCodeAt(s++),r==this.a){Qa(this,n),r=0;break}}else for(;s<o;)if(n[r++]=e[s++],r==this.a){Qa(this,n),r=0;break}}this.c=r,this.d+=o},em=tp.prototype,em.Hm=function(){return this.b},em.ej=function(){return this.d},em.Im=function(){return this.c},em.fj=function(){return this.e},em.lj=function(){return this.f},em.Jm=function(){return this.a},em.Km=function(t){this.b=t,this.g=void 0},em.Zn=function(t){this.d=t,this.g=void 0},em.Lm=function(t){this.c=t,this.g=void 0},em.$n=function(t){this.e=t,this.g=void 0},em.ao=function(t){this.f=t,this.g=void 0},em.ko=function(t){this.a=t,this.g=void 0},em.nb=function(){if(!t(this.g)){var e="s"+(null===this.b?"-":ni(this.b))+","+(t(this.d)?this.d.toString():"-")+","+(null===this.c?"-":this.c.toString())+","+(t(this.e)?this.e:"-")+","+(t(this.f)?this.f.toString():"-")+","+(t(this.a)?this.a.toString():"-"),o=new Ja;o.update(e);var i=Array((56>o.c?o.a:2*o.a)-o.c);for(i[0]=128,e=1;e<i.length-8;++e)i[e]=0;for(var n=8*o.d,e=i.length-8;e<i.length;++e)i[e]=255&n,n/=256;for(o.update(i),i=Array(16),e=n=0;4>e;++e)for(var r=0;32>r;r+=8)i[n++]=o.b[e]>>>r&255;if(8192>i.length)o=String.fromCharCode.apply(null,i);else for(o="",e=0;e<i.length;e+=8192)o+=String.fromCharCode.apply(null,B(i,e,e+8192));this.g=o}return this.g};var ow=[0,0,0,1],iw=[],nw=[0,0,0,1];ep.prototype.c=function(){return this.b},ep.prototype.d=function(t){this.b=t,this.a=void 0},ep.prototype.nb=function(){return t(this.a)||(this.a="f"+(null===this.b?"-":ni(this.b))),this.a},v(op,hs),em=op.prototype,em.mb=function(){return this.g},em.ym=function(){return this.d},em.he=function(){return this.f},em.Lb=function(){return this.b},em.gd=function(){return 2},em.Dd=function(){return this.i},em.rb=function(){return this.o},em.zm=function(){return this.c},em.Xa=function(){return this.p},em.Am=function(){return this.a},em.$e=o,em.load=o,em.xf=o,em.Sg=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),e.arc(t.size/2,t.size/2,this.c,0,2*Math.PI,!0),null!==this.d&&(e.fillStyle=ni(this.d.b),e.fill()),null!==this.a&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.md,null===t.lineDash||e.setLineDash(t.lineDash),e.stroke()),e.closePath()},em.Rg=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),e.arc(t.size/2,t.size/2,this.c,0,2*Math.PI,!0),e.fillStyle=ow,e.fill(),null!==this.a&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.md,null===t.lineDash||e.setLineDash(t.lineDash),e.stroke()),e.closePath()},em.nb=function(){var e=null===this.a?"-":this.a.nb(),o=null===this.d?"-":this.d.nb();return null!==this.e&&e==this.e[1]&&o==this.e[2]&&this.c==this.e[3]||(this.e=["c"+e+o+(t(this.c)?this.c.toString():"-"),e,o,this.c]),this.e[0]},em=ip.prototype,em.Q=function(){return this.g},em.Zi=function(){return this.d},em.Mm=function(){return this.e},em.Nm=function(){return this.f},em.Om=function(){return this.c},em.Pm=function(){return this.a},em.Dj=function(){return this.b},em.Vg=function(e){h(e)?this.d=e:p(e)?this.d=function(t){return t.get(e)}:null===e?this.d=ap:t(e)&&(this.d=function(){return e}),this.g=e},em.mo=function(t){this.b=t},v(pp,Ka),pp.prototype.g=function(){var t=this.l,e=t.R(),o=this.Q().G(),i=_e(o),n=t.xa(),o=Ro(o,n),n=this.n,o=e.constrainResolution(o,0,void 0);Ns(t,e,o,i,n)},v(lp,As),v(up,As),v(fp,As),fp.prototype.i=function(t){var e=lt(this.a,-1,1),o=t.R();t.render(),Ls(t,o,-e,this.f,this.o),this.a=0,this.f=null,this.g=this.e=void 0},v(dp,qs),dp.prototype.nc=pb,v(bp,qs),bp.prototype.nc=pb,v(Mp,Kr),em=Mp.prototype,em.Qd=function(){this.eb()&&this.k()},em.Vj=function(){E(this.c,zt),this.c.length=0;var t=this.Bc();this.c.push(Ht(t,"add",this.Uj,!1,this),Ht(t,"remove",this.Wj,!1,this)),W(this.a,function(t){E(t,zt)}),tt(this.a);var e,o,i,t=t.a;for(e=0,o=t.length;e<o;e++)i=t[e],this.a[c(i).toString()]=[Ht(i,"propertychange",this.Qd,!1,this),Ht(i,"change",this.Qd,!1,this)];this.k()},em.Uj=function(t){t=t.element;var e=c(t).toString();this.a[e]=[Ht(t,"propertychange",this.Qd,!1,this),Ht(t,"change",this.Qd,!1,this)],this.k()},em.Wj=function(t){t=c(t.element).toString(),E(this.a[t],zt),delete this.a[t],this.k()},em.Bc=function(){return this.get("layers")},em.Ah=function(t){this.set("layers",t)},em.Ue=function(e){var o=t(e)?e:[],i=o.length;this.Bc().forEach(function(t){t.Ue(o)}),e=Vr(this);var n,r;for(n=o.length;i<n;i++)r=o[i],r.brightness=lt(r.brightness+e.brightness,-1,1),r.contrast*=e.contrast,r.hue+=e.hue,r.opacity*=e.opacity,r.saturation*=e.saturation,r.visible=r.visible&&e.visible,r.maxResolution=Math.min(r.maxResolution,e.maxResolution),r.minResolution=Math.max(r.minResolution,e.minResolution),t(e.extent)&&(r.extent=t(r.extent)?eo(r.extent,e.extent):e.extent);return o},em.We=function(){return"ready"},v(Cp,ho),Cp.prototype.getPointResolution=function(t,e){var o=e[1]/6378137;return t/((Math.exp(o)+Math.exp(-o))/2)};var rw=6378137*Math.PI,sw=[-rw,-rw,rw,rw],aw=[-180,-85,180,85],pw=k("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(" "),function(t){return new Cp(t)});v(kp,ho),kp.prototype.getPointResolution=function(t){return t};var lw=[-180,-90,180,90],hw=[new kp("CRS:84"),new kp("EPSG:4326","neu"),new kp("urn:ogc:def:crs:EPSG::4326","neu"),new kp("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new kp("urn:ogc:def:crs:OGC:1.3:CRS84"),new kp("urn:ogc:def:crs:OGC:2:84"),new kp("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new kp("urn:x-ogc:def:crs:EPSG:4326","neu")];v(Rp,Yr),v(Lp,Yr),Lp.prototype.a=function(){return this.get("preload")},Lp.prototype.d=function(t){this.set("preload",t)},Lp.prototype.c=function(){return this.get("useInterimTilesOnError")},Lp.prototype.e=function(t){this.set("useInterimTilesOnError",t)},v(Np,Yr),Np.prototype.H=function(){return this.g},Np.prototype.J=function(){return this.a},Np.prototype.e=function(e){this.g=t(e)?e:rp,this.a=null===e?void 0:np(this.g),this.k()},em=jp.prototype,em.tc=function(e,o){var i=e.toString(),n=this.U[i];t(n)?n.push(o):this.U[i]=[o]},em.uc=function(t){if(ro(this.e,t.G())){if(null!==this.a||null!==this.b){null===this.a||Up(this,this.a),null===this.b||Gp(this,this.b);var e;e=t.j,e=null===e?null:ta(e,0,e.length,t.s,this.H,this.V);var o=e[2]-e[0],i=e[3]-e[1],o=Math.sqrt(o*o+i*i),i=this.c;i.beginPath(),i.arc(e[0],e[1],o,0,2*Math.PI),null===this.a||i.fill(),null===this.b||i.stroke()}""!==this.d&&Dp(this,t.dd(),2,2)}},em.Le=function(e,o){var i=(0,o.d)(e);if(null!=i&&ro(this.e,i.G())){var n=o.b;t(n)||(n=0),this.tc(n,function(t){t.Aa(o.e,o.c),t.Za(o.f),t.Ba(o.a),uw[i.M()].call(t,i,null)})}},em.zd=function(t,e){var o,i,n=t.d;for(o=0,i=n.length;o<i;++o){var r=n[o];uw[r.M()].call(this,r,e)}},em.kb=function(t){var e=t.j;t=t.s,null===this.f||Ip(this,e,e.length),""!==this.d&&Dp(this,e,e.length,t)},em.jb=function(t){var e=t.j;t=t.s,null===this.f||Ip(this,e,e.length),""!==this.d&&Dp(this,e,e.length,t)},em.zb=function(t){if(ro(this.e,t.G())){if(null!==this.b){Gp(this,this.b);var e=this.c,o=t.j;e.beginPath(),Fp(this,o,0,o.length,t.s,!1),e.stroke()}""!==this.d&&(t=bl(t),Dp(this,t,2,2))}},em.vc=function(t){var e=t.G();if(ro(this.e,e)){if(null!==this.b){Gp(this,this.b);var e=this.c,o=t.j,i=0,n=t.c,r=t.s;e.beginPath();var s,a;for(s=0,a=n.length;s<a;++s)i=Fp(this,o,i,n[s],r,!1);e.stroke()}""!==this.d&&(t=Sl(t),Dp(this,t,t.length,2))}},em.Rb=function(t){if(ro(this.e,t.G())){if(null!==this.b||null!==this.a){null===this.a||Up(this,this.a),null===this.b||Gp(this,this.b);var e=this.c;e.beginPath(),Op(this,Ba(t),0,t.c,t.s),null===this.a||e.fill(),null===this.b||e.stroke()}""!==this.d&&(t=Oa(t),Dp(this,t,2,2))}},em.wc=function(t){if(ro(this.e,t.G())){if(null!==this.b||null!==this.a){null===this.a||Up(this,this.a),null===this.b||Gp(this,this.b);var e,o,i=this.c,n=kl(t),r=0,s=t.c,a=t.s;for(e=0,o=s.length;e<o;++e){var p=s[e];i.beginPath(),r=Op(this,n,r,p,a),null===this.a||i.fill(),null===this.b||i.stroke()}}""!==this.d&&(t=Pl(t),Dp(this,t,t.length,2))}},em.Aa=function(e,o){if(null===e)this.a=null;else{var i=e.b;this.a={fillStyle:ni(null===i?ow:i)}}if(null===o)this.b=null;else{var i=o.b,n=o.d,r=o.c,s=o.e,a=o.a,p=o.f;this.b={lineCap:t(n)?n:"round",lineDash:null!=r?r:iw,lineJoin:t(s)?s:"round",lineWidth:this.n*(t(a)?a:1),miterLimit:t(p)?p:10,strokeStyle:ni(null===i?nw:i)}}},em.Za=function(t){if(null===t)this.f=null;else{var e=t.mb(),o=t.Lb(1),i=t.rb(),n=t.Xa();this.J=e[0],this.L=e[1],this.N=n[1],this.f=o,this.o=t.U,this.Fa=i[0],this.Ga=i[1],this.Ra=t.V,this.rc=t.q,this.g=t.l,this.vb=t.n,this.T=n[0]}},em.Ba=function(e){if(null===e)this.d="";else{var o=e.b;null===o?this.i=null:(o=o.b,this.i={fillStyle:ni(null===o?ow:o)});var i=e.f;if(null===i)this.l=null;else{var o=i.b,n=i.d,r=i.c,s=i.e,a=i.a,i=i.f;this.l={lineCap:t(n)?n:"round",lineDash:null!=r?r:iw,lineJoin:t(s)?s:"round",lineWidth:t(a)?a:1,miterLimit:t(i)?i:10,strokeStyle:ni(null===o?nw:o)}}var o=e.d,n=e.q,r=e.l,s=e.e,a=e.a,i=e.c,p=e.g;e=e.i,this.sa={font:t(o)?o:"10px sans-serif",textAlign:t(p)?p:"center",textBaseline:t(e)?e:"middle"},this.d=t(i)?i:"",this.wb=t(n)?this.n*n:0,this.xb=t(r)?this.n*r:0,this.p=t(s)?s:0,this.q=this.n*(t(a)?a:1)}};var uw={Point:jp.prototype.kb,LineString:jp.prototype.zb,Polygon:jp.prototype.Rb,MultiPoint:jp.prototype.jb,MultiLineString:jp.prototype.vc,MultiPolygon:jp.prototype.wc,GeometryCollection:jp.prototype.zd,Circle:jp.prototype.uc},cw=["Polygon","LineString","Image","Text"];v(Hp,Ha),Hp.prototype.de=o,Hp.prototype.Pe=function(){return this.T},v(Kp,Hp),Kp.prototype.kb=function(t,e){if(null!==this.i){$p(this,e);var o=t.j,i=this.coordinates.length,o=qp(this,o,0,o.length,t.s,!1);this.a.push([4,i,o,this.i,this.c,this.f,this.g,this.q,this.l,this.o,this.U,this.V,this.n,this.p,this.H]),this.b.push([4,i,o,this.N,this.c,this.f,this.g,this.q,this.l,this.o,this.U,this.V,this.n,this.p,this.H]),zp(this,e)}},Kp.prototype.jb=function(t,e){if(null!==this.i){$p(this,e);var o=t.j,i=this.coordinates.length,o=qp(this,o,0,o.length,t.s,!1);this.a.push([4,i,o,this.i,this.c,this.f,this.g,this.q,this.l,this.o,this.U,this.V,this.n,this.p,this.H]),this.b.push([4,i,o,this.N,this.c,this.f,this.g,this.q,this.l,this.o,this.U,this.V,this.n,this.p,this.H]),zp(this,e)}},Kp.prototype.de=function(){Wp(this),this.f=this.c=void 0,this.i=this.N=null,this.H=this.p=this.V=this.U=this.o=this.l=this.q=this.n=this.g=void 0},Kp.prototype.Za=function(t){var e=t.mb(),o=t.Xa(),i=t.he(1),n=t.Lb(1),r=t.rb();this.c=e[0],this.f=e[1],this.N=i,this.i=n,this.g=o[1],this.q=t.U,this.l=r[0],this.o=r[1],this.U=t.V,this.V=t.q,this.n=t.l,this.p=t.n,this.H=o[0]},v(Vp,Hp),em=Vp.prototype,em.Pe=function(){return null===this.d&&(this.d=Fe(this.T),0<this.e&&De(this.d,this.resolution*(this.e+1)/2,this.d)),this.d},em.zb=function(e,o){var i=this.c,n=i.lineWidth;t(i.strokeStyle)&&t(n)&&(Zp(this),$p(this,o),this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash],[1]),i=e.j,Yp(this,i,0,i.length,e.s),this.b.push([12]),zp(this,o))},em.vc=function(e,o){var i=this.c,n=i.lineWidth;if(t(i.strokeStyle)&&t(n)){Zp(this),$p(this,o),this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash],[1]);var r,s,i=e.c,n=e.j,a=e.s,p=0;for(r=0,s=i.length;r<s;++r)p=Yp(this,n,p,i[r],a);this.b.push([12]),zp(this,o)}},em.de=function(){this.c.Ze!=this.coordinates.length&&this.a.push([12]),Wp(this),this.c=null},em.Aa=function(e,o){var i=o.b;this.c.strokeStyle=ni(null===i?nw:i),i=o.d,this.c.lineCap=t(i)?i:"round",i=o.c,this.c.lineDash=null===i?iw:i,i=o.e,this.c.lineJoin=t(i)?i:"round",i=o.a,this.c.lineWidth=t(i)?i:1,i=o.f,this.c.miterLimit=t(i)?i:10,this.c.lineWidth>this.e&&(this.e=this.c.lineWidth,this.d=null)},v(_p,Hp),em=_p.prototype,em.uc=function(e,o){var i=this.c,n=i.strokeStyle;if(t(i.fillStyle)||t(n)){Qp(this),$p(this,o),this.b.push([9,ni(ow)]),t(i.strokeStyle)&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash]);var r=e.j,n=this.coordinates.length;qp(this,r,0,r.length,e.s,!1),r=[1],n=[2,n],this.a.push(r,n),this.b.push(r,n),n=[7],this.b.push(n),t(i.fillStyle)&&this.a.push(n),t(i.strokeStyle)&&(i=[12],this.a.push(i),this.b.push(i)),zp(this,o)}},em.Rb=function(e,o){var i=this.c,n=i.strokeStyle;(t(i.fillStyle)||t(n))&&(Qp(this),$p(this,o),this.b.push([9,ni(ow)]),t(i.strokeStyle)&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash]),i=e.c,n=Ba(e),Jp(this,n,0,i,e.s),zp(this,o))},em.wc=function(e,o){var i=this.c,n=i.strokeStyle;if(t(i.fillStyle)||t(n)){Qp(this),$p(this,o),this.b.push([9,ni(ow)]),t(i.strokeStyle)&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash]);var r,s,i=e.c,n=kl(e),a=e.s,p=0;for(r=0,s=i.length;r<s;++r)p=Jp(this,n,p,i[r],a);zp(this,o)}},em.de=function(){Wp(this),this.c=null;var t=this.oa;if(0!==t){var e,o,i=this.coordinates;for(e=0,o=i.length;e<o;++e)i[e]=t*Math.round(i[e]/t)}},em.Pe=function(){return null===this.d&&(this.d=Fe(this.T),0<this.e&&De(this.d,this.resolution*(this.e+1)/2,this.d)),this.d},em.Aa=function(e,o){var i=this.c;if(null===e)i.fillStyle=void 0;else{var n=e.b;i.fillStyle=ni(null===n?ow:n)}null===o?(i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0):(n=o.b,i.strokeStyle=ni(null===n?nw:n),n=o.d,i.lineCap=t(n)?n:"round",n=o.c,i.lineDash=null===n?iw:n.slice(),n=o.e,i.lineJoin=t(n)?n:"round",n=o.a,i.lineWidth=t(n)?n:1,n=o.f,i.miterLimit=t(n)?n:10,i.lineWidth>this.e&&(this.e=i.lineWidth,this.d=null))},v(tl,Hp),tl.prototype.lb=function(t,e,o,i,n,r){if(""!==this.i&&null!==this.g&&(null!==this.c||null!==this.f)){if(null!==this.c){n=this.c;var s=this.V;if(null===s||s.fillStyle!=n.fillStyle){var a=[9,n.fillStyle];this.a.push(a),this.b.push(a),null===s?this.V={fillStyle:n.fillStyle}:s.fillStyle=n.fillStyle}}null!==this.f&&(n=this.f,s=this.n,null===s||s.lineCap!=n.lineCap||s.lineDash!=n.lineDash||s.lineJoin!=n.lineJoin||s.lineWidth!=n.lineWidth||s.miterLimit!=n.miterLimit||s.strokeStyle!=n.strokeStyle)&&(a=[10,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,!1],this.a.push(a),this.b.push(a),null===s?this.n={lineCap:n.lineCap,lineDash:n.lineDash,lineJoin:n.lineJoin,lineWidth:n.lineWidth,miterLimit:n.miterLimit,strokeStyle:n.strokeStyle}:(s.lineCap=n.lineCap,s.lineDash=n.lineDash,s.lineJoin=n.lineJoin,s.lineWidth=n.lineWidth,s.miterLimit=n.miterLimit,s.strokeStyle=n.strokeStyle)),n=this.g,s=this.p,null!==s&&s.font==n.font&&s.textAlign==n.textAlign&&s.textBaseline==n.textBaseline||(a=[11,n.font,n.textAlign,n.textBaseline],this.a.push(a),this.b.push(a),null===s?this.p={font:n.font,textAlign:n.textAlign,textBaseline:n.textBaseline}:(s.font=n.font,s.textAlign=n.textAlign,s.textBaseline=n.textBaseline)),$p(this,r),n=this.coordinates.length,t=qp(this,t,e,o,i,!1),t=[5,n,t,this.i,this.q,this.l,this.o,this.U,null!==this.c,null!==this.f],this.a.push(t),this.b.push(t),zp(this,r)}},tl.prototype.Ba=function(e){if(null===e)this.i="";else{var o=e.b;null===o?this.c=null:(o=o.b,o=ni(null===o?ow:o),null===this.c?this.c={fillStyle:o}:this.c.fillStyle=o);var i=e.f;if(null===i)this.f=null;else{var o=i.b,n=i.d,r=i.c,s=i.e,a=i.a,i=i.f,n=t(n)?n:"round",r=null!=r?r.slice():iw,s=t(s)?s:"round",a=t(a)?a:1,i=t(i)?i:10,o=ni(null===o?nw:o);if(null===this.f)this.f={lineCap:n,lineDash:r,lineJoin:s,lineWidth:a,miterLimit:i,strokeStyle:o};else{var p=this.f;p.lineCap=n,p.lineDash=r,p.lineJoin=s,p.lineWidth=a,p.miterLimit=i,p.strokeStyle=o}}var l=e.d,o=e.q,n=e.l,r=e.e,a=e.a,i=e.c,s=e.g,p=e.i;e=t(l)?l:"10px sans-serif",s=t(s)?s:"center",p=t(p)?p:"middle",null===this.g?this.g={font:e,textAlign:s,textBaseline:p}:(l=this.g,l.font=e,l.textAlign=s,l.textBaseline=p),this.i=t(i)?i:"",this.q=t(o)?o:0,this.l=t(n)?n:0,this.o=t(r)?r:0,this.U=t(a)?a:1}},el.prototype.c=function(e,o,i,n,r){var s=this.g;Jr(s,.5,.5,1/o,-1/o,-i,-e[0],-e[1]);var a=this.f;a.clearRect(0,0,1,1);var p;return t(this.e)&&(p=He(),ze(p,e),De(p,o*this.e,p)),nl(this,a,s,i,n,function(t){if(0<a.getImageData(0,0,1,1).data[3]){if(t=r(t))return t;a.clearRect(0,0,1,1)}},p)},el.prototype.b=function(e,o){var i=t(e)?e.toString():"0",n=this.a[i];return t(n)||(n={},this.a[i]=n),i=n[o],t(i)||(i=new fw[o](this.q,this.d,this.i),n[o]=i),i},el.prototype.la=function(){return Q(this.a)};var fw={Image:Kp,LineString:Vp,Polygon:_p,Text:tl};v(rl,es),rl.prototype.o=function(e,o,i){sl(this,"precompose",i,e,void 0);var n=this.fe();if(null!==n){var r=o.extent,s=t(r);if(s){var a=e.pixelRatio,p=oo(r),l=io(r),h=Ze(r),r=Ye(r);ts(e.coordinateToPixelMatrix,p,p),ts(e.coordinateToPixelMatrix,l,l),ts(e.coordinateToPixelMatrix,h,h),ts(e.coordinateToPixelMatrix,r,r),i.save(),i.beginPath(),i.moveTo(p[0]*a,p[1]*a),i.lineTo(l[0]*a,l[1]*a),i.lineTo(h[0]*a,h[1]*a),i.lineTo(r[0]*a,r[1]*a),i.clip()}a=this.Xf(),p=i.globalAlpha,i.globalAlpha=o.opacity,0===e.viewState.rotation?(o=a[13],l=n.width*a[0],h=n.height*a[5],i.drawImage(n,0,0,+n.width,+n.height,Math.round(a[12]),Math.round(o),Math.round(l),Math.round(h))):(i.setTransform(a[0],a[1],a[4],a[5],a[12],a[13]),i.drawImage(n,0,0),i.setTransform(1,0,0,1,0,0)),i.globalAlpha=p,s&&i.restore()}sl(this,"postcompose",i,e,void 0)};var yw=function(){var t=null,e=null;return function(o){if(null===t){t=mr(1,1),e=t.createImageData(1,1);var i=e.data;i[0]=42,i[1]=84,i[2]=126,i[3]=255}var i=t.canvas,n=o[0]<=i.width&&o[1]<=i.height;return n||(i.width=o[0],i.height=o[1],i=o[0]-1,o=o[1]-1,t.putImageData(e,i,o),o=t.getImageData(i,o,1,1),n=G(e.data,o.data)),n}}();v(ll,ea),em=ll.prototype,em.clone=function(){var t=new ll(null);return ia(t,this.a,this.j.slice()),t.k(),t},em.Sa=function(t,e,o,i){var n=this.j;t-=n[0];var r=e-n[1];if(e=t*t+r*r,e<i){if(0===e)for(i=0;i<this.s;++i)o[i]=n[i];else for(i=this.zg()/Math.sqrt(e),o[0]=n[0]+i*t,o[1]=n[1]+i*r,i=2;i<this.s;++i)o[i]=n[i];return o.length=this.s,e}return i},em.Jb=function(t,e){var o=this.j,i=t-o[0],o=e-o[1];return i*i+o*o<=hl(this)},em.dd=function(){return this.j.slice(0,this.s)},em.wd=function(t){var e=this.j,o=e[this.s]-e[0];return qe(e[0]-o,e[1]-o,e[0]+o,e[1]+o,t)},em.zg=function(){return Math.sqrt(hl(this))},em.M=function(){return"Circle"},em.pl=function(t){var e=this.s,o=t.slice();o[e]=o[0]+(this.j[e]-this.j[0]);var i;for(i=1;i<e;++i)o[e+i]=t[i];ia(this,this.a,o),this.k()},em.uh=function(t,e,o){if(null===t)ia(this,"XY",null);else{na(this,o,t,0),null===this.j&&(this.j=[]),o=this.j,t=ya(o,t),o[t++]=o[0]+e;var i;for(e=1,i=this.s;e<i;++e)o[t++]=o[e];o.length=t}this.k()},em.Ag=function(t){this.j[this.s]=this.j[0]+t,this.k()},v(ul,Qs),em=ul.prototype,em.clone=function(){var t=new ul(null);return t.xh(this.d),t},em.Sa=function(t,e,o,i){if(i<Oe(this.G(),t,e))return i;var n,r,s=this.d;for(n=0,r=s.length;n<r;++n)i=s[n].Sa(t,e,o,i);return i},em.Jb=function(t,e){var o,i,n=this.d;for(o=0,i=n.length;o<i;++o)if(n[o].Jb(t,e))return!0;return!1},em.wd=function(t){qe(1/0,1/0,-(1/0),-(1/0),t);for(var e=this.d,o=0,i=e.length;o<i;++o)We(t,e[o].G());return t},em.Vf=function(){return cl(this.d)},em.Ve=function(t){if(this.l!=this.b&&(tt(this.f),this.g=0,this.l=this.b),0>t||0!==this.g&&t<this.g)return this;var e=t.toString();if(this.f.hasOwnProperty(e))return this.f[e];var o,i,n=[],r=this.d,s=!1;for(o=0,i=r.length;o<i;++o){var a=r[o],p=a.Ve(t);n.push(p),p!==a&&(s=!0)}return s?(t=new ul(null),fl(t),t.d=n,yl(t),t.k(),this.f[e]=t):(this.g=t,this)},em.M=function(){return"GeometryCollection"},em.ra=function(t){var e,o,i=this.d;for(e=0,o=i.length;e<o;++e)if(i[e].ra(t))return!0;return!1},em.la=function(){return 0==this.d.length},em.xh=function(t){t=cl(t),fl(this),this.d=t,yl(this),this.k()},em.qa=function(t){var e,o,i=this.d;for(e=0,o=i.length;e<o;++e)i[e].qa(t);this.k()},em.Oa=function(t,e){var o,i,n=this.d;for(o=0,i=n.length;o<i;++o)n[o].Oa(t,e);this.k()},em.O=function(){fl(this),ul.S.O.call(this)},v(ml,ea),em=ml.prototype,em.ui=function(t){null===this.j?this.j=t.slice():F(this.j,t),this.k()},em.clone=function(){var t=new ml(null);return wl(t,this.a,this.j.slice()),t},em.Sa=function(t,e,o,i){return i<Oe(this.G(),t,e)?i:(this.p!=this.b&&(this.H=Math.sqrt(ha(this.j,0,this.j.length,this.s,0)),this.p=this.b),ca(this.j,0,this.j.length,this.s,this.H,!1,t,e,o,i))},em.Ji=function(t,e){return Aa(this.j,0,this.j.length,this.s,t,e)},em.ql=function(e,o){return"XYM"!=this.a&&"XYZM"!=this.a?null:gl(this.j,0,this.j.length,this.s,e,!!t(o)&&o)},em.K=function(){return va(this.j,0,this.j.length,this.s)},em.Bg=function(){var t,e=this.j,o=this.s,i=e[0],n=e[1],r=0;for(t=0+o;t<this.j.length;t+=o)var s=e[t],a=e[t+1],r=r+Math.sqrt((s-i)*(s-i)+(a-n)*(a-n)),i=s,n=a;return r},em.xc=function(t){var e=[];return e.length=ba(this.j,0,this.j.length,this.s,t,e,0),t=new ml(null),wl(t,"XY",e),t},em.M=function(){return"LineString"},em.ra=function(t){return Ra(this.j,0,this.j.length,this.s,t)},em.W=function(t,e){null===t?wl(this,"XY",null):(na(this,e,t,1),null===this.j&&(this.j=[]),this.j.length=da(this.j,0,t,this.s),this.k())},v(xl,ea),em=xl.prototype,em.vi=function(t){null===this.j?this.j=t.j.slice():F(this.j,t.j.slice()),this.c.push(this.j.length),this.k()},em.clone=function(){var t=new xl(null);return Tl(t,this.a,this.j.slice(),this.c.slice()),t},em.Sa=function(t,e,o,i){return i<Oe(this.G(),t,e)?i:(this.i!=this.b&&(this.p=Math.sqrt(ua(this.j,0,this.c,this.s,0)),this.i=this.b),fa(this.j,0,this.c,this.s,this.p,!1,t,e,o,i))},em.sl=function(e,o,i){return"XYM"!=this.a&&"XYZM"!=this.a||0===this.j.length?null:vl(this.j,this.c,this.s,e,!!t(o)&&o,!!t(i)&&i)},em.K=function(){return ma(this.j,0,this.c,this.s)},em.gj=function(t){if(0>t||this.c.length<=t)return null;var e=new ml(null);return wl(e,this.a,this.j.slice(0===t?0:this.c[t-1],this.c[t])),e},em.ad=function(){var t,e,o=this.j,i=this.c,n=this.a,r=[],s=0;for(t=0,e=i.length;t<e;++t){var a=i[t],p=new ml(null);wl(p,n,o.slice(s,a)),r.push(p),s=a}return r},em.xc=function(t){var e,o,i=[],n=[],r=this.j,s=this.c,a=this.s,p=0,l=0;for(e=0,o=s.length;e<o;++e){var h=s[e],l=ba(r,p,h,a,t,i,l);n.push(l),p=h}return i.length=l,t=new xl(null),Tl(t,"XY",i,n),t},em.M=function(){return"MultiLineString"},em.ra=function(t){t:{var e,o,i=this.j,n=this.c,r=this.s,s=0;for(e=0,o=n.length;e<o;++e){if(Ra(i,s,n[e],r,t)){t=!0;break t}s=n[e]}t=!1}return t},em.W=function(t,e){if(null===t)Tl(this,"XY",null,this.c);else{na(this,e,t,2),null===this.j&&(this.j=[]);var o=ga(this.j,0,t,this.s,this.c);this.j.length=0===o.length?0:o[o.length-1],this.k()}},v(Cl,ea),em=Cl.prototype,em.xi=function(t){null===this.j?this.j=t.j.slice():F(this.j,t.j),this.k()},em.clone=function(){var t=new Cl(null);return ia(t,this.a,this.j.slice()),t.k(),t},em.Sa=function(t,e,o,i){if(i<Oe(this.G(),t,e))return i;var n,r,s,a=this.j,p=this.s;for(n=0,r=a.length;n<r;n+=p)if(s=pa(t,e,a[n],a[n+1]),s<i){for(i=s,s=0;s<p;++s)o[s]=a[n+s];o.length=p}return i},em.K=function(){return va(this.j,0,this.j.length,this.s)},em.qj=function(t){var e=null===this.j?0:this.j.length/this.s;return 0>t||e<=t?null:(e=new Ta(null),Ma(e,this.a,this.j.slice(t*this.s,(t+1)*this.s)),e)},em.ce=function(){var t,e,o=this.j,i=this.a,n=this.s,r=[];for(t=0,e=o.length;t<e;t+=n){var s=new Ta(null);Ma(s,i,o.slice(t,t+n)),r.push(s)}return r},em.M=function(){return"MultiPoint"},em.ra=function(t){var e,o,i,n,r=this.j,s=this.s;for(e=0,o=r.length;e<o;e+=s)if(i=r[e],n=r[e+1],Ue(t,i,n))return!0;return!1},em.W=function(t,e){null===t?ia(this,"XY",null):(na(this,e,t,1),null===this.j&&(this.j=[]),this.j.length=da(this.j,0,t,this.s)),this.k()},v(El,ea),em=El.prototype,em.yi=function(t){if(null===this.j)this.j=t.j.slice(),t=t.c.slice(),this.c.push();else{var e=this.j.length;F(this.j,t.j),t=t.c.slice();var o,i;for(o=0,i=t.length;o<i;++o)t[o]+=e}this.c.push(t),this.k()},em.clone=function(){var t=new El(null);return Al(t,this.a,this.j.slice(),this.c.slice()),t},em.Sa=function(e,o,i,n){if(n<Oe(this.G(),e,o))return n;if(this.J!=this.b){var r,s,a=this.c,p=0,l=0;for(r=0,s=a.length;r<s;++r)var h=a[r],l=ua(this.j,p,h,this.s,l),p=h[h.length-1];this.L=Math.sqrt(l),this.J=this.b}a=kl(this),p=this.c,l=this.s,r=this.L,s=0;var u,c,h=t(void 0)?void 0:[NaN,NaN];for(u=0,c=p.length;u<c;++u){var f=p[u];n=fa(a,s,f,l,r,!0,e,o,i,n,h),s=f[f.length-1]}return n},em.Jb=function(t,e){var o;t:{o=kl(this);var i=this.c,n=0;if(0!==i.length){var r,s;for(r=0,s=i.length;r<s;++r){var a=i[r];if(Pa(o,n,a,this.s,t,e)){o=!0;break t}n=a[a.length-1]}}o=!1}return o},em.tl=function(){var t,e,o=kl(this),i=this.c,n=0,r=0;for(t=0,e=i.length;t<e;++t)var s=i[t],r=r+sa(o,n,s,this.s),n=s[s.length-1];return r},em.K=function(e){var o;t(e)?(o=kl(this).slice(),Da(o,this.c,this.s,e)):o=this.j,e=o,o=this.c;var i,n,r=this.s,s=0,a=t(void 0)?void 0:[],p=0;for(i=0,n=o.length;i<n;++i){var l=o[i];a[p++]=ma(e,s,l,r,a[p]),s=l[l.length-1]}return a.length=p,a},em.dj=function(){var t=new Cl(null),e=Pl(this).slice();return ia(t,"XY",e),t.k(),t},em.xc=function(t){var e=[],o=[],i=this.j,n=this.c,r=this.s;t=Math.sqrt(t);var s,a,p=0,l=0;for(s=0,a=n.length;s<a;++s){var h=n[s],u=[],l=wa(i,p,h,r,t,e,l,u);o.push(u),p=h[h.length-1]}return e.length=l,i=new El(null),Al(i,"XY",e,o),i},em.sj=function(t){if(0>t||this.c.length<=t)return null;var e;0===t?e=0:(e=this.c[t-1],e=e[e.length-1]),t=this.c[t].slice();var o=t[t.length-1];if(0!==e){var i,n;for(i=0,n=t.length;i<n;++i)t[i]-=e}return i=new Fa(null),Ua(i,this.a,this.j.slice(e,o),t),i},em.Id=function(){var t,e,o,i,n=this.a,r=this.j,s=this.c,a=[],p=0;for(t=0,e=s.length;t<e;++t){var l=s[t].slice(),h=l[l.length-1];if(0!==p)for(o=0,i=l.length;o<i;++o)l[o]-=p;o=new Fa(null),Ua(o,n,r.slice(p,h),l),a.push(o),p=h}return a},em.M=function(){return"MultiPolygon"},em.ra=function(t){t:{var e,o,i=kl(this),n=this.c,r=this.s,s=0;for(e=0,o=n.length;e<o;++e){var a=n[e];if(La(i,s,a,r,t)){t=!0;break t}s=a[a.length-1]}t=!1}return t},em.W=function(e,o){if(null===e)Al(this,"XY",null,this.c);else{na(this,o,e,3),null===this.j&&(this.j=[]);var i,n,r=this.j,s=this.s,a=this.c,p=0,a=t(a)?a:[],l=0;for(i=0,n=e.length;i<n;++i)p=ga(r,p,e[i],s,a[l]),a[l++]=p,p=p[p.length-1];a.length=l,0===a.length?this.j.length=0:(r=a[a.length-1],this.j.length=0===r.length?0:r[r.length-1]),this.k()}};var dw={Point:function(t,e,o,i){var n=o.f;if(null!==n){if(2!=n.gd())return;var r=t.b(o.b,"Image");r.Za(n),r.kb(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),t.lb(e.K(),0,2,2,e,i))},LineString:function(t,e,o,i){var n=o.c;if(null!==n){var r=t.b(o.b,"LineString");r.Aa(null,n),r.zb(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),t.lb(bl(e),0,2,2,e,i))},Polygon:function(t,e,o,i){var n=o.e,r=o.c;if(null!==n||null!==r){var s=t.b(o.b,"Polygon");s.Aa(n,r),s.Rb(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),t.lb(Oa(e),0,2,2,e,i))},MultiPoint:function(t,e,o,i){var n=o.f;if(null!==n){if(2!=n.gd())return;var r=t.b(o.b,"Image");r.Za(n),r.jb(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),o=e.j,t.lb(o,0,o.length,e.s,e,i))},MultiLineString:function(t,e,o,i){var n=o.c;if(null!==n){var r=t.b(o.b,"LineString");r.Aa(null,n),r.vc(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),o=Sl(e),t.lb(o,0,o.length,2,e,i))},MultiPolygon:function(t,e,o,i){var n=o.e,r=o.c;if(null!==r||null!==n){var s=t.b(o.b,"Polygon");s.Aa(n,r),s.wc(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),o=Pl(e),t.lb(o,0,o.length,2,e,i))},GeometryCollection:function(t,e,o,i){e=e.d;var n,r;for(n=0,r=e.length;n<r;++n)(0,dw[e[n].M()])(t,e[n],o,i)},Circle:function(t,e,o,i){var n=o.e,r=o.c;if(null!==n||null!==r){var s=t.b(o.b,"Polygon");s.Aa(n,r),s.uc(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),t.lb(e.dd(),0,2,2,e,i))}};v(Il,_r),Il.prototype.b=function(){return this.a},v(Dl,sn),Dl.prototype.i=function(t){switch(t=t.target,t.state){case 1:this.dispatchEvent(new Bl(gw,t));break;case 2:this.dispatchEvent(new Bl(vw,t));break;case 3:this.dispatchEvent(new Bl(mw,t))}},v(Bl,Et);var gw="imageloadstart",vw="imageloadend",mw="imageloaderror";v(Ul,Dl),Ul.prototype.Cc=function(t,e,o,i){e=Fl(this,e);var n=this.J;return null!==n&&this.N==this.b&&n.resolution==e&&n.e==o&&Be(n.G(),t)?n:(t=t.slice(),ao(t,this.X),i=this.T(t,e,o,[no(t)/e*o,to(t)/e*o],i),null===i||(n=new Il(t,e,o,this.d,i)),this.J=n,this.N=this.b,n)};var bw,ww=!1,xw=[],Sw=0,Tw=2,Mw=3;zl.prototype.then=function(t,e,o){return Yl(this,h(t)?t:null,h(e)?e:null,o)},Gl(zl),zl.prototype.cancel=function(t){this.a==Sw&&ql(function(){var e=new eh(t);Kl(this,e)},this)},zl.prototype.g=function(t){this.a=Sw,Zl(this,Tw,t)},zl.prototype.i=function(t){ -this.a=Sw,Zl(this,Mw,t)},zl.prototype.q=function(){for(;this.b&&this.b.length;){var t=this.b;this.b=[];for(var e=0;e<t.length;e++)Ql(this,t[e],this.a,this.f)}this.e=!1};var Cw=Vn;v(eh,m),eh.prototype.name="cancel";var Ew=sm.JSON.parse,Pw=sm.JSON.stringify;ih.prototype.b=null;var kw;v(rh,ih),kw=new rh;var Aw=/^(?:([^:\/?#.]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/#?]*?)(?::([0-9]+))?(?=[\/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,Rw=Pm;v(fh,Qt);var Lw="",Nw=/^https?$/i,jw=["POST","PUT"];em=fh.prototype,em.send=function(t,e,o,i){if(this.Y)throw Error("[goog.net.XhrIo] Object is active with another request="+this.o+"; newUri="+t);e=e?e.toUpperCase():"GET",this.o=t,this.e="",this.q=!1,this.b=!0,this.Y=sh(this.i?this.i:kw),this.g=nh(this.i?this.i:kw),this.Y.onreadystatechange=d(this.Xg,this);try{this.l=!0,this.Y.open(e,String(t),!0),this.l=!1}catch(n){return void gh(this,n)}t=o||"";var r=this.H.clone();i&&Jn(i,function(t,e){r.set(e,t)}),i=R(r.C(),dh),o=sm.FormData&&t instanceof sm.FormData,!N(jw,e)||i||o||r.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),r.forEach(function(t,e){this.Y.setRequestHeader(e,t)},this),this.n&&(this.Y.responseType=this.n),"withCredentials"in this.Y&&(this.Y.withCredentials=this.J);try{wh(this),0<this.f&&((this.p=yh(this.Y))?(this.Y.timeout=this.f,this.Y.ontimeout=d(this.oc,this)):this.c=oh(this.oc,this.f,this)),this.d=!0,this.Y.send(t),this.d=!1}catch(s){gh(this,s)}},em.oc=function(){"undefined"!=typeof rm&&this.Y&&(this.e="Timed out after "+this.f+"ms, aborting",this.dispatchEvent("timeout"),this.Y&&this.b&&(this.b=!1,this.a=!0,this.Y.abort(),this.a=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),bh(this)))},em.O=function(){this.Y&&(this.b&&(this.b=!1,this.a=!0,this.Y.abort(),this.a=!1),bh(this,!0)),fh.S.O.call(this)},em.Xg=function(){this.U||(this.l||this.d||this.a?mh(this):this.dn())},em.dn=function(){mh(this)};var Iw;t:{if(!document.implementation||!document.implementation.createDocument){if("undefined"!=typeof ActiveXObject){var Dw=new ActiveXObject("MSXML2.DOMDocument");if(Dw){Dw.resolveExternals=!1,Dw.validateOnParse=!1;try{Dw.setProperty("ProhibitDTD",!0),Dw.setProperty("MaxXMLSize",2048),Dw.setProperty("MaxElementDepth",256)}catch(Fw){}}if(Dw){Iw=Dw;break t}}throw Error("Your browser does not support creating new documents")}Iw=document.implementation.createDocument("","",null)}var Ow,Bw=Iw,Uw=document.implementation&&document.implementation.createDocument?Eh:Ph,Gw=Cm?Lh:Rh,Hw=Cm?jh:Nh,qw=Cm?Dh:Ih,$w=document.implementation&&document.implementation.createDocument?Fh:Oh,Xw=document.implementation&&document.implementation.createDocument?Bh:Uh,Ww=document.implementation&&document.implementation.createDocument?Gh:Hh,zw=_h();!function(){var t={Qf:{}};!function(){function e(t,o){return this instanceof e?(this.Fe=Math.max(4,t||9),this.Hf=Math.max(2,Math.ceil(.4*this.Fe)),o&&this.qi(o),void this.clear()):new e(t,o)}function o(t,e){t.bbox=i(t,0,t.children.length,e)}function i(t,e,o,i){for(var r,s=[1/0,1/0,-(1/0),-(1/0)];e<o;e++)r=t.children[e],n(s,t.wa?i(r):r.bbox);return s}function n(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[2]),t[3]=Math.max(t[3],e[3])}function r(t,e){return t.bbox[0]-e.bbox[0]}function s(t,e){return t.bbox[1]-e.bbox[1]}function a(t){return(t[2]-t[0])*(t[3]-t[1])}function p(t){return t[2]-t[0]+(t[3]-t[1])}function l(t,e){return t[0]<=e[0]&&t[1]<=e[1]&&e[2]<=t[2]&&e[3]<=t[3]}function h(t,e){return e[0]<=t[2]&&e[1]<=t[3]&&e[2]>=t[0]&&e[3]>=t[1]}function u(t,e,o,i,n){for(var r,s=[e,o];s.length;)o=s.pop(),e=s.pop(),o-e<=i||(r=e+Math.ceil((o-e)/i/2)*i,c(t,e,o,r,n),s.push(e,r,r,o))}function c(t,e,o,i,n){for(var r,s,a,p,l;o>e;){for(600<o-e&&(r=o-e+1,s=i-e+1,a=Math.log(r),p=.5*Math.exp(2*a/3),l=.5*Math.sqrt(a*p*(r-p)/r)*(0>s-r/2?-1:1),a=Math.max(e,Math.floor(i-s*p/r+l)),s=Math.min(o,Math.floor(i+(r-s)*p/r+l)),c(t,a,s,i,n)),r=t[i],s=e,p=o,f(t,e,i),0<n(t[o],r)&&f(t,e,o);s<p;){for(f(t,s,p),s++,p--;0>n(t[s],r);)s++;for(;0<n(t[p],r);)p--}0===n(t[e],r)?f(t,e,p):(p++,f(t,p,o)),p<=i&&(e=p+1),i<=p&&(o=p-1)}}function f(t,e,o){var i=t[e];t[e]=t[o],t[o]=i}e.prototype={all:function(){return this.Df(this.data,[])},search:function(t){var e=this.data,o=[],i=this.Ea;if(!h(t,e.bbox))return o;for(var n,r,s,a,p=[];e;){for(n=0,r=e.children.length;n<r;n++)s=e.children[n],a=e.wa?i(s):s.bbox,h(t,a)&&(e.wa?o.push(s):l(t,a)?this.Df(s,o):p.push(s));e=p.pop()}return o},load:function(t){if(!t||!t.length)return this;if(t.length<this.Hf){for(var e=0,o=t.length;e<o;e++)this.ha(t[e]);return this}return t=this.Ff(t.slice(),0,t.length-1,0),this.data.children.length?this.data.height===t.height?this.If(this.data,t):(this.data.height<t.height&&(e=this.data,this.data=t,t=e),this.Gf(t,this.data.height-t.height-1,!0)):this.data=t,this},ha:function(t){return t&&this.Gf(t,this.data.height-1),this},clear:function(){return this.data={children:[],height:1,bbox:[1/0,1/0,-(1/0),-(1/0)],wa:!0},this},remove:function(t){if(!t)return this;for(var e,o,i,n,r=this.data,s=this.Ea(t),a=[],p=[];r||a.length;){if(r||(r=a.pop(),o=a[a.length-1],e=p.pop(),n=!0),r.wa&&(i=r.children.indexOf(t),-1!==i)){r.children.splice(i,1),a.push(r),this.pi(a);break}n||r.wa||!l(r.bbox,s)?o?(e++,r=o.children[e],n=!1):r=null:(a.push(r),p.push(e),e=0,o=r,r=r.children[0])}return this},Ea:function(t){return t},Ie:function(t,e){return t[0]-e[0]},Je:function(t,e){return t[1]-e[1]},toJSON:function(){return this.data},Df:function(t,e){for(var o=[];t;)t.wa?e.push.apply(e,t.children):o.push.apply(o,t.children),t=o.pop();return e},Ff:function(t,e,i,n){var r,s=i-e+1,a=this.Fe;if(s<=a)return r={children:t.slice(e,i+1),height:1,bbox:null,wa:!0},o(r,this.Ea),r;n||(n=Math.ceil(Math.log(s)/Math.log(a)),a=Math.ceil(s/Math.pow(a,n-1))),r={children:[],height:n,bbox:null};var p,l,h,s=Math.ceil(s/a),a=s*Math.ceil(Math.sqrt(a));for(u(t,e,i,a,this.Ie);e<=i;e+=a)for(l=Math.min(e+a-1,i),u(t,e,l,s,this.Je),p=e;p<=l;p+=s)h=Math.min(p+s-1,l),r.children.push(this.Ff(t,p,h,n-1));return o(r,this.Ea),r},oi:function(t,e,o,i){for(var n,r,s,p,l,h,u,c;i.push(e),!e.wa&&i.length-1!==o;){for(u=c=1/0,n=0,r=e.children.length;n<r;n++){s=e.children[n],l=a(s.bbox),h=t;var f=s.bbox;h=(Math.max(f[2],h[2])-Math.min(f[0],h[0]))*(Math.max(f[3],h[3])-Math.min(f[1],h[1]))-l,h<c?(c=h,u=l<u?l:u,p=s):h===c&&l<u&&(u=l,p=s)}e=p}return e},Gf:function(t,e,o){var i=this.Ea;o=o?t.bbox:i(t);var i=[],r=this.oi(o,this.data,e,i);for(r.children.push(t),n(r.bbox,o);0<=e&&i[e].children.length>this.Fe;)this.ri(i,e),e--;this.li(o,i,e)},ri:function(t,e){var i=t[e],n=i.children.length,r=this.Hf;this.mi(i,r,n),n={children:i.children.splice(this.ni(i,r,n)),height:i.height},i.wa&&(n.wa=!0),o(i,this.Ea),o(n,this.Ea),e?t[e-1].children.push(n):this.If(i,n)},If:function(t,e){this.data={children:[t,e],height:t.height+1},o(this.data,this.Ea)},ni:function(t,e,o){var n,r,s,p,l,h,u;for(l=h=1/0,n=e;n<=o-e;n++){r=i(t,0,n,this.Ea),s=i(t,n,o,this.Ea);var c=r,f=s;p=Math.max(c[0],f[0]);var y=Math.max(c[1],f[1]),d=Math.min(c[2],f[2]),c=Math.min(c[3],f[3]);p=Math.max(0,d-p)*Math.max(0,c-y),r=a(r)+a(s),p<l?(l=p,u=n,h=r<h?r:h):p===l&&r<h&&(h=r,u=n)}return u},mi:function(t,e,o){var i=t.wa?this.Ie:r,n=t.wa?this.Je:s,a=this.Ef(t,e,o,i);e=this.Ef(t,e,o,n),a<e&&t.children.sort(i)},Ef:function(t,e,o,r){t.children.sort(r),r=this.Ea;var s,a,l=i(t,0,e,r),h=i(t,o-e,o,r),u=p(l)+p(h);for(s=e;s<o-e;s++)a=t.children[s],n(l,t.wa?r(a):a.bbox),u+=p(l);for(s=o-e-1;s>=e;s--)a=t.children[s],n(h,t.wa?r(a):a.bbox),u+=p(h);return u},li:function(t,e,o){for(;0<=o;o--)n(e[o].bbox,t)},pi:function(t){for(var e,i=t.length-1;0<=i;i--)0===t[i].children.length?0<i?(e=t[i-1].children,e.splice(e.indexOf(t[i]),1)):this.clear():o(t[i],this.Ea)},qi:function(t){var e=["return a"," - b",";"];this.Ie=new Function("a","b",e.join(t[0])),this.Je=new Function("a","b",e.join(t[1])),this.Ea=new Function("a","return [a"+t.join(", a")+"];")}},"function"==typeof define&&define.Lo?define("rbush",function(){return e}):"undefined"!=typeof t?t.Qf=e:"undefined"!=typeof self?self.b=e:window.b=e}(),Ow=t.Qf}(),em=au.prototype,em.ha=function(t,e){var o=[t[0],t[1],t[2],t[3],e];this.a.ha(o),this.b[c(e)]=o},em.load=function(t,e){for(var o=Array(e.length),i=0,n=e.length;i<n;i++){var r=t[i],s=e[i],r=[r[0],r[1],r[2],r[3],s];o[i]=r,this.b[c(s)]=r}this.a.load(o)},em.remove=function(t){t=c(t);var e=this.b[t];return et(this.b,t),null!==this.a.remove(e)},em.update=function(t,e){var o=c(e);Xe(this.b[o].slice(0,4),t)||(this.remove(e),this.ha(t,e))},em.forEach=function(t,e){return uu(pu(this),t,e)},em.la=function(){return Q(this.b)},em.clear=function(){this.a.clear(),this.b={}},em.G=function(){return this.a.data.bbox},v(cu,sn),em=cu.prototype,em.jf=function(t){var e=c(t).toString();if(yu(this,e,t)){fu(this,e,t);var o=t.Q();null!=o?(e=o.G(),this.a.ha(e,t)):this.c[e]=t,this.dispatchEvent(new mu("addfeature",t))}this.k()},em.Oc=function(t){du(this,t),this.k()},em.clear=function(t){if(t){for(var e in this.i)E(this.i[e],zt);this.i={},this.e={},this.g={}}else t=this.ph,this.a.forEach(t,this),W(this.c,t,this);this.a.clear(),this.N.clear(),this.c={},this.dispatchEvent(new mu("clear")),this.k()},em.Rf=function(t,e){return this.a.forEach(t,e)},em.$c=function(t,e,o){return hu(this.a,t,e,o)},em.Ab=function(t,e,o,i){return this.$c(t,o,i)},em.Oe=function(t,e,o){return this.$c(t,function(i){if(i.Q().ra(t)&&(i=e.call(o,i)))return i})},em.Dc=function(){var t=pu(this.a);return Q(this.c)||F(t,V(this.c)),t},em.Re=function(t){var e=[];return gu(this,t,function(t){e.push(t)}),e},em.Se=function(t){return lu(this.a,t)},em.Tf=function(t){var e=t[0],o=t[1],i=null,n=[NaN,NaN],r=1/0,s=[-(1/0),-(1/0),1/0,1/0];return hu(this.a,s,function(t){var a=t.Q(),p=r;r=a.Sa(e,o,n,r),r<p&&(i=t,t=Math.sqrt(r),s[0]=e-t,s[1]=o-t,s[2]=e+t,s[3]=o+t)}),i},em.G=function(){return this.a.G()},em.Qe=function(e){return e=this.e[e.toString()],t(e)?e:null},em.Pg=function(e){e=e.target;var o=c(e).toString(),i=e.Q();null!=i?(i=i.G(),o in this.c?(delete this.c[o],this.a.ha(i,e)):this.a.update(i,e)):o in this.c||(this.a.remove(e),this.c[o]=e),i=e.$,t(i)?(i=i.toString(),o in this.g?(delete this.g[o],this.e[i]=e):this.e[i]!==e&&(vu(this,e),this.e[i]=e)):o in this.g||(vu(this,e),this.g[o]=e),this.k(),this.dispatchEvent(new mu("changefeature",e))},em.la=function(){return this.a.la()&&Q(this.c)},em.ac=function(t,e,o){var i=this.N;t=this.oa(t,e);var n,r;for(n=0,r=t.length;n<r;++n){var s=t[n];hu(i,s,function(t){return Be(t.extent,s)})||(this.J.call(this,s,e,o),i.ha(s,{extent:s.slice()}))}},em.Qg=function(t){var e=c(t).toString();e in this.c?delete this.c[e]:this.a.remove(t),this.ph(t),this.k()},em.ph=function(e){var o=c(e).toString();E(this.i[o],zt),delete this.i[o];var i=e.$;t(i)?delete this.e[i.toString()]:delete this.g[o],this.dispatchEvent(new mu("removefeature",e))},v(mu,Et),v(bu,Ul),em=bu.prototype,em.zi=function(e,o,i,n,r){var s=new el(.5*o/i,e,o);this.a.ac(e,o,r);var a=!1;return this.a.Ab(e,o,function(e){var n;if(!(n=a)){var r;if(t(e.c)?r=e.c.call(e,o):t(this.g)&&(r=this.g(e,o)),null!=r){var p,l=!1;for(n=0,p=r.length;n<p;++n)l=jl(s,e,r[n],Nl(o,i),this.$l,this)||l;n=l}else n=!1}a=n},this),ol(s),a?null:(this.e[0]!=n[0]||this.e[1]!=n[1]?(this.c.canvas.width=n[0],this.c.canvas.height=n[1],this.e[0]=n[0],this.e[1]=n[1]):this.c.clearRect(0,0,n[0],n[1]),e=wu(this,_e(e),o,i,n),il(s,this.c,i,e,0,{}),this.n=s,this.c.canvas)},em.ge=function(t,e,o,i,n){if(null!==this.n){var r={};return this.n.c(t,e,0,i,function(t){var e=c(t).toString();if(!(e in r))return r[e]=!0,n(t)})}},em.Xl=function(){return this.a},em.Yl=function(){return this.p},em.Zl=function(){return this.g},em.$l=function(){this.k()},em.am=function(){pn(this,this.a.o)},em.Mg=function(e){this.p=t(e)?e:rp,this.g=null===e?void 0:np(this.p),this.k()},v(xu,rl),em=xu.prototype,em.Pa=function(t,e,o,i){var n=this.a;return n.da().ge(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){return o.call(i,t,n)})},em.dc=function(t,e,o,i){if(!r(this.fe()))if(this.a.da()instanceof bu){if(t=t.slice(),ts(e.pixelToCoordinateMatrix,t,t),this.Pa(t,e,lb,this))return o.call(i,this.a)}else if(null===this.d&&(this.d=Te(),Ae(this.f,this.d)),e=pl(t,this.d),null===this.c&&(this.c=mr(1,1)),this.c.clearRect(0,0,1,1),this.c.drawImage(this.fe(),e[0],e[1],1,1,0,0,1,1),0<this.c.getImageData(0,0,1,1).data[3])return o.call(i,this.a)},em.fe=function(){return null===this.e?null:this.e.b()},em.Xf=function(){return this.f},em.ff=function(e,o){var i,n=e.pixelRatio,r=e.viewState,s=r.center,a=r.resolution,p=r.rotation,l=this.a.da(),h=e.viewHints;if(i=e.extent,t(o.extent)&&(i=eo(i,o.extent)),h[0]||h[1]||so(i)||(r=r.projection,h=l.f,null===h||(r=h),i=l.Cc(i,a,n,r),null!==i&&os(this,i)&&(this.e=i)),null!==this.e){i=this.e;var r=i.G(),h=i.resolution,u=i.e,a=n*h/(a*u);Jr(this.f,n*e.size[0]/2,n*e.size[1]/2,a,a,p,u*(r[0]-s[0])/h,u*(s[1]-r[3])/h),this.d=null,rs(e.attributions,i.f),ss(e,l)}return!0},v(Su,rl),Su.prototype.fe=function(){return this.f},Su.prototype.Xf=function(){return this.l},Su.prototype.ff=function(e,o){var i,n=e.pixelRatio,r=e.viewState,s=r.projection,a=this.a,p=a.da(),l=kn(p,s),h=p.Cd(),u=Sn(l,r.resolution),c=p.Xb(u,e.pixelRatio,s),f=c[0]/he(l.na(u),this.L)[0],y=l.ma(u),f=y/f,d=r.center;if(y==r.resolution?(d=ps(d,y,e.size),i=Qe(d,y,r.rotation,e.size)):i=e.extent,t(o.extent)&&(i=eo(i,o.extent)),so(i))return!1;var g,v,m=dn(l,i,y),b=c[0]*_o(m),w=c[1]*(m.a-m.c+1);null===this.f?(v=mr(b,w),this.f=v.canvas,this.c=[b,w],this.g=v,this.q=!yw(this.c)):(g=this.f,v=this.g,this.c[0]<b||this.c[1]<w||this.H!==c[0]||this.p!==c[1]||this.q&&(this.c[0]>b||this.c[1]>w)?(g.width=b,g.height=w,this.c=[b,w],this.q=!yw(this.c),this.d=null):(b=this.c[0],w=this.c[1],(g=u!=this.n)||(g=this.d,g=!(g.b<=m.b&&m.d<=g.d&&g.c<=m.c&&m.a<=g.a)),g&&(this.d=null)));var x,S;null===this.d?(b/=c[0],w/=c[1],x=m.b-Math.floor((b-_o(m))/2),S=m.c-Math.floor((w-(m.a-m.c+1))/2),this.n=u,this.H=c[0],this.p=c[1],this.d=new Ko(x,x+b-1,S,S+w-1),this.i=Array(b*w),w=this.d):(w=this.d,b=_o(w)),g={},g[u]={};var T,M,C,E=[],P=this.yd(p,g),A=a.c(),R=He(),L=new Ko(0,0,0,0);for(S=m.b;S<=m.d;++S)for(C=m.c;C<=m.a;++C)M=p.Vb(u,S,C,n,s),x=M.state,2==x||4==x||3==x&&!A?g[u][zo(M.b)]=M:(T=l.Ad(M.b,P,null,L,R),T||(E.push(M),T=l.Ld(M.b,L,R),null===T||P(u+1,T)));for(P=0,T=E.length;P<T;++P)M=E[P],S=c[0]*(M.b[1]-w.b),C=c[1]*(w.a-M.b[2]),v.clearRect(S,C,c[0],c[1]);E=k(Y(g),Number),U(E);var N,j,I,D,F,O,B=p.X,G=oo(mn(l,[u,w.b,w.a],R)),P=0;for(T=E.length;P<T;++P)if(N=E[P],c=p.Xb(N,n,s),D=g[N],N==u)for(I in D)M=D[I],j=(M.b[2]-w.c)*b+(M.b[1]-w.b),this.i[j]!=M&&(S=c[0]*(M.b[1]-w.b),C=c[1]*(w.a-M.b[2]),x=M.state,4!=x&&(3!=x||A)&&B||v.clearRect(S,C,c[0],c[1]),2==x&&v.drawImage(M.Ma(),h,h,c[0],c[1],S,C,c[0],c[1]),this.i[j]=M);else for(I in N=l.ma(N)/y,D)for(M=D[I],j=mn(l,M.b,R),S=(j[0]-G[0])/f,C=(G[1]-j[3])/f,O=N*c[0],F=N*c[1],x=M.state,4!=x&&B||v.clearRect(S,C,O,F),2==x&&v.drawImage(M.Ma(),h,h,c[0],c[1],S,C,O,F),M=gn(l,j,u,L),x=Math.max(M.b,w.b),C=Math.min(M.d,w.d),S=Math.max(M.c,w.c),M=Math.min(M.a,w.a);x<=C;++x)for(F=S;F<=M;++F)j=(F-w.c)*b+(x-w.b),this.i[j]=void 0;return as(e.usedTiles,p,u,m),ls(e,p,l,n,s,i,u,a.a()),ns(e,p),ss(e,p),Jr(this.l,n*e.size[0]/2,n*e.size[1]/2,n*f/r.resolution,n*f/r.resolution,r.rotation,(G[0]-d[0])/f,(d[1]-G[1])/f),this.e=null,!0},Su.prototype.dc=function(t,e,o,i){if(null!==this.g&&(null===this.e&&(this.e=Te(),Ae(this.l,this.e)),t=pl(t,this.e),0<this.g.getImageData(t[0],t[1],1,1).data[3]))return o.call(i,this.a)},v(Tu,rl),Tu.prototype.o=function(t,e,o){var i=t.extent,n=t.focus,r=t.pixelRatio,s=t.skippedFeatureUids,a=t.viewState,p=a.projection,a=a.rotation,l=p.G(),h=this.a.da(),u=al(this,t,0);sl(this,"precompose",o,t,u);var c=this.c;if(null!==c&&!c.la()){var f;ee(this.a,"render")?(this.e.canvas.width=o.canvas.width,this.e.canvas.height=o.canvas.height,f=this.e):f=o;var y=f.globalAlpha;if(f.globalAlpha=e.opacity,e={},n=n[0],h.H&&p.c&&!Be(l,i)){p=l[0],h=l[2],il(c,f,r,u,a,p<=n&&n<=h?s:e);for(var d,g=i[0],v=no(l),m=0;g<l[0];)--m,d=v*m,u=al(this,t,d),il(c,f,r,u,a,p+d<=n&&n<=h+d?s:e),g+=v;for(m=0,g=i[2];g>l[2];)++m,d=v*m,u=al(this,t,d),il(c,f,r,u,a,p+d<=n&&n<=h+d?s:e),g-=v}else il(c,f,r,u,a,s);f!=o&&(sl(this,"render",f,t,u),o.drawImage(f.canvas,0,0)),f.globalAlpha=y}sl(this,"postcompose",o,t,u)},Tu.prototype.Pa=function(t,e,o,i){if(null!==this.c){var n=this.a,r={};return this.c.c(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){var e=c(t).toString();if(!(e in r))return r[e]=!0,o.call(i,t,n)})}},Tu.prototype.l=function(){is(this)},Tu.prototype.ff=function(e){function o(e){var o;if(t(e.c)?o=e.c.call(e,h):t(i.a)&&(o=(0,i.a)(e,h)),null!=o){if(null!=o){var n,r,s=!1;for(n=0,r=o.length;n<r;++n)s=jl(f,e,o[n],Nl(h,u),this.l,this)||s;e=s}else e=!1;this.d=this.d||e}}var i=this.a,n=i.da();rs(e.attributions,n.d),ss(e,n);var r=e.viewHints[0],s=e.viewHints[1],a=i.o,p=i.n;if(!this.d&&!a&&r||!p&&s)return!0;var l=e.extent,r=e.viewState,s=r.projection,h=r.resolution,u=e.pixelRatio,a=i.b,c=i.c,p=i.get("renderOrder");if(t(p)||(p=Ll),l=De(l,c*h),c=r.projection.G(),n.H&&r.projection.c&&!Be(c,e.extent)&&(l[0]=c[0],l[2]=c[2]),!this.d&&this.i==h&&this.q==a&&this.g==p&&Be(this.f,l))return!0;Ct(this.c),this.c=null,this.d=!1;var f=new el(.5*h/u,l,h,i.c);if(n.ac(l,h,s),null===p)n.Ab(l,h,o,this);else{var y=[];n.Ab(l,h,function(t){y.push(t)},this),U(y,p),E(y,o,this)}return ol(f),this.i=h,this.q=a,this.g=p,this.f=l,this.c=f,!0},v(Mu,ys),Mu.prototype.Ke=function(t){return t instanceof Rp?new xu(t):t instanceof Lp?new Su(t):t instanceof Np?new Tu(t):null},Mu.prototype.M=function(){return"canvas"},Mu.prototype.ue=function(t){if(null===t)this.a&&(Wi(this.b,!1),this.a=!1);else{var e=this.d,o=t.size[0]*t.pixelRatio,i=t.size[1]*t.pixelRatio;this.b.width!=o||this.b.height!=i?(this.b.width=o,this.b.height=i):e.clearRect(0,0,this.b.width,this.b.height),ds(t),Cu(this,"precompose",t);var n,r,s,a,o=t.layerStatesArray,i=t.viewState.resolution;for(n=0,r=o.length;n<r;++n)a=o[n],s=a.layer,s=vs(this,s),Zr(a,i)&&"ready"==a.i&&s.ff(t,a)&&s.o(t,a,e);Cu(this,"postcompose",t),this.a||(Wi(this.b,!0),this.a=!0),ms(this,t),t.postRenderFunctions.push(gs)}},v(Eu,es),Eu.prototype.e=o,Eu.prototype.i=o,v(Pu,Eu),Pu.prototype.Pa=function(t,e,o,i){var n=this.a;return n.da().ge(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){return o.call(i,t,n)})},Pu.prototype.e=function(){mi(this.target),this.c=null},Pu.prototype.f=function(e,o){var i=e.viewState,n=i.center,r=i.resolution,s=i.rotation,a=this.c,p=this.a.da(),l=e.viewHints,h=e.extent;return t(o.extent)&&(h=eo(h,o.extent)),l[0]||l[1]||so(h)||(i=i.projection,l=p.f,null===l||(i=l),h=p.Cc(h,r,e.pixelRatio,i),null===h||os(this,h)&&(a=h)),null!==a&&(i=a.G(),l=a.resolution,h=Te(),Jr(h,e.size[0]/2,e.size[1]/2,l/r,l/r,s,(i[0]-n[0])/l,(n[1]-i[3])/l),a!=this.c&&(n=a.b(this),n.style.maxWidth="none",n.style.position="absolute",mi(this.target),this.target.appendChild(n),this.c=a),Qr(h,this.d)||(wr(this.target,h),Ee(this.d,h)),rs(e.attributions,a.f),ss(e,p)),!0},v(ku,Eu),ku.prototype.e=function(){mi(this.target),this.g=0},ku.prototype.f=function(e,o){if(!o.visible)return this.d&&(Wi(this.target,!1),this.d=!1),!0;var i,n=e.pixelRatio,r=e.viewState,s=r.projection,a=this.a,p=a.da(),l=kn(p,s),h=p.Cd(),u=Sn(l,r.resolution),c=l.ma(u),f=r.center;c==r.resolution?(f=ps(f,c,e.size),i=Qe(f,c,r.rotation,e.size)):i=e.extent,t(o.extent)&&(i=eo(i,o.extent));var c=dn(l,i,c),y={};y[u]={};var d,g,v,m,b=this.yd(p,y),w=a.c(),x=He(),S=new Ko(0,0,0,0);for(v=c.b;v<=c.d;++v)for(m=c.c;m<=c.a;++m)d=p.Vb(u,v,m,n,s),g=d.state,2==g?y[u][zo(d.b)]=d:4==g||3==g&&!w||(g=l.Ad(d.b,b,null,S,x),g||(d=l.Ld(d.b,S,x),null===d||b(u+1,d)));var T;if(this.g!=p.b){for(T in this.c)w=this.c[+T],wi(w.target);this.c={},this.g=p.b}x=k(Y(y),Number),U(x);var M,b={};for(v=0,m=x.length;v<m;++v){T=x[v],T in this.c?w=this.c[T]:(w=l.cd(f,T),w=new Au(l,w),b[T]=!0,this.c[T]=w),T=y[T];for(M in T){d=w,g=T[M];var C=h,E=g.b,P=E[0],A=E[1],R=E[2],E=zo(E);if(!(E in d.a)){var P=he(d.d.na(P),d.i),L=g.Ma(d),N=L.style;N.maxWidth="none";var j=void 0,I=void 0;0<C?(j=gi("DIV"),I=j.style,I.overflow="hidden",I.width=P[0]+"px",I.height=P[1]+"px",N.position="absolute",N.left=-C+"px",N.top=-C+"px",N.width=P[0]+2*C+"px",N.height=P[1]+2*C+"px",j.appendChild(L)):(N.width=P[0]+"px",N.height=P[1]+"px",j=L,I=N),I.position="absolute",I.left=(A-d.c[1])*P[0]+"px",I.top=(d.c[2]-R)*P[1]+"px",null===d.b&&(d.b=document.createDocumentFragment()),d.b.appendChild(j),d.a[E]=g}}null!==w.b&&(w.target.appendChild(w.b),w.b=null)}for(h=k(Y(this.c),Number),U(h),v=Te(),M=0,x=h.length;M<x;++M)if(T=h[M],w=this.c[T],T in y){if(d=w.g,m=w.f,Jr(v,e.size[0]/2,e.size[1]/2,d/r.resolution,d/r.resolution,r.rotation,(m[0]-f[0])/d,(f[1]-m[1])/d),m=w,d=v,Qr(d,m.e)||(wr(m.target,d),Ee(m.e,d)),T in b){for(--T;0<=T;--T)if(T in this.c){m=this.c[T].target,m.parentNode&&m.parentNode.insertBefore(w.target,m.nextSibling);break}0>T&&bi(this.target,w.target,0)}else if(!e.viewHints[0]&&!e.viewHints[1]){g=gn(w.d,i,w.c[0],S),T=[],d=m=void 0;for(d in w.a)m=w.a[d],g.contains(m.b)||T.push(m);for(C=g=void 0,g=0,C=T.length;g<C;++g)m=T[g],d=zo(m.b),wi(m.Ma(w)),delete w.a[d]}}else wi(w.target),delete this.c[T];return o.opacity!=this.q&&(this.q=this.target.style.opacity=o.opacity),o.visible&&!this.d&&(Wi(this.target,!0),this.d=!0),as(e.usedTiles,p,u,c),ls(e,p,l,n,s,i,u,a.a()),ns(e,p),ss(e,p),!0},v(Ru,Eu),Ru.prototype.i=function(t,e){var o=t.viewState,i=o.center,n=o.rotation,r=o.resolution,o=t.pixelRatio,s=t.size[0],a=t.size[1],p=s*o,l=a*o,i=Jr(this.H,o*s/2,o*a/2,o/r,-o/r,-n,-i[0],-i[1]),r=this.g;r.canvas.width=p,r.canvas.height=l,s=Jr(this.p,0,0,1/o,1/o,0,-(p-s)/2*o,-(l-a)/2*o),wr(r.canvas,s),Lu(this,"precompose",t,i),s=this.c,null===s||s.la()||(r.globalAlpha=e.opacity,il(s,r,o,i,n,t.skippedFeatureUids),Lu(this,"render",t,i)),Lu(this,"postcompose",t,i)},Ru.prototype.Pa=function(t,e,o,i){if(null!==this.c){var n=this.a,r={};return this.c.c(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){var e=c(t).toString();if(!(e in r))return r[e]=!0,o.call(i,t,n)})}},Ru.prototype.J=function(){is(this)},Ru.prototype.f=function(e){function o(e){var o;if(t(e.c)?o=e.c.call(e,l):t(i.a)&&(o=(0,i.a)(e,l)),null!=o){if(null!=o){var n,r,s=!1;for(n=0,r=o.length;n<r;++n)s=jl(u,e,o[n],Nl(l,h),this.J,this)||s;e=s}else e=!1;this.d=this.d||e}}var i=this.a,n=i.da();rs(e.attributions,n.d),ss(e,n);var r=e.viewHints[0],s=e.viewHints[1],a=i.o,p=i.n;if(!this.d&&!a&&r||!p&&s)return!0;var s=e.extent,a=e.viewState,r=a.projection,l=a.resolution,h=e.pixelRatio;if(e=i.b,p=i.c,a=i.get("renderOrder"),t(a)||(a=Ll),s=De(s,p*l),!this.d&&this.o==l&&this.n==e&&this.l==a&&Be(this.q,s))return!0;Ct(this.c),this.c=null,this.d=!1;var u=new el(.5*l/h,s,l,i.c);if(n.ac(s,l,r),null===a)n.Ab(s,l,o,this);else{var c=[];n.Ab(s,l,function(t){c.push(t)},this),U(c,a),E(c,o,this)}return ol(u),this.o=l,this.n=e,this.l=a,this.q=s,this.c=u,!0},v(Nu,ys),Nu.prototype.O=function(){wi(this.b),Nu.S.O.call(this)},Nu.prototype.Ke=function(t){if(t instanceof Rp)t=new Pu(t);else if(t instanceof Lp)t=new ku(t);else{if(!(t instanceof Np))return null;t=new Ru(t)}return t},Nu.prototype.M=function(){return"dom"},Nu.prototype.ue=function(t){if(null===t)this.d&&(Wi(this.b,!1),this.d=!1);else{var e;e=function(t,e){bi(this.b,t,e)};var o=this.g;if(ee(o,"precompose")||ee(o,"postcompose")){var o=this.a.canvas,i=t.pixelRatio;o.width=t.size[0]*i,o.height=t.size[1]*i}ju(this,"precompose",t);var n,r,s,a,o=t.layerStatesArray,i=t.viewState.resolution;for(n=0,r=o.length;n<r;++n)a=o[n],s=a.layer,s=vs(this,s),e.call(this,s.target,n),Zr(a,i)&&"ready"==a.i?s.f(t,a)&&s.i(t,a):s.e();e=t.layerStates;for(var p in this.f)p in e||(s=this.f[p],wi(s.target));this.d||(Wi(this.b,!0),this.d=!0),ds(t),ms(this,t),t.postRenderFunctions.push(gs),ju(this,"postcompose",t)}},v(Du,Iu),Du.prototype.M=function(){return 35632},v(Fu,Iu),Fu.prototype.M=function(){return 35633},v(Ou,Du),i(Ou),v(Bu,Fu),i(Bu),v(Gu,Du),i(Gu),v(Hu,Fu),i(Hu),em=Xu.prototype,em.O=function(){var t=this.b;t.isContextLost()||(W(this.a,function(e){t.deleteBuffer(e.buffer)}),W(this.e,function(e){t.deleteProgram(e)}),W(this.f,function(e){t.deleteShader(e)}),t.deleteFramebuffer(this.d),t.deleteRenderbuffer(this.i),t.deleteTexture(this.q))},em.Xm=function(){return this.b},em.Te=function(){if(null===this.d){var t=this.b,e=t.createFramebuffer();t.bindFramebuffer(t.FRAMEBUFFER,e);var o=Zu(t,1,1),i=t.createRenderbuffer();t.bindRenderbuffer(t.RENDERBUFFER,i),t.renderbufferStorage(t.RENDERBUFFER,t.DEPTH_COMPONENT16,1,1),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,o,0),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,i),t.bindTexture(t.TEXTURE_2D,null),t.bindRenderbuffer(t.RENDERBUFFER,null),t.bindFramebuffer(t.FRAMEBUFFER,null),this.d=e,this.q=o,this.i=i}return this.d},em.Ym=function(){tt(this.a),tt(this.f),tt(this.e),this.i=this.q=this.d=this.g=null},em.Zm=function(){},em.oe=function(t){return t!=this.g&&(this.b.useProgram(t),this.g=t,!0)},v(Ju,Ha),Ju.prototype.jb=function(t,e){this.c.push(this.a.length),this.l.push(e);var o=t.j;tc(this,o,o.length,t.s)},Ju.prototype.kb=function(t,e){this.c.push(this.a.length),this.l.push(e);var o=t.j;tc(this,o,o.length,t.s)},Ju.prototype.Za=function(t){var e=t.mb(),o=t.Lb(1),i=t.Dd(),n=t.he(1),r=t.U,s=t.rb(),a=t.V,p=t.q,l=t.Xa();t=t.l;var h;0===this.e.length?this.e.push(o):(h=this.e[this.e.length-1],c(h)!=c(o)&&(this.U.push(this.a.length),this.e.push(o))),0===this.d.length?this.d.push(n):(h=this.d[this.d.length-1],c(h)!=c(n)&&(this.f.push(this.a.length),this.d.push(n))),this.V=e[0],this.n=e[1],this.J=l[1],this.L=i[1],this.N=i[0],this.T=r,this.sa=s[0],this.X=s[1],this.oa=p,this.ba=a,this.Fa=t,this.Ga=l[0]},rc.prototype.b=function(e,o){var i=this.a[o];return t(i)||(i=new Kw[o](this.f,this.e),this.a[o]=i),i},rc.prototype.la=function(){return Q(this.a)},rc.prototype.c=function(e,o,i,n,r,s,a,p,l,h,u,c,f,y){var d=o.b;d.bindFramebuffer(d.FRAMEBUFFER,o.Te());var g;return t(this.d)&&(g=De($e(e),n*this.d)),pc(this,o,e,n,r,p,l,h,u,c,f,function(t){var e=new Uint8Array(4);if(d.readPixels(0,0,1,1,d.RGBA,d.UNSIGNED_BYTE,e),0<e[3]&&(t=y(t)))return t},!0,g)};var Kw={Image:Ju},Vw=[1,1];v(hc,Ha),em=hc.prototype,em.tc=function(e,o){var i=e.toString(),n=this.b[i];t(n)?n.push(o):this.b[i]=[o]},em.uc=function(){},em.Le=function(e,o){var i=(0,o.d)(e);if(null!=i&&ro(this.d,i.G())){var n=o.b;t(n)||(n=0),this.tc(n,function(t){t.Aa(o.e,o.c),t.Za(o.f),t.Ba(o.a);var e=Yw[i.M()];e&&e.call(t,i,null)})}},em.zd=function(t,e){var o,i,n=t.d;for(o=0,i=n.length;o<i;++o){var r=n[o],s=Yw[r.M()];s&&s.call(this,r,e)}},em.kb=function(t,e){var o=this.a,i=new rc(1,this.d).b(0,"Image");i.Za(this.c),i.kb(t,e),ec(i,o),ic(i,this.a,this.e,this.f,this.g,this.i,1,0,1,0,1,{},void 0,!1),Qu(i,o)()},em.zb=function(){},em.vc=function(){},em.jb=function(t,e){var o=this.a,i=new rc(1,this.d).b(0,"Image");i.Za(this.c),i.jb(t,e),ec(i,o),ic(i,this.a,this.e,this.f,this.g,this.i,1,0,1,0,1,{},void 0,!1),Qu(i,o)()},em.wc=function(){},em.Rb=function(){},em.lb=function(){},em.Aa=function(){},em.Za=function(t){this.c=t},em.Ba=function(){};var Yw={Point:hc.prototype.kb,MultiPoint:hc.prototype.jb,GeometryCollection:hc.prototype.zd};v(uc,Du),i(uc),v(cc,Fu),i(cc),v(yc,Du),i(yc),v(dc,Fu),i(dc),v(vc,es),vc.prototype.Lg=function(t,e,o){bc(this,"precompose",o,t),Wu(o,34962,this.N);var i,n,r=o.b,s=e.brightness||1!=e.contrast||e.hue||1!=e.saturation;s?(i=uc.Ia(),n=cc.Ia()):(i=yc.Ia(),n=dc.Ia()),i=Vu(o,i,n),s?null===this.l?this.l=n=new fc(r,i):n=this.l:null===this.o?this.o=n=new gc(r,i):n=this.o,o.oe(i)&&(r.enableVertexAttribArray(n.b),r.vertexAttribPointer(n.b,2,5126,!1,16,0),r.enableVertexAttribArray(n.a),r.vertexAttribPointer(n.a,2,5126,!1,16,8),r.uniform1i(n.e,0)),r.uniformMatrix4fv(n.f,!1,this.q),r.uniformMatrix4fv(n.d,!1,this.n),s&&r.uniformMatrix4fv(n.g,!1,ai(this.T,e.brightness,e.contrast,e.hue,e.saturation)),r.uniform1f(n.c,e.opacity),r.bindTexture(3553,this.Qa),r.drawArrays(5,0,4),bc(this,"postcompose",o,t)},vc.prototype.gf=function(){this.e=this.Qa=null,this.f=void 0},v(wc,vc),wc.prototype.Pa=function(t,e,o,i){var n=this.a;return n.da().ge(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){return o.call(i,t,n)})},wc.prototype.hf=function(e,o){var i=this.c.e,n=e.pixelRatio,r=e.viewState,s=r.center,a=r.resolution,p=r.rotation,l=this.d,h=this.Qa,u=this.a.da(),c=e.viewHints,f=e.extent;return t(o.extent)&&(f=eo(f,o.extent)),c[0]||c[1]||so(f)||(r=r.projection,c=u.f,null===c||(r=c),f=u.Cc(f,a,n,r),null!==f&&os(this,f)&&(l=f,h=xc(this,f),null===this.Qa||e.postRenderFunctions.push(g(function(t,e){t.isContextLost()||t.deleteTexture(e)},i,this.Qa)))),null!==l&&(i=this.c.d.l,Sc(this,i.width,i.height,n,s,a,p,l.G()),this.i=null,n=this.q,Pe(n),Le(n,1,-1),Re(n,0,-1),this.d=l,this.Qa=h,rs(e.attributions,l.f),ss(e,u)),!0},wc.prototype.ee=function(e,o){var i=this.Pa(e,o,lb,this);return t(i)},wc.prototype.dc=function(t,e,o,i){if(null!==this.d&&!r(this.d.b()))if(this.a.da()instanceof bu){if(t=t.slice(),ts(e.pixelToCoordinateMatrix,t,t),this.Pa(t,e,lb,this))return o.call(i,this.a)}else{var n=[this.d.b().width,this.d.b().height];if(null===this.i){var s=e.size;e=Te(),Pe(e),Re(e,-1,-1),Le(e,2/s[0],2/s[1]),Re(e,0,s[1]),Le(e,1,-1),s=Te(),Ae(this.n,s);var a=Te();Pe(a),Re(a,0,n[1]),Le(a,1,-1),Le(a,n[0]/2,n[1]/2),Re(a,1,1);var p=Te();ke(a,s,p),ke(p,e,p),this.i=p}if(e=[0,0],ts(this.i,t,e),!(0>e[0]||e[0]>n[0]||0>e[1]||e[1]>n[1])&&(null===this.g&&(this.g=mr(1,1)),this.g.clearRect(0,0,1,1),this.g.drawImage(this.d.b(),e[0],e[1],1,1,0,0,1,1),0<this.g.getImageData(0,0,1,1).data[3]))return o.call(i,this.a)}},v(Tc,Du),i(Tc),v(Mc,Fu),i(Mc),v(Ec,vc),em=Ec.prototype,em.O=function(){zu(this.c.d,this.H),Ec.S.O.call(this)},em.yd=function(t,e){var o=this.c;return function(i,n){return Pn(t,i,n,function(t){var n=tn(o.a,t.gb());return n&&(e[i]||(e[i]={}),e[i][t.b.toString()]=t),n})}},em.gf=function(){Ec.S.gf.call(this),this.d=null},em.hf=function(e,o,i){var n,r=this.c,s=i.b,a=e.viewState,p=a.projection,l=this.a,h=l.da(),u=kn(h,p),c=Sn(u,a.resolution),f=u.ma(c),y=h.Xb(c,e.pixelRatio,p),d=y[0]/he(u.na(c),this.L)[0],g=f/d,v=h.Cd(),m=a.center;if(f==a.resolution?(m=ps(m,f,e.size),n=Qe(m,f,a.rotation,e.size)):n=e.extent,f=dn(u,n,f),null!==this.g&&Zo(this.g,f)&&this.i==h.b)g=this.p;else{var b=[_o(f),f.a-f.c+1],b=Math.max(b[0]*y[0],b[1]*y[1]),w=Math.pow(2,Math.ceil(Math.log(b)/Math.LN2)),b=g*w,x=u.Mb(c),S=x[0]+f.b*y[0]*g,g=x[1]+f.c*y[1]*g,g=[S,g,S+b,g+b];mc(this,e,w),s.viewport(0,0,w,w),s.clearColor(0,0,0,0),s.clear(16384),s.disable(3042),w=Vu(i,this.J,this.X),i.oe(w),null===this.d&&(this.d=new Cc(s,w)),Wu(i,34962,this.H),s.enableVertexAttribArray(this.d.b),s.vertexAttribPointer(this.d.b,2,5126,!1,16,0),s.enableVertexAttribArray(this.d.a),s.vertexAttribPointer(this.d.a,2,5126,!1,16,8),s.uniform1i(this.d.c,0),i={},i[c]={};var T,M,C,E=this.yd(h,i),P=l.c(),w=!0,S=He(),A=new Ko(0,0,0,0);for(M=f.b;M<=f.d;++M)for(C=f.c;C<=f.a;++C)if(x=h.Vb(c,M,C,d,p),!t(o.extent)||(T=mn(u,x.b,S),ro(T,o.extent))){if(T=x.state,2==T){if(tn(r.a,x.gb())){i[c][zo(x.b)]=x;continue}}else if(4==T||3==T&&!P)continue;w=!1,T=u.Ad(x.b,E,null,A,S),T||(x=u.Ld(x.b,A,S),null===x||E(c+1,x))}o=k(Y(i),Number),U(o);for(var R,L,N,E=new Float32Array(4),P=0,A=o.length;P<A;++P)for(R in L=i[o[P]])x=L[R],T=mn(u,x.b,S),M=2*(T[2]-T[0])/b,C=2*(T[3]-T[1])/b,N=2*(T[0]-g[0])/b-1,T=2*(T[1]-g[1])/b-1,Se(E,M,C,N,T),s.uniform4fv(this.d.d,E),Ac(r,x,y,v*d),s.drawArrays(5,0,4);w?(this.g=f,this.p=g,this.i=h.b):(this.p=this.g=null,this.i=-1,e.animate=!0)}as(e.usedTiles,h,c,f);var j=r.q;return ls(e,h,u,d,p,n,c,l.a(),function(t){var e;(e=2!=t.state||tn(r.a,t.gb()))||(e=t.gb()in j.c),e||xs(j,[t,vn(u,t.b),u.ma(t.b[0]),y,v*d])},this),ns(e,h),ss(e,h),s=this.q,Pe(s),Re(s,(m[0]-g[0])/(g[2]-g[0]),(m[1]-g[1])/(g[3]-g[1])),0!==a.rotation&&Ne(s,a.rotation),Le(s,e.size[0]*a.resolution/(g[2]-g[0]),e.size[1]*a.resolution/(g[3]-g[1])),Re(s,-.5,-.5),!0},em.dc=function(t,e,o,i){if(null!==this.e){var n=[0,0];if(ts(this.q,[t[0]/e.size[0],(e.size[1]-t[1])/e.size[1]],n),t=[n[0]*this.f,n[1]*this.f],e=this.c.d.b,e.bindFramebuffer(e.FRAMEBUFFER,this.e), -n=new Uint8Array(4),e.readPixels(t[0],t[1],1,1,e.RGBA,e.UNSIGNED_BYTE,n),0<n[3])return o.call(i,this.a)}},v(Pc,vc),em=Pc.prototype,em.Lg=function(e,o,i){this.g=o;var n=e.viewState,r=this.d;if(null!==r&&!r.la()){var s=n.center,a=n.resolution,n=n.rotation,p=e.size,l=o.opacity,h=o.brightness,u=o.contrast,c=o.hue;o=o.saturation,e=e.skippedFeatureUids;var f,y,d;for(f=0,y=cw.length;f<y;++f)d=r.a[cw[f]],t(d)&&ic(d,i,s,a,n,p,l,h,u,c,o,e,void 0,!1)}},em.O=function(){var t=this.d;null!==t&&(sc(t,this.c.d)(),this.d=null),Pc.S.O.call(this)},em.Pa=function(t,e,o,i){if(null!==this.d&&null!==this.g){var n=e.viewState,r=this.a,s=this.g,a={};return this.d.c(t,this.c.d,n.center,n.resolution,n.rotation,e.size,e.pixelRatio,s.opacity,s.brightness,s.contrast,s.hue,s.saturation,e.skippedFeatureUids,function(t){var e=c(t).toString();if(!(e in a))return a[e]=!0,o.call(i,t,r)})}},em.ee=function(t,e){if(null===this.d||null===this.g)return!1;var o=e.viewState,i=this.g;return lc(this.d,t,this.c.d,o.resolution,o.rotation,i.opacity,i.brightness,i.contrast,i.hue,i.saturation,e.skippedFeatureUids)},em.dc=function(t,e,o,i){if(t=t.slice(),ts(e.pixelToCoordinateMatrix,t,t),this.ee(t,e))return o.call(i,this.a)},em.Rl=function(){is(this)},em.hf=function(e,o,i){function n(e){var o;if(t(e.c)?o=e.c.call(e,h):t(r.a)&&(o=(0,r.a)(e,h)),null!=o){if(null!=o){var i,n,s=!1;for(i=0,n=o.length;i<n;++i)s=jl(f,e,o[i],Nl(h,u),this.Rl,this)||s;e=s}else e=!1;this.i=this.i||e}}var r=this.a;o=r.da(),rs(e.attributions,o.d),ss(e,o);var s=e.viewHints[0],a=e.viewHints[1],p=r.o,l=r.n;if(!this.i&&!p&&s||!l&&a)return!0;var a=e.extent,p=e.viewState,s=p.projection,h=p.resolution,u=e.pixelRatio,p=r.b,c=r.c,l=r.get("renderOrder");if(t(l)||(l=Ll),a=De(a,c*h),!this.i&&this.J==h&&this.L==p&&this.H==l&&Be(this.p,a))return!0;null===this.d||e.postRenderFunctions.push(sc(this.d,i)),this.i=!1;var f=new rc(.5*h/u,a,r.c);if(o.ac(a,h,s),null===l)o.Ab(a,h,n,this);else{var y=[];o.Ab(a,h,function(t){y.push(t)},this),U(y,l),E(y,n,this)}return ac(f,i),this.J=h,this.L=p,this.H=l,this.p=a,this.d=f,!0},v(kc,ys),em=kc.prototype,em.Ke=function(t){return t instanceof Rp?new wc(this,t):t instanceof Lp?new Ec(this,t):t instanceof Np?new Pc(this,t):null},em.O=function(){var t=this.e;t.isContextLost()||this.a.forEach(function(e){null===e||t.deleteTexture(e.Qa)}),Ct(this.d),kc.S.O.call(this)},em.Ci=function(t,e){for(var o,i=this.e;1024<this.a.Tb()-this.i;){if(o=this.a.b.qc,null===o){if(+this.a.b.Wd==e.index)break;--this.i}else i.deleteTexture(o.Qa);this.a.pop()}},em.M=function(){return"webgl"},em.Pl=function(t){t.preventDefault(),this.a.clear(),this.i=0,W(this.f,function(t){t.gf()})},em.Ql=function(){Lc(this),this.g.render()},em.ue=function(t){var e=this.d,o=this.e;if(o.isContextLost())return!1;if(null===t)return this.l&&(Wi(this.b,!1),this.l=!1),!1;this.n=t.focus,this.a.set((-t.index).toString(),null),++this.i;var i,n,r,s,a=[],p=t.layerStatesArray,l=t.viewState.resolution;for(i=0,n=p.length;i<n;++i)s=p[i],Zr(s,l)&&"ready"==s.i&&(r=vs(this,s.layer),r.hf(t,s,e)&&a.push(s));for(p=t.size[0]*t.pixelRatio,l=t.size[1]*t.pixelRatio,this.b.width==p&&this.b.height==l||(this.b.width=p,this.b.height=l),o.bindFramebuffer(36160,null),o.clearColor(0,0,0,0),o.clear(16384),o.enable(3042),o.viewport(0,0,this.b.width,this.b.height),Rc(this,"precompose",t),i=0,n=a.length;i<n;++i)s=a[i],r=vs(this,s.layer),r.Lg(t,s,e);this.l||(Wi(this.b,!0),this.l=!0),ds(t),1024<this.a.Tb()-this.i&&t.postRenderFunctions.push(d(this.Ci,this)),this.q.la()||(t.postRenderFunctions.push(this.L),t.animate=!0),Rc(this,"postcompose",t),ms(this,t),t.postRenderFunctions.push(gs)},em.ef=function(t,e,o,i,n,r){var s;if(this.e.isContextLost())return!1;var a=this.d,p=e.viewState;if(null!==this.c){var l={},h=Zw;if(s=this.c.c(t,a,p.center,p.resolution,p.rotation,e.size,e.pixelRatio,h.opacity,h.brightness,h.contrast,h.hue,h.saturation,{},function(t){var e=c(t).toString();if(!(e in l))return l[e]=!0,o.call(i,t,null)}))return s}for(a=e.layerStatesArray,h=a.length-1;0<=h;--h){s=a[h];var u=s.layer;if(Zr(s,p.resolution)&&n.call(r,u)&&(s=vs(this,u).Pa(t,e,o,i)))return s}},em.Kg=function(t,e,o,i){var n=!1;if(this.e.isContextLost())return!1;var r=this.d,s=e.viewState;if(null!==this.c&&(n=Zw,n=lc(this.c,t,r,s.resolution,s.rotation,n.opacity,n.brightness,n.contrast,n.hue,n.saturation,{})))return!0;var a,r=e.layerStatesArray;for(a=r.length-1;0<=a;--a){var p=r[a],l=p.layer;if(Zr(p,s.resolution)&&o.call(i,l)&&(n=vs(this,l).ee(t,e)))return!0}return n},em.Jg=function(t,e,o,i,n){if(this.e.isContextLost())return!1;var r,s=this.d,a=e.viewState;if(null!==this.c){var p=Zw;if(r=this.g.ka(t),lc(this.c,r,s,a.resolution,a.rotation,p.opacity,p.brightness,p.contrast,p.hue,p.saturation,{})&&(r=o.call(i,null)))return r}for(s=e.layerStatesArray,p=s.length-1;0<=p;--p){r=s[p];var l=r.layer;if(Zr(r,a.resolution)&&n.call(i,l)&&(r=vs(this,l).dc(t,e,o,i)))return r}};var Zw={opacity:1,brightness:0,contrast:1,hue:0,saturation:1},_w=["canvas","webgl","dom"];v(Nc,re),em=Nc.prototype,em.si=function(t){this.e.push(t)},em.ti=function(t){this.d.push(t)},em.Jf=function(t){this.Ub().Bc().push(t)},em.Kf=function(t){this.f.push(t)},em.Ha=function(t){this.render(),Array.prototype.push.apply(this.H,arguments)},em.O=function(){wi(this.a),Nc.S.O.call(this)},em.Ne=function(e,o,i,n,r){if(null!==this.c)return e=this.ka(e),this.i.ef(e,this.c,o,t(i)?i:null,t(n)?n:lb,t(r)?r:null)},em.al=function(e,o,i,n,r){if(null!==this.c)return this.i.Jg(e,this.c,o,t(i)?i:null,t(n)?n:lb,t(r)?r:null)},em.ok=function(e,o,i){return null!==this.c&&(e=this.ka(e),this.i.Kg(e,this.c,t(o)?o:lb,t(i)?i:null))},em.Ui=function(t){return this.ka(this.Bd(t))},em.Bd=function(e){if(t(e.changedTouches)){var o=e.changedTouches[0];return e=Hi(this.a),[o.clientX-e.x,o.clientY-e.y]}return o=this.a,e=Hi(e),o=Hi(o),o=new pi(e.x-o.x,e.y-o.y),[o.x,o.y]},em.df=function(){return this.get("target")},em.bd=function(){var e=this.df();return t(e)?ui(e):null},em.ka=function(t){var e=this.c;return null===e?null:(t=t.slice(),ts(e.pixelToCoordinateMatrix,t,t))},em.Si=function(){return this.e},em.oj=function(){return this.f},em.bj=function(){return this.d},em.Ub=function(){return this.get("layergroup")},em.vg=function(){return this.Ub().Bc()},em.ta=function(t){var e=this.c;return null===e?null:(t=t.slice(0,2),ts(e.coordinateToPixelMatrix,t,t))},em.xa=function(){return this.get("size")},em.R=function(){return this.get("view")},em.Bj=function(){return this.a},em.zj=function(t,e,o,i){var n=this.c;return null!==n&&e in n.wantedTiles&&n.wantedTiles[e][zo(t.b)]?(t=o[0]-n.focus[0],o=o[1]-n.focus[1],65536*Math.log(i)+Math.sqrt(t*t+o*o)/i):1/0},em.dg=function(t,e){var o=new qr(e||t.type,this,t);this.eg(o)},em.eg=function(t){if(null!==this.c){this.L=t.coordinate,t.frameState=this.c;var e,o=this.d.a;if(!1!==this.dispatchEvent(t))for(e=o.length-1;0<=e;e--){var i=o[e];if(i.c()&&!i.handleEvent(t))break}}},em.gk=function(){var t=this.c,e=this.Fa;if(!e.la()){var o=16,i=o,n=0;if(null!==t&&(n=t.viewHints,n[0]&&(o=this.wb?8:0,i=2),n[1]&&(o=this.xb?8:0,i=2),n=K(t.wantedTiles)),o*=n,i*=n,e.d<o){for(Ms(e),o=Math.min(o-e.d,i,e.Tb()),i=0;i<o;++i)n=ws(e)[0],Ht(n,"change",e.f,!1,e),n.load();e.d+=o}}for(e=this.ba,o=0,i=e.length;o<i;++o)e[o](this,t);e.length=0},em.jk=function(){this.render()},em.lk=function(){var t=this.bd();hr(this.n),null===t?(wi(this.a),null!==this.l&&(zt(this.l),this.l=null)):(t.appendChild(this.a),lr(this.n,null===this.T?t:this.T),null===this.l&&(this.l=Ht(this.Ga,"resize",this.Kc,!1,this))),this.Kc()},em.bl=function(){this.render()},em.nk=function(){this.render()},em.mk=function(){null!==this.J&&(zt(this.J),this.J=null);var t=this.R();null!==t&&(this.J=Ht(t,"propertychange",this.nk,!1,this)),this.render()},em.Rj=function(){this.render()},em.Sj=function(){this.render()},em.Qj=function(){if(null!==this.g){for(var t=this.g.length,e=0;e<t;++e)zt(this.g[e]);this.g=null}t=this.Ub(),null!=t&&(this.g=[Ht(t,"propertychange",this.Sj,!1,this),Ht(t,"change",this.Rj,!1,this)]),this.render()},em.Rn=function(){var t=this.o;Wn(t),t.Pf()},em.render=function(){null!=this.o.$||this.o.start()},em.Ln=function(e){if(t(this.e.remove(e)))return e},em.Mn=function(e){var o;return t(this.d.remove(e))&&(o=e),o},em.Nn=function(t){return this.Ub().Bc().remove(t)},em.On=function(e){if(t(this.f.remove(e)))return e},em.Qn=function(e){var o,i,n,r=this.xa(),s=this.R(),a=null;if(t(r)&&0<r[0]&&0<r[1]&&null!==s&&Io(s)){var a=s.c.slice(),p=this.Ub().Ue(),l={};for(o=0,i=p.length;o<i;++o)l[c(p[o].layer)]=p[o];n=jo(s),a={animate:!1,attributions:{},coordinateToPixelMatrix:this.Ra,extent:null,focus:null===this.L?n.center:this.L,index:this.vb++,layerStates:l,layerStatesArray:p,logos:nt(this.sc),pixelRatio:this.Nc,pixelToCoordinateMatrix:this.Ee,postRenderFunctions:[],size:r,skippedFeatureUids:this.N,tileQueue:this.Fa,time:e,usedTiles:{},viewState:n,viewHints:a,wantedTiles:{}}}if(null!==a){for(e=this.H,o=r=0,i=e.length;o<i;++o)s=e[o],s(this,a)&&(e[r++]=s);e.length=r,a.extent=Qe(n.center,n.resolution,n.rotation,a.size)}this.c=a,this.i.ue(a),null!==a&&(a.animate&&this.render(),Array.prototype.push.apply(this.ba,a.postRenderFunctions),0!==this.H.length||a.viewHints[0]||a.viewHints[1]||Xe(a.extent,this.oa)||(this.dispatchEvent(new _i("moveend",this,a)),Fe(a.extent,this.oa))),this.dispatchEvent(new _i("postrender",this,a)),Yn(this.gk,this)},em.zh=function(t){this.set("layergroup",t)},em.vf=function(t){this.set("size",t)},em.cl=function(t){this.set("target",t)},em.jo=function(t){this.set("view",t)},em.Eh=function(t){t=c(t).toString(),this.N[t]=!0,this.render()},em.Kc=function(){var t=this.bd();if(null===t)this.vf(void 0);else{var e=Mi(t),o=Cm&&t.currentStyle;o&&Pi(hi(e))&&"auto"!=o.width&&"auto"!=o.height&&!o.boxSizing?(e=zi(t,o.width,"width","pixelWidth"),t=zi(t,o.height,"height","pixelHeight"),t=new li(e,t)):(o=new li(t.offsetWidth,t.offsetHeight),e=Vi(t,"padding"),t=Zi(t),t=new li(o.width-t.left-e.left-e.right-t.right,o.height-t.top-e.top-e.bottom-t.bottom)),this.vf([t.width,t.height])}},em.Ih=function(t){t=c(t).toString(),delete this.N[t],this.render()},Ap(),v(Ic,re),em=Ic.prototype,em.$d=function(){return this.get("element")},em.ae=function(){return this.get("map")},em.Yf=function(){return this.get("offset")},em.wg=function(){return this.get("position")},em.ag=function(){return this.get("positioning")},em.Kj=function(){mi(this.Z);var t=this.$d();null!=t&&vi(this.Z,t)},em.Yj=function(){null!==this.c&&(wi(this.Z),zt(this.c),this.c=null);var t=this.ae();null!=t&&(this.c=Ht(t,"postrender",this.render,!1,this),Fc(this),t=this.i?t.p:t.X,this.g?bi(t,this.Z,0):vi(t,this.Z))},em.render=function(){Fc(this)},em.ck=function(){Fc(this)},em.ek=function(){if(Fc(this),t(this.get("position"))&&this.f){var e=this.ae();if(t(e)&&!r(e.bd())){var o=Dc(e.bd(),e.xa()),i=this.$d(),n=i.offsetWidth,s=i.currentStyle||window.getComputedStyle(i),n=n+(parseInt(s.marginLeft,10)+parseInt(s.marginRight,10)),s=i.offsetHeight,a=i.currentStyle||window.getComputedStyle(i),s=s+(parseInt(a.marginTop,10)+parseInt(a.marginBottom,10)),p=Dc(i,[n,s]),i=this.e;Be(o,p)||(n=p[0]-o[0],s=o[2]-p[2],a=p[1]-o[1],p=o[3]-p[3],o=[0,0],0>n?o[0]=n-i:0>s&&(o[0]=Math.abs(s)+i),0>a?o[1]=a-i:0>p&&(o[1]=Math.abs(p)+i),0===o[0]&&0===o[1])||(i=e.R().Ca(),n=e.ta(i),o=[n[0]+o[0],n[1]+o[1]],null!==this.d&&(this.d.source=i,e.Ha(Go(this.d))),e.R().Na(e.ka(o)))}}},em.fk=function(){Fc(this)},em.wh=function(t){this.set("element",t)},em.setMap=function(t){this.set("map",t)},em.Bh=function(t){this.set("offset",t)},em.uf=function(t){this.set("position",t)},em.Ch=function(t){this.set("positioning",t)},v(Oc,Ji),em=Oc.prototype,em.setMap=function(t){var e=this.a;t!==e&&(e&&(e=e.R())&&Wt(e,se("rotation"),this.Rd,!1,this),Oc.S.setMap.call(this,t),t&&(this.l.push(Ht(t,"propertychange",this.Zj,!1,this)),0===this.d.vg().Ib()&&this.d.zh(t.Ub()),t=t.R()))&&(Ht(t,se("rotation"),this.Rd,!1,this),Io(t)&&(this.d.Kc(),Uc(this)))},em.Zj=function(t){"view"===t.key&&((t=t.oldValue)&&Wt(t,se("rotation"),this.Rd,!1,this),t=this.a.R(),Ht(t,se("rotation"),this.Rd,!1,this))},em.Rd=function(){this.d.R().be(this.a.R().Da())},em.ml=function(t){t.preventDefault(),Hc(this)},em.ll=function(){return this.g},em.ol=function(t){this.g!==t&&(this.g=t,ji(this.element,"ol-uncollapsible"),!t&&this.f&&Hc(this))},em.nl=function(t){this.g&&this.f!==t&&Hc(this)},em.kl=function(){return this.f},v(qc,Ji);var Jw=[1,2,5];qc.prototype.p=function(){return this.get("units")},qc.prototype.N=function(){Xc(this)},qc.prototype.J=function(t){this.set("units",t)},v(Wc,Tt);var Qw=[];Wc.prototype.Ka=function(t,e,o,i){s(e)||(e&&(Qw[0]=e.toString()),e=Qw);for(var n=0;n<e.length;n++){var r=Ht(t,e[n],o||this.handleEvent,i||!1,this.a||this);if(!r)break;this.b[r.key]=r}return this},Wc.prototype.wf=function(t,e,o,i,n){if(s(e))for(var r=0;r<e.length;r++)this.wf(t,e[r],o,i,n);else o=o||this.handleEvent,n=n||this.a||this,o=Jt(o),i=!!i,e=jt(t)?Bt(t.ab,String(e),o,i,n):t&&(t=_t(t))?Bt(t,e,o,i,n):null,e&&(zt(e),delete this.b[e.key]);return this},Wc.prototype.O=function(){Wc.S.O.call(this),zc(this)},Wc.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")},v(Kc,Qt);var tx=Cm||Em&&pt("1.9.3");em=Kc.prototype,em.clientX=0,em.clientY=0,em.screenX=0,em.screenY=0,em.Fh=0,em.Gh=0,em.yc=0,em.zc=0,em.Zb=!1,em.O=function(){Kc.S.O.call(this),Wt(this.handle,["touchstart","mousedown"],this.cg,!1,this),zc(this.a),tx&&this.c.releaseCapture(),this.handle=this.target=null},em.cg=function(t){var e="mousedown"==t.type;if(this.Zb||e&&!Nt(t))this.dispatchEvent("earlycancel");else if(Vc(t),this.dispatchEvent(new Qc("start",this,t.clientX,t.clientY))){this.Zb=!0,t.preventDefault();var e=this.c,o=e.documentElement,i=!tx;this.a.Ka(e,["touchmove","mousemove"],this.bk,i),this.a.Ka(e,["touchend","mouseup"],this.Od,i),tx?(o.setCapture(!1),this.a.Ka(o,"losecapture",this.Od)):this.a.Ka(e?e.parentWindow||e.defaultView:window,"blur",this.Od),this.e&&this.a.Ka(this.e,"scroll",this.en,i),this.clientX=this.Fh=t.clientX,this.clientY=this.Gh=t.clientY,this.screenX=t.screenX,this.screenY=t.screenY,this.yc=this.target.offsetLeft,this.zc=this.target.offsetTop,this.d=ki(hi(this.c)),lm()}},em.Od=function(t){if(zc(this.a),tx&&this.c.releaseCapture(),this.Zb){Vc(t),this.Zb=!1;var e=_c(this,this.yc),o=Jc(this,this.zc);this.dispatchEvent(new Qc("end",this,t.clientX,t.clientY,0,e,o))}else this.dispatchEvent("earlycancel")},em.bk=function(t){Vc(t);var e=1*(t.clientX-this.clientX),o=t.clientY-this.clientY;if(this.clientX=t.clientX,this.clientY=t.clientY,this.screenX=t.screenX,this.screenY=t.screenY,!this.Zb){var i=this.Fh-this.clientX,n=this.Gh-this.clientY;if(0<i*i+n*n){if(!this.dispatchEvent(new Qc("start",this,t.clientX,t.clientY)))return void(this.U||this.Od(t));this.Zb=!0}}o=Yc(this,e,o),e=o.x,o=o.y,this.Zb&&this.dispatchEvent(new Qc("beforedrag",this,t.clientX,t.clientY,0,e,o))&&(Zc(this,t,e,o),t.preventDefault())},em.en=function(t){var e=Yc(this,0,0);t.clientX=this.clientX,t.clientY=this.clientY,Zc(this,t,e.x,e.y)},v(Qc,Et),v(tf,Ji);var ex=0;em=tf.prototype,em.setMap=function(t){tf.S.setMap.call(this,t),null===t||t.render()},em.Gj=function(t){var e=this.a,o=e.R(),i=o.ya();e.Ha(qo({resolution:i,duration:this.o,easing:Fo})),t=of(this,t.offsetX-this.i[0]/2,t.offsetY-this.i[1]/2),t=nf(this,t),o.tb(o.constrainResolution(t))},em.Jj=function(){Do(this.a.R(),1)},em.Hj=function(t){t=of(this,t.left,t.top),this.f=nf(this,t),this.a.R().tb(this.f)},em.Ij=function(){var t=this.a,e=t.R();Do(e,-1),t.Ha(qo({resolution:this.f,duration:this.o,easing:Fo})),t=e.constrainResolution(this.f),e.tb(t)},v(rf,Ji),rf.prototype.f=function(t){t.preventDefault();var e=this.a;t=e.R();var o=null===this.d?t.e.G():this.d,e=e.xa();t.Me(o,e)},v(sf,re),em=sf.prototype,em.O=function(){this.bf(!1),sf.S.O.call(this)},em.fn=function(t){if(t=t.b,null!=t.alpha){var e=ct(t.alpha);this.set("alpha",e),"boolean"==typeof t.absolute&&t.absolute?this.set("heading",e):null!=t.webkitCompassHeading&&null!=t.webkitCompassAccuracy&&-1!=t.webkitCompassAccuracy&&this.set("heading",ct(t.webkitCompassHeading))}null!=t.beta&&this.set("beta",ct(t.beta)),null!=t.gamma&&this.set("gamma",ct(t.gamma)),this.k()},em.Mi=function(){return this.get("alpha")},em.Pi=function(){return this.get("beta")},em.Yi=function(){return this.get("gamma")},em.Ik=function(){return this.get("heading")},em.og=function(){return this.get("tracking")},em.Jk=function(){if(Ab){var t=this.og();t&&null===this.a?this.a=Ht(sm,"deviceorientation",this.fn,!1,this):t||null===this.a||(zt(this.a),this.a=null)}},em.bf=function(t){this.set("tracking",t)},v(af,re),em=af.prototype,em.clone=function(){var t=new af(this.D());t.Ic(this.a);var e=this.Q();return null!=e&&t.La(e.clone()),e=this.e,null===e||t.cf(e),t},em.Q=function(){return this.get(this.a)},em.aj=function(){return this.$},em.$i=function(){return this.a},em.Qk=function(){return this.e},em.Rk=function(){return this.c},em.Sk=function(){this.k()},em.Pd=function(){null!==this.d&&(zt(this.d),this.d=null);var t=this.Q();null!=t&&(this.d=Ht(t,"change",this.Sk,!1,this)),this.k()},em.La=function(t){this.set(this.a,t)},em.cf=function(t){this.e=t,null===t?t=void 0:h(t)||(t=s(t)?t:[t],t=ln(t)),this.c=t,this.k()},em.Qb=function(t){this.$=t,this.k()},em.Ic=function(t){Wt(this,se(this.a),this.Pd,!1,this),this.a=t,Ht(this,se(this.a),this.Pd,!1,this),this.Pd()},em=pf.prototype,em.pg=function(t){this.b.push(t)},em.Kk=function(){return this.b},em.Lk=function(){return this.d},em.qg=function(){lf(this)},em.Mj=function(t){t=t.element,this.a[c(t).toString()]=Ht(t,"change",this.qg,!1,this),lf(this)},em.Nj=function(t){t=c(t.element).toString(),zt(this.a[t]),delete this.a[t],lf(this)},em.Ok=function(){lf(this)},em.Pk=function(e){if(null!==this.b){var o=this.f;t(o)||(o=rp);var i=e.b;e=e.frameState;var n,r,s,a,p=e.viewState.resolution,l=Nl(p,e.pixelRatio);this.b.forEach(function(e){if(a=e.c,s=t(a)?a.call(e,p):o(e,p),null!=s)for(r=s.length,n=0;n<r;++n)jl(i,e,s[n],l,this.Ok,this)},this)}},em.Yd=function(t){this.b.remove(t)},em.ld=function(t){null!==this.c&&(E(this.c,zt),this.c=null),null!==this.a&&(E(V(this.a),zt),this.a=null),this.b=t,null!==t&&(this.c=[Ht(t,"add",this.Mj,!1,this),Ht(t,"remove",this.Nj,!1,this)],this.a={},t.forEach(function(t){this.a[c(t).toString()]=Ht(t,"change",this.qg,!1,this)},this)),lf(this)},em.setMap=function(t){null!==this.e&&(zt(this.e),this.e=null),lf(this),this.d=t,null!==t&&(this.e=Ht(t,"postcompose",this.Pk,!1,this),t.render())},em.rg=function(t){this.g=t,this.f=np(t),lf(this)},em.Mk=function(){return this.g},em.Nk=function(){return this.f},v(yf,hf),em=yf.prototype,em.M=function(){return"json"},em.sb=function(t,e){return this.Fc(df(t),uf(this,t,e))},em.ja=function(t,e){return this.of(df(t),uf(this,t,e))},em.Gc=function(t,e){return this.hh(df(t),uf(this,t,e))},em.za=function(t){return this.nh(df(t))},em.qd=function(t,e){return Pw(this.Lc(t,e))},em.ub=function(t,e){return Pw(this.ze(t,e))},em.Mc=function(t,e){return Pw(this.Be(t,e))},v(gf,yf);var ox={Point:function(t){return null!=t.m&&null!=t.z?new Ta([t.x,t.y,t.z,t.m],"XYZM"):null!=t.z?new Ta([t.x,t.y,t.z],"XYZ"):null!=t.m?new Ta([t.x,t.y,t.m],"XYM"):new Ta([t.x,t.y])},LineString:function(t){return new ml(t.paths[0],mf(t))},Polygon:function(t){return new Fa(t.rings,mf(t))},MultiPoint:function(t){return new Cl(t.points,mf(t))},MultiLineString:function(t){return new xl(t.paths,mf(t))},MultiPolygon:function(t){return new El(t.rings,mf(t))}},ix={Point:function(t){var e=t.K();return t=t.a,"XYZ"===t?{x:e[0],y:e[1],z:e[2]}:"XYM"===t?{x:e[0],y:e[1],m:e[2]}:"XYZM"===t?{x:e[0],y:e[1],z:e[2],m:e[3]}:"XY"===t?{x:e[0],y:e[1]}:void 0},LineString:function(t){var e=bf(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:[t.K()]}},Polygon:function(t){var e=bf(t);return{hasZ:e.hasZ,hasM:e.hasM,rings:t.K(!1)}},MultiPoint:function(t){var e=bf(t);return{hasZ:e.hasZ,hasM:e.hasM,points:t.K()}},MultiLineString:function(t){var e=bf(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:t.K()}},MultiPolygon:function(t){var e=bf(t);t=t.K(!1);for(var o=[],i=0;i<t.length;i++)for(var n=t[i].length-1;0<=n;n--)o.push(t[i][n]);return{hasZ:e.hasZ,hasM:e.hasM,rings:o}}};em=gf.prototype,em.Fc=function(e,o){var i=vf(e.geometry,o),n=new af;return t(this.b)&&n.Ic(this.b),n.La(i),t(o)&&t(o.Xe)&&t(e.attributes[o.Xe])&&n.Qb(e.attributes[o.Xe]),t(e.attributes)&&n.t(e.attributes),n},em.of=function(e,o){var i=t(o)?o:{};if(null!=e.features){var n,r,s=[],a=e.features;for(i.Xe=e.objectIdFieldName,n=0,r=a.length;n<r;++n)s.push(this.Fc(a[n],i));return s}return[this.Fc(e,i)]},em.hh=function(t,e){return vf(t,e)},em.nh=function(t){return null!=t.spatialReference&&null!=t.spatialReference.wkid?xo("EPSG:"+t.spatialReference.wkid):null},em.Be=function(t,e){return wf(t,cf(this,e))},em.Lc=function(e,o){o=cf(this,o);var i={},n=e.Q();return null!=n&&(i.geometry=wf(n,o)),n=e.D(),et(n,e.a),i.attributes=Q(n)?{}:n,t(o)&&t(o.featureProjection)&&(i.spatialReference={wkid:xo(o.featureProjection).b.split(":").pop()}),i},em.ze=function(t,e){e=cf(this,e);var o,i,n=[];for(o=0,i=t.length;o<i;++o)n.push(this.Lc(t[o],e));return{features:n}},v(xf,yf);var nx={Point:function(t){return new Ta(t.coordinates)},LineString:function(t){return new ml(t.coordinates)},Polygon:function(t){return new Fa(t.coordinates)},MultiPoint:function(t){return new Cl(t.coordinates)},MultiLineString:function(t){return new xl(t.coordinates)},MultiPolygon:function(t){return new El(t.coordinates)},GeometryCollection:function(t,e){var o=k(t.geometries,function(t){return Sf(t,e)});return new ul(o)}},rx={Point:function(t){return{type:"Point",coordinates:t.K()}},LineString:function(t){return{type:"LineString",coordinates:t.K()}},Polygon:function(e,o){var i;return t(o)&&(i=o.rightHanded),{type:"Polygon",coordinates:e.K(i)}},MultiPoint:function(t){return{type:"MultiPoint",coordinates:t.K()}},MultiLineString:function(t){return{type:"MultiLineString",coordinates:t.K()}},MultiPolygon:function(e,o){var i;return t(o)&&(i=o.rightHanded),{type:"MultiPolygon",coordinates:e.K(i)}},GeometryCollection:function(t,e){return{type:"GeometryCollection",geometries:k(t.d,function(t){return Tf(t,e)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};em=xf.prototype,em.Fc=function(e,o){var i=Sf(e.geometry,o),n=new af;return t(this.b)&&n.Ic(this.b),n.La(i),t(e.id)&&n.Qb(e.id),t(e.properties)&&n.t(e.properties),n},em.of=function(t,e){if("Feature"==t.type)return[this.Fc(t,e)];if("FeatureCollection"==t.type){var o,i,n=[],r=t.features;for(o=0,i=r.length;o<i;++o)n.push(this.Fc(r[o],e));return n}return[]},em.hh=function(t,e){return Sf(t,e)},em.nh=function(t){return t=t.crs,null!=t?"name"==t.type?xo(t.properties.name):"EPSG"==t.type?xo("EPSG:"+t.properties.code):null:this.defaultDataProjection},em.Lc=function(t,e){e=cf(this,e);var o={type:"Feature"},i=t.$;return null!=i&&(o.id=i),i=t.Q(),null!=i&&(o.geometry=Tf(i,e)),i=t.D(),et(i,t.a),o.properties=Q(i)?null:i,o},em.ze=function(t,e){e=cf(this,e);var o,i,n=[];for(o=0,i=t.length;o<i;++o)n.push(this.Lc(t[o],e));return{type:"FeatureCollection",features:n}},em.Be=function(t,e){return Tf(t,cf(this,e))},v(Mf,hf),em=Mf.prototype,em.M=function(){return"xml"},em.sb=function(t,e){if(Hw(t))return Cf(this,t,e);if(qw(t))return this.fh(t,e);if(p(t)){var o=qh(t);return Cf(this,o,e)}return null},em.ja=function(t,e){if(Hw(t))return Ef(this,t,e);if(qw(t))return this.Ob(t,e);if(p(t)){var o=qh(t);return Ef(this,o,e)}return[]},em.Gc=function(e,o){if(Hw(e))return this.l(e,o);if(qw(e)){var i=this.qe(e,[uf(this,e,t(o)?o:{})]);return t(i)?i:null}return p(e)?(i=qh(e),this.l(i,o)):null},em.za=function(t){return Hw(t)?this.sf(t):qw(t)?this.te(t):p(t)?(t=qh(t),this.sf(t)):null},em.sf=function(){return this.defaultDataProjection},em.te=function(){return this.defaultDataProjection},em.qd=function(t,e){var o=this.U(t,e);return Ch(o)},em.ub=function(t,e){var o=this.a(t,e);return Ch(o)},em.Mc=function(t,e){var o=this.q(t,e);return Ch(o)},v(Pf,Mf),em=Pf.prototype,em.jd=function(e,o){var i,n=Gw(e);if("FeatureCollection"==n)i="http://www.opengis.net/wfs"===e.namespaceURI?eu([],this.b,e,o,this):eu(null,this.b,e,o,this);else if("featureMembers"==n||"featureMember"==n){var r=o[0],a=r.featureType;i=r.featureNS;var l,h;if(!t(a)&&null!=e.childNodes){for(a=[],i={},l=0,h=e.childNodes.length;l<h;++l){var u=e.childNodes[l];if(1===u.nodeType){var c=u.nodeName.split(":").pop();if(-1===C(a,c)){var f;_(i,u.namespaceURI)?f=J(i,function(t){return t===u.namespaceURI}):(f="p"+K(i),i[f]=u.namespaceURI),a.push(f+":"+c)}}}r.featureType=a,r.featureNS=i}p(i)&&(l=i,i={},i.p0=l);var y,r={},a=s(a)?a:[a];for(y in i){for(c={},l=0,h=a.length;l<h;++l)(-1===a[l].indexOf(":")?"p0":a[l].split(":")[0])===y&&(c[a[l].split(":").pop()]="featureMembers"==n?Xh(this.nf,this):Wh(this.nf,this));r[i[y]]=c}i=eu([],r,e,o)}return t(i)||(i=[]),i},em.qe=function(t,e){var o=e[0];o.srsName=t.firstElementChild.getAttribute("srsName");var i=eu(null,this.Cf,t,e,this);if(null!=i)return ff(i,!1,o)},em.nf=function(e,o){var i,n,r=e.getAttribute("fid")||$w(e,"http://www.opengis.net/gml","id"),s={};for(i=e.firstElementChild;null!==i;i=i.nextElementSibling){var a=Gw(i);if(0===i.childNodes.length||1===i.childNodes.length&&3===i.firstChild.nodeType){var p=kh(i,!1);/^[\s\xa0]*$/.test(p)&&(p=void 0),s[a]=p}else"boundedBy"!==a&&(n=a),s[a]=this.qe(i,o)}return i=new af(s),t(n)&&i.Ic(n),r&&i.Qb(r),i},em.mh=function(t,e){var o=this.pe(t,e);if(null!=o){var i=new Ta(null);return Ma(i,"XYZ",o),i}},em.kh=function(e,o){var i=eu([],this.ai,e,o,this);if(t(i))return new Cl(i)},em.jh=function(e,o){var i=eu([],this.$h,e,o,this);if(t(i)){var n=new xl(null);return Ml(n,i),n}},em.lh=function(e,o){var i=eu([],this.bi,e,o,this);if(t(i)){var n=new El(null);return Rl(n,i),n}},em.$g=function(t,e){tu(this.ei,t,e,this)},em.kg=function(t,e){tu(this.Yh,t,e,this)},em.ah=function(t,e){tu(this.fi,t,e,this)},em.re=function(t,e){var o=this.pe(t,e);if(null!=o){var i=new ml(null);return wl(i,"XYZ",o),i}},em.yn=function(t,e){var o=eu(null,this.sd,t,e,this);if(null!=o)return o},em.ih=function(e,o){var i=this.pe(e,o);if(t(i)){var n=new xa(null);return Sa(n,"XYZ",i),n}},em.se=function(e,o){var i=eu([null],this.De,e,o,this);if(t(i)&&null!==i[0]){var n,r,s=new Fa(null),a=i[0],p=[a.length];for(n=1,r=i.length;n<r;++n)F(a,i[n]),p.push(a.length);return Ua(s,"XYZ",a,p),s}},em.pe=function(t,e){return eu(null,this.sd,t,e,this)},em.ai=Object({"http://www.opengis.net/gml":{pointMember:Xh(Pf.prototype.$g),pointMembers:Xh(Pf.prototype.$g)}}),em.$h=Object({"http://www.opengis.net/gml":{lineStringMember:Xh(Pf.prototype.kg),lineStringMembers:Xh(Pf.prototype.kg)}}),em.bi=Object({"http://www.opengis.net/gml":{polygonMember:Xh(Pf.prototype.ah),polygonMembers:Xh(Pf.prototype.ah)}}),em.ei=Object({"http://www.opengis.net/gml":{Point:Xh(Pf.prototype.pe)}}),em.Yh=Object({"http://www.opengis.net/gml":{LineString:Xh(Pf.prototype.re)}}),em.fi=Object({"http://www.opengis.net/gml":{Polygon:Xh(Pf.prototype.se)}}),em.td=Object({"http://www.opengis.net/gml":{LinearRing:Wh(Pf.prototype.yn)}}),em.Ob=function(e,o){var i={featureType:this.featureType,featureNS:this.featureNS};return t(o)&&rt(i,uf(this,e,o)),this.jd(e,[i])},em.te=function(e){return xo(t(this.o)?this.o:e.firstElementChild.getAttribute("srsName"))},v(Gf,Pf),em=Gf.prototype,em.Bn=function(e,o){var i=eu([],this.Zh,e,o,this);if(t(i)){var n=new xl(null);return Ml(n,i),n}},em.Cn=function(e,o){var i=eu([],this.ci,e,o,this);if(t(i)){var n=new El(null);return Rl(n,i),n}},em.Nf=function(t,e){tu(this.Vh,t,e,this)},em.Hh=function(t,e){tu(this.ji,t,e,this)},em.Fn=function(t,e){return eu([null],this.di,t,e,this)},em.Hn=function(t,e){return eu([null],this.ii,t,e,this)},em.Gn=function(t,e){return eu([null],this.De,t,e,this)},em.An=function(t,e){return eu([null],this.sd,t,e,this)},em.rk=function(e,o){var i=eu(void 0,this.td,e,o,this);t(i)&&o[o.length-1].push(i)},em.Di=function(e,o){var i=eu(void 0,this.td,e,o,this);t(i)&&(o[o.length-1][0]=i)},em.oh=function(e,o){var i=eu([null],this.ki,e,o,this);if(t(i)&&null!==i[0]){var n,r,s=new Fa(null),a=i[0],p=[a.length];for(n=1,r=i.length;n<r;++n)F(a,i[n]),p.push(a.length);return Ua(s,"XYZ",a,p),s}},em.dh=function(e,o){var i=eu([null],this.Wh,e,o,this);if(t(i)){var n=new ml(null);return wl(n,"XYZ",i),n}},em.xn=function(t,e){var o=eu([null],this.Xh,t,e,this);return qe(o[1][0],o[1][1],o[2][0],o[2][1])},em.zn=function(t,e){for(var o,i=kh(t,!1),n=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,r=[];o=n.exec(i);)r.push(parseFloat(o[1])),i=i.substr(o[0].length);if(""===i){if(i=e[0].srsName,n="enu",null===i||(n=uo(xo(i))),"neu"===n)for(i=0,n=r.length;i<n;i+=3)o=r[i],r[i]=r[i+1],r[i+1]=o;return i=r.length,2==i&&r.push(0),0===i?void 0:r}},em.qf=function(t,e){var o=kh(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,n=t.parentNode.getAttribute("srsDimension"),s="enu";null===i||(s=uo(xo(i))),o=o.split(/\s+/),i=2,r(t.getAttribute("srsDimension"))?r(t.getAttribute("dimension"))?null===n||(i=If(n)):i=If(t.getAttribute("dimension")):i=If(t.getAttribute("srsDimension"));for(var a,p,l=[],h=0,u=o.length;h<u;h+=i)n=parseFloat(o[h]),a=parseFloat(o[h+1]),p=3===i?parseFloat(o[h+2]):0,"en"===s.substr(0,2)?l.push(n,a,p):l.push(a,n,p);return l},em.sd=Object({"http://www.opengis.net/gml":{pos:Wh(Gf.prototype.zn),posList:Wh(Gf.prototype.qf)}}),em.De=Object({"http://www.opengis.net/gml":{interior:Gf.prototype.rk,exterior:Gf.prototype.Di}}),em.Cf=Object({"http://www.opengis.net/gml":{Point:Wh(Pf.prototype.mh),MultiPoint:Wh(Pf.prototype.kh),LineString:Wh(Pf.prototype.re),MultiLineString:Wh(Pf.prototype.jh),LinearRing:Wh(Pf.prototype.ih),Polygon:Wh(Pf.prototype.se),MultiPolygon:Wh(Pf.prototype.lh),Surface:Wh(Gf.prototype.oh),MultiSurface:Wh(Gf.prototype.Cn),Curve:Wh(Gf.prototype.dh),MultiCurve:Wh(Gf.prototype.Bn),Envelope:Wh(Gf.prototype.xn)}}),em.Zh=Object({"http://www.opengis.net/gml":{curveMember:Xh(Gf.prototype.Nf),curveMembers:Xh(Gf.prototype.Nf)}}),em.ci=Object({"http://www.opengis.net/gml":{surfaceMember:Xh(Gf.prototype.Hh),surfaceMembers:Xh(Gf.prototype.Hh)}}),em.Vh=Object({"http://www.opengis.net/gml":{LineString:Xh(Pf.prototype.re),Curve:Xh(Gf.prototype.dh)}}),em.ji=Object({"http://www.opengis.net/gml":{Polygon:Xh(Pf.prototype.se),Surface:Xh(Gf.prototype.oh)}}),em.ki=Object({"http://www.opengis.net/gml":{patches:Wh(Gf.prototype.Fn)}}),em.Wh=Object({"http://www.opengis.net/gml":{segments:Wh(Gf.prototype.Hn)}}),em.Xh=Object({"http://www.opengis.net/gml":{lowerCorner:Xh(Gf.prototype.qf),upperCorner:Xh(Gf.prototype.qf)}}),em.di=Object({"http://www.opengis.net/gml":{PolygonPatch:Wh(Gf.prototype.Gn)}}),em.ii=Object({"http://www.opengis.net/gml":{LineStringSegment:Wh(Gf.prototype.An)}}),em.Rh=function(t,e,o){var i=o[o.length-1].srsName;null!=i&&t.setAttribute("srsName",i),i=Uw(t.namespaceURI,"pos"),t.appendChild(i),o=o[o.length-1].srsName,t="enu",null!=o&&(t=uo(xo(o))),e=e.K(),Uf(i,"en"===t.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0])};var sx={"http://www.opengis.net/gml":{lowerCorner:Yh(Uf),upperCorner:Yh(Uf)}};em=Gf.prototype,em.wo=function(e,o,i){var n=i[i.length-1].srsName;t(n)&&e.setAttribute("srsName",n),iu({P:e},sx,zw,[o[0]+" "+o[1],o[2]+" "+o[3]],i,["lowerCorner","upperCorner"],this)},em.Oh=function(t,e,o){var i=o[o.length-1].srsName;null!=i&&t.setAttribute("srsName",i),i=Uw(t.namespaceURI,"posList"),t.appendChild(i),Hf(i,e,o)},em.hi=function(e,o){var i=o[o.length-1],n=i.P,r=i.exteriorWritten;return t(r)||(i.exteriorWritten=!0),Uw(n.namespaceURI,t(r)?"interior":"exterior")},em.Ce=function(t,e,o){var i=o[o.length-1].srsName;"PolygonPatch"!==t.nodeName&&null!=i&&t.setAttribute("srsName",i),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Ed(),iu({P:t,srsName:i},hx,this.hi,e,o,void 0,this)):"Surface"===t.nodeName&&(i=Uw(t.namespaceURI,"patches"),t.appendChild(i),t=Uw(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Ce(t,e,o))},em.xe=function(t,e,o){var i=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&null!=i&&t.setAttribute("srsName",i),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(i=Uw(t.namespaceURI,"posList"),t.appendChild(i),Hf(i,e,o)):"Curve"===t.nodeName&&(i=Uw(t.namespaceURI,"segments"),t.appendChild(i), -t=Uw(i.namespaceURI,"LineStringSegment"),i.appendChild(t),this.xe(t,e,o))},em.Qh=function(t,e,o){var i=o[o.length-1],n=i.srsName,i=i.surface;null!=n&&t.setAttribute("srsName",n),e=e.Id(),iu({P:t,srsName:n,surface:i},ax,this.d,e,o,void 0,this)},em.xo=function(t,e,o){var i=o[o.length-1].srsName;null!=i&&t.setAttribute("srsName",i),e=e.ce(),iu({P:t,srsName:i},px,_h("pointMember"),e,o,void 0,this)},em.Ph=function(t,e,o){var i=o[o.length-1],n=i.srsName,i=i.curve;null!=n&&t.setAttribute("srsName",n),e=e.ad(),iu({P:t,srsName:n,curve:i},lx,this.d,e,o,void 0,this)},em.Sh=function(t,e,o){var i=Uw(t.namespaceURI,"LinearRing");t.appendChild(i),this.Oh(i,e,o)},em.Th=function(e,o,i){var n=this.c(o,i);t(n)&&(e.appendChild(n),this.Ce(n,o,i))},em.yo=function(t,e,o){var i=Uw(t.namespaceURI,"Point");t.appendChild(i),this.Rh(i,e,o)},em.Nh=function(e,o,i){var n=this.c(o,i);t(n)&&(e.appendChild(n),this.xe(n,o,i))},em.Ae=function(e,o,i){var n=i[i.length-1],r=nt(n);r.P=e;var a;a=s(o)?t(n.dataProjection)?ko(o,n.featureProjection,n.dataProjection):o:ff(o,!0,n),iu(r,ux,this.c,[a],i,void 0,this)},em.Lh=function(e,o,i){var n=o.$;t(n)&&e.setAttribute("fid",n);var n=i[i.length-1],r=n.featureNS,s=o.a;t(n.fc)||(n.fc={},n.fc[r]={});var a=o.D();o=[];var p,l=[];for(p in a){var h=a[p];null!==h&&(o.push(p),l.push(h),p==s?p in n.fc[r]||(n.fc[r][p]=Yh(this.Ae,this)):p in n.fc[r]||(n.fc[r][p]=Yh(Uf)))}p=nt(n),p.P=e,iu(p,n.fc,_h(void 0,r),l,i,o)};var ax={"http://www.opengis.net/gml":{surfaceMember:Yh(Gf.prototype.Th),polygonMember:Yh(Gf.prototype.Th)}},px={"http://www.opengis.net/gml":{pointMember:Yh(Gf.prototype.yo)}},lx={"http://www.opengis.net/gml":{lineStringMember:Yh(Gf.prototype.Nh),curveMember:Yh(Gf.prototype.Nh)}},hx={"http://www.opengis.net/gml":{exterior:Yh(Gf.prototype.Sh),interior:Yh(Gf.prototype.Sh)}},ux={"http://www.opengis.net/gml":{Curve:Yh(Gf.prototype.xe),MultiCurve:Yh(Gf.prototype.Ph),Point:Yh(Gf.prototype.Rh),MultiPoint:Yh(Gf.prototype.xo),LineString:Yh(Gf.prototype.xe),MultiLineString:Yh(Gf.prototype.Ph),LinearRing:Yh(Gf.prototype.Oh),Polygon:Yh(Gf.prototype.Ce),MultiPolygon:Yh(Gf.prototype.Qh),Surface:Yh(Gf.prototype.Ce),MultiSurface:Yh(Gf.prototype.Qh),Envelope:Yh(Gf.prototype.wo)}},cx={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};Gf.prototype.d=function(t,e){return Uw("http://www.opengis.net/gml",cx[e[e.length-1].P.nodeName])},Gf.prototype.c=function(t,e){var o,i=e[e.length-1],n=i.multiSurface,r=i.surface,a=i.curve,i=i.multiCurve;return s(t)?o="Envelope":(o=t.M(),"MultiPolygon"===o&&!0===n?o="MultiSurface":"Polygon"===o&&!0===r?o="Surface":"LineString"===o&&!0===a?o="Curve":"MultiLineString"===o&&!0===i&&(o="MultiCurve")),Uw("http://www.opengis.net/gml",o)},Gf.prototype.q=function(e,o){o=cf(this,o);var i=Uw("http://www.opengis.net/gml","geom"),n={P:i,srsName:this.srsName,curve:this.e,surface:this.i,multiSurface:this.g,multiCurve:this.f};return t(o)&&rt(n,o),this.Ae(i,e,[n]),i},Gf.prototype.a=function(e,o){o=cf(this,o);var i=Uw("http://www.opengis.net/gml","featureMembers");Ww(i,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var n={srsName:this.srsName,curve:this.e,surface:this.i,multiSurface:this.g,multiCurve:this.f,featureNS:this.featureNS,featureType:this.featureType};t(o)&&rt(n,o);var n=[n],r=n[n.length-1],s=r.featureType,a=r.featureNS,p={};return p[a]={},p[a][s]=Yh(this.Lh,this),r=nt(r),r.P=i,iu(r,p,_h(s,a),e,n),i},v(qf,Pf),em=qf.prototype,em.gh=function(t,e){var o=kh(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,n=t.parentNode.getAttribute("srsDimension"),s="enu";null===i||(s=uo(xo(i))),o=o.split(/[\s,]+/),i=2,r(t.getAttribute("srsDimension"))?r(t.getAttribute("dimension"))?null===n||(i=If(n)):i=If(t.getAttribute("dimension")):i=If(t.getAttribute("srsDimension"));for(var a,p,l=[],h=0,u=o.length;h<u;h+=i)n=parseFloat(o[h]),a=parseFloat(o[h+1]),p=3===i?parseFloat(o[h+2]):0,"en"===s.substr(0,2)?l.push(n,a,p):l.push(a,n,p);return l},em.wn=function(t,e){var o=eu([null],this.Uh,t,e,this);return qe(o[1][0],o[1][1],o[1][3],o[1][4])},em.pk=function(e,o){var i=eu(void 0,this.td,e,o,this);t(i)&&o[o.length-1].push(i)},em.gn=function(e,o){var i=eu(void 0,this.td,e,o,this);t(i)&&(o[o.length-1][0]=i)},em.sd=Object({"http://www.opengis.net/gml":{coordinates:Wh(qf.prototype.gh)}}),em.De=Object({"http://www.opengis.net/gml":{innerBoundaryIs:qf.prototype.pk,outerBoundaryIs:qf.prototype.gn}}),em.Uh=Object({"http://www.opengis.net/gml":{coordinates:Xh(qf.prototype.gh)}}),em.Cf=Object({"http://www.opengis.net/gml":{Point:Wh(Pf.prototype.mh),MultiPoint:Wh(Pf.prototype.kh),LineString:Wh(Pf.prototype.re),MultiLineString:Wh(Pf.prototype.jh),LinearRing:Wh(Pf.prototype.ih),Polygon:Wh(Pf.prototype.se),MultiPolygon:Wh(Pf.prototype.lh),Box:Wh(qf.prototype.wn)}}),v($f,Mf);var fx=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"],yx={rte:Kf,trk:Vf,wpt:Yf},dx=Vh(fx,{rte:Xh(Kf),trk:Xh(Vf),wpt:Xh(Yf)}),gx=Vh(fx,{text:Kh(Df,"linkText"),type:Kh(Df,"linkType")}),vx=Vh(fx,{name:Kh(Df),cmt:Kh(Df),desc:Kh(Df),src:Kh(Df),link:Wf,number:Kh(jf),extensions:zf,type:Kh(Df),rtept:function(e,o){var i=eu({},mx,e,o);t(i)&&Xf(o[o.length-1].flatCoordinates,e,i)}}),mx=Vh(fx,{ele:Kh(Lf),time:Kh(Rf)}),bx=Vh(fx,{name:Kh(Df),cmt:Kh(Df),desc:Kh(Df),src:Kh(Df),link:Wf,number:Kh(jf),type:Kh(Df),extensions:zf,trkseg:function(t,e){var o=e[e.length-1];tu(wx,t,e),o.ends.push(o.flatCoordinates.length)}}),wx=Vh(fx,{trkpt:function(e,o){var i=eu({},xx,e,o);t(i)&&Xf(o[o.length-1].flatCoordinates,e,i)}}),xx=Vh(fx,{ele:Kh(Lf),time:Kh(Rf)}),Sx=Vh(fx,{ele:Kh(Lf),time:Kh(Rf),magvar:Kh(Lf),geoidheight:Kh(Lf),name:Kh(Df),cmt:Kh(Df),desc:Kh(Df),src:Kh(Df),link:Wf,sym:Kh(Df),type:Kh(Df),fix:Kh(Df),sat:Kh(jf),hdop:Kh(Lf),vdop:Kh(Lf),pdop:Kh(Lf),ageofdgpsdata:Kh(Lf),dgpsid:Kh(jf),extensions:zf});$f.prototype.fh=function(e,o){if(!N(fx,e.namespaceURI))return null;var i=yx[e.localName];return t(i)?(i=i(e,[uf(this,e,o)]),t(i)?(Zf(this,[i]),i):null):null},$f.prototype.Ob=function(e,o){if(!N(fx,e.namespaceURI))return[];if("gpx"==e.localName){var i=eu([],dx,e,[uf(this,e,o)]);if(t(i))return Zf(this,i),i}return[]};var Tx=["text","type"],Mx=Qh(fx,{text:Yh(Uf),type:Yh(Uf)}),Cx=Qh(fx,"name cmt desc src link number type rtept".split(" ")),Ex=Qh(fx,{name:Yh(Uf),cmt:Yh(Uf),desc:Yh(Uf),src:Yh(Uf),link:Yh(_f),number:Yh(Bf),type:Yh(Uf),rtept:Zh(Yh(Jf))}),Px=Qh(fx,"name cmt desc src link number type trkseg".split(" ")),kx=Qh(fx,{name:Yh(Uf),cmt:Yh(Uf),desc:Yh(Uf),src:Yh(Uf),link:Yh(_f),number:Yh(Bf),type:Yh(Uf),trkseg:Zh(Yh(function(t,e,o){iu({P:t,geometryLayout:e.a,properties:{}},Rx,Ax,e.K(),o)}))}),Ax=_h("trkpt"),Rx=Qh(fx,{trkpt:Yh(Jf)}),Lx=Qh(fx,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),Nx=Qh(fx,{ele:Yh(Of),time:Yh(function(t,e){var o=new Date(1e3*e),o=o.getUTCFullYear()+"-"+S(o.getUTCMonth()+1)+"-"+S(o.getUTCDate())+"T"+S(o.getUTCHours())+":"+S(o.getUTCMinutes())+":"+S(o.getUTCSeconds())+"Z";t.appendChild(Bw.createTextNode(o))}),magvar:Yh(Of),geoidheight:Yh(Of),name:Yh(Uf),cmt:Yh(Uf),desc:Yh(Uf),src:Yh(Uf),link:Yh(_f),sym:Yh(Uf),type:Yh(Uf),fix:Yh(Uf),sat:Yh(Bf),hdop:Yh(Of),vdop:Yh(Of),pdop:Yh(Of),ageofdgpsdata:Yh(Of),dgpsid:Yh(Bf)}),jx={Point:"wpt",LineString:"rte",MultiLineString:"trk"},Ix=Qh(fx,{rte:Yh(function(e,o,i){var n=i[0],r=o.D();e={P:e,properties:r},o=o.Q(),t(o)&&(o=ff(o,!0,n),e.geometryLayout=o.a,r.rtept=o.K()),n=Cx[i[i.length-1].P.namespaceURI],r=Jh(r,n),iu(e,Ex,zw,r,i,n)}),trk:Yh(function(e,o,i){var n=i[0],r=o.D();e={P:e,properties:r},o=o.Q(),t(o)&&(o=ff(o,!0,n),r.trkseg=o.ad()),n=Px[i[i.length-1].P.namespaceURI],r=Jh(r,n),iu(e,kx,zw,r,i,n)}),wpt:Yh(function(e,o,i){var n=i[0],r=i[i.length-1];r.properties=o.D(),o=o.Q(),t(o)&&(o=ff(o,!0,n),r.geometryLayout=o.a,Jf(e,o.K(),i))})});$f.prototype.a=function(t,e){e=cf(this,e);var o=Uw("http://www.topografix.com/GPX/1/1","gpx");return iu({P:o},Ix,Qf,t,[e]),o},v(iy,hf),em=iy.prototype,em.M=function(){return"text"},em.sb=function(t,e){return this.hd(p(t)?t:"",cf(this,e))},em.ja=function(t,e){return this.pf(p(t)?t:"",cf(this,e))},em.Gc=function(t,e){return this.kd(p(t)?t:"",cf(this,e))},em.za=function(){return this.defaultDataProjection},em.qd=function(t,e){return this.ye(t,cf(this,e))},em.ub=function(t,e){return this.Mh(t,cf(this,e))},em.Mc=function(t,e){return this.rd(t,cf(this,e))},v(ny,iy);var Dx=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Fx=/^H.([A-Z]{3}).*?:(.*)/,Ox=/^HFDTE(\d{2})(\d{2})(\d{2})/;ny.prototype.hd=function(t,e){var o,i,n=this.b,r=ty(t),s={},a=[],p=2e3,l=0,h=1;for(o=0,i=r.length;o<i;++o){var u,c=r[o];if("B"==c.charAt(0)){if(u=Dx.exec(c)){var c=parseInt(u[1],10),f=parseInt(u[2],10),y=parseInt(u[3],10),d=parseInt(u[4],10)+parseInt(u[5],10)/6e4;"S"==u[6]&&(d=-d);var g=parseInt(u[7],10)+parseInt(u[8],10)/6e4;"W"==u[9]&&(g=-g),a.push(g,d),"none"!=n&&a.push("gps"==n?parseInt(u[11],10):"barometric"==n?parseInt(u[12],10):0),a.push(Date.UTC(p,l,h,c,f,y)/1e3)}}else"H"==c.charAt(0)&&((u=Ox.exec(c))?(h=parseInt(u[1],10),l=parseInt(u[2],10)-1,p=2e3+parseInt(u[3],10)):(u=Fx.exec(c))&&(s[u[1]]=cm(u[2]),Ox.exec(c)))}return 0===a.length?null:(r=new ml(null),wl(r,"none"==n?"XYM":"XYZM",a),n=new af(ff(r,!1,e)),n.t(s),n)},ny.prototype.pf=function(t,e){var o=this.hd(t,e);return null===o?[]:[o]},em=ry.prototype,em.Pb="",em.pc="",em.ib="",em.Ec=null,em.hb="",em.Sb="",em.Yb=!1,em.toString=function(){var t=[],e=this.Pb;if(e&&t.push(cy(e,Bx,!0),":"),e=this.ib){t.push("//");var o=this.pc;o&&t.push(cy(o,Bx,!0),"@"),t.push(encodeURIComponent(String(e)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e=this.Ec,null!=e&&t.push(":",String(e))}return(e=this.hb)&&(this.ib&&"/"!=e.charAt(0)&&t.push("/"),t.push(cy(e,"/"==e.charAt(0)?Gx:Ux,!0))),(e=this.b.toString())&&t.push("?",e),(e=this.Sb)&&t.push("#",cy(e,qx)),t.join("")},em.clone=function(){return new ry(this)};var Bx=/[#\/\?@]/g,Ux=/[\#\?:]/g,Gx=/[\#\?]/g,Hx=/[\#\?@]/g,qx=/#/g;em=yy.prototype,em.ia=null,em.va=null,em.Tb=function(){return dy(this),this.va},em.add=function(t,e){dy(this),this.b=null,t=my(this,t);var o=this.ia.get(t);return o||this.ia.set(t,o=[]),o.push(e),this.va++,this},em.remove=function(t){return dy(this),t=my(this,t),!!er(this.ia.a,t)&&(this.b=null,this.va-=this.ia.get(t).length,this.ia.remove(t))},em.clear=function(){this.ia=this.b=null,this.va=0},em.la=function(){return dy(this),0==this.va},em.C=function(){dy(this);for(var t=this.ia.cb(),e=this.ia.C(),o=[],i=0;i<e.length;i++)for(var n=t[i],r=0;r<n.length;r++)o.push(e[i]);return o},em.cb=function(t){dy(this);var e=[];if(p(t))gy(this,t)&&(e=I(e,this.ia.get(my(this,t))));else{t=this.ia.cb();for(var o=0;o<t.length;o++)e=I(e,t[o])}return e},em.set=function(t,e){return dy(this),this.b=null,t=my(this,t),gy(this,t)&&(this.va-=this.ia.get(t).length),this.ia.set(t,[e]),this.va++,this},em.get=function(t,e){var o=t?this.cb(t):[];return 0<o.length?String(o[0]):e},em.toString=function(){if(this.b)return this.b;if(!this.ia)return"";for(var t=[],e=this.ia.C(),o=0;o<e.length;o++)for(var i=e[o],n=encodeURIComponent(String(i)),i=this.cb(i),r=0;r<i.length;r++){var s=n;""!==i[r]&&(s+="="+encodeURIComponent(String(i[r]))),t.push(s)}return this.b=t.join("&")},em.clone=function(){var t=new yy;return t.b=this.b,this.ia&&(t.ia=this.ia.clone(),t.va=this.va),t},em=wy.prototype,em.Wi=function(){return this.d},em.mj=function(){return this.q},em.nj=function(){return this.l},em.Qm=function(){return this.b},em.Rm=function(){return this.e},em.Sm=function(){return this.a},em.Tm=function(){return this.f},em.Um=function(){return this.c},em.xj=function(){return this.g},em.yj=function(){return this.i},em.Wn=function(t){this.d=t},em.Vn=function(t){this.b=t},em.Vm=function(t){this.e=t},em.Wm=function(t){this.a=t},em.eo=function(t){this.f=t},em.fo=function(t){this.c=t},em.ho=function(t){this.g=t},em.io=function(t){this.i=t},v(xy,Mf);var $x=["http://www.google.com/kml/ext/2.2"],Xx=[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"],Wx=[255,255,255,1],zx=new ep({color:Wx}),Kx=[20,2],Vx=[64,64],Yx=new us({anchor:Kx,anchorOrigin:"bottom-left",anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:.5,size:Vx,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),Zx=new tp({color:Wx,width:1}),_x=new wy({font:"normal 16px Helvetica",fill:zx,stroke:Zx,scale:1}),Jx=[new ip({fill:zx,image:Yx,text:_x,stroke:Zx,zIndex:0})],Qx={fraction:"fraction",pixels:"pixels"},tS=Vh(Xx,{value:Wh(Df)}),eS=Vh(Xx,{Data:function(e,o){var i=e.getAttribute("name");if(null!==i){var n=eu(void 0,tS,e,o);t(n)&&(o[o.length-1][i]=n)}},SchemaData:function(t,e){tu(wS,t,e)}}),oS=Vh(Xx,{extrude:Kh(kf),altitudeMode:Kh(Df)}),iS=Vh(Xx,{coordinates:Wh(Ty)}),nS=Vh(Xx,{innerBoundaryIs:function(e,o){var i=eu(void 0,lS,e,o);t(i)&&o[o.length-1].push(i)},outerBoundaryIs:function(e,o){var i=eu(void 0,gS,e,o);t(i)&&(o[o.length-1][0]=i)}}),rS=Vh(Xx,{when:function(e,o){var i=o[o.length-1].Kh,n=kh(e,!1);if(n=/^\s*(\d{4})($|-(\d{2})($|-(\d{2})($|T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?)))))\s*$/.exec(n)){var r=Date.UTC(parseInt(n[1],10),t(n[3])?parseInt(n[3],10)-1:0,t(n[5])?parseInt(n[5],10):1,t(n[7])?parseInt(n[7],10):0,t(n[8])?parseInt(n[8],10):0,t(n[9])?parseInt(n[9],10):0);if(t(n[10])&&"Z"!=n[10]){var s="-"==n[11]?-1:1,r=r+60*s*parseInt(n[12],10);t(n[13])&&(r+=3600*s*parseInt(n[13],10))}i.push(r)}else i.push(0)}},Vh($x,{coord:function(t,e){var o=e[e.length-1].j,i=kh(t,!1);(i=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(i))?o.push(parseFloat(i[1]),parseFloat(i[2]),parseFloat(i[3]),0):o.push(0,0,0,0)}})),sS=Vh(Xx,{coordinates:Wh(Ty)}),aS=Vh(Xx,{href:Kh(My)},Vh($x,{x:Kh(Lf),y:Kh(Lf),w:Kh(Lf),h:Kh(Lf)})),pS=Vh(Xx,{Icon:Kh(function(e,o){var i=eu({},aS,e,o);return t(i)?i:null}),heading:Kh(Lf),hotSpot:Kh(function(t){var e=t.getAttribute("xunits"),o=t.getAttribute("yunits");return{x:parseFloat(t.getAttribute("x")),Af:Qx[e],y:parseFloat(t.getAttribute("y")),Bf:Qx[o]}}),scale:Kh(Cy)}),lS=Vh(Xx,{LinearRing:Wh(Ey)}),hS=Vh(Xx,{color:Kh(Sy),scale:Kh(Cy)}),uS=Vh(Xx,{color:Kh(Sy),width:Kh(Lf)}),cS=Vh(Xx,{LineString:Xh(ky),LinearRing:Xh(Ay),MultiGeometry:Xh(Ry),Point:Xh(Ly),Polygon:Xh(Ny)}),fS=Vh($x,{Track:Xh(Py)}),yS=Vh(Xx,{ExtendedData:Dy,Link:function(t,e){tu(dS,t,e)},address:Kh(Df),description:Kh(Df),name:Kh(Df),open:Kh(kf),phoneNumber:Kh(Df),visibility:Kh(kf)}),dS=Vh(Xx,{href:Kh(My)}),gS=Vh(Xx,{LinearRing:Wh(Ey)}),vS=Vh(Xx,{Style:Kh(jy),key:Kh(Df),styleUrl:Kh(function(t){var e=cm(kh(t,!1));return null!=t.baseURI?hy(t.baseURI,e).toString():e})}),mS=Vh(Xx,{ExtendedData:Dy,MultiGeometry:Kh(Ry,"geometry"),LineString:Kh(ky,"geometry"),LinearRing:Kh(Ay,"geometry"),Point:Kh(Ly,"geometry"),Polygon:Kh(Ny,"geometry"),Style:Kh(jy),StyleMap:function(e,o){var i=eu(void 0,SS,e,o);if(t(i)){var n=o[o.length-1];s(i)?n.Style=i:p(i)&&(n.styleUrl=i)}},address:Kh(Df),description:Kh(Df),name:Kh(Df),open:Kh(kf),phoneNumber:Kh(Df),styleUrl:Kh(My),visibility:Kh(kf)},Vh($x,{MultiTrack:Kh(function(e,o){var i=eu([],fS,e,o);if(t(i)){var n=new xl(null);return Ml(n,i),n}},"geometry"),Track:Kh(Py,"geometry")})),bS=Vh(Xx,{color:Kh(Sy),fill:Kh(kf),outline:Kh(kf)}),wS=Vh(Xx,{SimpleData:function(t,e){var o=t.getAttribute("name");if(null!==o){var i=Df(t);e[e.length-1][o]=i}}}),xS=Vh(Xx,{IconStyle:function(e,o){var i=eu({},pS,e,o);if(t(i)){var n,r=o[o.length-1],s=ot(i,"Icon",{});n=s.href,n=t(n)?n:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png";var a,p,l,h=i.hotSpot;t(h)?(a=[h.x,h.y],p=h.Af,l=h.Bf):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===n?(a=Kx,l=p="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(n)&&(a=[.5,0],l=p="fraction");var u,h=s.x,c=s.y;t(h)&&t(c)&&(u=[h,c]);var f,h=s.w,s=s.h;t(h)&&t(s)&&(f=[h,s]);var y,s=i.heading;t(s)&&(y=ct(s)),i=i.scale,"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==n&&(f=Vx),a=new us({anchor:a,anchorOrigin:"bottom-left",anchorXUnits:p,anchorYUnits:l,crossOrigin:"anonymous",offset:u,offsetOrigin:"bottom-left",rotation:y,scale:i,size:f,src:n}),r.imageStyle=a}},LabelStyle:function(e,o){var i=eu({},hS,e,o);t(i)&&(o[o.length-1].textStyle=new wy({fill:new ep({color:ot(i,"color",Wx)}),scale:i.scale}))},LineStyle:function(e,o){var i=eu({},uS,e,o);t(i)&&(o[o.length-1].strokeStyle=new tp({color:ot(i,"color",Wx),width:ot(i,"width",1)}))},PolyStyle:function(e,o){var i=eu({},bS,e,o);if(t(i)){var n=o[o.length-1];n.fillStyle=new ep({color:ot(i,"color",Wx)});var r=i.fill;t(r)&&(n.fill=r),i=i.outline,t(i)&&(n.outline=i)}}}),SS=Vh(Xx,{Pair:function(e,o){var i=eu({},vS,e,o);if(t(i)){var n=i.key;t(n)&&"normal"==n&&(n=i.styleUrl,t(n)&&(o[o.length-1]=n),i=i.Style,t(i)&&(o[o.length-1]=i))}}});em=xy.prototype,em.eh=function(e,o){Gw(e);var i=Vh(Xx,{Folder:$h(this.eh,this),Placemark:Xh(this.rf,this),Style:d(this.Jn,this),StyleMap:d(this.In,this)}),i=eu([],i,e,o,this);if(t(i))return i},em.rf=function(e,o){var i=eu({geometry:null},mS,e,o);if(t(i)){var n=new af,r=e.getAttribute("id");return null===r||n.Qb(r),r=o[0],null!=i.geometry&&ff(i.geometry,!1,r),n.t(i),this.c&&n.cf(this.d),n}},em.Jn=function(e,o){var i=e.getAttribute("id");if(null!==i){var n=jy(e,o);t(n)&&(i=null!=e.baseURI?hy(e.baseURI,"#"+i).toString():"#"+i,this.b[i]=n)}},em.In=function(e,o){var i=e.getAttribute("id");if(null!==i){var n=eu(void 0,SS,e,o);t(n)&&(i=null!=e.baseURI?hy(e.baseURI,"#"+i).toString():"#"+i,this.b[i]=n)}},em.fh=function(e,o){if(!N(Xx,e.namespaceURI))return null;var i=this.rf(e,[uf(this,e,o)]);return t(i)?i:null},em.Ob=function(e,o){if(!N(Xx,e.namespaceURI))return[];var i;if(i=Gw(e),"Document"==i||"Folder"==i)return i=this.eh(e,[uf(this,e,o)]),t(i)?i:[];if("Placemark"==i)return i=this.rf(e,[uf(this,e,o)]),t(i)?[i]:[];if("kml"==i){i=[];var n;for(n=e.firstElementChild;null!==n;n=n.nextElementSibling){var r=this.Ob(n,o);t(r)&&F(i,r)}return i}return[]},em.Dn=function(t){return Hw(t)?Fy(this,t):qw(t)?Oy(this,t):p(t)?(t=qh(t),Fy(this,t)):void 0},em.En=function(t){var e=[];return Hw(t)?F(e,By(this,t)):qw(t)?F(e,Uy(this,t)):p(t)&&(t=qh(t),F(e,By(this,t))),e};var TS=Qh(Xx,["Document","Placemark"]),MS=Qh(Xx,{Document:Yh(function(t,e,o){iu({P:t},CS,Ky,e,o)}),Placemark:Yh(qy)}),CS=Qh(Xx,{Placemark:Yh(qy)}),ES={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry"},PS=Qh(Xx,["href"],Qh($x,["x","y","w","h"])),kS=Qh(Xx,{href:Yh(Uf)},Qh($x,{x:Yh(Of),y:Yh(Of),w:Yh(Of),h:Yh(Of)})),AS=Qh(Xx,["scale","heading","Icon","hotSpot"]),RS=Qh(Xx,{Icon:Yh(function(t,e,o){t={P:t};var i=PS[o[o.length-1].P.namespaceURI],n=Jh(e,i);iu(t,kS,zw,n,o,i),i=PS[$x[0]],n=Jh(e,i),iu(t,kS,zy,n,o,i)}),heading:Yh(Of),hotSpot:Yh(function(t,e){t.setAttribute("x",e.x),t.setAttribute("y",e.y),t.setAttribute("xunits",e.Af),t.setAttribute("yunits",e.Bf)}),scale:Yh(Wy)}),LS=Qh(Xx,["color","scale"]),NS=Qh(Xx,{color:Yh(Gy),scale:Yh(Wy)}),jS=Qh(Xx,["color","width"]),IS=Qh(Xx,{color:Yh(Gy),width:Yh(Of)}),DS=Qh(Xx,{LinearRing:Yh($y)}),FS=Qh(Xx,{LineString:Yh($y),Point:Yh($y),Polygon:Yh(Xy)}),OS=Qh(Xx,"name open visibility address phoneNumber description styleUrl Style".split(" ")),BS=Qh(Xx,{MultiGeometry:Yh(function(t,e,o){t={P:t};var i,n,r=e.M();"MultiPoint"==r?(i=e.ce(),n=KS):"MultiLineString"==r?(i=e.ad(),n=VS):"MultiPolygon"==r&&(i=e.Id(),n=ZS),iu(t,FS,n,i,o)}),LineString:Yh($y),LinearRing:Yh($y),Point:Yh($y),Polygon:Yh(Xy),Style:Yh(function(t,e,o){t={P:t};var i={},n=e.e,r=e.c,s=e.f;e=e.a,null===s||(i.IconStyle=s),null===e||(i.LabelStyle=e),null===r||(i.LineStyle=r),null===n||(i.PolyStyle=n),e=qS[o[o.length-1].P.namespaceURI],i=Jh(i,e),iu(t,$S,zw,i,o,e)}),address:Yh(Uf),description:Yh(Uf),name:Yh(Uf),open:Yh(Ff),phoneNumber:Yh(Uf),styleUrl:Yh(Uf),visibility:Yh(Ff)}),US=Qh(Xx,{coordinates:Yh(function(t,e,o){o=o[o.length-1];var i=o.layout;o=o.stride;var n;"XY"==i||"XYM"==i?n=2:("XYZ"==i||"XYZM"==i)&&(n=3);var r,s=e.length,a="";if(0<s){for(a+=e[0],i=1;i<n;++i)a+=","+e[i];for(r=o;r<s;r+=o)for(a+=" "+e[r],i=1;i<n;++i)a+=","+e[r+i]}Uf(t,a)})}),GS=Qh(Xx,{outerBoundaryIs:Yh(Hy),innerBoundaryIs:Yh(Hy)}),HS=Qh(Xx,{color:Yh(Gy)}),qS=Qh(Xx,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),$S=Qh(Xx,{IconStyle:Yh(function(t,e,o){t={P:t};var i={},n=e.Xa(),r=e.Dd(),s={href:e.b.f};if(null!==n){s.w=n[0],s.h=n[1];var a=e.mb(),p=e.rb();null!==p&&null!==r&&0!==p[0]&&p[1]!==n[1]&&(s.x=p[0],s.y=r[1]-(p[1]+n[1])),null===a||0===a[0]||a[1]===n[1]||(i.hotSpot={x:a[0],Af:"pixels",y:n[1]-a[1],Bf:"pixels"})}i.Icon=s,n=e.l,1!==n&&(i.scale=n),e=e.q,0!==e&&(i.heading=e),e=AS[o[o.length-1].P.namespaceURI],i=Jh(i,e),iu(t,RS,zw,i,o,e)}),LabelStyle:Yh(function(e,o,i){e={P:e};var n={},r=o.b;null===r||(n.color=r.b),o=o.a,t(o)&&1!==o&&(n.scale=o),o=LS[i[i.length-1].P.namespaceURI],n=Jh(n,o),iu(e,NS,zw,n,i,o)}),LineStyle:Yh(function(t,e,o){t={P:t};var i=jS[o[o.length-1].P.namespaceURI];e=Jh({color:e.b,width:e.a},i),iu(t,IS,zw,e,o,i)}),PolyStyle:Yh(function(t,e,o){iu({P:t},HS,XS,[e.b],o)})}),XS=_h("color"),WS=_h("coordinates"),zS=_h("innerBoundaryIs"),KS=_h("Point"),VS=_h("LineString"),YS=_h("LinearRing"),ZS=_h("Polygon"),_S=_h("outerBoundaryIs");xy.prototype.a=function(t,e){e=cf(this,e);var o=Uw(Xx[4],"kml");Ww(o,"http://www.w3.org/2000/xmlns/","xmlns:gx",$x[0]),Ww(o,"http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),Ww(o,"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 i={P:o},n={};1<t.length?n.Document=t:1==t.length&&(n.Placemark=t[0]);var r=TS[o.namespaceURI],n=Jh(n,r);return iu(i,MS,zw,n,[e],r),o},v(Yy,Mf);var JS=[null],QS=Vh(JS,{nd:function(t,e){e[e.length-1].Ac.push(t.getAttribute("ref"))},tag:Zy}),tT=Vh(JS,{node:function(t,e){var o=e[0],i=e[e.length-1],n=t.getAttribute("id"),r=[parseFloat(t.getAttribute("lon")),parseFloat(t.getAttribute("lat"))];i.ng[n]=r;var s=eu({od:{}},eT,t,e);Q(s.od)||(r=new Ta(r),ff(r,!1,o),o=new af(r),o.Qb(n),o.t(s.od),i.features.push(o))},way:function(t,e){for(var o=e[0],i=t.getAttribute("id"),n=eu({Ac:[],od:{}},QS,t,e),r=e[e.length-1],s=[],a=0,p=n.Ac.length;a<p;a++)F(s,r.ng[n.Ac[a]]);n.Ac[0]==n.Ac[n.Ac.length-1]?(a=new Fa(null),Ua(a,"XY",s,[s.length])):(a=new ml(null),wl(a,"XY",s)),ff(a,!1,o),o=new af(a),o.Qb(i),o.t(n.od),r.features.push(o)}}),eT=Vh(JS,{tag:Zy});Yy.prototype.Ob=function(e,o){var i=uf(this,e,o);return"osm"==e.localName&&(i=eu({ng:{},features:[]},tT,e,[i]),t(i.features))?i.features:[]},Jy.prototype.c=function(t){return Hw(t)?this.a(t):qw(t)?this.b(t):p(t)?(t=qh(t),this.a(t)):null},v(Qy,Jy),Qy.prototype.a=function(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return this.b(t);return null},Qy.prototype.b=function(e){return e=eu({},iT,e,[]),t(e)?e:null};var oT=[null,"http://www.opengis.net/ows/1.1"],iT=Vh(oT,{ServiceIdentification:Kh(function(t,e){return eu({},dT,t,e)}),ServiceProvider:Kh(function(t,e){return eu({},gT,t,e)}),OperationsMetadata:Kh(function(t,e){return eu({},uT,t,e)})}),nT=Vh(oT,{DeliveryPoint:Kh(Df),City:Kh(Df),AdministrativeArea:Kh(Df),PostalCode:Kh(Df),Country:Kh(Df),ElectronicMailAddress:Kh(Df)}),rT=Vh(oT,{Value:zh(function(t){return Df(t)})}),sT=Vh(oT,{AllowedValues:Kh(function(t,e){return eu({},rT,t,e)})}),aT=Vh(oT,{Phone:Kh(function(t,e){return eu({},cT,t,e)}),Address:Kh(function(t,e){return eu({},nT,t,e)})}),pT=Vh(oT,{HTTP:Kh(function(t,e){return eu({},lT,t,e)})}),lT=Vh(oT,{Get:zh(function(e,o){var i=_y(e);return t(i)?eu({href:i},fT,e,o):void 0}),Post:void 0}),hT=Vh(oT,{DCP:Kh(function(t,e){return eu({},pT,t,e)})}),uT=Vh(oT,{Operation:function(e,o){var i=e.getAttribute("name"),n=eu({},hT,e,o);t(n)&&(o[o.length-1][i]=n)}}),cT=Vh(oT,{Voice:Kh(Df),Facsimile:Kh(Df)}),fT=Vh(oT,{Constraint:zh(function(e,o){var i=e.getAttribute("name");return t(i)?eu({name:i},sT,e,o):void 0})}),yT=Vh(oT,{IndividualName:Kh(Df),PositionName:Kh(Df),ContactInfo:Kh(function(t,e){return eu({},aT,t,e)})}),dT=Vh(oT,{Title:Kh(Df),ServiceTypeVersion:Kh(Df),ServiceType:Kh(Df)}),gT=Vh(oT,{ProviderName:Kh(Df),ProviderSite:Kh(_y),ServiceContact:Kh(function(t,e){return eu({},yT,t,e)})});v(ed,iy),em=ed.prototype,em.hd=function(t,e){var o=this.kd(t,e);return new af(o)},em.pf=function(t,e){return[this.hd(t,e)]},em.kd=function(t,e){var o=oa(this.a),i=id(t,o,this.b);return td(i,i.length,o,i),o=va(i,0,i.length,o),ff(new ml(o,this.a),!1,cf(this,e))},em.ye=function(t,e){var o=t.Q();return null!=o?this.rd(o,e):""},em.Mh=function(t,e){return this.ye(t[0],e)},em.rd=function(t,e){t=ff(t,!0,cf(this,e));var o=t.j,i=t.s;return td(o,o.length,i,o),od(o,i,this.b)},v(sd,yf),sd.prototype.of=function(e,o){if("Topology"==e.type){var i,n=null,r=null;t(e.transform)&&(i=e.transform,n=i.scale,r=i.translate);var s=e.arcs;if(t(i)){i=n;var a,p,l=r;for(a=0,p=s.length;a<p;++a)for(var h=s[a],u=i,c=l,f=0,y=0,d=void 0,g=void 0,v=void 0,g=0,v=h.length;g<v;++g)d=h[g],f+=d[0],y+=d[1],d[0]=f,d[1]=y,hd(d,u,c)}for(i=[],l=V(e.objects),a=0,p=l.length;a<p;++a)"GeometryCollection"===l[a].type?(h=l[a],i.push.apply(i,pd(h,s,n,r,o))):(h=l[a],i.push(ld(h,s,n,r,o)));return i}return[]},sd.prototype.za=function(){return this.defaultDataProjection};var vT={Point:function(t,e,o){return t=t.coordinates,null===e||null===o||hd(t,e,o),new Ta(t)},LineString:function(t,e){var o=ad(t.arcs,e);return new ml(o)},Polygon:function(t,e){var o,i,n=[];for(o=0,i=t.arcs.length;o<i;++o)n[o]=ad(t.arcs[o],e);return new Fa(n)},MultiPoint:function(t,e,o){t=t.coordinates;var i,n;if(null!==e&&null!==o)for(i=0,n=t.length;i<n;++i)hd(t[i],e,o);return new Cl(t)},MultiLineString:function(t,e){var o,i,n=[];for(o=0,i=t.arcs.length;o<i;++o)n[o]=ad(t.arcs[o],e);return new xl(n)},MultiPolygon:function(t,e){var o,i,n,r,s,a,p=[];for(s=0,a=t.arcs.length;s<a;++s){for(o=t.arcs[s],i=[],n=0,r=o.length;n<r;++n)i[n]=ad(o[n],e);p[s]=i}return new El(p)}};v(ud,Mf),ud.prototype.Ob=function(e,o){var i={featureType:this.e,featureNS:this.c};return rt(i,uf(this,e,t(o)?o:{})),i=[i],this.b.b["http://www.opengis.net/gml"].featureMember=Xh(Pf.prototype.jd),i=eu([],this.b.b,e,i,this.b),t(i)||(i=[]),i},ud.prototype.g=function(t){return Hw(t)?yd(t):qw(t)?eu({},ST,t,[]):p(t)?(t=qh(t),yd(t)):void 0},ud.prototype.f=function(t){return Hw(t)?cd(this,t):qw(t)?fd(this,t):p(t)?(t=qh(t),cd(this,t)):void 0};var mT={"http://www.opengis.net/gml":{boundedBy:Kh(Pf.prototype.qe,"bounds")}},bT={"http://www.opengis.net/wfs":{totalInserted:Kh(jf),totalUpdated:Kh(jf),totalDeleted:Kh(jf)}},wT={"http://www.opengis.net/ogc":{FeatureId:Xh(function(t){return t.getAttribute("fid")})}},xT={"http://www.opengis.net/wfs":{Feature:function(t,e){tu(wT,t,e)}}},ST={"http://www.opengis.net/wfs":{TransactionSummary:Kh(function(t,e){return eu({},bT,t,e)},"transactionSummary"),InsertResults:Kh(function(t,e){return eu([],xT,t,e)},"insertIds")}},TT={"http://www.opengis.net/wfs":{PropertyName:Yh(Uf)}},MT={"http://www.opengis.net/wfs":{Insert:Yh(function(t,e,o){var i=o[o.length-1],i=Uw(i.featureNS,i.featureType);t.appendChild(i),Gf.prototype.Lh(i,e,o)}),Update:Yh(function(e,o,i){var n=i[i.length-1],r=n.featureType,s=n.featurePrefix,s=t(s)?s:"feature",a=n.featureNS;if(e.setAttribute("typeName",s+":"+r),Ww(e,"http://www.w3.org/2000/xmlns/","xmlns:"+s,a),r=o.$,t(r)){for(var s=o.C(),a=[],p=0,l=s.length;p<l;p++){var h=o.get(s[p]);t(h)&&a.push({name:s[p],value:h})}iu({P:e,srsName:n.srsName},MT,_h("Property"),a,i),dd(e,r)}}),Delete:Yh(function(e,o,i){var n=i[i.length-1];i=n.featureType;var r=n.featurePrefix,r=t(r)?r:"feature",n=n.featureNS;e.setAttribute("typeName",r+":"+i),Ww(e,"http://www.w3.org/2000/xmlns/","xmlns:"+r,n),o=o.$,t(o)&&dd(e,o)}),Property:Yh(function(t,e,o){var i=Uw("http://www.opengis.net/wfs","Name");t.appendChild(i),Uf(i,e.name),null!=e.value&&(i=Uw("http://www.opengis.net/wfs","Value"),t.appendChild(i),e.value instanceof Qs?Gf.prototype.Ae(i,e.value,o):Uf(i,e.value))}),Native:Yh(function(e,o){t(o.vo)&&e.setAttribute("vendorId",o.vo),t(o.Tn)&&e.setAttribute("safeToIgnore",o.Tn),t(o.value)&&Uf(e,o.value)})}},CT={"http://www.opengis.net/wfs":{Query:Yh(function(e,o,i){var n=i[i.length-1],r=n.featurePrefix,s=n.featureNS,a=n.propertyNames,p=n.srsName;e.setAttribute("typeName",(t(r)?r+":":"")+o),t(p)&&e.setAttribute("srsName",p),t(s)&&Ww(e,"http://www.w3.org/2000/xmlns/","xmlns:"+r,s),o=nt(n),o.P=e,iu(o,TT,_h("PropertyName"),a,i),n=n.bbox,t(n)&&(a=Uw("http://www.opengis.net/ogc","Filter"),o=i[i.length-1].geometryName,r=Uw("http://www.opengis.net/ogc","BBOX"),a.appendChild(r),s=Uw("http://www.opengis.net/ogc","PropertyName"),Uf(s,o),r.appendChild(s),Gf.prototype.Ae(r,n,i),e.appendChild(a))})}};ud.prototype.i=function(e){var o=Uw("http://www.opengis.net/wfs","GetFeature");o.setAttribute("service","WFS"),o.setAttribute("version","1.1.0"),t(e)&&(t(e.handle)&&o.setAttribute("handle",e.handle),t(e.outputFormat)&&o.setAttribute("outputFormat",e.outputFormat),t(e.maxFeatures)&&o.setAttribute("maxFeatures",e.maxFeatures),t(e.resultType)&&o.setAttribute("resultType",e.resultType),t(e.oo)&&o.setAttribute("startIndex",e.oo),t(e.count)&&o.setAttribute("count",e.count)),Ww(o,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.d);var i=e.featureTypes;e=[{P:o,srsName:e.srsName,featureNS:t(e.featureNS)?e.featureNS:this.c,featurePrefix:e.featurePrefix,geometryName:e.geometryName,bbox:e.bbox,bh:t(e.bh)?e.bh:[]}];var n=nt(e[e.length-1]);return n.P=o,iu(n,CT,_h("Query"),i,e),o},ud.prototype.o=function(e,o,i,n){var r=[],s=Uw("http://www.opengis.net/wfs","Transaction");s.setAttribute("service","WFS"),s.setAttribute("version","1.1.0");var a,p;return t(n)&&(a=t(n.gmlOptions)?n.gmlOptions:{},t(n.handle)&&s.setAttribute("handle",n.handle)),Ww(s,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.d),null!=e&&(p={P:s,featureNS:n.featureNS,featureType:n.featureType,featurePrefix:n.featurePrefix},rt(p,a),iu(p,MT,_h("Insert"),e,r)),null!=o&&(p={P:s,featureNS:n.featureNS,featureType:n.featureType,featurePrefix:n.featurePrefix},rt(p,a),iu(p,MT,_h("Update"),o,r)),null!=i&&iu({P:s,featureNS:n.featureNS,featureType:n.featureType,featurePrefix:n.featurePrefix},MT,_h("Delete"),i,r),t(n.nativeElements)&&iu({P:s,featureNS:n.featureNS,featureType:n.featureType,featurePrefix:n.featurePrefix},MT,_h("Native"),n.nativeElements,r),s},ud.prototype.sf=function(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return this.te(t);return null},ud.prototype.te=function(t){if(null!=t.firstElementChild&&null!=t.firstElementChild.firstElementChild)for(t=t.firstElementChild.firstElementChild,t=t.firstElementChild;null!==t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var e=[{}];return this.b.qe(t,e),xo(e.pop().srsName)}return null},v(gd,iy);var ET={Point:vd,LineString:md,Polygon:bd,MultiPoint:function(t){var e=[];t=t.ce();for(var o=0,i=t.length;o<i;++o)e.push("("+vd(t[o])+")");return e.join(",")},MultiLineString:function(t){var e=[];t=t.ad();for(var o=0,i=t.length;o<i;++o)e.push("("+md(t[o])+")");return e.join(",")},MultiPolygon:function(t){var e=[];t=t.Id();for(var o=0,i=t.length;o<i;++o)e.push("("+bd(t[o])+")");return e.join(",")},GeometryCollection:function(t){var e=[];t=t.Vf();for(var o=0,i=t.length;o<i;++o)e.push(wd(t[o]));return e.join(",")}};em=gd.prototype,em.hd=function(e,o){var i=this.kd(e,o);if(t(i)){var n=new af;return n.La(i),n}return null},em.pf=function(t,e){var o=[],i=this.kd(t,e);o=this.b&&"GeometryCollection"==i.M()?i.d:[i];for(var n=[],r=0,s=o.length;r<s;++r)i=new af,i.La(o[r]),n.push(i);return n},em.kd=function(e,o){var i;return i=new Md(new xd(e)),i.b=Td(i.a),i=Cd(i),t(i)?ff(i,!1,o):null},em.ye=function(e,o){var i=e.Q();return t(i)?this.rd(i,o):""},em.Mh=function(t,e){if(1==t.length)return this.ye(t[0],e);for(var o=[],i=0,n=t.length;i<n;++i)o.push(t[i].Q());return o=new ul(o),this.rd(o,e)},em.rd=function(t,e){ -return wd(ff(t,!0,e))},em=Md.prototype,em.match=function(t){return(t=this.b.type==t)&&(this.b=Td(this.a)),t},em.lf=function(){if(this.match(2)){var t=Ed(this);if(this.match(3))return t}else if(Ad(this))return null;throw Error(Rd(this))},em.kf=function(){if(this.match(2)){var t=Pd(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.mf=function(){if(this.match(2)){var t=kd(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.kn=function(){if(this.match(2)){var t;if(2==this.b.type)for(t=[this.lf()];this.match(5);)t.push(this.lf());else t=Pd(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.jn=function(){if(this.match(2)){var t=kd(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.ln=function(){if(this.match(2)){for(var t=[this.mf()];this.match(5);)t.push(this.mf());if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))};var PT={POINT:Ta,LINESTRING:ml,POLYGON:Fa,MULTIPOINT:Cl,MULTILINESTRING:xl,MULTIPOLYGON:El},kT={POINT:Md.prototype.lf,LINESTRING:Md.prototype.kf,POLYGON:Md.prototype.mf,MULTIPOINT:Md.prototype.kn,MULTILINESTRING:Md.prototype.jn,MULTIPOLYGON:Md.prototype.ln};v(Ld,Jy),Ld.prototype.a=function(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return this.b(t);return null},Ld.prototype.b=function(e){return this.version=cm(e.getAttribute("version")),e=eu({version:this.version},RT,e,[]),t(e)?e:null};var AT=[null,"http://www.opengis.net/wms"],RT=Vh(AT,{Service:Kh(function(t,e){return eu({},NT,t,e)}),Capability:Kh(function(t,e){return eu({},LT,t,e)})}),LT=Vh(AT,{Request:Kh(function(t,e){return eu({},GT,t,e)}),Exception:Kh(function(t,e){return eu([],FT,t,e)}),Layer:Kh(function(t,e){return eu({},OT,t,e)})}),NT=Vh(AT,{Name:Kh(Df),Title:Kh(Df),Abstract:Kh(Df),KeywordList:Kh(Dd),OnlineResource:Kh(_y),ContactInformation:Kh(function(t,e){return eu({},jT,t,e)}),Fees:Kh(Df),AccessConstraints:Kh(Df),LayerLimit:Kh(jf),MaxWidth:Kh(jf),MaxHeight:Kh(jf)}),jT=Vh(AT,{ContactPersonPrimary:Kh(function(t,e){return eu({},IT,t,e)}),ContactPosition:Kh(Df),ContactAddress:Kh(function(t,e){return eu({},DT,t,e)}),ContactVoiceTelephone:Kh(Df),ContactFacsimileTelephone:Kh(Df),ContactElectronicMailAddress:Kh(Df)}),IT=Vh(AT,{ContactPerson:Kh(Df),ContactOrganization:Kh(Df)}),DT=Vh(AT,{AddressType:Kh(Df),Address:Kh(Df),City:Kh(Df),StateOrProvince:Kh(Df),PostCode:Kh(Df),Country:Kh(Df)}),FT=Vh(AT,{Format:Xh(Df)}),OT=Vh(AT,{Name:Kh(Df),Title:Kh(Df),Abstract:Kh(Df),KeywordList:Kh(Dd),CRS:zh(Df),EX_GeographicBoundingBox:Kh(function(e,o){var i=eu({},UT,e,o);if(t(i)){var n=i.westBoundLongitude,r=i.southBoundLatitude,s=i.eastBoundLongitude,i=i.northBoundLatitude;return t(n)&&t(r)&&t(s)&&t(i)?[n,r,s,i]:void 0}}),BoundingBox:zh(function(t){var e=[Nf(t.getAttribute("minx")),Nf(t.getAttribute("miny")),Nf(t.getAttribute("maxx")),Nf(t.getAttribute("maxy"))],o=[Nf(t.getAttribute("resx")),Nf(t.getAttribute("resy"))];return{crs:t.getAttribute("CRS"),extent:e,res:o}}),Dimension:zh(function(t){return{name:t.getAttribute("name"),units:t.getAttribute("units"),unitSymbol:t.getAttribute("unitSymbol"),"default":t.getAttribute("default"),multipleValues:Af(t.getAttribute("multipleValues")),nearestValue:Af(t.getAttribute("nearestValue")),current:Af(t.getAttribute("current")),values:Df(t)}}),Attribution:Kh(function(t,e){return eu({},BT,t,e)}),AuthorityURL:zh(function(e,o){var i=Nd(e,o);if(t(i))return i.name=e.getAttribute("name"),i}),Identifier:zh(Df),MetadataURL:zh(function(e,o){var i=Nd(e,o);if(t(i))return i.type=e.getAttribute("type"),i}),DataURL:zh(Nd),FeatureListURL:zh(Nd),Style:zh(function(t,e){return eu({},XT,t,e)}),MinScaleDenominator:Kh(Lf),MaxScaleDenominator:Kh(Lf),Layer:zh(function(e,o){var i=o[o.length-1],n=eu({},OT,e,o);if(t(n)){var r=Af(e.getAttribute("queryable"));return t(r)||(r=i.queryable),n.queryable=!!t(r)&&r,r=If(e.getAttribute("cascaded")),t(r)||(r=i.cascaded),n.cascaded=r,r=Af(e.getAttribute("opaque")),t(r)||(r=i.opaque),n.opaque=!!t(r)&&r,r=Af(e.getAttribute("noSubsets")),t(r)||(r=i.noSubsets),n.noSubsets=!!t(r)&&r,r=Nf(e.getAttribute("fixedWidth")),t(r)||(r=i.fixedWidth),n.fixedWidth=r,r=Nf(e.getAttribute("fixedHeight")),t(r)||(r=i.fixedHeight),n.fixedHeight=r,E(["Style","CRS","AuthorityURL"],function(e){var o=i[e];if(t(o)){var r=it(n,e),r=r.concat(o);n[e]=r}}),E("EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" "),function(e){t(n[e])||(n[e]=i[e])}),n}})}),BT=Vh(AT,{Title:Kh(Df),OnlineResource:Kh(_y),LogoURL:Kh(Id)}),UT=Vh(AT,{westBoundLongitude:Kh(Lf),eastBoundLongitude:Kh(Lf),southBoundLatitude:Kh(Lf),northBoundLatitude:Kh(Lf)}),GT=Vh(AT,{GetCapabilities:Kh(jd),GetMap:Kh(jd),GetFeatureInfo:Kh(jd)}),HT=Vh(AT,{Format:zh(Df),DCPType:zh(function(t,e){return eu({},qT,t,e)})}),qT=Vh(AT,{HTTP:Kh(function(t,e){return eu({},$T,t,e)})}),$T=Vh(AT,{Get:Kh(Nd),Post:Kh(Nd)}),XT=Vh(AT,{Name:Kh(Df),Title:Kh(Df),Abstract:Kh(Df),LegendURL:zh(Id),StyleSheetURL:Kh(Nd),StyleURL:Kh(Nd)}),WT=Vh(AT,{Format:Kh(Df),OnlineResource:Kh(_y)}),zT=Vh(AT,{Keyword:Xh(Df)});v(Fd,Mf),Fd.prototype.Ob=function(e,o){var i={featureType:this.featureType,featureNS:this.featureNS};return t(o)&&rt(i,uf(this,e,o)),Od(this,e,[i])},v(Bd,Jy),Bd.prototype.a=function(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return this.b(t);return null},Bd.prototype.b=function(e){this.version=cm(e.getAttribute("version"));var o=this.d.b(e);return t(o)?(o.version=this.version,o=eu(o,YT,e,[]),t(o)?o:null):null};var KT=[null,"http://www.opengis.net/wmts/1.0"],VT=[null,"http://www.opengis.net/ows/1.1"],YT=Vh(KT,{Contents:Kh(function(t,e){return eu({},ZT,t,e)})}),ZT=Vh(KT,{Layer:zh(function(t,e){return eu({},_T,t,e)}),TileMatrixSet:zh(function(t,e){return eu({},eM,t,e)})}),_T=Vh(KT,{Style:zh(function(e,o){var i=eu({},JT,e,o);if(t(i)){var n="true"===e.getAttribute("isDefault");return i.isDefault=n,i}}),Format:zh(Df),TileMatrixSetLink:zh(function(t,e){return eu({},QT,t,e)}),ResourceURL:zh(function(e){var o=e.getAttribute("format"),i=e.getAttribute("template");e=e.getAttribute("resourceType");var n={};return t(o)&&(n.format=o),t(i)&&(n.template=i),t(e)&&(n.resourceType=e),n})},Vh(VT,{Title:Kh(Df),Abstract:Kh(Df),WGS84BoundingBox:Kh(function(t,e){var o=eu([],tM,t,e);return 2!=o.length?void 0:je(o)}),Identifier:Kh(Df)})),JT=Vh(KT,{LegendURL:zh(function(t){var e={};return e.format=t.getAttribute("format"),e.href=_y(t),e})},Vh(VT,{Title:Kh(Df),Identifier:Kh(Df)})),QT=Vh(KT,{TileMatrixSet:Kh(Df)}),tM=Vh(VT,{LowerCorner:Xh(Ud),UpperCorner:Xh(Ud)}),eM=Vh(KT,{WellKnownScaleSet:Kh(Df),TileMatrix:zh(function(t,e){return eu({},oM,t,e)})},Vh(VT,{SupportedCRS:Kh(Df),Identifier:Kh(Df)})),oM=Vh(KT,{TopLeftCorner:Kh(Ud),ScaleDenominator:Kh(Lf),TileWidth:Kh(jf),TileHeight:Kh(jf),MatrixWidth:Kh(jf),MatrixHeight:Kh(jf)},Vh(VT,{Identifier:Kh(Df)})),iM=new lo(6378137);v(Gd,re),em=Gd.prototype,em.O=function(){this.Zd(!1),Gd.S.O.call(this)},em.Vk=function(){var t=this.sg();null!=t&&(this.d=Mo(xo("EPSG:4326"),t),null===this.a||this.set("position",this.d(this.a)))},em.Wk=function(){if(Rb){var e=this.tg();e&&!t(this.c)?this.c=sm.navigator.geolocation.watchPosition(d(this.tn,this),d(this.vn,this),this.bg()):!e&&t(this.c)&&(sm.navigator.geolocation.clearWatch(this.c),this.c=void 0)}},em.tn=function(t){t=t.coords,this.set("accuracy",t.accuracy),this.set("altitude",null===t.altitude?void 0:t.altitude),this.set("altitudeAccuracy",null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set("heading",null===t.heading?void 0:ct(t.heading)),null===this.a?this.a=[t.longitude,t.latitude]:(this.a[0]=t.longitude,this.a[1]=t.latitude);var e=this.d(this.a);this.set("position",e),this.set("speed",null===t.speed?void 0:t.speed),t=Ga(iM,this.a,t.accuracy),t.qa(this.d),this.set("accuracyGeometry",t),this.k()},em.vn=function(t){t.type="error",this.Zd(!1),this.dispatchEvent(t)},em.Ki=function(){return this.get("accuracy")},em.Li=function(){return this.get("accuracyGeometry")||null},em.Ni=function(){return this.get("altitude")},em.Oi=function(){return this.get("altitudeAccuracy")},em.Tk=function(){return this.get("heading")},em.Uk=function(){return this.get("position")},em.sg=function(){return this.get("projection")},em.vj=function(){return this.get("speed")},em.tg=function(){return this.get("tracking")},em.bg=function(){return this.get("trackingOptions")},em.ug=function(t){this.set("projection",t)},em.Zd=function(t){this.set("tracking",t)},em.Dh=function(t){this.set("trackingOptions",t)};var nM=new tp({color:"rgba(0,0,0,0.2)"}),rM=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];em=Xd.prototype,em.Xk=function(){return this.g},em.kj=function(){return this.b},em.pj=function(){return this.a},em.gg=function(t){var e=t.vectorContext,o=t.frameState;t=o.extent;var i=o.viewState,n=i.center,r=i.projection,i=i.resolution,o=o.pixelRatio,o=i*i/(4*o*o);if(null===this.i||!So(this.i,r)){var s=r.G(),a=r.g,p=a[2],l=a[1],h=a[0];this.c=a[3],this.d=p,this.e=l,this.f=h,a=xo("EPSG:4326"),this.q=To(a,r),this.o=To(r,a),this.l=this.o(_e(s)),this.i=r}for(var u,r=this.l[0],s=this.l[1],a=-1,l=Math.pow(this.n*i,2),h=[],c=[],i=0,p=rM.length;i<p&&(u=rM[i]/2,h[0]=r-u,h[1]=s-u,c[0]=r+u,c[1]=s+u,this.q(h,h),this.q(c,c),u=Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2),!(u<=l));++i)a=rM[i];if(i=a,-1==i)this.b.length=this.a.length=0;else{for(r=this.o(n),n=r[0],r=r[1],s=this.U,n=Math.floor(n/i)*i,l=lt(n,this.f,this.d),p=Wd(this,l,o,t,0),a=0;l!=this.f&&a++<s;)l=Math.max(l-i,this.f),p=Wd(this,l,o,t,p);for(l=lt(n,this.f,this.d),a=0;l!=this.d&&a++<s;)l=Math.min(l+i,this.d),p=Wd(this,l,o,t,p);for(this.b.length=p,r=Math.floor(r/i)*i,n=lt(r,this.e,this.c),p=zd(this,n,o,t,0),a=0;n!=this.e&&a++<s;)n=Math.max(n-i,this.e),p=zd(this,n,o,t,p);for(n=lt(r,this.e,this.c),a=0;n!=this.c&&a++<s;)n=Math.min(n+i,this.c),p=zd(this,n,o,t,p);this.a.length=p}for(e.Aa(null,this.V),t=0,o=this.b.length;t<o;++t)n=this.b[t],e.zb(n,null);for(t=0,o=this.a.length;t<o;++t)n=this.a[t],e.zb(n,null)},em.setMap=function(t){null!==this.g&&(this.g.u("postcompose",this.gg,this),this.g.render()),null!==t&&(t.r("postcompose",this.gg,this),t.render()),this.g=t},v(Kd,_r),Kd.prototype.b=function(e){if(t(e)){var o=c(e);return o in this.d?this.d[o]:(e=Q(this.d)?this.a:this.a.cloneNode(!1),this.d[o]=e)}return this.a},Kd.prototype.q=function(){this.state=3,E(this.c,zt),this.c=null,this.dispatchEvent("change")},Kd.prototype.l=function(){t(this.resolution)||(this.resolution=to(this.extent)/this.a.height),this.state=2,E(this.c,zt),this.c=null,this.dispatchEvent("change")},Kd.prototype.load=function(){0==this.state&&(this.state=1,this.dispatchEvent("change"),this.c=[Xt(this.a,"error",this.q,!1,this),Xt(this.a,"load",this.l,!1,this)],this.g(this,this.i))},v(Vd,nn),em=Vd.prototype,em.O=function(){1==this.state&&Yd(this),Vd.S.O.call(this)},em.Ma=function(e){if(t(e)){var o=c(e);return o in this.c?this.c[o]:(e=Q(this.c)?this.a:this.a.cloneNode(!1),this.c[o]=e)}return this.a},em.gb=function(){return this.g},em.Yk=function(){this.state=3,Yd(this),rn(this)},em.Zk=function(){this.state=this.a.naturalWidth&&this.a.naturalHeight?2:4,Yd(this),rn(this)},em.load=function(){0==this.state&&(this.state=1,rn(this),this.e=[Xt(this.a,"error",this.Yk,!1,this),Xt(this.a,"load",this.Zk,!1,this)],this.i(this,this.g))},v(Jd,Qt),em=Jd.prototype,em.Zc=!1,em.O=function(){Jd.S.O.call(this),this.b.Yc()},em.$m=function(t){var e=t.b.dataTransfer;(this.Zc=!(!e||!(e.types&&(N(e.types,"Files")||N(e.types,"public.file-url"))||e.files&&0<e.files.length)))&&t.preventDefault()},em.an=function(t){this.Zc&&(t.preventDefault(),t.b.dataTransfer.dropEffect="none")},em.bn=function(t){this.Zc&&(t.preventDefault(),t.fb(),t=t.b.dataTransfer,t.effectAllowed="all",t.dropEffect="copy")},em.cn=function(t){this.Zc&&(t.preventDefault(),t.fb(),t=new Rt(t.b),t.type="drop",this.dispatchEvent(t))},Qd.prototype.cancel=function(t){if(this.b)this.c instanceof Qd&&this.c.cancel();else{if(this.a){var e=this.a;delete this.a,t?e.cancel(t):(e.i--,0>=e.i&&e.cancel())}this.U?this.U.call(this.o,this):this.q=!0,this.b||(t=new sg,eg(this),tg(this,!1,t))}},Qd.prototype.l=function(t,e){this.g=!1,tg(this,t,e)},Qd.prototype.then=function(t,e,o){var i,n,r=new zl(function(t,e){i=t,n=e});return og(this,i,function(t){t instanceof sg?r.cancel():n(t)}),r.then(t,e,o)},Gl(Qd),v(rg,m),rg.prototype.message="Deferred has already fired",rg.prototype.name="AlreadyCalledError",v(sg,m),sg.prototype.message="Deferred was canceled",sg.prototype.name="CanceledError",ag.prototype.a=function(){throw delete sM[this.$],this.b};var sM={};v(pg,m);var aM={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};v(hg,Et),v(ug,Qt),ug.prototype.getError=function(){return this.Ya.error&&new pg(this.Ya.error,"reading file")},ug.prototype.b=function(t){this.dispatchEvent(new hg(t,this))},ug.prototype.O=function(){ug.S.O.call(this),delete this.Ya},v(fg,As),fg.prototype.O=function(){t(this.a)&&zt(this.a),fg.S.O.call(this)},fg.prototype.g=function(t){t=t.b.dataTransfer.files;var e,o,i;for(e=0,o=t.length;e<o;++e){var n=i=t[e],r=new ug,s=cg(r);r.Ya.readAsText(n,""),og(s,g(this.i,i),null,this)}},fg.prototype.i=function(t,e){var o=this.l,i=this.o;null===i&&(i=o.R().e);var n,r,o=this.f,s=[];for(n=0,r=o.length;n<r;++n){var a,p=new o[n];try{a=p.ja(e)}catch(l){a=null}if(null!==a){var h,u,p=p.za(e),p=To(p,i);for(h=0,u=a.length;h<u;++h){var c=a[h],f=c.Q();null!=f&&f.qa(p),s.push(c)}}}this.dispatchEvent(new yg(pM,this,t,s,i))},fg.prototype.setMap=function(e){t(this.a)&&(zt(this.a),this.a=void 0),null!==this.e&&(Ct(this.e),this.e=null),fg.S.setMap.call(this,e),null!==e&&(this.e=new Jd(e.a),this.a=Ht(this.e,"drop",this.g,!1,this))};var pM="addfeatures";v(yg,Et),v(dg,pi),dg.prototype.clone=function(){return new dg(this.x,this.y)},dg.prototype.scale=pi.prototype.scale,dg.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},dg.prototype.rotate=function(t){var e=Math.cos(t);t=Math.sin(t);var o=this.y*e+this.x*t;return this.x=this.x*e-this.y*t,this.y=o,this},v(gg,qs),v(wg,Et),v(xg,qs),xg.prototype.setMap=function(t){xg.S.setMap.call(this,t),this.Ra()},xg.prototype.X=function(){var t,e=Rg(this),o=e.Q();this.a===lM?t=o.K():this.a===hM?(t=o.K(),t.pop(),o.W(t)):this.a===uM&&(this.f[0].pop(),this.f[0].push(this.f[0][0]),o.W(this.f),t=o.K()),"MultiPoint"===this.L?e.La(new Cl([t])):"MultiLineString"===this.L?e.La(new xl([t])):"MultiPolygon"===this.L&&e.La(new El([t])),this.dispatchEvent(new wg("drawend",e)),null===this.oa||this.oa.push(e),null===this.Ga||this.Ga.jf(e)},xg.prototype.nc=pb,xg.prototype.Ra=function(){var t=this.l,e=this.c();null!==t&&e||Rg(this),this.T.setMap(e?t:null)};var lM="Point",hM="LineString",uM="Polygon",cM="Circle";v(Ng,qs),em=Ng.prototype,em.Cg=function(e){var o=e.Q();t(this.H[o.M()])&&this.H[o.M()].call(this,e,o),e=this.l,null===e||Ug(this,this.L,e)},em.setMap=function(t){this.n.setMap(t),Ng.S.setMap.call(this,t)},em.vl=function(t){this.Cg(t.element)},em.wl=function(t){var e=t.element;t=this.a;var o,i=[];for(hu(t,e.Q().G(),function(t){e===t.feature&&i.push(t)}),o=i.length-1;0<=o;--o)t.remove(i[o]);null!==this.f&&0===this.p.Ib()&&(this.n.Yd(this.f),this.f=null)},em.Bl=function(t,e){var o=e.K(),o={feature:t,geometry:e,aa:[o,o]};this.a.ha(e.G(),o)},em.zl=function(t,e){var o,i,n,r=e.K();for(i=0,n=r.length;i<n;++i)o=r[i],o={feature:t,geometry:e,depth:[i],index:i,aa:[o,o]},this.a.ha(e.G(),o)},em.Dg=function(t,e){var o,i,n,r,s=e.K();for(o=0,i=s.length-1;o<i;++o)n=s.slice(o,o+2),r={feature:t,geometry:e,index:o,aa:n},this.a.ha(je(n),r)},em.yl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,geometry:e,depth:[r],index:i,aa:a},this.a.ha(je(a),p)},em.Cl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,geometry:e,depth:[r],index:i,aa:a},this.a.ha(je(a),p)},em.Al=function(t,e){var o,i,n,r,s,a,p,l,h,u,c=e.K();for(a=0,p=c.length;a<p;++a)for(l=c[a],r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)h=o.slice(i,i+2),u={feature:t,geometry:e,depth:[r,a],index:i,aa:h},this.a.ha(je(h),u)},em.xl=function(t,e){var o,i=e.d;for(o=0;o<i.length;++o)this.H[i[o].M()].call(this,t,i[o])},em.qk=function(t,e){for(var o,i=t.aa,n=t.feature,r=t.geometry,s=t.depth,a=t.index;e.length<r.s;)e.push(0);switch(r.M()){case"MultiLineString":o=r.K(),o[s[0]].splice(a+1,0,e);break;case"Polygon":o=r.K(),o[s[0]].splice(a+1,0,e);break;case"MultiPolygon":o=r.K(),o[s[1]][s[0]].splice(a+1,0,e);break;case"LineString":o=r.K(),o.splice(a+1,0,e);break;default:return}r.W(o),o=this.a,o.remove(t),Gg(this,r,a,s,1);var p={aa:[i[0],e],feature:n,geometry:r,depth:s,index:a};o.ha(je(p.aa),p),this.g.push([p,1]),i={aa:[e,i[1]],feature:n,geometry:r,depth:s,index:a+1},o.ha(je(i.aa),i),this.g.push([i,0])},v(qg,Et),v($g,As),$g.prototype.p=function(){return this.a.b},$g.prototype.setMap=function(t){var e=this.l,o=this.a.b;null===e||o.forEach(e.Ih,e),$g.S.setMap.call(this,t),this.a.setMap(t),null===t||o.forEach(t.Eh,t)},$g.prototype.n=function(t){t=t.element;var e=this.l;null===e||e.Eh(t)},$g.prototype.J=function(t){t=t.element;var e=this.l;null===e||e.Ih(t)},v(zg,qs),em=zg.prototype,em.ed=function(e,o){var i=!t(o)||o,n=e.Q(),r=this.T[n.M()];if(t(r)){var s=c(e);this.N[s]=n.G(He()),r.call(this,e,n),i&&(this.H[s]=n.r("change",d(this.Oj,this,e),this),this.p[s]=e.r(se(e.a),this.Dl,this))}},em.Hi=function(t){this.ed(t)},em.Ii=function(t){this.fd(t)},em.Eg=function(t){var e;t instanceof mu?e=t.feature:t instanceof ti&&(e=t.element),this.ed(e)},em.Fg=function(t){var e;t instanceof mu?e=t.feature:t instanceof ti&&(e=t.element),this.fd(e)},em.Dl=function(t){t=t.c,this.fd(t,!0),this.ed(t,!0)},em.Oj=function(t){if(this.o){var e=c(t);e in this.n||(this.n[e]=t)}else this.Jh(t)},em.fd=function(e,o){var i=!t(o)||o,n=c(e),r=this.N[n];if(r){var s=this.a,a=[];for(hu(s,r,function(t){e===t.feature&&a.push(t)}),r=a.length-1;0<=r;--r)s.remove(a[r]);i&&(zt(this.H[n]),delete this.H[n],zt(this.p[n]),delete this.p[n])}},em.setMap=function(t){var e,o=this.l,i=this.X;null===this.g?null===this.i||(e=this.i.Dc()):e=this.g,o&&(E(i,ie),i.length=0,e.forEach(this.Ii,this)),zg.S.setMap.call(this,t),t&&(null!==this.g?(i.push(this.g.r("add",this.Eg,this)),i.push(this.g.r("remove",this.Fg,this))):null!==this.i&&(i.push(this.i.r("addfeature",this.Eg,this)),i.push(this.i.r("removefeature",this.Fg,this))),e.forEach(this.Hi,this))},em.nc=pb,em.Jh=function(t){this.fd(t,!1),this.ed(t,!1)},em.El=function(t,e){var o,i=e.d;for(o=0;o<i.length;++o)this.T[i[o].M()].call(this,t,i[o])},em.Gg=function(t,e){var o,i,n,r,s=e.K();for(o=0,i=s.length-1;o<i;++o)n=s.slice(o,o+2),r={feature:t,aa:n},this.a.ha(je(n),r)},em.Fl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,aa:a},this.a.ha(je(a),p)},em.Gl=function(t,e){var o,i,n,r=e.K();for(i=0,n=r.length;i<n;++i)o=r[i],o={feature:t,aa:[o,o]},this.a.ha(e.G(),o)},em.Hl=function(t,e){var o,i,n,r,s,a,p,l,h,u,c=e.K();for(a=0,p=c.length;a<p;++a)for(l=c[a],r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)h=o.slice(i,i+2),u={feature:t,aa:h},this.a.ha(je(h),u)},em.Il=function(t,e){var o=e.K(),o={feature:t,aa:[o,o]};this.a.ha(e.G(),o)},em.Jl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,aa:a},this.a.ha(je(a),p)},v(Zg,Np);var fM=["#00f","#0ff","#0f0","#ff0","#f00"];em=Zg.prototype,em.Sf=function(){return this.get("blur")},em.Wf=function(){return this.get("gradient")},em.Hg=function(){return this.get("radius")},em.Pj=function(){for(var t=this.Wf(),e=mr(1,256),o=e.createLinearGradient(0,0,1,256),i=1/(t.length-1),n=0,r=t.length;n<r;++n)o.addColorStop(n*i,t[n]);e.fillStyle=o,e.fillRect(0,0,1,256),this.d=e.getImageData(0,0,1,256).data},em.hg=function(){var t=this.Hg(),e=this.Sf(),o=t+e+1,i=2*o,i=mr(i,i);i.shadowOffsetX=i.shadowOffsetY=this.L,i.shadowBlur=e,i.shadowColor="#000",i.beginPath(),e=o-this.L,i.arc(e,e,t,0,2*Math.PI,!0),i.fill(),this.p=i.canvas.toDataURL(),this.l=Array(256),this.k()},em.hk=function(t){t=t.context;var e,o,i,n=t.canvas,n=t.getImageData(0,0,n.width,n.height),r=n.data;for(e=0,o=r.length;e<o;e+=4)(i=4*r[e+3])&&(r[e]=this.d[i],r[e+1]=this.d[i+1],r[e+2]=this.d[i+2]);t.putImageData(n,0,0)},em.th=function(t){this.set("blur",t)},em.yh=function(t){this.set("gradient",t)},em.Ig=function(t){this.set("radius",t)};var yM=0,dM=1;v(ev,m);var gM=0;ov.prototype.send=function(t,e,o,i){t=t||null,i=i||"_"+(gM++).toString(36)+lm().toString(36),sm._callbacks_||(sm._callbacks_={});var n=this.a.clone();if(t)for(var r in t)if(!t.hasOwnProperty||t.hasOwnProperty(r)){var a=n,p=r,l=t[r];s(l)||(l=[String(l)]),vy(a.b,p,l)}return e&&(sm._callbacks_[i]=nv(i,e),e=this.b,r="_callbacks_."+i,s(r)||(r=[String(r)]),vy(n.b,e,r)),e=_g(n.toString(),{timeout:this.oc,Bi:!0}),og(e,null,iv(i,t,o),void 0),{$:i,Of:e}},ov.prototype.cancel=function(t){t&&(t.Of&&t.Of.cancel(),t.$&&rv(t.$,!1))},v(cv,En),em=cv.prototype,em.Vb=function(e,o,i,n,r){var s=this.bb(e,o,i);if(tn(this.a,s))return this.a.get(s);e=[e,o,i],o=t(r)?r:this.f,i=kn(this,o);var a,p=this.H;if(a=t(p)){a=e[0];var l=xn(i,a);if(t(l)){var h=Tn(o),u=o.G();a=he(i.na(a),i.a)[0]*l==h.na(a)*_o(gn(h,u,a))}else a=o.e}return a?p?(p=e[0],a=e[1],o=wn(i,p,o),a<o.b||a>o.d?(a=ht(a,_o(o)),o=[p,a,e[2]]):o=e):(p=e[1],o=wn(i,e[0],o),o=p<o.b||p>o.d?null:e):o=e,n=null===o?void 0:this.tileUrlFunction(o,n,r),n=new this.tileClass(e,t(n)?0:4,t(n)?n:"",this.crossOrigin,this.tileLoadFunction),Ht(n,"change",this.nm,!1,this),this.a.set(s,n),n},em.Ua=function(){return this.tileLoadFunction},em.Va=function(){return this.tileUrlFunction},em.nm=function(t){switch(t=t.target,t.state){case 1:this.dispatchEvent(new An("tileloadstart",t));break;case 2:this.dispatchEvent(new An("tileloadend",t));break;case 3:this.dispatchEvent(new An("tileloaderror",t))}},em.$a=function(t){this.a.clear(),this.tileLoadFunction=t,this.k()},em.pa=function(t){this.a.clear(),this.tileUrlFunction=t,this.k()},em.yf=function(t,e,o){t=this.bb(t,e,o),tn(this.a,t)&&this.a.get(t)},v(yv,yn),yv.prototype.yb=function(e){e=t(e)?e:{};var o=this.minZoom,i=this.maxZoom,n=null;if(t(e.extent)){var r,n=Array(i+1);for(r=0;r<=i;++r)n[r]=r<o?null:gn(this,e.extent,r)}return function(t,e,r){if(e=t[0],e<o||i<e)return null;var s=t[1];return t=t[2],t<-Math.pow(2,e)||-1<t||null!==n&&!Yo(n[e],s,t)?null:$o(e,s,-t-1,r)}},yv.prototype.Ld=function(t,e){if(t[0]<this.maxZoom){var o=2*t[1],i=2*t[2];return Vo(o,o+1,i,i+1,e)}return null},yv.prototype.Ad=function(t,e,o,i){for(i=Vo(0,t[1],0,t[2],i),t=t[0]-1;t>=this.minZoom;--t)if(i.b=i.d>>=1,i.c=i.a>>=1,e.call(o,t,i))return!0;return!1},v(dv,cv);var vM=new Qo({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});dv.prototype.i=function(t){if(200!=t.statusCode||"OK"!=t.statusDescription||"ValidCredentials"!=t.authenticationResultCode||1!=t.resourceSets.length||1!=t.resourceSets[0].resources.length)pn(this,"error");else{var e=t.brandLogoUri;-1==e.indexOf("https")&&(e=e.replace("http","https"));var o=t.resourceSets[0].resources[0],i=-1==this.e?o.zoomMax:this.e,n=new yv({extent:Cn(this.f),minZoom:o.zoomMin,maxZoom:i,tileSize:o.imageWidth==o.imageHeight?o.imageWidth:[o.imageWidth,o.imageHeight]});this.tileGrid=n;var r=this.g;if(this.tileUrlFunction=hv(n.yb(),pv(k(o.imageUrlSubdomains,function(t){var e=o.imageUrl.replace("{subdomain}",t).replace("{culture}",r);return function(t){return null===t?void 0:e.replace("{quadkey}",Wo(t))}}))),o.imageryProviders){var s=Mo(xo("EPSG:4326"),this.f);t=k(o.imageryProviders,function(t){var e=t.attribution,o={};return E(t.coverageAreas,function(t){var e=t.zoomMin,r=Math.min(t.zoomMax,i);t=t.bbox,t=po([t[1],t[0],t[3],t[2]],s);var a,p;for(a=e;a<=r;++a)p=a.toString(),e=gn(n,t,a),p in o?o[p].push(e):o[p]=[e]}),new Qo({html:e,tileRanges:o})}),t.push(vM),this.d=t}this.L=e,pn(this,"ready")}},v(gv,cu),gv.prototype.X=function(){return this.l},gv.prototype.ac=function(t,e,o){e!==this.p&&(this.clear(),this.p=e,this.l.ac(t,e,o),vv(this),this.Oc(this.n))},gv.prototype.ba=function(){this.clear(),vv(this),this.Oc(this.n),this.k()},v(bv,Dl),em=bv.prototype,em.Tl=function(){return this.e},em.Cc=function(e,o,i,n){o=Fl(this,o),i=this.X?i:1;var r=this.c;return null!==r&&this.p==this.b&&r.resolution==o&&r.e==i&&Be(r.G(),e)?r:(1!=this.n&&(e=e.slice(),ao(e,this.n)),n=this.J(e,[no(e)/o*i,to(e)/o*i],n),t(n)?(r=new Kd(e,o,i,this.d,n,this.T,this.a),Ht(r,"change",this.i,!1,this)):r=null,this.c=r,this.p=this.b,r)},em.Sl=function(){return this.a},em.Wl=function(t){rt(this.e,t),this.k()},em.Ul=function(t,e,o,i){var n;n=this.N;var r=no(o),s=to(o),a=i[0],p=i[1],l=.0254/this.g;return n=p*r>a*s?r*n/(a*l):s*n/(p*l),o=_e(o),i={OPERATION:this.ba?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.g,SETDISPLAYWIDTH:Math.round(i[0]),SETDISPLAYHEIGHT:Math.round(i[1]),SETVIEWSCALE:n,SETVIEWCENTERX:o[0],SETVIEWCENTERY:o[1]},rt(i,e),hh(ch([t],i))},em.Vl=function(t){this.c=null,this.a=t,this.k()},v(wv,Dl),wv.prototype.Cc=function(t){return ro(t,this.a.G())?this.a:null},v(xv,Dl);var mM=[101,101];em=xv.prototype,em.bm=function(e,o,i,n){if(t(this.e)){var r=Qe(e,o,0,mM),s={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS};return rt(s,this.c,n),n=Math.floor((r[3]-e[1])/o),s[this.g?"I":"X"]=Math.floor((e[0]-r[0])/o),s[this.g?"J":"Y"]=n,Sv(this,r,mM,1,xo(i),s)}},em.dm=function(){return this.c},em.Cc=function(e,o,i,n){if(!t(this.e))return null;o=Fl(this,o),1==i||this.ba&&t(this.T)||(i=1);var r=this.a;if(null!==r&&this.N==this.b&&r.resolution==o&&r.e==i&&Be(r.G(),e))return r;r={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},rt(r,this.c),e=e.slice();var s=(e[0]+e[2])/2,a=(e[1]+e[3])/2;if(1!=this.J){var p=this.J*no(e)/2,l=this.J*to(e)/2;e[0]=s-p,e[1]=a-l,e[2]=s+p,e[3]=a+l}var p=o/i,l=Math.ceil(no(e)/p),h=Math.ceil(to(e)/p);return e[0]=s-p*l/2,e[2]=s+p*l/2,e[1]=a-p*h/2,e[3]=a+p*h/2,this.p[0]=l,this.p[1]=h,n=Sv(this,e,this.p,i,n,r),this.a=new Kd(e,o,i,this.d,n,this.X,this.n),this.N=this.b,Ht(this.a,"change",this.i,!1,this),this.a},em.cm=function(){return this.n},em.em=function(){return this.e},em.fm=function(t){this.a=null,this.n=t,this.k()},em.gm=function(t){t!=this.e&&(this.e=t,this.a=null,this.k())},em.hm=function(t){rt(this.c,t),Tv(this),this.a=null,this.k()},v(Mv,cv),Mv.prototype.pa=function(t){Mv.S.pa.call(this,hv(this.l,t))},Mv.prototype.e=function(t){this.pa(av(uv(t)))},v(Cv,Mv);var bM=new Qo({html:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});v(Ev,Mv);var wM=new Qo({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),xM={osm:{maxZoom:19,attributions:[wM,bM]},sat:{maxZoom:18,attributions:[wM,new Qo({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,attributions:[wM,bM]}};Ev.prototype.i=function(){return this.g};var SM={terrain:{Ta:"jpg",opaque:!0},"terrain-background":{Ta:"jpg",opaque:!0},"terrain-labels":{Ta:"png",opaque:!1},"terrain-lines":{Ta:"png",opaque:!1},"toner-background":{Ta:"png",opaque:!0},toner:{Ta:"png",opaque:!0},"toner-hybrid":{Ta:"png",opaque:!1},"toner-labels":{Ta:"png",opaque:!1},"toner-lines":{Ta:"png",opaque:!1},"toner-lite":{Ta:"png",opaque:!0},watercolor:{Ta:"jpg",opaque:!0}},TM={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}};v(Pv,Mv);var MM=[new Qo({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>.'}),bM];return v(kv,cv),em=kv.prototype,em.im=function(){return this.e},em.Xb=function(t,e,o){return t=kv.S.Xb.call(this,t,e,o),1==e?t:le(t,e,this.c)},em.jm=function(){return this.g},em.km=function(e){e=t(e)?uv(e):null,this.Ng(e)},em.Ng=function(t){this.g=null!=t?t:[],this.k()},em.lm=function(t,e,o){var i=this.tileGrid;if(null===i&&(i=kn(this,o)),!(i.b.length<=t[0])){var n=mn(i,t,this.i),r=he(i.na(t[0]),this.c);1!=e&&(r=le(r,e,this.c)),i={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},rt(i,this.e);var s=this.g;return 0==s.length?t=void 0:(o=o.b.split(":").pop(),i.SIZE=r[0]+","+r[1],i.BBOX=n.join(","),i.BBOXSR=o,i.IMAGESR=o,i.DPI=90*e,t=1==s.length?s[0]:s[ht((t[1]<<t[0])+t[2],s.length)],b(t,"/")||(t+="/"),b(t,"MapServer/")?t+="export":b(t,"ImageServer/")&&(t+="exportImage"),t=hh(ch([t],i))),t}},em.mm=function(t){rt(this.e,t),this.k()},v(Av,nn),Av.prototype.Ma=function(e){if(e=t(e)?c(e):-1,e in this.a)return this.a[e];var o=this.c,i=mr(o[0],o[1]);return i.strokeStyle="black",i.strokeRect(.5,.5,o[0]+.5,o[1]+.5),i.fillStyle="black",i.textAlign="center",i.textBaseline="middle",i.font="24px sans-serif",i.fillText(zo(this.b),o[0]/2,o[1]/2),this.a[e]=i.canvas},v(Rv,En),Rv.prototype.Vb=function(t,e,o){var i=this.bb(t,e,o);return tn(this.a,i)?this.a.get(i):(t=new Av([t,e,o],this.tileGrid),this.a.set(i,t),t)},v(Lv,cv),Lv.prototype.e=function(e){var o,i=xo("EPSG:4326"),n=this.f;t(e.bounds)&&(o=po(e.bounds,Mo(i,n)));var r=e.minzoom||0,s=e.maxzoom||22;if(this.tileGrid=n=new yv({extent:Cn(n),maxZoom:s,minZoom:r}),this.tileUrlFunction=hv(n.yb({extent:o}),av(e.tiles)),t(e.attribution)&&null===this.d){i=t(o)?o:i.G(),o={};for(var a;r<=s;++r)a=r.toString(),o[a]=[gn(n,i,r)];this.d=[new Qo({html:e.attribution,tileRanges:o})]}pn(this,"ready")},v(Nv,En),em=Nv.prototype,em.wj=function(){return this.g},em.Gi=function(t,e,o,i,n){null===this.tileGrid?!0===n?Yn(function(){o.call(i,null)}):o.call(i,null):(e=this.tileGrid.Wb(t,e),Dv(this.Vb(e[0],e[1],e[2],1,this.f),t,o,i,n))},em.om=function(e){var o,i=xo("EPSG:4326"),n=this.f;t(e.bounds)&&(o=po(e.bounds,Mo(i,n)));var r=e.minzoom||0,s=e.maxzoom||22;this.tileGrid=n=new yv({extent:Cn(n),maxZoom:s,minZoom:r}),this.g=e.template;var a=e.grids;if(null!=a){if(this.e=hv(n.yb({extent:o}),av(a)),t(e.attribution)){for(i=t(o)?o:i.G(),o={};r<=s;++r)a=r.toString(),o[a]=[gn(n,i,r)];this.d=[new Qo({html:e.attribution,tileRanges:o})]}pn(this,"ready")}else pn(this,"error")},em.Vb=function(e,o,i,n,r){var s=this.bb(e,o,i);return tn(this.a,s)?this.a.get(s):(e=[e,o,i],n=this.e(e,n,r),n=new jv(e,t(n)?0:4,t(n)?n:"",mn(this.tileGrid,e),this.i),this.a.set(s,n),n)},em.yf=function(t,e,o){t=this.bb(t,e,o),tn(this.a,t)&&this.a.get(t)},v(jv,nn),em=jv.prototype,em.Ma=function(){return null},em.gb=function(){return this.g},em.Lj=function(){this.state=3,rn(this)},em.Xj=function(t){this.c=t.grid,this.e=t.keys,this.d=t.data,this.state=4,rn(this)},em.load=function(){this.i&&Fv(this)},v(Ov,cu),em=Ov.prototype,em.clear=function(){tt(this.l)},em.Ab=function(e,o,i,n){var r=this.n,s=this.l;o=Sn(r,o),e=gn(r,e,o);for(var a,r=e.b;r<=e.d;++r)for(a=e.c;a<=e.a;++a){var p=s[o+"/"+r+"/"+a];if(t(p)){var l,h;for(l=0,h=p.length;l<h;++l){var u=i.call(n,p[l]);if(u)return u}}}},em.Dc=function(){var t,e=this.l,o=[];for(t in e)F(o,e[t]);return o},em.Vi=function(t,e){var o=[];return Bv(this,t,e,function(t){o.push(t)}),o},em.ac=function(e,o,i){function n(t,e){h[t]=e,this.k()}var r,s,a=this.X,p=this.n,l=this.p,h=this.l,u=Sn(p,o),p=gn(p,e,u),c=[u,0,0];for(r=p.b;r<=p.d;++r)for(s=p.c;s<=p.a;++s){var f=u+"/"+r+"/"+s;if(!(f in h)){c[0]=u,c[1]=r,c[2]=s,a(c,i,c);var y=l(c,1,i);t(y)&&(h[f]=[],nu(y,this.T,g(n,f)).call(this,e,o,i))}}},v(Uv,cv),em=Uv.prototype,em.pm=function(t,e,o,i){o=xo(o);var n=this.tileGrid;if(null===n&&(n=kn(this,o)),e=n.Wb(t,e),!(n.b.length<=e[0])){var r=n.ma(e[0]),s=mn(n,e,this.N),n=he(n.na(e[0]),this.c),a=this.l;return 0!==a&&(n=pe(n,a,this.c),s=De(s,r*a,s)),a={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.e.LAYERS -},rt(a,this.e,i),i=Math.floor((s[3]-t[1])/r),a[this.i?"I":"X"]=Math.floor((t[0]-s[0])/r),a[this.i?"J":"Y"]=i,Gv(this,e,n,s,1,o,a)}},em.Cd=function(){return this.l},em.bb=function(t,e,o){return this.p+Uv.S.bb.call(this,t,e,o)},em.qm=function(){return this.e},em.Xb=function(e,o,i){return e=Uv.S.Xb.call(this,e,o,i),1!=o&&this.J&&t(this.n)?le(e,o,this.c):e},em.rm=function(){return this.g},em.sm=function(e){e=t(e)?uv(e):null,this.Og(e)},em.Og=function(t){this.g=null!=t?t:[],Hv(this),this.k()},em.tm=function(e,o,i){var n=this.tileGrid;if(null===n&&(n=kn(this,i)),!(n.b.length<=e[0])){1==o||this.J&&t(this.n)||(o=1);var r=n.ma(e[0]),s=mn(n,e,this.N),n=he(n.na(e[0]),this.c),a=this.l;return 0!==a&&(n=pe(n,a,this.c),s=De(s,r*a,s)),1!=o&&(n=le(n,o,this.c)),r={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},rt(r,this.e),Gv(this,e,n,s,o,i,r)}},em.um=function(t){rt(this.e,t),Hv(this),qv(this),this.k()},v($v,yn),$v.prototype.q=function(){return this.e},v(Wv,cv),em=Wv.prototype,em.Ti=function(){return this.e},em.Xi=function(){return this.n},em.bb=function(t,e,o){return this.l+Wv.S.bb.call(this,t,e,o)},em.vm=function(){return this.p},em.jj=function(){return this.i},em.uj=function(){return this.T},em.wm=function(){return this.J},em.xm=function(){return this.g},em.Aj=function(){return this.N},em.uo=function(t){rt(this.e,t),zv(this),this.k()},v(Kv,yn),Kv.prototype.yb=function(e){e=t(e)?e:{};var o=this.minZoom,i=this.maxZoom,n=null;if(t(e.extent)){var r,n=Array(i+1);for(r=0;r<=i;++r)n[r]=r<o?null:gn(this,e.extent,r)}return function(t,e,r){if(e=t[0],e<o||i<e)return null;var s=Math.pow(2,e),a=t[1];return 0>a||s<=a?null:(t=t[2],t<-s||-1<t||null!==n&&!Yo(n[e],a,-t-1)?null:$o(e,a,-t-1,r))}},v(Vv,cv),v(Yv,Vd),Yv.prototype.Ma=function(e){var o=t(e)?c(e).toString():"";if(o in this.d)return this.d[o];if(e=Yv.S.Ma.call(this,e),2==this.state){if(256==e.width&&256==e.height)return this.d[o]=e;var i=mr(256,256);return i.drawImage(e,0,0),this.d[o]=i.canvas}return e},Zv.prototype.add=function(e,o,i,n,r,s){return o+this.b>this.c||i+this.b>this.c?null:(n=_v(this,!1,e,o,i,n,s),null===n?null:(e=_v(this,!0,e,o,i,t(r)?r:hb,s),{offsetX:n.offsetX,offsetY:n.offsetY,image:n.image,ig:e.image}))},Jv.prototype.get=function(t){return ot(this.d,t,null)},Jv.prototype.add=function(t,e,o,i,n){var r,s,a;for(s=0,a=this.a.length;s<a;++s)if(r=this.a[s],r.width>=e+this.b&&r.height>=o+this.b)return a={offsetX:r.x+this.b,offsetY:r.y+this.b,image:this.c},this.d[t]=a,i.call(n,this.e,r.x+this.b,r.y+this.b),t=s,e+=this.b,o+=this.b,n=i=void 0,r.width-e>r.height-o?(i={x:r.x+e,y:r.y,width:r.width-e,height:r.height},n={x:r.x,y:r.y+o,width:e,height:r.height-o},Qv(this,t,i,n)):(i={x:r.x+e,y:r.y,width:r.width-e,height:o},n={x:r.x,y:r.y+o,width:r.width,height:r.height-o},Qv(this,t,i,n)),a;return null},v(tm,hs),em=tm.prototype,em.mb=function(){return this.p},em.Cm=function(){return this.g},em.Dm=function(){return this.i},em.he=function(){return this.o},em.Lb=function(){return this.d},em.Dd=function(){return this.H},em.gd=function(){return 2},em.rb=function(){return this.J},em.Em=function(){return this.b},em.Fm=function(){return this.c},em.tj=function(){return this.f},em.Xa=function(){return this.L},em.Gm=function(){return this.a},em.$e=o,em.load=o,em.xf=o,em.Ug=function(t,e,o,i){var n;for(e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),this.f!==this.c&&(this.b*=2),o=0;o<=this.b;o++)i=2*o*Math.PI/this.b-Math.PI/2+this.g,n=0===o%2?this.c:this.f,e.lineTo(t.size/2+n*Math.cos(i),t.size/2+n*Math.sin(i));null!==this.i&&(e.fillStyle=ni(this.i.b),e.fill()),null!==this.a&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.md,null===t.lineDash||e.setLineDash(t.lineDash),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},em.Tg=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),this.f!==this.c&&(this.b*=2);var n;for(o=0;o<=this.b;o++)n=2*o*Math.PI/this.b-Math.PI/2+this.g,i=0===o%2?this.c:this.f,e.lineTo(t.size/2+i*Math.cos(n),t.size/2+i*Math.sin(n));e.fillStyle=ow,e.fill(),null!==this.a&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.md,null===t.lineDash||e.setLineDash(t.lineDash),e.stroke()),e.closePath()},em.nb=function(){var e=null===this.a?"-":this.a.nb(),o=null===this.i?"-":this.i.nb();return null!==this.e&&e==this.e[1]&&o==this.e[2]&&this.c==this.e[3]&&this.f==this.e[4]&&this.g==this.e[5]&&this.b==this.e[6]||(this.e=["r"+e+o+(t(this.c)?this.c.toString():"-")+(t(this.f)?this.f.toString():"-")+(t(this.g)?this.g.toString():"-")+(t(this.b)?this.b.toString():"-"),e,o,this.c,this.f,this.g,this.b]),this.e[0]},e("ol.animation.bounce",function(e){var o=e.resolution,i=t(e.start)?e.start:lm(),n=t(e.duration)?e.duration:1e3,r=t(e.easing)?e.easing:Uo;return function(t,e){if(e.time<i)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<i+n){var s=r((e.time-i)/n),a=o-e.viewState.resolution;return e.animate=!0,e.viewState.resolution+=s*a,e.viewHints[0]+=1,!0}return!1}},nm),e("ol.animation.pan",Go,nm),e("ol.animation.rotate",Ho,nm),e("ol.animation.zoom",qo,nm),e("ol.Attribution",Qo,nm),Qo.prototype.getHTML=Qo.prototype.c,ti.prototype.element=ti.prototype.element,e("ol.Collection",ei,nm),ei.prototype.clear=ei.prototype.clear,ei.prototype.extend=ei.prototype.af,ei.prototype.forEach=ei.prototype.forEach,ei.prototype.getArray=ei.prototype.Hk,ei.prototype.item=ei.prototype.item,ei.prototype.getLength=ei.prototype.Ib,ei.prototype.insertAt=ei.prototype.Td,ei.prototype.pop=ei.prototype.pop,ei.prototype.push=ei.prototype.push,ei.prototype.remove=ei.prototype.remove,ei.prototype.removeAt=ei.prototype.tf,ei.prototype.setAt=ei.prototype.Un,e("ol.coordinate.add",ue,nm),e("ol.coordinate.createStringXY",function(t){return function(e){return be(e,t)}},nm),e("ol.coordinate.format",ye,nm),e("ol.coordinate.rotate",ge,nm),e("ol.coordinate.toStringHDMS",function(e){return t(e)?fe(e[1],"NS")+" "+fe(e[0],"EW"):""},nm),e("ol.coordinate.toStringXY",be,nm),e("ol.DeviceOrientation",sf,nm),sf.prototype.getAlpha=sf.prototype.Mi,sf.prototype.getBeta=sf.prototype.Pi,sf.prototype.getGamma=sf.prototype.Yi,sf.prototype.getHeading=sf.prototype.Ik,sf.prototype.getTracking=sf.prototype.og,sf.prototype.setTracking=sf.prototype.bf,e("ol.easing.easeIn",function(t){return Math.pow(t,3)},nm),e("ol.easing.easeOut",Fo,nm),e("ol.easing.inAndOut",Oo,nm),e("ol.easing.linear",Bo,nm),e("ol.easing.upAndDown",Uo,nm),e("ol.extent.boundingExtent",je,nm),e("ol.extent.buffer",De,nm),e("ol.extent.containsCoordinate",function(t,e){return Ue(t,e[0],e[1])},nm),e("ol.extent.containsExtent",Be,nm),e("ol.extent.containsXY",Ue,nm),e("ol.extent.createEmpty",He,nm),e("ol.extent.equals",Xe,nm),e("ol.extent.extend",We,nm),e("ol.extent.getBottomLeft",Ye,nm),e("ol.extent.getBottomRight",Ze,nm),e("ol.extent.getCenter",_e,nm),e("ol.extent.getHeight",to,nm),e("ol.extent.getIntersection",eo,nm),e("ol.extent.getSize",function(t){return[t[2]-t[0],t[3]-t[1]]},nm),e("ol.extent.getTopLeft",oo,nm),e("ol.extent.getTopRight",io,nm),e("ol.extent.getWidth",no,nm),e("ol.extent.intersects",ro,nm),e("ol.extent.isEmpty",so,nm),e("ol.extent.applyTransform",po,nm),e("ol.Feature",af,nm),af.prototype.clone=af.prototype.clone,af.prototype.getGeometry=af.prototype.Q,af.prototype.getId=af.prototype.aj,af.prototype.getGeometryName=af.prototype.$i,af.prototype.getStyle=af.prototype.Qk,af.prototype.getStyleFunction=af.prototype.Rk,af.prototype.setGeometry=af.prototype.La,af.prototype.setStyle=af.prototype.cf,af.prototype.setId=af.prototype.Qb,af.prototype.setGeometryName=af.prototype.Ic,e("ol.featureloader.xhr",ru,nm),e("ol.FeatureOverlay",pf,nm),pf.prototype.addFeature=pf.prototype.pg,pf.prototype.getFeatures=pf.prototype.Kk,pf.prototype.getMap=pf.prototype.Lk,pf.prototype.removeFeature=pf.prototype.Yd,pf.prototype.setFeatures=pf.prototype.ld,pf.prototype.setMap=pf.prototype.setMap,pf.prototype.setStyle=pf.prototype.rg,pf.prototype.getStyle=pf.prototype.Mk,pf.prototype.getStyleFunction=pf.prototype.Nk,e("ol.Geolocation",Gd,nm),Gd.prototype.getAccuracy=Gd.prototype.Ki,Gd.prototype.getAccuracyGeometry=Gd.prototype.Li,Gd.prototype.getAltitude=Gd.prototype.Ni,Gd.prototype.getAltitudeAccuracy=Gd.prototype.Oi,Gd.prototype.getHeading=Gd.prototype.Tk,Gd.prototype.getPosition=Gd.prototype.Uk,Gd.prototype.getProjection=Gd.prototype.sg,Gd.prototype.getSpeed=Gd.prototype.vj,Gd.prototype.getTracking=Gd.prototype.tg,Gd.prototype.getTrackingOptions=Gd.prototype.bg,Gd.prototype.setProjection=Gd.prototype.ug,Gd.prototype.setTracking=Gd.prototype.Zd,Gd.prototype.setTrackingOptions=Gd.prototype.Dh,e("ol.Graticule",Xd,nm),Xd.prototype.getMap=Xd.prototype.Xk,Xd.prototype.getMeridians=Xd.prototype.kj,Xd.prototype.getParallels=Xd.prototype.pj,Xd.prototype.setMap=Xd.prototype.setMap,e("ol.has.DEVICE_PIXEL_RATIO",Eb,nm),e("ol.has.CANVAS",kb,nm),e("ol.has.DEVICE_ORIENTATION",Ab,nm),e("ol.has.GEOLOCATION",Rb,nm),e("ol.has.TOUCH",Lb,nm),e("ol.has.WEBGL",xb,nm),Kd.prototype.getImage=Kd.prototype.b,Vd.prototype.getImage=Vd.prototype.Ma,e("ol.Kinetic",Es,nm),e("ol.loadingstrategy.all",su,nm),e("ol.loadingstrategy.bbox",function(t){return[t]},nm),e("ol.loadingstrategy.tile",function(t){return function(e,o){var i=Sn(t,o),n=gn(t,e,i),r=[],i=[i,0,0];for(i[1]=n.b;i[1]<=n.d;++i[1])for(i[2]=n.c;i[2]<=n.a;++i[2])r.push(mn(t,i));return r}},nm),e("ol.Map",Nc,nm),Nc.prototype.addControl=Nc.prototype.si,Nc.prototype.addInteraction=Nc.prototype.ti,Nc.prototype.addLayer=Nc.prototype.Jf,Nc.prototype.addOverlay=Nc.prototype.Kf,Nc.prototype.beforeRender=Nc.prototype.Ha,Nc.prototype.forEachFeatureAtPixel=Nc.prototype.Ne,Nc.prototype.forEachLayerAtPixel=Nc.prototype.al,Nc.prototype.hasFeatureAtPixel=Nc.prototype.ok,Nc.prototype.getEventCoordinate=Nc.prototype.Ui,Nc.prototype.getEventPixel=Nc.prototype.Bd,Nc.prototype.getTarget=Nc.prototype.df,Nc.prototype.getTargetElement=Nc.prototype.bd,Nc.prototype.getCoordinateFromPixel=Nc.prototype.ka,Nc.prototype.getControls=Nc.prototype.Si,Nc.prototype.getOverlays=Nc.prototype.oj,Nc.prototype.getInteractions=Nc.prototype.bj,Nc.prototype.getLayerGroup=Nc.prototype.Ub,Nc.prototype.getLayers=Nc.prototype.vg,Nc.prototype.getPixelFromCoordinate=Nc.prototype.ta,Nc.prototype.getSize=Nc.prototype.xa,Nc.prototype.getView=Nc.prototype.R,Nc.prototype.getViewport=Nc.prototype.Bj,Nc.prototype.renderSync=Nc.prototype.Rn,Nc.prototype.render=Nc.prototype.render,Nc.prototype.removeControl=Nc.prototype.Ln,Nc.prototype.removeInteraction=Nc.prototype.Mn,Nc.prototype.removeLayer=Nc.prototype.Nn,Nc.prototype.removeOverlay=Nc.prototype.On,Nc.prototype.setLayerGroup=Nc.prototype.zh,Nc.prototype.setSize=Nc.prototype.vf,Nc.prototype.setTarget=Nc.prototype.cl,Nc.prototype.setView=Nc.prototype.jo,Nc.prototype.updateSize=Nc.prototype.Kc,qr.prototype.originalEvent=qr.prototype.originalEvent,qr.prototype.pixel=qr.prototype.pixel,qr.prototype.coordinate=qr.prototype.coordinate,qr.prototype.dragging=qr.prototype.dragging,qr.prototype.preventDefault=qr.prototype.preventDefault,qr.prototype.stopPropagation=qr.prototype.fb,_i.prototype.map=_i.prototype.map,_i.prototype.frameState=_i.prototype.frameState,ne.prototype.key=ne.prototype.key,ne.prototype.oldValue=ne.prototype.oldValue,e("ol.Object",re,nm),re.prototype.get=re.prototype.get,re.prototype.getKeys=re.prototype.C,re.prototype.getProperties=re.prototype.D,re.prototype.set=re.prototype.set,re.prototype.setProperties=re.prototype.t,re.prototype.unset=re.prototype.I,e("ol.Observable",oe,nm),e("ol.Observable.unByKey",ie,nm),oe.prototype.changed=oe.prototype.k,oe.prototype.getRevision=oe.prototype.v,oe.prototype.on=oe.prototype.r,oe.prototype.once=oe.prototype.A,oe.prototype.un=oe.prototype.u,oe.prototype.unByKey=oe.prototype.B,e("ol.inherits",v,nm),e("ol.Overlay",Ic,nm),Ic.prototype.getElement=Ic.prototype.$d,Ic.prototype.getMap=Ic.prototype.ae,Ic.prototype.getOffset=Ic.prototype.Yf,Ic.prototype.getPosition=Ic.prototype.wg,Ic.prototype.getPositioning=Ic.prototype.ag,Ic.prototype.setElement=Ic.prototype.wh,Ic.prototype.setMap=Ic.prototype.setMap,Ic.prototype.setOffset=Ic.prototype.Bh,Ic.prototype.setPosition=Ic.prototype.uf,Ic.prototype.setPositioning=Ic.prototype.Ch,e("ol.size.toSize",he,nm),nn.prototype.getTileCoord=nn.prototype.f,e("ol.View",Ao,nm),Ao.prototype.constrainCenter=Ao.prototype.xd,Ao.prototype.constrainResolution=Ao.prototype.constrainResolution,Ao.prototype.constrainRotation=Ao.prototype.constrainRotation,Ao.prototype.getCenter=Ao.prototype.Ca,Ao.prototype.calculateExtent=Ao.prototype.Pc,Ao.prototype.getProjection=Ao.prototype.dl,Ao.prototype.getResolution=Ao.prototype.ya,Ao.prototype.getRotation=Ao.prototype.Da,Ao.prototype.getZoom=Ao.prototype.Ej,Ao.prototype.fitExtent=Ao.prototype.Me,Ao.prototype.fitGeometry=Ao.prototype.Fi,Ao.prototype.centerOn=Ao.prototype.Ai,Ao.prototype.rotate=Ao.prototype.rotate,Ao.prototype.setCenter=Ao.prototype.Na,Ao.prototype.setResolution=Ao.prototype.tb,Ao.prototype.setRotation=Ao.prototype.be,Ao.prototype.setZoom=Ao.prototype.no,e("ol.xml.getAllTextContent",kh,nm),e("ol.xml.parse",qh,nm),e("ol.webgl.Context",Xu,nm),Xu.prototype.getGL=Xu.prototype.Xm,Xu.prototype.getHitDetectionFramebuffer=Xu.prototype.Te,Xu.prototype.useProgram=Xu.prototype.oe,e("ol.tilegrid.TileGrid",yn,nm),yn.prototype.getMaxZoom=yn.prototype.Fd,yn.prototype.getMinZoom=yn.prototype.Hd,yn.prototype.getOrigin=yn.prototype.Mb,yn.prototype.getResolution=yn.prototype.ma,yn.prototype.getResolutions=yn.prototype.ne,yn.prototype.getTileCoordForCoordAndResolution=yn.prototype.Wb,yn.prototype.getTileCoordForCoordAndZ=yn.prototype.cd,yn.prototype.getTileSize=yn.prototype.na,e("ol.tilegrid.WMTS",$v,nm),$v.prototype.getMatrixIds=$v.prototype.q,e("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",Xv,nm),e("ol.tilegrid.XYZ",yv,nm),e("ol.tilegrid.Zoomify",Kv,nm),e("ol.style.AtlasManager",Zv,nm),e("ol.style.Circle",op,nm),op.prototype.getAnchor=op.prototype.mb,op.prototype.getFill=op.prototype.ym,op.prototype.getImage=op.prototype.Lb,op.prototype.getOrigin=op.prototype.rb,op.prototype.getRadius=op.prototype.zm,op.prototype.getSize=op.prototype.Xa,op.prototype.getStroke=op.prototype.Am,e("ol.style.Fill",ep,nm),ep.prototype.getColor=ep.prototype.c,ep.prototype.setColor=ep.prototype.d,e("ol.style.Icon",us,nm),us.prototype.getAnchor=us.prototype.mb,us.prototype.getImage=us.prototype.Lb,us.prototype.getOrigin=us.prototype.rb,us.prototype.getSrc=us.prototype.Bm,us.prototype.getSize=us.prototype.Xa,e("ol.style.Image",hs,nm),hs.prototype.getOpacity=hs.prototype.ie,hs.prototype.getRotateWithView=hs.prototype.Jd,hs.prototype.getRotation=hs.prototype.je,hs.prototype.getScale=hs.prototype.ke,hs.prototype.getSnapToPixel=hs.prototype.Kd,hs.prototype.setRotation=hs.prototype.le,hs.prototype.setScale=hs.prototype.me,e("ol.style.RegularShape",tm,nm),tm.prototype.getAnchor=tm.prototype.mb,tm.prototype.getAngle=tm.prototype.Cm,tm.prototype.getFill=tm.prototype.Dm,tm.prototype.getImage=tm.prototype.Lb,tm.prototype.getOrigin=tm.prototype.rb,tm.prototype.getPoints=tm.prototype.Em,tm.prototype.getRadius=tm.prototype.Fm,tm.prototype.getRadius2=tm.prototype.tj,tm.prototype.getSize=tm.prototype.Xa,tm.prototype.getStroke=tm.prototype.Gm,e("ol.style.Stroke",tp,nm),tp.prototype.getColor=tp.prototype.Hm,tp.prototype.getLineCap=tp.prototype.ej,tp.prototype.getLineDash=tp.prototype.Im,tp.prototype.getLineJoin=tp.prototype.fj,tp.prototype.getMiterLimit=tp.prototype.lj,tp.prototype.getWidth=tp.prototype.Jm,tp.prototype.setColor=tp.prototype.Km,tp.prototype.setLineCap=tp.prototype.Zn,tp.prototype.setLineDash=tp.prototype.Lm,tp.prototype.setLineJoin=tp.prototype.$n,tp.prototype.setMiterLimit=tp.prototype.ao,tp.prototype.setWidth=tp.prototype.ko,e("ol.style.Style",ip,nm),ip.prototype.getGeometry=ip.prototype.Q,ip.prototype.getGeometryFunction=ip.prototype.Zi,ip.prototype.getFill=ip.prototype.Mm,ip.prototype.getImage=ip.prototype.Nm,ip.prototype.getStroke=ip.prototype.Om,ip.prototype.getText=ip.prototype.Pm,ip.prototype.getZIndex=ip.prototype.Dj,ip.prototype.setGeometry=ip.prototype.Vg,ip.prototype.setZIndex=ip.prototype.mo,e("ol.style.Text",wy,nm),wy.prototype.getFont=wy.prototype.Wi,wy.prototype.getOffsetX=wy.prototype.mj,wy.prototype.getOffsetY=wy.prototype.nj,wy.prototype.getFill=wy.prototype.Qm,wy.prototype.getRotation=wy.prototype.Rm,wy.prototype.getScale=wy.prototype.Sm,wy.prototype.getStroke=wy.prototype.Tm,wy.prototype.getText=wy.prototype.Um,wy.prototype.getTextAlign=wy.prototype.xj,wy.prototype.getTextBaseline=wy.prototype.yj,wy.prototype.setFont=wy.prototype.Wn,wy.prototype.setFill=wy.prototype.Vn,wy.prototype.setRotation=wy.prototype.Vm,wy.prototype.setScale=wy.prototype.Wm,wy.prototype.setStroke=wy.prototype.eo,wy.prototype.setText=wy.prototype.fo,wy.prototype.setTextAlign=wy.prototype.ho,wy.prototype.setTextBaseline=wy.prototype.io,e("ol.Sphere",lo,nm),lo.prototype.geodesicArea=lo.prototype.a,lo.prototype.haversineDistance=lo.prototype.b,e("ol.source.BingMaps",dv,nm),e("ol.source.BingMaps.TOS_ATTRIBUTION",vM,nm),e("ol.source.Cluster",gv,nm),gv.prototype.getSource=gv.prototype.X,e("ol.source.ImageCanvas",Ul,nm),e("ol.source.ImageMapGuide",bv,nm),bv.prototype.getParams=bv.prototype.Tl,bv.prototype.getImageLoadFunction=bv.prototype.Sl,bv.prototype.updateParams=bv.prototype.Wl,bv.prototype.setImageLoadFunction=bv.prototype.Vl,e("ol.source.Image",Dl,nm),Bl.prototype.image=Bl.prototype.image,e("ol.source.ImageStatic",wv,nm),e("ol.source.ImageVector",bu,nm),bu.prototype.getSource=bu.prototype.Xl,bu.prototype.getStyle=bu.prototype.Yl,bu.prototype.getStyleFunction=bu.prototype.Zl,bu.prototype.setStyle=bu.prototype.Mg,e("ol.source.ImageWMS",xv,nm),xv.prototype.getGetFeatureInfoUrl=xv.prototype.bm,xv.prototype.getParams=xv.prototype.dm,xv.prototype.getImageLoadFunction=xv.prototype.cm,xv.prototype.getUrl=xv.prototype.em,xv.prototype.setImageLoadFunction=xv.prototype.fm,xv.prototype.setUrl=xv.prototype.gm,xv.prototype.updateParams=xv.prototype.hm,e("ol.source.MapQuest",Ev,nm),Ev.prototype.getLayer=Ev.prototype.i,e("ol.source.OSM",Cv,nm),e("ol.source.OSM.ATTRIBUTION",bM,nm),e("ol.source.Source",sn,nm),sn.prototype.getAttributions=sn.prototype.ea,sn.prototype.getLogo=sn.prototype.ca,sn.prototype.getProjection=sn.prototype.fa,sn.prototype.getState=sn.prototype.ga,e("ol.source.Stamen",Pv,nm),e("ol.source.TileArcGISRest",kv,nm),kv.prototype.getParams=kv.prototype.im,kv.prototype.getUrls=kv.prototype.jm,kv.prototype.setUrl=kv.prototype.km,kv.prototype.setUrls=kv.prototype.Ng,kv.prototype.updateParams=kv.prototype.mm,e("ol.source.TileDebug",Rv,nm),e("ol.source.TileImage",cv,nm),cv.prototype.getTileLoadFunction=cv.prototype.Ua,cv.prototype.getTileUrlFunction=cv.prototype.Va,cv.prototype.setTileLoadFunction=cv.prototype.$a,cv.prototype.setTileUrlFunction=cv.prototype.pa,e("ol.source.TileJSON",Lv,nm),e("ol.source.Tile",En,nm),En.prototype.getTileGrid=En.prototype.ua,An.prototype.tile=An.prototype.tile,e("ol.source.TileUTFGrid",Nv,nm),Nv.prototype.getTemplate=Nv.prototype.wj,Nv.prototype.forDataAtCoordinateAndResolution=Nv.prototype.Gi,e("ol.source.TileVector",Ov,nm),Ov.prototype.getFeatures=Ov.prototype.Dc,Ov.prototype.getFeaturesAtCoordinateAndResolution=Ov.prototype.Vi,e("ol.source.TileWMS",Uv,nm),Uv.prototype.getGetFeatureInfoUrl=Uv.prototype.pm,Uv.prototype.getParams=Uv.prototype.qm,Uv.prototype.getUrls=Uv.prototype.rm,Uv.prototype.setUrl=Uv.prototype.sm,Uv.prototype.setUrls=Uv.prototype.Og,Uv.prototype.updateParams=Uv.prototype.um,e("ol.source.Vector",cu,nm),cu.prototype.addFeature=cu.prototype.jf,cu.prototype.addFeatures=cu.prototype.Oc,cu.prototype.clear=cu.prototype.clear,cu.prototype.forEachFeature=cu.prototype.Rf,cu.prototype.forEachFeatureInExtent=cu.prototype.$c,cu.prototype.forEachFeatureIntersectingExtent=cu.prototype.Oe,cu.prototype.getFeatures=cu.prototype.Dc,cu.prototype.getFeaturesAtCoordinate=cu.prototype.Re,cu.prototype.getFeaturesInExtent=cu.prototype.Se,cu.prototype.getClosestFeatureToCoordinate=cu.prototype.Tf,cu.prototype.getExtent=cu.prototype.G,cu.prototype.getFeatureById=cu.prototype.Qe,cu.prototype.removeFeature=cu.prototype.Qg,mu.prototype.feature=mu.prototype.feature,e("ol.source.WMTS",Wv,nm),Wv.prototype.getDimensions=Wv.prototype.Ti,Wv.prototype.getFormat=Wv.prototype.Xi,Wv.prototype.getLayer=Wv.prototype.vm,Wv.prototype.getMatrixSet=Wv.prototype.jj,Wv.prototype.getRequestEncoding=Wv.prototype.uj,Wv.prototype.getStyle=Wv.prototype.wm,Wv.prototype.getUrls=Wv.prototype.xm,Wv.prototype.getVersion=Wv.prototype.Aj,Wv.prototype.updateDimensions=Wv.prototype.uo,e("ol.source.WMTS.optionsFromCapabilities",function(e,o){var i,n,r,s=R(e.Contents.Layer,function(t){return t.Identifier==o.layer});i=1<s.TileMatrixSetLink.length?L(s.TileMatrixSetLink,function(t){return t.TileMatrixSet==o.matrixSet}):t(o.projection)?L(s.TileMatrixSetLink,function(t){return t.TileMatrixSet.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")==o.projection}):0,0>i&&(i=0),n=s.TileMatrixSetLink[i].TileMatrixSet,i=s.WGS84BoundingBox,t(i)&&(r=xo("EPSG:4326").G(),r=i[0]==r[0]&&i[2]==r[2]);var a=s.Format[0];t(o.format)&&(a=o.format),i=L(s.Style,function(e){return t(o.style)?e.Title==o.style:e.isDefault}),0>i&&(i=0),i=s.Style[i].Identifier;var p={};t(s.Dimension)&&E(s.Dimension,function(e){var o=e.Identifier,i=e["default"];t(i)||(i=e.values[0]),p[o]=i});var l=R(e.Contents.TileMatrixSet,function(t){return t.Identifier==n}),h=Xv(l),l=xo(t(o.projection)?o.projection:l.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")),u=[],c=o.requestEncoding,c=t(c)?c:"";if(e.OperationsMetadata.hasOwnProperty("GetTile")&&0!=c.lastIndexOf("REST",0))for(var s=e.OperationsMetadata.GetTile.DCP.HTTP.Get,f=0,y=s.length;f<y;++f){var d=R(s[f].Constraint,function(t){return"GetEncoding"==t.name}).AllowedValues.Value;0<d.length&&N(d,"KVP")&&(c="KVP",u.push(s[f].href))}else c="REST",E(s.ResourceURL,function(t){"tile"==t.resourceType&&(a=t.format,u.push(t.template))});return{urls:u,layer:o.layer,matrixSet:n,format:a,projection:l,requestEncoding:c,tileGrid:h,style:i,dimensions:p,wrapX:r}},nm),e("ol.source.XYZ",Mv,nm),Mv.prototype.setTileUrlFunction=Mv.prototype.pa,Mv.prototype.setUrl=Mv.prototype.e,e("ol.source.Zoomify",Vv,nm),qa.prototype.vectorContext=qa.prototype.vectorContext,qa.prototype.frameState=qa.prototype.frameState,qa.prototype.context=qa.prototype.context,qa.prototype.glContext=qa.prototype.glContext,e("ol.render.VectorContext",Ha,nm),hc.prototype.drawAsync=hc.prototype.tc,hc.prototype.drawCircleGeometry=hc.prototype.uc,hc.prototype.drawFeature=hc.prototype.Le,hc.prototype.drawGeometryCollectionGeometry=hc.prototype.zd,hc.prototype.drawPointGeometry=hc.prototype.kb,hc.prototype.drawLineStringGeometry=hc.prototype.zb,hc.prototype.drawMultiLineStringGeometry=hc.prototype.vc,hc.prototype.drawMultiPointGeometry=hc.prototype.jb,hc.prototype.drawMultiPolygonGeometry=hc.prototype.wc,hc.prototype.drawPolygonGeometry=hc.prototype.Rb,hc.prototype.drawText=hc.prototype.lb,hc.prototype.setFillStrokeStyle=hc.prototype.Aa,hc.prototype.setImageStyle=hc.prototype.Za,hc.prototype.setTextStyle=hc.prototype.Ba,jp.prototype.drawAsync=jp.prototype.tc,jp.prototype.drawCircleGeometry=jp.prototype.uc,jp.prototype.drawFeature=jp.prototype.Le,jp.prototype.drawPointGeometry=jp.prototype.kb,jp.prototype.drawMultiPointGeometry=jp.prototype.jb,jp.prototype.drawLineStringGeometry=jp.prototype.zb,jp.prototype.drawMultiLineStringGeometry=jp.prototype.vc,jp.prototype.drawPolygonGeometry=jp.prototype.Rb,jp.prototype.drawMultiPolygonGeometry=jp.prototype.wc,jp.prototype.setFillStrokeStyle=jp.prototype.Aa,jp.prototype.setImageStyle=jp.prototype.Za,jp.prototype.setTextStyle=jp.prototype.Ba,e("ol.proj.common.add",Ap,nm),e("ol.proj.METERS_PER_UNIT",Jm,nm),e("ol.proj.Projection",ho,nm),ho.prototype.getCode=ho.prototype.Ri,ho.prototype.getExtent=ho.prototype.G,ho.prototype.getUnits=ho.prototype.Ll,ho.prototype.getMetersPerUnit=ho.prototype.Gd,ho.prototype.getWorldExtent=ho.prototype.Cj,ho.prototype.isGlobal=ho.prototype.Ml,ho.prototype.setGlobal=ho.prototype.Yn,ho.prototype.setExtent=ho.prototype.Nl,ho.prototype.setWorldExtent=ho.prototype.lo,ho.prototype.setGetPointResolution=ho.prototype.Xn,ho.prototype.getPointResolution=ho.prototype.getPointResolution,e("ol.proj.addEquivalentProjections",co,nm),e("ol.proj.addProjection",yo,nm),e("ol.proj.addCoordinateTransforms",bo,nm),e("ol.proj.fromLonLat",function(e,o){return Po(e,"EPSG:4326",t(o)?o:"EPSG:3857")},nm),e("ol.proj.toLonLat",function(e,o){return Po(e,t(o)?o:"EPSG:3857","EPSG:4326")},nm),e("ol.proj.get",xo,nm),e("ol.proj.getTransform",To,nm),e("ol.proj.transform",Po,nm),e("ol.proj.transformExtent",ko,nm),e("ol.layer.Heatmap",Zg,nm),Zg.prototype.getBlur=Zg.prototype.Sf,Zg.prototype.getGradient=Zg.prototype.Wf,Zg.prototype.getRadius=Zg.prototype.Hg,Zg.prototype.setBlur=Zg.prototype.th,Zg.prototype.setGradient=Zg.prototype.yh,Zg.prototype.setRadius=Zg.prototype.Ig,e("ol.layer.Image",Rp,nm),Rp.prototype.getSource=Rp.prototype.da,e("ol.layer.Layer",Yr,nm),Yr.prototype.getSource=Yr.prototype.da,Yr.prototype.setSource=Yr.prototype.Jc,e("ol.layer.Base",Kr,nm),Kr.prototype.getBrightness=Kr.prototype.Bb,Kr.prototype.getContrast=Kr.prototype.Cb,Kr.prototype.getHue=Kr.prototype.Db,Kr.prototype.getExtent=Kr.prototype.G,Kr.prototype.getMaxResolution=Kr.prototype.Eb,Kr.prototype.getMinResolution=Kr.prototype.Fb,Kr.prototype.getOpacity=Kr.prototype.Kb,Kr.prototype.getSaturation=Kr.prototype.Gb,Kr.prototype.getVisible=Kr.prototype.eb,Kr.prototype.setBrightness=Kr.prototype.gc,Kr.prototype.setContrast=Kr.prototype.hc,Kr.prototype.setHue=Kr.prototype.ic,Kr.prototype.setExtent=Kr.prototype.bc,Kr.prototype.setMaxResolution=Kr.prototype.jc,Kr.prototype.setMinResolution=Kr.prototype.kc,Kr.prototype.setOpacity=Kr.prototype.cc,Kr.prototype.setSaturation=Kr.prototype.lc,Kr.prototype.setVisible=Kr.prototype.mc,e("ol.layer.Group",Mp,nm),Mp.prototype.getLayers=Mp.prototype.Bc,Mp.prototype.setLayers=Mp.prototype.Ah,e("ol.layer.Tile",Lp,nm),Lp.prototype.getPreload=Lp.prototype.a,Lp.prototype.getSource=Lp.prototype.da,Lp.prototype.setPreload=Lp.prototype.d,Lp.prototype.getUseInterimTilesOnError=Lp.prototype.c,Lp.prototype.setUseInterimTilesOnError=Lp.prototype.e,e("ol.layer.Vector",Np,nm),Np.prototype.getSource=Np.prototype.da,Np.prototype.getStyle=Np.prototype.H,Np.prototype.getStyleFunction=Np.prototype.J,Np.prototype.setStyle=Np.prototype.e,e("ol.interaction.DoubleClickZoom",js,nm),e("ol.interaction.DoubleClickZoom.handleEvent",Is,nm),e("ol.interaction.DragAndDrop",fg,nm),e("ol.interaction.DragAndDrop.handleEvent",lb,nm),yg.prototype.features=yg.prototype.features,yg.prototype.file=yg.prototype.file,yg.prototype.projection=yg.prototype.projection,za.prototype.coordinate=za.prototype.coordinate,e("ol.interaction.DragBox",Ka,nm),Ka.prototype.getGeometry=Ka.prototype.Q,e("ol.interaction.DragPan",Ws,nm),e("ol.interaction.DragRotateAndZoom",gg,nm),e("ol.interaction.DragRotate",Ys,nm),e("ol.interaction.DragZoom",pp,nm),wg.prototype.feature=wg.prototype.feature,e("ol.interaction.Draw",xg,nm),e("ol.interaction.Draw.handleEvent",Tg,nm),xg.prototype.finishDrawing=xg.prototype.X,e("ol.interaction.Interaction",As,nm),As.prototype.getActive=As.prototype.c,As.prototype.setActive=As.prototype.d,e("ol.interaction.defaults",Tp,nm),e("ol.interaction.KeyboardPan",lp,nm),e("ol.interaction.KeyboardPan.handleEvent",hp,nm),e("ol.interaction.KeyboardZoom",up,nm),e("ol.interaction.KeyboardZoom.handleEvent",cp,nm),e("ol.interaction.Modify",Ng,nm),e("ol.interaction.Modify.handleEvent",Bg,nm),e("ol.interaction.MouseWheelZoom",fp,nm),e("ol.interaction.MouseWheelZoom.handleEvent",yp,nm),e("ol.interaction.PinchRotate",dp,nm),e("ol.interaction.PinchZoom",bp,nm),e("ol.interaction.Pointer",qs,nm),e("ol.interaction.Pointer.handleEvent",Xs,nm),qg.prototype.selected=qg.prototype.selected,qg.prototype.deselected=qg.prototype.deselected,e("ol.interaction.Select",$g,nm),$g.prototype.getFeatures=$g.prototype.p,e("ol.interaction.Select.handleEvent",Xg,nm),$g.prototype.setMap=$g.prototype.setMap,e("ol.interaction.Snap",zg,nm),zg.prototype.addFeature=zg.prototype.ed,zg.prototype.removeFeature=zg.prototype.fd,e("ol.geom.Circle",ll,nm),ll.prototype.clone=ll.prototype.clone,ll.prototype.getCenter=ll.prototype.dd,ll.prototype.getRadius=ll.prototype.zg,ll.prototype.getType=ll.prototype.M,ll.prototype.setCenter=ll.prototype.pl,ll.prototype.setCenterAndRadius=ll.prototype.uh,ll.prototype.setRadius=ll.prototype.Ag,ll.prototype.transform=ll.prototype.transform,e("ol.geom.Geometry",Qs,nm),Qs.prototype.getClosestPoint=Qs.prototype.e,Qs.prototype.getExtent=Qs.prototype.G,e("ol.geom.GeometryCollection",ul,nm),ul.prototype.clone=ul.prototype.clone,ul.prototype.getGeometries=ul.prototype.Vf,ul.prototype.getType=ul.prototype.M,ul.prototype.intersectsExtent=ul.prototype.ra,ul.prototype.setGeometries=ul.prototype.xh,ul.prototype.applyTransform=ul.prototype.qa,ul.prototype.translate=ul.prototype.Oa,e("ol.geom.LinearRing",xa,nm),xa.prototype.clone=xa.prototype.clone,xa.prototype.getArea=xa.prototype.rl,xa.prototype.getCoordinates=xa.prototype.K,xa.prototype.getType=xa.prototype.M,xa.prototype.setCoordinates=xa.prototype.W,e("ol.geom.LineString",ml,nm),ml.prototype.appendCoordinate=ml.prototype.ui,ml.prototype.clone=ml.prototype.clone,ml.prototype.forEachSegment=ml.prototype.Ji,ml.prototype.getCoordinateAtM=ml.prototype.ql,ml.prototype.getCoordinates=ml.prototype.K,ml.prototype.getLength=ml.prototype.Bg,ml.prototype.getType=ml.prototype.M,ml.prototype.intersectsExtent=ml.prototype.ra,ml.prototype.setCoordinates=ml.prototype.W,e("ol.geom.MultiLineString",xl,nm),xl.prototype.appendLineString=xl.prototype.vi,xl.prototype.clone=xl.prototype.clone,xl.prototype.getCoordinateAtM=xl.prototype.sl,xl.prototype.getCoordinates=xl.prototype.K,xl.prototype.getLineString=xl.prototype.gj,xl.prototype.getLineStrings=xl.prototype.ad,xl.prototype.getType=xl.prototype.M,xl.prototype.intersectsExtent=xl.prototype.ra,xl.prototype.setCoordinates=xl.prototype.W,e("ol.geom.MultiPoint",Cl,nm),Cl.prototype.appendPoint=Cl.prototype.xi,Cl.prototype.clone=Cl.prototype.clone,Cl.prototype.getCoordinates=Cl.prototype.K,Cl.prototype.getPoint=Cl.prototype.qj,Cl.prototype.getPoints=Cl.prototype.ce,Cl.prototype.getType=Cl.prototype.M,Cl.prototype.intersectsExtent=Cl.prototype.ra,Cl.prototype.setCoordinates=Cl.prototype.W,e("ol.geom.MultiPolygon",El,nm),El.prototype.appendPolygon=El.prototype.yi,El.prototype.clone=El.prototype.clone,El.prototype.getArea=El.prototype.tl,El.prototype.getCoordinates=El.prototype.K,El.prototype.getInteriorPoints=El.prototype.dj,El.prototype.getPolygon=El.prototype.sj,El.prototype.getPolygons=El.prototype.Id,El.prototype.getType=El.prototype.M,El.prototype.intersectsExtent=El.prototype.ra,El.prototype.setCoordinates=El.prototype.W,e("ol.geom.Point",Ta,nm),Ta.prototype.clone=Ta.prototype.clone,Ta.prototype.getCoordinates=Ta.prototype.K,Ta.prototype.getType=Ta.prototype.M,Ta.prototype.intersectsExtent=Ta.prototype.ra,Ta.prototype.setCoordinates=Ta.prototype.W,e("ol.geom.Polygon",Fa,nm),Fa.prototype.appendLinearRing=Fa.prototype.wi,Fa.prototype.clone=Fa.prototype.clone,Fa.prototype.getArea=Fa.prototype.ul,Fa.prototype.getCoordinates=Fa.prototype.K,Fa.prototype.getInteriorPoint=Fa.prototype.cj,Fa.prototype.getLinearRingCount=Fa.prototype.ij,Fa.prototype.getLinearRing=Fa.prototype.hj,Fa.prototype.getLinearRings=Fa.prototype.Ed,Fa.prototype.getType=Fa.prototype.M,Fa.prototype.intersectsExtent=Fa.prototype.ra,Fa.prototype.setCoordinates=Fa.prototype.W,e("ol.geom.Polygon.circular",Ga,nm),e("ol.geom.Polygon.fromExtent",function(t){var e=t[0],o=t[1],i=t[2];return t=t[3],e=[e,o,e,t,i,t,i,o,e,o],o=new Fa(null),Ua(o,"XY",e,[e.length]),o},nm),e("ol.geom.SimpleGeometry",ea,nm),ea.prototype.getFirstCoordinate=ea.prototype.ob,ea.prototype.getLastCoordinate=ea.prototype.pb,ea.prototype.getLayout=ea.prototype.qb,ea.prototype.applyTransform=ea.prototype.qa,ea.prototype.translate=ea.prototype.Oa,e("ol.format.EsriJSON",gf,nm),gf.prototype.readFeature=gf.prototype.sb,gf.prototype.readFeatures=gf.prototype.ja,gf.prototype.readGeometry=gf.prototype.Gc, -gf.prototype.readProjection=gf.prototype.za,gf.prototype.writeGeometry=gf.prototype.Mc,gf.prototype.writeGeometryObject=gf.prototype.Be,gf.prototype.writeFeature=gf.prototype.qd,gf.prototype.writeFeatureObject=gf.prototype.Lc,gf.prototype.writeFeatures=gf.prototype.ub,gf.prototype.writeFeaturesObject=gf.prototype.ze,e("ol.format.Feature",hf,nm),e("ol.format.GeoJSON",xf,nm),xf.prototype.readFeature=xf.prototype.sb,xf.prototype.readFeatures=xf.prototype.ja,xf.prototype.readGeometry=xf.prototype.Gc,xf.prototype.readProjection=xf.prototype.za,xf.prototype.writeFeature=xf.prototype.qd,xf.prototype.writeFeatureObject=xf.prototype.Lc,xf.prototype.writeFeatures=xf.prototype.ub,xf.prototype.writeFeaturesObject=xf.prototype.ze,xf.prototype.writeGeometry=xf.prototype.Mc,xf.prototype.writeGeometryObject=xf.prototype.Be,e("ol.format.GPX",$f,nm),$f.prototype.readFeature=$f.prototype.sb,$f.prototype.readFeatures=$f.prototype.ja,$f.prototype.readProjection=$f.prototype.za,$f.prototype.writeFeatures=$f.prototype.ub,$f.prototype.writeFeaturesNode=$f.prototype.a,e("ol.format.IGC",ny,nm),ny.prototype.readFeature=ny.prototype.sb,ny.prototype.readFeatures=ny.prototype.ja,ny.prototype.readProjection=ny.prototype.za,e("ol.format.KML",xy,nm),xy.prototype.readFeature=xy.prototype.sb,xy.prototype.readFeatures=xy.prototype.ja,xy.prototype.readName=xy.prototype.Dn,xy.prototype.readNetworkLinks=xy.prototype.En,xy.prototype.readProjection=xy.prototype.za,xy.prototype.writeFeatures=xy.prototype.ub,xy.prototype.writeFeaturesNode=xy.prototype.a,e("ol.format.OSMXML",Yy,nm),Yy.prototype.readFeatures=Yy.prototype.ja,Yy.prototype.readProjection=Yy.prototype.za,e("ol.format.Polyline",ed,nm),e("ol.format.Polyline.encodeDeltas",od,nm),e("ol.format.Polyline.decodeDeltas",id,nm),e("ol.format.Polyline.encodeFloats",nd,nm),e("ol.format.Polyline.decodeFloats",rd,nm),ed.prototype.readFeature=ed.prototype.sb,ed.prototype.readFeatures=ed.prototype.ja,ed.prototype.readGeometry=ed.prototype.Gc,ed.prototype.readProjection=ed.prototype.za,ed.prototype.writeGeometry=ed.prototype.Mc,e("ol.format.TopoJSON",sd,nm),sd.prototype.readFeatures=sd.prototype.ja,sd.prototype.readProjection=sd.prototype.za,e("ol.format.WFS",ud,nm),ud.prototype.readFeatures=ud.prototype.ja,ud.prototype.readTransactionResponse=ud.prototype.g,ud.prototype.readFeatureCollectionMetadata=ud.prototype.f,ud.prototype.writeGetFeature=ud.prototype.i,ud.prototype.writeTransaction=ud.prototype.o,ud.prototype.readProjection=ud.prototype.za,e("ol.format.WKT",gd,nm),gd.prototype.readFeature=gd.prototype.sb,gd.prototype.readFeatures=gd.prototype.ja,gd.prototype.readGeometry=gd.prototype.Gc,gd.prototype.writeFeature=gd.prototype.qd,gd.prototype.writeFeatures=gd.prototype.ub,gd.prototype.writeGeometry=gd.prototype.Mc,e("ol.format.WMSCapabilities",Ld,nm),Ld.prototype.read=Ld.prototype.c,e("ol.format.WMSGetFeatureInfo",Fd,nm),Fd.prototype.readFeatures=Fd.prototype.ja,e("ol.format.WMTSCapabilities",Bd,nm),Bd.prototype.read=Bd.prototype.c,e("ol.format.GML2",qf,nm),e("ol.format.GML3",Gf,nm),Gf.prototype.writeGeometryNode=Gf.prototype.q,Gf.prototype.writeFeatures=Gf.prototype.ub,Gf.prototype.writeFeaturesNode=Gf.prototype.a,e("ol.format.GML",Gf,nm),Gf.prototype.writeFeatures=Gf.prototype.ub,Gf.prototype.writeFeaturesNode=Gf.prototype.a,Pf.prototype.readFeatures=Pf.prototype.ja,e("ol.events.condition.altKeyOnly",function(t){return t=t.b,t.a&&!t.g&&!t.d},nm),e("ol.events.condition.altShiftKeysOnly",Ds,nm),e("ol.events.condition.always",lb,nm),e("ol.events.condition.click",function(t){return t.type==Vb},nm),e("ol.events.condition.never",pb,nm),e("ol.events.condition.pointerMove",Fs,nm),e("ol.events.condition.singleClick",Os,nm),e("ol.events.condition.noModifierKeys",Bs,nm),e("ol.events.condition.platformModifierKeyOnly",function(t){return t=t.b,!t.a&&t.g&&!t.d},nm),e("ol.events.condition.shiftKeyOnly",Us,nm),e("ol.events.condition.targetNotEditable",Gs,nm),e("ol.events.condition.mouseOnly",Hs,nm),e("ol.control.Attribution",Rn,nm),e("ol.control.Attribution.render",Ln,nm),Rn.prototype.getCollapsible=Rn.prototype.fl,Rn.prototype.setCollapsible=Rn.prototype.il,Rn.prototype.setCollapsed=Rn.prototype.hl,Rn.prototype.getCollapsed=Rn.prototype.el,e("ol.control.Control",Ji,nm),Ji.prototype.getMap=Ji.prototype.e,Ji.prototype.setMap=Ji.prototype.setMap,Ji.prototype.setTarget=Ji.prototype.c,e("ol.control.defaults",Fn,nm),e("ol.control.FullScreen",Gn,nm),e("ol.control.MousePosition",Hn,nm),e("ol.control.MousePosition.render",qn,nm),Hn.prototype.getCoordinateFormat=Hn.prototype.Uf,Hn.prototype.getProjection=Hn.prototype.xg,Hn.prototype.setMap=Hn.prototype.setMap,Hn.prototype.setCoordinateFormat=Hn.prototype.vh,Hn.prototype.setProjection=Hn.prototype.yg,e("ol.control.OverviewMap",Oc,nm),Oc.prototype.setMap=Oc.prototype.setMap,e("ol.control.OverviewMap.render",Bc,nm),Oc.prototype.getCollapsible=Oc.prototype.ll,Oc.prototype.setCollapsible=Oc.prototype.ol,Oc.prototype.setCollapsed=Oc.prototype.nl,Oc.prototype.getCollapsed=Oc.prototype.kl,e("ol.control.Rotate",jn,nm),e("ol.control.Rotate.render",In,nm),e("ol.control.ScaleLine",qc,nm),qc.prototype.getUnits=qc.prototype.p,e("ol.control.ScaleLine.render",$c,nm),qc.prototype.setUnits=qc.prototype.J,e("ol.control.Zoom",Dn,nm),e("ol.control.ZoomSlider",tf,nm),e("ol.control.ZoomSlider.render",ef,nm),e("ol.control.ZoomToExtent",rf,nm),e("ol.color.asArray",ii,nm),e("ol.color.asString",ni,nm),re.prototype.changed=re.prototype.k,re.prototype.getRevision=re.prototype.v,re.prototype.on=re.prototype.r,re.prototype.once=re.prototype.A,re.prototype.un=re.prototype.u,re.prototype.unByKey=re.prototype.B,ei.prototype.get=ei.prototype.get,ei.prototype.getKeys=ei.prototype.C,ei.prototype.getProperties=ei.prototype.D,ei.prototype.set=ei.prototype.set,ei.prototype.setProperties=ei.prototype.t,ei.prototype.unset=ei.prototype.I,ei.prototype.changed=ei.prototype.k,ei.prototype.getRevision=ei.prototype.v,ei.prototype.on=ei.prototype.r,ei.prototype.once=ei.prototype.A,ei.prototype.un=ei.prototype.u,ei.prototype.unByKey=ei.prototype.B,sf.prototype.get=sf.prototype.get,sf.prototype.getKeys=sf.prototype.C,sf.prototype.getProperties=sf.prototype.D,sf.prototype.set=sf.prototype.set,sf.prototype.setProperties=sf.prototype.t,sf.prototype.unset=sf.prototype.I,sf.prototype.changed=sf.prototype.k,sf.prototype.getRevision=sf.prototype.v,sf.prototype.on=sf.prototype.r,sf.prototype.once=sf.prototype.A,sf.prototype.un=sf.prototype.u,sf.prototype.unByKey=sf.prototype.B,af.prototype.get=af.prototype.get,af.prototype.getKeys=af.prototype.C,af.prototype.getProperties=af.prototype.D,af.prototype.set=af.prototype.set,af.prototype.setProperties=af.prototype.t,af.prototype.unset=af.prototype.I,af.prototype.changed=af.prototype.k,af.prototype.getRevision=af.prototype.v,af.prototype.on=af.prototype.r,af.prototype.once=af.prototype.A,af.prototype.un=af.prototype.u,af.prototype.unByKey=af.prototype.B,Gd.prototype.get=Gd.prototype.get,Gd.prototype.getKeys=Gd.prototype.C,Gd.prototype.getProperties=Gd.prototype.D,Gd.prototype.set=Gd.prototype.set,Gd.prototype.setProperties=Gd.prototype.t,Gd.prototype.unset=Gd.prototype.I,Gd.prototype.changed=Gd.prototype.k,Gd.prototype.getRevision=Gd.prototype.v,Gd.prototype.on=Gd.prototype.r,Gd.prototype.once=Gd.prototype.A,Gd.prototype.un=Gd.prototype.u,Gd.prototype.unByKey=Gd.prototype.B,Vd.prototype.getTileCoord=Vd.prototype.f,Nc.prototype.get=Nc.prototype.get,Nc.prototype.getKeys=Nc.prototype.C,Nc.prototype.getProperties=Nc.prototype.D,Nc.prototype.set=Nc.prototype.set,Nc.prototype.setProperties=Nc.prototype.t,Nc.prototype.unset=Nc.prototype.I,Nc.prototype.changed=Nc.prototype.k,Nc.prototype.getRevision=Nc.prototype.v,Nc.prototype.on=Nc.prototype.r,Nc.prototype.once=Nc.prototype.A,Nc.prototype.un=Nc.prototype.u,Nc.prototype.unByKey=Nc.prototype.B,qr.prototype.map=qr.prototype.map,qr.prototype.frameState=qr.prototype.frameState,$r.prototype.originalEvent=$r.prototype.originalEvent,$r.prototype.pixel=$r.prototype.pixel,$r.prototype.coordinate=$r.prototype.coordinate,$r.prototype.dragging=$r.prototype.dragging,$r.prototype.preventDefault=$r.prototype.preventDefault,$r.prototype.stopPropagation=$r.prototype.fb,$r.prototype.map=$r.prototype.map,$r.prototype.frameState=$r.prototype.frameState,Ic.prototype.get=Ic.prototype.get,Ic.prototype.getKeys=Ic.prototype.C,Ic.prototype.getProperties=Ic.prototype.D,Ic.prototype.set=Ic.prototype.set,Ic.prototype.setProperties=Ic.prototype.t,Ic.prototype.unset=Ic.prototype.I,Ic.prototype.changed=Ic.prototype.k,Ic.prototype.getRevision=Ic.prototype.v,Ic.prototype.on=Ic.prototype.r,Ic.prototype.once=Ic.prototype.A,Ic.prototype.un=Ic.prototype.u,Ic.prototype.unByKey=Ic.prototype.B,Ao.prototype.get=Ao.prototype.get,Ao.prototype.getKeys=Ao.prototype.C,Ao.prototype.getProperties=Ao.prototype.D,Ao.prototype.set=Ao.prototype.set,Ao.prototype.setProperties=Ao.prototype.t,Ao.prototype.unset=Ao.prototype.I,Ao.prototype.changed=Ao.prototype.k,Ao.prototype.getRevision=Ao.prototype.v,Ao.prototype.on=Ao.prototype.r,Ao.prototype.once=Ao.prototype.A,Ao.prototype.un=Ao.prototype.u,Ao.prototype.unByKey=Ao.prototype.B,$v.prototype.getMaxZoom=$v.prototype.Fd,$v.prototype.getMinZoom=$v.prototype.Hd,$v.prototype.getOrigin=$v.prototype.Mb,$v.prototype.getResolution=$v.prototype.ma,$v.prototype.getResolutions=$v.prototype.ne,$v.prototype.getTileCoordForCoordAndResolution=$v.prototype.Wb,$v.prototype.getTileCoordForCoordAndZ=$v.prototype.cd,$v.prototype.getTileSize=$v.prototype.na,yv.prototype.getMaxZoom=yv.prototype.Fd,yv.prototype.getMinZoom=yv.prototype.Hd,yv.prototype.getOrigin=yv.prototype.Mb,yv.prototype.getResolution=yv.prototype.ma,yv.prototype.getResolutions=yv.prototype.ne,yv.prototype.getTileCoordForCoordAndResolution=yv.prototype.Wb,yv.prototype.getTileCoordForCoordAndZ=yv.prototype.cd,yv.prototype.getTileSize=yv.prototype.na,Kv.prototype.getMaxZoom=Kv.prototype.Fd,Kv.prototype.getMinZoom=Kv.prototype.Hd,Kv.prototype.getOrigin=Kv.prototype.Mb,Kv.prototype.getResolution=Kv.prototype.ma,Kv.prototype.getResolutions=Kv.prototype.ne,Kv.prototype.getTileCoordForCoordAndResolution=Kv.prototype.Wb,Kv.prototype.getTileCoordForCoordAndZ=Kv.prototype.cd,Kv.prototype.getTileSize=Kv.prototype.na,op.prototype.getOpacity=op.prototype.ie,op.prototype.getRotateWithView=op.prototype.Jd,op.prototype.getRotation=op.prototype.je,op.prototype.getScale=op.prototype.ke,op.prototype.getSnapToPixel=op.prototype.Kd,op.prototype.setRotation=op.prototype.le,op.prototype.setScale=op.prototype.me,us.prototype.getOpacity=us.prototype.ie,us.prototype.getRotateWithView=us.prototype.Jd,us.prototype.getRotation=us.prototype.je,us.prototype.getScale=us.prototype.ke,us.prototype.getSnapToPixel=us.prototype.Kd,us.prototype.setRotation=us.prototype.le,us.prototype.setScale=us.prototype.me,tm.prototype.getOpacity=tm.prototype.ie,tm.prototype.getRotateWithView=tm.prototype.Jd,tm.prototype.getRotation=tm.prototype.je,tm.prototype.getScale=tm.prototype.ke,tm.prototype.getSnapToPixel=tm.prototype.Kd,tm.prototype.setRotation=tm.prototype.le,tm.prototype.setScale=tm.prototype.me,sn.prototype.get=sn.prototype.get,sn.prototype.getKeys=sn.prototype.C,sn.prototype.getProperties=sn.prototype.D,sn.prototype.set=sn.prototype.set,sn.prototype.setProperties=sn.prototype.t,sn.prototype.unset=sn.prototype.I,sn.prototype.changed=sn.prototype.k,sn.prototype.getRevision=sn.prototype.v,sn.prototype.on=sn.prototype.r,sn.prototype.once=sn.prototype.A,sn.prototype.un=sn.prototype.u,sn.prototype.unByKey=sn.prototype.B,En.prototype.getAttributions=En.prototype.ea,En.prototype.getLogo=En.prototype.ca,En.prototype.getProjection=En.prototype.fa,En.prototype.getState=En.prototype.ga,En.prototype.get=En.prototype.get,En.prototype.getKeys=En.prototype.C,En.prototype.getProperties=En.prototype.D,En.prototype.set=En.prototype.set,En.prototype.setProperties=En.prototype.t,En.prototype.unset=En.prototype.I,En.prototype.changed=En.prototype.k,En.prototype.getRevision=En.prototype.v,En.prototype.on=En.prototype.r,En.prototype.once=En.prototype.A,En.prototype.un=En.prototype.u,En.prototype.unByKey=En.prototype.B,cv.prototype.getTileGrid=cv.prototype.ua,cv.prototype.getAttributions=cv.prototype.ea,cv.prototype.getLogo=cv.prototype.ca,cv.prototype.getProjection=cv.prototype.fa,cv.prototype.getState=cv.prototype.ga,cv.prototype.get=cv.prototype.get,cv.prototype.getKeys=cv.prototype.C,cv.prototype.getProperties=cv.prototype.D,cv.prototype.set=cv.prototype.set,cv.prototype.setProperties=cv.prototype.t,cv.prototype.unset=cv.prototype.I,cv.prototype.changed=cv.prototype.k,cv.prototype.getRevision=cv.prototype.v,cv.prototype.on=cv.prototype.r,cv.prototype.once=cv.prototype.A,cv.prototype.un=cv.prototype.u,cv.prototype.unByKey=cv.prototype.B,dv.prototype.getTileLoadFunction=dv.prototype.Ua,dv.prototype.getTileUrlFunction=dv.prototype.Va,dv.prototype.setTileLoadFunction=dv.prototype.$a,dv.prototype.setTileUrlFunction=dv.prototype.pa,dv.prototype.getTileGrid=dv.prototype.ua,dv.prototype.getAttributions=dv.prototype.ea,dv.prototype.getLogo=dv.prototype.ca,dv.prototype.getProjection=dv.prototype.fa,dv.prototype.getState=dv.prototype.ga,dv.prototype.get=dv.prototype.get,dv.prototype.getKeys=dv.prototype.C,dv.prototype.getProperties=dv.prototype.D,dv.prototype.set=dv.prototype.set,dv.prototype.setProperties=dv.prototype.t,dv.prototype.unset=dv.prototype.I,dv.prototype.changed=dv.prototype.k,dv.prototype.getRevision=dv.prototype.v,dv.prototype.on=dv.prototype.r,dv.prototype.once=dv.prototype.A,dv.prototype.un=dv.prototype.u,dv.prototype.unByKey=dv.prototype.B,cu.prototype.getAttributions=cu.prototype.ea,cu.prototype.getLogo=cu.prototype.ca,cu.prototype.getProjection=cu.prototype.fa,cu.prototype.getState=cu.prototype.ga,cu.prototype.get=cu.prototype.get,cu.prototype.getKeys=cu.prototype.C,cu.prototype.getProperties=cu.prototype.D,cu.prototype.set=cu.prototype.set,cu.prototype.setProperties=cu.prototype.t,cu.prototype.unset=cu.prototype.I,cu.prototype.changed=cu.prototype.k,cu.prototype.getRevision=cu.prototype.v,cu.prototype.on=cu.prototype.r,cu.prototype.once=cu.prototype.A,cu.prototype.un=cu.prototype.u,cu.prototype.unByKey=cu.prototype.B,gv.prototype.addFeature=gv.prototype.jf,gv.prototype.addFeatures=gv.prototype.Oc,gv.prototype.clear=gv.prototype.clear,gv.prototype.forEachFeature=gv.prototype.Rf,gv.prototype.forEachFeatureInExtent=gv.prototype.$c,gv.prototype.forEachFeatureIntersectingExtent=gv.prototype.Oe,gv.prototype.getFeatures=gv.prototype.Dc,gv.prototype.getFeaturesAtCoordinate=gv.prototype.Re,gv.prototype.getFeaturesInExtent=gv.prototype.Se,gv.prototype.getClosestFeatureToCoordinate=gv.prototype.Tf,gv.prototype.getExtent=gv.prototype.G,gv.prototype.getFeatureById=gv.prototype.Qe,gv.prototype.removeFeature=gv.prototype.Qg,gv.prototype.getAttributions=gv.prototype.ea,gv.prototype.getLogo=gv.prototype.ca,gv.prototype.getProjection=gv.prototype.fa,gv.prototype.getState=gv.prototype.ga,gv.prototype.get=gv.prototype.get,gv.prototype.getKeys=gv.prototype.C,gv.prototype.getProperties=gv.prototype.D,gv.prototype.set=gv.prototype.set,gv.prototype.setProperties=gv.prototype.t,gv.prototype.unset=gv.prototype.I,gv.prototype.changed=gv.prototype.k,gv.prototype.getRevision=gv.prototype.v,gv.prototype.on=gv.prototype.r,gv.prototype.once=gv.prototype.A,gv.prototype.un=gv.prototype.u,gv.prototype.unByKey=gv.prototype.B,Dl.prototype.getAttributions=Dl.prototype.ea,Dl.prototype.getLogo=Dl.prototype.ca,Dl.prototype.getProjection=Dl.prototype.fa,Dl.prototype.getState=Dl.prototype.ga,Dl.prototype.get=Dl.prototype.get,Dl.prototype.getKeys=Dl.prototype.C,Dl.prototype.getProperties=Dl.prototype.D,Dl.prototype.set=Dl.prototype.set,Dl.prototype.setProperties=Dl.prototype.t,Dl.prototype.unset=Dl.prototype.I,Dl.prototype.changed=Dl.prototype.k,Dl.prototype.getRevision=Dl.prototype.v,Dl.prototype.on=Dl.prototype.r,Dl.prototype.once=Dl.prototype.A,Dl.prototype.un=Dl.prototype.u,Dl.prototype.unByKey=Dl.prototype.B,Ul.prototype.getAttributions=Ul.prototype.ea,Ul.prototype.getLogo=Ul.prototype.ca,Ul.prototype.getProjection=Ul.prototype.fa,Ul.prototype.getState=Ul.prototype.ga,Ul.prototype.get=Ul.prototype.get,Ul.prototype.getKeys=Ul.prototype.C,Ul.prototype.getProperties=Ul.prototype.D,Ul.prototype.set=Ul.prototype.set,Ul.prototype.setProperties=Ul.prototype.t,Ul.prototype.unset=Ul.prototype.I,Ul.prototype.changed=Ul.prototype.k,Ul.prototype.getRevision=Ul.prototype.v,Ul.prototype.on=Ul.prototype.r,Ul.prototype.once=Ul.prototype.A,Ul.prototype.un=Ul.prototype.u,Ul.prototype.unByKey=Ul.prototype.B,bv.prototype.getAttributions=bv.prototype.ea,bv.prototype.getLogo=bv.prototype.ca,bv.prototype.getProjection=bv.prototype.fa,bv.prototype.getState=bv.prototype.ga,bv.prototype.get=bv.prototype.get,bv.prototype.getKeys=bv.prototype.C,bv.prototype.getProperties=bv.prototype.D,bv.prototype.set=bv.prototype.set,bv.prototype.setProperties=bv.prototype.t,bv.prototype.unset=bv.prototype.I,bv.prototype.changed=bv.prototype.k,bv.prototype.getRevision=bv.prototype.v,bv.prototype.on=bv.prototype.r,bv.prototype.once=bv.prototype.A,bv.prototype.un=bv.prototype.u,bv.prototype.unByKey=bv.prototype.B,wv.prototype.getAttributions=wv.prototype.ea,wv.prototype.getLogo=wv.prototype.ca,wv.prototype.getProjection=wv.prototype.fa,wv.prototype.getState=wv.prototype.ga,wv.prototype.get=wv.prototype.get,wv.prototype.getKeys=wv.prototype.C,wv.prototype.getProperties=wv.prototype.D,wv.prototype.set=wv.prototype.set,wv.prototype.setProperties=wv.prototype.t,wv.prototype.unset=wv.prototype.I,wv.prototype.changed=wv.prototype.k,wv.prototype.getRevision=wv.prototype.v,wv.prototype.on=wv.prototype.r,wv.prototype.once=wv.prototype.A,wv.prototype.un=wv.prototype.u,wv.prototype.unByKey=wv.prototype.B,bu.prototype.getAttributions=bu.prototype.ea,bu.prototype.getLogo=bu.prototype.ca,bu.prototype.getProjection=bu.prototype.fa,bu.prototype.getState=bu.prototype.ga,bu.prototype.get=bu.prototype.get,bu.prototype.getKeys=bu.prototype.C,bu.prototype.getProperties=bu.prototype.D,bu.prototype.set=bu.prototype.set,bu.prototype.setProperties=bu.prototype.t,bu.prototype.unset=bu.prototype.I,bu.prototype.changed=bu.prototype.k,bu.prototype.getRevision=bu.prototype.v,bu.prototype.on=bu.prototype.r,bu.prototype.once=bu.prototype.A,bu.prototype.un=bu.prototype.u,bu.prototype.unByKey=bu.prototype.B,xv.prototype.getAttributions=xv.prototype.ea,xv.prototype.getLogo=xv.prototype.ca,xv.prototype.getProjection=xv.prototype.fa,xv.prototype.getState=xv.prototype.ga,xv.prototype.get=xv.prototype.get,xv.prototype.getKeys=xv.prototype.C,xv.prototype.getProperties=xv.prototype.D,xv.prototype.set=xv.prototype.set,xv.prototype.setProperties=xv.prototype.t,xv.prototype.unset=xv.prototype.I,xv.prototype.changed=xv.prototype.k,xv.prototype.getRevision=xv.prototype.v,xv.prototype.on=xv.prototype.r,xv.prototype.once=xv.prototype.A,xv.prototype.un=xv.prototype.u,xv.prototype.unByKey=xv.prototype.B,Mv.prototype.getTileLoadFunction=Mv.prototype.Ua,Mv.prototype.getTileUrlFunction=Mv.prototype.Va,Mv.prototype.setTileLoadFunction=Mv.prototype.$a,Mv.prototype.getTileGrid=Mv.prototype.ua,Mv.prototype.getAttributions=Mv.prototype.ea,Mv.prototype.getLogo=Mv.prototype.ca,Mv.prototype.getProjection=Mv.prototype.fa,Mv.prototype.getState=Mv.prototype.ga,Mv.prototype.get=Mv.prototype.get,Mv.prototype.getKeys=Mv.prototype.C,Mv.prototype.getProperties=Mv.prototype.D,Mv.prototype.set=Mv.prototype.set,Mv.prototype.setProperties=Mv.prototype.t,Mv.prototype.unset=Mv.prototype.I,Mv.prototype.changed=Mv.prototype.k,Mv.prototype.getRevision=Mv.prototype.v,Mv.prototype.on=Mv.prototype.r,Mv.prototype.once=Mv.prototype.A,Mv.prototype.un=Mv.prototype.u,Mv.prototype.unByKey=Mv.prototype.B,Ev.prototype.setTileUrlFunction=Ev.prototype.pa,Ev.prototype.setUrl=Ev.prototype.e,Ev.prototype.getTileLoadFunction=Ev.prototype.Ua,Ev.prototype.getTileUrlFunction=Ev.prototype.Va,Ev.prototype.setTileLoadFunction=Ev.prototype.$a,Ev.prototype.getTileGrid=Ev.prototype.ua,Ev.prototype.getAttributions=Ev.prototype.ea,Ev.prototype.getLogo=Ev.prototype.ca,Ev.prototype.getProjection=Ev.prototype.fa,Ev.prototype.getState=Ev.prototype.ga,Ev.prototype.get=Ev.prototype.get,Ev.prototype.getKeys=Ev.prototype.C,Ev.prototype.getProperties=Ev.prototype.D,Ev.prototype.set=Ev.prototype.set,Ev.prototype.setProperties=Ev.prototype.t,Ev.prototype.unset=Ev.prototype.I,Ev.prototype.changed=Ev.prototype.k,Ev.prototype.getRevision=Ev.prototype.v,Ev.prototype.on=Ev.prototype.r,Ev.prototype.once=Ev.prototype.A,Ev.prototype.un=Ev.prototype.u,Ev.prototype.unByKey=Ev.prototype.B,Cv.prototype.setTileUrlFunction=Cv.prototype.pa,Cv.prototype.setUrl=Cv.prototype.e,Cv.prototype.getTileLoadFunction=Cv.prototype.Ua,Cv.prototype.getTileUrlFunction=Cv.prototype.Va,Cv.prototype.setTileLoadFunction=Cv.prototype.$a,Cv.prototype.getTileGrid=Cv.prototype.ua,Cv.prototype.getAttributions=Cv.prototype.ea,Cv.prototype.getLogo=Cv.prototype.ca,Cv.prototype.getProjection=Cv.prototype.fa,Cv.prototype.getState=Cv.prototype.ga,Cv.prototype.get=Cv.prototype.get,Cv.prototype.getKeys=Cv.prototype.C,Cv.prototype.getProperties=Cv.prototype.D,Cv.prototype.set=Cv.prototype.set,Cv.prototype.setProperties=Cv.prototype.t,Cv.prototype.unset=Cv.prototype.I,Cv.prototype.changed=Cv.prototype.k,Cv.prototype.getRevision=Cv.prototype.v,Cv.prototype.on=Cv.prototype.r,Cv.prototype.once=Cv.prototype.A,Cv.prototype.un=Cv.prototype.u,Cv.prototype.unByKey=Cv.prototype.B,Pv.prototype.setTileUrlFunction=Pv.prototype.pa,Pv.prototype.setUrl=Pv.prototype.e,Pv.prototype.getTileLoadFunction=Pv.prototype.Ua,Pv.prototype.getTileUrlFunction=Pv.prototype.Va,Pv.prototype.setTileLoadFunction=Pv.prototype.$a,Pv.prototype.getTileGrid=Pv.prototype.ua,Pv.prototype.getAttributions=Pv.prototype.ea,Pv.prototype.getLogo=Pv.prototype.ca,Pv.prototype.getProjection=Pv.prototype.fa,Pv.prototype.getState=Pv.prototype.ga,Pv.prototype.get=Pv.prototype.get,Pv.prototype.getKeys=Pv.prototype.C,Pv.prototype.getProperties=Pv.prototype.D,Pv.prototype.set=Pv.prototype.set,Pv.prototype.setProperties=Pv.prototype.t,Pv.prototype.unset=Pv.prototype.I,Pv.prototype.changed=Pv.prototype.k,Pv.prototype.getRevision=Pv.prototype.v,Pv.prototype.on=Pv.prototype.r,Pv.prototype.once=Pv.prototype.A,Pv.prototype.un=Pv.prototype.u,Pv.prototype.unByKey=Pv.prototype.B,kv.prototype.getTileLoadFunction=kv.prototype.Ua,kv.prototype.getTileUrlFunction=kv.prototype.Va,kv.prototype.setTileLoadFunction=kv.prototype.$a,kv.prototype.setTileUrlFunction=kv.prototype.pa,kv.prototype.getTileGrid=kv.prototype.ua,kv.prototype.getAttributions=kv.prototype.ea,kv.prototype.getLogo=kv.prototype.ca,kv.prototype.getProjection=kv.prototype.fa,kv.prototype.getState=kv.prototype.ga,kv.prototype.get=kv.prototype.get,kv.prototype.getKeys=kv.prototype.C,kv.prototype.getProperties=kv.prototype.D,kv.prototype.set=kv.prototype.set,kv.prototype.setProperties=kv.prototype.t,kv.prototype.unset=kv.prototype.I,kv.prototype.changed=kv.prototype.k,kv.prototype.getRevision=kv.prototype.v,kv.prototype.on=kv.prototype.r,kv.prototype.once=kv.prototype.A,kv.prototype.un=kv.prototype.u,kv.prototype.unByKey=kv.prototype.B,Rv.prototype.getTileGrid=Rv.prototype.ua,Rv.prototype.getAttributions=Rv.prototype.ea,Rv.prototype.getLogo=Rv.prototype.ca,Rv.prototype.getProjection=Rv.prototype.fa,Rv.prototype.getState=Rv.prototype.ga,Rv.prototype.get=Rv.prototype.get,Rv.prototype.getKeys=Rv.prototype.C,Rv.prototype.getProperties=Rv.prototype.D,Rv.prototype.set=Rv.prototype.set,Rv.prototype.setProperties=Rv.prototype.t,Rv.prototype.unset=Rv.prototype.I,Rv.prototype.changed=Rv.prototype.k,Rv.prototype.getRevision=Rv.prototype.v,Rv.prototype.on=Rv.prototype.r,Rv.prototype.once=Rv.prototype.A,Rv.prototype.un=Rv.prototype.u,Rv.prototype.unByKey=Rv.prototype.B,Lv.prototype.getTileLoadFunction=Lv.prototype.Ua,Lv.prototype.getTileUrlFunction=Lv.prototype.Va,Lv.prototype.setTileLoadFunction=Lv.prototype.$a,Lv.prototype.setTileUrlFunction=Lv.prototype.pa,Lv.prototype.getTileGrid=Lv.prototype.ua,Lv.prototype.getAttributions=Lv.prototype.ea,Lv.prototype.getLogo=Lv.prototype.ca,Lv.prototype.getProjection=Lv.prototype.fa,Lv.prototype.getState=Lv.prototype.ga,Lv.prototype.get=Lv.prototype.get,Lv.prototype.getKeys=Lv.prototype.C,Lv.prototype.getProperties=Lv.prototype.D,Lv.prototype.set=Lv.prototype.set,Lv.prototype.setProperties=Lv.prototype.t,Lv.prototype.unset=Lv.prototype.I,Lv.prototype.changed=Lv.prototype.k,Lv.prototype.getRevision=Lv.prototype.v,Lv.prototype.on=Lv.prototype.r,Lv.prototype.once=Lv.prototype.A,Lv.prototype.un=Lv.prototype.u,Lv.prototype.unByKey=Lv.prototype.B,Nv.prototype.getTileGrid=Nv.prototype.ua,Nv.prototype.getAttributions=Nv.prototype.ea,Nv.prototype.getLogo=Nv.prototype.ca,Nv.prototype.getProjection=Nv.prototype.fa,Nv.prototype.getState=Nv.prototype.ga,Nv.prototype.get=Nv.prototype.get,Nv.prototype.getKeys=Nv.prototype.C,Nv.prototype.getProperties=Nv.prototype.D,Nv.prototype.set=Nv.prototype.set,Nv.prototype.setProperties=Nv.prototype.t,Nv.prototype.unset=Nv.prototype.I,Nv.prototype.changed=Nv.prototype.k,Nv.prototype.getRevision=Nv.prototype.v,Nv.prototype.on=Nv.prototype.r,Nv.prototype.once=Nv.prototype.A,Nv.prototype.un=Nv.prototype.u,Nv.prototype.unByKey=Nv.prototype.B,Ov.prototype.forEachFeatureIntersectingExtent=Ov.prototype.Oe,Ov.prototype.getFeaturesAtCoordinate=Ov.prototype.Re,Ov.prototype.getFeatureById=Ov.prototype.Qe,Ov.prototype.getAttributions=Ov.prototype.ea,Ov.prototype.getLogo=Ov.prototype.ca,Ov.prototype.getProjection=Ov.prototype.fa,Ov.prototype.getState=Ov.prototype.ga,Ov.prototype.get=Ov.prototype.get,Ov.prototype.getKeys=Ov.prototype.C,Ov.prototype.getProperties=Ov.prototype.D,Ov.prototype.set=Ov.prototype.set,Ov.prototype.setProperties=Ov.prototype.t,Ov.prototype.unset=Ov.prototype.I,Ov.prototype.changed=Ov.prototype.k,Ov.prototype.getRevision=Ov.prototype.v,Ov.prototype.on=Ov.prototype.r,Ov.prototype.once=Ov.prototype.A,Ov.prototype.un=Ov.prototype.u,Ov.prototype.unByKey=Ov.prototype.B,Uv.prototype.getTileLoadFunction=Uv.prototype.Ua,Uv.prototype.getTileUrlFunction=Uv.prototype.Va,Uv.prototype.setTileLoadFunction=Uv.prototype.$a,Uv.prototype.setTileUrlFunction=Uv.prototype.pa,Uv.prototype.getTileGrid=Uv.prototype.ua,Uv.prototype.getAttributions=Uv.prototype.ea,Uv.prototype.getLogo=Uv.prototype.ca,Uv.prototype.getProjection=Uv.prototype.fa,Uv.prototype.getState=Uv.prototype.ga,Uv.prototype.get=Uv.prototype.get,Uv.prototype.getKeys=Uv.prototype.C,Uv.prototype.getProperties=Uv.prototype.D,Uv.prototype.set=Uv.prototype.set,Uv.prototype.setProperties=Uv.prototype.t,Uv.prototype.unset=Uv.prototype.I,Uv.prototype.changed=Uv.prototype.k,Uv.prototype.getRevision=Uv.prototype.v,Uv.prototype.on=Uv.prototype.r,Uv.prototype.once=Uv.prototype.A,Uv.prototype.un=Uv.prototype.u,Uv.prototype.unByKey=Uv.prototype.B,Wv.prototype.getTileLoadFunction=Wv.prototype.Ua,Wv.prototype.getTileUrlFunction=Wv.prototype.Va,Wv.prototype.setTileLoadFunction=Wv.prototype.$a,Wv.prototype.setTileUrlFunction=Wv.prototype.pa,Wv.prototype.getTileGrid=Wv.prototype.ua,Wv.prototype.getAttributions=Wv.prototype.ea,Wv.prototype.getLogo=Wv.prototype.ca,Wv.prototype.getProjection=Wv.prototype.fa,Wv.prototype.getState=Wv.prototype.ga,Wv.prototype.get=Wv.prototype.get,Wv.prototype.getKeys=Wv.prototype.C,Wv.prototype.getProperties=Wv.prototype.D,Wv.prototype.set=Wv.prototype.set,Wv.prototype.setProperties=Wv.prototype.t,Wv.prototype.unset=Wv.prototype.I,Wv.prototype.changed=Wv.prototype.k,Wv.prototype.getRevision=Wv.prototype.v,Wv.prototype.on=Wv.prototype.r,Wv.prototype.once=Wv.prototype.A,Wv.prototype.un=Wv.prototype.u,Wv.prototype.unByKey=Wv.prototype.B,Vv.prototype.getTileLoadFunction=Vv.prototype.Ua,Vv.prototype.getTileUrlFunction=Vv.prototype.Va,Vv.prototype.setTileLoadFunction=Vv.prototype.$a,Vv.prototype.setTileUrlFunction=Vv.prototype.pa,Vv.prototype.getTileGrid=Vv.prototype.ua,Vv.prototype.getAttributions=Vv.prototype.ea,Vv.prototype.getLogo=Vv.prototype.ca,Vv.prototype.getProjection=Vv.prototype.fa,Vv.prototype.getState=Vv.prototype.ga,Vv.prototype.get=Vv.prototype.get,Vv.prototype.getKeys=Vv.prototype.C,Vv.prototype.getProperties=Vv.prototype.D,Vv.prototype.set=Vv.prototype.set,Vv.prototype.setProperties=Vv.prototype.t,Vv.prototype.unset=Vv.prototype.I,Vv.prototype.changed=Vv.prototype.k,Vv.prototype.getRevision=Vv.prototype.v,Vv.prototype.on=Vv.prototype.r,Vv.prototype.once=Vv.prototype.A,Vv.prototype.un=Vv.prototype.u,Vv.prototype.unByKey=Vv.prototype.B,es.prototype.changed=es.prototype.k,es.prototype.getRevision=es.prototype.v,es.prototype.on=es.prototype.r,es.prototype.once=es.prototype.A,es.prototype.un=es.prototype.u,es.prototype.unByKey=es.prototype.B,vc.prototype.changed=vc.prototype.k,vc.prototype.getRevision=vc.prototype.v,vc.prototype.on=vc.prototype.r,vc.prototype.once=vc.prototype.A,vc.prototype.un=vc.prototype.u,vc.prototype.unByKey=vc.prototype.B,wc.prototype.changed=wc.prototype.k,wc.prototype.getRevision=wc.prototype.v,wc.prototype.on=wc.prototype.r,wc.prototype.once=wc.prototype.A,wc.prototype.un=wc.prototype.u,wc.prototype.unByKey=wc.prototype.B,Ec.prototype.changed=Ec.prototype.k,Ec.prototype.getRevision=Ec.prototype.v,Ec.prototype.on=Ec.prototype.r,Ec.prototype.once=Ec.prototype.A,Ec.prototype.un=Ec.prototype.u,Ec.prototype.unByKey=Ec.prototype.B,Pc.prototype.changed=Pc.prototype.k,Pc.prototype.getRevision=Pc.prototype.v,Pc.prototype.on=Pc.prototype.r,Pc.prototype.once=Pc.prototype.A,Pc.prototype.un=Pc.prototype.u,Pc.prototype.unByKey=Pc.prototype.B,Eu.prototype.changed=Eu.prototype.k,Eu.prototype.getRevision=Eu.prototype.v,Eu.prototype.on=Eu.prototype.r,Eu.prototype.once=Eu.prototype.A,Eu.prototype.un=Eu.prototype.u,Eu.prototype.unByKey=Eu.prototype.B,Pu.prototype.changed=Pu.prototype.k,Pu.prototype.getRevision=Pu.prototype.v,Pu.prototype.on=Pu.prototype.r,Pu.prototype.once=Pu.prototype.A,Pu.prototype.un=Pu.prototype.u,Pu.prototype.unByKey=Pu.prototype.B,ku.prototype.changed=ku.prototype.k,ku.prototype.getRevision=ku.prototype.v,ku.prototype.on=ku.prototype.r,ku.prototype.once=ku.prototype.A,ku.prototype.un=ku.prototype.u,ku.prototype.unByKey=ku.prototype.B,Ru.prototype.changed=Ru.prototype.k,Ru.prototype.getRevision=Ru.prototype.v,Ru.prototype.on=Ru.prototype.r,Ru.prototype.once=Ru.prototype.A,Ru.prototype.un=Ru.prototype.u,Ru.prototype.unByKey=Ru.prototype.B,rl.prototype.changed=rl.prototype.k,rl.prototype.getRevision=rl.prototype.v,rl.prototype.on=rl.prototype.r,rl.prototype.once=rl.prototype.A,rl.prototype.un=rl.prototype.u,rl.prototype.unByKey=rl.prototype.B,xu.prototype.changed=xu.prototype.k,xu.prototype.getRevision=xu.prototype.v,xu.prototype.on=xu.prototype.r,xu.prototype.once=xu.prototype.A,xu.prototype.un=xu.prototype.u,xu.prototype.unByKey=xu.prototype.B,Su.prototype.changed=Su.prototype.k,Su.prototype.getRevision=Su.prototype.v,Su.prototype.on=Su.prototype.r,Su.prototype.once=Su.prototype.A,Su.prototype.un=Su.prototype.u,Su.prototype.unByKey=Su.prototype.B,Tu.prototype.changed=Tu.prototype.k,Tu.prototype.getRevision=Tu.prototype.v,Tu.prototype.on=Tu.prototype.r,Tu.prototype.once=Tu.prototype.A,Tu.prototype.un=Tu.prototype.u,Tu.prototype.unByKey=Tu.prototype.B,Kr.prototype.get=Kr.prototype.get,Kr.prototype.getKeys=Kr.prototype.C,Kr.prototype.getProperties=Kr.prototype.D,Kr.prototype.set=Kr.prototype.set,Kr.prototype.setProperties=Kr.prototype.t,Kr.prototype.unset=Kr.prototype.I,Kr.prototype.changed=Kr.prototype.k,Kr.prototype.getRevision=Kr.prototype.v,Kr.prototype.on=Kr.prototype.r,Kr.prototype.once=Kr.prototype.A,Kr.prototype.un=Kr.prototype.u,Kr.prototype.unByKey=Kr.prototype.B,Yr.prototype.getBrightness=Yr.prototype.Bb,Yr.prototype.getContrast=Yr.prototype.Cb,Yr.prototype.getHue=Yr.prototype.Db,Yr.prototype.getExtent=Yr.prototype.G,Yr.prototype.getMaxResolution=Yr.prototype.Eb,Yr.prototype.getMinResolution=Yr.prototype.Fb,Yr.prototype.getOpacity=Yr.prototype.Kb,Yr.prototype.getSaturation=Yr.prototype.Gb,Yr.prototype.getVisible=Yr.prototype.eb,Yr.prototype.setBrightness=Yr.prototype.gc,Yr.prototype.setContrast=Yr.prototype.hc,Yr.prototype.setHue=Yr.prototype.ic, -Yr.prototype.setExtent=Yr.prototype.bc,Yr.prototype.setMaxResolution=Yr.prototype.jc,Yr.prototype.setMinResolution=Yr.prototype.kc,Yr.prototype.setOpacity=Yr.prototype.cc,Yr.prototype.setSaturation=Yr.prototype.lc,Yr.prototype.setVisible=Yr.prototype.mc,Yr.prototype.get=Yr.prototype.get,Yr.prototype.getKeys=Yr.prototype.C,Yr.prototype.getProperties=Yr.prototype.D,Yr.prototype.set=Yr.prototype.set,Yr.prototype.setProperties=Yr.prototype.t,Yr.prototype.unset=Yr.prototype.I,Yr.prototype.changed=Yr.prototype.k,Yr.prototype.getRevision=Yr.prototype.v,Yr.prototype.on=Yr.prototype.r,Yr.prototype.once=Yr.prototype.A,Yr.prototype.un=Yr.prototype.u,Yr.prototype.unByKey=Yr.prototype.B,Np.prototype.setSource=Np.prototype.Jc,Np.prototype.getBrightness=Np.prototype.Bb,Np.prototype.getContrast=Np.prototype.Cb,Np.prototype.getHue=Np.prototype.Db,Np.prototype.getExtent=Np.prototype.G,Np.prototype.getMaxResolution=Np.prototype.Eb,Np.prototype.getMinResolution=Np.prototype.Fb,Np.prototype.getOpacity=Np.prototype.Kb,Np.prototype.getSaturation=Np.prototype.Gb,Np.prototype.getVisible=Np.prototype.eb,Np.prototype.setBrightness=Np.prototype.gc,Np.prototype.setContrast=Np.prototype.hc,Np.prototype.setHue=Np.prototype.ic,Np.prototype.setExtent=Np.prototype.bc,Np.prototype.setMaxResolution=Np.prototype.jc,Np.prototype.setMinResolution=Np.prototype.kc,Np.prototype.setOpacity=Np.prototype.cc,Np.prototype.setSaturation=Np.prototype.lc,Np.prototype.setVisible=Np.prototype.mc,Np.prototype.get=Np.prototype.get,Np.prototype.getKeys=Np.prototype.C,Np.prototype.getProperties=Np.prototype.D,Np.prototype.set=Np.prototype.set,Np.prototype.setProperties=Np.prototype.t,Np.prototype.unset=Np.prototype.I,Np.prototype.changed=Np.prototype.k,Np.prototype.getRevision=Np.prototype.v,Np.prototype.on=Np.prototype.r,Np.prototype.once=Np.prototype.A,Np.prototype.un=Np.prototype.u,Np.prototype.unByKey=Np.prototype.B,Zg.prototype.getSource=Zg.prototype.da,Zg.prototype.getStyle=Zg.prototype.H,Zg.prototype.getStyleFunction=Zg.prototype.J,Zg.prototype.setStyle=Zg.prototype.e,Zg.prototype.setSource=Zg.prototype.Jc,Zg.prototype.getBrightness=Zg.prototype.Bb,Zg.prototype.getContrast=Zg.prototype.Cb,Zg.prototype.getHue=Zg.prototype.Db,Zg.prototype.getExtent=Zg.prototype.G,Zg.prototype.getMaxResolution=Zg.prototype.Eb,Zg.prototype.getMinResolution=Zg.prototype.Fb,Zg.prototype.getOpacity=Zg.prototype.Kb,Zg.prototype.getSaturation=Zg.prototype.Gb,Zg.prototype.getVisible=Zg.prototype.eb,Zg.prototype.setBrightness=Zg.prototype.gc,Zg.prototype.setContrast=Zg.prototype.hc,Zg.prototype.setHue=Zg.prototype.ic,Zg.prototype.setExtent=Zg.prototype.bc,Zg.prototype.setMaxResolution=Zg.prototype.jc,Zg.prototype.setMinResolution=Zg.prototype.kc,Zg.prototype.setOpacity=Zg.prototype.cc,Zg.prototype.setSaturation=Zg.prototype.lc,Zg.prototype.setVisible=Zg.prototype.mc,Zg.prototype.get=Zg.prototype.get,Zg.prototype.getKeys=Zg.prototype.C,Zg.prototype.getProperties=Zg.prototype.D,Zg.prototype.set=Zg.prototype.set,Zg.prototype.setProperties=Zg.prototype.t,Zg.prototype.unset=Zg.prototype.I,Zg.prototype.changed=Zg.prototype.k,Zg.prototype.getRevision=Zg.prototype.v,Zg.prototype.on=Zg.prototype.r,Zg.prototype.once=Zg.prototype.A,Zg.prototype.un=Zg.prototype.u,Zg.prototype.unByKey=Zg.prototype.B,Rp.prototype.setSource=Rp.prototype.Jc,Rp.prototype.getBrightness=Rp.prototype.Bb,Rp.prototype.getContrast=Rp.prototype.Cb,Rp.prototype.getHue=Rp.prototype.Db,Rp.prototype.getExtent=Rp.prototype.G,Rp.prototype.getMaxResolution=Rp.prototype.Eb,Rp.prototype.getMinResolution=Rp.prototype.Fb,Rp.prototype.getOpacity=Rp.prototype.Kb,Rp.prototype.getSaturation=Rp.prototype.Gb,Rp.prototype.getVisible=Rp.prototype.eb,Rp.prototype.setBrightness=Rp.prototype.gc,Rp.prototype.setContrast=Rp.prototype.hc,Rp.prototype.setHue=Rp.prototype.ic,Rp.prototype.setExtent=Rp.prototype.bc,Rp.prototype.setMaxResolution=Rp.prototype.jc,Rp.prototype.setMinResolution=Rp.prototype.kc,Rp.prototype.setOpacity=Rp.prototype.cc,Rp.prototype.setSaturation=Rp.prototype.lc,Rp.prototype.setVisible=Rp.prototype.mc,Rp.prototype.get=Rp.prototype.get,Rp.prototype.getKeys=Rp.prototype.C,Rp.prototype.getProperties=Rp.prototype.D,Rp.prototype.set=Rp.prototype.set,Rp.prototype.setProperties=Rp.prototype.t,Rp.prototype.unset=Rp.prototype.I,Rp.prototype.changed=Rp.prototype.k,Rp.prototype.getRevision=Rp.prototype.v,Rp.prototype.on=Rp.prototype.r,Rp.prototype.once=Rp.prototype.A,Rp.prototype.un=Rp.prototype.u,Rp.prototype.unByKey=Rp.prototype.B,Mp.prototype.getBrightness=Mp.prototype.Bb,Mp.prototype.getContrast=Mp.prototype.Cb,Mp.prototype.getHue=Mp.prototype.Db,Mp.prototype.getExtent=Mp.prototype.G,Mp.prototype.getMaxResolution=Mp.prototype.Eb,Mp.prototype.getMinResolution=Mp.prototype.Fb,Mp.prototype.getOpacity=Mp.prototype.Kb,Mp.prototype.getSaturation=Mp.prototype.Gb,Mp.prototype.getVisible=Mp.prototype.eb,Mp.prototype.setBrightness=Mp.prototype.gc,Mp.prototype.setContrast=Mp.prototype.hc,Mp.prototype.setHue=Mp.prototype.ic,Mp.prototype.setExtent=Mp.prototype.bc,Mp.prototype.setMaxResolution=Mp.prototype.jc,Mp.prototype.setMinResolution=Mp.prototype.kc,Mp.prototype.setOpacity=Mp.prototype.cc,Mp.prototype.setSaturation=Mp.prototype.lc,Mp.prototype.setVisible=Mp.prototype.mc,Mp.prototype.get=Mp.prototype.get,Mp.prototype.getKeys=Mp.prototype.C,Mp.prototype.getProperties=Mp.prototype.D,Mp.prototype.set=Mp.prototype.set,Mp.prototype.setProperties=Mp.prototype.t,Mp.prototype.unset=Mp.prototype.I,Mp.prototype.changed=Mp.prototype.k,Mp.prototype.getRevision=Mp.prototype.v,Mp.prototype.on=Mp.prototype.r,Mp.prototype.once=Mp.prototype.A,Mp.prototype.un=Mp.prototype.u,Mp.prototype.unByKey=Mp.prototype.B,Lp.prototype.setSource=Lp.prototype.Jc,Lp.prototype.getBrightness=Lp.prototype.Bb,Lp.prototype.getContrast=Lp.prototype.Cb,Lp.prototype.getHue=Lp.prototype.Db,Lp.prototype.getExtent=Lp.prototype.G,Lp.prototype.getMaxResolution=Lp.prototype.Eb,Lp.prototype.getMinResolution=Lp.prototype.Fb,Lp.prototype.getOpacity=Lp.prototype.Kb,Lp.prototype.getSaturation=Lp.prototype.Gb,Lp.prototype.getVisible=Lp.prototype.eb,Lp.prototype.setBrightness=Lp.prototype.gc,Lp.prototype.setContrast=Lp.prototype.hc,Lp.prototype.setHue=Lp.prototype.ic,Lp.prototype.setExtent=Lp.prototype.bc,Lp.prototype.setMaxResolution=Lp.prototype.jc,Lp.prototype.setMinResolution=Lp.prototype.kc,Lp.prototype.setOpacity=Lp.prototype.cc,Lp.prototype.setSaturation=Lp.prototype.lc,Lp.prototype.setVisible=Lp.prototype.mc,Lp.prototype.get=Lp.prototype.get,Lp.prototype.getKeys=Lp.prototype.C,Lp.prototype.getProperties=Lp.prototype.D,Lp.prototype.set=Lp.prototype.set,Lp.prototype.setProperties=Lp.prototype.t,Lp.prototype.unset=Lp.prototype.I,Lp.prototype.changed=Lp.prototype.k,Lp.prototype.getRevision=Lp.prototype.v,Lp.prototype.on=Lp.prototype.r,Lp.prototype.once=Lp.prototype.A,Lp.prototype.un=Lp.prototype.u,Lp.prototype.unByKey=Lp.prototype.B,As.prototype.get=As.prototype.get,As.prototype.getKeys=As.prototype.C,As.prototype.getProperties=As.prototype.D,As.prototype.set=As.prototype.set,As.prototype.setProperties=As.prototype.t,As.prototype.unset=As.prototype.I,As.prototype.changed=As.prototype.k,As.prototype.getRevision=As.prototype.v,As.prototype.on=As.prototype.r,As.prototype.once=As.prototype.A,As.prototype.un=As.prototype.u,As.prototype.unByKey=As.prototype.B,js.prototype.getActive=js.prototype.c,js.prototype.setActive=js.prototype.d,js.prototype.get=js.prototype.get,js.prototype.getKeys=js.prototype.C,js.prototype.getProperties=js.prototype.D,js.prototype.set=js.prototype.set,js.prototype.setProperties=js.prototype.t,js.prototype.unset=js.prototype.I,js.prototype.changed=js.prototype.k,js.prototype.getRevision=js.prototype.v,js.prototype.on=js.prototype.r,js.prototype.once=js.prototype.A,js.prototype.un=js.prototype.u,js.prototype.unByKey=js.prototype.B,fg.prototype.getActive=fg.prototype.c,fg.prototype.setActive=fg.prototype.d,fg.prototype.get=fg.prototype.get,fg.prototype.getKeys=fg.prototype.C,fg.prototype.getProperties=fg.prototype.D,fg.prototype.set=fg.prototype.set,fg.prototype.setProperties=fg.prototype.t,fg.prototype.unset=fg.prototype.I,fg.prototype.changed=fg.prototype.k,fg.prototype.getRevision=fg.prototype.v,fg.prototype.on=fg.prototype.r,fg.prototype.once=fg.prototype.A,fg.prototype.un=fg.prototype.u,fg.prototype.unByKey=fg.prototype.B,qs.prototype.getActive=qs.prototype.c,qs.prototype.setActive=qs.prototype.d,qs.prototype.get=qs.prototype.get,qs.prototype.getKeys=qs.prototype.C,qs.prototype.getProperties=qs.prototype.D,qs.prototype.set=qs.prototype.set,qs.prototype.setProperties=qs.prototype.t,qs.prototype.unset=qs.prototype.I,qs.prototype.changed=qs.prototype.k,qs.prototype.getRevision=qs.prototype.v,qs.prototype.on=qs.prototype.r,qs.prototype.once=qs.prototype.A,qs.prototype.un=qs.prototype.u,qs.prototype.unByKey=qs.prototype.B,Ka.prototype.getActive=Ka.prototype.c,Ka.prototype.setActive=Ka.prototype.d,Ka.prototype.get=Ka.prototype.get,Ka.prototype.getKeys=Ka.prototype.C,Ka.prototype.getProperties=Ka.prototype.D,Ka.prototype.set=Ka.prototype.set,Ka.prototype.setProperties=Ka.prototype.t,Ka.prototype.unset=Ka.prototype.I,Ka.prototype.changed=Ka.prototype.k,Ka.prototype.getRevision=Ka.prototype.v,Ka.prototype.on=Ka.prototype.r,Ka.prototype.once=Ka.prototype.A,Ka.prototype.un=Ka.prototype.u,Ka.prototype.unByKey=Ka.prototype.B,Ws.prototype.getActive=Ws.prototype.c,Ws.prototype.setActive=Ws.prototype.d,Ws.prototype.get=Ws.prototype.get,Ws.prototype.getKeys=Ws.prototype.C,Ws.prototype.getProperties=Ws.prototype.D,Ws.prototype.set=Ws.prototype.set,Ws.prototype.setProperties=Ws.prototype.t,Ws.prototype.unset=Ws.prototype.I,Ws.prototype.changed=Ws.prototype.k,Ws.prototype.getRevision=Ws.prototype.v,Ws.prototype.on=Ws.prototype.r,Ws.prototype.once=Ws.prototype.A,Ws.prototype.un=Ws.prototype.u,Ws.prototype.unByKey=Ws.prototype.B,gg.prototype.getActive=gg.prototype.c,gg.prototype.setActive=gg.prototype.d,gg.prototype.get=gg.prototype.get,gg.prototype.getKeys=gg.prototype.C,gg.prototype.getProperties=gg.prototype.D,gg.prototype.set=gg.prototype.set,gg.prototype.setProperties=gg.prototype.t,gg.prototype.unset=gg.prototype.I,gg.prototype.changed=gg.prototype.k,gg.prototype.getRevision=gg.prototype.v,gg.prototype.on=gg.prototype.r,gg.prototype.once=gg.prototype.A,gg.prototype.un=gg.prototype.u,gg.prototype.unByKey=gg.prototype.B,Ys.prototype.getActive=Ys.prototype.c,Ys.prototype.setActive=Ys.prototype.d,Ys.prototype.get=Ys.prototype.get,Ys.prototype.getKeys=Ys.prototype.C,Ys.prototype.getProperties=Ys.prototype.D,Ys.prototype.set=Ys.prototype.set,Ys.prototype.setProperties=Ys.prototype.t,Ys.prototype.unset=Ys.prototype.I,Ys.prototype.changed=Ys.prototype.k,Ys.prototype.getRevision=Ys.prototype.v,Ys.prototype.on=Ys.prototype.r,Ys.prototype.once=Ys.prototype.A,Ys.prototype.un=Ys.prototype.u,Ys.prototype.unByKey=Ys.prototype.B,pp.prototype.getGeometry=pp.prototype.Q,pp.prototype.getActive=pp.prototype.c,pp.prototype.setActive=pp.prototype.d,pp.prototype.get=pp.prototype.get,pp.prototype.getKeys=pp.prototype.C,pp.prototype.getProperties=pp.prototype.D,pp.prototype.set=pp.prototype.set,pp.prototype.setProperties=pp.prototype.t,pp.prototype.unset=pp.prototype.I,pp.prototype.changed=pp.prototype.k,pp.prototype.getRevision=pp.prototype.v,pp.prototype.on=pp.prototype.r,pp.prototype.once=pp.prototype.A,pp.prototype.un=pp.prototype.u,pp.prototype.unByKey=pp.prototype.B,xg.prototype.getActive=xg.prototype.c,xg.prototype.setActive=xg.prototype.d,xg.prototype.get=xg.prototype.get,xg.prototype.getKeys=xg.prototype.C,xg.prototype.getProperties=xg.prototype.D,xg.prototype.set=xg.prototype.set,xg.prototype.setProperties=xg.prototype.t,xg.prototype.unset=xg.prototype.I,xg.prototype.changed=xg.prototype.k,xg.prototype.getRevision=xg.prototype.v,xg.prototype.on=xg.prototype.r,xg.prototype.once=xg.prototype.A,xg.prototype.un=xg.prototype.u,xg.prototype.unByKey=xg.prototype.B,lp.prototype.getActive=lp.prototype.c,lp.prototype.setActive=lp.prototype.d,lp.prototype.get=lp.prototype.get,lp.prototype.getKeys=lp.prototype.C,lp.prototype.getProperties=lp.prototype.D,lp.prototype.set=lp.prototype.set,lp.prototype.setProperties=lp.prototype.t,lp.prototype.unset=lp.prototype.I,lp.prototype.changed=lp.prototype.k,lp.prototype.getRevision=lp.prototype.v,lp.prototype.on=lp.prototype.r,lp.prototype.once=lp.prototype.A,lp.prototype.un=lp.prototype.u,lp.prototype.unByKey=lp.prototype.B,up.prototype.getActive=up.prototype.c,up.prototype.setActive=up.prototype.d,up.prototype.get=up.prototype.get,up.prototype.getKeys=up.prototype.C,up.prototype.getProperties=up.prototype.D,up.prototype.set=up.prototype.set,up.prototype.setProperties=up.prototype.t,up.prototype.unset=up.prototype.I,up.prototype.changed=up.prototype.k,up.prototype.getRevision=up.prototype.v,up.prototype.on=up.prototype.r,up.prototype.once=up.prototype.A,up.prototype.un=up.prototype.u,up.prototype.unByKey=up.prototype.B,Ng.prototype.getActive=Ng.prototype.c,Ng.prototype.setActive=Ng.prototype.d,Ng.prototype.get=Ng.prototype.get,Ng.prototype.getKeys=Ng.prototype.C,Ng.prototype.getProperties=Ng.prototype.D,Ng.prototype.set=Ng.prototype.set,Ng.prototype.setProperties=Ng.prototype.t,Ng.prototype.unset=Ng.prototype.I,Ng.prototype.changed=Ng.prototype.k,Ng.prototype.getRevision=Ng.prototype.v,Ng.prototype.on=Ng.prototype.r,Ng.prototype.once=Ng.prototype.A,Ng.prototype.un=Ng.prototype.u,Ng.prototype.unByKey=Ng.prototype.B,fp.prototype.getActive=fp.prototype.c,fp.prototype.setActive=fp.prototype.d,fp.prototype.get=fp.prototype.get,fp.prototype.getKeys=fp.prototype.C,fp.prototype.getProperties=fp.prototype.D,fp.prototype.set=fp.prototype.set,fp.prototype.setProperties=fp.prototype.t,fp.prototype.unset=fp.prototype.I,fp.prototype.changed=fp.prototype.k,fp.prototype.getRevision=fp.prototype.v,fp.prototype.on=fp.prototype.r,fp.prototype.once=fp.prototype.A,fp.prototype.un=fp.prototype.u,fp.prototype.unByKey=fp.prototype.B,dp.prototype.getActive=dp.prototype.c,dp.prototype.setActive=dp.prototype.d,dp.prototype.get=dp.prototype.get,dp.prototype.getKeys=dp.prototype.C,dp.prototype.getProperties=dp.prototype.D,dp.prototype.set=dp.prototype.set,dp.prototype.setProperties=dp.prototype.t,dp.prototype.unset=dp.prototype.I,dp.prototype.changed=dp.prototype.k,dp.prototype.getRevision=dp.prototype.v,dp.prototype.on=dp.prototype.r,dp.prototype.once=dp.prototype.A,dp.prototype.un=dp.prototype.u,dp.prototype.unByKey=dp.prototype.B,bp.prototype.getActive=bp.prototype.c,bp.prototype.setActive=bp.prototype.d,bp.prototype.get=bp.prototype.get,bp.prototype.getKeys=bp.prototype.C,bp.prototype.getProperties=bp.prototype.D,bp.prototype.set=bp.prototype.set,bp.prototype.setProperties=bp.prototype.t,bp.prototype.unset=bp.prototype.I,bp.prototype.changed=bp.prototype.k,bp.prototype.getRevision=bp.prototype.v,bp.prototype.on=bp.prototype.r,bp.prototype.once=bp.prototype.A,bp.prototype.un=bp.prototype.u,bp.prototype.unByKey=bp.prototype.B,$g.prototype.getActive=$g.prototype.c,$g.prototype.setActive=$g.prototype.d,$g.prototype.get=$g.prototype.get,$g.prototype.getKeys=$g.prototype.C,$g.prototype.getProperties=$g.prototype.D,$g.prototype.set=$g.prototype.set,$g.prototype.setProperties=$g.prototype.t,$g.prototype.unset=$g.prototype.I,$g.prototype.changed=$g.prototype.k,$g.prototype.getRevision=$g.prototype.v,$g.prototype.on=$g.prototype.r,$g.prototype.once=$g.prototype.A,$g.prototype.un=$g.prototype.u,$g.prototype.unByKey=$g.prototype.B,zg.prototype.getActive=zg.prototype.c,zg.prototype.setActive=zg.prototype.d,zg.prototype.get=zg.prototype.get,zg.prototype.getKeys=zg.prototype.C,zg.prototype.getProperties=zg.prototype.D,zg.prototype.set=zg.prototype.set,zg.prototype.setProperties=zg.prototype.t,zg.prototype.unset=zg.prototype.I,zg.prototype.changed=zg.prototype.k,zg.prototype.getRevision=zg.prototype.v,zg.prototype.on=zg.prototype.r,zg.prototype.once=zg.prototype.A,zg.prototype.un=zg.prototype.u,zg.prototype.unByKey=zg.prototype.B,Qs.prototype.get=Qs.prototype.get,Qs.prototype.getKeys=Qs.prototype.C,Qs.prototype.getProperties=Qs.prototype.D,Qs.prototype.set=Qs.prototype.set,Qs.prototype.setProperties=Qs.prototype.t,Qs.prototype.unset=Qs.prototype.I,Qs.prototype.changed=Qs.prototype.k,Qs.prototype.getRevision=Qs.prototype.v,Qs.prototype.on=Qs.prototype.r,Qs.prototype.once=Qs.prototype.A,Qs.prototype.un=Qs.prototype.u,Qs.prototype.unByKey=Qs.prototype.B,ea.prototype.getClosestPoint=ea.prototype.e,ea.prototype.getExtent=ea.prototype.G,ea.prototype.get=ea.prototype.get,ea.prototype.getKeys=ea.prototype.C,ea.prototype.getProperties=ea.prototype.D,ea.prototype.set=ea.prototype.set,ea.prototype.setProperties=ea.prototype.t,ea.prototype.unset=ea.prototype.I,ea.prototype.changed=ea.prototype.k,ea.prototype.getRevision=ea.prototype.v,ea.prototype.on=ea.prototype.r,ea.prototype.once=ea.prototype.A,ea.prototype.un=ea.prototype.u,ea.prototype.unByKey=ea.prototype.B,ll.prototype.getFirstCoordinate=ll.prototype.ob,ll.prototype.getLastCoordinate=ll.prototype.pb,ll.prototype.getLayout=ll.prototype.qb,ll.prototype.applyTransform=ll.prototype.qa,ll.prototype.translate=ll.prototype.Oa,ll.prototype.getClosestPoint=ll.prototype.e,ll.prototype.getExtent=ll.prototype.G,ll.prototype.get=ll.prototype.get,ll.prototype.getKeys=ll.prototype.C,ll.prototype.getProperties=ll.prototype.D,ll.prototype.set=ll.prototype.set,ll.prototype.setProperties=ll.prototype.t,ll.prototype.unset=ll.prototype.I,ll.prototype.changed=ll.prototype.k,ll.prototype.getRevision=ll.prototype.v,ll.prototype.on=ll.prototype.r,ll.prototype.once=ll.prototype.A,ll.prototype.un=ll.prototype.u,ll.prototype.unByKey=ll.prototype.B,ul.prototype.getClosestPoint=ul.prototype.e,ul.prototype.getExtent=ul.prototype.G,ul.prototype.get=ul.prototype.get,ul.prototype.getKeys=ul.prototype.C,ul.prototype.getProperties=ul.prototype.D,ul.prototype.set=ul.prototype.set,ul.prototype.setProperties=ul.prototype.t,ul.prototype.unset=ul.prototype.I,ul.prototype.changed=ul.prototype.k,ul.prototype.getRevision=ul.prototype.v,ul.prototype.on=ul.prototype.r,ul.prototype.once=ul.prototype.A,ul.prototype.un=ul.prototype.u,ul.prototype.unByKey=ul.prototype.B,xa.prototype.getFirstCoordinate=xa.prototype.ob,xa.prototype.getLastCoordinate=xa.prototype.pb,xa.prototype.getLayout=xa.prototype.qb,xa.prototype.applyTransform=xa.prototype.qa,xa.prototype.translate=xa.prototype.Oa,xa.prototype.getClosestPoint=xa.prototype.e,xa.prototype.getExtent=xa.prototype.G,xa.prototype.get=xa.prototype.get,xa.prototype.getKeys=xa.prototype.C,xa.prototype.getProperties=xa.prototype.D,xa.prototype.set=xa.prototype.set,xa.prototype.setProperties=xa.prototype.t,xa.prototype.unset=xa.prototype.I,xa.prototype.changed=xa.prototype.k,xa.prototype.getRevision=xa.prototype.v,xa.prototype.on=xa.prototype.r,xa.prototype.once=xa.prototype.A,xa.prototype.un=xa.prototype.u,xa.prototype.unByKey=xa.prototype.B,ml.prototype.getFirstCoordinate=ml.prototype.ob,ml.prototype.getLastCoordinate=ml.prototype.pb,ml.prototype.getLayout=ml.prototype.qb,ml.prototype.applyTransform=ml.prototype.qa,ml.prototype.translate=ml.prototype.Oa,ml.prototype.getClosestPoint=ml.prototype.e,ml.prototype.getExtent=ml.prototype.G,ml.prototype.get=ml.prototype.get,ml.prototype.getKeys=ml.prototype.C,ml.prototype.getProperties=ml.prototype.D,ml.prototype.set=ml.prototype.set,ml.prototype.setProperties=ml.prototype.t,ml.prototype.unset=ml.prototype.I,ml.prototype.changed=ml.prototype.k,ml.prototype.getRevision=ml.prototype.v,ml.prototype.on=ml.prototype.r,ml.prototype.once=ml.prototype.A,ml.prototype.un=ml.prototype.u,ml.prototype.unByKey=ml.prototype.B,xl.prototype.getFirstCoordinate=xl.prototype.ob,xl.prototype.getLastCoordinate=xl.prototype.pb,xl.prototype.getLayout=xl.prototype.qb,xl.prototype.applyTransform=xl.prototype.qa,xl.prototype.translate=xl.prototype.Oa,xl.prototype.getClosestPoint=xl.prototype.e,xl.prototype.getExtent=xl.prototype.G,xl.prototype.get=xl.prototype.get,xl.prototype.getKeys=xl.prototype.C,xl.prototype.getProperties=xl.prototype.D,xl.prototype.set=xl.prototype.set,xl.prototype.setProperties=xl.prototype.t,xl.prototype.unset=xl.prototype.I,xl.prototype.changed=xl.prototype.k,xl.prototype.getRevision=xl.prototype.v,xl.prototype.on=xl.prototype.r,xl.prototype.once=xl.prototype.A,xl.prototype.un=xl.prototype.u,xl.prototype.unByKey=xl.prototype.B,Cl.prototype.getFirstCoordinate=Cl.prototype.ob,Cl.prototype.getLastCoordinate=Cl.prototype.pb,Cl.prototype.getLayout=Cl.prototype.qb,Cl.prototype.applyTransform=Cl.prototype.qa,Cl.prototype.translate=Cl.prototype.Oa,Cl.prototype.getClosestPoint=Cl.prototype.e,Cl.prototype.getExtent=Cl.prototype.G,Cl.prototype.get=Cl.prototype.get,Cl.prototype.getKeys=Cl.prototype.C,Cl.prototype.getProperties=Cl.prototype.D,Cl.prototype.set=Cl.prototype.set,Cl.prototype.setProperties=Cl.prototype.t,Cl.prototype.unset=Cl.prototype.I,Cl.prototype.changed=Cl.prototype.k,Cl.prototype.getRevision=Cl.prototype.v,Cl.prototype.on=Cl.prototype.r,Cl.prototype.once=Cl.prototype.A,Cl.prototype.un=Cl.prototype.u,Cl.prototype.unByKey=Cl.prototype.B,El.prototype.getFirstCoordinate=El.prototype.ob,El.prototype.getLastCoordinate=El.prototype.pb,El.prototype.getLayout=El.prototype.qb,El.prototype.applyTransform=El.prototype.qa,El.prototype.translate=El.prototype.Oa,El.prototype.getClosestPoint=El.prototype.e,El.prototype.getExtent=El.prototype.G,El.prototype.get=El.prototype.get,El.prototype.getKeys=El.prototype.C,El.prototype.getProperties=El.prototype.D,El.prototype.set=El.prototype.set,El.prototype.setProperties=El.prototype.t,El.prototype.unset=El.prototype.I,El.prototype.changed=El.prototype.k,El.prototype.getRevision=El.prototype.v,El.prototype.on=El.prototype.r,El.prototype.once=El.prototype.A,El.prototype.un=El.prototype.u,El.prototype.unByKey=El.prototype.B,Ta.prototype.getFirstCoordinate=Ta.prototype.ob,Ta.prototype.getLastCoordinate=Ta.prototype.pb,Ta.prototype.getLayout=Ta.prototype.qb,Ta.prototype.applyTransform=Ta.prototype.qa,Ta.prototype.translate=Ta.prototype.Oa,Ta.prototype.getClosestPoint=Ta.prototype.e,Ta.prototype.getExtent=Ta.prototype.G,Ta.prototype.get=Ta.prototype.get,Ta.prototype.getKeys=Ta.prototype.C,Ta.prototype.getProperties=Ta.prototype.D,Ta.prototype.set=Ta.prototype.set,Ta.prototype.setProperties=Ta.prototype.t,Ta.prototype.unset=Ta.prototype.I,Ta.prototype.changed=Ta.prototype.k,Ta.prototype.getRevision=Ta.prototype.v,Ta.prototype.on=Ta.prototype.r,Ta.prototype.once=Ta.prototype.A,Ta.prototype.un=Ta.prototype.u,Ta.prototype.unByKey=Ta.prototype.B,Fa.prototype.getFirstCoordinate=Fa.prototype.ob,Fa.prototype.getLastCoordinate=Fa.prototype.pb,Fa.prototype.getLayout=Fa.prototype.qb,Fa.prototype.applyTransform=Fa.prototype.qa,Fa.prototype.translate=Fa.prototype.Oa,Fa.prototype.getClosestPoint=Fa.prototype.e,Fa.prototype.getExtent=Fa.prototype.G,Fa.prototype.get=Fa.prototype.get,Fa.prototype.getKeys=Fa.prototype.C,Fa.prototype.getProperties=Fa.prototype.D,Fa.prototype.set=Fa.prototype.set,Fa.prototype.setProperties=Fa.prototype.t,Fa.prototype.unset=Fa.prototype.I,Fa.prototype.changed=Fa.prototype.k,Fa.prototype.getRevision=Fa.prototype.v,Fa.prototype.on=Fa.prototype.r,Fa.prototype.once=Fa.prototype.A,Fa.prototype.un=Fa.prototype.u,Fa.prototype.unByKey=Fa.prototype.B,qf.prototype.readFeatures=qf.prototype.ja,Gf.prototype.readFeatures=Gf.prototype.ja,Gf.prototype.readFeatures=Gf.prototype.ja,Ji.prototype.get=Ji.prototype.get,Ji.prototype.getKeys=Ji.prototype.C,Ji.prototype.getProperties=Ji.prototype.D,Ji.prototype.set=Ji.prototype.set,Ji.prototype.setProperties=Ji.prototype.t,Ji.prototype.unset=Ji.prototype.I,Ji.prototype.changed=Ji.prototype.k,Ji.prototype.getRevision=Ji.prototype.v,Ji.prototype.on=Ji.prototype.r,Ji.prototype.once=Ji.prototype.A,Ji.prototype.un=Ji.prototype.u,Ji.prototype.unByKey=Ji.prototype.B,Rn.prototype.getMap=Rn.prototype.e,Rn.prototype.setMap=Rn.prototype.setMap,Rn.prototype.setTarget=Rn.prototype.c,Rn.prototype.get=Rn.prototype.get,Rn.prototype.getKeys=Rn.prototype.C,Rn.prototype.getProperties=Rn.prototype.D,Rn.prototype.set=Rn.prototype.set,Rn.prototype.setProperties=Rn.prototype.t,Rn.prototype.unset=Rn.prototype.I,Rn.prototype.changed=Rn.prototype.k,Rn.prototype.getRevision=Rn.prototype.v,Rn.prototype.on=Rn.prototype.r,Rn.prototype.once=Rn.prototype.A,Rn.prototype.un=Rn.prototype.u,Rn.prototype.unByKey=Rn.prototype.B,Gn.prototype.getMap=Gn.prototype.e,Gn.prototype.setMap=Gn.prototype.setMap,Gn.prototype.setTarget=Gn.prototype.c,Gn.prototype.get=Gn.prototype.get,Gn.prototype.getKeys=Gn.prototype.C,Gn.prototype.getProperties=Gn.prototype.D,Gn.prototype.set=Gn.prototype.set,Gn.prototype.setProperties=Gn.prototype.t,Gn.prototype.unset=Gn.prototype.I,Gn.prototype.changed=Gn.prototype.k,Gn.prototype.getRevision=Gn.prototype.v,Gn.prototype.on=Gn.prototype.r,Gn.prototype.once=Gn.prototype.A,Gn.prototype.un=Gn.prototype.u,Gn.prototype.unByKey=Gn.prototype.B,Hn.prototype.getMap=Hn.prototype.e,Hn.prototype.setTarget=Hn.prototype.c,Hn.prototype.get=Hn.prototype.get,Hn.prototype.getKeys=Hn.prototype.C,Hn.prototype.getProperties=Hn.prototype.D,Hn.prototype.set=Hn.prototype.set,Hn.prototype.setProperties=Hn.prototype.t,Hn.prototype.unset=Hn.prototype.I,Hn.prototype.changed=Hn.prototype.k,Hn.prototype.getRevision=Hn.prototype.v,Hn.prototype.on=Hn.prototype.r,Hn.prototype.once=Hn.prototype.A,Hn.prototype.un=Hn.prototype.u,Hn.prototype.unByKey=Hn.prototype.B,Oc.prototype.getMap=Oc.prototype.e,Oc.prototype.setTarget=Oc.prototype.c,Oc.prototype.get=Oc.prototype.get,Oc.prototype.getKeys=Oc.prototype.C,Oc.prototype.getProperties=Oc.prototype.D,Oc.prototype.set=Oc.prototype.set,Oc.prototype.setProperties=Oc.prototype.t,Oc.prototype.unset=Oc.prototype.I,Oc.prototype.changed=Oc.prototype.k,Oc.prototype.getRevision=Oc.prototype.v,Oc.prototype.on=Oc.prototype.r,Oc.prototype.once=Oc.prototype.A,Oc.prototype.un=Oc.prototype.u,Oc.prototype.unByKey=Oc.prototype.B,jn.prototype.getMap=jn.prototype.e,jn.prototype.setMap=jn.prototype.setMap,jn.prototype.setTarget=jn.prototype.c,jn.prototype.get=jn.prototype.get,jn.prototype.getKeys=jn.prototype.C,jn.prototype.getProperties=jn.prototype.D,jn.prototype.set=jn.prototype.set,jn.prototype.setProperties=jn.prototype.t,jn.prototype.unset=jn.prototype.I,jn.prototype.changed=jn.prototype.k,jn.prototype.getRevision=jn.prototype.v,jn.prototype.on=jn.prototype.r,jn.prototype.once=jn.prototype.A,jn.prototype.un=jn.prototype.u,jn.prototype.unByKey=jn.prototype.B,qc.prototype.getMap=qc.prototype.e,qc.prototype.setMap=qc.prototype.setMap,qc.prototype.setTarget=qc.prototype.c,qc.prototype.get=qc.prototype.get,qc.prototype.getKeys=qc.prototype.C,qc.prototype.getProperties=qc.prototype.D,qc.prototype.set=qc.prototype.set,qc.prototype.setProperties=qc.prototype.t,qc.prototype.unset=qc.prototype.I,qc.prototype.changed=qc.prototype.k,qc.prototype.getRevision=qc.prototype.v,qc.prototype.on=qc.prototype.r,qc.prototype.once=qc.prototype.A,qc.prototype.un=qc.prototype.u,qc.prototype.unByKey=qc.prototype.B,Dn.prototype.getMap=Dn.prototype.e,Dn.prototype.setMap=Dn.prototype.setMap,Dn.prototype.setTarget=Dn.prototype.c,Dn.prototype.get=Dn.prototype.get,Dn.prototype.getKeys=Dn.prototype.C,Dn.prototype.getProperties=Dn.prototype.D,Dn.prototype.set=Dn.prototype.set,Dn.prototype.setProperties=Dn.prototype.t,Dn.prototype.unset=Dn.prototype.I,Dn.prototype.changed=Dn.prototype.k,Dn.prototype.getRevision=Dn.prototype.v,Dn.prototype.on=Dn.prototype.r,Dn.prototype.once=Dn.prototype.A,Dn.prototype.un=Dn.prototype.u,Dn.prototype.unByKey=Dn.prototype.B,tf.prototype.getMap=tf.prototype.e,tf.prototype.setTarget=tf.prototype.c,tf.prototype.get=tf.prototype.get,tf.prototype.getKeys=tf.prototype.C,tf.prototype.getProperties=tf.prototype.D,tf.prototype.set=tf.prototype.set,tf.prototype.setProperties=tf.prototype.t,tf.prototype.unset=tf.prototype.I,tf.prototype.changed=tf.prototype.k,tf.prototype.getRevision=tf.prototype.v,tf.prototype.on=tf.prototype.r,tf.prototype.once=tf.prototype.A,tf.prototype.un=tf.prototype.u,tf.prototype.unByKey=tf.prototype.B,rf.prototype.getMap=rf.prototype.e,rf.prototype.setMap=rf.prototype.setMap,rf.prototype.setTarget=rf.prototype.c,rf.prototype.get=rf.prototype.get,rf.prototype.getKeys=rf.prototype.C,rf.prototype.getProperties=rf.prototype.D,rf.prototype.set=rf.prototype.set,rf.prototype.setProperties=rf.prototype.t,rf.prototype.unset=rf.prototype.I,rf.prototype.changed=rf.prototype.k,rf.prototype.getRevision=rf.prototype.v,rf.prototype.on=rf.prototype.r,rf.prototype.once=rf.prototype.A,rf.prototype.un=rf.prototype.u,rf.prototype.unByKey=rf.prototype.B,nm.ol});var map,extent,overlays=[],vectorSource=new ol.source.Vector,lastClick,popupOverlay,vectorLayer;$(document).ready(function(){initMap(),$("#closer").click(function(){toggleResults()}),map.on("singleclick",function(t){var e=t.coordinate;lastClick=e}),$(window).resize(function(){updateResultsPosition(),updateCloserPosition()})});var options={enableHighAccuracy:!0,timeout:5e3,maximumAge:0};!function(t,e){"use strict";function o(e,o,i){"addEventListener"in t?e.addEventListener(o,i,!1):"attachEvent"in t&&e.attachEvent("on"+o,i)}function i(e,o,i){"removeEventListener"in t?e.removeEventListener(o,i,!1):"detachEvent"in t&&e.detachEvent("on"+o,i)}function n(t){return t.charAt(0).toUpperCase()+t.slice(1)}function r(t){var e,o,i,n=null,r=0,s=function(){r=Nt(),n=null,i=t.apply(e,o),n||(e=o=null)};return function(){var a=Nt();r||(r=a);var p=Tt-(a-r);return e=this,o=arguments,0>=p||p>Tt?(n&&(clearTimeout(n),n=null),r=a,i=t.apply(e,o),n||(e=o=null)):n||(n=setTimeout(s,p)),i}}function s(e){ut&&"object"==typeof t.console&&void 0}function a(e){"object"==typeof t.console&&void 0}function p(){l(),s("Initialising iFrame ("+location.href+")"),h(),f(),c("background",V),c("padding",J),E(),m(),b(),y(),k(),w(),pt=P(),U("init","Init message from host page"),At()}function l(){function t(t){return"true"===t}var o=at.substr(ft).split(":");yt=o[0],Y=e!==o[1]?Number(o[1]):Y,Q=e!==o[2]?t(o[2]):Q,ut=e!==o[3]?t(o[3]):ut,lt=e!==o[4]?Number(o[4]):lt,z=e!==o[6]?t(o[6]):z,Z=o[7],rt=e!==o[8]?o[8]:rt,V=o[9],J=o[10],wt=e!==o[11]?Number(o[11]):wt,pt.enable=e!==o[12]&&t(o[12]),gt=e!==o[13]?o[13]:gt,Et=e!==o[14]?o[14]:Et}function h(){function e(){var e=t.iFrameResizer;s("Reading data from page: "+JSON.stringify(e)),kt="messageCallback"in e?e.messageCallback:kt,At="readyCallback"in e?e.readyCallback:At,bt="targetOrigin"in e?e.targetOrigin:bt,rt="heightCalculationMethod"in e?e.heightCalculationMethod:rt,Et="widthCalculationMethod"in e?e.widthCalculationMethod:Et}function o(t,e){return"function"==typeof t&&(s("Setup custom "+e+"CalcMethod"),Lt[e]=t,t="custom"),t}"iFrameResizer"in t&&Object===t.iFrameResizer.constructor&&(e(),rt=o(rt,"height"),Et=o(Et,"width")),s("TargetOrigin for parent set to: "+bt)}function u(t,e){return-1!==e.indexOf("-")&&(a("Negative CSS value ignored for "+t),e=""),e}function c(t,o){e!==o&&""!==o&&"null"!==o&&(document.body.style[t]=o,s("Body "+t+' set to "'+o+'"'))}function f(){e===Z&&(Z=Y+"px"),c("margin",u("margin",Z))}function y(){document.documentElement.style.height="",document.body.style.height="",s('HTML & body height set to "auto"')}function d(e){function r(){U(e.eventName,e.eventType)}var a={add:function(e){o(t,e,r)},remove:function(e){i(t,e,r)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(a[e.method])):a[e.method](e.eventName),s(n(e.method)+" event listener: "+e.eventType)}function g(t){d({method:t,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),d({method:t,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),d({method:t,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),d({method:t,eventType:"Input",eventName:"input"}),d({method:t,eventType:"Mouse Up",eventName:"mouseup"}),d({method:t,eventType:"Mouse Down",eventName:"mousedown"}),d({method:t,eventType:"Orientation Change",eventName:"orientationchange"}),d({method:t,eventType:"Print",eventName:["afterprint","beforeprint"]}),d({method:t,eventType:"Ready State Change", -eventName:"readystatechange"}),d({method:t,eventType:"Touch Start",eventName:"touchstart"}),d({method:t,eventType:"Touch End",eventName:"touchend"}),d({method:t,eventType:"Touch Cancel",eventName:"touchcancel"}),d({method:t,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),d({method:t,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),d({method:t,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===gt&&d({method:t,eventType:"IFrame Resized",eventName:"resize"})}function v(t,e,o,i){return e!==t&&(t in o||(a(t+" is not a valid option for "+i+"CalculationMethod."),t=e),s(i+' calculation method set to "'+t+'"')),t}function m(){rt=v(rt,nt,jt,"height")}function b(){Et=v(Et,Ct,It,"width")}function w(){!0===z?(g("add"),L()):s("Auto Resize disabled")}function x(){s("Disable outgoing messages"),vt=!1}function S(){s("Remove event listener: Message"),i(t,"message",X)}function T(){null!==_&&_.disconnect()}function M(){g("remove"),T(),clearInterval(ht)}function C(){x(),S(),!0===z&&M()}function E(){var t=document.createElement("div");t.style.clear="both",t.style.display="block",document.body.appendChild(t)}function P(){function i(){return{x:t.pageXOffset!==e?t.pageXOffset:document.documentElement.scrollLeft,y:t.pageYOffset!==e?t.pageYOffset:document.documentElement.scrollTop}}function n(t){var e=t.getBoundingClientRect(),o=i();return{x:parseInt(e.left,10)+parseInt(o.x,10),y:parseInt(e.top,10)+parseInt(o.y,10)}}function r(t){function o(t){var e=n(t);s("Moving to in page link (#"+i+") at x: "+e.x+" y: "+e.y),$(e.y,e.x,"scrollToOffset")}var i=t.split("#")[1]||t,r=decodeURIComponent(i),a=document.getElementById(r)||document.getElementsByName(r)[0];e!==a?o(a):(s("In page link (#"+i+") not found in iFrame, so sending to parent"),$(0,0,"inPageLink","#"+i))}function p(){""!==location.hash&&"#"!==location.hash&&r(location.href)}function l(){function t(t){function e(t){t.preventDefault(),r(this.getAttribute("href"))}"#"!==t.getAttribute("href")&&o(t,"click",e)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),t)}function h(){o(t,"hashchange",p)}function u(){setTimeout(p,et)}function c(){Array.prototype.forEach&&document.querySelectorAll?(s("Setting up location.hash handlers"),l(),h(),u()):a("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}return pt.enable?c():s("In page linking not enabled"),{findTarget:r}}function k(){s("Enable public methods"),Pt.parentIFrame={autoResize:function(t){return!0===t&&!1===z?(z=!0,w()):!1===t&&!0===z&&(z=!1,M()),z},close:function(){$(0,0,"close"),C()},getId:function(){return yt},getPageInfo:function(t){"function"==typeof t?(Rt=t,$(0,0,"pageInfo")):(Rt=function(){},$(0,0,"pageInfoStop"))},moveToAnchor:function(t){pt.findTarget(t)},reset:function(){q("parentIFrame.reset")},scrollTo:function(t,e){$(e,t,"scrollTo")},scrollToOffset:function(t,e){$(e,t,"scrollToOffset")},sendMessage:function(t,e){$(0,0,"message",JSON.stringify(t),e)},setHeightCalculationMethod:function(t){rt=t,m()},setWidthCalculationMethod:function(t){Et=t,b()},setTargetOrigin:function(t){s("Set targetOrigin: "+t),bt=t},size:function(t,e){var o=""+(t?t:"")+(e?","+e:"");U("size","parentIFrame.size("+o+")",t,e)}}}function A(){0!==lt&&(s("setInterval: "+lt+"ms"),ht=setInterval(function(){U("interval","setInterval: "+lt)},Math.abs(lt)))}function R(){function o(t){function e(t){!1===t.complete&&(s("Attach listeners to "+t.src),t.addEventListener("load",a,!1),t.addEventListener("error",p,!1),u.push(t))}"attributes"===t.type&&"src"===t.attributeName?e(t.target):"childList"===t.type&&Array.prototype.forEach.call(t.target.querySelectorAll("img"),e)}function i(t){u.splice(u.indexOf(t),1)}function n(t){s("Remove listeners from "+t.src),t.removeEventListener("load",a,!1),t.removeEventListener("error",p,!1),i(t)}function r(t,o,i){n(t.target),U(o,i+": "+t.target.src,e,e)}function a(t){r(t,"imageLoad","Image loaded")}function p(t){r(t,"imageLoadFailed","Image load failed")}function l(t){U("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(o)}function h(){var t=document.querySelector("body"),e={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return f=new c(l),s("Create body MutationObserver"),f.observe(t,e),f}var u=[],c=t.MutationObserver||t.WebKitMutationObserver,f=h();return{disconnect:function(){"disconnect"in f&&(s("Disconnect body MutationObserver"),f.disconnect(),u.forEach(n))}}}function L(){var e=0>lt;t.MutationObserver||t.WebKitMutationObserver?e?A():_=R():(s("MutationObserver not supported in this browser!"),A())}function N(t,e){function o(t){var o=/^\d+(px)?$/i;if(o.test(t))return parseInt(t,K);var i=e.style.left,n=e.runtimeStyle.left;return e.runtimeStyle.left=e.currentStyle.left,e.style.left=t||0,t=e.style.pixelLeft,e.style.left=i,e.runtimeStyle.left=n,t}var i=0;return e=e||document.body,"defaultView"in document&&"getComputedStyle"in document.defaultView?(i=document.defaultView.getComputedStyle(e,null),i=null!==i?i[t]:0):i=o(e.currentStyle[t]),parseInt(i,K)}function j(t){t>Tt/2&&(Tt=2*t,s("Event throttle increased to "+Tt+"ms"))}function I(t,e){for(var o=e.length,i=0,r=0,a=n(t),p=Nt(),l=0;o>l;l++)i=e[l].getBoundingClientRect()[t]+N("margin"+a,e[l]),i>r&&(r=i);return p=Nt()-p,s("Parsed "+o+" HTML elements"),s("Element position calculated in "+p+"ms"),j(p),r}function D(t){return[t.bodyOffset(),t.bodyScroll(),t.documentElementOffset(),t.documentElementScroll()]}function F(t,e){function o(){return a("No tagged elements ("+e+") found on page"),it}var i=document.querySelectorAll("["+e+"]");return 0===i.length?o():I(t,i)}function O(){return document.querySelectorAll("body *")}function B(t,o,i,n){function r(){it=c,Mt=f,$(it,Mt,t)}function a(){function t(t,e){var o=Math.abs(t-e)<=wt;return!o}return c=e!==i?i:jt[rt](),f=e!==n?n:It[Et](),t(it,c)||Q&&t(Mt,f)}function p(){return!(t in{init:1,interval:1,size:1})}function l(){return rt in dt||Q&&Et in dt}function h(){s("No change in size detected")}function u(){p()&&l()?q(o):t in{interval:1}||h()}var c,f;a()||"init"===t?(G(),r()):u()}function U(t,e,o,i){function n(){t in{reset:1,resetPage:1,init:1}||s("Trigger event: "+e)}function r(){return xt&&t in tt}r()?s("Trigger event cancelled: "+t):(n(),Dt(t,e,o,i))}function G(){xt||(xt=!0,s("Trigger event lock on")),clearTimeout(St),St=setTimeout(function(){xt=!1,s("Trigger event lock off"),s("--")},et)}function H(t){it=jt[rt](),Mt=It[Et](),$(it,Mt,t)}function q(t){var e=rt;rt=nt,s("Reset trigger event: "+t),G(),H("reset"),rt=e}function $(t,o,i,n,r){function a(){e===r?r=bt:s("Message targetOrigin: "+r)}function p(){var a=t+":"+o,p=yt+":"+a+":"+i+(e!==n?":"+n:"");s("Sending message to host page ("+p+")"),mt.postMessage(ct+p,r)}!0===vt&&(a(),p())}function X(e){function i(){return ct===(""+e.data).substr(0,ft)}function n(){function i(){at=e.data,mt=e.source,p(),ot=!1,setTimeout(function(){st=!1},et)}document.body?i():(s("Waiting for page ready"),o(t,"readystatechange",n))}function r(){st?s("Page reset ignored by init"):(s("Page size reset by host page"),H("resetPage"))}function l(){U("resizeParent","Parent window requested size check")}function h(){var t=c();pt.findTarget(t)}function u(){return e.data.split("]")[1].split(":")[0]}function c(){return e.data.substr(e.data.indexOf(":")+1)}function f(){return"iFrameResize"in t}function y(){var t=c();s("MessageCallback called from parent: "+t),kt(JSON.parse(t)),s(" --")}function d(){var t=c();s("PageInfoFromParent called from parent: "+t),Rt(JSON.parse(t)),s(" --")}function g(){return e.data.split(":")[2]in{"true":1,"false":1}}function v(){switch(u()){case"reset":r();break;case"resize":l();break;case"inPageLink":case"moveToAnchor":h();break;case"message":y();break;case"pageInfo":d();break;default:f()||g()||a("Unexpected message ("+e.data+")")}}function m(){!1===ot?v():g()?n():s('Ignored message of type "'+u()+'". Received before initialization.')}i()&&m()}function W(){"loading"!==document.readyState&&t.parent.postMessage("[iFrameResizerChild]Ready","*")}var z=!0,K=10,V="",Y=0,Z="",_=null,J="",Q=!1,tt={resize:1,click:1},et=128,ot=!0,it=1,nt="bodyOffset",rt=nt,st=!0,at="",pt={},lt=32,ht=null,ut=!1,ct="[iFrameSizer]",ft=ct.length,yt="",dt={max:1,min:1,bodyScroll:1,documentElementScroll:1},gt="child",vt=!0,mt=t.parent,bt="*",wt=0,xt=!1,St=null,Tt=16,Mt=1,Ct="scroll",Et=Ct,Pt=t,kt=function(){a("MessageCallback function not defined")},At=function(){},Rt=function(){},Lt={height:function(){return a("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return a("Custom width calculation function not defined"),document.body.scrollWidth}},Nt=Date.now||function(){return(new Date).getTime()},jt={bodyOffset:function(){return document.body.offsetHeight+N("marginTop")+N("marginBottom")},offset:function(){return jt.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return Lt.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,D(jt))},min:function(){return Math.min.apply(null,D(jt))},grow:function(){return jt.max()},lowestElement:function(){return Math.max(jt.bodyOffset(),I("bottom",O()))},taggedElement:function(){return F("bottom","data-iframe-height")}},It={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return Lt.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(It.bodyScroll(),It.documentElementScroll())},max:function(){return Math.max.apply(null,D(It))},min:function(){return Math.min.apply(null,D(It))},rightMostElement:function(){return I("right",O())},taggedElement:function(){return F("right","data-iframe-width")}},Dt=r(B);o(t,"message",X),W()}(window||{}); \ No newline at end of file +var o=this;e&&(o=t(e.currentTarget).data("bs."+this.type),o||(o=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,o))),o.tip().hasClass("in")?o.leave(o):o.enter(o)},o.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var i=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=o,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=i,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.popover"),r="object"==typeof e&&e;(n||!/destroy|hide/.test(e))&&(n||i.data("bs.popover",n=new o(this,r)),"string"==typeof e&&n[e]())})}var o=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");o.VERSION="3.3.4",o.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),o.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),o.prototype.constructor=o,o.prototype.getDefaults=function(){return o.DEFAULTS},o.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),o=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof o?"html":"append":"text"](o),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},o.prototype.hasContent=function(){return this.getTitle()||this.getContent()},o.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},o.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var i=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=o,t.fn.popover.noConflict=function(){return t.fn.popover=i,this}}(jQuery),+function(t){"use strict";function e(o,i){this.$body=t(document.body),this.$scrollElement=t(t(o).is(document.body)?window:o),this.options=t.extend({},e.DEFAULTS,i),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function o(o){return this.each(function(){var i=t(this),n=i.data("bs.scrollspy"),r="object"==typeof o&&o;n||i.data("bs.scrollspy",n=new e(this,r)),"string"==typeof o&&n[o]()})}e.VERSION="3.3.4",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,o="offset",i=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(o="position",i=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),n=e.data("target")||e.attr("href"),r=/^#./.test(n)&&t(n);return r&&r.length&&r.is(":visible")&&[[r[o]().top+i,n]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,o=this.getScrollHeight(),i=this.options.offset+o-this.$scrollElement.height(),n=this.offsets,r=this.targets,s=this.activeTarget;if(this.scrollHeight!=o&&this.refresh(),e>=i)return s!=(t=r[r.length-1])&&this.activate(t);if(s&&e<n[0])return this.activeTarget=null,this.clear();for(t=n.length;t--;)s!=r[t]&&e>=n[t]&&(void 0===n[t+1]||e<n[t+1])&&this.activate(r[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var o=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',i=t(o).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var i=t.fn.scrollspy;t.fn.scrollspy=o,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);o.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.tab");n||i.data("bs.tab",n=new o(this)),"string"==typeof e&&n[e]()})}var o=function(e){this.element=t(e)};o.VERSION="3.3.4",o.TRANSITION_DURATION=150,o.prototype.show=function(){var e=this.element,o=e.closest("ul:not(.dropdown-menu)"),i=e.data("target");if(i||(i=e.attr("href"),i=i&&i.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var n=o.find(".active:last a"),r=t.Event("hide.bs.tab",{relatedTarget:e[0]}),s=t.Event("show.bs.tab",{relatedTarget:n[0]});if(n.trigger(r),e.trigger(s),!s.isDefaultPrevented()&&!r.isDefaultPrevented()){var a=t(i);this.activate(e.closest("li"),o),this.activate(a,a.parent(),function(){n.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:n[0]})})}}},o.prototype.activate=function(e,i,n){function r(){s.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),n&&n()}var s=i.find("> .active"),a=n&&t.support.transition&&(s.length&&s.hasClass("fade")||!!i.find("> .fade").length);s.length&&a?s.one("bsTransitionEnd",r).emulateTransitionEnd(o.TRANSITION_DURATION):r(),s.removeClass("in")};var i=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=o,t.fn.tab.noConflict=function(){return t.fn.tab=i,this};var n=function(o){o.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',n).on("click.bs.tab.data-api",'[data-toggle="pill"]',n)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),n=i.data("bs.affix"),r="object"==typeof e&&e;n||i.data("bs.affix",n=new o(this,r)),"string"==typeof e&&n[e]()})}var o=function(e,i){this.options=t.extend({},o.DEFAULTS,i),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};o.VERSION="3.3.4",o.RESET="affix affix-top affix-bottom",o.DEFAULTS={offset:0,target:window},o.prototype.getState=function(t,e,o,i){var n=this.$target.scrollTop(),r=this.$element.offset(),s=this.$target.height();if(null!=o&&"top"==this.affixed)return o>n&&"top";if("bottom"==this.affixed)return null!=o?!(n+this.unpin<=r.top)&&"bottom":!(t-i>=n+s)&&"bottom";var a=null==this.affixed,p=a?n:r.top,l=a?s:e;return null!=o&&o>=n?"top":null!=i&&p+l>=t-i&&"bottom"},o.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(o.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},o.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},o.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),i=this.options.offset,n=i.top,r=i.bottom,s=t(document.body).height();"object"!=typeof i&&(r=n=i),"function"==typeof n&&(n=i.top(this.$element)),"function"==typeof r&&(r=i.bottom(this.$element));var a=this.getState(s,e,n,r);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var p="affix"+(a?"-"+a:""),l=t.Event(p+".bs.affix");if(this.$element.trigger(l),l.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(o.RESET).addClass(p).trigger(p.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:s-e-r})}};var i=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=o,t.fn.affix.noConflict=function(){return t.fn.affix=i,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var o=t(this),i=o.data();i.offset=i.offset||{},null!=i.offsetBottom&&(i.offset.bottom=i.offsetBottom),null!=i.offsetTop&&(i.offset.top=i.offsetTop),e.call(o,i)})})}(jQuery),function(t,e){"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?module.exports=e():t.ol=e()}(this,function(){function t(t){return void 0!==t}function e(e,o,i){e=e.split("."),i=i||sm,e[0]in i||!i.execScript||i.execScript("var "+e[0]);for(var n;e.length&&(n=e.shift());)!e.length&&t(o)?i[n]=o:i=i[n]?i[n]:i[n]={}}function o(){}function i(t){t.Ia=function(){return t.jg?t.jg:t.jg=new t}}function n(t){var e=typeof t;if("object"==e){if(!t)return"null";if(t instanceof Array)return"array";if(t instanceof Object)return e;var o=Object.prototype.toString.call(t);if("[object Window]"==o)return"object";if("[object Array]"==o||"number"==typeof t.length&&"undefined"!=typeof t.splice&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("splice"))return"array";if("[object Function]"==o||"undefined"!=typeof t.call&&"undefined"!=typeof t.propertyIsEnumerable&&!t.propertyIsEnumerable("call"))return"function"}else if("function"==e&&"undefined"==typeof t.call)return"object";return e}function r(t){return null===t}function s(t){return"array"==n(t)}function a(t){var e=n(t);return"array"==e||"object"==e&&"number"==typeof t.length}function p(t){return"string"==typeof t}function l(t){return"number"==typeof t}function h(t){return"function"==n(t)}function u(t){var e=typeof t;return"object"==e&&null!=t||"function"==e}function c(t){return t[am]||(t[am]=++pm)}function f(t,e,o){return t.call.apply(t.bind,arguments)}function y(t,e,o){if(!t)throw Error();if(2<arguments.length){var i=Array.prototype.slice.call(arguments,2);return function(){var o=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(o,i),t.apply(e,o)}}return function(){return t.apply(e,arguments)}}function d(t,e,o){return d=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?f:y,d.apply(null,arguments)}function g(t,e){var o=Array.prototype.slice.call(arguments,1);return function(){var e=o.slice();return e.push.apply(e,arguments),t.apply(this,e)}}function v(t,e){function o(){}o.prototype=e.prototype,t.S=e.prototype,t.prototype=new o,t.prototype.constructor=t,t.Mo=function(t,o,i){for(var n=Array(arguments.length-2),r=2;r<arguments.length;r++)n[r-2]=arguments[r];return e.prototype[o].apply(t,n)}}function m(t){if(Error.captureStackTrace)Error.captureStackTrace(this,m);else{var e=Error().stack;e&&(this.stack=e)}t&&(this.message=String(t))}function b(t,e){var o=t.length-e.length;return 0<=o&&t.indexOf(e,o)==o}function w(t,e){for(var o=t.split("%s"),i="",n=Array.prototype.slice.call(arguments,1);n.length&&1<o.length;)i+=o.shift()+n.shift();return i+o.join("%s")}function x(t){return bm.test(t)?(-1!=t.indexOf("&")&&(t=t.replace(fm,"&")),-1!=t.indexOf("<")&&(t=t.replace(ym,"<")),-1!=t.indexOf(">")&&(t=t.replace(dm,">")),-1!=t.indexOf('"')&&(t=t.replace(gm,""")),-1!=t.indexOf("'")&&(t=t.replace(vm,"'")),-1!=t.indexOf("\0")&&(t=t.replace(mm,"�")),t):t}function S(e){e=t(void 0)?e.toFixed(void 0):String(e);var o=e.indexOf(".");return-1==o&&(o=e.length),o=Math.max(0,2-o),Array(o+1).join("0")+e}function T(t,e){for(var o=0,i=cm(String(t)).split("."),n=cm(String(e)).split("."),r=Math.max(i.length,n.length),s=0;0==o&&s<r;s++){var a=i[s]||"",p=n[s]||"",l=RegExp("(\\d*)(\\D*)","g"),h=RegExp("(\\d*)(\\D*)","g");do{var u=l.exec(a)||["","",""],c=h.exec(p)||["","",""];if(0==u[0].length&&0==c[0].length)break;o=M(0==u[1].length?0:parseInt(u[1],10),0==c[1].length?0:parseInt(c[1],10))||M(0==u[2].length,0==c[2].length)||M(u[2],c[2])}while(0==o)}return o}function M(t,e){return t<e?-1:t>e?1:0}function C(t,e){return wm.indexOf.call(t,e,void 0)}function E(t,e,o){wm.forEach.call(t,e,o)}function P(t,e){return wm.filter.call(t,e,void 0)}function k(t,e,o){return wm.map.call(t,e,o)}function A(t,e){return wm.some.call(t,e,void 0)}function R(t,e){var o=L(t,e,void 0);return 0>o?null:p(t)?t.charAt(o):t[o]}function L(t,e,o){for(var i=t.length,n=p(t)?t.split(""):t,r=0;r<i;r++)if(r in n&&e.call(o,n[r],r,t))return r;return-1}function N(t,e){return 0<=C(t,e)}function j(t,e){var o,i=C(t,e);return(o=0<=i)&&wm.splice.call(t,i,1),o}function I(t){return wm.concat.apply(wm,arguments)}function D(t){var e=t.length;if(0<e){for(var o=Array(e),i=0;i<e;i++)o[i]=t[i];return o}return[]}function F(t,e){for(var o=1;o<arguments.length;o++){var i=arguments[o];if(a(i)){var n=t.length||0,r=i.length||0;t.length=n+r;for(var s=0;s<r;s++)t[n+s]=i[s]}else t.push(i)}}function O(t,e,o,i){wm.splice.apply(t,B(arguments,1))}function B(t,e,o){return 2>=arguments.length?wm.slice.call(t,e):wm.slice.call(t,e,o)}function U(t,e){t.sort(e||q)}function G(t,e){if(!a(t)||!a(e)||t.length!=e.length)return!1;for(var o=t.length,i=H,n=0;n<o;n++)if(!i(t[n],e[n]))return!1;return!0}function q(t,e){return t>e?1:t<e?-1:0}function H(t,e){return t===e}function $(t){for(var e=[],o=0;o<arguments.length;o++){var i=arguments[o];if(s(i))for(var n=0;n<i.length;n+=8192)for(var r=$.apply(null,B(i,n,n+8192)),a=0;a<r.length;a++)e.push(r[a]);else e.push(i)}return e}function X(t){return-1!=um.indexOf(t)}function W(t,e,o){for(var i in t)e.call(o,t[i],i,t)}function z(t,e){for(var o in t)if(e.call(void 0,t[o],o,t))return!0;return!1}function K(t){var e,o=0;for(e in t)o++;return o}function V(t){var e,o=[],i=0;for(e in t)o[i++]=t[e];return o}function Y(t){var e,o=[],i=0;for(e in t)o[i++]=e;return o}function Z(t,e){return e in t}function _(t,e){for(var o in t)if(t[o]==e)return!0;return!1}function J(t,e){for(var o in t)if(e.call(void 0,t[o],o,t))return o}function Q(t){for(var e in t)return!1;return!0}function tt(t){for(var e in t)delete t[e]}function et(t,e){e in t&&delete t[e]}function ot(t,e,o){return e in t?t[e]:o}function it(t,e){var o=[];return e in t?t[e]:t[e]=o}function nt(t){var e,o={};for(e in t)o[e]=t[e];return o}function rt(t,e){for(var o,i,n=1;n<arguments.length;n++){i=arguments[n];for(o in i)t[o]=i[o];for(var r=0;r<Tm.length;r++)o=Tm[r],Object.prototype.hasOwnProperty.call(i,o)&&(t[o]=i[o])}}function st(t){var e=arguments.length;if(1==e&&s(arguments[0]))return st.apply(null,arguments[0]);for(var o={},i=0;i<e;i++)o[arguments[i]]=!0;return o}function at(){var t=sm.document;return t?t.documentMode:void 0}function pt(t){return Nm[t]||(Nm[t]=0<=T(Lm,t))}function lt(t,e,o){return Math.min(Math.max(t,e),o)}function ht(t,e){var o=t%e;return 0>o*e?o+e:o}function ut(t,e,o){return t+o*(e-t)}function ct(t){return t*Math.PI/180}function ft(e){return function(o){if(t(o))return[lt(o[0],e[0],e[2]),lt(o[1],e[1],e[3])]}}function yt(t){return t}function dt(t,e,o){var i=t.length;if(t[0]<=e)return 0;if(!(e<=t[i-1]))if(0<o){for(o=1;o<i;++o)if(t[o]<e)return o-1}else if(0>o){for(o=1;o<i;++o)if(t[o]<=e)return o}else for(o=1;o<i;++o){if(t[o]==e)return o;if(t[o]<e)return t[o-1]-e<e-t[o]?o-1:o}return i-1}function gt(e){return function(o,i,n){if(t(o))return o=dt(e,o,n),o=lt(o+i,0,e.length-1),e[o]}}function vt(e,o,i){return function(n,r,s){if(t(n))return s=0<s?0:0>s?1:.5,n=Math.floor(Math.log(o/n)/Math.log(e)+s),r=Math.max(n+r,0),t(i)&&(r=Math.min(r,i)),o/Math.pow(e,r)}}function mt(e){if(t(e))return 0}function bt(e,o){if(t(e))return e+o}function wt(e){var o=2*Math.PI/e;return function(e,i){if(t(e))return e=Math.floor((e+i)/o+.5)*o}}function xt(){var e=ct(5);return function(o,i){if(t(o))return Math.abs(o+i)<=e?0:o+i}}function St(t,e,o){this.center=t,this.resolution=e,this.rotation=o}function Tt(){0!=Um&&(Gm[c(this)]=this),this.U=this.U,this.V=this.V}function Mt(e,o){var i=g(Ct,o);e.U?i.call(void 0):(e.V||(e.V=[]),e.V.push(t(void 0)?d(i,void 0):i))}function Ct(t){t&&"function"==typeof t.Yc&&t.Yc()}function Et(t,e){this.type=t,this.c=this.target=e,this.f=!1,this.rh=!0}function Pt(t){t.fb()}function kt(t){t.preventDefault()}function At(t){return At[" "](t),t}function Rt(t,e){Et.call(this,t?t.type:""),this.relatedTarget=this.c=this.target=null,this.q=this.e=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0,this.l=this.d=this.a=this.i=!1,this.state=null,this.g=!1,this.b=null,t&&Lt(this,t,e)}function Lt(t,e,o){t.b=e;var i=t.type=e.type;if(t.target=e.target||e.srcElement,t.c=o,o=e.relatedTarget){if(Em){var n;t:{try{At(o.nodeName),n=!0;break t}catch(r){}n=!1}n||(o=null)}}else"mouseover"==i?o=e.fromElement:"mouseout"==i&&(o=e.toElement);t.relatedTarget=o,Object.defineProperties?Object.defineProperties(t,{offsetX:{configurable:!0,enumerable:!0,get:t.Zf,set:t.bo},offsetY:{configurable:!0,enumerable:!0,get:t.$f,set:t.co}}):(t.offsetX=t.Zf(),t.offsetY=t.$f()),t.clientX=void 0!==e.clientX?e.clientX:e.pageX,t.clientY=void 0!==e.clientY?e.clientY:e.pageY,t.screenX=e.screenX||0,t.screenY=e.screenY||0,t.button=e.button,t.e=e.keyCode||0,t.q=e.charCode||("keypress"==i?e.keyCode:0),t.i=e.ctrlKey,t.a=e.altKey,t.d=e.shiftKey,t.l=e.metaKey,t.g=km?e.metaKey:e.ctrlKey,t.state=e.state,e.defaultPrevented&&t.preventDefault()}function Nt(t){return!((Fm?0!=t.b.button:"click"!=t.type&&!(t.b.button&Hm[0]))||Pm&&km&&t.i)}function jt(t){return!(!t||!t[$m])}function It(t,e,o,i,n){this.$b=t,this.b=null,this.src=e,this.type=o,this.Qc=!!i,this.Sd=n,this.key=++Xm,this.Hc=this.vd=!1}function Dt(t){t.Hc=!0,t.$b=null,t.b=null,t.src=null,t.Sd=null}function Ft(t){this.src=t,this.b={},this.a=0}function Ot(t,e){var o=e.type;if(!(o in t.b))return!1;var i=j(t.b[o],e);return i&&(Dt(e),0==t.b[o].length&&(delete t.b[o],t.a--)),i}function Bt(t,e,o,i,n){return t=t.b[e.toString()],e=-1,t&&(e=Gt(t,o,i,n)),-1<e?t[e]:null}function Ut(e,o,i){var n=t(o),r=n?o.toString():"",s=t(i);return z(e.b,function(t){for(var e=0;e<t.length;++e)if(!(n&&t[e].type!=r||s&&t[e].Qc!=i))return!0;return!1})}function Gt(t,e,o,i){for(var n=0;n<t.length;++n){var r=t[n];if(!r.Hc&&r.$b==e&&r.Qc==!!o&&r.Sd==i)return n}return-1}function qt(t,e,o,i,n){if(s(e)){for(var r=0;r<e.length;r++)qt(t,e[r],o,i,n);return null}return o=Jt(o),jt(t)?t.Ka(e,o,i,n):Ht(t,e,o,!1,i,n)}function Ht(t,e,o,i,n,r){if(!e)throw Error("Invalid event type");var s=!!n,a=_t(t);return a||(t[Wm]=a=new Ft(t)),o=a.add(e,o,i,n,r),o.b?o:(i=$t(),o.b=i,i.src=t,i.$b=o,t.addEventListener?t.addEventListener(e.toString(),i,s):t.attachEvent(Kt(e.toString()),i),Km++,o)}function $t(){var t=Zt,e=Om?function(o){return t.call(e.src,e.$b,o)}:function(o){if(o=t.call(e.src,e.$b,o),!o)return o};return e}function Xt(t,e,o,i,n){if(s(e)){for(var r=0;r<e.length;r++)Xt(t,e[r],o,i,n);return null}return o=Jt(o),jt(t)?t.ab.add(String(e),o,!0,i,n):Ht(t,e,o,!0,i,n)}function Wt(t,e,o,i,n){if(s(e))for(var r=0;r<e.length;r++)Wt(t,e[r],o,i,n);else o=Jt(o),jt(t)?t.wf(e,o,i,n):t&&(t=_t(t))&&(e=Bt(t,e,o,!!i,n))&&zt(e)}function zt(t){if(l(t)||!t||t.Hc)return!1;var e=t.src;if(jt(e))return Ot(e.ab,t);var o=t.type,i=t.b;return e.removeEventListener?e.removeEventListener(o,i,t.Qc):e.detachEvent&&e.detachEvent(Kt(o),i),Km--,(o=_t(e))?(Ot(o,t),0==o.a&&(o.src=null,e[Wm]=null)):Dt(t),!0}function Kt(t){return t in zm?zm[t]:zm[t]="on"+t}function Vt(t,e,o,i){var n=!0;if((t=_t(t))&&(e=t.b[e.toString()]))for(e=e.concat(),t=0;t<e.length;t++){var r=e[t];r&&r.Qc==o&&!r.Hc&&(r=Yt(r,i),n=n&&!1!==r)}return n}function Yt(t,e){var o=t.$b,i=t.Sd||t.src;return t.vd&&zt(t),o.call(i,e)}function Zt(t,e){if(t.Hc)return!0;if(!Om){var o;if(!(o=e))t:{o=["window","event"];for(var i,n=sm;i=o.shift();){if(null==n[i]){o=null;break t}n=n[i]}o=n}if(i=o,o=new Rt(i,this),n=!0,!(0>i.keyCode||void 0!=i.returnValue)){t:{var r=!1;if(0==i.keyCode)try{i.keyCode=-1;break t}catch(s){r=!0}(r||void 0==i.returnValue)&&(i.returnValue=!0)}for(i=[],r=o.c;r;r=r.parentNode)i.push(r);for(var r=t.type,a=i.length-1;!o.f&&0<=a;a--){o.c=i[a];var p=Vt(i[a],r,!0,o),n=n&&p}for(a=0;!o.f&&a<i.length;a++)o.c=i[a],p=Vt(i[a],r,!1,o),n=n&&p}return n}return Yt(t,new Rt(e,this))}function _t(t){return t=t[Wm],t instanceof Ft?t:null}function Jt(t){return h(t)?t:(t[Vm]||(t[Vm]=function(e){return t.handleEvent(e)}),t[Vm])}function Qt(){Tt.call(this),this.ab=new Ft(this),this.rc=this,this.sa=null}function te(t,e,o,i){if(e=t.ab.b[String(e)],!e)return!0;e=e.concat();for(var n=!0,r=0;r<e.length;++r){var s=e[r];if(s&&!s.Hc&&s.Qc==o){var a=s.$b,p=s.Sd||s.src;s.vd&&Ot(t.ab,s),n=!1!==a.call(p,i)&&n}}return n&&0!=i.rh}function ee(e,o,i){return Ut(e.ab,t(o)?String(o):void 0,i)}function oe(){Qt.call(this),this.b=0}function ie(t){zt(t)}function ne(t,e,o){Et.call(this,t),this.key=e,this.oldValue=o}function re(e){oe.call(this),c(this),this.q={},t(e)&&this.t(e)}function se(t){return Ym.hasOwnProperty(t)?Ym[t]:Ym[t]="change:"+t}function ae(t,e,o){var i;i=se(e),t.dispatchEvent(new ne(i,e,o)),t.dispatchEvent(new ne("propertychange",e,o))}function pe(e,o,i){return t(i)||(i=[0,0]),i[0]=e[0]+2*o,i[1]=e[1]+2*o,i}function le(e,o,i){return t(i)||(i=[0,0]),i[0]=e[0]*o+.5|0,i[1]=e[1]*o+.5|0,i}function he(e,o){return s(e)?e:(t(o)?(o[0]=e,o[1]=e):o=[e,e],o)}function ue(t,e){return t[0]+=e[0],t[1]+=e[1],t}function ce(t,e){var o=t[0],i=t[1],n=e[0],r=e[1],s=n[0],n=n[1],a=r[0],r=r[1],p=a-s,l=r-n,o=0===p&&0===l?0:(p*(o-s)+l*(i-n))/(p*p+l*l||0);return 0>=o||(1<=o?(s=a,n=r):(s+=o*p,n+=o*l)),[s,n]}function fe(t,e){var o=ht(t+180,360)-180,i=Math.abs(Math.round(3600*o));return Math.floor(i/3600)+"° "+Math.floor(i/60%60)+"′ "+Math.floor(i%60)+"″ "+e.charAt(0>o?1:0)}function ye(e,o,i){return t(e)?o.replace("{x}",e[0].toFixed(i)).replace("{y}",e[1].toFixed(i)):""}function de(t,e){for(var o=!0,i=t.length-1;0<=i;--i)if(t[i]!=e[i]){o=!1;break}return o}function ge(t,e){var o=Math.cos(e),i=Math.sin(e),n=t[1]*o+t[0]*i;return t[0]=t[0]*o-t[1]*i,t[1]=n,t}function ve(t,e){var o=t[0]-e[0],i=t[1]-e[1];return o*o+i*i}function me(t,e){return ve(t,ce(t,e))}function be(t,e){return ye(t,"{x}, {y}",e)}function we(t){this.length=t.length||t;for(var e=0;e<this.length;e++)this[e]=t[e]||0}function xe(t){this.length=t.length||t;for(var e=0;e<this.length;e++)this[e]=t[e]||0}function Se(t,e,o,i,n){t[0]=e,t[1]=o,t[2]=i,t[3]=n}function Te(){var t=Array(16);return Ce(t,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0),t}function Me(){var t=Array(16);return Ce(t,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),t}function Ce(t,e,o,i,n,r,s,a,p,l,h,u,c,f,y,d,g){t[0]=e,t[1]=o,t[2]=i,t[3]=n,t[4]=r,t[5]=s,t[6]=a,t[7]=p,t[8]=l,t[9]=h,t[10]=u,t[11]=c,t[12]=f,t[13]=y,t[14]=d,t[15]=g}function Ee(t,e){t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t[9]=e[9],t[10]=e[10],t[11]=e[11],t[12]=e[12],t[13]=e[13],t[14]=e[14],t[15]=e[15]}function Pe(t){t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=1,t[6]=0,t[7]=0,t[8]=0,t[9]=0,t[10]=1,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1}function ke(t,e,o){var i=t[0],n=t[1],r=t[2],s=t[3],a=t[4],p=t[5],l=t[6],h=t[7],u=t[8],c=t[9],f=t[10],y=t[11],d=t[12],g=t[13],v=t[14];t=t[15];var m=e[0],b=e[1],w=e[2],x=e[3],S=e[4],T=e[5],M=e[6],C=e[7],E=e[8],P=e[9],k=e[10],A=e[11],R=e[12],L=e[13],N=e[14];e=e[15],o[0]=i*m+a*b+u*w+d*x,o[1]=n*m+p*b+c*w+g*x,o[2]=r*m+l*b+f*w+v*x,o[3]=s*m+h*b+y*w+t*x,o[4]=i*S+a*T+u*M+d*C,o[5]=n*S+p*T+c*M+g*C,o[6]=r*S+l*T+f*M+v*C,o[7]=s*S+h*T+y*M+t*C,o[8]=i*E+a*P+u*k+d*A,o[9]=n*E+p*P+c*k+g*A,o[10]=r*E+l*P+f*k+v*A,o[11]=s*E+h*P+y*k+t*A,o[12]=i*R+a*L+u*N+d*e,o[13]=n*R+p*L+c*N+g*e,o[14]=r*R+l*L+f*N+v*e,o[15]=s*R+h*L+y*N+t*e}function Ae(t,e){var o=t[0],i=t[1],n=t[2],r=t[3],s=t[4],a=t[5],p=t[6],l=t[7],h=t[8],u=t[9],c=t[10],f=t[11],y=t[12],d=t[13],g=t[14],v=t[15],m=o*a-i*s,b=o*p-n*s,w=o*l-r*s,x=i*p-n*a,S=i*l-r*a,T=n*l-r*p,M=h*d-u*y,C=h*g-c*y,E=h*v-f*y,P=u*g-c*d,k=u*v-f*d,A=c*v-f*g,R=m*A-b*k+w*P+x*E-S*C+T*M;0!=R&&(R=1/R,e[0]=(a*A-p*k+l*P)*R,e[1]=(-i*A+n*k-r*P)*R,e[2]=(d*T-g*S+v*x)*R,e[3]=(-u*T+c*S-f*x)*R,e[4]=(-s*A+p*E-l*C)*R,e[5]=(o*A-n*E+r*C)*R,e[6]=(-y*T+g*w-v*b)*R,e[7]=(h*T-c*w+f*b)*R,e[8]=(s*k-a*E+l*M)*R,e[9]=(-o*k+i*E-r*M)*R,e[10]=(y*S-d*w+v*m)*R,e[11]=(-h*S+u*w-f*m)*R,e[12]=(-s*P+a*C-p*M)*R,e[13]=(o*P-i*C+n*M)*R,e[14]=(-y*x+d*b-g*m)*R,e[15]=(h*x-u*b+c*m)*R)}function Re(t,e,o){var i=t[1]*e+t[5]*o+0*t[9]+t[13],n=t[2]*e+t[6]*o+0*t[10]+t[14],r=t[3]*e+t[7]*o+0*t[11]+t[15];t[12]=t[0]*e+t[4]*o+0*t[8]+t[12],t[13]=i,t[14]=n,t[15]=r}function Le(t,e,o){Ce(t,t[0]*e,t[1]*e,t[2]*e,t[3]*e,t[4]*o,t[5]*o,t[6]*o,t[7]*o,1*t[8],1*t[9],1*t[10],1*t[11],t[12],t[13],t[14],t[15])}function Ne(t,e){var o=t[0],i=t[1],n=t[2],r=t[3],s=t[4],a=t[5],p=t[6],l=t[7],h=Math.cos(e),u=Math.sin(e);t[0]=o*h+s*u,t[1]=i*h+a*u,t[2]=n*h+p*u,t[3]=r*h+l*u,t[4]=o*-u+s*h,t[5]=i*-u+a*h,t[6]=n*-u+p*h,t[7]=r*-u+l*h}function je(t){for(var e=qe(),o=0,i=t.length;o<i;++o)ze(e,t[o]);return e}function Ie(t,e,o){var i=Math.min.apply(null,t),n=Math.min.apply(null,e);return t=Math.max.apply(null,t),e=Math.max.apply(null,e),He(i,n,t,e,o)}function De(e,o,i){return t(i)?(i[0]=e[0]-o,i[1]=e[1]-o,i[2]=e[2]+o,i[3]=e[3]+o,i):[e[0]-o,e[1]-o,e[2]+o,e[3]+o]}function Fe(e,o){return t(o)?(o[0]=e[0],o[1]=e[1],o[2]=e[2],o[3]=e[3],o):e.slice()}function Oe(t,e,o){return e=e<t[0]?t[0]-e:t[2]<e?e-t[2]:0,t=o<t[1]?t[1]-o:t[3]<o?o-t[3]:0,e*e+t*t}function Be(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function Ue(t,e,o){return t[0]<=e&&e<=t[2]&&t[1]<=o&&o<=t[3]}function Ge(t,e){var o=t[1],i=t[2],n=t[3],r=e[0],s=e[1],a=0;return r<t[0]?a=16|a:r>i&&(a=4|a),s<o?a|=8:s>n&&(a|=2),0===a&&(a=1),a}function qe(){return[1/0,1/0,-(1/0),-(1/0)]}function He(e,o,i,n,r){return t(r)?(r[0]=e,r[1]=o,r[2]=i,r[3]=n,r):[e,o,i,n]}function $e(t,e){var o=t[0],i=t[1];return He(o,i,o,i,e)}function Xe(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function We(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function ze(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function Ke(t,e,o,i,n){for(;o<i;o+=n){var r=t,s=e[o],a=e[o+1];r[0]=Math.min(r[0],s),r[1]=Math.min(r[1],a),r[2]=Math.max(r[2],s),r[3]=Math.max(r[3],a)}return t}function Ve(t,e){var o;return(o=e.call(void 0,Ye(t)))||(o=e.call(void 0,Ze(t)))||(o=e.call(void 0,io(t)))?o:!!(o=e.call(void 0,oo(t)))&&o}function Ye(t){return[t[0],t[1]]}function Ze(t){return[t[2],t[1]]}function _e(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function Je(t,e){var o;return"bottom-left"===e?o=Ye(t):"bottom-right"===e?o=Ze(t):"top-left"===e?o=oo(t):"top-right"===e&&(o=io(t)),o}function Qe(t,e,o,i){var n=e*i[0]/2;i=e*i[1]/2,e=Math.cos(o),o=Math.sin(o),n=[-n,-n,n,n],i=[-i,i,-i,i];var r,s,a;for(r=0;4>r;++r)s=n[r],a=i[r],n[r]=t[0]+s*e-a*o,i[r]=t[1]+s*o+a*e;return Ie(n,i,void 0)}function to(t){return t[3]-t[1]}function eo(e,o,i){return i=t(i)?i:qe(),ro(e,o)&&(i[0]=e[0]>o[0]?e[0]:o[0],i[1]=e[1]>o[1]?e[1]:o[1],i[2]=e[2]<o[2]?e[2]:o[2],i[3]=e[3]<o[3]?e[3]:o[3]),i}function oo(t){return[t[0],t[3]]}function io(t){return[t[2],t[3]]}function no(t){return t[2]-t[0]}function ro(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function so(t){return t[2]<t[0]||t[3]<t[1]}function ao(t,e){var o=(t[2]-t[0])/2*(e-1),i=(t[3]-t[1])/2*(e-1);t[0]-=o,t[2]+=o,t[1]-=i,t[3]+=i}function po(t,e,o){return t=[t[0],t[1],t[0],t[3],t[2],t[1],t[2],t[3]],e(t,t,2),Ie([t[0],t[2],t[4],t[6]],[t[1],t[3],t[5],t[7]],o)}function lo(t){this.radius=t}function ho(e){if(this.b=e.code,this.a=e.units,this.f=t(e.extent)?e.extent:null,this.g=t(e.worldExtent)?e.worldExtent:null,this.d=t(e.axisOrientation)?e.axisOrientation:"enu",this.c=(this.e=!!t(e.global)&&e.global)&&null!==this.f,this.q=t(e.getPointResolution)?e.getPointResolution:this.rj,this.i=null,"function"==typeof proj4){var o=e.code,i=proj4.defs(o);if(t(i)){t(i.axis)&&!t(e.axisOrientation)&&(this.d=i.axis),t(e.units)||(e=i.units,!t(e)&&t(i.to_meter)&&(e=i.to_meter.toString(),Jm[e]=i.to_meter),this.a=e),e=Qm;var n,r;for(n in e)r=proj4.defs(n),t(r)&&(e=xo(n),r===i?co([e,this]):(r=proj4(n,o),bo(e,this,r.forward,r.inverse)))}}}function uo(t){return t.d}function co(t){go(t),E(t,function(e){E(t,function(t){e!==t&&mo(e,t,Eo)})})}function fo(){var t=pw,e=Ep,o=Pp;E(hw,function(i){E(t,function(t){mo(i,t,e),mo(t,i,o)})})}function yo(t){Qm[t.b]=t,mo(t,t,Eo)}function go(t){var e=[];E(t,function(t){e.push(yo(t))})}function vo(t){return null!=t?p(t)?xo(t):t:xo("EPSG:3857")}function mo(t,e,o){t=t.b,e=e.b,t in tb||(tb[t]={}),tb[t][e]=o}function bo(t,e,o,i){t=xo(t),e=xo(e),mo(t,e,wo(o)),mo(e,t,wo(i))}function wo(e){return function(o,i,n){var r=o.length;n=t(n)?n:2,i=t(i)?i:Array(r);var s,a;for(a=0;a<r;a+=n)for(s=e([o[a],o[a+1]]),i[a]=s[0],i[a+1]=s[1],s=n-1;2<=s;--s)i[a+s]=o[a+s];return i}}function xo(e){var o;return e instanceof ho?o=e:p(e)?(o=Qm[e],!t(o)&&"function"==typeof proj4&&t(proj4.defs(e))&&(o=new ho({code:e}),yo(o))):o=null,o}function So(t,e){return t===e||(t.b===e.b||t.a==e.a&&Mo(t,e)===Eo)}function To(t,e){var o=xo(t),i=xo(e);return Mo(o,i)}function Mo(e,o){var i,n=e.b,r=o.b;return n in tb&&r in tb[n]&&(i=tb[n][r]),t(i)||(i=Co),i}function Co(e,o){if(t(o)&&e!==o){for(var i=0,n=e.length;i<n;++i)o[i]=e[i];e=o}return e}function Eo(e,o){var i;if(t(o)){i=0;for(var n=e.length;i<n;++i)o[i]=e[i];i=o}else i=e.slice();return i}function Po(t,e,o){return To(e,o)(t,void 0,t.length)}function ko(t,e,o){return e=To(e,o),po(t,e)}function Ao(e){re.call(this),e=t(e)?e:{},this.c=[0,0];var o={};o.center=t(e.center)?e.center:null,this.e=vo(e.projection);var i,n,r,s=t(e.minZoom)?e.minZoom:0;i=t(e.maxZoom)?e.maxZoom:28;var a=t(e.zoomFactor)?e.zoomFactor:2;if(t(e.resolutions))i=e.resolutions,n=i[0],r=i[i.length-1],i=gt(i);else{n=vo(e.projection),r=n.G();var p=(null===r?360*Jm.degrees/Jm[n.a]:Math.max(no(r),to(r)))/256/Math.pow(2,0),h=p/Math.pow(2,28);n=e.maxResolution,t(n)?s=0:n=p/Math.pow(a,s),r=e.minResolution,t(r)||(r=t(e.maxZoom)?t(e.maxResolution)?n/Math.pow(a,i):p/Math.pow(a,i):h),i=s+Math.floor(Math.log(n/r)/Math.log(a)),r=n/Math.pow(a,i-s),i=vt(a,n,i-s)}this.a=n,this.g=r,this.d=s,s=t(e.extent)?ft(e.extent):yt,(t(e.enableRotation)?e.enableRotation:1)?(n=e.constrainRotation,n=t(n)&&!0!==n?!1===n?bt:l(n)?wt(n):bt:xt()):n=mt,this.f=new St(s,i,n),t(e.resolution)?o.resolution=e.resolution:t(e.zoom)&&(o.resolution=this.constrainResolution(this.a,e.zoom-this.d)),o.rotation=t(e.rotation)?e.rotation:0,this.t(o)}function Ro(t,e){return Math.max(no(t)/e[0],to(t)/e[1])}function Lo(t){var e=t.a,o=Math.log(e/t.g)/Math.log(2);return function(t){return e/Math.pow(2,t*o)}}function No(t){var e=t.a,o=Math.log(e/t.g)/Math.log(2);return function(t){return Math.log(e/t)/Math.log(2)/o}}function jo(e){var o=e.Ca(),i=e.e,n=e.ya();return e=e.Da(),{center:o.slice(),projection:t(i)?i:null,resolution:n,rotation:e}}function Io(e){return null!=e.Ca()&&t(e.ya())}function Do(t,e){t.c[1]+=e}function Fo(t){return 1-Math.pow(1-t,3)}function Oo(t){return 3*t*t-2*t*t*t}function Bo(t){return t}function Uo(t){return.5>t?Oo(2*t):1-Oo(2*(t-.5))}function Go(e){var o=e.source,i=t(e.start)?e.start:lm(),n=o[0],r=o[1],s=t(e.duration)?e.duration:1e3,a=t(e.easing)?e.easing:Oo;return function(t,e){if(e.time<i)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<i+s){var o=1-a((e.time-i)/s),p=n-e.viewState.center[0],l=r-e.viewState.center[1];return e.animate=!0,e.viewState.center[0]+=o*p,e.viewState.center[1]+=o*l,e.viewHints[0]+=1,!0}return!1}}function qo(e){var o=t(e.rotation)?e.rotation:0,i=t(e.start)?e.start:lm(),n=t(e.duration)?e.duration:1e3,r=t(e.easing)?e.easing:Oo,s=t(e.anchor)?e.anchor:null;return function(t,e){if(e.time<i)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<i+n){var a=1-r((e.time-i)/n),a=(o-e.viewState.rotation)*a;if(e.animate=!0,e.viewState.rotation+=a,null!==s){var p=e.viewState.center;p[0]-=s[0],p[1]-=s[1],ge(p,a),ue(p,s)}return e.viewHints[0]+=1,!0}return!1}}function Ho(e){var o=e.resolution,i=t(e.start)?e.start:lm(),n=t(e.duration)?e.duration:1e3,r=t(e.easing)?e.easing:Oo; +return function(t,e){if(e.time<i)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<i+n){var s=1-r((e.time-i)/n),a=o-e.viewState.resolution;return e.animate=!0,e.viewState.resolution+=s*a,e.viewHints[0]+=1,!0}return!1}}function $o(e,o,i,n){return t(n)?(n[0]=e,n[1]=o,n[2]=i,n):[e,o,i]}function Xo(t,e,o){return t+"/"+e+"/"+o}function Wo(t){var e,o,i=t[0],n=Array(i),r=1<<i-1;for(e=0;e<i;++e)o=48,t[1]&r&&(o+=1),t[2]&r&&(o+=2),n[e]=String.fromCharCode(o),r>>=1;return n.join("")}function zo(t){return Xo(t[0],t[1],t[2])}function Ko(t,e,o,i){this.b=t,this.d=e,this.c=o,this.a=i}function Vo(e,o,i,n,r){return t(r)?(r.b=e,r.d=o,r.c=i,r.a=n,r):new Ko(e,o,i,n)}function Yo(t,e,o){return t.b<=e&&e<=t.d&&t.c<=o&&o<=t.a}function Zo(t,e){return t.b==e.b&&t.c==e.c&&t.d==e.d&&t.a==e.a}function _o(t){return t.d-t.b+1}function Jo(t,e){return t.b<=e.d&&t.d>=e.b&&t.c<=e.a&&t.a>=e.c}function Qo(e){this.a=e.html,this.b=t(e.tileRanges)?e.tileRanges:null}function ti(t,e,o){Et.call(this,t,o),this.element=e}function ei(e){re.call(this),this.a=t(e)?e:[],oi(this)}function oi(t){t.set("length",t.a.length)}function ii(t){return s(t)?t:nb(t)}function ni(t){if(!p(t)){var e=t[0];e!=(0|e)&&(e=e+.5|0);var o=t[1];o!=(0|o)&&(o=o+.5|0);var i=t[2];i!=(0|i)&&(i=i+.5|0),t="rgba("+e+","+o+","+i+","+t[3]+")"}return t}function ri(e,o){var i=t(o)?o:[];return i[0]=lt(e[0]+.5|0,0,255),i[1]=lt(e[1]+.5|0,0,255),i[2]=lt(e[2]+.5|0,0,255),i[3]=lt(e[3],0,1),i}function si(){this.g=Te(),this.a=void 0,this.b=Te(),this.d=void 0,this.c=Te(),this.f=void 0,this.e=Te(),this.q=void 0,this.i=Te()}function ai(e,o,i,n,r){var s=!1;if(t(o)&&o!==e.a&&(s=e.b,Pe(s),s[12]=o,s[13]=o,s[14]=o,s[15]=1,e.a=o,s=!0),t(i)&&i!==e.d){s=e.c,Pe(s),s[0]=i,s[5]=i,s[10]=i,s[15]=1;var a=-.5*i+.5;s[12]=a,s[13]=a,s[14]=a,s[15]=1,e.d=i,s=!0}return t(n)&&n!==e.f&&(s=Math.cos(n),a=Math.sin(n),Ce(e.e,.213+.787*s-.213*a,.213-.213*s+.143*a,.213-.213*s-.787*a,0,.715-.715*s-.715*a,.715+.285*s+.14*a,.715-.715*s+.715*a,0,.072-.072*s+.928*a,.072-.072*s-.283*a,.072+.928*s+.072*a,0,0,0,0,1),e.f=n,s=!0),t(r)&&r!==e.q&&(Ce(e.i,.213+.787*r,.213-.213*r,.213-.213*r,0,.715-.715*r,.715+.285*r,.715-.715*r,0,.072-.072*r,.072-.072*r,.072+.928*r,0,0,0,0,1),e.q=r,s=!0),s&&(s=e.g,Pe(s),t(i)&&ke(s,e.c,s),t(o)&&ke(s,e.b,s),t(r)&&ke(s,e.i,s),t(n)&&ke(s,e.e,s)),e.g}function pi(e,o){this.x=t(e)?e:0,this.y=t(o)?o:0}function li(t,e){this.width=t,this.height=e}function hi(t){return t?new Ei(Mi(t)):hm||(hm=new Ei)}function ui(t){var e=document;return p(t)?e.getElementById(t):t}function ci(t,e){W(e,function(e,o){"style"==o?t.style.cssText=e:"class"==o?t.className=e:"for"==o?t.htmlFor=e:o in sb?t.setAttribute(sb[o],e):0==o.lastIndexOf("aria-",0)||0==o.lastIndexOf("data-",0)?t.setAttribute(o,e):t[o]=e})}function fi(t){return t=t.document.documentElement,new li(t.clientWidth,t.clientHeight)}function yi(t,e,o){var i=arguments,n=document,r=i[0],a=i[1];if(!rb&&a&&(a.name||a.type)){if(r=["<",r],a.name&&r.push(' name="',x(a.name),'"'),a.type){r.push(' type="',x(a.type),'"');var l={};rt(l,a),delete l.type,a=l}r.push(">"),r=r.join("")}return r=n.createElement(r),a&&(p(a)?r.className=a:s(a)?r.className=a.join(" "):ci(r,a)),2<i.length&&di(n,r,i,2),r}function di(t,e,o,i){function n(o){o&&e.appendChild(p(o)?t.createTextNode(o):o)}for(;i<o.length;i++){var r=o[i];!a(r)||u(r)&&0<r.nodeType?n(r):E(Ci(r)?D(r):r,n)}}function gi(t){return document.createElement(t)}function vi(t,e){di(Mi(t),t,arguments,1)}function mi(t){for(var e;e=t.firstChild;)t.removeChild(e)}function bi(t,e,o){t.insertBefore(e,t.childNodes[o]||null)}function wi(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function xi(t,e){var o=e.parentNode;o&&o.replaceChild(t,e)}function Si(t){if(void 0!=t.firstElementChild)t=t.firstElementChild;else for(t=t.firstChild;t&&1!=t.nodeType;)t=t.nextSibling;return t}function Ti(t,e){if(t.contains&&1==e.nodeType)return t==e||t.contains(e);if("undefined"!=typeof t.compareDocumentPosition)return t==e||Boolean(16&t.compareDocumentPosition(e));for(;e&&t!=e;)e=e.parentNode;return e==t}function Mi(t){return 9==t.nodeType?t:t.ownerDocument||t.document}function Ci(t){if(t&&"number"==typeof t.length){if(u(t))return"function"==typeof t.item||"string"==typeof t.item;if(h(t))return"function"==typeof t.item}return!1}function Ei(t){this.b=t||sm.document||document}function Pi(){return!0}function ki(t){var e=t.b;return t=Pm?e.body||e.documentElement:e.documentElement,e=e.parentWindow||e.defaultView,Cm&&pt("10")&&e.pageYOffset!=t.scrollTop?new pi(t.scrollLeft,t.scrollTop):new pi(e.pageXOffset||t.scrollLeft,e.pageYOffset||t.scrollTop)}function Ai(t){return t.classList?t.classList:(t=t.className,p(t)&&t.match(/\S+/g)||[])}function Ri(t,e){return t.classList?t.classList.contains(e):N(Ai(t),e)}function Li(t,e){t.classList?t.classList.add(e):Ri(t,e)||(t.className+=0<t.className.length?" "+e:e)}function Ni(t,e){t.classList?t.classList.remove(e):Ri(t,e)&&(t.className=P(Ai(t),function(t){return t!=e}).join(" "))}function ji(t,e){Ri(t,e)?Ni(t,e):Li(t,e)}function Ii(t,e,o,i){this.top=t,this.right=e,this.bottom=o,this.left=i}function Di(t,e,o,i){this.left=t,this.top=e,this.width=o,this.height=i}function Fi(t,e){var o=e.x<t.left?t.left-e.x:Math.max(e.x-(t.left+t.width),0),i=e.y<t.top?t.top-e.y:Math.max(e.y-(t.top+t.height),0);return o*o+i*i}function Oi(t,e){var o=Mi(t);return o.defaultView&&o.defaultView.getComputedStyle&&(o=o.defaultView.getComputedStyle(t,null))?o[e]||o.getPropertyValue(e)||"":""}function Bi(t,e){return Oi(t,e)||(t.currentStyle?t.currentStyle[e]:null)||t.style&&t.style[e]}function Ui(t,e,o){var i;e instanceof pi?(i=e.x,e=e.y):(i=e,e=o),t.style.left=Hi(i),t.style.top=Hi(e)}function Gi(t){var e;try{e=t.getBoundingClientRect()}catch(o){return{left:0,top:0,right:0,bottom:0}}return Cm&&t.ownerDocument.body&&(t=t.ownerDocument,e.left-=t.documentElement.clientLeft+t.body.clientLeft,e.top-=t.documentElement.clientTop+t.body.clientTop),e}function qi(t){if(1==t.nodeType)return t=Gi(t),new pi(t.left,t.top);var e=h(t.Qi),o=t;return t.targetTouches&&t.targetTouches.length?o=t.targetTouches[0]:e&&t.b.targetTouches&&t.b.targetTouches.length&&(o=t.b.targetTouches[0]),new pi(o.clientX,o.clientY)}function Hi(t){return"number"==typeof t&&(t+="px"),t}function $i(t){var e=Xi;if("none"!=Bi(t,"display"))return e(t);var o=t.style,i=o.display,n=o.visibility,r=o.position;return o.visibility="hidden",o.position="absolute",o.display="inline",t=e(t),o.display=i,o.position=r,o.visibility=n,t}function Xi(e){var o=e.offsetWidth,i=e.offsetHeight,n=Pm&&!o&&!i;return t(o)&&!n||!e.getBoundingClientRect?new li(o,i):(e=Gi(e),new li(e.right-e.left,e.bottom-e.top))}function Wi(t,e){t.style.display=e?"":"none"}function zi(t,e,o,i){if(/^\d+px?$/.test(e))return parseInt(e,10);var n=t.style[o],r=t.runtimeStyle[o];return t.runtimeStyle[o]=t.currentStyle[o],t.style[o]=e,e=t.style[i],t.style[o]=n,t.runtimeStyle[o]=r,e}function Ki(t,e){var o=t.currentStyle?t.currentStyle[e]:null;return o?zi(t,o,"left","pixelLeft"):0}function Vi(t,e){if(Cm){var o=Ki(t,e+"Left"),i=Ki(t,e+"Right"),n=Ki(t,e+"Top"),r=Ki(t,e+"Bottom");return new Ii(n,i,r,o)}return o=Oi(t,e+"Left"),i=Oi(t,e+"Right"),n=Oi(t,e+"Top"),r=Oi(t,e+"Bottom"),new Ii(parseFloat(n),parseFloat(i),parseFloat(r),parseFloat(o))}function Yi(t,e){if("none"==(t.currentStyle?t.currentStyle[e+"Style"]:null))return 0;var o=t.currentStyle?t.currentStyle[e+"Width"]:null;return o in ab?ab[o]:zi(t,o,"left","pixelLeft")}function Zi(t){if(Cm&&!(Cm&&9<=Im)){var e=Yi(t,"borderLeft"),o=Yi(t,"borderRight"),i=Yi(t,"borderTop");return t=Yi(t,"borderBottom"),new Ii(i,o,t,e)}return e=Oi(t,"borderLeftWidth"),o=Oi(t,"borderRightWidth"),i=Oi(t,"borderTopWidth"),t=Oi(t,"borderBottomWidth"),new Ii(parseFloat(i),parseFloat(o),parseFloat(t),parseFloat(e))}function _i(e,o,i){Et.call(this,e),this.map=o,this.frameState=t(i)?i:null}function Ji(e){re.call(this),this.element=t(e.element)?e.element:null,this.a=this.L=null,this.l=[],this.render=t(e.render)?e.render:o,t(e.target)&&this.c(e.target)}function Qi(){this.c=0,this.d={},this.a=this.b=null}function tn(t,e){return t.d.hasOwnProperty(e)}function en(e){Qi.call(this),this.e=t(e)?e:2048}function on(t){return t.Tb()>t.e}function nn(t,e){Qt.call(this),this.b=t,this.state=e}function rn(t){t.dispatchEvent("change")}function sn(e){re.call(this),this.f=xo(e.projection),this.d=t(e.attributions)?e.attributions:null,this.L=e.logo,this.o=t(e.state)?e.state:"ready",this.H=e.wrapX}function an(t){return t.H}function pn(t,e){t.o=e,t.k()}function ln(t){return function(){return t}}function hn(t){return t}function un(t){var e;return e=e||0,function(){return t.apply(this,Array.prototype.slice.call(arguments,0,e))}}function cn(t){var e=arguments,o=e.length;return function(){for(var t,i=0;i<o;i++)t=e[i].apply(this,arguments);return t}}function fn(t){var e=arguments,o=e.length;return function(){for(var t=0;t<o;t++)if(!e[t].apply(this,arguments))return!1;return!0}}function yn(e){this.minZoom=t(e.minZoom)?e.minZoom:0,this.b=e.resolutions,this.maxZoom=this.b.length-1,this.f=t(e.origin)?e.origin:null,this.i=null,t(e.origins)&&(this.i=e.origins),this.c=null,t(e.tileSizes)&&(this.c=e.tileSizes),this.g=t(e.tileSize)?e.tileSize:null===this.c?256:null,this.a=[0,0],this.d=null,t(e.widths)&&(this.d=e.widths)}function dn(t,e,o,i){bn(t,e[0],e[1],o,!1,ub);var n=ub[1],r=ub[2];return bn(t,e[2],e[3],o,!0,ub),Vo(n,ub[1],r,ub[2],i)}function gn(t,e,o,i){return dn(t,e,t.ma(o),i)}function vn(t,e){var o=t.Mb(e[0]),i=t.ma(e[0]),n=he(t.na(e[0]),t.a);return[o[0]+(e[1]+.5)*n[0]*i,o[1]+(e[2]+.5)*n[1]*i]}function mn(t,e,o){var i=t.Mb(e[0]),n=t.ma(e[0]);t=he(t.na(e[0]),t.a);var r=i[0]+e[1]*t[0]*n;return e=i[1]+e[2]*t[1]*n,He(r,e,r+t[0]*n,e+t[1]*n,o)}function bn(t,e,o,i,n,r){var s=Sn(t,i),a=i/t.ma(s),p=t.Mb(s);return t=he(t.na(s),t.a),e=a*(e-p[0])/(i*t[0]),o=a*(o-p[1])/(i*t[1]),n?(e=Math.ceil(e)-1,o=Math.ceil(o)-1):(e=Math.floor(e),o=Math.floor(o)),$o(s,e,o,r)}function wn(e,o,i){return i=gn(e,Cn(i),o),e=xn(e,o),t(e)||(e=_o(i)),Vo(0,e-1,0,i.a-i.c+1,void 0)}function xn(t,e){if(null!==t.d)return t.d[e]}function Sn(t,e){var o=dt(t.b,e,0);return lt(o,t.minZoom,t.maxZoom)}function Tn(e){var o=e.i;if(null===o){for(var o=Cn(e),i=he(t(void 0)?void 0:256),n=t(void 0)?void 0:"bottom-left",r=Mn(o,void 0,he(i)),s=Array(r.length),a=no(o),p=r.length-1;0<=p;--p)s[p]=a/i[0]/r[p];o=new yn({origin:Je(o,n),resolutions:r,tileSize:t(void 0)?void 0:256,widths:s}),e.i=o}return o}function Mn(e,o,i){o=t(o)?o:42;var n=to(e);for(e=no(e),i=t(i)?i:he(256),i=Math.max(e/i[0],n/i[1]),o+=1,n=Array(o),e=0;e<o;++e)n[e]=i/Math.pow(2,e);return n}function Cn(t){t=xo(t);var e=t.G();return null===e&&(t=180*Jm.degrees/t.Gd(),e=He(-t,-t,t,t)),e}function En(e){sn.call(this,{attributions:e.attributions,extent:e.extent,logo:e.logo,projection:e.projection,state:e.state,wrapX:e.wrapX}),this.X=!!t(e.opaque)&&e.opaque,this.ba=t(e.tilePixelRatio)?e.tilePixelRatio:1,this.tileGrid=t(e.tileGrid)?e.tileGrid:null,this.a=new en,this.c=[0,0]}function Pn(t,e,o,i){for(var n,r,s=!0,a=o.b;a<=o.d;++a)for(var p=o.c;p<=o.a;++p)n=t.bb(e,a,p),r=!1,tn(t.a,n)&&(n=t.a.get(n),(r=2===n.state)&&(r=!1!==i(n))),r||(s=!1);return s}function kn(t,e){return null===t.tileGrid?Tn(e):t.tileGrid}function An(t,e){Et.call(this,t),this.tile=e}function Rn(e){e=t(e)?e:{},this.p=gi("UL"),this.o=gi("LI"),this.p.appendChild(this.o),Wi(this.o,!1),this.d=!t(e.collapsed)||e.collapsed,this.g=!t(e.collapsible)||e.collapsible,this.g||(this.d=!1);var o=t(e.className)?e.className:"ol-attribution",i=t(e.tipLabel)?e.tipLabel:"Attributions",n=t(e.collapseLabel)?e.collapseLabel:"»";this.H=p(n)?yi("SPAN",{},n):n,n=t(e.label)?e.label:"i",this.J=p(n)?yi("SPAN",{},n):n,i=yi("BUTTON",{type:"button",title:i},this.g&&!this.d?this.H:this.J),qt(i,"click",this.gl,!1,this),qt(i,["mouseout",qm],function(){this.blur()},!1),o=yi("DIV",o+" ol-unselectable ol-control"+(this.d&&this.g?" ol-collapsed":"")+(this.g?"":" ol-uncollapsible"),this.p,i),Ji.call(this,{element:o,render:t(e.render)?e.render:Ln,target:e.target}),this.n=!0,this.i={},this.f={},this.N={}}function Ln(e){if(e=e.frameState,null===e)this.n&&(Wi(this.element,!1),this.n=!1);else{var o,i,n,r,s,a,p,l,h,u,f,y=e.layerStatesArray,d=nt(e.attributions),g={},v=e.viewState.projection;for(i=0,o=y.length;i<o;i++)if(a=y[i].layer.da(),null!==a&&(u=c(a).toString(),h=a.d,null!==h))for(n=0,r=h.length;n<r;n++)if(p=h[n],l=c(p).toString(),!(l in d)){if(s=e.usedTiles[u],t(s)){var m=kn(a,v);t:{f=p;var b=v;if(null===f.b)f=!0;else{var w=void 0,x=void 0,S=void 0,T=void 0;for(T in s)if(T in f.b)for(var M,S=s[T],w=0,x=f.b[T].length;w<x;++w){if(M=f.b[T][w],Jo(M,S)){f=!0;break t}var C=wn(m,parseInt(T,10),b),E=_o(C);if((S.b<C.b||S.d>C.d)&&(Jo(M,new Ko(ht(S.b,E),ht(S.d,E),S.c,S.a))||_o(S)>E&&Jo(M,C))){f=!0;break t}}f=!1}}}else f=!1;f?(l in g&&delete g[l],d[l]=p):g[l]=p}o=[d,g],i=o[0],o=o[1];for(var P in this.i)P in i?(this.f[P]||(Wi(this.i[P],!0),this.f[P]=!0),delete i[P]):P in o?(this.f[P]&&(Wi(this.i[P],!1),delete this.f[P]),delete o[P]):(wi(this.i[P]),delete this.i[P],delete this.f[P]);for(P in i)n=gi("LI"),n.innerHTML=i[P].a,this.p.appendChild(n),this.i[P]=n,this.f[P]=!0;for(P in o)n=gi("LI"),n.innerHTML=o[P].a,Wi(n,!1),this.p.appendChild(n),this.i[P]=n;P=!Q(this.f)||!Q(e.logos),this.n!=P&&(Wi(this.element,P),this.n=P),P&&Q(this.f)?Li(this.element,"ol-logo-only"):Ni(this.element,"ol-logo-only");var k;e=e.logos,P=this.N;for(k in P)k in e||(wi(P[k]),delete P[k]);for(var A in e)A in P||(k=new Image,k.src=A,i=e[A],""===i?i=k:(i=yi("A",{href:i}),i.appendChild(k)),this.o.appendChild(i),P[A]=i);Wi(this.o,!Q(e))}}function Nn(t){ji(t.element,"ol-collapsed"),t.d?xi(t.H,t.J):xi(t.J,t.H),t.d=!t.d}function jn(e){e=t(e)?e:{};var o=t(e.className)?e.className:"ol-rotate",i=t(e.label)?e.label:"⇧";this.d=null,p(i)?this.d=yi("SPAN","ol-compass",i):(this.d=i,Li(this.d,"ol-compass")),i=yi("BUTTON",{"class":o+"-reset",type:"button",title:t(e.tipLabel)?e.tipLabel:"Reset rotation"},this.d),qt(i,"click",jn.prototype.o,!1,this),qt(i,["mouseout",qm],function(){this.blur()},!1),o=yi("DIV",o+" ol-unselectable ol-control",i),Ji.call(this,{element:o,render:t(e.render)?e.render:In,target:e.target}),this.g=t(e.duration)?e.duration:250,this.f=!t(e.autoHide)||e.autoHide,this.i=void 0,this.f&&Li(this.element,"ol-hidden")}function In(t){if(t=t.frameState,null!==t){if(t=t.viewState.rotation,t!=this.i){var e="rotate("+180*t/Math.PI+"deg)";if(this.f){var o=this.element;0===t?Li(o,"ol-hidden"):Ni(o,"ol-hidden")}this.d.style.msTransform=e,this.d.style.webkitTransform=e,this.d.style.transform=e}this.i=t}}function Dn(e){e=t(e)?e:{};var o=t(e.className)?e.className:"ol-zoom",i=t(e.delta)?e.delta:1,n=t(e.zoomOutLabel)?e.zoomOutLabel:"−",r=t(e.zoomOutTipLabel)?e.zoomOutTipLabel:"Zoom out",s=yi("BUTTON",{"class":o+"-in",type:"button",title:t(e.zoomInTipLabel)?e.zoomInTipLabel:"Zoom in"},t(e.zoomInLabel)?e.zoomInLabel:"+");qt(s,"click",g(Dn.prototype.f,i),!1,this),qt(s,["mouseout",qm],function(){this.blur()},!1),n=yi("BUTTON",{"class":o+"-out",type:"button",title:r},n),qt(n,"click",g(Dn.prototype.f,-i),!1,this),qt(n,["mouseout",qm],function(){this.blur()},!1),o=yi("DIV",o+" ol-unselectable ol-control",s,n),Ji.call(this,{element:o,target:e.target}),this.d=t(e.duration)?e.duration:250}function Fn(e){e=t(e)?e:{};var o=new ei;return(t(e.zoom)?e.zoom:1)&&o.push(new Dn(e.zoomOptions)),(t(e.rotate)?e.rotate:1)&&o.push(new jn(e.rotateOptions)),(t(e.attribution)?e.attribution:1)&&o.push(new Rn(e.attributionOptions)),o}function On(){var t=hi().b,e=t.body;return!!(e.webkitRequestFullscreen||e.mozRequestFullScreen&&t.mozFullScreenEnabled||e.msRequestFullscreen&&t.msFullscreenEnabled||e.requestFullscreen&&t.fullscreenEnabled)}function Bn(t){t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.msRequestFullscreen?t.msRequestFullscreen():t.requestFullscreen&&t.requestFullscreen()}function Un(){var t=hi().b;return!!(t.webkitIsFullScreen||t.mozFullScreen||t.msFullscreenElement||t.fullscreenElement)}function Gn(e){e=t(e)?e:{},this.d=t(e.className)?e.className:"ol-full-screen";var o=t(e.label)?e.label:"↔";this.f=p(o)?document.createTextNode(String(o)):o,o=t(e.labelActive)?e.labelActive:"×",this.g=p(o)?document.createTextNode(String(o)):o,o=t(e.tipLabel)?e.tipLabel:"Toggle full-screen",o=yi("BUTTON",{"class":this.d+"-"+Un(),type:"button",title:o},this.f),qt(o,"click",this.n,!1,this),qt(o,["mouseout",qm],function(){this.blur()},!1),qt(sm.document,cb,this.i,!1,this);var i=this.d+" ol-unselectable ol-control "+(On()?"":"ol-unsupported"),o=yi("DIV",i,o);Ji.call(this,{element:o,target:e.target}),this.o=!!t(e.keys)&&e.keys}function qn(e){e=t(e)?e:{};var o=yi("DIV",t(e.className)?e.className:"ol-mouse-position");Ji.call(this,{element:o,render:t(e.render)?e.render:Hn,target:e.target}),qt(this,se("projection"),this.jl,!1,this),t(e.coordinateFormat)&&this.vh(e.coordinateFormat),t(e.projection)&&this.yg(xo(e.projection)),this.o=t(e.undefinedHTML)?e.undefinedHTML:"",this.i=o.innerHTML,this.g=this.f=this.d=null}function Hn(t){t=t.frameState,null===t?this.d=null:this.d!=t.viewState.projection&&(this.d=t.viewState.projection,this.f=null),$n(this,this.g)}function $n(e,o){var i=e.o;if(null!==o&&null!==e.d){if(null===e.f){var n=e.xg();e.f=t(n)?Mo(e.d,n):Co}n=e.a.ka(o),null!==n&&(e.f(n,n),i=e.Uf(),i=t(i)?i(n):n.toString())}t(e.i)&&i==e.i||(e.element.innerHTML=i,e.i=i)}function Xn(t,e,o){Tt.call(this),this.d=t,this.c=o,this.b=e||window,this.a=d(this.Pf,this)}function Wn(t){if(null!=t.$){var e=zn(t),o=Kn(t);e&&!o&&t.b.mozRequestAnimationFrame?zt(t.$):e&&o?o.call(t.b,t.$):t.b.clearTimeout(t.$)}t.$=null}function zn(t){return t=t.b,t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||null}function Kn(t){return t=t.b,t.cancelAnimationFrame||t.cancelRequestAnimationFrame||t.webkitCancelRequestAnimationFrame||t.mozCancelRequestAnimationFrame||t.oCancelRequestAnimationFrame||t.msCancelRequestAnimationFrame||null}function Vn(t){sm.setTimeout(function(){throw t},0)}function Yn(t,e){var o=t;e&&(o=d(t,e)),o=yb(o),!h(sm.setImmediate)||sm.Window&&sm.Window.prototype.setImmediate==sm.setImmediate?(fb||(fb=Zn()),fb(o)):sm.setImmediate(o)}function Zn(){var e=sm.MessageChannel;if("undefined"==typeof e&&"undefined"!=typeof window&&window.postMessage&&window.addEventListener&&(e=function(){var t=document.createElement("iframe");t.style.display="none",t.src="",document.documentElement.appendChild(t);var e=t.contentWindow,t=e.document;t.open(),t.write(""),t.close();var o="callImmediate"+Math.random(),i="file:"==e.location.protocol?"*":e.location.protocol+"//"+e.location.host,t=d(function(t){"*"!=i&&t.origin!=i||t.data!=o||this.port1.onmessage()},this);e.addEventListener("message",t,!1),this.port1={},this.port2={postMessage:function(){e.postMessage(o,i)}}}),"undefined"!=typeof e&&!X("Trident")&&!X("MSIE")){var o=new e,i={},n=i;return o.port1.onmessage=function(){if(t(i.next)){i=i.next;var e=i.Lf;i.Lf=null,e()}},function(t){n.next={Lf:t},n=n.next,o.port2.postMessage(0)}}return"undefined"!=typeof document&&"onreadystatechange"in document.createElement("script")?function(t){var e=document.createElement("script");e.onreadystatechange=function(){e.onreadystatechange=null,e.parentNode.removeChild(e),e=null,t(),t=null},document.documentElement.appendChild(e)}:function(t){sm.setTimeout(t,0)}}function _n(t){if("function"==typeof t.cb)return t.cb();if(p(t))return t.split("");if(a(t)){for(var e=[],o=t.length,i=0;i<o;i++)e.push(t[i]);return e}return V(t)}function Jn(t,e){if("function"==typeof t.forEach)t.forEach(e,void 0);else if(a(t)||p(t))E(t,e,void 0);else{var o;if("function"==typeof t.C)o=t.C();else if("function"!=typeof t.cb)if(a(t)||p(t)){o=[];for(var i=t.length,n=0;n<i;n++)o.push(n)}else o=Y(t);else o=void 0;for(var i=_n(t),n=i.length,r=0;r<n;r++)e.call(void 0,i[r],o&&o[r],t)}}function Qn(t,e){this.a={},this.b=[],this.c=0;var o=arguments.length;if(1<o){if(o%2)throw Error("Uneven number of arguments");for(var i=0;i<o;i+=2)this.set(arguments[i],arguments[i+1])}else if(t){t instanceof Qn?(o=t.C(),i=t.cb()):(o=Y(t),i=V(t));for(var n=0;n<o.length;n++)this.set(o[n],i[n])}}function tr(t){if(t.c!=t.b.length){for(var e=0,o=0;e<t.b.length;){var i=t.b[e];er(t.a,i)&&(t.b[o++]=i),e++}t.b.length=o}if(t.c!=t.b.length){for(var n={},o=e=0;e<t.b.length;)i=t.b[e],er(n,i)||(t.b[o++]=i,n[i]=1),e++;t.b.length=o}}function er(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function or(){this.b=lm()}function ir(t){Qt.call(this),this.pd=t||window,this.Md=qt(this.pd,"resize",this.ik,!1,this),this.Nd=fi(this.pd||window)}function nr(t,e,o,i,n){if(!(Cm||Pm&&pt("525")))return!0;if(km&&n)return rr(t);if(n&&!i)return!1;if(l(e)&&(e=sr(e)),!o&&(17==e||18==e||km&&91==e))return!1;if(Pm&&i&&o)switch(t){case 220:case 219:case 221:case 192:case 186:case 189:case 187:case 188:case 190:case 191:case 192:case 222:return!1}if(Cm&&i&&e==t)return!1;switch(t){case 13:return!0;case 27:return!Pm}return rr(t)}function rr(t){if(48<=t&&57>=t||96<=t&&106>=t||65<=t&&90>=t||Pm&&0==t)return!0;switch(t){case 32:case 63:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function sr(t){if(Em)t=ar(t);else if(km&&Pm)t:switch(t){case 93:t=91}return t}function ar(t){switch(t){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return t}}function pr(t,e){Qt.call(this),t&&lr(this,t,e)}function lr(t,e,o){t.Vd&&hr(t),t.Z=e,t.Ud=qt(t.Z,"keypress",t,o),t.Ye=qt(t.Z,"keydown",t.b,o,t),t.Vd=qt(t.Z,"keyup",t.a,o,t)}function hr(t){t.Ud&&(zt(t.Ud),zt(t.Ye),zt(t.Vd),t.Ud=null,t.Ye=null,t.Vd=null),t.Z=null,t.Ja=-1,t.Hb=-1}function ur(t,e,o,i){Rt.call(this,i),this.type="key",this.e=t,this.q=e}function cr(t,e){Qt.call(this);var o=this.Z=t;(o=u(o)&&1==o.nodeType?this.Z:this.Z?this.Z.body:null)&&Bi(o,"direction"),this.b=qt(this.Z,Em?"DOMMouseScroll":"mousewheel",this,e)}function fr(t,e){return Pm&&(km||Rm)&&0!=t%e?t:t/e}function yr(t,e,o,i){Rt.call(this,e),this.type="mousewheel",this.detail=t,this.o=i}function dr(e,o,i){Et.call(this,e),this.b=o,e=t(i)?i:{},this.buttons=gr(e),this.pressure=vr(e,this.buttons),this.bubbles=ot(e,"bubbles",!1),this.cancelable=ot(e,"cancelable",!1),this.view=ot(e,"view",null),this.detail=ot(e,"detail",null),this.screenX=ot(e,"screenX",0),this.screenY=ot(e,"screenY",0),this.clientX=ot(e,"clientX",0),this.clientY=ot(e,"clientY",0),this.button=ot(e,"button",0),this.relatedTarget=ot(e,"relatedTarget",null),this.pointerId=ot(e,"pointerId",0),this.width=ot(e,"width",0),this.height=ot(e,"height",0),this.pointerType=ot(e,"pointerType",""),this.isPrimary=ot(e,"isPrimary",!1),o.preventDefault&&(this.preventDefault=function(){o.preventDefault()})}function gr(t){if(t.buttons||bb)t=t.buttons;else switch(t.which){case 1:t=1;break;case 2:t=4;break;case 3:t=2;break;default:t=0}return t}function vr(t,e){var o=0;return o=t.pressure?t.pressure:e?.5:0}function mr(e,o){var i=gi("CANVAS");return t(e)&&(i.width=e),t(o)&&(i.height=o),i.getContext("2d")}function br(t,e){var o=t.style;o.WebkitTransform=e,o.MozTransform=e,o.b=e,o.msTransform=e,o.transform=e,Cm&&!Dm&&(t.style.transformOrigin="0 0")}function wr(e,o){var i;if(Mb()){if(t(6)){var n=Array(16);for(i=0;16>i;++i)n[i]=o[i].toFixed(6);i=n.join(",")}else i=o.join(",");br(e,"matrix3d("+i+")")}else if(Tb()){if(n=[o[0],o[1],o[4],o[5],o[12],o[13]],t(6)){var r=Array(6);for(i=0;6>i;++i)r[i]=n[i].toFixed(6);i=r.join(",")}else i=n.join(",");br(e,"matrix("+i+")")}else e.style.left=Math.round(o[12])+"px",e.style.top=Math.round(o[13])+"px"}function xr(t,e){var o,i,n=Cb.length;for(i=0;i<n;++i)try{if(o=t.getContext(Cb[i],e),null!==o)return o}catch(r){}return null}function Sr(t,e){this.b=t,this.e=e}function Tr(t){Sr.call(this,t,{mousedown:this.tk,mousemove:this.uk,mouseup:this.xk,mouseover:this.wk,mouseout:this.vk}),this.a=t.a,this.c=[]}function Mr(t,e){for(var o,i=t.c,n=e.clientX,r=e.clientY,s=0,a=i.length;s<a&&(o=i[s]);s++){var p=Math.abs(r-o[1]);if(25>=Math.abs(n-o[0])&&25>=p)return!0}return!1}function Cr(t){var e=Or(t,t.b),o=e.preventDefault;return e.preventDefault=function(){t.preventDefault(),o()},e.pointerId=1,e.isPrimary=!0,e.pointerType="mouse",e}function Er(t){Sr.call(this,t,{MSPointerDown:this.Ck,MSPointerMove:this.Dk,MSPointerUp:this.Gk,MSPointerOut:this.Ek,MSPointerOver:this.Fk,MSPointerCancel:this.Bk,MSGotPointerCapture:this.zk,MSLostPointerCapture:this.Ak}),this.a=t.a,this.c=["","unavailable","touch","pen","mouse"]}function Pr(t,e){var o=e;return l(e.b.pointerType)&&(o=Or(e,e.b),o.pointerType=t.c[e.b.pointerType]),o}function kr(t){Sr.call(this,t,{pointerdown:this.nn,pointermove:this.pn,pointerup:this.sn,pointerout:this.qn,pointerover:this.rn,pointercancel:this.mn,gotpointercapture:this.Fj,lostpointercapture:this.sk})}function Ar(t,e){Sr.call(this,t,{touchstart:this.so,touchmove:this.ro,touchend:this.qo,touchcancel:this.po}),this.a=t.a,this.g=e,this.c=void 0,this.f=0,this.d=void 0}function Rr(t,e,o){return e=Or(e,o),e.pointerId=o.identifier+2,e.bubbles=!0,e.cancelable=!0,e.detail=t.f,e.button=0,e.buttons=1,e.width=o.webkitRadiusX||o.radiusX||0,e.height=o.webkitRadiusY||o.radiusY||0,e.pressure=o.webkitForce||o.force||.5,e.isPrimary=t.c===o.identifier,e.pointerType="touch",e.clientX=o.clientX,e.clientY=o.clientY,e.screenX=o.screenX,e.screenY=o.screenY,e}function Lr(t,e,o){function i(){e.preventDefault()}var n,r,s=Array.prototype.slice.call(e.b.changedTouches),a=s.length;for(n=0;n<a;++n)r=Rr(t,e,s[n]),r.preventDefault=i,o.call(t,e,r)}function Nr(t,e){var o=t.g.c,i=e.b.changedTouches[0];if(t.c===i.identifier){var n=[i.clientX,i.clientY];o.push(n),sm.setTimeout(function(){j(o,n)},2500)}}function jr(t){Qt.call(this),this.Z=t,this.a={},this.c={},this.b=[],Nb?Ir(this,new kr(this)):jb?Ir(this,new Er(this)):(t=new Tr(this),Ir(this,t),Lb&&Ir(this,new Ar(this,t))),t=this.b.length;for(var e,o=0;o<t;o++)e=this.b[o],Dr(this,Y(e.e))}function Ir(t,e){var o=Y(e.e);o&&(E(o,function(t){var o=e.e[t];o&&(this.c[t]=d(o,e))},t),t.b.push(e))}function Dr(t,e){E(e,function(t){qt(this.Z,t,this.d,!1,this)},t)}function Fr(t,e){E(e,function(t){Wt(this.Z,t,this.d,!1,this)},t)}function Or(t,e){for(var o,i={},n=0,r=zb.length;n<r;n++)o=zb[n][0],i[o]=t[o]||e[o]||zb[n][1];return i}function Br(t,e,o){t.ec(e,o);var i=e.relatedTarget;null!==i&&Ti(e.target,i)||(e.bubbles=!1,Gr(t,Xb,e,o))}function Ur(t,e,o){e.bubbles=!0,Gr(t,qb,e,o);var i=e.relatedTarget;null!==i&&Ti(e.target,i)||(e.bubbles=!1,Gr(t,$b,e,o))}function Gr(t,e,o,i){t.dispatchEvent(new dr(e,i,o))}function qr(t,e){t.dispatchEvent(new dr(e.type,e,e.b))}function Hr(e,o,i,n,r){_i.call(this,e,o,r),this.b=i,this.originalEvent=i.b,this.pixel=o.Bd(this.originalEvent),this.coordinate=o.ka(this.pixel),this.dragging=!!t(n)&&n}function $r(t,e,o,i,n){Hr.call(this,t,e,o.b,i,n),this.a=o}function Xr(t){Qt.call(this),this.c=t,this.f=0,this.g=!1,this.a=this.i=this.d=null,t=this.c.a,this.o=0,this.l={},this.e=new jr(t),this.b=null,this.i=qt(this.e,Ub,this.dk,!1,this),this.q=qt(this.e,Bb,this.Kn,!1,this)}function Wr(t,e){var o;o=new $r(Vb,t.c,e),t.dispatchEvent(o),0!==t.f?(sm.clearTimeout(t.f),t.f=0,o=new $r(Yb,t.c,e),t.dispatchEvent(o)):t.f=sm.setTimeout(d(function(){this.f=0;var t=new $r(Kb,this.c,e);this.dispatchEvent(t)},t),250)}function zr(t,e){e.type==Qb||e.type==tw?delete t.l[e.pointerId]:e.type==Jb&&(t.l[e.pointerId]=!0),t.o=K(t.l)}function Kr(e){re.call(this);var o=nt(e);o.brightness=t(e.brightness)?e.brightness:0,o.contrast=t(e.contrast)?e.contrast:1,o.hue=t(e.hue)?e.hue:0,o.opacity=t(e.opacity)?e.opacity:1,o.saturation=t(e.saturation)?e.saturation:1,o.visible=!t(e.visible)||e.visible,o.maxResolution=t(e.maxResolution)?e.maxResolution:1/0,o.minResolution=t(e.minResolution)?e.minResolution:0,this.t(o)}function Vr(t){var e=t.Bb(),o=t.Cb(),i=t.Db(),n=t.Kb(),r=t.Gb(),s=t.We(),a=t.eb(),p=t.G(),l=t.Eb(),h=t.Fb();return{layer:t,brightness:lt(e,-1,1),contrast:Math.max(o,0),hue:i,opacity:lt(n,0,1),saturation:Math.max(r,0),i:s,visible:a,extent:p,maxResolution:l,minResolution:Math.max(h,0)}}function Yr(e){var o=nt(e);delete o.source,Kr.call(this,o),this.f=null,qt(this,se("source"),this.kk,!1,this),this.Jc(t(e.source)?e.source:null)}function Zr(t,e){return t.visible&&e>=t.minResolution&&e<t.maxResolution}function _r(t,e,o,i,n){Qt.call(this),this.f=n,this.extent=t,this.e=o,this.resolution=e,this.state=i}function Jr(t,e,o,i,n,r,s,a){return Pe(t),0===e&&0===o||Re(t,e,o),1==i&&1==n||Le(t,i,n),0!==r&&Ne(t,r),0===s&&0===a||Re(t,s,a),t}function Qr(t,e){return t[0]==e[0]&&t[1]==e[1]&&t[4]==e[4]&&t[5]==e[5]&&t[12]==e[12]&&t[13]==e[13]}function ts(t,e,o){var i=t[1],n=t[5],r=t[13],s=e[0];return e=e[1],o[0]=t[0]*s+t[4]*e+t[12],o[1]=i*s+n*e+r,o}function es(t){oe.call(this),this.a=t}function os(t,e){var o=e.state;return 2!=o&&3!=o&&qt(e,"change",t.Ol,!1,t),0==o&&(e.load(),o=e.state),2==o}function is(t){var e=t.a;e.eb()&&"ready"==e.We()&&t.k()}function ns(t,e){on(e.a)&&t.postRenderFunctions.push(g(function(t,e,o){e=c(t).toString(),t=t.a,o=o.usedTiles[e];for(var i;on(t)&&(e=t.b.qc,i=e.b[0].toString(),!(i in o&&o[i].contains(e.b)));)t.pop().Yc()},e))}function rs(t,e){if(null!=e){var o,i,n;for(i=0,n=e.length;i<n;++i)o=e[i],t[c(o).toString()]=o}}function ss(e,o){var i=o.L;t(i)&&(p(i)?e.logos[i]="":u(i)&&(e.logos[i.src]=i.href))}function as(t,e,o,i){e=c(e).toString(),o=o.toString(),e in t?o in t[e]?(t=t[e][o],i.b<t.b&&(t.b=i.b),i.d>t.d&&(t.d=i.d),i.c<t.c&&(t.c=i.c),i.a>t.a&&(t.a=i.a)):t[e][o]=i:(t[e]={},t[e][o]=i)}function ps(t,e,o){return[e*(Math.round(t[0]/e)+o[0]%2/2),e*(Math.round(t[1]/e)+o[1]%2/2)]}function ls(e,o,i,n,r,s,a,p,l,h){var u=c(o).toString();u in e.wantedTiles||(e.wantedTiles[u]={});var f=e.wantedTiles[u];e=e.tileQueue;var y,d,g,v,m,b,w=i.minZoom;for(b=a;b>=w;--b)for(d=gn(i,s,b,d),g=i.ma(b),v=d.b;v<=d.d;++v)for(m=d.c;m<=d.a;++m)a-b<=p?(y=o.Vb(b,v,m,n,r),0==y.state&&(f[zo(y.b)]=!0,y.gb()in e.c||xs(e,[y,u,vn(i,y.b),g])),t(l)&&l.call(h,y)):o.yf(b,v,m)}function hs(t){this.U=t.opacity,this.V=t.rotateWithView,this.q=t.rotation,this.l=t.scale,this.n=t.snapToPixel}function us(e){e=t(e)?e:{},this.e=t(e.anchor)?e.anchor:[.5,.5],this.d=null,this.a=t(e.anchorOrigin)?e.anchorOrigin:"top-left",this.g=t(e.anchorXUnits)?e.anchorXUnits:"fraction",this.i=t(e.anchorYUnits)?e.anchorYUnits:"fraction";var o=t(e.crossOrigin)?e.crossOrigin:null,i=t(e.img)?e.img:null,n=t(e.imgSize)?e.imgSize:null,r=e.src;t(r)&&0!==r.length||null===i||(r=i.src);var s=t(e.src)?0:2,a=fs.Ia(),p=a.get(r,o);null===p&&(p=new cs(i,r,n,o,s),a.set(r,o,p)),this.b=p,this.p=t(e.offset)?e.offset:[0,0],this.c=t(e.offsetOrigin)?e.offsetOrigin:"top-left",this.f=null,this.o=t(e.size)?e.size:null,hs.call(this,{opacity:t(e.opacity)?e.opacity:1,rotation:t(e.rotation)?e.rotation:0,scale:t(e.scale)?e.scale:1,snapToPixel:!t(e.snapToPixel)||e.snapToPixel,rotateWithView:!!t(e.rotateWithView)&&e.rotateWithView})}function cs(t,e,o,i,n){Qt.call(this),this.e=null,this.b=null===t?new Image:t,null!==i&&(this.b.crossOrigin=i),this.d=null,this.c=n,this.a=o,this.f=e,this.i=!1}function fs(){this.b={},this.a=0}function ys(t,e){Tt.call(this),this.g=e,this.c=null,this.f={},this.o={}}function ds(t){var e=t.viewState,o=t.coordinateToPixelMatrix;Jr(o,t.size[0]/2,t.size[1]/2,1/e.resolution,-1/e.resolution,-e.rotation,-e.center[0],-e.center[1]),Ae(o,t.pixelToCoordinateMatrix)}function gs(){var t=fs.Ia();if(32<t.a){var e,o,i=0;for(e in t.b){o=t.b[e];var n;(n=0===(3&i++))&&(jt(o)?o=ee(o,void 0,void 0):(o=_t(o),o=!!o&&Ut(o,void 0,void 0)),n=!o),n&&(delete t.b[e],--t.a)}}}function vs(t,e){var o=c(e).toString();if(o in t.f)return t.f[o];var i=t.Ke(e);return t.f[o]=i,t.o[o]=qt(i,"change",t.Tj,!1,t),i}function ms(t,e){for(var o in t.f)if(!(o in e.layerStates)){e.postRenderFunctions.push(d(t.Pn,t));break}}function bs(t,e){this.g=t,this.e=e,this.b=[],this.a=[],this.c={}}function ws(t){var e=t.b,o=t.a,i=e[0];return 1==e.length?(e.length=0,o.length=0):(e[0]=e.pop(),o[0]=o.pop(),Ss(t,0)),e=t.e(i),delete t.c[e],i}function xs(t,e){var o=t.g(e);1/0!=o&&(t.b.push(e),t.a.push(o),t.c[t.e(e)]=!0, +Ts(t,0,t.b.length-1))}function Ss(t,e){for(var o=t.b,i=t.a,n=o.length,r=o[e],s=i[e],a=e;e<n>>1;){var p=2*e+1,l=2*e+2,p=l<n&&i[l]<i[p]?l:p;o[e]=o[p],i[e]=i[p],e=p}o[e]=r,i[e]=s,Ts(t,a,e)}function Ts(t,e,o){var i=t.b;t=t.a;for(var n=i[o],r=t[o];o>e;){var s=o-1>>1;if(!(t[s]>r))break;i[o]=i[s],t[o]=t[s],o=s}i[o]=n,t[o]=r}function Ms(t){var e,o,i,n=t.g,r=t.b,s=t.a,a=0,p=r.length;for(o=0;o<p;++o)e=r[o],i=n(e),1/0==i?delete t.c[t.e(e)]:(s[a]=i,r[a++]=e);for(r.length=a,s.length=a,n=(t.b.length>>1)-1;0<=n;n--)Ss(t,n)}function Cs(t,e){bs.call(this,function(e){return t.apply(null,e)},function(t){return t[0].gb()}),this.i=e,this.d=0}function Es(t,e,o){this.d=t,this.c=e,this.f=o,this.b=[],this.a=this.e=0}function Ps(t,e){var o=t.d,i=t.a,n=t.c-i,r=ks(t);return Go({source:e,duration:r,easing:function(t){return i*(Math.exp(o*t*r)-1)/n}})}function ks(t){return Math.log(t.c/t.a)/t.d}function As(t){re.call(this),this.l=null,this.d(!0),this.handleEvent=t.handleEvent}function Rs(e,o,i,n,r){if(null!=i){var s=o.Da(),a=o.Ca();t(s)&&t(a)&&t(r)&&0<r&&(e.Ha(qo({rotation:s,duration:r,easing:Fo})),t(n)&&e.Ha(Go({source:a,duration:r,easing:Fo}))),o.rotate(i,n)}}function Ls(t,e,o,i,n){var r=e.ya();o=e.constrainResolution(r,o,0),Ns(t,e,o,i,n)}function Ns(e,o,i,n,r){if(null!=i){var s=o.ya(),a=o.Ca();if(t(s)&&t(a)&&t(r)&&0<r&&(e.Ha(Ho({resolution:s,duration:r,easing:Fo})),t(n)&&e.Ha(Go({source:a,duration:r,easing:Fo}))),null!=n){var p;e=o.Ca(),r=o.ya(),t(e)&&t(r)&&(p=[n[0]-i*(n[0]-e[0])/r,n[1]-i*(n[1]-e[1])/r]),o.Na(p)}o.tb(i)}}function js(e){e=t(e)?e:{},this.a=t(e.delta)?e.delta:1,As.call(this,{handleEvent:Is}),this.e=t(e.duration)?e.duration:250}function Is(t){var e=!1,o=t.b;if(t.type==Yb){var e=t.map,i=t.coordinate,o=o.d?-this.a:this.a,n=e.R();Ls(e,n,o,i,this.e),t.preventDefault(),e=!0}return!e}function Ds(t){return t=t.b,t.a&&!t.g&&t.d}function Fs(t){return"pointermove"==t.type}function Os(t){return t.type==Kb}function Bs(t){return t=t.b,!t.a&&!t.g&&!t.d}function Us(t){return t=t.b,!t.a&&!t.g&&t.d}function Gs(t){return t=t.b.target.tagName,"INPUT"!==t&&"SELECT"!==t&&"TEXTAREA"!==t}function qs(t){return 1==t.a.pointerId}function Hs(e){e=t(e)?e:{},As.call(this,{handleEvent:t(e.handleEvent)?e.handleEvent:Xs}),this.vb=t(e.handleDownEvent)?e.handleDownEvent:pb,this.wb=t(e.handleDragEvent)?e.handleDragEvent:o,this.xb=t(e.handleMoveEvent)?e.handleMoveEvent:o,this.sc=t(e.handleUpEvent)?e.handleUpEvent:pb,this.o=!1,this.J={},this.e=[]}function $s(t){for(var e=t.length,o=0,i=0,n=0;n<e;n++)o+=t[n].clientX,i+=t[n].clientY;return[o/e,i/e]}function Xs(t){if(!(t instanceof $r))return!0;var e=!1,o=t.type;return o!==Jb&&o!==Zb&&o!==Qb||(o=t.a,t.type==Qb?delete this.J[o.pointerId]:t.type==Jb?this.J[o.pointerId]=o:o.pointerId in this.J&&(this.J[o.pointerId]=o),this.e=V(this.J)),this.o&&(t.type==Zb?this.wb(t):t.type==Qb&&(this.o=this.sc(t))),t.type==Jb?(this.o=t=this.vb(t),e=this.nc(t)):t.type==_b&&this.xb(t),!e}function Ws(e){Hs.call(this,{handleDownEvent:Vs,handleDragEvent:zs,handleUpEvent:Ks}),e=t(e)?e:{},this.a=e.kinetic,this.f=this.g=null,this.n=t(e.condition)?e.condition:Bs,this.i=!1}function zs(t){var e=$s(this.e);if(this.a&&this.a.update(e[0],e[1]),null!==this.f){var o=this.f[0]-e[0],i=e[1]-this.f[1];t=t.map;var n=t.R(),r=jo(n),i=o=[o,i],s=r.resolution;i[0]*=s,i[1]*=s,ge(o,r.rotation),ue(o,r.center),o=n.xd(o),t.render(),n.Na(o)}this.f=e}function Ks(t){t=t.map;var e=t.R();if(0===this.e.length){var o;if(o=!this.i&&this.a)if(o=this.a,6>o.b.length)o=!1;else{var i=lm()-o.f,n=o.b.length-3;if(o.b[n+2]<i)o=!1;else{for(var r=n-3;0<r&&o.b[r+2]>i;)r-=3;var i=o.b[n+2]-o.b[r+2],s=o.b[n]-o.b[r],n=o.b[n+1]-o.b[r+1];o.e=Math.atan2(n,s),o.a=Math.sqrt(s*s+n*n)/i,o=o.a>o.c}}return o&&(o=this.a,o=(o.c-o.a)/o.d,n=this.a.e,r=e.Ca(),this.g=Ps(this.a,r),t.Ha(this.g),r=t.ta(r),o=t.ka([r[0]-o*Math.cos(n),r[1]-o*Math.sin(n)]),o=e.xd(o),e.Na(o)),Do(e,-1),t.render(),!1}return this.f=null,!0}function Vs(t){if(0<this.e.length&&this.n(t)){var e=t.map,o=e.R();return this.f=null,this.o||Do(o,1),e.render(),null!==this.g&&j(e.H,this.g)&&(o.Na(t.frameState.viewState.center),this.g=null),this.a&&(t=this.a,t.b.length=0,t.e=0,t.a=0),this.i=1<this.e.length,!0}return!1}function Ys(e){e=t(e)?e:{},Hs.call(this,{handleDownEvent:Js,handleDragEvent:Zs,handleUpEvent:_s}),this.f=t(e.condition)?e.condition:Ds,this.a=void 0,this.g=t(e.duration)?e.duration:250}function Zs(e){if(qs(e)){var o=e.map,i=o.xa();if(e=e.pixel,i=Math.atan2(i[1]/2-e[1],e[0]-i[0]/2),t(this.a)){e=i-this.a;var n=o.R(),r=n.Da();o.render(),Rs(o,n,r-e)}this.a=i}}function _s(t){if(!qs(t))return!0;t=t.map;var e=t.R();Do(e,-1);var o=e.Da(),i=this.g,o=e.constrainRotation(o,0);return Rs(t,e,o,void 0,i),!1}function Js(t){return!!(qs(t)&&Nt(t.b)&&this.f(t))&&(t=t.map,Do(t.R(),1),t.render(),this.a=void 0,!0)}function Qs(){re.call(this),this.o=qe(),this.n=-1,this.f={},this.l=this.g=0}function ta(e,o,i,n,r,s){var a=r[0],p=r[1],l=r[4],h=r[5],u=r[12];r=r[13];for(var c=t(s)?s:[],f=0;o<i;o+=n){var y=e[o],d=e[o+1];c[f++]=a*y+l*d+u,c[f++]=p*y+h*d+r}return t(s)&&c.length!=f&&(c.length=f),c}function ea(){Qs.call(this),this.a="XY",this.s=2,this.j=null}function oa(t){return"XY"==t?2:"XYZ"==t||"XYM"==t?3:"XYZM"==t?4:void 0}function ia(t,e,o){t.s=oa(e),t.a=e,t.j=o}function na(e,o,i,n){if(t(o))i=oa(o);else{for(o=0;o<n;++o){if(0===i.length)return e.a="XY",void(e.s=2);i=i[0]}i=i.length,o=2==i?"XY":3==i?"XYZ":4==i?"XYZM":void 0}e.a=o,e.s=i}function ra(t,e,o,i){for(var n=0,r=t[o-i],s=t[o-i+1];e<o;e+=i)var a=t[e],p=t[e+1],n=n+(s*a-r*p),r=a,s=p;return n/2}function sa(t,e,o,i){var n,r,s=0;for(n=0,r=o.length;n<r;++n){var a=o[n],s=s+ra(t,e,a,i);e=a}return s}function aa(t,e,o,i,n,r){var s=n-o,a=r-i;if(0!==s||0!==a){var p=((t-o)*s+(e-i)*a)/(s*s+a*a);1<p?(o=n,i=r):0<p&&(o+=s*p,i+=a*p)}return pa(t,e,o,i)}function pa(t,e,o,i){return t=o-t,e=i-e,t*t+e*e}function la(t,e,o,i,n,r,s){var a=t[e],p=t[e+1],l=t[o]-a,h=t[o+1]-p;if(0!==l||0!==h)if(r=((n-a)*l+(r-p)*h)/(l*l+h*h),1<r)e=o;else if(0<r){for(n=0;n<i;++n)s[n]=ut(t[e+n],t[o+n],r);return void(s.length=i)}for(n=0;n<i;++n)s[n]=t[e+n];s.length=i}function ha(t,e,o,i,n){var r=t[e],s=t[e+1];for(e+=i;e<o;e+=i){var a=t[e],p=t[e+1],r=pa(r,s,a,p);r>n&&(n=r),r=a,s=p}return n}function ua(t,e,o,i,n){var r,s;for(r=0,s=o.length;r<s;++r){var a=o[r];n=ha(t,e,a,i,n),e=a}return n}function ca(e,o,i,n,r,s,a,p,l,h,u){if(o==i)return h;var c;if(0===r){if(c=pa(a,p,e[o],e[o+1]),c<h){for(u=0;u<n;++u)l[u]=e[o+u];return l.length=n,c}return h}for(var f=t(u)?u:[NaN,NaN],y=o+n;y<i;)if(la(e,y-n,y,n,a,p,f),c=pa(a,p,f[0],f[1]),c<h){for(h=c,u=0;u<n;++u)l[u]=f[u];l.length=n,y+=n}else y+=n*Math.max((Math.sqrt(c)-Math.sqrt(h))/r|0,1);if(s&&(la(e,i-n,o,n,a,p,f),c=pa(a,p,f[0],f[1]),c<h)){for(h=c,u=0;u<n;++u)l[u]=f[u];l.length=n}return h}function fa(e,o,i,n,r,s,a,p,l,h,u){u=t(u)?u:[NaN,NaN];var c,f;for(c=0,f=i.length;c<f;++c){var y=i[c];h=ca(e,o,y,n,r,s,a,p,l,h,u),o=y}return h}function ya(t,e){var o,i,n=0;for(o=0,i=e.length;o<i;++o)t[n++]=e[o];return n}function da(t,e,o,i){var n,r;for(n=0,r=o.length;n<r;++n){var s,a=o[n];for(s=0;s<i;++s)t[e++]=a[s]}return e}function ga(e,o,i,n,r){r=t(r)?r:[];var s,a,p=0;for(s=0,a=i.length;s<a;++s)o=da(e,o,i[s],n),r[p++]=o;return r.length=p,r}function va(e,o,i,n,r){r=t(r)?r:[];for(var s=0;o<i;o+=n)r[s++]=e.slice(o,o+n);return r.length=s,r}function ma(e,o,i,n,r){r=t(r)?r:[];var s,a,p=0;for(s=0,a=i.length;s<a;++s){var l=i[s];r[p++]=va(e,o,l,n,r[p]),o=l}return r.length=p,r}function ba(t,e,o,i,n,r,s){var a=(o-e)/i;if(3>a){for(;e<o;e+=i)r[s++]=t[e],r[s++]=t[e+1];return s}var p=Array(a);p[0]=1,p[a-1]=1,o=[e,o-i];for(var l,h=0;0<o.length;){var u=o.pop(),c=o.pop(),f=0,y=t[c],d=t[c+1],g=t[u],v=t[u+1];for(l=c+i;l<u;l+=i){var m=aa(t[l],t[l+1],y,d,g,v);m>f&&(h=l,f=m)}f>n&&(p[(h-e)/i]=1,c+i<h&&o.push(c,h),h+i<u&&o.push(h,u))}for(l=0;l<a;++l)p[l]&&(r[s++]=t[e+l*i],r[s++]=t[e+l*i+1]);return s}function wa(t,e,o,i,n,r,s,a){var p,l;for(p=0,l=o.length;p<l;++p){var h=o[p];t:{var u=t,c=h,f=i,y=n,d=r;if(e!=c){var g=y*Math.round(u[e]/y),v=y*Math.round(u[e+1]/y);e+=f,d[s++]=g,d[s++]=v;var m=void 0,b=void 0;do if(m=y*Math.round(u[e]/y),b=y*Math.round(u[e+1]/y),e+=f,e==c){d[s++]=m,d[s++]=b;break t}while(m==g&&b==v);for(;e<c;){var w,x;if(w=y*Math.round(u[e]/y),x=y*Math.round(u[e+1]/y),e+=f,w!=m||x!=b){var S=m-g,T=b-v,M=w-g,C=x-v;S*C==T*M&&(0>S&&M<S||S==M||0<S&&M>S)&&(0>T&&C<T||T==C||0<T&&C>T)||(d[s++]=m,d[s++]=b,g=m,v=b),m=w,b=x}}d[s++]=m,d[s++]=b}}a.push(s),e=h}return s}function xa(t,e){ea.call(this),this.c=this.i=-1,this.W(t,e)}function Sa(t,e,o){ia(t,e,o),t.k()}function Ta(t,e){ea.call(this),this.W(t,e)}function Ma(t,e,o){ia(t,e,o),t.k()}function Ca(t,e,o,i,n){return!Ve(n,function(n){return!Ea(t,e,o,i,n[0],n[1])})}function Ea(t,e,o,i,n,r){for(var s=!1,a=t[o-i],p=t[o-i+1];e<o;e+=i){var l=t[e],h=t[e+1];p>r!=h>r&&n<(l-a)*(r-p)/(h-p)+a&&(s=!s),a=l,p=h}return s}function Pa(t,e,o,i,n,r){if(0===o.length||!Ea(t,e,o[0],i,n,r))return!1;var s;for(e=1,s=o.length;e<s;++e)if(Ea(t,o[e-1],o[e],i,n,r))return!1;return!0}function ka(e,o,i,n,r,s,a){var p,l,h,u,c,f=r[s+1],y=[],d=i[0];for(h=e[d-n],c=e[d-n+1],p=o;p<d;p+=n)u=e[p],l=e[p+1],(f<=c&&l<=f||c<=f&&f<=l)&&(h=(f-c)/(l-c)*(u-h)+h,y.push(h)),h=u,c=l;for(d=NaN,c=-(1/0),y.sort(),h=y[0],p=1,l=y.length;p<l;++p){u=y[p];var g=Math.abs(u-h);g>c&&(h=(h+u)/2,Pa(e,o,i,n,h,f)&&(d=h,c=g)),h=u}return isNaN(d)&&(d=r[s]),t(a)?(a.push(d,f),a):[d,f]}function Aa(t,e,o,i,n,r){for(var s,a=[t[e],t[e+1]],p=[];e+i<o;e+=i){if(p[0]=t[e+i],p[1]=t[e+i+1],s=n.call(r,a,p))return s;a[0]=p[0],a[1]=p[1]}return!1}function Ra(t,e,o,i,n){var r=Ke(qe(),t,e,o,i);return!!ro(n,r)&&(!!(Be(n,r)||r[0]>=n[0]&&r[2]<=n[2]||r[1]>=n[1]&&r[3]<=n[3])||Aa(t,e,o,i,function(t,e){var o=!1,i=Ge(n,t),r=Ge(n,e);if(1===i||1===r)o=!0;else{var s=n[0],a=n[1],p=n[2],l=n[3],h=e[0],u=e[1],c=(u-t[1])/(h-t[0]);2&r&&!(2&i)&&(o=h-(u-l)/c,o=o>=s&&o<=p),o||!(4&r)||4&i||(o=u-(h-p)*c,o=o>=a&&o<=l),o||!(8&r)||8&i||(o=h-(u-a)/c,o=o>=s&&o<=p),o||!(16&r)||16&i||(o=u-(h-s)*c,o=o>=a&&o<=l)}return o}))}function La(t,e,o,i,n){var r=o[0];if(!(Ra(t,e,r,i,n)||Ea(t,e,r,i,n[0],n[1])||Ea(t,e,r,i,n[0],n[3])||Ea(t,e,r,i,n[2],n[1])||Ea(t,e,r,i,n[2],n[3])))return!1;if(1===o.length)return!0;for(e=1,r=o.length;e<r;++e)if(Ca(t,o[e-1],o[e],i,n))return!1;return!0}function Na(t,e,o,i){for(var n=0,r=t[o-i],s=t[o-i+1];e<o;e+=i)var a=t[e],p=t[e+1],n=n+(a-r)*(p+s),r=a,s=p;return 0<n}function ja(e,o,i,n){var r=0;n=!!t(n)&&n;var s,a;for(s=0,a=o.length;s<a;++s){var p=o[s],r=Na(e,r,p,i);if(0===s){if(n&&r||!n&&!r)return!1}else if(n&&!r||!n&&r)return!1;r=p}return!0}function Ia(e,o,i,n,r){r=!!t(r)&&r;var s,a;for(s=0,a=i.length;s<a;++s){var p=i[s],l=Na(e,o,p,n);if(0===s?r&&l||!r&&!l:r&&!l||!r&&l)for(var l=e,h=p,u=n;o<h-u;){var c;for(c=0;c<u;++c){var f=l[o+c];l[o+c]=l[h-u+c],l[h-u+c]=f}o+=u,h-=u}o=p}return o}function Da(t,e,o,i){var n,r,s=0;for(n=0,r=e.length;n<r;++n)s=Ia(t,s,e[n],o,i);return s}function Fa(t,e){ea.call(this),this.c=[],this.p=-1,this.H=null,this.N=this.J=this.L=-1,this.i=null,this.W(t,e)}function Oa(t){if(t.p!=t.b){var e=_e(t.G());t.H=ka(Ba(t),0,t.c,t.s,e,0),t.p=t.b}return t.H}function Ba(t){if(t.N!=t.b){var e=t.j;ja(e,t.c,t.s)?t.i=e:(t.i=e.slice(),t.i.length=Ia(t.i,0,t.c,t.s)),t.N=t.b}return t.i}function Ua(t,e,o,i){ia(t,e,o),t.c=i,t.k()}function Ga(e,o,i,n){var r=t(n)?n:32;n=[];var s;for(s=0;s<r;++s)F(n,e.offset(o,i,2*Math.PI*s/r));return n.push(n[0],n[1]),e=new Fa(null),Ua(e,"XY",n,[n.length]),e}function qa(){}function Ha(t,e,o,i,n,r,s){Et.call(this,t,e),this.vectorContext=o,this.b=i,this.frameState=n,this.context=r,this.glContext=s}function $a(t){this.c=this.a=this.e=this.d=this.b=null,this.f=t}function Xa(t){var e=t.e,o=t.a;return t=k([e,[e[0],o[1]],o,[o[0],e[1]]],t.b.ka,t.b),t[4]=t[0].slice(),new Fa([t])}function Wa(t){null===t.b||null===t.e||null===t.a||t.b.render()}function za(t,e){Et.call(this,t),this.coordinate=e}function Ka(e){Hs.call(this,{handleDownEvent:Za,handleDragEvent:Va,handleUpEvent:Ya}),e=t(e)?e:{},this.f=new $a(t(e.style)?e.style:null),this.a=null,this.i=t(e.condition)?e.condition:lb}function Va(t){if(qs(t)){var e=this.f;t=t.pixel,e.e=this.a,e.a=t,e.c=Xa(e),Wa(e)}}function Ya(t){if(!qs(t))return!0;this.f.setMap(null);var e=t.pixel[0]-this.a[0],o=t.pixel[1]-this.a[1];return 64<=e*e+o*o&&(this.g(t),this.dispatchEvent(new za("boxend",t.coordinate))),!1}function Za(t){if(qs(t)&&Nt(t.b)&&this.i(t)){this.a=t.pixel,this.f.setMap(t.map);var e=this.f,o=this.a;return e.e=this.a,e.a=o,e.c=Xa(e),Wa(e),this.dispatchEvent(new za("boxstart",t.coordinate)),!0}return!1}function _a(){this.a=-1}function Ja(){this.a=-1,this.a=64,this.b=Array(4),this.e=Array(this.a),this.d=this.c=0,this.b[0]=1732584193,this.b[1]=4023233417,this.b[2]=2562383102,this.b[3]=271733878,this.d=this.c=0}function Qa(t,e,o){o||(o=0);var i=Array(16);if(p(e))for(var n=0;16>n;++n)i[n]=e.charCodeAt(o++)|e.charCodeAt(o++)<<8|e.charCodeAt(o++)<<16|e.charCodeAt(o++)<<24;else for(n=0;16>n;++n)i[n]=e[o++]|e[o++]<<8|e[o++]<<16|e[o++]<<24;e=t.b[0],o=t.b[1];var n=t.b[2],r=t.b[3],s=0,s=e+(r^o&(n^r))+i[0]+3614090360&4294967295;e=o+(s<<7&4294967295|s>>>25),s=r+(n^e&(o^n))+i[1]+3905402710&4294967295,r=e+(s<<12&4294967295|s>>>20),s=n+(o^r&(e^o))+i[2]+606105819&4294967295,n=r+(s<<17&4294967295|s>>>15),s=o+(e^n&(r^e))+i[3]+3250441966&4294967295,o=n+(s<<22&4294967295|s>>>10),s=e+(r^o&(n^r))+i[4]+4118548399&4294967295,e=o+(s<<7&4294967295|s>>>25),s=r+(n^e&(o^n))+i[5]+1200080426&4294967295,r=e+(s<<12&4294967295|s>>>20),s=n+(o^r&(e^o))+i[6]+2821735955&4294967295,n=r+(s<<17&4294967295|s>>>15),s=o+(e^n&(r^e))+i[7]+4249261313&4294967295,o=n+(s<<22&4294967295|s>>>10),s=e+(r^o&(n^r))+i[8]+1770035416&4294967295,e=o+(s<<7&4294967295|s>>>25),s=r+(n^e&(o^n))+i[9]+2336552879&4294967295,r=e+(s<<12&4294967295|s>>>20),s=n+(o^r&(e^o))+i[10]+4294925233&4294967295,n=r+(s<<17&4294967295|s>>>15),s=o+(e^n&(r^e))+i[11]+2304563134&4294967295,o=n+(s<<22&4294967295|s>>>10),s=e+(r^o&(n^r))+i[12]+1804603682&4294967295,e=o+(s<<7&4294967295|s>>>25),s=r+(n^e&(o^n))+i[13]+4254626195&4294967295,r=e+(s<<12&4294967295|s>>>20),s=n+(o^r&(e^o))+i[14]+2792965006&4294967295,n=r+(s<<17&4294967295|s>>>15),s=o+(e^n&(r^e))+i[15]+1236535329&4294967295,o=n+(s<<22&4294967295|s>>>10),s=e+(n^r&(o^n))+i[1]+4129170786&4294967295,e=o+(s<<5&4294967295|s>>>27),s=r+(o^n&(e^o))+i[6]+3225465664&4294967295,r=e+(s<<9&4294967295|s>>>23),s=n+(e^o&(r^e))+i[11]+643717713&4294967295,n=r+(s<<14&4294967295|s>>>18),s=o+(r^e&(n^r))+i[0]+3921069994&4294967295,o=n+(s<<20&4294967295|s>>>12),s=e+(n^r&(o^n))+i[5]+3593408605&4294967295,e=o+(s<<5&4294967295|s>>>27),s=r+(o^n&(e^o))+i[10]+38016083&4294967295,r=e+(s<<9&4294967295|s>>>23),s=n+(e^o&(r^e))+i[15]+3634488961&4294967295,n=r+(s<<14&4294967295|s>>>18),s=o+(r^e&(n^r))+i[4]+3889429448&4294967295,o=n+(s<<20&4294967295|s>>>12),s=e+(n^r&(o^n))+i[9]+568446438&4294967295,e=o+(s<<5&4294967295|s>>>27),s=r+(o^n&(e^o))+i[14]+3275163606&4294967295,r=e+(s<<9&4294967295|s>>>23),s=n+(e^o&(r^e))+i[3]+4107603335&4294967295,n=r+(s<<14&4294967295|s>>>18),s=o+(r^e&(n^r))+i[8]+1163531501&4294967295,o=n+(s<<20&4294967295|s>>>12),s=e+(n^r&(o^n))+i[13]+2850285829&4294967295,e=o+(s<<5&4294967295|s>>>27),s=r+(o^n&(e^o))+i[2]+4243563512&4294967295,r=e+(s<<9&4294967295|s>>>23),s=n+(e^o&(r^e))+i[7]+1735328473&4294967295,n=r+(s<<14&4294967295|s>>>18),s=o+(r^e&(n^r))+i[12]+2368359562&4294967295,o=n+(s<<20&4294967295|s>>>12),s=e+(o^n^r)+i[5]+4294588738&4294967295,e=o+(s<<4&4294967295|s>>>28),s=r+(e^o^n)+i[8]+2272392833&4294967295,r=e+(s<<11&4294967295|s>>>21),s=n+(r^e^o)+i[11]+1839030562&4294967295,n=r+(s<<16&4294967295|s>>>16),s=o+(n^r^e)+i[14]+4259657740&4294967295,o=n+(s<<23&4294967295|s>>>9),s=e+(o^n^r)+i[1]+2763975236&4294967295,e=o+(s<<4&4294967295|s>>>28),s=r+(e^o^n)+i[4]+1272893353&4294967295,r=e+(s<<11&4294967295|s>>>21),s=n+(r^e^o)+i[7]+4139469664&4294967295,n=r+(s<<16&4294967295|s>>>16),s=o+(n^r^e)+i[10]+3200236656&4294967295,o=n+(s<<23&4294967295|s>>>9),s=e+(o^n^r)+i[13]+681279174&4294967295,e=o+(s<<4&4294967295|s>>>28),s=r+(e^o^n)+i[0]+3936430074&4294967295,r=e+(s<<11&4294967295|s>>>21),s=n+(r^e^o)+i[3]+3572445317&4294967295,n=r+(s<<16&4294967295|s>>>16),s=o+(n^r^e)+i[6]+76029189&4294967295,o=n+(s<<23&4294967295|s>>>9),s=e+(o^n^r)+i[9]+3654602809&4294967295,e=o+(s<<4&4294967295|s>>>28),s=r+(e^o^n)+i[12]+3873151461&4294967295,r=e+(s<<11&4294967295|s>>>21),s=n+(r^e^o)+i[15]+530742520&4294967295,n=r+(s<<16&4294967295|s>>>16),s=o+(n^r^e)+i[2]+3299628645&4294967295,o=n+(s<<23&4294967295|s>>>9),s=e+(n^(o|~r))+i[0]+4096336452&4294967295,e=o+(s<<6&4294967295|s>>>26),s=r+(o^(e|~n))+i[7]+1126891415&4294967295,r=e+(s<<10&4294967295|s>>>22),s=n+(e^(r|~o))+i[14]+2878612391&4294967295,n=r+(s<<15&4294967295|s>>>17),s=o+(r^(n|~e))+i[5]+4237533241&4294967295,o=n+(s<<21&4294967295|s>>>11),s=e+(n^(o|~r))+i[12]+1700485571&4294967295,e=o+(s<<6&4294967295|s>>>26),s=r+(o^(e|~n))+i[3]+2399980690&4294967295,r=e+(s<<10&4294967295|s>>>22),s=n+(e^(r|~o))+i[10]+4293915773&4294967295,n=r+(s<<15&4294967295|s>>>17),s=o+(r^(n|~e))+i[1]+2240044497&4294967295,o=n+(s<<21&4294967295|s>>>11),s=e+(n^(o|~r))+i[8]+1873313359&4294967295,e=o+(s<<6&4294967295|s>>>26),s=r+(o^(e|~n))+i[15]+4264355552&4294967295,r=e+(s<<10&4294967295|s>>>22),s=n+(e^(r|~o))+i[6]+2734768916&4294967295,n=r+(s<<15&4294967295|s>>>17),s=o+(r^(n|~e))+i[13]+1309151649&4294967295,o=n+(s<<21&4294967295|s>>>11),s=e+(n^(o|~r))+i[4]+4149444226&4294967295,e=o+(s<<6&4294967295|s>>>26),s=r+(o^(e|~n))+i[11]+3174756917&4294967295,r=e+(s<<10&4294967295|s>>>22),s=n+(e^(r|~o))+i[2]+718787259&4294967295,n=r+(s<<15&4294967295|s>>>17),s=o+(r^(n|~e))+i[9]+3951481745&4294967295,t.b[0]=t.b[0]+e&4294967295,t.b[1]=t.b[1]+(n+(s<<21&4294967295|s>>>11))&4294967295,t.b[2]=t.b[2]+n&4294967295,t.b[3]=t.b[3]+r&4294967295}function tp(e){e=t(e)?e:{},this.b=t(e.color)?e.color:null,this.d=e.lineCap,this.c=t(e.lineDash)?e.lineDash:null,this.e=e.lineJoin,this.f=e.miterLimit,this.a=e.width,this.g=void 0}function ep(e){e=t(e)?e:{},this.b=t(e.color)?e.color:null,this.a=void 0}function op(e){e=t(e)?e:{},this.f=this.b=this.e=null,this.d=t(e.fill)?e.fill:null,this.a=t(e.stroke)?e.stroke:null,this.c=e.radius,this.o=[0,0],this.i=this.p=this.g=null;var o,i,n=e.atlasManager,r=null,s=0;null!==this.a&&(i=ni(this.a.b),s=this.a.a,t(s)||(s=1),r=this.a.c,Pb||(r=null));var a=2*(this.c+s)+1;i={strokeStyle:i,md:s,size:a,lineDash:r},t(n)?(a=Math.round(a),(r=null===this.d)&&(o=d(this.Rg,this,i)),s=this.nb(),i=n.add(s,a,a,d(this.Sg,this,i),o),this.b=i.image,this.o=[i.offsetX,i.offsetY],o=i.image.width,this.f=r?i.ig:this.b):(this.b=gi("CANVAS"),this.b.height=a,this.b.width=a,o=a=this.b.width,n=this.b.getContext("2d"),this.Sg(i,n,0,0),null===this.d?(n=this.f=gi("CANVAS"),n.height=i.size,n.width=i.size,n=n.getContext("2d"),this.Rg(i,n,0,0)):this.f=this.b),this.g=[a/2,a/2],this.p=[a,a],this.i=[o,o],hs.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:!t(e.snapToPixel)||e.snapToPixel})}function ip(e){e=t(e)?e:{},this.g=null,this.d=ap,t(e.geometry)&&this.Vg(e.geometry),this.e=t(e.fill)?e.fill:null,this.f=t(e.image)?e.image:null,this.c=t(e.stroke)?e.stroke:null,this.a=t(e.text)?e.text:null,this.b=e.zIndex}function np(t){return h(t)||(t=s(t)?t:[t],t=ln(t)),t}function rp(){var t=new ep({color:"rgba(255,255,255,0.4)"}),e=new tp({color:"#3399CC",width:1.25}),o=[new ip({image:new op({fill:t,stroke:e,radius:5}),fill:t,stroke:e})];return rp=function(){return o},o}function sp(){var t={},e=[255,255,255,1],o=[0,153,255,1];return t.Polygon=[new ip({fill:new ep({color:[255,255,255,.5]})})],t.MultiPolygon=t.Polygon,t.LineString=[new ip({stroke:new tp({color:e,width:5})}),new ip({stroke:new tp({color:o,width:3})})],t.MultiLineString=t.LineString,t.Circle=t.Polygon.concat(t.LineString),t.Point=[new ip({image:new op({radius:6,fill:new ep({color:o}),stroke:new tp({color:e,width:1.5})}),zIndex:1/0})],t.MultiPoint=t.Point,t.GeometryCollection=t.Polygon.concat(t.Point),t}function ap(t){return t.Q()}function pp(e){var o=t(e)?e:{};e=t(o.condition)?o.condition:Us,this.n=t(o.duration)?o.duration:200,o=t(o.style)?o.style:new ip({stroke:new tp({color:[0,0,255,1]})}),Ka.call(this,{condition:e,style:o})}function lp(e){As.call(this,{handleEvent:hp}),e=t(e)?e:{},this.a=t(e.condition)?e.condition:fn(Bs,Gs),this.e=t(e.duration)?e.duration:100,this.f=t(e.pixelDelta)?e.pixelDelta:128}function hp(e){var o=!1;if("key"==e.type){var i=e.b.e;if(this.a(e)&&(40==i||37==i||39==i||38==i)){var n=e.map,o=n.R(),r=jo(o),s=r.resolution*this.f,a=0,p=0;40==i?p=-s:37==i?a=-s:39==i?a=s:p=s,i=[a,p],ge(i,r.rotation),r=this.e,s=o.Ca(),t(s)&&(t(r)&&0<r&&n.Ha(Go({source:s,duration:r,easing:Bo})),n=o.xd([s[0]+i[0],s[1]+i[1]]),o.Na(n)),e.preventDefault(),o=!0}}return!o}function up(e){As.call(this,{handleEvent:cp}),e=t(e)?e:{},this.e=t(e.condition)?e.condition:Gs,this.a=t(e.delta)?e.delta:1,this.f=t(e.duration)?e.duration:100}function cp(t){var e=!1;if("key"==t.type){var o=t.b.q;if(this.e(t)&&(43==o||45==o)){e=t.map,o=43==o?this.a:-this.a,e.render();var i=e.R();Ls(e,i,o,void 0,this.f),t.preventDefault(),e=!0}}return!e}function fp(e){As.call(this,{handleEvent:yp}),e=t(e)?e:{},this.a=0,this.o=t(e.duration)?e.duration:250,this.f=null,this.g=this.e=void 0}function yp(e){var o=!1;if("mousewheel"==e.type){var o=e.map,i=e.b;this.f=e.coordinate,this.a+=i.o,t(this.e)||(this.e=lm()),i=Math.max(80-(lm()-this.e),0),sm.clearTimeout(this.g),this.g=sm.setTimeout(d(this.i,this,o),i),e.preventDefault(),o=!0}return!o}function dp(e){Hs.call(this,{handleDownEvent:mp,handleDragEvent:gp,handleUpEvent:vp}),e=t(e)?e:{},this.f=null,this.g=void 0,this.a=!1,this.i=0,this.p=t(e.threshold)?e.threshold:.3,this.n=t(e.duration)?e.duration:250}function gp(e){var o=0,i=this.e[0],n=this.e[1],i=Math.atan2(n.clientY-i.clientY,n.clientX-i.clientX);t(this.g)&&(o=i-this.g,this.i+=o,!this.a&&Math.abs(this.i)>this.p&&(this.a=!0)),this.g=i,e=e.map,i=qi(e.a),n=$s(this.e),n[0]-=i.x,n[1]-=i.y,this.f=e.ka(n),this.a&&(i=e.R(),n=i.Da(),e.render(),Rs(e,i,n+o,this.f))}function vp(t){if(2>this.e.length){t=t.map;var e=t.R();if(Do(e,-1),this.a){var o=e.Da(),i=this.f,n=this.n,o=e.constrainRotation(o,0);Rs(t,e,o,i,n)}return!1}return!0}function mp(t){return 2<=this.e.length&&(t=t.map,this.f=null,this.g=void 0,this.a=!1,this.i=0,this.o||Do(t.R(),1),t.render(),!0)}function bp(e){Hs.call(this,{handleDownEvent:Sp,handleDragEvent:wp,handleUpEvent:xp}),e=t(e)?e:{},this.f=null,this.i=t(e.duration)?e.duration:400,this.a=void 0,this.g=1}function wp(e){var o=1,i=this.e[0],n=this.e[1],r=i.clientX-n.clientX,i=i.clientY-n.clientY,r=Math.sqrt(r*r+i*i);t(this.a)&&(o=this.a/r),this.a=r,1!=o&&(this.g=o),e=e.map;var r=e.R(),i=r.ya(),n=qi(e.a),s=$s(this.e);s[0]-=n.x,s[1]-=n.y,this.f=e.ka(s),e.render(),Ns(e,r,i*o,this.f)}function xp(t){if(2>this.e.length){t=t.map;var e=t.R();Do(e,-1);var o=e.ya(),i=this.f,n=this.i,o=e.constrainResolution(o,0,this.g-1);return Ns(t,e,o,i,n),!1}return!0}function Sp(t){return 2<=this.e.length&&(t=t.map,this.f=null,this.a=void 0,this.g=1,this.o||Do(t.R(),1),t.render(),!0)}function Tp(e){e=t(e)?e:{};var o=new ei,i=new Es((-.005),.05,100);return(t(e.altShiftDragRotate)?e.altShiftDragRotate:1)&&o.push(new Ys),(t(e.doubleClickZoom)?e.doubleClickZoom:1)&&o.push(new js({delta:e.zoomDelta,duration:e.zoomDuration})),(t(e.dragPan)?e.dragPan:1)&&o.push(new Ws({kinetic:i})),(t(e.pinchRotate)?e.pinchRotate:1)&&o.push(new dp),(t(e.pinchZoom)?e.pinchZoom:1)&&o.push(new bp({duration:e.zoomDuration})),(t(e.keyboard)?e.keyboard:1)&&(o.push(new lp),o.push(new up({delta:e.zoomDelta,duration:e.zoomDuration}))),(t(e.mouseWheelZoom)?e.mouseWheelZoom:1)&&o.push(new fp({duration:e.zoomDuration})),(t(e.shiftDragZoom)?e.shiftDragZoom:1)&&o.push(new pp),o}function Mp(e){var o=t(e)?e:{};e=nt(o),delete e.layers,o=o.layers,Kr.call(this,e),this.c=[],this.a={},qt(this,se("layers"),this.Vj,!1,this),null!=o?s(o)&&(o=new ei(o.slice())):o=new ei,this.Ah(o)}function Cp(t){ho.call(this,{code:t,units:"m",extent:sw,global:!0,worldExtent:aw})}function Ep(e,o,i){var n=e.length;i=1<i?i:2,t(o)||(o=2<i?e.slice():Array(n));for(var r=0;r<n;r+=i)o[r]=6378137*Math.PI*e[r]/180,o[r+1]=6378137*Math.log(Math.tan(Math.PI*(e[r+1]+90)/360));return o}function Pp(e,o,i){var n=e.length;i=1<i?i:2,t(o)||(o=2<i?e.slice():Array(n));for(var r=0;r<n;r+=i)o[r]=180*e[r]/(6378137*Math.PI),o[r+1]=360*Math.atan(Math.exp(e[r+1]/6378137))/Math.PI-90;return o}function kp(t,e){ho.call(this,{code:t,units:"degrees",extent:lw,axisOrientation:e,global:!0,worldExtent:lw})}function Ap(){co(pw),co(hw),fo()}function Rp(e){Yr.call(this,t(e)?e:{})}function Lp(e){e=t(e)?e:{};var o=nt(e);delete o.preload,delete o.useInterimTilesOnError,Yr.call(this,o),this.d(t(e.preload)?e.preload:0),this.e(!t(e.useInterimTilesOnError)||e.useInterimTilesOnError)}function Np(e){e=t(e)?e:{};var o=nt(e);delete o.style,delete o.renderBuffer,delete o.updateWhileAnimating,delete o.updateWhileInteracting,Yr.call(this,o),this.c=t(e.renderBuffer)?e.renderBuffer:100,this.g=null,this.a=void 0,this.e(e.style),this.o=!!t(e.updateWhileAnimating)&&e.updateWhileAnimating,this.n=!!t(e.updateWhileInteracting)&&e.updateWhileInteracting}function jp(t,e,o,i,n){this.U={},this.c=t,this.n=e,this.e=o,this.H=i,this.Nc=n,this.f=this.b=this.a=this.oa=this.ba=this.X=null,this.Ga=this.Fa=this.o=this.N=this.L=this.J=0,this.Ra=!1,this.g=this.rc=0,this.vb=!1,this.T=0,this.d="",this.q=this.p=this.xb=this.wb=0,this.sa=this.l=this.i=null,this.V=[],this.sc=Te()}function Ip(t,e,o){if(null!==t.f){e=ta(e,0,o,2,t.H,t.V),o=t.c;var i=t.sc,n=o.globalAlpha;1!=t.o&&(o.globalAlpha=n*t.o);var r=t.rc;t.Ra&&(r+=t.Nc);var s,a;for(s=0,a=e.length;s<a;s+=2){var p=e[s]-t.J,l=e[s+1]-t.L;if(t.vb&&(p=p+.5|0,l=l+.5|0),0!==r||1!=t.g){var h=p+t.J,u=l+t.L;Jr(i,h,u,t.g,t.g,r,-h,-u),o.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])}o.drawImage(t.f,t.Fa,t.Ga,t.T,t.N,p,l,t.T,t.N)}0===r&&1==t.g||o.setTransform(1,0,0,1,0,0),1!=t.o&&(o.globalAlpha=n)}}function Dp(t,e,o,i){var n=0;if(null!==t.sa&&""!==t.d){null===t.i||Up(t,t.i),null===t.l||Gp(t,t.l);var r=t.sa,s=t.c,a=t.oa;for(null===a?(s.font=r.font,s.textAlign=r.textAlign,s.textBaseline=r.textBaseline,t.oa={font:r.font,textAlign:r.textAlign,textBaseline:r.textBaseline}):(a.font!=r.font&&(a.font=s.font=r.font),a.textAlign!=r.textAlign&&(a.textAlign=s.textAlign=r.textAlign),a.textBaseline!=r.textBaseline&&(a.textBaseline=s.textBaseline=r.textBaseline)),e=ta(e,n,o,i,t.H,t.V),r=t.c;n<o;n+=i){if(s=e[n]+t.wb,a=e[n+1]+t.xb,0!==t.p||1!=t.q){var p=Jr(t.sc,s,a,t.q,t.q,t.p,-s,-a);r.setTransform(p[0],p[1],p[4],p[5],p[12],p[13])}null===t.l||r.strokeText(t.d,s,a),null===t.i||r.fillText(t.d,s,a)}0===t.p&&1==t.q||r.setTransform(1,0,0,1,0,0)}}function Fp(t,e,o,i,n,r){var s=t.c;for(t=ta(e,o,i,n,t.H,t.V),s.moveTo(t[0],t[1]),e=2;e<t.length;e+=2)s.lineTo(t[e],t[e+1]);return r&&s.lineTo(t[0],t[1]),i}function Op(t,e,o,i,n){var r,s,a=t.c;for(r=0,s=i.length;r<s;++r)o=Fp(t,e,o,i[r],n,!0),a.closePath();return o}function Bp(t){var e=k(Y(t.U),Number);U(e);var o,i,n,r,s;for(o=0,i=e.length;o<i;++o)for(n=t.U[e[o].toString()],r=0,s=n.length;r<s;++r)n[r](t)}function Up(t,e){var o=t.c,i=t.X;null===i?(o.fillStyle=e.fillStyle,t.X={fillStyle:e.fillStyle}):i.fillStyle!=e.fillStyle&&(i.fillStyle=o.fillStyle=e.fillStyle)}function Gp(t,e){var o=t.c,i=t.ba;null===i?(o.lineCap=e.lineCap,Pb&&o.setLineDash(e.lineDash),o.lineJoin=e.lineJoin,o.lineWidth=e.lineWidth,o.miterLimit=e.miterLimit,o.strokeStyle=e.strokeStyle,t.ba={lineCap:e.lineCap,lineDash:e.lineDash,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle}):(i.lineCap!=e.lineCap&&(i.lineCap=o.lineCap=e.lineCap),Pb&&!G(i.lineDash,e.lineDash)&&o.setLineDash(i.lineDash=e.lineDash),i.lineJoin!=e.lineJoin&&(i.lineJoin=o.lineJoin=e.lineJoin),i.lineWidth!=e.lineWidth&&(i.lineWidth=o.lineWidth=e.lineWidth),i.miterLimit!=e.miterLimit&&(i.miterLimit=o.miterLimit=e.miterLimit),i.strokeStyle!=e.strokeStyle&&(i.strokeStyle=o.strokeStyle=e.strokeStyle))}function qp(t,e,o){this.oa=t,this.T=e,this.d=null,this.e=0,this.resolution=o,this.L=this.J=null,this.a=[],this.coordinates=[],this.X=Te(),this.b=[],this.sa=[],this.ba=Te()}function Hp(t,e,o,i,n,r){var s,a,p,l=t.coordinates.length,h=t.Pe(),u=[e[o],e[o+1]],c=[NaN,NaN],f=!0;for(s=o+n;s<i;s+=n)c[0]=e[s],c[1]=e[s+1],p=Ge(h,c),p!==a?(f&&(t.coordinates[l++]=u[0],t.coordinates[l++]=u[1]),t.coordinates[l++]=c[0],t.coordinates[l++]=c[1],f=!1):1===p?(t.coordinates[l++]=c[0],t.coordinates[l++]=c[1],f=!1):f=!0,u[0]=c[0],u[1]=c[1],a=p;return s===o+n&&(t.coordinates[l++]=u[0],t.coordinates[l++]=u[1]),r&&(t.coordinates[l++]=e[o],t.coordinates[l++]=e[o+1]),l}function $p(t,e){t.J=[0,e,0],t.a.push(t.J),t.L=[0,e,0],t.b.push(t.L)}function Xp(e,o,i,n,r,s,a,p,l){var h;Qr(n,e.X)?h=e.sa:(h=ta(e.coordinates,0,e.coordinates.length,2,n,e.sa),Ee(e.X,n)),n=0;var u,f=a.length,y=0;for(e=e.ba;n<f;){var d,g,v,m,b=a[n];switch(b[0]){case 0:y=b[1],u=c(y).toString(),t(s[u])?n=b[2]:t(l)&&!ro(l,y.Q().G())?n=b[2]:++n;break;case 1:o.beginPath(),++n;break;case 2:y=b[1],u=h[y];var w=h[y+1],x=h[y+2]-u,y=h[y+3]-w;o.arc(u,w,Math.sqrt(x*x+y*y),0,2*Math.PI,!0),++n;break;case 3:o.closePath(),++n;break;case 4:y=b[1],u=b[2],d=b[3],v=b[4]*i;var S=b[5]*i,T=b[6];g=b[7];var M=b[8],C=b[9],w=b[11],x=b[12],E=b[13],P=b[14];for(b[10]&&(w+=r);y<u;y+=2){if(b=h[y]-v,m=h[y+1]-S,E&&(b=b+.5|0,m=m+.5|0),1!=x||0!==w){var k=b+v,A=m+S;Jr(e,k,A,x,x,w,-k,-A),o.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])}k=o.globalAlpha,1!=g&&(o.globalAlpha=k*g),o.drawImage(d,M,C,P,T,b,m,P*i,T*i),1!=g&&(o.globalAlpha=k),1==x&&0===w||o.setTransform(1,0,0,1,0,0)}++n;break;case 5:for(y=b[1],u=b[2],v=b[3],S=b[4]*i,T=b[5]*i,w=b[6],x=b[7]*i,d=b[8],g=b[9];y<u;y+=2)b=h[y]+S,m=h[y+1]+T,1==x&&0===w||(Jr(e,b,m,x,x,w,-b,-m),o.setTransform(e[0],e[1],e[4],e[5],e[12],e[13])),g&&o.strokeText(v,b,m),d&&o.fillText(v,b,m),1==x&&0===w||o.setTransform(1,0,0,1,0,0);++n;break;case 6:if(t(p)&&(y=b[1],y=p(y)))return y;++n;break;case 7:o.fill(),++n;break;case 8:for(y=b[1],u=b[2],o.moveTo(h[y],h[y+1]),y+=2;y<u;y+=2)o.lineTo(h[y],h[y+1]);++n;break;case 9:o.fillStyle=b[1],++n;break;case 10:y=!t(b[7])||b[7],u=b[2],o.strokeStyle=b[1],o.lineWidth=y?u*i:u,o.lineCap=b[3],o.lineJoin=b[4],o.miterLimit=b[5],Pb&&o.setLineDash(b[6]),++n;break;case 11:o.font=b[1],o.textAlign=b[2],o.textBaseline=b[3],++n;break;case 12:o.stroke(),++n;break;default:++n}}}function Wp(t){var e=t.b;e.reverse();var o,i,n,r=e.length,s=-1;for(o=0;o<r;++o)if(i=e[o],n=i[0],6==n)s=o;else if(0==n){for(i[2]=o,i=t.b,n=o;s<n;){var a=i[s];i[s]=i[n],i[n]=a,++s,--n}s=-1}}function zp(t,e){t.J[2]=t.a.length,t.J=null,t.L[2]=t.b.length,t.L=null;var o=[6,e];t.a.push(o),t.b.push(o)}function Kp(t,e,o){qp.call(this,t,e,o),this.i=this.N=null,this.H=this.p=this.n=this.V=this.U=this.o=this.l=this.q=this.g=this.f=this.c=void 0}function Vp(t,e,o){qp.call(this,t,e,o),this.c={Xc:void 0,Sc:void 0,Tc:null,Uc:void 0,Vc:void 0,Wc:void 0,Ze:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Yp(t,e,o,i,n){var r=t.coordinates.length;return e=Hp(t,e,o,i,n,!1),r=[8,r,e],t.a.push(r),t.b.push(r),i}function Zp(t){var e=t.c,o=e.strokeStyle,i=e.lineCap,n=e.lineDash,r=e.lineJoin,s=e.lineWidth,a=e.miterLimit;e.Xc==o&&e.Sc==i&&G(e.Tc,n)&&e.Uc==r&&e.Vc==s&&e.Wc==a||(e.Ze!=t.coordinates.length&&(t.a.push([12]),e.Ze=t.coordinates.length),t.a.push([10,o,s,i,r,a,n],[1]),e.Xc=o,e.Sc=i,e.Tc=n,e.Uc=r,e.Vc=s,e.Wc=a)}function _p(t,e,o){qp.call(this,t,e,o),this.c={Mf:void 0,Xc:void 0,Sc:void 0,Tc:null,Uc:void 0,Vc:void 0,Wc:void 0,fillStyle:void 0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}function Jp(e,o,i,n,r){var s=e.c,a=[1];e.a.push(a),e.b.push(a);var p,a=0;for(p=n.length;a<p;++a){var l=n[a],h=e.coordinates.length;i=Hp(e,o,i,l,r,!0),i=[8,h,i],h=[3],e.a.push(i,h),e.b.push(i,h),i=l}return o=[7],e.b.push(o),t(s.fillStyle)&&e.a.push(o),t(s.strokeStyle)&&(s=[12],e.a.push(s),e.b.push(s)),i}function Qp(e){var o=e.c,i=o.fillStyle,n=o.strokeStyle,r=o.lineCap,s=o.lineDash,a=o.lineJoin,p=o.lineWidth,l=o.miterLimit;t(i)&&o.Mf!=i&&(e.a.push([9,i]),o.Mf=o.fillStyle),!t(n)||o.Xc==n&&o.Sc==r&&o.Tc==s&&o.Uc==a&&o.Vc==p&&o.Wc==l||(e.a.push([10,n,p,r,a,l,s]),o.Xc=n,o.Sc=r,o.Tc=s,o.Uc=a,o.Vc=p,o.Wc=l)}function tl(t,e,o){qp.call(this,t,e,o), +this.p=this.n=this.V=null,this.i="",this.U=this.o=this.l=this.q=0,this.g=this.f=this.c=null}function el(t,e,o,i){this.q=t,this.d=e,this.i=o,this.e=i,this.a={},this.f=mr(1,1),this.g=Te()}function ol(t){for(var e in t.a){var o,i=t.a[e];for(o in i)i[o].de()}}function il(e,o,i,n,r,s){var a=k(Y(e.a),Number);U(a);var p=e.d,l=p[0],h=p[1],u=p[2],p=p[3],l=[l,h,l,p,u,p,u,h];ta(l,0,8,2,n,l),o.save(),o.beginPath(),o.moveTo(l[0],l[1]),o.lineTo(l[2],l[3]),o.lineTo(l[4],l[5]),o.lineTo(l[6],l[7]),o.closePath(),o.clip();for(var c,f,l=0,h=a.length;l<h;++l)for(c=e.a[a[l].toString()],u=0,p=cw.length;u<p;++u)f=c[cw[u]],t(f)&&Xp(f,o,i,n,r,s,f.a,void 0);o.restore()}function nl(e,o,i,n,r,s,a){var p=k(Y(e.a),Number);U(p,function(t,e){return e-t});var l,h,u,c,f;for(l=0,h=p.length;l<h;++l)for(c=e.a[p[l].toString()],u=cw.length-1;0<=u;--u)if(f=c[cw[u]],t(f)&&(f=Xp(f,o,1,i,n,r,f.b,s,a)))return f}function rl(t){es.call(this,t),this.J=Te()}function sl(e,o,i,n,r){var s=e.a;ee(s,o)&&(e=t(r)?r:al(e,n,0),e=new jp(i,n.pixelRatio,n.extent,e,n.viewState.rotation),s.dispatchEvent(new Ha(o,s,e,null,n,i,null)),Bp(e))}function al(t,e,o){var i=e.viewState,n=e.pixelRatio;return Jr(t.J,n*e.size[0]/2,n*e.size[1]/2,n/i.resolution,-n/i.resolution,-i.rotation,-i.center[0]+o,-i.center[1])}function pl(t,e){var o=[0,0];return ts(e,t,o),o}function ll(e,o,i){ea.call(this),this.uh(e,t(o)?o:0,i)}function hl(t){var e=t.j[t.s]-t.j[0];return t=t.j[t.s+1]-t.j[1],e*e+t*t}function ul(e){Qs.call(this),this.d=t(e)?e:null,yl(this)}function cl(t){var e,o,i=[];for(e=0,o=t.length;e<o;++e)i.push(t[e].clone());return i}function fl(t){var e,o;if(null!==t.d)for(e=0,o=t.d.length;e<o;++e)Wt(t.d[e],"change",t.k,!1,t)}function yl(t){var e,o;if(null!==t.d)for(e=0,o=t.d.length;e<o;++e)qt(t.d[e],"change",t.k,!1,t)}function dl(t,e,o,i,n){var r=NaN,s=NaN,a=(o-e)/i;if(0!==a)if(1==a)r=t[e],s=t[e+1];else if(2==a)r=.5*t[e]+.5*t[e+i],s=.5*t[e+1]+.5*t[e+i+1];else{var p,s=t[e],a=t[e+1],l=0,r=[0];for(p=e+i;p<o;p+=i){var h=t[p],u=t[p+1],l=l+Math.sqrt((h-s)*(h-s)+(u-a)*(u-a));r.push(l),s=h,a=u}o=.5*l;for(var c,s=q,a=0,l=r.length;a<l;)p=a+l>>1,h=s(o,r[p]),0<h?a=p+1:(l=p,c=!h);c=c?a:~a,0>c?(o=(o-r[-c-2])/(r[-c-1]-r[-c-2]),e+=(-c-2)*i,r=ut(t[e],t[e+i],o),s=ut(t[e+1],t[e+i+1],o)):(r=t[e+c*i],s=t[e+c*i+1])}return null!=n?(n[0]=r,n[1]=s,n):[r,s]}function gl(t,e,o,i,n,r){if(o==e)return null;if(n<t[e+i-1])return r?(o=t.slice(e,e+i),o[i-1]=n,o):null;if(t[o-1]<n)return r?(o=t.slice(o-i,o),o[i-1]=n,o):null;if(n==t[e+i-1])return t.slice(e,e+i);for(e/=i,o/=i;e<o;)r=e+o>>1,n<t[(r+1)*i-1]?o=r:e=r+1;if(o=t[e*i-1],n==o)return t.slice((e-1)*i,(e-1)*i+i);r=(n-o)/(t[(e+1)*i-1]-o),o=[];var s;for(s=0;s<i-1;++s)o.push(ut(t[(e-1)*i+s],t[e*i+s],r));return o.push(n),o}function vl(t,e,o,i,n,r){var s=0;if(r)return gl(t,s,e[e.length-1],o,i,n);if(i<t[o-1])return n?(t=t.slice(0,o),t[o-1]=i,t):null;if(t[t.length-1]<i)return n?(t=t.slice(t.length-o),t[o-1]=i,t):null;for(n=0,r=e.length;n<r;++n){var a=e[n];if(s!=a){if(i<t[s+o-1])break;if(i<=t[a-1])return gl(t,s,a,o,i,!1);s=a}}return null}function ml(t,e){ea.call(this),this.c=null,this.p=this.H=this.i=-1,this.W(t,e)}function bl(t){return t.i!=t.b&&(t.c=dl(t.j,0,t.j.length,t.s,t.c),t.i=t.b),t.c}function wl(t,e,o){ia(t,e,o),t.k()}function xl(t,e){ea.call(this),this.c=[],this.i=this.p=-1,this.W(t,e)}function Sl(t){var e=[],o=t.j,i=0,n=t.c;t=t.s;var r,s;for(r=0,s=n.length;r<s;++r){var a=n[r],i=dl(o,i,a,t);F(e,i),i=a}return e}function Tl(t,e,o,i){ia(t,e,o),t.c=i,t.k()}function Ml(t,e){var o,i,n="XY",r=[],s=[];for(o=0,i=e.length;o<i;++o){var a=e[o];0===o&&(n=a.a),F(r,a.j),s.push(r.length)}Tl(t,n,r,s)}function Cl(t,e){ea.call(this),this.W(t,e)}function El(t,e){ea.call(this),this.c=[],this.p=-1,this.H=null,this.N=this.J=this.L=-1,this.i=null,this.W(t,e)}function Pl(t){if(t.p!=t.b){var e,o,i=t.j,n=t.c,r=t.s,s=0,a=[],p=qe();for(e=0,o=n.length;e<o;++e){var l=n[e],p=Ke(He(1/0,1/0,-(1/0),-(1/0),void 0),i,s,l[0],r);a.push((p[0]+p[2])/2,(p[1]+p[3])/2),s=l[l.length-1]}for(i=kl(t),n=t.c,r=t.s,s=0,e=[],o=0,p=n.length;o<p;++o)l=n[o],e=ka(i,s,l,r,a,2*o,e),s=l[l.length-1];t.H=e,t.p=t.b}return t.H}function kl(t){if(t.N!=t.b){var e,o=t.j;t:{e=t.c;var i,n;for(i=0,n=e.length;i<n;++i)if(!ja(o,e[i],t.s,void 0)){e=!1;break t}e=!0}e?t.i=o:(t.i=o.slice(),t.i.length=Da(t.i,t.c,t.s)),t.N=t.b}return t.i}function Al(t,e,o,i){ia(t,e,o),t.c=i,t.k()}function Rl(t,e){var o,i,n,r="XY",s=[],a=[];for(o=0,i=e.length;o<i;++o){var p=e[o];0===o&&(r=p.a);var l=s.length;n=p.c;var h,u;for(h=0,u=n.length;h<u;++h)n[h]+=l;F(s,p.j),a.push(n)}Al(t,r,s,a)}function Ll(t,e){return c(t)-c(e)}function Nl(t,e){var o=.5*t/e;return o*o}function jl(t,e,o,i,n,r){var s,a,p=!1;return s=o.f,null!==s&&(a=s.gd(),2==a||3==a?s.xf(n,r):(0==a&&s.load(),s.$e(n,r),p=!0)),n=(0,o.d)(e),null!=n&&(i=n.Ve(i),(0,dw[i.M()])(t,i,o,e)),p}function Il(t,e,o,i,n){_r.call(this,t,e,o,2,i),this.a=n}function Dl(e){sn.call(this,{attributions:e.attributions,extent:e.extent,logo:e.logo,projection:e.projection,state:e.state}),this.l=t(e.resolutions)?e.resolutions:null}function Fl(t,e){if(null!==t.l){var o=dt(t.l,e,0);e=t.l[o]}return e}function Ol(t,e){t.b().src=e}function Bl(t,e){Et.call(this,t),this.image=e}function Ul(e){Dl.call(this,{attributions:e.attributions,logo:e.logo,projection:e.projection,resolutions:e.resolutions,state:t(e.state)?e.state:void 0}),this.T=e.canvasFunction,this.J=null,this.N=0,this.X=t(e.ratio)?e.ratio:1.5}function Gl(t){t.prototype.then=t.prototype.then,t.prototype.$goog_Thenable=!0}function ql(t){if(!t)return!1;try{return!!t.$goog_Thenable}catch(e){return!1}}function Hl(t,e){bw||$l(),ww||(bw(),ww=!0),xw.push(new Wl(t,e))}function $l(){if(sm.Promise&&sm.Promise.resolve){var t=sm.Promise.resolve();bw=function(){t.then(Xl)}}else bw=function(){Yn(Xl)}}function Xl(){for(;xw.length;){var t=xw;xw=[];for(var e=0;e<t.length;e++){var o=t[e];try{o.b.call(o.a)}catch(i){Vn(i)}}}ww=!1}function Wl(t,e){this.b=t,this.a=e}function zl(t,e){this.a=Sw,this.f=void 0,this.b=this.c=null,this.d=this.e=!1;try{var o=this;t.call(e,function(t){Zl(o,Tw,t)},function(t){Zl(o,Mw,t)})}catch(i){Zl(this,Mw,i)}}function Kl(t,e){if(t.a==Sw)if(t.c){var o=t.c;if(o.b){for(var i,n=0,r=-1,s=0;(i=o.b[s])&&!((i=i.Rc)&&(n++,i==t&&(r=s),0<=r&&1<n));s++);0<=r&&(o.a==Sw&&1==n?Kl(o,e):(n=o.b.splice(r,1)[0],Ql(o,n,Mw,e)))}}else Zl(t,Mw,e)}function Vl(t,e){t.b&&t.b.length||t.a!=Tw&&t.a!=Mw||Jl(t),t.b||(t.b=[]),t.b.push(e)}function Yl(e,o,i,n){var r={Rc:null,Wg:null,Yg:null};return r.Rc=new zl(function(e,s){r.Wg=o?function(t){try{var i=o.call(n,t);e(i)}catch(r){s(r)}}:e,r.Yg=i?function(o){try{var r=i.call(n,o);!t(r)&&o instanceof eh?s(o):e(r)}catch(a){s(a)}}:s}),r.Rc.c=e,Vl(e,r),r.Rc}function Zl(t,e,o){if(t.a==Sw){if(t==o)e=Mw,o=new TypeError("Promise cannot resolve to itself");else{if(ql(o))return t.a=1,void o.then(t.g,t.i,t);if(u(o))try{var i=o.then;if(h(i))return void _l(t,o,i)}catch(n){e=Mw,o=n}}t.f=o,t.a=e,Jl(t),e!=Mw||o instanceof eh||th(t,o)}}function _l(t,e,o){function i(e){r||(r=!0,t.i(e))}function n(e){r||(r=!0,t.g(e))}t.a=1;var r=!1;try{o.call(e,n,i)}catch(s){i(s)}}function Jl(t){t.e||(t.e=!0,Hl(t.q,t))}function Ql(t,e,o,i){if(o==Tw)e.Wg(i);else{if(e.Rc)for(;t&&t.d;t=t.c)t.d=!1;e.Yg(i)}}function th(t,e){t.d=!0,Hl(function(){t.d&&Cw.call(null,e)})}function eh(t){m.call(this,t)}function oh(t,e,o){if(h(t))o&&(t=d(t,o));else{if(!t||"function"!=typeof t.handleEvent)throw Error("Invalid listener argument");t=d(t.handleEvent,t)}return 2147483647<e?-1:sm.setTimeout(t,e||0)}function ih(){}function nh(t){var e;return(e=t.b)||(e={},ah(t)&&(e[0]=!0,e[1]=!0),e=t.b=e),e}function rh(){}function sh(t){return(t=ah(t))?new ActiveXObject(t):new XMLHttpRequest}function ah(t){if(!t.a&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var e=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],o=0;o<e.length;o++){var i=e[o];try{return new ActiveXObject(i),t.a=i}catch(n){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed")}return t.a}function ph(t){if(Rw){Rw=!1;var e=sm.location;if(e){var o=e.href;if(o&&(o=(o=ph(o)[3]||null)?decodeURI(o):o)&&o!=e.hostname)throw Rw=!0,Error()}}return t.match(Aw)}function lh(t,e){for(var o=t.split("&"),i=0;i<o.length;i++){var n=o[i].indexOf("="),r=null,s=null;0<=n?(r=o[i].substring(0,n),s=o[i].substring(n+1)):r=o[i],e(r,s?decodeURIComponent(s.replace(/\+/g," ")):"")}}function hh(t){if(t[1]){var e=t[0],o=e.indexOf("#");0<=o&&(t.push(e.substr(o)),t[0]=e=e.substr(0,o)),o=e.indexOf("?"),0>o?t[1]="?":o==e.length-1&&(t[1]=void 0)}return t.join("")}function uh(t,e,o){if(s(e))for(var i=0;i<e.length;i++)uh(t,String(e[i]),o);else null!=e&&o.push("&",t,""===e?"":"=",encodeURIComponent(String(e)))}function ch(t,e){for(var o in e)uh(o,e[o],t);return t}function fh(t){Qt.call(this),this.H=new Qn,this.i=t||null,this.b=!1,this.g=this.Y=null,this.e=this.o="",this.a=this.l=this.d=this.q=!1,this.f=0,this.c=null,this.n=Lw,this.p=this.J=!1}function yh(e){return Cm&&pt(9)&&l(e.timeout)&&t(e.ontimeout)}function dh(t){return"content-type"==t.toLowerCase()}function gh(t,e){t.b=!1,t.Y&&(t.a=!0,t.Y.abort(),t.a=!1),t.e=e,vh(t),bh(t)}function vh(t){t.q||(t.q=!0,t.dispatchEvent("complete"),t.dispatchEvent("error"))}function mh(t){if(t.b&&"undefined"!=typeof rm&&(!t.g[1]||4!=Sh(t)||2!=Th(t)))if(t.d&&4==Sh(t))oh(t.Xg,0,t);else if(t.dispatchEvent("readystatechange"),4==Sh(t)){t.b=!1;try{if(xh(t))t.dispatchEvent("complete"),t.dispatchEvent("success");else{var e;try{e=2<Sh(t)?t.Y.statusText:""}catch(o){e=""}t.e=e+" ["+Th(t)+"]",vh(t)}}finally{bh(t)}}}function bh(t,e){if(t.Y){wh(t);var i=t.Y,n=t.g[0]?o:null;t.Y=null,t.g=null,e||t.dispatchEvent("ready");try{i.onreadystatechange=n}catch(r){}}}function wh(t){t.Y&&t.p&&(t.Y.ontimeout=null),l(t.c)&&(sm.clearTimeout(t.c),t.c=null)}function xh(t){var e,o=Th(t);t:switch(o){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:e=!0;break t;default:e=!1}return e||((o=0===o)&&(t=ph(String(t.o))[1]||null,!t&&self.location&&(t=self.location.protocol,t=t.substr(0,t.length-1)),o=!Nw.test(t?t.toLowerCase():"")),e=o),e}function Sh(t){return t.Y?t.Y.readyState:0}function Th(t){try{return 2<Sh(t)?t.Y.status:-1}catch(e){return-1}}function Mh(t){try{return t.Y?t.Y.responseText:""}catch(e){return""}}function Ch(t){if("undefined"!=typeof XMLSerializer)return(new XMLSerializer).serializeToString(t);if(t=t.xml)return t;throw Error("Your browser does not support serializing XML documents")}function Eh(t,e){return Bw.createElementNS(t,e)}function Ph(t,e){return null===t&&(t=""),Bw.createNode(1,e,t)}function kh(t,e){return Ah(t,e,[]).join("")}function Ah(t,e,o){if(4==t.nodeType||3==t.nodeType)e?o.push(String(t.nodeValue).replace(/(\r\n|\r|\n)/g,"")):o.push(t.nodeValue);else for(t=t.firstChild;null!==t;t=t.nextSibling)Ah(t,e,o);return o}function Rh(t){return t.localName}function Lh(e){var o=e.localName;return t(o)?o:e.baseName}function Nh(t){return t instanceof Document}function jh(t){return u(t)&&9==t.nodeType}function Ih(t){return t instanceof Node}function Dh(e){return u(e)&&t(e.nodeType)}function Fh(t,e,o){return t.getAttributeNS(e,o)||""}function Oh(e,o,i){var n="";return e=Xw(e,o,i),t(e)&&(n=e.nodeValue),n}function Bh(t,e,o){return t.getAttributeNodeNS(e,o)}function Uh(t,e,o){var i=null;t=t.attributes;for(var n,r,s=0,a=t.length;s<a;++s)if(n=t[s],n.namespaceURI==e&&(r=n.prefix?n.prefix+":"+o:o,r==n.nodeName)){i=n;break}return i}function Gh(t,e,o,i){t.setAttributeNS(e,o,i)}function qh(t,e,o,i){null===e?t.setAttribute(o,i):(e=t.ownerDocument.createNode(2,o,e),e.nodeValue=i,t.setAttributeNode(e))}function Hh(t){return(new DOMParser).parseFromString(t,"application/xml")}function $h(e,o){return function(i,n){var r=e.call(o,i,n);t(r)&&F(n[n.length-1],r)}}function Xh(e,o){return function(i,n){var r=e.call(t(o)?o:this,i,n);t(r)&&n[n.length-1].push(r)}}function Wh(e,o){return function(i,n){var r=e.call(t(o)?o:this,i,n);t(r)&&(n[n.length-1]=r)}}function zh(e){return function(o,i){var n=e.call(t(void 0)?void 0:this,o,i);t(n)&&it(i[i.length-1],t(void 0)?void 0:o.localName).push(n)}}function Kh(e,o){return function(i,n){var r=e.call(t(void 0)?void 0:this,i,n);t(r)&&(n[n.length-1][t(o)?o:i.localName]=r)}}function Vh(t,e,o){return Qh(t,e,o)}function Yh(e,o){return function(i,n,r){e.call(t(o)?o:this,i,n,r),r[r.length-1].P.appendChild(i)}}function Zh(e){var o,i;return function(n,r,s){if(!t(o)){o={};var a={};a[n.localName]=e,o[n.namespaceURI]=a,i=_h(n.localName)}ou(o,i,r,s)}}function _h(e,o){return function(i,n,r){return i=n[n.length-1].P,n=e,t(n)||(n=r),r=o,t(o)||(r=i.namespaceURI),Uw(r,n)}}function Jh(t,e){for(var o=e.length,i=Array(o),n=0;n<o;++n)i[n]=t[e[n]];return i}function Qh(e,o,i){i=t(i)?i:{};var n,r;for(n=0,r=e.length;n<r;++n)i[e[n]]=o;return i}function tu(e,o,i,n){for(o=o.firstElementChild;null!==o;o=o.nextElementSibling){var r=e[o.namespaceURI];t(r)&&(r=r[o.localName],t(r)&&r.call(n,o,i))}}function eu(t,e,o,i,n){return i.push(t),tu(e,o,i,n),i.pop()}function ou(e,o,i,n,r,s){for(var a,p,l=(t(r)?r:i).length,h=0;h<l;++h)a=i[h],t(a)&&(p=o.call(s,a,n,t(r)?r[h]:void 0),t(p)&&e[p.namespaceURI][p.localName].call(s,p,a,n))}function iu(t,e,o,i,n,r,s){n.push(t),ou(e,o,i,n,r,s),n.pop()}function nu(t,e,o){return function(i,n,r){i=new fh,i.n="text",qt(i,"complete",function(t){if(t=t.target,xh(t)){var i,n=e.M();if("json"==n)i=Mh(t);else if("text"==n)i=Mh(t);else if("xml"==n){if(!Cm)try{i=t.Y?t.Y.responseXML:null}catch(s){i=null}null!=i||(i=Hh(Mh(t)))}null!=i&&(i=e.ja(i,{featureProjection:r}),o.call(this,i))}Ct(t)},!1,this),i.send(t)}}function ru(t,e){return nu(t,e,function(t){this.Oc(t)})}function su(){return[[-(1/0),-(1/0),1/0,1/0]]}function au(t){this.a=Ow(t),this.b={}}function pu(t){return t=t.a.all(),k(t,function(t){return t[4]})}function lu(t,e){var o=t.a.search(e);return k(o,function(t){return t[4]})}function hu(t,e,o,i){return uu(lu(t,e),o,i)}function uu(t,e,o){for(var i,n=0,r=t.length;n<r&&!(i=e.call(o,t[n]));n++);return i}function cu(e){e=t(e)?e:{},sn.call(this,{attributions:e.attributions,logo:e.logo,projection:void 0,state:"ready",wrapX:!t(e.wrapX)||e.wrapX}),this.J=o,t(e.loader)?this.J=e.loader:t(e.url)&&(this.J=ru(e.url,e.format)),this.oa=t(e.strategy)?e.strategy:su,this.a=new au,this.N=new au,this.c={},this.e={},this.g={},this.i={},t(e.features)&&du(this,e.features)}function fu(t,e,o){t.i[e]=[qt(o,"change",t.Pg,!1,t),qt(o,"propertychange",t.Pg,!1,t)]}function yu(e,o,i){var n=!0,r=i.$;return t(r)?r.toString()in e.e?n=!1:e.e[r.toString()]=i:e.g[o]=i,n}function du(t,e){var o,i,n,r,s=[],a=[],p=[];for(i=0,n=e.length;i<n;i++)r=e[i],o=c(r).toString(),yu(t,o,r)&&a.push(r);for(i=0,n=a.length;i<n;i++){r=a[i],o=c(r).toString(),fu(t,o,r);var l=r.Q();null!=l?(o=l.G(),s.push(o),p.push(r)):t.c[o]=r}for(t.a.load(s,p),i=0,n=a.length;i<n;i++)t.dispatchEvent(new mu("addfeature",a[i]))}function gu(t,e,o){t.$c([e[0],e[1],e[0],e[1]],function(t){if(t.Q().Jb(e[0],e[1]))return o.call(void 0,t)})}function vu(t,e){for(var o in t.e)if(t.e[o]===e){delete t.e[o];break}}function mu(t,e){Et.call(this,t),this.feature=e}function bu(t){this.a=t.source,this.ba=Te(),this.c=mr(),this.e=[0,0],this.n=null,Ul.call(this,{attributions:t.attributions,canvasFunction:d(this.zi,this),logo:t.logo,projection:t.projection,ratio:t.ratio,resolutions:t.resolutions,state:this.a.o}),this.p=null,this.g=void 0,this.Mg(t.style),qt(this.a,"change",this.am,void 0,this)}function wu(t,e,o,i,n){return Jr(t.ba,n[0]/2,n[1]/2,i/o,-i/o,0,-e[0],-e[1])}function xu(t){rl.call(this,t),this.e=null,this.f=Te(),this.c=this.d=null}function Su(t){rl.call(this,t),this.c=this.f=null,this.q=!1,this.g=null,this.l=Te(),this.e=null,this.p=this.H=this.n=NaN,this.i=this.d=null,this.L=[0,0]}function Tu(t){rl.call(this,t),this.d=!1,this.q=-1,this.i=NaN,this.f=qe(),this.c=this.g=null,this.e=mr()}function Mu(t,e){ys.call(this,0,e),this.d=mr(),this.b=this.d.canvas,this.b.style.width="100%",this.b.style.height="100%",this.b.className="ol-unselectable",bi(t,this.b,0),this.a=!0,this.e=Te()}function Cu(t,e,o){var i=t.g,n=t.d;if(ee(i,e)){var r=o.extent,s=o.pixelRatio,a=o.viewState,p=a.projection,l=a.resolution,a=a.rotation,h=0;if(p.c){var u=p.G(),p=no(u),c=o.focus[0];(c<u[0]||c>u[2])&&(h=Math.ceil((u[0]-c)/p),h*=p,r=[r[0]+h,r[1],r[2]+h,r[3]])}p=o.pixelRatio,u=o.viewState,c=u.resolution,h=Jr(t.e,t.b.width/2,t.b.height/2,p/c,-p/c,-u.rotation,-u.center[0]-h,-u.center[1]),l=new el(.5*l/s,r,l),r=new jp(n,s,r,h,a),i.dispatchEvent(new Ha(e,i,r,l,o,n,null)),ol(l),l.la()||il(l,n,s,h,a,{}),Bp(r),t.c=l}}function Eu(t,e){es.call(this,t),this.target=e}function Pu(t){var e=gi("DIV");e.style.position="absolute",Eu.call(this,t,e),this.c=null,this.d=Me()}function ku(t){var e=gi("DIV");e.style.position="absolute",Eu.call(this,t,e),this.d=!0,this.q=1,this.g=0,this.c={}}function Au(t,e){this.target=gi("DIV"),this.target.style.position="absolute",this.target.style.width="100%",this.target.style.height="100%",this.d=t,this.c=e,this.f=oo(mn(t,e)),this.g=t.ma(e[0]),this.a={},this.b=null,this.e=Me(),this.i=[0,0]}function Ru(t){this.g=mr();var e=this.g.canvas;e.style.maxWidth="none",e.style.position="absolute",Eu.call(this,t,e),this.d=!1,this.n=-1,this.o=NaN,this.q=qe(),this.c=this.l=null,this.H=Te(),this.p=Te()}function Lu(t,e,o,i){var n=t.g;t=t.a,ee(t,e)&&(i=new jp(n,o.pixelRatio,o.extent,i,o.viewState.rotation),t.dispatchEvent(new Ha(e,t,i,null,o,n,null)),Bp(i))}function Nu(t,e){ys.call(this,0,e),this.a=null,this.a=mr();var o=this.a.canvas;o.style.position="absolute",o.style.width="100%",o.style.height="100%",o.className="ol-unselectable",bi(t,o,0),this.e=Te(),this.b=gi("DIV"),this.b.className="ol-unselectable",o=this.b.style,o.position="absolute",o.width="100%",o.height="100%",qt(this.b,"touchstart",kt),bi(t,this.b,0),this.d=!0}function ju(t,e,o){var i=t.g;if(ee(i,e)){var n=o.extent,r=o.pixelRatio,s=o.viewState,a=s.resolution,p=s.rotation,l=t.a,h=l.canvas;Jr(t.e,h.width/2,h.height/2,r/s.resolution,-r/s.resolution,-s.rotation,-s.center[0],-s.center[1]),s=new jp(l,r,n,t.e,p),n=new el(.5*a/r,n,a),i.dispatchEvent(new Ha(e,i,s,n,o,l,null)),ol(n),n.la()||il(n,l,r,t.e,p,{}),Bp(s),t.c=n}}function Iu(t){this.b=t}function Du(t){this.b=t}function Fu(t){this.b=t}function Ou(){this.b="precision mediump float;varying vec2 a;varying float b;uniform mat4 k;uniform float l;uniform sampler2D m;void main(void){vec4 texColor=texture2D(m,a);float alpha=texColor.a*b*l;if(alpha==0.0){discard;}gl_FragColor.a=alpha;gl_FragColor.rgb=(k*vec4(texColor.rgb,1.)).rgb;}"}function Bu(){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.);gl_Position=h*vec4(c,0.,1.)+offsets;a=d;b=f;}"}function Uu(t,e){this.l=t.getUniformLocation(e,"k"),this.i=t.getUniformLocation(e,"j"),this.q=t.getUniformLocation(e,"i"),this.f=t.getUniformLocation(e,"l"),this.g=t.getUniformLocation(e,"h"),this.b=t.getAttribLocation(e,"e"),this.a=t.getAttribLocation(e,"f"),this.d=t.getAttribLocation(e,"c"),this.c=t.getAttribLocation(e,"g"),this.e=t.getAttribLocation(e,"d")}function Gu(){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;}"}function qu(){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.);gl_Position=h*vec4(c,0.,1.)+offsets;a=d;b=f;}"}function Hu(t,e){this.i=t.getUniformLocation(e,"j"),this.q=t.getUniformLocation(e,"i"),this.f=t.getUniformLocation(e,"k"),this.g=t.getUniformLocation(e,"h"),this.b=t.getAttribLocation(e,"e"),this.a=t.getAttribLocation(e,"f"),this.d=t.getAttribLocation(e,"c"),this.c=t.getAttribLocation(e,"g"),this.e=t.getAttribLocation(e,"d")}function $u(e){this.b=t(e)?e:[],this.a=t(void 0)?void 0:35044}function Xu(t,e){this.l=t,this.b=e,this.a={},this.f={},this.e={},this.i=this.q=this.d=this.g=null,(this.c=N(im,"OES_element_index_uint"))&&e.getExtension("OES_element_index_uint"),qt(this.l,"webglcontextlost",this.Ym,!1,this),qt(this.l,"webglcontextrestored",this.Zm,!1,this)}function Wu(t,e,o){var i=t.b,n=o.b,r=c(o);if(r in t.a)i.bindBuffer(e,t.a[r].buffer);else{var s=i.createBuffer();i.bindBuffer(e,s);var a;34962==e?a=new Float32Array(n):34963==e&&(a=t.c?new Uint32Array(n):new Uint16Array(n)),i.bufferData(e,a,o.a),t.a[r]={c:o,buffer:s}}}function zu(t,e){var o=t.b,i=c(e),n=t.a[i];o.isContextLost()||o.deleteBuffer(n.buffer),delete t.a[i]}function Ku(t,e){var o=c(e);if(o in t.f)return t.f[o];var i=t.b,n=i.createShader(e.M());return i.shaderSource(n,e.b),i.compileShader(n),t.f[o]=n}function Vu(t,e,o){var i=c(e)+"/"+c(o);if(i in t.e)return t.e[i];var n=t.b,r=n.createProgram();return n.attachShader(r,Ku(t,e)),n.attachShader(r,Ku(t,o)),n.linkProgram(r),t.e[i]=r}function Yu(e,o,i){var n=e.createTexture();return e.bindTexture(e.TEXTURE_2D,n),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MAG_FILTER,e.LINEAR),e.texParameteri(e.TEXTURE_2D,e.TEXTURE_MIN_FILTER,e.LINEAR),t(o)&&e.texParameteri(3553,10242,o),t(i)&&e.texParameteri(3553,10243,i),n}function Zu(t,e,o){var i=Yu(t,void 0,void 0);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,e,o,0,t.RGBA,t.UNSIGNED_BYTE,null),i}function _u(t,e){var o=Yu(t,33071,33071);return t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,e),o}function Ju(t,e){this.n=this.V=void 0,this.wb=new si,this.q=_e(e),this.U=[],this.f=[],this.J=void 0,this.e=[],this.d=[],this.N=this.L=void 0,this.a=[],this.H=this.p=this.i=null,this.T=void 0,this.rc=Me(),this.vb=Me(),this.X=this.sa=void 0,this.xb=Me(),this.Fa=this.oa=this.ba=void 0,this.Ra=[],this.g=[],this.b=[],this.o=null,this.c=[],this.l=[],this.Ga=void 0}function Qu(t,e){var o=t.o,i=t.i,n=t.Ra,r=t.g,s=e.b;return function(){if(!s.isContextLost()){var t,a;for(t=0,a=n.length;t<a;++t)s.deleteTexture(n[t]);for(t=0,a=r.length;t<a;++t)s.deleteTexture(r[t])}zu(e,o),zu(e,i)}}function tc(t,e,o,i){var n,r,s,a,p,l,h=t.V,u=t.n,c=t.J,f=t.L,y=t.N,d=t.T,g=t.sa,v=t.X,m=t.ba?1:0,b=t.oa,w=t.Fa,x=t.Ga,S=Math.cos(b),b=Math.sin(b),T=t.a.length,M=t.b.length;for(n=0;n<o;n+=i)p=e[n]-t.q[0],l=e[n+1]-t.q[1],r=M/8,s=-w*h,a=-w*(c-u),t.b[M++]=p,t.b[M++]=l,t.b[M++]=s*S-a*b,t.b[M++]=s*b+a*S,t.b[M++]=g/y,t.b[M++]=(v+c)/f,t.b[M++]=d,t.b[M++]=m,s=w*(x-h),a=-w*(c-u),t.b[M++]=p,t.b[M++]=l,t.b[M++]=s*S-a*b,t.b[M++]=s*b+a*S,t.b[M++]=(g+x)/y,t.b[M++]=(v+c)/f,t.b[M++]=d,t.b[M++]=m,s=w*(x-h),a=w*u,t.b[M++]=p,t.b[M++]=l,t.b[M++]=s*S-a*b,t.b[M++]=s*b+a*S,t.b[M++]=(g+x)/y,t.b[M++]=v/f,t.b[M++]=d,t.b[M++]=m,s=-w*h,a=w*u,t.b[M++]=p,t.b[M++]=l,t.b[M++]=s*S-a*b,t.b[M++]=s*b+a*S,t.b[M++]=g/y,t.b[M++]=v/f,t.b[M++]=d,t.b[M++]=m,t.a[T++]=r,t.a[T++]=r+1,t.a[T++]=r+2,t.a[T++]=r,t.a[T++]=r+2,t.a[T++]=r+3}function ec(t,e){var o=e.b;t.U.push(t.a.length),t.f.push(t.a.length),t.o=new $u(t.b),Wu(e,34962,t.o),t.i=new $u(t.a),Wu(e,34963,t.i);var i={};oc(t.Ra,t.e,i,o),oc(t.g,t.d,i,o),t.V=void 0,t.n=void 0,t.J=void 0,t.e=null,t.d=null,t.L=void 0,t.N=void 0,t.a=null,t.T=void 0,t.sa=void 0,t.X=void 0,t.ba=void 0,t.oa=void 0,t.Fa=void 0,t.b=null,t.Ga=void 0}function oc(t,e,o,i){var n,r,s,a=e.length;for(s=0;s<a;++s)n=e[s],r=c(n).toString(),r in o?n=o[r]:(n=_u(i,n),o[r]=n),t[s]=n}function ic(e,o,i,n,r,s,a,p,l,h,u,f,y,d,g){var v=o.b;Wu(o,34962,e.o),Wu(o,34963,e.i);var m,b,w=p||1!=l||h||1!=u;w?(m=Ou.Ia(),b=Bu.Ia()):(m=Gu.Ia(),b=qu.Ia()),b=Vu(o,m,b),w?null===e.p?(m=new Uu(v,b),e.p=m):m=e.p:null===e.H?(m=new Hu(v,b),e.H=m):m=e.H,o.oe(b),v.enableVertexAttribArray(m.d),v.vertexAttribPointer(m.d,2,5126,!1,32,0),v.enableVertexAttribArray(m.b),v.vertexAttribPointer(m.b,2,5126,!1,32,8),v.enableVertexAttribArray(m.e),v.vertexAttribPointer(m.e,2,5126,!1,32,16),v.enableVertexAttribArray(m.a),v.vertexAttribPointer(m.a,1,5126,!1,32,24),v.enableVertexAttribArray(m.c),v.vertexAttribPointer(m.c,1,5126,!1,32,28),b=e.xb,Jr(b,0,0,2/(n*s[0]),2/(n*s[1]),-r,-(i[0]-e.q[0]),-(i[1]-e.q[1])),i=e.vb,n=2/s[0],s=2/s[1],Pe(i),i[0]=n,i[5]=s,i[10]=1,i[15]=1,s=e.rc,Pe(s),0!==r&&Ne(s,-r),v.uniformMatrix4fv(m.g,!1,b),v.uniformMatrix4fv(m.q,!1,i),v.uniformMatrix4fv(m.i,!1,s),v.uniform1f(m.f,a),w&&v.uniformMatrix4fv(m.l,!1,ai(e.wb,p,l,h,u));var x;if(t(y)){if(d)t:{for(r=o.c?5125:5123,o=o.c?4:2,h=e.c.length-1,a=e.g.length-1;0<=a;--a)for(v.bindTexture(3553,e.g[a]),p=0<a?e.f[a-1]:0,u=e.f[a];0<=h&&e.c[h]>=p;){if(l=e.c[h],d=e.l[h],w=c(d).toString(),!t(f[w])&&(!t(g)||ro(g,d.Q().G()))&&(v.clear(v.COLOR_BUFFER_BIT|v.DEPTH_BUFFER_BIT),v.drawElements(4,u-l,r,l*o),u=y(d))){e=u;break t}u=l,h--}e=void 0}else v.clear(v.COLOR_BUFFER_BIT|v.DEPTH_BUFFER_BIT),nc(e,v,o,f,e.g,e.f),e=(e=y(null))?e:void 0;x=e}else nc(e,v,o,f,e.Ra,e.U);return v.disableVertexAttribArray(m.d),v.disableVertexAttribArray(m.b),v.disableVertexAttribArray(m.e),v.disableVertexAttribArray(m.a),v.disableVertexAttribArray(m.c),x}function nc(e,o,i,n,r,s){var a=i.c?5125:5123;if(i=i.c?4:2,Q(n)){var p;for(e=0,n=r.length,p=0;e<n;++e){o.bindTexture(3553,r[e]);var l=s[e];o.drawElements(4,l-p,a,p*i),p=l}}else{p=0;var h,l=0;for(h=r.length;l<h;++l){o.bindTexture(3553,r[l]);for(var u=0<l?s[l-1]:0,f=s[l],y=u;p<e.c.length&&e.c[p]<=f;){var d=c(e.l[p]).toString();t(n[d])?(y!==u&&o.drawElements(4,u-y,a,y*i),u=y=p===e.c.length-1?f:e.c[p+1]):u=p===e.c.length-1?f:e.c[p+1],p++}y!==u&&o.drawElements(4,u-y,a,y*i)}}}function rc(t,e,o){this.e=e,this.f=t,this.d=o,this.a={}}function sc(t,e){var o,i=[];for(o in t.a)i.push(Qu(t.a[o],e));return cn.apply(null,i)}function ac(t,e){for(var o in t.a)ec(t.a[o],e)}function pc(e,o,i,n,r,s,a,p,l,h,u,c,f,y){var d,g,v=Vw;for(d=cw.length-1;0<=d;--d)if(g=e.a[cw[d]],t(g)&&(g=ic(g,o,i,n,r,v,s,a,p,l,h,u,c,f,y)))return g}function lc(e,o,i,n,r,s,a,p,l,h,u){var c=i.b;return c.bindFramebuffer(c.FRAMEBUFFER,i.Te()),e=pc(e,i,o,n,r,s,a,p,l,h,u,function(){var t=new Uint8Array(4);return c.readPixels(0,0,1,1,c.RGBA,c.UNSIGNED_BYTE,t),0<t[3]},!1),t(e)}function hc(t,e,o,i,n,r){this.a=t,this.e=e,this.d=r,this.i=n,this.g=i,this.f=o,this.c=null,this.b={}}function uc(){this.b="precision mediump float;varying vec2 a;uniform mat4 f;uniform float g;uniform sampler2D h;void main(void){vec4 texColor=texture2D(h,a);gl_FragColor.rgb=(f*vec4(texColor.rgb,1.)).rgb;gl_FragColor.a=texColor.a*g;}"}function cc(){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;}"}function fc(t,e){this.g=t.getUniformLocation(e,"f"),this.c=t.getUniformLocation(e,"g"),this.d=t.getUniformLocation(e,"e"),this.f=t.getUniformLocation(e,"d"),this.e=t.getUniformLocation(e,"h"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function yc(){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;}"}function dc(){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;}"}function gc(t,e){this.c=t.getUniformLocation(e,"f"),this.d=t.getUniformLocation(e,"e"),this.f=t.getUniformLocation(e,"d"),this.e=t.getUniformLocation(e,"g"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function vc(t,e){es.call(this,e),this.c=t,this.N=new $u([-1,-1,0,0,1,-1,1,0,-1,1,0,1,1,1,1,1]),this.e=this.Qa=null,this.f=void 0,this.q=Te(),this.n=Me(),this.T=new si,this.o=this.l=null}function mc(e,o,i){var n=e.c.e;if(t(e.f)&&e.f==i)n.bindFramebuffer(36160,e.e);else{o.postRenderFunctions.push(g(function(t,e,o){t.isContextLost()||(t.deleteFramebuffer(e),t.deleteTexture(o))},n,e.e,e.Qa)),o=Zu(n,i,i);var r=n.createFramebuffer();n.bindFramebuffer(36160,r),n.framebufferTexture2D(36160,36064,3553,o,0),e.Qa=o,e.e=r,e.f=i}}function bc(t,e,o,i){if(t=t.a,ee(t,e)){var n=i.viewState;t.dispatchEvent(new Ha(e,t,new hc(o,n.center,n.resolution,n.rotation,i.size,i.extent),null,i,null,o))}}function wc(t,e){vc.call(this,t,e),this.i=this.g=this.d=null}function xc(t,e){var o=e.b();return _u(t.c.e,o)}function Sc(t,e,o,i,n,r,s,a){e*=r,o*=r,t=t.n,Pe(t),Le(t,2*i/e,2*i/o),Ne(t,-s),Re(t,a[0]-n[0],a[1]-n[1]),Le(t,(a[2]-a[0])/2,(a[3]-a[1])/2),Re(t,1,1)}function Tc(){this.b="precision mediump float;varying vec2 a;uniform sampler2D e;void main(void){gl_FragColor=texture2D(e,a);}"}function Mc(){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;}"}function Cc(t,e){this.c=t.getUniformLocation(e,"e"),this.d=t.getUniformLocation(e,"d"),this.b=t.getAttribLocation(e,"b"),this.a=t.getAttribLocation(e,"c")}function Ec(t,e){vc.call(this,t,e),this.J=Tc.Ia(),this.X=Mc.Ia(),this.d=null,this.H=new $u([0,0,0,1,1,0,1,1,0,1,0,0,1,1,1,0]),this.p=this.g=null,this.i=-1,this.L=[0,0]}function Pc(t,e){vc.call(this,t,e),this.i=!1,this.L=-1,this.J=NaN,this.p=qe(),this.g=this.d=this.H=null}function kc(t,e){ys.call(this,0,e),this.b=gi("CANVAS"),this.b.style.width="100%",this.b.style.height="100%",this.b.className="ol-unselectable",bi(t,this.b,0),this.p=this.H=0,this.J=mr(),this.l=!0,this.e=xr(this.b,{antialias:!0,depth:!1,Ei:!0,preserveDrawingBuffer:!1,stencil:!0}),this.d=new Xu(this.b,this.e),qt(this.b,"webglcontextlost",this.Pl,!1,this),qt(this.b,"webglcontextrestored",this.Ql,!1,this),this.a=new Qi,this.n=null,this.q=new bs(d(function(t){var e=t[1];t=t[2];var o=e[0]-this.n[0],e=e[1]-this.n[1];return 65536*Math.log(t)+Math.sqrt(o*o+e*e)/t},this),function(t){return t[0].gb()}),this.L=d(function(){if(!this.q.la()){Ms(this.q);var t=ws(this.q);Ac(this,t[0],t[3],t[4])}},this),this.i=0,Lc(this)}function Ac(t,e,o,i){var n=t.e,r=e.gb();if(tn(t.a,r))t=t.a.get(r),n.bindTexture(3553,t.Qa),9729!=t.lg&&(n.texParameteri(3553,10240,9729),t.lg=9729),9729!=t.mg&&(n.texParameteri(3553,10240,9729),t.mg=9729);else{var s=n.createTexture();if(n.bindTexture(3553,s),0<i){var a=t.J.canvas,p=t.J;t.H!==o[0]||t.p!==o[1]?(a.width=o[0],a.height=o[1],t.H=o[0],t.p=o[1]):p.clearRect(0,0,o[0],o[1]),p.drawImage(e.Ma(),i,i,o[0],o[1],0,0,o[0],o[1]),n.texImage2D(3553,0,6408,6408,5121,a)}else n.texImage2D(3553,0,6408,6408,5121,e.Ma());n.texParameteri(3553,10240,9729),n.texParameteri(3553,10241,9729),n.texParameteri(3553,10242,33071),n.texParameteri(3553,10243,33071),t.a.set(r,{Qa:s,lg:9729,mg:9729})}}function Rc(e,o,i){var n=e.g;if(ee(n,o)){var r=e.d,s=i.extent,a=i.size,p=i.viewState,l=p.resolution,h=p.center,u=p.rotation,p=new hc(r,h,l,u,a,s),s=new rc(.5*l/i.pixelRatio,s);if(n.dispatchEvent(new Ha(o,n,p,s,i,null,r)),ac(s,r),!s.la()){var c=Zw;o=c.opacity,i=c.brightness;var f,y,d,n=c.contrast,g=c.hue,c=c.saturation,v={};for(f=0,y=cw.length;f<y;++f)d=s.a[cw[f]],t(d)&&ic(d,r,h,l,u,a,o,i,n,g,c,v,void 0,!1)}for(sc(s,r)(),r=k(Y(p.b),Number),U(r),a=0,l=r.length;a<l;++a)for(h=p.b[r[a].toString()],u=0,o=h.length;u<o;++u)h[u](p);e.c=s}}function Lc(t){t=t.e,t.activeTexture(33984),t.blendFuncSeparate(770,771,1,771),t.disable(2884),t.disable(2929),t.disable(3089),t.disable(2960)}function Nc(e){re.call(this);var o=jc(e);this.wb=!!t(e.loadTilesWhileAnimating)&&e.loadTilesWhileAnimating,this.xb=!!t(e.loadTilesWhileInteracting)&&e.loadTilesWhileInteracting,this.Nc=t(e.pixelRatio)?e.pixelRatio:Eb,this.sc=o.logos,this.o=new Xn(this.Qn,(void 0),this),Mt(this,this.o),this.Ra=Te(),this.Ee=Te(),this.vb=0,this.c=null,this.oa=qe(),this.g=this.J=null,this.a=yi("DIV","ol-viewport"),this.a.style.position="relative",this.a.style.overflow="hidden",this.a.style.width="100%",this.a.style.height="100%",this.a.style.msTouchAction="none",Lb&&(this.a.className="ol-touch"),this.X=yi("DIV","ol-overlaycontainer"),this.a.appendChild(this.X),this.p=yi("DIV","ol-overlaycontainer-stopevent"),qt(this.p,["click","dblclick","mousedown","touchstart","MSPointerDown",Jb,Em?"DOMMouseScroll":"mousewheel"],Pt),this.a.appendChild(this.p),e=new Xr(this),qt(e,V(ew),this.eg,!1,this), +Mt(this,e),this.T=o.keyboardEventTarget,this.n=new pr,qt(this.n,"key",this.dg,!1,this),Mt(this,this.n),e=new cr(this.a),qt(e,"mousewheel",this.dg,!1,this),Mt(this,e),this.e=o.controls,this.d=o.interactions,this.f=o.overlays,this.i=new o.Sn(this.a,this),Mt(this,this.i),this.Ga=new ir,Mt(this,this.Ga),this.L=this.l=null,this.H=[],this.ba=[],this.Fa=new Cs(d(this.zj,this),d(this.bl,this)),this.N={},qt(this,se("layergroup"),this.Qj,!1,this),qt(this,se("view"),this.mk,!1,this),qt(this,se("size"),this.jk,!1,this),qt(this,se("target"),this.lk,!1,this),this.t(o.values),this.e.forEach(function(t){t.setMap(this)},this),qt(this.e,"add",function(t){t.element.setMap(this)},!1,this),qt(this.e,"remove",function(t){t.element.setMap(null)},!1,this),this.d.forEach(function(t){t.setMap(this)},this),qt(this.d,"add",function(t){t.element.setMap(this)},!1,this),qt(this.d,"remove",function(t){t.element.setMap(null)},!1,this),this.f.forEach(function(t){t.setMap(this)},this),qt(this.f,"add",function(t){t.element.setMap(this)},!1,this),qt(this.f,"remove",function(t){t.element.setMap(null)},!1,this)}function jc(e){var o=null;t(e.keyboardEventTarget)&&(o=p(e.keyboardEventTarget)?document.getElementById(e.keyboardEventTarget):e.keyboardEventTarget);var i={},n={};if(!t(e.logo)||"boolean"==typeof e.logo&&e.logo)n["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"]="http://openlayers.org/";else{var r=e.logo;p(r)?n[r]="":u(r)&&(n[r.src]=r.href)}r=e.layers instanceof Mp?e.layers:new Mp({layers:e.layers}),i.layergroup=r,i.target=e.target,i.view=t(e.view)?e.view:new Ao;var a,r=ys;t(e.renderer)?s(e.renderer)?a=e.renderer:p(e.renderer)&&(a=[e.renderer]):a=_w;var l,h;for(l=0,h=a.length;l<h;++l){var c=a[l];if("canvas"==c){if(kb){r=Mu;break}}else{if("dom"==c){r=Nu;break}if("webgl"==c&&xb){r=kc;break}}}var f;f=t(e.controls)?s(e.controls)?new ei(e.controls.slice()):e.controls:Fn();var y;return y=t(e.interactions)?s(e.interactions)?new ei(e.interactions.slice()):e.interactions:Tp(),e=t(e.overlays)?s(e.overlays)?new ei(e.overlays.slice()):e.overlays:new ei,{controls:f,interactions:y,keyboardEventTarget:o,logos:n,overlays:e,Sn:r,values:i}}function Ic(e){re.call(this),this.g=!t(e.insertFirst)||e.insertFirst,this.i=!t(e.stopEvent)||e.stopEvent,this.Z=yi("DIV",{"class":"ol-overlay-container"}),this.Z.style.position="absolute",this.f=!!t(e.autoPan)&&e.autoPan,this.d=t(e.autoPanAnimation)?e.autoPanAnimation:{},this.e=t(e.autoPanMargin)?e.autoPanMargin:20,this.a={ud:"",Xd:"",ve:"",we:"",visible:!0},this.c=null,qt(this,se("element"),this.Kj,!1,this),qt(this,se("map"),this.Yj,!1,this),qt(this,se("offset"),this.ck,!1,this),qt(this,se("position"),this.ek,!1,this),qt(this,se("positioning"),this.fk,!1,this),t(e.element)&&this.wh(e.element),this.Bh(t(e.offset)?e.offset:[0,0]),this.Ch(t(e.positioning)?e.positioning:"top-left"),t(e.position)&&this.uf(e.position)}function Dc(t,e){var o=Mi(t);Bi(t,"position");var i,n=new pi(0,0);return i=o?Mi(o):document,i=!Cm||Cm&&9<=Im||Pi(hi(i))?i.documentElement:i.body,t!=i&&(i=Gi(t),o=ki(hi(o)),n.x=i.left+o.x,n.y=i.top+o.y),[n.x,n.y,n.x+e[0],n.y+e[1]]}function Fc(e){var o=e.ae(),i=e.wg();if(t(o)&&null!==o.c&&t(i)){var i=o.ta(i),n=o.xa(),o=e.Z.style,r=e.Yf(),s=e.ag(),a=r[0],r=r[1];"bottom-right"==s||"center-right"==s||"top-right"==s?(""!==e.a.Xd&&(e.a.Xd=o.left=""),a=Math.round(n[0]-i[0]-a)+"px",e.a.ve!=a&&(e.a.ve=o.right=a)):(""!==e.a.ve&&(e.a.ve=o.right=""),"bottom-center"!=s&&"center-center"!=s&&"top-center"!=s||(a-=$i(e.Z).width/2),a=Math.round(i[0]+a)+"px",e.a.Xd!=a&&(e.a.Xd=o.left=a)),"bottom-left"==s||"bottom-center"==s||"bottom-right"==s?(""!==e.a.we&&(e.a.we=o.top=""),i=Math.round(n[1]-i[1]-r)+"px",e.a.ud!=i&&(e.a.ud=o.bottom=i)):(""!==e.a.ud&&(e.a.ud=o.bottom=""),"center-left"!=s&&"center-center"!=s&&"center-right"!=s||(r-=$i(e.Z).height/2),i=Math.round(i[1]+r)+"px",e.a.we!=i&&(e.a.we=o.top=i)),e.a.visible||(Wi(e.Z,!0),e.a.visible=!0)}else e.a.visible&&(Wi(e.Z,!1),e.a.visible=!1)}function Oc(e){e=t(e)?e:{},this.f=!t(e.collapsed)||e.collapsed,this.g=!t(e.collapsible)||e.collapsible,this.g||(this.f=!1);var o=t(e.className)?e.className:"ol-overviewmap",i=t(e.tipLabel)?e.tipLabel:"Overview map",n=t(e.collapseLabel)?e.collapseLabel:"«";this.o=p(n)?yi("SPAN",{},n):n,n=t(e.label)?e.label:"»",this.n=p(n)?yi("SPAN",{},n):n,i=yi("BUTTON",{type:"button",title:i},this.g&&!this.f?this.o:this.n),qt(i,"click",this.ml,!1,this),qt(i,["mouseout",qm],function(){this.blur()},!1);var n=yi("DIV","ol-overviewmap-map"),r=this.d=new Nc({controls:new ei,interactions:new ei,target:n});t(e.layers)&&e.layers.forEach(function(t){r.Jf(t)},this);var s=yi("DIV","ol-overviewmap-box");this.i=new Ic({position:[0,0],positioning:"bottom-left",element:s}),this.d.Kf(this.i),o=yi("DIV",o+" ol-unselectable ol-control"+(this.f&&this.g?" ol-collapsed":"")+(this.g?"":" ol-uncollapsible"),n,i),Ji.call(this,{element:o,render:t(e.render)?e.render:Bc,target:e.target})}function Bc(){var t=this.a,e=this.d;if(null!==t.c&&null!==e.c){var o=t.xa(),t=t.R().Pc(o),i=e.xa(),o=e.R().Pc(i),n=e.ta(oo(t)),e=e.ta(Ze(t)),e=new li(Math.abs(n[0]-e[0]),Math.abs(n[1]-e[1])),n=i[0],i=i[1];e.width<.1*n||e.height<.1*i||e.width>.75*n||e.height>.75*i?Uc(this):Be(o,t)||(t=this.d,o=this.a.R(),t.R().Na(o.Ca()))}Gc(this)}function Uc(t){var e=t.a;t=t.d;var o=e.xa(),e=e.R().Pc(o),o=t.xa();t=t.R();var i=Math.log(7.5)/Math.LN2;ao(e,1/(.1*Math.pow(2,i/2))),t.Me(e,o)}function Gc(e){var o=e.a,i=e.d;if(null!==o.c&&null!==i.c){var n=o.xa(),r=o.R(),s=i.R();i.xa();var a,o=r.Da(),p=e.i,i=e.i.$d(),r=r.Pc(n),n=s.ya(),s=Ye(r),r=io(r);e=e.a.R().Ca(),t(e)&&(a=[s[0]-e[0],s[1]-e[1]],ge(a,o),ue(a,e)),p.uf(a),null!=i&&(a=new li(Math.abs((s[0]-r[0])/n),Math.abs((r[1]-s[1])/n)),o=Pi(hi(Mi(i))),!Cm||pt("10")||o&&pt("8")?(i=i.style,Em?i.MozBoxSizing="border-box":Pm?i.WebkitBoxSizing="border-box":i.boxSizing="border-box",i.width=Math.max(a.width,0)+"px",i.height=Math.max(a.height,0)+"px"):(e=i.style,o?(o=Vi(i,"padding"),i=Zi(i),e.pixelWidth=a.width-i.left-o.left-o.right-i.right,e.pixelHeight=a.height-i.top-o.top-o.bottom-i.bottom):(e.pixelWidth=a.width,e.pixelHeight=a.height)))}}function qc(t){ji(t.element,"ol-collapsed"),t.f?xi(t.o,t.n):xi(t.n,t.o),t.f=!t.f;var e=t.d;t.f||null!==e.c||(e.Kc(),Uc(t),Xt(e,"postrender",function(){Gc(this)},!1,t))}function Hc(e){e=t(e)?e:{};var o=t(e.className)?e.className:"ol-scale-line";this.g=yi("DIV",o+"-inner"),this.Z=yi("DIV",o+" ol-unselectable",this.g),this.o=null,this.i=t(e.minWidth)?e.minWidth:64,this.d=!1,this.H=void 0,this.n="",this.f=null,Ji.call(this,{element:this.Z,render:t(e.render)?e.render:$c,target:e.target}),qt(this,se("units"),this.N,!1,this),this.J(e.units||"metric")}function $c(t){t=t.frameState,null===t?this.o=null:this.o=t.viewState,Xc(this)}function Xc(t){var e=t.o;if(null===e)t.d&&(Wi(t.Z,!1),t.d=!1);else{var o=e.center,i=e.projection,e=i.getPointResolution(e.resolution,o),n=i.a,r=t.p();for("degrees"!=n||"metric"!=r&&"imperial"!=r&&"us"!=r&&"nautical"!=r?"degrees"!=n&&"degrees"==r?(null===t.f&&(t.f=Mo(i,xo("EPSG:4326"))),o=Math.cos(ct(t.f(o)[1])),i=_m.radius,i/=Jm[n],e*=180/(Math.PI*o*i)):t.f=null:(t.f=null,o=Math.cos(ct(o[1])),e*=Math.PI*o*_m.radius/180),o=t.i*e,n="","degrees"==r?o<1/60?(n="″",e*=3600):1>o?(n="′",e*=60):n="°":"imperial"==r?.9144>o?(n="in",e/=.0254):1609.344>o?(n="ft",e/=.3048):(n="mi",e/=1609.344):"nautical"==r?(e/=1852,n="nm"):"metric"==r?1>o?(n="mm",e*=1e3):1e3>o?n="m":(n="km",e/=1e3):"us"==r&&(.9144>o?(n="in",e*=39.37):1609.344>o?(n="ft",e/=.30480061):(n="mi",e/=1609.3472)),o=3*Math.floor(Math.log(t.i*e)/Math.log(10));;){if(i=Jw[o%3]*Math.pow(10,Math.floor(o/3)),r=Math.round(i/e),isNaN(r))return Wi(t.Z,!1),void(t.d=!1);if(r>=t.i)break;++o}e=i+" "+n,t.n!=e&&(t.g.innerHTML=e,t.n=e),t.H!=r&&(t.g.style.width=r+"px",t.H=r),t.d||(Wi(t.Z,!0),t.d=!0)}}function Wc(t){Tt.call(this),this.a=t,this.b={}}function zc(t){W(t.b,zt),t.b={}}function Kc(t,e,o){Qt.call(this),this.target=t,this.handle=e||t,this.b=o||new Di(NaN,NaN,NaN,NaN),this.c=Mi(t),this.a=new Wc(this),Mt(this,this.a),qt(this.handle,["touchstart","mousedown"],this.cg,!1,this)}function Vc(t){var e=t.type;"touchstart"==e||"touchmove"==e?Lt(t,t.b.targetTouches[0],t.c):"touchend"!=e&&"touchcancel"!=e||Lt(t,t.b.changedTouches[0],t.c)}function Yc(t,e,o){var i=ki(hi(t.c));return e+=i.x-t.d.x,o+=i.y-t.d.y,t.d=i,t.yc+=e,t.zc+=o,e=_c(t,t.yc),t=Jc(t,t.zc),new pi(e,t)}function Zc(t,e,o,i){t.target.style.left=o+"px",t.target.style.top=i+"px",t.dispatchEvent(new Qc("drag",t,e.clientX,e.clientY,0,o,i))}function _c(t,e){var o=t.b,i=isNaN(o.left)?null:o.left,o=isNaN(o.width)?0:o.width;return Math.min(null!=i?i+o:1/0,Math.max(null!=i?i:-(1/0),e))}function Jc(t,e){var o=t.b,i=isNaN(o.top)?null:o.top,o=isNaN(o.height)?0:o.height;return Math.min(null!=i?i+o:1/0,Math.max(null!=i?i:-(1/0),e))}function Qc(e,o,i,n,r,s,a){Et.call(this,e),this.clientX=i,this.clientY=n,this.left=t(s)?s:o.yc,this.top=t(a)?a:o.zc}function tf(e){e=t(e)?e:{},this.f=void 0,this.g=ex,this.i=null,this.n=!1,this.o=t(e.duration)?e.duration:200;var o=t(e.className)?e.className:"ol-zoomslider",i=yi("DIV",[o+"-thumb","ol-unselectable"]),o=yi("DIV",[o,"ol-unselectable","ol-control"],i);this.d=new Kc(i),Mt(this,this.d),qt(this.d,"start",this.Jj,!1,this),qt(this.d,"drag",this.Hj,!1,this),qt(this.d,"end",this.Ij,!1,this),qt(o,"click",this.Gj,!1,this),qt(i,"click",Pt),Ji.call(this,{element:o,render:t(e.render)?e.render:ef})}function ef(t){if(null!==t.frameState){if(!this.n){var e=this.element,o=$i(e),i=Si(e),e=Vi(i,"margin"),n=new li(i.offsetWidth,i.offsetHeight),i=n.width+e.right+e.left,e=n.height+e.top+e.bottom;this.i=[i,e],i=o.width-i,e=o.height-e,o.width>o.height?(this.g=1,o=new Di(0,0,i,0)):(this.g=ex,o=new Di(0,0,0,e)),this.d.b=o||new Di(NaN,NaN,NaN,NaN),this.n=!0}t=t.frameState.viewState.resolution,t!==this.f&&(this.f=t,t=1-No(this.a.R())(t),o=this.d,e=Si(this.element),1==this.g?Ui(e,o.b.left+o.b.width*t):Ui(e,o.b.left,o.b.top+o.b.height*t))}}function of(t,e,o){var i=t.d.b;return lt(1===t.g?(e-i.left)/i.width:(o-i.top)/i.height,0,1)}function nf(t,e){return Lo(t.a.R())(1-e)}function rf(e){e=t(e)?e:{},this.d=t(e.extent)?e.extent:null;var o=t(e.className)?e.className:"ol-zoom-extent",i=yi("BUTTON",{type:"button",title:t(e.tipLabel)?e.tipLabel:"Fit to extent"},t(e.label)?e.label:"E");qt(i,"click",this.f,!1,this),qt(i,["mouseout",qm],function(){this.blur()},!1),o=yi("DIV",o+" ol-unselectable ol-control",i),Ji.call(this,{element:o,target:e.target})}function sf(e){re.call(this),e=t(e)?e:{},this.a=null,qt(this,se("tracking"),this.Jk,!1,this),this.bf(!!t(e.tracking)&&e.tracking)}function af(e){re.call(this),this.$=void 0,this.a="geometry",this.e=null,this.c=void 0,this.d=null,qt(this,se(this.a),this.Pd,!1,this),t(e)&&(e instanceof Qs||null===e?this.La(e):this.t(e))}function pf(e){e=t(e)?e:{},this.g=this.e=this.d=this.a=this.c=this.b=null,this.f=void 0,this.rg(t(e.style)?e.style:rp),t(e.features)?s(e.features)?this.ld(new ei(e.features.slice())):this.ld(e.features):this.ld(new ei),t(e.map)&&this.setMap(e.map)}function lf(t){null===t.d||t.d.render()}function hf(){this.defaultDataProjection=null}function uf(e,o,i){var n;return t(i)&&(n={dataProjection:t(i.dataProjection)?i.dataProjection:e.za(o),featureProjection:i.featureProjection}),cf(e,n)}function cf(e,o){var i;return t(o)&&(i={featureProjection:o.featureProjection,dataProjection:null!=o.dataProjection?o.dataProjection:e.defaultDataProjection,rightHanded:o.rightHanded}),i}function ff(e,o,i){var n=t(i)?xo(i.featureProjection):null;return i=t(i)?xo(i.dataProjection):null,null===n||null===i||So(n,i)?e:e instanceof Qs?(o?e.clone():e).transform(o?n:i,o?i:n):ko(o?e.slice():e,o?n:i,o?i:n)}function yf(){this.defaultDataProjection=null}function df(e){return u(e)?e:p(e)?(e=Ew(e),t(e)?e:null):null}function gf(e){e=t(e)?e:{},this.defaultDataProjection=null,this.b=e.geometryName}function vf(t,e){if(null===t)return null;var o;if(l(t.x)&&l(t.y))o="Point";else if(null!=t.points)o="MultiPoint";else if(null!=t.paths)o=1===t.paths.length?"LineString":"MultiLineString";else if(null!=t.rings){var i=t.rings,n=mf(t),r=[];o=[];var s,a;for(s=0,a=i.length;s<a;++s){var p=$(i[s]);Na(p,0,p.length,n.length)?r.push([i[s]]):o.push(i[s])}for(;o.length;){for(i=o.shift(),n=!1,s=r.length-1;0<=s;s--)if(Be(new xa(r[s][0]).G(),new xa(i).G())){r[s].push(i),n=!0;break}n||r.push([i.reverse()])}t=nt(t),1===r.length?(o="Polygon",t.rings=r[0]):(o="MultiPolygon",t.rings=r)}return ff((0,ox[o])(t),!1,e)}function mf(t){var e="XY";return!0===t.hasZ&&!0===t.hasM?e="XYZM":!0===t.hasZ?e="XYZ":!0===t.hasM&&(e="XYM"),e}function bf(t){return t=t.a,{hasZ:"XYZ"===t||"XYZM"===t,hasM:"XYM"===t||"XYZM"===t}}function wf(t,e){return(0,ix[t.M()])(ff(t,!0,e),e)}function xf(e){e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo(null!=e.defaultDataProjection?e.defaultDataProjection:"EPSG:4326"),this.b=e.geometryName}function Sf(t,e){return null===t?null:ff((0,nx[t.type])(t),!1,e)}function Tf(t,e){return(0,rx[t.M()])(ff(t,!0,e),e)}function Mf(){this.defaultDataProjection=null}function Cf(t,e,o){return t=Ef(t,e,o),0<t.length?t[0]:null}function Ef(t,e,o){var i=[];for(e=e.firstChild;null!==e;e=e.nextSibling)1==e.nodeType&&F(i,t.Ob(e,o));return i}function Pf(e){e=t(e)?e:{},this.featureType=e.featureType,this.featureNS=e.featureNS,this.srsName=e.srsName,this.schemaLocation="",this.b={},this.b["http://www.opengis.net/gml"]={featureMember:Wh(Pf.prototype.jd),featureMembers:Wh(Pf.prototype.jd)},this.defaultDataProjection=null}function kf(t){return t=kh(t,!1),Af(t)}function Af(e){if(e=/^\s*(true|1)|(false|0)\s*$/.exec(e))return t(e[1])||!1}function Rf(e){if(e=kh(e,!1),e=/^\s*(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?))\s*$/.exec(e)){var o=Date.UTC(parseInt(e[1],10),parseInt(e[2],10)-1,parseInt(e[3],10),parseInt(e[4],10),parseInt(e[5],10),parseInt(e[6],10))/1e3;if("Z"!=e[7]){var i="-"==e[8]?-1:1,o=o+60*i*parseInt(e[9],10);t(e[10])&&(o+=3600*i*parseInt(e[10],10))}return o}}function Lf(t){return t=kh(t,!1),Nf(t)}function Nf(t){if(t=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(t))return parseFloat(t[1])}function jf(t){return t=kh(t,!1),If(t)}function If(t){if(t=/^\s*(\d+)\s*$/.exec(t))return parseInt(t[1],10)}function Df(t){return t=kh(t,!1),cm(t)}function Ff(t,e){Uf(t,e?"1":"0")}function Of(t,e){t.appendChild(Bw.createTextNode(e.toPrecision()))}function Bf(t,e){t.appendChild(Bw.createTextNode(e.toString()))}function Uf(t,e){t.appendChild(Bw.createTextNode(e))}function Gf(e){e=t(e)?e:{},Pf.call(this,e),this.i=!!t(e.surface)&&e.surface,this.e=!!t(e.curve)&&e.curve,this.f=!t(e.multiCurve)||e.multiCurve,this.g=!t(e.multiSurface)||e.multiSurface,this.schemaLocation=t(e.schemaLocation)?e.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/3.1.1/profiles/gmlsfProfile/1.0.0/gmlsf.xsd"}function qf(t,e,o){o=o[o.length-1].srsName,e=e.K();for(var i,n=e.length,r=Array(n),s=0;s<n;++s){i=e[s];var a=s,p="enu";null!=o&&(p=uo(xo(o))),r[a]="en"===p.substr(0,2)?i[0]+" "+i[1]:i[1]+" "+i[0]}Uf(t,r.join(" "))}function Hf(e){e=t(e)?e:{},Pf.call(this,e),this.b["http://www.opengis.net/gml"].featureMember=Xh(Pf.prototype.jd),this.schemaLocation=t(e.schemaLocation)?e.schemaLocation:"http://www.opengis.net/gml http://schemas.opengis.net/gml/2.1.2/feature.xsd"}function $f(e){e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo("EPSG:4326"),this.b=e.readExtensions}function Xf(t,e,o){return t.push(parseFloat(e.getAttribute("lon")),parseFloat(e.getAttribute("lat"))),"ele"in o?(t.push(o.ele),et(o,"ele")):t.push(0),"time"in o?(t.push(o.time),et(o,"time")):t.push(0),t}function Wf(t,e){var o=e[e.length-1],i=t.getAttribute("href");null===i||(o.link=i),tu(gx,t,e)}function zf(t,e){e[e.length-1].extensionsNode_=t}function Kf(e,o){var i=o[0],n=eu({flatCoordinates:[]},vx,e,o);if(t(n)){var r=n.flatCoordinates;et(n,"flatCoordinates");var s=new ml(null);return wl(s,"XYZM",r),ff(s,!1,i),i=new af(s),i.t(n),i}}function Vf(e,o){var i=o[0],n=eu({flatCoordinates:[],ends:[]},bx,e,o);if(t(n)){var r=n.flatCoordinates;et(n,"flatCoordinates");var s=n.ends;et(n,"ends");var a=new xl(null);return Tl(a,"XYZM",r,s),ff(a,!1,i),i=new af(a),i.t(n),i}}function Yf(e,o){var i=o[0],n=eu({},Sx,e,o);if(t(n)){var r=Xf([],e,n),r=new Ta(r,"XYZM");return ff(r,!1,i),i=new af(r),i.t(n),i}}function Zf(e,o){null===o&&(o=[]);for(var i=0,n=o.length;i<n;++i){var r=o[i];if(t(e.b)){var s=r.get("extensionsNode_")||null;e.b(r,s)}r.set("extensionsNode_",void 0)}}function _f(t,e,o){t.setAttribute("href",e),e=o[o.length-1].properties,iu({P:t},Mx,zw,[e.linkText,e.linkType],o,Tx)}function Jf(t,e,o){var i=o[o.length-1],n=i.P.namespaceURI,r=i.properties;switch(Ww(t,null,"lat",e[1]),Ww(t,null,"lon",e[0]),i.geometryLayout){case"XYZM":0!==e[3]&&(r.time=e[3]);case"XYZ":0!==e[2]&&(r.ele=e[2]);break;case"XYM":0!==e[2]&&(r.time=e[2])}e=Lx[n],i=Jh(r,e),iu({P:t,properties:r},Nx,zw,i,o,e)}function Qf(e,o){var i=e.Q();if(t(i))return Uw(o[o.length-1].P.namespaceURI,jx[i.M()])}function ty(t){return t=oy(t),k(t,function(t){return t.c.substring(t.a,t.b)})}function ey(t,e,o){this.c=t,this.a=e,this.b=o}function oy(t){for(var e,o=RegExp("\r\n|\r|\n","g"),i=0,n=[];e=o.exec(t);)i=new ey(t,i,e.index),n.push(i),i=o.lastIndex;return i<t.length&&(i=new ey(t,i,t.length),n.push(i)),n}function iy(){this.defaultDataProjection=null}function ny(e){e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo("EPSG:4326"),this.b=t(e.altitudeMode)?e.altitudeMode:"none"}function ry(e,o){var i;e instanceof ry?(this.Yb=t(o)?o:e.Yb,sy(this,e.Pb),this.pc=e.pc,this.ib=e.ib,ay(this,e.Ec),this.hb=e.hb,py(this,e.b.clone()),this.Sb=e.Sb):e&&(i=ph(String(e)))?(this.Yb=!!o,sy(this,i[1]||"",!0),this.pc=uy(i[2]||""),this.ib=uy(i[3]||"",!0),ay(this,i[4]),this.hb=uy(i[5]||"",!0),py(this,i[6]||"",!0),this.Sb=uy(i[7]||"")):(this.Yb=!!o,this.b=new yy(null,0,this.Yb))}function sy(t,e,o){t.Pb=o?uy(e,!0):e,t.Pb&&(t.Pb=t.Pb.replace(/:$/,""))}function ay(t,e){if(e){if(e=Number(e),isNaN(e)||0>e)throw Error("Bad port number "+e);t.Ec=e}else t.Ec=null}function py(t,e,o){e instanceof yy?(t.b=e,by(t.b,t.Yb)):(o||(e=cy(e,qx)),t.b=new yy(e,0,t.Yb))}function ly(t){return t instanceof ry?t.clone():new ry(t,(void 0))}function hy(t,e){t instanceof ry||(t=ly(t)),e instanceof ry||(e=ly(e));var o=t,i=e,n=o.clone(),r=!!i.Pb;r?sy(n,i.Pb):r=!!i.pc,r?n.pc=i.pc:r=!!i.ib,r?n.ib=i.ib:r=null!=i.Ec;var s=i.hb;if(r)ay(n,i.Ec);else if(r=!!i.hb)if("/"!=s.charAt(0)&&(o.ib&&!o.hb?s="/"+s:(o=n.hb.lastIndexOf("/"),-1!=o&&(s=n.hb.substr(0,o+1)+s))),o=s,".."==o||"."==o)s="";else if(-1!=o.indexOf("./")||-1!=o.indexOf("/.")){for(var s=0==o.lastIndexOf("/",0),o=o.split("/"),a=[],p=0;p<o.length;){var l=o[p++];"."==l?s&&p==o.length&&a.push(""):".."==l?((1<a.length||1==a.length&&""!=a[0])&&a.pop(),s&&p==o.length&&a.push("")):(a.push(l),s=!0)}s=a.join("/")}else s=o;return r?n.hb=s:r=""!==i.b.toString(),r?py(n,uy(i.b.toString())):r=!!i.Sb,r&&(n.Sb=i.Sb),n}function uy(t,e){return t?e?decodeURI(t):decodeURIComponent(t):""}function cy(t,e,o){return p(t)?(t=encodeURI(t).replace(e,fy),o&&(t=t.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),t):null}function fy(t){return t=t.charCodeAt(0),"%"+(t>>4&15).toString(16)+(15&t).toString(16)}function yy(t,e,o){this.b=t||null,this.a=!!o}function dy(t){t.ia||(t.ia=new Qn,t.va=0,t.b&&lh(t.b,function(e,o){t.add(decodeURIComponent(e.replace(/\+/g," ")),o)}))}function gy(t,e){return dy(t),e=my(t,e),er(t.ia.a,e)}function vy(t,e,o){t.remove(e),0<o.length&&(t.b=null,t.ia.set(my(t,e),D(o)),t.va+=o.length)}function my(t,e){var o=String(e);return t.a&&(o=o.toLowerCase()),o}function by(t,e){e&&!t.a&&(dy(t),t.b=null,t.ia.forEach(function(t,e){var o=e.toLowerCase();e!=o&&(this.remove(e),vy(this,o,t))},t)),t.a=e}function wy(e){e=t(e)?e:{},this.d=e.font,this.e=e.rotation,this.a=e.scale,this.c=e.text,this.g=e.textAlign,this.i=e.textBaseline,this.b=t(e.fill)?e.fill:null,this.f=t(e.stroke)?e.stroke:null,this.q=t(e.offsetX)?e.offsetX:0,this.l=t(e.offsetY)?e.offsetY:0}function xy(e){function o(t){return s(t)?t:p(t)?(!(t in n)&&"#"+t in n&&(t="#"+t),o(n[t])):i}e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo("EPSG:4326");var i=t(e.defaultStyle)?e.defaultStyle:Jx,n={};this.c=!t(e.extractStyles)||e.extractStyles,this.b=n,this.d=function(){var e=this.get("Style");return t(e)?e:(e=this.get("styleUrl"),t(e)?o(e):i)}}function Sy(t){if(t=kh(t,!1),t=/^\s*#?\s*([0-9A-Fa-f]{8})\s*$/.exec(t))return t=t[1],[parseInt(t.substr(6,2),16),parseInt(t.substr(4,2),16),parseInt(t.substr(2,2),16),parseInt(t.substr(0,2),16)/255]}function Ty(t){t=kh(t,!1);for(var e,o=[],i=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)(?:\s*,\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?))?\s*/i;e=i.exec(t);)o.push(parseFloat(e[1]),parseFloat(e[2]),e[3]?parseFloat(e[3]):0),t=t.substr(e[0].length);return""!==t?void 0:o}function My(t){var e=kh(t,!1);return null!=t.baseURI?hy(t.baseURI,cm(e)).toString():cm(e)}function Cy(e){if(e=Lf(e),t(e))return Math.sqrt(e)}function Ey(t,e){return eu(null,iS,t,e)}function Py(e,o){var i=eu({j:[],Kh:[]},rS,e,o);if(t(i)){var n,r,s=i.j,i=i.Kh;for(n=0,r=Math.min(s.length,i.length);n<r;++n)s[4*n+3]=i[n];return i=new ml(null),wl(i,"XYZM",s),i}}function ky(e,o){var i=eu({},oS,e,o),n=eu(null,sS,e,o);if(t(n)){var r=new ml(null);return wl(r,"XYZ",n),r.t(i),r}}function Ay(e,o){var i=eu({},oS,e,o),n=eu(null,sS,e,o);if(t(n)){var r=new Fa(null);return Ua(r,"XYZ",n,[n.length]),r.t(i),r}}function Ry(e,o){var i=eu([],cS,e,o);if(!t(i))return null;if(0===i.length)return new ul(i);var n,r,s,a=!0,p=i[0].M();for(r=1,s=i.length;r<s;++r)if(n=i[r],n.M()!=p){a=!1;break}if(a){if("Point"==p){for(n=i[0],a=n.a,p=n.j,r=1,s=i.length;r<s;++r)n=i[r],F(p,n.j);return n=new Cl(null),ia(n,a,p),n.k(),Iy(n,i),n}return"LineString"==p?(n=new xl(null),Ml(n,i),Iy(n,i),n):"Polygon"==p?(n=new El(null),Rl(n,i),Iy(n,i),n):"GeometryCollection"==p?new ul(i):null}return new ul(i)}function Ly(t,e){var o=eu({},oS,t,e),i=eu(null,sS,t,e);if(null!=i){var n=new Ta(null);return Ma(n,"XYZ",i),n.t(o),n}}function Ny(t,e){var o=eu({},oS,t,e),i=eu([null],nS,t,e);if(null!=i&&null!==i[0]){var n,r,s=new Fa(null),a=i[0],p=[a.length];for(n=1,r=i.length;n<r;++n)F(a,i[n]),p.push(a.length);return Ua(s,"XYZ",a,p),s.t(o),s}}function jy(e,o){var i=eu({},xS,e,o);if(!t(i))return null;var n=ot(i,"fillStyle",zx),r=i.fill;t(r)&&!r&&(n=null);var r=ot(i,"imageStyle",Yx),s=ot(i,"textStyle",_x),a=ot(i,"strokeStyle",Zx),i=i.outline;return t(i)&&!i&&(a=null),[new ip({fill:n,image:r,stroke:a,text:s,zIndex:void 0})]}function Iy(e,o){var i,n,r,s,a=o.length,p=Array(o.length),l=Array(o.length);for(r=s=!1,n=0;n<a;++n)i=o[n],p[n]=i.get("extrude"),l[n]=i.get("altitudeMode"),r=r||t(p[n]),s=s||t(l[n]);r&&e.set("extrude",p),s&&e.set("altitudeMode",l)}function Dy(t,e){tu(eS,t,e)}function Fy(e,o){var i;for(i=o.firstChild;null!==i;i=i.nextSibling)if(1==i.nodeType){var n=Oy(e,i);if(t(n))return n}}function Oy(e,o){var i;for(i=o.firstElementChild;null!==i;i=i.nextElementSibling)if(N(Xx,i.namespaceURI)&&"name"==i.localName)return Df(i);for(i=o.firstElementChild;null!==i;i=i.nextElementSibling){var n=Gw(i);if(N(Xx,i.namespaceURI)&&("Document"==n||"Folder"==n||"Placemark"==n||"kml"==n)&&(n=Oy(e,i),t(n)))return n}}function By(t,e){var o,i=[];for(o=e.firstChild;null!==o;o=o.nextSibling)1==o.nodeType&&F(i,Uy(t,o));return i}function Uy(t,e){var o,i=[];for(o=e.firstElementChild;null!==o;o=o.nextElementSibling)if(N(Xx,o.namespaceURI)&&"NetworkLink"==o.localName){var n=eu({},yS,o,[]);i.push(n)}for(o=e.firstElementChild;null!==o;o=o.nextElementSibling)n=Gw(o),!N(Xx,o.namespaceURI)||"Document"!=n&&"Folder"!=n&&"kml"!=n||F(i,Uy(t,o));return i}function Gy(t,e){var o,i=ii(e),i=[255*(4==i.length?i[3]:1),i[2],i[1],i[0]];for(o=0;4>o;++o){var n=parseInt(i[o],10).toString(16);i[o]=1==n.length?"0"+n:n}Uf(t,i.join(""))}function qy(t,e,o){iu({P:t},DS,YS,[e],o)}function Hy(e,o,i){var n={P:e};null!=o.$&&e.setAttribute("id",o.$),e=o.D();var r=o.c;t(r)&&(r=r.call(o,0),null!==r&&0<r.length&&(e.Style=r[0],r=r[0].a,null===r||(e.name=r.c))),r=OS[i[i.length-1].P.namespaceURI],e=Jh(e,r),iu(n,BS,zw,e,i,r),e=i[0],o=o.Q(),null!=o&&(o=ff(o,!0,e)),iu(n,BS,Vy,[o],i)}function $y(t,e,o){var i=e.j;t={P:t},t.layout=e.a,t.stride=e.s,iu(t,US,WS,[i],o)}function Xy(t,e,o){e=e.Ed();var i=e.shift();t={P:t},iu(t,GS,zS,e,o),iu(t,GS,_S,[i],o)}function Wy(t,e){Of(t,e*e)}function zy(t,e,o){return Uw($x[0],"gx:"+o)}function Ky(t,e){return Uw(e[e.length-1].P.namespaceURI,"Placemark")}function Vy(t,e){if(null!=t)return Uw(e[e.length-1].P.namespaceURI,ES[t.M()])}function Yy(){this.defaultDataProjection=null,this.defaultDataProjection=xo("EPSG:4326")}function Zy(t,e){e[e.length-1].od[t.getAttribute("k")]=t.getAttribute("v")}function _y(t){return t.getAttributeNS("http://www.w3.org/1999/xlink","href")}function Jy(){}function Qy(){}function td(e,o,i,n){var r;t(n)?r=t(void 0)?void 0:0:(n=[],r=0);var s,a;for(s=0;s<o;)for(a=e[s++],n[r++]=e[s++],n[r++]=a,a=2;a<i;++a)n[r++]=e[s++];n.length=r}function ed(e){e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo("EPSG:4326"),this.b=t(e.factor)?e.factor:1e5,this.a=t(e.geometryLayout)?e.geometryLayout:"XY"}function od(e,o,i){i=t(i)?i:1e5;var n,r=Array(o);for(n=0;n<o;++n)r[n]=0;var s,a;for(s=0,a=e.length;s<a;)for(n=0;n<o;++n,++s){var p=e[s],l=p-r[n];r[n]=p,e[s]=l}return nd(e,i)}function id(e,o,i){var n=t(i)?i:1e5,r=Array(o);for(i=0;i<o;++i)r[i]=0;e=rd(e,n);var s,n=0;for(s=e.length;n<s;)for(i=0;i<o;++i,++n)r[i]+=e[n],e[n]=r[i];return e}function nd(e,o){var i,n,r=t(o)?o:1e5;for(i=0,n=e.length;i<n;++i)e[i]=Math.round(e[i]*r);for(r=0,i=e.length;r<i;++r)n=e[r],e[r]=0>n?~(n<<1):n<<1;for(r="",i=0,n=e.length;i<n;++i){for(var s=e[i],a=void 0,p="";32<=s;)a=(32|31&s)+63,p+=String.fromCharCode(a),s>>=5;a=s+63,p+=String.fromCharCode(a),r+=p}return r}function rd(e,o){var i,n,r=t(o)?o:1e5,s=[],a=0,p=0;for(i=0,n=e.length;i<n;++i){var l=e.charCodeAt(i)-63,a=a|(31&l)<<p;32>l?(s.push(a),p=a=0):p+=5}for(a=0,p=s.length;a<p;++a)i=s[a],s[a]=1&i?~(i>>1):i>>1;for(a=0,p=s.length;a<p;++a)s[a]/=r;return s}function sd(e){e=t(e)?e:{},this.defaultDataProjection=null,this.defaultDataProjection=xo(null!=e.defaultDataProjection?e.defaultDataProjection:"EPSG:4326")}function ad(t,e){var o,i,n,r,s=[];for(n=0,r=t.length;n<r;++n)o=t[n],0<n&&s.pop(),i=0<=o?e[o]:e[~o].slice().reverse(),s.push.apply(s,i);for(o=0,i=s.length;o<i;++o)s[o]=s[o].slice();return s}function pd(t,e,o,i,n){t=t.geometries;var r,s,a=[];for(r=0,s=t.length;r<s;++r)a[r]=ld(t[r],e,o,i,n);return a}function ld(e,o,i,n,r){var s=e.type,a=vT[s];return o="Point"===s||"MultiPoint"===s?a(e,i,n):a(e,o),i=new af,i.La(ff(o,!1,r)),t(e.id)&&i.Qb(e.id),t(e.properties)&&i.t(e.properties),i}function hd(t,e,o){t[0]=t[0]*e[0]+o[0],t[1]=t[1]*e[1]+o[1]}function ud(e){e=t(e)?e:{},this.e=e.featureType,this.c=e.featureNS,this.b=t(e.gmlFormat)?e.gmlFormat:new Gf,this.d=t(e.schemaLocation)?e.schemaLocation:"http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd",this.defaultDataProjection=null}function cd(t,e){for(var o=e.firstChild;null!==o;o=o.nextSibling)if(1==o.nodeType)return fd(t,o)}function fd(t,e){var o={},i=If(e.getAttribute("numberOfFeatures"));return o.numberOfFeatures=i,eu(o,mT,e,[],t.b)}function yd(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return eu({},ST,t,[])}function dd(t,e){var o=Uw("http://www.opengis.net/ogc","Filter"),i=Uw("http://www.opengis.net/ogc","FeatureId");o.appendChild(i),i.setAttribute("fid",e),t.appendChild(o)}function gd(e){e=t(e)?e:{},this.defaultDataProjection=null,this.b=!!t(e.splitCollection)&&e.splitCollection}function vd(t){return t=t.K(),0==t.length?"":t[0]+" "+t[1]}function md(t){t=t.K();for(var e=[],o=0,i=t.length;o<i;++o)e.push(t[o][0]+" "+t[o][1]);return e.join(",")}function bd(t){var e=[];t=t.Ed();for(var o=0,i=t.length;o<i;++o)e.push("("+md(t[o])+")");return e.join(",")}function wd(t){var e=t.M();return t=(0,ET[e])(t),e=e.toUpperCase(),0===t.length?e+" EMPTY":e+"("+t+")"}function xd(t){this.a=t,this.b=-1}function Sd(e,o){var i=!!t(o)&&o;return"0"<=e&&"9">=e||"."==e&&!i}function Td(t){var e=t.a.charAt(++t.b),o={position:t.b,value:e};if("("==e)o.type=2;else if(","==e)o.type=5;else if(")"==e)o.type=3;else if(Sd(e)||"-"==e){o.type=4;var i,e=t.b,n=!1;do"."==i&&(n=!0),i=t.a.charAt(++t.b);while(Sd(i,n));t=parseFloat(t.a.substring(e,t.b--)),o.value=t}else if("a"<=e&&"z">=e||"A"<=e&&"Z">=e){o.type=1,e=t.b;do i=t.a.charAt(++t.b);while("a"<=i&&"z">=i||"A"<=i&&"Z">=i);t=t.a.substring(e,t.b--).toUpperCase(),o.value=t}else{if(" "==e||"\t"==e||"\r"==e||"\n"==e)return Td(t);if(""!==e)throw Error("Unexpected character: "+e);o.type=6}return o}function Md(t){this.a=t}function Cd(e){var o=e.b;if(e.match(1)){var i=o.value;if("GEOMETRYCOLLECTION"==i){t:{if(e.match(2)){o=[];do o.push(Cd(e));while(e.match(5));if(e.match(3)){e=o;break t}}else if(Ad(e)){e=[];break t}throw Error(Rd(e))}return new ul(e)}var n=kT[i],o=PT[i];if(!t(n)||!t(o))throw Error("Invalid geometry type: "+i);return e=n.call(e),new o(e)}throw Error(Rd(e))}function Ed(t){for(var e=[],o=0;2>o;++o){var i=t.b;if(!t.match(4))break;e.push(i.value)}if(2==e.length)return e;throw Error(Rd(t))}function Pd(t){for(var e=[Ed(t)];t.match(5);)e.push(Ed(t));return e}function kd(t){for(var e=[t.kf()];t.match(5);)e.push(t.kf());return e}function Ad(t){var e=1==t.b.type&&"EMPTY"==t.b.value;return e&&(t.b=Td(t.a)),e}function Rd(t){return"Unexpected `"+t.b.value+"` at position "+t.b.position+" in `"+t.a.a+"`"}function Ld(){this.version=void 0}function Nd(t,e){return eu({},WT,t,e)}function jd(t,e){return eu({},qT,t,e)}function Id(e,o){var i=Nd(e,o);if(t(i)){var n=[If(e.getAttribute("width")),If(e.getAttribute("height"))];return i.size=n,i}}function Dd(t,e){return eu([],zT,t,e)}function Fd(){this.c="http://mapserver.gis.umn.edu/mapserver",this.b=new Hf,this.defaultDataProjection=null}function Od(e,o,i){o.namespaceURI=e.c;var n=Gw(o),r=[];return 0===o.childNodes.length?r:("msGMLOutput"==n&&E(o.childNodes,function(e){if(1===e.nodeType){var o,n=i[0],s=e.localName,a=RegExp;o="_layer".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"),a=new a(o,""),s=s.replace(a,"")+"_feature",n.featureType=s,n.featureNS=this.c,a={},a[s]=Xh(this.b.nf,this.b),n=Vh([n.featureNS,null],a),e.namespaceURI=this.c,e=eu([],n,e,i,this.b),t(e)&&F(r,e)}},e),"FeatureCollection"==n&&(e=eu([],e.b.b,o,[{}],e.b),t(e)&&(r=e)),r)}function Bd(){this.d=new Qy}function Ud(e){var o=Df(e).split(" ");if(t(o)&&2==o.length)return e=+o[0],o=+o[1],isNaN(e)||isNaN(o)?void 0:[e,o]}function Gd(e){re.call(this),e=t(e)?e:{},this.a=null,this.d=Co,this.c=void 0,qt(this,se("projection"),this.Vk,!1,this), +qt(this,se("tracking"),this.Wk,!1,this),t(e.projection)&&this.ug(xo(e.projection)),t(e.trackingOptions)&&this.Dh(e.trackingOptions),this.Zd(!!t(e.tracking)&&e.tracking)}function qd(t,e,o){for(var i,n,r,s,a,p=[],l=t(0),h=t(1),u=e(l),c=e(h),f=[h,l],y=[c,u],d=[1,0],g={},v=1e5;0<--v&&0<d.length;)r=d.pop(),l=f.pop(),u=y.pop(),h=r.toString(),h in g||(p.push(u[0],u[1]),g[h]=!0),s=d.pop(),h=f.pop(),c=y.pop(),a=(r+s)/2,i=t(a),n=e(i),aa(n[0],n[1],u[0],u[1],c[0],c[1])<o?(p.push(c[0],c[1]),h=s.toString(),g[h]=!0):(d.push(s,a,a,r),y.push(c,n,n,u),f.push(h,i,i,l));return p}function Hd(t,e,o,i,n){var r=xo("EPSG:4326");return qd(function(i){return[t,e+(o-e)*i]},To(r,i),n)}function $d(t,e,o,i,n){var r=xo("EPSG:4326");return qd(function(i){return[e+(o-e)*i,t]},To(r,i),n)}function Xd(e){e=t(e)?e:{},this.i=this.g=null,this.d=this.c=1/0,this.f=this.e=-(1/0),this.n=t(e.targetSize)?e.targetSize:100,this.U=t(e.maxLines)?e.maxLines:100,this.b=[],this.a=[],this.V=t(e.strokeStyle)?e.strokeStyle:nM,this.o=this.q=void 0,this.l=null,this.setMap(t(e.map)?e.map:null)}function Wd(e,o,i,n,r){var s=r;return o=Hd(o,e.e,e.c,e.i,i),s=t(e.b[s])?e.b[s]:new ml(null),wl(s,"XY",o),ro(s.G(),n)&&(e.b[r++]=s),r}function zd(e,o,i,n,r){var s=r;return o=$d(o,e.f,e.d,e.i,i),s=t(e.a[s])?e.a[s]:new ml(null),wl(s,"XY",o),ro(s.G(),n)&&(e.a[r++]=s),r}function Kd(t,e,o,i,n,r,s){_r.call(this,t,e,o,0,i),this.i=n,this.a=new Image,null!==r&&(this.a.crossOrigin=r),this.d={},this.c=null,this.state=0,this.g=s}function Vd(t,e,o,i,n){nn.call(this,t,e),this.g=o,this.a=new Image,null!==i&&(this.a.crossOrigin=i),this.c={},this.e=null,this.i=n}function Yd(t){E(t.e,zt),t.e=null}function Zd(t,e,o){return function(i,n,r){return o(t,e,i,n,r)}}function _d(){}function Jd(t,e){Qt.call(this),this.b=new Wc(this);var o=t;e&&(o=Mi(t)),this.b.Ka(o,"dragenter",this.$m),o!=t&&this.b.Ka(o,"dragover",this.an),this.b.Ka(t,"dragover",this.bn),this.b.Ka(t,"drop",this.cn)}function Qd(t,e){this.e=[],this.U=t,this.o=e||null,this.d=this.b=!1,this.c=void 0,this.q=this.V=this.g=!1,this.f=0,this.a=null,this.i=0}function tg(t,e,o){t.b=!0,t.c=o,t.d=!e,ng(t)}function eg(t){if(t.b){if(!t.q)throw new rg;t.q=!1}}function og(t,e,o,i){t.e.push([e,o,i]),t.b&&ng(t)}function ig(t){return A(t.e,function(t){return h(t[1])})}function ng(e){if(e.f&&e.b&&ig(e)){var o=e.f,i=sM[o];i&&(sm.clearTimeout(i.$),delete sM[o]),e.f=0}e.a&&(e.a.i--,delete e.a);for(var o=e.c,n=i=!1;e.e.length&&!e.g;){var r=e.e.shift(),s=r[0],a=r[1],r=r[2];if(s=e.d?a:s)try{var p=s.call(r||e.o,o);t(p)&&(e.d=e.d&&(p==o||p instanceof Error),e.c=o=p),ql(o)&&(n=!0,e.g=!0)}catch(l){o=l,e.d=!0,ig(e)||(i=!0)}}e.c=o,n&&(p=d(e.l,e,!0),n=d(e.l,e,!1),o instanceof Qd?(og(o,p,n),o.V=!0):o.then(p,n)),i&&(o=new ag(o),sM[o.$]=o,e.f=o.$)}function rg(){m.call(this)}function sg(){m.call(this)}function ag(t){this.$=sm.setTimeout(d(this.a,this),0),this.b=t}function pg(e,o){t(e.name)?(this.name=e.name,this.code=aM[e.name]):(this.code=e.code,this.name=lg(e.code)),m.call(this,w("%s %s",this.name,o))}function lg(e){var o=J(aM,function(t){return e==t});if(!t(o))throw Error("Invalid code: "+e);return o}function hg(t,e){Et.call(this,t.type,e)}function ug(){Qt.call(this),this.Ya=new FileReader,this.Ya.onloadstart=d(this.b,this),this.Ya.onprogress=d(this.b,this),this.Ya.onload=d(this.b,this),this.Ya.onabort=d(this.b,this),this.Ya.onerror=d(this.b,this),this.Ya.onloadend=d(this.b,this)}function cg(t){var e=new Qd;return t.Ka("loadend",g(function(t,e){var o=e.Ya.result,i=e.getError();null==o||i?(eg(t),tg(t,!1,i)):(eg(t),tg(t,!0,o)),e.Yc()},e,t)),e}function fg(e){e=t(e)?e:{},As.call(this,{handleEvent:lb}),this.f=t(e.formatConstructors)?e.formatConstructors:[],this.o=t(e.projection)?xo(e.projection):null,this.e=null,this.a=void 0}function yg(t,e,o,i,n){Et.call(this,t,e),this.features=i,this.file=o,this.projection=n}function dg(t,e){this.x=t,this.y=e}function gg(e){e=t(e)?e:{},Hs.call(this,{handleDownEvent:bg,handleDragEvent:vg,handleUpEvent:mg}),this.i=t(e.condition)?e.condition:Us,this.a=this.f=void 0,this.g=0,this.n=t(e.duration)?e.duration:400}function vg(e){if(qs(e)){var o=e.map,i=o.xa();e=e.pixel,e=new dg(e[0]-i[0]/2,i[1]/2-e[1]),i=Math.atan2(e.y,e.x),e=Math.sqrt(e.x*e.x+e.y*e.y);var n=o.R(),r=jo(n);o.render(),t(this.f)&&Rs(o,n,r.rotation-(i-this.f)),this.f=i,t(this.a)&&Ns(o,n,r.resolution/e*this.a),t(this.a)&&(this.g=this.a/e),this.a=e}}function mg(t){if(!qs(t))return!0;t=t.map;var e=t.R();Do(e,-1);var o=jo(e),i=this.g-1,n=o.rotation,n=e.constrainRotation(n,0);return Rs(t,e,n,void 0,void 0),o=o.resolution,n=this.n,o=e.constrainResolution(o,0,i),Ns(t,e,o,void 0,n),this.g=0,!1}function bg(t){return!(!qs(t)||!this.i(t))&&(Do(t.map.R(),1),this.a=this.f=void 0,!0)}function wg(t,e){Et.call(this,t),this.feature=e}function xg(e){Hs.call(this,{handleDownEvent:Mg,handleEvent:Tg,handleUpEvent:Cg}),this.N=null,this.H=!1,this.Ga=t(e.source)?e.source:null,this.oa=t(e.features)?e.features:null,this.gi=t(e.snapTolerance)?e.snapTolerance:12,this.Nc=t(e.minPointsPerRing)?e.minPointsPerRing:3;var o,i=this.L=e.type;"Point"===i||"MultiPoint"===i?o=lM:"LineString"===i||"MultiLineString"===i?o=hM:"Polygon"===i||"MultiPolygon"===i?o=uM:"Circle"===i&&(o=cM),this.a=o,this.f=this.n=this.p=this.g=this.i=null,this.T=new pf({style:t(e.style)?e.style:Sg()}),this.Fa=e.geometryName,this.Ee=t(e.condition)?e.condition:Bs,this.ba=t(e.freehandCondition)?e.freehandCondition:Us,qt(this,se("active"),this.Ra,!1,this)}function Sg(){var t=sp();return function(e){return t[e.Q().M()]}}function Tg(t){var e=!this.H;return this.H&&t.type===Zb?(Ag(this,t),e=!1):t.type===_b?e=Eg(this,t):t.type===Yb&&(e=!1),Xs.call(this,t)&&e}function Mg(t){return this.Ee(t)?(this.N=t.pixel,!0):!(this.a!==hM&&this.a!==uM||!this.ba(t))&&(this.N=t.pixel,this.H=!0,null===this.i&&kg(this,t),!0)}function Cg(t){this.H=!1;var e=this.N,o=t.pixel,i=e[0]-o[0],e=e[1]-o[1],o=!0;return 4>=i*i+e*e&&(Eg(this,t),null===this.i?kg(this,t):(this.a===lM||this.a===cM)&&null!==this.i||Pg(this,t)?this.X():Ag(this,t),o=!1),o}function Eg(t,e){if(t.a===lM&&null===t.i)kg(t,e);else if(null===t.i){var o=e.coordinate.slice();null===t.p?(t.p=new af(new Ta(o)),Lg(t)):t.p.Q().W(o)}else{var i,n,o=e.coordinate,r=t.g.Q();t.a===lM?(n=r.K(),n[0]=o[0],n[1]=o[1],r.W(n)):(t.a===hM?i=r.K():t.a===uM?i=t.f[0]:t.a===cM&&(i=r.dd()),Pg(t,e)&&(o=t.i.slice()),t.p.Q().W(o),n=i[i.length-1],n[0]=o[0],n[1]=o[1],t.a===hM?r.W(i):t.a===uM?(n=t.n.Q(),n.W(i),r.W(t.f)):t.a===cM&&(n=t.n.Q(),n.W([r.dd(),o]),r.Ag(n.Bg()))),Lg(t)}return!0}function Pg(t,e){var o=!1;if(null!==t.g){var i=t.g.Q(),n=!1,r=[t.i];if(t.a===hM?n=2<i.K().length:t.a===uM&&(n=i.K()[0].length>t.Nc,r=[t.f[0][0],t.f[0][t.f[0].length-2]]),n)for(var i=e.map,n=0,s=r.length;n<s;n++){var a=r[n],p=i.ta(a),l=e.pixel,o=l[0]-p[0],p=l[1]-p[1],l=t.H&&t.ba(e)?1:t.gi;if(o=Math.sqrt(o*o+p*p)<=l){t.i=a;break}}}return o}function kg(e,o){var i=o.coordinate;e.i=i;var n;e.a===lM?n=new Ta(i.slice()):e.a===hM?n=new ml([i.slice(),i.slice()]):e.a===uM?(e.n=new af(new ml([i.slice(),i.slice()])),e.f=[[i.slice(),i.slice()]],n=new Fa(e.f)):e.a===cM&&(n=new ll(i.slice(),0),e.n=new af(new ml([i.slice(),i.slice()]))),e.g=new af,t(e.Fa)&&e.g.Ic(e.Fa),e.g.La(n),Lg(e),e.dispatchEvent(new wg("drawstart",e.g))}function Ag(t,e){var o,i=e.coordinate,n=t.g.Q();t.a===hM?(t.i=i.slice(),o=n.K(),o.push(i.slice()),n.W(o)):t.a===uM&&(t.f[0].push(i.slice()),n.W(t.f)),Lg(t)}function Rg(t){t.i=null;var e=t.g;return null!==e&&(t.g=null,t.p=null,t.n=null,t.T.b.clear()),e}function Lg(t){var e=[];null===t.g||e.push(t.g),null===t.n||e.push(t.n),null===t.p||e.push(t.p),t.T.ld(new ei(e))}function Ng(e){Hs.call(this,{handleDownEvent:Dg,handleDragEvent:Fg,handleEvent:Bg,handleUpEvent:Og}),this.X=t(e.deleteCondition)?e.deleteCondition:fn(Bs,Os),this.T=this.f=null,this.L=[0,0],this.a=new au,this.i=t(e.pixelTolerance)?e.pixelTolerance:10,this.N=!1,this.g=null,this.n=new pf({style:t(e.style)?e.style:qg()}),this.H={Point:this.Bl,LineString:this.Dg,LinearRing:this.Dg,Polygon:this.Cl,MultiPoint:this.zl,MultiLineString:this.yl,MultiPolygon:this.Al,GeometryCollection:this.xl},this.p=e.features,this.p.forEach(this.Cg,this),qt(this.p,"add",this.vl,!1,this),qt(this.p,"remove",this.wl,!1,this)}function jg(t,e){var o=t.f;null===o?(o=new af(new Ta(e)),t.f=o,t.n.pg(o)):o.Q().W(e)}function Ig(t,e){return t.index-e.index}function Dg(t){Ug(this,t.pixel,t.map),this.g=[];var e=this.f;if(null!==e){t=[];var e=e.Q().K(),o=je([e]),o=lu(this.a,o),i={};o.sort(Ig);for(var n=0,r=o.length;n<r;++n){var s=o[n],a=s.aa,p=c(s.feature),l=s.depth;l&&(p+="-"+l.join("-")),i[p]||(i[p]=Array(2)),de(a[0],e)&&!i[p][0]?(this.g.push([s,0]),i[p][0]=s):de(a[1],e)&&!i[p][1]?("LineString"!==s.geometry.M()&&"MultiLineString"!==s.geometry.M()||!i[p][0]||0!==i[p][0].index)&&(this.g.push([s,1]),i[p][1]=s):c(a)in this.T&&!i[p][0]&&!i[p][1]&&t.push([s,e])}for(n=t.length-1;0<=n;--n)this.qk.apply(this,t[n])}return null!==this.f}function Fg(t){t=t.coordinate;for(var e=0,o=this.g.length;e<o;++e){for(var i=this.g[e],n=i[0],r=n.depth,s=n.geometry,a=s.K(),p=n.aa,i=i[1];t.length<s.s;)t.push(0);switch(s.M()){case"Point":a=t,p[0]=p[1]=t;break;case"MultiPoint":a[n.index]=t,p[0]=p[1]=t;break;case"LineString":a[n.index+i]=t,p[i]=t;break;case"MultiLineString":a[r[0]][n.index+i]=t,p[i]=t;break;case"Polygon":a[r[0]][n.index+i]=t,p[i]=t;break;case"MultiPolygon":a[r[1]][r[0]][n.index+i]=t,p[i]=t}s.W(a)}jg(this,t)}function Og(){for(var t,e=this.g.length-1;0<=e;--e)t=this.g[e][0],this.a.update(je(t.aa),t);return!1}function Bg(e){var o;if(e.map.R().c.slice()[1]||e.type!=_b||this.o||(this.L=e.pixel,Ug(this,e.pixel,e.map)),null!==this.f&&this.X(e)){this.f.Q(),o=this.g;var i,n,r,s,a,p,l,h,u,f={};for(a=o.length-1;0<=a;--a)if(r=o[a],h=r[0],s=h.geometry,n=s.K(),u=c(h.feature),h.depth&&(u+="-"+h.depth.join("-")),i=l=p=void 0,0===r[1]?(l=h,p=h.index):1==r[1]&&(i=h,p=h.index+1),u in f||(f[u]=[i,l,p]),r=f[u],t(i)&&(r[0]=i),t(l)&&(r[1]=l),t(r[0])&&t(r[1])){switch(i=n,u=!1,l=p-1,s.M()){case"MultiLineString":n[h.depth[0]].splice(p,1),u=!0;break;case"LineString":n.splice(p,1),u=!0;break;case"MultiPolygon":i=i[h.depth[1]];case"Polygon":i=i[h.depth[0]],4<i.length&&(p==i.length-1&&(p=0),i.splice(p,1),u=!0,0===p&&(i.pop(),i.push(i[0]),l=i.length-1))}u&&(this.a.remove(r[0]),this.a.remove(r[1]),s.W(n),n={depth:h.depth,feature:h.feature,geometry:h.geometry,index:l,aa:[r[0].aa[0],r[1].aa[1]]},this.a.ha(je(n.aa),n),Gg(this,s,p,h.depth,-1),this.n.Yd(this.f),this.f=null)}o=!0}return Xs.call(this,e)&&!o}function Ug(t,e,o){function i(t,e){return me(n,t.aa)-me(n,e.aa)}var n=o.ka(e),r=o.ka([e[0]-t.i,e[1]+t.i]),s=o.ka([e[0]+t.i,e[1]-t.i]),r=je([r,s]),r=lu(t.a,r);if(0<r.length){r.sort(i);var s=r[0].aa,a=ce(n,s),p=o.ta(a);if(Math.sqrt(ve(e,p))<=t.i){for(e=o.ta(s[0]),o=o.ta(s[1]),e=ve(p,e),o=ve(p,o),t.N=Math.sqrt(Math.min(e,o))<=t.i,t.N&&(a=e>o?s[1]:s[0]),jg(t,a),o={},o[c(s)]=!0,e=1,p=r.length;e<p&&(a=r[e].aa,de(s[0],a[0])&&de(s[1],a[1])||de(s[0],a[1])&&de(s[1],a[0]));++e)o[c(a)]=!0;return void(t.T=o)}}null!==t.f&&(t.n.Yd(t.f),t.f=null)}function Gg(e,o,i,n,r){hu(e.a,o.G(),function(e){e.geometry===o&&(!t(n)||G(e.depth,n))&&e.index>i&&(e.index+=r)})}function qg(){var t=sp();return function(){return t.Point}}function Hg(t,e,o){Et.call(this,t),this.selected=e,this.deselected=o}function $g(e){As.call(this,{handleEvent:Xg}),e=t(e)?e:{},this.o=t(e.condition)?e.condition:Os,this.g=t(e.addCondition)?e.addCondition:pb,this.H=t(e.removeCondition)?e.removeCondition:pb,this.L=t(e.toggleCondition)?e.toggleCondition:Us,this.i=!!t(e.multi)&&e.multi,this.e=t(e.filter)?e.filter:lb;var o;if(t(e.layers))if(h(e.layers))o=e.layers;else{var i=e.layers;o=function(t){return N(i,t)}}else o=lb;this.f=o,this.a=new pf({style:t(e.style)?e.style:Wg()}),e=this.a.b,qt(e,"add",this.n,!1,this),qt(e,"remove",this.J,!1,this)}function Xg(t){if(!this.o(t))return!0;var e=this.g(t),o=this.H(t),i=this.L(t),n=t.map,r=this.a.b,s=[],a=[],p=!1;if(e||o||i){for(n.Ne(t.pixel,function(t,n){-1==C(r.a,t)?(e||i)&&this.e(t,n)&&a.push(t):(o||i)&&s.push(t)},this,this.f),n=s.length-1;0<=n;--n)r.remove(s[n]);r.af(a),(0<a.length||0<s.length)&&(p=!0)}else n.Ne(t.pixel,function(t,e){if(this.e(t,e))return a.push(t),!this.i},this,this.f),0<a.length&&1==r.Ib()&&r.item(0)==a[0]||(p=!0,0!==r.Ib()&&(s=Array.prototype.concat(r.a),r.clear()),r.af(a));return p&&this.dispatchEvent(new Hg("select",a,s)),Fs(t)}function Wg(){var t=sp();return F(t.Polygon,t.LineString),F(t.GeometryCollection,t.LineString),function(e){return t[e.Q().M()]}}function zg(e){Hs.call(this,{handleEvent:Kg,handleDownEvent:lb,handleUpEvent:Vg}),e=t(e)?e:{},this.i=t(e.source)?e.source:null,this.g=t(e.features)?e.features:null,this.X=[],this.p={},this.H={},this.N={},this.n={},this.L=null,this.f=t(e.pixelTolerance)?e.pixelTolerance:10,this.ba=d(Yg,this),this.a=new au,this.T={Point:this.Il,LineString:this.Gg,LinearRing:this.Gg,Polygon:this.Jl,MultiPoint:this.Gl,MultiLineString:this.Fl,MultiPolygon:this.Hl,GeometryCollection:this.El}}function Kg(t){var e,o,i=t.pixel,n=t.coordinate;e=t.map;var r=e.ka([i[0]-this.f,i[1]+this.f]);o=e.ka([i[0]+this.f,i[1]-this.f]);var r=je([r,o]),s=lu(this.a,r),a=!1,r=!1,p=null;return o=null,0<s.length&&(this.L=n,s.sort(this.ba),s=s[0].aa,p=ce(n,s),o=e.ta(p),Math.sqrt(ve(i,o))<=this.f&&(r=!0,i=e.ta(s[0]),n=e.ta(s[1]),i=ve(o,i),n=ve(o,n),a=Math.sqrt(Math.min(i,n))<=this.f))&&(p=i>n?s[1]:s[0],o=e.ta(p),o=[Math.round(o[0]),Math.round(o[1])]),e=p,r&&(t.coordinate=e.slice(0,2),t.pixel=o),Xs.call(this,t)}function Vg(){var t=V(this.n);return t.length&&(E(t,this.Jh,this),this.n={}),!1}function Yg(t,e){return me(this.L,t.aa)-me(this.L,e.aa)}function Zg(e){e=t(e)?e:{};var o=nt(e);delete o.gradient,delete o.radius,delete o.blur,delete o.shadow,delete o.weight,Np.call(this,o),this.d=null,this.L=t(e.shadow)?e.shadow:250,this.p=void 0,this.l=null,qt(this,se("gradient"),this.Pj,!1,this),this.yh(t(e.gradient)?e.gradient:fM),this.th(t(e.blur)?e.blur:15),this.Ig(t(e.radius)?e.radius:8),qt(this,[se("blur"),se("radius")],this.hg,!1,this),this.hg();var i,n=t(e.weight)?e.weight:"weight";i=p(n)?function(t){return t.get(n)}:n,this.e(d(function(e){e=i(e),e=t(e)?lt(e,0,1):1;var o=255*e|0,n=this.l[o];return t(n)||(n=[new ip({image:new us({opacity:e,src:this.p})})],this.l[o]=n),n},this)),this.set("renderOrder",null),qt(this,"render",this.hk,!1,this)}function _g(t,e){var o=e||{},i=o.document||document,n=gi("SCRIPT"),r={sh:n,oc:void 0},s=new Qd(Qg,r),a=null,p=null!=o.timeout?o.timeout:5e3;return 0<p&&(a=window.setTimeout(function(){tv(n,!0);var e=new ev(dM,"Timeout reached for loading script "+t);eg(s),tg(s,!1,e)},p),r.oc=a),n.onload=n.onreadystatechange=function(){n.readyState&&"loaded"!=n.readyState&&"complete"!=n.readyState||(tv(n,o.Bi||!1,a),eg(s),tg(s,!0,null))},n.onerror=function(){tv(n,!0,a);var e=new ev(yM,"Error while loading script "+t);eg(s),tg(s,!1,e)},ci(n,{type:"text/javascript",charset:"UTF-8",src:t}),Jg(i).appendChild(n),s}function Jg(t){var e=t.getElementsByTagName("HEAD");return e&&0!=e.length?e[0]:t.documentElement}function Qg(){if(this&&this.sh){var t=this.sh;t&&"SCRIPT"==t.tagName&&tv(t,!0,this.oc)}}function tv(t,e,i){null!=i&&sm.clearTimeout(i),t.onload=o,t.onerror=o,t.onreadystatechange=o,e&&window.setTimeout(function(){wi(t)},0)}function ev(t,e){var o="Jsloader error (code #"+t+")";e&&(o+=": "+e),m.call(this,o),this.code=t}function ov(t,e){this.a=new ry(t),this.b=e?e:"callback",this.oc=5e3}function iv(t,e,o){return function(){rv(t,!1),o&&o(e)}}function nv(t,e){return function(o){rv(t,!0),e.apply(void 0,arguments)}}function rv(t,e){sm._callbacks_[t]&&(e?delete sm._callbacks_[t]:sm._callbacks_[t]=o)}function sv(t){var e=/\{z\}/g,o=/\{x\}/g,i=/\{y\}/g,n=/\{-y\}/g;return function(r){return null===r?void 0:t.replace(e,r[0].toString()).replace(o,r[1].toString()).replace(i,r[2].toString()).replace(n,function(){return((1<<r[0])-r[2]-1).toString()})}}function av(t){return pv(k(t,sv))}function pv(t){return 1===t.length?t[0]:function(e,o,i){return null===e?void 0:t[ht((e[1]<<e[0])+e[2],t.length)](e,o,i)}}function lv(){}function hv(t,e){var o=[0,0,0];return function(i,n,r){return null===i?void 0:e(t(i,r,o),n,r)}}function uv(t){var e=[],o=/\{(\d)-(\d)\}/.exec(t)||/\{([a-z])-([a-z])\}/.exec(t);if(o){var i,n=o[2].charCodeAt(0);for(i=o[1].charCodeAt(0);i<=n;++i)e.push(t.replace(o[0],String.fromCharCode(i)))}else e.push(t);return e}function cv(e){En.call(this,{attributions:e.attributions,extent:e.extent,logo:e.logo,opaque:e.opaque,projection:e.projection,state:t(e.state)?e.state:void 0,tileGrid:e.tileGrid,tilePixelRatio:e.tilePixelRatio,wrapX:e.wrapX}),this.tileUrlFunction=t(e.tileUrlFunction)?e.tileUrlFunction:lv,this.crossOrigin=t(e.crossOrigin)?e.crossOrigin:null,this.tileLoadFunction=t(e.tileLoadFunction)?e.tileLoadFunction:fv,this.tileClass=t(e.tileClass)?e.tileClass:Vd}function fv(t,e){t.Ma().src=e}function yv(e){var o,i=t(e.extent)?e.extent:sw;t(e.tileSize)&&(o=he(e.tileSize)),o=Mn(i,e.maxZoom,o),yn.call(this,{minZoom:e.minZoom,origin:Je(i,"top-left"),resolutions:o,tileSize:e.tileSize})}function dv(e){cv.call(this,{crossOrigin:"anonymous",opaque:!0,projection:xo("EPSG:3857"),state:"loading",tileLoadFunction:e.tileLoadFunction,wrapX:!t(e.wrapX)||e.wrapX}),this.g=t(e.culture)?e.culture:"en-us",this.e=t(e.maxZoom)?e.maxZoom:-1;var o=new ry("https://dev.virtualearth.net/REST/v1/Imagery/Metadata/"+e.imagerySet);new ov(o,"jsonp").send({include:"ImageryProviders",uriScheme:"https",key:e.key},d(this.i,this))}function gv(e){cu.call(this,{attributions:e.attributions,extent:e.extent,logo:e.logo,projection:e.projection}),this.p=void 0,this.T=t(e.distance)?e.distance:20,this.n=[],this.l=e.source,this.l.r("change",gv.prototype.ba,this)}function vv(e){if(t(e.p)){e.n.length=0;for(var o=qe(),i=e.T*e.p,n=e.l.Dc(),r={},s=0,a=n.length;s<a;s++){var p=n[s];Z(r,c(p).toString())||(p=p.Q().K(),$e(p,o),De(o,i,o),p=e.l.Se(o),p=P(p,function(t){return t=c(t).toString(),!(t in r)&&(r[t]=!0)}),e.n.push(mv(p)))}}}function mv(t){for(var e=t.length,o=[0,0],i=0;i<e;i++){var n=t[i].Q().K();ue(o,n)}return e=1/e,o[0]*=e,o[1]*=e,o=new af(new Ta(o)),o.set("features",t),o}function bv(e){Dl.call(this,{projection:e.projection,resolutions:e.resolutions}),this.T=t(e.crossOrigin)?e.crossOrigin:null,this.g=t(e.displayDpi)?e.displayDpi:96,this.e=t(e.params)?e.params:{};var o;o=t(e.url)?Zd(e.url,this.e,d(this.Ul,this)):_d,this.J=o,this.a=t(e.imageLoadFunction)?e.imageLoadFunction:Ol,this.X=!t(e.hidpi)||e.hidpi,this.N=t(e.metersPerUnit)?e.metersPerUnit:1,this.n=t(e.ratio)?e.ratio:1,this.ba=!!t(e.useOverlay)&&e.useOverlay,this.c=null,this.p=0}function wv(e){var o,i,n=t(e.attributions)?e.attributions:null,r=e.imageExtent;t(e.imageSize)&&(o=to(r)/e.imageSize[1],i=[o]);var s=t(e.crossOrigin)?e.crossOrigin:null,a=t(e.imageLoadFunction)?e.imageLoadFunction:Ol;Dl.call(this,{attributions:n,logo:e.logo,projection:xo(e.projection),resolutions:i}),this.a=new Kd(r,o,1,n,e.url,s,a),qt(this.a,"change",this.i,!1,this)}function xv(e){e=t(e)?e:{},Dl.call(this,{attributions:e.attributions,logo:e.logo,projection:e.projection,resolutions:e.resolutions}),this.X=t(e.crossOrigin)?e.crossOrigin:null,this.e=e.url,this.n=t(e.imageLoadFunction)?e.imageLoadFunction:Ol,this.c=e.params,this.g=!0,Tv(this),this.T=e.serverType,this.ba=!t(e.hidpi)||e.hidpi,this.a=null,this.p=[0,0],this.N=0,this.J=t(e.ratio)?e.ratio:1.5}function Sv(e,o,i,n,r,s){if(s[e.g?"CRS":"SRS"]=r.b,"STYLES"in e.c||(s.STYLES=new String("")),1!=n)switch(e.T){case"geoserver":n=90*n+.5|0,s.FORMAT_OPTIONS=t(s.FORMAT_OPTIONS)?s.FORMAT_OPTIONS+(";dpi:"+n):"dpi:"+n;break;case"mapserver":s.MAP_RESOLUTION=90*n;break;case"carmentaserver":case"qgis":s.DPI=90*n}s.WIDTH=i[0],s.HEIGHT=i[1],i=r.d;var a;return a=e.g&&"ne"==i.substr(0,2)?[o[1],o[0],o[3],o[2]]:o,s.BBOX=a.join(","),hh(ch([e.e],s))}function Tv(t){t.g=0<=T(ot(t.c,"VERSION","1.3.0"),"1.3")}function Mv(e){var o=t(e.projection)?e.projection:"EPSG:3857",i=new yv({extent:Cn(o),maxZoom:e.maxZoom,tileSize:e.tileSize});cv.call(this,{attributions:e.attributions,crossOrigin:e.crossOrigin,logo:e.logo,projection:o,tileGrid:i,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:lv,wrapX:!t(e.wrapX)||e.wrapX}),this.l=i.yb(),t(e.tileUrlFunction)?this.pa(e.tileUrlFunction):t(e.urls)?this.pa(av(e.urls)):t(e.url)&&this.e(e.url)}function Cv(e){e=t(e)?e:{};var o;o=t(e.attributions)?e.attributions:[bM],Mv.call(this,{attributions:o,crossOrigin:t(e.crossOrigin)?e.crossOrigin:"anonymous",opaque:!0,maxZoom:t(e.maxZoom)?e.maxZoom:19,tileLoadFunction:e.tileLoadFunction,url:t(e.url)?e.url:"https://{a-c}.tile.openstreetmap.org/{z}/{x}/{y}.png",wrapX:e.wrapX})}function Ev(e){e=t(e)?e:{};var o=xM[e.layer];this.g=e.layer,Mv.call(this,{attributions:o.attributions,crossOrigin:"anonymous",logo:"https://developer.mapquest.com/content/osm/mq_logo.png",maxZoom:o.maxZoom,opaque:!0,tileLoadFunction:e.tileLoadFunction,url:t(e.url)?e.url:"https://otile{1-4}-s.mqcdn.com/tiles/1.0.0/"+this.g+"/{z}/{x}/{y}.jpg"})}function Pv(e){var o=e.layer.indexOf("-"),i=SM[e.layer];Mv.call(this,{attributions:MM,crossOrigin:"anonymous",maxZoom:TM[-1==o?e.layer:e.layer.slice(0,o)].maxZoom,opaque:i.opaque,tileLoadFunction:e.tileLoadFunction,url:t(e.url)?e.url:"https://stamen-tiles-{a-d}.a.ssl.fastly.net/"+e.layer+"/{z}/{x}/{y}."+i.Ta})}function kv(e){e=t(e)?e:{};var o=t(e.params)?e.params:{};cv.call(this,{attributions:e.attributions,logo:e.logo,projection:e.projection,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction,tileUrlFunction:d(this.lm,this),wrapX:!t(e.wrapX)||e.wrapX});var i=e.urls;!t(i)&&t(e.url)&&(i=uv(e.url)),this.g=null!=i?i:[],this.e=o,this.i=qe()}function Av(t,e){nn.call(this,t,2),this.c=he(e.na(t[0])),this.a={}}function Rv(t){En.call(this,{opaque:!1,projection:t.projection,tileGrid:t.tileGrid})}function Lv(e){cv.call(this,{attributions:e.attributions,crossOrigin:e.crossOrigin,projection:xo("EPSG:3857"),state:"loading",tileLoadFunction:e.tileLoadFunction,wrapX:!t(e.wrapX)||e.wrapX}),new ov(e.url).send(void 0,d(this.e,this))}function Nv(e){En.call(this,{projection:xo("EPSG:3857"),state:"loading"}),this.i=!t(e.preemptive)||e.preemptive,this.e=lv,this.g=void 0,new ov(e.url).send(void 0,d(this.om,this))}function jv(t,e,o,i,n){nn.call(this,t,e),this.g=o,this.a=i,this.i=n,this.d=this.e=this.c=null}function Iv(t,e){if(null===t.c||null===t.e||null==t.d)return null;var o=t.c[Math.floor((1-(e[1]-t.a[1])/(t.a[3]-t.a[1]))*t.c.length)];return p(o)?(o=o.charCodeAt(Math.floor((e[0]-t.a[0])/(t.a[2]-t.a[0])*o.length)),93<=o&&o--,35<=o&&o--,o=t.e[o-32],null!=o?t.d[o]:null):null}function Dv(t,e,o,i,n){0==t.state&&!0===n?(Xt(t,"change",function(){o.call(i,Iv(this,e))},!1,t),Fv(t)):!0===n?Yn(function(){o.call(i,Iv(this,e))},t):o.call(i,Iv(t,e))}function Fv(t){0==t.state&&(t.state=1,new ov(t.g).send(void 0,d(t.Xj,t),d(t.Lj,t)))}function Ov(e){cu.call(this,{attributions:e.attributions,logo:e.logo,projection:void 0,state:"ready"}),this.T=e.format,this.n=e.tileGrid,this.p=lv,this.X=this.n.yb(),this.l={},t(e.tileUrlFunction)?(this.p=e.tileUrlFunction,this.k()):t(e.urls)?(this.p=av(e.urls),this.k()):t(e.url)&&(this.p=av(uv(e.url)),this.k())}function Bv(e,o,i,n){var r=e.l;if(e=e.n.Wb(o,i),r=r[e[0]+"/"+e[1]+"/"+e[2]],t(r))for(e=0,i=r.length;e<i;++e){var s=r[e];if(s.Q().Jb(o[0],o[1])&&n.call(void 0,s))break}}function Uv(e){e=t(e)?e:{};var o=t(e.params)?e.params:{};cv.call(this,{attributions:e.attributions,crossOrigin:e.crossOrigin,logo:e.logo,opaque:!ot(o,"TRANSPARENT",!0),projection:e.projection,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction,tileUrlFunction:d(this.tm,this),wrapX:e.wrapX});var i=e.urls;!t(i)&&t(e.url)&&(i=uv(e.url)),this.g=null!=i?i:[],this.l=t(e.gutter)?e.gutter:0,this.e=o,this.i=!0,this.n=e.serverType,this.J=!t(e.hidpi)||e.hidpi,this.p="",qv(this),this.N=qe(),Hv(this)}function Gv(e,o,i,n,r,s,a){var p=e.g;if(0!=p.length){if(a.WIDTH=i[0],a.HEIGHT=i[1],a[e.i?"CRS":"SRS"]=s.b,"STYLES"in e.e||(a.STYLES=new String("")),1!=r)switch(e.n){case"geoserver":i=90*r+.5|0,a.FORMAT_OPTIONS=t(a.FORMAT_OPTIONS)?a.FORMAT_OPTIONS+(";dpi:"+i):"dpi:"+i;break;case"mapserver":a.MAP_RESOLUTION=90*r;break;case"carmentaserver":case"qgis":a.DPI=90*r}return s=s.d,e.i&&"ne"==s.substr(0,2)&&(e=n[0],n[0]=n[1],n[1]=e,e=n[2],n[2]=n[3],n[3]=e),a.BBOX=n.join(","),hh(ch([1==p.length?p[0]:p[ht((o[1]<<o[0])+o[2],p.length)]],a))}}function qv(t){var e,o,i=0,n=[];for(e=0,o=t.g.length;e<o;++e)n[i++]=t.g[e];for(var r in t.e)n[i++]=r+"-"+t.e[r];t.p=n.join("#")}function Hv(t){t.i=0<=T(ot(t.e,"VERSION","1.3.0"),"1.3")}function $v(t){this.e=t.matrixIds,yn.call(this,{origin:t.origin,origins:t.origins,resolutions:t.resolutions,tileSize:t.tileSize,tileSizes:t.tileSizes,widths:t.widths})}function Xv(t){var e,o=[],i=[],n=[],r=[],s=[];e=xo(t.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3"));var a=e.Gd(),p="ne"==e.d.substr(0,2);return U(t.TileMatrix,function(t,e){return e.ScaleDenominator-t.ScaleDenominator}),E(t.TileMatrix,function(t){i.push(t.Identifier),p?n.push([t.TopLeftCorner[1],t.TopLeftCorner[0]]):n.push(t.TopLeftCorner),o.push(28e-5*t.ScaleDenominator/a);var e=t.TileWidth,l=t.TileHeight;r.push(e==l?e:[e,l]),s.push(t.MatrixWidth)}),new $v({origins:n,resolutions:o,matrixIds:i,tileSizes:r,widths:s})}function Wv(e){function o(t){return t="KVP"==n?hh(ch([t],s)):t.replace(/\{(\w+?)\}/g,function(t,e){return e.toLowerCase()in s?s[e.toLowerCase()]:t}),function(e){if(null!==e){var o={TileMatrix:r.e[e[0]],TileCol:e[1],TileRow:e[2]};return rt(o,a),e=t,e="KVP"==n?hh(ch([e],o)):e.replace(/\{(\w+?)\}/g,function(t,e){return o[e]})}}}this.N=t(e.version)?e.version:"1.0.0",this.n=t(e.format)?e.format:"image/jpeg",this.e=t(e.dimensions)?e.dimensions:{},this.l="",zv(this),this.p=e.layer,this.i=e.matrixSet,this.J=e.style;var i=e.urls;!t(i)&&t(e.url)&&(i=uv(e.url)),this.g=null!=i?i:[];var n=this.T=t(e.requestEncoding)?e.requestEncoding:"KVP",r=e.tileGrid,s={layer:this.p,style:this.J,tilematrixset:this.i};"KVP"==n&&rt(s,{Service:"WMTS",Request:"GetTile",Version:this.N,Format:this.n});var a=this.e,i=0<this.g.length?pv(k(this.g,o)):lv,p=qe(),i=hv(function(t,e,o){if(r.b.length<=t[0])return null;var i=t[1],n=-t[2]-1,s=mn(r,t,p);return e=e.G(),!ro(s,e)||ro(s,e)&&(s[0]==e[2]||s[2]==e[0]||s[1]==e[3]||s[3]==e[1])?null:$o(t[0],i,n,o)},i);cv.call(this,{attributions:e.attributions,crossOrigin:e.crossOrigin,logo:e.logo,projection:e.projection,tileClass:e.tileClass,tileGrid:r,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:i,wrapX:!!t(e.wrapX)&&e.wrapX})}function zv(t){var e,o=0,i=[];for(e in t.e)i[o++]=e+"-"+t.e[e];t.l=i.join("/")}function Kv(e){var o=t(e)?e:o;yn.call(this,{origin:[0,0],resolutions:o.resolutions})}function Vv(e){e=t(e)?e:{};var o=e.size,i=o[0],n=o[1],r=[],s=256;switch(t(e.tierSizeCalculation)?e.tierSizeCalculation:"default"){case"default":for(;i>s||n>s;)r.push([Math.ceil(i/s),Math.ceil(n/s)]),s+=s;break;case"truncated":for(;i>s||n>s;)r.push([Math.ceil(i/s),Math.ceil(n/s)]),i>>=1,n>>=1}r.push([1,1]),r.reverse();for(var s=[1],a=[0],n=1,i=r.length;n<i;n++)s.push(1<<n),a.push(r[n-1][0]*r[n-1][1]+a[n-1]);s.reverse();var s=new Kv({resolutions:s}),p=e.url,o=hv(s.yb({extent:[0,0,o[0],o[1]]}),function(t){if(null!==t){var e=t[0],o=t[1];return t=t[2],p+"TileGroup"+((o+t*r[e][0]+a[e])/256|0)+"/"+e+"-"+o+"-"+t+".jpg"}});cv.call(this,{attributions:e.attributions,crossOrigin:e.crossOrigin,logo:e.logo,tileClass:Yv,tileGrid:s,tileUrlFunction:o})}function Yv(t,e,o,i,n){Vd.call(this,t,e,o,i,n),this.d={}}function Zv(e){e=t(e)?e:{},this.a=t(e.initialSize)?e.initialSize:256,this.c=t(e.maxSize)?e.maxSize:t(om)?om:2048,this.b=t(e.space)?e.space:1,this.e=[new Jv(this.a,this.b)],this.d=this.a,this.f=[new Jv(this.d,this.b)]}function _v(t,e,o,i,n,r,s){var a,p,l,h=e?t.f:t.e;for(p=0,l=h.length;p<l;++p){if(a=h[p],a=a.add(o,i,n,r,s),null!==a)return a;null===a&&p===l-1&&(e?(a=Math.min(2*t.d,t.c),t.d=a):(a=Math.min(2*t.a,t.c),t.a=a),a=new Jv(a,t.b),h.push(a),++l)}}function Jv(t,e){this.b=e,this.a=[{x:0,y:0,width:t,height:t}],this.d={},this.c=gi("CANVAS"),this.c.width=t,this.c.height=t,this.e=this.c.getContext("2d")}function Qv(t,e,o,i){e=[e,1],0<o.width&&0<o.height&&e.push(o),0<i.width&&0<i.height&&e.push(i),t.a.splice.apply(t.a,e)}function tm(e){this.o=this.d=this.e=null,this.i=t(e.fill)?e.fill:null,this.J=[0,0],this.b=e.points,this.c=t(e.radius)?e.radius:e.radius1,this.f=t(e.radius2)?e.radius2:this.c,this.g=t(e.angle)?e.angle:0,this.a=t(e.stroke)?e.stroke:null,this.H=this.L=this.p=null;var o,i=e.atlasManager,n="",r="",s=0,a=null,p=0;null!==this.a&&(o=ni(this.a.b),p=this.a.a,t(p)||(p=1),a=this.a.c,Pb||(a=null),r=this.a.e,t(r)||(r="round"),n=this.a.d,t(n)||(n="round"),s=this.a.f,t(s)||(s=10));var l=2*(this.c+p)+1,n={strokeStyle:o,md:p,size:l,lineCap:n,lineDash:a,lineJoin:r,miterLimit:s};if(t(i)){var h,l=Math.round(l),r=null===this.i;r&&(h=d(this.Tg,this,n)),s=this.nb(),h=i.add(s,l,l,d(this.Ug,this,n),h),this.d=h.image,this.J=[h.offsetX,h.offsetY],i=h.image.width,this.o=r?h.ig:this.d}else this.d=gi("CANVAS"),this.d.height=l,this.d.width=l,i=l=this.d.width,h=this.d.getContext("2d"),this.Ug(n,h,0,0),null===this.i?(h=this.o=gi("CANVAS"),h.height=n.size,h.width=n.size,h=h.getContext("2d"),this.Tg(n,h,0,0)):this.o=this.d;this.p=[l/2,l/2],this.L=[l,l],this.H=[i,i],hs.call(this,{opacity:1,rotateWithView:!1,rotation:t(e.rotation)?e.rotation:0,scale:1,snapToPixel:!t(e.snapToPixel)||e.snapToPixel})}var em,om,im,nm={},rm=rm||{},sm=this,am="closure_uid_"+(1e9*Math.random()>>>0),pm=0,lm=Date.now||function(){return+new Date};v(m,Error),m.prototype.name="CustomError";var hm,um,cm=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},fm=/&/g,ym=/</g,dm=/>/g,gm=/"/g,vm=/'/g,mm=/\x00/g,bm=/[\x00&<>"']/,wm=Array.prototype;t:{var xm=sm.navigator;if(xm){var Sm=xm.userAgent;if(Sm){um=Sm;break t}}um=""}var Tm="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Mm=X("Opera")||X("OPR"),Cm=X("Trident")||X("MSIE"),Em=X("Gecko")&&-1==um.toLowerCase().indexOf("webkit")&&!(X("Trident")||X("MSIE")),Pm=-1!=um.toLowerCase().indexOf("webkit"),km=X("Macintosh"),Am=X("Windows"),Rm=X("Linux")||X("CrOS"),Lm=function(){var t,e="";return Mm&&sm.opera?(e=sm.opera.version,h(e)?e():e):(Em?t=/rv\:([^\);]+)(\)|;)/:Cm?t=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:Pm&&(t=/WebKit\/(\S+)/),t&&(e=(e=t.exec(um))?e[1]:""),Cm&&(t=at(),t>parseFloat(e))?String(t):e)}(),Nm={},jm=sm.document,Im=jm&&Cm?at()||("CSS1Compat"==jm.compatMode?parseInt(Lm,10):5):void 0,Dm=Cm&&!pt("9.0")&&""!==Lm,Fm=!Cm||Cm&&9<=Im,Om=!Cm||Cm&&9<=Im,Bm=Cm&&!pt("9");!Pm||pt("528"),Em&&pt("1.9b")||Cm&&pt("8")||Mm&&pt("9.5")||Pm&&pt("528"),Em&&!pt("8")||Cm&&pt("9");var Um=0,Gm={};Tt.prototype.U=!1,Tt.prototype.Yc=function(){if(!this.U&&(this.U=!0,this.O(),0!=Um)){var t=c(this);delete Gm[t]}},Tt.prototype.O=function(){if(this.V)for(;this.V.length;)this.V.shift()()},Et.prototype.fb=function(){this.f=!0},Et.prototype.preventDefault=function(){this.rh=!1};var qm=Cm?"focusout":"DOMFocusOut";At[" "]=o,v(Rt,Et);var Hm=[1,4,2];em=Rt.prototype,em.fb=function(){Rt.S.fb.call(this),this.b.stopPropagation?this.b.stopPropagation():this.b.cancelBubble=!0},em.preventDefault=function(){Rt.S.preventDefault.call(this);var t=this.b;if(t.preventDefault);else if(t.returnValue=!1,Bm)try{(t.ctrlKey||112<=t.keyCode&&123>=t.keyCode)&&(t.keyCode=-1)}catch(e){}},em.Qi=function(){return this.b},em.Zf=function(){return Pm||void 0!==this.b.offsetX?this.b.offsetX:this.b.layerX},em.bo=function(t){Object.defineProperties(this,{offsetX:{writable:!0,enumerable:!0,configurable:!0,value:t}})},em.$f=function(){return Pm||void 0!==this.b.offsetY?this.b.offsetY:this.b.layerY},em.co=function(t){Object.defineProperties(this,{offsetY:{writable:!0,enumerable:!0,configurable:!0,value:t}})};var $m="closure_listenable_"+(1e6*Math.random()|0),Xm=0;Ft.prototype.add=function(t,e,o,i,n){var r=t.toString();t=this.b[r],t||(t=this.b[r]=[],this.a++);var s=Gt(t,e,i,n);return-1<s?(e=t[s],o||(e.vd=!1)):(e=new It(e,this.src,r,(!!i),n),e.vd=o,t.push(e)),e},Ft.prototype.remove=function(t,e,o,i){if(t=t.toString(),!(t in this.b))return!1; +var n=this.b[t];return e=Gt(n,e,o,i),-1<e&&(Dt(n[e]),wm.splice.call(n,e,1),0==n.length&&(delete this.b[t],this.a--),!0)};var Wm="closure_lm_"+(1e6*Math.random()|0),zm={},Km=0,Vm="__closure_events_fn_"+(1e9*Math.random()>>>0);v(Qt,Tt),Qt.prototype[$m]=!0,em=Qt.prototype,em.addEventListener=function(t,e,o,i){qt(this,t,e,o,i)},em.removeEventListener=function(t,e,o,i){Wt(this,t,e,o,i)},em.dispatchEvent=function(t){var e,o=this.sa;if(o)for(e=[];o;o=o.sa)e.push(o);var o=this.rc,i=t.type||t;if(p(t))t=new Et(t,o);else if(t instanceof Et)t.target=t.target||o;else{var n=t;t=new Et(i,o),rt(t,n)}var r,n=!0;if(e)for(var s=e.length-1;!t.f&&0<=s;s--)r=t.c=e[s],n=te(r,i,!0,t)&&n;if(t.f||(r=t.c=o,n=te(r,i,!0,t)&&n,t.f||(n=te(r,i,!1,t)&&n)),e)for(s=0;!t.f&&s<e.length;s++)r=t.c=e[s],n=te(r,i,!1,t)&&n;return n},em.O=function(){if(Qt.S.O.call(this),this.ab){var t,e=this.ab,o=0;for(t in e.b){for(var i=e.b[t],n=0;n<i.length;n++)++o,Dt(i[n]);delete e.b[t],e.a--}}this.sa=null},em.Ka=function(t,e,o,i){return this.ab.add(String(t),e,!1,o,i)},em.wf=function(t,e,o,i){return this.ab.remove(String(t),e,o,i)},v(oe,Qt),em=oe.prototype,em.k=function(){++this.b,this.dispatchEvent("change")},em.v=function(){return this.b},em.r=function(t,e,o){return qt(this,t,e,!1,o)},em.A=function(t,e,o){return Xt(this,t,e,!1,o)},em.u=function(t,e,o){Wt(this,t,e,!1,o)},em.B=ie,v(ne,Et),v(re,oe);var Ym={};if(em=re.prototype,em.get=function(t){var e;return this.q.hasOwnProperty(t)&&(e=this.q[t]),e},em.C=function(){return Y(this.q)},em.D=function(){var t,e={};for(t in this.q)e[t]=this.q[t];return e},em.set=function(t,e){var o=this.q[t];this.q[t]=e,ae(this,t,o)},em.t=function(t){for(var e in t)this.set(e,t[e])},em.I=function(t){if(t in this.q){var e=this.q[t];delete this.q[t],ae(this,t,e)}},we.prototype.b=4,we.prototype.set=function(t,e){e=e||0;for(var o=0;o<t.length&&e+o<this.length;o++)this[e+o]=t[o]},we.prototype.toString=Array.prototype.join,"undefined"==typeof Float32Array&&(we.BYTES_PER_ELEMENT=4,we.prototype.BYTES_PER_ELEMENT=we.prototype.b,we.prototype.set=we.prototype.set,we.prototype.toString=we.prototype.toString,e("Float32Array",we,void 0)),xe.prototype.b=8,xe.prototype.set=function(t,e){e=e||0;for(var o=0;o<t.length&&e+o<this.length;o++)this[e+o]=t[o]},xe.prototype.toString=Array.prototype.join,"undefined"==typeof Float64Array){try{xe.BYTES_PER_ELEMENT=8}catch(Zm){}xe.prototype.BYTES_PER_ELEMENT=xe.prototype.b,xe.prototype.set=xe.prototype.set,xe.prototype.toString=xe.prototype.toString,e("Float64Array",xe,void 0)}new Float64Array(3),new Float64Array(3),new Float64Array(4),new Float64Array(4),new Float64Array(4),new Float64Array(16),lo.prototype.a=function(t){for(var e=0,o=t.length,i=t[o-1][0],n=t[o-1][1],r=0;r<o;r++)var s=t[r][0],a=t[r][1],e=e+ct(s-i)*(2+Math.sin(ct(n))+Math.sin(ct(a))),i=s,n=a;return e*this.radius*this.radius/2},lo.prototype.b=function(t,e){var o=ct(t[1]),i=ct(e[1]),n=(i-o)/2,r=ct(e[0]-t[0])/2,o=Math.sin(n)*Math.sin(n)+Math.sin(r)*Math.sin(r)*Math.cos(o)*Math.cos(i);return 2*this.radius*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))},lo.prototype.offset=function(t,e,o){var i=ct(t[1]);e/=this.radius;var n=Math.asin(Math.sin(i)*Math.cos(e)+Math.cos(i)*Math.sin(e)*Math.cos(o));return[180*(ct(t[0])+Math.atan2(Math.sin(o)*Math.sin(e)*Math.cos(i),Math.cos(e)-Math.sin(i)*Math.sin(n)))/Math.PI,180*n/Math.PI]};var _m=new lo(6370997),Jm={};Jm.degrees=2*Math.PI*_m.radius/360,Jm.ft=.3048,Jm.m=1,Jm["us-ft"]=1200/3937,em=ho.prototype,em.Ri=function(){return this.b},em.G=function(){return this.f},em.Ll=function(){return this.a},em.Gd=function(){return Jm[this.a]},em.Cj=function(){return this.g},em.Ml=function(){return this.e},em.Yn=function(t){this.c=(this.e=t)&&null!==this.f},em.Nl=function(t){this.f=t,this.c=this.e&&null!==t},em.lo=function(t){this.g=t},em.Xn=function(t){this.q=t},em.rj=function(e,o){if("degrees"==this.a)return e;var i=Mo(this,xo("EPSG:4326")),n=[o[0]-e/2,o[1],o[0]+e/2,o[1],o[0],o[1]-e/2,o[0],o[1]+e/2],n=i(n,n,2),i=(_m.b(n.slice(0,2),n.slice(2,4))+_m.b(n.slice(4,6),n.slice(6,8)))/2,n=this.Gd();return t(n)&&(i/=n),i},em.getPointResolution=function(t,e){return this.q(t,e)};var Qm={},tb={};v(Ao,re),em=Ao.prototype,em.xd=function(t){return this.f.center(t)},em.constrainResolution=function(t,e,o){return this.f.resolution(t,e||0,o||0)},em.constrainRotation=function(t,e){return this.f.rotation(t,e||0)},em.Ca=function(){return this.get("center")},em.Pc=function(t){var e=this.Ca(),o=this.ya();return[e[0]-o*t[0]/2,e[1]-o*t[1]/2,e[0]+o*t[0]/2,e[1]+o*t[1]/2]},em.dl=function(){return this.e},em.ya=function(){return this.get("resolution")},em.Da=function(){return this.get("rotation")},em.Ej=function(){var e,o=this.ya();if(t(o)){var i,n=0;do{if(i=this.constrainResolution(this.a,n),i==o){e=n;break}++n}while(i>this.g)}return t(e)?this.d+e:e},em.Me=function(t,e){if(!so(t)){this.Na(_e(t));var o=Ro(t,e),i=this.constrainResolution(o,0,0);i<o&&(i=this.constrainResolution(i,-1,0)),this.tb(i)}},em.Fi=function(e,o,i){var n=t(i)?i:{};i=t(n.padding)?n.padding:[0,0,0,0];var r,s=!t(n.constrainResolution)||n.constrainResolution,a=!!t(n.nearest)&&n.nearest;r=t(n.minResolution)?n.minResolution:t(n.maxZoom)?this.constrainResolution(this.a,n.maxZoom-this.d,0):0;var p=e.j,l=this.Da(),n=Math.cos(-l),l=Math.sin(-l),h=1/0,u=1/0,c=-(1/0),f=-(1/0);e=e.s;for(var y=0,d=p.length;y<d;y+=e)var g=p[y]*n-p[y+1]*l,v=p[y]*l+p[y+1]*n,h=Math.min(h,g),u=Math.min(u,v),c=Math.max(c,g),f=Math.max(f,v);o=Ro([h,u,c,f],[o[0]-i[1]-i[3],o[1]-i[0]-i[2]]),o=isNaN(o)?r:Math.max(o,r),s&&(r=this.constrainResolution(o,0,0),!a&&r<o&&(r=this.constrainResolution(r,-1,0)),o=r),this.tb(o),l=-l,a=(h+c)/2+(i[1]-i[3])/2*o,i=(u+f)/2+(i[0]-i[2])/2*o,this.Na([a*n-i*l,i*n+a*l])},em.Ai=function(t,e,o){var i=this.Da(),n=Math.cos(-i),i=Math.sin(-i),r=t[0]*n-t[1]*i;t=t[1]*n+t[0]*i;var s=this.ya(),r=r+(e[0]/2-o[0])*s;t+=(o[1]-e[1]/2)*s,i=-i,this.Na([r*n-t*i,t*n+r*i])},em.rotate=function(e,o){if(t(o)){var i,n=this.Ca();t(n)&&(i=[n[0]-o[0],n[1]-o[1]],ge(i,e-this.Da()),ue(i,o)),this.Na(i)}this.be(e)},em.Na=function(t){this.set("center",t)},em.tb=function(t){this.set("resolution",t)},em.be=function(t){this.set("rotation",t)},em.no=function(t){t=this.constrainResolution(this.a,t-this.d,0),this.tb(t)},Ko.prototype.contains=function(t){return Yo(this,t[1],t[2])},Qo.prototype.c=function(){return this.a},v(ti,Et),v(ei,re),em=ei.prototype,em.clear=function(){for(;0<this.Ib();)this.pop()},em.af=function(t){var e,o;for(e=0,o=t.length;e<o;++e)this.push(t[e]);return this},em.forEach=function(t,e){E(this.a,t,e)},em.Hk=function(){return this.a},em.item=function(t){return this.a[t]},em.Ib=function(){return this.get("length")},em.Td=function(t,e){O(this.a,t,0,e),oi(this),this.dispatchEvent(new ti("add",e,this))},em.pop=function(){return this.tf(this.Ib()-1)},em.push=function(t){var e=this.a.length;return this.Td(e,t),e},em.remove=function(t){var e,o,i=this.a;for(e=0,o=i.length;e<o;++e)if(i[e]===t)return this.tf(e)},em.tf=function(t){var e=this.a[t];return wm.splice.call(this.a,t,1),oi(this),this.dispatchEvent(new ti("remove",e,this)),e},em.Un=function(t,e){var o=this.Ib();if(t<o)o=this.a[t],this.a[t]=e,this.dispatchEvent(new ti("remove",o,this)),this.dispatchEvent(new ti("add",e,this));else{for(;o<t;++o)this.Td(o,void 0);this.Td(t,e)}};var eb=/^#(?:[0-9a-f]{3}){1,2}$/i,ob=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,ib=/^(?:rgba)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|1|0\.\d{0,10})\)$/i,nb=function(){var t={},e=0;return function(o){var i;if(t.hasOwnProperty(o))i=t[o];else{if(1024<=e){i=0;for(var n in t)0===(3&i++)&&(delete t[n],--e)}var r,s;eb.exec(o)?(s=3==o.length-1?1:2,i=parseInt(o.substr(1+0*s,s),16),n=parseInt(o.substr(1+1*s,s),16),r=parseInt(o.substr(1+2*s,s),16),1==s&&(i=(i<<4)+i,n=(n<<4)+n,r=(r<<4)+r),i=[i,n,r,1]):(s=ib.exec(o))?(i=Number(s[1]),n=Number(s[2]),r=Number(s[3]),s=Number(s[4]),i=[i,n,r,s],i=ri(i,i)):(s=ob.exec(o))?(i=Number(s[1]),n=Number(s[2]),r=Number(s[3]),i=[i,n,r,1],i=ri(i,i)):i=void 0,t[o]=i,++e}return i}}(),rb=!Cm||Cm&&9<=Im;!Em&&!Cm||Cm&&Cm&&9<=Im||Em&&pt("1.9.1"),Cm&&pt("9"),st("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),em=pi.prototype,em.clone=function(){return new pi(this.x,this.y)},em.ceil=function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},em.floor=function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},em.round=function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},em.scale=function(t,e){var o=l(e)?e:t;return this.x*=t,this.y*=o,this},em=li.prototype,em.clone=function(){return new li(this.width,this.height)},em.la=function(){return!(this.width*this.height)},em.ceil=function(){return this.width=Math.ceil(this.width),this.height=Math.ceil(this.height),this},em.floor=function(){return this.width=Math.floor(this.width),this.height=Math.floor(this.height),this},em.round=function(){return this.width=Math.round(this.width),this.height=Math.round(this.height),this},em.scale=function(t,e){var o=l(e)?e:t;return this.width*=t,this.height*=o,this};var sb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"};Ei.prototype.appendChild=function(t,e){t.appendChild(e)},Ei.prototype.contains=Ti,em=Ii.prototype,em.clone=function(){return new Ii(this.top,this.right,this.bottom,this.left)},em.contains=function(t){return!(!this||!t)&&(t instanceof Ii?t.left>=this.left&&t.right<=this.right&&t.top>=this.top&&t.bottom<=this.bottom:t.x>=this.left&&t.x<=this.right&&t.y>=this.top&&t.y<=this.bottom)},em.ceil=function(){return this.top=Math.ceil(this.top),this.right=Math.ceil(this.right),this.bottom=Math.ceil(this.bottom),this.left=Math.ceil(this.left),this},em.floor=function(){return this.top=Math.floor(this.top),this.right=Math.floor(this.right),this.bottom=Math.floor(this.bottom),this.left=Math.floor(this.left),this},em.round=function(){return this.top=Math.round(this.top),this.right=Math.round(this.right),this.bottom=Math.round(this.bottom),this.left=Math.round(this.left),this},em.scale=function(t,e){var o=l(e)?e:t;return this.left*=t,this.right*=t,this.top*=o,this.bottom*=o,this},em=Di.prototype,em.clone=function(){return new Di(this.left,this.top,this.width,this.height)},em.contains=function(t){return t instanceof Di?this.left<=t.left&&this.left+this.width>=t.left+t.width&&this.top<=t.top&&this.top+this.height>=t.top+t.height:t.x>=this.left&&t.x<=this.left+this.width&&t.y>=this.top&&t.y<=this.top+this.height},em.distance=function(t){return Math.sqrt(Fi(this,t))},em.ceil=function(){return this.left=Math.ceil(this.left),this.top=Math.ceil(this.top),this.width=Math.ceil(this.width),this.height=Math.ceil(this.height),this},em.floor=function(){return this.left=Math.floor(this.left),this.top=Math.floor(this.top),this.width=Math.floor(this.width),this.height=Math.floor(this.height),this},em.round=function(){return this.left=Math.round(this.left),this.top=Math.round(this.top),this.width=Math.round(this.width),this.height=Math.round(this.height),this},em.scale=function(t,e){var o=l(e)?e:t;return this.left*=t,this.width*=t,this.top*=o,this.height*=o,this};var ab={thin:2,medium:4,thick:6};v(_i,Et),v(Ji,re),Ji.prototype.O=function(){wi(this.element),Ji.S.O.call(this)},Ji.prototype.e=function(){return this.a},Ji.prototype.setMap=function(t){null===this.a||wi(this.element),0!=this.l.length&&(E(this.l,zt),this.l.length=0),this.a=t,null!==this.a&&((null===this.L?t.p:this.L).appendChild(this.element),this.render!==o&&this.l.push(qt(t,"postrender",this.render,!1,this)),t.render())},Ji.prototype.c=function(t){this.L=ui(t)},em=Qi.prototype,em.clear=function(){this.c=0,this.d={},this.a=this.b=null},em.forEach=function(t,e){for(var o=this.b;null!==o;)t.call(e,o.qc,o.Wd,this),o=o.Wa},em.get=function(t){return t=this.d[t],t===this.a?t.qc:(t===this.b?(this.b=this.b.Wa,this.b.Nb=null):(t.Wa.Nb=t.Nb,t.Nb.Wa=t.Wa),t.Wa=null,t.Nb=this.a,this.a=this.a.Wa=t,t.qc)},em.Tb=function(){return this.c},em.C=function(){var t,e=Array(this.c),o=0;for(t=this.a;null!==t;t=t.Nb)e[o++]=t.Wd;return e},em.cb=function(){var t,e=Array(this.c),o=0;for(t=this.a;null!==t;t=t.Nb)e[o++]=t.qc;return e},em.pop=function(){var t=this.b;return delete this.d[t.Wd],null!==t.Wa&&(t.Wa.Nb=null),this.b=t.Wa,null===this.b&&(this.a=null),--this.c,t.qc},em.set=function(t,e){var o={Wd:t,Wa:null,Nb:this.a,qc:e};null===this.a?this.b=o:this.a.Wa=o,this.a=o,this.d[t]=o,++this.c},v(en,Qi),v(nn,Qt),nn.prototype.gb=function(){return c(this).toString()},nn.prototype.f=function(){return this.b},v(sn,re),em=sn.prototype,em.ge=o,em.ea=function(){return this.d},em.ca=function(){return this.L},em.fa=function(){return this.f},em.ga=function(){return this.o};var pb=ln(!1),lb=ln(!0),hb=ln(null),ub=[0,0,0];em=yn.prototype,em.yb=function(){return hn},em.Ad=function(t,e,o,i,n){for(n=mn(this,t,n),t=t[0]-1;t>=this.minZoom;){if(e.call(o,t,gn(this,n,t,i)))return!0;--t}return!1},em.Fd=function(){return this.maxZoom},em.Hd=function(){return this.minZoom},em.Mb=function(t){return null===this.f?this.i[t]:this.f},em.ma=function(t){return this.b[t]},em.ne=function(){return this.b},em.Ld=function(t,e,o){return t[0]<this.maxZoom?(o=mn(this,t,o),gn(this,o,t[0]+1,e)):null},em.Wb=function(t,e,o){return bn(this,t[0],t[1],e,!1,o)},em.cd=function(t,e,o){return bn(this,t[0],t[1],this.ma(e),!1,o)},em.na=function(t){return null===this.g?this.c[t]:this.g},v(En,sn),em=En.prototype,em.Cd=function(){return 0},em.bb=Xo,em.ua=function(){return this.tileGrid},em.Xb=function(t,e,o){return e=kn(this,o),le(he(e.na(t),this.c),this.ba,this.c)},em.yf=o,v(An,Et),v(Rn,Ji),em=Rn.prototype,em.gl=function(t){t.preventDefault(),Nn(this)},em.fl=function(){return this.g},em.il=function(t){this.g!==t&&(this.g=t,ji(this.element,"ol-uncollapsible"),!t&&this.d&&Nn(this))},em.hl=function(t){this.g&&this.d!==t&&Nn(this)},em.el=function(){return this.d},v(jn,Ji),jn.prototype.o=function(e){e.preventDefault(),e=this.a;var o=e.R();if(null!==o){for(var i=o.Da();i<-Math.PI;)i+=2*Math.PI;for(;i>Math.PI;)i-=2*Math.PI;t(i)&&(0<this.g&&e.Ha(qo({rotation:i,duration:this.g,easing:Fo})),o.be(0))}},v(Dn,Ji),Dn.prototype.f=function(e,o){o.preventDefault();var i=this.a,n=i.R();if(null!==n){var r=n.ya();t(r)&&(0<this.d&&i.Ha(Ho({resolution:r,duration:this.d,easing:Fo})),i=n.constrainResolution(r,e),n.tb(i))}};var cb=Pm?"webkitfullscreenchange":Em?"mozfullscreenchange":Cm?"MSFullscreenChange":"fullscreenchange";v(Gn,Ji),Gn.prototype.n=function(t){t.preventDefault(),On()&&(t=this.a,null!==t&&(Un()?(t=hi().b,t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.msExitFullscreen?t.msExitFullscreen():t.exitFullscreen&&t.exitFullscreen()):(t=t.df(),t=ui(t),this.o?t.mozRequestFullScreenWithKeys?t.mozRequestFullScreenWithKeys():t.webkitRequestFullscreen?t.webkitRequestFullscreen():Bn(t):Bn(t))))},Gn.prototype.i=function(){var t=this.d+"-true",e=this.d+"-false",o=Si(this.element),i=this.a;Un()?(Ri(o,e)&&(Ni(o,e),Li(o,t)),xi(this.g,this.f)):(Ri(o,t)&&(Ni(o,t),Li(o,e)),xi(this.f,this.g)),null===i||i.Kc()},v(qn,Ji),em=qn.prototype,em.jl=function(){this.f=null},em.Uf=function(){return this.get("coordinateFormat")},em.xg=function(){return this.get("projection")},em.$j=function(t){this.g=this.a.Bd(t.b),$n(this,this.g)},em.ak=function(){$n(this,null),this.g=null},em.setMap=function(t){qn.S.setMap.call(this,t),null!==t&&(t=t.a,this.l.push(qt(t,"mousemove",this.$j,!1,this),qt(t,"mouseout",this.ak,!1,this)))},em.vh=function(t){this.set("coordinateFormat",t)},em.yg=function(t){this.set("projection",t)},v(Xn,Tt),em=Xn.prototype,em.$=null,em.zf=!1,em.start=function(){Wn(this),this.zf=!1;var t=zn(this),e=Kn(this);t&&!e&&this.b.mozRequestAnimationFrame?(this.$=qt(this.b,"MozBeforePaint",this.a),this.b.mozRequestAnimationFrame(null),this.zf=!0):this.$=t&&e?t.call(this.b,this.a):this.b.setTimeout(un(this.a),20)},em.Pf=function(){this.zf&&this.$&&zt(this.$),this.$=null,this.d.call(this.c,lm())},em.O=function(){Wn(this),Xn.S.O.call(this)};var fb,yb=hn;em=Qn.prototype,em.Tb=function(){return this.c},em.cb=function(){tr(this);for(var t=[],e=0;e<this.b.length;e++)t.push(this.a[this.b[e]]);return t},em.C=function(){return tr(this),this.b.concat()},em.la=function(){return 0==this.c},em.clear=function(){this.a={},this.c=this.b.length=0},em.remove=function(t){return!!er(this.a,t)&&(delete this.a[t],this.c--,this.b.length>2*this.c&&tr(this),!0)},em.get=function(t,e){return er(this.a,t)?this.a[t]:e},em.set=function(t,e){er(this.a,t)||(this.c++,this.b.push(t)),this.a[t]=e},em.forEach=function(t,e){for(var o=this.C(),i=0;i<o.length;i++){var n=o[i],r=this.get(n);t.call(e,r,n,this)}},em.clone=function(){return new Qn(this)},new or,or.prototype.set=function(t){this.b=t},or.prototype.get=function(){return this.b},v(ir,Qt),em=ir.prototype,em.Md=null,em.pd=null,em.Nd=null,em.O=function(){ir.S.O.call(this),this.Md&&(zt(this.Md),this.Md=null),this.Nd=this.pd=null},em.ik=function(){var t=fi(this.pd||window),e=this.Nd;t==e||t&&e&&t.width==e.width&&t.height==e.height||(this.Nd=t,this.dispatchEvent("resize"))},v(pr,Qt),em=pr.prototype,em.Z=null,em.Ud=null,em.Ye=null,em.Vd=null,em.Ja=-1,em.Hb=-1,em.Ge=!1;var db={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},gb={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},vb=Cm||Pm&&pt("525"),mb=km&&Em;pr.prototype.b=function(t){Pm&&(17==this.Ja&&!t.i||18==this.Ja&&!t.a||km&&91==this.Ja&&!t.l)&&(this.Hb=this.Ja=-1),-1==this.Ja&&(t.i&&17!=t.e?this.Ja=17:t.a&&18!=t.e?this.Ja=18:t.l&&91!=t.e&&(this.Ja=91)),vb&&!nr(t.e,this.Ja,t.d,t.i,t.a)?this.handleEvent(t):(this.Hb=sr(t.e),mb&&(this.Ge=t.a))},pr.prototype.a=function(t){this.Hb=this.Ja=-1,this.Ge=t.a},pr.prototype.handleEvent=function(t){var e,o,i=t.b,n=i.altKey;Cm&&"keypress"==t.type?(e=this.Hb,o=13!=e&&27!=e?i.keyCode:0):Pm&&"keypress"==t.type?(e=this.Hb,o=0<=i.charCode&&63232>i.charCode&&rr(e)?i.charCode:0):Mm?(e=this.Hb,o=rr(e)?i.keyCode:0):(e=i.keyCode||this.Hb,o=i.charCode||0,mb&&(n=this.Ge),km&&63==o&&224==e&&(e=191));var r=e=sr(e),s=i.keyIdentifier;e?63232<=e&&e in db?r=db[e]:25==e&&t.d&&(r=9):s&&s in gb&&(r=gb[s]),this.Ja=r,t=new ur(r,o,0,i),t.a=n,this.dispatchEvent(t)},pr.prototype.O=function(){pr.S.O.call(this),hr(this)},v(ur,Rt),v(cr,Qt),cr.prototype.handleEvent=function(e){var o=0,i=0,n=0;e=e.b,"mousewheel"==e.type?(i=1,(Cm||Pm&&(Am||pt("532.0")))&&(i=40),n=fr(-e.wheelDelta,i),t(e.wheelDeltaX)?(o=fr(-e.wheelDeltaX,i),i=fr(-e.wheelDeltaY,i)):i=n):(n=e.detail,100<n?n=3:-100>n&&(n=-3),t(e.axis)&&e.axis===e.HORIZONTAL_AXIS?o=n:i=n),l(this.a)&<(o,-this.a,this.a),l(this.c)&&(i=lt(i,-this.c,this.c)),o=new yr(n,e,0,i),this.dispatchEvent(o)},cr.prototype.O=function(){cr.S.O.call(this),zt(this.b),this.b=null},v(yr,Rt),v(dr,Et);var bb=!1;try{bb=1===new MouseEvent("click",{buttons:1}).buttons}catch(wb){}var xb,Sb,Tb=function(){var e;return function(){if(!t(e))if(sm.getComputedStyle){var o,i=gi("P"),n={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(i);for(var r in n)r in i.style&&(i.style[r]="translate(1px,1px)",o=sm.getComputedStyle(i).getPropertyValue(n[r]));wi(i),e=o&&"none"!==o}else e=!1;return e}}(),Mb=function(){var e;return function(){if(!t(e))if(sm.getComputedStyle){var o,i=gi("P"),n={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.appendChild(i);for(var r in n)r in i.style&&(i.style[r]="translate3d(1px,1px,1px)",o=sm.getComputedStyle(i).getPropertyValue(n[r]));wi(i),e=o&&"none"!==o}else e=!1;return e}}(),Cb=["experimental-webgl","webgl","webkit-3d","moz-webgl"],Eb=sm.devicePixelRatio||1,Pb=!1,kb=function(){if(!("HTMLCanvasElement"in sm))return!1;try{var e=mr();return null!==e&&(t(e.setLineDash)&&(Pb=!0),!0)}catch(o){return!1}}(),Ab="DeviceOrientationEvent"in sm,Rb="geolocation"in sm.navigator,Lb="ontouchstart"in sm,Nb="PointerEvent"in sm,jb=!!sm.navigator.msPointerEnabled,Ib=!1,Db=[];if("WebGLRenderingContext"in sm)try{var Fb=xr(gi("CANVAS"),{Ei:!0});null!==Fb&&(Ib=!0,Sb=Fb.getParameter(Fb.MAX_TEXTURE_SIZE),Db=Fb.getSupportedExtensions())}catch(Ob){}xb=Ib,im=Db,om=Sb,v(Tr,Sr),em=Tr.prototype,em.tk=function(t){if(!Mr(this,t)){1..toString()in this.a&&this.cancel(t);var e=Cr(t);this.a[1..toString()]=t,Gr(this.b,Ub,e,t)}},em.uk=function(t){if(!Mr(this,t)){var e=Cr(t);Gr(this.b,Bb,e,t)}},em.xk=function(t){if(!Mr(this,t)){var e=this.a[1..toString()];e&&e.button===t.button&&(e=Cr(t),Gr(this.b,Gb,e,t),et(this.a,1..toString()))}},em.wk=function(t){if(!Mr(this,t)){var e=Cr(t);Ur(this.b,e,t)}},em.vk=function(t){if(!Mr(this,t)){var e=Cr(t);Br(this.b,e,t)}},em.cancel=function(t){var e=Cr(t);this.b.cancel(e,t),et(this.a,1..toString())},v(Er,Sr),em=Er.prototype,em.Ck=function(t){this.a[t.b.pointerId]=t;var e=Pr(this,t);Gr(this.b,Ub,e,t)},em.Dk=function(t){var e=Pr(this,t);Gr(this.b,Bb,e,t)},em.Gk=function(t){var e=Pr(this,t);Gr(this.b,Gb,e,t),et(this.a,t.b.pointerId)},em.Ek=function(t){var e=Pr(this,t);Br(this.b,e,t)},em.Fk=function(t){var e=Pr(this,t);Ur(this.b,e,t)},em.Bk=function(t){var e=Pr(this,t);this.b.cancel(e,t),et(this.a,t.b.pointerId)},em.Ak=function(t){this.b.dispatchEvent(new dr("lostpointercapture",t,t.b))},em.zk=function(t){this.b.dispatchEvent(new dr("gotpointercapture",t,t.b))},v(kr,Sr),em=kr.prototype,em.nn=function(t){qr(this.b,t)},em.pn=function(t){qr(this.b,t)},em.sn=function(t){qr(this.b,t)},em.qn=function(t){qr(this.b,t)},em.rn=function(t){qr(this.b,t)},em.mn=function(t){qr(this.b,t)},em.sk=function(t){qr(this.b,t)},em.Fj=function(t){qr(this.b,t)},v(Ar,Sr),em=Ar.prototype,em.qh=function(){this.f=0,this.d=void 0},em.so=function(e){var o=e.b.touches,i=Y(this.a),n=i.length;if(n>=o.length){var r,s,a,p=[];for(r=0;r<n;++r){s=i[r],a=this.a[s];var l;if(!(l=1==s))t:{l=o.length;for(var h=void 0,u=0;u<l;u++)if(h=o[u],h.identifier===s-2){l=!0;break t}l=!1}l||p.push(a.ec)}for(r=0;r<p.length;++r)this.He(e,p[r])}o=K(this.a),(0===o||1===o&&1..toString()in this.a)&&(this.c=e.b.changedTouches[0].identifier,t(this.d)&&sm.clearTimeout(this.d)),Nr(this,e),this.f++,Lr(this,e,this.hn)},em.hn=function(t,e){this.a[e.pointerId]={target:e.target,ec:e,Zg:e.target};var o=this.b;e.bubbles=!0,Gr(o,qb,e,t),o=this.b,e.bubbles=!1,Gr(o,$b,e,t),Gr(this.b,Ub,e,t)},em.ro=function(t){t.preventDefault(),Lr(this,t,this.yk)},em.yk=function(t,e){var o=this.a[e.pointerId];if(o){var i=o.ec,n=o.Zg;Gr(this.b,Bb,e,t),i&&n!==e.target&&(i.relatedTarget=e.target,e.relatedTarget=n,i.target=n,e.target?(Br(this.b,i,t),Ur(this.b,e,t)):(e.target=n,e.relatedTarget=null,this.He(t,e))),o.ec=e,o.Zg=e.target}},em.qo=function(t){Nr(this,t),Lr(this,t,this.to)},em.to=function(t,e){Gr(this.b,Gb,e,t),this.b.ec(e,t);var o=this.b;e.bubbles=!1,Gr(o,Xb,e,t),et(this.a,e.pointerId),e.isPrimary&&(this.c=void 0,this.d=sm.setTimeout(d(this.qh,this),200))},em.po=function(t){Lr(this,t,this.He)},em.He=function(t,e){this.b.cancel(e,t),this.b.ec(e,t);var o=this.b;e.bubbles=!1,Gr(o,Xb,e,t),et(this.a,e.pointerId),e.isPrimary&&(this.c=void 0,this.d=sm.setTimeout(d(this.qh,this),200))},v(jr,Qt),jr.prototype.d=function(t){var e=this.c[t.type];e&&e(t)},jr.prototype.ec=function(t,e){t.bubbles=!0,Gr(this,Hb,t,e)},jr.prototype.cancel=function(t,e){Gr(this,Wb,t,e)},jr.prototype.O=function(){for(var t,e=this.b.length,o=0;o<e;o++)t=this.b[o],Fr(this,Y(t.e));jr.S.O.call(this)};var Bb="pointermove",Ub="pointerdown",Gb="pointerup",qb="pointerover",Hb="pointerout",$b="pointerenter",Xb="pointerleave",Wb="pointercancel",zb=[["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]];v(Hr,_i),Hr.prototype.preventDefault=function(){Hr.S.preventDefault.call(this),this.b.preventDefault()},Hr.prototype.fb=function(){Hr.S.fb.call(this),this.b.fb()},v($r,Hr),v(Xr,Qt),em=Xr.prototype,em.fg=function(t){zr(this,t);var e=new $r(Qb,this.c,t);this.dispatchEvent(e),!this.g&&0===t.button&&Wr(this,this.a),0===this.o&&(E(this.d,zt),this.d=null,this.g=!1,this.a=null,Ct(this.b),this.b=null)},em.dk=function(t){zr(this,t);var e=new $r(Jb,this.c,t);this.dispatchEvent(e),this.a=t,null===this.d&&(this.b=new jr(document),this.d=[qt(this.b,_b,this.$k,!1,this),qt(this.b,Qb,this.fg,!1,this),qt(this.e,tw,this.fg,!1,this)])},em.$k=function(t){if(t.clientX!=this.a.clientX||t.clientY!=this.a.clientY){this.g=!0;var e=new $r(Zb,this.c,t,this.g);this.dispatchEvent(e)}t.preventDefault()},em.Kn=function(t){this.dispatchEvent(new $r(t.type,this.c,t,null!==this.a&&(t.clientX!=this.a.clientX||t.clientY!=this.a.clientY)))},em.O=function(){null!==this.q&&(zt(this.q),this.q=null),null!==this.i&&(zt(this.i),this.i=null),null!==this.d&&(E(this.d,zt),this.d=null),null!==this.b&&(Ct(this.b),this.b=null),null!==this.e&&(Ct(this.e),this.e=null),Xr.S.O.call(this)};var Kb="singleclick",Vb="click",Yb="dblclick",Zb="pointerdrag",_b="pointermove",Jb="pointerdown",Qb="pointerup",tw="pointercancel",ew={Ko:Kb,zo:Vb,Ao:Yb,Do:Zb,Go:_b,Co:Jb,Jo:Qb,Io:"pointerover",Ho:"pointerout",Eo:"pointerenter",Fo:"pointerleave",Bo:tw};v(Kr,re),em=Kr.prototype,em.Bb=function(){return this.get("brightness")},em.Cb=function(){return this.get("contrast")},em.Db=function(){return this.get("hue")},em.G=function(){return this.get("extent")},em.Eb=function(){return this.get("maxResolution")},em.Fb=function(){return this.get("minResolution")},em.Kb=function(){return this.get("opacity")},em.Gb=function(){return this.get("saturation")},em.eb=function(){return this.get("visible")},em.gc=function(t){this.set("brightness",t)},em.hc=function(t){this.set("contrast",t)},em.ic=function(t){this.set("hue",t)},em.bc=function(t){this.set("extent",t)},em.jc=function(t){this.set("maxResolution",t)},em.kc=function(t){this.set("minResolution",t)},em.cc=function(t){this.set("opacity",t)},em.lc=function(t){this.set("saturation",t)},em.mc=function(t){this.set("visible",t)},v(Yr,Kr),em=Yr.prototype,em.Ue=function(e){return e=t(e)?e:[],e.push(Vr(this)),e},em.da=function(){var e=this.get("source");return t(e)?e:null},em.We=function(){var t=this.da();return null===t?"undefined":t.o},em.Kl=function(){this.k()},em.kk=function(){null!==this.f&&(zt(this.f),this.f=null);var t=this.da();null!==t&&(this.f=qt(t,"change",this.Kl,!1,this)),this.k()},em.Jc=function(t){this.set("source",t)},v(_r,Qt),_r.prototype.G=function(){return this.extent},v(es,oe),em=es.prototype,em.Pa=o,em.dc=function(t,e,o,i){if(t=t.slice(),ts(e.pixelToCoordinateMatrix,t,t),this.Pa(t,e,lb,this))return o.call(i,this.a)},em.ee=pb,em.yd=function(t,e){return function(o,i){return Pn(t,o,i,function(t){e[o]||(e[o]={}),e[o][t.b.toString()]=t})}},em.Ol=function(t){2===t.target.state&&is(this)},em=hs.prototype,em.ie=function(){return this.U},em.Jd=function(){return this.V},em.je=function(){return this.q},em.ke=function(){return this.l},em.Kd=function(){return this.n},em.le=function(t){this.q=t},em.me=function(t){this.l=t},v(us,hs),em=us.prototype,em.mb=function(){if(null!==this.d)return this.d;var t=this.e,e=this.Xa();if("fraction"==this.g||"fraction"==this.i){if(null===e)return null;t=this.e.slice(),"fraction"==this.g&&(t[0]*=e[0]),"fraction"==this.i&&(t[1]*=e[1])}if("top-left"!=this.a){if(null===e)return null;t===this.e&&(t=this.e.slice()),"top-right"!=this.a&&"bottom-right"!=this.a||(t[0]=-t[0]+e[0]),"bottom-left"!=this.a&&"bottom-right"!=this.a||(t[1]=-t[1]+e[1])}return this.d=t},em.Lb=function(){return this.b.b},em.Dd=function(){return this.b.a},em.gd=function(){return this.b.c},em.he=function(){var t=this.b;if(null===t.e)if(t.i){var e=t.a[0],o=t.a[1],i=mr(e,o);i.fillRect(0,0,e,o),t.e=i.canvas}else t.e=t.b;return t.e},em.rb=function(){if(null!==this.f)return this.f;var t=this.p;if("top-left"!=this.c){var e=this.Xa(),o=this.b.a;if(null===e||null===o)return null;t=t.slice(),"top-right"!=this.c&&"bottom-right"!=this.c||(t[0]=o[0]-e[0]-t[0]),"bottom-left"!=this.c&&"bottom-right"!=this.c||(t[1]=o[1]-e[1]-t[1])}return this.f=t},em.Bm=function(){return this.b.f},em.Xa=function(){return null===this.o?this.b.a:this.o},em.$e=function(t,e){return qt(this.b,"change",t,!1,e)},em.load=function(){this.b.load()},em.xf=function(t,e){Wt(this.b,"change",t,!1,e)},v(cs,Qt),cs.prototype.g=function(){this.c=3,E(this.d,zt),this.d=null,this.dispatchEvent("change")},cs.prototype.q=function(){this.c=2,this.a=[this.b.width,this.b.height],E(this.d,zt),this.d=null;var t=mr(1,1);t.drawImage(this.b,0,0);try{t.getImageData(0,0,1,1)}catch(e){this.i=!0}this.dispatchEvent("change")},cs.prototype.load=function(){if(0==this.c){this.c=1,this.d=[Xt(this.b,"error",this.g,!1,this),Xt(this.b,"load",this.q,!1,this)];try{this.b.src=this.f}catch(t){this.g()}}},i(fs),fs.prototype.clear=function(){this.b={},this.a=0},fs.prototype.get=function(t,e){var o=e+":"+t;return o in this.b?this.b[o]:null},fs.prototype.set=function(t,e,o){this.b[e+":"+t]=o,++this.a},v(ys,Tt),em=ys.prototype,em.O=function(){W(this.f,Ct),ys.S.O.call(this)},em.ef=function(t,e,o,i,n,r){function s(t){var e=c(t).toString();if(!(e in u))return u[e]=!0,o.call(i,t,null)}var a,p=e.viewState,l=p.resolution,h=p.rotation,u={},f=p.projection,p=t;if(f.c){var y=f.G(),f=no(y);a=t[0],(a<y[0]||a>y[2])&&(p=Math.ceil((y[0]-a)/f),p=[a+f*p,t[1]])}if(null!==this.c&&(a=this.c.c(p,l,h,{},s)))return a;for(h=e.layerStatesArray,f=h.length-1;0<=f;--f)if(a=h[f],y=a.layer,Zr(a,l)&&n.call(r,y)&&(a=vs(this,y).Pa(an(y.da())?p:t,e,o,i)))return a},em.Jg=function(t,e,o,i,n,r){var s,a=e.viewState,p=a.resolution,a=a.rotation;if(null!==this.c){var l=this.g.ka(t);if(this.c.c(l,p,a,{},lb)&&(s=o.call(i,null)))return s}for(a=e.layerStatesArray,l=a.length-1;0<=l;--l){s=a[l];var h=s.layer;if(Zr(s,p)&&n.call(r,h)&&(s=vs(this,h).dc(t,e,o,i)))return s}},em.Kg=function(e,o,i,n){return e=this.ef(e,o,lb,this,i,n),t(e)},em.Tj=function(){this.g.render()},em.ue=o,em.Pn=function(t,e){for(var o in this.f)if(!(null!==e&&o in e.layerStates)){var i=o,n=this.f[i];delete this.f[i],zt(this.o[i]),delete this.o[i],Ct(n)}},bs.prototype.clear=function(){this.b.length=0,this.a.length=0,tt(this.c)},bs.prototype.Tb=function(){return this.b.length},bs.prototype.la=function(){return 0===this.b.length},v(Cs,bs),Cs.prototype.f=function(t){t=t.target;var e=t.state;2!==e&&3!==e&&4!==e||(Wt(t,"change",this.f,!1,this),--this.d,this.i())},Es.prototype.update=function(t,e){this.b.push(t,e,lm())},v(As,re),As.prototype.c=function(){return this.get("active")},As.prototype.d=function(t){this.set("active",t)},As.prototype.setMap=function(t){this.l=t},v(js,As),v(Hs,As),Hs.prototype.nc=hn,v(Ws,Hs),Ws.prototype.nc=pb,v(Ys,Hs),Ys.prototype.nc=pb,v(Qs,re),Qs.prototype.e=function(e,o){var i=t(o)?o:[NaN,NaN];return this.Sa(e[0],e[1],i,1/0),i},Qs.prototype.Jb=pb,Qs.prototype.G=function(e){this.n!=this.b&&(this.o=this.wd(this.o),this.n=this.b);var o=this.o;return t(e)?(e[0]=o[0],e[1]=o[1],e[2]=o[2],e[3]=o[3]):e=o,e},Qs.prototype.transform=function(t,e){return this.qa(To(t,e)),this},v(ea,Qs),em=ea.prototype,em.Jb=pb,em.wd=function(t){var e=this.j,o=this.j.length,i=this.s;return t=He(1/0,1/0,-(1/0),-(1/0),t),Ke(t,e,0,o,i)},em.ob=function(){return this.j.slice(0,this.s)},em.pb=function(){return this.j.slice(this.j.length-this.s)},em.qb=function(){return this.a},em.Ve=function(t){if(this.l!=this.b&&(tt(this.f), +this.g=0,this.l=this.b),0>t||0!==this.g&&t<=this.g)return this;var e=t.toString();if(this.f.hasOwnProperty(e))return this.f[e];var o=this.xc(t);return o.j.length<this.j.length?this.f[e]=o:(this.g=t,this)},em.xc=function(){return this},em.qa=function(t){null!==this.j&&(t(this.j,this.j,this.s),this.k())},em.Oa=function(e,o){var i=this.j;if(null!==i){var n,r,s=i.length,a=this.s,p=t(i)?i:[],l=0;for(n=0;n<s;n+=a)for(p[l++]=i[n]+e,p[l++]=i[n+1]+o,r=n+2;r<n+a;++r)p[l++]=i[r];t(i)&&p.length!=l&&(p.length=l),this.k()}},v(xa,ea),em=xa.prototype,em.clone=function(){var t=new xa(null);return Sa(t,this.a,this.j.slice()),t},em.Sa=function(t,e,o,i){return i<Oe(this.G(),t,e)?i:(this.c!=this.b&&(this.i=Math.sqrt(ha(this.j,0,this.j.length,this.s,0)),this.c=this.b),ca(this.j,0,this.j.length,this.s,this.i,!0,t,e,o,i))},em.rl=function(){return ra(this.j,0,this.j.length,this.s)},em.K=function(){return va(this.j,0,this.j.length,this.s)},em.xc=function(t){var e=[];return e.length=ba(this.j,0,this.j.length,this.s,t,e,0),t=new xa(null),Sa(t,"XY",e),t},em.M=function(){return"LinearRing"},em.W=function(t,e){null===t?Sa(this,"XY",null):(na(this,e,t,1),null===this.j&&(this.j=[]),this.j.length=da(this.j,0,t,this.s),this.k())},v(Ta,ea),em=Ta.prototype,em.clone=function(){var t=new Ta(null);return Ma(t,this.a,this.j.slice()),t},em.Sa=function(t,e,o,i){var n=this.j;if(t=pa(t,e,n[0],n[1]),t<i){for(i=this.s,e=0;e<i;++e)o[e]=n[e];return o.length=i,t}return i},em.K=function(){return null===this.j?[]:this.j.slice()},em.wd=function(t){return $e(this.j,t)},em.M=function(){return"Point"},em.ra=function(t){return Ue(t,this.j[0],this.j[1])},em.W=function(t,e){null===t?Ma(this,"XY",null):(na(this,e,t,0),null===this.j&&(this.j=[]),this.j.length=ya(this.j,t),this.k())},v(Fa,ea),em=Fa.prototype,em.wi=function(t){null===this.j?this.j=t.j.slice():F(this.j,t.j),this.c.push(this.j.length),this.k()},em.clone=function(){var t=new Fa(null);return Ua(t,this.a,this.j.slice(),this.c.slice()),t},em.Sa=function(t,e,o,i){return i<Oe(this.G(),t,e)?i:(this.J!=this.b&&(this.L=Math.sqrt(ua(this.j,0,this.c,this.s,0)),this.J=this.b),fa(this.j,0,this.c,this.s,this.L,!0,t,e,o,i))},em.Jb=function(t,e){return Pa(Ba(this),0,this.c,this.s,t,e)},em.ul=function(){return sa(Ba(this),0,this.c,this.s)},em.K=function(e){var o;return t(e)?(o=Ba(this).slice(),Ia(o,0,this.c,this.s,e)):o=this.j,ma(o,0,this.c,this.s)},em.cj=function(){return new Ta(Oa(this))},em.ij=function(){return this.c.length},em.hj=function(t){if(0>t||this.c.length<=t)return null;var e=new xa(null);return Sa(e,this.a,this.j.slice(0===t?0:this.c[t-1],this.c[t])),e},em.Ed=function(){var t,e,o=this.a,i=this.j,n=this.c,r=[],s=0;for(t=0,e=n.length;t<e;++t){var a=n[t],p=new xa(null);Sa(p,o,i.slice(s,a)),r.push(p),s=a}return r},em.xc=function(t){var e=[],o=[];return e.length=wa(this.j,0,this.c,this.s,Math.sqrt(t),e,0,o),t=new Fa(null),Ua(t,"XY",e,o),t},em.M=function(){return"Polygon"},em.ra=function(t){return La(Ba(this),0,this.c,this.s,t)},em.W=function(t,e){if(null===t)Ua(this,"XY",null,this.c);else{na(this,e,t,2),null===this.j&&(this.j=[]);var o=ga(this.j,0,t,this.s,this.c);this.j.length=0===o.length?0:o[o.length-1],this.k()}},v(Ha,Et),v($a,Tt),$a.prototype.O=function(){this.setMap(null)},$a.prototype.g=function(t){var e=this.c,o=this.f;t.vectorContext.tc(1/0,function(t){t.Aa(o.e,o.c),t.Ba(o.a),t.Rb(e,null)})},$a.prototype.Q=function(){return this.c},$a.prototype.setMap=function(t){null!==this.d&&(zt(this.d),this.d=null,this.b.render(),this.b=null),this.b=t,null!==this.b&&(this.d=qt(t,"postcompose",this.g,!1,this),Wa(this))},v(za,Et),v(Ka,Hs),Ka.prototype.Q=function(){return this.f.Q()},Ka.prototype.g=o,v(Ja,_a),Ja.prototype.update=function(e,o){t(o)||(o=e.length);for(var i=o-this.a,n=this.e,r=this.c,s=0;s<o;){if(0==r)for(;s<=i;)Qa(this,e,s),s+=this.a;if(p(e)){for(;s<o;)if(n[r++]=e.charCodeAt(s++),r==this.a){Qa(this,n),r=0;break}}else for(;s<o;)if(n[r++]=e[s++],r==this.a){Qa(this,n),r=0;break}}this.c=r,this.d+=o},em=tp.prototype,em.Hm=function(){return this.b},em.ej=function(){return this.d},em.Im=function(){return this.c},em.fj=function(){return this.e},em.lj=function(){return this.f},em.Jm=function(){return this.a},em.Km=function(t){this.b=t,this.g=void 0},em.Zn=function(t){this.d=t,this.g=void 0},em.Lm=function(t){this.c=t,this.g=void 0},em.$n=function(t){this.e=t,this.g=void 0},em.ao=function(t){this.f=t,this.g=void 0},em.ko=function(t){this.a=t,this.g=void 0},em.nb=function(){if(!t(this.g)){var e="s"+(null===this.b?"-":ni(this.b))+","+(t(this.d)?this.d.toString():"-")+","+(null===this.c?"-":this.c.toString())+","+(t(this.e)?this.e:"-")+","+(t(this.f)?this.f.toString():"-")+","+(t(this.a)?this.a.toString():"-"),o=new Ja;o.update(e);var i=Array((56>o.c?o.a:2*o.a)-o.c);for(i[0]=128,e=1;e<i.length-8;++e)i[e]=0;for(var n=8*o.d,e=i.length-8;e<i.length;++e)i[e]=255&n,n/=256;for(o.update(i),i=Array(16),e=n=0;4>e;++e)for(var r=0;32>r;r+=8)i[n++]=o.b[e]>>>r&255;if(8192>i.length)o=String.fromCharCode.apply(null,i);else for(o="",e=0;e<i.length;e+=8192)o+=String.fromCharCode.apply(null,B(i,e,e+8192));this.g=o}return this.g};var ow=[0,0,0,1],iw=[],nw=[0,0,0,1];ep.prototype.c=function(){return this.b},ep.prototype.d=function(t){this.b=t,this.a=void 0},ep.prototype.nb=function(){return t(this.a)||(this.a="f"+(null===this.b?"-":ni(this.b))),this.a},v(op,hs),em=op.prototype,em.mb=function(){return this.g},em.ym=function(){return this.d},em.he=function(){return this.f},em.Lb=function(){return this.b},em.gd=function(){return 2},em.Dd=function(){return this.i},em.rb=function(){return this.o},em.zm=function(){return this.c},em.Xa=function(){return this.p},em.Am=function(){return this.a},em.$e=o,em.load=o,em.xf=o,em.Sg=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),e.arc(t.size/2,t.size/2,this.c,0,2*Math.PI,!0),null!==this.d&&(e.fillStyle=ni(this.d.b),e.fill()),null!==this.a&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.md,null===t.lineDash||e.setLineDash(t.lineDash),e.stroke()),e.closePath()},em.Rg=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),e.arc(t.size/2,t.size/2,this.c,0,2*Math.PI,!0),e.fillStyle=ow,e.fill(),null!==this.a&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.md,null===t.lineDash||e.setLineDash(t.lineDash),e.stroke()),e.closePath()},em.nb=function(){var e=null===this.a?"-":this.a.nb(),o=null===this.d?"-":this.d.nb();return null!==this.e&&e==this.e[1]&&o==this.e[2]&&this.c==this.e[3]||(this.e=["c"+e+o+(t(this.c)?this.c.toString():"-"),e,o,this.c]),this.e[0]},em=ip.prototype,em.Q=function(){return this.g},em.Zi=function(){return this.d},em.Mm=function(){return this.e},em.Nm=function(){return this.f},em.Om=function(){return this.c},em.Pm=function(){return this.a},em.Dj=function(){return this.b},em.Vg=function(e){h(e)?this.d=e:p(e)?this.d=function(t){return t.get(e)}:null===e?this.d=ap:t(e)&&(this.d=function(){return e}),this.g=e},em.mo=function(t){this.b=t},v(pp,Ka),pp.prototype.g=function(){var t=this.l,e=t.R(),o=this.Q().G(),i=_e(o),n=t.xa(),o=Ro(o,n),n=this.n,o=e.constrainResolution(o,0,void 0);Ns(t,e,o,i,n)},v(lp,As),v(up,As),v(fp,As),fp.prototype.i=function(t){var e=lt(this.a,-1,1),o=t.R();t.render(),Ls(t,o,-e,this.f,this.o),this.a=0,this.f=null,this.g=this.e=void 0},v(dp,Hs),dp.prototype.nc=pb,v(bp,Hs),bp.prototype.nc=pb,v(Mp,Kr),em=Mp.prototype,em.Qd=function(){this.eb()&&this.k()},em.Vj=function(){E(this.c,zt),this.c.length=0;var t=this.Bc();this.c.push(qt(t,"add",this.Uj,!1,this),qt(t,"remove",this.Wj,!1,this)),W(this.a,function(t){E(t,zt)}),tt(this.a);var e,o,i,t=t.a;for(e=0,o=t.length;e<o;e++)i=t[e],this.a[c(i).toString()]=[qt(i,"propertychange",this.Qd,!1,this),qt(i,"change",this.Qd,!1,this)];this.k()},em.Uj=function(t){t=t.element;var e=c(t).toString();this.a[e]=[qt(t,"propertychange",this.Qd,!1,this),qt(t,"change",this.Qd,!1,this)],this.k()},em.Wj=function(t){t=c(t.element).toString(),E(this.a[t],zt),delete this.a[t],this.k()},em.Bc=function(){return this.get("layers")},em.Ah=function(t){this.set("layers",t)},em.Ue=function(e){var o=t(e)?e:[],i=o.length;this.Bc().forEach(function(t){t.Ue(o)}),e=Vr(this);var n,r;for(n=o.length;i<n;i++)r=o[i],r.brightness=lt(r.brightness+e.brightness,-1,1),r.contrast*=e.contrast,r.hue+=e.hue,r.opacity*=e.opacity,r.saturation*=e.saturation,r.visible=r.visible&&e.visible,r.maxResolution=Math.min(r.maxResolution,e.maxResolution),r.minResolution=Math.max(r.minResolution,e.minResolution),t(e.extent)&&(r.extent=t(r.extent)?eo(r.extent,e.extent):e.extent);return o},em.We=function(){return"ready"},v(Cp,ho),Cp.prototype.getPointResolution=function(t,e){var o=e[1]/6378137;return t/((Math.exp(o)+Math.exp(-o))/2)};var rw=6378137*Math.PI,sw=[-rw,-rw,rw,rw],aw=[-180,-85,180,85],pw=k("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(" "),function(t){return new Cp(t)});v(kp,ho),kp.prototype.getPointResolution=function(t){return t};var lw=[-180,-90,180,90],hw=[new kp("CRS:84"),new kp("EPSG:4326","neu"),new kp("urn:ogc:def:crs:EPSG::4326","neu"),new kp("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new kp("urn:ogc:def:crs:OGC:1.3:CRS84"),new kp("urn:ogc:def:crs:OGC:2:84"),new kp("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new kp("urn:x-ogc:def:crs:EPSG:4326","neu")];v(Rp,Yr),v(Lp,Yr),Lp.prototype.a=function(){return this.get("preload")},Lp.prototype.d=function(t){this.set("preload",t)},Lp.prototype.c=function(){return this.get("useInterimTilesOnError")},Lp.prototype.e=function(t){this.set("useInterimTilesOnError",t)},v(Np,Yr),Np.prototype.H=function(){return this.g},Np.prototype.J=function(){return this.a},Np.prototype.e=function(e){this.g=t(e)?e:rp,this.a=null===e?void 0:np(this.g),this.k()},em=jp.prototype,em.tc=function(e,o){var i=e.toString(),n=this.U[i];t(n)?n.push(o):this.U[i]=[o]},em.uc=function(t){if(ro(this.e,t.G())){if(null!==this.a||null!==this.b){null===this.a||Up(this,this.a),null===this.b||Gp(this,this.b);var e;e=t.j,e=null===e?null:ta(e,0,e.length,t.s,this.H,this.V);var o=e[2]-e[0],i=e[3]-e[1],o=Math.sqrt(o*o+i*i),i=this.c;i.beginPath(),i.arc(e[0],e[1],o,0,2*Math.PI),null===this.a||i.fill(),null===this.b||i.stroke()}""!==this.d&&Dp(this,t.dd(),2,2)}},em.Le=function(e,o){var i=(0,o.d)(e);if(null!=i&&ro(this.e,i.G())){var n=o.b;t(n)||(n=0),this.tc(n,function(t){t.Aa(o.e,o.c),t.Za(o.f),t.Ba(o.a),uw[i.M()].call(t,i,null)})}},em.zd=function(t,e){var o,i,n=t.d;for(o=0,i=n.length;o<i;++o){var r=n[o];uw[r.M()].call(this,r,e)}},em.kb=function(t){var e=t.j;t=t.s,null===this.f||Ip(this,e,e.length),""!==this.d&&Dp(this,e,e.length,t)},em.jb=function(t){var e=t.j;t=t.s,null===this.f||Ip(this,e,e.length),""!==this.d&&Dp(this,e,e.length,t)},em.zb=function(t){if(ro(this.e,t.G())){if(null!==this.b){Gp(this,this.b);var e=this.c,o=t.j;e.beginPath(),Fp(this,o,0,o.length,t.s,!1),e.stroke()}""!==this.d&&(t=bl(t),Dp(this,t,2,2))}},em.vc=function(t){var e=t.G();if(ro(this.e,e)){if(null!==this.b){Gp(this,this.b);var e=this.c,o=t.j,i=0,n=t.c,r=t.s;e.beginPath();var s,a;for(s=0,a=n.length;s<a;++s)i=Fp(this,o,i,n[s],r,!1);e.stroke()}""!==this.d&&(t=Sl(t),Dp(this,t,t.length,2))}},em.Rb=function(t){if(ro(this.e,t.G())){if(null!==this.b||null!==this.a){null===this.a||Up(this,this.a),null===this.b||Gp(this,this.b);var e=this.c;e.beginPath(),Op(this,Ba(t),0,t.c,t.s),null===this.a||e.fill(),null===this.b||e.stroke()}""!==this.d&&(t=Oa(t),Dp(this,t,2,2))}},em.wc=function(t){if(ro(this.e,t.G())){if(null!==this.b||null!==this.a){null===this.a||Up(this,this.a),null===this.b||Gp(this,this.b);var e,o,i=this.c,n=kl(t),r=0,s=t.c,a=t.s;for(e=0,o=s.length;e<o;++e){var p=s[e];i.beginPath(),r=Op(this,n,r,p,a),null===this.a||i.fill(),null===this.b||i.stroke()}}""!==this.d&&(t=Pl(t),Dp(this,t,t.length,2))}},em.Aa=function(e,o){if(null===e)this.a=null;else{var i=e.b;this.a={fillStyle:ni(null===i?ow:i)}}if(null===o)this.b=null;else{var i=o.b,n=o.d,r=o.c,s=o.e,a=o.a,p=o.f;this.b={lineCap:t(n)?n:"round",lineDash:null!=r?r:iw,lineJoin:t(s)?s:"round",lineWidth:this.n*(t(a)?a:1),miterLimit:t(p)?p:10,strokeStyle:ni(null===i?nw:i)}}},em.Za=function(t){if(null===t)this.f=null;else{var e=t.mb(),o=t.Lb(1),i=t.rb(),n=t.Xa();this.J=e[0],this.L=e[1],this.N=n[1],this.f=o,this.o=t.U,this.Fa=i[0],this.Ga=i[1],this.Ra=t.V,this.rc=t.q,this.g=t.l,this.vb=t.n,this.T=n[0]}},em.Ba=function(e){if(null===e)this.d="";else{var o=e.b;null===o?this.i=null:(o=o.b,this.i={fillStyle:ni(null===o?ow:o)});var i=e.f;if(null===i)this.l=null;else{var o=i.b,n=i.d,r=i.c,s=i.e,a=i.a,i=i.f;this.l={lineCap:t(n)?n:"round",lineDash:null!=r?r:iw,lineJoin:t(s)?s:"round",lineWidth:t(a)?a:1,miterLimit:t(i)?i:10,strokeStyle:ni(null===o?nw:o)}}var o=e.d,n=e.q,r=e.l,s=e.e,a=e.a,i=e.c,p=e.g;e=e.i,this.sa={font:t(o)?o:"10px sans-serif",textAlign:t(p)?p:"center",textBaseline:t(e)?e:"middle"},this.d=t(i)?i:"",this.wb=t(n)?this.n*n:0,this.xb=t(r)?this.n*r:0,this.p=t(s)?s:0,this.q=this.n*(t(a)?a:1)}};var uw={Point:jp.prototype.kb,LineString:jp.prototype.zb,Polygon:jp.prototype.Rb,MultiPoint:jp.prototype.jb,MultiLineString:jp.prototype.vc,MultiPolygon:jp.prototype.wc,GeometryCollection:jp.prototype.zd,Circle:jp.prototype.uc},cw=["Polygon","LineString","Image","Text"];v(qp,qa),qp.prototype.de=o,qp.prototype.Pe=function(){return this.T},v(Kp,qp),Kp.prototype.kb=function(t,e){if(null!==this.i){$p(this,e);var o=t.j,i=this.coordinates.length,o=Hp(this,o,0,o.length,t.s,!1);this.a.push([4,i,o,this.i,this.c,this.f,this.g,this.q,this.l,this.o,this.U,this.V,this.n,this.p,this.H]),this.b.push([4,i,o,this.N,this.c,this.f,this.g,this.q,this.l,this.o,this.U,this.V,this.n,this.p,this.H]),zp(this,e)}},Kp.prototype.jb=function(t,e){if(null!==this.i){$p(this,e);var o=t.j,i=this.coordinates.length,o=Hp(this,o,0,o.length,t.s,!1);this.a.push([4,i,o,this.i,this.c,this.f,this.g,this.q,this.l,this.o,this.U,this.V,this.n,this.p,this.H]),this.b.push([4,i,o,this.N,this.c,this.f,this.g,this.q,this.l,this.o,this.U,this.V,this.n,this.p,this.H]),zp(this,e)}},Kp.prototype.de=function(){Wp(this),this.f=this.c=void 0,this.i=this.N=null,this.H=this.p=this.V=this.U=this.o=this.l=this.q=this.n=this.g=void 0},Kp.prototype.Za=function(t){var e=t.mb(),o=t.Xa(),i=t.he(1),n=t.Lb(1),r=t.rb();this.c=e[0],this.f=e[1],this.N=i,this.i=n,this.g=o[1],this.q=t.U,this.l=r[0],this.o=r[1],this.U=t.V,this.V=t.q,this.n=t.l,this.p=t.n,this.H=o[0]},v(Vp,qp),em=Vp.prototype,em.Pe=function(){return null===this.d&&(this.d=Fe(this.T),0<this.e&&De(this.d,this.resolution*(this.e+1)/2,this.d)),this.d},em.zb=function(e,o){var i=this.c,n=i.lineWidth;t(i.strokeStyle)&&t(n)&&(Zp(this),$p(this,o),this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash],[1]),i=e.j,Yp(this,i,0,i.length,e.s),this.b.push([12]),zp(this,o))},em.vc=function(e,o){var i=this.c,n=i.lineWidth;if(t(i.strokeStyle)&&t(n)){Zp(this),$p(this,o),this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash],[1]);var r,s,i=e.c,n=e.j,a=e.s,p=0;for(r=0,s=i.length;r<s;++r)p=Yp(this,n,p,i[r],a);this.b.push([12]),zp(this,o)}},em.de=function(){this.c.Ze!=this.coordinates.length&&this.a.push([12]),Wp(this),this.c=null},em.Aa=function(e,o){var i=o.b;this.c.strokeStyle=ni(null===i?nw:i),i=o.d,this.c.lineCap=t(i)?i:"round",i=o.c,this.c.lineDash=null===i?iw:i,i=o.e,this.c.lineJoin=t(i)?i:"round",i=o.a,this.c.lineWidth=t(i)?i:1,i=o.f,this.c.miterLimit=t(i)?i:10,this.c.lineWidth>this.e&&(this.e=this.c.lineWidth,this.d=null)},v(_p,qp),em=_p.prototype,em.uc=function(e,o){var i=this.c,n=i.strokeStyle;if(t(i.fillStyle)||t(n)){Qp(this),$p(this,o),this.b.push([9,ni(ow)]),t(i.strokeStyle)&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash]);var r=e.j,n=this.coordinates.length;Hp(this,r,0,r.length,e.s,!1),r=[1],n=[2,n],this.a.push(r,n),this.b.push(r,n),n=[7],this.b.push(n),t(i.fillStyle)&&this.a.push(n),t(i.strokeStyle)&&(i=[12],this.a.push(i),this.b.push(i)),zp(this,o)}},em.Rb=function(e,o){var i=this.c,n=i.strokeStyle;(t(i.fillStyle)||t(n))&&(Qp(this),$p(this,o),this.b.push([9,ni(ow)]),t(i.strokeStyle)&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash]),i=e.c,n=Ba(e),Jp(this,n,0,i,e.s),zp(this,o))},em.wc=function(e,o){var i=this.c,n=i.strokeStyle;if(t(i.fillStyle)||t(n)){Qp(this),$p(this,o),this.b.push([9,ni(ow)]),t(i.strokeStyle)&&this.b.push([10,i.strokeStyle,i.lineWidth,i.lineCap,i.lineJoin,i.miterLimit,i.lineDash]);var r,s,i=e.c,n=kl(e),a=e.s,p=0;for(r=0,s=i.length;r<s;++r)p=Jp(this,n,p,i[r],a);zp(this,o)}},em.de=function(){Wp(this),this.c=null;var t=this.oa;if(0!==t){var e,o,i=this.coordinates;for(e=0,o=i.length;e<o;++e)i[e]=t*Math.round(i[e]/t)}},em.Pe=function(){return null===this.d&&(this.d=Fe(this.T),0<this.e&&De(this.d,this.resolution*(this.e+1)/2,this.d)),this.d},em.Aa=function(e,o){var i=this.c;if(null===e)i.fillStyle=void 0;else{var n=e.b;i.fillStyle=ni(null===n?ow:n)}null===o?(i.strokeStyle=void 0,i.lineCap=void 0,i.lineDash=null,i.lineJoin=void 0,i.lineWidth=void 0,i.miterLimit=void 0):(n=o.b,i.strokeStyle=ni(null===n?nw:n),n=o.d,i.lineCap=t(n)?n:"round",n=o.c,i.lineDash=null===n?iw:n.slice(),n=o.e,i.lineJoin=t(n)?n:"round",n=o.a,i.lineWidth=t(n)?n:1,n=o.f,i.miterLimit=t(n)?n:10,i.lineWidth>this.e&&(this.e=i.lineWidth,this.d=null))},v(tl,qp),tl.prototype.lb=function(t,e,o,i,n,r){if(""!==this.i&&null!==this.g&&(null!==this.c||null!==this.f)){if(null!==this.c){n=this.c;var s=this.V;if(null===s||s.fillStyle!=n.fillStyle){var a=[9,n.fillStyle];this.a.push(a),this.b.push(a),null===s?this.V={fillStyle:n.fillStyle}:s.fillStyle=n.fillStyle}}null!==this.f&&(n=this.f,s=this.n,null===s||s.lineCap!=n.lineCap||s.lineDash!=n.lineDash||s.lineJoin!=n.lineJoin||s.lineWidth!=n.lineWidth||s.miterLimit!=n.miterLimit||s.strokeStyle!=n.strokeStyle)&&(a=[10,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,!1],this.a.push(a),this.b.push(a),null===s?this.n={lineCap:n.lineCap,lineDash:n.lineDash,lineJoin:n.lineJoin,lineWidth:n.lineWidth,miterLimit:n.miterLimit,strokeStyle:n.strokeStyle}:(s.lineCap=n.lineCap,s.lineDash=n.lineDash,s.lineJoin=n.lineJoin,s.lineWidth=n.lineWidth,s.miterLimit=n.miterLimit,s.strokeStyle=n.strokeStyle)),n=this.g,s=this.p,null!==s&&s.font==n.font&&s.textAlign==n.textAlign&&s.textBaseline==n.textBaseline||(a=[11,n.font,n.textAlign,n.textBaseline],this.a.push(a),this.b.push(a),null===s?this.p={font:n.font,textAlign:n.textAlign,textBaseline:n.textBaseline}:(s.font=n.font,s.textAlign=n.textAlign,s.textBaseline=n.textBaseline)),$p(this,r),n=this.coordinates.length,t=Hp(this,t,e,o,i,!1),t=[5,n,t,this.i,this.q,this.l,this.o,this.U,null!==this.c,null!==this.f],this.a.push(t),this.b.push(t),zp(this,r)}},tl.prototype.Ba=function(e){if(null===e)this.i="";else{var o=e.b;null===o?this.c=null:(o=o.b,o=ni(null===o?ow:o),null===this.c?this.c={fillStyle:o}:this.c.fillStyle=o);var i=e.f;if(null===i)this.f=null;else{var o=i.b,n=i.d,r=i.c,s=i.e,a=i.a,i=i.f,n=t(n)?n:"round",r=null!=r?r.slice():iw,s=t(s)?s:"round",a=t(a)?a:1,i=t(i)?i:10,o=ni(null===o?nw:o);if(null===this.f)this.f={lineCap:n,lineDash:r,lineJoin:s,lineWidth:a,miterLimit:i,strokeStyle:o};else{var p=this.f;p.lineCap=n,p.lineDash=r,p.lineJoin=s,p.lineWidth=a,p.miterLimit=i,p.strokeStyle=o}}var l=e.d,o=e.q,n=e.l,r=e.e,a=e.a,i=e.c,s=e.g,p=e.i;e=t(l)?l:"10px sans-serif",s=t(s)?s:"center",p=t(p)?p:"middle",null===this.g?this.g={font:e,textAlign:s,textBaseline:p}:(l=this.g,l.font=e,l.textAlign=s,l.textBaseline=p),this.i=t(i)?i:"",this.q=t(o)?o:0,this.l=t(n)?n:0,this.o=t(r)?r:0,this.U=t(a)?a:1}},el.prototype.c=function(e,o,i,n,r){var s=this.g;Jr(s,.5,.5,1/o,-1/o,-i,-e[0],-e[1]);var a=this.f;a.clearRect(0,0,1,1);var p;return t(this.e)&&(p=qe(),ze(p,e),De(p,o*this.e,p)),nl(this,a,s,i,n,function(t){if(0<a.getImageData(0,0,1,1).data[3]){if(t=r(t))return t;a.clearRect(0,0,1,1)}},p)},el.prototype.b=function(e,o){var i=t(e)?e.toString():"0",n=this.a[i];return t(n)||(n={},this.a[i]=n),i=n[o],t(i)||(i=new fw[o](this.q,this.d,this.i),n[o]=i),i},el.prototype.la=function(){return Q(this.a)};var fw={Image:Kp,LineString:Vp,Polygon:_p,Text:tl};v(rl,es),rl.prototype.o=function(e,o,i){sl(this,"precompose",i,e,void 0);var n=this.fe();if(null!==n){var r=o.extent,s=t(r);if(s){var a=e.pixelRatio,p=oo(r),l=io(r),h=Ze(r),r=Ye(r);ts(e.coordinateToPixelMatrix,p,p),ts(e.coordinateToPixelMatrix,l,l),ts(e.coordinateToPixelMatrix,h,h),ts(e.coordinateToPixelMatrix,r,r),i.save(),i.beginPath(),i.moveTo(p[0]*a,p[1]*a),i.lineTo(l[0]*a,l[1]*a),i.lineTo(h[0]*a,h[1]*a),i.lineTo(r[0]*a,r[1]*a),i.clip()}a=this.Xf(),p=i.globalAlpha,i.globalAlpha=o.opacity,0===e.viewState.rotation?(o=a[13],l=n.width*a[0],h=n.height*a[5],i.drawImage(n,0,0,+n.width,+n.height,Math.round(a[12]),Math.round(o),Math.round(l),Math.round(h))):(i.setTransform(a[0],a[1],a[4],a[5],a[12],a[13]),i.drawImage(n,0,0),i.setTransform(1,0,0,1,0,0)),i.globalAlpha=p,s&&i.restore()}sl(this,"postcompose",i,e,void 0)};var yw=function(){var t=null,e=null;return function(o){if(null===t){t=mr(1,1),e=t.createImageData(1,1);var i=e.data;i[0]=42,i[1]=84,i[2]=126,i[3]=255}var i=t.canvas,n=o[0]<=i.width&&o[1]<=i.height;return n||(i.width=o[0],i.height=o[1],i=o[0]-1,o=o[1]-1,t.putImageData(e,i,o),o=t.getImageData(i,o,1,1),n=G(e.data,o.data)),n}}();v(ll,ea),em=ll.prototype,em.clone=function(){var t=new ll(null);return ia(t,this.a,this.j.slice()),t.k(),t},em.Sa=function(t,e,o,i){var n=this.j;t-=n[0];var r=e-n[1];if(e=t*t+r*r,e<i){if(0===e)for(i=0;i<this.s;++i)o[i]=n[i];else for(i=this.zg()/Math.sqrt(e),o[0]=n[0]+i*t,o[1]=n[1]+i*r,i=2;i<this.s;++i)o[i]=n[i];return o.length=this.s,e}return i},em.Jb=function(t,e){var o=this.j,i=t-o[0],o=e-o[1];return i*i+o*o<=hl(this)},em.dd=function(){return this.j.slice(0,this.s)},em.wd=function(t){var e=this.j,o=e[this.s]-e[0];return He(e[0]-o,e[1]-o,e[0]+o,e[1]+o,t)},em.zg=function(){return Math.sqrt(hl(this))},em.M=function(){return"Circle"},em.pl=function(t){var e=this.s,o=t.slice();o[e]=o[0]+(this.j[e]-this.j[0]);var i;for(i=1;i<e;++i)o[e+i]=t[i];ia(this,this.a,o),this.k()},em.uh=function(t,e,o){if(null===t)ia(this,"XY",null);else{na(this,o,t,0),null===this.j&&(this.j=[]),o=this.j,t=ya(o,t),o[t++]=o[0]+e;var i;for(e=1,i=this.s;e<i;++e)o[t++]=o[e];o.length=t}this.k()},em.Ag=function(t){this.j[this.s]=this.j[0]+t,this.k()},v(ul,Qs),em=ul.prototype,em.clone=function(){var t=new ul(null);return t.xh(this.d),t},em.Sa=function(t,e,o,i){if(i<Oe(this.G(),t,e))return i;var n,r,s=this.d;for(n=0,r=s.length;n<r;++n)i=s[n].Sa(t,e,o,i);return i},em.Jb=function(t,e){var o,i,n=this.d;for(o=0,i=n.length;o<i;++o)if(n[o].Jb(t,e))return!0;return!1},em.wd=function(t){He(1/0,1/0,-(1/0),-(1/0),t);for(var e=this.d,o=0,i=e.length;o<i;++o)We(t,e[o].G());return t},em.Vf=function(){return cl(this.d)},em.Ve=function(t){if(this.l!=this.b&&(tt(this.f),this.g=0,this.l=this.b),0>t||0!==this.g&&t<this.g)return this;var e=t.toString();if(this.f.hasOwnProperty(e))return this.f[e];var o,i,n=[],r=this.d,s=!1;for(o=0,i=r.length;o<i;++o){var a=r[o],p=a.Ve(t);n.push(p),p!==a&&(s=!0)}return s?(t=new ul(null),fl(t),t.d=n,yl(t),t.k(),this.f[e]=t):(this.g=t,this)},em.M=function(){return"GeometryCollection"},em.ra=function(t){var e,o,i=this.d;for(e=0,o=i.length;e<o;++e)if(i[e].ra(t))return!0;return!1},em.la=function(){return 0==this.d.length},em.xh=function(t){t=cl(t),fl(this),this.d=t,yl(this),this.k()},em.qa=function(t){var e,o,i=this.d;for(e=0,o=i.length;e<o;++e)i[e].qa(t);this.k()},em.Oa=function(t,e){var o,i,n=this.d;for(o=0,i=n.length;o<i;++o)n[o].Oa(t,e);this.k()},em.O=function(){fl(this),ul.S.O.call(this)},v(ml,ea),em=ml.prototype,em.ui=function(t){null===this.j?this.j=t.slice():F(this.j,t),this.k()},em.clone=function(){var t=new ml(null);return wl(t,this.a,this.j.slice()),t},em.Sa=function(t,e,o,i){return i<Oe(this.G(),t,e)?i:(this.p!=this.b&&(this.H=Math.sqrt(ha(this.j,0,this.j.length,this.s,0)),this.p=this.b),ca(this.j,0,this.j.length,this.s,this.H,!1,t,e,o,i))},em.Ji=function(t,e){return Aa(this.j,0,this.j.length,this.s,t,e)},em.ql=function(e,o){return"XYM"!=this.a&&"XYZM"!=this.a?null:gl(this.j,0,this.j.length,this.s,e,!!t(o)&&o)},em.K=function(){return va(this.j,0,this.j.length,this.s)},em.Bg=function(){var t,e=this.j,o=this.s,i=e[0],n=e[1],r=0;for(t=0+o;t<this.j.length;t+=o)var s=e[t],a=e[t+1],r=r+Math.sqrt((s-i)*(s-i)+(a-n)*(a-n)),i=s,n=a;return r},em.xc=function(t){var e=[];return e.length=ba(this.j,0,this.j.length,this.s,t,e,0),t=new ml(null),wl(t,"XY",e),t},em.M=function(){return"LineString"},em.ra=function(t){return Ra(this.j,0,this.j.length,this.s,t)},em.W=function(t,e){null===t?wl(this,"XY",null):(na(this,e,t,1),null===this.j&&(this.j=[]),this.j.length=da(this.j,0,t,this.s),this.k())},v(xl,ea),em=xl.prototype,em.vi=function(t){null===this.j?this.j=t.j.slice():F(this.j,t.j.slice()),this.c.push(this.j.length),this.k()},em.clone=function(){var t=new xl(null);return Tl(t,this.a,this.j.slice(),this.c.slice()),t},em.Sa=function(t,e,o,i){return i<Oe(this.G(),t,e)?i:(this.i!=this.b&&(this.p=Math.sqrt(ua(this.j,0,this.c,this.s,0)),this.i=this.b),fa(this.j,0,this.c,this.s,this.p,!1,t,e,o,i))},em.sl=function(e,o,i){return"XYM"!=this.a&&"XYZM"!=this.a||0===this.j.length?null:vl(this.j,this.c,this.s,e,!!t(o)&&o,!!t(i)&&i)},em.K=function(){return ma(this.j,0,this.c,this.s)},em.gj=function(t){if(0>t||this.c.length<=t)return null;var e=new ml(null);return wl(e,this.a,this.j.slice(0===t?0:this.c[t-1],this.c[t])),e},em.ad=function(){var t,e,o=this.j,i=this.c,n=this.a,r=[],s=0;for(t=0,e=i.length;t<e;++t){var a=i[t],p=new ml(null);wl(p,n,o.slice(s,a)),r.push(p),s=a}return r},em.xc=function(t){var e,o,i=[],n=[],r=this.j,s=this.c,a=this.s,p=0,l=0;for(e=0,o=s.length;e<o;++e){var h=s[e],l=ba(r,p,h,a,t,i,l);n.push(l),p=h}return i.length=l,t=new xl(null),Tl(t,"XY",i,n),t},em.M=function(){return"MultiLineString"},em.ra=function(t){t:{var e,o,i=this.j,n=this.c,r=this.s,s=0;for(e=0,o=n.length;e<o;++e){if(Ra(i,s,n[e],r,t)){t=!0;break t}s=n[e]}t=!1}return t},em.W=function(t,e){if(null===t)Tl(this,"XY",null,this.c);else{na(this,e,t,2),null===this.j&&(this.j=[]);var o=ga(this.j,0,t,this.s,this.c);this.j.length=0===o.length?0:o[o.length-1],this.k()}},v(Cl,ea),em=Cl.prototype,em.xi=function(t){null===this.j?this.j=t.j.slice():F(this.j,t.j),this.k()},em.clone=function(){var t=new Cl(null);return ia(t,this.a,this.j.slice()),t.k(),t},em.Sa=function(t,e,o,i){if(i<Oe(this.G(),t,e))return i;var n,r,s,a=this.j,p=this.s;for(n=0,r=a.length;n<r;n+=p)if(s=pa(t,e,a[n],a[n+1]),s<i){for(i=s,s=0;s<p;++s)o[s]=a[n+s];o.length=p}return i},em.K=function(){return va(this.j,0,this.j.length,this.s)},em.qj=function(t){var e=null===this.j?0:this.j.length/this.s;return 0>t||e<=t?null:(e=new Ta(null),Ma(e,this.a,this.j.slice(t*this.s,(t+1)*this.s)),e)},em.ce=function(){var t,e,o=this.j,i=this.a,n=this.s,r=[];for(t=0,e=o.length;t<e;t+=n){var s=new Ta(null);Ma(s,i,o.slice(t,t+n)),r.push(s)}return r},em.M=function(){return"MultiPoint"},em.ra=function(t){var e,o,i,n,r=this.j,s=this.s;for(e=0,o=r.length;e<o;e+=s)if(i=r[e],n=r[e+1],Ue(t,i,n))return!0;return!1},em.W=function(t,e){null===t?ia(this,"XY",null):(na(this,e,t,1),null===this.j&&(this.j=[]),this.j.length=da(this.j,0,t,this.s)),this.k()},v(El,ea),em=El.prototype,em.yi=function(t){if(null===this.j)this.j=t.j.slice(),t=t.c.slice(),this.c.push();else{var e=this.j.length;F(this.j,t.j),t=t.c.slice();var o,i;for(o=0,i=t.length;o<i;++o)t[o]+=e}this.c.push(t),this.k()},em.clone=function(){var t=new El(null);return Al(t,this.a,this.j.slice(),this.c.slice()),t},em.Sa=function(e,o,i,n){if(n<Oe(this.G(),e,o))return n;if(this.J!=this.b){var r,s,a=this.c,p=0,l=0;for(r=0,s=a.length;r<s;++r)var h=a[r],l=ua(this.j,p,h,this.s,l),p=h[h.length-1];this.L=Math.sqrt(l),this.J=this.b}a=kl(this),p=this.c,l=this.s,r=this.L,s=0;var u,c,h=t(void 0)?void 0:[NaN,NaN];for(u=0,c=p.length;u<c;++u){var f=p[u];n=fa(a,s,f,l,r,!0,e,o,i,n,h),s=f[f.length-1]}return n},em.Jb=function(t,e){var o;t:{o=kl(this);var i=this.c,n=0;if(0!==i.length){var r,s;for(r=0,s=i.length;r<s;++r){var a=i[r];if(Pa(o,n,a,this.s,t,e)){o=!0;break t}n=a[a.length-1]}}o=!1}return o},em.tl=function(){var t,e,o=kl(this),i=this.c,n=0,r=0;for(t=0,e=i.length;t<e;++t)var s=i[t],r=r+sa(o,n,s,this.s),n=s[s.length-1];return r},em.K=function(e){var o;t(e)?(o=kl(this).slice(),Da(o,this.c,this.s,e)):o=this.j,e=o,o=this.c;var i,n,r=this.s,s=0,a=t(void 0)?void 0:[],p=0;for(i=0,n=o.length;i<n;++i){var l=o[i];a[p++]=ma(e,s,l,r,a[p]),s=l[l.length-1]}return a.length=p,a},em.dj=function(){var t=new Cl(null),e=Pl(this).slice();return ia(t,"XY",e),t.k(),t},em.xc=function(t){var e=[],o=[],i=this.j,n=this.c,r=this.s;t=Math.sqrt(t);var s,a,p=0,l=0;for(s=0,a=n.length;s<a;++s){var h=n[s],u=[],l=wa(i,p,h,r,t,e,l,u);o.push(u),p=h[h.length-1]}return e.length=l,i=new El(null),Al(i,"XY",e,o),i},em.sj=function(t){if(0>t||this.c.length<=t)return null;var e;0===t?e=0:(e=this.c[t-1],e=e[e.length-1]),t=this.c[t].slice();var o=t[t.length-1];if(0!==e){var i,n;for(i=0,n=t.length;i<n;++i)t[i]-=e}return i=new Fa(null),Ua(i,this.a,this.j.slice(e,o),t),i},em.Id=function(){var t,e,o,i,n=this.a,r=this.j,s=this.c,a=[],p=0;for(t=0,e=s.length;t<e;++t){var l=s[t].slice(),h=l[l.length-1];if(0!==p)for(o=0,i=l.length;o<i;++o)l[o]-=p;o=new Fa(null),Ua(o,n,r.slice(p,h),l),a.push(o),p=h}return a},em.M=function(){return"MultiPolygon"},em.ra=function(t){t:{var e,o,i=kl(this),n=this.c,r=this.s,s=0;for(e=0,o=n.length;e<o;++e){var a=n[e];if(La(i,s,a,r,t)){t=!0;break t}s=a[a.length-1]}t=!1}return t},em.W=function(e,o){if(null===e)Al(this,"XY",null,this.c);else{na(this,o,e,3),null===this.j&&(this.j=[]);var i,n,r=this.j,s=this.s,a=this.c,p=0,a=t(a)?a:[],l=0;for(i=0,n=e.length;i<n;++i)p=ga(r,p,e[i],s,a[l]),a[l++]=p,p=p[p.length-1];a.length=l,0===a.length?this.j.length=0:(r=a[a.length-1],this.j.length=0===r.length?0:r[r.length-1]),this.k()}};var dw={Point:function(t,e,o,i){var n=o.f;if(null!==n){if(2!=n.gd())return;var r=t.b(o.b,"Image");r.Za(n),r.kb(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),t.lb(e.K(),0,2,2,e,i))},LineString:function(t,e,o,i){var n=o.c;if(null!==n){var r=t.b(o.b,"LineString");r.Aa(null,n),r.zb(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),t.lb(bl(e),0,2,2,e,i))},Polygon:function(t,e,o,i){var n=o.e,r=o.c;if(null!==n||null!==r){var s=t.b(o.b,"Polygon");s.Aa(n,r),s.Rb(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),t.lb(Oa(e),0,2,2,e,i))},MultiPoint:function(t,e,o,i){var n=o.f;if(null!==n){if(2!=n.gd())return;var r=t.b(o.b,"Image");r.Za(n),r.jb(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),o=e.j,t.lb(o,0,o.length,e.s,e,i))},MultiLineString:function(t,e,o,i){var n=o.c;if(null!==n){var r=t.b(o.b,"LineString");r.Aa(null,n),r.vc(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),o=Sl(e),t.lb(o,0,o.length,2,e,i))},MultiPolygon:function(t,e,o,i){var n=o.e,r=o.c;if(null!==r||null!==n){var s=t.b(o.b,"Polygon");s.Aa(n,r),s.wc(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),o=Pl(e),t.lb(o,0,o.length,2,e,i))},GeometryCollection:function(t,e,o,i){e=e.d;var n,r;for(n=0,r=e.length;n<r;++n)(0,dw[e[n].M()])(t,e[n],o,i)},Circle:function(t,e,o,i){var n=o.e,r=o.c;if(null!==n||null!==r){var s=t.b(o.b,"Polygon");s.Aa(n,r),s.uc(e,i)}n=o.a,null!==n&&(t=t.b(o.b,"Text"),t.Ba(n),t.lb(e.dd(),0,2,2,e,i))}};v(Il,_r),Il.prototype.b=function(){return this.a},v(Dl,sn),Dl.prototype.i=function(t){switch(t=t.target,t.state){case 1:this.dispatchEvent(new Bl(gw,t));break;case 2:this.dispatchEvent(new Bl(vw,t));break;case 3:this.dispatchEvent(new Bl(mw,t))}},v(Bl,Et);var gw="imageloadstart",vw="imageloadend",mw="imageloaderror";v(Ul,Dl),Ul.prototype.Cc=function(t,e,o,i){e=Fl(this,e);var n=this.J;return null!==n&&this.N==this.b&&n.resolution==e&&n.e==o&&Be(n.G(),t)?n:(t=t.slice(),ao(t,this.X),i=this.T(t,e,o,[no(t)/e*o,to(t)/e*o],i),null===i||(n=new Il(t,e,o,this.d,i)),this.J=n,this.N=this.b,n)};var bw,ww=!1,xw=[],Sw=0,Tw=2,Mw=3;zl.prototype.then=function(t,e,o){return Yl(this,h(t)?t:null,h(e)?e:null,o)},Gl(zl),zl.prototype.cancel=function(t){this.a==Sw&&Hl(function(){var e=new eh(t);Kl(this,e)},this)},zl.prototype.g=function(t){this.a=Sw,Zl(this,Tw,t)},zl.prototype.i=function(t){ +this.a=Sw,Zl(this,Mw,t)},zl.prototype.q=function(){for(;this.b&&this.b.length;){var t=this.b;this.b=[];for(var e=0;e<t.length;e++)Ql(this,t[e],this.a,this.f)}this.e=!1};var Cw=Vn;v(eh,m),eh.prototype.name="cancel";var Ew=sm.JSON.parse,Pw=sm.JSON.stringify;ih.prototype.b=null;var kw;v(rh,ih),kw=new rh;var Aw=/^(?:([^:\/?#.]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/#?]*?)(?::([0-9]+))?(?=[\/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,Rw=Pm;v(fh,Qt);var Lw="",Nw=/^https?$/i,jw=["POST","PUT"];em=fh.prototype,em.send=function(t,e,o,i){if(this.Y)throw Error("[goog.net.XhrIo] Object is active with another request="+this.o+"; newUri="+t);e=e?e.toUpperCase():"GET",this.o=t,this.e="",this.q=!1,this.b=!0,this.Y=sh(this.i?this.i:kw),this.g=nh(this.i?this.i:kw),this.Y.onreadystatechange=d(this.Xg,this);try{this.l=!0,this.Y.open(e,String(t),!0),this.l=!1}catch(n){return void gh(this,n)}t=o||"";var r=this.H.clone();i&&Jn(i,function(t,e){r.set(e,t)}),i=R(r.C(),dh),o=sm.FormData&&t instanceof sm.FormData,!N(jw,e)||i||o||r.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8"),r.forEach(function(t,e){this.Y.setRequestHeader(e,t)},this),this.n&&(this.Y.responseType=this.n),"withCredentials"in this.Y&&(this.Y.withCredentials=this.J);try{wh(this),0<this.f&&((this.p=yh(this.Y))?(this.Y.timeout=this.f,this.Y.ontimeout=d(this.oc,this)):this.c=oh(this.oc,this.f,this)),this.d=!0,this.Y.send(t),this.d=!1}catch(s){gh(this,s)}},em.oc=function(){"undefined"!=typeof rm&&this.Y&&(this.e="Timed out after "+this.f+"ms, aborting",this.dispatchEvent("timeout"),this.Y&&this.b&&(this.b=!1,this.a=!0,this.Y.abort(),this.a=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),bh(this)))},em.O=function(){this.Y&&(this.b&&(this.b=!1,this.a=!0,this.Y.abort(),this.a=!1),bh(this,!0)),fh.S.O.call(this)},em.Xg=function(){this.U||(this.l||this.d||this.a?mh(this):this.dn())},em.dn=function(){mh(this)};var Iw;t:{if(!document.implementation||!document.implementation.createDocument){if("undefined"!=typeof ActiveXObject){var Dw=new ActiveXObject("MSXML2.DOMDocument");if(Dw){Dw.resolveExternals=!1,Dw.validateOnParse=!1;try{Dw.setProperty("ProhibitDTD",!0),Dw.setProperty("MaxXMLSize",2048),Dw.setProperty("MaxElementDepth",256)}catch(Fw){}}if(Dw){Iw=Dw;break t}}throw Error("Your browser does not support creating new documents")}Iw=document.implementation.createDocument("","",null)}var Ow,Bw=Iw,Uw=document.implementation&&document.implementation.createDocument?Eh:Ph,Gw=Cm?Lh:Rh,qw=Cm?jh:Nh,Hw=Cm?Dh:Ih,$w=document.implementation&&document.implementation.createDocument?Fh:Oh,Xw=document.implementation&&document.implementation.createDocument?Bh:Uh,Ww=document.implementation&&document.implementation.createDocument?Gh:qh,zw=_h();!function(){var t={Qf:{}};!function(){function e(t,o){return this instanceof e?(this.Fe=Math.max(4,t||9),this.Hf=Math.max(2,Math.ceil(.4*this.Fe)),o&&this.qi(o),void this.clear()):new e(t,o)}function o(t,e){t.bbox=i(t,0,t.children.length,e)}function i(t,e,o,i){for(var r,s=[1/0,1/0,-(1/0),-(1/0)];e<o;e++)r=t.children[e],n(s,t.wa?i(r):r.bbox);return s}function n(t,e){t[0]=Math.min(t[0],e[0]),t[1]=Math.min(t[1],e[1]),t[2]=Math.max(t[2],e[2]),t[3]=Math.max(t[3],e[3])}function r(t,e){return t.bbox[0]-e.bbox[0]}function s(t,e){return t.bbox[1]-e.bbox[1]}function a(t){return(t[2]-t[0])*(t[3]-t[1])}function p(t){return t[2]-t[0]+(t[3]-t[1])}function l(t,e){return t[0]<=e[0]&&t[1]<=e[1]&&e[2]<=t[2]&&e[3]<=t[3]}function h(t,e){return e[0]<=t[2]&&e[1]<=t[3]&&e[2]>=t[0]&&e[3]>=t[1]}function u(t,e,o,i,n){for(var r,s=[e,o];s.length;)o=s.pop(),e=s.pop(),o-e<=i||(r=e+Math.ceil((o-e)/i/2)*i,c(t,e,o,r,n),s.push(e,r,r,o))}function c(t,e,o,i,n){for(var r,s,a,p,l;o>e;){for(600<o-e&&(r=o-e+1,s=i-e+1,a=Math.log(r),p=.5*Math.exp(2*a/3),l=.5*Math.sqrt(a*p*(r-p)/r)*(0>s-r/2?-1:1),a=Math.max(e,Math.floor(i-s*p/r+l)),s=Math.min(o,Math.floor(i+(r-s)*p/r+l)),c(t,a,s,i,n)),r=t[i],s=e,p=o,f(t,e,i),0<n(t[o],r)&&f(t,e,o);s<p;){for(f(t,s,p),s++,p--;0>n(t[s],r);)s++;for(;0<n(t[p],r);)p--}0===n(t[e],r)?f(t,e,p):(p++,f(t,p,o)),p<=i&&(e=p+1),i<=p&&(o=p-1)}}function f(t,e,o){var i=t[e];t[e]=t[o],t[o]=i}e.prototype={all:function(){return this.Df(this.data,[])},search:function(t){var e=this.data,o=[],i=this.Ea;if(!h(t,e.bbox))return o;for(var n,r,s,a,p=[];e;){for(n=0,r=e.children.length;n<r;n++)s=e.children[n],a=e.wa?i(s):s.bbox,h(t,a)&&(e.wa?o.push(s):l(t,a)?this.Df(s,o):p.push(s));e=p.pop()}return o},load:function(t){if(!t||!t.length)return this;if(t.length<this.Hf){for(var e=0,o=t.length;e<o;e++)this.ha(t[e]);return this}return t=this.Ff(t.slice(),0,t.length-1,0),this.data.children.length?this.data.height===t.height?this.If(this.data,t):(this.data.height<t.height&&(e=this.data,this.data=t,t=e),this.Gf(t,this.data.height-t.height-1,!0)):this.data=t,this},ha:function(t){return t&&this.Gf(t,this.data.height-1),this},clear:function(){return this.data={children:[],height:1,bbox:[1/0,1/0,-(1/0),-(1/0)],wa:!0},this},remove:function(t){if(!t)return this;for(var e,o,i,n,r=this.data,s=this.Ea(t),a=[],p=[];r||a.length;){if(r||(r=a.pop(),o=a[a.length-1],e=p.pop(),n=!0),r.wa&&(i=r.children.indexOf(t),-1!==i)){r.children.splice(i,1),a.push(r),this.pi(a);break}n||r.wa||!l(r.bbox,s)?o?(e++,r=o.children[e],n=!1):r=null:(a.push(r),p.push(e),e=0,o=r,r=r.children[0])}return this},Ea:function(t){return t},Ie:function(t,e){return t[0]-e[0]},Je:function(t,e){return t[1]-e[1]},toJSON:function(){return this.data},Df:function(t,e){for(var o=[];t;)t.wa?e.push.apply(e,t.children):o.push.apply(o,t.children),t=o.pop();return e},Ff:function(t,e,i,n){var r,s=i-e+1,a=this.Fe;if(s<=a)return r={children:t.slice(e,i+1),height:1,bbox:null,wa:!0},o(r,this.Ea),r;n||(n=Math.ceil(Math.log(s)/Math.log(a)),a=Math.ceil(s/Math.pow(a,n-1))),r={children:[],height:n,bbox:null};var p,l,h,s=Math.ceil(s/a),a=s*Math.ceil(Math.sqrt(a));for(u(t,e,i,a,this.Ie);e<=i;e+=a)for(l=Math.min(e+a-1,i),u(t,e,l,s,this.Je),p=e;p<=l;p+=s)h=Math.min(p+s-1,l),r.children.push(this.Ff(t,p,h,n-1));return o(r,this.Ea),r},oi:function(t,e,o,i){for(var n,r,s,p,l,h,u,c;i.push(e),!e.wa&&i.length-1!==o;){for(u=c=1/0,n=0,r=e.children.length;n<r;n++){s=e.children[n],l=a(s.bbox),h=t;var f=s.bbox;h=(Math.max(f[2],h[2])-Math.min(f[0],h[0]))*(Math.max(f[3],h[3])-Math.min(f[1],h[1]))-l,h<c?(c=h,u=l<u?l:u,p=s):h===c&&l<u&&(u=l,p=s)}e=p}return e},Gf:function(t,e,o){var i=this.Ea;o=o?t.bbox:i(t);var i=[],r=this.oi(o,this.data,e,i);for(r.children.push(t),n(r.bbox,o);0<=e&&i[e].children.length>this.Fe;)this.ri(i,e),e--;this.li(o,i,e)},ri:function(t,e){var i=t[e],n=i.children.length,r=this.Hf;this.mi(i,r,n),n={children:i.children.splice(this.ni(i,r,n)),height:i.height},i.wa&&(n.wa=!0),o(i,this.Ea),o(n,this.Ea),e?t[e-1].children.push(n):this.If(i,n)},If:function(t,e){this.data={children:[t,e],height:t.height+1},o(this.data,this.Ea)},ni:function(t,e,o){var n,r,s,p,l,h,u;for(l=h=1/0,n=e;n<=o-e;n++){r=i(t,0,n,this.Ea),s=i(t,n,o,this.Ea);var c=r,f=s;p=Math.max(c[0],f[0]);var y=Math.max(c[1],f[1]),d=Math.min(c[2],f[2]),c=Math.min(c[3],f[3]);p=Math.max(0,d-p)*Math.max(0,c-y),r=a(r)+a(s),p<l?(l=p,u=n,h=r<h?r:h):p===l&&r<h&&(h=r,u=n)}return u},mi:function(t,e,o){var i=t.wa?this.Ie:r,n=t.wa?this.Je:s,a=this.Ef(t,e,o,i);e=this.Ef(t,e,o,n),a<e&&t.children.sort(i)},Ef:function(t,e,o,r){t.children.sort(r),r=this.Ea;var s,a,l=i(t,0,e,r),h=i(t,o-e,o,r),u=p(l)+p(h);for(s=e;s<o-e;s++)a=t.children[s],n(l,t.wa?r(a):a.bbox),u+=p(l);for(s=o-e-1;s>=e;s--)a=t.children[s],n(h,t.wa?r(a):a.bbox),u+=p(h);return u},li:function(t,e,o){for(;0<=o;o--)n(e[o].bbox,t)},pi:function(t){for(var e,i=t.length-1;0<=i;i--)0===t[i].children.length?0<i?(e=t[i-1].children,e.splice(e.indexOf(t[i]),1)):this.clear():o(t[i],this.Ea)},qi:function(t){var e=["return a"," - b",";"];this.Ie=new Function("a","b",e.join(t[0])),this.Je=new Function("a","b",e.join(t[1])),this.Ea=new Function("a","return [a"+t.join(", a")+"];")}},"function"==typeof define&&define.Lo?define("rbush",function(){return e}):"undefined"!=typeof t?t.Qf=e:"undefined"!=typeof self?self.b=e:window.b=e}(),Ow=t.Qf}(),em=au.prototype,em.ha=function(t,e){var o=[t[0],t[1],t[2],t[3],e];this.a.ha(o),this.b[c(e)]=o},em.load=function(t,e){for(var o=Array(e.length),i=0,n=e.length;i<n;i++){var r=t[i],s=e[i],r=[r[0],r[1],r[2],r[3],s];o[i]=r,this.b[c(s)]=r}this.a.load(o)},em.remove=function(t){t=c(t);var e=this.b[t];return et(this.b,t),null!==this.a.remove(e)},em.update=function(t,e){var o=c(e);Xe(this.b[o].slice(0,4),t)||(this.remove(e),this.ha(t,e))},em.forEach=function(t,e){return uu(pu(this),t,e)},em.la=function(){return Q(this.b)},em.clear=function(){this.a.clear(),this.b={}},em.G=function(){return this.a.data.bbox},v(cu,sn),em=cu.prototype,em.jf=function(t){var e=c(t).toString();if(yu(this,e,t)){fu(this,e,t);var o=t.Q();null!=o?(e=o.G(),this.a.ha(e,t)):this.c[e]=t,this.dispatchEvent(new mu("addfeature",t))}this.k()},em.Oc=function(t){du(this,t),this.k()},em.clear=function(t){if(t){for(var e in this.i)E(this.i[e],zt);this.i={},this.e={},this.g={}}else t=this.ph,this.a.forEach(t,this),W(this.c,t,this);this.a.clear(),this.N.clear(),this.c={},this.dispatchEvent(new mu("clear")),this.k()},em.Rf=function(t,e){return this.a.forEach(t,e)},em.$c=function(t,e,o){return hu(this.a,t,e,o)},em.Ab=function(t,e,o,i){return this.$c(t,o,i)},em.Oe=function(t,e,o){return this.$c(t,function(i){if(i.Q().ra(t)&&(i=e.call(o,i)))return i})},em.Dc=function(){var t=pu(this.a);return Q(this.c)||F(t,V(this.c)),t},em.Re=function(t){var e=[];return gu(this,t,function(t){e.push(t)}),e},em.Se=function(t){return lu(this.a,t)},em.Tf=function(t){var e=t[0],o=t[1],i=null,n=[NaN,NaN],r=1/0,s=[-(1/0),-(1/0),1/0,1/0];return hu(this.a,s,function(t){var a=t.Q(),p=r;r=a.Sa(e,o,n,r),r<p&&(i=t,t=Math.sqrt(r),s[0]=e-t,s[1]=o-t,s[2]=e+t,s[3]=o+t)}),i},em.G=function(){return this.a.G()},em.Qe=function(e){return e=this.e[e.toString()],t(e)?e:null},em.Pg=function(e){e=e.target;var o=c(e).toString(),i=e.Q();null!=i?(i=i.G(),o in this.c?(delete this.c[o],this.a.ha(i,e)):this.a.update(i,e)):o in this.c||(this.a.remove(e),this.c[o]=e),i=e.$,t(i)?(i=i.toString(),o in this.g?(delete this.g[o],this.e[i]=e):this.e[i]!==e&&(vu(this,e),this.e[i]=e)):o in this.g||(vu(this,e),this.g[o]=e),this.k(),this.dispatchEvent(new mu("changefeature",e))},em.la=function(){return this.a.la()&&Q(this.c)},em.ac=function(t,e,o){var i=this.N;t=this.oa(t,e);var n,r;for(n=0,r=t.length;n<r;++n){var s=t[n];hu(i,s,function(t){return Be(t.extent,s)})||(this.J.call(this,s,e,o),i.ha(s,{extent:s.slice()}))}},em.Qg=function(t){var e=c(t).toString();e in this.c?delete this.c[e]:this.a.remove(t),this.ph(t),this.k()},em.ph=function(e){var o=c(e).toString();E(this.i[o],zt),delete this.i[o];var i=e.$;t(i)?delete this.e[i.toString()]:delete this.g[o],this.dispatchEvent(new mu("removefeature",e))},v(mu,Et),v(bu,Ul),em=bu.prototype,em.zi=function(e,o,i,n,r){var s=new el(.5*o/i,e,o);this.a.ac(e,o,r);var a=!1;return this.a.Ab(e,o,function(e){var n;if(!(n=a)){var r;if(t(e.c)?r=e.c.call(e,o):t(this.g)&&(r=this.g(e,o)),null!=r){var p,l=!1;for(n=0,p=r.length;n<p;++n)l=jl(s,e,r[n],Nl(o,i),this.$l,this)||l;n=l}else n=!1}a=n},this),ol(s),a?null:(this.e[0]!=n[0]||this.e[1]!=n[1]?(this.c.canvas.width=n[0],this.c.canvas.height=n[1],this.e[0]=n[0],this.e[1]=n[1]):this.c.clearRect(0,0,n[0],n[1]),e=wu(this,_e(e),o,i,n),il(s,this.c,i,e,0,{}),this.n=s,this.c.canvas)},em.ge=function(t,e,o,i,n){if(null!==this.n){var r={};return this.n.c(t,e,0,i,function(t){var e=c(t).toString();if(!(e in r))return r[e]=!0,n(t)})}},em.Xl=function(){return this.a},em.Yl=function(){return this.p},em.Zl=function(){return this.g},em.$l=function(){this.k()},em.am=function(){pn(this,this.a.o)},em.Mg=function(e){this.p=t(e)?e:rp,this.g=null===e?void 0:np(this.p),this.k()},v(xu,rl),em=xu.prototype,em.Pa=function(t,e,o,i){var n=this.a;return n.da().ge(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){return o.call(i,t,n)})},em.dc=function(t,e,o,i){if(!r(this.fe()))if(this.a.da()instanceof bu){if(t=t.slice(),ts(e.pixelToCoordinateMatrix,t,t),this.Pa(t,e,lb,this))return o.call(i,this.a)}else if(null===this.d&&(this.d=Te(),Ae(this.f,this.d)),e=pl(t,this.d),null===this.c&&(this.c=mr(1,1)),this.c.clearRect(0,0,1,1),this.c.drawImage(this.fe(),e[0],e[1],1,1,0,0,1,1),0<this.c.getImageData(0,0,1,1).data[3])return o.call(i,this.a)},em.fe=function(){return null===this.e?null:this.e.b()},em.Xf=function(){return this.f},em.ff=function(e,o){var i,n=e.pixelRatio,r=e.viewState,s=r.center,a=r.resolution,p=r.rotation,l=this.a.da(),h=e.viewHints;if(i=e.extent,t(o.extent)&&(i=eo(i,o.extent)),h[0]||h[1]||so(i)||(r=r.projection,h=l.f,null===h||(r=h),i=l.Cc(i,a,n,r),null!==i&&os(this,i)&&(this.e=i)),null!==this.e){i=this.e;var r=i.G(),h=i.resolution,u=i.e,a=n*h/(a*u);Jr(this.f,n*e.size[0]/2,n*e.size[1]/2,a,a,p,u*(r[0]-s[0])/h,u*(s[1]-r[3])/h),this.d=null,rs(e.attributions,i.f),ss(e,l)}return!0},v(Su,rl),Su.prototype.fe=function(){return this.f},Su.prototype.Xf=function(){return this.l},Su.prototype.ff=function(e,o){var i,n=e.pixelRatio,r=e.viewState,s=r.projection,a=this.a,p=a.da(),l=kn(p,s),h=p.Cd(),u=Sn(l,r.resolution),c=p.Xb(u,e.pixelRatio,s),f=c[0]/he(l.na(u),this.L)[0],y=l.ma(u),f=y/f,d=r.center;if(y==r.resolution?(d=ps(d,y,e.size),i=Qe(d,y,r.rotation,e.size)):i=e.extent,t(o.extent)&&(i=eo(i,o.extent)),so(i))return!1;var g,v,m=dn(l,i,y),b=c[0]*_o(m),w=c[1]*(m.a-m.c+1);null===this.f?(v=mr(b,w),this.f=v.canvas,this.c=[b,w],this.g=v,this.q=!yw(this.c)):(g=this.f,v=this.g,this.c[0]<b||this.c[1]<w||this.H!==c[0]||this.p!==c[1]||this.q&&(this.c[0]>b||this.c[1]>w)?(g.width=b,g.height=w,this.c=[b,w],this.q=!yw(this.c),this.d=null):(b=this.c[0],w=this.c[1],(g=u!=this.n)||(g=this.d,g=!(g.b<=m.b&&m.d<=g.d&&g.c<=m.c&&m.a<=g.a)),g&&(this.d=null)));var x,S;null===this.d?(b/=c[0],w/=c[1],x=m.b-Math.floor((b-_o(m))/2),S=m.c-Math.floor((w-(m.a-m.c+1))/2),this.n=u,this.H=c[0],this.p=c[1],this.d=new Ko(x,x+b-1,S,S+w-1),this.i=Array(b*w),w=this.d):(w=this.d,b=_o(w)),g={},g[u]={};var T,M,C,E=[],P=this.yd(p,g),A=a.c(),R=qe(),L=new Ko(0,0,0,0);for(S=m.b;S<=m.d;++S)for(C=m.c;C<=m.a;++C)M=p.Vb(u,S,C,n,s),x=M.state,2==x||4==x||3==x&&!A?g[u][zo(M.b)]=M:(T=l.Ad(M.b,P,null,L,R),T||(E.push(M),T=l.Ld(M.b,L,R),null===T||P(u+1,T)));for(P=0,T=E.length;P<T;++P)M=E[P],S=c[0]*(M.b[1]-w.b),C=c[1]*(w.a-M.b[2]),v.clearRect(S,C,c[0],c[1]);E=k(Y(g),Number),U(E);var N,j,I,D,F,O,B=p.X,G=oo(mn(l,[u,w.b,w.a],R)),P=0;for(T=E.length;P<T;++P)if(N=E[P],c=p.Xb(N,n,s),D=g[N],N==u)for(I in D)M=D[I],j=(M.b[2]-w.c)*b+(M.b[1]-w.b),this.i[j]!=M&&(S=c[0]*(M.b[1]-w.b),C=c[1]*(w.a-M.b[2]),x=M.state,4!=x&&(3!=x||A)&&B||v.clearRect(S,C,c[0],c[1]),2==x&&v.drawImage(M.Ma(),h,h,c[0],c[1],S,C,c[0],c[1]),this.i[j]=M);else for(I in N=l.ma(N)/y,D)for(M=D[I],j=mn(l,M.b,R),S=(j[0]-G[0])/f,C=(G[1]-j[3])/f,O=N*c[0],F=N*c[1],x=M.state,4!=x&&B||v.clearRect(S,C,O,F),2==x&&v.drawImage(M.Ma(),h,h,c[0],c[1],S,C,O,F),M=gn(l,j,u,L),x=Math.max(M.b,w.b),C=Math.min(M.d,w.d),S=Math.max(M.c,w.c),M=Math.min(M.a,w.a);x<=C;++x)for(F=S;F<=M;++F)j=(F-w.c)*b+(x-w.b),this.i[j]=void 0;return as(e.usedTiles,p,u,m),ls(e,p,l,n,s,i,u,a.a()),ns(e,p),ss(e,p),Jr(this.l,n*e.size[0]/2,n*e.size[1]/2,n*f/r.resolution,n*f/r.resolution,r.rotation,(G[0]-d[0])/f,(d[1]-G[1])/f),this.e=null,!0},Su.prototype.dc=function(t,e,o,i){if(null!==this.g&&(null===this.e&&(this.e=Te(),Ae(this.l,this.e)),t=pl(t,this.e),0<this.g.getImageData(t[0],t[1],1,1).data[3]))return o.call(i,this.a)},v(Tu,rl),Tu.prototype.o=function(t,e,o){var i=t.extent,n=t.focus,r=t.pixelRatio,s=t.skippedFeatureUids,a=t.viewState,p=a.projection,a=a.rotation,l=p.G(),h=this.a.da(),u=al(this,t,0);sl(this,"precompose",o,t,u);var c=this.c;if(null!==c&&!c.la()){var f;ee(this.a,"render")?(this.e.canvas.width=o.canvas.width,this.e.canvas.height=o.canvas.height,f=this.e):f=o;var y=f.globalAlpha;if(f.globalAlpha=e.opacity,e={},n=n[0],h.H&&p.c&&!Be(l,i)){p=l[0],h=l[2],il(c,f,r,u,a,p<=n&&n<=h?s:e);for(var d,g=i[0],v=no(l),m=0;g<l[0];)--m,d=v*m,u=al(this,t,d),il(c,f,r,u,a,p+d<=n&&n<=h+d?s:e),g+=v;for(m=0,g=i[2];g>l[2];)++m,d=v*m,u=al(this,t,d),il(c,f,r,u,a,p+d<=n&&n<=h+d?s:e),g-=v}else il(c,f,r,u,a,s);f!=o&&(sl(this,"render",f,t,u),o.drawImage(f.canvas,0,0)),f.globalAlpha=y}sl(this,"postcompose",o,t,u)},Tu.prototype.Pa=function(t,e,o,i){if(null!==this.c){var n=this.a,r={};return this.c.c(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){var e=c(t).toString();if(!(e in r))return r[e]=!0,o.call(i,t,n)})}},Tu.prototype.l=function(){is(this)},Tu.prototype.ff=function(e){function o(e){var o;if(t(e.c)?o=e.c.call(e,h):t(i.a)&&(o=(0,i.a)(e,h)),null!=o){if(null!=o){var n,r,s=!1;for(n=0,r=o.length;n<r;++n)s=jl(f,e,o[n],Nl(h,u),this.l,this)||s;e=s}else e=!1;this.d=this.d||e}}var i=this.a,n=i.da();rs(e.attributions,n.d),ss(e,n);var r=e.viewHints[0],s=e.viewHints[1],a=i.o,p=i.n;if(!this.d&&!a&&r||!p&&s)return!0;var l=e.extent,r=e.viewState,s=r.projection,h=r.resolution,u=e.pixelRatio,a=i.b,c=i.c,p=i.get("renderOrder");if(t(p)||(p=Ll),l=De(l,c*h),c=r.projection.G(),n.H&&r.projection.c&&!Be(c,e.extent)&&(l[0]=c[0],l[2]=c[2]),!this.d&&this.i==h&&this.q==a&&this.g==p&&Be(this.f,l))return!0;Ct(this.c),this.c=null,this.d=!1;var f=new el(.5*h/u,l,h,i.c);if(n.ac(l,h,s),null===p)n.Ab(l,h,o,this);else{var y=[];n.Ab(l,h,function(t){y.push(t)},this),U(y,p),E(y,o,this)}return ol(f),this.i=h,this.q=a,this.g=p,this.f=l,this.c=f,!0},v(Mu,ys),Mu.prototype.Ke=function(t){return t instanceof Rp?new xu(t):t instanceof Lp?new Su(t):t instanceof Np?new Tu(t):null},Mu.prototype.M=function(){return"canvas"},Mu.prototype.ue=function(t){if(null===t)this.a&&(Wi(this.b,!1),this.a=!1);else{var e=this.d,o=t.size[0]*t.pixelRatio,i=t.size[1]*t.pixelRatio;this.b.width!=o||this.b.height!=i?(this.b.width=o,this.b.height=i):e.clearRect(0,0,this.b.width,this.b.height),ds(t),Cu(this,"precompose",t);var n,r,s,a,o=t.layerStatesArray,i=t.viewState.resolution;for(n=0,r=o.length;n<r;++n)a=o[n],s=a.layer,s=vs(this,s),Zr(a,i)&&"ready"==a.i&&s.ff(t,a)&&s.o(t,a,e);Cu(this,"postcompose",t),this.a||(Wi(this.b,!0),this.a=!0),ms(this,t),t.postRenderFunctions.push(gs)}},v(Eu,es),Eu.prototype.e=o,Eu.prototype.i=o,v(Pu,Eu),Pu.prototype.Pa=function(t,e,o,i){var n=this.a;return n.da().ge(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){return o.call(i,t,n)})},Pu.prototype.e=function(){mi(this.target),this.c=null},Pu.prototype.f=function(e,o){var i=e.viewState,n=i.center,r=i.resolution,s=i.rotation,a=this.c,p=this.a.da(),l=e.viewHints,h=e.extent;return t(o.extent)&&(h=eo(h,o.extent)),l[0]||l[1]||so(h)||(i=i.projection,l=p.f,null===l||(i=l),h=p.Cc(h,r,e.pixelRatio,i),null===h||os(this,h)&&(a=h)),null!==a&&(i=a.G(),l=a.resolution,h=Te(),Jr(h,e.size[0]/2,e.size[1]/2,l/r,l/r,s,(i[0]-n[0])/l,(n[1]-i[3])/l),a!=this.c&&(n=a.b(this),n.style.maxWidth="none",n.style.position="absolute",mi(this.target),this.target.appendChild(n),this.c=a),Qr(h,this.d)||(wr(this.target,h),Ee(this.d,h)),rs(e.attributions,a.f),ss(e,p)),!0},v(ku,Eu),ku.prototype.e=function(){mi(this.target),this.g=0},ku.prototype.f=function(e,o){if(!o.visible)return this.d&&(Wi(this.target,!1),this.d=!1),!0;var i,n=e.pixelRatio,r=e.viewState,s=r.projection,a=this.a,p=a.da(),l=kn(p,s),h=p.Cd(),u=Sn(l,r.resolution),c=l.ma(u),f=r.center;c==r.resolution?(f=ps(f,c,e.size),i=Qe(f,c,r.rotation,e.size)):i=e.extent,t(o.extent)&&(i=eo(i,o.extent));var c=dn(l,i,c),y={};y[u]={};var d,g,v,m,b=this.yd(p,y),w=a.c(),x=qe(),S=new Ko(0,0,0,0);for(v=c.b;v<=c.d;++v)for(m=c.c;m<=c.a;++m)d=p.Vb(u,v,m,n,s),g=d.state,2==g?y[u][zo(d.b)]=d:4==g||3==g&&!w||(g=l.Ad(d.b,b,null,S,x),g||(d=l.Ld(d.b,S,x),null===d||b(u+1,d)));var T;if(this.g!=p.b){for(T in this.c)w=this.c[+T],wi(w.target);this.c={},this.g=p.b}x=k(Y(y),Number),U(x);var M,b={};for(v=0,m=x.length;v<m;++v){T=x[v],T in this.c?w=this.c[T]:(w=l.cd(f,T),w=new Au(l,w),b[T]=!0,this.c[T]=w),T=y[T];for(M in T){d=w,g=T[M];var C=h,E=g.b,P=E[0],A=E[1],R=E[2],E=zo(E);if(!(E in d.a)){var P=he(d.d.na(P),d.i),L=g.Ma(d),N=L.style;N.maxWidth="none";var j=void 0,I=void 0;0<C?(j=gi("DIV"),I=j.style,I.overflow="hidden",I.width=P[0]+"px",I.height=P[1]+"px",N.position="absolute",N.left=-C+"px",N.top=-C+"px",N.width=P[0]+2*C+"px",N.height=P[1]+2*C+"px",j.appendChild(L)):(N.width=P[0]+"px",N.height=P[1]+"px",j=L,I=N),I.position="absolute",I.left=(A-d.c[1])*P[0]+"px",I.top=(d.c[2]-R)*P[1]+"px",null===d.b&&(d.b=document.createDocumentFragment()),d.b.appendChild(j),d.a[E]=g}}null!==w.b&&(w.target.appendChild(w.b),w.b=null)}for(h=k(Y(this.c),Number),U(h),v=Te(),M=0,x=h.length;M<x;++M)if(T=h[M],w=this.c[T],T in y){if(d=w.g,m=w.f,Jr(v,e.size[0]/2,e.size[1]/2,d/r.resolution,d/r.resolution,r.rotation,(m[0]-f[0])/d,(f[1]-m[1])/d),m=w,d=v,Qr(d,m.e)||(wr(m.target,d),Ee(m.e,d)),T in b){for(--T;0<=T;--T)if(T in this.c){m=this.c[T].target,m.parentNode&&m.parentNode.insertBefore(w.target,m.nextSibling);break}0>T&&bi(this.target,w.target,0)}else if(!e.viewHints[0]&&!e.viewHints[1]){g=gn(w.d,i,w.c[0],S),T=[],d=m=void 0;for(d in w.a)m=w.a[d],g.contains(m.b)||T.push(m);for(C=g=void 0,g=0,C=T.length;g<C;++g)m=T[g],d=zo(m.b),wi(m.Ma(w)),delete w.a[d]}}else wi(w.target),delete this.c[T];return o.opacity!=this.q&&(this.q=this.target.style.opacity=o.opacity),o.visible&&!this.d&&(Wi(this.target,!0),this.d=!0),as(e.usedTiles,p,u,c),ls(e,p,l,n,s,i,u,a.a()),ns(e,p),ss(e,p),!0},v(Ru,Eu),Ru.prototype.i=function(t,e){var o=t.viewState,i=o.center,n=o.rotation,r=o.resolution,o=t.pixelRatio,s=t.size[0],a=t.size[1],p=s*o,l=a*o,i=Jr(this.H,o*s/2,o*a/2,o/r,-o/r,-n,-i[0],-i[1]),r=this.g;r.canvas.width=p,r.canvas.height=l,s=Jr(this.p,0,0,1/o,1/o,0,-(p-s)/2*o,-(l-a)/2*o),wr(r.canvas,s),Lu(this,"precompose",t,i),s=this.c,null===s||s.la()||(r.globalAlpha=e.opacity,il(s,r,o,i,n,t.skippedFeatureUids),Lu(this,"render",t,i)),Lu(this,"postcompose",t,i)},Ru.prototype.Pa=function(t,e,o,i){if(null!==this.c){var n=this.a,r={};return this.c.c(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){var e=c(t).toString();if(!(e in r))return r[e]=!0,o.call(i,t,n)})}},Ru.prototype.J=function(){is(this)},Ru.prototype.f=function(e){function o(e){var o;if(t(e.c)?o=e.c.call(e,l):t(i.a)&&(o=(0,i.a)(e,l)),null!=o){if(null!=o){var n,r,s=!1;for(n=0,r=o.length;n<r;++n)s=jl(u,e,o[n],Nl(l,h),this.J,this)||s;e=s}else e=!1;this.d=this.d||e}}var i=this.a,n=i.da();rs(e.attributions,n.d),ss(e,n);var r=e.viewHints[0],s=e.viewHints[1],a=i.o,p=i.n;if(!this.d&&!a&&r||!p&&s)return!0;var s=e.extent,a=e.viewState,r=a.projection,l=a.resolution,h=e.pixelRatio;if(e=i.b,p=i.c,a=i.get("renderOrder"),t(a)||(a=Ll),s=De(s,p*l),!this.d&&this.o==l&&this.n==e&&this.l==a&&Be(this.q,s))return!0;Ct(this.c),this.c=null,this.d=!1;var u=new el(.5*l/h,s,l,i.c);if(n.ac(s,l,r),null===a)n.Ab(s,l,o,this);else{var c=[];n.Ab(s,l,function(t){c.push(t)},this),U(c,a),E(c,o,this)}return ol(u),this.o=l,this.n=e,this.l=a,this.q=s,this.c=u,!0},v(Nu,ys),Nu.prototype.O=function(){wi(this.b),Nu.S.O.call(this)},Nu.prototype.Ke=function(t){if(t instanceof Rp)t=new Pu(t);else if(t instanceof Lp)t=new ku(t);else{if(!(t instanceof Np))return null;t=new Ru(t)}return t},Nu.prototype.M=function(){return"dom"},Nu.prototype.ue=function(t){if(null===t)this.d&&(Wi(this.b,!1),this.d=!1);else{var e;e=function(t,e){bi(this.b,t,e)};var o=this.g;if(ee(o,"precompose")||ee(o,"postcompose")){var o=this.a.canvas,i=t.pixelRatio;o.width=t.size[0]*i,o.height=t.size[1]*i}ju(this,"precompose",t);var n,r,s,a,o=t.layerStatesArray,i=t.viewState.resolution;for(n=0,r=o.length;n<r;++n)a=o[n],s=a.layer,s=vs(this,s),e.call(this,s.target,n),Zr(a,i)&&"ready"==a.i?s.f(t,a)&&s.i(t,a):s.e();e=t.layerStates;for(var p in this.f)p in e||(s=this.f[p],wi(s.target));this.d||(Wi(this.b,!0),this.d=!0),ds(t),ms(this,t),t.postRenderFunctions.push(gs),ju(this,"postcompose",t)}},v(Du,Iu),Du.prototype.M=function(){return 35632},v(Fu,Iu),Fu.prototype.M=function(){return 35633},v(Ou,Du),i(Ou),v(Bu,Fu),i(Bu),v(Gu,Du),i(Gu),v(qu,Fu),i(qu),em=Xu.prototype,em.O=function(){var t=this.b;t.isContextLost()||(W(this.a,function(e){t.deleteBuffer(e.buffer)}),W(this.e,function(e){t.deleteProgram(e)}),W(this.f,function(e){t.deleteShader(e)}),t.deleteFramebuffer(this.d),t.deleteRenderbuffer(this.i),t.deleteTexture(this.q))},em.Xm=function(){return this.b},em.Te=function(){if(null===this.d){var t=this.b,e=t.createFramebuffer();t.bindFramebuffer(t.FRAMEBUFFER,e);var o=Zu(t,1,1),i=t.createRenderbuffer();t.bindRenderbuffer(t.RENDERBUFFER,i),t.renderbufferStorage(t.RENDERBUFFER,t.DEPTH_COMPONENT16,1,1),t.framebufferTexture2D(t.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,o,0),t.framebufferRenderbuffer(t.FRAMEBUFFER,t.DEPTH_ATTACHMENT,t.RENDERBUFFER,i),t.bindTexture(t.TEXTURE_2D,null),t.bindRenderbuffer(t.RENDERBUFFER,null),t.bindFramebuffer(t.FRAMEBUFFER,null),this.d=e,this.q=o,this.i=i}return this.d},em.Ym=function(){tt(this.a),tt(this.f),tt(this.e),this.i=this.q=this.d=this.g=null},em.Zm=function(){},em.oe=function(t){return t!=this.g&&(this.b.useProgram(t),this.g=t,!0)},v(Ju,qa),Ju.prototype.jb=function(t,e){this.c.push(this.a.length),this.l.push(e);var o=t.j;tc(this,o,o.length,t.s)},Ju.prototype.kb=function(t,e){this.c.push(this.a.length),this.l.push(e);var o=t.j;tc(this,o,o.length,t.s)},Ju.prototype.Za=function(t){var e=t.mb(),o=t.Lb(1),i=t.Dd(),n=t.he(1),r=t.U,s=t.rb(),a=t.V,p=t.q,l=t.Xa();t=t.l;var h;0===this.e.length?this.e.push(o):(h=this.e[this.e.length-1],c(h)!=c(o)&&(this.U.push(this.a.length),this.e.push(o))),0===this.d.length?this.d.push(n):(h=this.d[this.d.length-1],c(h)!=c(n)&&(this.f.push(this.a.length),this.d.push(n))),this.V=e[0],this.n=e[1],this.J=l[1],this.L=i[1],this.N=i[0],this.T=r,this.sa=s[0],this.X=s[1],this.oa=p,this.ba=a,this.Fa=t,this.Ga=l[0]},rc.prototype.b=function(e,o){var i=this.a[o];return t(i)||(i=new Kw[o](this.f,this.e),this.a[o]=i),i},rc.prototype.la=function(){return Q(this.a)},rc.prototype.c=function(e,o,i,n,r,s,a,p,l,h,u,c,f,y){var d=o.b;d.bindFramebuffer(d.FRAMEBUFFER,o.Te());var g;return t(this.d)&&(g=De($e(e),n*this.d)),pc(this,o,e,n,r,p,l,h,u,c,f,function(t){var e=new Uint8Array(4);if(d.readPixels(0,0,1,1,d.RGBA,d.UNSIGNED_BYTE,e),0<e[3]&&(t=y(t)))return t},!0,g)};var Kw={Image:Ju},Vw=[1,1];v(hc,qa),em=hc.prototype,em.tc=function(e,o){var i=e.toString(),n=this.b[i];t(n)?n.push(o):this.b[i]=[o]},em.uc=function(){},em.Le=function(e,o){var i=(0,o.d)(e);if(null!=i&&ro(this.d,i.G())){var n=o.b;t(n)||(n=0),this.tc(n,function(t){t.Aa(o.e,o.c),t.Za(o.f),t.Ba(o.a);var e=Yw[i.M()];e&&e.call(t,i,null)})}},em.zd=function(t,e){var o,i,n=t.d;for(o=0,i=n.length;o<i;++o){var r=n[o],s=Yw[r.M()];s&&s.call(this,r,e)}},em.kb=function(t,e){var o=this.a,i=new rc(1,this.d).b(0,"Image");i.Za(this.c),i.kb(t,e),ec(i,o),ic(i,this.a,this.e,this.f,this.g,this.i,1,0,1,0,1,{},void 0,!1),Qu(i,o)()},em.zb=function(){},em.vc=function(){},em.jb=function(t,e){var o=this.a,i=new rc(1,this.d).b(0,"Image");i.Za(this.c),i.jb(t,e),ec(i,o),ic(i,this.a,this.e,this.f,this.g,this.i,1,0,1,0,1,{},void 0,!1),Qu(i,o)()},em.wc=function(){},em.Rb=function(){},em.lb=function(){},em.Aa=function(){},em.Za=function(t){this.c=t},em.Ba=function(){};var Yw={Point:hc.prototype.kb,MultiPoint:hc.prototype.jb,GeometryCollection:hc.prototype.zd};v(uc,Du),i(uc),v(cc,Fu),i(cc),v(yc,Du),i(yc),v(dc,Fu),i(dc),v(vc,es),vc.prototype.Lg=function(t,e,o){bc(this,"precompose",o,t),Wu(o,34962,this.N);var i,n,r=o.b,s=e.brightness||1!=e.contrast||e.hue||1!=e.saturation;s?(i=uc.Ia(),n=cc.Ia()):(i=yc.Ia(),n=dc.Ia()),i=Vu(o,i,n),s?null===this.l?this.l=n=new fc(r,i):n=this.l:null===this.o?this.o=n=new gc(r,i):n=this.o,o.oe(i)&&(r.enableVertexAttribArray(n.b),r.vertexAttribPointer(n.b,2,5126,!1,16,0),r.enableVertexAttribArray(n.a),r.vertexAttribPointer(n.a,2,5126,!1,16,8),r.uniform1i(n.e,0)),r.uniformMatrix4fv(n.f,!1,this.q),r.uniformMatrix4fv(n.d,!1,this.n),s&&r.uniformMatrix4fv(n.g,!1,ai(this.T,e.brightness,e.contrast,e.hue,e.saturation)),r.uniform1f(n.c,e.opacity),r.bindTexture(3553,this.Qa),r.drawArrays(5,0,4),bc(this,"postcompose",o,t)},vc.prototype.gf=function(){this.e=this.Qa=null,this.f=void 0},v(wc,vc),wc.prototype.Pa=function(t,e,o,i){var n=this.a;return n.da().ge(t,e.viewState.resolution,e.viewState.rotation,e.skippedFeatureUids,function(t){return o.call(i,t,n)})},wc.prototype.hf=function(e,o){var i=this.c.e,n=e.pixelRatio,r=e.viewState,s=r.center,a=r.resolution,p=r.rotation,l=this.d,h=this.Qa,u=this.a.da(),c=e.viewHints,f=e.extent;return t(o.extent)&&(f=eo(f,o.extent)),c[0]||c[1]||so(f)||(r=r.projection,c=u.f,null===c||(r=c),f=u.Cc(f,a,n,r),null!==f&&os(this,f)&&(l=f,h=xc(this,f),null===this.Qa||e.postRenderFunctions.push(g(function(t,e){t.isContextLost()||t.deleteTexture(e)},i,this.Qa)))),null!==l&&(i=this.c.d.l,Sc(this,i.width,i.height,n,s,a,p,l.G()),this.i=null,n=this.q,Pe(n),Le(n,1,-1),Re(n,0,-1),this.d=l,this.Qa=h,rs(e.attributions,l.f),ss(e,u)),!0},wc.prototype.ee=function(e,o){var i=this.Pa(e,o,lb,this);return t(i)},wc.prototype.dc=function(t,e,o,i){if(null!==this.d&&!r(this.d.b()))if(this.a.da()instanceof bu){if(t=t.slice(),ts(e.pixelToCoordinateMatrix,t,t),this.Pa(t,e,lb,this))return o.call(i,this.a)}else{var n=[this.d.b().width,this.d.b().height];if(null===this.i){var s=e.size;e=Te(),Pe(e),Re(e,-1,-1),Le(e,2/s[0],2/s[1]),Re(e,0,s[1]),Le(e,1,-1),s=Te(),Ae(this.n,s);var a=Te();Pe(a),Re(a,0,n[1]),Le(a,1,-1),Le(a,n[0]/2,n[1]/2),Re(a,1,1);var p=Te();ke(a,s,p),ke(p,e,p),this.i=p}if(e=[0,0],ts(this.i,t,e),!(0>e[0]||e[0]>n[0]||0>e[1]||e[1]>n[1])&&(null===this.g&&(this.g=mr(1,1)),this.g.clearRect(0,0,1,1),this.g.drawImage(this.d.b(),e[0],e[1],1,1,0,0,1,1),0<this.g.getImageData(0,0,1,1).data[3]))return o.call(i,this.a)}},v(Tc,Du),i(Tc),v(Mc,Fu),i(Mc),v(Ec,vc),em=Ec.prototype,em.O=function(){zu(this.c.d,this.H),Ec.S.O.call(this)},em.yd=function(t,e){var o=this.c;return function(i,n){return Pn(t,i,n,function(t){var n=tn(o.a,t.gb());return n&&(e[i]||(e[i]={}),e[i][t.b.toString()]=t),n})}},em.gf=function(){Ec.S.gf.call(this),this.d=null},em.hf=function(e,o,i){var n,r=this.c,s=i.b,a=e.viewState,p=a.projection,l=this.a,h=l.da(),u=kn(h,p),c=Sn(u,a.resolution),f=u.ma(c),y=h.Xb(c,e.pixelRatio,p),d=y[0]/he(u.na(c),this.L)[0],g=f/d,v=h.Cd(),m=a.center;if(f==a.resolution?(m=ps(m,f,e.size),n=Qe(m,f,a.rotation,e.size)):n=e.extent,f=dn(u,n,f),null!==this.g&&Zo(this.g,f)&&this.i==h.b)g=this.p;else{var b=[_o(f),f.a-f.c+1],b=Math.max(b[0]*y[0],b[1]*y[1]),w=Math.pow(2,Math.ceil(Math.log(b)/Math.LN2)),b=g*w,x=u.Mb(c),S=x[0]+f.b*y[0]*g,g=x[1]+f.c*y[1]*g,g=[S,g,S+b,g+b];mc(this,e,w),s.viewport(0,0,w,w),s.clearColor(0,0,0,0),s.clear(16384),s.disable(3042),w=Vu(i,this.J,this.X),i.oe(w),null===this.d&&(this.d=new Cc(s,w)),Wu(i,34962,this.H),s.enableVertexAttribArray(this.d.b),s.vertexAttribPointer(this.d.b,2,5126,!1,16,0),s.enableVertexAttribArray(this.d.a),s.vertexAttribPointer(this.d.a,2,5126,!1,16,8),s.uniform1i(this.d.c,0),i={},i[c]={};var T,M,C,E=this.yd(h,i),P=l.c(),w=!0,S=qe(),A=new Ko(0,0,0,0);for(M=f.b;M<=f.d;++M)for(C=f.c;C<=f.a;++C)if(x=h.Vb(c,M,C,d,p),!t(o.extent)||(T=mn(u,x.b,S),ro(T,o.extent))){if(T=x.state,2==T){if(tn(r.a,x.gb())){i[c][zo(x.b)]=x;continue}}else if(4==T||3==T&&!P)continue;w=!1,T=u.Ad(x.b,E,null,A,S),T||(x=u.Ld(x.b,A,S),null===x||E(c+1,x))}o=k(Y(i),Number),U(o);for(var R,L,N,E=new Float32Array(4),P=0,A=o.length;P<A;++P)for(R in L=i[o[P]])x=L[R],T=mn(u,x.b,S),M=2*(T[2]-T[0])/b,C=2*(T[3]-T[1])/b,N=2*(T[0]-g[0])/b-1,T=2*(T[1]-g[1])/b-1,Se(E,M,C,N,T),s.uniform4fv(this.d.d,E),Ac(r,x,y,v*d),s.drawArrays(5,0,4);w?(this.g=f,this.p=g,this.i=h.b):(this.p=this.g=null,this.i=-1,e.animate=!0)}as(e.usedTiles,h,c,f);var j=r.q;return ls(e,h,u,d,p,n,c,l.a(),function(t){var e;(e=2!=t.state||tn(r.a,t.gb()))||(e=t.gb()in j.c),e||xs(j,[t,vn(u,t.b),u.ma(t.b[0]),y,v*d])},this),ns(e,h),ss(e,h),s=this.q,Pe(s),Re(s,(m[0]-g[0])/(g[2]-g[0]),(m[1]-g[1])/(g[3]-g[1])),0!==a.rotation&&Ne(s,a.rotation),Le(s,e.size[0]*a.resolution/(g[2]-g[0]),e.size[1]*a.resolution/(g[3]-g[1])),Re(s,-.5,-.5),!0},em.dc=function(t,e,o,i){if(null!==this.e){var n=[0,0];if(ts(this.q,[t[0]/e.size[0],(e.size[1]-t[1])/e.size[1]],n),t=[n[0]*this.f,n[1]*this.f],e=this.c.d.b,e.bindFramebuffer(e.FRAMEBUFFER,this.e), +n=new Uint8Array(4),e.readPixels(t[0],t[1],1,1,e.RGBA,e.UNSIGNED_BYTE,n),0<n[3])return o.call(i,this.a)}},v(Pc,vc),em=Pc.prototype,em.Lg=function(e,o,i){this.g=o;var n=e.viewState,r=this.d;if(null!==r&&!r.la()){var s=n.center,a=n.resolution,n=n.rotation,p=e.size,l=o.opacity,h=o.brightness,u=o.contrast,c=o.hue;o=o.saturation,e=e.skippedFeatureUids;var f,y,d;for(f=0,y=cw.length;f<y;++f)d=r.a[cw[f]],t(d)&&ic(d,i,s,a,n,p,l,h,u,c,o,e,void 0,!1)}},em.O=function(){var t=this.d;null!==t&&(sc(t,this.c.d)(),this.d=null),Pc.S.O.call(this)},em.Pa=function(t,e,o,i){if(null!==this.d&&null!==this.g){var n=e.viewState,r=this.a,s=this.g,a={};return this.d.c(t,this.c.d,n.center,n.resolution,n.rotation,e.size,e.pixelRatio,s.opacity,s.brightness,s.contrast,s.hue,s.saturation,e.skippedFeatureUids,function(t){var e=c(t).toString();if(!(e in a))return a[e]=!0,o.call(i,t,r)})}},em.ee=function(t,e){if(null===this.d||null===this.g)return!1;var o=e.viewState,i=this.g;return lc(this.d,t,this.c.d,o.resolution,o.rotation,i.opacity,i.brightness,i.contrast,i.hue,i.saturation,e.skippedFeatureUids)},em.dc=function(t,e,o,i){if(t=t.slice(),ts(e.pixelToCoordinateMatrix,t,t),this.ee(t,e))return o.call(i,this.a)},em.Rl=function(){is(this)},em.hf=function(e,o,i){function n(e){var o;if(t(e.c)?o=e.c.call(e,h):t(r.a)&&(o=(0,r.a)(e,h)),null!=o){if(null!=o){var i,n,s=!1;for(i=0,n=o.length;i<n;++i)s=jl(f,e,o[i],Nl(h,u),this.Rl,this)||s;e=s}else e=!1;this.i=this.i||e}}var r=this.a;o=r.da(),rs(e.attributions,o.d),ss(e,o);var s=e.viewHints[0],a=e.viewHints[1],p=r.o,l=r.n;if(!this.i&&!p&&s||!l&&a)return!0;var a=e.extent,p=e.viewState,s=p.projection,h=p.resolution,u=e.pixelRatio,p=r.b,c=r.c,l=r.get("renderOrder");if(t(l)||(l=Ll),a=De(a,c*h),!this.i&&this.J==h&&this.L==p&&this.H==l&&Be(this.p,a))return!0;null===this.d||e.postRenderFunctions.push(sc(this.d,i)),this.i=!1;var f=new rc(.5*h/u,a,r.c);if(o.ac(a,h,s),null===l)o.Ab(a,h,n,this);else{var y=[];o.Ab(a,h,function(t){y.push(t)},this),U(y,l),E(y,n,this)}return ac(f,i),this.J=h,this.L=p,this.H=l,this.p=a,this.d=f,!0},v(kc,ys),em=kc.prototype,em.Ke=function(t){return t instanceof Rp?new wc(this,t):t instanceof Lp?new Ec(this,t):t instanceof Np?new Pc(this,t):null},em.O=function(){var t=this.e;t.isContextLost()||this.a.forEach(function(e){null===e||t.deleteTexture(e.Qa)}),Ct(this.d),kc.S.O.call(this)},em.Ci=function(t,e){for(var o,i=this.e;1024<this.a.Tb()-this.i;){if(o=this.a.b.qc,null===o){if(+this.a.b.Wd==e.index)break;--this.i}else i.deleteTexture(o.Qa);this.a.pop()}},em.M=function(){return"webgl"},em.Pl=function(t){t.preventDefault(),this.a.clear(),this.i=0,W(this.f,function(t){t.gf()})},em.Ql=function(){Lc(this),this.g.render()},em.ue=function(t){var e=this.d,o=this.e;if(o.isContextLost())return!1;if(null===t)return this.l&&(Wi(this.b,!1),this.l=!1),!1;this.n=t.focus,this.a.set((-t.index).toString(),null),++this.i;var i,n,r,s,a=[],p=t.layerStatesArray,l=t.viewState.resolution;for(i=0,n=p.length;i<n;++i)s=p[i],Zr(s,l)&&"ready"==s.i&&(r=vs(this,s.layer),r.hf(t,s,e)&&a.push(s));for(p=t.size[0]*t.pixelRatio,l=t.size[1]*t.pixelRatio,this.b.width==p&&this.b.height==l||(this.b.width=p,this.b.height=l),o.bindFramebuffer(36160,null),o.clearColor(0,0,0,0),o.clear(16384),o.enable(3042),o.viewport(0,0,this.b.width,this.b.height),Rc(this,"precompose",t),i=0,n=a.length;i<n;++i)s=a[i],r=vs(this,s.layer),r.Lg(t,s,e);this.l||(Wi(this.b,!0),this.l=!0),ds(t),1024<this.a.Tb()-this.i&&t.postRenderFunctions.push(d(this.Ci,this)),this.q.la()||(t.postRenderFunctions.push(this.L),t.animate=!0),Rc(this,"postcompose",t),ms(this,t),t.postRenderFunctions.push(gs)},em.ef=function(t,e,o,i,n,r){var s;if(this.e.isContextLost())return!1;var a=this.d,p=e.viewState;if(null!==this.c){var l={},h=Zw;if(s=this.c.c(t,a,p.center,p.resolution,p.rotation,e.size,e.pixelRatio,h.opacity,h.brightness,h.contrast,h.hue,h.saturation,{},function(t){var e=c(t).toString();if(!(e in l))return l[e]=!0,o.call(i,t,null)}))return s}for(a=e.layerStatesArray,h=a.length-1;0<=h;--h){s=a[h];var u=s.layer;if(Zr(s,p.resolution)&&n.call(r,u)&&(s=vs(this,u).Pa(t,e,o,i)))return s}},em.Kg=function(t,e,o,i){var n=!1;if(this.e.isContextLost())return!1;var r=this.d,s=e.viewState;if(null!==this.c&&(n=Zw,n=lc(this.c,t,r,s.resolution,s.rotation,n.opacity,n.brightness,n.contrast,n.hue,n.saturation,{})))return!0;var a,r=e.layerStatesArray;for(a=r.length-1;0<=a;--a){var p=r[a],l=p.layer;if(Zr(p,s.resolution)&&o.call(i,l)&&(n=vs(this,l).ee(t,e)))return!0}return n},em.Jg=function(t,e,o,i,n){if(this.e.isContextLost())return!1;var r,s=this.d,a=e.viewState;if(null!==this.c){var p=Zw;if(r=this.g.ka(t),lc(this.c,r,s,a.resolution,a.rotation,p.opacity,p.brightness,p.contrast,p.hue,p.saturation,{})&&(r=o.call(i,null)))return r}for(s=e.layerStatesArray,p=s.length-1;0<=p;--p){r=s[p];var l=r.layer;if(Zr(r,a.resolution)&&n.call(i,l)&&(r=vs(this,l).dc(t,e,o,i)))return r}};var Zw={opacity:1,brightness:0,contrast:1,hue:0,saturation:1},_w=["canvas","webgl","dom"];v(Nc,re),em=Nc.prototype,em.si=function(t){this.e.push(t)},em.ti=function(t){this.d.push(t)},em.Jf=function(t){this.Ub().Bc().push(t)},em.Kf=function(t){this.f.push(t)},em.Ha=function(t){this.render(),Array.prototype.push.apply(this.H,arguments)},em.O=function(){wi(this.a),Nc.S.O.call(this)},em.Ne=function(e,o,i,n,r){if(null!==this.c)return e=this.ka(e),this.i.ef(e,this.c,o,t(i)?i:null,t(n)?n:lb,t(r)?r:null)},em.al=function(e,o,i,n,r){if(null!==this.c)return this.i.Jg(e,this.c,o,t(i)?i:null,t(n)?n:lb,t(r)?r:null)},em.ok=function(e,o,i){return null!==this.c&&(e=this.ka(e),this.i.Kg(e,this.c,t(o)?o:lb,t(i)?i:null))},em.Ui=function(t){return this.ka(this.Bd(t))},em.Bd=function(e){if(t(e.changedTouches)){var o=e.changedTouches[0];return e=qi(this.a),[o.clientX-e.x,o.clientY-e.y]}return o=this.a,e=qi(e),o=qi(o),o=new pi(e.x-o.x,e.y-o.y),[o.x,o.y]},em.df=function(){return this.get("target")},em.bd=function(){var e=this.df();return t(e)?ui(e):null},em.ka=function(t){var e=this.c;return null===e?null:(t=t.slice(),ts(e.pixelToCoordinateMatrix,t,t))},em.Si=function(){return this.e},em.oj=function(){return this.f},em.bj=function(){return this.d},em.Ub=function(){return this.get("layergroup")},em.vg=function(){return this.Ub().Bc()},em.ta=function(t){var e=this.c;return null===e?null:(t=t.slice(0,2),ts(e.coordinateToPixelMatrix,t,t))},em.xa=function(){return this.get("size")},em.R=function(){return this.get("view")},em.Bj=function(){return this.a},em.zj=function(t,e,o,i){var n=this.c;return null!==n&&e in n.wantedTiles&&n.wantedTiles[e][zo(t.b)]?(t=o[0]-n.focus[0],o=o[1]-n.focus[1],65536*Math.log(i)+Math.sqrt(t*t+o*o)/i):1/0},em.dg=function(t,e){var o=new Hr(e||t.type,this,t);this.eg(o)},em.eg=function(t){if(null!==this.c){this.L=t.coordinate,t.frameState=this.c;var e,o=this.d.a;if(!1!==this.dispatchEvent(t))for(e=o.length-1;0<=e;e--){var i=o[e];if(i.c()&&!i.handleEvent(t))break}}},em.gk=function(){var t=this.c,e=this.Fa;if(!e.la()){var o=16,i=o,n=0;if(null!==t&&(n=t.viewHints,n[0]&&(o=this.wb?8:0,i=2),n[1]&&(o=this.xb?8:0,i=2),n=K(t.wantedTiles)),o*=n,i*=n,e.d<o){for(Ms(e),o=Math.min(o-e.d,i,e.Tb()),i=0;i<o;++i)n=ws(e)[0],qt(n,"change",e.f,!1,e),n.load();e.d+=o}}for(e=this.ba,o=0,i=e.length;o<i;++o)e[o](this,t);e.length=0},em.jk=function(){this.render()},em.lk=function(){var t=this.bd();hr(this.n),null===t?(wi(this.a),null!==this.l&&(zt(this.l),this.l=null)):(t.appendChild(this.a),lr(this.n,null===this.T?t:this.T),null===this.l&&(this.l=qt(this.Ga,"resize",this.Kc,!1,this))),this.Kc()},em.bl=function(){this.render()},em.nk=function(){this.render()},em.mk=function(){null!==this.J&&(zt(this.J),this.J=null);var t=this.R();null!==t&&(this.J=qt(t,"propertychange",this.nk,!1,this)),this.render()},em.Rj=function(){this.render()},em.Sj=function(){this.render()},em.Qj=function(){if(null!==this.g){for(var t=this.g.length,e=0;e<t;++e)zt(this.g[e]);this.g=null}t=this.Ub(),null!=t&&(this.g=[qt(t,"propertychange",this.Sj,!1,this),qt(t,"change",this.Rj,!1,this)]),this.render()},em.Rn=function(){var t=this.o;Wn(t),t.Pf()},em.render=function(){null!=this.o.$||this.o.start()},em.Ln=function(e){if(t(this.e.remove(e)))return e},em.Mn=function(e){var o;return t(this.d.remove(e))&&(o=e),o},em.Nn=function(t){return this.Ub().Bc().remove(t)},em.On=function(e){if(t(this.f.remove(e)))return e},em.Qn=function(e){var o,i,n,r=this.xa(),s=this.R(),a=null;if(t(r)&&0<r[0]&&0<r[1]&&null!==s&&Io(s)){var a=s.c.slice(),p=this.Ub().Ue(),l={};for(o=0,i=p.length;o<i;++o)l[c(p[o].layer)]=p[o];n=jo(s),a={animate:!1,attributions:{},coordinateToPixelMatrix:this.Ra,extent:null,focus:null===this.L?n.center:this.L,index:this.vb++,layerStates:l,layerStatesArray:p,logos:nt(this.sc),pixelRatio:this.Nc,pixelToCoordinateMatrix:this.Ee,postRenderFunctions:[],size:r,skippedFeatureUids:this.N,tileQueue:this.Fa,time:e,usedTiles:{},viewState:n,viewHints:a,wantedTiles:{}}}if(null!==a){for(e=this.H,o=r=0,i=e.length;o<i;++o)s=e[o],s(this,a)&&(e[r++]=s);e.length=r,a.extent=Qe(n.center,n.resolution,n.rotation,a.size)}this.c=a,this.i.ue(a),null!==a&&(a.animate&&this.render(),Array.prototype.push.apply(this.ba,a.postRenderFunctions),0!==this.H.length||a.viewHints[0]||a.viewHints[1]||Xe(a.extent,this.oa)||(this.dispatchEvent(new _i("moveend",this,a)),Fe(a.extent,this.oa))),this.dispatchEvent(new _i("postrender",this,a)),Yn(this.gk,this)},em.zh=function(t){this.set("layergroup",t)},em.vf=function(t){this.set("size",t)},em.cl=function(t){this.set("target",t)},em.jo=function(t){this.set("view",t)},em.Eh=function(t){t=c(t).toString(),this.N[t]=!0,this.render()},em.Kc=function(){var t=this.bd();if(null===t)this.vf(void 0);else{var e=Mi(t),o=Cm&&t.currentStyle;o&&Pi(hi(e))&&"auto"!=o.width&&"auto"!=o.height&&!o.boxSizing?(e=zi(t,o.width,"width","pixelWidth"),t=zi(t,o.height,"height","pixelHeight"),t=new li(e,t)):(o=new li(t.offsetWidth,t.offsetHeight),e=Vi(t,"padding"),t=Zi(t),t=new li(o.width-t.left-e.left-e.right-t.right,o.height-t.top-e.top-e.bottom-t.bottom)),this.vf([t.width,t.height])}},em.Ih=function(t){t=c(t).toString(),delete this.N[t],this.render()},Ap(),v(Ic,re),em=Ic.prototype,em.$d=function(){return this.get("element")},em.ae=function(){return this.get("map")},em.Yf=function(){return this.get("offset")},em.wg=function(){return this.get("position")},em.ag=function(){return this.get("positioning")},em.Kj=function(){mi(this.Z);var t=this.$d();null!=t&&vi(this.Z,t)},em.Yj=function(){null!==this.c&&(wi(this.Z),zt(this.c),this.c=null);var t=this.ae();null!=t&&(this.c=qt(t,"postrender",this.render,!1,this),Fc(this),t=this.i?t.p:t.X,this.g?bi(t,this.Z,0):vi(t,this.Z))},em.render=function(){Fc(this)},em.ck=function(){Fc(this)},em.ek=function(){if(Fc(this),t(this.get("position"))&&this.f){var e=this.ae();if(t(e)&&!r(e.bd())){var o=Dc(e.bd(),e.xa()),i=this.$d(),n=i.offsetWidth,s=i.currentStyle||window.getComputedStyle(i),n=n+(parseInt(s.marginLeft,10)+parseInt(s.marginRight,10)),s=i.offsetHeight,a=i.currentStyle||window.getComputedStyle(i),s=s+(parseInt(a.marginTop,10)+parseInt(a.marginBottom,10)),p=Dc(i,[n,s]),i=this.e;Be(o,p)||(n=p[0]-o[0],s=o[2]-p[2],a=p[1]-o[1],p=o[3]-p[3],o=[0,0],0>n?o[0]=n-i:0>s&&(o[0]=Math.abs(s)+i),0>a?o[1]=a-i:0>p&&(o[1]=Math.abs(p)+i),0===o[0]&&0===o[1])||(i=e.R().Ca(),n=e.ta(i),o=[n[0]+o[0],n[1]+o[1]],null!==this.d&&(this.d.source=i,e.Ha(Go(this.d))),e.R().Na(e.ka(o)))}}},em.fk=function(){Fc(this)},em.wh=function(t){this.set("element",t)},em.setMap=function(t){this.set("map",t)},em.Bh=function(t){this.set("offset",t)},em.uf=function(t){this.set("position",t)},em.Ch=function(t){this.set("positioning",t)},v(Oc,Ji),em=Oc.prototype,em.setMap=function(t){var e=this.a;t!==e&&(e&&(e=e.R())&&Wt(e,se("rotation"),this.Rd,!1,this),Oc.S.setMap.call(this,t),t&&(this.l.push(qt(t,"propertychange",this.Zj,!1,this)),0===this.d.vg().Ib()&&this.d.zh(t.Ub()),t=t.R()))&&(qt(t,se("rotation"),this.Rd,!1,this),Io(t)&&(this.d.Kc(),Uc(this)))},em.Zj=function(t){"view"===t.key&&((t=t.oldValue)&&Wt(t,se("rotation"),this.Rd,!1,this),t=this.a.R(),qt(t,se("rotation"),this.Rd,!1,this))},em.Rd=function(){this.d.R().be(this.a.R().Da())},em.ml=function(t){t.preventDefault(),qc(this)},em.ll=function(){return this.g},em.ol=function(t){this.g!==t&&(this.g=t,ji(this.element,"ol-uncollapsible"),!t&&this.f&&qc(this))},em.nl=function(t){this.g&&this.f!==t&&qc(this)},em.kl=function(){return this.f},v(Hc,Ji);var Jw=[1,2,5];Hc.prototype.p=function(){return this.get("units")},Hc.prototype.N=function(){Xc(this)},Hc.prototype.J=function(t){this.set("units",t)},v(Wc,Tt);var Qw=[];Wc.prototype.Ka=function(t,e,o,i){s(e)||(e&&(Qw[0]=e.toString()),e=Qw);for(var n=0;n<e.length;n++){var r=qt(t,e[n],o||this.handleEvent,i||!1,this.a||this);if(!r)break;this.b[r.key]=r}return this},Wc.prototype.wf=function(t,e,o,i,n){if(s(e))for(var r=0;r<e.length;r++)this.wf(t,e[r],o,i,n);else o=o||this.handleEvent,n=n||this.a||this,o=Jt(o),i=!!i,e=jt(t)?Bt(t.ab,String(e),o,i,n):t&&(t=_t(t))?Bt(t,e,o,i,n):null,e&&(zt(e),delete this.b[e.key]);return this},Wc.prototype.O=function(){Wc.S.O.call(this),zc(this)},Wc.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented")},v(Kc,Qt);var tx=Cm||Em&&pt("1.9.3");em=Kc.prototype,em.clientX=0,em.clientY=0,em.screenX=0,em.screenY=0,em.Fh=0,em.Gh=0,em.yc=0,em.zc=0,em.Zb=!1,em.O=function(){Kc.S.O.call(this),Wt(this.handle,["touchstart","mousedown"],this.cg,!1,this),zc(this.a),tx&&this.c.releaseCapture(),this.handle=this.target=null},em.cg=function(t){var e="mousedown"==t.type;if(this.Zb||e&&!Nt(t))this.dispatchEvent("earlycancel");else if(Vc(t),this.dispatchEvent(new Qc("start",this,t.clientX,t.clientY))){this.Zb=!0,t.preventDefault();var e=this.c,o=e.documentElement,i=!tx;this.a.Ka(e,["touchmove","mousemove"],this.bk,i),this.a.Ka(e,["touchend","mouseup"],this.Od,i),tx?(o.setCapture(!1),this.a.Ka(o,"losecapture",this.Od)):this.a.Ka(e?e.parentWindow||e.defaultView:window,"blur",this.Od),this.e&&this.a.Ka(this.e,"scroll",this.en,i),this.clientX=this.Fh=t.clientX,this.clientY=this.Gh=t.clientY,this.screenX=t.screenX,this.screenY=t.screenY,this.yc=this.target.offsetLeft,this.zc=this.target.offsetTop,this.d=ki(hi(this.c)),lm()}},em.Od=function(t){if(zc(this.a),tx&&this.c.releaseCapture(),this.Zb){Vc(t),this.Zb=!1;var e=_c(this,this.yc),o=Jc(this,this.zc);this.dispatchEvent(new Qc("end",this,t.clientX,t.clientY,0,e,o))}else this.dispatchEvent("earlycancel")},em.bk=function(t){Vc(t);var e=1*(t.clientX-this.clientX),o=t.clientY-this.clientY;if(this.clientX=t.clientX,this.clientY=t.clientY,this.screenX=t.screenX,this.screenY=t.screenY,!this.Zb){var i=this.Fh-this.clientX,n=this.Gh-this.clientY;if(0<i*i+n*n){if(!this.dispatchEvent(new Qc("start",this,t.clientX,t.clientY)))return void(this.U||this.Od(t));this.Zb=!0}}o=Yc(this,e,o),e=o.x,o=o.y,this.Zb&&this.dispatchEvent(new Qc("beforedrag",this,t.clientX,t.clientY,0,e,o))&&(Zc(this,t,e,o),t.preventDefault())},em.en=function(t){var e=Yc(this,0,0);t.clientX=this.clientX,t.clientY=this.clientY,Zc(this,t,e.x,e.y)},v(Qc,Et),v(tf,Ji);var ex=0;em=tf.prototype,em.setMap=function(t){tf.S.setMap.call(this,t),null===t||t.render()},em.Gj=function(t){var e=this.a,o=e.R(),i=o.ya();e.Ha(Ho({resolution:i,duration:this.o,easing:Fo})),t=of(this,t.offsetX-this.i[0]/2,t.offsetY-this.i[1]/2),t=nf(this,t),o.tb(o.constrainResolution(t))},em.Jj=function(){Do(this.a.R(),1)},em.Hj=function(t){t=of(this,t.left,t.top),this.f=nf(this,t),this.a.R().tb(this.f)},em.Ij=function(){var t=this.a,e=t.R();Do(e,-1),t.Ha(Ho({resolution:this.f,duration:this.o,easing:Fo})),t=e.constrainResolution(this.f),e.tb(t)},v(rf,Ji),rf.prototype.f=function(t){t.preventDefault();var e=this.a;t=e.R();var o=null===this.d?t.e.G():this.d,e=e.xa();t.Me(o,e)},v(sf,re),em=sf.prototype,em.O=function(){this.bf(!1),sf.S.O.call(this)},em.fn=function(t){if(t=t.b,null!=t.alpha){var e=ct(t.alpha);this.set("alpha",e),"boolean"==typeof t.absolute&&t.absolute?this.set("heading",e):null!=t.webkitCompassHeading&&null!=t.webkitCompassAccuracy&&-1!=t.webkitCompassAccuracy&&this.set("heading",ct(t.webkitCompassHeading))}null!=t.beta&&this.set("beta",ct(t.beta)),null!=t.gamma&&this.set("gamma",ct(t.gamma)),this.k()},em.Mi=function(){return this.get("alpha")},em.Pi=function(){return this.get("beta")},em.Yi=function(){return this.get("gamma")},em.Ik=function(){return this.get("heading")},em.og=function(){return this.get("tracking")},em.Jk=function(){if(Ab){var t=this.og();t&&null===this.a?this.a=qt(sm,"deviceorientation",this.fn,!1,this):t||null===this.a||(zt(this.a),this.a=null)}},em.bf=function(t){this.set("tracking",t)},v(af,re),em=af.prototype,em.clone=function(){var t=new af(this.D());t.Ic(this.a);var e=this.Q();return null!=e&&t.La(e.clone()),e=this.e,null===e||t.cf(e),t},em.Q=function(){return this.get(this.a)},em.aj=function(){return this.$},em.$i=function(){return this.a},em.Qk=function(){return this.e},em.Rk=function(){return this.c},em.Sk=function(){this.k()},em.Pd=function(){null!==this.d&&(zt(this.d),this.d=null);var t=this.Q();null!=t&&(this.d=qt(t,"change",this.Sk,!1,this)),this.k()},em.La=function(t){this.set(this.a,t)},em.cf=function(t){this.e=t,null===t?t=void 0:h(t)||(t=s(t)?t:[t],t=ln(t)),this.c=t,this.k()},em.Qb=function(t){this.$=t,this.k()},em.Ic=function(t){Wt(this,se(this.a),this.Pd,!1,this),this.a=t,qt(this,se(this.a),this.Pd,!1,this),this.Pd()},em=pf.prototype,em.pg=function(t){this.b.push(t)},em.Kk=function(){return this.b},em.Lk=function(){return this.d},em.qg=function(){lf(this)},em.Mj=function(t){t=t.element,this.a[c(t).toString()]=qt(t,"change",this.qg,!1,this),lf(this)},em.Nj=function(t){t=c(t.element).toString(),zt(this.a[t]),delete this.a[t],lf(this)},em.Ok=function(){lf(this)},em.Pk=function(e){if(null!==this.b){var o=this.f;t(o)||(o=rp);var i=e.b;e=e.frameState;var n,r,s,a,p=e.viewState.resolution,l=Nl(p,e.pixelRatio);this.b.forEach(function(e){if(a=e.c,s=t(a)?a.call(e,p):o(e,p),null!=s)for(r=s.length,n=0;n<r;++n)jl(i,e,s[n],l,this.Ok,this)},this)}},em.Yd=function(t){this.b.remove(t)},em.ld=function(t){null!==this.c&&(E(this.c,zt),this.c=null),null!==this.a&&(E(V(this.a),zt),this.a=null),this.b=t,null!==t&&(this.c=[qt(t,"add",this.Mj,!1,this),qt(t,"remove",this.Nj,!1,this)],this.a={},t.forEach(function(t){this.a[c(t).toString()]=qt(t,"change",this.qg,!1,this)},this)),lf(this)},em.setMap=function(t){null!==this.e&&(zt(this.e),this.e=null),lf(this),this.d=t,null!==t&&(this.e=qt(t,"postcompose",this.Pk,!1,this),t.render())},em.rg=function(t){this.g=t,this.f=np(t),lf(this)},em.Mk=function(){return this.g},em.Nk=function(){return this.f},v(yf,hf),em=yf.prototype,em.M=function(){return"json"},em.sb=function(t,e){return this.Fc(df(t),uf(this,t,e))},em.ja=function(t,e){return this.of(df(t),uf(this,t,e))},em.Gc=function(t,e){return this.hh(df(t),uf(this,t,e))},em.za=function(t){return this.nh(df(t))},em.qd=function(t,e){return Pw(this.Lc(t,e))},em.ub=function(t,e){return Pw(this.ze(t,e))},em.Mc=function(t,e){return Pw(this.Be(t,e))},v(gf,yf);var ox={Point:function(t){return null!=t.m&&null!=t.z?new Ta([t.x,t.y,t.z,t.m],"XYZM"):null!=t.z?new Ta([t.x,t.y,t.z],"XYZ"):null!=t.m?new Ta([t.x,t.y,t.m],"XYM"):new Ta([t.x,t.y])},LineString:function(t){return new ml(t.paths[0],mf(t))},Polygon:function(t){return new Fa(t.rings,mf(t))},MultiPoint:function(t){return new Cl(t.points,mf(t))},MultiLineString:function(t){return new xl(t.paths,mf(t))},MultiPolygon:function(t){return new El(t.rings,mf(t))}},ix={Point:function(t){var e=t.K();return t=t.a,"XYZ"===t?{x:e[0],y:e[1],z:e[2]}:"XYM"===t?{x:e[0],y:e[1],m:e[2]}:"XYZM"===t?{x:e[0],y:e[1],z:e[2],m:e[3]}:"XY"===t?{x:e[0],y:e[1]}:void 0},LineString:function(t){var e=bf(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:[t.K()]}},Polygon:function(t){var e=bf(t);return{hasZ:e.hasZ,hasM:e.hasM,rings:t.K(!1)}},MultiPoint:function(t){var e=bf(t);return{hasZ:e.hasZ,hasM:e.hasM,points:t.K()}},MultiLineString:function(t){var e=bf(t);return{hasZ:e.hasZ,hasM:e.hasM,paths:t.K()}},MultiPolygon:function(t){var e=bf(t);t=t.K(!1);for(var o=[],i=0;i<t.length;i++)for(var n=t[i].length-1;0<=n;n--)o.push(t[i][n]);return{hasZ:e.hasZ,hasM:e.hasM,rings:o}}};em=gf.prototype,em.Fc=function(e,o){var i=vf(e.geometry,o),n=new af;return t(this.b)&&n.Ic(this.b),n.La(i),t(o)&&t(o.Xe)&&t(e.attributes[o.Xe])&&n.Qb(e.attributes[o.Xe]),t(e.attributes)&&n.t(e.attributes),n},em.of=function(e,o){var i=t(o)?o:{};if(null!=e.features){var n,r,s=[],a=e.features;for(i.Xe=e.objectIdFieldName,n=0,r=a.length;n<r;++n)s.push(this.Fc(a[n],i));return s}return[this.Fc(e,i)]},em.hh=function(t,e){return vf(t,e)},em.nh=function(t){return null!=t.spatialReference&&null!=t.spatialReference.wkid?xo("EPSG:"+t.spatialReference.wkid):null},em.Be=function(t,e){return wf(t,cf(this,e))},em.Lc=function(e,o){o=cf(this,o);var i={},n=e.Q();return null!=n&&(i.geometry=wf(n,o)),n=e.D(),et(n,e.a),i.attributes=Q(n)?{}:n,t(o)&&t(o.featureProjection)&&(i.spatialReference={wkid:xo(o.featureProjection).b.split(":").pop()}),i},em.ze=function(t,e){e=cf(this,e);var o,i,n=[];for(o=0,i=t.length;o<i;++o)n.push(this.Lc(t[o],e));return{features:n}},v(xf,yf);var nx={Point:function(t){return new Ta(t.coordinates)},LineString:function(t){return new ml(t.coordinates)},Polygon:function(t){return new Fa(t.coordinates)},MultiPoint:function(t){return new Cl(t.coordinates)},MultiLineString:function(t){return new xl(t.coordinates)},MultiPolygon:function(t){return new El(t.coordinates)},GeometryCollection:function(t,e){var o=k(t.geometries,function(t){return Sf(t,e)});return new ul(o)}},rx={Point:function(t){return{type:"Point",coordinates:t.K()}},LineString:function(t){return{type:"LineString",coordinates:t.K()}},Polygon:function(e,o){var i;return t(o)&&(i=o.rightHanded),{type:"Polygon",coordinates:e.K(i)}},MultiPoint:function(t){return{type:"MultiPoint",coordinates:t.K()}},MultiLineString:function(t){return{type:"MultiLineString",coordinates:t.K()}},MultiPolygon:function(e,o){var i;return t(o)&&(i=o.rightHanded),{type:"MultiPolygon",coordinates:e.K(i)}},GeometryCollection:function(t,e){return{type:"GeometryCollection",geometries:k(t.d,function(t){return Tf(t,e)})}},Circle:function(){return{type:"GeometryCollection",geometries:[]}}};em=xf.prototype,em.Fc=function(e,o){var i=Sf(e.geometry,o),n=new af;return t(this.b)&&n.Ic(this.b),n.La(i),t(e.id)&&n.Qb(e.id),t(e.properties)&&n.t(e.properties),n},em.of=function(t,e){if("Feature"==t.type)return[this.Fc(t,e)];if("FeatureCollection"==t.type){var o,i,n=[],r=t.features;for(o=0,i=r.length;o<i;++o)n.push(this.Fc(r[o],e));return n}return[]},em.hh=function(t,e){return Sf(t,e)},em.nh=function(t){return t=t.crs,null!=t?"name"==t.type?xo(t.properties.name):"EPSG"==t.type?xo("EPSG:"+t.properties.code):null:this.defaultDataProjection},em.Lc=function(t,e){e=cf(this,e);var o={type:"Feature"},i=t.$;return null!=i&&(o.id=i),i=t.Q(),null!=i&&(o.geometry=Tf(i,e)),i=t.D(),et(i,t.a),o.properties=Q(i)?null:i,o},em.ze=function(t,e){e=cf(this,e);var o,i,n=[];for(o=0,i=t.length;o<i;++o)n.push(this.Lc(t[o],e));return{type:"FeatureCollection",features:n}},em.Be=function(t,e){return Tf(t,cf(this,e))},v(Mf,hf),em=Mf.prototype,em.M=function(){return"xml"},em.sb=function(t,e){if(qw(t))return Cf(this,t,e);if(Hw(t))return this.fh(t,e);if(p(t)){var o=Hh(t);return Cf(this,o,e)}return null},em.ja=function(t,e){if(qw(t))return Ef(this,t,e);if(Hw(t))return this.Ob(t,e);if(p(t)){var o=Hh(t);return Ef(this,o,e)}return[]},em.Gc=function(e,o){if(qw(e))return this.l(e,o);if(Hw(e)){var i=this.qe(e,[uf(this,e,t(o)?o:{})]);return t(i)?i:null}return p(e)?(i=Hh(e),this.l(i,o)):null},em.za=function(t){return qw(t)?this.sf(t):Hw(t)?this.te(t):p(t)?(t=Hh(t),this.sf(t)):null},em.sf=function(){return this.defaultDataProjection},em.te=function(){return this.defaultDataProjection},em.qd=function(t,e){var o=this.U(t,e);return Ch(o)},em.ub=function(t,e){var o=this.a(t,e);return Ch(o)},em.Mc=function(t,e){var o=this.q(t,e);return Ch(o)},v(Pf,Mf),em=Pf.prototype,em.jd=function(e,o){var i,n=Gw(e);if("FeatureCollection"==n)i="http://www.opengis.net/wfs"===e.namespaceURI?eu([],this.b,e,o,this):eu(null,this.b,e,o,this);else if("featureMembers"==n||"featureMember"==n){var r=o[0],a=r.featureType;i=r.featureNS;var l,h;if(!t(a)&&null!=e.childNodes){for(a=[],i={},l=0,h=e.childNodes.length;l<h;++l){var u=e.childNodes[l];if(1===u.nodeType){var c=u.nodeName.split(":").pop();if(-1===C(a,c)){var f;_(i,u.namespaceURI)?f=J(i,function(t){return t===u.namespaceURI}):(f="p"+K(i),i[f]=u.namespaceURI),a.push(f+":"+c)}}}r.featureType=a,r.featureNS=i}p(i)&&(l=i,i={},i.p0=l);var y,r={},a=s(a)?a:[a];for(y in i){for(c={},l=0,h=a.length;l<h;++l)(-1===a[l].indexOf(":")?"p0":a[l].split(":")[0])===y&&(c[a[l].split(":").pop()]="featureMembers"==n?Xh(this.nf,this):Wh(this.nf,this));r[i[y]]=c}i=eu([],r,e,o)}return t(i)||(i=[]),i},em.qe=function(t,e){var o=e[0];o.srsName=t.firstElementChild.getAttribute("srsName");var i=eu(null,this.Cf,t,e,this);if(null!=i)return ff(i,!1,o)},em.nf=function(e,o){var i,n,r=e.getAttribute("fid")||$w(e,"http://www.opengis.net/gml","id"),s={};for(i=e.firstElementChild;null!==i;i=i.nextElementSibling){var a=Gw(i);if(0===i.childNodes.length||1===i.childNodes.length&&3===i.firstChild.nodeType){var p=kh(i,!1);/^[\s\xa0]*$/.test(p)&&(p=void 0),s[a]=p}else"boundedBy"!==a&&(n=a),s[a]=this.qe(i,o)}return i=new af(s),t(n)&&i.Ic(n),r&&i.Qb(r),i},em.mh=function(t,e){var o=this.pe(t,e);if(null!=o){var i=new Ta(null);return Ma(i,"XYZ",o),i}},em.kh=function(e,o){var i=eu([],this.ai,e,o,this);if(t(i))return new Cl(i)},em.jh=function(e,o){var i=eu([],this.$h,e,o,this);if(t(i)){var n=new xl(null);return Ml(n,i),n}},em.lh=function(e,o){var i=eu([],this.bi,e,o,this);if(t(i)){var n=new El(null);return Rl(n,i),n}},em.$g=function(t,e){tu(this.ei,t,e,this)},em.kg=function(t,e){tu(this.Yh,t,e,this)},em.ah=function(t,e){tu(this.fi,t,e,this)},em.re=function(t,e){var o=this.pe(t,e);if(null!=o){var i=new ml(null);return wl(i,"XYZ",o),i}},em.yn=function(t,e){var o=eu(null,this.sd,t,e,this);if(null!=o)return o},em.ih=function(e,o){var i=this.pe(e,o);if(t(i)){var n=new xa(null);return Sa(n,"XYZ",i),n}},em.se=function(e,o){var i=eu([null],this.De,e,o,this);if(t(i)&&null!==i[0]){var n,r,s=new Fa(null),a=i[0],p=[a.length];for(n=1,r=i.length;n<r;++n)F(a,i[n]),p.push(a.length);return Ua(s,"XYZ",a,p),s}},em.pe=function(t,e){return eu(null,this.sd,t,e,this)},em.ai=Object({"http://www.opengis.net/gml":{pointMember:Xh(Pf.prototype.$g),pointMembers:Xh(Pf.prototype.$g)}}),em.$h=Object({"http://www.opengis.net/gml":{lineStringMember:Xh(Pf.prototype.kg),lineStringMembers:Xh(Pf.prototype.kg)}}),em.bi=Object({"http://www.opengis.net/gml":{polygonMember:Xh(Pf.prototype.ah),polygonMembers:Xh(Pf.prototype.ah)}}),em.ei=Object({"http://www.opengis.net/gml":{Point:Xh(Pf.prototype.pe)}}),em.Yh=Object({"http://www.opengis.net/gml":{LineString:Xh(Pf.prototype.re)}}),em.fi=Object({"http://www.opengis.net/gml":{Polygon:Xh(Pf.prototype.se)}}),em.td=Object({"http://www.opengis.net/gml":{LinearRing:Wh(Pf.prototype.yn)}}),em.Ob=function(e,o){var i={featureType:this.featureType,featureNS:this.featureNS};return t(o)&&rt(i,uf(this,e,o)),this.jd(e,[i])},em.te=function(e){return xo(t(this.o)?this.o:e.firstElementChild.getAttribute("srsName"))},v(Gf,Pf),em=Gf.prototype,em.Bn=function(e,o){var i=eu([],this.Zh,e,o,this);if(t(i)){var n=new xl(null);return Ml(n,i),n}},em.Cn=function(e,o){var i=eu([],this.ci,e,o,this);if(t(i)){var n=new El(null);return Rl(n,i),n}},em.Nf=function(t,e){tu(this.Vh,t,e,this)},em.Hh=function(t,e){tu(this.ji,t,e,this)},em.Fn=function(t,e){return eu([null],this.di,t,e,this)},em.Hn=function(t,e){return eu([null],this.ii,t,e,this)},em.Gn=function(t,e){return eu([null],this.De,t,e,this)},em.An=function(t,e){return eu([null],this.sd,t,e,this)},em.rk=function(e,o){var i=eu(void 0,this.td,e,o,this);t(i)&&o[o.length-1].push(i)},em.Di=function(e,o){var i=eu(void 0,this.td,e,o,this);t(i)&&(o[o.length-1][0]=i)},em.oh=function(e,o){var i=eu([null],this.ki,e,o,this);if(t(i)&&null!==i[0]){var n,r,s=new Fa(null),a=i[0],p=[a.length];for(n=1,r=i.length;n<r;++n)F(a,i[n]),p.push(a.length);return Ua(s,"XYZ",a,p),s}},em.dh=function(e,o){var i=eu([null],this.Wh,e,o,this);if(t(i)){var n=new ml(null);return wl(n,"XYZ",i),n}},em.xn=function(t,e){var o=eu([null],this.Xh,t,e,this);return He(o[1][0],o[1][1],o[2][0],o[2][1])},em.zn=function(t,e){for(var o,i=kh(t,!1),n=/^\s*([+\-]?\d*\.?\d+(?:[eE][+\-]?\d+)?)\s*/,r=[];o=n.exec(i);)r.push(parseFloat(o[1])),i=i.substr(o[0].length);if(""===i){if(i=e[0].srsName,n="enu",null===i||(n=uo(xo(i))),"neu"===n)for(i=0,n=r.length;i<n;i+=3)o=r[i],r[i]=r[i+1],r[i+1]=o;return i=r.length,2==i&&r.push(0),0===i?void 0:r}},em.qf=function(t,e){var o=kh(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,n=t.parentNode.getAttribute("srsDimension"),s="enu";null===i||(s=uo(xo(i))),o=o.split(/\s+/),i=2,r(t.getAttribute("srsDimension"))?r(t.getAttribute("dimension"))?null===n||(i=If(n)):i=If(t.getAttribute("dimension")):i=If(t.getAttribute("srsDimension"));for(var a,p,l=[],h=0,u=o.length;h<u;h+=i)n=parseFloat(o[h]),a=parseFloat(o[h+1]),p=3===i?parseFloat(o[h+2]):0,"en"===s.substr(0,2)?l.push(n,a,p):l.push(a,n,p);return l},em.sd=Object({"http://www.opengis.net/gml":{pos:Wh(Gf.prototype.zn),posList:Wh(Gf.prototype.qf)}}),em.De=Object({"http://www.opengis.net/gml":{interior:Gf.prototype.rk,exterior:Gf.prototype.Di}}),em.Cf=Object({"http://www.opengis.net/gml":{Point:Wh(Pf.prototype.mh),MultiPoint:Wh(Pf.prototype.kh),LineString:Wh(Pf.prototype.re),MultiLineString:Wh(Pf.prototype.jh),LinearRing:Wh(Pf.prototype.ih),Polygon:Wh(Pf.prototype.se),MultiPolygon:Wh(Pf.prototype.lh),Surface:Wh(Gf.prototype.oh),MultiSurface:Wh(Gf.prototype.Cn),Curve:Wh(Gf.prototype.dh),MultiCurve:Wh(Gf.prototype.Bn),Envelope:Wh(Gf.prototype.xn)}}),em.Zh=Object({"http://www.opengis.net/gml":{curveMember:Xh(Gf.prototype.Nf),curveMembers:Xh(Gf.prototype.Nf)}}),em.ci=Object({"http://www.opengis.net/gml":{surfaceMember:Xh(Gf.prototype.Hh),surfaceMembers:Xh(Gf.prototype.Hh)}}),em.Vh=Object({"http://www.opengis.net/gml":{LineString:Xh(Pf.prototype.re),Curve:Xh(Gf.prototype.dh)}}),em.ji=Object({"http://www.opengis.net/gml":{Polygon:Xh(Pf.prototype.se),Surface:Xh(Gf.prototype.oh)}}),em.ki=Object({"http://www.opengis.net/gml":{patches:Wh(Gf.prototype.Fn)}}),em.Wh=Object({"http://www.opengis.net/gml":{segments:Wh(Gf.prototype.Hn)}}),em.Xh=Object({"http://www.opengis.net/gml":{lowerCorner:Xh(Gf.prototype.qf),upperCorner:Xh(Gf.prototype.qf)}}),em.di=Object({"http://www.opengis.net/gml":{PolygonPatch:Wh(Gf.prototype.Gn)}}),em.ii=Object({"http://www.opengis.net/gml":{LineStringSegment:Wh(Gf.prototype.An)}}),em.Rh=function(t,e,o){var i=o[o.length-1].srsName;null!=i&&t.setAttribute("srsName",i),i=Uw(t.namespaceURI,"pos"),t.appendChild(i),o=o[o.length-1].srsName,t="enu",null!=o&&(t=uo(xo(o))),e=e.K(),Uf(i,"en"===t.substr(0,2)?e[0]+" "+e[1]:e[1]+" "+e[0])};var sx={"http://www.opengis.net/gml":{lowerCorner:Yh(Uf),upperCorner:Yh(Uf)}};em=Gf.prototype,em.wo=function(e,o,i){var n=i[i.length-1].srsName;t(n)&&e.setAttribute("srsName",n),iu({P:e},sx,zw,[o[0]+" "+o[1],o[2]+" "+o[3]],i,["lowerCorner","upperCorner"],this)},em.Oh=function(t,e,o){var i=o[o.length-1].srsName;null!=i&&t.setAttribute("srsName",i),i=Uw(t.namespaceURI,"posList"),t.appendChild(i),qf(i,e,o)},em.hi=function(e,o){var i=o[o.length-1],n=i.P,r=i.exteriorWritten;return t(r)||(i.exteriorWritten=!0),Uw(n.namespaceURI,t(r)?"interior":"exterior")},em.Ce=function(t,e,o){var i=o[o.length-1].srsName;"PolygonPatch"!==t.nodeName&&null!=i&&t.setAttribute("srsName",i),"Polygon"===t.nodeName||"PolygonPatch"===t.nodeName?(e=e.Ed(),iu({P:t,srsName:i},hx,this.hi,e,o,void 0,this)):"Surface"===t.nodeName&&(i=Uw(t.namespaceURI,"patches"),t.appendChild(i),t=Uw(i.namespaceURI,"PolygonPatch"),i.appendChild(t),this.Ce(t,e,o))},em.xe=function(t,e,o){var i=o[o.length-1].srsName;"LineStringSegment"!==t.nodeName&&null!=i&&t.setAttribute("srsName",i),"LineString"===t.nodeName||"LineStringSegment"===t.nodeName?(i=Uw(t.namespaceURI,"posList"),t.appendChild(i),qf(i,e,o)):"Curve"===t.nodeName&&(i=Uw(t.namespaceURI,"segments"),t.appendChild(i), +t=Uw(i.namespaceURI,"LineStringSegment"),i.appendChild(t),this.xe(t,e,o))},em.Qh=function(t,e,o){var i=o[o.length-1],n=i.srsName,i=i.surface;null!=n&&t.setAttribute("srsName",n),e=e.Id(),iu({P:t,srsName:n,surface:i},ax,this.d,e,o,void 0,this)},em.xo=function(t,e,o){var i=o[o.length-1].srsName;null!=i&&t.setAttribute("srsName",i),e=e.ce(),iu({P:t,srsName:i},px,_h("pointMember"),e,o,void 0,this)},em.Ph=function(t,e,o){var i=o[o.length-1],n=i.srsName,i=i.curve;null!=n&&t.setAttribute("srsName",n),e=e.ad(),iu({P:t,srsName:n,curve:i},lx,this.d,e,o,void 0,this)},em.Sh=function(t,e,o){var i=Uw(t.namespaceURI,"LinearRing");t.appendChild(i),this.Oh(i,e,o)},em.Th=function(e,o,i){var n=this.c(o,i);t(n)&&(e.appendChild(n),this.Ce(n,o,i))},em.yo=function(t,e,o){var i=Uw(t.namespaceURI,"Point");t.appendChild(i),this.Rh(i,e,o)},em.Nh=function(e,o,i){var n=this.c(o,i);t(n)&&(e.appendChild(n),this.xe(n,o,i))},em.Ae=function(e,o,i){var n=i[i.length-1],r=nt(n);r.P=e;var a;a=s(o)?t(n.dataProjection)?ko(o,n.featureProjection,n.dataProjection):o:ff(o,!0,n),iu(r,ux,this.c,[a],i,void 0,this)},em.Lh=function(e,o,i){var n=o.$;t(n)&&e.setAttribute("fid",n);var n=i[i.length-1],r=n.featureNS,s=o.a;t(n.fc)||(n.fc={},n.fc[r]={});var a=o.D();o=[];var p,l=[];for(p in a){var h=a[p];null!==h&&(o.push(p),l.push(h),p==s?p in n.fc[r]||(n.fc[r][p]=Yh(this.Ae,this)):p in n.fc[r]||(n.fc[r][p]=Yh(Uf)))}p=nt(n),p.P=e,iu(p,n.fc,_h(void 0,r),l,i,o)};var ax={"http://www.opengis.net/gml":{surfaceMember:Yh(Gf.prototype.Th),polygonMember:Yh(Gf.prototype.Th)}},px={"http://www.opengis.net/gml":{pointMember:Yh(Gf.prototype.yo)}},lx={"http://www.opengis.net/gml":{lineStringMember:Yh(Gf.prototype.Nh),curveMember:Yh(Gf.prototype.Nh)}},hx={"http://www.opengis.net/gml":{exterior:Yh(Gf.prototype.Sh),interior:Yh(Gf.prototype.Sh)}},ux={"http://www.opengis.net/gml":{Curve:Yh(Gf.prototype.xe),MultiCurve:Yh(Gf.prototype.Ph),Point:Yh(Gf.prototype.Rh),MultiPoint:Yh(Gf.prototype.xo),LineString:Yh(Gf.prototype.xe),MultiLineString:Yh(Gf.prototype.Ph),LinearRing:Yh(Gf.prototype.Oh),Polygon:Yh(Gf.prototype.Ce),MultiPolygon:Yh(Gf.prototype.Qh),Surface:Yh(Gf.prototype.Ce),MultiSurface:Yh(Gf.prototype.Qh),Envelope:Yh(Gf.prototype.wo)}},cx={MultiLineString:"lineStringMember",MultiCurve:"curveMember",MultiPolygon:"polygonMember",MultiSurface:"surfaceMember"};Gf.prototype.d=function(t,e){return Uw("http://www.opengis.net/gml",cx[e[e.length-1].P.nodeName])},Gf.prototype.c=function(t,e){var o,i=e[e.length-1],n=i.multiSurface,r=i.surface,a=i.curve,i=i.multiCurve;return s(t)?o="Envelope":(o=t.M(),"MultiPolygon"===o&&!0===n?o="MultiSurface":"Polygon"===o&&!0===r?o="Surface":"LineString"===o&&!0===a?o="Curve":"MultiLineString"===o&&!0===i&&(o="MultiCurve")),Uw("http://www.opengis.net/gml",o)},Gf.prototype.q=function(e,o){o=cf(this,o);var i=Uw("http://www.opengis.net/gml","geom"),n={P:i,srsName:this.srsName,curve:this.e,surface:this.i,multiSurface:this.g,multiCurve:this.f};return t(o)&&rt(n,o),this.Ae(i,e,[n]),i},Gf.prototype.a=function(e,o){o=cf(this,o);var i=Uw("http://www.opengis.net/gml","featureMembers");Ww(i,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.schemaLocation);var n={srsName:this.srsName,curve:this.e,surface:this.i,multiSurface:this.g,multiCurve:this.f,featureNS:this.featureNS,featureType:this.featureType};t(o)&&rt(n,o);var n=[n],r=n[n.length-1],s=r.featureType,a=r.featureNS,p={};return p[a]={},p[a][s]=Yh(this.Lh,this),r=nt(r),r.P=i,iu(r,p,_h(s,a),e,n),i},v(Hf,Pf),em=Hf.prototype,em.gh=function(t,e){var o=kh(t,!1).replace(/^\s*|\s*$/g,""),i=e[0].srsName,n=t.parentNode.getAttribute("srsDimension"),s="enu";null===i||(s=uo(xo(i))),o=o.split(/[\s,]+/),i=2,r(t.getAttribute("srsDimension"))?r(t.getAttribute("dimension"))?null===n||(i=If(n)):i=If(t.getAttribute("dimension")):i=If(t.getAttribute("srsDimension"));for(var a,p,l=[],h=0,u=o.length;h<u;h+=i)n=parseFloat(o[h]),a=parseFloat(o[h+1]),p=3===i?parseFloat(o[h+2]):0,"en"===s.substr(0,2)?l.push(n,a,p):l.push(a,n,p);return l},em.wn=function(t,e){var o=eu([null],this.Uh,t,e,this);return He(o[1][0],o[1][1],o[1][3],o[1][4])},em.pk=function(e,o){var i=eu(void 0,this.td,e,o,this);t(i)&&o[o.length-1].push(i)},em.gn=function(e,o){var i=eu(void 0,this.td,e,o,this);t(i)&&(o[o.length-1][0]=i)},em.sd=Object({"http://www.opengis.net/gml":{coordinates:Wh(Hf.prototype.gh)}}),em.De=Object({"http://www.opengis.net/gml":{innerBoundaryIs:Hf.prototype.pk,outerBoundaryIs:Hf.prototype.gn}}),em.Uh=Object({"http://www.opengis.net/gml":{coordinates:Xh(Hf.prototype.gh)}}),em.Cf=Object({"http://www.opengis.net/gml":{Point:Wh(Pf.prototype.mh),MultiPoint:Wh(Pf.prototype.kh),LineString:Wh(Pf.prototype.re),MultiLineString:Wh(Pf.prototype.jh),LinearRing:Wh(Pf.prototype.ih),Polygon:Wh(Pf.prototype.se),MultiPolygon:Wh(Pf.prototype.lh),Box:Wh(Hf.prototype.wn)}}),v($f,Mf);var fx=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"],yx={rte:Kf,trk:Vf,wpt:Yf},dx=Vh(fx,{rte:Xh(Kf),trk:Xh(Vf),wpt:Xh(Yf)}),gx=Vh(fx,{text:Kh(Df,"linkText"),type:Kh(Df,"linkType")}),vx=Vh(fx,{name:Kh(Df),cmt:Kh(Df),desc:Kh(Df),src:Kh(Df),link:Wf,number:Kh(jf),extensions:zf,type:Kh(Df),rtept:function(e,o){var i=eu({},mx,e,o);t(i)&&Xf(o[o.length-1].flatCoordinates,e,i)}}),mx=Vh(fx,{ele:Kh(Lf),time:Kh(Rf)}),bx=Vh(fx,{name:Kh(Df),cmt:Kh(Df),desc:Kh(Df),src:Kh(Df),link:Wf,number:Kh(jf),type:Kh(Df),extensions:zf,trkseg:function(t,e){var o=e[e.length-1];tu(wx,t,e),o.ends.push(o.flatCoordinates.length)}}),wx=Vh(fx,{trkpt:function(e,o){var i=eu({},xx,e,o);t(i)&&Xf(o[o.length-1].flatCoordinates,e,i)}}),xx=Vh(fx,{ele:Kh(Lf),time:Kh(Rf)}),Sx=Vh(fx,{ele:Kh(Lf),time:Kh(Rf),magvar:Kh(Lf),geoidheight:Kh(Lf),name:Kh(Df),cmt:Kh(Df),desc:Kh(Df),src:Kh(Df),link:Wf,sym:Kh(Df),type:Kh(Df),fix:Kh(Df),sat:Kh(jf),hdop:Kh(Lf),vdop:Kh(Lf),pdop:Kh(Lf),ageofdgpsdata:Kh(Lf),dgpsid:Kh(jf),extensions:zf});$f.prototype.fh=function(e,o){if(!N(fx,e.namespaceURI))return null;var i=yx[e.localName];return t(i)?(i=i(e,[uf(this,e,o)]),t(i)?(Zf(this,[i]),i):null):null},$f.prototype.Ob=function(e,o){if(!N(fx,e.namespaceURI))return[];if("gpx"==e.localName){var i=eu([],dx,e,[uf(this,e,o)]);if(t(i))return Zf(this,i),i}return[]};var Tx=["text","type"],Mx=Qh(fx,{text:Yh(Uf),type:Yh(Uf)}),Cx=Qh(fx,"name cmt desc src link number type rtept".split(" ")),Ex=Qh(fx,{name:Yh(Uf),cmt:Yh(Uf),desc:Yh(Uf),src:Yh(Uf),link:Yh(_f),number:Yh(Bf),type:Yh(Uf),rtept:Zh(Yh(Jf))}),Px=Qh(fx,"name cmt desc src link number type trkseg".split(" ")),kx=Qh(fx,{name:Yh(Uf),cmt:Yh(Uf),desc:Yh(Uf),src:Yh(Uf),link:Yh(_f),number:Yh(Bf),type:Yh(Uf),trkseg:Zh(Yh(function(t,e,o){iu({P:t,geometryLayout:e.a,properties:{}},Rx,Ax,e.K(),o)}))}),Ax=_h("trkpt"),Rx=Qh(fx,{trkpt:Yh(Jf)}),Lx=Qh(fx,"ele time magvar geoidheight name cmt desc src link sym type fix sat hdop vdop pdop ageofdgpsdata dgpsid".split(" ")),Nx=Qh(fx,{ele:Yh(Of),time:Yh(function(t,e){var o=new Date(1e3*e),o=o.getUTCFullYear()+"-"+S(o.getUTCMonth()+1)+"-"+S(o.getUTCDate())+"T"+S(o.getUTCHours())+":"+S(o.getUTCMinutes())+":"+S(o.getUTCSeconds())+"Z";t.appendChild(Bw.createTextNode(o))}),magvar:Yh(Of),geoidheight:Yh(Of),name:Yh(Uf),cmt:Yh(Uf),desc:Yh(Uf),src:Yh(Uf),link:Yh(_f),sym:Yh(Uf),type:Yh(Uf),fix:Yh(Uf),sat:Yh(Bf),hdop:Yh(Of),vdop:Yh(Of),pdop:Yh(Of),ageofdgpsdata:Yh(Of),dgpsid:Yh(Bf)}),jx={Point:"wpt",LineString:"rte",MultiLineString:"trk"},Ix=Qh(fx,{rte:Yh(function(e,o,i){var n=i[0],r=o.D();e={P:e,properties:r},o=o.Q(),t(o)&&(o=ff(o,!0,n),e.geometryLayout=o.a,r.rtept=o.K()),n=Cx[i[i.length-1].P.namespaceURI],r=Jh(r,n),iu(e,Ex,zw,r,i,n)}),trk:Yh(function(e,o,i){var n=i[0],r=o.D();e={P:e,properties:r},o=o.Q(),t(o)&&(o=ff(o,!0,n),r.trkseg=o.ad()),n=Px[i[i.length-1].P.namespaceURI],r=Jh(r,n),iu(e,kx,zw,r,i,n)}),wpt:Yh(function(e,o,i){var n=i[0],r=i[i.length-1];r.properties=o.D(),o=o.Q(),t(o)&&(o=ff(o,!0,n),r.geometryLayout=o.a,Jf(e,o.K(),i))})});$f.prototype.a=function(t,e){e=cf(this,e);var o=Uw("http://www.topografix.com/GPX/1/1","gpx");return iu({P:o},Ix,Qf,t,[e]),o},v(iy,hf),em=iy.prototype,em.M=function(){return"text"},em.sb=function(t,e){return this.hd(p(t)?t:"",cf(this,e))},em.ja=function(t,e){return this.pf(p(t)?t:"",cf(this,e))},em.Gc=function(t,e){return this.kd(p(t)?t:"",cf(this,e))},em.za=function(){return this.defaultDataProjection},em.qd=function(t,e){return this.ye(t,cf(this,e))},em.ub=function(t,e){return this.Mh(t,cf(this,e))},em.Mc=function(t,e){return this.rd(t,cf(this,e))},v(ny,iy);var Dx=/^B(\d{2})(\d{2})(\d{2})(\d{2})(\d{5})([NS])(\d{3})(\d{5})([EW])([AV])(\d{5})(\d{5})/,Fx=/^H.([A-Z]{3}).*?:(.*)/,Ox=/^HFDTE(\d{2})(\d{2})(\d{2})/;ny.prototype.hd=function(t,e){var o,i,n=this.b,r=ty(t),s={},a=[],p=2e3,l=0,h=1;for(o=0,i=r.length;o<i;++o){var u,c=r[o];if("B"==c.charAt(0)){if(u=Dx.exec(c)){var c=parseInt(u[1],10),f=parseInt(u[2],10),y=parseInt(u[3],10),d=parseInt(u[4],10)+parseInt(u[5],10)/6e4;"S"==u[6]&&(d=-d);var g=parseInt(u[7],10)+parseInt(u[8],10)/6e4;"W"==u[9]&&(g=-g),a.push(g,d),"none"!=n&&a.push("gps"==n?parseInt(u[11],10):"barometric"==n?parseInt(u[12],10):0),a.push(Date.UTC(p,l,h,c,f,y)/1e3)}}else"H"==c.charAt(0)&&((u=Ox.exec(c))?(h=parseInt(u[1],10),l=parseInt(u[2],10)-1,p=2e3+parseInt(u[3],10)):(u=Fx.exec(c))&&(s[u[1]]=cm(u[2]),Ox.exec(c)))}return 0===a.length?null:(r=new ml(null),wl(r,"none"==n?"XYM":"XYZM",a),n=new af(ff(r,!1,e)),n.t(s),n)},ny.prototype.pf=function(t,e){var o=this.hd(t,e);return null===o?[]:[o]},em=ry.prototype,em.Pb="",em.pc="",em.ib="",em.Ec=null,em.hb="",em.Sb="",em.Yb=!1,em.toString=function(){var t=[],e=this.Pb;if(e&&t.push(cy(e,Bx,!0),":"),e=this.ib){t.push("//");var o=this.pc;o&&t.push(cy(o,Bx,!0),"@"),t.push(encodeURIComponent(String(e)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),e=this.Ec,null!=e&&t.push(":",String(e))}return(e=this.hb)&&(this.ib&&"/"!=e.charAt(0)&&t.push("/"),t.push(cy(e,"/"==e.charAt(0)?Gx:Ux,!0))),(e=this.b.toString())&&t.push("?",e),(e=this.Sb)&&t.push("#",cy(e,Hx)),t.join("")},em.clone=function(){return new ry(this)};var Bx=/[#\/\?@]/g,Ux=/[\#\?:]/g,Gx=/[\#\?]/g,qx=/[\#\?@]/g,Hx=/#/g;em=yy.prototype,em.ia=null,em.va=null,em.Tb=function(){return dy(this),this.va},em.add=function(t,e){dy(this),this.b=null,t=my(this,t);var o=this.ia.get(t);return o||this.ia.set(t,o=[]),o.push(e),this.va++,this},em.remove=function(t){return dy(this),t=my(this,t),!!er(this.ia.a,t)&&(this.b=null,this.va-=this.ia.get(t).length,this.ia.remove(t))},em.clear=function(){this.ia=this.b=null,this.va=0},em.la=function(){return dy(this),0==this.va},em.C=function(){dy(this);for(var t=this.ia.cb(),e=this.ia.C(),o=[],i=0;i<e.length;i++)for(var n=t[i],r=0;r<n.length;r++)o.push(e[i]);return o},em.cb=function(t){dy(this);var e=[];if(p(t))gy(this,t)&&(e=I(e,this.ia.get(my(this,t))));else{t=this.ia.cb();for(var o=0;o<t.length;o++)e=I(e,t[o])}return e},em.set=function(t,e){return dy(this),this.b=null,t=my(this,t),gy(this,t)&&(this.va-=this.ia.get(t).length),this.ia.set(t,[e]),this.va++,this},em.get=function(t,e){var o=t?this.cb(t):[];return 0<o.length?String(o[0]):e},em.toString=function(){if(this.b)return this.b;if(!this.ia)return"";for(var t=[],e=this.ia.C(),o=0;o<e.length;o++)for(var i=e[o],n=encodeURIComponent(String(i)),i=this.cb(i),r=0;r<i.length;r++){var s=n;""!==i[r]&&(s+="="+encodeURIComponent(String(i[r]))),t.push(s)}return this.b=t.join("&")},em.clone=function(){var t=new yy;return t.b=this.b,this.ia&&(t.ia=this.ia.clone(),t.va=this.va),t},em=wy.prototype,em.Wi=function(){return this.d},em.mj=function(){return this.q},em.nj=function(){return this.l},em.Qm=function(){return this.b},em.Rm=function(){return this.e},em.Sm=function(){return this.a},em.Tm=function(){return this.f},em.Um=function(){return this.c},em.xj=function(){return this.g},em.yj=function(){return this.i},em.Wn=function(t){this.d=t},em.Vn=function(t){this.b=t},em.Vm=function(t){this.e=t},em.Wm=function(t){this.a=t},em.eo=function(t){this.f=t},em.fo=function(t){this.c=t},em.ho=function(t){this.g=t},em.io=function(t){this.i=t},v(xy,Mf);var $x=["http://www.google.com/kml/ext/2.2"],Xx=[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"],Wx=[255,255,255,1],zx=new ep({color:Wx}),Kx=[20,2],Vx=[64,64],Yx=new us({anchor:Kx,anchorOrigin:"bottom-left",anchorXUnits:"pixels",anchorYUnits:"pixels",crossOrigin:"anonymous",rotation:0,scale:.5,size:Vx,src:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"}),Zx=new tp({color:Wx,width:1}),_x=new wy({font:"normal 16px Helvetica",fill:zx,stroke:Zx,scale:1}),Jx=[new ip({fill:zx,image:Yx,text:_x,stroke:Zx,zIndex:0})],Qx={fraction:"fraction",pixels:"pixels"},tS=Vh(Xx,{value:Wh(Df)}),eS=Vh(Xx,{Data:function(e,o){var i=e.getAttribute("name");if(null!==i){var n=eu(void 0,tS,e,o);t(n)&&(o[o.length-1][i]=n)}},SchemaData:function(t,e){tu(wS,t,e)}}),oS=Vh(Xx,{extrude:Kh(kf),altitudeMode:Kh(Df)}),iS=Vh(Xx,{coordinates:Wh(Ty)}),nS=Vh(Xx,{innerBoundaryIs:function(e,o){var i=eu(void 0,lS,e,o);t(i)&&o[o.length-1].push(i)},outerBoundaryIs:function(e,o){var i=eu(void 0,gS,e,o);t(i)&&(o[o.length-1][0]=i)}}),rS=Vh(Xx,{when:function(e,o){var i=o[o.length-1].Kh,n=kh(e,!1);if(n=/^\s*(\d{4})($|-(\d{2})($|-(\d{2})($|T(\d{2}):(\d{2}):(\d{2})(Z|(?:([+\-])(\d{2})(?::(\d{2}))?)))))\s*$/.exec(n)){var r=Date.UTC(parseInt(n[1],10),t(n[3])?parseInt(n[3],10)-1:0,t(n[5])?parseInt(n[5],10):1,t(n[7])?parseInt(n[7],10):0,t(n[8])?parseInt(n[8],10):0,t(n[9])?parseInt(n[9],10):0);if(t(n[10])&&"Z"!=n[10]){var s="-"==n[11]?-1:1,r=r+60*s*parseInt(n[12],10);t(n[13])&&(r+=3600*s*parseInt(n[13],10))}i.push(r)}else i.push(0)}},Vh($x,{coord:function(t,e){var o=e[e.length-1].j,i=kh(t,!1);(i=/^\s*([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s+([+\-]?\d+(?:\.\d*)?(?:e[+\-]?\d*)?)\s*$/i.exec(i))?o.push(parseFloat(i[1]),parseFloat(i[2]),parseFloat(i[3]),0):o.push(0,0,0,0)}})),sS=Vh(Xx,{coordinates:Wh(Ty)}),aS=Vh(Xx,{href:Kh(My)},Vh($x,{x:Kh(Lf),y:Kh(Lf),w:Kh(Lf),h:Kh(Lf)})),pS=Vh(Xx,{Icon:Kh(function(e,o){var i=eu({},aS,e,o);return t(i)?i:null}),heading:Kh(Lf),hotSpot:Kh(function(t){var e=t.getAttribute("xunits"),o=t.getAttribute("yunits");return{x:parseFloat(t.getAttribute("x")),Af:Qx[e],y:parseFloat(t.getAttribute("y")),Bf:Qx[o]}}),scale:Kh(Cy)}),lS=Vh(Xx,{LinearRing:Wh(Ey)}),hS=Vh(Xx,{color:Kh(Sy),scale:Kh(Cy)}),uS=Vh(Xx,{color:Kh(Sy),width:Kh(Lf)}),cS=Vh(Xx,{LineString:Xh(ky),LinearRing:Xh(Ay),MultiGeometry:Xh(Ry),Point:Xh(Ly),Polygon:Xh(Ny)}),fS=Vh($x,{Track:Xh(Py)}),yS=Vh(Xx,{ExtendedData:Dy,Link:function(t,e){tu(dS,t,e)},address:Kh(Df),description:Kh(Df),name:Kh(Df),open:Kh(kf),phoneNumber:Kh(Df),visibility:Kh(kf)}),dS=Vh(Xx,{href:Kh(My)}),gS=Vh(Xx,{LinearRing:Wh(Ey)}),vS=Vh(Xx,{Style:Kh(jy),key:Kh(Df),styleUrl:Kh(function(t){var e=cm(kh(t,!1));return null!=t.baseURI?hy(t.baseURI,e).toString():e})}),mS=Vh(Xx,{ExtendedData:Dy,MultiGeometry:Kh(Ry,"geometry"),LineString:Kh(ky,"geometry"),LinearRing:Kh(Ay,"geometry"),Point:Kh(Ly,"geometry"),Polygon:Kh(Ny,"geometry"),Style:Kh(jy),StyleMap:function(e,o){var i=eu(void 0,SS,e,o);if(t(i)){var n=o[o.length-1];s(i)?n.Style=i:p(i)&&(n.styleUrl=i)}},address:Kh(Df),description:Kh(Df),name:Kh(Df),open:Kh(kf),phoneNumber:Kh(Df),styleUrl:Kh(My),visibility:Kh(kf)},Vh($x,{MultiTrack:Kh(function(e,o){var i=eu([],fS,e,o);if(t(i)){var n=new xl(null);return Ml(n,i),n}},"geometry"),Track:Kh(Py,"geometry")})),bS=Vh(Xx,{color:Kh(Sy),fill:Kh(kf),outline:Kh(kf)}),wS=Vh(Xx,{SimpleData:function(t,e){var o=t.getAttribute("name");if(null!==o){var i=Df(t);e[e.length-1][o]=i}}}),xS=Vh(Xx,{IconStyle:function(e,o){var i=eu({},pS,e,o);if(t(i)){var n,r=o[o.length-1],s=ot(i,"Icon",{});n=s.href,n=t(n)?n:"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png";var a,p,l,h=i.hotSpot;t(h)?(a=[h.x,h.y],p=h.Af,l=h.Bf):"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"===n?(a=Kx,l=p="pixels"):/^http:\/\/maps\.(?:google|gstatic)\.com\//.test(n)&&(a=[.5,0],l=p="fraction");var u,h=s.x,c=s.y;t(h)&&t(c)&&(u=[h,c]);var f,h=s.w,s=s.h;t(h)&&t(s)&&(f=[h,s]);var y,s=i.heading;t(s)&&(y=ct(s)),i=i.scale,"https://maps.google.com/mapfiles/kml/pushpin/ylw-pushpin.png"==n&&(f=Vx),a=new us({anchor:a,anchorOrigin:"bottom-left",anchorXUnits:p,anchorYUnits:l,crossOrigin:"anonymous",offset:u,offsetOrigin:"bottom-left",rotation:y,scale:i,size:f,src:n}),r.imageStyle=a}},LabelStyle:function(e,o){var i=eu({},hS,e,o);t(i)&&(o[o.length-1].textStyle=new wy({fill:new ep({color:ot(i,"color",Wx)}),scale:i.scale}))},LineStyle:function(e,o){var i=eu({},uS,e,o);t(i)&&(o[o.length-1].strokeStyle=new tp({color:ot(i,"color",Wx),width:ot(i,"width",1)}))},PolyStyle:function(e,o){var i=eu({},bS,e,o);if(t(i)){var n=o[o.length-1];n.fillStyle=new ep({color:ot(i,"color",Wx)});var r=i.fill;t(r)&&(n.fill=r),i=i.outline,t(i)&&(n.outline=i)}}}),SS=Vh(Xx,{Pair:function(e,o){var i=eu({},vS,e,o);if(t(i)){var n=i.key;t(n)&&"normal"==n&&(n=i.styleUrl,t(n)&&(o[o.length-1]=n),i=i.Style,t(i)&&(o[o.length-1]=i))}}});em=xy.prototype,em.eh=function(e,o){Gw(e);var i=Vh(Xx,{Folder:$h(this.eh,this),Placemark:Xh(this.rf,this),Style:d(this.Jn,this),StyleMap:d(this.In,this)}),i=eu([],i,e,o,this);if(t(i))return i},em.rf=function(e,o){var i=eu({geometry:null},mS,e,o);if(t(i)){var n=new af,r=e.getAttribute("id");return null===r||n.Qb(r),r=o[0],null!=i.geometry&&ff(i.geometry,!1,r),n.t(i),this.c&&n.cf(this.d),n}},em.Jn=function(e,o){var i=e.getAttribute("id");if(null!==i){var n=jy(e,o);t(n)&&(i=null!=e.baseURI?hy(e.baseURI,"#"+i).toString():"#"+i,this.b[i]=n)}},em.In=function(e,o){var i=e.getAttribute("id");if(null!==i){var n=eu(void 0,SS,e,o);t(n)&&(i=null!=e.baseURI?hy(e.baseURI,"#"+i).toString():"#"+i,this.b[i]=n)}},em.fh=function(e,o){if(!N(Xx,e.namespaceURI))return null;var i=this.rf(e,[uf(this,e,o)]);return t(i)?i:null},em.Ob=function(e,o){if(!N(Xx,e.namespaceURI))return[];var i;if(i=Gw(e),"Document"==i||"Folder"==i)return i=this.eh(e,[uf(this,e,o)]),t(i)?i:[];if("Placemark"==i)return i=this.rf(e,[uf(this,e,o)]),t(i)?[i]:[];if("kml"==i){i=[];var n;for(n=e.firstElementChild;null!==n;n=n.nextElementSibling){var r=this.Ob(n,o);t(r)&&F(i,r)}return i}return[]},em.Dn=function(t){return qw(t)?Fy(this,t):Hw(t)?Oy(this,t):p(t)?(t=Hh(t),Fy(this,t)):void 0},em.En=function(t){var e=[];return qw(t)?F(e,By(this,t)):Hw(t)?F(e,Uy(this,t)):p(t)&&(t=Hh(t),F(e,By(this,t))),e};var TS=Qh(Xx,["Document","Placemark"]),MS=Qh(Xx,{Document:Yh(function(t,e,o){iu({P:t},CS,Ky,e,o)}),Placemark:Yh(Hy)}),CS=Qh(Xx,{Placemark:Yh(Hy)}),ES={Point:"Point",LineString:"LineString",LinearRing:"LinearRing",Polygon:"Polygon",MultiPoint:"MultiGeometry",MultiLineString:"MultiGeometry",MultiPolygon:"MultiGeometry"},PS=Qh(Xx,["href"],Qh($x,["x","y","w","h"])),kS=Qh(Xx,{href:Yh(Uf)},Qh($x,{x:Yh(Of),y:Yh(Of),w:Yh(Of),h:Yh(Of)})),AS=Qh(Xx,["scale","heading","Icon","hotSpot"]),RS=Qh(Xx,{Icon:Yh(function(t,e,o){t={P:t};var i=PS[o[o.length-1].P.namespaceURI],n=Jh(e,i);iu(t,kS,zw,n,o,i),i=PS[$x[0]],n=Jh(e,i),iu(t,kS,zy,n,o,i)}),heading:Yh(Of),hotSpot:Yh(function(t,e){t.setAttribute("x",e.x),t.setAttribute("y",e.y),t.setAttribute("xunits",e.Af),t.setAttribute("yunits",e.Bf)}),scale:Yh(Wy)}),LS=Qh(Xx,["color","scale"]),NS=Qh(Xx,{color:Yh(Gy),scale:Yh(Wy)}),jS=Qh(Xx,["color","width"]),IS=Qh(Xx,{color:Yh(Gy),width:Yh(Of)}),DS=Qh(Xx,{LinearRing:Yh($y)}),FS=Qh(Xx,{LineString:Yh($y),Point:Yh($y),Polygon:Yh(Xy)}),OS=Qh(Xx,"name open visibility address phoneNumber description styleUrl Style".split(" ")),BS=Qh(Xx,{MultiGeometry:Yh(function(t,e,o){t={P:t};var i,n,r=e.M();"MultiPoint"==r?(i=e.ce(),n=KS):"MultiLineString"==r?(i=e.ad(),n=VS):"MultiPolygon"==r&&(i=e.Id(),n=ZS),iu(t,FS,n,i,o)}),LineString:Yh($y),LinearRing:Yh($y),Point:Yh($y),Polygon:Yh(Xy),Style:Yh(function(t,e,o){t={P:t};var i={},n=e.e,r=e.c,s=e.f;e=e.a,null===s||(i.IconStyle=s),null===e||(i.LabelStyle=e),null===r||(i.LineStyle=r),null===n||(i.PolyStyle=n),e=HS[o[o.length-1].P.namespaceURI],i=Jh(i,e),iu(t,$S,zw,i,o,e)}),address:Yh(Uf),description:Yh(Uf),name:Yh(Uf),open:Yh(Ff),phoneNumber:Yh(Uf),styleUrl:Yh(Uf),visibility:Yh(Ff)}),US=Qh(Xx,{coordinates:Yh(function(t,e,o){o=o[o.length-1];var i=o.layout;o=o.stride;var n;"XY"==i||"XYM"==i?n=2:("XYZ"==i||"XYZM"==i)&&(n=3);var r,s=e.length,a="";if(0<s){for(a+=e[0],i=1;i<n;++i)a+=","+e[i];for(r=o;r<s;r+=o)for(a+=" "+e[r],i=1;i<n;++i)a+=","+e[r+i]}Uf(t,a)})}),GS=Qh(Xx,{outerBoundaryIs:Yh(qy),innerBoundaryIs:Yh(qy)}),qS=Qh(Xx,{color:Yh(Gy)}),HS=Qh(Xx,["IconStyle","LabelStyle","LineStyle","PolyStyle"]),$S=Qh(Xx,{IconStyle:Yh(function(t,e,o){t={P:t};var i={},n=e.Xa(),r=e.Dd(),s={href:e.b.f};if(null!==n){s.w=n[0],s.h=n[1];var a=e.mb(),p=e.rb();null!==p&&null!==r&&0!==p[0]&&p[1]!==n[1]&&(s.x=p[0],s.y=r[1]-(p[1]+n[1])),null===a||0===a[0]||a[1]===n[1]||(i.hotSpot={x:a[0],Af:"pixels",y:n[1]-a[1],Bf:"pixels"})}i.Icon=s,n=e.l,1!==n&&(i.scale=n),e=e.q,0!==e&&(i.heading=e),e=AS[o[o.length-1].P.namespaceURI],i=Jh(i,e),iu(t,RS,zw,i,o,e)}),LabelStyle:Yh(function(e,o,i){e={P:e};var n={},r=o.b;null===r||(n.color=r.b),o=o.a,t(o)&&1!==o&&(n.scale=o),o=LS[i[i.length-1].P.namespaceURI],n=Jh(n,o),iu(e,NS,zw,n,i,o)}),LineStyle:Yh(function(t,e,o){t={P:t};var i=jS[o[o.length-1].P.namespaceURI];e=Jh({color:e.b,width:e.a},i),iu(t,IS,zw,e,o,i)}),PolyStyle:Yh(function(t,e,o){iu({P:t},qS,XS,[e.b],o)})}),XS=_h("color"),WS=_h("coordinates"),zS=_h("innerBoundaryIs"),KS=_h("Point"),VS=_h("LineString"),YS=_h("LinearRing"),ZS=_h("Polygon"),_S=_h("outerBoundaryIs");xy.prototype.a=function(t,e){e=cf(this,e);var o=Uw(Xx[4],"kml");Ww(o,"http://www.w3.org/2000/xmlns/","xmlns:gx",$x[0]),Ww(o,"http://www.w3.org/2000/xmlns/","xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance"),Ww(o,"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 i={P:o},n={};1<t.length?n.Document=t:1==t.length&&(n.Placemark=t[0]);var r=TS[o.namespaceURI],n=Jh(n,r);return iu(i,MS,zw,n,[e],r),o},v(Yy,Mf);var JS=[null],QS=Vh(JS,{nd:function(t,e){e[e.length-1].Ac.push(t.getAttribute("ref"))},tag:Zy}),tT=Vh(JS,{node:function(t,e){var o=e[0],i=e[e.length-1],n=t.getAttribute("id"),r=[parseFloat(t.getAttribute("lon")),parseFloat(t.getAttribute("lat"))];i.ng[n]=r;var s=eu({od:{}},eT,t,e);Q(s.od)||(r=new Ta(r),ff(r,!1,o),o=new af(r),o.Qb(n),o.t(s.od),i.features.push(o))},way:function(t,e){for(var o=e[0],i=t.getAttribute("id"),n=eu({Ac:[],od:{}},QS,t,e),r=e[e.length-1],s=[],a=0,p=n.Ac.length;a<p;a++)F(s,r.ng[n.Ac[a]]);n.Ac[0]==n.Ac[n.Ac.length-1]?(a=new Fa(null),Ua(a,"XY",s,[s.length])):(a=new ml(null),wl(a,"XY",s)),ff(a,!1,o),o=new af(a),o.Qb(i),o.t(n.od),r.features.push(o)}}),eT=Vh(JS,{tag:Zy});Yy.prototype.Ob=function(e,o){var i=uf(this,e,o);return"osm"==e.localName&&(i=eu({ng:{},features:[]},tT,e,[i]),t(i.features))?i.features:[]},Jy.prototype.c=function(t){return qw(t)?this.a(t):Hw(t)?this.b(t):p(t)?(t=Hh(t),this.a(t)):null},v(Qy,Jy),Qy.prototype.a=function(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return this.b(t);return null},Qy.prototype.b=function(e){return e=eu({},iT,e,[]),t(e)?e:null};var oT=[null,"http://www.opengis.net/ows/1.1"],iT=Vh(oT,{ServiceIdentification:Kh(function(t,e){return eu({},dT,t,e)}),ServiceProvider:Kh(function(t,e){return eu({},gT,t,e)}),OperationsMetadata:Kh(function(t,e){return eu({},uT,t,e)})}),nT=Vh(oT,{DeliveryPoint:Kh(Df),City:Kh(Df),AdministrativeArea:Kh(Df),PostalCode:Kh(Df),Country:Kh(Df),ElectronicMailAddress:Kh(Df)}),rT=Vh(oT,{Value:zh(function(t){return Df(t)})}),sT=Vh(oT,{AllowedValues:Kh(function(t,e){return eu({},rT,t,e)})}),aT=Vh(oT,{Phone:Kh(function(t,e){return eu({},cT,t,e)}),Address:Kh(function(t,e){return eu({},nT,t,e)})}),pT=Vh(oT,{HTTP:Kh(function(t,e){return eu({},lT,t,e)})}),lT=Vh(oT,{Get:zh(function(e,o){var i=_y(e);return t(i)?eu({href:i},fT,e,o):void 0}),Post:void 0}),hT=Vh(oT,{DCP:Kh(function(t,e){return eu({},pT,t,e)})}),uT=Vh(oT,{Operation:function(e,o){var i=e.getAttribute("name"),n=eu({},hT,e,o);t(n)&&(o[o.length-1][i]=n)}}),cT=Vh(oT,{Voice:Kh(Df),Facsimile:Kh(Df)}),fT=Vh(oT,{Constraint:zh(function(e,o){var i=e.getAttribute("name");return t(i)?eu({name:i},sT,e,o):void 0})}),yT=Vh(oT,{IndividualName:Kh(Df),PositionName:Kh(Df),ContactInfo:Kh(function(t,e){return eu({},aT,t,e)})}),dT=Vh(oT,{Title:Kh(Df),ServiceTypeVersion:Kh(Df),ServiceType:Kh(Df)}),gT=Vh(oT,{ProviderName:Kh(Df),ProviderSite:Kh(_y),ServiceContact:Kh(function(t,e){return eu({},yT,t,e)})});v(ed,iy),em=ed.prototype,em.hd=function(t,e){var o=this.kd(t,e);return new af(o)},em.pf=function(t,e){return[this.hd(t,e)]},em.kd=function(t,e){var o=oa(this.a),i=id(t,o,this.b);return td(i,i.length,o,i),o=va(i,0,i.length,o),ff(new ml(o,this.a),!1,cf(this,e))},em.ye=function(t,e){var o=t.Q();return null!=o?this.rd(o,e):""},em.Mh=function(t,e){return this.ye(t[0],e)},em.rd=function(t,e){t=ff(t,!0,cf(this,e));var o=t.j,i=t.s;return td(o,o.length,i,o),od(o,i,this.b)},v(sd,yf),sd.prototype.of=function(e,o){if("Topology"==e.type){var i,n=null,r=null;t(e.transform)&&(i=e.transform,n=i.scale,r=i.translate);var s=e.arcs;if(t(i)){i=n;var a,p,l=r;for(a=0,p=s.length;a<p;++a)for(var h=s[a],u=i,c=l,f=0,y=0,d=void 0,g=void 0,v=void 0,g=0,v=h.length;g<v;++g)d=h[g],f+=d[0],y+=d[1],d[0]=f,d[1]=y,hd(d,u,c)}for(i=[],l=V(e.objects),a=0,p=l.length;a<p;++a)"GeometryCollection"===l[a].type?(h=l[a],i.push.apply(i,pd(h,s,n,r,o))):(h=l[a],i.push(ld(h,s,n,r,o)));return i}return[]},sd.prototype.za=function(){return this.defaultDataProjection};var vT={Point:function(t,e,o){return t=t.coordinates,null===e||null===o||hd(t,e,o),new Ta(t)},LineString:function(t,e){var o=ad(t.arcs,e);return new ml(o)},Polygon:function(t,e){var o,i,n=[];for(o=0,i=t.arcs.length;o<i;++o)n[o]=ad(t.arcs[o],e);return new Fa(n)},MultiPoint:function(t,e,o){t=t.coordinates;var i,n;if(null!==e&&null!==o)for(i=0,n=t.length;i<n;++i)hd(t[i],e,o);return new Cl(t)},MultiLineString:function(t,e){var o,i,n=[];for(o=0,i=t.arcs.length;o<i;++o)n[o]=ad(t.arcs[o],e);return new xl(n)},MultiPolygon:function(t,e){var o,i,n,r,s,a,p=[];for(s=0,a=t.arcs.length;s<a;++s){for(o=t.arcs[s],i=[],n=0,r=o.length;n<r;++n)i[n]=ad(o[n],e);p[s]=i}return new El(p)}};v(ud,Mf),ud.prototype.Ob=function(e,o){var i={featureType:this.e,featureNS:this.c};return rt(i,uf(this,e,t(o)?o:{})),i=[i],this.b.b["http://www.opengis.net/gml"].featureMember=Xh(Pf.prototype.jd),i=eu([],this.b.b,e,i,this.b),t(i)||(i=[]),i},ud.prototype.g=function(t){return qw(t)?yd(t):Hw(t)?eu({},ST,t,[]):p(t)?(t=Hh(t),yd(t)):void 0},ud.prototype.f=function(t){return qw(t)?cd(this,t):Hw(t)?fd(this,t):p(t)?(t=Hh(t),cd(this,t)):void 0};var mT={"http://www.opengis.net/gml":{boundedBy:Kh(Pf.prototype.qe,"bounds")}},bT={"http://www.opengis.net/wfs":{totalInserted:Kh(jf),totalUpdated:Kh(jf),totalDeleted:Kh(jf)}},wT={"http://www.opengis.net/ogc":{FeatureId:Xh(function(t){return t.getAttribute("fid")})}},xT={"http://www.opengis.net/wfs":{Feature:function(t,e){tu(wT,t,e)}}},ST={"http://www.opengis.net/wfs":{TransactionSummary:Kh(function(t,e){return eu({},bT,t,e)},"transactionSummary"),InsertResults:Kh(function(t,e){return eu([],xT,t,e)},"insertIds")}},TT={"http://www.opengis.net/wfs":{PropertyName:Yh(Uf)}},MT={"http://www.opengis.net/wfs":{Insert:Yh(function(t,e,o){var i=o[o.length-1],i=Uw(i.featureNS,i.featureType);t.appendChild(i),Gf.prototype.Lh(i,e,o)}),Update:Yh(function(e,o,i){var n=i[i.length-1],r=n.featureType,s=n.featurePrefix,s=t(s)?s:"feature",a=n.featureNS;if(e.setAttribute("typeName",s+":"+r),Ww(e,"http://www.w3.org/2000/xmlns/","xmlns:"+s,a),r=o.$,t(r)){for(var s=o.C(),a=[],p=0,l=s.length;p<l;p++){var h=o.get(s[p]);t(h)&&a.push({name:s[p],value:h})}iu({P:e,srsName:n.srsName},MT,_h("Property"),a,i),dd(e,r)}}),Delete:Yh(function(e,o,i){var n=i[i.length-1];i=n.featureType;var r=n.featurePrefix,r=t(r)?r:"feature",n=n.featureNS;e.setAttribute("typeName",r+":"+i),Ww(e,"http://www.w3.org/2000/xmlns/","xmlns:"+r,n),o=o.$,t(o)&&dd(e,o)}),Property:Yh(function(t,e,o){var i=Uw("http://www.opengis.net/wfs","Name");t.appendChild(i),Uf(i,e.name),null!=e.value&&(i=Uw("http://www.opengis.net/wfs","Value"),t.appendChild(i),e.value instanceof Qs?Gf.prototype.Ae(i,e.value,o):Uf(i,e.value))}),Native:Yh(function(e,o){t(o.vo)&&e.setAttribute("vendorId",o.vo),t(o.Tn)&&e.setAttribute("safeToIgnore",o.Tn),t(o.value)&&Uf(e,o.value)})}},CT={"http://www.opengis.net/wfs":{Query:Yh(function(e,o,i){var n=i[i.length-1],r=n.featurePrefix,s=n.featureNS,a=n.propertyNames,p=n.srsName;e.setAttribute("typeName",(t(r)?r+":":"")+o),t(p)&&e.setAttribute("srsName",p),t(s)&&Ww(e,"http://www.w3.org/2000/xmlns/","xmlns:"+r,s),o=nt(n),o.P=e,iu(o,TT,_h("PropertyName"),a,i),n=n.bbox,t(n)&&(a=Uw("http://www.opengis.net/ogc","Filter"),o=i[i.length-1].geometryName,r=Uw("http://www.opengis.net/ogc","BBOX"),a.appendChild(r),s=Uw("http://www.opengis.net/ogc","PropertyName"),Uf(s,o),r.appendChild(s),Gf.prototype.Ae(r,n,i),e.appendChild(a))})}};ud.prototype.i=function(e){var o=Uw("http://www.opengis.net/wfs","GetFeature");o.setAttribute("service","WFS"),o.setAttribute("version","1.1.0"),t(e)&&(t(e.handle)&&o.setAttribute("handle",e.handle),t(e.outputFormat)&&o.setAttribute("outputFormat",e.outputFormat),t(e.maxFeatures)&&o.setAttribute("maxFeatures",e.maxFeatures),t(e.resultType)&&o.setAttribute("resultType",e.resultType),t(e.oo)&&o.setAttribute("startIndex",e.oo),t(e.count)&&o.setAttribute("count",e.count)),Ww(o,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.d);var i=e.featureTypes;e=[{P:o,srsName:e.srsName,featureNS:t(e.featureNS)?e.featureNS:this.c,featurePrefix:e.featurePrefix,geometryName:e.geometryName,bbox:e.bbox,bh:t(e.bh)?e.bh:[]}];var n=nt(e[e.length-1]);return n.P=o,iu(n,CT,_h("Query"),i,e),o},ud.prototype.o=function(e,o,i,n){var r=[],s=Uw("http://www.opengis.net/wfs","Transaction");s.setAttribute("service","WFS"),s.setAttribute("version","1.1.0");var a,p;return t(n)&&(a=t(n.gmlOptions)?n.gmlOptions:{},t(n.handle)&&s.setAttribute("handle",n.handle)),Ww(s,"http://www.w3.org/2001/XMLSchema-instance","xsi:schemaLocation",this.d),null!=e&&(p={P:s,featureNS:n.featureNS,featureType:n.featureType,featurePrefix:n.featurePrefix},rt(p,a),iu(p,MT,_h("Insert"),e,r)),null!=o&&(p={P:s,featureNS:n.featureNS,featureType:n.featureType,featurePrefix:n.featurePrefix},rt(p,a),iu(p,MT,_h("Update"),o,r)),null!=i&&iu({P:s,featureNS:n.featureNS,featureType:n.featureType,featurePrefix:n.featurePrefix},MT,_h("Delete"),i,r),t(n.nativeElements)&&iu({P:s,featureNS:n.featureNS,featureType:n.featureType,featurePrefix:n.featurePrefix},MT,_h("Native"),n.nativeElements,r),s},ud.prototype.sf=function(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return this.te(t);return null},ud.prototype.te=function(t){if(null!=t.firstElementChild&&null!=t.firstElementChild.firstElementChild)for(t=t.firstElementChild.firstElementChild,t=t.firstElementChild;null!==t;t=t.nextElementSibling)if(0!==t.childNodes.length&&(1!==t.childNodes.length||3!==t.firstChild.nodeType)){var e=[{}];return this.b.qe(t,e),xo(e.pop().srsName)}return null},v(gd,iy);var ET={Point:vd,LineString:md,Polygon:bd,MultiPoint:function(t){var e=[];t=t.ce();for(var o=0,i=t.length;o<i;++o)e.push("("+vd(t[o])+")");return e.join(",")},MultiLineString:function(t){var e=[];t=t.ad();for(var o=0,i=t.length;o<i;++o)e.push("("+md(t[o])+")");return e.join(",")},MultiPolygon:function(t){var e=[];t=t.Id();for(var o=0,i=t.length;o<i;++o)e.push("("+bd(t[o])+")");return e.join(",")},GeometryCollection:function(t){var e=[];t=t.Vf();for(var o=0,i=t.length;o<i;++o)e.push(wd(t[o]));return e.join(",")}};em=gd.prototype,em.hd=function(e,o){var i=this.kd(e,o);if(t(i)){var n=new af;return n.La(i),n}return null},em.pf=function(t,e){var o=[],i=this.kd(t,e);o=this.b&&"GeometryCollection"==i.M()?i.d:[i];for(var n=[],r=0,s=o.length;r<s;++r)i=new af,i.La(o[r]),n.push(i);return n},em.kd=function(e,o){var i;return i=new Md(new xd(e)),i.b=Td(i.a),i=Cd(i),t(i)?ff(i,!1,o):null},em.ye=function(e,o){var i=e.Q();return t(i)?this.rd(i,o):""},em.Mh=function(t,e){if(1==t.length)return this.ye(t[0],e);for(var o=[],i=0,n=t.length;i<n;++i)o.push(t[i].Q());return o=new ul(o),this.rd(o,e)},em.rd=function(t,e){ +return wd(ff(t,!0,e))},em=Md.prototype,em.match=function(t){return(t=this.b.type==t)&&(this.b=Td(this.a)),t},em.lf=function(){if(this.match(2)){var t=Ed(this);if(this.match(3))return t}else if(Ad(this))return null;throw Error(Rd(this))},em.kf=function(){if(this.match(2)){var t=Pd(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.mf=function(){if(this.match(2)){var t=kd(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.kn=function(){if(this.match(2)){var t;if(2==this.b.type)for(t=[this.lf()];this.match(5);)t.push(this.lf());else t=Pd(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.jn=function(){if(this.match(2)){var t=kd(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.ln=function(){if(this.match(2)){for(var t=[this.mf()];this.match(5);)t.push(this.mf());if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))};var PT={POINT:Ta,LINESTRING:ml,POLYGON:Fa,MULTIPOINT:Cl,MULTILINESTRING:xl,MULTIPOLYGON:El},kT={POINT:Md.prototype.lf,LINESTRING:Md.prototype.kf,POLYGON:Md.prototype.mf,MULTIPOINT:Md.prototype.kn,MULTILINESTRING:Md.prototype.jn,MULTIPOLYGON:Md.prototype.ln};v(Ld,Jy),Ld.prototype.a=function(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return this.b(t);return null},Ld.prototype.b=function(e){return this.version=cm(e.getAttribute("version")),e=eu({version:this.version},RT,e,[]),t(e)?e:null};var AT=[null,"http://www.opengis.net/wms"],RT=Vh(AT,{Service:Kh(function(t,e){return eu({},NT,t,e)}),Capability:Kh(function(t,e){return eu({},LT,t,e)})}),LT=Vh(AT,{Request:Kh(function(t,e){return eu({},GT,t,e)}),Exception:Kh(function(t,e){return eu([],FT,t,e)}),Layer:Kh(function(t,e){return eu({},OT,t,e)})}),NT=Vh(AT,{Name:Kh(Df),Title:Kh(Df),Abstract:Kh(Df),KeywordList:Kh(Dd),OnlineResource:Kh(_y),ContactInformation:Kh(function(t,e){return eu({},jT,t,e)}),Fees:Kh(Df),AccessConstraints:Kh(Df),LayerLimit:Kh(jf),MaxWidth:Kh(jf),MaxHeight:Kh(jf)}),jT=Vh(AT,{ContactPersonPrimary:Kh(function(t,e){return eu({},IT,t,e)}),ContactPosition:Kh(Df),ContactAddress:Kh(function(t,e){return eu({},DT,t,e)}),ContactVoiceTelephone:Kh(Df),ContactFacsimileTelephone:Kh(Df),ContactElectronicMailAddress:Kh(Df)}),IT=Vh(AT,{ContactPerson:Kh(Df),ContactOrganization:Kh(Df)}),DT=Vh(AT,{AddressType:Kh(Df),Address:Kh(Df),City:Kh(Df),StateOrProvince:Kh(Df),PostCode:Kh(Df),Country:Kh(Df)}),FT=Vh(AT,{Format:Xh(Df)}),OT=Vh(AT,{Name:Kh(Df),Title:Kh(Df),Abstract:Kh(Df),KeywordList:Kh(Dd),CRS:zh(Df),EX_GeographicBoundingBox:Kh(function(e,o){var i=eu({},UT,e,o);if(t(i)){var n=i.westBoundLongitude,r=i.southBoundLatitude,s=i.eastBoundLongitude,i=i.northBoundLatitude;return t(n)&&t(r)&&t(s)&&t(i)?[n,r,s,i]:void 0}}),BoundingBox:zh(function(t){var e=[Nf(t.getAttribute("minx")),Nf(t.getAttribute("miny")),Nf(t.getAttribute("maxx")),Nf(t.getAttribute("maxy"))],o=[Nf(t.getAttribute("resx")),Nf(t.getAttribute("resy"))];return{crs:t.getAttribute("CRS"),extent:e,res:o}}),Dimension:zh(function(t){return{name:t.getAttribute("name"),units:t.getAttribute("units"),unitSymbol:t.getAttribute("unitSymbol"),"default":t.getAttribute("default"),multipleValues:Af(t.getAttribute("multipleValues")),nearestValue:Af(t.getAttribute("nearestValue")),current:Af(t.getAttribute("current")),values:Df(t)}}),Attribution:Kh(function(t,e){return eu({},BT,t,e)}),AuthorityURL:zh(function(e,o){var i=Nd(e,o);if(t(i))return i.name=e.getAttribute("name"),i}),Identifier:zh(Df),MetadataURL:zh(function(e,o){var i=Nd(e,o);if(t(i))return i.type=e.getAttribute("type"),i}),DataURL:zh(Nd),FeatureListURL:zh(Nd),Style:zh(function(t,e){return eu({},XT,t,e)}),MinScaleDenominator:Kh(Lf),MaxScaleDenominator:Kh(Lf),Layer:zh(function(e,o){var i=o[o.length-1],n=eu({},OT,e,o);if(t(n)){var r=Af(e.getAttribute("queryable"));return t(r)||(r=i.queryable),n.queryable=!!t(r)&&r,r=If(e.getAttribute("cascaded")),t(r)||(r=i.cascaded),n.cascaded=r,r=Af(e.getAttribute("opaque")),t(r)||(r=i.opaque),n.opaque=!!t(r)&&r,r=Af(e.getAttribute("noSubsets")),t(r)||(r=i.noSubsets),n.noSubsets=!!t(r)&&r,r=Nf(e.getAttribute("fixedWidth")),t(r)||(r=i.fixedWidth),n.fixedWidth=r,r=Nf(e.getAttribute("fixedHeight")),t(r)||(r=i.fixedHeight),n.fixedHeight=r,E(["Style","CRS","AuthorityURL"],function(e){var o=i[e];if(t(o)){var r=it(n,e),r=r.concat(o);n[e]=r}}),E("EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" "),function(e){t(n[e])||(n[e]=i[e])}),n}})}),BT=Vh(AT,{Title:Kh(Df),OnlineResource:Kh(_y),LogoURL:Kh(Id)}),UT=Vh(AT,{westBoundLongitude:Kh(Lf),eastBoundLongitude:Kh(Lf),southBoundLatitude:Kh(Lf),northBoundLatitude:Kh(Lf)}),GT=Vh(AT,{GetCapabilities:Kh(jd),GetMap:Kh(jd),GetFeatureInfo:Kh(jd)}),qT=Vh(AT,{Format:zh(Df),DCPType:zh(function(t,e){return eu({},HT,t,e)})}),HT=Vh(AT,{HTTP:Kh(function(t,e){return eu({},$T,t,e)})}),$T=Vh(AT,{Get:Kh(Nd),Post:Kh(Nd)}),XT=Vh(AT,{Name:Kh(Df),Title:Kh(Df),Abstract:Kh(Df),LegendURL:zh(Id),StyleSheetURL:Kh(Nd),StyleURL:Kh(Nd)}),WT=Vh(AT,{Format:Kh(Df),OnlineResource:Kh(_y)}),zT=Vh(AT,{Keyword:Xh(Df)});v(Fd,Mf),Fd.prototype.Ob=function(e,o){var i={featureType:this.featureType,featureNS:this.featureNS};return t(o)&&rt(i,uf(this,e,o)),Od(this,e,[i])},v(Bd,Jy),Bd.prototype.a=function(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return this.b(t);return null},Bd.prototype.b=function(e){this.version=cm(e.getAttribute("version"));var o=this.d.b(e);return t(o)?(o.version=this.version,o=eu(o,YT,e,[]),t(o)?o:null):null};var KT=[null,"http://www.opengis.net/wmts/1.0"],VT=[null,"http://www.opengis.net/ows/1.1"],YT=Vh(KT,{Contents:Kh(function(t,e){return eu({},ZT,t,e)})}),ZT=Vh(KT,{Layer:zh(function(t,e){return eu({},_T,t,e)}),TileMatrixSet:zh(function(t,e){return eu({},eM,t,e)})}),_T=Vh(KT,{Style:zh(function(e,o){var i=eu({},JT,e,o);if(t(i)){var n="true"===e.getAttribute("isDefault");return i.isDefault=n,i}}),Format:zh(Df),TileMatrixSetLink:zh(function(t,e){return eu({},QT,t,e)}),ResourceURL:zh(function(e){var o=e.getAttribute("format"),i=e.getAttribute("template");e=e.getAttribute("resourceType");var n={};return t(o)&&(n.format=o),t(i)&&(n.template=i),t(e)&&(n.resourceType=e),n})},Vh(VT,{Title:Kh(Df),Abstract:Kh(Df),WGS84BoundingBox:Kh(function(t,e){var o=eu([],tM,t,e);return 2!=o.length?void 0:je(o)}),Identifier:Kh(Df)})),JT=Vh(KT,{LegendURL:zh(function(t){var e={};return e.format=t.getAttribute("format"),e.href=_y(t),e})},Vh(VT,{Title:Kh(Df),Identifier:Kh(Df)})),QT=Vh(KT,{TileMatrixSet:Kh(Df)}),tM=Vh(VT,{LowerCorner:Xh(Ud),UpperCorner:Xh(Ud)}),eM=Vh(KT,{WellKnownScaleSet:Kh(Df),TileMatrix:zh(function(t,e){return eu({},oM,t,e)})},Vh(VT,{SupportedCRS:Kh(Df),Identifier:Kh(Df)})),oM=Vh(KT,{TopLeftCorner:Kh(Ud),ScaleDenominator:Kh(Lf),TileWidth:Kh(jf),TileHeight:Kh(jf),MatrixWidth:Kh(jf),MatrixHeight:Kh(jf)},Vh(VT,{Identifier:Kh(Df)})),iM=new lo(6378137);v(Gd,re),em=Gd.prototype,em.O=function(){this.Zd(!1),Gd.S.O.call(this)},em.Vk=function(){var t=this.sg();null!=t&&(this.d=Mo(xo("EPSG:4326"),t),null===this.a||this.set("position",this.d(this.a)))},em.Wk=function(){if(Rb){var e=this.tg();e&&!t(this.c)?this.c=sm.navigator.geolocation.watchPosition(d(this.tn,this),d(this.vn,this),this.bg()):!e&&t(this.c)&&(sm.navigator.geolocation.clearWatch(this.c),this.c=void 0)}},em.tn=function(t){t=t.coords,this.set("accuracy",t.accuracy),this.set("altitude",null===t.altitude?void 0:t.altitude),this.set("altitudeAccuracy",null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set("heading",null===t.heading?void 0:ct(t.heading)),null===this.a?this.a=[t.longitude,t.latitude]:(this.a[0]=t.longitude,this.a[1]=t.latitude);var e=this.d(this.a);this.set("position",e),this.set("speed",null===t.speed?void 0:t.speed),t=Ga(iM,this.a,t.accuracy),t.qa(this.d),this.set("accuracyGeometry",t),this.k()},em.vn=function(t){t.type="error",this.Zd(!1),this.dispatchEvent(t)},em.Ki=function(){return this.get("accuracy")},em.Li=function(){return this.get("accuracyGeometry")||null},em.Ni=function(){return this.get("altitude")},em.Oi=function(){return this.get("altitudeAccuracy")},em.Tk=function(){return this.get("heading")},em.Uk=function(){return this.get("position")},em.sg=function(){return this.get("projection")},em.vj=function(){return this.get("speed")},em.tg=function(){return this.get("tracking")},em.bg=function(){return this.get("trackingOptions")},em.ug=function(t){this.set("projection",t)},em.Zd=function(t){this.set("tracking",t)},em.Dh=function(t){this.set("trackingOptions",t)};var nM=new tp({color:"rgba(0,0,0,0.2)"}),rM=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];em=Xd.prototype,em.Xk=function(){return this.g},em.kj=function(){return this.b},em.pj=function(){return this.a},em.gg=function(t){var e=t.vectorContext,o=t.frameState;t=o.extent;var i=o.viewState,n=i.center,r=i.projection,i=i.resolution,o=o.pixelRatio,o=i*i/(4*o*o);if(null===this.i||!So(this.i,r)){var s=r.G(),a=r.g,p=a[2],l=a[1],h=a[0];this.c=a[3],this.d=p,this.e=l,this.f=h,a=xo("EPSG:4326"),this.q=To(a,r),this.o=To(r,a),this.l=this.o(_e(s)),this.i=r}for(var u,r=this.l[0],s=this.l[1],a=-1,l=Math.pow(this.n*i,2),h=[],c=[],i=0,p=rM.length;i<p&&(u=rM[i]/2,h[0]=r-u,h[1]=s-u,c[0]=r+u,c[1]=s+u,this.q(h,h),this.q(c,c),u=Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2),!(u<=l));++i)a=rM[i];if(i=a,-1==i)this.b.length=this.a.length=0;else{for(r=this.o(n),n=r[0],r=r[1],s=this.U,n=Math.floor(n/i)*i,l=lt(n,this.f,this.d),p=Wd(this,l,o,t,0),a=0;l!=this.f&&a++<s;)l=Math.max(l-i,this.f),p=Wd(this,l,o,t,p);for(l=lt(n,this.f,this.d),a=0;l!=this.d&&a++<s;)l=Math.min(l+i,this.d),p=Wd(this,l,o,t,p);for(this.b.length=p,r=Math.floor(r/i)*i,n=lt(r,this.e,this.c),p=zd(this,n,o,t,0),a=0;n!=this.e&&a++<s;)n=Math.max(n-i,this.e),p=zd(this,n,o,t,p);for(n=lt(r,this.e,this.c),a=0;n!=this.c&&a++<s;)n=Math.min(n+i,this.c),p=zd(this,n,o,t,p);this.a.length=p}for(e.Aa(null,this.V),t=0,o=this.b.length;t<o;++t)n=this.b[t],e.zb(n,null);for(t=0,o=this.a.length;t<o;++t)n=this.a[t],e.zb(n,null)},em.setMap=function(t){null!==this.g&&(this.g.u("postcompose",this.gg,this),this.g.render()),null!==t&&(t.r("postcompose",this.gg,this),t.render()),this.g=t},v(Kd,_r),Kd.prototype.b=function(e){if(t(e)){var o=c(e);return o in this.d?this.d[o]:(e=Q(this.d)?this.a:this.a.cloneNode(!1),this.d[o]=e)}return this.a},Kd.prototype.q=function(){this.state=3,E(this.c,zt),this.c=null,this.dispatchEvent("change")},Kd.prototype.l=function(){t(this.resolution)||(this.resolution=to(this.extent)/this.a.height),this.state=2,E(this.c,zt),this.c=null,this.dispatchEvent("change")},Kd.prototype.load=function(){0==this.state&&(this.state=1,this.dispatchEvent("change"),this.c=[Xt(this.a,"error",this.q,!1,this),Xt(this.a,"load",this.l,!1,this)],this.g(this,this.i))},v(Vd,nn),em=Vd.prototype,em.O=function(){1==this.state&&Yd(this),Vd.S.O.call(this)},em.Ma=function(e){if(t(e)){var o=c(e);return o in this.c?this.c[o]:(e=Q(this.c)?this.a:this.a.cloneNode(!1),this.c[o]=e)}return this.a},em.gb=function(){return this.g},em.Yk=function(){this.state=3,Yd(this),rn(this)},em.Zk=function(){this.state=this.a.naturalWidth&&this.a.naturalHeight?2:4,Yd(this),rn(this)},em.load=function(){0==this.state&&(this.state=1,rn(this),this.e=[Xt(this.a,"error",this.Yk,!1,this),Xt(this.a,"load",this.Zk,!1,this)],this.i(this,this.g))},v(Jd,Qt),em=Jd.prototype,em.Zc=!1,em.O=function(){Jd.S.O.call(this),this.b.Yc()},em.$m=function(t){var e=t.b.dataTransfer;(this.Zc=!(!e||!(e.types&&(N(e.types,"Files")||N(e.types,"public.file-url"))||e.files&&0<e.files.length)))&&t.preventDefault()},em.an=function(t){this.Zc&&(t.preventDefault(),t.b.dataTransfer.dropEffect="none")},em.bn=function(t){this.Zc&&(t.preventDefault(),t.fb(),t=t.b.dataTransfer,t.effectAllowed="all",t.dropEffect="copy")},em.cn=function(t){this.Zc&&(t.preventDefault(),t.fb(),t=new Rt(t.b),t.type="drop",this.dispatchEvent(t))},Qd.prototype.cancel=function(t){if(this.b)this.c instanceof Qd&&this.c.cancel();else{if(this.a){var e=this.a;delete this.a,t?e.cancel(t):(e.i--,0>=e.i&&e.cancel())}this.U?this.U.call(this.o,this):this.q=!0,this.b||(t=new sg,eg(this),tg(this,!1,t))}},Qd.prototype.l=function(t,e){this.g=!1,tg(this,t,e)},Qd.prototype.then=function(t,e,o){var i,n,r=new zl(function(t,e){i=t,n=e});return og(this,i,function(t){t instanceof sg?r.cancel():n(t)}),r.then(t,e,o)},Gl(Qd),v(rg,m),rg.prototype.message="Deferred has already fired",rg.prototype.name="AlreadyCalledError",v(sg,m),sg.prototype.message="Deferred was canceled",sg.prototype.name="CanceledError",ag.prototype.a=function(){throw delete sM[this.$],this.b};var sM={};v(pg,m);var aM={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};v(hg,Et),v(ug,Qt),ug.prototype.getError=function(){return this.Ya.error&&new pg(this.Ya.error,"reading file")},ug.prototype.b=function(t){this.dispatchEvent(new hg(t,this))},ug.prototype.O=function(){ug.S.O.call(this),delete this.Ya},v(fg,As),fg.prototype.O=function(){t(this.a)&&zt(this.a),fg.S.O.call(this)},fg.prototype.g=function(t){t=t.b.dataTransfer.files;var e,o,i;for(e=0,o=t.length;e<o;++e){var n=i=t[e],r=new ug,s=cg(r);r.Ya.readAsText(n,""),og(s,g(this.i,i),null,this)}},fg.prototype.i=function(t,e){var o=this.l,i=this.o;null===i&&(i=o.R().e);var n,r,o=this.f,s=[];for(n=0,r=o.length;n<r;++n){var a,p=new o[n];try{a=p.ja(e)}catch(l){a=null}if(null!==a){var h,u,p=p.za(e),p=To(p,i);for(h=0,u=a.length;h<u;++h){var c=a[h],f=c.Q();null!=f&&f.qa(p),s.push(c)}}}this.dispatchEvent(new yg(pM,this,t,s,i))},fg.prototype.setMap=function(e){t(this.a)&&(zt(this.a),this.a=void 0),null!==this.e&&(Ct(this.e),this.e=null),fg.S.setMap.call(this,e),null!==e&&(this.e=new Jd(e.a),this.a=qt(this.e,"drop",this.g,!1,this))};var pM="addfeatures";v(yg,Et),v(dg,pi),dg.prototype.clone=function(){return new dg(this.x,this.y)},dg.prototype.scale=pi.prototype.scale,dg.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},dg.prototype.rotate=function(t){var e=Math.cos(t);t=Math.sin(t);var o=this.y*e+this.x*t;return this.x=this.x*e-this.y*t,this.y=o,this},v(gg,Hs),v(wg,Et),v(xg,Hs),xg.prototype.setMap=function(t){xg.S.setMap.call(this,t),this.Ra()},xg.prototype.X=function(){var t,e=Rg(this),o=e.Q();this.a===lM?t=o.K():this.a===hM?(t=o.K(),t.pop(),o.W(t)):this.a===uM&&(this.f[0].pop(),this.f[0].push(this.f[0][0]),o.W(this.f),t=o.K()),"MultiPoint"===this.L?e.La(new Cl([t])):"MultiLineString"===this.L?e.La(new xl([t])):"MultiPolygon"===this.L&&e.La(new El([t])),this.dispatchEvent(new wg("drawend",e)),null===this.oa||this.oa.push(e),null===this.Ga||this.Ga.jf(e)},xg.prototype.nc=pb,xg.prototype.Ra=function(){var t=this.l,e=this.c();null!==t&&e||Rg(this),this.T.setMap(e?t:null)};var lM="Point",hM="LineString",uM="Polygon",cM="Circle";v(Ng,Hs),em=Ng.prototype,em.Cg=function(e){var o=e.Q();t(this.H[o.M()])&&this.H[o.M()].call(this,e,o),e=this.l,null===e||Ug(this,this.L,e)},em.setMap=function(t){this.n.setMap(t),Ng.S.setMap.call(this,t)},em.vl=function(t){this.Cg(t.element)},em.wl=function(t){var e=t.element;t=this.a;var o,i=[];for(hu(t,e.Q().G(),function(t){e===t.feature&&i.push(t)}),o=i.length-1;0<=o;--o)t.remove(i[o]);null!==this.f&&0===this.p.Ib()&&(this.n.Yd(this.f),this.f=null)},em.Bl=function(t,e){var o=e.K(),o={feature:t,geometry:e,aa:[o,o]};this.a.ha(e.G(),o)},em.zl=function(t,e){var o,i,n,r=e.K();for(i=0,n=r.length;i<n;++i)o=r[i],o={feature:t,geometry:e,depth:[i],index:i,aa:[o,o]},this.a.ha(e.G(),o)},em.Dg=function(t,e){var o,i,n,r,s=e.K();for(o=0,i=s.length-1;o<i;++o)n=s.slice(o,o+2),r={feature:t,geometry:e,index:o,aa:n},this.a.ha(je(n),r)},em.yl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,geometry:e,depth:[r],index:i,aa:a},this.a.ha(je(a),p)},em.Cl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,geometry:e,depth:[r],index:i,aa:a},this.a.ha(je(a),p)},em.Al=function(t,e){var o,i,n,r,s,a,p,l,h,u,c=e.K();for(a=0,p=c.length;a<p;++a)for(l=c[a],r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)h=o.slice(i,i+2),u={feature:t,geometry:e,depth:[r,a],index:i,aa:h},this.a.ha(je(h),u)},em.xl=function(t,e){var o,i=e.d;for(o=0;o<i.length;++o)this.H[i[o].M()].call(this,t,i[o])},em.qk=function(t,e){for(var o,i=t.aa,n=t.feature,r=t.geometry,s=t.depth,a=t.index;e.length<r.s;)e.push(0);switch(r.M()){case"MultiLineString":o=r.K(),o[s[0]].splice(a+1,0,e);break;case"Polygon":o=r.K(),o[s[0]].splice(a+1,0,e);break;case"MultiPolygon":o=r.K(),o[s[1]][s[0]].splice(a+1,0,e);break;case"LineString":o=r.K(),o.splice(a+1,0,e);break;default:return}r.W(o),o=this.a,o.remove(t),Gg(this,r,a,s,1);var p={aa:[i[0],e],feature:n,geometry:r,depth:s,index:a};o.ha(je(p.aa),p),this.g.push([p,1]),i={aa:[e,i[1]],feature:n,geometry:r,depth:s,index:a+1},o.ha(je(i.aa),i),this.g.push([i,0])},v(Hg,Et),v($g,As),$g.prototype.p=function(){return this.a.b},$g.prototype.setMap=function(t){var e=this.l,o=this.a.b;null===e||o.forEach(e.Ih,e),$g.S.setMap.call(this,t),this.a.setMap(t),null===t||o.forEach(t.Eh,t)},$g.prototype.n=function(t){t=t.element;var e=this.l;null===e||e.Eh(t)},$g.prototype.J=function(t){t=t.element;var e=this.l;null===e||e.Ih(t)},v(zg,Hs),em=zg.prototype,em.ed=function(e,o){var i=!t(o)||o,n=e.Q(),r=this.T[n.M()];if(t(r)){var s=c(e);this.N[s]=n.G(qe()),r.call(this,e,n),i&&(this.H[s]=n.r("change",d(this.Oj,this,e),this),this.p[s]=e.r(se(e.a),this.Dl,this))}},em.Hi=function(t){this.ed(t)},em.Ii=function(t){this.fd(t)},em.Eg=function(t){var e;t instanceof mu?e=t.feature:t instanceof ti&&(e=t.element),this.ed(e)},em.Fg=function(t){var e;t instanceof mu?e=t.feature:t instanceof ti&&(e=t.element),this.fd(e)},em.Dl=function(t){t=t.c,this.fd(t,!0),this.ed(t,!0)},em.Oj=function(t){if(this.o){var e=c(t);e in this.n||(this.n[e]=t)}else this.Jh(t)},em.fd=function(e,o){var i=!t(o)||o,n=c(e),r=this.N[n];if(r){var s=this.a,a=[];for(hu(s,r,function(t){e===t.feature&&a.push(t)}),r=a.length-1;0<=r;--r)s.remove(a[r]);i&&(zt(this.H[n]),delete this.H[n],zt(this.p[n]),delete this.p[n])}},em.setMap=function(t){var e,o=this.l,i=this.X;null===this.g?null===this.i||(e=this.i.Dc()):e=this.g,o&&(E(i,ie),i.length=0,e.forEach(this.Ii,this)),zg.S.setMap.call(this,t),t&&(null!==this.g?(i.push(this.g.r("add",this.Eg,this)),i.push(this.g.r("remove",this.Fg,this))):null!==this.i&&(i.push(this.i.r("addfeature",this.Eg,this)),i.push(this.i.r("removefeature",this.Fg,this))),e.forEach(this.Hi,this))},em.nc=pb,em.Jh=function(t){this.fd(t,!1),this.ed(t,!1)},em.El=function(t,e){var o,i=e.d;for(o=0;o<i.length;++o)this.T[i[o].M()].call(this,t,i[o])},em.Gg=function(t,e){var o,i,n,r,s=e.K();for(o=0,i=s.length-1;o<i;++o)n=s.slice(o,o+2),r={feature:t,aa:n},this.a.ha(je(n),r)},em.Fl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,aa:a},this.a.ha(je(a),p)},em.Gl=function(t,e){var o,i,n,r=e.K();for(i=0,n=r.length;i<n;++i)o=r[i],o={feature:t,aa:[o,o]},this.a.ha(e.G(),o)},em.Hl=function(t,e){var o,i,n,r,s,a,p,l,h,u,c=e.K();for(a=0,p=c.length;a<p;++a)for(l=c[a],r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)h=o.slice(i,i+2),u={feature:t,aa:h},this.a.ha(je(h),u)},em.Il=function(t,e){var o=e.K(),o={feature:t,aa:[o,o]};this.a.ha(e.G(),o)},em.Jl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,aa:a},this.a.ha(je(a),p)},v(Zg,Np);var fM=["#00f","#0ff","#0f0","#ff0","#f00"];em=Zg.prototype,em.Sf=function(){return this.get("blur")},em.Wf=function(){return this.get("gradient")},em.Hg=function(){return this.get("radius")},em.Pj=function(){for(var t=this.Wf(),e=mr(1,256),o=e.createLinearGradient(0,0,1,256),i=1/(t.length-1),n=0,r=t.length;n<r;++n)o.addColorStop(n*i,t[n]);e.fillStyle=o,e.fillRect(0,0,1,256),this.d=e.getImageData(0,0,1,256).data},em.hg=function(){var t=this.Hg(),e=this.Sf(),o=t+e+1,i=2*o,i=mr(i,i);i.shadowOffsetX=i.shadowOffsetY=this.L,i.shadowBlur=e,i.shadowColor="#000",i.beginPath(),e=o-this.L,i.arc(e,e,t,0,2*Math.PI,!0),i.fill(),this.p=i.canvas.toDataURL(),this.l=Array(256),this.k()},em.hk=function(t){t=t.context;var e,o,i,n=t.canvas,n=t.getImageData(0,0,n.width,n.height),r=n.data;for(e=0,o=r.length;e<o;e+=4)(i=4*r[e+3])&&(r[e]=this.d[i],r[e+1]=this.d[i+1],r[e+2]=this.d[i+2]);t.putImageData(n,0,0)},em.th=function(t){this.set("blur",t)},em.yh=function(t){this.set("gradient",t)},em.Ig=function(t){this.set("radius",t)};var yM=0,dM=1;v(ev,m);var gM=0;ov.prototype.send=function(t,e,o,i){t=t||null,i=i||"_"+(gM++).toString(36)+lm().toString(36),sm._callbacks_||(sm._callbacks_={});var n=this.a.clone();if(t)for(var r in t)if(!t.hasOwnProperty||t.hasOwnProperty(r)){var a=n,p=r,l=t[r];s(l)||(l=[String(l)]),vy(a.b,p,l)}return e&&(sm._callbacks_[i]=nv(i,e),e=this.b,r="_callbacks_."+i,s(r)||(r=[String(r)]),vy(n.b,e,r)),e=_g(n.toString(),{timeout:this.oc,Bi:!0}),og(e,null,iv(i,t,o),void 0),{$:i,Of:e}},ov.prototype.cancel=function(t){t&&(t.Of&&t.Of.cancel(),t.$&&rv(t.$,!1))},v(cv,En),em=cv.prototype,em.Vb=function(e,o,i,n,r){var s=this.bb(e,o,i);if(tn(this.a,s))return this.a.get(s);e=[e,o,i],o=t(r)?r:this.f,i=kn(this,o);var a,p=this.H;if(a=t(p)){a=e[0];var l=xn(i,a);if(t(l)){var h=Tn(o),u=o.G();a=he(i.na(a),i.a)[0]*l==h.na(a)*_o(gn(h,u,a))}else a=o.e}return a?p?(p=e[0],a=e[1],o=wn(i,p,o),a<o.b||a>o.d?(a=ht(a,_o(o)),o=[p,a,e[2]]):o=e):(p=e[1],o=wn(i,e[0],o),o=p<o.b||p>o.d?null:e):o=e,n=null===o?void 0:this.tileUrlFunction(o,n,r),n=new this.tileClass(e,t(n)?0:4,t(n)?n:"",this.crossOrigin,this.tileLoadFunction),qt(n,"change",this.nm,!1,this),this.a.set(s,n),n},em.Ua=function(){return this.tileLoadFunction},em.Va=function(){return this.tileUrlFunction},em.nm=function(t){switch(t=t.target,t.state){case 1:this.dispatchEvent(new An("tileloadstart",t));break;case 2:this.dispatchEvent(new An("tileloadend",t));break;case 3:this.dispatchEvent(new An("tileloaderror",t))}},em.$a=function(t){this.a.clear(),this.tileLoadFunction=t,this.k()},em.pa=function(t){this.a.clear(),this.tileUrlFunction=t,this.k()},em.yf=function(t,e,o){t=this.bb(t,e,o),tn(this.a,t)&&this.a.get(t)},v(yv,yn),yv.prototype.yb=function(e){e=t(e)?e:{};var o=this.minZoom,i=this.maxZoom,n=null;if(t(e.extent)){var r,n=Array(i+1);for(r=0;r<=i;++r)n[r]=r<o?null:gn(this,e.extent,r)}return function(t,e,r){if(e=t[0],e<o||i<e)return null;var s=t[1];return t=t[2],t<-Math.pow(2,e)||-1<t||null!==n&&!Yo(n[e],s,t)?null:$o(e,s,-t-1,r)}},yv.prototype.Ld=function(t,e){if(t[0]<this.maxZoom){var o=2*t[1],i=2*t[2];return Vo(o,o+1,i,i+1,e)}return null},yv.prototype.Ad=function(t,e,o,i){for(i=Vo(0,t[1],0,t[2],i),t=t[0]-1;t>=this.minZoom;--t)if(i.b=i.d>>=1,i.c=i.a>>=1,e.call(o,t,i))return!0;return!1},v(dv,cv);var vM=new Qo({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});dv.prototype.i=function(t){if(200!=t.statusCode||"OK"!=t.statusDescription||"ValidCredentials"!=t.authenticationResultCode||1!=t.resourceSets.length||1!=t.resourceSets[0].resources.length)pn(this,"error");else{var e=t.brandLogoUri;-1==e.indexOf("https")&&(e=e.replace("http","https"));var o=t.resourceSets[0].resources[0],i=-1==this.e?o.zoomMax:this.e,n=new yv({extent:Cn(this.f),minZoom:o.zoomMin,maxZoom:i,tileSize:o.imageWidth==o.imageHeight?o.imageWidth:[o.imageWidth,o.imageHeight]});this.tileGrid=n;var r=this.g;if(this.tileUrlFunction=hv(n.yb(),pv(k(o.imageUrlSubdomains,function(t){var e=o.imageUrl.replace("{subdomain}",t).replace("{culture}",r);return function(t){return null===t?void 0:e.replace("{quadkey}",Wo(t))}}))),o.imageryProviders){var s=Mo(xo("EPSG:4326"),this.f);t=k(o.imageryProviders,function(t){var e=t.attribution,o={};return E(t.coverageAreas,function(t){var e=t.zoomMin,r=Math.min(t.zoomMax,i);t=t.bbox,t=po([t[1],t[0],t[3],t[2]],s);var a,p;for(a=e;a<=r;++a)p=a.toString(),e=gn(n,t,a),p in o?o[p].push(e):o[p]=[e]}),new Qo({html:e,tileRanges:o})}),t.push(vM),this.d=t}this.L=e,pn(this,"ready")}},v(gv,cu),gv.prototype.X=function(){return this.l},gv.prototype.ac=function(t,e,o){e!==this.p&&(this.clear(),this.p=e,this.l.ac(t,e,o),vv(this),this.Oc(this.n))},gv.prototype.ba=function(){this.clear(),vv(this),this.Oc(this.n),this.k()},v(bv,Dl),em=bv.prototype,em.Tl=function(){return this.e},em.Cc=function(e,o,i,n){o=Fl(this,o),i=this.X?i:1;var r=this.c;return null!==r&&this.p==this.b&&r.resolution==o&&r.e==i&&Be(r.G(),e)?r:(1!=this.n&&(e=e.slice(),ao(e,this.n)),n=this.J(e,[no(e)/o*i,to(e)/o*i],n),t(n)?(r=new Kd(e,o,i,this.d,n,this.T,this.a),qt(r,"change",this.i,!1,this)):r=null,this.c=r,this.p=this.b,r)},em.Sl=function(){return this.a},em.Wl=function(t){rt(this.e,t),this.k()},em.Ul=function(t,e,o,i){var n;n=this.N;var r=no(o),s=to(o),a=i[0],p=i[1],l=.0254/this.g;return n=p*r>a*s?r*n/(a*l):s*n/(p*l),o=_e(o),i={OPERATION:this.ba?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.g,SETDISPLAYWIDTH:Math.round(i[0]),SETDISPLAYHEIGHT:Math.round(i[1]),SETVIEWSCALE:n,SETVIEWCENTERX:o[0],SETVIEWCENTERY:o[1]},rt(i,e),hh(ch([t],i))},em.Vl=function(t){this.c=null,this.a=t,this.k()},v(wv,Dl),wv.prototype.Cc=function(t){return ro(t,this.a.G())?this.a:null},v(xv,Dl);var mM=[101,101];em=xv.prototype,em.bm=function(e,o,i,n){if(t(this.e)){var r=Qe(e,o,0,mM),s={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS};return rt(s,this.c,n),n=Math.floor((r[3]-e[1])/o),s[this.g?"I":"X"]=Math.floor((e[0]-r[0])/o),s[this.g?"J":"Y"]=n,Sv(this,r,mM,1,xo(i),s)}},em.dm=function(){return this.c},em.Cc=function(e,o,i,n){if(!t(this.e))return null;o=Fl(this,o),1==i||this.ba&&t(this.T)||(i=1);var r=this.a;if(null!==r&&this.N==this.b&&r.resolution==o&&r.e==i&&Be(r.G(),e))return r;r={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},rt(r,this.c),e=e.slice();var s=(e[0]+e[2])/2,a=(e[1]+e[3])/2;if(1!=this.J){var p=this.J*no(e)/2,l=this.J*to(e)/2;e[0]=s-p,e[1]=a-l,e[2]=s+p,e[3]=a+l}var p=o/i,l=Math.ceil(no(e)/p),h=Math.ceil(to(e)/p);return e[0]=s-p*l/2,e[2]=s+p*l/2,e[1]=a-p*h/2,e[3]=a+p*h/2,this.p[0]=l,this.p[1]=h,n=Sv(this,e,this.p,i,n,r),this.a=new Kd(e,o,i,this.d,n,this.X,this.n),this.N=this.b,qt(this.a,"change",this.i,!1,this),this.a},em.cm=function(){return this.n},em.em=function(){return this.e},em.fm=function(t){this.a=null,this.n=t,this.k()},em.gm=function(t){t!=this.e&&(this.e=t,this.a=null,this.k())},em.hm=function(t){rt(this.c,t),Tv(this),this.a=null,this.k()},v(Mv,cv),Mv.prototype.pa=function(t){Mv.S.pa.call(this,hv(this.l,t))},Mv.prototype.e=function(t){this.pa(av(uv(t)))},v(Cv,Mv);var bM=new Qo({html:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});v(Ev,Mv);var wM=new Qo({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),xM={osm:{maxZoom:19,attributions:[wM,bM]},sat:{maxZoom:18,attributions:[wM,new Qo({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,attributions:[wM,bM]}};Ev.prototype.i=function(){return this.g};var SM={terrain:{Ta:"jpg",opaque:!0},"terrain-background":{Ta:"jpg",opaque:!0},"terrain-labels":{Ta:"png",opaque:!1},"terrain-lines":{Ta:"png",opaque:!1},"toner-background":{Ta:"png",opaque:!0},toner:{Ta:"png",opaque:!0},"toner-hybrid":{Ta:"png",opaque:!1},"toner-labels":{Ta:"png",opaque:!1},"toner-lines":{Ta:"png",opaque:!1},"toner-lite":{Ta:"png",opaque:!0},watercolor:{Ta:"jpg",opaque:!0}},TM={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}};v(Pv,Mv);var MM=[new Qo({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>.'}),bM];return v(kv,cv),em=kv.prototype,em.im=function(){return this.e},em.Xb=function(t,e,o){return t=kv.S.Xb.call(this,t,e,o),1==e?t:le(t,e,this.c)},em.jm=function(){return this.g},em.km=function(e){e=t(e)?uv(e):null,this.Ng(e)},em.Ng=function(t){this.g=null!=t?t:[],this.k()},em.lm=function(t,e,o){var i=this.tileGrid;if(null===i&&(i=kn(this,o)),!(i.b.length<=t[0])){var n=mn(i,t,this.i),r=he(i.na(t[0]),this.c);1!=e&&(r=le(r,e,this.c)),i={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},rt(i,this.e);var s=this.g;return 0==s.length?t=void 0:(o=o.b.split(":").pop(),i.SIZE=r[0]+","+r[1],i.BBOX=n.join(","),i.BBOXSR=o,i.IMAGESR=o,i.DPI=90*e,t=1==s.length?s[0]:s[ht((t[1]<<t[0])+t[2],s.length)],b(t,"/")||(t+="/"),b(t,"MapServer/")?t+="export":b(t,"ImageServer/")&&(t+="exportImage"),t=hh(ch([t],i))),t}},em.mm=function(t){rt(this.e,t),this.k()},v(Av,nn),Av.prototype.Ma=function(e){if(e=t(e)?c(e):-1,e in this.a)return this.a[e];var o=this.c,i=mr(o[0],o[1]);return i.strokeStyle="black",i.strokeRect(.5,.5,o[0]+.5,o[1]+.5),i.fillStyle="black",i.textAlign="center",i.textBaseline="middle",i.font="24px sans-serif",i.fillText(zo(this.b),o[0]/2,o[1]/2),this.a[e]=i.canvas},v(Rv,En),Rv.prototype.Vb=function(t,e,o){var i=this.bb(t,e,o);return tn(this.a,i)?this.a.get(i):(t=new Av([t,e,o],this.tileGrid),this.a.set(i,t),t)},v(Lv,cv),Lv.prototype.e=function(e){var o,i=xo("EPSG:4326"),n=this.f;t(e.bounds)&&(o=po(e.bounds,Mo(i,n)));var r=e.minzoom||0,s=e.maxzoom||22;if(this.tileGrid=n=new yv({extent:Cn(n),maxZoom:s,minZoom:r}),this.tileUrlFunction=hv(n.yb({extent:o}),av(e.tiles)),t(e.attribution)&&null===this.d){i=t(o)?o:i.G(),o={};for(var a;r<=s;++r)a=r.toString(),o[a]=[gn(n,i,r)];this.d=[new Qo({html:e.attribution,tileRanges:o})]}pn(this,"ready")},v(Nv,En),em=Nv.prototype,em.wj=function(){return this.g},em.Gi=function(t,e,o,i,n){null===this.tileGrid?!0===n?Yn(function(){o.call(i,null)}):o.call(i,null):(e=this.tileGrid.Wb(t,e),Dv(this.Vb(e[0],e[1],e[2],1,this.f),t,o,i,n))},em.om=function(e){var o,i=xo("EPSG:4326"),n=this.f;t(e.bounds)&&(o=po(e.bounds,Mo(i,n)));var r=e.minzoom||0,s=e.maxzoom||22;this.tileGrid=n=new yv({extent:Cn(n),maxZoom:s,minZoom:r}),this.g=e.template;var a=e.grids;if(null!=a){if(this.e=hv(n.yb({extent:o}),av(a)),t(e.attribution)){for(i=t(o)?o:i.G(),o={};r<=s;++r)a=r.toString(),o[a]=[gn(n,i,r)];this.d=[new Qo({html:e.attribution,tileRanges:o})]}pn(this,"ready")}else pn(this,"error")},em.Vb=function(e,o,i,n,r){var s=this.bb(e,o,i);return tn(this.a,s)?this.a.get(s):(e=[e,o,i],n=this.e(e,n,r),n=new jv(e,t(n)?0:4,t(n)?n:"",mn(this.tileGrid,e),this.i),this.a.set(s,n),n)},em.yf=function(t,e,o){t=this.bb(t,e,o),tn(this.a,t)&&this.a.get(t)},v(jv,nn),em=jv.prototype,em.Ma=function(){return null},em.gb=function(){return this.g},em.Lj=function(){this.state=3,rn(this)},em.Xj=function(t){this.c=t.grid,this.e=t.keys,this.d=t.data,this.state=4,rn(this)},em.load=function(){this.i&&Fv(this)},v(Ov,cu),em=Ov.prototype,em.clear=function(){tt(this.l)},em.Ab=function(e,o,i,n){var r=this.n,s=this.l;o=Sn(r,o),e=gn(r,e,o);for(var a,r=e.b;r<=e.d;++r)for(a=e.c;a<=e.a;++a){var p=s[o+"/"+r+"/"+a];if(t(p)){var l,h;for(l=0,h=p.length;l<h;++l){var u=i.call(n,p[l]);if(u)return u}}}},em.Dc=function(){var t,e=this.l,o=[];for(t in e)F(o,e[t]);return o},em.Vi=function(t,e){var o=[];return Bv(this,t,e,function(t){o.push(t)}),o},em.ac=function(e,o,i){function n(t,e){h[t]=e,this.k()}var r,s,a=this.X,p=this.n,l=this.p,h=this.l,u=Sn(p,o),p=gn(p,e,u),c=[u,0,0];for(r=p.b;r<=p.d;++r)for(s=p.c;s<=p.a;++s){var f=u+"/"+r+"/"+s;if(!(f in h)){c[0]=u,c[1]=r,c[2]=s,a(c,i,c);var y=l(c,1,i);t(y)&&(h[f]=[],nu(y,this.T,g(n,f)).call(this,e,o,i))}}},v(Uv,cv),em=Uv.prototype,em.pm=function(t,e,o,i){o=xo(o);var n=this.tileGrid;if(null===n&&(n=kn(this,o)),e=n.Wb(t,e),!(n.b.length<=e[0])){var r=n.ma(e[0]),s=mn(n,e,this.N),n=he(n.na(e[0]),this.c),a=this.l;return 0!==a&&(n=pe(n,a,this.c),s=De(s,r*a,s)),a={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.e.LAYERS +},rt(a,this.e,i),i=Math.floor((s[3]-t[1])/r),a[this.i?"I":"X"]=Math.floor((t[0]-s[0])/r),a[this.i?"J":"Y"]=i,Gv(this,e,n,s,1,o,a)}},em.Cd=function(){return this.l},em.bb=function(t,e,o){return this.p+Uv.S.bb.call(this,t,e,o)},em.qm=function(){return this.e},em.Xb=function(e,o,i){return e=Uv.S.Xb.call(this,e,o,i),1!=o&&this.J&&t(this.n)?le(e,o,this.c):e},em.rm=function(){return this.g},em.sm=function(e){e=t(e)?uv(e):null,this.Og(e)},em.Og=function(t){this.g=null!=t?t:[],qv(this),this.k()},em.tm=function(e,o,i){var n=this.tileGrid;if(null===n&&(n=kn(this,i)),!(n.b.length<=e[0])){1==o||this.J&&t(this.n)||(o=1);var r=n.ma(e[0]),s=mn(n,e,this.N),n=he(n.na(e[0]),this.c),a=this.l;return 0!==a&&(n=pe(n,a,this.c),s=De(s,r*a,s)),1!=o&&(n=le(n,o,this.c)),r={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},rt(r,this.e),Gv(this,e,n,s,o,i,r)}},em.um=function(t){rt(this.e,t),qv(this),Hv(this),this.k()},v($v,yn),$v.prototype.q=function(){return this.e},v(Wv,cv),em=Wv.prototype,em.Ti=function(){return this.e},em.Xi=function(){return this.n},em.bb=function(t,e,o){return this.l+Wv.S.bb.call(this,t,e,o)},em.vm=function(){return this.p},em.jj=function(){return this.i},em.uj=function(){return this.T},em.wm=function(){return this.J},em.xm=function(){return this.g},em.Aj=function(){return this.N},em.uo=function(t){rt(this.e,t),zv(this),this.k()},v(Kv,yn),Kv.prototype.yb=function(e){e=t(e)?e:{};var o=this.minZoom,i=this.maxZoom,n=null;if(t(e.extent)){var r,n=Array(i+1);for(r=0;r<=i;++r)n[r]=r<o?null:gn(this,e.extent,r)}return function(t,e,r){if(e=t[0],e<o||i<e)return null;var s=Math.pow(2,e),a=t[1];return 0>a||s<=a?null:(t=t[2],t<-s||-1<t||null!==n&&!Yo(n[e],a,-t-1)?null:$o(e,a,-t-1,r))}},v(Vv,cv),v(Yv,Vd),Yv.prototype.Ma=function(e){var o=t(e)?c(e).toString():"";if(o in this.d)return this.d[o];if(e=Yv.S.Ma.call(this,e),2==this.state){if(256==e.width&&256==e.height)return this.d[o]=e;var i=mr(256,256);return i.drawImage(e,0,0),this.d[o]=i.canvas}return e},Zv.prototype.add=function(e,o,i,n,r,s){return o+this.b>this.c||i+this.b>this.c?null:(n=_v(this,!1,e,o,i,n,s),null===n?null:(e=_v(this,!0,e,o,i,t(r)?r:hb,s),{offsetX:n.offsetX,offsetY:n.offsetY,image:n.image,ig:e.image}))},Jv.prototype.get=function(t){return ot(this.d,t,null)},Jv.prototype.add=function(t,e,o,i,n){var r,s,a;for(s=0,a=this.a.length;s<a;++s)if(r=this.a[s],r.width>=e+this.b&&r.height>=o+this.b)return a={offsetX:r.x+this.b,offsetY:r.y+this.b,image:this.c},this.d[t]=a,i.call(n,this.e,r.x+this.b,r.y+this.b),t=s,e+=this.b,o+=this.b,n=i=void 0,r.width-e>r.height-o?(i={x:r.x+e,y:r.y,width:r.width-e,height:r.height},n={x:r.x,y:r.y+o,width:e,height:r.height-o},Qv(this,t,i,n)):(i={x:r.x+e,y:r.y,width:r.width-e,height:o},n={x:r.x,y:r.y+o,width:r.width,height:r.height-o},Qv(this,t,i,n)),a;return null},v(tm,hs),em=tm.prototype,em.mb=function(){return this.p},em.Cm=function(){return this.g},em.Dm=function(){return this.i},em.he=function(){return this.o},em.Lb=function(){return this.d},em.Dd=function(){return this.H},em.gd=function(){return 2},em.rb=function(){return this.J},em.Em=function(){return this.b},em.Fm=function(){return this.c},em.tj=function(){return this.f},em.Xa=function(){return this.L},em.Gm=function(){return this.a},em.$e=o,em.load=o,em.xf=o,em.Ug=function(t,e,o,i){var n;for(e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),this.f!==this.c&&(this.b*=2),o=0;o<=this.b;o++)i=2*o*Math.PI/this.b-Math.PI/2+this.g,n=0===o%2?this.c:this.f,e.lineTo(t.size/2+n*Math.cos(i),t.size/2+n*Math.sin(i));null!==this.i&&(e.fillStyle=ni(this.i.b),e.fill()),null!==this.a&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.md,null===t.lineDash||e.setLineDash(t.lineDash),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},em.Tg=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),this.f!==this.c&&(this.b*=2);var n;for(o=0;o<=this.b;o++)n=2*o*Math.PI/this.b-Math.PI/2+this.g,i=0===o%2?this.c:this.f,e.lineTo(t.size/2+i*Math.cos(n),t.size/2+i*Math.sin(n));e.fillStyle=ow,e.fill(),null!==this.a&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.md,null===t.lineDash||e.setLineDash(t.lineDash),e.stroke()),e.closePath()},em.nb=function(){var e=null===this.a?"-":this.a.nb(),o=null===this.i?"-":this.i.nb();return null!==this.e&&e==this.e[1]&&o==this.e[2]&&this.c==this.e[3]&&this.f==this.e[4]&&this.g==this.e[5]&&this.b==this.e[6]||(this.e=["r"+e+o+(t(this.c)?this.c.toString():"-")+(t(this.f)?this.f.toString():"-")+(t(this.g)?this.g.toString():"-")+(t(this.b)?this.b.toString():"-"),e,o,this.c,this.f,this.g,this.b]),this.e[0]},e("ol.animation.bounce",function(e){var o=e.resolution,i=t(e.start)?e.start:lm(),n=t(e.duration)?e.duration:1e3,r=t(e.easing)?e.easing:Uo;return function(t,e){if(e.time<i)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<i+n){var s=r((e.time-i)/n),a=o-e.viewState.resolution;return e.animate=!0,e.viewState.resolution+=s*a,e.viewHints[0]+=1,!0}return!1}},nm),e("ol.animation.pan",Go,nm),e("ol.animation.rotate",qo,nm),e("ol.animation.zoom",Ho,nm),e("ol.Attribution",Qo,nm),Qo.prototype.getHTML=Qo.prototype.c,ti.prototype.element=ti.prototype.element,e("ol.Collection",ei,nm),ei.prototype.clear=ei.prototype.clear,ei.prototype.extend=ei.prototype.af,ei.prototype.forEach=ei.prototype.forEach,ei.prototype.getArray=ei.prototype.Hk,ei.prototype.item=ei.prototype.item,ei.prototype.getLength=ei.prototype.Ib,ei.prototype.insertAt=ei.prototype.Td,ei.prototype.pop=ei.prototype.pop,ei.prototype.push=ei.prototype.push,ei.prototype.remove=ei.prototype.remove,ei.prototype.removeAt=ei.prototype.tf,ei.prototype.setAt=ei.prototype.Un,e("ol.coordinate.add",ue,nm),e("ol.coordinate.createStringXY",function(t){return function(e){return be(e,t)}},nm),e("ol.coordinate.format",ye,nm),e("ol.coordinate.rotate",ge,nm),e("ol.coordinate.toStringHDMS",function(e){return t(e)?fe(e[1],"NS")+" "+fe(e[0],"EW"):""},nm),e("ol.coordinate.toStringXY",be,nm),e("ol.DeviceOrientation",sf,nm),sf.prototype.getAlpha=sf.prototype.Mi,sf.prototype.getBeta=sf.prototype.Pi,sf.prototype.getGamma=sf.prototype.Yi,sf.prototype.getHeading=sf.prototype.Ik,sf.prototype.getTracking=sf.prototype.og,sf.prototype.setTracking=sf.prototype.bf,e("ol.easing.easeIn",function(t){return Math.pow(t,3)},nm),e("ol.easing.easeOut",Fo,nm),e("ol.easing.inAndOut",Oo,nm),e("ol.easing.linear",Bo,nm),e("ol.easing.upAndDown",Uo,nm),e("ol.extent.boundingExtent",je,nm),e("ol.extent.buffer",De,nm),e("ol.extent.containsCoordinate",function(t,e){return Ue(t,e[0],e[1])},nm),e("ol.extent.containsExtent",Be,nm),e("ol.extent.containsXY",Ue,nm),e("ol.extent.createEmpty",qe,nm),e("ol.extent.equals",Xe,nm),e("ol.extent.extend",We,nm),e("ol.extent.getBottomLeft",Ye,nm),e("ol.extent.getBottomRight",Ze,nm),e("ol.extent.getCenter",_e,nm),e("ol.extent.getHeight",to,nm),e("ol.extent.getIntersection",eo,nm),e("ol.extent.getSize",function(t){return[t[2]-t[0],t[3]-t[1]]},nm),e("ol.extent.getTopLeft",oo,nm),e("ol.extent.getTopRight",io,nm),e("ol.extent.getWidth",no,nm),e("ol.extent.intersects",ro,nm),e("ol.extent.isEmpty",so,nm),e("ol.extent.applyTransform",po,nm),e("ol.Feature",af,nm),af.prototype.clone=af.prototype.clone,af.prototype.getGeometry=af.prototype.Q,af.prototype.getId=af.prototype.aj,af.prototype.getGeometryName=af.prototype.$i,af.prototype.getStyle=af.prototype.Qk,af.prototype.getStyleFunction=af.prototype.Rk,af.prototype.setGeometry=af.prototype.La,af.prototype.setStyle=af.prototype.cf,af.prototype.setId=af.prototype.Qb,af.prototype.setGeometryName=af.prototype.Ic,e("ol.featureloader.xhr",ru,nm),e("ol.FeatureOverlay",pf,nm),pf.prototype.addFeature=pf.prototype.pg,pf.prototype.getFeatures=pf.prototype.Kk,pf.prototype.getMap=pf.prototype.Lk,pf.prototype.removeFeature=pf.prototype.Yd,pf.prototype.setFeatures=pf.prototype.ld,pf.prototype.setMap=pf.prototype.setMap,pf.prototype.setStyle=pf.prototype.rg,pf.prototype.getStyle=pf.prototype.Mk,pf.prototype.getStyleFunction=pf.prototype.Nk,e("ol.Geolocation",Gd,nm),Gd.prototype.getAccuracy=Gd.prototype.Ki,Gd.prototype.getAccuracyGeometry=Gd.prototype.Li,Gd.prototype.getAltitude=Gd.prototype.Ni,Gd.prototype.getAltitudeAccuracy=Gd.prototype.Oi,Gd.prototype.getHeading=Gd.prototype.Tk,Gd.prototype.getPosition=Gd.prototype.Uk,Gd.prototype.getProjection=Gd.prototype.sg,Gd.prototype.getSpeed=Gd.prototype.vj,Gd.prototype.getTracking=Gd.prototype.tg,Gd.prototype.getTrackingOptions=Gd.prototype.bg,Gd.prototype.setProjection=Gd.prototype.ug,Gd.prototype.setTracking=Gd.prototype.Zd,Gd.prototype.setTrackingOptions=Gd.prototype.Dh,e("ol.Graticule",Xd,nm),Xd.prototype.getMap=Xd.prototype.Xk,Xd.prototype.getMeridians=Xd.prototype.kj,Xd.prototype.getParallels=Xd.prototype.pj,Xd.prototype.setMap=Xd.prototype.setMap,e("ol.has.DEVICE_PIXEL_RATIO",Eb,nm),e("ol.has.CANVAS",kb,nm),e("ol.has.DEVICE_ORIENTATION",Ab,nm),e("ol.has.GEOLOCATION",Rb,nm),e("ol.has.TOUCH",Lb,nm),e("ol.has.WEBGL",xb,nm),Kd.prototype.getImage=Kd.prototype.b,Vd.prototype.getImage=Vd.prototype.Ma,e("ol.Kinetic",Es,nm),e("ol.loadingstrategy.all",su,nm),e("ol.loadingstrategy.bbox",function(t){return[t]},nm),e("ol.loadingstrategy.tile",function(t){return function(e,o){var i=Sn(t,o),n=gn(t,e,i),r=[],i=[i,0,0];for(i[1]=n.b;i[1]<=n.d;++i[1])for(i[2]=n.c;i[2]<=n.a;++i[2])r.push(mn(t,i));return r}},nm),e("ol.Map",Nc,nm),Nc.prototype.addControl=Nc.prototype.si,Nc.prototype.addInteraction=Nc.prototype.ti,Nc.prototype.addLayer=Nc.prototype.Jf,Nc.prototype.addOverlay=Nc.prototype.Kf,Nc.prototype.beforeRender=Nc.prototype.Ha,Nc.prototype.forEachFeatureAtPixel=Nc.prototype.Ne,Nc.prototype.forEachLayerAtPixel=Nc.prototype.al,Nc.prototype.hasFeatureAtPixel=Nc.prototype.ok,Nc.prototype.getEventCoordinate=Nc.prototype.Ui,Nc.prototype.getEventPixel=Nc.prototype.Bd,Nc.prototype.getTarget=Nc.prototype.df,Nc.prototype.getTargetElement=Nc.prototype.bd,Nc.prototype.getCoordinateFromPixel=Nc.prototype.ka,Nc.prototype.getControls=Nc.prototype.Si,Nc.prototype.getOverlays=Nc.prototype.oj,Nc.prototype.getInteractions=Nc.prototype.bj,Nc.prototype.getLayerGroup=Nc.prototype.Ub,Nc.prototype.getLayers=Nc.prototype.vg,Nc.prototype.getPixelFromCoordinate=Nc.prototype.ta,Nc.prototype.getSize=Nc.prototype.xa,Nc.prototype.getView=Nc.prototype.R,Nc.prototype.getViewport=Nc.prototype.Bj,Nc.prototype.renderSync=Nc.prototype.Rn,Nc.prototype.render=Nc.prototype.render,Nc.prototype.removeControl=Nc.prototype.Ln,Nc.prototype.removeInteraction=Nc.prototype.Mn,Nc.prototype.removeLayer=Nc.prototype.Nn,Nc.prototype.removeOverlay=Nc.prototype.On,Nc.prototype.setLayerGroup=Nc.prototype.zh,Nc.prototype.setSize=Nc.prototype.vf,Nc.prototype.setTarget=Nc.prototype.cl,Nc.prototype.setView=Nc.prototype.jo,Nc.prototype.updateSize=Nc.prototype.Kc,Hr.prototype.originalEvent=Hr.prototype.originalEvent,Hr.prototype.pixel=Hr.prototype.pixel,Hr.prototype.coordinate=Hr.prototype.coordinate,Hr.prototype.dragging=Hr.prototype.dragging,Hr.prototype.preventDefault=Hr.prototype.preventDefault,Hr.prototype.stopPropagation=Hr.prototype.fb,_i.prototype.map=_i.prototype.map,_i.prototype.frameState=_i.prototype.frameState,ne.prototype.key=ne.prototype.key,ne.prototype.oldValue=ne.prototype.oldValue,e("ol.Object",re,nm),re.prototype.get=re.prototype.get,re.prototype.getKeys=re.prototype.C,re.prototype.getProperties=re.prototype.D,re.prototype.set=re.prototype.set,re.prototype.setProperties=re.prototype.t,re.prototype.unset=re.prototype.I,e("ol.Observable",oe,nm),e("ol.Observable.unByKey",ie,nm),oe.prototype.changed=oe.prototype.k,oe.prototype.getRevision=oe.prototype.v,oe.prototype.on=oe.prototype.r,oe.prototype.once=oe.prototype.A,oe.prototype.un=oe.prototype.u,oe.prototype.unByKey=oe.prototype.B,e("ol.inherits",v,nm),e("ol.Overlay",Ic,nm),Ic.prototype.getElement=Ic.prototype.$d,Ic.prototype.getMap=Ic.prototype.ae,Ic.prototype.getOffset=Ic.prototype.Yf,Ic.prototype.getPosition=Ic.prototype.wg,Ic.prototype.getPositioning=Ic.prototype.ag,Ic.prototype.setElement=Ic.prototype.wh,Ic.prototype.setMap=Ic.prototype.setMap,Ic.prototype.setOffset=Ic.prototype.Bh,Ic.prototype.setPosition=Ic.prototype.uf,Ic.prototype.setPositioning=Ic.prototype.Ch,e("ol.size.toSize",he,nm),nn.prototype.getTileCoord=nn.prototype.f,e("ol.View",Ao,nm),Ao.prototype.constrainCenter=Ao.prototype.xd,Ao.prototype.constrainResolution=Ao.prototype.constrainResolution,Ao.prototype.constrainRotation=Ao.prototype.constrainRotation,Ao.prototype.getCenter=Ao.prototype.Ca,Ao.prototype.calculateExtent=Ao.prototype.Pc,Ao.prototype.getProjection=Ao.prototype.dl,Ao.prototype.getResolution=Ao.prototype.ya,Ao.prototype.getRotation=Ao.prototype.Da,Ao.prototype.getZoom=Ao.prototype.Ej,Ao.prototype.fitExtent=Ao.prototype.Me,Ao.prototype.fitGeometry=Ao.prototype.Fi,Ao.prototype.centerOn=Ao.prototype.Ai,Ao.prototype.rotate=Ao.prototype.rotate,Ao.prototype.setCenter=Ao.prototype.Na,Ao.prototype.setResolution=Ao.prototype.tb,Ao.prototype.setRotation=Ao.prototype.be,Ao.prototype.setZoom=Ao.prototype.no,e("ol.xml.getAllTextContent",kh,nm),e("ol.xml.parse",Hh,nm),e("ol.webgl.Context",Xu,nm),Xu.prototype.getGL=Xu.prototype.Xm,Xu.prototype.getHitDetectionFramebuffer=Xu.prototype.Te,Xu.prototype.useProgram=Xu.prototype.oe,e("ol.tilegrid.TileGrid",yn,nm),yn.prototype.getMaxZoom=yn.prototype.Fd,yn.prototype.getMinZoom=yn.prototype.Hd,yn.prototype.getOrigin=yn.prototype.Mb,yn.prototype.getResolution=yn.prototype.ma,yn.prototype.getResolutions=yn.prototype.ne,yn.prototype.getTileCoordForCoordAndResolution=yn.prototype.Wb,yn.prototype.getTileCoordForCoordAndZ=yn.prototype.cd,yn.prototype.getTileSize=yn.prototype.na,e("ol.tilegrid.WMTS",$v,nm),$v.prototype.getMatrixIds=$v.prototype.q,e("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",Xv,nm),e("ol.tilegrid.XYZ",yv,nm),e("ol.tilegrid.Zoomify",Kv,nm),e("ol.style.AtlasManager",Zv,nm),e("ol.style.Circle",op,nm),op.prototype.getAnchor=op.prototype.mb,op.prototype.getFill=op.prototype.ym,op.prototype.getImage=op.prototype.Lb,op.prototype.getOrigin=op.prototype.rb,op.prototype.getRadius=op.prototype.zm,op.prototype.getSize=op.prototype.Xa,op.prototype.getStroke=op.prototype.Am,e("ol.style.Fill",ep,nm),ep.prototype.getColor=ep.prototype.c,ep.prototype.setColor=ep.prototype.d,e("ol.style.Icon",us,nm),us.prototype.getAnchor=us.prototype.mb,us.prototype.getImage=us.prototype.Lb,us.prototype.getOrigin=us.prototype.rb,us.prototype.getSrc=us.prototype.Bm,us.prototype.getSize=us.prototype.Xa,e("ol.style.Image",hs,nm),hs.prototype.getOpacity=hs.prototype.ie,hs.prototype.getRotateWithView=hs.prototype.Jd,hs.prototype.getRotation=hs.prototype.je,hs.prototype.getScale=hs.prototype.ke,hs.prototype.getSnapToPixel=hs.prototype.Kd,hs.prototype.setRotation=hs.prototype.le,hs.prototype.setScale=hs.prototype.me,e("ol.style.RegularShape",tm,nm),tm.prototype.getAnchor=tm.prototype.mb,tm.prototype.getAngle=tm.prototype.Cm,tm.prototype.getFill=tm.prototype.Dm,tm.prototype.getImage=tm.prototype.Lb,tm.prototype.getOrigin=tm.prototype.rb,tm.prototype.getPoints=tm.prototype.Em,tm.prototype.getRadius=tm.prototype.Fm,tm.prototype.getRadius2=tm.prototype.tj,tm.prototype.getSize=tm.prototype.Xa,tm.prototype.getStroke=tm.prototype.Gm,e("ol.style.Stroke",tp,nm),tp.prototype.getColor=tp.prototype.Hm,tp.prototype.getLineCap=tp.prototype.ej,tp.prototype.getLineDash=tp.prototype.Im,tp.prototype.getLineJoin=tp.prototype.fj,tp.prototype.getMiterLimit=tp.prototype.lj,tp.prototype.getWidth=tp.prototype.Jm,tp.prototype.setColor=tp.prototype.Km,tp.prototype.setLineCap=tp.prototype.Zn,tp.prototype.setLineDash=tp.prototype.Lm,tp.prototype.setLineJoin=tp.prototype.$n,tp.prototype.setMiterLimit=tp.prototype.ao,tp.prototype.setWidth=tp.prototype.ko,e("ol.style.Style",ip,nm),ip.prototype.getGeometry=ip.prototype.Q,ip.prototype.getGeometryFunction=ip.prototype.Zi,ip.prototype.getFill=ip.prototype.Mm,ip.prototype.getImage=ip.prototype.Nm,ip.prototype.getStroke=ip.prototype.Om,ip.prototype.getText=ip.prototype.Pm,ip.prototype.getZIndex=ip.prototype.Dj,ip.prototype.setGeometry=ip.prototype.Vg,ip.prototype.setZIndex=ip.prototype.mo,e("ol.style.Text",wy,nm),wy.prototype.getFont=wy.prototype.Wi,wy.prototype.getOffsetX=wy.prototype.mj,wy.prototype.getOffsetY=wy.prototype.nj,wy.prototype.getFill=wy.prototype.Qm,wy.prototype.getRotation=wy.prototype.Rm,wy.prototype.getScale=wy.prototype.Sm,wy.prototype.getStroke=wy.prototype.Tm,wy.prototype.getText=wy.prototype.Um,wy.prototype.getTextAlign=wy.prototype.xj,wy.prototype.getTextBaseline=wy.prototype.yj,wy.prototype.setFont=wy.prototype.Wn,wy.prototype.setFill=wy.prototype.Vn,wy.prototype.setRotation=wy.prototype.Vm,wy.prototype.setScale=wy.prototype.Wm,wy.prototype.setStroke=wy.prototype.eo,wy.prototype.setText=wy.prototype.fo,wy.prototype.setTextAlign=wy.prototype.ho,wy.prototype.setTextBaseline=wy.prototype.io,e("ol.Sphere",lo,nm),lo.prototype.geodesicArea=lo.prototype.a,lo.prototype.haversineDistance=lo.prototype.b,e("ol.source.BingMaps",dv,nm),e("ol.source.BingMaps.TOS_ATTRIBUTION",vM,nm),e("ol.source.Cluster",gv,nm),gv.prototype.getSource=gv.prototype.X,e("ol.source.ImageCanvas",Ul,nm),e("ol.source.ImageMapGuide",bv,nm),bv.prototype.getParams=bv.prototype.Tl,bv.prototype.getImageLoadFunction=bv.prototype.Sl,bv.prototype.updateParams=bv.prototype.Wl,bv.prototype.setImageLoadFunction=bv.prototype.Vl,e("ol.source.Image",Dl,nm),Bl.prototype.image=Bl.prototype.image,e("ol.source.ImageStatic",wv,nm),e("ol.source.ImageVector",bu,nm),bu.prototype.getSource=bu.prototype.Xl,bu.prototype.getStyle=bu.prototype.Yl,bu.prototype.getStyleFunction=bu.prototype.Zl,bu.prototype.setStyle=bu.prototype.Mg,e("ol.source.ImageWMS",xv,nm),xv.prototype.getGetFeatureInfoUrl=xv.prototype.bm,xv.prototype.getParams=xv.prototype.dm,xv.prototype.getImageLoadFunction=xv.prototype.cm,xv.prototype.getUrl=xv.prototype.em,xv.prototype.setImageLoadFunction=xv.prototype.fm,xv.prototype.setUrl=xv.prototype.gm,xv.prototype.updateParams=xv.prototype.hm,e("ol.source.MapQuest",Ev,nm),Ev.prototype.getLayer=Ev.prototype.i,e("ol.source.OSM",Cv,nm),e("ol.source.OSM.ATTRIBUTION",bM,nm),e("ol.source.Source",sn,nm),sn.prototype.getAttributions=sn.prototype.ea,sn.prototype.getLogo=sn.prototype.ca,sn.prototype.getProjection=sn.prototype.fa,sn.prototype.getState=sn.prototype.ga,e("ol.source.Stamen",Pv,nm),e("ol.source.TileArcGISRest",kv,nm),kv.prototype.getParams=kv.prototype.im,kv.prototype.getUrls=kv.prototype.jm,kv.prototype.setUrl=kv.prototype.km,kv.prototype.setUrls=kv.prototype.Ng,kv.prototype.updateParams=kv.prototype.mm,e("ol.source.TileDebug",Rv,nm),e("ol.source.TileImage",cv,nm),cv.prototype.getTileLoadFunction=cv.prototype.Ua,cv.prototype.getTileUrlFunction=cv.prototype.Va,cv.prototype.setTileLoadFunction=cv.prototype.$a,cv.prototype.setTileUrlFunction=cv.prototype.pa,e("ol.source.TileJSON",Lv,nm),e("ol.source.Tile",En,nm),En.prototype.getTileGrid=En.prototype.ua,An.prototype.tile=An.prototype.tile,e("ol.source.TileUTFGrid",Nv,nm),Nv.prototype.getTemplate=Nv.prototype.wj,Nv.prototype.forDataAtCoordinateAndResolution=Nv.prototype.Gi,e("ol.source.TileVector",Ov,nm),Ov.prototype.getFeatures=Ov.prototype.Dc,Ov.prototype.getFeaturesAtCoordinateAndResolution=Ov.prototype.Vi,e("ol.source.TileWMS",Uv,nm),Uv.prototype.getGetFeatureInfoUrl=Uv.prototype.pm,Uv.prototype.getParams=Uv.prototype.qm,Uv.prototype.getUrls=Uv.prototype.rm,Uv.prototype.setUrl=Uv.prototype.sm,Uv.prototype.setUrls=Uv.prototype.Og,Uv.prototype.updateParams=Uv.prototype.um,e("ol.source.Vector",cu,nm),cu.prototype.addFeature=cu.prototype.jf,cu.prototype.addFeatures=cu.prototype.Oc,cu.prototype.clear=cu.prototype.clear,cu.prototype.forEachFeature=cu.prototype.Rf,cu.prototype.forEachFeatureInExtent=cu.prototype.$c,cu.prototype.forEachFeatureIntersectingExtent=cu.prototype.Oe,cu.prototype.getFeatures=cu.prototype.Dc,cu.prototype.getFeaturesAtCoordinate=cu.prototype.Re,cu.prototype.getFeaturesInExtent=cu.prototype.Se,cu.prototype.getClosestFeatureToCoordinate=cu.prototype.Tf,cu.prototype.getExtent=cu.prototype.G,cu.prototype.getFeatureById=cu.prototype.Qe,cu.prototype.removeFeature=cu.prototype.Qg,mu.prototype.feature=mu.prototype.feature,e("ol.source.WMTS",Wv,nm),Wv.prototype.getDimensions=Wv.prototype.Ti,Wv.prototype.getFormat=Wv.prototype.Xi,Wv.prototype.getLayer=Wv.prototype.vm,Wv.prototype.getMatrixSet=Wv.prototype.jj,Wv.prototype.getRequestEncoding=Wv.prototype.uj,Wv.prototype.getStyle=Wv.prototype.wm,Wv.prototype.getUrls=Wv.prototype.xm,Wv.prototype.getVersion=Wv.prototype.Aj,Wv.prototype.updateDimensions=Wv.prototype.uo,e("ol.source.WMTS.optionsFromCapabilities",function(e,o){var i,n,r,s=R(e.Contents.Layer,function(t){return t.Identifier==o.layer});i=1<s.TileMatrixSetLink.length?L(s.TileMatrixSetLink,function(t){return t.TileMatrixSet==o.matrixSet}):t(o.projection)?L(s.TileMatrixSetLink,function(t){return t.TileMatrixSet.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")==o.projection}):0,0>i&&(i=0),n=s.TileMatrixSetLink[i].TileMatrixSet,i=s.WGS84BoundingBox,t(i)&&(r=xo("EPSG:4326").G(),r=i[0]==r[0]&&i[2]==r[2]);var a=s.Format[0];t(o.format)&&(a=o.format),i=L(s.Style,function(e){return t(o.style)?e.Title==o.style:e.isDefault}),0>i&&(i=0),i=s.Style[i].Identifier;var p={};t(s.Dimension)&&E(s.Dimension,function(e){var o=e.Identifier,i=e["default"];t(i)||(i=e.values[0]),p[o]=i});var l=R(e.Contents.TileMatrixSet,function(t){return t.Identifier==n}),h=Xv(l),l=xo(t(o.projection)?o.projection:l.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")),u=[],c=o.requestEncoding,c=t(c)?c:"";if(e.OperationsMetadata.hasOwnProperty("GetTile")&&0!=c.lastIndexOf("REST",0))for(var s=e.OperationsMetadata.GetTile.DCP.HTTP.Get,f=0,y=s.length;f<y;++f){var d=R(s[f].Constraint,function(t){return"GetEncoding"==t.name}).AllowedValues.Value;0<d.length&&N(d,"KVP")&&(c="KVP",u.push(s[f].href))}else c="REST",E(s.ResourceURL,function(t){"tile"==t.resourceType&&(a=t.format,u.push(t.template))});return{urls:u,layer:o.layer,matrixSet:n,format:a,projection:l,requestEncoding:c,tileGrid:h,style:i,dimensions:p,wrapX:r}},nm),e("ol.source.XYZ",Mv,nm),Mv.prototype.setTileUrlFunction=Mv.prototype.pa,Mv.prototype.setUrl=Mv.prototype.e,e("ol.source.Zoomify",Vv,nm),Ha.prototype.vectorContext=Ha.prototype.vectorContext,Ha.prototype.frameState=Ha.prototype.frameState,Ha.prototype.context=Ha.prototype.context,Ha.prototype.glContext=Ha.prototype.glContext,e("ol.render.VectorContext",qa,nm),hc.prototype.drawAsync=hc.prototype.tc,hc.prototype.drawCircleGeometry=hc.prototype.uc,hc.prototype.drawFeature=hc.prototype.Le,hc.prototype.drawGeometryCollectionGeometry=hc.prototype.zd,hc.prototype.drawPointGeometry=hc.prototype.kb,hc.prototype.drawLineStringGeometry=hc.prototype.zb,hc.prototype.drawMultiLineStringGeometry=hc.prototype.vc,hc.prototype.drawMultiPointGeometry=hc.prototype.jb,hc.prototype.drawMultiPolygonGeometry=hc.prototype.wc,hc.prototype.drawPolygonGeometry=hc.prototype.Rb,hc.prototype.drawText=hc.prototype.lb,hc.prototype.setFillStrokeStyle=hc.prototype.Aa,hc.prototype.setImageStyle=hc.prototype.Za,hc.prototype.setTextStyle=hc.prototype.Ba,jp.prototype.drawAsync=jp.prototype.tc,jp.prototype.drawCircleGeometry=jp.prototype.uc,jp.prototype.drawFeature=jp.prototype.Le,jp.prototype.drawPointGeometry=jp.prototype.kb,jp.prototype.drawMultiPointGeometry=jp.prototype.jb,jp.prototype.drawLineStringGeometry=jp.prototype.zb,jp.prototype.drawMultiLineStringGeometry=jp.prototype.vc,jp.prototype.drawPolygonGeometry=jp.prototype.Rb,jp.prototype.drawMultiPolygonGeometry=jp.prototype.wc,jp.prototype.setFillStrokeStyle=jp.prototype.Aa,jp.prototype.setImageStyle=jp.prototype.Za,jp.prototype.setTextStyle=jp.prototype.Ba,e("ol.proj.common.add",Ap,nm),e("ol.proj.METERS_PER_UNIT",Jm,nm),e("ol.proj.Projection",ho,nm),ho.prototype.getCode=ho.prototype.Ri,ho.prototype.getExtent=ho.prototype.G,ho.prototype.getUnits=ho.prototype.Ll,ho.prototype.getMetersPerUnit=ho.prototype.Gd,ho.prototype.getWorldExtent=ho.prototype.Cj,ho.prototype.isGlobal=ho.prototype.Ml,ho.prototype.setGlobal=ho.prototype.Yn,ho.prototype.setExtent=ho.prototype.Nl,ho.prototype.setWorldExtent=ho.prototype.lo,ho.prototype.setGetPointResolution=ho.prototype.Xn,ho.prototype.getPointResolution=ho.prototype.getPointResolution,e("ol.proj.addEquivalentProjections",co,nm),e("ol.proj.addProjection",yo,nm),e("ol.proj.addCoordinateTransforms",bo,nm),e("ol.proj.fromLonLat",function(e,o){return Po(e,"EPSG:4326",t(o)?o:"EPSG:3857")},nm),e("ol.proj.toLonLat",function(e,o){return Po(e,t(o)?o:"EPSG:3857","EPSG:4326")},nm),e("ol.proj.get",xo,nm),e("ol.proj.getTransform",To,nm),e("ol.proj.transform",Po,nm),e("ol.proj.transformExtent",ko,nm),e("ol.layer.Heatmap",Zg,nm),Zg.prototype.getBlur=Zg.prototype.Sf,Zg.prototype.getGradient=Zg.prototype.Wf,Zg.prototype.getRadius=Zg.prototype.Hg,Zg.prototype.setBlur=Zg.prototype.th,Zg.prototype.setGradient=Zg.prototype.yh,Zg.prototype.setRadius=Zg.prototype.Ig,e("ol.layer.Image",Rp,nm),Rp.prototype.getSource=Rp.prototype.da,e("ol.layer.Layer",Yr,nm),Yr.prototype.getSource=Yr.prototype.da,Yr.prototype.setSource=Yr.prototype.Jc,e("ol.layer.Base",Kr,nm),Kr.prototype.getBrightness=Kr.prototype.Bb,Kr.prototype.getContrast=Kr.prototype.Cb,Kr.prototype.getHue=Kr.prototype.Db,Kr.prototype.getExtent=Kr.prototype.G,Kr.prototype.getMaxResolution=Kr.prototype.Eb,Kr.prototype.getMinResolution=Kr.prototype.Fb,Kr.prototype.getOpacity=Kr.prototype.Kb,Kr.prototype.getSaturation=Kr.prototype.Gb,Kr.prototype.getVisible=Kr.prototype.eb,Kr.prototype.setBrightness=Kr.prototype.gc,Kr.prototype.setContrast=Kr.prototype.hc,Kr.prototype.setHue=Kr.prototype.ic,Kr.prototype.setExtent=Kr.prototype.bc,Kr.prototype.setMaxResolution=Kr.prototype.jc,Kr.prototype.setMinResolution=Kr.prototype.kc,Kr.prototype.setOpacity=Kr.prototype.cc,Kr.prototype.setSaturation=Kr.prototype.lc,Kr.prototype.setVisible=Kr.prototype.mc,e("ol.layer.Group",Mp,nm),Mp.prototype.getLayers=Mp.prototype.Bc,Mp.prototype.setLayers=Mp.prototype.Ah,e("ol.layer.Tile",Lp,nm),Lp.prototype.getPreload=Lp.prototype.a,Lp.prototype.getSource=Lp.prototype.da,Lp.prototype.setPreload=Lp.prototype.d,Lp.prototype.getUseInterimTilesOnError=Lp.prototype.c,Lp.prototype.setUseInterimTilesOnError=Lp.prototype.e,e("ol.layer.Vector",Np,nm),Np.prototype.getSource=Np.prototype.da,Np.prototype.getStyle=Np.prototype.H,Np.prototype.getStyleFunction=Np.prototype.J,Np.prototype.setStyle=Np.prototype.e,e("ol.interaction.DoubleClickZoom",js,nm),e("ol.interaction.DoubleClickZoom.handleEvent",Is,nm),e("ol.interaction.DragAndDrop",fg,nm),e("ol.interaction.DragAndDrop.handleEvent",lb,nm),yg.prototype.features=yg.prototype.features,yg.prototype.file=yg.prototype.file,yg.prototype.projection=yg.prototype.projection,za.prototype.coordinate=za.prototype.coordinate,e("ol.interaction.DragBox",Ka,nm),Ka.prototype.getGeometry=Ka.prototype.Q,e("ol.interaction.DragPan",Ws,nm),e("ol.interaction.DragRotateAndZoom",gg,nm),e("ol.interaction.DragRotate",Ys,nm),e("ol.interaction.DragZoom",pp,nm),wg.prototype.feature=wg.prototype.feature,e("ol.interaction.Draw",xg,nm),e("ol.interaction.Draw.handleEvent",Tg,nm),xg.prototype.finishDrawing=xg.prototype.X,e("ol.interaction.Interaction",As,nm),As.prototype.getActive=As.prototype.c,As.prototype.setActive=As.prototype.d,e("ol.interaction.defaults",Tp,nm),e("ol.interaction.KeyboardPan",lp,nm),e("ol.interaction.KeyboardPan.handleEvent",hp,nm),e("ol.interaction.KeyboardZoom",up,nm),e("ol.interaction.KeyboardZoom.handleEvent",cp,nm),e("ol.interaction.Modify",Ng,nm),e("ol.interaction.Modify.handleEvent",Bg,nm),e("ol.interaction.MouseWheelZoom",fp,nm),e("ol.interaction.MouseWheelZoom.handleEvent",yp,nm),e("ol.interaction.PinchRotate",dp,nm),e("ol.interaction.PinchZoom",bp,nm),e("ol.interaction.Pointer",Hs,nm),e("ol.interaction.Pointer.handleEvent",Xs,nm),Hg.prototype.selected=Hg.prototype.selected,Hg.prototype.deselected=Hg.prototype.deselected,e("ol.interaction.Select",$g,nm),$g.prototype.getFeatures=$g.prototype.p,e("ol.interaction.Select.handleEvent",Xg,nm),$g.prototype.setMap=$g.prototype.setMap,e("ol.interaction.Snap",zg,nm),zg.prototype.addFeature=zg.prototype.ed,zg.prototype.removeFeature=zg.prototype.fd,e("ol.geom.Circle",ll,nm),ll.prototype.clone=ll.prototype.clone,ll.prototype.getCenter=ll.prototype.dd,ll.prototype.getRadius=ll.prototype.zg,ll.prototype.getType=ll.prototype.M,ll.prototype.setCenter=ll.prototype.pl,ll.prototype.setCenterAndRadius=ll.prototype.uh,ll.prototype.setRadius=ll.prototype.Ag,ll.prototype.transform=ll.prototype.transform,e("ol.geom.Geometry",Qs,nm),Qs.prototype.getClosestPoint=Qs.prototype.e,Qs.prototype.getExtent=Qs.prototype.G,e("ol.geom.GeometryCollection",ul,nm),ul.prototype.clone=ul.prototype.clone,ul.prototype.getGeometries=ul.prototype.Vf,ul.prototype.getType=ul.prototype.M,ul.prototype.intersectsExtent=ul.prototype.ra,ul.prototype.setGeometries=ul.prototype.xh,ul.prototype.applyTransform=ul.prototype.qa,ul.prototype.translate=ul.prototype.Oa,e("ol.geom.LinearRing",xa,nm),xa.prototype.clone=xa.prototype.clone,xa.prototype.getArea=xa.prototype.rl,xa.prototype.getCoordinates=xa.prototype.K,xa.prototype.getType=xa.prototype.M,xa.prototype.setCoordinates=xa.prototype.W,e("ol.geom.LineString",ml,nm),ml.prototype.appendCoordinate=ml.prototype.ui,ml.prototype.clone=ml.prototype.clone,ml.prototype.forEachSegment=ml.prototype.Ji,ml.prototype.getCoordinateAtM=ml.prototype.ql,ml.prototype.getCoordinates=ml.prototype.K,ml.prototype.getLength=ml.prototype.Bg,ml.prototype.getType=ml.prototype.M,ml.prototype.intersectsExtent=ml.prototype.ra,ml.prototype.setCoordinates=ml.prototype.W,e("ol.geom.MultiLineString",xl,nm),xl.prototype.appendLineString=xl.prototype.vi,xl.prototype.clone=xl.prototype.clone,xl.prototype.getCoordinateAtM=xl.prototype.sl,xl.prototype.getCoordinates=xl.prototype.K,xl.prototype.getLineString=xl.prototype.gj,xl.prototype.getLineStrings=xl.prototype.ad,xl.prototype.getType=xl.prototype.M,xl.prototype.intersectsExtent=xl.prototype.ra,xl.prototype.setCoordinates=xl.prototype.W,e("ol.geom.MultiPoint",Cl,nm),Cl.prototype.appendPoint=Cl.prototype.xi,Cl.prototype.clone=Cl.prototype.clone,Cl.prototype.getCoordinates=Cl.prototype.K,Cl.prototype.getPoint=Cl.prototype.qj,Cl.prototype.getPoints=Cl.prototype.ce,Cl.prototype.getType=Cl.prototype.M,Cl.prototype.intersectsExtent=Cl.prototype.ra,Cl.prototype.setCoordinates=Cl.prototype.W,e("ol.geom.MultiPolygon",El,nm),El.prototype.appendPolygon=El.prototype.yi,El.prototype.clone=El.prototype.clone,El.prototype.getArea=El.prototype.tl,El.prototype.getCoordinates=El.prototype.K,El.prototype.getInteriorPoints=El.prototype.dj,El.prototype.getPolygon=El.prototype.sj,El.prototype.getPolygons=El.prototype.Id,El.prototype.getType=El.prototype.M,El.prototype.intersectsExtent=El.prototype.ra,El.prototype.setCoordinates=El.prototype.W,e("ol.geom.Point",Ta,nm),Ta.prototype.clone=Ta.prototype.clone,Ta.prototype.getCoordinates=Ta.prototype.K,Ta.prototype.getType=Ta.prototype.M,Ta.prototype.intersectsExtent=Ta.prototype.ra,Ta.prototype.setCoordinates=Ta.prototype.W,e("ol.geom.Polygon",Fa,nm),Fa.prototype.appendLinearRing=Fa.prototype.wi,Fa.prototype.clone=Fa.prototype.clone,Fa.prototype.getArea=Fa.prototype.ul,Fa.prototype.getCoordinates=Fa.prototype.K,Fa.prototype.getInteriorPoint=Fa.prototype.cj,Fa.prototype.getLinearRingCount=Fa.prototype.ij,Fa.prototype.getLinearRing=Fa.prototype.hj,Fa.prototype.getLinearRings=Fa.prototype.Ed,Fa.prototype.getType=Fa.prototype.M,Fa.prototype.intersectsExtent=Fa.prototype.ra,Fa.prototype.setCoordinates=Fa.prototype.W,e("ol.geom.Polygon.circular",Ga,nm),e("ol.geom.Polygon.fromExtent",function(t){var e=t[0],o=t[1],i=t[2];return t=t[3],e=[e,o,e,t,i,t,i,o,e,o],o=new Fa(null),Ua(o,"XY",e,[e.length]),o},nm),e("ol.geom.SimpleGeometry",ea,nm),ea.prototype.getFirstCoordinate=ea.prototype.ob,ea.prototype.getLastCoordinate=ea.prototype.pb,ea.prototype.getLayout=ea.prototype.qb,ea.prototype.applyTransform=ea.prototype.qa,ea.prototype.translate=ea.prototype.Oa,e("ol.format.EsriJSON",gf,nm),gf.prototype.readFeature=gf.prototype.sb,gf.prototype.readFeatures=gf.prototype.ja,gf.prototype.readGeometry=gf.prototype.Gc, +gf.prototype.readProjection=gf.prototype.za,gf.prototype.writeGeometry=gf.prototype.Mc,gf.prototype.writeGeometryObject=gf.prototype.Be,gf.prototype.writeFeature=gf.prototype.qd,gf.prototype.writeFeatureObject=gf.prototype.Lc,gf.prototype.writeFeatures=gf.prototype.ub,gf.prototype.writeFeaturesObject=gf.prototype.ze,e("ol.format.Feature",hf,nm),e("ol.format.GeoJSON",xf,nm),xf.prototype.readFeature=xf.prototype.sb,xf.prototype.readFeatures=xf.prototype.ja,xf.prototype.readGeometry=xf.prototype.Gc,xf.prototype.readProjection=xf.prototype.za,xf.prototype.writeFeature=xf.prototype.qd,xf.prototype.writeFeatureObject=xf.prototype.Lc,xf.prototype.writeFeatures=xf.prototype.ub,xf.prototype.writeFeaturesObject=xf.prototype.ze,xf.prototype.writeGeometry=xf.prototype.Mc,xf.prototype.writeGeometryObject=xf.prototype.Be,e("ol.format.GPX",$f,nm),$f.prototype.readFeature=$f.prototype.sb,$f.prototype.readFeatures=$f.prototype.ja,$f.prototype.readProjection=$f.prototype.za,$f.prototype.writeFeatures=$f.prototype.ub,$f.prototype.writeFeaturesNode=$f.prototype.a,e("ol.format.IGC",ny,nm),ny.prototype.readFeature=ny.prototype.sb,ny.prototype.readFeatures=ny.prototype.ja,ny.prototype.readProjection=ny.prototype.za,e("ol.format.KML",xy,nm),xy.prototype.readFeature=xy.prototype.sb,xy.prototype.readFeatures=xy.prototype.ja,xy.prototype.readName=xy.prototype.Dn,xy.prototype.readNetworkLinks=xy.prototype.En,xy.prototype.readProjection=xy.prototype.za,xy.prototype.writeFeatures=xy.prototype.ub,xy.prototype.writeFeaturesNode=xy.prototype.a,e("ol.format.OSMXML",Yy,nm),Yy.prototype.readFeatures=Yy.prototype.ja,Yy.prototype.readProjection=Yy.prototype.za,e("ol.format.Polyline",ed,nm),e("ol.format.Polyline.encodeDeltas",od,nm),e("ol.format.Polyline.decodeDeltas",id,nm),e("ol.format.Polyline.encodeFloats",nd,nm),e("ol.format.Polyline.decodeFloats",rd,nm),ed.prototype.readFeature=ed.prototype.sb,ed.prototype.readFeatures=ed.prototype.ja,ed.prototype.readGeometry=ed.prototype.Gc,ed.prototype.readProjection=ed.prototype.za,ed.prototype.writeGeometry=ed.prototype.Mc,e("ol.format.TopoJSON",sd,nm),sd.prototype.readFeatures=sd.prototype.ja,sd.prototype.readProjection=sd.prototype.za,e("ol.format.WFS",ud,nm),ud.prototype.readFeatures=ud.prototype.ja,ud.prototype.readTransactionResponse=ud.prototype.g,ud.prototype.readFeatureCollectionMetadata=ud.prototype.f,ud.prototype.writeGetFeature=ud.prototype.i,ud.prototype.writeTransaction=ud.prototype.o,ud.prototype.readProjection=ud.prototype.za,e("ol.format.WKT",gd,nm),gd.prototype.readFeature=gd.prototype.sb,gd.prototype.readFeatures=gd.prototype.ja,gd.prototype.readGeometry=gd.prototype.Gc,gd.prototype.writeFeature=gd.prototype.qd,gd.prototype.writeFeatures=gd.prototype.ub,gd.prototype.writeGeometry=gd.prototype.Mc,e("ol.format.WMSCapabilities",Ld,nm),Ld.prototype.read=Ld.prototype.c,e("ol.format.WMSGetFeatureInfo",Fd,nm),Fd.prototype.readFeatures=Fd.prototype.ja,e("ol.format.WMTSCapabilities",Bd,nm),Bd.prototype.read=Bd.prototype.c,e("ol.format.GML2",Hf,nm),e("ol.format.GML3",Gf,nm),Gf.prototype.writeGeometryNode=Gf.prototype.q,Gf.prototype.writeFeatures=Gf.prototype.ub,Gf.prototype.writeFeaturesNode=Gf.prototype.a,e("ol.format.GML",Gf,nm),Gf.prototype.writeFeatures=Gf.prototype.ub,Gf.prototype.writeFeaturesNode=Gf.prototype.a,Pf.prototype.readFeatures=Pf.prototype.ja,e("ol.events.condition.altKeyOnly",function(t){return t=t.b,t.a&&!t.g&&!t.d},nm),e("ol.events.condition.altShiftKeysOnly",Ds,nm),e("ol.events.condition.always",lb,nm),e("ol.events.condition.click",function(t){return t.type==Vb},nm),e("ol.events.condition.never",pb,nm),e("ol.events.condition.pointerMove",Fs,nm),e("ol.events.condition.singleClick",Os,nm),e("ol.events.condition.noModifierKeys",Bs,nm),e("ol.events.condition.platformModifierKeyOnly",function(t){return t=t.b,!t.a&&t.g&&!t.d},nm),e("ol.events.condition.shiftKeyOnly",Us,nm),e("ol.events.condition.targetNotEditable",Gs,nm),e("ol.events.condition.mouseOnly",qs,nm),e("ol.control.Attribution",Rn,nm),e("ol.control.Attribution.render",Ln,nm),Rn.prototype.getCollapsible=Rn.prototype.fl,Rn.prototype.setCollapsible=Rn.prototype.il,Rn.prototype.setCollapsed=Rn.prototype.hl,Rn.prototype.getCollapsed=Rn.prototype.el,e("ol.control.Control",Ji,nm),Ji.prototype.getMap=Ji.prototype.e,Ji.prototype.setMap=Ji.prototype.setMap,Ji.prototype.setTarget=Ji.prototype.c,e("ol.control.defaults",Fn,nm),e("ol.control.FullScreen",Gn,nm),e("ol.control.MousePosition",qn,nm),e("ol.control.MousePosition.render",Hn,nm),qn.prototype.getCoordinateFormat=qn.prototype.Uf,qn.prototype.getProjection=qn.prototype.xg,qn.prototype.setMap=qn.prototype.setMap,qn.prototype.setCoordinateFormat=qn.prototype.vh,qn.prototype.setProjection=qn.prototype.yg,e("ol.control.OverviewMap",Oc,nm),Oc.prototype.setMap=Oc.prototype.setMap,e("ol.control.OverviewMap.render",Bc,nm),Oc.prototype.getCollapsible=Oc.prototype.ll,Oc.prototype.setCollapsible=Oc.prototype.ol,Oc.prototype.setCollapsed=Oc.prototype.nl,Oc.prototype.getCollapsed=Oc.prototype.kl,e("ol.control.Rotate",jn,nm),e("ol.control.Rotate.render",In,nm),e("ol.control.ScaleLine",Hc,nm),Hc.prototype.getUnits=Hc.prototype.p,e("ol.control.ScaleLine.render",$c,nm),Hc.prototype.setUnits=Hc.prototype.J,e("ol.control.Zoom",Dn,nm),e("ol.control.ZoomSlider",tf,nm),e("ol.control.ZoomSlider.render",ef,nm),e("ol.control.ZoomToExtent",rf,nm),e("ol.color.asArray",ii,nm),e("ol.color.asString",ni,nm),re.prototype.changed=re.prototype.k,re.prototype.getRevision=re.prototype.v,re.prototype.on=re.prototype.r,re.prototype.once=re.prototype.A,re.prototype.un=re.prototype.u,re.prototype.unByKey=re.prototype.B,ei.prototype.get=ei.prototype.get,ei.prototype.getKeys=ei.prototype.C,ei.prototype.getProperties=ei.prototype.D,ei.prototype.set=ei.prototype.set,ei.prototype.setProperties=ei.prototype.t,ei.prototype.unset=ei.prototype.I,ei.prototype.changed=ei.prototype.k,ei.prototype.getRevision=ei.prototype.v,ei.prototype.on=ei.prototype.r,ei.prototype.once=ei.prototype.A,ei.prototype.un=ei.prototype.u,ei.prototype.unByKey=ei.prototype.B,sf.prototype.get=sf.prototype.get,sf.prototype.getKeys=sf.prototype.C,sf.prototype.getProperties=sf.prototype.D,sf.prototype.set=sf.prototype.set,sf.prototype.setProperties=sf.prototype.t,sf.prototype.unset=sf.prototype.I,sf.prototype.changed=sf.prototype.k,sf.prototype.getRevision=sf.prototype.v,sf.prototype.on=sf.prototype.r,sf.prototype.once=sf.prototype.A,sf.prototype.un=sf.prototype.u,sf.prototype.unByKey=sf.prototype.B,af.prototype.get=af.prototype.get,af.prototype.getKeys=af.prototype.C,af.prototype.getProperties=af.prototype.D,af.prototype.set=af.prototype.set,af.prototype.setProperties=af.prototype.t,af.prototype.unset=af.prototype.I,af.prototype.changed=af.prototype.k,af.prototype.getRevision=af.prototype.v,af.prototype.on=af.prototype.r,af.prototype.once=af.prototype.A,af.prototype.un=af.prototype.u,af.prototype.unByKey=af.prototype.B,Gd.prototype.get=Gd.prototype.get,Gd.prototype.getKeys=Gd.prototype.C,Gd.prototype.getProperties=Gd.prototype.D,Gd.prototype.set=Gd.prototype.set,Gd.prototype.setProperties=Gd.prototype.t,Gd.prototype.unset=Gd.prototype.I,Gd.prototype.changed=Gd.prototype.k,Gd.prototype.getRevision=Gd.prototype.v,Gd.prototype.on=Gd.prototype.r,Gd.prototype.once=Gd.prototype.A,Gd.prototype.un=Gd.prototype.u,Gd.prototype.unByKey=Gd.prototype.B,Vd.prototype.getTileCoord=Vd.prototype.f,Nc.prototype.get=Nc.prototype.get,Nc.prototype.getKeys=Nc.prototype.C,Nc.prototype.getProperties=Nc.prototype.D,Nc.prototype.set=Nc.prototype.set,Nc.prototype.setProperties=Nc.prototype.t,Nc.prototype.unset=Nc.prototype.I,Nc.prototype.changed=Nc.prototype.k,Nc.prototype.getRevision=Nc.prototype.v,Nc.prototype.on=Nc.prototype.r,Nc.prototype.once=Nc.prototype.A,Nc.prototype.un=Nc.prototype.u,Nc.prototype.unByKey=Nc.prototype.B,Hr.prototype.map=Hr.prototype.map,Hr.prototype.frameState=Hr.prototype.frameState,$r.prototype.originalEvent=$r.prototype.originalEvent,$r.prototype.pixel=$r.prototype.pixel,$r.prototype.coordinate=$r.prototype.coordinate,$r.prototype.dragging=$r.prototype.dragging,$r.prototype.preventDefault=$r.prototype.preventDefault,$r.prototype.stopPropagation=$r.prototype.fb,$r.prototype.map=$r.prototype.map,$r.prototype.frameState=$r.prototype.frameState,Ic.prototype.get=Ic.prototype.get,Ic.prototype.getKeys=Ic.prototype.C,Ic.prototype.getProperties=Ic.prototype.D,Ic.prototype.set=Ic.prototype.set,Ic.prototype.setProperties=Ic.prototype.t,Ic.prototype.unset=Ic.prototype.I,Ic.prototype.changed=Ic.prototype.k,Ic.prototype.getRevision=Ic.prototype.v,Ic.prototype.on=Ic.prototype.r,Ic.prototype.once=Ic.prototype.A,Ic.prototype.un=Ic.prototype.u,Ic.prototype.unByKey=Ic.prototype.B,Ao.prototype.get=Ao.prototype.get,Ao.prototype.getKeys=Ao.prototype.C,Ao.prototype.getProperties=Ao.prototype.D,Ao.prototype.set=Ao.prototype.set,Ao.prototype.setProperties=Ao.prototype.t,Ao.prototype.unset=Ao.prototype.I,Ao.prototype.changed=Ao.prototype.k,Ao.prototype.getRevision=Ao.prototype.v,Ao.prototype.on=Ao.prototype.r,Ao.prototype.once=Ao.prototype.A,Ao.prototype.un=Ao.prototype.u,Ao.prototype.unByKey=Ao.prototype.B,$v.prototype.getMaxZoom=$v.prototype.Fd,$v.prototype.getMinZoom=$v.prototype.Hd,$v.prototype.getOrigin=$v.prototype.Mb,$v.prototype.getResolution=$v.prototype.ma,$v.prototype.getResolutions=$v.prototype.ne,$v.prototype.getTileCoordForCoordAndResolution=$v.prototype.Wb,$v.prototype.getTileCoordForCoordAndZ=$v.prototype.cd,$v.prototype.getTileSize=$v.prototype.na,yv.prototype.getMaxZoom=yv.prototype.Fd,yv.prototype.getMinZoom=yv.prototype.Hd,yv.prototype.getOrigin=yv.prototype.Mb,yv.prototype.getResolution=yv.prototype.ma,yv.prototype.getResolutions=yv.prototype.ne,yv.prototype.getTileCoordForCoordAndResolution=yv.prototype.Wb,yv.prototype.getTileCoordForCoordAndZ=yv.prototype.cd,yv.prototype.getTileSize=yv.prototype.na,Kv.prototype.getMaxZoom=Kv.prototype.Fd,Kv.prototype.getMinZoom=Kv.prototype.Hd,Kv.prototype.getOrigin=Kv.prototype.Mb,Kv.prototype.getResolution=Kv.prototype.ma,Kv.prototype.getResolutions=Kv.prototype.ne,Kv.prototype.getTileCoordForCoordAndResolution=Kv.prototype.Wb,Kv.prototype.getTileCoordForCoordAndZ=Kv.prototype.cd,Kv.prototype.getTileSize=Kv.prototype.na,op.prototype.getOpacity=op.prototype.ie,op.prototype.getRotateWithView=op.prototype.Jd,op.prototype.getRotation=op.prototype.je,op.prototype.getScale=op.prototype.ke,op.prototype.getSnapToPixel=op.prototype.Kd,op.prototype.setRotation=op.prototype.le,op.prototype.setScale=op.prototype.me,us.prototype.getOpacity=us.prototype.ie,us.prototype.getRotateWithView=us.prototype.Jd,us.prototype.getRotation=us.prototype.je,us.prototype.getScale=us.prototype.ke,us.prototype.getSnapToPixel=us.prototype.Kd,us.prototype.setRotation=us.prototype.le,us.prototype.setScale=us.prototype.me,tm.prototype.getOpacity=tm.prototype.ie,tm.prototype.getRotateWithView=tm.prototype.Jd,tm.prototype.getRotation=tm.prototype.je,tm.prototype.getScale=tm.prototype.ke,tm.prototype.getSnapToPixel=tm.prototype.Kd,tm.prototype.setRotation=tm.prototype.le,tm.prototype.setScale=tm.prototype.me,sn.prototype.get=sn.prototype.get,sn.prototype.getKeys=sn.prototype.C,sn.prototype.getProperties=sn.prototype.D,sn.prototype.set=sn.prototype.set,sn.prototype.setProperties=sn.prototype.t,sn.prototype.unset=sn.prototype.I,sn.prototype.changed=sn.prototype.k,sn.prototype.getRevision=sn.prototype.v,sn.prototype.on=sn.prototype.r,sn.prototype.once=sn.prototype.A,sn.prototype.un=sn.prototype.u,sn.prototype.unByKey=sn.prototype.B,En.prototype.getAttributions=En.prototype.ea,En.prototype.getLogo=En.prototype.ca,En.prototype.getProjection=En.prototype.fa,En.prototype.getState=En.prototype.ga,En.prototype.get=En.prototype.get,En.prototype.getKeys=En.prototype.C,En.prototype.getProperties=En.prototype.D,En.prototype.set=En.prototype.set,En.prototype.setProperties=En.prototype.t,En.prototype.unset=En.prototype.I,En.prototype.changed=En.prototype.k,En.prototype.getRevision=En.prototype.v,En.prototype.on=En.prototype.r,En.prototype.once=En.prototype.A,En.prototype.un=En.prototype.u,En.prototype.unByKey=En.prototype.B,cv.prototype.getTileGrid=cv.prototype.ua,cv.prototype.getAttributions=cv.prototype.ea,cv.prototype.getLogo=cv.prototype.ca,cv.prototype.getProjection=cv.prototype.fa,cv.prototype.getState=cv.prototype.ga,cv.prototype.get=cv.prototype.get,cv.prototype.getKeys=cv.prototype.C,cv.prototype.getProperties=cv.prototype.D,cv.prototype.set=cv.prototype.set,cv.prototype.setProperties=cv.prototype.t,cv.prototype.unset=cv.prototype.I,cv.prototype.changed=cv.prototype.k,cv.prototype.getRevision=cv.prototype.v,cv.prototype.on=cv.prototype.r,cv.prototype.once=cv.prototype.A,cv.prototype.un=cv.prototype.u,cv.prototype.unByKey=cv.prototype.B,dv.prototype.getTileLoadFunction=dv.prototype.Ua,dv.prototype.getTileUrlFunction=dv.prototype.Va,dv.prototype.setTileLoadFunction=dv.prototype.$a,dv.prototype.setTileUrlFunction=dv.prototype.pa,dv.prototype.getTileGrid=dv.prototype.ua,dv.prototype.getAttributions=dv.prototype.ea,dv.prototype.getLogo=dv.prototype.ca,dv.prototype.getProjection=dv.prototype.fa,dv.prototype.getState=dv.prototype.ga,dv.prototype.get=dv.prototype.get,dv.prototype.getKeys=dv.prototype.C,dv.prototype.getProperties=dv.prototype.D,dv.prototype.set=dv.prototype.set,dv.prototype.setProperties=dv.prototype.t,dv.prototype.unset=dv.prototype.I,dv.prototype.changed=dv.prototype.k,dv.prototype.getRevision=dv.prototype.v,dv.prototype.on=dv.prototype.r,dv.prototype.once=dv.prototype.A,dv.prototype.un=dv.prototype.u,dv.prototype.unByKey=dv.prototype.B,cu.prototype.getAttributions=cu.prototype.ea,cu.prototype.getLogo=cu.prototype.ca,cu.prototype.getProjection=cu.prototype.fa,cu.prototype.getState=cu.prototype.ga,cu.prototype.get=cu.prototype.get,cu.prototype.getKeys=cu.prototype.C,cu.prototype.getProperties=cu.prototype.D,cu.prototype.set=cu.prototype.set,cu.prototype.setProperties=cu.prototype.t,cu.prototype.unset=cu.prototype.I,cu.prototype.changed=cu.prototype.k,cu.prototype.getRevision=cu.prototype.v,cu.prototype.on=cu.prototype.r,cu.prototype.once=cu.prototype.A,cu.prototype.un=cu.prototype.u,cu.prototype.unByKey=cu.prototype.B,gv.prototype.addFeature=gv.prototype.jf,gv.prototype.addFeatures=gv.prototype.Oc,gv.prototype.clear=gv.prototype.clear,gv.prototype.forEachFeature=gv.prototype.Rf,gv.prototype.forEachFeatureInExtent=gv.prototype.$c,gv.prototype.forEachFeatureIntersectingExtent=gv.prototype.Oe,gv.prototype.getFeatures=gv.prototype.Dc,gv.prototype.getFeaturesAtCoordinate=gv.prototype.Re,gv.prototype.getFeaturesInExtent=gv.prototype.Se,gv.prototype.getClosestFeatureToCoordinate=gv.prototype.Tf,gv.prototype.getExtent=gv.prototype.G,gv.prototype.getFeatureById=gv.prototype.Qe,gv.prototype.removeFeature=gv.prototype.Qg,gv.prototype.getAttributions=gv.prototype.ea,gv.prototype.getLogo=gv.prototype.ca,gv.prototype.getProjection=gv.prototype.fa,gv.prototype.getState=gv.prototype.ga,gv.prototype.get=gv.prototype.get,gv.prototype.getKeys=gv.prototype.C,gv.prototype.getProperties=gv.prototype.D,gv.prototype.set=gv.prototype.set,gv.prototype.setProperties=gv.prototype.t,gv.prototype.unset=gv.prototype.I,gv.prototype.changed=gv.prototype.k,gv.prototype.getRevision=gv.prototype.v,gv.prototype.on=gv.prototype.r,gv.prototype.once=gv.prototype.A,gv.prototype.un=gv.prototype.u,gv.prototype.unByKey=gv.prototype.B,Dl.prototype.getAttributions=Dl.prototype.ea,Dl.prototype.getLogo=Dl.prototype.ca,Dl.prototype.getProjection=Dl.prototype.fa,Dl.prototype.getState=Dl.prototype.ga,Dl.prototype.get=Dl.prototype.get,Dl.prototype.getKeys=Dl.prototype.C,Dl.prototype.getProperties=Dl.prototype.D,Dl.prototype.set=Dl.prototype.set,Dl.prototype.setProperties=Dl.prototype.t,Dl.prototype.unset=Dl.prototype.I,Dl.prototype.changed=Dl.prototype.k,Dl.prototype.getRevision=Dl.prototype.v,Dl.prototype.on=Dl.prototype.r,Dl.prototype.once=Dl.prototype.A,Dl.prototype.un=Dl.prototype.u,Dl.prototype.unByKey=Dl.prototype.B,Ul.prototype.getAttributions=Ul.prototype.ea,Ul.prototype.getLogo=Ul.prototype.ca,Ul.prototype.getProjection=Ul.prototype.fa,Ul.prototype.getState=Ul.prototype.ga,Ul.prototype.get=Ul.prototype.get,Ul.prototype.getKeys=Ul.prototype.C,Ul.prototype.getProperties=Ul.prototype.D,Ul.prototype.set=Ul.prototype.set,Ul.prototype.setProperties=Ul.prototype.t,Ul.prototype.unset=Ul.prototype.I,Ul.prototype.changed=Ul.prototype.k,Ul.prototype.getRevision=Ul.prototype.v,Ul.prototype.on=Ul.prototype.r,Ul.prototype.once=Ul.prototype.A,Ul.prototype.un=Ul.prototype.u,Ul.prototype.unByKey=Ul.prototype.B,bv.prototype.getAttributions=bv.prototype.ea,bv.prototype.getLogo=bv.prototype.ca,bv.prototype.getProjection=bv.prototype.fa,bv.prototype.getState=bv.prototype.ga,bv.prototype.get=bv.prototype.get,bv.prototype.getKeys=bv.prototype.C,bv.prototype.getProperties=bv.prototype.D,bv.prototype.set=bv.prototype.set,bv.prototype.setProperties=bv.prototype.t,bv.prototype.unset=bv.prototype.I,bv.prototype.changed=bv.prototype.k,bv.prototype.getRevision=bv.prototype.v,bv.prototype.on=bv.prototype.r,bv.prototype.once=bv.prototype.A,bv.prototype.un=bv.prototype.u,bv.prototype.unByKey=bv.prototype.B,wv.prototype.getAttributions=wv.prototype.ea,wv.prototype.getLogo=wv.prototype.ca,wv.prototype.getProjection=wv.prototype.fa,wv.prototype.getState=wv.prototype.ga,wv.prototype.get=wv.prototype.get,wv.prototype.getKeys=wv.prototype.C,wv.prototype.getProperties=wv.prototype.D,wv.prototype.set=wv.prototype.set,wv.prototype.setProperties=wv.prototype.t,wv.prototype.unset=wv.prototype.I,wv.prototype.changed=wv.prototype.k,wv.prototype.getRevision=wv.prototype.v,wv.prototype.on=wv.prototype.r,wv.prototype.once=wv.prototype.A,wv.prototype.un=wv.prototype.u,wv.prototype.unByKey=wv.prototype.B,bu.prototype.getAttributions=bu.prototype.ea,bu.prototype.getLogo=bu.prototype.ca,bu.prototype.getProjection=bu.prototype.fa,bu.prototype.getState=bu.prototype.ga,bu.prototype.get=bu.prototype.get,bu.prototype.getKeys=bu.prototype.C,bu.prototype.getProperties=bu.prototype.D,bu.prototype.set=bu.prototype.set,bu.prototype.setProperties=bu.prototype.t,bu.prototype.unset=bu.prototype.I,bu.prototype.changed=bu.prototype.k,bu.prototype.getRevision=bu.prototype.v,bu.prototype.on=bu.prototype.r,bu.prototype.once=bu.prototype.A,bu.prototype.un=bu.prototype.u,bu.prototype.unByKey=bu.prototype.B,xv.prototype.getAttributions=xv.prototype.ea,xv.prototype.getLogo=xv.prototype.ca,xv.prototype.getProjection=xv.prototype.fa,xv.prototype.getState=xv.prototype.ga,xv.prototype.get=xv.prototype.get,xv.prototype.getKeys=xv.prototype.C,xv.prototype.getProperties=xv.prototype.D,xv.prototype.set=xv.prototype.set,xv.prototype.setProperties=xv.prototype.t,xv.prototype.unset=xv.prototype.I,xv.prototype.changed=xv.prototype.k,xv.prototype.getRevision=xv.prototype.v,xv.prototype.on=xv.prototype.r,xv.prototype.once=xv.prototype.A,xv.prototype.un=xv.prototype.u,xv.prototype.unByKey=xv.prototype.B,Mv.prototype.getTileLoadFunction=Mv.prototype.Ua,Mv.prototype.getTileUrlFunction=Mv.prototype.Va,Mv.prototype.setTileLoadFunction=Mv.prototype.$a,Mv.prototype.getTileGrid=Mv.prototype.ua,Mv.prototype.getAttributions=Mv.prototype.ea,Mv.prototype.getLogo=Mv.prototype.ca,Mv.prototype.getProjection=Mv.prototype.fa,Mv.prototype.getState=Mv.prototype.ga,Mv.prototype.get=Mv.prototype.get,Mv.prototype.getKeys=Mv.prototype.C,Mv.prototype.getProperties=Mv.prototype.D,Mv.prototype.set=Mv.prototype.set,Mv.prototype.setProperties=Mv.prototype.t,Mv.prototype.unset=Mv.prototype.I,Mv.prototype.changed=Mv.prototype.k,Mv.prototype.getRevision=Mv.prototype.v,Mv.prototype.on=Mv.prototype.r,Mv.prototype.once=Mv.prototype.A,Mv.prototype.un=Mv.prototype.u,Mv.prototype.unByKey=Mv.prototype.B,Ev.prototype.setTileUrlFunction=Ev.prototype.pa,Ev.prototype.setUrl=Ev.prototype.e,Ev.prototype.getTileLoadFunction=Ev.prototype.Ua,Ev.prototype.getTileUrlFunction=Ev.prototype.Va,Ev.prototype.setTileLoadFunction=Ev.prototype.$a,Ev.prototype.getTileGrid=Ev.prototype.ua,Ev.prototype.getAttributions=Ev.prototype.ea,Ev.prototype.getLogo=Ev.prototype.ca,Ev.prototype.getProjection=Ev.prototype.fa,Ev.prototype.getState=Ev.prototype.ga,Ev.prototype.get=Ev.prototype.get,Ev.prototype.getKeys=Ev.prototype.C,Ev.prototype.getProperties=Ev.prototype.D,Ev.prototype.set=Ev.prototype.set,Ev.prototype.setProperties=Ev.prototype.t,Ev.prototype.unset=Ev.prototype.I,Ev.prototype.changed=Ev.prototype.k,Ev.prototype.getRevision=Ev.prototype.v,Ev.prototype.on=Ev.prototype.r,Ev.prototype.once=Ev.prototype.A,Ev.prototype.un=Ev.prototype.u,Ev.prototype.unByKey=Ev.prototype.B,Cv.prototype.setTileUrlFunction=Cv.prototype.pa,Cv.prototype.setUrl=Cv.prototype.e,Cv.prototype.getTileLoadFunction=Cv.prototype.Ua,Cv.prototype.getTileUrlFunction=Cv.prototype.Va,Cv.prototype.setTileLoadFunction=Cv.prototype.$a,Cv.prototype.getTileGrid=Cv.prototype.ua,Cv.prototype.getAttributions=Cv.prototype.ea,Cv.prototype.getLogo=Cv.prototype.ca,Cv.prototype.getProjection=Cv.prototype.fa,Cv.prototype.getState=Cv.prototype.ga,Cv.prototype.get=Cv.prototype.get,Cv.prototype.getKeys=Cv.prototype.C,Cv.prototype.getProperties=Cv.prototype.D,Cv.prototype.set=Cv.prototype.set,Cv.prototype.setProperties=Cv.prototype.t,Cv.prototype.unset=Cv.prototype.I,Cv.prototype.changed=Cv.prototype.k,Cv.prototype.getRevision=Cv.prototype.v,Cv.prototype.on=Cv.prototype.r,Cv.prototype.once=Cv.prototype.A,Cv.prototype.un=Cv.prototype.u,Cv.prototype.unByKey=Cv.prototype.B,Pv.prototype.setTileUrlFunction=Pv.prototype.pa,Pv.prototype.setUrl=Pv.prototype.e,Pv.prototype.getTileLoadFunction=Pv.prototype.Ua,Pv.prototype.getTileUrlFunction=Pv.prototype.Va,Pv.prototype.setTileLoadFunction=Pv.prototype.$a,Pv.prototype.getTileGrid=Pv.prototype.ua,Pv.prototype.getAttributions=Pv.prototype.ea,Pv.prototype.getLogo=Pv.prototype.ca,Pv.prototype.getProjection=Pv.prototype.fa,Pv.prototype.getState=Pv.prototype.ga,Pv.prototype.get=Pv.prototype.get,Pv.prototype.getKeys=Pv.prototype.C,Pv.prototype.getProperties=Pv.prototype.D,Pv.prototype.set=Pv.prototype.set,Pv.prototype.setProperties=Pv.prototype.t,Pv.prototype.unset=Pv.prototype.I,Pv.prototype.changed=Pv.prototype.k,Pv.prototype.getRevision=Pv.prototype.v,Pv.prototype.on=Pv.prototype.r,Pv.prototype.once=Pv.prototype.A,Pv.prototype.un=Pv.prototype.u,Pv.prototype.unByKey=Pv.prototype.B,kv.prototype.getTileLoadFunction=kv.prototype.Ua,kv.prototype.getTileUrlFunction=kv.prototype.Va,kv.prototype.setTileLoadFunction=kv.prototype.$a,kv.prototype.setTileUrlFunction=kv.prototype.pa,kv.prototype.getTileGrid=kv.prototype.ua,kv.prototype.getAttributions=kv.prototype.ea,kv.prototype.getLogo=kv.prototype.ca,kv.prototype.getProjection=kv.prototype.fa,kv.prototype.getState=kv.prototype.ga,kv.prototype.get=kv.prototype.get,kv.prototype.getKeys=kv.prototype.C,kv.prototype.getProperties=kv.prototype.D,kv.prototype.set=kv.prototype.set,kv.prototype.setProperties=kv.prototype.t,kv.prototype.unset=kv.prototype.I,kv.prototype.changed=kv.prototype.k,kv.prototype.getRevision=kv.prototype.v,kv.prototype.on=kv.prototype.r,kv.prototype.once=kv.prototype.A,kv.prototype.un=kv.prototype.u,kv.prototype.unByKey=kv.prototype.B,Rv.prototype.getTileGrid=Rv.prototype.ua,Rv.prototype.getAttributions=Rv.prototype.ea,Rv.prototype.getLogo=Rv.prototype.ca,Rv.prototype.getProjection=Rv.prototype.fa,Rv.prototype.getState=Rv.prototype.ga,Rv.prototype.get=Rv.prototype.get,Rv.prototype.getKeys=Rv.prototype.C,Rv.prototype.getProperties=Rv.prototype.D,Rv.prototype.set=Rv.prototype.set,Rv.prototype.setProperties=Rv.prototype.t,Rv.prototype.unset=Rv.prototype.I,Rv.prototype.changed=Rv.prototype.k,Rv.prototype.getRevision=Rv.prototype.v,Rv.prototype.on=Rv.prototype.r,Rv.prototype.once=Rv.prototype.A,Rv.prototype.un=Rv.prototype.u,Rv.prototype.unByKey=Rv.prototype.B,Lv.prototype.getTileLoadFunction=Lv.prototype.Ua,Lv.prototype.getTileUrlFunction=Lv.prototype.Va,Lv.prototype.setTileLoadFunction=Lv.prototype.$a,Lv.prototype.setTileUrlFunction=Lv.prototype.pa,Lv.prototype.getTileGrid=Lv.prototype.ua,Lv.prototype.getAttributions=Lv.prototype.ea,Lv.prototype.getLogo=Lv.prototype.ca,Lv.prototype.getProjection=Lv.prototype.fa,Lv.prototype.getState=Lv.prototype.ga,Lv.prototype.get=Lv.prototype.get,Lv.prototype.getKeys=Lv.prototype.C,Lv.prototype.getProperties=Lv.prototype.D,Lv.prototype.set=Lv.prototype.set,Lv.prototype.setProperties=Lv.prototype.t,Lv.prototype.unset=Lv.prototype.I,Lv.prototype.changed=Lv.prototype.k,Lv.prototype.getRevision=Lv.prototype.v,Lv.prototype.on=Lv.prototype.r,Lv.prototype.once=Lv.prototype.A,Lv.prototype.un=Lv.prototype.u,Lv.prototype.unByKey=Lv.prototype.B,Nv.prototype.getTileGrid=Nv.prototype.ua,Nv.prototype.getAttributions=Nv.prototype.ea,Nv.prototype.getLogo=Nv.prototype.ca,Nv.prototype.getProjection=Nv.prototype.fa,Nv.prototype.getState=Nv.prototype.ga,Nv.prototype.get=Nv.prototype.get,Nv.prototype.getKeys=Nv.prototype.C,Nv.prototype.getProperties=Nv.prototype.D,Nv.prototype.set=Nv.prototype.set,Nv.prototype.setProperties=Nv.prototype.t,Nv.prototype.unset=Nv.prototype.I,Nv.prototype.changed=Nv.prototype.k,Nv.prototype.getRevision=Nv.prototype.v,Nv.prototype.on=Nv.prototype.r,Nv.prototype.once=Nv.prototype.A,Nv.prototype.un=Nv.prototype.u,Nv.prototype.unByKey=Nv.prototype.B,Ov.prototype.forEachFeatureIntersectingExtent=Ov.prototype.Oe,Ov.prototype.getFeaturesAtCoordinate=Ov.prototype.Re,Ov.prototype.getFeatureById=Ov.prototype.Qe,Ov.prototype.getAttributions=Ov.prototype.ea,Ov.prototype.getLogo=Ov.prototype.ca,Ov.prototype.getProjection=Ov.prototype.fa,Ov.prototype.getState=Ov.prototype.ga,Ov.prototype.get=Ov.prototype.get,Ov.prototype.getKeys=Ov.prototype.C,Ov.prototype.getProperties=Ov.prototype.D,Ov.prototype.set=Ov.prototype.set,Ov.prototype.setProperties=Ov.prototype.t,Ov.prototype.unset=Ov.prototype.I,Ov.prototype.changed=Ov.prototype.k,Ov.prototype.getRevision=Ov.prototype.v,Ov.prototype.on=Ov.prototype.r,Ov.prototype.once=Ov.prototype.A,Ov.prototype.un=Ov.prototype.u,Ov.prototype.unByKey=Ov.prototype.B,Uv.prototype.getTileLoadFunction=Uv.prototype.Ua,Uv.prototype.getTileUrlFunction=Uv.prototype.Va,Uv.prototype.setTileLoadFunction=Uv.prototype.$a,Uv.prototype.setTileUrlFunction=Uv.prototype.pa,Uv.prototype.getTileGrid=Uv.prototype.ua,Uv.prototype.getAttributions=Uv.prototype.ea,Uv.prototype.getLogo=Uv.prototype.ca,Uv.prototype.getProjection=Uv.prototype.fa,Uv.prototype.getState=Uv.prototype.ga,Uv.prototype.get=Uv.prototype.get,Uv.prototype.getKeys=Uv.prototype.C,Uv.prototype.getProperties=Uv.prototype.D,Uv.prototype.set=Uv.prototype.set,Uv.prototype.setProperties=Uv.prototype.t,Uv.prototype.unset=Uv.prototype.I,Uv.prototype.changed=Uv.prototype.k,Uv.prototype.getRevision=Uv.prototype.v,Uv.prototype.on=Uv.prototype.r,Uv.prototype.once=Uv.prototype.A,Uv.prototype.un=Uv.prototype.u,Uv.prototype.unByKey=Uv.prototype.B,Wv.prototype.getTileLoadFunction=Wv.prototype.Ua,Wv.prototype.getTileUrlFunction=Wv.prototype.Va,Wv.prototype.setTileLoadFunction=Wv.prototype.$a,Wv.prototype.setTileUrlFunction=Wv.prototype.pa,Wv.prototype.getTileGrid=Wv.prototype.ua,Wv.prototype.getAttributions=Wv.prototype.ea,Wv.prototype.getLogo=Wv.prototype.ca,Wv.prototype.getProjection=Wv.prototype.fa,Wv.prototype.getState=Wv.prototype.ga,Wv.prototype.get=Wv.prototype.get,Wv.prototype.getKeys=Wv.prototype.C,Wv.prototype.getProperties=Wv.prototype.D,Wv.prototype.set=Wv.prototype.set,Wv.prototype.setProperties=Wv.prototype.t,Wv.prototype.unset=Wv.prototype.I,Wv.prototype.changed=Wv.prototype.k,Wv.prototype.getRevision=Wv.prototype.v,Wv.prototype.on=Wv.prototype.r,Wv.prototype.once=Wv.prototype.A,Wv.prototype.un=Wv.prototype.u,Wv.prototype.unByKey=Wv.prototype.B,Vv.prototype.getTileLoadFunction=Vv.prototype.Ua,Vv.prototype.getTileUrlFunction=Vv.prototype.Va,Vv.prototype.setTileLoadFunction=Vv.prototype.$a,Vv.prototype.setTileUrlFunction=Vv.prototype.pa,Vv.prototype.getTileGrid=Vv.prototype.ua,Vv.prototype.getAttributions=Vv.prototype.ea,Vv.prototype.getLogo=Vv.prototype.ca,Vv.prototype.getProjection=Vv.prototype.fa,Vv.prototype.getState=Vv.prototype.ga,Vv.prototype.get=Vv.prototype.get,Vv.prototype.getKeys=Vv.prototype.C,Vv.prototype.getProperties=Vv.prototype.D,Vv.prototype.set=Vv.prototype.set,Vv.prototype.setProperties=Vv.prototype.t,Vv.prototype.unset=Vv.prototype.I,Vv.prototype.changed=Vv.prototype.k,Vv.prototype.getRevision=Vv.prototype.v,Vv.prototype.on=Vv.prototype.r,Vv.prototype.once=Vv.prototype.A,Vv.prototype.un=Vv.prototype.u,Vv.prototype.unByKey=Vv.prototype.B,es.prototype.changed=es.prototype.k,es.prototype.getRevision=es.prototype.v,es.prototype.on=es.prototype.r,es.prototype.once=es.prototype.A,es.prototype.un=es.prototype.u,es.prototype.unByKey=es.prototype.B,vc.prototype.changed=vc.prototype.k,vc.prototype.getRevision=vc.prototype.v,vc.prototype.on=vc.prototype.r,vc.prototype.once=vc.prototype.A,vc.prototype.un=vc.prototype.u,vc.prototype.unByKey=vc.prototype.B,wc.prototype.changed=wc.prototype.k,wc.prototype.getRevision=wc.prototype.v,wc.prototype.on=wc.prototype.r,wc.prototype.once=wc.prototype.A,wc.prototype.un=wc.prototype.u,wc.prototype.unByKey=wc.prototype.B,Ec.prototype.changed=Ec.prototype.k,Ec.prototype.getRevision=Ec.prototype.v,Ec.prototype.on=Ec.prototype.r,Ec.prototype.once=Ec.prototype.A,Ec.prototype.un=Ec.prototype.u,Ec.prototype.unByKey=Ec.prototype.B,Pc.prototype.changed=Pc.prototype.k,Pc.prototype.getRevision=Pc.prototype.v,Pc.prototype.on=Pc.prototype.r,Pc.prototype.once=Pc.prototype.A,Pc.prototype.un=Pc.prototype.u,Pc.prototype.unByKey=Pc.prototype.B,Eu.prototype.changed=Eu.prototype.k,Eu.prototype.getRevision=Eu.prototype.v,Eu.prototype.on=Eu.prototype.r,Eu.prototype.once=Eu.prototype.A,Eu.prototype.un=Eu.prototype.u,Eu.prototype.unByKey=Eu.prototype.B,Pu.prototype.changed=Pu.prototype.k,Pu.prototype.getRevision=Pu.prototype.v,Pu.prototype.on=Pu.prototype.r,Pu.prototype.once=Pu.prototype.A,Pu.prototype.un=Pu.prototype.u,Pu.prototype.unByKey=Pu.prototype.B,ku.prototype.changed=ku.prototype.k,ku.prototype.getRevision=ku.prototype.v,ku.prototype.on=ku.prototype.r,ku.prototype.once=ku.prototype.A,ku.prototype.un=ku.prototype.u,ku.prototype.unByKey=ku.prototype.B,Ru.prototype.changed=Ru.prototype.k,Ru.prototype.getRevision=Ru.prototype.v,Ru.prototype.on=Ru.prototype.r,Ru.prototype.once=Ru.prototype.A,Ru.prototype.un=Ru.prototype.u,Ru.prototype.unByKey=Ru.prototype.B,rl.prototype.changed=rl.prototype.k,rl.prototype.getRevision=rl.prototype.v,rl.prototype.on=rl.prototype.r,rl.prototype.once=rl.prototype.A,rl.prototype.un=rl.prototype.u,rl.prototype.unByKey=rl.prototype.B,xu.prototype.changed=xu.prototype.k,xu.prototype.getRevision=xu.prototype.v,xu.prototype.on=xu.prototype.r,xu.prototype.once=xu.prototype.A,xu.prototype.un=xu.prototype.u,xu.prototype.unByKey=xu.prototype.B,Su.prototype.changed=Su.prototype.k,Su.prototype.getRevision=Su.prototype.v,Su.prototype.on=Su.prototype.r,Su.prototype.once=Su.prototype.A,Su.prototype.un=Su.prototype.u,Su.prototype.unByKey=Su.prototype.B,Tu.prototype.changed=Tu.prototype.k,Tu.prototype.getRevision=Tu.prototype.v,Tu.prototype.on=Tu.prototype.r,Tu.prototype.once=Tu.prototype.A,Tu.prototype.un=Tu.prototype.u,Tu.prototype.unByKey=Tu.prototype.B,Kr.prototype.get=Kr.prototype.get,Kr.prototype.getKeys=Kr.prototype.C,Kr.prototype.getProperties=Kr.prototype.D,Kr.prototype.set=Kr.prototype.set,Kr.prototype.setProperties=Kr.prototype.t,Kr.prototype.unset=Kr.prototype.I,Kr.prototype.changed=Kr.prototype.k,Kr.prototype.getRevision=Kr.prototype.v,Kr.prototype.on=Kr.prototype.r,Kr.prototype.once=Kr.prototype.A,Kr.prototype.un=Kr.prototype.u,Kr.prototype.unByKey=Kr.prototype.B,Yr.prototype.getBrightness=Yr.prototype.Bb,Yr.prototype.getContrast=Yr.prototype.Cb,Yr.prototype.getHue=Yr.prototype.Db,Yr.prototype.getExtent=Yr.prototype.G,Yr.prototype.getMaxResolution=Yr.prototype.Eb,Yr.prototype.getMinResolution=Yr.prototype.Fb,Yr.prototype.getOpacity=Yr.prototype.Kb,Yr.prototype.getSaturation=Yr.prototype.Gb,Yr.prototype.getVisible=Yr.prototype.eb,Yr.prototype.setBrightness=Yr.prototype.gc,Yr.prototype.setContrast=Yr.prototype.hc,Yr.prototype.setHue=Yr.prototype.ic, +Yr.prototype.setExtent=Yr.prototype.bc,Yr.prototype.setMaxResolution=Yr.prototype.jc,Yr.prototype.setMinResolution=Yr.prototype.kc,Yr.prototype.setOpacity=Yr.prototype.cc,Yr.prototype.setSaturation=Yr.prototype.lc,Yr.prototype.setVisible=Yr.prototype.mc,Yr.prototype.get=Yr.prototype.get,Yr.prototype.getKeys=Yr.prototype.C,Yr.prototype.getProperties=Yr.prototype.D,Yr.prototype.set=Yr.prototype.set,Yr.prototype.setProperties=Yr.prototype.t,Yr.prototype.unset=Yr.prototype.I,Yr.prototype.changed=Yr.prototype.k,Yr.prototype.getRevision=Yr.prototype.v,Yr.prototype.on=Yr.prototype.r,Yr.prototype.once=Yr.prototype.A,Yr.prototype.un=Yr.prototype.u,Yr.prototype.unByKey=Yr.prototype.B,Np.prototype.setSource=Np.prototype.Jc,Np.prototype.getBrightness=Np.prototype.Bb,Np.prototype.getContrast=Np.prototype.Cb,Np.prototype.getHue=Np.prototype.Db,Np.prototype.getExtent=Np.prototype.G,Np.prototype.getMaxResolution=Np.prototype.Eb,Np.prototype.getMinResolution=Np.prototype.Fb,Np.prototype.getOpacity=Np.prototype.Kb,Np.prototype.getSaturation=Np.prototype.Gb,Np.prototype.getVisible=Np.prototype.eb,Np.prototype.setBrightness=Np.prototype.gc,Np.prototype.setContrast=Np.prototype.hc,Np.prototype.setHue=Np.prototype.ic,Np.prototype.setExtent=Np.prototype.bc,Np.prototype.setMaxResolution=Np.prototype.jc,Np.prototype.setMinResolution=Np.prototype.kc,Np.prototype.setOpacity=Np.prototype.cc,Np.prototype.setSaturation=Np.prototype.lc,Np.prototype.setVisible=Np.prototype.mc,Np.prototype.get=Np.prototype.get,Np.prototype.getKeys=Np.prototype.C,Np.prototype.getProperties=Np.prototype.D,Np.prototype.set=Np.prototype.set,Np.prototype.setProperties=Np.prototype.t,Np.prototype.unset=Np.prototype.I,Np.prototype.changed=Np.prototype.k,Np.prototype.getRevision=Np.prototype.v,Np.prototype.on=Np.prototype.r,Np.prototype.once=Np.prototype.A,Np.prototype.un=Np.prototype.u,Np.prototype.unByKey=Np.prototype.B,Zg.prototype.getSource=Zg.prototype.da,Zg.prototype.getStyle=Zg.prototype.H,Zg.prototype.getStyleFunction=Zg.prototype.J,Zg.prototype.setStyle=Zg.prototype.e,Zg.prototype.setSource=Zg.prototype.Jc,Zg.prototype.getBrightness=Zg.prototype.Bb,Zg.prototype.getContrast=Zg.prototype.Cb,Zg.prototype.getHue=Zg.prototype.Db,Zg.prototype.getExtent=Zg.prototype.G,Zg.prototype.getMaxResolution=Zg.prototype.Eb,Zg.prototype.getMinResolution=Zg.prototype.Fb,Zg.prototype.getOpacity=Zg.prototype.Kb,Zg.prototype.getSaturation=Zg.prototype.Gb,Zg.prototype.getVisible=Zg.prototype.eb,Zg.prototype.setBrightness=Zg.prototype.gc,Zg.prototype.setContrast=Zg.prototype.hc,Zg.prototype.setHue=Zg.prototype.ic,Zg.prototype.setExtent=Zg.prototype.bc,Zg.prototype.setMaxResolution=Zg.prototype.jc,Zg.prototype.setMinResolution=Zg.prototype.kc,Zg.prototype.setOpacity=Zg.prototype.cc,Zg.prototype.setSaturation=Zg.prototype.lc,Zg.prototype.setVisible=Zg.prototype.mc,Zg.prototype.get=Zg.prototype.get,Zg.prototype.getKeys=Zg.prototype.C,Zg.prototype.getProperties=Zg.prototype.D,Zg.prototype.set=Zg.prototype.set,Zg.prototype.setProperties=Zg.prototype.t,Zg.prototype.unset=Zg.prototype.I,Zg.prototype.changed=Zg.prototype.k,Zg.prototype.getRevision=Zg.prototype.v,Zg.prototype.on=Zg.prototype.r,Zg.prototype.once=Zg.prototype.A,Zg.prototype.un=Zg.prototype.u,Zg.prototype.unByKey=Zg.prototype.B,Rp.prototype.setSource=Rp.prototype.Jc,Rp.prototype.getBrightness=Rp.prototype.Bb,Rp.prototype.getContrast=Rp.prototype.Cb,Rp.prototype.getHue=Rp.prototype.Db,Rp.prototype.getExtent=Rp.prototype.G,Rp.prototype.getMaxResolution=Rp.prototype.Eb,Rp.prototype.getMinResolution=Rp.prototype.Fb,Rp.prototype.getOpacity=Rp.prototype.Kb,Rp.prototype.getSaturation=Rp.prototype.Gb,Rp.prototype.getVisible=Rp.prototype.eb,Rp.prototype.setBrightness=Rp.prototype.gc,Rp.prototype.setContrast=Rp.prototype.hc,Rp.prototype.setHue=Rp.prototype.ic,Rp.prototype.setExtent=Rp.prototype.bc,Rp.prototype.setMaxResolution=Rp.prototype.jc,Rp.prototype.setMinResolution=Rp.prototype.kc,Rp.prototype.setOpacity=Rp.prototype.cc,Rp.prototype.setSaturation=Rp.prototype.lc,Rp.prototype.setVisible=Rp.prototype.mc,Rp.prototype.get=Rp.prototype.get,Rp.prototype.getKeys=Rp.prototype.C,Rp.prototype.getProperties=Rp.prototype.D,Rp.prototype.set=Rp.prototype.set,Rp.prototype.setProperties=Rp.prototype.t,Rp.prototype.unset=Rp.prototype.I,Rp.prototype.changed=Rp.prototype.k,Rp.prototype.getRevision=Rp.prototype.v,Rp.prototype.on=Rp.prototype.r,Rp.prototype.once=Rp.prototype.A,Rp.prototype.un=Rp.prototype.u,Rp.prototype.unByKey=Rp.prototype.B,Mp.prototype.getBrightness=Mp.prototype.Bb,Mp.prototype.getContrast=Mp.prototype.Cb,Mp.prototype.getHue=Mp.prototype.Db,Mp.prototype.getExtent=Mp.prototype.G,Mp.prototype.getMaxResolution=Mp.prototype.Eb,Mp.prototype.getMinResolution=Mp.prototype.Fb,Mp.prototype.getOpacity=Mp.prototype.Kb,Mp.prototype.getSaturation=Mp.prototype.Gb,Mp.prototype.getVisible=Mp.prototype.eb,Mp.prototype.setBrightness=Mp.prototype.gc,Mp.prototype.setContrast=Mp.prototype.hc,Mp.prototype.setHue=Mp.prototype.ic,Mp.prototype.setExtent=Mp.prototype.bc,Mp.prototype.setMaxResolution=Mp.prototype.jc,Mp.prototype.setMinResolution=Mp.prototype.kc,Mp.prototype.setOpacity=Mp.prototype.cc,Mp.prototype.setSaturation=Mp.prototype.lc,Mp.prototype.setVisible=Mp.prototype.mc,Mp.prototype.get=Mp.prototype.get,Mp.prototype.getKeys=Mp.prototype.C,Mp.prototype.getProperties=Mp.prototype.D,Mp.prototype.set=Mp.prototype.set,Mp.prototype.setProperties=Mp.prototype.t,Mp.prototype.unset=Mp.prototype.I,Mp.prototype.changed=Mp.prototype.k,Mp.prototype.getRevision=Mp.prototype.v,Mp.prototype.on=Mp.prototype.r,Mp.prototype.once=Mp.prototype.A,Mp.prototype.un=Mp.prototype.u,Mp.prototype.unByKey=Mp.prototype.B,Lp.prototype.setSource=Lp.prototype.Jc,Lp.prototype.getBrightness=Lp.prototype.Bb,Lp.prototype.getContrast=Lp.prototype.Cb,Lp.prototype.getHue=Lp.prototype.Db,Lp.prototype.getExtent=Lp.prototype.G,Lp.prototype.getMaxResolution=Lp.prototype.Eb,Lp.prototype.getMinResolution=Lp.prototype.Fb,Lp.prototype.getOpacity=Lp.prototype.Kb,Lp.prototype.getSaturation=Lp.prototype.Gb,Lp.prototype.getVisible=Lp.prototype.eb,Lp.prototype.setBrightness=Lp.prototype.gc,Lp.prototype.setContrast=Lp.prototype.hc,Lp.prototype.setHue=Lp.prototype.ic,Lp.prototype.setExtent=Lp.prototype.bc,Lp.prototype.setMaxResolution=Lp.prototype.jc,Lp.prototype.setMinResolution=Lp.prototype.kc,Lp.prototype.setOpacity=Lp.prototype.cc,Lp.prototype.setSaturation=Lp.prototype.lc,Lp.prototype.setVisible=Lp.prototype.mc,Lp.prototype.get=Lp.prototype.get,Lp.prototype.getKeys=Lp.prototype.C,Lp.prototype.getProperties=Lp.prototype.D,Lp.prototype.set=Lp.prototype.set,Lp.prototype.setProperties=Lp.prototype.t,Lp.prototype.unset=Lp.prototype.I,Lp.prototype.changed=Lp.prototype.k,Lp.prototype.getRevision=Lp.prototype.v,Lp.prototype.on=Lp.prototype.r,Lp.prototype.once=Lp.prototype.A,Lp.prototype.un=Lp.prototype.u,Lp.prototype.unByKey=Lp.prototype.B,As.prototype.get=As.prototype.get,As.prototype.getKeys=As.prototype.C,As.prototype.getProperties=As.prototype.D,As.prototype.set=As.prototype.set,As.prototype.setProperties=As.prototype.t,As.prototype.unset=As.prototype.I,As.prototype.changed=As.prototype.k,As.prototype.getRevision=As.prototype.v,As.prototype.on=As.prototype.r,As.prototype.once=As.prototype.A,As.prototype.un=As.prototype.u,As.prototype.unByKey=As.prototype.B,js.prototype.getActive=js.prototype.c,js.prototype.setActive=js.prototype.d,js.prototype.get=js.prototype.get,js.prototype.getKeys=js.prototype.C,js.prototype.getProperties=js.prototype.D,js.prototype.set=js.prototype.set,js.prototype.setProperties=js.prototype.t,js.prototype.unset=js.prototype.I,js.prototype.changed=js.prototype.k,js.prototype.getRevision=js.prototype.v,js.prototype.on=js.prototype.r,js.prototype.once=js.prototype.A,js.prototype.un=js.prototype.u,js.prototype.unByKey=js.prototype.B,fg.prototype.getActive=fg.prototype.c,fg.prototype.setActive=fg.prototype.d,fg.prototype.get=fg.prototype.get,fg.prototype.getKeys=fg.prototype.C,fg.prototype.getProperties=fg.prototype.D,fg.prototype.set=fg.prototype.set,fg.prototype.setProperties=fg.prototype.t,fg.prototype.unset=fg.prototype.I,fg.prototype.changed=fg.prototype.k,fg.prototype.getRevision=fg.prototype.v,fg.prototype.on=fg.prototype.r,fg.prototype.once=fg.prototype.A,fg.prototype.un=fg.prototype.u,fg.prototype.unByKey=fg.prototype.B,Hs.prototype.getActive=Hs.prototype.c,Hs.prototype.setActive=Hs.prototype.d,Hs.prototype.get=Hs.prototype.get,Hs.prototype.getKeys=Hs.prototype.C,Hs.prototype.getProperties=Hs.prototype.D,Hs.prototype.set=Hs.prototype.set,Hs.prototype.setProperties=Hs.prototype.t,Hs.prototype.unset=Hs.prototype.I,Hs.prototype.changed=Hs.prototype.k,Hs.prototype.getRevision=Hs.prototype.v,Hs.prototype.on=Hs.prototype.r,Hs.prototype.once=Hs.prototype.A,Hs.prototype.un=Hs.prototype.u,Hs.prototype.unByKey=Hs.prototype.B,Ka.prototype.getActive=Ka.prototype.c,Ka.prototype.setActive=Ka.prototype.d,Ka.prototype.get=Ka.prototype.get,Ka.prototype.getKeys=Ka.prototype.C,Ka.prototype.getProperties=Ka.prototype.D,Ka.prototype.set=Ka.prototype.set,Ka.prototype.setProperties=Ka.prototype.t,Ka.prototype.unset=Ka.prototype.I,Ka.prototype.changed=Ka.prototype.k,Ka.prototype.getRevision=Ka.prototype.v,Ka.prototype.on=Ka.prototype.r,Ka.prototype.once=Ka.prototype.A,Ka.prototype.un=Ka.prototype.u,Ka.prototype.unByKey=Ka.prototype.B,Ws.prototype.getActive=Ws.prototype.c,Ws.prototype.setActive=Ws.prototype.d,Ws.prototype.get=Ws.prototype.get,Ws.prototype.getKeys=Ws.prototype.C,Ws.prototype.getProperties=Ws.prototype.D,Ws.prototype.set=Ws.prototype.set,Ws.prototype.setProperties=Ws.prototype.t,Ws.prototype.unset=Ws.prototype.I,Ws.prototype.changed=Ws.prototype.k,Ws.prototype.getRevision=Ws.prototype.v,Ws.prototype.on=Ws.prototype.r,Ws.prototype.once=Ws.prototype.A,Ws.prototype.un=Ws.prototype.u,Ws.prototype.unByKey=Ws.prototype.B,gg.prototype.getActive=gg.prototype.c,gg.prototype.setActive=gg.prototype.d,gg.prototype.get=gg.prototype.get,gg.prototype.getKeys=gg.prototype.C,gg.prototype.getProperties=gg.prototype.D,gg.prototype.set=gg.prototype.set,gg.prototype.setProperties=gg.prototype.t,gg.prototype.unset=gg.prototype.I,gg.prototype.changed=gg.prototype.k,gg.prototype.getRevision=gg.prototype.v,gg.prototype.on=gg.prototype.r,gg.prototype.once=gg.prototype.A,gg.prototype.un=gg.prototype.u,gg.prototype.unByKey=gg.prototype.B,Ys.prototype.getActive=Ys.prototype.c,Ys.prototype.setActive=Ys.prototype.d,Ys.prototype.get=Ys.prototype.get,Ys.prototype.getKeys=Ys.prototype.C,Ys.prototype.getProperties=Ys.prototype.D,Ys.prototype.set=Ys.prototype.set,Ys.prototype.setProperties=Ys.prototype.t,Ys.prototype.unset=Ys.prototype.I,Ys.prototype.changed=Ys.prototype.k,Ys.prototype.getRevision=Ys.prototype.v,Ys.prototype.on=Ys.prototype.r,Ys.prototype.once=Ys.prototype.A,Ys.prototype.un=Ys.prototype.u,Ys.prototype.unByKey=Ys.prototype.B,pp.prototype.getGeometry=pp.prototype.Q,pp.prototype.getActive=pp.prototype.c,pp.prototype.setActive=pp.prototype.d,pp.prototype.get=pp.prototype.get,pp.prototype.getKeys=pp.prototype.C,pp.prototype.getProperties=pp.prototype.D,pp.prototype.set=pp.prototype.set,pp.prototype.setProperties=pp.prototype.t,pp.prototype.unset=pp.prototype.I,pp.prototype.changed=pp.prototype.k,pp.prototype.getRevision=pp.prototype.v,pp.prototype.on=pp.prototype.r,pp.prototype.once=pp.prototype.A,pp.prototype.un=pp.prototype.u,pp.prototype.unByKey=pp.prototype.B,xg.prototype.getActive=xg.prototype.c,xg.prototype.setActive=xg.prototype.d,xg.prototype.get=xg.prototype.get,xg.prototype.getKeys=xg.prototype.C,xg.prototype.getProperties=xg.prototype.D,xg.prototype.set=xg.prototype.set,xg.prototype.setProperties=xg.prototype.t,xg.prototype.unset=xg.prototype.I,xg.prototype.changed=xg.prototype.k,xg.prototype.getRevision=xg.prototype.v,xg.prototype.on=xg.prototype.r,xg.prototype.once=xg.prototype.A,xg.prototype.un=xg.prototype.u,xg.prototype.unByKey=xg.prototype.B,lp.prototype.getActive=lp.prototype.c,lp.prototype.setActive=lp.prototype.d,lp.prototype.get=lp.prototype.get,lp.prototype.getKeys=lp.prototype.C,lp.prototype.getProperties=lp.prototype.D,lp.prototype.set=lp.prototype.set,lp.prototype.setProperties=lp.prototype.t,lp.prototype.unset=lp.prototype.I,lp.prototype.changed=lp.prototype.k,lp.prototype.getRevision=lp.prototype.v,lp.prototype.on=lp.prototype.r,lp.prototype.once=lp.prototype.A,lp.prototype.un=lp.prototype.u,lp.prototype.unByKey=lp.prototype.B,up.prototype.getActive=up.prototype.c,up.prototype.setActive=up.prototype.d,up.prototype.get=up.prototype.get,up.prototype.getKeys=up.prototype.C,up.prototype.getProperties=up.prototype.D,up.prototype.set=up.prototype.set,up.prototype.setProperties=up.prototype.t,up.prototype.unset=up.prototype.I,up.prototype.changed=up.prototype.k,up.prototype.getRevision=up.prototype.v,up.prototype.on=up.prototype.r,up.prototype.once=up.prototype.A,up.prototype.un=up.prototype.u,up.prototype.unByKey=up.prototype.B,Ng.prototype.getActive=Ng.prototype.c,Ng.prototype.setActive=Ng.prototype.d,Ng.prototype.get=Ng.prototype.get,Ng.prototype.getKeys=Ng.prototype.C,Ng.prototype.getProperties=Ng.prototype.D,Ng.prototype.set=Ng.prototype.set,Ng.prototype.setProperties=Ng.prototype.t,Ng.prototype.unset=Ng.prototype.I,Ng.prototype.changed=Ng.prototype.k,Ng.prototype.getRevision=Ng.prototype.v,Ng.prototype.on=Ng.prototype.r,Ng.prototype.once=Ng.prototype.A,Ng.prototype.un=Ng.prototype.u,Ng.prototype.unByKey=Ng.prototype.B,fp.prototype.getActive=fp.prototype.c,fp.prototype.setActive=fp.prototype.d,fp.prototype.get=fp.prototype.get,fp.prototype.getKeys=fp.prototype.C,fp.prototype.getProperties=fp.prototype.D,fp.prototype.set=fp.prototype.set,fp.prototype.setProperties=fp.prototype.t,fp.prototype.unset=fp.prototype.I,fp.prototype.changed=fp.prototype.k,fp.prototype.getRevision=fp.prototype.v,fp.prototype.on=fp.prototype.r,fp.prototype.once=fp.prototype.A,fp.prototype.un=fp.prototype.u,fp.prototype.unByKey=fp.prototype.B,dp.prototype.getActive=dp.prototype.c,dp.prototype.setActive=dp.prototype.d,dp.prototype.get=dp.prototype.get,dp.prototype.getKeys=dp.prototype.C,dp.prototype.getProperties=dp.prototype.D,dp.prototype.set=dp.prototype.set,dp.prototype.setProperties=dp.prototype.t,dp.prototype.unset=dp.prototype.I,dp.prototype.changed=dp.prototype.k,dp.prototype.getRevision=dp.prototype.v,dp.prototype.on=dp.prototype.r,dp.prototype.once=dp.prototype.A,dp.prototype.un=dp.prototype.u,dp.prototype.unByKey=dp.prototype.B,bp.prototype.getActive=bp.prototype.c,bp.prototype.setActive=bp.prototype.d,bp.prototype.get=bp.prototype.get,bp.prototype.getKeys=bp.prototype.C,bp.prototype.getProperties=bp.prototype.D,bp.prototype.set=bp.prototype.set,bp.prototype.setProperties=bp.prototype.t,bp.prototype.unset=bp.prototype.I,bp.prototype.changed=bp.prototype.k,bp.prototype.getRevision=bp.prototype.v,bp.prototype.on=bp.prototype.r,bp.prototype.once=bp.prototype.A,bp.prototype.un=bp.prototype.u,bp.prototype.unByKey=bp.prototype.B,$g.prototype.getActive=$g.prototype.c,$g.prototype.setActive=$g.prototype.d,$g.prototype.get=$g.prototype.get,$g.prototype.getKeys=$g.prototype.C,$g.prototype.getProperties=$g.prototype.D,$g.prototype.set=$g.prototype.set,$g.prototype.setProperties=$g.prototype.t,$g.prototype.unset=$g.prototype.I,$g.prototype.changed=$g.prototype.k,$g.prototype.getRevision=$g.prototype.v,$g.prototype.on=$g.prototype.r,$g.prototype.once=$g.prototype.A,$g.prototype.un=$g.prototype.u,$g.prototype.unByKey=$g.prototype.B,zg.prototype.getActive=zg.prototype.c,zg.prototype.setActive=zg.prototype.d,zg.prototype.get=zg.prototype.get,zg.prototype.getKeys=zg.prototype.C,zg.prototype.getProperties=zg.prototype.D,zg.prototype.set=zg.prototype.set,zg.prototype.setProperties=zg.prototype.t,zg.prototype.unset=zg.prototype.I,zg.prototype.changed=zg.prototype.k,zg.prototype.getRevision=zg.prototype.v,zg.prototype.on=zg.prototype.r,zg.prototype.once=zg.prototype.A,zg.prototype.un=zg.prototype.u,zg.prototype.unByKey=zg.prototype.B,Qs.prototype.get=Qs.prototype.get,Qs.prototype.getKeys=Qs.prototype.C,Qs.prototype.getProperties=Qs.prototype.D,Qs.prototype.set=Qs.prototype.set,Qs.prototype.setProperties=Qs.prototype.t,Qs.prototype.unset=Qs.prototype.I,Qs.prototype.changed=Qs.prototype.k,Qs.prototype.getRevision=Qs.prototype.v,Qs.prototype.on=Qs.prototype.r,Qs.prototype.once=Qs.prototype.A,Qs.prototype.un=Qs.prototype.u,Qs.prototype.unByKey=Qs.prototype.B,ea.prototype.getClosestPoint=ea.prototype.e,ea.prototype.getExtent=ea.prototype.G,ea.prototype.get=ea.prototype.get,ea.prototype.getKeys=ea.prototype.C,ea.prototype.getProperties=ea.prototype.D,ea.prototype.set=ea.prototype.set,ea.prototype.setProperties=ea.prototype.t,ea.prototype.unset=ea.prototype.I,ea.prototype.changed=ea.prototype.k,ea.prototype.getRevision=ea.prototype.v,ea.prototype.on=ea.prototype.r,ea.prototype.once=ea.prototype.A,ea.prototype.un=ea.prototype.u,ea.prototype.unByKey=ea.prototype.B,ll.prototype.getFirstCoordinate=ll.prototype.ob,ll.prototype.getLastCoordinate=ll.prototype.pb,ll.prototype.getLayout=ll.prototype.qb,ll.prototype.applyTransform=ll.prototype.qa,ll.prototype.translate=ll.prototype.Oa,ll.prototype.getClosestPoint=ll.prototype.e,ll.prototype.getExtent=ll.prototype.G,ll.prototype.get=ll.prototype.get,ll.prototype.getKeys=ll.prototype.C,ll.prototype.getProperties=ll.prototype.D,ll.prototype.set=ll.prototype.set,ll.prototype.setProperties=ll.prototype.t,ll.prototype.unset=ll.prototype.I,ll.prototype.changed=ll.prototype.k,ll.prototype.getRevision=ll.prototype.v,ll.prototype.on=ll.prototype.r,ll.prototype.once=ll.prototype.A,ll.prototype.un=ll.prototype.u,ll.prototype.unByKey=ll.prototype.B,ul.prototype.getClosestPoint=ul.prototype.e,ul.prototype.getExtent=ul.prototype.G,ul.prototype.get=ul.prototype.get,ul.prototype.getKeys=ul.prototype.C,ul.prototype.getProperties=ul.prototype.D,ul.prototype.set=ul.prototype.set,ul.prototype.setProperties=ul.prototype.t,ul.prototype.unset=ul.prototype.I,ul.prototype.changed=ul.prototype.k,ul.prototype.getRevision=ul.prototype.v,ul.prototype.on=ul.prototype.r,ul.prototype.once=ul.prototype.A,ul.prototype.un=ul.prototype.u,ul.prototype.unByKey=ul.prototype.B,xa.prototype.getFirstCoordinate=xa.prototype.ob,xa.prototype.getLastCoordinate=xa.prototype.pb,xa.prototype.getLayout=xa.prototype.qb,xa.prototype.applyTransform=xa.prototype.qa,xa.prototype.translate=xa.prototype.Oa,xa.prototype.getClosestPoint=xa.prototype.e,xa.prototype.getExtent=xa.prototype.G,xa.prototype.get=xa.prototype.get,xa.prototype.getKeys=xa.prototype.C,xa.prototype.getProperties=xa.prototype.D,xa.prototype.set=xa.prototype.set,xa.prototype.setProperties=xa.prototype.t,xa.prototype.unset=xa.prototype.I,xa.prototype.changed=xa.prototype.k,xa.prototype.getRevision=xa.prototype.v,xa.prototype.on=xa.prototype.r,xa.prototype.once=xa.prototype.A,xa.prototype.un=xa.prototype.u,xa.prototype.unByKey=xa.prototype.B,ml.prototype.getFirstCoordinate=ml.prototype.ob,ml.prototype.getLastCoordinate=ml.prototype.pb,ml.prototype.getLayout=ml.prototype.qb,ml.prototype.applyTransform=ml.prototype.qa,ml.prototype.translate=ml.prototype.Oa,ml.prototype.getClosestPoint=ml.prototype.e,ml.prototype.getExtent=ml.prototype.G,ml.prototype.get=ml.prototype.get,ml.prototype.getKeys=ml.prototype.C,ml.prototype.getProperties=ml.prototype.D,ml.prototype.set=ml.prototype.set,ml.prototype.setProperties=ml.prototype.t,ml.prototype.unset=ml.prototype.I,ml.prototype.changed=ml.prototype.k,ml.prototype.getRevision=ml.prototype.v,ml.prototype.on=ml.prototype.r,ml.prototype.once=ml.prototype.A,ml.prototype.un=ml.prototype.u,ml.prototype.unByKey=ml.prototype.B,xl.prototype.getFirstCoordinate=xl.prototype.ob,xl.prototype.getLastCoordinate=xl.prototype.pb,xl.prototype.getLayout=xl.prototype.qb,xl.prototype.applyTransform=xl.prototype.qa,xl.prototype.translate=xl.prototype.Oa,xl.prototype.getClosestPoint=xl.prototype.e,xl.prototype.getExtent=xl.prototype.G,xl.prototype.get=xl.prototype.get,xl.prototype.getKeys=xl.prototype.C,xl.prototype.getProperties=xl.prototype.D,xl.prototype.set=xl.prototype.set,xl.prototype.setProperties=xl.prototype.t,xl.prototype.unset=xl.prototype.I,xl.prototype.changed=xl.prototype.k,xl.prototype.getRevision=xl.prototype.v,xl.prototype.on=xl.prototype.r,xl.prototype.once=xl.prototype.A,xl.prototype.un=xl.prototype.u,xl.prototype.unByKey=xl.prototype.B,Cl.prototype.getFirstCoordinate=Cl.prototype.ob,Cl.prototype.getLastCoordinate=Cl.prototype.pb,Cl.prototype.getLayout=Cl.prototype.qb,Cl.prototype.applyTransform=Cl.prototype.qa,Cl.prototype.translate=Cl.prototype.Oa,Cl.prototype.getClosestPoint=Cl.prototype.e,Cl.prototype.getExtent=Cl.prototype.G,Cl.prototype.get=Cl.prototype.get,Cl.prototype.getKeys=Cl.prototype.C,Cl.prototype.getProperties=Cl.prototype.D,Cl.prototype.set=Cl.prototype.set,Cl.prototype.setProperties=Cl.prototype.t,Cl.prototype.unset=Cl.prototype.I,Cl.prototype.changed=Cl.prototype.k,Cl.prototype.getRevision=Cl.prototype.v,Cl.prototype.on=Cl.prototype.r,Cl.prototype.once=Cl.prototype.A,Cl.prototype.un=Cl.prototype.u,Cl.prototype.unByKey=Cl.prototype.B,El.prototype.getFirstCoordinate=El.prototype.ob,El.prototype.getLastCoordinate=El.prototype.pb,El.prototype.getLayout=El.prototype.qb,El.prototype.applyTransform=El.prototype.qa,El.prototype.translate=El.prototype.Oa,El.prototype.getClosestPoint=El.prototype.e,El.prototype.getExtent=El.prototype.G,El.prototype.get=El.prototype.get,El.prototype.getKeys=El.prototype.C,El.prototype.getProperties=El.prototype.D,El.prototype.set=El.prototype.set,El.prototype.setProperties=El.prototype.t,El.prototype.unset=El.prototype.I,El.prototype.changed=El.prototype.k,El.prototype.getRevision=El.prototype.v,El.prototype.on=El.prototype.r,El.prototype.once=El.prototype.A,El.prototype.un=El.prototype.u,El.prototype.unByKey=El.prototype.B,Ta.prototype.getFirstCoordinate=Ta.prototype.ob,Ta.prototype.getLastCoordinate=Ta.prototype.pb,Ta.prototype.getLayout=Ta.prototype.qb,Ta.prototype.applyTransform=Ta.prototype.qa,Ta.prototype.translate=Ta.prototype.Oa,Ta.prototype.getClosestPoint=Ta.prototype.e,Ta.prototype.getExtent=Ta.prototype.G,Ta.prototype.get=Ta.prototype.get,Ta.prototype.getKeys=Ta.prototype.C,Ta.prototype.getProperties=Ta.prototype.D,Ta.prototype.set=Ta.prototype.set,Ta.prototype.setProperties=Ta.prototype.t,Ta.prototype.unset=Ta.prototype.I,Ta.prototype.changed=Ta.prototype.k,Ta.prototype.getRevision=Ta.prototype.v,Ta.prototype.on=Ta.prototype.r,Ta.prototype.once=Ta.prototype.A,Ta.prototype.un=Ta.prototype.u,Ta.prototype.unByKey=Ta.prototype.B,Fa.prototype.getFirstCoordinate=Fa.prototype.ob,Fa.prototype.getLastCoordinate=Fa.prototype.pb,Fa.prototype.getLayout=Fa.prototype.qb,Fa.prototype.applyTransform=Fa.prototype.qa,Fa.prototype.translate=Fa.prototype.Oa,Fa.prototype.getClosestPoint=Fa.prototype.e,Fa.prototype.getExtent=Fa.prototype.G,Fa.prototype.get=Fa.prototype.get,Fa.prototype.getKeys=Fa.prototype.C,Fa.prototype.getProperties=Fa.prototype.D,Fa.prototype.set=Fa.prototype.set,Fa.prototype.setProperties=Fa.prototype.t,Fa.prototype.unset=Fa.prototype.I,Fa.prototype.changed=Fa.prototype.k,Fa.prototype.getRevision=Fa.prototype.v,Fa.prototype.on=Fa.prototype.r,Fa.prototype.once=Fa.prototype.A,Fa.prototype.un=Fa.prototype.u,Fa.prototype.unByKey=Fa.prototype.B,Hf.prototype.readFeatures=Hf.prototype.ja,Gf.prototype.readFeatures=Gf.prototype.ja,Gf.prototype.readFeatures=Gf.prototype.ja,Ji.prototype.get=Ji.prototype.get,Ji.prototype.getKeys=Ji.prototype.C,Ji.prototype.getProperties=Ji.prototype.D,Ji.prototype.set=Ji.prototype.set,Ji.prototype.setProperties=Ji.prototype.t,Ji.prototype.unset=Ji.prototype.I,Ji.prototype.changed=Ji.prototype.k,Ji.prototype.getRevision=Ji.prototype.v,Ji.prototype.on=Ji.prototype.r,Ji.prototype.once=Ji.prototype.A,Ji.prototype.un=Ji.prototype.u,Ji.prototype.unByKey=Ji.prototype.B,Rn.prototype.getMap=Rn.prototype.e,Rn.prototype.setMap=Rn.prototype.setMap,Rn.prototype.setTarget=Rn.prototype.c,Rn.prototype.get=Rn.prototype.get,Rn.prototype.getKeys=Rn.prototype.C,Rn.prototype.getProperties=Rn.prototype.D,Rn.prototype.set=Rn.prototype.set,Rn.prototype.setProperties=Rn.prototype.t,Rn.prototype.unset=Rn.prototype.I,Rn.prototype.changed=Rn.prototype.k,Rn.prototype.getRevision=Rn.prototype.v,Rn.prototype.on=Rn.prototype.r,Rn.prototype.once=Rn.prototype.A,Rn.prototype.un=Rn.prototype.u,Rn.prototype.unByKey=Rn.prototype.B,Gn.prototype.getMap=Gn.prototype.e,Gn.prototype.setMap=Gn.prototype.setMap,Gn.prototype.setTarget=Gn.prototype.c,Gn.prototype.get=Gn.prototype.get,Gn.prototype.getKeys=Gn.prototype.C,Gn.prototype.getProperties=Gn.prototype.D,Gn.prototype.set=Gn.prototype.set,Gn.prototype.setProperties=Gn.prototype.t,Gn.prototype.unset=Gn.prototype.I,Gn.prototype.changed=Gn.prototype.k,Gn.prototype.getRevision=Gn.prototype.v,Gn.prototype.on=Gn.prototype.r,Gn.prototype.once=Gn.prototype.A,Gn.prototype.un=Gn.prototype.u,Gn.prototype.unByKey=Gn.prototype.B,qn.prototype.getMap=qn.prototype.e,qn.prototype.setTarget=qn.prototype.c,qn.prototype.get=qn.prototype.get,qn.prototype.getKeys=qn.prototype.C,qn.prototype.getProperties=qn.prototype.D,qn.prototype.set=qn.prototype.set,qn.prototype.setProperties=qn.prototype.t,qn.prototype.unset=qn.prototype.I,qn.prototype.changed=qn.prototype.k,qn.prototype.getRevision=qn.prototype.v,qn.prototype.on=qn.prototype.r,qn.prototype.once=qn.prototype.A,qn.prototype.un=qn.prototype.u,qn.prototype.unByKey=qn.prototype.B,Oc.prototype.getMap=Oc.prototype.e,Oc.prototype.setTarget=Oc.prototype.c,Oc.prototype.get=Oc.prototype.get,Oc.prototype.getKeys=Oc.prototype.C,Oc.prototype.getProperties=Oc.prototype.D,Oc.prototype.set=Oc.prototype.set,Oc.prototype.setProperties=Oc.prototype.t,Oc.prototype.unset=Oc.prototype.I,Oc.prototype.changed=Oc.prototype.k,Oc.prototype.getRevision=Oc.prototype.v,Oc.prototype.on=Oc.prototype.r,Oc.prototype.once=Oc.prototype.A,Oc.prototype.un=Oc.prototype.u,Oc.prototype.unByKey=Oc.prototype.B,jn.prototype.getMap=jn.prototype.e,jn.prototype.setMap=jn.prototype.setMap,jn.prototype.setTarget=jn.prototype.c,jn.prototype.get=jn.prototype.get,jn.prototype.getKeys=jn.prototype.C,jn.prototype.getProperties=jn.prototype.D,jn.prototype.set=jn.prototype.set,jn.prototype.setProperties=jn.prototype.t,jn.prototype.unset=jn.prototype.I,jn.prototype.changed=jn.prototype.k,jn.prototype.getRevision=jn.prototype.v,jn.prototype.on=jn.prototype.r,jn.prototype.once=jn.prototype.A,jn.prototype.un=jn.prototype.u,jn.prototype.unByKey=jn.prototype.B,Hc.prototype.getMap=Hc.prototype.e,Hc.prototype.setMap=Hc.prototype.setMap,Hc.prototype.setTarget=Hc.prototype.c,Hc.prototype.get=Hc.prototype.get,Hc.prototype.getKeys=Hc.prototype.C,Hc.prototype.getProperties=Hc.prototype.D,Hc.prototype.set=Hc.prototype.set,Hc.prototype.setProperties=Hc.prototype.t,Hc.prototype.unset=Hc.prototype.I,Hc.prototype.changed=Hc.prototype.k,Hc.prototype.getRevision=Hc.prototype.v,Hc.prototype.on=Hc.prototype.r,Hc.prototype.once=Hc.prototype.A,Hc.prototype.un=Hc.prototype.u,Hc.prototype.unByKey=Hc.prototype.B,Dn.prototype.getMap=Dn.prototype.e,Dn.prototype.setMap=Dn.prototype.setMap,Dn.prototype.setTarget=Dn.prototype.c,Dn.prototype.get=Dn.prototype.get,Dn.prototype.getKeys=Dn.prototype.C,Dn.prototype.getProperties=Dn.prototype.D,Dn.prototype.set=Dn.prototype.set,Dn.prototype.setProperties=Dn.prototype.t,Dn.prototype.unset=Dn.prototype.I,Dn.prototype.changed=Dn.prototype.k,Dn.prototype.getRevision=Dn.prototype.v,Dn.prototype.on=Dn.prototype.r,Dn.prototype.once=Dn.prototype.A,Dn.prototype.un=Dn.prototype.u,Dn.prototype.unByKey=Dn.prototype.B,tf.prototype.getMap=tf.prototype.e,tf.prototype.setTarget=tf.prototype.c,tf.prototype.get=tf.prototype.get,tf.prototype.getKeys=tf.prototype.C,tf.prototype.getProperties=tf.prototype.D,tf.prototype.set=tf.prototype.set,tf.prototype.setProperties=tf.prototype.t,tf.prototype.unset=tf.prototype.I,tf.prototype.changed=tf.prototype.k,tf.prototype.getRevision=tf.prototype.v,tf.prototype.on=tf.prototype.r,tf.prototype.once=tf.prototype.A,tf.prototype.un=tf.prototype.u,tf.prototype.unByKey=tf.prototype.B,rf.prototype.getMap=rf.prototype.e,rf.prototype.setMap=rf.prototype.setMap,rf.prototype.setTarget=rf.prototype.c,rf.prototype.get=rf.prototype.get,rf.prototype.getKeys=rf.prototype.C,rf.prototype.getProperties=rf.prototype.D,rf.prototype.set=rf.prototype.set,rf.prototype.setProperties=rf.prototype.t,rf.prototype.unset=rf.prototype.I,rf.prototype.changed=rf.prototype.k,rf.prototype.getRevision=rf.prototype.v,rf.prototype.on=rf.prototype.r,rf.prototype.once=rf.prototype.A,rf.prototype.un=rf.prototype.u,rf.prototype.unByKey=rf.prototype.B,nm.ol});var map,extent,overlays=[],vectorSource=new ol.source.Vector,lastClick,popupOverlay,vectorLayer,moveFunction=function(){var t=$("#search input[name=q]").val();if(""!==t){updateMapExtent();var t=$("#search input[name=q]").val();t=encodeURI(t),$("#clearInput").html('<img src="/img/ajax-loader.gif" />');var e="/"+t+"/"+encodeURI(extent[0])+"/"+encodeURI(extent[1])+"/"+encodeURI(extent[2])+"/"+encodeURI(extent[3]+"/"+!1+"/50");$.getScript(e)}};$(document).ready(function(){initMap(),$("#closer").click(function(){toggleResults()}),map.on("singleclick",function(t){var e=t.coordinate;lastClick=e}),$(window).resize(function(){updateResultsPosition(),updateCloserPosition()})});var options={enableHighAccuracy:!0,timeout:5e3,maximumAge:0};!function(t,e){"use strict";function o(e,o,i){"addEventListener"in t?e.addEventListener(o,i,!1):"attachEvent"in t&&e.attachEvent("on"+o,i)}function i(e,o,i){"removeEventListener"in t?e.removeEventListener(o,i,!1):"detachEvent"in t&&e.detachEvent("on"+o,i)}function n(t){return t.charAt(0).toUpperCase()+t.slice(1)}function r(t){var e,o,i,n=null,r=0,s=function(){r=Nt(),n=null,i=t.apply(e,o),n||(e=o=null)};return function(){var a=Nt();r||(r=a);var p=Tt-(a-r);return e=this,o=arguments,0>=p||p>Tt?(n&&(clearTimeout(n),n=null),r=a,i=t.apply(e,o),n||(e=o=null)):n||(n=setTimeout(s,p)),i}}function s(e){ut&&"object"==typeof t.console&&void 0}function a(e){"object"==typeof t.console&&void 0}function p(){l(),s("Initialising iFrame ("+location.href+")"),h(),f(),c("background",V),c("padding",J),E(),m(),b(),y(),k(),w(),pt=P(),U("init","Init message from host page"),At()}function l(){function t(t){return"true"===t}var o=at.substr(ft).split(":");yt=o[0],Y=e!==o[1]?Number(o[1]):Y,Q=e!==o[2]?t(o[2]):Q,ut=e!==o[3]?t(o[3]):ut,lt=e!==o[4]?Number(o[4]):lt,z=e!==o[6]?t(o[6]):z,Z=o[7],rt=e!==o[8]?o[8]:rt,V=o[9],J=o[10],wt=e!==o[11]?Number(o[11]):wt,pt.enable=e!==o[12]&&t(o[12]),gt=e!==o[13]?o[13]:gt,Et=e!==o[14]?o[14]:Et}function h(){function e(){var e=t.iFrameResizer;s("Reading data from page: "+JSON.stringify(e)),kt="messageCallback"in e?e.messageCallback:kt,At="readyCallback"in e?e.readyCallback:At,bt="targetOrigin"in e?e.targetOrigin:bt,rt="heightCalculationMethod"in e?e.heightCalculationMethod:rt,Et="widthCalculationMethod"in e?e.widthCalculationMethod:Et}function o(t,e){return"function"==typeof t&&(s("Setup custom "+e+"CalcMethod"),Lt[e]=t,t="custom"),t}"iFrameResizer"in t&&Object===t.iFrameResizer.constructor&&(e(),rt=o(rt,"height"),Et=o(Et,"width")),s("TargetOrigin for parent set to: "+bt)}function u(t,e){return-1!==e.indexOf("-")&&(a("Negative CSS value ignored for "+t),e=""),e}function c(t,o){e!==o&&""!==o&&"null"!==o&&(document.body.style[t]=o,s("Body "+t+' set to "'+o+'"'))}function f(){e===Z&&(Z=Y+"px"),c("margin",u("margin",Z))}function y(){document.documentElement.style.height="",document.body.style.height="",s('HTML & body height set to "auto"')}function d(e){function r(){U(e.eventName,e.eventType)}var a={add:function(e){o(t,e,r)},remove:function(e){i(t,e,r)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(a[e.method])):a[e.method](e.eventName),s(n(e.method)+" event listener: "+e.eventType)}function g(t){d({method:t,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),d({method:t,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),d({method:t,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"] +}),d({method:t,eventType:"Input",eventName:"input"}),d({method:t,eventType:"Mouse Up",eventName:"mouseup"}),d({method:t,eventType:"Mouse Down",eventName:"mousedown"}),d({method:t,eventType:"Orientation Change",eventName:"orientationchange"}),d({method:t,eventType:"Print",eventName:["afterprint","beforeprint"]}),d({method:t,eventType:"Ready State Change",eventName:"readystatechange"}),d({method:t,eventType:"Touch Start",eventName:"touchstart"}),d({method:t,eventType:"Touch End",eventName:"touchend"}),d({method:t,eventType:"Touch Cancel",eventName:"touchcancel"}),d({method:t,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),d({method:t,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),d({method:t,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===gt&&d({method:t,eventType:"IFrame Resized",eventName:"resize"})}function v(t,e,o,i){return e!==t&&(t in o||(a(t+" is not a valid option for "+i+"CalculationMethod."),t=e),s(i+' calculation method set to "'+t+'"')),t}function m(){rt=v(rt,nt,jt,"height")}function b(){Et=v(Et,Ct,It,"width")}function w(){!0===z?(g("add"),L()):s("Auto Resize disabled")}function x(){s("Disable outgoing messages"),vt=!1}function S(){s("Remove event listener: Message"),i(t,"message",X)}function T(){null!==_&&_.disconnect()}function M(){g("remove"),T(),clearInterval(ht)}function C(){x(),S(),!0===z&&M()}function E(){var t=document.createElement("div");t.style.clear="both",t.style.display="block",document.body.appendChild(t)}function P(){function i(){return{x:t.pageXOffset!==e?t.pageXOffset:document.documentElement.scrollLeft,y:t.pageYOffset!==e?t.pageYOffset:document.documentElement.scrollTop}}function n(t){var e=t.getBoundingClientRect(),o=i();return{x:parseInt(e.left,10)+parseInt(o.x,10),y:parseInt(e.top,10)+parseInt(o.y,10)}}function r(t){function o(t){var e=n(t);s("Moving to in page link (#"+i+") at x: "+e.x+" y: "+e.y),$(e.y,e.x,"scrollToOffset")}var i=t.split("#")[1]||t,r=decodeURIComponent(i),a=document.getElementById(r)||document.getElementsByName(r)[0];e!==a?o(a):(s("In page link (#"+i+") not found in iFrame, so sending to parent"),$(0,0,"inPageLink","#"+i))}function p(){""!==location.hash&&"#"!==location.hash&&r(location.href)}function l(){function t(t){function e(t){t.preventDefault(),r(this.getAttribute("href"))}"#"!==t.getAttribute("href")&&o(t,"click",e)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),t)}function h(){o(t,"hashchange",p)}function u(){setTimeout(p,et)}function c(){Array.prototype.forEach&&document.querySelectorAll?(s("Setting up location.hash handlers"),l(),h(),u()):a("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}return pt.enable?c():s("In page linking not enabled"),{findTarget:r}}function k(){s("Enable public methods"),Pt.parentIFrame={autoResize:function(t){return!0===t&&!1===z?(z=!0,w()):!1===t&&!0===z&&(z=!1,M()),z},close:function(){$(0,0,"close"),C()},getId:function(){return yt},getPageInfo:function(t){"function"==typeof t?(Rt=t,$(0,0,"pageInfo")):(Rt=function(){},$(0,0,"pageInfoStop"))},moveToAnchor:function(t){pt.findTarget(t)},reset:function(){H("parentIFrame.reset")},scrollTo:function(t,e){$(e,t,"scrollTo")},scrollToOffset:function(t,e){$(e,t,"scrollToOffset")},sendMessage:function(t,e){$(0,0,"message",JSON.stringify(t),e)},setHeightCalculationMethod:function(t){rt=t,m()},setWidthCalculationMethod:function(t){Et=t,b()},setTargetOrigin:function(t){s("Set targetOrigin: "+t),bt=t},size:function(t,e){var o=""+(t?t:"")+(e?","+e:"");U("size","parentIFrame.size("+o+")",t,e)}}}function A(){0!==lt&&(s("setInterval: "+lt+"ms"),ht=setInterval(function(){U("interval","setInterval: "+lt)},Math.abs(lt)))}function R(){function o(t){function e(t){!1===t.complete&&(s("Attach listeners to "+t.src),t.addEventListener("load",a,!1),t.addEventListener("error",p,!1),u.push(t))}"attributes"===t.type&&"src"===t.attributeName?e(t.target):"childList"===t.type&&Array.prototype.forEach.call(t.target.querySelectorAll("img"),e)}function i(t){u.splice(u.indexOf(t),1)}function n(t){s("Remove listeners from "+t.src),t.removeEventListener("load",a,!1),t.removeEventListener("error",p,!1),i(t)}function r(t,o,i){n(t.target),U(o,i+": "+t.target.src,e,e)}function a(t){r(t,"imageLoad","Image loaded")}function p(t){r(t,"imageLoadFailed","Image load failed")}function l(t){U("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(o)}function h(){var t=document.querySelector("body"),e={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return f=new c(l),s("Create body MutationObserver"),f.observe(t,e),f}var u=[],c=t.MutationObserver||t.WebKitMutationObserver,f=h();return{disconnect:function(){"disconnect"in f&&(s("Disconnect body MutationObserver"),f.disconnect(),u.forEach(n))}}}function L(){var e=0>lt;t.MutationObserver||t.WebKitMutationObserver?e?A():_=R():(s("MutationObserver not supported in this browser!"),A())}function N(t,e){function o(t){var o=/^\d+(px)?$/i;if(o.test(t))return parseInt(t,K);var i=e.style.left,n=e.runtimeStyle.left;return e.runtimeStyle.left=e.currentStyle.left,e.style.left=t||0,t=e.style.pixelLeft,e.style.left=i,e.runtimeStyle.left=n,t}var i=0;return e=e||document.body,"defaultView"in document&&"getComputedStyle"in document.defaultView?(i=document.defaultView.getComputedStyle(e,null),i=null!==i?i[t]:0):i=o(e.currentStyle[t]),parseInt(i,K)}function j(t){t>Tt/2&&(Tt=2*t,s("Event throttle increased to "+Tt+"ms"))}function I(t,e){for(var o=e.length,i=0,r=0,a=n(t),p=Nt(),l=0;o>l;l++)i=e[l].getBoundingClientRect()[t]+N("margin"+a,e[l]),i>r&&(r=i);return p=Nt()-p,s("Parsed "+o+" HTML elements"),s("Element position calculated in "+p+"ms"),j(p),r}function D(t){return[t.bodyOffset(),t.bodyScroll(),t.documentElementOffset(),t.documentElementScroll()]}function F(t,e){function o(){return a("No tagged elements ("+e+") found on page"),it}var i=document.querySelectorAll("["+e+"]");return 0===i.length?o():I(t,i)}function O(){return document.querySelectorAll("body *")}function B(t,o,i,n){function r(){it=c,Mt=f,$(it,Mt,t)}function a(){function t(t,e){var o=Math.abs(t-e)<=wt;return!o}return c=e!==i?i:jt[rt](),f=e!==n?n:It[Et](),t(it,c)||Q&&t(Mt,f)}function p(){return!(t in{init:1,interval:1,size:1})}function l(){return rt in dt||Q&&Et in dt}function h(){s("No change in size detected")}function u(){p()&&l()?H(o):t in{interval:1}||h()}var c,f;a()||"init"===t?(G(),r()):u()}function U(t,e,o,i){function n(){t in{reset:1,resetPage:1,init:1}||s("Trigger event: "+e)}function r(){return xt&&t in tt}r()?s("Trigger event cancelled: "+t):(n(),Dt(t,e,o,i))}function G(){xt||(xt=!0,s("Trigger event lock on")),clearTimeout(St),St=setTimeout(function(){xt=!1,s("Trigger event lock off"),s("--")},et)}function q(t){it=jt[rt](),Mt=It[Et](),$(it,Mt,t)}function H(t){var e=rt;rt=nt,s("Reset trigger event: "+t),G(),q("reset"),rt=e}function $(t,o,i,n,r){function a(){e===r?r=bt:s("Message targetOrigin: "+r)}function p(){var a=t+":"+o,p=yt+":"+a+":"+i+(e!==n?":"+n:"");s("Sending message to host page ("+p+")"),mt.postMessage(ct+p,r)}!0===vt&&(a(),p())}function X(e){function i(){return ct===(""+e.data).substr(0,ft)}function n(){function i(){at=e.data,mt=e.source,p(),ot=!1,setTimeout(function(){st=!1},et)}document.body?i():(s("Waiting for page ready"),o(t,"readystatechange",n))}function r(){st?s("Page reset ignored by init"):(s("Page size reset by host page"),q("resetPage"))}function l(){U("resizeParent","Parent window requested size check")}function h(){var t=c();pt.findTarget(t)}function u(){return e.data.split("]")[1].split(":")[0]}function c(){return e.data.substr(e.data.indexOf(":")+1)}function f(){return"iFrameResize"in t}function y(){var t=c();s("MessageCallback called from parent: "+t),kt(JSON.parse(t)),s(" --")}function d(){var t=c();s("PageInfoFromParent called from parent: "+t),Rt(JSON.parse(t)),s(" --")}function g(){return e.data.split(":")[2]in{"true":1,"false":1}}function v(){switch(u()){case"reset":r();break;case"resize":l();break;case"inPageLink":case"moveToAnchor":h();break;case"message":y();break;case"pageInfo":d();break;default:f()||g()||a("Unexpected message ("+e.data+")")}}function m(){!1===ot?v():g()?n():s('Ignored message of type "'+u()+'". Received before initialization.')}i()&&m()}function W(){"loading"!==document.readyState&&t.parent.postMessage("[iFrameResizerChild]Ready","*")}var z=!0,K=10,V="",Y=0,Z="",_=null,J="",Q=!1,tt={resize:1,click:1},et=128,ot=!0,it=1,nt="bodyOffset",rt=nt,st=!0,at="",pt={},lt=32,ht=null,ut=!1,ct="[iFrameSizer]",ft=ct.length,yt="",dt={max:1,min:1,bodyScroll:1,documentElementScroll:1},gt="child",vt=!0,mt=t.parent,bt="*",wt=0,xt=!1,St=null,Tt=16,Mt=1,Ct="scroll",Et=Ct,Pt=t,kt=function(){a("MessageCallback function not defined")},At=function(){},Rt=function(){},Lt={height:function(){return a("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return a("Custom width calculation function not defined"),document.body.scrollWidth}},Nt=Date.now||function(){return(new Date).getTime()},jt={bodyOffset:function(){return document.body.offsetHeight+N("marginTop")+N("marginBottom")},offset:function(){return jt.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return Lt.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,D(jt))},min:function(){return Math.min.apply(null,D(jt))},grow:function(){return jt.max()},lowestElement:function(){return Math.max(jt.bodyOffset(),I("bottom",O()))},taggedElement:function(){return F("bottom","data-iframe-height")}},It={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return Lt.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(It.bodyScroll(),It.documentElementScroll())},max:function(){return Math.max.apply(null,D(It))},min:function(){return Math.min.apply(null,D(It))},rightMostElement:function(){return I("right",O())},taggedElement:function(){return F("right","data-iframe-width")}},Dt=r(B);o(t,"message",X),W()}(window||{}); \ No newline at end of file diff --git a/public/js/mapSearch.js b/public/js/mapSearch.js index 798428f2a7a3bf31696f280cd78cfde7054f4490..c0e8609430e29a5d5ba29b973785bd3ee31a2653 100644 --- a/public/js/mapSearch.js +++ b/public/js/mapSearch.js @@ -16,4 +16,4 @@ e=e.ce(),iu({P:t,srsName:i},px,_h("pointMember"),e,o,void 0,this)},em.Ph=functio throw Error(Rd(this))},em.mf=function(){if(this.match(2)){var t=kd(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.kn=function(){if(this.match(2)){var t;if(2==this.b.type)for(t=[this.lf()];this.match(5);)t.push(this.lf());else t=Ed(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.jn=function(){if(this.match(2)){var t=kd(this);if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))},em.ln=function(){if(this.match(2)){for(var t=[this.mf()];this.match(5);)t.push(this.mf());if(this.match(3))return t}else if(Ad(this))return[];throw Error(Rd(this))};var ET={POINT:Ta,LINESTRING:ml,POLYGON:Fa,MULTIPOINT:Ml,MULTILINESTRING:xl,MULTIPOLYGON:Pl},kT={POINT:Cd.prototype.lf,LINESTRING:Cd.prototype.kf,POLYGON:Cd.prototype.mf,MULTIPOINT:Cd.prototype.kn,MULTILINESTRING:Cd.prototype.jn,MULTIPOLYGON:Cd.prototype.ln};v(jd,Jy),jd.prototype.a=function(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return this.b(t);return null},jd.prototype.b=function(e){return this.version=cm(e.getAttribute("version")),e=eu({version:this.version},RT,e,[]),t(e)?e:null};var AT=[null,"http://www.opengis.net/wms"],RT=Vh(AT,{Service:zh(function(t,e){return eu({},LT,t,e)}),Capability:zh(function(t,e){return eu({},jT,t,e)})}),jT=Vh(AT,{Request:zh(function(t,e){return eu({},GT,t,e)}),Exception:zh(function(t,e){return eu([],FT,t,e)}),Layer:zh(function(t,e){return eu({},OT,t,e)})}),LT=Vh(AT,{Name:zh(Df),Title:zh(Df),Abstract:zh(Df),KeywordList:zh(Dd),OnlineResource:zh(_y),ContactInformation:zh(function(t,e){return eu({},NT,t,e)}),Fees:zh(Df),AccessConstraints:zh(Df),LayerLimit:zh(Nf),MaxWidth:zh(Nf),MaxHeight:zh(Nf)}),NT=Vh(AT,{ContactPersonPrimary:zh(function(t,e){return eu({},IT,t,e)}),ContactPosition:zh(Df),ContactAddress:zh(function(t,e){return eu({},DT,t,e)}),ContactVoiceTelephone:zh(Df),ContactFacsimileTelephone:zh(Df),ContactElectronicMailAddress:zh(Df)}),IT=Vh(AT,{ContactPerson:zh(Df),ContactOrganization:zh(Df)}),DT=Vh(AT,{AddressType:zh(Df),Address:zh(Df),City:zh(Df),StateOrProvince:zh(Df),PostCode:zh(Df),Country:zh(Df)}),FT=Vh(AT,{Format:Xh(Df)}),OT=Vh(AT,{Name:zh(Df),Title:zh(Df),Abstract:zh(Df),KeywordList:zh(Dd),CRS:Kh(Df),EX_GeographicBoundingBox:zh(function(e,o){var i=eu({},UT,e,o);if(t(i)){var n=i.westBoundLongitude,r=i.southBoundLatitude,s=i.eastBoundLongitude,i=i.northBoundLatitude;return t(n)&&t(r)&&t(s)&&t(i)?[n,r,s,i]:void 0}}),BoundingBox:Kh(function(t){var e=[Lf(t.getAttribute("minx")),Lf(t.getAttribute("miny")),Lf(t.getAttribute("maxx")),Lf(t.getAttribute("maxy"))],o=[Lf(t.getAttribute("resx")),Lf(t.getAttribute("resy"))];return{crs:t.getAttribute("CRS"),extent:e,res:o}}),Dimension:Kh(function(t){return{name:t.getAttribute("name"),units:t.getAttribute("units"),unitSymbol:t.getAttribute("unitSymbol"),"default":t.getAttribute("default"),multipleValues:Af(t.getAttribute("multipleValues")),nearestValue:Af(t.getAttribute("nearestValue")),current:Af(t.getAttribute("current")),values:Df(t)}}),Attribution:zh(function(t,e){return eu({},BT,t,e)}),AuthorityURL:Kh(function(e,o){var i=Ld(e,o);if(t(i))return i.name=e.getAttribute("name"),i}),Identifier:Kh(Df),MetadataURL:Kh(function(e,o){var i=Ld(e,o);if(t(i))return i.type=e.getAttribute("type"),i}),DataURL:Kh(Ld),FeatureListURL:Kh(Ld),Style:Kh(function(t,e){return eu({},XT,t,e)}),MinScaleDenominator:zh(jf),MaxScaleDenominator:zh(jf),Layer:Kh(function(e,o){var i=o[o.length-1],n=eu({},OT,e,o);if(t(n)){var r=Af(e.getAttribute("queryable"));return t(r)||(r=i.queryable),n.queryable=!!t(r)&&r,r=If(e.getAttribute("cascaded")),t(r)||(r=i.cascaded),n.cascaded=r,r=Af(e.getAttribute("opaque")),t(r)||(r=i.opaque),n.opaque=!!t(r)&&r,r=Af(e.getAttribute("noSubsets")),t(r)||(r=i.noSubsets),n.noSubsets=!!t(r)&&r,r=Lf(e.getAttribute("fixedWidth")),t(r)||(r=i.fixedWidth),n.fixedWidth=r,r=Lf(e.getAttribute("fixedHeight")),t(r)||(r=i.fixedHeight),n.fixedHeight=r,P(["Style","CRS","AuthorityURL"],function(e){var o=i[e];if(t(o)){var r=it(n,e),r=r.concat(o);n[e]=r}}),P("EX_GeographicBoundingBox BoundingBox Dimension Attribution MinScaleDenominator MaxScaleDenominator".split(" "),function(e){t(n[e])||(n[e]=i[e])}),n}})}),BT=Vh(AT,{Title:zh(Df),OnlineResource:zh(_y),LogoURL:zh(Id)}),UT=Vh(AT,{westBoundLongitude:zh(jf),eastBoundLongitude:zh(jf),southBoundLatitude:zh(jf),northBoundLatitude:zh(jf)}),GT=Vh(AT,{GetCapabilities:zh(Nd),GetMap:zh(Nd),GetFeatureInfo:zh(Nd)}),qT=Vh(AT,{Format:Kh(Df),DCPType:Kh(function(t,e){return eu({},$T,t,e)})}),$T=Vh(AT,{HTTP:zh(function(t,e){return eu({},HT,t,e)})}),HT=Vh(AT,{Get:zh(Ld),Post:zh(Ld)}),XT=Vh(AT,{Name:zh(Df),Title:zh(Df),Abstract:zh(Df),LegendURL:Kh(Id),StyleSheetURL:zh(Ld),StyleURL:zh(Ld)}),WT=Vh(AT,{Format:zh(Df),OnlineResource:zh(_y)}),KT=Vh(AT,{Keyword:Xh(Df)});v(Fd,Cf),Fd.prototype.Ob=function(e,o){var i={featureType:this.featureType,featureNS:this.featureNS};return t(o)&&rt(i,uf(this,e,o)),Od(this,e,[i])},v(Bd,Jy),Bd.prototype.a=function(t){for(t=t.firstChild;null!==t;t=t.nextSibling)if(1==t.nodeType)return this.b(t);return null},Bd.prototype.b=function(e){this.version=cm(e.getAttribute("version"));var o=this.d.b(e);return t(o)?(o.version=this.version,o=eu(o,YT,e,[]),t(o)?o:null):null};var zT=[null,"http://www.opengis.net/wmts/1.0"],VT=[null,"http://www.opengis.net/ows/1.1"],YT=Vh(zT,{Contents:zh(function(t,e){return eu({},ZT,t,e)})}),ZT=Vh(zT,{Layer:Kh(function(t,e){return eu({},_T,t,e)}),TileMatrixSet:Kh(function(t,e){return eu({},eC,t,e)})}),_T=Vh(zT,{Style:Kh(function(e,o){var i=eu({},JT,e,o);if(t(i)){var n="true"===e.getAttribute("isDefault");return i.isDefault=n,i}}),Format:Kh(Df),TileMatrixSetLink:Kh(function(t,e){return eu({},QT,t,e)}),ResourceURL:Kh(function(e){var o=e.getAttribute("format"),i=e.getAttribute("template");e=e.getAttribute("resourceType");var n={};return t(o)&&(n.format=o),t(i)&&(n.template=i),t(e)&&(n.resourceType=e),n})},Vh(VT,{Title:zh(Df),Abstract:zh(Df),WGS84BoundingBox:zh(function(t,e){var o=eu([],tC,t,e);return 2!=o.length?void 0:Ne(o)}),Identifier:zh(Df)})),JT=Vh(zT,{LegendURL:Kh(function(t){var e={};return e.format=t.getAttribute("format"),e.href=_y(t),e})},Vh(VT,{Title:zh(Df),Identifier:zh(Df)})),QT=Vh(zT,{TileMatrixSet:zh(Df)}),tC=Vh(VT,{LowerCorner:Xh(Ud),UpperCorner:Xh(Ud)}),eC=Vh(zT,{WellKnownScaleSet:zh(Df),TileMatrix:Kh(function(t,e){return eu({},oC,t,e)})},Vh(VT,{SupportedCRS:zh(Df),Identifier:zh(Df)})),oC=Vh(zT,{TopLeftCorner:zh(Ud),ScaleDenominator:zh(jf),TileWidth:zh(Nf),TileHeight:zh(Nf),MatrixWidth:zh(Nf),MatrixHeight:zh(Nf)},Vh(VT,{Identifier:zh(Df)})),iC=new lo(6378137);v(Gd,re),em=Gd.prototype,em.O=function(){this.Zd(!1),Gd.S.O.call(this)},em.Vk=function(){var t=this.sg();null!=t&&(this.d=Co(xo("EPSG:4326"),t),null===this.a||this.set("position",this.d(this.a)))},em.Wk=function(){if(Rb){var e=this.tg();e&&!t(this.c)?this.c=sm.navigator.geolocation.watchPosition(d(this.tn,this),d(this.vn,this),this.bg()):!e&&t(this.c)&&(sm.navigator.geolocation.clearWatch(this.c),this.c=void 0)}},em.tn=function(t){t=t.coords,this.set("accuracy",t.accuracy),this.set("altitude",null===t.altitude?void 0:t.altitude),this.set("altitudeAccuracy",null===t.altitudeAccuracy?void 0:t.altitudeAccuracy),this.set("heading",null===t.heading?void 0:ct(t.heading)),null===this.a?this.a=[t.longitude,t.latitude]:(this.a[0]=t.longitude,this.a[1]=t.latitude);var e=this.d(this.a);this.set("position",e),this.set("speed",null===t.speed?void 0:t.speed),t=Ga(iC,this.a,t.accuracy),t.qa(this.d),this.set("accuracyGeometry",t),this.k()},em.vn=function(t){t.type="error",this.Zd(!1),this.dispatchEvent(t)},em.Ki=function(){return this.get("accuracy")},em.Li=function(){return this.get("accuracyGeometry")||null},em.Ni=function(){return this.get("altitude")},em.Oi=function(){return this.get("altitudeAccuracy")},em.Tk=function(){return this.get("heading")},em.Uk=function(){return this.get("position")},em.sg=function(){return this.get("projection")},em.vj=function(){return this.get("speed")},em.tg=function(){return this.get("tracking")},em.bg=function(){return this.get("trackingOptions")},em.ug=function(t){this.set("projection",t)},em.Zd=function(t){this.set("tracking",t)},em.Dh=function(t){this.set("trackingOptions",t)};var nC=new tp({color:"rgba(0,0,0,0.2)"}),rC=[90,45,30,20,10,5,2,1,.5,.2,.1,.05,.01,.005,.002,.001];em=Xd.prototype,em.Xk=function(){return this.g},em.kj=function(){return this.b},em.pj=function(){return this.a},em.gg=function(t){var e=t.vectorContext,o=t.frameState;t=o.extent;var i=o.viewState,n=i.center,r=i.projection,i=i.resolution,o=o.pixelRatio,o=i*i/(4*o*o);if(null===this.i||!So(this.i,r)){var s=r.G(),a=r.g,p=a[2],l=a[1],h=a[0];this.c=a[3],this.d=p,this.e=l,this.f=h,a=xo("EPSG:4326"),this.q=To(a,r),this.o=To(r,a),this.l=this.o(_e(s)),this.i=r}for(var u,r=this.l[0],s=this.l[1],a=-1,l=Math.pow(this.n*i,2),h=[],c=[],i=0,p=rC.length;i<p&&(u=rC[i]/2,h[0]=r-u,h[1]=s-u,c[0]=r+u,c[1]=s+u,this.q(h,h),this.q(c,c),u=Math.pow(c[0]-h[0],2)+Math.pow(c[1]-h[1],2),!(u<=l));++i)a=rC[i];if(i=a,-1==i)this.b.length=this.a.length=0;else{for(r=this.o(n),n=r[0],r=r[1],s=this.U,n=Math.floor(n/i)*i,l=lt(n,this.f,this.d),p=Wd(this,l,o,t,0),a=0;l!=this.f&&a++<s;)l=Math.max(l-i,this.f),p=Wd(this,l,o,t,p);for(l=lt(n,this.f,this.d),a=0;l!=this.d&&a++<s;)l=Math.min(l+i,this.d),p=Wd(this,l,o,t,p);for(this.b.length=p,r=Math.floor(r/i)*i,n=lt(r,this.e,this.c),p=Kd(this,n,o,t,0),a=0;n!=this.e&&a++<s;)n=Math.max(n-i,this.e),p=Kd(this,n,o,t,p);for(n=lt(r,this.e,this.c),a=0;n!=this.c&&a++<s;)n=Math.min(n+i,this.c),p=Kd(this,n,o,t,p);this.a.length=p}for(e.Aa(null,this.V),t=0,o=this.b.length;t<o;++t)n=this.b[t],e.zb(n,null);for(t=0,o=this.a.length;t<o;++t)n=this.a[t],e.zb(n,null)},em.setMap=function(t){null!==this.g&&(this.g.u("postcompose",this.gg,this),this.g.render()),null!==t&&(t.r("postcompose",this.gg,this),t.render()),this.g=t},v(zd,_r),zd.prototype.b=function(e){if(t(e)){var o=c(e);return o in this.d?this.d[o]:(e=Q(this.d)?this.a:this.a.cloneNode(!1),this.d[o]=e)}return this.a},zd.prototype.q=function(){this.state=3,P(this.c,Kt),this.c=null,this.dispatchEvent("change")},zd.prototype.l=function(){t(this.resolution)||(this.resolution=to(this.extent)/this.a.height),this.state=2,P(this.c,Kt),this.c=null,this.dispatchEvent("change")},zd.prototype.load=function(){0==this.state&&(this.state=1,this.dispatchEvent("change"),this.c=[Xt(this.a,"error",this.q,!1,this),Xt(this.a,"load",this.l,!1,this)],this.g(this,this.i))},v(Vd,nn),em=Vd.prototype,em.O=function(){1==this.state&&Yd(this),Vd.S.O.call(this)},em.Ma=function(e){if(t(e)){var o=c(e);return o in this.c?this.c[o]:(e=Q(this.c)?this.a:this.a.cloneNode(!1),this.c[o]=e)}return this.a},em.gb=function(){return this.g},em.Yk=function(){this.state=3,Yd(this),rn(this)},em.Zk=function(){this.state=this.a.naturalWidth&&this.a.naturalHeight?2:4,Yd(this),rn(this)},em.load=function(){0==this.state&&(this.state=1,rn(this),this.e=[Xt(this.a,"error",this.Yk,!1,this),Xt(this.a,"load",this.Zk,!1,this)],this.i(this,this.g))},v(Jd,Qt),em=Jd.prototype,em.Zc=!1,em.O=function(){Jd.S.O.call(this),this.b.Yc()},em.$m=function(t){var e=t.b.dataTransfer;(this.Zc=!(!e||!(e.types&&(L(e.types,"Files")||L(e.types,"public.file-url"))||e.files&&0<e.files.length)))&&t.preventDefault()},em.an=function(t){this.Zc&&(t.preventDefault(),t.b.dataTransfer.dropEffect="none")},em.bn=function(t){this.Zc&&(t.preventDefault(),t.fb(),t=t.b.dataTransfer,t.effectAllowed="all",t.dropEffect="copy")},em.cn=function(t){this.Zc&&(t.preventDefault(),t.fb(),t=new Rt(t.b),t.type="drop",this.dispatchEvent(t))},Qd.prototype.cancel=function(t){if(this.b)this.c instanceof Qd&&this.c.cancel();else{if(this.a){var e=this.a;delete this.a,t?e.cancel(t):(e.i--,0>=e.i&&e.cancel())}this.U?this.U.call(this.o,this):this.q=!0,this.b||(t=new sg,eg(this),tg(this,!1,t))}},Qd.prototype.l=function(t,e){this.g=!1,tg(this,t,e)},Qd.prototype.then=function(t,e,o){var i,n,r=new Kl(function(t,e){i=t,n=e});return og(this,i,function(t){t instanceof sg?r.cancel():n(t)}),r.then(t,e,o)},Gl(Qd),v(rg,m),rg.prototype.message="Deferred has already fired",rg.prototype.name="AlreadyCalledError",v(sg,m),sg.prototype.message="Deferred was canceled",sg.prototype.name="CanceledError",ag.prototype.a=function(){throw delete sC[this.$],this.b};var sC={};v(pg,m);var aC={AbortError:3,EncodingError:5,InvalidModificationError:9,InvalidStateError:7,NotFoundError:1,NotReadableError:4,NoModificationAllowedError:6,PathExistsError:12,QuotaExceededError:10,SecurityError:2,SyntaxError:8,TypeMismatchError:11};v(hg,Pt),v(ug,Qt),ug.prototype.getError=function(){return this.Ya.error&&new pg(this.Ya.error,"reading file")},ug.prototype.b=function(t){this.dispatchEvent(new hg(t,this))},ug.prototype.O=function(){ug.S.O.call(this),delete this.Ya},v(fg,As),fg.prototype.O=function(){t(this.a)&&Kt(this.a),fg.S.O.call(this)},fg.prototype.g=function(t){t=t.b.dataTransfer.files;var e,o,i;for(e=0,o=t.length;e<o;++e){var n=i=t[e],r=new ug,s=cg(r);r.Ya.readAsText(n,""),og(s,g(this.i,i),null,this)}},fg.prototype.i=function(t,e){var o=this.l,i=this.o;null===i&&(i=o.R().e);var n,r,o=this.f,s=[];for(n=0,r=o.length;n<r;++n){var a,p=new o[n];try{a=p.ja(e)}catch(l){a=null}if(null!==a){var h,u,p=p.za(e),p=To(p,i);for(h=0,u=a.length;h<u;++h){var c=a[h],f=c.Q();null!=f&&f.qa(p),s.push(c)}}}this.dispatchEvent(new yg(pC,this,t,s,i))},fg.prototype.setMap=function(e){t(this.a)&&(Kt(this.a),this.a=void 0),null!==this.e&&(Mt(this.e),this.e=null),fg.S.setMap.call(this,e),null!==e&&(this.e=new Jd(e.a),this.a=qt(this.e,"drop",this.g,!1,this))};var pC="addfeatures";v(yg,Pt),v(dg,pi),dg.prototype.clone=function(){return new dg(this.x,this.y)},dg.prototype.scale=pi.prototype.scale,dg.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},dg.prototype.rotate=function(t){var e=Math.cos(t);t=Math.sin(t);var o=this.y*e+this.x*t;return this.x=this.x*e-this.y*t,this.y=o,this},v(gg,$s),v(wg,Pt),v(xg,$s),xg.prototype.setMap=function(t){xg.S.setMap.call(this,t),this.Ra()},xg.prototype.X=function(){var t,e=Rg(this),o=e.Q();this.a===lC?t=o.K():this.a===hC?(t=o.K(),t.pop(),o.W(t)):this.a===uC&&(this.f[0].pop(),this.f[0].push(this.f[0][0]),o.W(this.f),t=o.K()),"MultiPoint"===this.L?e.La(new Ml([t])):"MultiLineString"===this.L?e.La(new xl([t])):"MultiPolygon"===this.L&&e.La(new Pl([t])),this.dispatchEvent(new wg("drawend",e)),null===this.oa||this.oa.push(e),null===this.Ga||this.Ga.jf(e)},xg.prototype.nc=pb,xg.prototype.Ra=function(){var t=this.l,e=this.c();null!==t&&e||Rg(this),this.T.setMap(e?t:null)};var lC="Point",hC="LineString",uC="Polygon",cC="Circle";v(Lg,$s),em=Lg.prototype,em.Cg=function(e){var o=e.Q();t(this.H[o.M()])&&this.H[o.M()].call(this,e,o),e=this.l,null===e||Ug(this,this.L,e)},em.setMap=function(t){this.n.setMap(t),Lg.S.setMap.call(this,t)},em.vl=function(t){this.Cg(t.element)},em.wl=function(t){var e=t.element;t=this.a;var o,i=[];for(hu(t,e.Q().G(),function(t){e===t.feature&&i.push(t)}),o=i.length-1;0<=o;--o)t.remove(i[o]);null!==this.f&&0===this.p.Ib()&&(this.n.Yd(this.f),this.f=null)},em.Bl=function(t,e){var o=e.K(),o={feature:t,geometry:e,aa:[o,o]};this.a.ha(e.G(),o)},em.zl=function(t,e){var o,i,n,r=e.K();for(i=0,n=r.length;i<n;++i)o=r[i],o={feature:t,geometry:e,depth:[i],index:i,aa:[o,o]},this.a.ha(e.G(),o)},em.Dg=function(t,e){var o,i,n,r,s=e.K();for(o=0,i=s.length-1;o<i;++o)n=s.slice(o,o+2),r={feature:t,geometry:e,index:o,aa:n},this.a.ha(Ne(n),r)},em.yl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,geometry:e,depth:[r],index:i,aa:a},this.a.ha(Ne(a),p)},em.Cl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,geometry:e,depth:[r],index:i,aa:a},this.a.ha(Ne(a),p)},em.Al=function(t,e){var o,i,n,r,s,a,p,l,h,u,c=e.K();for(a=0,p=c.length;a<p;++a)for(l=c[a],r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)h=o.slice(i,i+2),u={feature:t,geometry:e,depth:[r,a],index:i,aa:h},this.a.ha(Ne(h),u)},em.xl=function(t,e){var o,i=e.d;for(o=0;o<i.length;++o)this.H[i[o].M()].call(this,t,i[o])},em.qk=function(t,e){for(var o,i=t.aa,n=t.feature,r=t.geometry,s=t.depth,a=t.index;e.length<r.s;)e.push(0);switch(r.M()){case"MultiLineString":o=r.K(),o[s[0]].splice(a+1,0,e);break;case"Polygon":o=r.K(),o[s[0]].splice(a+1,0,e);break;case"MultiPolygon":o=r.K(),o[s[1]][s[0]].splice(a+1,0,e);break;case"LineString":o=r.K(),o.splice(a+1,0,e);break;default:return}r.W(o),o=this.a,o.remove(t),Gg(this,r,a,s,1);var p={aa:[i[0],e],feature:n,geometry:r,depth:s,index:a};o.ha(Ne(p.aa),p),this.g.push([p,1]),i={aa:[e,i[1]],feature:n,geometry:r,depth:s,index:a+1},o.ha(Ne(i.aa),i),this.g.push([i,0])},v($g,Pt),v(Hg,As),Hg.prototype.p=function(){return this.a.b},Hg.prototype.setMap=function(t){var e=this.l,o=this.a.b;null===e||o.forEach(e.Ih,e),Hg.S.setMap.call(this,t),this.a.setMap(t),null===t||o.forEach(t.Eh,t)},Hg.prototype.n=function(t){t=t.element;var e=this.l;null===e||e.Eh(t)},Hg.prototype.J=function(t){t=t.element;var e=this.l;null===e||e.Ih(t)},v(Kg,$s),em=Kg.prototype,em.ed=function(e,o){var i=!t(o)||o,n=e.Q(),r=this.T[n.M()];if(t(r)){var s=c(e);this.N[s]=n.G(qe()),r.call(this,e,n),i&&(this.H[s]=n.r("change",d(this.Oj,this,e),this),this.p[s]=e.r(se(e.a),this.Dl,this))}},em.Hi=function(t){this.ed(t)},em.Ii=function(t){this.fd(t)},em.Eg=function(t){var e;t instanceof mu?e=t.feature:t instanceof ti&&(e=t.element),this.ed(e)},em.Fg=function(t){var e;t instanceof mu?e=t.feature:t instanceof ti&&(e=t.element),this.fd(e)},em.Dl=function(t){t=t.c,this.fd(t,!0),this.ed(t,!0)},em.Oj=function(t){if(this.o){var e=c(t);e in this.n||(this.n[e]=t)}else this.Jh(t)},em.fd=function(e,o){var i=!t(o)||o,n=c(e),r=this.N[n];if(r){var s=this.a,a=[];for(hu(s,r,function(t){e===t.feature&&a.push(t)}),r=a.length-1;0<=r;--r)s.remove(a[r]);i&&(Kt(this.H[n]),delete this.H[n],Kt(this.p[n]),delete this.p[n])}},em.setMap=function(t){var e,o=this.l,i=this.X;null===this.g?null===this.i||(e=this.i.Dc()):e=this.g,o&&(P(i,ie),i.length=0,e.forEach(this.Ii,this)),Kg.S.setMap.call(this,t),t&&(null!==this.g?(i.push(this.g.r("add",this.Eg,this)),i.push(this.g.r("remove",this.Fg,this))):null!==this.i&&(i.push(this.i.r("addfeature",this.Eg,this)),i.push(this.i.r("removefeature",this.Fg,this))),e.forEach(this.Hi,this))},em.nc=pb,em.Jh=function(t){this.fd(t,!1),this.ed(t,!1)},em.El=function(t,e){var o,i=e.d;for(o=0;o<i.length;++o)this.T[i[o].M()].call(this,t,i[o])},em.Gg=function(t,e){var o,i,n,r,s=e.K();for(o=0,i=s.length-1;o<i;++o)n=s.slice(o,o+2),r={feature:t,aa:n},this.a.ha(Ne(n),r)},em.Fl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,aa:a},this.a.ha(Ne(a),p)},em.Gl=function(t,e){var o,i,n,r=e.K();for(i=0,n=r.length;i<n;++i)o=r[i],o={feature:t,aa:[o,o]},this.a.ha(e.G(),o)},em.Hl=function(t,e){var o,i,n,r,s,a,p,l,h,u,c=e.K();for(a=0,p=c.length;a<p;++a)for(l=c[a],r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)h=o.slice(i,i+2),u={feature:t,aa:h},this.a.ha(Ne(h),u)},em.Il=function(t,e){var o=e.K(),o={feature:t,aa:[o,o]};this.a.ha(e.G(),o)},em.Jl=function(t,e){var o,i,n,r,s,a,p,l=e.K();for(r=0,s=l.length;r<s;++r)for(o=l[r],i=0,n=o.length-1;i<n;++i)a=o.slice(i,i+2),p={feature:t,aa:a},this.a.ha(Ne(a),p)},v(Zg,Lp);var fC=["#00f","#0ff","#0f0","#ff0","#f00"];em=Zg.prototype,em.Sf=function(){return this.get("blur")},em.Wf=function(){return this.get("gradient")},em.Hg=function(){return this.get("radius")},em.Pj=function(){for(var t=this.Wf(),e=mr(1,256),o=e.createLinearGradient(0,0,1,256),i=1/(t.length-1),n=0,r=t.length;n<r;++n)o.addColorStop(n*i,t[n]);e.fillStyle=o,e.fillRect(0,0,1,256),this.d=e.getImageData(0,0,1,256).data},em.hg=function(){var t=this.Hg(),e=this.Sf(),o=t+e+1,i=2*o,i=mr(i,i);i.shadowOffsetX=i.shadowOffsetY=this.L,i.shadowBlur=e,i.shadowColor="#000",i.beginPath(),e=o-this.L,i.arc(e,e,t,0,2*Math.PI,!0),i.fill(),this.p=i.canvas.toDataURL(),this.l=Array(256),this.k()},em.hk=function(t){t=t.context;var e,o,i,n=t.canvas,n=t.getImageData(0,0,n.width,n.height),r=n.data;for(e=0,o=r.length;e<o;e+=4)(i=4*r[e+3])&&(r[e]=this.d[i],r[e+1]=this.d[i+1],r[e+2]=this.d[i+2]);t.putImageData(n,0,0)},em.th=function(t){this.set("blur",t)},em.yh=function(t){this.set("gradient",t)},em.Ig=function(t){this.set("radius",t)};var yC=0,dC=1;v(ev,m);var gC=0;ov.prototype.send=function(t,e,o,i){t=t||null,i=i||"_"+(gC++).toString(36)+lm().toString(36),sm._callbacks_||(sm._callbacks_={});var n=this.a.clone();if(t)for(var r in t)if(!t.hasOwnProperty||t.hasOwnProperty(r)){var a=n,p=r,l=t[r];s(l)||(l=[String(l)]),vy(a.b,p,l)}return e&&(sm._callbacks_[i]=nv(i,e),e=this.b,r="_callbacks_."+i,s(r)||(r=[String(r)]),vy(n.b,e,r)),e=_g(n.toString(),{timeout:this.oc,Bi:!0}),og(e,null,iv(i,t,o),void 0),{$:i,Of:e}},ov.prototype.cancel=function(t){t&&(t.Of&&t.Of.cancel(),t.$&&rv(t.$,!1))},v(cv,Pn),em=cv.prototype,em.Vb=function(e,o,i,n,r){var s=this.bb(e,o,i);if(tn(this.a,s))return this.a.get(s);e=[e,o,i],o=t(r)?r:this.f,i=kn(this,o);var a,p=this.H;if(a=t(p)){a=e[0];var l=xn(i,a);if(t(l)){var h=Tn(o),u=o.G();a=he(i.na(a),i.a)[0]*l==h.na(a)*_o(gn(h,u,a))}else a=o.e}return a?p?(p=e[0],a=e[1],o=wn(i,p,o),a<o.b||a>o.d?(a=ht(a,_o(o)),o=[p,a,e[2]]):o=e):(p=e[1],o=wn(i,e[0],o),o=p<o.b||p>o.d?null:e):o=e,n=null===o?void 0:this.tileUrlFunction(o,n,r),n=new this.tileClass(e,t(n)?0:4,t(n)?n:"",this.crossOrigin,this.tileLoadFunction),qt(n,"change",this.nm,!1,this),this.a.set(s,n),n},em.Ua=function(){return this.tileLoadFunction},em.Va=function(){return this.tileUrlFunction},em.nm=function(t){switch(t=t.target,t.state){case 1:this.dispatchEvent(new An("tileloadstart",t));break;case 2:this.dispatchEvent(new An("tileloadend",t));break;case 3:this.dispatchEvent(new An("tileloaderror",t))}},em.$a=function(t){this.a.clear(),this.tileLoadFunction=t,this.k()},em.pa=function(t){this.a.clear(),this.tileUrlFunction=t,this.k()},em.yf=function(t,e,o){t=this.bb(t,e,o),tn(this.a,t)&&this.a.get(t)},v(yv,yn),yv.prototype.yb=function(e){e=t(e)?e:{};var o=this.minZoom,i=this.maxZoom,n=null;if(t(e.extent)){var r,n=Array(i+1);for(r=0;r<=i;++r)n[r]=r<o?null:gn(this,e.extent,r)}return function(t,e,r){if(e=t[0],e<o||i<e)return null;var s=t[1];return t=t[2],t<-Math.pow(2,e)||-1<t||null!==n&&!Yo(n[e],s,t)?null:Ho(e,s,-t-1,r)}},yv.prototype.Ld=function(t,e){if(t[0]<this.maxZoom){var o=2*t[1],i=2*t[2];return Vo(o,o+1,i,i+1,e)}return null},yv.prototype.Ad=function(t,e,o,i){for(i=Vo(0,t[1],0,t[2],i),t=t[0]-1;t>=this.minZoom;--t)if(i.b=i.d>>=1,i.c=i.a>>=1,e.call(o,t,i))return!0;return!1},v(dv,cv);var vC=new Qo({html:'<a class="ol-attribution-bing-tos" href="http://www.microsoft.com/maps/product/terms.html">Terms of Use</a>'});dv.prototype.i=function(t){if(200!=t.statusCode||"OK"!=t.statusDescription||"ValidCredentials"!=t.authenticationResultCode||1!=t.resourceSets.length||1!=t.resourceSets[0].resources.length)pn(this,"error");else{var e=t.brandLogoUri;-1==e.indexOf("https")&&(e=e.replace("http","https"));var o=t.resourceSets[0].resources[0],i=-1==this.e?o.zoomMax:this.e,n=new yv({extent:Mn(this.f),minZoom:o.zoomMin,maxZoom:i,tileSize:o.imageWidth==o.imageHeight?o.imageWidth:[o.imageWidth,o.imageHeight]});this.tileGrid=n;var r=this.g;if(this.tileUrlFunction=hv(n.yb(),pv(k(o.imageUrlSubdomains,function(t){var e=o.imageUrl.replace("{subdomain}",t).replace("{culture}",r);return function(t){return null===t?void 0:e.replace("{quadkey}",Wo(t))}}))),o.imageryProviders){var s=Co(xo("EPSG:4326"),this.f);t=k(o.imageryProviders,function(t){var e=t.attribution,o={};return P(t.coverageAreas,function(t){var e=t.zoomMin,r=Math.min(t.zoomMax,i);t=t.bbox,t=po([t[1],t[0],t[3],t[2]],s);var a,p;for(a=e;a<=r;++a)p=a.toString(),e=gn(n,t,a),p in o?o[p].push(e):o[p]=[e]}),new Qo({html:e,tileRanges:o})}),t.push(vC),this.d=t}this.L=e,pn(this,"ready")}},v(gv,cu),gv.prototype.X=function(){return this.l},gv.prototype.ac=function(t,e,o){e!==this.p&&(this.clear(),this.p=e,this.l.ac(t,e,o),vv(this),this.Oc(this.n))},gv.prototype.ba=function(){this.clear(),vv(this),this.Oc(this.n),this.k()},v(bv,Dl),em=bv.prototype,em.Tl=function(){return this.e},em.Cc=function(e,o,i,n){o=Fl(this,o),i=this.X?i:1;var r=this.c;return null!==r&&this.p==this.b&&r.resolution==o&&r.e==i&&Be(r.G(),e)?r:(1!=this.n&&(e=e.slice(),ao(e,this.n)),n=this.J(e,[no(e)/o*i,to(e)/o*i],n),t(n)?(r=new zd(e,o,i,this.d,n,this.T,this.a),qt(r,"change",this.i,!1,this)):r=null,this.c=r,this.p=this.b,r)},em.Sl=function(){return this.a},em.Wl=function(t){rt(this.e,t),this.k()},em.Ul=function(t,e,o,i){var n;n=this.N;var r=no(o),s=to(o),a=i[0],p=i[1],l=.0254/this.g;return n=p*r>a*s?r*n/(a*l):s*n/(p*l),o=_e(o),i={OPERATION:this.ba?"GETDYNAMICMAPOVERLAYIMAGE":"GETMAPIMAGE",VERSION:"2.0.0",LOCALE:"en",CLIENTAGENT:"ol.source.ImageMapGuide source",CLIP:"1",SETDISPLAYDPI:this.g,SETDISPLAYWIDTH:Math.round(i[0]),SETDISPLAYHEIGHT:Math.round(i[1]),SETVIEWSCALE:n,SETVIEWCENTERX:o[0],SETVIEWCENTERY:o[1]},rt(i,e),hh(ch([t],i))},em.Vl=function(t){this.c=null,this.a=t,this.k()},v(wv,Dl),wv.prototype.Cc=function(t){return ro(t,this.a.G())?this.a:null},v(xv,Dl);var mC=[101,101];em=xv.prototype,em.bm=function(e,o,i,n){if(t(this.e)){var r=Qe(e,o,0,mC),s={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.c.LAYERS};return rt(s,this.c,n),n=Math.floor((r[3]-e[1])/o),s[this.g?"I":"X"]=Math.floor((e[0]-r[0])/o),s[this.g?"J":"Y"]=n,Sv(this,r,mC,1,xo(i),s)}},em.dm=function(){return this.c},em.Cc=function(e,o,i,n){if(!t(this.e))return null;o=Fl(this,o),1==i||this.ba&&t(this.T)||(i=1);var r=this.a;if(null!==r&&this.N==this.b&&r.resolution==o&&r.e==i&&Be(r.G(),e))return r;r={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},rt(r,this.c),e=e.slice();var s=(e[0]+e[2])/2,a=(e[1]+e[3])/2;if(1!=this.J){var p=this.J*no(e)/2,l=this.J*to(e)/2;e[0]=s-p,e[1]=a-l,e[2]=s+p,e[3]=a+l}var p=o/i,l=Math.ceil(no(e)/p),h=Math.ceil(to(e)/p);return e[0]=s-p*l/2,e[2]=s+p*l/2,e[1]=a-p*h/2,e[3]=a+p*h/2,this.p[0]=l,this.p[1]=h,n=Sv(this,e,this.p,i,n,r),this.a=new zd(e,o,i,this.d,n,this.X,this.n),this.N=this.b,qt(this.a,"change",this.i,!1,this),this.a},em.cm=function(){return this.n},em.em=function(){return this.e},em.fm=function(t){this.a=null,this.n=t,this.k()},em.gm=function(t){t!=this.e&&(this.e=t,this.a=null,this.k())},em.hm=function(t){rt(this.c,t),Tv(this),this.a=null,this.k()},v(Cv,cv),Cv.prototype.pa=function(t){Cv.S.pa.call(this,hv(this.l,t))},Cv.prototype.e=function(t){this.pa(av(uv(t)))},v(Mv,Cv);var bC=new Qo({html:'© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors.'});v(Pv,Cv);var wC=new Qo({html:'Tiles Courtesy of <a href="http://www.mapquest.com/">MapQuest</a>'}),xC={osm:{maxZoom:19,attributions:[wC,bC]},sat:{maxZoom:18,attributions:[wC,new Qo({html:"Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency"})]},hyb:{maxZoom:18,attributions:[wC,bC]}};Pv.prototype.i=function(){return this.g};var SC={terrain:{Ta:"jpg",opaque:!0},"terrain-background":{Ta:"jpg",opaque:!0},"terrain-labels":{Ta:"png",opaque:!1},"terrain-lines":{Ta:"png",opaque:!1},"toner-background":{Ta:"png",opaque:!0},toner:{Ta:"png",opaque:!0},"toner-hybrid":{Ta:"png",opaque:!1},"toner-labels":{Ta:"png",opaque:!1},"toner-lines":{Ta:"png",opaque:!1},"toner-lite":{Ta:"png",opaque:!0},watercolor:{Ta:"jpg",opaque:!0}},TC={terrain:{minZoom:4,maxZoom:18},toner:{minZoom:0,maxZoom:20},watercolor:{minZoom:3,maxZoom:16}};v(Ev,Cv);var CC=[new Qo({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>.'}),bC];return v(kv,cv),em=kv.prototype,em.im=function(){return this.e},em.Xb=function(t,e,o){return t=kv.S.Xb.call(this,t,e,o),1==e?t:le(t,e,this.c)},em.jm=function(){return this.g},em.km=function(e){e=t(e)?uv(e):null,this.Ng(e)},em.Ng=function(t){this.g=null!=t?t:[],this.k()},em.lm=function(t,e,o){var i=this.tileGrid;if(null===i&&(i=kn(this,o)),!(i.b.length<=t[0])){var n=mn(i,t,this.i),r=he(i.na(t[0]),this.c);1!=e&&(r=le(r,e,this.c)),i={F:"image",FORMAT:"PNG32",TRANSPARENT:!0},rt(i,this.e);var s=this.g;return 0==s.length?t=void 0:(o=o.b.split(":").pop(),i.SIZE=r[0]+","+r[1],i.BBOX=n.join(","),i.BBOXSR=o,i.IMAGESR=o,i.DPI=90*e,t=1==s.length?s[0]:s[ht((t[1]<<t[0])+t[2],s.length)],b(t,"/")||(t+="/"),b(t,"MapServer/")?t+="export":b(t,"ImageServer/")&&(t+="exportImage"),t=hh(ch([t],i))),t}},em.mm=function(t){rt(this.e,t),this.k()},v(Av,nn),Av.prototype.Ma=function(e){if(e=t(e)?c(e):-1,e in this.a)return this.a[e];var o=this.c,i=mr(o[0],o[1]);return i.strokeStyle="black",i.strokeRect(.5,.5,o[0]+.5,o[1]+.5),i.fillStyle="black",i.textAlign="center",i.textBaseline="middle",i.font="24px sans-serif",i.fillText(Ko(this.b),o[0]/2,o[1]/2),this.a[e]=i.canvas},v(Rv,Pn),Rv.prototype.Vb=function(t,e,o){var i=this.bb(t,e,o);return tn(this.a,i)?this.a.get(i):(t=new Av([t,e,o],this.tileGrid),this.a.set(i,t),t)},v(jv,cv),jv.prototype.e=function(e){var o,i=xo("EPSG:4326"),n=this.f;t(e.bounds)&&(o=po(e.bounds,Co(i,n)));var r=e.minzoom||0,s=e.maxzoom||22;if(this.tileGrid=n=new yv({extent:Mn(n),maxZoom:s,minZoom:r}),this.tileUrlFunction=hv(n.yb({extent:o}),av(e.tiles)),t(e.attribution)&&null===this.d){i=t(o)?o:i.G(),o={};for(var a;r<=s;++r)a=r.toString(),o[a]=[gn(n,i,r)];this.d=[new Qo({html:e.attribution,tileRanges:o})]}pn(this,"ready")},v(Lv,Pn),em=Lv.prototype,em.wj=function(){return this.g},em.Gi=function(t,e,o,i,n){null===this.tileGrid?!0===n?Yn(function(){o.call(i,null)}):o.call(i,null):(e=this.tileGrid.Wb(t,e),Dv(this.Vb(e[0],e[1],e[2],1,this.f),t,o,i,n))},em.om=function(e){var o,i=xo("EPSG:4326"),n=this.f;t(e.bounds)&&(o=po(e.bounds,Co(i,n)));var r=e.minzoom||0,s=e.maxzoom||22;this.tileGrid=n=new yv({extent:Mn(n),maxZoom:s,minZoom:r}),this.g=e.template;var a=e.grids;if(null!=a){if(this.e=hv(n.yb({extent:o}),av(a)),t(e.attribution)){for(i=t(o)?o:i.G(),o={};r<=s;++r)a=r.toString(),o[a]=[gn(n,i,r)];this.d=[new Qo({html:e.attribution,tileRanges:o})]}pn(this,"ready")}else pn(this,"error")},em.Vb=function(e,o,i,n,r){var s=this.bb(e,o,i);return tn(this.a,s)?this.a.get(s):(e=[e,o,i],n=this.e(e,n,r),n=new Nv(e,t(n)?0:4,t(n)?n:"",mn(this.tileGrid,e),this.i),this.a.set(s,n),n)},em.yf=function(t,e,o){t=this.bb(t,e,o),tn(this.a,t)&&this.a.get(t)},v(Nv,nn),em=Nv.prototype,em.Ma=function(){return null},em.gb=function(){return this.g},em.Lj=function(){this.state=3,rn(this)},em.Xj=function(t){this.c=t.grid,this.e=t.keys,this.d=t.data,this.state=4,rn(this)},em.load=function(){this.i&&Fv(this)},v(Ov,cu),em=Ov.prototype,em.clear=function(){tt(this.l)},em.Ab=function(e,o,i,n){var r=this.n,s=this.l;o=Sn(r,o),e=gn(r,e,o);for(var a,r=e.b;r<=e.d;++r)for(a=e.c;a<=e.a;++a){var p=s[o+"/"+r+"/"+a];if(t(p)){var l,h;for(l=0,h=p.length;l<h;++l){var u=i.call(n,p[l]);if(u)return u}}}},em.Dc=function(){var t,e=this.l,o=[];for(t in e)F(o,e[t]);return o},em.Vi=function(t,e){var o=[];return Bv(this,t,e,function(t){o.push(t)}),o},em.ac=function(e,o,i){function n(t,e){h[t]=e,this.k()}var r,s,a=this.X,p=this.n,l=this.p,h=this.l,u=Sn(p,o),p=gn(p,e,u),c=[u,0,0];for(r=p.b;r<=p.d;++r)for(s=p.c;s<=p.a;++s){var f=u+"/"+r+"/"+s;if(!(f in h)){c[0]=u,c[1]=r,c[2]=s,a(c,i,c);var y=l(c,1,i);t(y)&&(h[f]=[],nu(y,this.T,g(n,f)).call(this,e,o,i))}}},v(Uv,cv),em=Uv.prototype,em.pm=function(t,e,o,i){o=xo(o);var n=this.tileGrid;if(null===n&&(n=kn(this,o)),e=n.Wb(t,e),!(n.b.length<=e[0])){var r=n.ma(e[0]),s=mn(n,e,this.N),n=he(n.na(e[0]),this.c),a=this.l;return 0!==a&&(n=pe(n,a,this.c),s=De(s,r*a,s)),a={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetFeatureInfo",FORMAT:"image/png",TRANSPARENT:!0,QUERY_LAYERS:this.e.LAYERS},rt(a,this.e,i),i=Math.floor((s[3]-t[1])/r),a[this.i?"I":"X"]=Math.floor((t[0]-s[0])/r),a[this.i?"J":"Y"]=i,Gv(this,e,n,s,1,o,a)}},em.Cd=function(){return this.l},em.bb=function(t,e,o){return this.p+Uv.S.bb.call(this,t,e,o)},em.qm=function(){return this.e},em.Xb=function(e,o,i){return e=Uv.S.Xb.call(this,e,o,i),1!=o&&this.J&&t(this.n)?le(e,o,this.c):e; },em.rm=function(){return this.g},em.sm=function(e){e=t(e)?uv(e):null,this.Og(e)},em.Og=function(t){this.g=null!=t?t:[],qv(this),this.k()},em.tm=function(e,o,i){var n=this.tileGrid;if(null===n&&(n=kn(this,i)),!(n.b.length<=e[0])){1==o||this.J&&t(this.n)||(o=1);var r=n.ma(e[0]),s=mn(n,e,this.N),n=he(n.na(e[0]),this.c),a=this.l;return 0!==a&&(n=pe(n,a,this.c),s=De(s,r*a,s)),1!=o&&(n=le(n,o,this.c)),r={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0},rt(r,this.e),Gv(this,e,n,s,o,i,r)}},em.um=function(t){rt(this.e,t),qv(this),$v(this),this.k()},v(Hv,yn),Hv.prototype.q=function(){return this.e},v(Wv,cv),em=Wv.prototype,em.Ti=function(){return this.e},em.Xi=function(){return this.n},em.bb=function(t,e,o){return this.l+Wv.S.bb.call(this,t,e,o)},em.vm=function(){return this.p},em.jj=function(){return this.i},em.uj=function(){return this.T},em.wm=function(){return this.J},em.xm=function(){return this.g},em.Aj=function(){return this.N},em.uo=function(t){rt(this.e,t),Kv(this),this.k()},v(zv,yn),zv.prototype.yb=function(e){e=t(e)?e:{};var o=this.minZoom,i=this.maxZoom,n=null;if(t(e.extent)){var r,n=Array(i+1);for(r=0;r<=i;++r)n[r]=r<o?null:gn(this,e.extent,r)}return function(t,e,r){if(e=t[0],e<o||i<e)return null;var s=Math.pow(2,e),a=t[1];return 0>a||s<=a?null:(t=t[2],t<-s||-1<t||null!==n&&!Yo(n[e],a,-t-1)?null:Ho(e,a,-t-1,r))}},v(Vv,cv),v(Yv,Vd),Yv.prototype.Ma=function(e){var o=t(e)?c(e).toString():"";if(o in this.d)return this.d[o];if(e=Yv.S.Ma.call(this,e),2==this.state){if(256==e.width&&256==e.height)return this.d[o]=e;var i=mr(256,256);return i.drawImage(e,0,0),this.d[o]=i.canvas}return e},Zv.prototype.add=function(e,o,i,n,r,s){return o+this.b>this.c||i+this.b>this.c?null:(n=_v(this,!1,e,o,i,n,s),null===n?null:(e=_v(this,!0,e,o,i,t(r)?r:hb,s),{offsetX:n.offsetX,offsetY:n.offsetY,image:n.image,ig:e.image}))},Jv.prototype.get=function(t){return ot(this.d,t,null)},Jv.prototype.add=function(t,e,o,i,n){var r,s,a;for(s=0,a=this.a.length;s<a;++s)if(r=this.a[s],r.width>=e+this.b&&r.height>=o+this.b)return a={offsetX:r.x+this.b,offsetY:r.y+this.b,image:this.c},this.d[t]=a,i.call(n,this.e,r.x+this.b,r.y+this.b),t=s,e+=this.b,o+=this.b,n=i=void 0,r.width-e>r.height-o?(i={x:r.x+e,y:r.y,width:r.width-e,height:r.height},n={x:r.x,y:r.y+o,width:e,height:r.height-o},Qv(this,t,i,n)):(i={x:r.x+e,y:r.y,width:r.width-e,height:o},n={x:r.x,y:r.y+o,width:r.width,height:r.height-o},Qv(this,t,i,n)),a;return null},v(tm,hs),em=tm.prototype,em.mb=function(){return this.p},em.Cm=function(){return this.g},em.Dm=function(){return this.i},em.he=function(){return this.o},em.Lb=function(){return this.d},em.Dd=function(){return this.H},em.gd=function(){return 2},em.rb=function(){return this.J},em.Em=function(){return this.b},em.Fm=function(){return this.c},em.tj=function(){return this.f},em.Xa=function(){return this.L},em.Gm=function(){return this.a},em.$e=o,em.load=o,em.xf=o,em.Ug=function(t,e,o,i){var n;for(e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),this.f!==this.c&&(this.b*=2),o=0;o<=this.b;o++)i=2*o*Math.PI/this.b-Math.PI/2+this.g,n=0===o%2?this.c:this.f,e.lineTo(t.size/2+n*Math.cos(i),t.size/2+n*Math.sin(i));null!==this.i&&(e.fillStyle=ni(this.i.b),e.fill()),null!==this.a&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.md,null===t.lineDash||e.setLineDash(t.lineDash),e.lineCap=t.lineCap,e.lineJoin=t.lineJoin,e.miterLimit=t.miterLimit,e.stroke()),e.closePath()},em.Tg=function(t,e,o,i){e.setTransform(1,0,0,1,0,0),e.translate(o,i),e.beginPath(),this.f!==this.c&&(this.b*=2);var n;for(o=0;o<=this.b;o++)n=2*o*Math.PI/this.b-Math.PI/2+this.g,i=0===o%2?this.c:this.f,e.lineTo(t.size/2+i*Math.cos(n),t.size/2+i*Math.sin(n));e.fillStyle=ow,e.fill(),null!==this.a&&(e.strokeStyle=t.strokeStyle,e.lineWidth=t.md,null===t.lineDash||e.setLineDash(t.lineDash),e.stroke()),e.closePath()},em.nb=function(){var e=null===this.a?"-":this.a.nb(),o=null===this.i?"-":this.i.nb();return null!==this.e&&e==this.e[1]&&o==this.e[2]&&this.c==this.e[3]&&this.f==this.e[4]&&this.g==this.e[5]&&this.b==this.e[6]||(this.e=["r"+e+o+(t(this.c)?this.c.toString():"-")+(t(this.f)?this.f.toString():"-")+(t(this.g)?this.g.toString():"-")+(t(this.b)?this.b.toString():"-"),e,o,this.c,this.f,this.g,this.b]),this.e[0]},e("ol.animation.bounce",function(e){var o=e.resolution,i=t(e.start)?e.start:lm(),n=t(e.duration)?e.duration:1e3,r=t(e.easing)?e.easing:Uo;return function(t,e){if(e.time<i)return e.animate=!0,e.viewHints[0]+=1,!0;if(e.time<i+n){var s=r((e.time-i)/n),a=o-e.viewState.resolution;return e.animate=!0,e.viewState.resolution+=s*a,e.viewHints[0]+=1,!0}return!1}},nm),e("ol.animation.pan",Go,nm),e("ol.animation.rotate",qo,nm),e("ol.animation.zoom",$o,nm),e("ol.Attribution",Qo,nm),Qo.prototype.getHTML=Qo.prototype.c,ti.prototype.element=ti.prototype.element,e("ol.Collection",ei,nm),ei.prototype.clear=ei.prototype.clear,ei.prototype.extend=ei.prototype.af,ei.prototype.forEach=ei.prototype.forEach,ei.prototype.getArray=ei.prototype.Hk,ei.prototype.item=ei.prototype.item,ei.prototype.getLength=ei.prototype.Ib,ei.prototype.insertAt=ei.prototype.Td,ei.prototype.pop=ei.prototype.pop,ei.prototype.push=ei.prototype.push,ei.prototype.remove=ei.prototype.remove,ei.prototype.removeAt=ei.prototype.tf,ei.prototype.setAt=ei.prototype.Un,e("ol.coordinate.add",ue,nm),e("ol.coordinate.createStringXY",function(t){return function(e){return be(e,t)}},nm),e("ol.coordinate.format",ye,nm),e("ol.coordinate.rotate",ge,nm),e("ol.coordinate.toStringHDMS",function(e){return t(e)?fe(e[1],"NS")+" "+fe(e[0],"EW"):""},nm),e("ol.coordinate.toStringXY",be,nm),e("ol.DeviceOrientation",sf,nm),sf.prototype.getAlpha=sf.prototype.Mi,sf.prototype.getBeta=sf.prototype.Pi,sf.prototype.getGamma=sf.prototype.Yi,sf.prototype.getHeading=sf.prototype.Ik,sf.prototype.getTracking=sf.prototype.og,sf.prototype.setTracking=sf.prototype.bf,e("ol.easing.easeIn",function(t){return Math.pow(t,3)},nm),e("ol.easing.easeOut",Fo,nm),e("ol.easing.inAndOut",Oo,nm),e("ol.easing.linear",Bo,nm),e("ol.easing.upAndDown",Uo,nm),e("ol.extent.boundingExtent",Ne,nm),e("ol.extent.buffer",De,nm),e("ol.extent.containsCoordinate",function(t,e){return Ue(t,e[0],e[1])},nm),e("ol.extent.containsExtent",Be,nm),e("ol.extent.containsXY",Ue,nm),e("ol.extent.createEmpty",qe,nm),e("ol.extent.equals",Xe,nm),e("ol.extent.extend",We,nm),e("ol.extent.getBottomLeft",Ye,nm),e("ol.extent.getBottomRight",Ze,nm),e("ol.extent.getCenter",_e,nm),e("ol.extent.getHeight",to,nm),e("ol.extent.getIntersection",eo,nm),e("ol.extent.getSize",function(t){return[t[2]-t[0],t[3]-t[1]]},nm),e("ol.extent.getTopLeft",oo,nm),e("ol.extent.getTopRight",io,nm),e("ol.extent.getWidth",no,nm),e("ol.extent.intersects",ro,nm),e("ol.extent.isEmpty",so,nm),e("ol.extent.applyTransform",po,nm),e("ol.Feature",af,nm),af.prototype.clone=af.prototype.clone,af.prototype.getGeometry=af.prototype.Q,af.prototype.getId=af.prototype.aj,af.prototype.getGeometryName=af.prototype.$i,af.prototype.getStyle=af.prototype.Qk,af.prototype.getStyleFunction=af.prototype.Rk,af.prototype.setGeometry=af.prototype.La,af.prototype.setStyle=af.prototype.cf,af.prototype.setId=af.prototype.Qb,af.prototype.setGeometryName=af.prototype.Ic,e("ol.featureloader.xhr",ru,nm),e("ol.FeatureOverlay",pf,nm),pf.prototype.addFeature=pf.prototype.pg,pf.prototype.getFeatures=pf.prototype.Kk,pf.prototype.getMap=pf.prototype.Lk,pf.prototype.removeFeature=pf.prototype.Yd,pf.prototype.setFeatures=pf.prototype.ld,pf.prototype.setMap=pf.prototype.setMap,pf.prototype.setStyle=pf.prototype.rg,pf.prototype.getStyle=pf.prototype.Mk,pf.prototype.getStyleFunction=pf.prototype.Nk,e("ol.Geolocation",Gd,nm),Gd.prototype.getAccuracy=Gd.prototype.Ki,Gd.prototype.getAccuracyGeometry=Gd.prototype.Li,Gd.prototype.getAltitude=Gd.prototype.Ni,Gd.prototype.getAltitudeAccuracy=Gd.prototype.Oi,Gd.prototype.getHeading=Gd.prototype.Tk,Gd.prototype.getPosition=Gd.prototype.Uk,Gd.prototype.getProjection=Gd.prototype.sg,Gd.prototype.getSpeed=Gd.prototype.vj,Gd.prototype.getTracking=Gd.prototype.tg,Gd.prototype.getTrackingOptions=Gd.prototype.bg,Gd.prototype.setProjection=Gd.prototype.ug,Gd.prototype.setTracking=Gd.prototype.Zd,Gd.prototype.setTrackingOptions=Gd.prototype.Dh,e("ol.Graticule",Xd,nm),Xd.prototype.getMap=Xd.prototype.Xk,Xd.prototype.getMeridians=Xd.prototype.kj,Xd.prototype.getParallels=Xd.prototype.pj,Xd.prototype.setMap=Xd.prototype.setMap,e("ol.has.DEVICE_PIXEL_RATIO",Pb,nm),e("ol.has.CANVAS",kb,nm),e("ol.has.DEVICE_ORIENTATION",Ab,nm),e("ol.has.GEOLOCATION",Rb,nm),e("ol.has.TOUCH",jb,nm),e("ol.has.WEBGL",xb,nm),zd.prototype.getImage=zd.prototype.b,Vd.prototype.getImage=Vd.prototype.Ma,e("ol.Kinetic",Ps,nm),e("ol.loadingstrategy.all",su,nm),e("ol.loadingstrategy.bbox",function(t){return[t]},nm),e("ol.loadingstrategy.tile",function(t){return function(e,o){var i=Sn(t,o),n=gn(t,e,i),r=[],i=[i,0,0];for(i[1]=n.b;i[1]<=n.d;++i[1])for(i[2]=n.c;i[2]<=n.a;++i[2])r.push(mn(t,i));return r}},nm),e("ol.Map",Lc,nm),Lc.prototype.addControl=Lc.prototype.si,Lc.prototype.addInteraction=Lc.prototype.ti,Lc.prototype.addLayer=Lc.prototype.Jf,Lc.prototype.addOverlay=Lc.prototype.Kf,Lc.prototype.beforeRender=Lc.prototype.Ha,Lc.prototype.forEachFeatureAtPixel=Lc.prototype.Ne,Lc.prototype.forEachLayerAtPixel=Lc.prototype.al,Lc.prototype.hasFeatureAtPixel=Lc.prototype.ok,Lc.prototype.getEventCoordinate=Lc.prototype.Ui,Lc.prototype.getEventPixel=Lc.prototype.Bd,Lc.prototype.getTarget=Lc.prototype.df,Lc.prototype.getTargetElement=Lc.prototype.bd,Lc.prototype.getCoordinateFromPixel=Lc.prototype.ka,Lc.prototype.getControls=Lc.prototype.Si,Lc.prototype.getOverlays=Lc.prototype.oj,Lc.prototype.getInteractions=Lc.prototype.bj,Lc.prototype.getLayerGroup=Lc.prototype.Ub,Lc.prototype.getLayers=Lc.prototype.vg,Lc.prototype.getPixelFromCoordinate=Lc.prototype.ta,Lc.prototype.getSize=Lc.prototype.xa,Lc.prototype.getView=Lc.prototype.R,Lc.prototype.getViewport=Lc.prototype.Bj,Lc.prototype.renderSync=Lc.prototype.Rn,Lc.prototype.render=Lc.prototype.render,Lc.prototype.removeControl=Lc.prototype.Ln,Lc.prototype.removeInteraction=Lc.prototype.Mn,Lc.prototype.removeLayer=Lc.prototype.Nn,Lc.prototype.removeOverlay=Lc.prototype.On,Lc.prototype.setLayerGroup=Lc.prototype.zh,Lc.prototype.setSize=Lc.prototype.vf,Lc.prototype.setTarget=Lc.prototype.cl,Lc.prototype.setView=Lc.prototype.jo,Lc.prototype.updateSize=Lc.prototype.Kc,$r.prototype.originalEvent=$r.prototype.originalEvent,$r.prototype.pixel=$r.prototype.pixel,$r.prototype.coordinate=$r.prototype.coordinate,$r.prototype.dragging=$r.prototype.dragging,$r.prototype.preventDefault=$r.prototype.preventDefault,$r.prototype.stopPropagation=$r.prototype.fb,_i.prototype.map=_i.prototype.map,_i.prototype.frameState=_i.prototype.frameState,ne.prototype.key=ne.prototype.key,ne.prototype.oldValue=ne.prototype.oldValue,e("ol.Object",re,nm),re.prototype.get=re.prototype.get,re.prototype.getKeys=re.prototype.C,re.prototype.getProperties=re.prototype.D,re.prototype.set=re.prototype.set,re.prototype.setProperties=re.prototype.t,re.prototype.unset=re.prototype.I,e("ol.Observable",oe,nm),e("ol.Observable.unByKey",ie,nm),oe.prototype.changed=oe.prototype.k,oe.prototype.getRevision=oe.prototype.v,oe.prototype.on=oe.prototype.r,oe.prototype.once=oe.prototype.A,oe.prototype.un=oe.prototype.u,oe.prototype.unByKey=oe.prototype.B,e("ol.inherits",v,nm),e("ol.Overlay",Ic,nm),Ic.prototype.getElement=Ic.prototype.$d,Ic.prototype.getMap=Ic.prototype.ae,Ic.prototype.getOffset=Ic.prototype.Yf,Ic.prototype.getPosition=Ic.prototype.wg,Ic.prototype.getPositioning=Ic.prototype.ag,Ic.prototype.setElement=Ic.prototype.wh,Ic.prototype.setMap=Ic.prototype.setMap,Ic.prototype.setOffset=Ic.prototype.Bh,Ic.prototype.setPosition=Ic.prototype.uf,Ic.prototype.setPositioning=Ic.prototype.Ch,e("ol.size.toSize",he,nm),nn.prototype.getTileCoord=nn.prototype.f,e("ol.View",Ao,nm),Ao.prototype.constrainCenter=Ao.prototype.xd,Ao.prototype.constrainResolution=Ao.prototype.constrainResolution,Ao.prototype.constrainRotation=Ao.prototype.constrainRotation,Ao.prototype.getCenter=Ao.prototype.Ca,Ao.prototype.calculateExtent=Ao.prototype.Pc,Ao.prototype.getProjection=Ao.prototype.dl,Ao.prototype.getResolution=Ao.prototype.ya,Ao.prototype.getRotation=Ao.prototype.Da,Ao.prototype.getZoom=Ao.prototype.Ej,Ao.prototype.fitExtent=Ao.prototype.Me,Ao.prototype.fitGeometry=Ao.prototype.Fi,Ao.prototype.centerOn=Ao.prototype.Ai,Ao.prototype.rotate=Ao.prototype.rotate,Ao.prototype.setCenter=Ao.prototype.Na,Ao.prototype.setResolution=Ao.prototype.tb,Ao.prototype.setRotation=Ao.prototype.be,Ao.prototype.setZoom=Ao.prototype.no,e("ol.xml.getAllTextContent",kh,nm),e("ol.xml.parse",$h,nm),e("ol.webgl.Context",Xu,nm),Xu.prototype.getGL=Xu.prototype.Xm,Xu.prototype.getHitDetectionFramebuffer=Xu.prototype.Te,Xu.prototype.useProgram=Xu.prototype.oe,e("ol.tilegrid.TileGrid",yn,nm),yn.prototype.getMaxZoom=yn.prototype.Fd,yn.prototype.getMinZoom=yn.prototype.Hd,yn.prototype.getOrigin=yn.prototype.Mb,yn.prototype.getResolution=yn.prototype.ma,yn.prototype.getResolutions=yn.prototype.ne,yn.prototype.getTileCoordForCoordAndResolution=yn.prototype.Wb,yn.prototype.getTileCoordForCoordAndZ=yn.prototype.cd,yn.prototype.getTileSize=yn.prototype.na,e("ol.tilegrid.WMTS",Hv,nm),Hv.prototype.getMatrixIds=Hv.prototype.q,e("ol.tilegrid.WMTS.createFromCapabilitiesMatrixSet",Xv,nm),e("ol.tilegrid.XYZ",yv,nm),e("ol.tilegrid.Zoomify",zv,nm),e("ol.style.AtlasManager",Zv,nm),e("ol.style.Circle",op,nm),op.prototype.getAnchor=op.prototype.mb,op.prototype.getFill=op.prototype.ym,op.prototype.getImage=op.prototype.Lb,op.prototype.getOrigin=op.prototype.rb,op.prototype.getRadius=op.prototype.zm,op.prototype.getSize=op.prototype.Xa,op.prototype.getStroke=op.prototype.Am,e("ol.style.Fill",ep,nm),ep.prototype.getColor=ep.prototype.c,ep.prototype.setColor=ep.prototype.d,e("ol.style.Icon",us,nm),us.prototype.getAnchor=us.prototype.mb,us.prototype.getImage=us.prototype.Lb,us.prototype.getOrigin=us.prototype.rb,us.prototype.getSrc=us.prototype.Bm,us.prototype.getSize=us.prototype.Xa,e("ol.style.Image",hs,nm),hs.prototype.getOpacity=hs.prototype.ie,hs.prototype.getRotateWithView=hs.prototype.Jd,hs.prototype.getRotation=hs.prototype.je,hs.prototype.getScale=hs.prototype.ke,hs.prototype.getSnapToPixel=hs.prototype.Kd,hs.prototype.setRotation=hs.prototype.le,hs.prototype.setScale=hs.prototype.me,e("ol.style.RegularShape",tm,nm),tm.prototype.getAnchor=tm.prototype.mb,tm.prototype.getAngle=tm.prototype.Cm,tm.prototype.getFill=tm.prototype.Dm,tm.prototype.getImage=tm.prototype.Lb,tm.prototype.getOrigin=tm.prototype.rb,tm.prototype.getPoints=tm.prototype.Em,tm.prototype.getRadius=tm.prototype.Fm,tm.prototype.getRadius2=tm.prototype.tj,tm.prototype.getSize=tm.prototype.Xa,tm.prototype.getStroke=tm.prototype.Gm,e("ol.style.Stroke",tp,nm),tp.prototype.getColor=tp.prototype.Hm,tp.prototype.getLineCap=tp.prototype.ej,tp.prototype.getLineDash=tp.prototype.Im,tp.prototype.getLineJoin=tp.prototype.fj,tp.prototype.getMiterLimit=tp.prototype.lj,tp.prototype.getWidth=tp.prototype.Jm,tp.prototype.setColor=tp.prototype.Km,tp.prototype.setLineCap=tp.prototype.Zn,tp.prototype.setLineDash=tp.prototype.Lm,tp.prototype.setLineJoin=tp.prototype.$n,tp.prototype.setMiterLimit=tp.prototype.ao,tp.prototype.setWidth=tp.prototype.ko,e("ol.style.Style",ip,nm),ip.prototype.getGeometry=ip.prototype.Q,ip.prototype.getGeometryFunction=ip.prototype.Zi,ip.prototype.getFill=ip.prototype.Mm,ip.prototype.getImage=ip.prototype.Nm,ip.prototype.getStroke=ip.prototype.Om,ip.prototype.getText=ip.prototype.Pm,ip.prototype.getZIndex=ip.prototype.Dj,ip.prototype.setGeometry=ip.prototype.Vg,ip.prototype.setZIndex=ip.prototype.mo,e("ol.style.Text",wy,nm),wy.prototype.getFont=wy.prototype.Wi,wy.prototype.getOffsetX=wy.prototype.mj,wy.prototype.getOffsetY=wy.prototype.nj,wy.prototype.getFill=wy.prototype.Qm,wy.prototype.getRotation=wy.prototype.Rm,wy.prototype.getScale=wy.prototype.Sm,wy.prototype.getStroke=wy.prototype.Tm,wy.prototype.getText=wy.prototype.Um,wy.prototype.getTextAlign=wy.prototype.xj,wy.prototype.getTextBaseline=wy.prototype.yj,wy.prototype.setFont=wy.prototype.Wn,wy.prototype.setFill=wy.prototype.Vn,wy.prototype.setRotation=wy.prototype.Vm,wy.prototype.setScale=wy.prototype.Wm,wy.prototype.setStroke=wy.prototype.eo,wy.prototype.setText=wy.prototype.fo,wy.prototype.setTextAlign=wy.prototype.ho,wy.prototype.setTextBaseline=wy.prototype.io,e("ol.Sphere",lo,nm),lo.prototype.geodesicArea=lo.prototype.a,lo.prototype.haversineDistance=lo.prototype.b,e("ol.source.BingMaps",dv,nm),e("ol.source.BingMaps.TOS_ATTRIBUTION",vC,nm),e("ol.source.Cluster",gv,nm),gv.prototype.getSource=gv.prototype.X,e("ol.source.ImageCanvas",Ul,nm),e("ol.source.ImageMapGuide",bv,nm),bv.prototype.getParams=bv.prototype.Tl,bv.prototype.getImageLoadFunction=bv.prototype.Sl,bv.prototype.updateParams=bv.prototype.Wl,bv.prototype.setImageLoadFunction=bv.prototype.Vl,e("ol.source.Image",Dl,nm),Bl.prototype.image=Bl.prototype.image,e("ol.source.ImageStatic",wv,nm),e("ol.source.ImageVector",bu,nm),bu.prototype.getSource=bu.prototype.Xl,bu.prototype.getStyle=bu.prototype.Yl,bu.prototype.getStyleFunction=bu.prototype.Zl,bu.prototype.setStyle=bu.prototype.Mg,e("ol.source.ImageWMS",xv,nm),xv.prototype.getGetFeatureInfoUrl=xv.prototype.bm,xv.prototype.getParams=xv.prototype.dm,xv.prototype.getImageLoadFunction=xv.prototype.cm,xv.prototype.getUrl=xv.prototype.em,xv.prototype.setImageLoadFunction=xv.prototype.fm,xv.prototype.setUrl=xv.prototype.gm,xv.prototype.updateParams=xv.prototype.hm,e("ol.source.MapQuest",Pv,nm),Pv.prototype.getLayer=Pv.prototype.i,e("ol.source.OSM",Mv,nm),e("ol.source.OSM.ATTRIBUTION",bC,nm),e("ol.source.Source",sn,nm),sn.prototype.getAttributions=sn.prototype.ea,sn.prototype.getLogo=sn.prototype.ca,sn.prototype.getProjection=sn.prototype.fa,sn.prototype.getState=sn.prototype.ga,e("ol.source.Stamen",Ev,nm),e("ol.source.TileArcGISRest",kv,nm),kv.prototype.getParams=kv.prototype.im,kv.prototype.getUrls=kv.prototype.jm,kv.prototype.setUrl=kv.prototype.km,kv.prototype.setUrls=kv.prototype.Ng,kv.prototype.updateParams=kv.prototype.mm,e("ol.source.TileDebug",Rv,nm),e("ol.source.TileImage",cv,nm),cv.prototype.getTileLoadFunction=cv.prototype.Ua,cv.prototype.getTileUrlFunction=cv.prototype.Va,cv.prototype.setTileLoadFunction=cv.prototype.$a,cv.prototype.setTileUrlFunction=cv.prototype.pa,e("ol.source.TileJSON",jv,nm),e("ol.source.Tile",Pn,nm),Pn.prototype.getTileGrid=Pn.prototype.ua,An.prototype.tile=An.prototype.tile,e("ol.source.TileUTFGrid",Lv,nm),Lv.prototype.getTemplate=Lv.prototype.wj,Lv.prototype.forDataAtCoordinateAndResolution=Lv.prototype.Gi,e("ol.source.TileVector",Ov,nm),Ov.prototype.getFeatures=Ov.prototype.Dc,Ov.prototype.getFeaturesAtCoordinateAndResolution=Ov.prototype.Vi,e("ol.source.TileWMS",Uv,nm),Uv.prototype.getGetFeatureInfoUrl=Uv.prototype.pm,Uv.prototype.getParams=Uv.prototype.qm,Uv.prototype.getUrls=Uv.prototype.rm,Uv.prototype.setUrl=Uv.prototype.sm,Uv.prototype.setUrls=Uv.prototype.Og,Uv.prototype.updateParams=Uv.prototype.um,e("ol.source.Vector",cu,nm),cu.prototype.addFeature=cu.prototype.jf,cu.prototype.addFeatures=cu.prototype.Oc,cu.prototype.clear=cu.prototype.clear,cu.prototype.forEachFeature=cu.prototype.Rf,cu.prototype.forEachFeatureInExtent=cu.prototype.$c,cu.prototype.forEachFeatureIntersectingExtent=cu.prototype.Oe,cu.prototype.getFeatures=cu.prototype.Dc,cu.prototype.getFeaturesAtCoordinate=cu.prototype.Re,cu.prototype.getFeaturesInExtent=cu.prototype.Se,cu.prototype.getClosestFeatureToCoordinate=cu.prototype.Tf,cu.prototype.getExtent=cu.prototype.G,cu.prototype.getFeatureById=cu.prototype.Qe,cu.prototype.removeFeature=cu.prototype.Qg,mu.prototype.feature=mu.prototype.feature,e("ol.source.WMTS",Wv,nm),Wv.prototype.getDimensions=Wv.prototype.Ti,Wv.prototype.getFormat=Wv.prototype.Xi,Wv.prototype.getLayer=Wv.prototype.vm,Wv.prototype.getMatrixSet=Wv.prototype.jj,Wv.prototype.getRequestEncoding=Wv.prototype.uj,Wv.prototype.getStyle=Wv.prototype.wm,Wv.prototype.getUrls=Wv.prototype.xm,Wv.prototype.getVersion=Wv.prototype.Aj,Wv.prototype.updateDimensions=Wv.prototype.uo,e("ol.source.WMTS.optionsFromCapabilities",function(e,o){var i,n,r,s=R(e.Contents.Layer,function(t){return t.Identifier==o.layer});i=1<s.TileMatrixSetLink.length?j(s.TileMatrixSetLink,function(t){return t.TileMatrixSet==o.matrixSet}):t(o.projection)?j(s.TileMatrixSetLink,function(t){return t.TileMatrixSet.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")==o.projection}):0,0>i&&(i=0),n=s.TileMatrixSetLink[i].TileMatrixSet,i=s.WGS84BoundingBox,t(i)&&(r=xo("EPSG:4326").G(),r=i[0]==r[0]&&i[2]==r[2]);var a=s.Format[0];t(o.format)&&(a=o.format),i=j(s.Style,function(e){return t(o.style)?e.Title==o.style:e.isDefault}),0>i&&(i=0),i=s.Style[i].Identifier;var p={};t(s.Dimension)&&P(s.Dimension,function(e){var o=e.Identifier,i=e["default"];t(i)||(i=e.values[0]),p[o]=i});var l=R(e.Contents.TileMatrixSet,function(t){return t.Identifier==n}),h=Xv(l),l=xo(t(o.projection)?o.projection:l.SupportedCRS.replace(/urn:ogc:def:crs:(\w+):(.*:)?(\w+)$/,"$1:$3")),u=[],c=o.requestEncoding,c=t(c)?c:"";if(e.OperationsMetadata.hasOwnProperty("GetTile")&&0!=c.lastIndexOf("REST",0))for(var s=e.OperationsMetadata.GetTile.DCP.HTTP.Get,f=0,y=s.length;f<y;++f){var d=R(s[f].Constraint,function(t){return"GetEncoding"==t.name}).AllowedValues.Value;0<d.length&&L(d,"KVP")&&(c="KVP",u.push(s[f].href))}else c="REST",P(s.ResourceURL,function(t){"tile"==t.resourceType&&(a=t.format,u.push(t.template))});return{urls:u,layer:o.layer,matrixSet:n,format:a,projection:l,requestEncoding:c,tileGrid:h,style:i,dimensions:p,wrapX:r}},nm),e("ol.source.XYZ",Cv,nm),Cv.prototype.setTileUrlFunction=Cv.prototype.pa,Cv.prototype.setUrl=Cv.prototype.e,e("ol.source.Zoomify",Vv,nm),$a.prototype.vectorContext=$a.prototype.vectorContext,$a.prototype.frameState=$a.prototype.frameState,$a.prototype.context=$a.prototype.context,$a.prototype.glContext=$a.prototype.glContext,e("ol.render.VectorContext",qa,nm),hc.prototype.drawAsync=hc.prototype.tc,hc.prototype.drawCircleGeometry=hc.prototype.uc,hc.prototype.drawFeature=hc.prototype.Le,hc.prototype.drawGeometryCollectionGeometry=hc.prototype.zd,hc.prototype.drawPointGeometry=hc.prototype.kb,hc.prototype.drawLineStringGeometry=hc.prototype.zb,hc.prototype.drawMultiLineStringGeometry=hc.prototype.vc,hc.prototype.drawMultiPointGeometry=hc.prototype.jb,hc.prototype.drawMultiPolygonGeometry=hc.prototype.wc,hc.prototype.drawPolygonGeometry=hc.prototype.Rb,hc.prototype.drawText=hc.prototype.lb,hc.prototype.setFillStrokeStyle=hc.prototype.Aa,hc.prototype.setImageStyle=hc.prototype.Za,hc.prototype.setTextStyle=hc.prototype.Ba,Np.prototype.drawAsync=Np.prototype.tc,Np.prototype.drawCircleGeometry=Np.prototype.uc,Np.prototype.drawFeature=Np.prototype.Le,Np.prototype.drawPointGeometry=Np.prototype.kb,Np.prototype.drawMultiPointGeometry=Np.prototype.jb,Np.prototype.drawLineStringGeometry=Np.prototype.zb,Np.prototype.drawMultiLineStringGeometry=Np.prototype.vc,Np.prototype.drawPolygonGeometry=Np.prototype.Rb,Np.prototype.drawMultiPolygonGeometry=Np.prototype.wc,Np.prototype.setFillStrokeStyle=Np.prototype.Aa,Np.prototype.setImageStyle=Np.prototype.Za,Np.prototype.setTextStyle=Np.prototype.Ba,e("ol.proj.common.add",Ap,nm),e("ol.proj.METERS_PER_UNIT",Jm,nm),e("ol.proj.Projection",ho,nm),ho.prototype.getCode=ho.prototype.Ri,ho.prototype.getExtent=ho.prototype.G,ho.prototype.getUnits=ho.prototype.Ll,ho.prototype.getMetersPerUnit=ho.prototype.Gd,ho.prototype.getWorldExtent=ho.prototype.Cj,ho.prototype.isGlobal=ho.prototype.Ml,ho.prototype.setGlobal=ho.prototype.Yn,ho.prototype.setExtent=ho.prototype.Nl,ho.prototype.setWorldExtent=ho.prototype.lo,ho.prototype.setGetPointResolution=ho.prototype.Xn,ho.prototype.getPointResolution=ho.prototype.getPointResolution,e("ol.proj.addEquivalentProjections",co,nm),e("ol.proj.addProjection",yo,nm),e("ol.proj.addCoordinateTransforms",bo,nm),e("ol.proj.fromLonLat",function(e,o){return Eo(e,"EPSG:4326",t(o)?o:"EPSG:3857")},nm),e("ol.proj.toLonLat",function(e,o){return Eo(e,t(o)?o:"EPSG:3857","EPSG:4326")},nm),e("ol.proj.get",xo,nm),e("ol.proj.getTransform",To,nm),e("ol.proj.transform",Eo,nm),e("ol.proj.transformExtent",ko,nm),e("ol.layer.Heatmap",Zg,nm),Zg.prototype.getBlur=Zg.prototype.Sf,Zg.prototype.getGradient=Zg.prototype.Wf,Zg.prototype.getRadius=Zg.prototype.Hg,Zg.prototype.setBlur=Zg.prototype.th,Zg.prototype.setGradient=Zg.prototype.yh,Zg.prototype.setRadius=Zg.prototype.Ig,e("ol.layer.Image",Rp,nm),Rp.prototype.getSource=Rp.prototype.da,e("ol.layer.Layer",Yr,nm),Yr.prototype.getSource=Yr.prototype.da,Yr.prototype.setSource=Yr.prototype.Jc,e("ol.layer.Base",zr,nm),zr.prototype.getBrightness=zr.prototype.Bb,zr.prototype.getContrast=zr.prototype.Cb,zr.prototype.getHue=zr.prototype.Db,zr.prototype.getExtent=zr.prototype.G,zr.prototype.getMaxResolution=zr.prototype.Eb,zr.prototype.getMinResolution=zr.prototype.Fb,zr.prototype.getOpacity=zr.prototype.Kb,zr.prototype.getSaturation=zr.prototype.Gb,zr.prototype.getVisible=zr.prototype.eb,zr.prototype.setBrightness=zr.prototype.gc,zr.prototype.setContrast=zr.prototype.hc,zr.prototype.setHue=zr.prototype.ic,zr.prototype.setExtent=zr.prototype.bc,zr.prototype.setMaxResolution=zr.prototype.jc,zr.prototype.setMinResolution=zr.prototype.kc,zr.prototype.setOpacity=zr.prototype.cc,zr.prototype.setSaturation=zr.prototype.lc,zr.prototype.setVisible=zr.prototype.mc,e("ol.layer.Group",Cp,nm),Cp.prototype.getLayers=Cp.prototype.Bc,Cp.prototype.setLayers=Cp.prototype.Ah,e("ol.layer.Tile",jp,nm),jp.prototype.getPreload=jp.prototype.a,jp.prototype.getSource=jp.prototype.da,jp.prototype.setPreload=jp.prototype.d,jp.prototype.getUseInterimTilesOnError=jp.prototype.c,jp.prototype.setUseInterimTilesOnError=jp.prototype.e,e("ol.layer.Vector",Lp,nm),Lp.prototype.getSource=Lp.prototype.da,Lp.prototype.getStyle=Lp.prototype.H,Lp.prototype.getStyleFunction=Lp.prototype.J,Lp.prototype.setStyle=Lp.prototype.e,e("ol.interaction.DoubleClickZoom",Ns,nm),e("ol.interaction.DoubleClickZoom.handleEvent",Is,nm),e("ol.interaction.DragAndDrop",fg,nm),e("ol.interaction.DragAndDrop.handleEvent",lb,nm),yg.prototype.features=yg.prototype.features,yg.prototype.file=yg.prototype.file,yg.prototype.projection=yg.prototype.projection,Ka.prototype.coordinate=Ka.prototype.coordinate,e("ol.interaction.DragBox",za,nm),za.prototype.getGeometry=za.prototype.Q,e("ol.interaction.DragPan",Ws,nm),e("ol.interaction.DragRotateAndZoom",gg,nm),e("ol.interaction.DragRotate",Ys,nm),e("ol.interaction.DragZoom",pp,nm),wg.prototype.feature=wg.prototype.feature,e("ol.interaction.Draw",xg,nm),e("ol.interaction.Draw.handleEvent",Tg,nm),xg.prototype.finishDrawing=xg.prototype.X,e("ol.interaction.Interaction",As,nm),As.prototype.getActive=As.prototype.c,As.prototype.setActive=As.prototype.d,e("ol.interaction.defaults",Tp,nm),e("ol.interaction.KeyboardPan",lp,nm),e("ol.interaction.KeyboardPan.handleEvent",hp,nm),e("ol.interaction.KeyboardZoom",up,nm),e("ol.interaction.KeyboardZoom.handleEvent",cp,nm),e("ol.interaction.Modify",Lg,nm),e("ol.interaction.Modify.handleEvent",Bg,nm),e("ol.interaction.MouseWheelZoom",fp,nm),e("ol.interaction.MouseWheelZoom.handleEvent",yp,nm),e("ol.interaction.PinchRotate",dp,nm),e("ol.interaction.PinchZoom",bp,nm),e("ol.interaction.Pointer",$s,nm),e("ol.interaction.Pointer.handleEvent",Xs,nm),$g.prototype.selected=$g.prototype.selected,$g.prototype.deselected=$g.prototype.deselected,e("ol.interaction.Select",Hg,nm),Hg.prototype.getFeatures=Hg.prototype.p,e("ol.interaction.Select.handleEvent",Xg,nm),Hg.prototype.setMap=Hg.prototype.setMap,e("ol.interaction.Snap",Kg,nm),Kg.prototype.addFeature=Kg.prototype.ed,Kg.prototype.removeFeature=Kg.prototype.fd,e("ol.geom.Circle",ll,nm),ll.prototype.clone=ll.prototype.clone,ll.prototype.getCenter=ll.prototype.dd,ll.prototype.getRadius=ll.prototype.zg,ll.prototype.getType=ll.prototype.M,ll.prototype.setCenter=ll.prototype.pl,ll.prototype.setCenterAndRadius=ll.prototype.uh,ll.prototype.setRadius=ll.prototype.Ag,ll.prototype.transform=ll.prototype.transform,e("ol.geom.Geometry",Qs,nm),Qs.prototype.getClosestPoint=Qs.prototype.e,Qs.prototype.getExtent=Qs.prototype.G,e("ol.geom.GeometryCollection",ul,nm),ul.prototype.clone=ul.prototype.clone,ul.prototype.getGeometries=ul.prototype.Vf,ul.prototype.getType=ul.prototype.M,ul.prototype.intersectsExtent=ul.prototype.ra,ul.prototype.setGeometries=ul.prototype.xh,ul.prototype.applyTransform=ul.prototype.qa,ul.prototype.translate=ul.prototype.Oa,e("ol.geom.LinearRing",xa,nm),xa.prototype.clone=xa.prototype.clone,xa.prototype.getArea=xa.prototype.rl,xa.prototype.getCoordinates=xa.prototype.K,xa.prototype.getType=xa.prototype.M,xa.prototype.setCoordinates=xa.prototype.W,e("ol.geom.LineString",ml,nm),ml.prototype.appendCoordinate=ml.prototype.ui,ml.prototype.clone=ml.prototype.clone,ml.prototype.forEachSegment=ml.prototype.Ji,ml.prototype.getCoordinateAtM=ml.prototype.ql,ml.prototype.getCoordinates=ml.prototype.K,ml.prototype.getLength=ml.prototype.Bg,ml.prototype.getType=ml.prototype.M,ml.prototype.intersectsExtent=ml.prototype.ra,ml.prototype.setCoordinates=ml.prototype.W,e("ol.geom.MultiLineString",xl,nm),xl.prototype.appendLineString=xl.prototype.vi,xl.prototype.clone=xl.prototype.clone,xl.prototype.getCoordinateAtM=xl.prototype.sl,xl.prototype.getCoordinates=xl.prototype.K,xl.prototype.getLineString=xl.prototype.gj,xl.prototype.getLineStrings=xl.prototype.ad,xl.prototype.getType=xl.prototype.M,xl.prototype.intersectsExtent=xl.prototype.ra,xl.prototype.setCoordinates=xl.prototype.W,e("ol.geom.MultiPoint",Ml,nm),Ml.prototype.appendPoint=Ml.prototype.xi,Ml.prototype.clone=Ml.prototype.clone,Ml.prototype.getCoordinates=Ml.prototype.K,Ml.prototype.getPoint=Ml.prototype.qj,Ml.prototype.getPoints=Ml.prototype.ce,Ml.prototype.getType=Ml.prototype.M,Ml.prototype.intersectsExtent=Ml.prototype.ra,Ml.prototype.setCoordinates=Ml.prototype.W,e("ol.geom.MultiPolygon",Pl,nm),Pl.prototype.appendPolygon=Pl.prototype.yi,Pl.prototype.clone=Pl.prototype.clone,Pl.prototype.getArea=Pl.prototype.tl,Pl.prototype.getCoordinates=Pl.prototype.K,Pl.prototype.getInteriorPoints=Pl.prototype.dj,Pl.prototype.getPolygon=Pl.prototype.sj,Pl.prototype.getPolygons=Pl.prototype.Id,Pl.prototype.getType=Pl.prototype.M,Pl.prototype.intersectsExtent=Pl.prototype.ra,Pl.prototype.setCoordinates=Pl.prototype.W,e("ol.geom.Point",Ta,nm),Ta.prototype.clone=Ta.prototype.clone,Ta.prototype.getCoordinates=Ta.prototype.K,Ta.prototype.getType=Ta.prototype.M,Ta.prototype.intersectsExtent=Ta.prototype.ra,Ta.prototype.setCoordinates=Ta.prototype.W,e("ol.geom.Polygon",Fa,nm),Fa.prototype.appendLinearRing=Fa.prototype.wi,Fa.prototype.clone=Fa.prototype.clone,Fa.prototype.getArea=Fa.prototype.ul,Fa.prototype.getCoordinates=Fa.prototype.K,Fa.prototype.getInteriorPoint=Fa.prototype.cj,Fa.prototype.getLinearRingCount=Fa.prototype.ij,Fa.prototype.getLinearRing=Fa.prototype.hj,Fa.prototype.getLinearRings=Fa.prototype.Ed,Fa.prototype.getType=Fa.prototype.M,Fa.prototype.intersectsExtent=Fa.prototype.ra,Fa.prototype.setCoordinates=Fa.prototype.W,e("ol.geom.Polygon.circular",Ga,nm),e("ol.geom.Polygon.fromExtent",function(t){var e=t[0],o=t[1],i=t[2];return t=t[3],e=[e,o,e,t,i,t,i,o,e,o],o=new Fa(null),Ua(o,"XY",e,[e.length]),o},nm),e("ol.geom.SimpleGeometry",ea,nm),ea.prototype.getFirstCoordinate=ea.prototype.ob,ea.prototype.getLastCoordinate=ea.prototype.pb,ea.prototype.getLayout=ea.prototype.qb,ea.prototype.applyTransform=ea.prototype.qa,ea.prototype.translate=ea.prototype.Oa,e("ol.format.EsriJSON",gf,nm),gf.prototype.readFeature=gf.prototype.sb,gf.prototype.readFeatures=gf.prototype.ja,gf.prototype.readGeometry=gf.prototype.Gc,gf.prototype.readProjection=gf.prototype.za,gf.prototype.writeGeometry=gf.prototype.Mc,gf.prototype.writeGeometryObject=gf.prototype.Be,gf.prototype.writeFeature=gf.prototype.qd,gf.prototype.writeFeatureObject=gf.prototype.Lc,gf.prototype.writeFeatures=gf.prototype.ub,gf.prototype.writeFeaturesObject=gf.prototype.ze,e("ol.format.Feature",hf,nm), e("ol.format.GeoJSON",xf,nm),xf.prototype.readFeature=xf.prototype.sb,xf.prototype.readFeatures=xf.prototype.ja,xf.prototype.readGeometry=xf.prototype.Gc,xf.prototype.readProjection=xf.prototype.za,xf.prototype.writeFeature=xf.prototype.qd,xf.prototype.writeFeatureObject=xf.prototype.Lc,xf.prototype.writeFeatures=xf.prototype.ub,xf.prototype.writeFeaturesObject=xf.prototype.ze,xf.prototype.writeGeometry=xf.prototype.Mc,xf.prototype.writeGeometryObject=xf.prototype.Be,e("ol.format.GPX",Hf,nm),Hf.prototype.readFeature=Hf.prototype.sb,Hf.prototype.readFeatures=Hf.prototype.ja,Hf.prototype.readProjection=Hf.prototype.za,Hf.prototype.writeFeatures=Hf.prototype.ub,Hf.prototype.writeFeaturesNode=Hf.prototype.a,e("ol.format.IGC",ny,nm),ny.prototype.readFeature=ny.prototype.sb,ny.prototype.readFeatures=ny.prototype.ja,ny.prototype.readProjection=ny.prototype.za,e("ol.format.KML",xy,nm),xy.prototype.readFeature=xy.prototype.sb,xy.prototype.readFeatures=xy.prototype.ja,xy.prototype.readName=xy.prototype.Dn,xy.prototype.readNetworkLinks=xy.prototype.En,xy.prototype.readProjection=xy.prototype.za,xy.prototype.writeFeatures=xy.prototype.ub,xy.prototype.writeFeaturesNode=xy.prototype.a,e("ol.format.OSMXML",Yy,nm),Yy.prototype.readFeatures=Yy.prototype.ja,Yy.prototype.readProjection=Yy.prototype.za,e("ol.format.Polyline",ed,nm),e("ol.format.Polyline.encodeDeltas",od,nm),e("ol.format.Polyline.decodeDeltas",id,nm),e("ol.format.Polyline.encodeFloats",nd,nm),e("ol.format.Polyline.decodeFloats",rd,nm),ed.prototype.readFeature=ed.prototype.sb,ed.prototype.readFeatures=ed.prototype.ja,ed.prototype.readGeometry=ed.prototype.Gc,ed.prototype.readProjection=ed.prototype.za,ed.prototype.writeGeometry=ed.prototype.Mc,e("ol.format.TopoJSON",sd,nm),sd.prototype.readFeatures=sd.prototype.ja,sd.prototype.readProjection=sd.prototype.za,e("ol.format.WFS",ud,nm),ud.prototype.readFeatures=ud.prototype.ja,ud.prototype.readTransactionResponse=ud.prototype.g,ud.prototype.readFeatureCollectionMetadata=ud.prototype.f,ud.prototype.writeGetFeature=ud.prototype.i,ud.prototype.writeTransaction=ud.prototype.o,ud.prototype.readProjection=ud.prototype.za,e("ol.format.WKT",gd,nm),gd.prototype.readFeature=gd.prototype.sb,gd.prototype.readFeatures=gd.prototype.ja,gd.prototype.readGeometry=gd.prototype.Gc,gd.prototype.writeFeature=gd.prototype.qd,gd.prototype.writeFeatures=gd.prototype.ub,gd.prototype.writeGeometry=gd.prototype.Mc,e("ol.format.WMSCapabilities",jd,nm),jd.prototype.read=jd.prototype.c,e("ol.format.WMSGetFeatureInfo",Fd,nm),Fd.prototype.readFeatures=Fd.prototype.ja,e("ol.format.WMTSCapabilities",Bd,nm),Bd.prototype.read=Bd.prototype.c,e("ol.format.GML2",$f,nm),e("ol.format.GML3",Gf,nm),Gf.prototype.writeGeometryNode=Gf.prototype.q,Gf.prototype.writeFeatures=Gf.prototype.ub,Gf.prototype.writeFeaturesNode=Gf.prototype.a,e("ol.format.GML",Gf,nm),Gf.prototype.writeFeatures=Gf.prototype.ub,Gf.prototype.writeFeaturesNode=Gf.prototype.a,Ef.prototype.readFeatures=Ef.prototype.ja,e("ol.events.condition.altKeyOnly",function(t){return t=t.b,t.a&&!t.g&&!t.d},nm),e("ol.events.condition.altShiftKeysOnly",Ds,nm),e("ol.events.condition.always",lb,nm),e("ol.events.condition.click",function(t){return t.type==Vb},nm),e("ol.events.condition.never",pb,nm),e("ol.events.condition.pointerMove",Fs,nm),e("ol.events.condition.singleClick",Os,nm),e("ol.events.condition.noModifierKeys",Bs,nm),e("ol.events.condition.platformModifierKeyOnly",function(t){return t=t.b,!t.a&&t.g&&!t.d},nm),e("ol.events.condition.shiftKeyOnly",Us,nm),e("ol.events.condition.targetNotEditable",Gs,nm),e("ol.events.condition.mouseOnly",qs,nm),e("ol.control.Attribution",Rn,nm),e("ol.control.Attribution.render",jn,nm),Rn.prototype.getCollapsible=Rn.prototype.fl,Rn.prototype.setCollapsible=Rn.prototype.il,Rn.prototype.setCollapsed=Rn.prototype.hl,Rn.prototype.getCollapsed=Rn.prototype.el,e("ol.control.Control",Ji,nm),Ji.prototype.getMap=Ji.prototype.e,Ji.prototype.setMap=Ji.prototype.setMap,Ji.prototype.setTarget=Ji.prototype.c,e("ol.control.defaults",Fn,nm),e("ol.control.FullScreen",Gn,nm),e("ol.control.MousePosition",qn,nm),e("ol.control.MousePosition.render",$n,nm),qn.prototype.getCoordinateFormat=qn.prototype.Uf,qn.prototype.getProjection=qn.prototype.xg,qn.prototype.setMap=qn.prototype.setMap,qn.prototype.setCoordinateFormat=qn.prototype.vh,qn.prototype.setProjection=qn.prototype.yg,e("ol.control.OverviewMap",Oc,nm),Oc.prototype.setMap=Oc.prototype.setMap,e("ol.control.OverviewMap.render",Bc,nm),Oc.prototype.getCollapsible=Oc.prototype.ll,Oc.prototype.setCollapsible=Oc.prototype.ol,Oc.prototype.setCollapsed=Oc.prototype.nl,Oc.prototype.getCollapsed=Oc.prototype.kl,e("ol.control.Rotate",Nn,nm),e("ol.control.Rotate.render",In,nm),e("ol.control.ScaleLine",$c,nm),$c.prototype.getUnits=$c.prototype.p,e("ol.control.ScaleLine.render",Hc,nm),$c.prototype.setUnits=$c.prototype.J,e("ol.control.Zoom",Dn,nm),e("ol.control.ZoomSlider",tf,nm),e("ol.control.ZoomSlider.render",ef,nm),e("ol.control.ZoomToExtent",rf,nm),e("ol.color.asArray",ii,nm),e("ol.color.asString",ni,nm),re.prototype.changed=re.prototype.k,re.prototype.getRevision=re.prototype.v,re.prototype.on=re.prototype.r,re.prototype.once=re.prototype.A,re.prototype.un=re.prototype.u,re.prototype.unByKey=re.prototype.B,ei.prototype.get=ei.prototype.get,ei.prototype.getKeys=ei.prototype.C,ei.prototype.getProperties=ei.prototype.D,ei.prototype.set=ei.prototype.set,ei.prototype.setProperties=ei.prototype.t,ei.prototype.unset=ei.prototype.I,ei.prototype.changed=ei.prototype.k,ei.prototype.getRevision=ei.prototype.v,ei.prototype.on=ei.prototype.r,ei.prototype.once=ei.prototype.A,ei.prototype.un=ei.prototype.u,ei.prototype.unByKey=ei.prototype.B,sf.prototype.get=sf.prototype.get,sf.prototype.getKeys=sf.prototype.C,sf.prototype.getProperties=sf.prototype.D,sf.prototype.set=sf.prototype.set,sf.prototype.setProperties=sf.prototype.t,sf.prototype.unset=sf.prototype.I,sf.prototype.changed=sf.prototype.k,sf.prototype.getRevision=sf.prototype.v,sf.prototype.on=sf.prototype.r,sf.prototype.once=sf.prototype.A,sf.prototype.un=sf.prototype.u,sf.prototype.unByKey=sf.prototype.B,af.prototype.get=af.prototype.get,af.prototype.getKeys=af.prototype.C,af.prototype.getProperties=af.prototype.D,af.prototype.set=af.prototype.set,af.prototype.setProperties=af.prototype.t,af.prototype.unset=af.prototype.I,af.prototype.changed=af.prototype.k,af.prototype.getRevision=af.prototype.v,af.prototype.on=af.prototype.r,af.prototype.once=af.prototype.A,af.prototype.un=af.prototype.u,af.prototype.unByKey=af.prototype.B,Gd.prototype.get=Gd.prototype.get,Gd.prototype.getKeys=Gd.prototype.C,Gd.prototype.getProperties=Gd.prototype.D,Gd.prototype.set=Gd.prototype.set,Gd.prototype.setProperties=Gd.prototype.t,Gd.prototype.unset=Gd.prototype.I,Gd.prototype.changed=Gd.prototype.k,Gd.prototype.getRevision=Gd.prototype.v,Gd.prototype.on=Gd.prototype.r,Gd.prototype.once=Gd.prototype.A,Gd.prototype.un=Gd.prototype.u,Gd.prototype.unByKey=Gd.prototype.B,Vd.prototype.getTileCoord=Vd.prototype.f,Lc.prototype.get=Lc.prototype.get,Lc.prototype.getKeys=Lc.prototype.C,Lc.prototype.getProperties=Lc.prototype.D,Lc.prototype.set=Lc.prototype.set,Lc.prototype.setProperties=Lc.prototype.t,Lc.prototype.unset=Lc.prototype.I,Lc.prototype.changed=Lc.prototype.k,Lc.prototype.getRevision=Lc.prototype.v,Lc.prototype.on=Lc.prototype.r,Lc.prototype.once=Lc.prototype.A,Lc.prototype.un=Lc.prototype.u,Lc.prototype.unByKey=Lc.prototype.B,$r.prototype.map=$r.prototype.map,$r.prototype.frameState=$r.prototype.frameState,Hr.prototype.originalEvent=Hr.prototype.originalEvent,Hr.prototype.pixel=Hr.prototype.pixel,Hr.prototype.coordinate=Hr.prototype.coordinate,Hr.prototype.dragging=Hr.prototype.dragging,Hr.prototype.preventDefault=Hr.prototype.preventDefault,Hr.prototype.stopPropagation=Hr.prototype.fb,Hr.prototype.map=Hr.prototype.map,Hr.prototype.frameState=Hr.prototype.frameState,Ic.prototype.get=Ic.prototype.get,Ic.prototype.getKeys=Ic.prototype.C,Ic.prototype.getProperties=Ic.prototype.D,Ic.prototype.set=Ic.prototype.set,Ic.prototype.setProperties=Ic.prototype.t,Ic.prototype.unset=Ic.prototype.I,Ic.prototype.changed=Ic.prototype.k,Ic.prototype.getRevision=Ic.prototype.v,Ic.prototype.on=Ic.prototype.r,Ic.prototype.once=Ic.prototype.A,Ic.prototype.un=Ic.prototype.u,Ic.prototype.unByKey=Ic.prototype.B,Ao.prototype.get=Ao.prototype.get,Ao.prototype.getKeys=Ao.prototype.C,Ao.prototype.getProperties=Ao.prototype.D,Ao.prototype.set=Ao.prototype.set,Ao.prototype.setProperties=Ao.prototype.t,Ao.prototype.unset=Ao.prototype.I,Ao.prototype.changed=Ao.prototype.k,Ao.prototype.getRevision=Ao.prototype.v,Ao.prototype.on=Ao.prototype.r,Ao.prototype.once=Ao.prototype.A,Ao.prototype.un=Ao.prototype.u,Ao.prototype.unByKey=Ao.prototype.B,Hv.prototype.getMaxZoom=Hv.prototype.Fd,Hv.prototype.getMinZoom=Hv.prototype.Hd,Hv.prototype.getOrigin=Hv.prototype.Mb,Hv.prototype.getResolution=Hv.prototype.ma,Hv.prototype.getResolutions=Hv.prototype.ne,Hv.prototype.getTileCoordForCoordAndResolution=Hv.prototype.Wb,Hv.prototype.getTileCoordForCoordAndZ=Hv.prototype.cd,Hv.prototype.getTileSize=Hv.prototype.na,yv.prototype.getMaxZoom=yv.prototype.Fd,yv.prototype.getMinZoom=yv.prototype.Hd,yv.prototype.getOrigin=yv.prototype.Mb,yv.prototype.getResolution=yv.prototype.ma,yv.prototype.getResolutions=yv.prototype.ne,yv.prototype.getTileCoordForCoordAndResolution=yv.prototype.Wb,yv.prototype.getTileCoordForCoordAndZ=yv.prototype.cd,yv.prototype.getTileSize=yv.prototype.na,zv.prototype.getMaxZoom=zv.prototype.Fd,zv.prototype.getMinZoom=zv.prototype.Hd,zv.prototype.getOrigin=zv.prototype.Mb,zv.prototype.getResolution=zv.prototype.ma,zv.prototype.getResolutions=zv.prototype.ne,zv.prototype.getTileCoordForCoordAndResolution=zv.prototype.Wb,zv.prototype.getTileCoordForCoordAndZ=zv.prototype.cd,zv.prototype.getTileSize=zv.prototype.na,op.prototype.getOpacity=op.prototype.ie,op.prototype.getRotateWithView=op.prototype.Jd,op.prototype.getRotation=op.prototype.je,op.prototype.getScale=op.prototype.ke,op.prototype.getSnapToPixel=op.prototype.Kd,op.prototype.setRotation=op.prototype.le,op.prototype.setScale=op.prototype.me,us.prototype.getOpacity=us.prototype.ie,us.prototype.getRotateWithView=us.prototype.Jd,us.prototype.getRotation=us.prototype.je,us.prototype.getScale=us.prototype.ke,us.prototype.getSnapToPixel=us.prototype.Kd,us.prototype.setRotation=us.prototype.le,us.prototype.setScale=us.prototype.me,tm.prototype.getOpacity=tm.prototype.ie,tm.prototype.getRotateWithView=tm.prototype.Jd,tm.prototype.getRotation=tm.prototype.je,tm.prototype.getScale=tm.prototype.ke,tm.prototype.getSnapToPixel=tm.prototype.Kd,tm.prototype.setRotation=tm.prototype.le,tm.prototype.setScale=tm.prototype.me,sn.prototype.get=sn.prototype.get,sn.prototype.getKeys=sn.prototype.C,sn.prototype.getProperties=sn.prototype.D,sn.prototype.set=sn.prototype.set,sn.prototype.setProperties=sn.prototype.t,sn.prototype.unset=sn.prototype.I,sn.prototype.changed=sn.prototype.k,sn.prototype.getRevision=sn.prototype.v,sn.prototype.on=sn.prototype.r,sn.prototype.once=sn.prototype.A,sn.prototype.un=sn.prototype.u,sn.prototype.unByKey=sn.prototype.B,Pn.prototype.getAttributions=Pn.prototype.ea,Pn.prototype.getLogo=Pn.prototype.ca,Pn.prototype.getProjection=Pn.prototype.fa,Pn.prototype.getState=Pn.prototype.ga,Pn.prototype.get=Pn.prototype.get,Pn.prototype.getKeys=Pn.prototype.C,Pn.prototype.getProperties=Pn.prototype.D,Pn.prototype.set=Pn.prototype.set,Pn.prototype.setProperties=Pn.prototype.t,Pn.prototype.unset=Pn.prototype.I,Pn.prototype.changed=Pn.prototype.k,Pn.prototype.getRevision=Pn.prototype.v,Pn.prototype.on=Pn.prototype.r,Pn.prototype.once=Pn.prototype.A,Pn.prototype.un=Pn.prototype.u,Pn.prototype.unByKey=Pn.prototype.B,cv.prototype.getTileGrid=cv.prototype.ua,cv.prototype.getAttributions=cv.prototype.ea,cv.prototype.getLogo=cv.prototype.ca,cv.prototype.getProjection=cv.prototype.fa,cv.prototype.getState=cv.prototype.ga,cv.prototype.get=cv.prototype.get,cv.prototype.getKeys=cv.prototype.C,cv.prototype.getProperties=cv.prototype.D,cv.prototype.set=cv.prototype.set,cv.prototype.setProperties=cv.prototype.t,cv.prototype.unset=cv.prototype.I,cv.prototype.changed=cv.prototype.k,cv.prototype.getRevision=cv.prototype.v,cv.prototype.on=cv.prototype.r,cv.prototype.once=cv.prototype.A,cv.prototype.un=cv.prototype.u,cv.prototype.unByKey=cv.prototype.B,dv.prototype.getTileLoadFunction=dv.prototype.Ua,dv.prototype.getTileUrlFunction=dv.prototype.Va,dv.prototype.setTileLoadFunction=dv.prototype.$a,dv.prototype.setTileUrlFunction=dv.prototype.pa,dv.prototype.getTileGrid=dv.prototype.ua,dv.prototype.getAttributions=dv.prototype.ea,dv.prototype.getLogo=dv.prototype.ca,dv.prototype.getProjection=dv.prototype.fa,dv.prototype.getState=dv.prototype.ga,dv.prototype.get=dv.prototype.get,dv.prototype.getKeys=dv.prototype.C,dv.prototype.getProperties=dv.prototype.D,dv.prototype.set=dv.prototype.set,dv.prototype.setProperties=dv.prototype.t,dv.prototype.unset=dv.prototype.I,dv.prototype.changed=dv.prototype.k,dv.prototype.getRevision=dv.prototype.v,dv.prototype.on=dv.prototype.r,dv.prototype.once=dv.prototype.A,dv.prototype.un=dv.prototype.u,dv.prototype.unByKey=dv.prototype.B,cu.prototype.getAttributions=cu.prototype.ea,cu.prototype.getLogo=cu.prototype.ca,cu.prototype.getProjection=cu.prototype.fa,cu.prototype.getState=cu.prototype.ga,cu.prototype.get=cu.prototype.get,cu.prototype.getKeys=cu.prototype.C,cu.prototype.getProperties=cu.prototype.D,cu.prototype.set=cu.prototype.set,cu.prototype.setProperties=cu.prototype.t,cu.prototype.unset=cu.prototype.I,cu.prototype.changed=cu.prototype.k,cu.prototype.getRevision=cu.prototype.v,cu.prototype.on=cu.prototype.r,cu.prototype.once=cu.prototype.A,cu.prototype.un=cu.prototype.u,cu.prototype.unByKey=cu.prototype.B,gv.prototype.addFeature=gv.prototype.jf,gv.prototype.addFeatures=gv.prototype.Oc,gv.prototype.clear=gv.prototype.clear,gv.prototype.forEachFeature=gv.prototype.Rf,gv.prototype.forEachFeatureInExtent=gv.prototype.$c,gv.prototype.forEachFeatureIntersectingExtent=gv.prototype.Oe,gv.prototype.getFeatures=gv.prototype.Dc,gv.prototype.getFeaturesAtCoordinate=gv.prototype.Re,gv.prototype.getFeaturesInExtent=gv.prototype.Se,gv.prototype.getClosestFeatureToCoordinate=gv.prototype.Tf,gv.prototype.getExtent=gv.prototype.G,gv.prototype.getFeatureById=gv.prototype.Qe,gv.prototype.removeFeature=gv.prototype.Qg,gv.prototype.getAttributions=gv.prototype.ea,gv.prototype.getLogo=gv.prototype.ca,gv.prototype.getProjection=gv.prototype.fa,gv.prototype.getState=gv.prototype.ga,gv.prototype.get=gv.prototype.get,gv.prototype.getKeys=gv.prototype.C,gv.prototype.getProperties=gv.prototype.D,gv.prototype.set=gv.prototype.set,gv.prototype.setProperties=gv.prototype.t,gv.prototype.unset=gv.prototype.I,gv.prototype.changed=gv.prototype.k,gv.prototype.getRevision=gv.prototype.v,gv.prototype.on=gv.prototype.r,gv.prototype.once=gv.prototype.A,gv.prototype.un=gv.prototype.u,gv.prototype.unByKey=gv.prototype.B,Dl.prototype.getAttributions=Dl.prototype.ea,Dl.prototype.getLogo=Dl.prototype.ca,Dl.prototype.getProjection=Dl.prototype.fa,Dl.prototype.getState=Dl.prototype.ga,Dl.prototype.get=Dl.prototype.get,Dl.prototype.getKeys=Dl.prototype.C,Dl.prototype.getProperties=Dl.prototype.D,Dl.prototype.set=Dl.prototype.set,Dl.prototype.setProperties=Dl.prototype.t,Dl.prototype.unset=Dl.prototype.I,Dl.prototype.changed=Dl.prototype.k,Dl.prototype.getRevision=Dl.prototype.v,Dl.prototype.on=Dl.prototype.r,Dl.prototype.once=Dl.prototype.A,Dl.prototype.un=Dl.prototype.u,Dl.prototype.unByKey=Dl.prototype.B,Ul.prototype.getAttributions=Ul.prototype.ea,Ul.prototype.getLogo=Ul.prototype.ca,Ul.prototype.getProjection=Ul.prototype.fa,Ul.prototype.getState=Ul.prototype.ga,Ul.prototype.get=Ul.prototype.get,Ul.prototype.getKeys=Ul.prototype.C,Ul.prototype.getProperties=Ul.prototype.D,Ul.prototype.set=Ul.prototype.set,Ul.prototype.setProperties=Ul.prototype.t,Ul.prototype.unset=Ul.prototype.I,Ul.prototype.changed=Ul.prototype.k,Ul.prototype.getRevision=Ul.prototype.v,Ul.prototype.on=Ul.prototype.r,Ul.prototype.once=Ul.prototype.A,Ul.prototype.un=Ul.prototype.u,Ul.prototype.unByKey=Ul.prototype.B,bv.prototype.getAttributions=bv.prototype.ea,bv.prototype.getLogo=bv.prototype.ca,bv.prototype.getProjection=bv.prototype.fa,bv.prototype.getState=bv.prototype.ga,bv.prototype.get=bv.prototype.get,bv.prototype.getKeys=bv.prototype.C,bv.prototype.getProperties=bv.prototype.D,bv.prototype.set=bv.prototype.set,bv.prototype.setProperties=bv.prototype.t,bv.prototype.unset=bv.prototype.I,bv.prototype.changed=bv.prototype.k,bv.prototype.getRevision=bv.prototype.v,bv.prototype.on=bv.prototype.r,bv.prototype.once=bv.prototype.A,bv.prototype.un=bv.prototype.u,bv.prototype.unByKey=bv.prototype.B,wv.prototype.getAttributions=wv.prototype.ea,wv.prototype.getLogo=wv.prototype.ca,wv.prototype.getProjection=wv.prototype.fa,wv.prototype.getState=wv.prototype.ga,wv.prototype.get=wv.prototype.get,wv.prototype.getKeys=wv.prototype.C,wv.prototype.getProperties=wv.prototype.D,wv.prototype.set=wv.prototype.set,wv.prototype.setProperties=wv.prototype.t,wv.prototype.unset=wv.prototype.I,wv.prototype.changed=wv.prototype.k,wv.prototype.getRevision=wv.prototype.v,wv.prototype.on=wv.prototype.r,wv.prototype.once=wv.prototype.A,wv.prototype.un=wv.prototype.u,wv.prototype.unByKey=wv.prototype.B,bu.prototype.getAttributions=bu.prototype.ea,bu.prototype.getLogo=bu.prototype.ca,bu.prototype.getProjection=bu.prototype.fa,bu.prototype.getState=bu.prototype.ga,bu.prototype.get=bu.prototype.get,bu.prototype.getKeys=bu.prototype.C,bu.prototype.getProperties=bu.prototype.D,bu.prototype.set=bu.prototype.set,bu.prototype.setProperties=bu.prototype.t,bu.prototype.unset=bu.prototype.I,bu.prototype.changed=bu.prototype.k,bu.prototype.getRevision=bu.prototype.v,bu.prototype.on=bu.prototype.r,bu.prototype.once=bu.prototype.A,bu.prototype.un=bu.prototype.u,bu.prototype.unByKey=bu.prototype.B,xv.prototype.getAttributions=xv.prototype.ea,xv.prototype.getLogo=xv.prototype.ca,xv.prototype.getProjection=xv.prototype.fa,xv.prototype.getState=xv.prototype.ga,xv.prototype.get=xv.prototype.get,xv.prototype.getKeys=xv.prototype.C,xv.prototype.getProperties=xv.prototype.D,xv.prototype.set=xv.prototype.set,xv.prototype.setProperties=xv.prototype.t,xv.prototype.unset=xv.prototype.I,xv.prototype.changed=xv.prototype.k,xv.prototype.getRevision=xv.prototype.v,xv.prototype.on=xv.prototype.r,xv.prototype.once=xv.prototype.A,xv.prototype.un=xv.prototype.u,xv.prototype.unByKey=xv.prototype.B,Cv.prototype.getTileLoadFunction=Cv.prototype.Ua,Cv.prototype.getTileUrlFunction=Cv.prototype.Va,Cv.prototype.setTileLoadFunction=Cv.prototype.$a,Cv.prototype.getTileGrid=Cv.prototype.ua,Cv.prototype.getAttributions=Cv.prototype.ea,Cv.prototype.getLogo=Cv.prototype.ca,Cv.prototype.getProjection=Cv.prototype.fa,Cv.prototype.getState=Cv.prototype.ga,Cv.prototype.get=Cv.prototype.get,Cv.prototype.getKeys=Cv.prototype.C,Cv.prototype.getProperties=Cv.prototype.D,Cv.prototype.set=Cv.prototype.set,Cv.prototype.setProperties=Cv.prototype.t,Cv.prototype.unset=Cv.prototype.I,Cv.prototype.changed=Cv.prototype.k,Cv.prototype.getRevision=Cv.prototype.v,Cv.prototype.on=Cv.prototype.r,Cv.prototype.once=Cv.prototype.A,Cv.prototype.un=Cv.prototype.u,Cv.prototype.unByKey=Cv.prototype.B,Pv.prototype.setTileUrlFunction=Pv.prototype.pa,Pv.prototype.setUrl=Pv.prototype.e,Pv.prototype.getTileLoadFunction=Pv.prototype.Ua,Pv.prototype.getTileUrlFunction=Pv.prototype.Va,Pv.prototype.setTileLoadFunction=Pv.prototype.$a,Pv.prototype.getTileGrid=Pv.prototype.ua,Pv.prototype.getAttributions=Pv.prototype.ea,Pv.prototype.getLogo=Pv.prototype.ca,Pv.prototype.getProjection=Pv.prototype.fa,Pv.prototype.getState=Pv.prototype.ga,Pv.prototype.get=Pv.prototype.get,Pv.prototype.getKeys=Pv.prototype.C,Pv.prototype.getProperties=Pv.prototype.D,Pv.prototype.set=Pv.prototype.set,Pv.prototype.setProperties=Pv.prototype.t,Pv.prototype.unset=Pv.prototype.I,Pv.prototype.changed=Pv.prototype.k,Pv.prototype.getRevision=Pv.prototype.v,Pv.prototype.on=Pv.prototype.r,Pv.prototype.once=Pv.prototype.A,Pv.prototype.un=Pv.prototype.u,Pv.prototype.unByKey=Pv.prototype.B,Mv.prototype.setTileUrlFunction=Mv.prototype.pa,Mv.prototype.setUrl=Mv.prototype.e,Mv.prototype.getTileLoadFunction=Mv.prototype.Ua,Mv.prototype.getTileUrlFunction=Mv.prototype.Va,Mv.prototype.setTileLoadFunction=Mv.prototype.$a,Mv.prototype.getTileGrid=Mv.prototype.ua,Mv.prototype.getAttributions=Mv.prototype.ea,Mv.prototype.getLogo=Mv.prototype.ca,Mv.prototype.getProjection=Mv.prototype.fa,Mv.prototype.getState=Mv.prototype.ga,Mv.prototype.get=Mv.prototype.get,Mv.prototype.getKeys=Mv.prototype.C,Mv.prototype.getProperties=Mv.prototype.D,Mv.prototype.set=Mv.prototype.set,Mv.prototype.setProperties=Mv.prototype.t,Mv.prototype.unset=Mv.prototype.I,Mv.prototype.changed=Mv.prototype.k,Mv.prototype.getRevision=Mv.prototype.v,Mv.prototype.on=Mv.prototype.r,Mv.prototype.once=Mv.prototype.A,Mv.prototype.un=Mv.prototype.u,Mv.prototype.unByKey=Mv.prototype.B,Ev.prototype.setTileUrlFunction=Ev.prototype.pa,Ev.prototype.setUrl=Ev.prototype.e,Ev.prototype.getTileLoadFunction=Ev.prototype.Ua,Ev.prototype.getTileUrlFunction=Ev.prototype.Va,Ev.prototype.setTileLoadFunction=Ev.prototype.$a,Ev.prototype.getTileGrid=Ev.prototype.ua,Ev.prototype.getAttributions=Ev.prototype.ea,Ev.prototype.getLogo=Ev.prototype.ca,Ev.prototype.getProjection=Ev.prototype.fa,Ev.prototype.getState=Ev.prototype.ga,Ev.prototype.get=Ev.prototype.get,Ev.prototype.getKeys=Ev.prototype.C,Ev.prototype.getProperties=Ev.prototype.D,Ev.prototype.set=Ev.prototype.set,Ev.prototype.setProperties=Ev.prototype.t,Ev.prototype.unset=Ev.prototype.I,Ev.prototype.changed=Ev.prototype.k,Ev.prototype.getRevision=Ev.prototype.v,Ev.prototype.on=Ev.prototype.r,Ev.prototype.once=Ev.prototype.A,Ev.prototype.un=Ev.prototype.u,Ev.prototype.unByKey=Ev.prototype.B,kv.prototype.getTileLoadFunction=kv.prototype.Ua,kv.prototype.getTileUrlFunction=kv.prototype.Va,kv.prototype.setTileLoadFunction=kv.prototype.$a,kv.prototype.setTileUrlFunction=kv.prototype.pa,kv.prototype.getTileGrid=kv.prototype.ua,kv.prototype.getAttributions=kv.prototype.ea,kv.prototype.getLogo=kv.prototype.ca,kv.prototype.getProjection=kv.prototype.fa,kv.prototype.getState=kv.prototype.ga,kv.prototype.get=kv.prototype.get,kv.prototype.getKeys=kv.prototype.C,kv.prototype.getProperties=kv.prototype.D,kv.prototype.set=kv.prototype.set,kv.prototype.setProperties=kv.prototype.t,kv.prototype.unset=kv.prototype.I,kv.prototype.changed=kv.prototype.k,kv.prototype.getRevision=kv.prototype.v,kv.prototype.on=kv.prototype.r,kv.prototype.once=kv.prototype.A,kv.prototype.un=kv.prototype.u,kv.prototype.unByKey=kv.prototype.B,Rv.prototype.getTileGrid=Rv.prototype.ua,Rv.prototype.getAttributions=Rv.prototype.ea,Rv.prototype.getLogo=Rv.prototype.ca,Rv.prototype.getProjection=Rv.prototype.fa,Rv.prototype.getState=Rv.prototype.ga,Rv.prototype.get=Rv.prototype.get,Rv.prototype.getKeys=Rv.prototype.C,Rv.prototype.getProperties=Rv.prototype.D,Rv.prototype.set=Rv.prototype.set,Rv.prototype.setProperties=Rv.prototype.t,Rv.prototype.unset=Rv.prototype.I,Rv.prototype.changed=Rv.prototype.k,Rv.prototype.getRevision=Rv.prototype.v,Rv.prototype.on=Rv.prototype.r,Rv.prototype.once=Rv.prototype.A,Rv.prototype.un=Rv.prototype.u,Rv.prototype.unByKey=Rv.prototype.B,jv.prototype.getTileLoadFunction=jv.prototype.Ua,jv.prototype.getTileUrlFunction=jv.prototype.Va,jv.prototype.setTileLoadFunction=jv.prototype.$a,jv.prototype.setTileUrlFunction=jv.prototype.pa,jv.prototype.getTileGrid=jv.prototype.ua,jv.prototype.getAttributions=jv.prototype.ea,jv.prototype.getLogo=jv.prototype.ca,jv.prototype.getProjection=jv.prototype.fa,jv.prototype.getState=jv.prototype.ga,jv.prototype.get=jv.prototype.get,jv.prototype.getKeys=jv.prototype.C,jv.prototype.getProperties=jv.prototype.D,jv.prototype.set=jv.prototype.set,jv.prototype.setProperties=jv.prototype.t,jv.prototype.unset=jv.prototype.I,jv.prototype.changed=jv.prototype.k,jv.prototype.getRevision=jv.prototype.v,jv.prototype.on=jv.prototype.r,jv.prototype.once=jv.prototype.A,jv.prototype.un=jv.prototype.u,jv.prototype.unByKey=jv.prototype.B,Lv.prototype.getTileGrid=Lv.prototype.ua,Lv.prototype.getAttributions=Lv.prototype.ea,Lv.prototype.getLogo=Lv.prototype.ca,Lv.prototype.getProjection=Lv.prototype.fa,Lv.prototype.getState=Lv.prototype.ga,Lv.prototype.get=Lv.prototype.get,Lv.prototype.getKeys=Lv.prototype.C,Lv.prototype.getProperties=Lv.prototype.D,Lv.prototype.set=Lv.prototype.set,Lv.prototype.setProperties=Lv.prototype.t,Lv.prototype.unset=Lv.prototype.I,Lv.prototype.changed=Lv.prototype.k,Lv.prototype.getRevision=Lv.prototype.v,Lv.prototype.on=Lv.prototype.r,Lv.prototype.once=Lv.prototype.A,Lv.prototype.un=Lv.prototype.u,Lv.prototype.unByKey=Lv.prototype.B,Ov.prototype.forEachFeatureIntersectingExtent=Ov.prototype.Oe,Ov.prototype.getFeaturesAtCoordinate=Ov.prototype.Re,Ov.prototype.getFeatureById=Ov.prototype.Qe,Ov.prototype.getAttributions=Ov.prototype.ea,Ov.prototype.getLogo=Ov.prototype.ca,Ov.prototype.getProjection=Ov.prototype.fa,Ov.prototype.getState=Ov.prototype.ga,Ov.prototype.get=Ov.prototype.get,Ov.prototype.getKeys=Ov.prototype.C,Ov.prototype.getProperties=Ov.prototype.D,Ov.prototype.set=Ov.prototype.set,Ov.prototype.setProperties=Ov.prototype.t,Ov.prototype.unset=Ov.prototype.I,Ov.prototype.changed=Ov.prototype.k,Ov.prototype.getRevision=Ov.prototype.v,Ov.prototype.on=Ov.prototype.r,Ov.prototype.once=Ov.prototype.A,Ov.prototype.un=Ov.prototype.u,Ov.prototype.unByKey=Ov.prototype.B,Uv.prototype.getTileLoadFunction=Uv.prototype.Ua,Uv.prototype.getTileUrlFunction=Uv.prototype.Va,Uv.prototype.setTileLoadFunction=Uv.prototype.$a,Uv.prototype.setTileUrlFunction=Uv.prototype.pa,Uv.prototype.getTileGrid=Uv.prototype.ua,Uv.prototype.getAttributions=Uv.prototype.ea,Uv.prototype.getLogo=Uv.prototype.ca,Uv.prototype.getProjection=Uv.prototype.fa,Uv.prototype.getState=Uv.prototype.ga,Uv.prototype.get=Uv.prototype.get,Uv.prototype.getKeys=Uv.prototype.C,Uv.prototype.getProperties=Uv.prototype.D,Uv.prototype.set=Uv.prototype.set,Uv.prototype.setProperties=Uv.prototype.t,Uv.prototype.unset=Uv.prototype.I,Uv.prototype.changed=Uv.prototype.k,Uv.prototype.getRevision=Uv.prototype.v,Uv.prototype.on=Uv.prototype.r,Uv.prototype.once=Uv.prototype.A,Uv.prototype.un=Uv.prototype.u,Uv.prototype.unByKey=Uv.prototype.B,Wv.prototype.getTileLoadFunction=Wv.prototype.Ua,Wv.prototype.getTileUrlFunction=Wv.prototype.Va,Wv.prototype.setTileLoadFunction=Wv.prototype.$a,Wv.prototype.setTileUrlFunction=Wv.prototype.pa,Wv.prototype.getTileGrid=Wv.prototype.ua,Wv.prototype.getAttributions=Wv.prototype.ea,Wv.prototype.getLogo=Wv.prototype.ca,Wv.prototype.getProjection=Wv.prototype.fa,Wv.prototype.getState=Wv.prototype.ga,Wv.prototype.get=Wv.prototype.get,Wv.prototype.getKeys=Wv.prototype.C,Wv.prototype.getProperties=Wv.prototype.D,Wv.prototype.set=Wv.prototype.set,Wv.prototype.setProperties=Wv.prototype.t,Wv.prototype.unset=Wv.prototype.I,Wv.prototype.changed=Wv.prototype.k,Wv.prototype.getRevision=Wv.prototype.v,Wv.prototype.on=Wv.prototype.r,Wv.prototype.once=Wv.prototype.A,Wv.prototype.un=Wv.prototype.u,Wv.prototype.unByKey=Wv.prototype.B,Vv.prototype.getTileLoadFunction=Vv.prototype.Ua,Vv.prototype.getTileUrlFunction=Vv.prototype.Va,Vv.prototype.setTileLoadFunction=Vv.prototype.$a,Vv.prototype.setTileUrlFunction=Vv.prototype.pa,Vv.prototype.getTileGrid=Vv.prototype.ua,Vv.prototype.getAttributions=Vv.prototype.ea,Vv.prototype.getLogo=Vv.prototype.ca,Vv.prototype.getProjection=Vv.prototype.fa,Vv.prototype.getState=Vv.prototype.ga,Vv.prototype.get=Vv.prototype.get,Vv.prototype.getKeys=Vv.prototype.C,Vv.prototype.getProperties=Vv.prototype.D,Vv.prototype.set=Vv.prototype.set,Vv.prototype.setProperties=Vv.prototype.t,Vv.prototype.unset=Vv.prototype.I,Vv.prototype.changed=Vv.prototype.k,Vv.prototype.getRevision=Vv.prototype.v,Vv.prototype.on=Vv.prototype.r,Vv.prototype.once=Vv.prototype.A,Vv.prototype.un=Vv.prototype.u,Vv.prototype.unByKey=Vv.prototype.B,es.prototype.changed=es.prototype.k,es.prototype.getRevision=es.prototype.v,es.prototype.on=es.prototype.r,es.prototype.once=es.prototype.A,es.prototype.un=es.prototype.u,es.prototype.unByKey=es.prototype.B,vc.prototype.changed=vc.prototype.k,vc.prototype.getRevision=vc.prototype.v,vc.prototype.on=vc.prototype.r,vc.prototype.once=vc.prototype.A,vc.prototype.un=vc.prototype.u,vc.prototype.unByKey=vc.prototype.B,wc.prototype.changed=wc.prototype.k,wc.prototype.getRevision=wc.prototype.v,wc.prototype.on=wc.prototype.r,wc.prototype.once=wc.prototype.A,wc.prototype.un=wc.prototype.u,wc.prototype.unByKey=wc.prototype.B,Pc.prototype.changed=Pc.prototype.k,Pc.prototype.getRevision=Pc.prototype.v,Pc.prototype.on=Pc.prototype.r,Pc.prototype.once=Pc.prototype.A,Pc.prototype.un=Pc.prototype.u,Pc.prototype.unByKey=Pc.prototype.B,Ec.prototype.changed=Ec.prototype.k,Ec.prototype.getRevision=Ec.prototype.v,Ec.prototype.on=Ec.prototype.r,Ec.prototype.once=Ec.prototype.A,Ec.prototype.un=Ec.prototype.u,Ec.prototype.unByKey=Ec.prototype.B,Pu.prototype.changed=Pu.prototype.k,Pu.prototype.getRevision=Pu.prototype.v,Pu.prototype.on=Pu.prototype.r,Pu.prototype.once=Pu.prototype.A,Pu.prototype.un=Pu.prototype.u,Pu.prototype.unByKey=Pu.prototype.B,Eu.prototype.changed=Eu.prototype.k,Eu.prototype.getRevision=Eu.prototype.v,Eu.prototype.on=Eu.prototype.r,Eu.prototype.once=Eu.prototype.A,Eu.prototype.un=Eu.prototype.u,Eu.prototype.unByKey=Eu.prototype.B,ku.prototype.changed=ku.prototype.k,ku.prototype.getRevision=ku.prototype.v,ku.prototype.on=ku.prototype.r,ku.prototype.once=ku.prototype.A,ku.prototype.un=ku.prototype.u,ku.prototype.unByKey=ku.prototype.B,Ru.prototype.changed=Ru.prototype.k,Ru.prototype.getRevision=Ru.prototype.v,Ru.prototype.on=Ru.prototype.r,Ru.prototype.once=Ru.prototype.A,Ru.prototype.un=Ru.prototype.u,Ru.prototype.unByKey=Ru.prototype.B,rl.prototype.changed=rl.prototype.k,rl.prototype.getRevision=rl.prototype.v,rl.prototype.on=rl.prototype.r,rl.prototype.once=rl.prototype.A,rl.prototype.un=rl.prototype.u,rl.prototype.unByKey=rl.prototype.B,xu.prototype.changed=xu.prototype.k,xu.prototype.getRevision=xu.prototype.v,xu.prototype.on=xu.prototype.r,xu.prototype.once=xu.prototype.A,xu.prototype.un=xu.prototype.u,xu.prototype.unByKey=xu.prototype.B,Su.prototype.changed=Su.prototype.k,Su.prototype.getRevision=Su.prototype.v,Su.prototype.on=Su.prototype.r,Su.prototype.once=Su.prototype.A,Su.prototype.un=Su.prototype.u,Su.prototype.unByKey=Su.prototype.B,Tu.prototype.changed=Tu.prototype.k,Tu.prototype.getRevision=Tu.prototype.v,Tu.prototype.on=Tu.prototype.r,Tu.prototype.once=Tu.prototype.A,Tu.prototype.un=Tu.prototype.u,Tu.prototype.unByKey=Tu.prototype.B,zr.prototype.get=zr.prototype.get,zr.prototype.getKeys=zr.prototype.C,zr.prototype.getProperties=zr.prototype.D,zr.prototype.set=zr.prototype.set,zr.prototype.setProperties=zr.prototype.t,zr.prototype.unset=zr.prototype.I,zr.prototype.changed=zr.prototype.k,zr.prototype.getRevision=zr.prototype.v,zr.prototype.on=zr.prototype.r,zr.prototype.once=zr.prototype.A,zr.prototype.un=zr.prototype.u,zr.prototype.unByKey=zr.prototype.B,Yr.prototype.getBrightness=Yr.prototype.Bb,Yr.prototype.getContrast=Yr.prototype.Cb,Yr.prototype.getHue=Yr.prototype.Db,Yr.prototype.getExtent=Yr.prototype.G,Yr.prototype.getMaxResolution=Yr.prototype.Eb,Yr.prototype.getMinResolution=Yr.prototype.Fb,Yr.prototype.getOpacity=Yr.prototype.Kb,Yr.prototype.getSaturation=Yr.prototype.Gb,Yr.prototype.getVisible=Yr.prototype.eb,Yr.prototype.setBrightness=Yr.prototype.gc,Yr.prototype.setContrast=Yr.prototype.hc,Yr.prototype.setHue=Yr.prototype.ic,Yr.prototype.setExtent=Yr.prototype.bc,Yr.prototype.setMaxResolution=Yr.prototype.jc,Yr.prototype.setMinResolution=Yr.prototype.kc,Yr.prototype.setOpacity=Yr.prototype.cc,Yr.prototype.setSaturation=Yr.prototype.lc,Yr.prototype.setVisible=Yr.prototype.mc,Yr.prototype.get=Yr.prototype.get,Yr.prototype.getKeys=Yr.prototype.C,Yr.prototype.getProperties=Yr.prototype.D, -Yr.prototype.set=Yr.prototype.set,Yr.prototype.setProperties=Yr.prototype.t,Yr.prototype.unset=Yr.prototype.I,Yr.prototype.changed=Yr.prototype.k,Yr.prototype.getRevision=Yr.prototype.v,Yr.prototype.on=Yr.prototype.r,Yr.prototype.once=Yr.prototype.A,Yr.prototype.un=Yr.prototype.u,Yr.prototype.unByKey=Yr.prototype.B,Lp.prototype.setSource=Lp.prototype.Jc,Lp.prototype.getBrightness=Lp.prototype.Bb,Lp.prototype.getContrast=Lp.prototype.Cb,Lp.prototype.getHue=Lp.prototype.Db,Lp.prototype.getExtent=Lp.prototype.G,Lp.prototype.getMaxResolution=Lp.prototype.Eb,Lp.prototype.getMinResolution=Lp.prototype.Fb,Lp.prototype.getOpacity=Lp.prototype.Kb,Lp.prototype.getSaturation=Lp.prototype.Gb,Lp.prototype.getVisible=Lp.prototype.eb,Lp.prototype.setBrightness=Lp.prototype.gc,Lp.prototype.setContrast=Lp.prototype.hc,Lp.prototype.setHue=Lp.prototype.ic,Lp.prototype.setExtent=Lp.prototype.bc,Lp.prototype.setMaxResolution=Lp.prototype.jc,Lp.prototype.setMinResolution=Lp.prototype.kc,Lp.prototype.setOpacity=Lp.prototype.cc,Lp.prototype.setSaturation=Lp.prototype.lc,Lp.prototype.setVisible=Lp.prototype.mc,Lp.prototype.get=Lp.prototype.get,Lp.prototype.getKeys=Lp.prototype.C,Lp.prototype.getProperties=Lp.prototype.D,Lp.prototype.set=Lp.prototype.set,Lp.prototype.setProperties=Lp.prototype.t,Lp.prototype.unset=Lp.prototype.I,Lp.prototype.changed=Lp.prototype.k,Lp.prototype.getRevision=Lp.prototype.v,Lp.prototype.on=Lp.prototype.r,Lp.prototype.once=Lp.prototype.A,Lp.prototype.un=Lp.prototype.u,Lp.prototype.unByKey=Lp.prototype.B,Zg.prototype.getSource=Zg.prototype.da,Zg.prototype.getStyle=Zg.prototype.H,Zg.prototype.getStyleFunction=Zg.prototype.J,Zg.prototype.setStyle=Zg.prototype.e,Zg.prototype.setSource=Zg.prototype.Jc,Zg.prototype.getBrightness=Zg.prototype.Bb,Zg.prototype.getContrast=Zg.prototype.Cb,Zg.prototype.getHue=Zg.prototype.Db,Zg.prototype.getExtent=Zg.prototype.G,Zg.prototype.getMaxResolution=Zg.prototype.Eb,Zg.prototype.getMinResolution=Zg.prototype.Fb,Zg.prototype.getOpacity=Zg.prototype.Kb,Zg.prototype.getSaturation=Zg.prototype.Gb,Zg.prototype.getVisible=Zg.prototype.eb,Zg.prototype.setBrightness=Zg.prototype.gc,Zg.prototype.setContrast=Zg.prototype.hc,Zg.prototype.setHue=Zg.prototype.ic,Zg.prototype.setExtent=Zg.prototype.bc,Zg.prototype.setMaxResolution=Zg.prototype.jc,Zg.prototype.setMinResolution=Zg.prototype.kc,Zg.prototype.setOpacity=Zg.prototype.cc,Zg.prototype.setSaturation=Zg.prototype.lc,Zg.prototype.setVisible=Zg.prototype.mc,Zg.prototype.get=Zg.prototype.get,Zg.prototype.getKeys=Zg.prototype.C,Zg.prototype.getProperties=Zg.prototype.D,Zg.prototype.set=Zg.prototype.set,Zg.prototype.setProperties=Zg.prototype.t,Zg.prototype.unset=Zg.prototype.I,Zg.prototype.changed=Zg.prototype.k,Zg.prototype.getRevision=Zg.prototype.v,Zg.prototype.on=Zg.prototype.r,Zg.prototype.once=Zg.prototype.A,Zg.prototype.un=Zg.prototype.u,Zg.prototype.unByKey=Zg.prototype.B,Rp.prototype.setSource=Rp.prototype.Jc,Rp.prototype.getBrightness=Rp.prototype.Bb,Rp.prototype.getContrast=Rp.prototype.Cb,Rp.prototype.getHue=Rp.prototype.Db,Rp.prototype.getExtent=Rp.prototype.G,Rp.prototype.getMaxResolution=Rp.prototype.Eb,Rp.prototype.getMinResolution=Rp.prototype.Fb,Rp.prototype.getOpacity=Rp.prototype.Kb,Rp.prototype.getSaturation=Rp.prototype.Gb,Rp.prototype.getVisible=Rp.prototype.eb,Rp.prototype.setBrightness=Rp.prototype.gc,Rp.prototype.setContrast=Rp.prototype.hc,Rp.prototype.setHue=Rp.prototype.ic,Rp.prototype.setExtent=Rp.prototype.bc,Rp.prototype.setMaxResolution=Rp.prototype.jc,Rp.prototype.setMinResolution=Rp.prototype.kc,Rp.prototype.setOpacity=Rp.prototype.cc,Rp.prototype.setSaturation=Rp.prototype.lc,Rp.prototype.setVisible=Rp.prototype.mc,Rp.prototype.get=Rp.prototype.get,Rp.prototype.getKeys=Rp.prototype.C,Rp.prototype.getProperties=Rp.prototype.D,Rp.prototype.set=Rp.prototype.set,Rp.prototype.setProperties=Rp.prototype.t,Rp.prototype.unset=Rp.prototype.I,Rp.prototype.changed=Rp.prototype.k,Rp.prototype.getRevision=Rp.prototype.v,Rp.prototype.on=Rp.prototype.r,Rp.prototype.once=Rp.prototype.A,Rp.prototype.un=Rp.prototype.u,Rp.prototype.unByKey=Rp.prototype.B,Cp.prototype.getBrightness=Cp.prototype.Bb,Cp.prototype.getContrast=Cp.prototype.Cb,Cp.prototype.getHue=Cp.prototype.Db,Cp.prototype.getExtent=Cp.prototype.G,Cp.prototype.getMaxResolution=Cp.prototype.Eb,Cp.prototype.getMinResolution=Cp.prototype.Fb,Cp.prototype.getOpacity=Cp.prototype.Kb,Cp.prototype.getSaturation=Cp.prototype.Gb,Cp.prototype.getVisible=Cp.prototype.eb,Cp.prototype.setBrightness=Cp.prototype.gc,Cp.prototype.setContrast=Cp.prototype.hc,Cp.prototype.setHue=Cp.prototype.ic,Cp.prototype.setExtent=Cp.prototype.bc,Cp.prototype.setMaxResolution=Cp.prototype.jc,Cp.prototype.setMinResolution=Cp.prototype.kc,Cp.prototype.setOpacity=Cp.prototype.cc,Cp.prototype.setSaturation=Cp.prototype.lc,Cp.prototype.setVisible=Cp.prototype.mc,Cp.prototype.get=Cp.prototype.get,Cp.prototype.getKeys=Cp.prototype.C,Cp.prototype.getProperties=Cp.prototype.D,Cp.prototype.set=Cp.prototype.set,Cp.prototype.setProperties=Cp.prototype.t,Cp.prototype.unset=Cp.prototype.I,Cp.prototype.changed=Cp.prototype.k,Cp.prototype.getRevision=Cp.prototype.v,Cp.prototype.on=Cp.prototype.r,Cp.prototype.once=Cp.prototype.A,Cp.prototype.un=Cp.prototype.u,Cp.prototype.unByKey=Cp.prototype.B,jp.prototype.setSource=jp.prototype.Jc,jp.prototype.getBrightness=jp.prototype.Bb,jp.prototype.getContrast=jp.prototype.Cb,jp.prototype.getHue=jp.prototype.Db,jp.prototype.getExtent=jp.prototype.G,jp.prototype.getMaxResolution=jp.prototype.Eb,jp.prototype.getMinResolution=jp.prototype.Fb,jp.prototype.getOpacity=jp.prototype.Kb,jp.prototype.getSaturation=jp.prototype.Gb,jp.prototype.getVisible=jp.prototype.eb,jp.prototype.setBrightness=jp.prototype.gc,jp.prototype.setContrast=jp.prototype.hc,jp.prototype.setHue=jp.prototype.ic,jp.prototype.setExtent=jp.prototype.bc,jp.prototype.setMaxResolution=jp.prototype.jc,jp.prototype.setMinResolution=jp.prototype.kc,jp.prototype.setOpacity=jp.prototype.cc,jp.prototype.setSaturation=jp.prototype.lc,jp.prototype.setVisible=jp.prototype.mc,jp.prototype.get=jp.prototype.get,jp.prototype.getKeys=jp.prototype.C,jp.prototype.getProperties=jp.prototype.D,jp.prototype.set=jp.prototype.set,jp.prototype.setProperties=jp.prototype.t,jp.prototype.unset=jp.prototype.I,jp.prototype.changed=jp.prototype.k,jp.prototype.getRevision=jp.prototype.v,jp.prototype.on=jp.prototype.r,jp.prototype.once=jp.prototype.A,jp.prototype.un=jp.prototype.u,jp.prototype.unByKey=jp.prototype.B,As.prototype.get=As.prototype.get,As.prototype.getKeys=As.prototype.C,As.prototype.getProperties=As.prototype.D,As.prototype.set=As.prototype.set,As.prototype.setProperties=As.prototype.t,As.prototype.unset=As.prototype.I,As.prototype.changed=As.prototype.k,As.prototype.getRevision=As.prototype.v,As.prototype.on=As.prototype.r,As.prototype.once=As.prototype.A,As.prototype.un=As.prototype.u,As.prototype.unByKey=As.prototype.B,Ns.prototype.getActive=Ns.prototype.c,Ns.prototype.setActive=Ns.prototype.d,Ns.prototype.get=Ns.prototype.get,Ns.prototype.getKeys=Ns.prototype.C,Ns.prototype.getProperties=Ns.prototype.D,Ns.prototype.set=Ns.prototype.set,Ns.prototype.setProperties=Ns.prototype.t,Ns.prototype.unset=Ns.prototype.I,Ns.prototype.changed=Ns.prototype.k,Ns.prototype.getRevision=Ns.prototype.v,Ns.prototype.on=Ns.prototype.r,Ns.prototype.once=Ns.prototype.A,Ns.prototype.un=Ns.prototype.u,Ns.prototype.unByKey=Ns.prototype.B,fg.prototype.getActive=fg.prototype.c,fg.prototype.setActive=fg.prototype.d,fg.prototype.get=fg.prototype.get,fg.prototype.getKeys=fg.prototype.C,fg.prototype.getProperties=fg.prototype.D,fg.prototype.set=fg.prototype.set,fg.prototype.setProperties=fg.prototype.t,fg.prototype.unset=fg.prototype.I,fg.prototype.changed=fg.prototype.k,fg.prototype.getRevision=fg.prototype.v,fg.prototype.on=fg.prototype.r,fg.prototype.once=fg.prototype.A,fg.prototype.un=fg.prototype.u,fg.prototype.unByKey=fg.prototype.B,$s.prototype.getActive=$s.prototype.c,$s.prototype.setActive=$s.prototype.d,$s.prototype.get=$s.prototype.get,$s.prototype.getKeys=$s.prototype.C,$s.prototype.getProperties=$s.prototype.D,$s.prototype.set=$s.prototype.set,$s.prototype.setProperties=$s.prototype.t,$s.prototype.unset=$s.prototype.I,$s.prototype.changed=$s.prototype.k,$s.prototype.getRevision=$s.prototype.v,$s.prototype.on=$s.prototype.r,$s.prototype.once=$s.prototype.A,$s.prototype.un=$s.prototype.u,$s.prototype.unByKey=$s.prototype.B,za.prototype.getActive=za.prototype.c,za.prototype.setActive=za.prototype.d,za.prototype.get=za.prototype.get,za.prototype.getKeys=za.prototype.C,za.prototype.getProperties=za.prototype.D,za.prototype.set=za.prototype.set,za.prototype.setProperties=za.prototype.t,za.prototype.unset=za.prototype.I,za.prototype.changed=za.prototype.k,za.prototype.getRevision=za.prototype.v,za.prototype.on=za.prototype.r,za.prototype.once=za.prototype.A,za.prototype.un=za.prototype.u,za.prototype.unByKey=za.prototype.B,Ws.prototype.getActive=Ws.prototype.c,Ws.prototype.setActive=Ws.prototype.d,Ws.prototype.get=Ws.prototype.get,Ws.prototype.getKeys=Ws.prototype.C,Ws.prototype.getProperties=Ws.prototype.D,Ws.prototype.set=Ws.prototype.set,Ws.prototype.setProperties=Ws.prototype.t,Ws.prototype.unset=Ws.prototype.I,Ws.prototype.changed=Ws.prototype.k,Ws.prototype.getRevision=Ws.prototype.v,Ws.prototype.on=Ws.prototype.r,Ws.prototype.once=Ws.prototype.A,Ws.prototype.un=Ws.prototype.u,Ws.prototype.unByKey=Ws.prototype.B,gg.prototype.getActive=gg.prototype.c,gg.prototype.setActive=gg.prototype.d,gg.prototype.get=gg.prototype.get,gg.prototype.getKeys=gg.prototype.C,gg.prototype.getProperties=gg.prototype.D,gg.prototype.set=gg.prototype.set,gg.prototype.setProperties=gg.prototype.t,gg.prototype.unset=gg.prototype.I,gg.prototype.changed=gg.prototype.k,gg.prototype.getRevision=gg.prototype.v,gg.prototype.on=gg.prototype.r,gg.prototype.once=gg.prototype.A,gg.prototype.un=gg.prototype.u,gg.prototype.unByKey=gg.prototype.B,Ys.prototype.getActive=Ys.prototype.c,Ys.prototype.setActive=Ys.prototype.d,Ys.prototype.get=Ys.prototype.get,Ys.prototype.getKeys=Ys.prototype.C,Ys.prototype.getProperties=Ys.prototype.D,Ys.prototype.set=Ys.prototype.set,Ys.prototype.setProperties=Ys.prototype.t,Ys.prototype.unset=Ys.prototype.I,Ys.prototype.changed=Ys.prototype.k,Ys.prototype.getRevision=Ys.prototype.v,Ys.prototype.on=Ys.prototype.r,Ys.prototype.once=Ys.prototype.A,Ys.prototype.un=Ys.prototype.u,Ys.prototype.unByKey=Ys.prototype.B,pp.prototype.getGeometry=pp.prototype.Q,pp.prototype.getActive=pp.prototype.c,pp.prototype.setActive=pp.prototype.d,pp.prototype.get=pp.prototype.get,pp.prototype.getKeys=pp.prototype.C,pp.prototype.getProperties=pp.prototype.D,pp.prototype.set=pp.prototype.set,pp.prototype.setProperties=pp.prototype.t,pp.prototype.unset=pp.prototype.I,pp.prototype.changed=pp.prototype.k,pp.prototype.getRevision=pp.prototype.v,pp.prototype.on=pp.prototype.r,pp.prototype.once=pp.prototype.A,pp.prototype.un=pp.prototype.u,pp.prototype.unByKey=pp.prototype.B,xg.prototype.getActive=xg.prototype.c,xg.prototype.setActive=xg.prototype.d,xg.prototype.get=xg.prototype.get,xg.prototype.getKeys=xg.prototype.C,xg.prototype.getProperties=xg.prototype.D,xg.prototype.set=xg.prototype.set,xg.prototype.setProperties=xg.prototype.t,xg.prototype.unset=xg.prototype.I,xg.prototype.changed=xg.prototype.k,xg.prototype.getRevision=xg.prototype.v,xg.prototype.on=xg.prototype.r,xg.prototype.once=xg.prototype.A,xg.prototype.un=xg.prototype.u,xg.prototype.unByKey=xg.prototype.B,lp.prototype.getActive=lp.prototype.c,lp.prototype.setActive=lp.prototype.d,lp.prototype.get=lp.prototype.get,lp.prototype.getKeys=lp.prototype.C,lp.prototype.getProperties=lp.prototype.D,lp.prototype.set=lp.prototype.set,lp.prototype.setProperties=lp.prototype.t,lp.prototype.unset=lp.prototype.I,lp.prototype.changed=lp.prototype.k,lp.prototype.getRevision=lp.prototype.v,lp.prototype.on=lp.prototype.r,lp.prototype.once=lp.prototype.A,lp.prototype.un=lp.prototype.u,lp.prototype.unByKey=lp.prototype.B,up.prototype.getActive=up.prototype.c,up.prototype.setActive=up.prototype.d,up.prototype.get=up.prototype.get,up.prototype.getKeys=up.prototype.C,up.prototype.getProperties=up.prototype.D,up.prototype.set=up.prototype.set,up.prototype.setProperties=up.prototype.t,up.prototype.unset=up.prototype.I,up.prototype.changed=up.prototype.k,up.prototype.getRevision=up.prototype.v,up.prototype.on=up.prototype.r,up.prototype.once=up.prototype.A,up.prototype.un=up.prototype.u,up.prototype.unByKey=up.prototype.B,Lg.prototype.getActive=Lg.prototype.c,Lg.prototype.setActive=Lg.prototype.d,Lg.prototype.get=Lg.prototype.get,Lg.prototype.getKeys=Lg.prototype.C,Lg.prototype.getProperties=Lg.prototype.D,Lg.prototype.set=Lg.prototype.set,Lg.prototype.setProperties=Lg.prototype.t,Lg.prototype.unset=Lg.prototype.I,Lg.prototype.changed=Lg.prototype.k,Lg.prototype.getRevision=Lg.prototype.v,Lg.prototype.on=Lg.prototype.r,Lg.prototype.once=Lg.prototype.A,Lg.prototype.un=Lg.prototype.u,Lg.prototype.unByKey=Lg.prototype.B,fp.prototype.getActive=fp.prototype.c,fp.prototype.setActive=fp.prototype.d,fp.prototype.get=fp.prototype.get,fp.prototype.getKeys=fp.prototype.C,fp.prototype.getProperties=fp.prototype.D,fp.prototype.set=fp.prototype.set,fp.prototype.setProperties=fp.prototype.t,fp.prototype.unset=fp.prototype.I,fp.prototype.changed=fp.prototype.k,fp.prototype.getRevision=fp.prototype.v,fp.prototype.on=fp.prototype.r,fp.prototype.once=fp.prototype.A,fp.prototype.un=fp.prototype.u,fp.prototype.unByKey=fp.prototype.B,dp.prototype.getActive=dp.prototype.c,dp.prototype.setActive=dp.prototype.d,dp.prototype.get=dp.prototype.get,dp.prototype.getKeys=dp.prototype.C,dp.prototype.getProperties=dp.prototype.D,dp.prototype.set=dp.prototype.set,dp.prototype.setProperties=dp.prototype.t,dp.prototype.unset=dp.prototype.I,dp.prototype.changed=dp.prototype.k,dp.prototype.getRevision=dp.prototype.v,dp.prototype.on=dp.prototype.r,dp.prototype.once=dp.prototype.A,dp.prototype.un=dp.prototype.u,dp.prototype.unByKey=dp.prototype.B,bp.prototype.getActive=bp.prototype.c,bp.prototype.setActive=bp.prototype.d,bp.prototype.get=bp.prototype.get,bp.prototype.getKeys=bp.prototype.C,bp.prototype.getProperties=bp.prototype.D,bp.prototype.set=bp.prototype.set,bp.prototype.setProperties=bp.prototype.t,bp.prototype.unset=bp.prototype.I,bp.prototype.changed=bp.prototype.k,bp.prototype.getRevision=bp.prototype.v,bp.prototype.on=bp.prototype.r,bp.prototype.once=bp.prototype.A,bp.prototype.un=bp.prototype.u,bp.prototype.unByKey=bp.prototype.B,Hg.prototype.getActive=Hg.prototype.c,Hg.prototype.setActive=Hg.prototype.d,Hg.prototype.get=Hg.prototype.get,Hg.prototype.getKeys=Hg.prototype.C,Hg.prototype.getProperties=Hg.prototype.D,Hg.prototype.set=Hg.prototype.set,Hg.prototype.setProperties=Hg.prototype.t,Hg.prototype.unset=Hg.prototype.I,Hg.prototype.changed=Hg.prototype.k,Hg.prototype.getRevision=Hg.prototype.v,Hg.prototype.on=Hg.prototype.r,Hg.prototype.once=Hg.prototype.A,Hg.prototype.un=Hg.prototype.u,Hg.prototype.unByKey=Hg.prototype.B,Kg.prototype.getActive=Kg.prototype.c,Kg.prototype.setActive=Kg.prototype.d,Kg.prototype.get=Kg.prototype.get,Kg.prototype.getKeys=Kg.prototype.C,Kg.prototype.getProperties=Kg.prototype.D,Kg.prototype.set=Kg.prototype.set,Kg.prototype.setProperties=Kg.prototype.t,Kg.prototype.unset=Kg.prototype.I,Kg.prototype.changed=Kg.prototype.k,Kg.prototype.getRevision=Kg.prototype.v,Kg.prototype.on=Kg.prototype.r,Kg.prototype.once=Kg.prototype.A,Kg.prototype.un=Kg.prototype.u,Kg.prototype.unByKey=Kg.prototype.B,Qs.prototype.get=Qs.prototype.get,Qs.prototype.getKeys=Qs.prototype.C,Qs.prototype.getProperties=Qs.prototype.D,Qs.prototype.set=Qs.prototype.set,Qs.prototype.setProperties=Qs.prototype.t,Qs.prototype.unset=Qs.prototype.I,Qs.prototype.changed=Qs.prototype.k,Qs.prototype.getRevision=Qs.prototype.v,Qs.prototype.on=Qs.prototype.r,Qs.prototype.once=Qs.prototype.A,Qs.prototype.un=Qs.prototype.u,Qs.prototype.unByKey=Qs.prototype.B,ea.prototype.getClosestPoint=ea.prototype.e,ea.prototype.getExtent=ea.prototype.G,ea.prototype.get=ea.prototype.get,ea.prototype.getKeys=ea.prototype.C,ea.prototype.getProperties=ea.prototype.D,ea.prototype.set=ea.prototype.set,ea.prototype.setProperties=ea.prototype.t,ea.prototype.unset=ea.prototype.I,ea.prototype.changed=ea.prototype.k,ea.prototype.getRevision=ea.prototype.v,ea.prototype.on=ea.prototype.r,ea.prototype.once=ea.prototype.A,ea.prototype.un=ea.prototype.u,ea.prototype.unByKey=ea.prototype.B,ll.prototype.getFirstCoordinate=ll.prototype.ob,ll.prototype.getLastCoordinate=ll.prototype.pb,ll.prototype.getLayout=ll.prototype.qb,ll.prototype.applyTransform=ll.prototype.qa,ll.prototype.translate=ll.prototype.Oa,ll.prototype.getClosestPoint=ll.prototype.e,ll.prototype.getExtent=ll.prototype.G,ll.prototype.get=ll.prototype.get,ll.prototype.getKeys=ll.prototype.C,ll.prototype.getProperties=ll.prototype.D,ll.prototype.set=ll.prototype.set,ll.prototype.setProperties=ll.prototype.t,ll.prototype.unset=ll.prototype.I,ll.prototype.changed=ll.prototype.k,ll.prototype.getRevision=ll.prototype.v,ll.prototype.on=ll.prototype.r,ll.prototype.once=ll.prototype.A,ll.prototype.un=ll.prototype.u,ll.prototype.unByKey=ll.prototype.B,ul.prototype.getClosestPoint=ul.prototype.e,ul.prototype.getExtent=ul.prototype.G,ul.prototype.get=ul.prototype.get,ul.prototype.getKeys=ul.prototype.C,ul.prototype.getProperties=ul.prototype.D,ul.prototype.set=ul.prototype.set,ul.prototype.setProperties=ul.prototype.t,ul.prototype.unset=ul.prototype.I,ul.prototype.changed=ul.prototype.k,ul.prototype.getRevision=ul.prototype.v,ul.prototype.on=ul.prototype.r,ul.prototype.once=ul.prototype.A,ul.prototype.un=ul.prototype.u,ul.prototype.unByKey=ul.prototype.B,xa.prototype.getFirstCoordinate=xa.prototype.ob,xa.prototype.getLastCoordinate=xa.prototype.pb,xa.prototype.getLayout=xa.prototype.qb,xa.prototype.applyTransform=xa.prototype.qa,xa.prototype.translate=xa.prototype.Oa,xa.prototype.getClosestPoint=xa.prototype.e,xa.prototype.getExtent=xa.prototype.G,xa.prototype.get=xa.prototype.get,xa.prototype.getKeys=xa.prototype.C,xa.prototype.getProperties=xa.prototype.D,xa.prototype.set=xa.prototype.set,xa.prototype.setProperties=xa.prototype.t,xa.prototype.unset=xa.prototype.I,xa.prototype.changed=xa.prototype.k,xa.prototype.getRevision=xa.prototype.v,xa.prototype.on=xa.prototype.r,xa.prototype.once=xa.prototype.A,xa.prototype.un=xa.prototype.u,xa.prototype.unByKey=xa.prototype.B,ml.prototype.getFirstCoordinate=ml.prototype.ob,ml.prototype.getLastCoordinate=ml.prototype.pb,ml.prototype.getLayout=ml.prototype.qb,ml.prototype.applyTransform=ml.prototype.qa,ml.prototype.translate=ml.prototype.Oa,ml.prototype.getClosestPoint=ml.prototype.e,ml.prototype.getExtent=ml.prototype.G,ml.prototype.get=ml.prototype.get,ml.prototype.getKeys=ml.prototype.C,ml.prototype.getProperties=ml.prototype.D,ml.prototype.set=ml.prototype.set,ml.prototype.setProperties=ml.prototype.t,ml.prototype.unset=ml.prototype.I,ml.prototype.changed=ml.prototype.k,ml.prototype.getRevision=ml.prototype.v,ml.prototype.on=ml.prototype.r,ml.prototype.once=ml.prototype.A,ml.prototype.un=ml.prototype.u,ml.prototype.unByKey=ml.prototype.B,xl.prototype.getFirstCoordinate=xl.prototype.ob,xl.prototype.getLastCoordinate=xl.prototype.pb,xl.prototype.getLayout=xl.prototype.qb,xl.prototype.applyTransform=xl.prototype.qa,xl.prototype.translate=xl.prototype.Oa,xl.prototype.getClosestPoint=xl.prototype.e,xl.prototype.getExtent=xl.prototype.G,xl.prototype.get=xl.prototype.get,xl.prototype.getKeys=xl.prototype.C,xl.prototype.getProperties=xl.prototype.D,xl.prototype.set=xl.prototype.set,xl.prototype.setProperties=xl.prototype.t,xl.prototype.unset=xl.prototype.I,xl.prototype.changed=xl.prototype.k,xl.prototype.getRevision=xl.prototype.v,xl.prototype.on=xl.prototype.r,xl.prototype.once=xl.prototype.A,xl.prototype.un=xl.prototype.u,xl.prototype.unByKey=xl.prototype.B,Ml.prototype.getFirstCoordinate=Ml.prototype.ob,Ml.prototype.getLastCoordinate=Ml.prototype.pb,Ml.prototype.getLayout=Ml.prototype.qb,Ml.prototype.applyTransform=Ml.prototype.qa,Ml.prototype.translate=Ml.prototype.Oa,Ml.prototype.getClosestPoint=Ml.prototype.e,Ml.prototype.getExtent=Ml.prototype.G,Ml.prototype.get=Ml.prototype.get,Ml.prototype.getKeys=Ml.prototype.C,Ml.prototype.getProperties=Ml.prototype.D,Ml.prototype.set=Ml.prototype.set,Ml.prototype.setProperties=Ml.prototype.t,Ml.prototype.unset=Ml.prototype.I,Ml.prototype.changed=Ml.prototype.k,Ml.prototype.getRevision=Ml.prototype.v,Ml.prototype.on=Ml.prototype.r,Ml.prototype.once=Ml.prototype.A,Ml.prototype.un=Ml.prototype.u,Ml.prototype.unByKey=Ml.prototype.B,Pl.prototype.getFirstCoordinate=Pl.prototype.ob,Pl.prototype.getLastCoordinate=Pl.prototype.pb,Pl.prototype.getLayout=Pl.prototype.qb,Pl.prototype.applyTransform=Pl.prototype.qa,Pl.prototype.translate=Pl.prototype.Oa,Pl.prototype.getClosestPoint=Pl.prototype.e,Pl.prototype.getExtent=Pl.prototype.G,Pl.prototype.get=Pl.prototype.get,Pl.prototype.getKeys=Pl.prototype.C,Pl.prototype.getProperties=Pl.prototype.D,Pl.prototype.set=Pl.prototype.set,Pl.prototype.setProperties=Pl.prototype.t,Pl.prototype.unset=Pl.prototype.I,Pl.prototype.changed=Pl.prototype.k,Pl.prototype.getRevision=Pl.prototype.v,Pl.prototype.on=Pl.prototype.r,Pl.prototype.once=Pl.prototype.A,Pl.prototype.un=Pl.prototype.u,Pl.prototype.unByKey=Pl.prototype.B,Ta.prototype.getFirstCoordinate=Ta.prototype.ob,Ta.prototype.getLastCoordinate=Ta.prototype.pb,Ta.prototype.getLayout=Ta.prototype.qb,Ta.prototype.applyTransform=Ta.prototype.qa,Ta.prototype.translate=Ta.prototype.Oa,Ta.prototype.getClosestPoint=Ta.prototype.e,Ta.prototype.getExtent=Ta.prototype.G,Ta.prototype.get=Ta.prototype.get,Ta.prototype.getKeys=Ta.prototype.C,Ta.prototype.getProperties=Ta.prototype.D,Ta.prototype.set=Ta.prototype.set,Ta.prototype.setProperties=Ta.prototype.t,Ta.prototype.unset=Ta.prototype.I,Ta.prototype.changed=Ta.prototype.k,Ta.prototype.getRevision=Ta.prototype.v,Ta.prototype.on=Ta.prototype.r,Ta.prototype.once=Ta.prototype.A,Ta.prototype.un=Ta.prototype.u,Ta.prototype.unByKey=Ta.prototype.B,Fa.prototype.getFirstCoordinate=Fa.prototype.ob,Fa.prototype.getLastCoordinate=Fa.prototype.pb,Fa.prototype.getLayout=Fa.prototype.qb,Fa.prototype.applyTransform=Fa.prototype.qa,Fa.prototype.translate=Fa.prototype.Oa,Fa.prototype.getClosestPoint=Fa.prototype.e,Fa.prototype.getExtent=Fa.prototype.G,Fa.prototype.get=Fa.prototype.get,Fa.prototype.getKeys=Fa.prototype.C,Fa.prototype.getProperties=Fa.prototype.D,Fa.prototype.set=Fa.prototype.set,Fa.prototype.setProperties=Fa.prototype.t,Fa.prototype.unset=Fa.prototype.I,Fa.prototype.changed=Fa.prototype.k,Fa.prototype.getRevision=Fa.prototype.v,Fa.prototype.on=Fa.prototype.r,Fa.prototype.once=Fa.prototype.A,Fa.prototype.un=Fa.prototype.u,Fa.prototype.unByKey=Fa.prototype.B,$f.prototype.readFeatures=$f.prototype.ja,Gf.prototype.readFeatures=Gf.prototype.ja,Gf.prototype.readFeatures=Gf.prototype.ja,Ji.prototype.get=Ji.prototype.get,Ji.prototype.getKeys=Ji.prototype.C,Ji.prototype.getProperties=Ji.prototype.D,Ji.prototype.set=Ji.prototype.set,Ji.prototype.setProperties=Ji.prototype.t,Ji.prototype.unset=Ji.prototype.I,Ji.prototype.changed=Ji.prototype.k,Ji.prototype.getRevision=Ji.prototype.v,Ji.prototype.on=Ji.prototype.r,Ji.prototype.once=Ji.prototype.A,Ji.prototype.un=Ji.prototype.u,Ji.prototype.unByKey=Ji.prototype.B,Rn.prototype.getMap=Rn.prototype.e,Rn.prototype.setMap=Rn.prototype.setMap,Rn.prototype.setTarget=Rn.prototype.c,Rn.prototype.get=Rn.prototype.get,Rn.prototype.getKeys=Rn.prototype.C,Rn.prototype.getProperties=Rn.prototype.D,Rn.prototype.set=Rn.prototype.set,Rn.prototype.setProperties=Rn.prototype.t,Rn.prototype.unset=Rn.prototype.I,Rn.prototype.changed=Rn.prototype.k,Rn.prototype.getRevision=Rn.prototype.v,Rn.prototype.on=Rn.prototype.r,Rn.prototype.once=Rn.prototype.A,Rn.prototype.un=Rn.prototype.u,Rn.prototype.unByKey=Rn.prototype.B,Gn.prototype.getMap=Gn.prototype.e,Gn.prototype.setMap=Gn.prototype.setMap,Gn.prototype.setTarget=Gn.prototype.c,Gn.prototype.get=Gn.prototype.get,Gn.prototype.getKeys=Gn.prototype.C,Gn.prototype.getProperties=Gn.prototype.D,Gn.prototype.set=Gn.prototype.set,Gn.prototype.setProperties=Gn.prototype.t,Gn.prototype.unset=Gn.prototype.I,Gn.prototype.changed=Gn.prototype.k,Gn.prototype.getRevision=Gn.prototype.v,Gn.prototype.on=Gn.prototype.r,Gn.prototype.once=Gn.prototype.A,Gn.prototype.un=Gn.prototype.u,Gn.prototype.unByKey=Gn.prototype.B,qn.prototype.getMap=qn.prototype.e,qn.prototype.setTarget=qn.prototype.c,qn.prototype.get=qn.prototype.get,qn.prototype.getKeys=qn.prototype.C,qn.prototype.getProperties=qn.prototype.D,qn.prototype.set=qn.prototype.set,qn.prototype.setProperties=qn.prototype.t,qn.prototype.unset=qn.prototype.I,qn.prototype.changed=qn.prototype.k,qn.prototype.getRevision=qn.prototype.v,qn.prototype.on=qn.prototype.r,qn.prototype.once=qn.prototype.A,qn.prototype.un=qn.prototype.u,qn.prototype.unByKey=qn.prototype.B,Oc.prototype.getMap=Oc.prototype.e,Oc.prototype.setTarget=Oc.prototype.c,Oc.prototype.get=Oc.prototype.get,Oc.prototype.getKeys=Oc.prototype.C,Oc.prototype.getProperties=Oc.prototype.D,Oc.prototype.set=Oc.prototype.set,Oc.prototype.setProperties=Oc.prototype.t,Oc.prototype.unset=Oc.prototype.I,Oc.prototype.changed=Oc.prototype.k,Oc.prototype.getRevision=Oc.prototype.v,Oc.prototype.on=Oc.prototype.r,Oc.prototype.once=Oc.prototype.A,Oc.prototype.un=Oc.prototype.u,Oc.prototype.unByKey=Oc.prototype.B,Nn.prototype.getMap=Nn.prototype.e,Nn.prototype.setMap=Nn.prototype.setMap,Nn.prototype.setTarget=Nn.prototype.c,Nn.prototype.get=Nn.prototype.get,Nn.prototype.getKeys=Nn.prototype.C,Nn.prototype.getProperties=Nn.prototype.D,Nn.prototype.set=Nn.prototype.set,Nn.prototype.setProperties=Nn.prototype.t,Nn.prototype.unset=Nn.prototype.I,Nn.prototype.changed=Nn.prototype.k,Nn.prototype.getRevision=Nn.prototype.v,Nn.prototype.on=Nn.prototype.r,Nn.prototype.once=Nn.prototype.A,Nn.prototype.un=Nn.prototype.u,Nn.prototype.unByKey=Nn.prototype.B,$c.prototype.getMap=$c.prototype.e,$c.prototype.setMap=$c.prototype.setMap,$c.prototype.setTarget=$c.prototype.c,$c.prototype.get=$c.prototype.get,$c.prototype.getKeys=$c.prototype.C,$c.prototype.getProperties=$c.prototype.D,$c.prototype.set=$c.prototype.set,$c.prototype.setProperties=$c.prototype.t,$c.prototype.unset=$c.prototype.I,$c.prototype.changed=$c.prototype.k,$c.prototype.getRevision=$c.prototype.v,$c.prototype.on=$c.prototype.r,$c.prototype.once=$c.prototype.A,$c.prototype.un=$c.prototype.u,$c.prototype.unByKey=$c.prototype.B,Dn.prototype.getMap=Dn.prototype.e,Dn.prototype.setMap=Dn.prototype.setMap,Dn.prototype.setTarget=Dn.prototype.c,Dn.prototype.get=Dn.prototype.get,Dn.prototype.getKeys=Dn.prototype.C,Dn.prototype.getProperties=Dn.prototype.D,Dn.prototype.set=Dn.prototype.set,Dn.prototype.setProperties=Dn.prototype.t,Dn.prototype.unset=Dn.prototype.I,Dn.prototype.changed=Dn.prototype.k,Dn.prototype.getRevision=Dn.prototype.v,Dn.prototype.on=Dn.prototype.r,Dn.prototype.once=Dn.prototype.A,Dn.prototype.un=Dn.prototype.u,Dn.prototype.unByKey=Dn.prototype.B,tf.prototype.getMap=tf.prototype.e,tf.prototype.setTarget=tf.prototype.c,tf.prototype.get=tf.prototype.get,tf.prototype.getKeys=tf.prototype.C,tf.prototype.getProperties=tf.prototype.D,tf.prototype.set=tf.prototype.set,tf.prototype.setProperties=tf.prototype.t,tf.prototype.unset=tf.prototype.I,tf.prototype.changed=tf.prototype.k,tf.prototype.getRevision=tf.prototype.v,tf.prototype.on=tf.prototype.r,tf.prototype.once=tf.prototype.A,tf.prototype.un=tf.prototype.u,tf.prototype.unByKey=tf.prototype.B,rf.prototype.getMap=rf.prototype.e,rf.prototype.setMap=rf.prototype.setMap,rf.prototype.setTarget=rf.prototype.c,rf.prototype.get=rf.prototype.get,rf.prototype.getKeys=rf.prototype.C,rf.prototype.getProperties=rf.prototype.D,rf.prototype.set=rf.prototype.set,rf.prototype.setProperties=rf.prototype.t,rf.prototype.unset=rf.prototype.I,rf.prototype.changed=rf.prototype.k,rf.prototype.getRevision=rf.prototype.v,rf.prototype.on=rf.prototype.r,rf.prototype.once=rf.prototype.A,rf.prototype.un=rf.prototype.u,rf.prototype.unByKey=rf.prototype.B,nm.ol});var map,extent,overlays=[],vectorSource=new ol.source.Vector,lastClick,popupOverlay,vectorLayer;$(document).ready(function(){initMap(),$("#closer").click(function(){toggleResults()}),map.on("singleclick",function(t){var e=t.coordinate;lastClick=e}),$(window).resize(function(){updateResultsPosition(),updateCloserPosition()})});var options={enableHighAccuracy:!0,timeout:5e3,maximumAge:0};$(document).ready(function(){!boundings&&getPosition&&receiveLocation(),boundings&&adjustViewBoundingBox(minPos,maxPos),$("#clearInput").click(function(){$("#search input[name=q]").val(""),$("#search input[name=q]").focus(),clearPOIS(),$("#results").addClass("hidden"),$.each(overlays,function(t,e){map.removeOverlay(e),$("#popup-closer").click()})}),$("#search input[name=q]").on("keydown",function(t){13==t.which&&$("#doSearch").click()}),$("#doSearch").click(function(){updateMapExtent();var t=$("#search input[name=q]").val();t=encodeURI(t),$("#clearInput").html('<img src="/img/ajax-loader.gif" />');var e="/"+t+"/"+encodeURI(extent[0])+"/"+encodeURI(extent[1])+"/"+encodeURI(extent[2])+"/"+encodeURI(extent[3]);$.getScript(e).fail(function(t,e,o){}),$("#search input[name=q]").blur()})});var moveFunction=function(){var t=$("#search input[name=q]").val();if(""!==t){updateMapExtent();var t=$("#search input[name=q]").val();t=encodeURI(t),$("#clearInput").html('<img src="/img/ajax-loader.gif" />');var e="/"+t+"/"+encodeURI(extent[0])+"/"+encodeURI(extent[1])+"/"+encodeURI(extent[2])+"/"+encodeURI(extent[3]+"/"+!1+"/50");$.getScript(e)}}; \ No newline at end of file +Yr.prototype.set=Yr.prototype.set,Yr.prototype.setProperties=Yr.prototype.t,Yr.prototype.unset=Yr.prototype.I,Yr.prototype.changed=Yr.prototype.k,Yr.prototype.getRevision=Yr.prototype.v,Yr.prototype.on=Yr.prototype.r,Yr.prototype.once=Yr.prototype.A,Yr.prototype.un=Yr.prototype.u,Yr.prototype.unByKey=Yr.prototype.B,Lp.prototype.setSource=Lp.prototype.Jc,Lp.prototype.getBrightness=Lp.prototype.Bb,Lp.prototype.getContrast=Lp.prototype.Cb,Lp.prototype.getHue=Lp.prototype.Db,Lp.prototype.getExtent=Lp.prototype.G,Lp.prototype.getMaxResolution=Lp.prototype.Eb,Lp.prototype.getMinResolution=Lp.prototype.Fb,Lp.prototype.getOpacity=Lp.prototype.Kb,Lp.prototype.getSaturation=Lp.prototype.Gb,Lp.prototype.getVisible=Lp.prototype.eb,Lp.prototype.setBrightness=Lp.prototype.gc,Lp.prototype.setContrast=Lp.prototype.hc,Lp.prototype.setHue=Lp.prototype.ic,Lp.prototype.setExtent=Lp.prototype.bc,Lp.prototype.setMaxResolution=Lp.prototype.jc,Lp.prototype.setMinResolution=Lp.prototype.kc,Lp.prototype.setOpacity=Lp.prototype.cc,Lp.prototype.setSaturation=Lp.prototype.lc,Lp.prototype.setVisible=Lp.prototype.mc,Lp.prototype.get=Lp.prototype.get,Lp.prototype.getKeys=Lp.prototype.C,Lp.prototype.getProperties=Lp.prototype.D,Lp.prototype.set=Lp.prototype.set,Lp.prototype.setProperties=Lp.prototype.t,Lp.prototype.unset=Lp.prototype.I,Lp.prototype.changed=Lp.prototype.k,Lp.prototype.getRevision=Lp.prototype.v,Lp.prototype.on=Lp.prototype.r,Lp.prototype.once=Lp.prototype.A,Lp.prototype.un=Lp.prototype.u,Lp.prototype.unByKey=Lp.prototype.B,Zg.prototype.getSource=Zg.prototype.da,Zg.prototype.getStyle=Zg.prototype.H,Zg.prototype.getStyleFunction=Zg.prototype.J,Zg.prototype.setStyle=Zg.prototype.e,Zg.prototype.setSource=Zg.prototype.Jc,Zg.prototype.getBrightness=Zg.prototype.Bb,Zg.prototype.getContrast=Zg.prototype.Cb,Zg.prototype.getHue=Zg.prototype.Db,Zg.prototype.getExtent=Zg.prototype.G,Zg.prototype.getMaxResolution=Zg.prototype.Eb,Zg.prototype.getMinResolution=Zg.prototype.Fb,Zg.prototype.getOpacity=Zg.prototype.Kb,Zg.prototype.getSaturation=Zg.prototype.Gb,Zg.prototype.getVisible=Zg.prototype.eb,Zg.prototype.setBrightness=Zg.prototype.gc,Zg.prototype.setContrast=Zg.prototype.hc,Zg.prototype.setHue=Zg.prototype.ic,Zg.prototype.setExtent=Zg.prototype.bc,Zg.prototype.setMaxResolution=Zg.prototype.jc,Zg.prototype.setMinResolution=Zg.prototype.kc,Zg.prototype.setOpacity=Zg.prototype.cc,Zg.prototype.setSaturation=Zg.prototype.lc,Zg.prototype.setVisible=Zg.prototype.mc,Zg.prototype.get=Zg.prototype.get,Zg.prototype.getKeys=Zg.prototype.C,Zg.prototype.getProperties=Zg.prototype.D,Zg.prototype.set=Zg.prototype.set,Zg.prototype.setProperties=Zg.prototype.t,Zg.prototype.unset=Zg.prototype.I,Zg.prototype.changed=Zg.prototype.k,Zg.prototype.getRevision=Zg.prototype.v,Zg.prototype.on=Zg.prototype.r,Zg.prototype.once=Zg.prototype.A,Zg.prototype.un=Zg.prototype.u,Zg.prototype.unByKey=Zg.prototype.B,Rp.prototype.setSource=Rp.prototype.Jc,Rp.prototype.getBrightness=Rp.prototype.Bb,Rp.prototype.getContrast=Rp.prototype.Cb,Rp.prototype.getHue=Rp.prototype.Db,Rp.prototype.getExtent=Rp.prototype.G,Rp.prototype.getMaxResolution=Rp.prototype.Eb,Rp.prototype.getMinResolution=Rp.prototype.Fb,Rp.prototype.getOpacity=Rp.prototype.Kb,Rp.prototype.getSaturation=Rp.prototype.Gb,Rp.prototype.getVisible=Rp.prototype.eb,Rp.prototype.setBrightness=Rp.prototype.gc,Rp.prototype.setContrast=Rp.prototype.hc,Rp.prototype.setHue=Rp.prototype.ic,Rp.prototype.setExtent=Rp.prototype.bc,Rp.prototype.setMaxResolution=Rp.prototype.jc,Rp.prototype.setMinResolution=Rp.prototype.kc,Rp.prototype.setOpacity=Rp.prototype.cc,Rp.prototype.setSaturation=Rp.prototype.lc,Rp.prototype.setVisible=Rp.prototype.mc,Rp.prototype.get=Rp.prototype.get,Rp.prototype.getKeys=Rp.prototype.C,Rp.prototype.getProperties=Rp.prototype.D,Rp.prototype.set=Rp.prototype.set,Rp.prototype.setProperties=Rp.prototype.t,Rp.prototype.unset=Rp.prototype.I,Rp.prototype.changed=Rp.prototype.k,Rp.prototype.getRevision=Rp.prototype.v,Rp.prototype.on=Rp.prototype.r,Rp.prototype.once=Rp.prototype.A,Rp.prototype.un=Rp.prototype.u,Rp.prototype.unByKey=Rp.prototype.B,Cp.prototype.getBrightness=Cp.prototype.Bb,Cp.prototype.getContrast=Cp.prototype.Cb,Cp.prototype.getHue=Cp.prototype.Db,Cp.prototype.getExtent=Cp.prototype.G,Cp.prototype.getMaxResolution=Cp.prototype.Eb,Cp.prototype.getMinResolution=Cp.prototype.Fb,Cp.prototype.getOpacity=Cp.prototype.Kb,Cp.prototype.getSaturation=Cp.prototype.Gb,Cp.prototype.getVisible=Cp.prototype.eb,Cp.prototype.setBrightness=Cp.prototype.gc,Cp.prototype.setContrast=Cp.prototype.hc,Cp.prototype.setHue=Cp.prototype.ic,Cp.prototype.setExtent=Cp.prototype.bc,Cp.prototype.setMaxResolution=Cp.prototype.jc,Cp.prototype.setMinResolution=Cp.prototype.kc,Cp.prototype.setOpacity=Cp.prototype.cc,Cp.prototype.setSaturation=Cp.prototype.lc,Cp.prototype.setVisible=Cp.prototype.mc,Cp.prototype.get=Cp.prototype.get,Cp.prototype.getKeys=Cp.prototype.C,Cp.prototype.getProperties=Cp.prototype.D,Cp.prototype.set=Cp.prototype.set,Cp.prototype.setProperties=Cp.prototype.t,Cp.prototype.unset=Cp.prototype.I,Cp.prototype.changed=Cp.prototype.k,Cp.prototype.getRevision=Cp.prototype.v,Cp.prototype.on=Cp.prototype.r,Cp.prototype.once=Cp.prototype.A,Cp.prototype.un=Cp.prototype.u,Cp.prototype.unByKey=Cp.prototype.B,jp.prototype.setSource=jp.prototype.Jc,jp.prototype.getBrightness=jp.prototype.Bb,jp.prototype.getContrast=jp.prototype.Cb,jp.prototype.getHue=jp.prototype.Db,jp.prototype.getExtent=jp.prototype.G,jp.prototype.getMaxResolution=jp.prototype.Eb,jp.prototype.getMinResolution=jp.prototype.Fb,jp.prototype.getOpacity=jp.prototype.Kb,jp.prototype.getSaturation=jp.prototype.Gb,jp.prototype.getVisible=jp.prototype.eb,jp.prototype.setBrightness=jp.prototype.gc,jp.prototype.setContrast=jp.prototype.hc,jp.prototype.setHue=jp.prototype.ic,jp.prototype.setExtent=jp.prototype.bc,jp.prototype.setMaxResolution=jp.prototype.jc,jp.prototype.setMinResolution=jp.prototype.kc,jp.prototype.setOpacity=jp.prototype.cc,jp.prototype.setSaturation=jp.prototype.lc,jp.prototype.setVisible=jp.prototype.mc,jp.prototype.get=jp.prototype.get,jp.prototype.getKeys=jp.prototype.C,jp.prototype.getProperties=jp.prototype.D,jp.prototype.set=jp.prototype.set,jp.prototype.setProperties=jp.prototype.t,jp.prototype.unset=jp.prototype.I,jp.prototype.changed=jp.prototype.k,jp.prototype.getRevision=jp.prototype.v,jp.prototype.on=jp.prototype.r,jp.prototype.once=jp.prototype.A,jp.prototype.un=jp.prototype.u,jp.prototype.unByKey=jp.prototype.B,As.prototype.get=As.prototype.get,As.prototype.getKeys=As.prototype.C,As.prototype.getProperties=As.prototype.D,As.prototype.set=As.prototype.set,As.prototype.setProperties=As.prototype.t,As.prototype.unset=As.prototype.I,As.prototype.changed=As.prototype.k,As.prototype.getRevision=As.prototype.v,As.prototype.on=As.prototype.r,As.prototype.once=As.prototype.A,As.prototype.un=As.prototype.u,As.prototype.unByKey=As.prototype.B,Ns.prototype.getActive=Ns.prototype.c,Ns.prototype.setActive=Ns.prototype.d,Ns.prototype.get=Ns.prototype.get,Ns.prototype.getKeys=Ns.prototype.C,Ns.prototype.getProperties=Ns.prototype.D,Ns.prototype.set=Ns.prototype.set,Ns.prototype.setProperties=Ns.prototype.t,Ns.prototype.unset=Ns.prototype.I,Ns.prototype.changed=Ns.prototype.k,Ns.prototype.getRevision=Ns.prototype.v,Ns.prototype.on=Ns.prototype.r,Ns.prototype.once=Ns.prototype.A,Ns.prototype.un=Ns.prototype.u,Ns.prototype.unByKey=Ns.prototype.B,fg.prototype.getActive=fg.prototype.c,fg.prototype.setActive=fg.prototype.d,fg.prototype.get=fg.prototype.get,fg.prototype.getKeys=fg.prototype.C,fg.prototype.getProperties=fg.prototype.D,fg.prototype.set=fg.prototype.set,fg.prototype.setProperties=fg.prototype.t,fg.prototype.unset=fg.prototype.I,fg.prototype.changed=fg.prototype.k,fg.prototype.getRevision=fg.prototype.v,fg.prototype.on=fg.prototype.r,fg.prototype.once=fg.prototype.A,fg.prototype.un=fg.prototype.u,fg.prototype.unByKey=fg.prototype.B,$s.prototype.getActive=$s.prototype.c,$s.prototype.setActive=$s.prototype.d,$s.prototype.get=$s.prototype.get,$s.prototype.getKeys=$s.prototype.C,$s.prototype.getProperties=$s.prototype.D,$s.prototype.set=$s.prototype.set,$s.prototype.setProperties=$s.prototype.t,$s.prototype.unset=$s.prototype.I,$s.prototype.changed=$s.prototype.k,$s.prototype.getRevision=$s.prototype.v,$s.prototype.on=$s.prototype.r,$s.prototype.once=$s.prototype.A,$s.prototype.un=$s.prototype.u,$s.prototype.unByKey=$s.prototype.B,za.prototype.getActive=za.prototype.c,za.prototype.setActive=za.prototype.d,za.prototype.get=za.prototype.get,za.prototype.getKeys=za.prototype.C,za.prototype.getProperties=za.prototype.D,za.prototype.set=za.prototype.set,za.prototype.setProperties=za.prototype.t,za.prototype.unset=za.prototype.I,za.prototype.changed=za.prototype.k,za.prototype.getRevision=za.prototype.v,za.prototype.on=za.prototype.r,za.prototype.once=za.prototype.A,za.prototype.un=za.prototype.u,za.prototype.unByKey=za.prototype.B,Ws.prototype.getActive=Ws.prototype.c,Ws.prototype.setActive=Ws.prototype.d,Ws.prototype.get=Ws.prototype.get,Ws.prototype.getKeys=Ws.prototype.C,Ws.prototype.getProperties=Ws.prototype.D,Ws.prototype.set=Ws.prototype.set,Ws.prototype.setProperties=Ws.prototype.t,Ws.prototype.unset=Ws.prototype.I,Ws.prototype.changed=Ws.prototype.k,Ws.prototype.getRevision=Ws.prototype.v,Ws.prototype.on=Ws.prototype.r,Ws.prototype.once=Ws.prototype.A,Ws.prototype.un=Ws.prototype.u,Ws.prototype.unByKey=Ws.prototype.B,gg.prototype.getActive=gg.prototype.c,gg.prototype.setActive=gg.prototype.d,gg.prototype.get=gg.prototype.get,gg.prototype.getKeys=gg.prototype.C,gg.prototype.getProperties=gg.prototype.D,gg.prototype.set=gg.prototype.set,gg.prototype.setProperties=gg.prototype.t,gg.prototype.unset=gg.prototype.I,gg.prototype.changed=gg.prototype.k,gg.prototype.getRevision=gg.prototype.v,gg.prototype.on=gg.prototype.r,gg.prototype.once=gg.prototype.A,gg.prototype.un=gg.prototype.u,gg.prototype.unByKey=gg.prototype.B,Ys.prototype.getActive=Ys.prototype.c,Ys.prototype.setActive=Ys.prototype.d,Ys.prototype.get=Ys.prototype.get,Ys.prototype.getKeys=Ys.prototype.C,Ys.prototype.getProperties=Ys.prototype.D,Ys.prototype.set=Ys.prototype.set,Ys.prototype.setProperties=Ys.prototype.t,Ys.prototype.unset=Ys.prototype.I,Ys.prototype.changed=Ys.prototype.k,Ys.prototype.getRevision=Ys.prototype.v,Ys.prototype.on=Ys.prototype.r,Ys.prototype.once=Ys.prototype.A,Ys.prototype.un=Ys.prototype.u,Ys.prototype.unByKey=Ys.prototype.B,pp.prototype.getGeometry=pp.prototype.Q,pp.prototype.getActive=pp.prototype.c,pp.prototype.setActive=pp.prototype.d,pp.prototype.get=pp.prototype.get,pp.prototype.getKeys=pp.prototype.C,pp.prototype.getProperties=pp.prototype.D,pp.prototype.set=pp.prototype.set,pp.prototype.setProperties=pp.prototype.t,pp.prototype.unset=pp.prototype.I,pp.prototype.changed=pp.prototype.k,pp.prototype.getRevision=pp.prototype.v,pp.prototype.on=pp.prototype.r,pp.prototype.once=pp.prototype.A,pp.prototype.un=pp.prototype.u,pp.prototype.unByKey=pp.prototype.B,xg.prototype.getActive=xg.prototype.c,xg.prototype.setActive=xg.prototype.d,xg.prototype.get=xg.prototype.get,xg.prototype.getKeys=xg.prototype.C,xg.prototype.getProperties=xg.prototype.D,xg.prototype.set=xg.prototype.set,xg.prototype.setProperties=xg.prototype.t,xg.prototype.unset=xg.prototype.I,xg.prototype.changed=xg.prototype.k,xg.prototype.getRevision=xg.prototype.v,xg.prototype.on=xg.prototype.r,xg.prototype.once=xg.prototype.A,xg.prototype.un=xg.prototype.u,xg.prototype.unByKey=xg.prototype.B,lp.prototype.getActive=lp.prototype.c,lp.prototype.setActive=lp.prototype.d,lp.prototype.get=lp.prototype.get,lp.prototype.getKeys=lp.prototype.C,lp.prototype.getProperties=lp.prototype.D,lp.prototype.set=lp.prototype.set,lp.prototype.setProperties=lp.prototype.t,lp.prototype.unset=lp.prototype.I,lp.prototype.changed=lp.prototype.k,lp.prototype.getRevision=lp.prototype.v,lp.prototype.on=lp.prototype.r,lp.prototype.once=lp.prototype.A,lp.prototype.un=lp.prototype.u,lp.prototype.unByKey=lp.prototype.B,up.prototype.getActive=up.prototype.c,up.prototype.setActive=up.prototype.d,up.prototype.get=up.prototype.get,up.prototype.getKeys=up.prototype.C,up.prototype.getProperties=up.prototype.D,up.prototype.set=up.prototype.set,up.prototype.setProperties=up.prototype.t,up.prototype.unset=up.prototype.I,up.prototype.changed=up.prototype.k,up.prototype.getRevision=up.prototype.v,up.prototype.on=up.prototype.r,up.prototype.once=up.prototype.A,up.prototype.un=up.prototype.u,up.prototype.unByKey=up.prototype.B,Lg.prototype.getActive=Lg.prototype.c,Lg.prototype.setActive=Lg.prototype.d,Lg.prototype.get=Lg.prototype.get,Lg.prototype.getKeys=Lg.prototype.C,Lg.prototype.getProperties=Lg.prototype.D,Lg.prototype.set=Lg.prototype.set,Lg.prototype.setProperties=Lg.prototype.t,Lg.prototype.unset=Lg.prototype.I,Lg.prototype.changed=Lg.prototype.k,Lg.prototype.getRevision=Lg.prototype.v,Lg.prototype.on=Lg.prototype.r,Lg.prototype.once=Lg.prototype.A,Lg.prototype.un=Lg.prototype.u,Lg.prototype.unByKey=Lg.prototype.B,fp.prototype.getActive=fp.prototype.c,fp.prototype.setActive=fp.prototype.d,fp.prototype.get=fp.prototype.get,fp.prototype.getKeys=fp.prototype.C,fp.prototype.getProperties=fp.prototype.D,fp.prototype.set=fp.prototype.set,fp.prototype.setProperties=fp.prototype.t,fp.prototype.unset=fp.prototype.I,fp.prototype.changed=fp.prototype.k,fp.prototype.getRevision=fp.prototype.v,fp.prototype.on=fp.prototype.r,fp.prototype.once=fp.prototype.A,fp.prototype.un=fp.prototype.u,fp.prototype.unByKey=fp.prototype.B,dp.prototype.getActive=dp.prototype.c,dp.prototype.setActive=dp.prototype.d,dp.prototype.get=dp.prototype.get,dp.prototype.getKeys=dp.prototype.C,dp.prototype.getProperties=dp.prototype.D,dp.prototype.set=dp.prototype.set,dp.prototype.setProperties=dp.prototype.t,dp.prototype.unset=dp.prototype.I,dp.prototype.changed=dp.prototype.k,dp.prototype.getRevision=dp.prototype.v,dp.prototype.on=dp.prototype.r,dp.prototype.once=dp.prototype.A,dp.prototype.un=dp.prototype.u,dp.prototype.unByKey=dp.prototype.B,bp.prototype.getActive=bp.prototype.c,bp.prototype.setActive=bp.prototype.d,bp.prototype.get=bp.prototype.get,bp.prototype.getKeys=bp.prototype.C,bp.prototype.getProperties=bp.prototype.D,bp.prototype.set=bp.prototype.set,bp.prototype.setProperties=bp.prototype.t,bp.prototype.unset=bp.prototype.I,bp.prototype.changed=bp.prototype.k,bp.prototype.getRevision=bp.prototype.v,bp.prototype.on=bp.prototype.r,bp.prototype.once=bp.prototype.A,bp.prototype.un=bp.prototype.u,bp.prototype.unByKey=bp.prototype.B,Hg.prototype.getActive=Hg.prototype.c,Hg.prototype.setActive=Hg.prototype.d,Hg.prototype.get=Hg.prototype.get,Hg.prototype.getKeys=Hg.prototype.C,Hg.prototype.getProperties=Hg.prototype.D,Hg.prototype.set=Hg.prototype.set,Hg.prototype.setProperties=Hg.prototype.t,Hg.prototype.unset=Hg.prototype.I,Hg.prototype.changed=Hg.prototype.k,Hg.prototype.getRevision=Hg.prototype.v,Hg.prototype.on=Hg.prototype.r,Hg.prototype.once=Hg.prototype.A,Hg.prototype.un=Hg.prototype.u,Hg.prototype.unByKey=Hg.prototype.B,Kg.prototype.getActive=Kg.prototype.c,Kg.prototype.setActive=Kg.prototype.d,Kg.prototype.get=Kg.prototype.get,Kg.prototype.getKeys=Kg.prototype.C,Kg.prototype.getProperties=Kg.prototype.D,Kg.prototype.set=Kg.prototype.set,Kg.prototype.setProperties=Kg.prototype.t,Kg.prototype.unset=Kg.prototype.I,Kg.prototype.changed=Kg.prototype.k,Kg.prototype.getRevision=Kg.prototype.v,Kg.prototype.on=Kg.prototype.r,Kg.prototype.once=Kg.prototype.A,Kg.prototype.un=Kg.prototype.u,Kg.prototype.unByKey=Kg.prototype.B,Qs.prototype.get=Qs.prototype.get,Qs.prototype.getKeys=Qs.prototype.C,Qs.prototype.getProperties=Qs.prototype.D,Qs.prototype.set=Qs.prototype.set,Qs.prototype.setProperties=Qs.prototype.t,Qs.prototype.unset=Qs.prototype.I,Qs.prototype.changed=Qs.prototype.k,Qs.prototype.getRevision=Qs.prototype.v,Qs.prototype.on=Qs.prototype.r,Qs.prototype.once=Qs.prototype.A,Qs.prototype.un=Qs.prototype.u,Qs.prototype.unByKey=Qs.prototype.B,ea.prototype.getClosestPoint=ea.prototype.e,ea.prototype.getExtent=ea.prototype.G,ea.prototype.get=ea.prototype.get,ea.prototype.getKeys=ea.prototype.C,ea.prototype.getProperties=ea.prototype.D,ea.prototype.set=ea.prototype.set,ea.prototype.setProperties=ea.prototype.t,ea.prototype.unset=ea.prototype.I,ea.prototype.changed=ea.prototype.k,ea.prototype.getRevision=ea.prototype.v,ea.prototype.on=ea.prototype.r,ea.prototype.once=ea.prototype.A,ea.prototype.un=ea.prototype.u,ea.prototype.unByKey=ea.prototype.B,ll.prototype.getFirstCoordinate=ll.prototype.ob,ll.prototype.getLastCoordinate=ll.prototype.pb,ll.prototype.getLayout=ll.prototype.qb,ll.prototype.applyTransform=ll.prototype.qa,ll.prototype.translate=ll.prototype.Oa,ll.prototype.getClosestPoint=ll.prototype.e,ll.prototype.getExtent=ll.prototype.G,ll.prototype.get=ll.prototype.get,ll.prototype.getKeys=ll.prototype.C,ll.prototype.getProperties=ll.prototype.D,ll.prototype.set=ll.prototype.set,ll.prototype.setProperties=ll.prototype.t,ll.prototype.unset=ll.prototype.I,ll.prototype.changed=ll.prototype.k,ll.prototype.getRevision=ll.prototype.v,ll.prototype.on=ll.prototype.r,ll.prototype.once=ll.prototype.A,ll.prototype.un=ll.prototype.u,ll.prototype.unByKey=ll.prototype.B,ul.prototype.getClosestPoint=ul.prototype.e,ul.prototype.getExtent=ul.prototype.G,ul.prototype.get=ul.prototype.get,ul.prototype.getKeys=ul.prototype.C,ul.prototype.getProperties=ul.prototype.D,ul.prototype.set=ul.prototype.set,ul.prototype.setProperties=ul.prototype.t,ul.prototype.unset=ul.prototype.I,ul.prototype.changed=ul.prototype.k,ul.prototype.getRevision=ul.prototype.v,ul.prototype.on=ul.prototype.r,ul.prototype.once=ul.prototype.A,ul.prototype.un=ul.prototype.u,ul.prototype.unByKey=ul.prototype.B,xa.prototype.getFirstCoordinate=xa.prototype.ob,xa.prototype.getLastCoordinate=xa.prototype.pb,xa.prototype.getLayout=xa.prototype.qb,xa.prototype.applyTransform=xa.prototype.qa,xa.prototype.translate=xa.prototype.Oa,xa.prototype.getClosestPoint=xa.prototype.e,xa.prototype.getExtent=xa.prototype.G,xa.prototype.get=xa.prototype.get,xa.prototype.getKeys=xa.prototype.C,xa.prototype.getProperties=xa.prototype.D,xa.prototype.set=xa.prototype.set,xa.prototype.setProperties=xa.prototype.t,xa.prototype.unset=xa.prototype.I,xa.prototype.changed=xa.prototype.k,xa.prototype.getRevision=xa.prototype.v,xa.prototype.on=xa.prototype.r,xa.prototype.once=xa.prototype.A,xa.prototype.un=xa.prototype.u,xa.prototype.unByKey=xa.prototype.B,ml.prototype.getFirstCoordinate=ml.prototype.ob,ml.prototype.getLastCoordinate=ml.prototype.pb,ml.prototype.getLayout=ml.prototype.qb,ml.prototype.applyTransform=ml.prototype.qa,ml.prototype.translate=ml.prototype.Oa,ml.prototype.getClosestPoint=ml.prototype.e,ml.prototype.getExtent=ml.prototype.G,ml.prototype.get=ml.prototype.get,ml.prototype.getKeys=ml.prototype.C,ml.prototype.getProperties=ml.prototype.D,ml.prototype.set=ml.prototype.set,ml.prototype.setProperties=ml.prototype.t,ml.prototype.unset=ml.prototype.I,ml.prototype.changed=ml.prototype.k,ml.prototype.getRevision=ml.prototype.v,ml.prototype.on=ml.prototype.r,ml.prototype.once=ml.prototype.A,ml.prototype.un=ml.prototype.u,ml.prototype.unByKey=ml.prototype.B,xl.prototype.getFirstCoordinate=xl.prototype.ob,xl.prototype.getLastCoordinate=xl.prototype.pb,xl.prototype.getLayout=xl.prototype.qb,xl.prototype.applyTransform=xl.prototype.qa,xl.prototype.translate=xl.prototype.Oa,xl.prototype.getClosestPoint=xl.prototype.e,xl.prototype.getExtent=xl.prototype.G,xl.prototype.get=xl.prototype.get,xl.prototype.getKeys=xl.prototype.C,xl.prototype.getProperties=xl.prototype.D,xl.prototype.set=xl.prototype.set,xl.prototype.setProperties=xl.prototype.t,xl.prototype.unset=xl.prototype.I,xl.prototype.changed=xl.prototype.k,xl.prototype.getRevision=xl.prototype.v,xl.prototype.on=xl.prototype.r,xl.prototype.once=xl.prototype.A,xl.prototype.un=xl.prototype.u,xl.prototype.unByKey=xl.prototype.B,Ml.prototype.getFirstCoordinate=Ml.prototype.ob,Ml.prototype.getLastCoordinate=Ml.prototype.pb,Ml.prototype.getLayout=Ml.prototype.qb,Ml.prototype.applyTransform=Ml.prototype.qa,Ml.prototype.translate=Ml.prototype.Oa,Ml.prototype.getClosestPoint=Ml.prototype.e,Ml.prototype.getExtent=Ml.prototype.G,Ml.prototype.get=Ml.prototype.get,Ml.prototype.getKeys=Ml.prototype.C,Ml.prototype.getProperties=Ml.prototype.D,Ml.prototype.set=Ml.prototype.set,Ml.prototype.setProperties=Ml.prototype.t,Ml.prototype.unset=Ml.prototype.I,Ml.prototype.changed=Ml.prototype.k,Ml.prototype.getRevision=Ml.prototype.v,Ml.prototype.on=Ml.prototype.r,Ml.prototype.once=Ml.prototype.A,Ml.prototype.un=Ml.prototype.u,Ml.prototype.unByKey=Ml.prototype.B,Pl.prototype.getFirstCoordinate=Pl.prototype.ob,Pl.prototype.getLastCoordinate=Pl.prototype.pb,Pl.prototype.getLayout=Pl.prototype.qb,Pl.prototype.applyTransform=Pl.prototype.qa,Pl.prototype.translate=Pl.prototype.Oa,Pl.prototype.getClosestPoint=Pl.prototype.e,Pl.prototype.getExtent=Pl.prototype.G,Pl.prototype.get=Pl.prototype.get,Pl.prototype.getKeys=Pl.prototype.C,Pl.prototype.getProperties=Pl.prototype.D,Pl.prototype.set=Pl.prototype.set,Pl.prototype.setProperties=Pl.prototype.t,Pl.prototype.unset=Pl.prototype.I,Pl.prototype.changed=Pl.prototype.k,Pl.prototype.getRevision=Pl.prototype.v,Pl.prototype.on=Pl.prototype.r,Pl.prototype.once=Pl.prototype.A,Pl.prototype.un=Pl.prototype.u,Pl.prototype.unByKey=Pl.prototype.B,Ta.prototype.getFirstCoordinate=Ta.prototype.ob,Ta.prototype.getLastCoordinate=Ta.prototype.pb,Ta.prototype.getLayout=Ta.prototype.qb,Ta.prototype.applyTransform=Ta.prototype.qa,Ta.prototype.translate=Ta.prototype.Oa,Ta.prototype.getClosestPoint=Ta.prototype.e,Ta.prototype.getExtent=Ta.prototype.G,Ta.prototype.get=Ta.prototype.get,Ta.prototype.getKeys=Ta.prototype.C,Ta.prototype.getProperties=Ta.prototype.D,Ta.prototype.set=Ta.prototype.set,Ta.prototype.setProperties=Ta.prototype.t,Ta.prototype.unset=Ta.prototype.I,Ta.prototype.changed=Ta.prototype.k,Ta.prototype.getRevision=Ta.prototype.v,Ta.prototype.on=Ta.prototype.r,Ta.prototype.once=Ta.prototype.A,Ta.prototype.un=Ta.prototype.u,Ta.prototype.unByKey=Ta.prototype.B,Fa.prototype.getFirstCoordinate=Fa.prototype.ob,Fa.prototype.getLastCoordinate=Fa.prototype.pb,Fa.prototype.getLayout=Fa.prototype.qb,Fa.prototype.applyTransform=Fa.prototype.qa,Fa.prototype.translate=Fa.prototype.Oa,Fa.prototype.getClosestPoint=Fa.prototype.e,Fa.prototype.getExtent=Fa.prototype.G,Fa.prototype.get=Fa.prototype.get,Fa.prototype.getKeys=Fa.prototype.C,Fa.prototype.getProperties=Fa.prototype.D,Fa.prototype.set=Fa.prototype.set,Fa.prototype.setProperties=Fa.prototype.t,Fa.prototype.unset=Fa.prototype.I,Fa.prototype.changed=Fa.prototype.k,Fa.prototype.getRevision=Fa.prototype.v,Fa.prototype.on=Fa.prototype.r,Fa.prototype.once=Fa.prototype.A,Fa.prototype.un=Fa.prototype.u,Fa.prototype.unByKey=Fa.prototype.B,$f.prototype.readFeatures=$f.prototype.ja,Gf.prototype.readFeatures=Gf.prototype.ja,Gf.prototype.readFeatures=Gf.prototype.ja,Ji.prototype.get=Ji.prototype.get,Ji.prototype.getKeys=Ji.prototype.C,Ji.prototype.getProperties=Ji.prototype.D,Ji.prototype.set=Ji.prototype.set,Ji.prototype.setProperties=Ji.prototype.t,Ji.prototype.unset=Ji.prototype.I,Ji.prototype.changed=Ji.prototype.k,Ji.prototype.getRevision=Ji.prototype.v,Ji.prototype.on=Ji.prototype.r,Ji.prototype.once=Ji.prototype.A,Ji.prototype.un=Ji.prototype.u,Ji.prototype.unByKey=Ji.prototype.B,Rn.prototype.getMap=Rn.prototype.e,Rn.prototype.setMap=Rn.prototype.setMap,Rn.prototype.setTarget=Rn.prototype.c,Rn.prototype.get=Rn.prototype.get,Rn.prototype.getKeys=Rn.prototype.C,Rn.prototype.getProperties=Rn.prototype.D,Rn.prototype.set=Rn.prototype.set,Rn.prototype.setProperties=Rn.prototype.t,Rn.prototype.unset=Rn.prototype.I,Rn.prototype.changed=Rn.prototype.k,Rn.prototype.getRevision=Rn.prototype.v,Rn.prototype.on=Rn.prototype.r,Rn.prototype.once=Rn.prototype.A,Rn.prototype.un=Rn.prototype.u,Rn.prototype.unByKey=Rn.prototype.B,Gn.prototype.getMap=Gn.prototype.e,Gn.prototype.setMap=Gn.prototype.setMap,Gn.prototype.setTarget=Gn.prototype.c,Gn.prototype.get=Gn.prototype.get,Gn.prototype.getKeys=Gn.prototype.C,Gn.prototype.getProperties=Gn.prototype.D,Gn.prototype.set=Gn.prototype.set,Gn.prototype.setProperties=Gn.prototype.t,Gn.prototype.unset=Gn.prototype.I,Gn.prototype.changed=Gn.prototype.k,Gn.prototype.getRevision=Gn.prototype.v,Gn.prototype.on=Gn.prototype.r,Gn.prototype.once=Gn.prototype.A,Gn.prototype.un=Gn.prototype.u,Gn.prototype.unByKey=Gn.prototype.B,qn.prototype.getMap=qn.prototype.e,qn.prototype.setTarget=qn.prototype.c,qn.prototype.get=qn.prototype.get,qn.prototype.getKeys=qn.prototype.C,qn.prototype.getProperties=qn.prototype.D,qn.prototype.set=qn.prototype.set,qn.prototype.setProperties=qn.prototype.t,qn.prototype.unset=qn.prototype.I,qn.prototype.changed=qn.prototype.k,qn.prototype.getRevision=qn.prototype.v,qn.prototype.on=qn.prototype.r,qn.prototype.once=qn.prototype.A,qn.prototype.un=qn.prototype.u,qn.prototype.unByKey=qn.prototype.B,Oc.prototype.getMap=Oc.prototype.e,Oc.prototype.setTarget=Oc.prototype.c,Oc.prototype.get=Oc.prototype.get,Oc.prototype.getKeys=Oc.prototype.C,Oc.prototype.getProperties=Oc.prototype.D,Oc.prototype.set=Oc.prototype.set,Oc.prototype.setProperties=Oc.prototype.t,Oc.prototype.unset=Oc.prototype.I,Oc.prototype.changed=Oc.prototype.k,Oc.prototype.getRevision=Oc.prototype.v,Oc.prototype.on=Oc.prototype.r,Oc.prototype.once=Oc.prototype.A,Oc.prototype.un=Oc.prototype.u,Oc.prototype.unByKey=Oc.prototype.B,Nn.prototype.getMap=Nn.prototype.e,Nn.prototype.setMap=Nn.prototype.setMap,Nn.prototype.setTarget=Nn.prototype.c,Nn.prototype.get=Nn.prototype.get,Nn.prototype.getKeys=Nn.prototype.C,Nn.prototype.getProperties=Nn.prototype.D,Nn.prototype.set=Nn.prototype.set,Nn.prototype.setProperties=Nn.prototype.t,Nn.prototype.unset=Nn.prototype.I,Nn.prototype.changed=Nn.prototype.k,Nn.prototype.getRevision=Nn.prototype.v,Nn.prototype.on=Nn.prototype.r,Nn.prototype.once=Nn.prototype.A,Nn.prototype.un=Nn.prototype.u,Nn.prototype.unByKey=Nn.prototype.B,$c.prototype.getMap=$c.prototype.e,$c.prototype.setMap=$c.prototype.setMap,$c.prototype.setTarget=$c.prototype.c,$c.prototype.get=$c.prototype.get,$c.prototype.getKeys=$c.prototype.C,$c.prototype.getProperties=$c.prototype.D,$c.prototype.set=$c.prototype.set,$c.prototype.setProperties=$c.prototype.t,$c.prototype.unset=$c.prototype.I,$c.prototype.changed=$c.prototype.k,$c.prototype.getRevision=$c.prototype.v,$c.prototype.on=$c.prototype.r,$c.prototype.once=$c.prototype.A,$c.prototype.un=$c.prototype.u,$c.prototype.unByKey=$c.prototype.B,Dn.prototype.getMap=Dn.prototype.e,Dn.prototype.setMap=Dn.prototype.setMap,Dn.prototype.setTarget=Dn.prototype.c,Dn.prototype.get=Dn.prototype.get,Dn.prototype.getKeys=Dn.prototype.C,Dn.prototype.getProperties=Dn.prototype.D,Dn.prototype.set=Dn.prototype.set,Dn.prototype.setProperties=Dn.prototype.t,Dn.prototype.unset=Dn.prototype.I,Dn.prototype.changed=Dn.prototype.k,Dn.prototype.getRevision=Dn.prototype.v,Dn.prototype.on=Dn.prototype.r,Dn.prototype.once=Dn.prototype.A,Dn.prototype.un=Dn.prototype.u,Dn.prototype.unByKey=Dn.prototype.B,tf.prototype.getMap=tf.prototype.e,tf.prototype.setTarget=tf.prototype.c,tf.prototype.get=tf.prototype.get,tf.prototype.getKeys=tf.prototype.C,tf.prototype.getProperties=tf.prototype.D,tf.prototype.set=tf.prototype.set,tf.prototype.setProperties=tf.prototype.t,tf.prototype.unset=tf.prototype.I,tf.prototype.changed=tf.prototype.k,tf.prototype.getRevision=tf.prototype.v,tf.prototype.on=tf.prototype.r,tf.prototype.once=tf.prototype.A,tf.prototype.un=tf.prototype.u,tf.prototype.unByKey=tf.prototype.B,rf.prototype.getMap=rf.prototype.e,rf.prototype.setMap=rf.prototype.setMap,rf.prototype.setTarget=rf.prototype.c,rf.prototype.get=rf.prototype.get,rf.prototype.getKeys=rf.prototype.C,rf.prototype.getProperties=rf.prototype.D,rf.prototype.set=rf.prototype.set,rf.prototype.setProperties=rf.prototype.t,rf.prototype.unset=rf.prototype.I,rf.prototype.changed=rf.prototype.k,rf.prototype.getRevision=rf.prototype.v,rf.prototype.on=rf.prototype.r,rf.prototype.once=rf.prototype.A,rf.prototype.un=rf.prototype.u,rf.prototype.unByKey=rf.prototype.B,nm.ol});var map,extent,overlays=[],vectorSource=new ol.source.Vector,lastClick,popupOverlay,vectorLayer,moveFunction=function(){var t=$("#search input[name=q]").val();if(""!==t){updateMapExtent();var t=$("#search input[name=q]").val();t=encodeURI(t),$("#clearInput").html('<img src="/img/ajax-loader.gif" />');var e="/"+t+"/"+encodeURI(extent[0])+"/"+encodeURI(extent[1])+"/"+encodeURI(extent[2])+"/"+encodeURI(extent[3]+"/"+!1+"/50");$.getScript(e)}};$(document).ready(function(){initMap(),$("#closer").click(function(){toggleResults()}),map.on("singleclick",function(t){var e=t.coordinate;lastClick=e}),$(window).resize(function(){updateResultsPosition(),updateCloserPosition()})});var options={enableHighAccuracy:!0,timeout:5e3,maximumAge:0};$(document).ready(function(){!boundings&&getPosition&&receiveLocation(),boundings&&adjustViewBoundingBox(minPos,maxPos),$("#clearInput").click(function(){$("#search input[name=q]").val(""),$("#search input[name=q]").focus(),clearPOIS(),$("#results").addClass("hidden"),$.each(overlays,function(t,e){map.removeOverlay(e),$("#popup-closer").click()})}),$("#search input[name=q]").on("keydown",function(t){13==t.which&&$("#doSearch").click()}),$("#doSearch").click(function(){updateMapExtent();var t=$("#search input[name=q]").val();t=encodeURI(t),$("#clearInput").html('<img src="/img/ajax-loader.gif" />');var e="/"+t+"/"+encodeURI(extent[0])+"/"+encodeURI(extent[1])+"/"+encodeURI(extent[2])+"/"+encodeURI(extent[3]);$.getScript(e).fail(function(t,e,o){}),$("#search input[name=q]").blur()})}); \ No newline at end of file diff --git a/resources/assets/js/map.js b/resources/assets/js/map.js index e76703d9b44236a5524e9d555cef4c19d1ab77e6..98cbc2f68402ce404d97ccd6c2dadc061603be3a 100644 --- a/resources/assets/js/map.js +++ b/resources/assets/js/map.js @@ -5,6 +5,17 @@ var vectorSource = new ol.source.Vector(); var lastClick; var popupOverlay; var vectorLayer; +var moveFunction = function(){ + var q = $("#search input[name=q]").val(); + if(q !== ""){ + updateMapExtent(); + var q = $("#search input[name=q]").val(); + q = encodeURI(q); + $("#clearInput").html("<img src=\"/img/ajax-loader.gif\" />"); + var url = '/' + q + '/' + encodeURI(extent[0]) + '/' + encodeURI(extent[1]) + '/' + encodeURI(extent[2]) + '/' + encodeURI(extent[3]+'/'+false+'/50'); + $.getScript(url); + } + } $(document).ready(function() { // Initialize the Map initMap(); @@ -169,4 +180,4 @@ function addMarker(el, pos){ map.addOverlay(overlay); overlays.push(overlay); -} \ No newline at end of file +} diff --git a/resources/assets/js/mapSearch.js b/resources/assets/js/mapSearch.js index 3d064899b9f9ac86397c87ef210bb8e2078c8fdb..59d2128796f54d61fcdc4629a2420abd1b60b4ce 100644 --- a/resources/assets/js/mapSearch.js +++ b/resources/assets/js/mapSearch.js @@ -80,15 +80,3 @@ function initMap() { return false; }); } - -var moveFunction = function(){ - var q = $("#search input[name=q]").val(); - if(q !== ""){ - updateMapExtent(); - var q = $("#search input[name=q]").val(); - q = encodeURI(q); - $("#clearInput").html("<img src=\"/img/ajax-loader.gif\" />"); - var url = '/' + q + '/' + encodeURI(extent[0]) + '/' + encodeURI(extent[1]) + '/' + encodeURI(extent[2]) + '/' + encodeURI(extent[3]+'/'+false+'/50'); - $.getScript(url); - } - } \ No newline at end of file diff --git a/resources/views/map.blade.php b/resources/views/map.blade.php index 72a88aa6430369c63763e4189904a4bbef67787f..ed08eb5957c77e80cc699a8000f4c1903e360fff 100644 --- a/resources/views/map.blade.php +++ b/resources/views/map.blade.php @@ -76,6 +76,7 @@ </div> <div class="col-xs-11 col-sm-6 col-md-3 hidden" data-status="in" id="results"> </div> + <div class="follow-location visible-xs"></div> </main> <script> var boundings = {{$boundings}}; diff --git a/resources/views/searchResults.blade.php b/resources/views/searchResults.blade.php index cc1c5ea533b239a7c3f40dc221d586a73a9f8627..d638e7d8fc019bb869e2896f4eeb68a209e0204d 100644 --- a/resources/views/searchResults.blade.php +++ b/resources/views/searchResults.blade.php @@ -126,11 +126,10 @@ adjustView(searchResults); $(".collapse").collapse("hide"); $("#clearInput").html('<span class="font-bold">X</span>'); -// Add the research function after the map moved -map.on("moveend", moveFunction, map); - @if($adjustLink) var stateObj = { url: '/{{$search . "/" . $bounds[0] . "/" . $bounds[1] . "/" . $bounds[2] . "/" . $bounds[3]}}'}; // Change URL window.history.pushState(stateObj, '', '/map/{{$search . "/" . $bounds[0] . "/" . $bounds[1] . "/" . $bounds[2] . "/" . $bounds[3]}}'); +// Add the research function after the map moved +map.on("moveend", moveFunction, map); @endif