/* Copyright 2005-2007 Google. To use maps on your own site, visit http://code.google.com/apis/maps/. */ __gjsload__('function Ya(){}Ya.prototype=new za;Ya.prototype.initialize=function(a,b){var c=b||y("div",a.U()),d=this;d.d=c;d.c=a;d.ch(c);d.Sb();if(a.T()){d.Ya()}this.Um();return c};Ya.prototype.M=function(a){var b=this;b.Um();for(var c=0;c<this.eb.length;c++){this.Jc(this.eb[c])}};Ya.prototype.getDefaultPosition=Ko.prototype.getDefaultPosition;Ya.prototype.La=function(){if(this.eb.length<1){return}var a=this.eb[0].div;ia(this.d,new r(pa(a.offsetLeft),a.offsetHeight))};Ya.prototype.Um=function(){var a=this,b=a.c;E(b,zd,a,a.Ya);E(b,cp,a,a.Su);E(b,qp,a,a.tv)};Ya.prototype.Su=function(){this.Sb()};Ya.prototype.tv=function(){this.Sb()};Ya.prototype.Sb=function(){var a=this,b=a.d,c=a.c;Qc(b);a.gj();var d=c.zc(),e=l(d),f=[];if(e>1){for(var g=0;g<e;g++){var h=a.wc(d[g],e-g-1,b);h.div.id="amtc_option_"+g;f.push(h)}}a.eb=f;a.ej();qa(a,a.La,0)};Ya.prototype.wc=function(a,b,c){var d=this,e=null;if(a.getAlt){e=a.getAlt()}var f=new Qe(c,a.getName(d.bf),e,id(d.wb()),a);this.We(f,b);return f};Ya.prototype.wb=function(){return this.bf?3.5:5};Ya.prototype.We=Ba;Ya.prototype.gj=Ba;Ya.prototype.ej=Ba;function ce(a){this.bf=a}ce.prototype=new Ya;ce.prototype.We=function(a,b){var c=this,d=a.div.style;d.right=id((c.wb()+0.1)*b);this.Jc(a)};ce.prototype.Jc=function(a){var b=this;Uc(a.div,b,function(){b.c.la(a.data)})};ce.prototype.Ya=function(){this.Mb()};ce.prototype.Mb=function(){var a=this,b=a.eb,c=a.c,d=l(b);for(var e=0;e<d;e++){var f=b[e];f.Ib(f.data==c.T())}};var Pp="1px solid #666666";function Db(a,b){this.bf=a||false;this.Ij=b||false;this.ud=null;this.Ih=null;this.iy=Ya.prototype.wb}Db.prototype=new Ya;Db.prototype.ex=function(){this.Io("")};Db.prototype.Bi=function(){this.Io("hidden")};Db.prototype.We=function(a,b){var c=this,d=a.div.style;d[Gc]=M(0);if(!c.kb){return}if(c.Ij){d[Gc]=M(3)}Pa(a.div);this.Jc(a)};Db.prototype.Jc=function(a){var b=this;K(a.div,Jc,b,function(){b.c.la(a.data);b.Bi()});K(a.div,Ha,b,function(){b.xo(a,true)});K(a.div,ra,b,function(){b.xo(a,false)})};Db.prototype.gj=function(){var a=this;a.d.id="menumtctl";if(a.Ij){var b=a.d.style;b[lc]="#F0F0F0";b[Jb]="1px solid #999999";b[Hh]=Pp;b[Vd]=Pp;b[Gc]=M(0);b[nb]=id(10);b[Fc]=id(1.8);a.ud=y("div",a.d);var c=a.ud.style;ab(a.ud);c[tc]=M(3);c[mb]=M(4);c[Wd]="bold";c[wd]="#333333";c[mc]=M(12);eb(Q(Iv),a.ud)}a.Ih=y("div",a.d);var d=a.Ih.style;ab(a.Ih);if(a.Ij){d[Gc]=M(3);d[mb]=M(3)}else{d[Gc]=(d[mb]=0)}a.kb=a.wc(a.c.T()||a.c.zc()[0],-1,a.Ih);a.kb.div.setAttribute("title",Q(xv));a.kb.div.style[$o]="nowrap";a.kb.div.id="menumtctl_main";Wb(a.kb.div);K(a.kb.div,nc,a,a.Cx);K(a.c,W,a,a.Bi)};Db.prototype.Cx=function(){var a=this;if(a.St()){a.Bi()}else{a.ex()}};Db.prototype.St=function(){return this.eb[0].div.style[Yd]!="hidden"};Db.prototype.Ya=function(){var a=this,b=a.c.T(),c=a.kb.contentDiv;Qc(c);var d=y("div",c);d.style[yd]="left";d.style[tf]=M(6);d.style[Wd]="bold";eb(b.getName(a.bf),d);var e=y("div",c);ab(e);e.style[mb]=M(2);e.style[Gc]=M(6);e.style[Zo]="middle";var f=y("img",e);f.src=O("down-arrow",true);a.kb.Ib(false)};Db.prototype.Io=function(a){var b=this,c=b.eb,d=0;if(b.Ij){d+=3}for(var e=l(c)-1;e>=0;e--){var f=c[e].div.style,g=b.kb.div.offsetHeight-2;f[mb]=M(1+d+g*(e+1));if(e>0){f[rf]=""}if(e<l(c)-1){f[Vd]=""}ia(c[e].div,new r(b.kb.div.offsetWidth-2,g));f[Yd]=a;var h=c[e].contentDiv.style;h[yd]="left";h[tf]=M(6)}};Db.prototype.xo=function(a,b){a.div.style[lc]=b?"#FFEAC0":"white"};Db.prototype.wb=function(){return this.iy()+1.2};Db.prototype.La=function(){var a=this,b=a.kb.div.offsetWidth,c=a.kb.div.offsetHeight;if(a.ud){b+=a.ud.offsetWidth;b+=9;c+=6;var d=(c-a.ud.offsetHeight)/2;a.ud.style[mb]=M(d)}ia(this.d,new r(b,c))};function gb(a){this.qb=a;this.div=a.div;this.contentDiv=a.contentDiv;this.vx="";this.Wn=null;this.Lh=null;this.re=[];this.Bp=null;this.kt=null;this.Rt=false}gb.prototype.yc=function(){return this.qb.data};gb.prototype.mg=function(){return!this.Wn};gb.prototype.bg=function(){return this.Wn};gb.prototype.yo=function(a){if(this.Lh){this.Lh.checked=a}};gb.prototype.Ke=function(){return this.qb.Ke()};gb.prototype.Ib=function(a){return this.qb.Ib(a)};gb.prototype.ei=function(){return this.Bp};gb.prototype.$e=function(a){this.Bp=a};gb.prototype.Ep=function(a){this.re.push(a);a.Wn=this;$a(this.div,a.div);Pa(a.div)};gb.prototype.tx=function(a){this.vx=a;var b=this.div.style;b[nb]="";b[$o]="nowrap";b[yd]="left";var c=this.contentDiv.style;c[mc]=M(11);c[tf]=M(2);c[Lh]=M(2);Qc(this.contentDiv);this.Lh=y("input",this.contentDiv,null,null,false,{type:"checkbox"});this.Lh.style[Zo]="middle";eb(this.vx,this.contentDiv)};gb.prototype.wu=function(){this.Rt=true};gb.prototype.Nw=function(a){var b=this;b.Nh();b.kt=qa(b.qb.div,function(){b.Jm()},a)};gb.prototype.Nh=function(){clearTimeout(this.kt)};gb.prototype.To=function(){this.Nh();var a=0;B(this.re,function(g){a=Math.max(a,g.contentDiv.offsetWidth)});for(var b=0;b<l(this.re);++b){var c=this.re[b],d=0;if(a>this.div.offsetWidth&&this.Rt){d-=a-this.div.offsetWidth+2}var e=(b+1)*(this.div.offsetHeight+2),f=c.div.style;f[mb]=M(e-4);f[tc]=M(d-1);f[nb]=M(a);lb(c.div)}};gb.prototype.Jm=function(){this.Nh();for(var a=0;a<l(this.re);++a){Pa(this.re[a].div)}};function Bb(a){this.bf=a;this.oj=[];this.Ee=[];if(l(ic)>=3){this.Bh(ic[1],ic[2],Q(Ov),wp)}}Bb.prototype=new Ya;Bb.prototype.Bh=function(a,b,c,d){var e=c||b.getName(this.bf);this.qj(b,false);this.qj(a,true);var f={parent:a,child:b,text:e,isDefault:!(!d)};this.oj.push(f);if(this.c){this.Sb();this.Mb()}};Bb.prototype.ko=function(a){this.qj(a,false);if(this.c){this.Sb();this.Mb()}};Bb.prototype.Tk=function(){this.oj=[];if(this.c){this.Sb();this.Mb()}};Bb.prototype.qj=function(a,b){var c=this.oj;for(var d=0;d<l(c);++d){if(!b&&c[d].parent==a||c[d].child==a){c.splice(d,1);--d}}};Bb.prototype.ej=function(){this.d.id="hmtctl";this.Ee=[];var a=[];for(var b=0;b<l(this.eb);++b){var c=new gb(this.eb[b]);this.Ee.push(c);this.eb[b].Yy=c;if(!this.um(c)){a.push(c)}}if(l(a)>0){a[l(a)-1].wu()}for(var b=0;b<l(this.Ee);++b){var d=this.Ee[b],e=this.um(d);if(e){var f=this.Ll(a,e.parent);if(f){f.Ep(d);if(e.isDefault){f.$e(d)}d.tx(e.text)}}}var g=l(a),h=this.wb()+0.1;for(var b=0;b<g;++b){var i=a[b].div.style;i[Gc]=id(h*(g-b-1))}for(var b=0;b<l(this.eb);++b){this.Jc(this.eb[b])}};Bb.prototype.Jc=function(a){var b=this,c=a.Yy;Uc(c.div,b,function(){b.nd(c)});if(c.mg()){K(c.div,ra,b,function(){if(c.Ke()){c.Nw(1000)}});K(c.div,Ha,b,function(){if(c.Ke()){c.To()}})}};Bb.prototype.nd=function(a){if(a.mg()){var b=a.ei();if(b){this.c.la(b.yc())}else{this.c.la(a.yc())}}else{var c=a.bg();if(this.c.T()==a.yc()){this.c.la(c.yc())}else{this.c.la(a.yc())}}};Bb.prototype.Ya=function(){this.Mb()};Bb.prototype.Mb=function(){var a=this.Ee,b=this.c,c=null;for(var d=0;d<l(a);d++){a[d].Ib(false);a[d].yo(false);a[d].Jm()}for(var d=0;d<l(a);d++){if(a[d].yc()==b.T()){if(a[d].mg()){a[d].Ib(true);a[d].$e(null);c=a[d]}else{var e=a[d].bg();e.Ib(true);e.$e(a[d]);c=e}}}for(var d=0;d<l(a);d++){if(!a[d].mg()){a[d].contentDiv.style[Jb]="";a[d].contentDiv.style[Wd]="";var e=a[d].bg();if(e.ei()==a[d]){a[d].yo(true)}}}if(c){c.To()}};Bb.prototype.um=function(a){var b=this.oj;for(var c=0;c<l(b);++c){if(b[c].child==a.yc()){return b[c]}}return null};Bb.prototype.Ll=function(a,b){for(var c=0;c<l(a);++c){if(a[c].yc()==b){return a[c]}}return null};Bb.prototype.Jw=function(a,b){var c=this,d=c.Ll(this.Ee,a);if(d){var e=d.bg();if(e){if(b){e.$e(d)}else if(e.ei()==d){e.$e(null)}}}};var an="1px solid #979797";function da(a){this.ma=a||new r(120,120)}da.prototype=new za;da.prototype.initialize=function(a,b){var c=this;c.c=a;B(a.bs(),function(g){if(g.K&&g.K()==To){c.uc=g}});var d=c.ma;c.Jt=new r(d.width-7-2,d.height-7-2);var e=a.U(),f=b||y("div",e,null,d);f.id=a.U().id+"_overview";c.d=f;c.qp=d;c.Ct(e);c.Ft();c.Ht();c.Dt();c.Vm();qa(c,c.Re,0);return f};da.prototype.M=function(a){var b=this;b.Vm()};da.prototype.getDefaultPosition=hq.prototype.getDefaultPosition;da.prototype.J=function(){return this.qp};da.prototype.l=function(){return this.Ac};da.prototype.show=function(a){this.Ac=false;this.up(this.ma,a);ld(this.Ci,O("overcontract",true));this.ga.Yd();this.Kc();if(this.uc){this.uc.Ag(this.ga)}};da.prototype.hide=function(a){this.Ac=true;this.up(r.ZERO,a);ld(this.Ci,O("overexpand",true));if(this.uc){this.uc.Pk(this.ga)}};da.prototype.rm=function(){return this.ga};da.prototype.Ct=function(a){var b=this,c=y("div",b.d,null,b.ma),d=c.style;d[Gh]=an;d[rf]=an;d[lc]="white";Wb(c);b.wk=new o(-bs(a,Ct),-bs(a,At));Vs(c,b.wk);b.Km=c};da.prototype.Ft=function(){var a=y("div",this.Km,null,this.Jt);a.style[Jb]=an;Ws(a,o.ORIGIN);Wb(a);this.tu=a};da.prototype.Ht=function(){var a=this,b=new p(a.tu,{mapTypes:a.c.zc(),size:a.Jt,suppressCopyright:true,usageType:"o"});b.nl();b.allowUsageLogging=function(){return b.T()!=a.c.T()};if(a.uc){a.uc.Ag(b)}a.ga=b;a.ga.gg()};da.prototype.Dt=function(){var a=xa(O("overcontract",true),this.d,null,new r(15,15));Ca(a,"pointer");yg(a,this.wk);this.Ci=a;this.Mm=new r(a.offsetWidth,a.offsetHeight)};da.prototype.Vm=function(){var a=this;Uc(a.Ci,a,a.fx);var b=a.c;E(b,Bd,a,a.ev);E(b,Qa,a,a.Kc);E(b,Qb,a,a.Re);E(b,Zd,a,a.fv);E(b,zd,a,a.Ya);var c=a.ga;E(c,$b,a,a.nv);E(c,fb,a,a.mv);E(c,Pb,a,a.lv);E(c,Ha,a,a.ov);E(c,ra,a,a.On);K(c.U(),Ee,a,Ja);K(c.U(),Uh,a,Ja);a.pq()};da.prototype.pq=function(){var a=this;if(!a.uc){return}var b=a.uc.getDefaultPosition(),c=b.offset.width;E(a,Qb,a,function(){var d;if(a.d.parentNode!=a.c.U()){d=0}else{d=a.J().width}b.offset.width=c+d;a.c.Kw(a.uc,b)});s(a,Qb)};da.prototype.Xe=function(){s(this,Qb)};da.prototype.Ya=function(){var a=this.c.T();if(a.getName()=="Satellite"){var b=this.c.zc();for(var c=0;c<l(b);c++){if(b[c].getName()=="Hybrid"){a=b[c];break}}}var d=this.ga;if(d.ha()){d.la(a)}else{var e=E(d,zd,this,function(){ca(e);d.la(a)})}};da.prototype.ev=function(){this.uu=true};da.prototype.Re=function(){var a=this;yg(a.d,o.ORIGIN);if(!a.c.ha()){return}a.Tn=a.Lk();a.Kc()};da.prototype.ov=function(a){this.fu=Ha;this.ga.Yd()};da.prototype.On=function(){var a=this;a.fu=ra;if(a.tp||a.Tg){return}a.ga.gg()};da.prototype.Lk=function(){var a=this.c.zc()[0],b=a.getBoundsZoomLevel(this.c.j(),this.ga.J()),c=this.c.L()-b+1;return c};da.prototype.nv=function(){var a=this;a.Fc.hide();if(a.Jj){a.ad.vr(a.Fc);a.ad.uq();a.ad.show()}};da.prototype.mv=function(){var a=this;a.Kv=true;var b=a.ga.S();a.c.Gb(b);a.Fc.ja(b);if(a.Jj){a.Fc.show()}a.ad.hide()};da.prototype.lv=function(a,b){this.Jv=true;this.c.Gb(b)};da.prototype.Kc=function(){var a=this,b=a.c,c=a.ga;a.Dz=false;if(a.Ac){return}if(typeof a.Tn!="number"){a.Tn=a.Lk()}var d=b.L()-a.Tn,e=a.c.zc()[0];if(!a.Kv&&!a.Jv){if(!c.ha()){c.ja(b.S(),d,e)}else if(d==c.L()){c.Gb(b.S())}else{c.ja(b.S(),d)}}else{a.Kv=false;a.Jv=false}a.xw();a.uu=false};da.prototype.xw=function(){var a=this,b=a.Fc,c=a.c.j(),d=a.ga;if(!b){a.Gc=new ta(c,1,"#4444BB","#8888FF","#111155","#6666CC",0.3,false);d.$(a.Gc);b=new ta(c,1,"#4444BB","#8888FF","#111155","#6666CC",0,true);d.$(b);E(b,fb,a,a.rv);E(b,pb,a,a.Pn);a.Fc=b;b.Lc(c);a.ad=new ta(c,1,"#4444BB","#8888FF","#111155","#6666CC",0,false);a.ad.initialize(d,a.tu);a.ad.Lc(c);a.ad.Lw(J.Xf());a.ad.hide()}else{b.Lc(c);a.Gc.Lc(c)}a.Jj=d.j().Qt(c);if(a.Jj){a.Gc.show();a.Fc.show()}else{a.Gc.hide();a.Fc.hide()}};da.prototype.fv=function(){var a=this;if(!a.ga.ha()){return}var b=a.c.j();a.Gc.Lc(b);if(!a.uu){a.Kc()}};da.prototype.Pn=function(){var a=this;if(a.Tg){return}var b=a.ga.Yb(),c=a.Fc.Yb();if(!b.sb(c)){var d=a.ga.j().Kb(),e=0,f=0;if(c.minX<b.minX){f=-d.lng()*0.04}else if(c.maxX>b.maxX){f=d.lng()*0.04}if(c.minY<b.minY){e=d.lat()*0.04}else if(c.maxY>b.maxY){e=-d.lat()*0.04}var g=a.ga.S(),h=g.lat(),i=g.lng();g=new C(h+e,i+f);h=g.lat();if(h<85&&h>-85){a.ga.ja(g)}a.Tg=setTimeout(function(){a.Tg=null;a.Pn()},30)}var k=a.ga.j(),m=a.Gc.j(),n=k.intersects(m);if(n&&a.Jj){a.Gc.show()}else{a.Gc.hide()}};da.prototype.rv=function(a){var b=this;b.Dz=true;var c=b.Fc.am(),d=b.ga.Yb();c.x=Ma(c.x,d.minX,d.maxX);c.y=Ma(c.y,d.minY,d.maxY);var e=b.ga.B(c);b.c.Gb(e);window.clearTimeout(b.Tg);b.Tg=null;b.Gc.show();if(b.fu==ra){b.On()}};da.prototype.fx=function(){if(this.l()){this.show()}else{this.hide()}s(this,Ic)};da.prototype.up=function(a,b){var c=this;if(b){c.uo(a);return}clearTimeout(c.tp);var d=c.Km,e=new r(d.offsetWidth,d.offsetHeight),f=F(pa(e.height-a.height)/30);c.Zx=new Oc(f);c.qA=e;c.pA=a;c.xl()};da.prototype.xl=function(){var a=this,b=a.Zx.next(),c=a.qA,d=a.pA,e=d.width-c.width,f=d.height-c.height,g=new r(c.width+e*b,c.height+f*b);a.uo(g);if(a.Zx.more()){a.tp=qa(a,function(){a.xl()},10)}else{a.tp=null}};da.prototype.uo=function(a){var b=this;ia(this.Km,a);if(a.width===0){ia(b.d,b.Mm)}else{ia(b.d,b.ma)}yg(b.d,o.ORIGIN);yg(b.Ci,b.wk);if(a.width<b.Mm.width){b.qp=b.Mm}else{b.qp=a}s(this,Qb)};function bc(){}bc.prototype=new za;bc.prototype.ma=new r(60,40);bc.prototype.initialize=function(a,b){var c=this;c.c=a;var d=c.ma,e=a.U(),f=b||y("div",e,null,d);Pa(f);f.style[Jb]="none";f.id=a.U().id+"_magnifyingglass";c.d=f;this.Bt();this.Eh=0;this.Lj=0;this.Si=null;E(a,Yh,c,c.Ev);return f};bc.prototype.getDefaultPosition=Df.prototype.getDefaultPosition;bc.prototype.D=Df.prototype.D;bc.prototype.db=sd;bc.prototype.Bt=function(){var a="2px solid #FF0000",b="0px",c=[];c.push(this.Ff(a,b,b,a));c.push(this.Ff(a,a,b,b));c.push(this.Ff(b,a,a,b));c.push(this.Ff(b,b,a,a));this.tA=c;this.uA=[c[2],c[3],c[0],c[1]]};bc.prototype.Ff=function(a,b,c,d){var e=new r(this.ma.width/10,this.ma.height/10),f=y("div",this.d,null,e),g=f.style;g[mc]=(g[Dt]="1px");g[rf]=a;g[Hh]=b;g[Vd]=c;g[Gh]=d;return f};bc.prototype.ur=function(a){var b=new r(this.ma.width*a,this.ma.height*a);ia(this.d,b);var c=new o(this.ak.x-b.width/2,this.ak.y-b.height/2);U(this.d,c);var d;if(this.by>0){d=this.tA}else{d=this.uA}var e=b.width-b.width/10,f=b.height-b.height/10;U(d[0],o.ORIGIN);U(d[1],new o(e,0));U(d[2],new o(e,f));U(d[3],new o(0,f));bt(this.d)};bc.prototype.Ev=function(a,b,c){if(!b||c){return}var d=this.c.Or(b);this.by=a;if(this.Si){clearTimeout(this.Si)}if(this.Lj==0||this.ak&&!this.ak.equals(d)){this.Eh=0;this.Lj=4}this.ak=d;this.rl()};bc.prototype.rl=function(){if(this.Lj==0){Pa(this.d);this.Si=null}else{this.Lj--;this.Eh=(this.Eh+this.by+5)%5;this.ur(0.25+this.Eh*0.4);this.Si=qa(this,this.rl,100)}};function le(){}le.prototype=new za;le.prototype.initialize=function(a,b){this.c=a;var c=this.D(),d=this.d=b||y("div",a.U(),null,c);xa(O("szc"),d,o.ORIGIN,c,{ca:true});this.M();return d};le.prototype.M=function(){var a=this.c;fg(this.d,[[18,18,0,0,sa(a,a.Qc),Q(Vm)],[18,18,0,18,sa(a,a.Rc),Q(Wm)]])};le.prototype.getDefaultPosition=Tf.prototype.getDefaultPosition;le.prototype.D=Tf.prototype.D;function ke(){}ke.prototype=new za;ke.prototype.initialize=function(a,b){this.c=a;var c=this.D(),d=this.d=b||y("div",a.U(),null,c);xa(O("smc"),d,o.ORIGIN,c,{ca:true});this.M(window);return d};ke.prototype.M=function(){var a=this.c;fg(this.d,[[18,18,9,0,sa(a,a.hc,0,1),Q(eq)],[18,18,0,18,sa(a,a.hc,1,0),Q(cq)],[18,18,18,18,sa(a,a.hc,-1,0),Q(dq)],[18,18,9,36,sa(a,a.hc,0,-1),Q(bq)],[18,18,9,57,sa(a,a.Qc),Q(Vm)],[18,18,9,75,sa(a,a.Rc),Q(Wm)]])};ke.prototype.getDefaultPosition=Sf.prototype.getDefaultPosition;ke.prototype.D=Sf.prototype.D;function xc(a){this.maxLength=a||125}xc.prototype=new za;xc.prototype.initialize=function(a,b){var c=this;c.map=a;var d=O("mapcontrols"),e=c.D(),f=b||y("div",a.U(),null,e);c.ch(f);f.style[mc]=M(11);c.container=f;Vb(d,f,new o(0,398),new r(4,26),o.ORIGIN);c.bar=Vb(d,f,new o(12,398),new r(0,4),new o(3,11));c.cap=Vb(d,f,new o(412,398),new r(1,4),o.ORIGIN);var g=new r(4,12),h=Vb(d,f,new o(4,398),g,o.ORIGIN),i=Vb(d,f,new o(8,398),g,new o(0,14));ab(i);var k=y("div",f);ab(k);of(k,8);k.style[xe]=M(16);var m=y("div",f,new o(8,15));if(_mPreferMetric){c.metricBar=h;c.fpsBar=i;c.metricLbl=k;c.fpsLbl=m}else{c.fpsBar=h;c.metricBar=i;c.fpsLbl=k;c.metricLbl=m}c.M(window);if(a.ha()){c.lp();c.fp()}return f};xc.prototype.D=Rf.prototype.D;xc.prototype.getDefaultPosition=Rf.prototype.getDefaultPosition;xc.prototype.M=function(a){var b=this,c=b.map;E(c,Qa,b,b.lp);E(c,zd,b,b.fp)};xc.prototype.fp=function(){this.container.style[wd]=this.map.T().getTextColor()};xc.prototype.lp=function(){var a=this.Uq(),b=a.metric,c=a.fps,d=S(c.length,b.length);Xa(this.fpsLbl,c.display);Xa(this.metricLbl,b.display);of(this.fpsBar,c.length);of(this.metricBar,b.length);U(this.cap,new o(d+4-1,11));Ec(this.container,d+4);Ec(this.bar,d)};xc.prototype.Uq=function(){var a=this.map,b=a.ka(),c=new o(b.x+1,b.y),d=a.B(b),e=a.B(c),f=d.we(e,a.T().Gs()),g=f*this.maxLength,h=this.$l(g/1000,Q(Fv),g,Q(Jv)),i=this.$l(g/1609.344,Q(Kv),g*3.28084,Q(zv));return{metric:h,fps:i}};xc.prototype.$l=function(a,b,c,d){var e=a,f=b;if(a<1){e=c;f=d}var g=Jz(e),h=F(this.maxLength*g/e);return{length:h,display:g+" "+f}};function Jz(a){var b=a;if(b>1){var c=0;while(b>=10){b=b/10;c=c+1}if(b>=5){b=5}else if(b>=2){b=2}else{b=1}while(c>0){b=b*10;c=c-1}}return b}Oa(Sa,lx,Cb);Oa(Sa,yr,ke);Oa(Sa,wr,xc);Oa(Sa,sr,bc);Oa(Sa,tr,ce);Oa(Sa,ur,Db);Oa(Sa,rr,Bb);Oa(Sa,kx,Mb);Oa(Sa,vr,da);Oa(Sa,mx,vc);Oa(Sa,zr,le);Oa(Sa);')