Add ol.Map#un function to custom build

This commit is contained in:
Jacob Mendt 2015-08-28 13:30:34 +02:00
parent bc240411d0
commit 4ceb83bb03
2 changed files with 82 additions and 81 deletions

View File

@ -2,12 +2,12 @@
// License: https://raw.githubusercontent.com/openlayers/ol3/master/LICENSE.md
// Version: v3.8.2-57-g61f4932
(function(){var l,aa=aa||{},n=this;function v(b){return void 0!==b}function da(){}function ea(b){b.ka=function(){return b.gc?b.gc:b.gc=new b}}
(function(){var l,aa=aa||{},n=this;function v(b){return void 0!==b}function ba(){}function ea(b){b.ka=function(){return b.gc?b.gc:b.gc=new b}}
function fa(b){var c=typeof b;if("object"==c)if(b){if(b instanceof Array)return"array";if(b instanceof Object)return c;var d=Object.prototype.toString.call(b);if("[object Window]"==d)return"object";if("[object Array]"==d||"number"==typeof b.length&&"undefined"!=typeof b.splice&&"undefined"!=typeof b.propertyIsEnumerable&&!b.propertyIsEnumerable("splice"))return"array";if("[object Function]"==d||"undefined"!=typeof b.call&&"undefined"!=typeof b.propertyIsEnumerable&&!b.propertyIsEnumerable("call"))return"function"}else return"null";
else if("function"==c&&"undefined"==typeof b.call)return"object";return c}function ga(b){return null!=b}function ha(b){return"array"==fa(b)}function ia(b){var c=fa(b);return"array"==c||"object"==c&&"number"==typeof b.length}function z(b){return"string"==typeof b}function ka(b){return"number"==typeof b}function la(b){return"function"==fa(b)}function ma(b){var c=typeof b;return"object"==c&&null!=b||"function"==c}function C(b){return b[na]||(b[na]=++oa)}
var na="closure_uid_"+(1E9*Math.random()>>>0),oa=0;function pa(b,c,d){return b.call.apply(b.bind,arguments)}function qa(b,c,d){if(!b)throw Error();if(2<arguments.length){var e=Array.prototype.slice.call(arguments,2);return function(){var d=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(d,e);return b.apply(c,d)}}return function(){return b.apply(c,arguments)}}
function E(b,c,d){E=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?pa:qa;return E.apply(null,arguments)}function ra(b,c){var d=Array.prototype.slice.call(arguments,1);return function(){var c=d.slice();c.push.apply(c,arguments);return b.apply(this,c)}}var sa=Date.now||function(){return+new Date};
function F(b,c){var d=b.split("."),e=n;d[0]in e||!e.execScript||e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)!d.length&&v(c)?e[f]=c:e[f]?e=e[f]:e=e[f]={}}function G(b,c){function d(){}d.prototype=c.prototype;b.L=c.prototype;b.prototype=new d;b.prototype.constructor=b;b.qe=function(b,d,h){for(var g=Array(arguments.length-2),k=2;k<arguments.length;k++)g[k-2]=arguments[k];return c.prototype[d].apply(b,g)}};var ta;var ua;var va=String.prototype.trim?function(b){return b.trim()}:function(b){return b.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function wa(b){if(!xa.test(b))return b;-1!=b.indexOf("&")&&(b=b.replace(ya,"&amp;"));-1!=b.indexOf("<")&&(b=b.replace(za,"&lt;"));-1!=b.indexOf(">")&&(b=b.replace(Aa,"&gt;"));-1!=b.indexOf('"')&&(b=b.replace(Ba,"&quot;"));-1!=b.indexOf("'")&&(b=b.replace(Ca,"&#39;"));-1!=b.indexOf("\x00")&&(b=b.replace(Da,"&#0;"));return b}var ya=/&/g,za=/</g,Aa=/>/g,Ba=/"/g,Ca=/'/g,Da=/\x00/g,xa=/[\x00&<>"']/;
function F(b,c){var d=b.split("."),e=n;d[0]in e||!e.execScript||e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)!d.length&&v(c)?e[f]=c:e[f]?e=e[f]:e=e[f]={}}function G(b,c){function d(){}d.prototype=c.prototype;b.L=c.prototype;b.prototype=new d;b.prototype.constructor=b;b.re=function(b,d,h){for(var g=Array(arguments.length-2),k=2;k<arguments.length;k++)g[k-2]=arguments[k];return c.prototype[d].apply(b,g)}};var ta;var ua;var va=String.prototype.trim?function(b){return b.trim()}:function(b){return b.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};function wa(b){if(!xa.test(b))return b;-1!=b.indexOf("&")&&(b=b.replace(ya,"&amp;"));-1!=b.indexOf("<")&&(b=b.replace(za,"&lt;"));-1!=b.indexOf(">")&&(b=b.replace(Aa,"&gt;"));-1!=b.indexOf('"')&&(b=b.replace(Ba,"&quot;"));-1!=b.indexOf("'")&&(b=b.replace(Ca,"&#39;"));-1!=b.indexOf("\x00")&&(b=b.replace(Da,"&#0;"));return b}var ya=/&/g,za=/</g,Aa=/>/g,Ba=/"/g,Ca=/'/g,Da=/\x00/g,xa=/[\x00&<>"']/;
function Ea(b,c){return b<c?-1:b>c?1:0};var Fa=Array.prototype,Ha=Fa.indexOf?function(b,c,d){return Fa.indexOf.call(b,c,d)}:function(b,c,d){d=null==d?0:0>d?Math.max(0,b.length+d):d;if(z(b))return z(c)&&1==c.length?b.indexOf(c,d):-1;for(;d<b.length;d++)if(d in b&&b[d]===c)return d;return-1},J=Fa.forEach?function(b,c,d){Fa.forEach.call(b,c,d)}:function(b,c,d){for(var e=b.length,f=z(b)?b.split(""):b,h=0;h<e;h++)h in f&&c.call(d,f[h],h,b)},Ia=Fa.filter?function(b,c,d){return Fa.filter.call(b,c,d)}:function(b,c,d){for(var e=b.length,f=[],h=
0,g=z(b)?b.split(""):b,k=0;k<e;k++)if(k in g){var m=g[k];c.call(d,m,k,b)&&(f[h++]=m)}return f},Ja=Fa.map?function(b,c,d){return Fa.map.call(b,c,d)}:function(b,c,d){for(var e=b.length,f=Array(e),h=z(b)?b.split(""):b,g=0;g<e;g++)g in h&&(f[g]=c.call(d,h[g],g,b));return f};function Ka(b){var c;a:{c=La;for(var d=b.length,e=z(b)?b.split(""):b,f=0;f<d;f++)if(f in e&&c.call(void 0,e[f],f,b)){c=f;break a}c=-1}return 0>c?null:z(b)?b.charAt(c):b[c]}
function Ma(b,c){var d=Ha(b,c),e;(e=0<=d)&&Fa.splice.call(b,d,1);return e}function Na(b){var c=b.length;if(0<c){for(var d=Array(c),e=0;e<c;e++)d[e]=b[e];return d}return[]}function Oa(b,c){for(var d=1;d<arguments.length;d++){var e=arguments[d];if(ia(e)){var f=b.length||0,h=e.length||0;b.length=f+h;for(var g=0;g<h;g++)b[f+g]=e[g]}else b.push(e)}}function Pa(b,c,d,e){Fa.splice.apply(b,Qa(arguments,1))}function Qa(b,c,d){return 2>=arguments.length?Fa.slice.call(b,c):Fa.slice.call(b,c,d)}
@ -16,11 +16,11 @@ function hb(b){var c={},d;for(d in b)c[d]=b[d];return c}var ib="constructor hasO
function kb(b){var c=arguments.length;if(1==c&&ha(arguments[0]))return kb.apply(null,arguments[0]);for(var d={},e=0;e<c;e++)d[arguments[e]]=!0;return d};var lb=Ya("Opera")||Ya("OPR"),K=Ya("Trident")||Ya("MSIE"),mb=Ya("Gecko")&&-1==Va.toLowerCase().indexOf("webkit")&&!(Ya("Trident")||Ya("MSIE")),M=-1!=Va.toLowerCase().indexOf("webkit"),nb=Ya("Macintosh"),ob=Ya("Windows"),pb=Ya("Linux")||Ya("CrOS");function qb(){var b=n.document;return b?b.documentMode:void 0}
var rb=function(){var b="",c;if(lb&&n.opera)return b=n.opera.version,la(b)?b():b;mb?c=/rv\:([^\);]+)(\)|;)/:K?c=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:M&&(c=/WebKit\/(\S+)/);c&&(b=(b=c.exec(Va))?b[1]:"");return K&&(c=qb(),c>parseFloat(b))?String(c):b}(),sb={};
function tb(b){var c;if(!(c=sb[b])){c=0;for(var d=va(String(rb)).split("."),e=va(String(b)).split("."),f=Math.max(d.length,e.length),h=0;0==c&&h<f;h++){var g=d[h]||"",k=e[h]||"",m=RegExp("(\\d*)(\\D*)","g"),p=RegExp("(\\d*)(\\D*)","g");do{var q=m.exec(g)||["","",""],r=p.exec(k)||["","",""];if(0==q[0].length&&0==r[0].length)break;c=Ea(0==q[1].length?0:parseInt(q[1],10),0==r[1].length?0:parseInt(r[1],10))||Ea(0==q[2].length,0==r[2].length)||Ea(q[2],r[2])}while(0==c)}c=sb[b]=0<=c}return c}
var ub=n.document,vb=ub&&K?qb()||("CSS1Compat"==ub.compatMode?parseInt(rb,10):5):void 0;K&&tb("9.0");function wb(b,c,d){return Math.min(Math.max(b,c),d)};function xb(b){return function(c){if(v(c))return[wb(c[0],b[0],b[2]),wb(c[1],b[1],b[3])]}}function yb(b){return b};function zb(b,c,d){var e=b.length;if(b[0]<=c)return 0;if(!(c<=b[e-1]))if(0<d)for(d=1;d<e;++d){if(b[d]<c)return d-1}else if(0>d)for(d=1;d<e;++d){if(b[d]<=c)return d}else for(d=1;d<e;++d){if(b[d]==c)return d;if(b[d]<c)return b[d-1]-c<c-b[d]?d-1:d}return e-1};function Ab(b){return function(c,d,e){if(v(c))return c=zb(b,c,e),c=wb(c+d,0,b.length-1),b[c]}}function Bb(b,c,d){return function(e,f,h){if(v(e))return h=0<h?0:0>h?1:.5,e=Math.floor(Math.log(c/e)/Math.log(b)+h),f=Math.max(e+f,0),v(d)&&(f=Math.min(f,d)),c/Math.pow(b,f)}};function Cb(b){if(v(b))return 0}function Db(b,c){if(v(b))return b+c}function Eb(b){var c=2*Math.PI/b;return function(b,e){if(v(b))return b=Math.floor((b+e)/c+.5)*c}}function Fb(){var b=5*Math.PI/180;return function(c,d){if(v(c))return Math.abs(c+d)<=b?0:c+d}};function Gb(b,c,d){this.center=b;this.resolution=c;this.rotation=d};var Hb=!K||K&&9<=vb,Ib=!K||K&&9<=vb,Jb=K&&!tb("9");!M||tb("528");mb&&tb("1.9b")||K&&tb("8")||lb&&tb("9.5")||M&&tb("528");mb&&!tb("8")||K&&tb("9");function Kb(){0!=Lb&&(Mb[C(this)]=this);this.w=this.w;this.o=this.o}var Lb=0,Mb={};Kb.prototype.w=!1;Kb.prototype.Wb=function(){if(!this.w&&(this.w=!0,this.H(),0!=Lb)){var b=C(this);delete Mb[b]}};function Nb(b,c){var d=ra(Ob,c);b.w?d.call(void 0):(b.o||(b.o=[]),b.o.push(v(void 0)?E(d,void 0):d))}Kb.prototype.H=function(){if(this.o)for(;this.o.length;)this.o.shift()()};function Ob(b){b&&"function"==typeof b.Wb&&b.Wb()};function N(b,c){this.type=b;this.f=this.target=c;this.g=!1;this.rc=!0}N.prototype.Ia=function(){this.g=!0};N.prototype.preventDefault=function(){this.rc=!1};function Pb(b){b.Ia()};var Qb=K?"focusout":"DOMFocusOut";function Rb(b){Rb[" "](b);return b}Rb[" "]=da;function Sb(b,c){N.call(this,b?b.type:"");this.relatedTarget=this.f=this.target=null;this.h=this.c=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.i=this.o=this.b=this.j=!1;this.state=null;this.w=!1;this.a=null;if(b){this.a=b;var d=this.type=b.type;this.target=b.target||b.srcElement;this.f=c;var e=b.relatedTarget;if(e){if(mb){var f;a:{try{Rb(e.nodeName);f=!0;break a}catch(h){}f=!1}f||(e=null)}}else"mouseover"==d?e=b.fromElement:"mouseout"==d&&(e=b.toElement);
this.relatedTarget=e;Object.defineProperties?Object.defineProperties(this,{offsetX:{configurable:!0,enumerable:!0,get:this.ac,set:this.Wd},offsetY:{configurable:!0,enumerable:!0,get:this.bc,set:this.Xd}}):(this.offsetX=this.ac(),this.offsetY=this.bc());this.clientX=void 0!==b.clientX?b.clientX:b.pageX;this.clientY=void 0!==b.clientY?b.clientY:b.pageY;this.screenX=b.screenX||0;this.screenY=b.screenY||0;this.button=b.button;this.c=b.keyCode||0;this.h=b.charCode||("keypress"==d?b.keyCode:0);this.j=b.ctrlKey;
var ub=n.document,vb=ub&&K?qb()||("CSS1Compat"==ub.compatMode?parseInt(rb,10):5):void 0;K&&tb("9.0");function wb(b,c,d){return Math.min(Math.max(b,c),d)};function xb(b){return function(c){if(v(c))return[wb(c[0],b[0],b[2]),wb(c[1],b[1],b[3])]}}function yb(b){return b};function zb(b,c,d){var e=b.length;if(b[0]<=c)return 0;if(!(c<=b[e-1]))if(0<d)for(d=1;d<e;++d){if(b[d]<c)return d-1}else if(0>d)for(d=1;d<e;++d){if(b[d]<=c)return d}else for(d=1;d<e;++d){if(b[d]==c)return d;if(b[d]<c)return b[d-1]-c<c-b[d]?d-1:d}return e-1};function Ab(b){return function(c,d,e){if(v(c))return c=zb(b,c,e),c=wb(c+d,0,b.length-1),b[c]}}function Bb(b,c,d){return function(e,f,h){if(v(e))return h=0<h?0:0>h?1:.5,e=Math.floor(Math.log(c/e)/Math.log(b)+h),f=Math.max(e+f,0),v(d)&&(f=Math.min(f,d)),c/Math.pow(b,f)}};function Cb(b){if(v(b))return 0}function Db(b,c){if(v(b))return b+c}function Eb(b){var c=2*Math.PI/b;return function(b,e){if(v(b))return b=Math.floor((b+e)/c+.5)*c}}function Fb(){var b=5*Math.PI/180;return function(c,d){if(v(c))return Math.abs(c+d)<=b?0:c+d}};function Gb(b,c,d){this.center=b;this.resolution=c;this.rotation=d};var Hb=!K||K&&9<=vb,Ib=!K||K&&9<=vb,Jb=K&&!tb("9");!M||tb("528");mb&&tb("1.9b")||K&&tb("8")||lb&&tb("9.5")||M&&tb("528");mb&&!tb("8")||K&&tb("9");function Kb(){0!=Lb&&(Mb[C(this)]=this);this.w=this.w;this.o=this.o}var Lb=0,Mb={};Kb.prototype.w=!1;Kb.prototype.Wb=function(){if(!this.w&&(this.w=!0,this.H(),0!=Lb)){var b=C(this);delete Mb[b]}};function Nb(b,c){var d=ra(Ob,c);b.w?d.call(void 0):(b.o||(b.o=[]),b.o.push(v(void 0)?E(d,void 0):d))}Kb.prototype.H=function(){if(this.o)for(;this.o.length;)this.o.shift()()};function Ob(b){b&&"function"==typeof b.Wb&&b.Wb()};function N(b,c){this.type=b;this.f=this.target=c;this.g=!1;this.rc=!0}N.prototype.Ia=function(){this.g=!0};N.prototype.preventDefault=function(){this.rc=!1};function Pb(b){b.Ia()};var Qb=K?"focusout":"DOMFocusOut";function Rb(b){Rb[" "](b);return b}Rb[" "]=ba;function Sb(b,c){N.call(this,b?b.type:"");this.relatedTarget=this.f=this.target=null;this.h=this.c=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.i=this.o=this.b=this.j=!1;this.state=null;this.w=!1;this.a=null;if(b){this.a=b;var d=this.type=b.type;this.target=b.target||b.srcElement;this.f=c;var e=b.relatedTarget;if(e){if(mb){var f;a:{try{Rb(e.nodeName);f=!0;break a}catch(h){}f=!1}f||(e=null)}}else"mouseover"==d?e=b.fromElement:"mouseout"==d&&(e=b.toElement);
this.relatedTarget=e;Object.defineProperties?Object.defineProperties(this,{offsetX:{configurable:!0,enumerable:!0,get:this.ac,set:this.Xd},offsetY:{configurable:!0,enumerable:!0,get:this.bc,set:this.Yd}}):(this.offsetX=this.ac(),this.offsetY=this.bc());this.clientX=void 0!==b.clientX?b.clientX:b.pageX;this.clientY=void 0!==b.clientY?b.clientY:b.pageY;this.screenX=b.screenX||0;this.screenY=b.screenY||0;this.button=b.button;this.c=b.keyCode||0;this.h=b.charCode||("keypress"==d?b.keyCode:0);this.j=b.ctrlKey;
this.b=b.altKey;this.o=b.shiftKey;this.i=b.metaKey;this.w=nb?b.metaKey:b.ctrlKey;this.state=b.state;b.defaultPrevented&&this.preventDefault()}}G(Sb,N);var Tb=[1,4,2];function Ub(b){return(Hb?0==b.a.button:"click"==b.type?!0:!!(b.a.button&Tb[0]))&&!(M&&nb&&b.j)}l=Sb.prototype;l.Ia=function(){Sb.L.Ia.call(this);this.a.stopPropagation?this.a.stopPropagation():this.a.cancelBubble=!0};
l.preventDefault=function(){Sb.L.preventDefault.call(this);var b=this.a;if(b.preventDefault)b.preventDefault();else if(b.returnValue=!1,Jb)try{if(b.ctrlKey||112<=b.keyCode&&123>=b.keyCode)b.keyCode=-1}catch(c){}};l.Ic=function(){return this.a};l.ac=function(){return M||void 0!==this.a.offsetX?this.a.offsetX:this.a.layerX};l.Wd=function(b){Object.defineProperties(this,{offsetX:{writable:!0,enumerable:!0,configurable:!0,value:b}})};l.bc=function(){return M||void 0!==this.a.offsetY?this.a.offsetY:this.a.layerY};
l.Xd=function(b){Object.defineProperties(this,{offsetY:{writable:!0,enumerable:!0,configurable:!0,value:b}})};var Vb="closure_listenable_"+(1E6*Math.random()|0);function Wb(b){return!(!b||!b[Vb])}var Xb=0;function Yb(b,c,d,e,f){this.listener=b;this.a=null;this.src=c;this.type=d;this.Ma=!!e;this.lb=f;this.key=++Xb;this.La=this.cb=!1}function Zb(b){b.La=!0;b.listener=null;b.a=null;b.src=null;b.lb=null};function $b(b){this.src=b;this.a={};this.b=0}$b.prototype.add=function(b,c,d,e,f){var h=b.toString();b=this.a[h];b||(b=this.a[h]=[],this.b++);var g=ac(b,c,e,f);-1<g?(c=b[g],d||(c.cb=!1)):(c=new Yb(c,this.src,h,!!e,f),c.cb=d,b.push(c));return c};$b.prototype.remove=function(b,c,d,e){b=b.toString();if(!(b in this.a))return!1;var f=this.a[b];c=ac(f,c,d,e);return-1<c?(Zb(f[c]),Fa.splice.call(f,c,1),0==f.length&&(delete this.a[b],this.b--),!0):!1};
l.preventDefault=function(){Sb.L.preventDefault.call(this);var b=this.a;if(b.preventDefault)b.preventDefault();else if(b.returnValue=!1,Jb)try{if(b.ctrlKey||112<=b.keyCode&&123>=b.keyCode)b.keyCode=-1}catch(c){}};l.Jc=function(){return this.a};l.ac=function(){return M||void 0!==this.a.offsetX?this.a.offsetX:this.a.layerX};l.Xd=function(b){Object.defineProperties(this,{offsetX:{writable:!0,enumerable:!0,configurable:!0,value:b}})};l.bc=function(){return M||void 0!==this.a.offsetY?this.a.offsetY:this.a.layerY};
l.Yd=function(b){Object.defineProperties(this,{offsetY:{writable:!0,enumerable:!0,configurable:!0,value:b}})};var Vb="closure_listenable_"+(1E6*Math.random()|0);function Wb(b){return!(!b||!b[Vb])}var Xb=0;function Yb(b,c,d,e,f){this.listener=b;this.a=null;this.src=c;this.type=d;this.Ma=!!e;this.lb=f;this.key=++Xb;this.La=this.cb=!1}function Zb(b){b.La=!0;b.listener=null;b.a=null;b.src=null;b.lb=null};function $b(b){this.src=b;this.a={};this.b=0}$b.prototype.add=function(b,c,d,e,f){var h=b.toString();b=this.a[h];b||(b=this.a[h]=[],this.b++);var g=ac(b,c,e,f);-1<g?(c=b[g],d||(c.cb=!1)):(c=new Yb(c,this.src,h,!!e,f),c.cb=d,b.push(c));return c};$b.prototype.remove=function(b,c,d,e){b=b.toString();if(!(b in this.a))return!1;var f=this.a[b];c=ac(f,c,d,e);return-1<c?(Zb(f[c]),Fa.splice.call(f,c,1),0==f.length&&(delete this.a[b],this.b--),!0):!1};
function bc(b,c){var d=c.type;if(!(d in b.a))return!1;var e=Ma(b.a[d],c);e&&(Zb(c),0==b.a[d].length&&(delete b.a[d],b.b--));return e}function cc(b,c,d){var e=v(c),f=e?c.toString():"",h=v(d);return $a(b.a,function(b){for(var c=0;c<b.length;++c)if(!(e&&b[c].type!=f||h&&b[c].Ma!=d))return!0;return!1})}function ac(b,c,d,e){for(var f=0;f<b.length;++f){var h=b[f];if(!h.La&&h.listener==c&&h.Ma==!!d&&h.lb==e)return f}return-1};var dc="closure_lm_"+(1E6*Math.random()|0),ec={},fc=0;function Q(b,c,d,e,f){if(ha(c)){for(var h=0;h<c.length;h++)Q(b,c[h],d,e,f);return null}d=gc(d);return Wb(b)?b.ja.add(String(c),d,!1,e,f):hc(b,c,d,!1,e,f)}function hc(b,c,d,e,f,h){if(!c)throw Error("Invalid event type");var g=!!f,k=ic(b);k||(b[dc]=k=new $b(b));d=k.add(c,d,e,f,h);if(d.a)return d;e=jc();d.a=e;e.src=b;e.listener=d;b.addEventListener?b.addEventListener(c.toString(),e,g):b.attachEvent(kc(c.toString()),e);fc++;return d}
function jc(){var b=lc,c=Ib?function(d){return b.call(c.src,c.listener,d)}:function(d){d=b.call(c.src,c.listener,d);if(!d)return d};return c}function mc(b,c,d,e,f){if(ha(c)){for(var h=0;h<c.length;h++)mc(b,c[h],d,e,f);return null}d=gc(d);return Wb(b)?b.ja.add(String(c),d,!0,e,f):hc(b,c,d,!0,e,f)}
function nc(b,c,d,e,f){if(ha(c))for(var h=0;h<c.length;h++)nc(b,c[h],d,e,f);else(d=gc(d),Wb(b))?b.ja.remove(String(c),d,e,f):b&&(b=ic(b))&&(c=b.a[c.toString()],b=-1,c&&(b=ac(c,d,!!e,f)),(d=-1<b?c[b]:null)&&R(d))}function R(b){if(ka(b)||!b||b.La)return!1;var c=b.src;if(Wb(c))return bc(c.ja,b);var d=b.type,e=b.a;c.removeEventListener?c.removeEventListener(d,e,b.Ma):c.detachEvent&&c.detachEvent(kc(d),e);fc--;(d=ic(c))?(bc(d,b),0==d.b&&(d.src=null,c[dc]=null)):Zb(b);return!0}
@ -28,10 +28,10 @@ function kc(b){return b in ec?ec[b]:ec[b]="on"+b}function oc(b,c,d,e){var f=!0;i
function lc(b,c){if(b.La)return!0;if(!Ib){var d;if(!(d=c))a:{d=["window","event"];for(var e=n,f;f=d.shift();)if(null!=e[f])e=e[f];else{d=null;break a}d=e}f=d;d=new Sb(f,this);e=!0;if(!(0>f.keyCode||void 0!=f.returnValue)){a:{var h=!1;if(0==f.keyCode)try{f.keyCode=-1;break a}catch(g){h=!0}if(h||void 0==f.returnValue)f.returnValue=!0}f=[];for(h=d.f;h;h=h.parentNode)f.push(h);for(var h=b.type,k=f.length-1;!d.g&&0<=k;k--){d.f=f[k];var m=oc(f[k],h,!0,d),e=e&&m}for(k=0;!d.g&&k<f.length;k++)d.f=f[k],m=oc(f[k],
h,!1,d),e=e&&m}return e}return pc(b,new Sb(c,this))}function ic(b){b=b[dc];return b instanceof $b?b:null}var qc="__closure_events_fn_"+(1E9*Math.random()>>>0);function gc(b){if(la(b))return b;b[qc]||(b[qc]=function(c){return b.handleEvent(c)});return b[qc]};function S(){Kb.call(this);this.ja=new $b(this);this.na=this;this.N=null}G(S,Kb);S.prototype[Vb]=!0;S.prototype.addEventListener=function(b,c,d,e){Q(this,b,c,d,e)};S.prototype.removeEventListener=function(b,c,d,e){nc(this,b,c,d,e)};
function U(b,c){var d,e=b.N;if(e)for(d=[];e;e=e.N)d.push(e);var e=b.na,f=c,h=f.type||f;if(z(f))f=new N(f,e);else if(f instanceof N)f.target=f.target||e;else{var g=f,f=new N(h,e);jb(f,g)}var g=!0,k;if(d)for(var m=d.length-1;!f.g&&0<=m;m--)k=f.f=d[m],g=rc(k,h,!0,f)&&g;f.g||(k=f.f=e,g=rc(k,h,!0,f)&&g,f.g||(g=rc(k,h,!1,f)&&g));if(d)for(m=0;!f.g&&m<d.length;m++)k=f.f=d[m],g=rc(k,h,!1,f)&&g;return g}
S.prototype.H=function(){S.L.H.call(this);if(this.ja){var b=this.ja,c=0,d;for(d in b.a){for(var e=b.a[d],f=0;f<e.length;f++)++c,Zb(e[f]);delete b.a[d];b.b--}}this.N=null};function rc(b,c,d,e){c=b.ja.a[String(c)];if(!c)return!0;c=c.concat();for(var f=!0,h=0;h<c.length;++h){var g=c[h];if(g&&!g.La&&g.Ma==d){var k=g.listener,m=g.lb||g.src;g.cb&&bc(b.ja,g);f=!1!==k.call(m,e)&&f}}return f&&0!=e.rc}function sc(b,c,d){return cc(b.ja,v(c)?String(c):void 0,d)};function tc(){S.call(this);this.f=0}G(tc,S);function V(b){++b.f;U(b,"change")}tc.prototype.vb=function(b,c,d){return Q(this,b,c,!1,d)};function uc(b,c,d){N.call(this,b);this.key=c;this.oldValue=d}G(uc,N);function W(b){tc.call(this);C(this);this.j={};v(b)&&this.da(b)}G(W,tc);var vc={};function X(b){return vc.hasOwnProperty(b)?vc[b]:vc[b]="change:"+b}W.prototype.get=function(b){var c;this.j.hasOwnProperty(b)&&(c=this.j[b]);return c};W.prototype.wa=function(){return cb(this.j)};W.prototype.set=function(b,c){var d=this.j[b];this.j[b]=c;var e;e=X(b);U(this,new uc(e,b,d));U(this,new uc("propertychange",b,d))};
S.prototype.H=function(){S.L.H.call(this);if(this.ja){var b=this.ja,c=0,d;for(d in b.a){for(var e=b.a[d],f=0;f<e.length;f++)++c,Zb(e[f]);delete b.a[d];b.b--}}this.N=null};function rc(b,c,d,e){c=b.ja.a[String(c)];if(!c)return!0;c=c.concat();for(var f=!0,h=0;h<c.length;++h){var g=c[h];if(g&&!g.La&&g.Ma==d){var k=g.listener,m=g.lb||g.src;g.cb&&bc(b.ja,g);f=!1!==k.call(m,e)&&f}}return f&&0!=e.rc}function sc(b,c,d){return cc(b.ja,v(c)?String(c):void 0,d)};function tc(){S.call(this);this.f=0}G(tc,S);function V(b){++b.f;U(b,"change")}tc.prototype.vb=function(b,c,d){return Q(this,b,c,!1,d)};tc.prototype.xc=function(b,c,d){nc(this,b,c,!1,d)};function uc(b,c,d){N.call(this,b);this.key=c;this.oldValue=d}G(uc,N);function W(b){tc.call(this);C(this);this.j={};v(b)&&this.da(b)}G(W,tc);var vc={};function X(b){return vc.hasOwnProperty(b)?vc[b]:vc[b]="change:"+b}W.prototype.get=function(b){var c;this.j.hasOwnProperty(b)&&(c=this.j[b]);return c};W.prototype.wa=function(){return cb(this.j)};W.prototype.set=function(b,c){var d=this.j[b];this.j[b]=c;var e;e=X(b);U(this,new uc(e,b,d));U(this,new uc("propertychange",b,d))};
W.prototype.da=function(b){for(var c in b)this.set(c,b[c])};function wc(b,c){b[0]+=c[0];b[1]+=c[1]}function xc(b,c){var d=Math.cos(c),e=Math.sin(c),f=b[1]*d+b[0]*e;b[0]=b[0]*d-b[1]*e;b[1]=f};function yc(b){this.length=b.length||b;for(var c=0;c<this.length;c++)this[c]=b[c]||0}yc.prototype.a=4;yc.prototype.set=function(b,c){c=c||0;for(var d=0;d<b.length&&c+d<this.length;d++)this[c+d]=b[d]};yc.prototype.toString=Array.prototype.join;"undefined"==typeof Float32Array&&(yc.BYTES_PER_ELEMENT=4,yc.prototype.BYTES_PER_ELEMENT=yc.prototype.a,yc.prototype.set=yc.prototype.set,yc.prototype.toString=yc.prototype.toString,F("Float32Array",yc));function zc(b){this.length=b.length||b;for(var c=0;c<this.length;c++)this[c]=b[c]||0}zc.prototype.a=8;zc.prototype.set=function(b,c){c=c||0;for(var d=0;d<b.length&&c+d<this.length;d++)this[c+d]=b[d]};zc.prototype.toString=Array.prototype.join;if("undefined"==typeof Float64Array){try{zc.BYTES_PER_ELEMENT=8}catch(Ac){}zc.prototype.BYTES_PER_ELEMENT=zc.prototype.a;zc.prototype.set=zc.prototype.set;zc.prototype.toString=zc.prototype.toString;F("Float64Array",zc)};function Bc(){var b=Array(16);Cc(b,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);return b}function Dc(){var b=Array(16);Cc(b,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);return b}function Cc(b,c,d,e,f,h,g,k,m,p,q,r,u,t,y,x,A){b[0]=c;b[1]=d;b[2]=e;b[3]=f;b[4]=h;b[5]=g;b[6]=k;b[7]=m;b[8]=p;b[9]=q;b[10]=r;b[11]=u;b[12]=t;b[13]=y;b[14]=x;b[15]=A}function Ec(b){b[0]=1;b[1]=0;b[2]=0;b[3]=0;b[4]=0;b[5]=1;b[6]=0;b[7]=0;b[8]=0;b[9]=0;b[10]=1;b[11]=0;b[12]=0;b[13]=0;b[14]=0;b[15]=1}
function Fc(b,c,d){var e=b[0],f=b[1],h=b[2],g=b[3],k=b[4],m=b[5],p=b[6],q=b[7],r=b[8],u=b[9],t=b[10],y=b[11],x=b[12],A=b[13],B=b[14];b=b[15];var w=c[0],D=c[1],L=c[2],H=c[3],I=c[4],O=c[5],T=c[6],ba=c[7],ca=c[8],ja=c[9],Ga=c[10],P=c[11],ed=c[12],fd=c[13],gd=c[14];c=c[15];d[0]=e*w+k*D+r*L+x*H;d[1]=f*w+m*D+u*L+A*H;d[2]=h*w+p*D+t*L+B*H;d[3]=g*w+q*D+y*L+b*H;d[4]=e*I+k*O+r*T+x*ba;d[5]=f*I+m*O+u*T+A*ba;d[6]=h*I+p*O+t*T+B*ba;d[7]=g*I+q*O+y*T+b*ba;d[8]=e*ca+k*ja+r*Ga+x*P;d[9]=f*ca+m*ja+u*Ga+A*P;d[10]=h*ca+
p*ja+t*Ga+B*P;d[11]=g*ca+q*ja+y*Ga+b*P;d[12]=e*ed+k*fd+r*gd+x*c;d[13]=f*ed+m*fd+u*gd+A*c;d[14]=h*ed+p*fd+t*gd+B*c;d[15]=g*ed+q*fd+y*gd+b*c}function Gc(b,c,d){var e=b[1]*c+b[5]*d+0*b[9]+b[13],f=b[2]*c+b[6]*d+0*b[10]+b[14],h=b[3]*c+b[7]*d+0*b[11]+b[15];b[12]=b[0]*c+b[4]*d+0*b[8]+b[12];b[13]=e;b[14]=f;b[15]=h}function Hc(b,c,d){Cc(b,b[0]*c,b[1]*c,b[2]*c,b[3]*c,b[4]*d,b[5]*d,b[6]*d,b[7]*d,1*b[8],1*b[9],1*b[10],1*b[11],b[12],b[13],b[14],b[15])}
function Fc(b,c,d){var e=b[0],f=b[1],h=b[2],g=b[3],k=b[4],m=b[5],p=b[6],q=b[7],r=b[8],u=b[9],t=b[10],y=b[11],x=b[12],A=b[13],B=b[14];b=b[15];var w=c[0],D=c[1],L=c[2],H=c[3],I=c[4],O=c[5],T=c[6],ca=c[7],da=c[8],ja=c[9],Ga=c[10],P=c[11],ed=c[12],fd=c[13],gd=c[14];c=c[15];d[0]=e*w+k*D+r*L+x*H;d[1]=f*w+m*D+u*L+A*H;d[2]=h*w+p*D+t*L+B*H;d[3]=g*w+q*D+y*L+b*H;d[4]=e*I+k*O+r*T+x*ca;d[5]=f*I+m*O+u*T+A*ca;d[6]=h*I+p*O+t*T+B*ca;d[7]=g*I+q*O+y*T+b*ca;d[8]=e*da+k*ja+r*Ga+x*P;d[9]=f*da+m*ja+u*Ga+A*P;d[10]=h*da+
p*ja+t*Ga+B*P;d[11]=g*da+q*ja+y*Ga+b*P;d[12]=e*ed+k*fd+r*gd+x*c;d[13]=f*ed+m*fd+u*gd+A*c;d[14]=h*ed+p*fd+t*gd+B*c;d[15]=g*ed+q*fd+y*gd+b*c}function Gc(b,c,d){var e=b[1]*c+b[5]*d+0*b[9]+b[13],f=b[2]*c+b[6]*d+0*b[10]+b[14],h=b[3]*c+b[7]*d+0*b[11]+b[15];b[12]=b[0]*c+b[4]*d+0*b[8]+b[12];b[13]=e;b[14]=f;b[15]=h}function Hc(b,c,d){Cc(b,b[0]*c,b[1]*c,b[2]*c,b[3]*c,b[4]*d,b[5]*d,b[6]*d,b[7]*d,1*b[8],1*b[9],1*b[10],1*b[11],b[12],b[13],b[14],b[15])}
function Ic(b,c){var d=b[0],e=b[1],f=b[2],h=b[3],g=b[4],k=b[5],m=b[6],p=b[7],q=Math.cos(c),r=Math.sin(c);b[0]=d*q+g*r;b[1]=e*q+k*r;b[2]=f*q+m*r;b[3]=h*q+p*r;b[4]=d*-r+g*q;b[5]=e*-r+k*q;b[6]=f*-r+m*q;b[7]=h*-r+p*q}new Float64Array(3);new Float64Array(3);new Float64Array(4);new Float64Array(4);new Float64Array(4);new Float64Array(16);function Jc(b,c,d){return v(d)?(d[0]=b[0]-c,d[1]=b[1]-c,d[2]=b[2]+c,d[3]=b[3]+c,d):[b[0]-c,b[1]-c,b[2]+c,b[3]+c]}function Kc(b,c){return v(c)?(c[0]=b[0],c[1]=b[1],c[2]=b[2],c[3]=b[3],c):b.slice()}function Lc(b,c){return b[0]<=c[0]&&c[2]<=b[2]&&b[1]<=c[1]&&c[3]<=b[3]}function Mc(){return[Infinity,Infinity,-Infinity,-Infinity]}function Nc(b,c,d,e,f){return v(f)?(f[0]=b,f[1]=c,f[2]=d,f[3]=e,f):[b,c,d,e]}function Oc(b){var c=b[0];b=b[1];return Nc(c,b,c,b,void 0)}
function Pc(b,c){return b[0]==c[0]&&b[2]==c[2]&&b[1]==c[1]&&b[3]==c[3]}function Qc(b,c){c[0]<b[0]&&(b[0]=c[0]);c[0]>b[2]&&(b[2]=c[0]);c[1]<b[1]&&(b[1]=c[1]);c[1]>b[3]&&(b[3]=c[1])}function Rc(b){return[(b[0]+b[2])/2,(b[1]+b[3])/2]}
function Sc(b,c,d,e){var f=c*e[0]/2,h=c*e[1]/2;c=Math.cos(d);e=Math.sin(d);f=[-f,-f,f,f];d=[-h,h,-h,h];for(var g,k,h=0;4>h;++h)g=f[h],k=d[h],f[h]=b[0]+g*c-k*e,d[h]=b[1]+g*e+k*c;b=Math.min.apply(null,f);c=Math.min.apply(null,d);f=Math.max.apply(null,f);d=Math.max.apply(null,d);return Nc(b,c,f,d,void 0)}function Tc(b){return b[3]-b[1]}function Uc(b,c){var d=v(void 0)?void 0:Mc();Vc(b,c)&&(d[0]=b[0]>c[0]?b[0]:c[0],d[1]=b[1]>c[1]?b[1]:c[1],d[2]=b[2]<c[2]?b[2]:c[2],d[3]=b[3]<c[3]?b[3]:c[3]);return d}
@ -51,12 +51,12 @@ ud.prototype.transform=function(b,c){var d;d=kd(b);var e=kd(c);d=jd(d,e);null!==
Cd.prototype.B=function(b){var c;v(b)?(c=Ed(this).slice(),Bd(c,this.c,this.b,b)):c=this.a;b=c;c=this.c;var d=this.b,e=0,f=v(void 0)?void 0:[],h=0,g,k;g=0;for(k=c.length;g<k;++g){for(var m=c[g],p=h++,q=b,r=m,u=d,t=f[h],t=v(t)?t:[],y=0,x=void 0,x=e;x<r;x+=u)t[y++]=q.slice(x,x+u);t.length=y;f[p]=t;e=m}f.length=h;return f};
function Fd(b){if(b.v!=b.f){var c=Rc(b.I());var d=Ed(b),e=b.c,f=b.b,h,g,k,m,p,q=c[1],r=[],u=e[0];k=d[u-f];p=d[u-f+1];for(h=0;h<u;h+=f){m=d[h];g=d[h+1];if(q<=p&&g<=q||p<=q&&q<=g)k=(q-p)/(g-p)*(m-k)+k,r.push(k);k=m;p=g}u=NaN;p=-Infinity;r.sort();k=r[0];h=1;for(g=r.length;h<g;++h){m=r[h];var t=Math.abs(m-k);if(t>p){k=(k+m)/2;var y;b:if(0!==e.length&&zd(d,0,e[0],f,k,q)){var x=y=void 0;y=1;for(x=e.length;y<x;++y)if(zd(d,e[y-1],e[y],f,k,q)){y=!1;break b}y=!0}else y=!1;y&&(u=k,p=t)}k=m}isNaN(u)&&(u=c[0]);
v(void 0)?((void 0).push(u,q),c=void 0):c=[u,q];b.A=c;b.v=b.f}return b.A}function Ed(b){if(b.G!=b.f){var c=b.a,d;a:{d=b.c;var e=0,f=v(void 0)?void 0:!1,h,g;h=0;for(g=d.length;h<g;++h){var k=d[h],e=Ad(c,e,k,b.b);if(0===h){if(f&&e||!f&&!e){d=!1;break a}}else if(f&&!e||!f&&e){d=!1;break a}e=k}d=!0}d?b.g=c:(b.g=c.slice(),b.g.length=Bd(b.g,b.c,b.b));b.G=b.f}return b.g}
Cd.prototype.D=function(b){var c=[],d=[],e=this.a,f=this.c,h=this.b;b=Math.sqrt(b);var g=0,k=0,m,p;m=0;for(p=f.length;m<p;++m){var q=f[m];a:{var r=e,u=q,t=h,y=b,x=c;if(g!=u){var A=y*Math.round(r[g]/y),B=y*Math.round(r[g+1]/y),g=g+t;x[k++]=A;x[k++]=B;var w=void 0,D=void 0;do if(w=y*Math.round(r[g]/y),D=y*Math.round(r[g+1]/y),g+=t,g==u){x[k++]=w;x[k++]=D;break a}while(w==A&&D==B);for(;g<u;){var L,H;L=y*Math.round(r[g]/y);H=y*Math.round(r[g+1]/y);g+=t;if(L!=w||H!=D){var I=w-A,O=D-B,T=L-A,ba=H-B;I*ba==
O*T&&(0>I&&T<I||I==T||0<I&&T>I)&&(0>O&&ba<O||O==ba||0<O&&ba>O)||(x[k++]=w,x[k++]=D,A=w,B=D);w=L;D=H}}x[k++]=w;x[k++]=D}}d.push(k);g=q}c.length=k;e=new Cd(null);Dd(e,"XY",c,d);return e};function Dd(b,c,d,e){b.b=xd(c);b.h=c;b.a=d;b.c=e;V(b)};function Gd(b){W.call(this);b=v(b)?b:{};this.g=[0,0];var c={};c.center=v(b.center)?b.center:null;this.i=sd(b.projection);var d,e,f,h=v(b.minZoom)?b.minZoom:0;d=v(b.maxZoom)?b.maxZoom:28;var g=v(b.zoomFactor)?b.zoomFactor:2;if(v(b.resolutions))d=b.resolutions,e=d[0],f=d[d.length-1],d=Ab(d);else{e=sd(b.projection);f=e.I();var k=(null===f?360*hd.degrees/hd[e.c]:Math.max(f[2]-f[0],Tc(f)))/256/Math.pow(2,0),m=k/Math.pow(2,28);e=b.maxResolution;v(e)?h=0:e=k/Math.pow(g,h);f=b.minResolution;v(f)||(f=v(b.maxZoom)?
Cd.prototype.D=function(b){var c=[],d=[],e=this.a,f=this.c,h=this.b;b=Math.sqrt(b);var g=0,k=0,m,p;m=0;for(p=f.length;m<p;++m){var q=f[m];a:{var r=e,u=q,t=h,y=b,x=c;if(g!=u){var A=y*Math.round(r[g]/y),B=y*Math.round(r[g+1]/y),g=g+t;x[k++]=A;x[k++]=B;var w=void 0,D=void 0;do if(w=y*Math.round(r[g]/y),D=y*Math.round(r[g+1]/y),g+=t,g==u){x[k++]=w;x[k++]=D;break a}while(w==A&&D==B);for(;g<u;){var L,H;L=y*Math.round(r[g]/y);H=y*Math.round(r[g+1]/y);g+=t;if(L!=w||H!=D){var I=w-A,O=D-B,T=L-A,ca=H-B;I*ca==
O*T&&(0>I&&T<I||I==T||0<I&&T>I)&&(0>O&&ca<O||O==ca||0<O&&ca>O)||(x[k++]=w,x[k++]=D,A=w,B=D);w=L;D=H}}x[k++]=w;x[k++]=D}}d.push(k);g=q}c.length=k;e=new Cd(null);Dd(e,"XY",c,d);return e};function Dd(b,c,d,e){b.b=xd(c);b.h=c;b.a=d;b.c=e;V(b)};function Gd(b){W.call(this);b=v(b)?b:{};this.g=[0,0];var c={};c.center=v(b.center)?b.center:null;this.i=sd(b.projection);var d,e,f,h=v(b.minZoom)?b.minZoom:0;d=v(b.maxZoom)?b.maxZoom:28;var g=v(b.zoomFactor)?b.zoomFactor:2;if(v(b.resolutions))d=b.resolutions,e=d[0],f=d[d.length-1],d=Ab(d);else{e=sd(b.projection);f=e.I();var k=(null===f?360*hd.degrees/hd[e.c]:Math.max(f[2]-f[0],Tc(f)))/256/Math.pow(2,0),m=k/Math.pow(2,28);e=b.maxResolution;v(e)?h=0:e=k/Math.pow(g,h);f=b.minResolution;v(f)||(f=v(b.maxZoom)?
v(b.maxResolution)?e/Math.pow(g,d):k/Math.pow(g,d):m);d=h+Math.floor(Math.log(e/f)/Math.log(g));f=e/Math.pow(g,d-h);d=Bb(g,e,d-h)}this.b=e;this.h=f;this.c=h;h=v(b.extent)?xb(b.extent):yb;(v(b.enableRotation)?b.enableRotation:1)?(e=b.constrainRotation,e=v(e)&&!0!==e?!1===e?Db:ka(e)?Eb(e):Db:Fb()):e=Cb;this.a=new Gb(h,d,e);v(b.resolution)?c.resolution=b.resolution:v(b.zoom)&&(c.resolution=this.constrainResolution(this.b,b.zoom-this.c));c.rotation=v(b.rotation)?b.rotation:0;this.da(c)}G(Gd,W);l=Gd.prototype;
l.constrainResolution=function(b,c,d){return this.a.resolution(b,c||0,d||0)};l.constrainRotation=function(b,c){return this.a.rotation(b,c||0)};l.R=function(){return this.get("center")};function Hd(b,c){var d=b.R(),e=b.Y(),f=b.K();return Sc(d,e,f,c)}l.Y=function(){return this.get("resolution")};l.K=function(){return this.get("rotation")};function Id(b){var c=b.R(),d=b.i,e=b.Y();b=b.K();return{center:[Math.round(c[0]/e)*e,Math.round(c[1]/e)*e],projection:v(d)?d:null,resolution:e,rotation:b}}
l.Qc=function(){var b,c=this.Y();if(v(c)){var d,e=0;do{d=this.constrainResolution(this.b,e);if(d==c){b=e;break}++e}while(d>this.h)}return v(b)?this.c+b:b};function Jd(b){return ga(b.R())&&v(b.Y())}l.rotate=function(b,c){if(v(c)){var d,e=this.R();v(e)&&(d=[e[0]-c[0],e[1]-c[1]],xc(d,b-this.K()),wc(d,c));this.fa(d)}this.set("rotation",b)};l.fa=function(b){this.set("center",b)};function Kd(b,c){b.g[1]+=c}function Ld(b,c){b.set("resolution",c)}
l.Yd=function(b){b=this.constrainResolution(this.b,b-this.c,0);Ld(this,b)};function Md(b){return 1-Math.pow(1-b,3)};function Nd(b){return 3*b*b-2*b*b*b}function Od(b){return b};function Pd(b){var c=b.source,d=v(b.start)?b.start:sa(),e=c[0],f=c[1],h=v(b.duration)?b.duration:1E3,g=v(b.easing)?b.easing:Nd;return function(b,c){if(c.time<d)return c.animate=!0,c.viewHints[0]+=1,!0;if(c.time<d+h){var p=1-g((c.time-d)/h),q=e-c.viewState.center[0],r=f-c.viewState.center[1];c.animate=!0;c.viewState.center[0]+=p*q;c.viewState.center[1]+=p*r;c.viewHints[0]+=1;return!0}return!1}}
l.Rc=function(){var b,c=this.Y();if(v(c)){var d,e=0;do{d=this.constrainResolution(this.b,e);if(d==c){b=e;break}++e}while(d>this.h)}return v(b)?this.c+b:b};function Jd(b){return ga(b.R())&&v(b.Y())}l.rotate=function(b,c){if(v(c)){var d,e=this.R();v(e)&&(d=[e[0]-c[0],e[1]-c[1]],xc(d,b-this.K()),wc(d,c));this.fa(d)}this.set("rotation",b)};l.fa=function(b){this.set("center",b)};function Kd(b,c){b.g[1]+=c}function Ld(b,c){b.set("resolution",c)}
l.Zd=function(b){b=this.constrainResolution(this.b,b-this.c,0);Ld(this,b)};function Md(b){return 1-Math.pow(1-b,3)};function Nd(b){return 3*b*b-2*b*b*b}function Od(b){return b};function Pd(b){var c=b.source,d=v(b.start)?b.start:sa(),e=c[0],f=c[1],h=v(b.duration)?b.duration:1E3,g=v(b.easing)?b.easing:Nd;return function(b,c){if(c.time<d)return c.animate=!0,c.viewHints[0]+=1,!0;if(c.time<d+h){var p=1-g((c.time-d)/h),q=e-c.viewState.center[0],r=f-c.viewState.center[1];c.animate=!0;c.viewState.center[0]+=p*q;c.viewState.center[1]+=p*r;c.viewHints[0]+=1;return!0}return!1}}
function Qd(b){var c=v(b.rotation)?b.rotation:0,d=v(b.start)?b.start:sa(),e=v(b.duration)?b.duration:1E3,f=v(b.easing)?b.easing:Nd,h=v(b.anchor)?b.anchor:null;return function(b,k){if(k.time<d)return k.animate=!0,k.viewHints[0]+=1,!0;if(k.time<d+e){var m=1-f((k.time-d)/e),m=(c-k.viewState.rotation)*m;k.animate=!0;k.viewState.rotation+=m;if(null!==h){var p=k.viewState.center;p[0]-=h[0];p[1]-=h[1];xc(p,m);wc(p,h)}k.viewHints[0]+=1;return!0}return!1}}
function Rd(b){var c=b.resolution,d=v(b.start)?b.start:sa(),e=v(b.duration)?b.duration:1E3,f=v(b.easing)?b.easing:Nd;return function(b,g){if(g.time<d)return g.animate=!0,g.viewHints[0]+=1,!0;if(g.time<d+e){var k=1-f((g.time-d)/e),m=c-g.viewState.resolution;g.animate=!0;g.viewState.resolution+=k*m;g.viewHints[0]+=1;return!0}return!1}};function Sd(b,c,d){N.call(this,b,d);this.element=c}G(Sd,N);function Td(b){W.call(this);this.a=v(b)?b:[];Ud(this)}G(Td,W);l=Td.prototype;l.clear=function(){for(;0<Vd(this);)Wd(this,Vd(this)-1)};l.forEach=function(b,c){J(this.a,b,c)};l.item=function(b){return this.a[b]};function Vd(b){return b.get("length")}l.push=function(b){var c=this.a.length;Pa(this.a,c,0,b);Ud(this);U(this,new Sd("add",b,this));return c};
l.remove=function(b){var c=this.a,d,e;d=0;for(e=c.length;d<e;++d)if(c[d]===b)return Wd(this,d)};function Wd(b,c){var d=b.a[c];Fa.splice.call(b.a,c,1);Ud(b);U(b,new Sd("remove",d,b));return d}function Ud(b){b.set("length",b.a.length)};function Xd(b){if(!z(b)){var c=b[0];c!=(c|0)&&(c=c+.5|0);var d=b[1];d!=(d|0)&&(d=d+.5|0);var e=b[2];e!=(e|0)&&(e=e+.5|0);b="rgba("+c+","+d+","+e+","+b[3]+")"}return b};function Yd(){this.j=Bc();this.b=void 0;this.a=Bc();this.f=void 0;this.c=Bc();this.g=void 0;this.o=Bc();this.h=void 0;this.w=Bc()}
@ -71,12 +71,12 @@ de.prototype.da=ge;function pe(){return!0}de.prototype.appendChild=function(b,c)
l.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};l.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};l.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};
l.scale=function(b,c){var d=ka(c)?c:b;this.left*=b;this.right*=b;this.top*=d;this.bottom*=d;return this};function we(b,c){var d=ee(b);return d.defaultView&&d.defaultView.getComputedStyle&&(d=d.defaultView.getComputedStyle(b,null))?d[c]||d.getPropertyValue(c)||"":""}function xe(b,c){return we(b,c)||(b.currentStyle?b.currentStyle[c]:null)||b.style&&b.style[c]}
function ye(b){var c;try{c=b.getBoundingClientRect()}catch(d){return{left:0,top:0,right:0,bottom:0}}K&&b.ownerDocument.body&&(b=b.ownerDocument,c.left-=b.documentElement.clientLeft+b.body.clientLeft,c.top-=b.documentElement.clientTop+b.body.clientTop);return c}
function ze(b){if(1==b.nodeType)return b=ye(b),new ae(b.left,b.top);var c=la(b.Ic),d=b;b.targetTouches&&b.targetTouches.length?d=b.targetTouches[0]:c&&b.a.targetTouches&&b.a.targetTouches.length&&(d=b.a.targetTouches[0]);return new ae(d.clientX,d.clientY)}function Ae(b){var c=Be;if("none"!=xe(b,"display"))return c(b);var d=b.style,e=d.display,f=d.visibility,h=d.position;d.visibility="hidden";d.position="absolute";d.display="inline";b=c(b);d.display=e;d.position=h;d.visibility=f;return b}
function ze(b){if(1==b.nodeType)return b=ye(b),new ae(b.left,b.top);var c=la(b.Jc),d=b;b.targetTouches&&b.targetTouches.length?d=b.targetTouches[0]:c&&b.a.targetTouches&&b.a.targetTouches.length&&(d=b.a.targetTouches[0]);return new ae(d.clientX,d.clientY)}function Ae(b){var c=Be;if("none"!=xe(b,"display"))return c(b);var d=b.style,e=d.display,f=d.visibility,h=d.position;d.visibility="hidden";d.position="absolute";d.display="inline";b=c(b);d.display=e;d.position=h;d.visibility=f;return b}
function Be(b){var c=b.offsetWidth,d=b.offsetHeight,e=M&&!c&&!d;return v(c)&&!e||!b.getBoundingClientRect?new be(c,d):(b=ye(b),new be(b.right-b.left,b.bottom-b.top))}function Ce(b,c){b.style.display=c?"":"none"}function De(b,c,d,e){if(/^\d+px?$/.test(c))return parseInt(c,10);var f=b.style[d],h=b.runtimeStyle[d];b.runtimeStyle[d]=b.currentStyle[d];b.style[d]=c;c=b.style[e];b.style[d]=f;b.runtimeStyle[d]=h;return c}
function Ee(b,c){var d=b.currentStyle?b.currentStyle[c]:null;return d?De(b,d,"left","pixelLeft"):0}function Fe(b){if(K){var c=Ee(b,"paddingLeft"),d=Ee(b,"paddingRight"),e=Ee(b,"paddingTop");b=Ee(b,"paddingBottom");return new ve(e,d,b,c)}c=we(b,"paddingLeft");d=we(b,"paddingRight");e=we(b,"paddingTop");b=we(b,"paddingBottom");return new ve(parseFloat(e),parseFloat(d),parseFloat(b),parseFloat(c))}var Ge={thin:2,medium:4,thick:6};
function He(b,c){if("none"==(b.currentStyle?b.currentStyle[c+"Style"]:null))return 0;var d=b.currentStyle?b.currentStyle[c+"Width"]:null;return d in Ge?Ge[d]:De(b,d,"left","pixelLeft")}
function Ie(b){if(K&&!(K&&9<=vb)){var c=He(b,"borderLeft"),d=He(b,"borderRight"),e=He(b,"borderTop");b=He(b,"borderBottom");return new ve(e,d,b,c)}c=we(b,"borderLeftWidth");d=we(b,"borderRightWidth");e=we(b,"borderTopWidth");b=we(b,"borderBottomWidth");return new ve(parseFloat(e),parseFloat(d),parseFloat(b),parseFloat(c))};function Je(b,c,d){N.call(this,b);this.map=c;this.frameState=v(d)?d:null}G(Je,N);function Ke(b){W.call(this);this.element=v(b.element)?b.element:null;this.a=this.B=null;this.g=[];this.render=v(b.render)?b.render:da;v(b.target)&&(this.B=fe(b.target))}G(Ke,W);Ke.prototype.H=function(){me(this.element);Ke.L.H.call(this)};Ke.prototype.setMap=function(b){null===this.a||me(this.element);0!=this.g.length&&(J(this.g,R),this.g.length=0);this.a=b;null!==this.a&&((null===this.B?b.l:this.B).appendChild(this.element),this.render!==da&&this.g.push(Q(b,"postrender",this.render,!1,this)),b.render())};function Le(){this.c=0;this.f={};this.a=this.b=null}l=Le.prototype;l.clear=function(){this.c=0;this.f={};this.a=this.b=null};l.forEach=function(b,c){for(var d=this.b;null!==d;)b.call(c,d.Za,d.ob,this),d=d.ca};l.get=function(b){b=this.f[b];if(b===this.a)return b.Za;b===this.b?(this.b=this.b.ca,this.b.sa=null):(b.ca.sa=b.sa,b.sa.ca=b.ca);b.ca=null;b.sa=this.a;this.a=this.a.ca=b;return b.Za};l.Va=function(){return this.c};
l.wa=function(){var b=Array(this.c),c=0,d;for(d=this.a;null!==d;d=d.sa)b[c++]=d.ob;return b};l.Wa=function(){var b=Array(this.c),c=0,d;for(d=this.a;null!==d;d=d.sa)b[c++]=d.Za;return b};l.set=function(b,c){var d={ob:b,ca:null,sa:this.a,Za:c};null===this.a?this.b=d:this.a.ca=d;this.a=d;this.f[b]=d;++this.c};function Me(b){W.call(this);kd(b.projection);this.l=v(b.attributions)?b.attributions:null;this.B=b.logo;this.D=v(b.state)?b.state:"ready";this.u=v(b.wrapX)?b.wrapX:!1}G(Me,W);Me.prototype.A=da;function Ne(b){return b.u};function Oe(b){b=v(b)?b:{};this.u=document.createElement("UL");this.i=document.createElement("LI");this.u.appendChild(this.i);Ce(this.i,!1);this.h=v(b.collapsed)?b.collapsed:!0;this.l=v(b.collapsible)?b.collapsible:!0;this.l||(this.h=!1);var c=v(b.className)?b.className:"ol-attribution",d=v(b.tipLabel)?b.tipLabel:"Attributions",e=v(b.collapseLabel)?b.collapseLabel:"\u00bb";this.v=z(e)?Y("SPAN",{},e):e;e=v(b.label)?b.label:"i";this.A=z(e)?Y("SPAN",{},e):e;d=Y("BUTTON",{type:"button",title:d},this.l&&
function Ie(b){if(K&&!(K&&9<=vb)){var c=He(b,"borderLeft"),d=He(b,"borderRight"),e=He(b,"borderTop");b=He(b,"borderBottom");return new ve(e,d,b,c)}c=we(b,"borderLeftWidth");d=we(b,"borderRightWidth");e=we(b,"borderTopWidth");b=we(b,"borderBottomWidth");return new ve(parseFloat(e),parseFloat(d),parseFloat(b),parseFloat(c))};function Je(b,c,d){N.call(this,b);this.map=c;this.frameState=v(d)?d:null}G(Je,N);function Ke(b){W.call(this);this.element=v(b.element)?b.element:null;this.a=this.B=null;this.g=[];this.render=v(b.render)?b.render:ba;v(b.target)&&(this.B=fe(b.target))}G(Ke,W);Ke.prototype.H=function(){me(this.element);Ke.L.H.call(this)};Ke.prototype.setMap=function(b){null===this.a||me(this.element);0!=this.g.length&&(J(this.g,R),this.g.length=0);this.a=b;null!==this.a&&((null===this.B?b.l:this.B).appendChild(this.element),this.render!==ba&&this.g.push(Q(b,"postrender",this.render,!1,this)),b.render())};function Le(){this.c=0;this.f={};this.a=this.b=null}l=Le.prototype;l.clear=function(){this.c=0;this.f={};this.a=this.b=null};l.forEach=function(b,c){for(var d=this.b;null!==d;)b.call(c,d.Za,d.ob,this),d=d.ca};l.get=function(b){b=this.f[b];if(b===this.a)return b.Za;b===this.b?(this.b=this.b.ca,this.b.sa=null):(b.ca.sa=b.sa,b.sa.ca=b.ca);b.ca=null;b.sa=this.a;this.a=this.a.ca=b;return b.Za};l.Va=function(){return this.c};
l.wa=function(){var b=Array(this.c),c=0,d;for(d=this.a;null!==d;d=d.sa)b[c++]=d.ob;return b};l.Wa=function(){var b=Array(this.c),c=0,d;for(d=this.a;null!==d;d=d.sa)b[c++]=d.Za;return b};l.set=function(b,c){var d={ob:b,ca:null,sa:this.a,Za:c};null===this.a?this.b=d:this.a.ca=d;this.a=d;this.f[b]=d;++this.c};function Me(b){W.call(this);kd(b.projection);this.l=v(b.attributions)?b.attributions:null;this.B=b.logo;this.D=v(b.state)?b.state:"ready";this.u=v(b.wrapX)?b.wrapX:!1}G(Me,W);Me.prototype.A=ba;function Ne(b){return b.u};function Oe(b){b=v(b)?b:{};this.u=document.createElement("UL");this.i=document.createElement("LI");this.u.appendChild(this.i);Ce(this.i,!1);this.h=v(b.collapsed)?b.collapsed:!0;this.l=v(b.collapsible)?b.collapsible:!0;this.l||(this.h=!1);var c=v(b.className)?b.className:"ol-attribution",d=v(b.tipLabel)?b.tipLabel:"Attributions",e=v(b.collapseLabel)?b.collapseLabel:"\u00bb";this.v=z(e)?Y("SPAN",{},e):e;e=v(b.label)?b.label:"i";this.A=z(e)?Y("SPAN",{},e):e;d=Y("BUTTON",{type:"button",title:d},this.l&&
!this.h?this.v:this.A);Q(d,"click",this.G,!1,this);Q(d,["mouseout",Qb],function(){this.blur()},!1);c=Y("DIV",c+" ol-unselectable ol-control"+(this.h&&this.l?" ol-collapsed":"")+(this.l?"":" ol-uncollapsible"),this.u,d);Ke.call(this,{element:c,render:v(b.render)?b.render:Pe,target:b.target});this.s=!0;this.c={};this.b={};this.D={}}G(Oe,Ke);
function Pe(b){b=b.frameState;if(null===b)this.s&&(Ce(this.element,!1),this.s=!1);else{var c,d,e,f,h,g,k,m,p,q,r=b.layerStatesArray,u=hb(b.attributions),t={},y=b.viewState.projection;d=0;for(c=r.length;d<c;d++)if(g=r[d].layer.Z(),null!==g&&(q=C(g).toString(),p=g.l,null!==p))for(e=0,f=p.length;e<f;e++)if(k=p[e],m=C(k).toString(),!(m in u)){h=b.usedTiles[q];if(v(h)){var x=g.a(y);h=k.b(h,x,y)}else h=!1;h?(m in t&&delete t[m],u[m]=k):t[m]=k}c=[u,t];d=c[0];c=c[1];for(var A in this.c)A in d?(this.b[A]||
(Ce(this.c[A],!0),this.b[A]=!0),delete d[A]):A in c?(this.b[A]&&(Ce(this.c[A],!1),delete this.b[A]),delete c[A]):(me(this.c[A]),delete this.c[A],delete this.b[A]);for(A in d)e=document.createElement("LI"),e.innerHTML=d[A].a(),this.u.appendChild(e),this.c[A]=e,this.b[A]=!0;for(A in c)e=document.createElement("LI"),e.innerHTML=c[A].a(),Ce(e,!1),this.u.appendChild(e),this.c[A]=e;A=!db(this.b)||!db(b.logos);this.s!=A&&(Ce(this.element,A),this.s=A);A&&db(this.b)?se(this.element,"ol-logo-only"):te(this.element,
@ -85,8 +85,8 @@ b.autoHide:!0;this.i=void 0;this.c&&se(this.element,"ol-hidden")}G(Qe,Ke);Qe.pro
function Re(b){b=b.frameState;if(null!==b){b=b.viewState.rotation;if(b!=this.i){var c="rotate("+180*b/Math.PI+"deg)";if(this.c){var d=this.element;0===b?se(d,"ol-hidden"):te(d,"ol-hidden")}this.b.style.msTransform=c;this.b.style.webkitTransform=c;this.b.style.transform=c}this.i=b}};function Se(b){b=v(b)?b:{};var c=v(b.className)?b.className:"ol-zoom",d=v(b.delta)?b.delta:1,e=v(b.zoomOutLabel)?b.zoomOutLabel:"\u2212",f=v(b.zoomOutTipLabel)?b.zoomOutTipLabel:"Zoom out",h=Y("BUTTON",{"class":c+"-in",type:"button",title:v(b.zoomInTipLabel)?b.zoomInTipLabel:"Zoom in"},v(b.zoomInLabel)?b.zoomInLabel:"+");Q(h,"click",ra(Se.prototype.c,d),!1,this);e=Y("BUTTON",{"class":c+"-out",type:"button",title:f},e);Q(e,"click",ra(Se.prototype.c,-d),!1,this);Q(e,["mouseout",Qb],function(){this.blur()},
!1);c=Y("DIV",c+" ol-unselectable ol-control",h,e);Ke.call(this,{element:c,target:b.target});this.b=v(b.duration)?b.duration:250}G(Se,Ke);Se.prototype.c=function(b,c){c.preventDefault();var d=this.a,e=d.C();if(null!==e){var f=e.Y();v(f)&&(0<this.b&&d.ea(Rd({resolution:f,duration:this.b,easing:Md})),d=e.constrainResolution(f,b),Ld(e,d))}};function Te(b){b=v(b)?b:{};var c=Y("DIV",v(b.className)?b.className:"ol-mouse-position");Ke.call(this,{element:c,render:v(b.render)?b.render:Ue,target:b.target});Q(this,X("projection"),this.u,!1,this);v(b.coordinateFormat)&&this.set("coordinateFormat",b.coordinateFormat);if(v(b.projection)){var d=kd(b.projection);this.set("projection",d)}this.v=v(b.undefinedHTML)?b.undefinedHTML:"";this.i=c.innerHTML;this.h=this.c=this.b=null}G(Te,Ke);
function Ue(b){b=b.frameState;null===b?this.b=null:this.b!=b.viewState.projection&&(this.b=b.viewState.projection,this.c=null);Ve(this,this.h)}Te.prototype.u=function(){this.c=null};Te.prototype.l=function(b){this.h=We(this.a,b.a);Ve(this,this.h)};Te.prototype.s=function(){Ve(this,null);this.h=null};Te.prototype.setMap=function(b){Te.L.setMap.call(this,b);null!==b&&(b=b.a,this.g.push(Q(b,"mousemove",this.l,!1,this),Q(b,"mouseout",this.s,!1,this)))};
function Ve(b,c){var d=b.v;if(null!==c&&null!==b.b){if(null===b.c){var e=b.get("projection");b.c=v(e)?jd(b.b,e):td}e=b.a.qa(c);null!==e&&(b.c(e,e),d=b.get("coordinateFormat"),d=v(d)?d(e):e.toString())}v(b.i)&&d==b.i||(b.element.innerHTML=d,b.i=d)};function Xe(b,c,d){Kb.call(this);this.f=b;this.c=d;this.a=c||window;this.b=E(this.Ec,this)}G(Xe,Kb);l=Xe.prototype;l.ba=null;l.Jb=!1;l.start=function(){Ye(this);this.Jb=!1;var b=Ze(this),c=$e(this);b&&!c&&this.a.mozRequestAnimationFrame?(this.ba=Q(this.a,"MozBeforePaint",this.b),this.a.mozRequestAnimationFrame(null),this.Jb=!0):this.ba=b&&c?b.call(this.a,this.b):this.a.setTimeout(Zc(this.b),20)};
function Ye(b){if(null!=b.ba){var c=Ze(b),d=$e(b);c&&!d&&b.a.mozRequestAnimationFrame?R(b.ba):c&&d?d.call(b.a,b.ba):b.a.clearTimeout(b.ba)}b.ba=null}l.Ec=function(){this.Jb&&this.ba&&R(this.ba);this.ba=null;this.f.call(this.c,sa())};l.H=function(){Ye(this);Xe.L.H.call(this)};function Ze(b){b=b.a;return b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||b.oRequestAnimationFrame||b.msRequestAnimationFrame||null}
function Ve(b,c){var d=b.v;if(null!==c&&null!==b.b){if(null===b.c){var e=b.get("projection");b.c=v(e)?jd(b.b,e):td}e=b.a.qa(c);null!==e&&(b.c(e,e),d=b.get("coordinateFormat"),d=v(d)?d(e):e.toString())}v(b.i)&&d==b.i||(b.element.innerHTML=d,b.i=d)};function Xe(b,c,d){Kb.call(this);this.f=b;this.c=d;this.a=c||window;this.b=E(this.Fc,this)}G(Xe,Kb);l=Xe.prototype;l.ba=null;l.Jb=!1;l.start=function(){Ye(this);this.Jb=!1;var b=Ze(this),c=$e(this);b&&!c&&this.a.mozRequestAnimationFrame?(this.ba=Q(this.a,"MozBeforePaint",this.b),this.a.mozRequestAnimationFrame(null),this.Jb=!0):this.ba=b&&c?b.call(this.a,this.b):this.a.setTimeout(Zc(this.b),20)};
function Ye(b){if(null!=b.ba){var c=Ze(b),d=$e(b);c&&!d&&b.a.mozRequestAnimationFrame?R(b.ba):c&&d?d.call(b.a,b.ba):b.a.clearTimeout(b.ba)}b.ba=null}l.Fc=function(){this.Jb&&this.ba&&R(this.ba);this.ba=null;this.f.call(this.c,sa())};l.H=function(){Ye(this);Xe.L.H.call(this)};function Ze(b){b=b.a;return b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame||b.oRequestAnimationFrame||b.msRequestAnimationFrame||null}
function $e(b){b=b.a;return b.cancelAnimationFrame||b.cancelRequestAnimationFrame||b.webkitCancelRequestAnimationFrame||b.mozCancelRequestAnimationFrame||b.oCancelRequestAnimationFrame||b.msCancelRequestAnimationFrame||null};var af;
function bf(){var b=n.MessageChannel;"undefined"===typeof b&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&(b=function(){var b=document.createElement("iframe");b.style.display="none";b.src="";document.documentElement.appendChild(b);var c=b.contentWindow,b=c.document;b.open();b.write("");b.close();var d="callImmediate"+Math.random(),e="file:"==c.location.protocol?"*":c.location.protocol+"//"+c.location.host,b=E(function(b){if(("*"==e||b.origin==e)&&b.data==d)this.port1.onmessage()},this);
c.addEventListener("message",b,!1);this.port1={};this.port2={postMessage:function(){c.postMessage(d,e)}}});if("undefined"!==typeof b&&!Ya("Trident")&&!Ya("MSIE")){var c=new b,d={},e=d;c.port1.onmessage=function(){if(v(d.next)){d=d.next;var b=d.Tb;d.Tb=null;b()}};return function(b){e.next={Tb:b};e=e.next;c.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("script")?function(b){var c=document.createElement("script");c.onreadystatechange=function(){c.onreadystatechange=
@ -94,7 +94,7 @@ null;c.parentNode.removeChild(c);c=null;b();b=null};document.documentElement.app
function df(b,c){if("function"==typeof b.forEach)b.forEach(c,void 0);else if(ia(b)||z(b))J(b,c,void 0);else{var d;if("function"==typeof b.wa)d=b.wa();else if("function"!=typeof b.Wa)if(ia(b)||z(b)){d=[];for(var e=b.length,f=0;f<e;f++)d.push(f)}else d=cb(b);else d=void 0;for(var e=cf(b),f=e.length,h=0;h<f;h++)c.call(void 0,e[h],d&&d[h],b)}};function ef(b,c){this.b={};this.a=[];this.c=0;var d=arguments.length;if(1<d){if(d%2)throw Error("Uneven number of arguments");for(var e=0;e<d;e+=2)this.set(arguments[e],arguments[e+1])}else if(b){b instanceof ef?(d=b.wa(),e=b.Wa()):(d=cb(b),e=bb(b));for(var f=0;f<d.length;f++)this.set(d[f],e[f])}}l=ef.prototype;l.Va=function(){return this.c};l.Wa=function(){ff(this);for(var b=[],c=0;c<this.a.length;c++)b.push(this.b[this.a[c]]);return b};l.wa=function(){ff(this);return this.a.concat()};
l.W=function(){return 0==this.c};l.clear=function(){this.b={};this.c=this.a.length=0};l.remove=function(b){return Object.prototype.hasOwnProperty.call(this.b,b)?(delete this.b[b],this.c--,this.a.length>2*this.c&&ff(this),!0):!1};
function ff(b){if(b.c!=b.a.length){for(var c=0,d=0;c<b.a.length;){var e=b.a[c];Object.prototype.hasOwnProperty.call(b.b,e)&&(b.a[d++]=e);c++}b.a.length=d}if(b.c!=b.a.length){for(var f={},d=c=0;c<b.a.length;)e=b.a[c],Object.prototype.hasOwnProperty.call(f,e)||(b.a[d++]=e,f[e]=1),c++;b.a.length=d}}l.get=function(b,c){return Object.prototype.hasOwnProperty.call(this.b,b)?this.b[b]:c};l.set=function(b,c){Object.prototype.hasOwnProperty.call(this.b,b)||(this.c++,this.a.push(b));this.b[b]=c};
l.forEach=function(b,c){for(var d=this.wa(),e=0;e<d.length;e++){var f=d[e],h=this.get(f);b.call(c,h,f,this)}};l.clone=function(){return new ef(this)};function gf(){this.a=sa()}new gf;gf.prototype.set=function(b){this.a=b};gf.prototype.get=function(){return this.a};function hf(b){S.call(this);this.$a=b||window;this.qb=Q(this.$a,"resize",this.hd,!1,this);this.ib=ie(this.$a||window)}G(hf,S);l=hf.prototype;l.qb=null;l.$a=null;l.ib=null;l.H=function(){hf.L.H.call(this);this.qb&&(R(this.qb),this.qb=null);this.ib=this.$a=null};l.hd=function(){var b=ie(this.$a||window),c=this.ib;b==c||b&&c&&b.width==c.width&&b.height==c.height||(this.ib=b,U(this,"resize"))};function jf(b,c,d,e,f){if(!(K||M&&tb("525")))return!0;if(nb&&f)return kf(b);if(f&&!e)return!1;ka(c)&&(c=lf(c));if(!d&&(17==c||18==c||nb&&91==c))return!1;if(M&&e&&d)switch(b){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(K&&e&&c==b)return!1;switch(b){case 13:return!0;case 27:return!M}return kf(b)}
l.forEach=function(b,c){for(var d=this.wa(),e=0;e<d.length;e++){var f=d[e],h=this.get(f);b.call(c,h,f,this)}};l.clone=function(){return new ef(this)};function gf(){this.a=sa()}new gf;gf.prototype.set=function(b){this.a=b};gf.prototype.get=function(){return this.a};function hf(b){S.call(this);this.$a=b||window;this.qb=Q(this.$a,"resize",this.jd,!1,this);this.ib=ie(this.$a||window)}G(hf,S);l=hf.prototype;l.qb=null;l.$a=null;l.ib=null;l.H=function(){hf.L.H.call(this);this.qb&&(R(this.qb),this.qb=null);this.ib=this.$a=null};l.jd=function(){var b=ie(this.$a||window),c=this.ib;b==c||b&&c&&b.width==c.width&&b.height==c.height||(this.ib=b,U(this,"resize"))};function jf(b,c,d,e,f){if(!(K||M&&tb("525")))return!0;if(nb&&f)return kf(b);if(f&&!e)return!1;ka(c)&&(c=lf(c));if(!d&&(17==c||18==c||nb&&91==c))return!1;if(M&&e&&d)switch(b){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(K&&e&&c==b)return!1;switch(b){case 13:return!0;case 27:return!M}return kf(b)}
function kf(b){if(48<=b&&57>=b||96<=b&&106>=b||65<=b&&90>=b||M&&0==b)return!0;switch(b){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 lf(b){if(mb)b=mf(b);else if(nb&&M)a:switch(b){case 93:b=91;break a}return b}
function mf(b){switch(b){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return b}};function nf(b,c){S.call(this);b&&of(this,b,c)}G(nf,S);l=nf.prototype;l.Xa=null;l.mb=null;l.Fb=null;l.nb=null;l.X=-1;l.ra=-1;l.xb=!1;
var pf={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},qf={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},rf=K||M&&tb("525"),sf=nb&&mb;
@ -103,37 +103,37 @@ nf.prototype.handleEvent=function(b){var c=b.a,d,e,f=c.altKey;K&&"keypress"==b.t
function of(b,c,d){b.nb&&uf(b);b.Xa=c;b.mb=Q(b.Xa,"keypress",b,d);b.Fb=Q(b.Xa,"keydown",b.a,d,b);b.nb=Q(b.Xa,"keyup",b.b,d,b)}function uf(b){b.mb&&(R(b.mb),R(b.Fb),R(b.nb),b.mb=null,b.Fb=null,b.nb=null);b.Xa=null;b.X=-1;b.ra=-1}nf.prototype.H=function(){nf.L.H.call(this);uf(this)};function tf(b,c,d,e){Sb.call(this,e);this.type="key";this.c=b;this.h=c}G(tf,Sb);function vf(b,c){S.call(this);var d=this.a=b;(d=ma(d)&&1==d.nodeType?this.a:this.a?this.a.body:null)&&xe(d,"direction");this.b=Q(this.a,mb?"DOMMouseScroll":"mousewheel",this,c)}G(vf,S);
vf.prototype.handleEvent=function(b){var c=0,d=0,e=0;b=b.a;if("mousewheel"==b.type){d=1;if(K||M&&(ob||tb("532.0")))d=40;e=wf(-b.wheelDelta,d);v(b.wheelDeltaX)?(c=wf(-b.wheelDeltaX,d),d=wf(-b.wheelDeltaY,d)):d=e}else e=b.detail,100<e?e=3:-100>e&&(e=-3),v(b.axis)&&b.axis===b.HORIZONTAL_AXIS?c=e:d=e;ka(this.c)&&wb(c,-this.c,this.c);ka(this.f)&&(d=wb(d,-this.f,this.f));c=new xf(e,b,0,d);U(this,c)};function wf(b,c){return M&&(nb||pb)&&0!=b%c?b:b/c}
vf.prototype.H=function(){vf.L.H.call(this);R(this.b);this.b=null};function xf(b,c,d,e){Sb.call(this,c);this.type="mousewheel";this.detail=b;this.l=e}G(xf,Sb);function yf(b,c,d){N.call(this,b);this.b=c;b=v(d)?d:{};this.buttons=zf(b);this.pressure=Af(b,this.buttons);this.bubbles=gb(b,"bubbles",!1);this.cancelable=gb(b,"cancelable",!1);this.view=gb(b,"view",null);this.detail=gb(b,"detail",null);this.screenX=gb(b,"screenX",0);this.screenY=gb(b,"screenY",0);this.clientX=gb(b,"clientX",0);this.clientY=gb(b,"clientY",0);this.button=gb(b,"button",0);this.relatedTarget=gb(b,"relatedTarget",null);this.pointerId=gb(b,"pointerId",0);this.width=gb(b,"width",0);this.height=
gb(b,"height",0);this.pointerType=gb(b,"pointerType","");this.isPrimary=gb(b,"isPrimary",!1);c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}G(yf,N);function zf(b){if(b.buttons||Bf)b=b.buttons;else switch(b.which){case 1:b=1;break;case 2:b=4;break;case 3:b=2;break;default:b=0}return b}function Af(b,c){var d=0;b.pressure?d=b.pressure:d=c?.5:0;return d}var Bf=!1;try{Bf=1===(new MouseEvent("click",{buttons:1})).buttons}catch(Cf){};function Df(b,c){var d=document.createElement("CANVAS");v(b)&&(d.width=b);v(c)&&(d.height=c);return d.getContext("2d")};var Ef=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Ff(b,c){var d,e,f=Ef.length;for(e=0;e<f;++e)try{if(d=b.getContext(Ef[e],c),null!==d)return d}catch(h){}return null};var Gf,Hf=n.devicePixelRatio||1,If=!1,Jf=function(){if(!("HTMLCanvasElement"in n))return!1;try{var b=Df();if(null===b)return!1;v(b.setLineDash)&&(If=!0);return!0}catch(c){return!1}}(),Kf="ontouchstart"in n,Lf="PointerEvent"in n,Mf=!!n.navigator.msPointerEnabled,Nf=!1,Of=[];if("WebGLRenderingContext"in n)try{var Pf=Ff(document.createElement("CANVAS"),{Gc:!0});null!==Pf&&(Nf=!0,Of=Pf.getSupportedExtensions())}catch(Qf){}Gf=Nf;ta=Of;function Rf(b,c){this.a=b;this.o=c};function Sf(b){Rf.call(this,b,{mousedown:this.qd,mousemove:this.rd,mouseup:this.ud,mouseover:this.td,mouseout:this.sd});this.b=b.b;this.c=[]}G(Sf,Rf);function Tf(b,c){for(var d=b.c,e=c.clientX,f=c.clientY,h=0,g=d.length,k;h<g&&(k=d[h]);h++){var m=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=m)return!0}return!1}function Uf(b){var c=Vf(b,b.a),d=c.preventDefault;c.preventDefault=function(){b.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}l=Sf.prototype;
l.qd=function(b){if(!Tf(this,b)){if((1).toString()in this.b){var c=Uf(b);Z(this.a,Wf,c,b);fb(this.b,(1).toString())}c=Uf(b);this.b[(1).toString()]=b;Z(this.a,Xf,c,b)}};l.rd=function(b){if(!Tf(this,b)){var c=Uf(b);Z(this.a,Yf,c,b)}};l.ud=function(b){if(!Tf(this,b)){var c=this.b[(1).toString()];c&&c.button===b.button&&(c=Uf(b),Z(this.a,Zf,c,b),fb(this.b,(1).toString()))}};l.td=function(b){if(!Tf(this,b)){var c=Uf(b);$f(this.a,c,b)}};l.sd=function(b){if(!Tf(this,b)){var c=Uf(b);ag(this.a,c,b)}};function bg(b){Rf.call(this,b,{MSPointerDown:this.zd,MSPointerMove:this.Ad,MSPointerUp:this.Dd,MSPointerOut:this.Bd,MSPointerOver:this.Cd,MSPointerCancel:this.yd,MSGotPointerCapture:this.wd,MSLostPointerCapture:this.xd});this.b=b.b;this.c=["","unavailable","touch","pen","mouse"]}G(bg,Rf);function cg(b,c){var d=c;ka(c.a.pointerType)&&(d=Vf(c,c.a),d.pointerType=b.c[c.a.pointerType]);return d}l=bg.prototype;l.zd=function(b){this.b[b.a.pointerId]=b;var c=cg(this,b);Z(this.a,Xf,c,b)};
l.Ad=function(b){var c=cg(this,b);Z(this.a,Yf,c,b)};l.Dd=function(b){var c=cg(this,b);Z(this.a,Zf,c,b);fb(this.b,b.a.pointerId)};l.Bd=function(b){var c=cg(this,b);ag(this.a,c,b)};l.Cd=function(b){var c=cg(this,b);$f(this.a,c,b)};l.yd=function(b){var c=cg(this,b);Z(this.a,Wf,c,b);fb(this.b,b.a.pointerId)};l.xd=function(b){U(this.a,new yf("lostpointercapture",b,b.a))};l.wd=function(b){U(this.a,new yf("gotpointercapture",b,b.a))};function dg(b){Rf.call(this,b,{pointerdown:this.Ld,pointermove:this.Md,pointerup:this.Pd,pointerout:this.Nd,pointerover:this.Od,pointercancel:this.Kd,gotpointercapture:this.Rc,lostpointercapture:this.pd})}G(dg,Rf);l=dg.prototype;l.Ld=function(b){eg(this.a,b)};l.Md=function(b){eg(this.a,b)};l.Pd=function(b){eg(this.a,b)};l.Nd=function(b){eg(this.a,b)};l.Od=function(b){eg(this.a,b)};l.Kd=function(b){eg(this.a,b)};l.pd=function(b){eg(this.a,b)};l.Rc=function(b){eg(this.a,b)};function fg(b,c){Rf.call(this,b,{touchstart:this.be,touchmove:this.ae,touchend:this.$d,touchcancel:this.Zd});this.b=b.b;this.j=c;this.c=void 0;this.g=0;this.f=void 0}G(fg,Rf);l=fg.prototype;l.qc=function(){this.g=0;this.f=void 0};
gb(b,"height",0);this.pointerType=gb(b,"pointerType","");this.isPrimary=gb(b,"isPrimary",!1);c.preventDefault&&(this.preventDefault=function(){c.preventDefault()})}G(yf,N);function zf(b){if(b.buttons||Bf)b=b.buttons;else switch(b.which){case 1:b=1;break;case 2:b=4;break;case 3:b=2;break;default:b=0}return b}function Af(b,c){var d=0;b.pressure?d=b.pressure:d=c?.5:0;return d}var Bf=!1;try{Bf=1===(new MouseEvent("click",{buttons:1})).buttons}catch(Cf){};function Df(b,c){var d=document.createElement("CANVAS");v(b)&&(d.width=b);v(c)&&(d.height=c);return d.getContext("2d")};var Ef=["experimental-webgl","webgl","webkit-3d","moz-webgl"];function Ff(b,c){var d,e,f=Ef.length;for(e=0;e<f;++e)try{if(d=b.getContext(Ef[e],c),null!==d)return d}catch(h){}return null};var Gf,Hf=n.devicePixelRatio||1,If=!1,Jf=function(){if(!("HTMLCanvasElement"in n))return!1;try{var b=Df();if(null===b)return!1;v(b.setLineDash)&&(If=!0);return!0}catch(c){return!1}}(),Kf="ontouchstart"in n,Lf="PointerEvent"in n,Mf=!!n.navigator.msPointerEnabled,Nf=!1,Of=[];if("WebGLRenderingContext"in n)try{var Pf=Ff(document.createElement("CANVAS"),{Hc:!0});null!==Pf&&(Nf=!0,Of=Pf.getSupportedExtensions())}catch(Qf){}Gf=Nf;ta=Of;function Rf(b,c){this.a=b;this.o=c};function Sf(b){Rf.call(this,b,{mousedown:this.rd,mousemove:this.sd,mouseup:this.vd,mouseover:this.ud,mouseout:this.td});this.b=b.b;this.c=[]}G(Sf,Rf);function Tf(b,c){for(var d=b.c,e=c.clientX,f=c.clientY,h=0,g=d.length,k;h<g&&(k=d[h]);h++){var m=Math.abs(f-k[1]);if(25>=Math.abs(e-k[0])&&25>=m)return!0}return!1}function Uf(b){var c=Vf(b,b.a),d=c.preventDefault;c.preventDefault=function(){b.preventDefault();d()};c.pointerId=1;c.isPrimary=!0;c.pointerType="mouse";return c}l=Sf.prototype;
l.rd=function(b){if(!Tf(this,b)){if((1).toString()in this.b){var c=Uf(b);Z(this.a,Wf,c,b);fb(this.b,(1).toString())}c=Uf(b);this.b[(1).toString()]=b;Z(this.a,Xf,c,b)}};l.sd=function(b){if(!Tf(this,b)){var c=Uf(b);Z(this.a,Yf,c,b)}};l.vd=function(b){if(!Tf(this,b)){var c=this.b[(1).toString()];c&&c.button===b.button&&(c=Uf(b),Z(this.a,Zf,c,b),fb(this.b,(1).toString()))}};l.ud=function(b){if(!Tf(this,b)){var c=Uf(b);$f(this.a,c,b)}};l.td=function(b){if(!Tf(this,b)){var c=Uf(b);ag(this.a,c,b)}};function bg(b){Rf.call(this,b,{MSPointerDown:this.Ad,MSPointerMove:this.Bd,MSPointerUp:this.Ed,MSPointerOut:this.Cd,MSPointerOver:this.Dd,MSPointerCancel:this.zd,MSGotPointerCapture:this.xd,MSLostPointerCapture:this.yd});this.b=b.b;this.c=["","unavailable","touch","pen","mouse"]}G(bg,Rf);function cg(b,c){var d=c;ka(c.a.pointerType)&&(d=Vf(c,c.a),d.pointerType=b.c[c.a.pointerType]);return d}l=bg.prototype;l.Ad=function(b){this.b[b.a.pointerId]=b;var c=cg(this,b);Z(this.a,Xf,c,b)};
l.Bd=function(b){var c=cg(this,b);Z(this.a,Yf,c,b)};l.Ed=function(b){var c=cg(this,b);Z(this.a,Zf,c,b);fb(this.b,b.a.pointerId)};l.Cd=function(b){var c=cg(this,b);ag(this.a,c,b)};l.Dd=function(b){var c=cg(this,b);$f(this.a,c,b)};l.zd=function(b){var c=cg(this,b);Z(this.a,Wf,c,b);fb(this.b,b.a.pointerId)};l.yd=function(b){U(this.a,new yf("lostpointercapture",b,b.a))};l.xd=function(b){U(this.a,new yf("gotpointercapture",b,b.a))};function dg(b){Rf.call(this,b,{pointerdown:this.Md,pointermove:this.Nd,pointerup:this.Qd,pointerout:this.Od,pointerover:this.Pd,pointercancel:this.Ld,gotpointercapture:this.Sc,lostpointercapture:this.qd})}G(dg,Rf);l=dg.prototype;l.Md=function(b){eg(this.a,b)};l.Nd=function(b){eg(this.a,b)};l.Qd=function(b){eg(this.a,b)};l.Od=function(b){eg(this.a,b)};l.Pd=function(b){eg(this.a,b)};l.Ld=function(b){eg(this.a,b)};l.qd=function(b){eg(this.a,b)};l.Sc=function(b){eg(this.a,b)};function fg(b,c){Rf.call(this,b,{touchstart:this.ce,touchmove:this.be,touchend:this.ae,touchcancel:this.$d});this.b=b.b;this.j=c;this.c=void 0;this.g=0;this.f=void 0}G(fg,Rf);l=fg.prototype;l.qc=function(){this.g=0;this.f=void 0};
function gg(b,c,d){c=Vf(c,d);c.pointerId=d.identifier+2;c.bubbles=!0;c.cancelable=!0;c.detail=b.g;c.button=0;c.buttons=1;c.width=d.o||d.b||0;c.height=d.g||d.c||0;c.pressure=d.f||d.a||.5;c.isPrimary=b.c===d.identifier;c.pointerType="touch";c.clientX=d.clientX;c.clientY=d.clientY;c.screenX=d.screenX;c.screenY=d.screenY;return c}
function hg(b,c,d){function e(){c.preventDefault()}var f=Array.prototype.slice.call(c.a.changedTouches),h=f.length,g,k;for(g=0;g<h;++g)k=gg(b,c,f[g]),k.preventDefault=e,d.call(b,c,k)}
l.be=function(b){var c=b.a.touches,d=cb(this.b),e=d.length;if(e>=c.length){var f=[],h,g,k;for(h=0;h<e;++h){g=d[h];k=this.b[g];var m;if(!(m=1==g))a:{m=c.length;for(var p=void 0,q=0;q<m;q++)if(p=c[q],p.identifier===g-2){m=!0;break a}m=!1}m||f.push(k.Ca)}for(h=0;h<f.length;++h)this.yb(b,f[h])}c=ab(this.b);if(!(d=0===c)){if(c=1===c)c=(1).toString()in this.b;d=c}d&&(this.c=b.a.changedTouches[0].identifier,v(this.f)&&n.clearTimeout(this.f));ig(this,b);this.g++;hg(this,b,this.Jd)};
l.Jd=function(b,c){this.b[c.pointerId]={target:c.target,Ca:c,nc:c.target};var d=this.a;c.bubbles=!0;Z(d,jg,c,b);d=this.a;c.bubbles=!1;Z(d,kg,c,b);Z(this.a,Xf,c,b)};l.ae=function(b){b.preventDefault();hg(this,b,this.vd)};l.vd=function(b,c){var d=this.b[c.pointerId];if(d){var e=d.Ca,f=d.nc;Z(this.a,Yf,c,b);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(ag(this.a,e,b),$f(this.a,c,b)):(c.target=f,c.relatedTarget=null,this.yb(b,c)));d.Ca=c;d.nc=c.target}};
l.$d=function(b){ig(this,b);hg(this,b,this.de)};l.de=function(b,c){Z(this.a,Zf,c,b);this.a.Ca(c,b);var d=this.a;c.bubbles=!1;Z(d,lg,c,b);fb(this.b,c.pointerId);c.isPrimary&&(this.c=void 0,this.f=n.setTimeout(E(this.qc,this),200))};l.Zd=function(b){hg(this,b,this.yb)};l.yb=function(b,c){Z(this.a,Wf,c,b);this.a.Ca(c,b);var d=this.a;c.bubbles=!1;Z(d,lg,c,b);fb(this.b,c.pointerId);c.isPrimary&&(this.c=void 0,this.f=n.setTimeout(E(this.qc,this),200))};
l.ce=function(b){var c=b.a.touches,d=cb(this.b),e=d.length;if(e>=c.length){var f=[],h,g,k;for(h=0;h<e;++h){g=d[h];k=this.b[g];var m;if(!(m=1==g))a:{m=c.length;for(var p=void 0,q=0;q<m;q++)if(p=c[q],p.identifier===g-2){m=!0;break a}m=!1}m||f.push(k.Ca)}for(h=0;h<f.length;++h)this.yb(b,f[h])}c=ab(this.b);if(!(d=0===c)){if(c=1===c)c=(1).toString()in this.b;d=c}d&&(this.c=b.a.changedTouches[0].identifier,v(this.f)&&n.clearTimeout(this.f));ig(this,b);this.g++;hg(this,b,this.Kd)};
l.Kd=function(b,c){this.b[c.pointerId]={target:c.target,Ca:c,nc:c.target};var d=this.a;c.bubbles=!0;Z(d,jg,c,b);d=this.a;c.bubbles=!1;Z(d,kg,c,b);Z(this.a,Xf,c,b)};l.be=function(b){b.preventDefault();hg(this,b,this.wd)};l.wd=function(b,c){var d=this.b[c.pointerId];if(d){var e=d.Ca,f=d.nc;Z(this.a,Yf,c,b);e&&f!==c.target&&(e.relatedTarget=c.target,c.relatedTarget=f,e.target=f,c.target?(ag(this.a,e,b),$f(this.a,c,b)):(c.target=f,c.relatedTarget=null,this.yb(b,c)));d.Ca=c;d.nc=c.target}};
l.ae=function(b){ig(this,b);hg(this,b,this.ee)};l.ee=function(b,c){Z(this.a,Zf,c,b);this.a.Ca(c,b);var d=this.a;c.bubbles=!1;Z(d,lg,c,b);fb(this.b,c.pointerId);c.isPrimary&&(this.c=void 0,this.f=n.setTimeout(E(this.qc,this),200))};l.$d=function(b){hg(this,b,this.yb)};l.yb=function(b,c){Z(this.a,Wf,c,b);this.a.Ca(c,b);var d=this.a;c.bubbles=!1;Z(d,lg,c,b);fb(this.b,c.pointerId);c.isPrimary&&(this.c=void 0,this.f=n.setTimeout(E(this.qc,this),200))};
function ig(b,c){var d=b.j.c,e=c.a.changedTouches[0];if(b.c===e.identifier){var f=[e.clientX,e.clientY];d.push(f);n.setTimeout(function(){Ma(d,f)},2500)}};function mg(b){S.call(this);this.g=b;this.b={};this.f={};this.a=[];Lf?ng(this,new dg(this)):Mf?ng(this,new bg(this)):(b=new Sf(this),ng(this,b),Kf&&ng(this,new fg(this,b)));b=this.a.length;for(var c,d=0;d<b;d++)c=this.a[d],og(this,cb(c.o))}G(mg,S);function ng(b,c){var d=cb(c.o);d&&(J(d,function(b){var d=c.o[b];d&&(this.f[b]=E(d,c))},b),b.a.push(c))}mg.prototype.c=function(b){var c=this.f[b.type];c&&c(b)};function og(b,c){J(c,function(b){Q(this.g,b,this.c,!1,this)},b)}
function pg(b,c){J(c,function(b){nc(this.g,b,this.c,!1,this)},b)}function Vf(b,c){for(var d={},e,f=0,h=qg.length;f<h;f++)e=qg[f][0],d[e]=b[e]||c[e]||qg[f][1];return d}mg.prototype.Ca=function(b,c){b.bubbles=!0;Z(this,rg,b,c)};function ag(b,c,d){b.Ca(c,d);var e=c.relatedTarget;null!==e&&oe(c.target,e)||(c.bubbles=!1,Z(b,lg,c,d))}function $f(b,c,d){c.bubbles=!0;Z(b,jg,c,d);var e=c.relatedTarget;null!==e&&oe(c.target,e)||(c.bubbles=!1,Z(b,kg,c,d))}function Z(b,c,d,e){U(b,new yf(c,e,d))}
function eg(b,c){U(b,new yf(c.type,c,c.a))}mg.prototype.H=function(){for(var b=this.a.length,c,d=0;d<b;d++)c=this.a[d],pg(this,cb(c.o));mg.L.H.call(this)};
var Yf="pointermove",Xf="pointerdown",Zf="pointerup",jg="pointerover",rg="pointerout",kg="pointerenter",lg="pointerleave",Wf="pointercancel",qg=[["bubbles",!1],["cancelable",!1],["view",null],["detail",null],["screenX",0],["screenY",0],["clientX",0],["clientY",0],["ctrlKey",!1],["altKey",!1],["shiftKey",!1],["metaKey",!1],["button",0],["relatedTarget",null],["buttons",0],["pointerId",0],["width",0],["height",0],["pressure",0],["tiltX",0],["tiltY",0],["pointerType",""],["hwTimestamp",0],["isPrimary",
!1],["type",""],["target",null],["currentTarget",null],["which",0]];function sg(b,c,d,e,f){Je.call(this,b,c,f);this.b=d;this.originalEvent=d.a;this.pixel=We(c,this.originalEvent);this.coordinate=c.qa(this.pixel);this.dragging=v(e)?e:!1}G(sg,Je);sg.prototype.preventDefault=function(){sg.L.preventDefault.call(this);this.b.preventDefault()};sg.prototype.Ia=function(){sg.L.Ia.call(this);this.b.Ia()};function tg(b,c,d,e,f){sg.call(this,b,c,d.b,e,f);this.c=d}G(tg,sg);
function ug(b){S.call(this);this.c=b;this.j=0;this.h=!1;this.b=this.i=this.f=null;b=this.c.a;this.u=0;this.s={};this.g=new mg(b);this.a=null;this.i=Q(this.g,Xf,this.cd,!1,this);this.l=Q(this.g,Yf,this.Qd,!1,this)}G(ug,S);function vg(b,c){var d;d=new tg(wg,b.c,c);U(b,d);0!==b.j?(n.clearTimeout(b.j),b.j=0,d=new tg(xg,b.c,c),U(b,d)):b.j=n.setTimeout(E(function(){this.j=0;var b=new tg(yg,this.c,c);U(this,b)},b),250)}
function ug(b){S.call(this);this.c=b;this.j=0;this.h=!1;this.b=this.i=this.f=null;b=this.c.a;this.u=0;this.s={};this.g=new mg(b);this.a=null;this.i=Q(this.g,Xf,this.dd,!1,this);this.l=Q(this.g,Yf,this.Rd,!1,this)}G(ug,S);function vg(b,c){var d;d=new tg(wg,b.c,c);U(b,d);0!==b.j?(n.clearTimeout(b.j),b.j=0,d=new tg(xg,b.c,c),U(b,d)):b.j=n.setTimeout(E(function(){this.j=0;var b=new tg(yg,this.c,c);U(this,b)},b),250)}
function zg(b,c){c.type==Ag||c.type==Bg?delete b.s[c.pointerId]:c.type==Cg&&(b.s[c.pointerId]=!0);b.u=ab(b.s)}l=ug.prototype;l.fc=function(b){zg(this,b);var c=new tg(Ag,this.c,b);U(this,c);!this.h&&0===b.button&&vg(this,this.b);0===this.u&&(J(this.f,R),this.f=null,this.h=!1,this.b=null,Ob(this.a),this.a=null)};
l.cd=function(b){zg(this,b);var c=new tg(Cg,this.c,b);U(this,c);this.b=b;null===this.f&&(this.a=new mg(document),this.f=[Q(this.a,Dg,this.dd,!1,this),Q(this.a,Ag,this.fc,!1,this),Q(this.g,Bg,this.fc,!1,this)])};l.dd=function(b){if(b.clientX!=this.b.clientX||b.clientY!=this.b.clientY){this.h=!0;var c=new tg(Eg,this.c,b,this.h);U(this,c)}b.preventDefault()};l.Qd=function(b){U(this,new tg(b.type,this.c,b,null!==this.b&&(b.clientX!=this.b.clientX||b.clientY!=this.b.clientY)))};
l.H=function(){null!==this.l&&(R(this.l),this.l=null);null!==this.i&&(R(this.i),this.i=null);null!==this.f&&(J(this.f,R),this.f=null);null!==this.a&&(Ob(this.a),this.a=null);null!==this.g&&(Ob(this.g),this.g=null);ug.L.H.call(this)};var yg="singleclick",wg="click",xg="dblclick",Eg="pointerdrag",Dg="pointermove",Cg="pointerdown",Ag="pointerup",Bg="pointercancel",Fg={pe:yg,ee:wg,fe:xg,ie:Eg,le:Dg,he:Cg,oe:Ag,ne:"pointerover",me:"pointerout",je:"pointerenter",ke:"pointerleave",ge:Bg};function Gg(b){W.call(this);var c=hb(b);c.brightness=v(b.brightness)?b.brightness:0;c.contrast=v(b.contrast)?b.contrast:1;c.hue=v(b.hue)?b.hue:0;c.opacity=v(b.opacity)?b.opacity:1;c.saturation=v(b.saturation)?b.saturation:1;c.visible=v(b.visible)?b.visible:!0;c.maxResolution=v(b.maxResolution)?b.maxResolution:Infinity;c.minResolution=v(b.minResolution)?b.minResolution:0;this.da(c)}G(Gg,W);
function Hg(b){var c=b.get("brightness"),d=b.get("contrast"),e=b.get("hue"),f=b.get("opacity"),h=b.get("saturation"),g=b.Eb(),k=b.get("visible"),m=b.I(),p=b.get("maxResolution"),q=b.get("minResolution");return{layer:b,brightness:wb(c,-1,1),contrast:Math.max(d,0),hue:e,opacity:wb(f,0,1),saturation:Math.max(h,0),sc:g,visible:k,Ja:!0,extent:m,maxResolution:p,minResolution:Math.max(q,0)}}Gg.prototype.I=function(){return this.get("extent")};function Ig(){};function Jg(b,c,d,e,f,h){N.call(this,b,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=h}G(Jg,N);function Kg(b){var c=hb(b);delete c.source;Gg.call(this,c);this.c=this.h=this.g=null;v(b.map)&&this.setMap(b.map);Q(this,X("source"),this.kd,!1,this);this.set("source",v(b.source)?b.source:null)}G(Kg,Gg);function Lg(b,c){return b.visible&&c>=b.minResolution&&c<b.maxResolution}l=Kg.prototype;l.Db=function(b){b=v(b)?b:[];b.push(Hg(this));return b};l.Z=function(){var b=this.get("source");return v(b)?b:null};l.Eb=function(){var b=this.Z();return null===b?"undefined":b.D};l.Ed=function(){V(this)};
l.kd=function(){null!==this.c&&(R(this.c),this.c=null);var b=this.Z();null!==b&&(this.c=Q(b,"change",this.Ed,!1,this));V(this)};l.setMap=function(b){R(this.g);V(this);R(this.h);null!==b&&(this.g=Q(b,"precompose",function(b){var d=Hg(this);d.Ja=!1;b.frameState.layerStatesArray.push(d);b.frameState.layerStates[C(this)]=d},!1,this),this.h=Q(this,"change",b.render,!1,b))};function Mg(b,c,d,e,f){S.call(this);this.f=f;this.extent=b;this.h=d;this.resolution=c;this.state=e}G(Mg,S);Mg.prototype.I=function(){return this.extent};function Ng(b,c,d,e,f,h,g,k){Ec(b);0===c&&0===d||Gc(b,c,d);1==e&&1==f||Hc(b,e,f);0!==h&&Ic(b,h);0===g&&0===k||Gc(b,g,k);return b}function Og(b,c,d){var e=b[1],f=b[5],h=b[13],g=c[0];c=c[1];d[0]=b[0]*g+b[4]*c+b[12];d[1]=e*g+f*c+h;return d};function Pg(b){tc.call(this);this.a=b}G(Pg,tc);Pg.prototype.Ka=da;Pg.prototype.G=function(b){2===b.target.state&&Qg(this)};function Rg(b,c){var d=c.state;2!=d&&3!=d&&Q(c,"change",b.G,!1,b);0==d&&(c.load(),d=c.state);return 2==d}function Qg(b){var c=b.a;c.get("visible")&&"ready"==c.Eb()&&V(b)}function Sg(b,c){if(null!=c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],b[C(d).toString()]=d}}function Tg(b,c){var d=c.B;v(d)&&(z(d)?b.logos[d]="":ma(d)&&(b.logos[d.src]=d.href))};function Ug(b){this.i=b.opacity;this.l=b.rotateWithView;this.v=b.rotation;this.Ya=b.scale;this.u=b.snapToPixel}Ug.prototype.K=function(){return this.v};function Vg(){this.a={};this.b=0}ea(Vg);Vg.prototype.clear=function(){this.a={};this.b=0};Vg.prototype.get=function(b,c){var d=c+":"+b;return d in this.a?this.a[d]:null};Vg.prototype.set=function(b,c,d){this.a[c+":"+b]=d;++this.b};function Wg(b,c){Kb.call(this);this.h=c;this.c={};this.s={}}G(Wg,Kb);
function Xg(b){var c=b.viewState,d=b.coordinateToPixelMatrix;Ng(d,b.size[0]/2,b.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);b=b.pixelToCoordinateMatrix;var c=d[0],e=d[1],f=d[2],h=d[3],g=d[4],k=d[5],m=d[6],p=d[7],q=d[8],r=d[9],u=d[10],t=d[11],y=d[12],x=d[13],A=d[14],d=d[15],B=c*k-e*g,w=c*m-f*g,D=c*p-h*g,L=e*m-f*k,H=e*p-h*k,I=f*p-h*m,O=q*x-r*y,T=q*A-u*y,ba=q*d-t*y,ca=r*A-u*x,ja=r*d-t*x,Ga=u*d-t*A,P=B*Ga-w*ja+D*ca+L*ba-H*T+I*O;0!=P&&(P=1/P,b[0]=(k*Ga-m*ja+p*ca)*P,
b[1]=(-e*Ga+f*ja-h*ca)*P,b[2]=(x*I-A*H+d*L)*P,b[3]=(-r*I+u*H-t*L)*P,b[4]=(-g*Ga+m*ba-p*T)*P,b[5]=(c*Ga-f*ba+h*T)*P,b[6]=(-y*I+A*D-d*w)*P,b[7]=(q*I-u*D+t*w)*P,b[8]=(g*ja-k*ba+p*O)*P,b[9]=(-c*ja+e*ba-h*O)*P,b[10]=(y*H-x*D+d*B)*P,b[11]=(-q*H+r*D-t*B)*P,b[12]=(-g*ca+k*T-m*O)*P,b[13]=(c*ca-e*T+f*O)*P,b[14]=(-y*L+x*w-A*B)*P,b[15]=(q*L-r*w+u*B)*P)}l=Wg.prototype;l.H=function(){Za(this.c,Ob);Wg.L.H.call(this)};
l.dd=function(b){zg(this,b);var c=new tg(Cg,this.c,b);U(this,c);this.b=b;null===this.f&&(this.a=new mg(document),this.f=[Q(this.a,Dg,this.ed,!1,this),Q(this.a,Ag,this.fc,!1,this),Q(this.g,Bg,this.fc,!1,this)])};l.ed=function(b){if(b.clientX!=this.b.clientX||b.clientY!=this.b.clientY){this.h=!0;var c=new tg(Eg,this.c,b,this.h);U(this,c)}b.preventDefault()};l.Rd=function(b){U(this,new tg(b.type,this.c,b,null!==this.b&&(b.clientX!=this.b.clientX||b.clientY!=this.b.clientY)))};
l.H=function(){null!==this.l&&(R(this.l),this.l=null);null!==this.i&&(R(this.i),this.i=null);null!==this.f&&(J(this.f,R),this.f=null);null!==this.a&&(Ob(this.a),this.a=null);null!==this.g&&(Ob(this.g),this.g=null);ug.L.H.call(this)};var yg="singleclick",wg="click",xg="dblclick",Eg="pointerdrag",Dg="pointermove",Cg="pointerdown",Ag="pointerup",Bg="pointercancel",Fg={qe:yg,fe:wg,ge:xg,je:Eg,me:Dg,ie:Cg,pe:Ag,oe:"pointerover",ne:"pointerout",ke:"pointerenter",le:"pointerleave",he:Bg};function Gg(b){W.call(this);var c=hb(b);c.brightness=v(b.brightness)?b.brightness:0;c.contrast=v(b.contrast)?b.contrast:1;c.hue=v(b.hue)?b.hue:0;c.opacity=v(b.opacity)?b.opacity:1;c.saturation=v(b.saturation)?b.saturation:1;c.visible=v(b.visible)?b.visible:!0;c.maxResolution=v(b.maxResolution)?b.maxResolution:Infinity;c.minResolution=v(b.minResolution)?b.minResolution:0;this.da(c)}G(Gg,W);
function Hg(b){var c=b.get("brightness"),d=b.get("contrast"),e=b.get("hue"),f=b.get("opacity"),h=b.get("saturation"),g=b.Eb(),k=b.get("visible"),m=b.I(),p=b.get("maxResolution"),q=b.get("minResolution");return{layer:b,brightness:wb(c,-1,1),contrast:Math.max(d,0),hue:e,opacity:wb(f,0,1),saturation:Math.max(h,0),sc:g,visible:k,Ja:!0,extent:m,maxResolution:p,minResolution:Math.max(q,0)}}Gg.prototype.I=function(){return this.get("extent")};function Ig(){};function Jg(b,c,d,e,f,h){N.call(this,b,c);this.vectorContext=d;this.frameState=e;this.context=f;this.glContext=h}G(Jg,N);function Kg(b){var c=hb(b);delete c.source;Gg.call(this,c);this.c=this.h=this.g=null;v(b.map)&&this.setMap(b.map);Q(this,X("source"),this.ld,!1,this);this.set("source",v(b.source)?b.source:null)}G(Kg,Gg);function Lg(b,c){return b.visible&&c>=b.minResolution&&c<b.maxResolution}l=Kg.prototype;l.Db=function(b){b=v(b)?b:[];b.push(Hg(this));return b};l.Z=function(){var b=this.get("source");return v(b)?b:null};l.Eb=function(){var b=this.Z();return null===b?"undefined":b.D};l.Fd=function(){V(this)};
l.ld=function(){null!==this.c&&(R(this.c),this.c=null);var b=this.Z();null!==b&&(this.c=Q(b,"change",this.Fd,!1,this));V(this)};l.setMap=function(b){R(this.g);V(this);R(this.h);null!==b&&(this.g=Q(b,"precompose",function(b){var d=Hg(this);d.Ja=!1;b.frameState.layerStatesArray.push(d);b.frameState.layerStates[C(this)]=d},!1,this),this.h=Q(this,"change",b.render,!1,b))};function Mg(b,c,d,e,f){S.call(this);this.f=f;this.extent=b;this.h=d;this.resolution=c;this.state=e}G(Mg,S);Mg.prototype.I=function(){return this.extent};function Ng(b,c,d,e,f,h,g,k){Ec(b);0===c&&0===d||Gc(b,c,d);1==e&&1==f||Hc(b,e,f);0!==h&&Ic(b,h);0===g&&0===k||Gc(b,g,k);return b}function Og(b,c,d){var e=b[1],f=b[5],h=b[13],g=c[0];c=c[1];d[0]=b[0]*g+b[4]*c+b[12];d[1]=e*g+f*c+h;return d};function Pg(b){tc.call(this);this.a=b}G(Pg,tc);Pg.prototype.Ka=ba;Pg.prototype.G=function(b){2===b.target.state&&Qg(this)};function Rg(b,c){var d=c.state;2!=d&&3!=d&&Q(c,"change",b.G,!1,b);0==d&&(c.load(),d=c.state);return 2==d}function Qg(b){var c=b.a;c.get("visible")&&"ready"==c.Eb()&&V(b)}function Sg(b,c){if(null!=c){var d,e,f;e=0;for(f=c.length;e<f;++e)d=c[e],b[C(d).toString()]=d}}function Tg(b,c){var d=c.B;v(d)&&(z(d)?b.logos[d]="":ma(d)&&(b.logos[d.src]=d.href))};function Ug(b){this.i=b.opacity;this.l=b.rotateWithView;this.v=b.rotation;this.Ya=b.scale;this.u=b.snapToPixel}Ug.prototype.K=function(){return this.v};function Vg(){this.a={};this.b=0}ea(Vg);Vg.prototype.clear=function(){this.a={};this.b=0};Vg.prototype.get=function(b,c){var d=c+":"+b;return d in this.a?this.a[d]:null};Vg.prototype.set=function(b,c,d){this.a[c+":"+b]=d;++this.b};function Wg(b,c){Kb.call(this);this.h=c;this.c={};this.s={}}G(Wg,Kb);
function Xg(b){var c=b.viewState,d=b.coordinateToPixelMatrix;Ng(d,b.size[0]/2,b.size[1]/2,1/c.resolution,-1/c.resolution,-c.rotation,-c.center[0],-c.center[1]);b=b.pixelToCoordinateMatrix;var c=d[0],e=d[1],f=d[2],h=d[3],g=d[4],k=d[5],m=d[6],p=d[7],q=d[8],r=d[9],u=d[10],t=d[11],y=d[12],x=d[13],A=d[14],d=d[15],B=c*k-e*g,w=c*m-f*g,D=c*p-h*g,L=e*m-f*k,H=e*p-h*k,I=f*p-h*m,O=q*x-r*y,T=q*A-u*y,ca=q*d-t*y,da=r*A-u*x,ja=r*d-t*x,Ga=u*d-t*A,P=B*Ga-w*ja+D*da+L*ca-H*T+I*O;0!=P&&(P=1/P,b[0]=(k*Ga-m*ja+p*da)*P,
b[1]=(-e*Ga+f*ja-h*da)*P,b[2]=(x*I-A*H+d*L)*P,b[3]=(-r*I+u*H-t*L)*P,b[4]=(-g*Ga+m*ca-p*T)*P,b[5]=(c*Ga-f*ca+h*T)*P,b[6]=(-y*I+A*D-d*w)*P,b[7]=(q*I-u*D+t*w)*P,b[8]=(g*ja-k*ca+p*O)*P,b[9]=(-c*ja+e*ca-h*O)*P,b[10]=(y*H-x*D+d*B)*P,b[11]=(-q*H+r*D-t*B)*P,b[12]=(-g*da+k*T-m*O)*P,b[13]=(c*da-e*T+f*O)*P,b[14]=(-y*L+x*w-A*B)*P,b[15]=(q*L-r*w+u*B)*P)}l=Wg.prototype;l.H=function(){Za(this.c,Ob);Wg.L.H.call(this)};
function Yg(){var b=Vg.ka();if(32<b.b){var c=0,d,e;for(d in b.a){e=b.a[d];var f;if(f=0===(c++&3))Wb(e)?e=sc(e,void 0,void 0):(e=ic(e),e=!!e&&cc(e,void 0,void 0)),f=!e;f&&(delete b.a[d],--b.b)}}}
l.jc=function(b,c,d,e,f,h){var g,k=c.viewState,m=k.resolution,p=k.projection,k=b;if(p.b){g=p.I();var p=g[2]-g[0],q=b[0];if(q<g[0]||q>g[2])k=Math.ceil((g[0]-q)/p),k=[q+p*k,b[1]]}p=c.layerStatesArray;for(q=p.length-1;0<=q;--q){g=p[q];var r=g.layer;if(!g.Ja||Lg(g,m)&&f.call(h,r))if(g=Zg(this,r).Ka(Ne(r.Z())?k:b,c,d,e))return g}};function Zg(b,c){var d=C(c).toString();if(d in b.c)return b.c[d];var e=b.Ub(c);b.c[d]=e;b.s[d]=Q(e,"change",b.Xc,!1,b);return e}l.Xc=function(){this.h.render()};l.Ib=da;
l.Sd=function(b,c){for(var d in this.c)if(!(null!==c&&d in c.layerStates)){var e=d,f=this.c[e];delete this.c[e];R(this.s[e]);delete this.s[e];Ob(f)}};function $g(b,c){for(var d in b.c)if(!(d in c.layerStates)){c.postRenderFunctions.push(E(b.Sd,b));break}};function ah(b,c){this.j=b;this.g=c;this.a=[];this.b=[];this.f={}}ah.prototype.clear=function(){this.a.length=0;this.b.length=0;eb(this.f)};function bh(b){var c=b.a,d=b.b,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),ch(b,0));c=b.g(e);delete b.f[c];return e}ah.prototype.Va=function(){return this.a.length};ah.prototype.W=function(){return 0===this.a.length};
l.jc=function(b,c,d,e,f,h){var g,k=c.viewState,m=k.resolution,p=k.projection,k=b;if(p.b){g=p.I();var p=g[2]-g[0],q=b[0];if(q<g[0]||q>g[2])k=Math.ceil((g[0]-q)/p),k=[q+p*k,b[1]]}p=c.layerStatesArray;for(q=p.length-1;0<=q;--q){g=p[q];var r=g.layer;if(!g.Ja||Lg(g,m)&&f.call(h,r))if(g=Zg(this,r).Ka(Ne(r.Z())?k:b,c,d,e))return g}};function Zg(b,c){var d=C(c).toString();if(d in b.c)return b.c[d];var e=b.Ub(c);b.c[d]=e;b.s[d]=Q(e,"change",b.Yc,!1,b);return e}l.Yc=function(){this.h.render()};l.Ib=ba;
l.Td=function(b,c){for(var d in this.c)if(!(null!==c&&d in c.layerStates)){var e=d,f=this.c[e];delete this.c[e];R(this.s[e]);delete this.s[e];Ob(f)}};function $g(b,c){for(var d in b.c)if(!(d in c.layerStates)){c.postRenderFunctions.push(E(b.Td,b));break}};function ah(b,c){this.j=b;this.g=c;this.a=[];this.b=[];this.f={}}ah.prototype.clear=function(){this.a.length=0;this.b.length=0;eb(this.f)};function bh(b){var c=b.a,d=b.b,e=c[0];1==c.length?(c.length=0,d.length=0):(c[0]=c.pop(),d[0]=d.pop(),ch(b,0));c=b.g(e);delete b.f[c];return e}ah.prototype.Va=function(){return this.a.length};ah.prototype.W=function(){return 0===this.a.length};
function ch(b,c){for(var d=b.a,e=b.b,f=d.length,h=d[c],g=e[c],k=c;c<f>>1;){var m=2*c+1,p=2*c+2,m=p<f&&e[p]<e[m]?p:m;d[c]=d[m];e[c]=e[m];c=m}d[c]=h;e[c]=g;d=c;e=b.a;f=b.b;h=e[d];for(g=f[d];d>k;)if(m=d-1>>1,f[m]>g)e[d]=e[m],f[d]=f[m],d=m;else break;e[d]=h;f[d]=g}function dh(b){var c=b.j,d=b.a,e=b.b,f=0,h=d.length,g,k,m;for(k=0;k<h;++k)g=d[k],m=c(g),Infinity==m?delete b.f[b.g(g)]:(e[f]=m,d[f++]=g);d.length=f;e.length=f;for(c=(b.a.length>>1)-1;0<=c;c--)ch(b,c)};function eh(b,c){ah.call(this,function(c){return b.apply(null,c)},function(b){return b[0].getKey()});this.w=c;this.c=0}G(eh,ah);eh.prototype.o=function(b){b=b.target;var c=b.b();if(2===c||3===c||4===c)nc(b,"change",this.o,!1,this),--this.c,this.w()};function fh(){this.a=[];this.b=this.c=0}function gh(b,c){var d=b.b,e=.05-d,f=Math.log(.05/b.b)/-.005;return Pd({source:c,duration:f,easing:function(b){return d*(Math.exp(-.005*b*f)-1)/e}})};function hh(b){W.call(this);this.u=null;this.set("active",!0);this.handleEvent=b.handleEvent}G(hh,W);hh.prototype.setMap=function(b){this.u=b};function ih(b,c,d,e,f){if(null!=d){var h=c.K(),g=c.R();v(h)&&v(g)&&v(f)&&0<f&&(b.ea(Qd({rotation:h,duration:f,easing:Md})),v(e)&&b.ea(Pd({source:g,duration:f,easing:Md})));c.rotate(d,e)}}function jh(b,c,d,e,f){var h=c.Y();d=c.constrainResolution(h,d,0);kh(b,c,d,e,f)}
function kh(b,c,d,e,f){if(null!=d){var h=c.Y(),g=c.R();v(h)&&v(g)&&v(f)&&0<f&&(b.ea(Rd({resolution:h,duration:f,easing:Md})),v(e)&&b.ea(Pd({source:g,duration:f,easing:Md})));if(null!=e){var k;b=c.R();f=c.Y();v(b)&&v(f)&&(k=[e[0]-d*(e[0]-b[0])/f,e[1]-d*(e[1]-b[1])/f]);c.fa(k)}Ld(c,d)}};function lh(b){b=v(b)?b:{};this.a=v(b.delta)?b.delta:1;hh.call(this,{handleEvent:mh});this.b=v(b.duration)?b.duration:250}G(lh,hh);function mh(b){var c=!1,d=b.b;if(b.type==xg){var c=b.map,e=b.coordinate,d=d.o?-this.a:this.a,f=c.C();jh(c,f,d,e,this.b);b.preventDefault();c=!0}return!c};function nh(b){b=b.b;return b.b&&!b.w&&b.o}function oh(b){b=b.b;return!b.b&&!b.w&&!b.o}function ph(b){b=b.b;return!b.b&&!b.w&&b.o}function qh(b){b=b.b.target.tagName;return"INPUT"!==b&&"SELECT"!==b&&"TEXTAREA"!==b};function rh(b){b=v(b)?b:{};hh.call(this,{handleEvent:v(b.handleEvent)?b.handleEvent:sh});this.v=v(b.handleDownEvent)?b.handleDownEvent:Xc;this.A=v(b.handleDragEvent)?b.handleDragEvent:da;this.B=v(b.handleMoveEvent)?b.handleMoveEvent:da;this.D=v(b.handleUpEvent)?b.handleUpEvent:Xc;this.c=!1;this.l={};this.a=[]}G(rh,hh);function th(b){for(var c=b.length,d=0,e=0,f=0;f<c;f++)d+=b[f].clientX,e+=b[f].clientY;return[d/c,e/c]}
function kh(b,c,d,e,f){if(null!=d){var h=c.Y(),g=c.R();v(h)&&v(g)&&v(f)&&0<f&&(b.ea(Rd({resolution:h,duration:f,easing:Md})),v(e)&&b.ea(Pd({source:g,duration:f,easing:Md})));if(null!=e){var k;b=c.R();f=c.Y();v(b)&&v(f)&&(k=[e[0]-d*(e[0]-b[0])/f,e[1]-d*(e[1]-b[1])/f]);c.fa(k)}Ld(c,d)}};function lh(b){b=v(b)?b:{};this.a=v(b.delta)?b.delta:1;hh.call(this,{handleEvent:mh});this.b=v(b.duration)?b.duration:250}G(lh,hh);function mh(b){var c=!1,d=b.b;if(b.type==xg){var c=b.map,e=b.coordinate,d=d.o?-this.a:this.a,f=c.C();jh(c,f,d,e,this.b);b.preventDefault();c=!0}return!c};function nh(b){b=b.b;return b.b&&!b.w&&b.o}function oh(b){b=b.b;return!b.b&&!b.w&&!b.o}function ph(b){b=b.b;return!b.b&&!b.w&&b.o}function qh(b){b=b.b.target.tagName;return"INPUT"!==b&&"SELECT"!==b&&"TEXTAREA"!==b};function rh(b){b=v(b)?b:{};hh.call(this,{handleEvent:v(b.handleEvent)?b.handleEvent:sh});this.v=v(b.handleDownEvent)?b.handleDownEvent:Xc;this.A=v(b.handleDragEvent)?b.handleDragEvent:ba;this.B=v(b.handleMoveEvent)?b.handleMoveEvent:ba;this.D=v(b.handleUpEvent)?b.handleUpEvent:Xc;this.c=!1;this.l={};this.a=[]}G(rh,hh);function th(b){for(var c=b.length,d=0,e=0,f=0;f<c;f++)d+=b[f].clientX,e+=b[f].clientY;return[d/c,e/c]}
function sh(b){if(!(b instanceof tg))return!0;var c=!1,d=b.type;if(d===Cg||d===Eg||d===Ag)d=b.c,b.type==Ag?delete this.l[d.pointerId]:b.type==Cg?this.l[d.pointerId]=d:d.pointerId in this.l&&(this.l[d.pointerId]=d),this.a=bb(this.l);this.c&&(b.type==Eg?this.A(b):b.type==Ag&&(this.c=this.D(b)));b.type==Cg?(this.c=b=this.v(b),c=this.i(b)):b.type==Dg&&this.B(b);return!c}rh.prototype.i=function(b){return b};function uh(b){rh.call(this,{handleDownEvent:vh,handleDragEvent:wh,handleUpEvent:xh});b=v(b)?b:{};this.b=b.kinetic;this.g=this.h=null;this.G=v(b.condition)?b.condition:oh;this.s=!1}G(uh,rh);function wh(b){var c=th(this.a);this.b&&this.b.a.push(c[0],c[1],sa());if(null!==this.g){var d=this.g[0]-c[0],e=c[1]-this.g[1];b=b.map;var f=b.C(),h=Id(f),e=d=[d,e],g=h.resolution;e[0]*=g;e[1]*=g;xc(d,h.rotation);wc(d,h.center);d=f.a.center(d);b.render();f.fa(d)}this.g=c}
function xh(b){b=b.map;var c=b.C();if(0===this.a.length){var d;if(d=!this.s&&this.b)if(d=this.b,6>d.a.length)d=!1;else{var e=sa()-100,f=d.a.length-3;if(d.a[f+2]<e)d=!1;else{for(var h=f-3;0<h&&d.a[h+2]>e;)h-=3;var e=d.a[f+2]-d.a[h+2],g=d.a[f]-d.a[h],f=d.a[f+1]-d.a[h+1];d.c=Math.atan2(f,g);d.b=Math.sqrt(g*g+f*f)/e;d=.05<d.b}}d&&(d=(.05-this.b.b)/-.005,f=this.b.c,h=c.R(),this.h=gh(this.b,h),b.ea(this.h),h=yh(b,h),d=b.qa([h[0]-d*Math.cos(f),h[1]-d*Math.sin(f)]),d=c.a.center(d),c.fa(d));Kd(c,-1);b.render();
return!1}this.g=null;return!0}function vh(b){if(0<this.a.length&&this.G(b)){var c=b.map,d=c.C();this.g=null;this.c||Kd(d,1);c.render();null!==this.h&&Ma(c.u,this.h)&&(d.fa(b.frameState.viewState.center),this.h=null);this.b&&(b=this.b,b.a.length=0,b.c=0,b.b=0);this.s=1<this.a.length;return!0}return!1}uh.prototype.i=Xc;function zh(b){b=v(b)?b:{};rh.call(this,{handleDownEvent:Ah,handleDragEvent:Bh,handleUpEvent:Ch});this.g=v(b.condition)?b.condition:nh;this.b=void 0;this.h=v(b.duration)?b.duration:250}G(zh,rh);function Bh(b){if(1==b.c.pointerId){var c=b.map,d=Dh(c);b=b.pixel;d=Math.atan2(d[1]/2-b[1],b[0]-d[0]/2);if(v(this.b)){b=d-this.b;var e=c.C(),f=e.K();c.render();ih(c,e,f-b)}this.b=d}}
function Ch(b){if(1!=b.c.pointerId)return!0;b=b.map;var c=b.C();Kd(c,-1);var d=c.K(),e=this.h,d=c.constrainRotation(d,0);ih(b,c,d,void 0,e);return!1}function Ah(b){return 1==b.c.pointerId&&Ub(b.b)&&this.g(b)?(b=b.map,Kd(b.C(),1),b.render(),this.b=void 0,!0):!1}zh.prototype.i=Xc;function Eh(b){this.c=this.b=this.f=this.g=this.a=null;this.h=b}G(Eh,Kb);function Fh(b){var c=b.f,d=b.b;b=Ja([c,[c[0],d[1]],d,[d[0],c[1]]],b.a.qa,b.a);b[4]=b[0].slice();return new Cd([b])}Eh.prototype.H=function(){this.setMap(null)};Eh.prototype.j=function(b){var c=this.c,d=this.h;b.vectorContext.Xb(Infinity,function(b){b.ma(d.va(),d.la());b.ha(d.ga);b.Ta(c,null)})};Eh.prototype.M=function(){return this.c};function Gh(b){null===b.a||null===b.f||null===b.b||b.a.render()}
Eh.prototype.setMap=function(b){null!==this.g&&(R(this.g),this.g=null,this.a.render(),this.a=null);this.a=b;null!==this.a&&(this.g=Q(b,"postcompose",this.j,!1,this),Gh(this))};function Hh(b,c){N.call(this,b);this.coordinate=c}G(Hh,N);function Ih(b){rh.call(this,{handleDownEvent:Jh,handleDragEvent:Kh,handleUpEvent:Lh});b=v(b)?b:{};this.g=new Eh(v(b.style)?b.style:null);this.b=null;this.s=v(b.condition)?b.condition:Yc}G(Ih,rh);function Kh(b){if(1==b.c.pointerId){var c=this.g;b=b.pixel;c.f=this.b;c.b=b;c.c=Fh(c);Gh(c)}}Ih.prototype.M=function(){return this.g.M()};Ih.prototype.h=da;
Eh.prototype.setMap=function(b){null!==this.g&&(R(this.g),this.g=null,this.a.render(),this.a=null);this.a=b;null!==this.a&&(this.g=Q(b,"postcompose",this.j,!1,this),Gh(this))};function Hh(b,c){N.call(this,b);this.coordinate=c}G(Hh,N);function Ih(b){rh.call(this,{handleDownEvent:Jh,handleDragEvent:Kh,handleUpEvent:Lh});b=v(b)?b:{};this.g=new Eh(v(b.style)?b.style:null);this.b=null;this.s=v(b.condition)?b.condition:Yc}G(Ih,rh);function Kh(b){if(1==b.c.pointerId){var c=this.g;b=b.pixel;c.f=this.b;c.b=b;c.c=Fh(c);Gh(c)}}Ih.prototype.M=function(){return this.g.M()};Ih.prototype.h=ba;
function Lh(b){if(1!=b.c.pointerId)return!0;this.g.setMap(null);var c=b.pixel[0]-this.b[0],d=b.pixel[1]-this.b[1];64<=c*c+d*d&&(this.h(b),U(this,new Hh("boxend",b.coordinate)));return!1}function Jh(b){if(1==b.c.pointerId&&Ub(b.b)&&this.s(b)){this.b=b.pixel;this.g.setMap(b.map);var c=this.g,d=this.b;c.f=this.b;c.b=d;c.c=Fh(c);Gh(c);U(this,new Hh("boxstart",b.coordinate));return!0}return!1};function Mh(){this.b=-1};function Nh(){this.b=-1;this.b=64;this.a=Array(4);this.o=Array(this.b);this.f=this.c=0;this.a[0]=1732584193;this.a[1]=4023233417;this.a[2]=2562383102;this.a[3]=271733878;this.f=this.c=0}G(Nh,Mh);
function Oh(b,c,d){d||(d=0);var e=Array(16);if(z(c))for(var f=0;16>f;++f)e[f]=c.charCodeAt(d++)|c.charCodeAt(d++)<<8|c.charCodeAt(d++)<<16|c.charCodeAt(d++)<<24;else for(f=0;16>f;++f)e[f]=c[d++]|c[d++]<<8|c[d++]<<16|c[d++]<<24;c=b.a[0];d=b.a[1];var f=b.a[2],h=b.a[3],g=0,g=c+(h^d&(f^h))+e[0]+3614090360&4294967295;c=d+(g<<7&4294967295|g>>>25);g=h+(f^c&(d^f))+e[1]+3905402710&4294967295;h=c+(g<<12&4294967295|g>>>20);g=f+(d^h&(c^d))+e[2]+606105819&4294967295;f=h+(g<<17&4294967295|g>>>15);g=d+(c^f&(h^c))+
e[3]+3250441966&4294967295;d=f+(g<<22&4294967295|g>>>10);g=c+(h^d&(f^h))+e[4]+4118548399&4294967295;c=d+(g<<7&4294967295|g>>>25);g=h+(f^c&(d^f))+e[5]+1200080426&4294967295;h=c+(g<<12&4294967295|g>>>20);g=f+(d^h&(c^d))+e[6]+2821735955&4294967295;f=h+(g<<17&4294967295|g>>>15);g=d+(c^f&(h^c))+e[7]+4249261313&4294967295;d=f+(g<<22&4294967295|g>>>10);g=c+(h^d&(f^h))+e[8]+1770035416&4294967295;c=d+(g<<7&4294967295|g>>>25);g=h+(f^c&(d^f))+e[9]+2336552879&4294967295;h=c+(g<<12&4294967295|g>>>20);g=f+(d^h&
@ -148,17 +148,17 @@ d=f+(g<<21&4294967295|g>>>11);g=c+(f^(d|~h))+e[4]+4149444226&4294967295;c=d+(g<<
function Ph(b,c){var d;v(d)||(d=c.length);for(var e=d-b.b,f=b.o,h=b.c,g=0;g<d;){if(0==h)for(;g<=e;)Oh(b,c,g),g+=b.b;if(z(c))for(;g<d;){if(f[h++]=c.charCodeAt(g++),h==b.b){Oh(b,f);h=0;break}}else for(;g<d;)if(f[h++]=c[g++],h==b.b){Oh(b,f);h=0;break}}b.c=h;b.f+=d};function Qh(b){b=v(b)?b:{};this.c=v(b.color)?b.color:null;this.za=b.lineCap;this.a=v(b.lineDash)?b.lineDash:null;this.Aa=b.lineJoin;this.Ba=b.miterLimit;this.f=b.width;this.b=void 0}Qh.prototype.V=function(){return this.c};Qh.prototype.getLineDash=function(){return this.a};Qh.prototype.xa=function(){return this.f};
Qh.prototype.Ua=function(){if(!v(this.b)){var b="s"+(null===this.c?"-":Xd(this.c))+","+(v(this.za)?this.za.toString():"-")+","+(null===this.a?"-":this.a.toString())+","+(v(this.Aa)?this.Aa:"-")+","+(v(this.Ba)?this.Ba.toString():"-")+","+(v(this.f)?this.f.toString():"-"),c=new Nh;Ph(c,b);var d=Array((56>c.c?c.b:2*c.b)-c.c);d[0]=128;for(b=1;b<d.length-8;++b)d[b]=0;for(var e=8*c.f,b=d.length-8;b<d.length;++b)d[b]=e&255,e/=256;Ph(c,d);d=Array(16);for(b=e=0;4>b;++b)for(var f=0;32>f;f+=8)d[e++]=c.a[b]>>>
f&255;if(8192>d.length)c=String.fromCharCode.apply(null,d);else for(c="",b=0;b<d.length;b+=8192)c+=String.fromCharCode.apply(null,Qa(d,b,b+8192));this.b=c}return this.b};var Rh=[0,0,0,1],Sh=[],Th=[0,0,0,1];function Uh(b){b=v(b)?b:{};this.b=v(b.color)?b.color:null;this.a=void 0}Uh.prototype.V=function(){return this.b};Uh.prototype.Ua=function(){v(this.a)||(this.a="f"+(null===this.b?"-":Xd(this.b)));return this.a};function Vh(b){b=v(b)?b:{};this.c=this.a=this.g=null;this.f=v(b.fill)?b.fill:null;this.b=v(b.stroke)?b.stroke:null;this.o=b.radius;this.w=[0,0];this.s=this.h=this.j=null;var c=b.atlasManager,d,e=null,f,h=0;null!==this.b&&(f=Xd(this.b.V()),h=this.b.xa(),v(h)||(h=1),e=this.b.getLineDash(),If||(e=null));var g=2*(this.o+h)+1;f={strokeStyle:f,tc:h,size:g,lineDash:e};v(c)?(g=Math.round(g),(e=null===this.f)&&(d=E(this.Yb,this,f)),h=this.Ua(),f=c.add(h,g,g,E(this.Zb,this,f),d),this.a=f.image,this.w=[f.offsetX,
f.offsetY],d=f.image.width,e?this.c=f.se:this.c=this.a):(this.a=document.createElement("CANVAS"),this.a.height=g,this.a.width=g,d=g=this.a.width,c=this.a.getContext("2d"),this.Zb(f,c,0,0),null===this.f?(c=this.c=document.createElement("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.Yb(f,c,0,0)):this.c=this.a);this.j=[g/2,g/2];this.h=[g,g];this.s=[d,d];Ug.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:v(b.snapToPixel)?b.snapToPixel:!0})}G(Vh,Ug);l=Vh.prototype;
l.va=function(){return this.f};l.la=function(){return this.b};l.load=da;l.ce=da;l.Zb=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.o,0,2*Math.PI,!0);null!==this.f&&(c.fillStyle=Xd(this.f.V()),c.fill());null!==this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.tc,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};
f.offsetY],d=f.image.width,e?this.c=f.te:this.c=this.a):(this.a=document.createElement("CANVAS"),this.a.height=g,this.a.width=g,d=g=this.a.width,c=this.a.getContext("2d"),this.Zb(f,c,0,0),null===this.f?(c=this.c=document.createElement("CANVAS"),c.height=f.size,c.width=f.size,c=c.getContext("2d"),this.Yb(f,c,0,0)):this.c=this.a);this.j=[g/2,g/2];this.h=[g,g];this.s=[d,d];Ug.call(this,{opacity:1,rotateWithView:!1,rotation:0,scale:1,snapToPixel:v(b.snapToPixel)?b.snapToPixel:!0})}G(Vh,Ug);l=Vh.prototype;
l.va=function(){return this.f};l.la=function(){return this.b};l.load=ba;l.de=ba;l.Zb=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.o,0,2*Math.PI,!0);null!==this.f&&(c.fillStyle=Xd(this.f.V()),c.fill());null!==this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.tc,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};
l.Yb=function(b,c,d,e){c.setTransform(1,0,0,1,0,0);c.translate(d,e);c.beginPath();c.arc(b.size/2,b.size/2,this.o,0,2*Math.PI,!0);c.fillStyle=Rh;c.fill();null!==this.b&&(c.strokeStyle=b.strokeStyle,c.lineWidth=b.tc,null===b.lineDash||c.setLineDash(b.lineDash),c.stroke());c.closePath()};l.Ua=function(){var b=null===this.b?"-":this.b.Ua(),c=null===this.f?"-":this.f.Ua();if(null===this.g||b!=this.g[1]||c!=this.g[2]||this.o!=this.g[3])this.g=["c"+b+c+(v(this.o)?this.o.toString():"-"),b,c,this.o];return this.g[0]};function Wh(b){b=v(b)?b:{};this.f=null;this.b=Xh;v(b.geometry)&&Yh(this,b.geometry);this.o=v(b.fill)?b.fill:null;this.c=v(b.image)?b.image:null;this.g=v(b.stroke)?b.stroke:null;this.ga=v(b.text)?b.text:null;this.a=b.zIndex}Wh.prototype.M=function(){return this.f};Wh.prototype.va=function(){return this.o};Wh.prototype.la=function(){return this.g};function Yh(b,c){la(c)?b.b=c:z(c)?b.b=function(b){return b.get(c)}:null===c?b.b=Xh:v(c)&&(b.b=function(){return c});b.f=c}
function Zh(){var b=new Uh({color:"rgba(255,255,255,0.4)"}),c=new Qh({color:"#3399CC",width:1.25}),d=[new Wh({image:new Vh({fill:b,stroke:c,radius:5}),fill:b,stroke:c})];Zh=function(){return d};return d}function Xh(b){return b.M()};function $h(b){var c=v(b)?b:{};b=v(c.condition)?c.condition:ph;this.G=v(c.duration)?c.duration:200;c=v(c.style)?c.style:new Wh({stroke:new Qh({color:[0,0,255,1]})});Ih.call(this,{condition:b,style:c})}G($h,Ih);$h.prototype.h=function(){var b=this.u,c=b.C(),d=this.M().I(),e=Rc(d),f=Dh(b),d=Math.max((d[2]-d[0])/f[0],Tc(d)/f[1]),f=this.G,d=c.constrainResolution(d,0,void 0);kh(b,c,d,e,f)};function ai(b){hh.call(this,{handleEvent:bi});b=v(b)?b:{};this.a=v(b.condition)?b.condition:ad(oh,qh);this.b=v(b.duration)?b.duration:100;this.c=v(b.pixelDelta)?b.pixelDelta:128}G(ai,hh);
function bi(b){var c=!1;if("key"==b.type){var d=b.b.c;if(this.a(b)&&(40==d||37==d||39==d||38==d)){var e=b.map,c=e.C(),f=Id(c),h=f.resolution*this.c,g=0,k=0;40==d?k=-h:37==d?g=-h:39==d?g=h:k=h;d=[g,k];xc(d,f.rotation);f=this.b;h=c.R();v(h)&&(v(f)&&0<f&&e.ea(Pd({source:h,duration:f,easing:Od})),e=c.a.center([h[0]+d[0],h[1]+d[1]]),c.fa(e));b.preventDefault();c=!0}}return!c};function ci(b){hh.call(this,{handleEvent:di});b=v(b)?b:{};this.b=v(b.condition)?b.condition:qh;this.a=v(b.delta)?b.delta:1;this.c=v(b.duration)?b.duration:100}G(ci,hh);function di(b){var c=!1;if("key"==b.type){var d=b.b.h;if(this.b(b)&&(43==d||45==d)){c=b.map;d=43==d?this.a:-this.a;c.render();var e=c.C();jh(c,e,d,void 0,this.c);b.preventDefault();c=!0}}return!c};function ei(b){hh.call(this,{handleEvent:fi});b=v(b)?b:{};this.a=0;this.i=v(b.duration)?b.duration:250;this.c=null;this.g=this.b=void 0}G(ei,hh);function fi(b){var c=!1;if("mousewheel"==b.type){var c=b.map,d=b.b;this.c=b.coordinate;this.a+=d.l;v(this.b)||(this.b=sa());d=Math.max(80-(sa()-this.b),0);n.clearTimeout(this.g);this.g=n.setTimeout(E(this.h,this,c),d);b.preventDefault();c=!0}return!c}
ei.prototype.h=function(b){var c=wb(this.a,-1,1),d=b.C();b.render();jh(b,d,-c,this.c,this.i);this.a=0;this.c=null;this.g=this.b=void 0};function gi(b){rh.call(this,{handleDownEvent:hi,handleDragEvent:ii,handleUpEvent:ji});b=v(b)?b:{};this.g=null;this.h=void 0;this.b=!1;this.s=0;this.J=v(b.threshold)?b.threshold:.3;this.G=v(b.duration)?b.duration:250}G(gi,rh);
function ii(b){var c=0,d=this.a[0],e=this.a[1],d=Math.atan2(e.clientY-d.clientY,e.clientX-d.clientX);v(this.h)&&(c=d-this.h,this.s+=c,!this.b&&Math.abs(this.s)>this.J&&(this.b=!0));this.h=d;b=b.map;d=ze(b.a);e=th(this.a);e[0]-=d.x;e[1]-=d.y;this.g=b.qa(e);this.b&&(d=b.C(),e=d.K(),b.render(),ih(b,d,e+c,this.g))}function ji(b){if(2>this.a.length){b=b.map;var c=b.C();Kd(c,-1);if(this.b){var d=c.K(),e=this.g,f=this.G,d=c.constrainRotation(d,0);ih(b,c,d,e,f)}return!1}return!0}
function hi(b){return 2<=this.a.length?(b=b.map,this.g=null,this.h=void 0,this.b=!1,this.s=0,this.c||Kd(b.C(),1),b.render(),!0):!1}gi.prototype.i=Xc;function ki(b){rh.call(this,{handleDownEvent:li,handleDragEvent:mi,handleUpEvent:ni});b=v(b)?b:{};this.g=null;this.s=v(b.duration)?b.duration:400;this.b=void 0;this.h=1}G(ki,rh);function mi(b){var c=1,d=this.a[0],e=this.a[1],f=d.clientX-e.clientX,d=d.clientY-e.clientY,f=Math.sqrt(f*f+d*d);v(this.b)&&(c=this.b/f);this.b=f;1!=c&&(this.h=c);b=b.map;var f=b.C(),d=f.Y(),e=ze(b.a),h=th(this.a);h[0]-=e.x;h[1]-=e.y;this.g=b.qa(h);b.render();kh(b,f,d*c,this.g)}
function ni(b){if(2>this.a.length){b=b.map;var c=b.C();Kd(c,-1);var d=c.Y(),e=this.g,f=this.s,d=c.constrainResolution(d,0,this.h-1);kh(b,c,d,e,f);return!1}return!0}function li(b){return 2<=this.a.length?(b=b.map,this.g=null,this.b=void 0,this.h=1,this.c||Kd(b.C(),1),b.render(),!0):!1}ki.prototype.i=Xc;function oi(b){var c=v(b)?b:{};b=hb(c);delete b.layers;c=c.layers;Gg.call(this,b);this.b=[];this.a={};Q(this,X("layers"),this.Zc,!1,this);null!=c?ha(c)&&(c=new Td(c.slice())):c=new Td;this.set("layers",c)}G(oi,Gg);l=oi.prototype;l.kb=function(){this.get("visible")&&V(this)};
l.Zc=function(){J(this.b,R);this.b.length=0;var b=pi(this);this.b.push(Q(b,"add",this.Yc,!1,this),Q(b,"remove",this.$c,!1,this));Za(this.a,function(b){J(b,R)});eb(this.a);var b=b.a,c,d,e;c=0;for(d=b.length;c<d;c++)e=b[c],this.a[C(e).toString()]=[Q(e,"propertychange",this.kb,!1,this),Q(e,"change",this.kb,!1,this)];V(this)};l.Yc=function(b){b=b.element;var c=C(b).toString();this.a[c]=[Q(b,"propertychange",this.kb,!1,this),Q(b,"change",this.kb,!1,this)];V(this)};
l.$c=function(b){b=C(b.element).toString();J(this.a[b],R);delete this.a[b];V(this)};function pi(b){return b.get("layers")}
function ni(b){if(2>this.a.length){b=b.map;var c=b.C();Kd(c,-1);var d=c.Y(),e=this.g,f=this.s,d=c.constrainResolution(d,0,this.h-1);kh(b,c,d,e,f);return!1}return!0}function li(b){return 2<=this.a.length?(b=b.map,this.g=null,this.b=void 0,this.h=1,this.c||Kd(b.C(),1),b.render(),!0):!1}ki.prototype.i=Xc;function oi(b){var c=v(b)?b:{};b=hb(c);delete b.layers;c=c.layers;Gg.call(this,b);this.b=[];this.a={};Q(this,X("layers"),this.$c,!1,this);null!=c?ha(c)&&(c=new Td(c.slice())):c=new Td;this.set("layers",c)}G(oi,Gg);l=oi.prototype;l.kb=function(){this.get("visible")&&V(this)};
l.$c=function(){J(this.b,R);this.b.length=0;var b=pi(this);this.b.push(Q(b,"add",this.Zc,!1,this),Q(b,"remove",this.ad,!1,this));Za(this.a,function(b){J(b,R)});eb(this.a);var b=b.a,c,d,e;c=0;for(d=b.length;c<d;c++)e=b[c],this.a[C(e).toString()]=[Q(e,"propertychange",this.kb,!1,this),Q(e,"change",this.kb,!1,this)];V(this)};l.Zc=function(b){b=b.element;var c=C(b).toString();this.a[c]=[Q(b,"propertychange",this.kb,!1,this),Q(b,"change",this.kb,!1,this)];V(this)};
l.ad=function(b){b=C(b.element).toString();J(this.a[b],R);delete this.a[b];V(this)};function pi(b){return b.get("layers")}
l.Db=function(b){var c=v(b)?b:[],d=c.length;pi(this).forEach(function(b){b.Db(c)});b=Hg(this);var e,f;for(e=c.length;d<e;d++)f=c[d],f.brightness=wb(f.brightness+b.brightness,-1,1),f.contrast*=b.contrast,f.hue+=b.hue,f.opacity*=b.opacity,f.saturation*=b.saturation,f.visible=f.visible&&b.visible,f.maxResolution=Math.min(f.maxResolution,b.maxResolution),f.minResolution=Math.max(f.minResolution,b.minResolution),v(b.extent)&&(f.extent=v(f.extent)?Uc(f.extent,b.extent):b.extent);return c};l.Eb=function(){return"ready"};function qi(b){id.call(this,{code:b,units:"m",extent:ri,global:!0,worldExtent:si})}G(qi,id);qi.prototype.getPointResolution=function(b,c){var d=c[1]/6378137;return b/((Math.exp(d)+Math.exp(-d))/2)};var ti=6378137*Math.PI,ri=[-ti,-ti,ti,ti],si=[-180,-85,180,85],ui=Ja("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(b){return new qi(b)});
function vi(b,c,d){var e=b.length;d=1<d?d:2;v(c)||(2<d?c=b.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=6378137*Math.PI*b[f]/180,c[f+1]=6378137*Math.log(Math.tan(Math.PI*(b[f+1]+90)/360));return c}function wi(b,c,d){var e=b.length;d=1<d?d:2;v(c)||(2<d?c=b.slice():c=Array(e));for(var f=0;f<e;f+=d)c[f]=180*b[f]/(6378137*Math.PI),c[f+1]=360*Math.atan(Math.exp(b[f+1]/6378137))/Math.PI-90;return c};function xi(b,c){id.call(this,{code:b,units:"degrees",extent:yi,axisOrientation:c,global:!0,worldExtent:yi})}G(xi,id);xi.prototype.getPointResolution=function(b){return b};
var yi=[-180,-90,180,90],zi=[new xi("CRS:84"),new xi("EPSG:4326","neu"),new xi("urn:ogc:def:crs:EPSG::4326","neu"),new xi("urn:ogc:def:crs:EPSG:6.6:4326","neu"),new xi("urn:ogc:def:crs:OGC:1.3:CRS84"),new xi("urn:ogc:def:crs:OGC:2:84"),new xi("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new xi("urn:x-ogc:def:crs:EPSG:4326","neu")];function Ai(b){Kg.call(this,v(b)?b:{})}G(Ai,Kg);function Bi(b){b=v(b)?b:{};var c=hb(b);delete c.style;delete c.renderBuffer;delete c.updateWhileAnimating;delete c.updateWhileInteracting;Kg.call(this,c);this.b=v(b.renderBuffer)?b.renderBuffer:100;this.i=null;this.a=void 0;c=b.style;this.i=v(c)?c:Zh;null===c?c=void 0:(c=this.i,la(c)||(c=ha(c)?c:[c],c=Wc(c)));this.a=c;V(this);this.l=v(b.updateWhileAnimating)?b.updateWhileAnimating:!1;this.s=v(b.updateWhileInteracting)?b.updateWhileInteracting:!1}G(Bi,Kg);function Ci(b,c,d,e,f){this.s={};this.c=b;this.v=c;this.j=d;this.B=e;this.vb=f;this.o=this.a=this.b=this.$=this.U=this.T=null;this.na=this.aa=this.l=this.G=this.N=this.D=0;this.oa=!1;this.g=this.Ea=0;this.Fa=!1;this.J=0;this.f="";this.h=this.A=this.Ha=this.Ga=0;this.O=this.i=this.w=null;this.u=[];this.ab=Bc()}
@ -175,7 +175,7 @@ function Gi(b,c){var d=b.c,e=b.U;null===e?(d.lineCap=c.lineCap,If&&d.setLineDash
c.lineJoin),e.lineWidth!=c.lineWidth&&(e.lineWidth=d.lineWidth=c.lineWidth),e.miterLimit!=c.miterLimit&&(e.miterLimit=d.miterLimit=c.miterLimit),e.strokeStyle!=c.strokeStyle&&(e.strokeStyle=d.strokeStyle=c.strokeStyle))}
l.ma=function(b,c){if(null===b)this.b=null;else{var d=b.V();this.b={fillStyle:Xd(null===d?Rh:d)}}if(null===c)this.a=null;else{var d=c.V(),e=c.za,f=c.getLineDash(),h=c.Aa,g=c.xa(),k=c.Ba;this.a={lineCap:v(e)?e:"round",lineDash:null!=f?f:Sh,lineJoin:v(h)?h:"round",lineWidth:this.v*(v(g)?g:1),miterLimit:v(k)?k:10,strokeStyle:Xd(null===d?Th:d)}}};
l.Da=function(b){if(null===b)this.o=null;else{var c=b.j,d=b.a,e=b.w,f=b.h;this.D=c[0];this.N=c[1];this.G=f[1];this.o=d;this.l=b.i;this.aa=e[0];this.na=e[1];this.oa=b.l;this.Ea=b.K();this.g=b.Ya;this.Fa=b.u;this.J=f[0]}};
l.ha=function(b){if(null===b)this.f="";else{var c=b.va();null===c?this.w=null:(c=c.V(),this.w={fillStyle:Xd(null===c?Rh:c)});var d=b.la();if(null===d)this.i=null;else{var c=d.V(),e=d.za,f=d.getLineDash(),h=d.Aa,g=d.xa(),d=d.Ba;this.i={lineCap:v(e)?e:"round",lineDash:null!=f?f:Sh,lineJoin:v(h)?h:"round",lineWidth:v(g)?g:1,miterLimit:v(d)?d:10,strokeStyle:Xd(null===c?Th:c)}}var c=b.Jc(),e=b.Lc(),f=b.Mc(),h=b.K(),g=b.Ya,d=b.ga,k=b.Nc();b=b.Oc();this.O={font:v(c)?c:"10px sans-serif",textAlign:v(k)?k:
l.ha=function(b){if(null===b)this.f="";else{var c=b.va();null===c?this.w=null:(c=c.V(),this.w={fillStyle:Xd(null===c?Rh:c)});var d=b.la();if(null===d)this.i=null;else{var c=d.V(),e=d.za,f=d.getLineDash(),h=d.Aa,g=d.xa(),d=d.Ba;this.i={lineCap:v(e)?e:"round",lineDash:null!=f?f:Sh,lineJoin:v(h)?h:"round",lineWidth:v(g)?g:1,miterLimit:v(d)?d:10,strokeStyle:Xd(null===c?Th:c)}}var c=b.Kc(),e=b.Mc(),f=b.Nc(),h=b.K(),g=b.Ya,d=b.ga,k=b.Oc();b=b.Pc();this.O={font:v(c)?c:"10px sans-serif",textAlign:v(k)?k:
"center",textBaseline:v(b)?b:"middle"};this.f=v(d)?d:"";this.Ga=v(e)?this.v*e:0;this.Ha=v(f)?this.v*f:0;this.A=v(h)?h:0;this.h=this.v*(v(g)?g:1)}};var Ji={Point:Ci.prototype.ua,LineString:Ci.prototype.fb,Polygon:Ci.prototype.Ta,MultiPoint:Ci.prototype.ta,MultiLineString:Ci.prototype.gb,MultiPolygon:Ci.prototype.hb,GeometryCollection:Ci.prototype.Bb,Circle:Ci.prototype.eb};function Li(b){Pg.call(this,b);this.A=Bc()}G(Li,Pg);
Li.prototype.h=function(b,c,d){Mi(this,"precompose",d,b,void 0);var e=this.B();if(null!==e){var f=c.extent,h=v(f);if(h){var g=b.pixelRatio,k=[f[0],f[3]],m=[f[2],f[3]],p=[f[2],f[1]],f=[f[0],f[1]];Og(b.coordinateToPixelMatrix,k,k);Og(b.coordinateToPixelMatrix,m,m);Og(b.coordinateToPixelMatrix,p,p);Og(b.coordinateToPixelMatrix,f,f);d.save();d.beginPath();d.moveTo(k[0]*g,k[1]*g);d.lineTo(m[0]*g,m[1]*g);d.lineTo(p[0]*g,p[1]*g);d.lineTo(f[0]*g,f[1]*g);d.clip()}g=this.j;k=d.globalAlpha;d.globalAlpha=c.opacity;
0===b.viewState.rotation?(c=g[13],m=e.width*g[0],p=e.height*g[5],d.drawImage(e,0,0,+e.width,+e.height,Math.round(g[12]),Math.round(c),Math.round(m),Math.round(p))):(d.setTransform(g[0],g[1],g[4],g[5],g[12],g[13]),d.drawImage(e,0,0),d.setTransform(1,0,0,1,0,0));d.globalAlpha=k;h&&d.restore()}Mi(this,"postcompose",d,b,void 0)};function Mi(b,c,d,e,f){var h=b.a;sc(h,c)&&(b=v(f)?f:Ni(b,e,0),b=new Ci(d,e.pixelRatio,e.extent,b,e.viewState.rotation),U(h,new Jg(c,h,b,e,d,null)),Ki(b))}
@ -183,10 +183,10 @@ function Ni(b,c,d){var e=c.viewState,f=c.pixelRatio;return Ng(b.A,f*c.size[0]/2,
function Qi(b,c,d,e,f,h){var g=b.c.length,k=b.Cb(),m=[c[d],c[d+1]],p=[NaN,NaN],q=!0,r,u,t;for(r=d+f;r<e;r+=f){p[0]=c[r];p[1]=c[r+1];t=k[1];var y=k[2],x=k[3],A=p[0],B=p[1],w=0;A<k[0]?w=w|16:A>y&&(w=w|4);B<t?w|=8:B>x&&(w|=2);0===w&&(w=1);t=w;t!==u?(q&&(b.c[g++]=m[0],b.c[g++]=m[1]),b.c[g++]=p[0],b.c[g++]=p[1],q=!1):1===t?(b.c[g++]=p[0],b.c[g++]=p[1],q=!1):q=!0;m[0]=p[0];m[1]=p[1];u=t}r===d+f&&(b.c[g++]=m[0],b.c[g++]=m[1]);h&&(b.c[g++]=c[d],b.c[g++]=c[d+1]);return g}
function Ri(b,c){b.N=[0,c,0];b.b.push(b.N);b.G=[0,c,0];b.a.push(b.G)}
function Si(b,c,d,e,f,h,g,k,m){var p;p=b.U;if(e[0]==p[0]&&e[1]==p[1]&&e[4]==p[4]&&e[5]==p[5]&&e[12]==p[12]&&e[13]==p[13])p=b.T;else{p=vd(b.c,0,b.c.length,2,e,b.T);var q=b.U;q[0]=e[0];q[1]=e[1];q[2]=e[2];q[3]=e[3];q[4]=e[4];q[5]=e[5];q[6]=e[6];q[7]=e[7];q[8]=e[8];q[9]=e[9];q[10]=e[10];q[11]=e[11];q[12]=e[12];q[13]=e[13];q[14]=e[14];q[15]=e[15]}e=0;var q=g.length,r=0,u;for(b=b.$;e<q;){var t=g[e],y,x,A,B;switch(t[0]){case 0:r=t[1];u=C(r).toString();v(h[u])||!ga(r.M())?e=t[2]:v(m)&&!Vc(m,r.M().I())?e=
t[2]:++e;break;case 1:c.beginPath();++e;break;case 2:r=t[1];u=p[r];var w=p[r+1],D=p[r+2]-u,r=p[r+3]-w;c.arc(u,w,Math.sqrt(D*D+r*r),0,2*Math.PI,!0);++e;break;case 3:c.closePath();++e;break;case 4:r=t[1];u=t[2];y=t[3];A=t[4]*d;var L=t[5]*d,H=t[6];x=t[7];var I=t[8],O=t[9],w=t[11],D=t[12],T=t[13],ba=t[14];for(t[10]&&(w+=f);r<u;r+=2){t=p[r]-A;B=p[r+1]-L;T&&(t=t+.5|0,B=B+.5|0);if(1!=D||0!==w){var ca=t+A,ja=B+L;Ng(b,ca,ja,D,D,w,-ca,-ja);c.setTransform(b[0],b[1],b[4],b[5],b[12],b[13])}ca=c.globalAlpha;1!=
x&&(c.globalAlpha=ca*x);c.drawImage(y,I,O,ba,H,t,B,ba*d,H*d);1!=x&&(c.globalAlpha=ca);1==D&&0===w||c.setTransform(1,0,0,1,0,0)}++e;break;case 5:r=t[1];u=t[2];A=t[3];L=t[4]*d;H=t[5]*d;w=t[6];D=t[7]*d;y=t[8];for(x=t[9];r<u;r+=2){t=p[r]+L;B=p[r+1]+H;if(1!=D||0!==w)Ng(b,t,B,D,D,w,-t,-B),c.setTransform(b[0],b[1],b[4],b[5],b[12],b[13]);x&&c.strokeText(A,t,B);y&&c.fillText(A,t,B);1==D&&0===w||c.setTransform(1,0,0,1,0,0)}++e;break;case 6:if(v(k)&&(r=t[1],r=k(r)))return r;++e;break;case 7:c.fill();++e;break;
t[2]:++e;break;case 1:c.beginPath();++e;break;case 2:r=t[1];u=p[r];var w=p[r+1],D=p[r+2]-u,r=p[r+3]-w;c.arc(u,w,Math.sqrt(D*D+r*r),0,2*Math.PI,!0);++e;break;case 3:c.closePath();++e;break;case 4:r=t[1];u=t[2];y=t[3];A=t[4]*d;var L=t[5]*d,H=t[6];x=t[7];var I=t[8],O=t[9],w=t[11],D=t[12],T=t[13],ca=t[14];for(t[10]&&(w+=f);r<u;r+=2){t=p[r]-A;B=p[r+1]-L;T&&(t=t+.5|0,B=B+.5|0);if(1!=D||0!==w){var da=t+A,ja=B+L;Ng(b,da,ja,D,D,w,-da,-ja);c.setTransform(b[0],b[1],b[4],b[5],b[12],b[13])}da=c.globalAlpha;1!=
x&&(c.globalAlpha=da*x);c.drawImage(y,I,O,ca,H,t,B,ca*d,H*d);1!=x&&(c.globalAlpha=da);1==D&&0===w||c.setTransform(1,0,0,1,0,0)}++e;break;case 5:r=t[1];u=t[2];A=t[3];L=t[4]*d;H=t[5]*d;w=t[6];D=t[7]*d;y=t[8];for(x=t[9];r<u;r+=2){t=p[r]+L;B=p[r+1]+H;if(1!=D||0!==w)Ng(b,t,B,D,D,w,-t,-B),c.setTransform(b[0],b[1],b[4],b[5],b[12],b[13]);x&&c.strokeText(A,t,B);y&&c.fillText(A,t,B);1==D&&0===w||c.setTransform(1,0,0,1,0,0)}++e;break;case 6:if(v(k)&&(r=t[1],r=k(r)))return r;++e;break;case 7:c.fill();++e;break;
case 8:r=t[1];u=t[2];c.moveTo(p[r],p[r+1]);for(r+=2;r<u;r+=2)c.lineTo(p[r],p[r+1]);++e;break;case 9:c.fillStyle=t[1];++e;break;case 10:r=v(t[7])?t[7]:!0;u=t[2];c.strokeStyle=t[1];c.lineWidth=r?u*d:u;c.lineCap=t[3];c.lineJoin=t[4];c.miterLimit=t[5];If&&c.setLineDash(t[6]);++e;break;case 11:c.font=t[1];c.textAlign=t[2];c.textBaseline=t[3];++e;break;case 12:c.stroke();++e;break;default:++e}}}
function Ti(b){var c=b.a;c.reverse();var d,e=c.length,f,h,g=-1;for(d=0;d<e;++d)if(f=c[d],h=f[0],6==h)g=d;else if(0==h){f[2]=d;f=b.a;for(h=d;g<h;){var k=f[g];f[g]=f[h];f[h]=k;++g;--h}g=-1}}function Ui(b,c){b.N[2]=b.b.length;b.N=null;b.G[2]=b.a.length;b.G=null;var d=[6,c];b.b.push(d);b.a.push(d)}Pi.prototype.rb=da;Pi.prototype.Cb=function(){return this.O};function Vi(b,c,d){Pi.call(this,b,c,d);this.h=this.J=null;this.D=this.B=this.A=this.v=this.u=this.s=this.l=this.i=this.w=this.j=this.f=void 0}
function Ti(b){var c=b.a;c.reverse();var d,e=c.length,f,h,g=-1;for(d=0;d<e;++d)if(f=c[d],h=f[0],6==h)g=d;else if(0==h){f[2]=d;f=b.a;for(h=d;g<h;){var k=f[g];f[g]=f[h];f[h]=k;++g;--h}g=-1}}function Ui(b,c){b.N[2]=b.b.length;b.N=null;b.G[2]=b.a.length;b.G=null;var d=[6,c];b.b.push(d);b.a.push(d)}Pi.prototype.rb=ba;Pi.prototype.Cb=function(){return this.O};function Vi(b,c,d){Pi.call(this,b,c,d);this.h=this.J=null;this.D=this.B=this.A=this.v=this.u=this.s=this.l=this.i=this.w=this.j=this.f=void 0}
G(Vi,Pi);Vi.prototype.ua=function(b,c){if(null!==this.h){Ri(this,c);var d=b.a,e=this.c.length,d=Qi(this,d,0,d.length,b.b,!1);this.b.push([4,e,d,this.h,this.f,this.j,this.w,this.i,this.l,this.s,this.u,this.v,this.A,this.B,this.D]);this.a.push([4,e,d,this.J,this.f,this.j,this.w,this.i,this.l,this.s,this.u,this.v,this.A,this.B,this.D]);Ui(this,c)}};
Vi.prototype.ta=function(b,c){if(null!==this.h){Ri(this,c);var d=b.a,e=this.c.length,d=Qi(this,d,0,d.length,b.b,!1);this.b.push([4,e,d,this.h,this.f,this.j,this.w,this.i,this.l,this.s,this.u,this.v,this.A,this.B,this.D]);this.a.push([4,e,d,this.J,this.f,this.j,this.w,this.i,this.l,this.s,this.u,this.v,this.A,this.B,this.D]);Ui(this,c)}};Vi.prototype.rb=function(){Ti(this);this.j=this.f=void 0;this.h=this.J=null;this.D=this.B=this.v=this.u=this.s=this.l=this.i=this.A=this.w=void 0};
Vi.prototype.Da=function(b){var c=b.j,d=b.h,e=b.c,f=b.a,h=b.w;this.f=c[0];this.j=c[1];this.J=e;this.h=f;this.w=d[1];this.i=b.i;this.l=h[0];this.s=h[1];this.u=b.l;this.v=b.K();this.A=b.Ya;this.B=b.u;this.D=d[0]};function Wi(b,c,d){Pi.call(this,b,c,d);this.f={Sa:void 0,Na:void 0,Oa:null,Pa:void 0,Qa:void 0,Ra:void 0,Gb:0,strokeStyle:void 0,lineCap:void 0,lineDash:null,lineJoin:void 0,lineWidth:void 0,miterLimit:void 0}}G(Wi,Pi);
@ -207,34 +207,34 @@ bj.prototype.pa=function(b,c,d,e,f,h){if(""!==this.h&&null!==this.w&&(null!==thi
f.strokeStyle,f.lineWidth,f.lineCap,f.lineJoin,f.miterLimit,f.lineDash,!1],this.b.push(k),this.a.push(k),null===g?this.A={lineCap:f.lineCap,lineDash:f.lineDash,lineJoin:f.lineJoin,lineWidth:f.lineWidth,miterLimit:f.miterLimit,strokeStyle:f.strokeStyle}:(g.lineCap=f.lineCap,g.lineDash=f.lineDash,g.lineJoin=f.lineJoin,g.lineWidth=f.lineWidth,g.miterLimit=f.miterLimit,g.strokeStyle=f.strokeStyle));f=this.w;g=this.B;if(null===g||g.font!=f.font||g.textAlign!=f.textAlign||g.textBaseline!=f.textBaseline)k=
[11,f.font,f.textAlign,f.textBaseline],this.b.push(k),this.a.push(k),null===g?this.B={font:f.font,textAlign:f.textAlign,textBaseline:f.textBaseline}:(g.font=f.font,g.textAlign=f.textAlign,g.textBaseline=f.textBaseline);Ri(this,h);f=this.c.length;b=Qi(this,b,c,d,e,!1);b=[5,f,b,this.h,this.i,this.l,this.s,this.u,null!==this.f,null!==this.j];this.b.push(b);this.a.push(b);Ui(this,h)}};
bj.prototype.ha=function(b){if(null===b)this.h="";else{var c=b.va();null===c?this.f=null:(c=c.V(),c=Xd(null===c?Rh:c),null===this.f?this.f={fillStyle:c}:this.f.fillStyle=c);var d=b.la();if(null===d)this.j=null;else{var c=d.V(),e=d.za,f=d.getLineDash(),h=d.Aa,g=d.xa(),d=d.Ba,e=v(e)?e:"round",f=null!=f?f.slice():Sh,h=v(h)?h:"round",g=v(g)?g:1,d=v(d)?d:10,c=Xd(null===c?Th:c);if(null===this.j)this.j={lineCap:e,lineDash:f,lineJoin:h,lineWidth:g,miterLimit:d,strokeStyle:c};else{var k=this.j;k.lineCap=e;
k.lineDash=f;k.lineJoin=h;k.lineWidth=g;k.miterLimit=d;k.strokeStyle=c}}var m=b.Jc(),c=b.Lc(),e=b.Mc(),f=b.K(),g=b.Ya,d=b.ga,h=b.Nc(),k=b.Oc();b=v(m)?m:"10px sans-serif";h=v(h)?h:"center";k=v(k)?k:"middle";null===this.w?this.w={font:b,textAlign:h,textBaseline:k}:(m=this.w,m.font=b,m.textAlign=h,m.textBaseline=k);this.h=v(d)?d:"";this.i=v(c)?c:0;this.l=v(e)?e:0;this.s=v(f)?f:0;this.u=v(g)?g:1}};function cj(b,c,d,e){this.w=b;this.c=c;this.j=d;this.f=e;this.b={};this.o=Df(1,1);this.g=Bc()}
k.lineDash=f;k.lineJoin=h;k.lineWidth=g;k.miterLimit=d;k.strokeStyle=c}}var m=b.Kc(),c=b.Mc(),e=b.Nc(),f=b.K(),g=b.Ya,d=b.ga,h=b.Oc(),k=b.Pc();b=v(m)?m:"10px sans-serif";h=v(h)?h:"center";k=v(k)?k:"middle";null===this.w?this.w={font:b,textAlign:h,textBaseline:k}:(m=this.w,m.font=b,m.textAlign=h,m.textBaseline=k);this.h=v(d)?d:"";this.i=v(c)?c:0;this.l=v(e)?e:0;this.s=v(f)?f:0;this.u=v(g)?g:1}};function cj(b,c,d,e){this.w=b;this.c=c;this.j=d;this.f=e;this.b={};this.o=Df(1,1);this.g=Bc()}
function dj(b){for(var c in b.b){var d=b.b[c],e;for(e in d)d[e].rb()}}function ej(b,c,d,e,f,h){var g=b.g;Ng(g,.5,.5,1/d,-1/d,-e,-c[0],-c[1]);var k=b.o;k.clearRect(0,0,1,1);var m;v(b.f)&&(m=Mc(),Qc(m,c),Jc(m,d*b.f,m));return fj(b,k,g,e,f,function(b){if(0<k.getImageData(0,0,1,1).data[3]){if(b=h(b))return b;k.clearRect(0,0,1,1)}},m)}cj.prototype.a=function(b,c){var d=v(b)?b.toString():"0",e=this.b[d];v(e)||(e={},this.b[d]=e);d=e[c];v(d)||(d=new gj[c](this.w,this.c,this.j),e[c]=d);return d};
cj.prototype.W=function(){return db(this.b)};function hj(b,c,d,e,f,h){var g=Ja(cb(b.b),Number);Ra(g);var k=b.c,m=k[0],p=k[1],q=k[2],k=k[3],m=[m,p,m,k,q,k,q,p];vd(m,0,8,2,e,m);c.save();c.beginPath();c.moveTo(m[0],m[1]);c.lineTo(m[2],m[3]);c.lineTo(m[4],m[5]);c.lineTo(m[6],m[7]);c.closePath();c.clip();for(var r,u,m=0,p=g.length;m<p;++m)for(r=b.b[g[m].toString()],q=0,k=Oi.length;q<k;++q)u=r[Oi[q]],v(u)&&Si(u,c,d,e,f,h,u.b,void 0);c.restore()}
function fj(b,c,d,e,f,h,g){var k=Ja(cb(b.b),Number);Ra(k,function(b,c){return c-b});var m,p,q,r,u;m=0;for(p=k.length;m<p;++m)for(r=b.b[k[m].toString()],q=Oi.length-1;0<=q;--q)if(u=r[Oi[q]],v(u)&&(u=Si(u,c,1,d,e,f,u.a,h,g)))return u}var gj={Image:Vi,LineString:Wi,Polygon:Zi,Text:bj};function ij(b,c){return C(b)-C(c)}function jj(b,c){var d=.5*b/c;return d*d}function kj(b,c,d,e,f,h){var g;g=d.c;null!==g&&g.ce(f,h);f=(0,d.b)(c);null!=f&&(e=yd(f,e),(0,lj.Polygon)(b,e,d,c));return!1}
function fj(b,c,d,e,f,h,g){var k=Ja(cb(b.b),Number);Ra(k,function(b,c){return c-b});var m,p,q,r,u;m=0;for(p=k.length;m<p;++m)for(r=b.b[k[m].toString()],q=Oi.length-1;0<=q;--q)if(u=r[Oi[q]],v(u)&&(u=Si(u,c,1,d,e,f,u.a,h,g)))return u}var gj={Image:Vi,LineString:Wi,Polygon:Zi,Text:bj};function ij(b,c){return C(b)-C(c)}function jj(b,c){var d=.5*b/c;return d*d}function kj(b,c,d,e,f,h){var g;g=d.c;null!==g&&g.de(f,h);f=(0,d.b)(c);null!=f&&(e=yd(f,e),(0,lj.Polygon)(b,e,d,c));return!1}
var lj={Point:function(b,c,d,e){var f=d.c;if(null!==f){var h=b.a(d.a,"Image");h.Da(f);h.ua(c,e)}f=d.ga;null!==f&&(b=b.a(d.a,"Text"),b.ha(f),b.pa(c.B(),0,2,2,c,e))},LineString:function(b,c,d,e){var f=d.la();if(null!==f){var h=b.a(d.a,"LineString");h.ma(null,f);h.fb(c,e)}f=d.ga;null!==f&&(b=b.a(d.a,"Text"),b.ha(f),b.pa(c.c(),0,2,2,c,e))},Polygon:function(b,c,d,e){var f=d.va(),h=d.la();if(null!==f||null!==h){var g=b.a(d.a,"Polygon");g.ma(f,h);g.Ta(c,e)}f=d.ga;null!==f&&(b=b.a(d.a,"Text"),b.ha(f),b.pa(Fd(c),
0,2,2,c,e))},MultiPoint:function(b,c,d,e){var f=d.c;if(null!==f){var h=b.a(d.a,"Image");h.Da(f);h.ta(c,e)}f=d.ga;null!==f&&(b=b.a(d.a,"Text"),b.ha(f),d=c.a,b.pa(d,0,d.length,c.b,c,e))},MultiLineString:function(b,c,d,e){var f=d.la();if(null!==f){var h=b.a(d.a,"LineString");h.ma(null,f);h.gb(c,e)}f=d.ga;null!==f&&(b=b.a(d.a,"Text"),b.ha(f),d=c.c(),b.pa(d,0,d.length,2,c,e))},MultiPolygon:function(b,c,d,e){var f=d.va(),h=d.la();if(null!==h||null!==f){var g=b.a(d.a,"Polygon");g.ma(f,h);g.hb(c,e)}f=d.ga;
null!==f&&(b=b.a(d.a,"Text"),b.ha(f),d=c.g(),b.pa(d,0,d.length,2,c,e))},GeometryCollection:function(b,c,d,e){c=c.c();var f,h;f=0;for(h=c.length;f<h;++f)(0,lj.Polygon)(b,c[f],d,e)},Circle:function(b,c,d,e){var f=d.va(),h=d.la();if(null!==f||null!==h){var g=b.a(d.a,"Polygon");g.ma(f,h);g.eb(c,e)}f=d.ga;null!==f&&(b=b.a(d.a,"Text"),b.ha(f),b.pa(c.c(),0,2,2,c,e))}};function mj(b){Me.call(this,{attributions:b.attributions,extent:b.extent,logo:b.logo,projection:b.projection,state:b.state})}G(mj,Me);mj.prototype.b=function(b){b=b.target;switch(b.state){case 1:U(this,new nj(oj,b));break;case 2:U(this,new nj(pj,b));break;case 3:U(this,new nj(qj,b))}};function rj(b,c){sj(b).src=c}function nj(b,c){N.call(this,b);this.image=c}G(nj,N);var oj="imageloadstart",pj="imageloadend",qj="imageloaderror";function tj(b){W.call(this);this.b=void 0;this.a="geometry";this.h=null;this.c=void 0;this.g=null;Q(this,X(this.a),this.jb,!1,this);v(b)&&(b instanceof ud||null===b?this.Hb(b):this.da(b))}G(tj,W);l=tj.prototype;l.clone=function(){var b={},c;for(c in this.j)b[c]=this.j[c];b=new tj(b);c=this.a;nc(b,X(b.a),b.jb,!1,b);b.a=c;Q(b,X(b.a),b.jb,!1,b);b.jb();c=this.M();null!=c&&b.Hb(c.clone());c=this.h;null!==c&&(b.h=c,null===c?c=void 0:la(c)||(c=ha(c)?c:[c],c=Wc(c)),b.c=c,V(b));return b};l.M=function(){return this.get(this.a)};
l.Kc=function(){return this.b};l.Tc=function(){V(this)};l.jb=function(){null!==this.g&&(R(this.g),this.g=null);var b=this.M();null!=b&&(this.g=Q(b,"change",this.Tc,!1,this));V(this)};l.Hb=function(b){this.set(this.a,b)};l.Vd=function(b){this.b=b;V(this)};function uj(b,c,d){if(la(b))d&&(b=E(b,d));else if(b&&"function"==typeof b.handleEvent)b=E(b.handleEvent,b);else throw Error("Invalid listener argument");return 2147483647<c?-1:n.setTimeout(b,c||0)};function vj(){}vj.prototype.a=null;function wj(b){var c;(c=b.a)||(c={},xj(b)&&(c[0]=!0,c[1]=!0),c=b.a=c);return c};var yj;function zj(){}G(zj,vj);function Aj(b){return(b=xj(b))?new ActiveXObject(b):new XMLHttpRequest}function xj(b){if(!b.b&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var c=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],d=0;d<c.length;d++){var e=c[d];try{return new ActiveXObject(e),b.b=e}catch(f){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return b.b}yj=new zj;var Bj=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function Cj(b){if(Dj){Dj=!1;var c=n.location;if(c){var d=c.href;if(d&&(d=(d=Cj(d)[3]||null)?decodeURI(d):d)&&d!=c.hostname)throw Dj=!0,Error();}}return b.match(Bj)}var Dj=M;function Ej(b){S.call(this);this.B=new ef;this.i=b||null;this.a=!1;this.h=this.F=null;this.g=this.u="";this.b=this.s=this.f=this.l=!1;this.j=0;this.c=null;this.v=Fj;this.A=this.D=!1}G(Ej,S);var Fj="",Gj=/^https?$/i,Hj=["POST","PUT"];l=Ej.prototype;
l.Lc=function(){return this.b};l.Uc=function(){V(this)};l.jb=function(){null!==this.g&&(R(this.g),this.g=null);var b=this.M();null!=b&&(this.g=Q(b,"change",this.Uc,!1,this));V(this)};l.Hb=function(b){this.set(this.a,b)};l.Wd=function(b){this.b=b;V(this)};function uj(b,c,d){if(la(b))d&&(b=E(b,d));else if(b&&"function"==typeof b.handleEvent)b=E(b.handleEvent,b);else throw Error("Invalid listener argument");return 2147483647<c?-1:n.setTimeout(b,c||0)};function vj(){}vj.prototype.a=null;function wj(b){var c;(c=b.a)||(c={},xj(b)&&(c[0]=!0,c[1]=!0),c=b.a=c);return c};var yj;function zj(){}G(zj,vj);function Aj(b){return(b=xj(b))?new ActiveXObject(b):new XMLHttpRequest}function xj(b){if(!b.b&&"undefined"==typeof XMLHttpRequest&&"undefined"!=typeof ActiveXObject){for(var c=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"],d=0;d<c.length;d++){var e=c[d];try{return new ActiveXObject(e),b.b=e}catch(f){}}throw Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed");}return b.b}yj=new zj;var Bj=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;function Cj(b){if(Dj){Dj=!1;var c=n.location;if(c){var d=c.href;if(d&&(d=(d=Cj(d)[3]||null)?decodeURI(d):d)&&d!=c.hostname)throw Dj=!0,Error();}}return b.match(Bj)}var Dj=M;function Ej(b){S.call(this);this.B=new ef;this.i=b||null;this.a=!1;this.h=this.F=null;this.g=this.u="";this.b=this.s=this.f=this.l=!1;this.j=0;this.c=null;this.v=Fj;this.A=this.D=!1}G(Ej,S);var Fj="",Gj=/^https?$/i,Hj=["POST","PUT"];l=Ej.prototype;
l.send=function(b,c,d,e){if(this.F)throw Error("[goog.net.XhrIo] Object is active with another request="+this.u+"; newUri="+b);c=c?c.toUpperCase():"GET";this.u=b;this.g="";this.l=!1;this.a=!0;this.F=this.i?Aj(this.i):Aj(yj);this.h=this.i?wj(this.i):wj(yj);this.F.onreadystatechange=E(this.mc,this);try{this.s=!0,this.F.open(c,String(b),!0),this.s=!1}catch(f){Ij(this,f);return}b=d||"";var h=this.B.clone();e&&df(e,function(b,c){h.set(c,b)});e=Ka(h.wa());d=n.FormData&&b instanceof n.FormData;!(0<=Ha(Hj,
c))||e||d||h.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");h.forEach(function(b,c){this.F.setRequestHeader(c,b)},this);this.v&&(this.F.responseType=this.v);"withCredentials"in this.F&&(this.F.withCredentials=this.D);try{Jj(this),0<this.j&&((this.A=Kj(this.F))?(this.F.timeout=this.j,this.F.ontimeout=E(this.uc,this)):this.c=uj(this.uc,this.j,this)),this.f=!0,this.F.send(b),this.f=!1}catch(g){Ij(this,g)}};function Kj(b){return K&&tb(9)&&ka(b.timeout)&&v(b.ontimeout)}
function La(b){return"content-type"==b.toLowerCase()}l.uc=function(){"undefined"!=typeof aa&&this.F&&(this.g="Timed out after "+this.j+"ms, aborting",U(this,"timeout"),this.F&&this.a&&(this.a=!1,this.b=!0,this.F.abort(),this.b=!1,U(this,"complete"),U(this,"abort"),Lj(this)))};function Ij(b,c){b.a=!1;b.F&&(b.b=!0,b.F.abort(),b.b=!1);b.g=c;Mj(b);Lj(b)}function Mj(b){b.l||(b.l=!0,U(b,"complete"),U(b,"error"))}
l.H=function(){this.F&&(this.a&&(this.a=!1,this.b=!0,this.F.abort(),this.b=!1),Lj(this,!0));Ej.L.H.call(this)};l.mc=function(){this.w||(this.s||this.f||this.b?Nj(this):this.Id())};l.Id=function(){Nj(this)};
function Nj(b){if(b.a&&"undefined"!=typeof aa&&(!b.h[1]||4!=Oj(b)||2!=Pj(b)))if(b.f&&4==Oj(b))uj(b.mc,0,b);else if(U(b,"readystatechange"),4==Oj(b)){b.a=!1;try{if(Qj(b))U(b,"complete"),U(b,"success");else{var c;try{c=2<Oj(b)?b.F.statusText:""}catch(d){c=""}b.g=c+" ["+Pj(b)+"]";Mj(b)}}finally{Lj(b)}}}function Lj(b,c){if(b.F){Jj(b);var d=b.F,e=b.h[0]?da:null;b.F=null;b.h=null;c||U(b,"ready");try{d.onreadystatechange=e}catch(f){}}}
l.H=function(){this.F&&(this.a&&(this.a=!1,this.b=!0,this.F.abort(),this.b=!1),Lj(this,!0));Ej.L.H.call(this)};l.mc=function(){this.w||(this.s||this.f||this.b?Nj(this):this.Jd())};l.Jd=function(){Nj(this)};
function Nj(b){if(b.a&&"undefined"!=typeof aa&&(!b.h[1]||4!=Oj(b)||2!=Pj(b)))if(b.f&&4==Oj(b))uj(b.mc,0,b);else if(U(b,"readystatechange"),4==Oj(b)){b.a=!1;try{if(Qj(b))U(b,"complete"),U(b,"success");else{var c;try{c=2<Oj(b)?b.F.statusText:""}catch(d){c=""}b.g=c+" ["+Pj(b)+"]";Mj(b)}}finally{Lj(b)}}}function Lj(b,c){if(b.F){Jj(b);var d=b.F,e=b.h[0]?ba:null;b.F=null;b.h=null;c||U(b,"ready");try{d.onreadystatechange=e}catch(f){}}}
function Jj(b){b.F&&b.A&&(b.F.ontimeout=null);ka(b.c)&&(n.clearTimeout(b.c),b.c=null)}function Qj(b){var c=Pj(b),d;a:switch(c){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:d=!0;break a;default:d=!1}if(!d){if(c=0===c)b=Cj(String(b.u))[1]||null,!b&&self.location&&(b=self.location.protocol,b=b.substr(0,b.length-1)),c=!Gj.test(b?b.toLowerCase():"");d=c}return d}function Oj(b){return b.F?b.F.readyState:0}function Pj(b){try{return 2<Oj(b)?b.F.status:-1}catch(c){return-1}};a:if(!document.implementation||!document.implementation.createDocument){if("undefined"!=typeof ActiveXObject){var Rj=new ActiveXObject("MSXML2.DOMDocument");if(Rj){Rj.resolveExternals=!1;Rj.validateOnParse=!1;try{Rj.setProperty("ProhibitDTD",!0),Rj.setProperty("MaxXMLSize",2048),Rj.setProperty("MaxElementDepth",256)}catch(Sj){}}if(Rj)break a}throw Error("Your browser does not support creating new documents");}function Tj(b){return b instanceof Document}function Uj(b){return ma(b)&&9==b.nodeType}
var Vj=K?Uj:Tj;function Wj(b){return b instanceof Node}function Xj(b){return ma(b)&&v(b.nodeType)}var Yj=K?Xj:Wj;function Zj(b){return(new DOMParser).parseFromString(b,"application/xml")}function ak(b){return function(c,d){var e=b.call(void 0,c,d);v(e)&&Oa(d[d.length-1],e)}}function bk(b){return function(c,d){var e=b.call(v(void 0)?void 0:this,c,d);v(e)&&(d[d.length-1]=e)}}function ck(b){var c=dk,d=v(void 0)?void 0:{},e,f;e=0;for(f=c.length;e<f;++e)d[c[e]]=b;return d}
function ek(b,c,d,e){e.push(b);for(b=d.firstElementChild;null!==b;b=b.nextElementSibling)d=c[b.namespaceURI],v(d)&&(d=d[b.localName],v(d)&&d.call(void 0,b,e));return e.pop()};function fk(b,c,d){return function(){var e=new Ej;e.v="text";Q(e,"complete",function(b){b=b.target;if(Qj(b)){var e;if(!K)try{e=b.F?b.F.responseXML:null}catch(g){e=null}if(null==e){var k;try{k=b.F?b.F.responseText:""}catch(m){k=""}e=Zj(k)}null!=e&&(e=c.a(e),d.call(this,e))}Ob(b)},!1,this);e.send(b)}}function gk(b,c){return fk(b,c,function(b){this.Rb(b)})};function hk(){return[[-Infinity,-Infinity,Infinity,Infinity]]};var ik;
(function(){var b={$b:{}};(function(){function c(b,d){if(!(this instanceof c))return new c(b,d);this.wb=Math.max(4,b||9);this.Ob=Math.max(2,Math.ceil(.4*this.wb));d&&this.Cc(d);this.clear()}function d(b,c){b.bbox=e(b,0,b.children.length,c)}function e(b,c,d,e){for(var g=[Infinity,Infinity,-Infinity,-Infinity],h;c<d;c++)h=b.children[c],f(g,b.P?e(h):h.bbox);return g}function f(b,c){b[0]=Math.min(b[0],c[0]);b[1]=Math.min(b[1],c[1]);b[2]=Math.max(b[2],c[2]);b[3]=Math.max(b[3],c[3])}function h(b,c){return b.bbox[0]-
(function(){var b={$b:{}};(function(){function c(b,d){if(!(this instanceof c))return new c(b,d);this.wb=Math.max(4,b||9);this.Ob=Math.max(2,Math.ceil(.4*this.wb));d&&this.Dc(d);this.clear()}function d(b,c){b.bbox=e(b,0,b.children.length,c)}function e(b,c,d,e){for(var g=[Infinity,Infinity,-Infinity,-Infinity],h;c<d;c++)h=b.children[c],f(g,b.P?e(h):h.bbox);return g}function f(b,c){b[0]=Math.min(b[0],c[0]);b[1]=Math.min(b[1],c[1]);b[2]=Math.max(b[2],c[2]);b[3]=Math.max(b[3],c[3])}function h(b,c){return b.bbox[0]-
c.bbox[0]}function g(b,c){return b.bbox[1]-c.bbox[1]}function k(b){return(b[2]-b[0])*(b[3]-b[1])}function m(b){return b[2]-b[0]+(b[3]-b[1])}function p(b,c){return b[0]<=c[0]&&b[1]<=c[1]&&c[2]<=b[2]&&c[3]<=b[3]}function q(b,c){return c[0]<=b[2]&&c[1]<=b[3]&&c[2]>=b[0]&&c[3]>=b[1]}function r(b,c,d,e,f){for(var g=[c,d],h;g.length;)d=g.pop(),c=g.pop(),d-c<=e||(h=c+Math.ceil((d-c)/e/2)*e,u(b,c,d,h,f),g.push(c,h,h,d))}function u(b,c,d,e,f){for(var g,h,k,m,p;d>c;){600<d-c&&(g=d-c+1,h=e-c+1,k=Math.log(g),
m=.5*Math.exp(2*k/3),p=.5*Math.sqrt(k*m*(g-m)/g)*(0>h-g/2?-1:1),k=Math.max(c,Math.floor(e-h*m/g+p)),h=Math.min(d,Math.floor(e+(g-h)*m/g+p)),u(b,k,h,e,f));g=b[e];h=c;m=d;t(b,c,e);for(0<f(b[d],g)&&t(b,c,d);h<m;){t(b,h,m);h++;for(m--;0>f(b[h],g);)h++;for(;0<f(b[m],g);)m--}0===f(b[c],g)?t(b,c,m):(m++,t(b,m,d));m<=e&&(c=m+1);e<=m&&(d=m-1)}}function t(b,c,d){var e=b[c];b[c]=b[d];b[d]=e}c.prototype={all:function(){return this.Kb(this.data,[])},search:function(b){var c=this.data,d=[],e=this.S;if(!q(b,c.bbox))return d;
for(var f=[],g,h,k,m;c;){g=0;for(h=c.children.length;g<h;g++)k=c.children[g],m=c.P?e(k):k.bbox,q(b,m)&&(c.P?d.push(k):p(b,m)?this.Kb(k,d):f.push(k));c=f.pop()}return d},load:function(b){if(!b||!b.length)return this;if(b.length<this.Ob){for(var c=0,d=b.length;c<d;c++)this.ya(b[c]);return this}b=this.Mb(b.slice(),0,b.length-1,0);this.data.children.length?this.data.height===b.height?this.Pb(this.data,b):(this.data.height<b.height&&(c=this.data,this.data=b,b=c),this.Nb(b,this.data.height-b.height-1,!0)):
this.data=b;return this},ya:function(b){b&&this.Nb(b,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],P:!0};return this},remove:function(b){if(!b)return this;for(var c=this.data,d=this.S(b),e=[],f=[],g,h,k,m;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),m=!0);if(c.P&&(k=c.children.indexOf(b),-1!==k)){c.children.splice(k,1);e.push(c);this.Bc(e);break}m||c.P||!p(c.bbox,d)?h?(g++,c=h.children[g],m=!1):c=null:(e.push(c),
this.data=b;return this},ya:function(b){b&&this.Nb(b,this.data.height-1);return this},clear:function(){this.data={children:[],height:1,bbox:[Infinity,Infinity,-Infinity,-Infinity],P:!0};return this},remove:function(b){if(!b)return this;for(var c=this.data,d=this.S(b),e=[],f=[],g,h,k,m;c||e.length;){c||(c=e.pop(),h=e[e.length-1],g=f.pop(),m=!0);if(c.P&&(k=c.children.indexOf(b),-1!==k)){c.children.splice(k,1);e.push(c);this.Cc(e);break}m||c.P||!p(c.bbox,d)?h?(g++,c=h.children[g],m=!1):c=null:(e.push(c),
f.push(g),g=0,h=c,c=c.children[0])}return this},S:function(b){return b},zb:function(b,c){return b[0]-c[0]},Ab:function(b,c){return b[1]-c[1]},toJSON:function(){return this.data},Kb:function(b,c){for(var d=[];b;)b.P?c.push.apply(c,b.children):d.push.apply(d,b.children),b=d.pop();return c},Mb:function(b,c,e,f){var g=e-c+1,h=this.wb,k;if(g<=h)return k={children:b.slice(c,e+1),height:1,bbox:null,P:!0},d(k,this.S),k;f||(f=Math.ceil(Math.log(g)/Math.log(h)),h=Math.ceil(g/Math.pow(h,f-1)));k={children:[],
height:f,bbox:null};var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),m,p,q;for(r(b,c,e,h,this.zb);c<=e;c+=h)for(p=Math.min(c+h-1,e),r(b,c,p,g,this.Ab),m=c;m<=p;m+=g)q=Math.min(m+g-1,p),k.children.push(this.Mb(b,m,q,f-1));d(k,this.S);return k},Ac:function(b,c,d,e){for(var f,g,h,m,p,q,r,t;;){e.push(c);if(c.P||e.length-1===d)break;r=t=Infinity;f=0;for(g=c.children.length;f<g;f++){h=c.children[f];p=k(h.bbox);q=b;var u=h.bbox;q=(Math.max(u[2],q[2])-Math.min(u[0],q[0]))*(Math.max(u[3],q[3])-Math.min(u[1],
q[1]))-p;q<t?(t=q,r=p<r?p:r,m=h):q===t&&p<r&&(r=p,m=h)}c=m}return c},Nb:function(b,c,d){var e=this.S;d=d?b.bbox:e(b);var e=[],g=this.Ac(d,this.data,c,e);g.children.push(b);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.wb)this.Dc(e,c),c--;else break;this.xc(d,e,c)},Dc:function(b,c){var e=b[c],f=e.children.length,g=this.Ob;this.yc(e,g,f);f={children:e.children.splice(this.zc(e,g,f)),height:e.height};e.P&&(f.P=!0);d(e,this.S);d(f,this.S);c?b[c-1].children.push(f):this.Pb(e,f)},Pb:function(b,c){this.data=
{children:[b,c],height:b.height+1};d(this.data,this.S)},zc:function(b,c,d){var f,g,h,m,p,q,r;p=q=Infinity;for(f=c;f<=d-c;f++){g=e(b,0,f,this.S);h=e(b,f,d,this.S);var t=g,u=h;m=Math.max(t[0],u[0]);var ca=Math.max(t[1],u[1]),ja=Math.min(t[2],u[2]),t=Math.min(t[3],u[3]);m=Math.max(0,ja-m)*Math.max(0,t-ca);g=k(g)+k(h);m<p?(p=m,r=f,q=g<q?g:q):m===p&&g<q&&(q=g,r=f)}return r},yc:function(b,c,d){var e=b.P?this.zb:h,f=b.P?this.Ab:g,k=this.Lb(b,c,d,e);c=this.Lb(b,c,d,f);k<c&&b.children.sort(e)},Lb:function(b,
c,d,g){b.children.sort(g);g=this.S;var h=e(b,0,c,g),k=e(b,d-c,d,g),p=m(h)+m(k),q,r;for(q=c;q<d-c;q++)r=b.children[q],f(h,b.P?g(r):r.bbox),p+=m(h);for(q=d-c-1;q>=c;q--)r=b.children[q],f(k,b.P?g(r):r.bbox),p+=m(k);return p},xc:function(b,c,d){for(;0<=d;d--)f(c[d].bbox,b)},Bc:function(b){for(var c=b.length-1,e;0<=c;c--)0===b[c].children.length?0<c?(e=b[c-1].children,e.splice(e.indexOf(b[c]),1)):this.clear():d(b[c],this.S)},Cc:function(b){var c=["return a"," - b",";"];this.zb=new Function("a","b",c.join(b[0]));
height:f,bbox:null};var g=Math.ceil(g/h),h=g*Math.ceil(Math.sqrt(h)),m,p,q;for(r(b,c,e,h,this.zb);c<=e;c+=h)for(p=Math.min(c+h-1,e),r(b,c,p,g,this.Ab),m=c;m<=p;m+=g)q=Math.min(m+g-1,p),k.children.push(this.Mb(b,m,q,f-1));d(k,this.S);return k},Bc:function(b,c,d,e){for(var f,g,h,m,p,q,r,t;;){e.push(c);if(c.P||e.length-1===d)break;r=t=Infinity;f=0;for(g=c.children.length;f<g;f++){h=c.children[f];p=k(h.bbox);q=b;var u=h.bbox;q=(Math.max(u[2],q[2])-Math.min(u[0],q[0]))*(Math.max(u[3],q[3])-Math.min(u[1],
q[1]))-p;q<t?(t=q,r=p<r?p:r,m=h):q===t&&p<r&&(r=p,m=h)}c=m}return c},Nb:function(b,c,d){var e=this.S;d=d?b.bbox:e(b);var e=[],g=this.Bc(d,this.data,c,e);g.children.push(b);for(f(g.bbox,d);0<=c;)if(e[c].children.length>this.wb)this.Ec(e,c),c--;else break;this.yc(d,e,c)},Ec:function(b,c){var e=b[c],f=e.children.length,g=this.Ob;this.zc(e,g,f);f={children:e.children.splice(this.Ac(e,g,f)),height:e.height};e.P&&(f.P=!0);d(e,this.S);d(f,this.S);c?b[c-1].children.push(f):this.Pb(e,f)},Pb:function(b,c){this.data=
{children:[b,c],height:b.height+1};d(this.data,this.S)},Ac:function(b,c,d){var f,g,h,m,p,q,r;p=q=Infinity;for(f=c;f<=d-c;f++){g=e(b,0,f,this.S);h=e(b,f,d,this.S);var t=g,u=h;m=Math.max(t[0],u[0]);var da=Math.max(t[1],u[1]),ja=Math.min(t[2],u[2]),t=Math.min(t[3],u[3]);m=Math.max(0,ja-m)*Math.max(0,t-da);g=k(g)+k(h);m<p?(p=m,r=f,q=g<q?g:q):m===p&&g<q&&(q=g,r=f)}return r},zc:function(b,c,d){var e=b.P?this.zb:h,f=b.P?this.Ab:g,k=this.Lb(b,c,d,e);c=this.Lb(b,c,d,f);k<c&&b.children.sort(e)},Lb:function(b,
c,d,g){b.children.sort(g);g=this.S;var h=e(b,0,c,g),k=e(b,d-c,d,g),p=m(h)+m(k),q,r;for(q=c;q<d-c;q++)r=b.children[q],f(h,b.P?g(r):r.bbox),p+=m(h);for(q=d-c-1;q>=c;q--)r=b.children[q],f(k,b.P?g(r):r.bbox),p+=m(k);return p},yc:function(b,c,d){for(;0<=d;d--)f(c[d].bbox,b)},Cc:function(b){for(var c=b.length-1,e;0<=c;c--)0===b[c].children.length?0<c?(e=b[c-1].children,e.splice(e.indexOf(b[c]),1)):this.clear():d(b[c],this.S)},Dc:function(b){var c=["return a"," - b",";"];this.zb=new Function("a","b",c.join(b[0]));
this.Ab=new Function("a","b",c.join(b[1]));this.S=new Function("a","return [a"+b.join(", a")+"];")}};"undefined"!==typeof b?b.$b=c:"undefined"!==typeof self?self.a=c:window.a=c})();ik=b.$b})();function jk(b){this.b=ik(b);this.a={}}l=jk.prototype;l.ya=function(b,c){var d=[b[0],b[1],b[2],b[3],c];this.b.ya(d);this.a[C(c)]=d};l.load=function(b,c){for(var d=Array(c.length),e=0,f=c.length;e<f;e++){var h=b[e],g=c[e],h=[h[0],h[1],h[2],h[3],g];d[e]=h;this.a[C(g)]=h}this.b.load(d)};l.remove=function(b){b=C(b);var c=this.a[b];fb(this.a,b);return null!==this.b.remove(c)};function kk(b){b=b.b.all();return Ja(b,function(b){return b[4]})}
function lk(b,c){var d=b.b.search(c);return Ja(d,function(b){return b[4]})}l.forEach=function(b,c){return mk(kk(this),b,c)};function nk(b,c,d,e){return mk(lk(b,c),d,e)}function mk(b,c,d){for(var e,f=0,h=b.length;f<h&&!(e=c.call(d,b[f]));f++);return e}l.W=function(){return db(this.a)};l.clear=function(){this.b.clear();this.a={}};l.I=function(){return this.b.data.bbox};function ok(b){b=v(b)?b:{};Me.call(this,{attributions:b.attributions,logo:b.logo,projection:void 0,state:"ready",wrapX:v(b.wrapX)?b.wrapX:!0});this.s=da;v(b.loader)?this.s=b.loader:v(b.url)&&(this.s=gk(b.url,b.format));this.G=v(b.strategy)?b.strategy:hk;var c=v(b.useSpatialIndex)?b.useSpatialIndex:!0;this.a=c?new jk:null;this.v=new jk;this.b={};this.c={};this.g={};this.h={};this.i=null;var d,e;b.features instanceof Td?(d=b.features,e=d.a):ha(b.features)&&(e=b.features);c||v(d)||(d=new Td(e));v(e)&&
function lk(b,c){var d=b.b.search(c);return Ja(d,function(b){return b[4]})}l.forEach=function(b,c){return mk(kk(this),b,c)};function nk(b,c,d,e){return mk(lk(b,c),d,e)}function mk(b,c,d){for(var e,f=0,h=b.length;f<h&&!(e=c.call(d,b[f]));f++);return e}l.W=function(){return db(this.a)};l.clear=function(){this.b.clear();this.a={}};l.I=function(){return this.b.data.bbox};function ok(b){b=v(b)?b:{};Me.call(this,{attributions:b.attributions,logo:b.logo,projection:void 0,state:"ready",wrapX:v(b.wrapX)?b.wrapX:!0});this.s=ba;v(b.loader)?this.s=b.loader:v(b.url)&&(this.s=gk(b.url,b.format));this.G=v(b.strategy)?b.strategy:hk;var c=v(b.useSpatialIndex)?b.useSpatialIndex:!0;this.a=c?new jk:null;this.v=new jk;this.b={};this.c={};this.g={};this.h={};this.i=null;var d,e;b.features instanceof Td?(d=b.features,e=d.a):ha(b.features)&&(e=b.features);c||v(d)||(d=new Td(e));v(e)&&
pk(this,e);v(d)&&qk(this,d)}G(ok,Me);l=ok.prototype;l.Qb=function(b){var c=C(b).toString();if(rk(this,c,b)){sk(this,c,b);var d=b.M();null!=d?(c=d.I(),null===this.a||this.a.ya(c,b)):this.b[c]=b;U(this,new tk("addfeature",b))}V(this)};function sk(b,c,d){b.h[c]=[Q(d,"change",b.dc,!1,b),Q(d,"propertychange",b.dc,!1,b)]}function rk(b,c,d){var e=!0,f=d.b;v(f)?f.toString()in b.c?e=!1:b.c[f.toString()]=d:b.g[c]=d;return e}l.Rb=function(b){pk(this,b);V(this)};
function pk(b,c){var d,e,f,h,g=[],k=[],m=[];e=0;for(f=c.length;e<f;e++)h=c[e],d=C(h).toString(),rk(b,d,h)&&k.push(h);e=0;for(f=k.length;e<f;e++){h=k[e];d=C(h).toString();sk(b,d,h);var p=h.M();null!=p?(d=p.I(),g.push(d),m.push(h)):b.b[d]=h}null===b.a||b.a.load(g,m);e=0;for(f=k.length;e<f;e++)U(b,new tk("addfeature",k[e]))}
function qk(b,c){var d=!1;Q(b,"addfeature",function(b){d||(d=!0,c.push(b.feature),d=!1)});Q(b,"removefeature",function(b){d||(d=!0,c.remove(b.feature),d=!1)});Q(c,"add",function(b){d||(b=b.element,d=!0,this.Qb(b),d=!1)},!1,b);Q(c,"remove",function(b){d||(b=b.element,d=!0,this.oc(b),d=!1)},!1,b);b.i=c}
@ -254,7 +254,7 @@ function Gk(){this.a="varying vec2 a;varying float b;attribute vec2 c;attribute
function Hk(b,c){this.i=b.getUniformLocation(c,"k");this.w=b.getUniformLocation(c,"j");this.h=b.getUniformLocation(c,"i");this.g=b.getUniformLocation(c,"l");this.j=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"e");this.b=b.getAttribLocation(c,"f");this.f=b.getAttribLocation(c,"c");this.c=b.getAttribLocation(c,"g");this.o=b.getAttribLocation(c,"d")};function Ik(){this.a="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;}"}G(Ik,Dk);ea(Ik);
function Jk(){this.a="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;}"}G(Jk,Ek);ea(Jk);
function Kk(b,c){this.w=b.getUniformLocation(c,"j");this.h=b.getUniformLocation(c,"i");this.g=b.getUniformLocation(c,"k");this.j=b.getUniformLocation(c,"h");this.a=b.getAttribLocation(c,"e");this.b=b.getAttribLocation(c,"f");this.f=b.getAttribLocation(c,"c");this.c=b.getAttribLocation(c,"g");this.o=b.getAttribLocation(c,"d")};function Lk(b){this.a=v(b)?b:[];this.b=v(void 0)?void 0:35044};function Mk(b,c){this.s=b;this.a=c;this.b={};this.j={};this.g={};this.i=this.l=this.f=this.h=null;(this.c=0<=Ha(ta,"OES_element_index_uint"))&&c.getExtension("OES_element_index_uint");Q(this.s,"webglcontextlost",this.u,!1,this);Q(this.s,"webglcontextrestored",this.v,!1,this)}
function Nk(b,c,d){var e=b.a,f=d.a,h=C(d);if(h in b.b)e.bindBuffer(c,b.b[h].buffer);else{var g=e.createBuffer();e.bindBuffer(c,g);var k;34962==c?k=new Float32Array(f):34963==c&&(k=b.c?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,d.b);b.b[h]={re:d,buffer:g}}}function Ok(b,c){var d=b.a,e=C(c),f=b.b[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete b.b[e]}
function Nk(b,c,d){var e=b.a,f=d.a,h=C(d);if(h in b.b)e.bindBuffer(c,b.b[h].buffer);else{var g=e.createBuffer();e.bindBuffer(c,g);var k;34962==c?k=new Float32Array(f):34963==c&&(k=b.c?new Uint32Array(f):new Uint16Array(f));e.bufferData(c,k,d.b);b.b[h]={se:d,buffer:g}}}function Ok(b,c){var d=b.a,e=C(c),f=b.b[e];d.isContextLost()||d.deleteBuffer(f.buffer);delete b.b[e]}
Mk.prototype.H=function(){var b=this.a;b.isContextLost()||(Za(this.b,function(c){b.deleteBuffer(c.buffer)}),Za(this.g,function(c){b.deleteProgram(c)}),Za(this.j,function(c){b.deleteShader(c)}),b.deleteFramebuffer(this.f),b.deleteRenderbuffer(this.i),b.deleteTexture(this.l))};
function Pk(b){if(null===b.f){var c=b.a,d=c.createFramebuffer();c.bindFramebuffer(c.FRAMEBUFFER,d);var e=Qk(c,void 0,void 0);c.texImage2D(c.TEXTURE_2D,0,c.RGBA,1,1,0,c.RGBA,c.UNSIGNED_BYTE,null);var f=c.createRenderbuffer();c.bindRenderbuffer(c.RENDERBUFFER,f);c.renderbufferStorage(c.RENDERBUFFER,c.DEPTH_COMPONENT16,1,1);c.framebufferTexture2D(c.FRAMEBUFFER,c.COLOR_ATTACHMENT0,c.TEXTURE_2D,e,0);c.framebufferRenderbuffer(c.FRAMEBUFFER,c.DEPTH_ATTACHMENT,c.RENDERBUFFER,f);c.bindTexture(c.TEXTURE_2D,
null);c.bindRenderbuffer(c.RENDERBUFFER,null);c.bindFramebuffer(c.FRAMEBUFFER,null);b.f=d;b.l=e;b.i=f}return b.f}function Rk(b,c){var d=C(c);if(d in b.j)return b.j[d];var e=b.a,f=e.createShader(c.b());e.shaderSource(f,c.a);e.compileShader(f);return b.j[d]=f}function Sk(b,c,d){var e=C(c)+"/"+C(d);if(e in b.g)return b.g[e];var f=b.a,h=f.createProgram();f.attachShader(h,Rk(b,c));f.attachShader(h,Rk(b,d));f.linkProgram(h);return b.g[e]=h}
@ -279,40 +279,40 @@ rl.prototype.kc=function(b,c,d){sl(this,"precompose",d,b);Nk(d,34962,this.D);var
e.uniformMatrix4fv(g.f,!1,this.A);f&&e.uniformMatrix4fv(g.j,!1,Zd(this.J,c.brightness,c.contrast,c.hue,c.saturation));e.uniform1f(g.c,c.opacity);e.bindTexture(3553,this.ia);e.drawArrays(5,0,4);sl(this,"postcompose",d,b)};function sl(b,c,d,e){b=b.a;if(sc(b,c)){var f=e.viewState;U(b,new Jg(c,b,new il(d,f.center,f.resolution,f.rotation,e.size,e.extent),e,null,d))}}rl.prototype.O=function(){this.ia=null};function tl(b,c){rl.call(this,b,c);this.b=null}G(tl,rl);function ul(b,c){var d=sj(c);return Uk(b.c.f,d)}tl.prototype.Ka=function(b,c,d,e){var f=this.a;return f.Z().A(b,c.viewState.resolution,c.viewState.rotation,c.skippedFeatureUids,function(b){return d.call(e,b,f)})};
tl.prototype.lc=function(b,c){var d=this.c.f,e=b.pixelRatio,f=b.viewState,h=f.center,g=f.resolution,k=f.rotation,f=this.b,m=this.ia,p=this.a.Z(),q=b.viewHints,r=b.extent;v(c.extent)&&(r=Uc(r,c.extent));q[0]||q[1]||r[2]<r[0]||r[3]<r[1]||(q=yk(p,r),null!==q&&Rg(this,q)&&(f=q,m=ul(this,q),null===this.ia||b.postRenderFunctions.push(ra(function(b,c){b.isContextLost()||b.deleteTexture(c)},d,this.ia))));null!==f&&(d=this.c.g.s,vl(this,d.width,d.height,e,h,g,k,f.I()),e=this.B,Ec(e),Hc(e,1,-1),Gc(e,0,-1),
this.b=f,this.ia=m,Sg(b.attributions,f.f),Tg(b,p));return!0};function vl(b,c,d,e,f,h,g,k){c*=h;d*=h;b=b.A;Ec(b);Hc(b,2*e/c,2*e/d);Ic(b,-g);Gc(b,k[0]-f[0],k[1]-f[1]);Hc(b,(k[2]-k[0])/2,(k[3]-k[1])/2);Gc(b,1,1)};function wl(b,c){rl.call(this,b,c);this.g=!1;this.v=-1;this.u=NaN;this.l=Mc();this.j=this.b=this.s=null}G(wl,rl);l=wl.prototype;l.kc=function(b,c,d){this.j=c;var e=b.viewState,f=this.b;if(null!==f&&!f.W()){var h=e.center,g=e.resolution,e=e.rotation,k=b.size,m=c.opacity,p=c.brightness,q=c.contrast,r=c.hue,u=c.saturation;b=c.Ja?b.skippedFeatureUids:{};var t,y;c=0;for(t=Oi.length;c<t;++c)y=f.b[Oi[c]],v(y)&&$k(y,d,h,g,e,k,m,p,q,r,u,b,void 0,!1)}};
l.H=function(){var b=this.b;null!==b&&(cl(b,this.c.g)(),this.b=null);wl.L.H.call(this)};l.Ka=function(b,c,d,e){if(null!==this.b&&null!==this.j){var f=c.viewState,h=this.a,g=this.j,k={};return hl(this.b,b,this.c.g,f.resolution,f.rotation,g.opacity,g.brightness,g.contrast,g.hue,g.saturation,g.Ja?c.skippedFeatureUids:{},function(b){var c=C(b).toString();if(!(c in k))return k[c]=!0,d.call(e,b,h)})}};l.Hd=function(){Qg(this)};
l.lc=function(b,c,d){function e(b){var c;v(b.c)?c=b.c.call(b,p):v(f.a)&&(c=(0,f.a)(b,p));if(null!=c){if(null!=c){var d,e,g=!1;d=0;for(e=c.length;d<e;++d)g=kj(u,b,c[d],jj(p,q),this.Hd,this)||g;b=g}else b=!1;this.g=this.g||b}}var f=this.a;c=f.Z();Sg(b.attributions,c.l);Tg(b,c);var h=b.viewHints[0],g=b.viewHints[1],k=f.l,m=f.s;if(!this.g&&!k&&h||!m&&g)return!0;var g=b.extent,k=b.viewState,h=k.projection,p=k.resolution,q=b.pixelRatio,k=f.f,r=f.b,m=f.get("renderOrder");v(m)||(m=ij);g=Jc(g,r*p);if(!this.g&&
this.u==p&&this.v==k&&this.s==m&&Lc(this.l,g))return!0;null===this.b||b.postRenderFunctions.push(cl(this.b,d));this.g=!1;var u=new bl(.5*p/q,g,f.b);wk(c,g,p,h);if(null===m)uk(c,g,e,this);else{var t=[];uk(c,g,function(b){t.push(b)},this);Ra(t,m);J(t,e,this)}dl(u,d);this.u=p;this.v=k;this.s=m;this.l=g;this.b=u;return!0};function xl(b,c){Wg.call(this,0,c);this.a=document.createElement("CANVAS");this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";b.insertBefore(this.a,b.childNodes[0]||null);this.v=this.A=0;this.B=Df();this.i=!0;this.f=Ff(this.a,{antialias:!0,depth:!1,Gc:!0,preserveDrawingBuffer:!1,stencil:!0});this.g=new Mk(this.a,this.f);Q(this.a,"webglcontextlost",this.Fd,!1,this);Q(this.a,"webglcontextrestored",this.Gd,!1,this);this.b=new Le;this.u=null;this.l=new ah(E(function(b){var c=
l.H=function(){var b=this.b;null!==b&&(cl(b,this.c.g)(),this.b=null);wl.L.H.call(this)};l.Ka=function(b,c,d,e){if(null!==this.b&&null!==this.j){var f=c.viewState,h=this.a,g=this.j,k={};return hl(this.b,b,this.c.g,f.resolution,f.rotation,g.opacity,g.brightness,g.contrast,g.hue,g.saturation,g.Ja?c.skippedFeatureUids:{},function(b){var c=C(b).toString();if(!(c in k))return k[c]=!0,d.call(e,b,h)})}};l.Id=function(){Qg(this)};
l.lc=function(b,c,d){function e(b){var c;v(b.c)?c=b.c.call(b,p):v(f.a)&&(c=(0,f.a)(b,p));if(null!=c){if(null!=c){var d,e,g=!1;d=0;for(e=c.length;d<e;++d)g=kj(u,b,c[d],jj(p,q),this.Id,this)||g;b=g}else b=!1;this.g=this.g||b}}var f=this.a;c=f.Z();Sg(b.attributions,c.l);Tg(b,c);var h=b.viewHints[0],g=b.viewHints[1],k=f.l,m=f.s;if(!this.g&&!k&&h||!m&&g)return!0;var g=b.extent,k=b.viewState,h=k.projection,p=k.resolution,q=b.pixelRatio,k=f.f,r=f.b,m=f.get("renderOrder");v(m)||(m=ij);g=Jc(g,r*p);if(!this.g&&
this.u==p&&this.v==k&&this.s==m&&Lc(this.l,g))return!0;null===this.b||b.postRenderFunctions.push(cl(this.b,d));this.g=!1;var u=new bl(.5*p/q,g,f.b);wk(c,g,p,h);if(null===m)uk(c,g,e,this);else{var t=[];uk(c,g,function(b){t.push(b)},this);Ra(t,m);J(t,e,this)}dl(u,d);this.u=p;this.v=k;this.s=m;this.l=g;this.b=u;return!0};function xl(b,c){Wg.call(this,0,c);this.a=document.createElement("CANVAS");this.a.style.width="100%";this.a.style.height="100%";this.a.className="ol-unselectable";b.insertBefore(this.a,b.childNodes[0]||null);this.v=this.A=0;this.B=Df();this.i=!0;this.f=Ff(this.a,{antialias:!0,depth:!1,Hc:!0,preserveDrawingBuffer:!1,stencil:!0});this.g=new Mk(this.a,this.f);Q(this.a,"webglcontextlost",this.Gd,!1,this);Q(this.a,"webglcontextrestored",this.Hd,!1,this);this.b=new Le;this.u=null;this.l=new ah(E(function(b){var c=
b[1];b=b[2];var f=c[0]-this.u[0],c=c[1]-this.u[1];return 65536*Math.log(b)+Math.sqrt(f*f+c*c)/b},this),function(b){return b[0].getKey()});this.D=E(function(){if(!this.l.W()){dh(this.l);var b=bh(this.l),c=b[0],f=b[3],h=b[4],b=this.f,g=c.getKey();if(this.b.f.hasOwnProperty(g))c=this.b.get(g),b.bindTexture(3553,c.ia),9729!=c.hc&&(b.texParameteri(3553,10240,9729),c.hc=9729),9729!=c.ic&&(b.texParameteri(3553,10240,9729),c.ic=9729);else{var k=b.createTexture();b.bindTexture(3553,k);if(0<h){var m=this.B.canvas,
p=this.B;this.A!==f[0]||this.v!==f[1]?(m.width=f[0],m.height=f[1],this.A=f[0],this.v=f[1]):p.clearRect(0,0,f[0],f[1]);p.drawImage(c.a(),h,h,f[0],f[1],0,0,f[0],f[1]);b.texImage2D(3553,0,6408,6408,5121,m)}else b.texImage2D(3553,0,6408,6408,5121,c.a());b.texParameteri(3553,10240,9729);b.texParameteri(3553,10241,9729);b.texParameteri(3553,10242,33071);b.texParameteri(3553,10243,33071);this.b.set(g,{ia:k,hc:9729,ic:9729})}}},this);this.j=0;yl(this)}G(xl,Wg);l=xl.prototype;
l.Ub=function(b){return b instanceof Ai?new tl(this,b):b instanceof Bi?new wl(this,b):null};function zl(b,c,d){var e=b.h;if(sc(e,c)){var f=b.g;b=d.viewState;b=new il(f,b.center,b.resolution,b.rotation,d.size,d.extent);U(e,new Jg(c,e,b,d,null,f));c=Ja(cb(b.a),Number);Ra(c);var h,g;d=0;for(e=c.length;d<e;++d)for(f=b.a[c[d].toString()],h=0,g=f.length;h<g;++h)f[h](b)}}l.H=function(){var b=this.f;b.isContextLost()||this.b.forEach(function(c){null===c||b.deleteTexture(c.ia)});Ob(this.g);xl.L.H.call(this)};
l.Fc=function(b,c){for(var d=this.f,e;1024<this.b.Va()-this.j;){e=this.b.b.Za;if(null===e)if(+this.b.b.ob==c.index)break;else--this.j;else d.deleteTexture(e.ia);e=this.b;var f=e.b;delete e.f[f.ob];null!==f.ca&&(f.ca.sa=null);e.b=f.ca;null===e.b&&(e.a=null);--e.c}};l.Fd=function(b){b.preventDefault();this.b.clear();this.j=0;Za(this.c,function(b){b.O()})};l.Gd=function(){yl(this);this.h.render()};
l.Gc=function(b,c){for(var d=this.f,e;1024<this.b.Va()-this.j;){e=this.b.b.Za;if(null===e)if(+this.b.b.ob==c.index)break;else--this.j;else d.deleteTexture(e.ia);e=this.b;var f=e.b;delete e.f[f.ob];null!==f.ca&&(f.ca.sa=null);e.b=f.ca;null===e.b&&(e.a=null);--e.c}};l.Gd=function(b){b.preventDefault();this.b.clear();this.j=0;Za(this.c,function(b){b.O()})};l.Hd=function(){yl(this);this.h.render()};
function yl(b){b=b.f;b.activeTexture(33984);b.blendFuncSeparate(770,771,1,771);b.disable(2884);b.disable(2929);b.disable(3089);b.disable(2960)}
l.Ib=function(b){var c=this.g,d=this.f;if(d.isContextLost())return!1;if(null===b)return this.i&&(Ce(this.a,!1),this.i=!1),!1;this.u=b.focus;this.b.set((-b.index).toString(),null);++this.j;zl(this,"precompose",b);var e=[],f=b.layerStatesArray,h=b.viewState.resolution,g,k,m,p;g=0;for(k=f.length;g<k;++g)p=f[g],Lg(p,h)&&"ready"==p.sc&&(m=Zg(this,p.layer),m.lc(b,p,c)&&e.push(p));f=b.size[0]*b.pixelRatio;h=b.size[1]*b.pixelRatio;if(this.a.width!=f||this.a.height!=h)this.a.width=f,this.a.height=h;d.bindFramebuffer(36160,
null);d.clearColor(0,0,0,0);d.clear(16384);d.enable(3042);d.viewport(0,0,this.a.width,this.a.height);g=0;for(k=e.length;g<k;++g)p=e[g],m=Zg(this,p.layer),m.kc(b,p,c);this.i||(Ce(this.a,!0),this.i=!0);Xg(b);1024<this.b.Va()-this.j&&b.postRenderFunctions.push(E(this.Fc,this));this.l.W()||(b.postRenderFunctions.push(this.D),b.animate=!0);zl(this,"postcompose",b);$g(this,b);b.postRenderFunctions.push(Yg)};
null);d.clearColor(0,0,0,0);d.clear(16384);d.enable(3042);d.viewport(0,0,this.a.width,this.a.height);g=0;for(k=e.length;g<k;++g)p=e[g],m=Zg(this,p.layer),m.kc(b,p,c);this.i||(Ce(this.a,!0),this.i=!0);Xg(b);1024<this.b.Va()-this.j&&b.postRenderFunctions.push(E(this.Gc,this));this.l.W()||(b.postRenderFunctions.push(this.D),b.animate=!0);zl(this,"postcompose",b);$g(this,b);b.postRenderFunctions.push(Yg)};
l.jc=function(b,c,d,e,f,h){var g;if(this.f.isContextLost())return!1;var k=c.viewState,m=c.layerStatesArray,p;for(p=m.length-1;0<=p;--p){g=m[p];var q=g.layer;if(Lg(g,k.resolution)&&f.call(h,q)&&(g=Zg(this,q).Ka(b,c,d,e)))return g}};var Al=["canvas","webgl","dom"];
function Bl(b){W.call(this);var c=Cl(b);this.Fa=v(b.loadTilesWhileAnimating)?b.loadTilesWhileAnimating:!1;this.Ga=v(b.loadTilesWhileInteracting)?b.loadTilesWhileInteracting:!1;this.ab=v(b.pixelRatio)?b.pixelRatio:Hf;this.Ha=c.logos;this.A=new Xe(this.Td,void 0,this);Nb(this,this.A);this.oa=Bc();this.vc=Bc();this.Ea=0;this.b=null;this.U=Mc();this.c=this.v=null;this.a=Y("DIV","ol-viewport");this.a.style.position="relative";this.a.style.overflow="hidden";this.a.style.width="100%";this.a.style.height=
function Bl(b){W.call(this);var c=Cl(b);this.Fa=v(b.loadTilesWhileAnimating)?b.loadTilesWhileAnimating:!1;this.Ga=v(b.loadTilesWhileInteracting)?b.loadTilesWhileInteracting:!1;this.ab=v(b.pixelRatio)?b.pixelRatio:Hf;this.Ha=c.logos;this.A=new Xe(this.Ud,void 0,this);Nb(this,this.A);this.oa=Bc();this.vc=Bc();this.Ea=0;this.b=null;this.U=Mc();this.c=this.v=null;this.a=Y("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";Kf&&se(this.a,"ol-touch");this.O=Y("DIV","ol-overlaycontainer");this.a.appendChild(this.O);this.l=Y("DIV","ol-overlaycontainer-stopevent");Q(this.l,["click","dblclick","mousedown","touchstart","MSPointerDown",Cg,mb?"DOMMouseScroll":"mousewheel"],Pb);this.a.appendChild(this.l);b=new ug(this);Q(b,bb(Fg),this.ec,!1,this);Nb(this,b);this.J=c.keyboardEventTarget;this.i=new nf;Q(this.i,"key",this.cc,!1,this);Nb(this,this.i);b=new vf(this.a);Q(b,"mousewheel",this.cc,
!1,this);Nb(this,b);this.B=c.controls;this.h=c.interactions;this.s=c.overlays;this.G=new c.Ud(this.a,this);Nb(this,this.G);this.aa=new hf;Nb(this,this.aa);this.D=this.g=null;this.u=[];this.T=[];this.$=new eh(E(this.Pc,this),E(this.md,this));this.wc={};Q(this,X("layergroup"),this.Uc,!1,this);Q(this,X("view"),this.nd,!1,this);Q(this,X("size"),this.jd,!1,this);Q(this,X("target"),this.ld,!1,this);this.da(c.values);this.B.forEach(function(b){b.setMap(this)},this);Q(this.B,"add",function(b){b.element.setMap(this)},
!1,this);Nb(this,b);this.B=c.controls;this.h=c.interactions;this.s=c.overlays;this.G=new c.Vd(this.a,this);Nb(this,this.G);this.aa=new hf;Nb(this,this.aa);this.D=this.g=null;this.u=[];this.T=[];this.$=new eh(E(this.Qc,this),E(this.nd,this));this.wc={};Q(this,X("layergroup"),this.Vc,!1,this);Q(this,X("view"),this.od,!1,this);Q(this,X("size"),this.kd,!1,this);Q(this,X("target"),this.md,!1,this);this.da(c.values);this.B.forEach(function(b){b.setMap(this)},this);Q(this.B,"add",function(b){b.element.setMap(this)},
!1,this);Q(this.B,"remove",function(b){b.element.setMap(null)},!1,this);this.h.forEach(function(b){b.setMap(this)},this);Q(this.h,"add",function(b){b.element.setMap(this)},!1,this);Q(this.h,"remove",function(b){b.element.setMap(null)},!1,this);this.s.forEach(function(b){b.setMap(this)},this);Q(this.s,"add",function(b){b.element.setMap(this)},!1,this);Q(this.s,"remove",function(b){b.element.setMap(null)},!1,this)}G(Bl,W);l=Bl.prototype;l.Sb=function(b){pi(Dl(this)).push(b)};
l.ea=function(b){this.render();Array.prototype.push.apply(this.u,arguments)};l.H=function(){me(this.a);Bl.L.H.call(this)};l.Hc=function(b,c,d,e,f){if(null!==this.b)return b=this.qa(b),this.G.jc(b,this.b,c,v(d)?d:null,v(e)?e:Yc,v(f)?f:null)};function We(b,c){if(v(c.changedTouches)){var d=c.changedTouches[0],e=ze(b.a);return[d.clientX-e.x,d.clientY-e.y]}e=b.a;d=ze(c);e=ze(e);d=new ae(d.x-e.x,d.y-e.y);return[d.x,d.y]}function El(b){b=b.get("target");return v(b)?fe(b):null}
l.ea=function(b){this.render();Array.prototype.push.apply(this.u,arguments)};l.H=function(){me(this.a);Bl.L.H.call(this)};l.Ic=function(b,c,d,e,f){if(null!==this.b)return b=this.qa(b),this.G.jc(b,this.b,c,v(d)?d:null,v(e)?e:Yc,v(f)?f:null)};function We(b,c){if(v(c.changedTouches)){var d=c.changedTouches[0],e=ze(b.a);return[d.clientX-e.x,d.clientY-e.y]}e=b.a;d=ze(c);e=ze(e);d=new ae(d.x-e.x,d.y-e.y);return[d.x,d.y]}function El(b){b=b.get("target");return v(b)?fe(b):null}
l.qa=function(b){var c=this.b;if(null===c)return null;b=b.slice();return Og(c.pixelToCoordinateMatrix,b,b)};function Dl(b){return b.get("layergroup")}function yh(b,c){var d=b.b;if(null===d)return null;var e=c.slice(0,2);return Og(d.coordinateToPixelMatrix,e,e)}function Dh(b){return b.get("size")}l.C=function(){return this.get("view")};
l.Pc=function(b,c,d,e){var f=this.b,h;if(h=null!==f&&c in f.wantedTiles)b=b.c,h=f.wantedTiles[c][b[0]+"/"+b[1]+"/"+b[2]];if(!h)return Infinity;c=d[0]-f.focus[0];d=d[1]-f.focus[1];return 65536*Math.log(e)+Math.sqrt(c*c+d*d)/e};l.cc=function(b,c){var d=new sg(c||b.type,this,b);this.ec(d)};l.ec=function(b){if(null!==this.b){this.D=b.coordinate;b.frameState=this.b;var c=this.h.a,d;if(!1!==U(this,b))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.get("active")&&!e.handleEvent(b))break}}};
l.gd=function(){var b=this.b,c=this.$;if(!c.W()){var d=16,e=d,f=0;null!==b&&(f=b.viewHints,f[0]&&(d=this.Fa?8:0,e=2),f[1]&&(d=this.Ga?8:0,e=2),f=ab(b.wantedTiles));d*=f;e*=f;if(c.c<d){dh(c);for(var f=0,h;c.c<d&&f<e&&0<c.Va();)h=bh(c)[0],0===h.b()&&(Q(h,"change",c.o,!1,c),h.load(),++c.c,++f)}}c=this.T;e=0;for(d=c.length;e<d;++e)c[e](this,b);c.length=0};l.jd=function(){this.render()};
l.ld=function(){var b=El(this);uf(this.i);null===b?(me(this.a),null!==this.g&&(R(this.g),this.g=null)):(b.appendChild(this.a),of(this.i,null===this.J?b:this.J),null===this.g&&(this.g=Q(this.aa,"resize",this.ub,!1,this)));this.ub()};l.md=function(){this.render()};l.od=function(){this.render()};l.nd=function(){null!==this.v&&(R(this.v),this.v=null);var b=this.C();null!==b&&(this.v=Q(b,"propertychange",this.od,!1,this));this.render()};l.Vc=function(){this.render()};l.Wc=function(){this.render()};
l.Uc=function(){if(null!==this.c){for(var b=this.c.length,c=0;c<b;++c)R(this.c[c]);this.c=null}b=Dl(this);null!=b&&(this.c=[Q(b,"propertychange",this.Wc,!1,this),Q(b,"change",this.Vc,!1,this)]);this.render()};l.render=function(){null!=this.A.ba||this.A.start()};l.Rd=function(b){return pi(Dl(this)).remove(b)};
l.Td=function(b){var c,d,e,f=Dh(this),h=this.C(),g=null;if(v(f)&&0<f[0]&&0<f[1]&&null!==h&&Jd(h)){var g=h.g.slice(),k=Dl(this).Db(),m={};c=0;for(d=k.length;c<d;++c)m[C(k[c].layer)]=k[c];e=Id(h);g={animate:!1,attributions:{},coordinateToPixelMatrix:this.oa,extent:null,focus:null===this.D?e.center:this.D,index:this.Ea++,layerStates:m,layerStatesArray:k,logos:hb(this.Ha),pixelRatio:this.ab,pixelToCoordinateMatrix:this.vc,postRenderFunctions:[],size:f,skippedFeatureUids:this.wc,tileQueue:this.$,time:b,
usedTiles:{},viewState:e,viewHints:g,wantedTiles:{}}}if(null!==g){b=this.u;c=f=0;for(d=b.length;c<d;++c)h=b[c],h(this,g)&&(b[f++]=h);b.length=f;g.extent=Sc(e.center,e.resolution,e.rotation,g.size)}this.b=g;this.G.Ib(g);null!==g&&(g.animate&&this.render(),Array.prototype.push.apply(this.T,g.postRenderFunctions),0!==this.u.length||g.viewHints[0]||g.viewHints[1]||Pc(g.extent,this.U)||(U(this,new Je("moveend",this,g)),Kc(g.extent,this.U)));U(this,new Je("postrender",this,g));d=c=this.gd;this&&(d=E(c,
l.Qc=function(b,c,d,e){var f=this.b,h;if(h=null!==f&&c in f.wantedTiles)b=b.c,h=f.wantedTiles[c][b[0]+"/"+b[1]+"/"+b[2]];if(!h)return Infinity;c=d[0]-f.focus[0];d=d[1]-f.focus[1];return 65536*Math.log(e)+Math.sqrt(c*c+d*d)/e};l.cc=function(b,c){var d=new sg(c||b.type,this,b);this.ec(d)};l.ec=function(b){if(null!==this.b){this.D=b.coordinate;b.frameState=this.b;var c=this.h.a,d;if(!1!==U(this,b))for(d=c.length-1;0<=d;d--){var e=c[d];if(e.get("active")&&!e.handleEvent(b))break}}};
l.hd=function(){var b=this.b,c=this.$;if(!c.W()){var d=16,e=d,f=0;null!==b&&(f=b.viewHints,f[0]&&(d=this.Fa?8:0,e=2),f[1]&&(d=this.Ga?8:0,e=2),f=ab(b.wantedTiles));d*=f;e*=f;if(c.c<d){dh(c);for(var f=0,h;c.c<d&&f<e&&0<c.Va();)h=bh(c)[0],0===h.b()&&(Q(h,"change",c.o,!1,c),h.load(),++c.c,++f)}}c=this.T;e=0;for(d=c.length;e<d;++e)c[e](this,b);c.length=0};l.kd=function(){this.render()};
l.md=function(){var b=El(this);uf(this.i);null===b?(me(this.a),null!==this.g&&(R(this.g),this.g=null)):(b.appendChild(this.a),of(this.i,null===this.J?b:this.J),null===this.g&&(this.g=Q(this.aa,"resize",this.ub,!1,this)));this.ub()};l.nd=function(){this.render()};l.pd=function(){this.render()};l.od=function(){null!==this.v&&(R(this.v),this.v=null);var b=this.C();null!==b&&(this.v=Q(b,"propertychange",this.pd,!1,this));this.render()};l.Wc=function(){this.render()};l.Xc=function(){this.render()};
l.Vc=function(){if(null!==this.c){for(var b=this.c.length,c=0;c<b;++c)R(this.c[c]);this.c=null}b=Dl(this);null!=b&&(this.c=[Q(b,"propertychange",this.Xc,!1,this),Q(b,"change",this.Wc,!1,this)]);this.render()};l.render=function(){null!=this.A.ba||this.A.start()};l.Sd=function(b){return pi(Dl(this)).remove(b)};
l.Ud=function(b){var c,d,e,f=Dh(this),h=this.C(),g=null;if(v(f)&&0<f[0]&&0<f[1]&&null!==h&&Jd(h)){var g=h.g.slice(),k=Dl(this).Db(),m={};c=0;for(d=k.length;c<d;++c)m[C(k[c].layer)]=k[c];e=Id(h);g={animate:!1,attributions:{},coordinateToPixelMatrix:this.oa,extent:null,focus:null===this.D?e.center:this.D,index:this.Ea++,layerStates:m,layerStatesArray:k,logos:hb(this.Ha),pixelRatio:this.ab,pixelToCoordinateMatrix:this.vc,postRenderFunctions:[],size:f,skippedFeatureUids:this.wc,tileQueue:this.$,time:b,
usedTiles:{},viewState:e,viewHints:g,wantedTiles:{}}}if(null!==g){b=this.u;c=f=0;for(d=b.length;c<d;++c)h=b[c],h(this,g)&&(b[f++]=h);b.length=f;g.extent=Sc(e.center,e.resolution,e.rotation,g.size)}this.b=g;this.G.Ib(g);null!==g&&(g.animate&&this.render(),Array.prototype.push.apply(this.T,g.postRenderFunctions),0!==this.u.length||g.viewHints[0]||g.viewHints[1]||Pc(g.extent,this.U)||(U(this,new Je("moveend",this,g)),Kc(g.extent,this.U)));U(this,new Je("postrender",this,g));d=c=this.hd;this&&(d=E(c,
this));!la(n.setImmediate)||n.Window&&n.Window.prototype.setImmediate==n.setImmediate?(af||(af=bf()),af(d)):n.setImmediate(d)};
l.ub=function(){var b=El(this);if(null===b)this.set("size",void 0);else{var c=ee(b),d=K&&b.currentStyle;d&&pe(ce(c))&&"auto"!=d.width&&"auto"!=d.height&&!d.boxSizing?(c=De(b,d.width,"width","pixelWidth"),b=De(b,d.height,"height","pixelHeight"),b=new be(c,b)):(d=new be(b.offsetWidth,b.offsetHeight),c=Fe(b),b=Ie(b),b=new be(d.width-b.left-c.left-c.right-b.right,d.height-b.top-c.top-c.bottom-b.bottom));this.set("size",[b.width,b.height])}};
function Cl(b){var c=null;v(b.keyboardEventTarget)&&(c=z(b.keyboardEventTarget)?document.getElementById(b.keyboardEventTarget):b.keyboardEventTarget);var d={},e={};if(!v(b.logo)||"boolean"==typeof b.logo&&b.logo)e["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 f=b.logo;z(f)?e[f]="":ma(f)&&(e[f.src]=f.href)}f=b.layers instanceof oi?b.layers:new oi({layers:b.layers});d.layergroup=f;d.target=b.target;d.view=v(b.view)?b.view:new Gd;var f=Wg,h;v(b.renderer)?ha(b.renderer)?h=b.renderer:z(b.renderer)&&(h=[b.renderer]):h=Al;var g,k;g=0;for(k=h.length;g<k;++g){var m=h[g];if("canvas"==m){if(Jf){f=Ak;break}}else if("webgl"==m&&Gf){f=xl;break}}v(b.controls)?h=ha(b.controls)?new Td(b.controls.slice()):b.controls:(h=v(void 0)?void 0:
{},g=new Td,(v(h.zoom)?h.zoom:1)&&g.push(new Se(h.zoomOptions)),(v(h.rotate)?h.rotate:1)&&g.push(new Qe(h.rotateOptions)),(v(h.attribution)?h.attribution:1)&&g.push(new Oe(h.attributionOptions)),h=g);if(v(b.interactions))g=ha(b.interactions)?new Td(b.interactions.slice()):b.interactions;else{g=v(void 0)?void 0:{};k=new Td;m=new fh;(v(g.altShiftDragRotate)?g.altShiftDragRotate:1)&&k.push(new zh);(v(g.doubleClickZoom)?g.doubleClickZoom:1)&&k.push(new lh({delta:g.zoomDelta,duration:g.zoomDuration}));
(v(g.dragPan)?g.dragPan:1)&&k.push(new uh({kinetic:m}));(v(g.pinchRotate)?g.pinchRotate:1)&&k.push(new gi);(v(g.pinchZoom)?g.pinchZoom:1)&&k.push(new ki({duration:g.zoomDuration}));if(v(g.keyboard)?g.keyboard:1)k.push(new ai),k.push(new ci({delta:g.zoomDelta,duration:g.zoomDuration}));(v(g.mouseWheelZoom)?g.mouseWheelZoom:1)&&k.push(new ei({duration:g.zoomDuration}));(v(g.shiftDragZoom)?g.shiftDragZoom:1)&&k.push(new $h);g=k}b=v(b.overlays)?ha(b.overlays)?new Td(b.overlays.slice()):b.overlays:new Td;
return{controls:h,interactions:g,keyboardEventTarget:c,logos:e,overlays:b,Ud:f,values:d}}nd(ui);nd(zi);J(zi,function(b){J(ui,function(c){pd(b,c,vi);pd(c,b,wi)})});function Fl(b){W.call(this);this.l=v(b.insertFirst)?b.insertFirst:!0;this.s=v(b.stopEvent)?b.stopEvent:!0;this.b=Y("DIV",{"class":"ol-overlay-container"});this.b.style.position="absolute";this.i=v(b.autoPan)?b.autoPan:!1;this.g=v(b.autoPanAnimation)?b.autoPanAnimation:{};this.h=v(b.autoPanMargin)?b.autoPanMargin:20;this.a={bb:"",pb:"",sb:"",tb:"",visible:!0};this.c=null;Q(this,X("element"),this.Sc,!1,this);Q(this,X("map"),this.ad,!1,this);Q(this,X("offset"),this.bd,!1,this);Q(this,X("position"),this.ed,
!1,this);Q(this,X("positioning"),this.fd,!1,this);v(b.element)&&this.set("element",b.element);this.set("offset",v(b.offset)?b.offset:[0,0]);this.set("positioning",v(b.positioning)?b.positioning:"top-left");v(b.position)&&this.set("position",b.position)}G(Fl,W);l=Fl.prototype;l.Sc=function(){for(var b=this.b,c;c=b.firstChild;)b.removeChild(c);b=this.get("element");null!=b&&le(this.b,b)};
l.ad=function(){null!==this.c&&(me(this.b),R(this.c),this.c=null);var b=this.get("map");null!=b&&(this.c=Q(b,"postrender",this.render,!1,this),Gl(this),b=this.s?b.l:b.O,this.l?b.insertBefore(this.b,b.childNodes[0]||null):le(b,this.b))};l.render=function(){Gl(this)};l.bd=function(){Gl(this)};
l.ed=function(){Gl(this);if(v(this.get("position"))&&this.i){var b=this.get("map"),c;if(c=v(b))c=null!==El(b);if(c){c=Hl(El(b),Dh(b));var d=this.get("element"),e=d.offsetWidth,f=d.currentStyle||window.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,h=d.currentStyle||window.getComputedStyle(d),f=f+(parseInt(h.marginTop,10)+parseInt(h.marginBottom,10)),g=Hl(d,[e,f]),d=this.h;Lc(c,g)||(e=g[0]-c[0],f=c[2]-g[2],h=g[1]-c[1],g=c[3]-g[3],c=[0,0],0>e?c[0]=e-
d:0>f&&(c[0]=Math.abs(f)+d),0>h?c[1]=h-d:0>g&&(c[1]=Math.abs(g)+d),0===c[0]&&0===c[1])||(d=b.C().R(),e=yh(b,d),c=[e[0]+c[0],e[1]+c[1]],null!==this.g&&(this.g.source=d,b.ea(Pd(this.g))),b.C().fa(b.qa(c)))}}};l.fd=function(){Gl(this)};l.setMap=function(b){this.set("map",b)};
return{controls:h,interactions:g,keyboardEventTarget:c,logos:e,overlays:b,Vd:f,values:d}}nd(ui);nd(zi);J(zi,function(b){J(ui,function(c){pd(b,c,vi);pd(c,b,wi)})});function Fl(b){W.call(this);this.l=v(b.insertFirst)?b.insertFirst:!0;this.s=v(b.stopEvent)?b.stopEvent:!0;this.b=Y("DIV",{"class":"ol-overlay-container"});this.b.style.position="absolute";this.i=v(b.autoPan)?b.autoPan:!1;this.g=v(b.autoPanAnimation)?b.autoPanAnimation:{};this.h=v(b.autoPanMargin)?b.autoPanMargin:20;this.a={bb:"",pb:"",sb:"",tb:"",visible:!0};this.c=null;Q(this,X("element"),this.Tc,!1,this);Q(this,X("map"),this.bd,!1,this);Q(this,X("offset"),this.cd,!1,this);Q(this,X("position"),this.fd,
!1,this);Q(this,X("positioning"),this.gd,!1,this);v(b.element)&&this.set("element",b.element);this.set("offset",v(b.offset)?b.offset:[0,0]);this.set("positioning",v(b.positioning)?b.positioning:"top-left");v(b.position)&&this.set("position",b.position)}G(Fl,W);l=Fl.prototype;l.Tc=function(){for(var b=this.b,c;c=b.firstChild;)b.removeChild(c);b=this.get("element");null!=b&&le(this.b,b)};
l.bd=function(){null!==this.c&&(me(this.b),R(this.c),this.c=null);var b=this.get("map");null!=b&&(this.c=Q(b,"postrender",this.render,!1,this),Gl(this),b=this.s?b.l:b.O,this.l?b.insertBefore(this.b,b.childNodes[0]||null):le(b,this.b))};l.render=function(){Gl(this)};l.cd=function(){Gl(this)};
l.fd=function(){Gl(this);if(v(this.get("position"))&&this.i){var b=this.get("map"),c;if(c=v(b))c=null!==El(b);if(c){c=Hl(El(b),Dh(b));var d=this.get("element"),e=d.offsetWidth,f=d.currentStyle||window.getComputedStyle(d),e=e+(parseInt(f.marginLeft,10)+parseInt(f.marginRight,10)),f=d.offsetHeight,h=d.currentStyle||window.getComputedStyle(d),f=f+(parseInt(h.marginTop,10)+parseInt(h.marginBottom,10)),g=Hl(d,[e,f]),d=this.h;Lc(c,g)||(e=g[0]-c[0],f=c[2]-g[2],h=g[1]-c[1],g=c[3]-g[3],c=[0,0],0>e?c[0]=e-
d:0>f&&(c[0]=Math.abs(f)+d),0>h?c[1]=h-d:0>g&&(c[1]=Math.abs(g)+d),0===c[0]&&0===c[1])||(d=b.C().R(),e=yh(b,d),c=[e[0]+c[0],e[1]+c[1]],null!==this.g&&(this.g.source=d,b.ea(Pd(this.g))),b.C().fa(b.qa(c)))}}};l.gd=function(){Gl(this)};l.setMap=function(b){this.set("map",b)};
function Hl(b,c){var d=ee(b);xe(b,"position");var e=new ae(0,0),f;f=d?ee(d):document;f=!K||K&&9<=vb||pe(ce(f))?f.documentElement:f.body;if(b!=f){f=ye(b);var h=ce(d).a,d=M?h.body||h.documentElement:h.documentElement,h=h.parentWindow||h.defaultView,d=K&&tb("10")&&h.pageYOffset!=d.scrollTop?new ae(d.scrollLeft,d.scrollTop):new ae(h.pageXOffset||d.scrollLeft,h.pageYOffset||d.scrollTop);e.x=f.left+d.x;e.y=f.top+d.y}return[e.x,e.y,e.x+c[0],e.y+c[1]]}
function Gl(b){var c=b.get("map"),d=b.get("position");if(v(c)&&null!==c.b&&v(d)){var d=yh(c,d),e=Dh(c),c=b.b.style,f=b.get("offset"),h=b.get("positioning"),g=f[0],f=f[1];if("bottom-right"==h||"center-right"==h||"top-right"==h)""!==b.a.pb&&(b.a.pb=c.left=""),g=Math.round(e[0]-d[0]-g)+"px",b.a.sb!=g&&(b.a.sb=c.right=g);else{""!==b.a.sb&&(b.a.sb=c.right="");if("bottom-center"==h||"center-center"==h||"top-center"==h)g-=Ae(b.b).width/2;g=Math.round(d[0]+g)+"px";b.a.pb!=g&&(b.a.pb=c.left=g)}if("bottom-left"==
h||"bottom-center"==h||"bottom-right"==h)""!==b.a.tb&&(b.a.tb=c.top=""),d=Math.round(e[1]-d[1]-f)+"px",b.a.bb!=d&&(b.a.bb=c.bottom=d);else{""!==b.a.bb&&(b.a.bb=c.bottom="");if("center-left"==h||"center-center"==h||"center-right"==h)f-=Ae(b.b).height/2;d=Math.round(d[1]+f)+"px";b.a.tb!=d&&(b.a.tb=c.top=d)}b.a.visible||(Ce(b.b,!0),b.a.visible=!0)}else b.a.visible&&(Ce(b.b,!1),b.a.visible=!1)};function Il(b){b=v(b)?b:{};this.c=v(b.collapsed)?b.collapsed:!0;this.i=v(b.collapsible)?b.collapsible:!0;this.i||(this.c=!1);var c=v(b.className)?b.className:"ol-overviewmap",d=v(b.tipLabel)?b.tipLabel:"Overview map",e=v(b.collapseLabel)?b.collapseLabel:"\u00ab";this.s=z(e)?Y("SPAN",{},e):e;e=v(b.label)?b.label:"\u00bb";this.u=z(e)?Y("SPAN",{},e):e;d=Y("BUTTON",{type:"button",title:d},this.i&&!this.c?this.s:this.u);Q(d,"click",this.A,!1,this);var e=Y("DIV","ol-overviewmap-map"),f=this.b=new Bl({controls:new Td,
@ -328,7 +328,7 @@ function Tl(b){var c,d=parseInt(b.getAttribute("WIDTH"),10),e=parseInt(b.getAttr
function Ul(b,c){for(var d=ek([],Vl,b,c),e="",f=Tl(b),h=0;h<d.length;h++)e+=d[h].get("fulltext");f.da({textline:d,fulltext:e});return[f]}
var dk=["http://www.loc.gov/standards/alto/ns-v2#"],Sl=ck({Layout:bk(function(b,c){return ek([],Wl,b,c)})}),Xl=ck({TextBlock:ak(Ul)}),Wl=ck({Page:bk(function(b,c){var d=Tl(b);return ek(d,Yl,b,c)})}),Yl=ck({PrintSpace:bk(function(b,c){var d=c[c.length-1];v(d.M())||(d=Tl(b));var e=ek([],Zl,b,c);d.da({features:e});return d})}),Zl=ck({TextBlock:ak(Ul),ComposedBlock:ak(function(b,c){return ek([],Xl,b,c)})}),Vl=ck({TextLine:ak(function(b,c){var d=ek([""],$l,b,c),e=Tl(b);e.da({fulltext:d+"\n"});return[e]})}),
$l=ck({String:bk(function(b,c){return c[c.length-1]+b.getAttribute("CONTENT")}),SP:bk(function(b,c){return c[c.length-1]+" "}),HYP:bk(function(b,c){return c[c.length-1]+"-"})});function am(b,c,d,e,f,h,g){Mg.call(this,b,c,d,0,e);this.j=f;this.a=new Image;null!==h&&(this.a.crossOrigin=h);this.c={};this.b=null;this.state=0;this.g=g}G(am,Mg);function sj(b){if(v(void 0)){var c,d=C(void 0);if(d in b.c)return b.c[d];c=db(b.c)?b.a:b.a.cloneNode(!1);return b.c[d]=c}return b.a}am.prototype.i=function(){this.state=3;J(this.b,R);this.b=null;U(this,"change")};
am.prototype.l=function(){v(this.resolution)||(this.resolution=Tc(this.extent)/this.a.height);this.state=2;J(this.b,R);this.b=null;U(this,"change")};am.prototype.load=function(){0==this.state&&(this.state=1,U(this,"change"),this.b=[mc(this.a,"error",this.i,!1,this),mc(this.a,"load",this.l,!1,this)],this.g(this,this.j))};function bm(b){var c=v(b.attributions)?b.attributions:null,d=b.imageExtent,e,f;v(b.imageSize)&&(e=Tc(d)/b.imageSize[1],f=[e]);var h=v(b.crossOrigin)?b.crossOrigin:null,g=v(b.imageLoadFunction)?b.imageLoadFunction:rj;mj.call(this,{attributions:c,logo:b.logo,projection:kd(b.projection),resolutions:f});this.a=new am(d,e,1,c,b.url,h,g);Q(this.a,"change",this.b,!1,this)}G(bm,mj);function yk(b,c){return Vc(c,b.a.I())?b.a:null};F("ol.animation.rotate",Qd);F("ol.animation.zoom",Rd);F("ol.control.Zoom",Se);F("ol.control.MousePosition",Te);F("ol.control.OverviewMap",Il);F("ol.extent.getCenter",Rc);F("ol.Feature",tj);tj.prototype.get=tj.prototype.get;tj.prototype.getId=tj.prototype.Kc;tj.prototype.getGeometry=tj.prototype.M;tj.prototype.setGeometry=tj.prototype.Hb;tj.prototype.setId=tj.prototype.Vd;tj.prototype.setProperties=tj.prototype.da;F("ol.format.ALTO",Rl);Rl.prototype.readFeatures=Rl.prototype.a;
F("ol.geom.Polygon",Cd);Cd.prototype.getCoordinates=Cd.prototype.B;F("ol.interaction.DragPan",uh);F("ol.interaction.MouseWheelZoom",ei);F("ol.interaction.KeyboardPan",ai);F("ol.interaction.KeyboardZoom",ci);F("ol.layer.Image",Ai);F("ol.layer.Vector",Bi);Bi.prototype.getSource=Bi.prototype.Z;F("ol.Map",Bl);Bl.prototype.addLayer=Bl.prototype.Sb;Bl.prototype.beforeRender=Bl.prototype.ea;Bl.prototype.forEachFeatureAtPixel=Bl.prototype.Hc;Bl.prototype.getView=Bl.prototype.C;Bl.prototype.on=Bl.prototype.vb;
Bl.prototype.removeLayer=Bl.prototype.Rd;F("ol.proj.Projection",id);F("ol.source.ImageStatic",bm);F("ol.source.Vector",ok);ok.prototype.addFeature=ok.prototype.Qb;ok.prototype.addFeatures=ok.prototype.Rb;ok.prototype.clear=ok.prototype.clear;ok.prototype.removeFeature=ok.prototype.oc;F("ol.style.Fill",Uh);F("ol.style.Style",Wh);F("ol.style.Stroke",Qh);F("ol.View",Gd);Gd.prototype.getCenter=Gd.prototype.R;Gd.prototype.getRotation=Gd.prototype.K;Gd.prototype.getResolution=Gd.prototype.Y;
Gd.prototype.getZoom=Gd.prototype.Qc;Gd.prototype.rotate=Gd.prototype.rotate;Gd.prototype.setCenter=Gd.prototype.fa;Gd.prototype.setZoom=Gd.prototype.Yd;})();
am.prototype.l=function(){v(this.resolution)||(this.resolution=Tc(this.extent)/this.a.height);this.state=2;J(this.b,R);this.b=null;U(this,"change")};am.prototype.load=function(){0==this.state&&(this.state=1,U(this,"change"),this.b=[mc(this.a,"error",this.i,!1,this),mc(this.a,"load",this.l,!1,this)],this.g(this,this.j))};function bm(b){var c=v(b.attributions)?b.attributions:null,d=b.imageExtent,e,f;v(b.imageSize)&&(e=Tc(d)/b.imageSize[1],f=[e]);var h=v(b.crossOrigin)?b.crossOrigin:null,g=v(b.imageLoadFunction)?b.imageLoadFunction:rj;mj.call(this,{attributions:c,logo:b.logo,projection:kd(b.projection),resolutions:f});this.a=new am(d,e,1,c,b.url,h,g);Q(this.a,"change",this.b,!1,this)}G(bm,mj);function yk(b,c){return Vc(c,b.a.I())?b.a:null};F("ol.animation.rotate",Qd);F("ol.animation.zoom",Rd);F("ol.control.Zoom",Se);F("ol.control.MousePosition",Te);F("ol.control.OverviewMap",Il);F("ol.extent.getCenter",Rc);F("ol.Feature",tj);tj.prototype.get=tj.prototype.get;tj.prototype.getId=tj.prototype.Lc;tj.prototype.getGeometry=tj.prototype.M;tj.prototype.setGeometry=tj.prototype.Hb;tj.prototype.setId=tj.prototype.Wd;tj.prototype.setProperties=tj.prototype.da;F("ol.format.ALTO",Rl);Rl.prototype.readFeatures=Rl.prototype.a;
F("ol.geom.Polygon",Cd);Cd.prototype.getCoordinates=Cd.prototype.B;F("ol.interaction.DragPan",uh);F("ol.interaction.MouseWheelZoom",ei);F("ol.interaction.KeyboardPan",ai);F("ol.interaction.KeyboardZoom",ci);F("ol.layer.Image",Ai);F("ol.layer.Vector",Bi);Bi.prototype.getSource=Bi.prototype.Z;F("ol.Map",Bl);Bl.prototype.addLayer=Bl.prototype.Sb;Bl.prototype.beforeRender=Bl.prototype.ea;Bl.prototype.forEachFeatureAtPixel=Bl.prototype.Ic;Bl.prototype.getView=Bl.prototype.C;Bl.prototype.on=Bl.prototype.vb;
Bl.prototype.removeLayer=Bl.prototype.Sd;Bl.prototype.un=Bl.prototype.xc;F("ol.proj.Projection",id);F("ol.source.ImageStatic",bm);F("ol.source.Vector",ok);ok.prototype.addFeature=ok.prototype.Qb;ok.prototype.addFeatures=ok.prototype.Rb;ok.prototype.clear=ok.prototype.clear;ok.prototype.removeFeature=ok.prototype.oc;F("ol.style.Fill",Uh);F("ol.style.Style",Wh);F("ol.style.Stroke",Qh);F("ol.View",Gd);Gd.prototype.getCenter=Gd.prototype.R;Gd.prototype.getRotation=Gd.prototype.K;
Gd.prototype.getResolution=Gd.prototype.Y;Gd.prototype.getZoom=Gd.prototype.Rc;Gd.prototype.rotate=Gd.prototype.rotate;Gd.prototype.setCenter=Gd.prototype.fa;Gd.prototype.setZoom=Gd.prototype.Zd;})();

View File

@ -31,6 +31,7 @@
"ol.Map#getView",
"ol.Map#on",
"ol.Map#removeLayer",
"ol.Map#un",
"ol.proj.Projection",
"ol.source.ImageStatic",
"ol.source.Vector",