(function(){function k(a){return function(){return this[a]}}function aa(a){return function(){return a}}var m,ba=ba||{},p=this;function da(){}function fa(a){a.ia=function(){return a.ce?a.ce:a.ce=new a}} function ga(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function t(a){return void 0!==a}function ha(a){return null===a}function ia(a){return"array"==ga(a)}function ja(a){var b=ga(a);return"array"==b||"object"==b&&"number"==typeof a.length}function v(a){return"string"==typeof a}function ka(a){return"number"==typeof a}function la(a){return"function"==ga(a)}function ma(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function x(a){return a[na]||(a[na]=++oa)} var na="closure_uid_"+(1E9*Math.random()>>>0),oa=0;function pa(a,b,c){return a.call.apply(a.bind,arguments)}function qa(a,b,c){if(!a)throw Error();if(2/g,Ca=/\"/g,ya=/[&<>\"]/; function Da(a){a=t(void 0)?a.toFixed(void 0):String(a);var b=a.indexOf(".");-1==b&&(b=a.length);b=Math.max(0,2-b);return Array(b+1).join("0")+a};var Ea=Array.prototype,Ga=Ea.indexOf?function(a,b,c){return Ea.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(v(a))return v(b)&&1==b.length?a.indexOf(b,c):-1;for(;cc?null:v(a)?a.charAt(c):a[c]}function Oa(a,b,c){for(var d=a.length,e=v(a)?a.split(""):a,f=0;f=arguments.length?Ea.slice.call(a,b):Ea.slice.call(a,b,c)}function Va(a,b){Ea.sort.call(a,b||Wa)}function Wa(a,b){return a>b?1:a>=1;return b.join("")}Ya.prototype.toString=function(){return[this.z,this.x,this.y].join("/")};function ab(a,b,c,d){this.a=a;this.d=b;this.c=c;this.b=d}function bb(a,b,c,d,e){return t(e)?(e.a=a,e.d=b,e.c=c,e.b=d,e):new ab(a,b,c,d)}ab.prototype.contains=function(a){return this.a<=a.x&&a.x<=this.d&&this.c<=a.y&&a.y<=this.b};function cb(a){this.b=a.html;this.a=t(a.tileRanges)?a.tileRanges:null};function db(){0!=eb&&(this.ih=Error().stack,fb[x(this)]=this)}var eb=0,fb={};db.prototype.ec=!1;db.prototype.uc=function(){if(!this.ec&&(this.ec=!0,this.v(),0!=eb)){var a=x(this);delete fb[a]}};function gb(a,b){var c=ra(hb,b);a.R||(a.R=[]);a.R.push(y(c,void 0))}db.prototype.v=function(){if(this.R)for(;this.R.length;)this.R.shift()()};function hb(a){a&&"function"==typeof a.uc&&a.uc()};function ib(a,b){this.type=a;this.c=this.target=b}m=ib.prototype;m.uc=function(){};m.jb=!1;m.cf=!1;m.re=!0;m.sb=function(){this.jb=!0};m.U=function(){this.cf=!0;this.re=!1};function jb(a){a.sb()}function kb(a){a.U()};var lb,mb,nb,ob,pb,qb,rb;function sb(){return p.navigator?p.navigator.userAgent:null}function tb(){return p.navigator}ob=nb=mb=lb=!1;var ub;if(ub=sb()){var vb=tb();lb=0==ub.lastIndexOf("Opera",0);mb=!lb&&(-1!=ub.indexOf("MSIE")||-1!=ub.indexOf("Trident"));nb=!lb&&-1!=ub.indexOf("WebKit");ob=!lb&&!nb&&!mb&&"Gecko"==vb.product}var wb=lb,G=mb,xb=ob,yb=nb,zb,Ab=tb();zb=Ab&&Ab.platform||"";pb=-1!=zb.indexOf("Mac");qb=-1!=zb.indexOf("Win");rb=-1!=zb.indexOf("Linux"); var Bb=!!tb()&&-1!=(tb().appVersion||"").indexOf("X11");function Cb(){var a=p.document;return a?a.documentMode:void 0}var Db;a:{var Eb="",Gb;if(wb&&p.opera)var Hb=p.opera.version,Eb="function"==typeof Hb?Hb():Hb;else if(xb?Gb=/rv\:([^\);]+)(\)|;)/:G?Gb=/\b(?:MSIE|rv)\s+([^\);]+)(\)|;)/:yb&&(Gb=/WebKit\/(\S+)/),Gb)var Ib=Gb.exec(sb()),Eb=Ib?Ib[1]:"";if(G){var Kb=Cb();if(Kb>parseFloat(Eb)){Db=String(Kb);break a}}Db=Eb}var Lb={}; function Mb(a){var b;if(!(b=Lb[a])){b=0;for(var c=ua(String(Db)).split("."),d=ua(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&f(0==r[1].length?0:parseInt(r[1],10))?1:0)||((0==q[2].length)< (0==r[2].length)?-1:(0==q[2].length)>(0==r[2].length)?1:0)||(q[2]r[2]?1:0)}while(0==b)}b=Lb[a]=0<=b}return b}var Nb=p.document,Ob=Nb&&G?Cb()||("CSS1Compat"==Nb.compatMode?parseInt(Db,10):5):void 0;var Pb=!G||G&&9<=Ob,Qb=!G||G&&9<=Ob,Rb=G&&!Mb("9");!yb||Mb("528");xb&&Mb("1.9b")||G&&Mb("8")||wb&&Mb("9.5")||yb&&Mb("528");xb&&!Mb("8")||G&&Mb("9");function Sb(a){Sb[" "](a);return a}Sb[" "]=da;function Tb(a,b){a&&Ub(this,a,b)}F(Tb,ib);var Vb=[1,4,2];m=Tb.prototype;m.target=null;m.bf=null;m.Td=0;m.Ud=0;m.clientX=0;m.clientY=0;m.rd=0;m.sd=0;m.af=0;m.Ua=0;m.pd=0;m.Vb=!1;m.wa=!1;m.Va=!1;m.qd=!1;m.Jb=!1;m.da=null; function Ub(a,b,c){var d=a.type=b.type;ib.call(a,d);a.target=b.target||b.srcElement;a.c=c;if(c=b.relatedTarget){if(xb){var e;a:{try{Sb(c.nodeName);e=!0;break a}catch(f){}e=!1}e||(c=null)}}else"mouseover"==d?c=b.fromElement:"mouseout"==d&&(c=b.toElement);a.bf=c;a.Td=yb||void 0!==b.offsetX?b.offsetX:b.layerX;a.Ud=yb||void 0!==b.offsetY?b.offsetY:b.layerY;a.clientX=void 0!==b.clientX?b.clientX:b.pageX;a.clientY=void 0!==b.clientY?b.clientY:b.pageY;a.rd=b.screenX||0;a.sd=b.screenY||0;a.af=b.button;a.Ua= b.keyCode||0;a.pd=b.charCode||("keypress"==d?b.keyCode:0);a.Vb=b.ctrlKey;a.wa=b.altKey;a.Va=b.shiftKey;a.qd=b.metaKey;a.Jb=pb?b.metaKey:b.ctrlKey;a.a=b.state;a.da=b;b.defaultPrevented&&a.U();delete a.jb}function Wb(a){return(Pb?0==a.da.button:"click"==a.type?!0:!!(a.da.button&Vb[0]))&&!(yb&&pb&&a.Vb)}m.sb=function(){Tb.B.sb.call(this);this.da.stopPropagation?this.da.stopPropagation():this.da.cancelBubble=!0}; m.U=function(){Tb.B.U.call(this);var a=this.da;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Rb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};m.Pe=k("da");var Xb="closure_listenable_"+(1E6*Math.random()|0);function Yb(a){return!(!a||!a[Xb])}var dc=0;function ec(a,b,c,d,e,f){this.Oa=a;this.a=b;this.src=c;this.type=d;this.capture=!!e;this.ub=f;this.key=++dc;this.ab=this.Cb=!1}function fc(a){a.ab=!0;a.Oa=null;a.a=null;a.src=null;a.ub=null};function gc(a,b){for(var c in a)b.call(void 0,a[c],c,a)}function hc(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function ic(a){var b=0,c;for(c in a)b++;return b}function jc(a){for(var b in a)return b}function kc(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function lc(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function mc(a){var b=nc,c;for(c in b)if(a.call(void 0,b[c],c,b))return c}function oc(a){for(var b in a)return!1;return!0} function pc(a){var b={},c;for(c in a)b[c]=a[c];return b}var qc="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function H(a,b){for(var c,d,e=1;ee.keyCode||void 0!=e.returnValue)return!0;a:{var h=!1;if(0==e.keyCode)try{e.keyCode=-1;break a}catch(l){h=!0}if(h||void 0==e.returnValue)e.returnValue=!0}}h=new Tb;Ub(h,e,this);e=!0;try{if(c){for(var n=[],q=h.c;q;q=q.parentNode)n.push(q);f=d[!0];for(var r=n.length- 1;!h.jb&&0<=r;r--)h.c=n[r],e&=Jc(f,n[r],h);if(g)for(f=d[!1],r=0;!h.jb&&r>>0);function yc(a){return la(a)?a:a[Mc]||(a[Mc]=function(b){return a.handleEvent(b)})};function Nc(a){this.src=a;this.a={};this.b=0}Nc.prototype.add=function(a,b,c,d,e){var f=this.a[a];f||(f=this.a[a]=[],this.b++);var g=Ic(f,b,d,e);-1c*b?c+b:c}function bd(a){return a*Math.PI/180};function cd(a){L.call(this);a=t(a)?a:{};this.a=null;J(this,Vc("tracking"),this.i,!1,this);this.b(t(a.tracking)?a.tracking:!1)}F(cd,L);cd.prototype.v=function(){this.b(!1);cd.B.v.call(this)};var hd="DeviceOrientationEvent"in window; cd.prototype.k=function(a){a=a.da;if(null!=a.alpha){var b=bd(a.alpha);this.set("alpha",b);"boolean"==typeof a.absolute&&a.absolute?this.set("heading",b):null!=a.webkitCompassHeading&&(null!=a.webkitCompassAccuracy&&-1!=a.webkitCompassAccuracy)&&this.set("heading",bd(a.webkitCompassHeading))}null!=a.beta&&this.set("beta",bd(a.beta));null!=a.gamma&&this.set("gamma",bd(a.gamma))};cd.prototype.d=function(){return this.get("alpha")};cd.prototype.getAlpha=cd.prototype.d;cd.prototype.e=function(){return this.get("beta")}; cd.prototype.getBeta=cd.prototype.e;cd.prototype.f=function(){return this.get("gamma")};cd.prototype.getGamma=cd.prototype.f;cd.prototype.g=function(){return this.get("heading")};cd.prototype.getHeading=cd.prototype.g;cd.prototype.c=function(){return this.get("tracking")};cd.prototype.getTracking=cd.prototype.c;cd.prototype.i=function(){if(hd){var a=this.c();a&&null===this.a?this.a=J(window,"deviceorientation",this.k,!1,this):a||null===this.a||(Fc(this.a),this.a=null)}}; cd.prototype.b=function(a){this.set("tracking",a)};cd.prototype.setTracking=cd.prototype.b;function id(a,b){a[0]+=b[0];a[1]+=b[1]}function jd(a,b){var c=ad(a+180,360)-180,d=Math.abs(Math.round(3600*c));return Math.floor(d/3600)+"\u00b0 "+Math.floor(d/60%60)+"\u2032 "+Math.floor(d%60)+"\u2033 "+b.charAt(0>c?1:0)}function kd(a,b){var c=Math.cos(b),d=Math.sin(b),e=a[1]*c+a[0]*d;a[0]=a[0]*c-a[1]*d;a[1]=e}function ld(a,b){var c=a[0]-b[0],d=a[1]-b[1];return c*c+d*d} function md(a,b){var c=a[0],d=a[1],e=b[0],f=b[1],g=e[0],e=e[1],h=f[0],l=f[1],n=h-g,q=l-e,f=0==n&&0==q?0:(n*(c-g)+q*(d-e))/(n*n+q*q||0);0>=f||(1<=f?(g=h,e=l):(g+=f*n,e+=f*q));c=g-c;d=e-d;return[g,e,c*c+d*d,f]}function nd(a,b){if(t(a)){var c=b||0;return a[0].toFixed(c)+", "+a[1].toFixed(c)}return""}function od(a,b){var c=b.charAt(0);return"n"===c||"s"===c?[a[1],a[0]]:a};function pd(a){var b=qd(),c=a.length,d;for(d=0;de[1]&&(e[1]=f[0]);f[1]e[3]&&(e[3]=f[1])}return b}function rd(a,b,c){var d=Math.min.apply(null,a);a=Math.max.apply(null,a);var e=Math.min.apply(null,b);b=Math.max.apply(null,b);return sd(d,a,e,b,c)}function td(a,b){return a[0]<=b[0]&&b[0]<=a[1]&&a[2]<=b[1]&&b[1]<=a[3]}function ud(a,b){return a[0]<=b[0]&&b[1]<=a[1]&&a[2]<=b[2]&&b[3]<=a[3]} function qd(){return[Infinity,-Infinity,Infinity,-Infinity]}function sd(a,b,c,d,e){return t(e)?(e[0]=a,e[1]=b,e[2]=c,e[3]=d,e):[a,b,c,d]}function vd(a,b){return a[0]==b[0]&&a[1]==b[1]&&a[2]==b[2]&&a[3]==b[3]}function wd(a,b){b[0]a[1]&&(a[1]=b[1]);b[2]a[3]&&(a[3]=b[3])}function xd(a){return[a[0],a[2]]}function yd(a){return[(a[0]+a[1])/2,(a[2]+a[3])/2]} function zd(a,b,c,d){var e=b*d[0]/2;d=b*d[1]/2;b=Math.cos(c);c=Math.sin(c);e=[-e,-e,e,e];d=[-d,d,-d,d];var f,g,h;for(f=0;4>f;++f)g=e[f],h=d[f],e[f]=a[0]+g*b-h*c,d[f]=a[1]+g*c+h*b;return rd(e,d,void 0)}function Ad(a){return[a[0],a[3]]}function Bd(a,b){return a[0]<=b[1]&&a[1]>=b[0]&&a[2]<=b[3]&&a[3]>=b[2]}function Cd(a,b,c){a=[a[0],a[2],a[0],a[3],a[1],a[2],a[1],a[3]];b(a,a,2);return rd([a[0],a[2],a[4],a[6]],[a[1],a[3],a[5],a[7]],c)};function Dd(a){a=a?a:{};this.coordinates=[];this.b=[];this.c=[];this.va=a.dimension||2;this.a=a.offset||null}Dd.prototype.add=function(a){for(var b=this.coordinates.length,c=this.a,d=this.va,e=a.length,f,g,h=0;h2*this.r&&re(this),!0):!1};function re(a){if(a.r!=a.a.length){for(var b=0,c=0;bc?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")} function xe(a,b,c){if(ia(b))for(var d=0;db)throw Error("Bad port number "+b);a.Pc=b}else a.Pc=null}function De(a,b,c){Be(a);b instanceof Ee?(a.a=b,Ke(a.a,a.qb)):(c||(b=Fe(b,Le)),a.a=new Ee(b,0,a.qb))}function Me(a,b,c){Be(a);ia(c)||(c=[String(c)]);Ne(a.a,b,c)}function Be(a){if(a.Jf)throw Error("Tried to modify a read-only Uri");} function Fe(a,b){return v(a)?encodeURI(a).replace(b,Oe):null}function Oe(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var Ge=/[#\/\?@]/g,Ie=/[\#\?:]/g,He=/[\#\?]/g,Le=/[\#\?@]/g,Je=/#/g;function Ee(a,b,c){this.a=a||null;this.b=!!c} function Pe(a){if(!a.V&&(a.V=new qe,a.r=0,a.a))for(var b=a.a.split("\x26"),c=0;c=a||96<=a&&106>=a||65<=a&&90>=a||yb&&0==a)return!0;switch(a){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 Vf(a){switch(a){case 61:return 187;case 59:return 186;case 224:return 91;case 0:return 224;default:return a}};function Wf(a,b){Oc.call(this);a&&(this.Kc&&Xf(this),this.Wb=a,this.Jc=J(this.Wb,"keypress",this,b),this.td=J(this.Wb,"keydown",this.a,b,this),this.Kc=J(this.Wb,"keyup",this.b,b,this))}F(Wf,Oc);m=Wf.prototype;m.Wb=null;m.Jc=null;m.td=null;m.Kc=null;m.pa=-1;m.gb=-1;m.ad=!1; var Yf={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},Zf={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},$f=G||yb&&Mb("525"),ag=pb&&xb; Wf.prototype.a=function(a){yb&&(17==this.pa&&!a.Vb||18==this.pa&&!a.wa||pb&&91==this.pa&&!a.qd)&&(this.gb=this.pa=-1);-1==this.pa&&(a.Vb&&17!=a.Ua?this.pa=17:a.wa&&18!=a.Ua?this.pa=18:a.qd&&91!=a.Ua&&(this.pa=91));$f&&!Tf(a.Ua,this.pa,a.Va,a.Vb,a.wa)?this.handleEvent(a):(this.gb=xb?Vf(a.Ua):a.Ua,ag&&(this.ad=a.wa))};Wf.prototype.b=function(a){this.gb=this.pa=-1;this.ad=a.wa}; Wf.prototype.handleEvent=function(a){var b=a.da,c,d,e=b.altKey;G&&"keypress"==a.type?(c=this.gb,d=13!=c&&27!=c?b.keyCode:0):yb&&"keypress"==a.type?(c=this.gb,d=0<=b.charCode&&63232>b.charCode&&Uf(c)?b.charCode:0):wb?(c=this.gb,d=Uf(c)?b.keyCode:0):(c=b.keyCode||this.gb,d=b.charCode||0,ag&&(e=this.ad),pb&&(63==d&&224==c)&&(c=191));var f=c,g=b.keyIdentifier;c?63232<=c&&c in Yf?f=Yf[c]:25==c&&a.Va&&(f=9):g&&g in Zf&&(f=Zf[g]);a=f==this.pa;this.pa=f;b=new bg(f,d,a,b);b.wa=e;K(this,b)}; function Xf(a){a.Jc&&(Fc(a.Jc),Fc(a.td),Fc(a.Kc),a.Jc=null,a.td=null,a.Kc=null);a.Wb=null;a.pa=-1;a.gb=-1}Wf.prototype.v=function(){Wf.B.v.call(this);Xf(this)};function bg(a,b,c,d){d&&Ub(this,d,void 0);this.type="key";this.Ua=a;this.pd=b;this.b=c}F(bg,Tb);function cg(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}m=cg.prototype;m.ca=function(){return new cg(this.top,this.right,this.bottom,this.left)};m.contains=function(a){return this&&a?a instanceof cg?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; m.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};m.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};m.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}; m.scale=function(a,b){var c=ka(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function dg(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}m=dg.prototype;m.ca=function(){return new dg(this.left,this.top,this.width,this.height)};m.contains=function(a){return a instanceof dg?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height}; m.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};m.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};m.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this}; m.scale=function(a,b){var c=ka(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};function eg(a,b){var c=Cf(a);return c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))?c[b]||c.getPropertyValue(b)||"":""}function fg(a,b){return eg(a,b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]}function gg(a,b,c){var d,e=xb&&(pb||Bb)&&Mb("1.9");b instanceof yf?(d=b.x,b=b.y):(d=b,b=c);a.style.left=hg(d,e);a.style.top=hg(b,e)} function ig(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}G&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b} function jg(a){if(G&&!(G&&8<=Ob))return a.offsetParent;var b=Cf(a),c=fg(a,"position"),d="fixed"==c||"absolute"==c;for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(c=fg(a,"position"),d=d&&"static"==c&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null} function kg(a){var b,c=Cf(a),d=fg(a,"position"),e=xb&&c.getBoxObjectFor&&!a.getBoundingClientRect&&"absolute"==d&&(b=c.getBoxObjectFor(a))&&(0>b.screenX||0>b.screenY),f=new yf(0,0),g;b=c?Cf(c):document;g=!G||G&&9<=Ob||Qf(Af(b))?b.documentElement:b.body;if(a==g)return f;if(a.getBoundingClientRect)b=ig(a),a=Rf(Af(c)),f.x=b.left+a.x,f.y=b.top+a.y;else if(c.getBoxObjectFor&&!e)b=c.getBoxObjectFor(a),a=c.getBoxObjectFor(g),f.x=b.screenX-a.screenX,f.y=b.screenY-a.screenY;else{b=a;do{f.x+=b.offsetLeft;f.y+= b.offsetTop;b!=a&&(f.x+=b.clientLeft||0,f.y+=b.clientTop||0);if(yb&&"fixed"==fg(b,"position")){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}b=b.offsetParent}while(b&&b!=a);if(wb||yb&&"absolute"==d)f.y-=c.body.offsetTop;for(b=a;(b=jg(b))&&b!=c.body&&b!=g;)f.x-=b.scrollLeft,wb&&"TR"==b.tagName||(f.y-=b.scrollTop)}return f}function lg(a,b){var c=mg(a),d=mg(b);return new yf(c.x-d.x,c.y-d.y)} function mg(a){if(1==a.nodeType){var b;if(a.getBoundingClientRect)b=ig(a),b=new yf(b.left,b.top);else{b=Rf(Af(a));var c=kg(a);b=new yf(c.x-b.x,c.y-b.y)}if(xb&&!Mb(12)){var d;G?d="-ms-transform":yb?d="-webkit-transform":wb?d="-o-transform":xb&&(d="-moz-transform");var e;d&&(e=fg(a,d));e||(e=fg(a,"transform"));a=e?(a=e.match(ng))?new yf(parseFloat(a[1]),parseFloat(a[2])):new yf(0,0):new yf(0,0);a=new yf(b.x+a.x,b.y+a.y)}else a=b;return a}d=la(a.Pe);e=a;a.targetTouches?e=a.targetTouches[0]:d&&a.da.targetTouches&& (e=a.da.targetTouches[0]);return new yf(e.clientX,e.clientY)}function hg(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function og(a){var b=pg;if("none"!=fg(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a} function pg(a){var b=a.offsetWidth,c=a.offsetHeight,d=yb&&!b&&!c;return t(b)&&!d||!a.getBoundingClientRect?new zf(b,c):(a=ig(a),new zf(a.right-a.left,a.bottom-a.top))}function qg(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity\x3d"+100*b+")")}function rg(a,b){a.style.display=b?"":"none"}function sg(a){return"rtl"==fg(a,"direction")} function tg(a,b){var c=Qf(Af(Cf(a)));if(!G||c&&Mb("8")){var d=a.style;xb?d.MozBoxSizing="border-box":yb?d.WebkitBoxSizing="border-box":d.boxSizing="border-box";d.width=Math.max(b.width,0)+"px";d.height=Math.max(b.height,0)+"px"}else if(d=a.style,c){var c=ug(a,"padding"),e=vg(a);d.pixelWidth=b.width-e.left-c.left-c.right-e.right;d.pixelHeight=b.height-e.top-c.top-c.bottom-e.bottom}else d.pixelWidth=b.width,d.pixelHeight=b.height} function wg(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return b}function xg(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?wg(a,c,"left","pixelLeft"):0} function ug(a,b){if(G){var c=xg(a,b+"Left"),d=xg(a,b+"Right"),e=xg(a,b+"Top"),f=xg(a,b+"Bottom");return new cg(e,d,f,c)}c=eg(a,b+"Left");d=eg(a,b+"Right");e=eg(a,b+"Top");f=eg(a,b+"Bottom");return new cg(parseFloat(e),parseFloat(d),parseFloat(f),parseFloat(c))}var yg={thin:2,medium:4,thick:6};function zg(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in yg?yg[c]:wg(a,c,"left","pixelLeft")} function vg(a){if(G){var b=zg(a,"borderLeft"),c=zg(a,"borderRight"),d=zg(a,"borderTop");a=zg(a,"borderBottom");return new cg(d,c,a,b)}b=eg(a,"borderLeftWidth");c=eg(a,"borderRightWidth");d=eg(a,"borderTopWidth");a=eg(a,"borderBottomWidth");return new cg(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var ng=/matrix\([0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, [0-9\.\-]+, ([0-9\.\-]+)p?x?, ([0-9\.\-]+)p?x?\)/;function Ag(a,b){Oc.call(this);this.a=a;var c=ma(this.a)&&1==this.a.nodeType?this.a:this.a?this.a.body:null;this.e=!!c&&sg(c);this.b=J(this.a,xb?"DOMMouseScroll":"mousewheel",this,b)}F(Ag,Oc); Ag.prototype.handleEvent=function(a){var b=0,c=0,d=0;a=a.da;if("mousewheel"==a.type){c=1;if(G||yb&&(qb||Mb("532.0")))c=40;d=Bg(-a.wheelDelta,c);t(a.wheelDeltaX)?(b=Bg(-a.wheelDeltaX,c),c=Bg(-a.wheelDeltaY,c)):c=d}else d=a.detail,100d&&(d=-3),t(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d;ka(this.c)&&(b=$c(b,-this.c,this.c));ka(this.d)&&(c=$c(c,-this.d,this.d));this.e&&(b=-b);b=new Cg(d,a,b,c);K(this,b)};function Bg(a,b){return yb&&(pb||rb)&&0!=a%b?a:a/b} Ag.prototype.v=function(){Ag.B.v.call(this);Fc(this.b);this.b=null};function Cg(a,b,c,d){b&&Ub(this,b,void 0);this.type="mousewheel";this.b=a;this.na=c;this.la=d}F(Cg,Tb);function Dg(a){this.length=a.length||a;for(var b=0;b>1;){var l=2*b+1,n=2*b+2,l=nb;){var g=c-1>>1;if(a[g]>f)d[c]=d[g],a[c]=a[g],c=g;else break}d[c]=e;a[c]=f}function Fh(a){var b=a.f,c=a.a,d=a.b,e=0,f=c.length,g,h,l;for(h=0;h>1)-1;0<=b;b--)Ch(a,b)};function Gh(a,b){Ah.call(this,function(b){return a.apply(null,b)},function(a){return a[0].c()});this.R=b;this.d=0}F(Gh,Ah);Gh.prototype.g=function(){--this.d;this.R()};function S(a){L.call(this);a=pc(a);a.brightness=t(a.brightness)?a.brightness:0;a.contrast=t(a.contrast)?a.contrast:1;a.hue=t(a.hue)?a.hue:0;a.opacity=t(a.opacity)?a.opacity:1;a.saturation=t(a.saturation)?a.saturation:1;a.visible=t(a.visible)?a.visible:!0;this.dc(a);J(this,[Vc("brightness"),Vc("contrast"),Vc("hue"),Vc("opacity"),Vc("saturation"),"load"],this.Gc,!1,this);J(this,Vc("visible"),this.ae,!1,this)}F(S,L);function Hh(a){K(a,"change")}S.prototype.d=function(){return this.get("brightness")}; S.prototype.getBrightness=S.prototype.d;S.prototype.e=function(){return this.get("contrast")};S.prototype.getContrast=S.prototype.e;S.prototype.f=function(){return this.get("hue")};S.prototype.getHue=S.prototype.f;function Ih(a){var b=a.d(),c=a.e(),d=a.f(),e=a.i(),f=a.Ba(),g=a.g();a=a.b();return{brightness:t(b)?$c(b,-1,1):0,contrast:t(c)?Math.max(c,0):1,hue:t(d)?d:0,opacity:t(e)?$c(e,0,1):1,Qc:f,saturation:t(g)?Math.max(g,0):1,visible:t(a)?!!a:!0}}S.prototype.i=function(){return this.get("opacity")}; S.prototype.getOpacity=S.prototype.i;S.prototype.g=function(){return this.get("saturation")};S.prototype.getSaturation=S.prototype.g;S.prototype.b=function(){return this.get("visible")};S.prototype.getVisible=S.prototype.b;S.prototype.Gc=function(){this.b()&&this.Ba()&&Hh(this)};S.prototype.ae=function(){this.Ba()&&Hh(this)};S.prototype.t=function(a){this.set("brightness",a)};S.prototype.setBrightness=S.prototype.t;S.prototype.G=function(a){this.set("contrast",a)};S.prototype.setContrast=S.prototype.G; S.prototype.H=function(a){this.set("hue",a)};S.prototype.setHue=S.prototype.H;S.prototype.s=function(a){this.set("opacity",a)};S.prototype.setOpacity=S.prototype.s;S.prototype.Q=function(a){this.set("saturation",a)};S.prototype.setSaturation=S.prototype.Q;S.prototype.W=function(a){this.set("visible",a)};S.prototype.setVisible=S.prototype.W;function Jh(a){Oc.call(this);this.q=ke(a.projection);this.g=t(a.extent)?a.extent:t(a.projection)?this.q.ba():null;this.d=t(a.attributions)?a.attributions:null;this.f=a.logo;this.b=0}F(Jh,Oc);function Kh(a){++a.b;K(a,"change")}Jh.prototype.ba=k("g");Jh.prototype.fa=k("q");Jh.prototype.Ba=Ue;function Lh(a){var b=pc(a);delete b.source;S.call(this,b);this.Mb={gd:{},layer:null,Rc:{}};this.c=a.source;J(this.c,"change",this.vf,!1,this);this.c.Ba()||Cc(this.c,"load",this.wf,!1,this)}F(Lh,S);m=Lh.prototype;m.Sb=function(a){a=t(a)?a:[];a.push(this);return a};m.ld=function(a){a=t(a)?a:{layers:[],qa:[]};a.layers.push(this);a.qa.push(Ih(this));return a};m.ja=k("c");m.vf=function(){Hh(this)};m.wf=function(){K(this,"load")};m.Ba=function(){return this.ja().Ba()};function Mh(a,b,c){ib.call(this,a);this.map=b;this.b=t(c)?c:null}F(Mh,ib);function Nh(a,b,c,d){Mh.call(this,a,b,d);this.a=c;this.g=this.f=null}F(Nh,Mh);Nh.prototype.d=function(){null===this.f&&(this.f=Oh(this.map,this.e()));return this.f};Nh.prototype.e=function(){if(null===this.g){var a=lg(this.a,this.map.b);this.g=[a.x,a.y]}return this.g};Nh.prototype.U=function(){Nh.B.U.call(this);this.a.U()};Nh.prototype.sb=function(){Nh.B.sb.call(this);this.a.sb()}; function Ph(a){Oc.call(this);this.a=a;this.c=!1;this.b=this.g=this.d=this.e=this.f=null;a=this.a.b;this.e=[J(a,["click","dblclick"],this.Kd,!1,this),J(a,"mousedown",this.nf,!1,this),J(a,"mousemove",this.zd,!1,this),J(a,"mouseout",this.zd,!1,this),J(a,"contextmenu",this.zd,!1,this)];this.g=[J(a,["touchstart","MSPointerDown"],this.Bf,!1,this),J(p.document,["touchmove","MSPointerMove"],this.Af,!1,this),J(p.document,["touchend","MSPointerUp"],this.zf,!1,this)]}F(Ph,Oc);m=Ph.prototype; m.Kd=function(a){if(!this.c){var b=a.type;K(this,0===this.f||"dblclick"==b?new Nh(Qh,this.a,a):new Nh(Rh,this.a,a))}};m.of=function(a){this.b&&(this.b=null,Ha(this.d,Fc),this.d=null,this.c&&K(this,new Nh(Sh,this.a,a)))};m.nf=function(a){K(this,new Nh(Th,this.a,a));this.b||(this.b=a,this.c=!1,this.d=[J(p.document,"mousemove",this.Qf,!1,this),J(p.document,"mouseup",this.of,!1,this)],a.U())}; m.Qf=function(a){var b;this.c||(this.c=!0,b=new Nh(Uh,this.a,this.b),K(this,b));b=new Nh(Vh,this.a,a);K(this,b)};m.zd=function(a){K(this,new Nh(a.type,this.a,a))};m.Bf=function(a){a.U();this.b=a;this.c=!1;K(this,new Nh(Wh,this.a,a))};m.Af=function(a){this.b&&(this.c=!0,K(this,new Nh(Xh,this.a,a)))};m.zf=function(a){K(this,new Nh(Yh,this.a,a));this.c||(a=sa(),this.f=!this.f||250c)for(c=1;cf?1:0.5,d=Math.floor(Math.log(b/d)/Math.log(a)+f),e=Math.max(d+e,0),t(c)&&(e=Math.min(e,c)),b/Math.pow(a,e)}};function ei(){return function(a,b){if(t(a))return 0.1>=Math.abs(a+b)?0:a+b}};function fi(a){var b=ei();this.resolution=a;this.rotation=b};function T(a){$h.call(this);a=a||{};var b={};b.center=t(a.center)?a.center:null;b.projection=je(a.projection);var c,d,e;if(t(a.resolutions))c=a.resolutions,d=c[0],e=c[c.length-1],c=ci(c);else{d=a.maxResolution;t(d)||(d=a.projection,e=je(d).ba(),d=(null===e?360*Ld.degrees/Ld[d.Ab]:Math.max(e[1]-e[0],e[3]-e[2]))/256);c=a.maxZoom;t(c)||(c=28);var f=a.zoomFactor;t(f)||(f=2);e=d/Math.pow(f,c);c=di(f,d,c)}this.b=d;this.f=e;this.g=new fi(c);t(a.resolution)?b.resolution=a.resolution:t(a.zoom)&&(b.resolution= this.Ha(this.b,a.zoom));b.rotation=t(a.rotation)?a.rotation:0;this.dc(b)}F(T,$h);function gi(a,b,c){var d,e=a.a();t(e)&&(d=[e[0]-c[0],e[1]-c[1]],kd(d,b-a.d()),id(d,c));return d}function hi(a,b,c){var d,e=a.a();a=a.C();t(e)&&t(a)&&(d=[c[0]-b*(c[0]-e[0])/a,c[1]-b*(c[1]-e[1])/a]);return d}T.prototype.Ha=function(a,b,c){return this.g.resolution(a,b||0,c||0)};T.prototype.qc=function(a,b){return this.g.rotation(a,b||0)};T.prototype.a=function(){return this.get("center")};T.prototype.getCenter=T.prototype.a; T.prototype.i=function(a){var b=this.a(),c=this.C();return[b[0]-c*a[0]/2,b[0]+c*a[0]/2,b[1]-c*a[1]/2,b[1]+c*a[1]/2]};T.prototype.fa=function(){return this.get("projection")};T.prototype.getProjection=T.prototype.fa;T.prototype.C=function(){return this.get("resolution")};T.prototype.getResolution=T.prototype.C;function ii(a){var b=a.b,c=Math.log(b/a.f)/Math.log(2);return function(a){return b/Math.pow(2,a*c)}}T.prototype.d=function(){return this.get("rotation")};T.prototype.getRotation=T.prototype.d; function ji(a){var b=a.b,c=Math.log(b/a.f)/Math.log(2);return function(a){return Math.log(b/a)/Math.log(2)/c}}m=T.prototype;m.O=function(){return this};function ki(a){var b=a.a(),c=a.fa(),d=a.C();a=a.d();return{center:b.slice(),projection:t(c)?c:null,resolution:d,rotation:t(a)?a:0}}m.$e=function(){var a,b=this.C();if(t(b)){var c,d=0;do{c=this.Ha(this.b,d);if(c==b){a=d;break}++d}while(c>this.f)}return a}; m.jd=function(a,b){this.Ea(yd(a));var c=Math.max((a[1]-a[0])/b[0],(a[3]-a[2])/b[1]),c=this.Ha(c,0,0);this.kb(c)};m.ac=function(){return null!=this.a()&&t(this.C())};m.Ea=function(a){this.set("center",a)};T.prototype.setCenter=T.prototype.Ea;T.prototype.k=function(a){this.set("projection",a)};T.prototype.setProjection=T.prototype.k;T.prototype.kb=function(a){this.set("resolution",a)};T.prototype.setResolution=T.prototype.kb;T.prototype.e=function(a){this.set("rotation",a)}; T.prototype.setRotation=T.prototype.e;T.prototype.o=function(a){a=this.Ha(this.b,a,0);this.kb(a)};function li(a){L.call(this);this.element=t(a.element)?a.element:null;this.o=a.target;this.a=null;this.e=[]}F(li,L);li.prototype.v=function(){Of(this.element);li.B.v.call(this)};li.prototype.W=k("a");li.prototype.d=da;li.prototype.setMap=function(a){null===this.a||Of(this.element);0!=this.e.length&&(Ha(this.e,Fc),this.e.length=0);this.a=a;null!==this.a&&((t(this.o)?this.o:a.G).appendChild(this.element),this.d!==da&&this.e.push(J(a,"postrender",this.d,!1,this)))};function mi(a){a=t(a)?a:{};this.g=Jf("UL");var b=Gf("DIV",{"class":(t(a.className)?a.className:"ol-attribution")+" ol-unselectable"},this.g);li.call(this,{element:b,target:a.target});this.f=!0;this.c={};this.b={}}F(mi,li); mi.prototype.d=function(a){a=a.b;if(null===a)this.f&&(rg(this.element,!1),this.f=!1);else{var b,c,d,e,f,g,h,l,n,q=a.Lc,r=pc(a.attributions),w={};b=0;for(c=q.length;b=z.a&&g.a[u][s].c<=z.b&&g.a[u][s].b>= z.c){s=!0;break a}s=!1}s?(h in w&&delete w[h],r[h]=g):w[h]=g}b=[r,w];a=b[0];b=b[1];for(var A in this.c)A in a?(this.b[A]||(rg(this.c[A],!0),this.b[A]=!0),delete a[A]):A in b?(this.b[A]&&(rg(this.c[A],!1),delete this.b[A]),delete b[A]):(Of(this.c[A]),delete this.c[A],delete this.b[A]);for(A in a)c=Jf("LI"),c.innerHTML=a[A].b,this.g.appendChild(c),this.c[A]=c,this.b[A]=!0;for(A in b)c=Jf("LI"),c.innerHTML=b[A].b,rg(c,!1),this.g.appendChild(c),this.c[A]=c;A=!oc(this.b);this.f!=A&&(rg(this.element,A), this.f=A)}};function ni(a){a=t(a)?a:{};this.c=Jf("UL");var b=Gf("DIV",{"class":(t(a.className)?a.className:"ol-logo")+" ol-unselectable"},this.c);li.call(this,{element:b,target:a.target});this.b=!0;this.f={}}F(ni,li); ni.prototype.d=function(a){a=a.b;if(null===a)this.b&&(rg(this.element,!1),this.b=!1);else{var b;a=a.de;var c=this.f;for(b in c)b in a||(Of(c[b]),delete c[b]);var d,e;for(b in a)b in c||(d=new Image,d.src=b,e=Jf("LI"),e.appendChild(d),this.c.appendChild(e),c[b]=e);b=!oc(a);this.b!=b&&(rg(this.element,b),this.b=b)}};function oi(a){return 1-Math.pow(1-a,3)};function pi(a){return 3*a*a-2*a*a*a}function qi(a){return a}function ri(a){return 0.5>a?pi(2*a):1-pi(2*(a-0.5))};function si(a){var b=a.resolution,c=t(a.start)?a.start:sa(),d=t(a.duration)?a.duration:1E3,e=t(a.easing)?a.easing:ri;return function(a,g){if(g.timeb;)d-=3;if(0<=d){var b=a.a[c+2]-a.a[d+2],e=a.a[c]-a.a[d],c=a.a[c+1]-a.a[d+1];a.c=Math.atan2(c,e);a.b=Math.sqrt(e*e+c*c)/b;return a.b>a.d}return!1}function Ai(a,b){var c=a.e,d=a.b,e=a.d,f=Math.log(a.d/a.b)/a.e;return ti({source:b,duration:f,easing:function(a){return d*(Math.exp(c*a*f)-1)/(e-d)}})};function Bi(){}function Ci(a,b,c,d,e){if(null!=c){var f=b.d(),g=b.a();t(f)&&(t(g)&&t(e))&&(a.Ga(ui({rotation:f,duration:e,easing:oi})),t(d)&&a.Ga(ti({source:g,duration:e,easing:oi})));if(null!=d){var h=gi(b,c,d);Di(a,function(){b.Ea(h);b.e(c)})}else b.e(c)}}function Ei(a,b,c,d,e){var f=b.C();c=b.Ha(f,c,0);Fi(a,b,c,d,e)} function Fi(a,b,c,d,e){if(null!=c){var f=b.C(),g=b.a();t(f)&&(t(g)&&t(e))&&(a.Ga(vi({resolution:f,duration:e,easing:oi})),t(d)&&a.Ga(ti({source:g,duration:e,easing:oi})));if(null!=d){var h=hi(b,c,d);Di(a,function(){b.Ea(h);b.kb(c)})}else b.kb(c)}};function Gi(a){a=t(a)?a:{};this.a=t(a.delta)?a.delta:1}F(Gi,Bi);Gi.prototype.Xa=function(a){var b=!1,c=a.a;if(a.type==Qh&&(yh||Wb(a.a))){var b=a.map,d=a.d(),c=c.Va?-this.a:this.a,e=b.a().O();Ei(b,e,c,d,250);a.U();b=!0}return!b};function Hi(a){a=a.a;return a.wa&&!a.Jb&&a.Va}function Ii(a){return"click"==a.a.type}function Ji(a){a=a.a;return!a.wa&&!a.Jb&&!a.Va}function Ki(a){a=a.a;return!a.wa&&!a.Jb&&a.Va}function Li(a){a=a.a.target.tagName;return"INPUT"!==a&&"SELECT"!==a&&"TEXTAREA"!==a};function Mi(){this.c=!1;this.e=1;this.o=this.k=this.R=this.g=0;this.kc=this.q=null}F(Mi,Bi);m=Mi.prototype;m.Yb=da;m.Zb=da;m.Gb=Te;m.$d=da; m.Xa=function(a){var b=a.map;if(!b.ac())return!0;var c=!1,b=b.a(),d=a.a;a.type==Th&&this.$d(a);if(this.c)a.type==Vh?(this.na=d.clientX-this.g,this.la=d.clientY-this.R,this.Yb(a)):a.type==Sh&&(this.na=d.clientX-this.g,this.la=d.clientY-this.R,this.Zb(a),ai(b,-this.e),this.c=!1);else if(a.type==Uh){var e=ki(b.O());this.g=d.clientX;this.R=d.clientY;this.la=this.na=0;this.q=e.center;this.kc=a.d();this.Gb(a)&&(ai(b,this.e),this.c=!0,a.U(),c=!0)}return!c};function Ni(a){Mi.call(this);a=t(a)?a:{};this.d=t(a.condition)?a.condition:Ji;this.a=a.kinetic;this.b=null}F(Ni,Mi);Ni.prototype.Yb=function(a){this.a&&this.a.a.push(a.a.clientX,a.a.clientY,sa());a=a.map;var b=a.a(),c=ki(b),d=[-c.resolution*this.na,c.resolution*this.la];kd(d,c.rotation);id(d,this.q);Oi(a);b.Ea(d)}; Ni.prototype.Zb=function(a){a=a.map;var b=a.a().O();if(this.a&&zi(this.a)){var c=ki(b),d=(this.a.d-this.a.b)/this.a.e,e=this.a.c;this.b=Ai(this.a,c.center);a.Ga(this.b);c=Pi(a,c.center);d=Oh(a,[c[0]-d*Math.cos(e),c[1]-d*Math.sin(e)]);b.Ea(d)}Oi(a)};Ni.prototype.Gb=function(a){var b=a.a;if(Wb(b)&&this.d(a)){if(this.a){var c=this.a;c.a.length=0;c.c=0;c.b=0;this.a.a.push(b.clientX,b.clientY,sa())}Oi(a.map);return!0}return!1}; Ni.prototype.$d=function(a){var b=a.map,c=b.a();null!==this.b&&Qa(b.g,this.b)&&(Oi(b),c.Ea(a.b.D.center),this.b=null)};function Qi(a){a=t(a)?a:{};Mi.call(this);this.b=t(a.condition)?a.condition:Hi;this.a=void 0}F(Qi,Mi);Qi.prototype.Yb=function(a){var b=a.map,c=b.c();a=a.e();c=Math.atan2(c[1]/2-a[1],a[0]-c[0]/2);if(t(this.a)){a=c-this.a;var d=b.a().O(),e=ki(d);Oi(b);Ci(b,d,e.rotation-a)}this.a=c};Qi.prototype.Zb=function(a){a=a.map;var b=a.a().O(),c=ki(b).rotation,c=b.qc(c,0);Ci(a,b,c,void 0,250)};Qi.prototype.Gb=function(a){return Wb(a.a)&&this.b(a)?(Oi(a.map),this.a=void 0,!0):!1};function Ri(a){var b=Gf("DIV","ol-dragbox");this.b=null;this.c=a.kc;li.call(this,{element:b})}F(Ri,li);Ri.prototype.setMap=function(a){Ri.B.setMap.call(this,a);null!==a&&(this.b=Pi(a,this.c),gg(this.element,this.b[0],this.b[1]),tg(this.element,new zf(0,0)),this.e.push(J(a,Vh,this.f,!1,this)))};Ri.prototype.f=function(a){var b=this.a;a=a.d();b=Pi(b,a);gg(this.element,Math.min(b[0],this.b[0]),Math.min(b[1],this.b[1]));tg(this.element,new zf(Math.abs(b[0]-this.b[0]),Math.abs(b[1]-this.b[1])))};function Si(a){Mi.call(this);a=t(a)?a:{};this.b=t(a.condition)?a.condition:Ki;this.a=null}F(Si,Mi);Si.prototype.Zb=function(a){this.a.setMap(null);this.a=null;if(64<=this.na*this.na+this.la*this.la){var b=a.map,c=pd([this.kc,a.d()]);Di(b,function(){var a=b.a(),e=b.c();a.jd(c,e);a.e(0)})}};Si.prototype.Gb=function(a){return Wb(a.a)&&this.b(a)?(this.a=new Ri({kc:this.kc}),this.a.setMap(a.map),!0):!1};function Ti(a){a=t(a)?a:{};this.a=t(a.condition)?a.condition:Ze(Ji,Li);this.b=t(a.delta)?a.delta:128}F(Ti,Bi);Ti.prototype.Xa=function(a){var b=!1;if("key"==a.type){var c=a.a.Ua;if(this.a(a)&&(40==c||37==c||39==c||38==c)){var b=a.map,d=b.a(),e=ki(d),f=e.resolution*this.b,g=0,h=0;40==c?h=-f:37==c?g=-f:39==c?g=f:h=f;c=[g,h];kd(c,e.rotation);e=d.a();t(e)&&(t(100)&&b.Ga(ti({source:e,duration:100,easing:qi})),d.Ea([e[0]+c[0],e[1]+c[1]]));a.U();b=!0}}return!b};function Ui(a){a=t(a)?a:{};this.b=t(a.condition)?a.condition:Ze(Ji,Li);this.a=t(a.delta)?a.delta:1}F(Ui,Bi);Ui.prototype.Xa=function(a){var b=!1;if("key"==a.type){var c=a.a.pd;if(this.b(a)&&(43==c||45==c)){b=a.map;c=43==c?this.a:-this.a;Oi(b);var d=b.a().O();Ei(b,d,c,void 0,100);a.U();b=!0}}return!b};function Vi(){this.a=0;this.c=null;this.d=this.b=void 0}F(Vi,Bi);Vi.prototype.Xa=function(a){var b=!1;if("mousewheel"==a.type){var b=a.map,c=a.a;this.c=a.d();this.a+=c.la/3;t(this.b)||(this.b=sa());c=Math.max(80-(sa()-this.b),0);p.clearTimeout(this.d);this.d=p.setTimeout(y(this.e,this,b),c);a.U();b=!0}return!b};Vi.prototype.e=function(a){var b=$c(this.a,-1,1),c=a.a().O();Oi(a);Ei(a,c,-b,this.c,250);this.a=0;this.c=null;this.d=this.b=void 0};function Wi(){this.c=!1;this.i={};this.targetTouches=[]}F(Wi,Bi);function Xi(a){for(var b=a.length,c=0,d=0,e=0;ethis.q&&(this.a=!0));this.d=c;a=a.map;c=mg(a.b);d=Xi(this.targetTouches);d[0]-=c.x;d[1]-=c.y;this.b=Oh(a,d);this.a&&(c=a.a().O(),d=ki(c),Oi(a),Ci(a,c,d.rotation+b,this.b))}; Zi.prototype.e=function(a){if(2>this.targetTouches.length){a=a.map;var b=a.a().O(),c=ki(b);if(this.a){var c=c.rotation,d=this.b,c=b.qc(c,0);Ci(a,b,c,d,250)}return!1}return!0};Zi.prototype.g=function(a){return 2<=this.targetTouches.length?(a=a.map,this.b=null,this.d=void 0,this.a=!1,this.R=0,Oi(a),!0):!1};function $i(){Wi.call(this);this.b=null;this.a=void 0;this.d=1}F($i,Wi);$i.prototype.f=function(a){var b=1,c=this.targetTouches[0],d=this.targetTouches[1],e=c.clientX-d.clientX,c=c.clientY-d.clientY,e=Math.sqrt(e*e+c*c);t(this.a)&&(b=this.a/e);this.a=e;1!=b&&(this.d=b);a=a.map;var e=a.a().O(),c=ki(e),d=mg(a.b),f=Xi(this.targetTouches);f[0]-=d.x;f[1]-=d.y;this.b=Oh(a,f);Oi(a);Fi(a,e,c.resolution*b,this.b)}; $i.prototype.e=function(a){if(2>this.targetTouches.length){a=a.map;var b=a.a().O(),c=ki(b).resolution,d=this.b,c=b.Ha(c,0,this.d-1);Fi(a,b,c,d,400);return!1}return!0};$i.prototype.g=function(a){return 2<=this.targetTouches.length?(a=a.map,this.b=null,this.a=void 0,this.d=1,Oi(a),!0):!1};function aj(a){a=t(a)?a:{};var b=new M,c=new yi;(t(a.altShiftDragRotate)?a.altShiftDragRotate:1)&&b.push(new Qi);(t(a.doubleClickZoom)?a.doubleClickZoom:1)&&b.push(new Gi({delta:a.zoomDelta}));(t(a.touchPan)?a.touchPan:1)&&b.push(new Yi({kinetic:c}));(t(a.touchRotate)?a.touchRotate:1)&&b.push(new Zi);(t(a.touchZoom)?a.touchZoom:1)&&b.push(new $i);(t(a.dragPan)?a.dragPan:1)&&b.push(new Ni({kinetic:c}));if(t(a.keyboard)?a.keyboard:1)b.push(new Ti),b.push(new Ui({delta:a.zoomDelta}));(t(a.mouseWheelZoom)? a.mouseWheelZoom:1)&&b.push(new Vi);(t(a.shiftDragZoom)?a.shiftDragZoom:1)&&b.push(new Si);return b};function bj(a){var b=t(a)?a:{};a=pc(b);delete a.layers;b=b.layers;S.call(this,a);this.a=null;J(this,Vc("layers"),this.kf,!1,this);t(b)?ia(b)&&(b=new M(Sa(b))):b=new M;this.c(b)}F(bj,S);m=bj.prototype;m.Gc=function(){this.b()&&Hh(this)};m.ae=function(){Hh(this)}; m.kf=function(){null!==this.a&&(Ha(kc(this.a),Fc),this.a=null);var a=this.Ya();if(null!=a){this.a={add:J(a,"add",this.jf,!1,this),remove:J(a,"remove",this.lf,!1,this)};var a=a.a,b,c,d;b=0;for(c=a.length;b=this.minZoom;){if(b.call(c,a,pj(this,e,a,d)))return!0;--a}return!1};m.Ve=k("minZoom"); m.Ib=function(a){return null===this.d?this.f[a]:this.d};m.C=function(a){return this.a[a]};m.Ub=k("a");m.Dc=function(a,b,c){return a.za.d&&(a.d=d.d),d.ca.b&&(a.b=d.b)):a[b][c]=d:(a[b]={},a[b][c]=d)}function ak(a,b,c){return function(d,e,f){d=b.Fb(d,e,f,c);return a(d)?d:null}}function bk(a,b,c){return[b*(Math.round(a[0]/b)+c[0]%2/2),b*(Math.round(a[1]/b)+c[1]%2/2)]} function ck(a,b,c,d,e,f,g,h,l){var n=x(b).toString();n in a.Ob||(a.Ob[n]={});var q=a.Ob[n];a=a.jg;var r=c.minZoom,w,s,B,z,u,A;for(A=f;A>=r;--A)for(s=pj(c,e,A),B=c.C(A),z=s.a;z<=s.d;++z)for(u=s.c;u<=s.b;++u)f-A<=g?(w=b.Fb(A,z,u,d),0==w.a&&(q[w.K.toString()]=!0,w.c()in a.c||Dh(a,[w,n,sj(c,w.K),B])),t(h)&&h.call(l,w)):b.we(A,z,u)};function dk(a,b){db.call(this);this.f=b;this.d={}}F(dk,db); function ek(a){var b=a.D,c=a.Md;rh(c);vh(c,a.size[0]/2,a.size[1]/2);wh(c,1/b.resolution,-1/b.resolution);xh(c,-b.rotation);vh(c,-b.center[0],-b.center[1]);a=a.ne;var b=c[0],d=c[1],e=c[2],f=c[3],g=c[4],h=c[5],l=c[6],n=c[7],q=c[8],r=c[9],w=c[10],s=c[11],B=c[12],z=c[13],u=c[14],c=c[15],A=b*h-d*g,E=b*l-e*g,D=b*n-f*g,R=d*l-e*h,O=d*n-f*h,Z=e*n-f*l,I=q*z-r*B,Q=q*u-w*B,va=q*c-s*B,wa=r*u-w*z,ca=r*c-s*z,ea=w*c-s*u,$=A*ea-E*ca+D*wa+R*va-O*Q+Z*I;0!=$&&($=1/$,a[0]=(h*ea-l*ca+n*wa)*$,a[1]=(-d*ea+e*ca-f*wa)*$,a[2]= (z*Z-u*O+c*R)*$,a[3]=(-r*Z+w*O-s*R)*$,a[4]=(-g*ea+l*va-n*Q)*$,a[5]=(b*ea-e*va+f*Q)*$,a[6]=(-B*Z+u*D-c*E)*$,a[7]=(q*Z-w*D+s*E)*$,a[8]=(g*ca-h*va+n*I)*$,a[9]=(-b*ca+d*va-f*I)*$,a[10]=(B*O-z*D+c*A)*$,a[11]=(-q*O+r*D-s*A)*$,a[12]=(-g*wa+h*Q-l*I)*$,a[13]=(b*wa-d*Q+e*I)*$,a[14]=(-B*R+z*E-u*A)*$,a[15]=(q*R-r*E+w*A)*$)}m=dk.prototype;m.rc=function(a){return new wj(this,a)};m.v=function(){gc(this.d,function(a){hb(a)});dk.B.v.call(this)};m.Bc=Ve; m.Ta=function(a,b,c,d){function e(a,d){g[Ga(b,d)]=a;--f;f||c(g)}for(var f=b.length,g=Array(f),h,l=0;ld;else if("\x3c"===b)d=a=d;else if("\x3c\x3d"===b)d=a<=d;else throw Error("Unsupported comparison operator: "+this.b);return d};function uk(a){this.b=a} F(uk,pk);uk.prototype.a=function(a){if(null==a)throw Error("Attempt to evaluate identifier with no scope");return a[this.b]};function U(a){this.bb=a}F(U,pk);U.prototype.a=k("bb");var vk={vg:"\x26\x26",hh:"||"};function wk(a,b,c){this.b=a;this.Na=b;this.Qa=c}F(wk,pk);var xk=function(){var a={},b;for(b in vk)a[vk[b]]=!0;return function(b){return!!a[b]}}(); wk.prototype.a=function(a,b,c){var d;d=this.Qa.a(a,b,c);a=this.Na.a(a,b,c);if("\x26\x26"===this.b)d=a&&d;else if("||"===this.b)d=a||d;else throw Error("Unsupported logical operator: "+this.b);return d};var yk={ug:"+",nh:"-",bh:"*",Dg:"/",Yg:"%"};function zk(a,b,c){this.b=a;this.Na=b;this.Qa=c}F(zk,pk);var Ak=function(){var a={},b;for(b in yk)a[yk[b]]=!0;return function(b){return!!a[b]}}(); zk.prototype.a=function(a,b,c){var d;d=this.Qa.a(a,b,c);a=this.Na.a(a,b,c);b=this.b;if("+"===b)d=a+d;else if("-"===b)d=Number(a)-Number(d);else if("*"===b)d=Number(a)*Number(d);else if("/"===b)d=Number(a)/Number(d);else if("%"===b)d=Number(a)%Number(d);else throw Error("Unsupported math operator: "+this.b);return d};function Bk(a,b){this.b=a;this.c=b}F(Bk,pk);Bk.prototype.a=function(a,b,c){a=this.b.a(a,b,c);if(!ma(a))throw Error("Expected member expression to evaluate to an object but got "+a);return this.c.a(a)}; function Ck(a){this.b=a}F(Ck,pk);Ck.prototype.a=function(a,b,c){return!this.b.a(a,b,c)};function Dk(a){this.b=a;this.c=a.length;this.d=this.a=0}function Ek(a,b){if(!a.match(b))throw new Fk({type:"Unknown",value:a.b[a.a],index:a.a});a.a=a.d}function Gk(a,b){a.a+=b}function Hk(a){return 48<=a&&57>=a}function Ik(a){return 36===a||95===a||65<=a&&90>=a||97<=a&&122>=a}function Jk(a){return a.b.charCodeAt(a.a+0)}Dk.prototype.match=function(a){var b=Kk(this);return"Punctuator"===b.type&&b.value===a}; function Lk(a){var b;for(b=NaN;a.a=a.c)a={type:"\x3cend\x3e",value:null,index:a.a};else if(40===b||41===b)a=Mk(a,b);else if(39===b||34===b){var c=a.a;Gk(a,1);for(var d="",e;a.a=c)Gk(a,1);else break;a=a.b.slice(b,a.a);a={type:1===a.length?"Identifier":"break"===a||"case"===a||"catch"===a||"continue"===a||"debugger"===a||"default"===a||"delete"===a||"do"===a||"else"===a||"finally"===a||"for"===a||"function"===a||"if"===a||"in"===a||"instanceof"===a||"new"===a||"return"===a||"switch"===a||"this"===a||"throw"===a||"try"===a||"typeof"===a||"var"=== a||"void"===a||"while"===a||"with"===a?"Keyword":"null"===a?"Null":"true"===a||"false"===a?"Boolean":"Identifier",value:a,index:b}}else a=46===b?Hk(a.b.charCodeAt(a.a+1))?Nk(a,b):Mk(a,b):Hk(b)?Nk(a,b):Mk(a,b);return a}function Kk(a){var b=a.a,c=Lk(a);a.d=a.a;a.a=b;return c} function Nk(a,b){var c="",d=a.a;if(46!==b){if(48===b){var e=a.b.charCodeAt(a.a+1);if(88===e||120===e){Gk(a,2);c=Jk(a);d="";for(e=a.a-2;a.a=c||65<=c&&70>=c);)d+=String.fromCharCode(c),Gk(a,1),c=Jk(a);if(0===d.length||Ik(c))throw new Fk({type:"Unknown",value:String.fromCharCode(c),index:a.a});return{type:"Numeric",value:parseInt("0x"+d,16),index:e}}if(48<=e&&55>=e){Gk(a,1);d="0"+String.fromCharCode(e);e=a.a-1;for(Gk(a,1);a.a=c))break;d+=String.fromCharCode(c); Gk(a,1)}c=Jk(a);if(Ik(c)||Hk(c))throw new Fk({type:"Unknown",value:String.fromCharCode(c),index:a.a});return{type:"Numeric",value:parseInt(d,8),index:e}}if(Hk(e))throw new Fk({type:"Unknown",value:String.fromCharCode(e),index:a.a});}for(;Hk(b);)c+=String.fromCharCode(b),Gk(a,1),b=Jk(a)}if(46===b)for(c+=String.fromCharCode(b),Gk(a,1),b=Jk(a);Hk(b);)c+=String.fromCharCode(b),Gk(a,1),b=Jk(a);if(69===b||101===b){c+="E";Gk(a,1);b=Jk(a);if(43===b||45===b)c+=String.fromCharCode(b),Gk(a,1),b=Jk(a);if(!Hk(b))throw new Fk({type:"Unknown", value:String.fromCharCode(b),index:a.a});for(;Hk(b);)c+=String.fromCharCode(b),Gk(a,1),b=Jk(a)}if(Ik(b))throw new Fk({type:"Unknown",value:String.fromCharCode(b),index:a.a});return{type:"Numeric",value:parseFloat(c),index:d}} function Mk(a,b){var c=a.a;if(46===b||40===b||41===b||44===b||43===b||45===b||42===b||47===b||37===b||126===b)return Gk(a,1),{type:"Punctuator",value:String.fromCharCode(b),index:c};var d=a.b.charCodeAt(a.a+1);if(61===d){if(33===b||61===b)return Gk(a,2),61===Jk(a)?(Gk(a,1),{type:"Punctuator",value:String.fromCharCode(b)+"\x3d\x3d",index:c}):{type:"Punctuator",value:String.fromCharCode(b)+"\x3d",index:c};if(62===b||60===b)return Gk(a,2),{type:"Punctuator",value:String.fromCharCode(b)+"\x3d",index:c}}if(b=== d&&(124===b||38===b))return Gk(a,2),d=String.fromCharCode(b),{type:"Punctuator",value:d+d,index:c};if(62===b||60===b||33===b||38===b||124===b)return Gk(a,1),{type:"Punctuator",value:String.fromCharCode(b),index:c};throw new Fk({type:"Unknown",value:String.fromCharCode(b),index:a.a});}function Fk(a,b){ta.call(this,t(b)?b:"Unexpected token "+a.value+" at index "+a.index);this.a=a}F(Fk,ta);Fk.prototype.name="UnexpectedToken";function Ok(){}function Pk(a){var b=0;if("Punctuator"!==a.type)return b;switch(a.value){case "||":b=1;break;case "\x26\x26":b=2;break;case "\x3d\x3d":case "!\x3d":case "\x3d\x3d\x3d":case "!\x3d\x3d":b=3;break;case "\x3e":case "\x3c":case "\x3e\x3d":case "\x3c\x3d":b=4;break;case "+":case "-":b=5;break;case "*":case "/":case "%":b=6}return b} function Qk(a,b,c){if(tk(a))a=new sk(a,b,c);else if(xk(a))a=new wk(a,b,c);else if(Ak(a))a=new zk(a,b,c);else throw Error("Unsupported binary operator: "+a);return a}function Rk(a){return new U(a)}function Sk(a){var b=new Dk(a);a=Tk(new Ok,b);b=Kk(b);if("\x3cend\x3e"!==b.type)throw new Fk(b);return a} function Tk(a,b){var c=Uk(a,b),d=Kk(b),e=Pk(d);if(0===e)return c;b.a=b.d;for(var f=Uk(a,b),g=[c,d,f],e=Pk(Kk(b));0b.extent[1]?l.extent[1]:b.extent[1])-(l.extent[0]b.extent[3]?l.extent[3]:b.extent[3])-(l.extent[2]e||Math.abs(l-n)g[h].extent[0]?h=q:r.extent[1]g[l].extent[2]?l=q:r.extent[3]Math.abs(g[n].extent[3]-g[l].extent[2])?c>h?(q=g.splice(c,1)[0],r=g.splice(h,1)[0]):(r=g.splice(h,1)[0],q=g.splice(c,1)[0]):n>l?(q=g.splice(n,1)[0],r=g.splice(l,1)[0]):(r=g.splice(l,1)[0],q=g.splice(n,1)[0]);for(g=[{extent:q.extent.concat(),l:[q]},{extent:r.extent.concat(),l:[r]}];0u.extent[1]?n.extent[1]:u.extent[1],n.extent[2]u.extent[3]?n.extent[3]:u.extent[3]],A=Math.abs(zl(A[1]-A[0],A[3]-A[2],n.l.length+2)-r),u=[l.extent[0] u.extent[1]?l.extent[1]:u.extent[1],l.extent[2]u.extent[3]?l.extent[3]:u.extent[3]],u=Math.abs(zl(u[1]-u[0],u[3]-u[2],l.l.length+2)-w),E=Math.abs(u-A);if(!B||!s||Ef.length&&(d.l.push(e[0]),f.push(d),b=e[1])}}else wd(d.extent,b.extent),b={extent:d.extent.concat()}}while(0< f.length)}}xl.prototype.remove=function(a,b){arguments[0]={extent:a};switch(arguments.length){case 1:arguments[1]=!1;case 2:arguments[2]=this.b;default:arguments.length=3}if(!1===arguments[1]){var c=0,d=[];do c=d.length,d=d.concat(this.d.apply(this,arguments));while(c!=d.length);return d}return this.d.apply(this,arguments)}; xl.prototype.d=function(a,b,c){var d=[],e=[],f=[];if(!a||!Bd(a.extent,c.extent))return f;a=a.extent.concat();var g;e.push(c.l.length);d.push(c);do{c=d.pop();var h=e.pop()-1;if(t(b))for(;0<=h;){var l=c.l[h];if(Bd(a,l.extent))if(b&&t(l.yb)&&l.yb===b||!b&&(t(l.yb)||ud(a,l.extent))){t(l.l)?(f=Cl(l,!0,[],l),c.l.splice(h,1)):f=c.l.splice(h,1);yl(c);b=void 0;c.l.length=c.l.length?(g=Cl(c,!0,g,c),c.l.length=0,d.push(c),e.push(1)):0this.d&&!(b=this.a.bb,c=b.K.z.toString(),c in a&&a[c].contains(b.K));)this.pop()};function km(){this.bounds=this.n=this.b=null}F(km,Ed);km.prototype.ea=function(){if(null===this.bounds){var a,b=a=Infinity,c,d=c=-Infinity,e=this.n,f=e.length,g,h;for(h=0;hf&&(f=e),lh&&(h=l);this.c=[c,f,g,h]}return this.c};m.N=aa("linestring");m.vc=function(a){for(var b=this.p(),c=Infinity,d=0,e=1,f=b.length;e=a&&(this.c[2*a]=b,this.c[2*a+1]=b);this.b.set(this.d,0,a,b)};function om(a,b){km.call(this);var c=b;t(c)||(c=a[0].length,c=new Dd({dimension:c}));this.b=c;var d=a.length;this.n=Array(d);for(var e=0;ea!=h>a&&b<(g-e)*(a-f)/(h-f)+e)&&(d=!d);return d};function rm(a,b){this.b=null;var c=b;t(c)||(c=a[0][0].length,c=new Dd({dimension:c}));this.e=null;this.b=c;var d=a.length;this.a=Array(d);for(var e,f=0;f=c&&l[1]<=c||h[1]<=c&&l[1]>=c)h=(c-h[1])/(l[1]-h[1])*(l[0]-h[0])+h[0],d.push(h);d.sort();for(g=d.length-1;1<=g;--g)e=Math.abs(d[g]-d[g-1]),e>f&&(h=(d[g]+d[g-1])/2,a.mb([h,c])&&(f=e,b=h));a.e=[b,c]}a=a.e;return[[a[0], a[1],0]]}throw Error("Label rendering not implemented for geometry type: "+c);}function wm(a,b){var c=a.url,d=xm[c],e=!1;if(!t(d))e=!0,d=Jf("IMG"),Cc(d,"error",y(ym,null,b),!1,wm),Cc(d,"load",y(zm,null,b),!1,wm),d.setAttribute("src",c);else if(null!==d){var c=a.width,f=a.height;t(c)&&t(f)?(d.width=c,d.height=f):t(c)?(d.height*=c/d.width,d.width=c):t(f)&&(d.width*=f/d.height,d.height=f)}return e?null:d}var xm={};function ym(a,b){if(t(b)){var c=b.target.getAttribute("src");xm[c]=null;zm(a,b)}} function zm(a,b){if(t(b)){var c=b.target.getAttribute("src");xm[c]=b.target}t(a)&&a()};function Am(a,b){wj.call(this,a,b);this.i=Jf("CANVAS");this.ma=this.i.getContext("2d");this.G=Hg();this.Ra=Jf("CANVAS");this.lb=Hg();this.c=new jm(Bm);J(b,["add","change","remove","intentchange"],this.ff,!1,this);this.d=null;this.ta="point multipoint linestring multilinestring polygon multipolygon".split(" ");this.H=null;this.o=this.q=!1;this.f=null;this.W=new ab(NaN,NaN,NaN,NaN);this.t=y(function(){this.q=!0;Oi(a.f)},this)}F(Am,em);m=Am.prototype;m.ha=k("i");m.md=k("G"); m.Ta=function(a,b){this.wd(a,function(a,d){b((0,d.kg)(a),d)})}; m.wd=function(a,b,c){var d=this.a.f,e=[],f=this.b;a=Oh(d,a);var g=tj(this.f,a,0).toString();if(im(this.c,g)){var h=this.c.get(g),g=h[1],l=h[2],h=h[3],n=l[0]/2,l=l[1]/2,l=pd([[a[0]-n,a[1]-l],[a[0]+n,a[1]+l]]),d=cm(f,l,d.a().O().fa());if(null===d){t(c)&&p.setTimeout(function(){c()},0);return}var q,r,w,s;for(s in d)if(l=d[s],n=l.u(),q=n.N(),"point"===q||"multipoint"===q)for(r=x(l),q=g[r],r=h[r],w=q[0]/2,q=q[1]/2,q=pd([[a[0]-w-r[0],a[1]-q+r[1]],[a[0]+w-r[0],a[1]+q+r[1]]]),n=n.p(),ia(n[0])||(n=[n]),r= n.length-1;0<=r;--r){if(td(q,n[r])){e.push(l);break}}else la(n.mb)?n.mb(a)&&e.push(l):la(n.vc)&&2*n.vc(a)<=g[x(l)][0]&&e.push(l)}p.setTimeout(function(){b(e,f)},0)};m.ff=function(a){var b=a.extent;a=this.c;if(t(b))for(var b=pj(this.f,b,0),c=a.T(),d;c--;)d=a.a.bc,b.contains(Za(d))?a.pop():a.get(d);else a.clear();this.t()}; m.Pa=function(a){var b=a.D,c=b.resolution,d=b.projection,e=a.extent,f=this.b,g=this.f,h=[512,512],l=!a.L[0]&&!a.L[1];if(l){var n=0.14929107086948487,q=d.Tb();q&&(n/=q);var r=Math.max(c,n);r!==this.Q&&(g=new mj({origin:[0,0],projection:d,resolutions:[r],tileSize:h}),this.c.clear(),this.f=g)}if(null!==g){var w=g.C(0);l&&qj(g,e,w,this.W);var s=this.G,B=this.W,z,u=g,A=u.Ib(0),E=u.C(0),D=u.Aa(0);z=sd(A[0]+B.a*D[0]*E,A[0]+(B.d+1)*D[0]*E,A[1]+B.c*D[1]*E,A[1]+(B.b+1)*D[1]*E,void 0);var R=Ad(z);rh(s);vh(s, a.size[0]/2,a.size[1]/2);wh(s,w/c,w/c);xh(s,b.rotation);vh(s,(R[0]-b.center[0])/w,(b.center[1]-R[1])/w);if(this.q||this.Q!==w||!vd(this.H,z)){null===this.d&&(this.d=Jf("CANVAS"),this.d.width=h[0],this.d.height=h[1]);var O=this.Ra,Z=h[0]*(B.d-B.a+1),I=h[1]*(B.b-B.c+1),Q=this.lb,va=Z/2,wa=I/2;rh(Q);vh(Q,va,wa);wh(Q,1/w,-1/w);vh(Q,-(R[0]+va*w),-(R[1]-wa*w));O.width=Z;O.height=I;var ca=new um(O,Q,this.t),ea=this.i;ea.width=Z;ea.height=I;var $=this.ma,Pa={},Fa={},Fb={},Ig=15*w,af,Zb,uc,Lg,Mg,rn=this.ta, Br=rn.length,xj=!1,sn=!1,Ng,Kc,$b,yj,Og,Pg,tn,Qg,Rg;Lg=B.a;a:for(;Lg<=B.d;++Lg)for(Mg=B.c;Mg<=B.b;++Mg)if(Zb=new Ya(0,Lg,Mg),uc=Zb.toString(),im(this.c,uc))Fa[uc]=Zb;else if(l){$b=oj(g,Zb);$b[0]-=Ig;$b[1]+=Ig;$b[2]-=Ig;$b[3]+=Ig;Rg=!1;for(Ng=0;Ngthis.c.d;)this.c.pop();this.o=!1};var Bm=128;function Cm(a,b){dk.call(this,0,b);this.b=Jf("CANVAS");this.b.height=a.clientHeight;this.b.width=a.clientWidth;this.b.className="ol-unselectable";Nf(a,this.b);this.c=!0;this.e=[a.clientHeight,a.clientWidth];this.g=this.b.getContext("2d")}F(Cm,dk);Cm.prototype.rc=function(a){return a instanceof nk?new fm(this,a):a instanceof ok?new gm(this,a):a instanceof $l?new Am(this,a):null};Cm.prototype.Bc=k("b"); Cm.prototype.Nc=function(a){if(null===a)this.c&&(rg(this.b,!1),this.c=!1);else{var b=a.size;if(this.e[0]!=b[0]||this.e[1]!=b[1])this.b.width=b[0],this.b.height=b[1],this.e=b;var c=this.g;c.setTransform(1,0,0,1,0,0);c.clearRect(0,0,b[0],b[1]);ek(a);var b=a.qa,d=a.Lc,e,f,g,h,l;e=0;for(f=d.length;ec;++c)d[c]=b[c].toFixed(6);c=d.join(",")}else c=b.join(",");c="matrix3d("+c+")";d=a.style;d.WebkitTransform=c;d.MozTransform=c;d.a=c;d.transform=c};function Fm(a,b,c){wj.call(this,a,b);this.target=c}F(Fm,wj);function Gm(a,b){var c=Jf("DIV");c.style.position="absolute";Fm.call(this,a,b,c);this.c=null;this.d=Kg()}F(Gm,Fm); Gm.prototype.Pa=function(a){var b=a.D,c=b.center,d=b.resolution,e=b.rotation,f=this.c,g=this.b.ja(),h=a.L;h[0]||h[1]||(b=g.ha(a.extent,d,b.projection),null!==b&&(h=b.a,0==h?(Cc(b,"change",this.k,!1,this),lj(b)):2==h&&(f=b)));if(null!==f){var h=f.ba(),l=f.C(),b=Hg();rh(b);vh(b,a.size[0]/2,a.size[1]/2);xh(b,e);wh(b,l/d,l/d);vh(b,(h[0]-c[0])/l,(c[1]-h[3])/l);f!=this.c&&(c=kj(f,this),c.style.maxWidth="none",c.style.position="absolute",Lf(this.target),this.target.appendChild(c),this.c=f);th(b,this.d)|| (Em(this.target,b),qh(this.d,b));Xj(a.attributions,f.e);Yj(a,g)}};function Hm(a,b){var c=Jf("DIV");c.style.position="absolute";Fm.call(this,a,b,c);this.d=!0;this.i=1;this.f=0;this.c={}}F(Hm,Fm); Hm.prototype.Pa=function(a,b){if(b.visible){var c=a.D,d=c.projection,e=this.b,f=e.ja(),g=f.tileGrid;null===g&&(g=uj(d));var h=bi(g.a,c.resolution,0),l=g.C(h),n=c.center,q;l==c.resolution?(n=bk(n,l,a.size),q=zd(n,l,c.rotation,a.size)):q=a.extent;var l=qj(g,q,l),r={};r[h]={};var w=y(f.hd,f,r,ak(function(a){return null!==a&&2==a.a},f,d)),s=qd(),B=new ab(0,0,0,0),z,u,A,E;for(A=l.a;A<=l.d;++A)for(E=l.c;E<=l.b;++E)z=f.Fb(h,A,E,d),u=z.a,2==u?r[h][z.K.toString()]=z:3!=u&&4!=u&&(u=g.zc(z.K,w,null,B,s),u|| (z=g.Dc(z.K,B,s),null===z||w(h+1,z)));var D;if(this.f!=f.b){for(D in this.c)s=this.c[+D],Of(s.target);this.c={};this.f=f.b}A=La(lc(r),Number);Va(A);var w={},R;E=0;for(z=A.length;ED&&Nf(this.target,s.target)}else a.L[0]||a.L[1]||Mm(s,q,B);else Of(s.target),delete this.c[D];b.opacity!=this.i&&(qg(this.target,b.opacity),this.i=b.opacity);b.visible&&!this.d&&(rg(this.target,!0),this.d=!0);Zj(a.lc,f,h,l);ck(a,f,g,d,q,h,e.a());Wj(a,f);Yj(a,f)}else this.d&&(rg(this.target,!1),this.d=!1)}; function Im(a,b){this.target=Jf("DIV");this.target.style.position="absolute";this.d=a;this.c=b;this.f=Ad(oj(a,b));this.g=a.C(b.z);this.b={};this.a=null;this.e=Kg()}function Jm(a,b){var c=b.K,d=c.toString();if(!(d in a.b)){var e=a.d.Aa(c.z),f=b.ha(a),g=f.style;g.maxWidth="none";g.position="absolute";g.left=(c.x-a.c.x)*e[0]+"px";g.top=(a.c.y-c.y)*e[1]+"px";null===a.a&&(a.a=document.createDocumentFragment());a.a.appendChild(f);a.b[d]=b}} function Km(a){null!==a.a&&(a.target.appendChild(a.a),a.a=null)}Im.prototype.C=k("g");function Mm(a,b,c){var d=pj(a.d,b,a.c.z,c);b=[];for(var e in a.b)c=a.b[e],d.contains(c.K)||b.push(c);var f,d=0;for(f=b.length;dc)break;if(bb&&(-1==e||hc?(e="\u2032",b*=60):e="\u00b0":"imperial"==f?0.9144>c?(e="in", b/=0.0254):1609.344>c?(e="ft",b/=0.3048):(e="mi",b/=1609.344):"nautical"==f?(b/=1852,e="nm"):"metric"==f?1>c?(e="mm",b*=1E3):1E3>c?e="m":(e="km",b/=1E3):"us"==f&&(0.9144>c?(e="in",b*=39.37):1609.344>c?(e="ft",b/=0.30480061):(e="mi",b/=1609.3472));for(var f=3*Math.floor(Math.log(a.i*b)/Math.log(10)),g,h;;){g=No[f%3]*Math.pow(10,Math.floor(f/3));h=Math.round(g/b);if(h>=a.i)break;++f}g=g+e;a.s!=g&&(a.f.innerHTML=g,a.s=g);a.G!=h&&(a.f.style.width=h+"px",a.G=h);a.c||(rg(a.g,!0),a.c=!0)}};function Po(a){db.call(this);this.b=a;this.a={}}F(Po,db);var Qo=[];Po.prototype.Wa=function(a,b,c,d,e){ia(b)||(Qo[0]=b,b=Qo);for(var f=0;fthis.be)if(K(this,new Wo("start",this,a.clientX,a.clientY,a)))this.tb=!0;else{this.ec||this.wc(a);return}}c=Zo(this,b,c);b=c.x;c=c.y;this.tb&&K(this,new Wo("beforedrag",this,a.clientX,a.clientY,a,b,c))&&($o(this,a,b,c),a.U())}}; function Zo(a,b,c){var d=Rf(Af(a.c));b+=d.x-a.e.x;c+=d.y-a.e.y;a.e=d;a.na+=b;a.la+=c;b=Xo(a,a.na);a=Yo(a,a.la);return new yf(b,a)}m.Wf=function(a){var b=Zo(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;$o(this,a,b.x,b.y)};function $o(a,b,c,d){a.Fd&&Uo(a)?a.target.style.right=c+"px":a.target.style.left=c+"px";a.target.style.top=d+"px";K(a,new Wo("drag",a,b.clientX,b.clientY,b,c,d))} function Xo(a,b){var c=a.b,d=isNaN(c.left)?null:c.left,c=isNaN(c.width)?0:c.width;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function Yo(a,b){var c=a.b,d=isNaN(c.top)?null:c.top,c=isNaN(c.height)?0:c.height;return Math.min(null!=d?d+c:Infinity,Math.max(null!=d?d:-Infinity,b))}function Wo(a,b,c,d,e,f,g,h){ib.call(this,a);this.clientX=c;this.clientY=d;this.d=e;this.left=t(f)?f:b.na;this.top=t(g)?g:b.la;this.b=b;this.a=!!h}F(Wo,ib);function ap(a){a=t(a)?a:{};this.b=void 0;this.c=bp;this.i=!1;this.f=null;a=t(a.className)?a.className:"ol-zoomslider";a=Gf("DIV",a+" ol-unselectable",Gf("DIV",a+"-thumb ol-unselectable"));null!==this.f&&(Ha(this.f,Fc),this.f=null);var b=new So(a.childNodes[0]);this.f=[J(b,["drag","end"],this.s,void 0,this)];this.g=b;J(a,["touchend","click"],this.k,!1,this);li.call(this,{element:a})}F(ap,li);var bp=0;ap.prototype.setMap=function(a){ap.B.setMap.call(this,a);null===a||Vj(a)}; ap.prototype.d=function(a){if(null!==a.b){if(!this.i){var b=this.element,c=Pf(b);var d=Cf(b),e=G&&b.currentStyle;e&&Qf(Af(d))&&"auto"!=e.width&&"auto"!=e.height&&!e.boxSizing?(d=wg(b,e.width,"width","pixelWidth"),b=wg(b,e.height,"height","pixelHeight"),b=new zf(d,b)):(e=new zf(b.offsetWidth,b.offsetHeight),d=ug(b,"padding"),b=vg(b),b=new zf(e.width-b.left-d.left-d.right-b.right,e.height-b.top-d.top-d.bottom-b.bottom));var e=kg(c),d=og(c),e=new dg(e.x,e.y,d.width,d.height),d=ug(c,"margin"),f=vg(c), c=b.width-d.left-d.right-f.left-f.right-e.width,e=b.height-d.top-d.bottom-f.top-f.bottom-e.height;b.width>b.height?(this.c=1,c=new dg(0,0,c,0)):(this.c=bp,c=new dg(0,0,0,e));this.g.b=c||new dg(NaN,NaN,NaN,NaN);this.i=!0}a=a.b.D.resolution;a!==this.b&&(this.b=a,a=-1*(ji(this.a.a().O())(a)-1),c=this.g,b=Pf(this.element),1==this.c?gg(b,c.b.left+c.b.width*a):gg(b,c.b.left,c.b.top+c.b.height*a))}};ap.prototype.k=function(){}; ap.prototype.s=function(a){var b=this.a,c=b.a().O();if("drag"===a.type){var b=this.g.b,d=0,d=1===this.c?(a.left-b.left)/b.width:(a.top-b.top)/b.height;a=-1*($c(d,0,1)-1);a=ii(this.a.a().O())(a);a!==this.b&&(this.b=a,c.kb(a))}else b.Ga(vi({resolution:this.b,duration:200,easing:oi})),a=c.Ha(this.b),c.kb(a)};function cp(a){a=t(a)?a:{};this.b=t(a.extent)?a.extent:null;var b=Gf("DIV",{"class":(t(a.className)?a.className:"ol-zoom-extent")+" ol-unselectable"}),c=Gf("A",{href:"#zoomExtent"});b.appendChild(c);J(b,["touchend","click"],this.c,!1,this);li.call(this,{element:b,target:a.target})}F(cp,li);cp.prototype.c=function(a){a.U();a=this.a;var b=a.a().O(),c=null===this.b?b.fa().ba():this.b;b.jd(c,a.c())};function dp(a){L.call(this);this.a=a;J(this.a,"change",this.k,!1,this);J(this,Vc("value"),this.s,!1,this);J(this,Vc("valueAsNumber"),this.o,!1,this);J(this,Vc("checked"),this.i,!1,this)}F(dp,L);dp.prototype.b=function(){return this.get("checked")};dp.prototype.getChecked=dp.prototype.b;dp.prototype.d=function(){return this.get("value")};dp.prototype.getValue=dp.prototype.d;dp.prototype.c=function(){return this.get("valueAsNumber")};dp.prototype.getValueAsNumber=dp.prototype.c; dp.prototype.f=function(a){this.set("value",a)};dp.prototype.setValue=dp.prototype.f;dp.prototype.g=function(a){this.set("valueAsNumber",a)};dp.prototype.setValueAsNumber=dp.prototype.g;dp.prototype.e=function(a){this.set("checked",a)};dp.prototype.setChecked=dp.prototype.e;dp.prototype.k=function(){"checkbox"===this.a.type||"radio"===this.a.type?this.e(this.a.checked):(this.f(this.a.value),this.g(this.a.valueAsNumber))};dp.prototype.i=function(){this.a.checked=this.b()?"checked":void 0}; dp.prototype.s=function(){this.a.value=this.d()};dp.prototype.o=function(){this.a.value=this.c()};function ep(a,b){this.x=a;this.y=b}F(ep,yf);ep.prototype.ca=function(){return new ep(this.x,this.y)};ep.prototype.scale=yf.prototype.scale;ep.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};function fp(a){a=t(a)?a:{};Mi.call(this);this.f=t(a.condition)?a.condition:Ki;this.a=this.b=void 0;this.d=0}F(fp,Mi);fp.prototype.Yb=function(a){var b=a.a;a=a.map;var c=a.c(),c=new ep(b.Td-c[0]/2,c[1]/2-b.Ud),b=Math.atan2(c.y,c.x),c=Math.sqrt(c.x*c.x+c.y*c.y),d=a.a().O(),e=ki(d);Oi(a);t(this.b)&&Ci(a,d,e.rotation-(b-this.b));this.b=b;t(this.a)&&Fi(a,d,this.a*(e.resolution/c));t(this.a)&&(this.d=this.a/c);this.a=c}; fp.prototype.Zb=function(a){var b=a.map,c=b.a().O(),d=ki(c),e=this.d-1;Di(b,function(){var a=d.rotation,a=c.qc(a,0);Ci(b,c,a,void 0,void 0);a=d.resolution;a=c.Ha(a,0,e);Fi(b,c,a,void 0,400)});this.d=0;return!0};fp.prototype.Gb=function(a){return this.f(a)?(this.a=this.b=void 0,!0):!1};function gp(a){Mi.call(this);a=t(a)?a:{};this.i=t(a.layerFilter)?a.layerFilter:null;this.f=null;this.b=!1;this.d=t(a.pixelTolerance)?a.pixelTolerance:20;this.a=null;this.e=0}F(gp,Mi);m=gp.prototype;m.$c=function(a){var b=a.target;a=a.features;for(var c=0,d=a.length;cB&&++O[3])}u=[q[0],l];E=[u,r,s,B];t(z)&&E.push(z);Al(A,pd(u),E,w);this.a.push([n,E,1]);u=[l,q[1]];E=[u,r,s,B+1];t(z)&&E.push(z);Al(A,pd(u),E,w);this.a.push([n,E,0])}}}}return this.b}; m.Yb=function(a){a=a.d();for(var b=0,c=this.a.length;b=u&&(s=B>z?q[1]:q[0],r="temporary");w.set(0,s[0]);w.set(1,s[1]);dm(n,[l]);a.b=!0}l.Da!=r&&n.Sc(r,[l])}}}m.Hf=function(a){return!(a instanceof $l&&a.o)};m.$f=function(a){var b=a.target.nb.Za;a=a.features;for(var c=0,d=a.length;c=b.cd&&b.cancel())}this.k?this.k.call(this.g,this):this.Bd=!0;this.ob||this.Db(new Bp(this))}};m.Ld=function(a,b){this.bd=!1;Cp(this,a,b)};function Cp(a,b,c){a.ob=!0;a.b=c;a.Xb=!b;Dp(a)}function Ep(a){if(a.ob){if(!a.Bd)throw new Fp(a);a.Bd=!1}} m.aa=function(a){Ep(this);Cp(this,!0,a)};m.Db=function(a){Ep(this);Cp(this,!1,a)};function Gp(a,b,c){return Hp(a,b,null,c)}function Hp(a,b,c,d){a.c.push([b,c,d]);a.ob&&Dp(a);return a}function Ip(a){return Ma(a.c,function(a){return la(a[1])})} function Dp(a){a.f&&(a.ob&&Ip(a))&&(p.clearTimeout(a.f),delete a.f);a.a&&(a.a.cd--,delete a.a);for(var b=a.b,c=!1,d=!1;a.c.length&&!a.bd;){var e=a.c.shift(),f=e[0],g=e[1],e=e[2];if(f=a.Xb?g:f)try{var h=f.call(e||a.g,b);t(h)&&(a.Xb=a.Xb&&(h==b||h instanceof Error),a.b=b=h);b instanceof Ap&&(d=!0,a.bd=!0)}catch(l){b=l,a.Xb=!0,Ip(a)||(c=!0)}}a.b=b;d&&(Hp(b,y(a.Ld,a,!0),y(a.Ld,a,!1)),b.Je=!0);c&&(a.f=p.setTimeout(We(b),0))}function Fp(a){ta.call(this);this.a=a}F(Fp,ta);Fp.prototype.message="Deferred has already fired"; Fp.prototype.name="AlreadyCalledError";function Bp(a){ta.call(this);this.a=a}F(Bp,ta);Bp.prototype.message="Deferred was canceled";Bp.prototype.name="CanceledError";function Jp(a,b,c,d,e,f){Ap.call(this,e,f);this.e=a;this.d=[];this.R=!!b;this.s=!!c;this.o=!!d;for(b=this.q=0;b=d?1-d:8-d)+(Number(h)+7*(Number(c)-1))-1))):(e&&(b.a.setDate(1),b.a.setMonth(e-1)),f&&b.a.setDate(f));c=!0}else c=!1;c&&!(c=2>a.length)&&(a=a[1], c=a.match(Op),h=0,c&&("Z"!=c[0]&&(h=60*c[2]+Number(c[3]),h*="-"==c[1]?1:-1),h-=b.a.getTimezoneOffset(),a=a.substr(0,a.length-c[0].length)),(c=a.match(Np))?(b.a.setHours(Number(c[1])),b.a.setMinutes(Number(c[2])||0),b.a.setSeconds(Number(c[3])||0),b.a.setMilliseconds(c[4]?1E3*c[4]:0),0!=h&&b.a.setTime(b.getTime()+6E4*h),c=!0):c=!1);return c?b:null} function Rp(a,b,c,d,e,f){v(a)?(this.f=a==Tp?b:0,this.d=a==Up?b:0,this.a=a==Sp?b:0,this.b=a==Vp?b:0,this.c=a==Wp?b:0,this.e=a==Xp?b:0):(this.f=a||0,this.d=b||0,this.a=c||0,this.b=d||0,this.c=e||0,this.e=f||0)}Rp.prototype.ca=function(){return new Rp(this.f,this.d,this.a,this.b,this.c,this.e)};var Tp="y",Up="m",Sp="d",Vp="h",Wp="n",Xp="s";Rp.prototype.add=function(a){this.f+=a.f;this.d+=a.d;this.a+=a.a;this.b+=a.b;this.c+=a.c;this.e+=a.e}; function Yp(a,b,c){ka(a)?(this.a=new Date(a,b||0,c||1),Zp(this,c||1)):ma(a)?(this.a=new Date(a.getFullYear(),a.getMonth(),a.getDate()),Zp(this,a.getDate())):(this.a=new Date(sa()),this.a.setHours(0),this.a.setMinutes(0),this.a.setSeconds(0),this.a.setMilliseconds(0))}m=Yp.prototype;m.xc=Lp.ye;m.yc=Lp.ze;m.ca=function(){var a=new Yp(this.a);a.xc=this.xc;a.yc=this.yc;return a};m.getFullYear=function(){return this.a.getFullYear()};m.getMonth=function(){return this.a.getMonth()};m.getDate=function(){return this.a.getDate()}; m.getTime=function(){return this.a.getTime()};function $p(a){a=a.a.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0b&&(b+=12);var d;a:{switch(b){case 1:d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.a.setDate(1);this.a.setFullYear(c);this.a.setMonth(b);this.a.setDate(d)}a.a&&(a=new Date((new Date(this.getFullYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.a),this.a.setDate(1),this.a.setFullYear(a.getFullYear()), this.a.setMonth(a.getMonth()),this.a.setDate(a.getDate()),Zp(this,a.getDate()))};m.Ec=function(a,b){return[this.getFullYear(),Da(this.getMonth()+1),Da(this.getDate())].join(a?"-":"")+(b?$p(this):"")};m.toString=function(){return this.Ec()};function Zp(a,b){a.getDate()!=b&&a.a.setUTCHours(a.a.getUTCHours()+(a.getDate()this.a.d};m.Rb=function(a){this.a.Rb(a)}; m.Fb=function(a,b,c,d){var e=this.fb(a,b,c);if(im(this.a,e))return this.a.get(e);a=new Ya(a,b,c);d=this.tileUrlFunction(a,d);d=new jr(a,t(d)?0:4,t(d)?d:"",this.k);this.a.set(e,d);return d};m.jc=function(a){this.a.clear();this.tileUrlFunction=a;Kh(this)};m.we=function(a,b,c){a=this.fb(a,b,c);im(this.a,a)&&this.a.get(a)};function lr(a){var b=Array(a.maxZoom+1),c,d=2*fj/256;for(c=0;c<=a.maxZoom;++c)b[c]=d/Math.pow(2,c);mj.call(this,{minZoom:a.minZoom,origin:[-fj,fj],resolutions:b,tileSize:[256,256]})}F(lr,mj); function mr(a,b){var c=t(b)?b:{},d=a.minZoom,e=a.maxZoom,f=t(c.rg)?c.rg:!0,g=new Ya(0,0,0),h=null;if(t(c.extent)){var h=Array(e+1),l;for(l=0;l<=e;++l)h[l]=ls||l<=s)return null;a=a.y;return a<-l||-1=this.minZoom;--a)if(d.a=d.d>>=1,d.c=d.b>>=1,b.call(c,a,d))return!0;return!1};function nr(a){kr.call(this,{crossOrigin:"anonymous",opaque:!0,projection:ke("EPSG:3857")});this.e=t(a.culture)?a.culture:"en-us";this.c=!1;var b=new ze("//dev.virtualearth.net/REST/v1/Imagery/Metadata/"+a.style),b=new Yq(b,"jsonp"),c={include:"ImageryProviders",key:a.key};a=y(this.i,this);var d=c||null,c="_"+(Zq++).toString(36)+sa().toString(36);p._callbacks_||(p._callbacks_={});var e=b.b.ca();if(d)for(var f in d)d.hasOwnProperty&&!d.hasOwnProperty(f)||Me(e,f,d[f]);a&&(p._callbacks_[c]=br(c,a),Me(e, b.a,"_callbacks_."+c));f=Rq(e.toString(),{timeout:b.zb,Jd:!0});Hp(f,null,ar(c),void 0)}F(nr,kr); nr.prototype.i=function(a){var b=a.brandLogoUri,c=a.resourceSets[0].resources[0],d=new lr({minZoom:c.zoomMin,maxZoom:c.zoomMax,tileSize:[c.imageWidth,c.imageHeight]});this.tileGrid=d;var e=this.e;this.tileUrlFunction=hr(mr(d),er(La(c.imageUrlSubdomains,function(a){var b=c.imageUrl.replace("{subdomain}",a).replace("{culture}",e);return function(a){return null===a?void 0:b.replace("{quadkey}",$a(a))}})));var f=Od(ke("EPSG:4326"),this.fa());this.d=La(c.imageryProviders,function(a){var b=a.attribution, c={};Ha(a.coverageAreas,function(a){var b=a.zoomMin,e=a.zoomMax;a=a.bbox;a=Cd([a[1],a[3],a[0],a[2]],f);var g,h;for(g=b;g<=e;++g)h=g.toString(),b=pj(d,a,g),h in c?c[h].push(b):c[h]=[b]});return new cb({html:b,tileRanges:c})});this.f=b;this.c=!0;++this.b;K(this,"load")};nr.prototype.Ba=k("c");function or(a){var b=pr(a.url),c=a.imageExtent,d=a.imageSize,e=(c[3]-c[2])/d[1],f=ke(a.projection);lk.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,projection:a.projection,Hb:b,resolutions:[e]});this.a=mk(this,c,e,d,f)}F(or,lk);or.prototype.ha=function(a){return Bd(a,this.a.ba())?this.a:null};function pr(a){return function(){return a}};function jk(a,b,c,d,e){d={SERVICE:"WMS",VERSION:"1.3.0",REQUEST:"GetMap",FORMAT:"image/png",TRANSPARENT:!0,WIDTH:Math.round(d[0]),HEIGHT:Math.round(d[1])};H(d,b);d.STYLES=b.STYLES||new String("");b="1.3"this.a.d};Tr.prototype.Rb=function(a){this.a.Rb(a)};Tr.prototype.Fb=function(a,b,c){var d=this.fb(a,b,c);if(im(this.a,d))return this.a.get(d);a=new Sr(new Ya(a,b,c),this.tileGrid);this.a.set(d,a);return a};var Ur=[];C("grid",function(a){Ur.push(a)});function Vr(a){kr.call(this,{crossOrigin:a.crossOrigin,projection:ke("EPSG:3857")});this.c=!1;this.dd=Rq(a.url,{Jd:!0});Gp(this.dd,this.e,this)}F(Vr,kr); Vr.prototype.e=function(){var a=Ur.pop(),b=ke("EPSG:4326"),c;if(t(a.bounds)){var d=a.bounds,d=[d[0],d[2],d[1],d[3]],e=Od(b,this.fa());this.g=c=Cd(d,e)}var f=a.minzoom||0,d=a.maxzoom||22;this.tileGrid=e=new lr({maxZoom:d,minZoom:f});this.tileUrlFunction=hr(mr(e,{extent:c}),dr(a.tiles));if(t(a.attribution)){b=t(c)?c:b.ba();c={};for(var g;f<=d;++f)g=f.toString(),c[g]=[pj(e,b,f)];this.d=[new cb({html:a.attribution,tileRanges:c})]}this.c=!0;++this.b;K(this,"load")};Vr.prototype.Ba=k("c");function Wr(a){var b=gr,c=a.urls;!t(c)&&t(a.url)&&(c=ir(a.url));this.c=a.params;this.e="";Xr(this);t(c)&&(b=La(c,function(a){return fr(a,this.c)},this),b=er(b));var d=a.extent;kr.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:d,tileGrid:a.tileGrid,opaque:!(t(a.params.TRANSPARENT)?a.params.TRANSPARENT:1),projection:a.projection,tileUrlFunction:hr(function(a,b){var c=this.tileGrid;null===c&&(c=uj(b));if(c.Ub().length<=a.z)return null;var h=a.x,l=oj(c,a),n=b.ba();d=t(d)?d:n; null!==d&&(b.nd&&d[0]===n[0]&&d[1]===n[1])&&(l=Math.ceil((d[1]-d[0])/(l[1]-l[0])),h=ad(h,l),l=oj(c,new Ya(a.z,h,a.y)));return null===d||Bd(l,d)?new Ya(a.z,h,a.y):null},b)});this.i=t(a.kd)?a.kd:{}}F(Wr,kr);Wr.prototype.fb=function(a,b,c){return this.e+Wr.B.fb.call(this,a,b,c)};Wr.prototype.o=k("c"); Wr.prototype.Ta=function(a,b,c,d){var e=Oh(b,a),f=b.a().O(),g=f.fa(),h=null===this.tileGrid?uj(g):this.tileGrid,f=f.C(),e=rj(h,e[0],e[1],f,!1,void 0),h=oj(h,e);b=Pi(b,Ad(h));g=this.tileUrlFunction(e,g);qr(g,[a[0]-b[0],a[1]-b[1]],this.i,c,d)};function Xr(a){var b=0,c=[],d;for(d in a.c)c[b++]=d+"-"+a.c[d];a.e=c.join("/")}Wr.prototype.s=function(a){H(this.c,a);Xr(this);Kh(this)};function Yr(a){this.c=a.matrixIds;mj.call(this,{origin:a.origin,origins:a.origins,resolutions:a.resolutions,tileSize:a.tileSize,tileSizes:a.tileSizes})}F(Yr,mj);Yr.prototype.g=k("c"); function Zr(a){var b=[],c=[],d=[],e=[],f=ke(a.supportedCRS).Tb();Va(a.matrixIds,function(a,b){return b.scaleDenominator-a.scaleDenominator});Ha(a.matrixIds,function(a){c.push(a.identifier);d.push(a.topLeftCorner);b.push(2.8E-4*a.scaleDenominator/f);e.push([a.tileWidth,a.tileHeight])});return new Yr({origins:d,resolutions:b,matrixIds:c,tileSizes:e})};var $r="KVP"; function as(a){function b(a){a=e==$r?we(ye([a],g)):a.replace(/\{(\w+?)\}/g,function(a,b){return b in g?g[b]:a});return function(b){if(null!==b){var c={TileMatrix:f.c[b.z],TileCol:b.x,TileRow:b.y};H(c,this.c);b=a;return b=e==$r?we(ye([b],c)):b.replace(/\{(\w+?)\}/g,function(a,b){return c[b]})}}}var c=t(a.version)?a.version:"1.0.0",d=t(a.format)?a.format:"image/jpeg";this.c=a.dimensions||{};this.e="";bs(this);var e=t(a.requestEncoding)?a.requestEncoding:$r,f=a.tileGrid,g={Layer:a.layer,style:a.style, Style:a.style,TileMatrixSet:a.matrixSet};e==$r&&H(g,{Service:"WMTS",Request:"GetTile",Version:c,Format:d});c=gr;d=a.urls;!t(d)&&t(a.url)&&(d=ir(a.url));t(d)&&(c=er(La(d,b)));var h=qd(),l=new Ya(0,0,0),c=hr(function(b,c){var d=this.tileGrid;if(d.Ub().length<=b.z)return null;var e=b.x,f=-b.y-1,g=oj(d,b),z=c.ba(),u=t(a.extent)?a.extent:z;null!==u&&(c.nd&&u[0]===z[0]&&u[1]===z[1])&&(g=Math.ceil((u[1]-u[0])/(g[1]-g[0])),e=ad(e,g),l.z=b.z,l.x=e,l.y=b.y,g=oj(d,l,h));return Bd(g,u)?new Ya(b.z,e,f):null}, c);kr.call(this,{attributions:a.attributions,crossOrigin:a.crossOrigin,extent:a.extent,projection:a.projection,tileGrid:f,tileUrlFunction:c})}F(as,kr);as.prototype.i=k("c");as.prototype.fb=function(a,b,c){return this.e+as.B.fb.call(this,a,b,c)};function bs(a){var b=0,c=[],d;for(d in a.c)c[b++]=d+"-"+a.c[d];a.e=c.join("/")}as.prototype.o=function(a){H(this.c,a);bs(this);Kh(this)};function cs(a){this.c=t(a.color)?a.color instanceof pk?a.color:new U(a.color):new U(ds);this.a=t(a.fontFamily)?a.fontFamily instanceof pk?a.fontFamily:new U(a.fontFamily):new U(es);this.b=t(a.fontSize)?a.fontSize instanceof pk?a.fontSize:new U(a.fontSize):new U(fs);this.e=a.text instanceof pk?a.text:new U(a.text);this.d=t(a.opacity)?a.opacity instanceof pk?a.opacity:new U(a.opacity):new U(gs)}F(cs,Fl); cs.prototype.eb=function(a){var b;a instanceof N&&(b=a,b.u());a=Wk(this.c,b);var c=Wk(this.a,b),d=Number(Wk(this.b,b)),e=Wk(this.e,b);b=Number(Wk(this.d,b));return new Yl({color:a,fontFamily:c,fontSize:d,text:e,opacity:b})};var ds="#000",es="sans-serif",fs=10,gs=1;function hs(a){null!=a&&(a.html=a.html,a.tileRanges=a.tileRanges);cb.call(this,a)}F(hs,cb);C("ol.Attribution",hs);C("ol.Collection",M);M.prototype.clear=M.prototype.clear;M.prototype.extend=M.prototype.Of;M.prototype.forEach=M.prototype.forEach;M.prototype.getArray=M.prototype.Pf;M.prototype.getAt=M.prototype.Ne;M.prototype.getLength=M.prototype.Cc;M.prototype.insertAt=M.prototype.Ic;M.prototype.pop=M.prototype.pop;M.prototype.push=M.prototype.push;M.prototype.remove=M.prototype.remove; M.prototype.removeAt=M.prototype.Ad;M.prototype.setAt=M.prototype.fg;Yc.prototype.getElement=Yc.prototype.b;function is(a){null!=a&&(a.tracking=a.tracking);cd.call(this,a)}F(is,cd);C("ol.DeviceOrientation",is);C("ol.DeviceOrientation.SUPPORTED",hd);C("ol.Feature",N);N.prototype.getAttributes=N.prototype.pb;N.prototype.getFeatureId=N.prototype.Se;N.prototype.getGeometry=N.prototype.u;N.prototype.set=N.prototype.set;N.prototype.setGeometry=N.prototype.ra; function js(a){null!=a&&(a.projection=a.projection,a.tracking=a.tracking,a.trackingOptions=a.trackingOptions);P.call(this,a)}F(js,P);C("ol.Geolocation",js);C("ol.Geolocation.SUPPORTED",ne);function ks(a){null!=a&&(a.controls=a.controls,a.interactions=a.interactions,a.layers=a.layers,a.overlays=a.overlays,a.renderer=a.renderer,a.renderers=a.renderers,a.target=a.target,a.view=a.view);V.call(this,a)}F(ks,V);C("ol.Map",ks);V.prototype.addControl=V.prototype.Ge;V.prototype.addLayer=V.prototype.he; V.prototype.addOverlay=V.prototype.He;V.prototype.beforeRender=V.prototype.Ga;V.prototype.getControls=V.prototype.Re;V.prototype.getFeatureInfo=V.prototype.Te;V.prototype.getFeatures=V.prototype.Sd;V.prototype.getInteractions=V.prototype.Ue;V.prototype.getLayers=V.prototype.lb;V.prototype.getOverlays=V.prototype.We;V.prototype.getRenderer=V.prototype.Xe;V.prototype.removeControl=V.prototype.Zf;V.prototype.removeLayer=V.prototype.qe;V.prototype.removeOverlay=V.prototype.ag;V.prototype.updateSize=V.prototype.ma; Nh.prototype.getCoordinate=Nh.prototype.d;Nh.prototype.getPixel=Nh.prototype.e;Nh.prototype.preventDefault=Nh.prototype.U;Nh.prototype.stopPropagation=Nh.prototype.sb;C("ol.Object",L);L.prototype.bindTo=L.prototype.Ie;L.prototype.get=L.prototype.get;L.prototype.notify=L.prototype.ge;L.prototype.on=L.prototype.Vf;L.prototype.once=L.prototype.Xf;L.prototype.set=L.prototype.set;L.prototype.setValues=L.prototype.dc;L.prototype.un=L.prototype.lg;L.prototype.unByKey=L.prototype.mg;L.prototype.unbind=L.prototype.Dd; L.prototype.unbindAll=L.prototype.ng;function ls(a){null!=a&&(a.element=a.element,a.position=a.position,a.positioning=a.positioning);Ao.call(this,a)}F(ls,Ao);C("ol.Overlay",ls);C("ol.OverlayPositioning",zo);zo.BOTTOM_LEFT="bottom-left";zo.BOTTOM_RIGHT="bottom-right";zo.TOP_LEFT="top-left";zo.TOP_RIGHT="top-right";function ms(a){null!=a&&(a.axisOrientation=a.axisOrientation,a.code=a.code,a.extent=a.extent,a.global=a.global,a.units=a.units);Md.call(this,a)}F(ms,Md);C("ol.Projection",ms); Md.prototype.getAxisOrientation=Md.prototype.Oe;Md.prototype.getCode=Md.prototype.Qe;Md.prototype.getExtent=Md.prototype.ba;Md.prototype.getMetersPerUnit=Md.prototype.Tb;Md.prototype.getPointResolution=Md.prototype.b;Md.prototype.getUnits=Md.prototype.Sf;Md.prototype.isGlobal=Md.prototype.If;C("ol.ProjectionUnits",Kd);Kd.DEGREES="degrees";Kd.FEET="ft";Kd.METERS="m";C("ol.RendererHint",wo);wo.CANVAS="canvas";wo.DOM="dom";wo.WEBGL="webgl";C("ol.RendererHints",vo);vo.createFromQueryData=vo.Ke; function ns(a){null!=a&&(a.center=a.center,a.maxResolution=a.maxResolution,a.maxZoom=a.maxZoom,a.projection=a.projection,a.resolution=a.resolution,a.resolutions=a.resolutions,a.rotation=a.rotation,a.zoom=a.zoom,a.zoomFactor=a.zoomFactor);T.call(this,a)}F(ns,T);C("ol.View2D",ns);T.prototype.calculateExtent=T.prototype.i;T.prototype.constrainResolution=T.prototype.Ha;T.prototype.constrainRotation=T.prototype.qc;T.prototype.fitExtent=T.prototype.jd;T.prototype.getView2D=T.prototype.O; T.prototype.getZoom=T.prototype.$e;T.prototype.setZoom=T.prototype.o;C("ol.animation.bounce",function(a){null!=a&&(a.duration=a.duration,a.easing=a.easing,a.resolution=a.resolution,a.start=a.start);return si(a)});C("ol.animation.pan",function(a){null!=a&&(a.duration=a.duration,a.easing=a.easing,a.source=a.source,a.start=a.start);return ti(a)});C("ol.animation.rotate",function(a){null!=a&&(a.duration=a.duration,a.easing=a.easing,a.rotation=a.rotation,a.start=a.start);return ui(a)}); C("ol.animation.zoom",function(a){null!=a&&(a.duration=a.duration,a.easing=a.easing,a.resolution=a.resolution,a.start=a.start);return vi(a)});C("ol.canvas.SUPPORTED",Dm);function os(a){null!=a&&(a.className=a.className,a.target=a.target);mi.call(this,a)}F(os,mi);C("ol.control.Attribution",os);mi.prototype.setMap=mi.prototype.setMap;function ps(a){null!=a&&(a.element=a.element,a.target=a.target);li.call(this,a)}F(ps,li);C("ol.control.Control",ps);li.prototype.getMap=li.prototype.W; li.prototype.setMap=li.prototype.setMap;function qs(a){null!=a&&(a.className=a.className,a.keys=a.keys,a.target=a.target);Io.call(this,a)}F(qs,Io);C("ol.control.FullScreen",qs);function rs(a){null!=a&&(a.className=a.className,a.target=a.target);ni.call(this,a)}F(rs,ni);C("ol.control.Logo",rs);ni.prototype.setMap=ni.prototype.setMap; function ss(a){null!=a&&(a.className=a.className,a.coordinateFormat=a.coordinateFormat,a.projection=a.projection,a.target=a.target,a.undefinedHTML=a.undefinedHTML);Jo.call(this,a)}F(ss,Jo);C("ol.control.MousePosition",ss);Jo.prototype.setMap=Jo.prototype.setMap;function ts(a){null!=a&&(a.className=a.className,a.minWidth=a.minWidth,a.target=a.target,a.units=a.units);Mo.call(this,a)}F(ts,Mo);C("ol.control.ScaleLine",ts);Mo.prototype.setMap=Mo.prototype.setMap;C("ol.control.ScaleLineUnits",Lo); Lo.DEGREES="degrees";Lo.IMPERIAL="imperial";Lo.METRIC="metric";Lo.NAUTICAL="nautical";Lo.US="us";function us(a){null!=a&&(a.className=a.className,a.delta=a.delta,a.target=a.target);wi.call(this,a)}F(us,wi);C("ol.control.Zoom",us);wi.prototype.setMap=wi.prototype.setMap;function vs(a){null!=a&&(a.className=a.className,a.maxResolution=a.maxResolution,a.minResolution=a.minResolution);ap.call(this,a)}F(vs,ap);C("ol.control.ZoomSlider",vs); function ws(a){null!=a&&(a.className=a.className,a.extent=a.extent,a.target=a.target);cp.call(this,a)}F(ws,cp);C("ol.control.ZoomToExtent",ws); C("ol.control.defaults",function(a){if(null!=a){a.attribution=a.attribution;var b=a.attributionOptions;null!=a.attributionOptions&&(b.className=a.attributionOptions.className,b.target=a.attributionOptions.target);a.attributionOptions=b;a.logo=a.logo;b=a.logoOptions;null!=a.logoOptions&&(b.className=a.logoOptions.className,b.target=a.logoOptions.target);a.logoOptions=b;a.zoom=a.zoom;b=a.zoomOptions;null!=a.zoomOptions&&(b.className=a.zoomOptions.className,b.delta=a.zoomOptions.delta,b.target=a.zoomOptions.target); a.zoomOptions=b}return xi(a)});C("ol.coordinate.createStringXY",function(a){return function(b){return nd(b,a)}});C("ol.coordinate.fromProjectedArray",od);C("ol.coordinate.toStringHDMS",function(a){return t(a)?jd(a[1],"NS")+" "+jd(a[0],"EW"):""});C("ol.coordinate.toStringXY",nd);C("ol.dom.Input",dp);C("ol.easing.bounce",function(a){a<1/2.75?a*=7.5625*a:a<2/2.75?(a-=1.5/2.75,a=7.5625*a*a+0.75):a<2.5/2.75?(a-=2.25/2.75,a=7.5625*a*a+0.9375):(a-=2.625/2.75,a=7.5625*a*a+0.984375);return a}); C("ol.easing.easeIn",function(a){return a*a*a});C("ol.easing.easeOut",oi);C("ol.easing.elastic",function(a){return Math.pow(2,-10*a)*Math.sin((a-0.075)*2*Math.PI/0.3)+1});C("ol.easing.inAndOut",pi);C("ol.easing.linear",qi);C("ol.easing.upAndDown",ri);C("ol.expr.parse",function(a){return Sk(a)});C("ol.expr.register",function(a,b){Xk[a]=b});C("ol.extent.boundingExtent",pd);C("ol.extent.containsCoordinate",td);C("ol.extent.containsExtent",ud);C("ol.extent.equals",vd);C("ol.extent.extend",wd); C("ol.extent.getBottomLeft",xd);C("ol.extent.getBottomRight",function(a){return[a[1],a[2]]});C("ol.extent.getCenter",yd);C("ol.extent.getHeight",function(a){return a[3]-a[2]});C("ol.extent.getSize",function(a){return[a[1]-a[0],a[3]-a[2]]});C("ol.extent.getTopLeft",Ad);C("ol.extent.getTopRight",function(a){return[a[1],a[3]]});C("ol.extent.getWidth",function(a){return a[1]-a[0]});C("ol.extent.intersects",Bd);C("ol.extent.isEmpty",function(a){return a[1]f&&(f=0);var f=c.styles[f].identifier,g={};Ha(c.dimensions,function(a){var b=a.identifier,c=a["default"];t(c)||(c=a.values[0]);g[b]=c});var h=a.contents.tileMatrixSets[d],l=Zr(h),h=ke(h.supportedCRS),n=a.operationsMetadata.GetTile.dcp.http.get,q,r;switch(lc(n[0].constraints.GetEncoding.allowedValues)[0]){case "REST":case "RESTful":r= "REST";q=c.resourceUrls.tile[e];break;case "KVP":r=$r,q=[],Ha(n,function(a){a.constraints.GetEncoding.allowedValues.hasOwnProperty($r)&&q.push(a.url)})}return{urls:q,layer:b,matrixSet:d,format:e,projection:h,requestEncoding:r,tileGrid:l,style:f,dimensions:g}});as.prototype.getDimensions=as.prototype.i;as.prototype.updateDimensions=as.prototype.o; function Ns(a){null!=a&&(a.attributions=a.attributions,a.crossOrigin=a.crossOrigin,a.extent=a.extent,a.logo=a.logo,a.maxZoom=a.maxZoom,a.minZoom=a.minZoom,a.projection=a.projection,a.tileUrlFunction=a.tileUrlFunction,a.url=a.url,a.urls=a.urls);ur.call(this,a)}F(Ns,ur);C("ol.source.XYZ",Ns);ur.prototype.setUrl=ur.prototype.c;function Os(a){null!=a&&(a.color=a.color,a.opacity=a.opacity);Gl.call(this,a)}F(Os,Gl);C("ol.style.Fill",Os); function Ps(a){null!=a&&(a.height=a.height,a.opacity=a.opacity,a.rotation=a.rotation,a.url=a.url,a.width=a.width,a.xOffset=a.xOffset,a.yOffset=a.yOffset);aq.call(this,a)}F(Ps,aq);C("ol.style.Icon",Ps);function Qs(a){null!=a&&(a.filter=a.filter,a.symbolizers=a.symbolizers);Jl.call(this,a)}F(Qs,Jl);C("ol.style.Rule",Qs);function Rs(a){null!=a&&(a.fill=a.fill,a.size=a.size,a.stroke=a.stroke,a.type=a.type);Sl.call(this,a)}F(Rs,Sl);C("ol.style.Shape",Rs);C("ol.style.ShapeType",Ll);Ll.CIRCLE="circle"; function Ss(a){null!=a&&(a.color=a.color,a.opacity=a.opacity,a.width=a.width);Ol.call(this,a)}F(Ss,Ol);C("ol.style.Stroke",Ss);function Ts(a){null!=a&&(a.rules=a.rules,a.symbolizers=a.symbolizers);Vl.call(this,a)}F(Ts,Vl);C("ol.style.Style",Ts);function Us(a){null!=a&&(a.color=a.color,a.fontFamily=a.fontFamily,a.fontSize=a.fontSize,a.opacity=a.opacity,a.text=a.text);cs.call(this,a)}F(Us,cs);C("ol.style.Text",Us); function Vs(a){null!=a&&(a.minZoom=a.minZoom,a.origin=a.origin,a.origins=a.origins,a.resolutions=a.resolutions,a.tileSize=a.tileSize,a.tileSizes=a.tileSizes);mj.call(this,a)}F(Vs,mj);C("ol.tilegrid.TileGrid",Vs);mj.prototype.getMinZoom=mj.prototype.Ve;mj.prototype.getOrigin=mj.prototype.Ib;mj.prototype.getResolutions=mj.prototype.Ub;mj.prototype.getTileSize=mj.prototype.Aa; function Ws(a){null!=a&&(a.matrixIds=a.matrixIds,a.origin=a.origin,a.origins=a.origins,a.resolutions=a.resolutions,a.tileSize=a.tileSize,a.tileSizes=a.tileSizes);Yr.call(this,a)}F(Ws,Yr);C("ol.tilegrid.WMTS",Ws);Yr.prototype.getMatrixIds=Yr.prototype.g;function Xs(a){null!=a&&(a.maxZoom=a.maxZoom);lr.call(this,a)}F(Xs,lr);C("ol.tilegrid.XYZ",Xs);C("ol.webgl.SUPPORTED",mn);})();