/**/_jsload2&&_jsload2('buslinesearch', 'A.extend(gf.prototype,{Dd:function(){for(var a=0,b=this.Qa.length;a
  "+f+"
\')}b="";this.xc.moreResultsUrl&&(b=b+"
"+("\\u5230\\u767e\\u5ea6\\u5730\\u56fe\\u67e5\\u770b»"),b+=" 
");a.innerHTML=c.join("")+b;this.m.na.Aa.appendChild(a);this.Ca(Y.kG,a)}},FS:function(a,b,c){var e=this.m.na.map; e&&(a=fb.Ge(a,p).point,this.cB?this.cB!=c&&(e.ud(a,b),this.cB=c):(e.ud(a,b),this.cB=c))},rU:function(a){if(this.xc)for(var b=0,c=this.xc.Zs();b\'); c.push(\'\\u9996\\u672b\\u8f66\\u65f6\\u95f4\'+this.Jc.startTime+"-"+this.Jc.endTime+"");c.push(\'\\u6240\\u5c5e\\u516c\\u53f8\'+this.Jc.company+ "");c.push("");4==this.Jc.Yi?c.push(\'

\\u6cbf\\u7ebf\\u5730\\u94c1\\u7ad9:

\'):c.push(\'

\\u6cbf\\u7ebf\\u516c\\u4ea4\\u7ad9\\u70b9:

\');c.push(\'\');for(var e=0,f=this.Jc.mp();e");c.push("
\'+(e+1)+""+this.Jc.jx(e).name+"
");b.innerHTML=c.join("")}a=A.Ic("divResult"+this.da);this.Ca(Y.jG,a)}},GI:function(a){if(this.m.na.map&&this.Jc&&0"];i.push("
"+e+"
");i.push("");var v=new dd(i.join(""),{title:"",height:0,width:220,margin:[10,10,20,10]});v.addEventListener("open",function(){var b=A.Ic("aStop_"+a+"_"+f);b&&(b.style.backgroundColor="#cccccc")});v.addEventListener("close",function(){var b=A.Ic("aStop_"+a+"_"+f);b&&(b.style.backgroundColor="#ffffff")});i=c.m.na.map;i.M.gD?Af.fM(v,i.getCurrentCity().code,{panoInstance:i.W,lngLat:g.target.ma(), titleTip:e,type:"busline"},function(){b.Vc(v)}):b.Vc(v)})})(g,i,e);g.zB=i;this.dj.push(g)}this.Ca(Y.Cn,this.dj);this.m.na.vg&&this.m.na.map.Pg(b.$e(),{margins:[5,5,5,5]})}},_selectBusStop:function(a,b){if(this.m.na.map&&this.dj&&0"];e.push("
"+c.zB+"
");e.push("");var f=new dd(e.join(""),{title:"",height:0,width:220,margin:[10,10,20,10]});f.addEventListener("open", function(){var c=A.Ic("aStop_"+a+"_"+b);c&&(c.style.backgroundColor="#cccccc")});f.addEventListener("close",function(){var c=A.Ic("aStop_"+a+"_"+b);c&&(c.style.backgroundColor="#ffffff")});e=this.m.na.map;e.M.gD?Af.fM(f,e.getCurrentCity().code,{panoInstance:e.W,lngLat:c.ma(),titleTip:c.zB,type:"busline"},function(){c.Vc(f)}):c.Vc(f)}}else{this.wN&&(this.wN.style.backgroundColor="#ffffff");if(e=A.Ic("aStop_"+a+"_"+b))e.style.backgroundColor="#cccccc";this.wN=e}},Vg:function(){this.m.na.map&&this.m.na.map.lK()}, Va:function(a){"number"==typeof a?this.Se=a:delete this.Se}});function gj(a){this.keyword=a.Ab||"";this.city=a.city;this.moreResultsUrl=a.wi;this.JA=a.DM&&a.DM.slice(0)||[];this.Jh=a.Jh}A.extend(gj.prototype,{zD:function(a){if(this.JA[a])return this.JA[a]},Zs:function(){return this.JA.length}});var ij=gj.prototype;V(ij,{getNumBusList:ij.Zs,getBusListItem:ij.zD});function hj(a){this.name=a.name||"";this.startTime=a.startTime||"";this.endTime=a.NW||"";this.company=a.DV||"";this.Zi=a.SZ||{};this.BB=a.lO&&a.lO.slice(0)||[];this.Yi=a.Yi||2}A.extend(hj.prototype,{jx:function(a){if(this.BB[a])return this.BB[a]},mp:function(){return this.BB.length},qp:x("Zi"),$e:function(){if(this.Zi.$e())return this.Zi.$e()}});var jj=hj.prototype;V(jj,{getNumBusStations:jj.mp,getBusStation:jj.jx,getPath:jj.$e,getPolyline:jj.qp}); ');