citylistcontrol_x2ymut.js 23 KB

12345678
  1. /* 百度地图API V2 模块
  2. * 此模块必须配套使用baidumap_offline_v2_20160822.js对
  3. * 获取模块的方法:
  4. * http://api0.map.bdimg.com/getmodules?v=2.0&mod=模块1,模块2
  5. * 模块名称就是文件名
  6. * www.xiaoguo123.com 整理
  7. */
  8. _jsload2&&_jsload2('citylistcontrol', 'x.object.extend(Yb.prototype,{uf:function(){this.C&&this.Ce(this.C)},initialize:function(a){var b=this;if(this.pV&&!this.rQ(a))return p;Sb.prototype.initialize.call(this,a);Sb.prototype.za.call(this);this.sL(function(){b.wb();Sb.prototype.Jr.call(b);b.ca(a)});return this.B},wb:function(){var a=this.Dq=K("div",{"class":"ui_city_change"}),b=this.k.anchor,c="",d=q;switch(b){case Tb:c="float: left";break;case Ub:c="float: right";break;case Vb:c="float: left";d=o;break;case 3:c="float: right",d=o}a.innerHTML= \'<a href="javascript:void(0)" onclick="return false" class="ui_city_change_inner" style="\'+c+\'"><span id="cur_city_name" class="cur_city_name">\'+this.C.$g+"</span><i><em></em></i></a>";a.style.position="relative";a.style.height="26px";d||(x.D.Ta(a,"ui_city_change_top"),this.B.appendChild(a));c=this.Kj=K("div",{"class":"citylist_popup_main"});zb(c,\'<div class="citylist_ctr_title">\\u57ce\\u5e02\\u5217\\u8868</div>\');var e=K("div",{"class":"citylist_ctr_content"}),f=K("div",{"class":"city_content_top"}); f.innerHTML=\'<p class="cur_city_info">\\u5f53\\u524d\\u57ce\\u5e02\\uff1a<span id="cur_city_spn">\'+this.C.$g+"</span</p>";zb(f,\'<form id="city_ctrl_form" onsubmit="Instance("\'+this.ba+\'").search(this);return false"><input type="text" class="sel_city_input" id="selCityWd" name="wd" placeholder="\\u8bf7\\u8f93\\u5165\\u57ce\\u5e02\\u540d" autocomplete="off"><span id="selCitySubmit">\\u641c\\u7d22</span><div id="selCityTip" style="display:none;height:20px;line-height:20px;color:#AE6842;border:1px solid #E8AA6C;background:#FEFAF1;width:121px;text-align:center">\\u8bf7\\u8f93\\u5165\\u6b63\\u786e\\u7684\\u57ce\\u5e02</div></form>\'); e.appendChild(f);f=K("div",{"class":"city_content_medium"});zb(f,\'<div id="hot_city_ids" class="sel_city_hotcity">\'+this.FR()+"</div>"+(\'<div id="sel_city_letter_list" class="sel_city_letterbar">\'+this.ER()+"</div>"));e.appendChild(f);f=K("div",{"class":"city_content_bottom",id:"city_detail_tpl"});f.innerHTML=this.DR();e.appendChild(f);c.appendChild(e);e=this.wf=K("button",{id:"popup_close"});c.appendChild(e);this.k.expand?this.Pp(o):this.Pp(q);if(b==Ub||3==b)c.style.left="-2px";this.B.appendChild(c); d&&(x.D.Ta(a,"ui_city_change_bottom"),this.B.appendChild(a));x.D.Ta(this.B,"BMap_CityListCtrl")},rQ:function(a){return a.width&&400<a.width&&a.height&&350<a.height?o:q},ca:function(){function a(a){na(a);var b=(d.dI.clientHeight||d.dI.offsetHeight)-((d.Pg.clientHeight||d.Pg.offsetHeight)-20);0<(0<(Math.ceil(a.wheelDelta/120)||-a.detail/3)?1:-1)?(d.Pg.scrollTop-=60,0>=d.Pg.scrollTop&&(d.Pg.scrollTop=0)):(d.Pg.scrollTop+=60,d.Pg.scrollTop>=b&&(d.Pg.scrollTop=b))}function b(){d.zU()}function c(a,b){var a= a||window.event,c=(a.target||a.srcElement).getAttribute("name");ma(a);var f=o;switch(b){case "cityHotIds":for(var g=0;g<e.length;g++)e[g]&&e[g]();d.cC(c);break;case "cityLetters":"other"==c&&(c="Z");c=x.$("ctr_tr_"+c);d.Pg.scrollTop=c.offsetTop;f=q;break;case "cityName":for(g=0;g<e.length;g++)e[g]&&e[g]();d.cC(c)}f&&setTimeout(function(){d.Pp(q)},200)}var d=this,e=d.onChangeBefore||[];if(d.B){var f=d.Dq,g=d.wf,i=x.$("hot_city_ids"),k=x.$("sel_city_letter_list"),l=x.$("city_detail_table"),m=x.$("cur_city_name"), n=x.$("cur_city_spn");Ob(c,i,"cityHotIds");Ob(c,k,"cityLetters");Ob(c,l,"cityName");x.M(f,"click",b);x.M(g,"click",function(){d.Pp(q)});d.C.addEventListener("citychange",function(){d.sL(function(){d.gj=d.C.$g;"\\u4e2d\\u56fd"==d.C.$g&&(d.gj="\\u5168\\u56fd");d.z1=d.C.Zr;m.innerHTML=d.gj;n.innerHTML=d.gj})});x.M(d.Kj,"mousewheel",function(a){na(a)});window.addEventListener&&d.Kj.addEventListener("DOMMouseScroll",function(a){na(a)},q);f=d.Pg=x.$("city_detail_tpl");d.dI=x.$("city_detail_table");x.M(f,"mousewheel", a);window.addEventListener&&f.addEventListener("DOMMouseScroll",a,q);var u=new Hd({input:"selCityWd",types:"city"});x.$("selCitySubmit").addEventListener("click",function(a){na(a);for(a=0;a<e.length;a++)e[a]&&e[a]();u.U();a=x.$("selCityWd").value;0<a.length&&20>a.length?(a=a.replace(/(\\s)/g,"").replace(/</g,"&lt;").replace(/>/g,"&gt;"),d.cC(a,o)):x.$("selCityTip").style.display="block"});x.M(d.Kj,"click",function(){x.$("selCityTip").style.display="none"})}},FR:function(){for(var a="\\u5168\\u56fd \\u5317\\u4eac \\u4e0a\\u6d77 \\u5e7f\\u5dde \\u6df1\\u5733 \\u6210\\u90fd \\u5929\\u6d25 \\u5357\\u4eac \\u6b66\\u6c49 \\u676d\\u5dde \\u91cd\\u5e86".split(" "), b="",c="",d=0;d<a.length;d++)0==d&&(c="font-weight:bold"),b+=\'<a href="javascript:void(0)" filter="cityHotIds" name="\'+a[d]+\'" style="margin-right:7px;*margin-right:1px;\'+c+\'">\'+a[d]+"</a>",c="";return b},ER:function(){for(var a="A F G H J L N Q S T X Y Z \\u5176\\u4ed6".split(" "),b="",c="",d=0;d<a.length;d++)c=d==a.length-1?"other":a[d],b+=\'<a href="javascript:void(0)" filter="cityLetters" name="\'+c+\'">\'+a[d]+"</a>";return b},DR:function(){var a={A:{"\\u5b89\\u5fbd":"\\u5408\\u80a5 \\u5b89\\u5e86 \\u868c\\u57e0 \\u4eb3\\u5dde \\u5de2\\u6e56 \\u6c60\\u5dde \\u6ec1\\u5dde \\u961c\\u9633 \\u6dee\\u5317 \\u9ec4\\u5c71 \\u516d\\u5b89 \\u9a6c\\u978d\\u5c71 \\u5bbf\\u5dde \\u94dc\\u9675 \\u829c\\u6e56 \\u5ba3\\u57ce".split(" ")}, F:{"\\u798f\\u5efa":"\\u798f\\u5dde \\u9f99\\u5ca9 \\u5357\\u5e73 \\u5b81\\u5fb7 \\u8386\\u7530 \\u6cc9\\u5dde \\u4e09\\u660e \\u53a6\\u95e8 \\u6f33\\u5dde".split(" ")},G:{"\\u5e7f\\u4e1c":"\\u5e7f\\u5dde \\u6f6e\\u5dde \\u4e1c\\u839e \\u4f5b\\u5c71 \\u6cb3\\u6e90 \\u60e0\\u5dde \\u6c5f\\u95e8 \\u63ed\\u9633 \\u8302\\u540d \\u6885\\u5dde \\u6e05\\u8fdc \\u6c55\\u5934 \\u6c55\\u5c3e \\u97f6\\u5173 \\u6df1\\u5733 \\u9633\\u6c5f \\u4e91\\u6d6e \\u6e5b\\u6c5f \\u8087\\u5e86 \\u4e2d\\u5c71 \\u73e0\\u6d77".split(" "),"\\u5e7f\\u897f":"\\u5357\\u5b81 \\u767e\\u8272 \\u5317\\u6d77 \\u5d07\\u5de6 \\u9632\\u57ce\\u6e2f \\u6842\\u6797 \\u8d35\\u6e2f \\u6cb3\\u6c60 \\u8d3a\\u5dde \\u6765\\u5bbe \\u67f3\\u5dde \\u94a6\\u5dde \\u68a7\\u5dde \\u7389\\u6797".split(" "), "\\u8d35\\u5dde":"\\u8d35\\u9633 \\u5b89\\u987a \\u6bd5\\u8282\\u5730\\u533a \\u516d\\u76d8\\u6c34 \\u94dc\\u4ec1\\u5730\\u533a \\u9075\\u4e49 \\u9ed4\\u897f\\u5357\\u5dde \\u9ed4\\u4e1c\\u5357\\u5dde \\u9ed4\\u5357\\u5dde".split(" "),"\\u7518\\u8083":"\\u5170\\u5dde \\u767d\\u94f6 \\u5b9a\\u897f \\u7518\\u5357\\u5dde \\u5609\\u5cea\\u5173 \\u91d1\\u660c \\u9152\\u6cc9 \\u4e34\\u590f\\u5dde \\u9647\\u5357 \\u5e73\\u51c9 \\u5e86\\u9633 \\u5929\\u6c34 \\u6b66\\u5a01 \\u5f20\\u6396".split(" ")},H:{"\\u6d77\\u5357":"\\u6d77\\u53e3 \\u767d\\u6c99\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4fdd\\u4ead\\u9ece\\u65cf\\u82d7\\u65cf\\u81ea\\u6cbb\\u53bf \\u660c\\u6c5f\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u510b\\u5dde \\u6f84\\u8fc8 \\u4e1c\\u65b9 \\u5b9a\\u5b89 \\u743c\\u6d77 \\u743c\\u4e2d\\u9ece\\u65cf\\u82d7\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e50\\u4e1c\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e34\\u9ad8 \\u9675\\u6c34\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e09\\u4e9a \\u5c6f\\u660c \\u4e07\\u5b81 \\u6587\\u660c \\u4e94\\u6307\\u5c71".split(" "), "\\u6cb3\\u5357":"\\u90d1\\u5dde \\u5b89\\u9633 \\u9e64\\u58c1 \\u7126\\u4f5c \\u5f00\\u5c01 \\u6d1b\\u9633 \\u6f2f\\u6cb3 \\u5357\\u9633 \\u5e73\\u9876\\u5c71 \\u6fee\\u9633 \\u4e09\\u95e8\\u5ce1 \\u5546\\u4e18 \\u65b0\\u4e61 \\u4fe1\\u9633 \\u8bb8\\u660c \\u5468\\u53e3 \\u9a7b\\u9a6c\\u5e97".split(" "),"\\u9ed1\\u9f99\\u6c5f":"\\u54c8\\u5c14\\u6ee8 \\u5927\\u5e86 \\u5927\\u5174\\u5b89\\u5cad\\u5730\\u533a \\u9e64\\u5c97 \\u9ed1\\u6cb3 \\u9e21\\u897f \\u4f73\\u6728\\u65af \\u7261\\u4e39\\u6c5f \\u4e03\\u53f0\\u6cb3 \\u9f50\\u9f50\\u54c8\\u5c14 \\u53cc\\u9e2d\\u5c71 \\u7ee5\\u5316 \\u4f0a\\u6625".split(" "), "\\u6e56\\u5317":"\\u6b66\\u6c49 \\u9102\\u5dde \\u6069\\u65bd \\u9ec4\\u5188 \\u9ec4\\u77f3 \\u8346\\u95e8 \\u8346\\u5dde \\u6f5c\\u6c5f \\u795e\\u519c\\u67b6\\u5730\\u533a \\u5341\\u5830 \\u968f\\u5dde \\u5929\\u95e8 \\u4ed9\\u6843 \\u54b8\\u5b81 \\u8944\\u9633 \\u5b5d\\u611f \\u5b9c\\u660c".split(" "),"\\u6e56\\u5357":"\\u957f\\u6c99 \\u5e38\\u5fb7 \\u90f4\\u5dde \\u8861\\u9633 \\u6000\\u5316 \\u5a04\\u5e95 \\u90b5\\u9633 \\u6e58\\u6f6d \\u6e58\\u897f\\u5dde \\u76ca\\u9633 \\u6c38\\u5dde \\u5cb3\\u9633 \\u5f20\\u5bb6\\u754c \\u682a\\u6d32".split(" "),"\\u6cb3\\u5317":"\\u77f3\\u5bb6\\u5e84 \\u4fdd\\u5b9a \\u6ca7\\u5dde \\u627f\\u5fb7 \\u90af\\u90f8 \\u8861\\u6c34 \\u5eca\\u574a \\u79e6\\u7687\\u5c9b \\u5510\\u5c71 \\u90a2\\u53f0 \\u5f20\\u5bb6\\u53e3".split(" ")}, J:{"\\u6c5f\\u82cf":"\\u5357\\u4eac \\u5e38\\u5dde \\u6dee\\u5b89 \\u8fde\\u4e91\\u6e2f \\u5357\\u901a \\u82cf\\u5dde \\u5bbf\\u8fc1 \\u79e6\\u5dde \\u65e0\\u9521 \\u5f90\\u5dde \\u76d0\\u57ce \\u626c\\u5dde \\u9547\\u6c5f".split(" "),"\\u6c5f\\u897f":"\\u5357\\u660c \\u629a\\u5dde \\u8d63\\u5dde \\u5409\\u5b89 \\u666f\\u5fb7\\u9547 \\u4e5d\\u6c5f \\u840d\\u4e61 \\u4e0a\\u9976 \\u65b0\\u4f59 \\u5b9c\\u6625 \\u9e70\\u6f6d".split(" "),"\\u5409\\u6797":"\\u957f\\u6625 \\u767d\\u57ce \\u767d\\u5c71 \\u5409\\u6797\\u5e02 \\u8fbd\\u6e90 \\u56db\\u5e73 \\u677e\\u539f \\u901a\\u5316 \\u5ef6\\u8fb9".split(" ")}, L:{"\\u8fbd\\u5b81":"\\u6c88\\u9633 \\u978d\\u5c71 \\u672c\\u6eaa \\u671d\\u9633 \\u5927\\u8fde \\u4e39\\u4e1c \\u629a\\u987a \\u961c\\u65b0 \\u846b\\u82a6\\u5c9b \\u9526\\u5dde \\u8fbd\\u9633 \\u76d8\\u9526 \\u94c1\\u5cad \\u8425\\u53e3".split(" ")},N:{"\\u5b81\\u590f":["\\u94f6\\u5ddd","\\u56fa\\u539f","\\u77f3\\u5634\\u5c71","\\u5434\\u5fe0","\\u4e2d\\u536b"],"\\u5185\\u8499\\u53e4":"\\u547c\\u548c\\u6d69\\u7279 \\u963f\\u62c9\\u5584\\u76df \\u5305\\u5934 \\u5df4\\u5f66\\u6dd6\\u5c14 \\u8d64\\u5cf0 \\u9102\\u5c14\\u591a\\u65af \\u547c\\u4f26\\u8d1d\\u5c14 \\u901a\\u8fbd \\u4e4c\\u6d77 \\u4e4c\\u5170\\u5bdf\\u5e03 \\u9521\\u6797\\u90ed\\u52d2\\u76df \\u5174\\u5b89\\u76df".split(" ")}, Q:{"\\u9752\\u6d77":"\\u897f\\u5b81 \\u679c\\u6d1b\\u5dde \\u6d77\\u4e1c\\u5730\\u533a \\u6d77\\u5317\\u5dde \\u6d77\\u5357\\u5dde \\u6d77\\u897f\\u5dde \\u9ec4\\u5357\\u5dde \\u7389\\u6811\\u5dde".split(" ")},S:{"\\u5c71\\u4e1c":"\\u6d4e\\u5357 \\u6ee8\\u5dde \\u4e1c\\u8425 \\u5fb7\\u5dde \\u83cf\\u6cfd \\u6d4e\\u5b81 \\u83b1\\u829c \\u804a\\u57ce \\u4e34\\u6c82 \\u9752\\u5c9b \\u65e5\\u7167 \\u6cf0\\u5b89 \\u5a01\\u6d77 \\u6f4d\\u574a \\u70df\\u53f0 \\u67a3\\u5e84 \\u6dc4\\u535a".split(" "),"\\u5c71\\u897f":"\\u592a\\u539f \\u957f\\u6cbb \\u5927\\u540c \\u664b\\u57ce \\u664b\\u4e2d \\u4e34\\u6c7e \\u5415\\u6881 \\u6714\\u5dde \\u5ffb\\u5dde \\u9633\\u6cc9 \\u8fd0\\u57ce".split(" "), "\\u9655\\u897f":"\\u897f\\u5b89 \\u5b89\\u5eb7 \\u5b9d\\u9e21 \\u6c49\\u4e2d \\u5546\\u6d1b \\u94dc\\u5ddd \\u6e2d\\u5357 \\u54b8\\u9633 \\u5ef6\\u5b89 \\u6986\\u6797".split(" "),"\\u56db\\u5ddd":"\\u6210\\u90fd \\u963f\\u575d\\u5dde \\u5df4\\u4e2d \\u8fbe\\u5dde \\u5fb7\\u9633 \\u7518\\u5b5c\\u5dde \\u5e7f\\u5b89 \\u5e7f\\u5143 \\u4e50\\u5c71 \\u51c9\\u5c71\\u5dde \\u6cf8\\u5dde \\u5357\\u5145 \\u7709\\u5c71 \\u7ef5\\u9633 \\u5185\\u6c5f \\u6500\\u679d\\u82b1 \\u9042\\u5b81 \\u96c5\\u5b89 \\u5b9c\\u5bbe \\u8d44\\u9633 \\u81ea\\u8d21".split(" ")},T:{"\\u53f0\\u6e7e":"\\u53f0\\u5317 \\u9ad8\\u96c4 \\u53f0\\u4e2d \\u53f0\\u5357 \\u65b0\\u5317 \\u57fa\\u9686 \\u65b0\\u7af9 \\u5609\\u4e49".split(" ")}, X:{"\\u897f\\u85cf":"\\u62c9\\u8428 \\u963f\\u91cc\\u5730\\u533a \\u660c\\u90fd\\u5730\\u533a \\u6797\\u829d\\u5730\\u533a \\u90a3\\u66f2\\u5730\\u533a \\u65e5\\u5580\\u5219\\u5730\\u533a \\u5c71\\u5357\\u5730\\u533a".split(" "),"\\u65b0\\u7586":"\\u4e4c\\u9c81\\u6728\\u9f50 \\u963f\\u62c9\\u5c14 \\u963f\\u514b\\u82cf\\u5730\\u533a \\u963f\\u52d2\\u6cf0\\u5730\\u533a \\u5df4\\u97f3\\u90ed\\u695e\\u8499\\u53e4\\u81ea\\u6cbb\\u5dde \\u535a\\u5c14\\u5854\\u62c9\\u5dde \\u660c\\u5409\\u5dde \\u54c8\\u5bc6\\u5730\\u533a \\u548c\\u7530\\u5730\\u533a \\u5580\\u4ec0\\u5730\\u533a \\u514b\\u62c9\\u739b\\u4f9d \\u514b\\u5b5c\\u52d2\\u82cf\\u5dde \\u77f3\\u6cb3\\u5b50 \\u5854\\u57ce\\u5730\\u533a \\u56fe\\u6728\\u8212\\u514b \\u5410\\u9c81\\u756a\\u5730\\u533a \\u4e94\\u5bb6\\u6e20 \\u4f0a\\u7281\\u5dde".split(" ")}, Y:{"\\u4e91\\u5357":"\\u6606\\u660e \\u4fdd\\u5c71 \\u695a\\u96c4\\u5dde \\u5927\\u7406\\u5dde \\u5fb7\\u5b8f\\u5dde \\u8fea\\u5e86\\u5dde \\u7ea2\\u6cb3\\u5dde \\u4e3d\\u6c5f \\u4e34\\u6ca7 \\u6012\\u6c5f\\u5dde \\u666e\\u6d31 \\u66f2\\u9756 \\u662d\\u901a \\u6587\\u5c71 \\u897f\\u53cc\\u7248\\u7eb3\\u50a3\\u65cf\\u81ea\\u6cbb\\u5dde \\u7389\\u6eaa".split(" ")},Z:{"\\u6d59\\u6c5f":"\\u676d\\u5dde \\u6e56\\u5dde \\u5609\\u5174 \\u91d1\\u534e \\u4e3d\\u6c34 \\u5b81\\u6ce2 \\u8862\\u5dde \\u7ecd\\u5174 \\u53f0\\u5dde \\u6e29\\u5dde \\u821f\\u5c71".split(" ")},"\\u5176\\u4ed6":["\\u9999\\u6e2f", "\\u6fb3\\u95e8"]},b=\'<table id="city_detail_table" style="border-collapse:collapse;border-spacing:0" cellpadding="0" cellspacing="0">\',c;for(c in a){var d=q;if("\\u5176\\u4ed6"==c){b+=\'<tr><td class="sel_city_letter"><div></div></td>\';b+=\'<td class="sel_city_other sel_city_sf"><a href="javascript:void(0)" class="sel_city_name">\'+c+"</a></td>";b+=\'<td><div class="bmap-clearfix city_names_wrap">\';for(d=0;d<a[c].length;d++)b+=\'<a class="sel_city_name" href="javascript:void(0)" filter="cityName" name="\'+ a[c][d]+\'">\'+a[c][d]+"</a>";b+="</div></td></tr>"}else for(var e in a[c]){d?b+=\'<tr><td class="sel_city_letter"><div></div></td>\':(b+=\'<tr id="ctr_tr_\'+c+\'"><td class="sel_city_letter"><div>\'+c+"</div></td>",d=o);for(var b=b+(\'<td class="sel_city_sf"><a href="javascript:void(0)" filter="cityName" name="\'+e+\'">\'+e+":</a></td>"),b=b+\'<td><div class="bmap-clearfix city_names_wrap">\',f=a[c][e],g=0;g<f.length;g++)b+=\'<a class="sel_city_name" href="javascript:void(0)" filter="cityName" name="\'+a[c][e][g]+ \'">\'+a[c][e][g]+"</a>";b+="</div></td></tr>"}}return b+"</table>"},Pp:function(a){this.Kj&&(a?this.Kj.style.display="block":this.Kj.style.display="none",a?this.B.style.width="400px":(this.B.style.width="auto",this.B.style.height="auto"));this.Dq&&(a?x.D.Ta(this.Dq,"ui_city_change_click"):x.D.Rb(this.Dq,"ui_city_change_click"))},cC:function(a,b){var c=this;if(c.B&&c.Dq){var d=x.$("cur_city_name"),e=x.$("cur_city_spn");$c.ab(function(a){var g=c.onChangeAfter||[],i=c.onChangeSuccess||[];setTimeout(function(){for(var a= 0;a<g.length;a++)g[a]&&g[a]()},300);if(a&&a.result&&2==a.result.type)if(a.content.hasOwnProperty("error")||0<a.err_msg.length)b&&(x.$("selCityTip").style.display="block");else{var k=a.content;if(k){var l={title:k.cname||"",uid:k.uid||"",point:P.tb(k.geo,o).point||"",city:k.cname||"",code:k.code||"",level:k.level||c.C.fa()},k=l.point,m=P.bx(l.level,c.C);isNaN(m)&&(m=c.C.fa());1==a.content.code&&(m=5);b&&setTimeout(function(){c.Pp(q)},200);c.C.Cd(k,m);d.innerHTML=l.city;e.innerHTML=l.city;for(a=0;a< i.length;a++)i[a]&&i[a](l)}}},{qt:"cur",wd:a,dtype:1})}},zU:function(){this.Kj&&this.Pp("none"==this.Kj.style.display)},o2:function(){return"\\u5168\\u56fd \\u5317\\u4eac \\u4e0a\\u6d77 \\u5e7f\\u5dde \\u6df1\\u5733 \\u6210\\u90fd \\u5929\\u6d25 \\u5357\\u4eac \\u6b66\\u6c49 \\u676d\\u5dde \\u91cd\\u5e86".split(" ")},d2:function(){return{A:{"\\u5b89\\u5fbd":"\\u5408\\u80a5 \\u5b89\\u5e86 \\u868c\\u57e0 \\u4eb3\\u5dde \\u5de2\\u6e56 \\u6c60\\u5dde \\u6ec1\\u5dde \\u961c\\u9633 \\u6dee\\u5317 \\u9ec4\\u5c71 \\u516d\\u5b89 \\u9a6c\\u978d\\u5c71 \\u5bbf\\u5dde \\u94dc\\u9675 \\u829c\\u6e56 \\u5ba3\\u57ce".split(" ")}, F:{"\\u798f\\u5efa":"\\u798f\\u5dde \\u9f99\\u5ca9 \\u5357\\u5e73 \\u5b81\\u5fb7 \\u8386\\u7530 \\u6cc9\\u5dde \\u4e09\\u660e \\u53a6\\u95e8 \\u6f33\\u5dde".split(" ")},G:{"\\u5e7f\\u4e1c":"\\u5e7f\\u5dde \\u6f6e\\u5dde \\u4e1c\\u839e \\u4f5b\\u5c71 \\u6cb3\\u6e90 \\u60e0\\u5dde \\u6c5f\\u95e8 \\u63ed\\u9633 \\u8302\\u540d \\u6885\\u5dde \\u6e05\\u8fdc \\u6c55\\u5934 \\u6c55\\u5c3e \\u97f6\\u5173 \\u6df1\\u5733 \\u9633\\u6c5f \\u4e91\\u6d6e \\u6e5b\\u6c5f \\u8087\\u5e86 \\u4e2d\\u5c71 \\u73e0\\u6d77".split(" "),"\\u5e7f\\u897f":"\\u5357\\u5b81 \\u767e\\u8272 \\u5317\\u6d77 \\u5d07\\u5de6 \\u9632\\u57ce\\u6e2f \\u6842\\u6797 \\u8d35\\u6e2f \\u6cb3\\u6c60 \\u8d3a\\u5dde \\u6765\\u5bbe \\u67f3\\u5dde \\u94a6\\u5dde \\u68a7\\u5dde \\u7389\\u6797".split(" "), "\\u8d35\\u5dde":"\\u8d35\\u9633 \\u5b89\\u987a \\u6bd5\\u8282\\u5730\\u533a \\u516d\\u76d8\\u6c34 \\u94dc\\u4ec1\\u5730\\u533a \\u9075\\u4e49 \\u9ed4\\u897f\\u5357\\u5dde \\u9ed4\\u4e1c\\u5357\\u5dde \\u9ed4\\u5357\\u5dde".split(" "),"\\u7518\\u8083":"\\u5170\\u5dde \\u767d\\u94f6 \\u5b9a\\u897f \\u7518\\u5357\\u5dde \\u5609\\u5cea\\u5173 \\u91d1\\u660c \\u9152\\u6cc9 \\u4e34\\u590f\\u5dde \\u9647\\u5357 \\u5e73\\u51c9 \\u5e86\\u9633 \\u5929\\u6c34 \\u6b66\\u5a01 \\u5f20\\u6396".split(" ")},H:{"\\u6d77\\u5357":"\\u6d77\\u53e3 \\u767d\\u6c99\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4fdd\\u4ead\\u9ece\\u65cf\\u82d7\\u65cf\\u81ea\\u6cbb\\u53bf \\u660c\\u6c5f\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u510b\\u5dde \\u6f84\\u8fc8 \\u4e1c\\u65b9 \\u5b9a\\u5b89 \\u743c\\u6d77 \\u743c\\u4e2d\\u9ece\\u65cf\\u82d7\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e50\\u4e1c\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e34\\u9ad8 \\u9675\\u6c34\\u9ece\\u65cf\\u81ea\\u6cbb\\u53bf \\u4e09\\u4e9a \\u5c6f\\u660c \\u4e07\\u5b81 \\u6587\\u660c \\u4e94\\u6307\\u5c71".split(" "), "\\u6cb3\\u5357":"\\u90d1\\u5dde \\u5b89\\u9633 \\u9e64\\u58c1 \\u7126\\u4f5c \\u5f00\\u5c01 \\u6d1b\\u9633 \\u6f2f\\u6cb3 \\u5357\\u9633 \\u5e73\\u9876\\u5c71 \\u6fee\\u9633 \\u4e09\\u95e8\\u5ce1 \\u5546\\u4e18 \\u65b0\\u4e61 \\u4fe1\\u9633 \\u8bb8\\u660c \\u5468\\u53e3 \\u9a7b\\u9a6c\\u5e97".split(" "),"\\u9ed1\\u9f99\\u6c5f":"\\u54c8\\u5c14\\u6ee8 \\u5927\\u5e86 \\u5927\\u5174\\u5b89\\u5cad\\u5730\\u533a \\u9e64\\u5c97 \\u9ed1\\u6cb3 \\u9e21\\u897f \\u4f73\\u6728\\u65af \\u7261\\u4e39\\u6c5f \\u4e03\\u53f0\\u6cb3 \\u9f50\\u9f50\\u54c8\\u5c14 \\u53cc\\u9e2d\\u5c71 \\u7ee5\\u5316 \\u4f0a\\u6625".split(" "), "\\u6e56\\u5317":"\\u6b66\\u6c49 \\u9102\\u5dde \\u6069\\u65bd \\u9ec4\\u5188 \\u9ec4\\u77f3 \\u8346\\u95e8 \\u8346\\u5dde \\u6f5c\\u6c5f \\u795e\\u519c\\u67b6\\u5730\\u533a \\u5341\\u5830 \\u968f\\u5dde \\u5929\\u95e8 \\u4ed9\\u6843 \\u54b8\\u5b81 \\u8944\\u9633 \\u5b5d\\u611f \\u5b9c\\u660c".split(" "),"\\u6e56\\u5357":"\\u957f\\u6c99 \\u5e38\\u5fb7 \\u90f4\\u5dde \\u8861\\u9633 \\u6000\\u5316 \\u5a04\\u5e95 \\u90b5\\u9633 \\u6e58\\u6f6d \\u6e58\\u897f\\u5dde \\u76ca\\u9633 \\u6c38\\u5dde \\u5cb3\\u9633 \\u5f20\\u5bb6\\u754c \\u682a\\u6d32".split(" "),"\\u6cb3\\u5317":"\\u77f3\\u5bb6\\u5e84 \\u4fdd\\u5b9a \\u6ca7\\u5dde \\u627f\\u5fb7 \\u90af\\u90f8 \\u8861\\u6c34 \\u5eca\\u574a \\u79e6\\u7687\\u5c9b \\u5510\\u5c71 \\u90a2\\u53f0 \\u5f20\\u5bb6\\u53e3".split(" ")}, J:{"\\u6c5f\\u82cf":"\\u5357\\u4eac \\u5e38\\u5dde \\u6dee\\u5b89 \\u8fde\\u4e91\\u6e2f \\u5357\\u901a \\u82cf\\u5dde \\u5bbf\\u8fc1 \\u79e6\\u5dde \\u65e0\\u9521 \\u5f90\\u5dde \\u76d0\\u57ce \\u626c\\u5dde \\u9547\\u6c5f".split(" "),"\\u6c5f\\u897f":"\\u5357\\u660c \\u629a\\u5dde \\u8d63\\u5dde \\u5409\\u5b89 \\u666f\\u5fb7\\u9547 \\u4e5d\\u6c5f \\u840d\\u4e61 \\u4e0a\\u9976 \\u65b0\\u4f59 \\u5b9c\\u6625 \\u9e70\\u6f6d".split(" "),"\\u5409\\u6797":"\\u957f\\u6625 \\u767d\\u57ce \\u767d\\u5c71 \\u5409\\u6797\\u5e02 \\u8fbd\\u6e90 \\u56db\\u5e73 \\u677e\\u539f \\u901a\\u5316 \\u5ef6\\u8fb9".split(" ")}, L:{"\\u8fbd\\u5b81":"\\u6c88\\u9633 \\u978d\\u5c71 \\u672c\\u6eaa \\u671d\\u9633 \\u5927\\u8fde \\u4e39\\u4e1c \\u629a\\u987a \\u961c\\u65b0 \\u846b\\u82a6\\u5c9b \\u9526\\u5dde \\u8fbd\\u9633 \\u76d8\\u9526 \\u94c1\\u5cad \\u8425\\u53e3".split(" ")},N:{"\\u5b81\\u590f":["\\u94f6\\u5ddd","\\u56fa\\u539f","\\u77f3\\u5634\\u5c71","\\u5434\\u5fe0","\\u4e2d\\u536b"],"\\u5185\\u8499\\u53e4":"\\u547c\\u548c\\u6d69\\u7279 \\u963f\\u62c9\\u5584\\u76df \\u5305\\u5934 \\u5df4\\u5f66\\u6dd6\\u5c14 \\u8d64\\u5cf0 \\u9102\\u5c14\\u591a\\u65af \\u547c\\u4f26\\u8d1d\\u5c14 \\u901a\\u8fbd \\u4e4c\\u6d77 \\u4e4c\\u5170\\u5bdf\\u5e03 \\u9521\\u6797\\u90ed\\u52d2\\u76df \\u5174\\u5b89\\u76df".split(" ")}, Q:{"\\u9752\\u6d77":"\\u897f\\u5b81 \\u679c\\u6d1b\\u5dde \\u6d77\\u4e1c\\u5730\\u533a \\u6d77\\u5317\\u5dde \\u6d77\\u5357\\u5dde \\u6d77\\u897f\\u5dde \\u9ec4\\u5357\\u5dde \\u7389\\u6811\\u5dde".split(" ")},S:{"\\u5c71\\u4e1c":"\\u6d4e\\u5357 \\u6ee8\\u5dde \\u4e1c\\u8425 \\u5fb7\\u5dde \\u83cf\\u6cfd \\u6d4e\\u5b81 \\u83b1\\u829c \\u804a\\u57ce \\u4e34\\u6c82 \\u9752\\u5c9b \\u65e5\\u7167 \\u6cf0\\u5b89 \\u5a01\\u6d77 \\u6f4d\\u574a \\u70df\\u53f0 \\u67a3\\u5e84 \\u6dc4\\u535a".split(" "),"\\u5c71\\u897f":"\\u592a\\u539f \\u957f\\u6cbb \\u5927\\u540c \\u664b\\u57ce \\u664b\\u4e2d \\u4e34\\u6c7e \\u5415\\u6881 \\u6714\\u5dde \\u5ffb\\u5dde \\u9633\\u6cc9 \\u8fd0\\u57ce".split(" "), "\\u9655\\u897f":"\\u897f\\u5b89 \\u5b89\\u5eb7 \\u5b9d\\u9e21 \\u6c49\\u4e2d \\u5546\\u6d1b \\u94dc\\u5ddd \\u6e2d\\u5357 \\u54b8\\u9633 \\u5ef6\\u5b89 \\u6986\\u6797".split(" "),"\\u56db\\u5ddd":"\\u6210\\u90fd \\u963f\\u575d\\u5dde \\u5df4\\u4e2d \\u8fbe\\u5dde \\u5fb7\\u9633 \\u7518\\u5b5c\\u5dde \\u5e7f\\u5b89 \\u5e7f\\u5143 \\u4e50\\u5c71 \\u51c9\\u5c71\\u5dde \\u6cf8\\u5dde \\u5357\\u5145 \\u7709\\u5c71 \\u7ef5\\u9633 \\u5185\\u6c5f \\u6500\\u679d\\u82b1 \\u9042\\u5b81 \\u96c5\\u5b89 \\u5b9c\\u5bbe \\u8d44\\u9633 \\u81ea\\u8d21".split(" ")},T:{"\\u53f0\\u6e7e":"\\u53f0\\u5317 \\u9ad8\\u96c4 \\u53f0\\u4e2d \\u53f0\\u5357 \\u65b0\\u5317 \\u57fa\\u9686 \\u65b0\\u7af9 \\u5609\\u4e49".split(" ")}, X:{"\\u897f\\u85cf":"\\u62c9\\u8428 \\u963f\\u91cc\\u5730\\u533a \\u660c\\u90fd\\u5730\\u533a \\u6797\\u829d\\u5730\\u533a \\u90a3\\u66f2\\u5730\\u533a \\u65e5\\u5580\\u5219\\u5730\\u533a \\u5c71\\u5357\\u5730\\u533a".split(" "),"\\u65b0\\u7586":"\\u4e4c\\u9c81\\u6728\\u9f50 \\u963f\\u62c9\\u5c14 \\u963f\\u514b\\u82cf\\u5730\\u533a \\u963f\\u52d2\\u6cf0\\u5730\\u533a \\u5df4\\u97f3\\u90ed\\u695e\\u8499\\u53e4\\u81ea\\u6cbb\\u5dde \\u535a\\u5c14\\u5854\\u62c9\\u5dde \\u660c\\u5409\\u5dde \\u54c8\\u5bc6\\u5730\\u533a \\u548c\\u7530\\u5730\\u533a \\u5580\\u4ec0\\u5730\\u533a \\u514b\\u62c9\\u739b\\u4f9d \\u514b\\u5b5c\\u52d2\\u82cf\\u5dde \\u77f3\\u6cb3\\u5b50 \\u5854\\u57ce\\u5730\\u533a \\u56fe\\u6728\\u8212\\u514b \\u5410\\u9c81\\u756a\\u5730\\u533a \\u4e94\\u5bb6\\u6e20 \\u4f0a\\u7281\\u5dde".split(" ")}, Y:{"\\u4e91\\u5357":"\\u6606\\u660e \\u4fdd\\u5c71 \\u695a\\u96c4\\u5dde \\u5927\\u7406\\u5dde \\u5fb7\\u5b8f\\u5dde \\u8fea\\u5e86\\u5dde \\u7ea2\\u6cb3\\u5dde \\u4e3d\\u6c5f \\u4e34\\u6ca7 \\u6012\\u6c5f\\u5dde \\u666e\\u6d31 \\u66f2\\u9756 \\u662d\\u901a \\u6587\\u5c71 \\u897f\\u53cc\\u7248\\u7eb3\\u50a3\\u65cf\\u81ea\\u6cbb\\u5dde \\u7389\\u6eaa".split(" ")},Z:{"\\u6d59\\u6c5f":"\\u676d\\u5dde \\u6e56\\u5dde \\u5609\\u5174 \\u91d1\\u534e \\u4e3d\\u6c34 \\u5b81\\u6ce2 \\u8862\\u5dde \\u7ecd\\u5174 \\u53f0\\u5dde \\u6e29\\u5dde \\u821f\\u5c71".split(" ")},"\\u5176\\u4ed6":["\\u9999\\u6e2f", "\\u6fb3\\u95e8"]}},sL:function(a){var b=this.C,c=b.Gd(),d=b.fa(),e=R.xb(c.re()),c=R.xb(c.kf());$c.ab(function(c){if(c&&c.current_city&&c.current_city.name){var d=c.current_city.code;this.gj=b.$g=c.current_city.name;b.Zr=d;a&&a.call(this)}},{qt:"cen",b:e.lng+","+e.lat+";"+c.lng+","+c.lat,l:d},"","",o)}}); ');