getscript.min.js 117 KB

1234
  1. window.BMAP_AUTHENTIC_KEY="fpzGqedB7e8CA8WB8jUgxlOx";(function(){function aa(t){throw t}var j=void 0,o=!0,p=null,q=!1;function s(){return function(){}}function ba(t){return function(i){this[t]=i}}function u(t){return function(){return this[t]}}function da(t){return function(){return t}}var ea,fa=[];function ha(t){return function(){return fa[t].apply(this,arguments)}}function ia(t,i){return fa[t]=i}var ja,v=ja=v||{version:"1.3.4"};v.Q="$BAIDU$";window[v.Q]=window[v.Q]||{};v.object=v.object||{};v.extend=v.object.extend=function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t[e]=i[e]);return t};v.C=v.C||{};v.C.N=function(t){return"string"==typeof t||t instanceof String?document.getElementById(t):t&&t.nodeName&&(1==t.nodeType||9==t.nodeType)?t:p};v.N=v.Xb=v.C.N;v.C.J=function(t){t=v.C.N(t);t.style.display="none";return t};v.J=v.C.J;v.lang=v.lang||{};v.lang.qf=function(t){return"[object String]"==Object.prototype.toString.call(t)};v.qf=v.lang.qf;v.C.Bi=function(t){return v.lang.qf(t)?document.getElementById(t):t};v.Bi=v.C.Bi;v.C.contains=function(t,i){var e=v.C.Bi,t=e(t),i=e(i);return t.contains?t!=i&&t.contains(i):!!(t.compareDocumentPosition(i)&16)};v.R=v.R||{};/msie (\d+\.\d)/i.test(navigator.userAgent)&&(v.R.aa=v.aa=document.documentMode||+RegExp.$1);var ka={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",usemap:"useMap",frameborder:"frameBorder"};8>v.R.aa?(ka["for"]="htmlFor",ka["class"]="className"):(ka.htmlFor="for",ka.className="class");v.C.VB=ka;v.C.JA=function(t,i,e){t=v.C.N(t);if("style"==i)t.style.cssText=e;else{i=v.C.VB[i]||i;t.setAttribute(i,e)}return t};v.JA=v.C.JA;v.C.KA=function(t,i){var t=v.C.N(t),e;for(e in i)v.C.JA(t,e,i[e]);return t};v.KA=v.C.KA;v.zj=v.zj||{};(function(){var t=RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");v.zj.trim=function(i){return(""+i).replace(t,"")}})();v.trim=v.zj.trim;v.zj.Nk=function(t,i){var t=""+t,e=Array.prototype.slice.call(arguments,1),n=Object.prototype.toString;if(e.length){e=e.length==1?i!==p&&/\[object Array\]|\[object Object\]/.test(n.call(i))?i:e:e;return t.replace(/#\{(.+?)\}/g,function(t,i){var o=e[i];"[object Function]"==n.call(o)&&(o=o(i));return"undefined"==typeof o?"":o})}return t};v.Nk=v.zj.Nk;v.C.Rb=function(t,i){for(var t=v.C.N(t),e=t.className.split(/\s+/),n=i.split(/\s+/),o,a=n.length,s,h=0;h<a;++h){s=0;for(o=e.length;s<o;++s)if(e[s]==n[h]){e.splice(s,1);break}}t.className=e.join(" ");return t};v.Rb=v.C.Rb;v.C.bu=function(t,i,e){var t=v.C.N(t),n;if(t.insertAdjacentHTML)t.insertAdjacentHTML(i,e);else{n=t.ownerDocument.createRange();i=i.toUpperCase();if(i=="AFTERBEGIN"||i=="BEFOREEND"){n.selectNodeContents(t);n.collapse(i=="AFTERBEGIN")}else{i=i=="BEFOREBEGIN";n[i?"setStartBefore":"setEndAfter"](t);n.collapse(i)}n.insertNode(n.createContextualFragment(e))}return t};v.bu=v.C.bu;v.C.show=function(t){t=v.C.N(t);t.style.display="";return t};v.show=v.C.show;v.C.nz=function(t){t=v.C.N(t);return t.nodeType==9?t:t.ownerDocument||t.document};v.C.cb=function(t,i){for(var t=v.C.N(t),e=i.split(/\s+/),n=t.className,o=" "+n+" ",a=0,s=e.length;a<s;a++)o.indexOf(" "+e[a]+" ")<0&&(n=n+(" "+e[a]));t.className=n;return t};v.cb=v.C.cb;v.C.vx=v.C.vx||{};v.C.mk=v.C.mk||[];v.C.mk.filter=function(t,i,e){for(var n=0,o=v.C.mk,a;a=o[n];n++)if(a=a[e])i=a(t,i);return i};v.zj.zI=function(t){return t.indexOf("-")<0&&t.indexOf("_")<0?t:t.replace(/[-_][^-_]/g,function(t){return t.charAt(1).toUpperCase()})};v.C.rX=function(t,i){v.C.fq(t,i)?v.C.Rb(t,i):v.C.cb(t,i)};v.C.fq=function(t){if(arguments.length<=0||typeof t==="function")return this;if(this.size()<=0)return q;var t=t.replace(/^\s+/g,"").replace(/\s+$/g,"").replace(/\s+/g," "),i=t.split(" "),e;v.forEach(this,function(t){for(var t=t.className,n=0;n<i.length;n++)if(!~(" "+t+" ").indexOf(" "+i[n]+" ")){e=q;return}e!==q&&(e=o)});return e};v.C.fi=function(t,i){var e=v.C,t=e.N(t),i=v.zj.zI(i),n=t.style[i];if(!n)var o=e.vx[i],n=t.currentStyle||(v.R.aa?t.style:getComputedStyle(t,p)),n=o&&o.get?o.get(t,n):n[o||i];if(o=e.mk)n=o.filter(i,n,"get");return n};v.fi=v.C.fi;/opera\/(\d+\.\d)/i.test(navigator.userAgent)&&(v.R.opera=+RegExp.$1);v.R.NG=/webkit/i.test(navigator.userAgent);v.R.qR=/gecko/i.test(navigator.userAgent)&&!/like gecko/i.test(navigator.userAgent);v.R.Yz="CSS1Compat"==document.compatMode;v.C.T=function(t){var t=v.C.N(t),i=v.C.nz(t),e=v.R,n=v.C.fi;e.qR>0&&i.getBoxObjectFor&&n(t,"position");var o={left:0,top:0},a;if(t==(e.aa&&!e.Yz?i.body:i.documentElement))return o;if(t.getBoundingClientRect){t=t.getBoundingClientRect();o.left=Math.floor(t.left)+Math.max(i.documentElement.scrollLeft,i.body.scrollLeft);o.top=Math.floor(t.top)+Math.max(i.documentElement.scrollTop,i.body.scrollTop);o.left=o.left-i.documentElement.clientLeft;o.top=o.top-i.documentElement.clientTop;t=i.body;i=parseInt(n(t,"borderLeftWidth"));n=parseInt(n(t,"borderTopWidth"));if(e.aa&&!e.Yz){o.left=o.left-(isNaN(i)?2:i);o.top=o.top-(isNaN(n)?2:n)}}else{a=t;do{o.left=o.left+a.offsetLeft;o.top=o.top+a.offsetTop;if(e.NG>0&&n(a,"position")=="fixed"){o.left=o.left+i.body.scrollLeft;o.top=o.top+i.body.scrollTop;break}a=a.offsetParent}while(a&&a!=t);if(e.opera>0||e.NG>0&&n(t,"position")=="absolute")o.top=o.top-i.body.offsetTop;for(a=t.offsetParent;a&&a!=i.body;){o.left=o.left-a.scrollLeft;if(!e.opera||a.tagName!="TR")o.top=o.top-a.scrollTop;a=a.offsetParent}}return o};/firefox\/(\d+\.\d)/i.test(navigator.userAgent)&&(v.R.Tf=+RegExp.$1);/BIDUBrowser/i.test(navigator.userAgent)&&(v.R.lV=o);var la=navigator.userAgent;/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(la)&&!/chrome/i.test(la)&&(v.R.bI=+(RegExp.$1||RegExp.$2));/chrome\/(\d+\.\d)/i.test(navigator.userAgent)&&(v.R.RE=+RegExp.$1);v.Ob=v.Ob||{};v.Ob.vb=function(t,i){var e,n,o=t.length;if("function"==typeof i)for(n=0;n<o;n++){e=t[n];e=i.call(t,e,n);if(e===q)break}return t};v.vb=v.Ob.vb;v.lang.Q=function(){return"TANGRAM__"+(window[v.Q]._counter++).toString(36)};window[v.Q]._counter=window[v.Q]._counter||1;window[v.Q]._instances=window[v.Q]._instances||{};v.lang.kq=function(t){return"[object Function]"==Object.prototype.toString.call(t)};v.lang.oa=function(t){this.Q=t||v.lang.Q();window[v.Q]._instances[this.Q]=this};window[v.Q]._instances=window[v.Q]._instances||{};v.lang.oa.prototype.Vg=ha(1);v.lang.oa.prototype.toString=function(){return"[object "+(this.uK||"Object")+"]"};v.lang.lv=function(t,i){this.type=t;this.returnValue=o;this.target=i||p;this.currentTarget=p};v.lang.oa.prototype.addEventListener=function(t,i,e){if(v.lang.kq(i)){!this.vh&&(this.vh={});var n=this.vh,o;if(typeof e=="string"&&e){/[^\w\-]/.test(e)&&aa("nonstandard key:"+e);o=i.oG=e}t.indexOf("on")!=0&&(t="on"+t);typeof n[t]!="object"&&(n[t]={});o=o||v.lang.Q();i.oG=o;n[t][o]=i}};v.lang.oa.prototype.removeEventListener=function(t,i){if(v.lang.kq(i))i=i.oG;else if(!v.lang.qf(i))return;!this.vh&&(this.vh={});t.indexOf("on")!=0&&(t="on"+t);var e=this.vh;e[t]&&e[t][i]&&delete e[t][i]};v.lang.oa.prototype.dispatchEvent=function(t,i){v.lang.qf(t)&&(t=new v.lang.lv(t));!this.vh&&(this.vh={});var i=i||{},e;for(e in i)t[e]=i[e];var n=this.vh,o=t.type;t.target=t.target||this;t.currentTarget=this;o.indexOf("on")!=0&&(o="on"+o);v.lang.kq(this[o])&&this[o].apply(this,arguments);if(typeof n[o]=="object")for(e in n[o])n[o][e].apply(this,arguments);return t.returnValue};v.lang.ga=function(t,i,e){var n,o,a=t.prototype;o=new Function;o.prototype=i.prototype;o=t.prototype=new o;for(n in a)o[n]=a[n];t.prototype.constructor=t;t.zT=i.prototype;if("string"==typeof e)o.uK=e};v.ga=v.lang.ga;v.lang.gd=function(t){return window[v.Q]._instances[t]||p};v.platform=v.platform||{};v.platform.vR=/macintosh/i.test(navigator.userAgent);v.platform.xW=/MicroMessenger/i.test(navigator.userAgent);v.platform.OG=/windows/i.test(navigator.userAgent);v.platform.AR=/x11/i.test(navigator.userAgent);v.platform.Xm=/android/i.test(navigator.userAgent);/android (\d+\.\d)/i.test(navigator.userAgent)&&(v.platform.AE=v.AE=RegExp.$1);v.platform.tR=/ipad/i.test(navigator.userAgent);v.platform.uR=/iphone/i.test(navigator.userAgent);function z(t,i){t.domEvent=i=window.event||i;t.clientX=i.clientX||i.pageX;t.clientY=i.clientY||i.pageY;t.offsetX=i.offsetX||i.layerX;t.offsetY=i.offsetY||i.layerY;t.screenX=i.screenX;t.screenY=i.screenY;t.ctrlKey=i.ctrlKey||i.metaKey;t.shiftKey=i.shiftKey;t.altKey=i.altKey;if(i.touches){t.touches=[];for(var e=0;e<i.touches.length;e++)t.touches.push({clientX:i.touches[e].clientX,clientY:i.touches[e].clientY,screenX:i.touches[e].screenX,screenY:i.touches[e].screenY,pageX:i.touches[e].pageX,pageY:i.touches[e].pageY,target:i.touches[e].target,identifier:i.touches[e].identifier})}if(i.changedTouches){t.changedTouches=[];for(e=0;e<i.changedTouches.length;e++)t.changedTouches.push({clientX:i.changedTouches[e].clientX,clientY:i.changedTouches[e].clientY,screenX:i.changedTouches[e].screenX,screenY:i.changedTouches[e].screenY,pageX:i.changedTouches[e].pageX,pageY:i.changedTouches[e].pageY,target:i.changedTouches[e].target,identifier:i.changedTouches[e].identifier})}if(i.targetTouches){t.targetTouches=[];for(e=0;e<i.targetTouches.length;e++)t.targetTouches.push({clientX:i.targetTouches[e].clientX,clientY:i.targetTouches[e].clientY,screenX:i.targetTouches[e].screenX,screenY:i.targetTouches[e].screenY,pageX:i.targetTouches[e].pageX,pageY:i.targetTouches[e].pageY,target:i.targetTouches[e].target,identifier:i.targetTouches[e].identifier})}t.rotation=i.rotation;t.scale=i.scale;return t}v.lang.ot=function(t){var i=window[v.Q];i.lM&&delete i.lM[t]};v.event={};v.D=v.event.D=function(t,i,e){if(!(t=v.N(t)))return t;i=i.replace(/^on/,"");t.addEventListener?t.addEventListener(i,e,q):t.attachEvent&&t.attachEvent("on"+i,e);return t};v.Ld=v.event.Ld=function(t,i,e){if(!(t=v.N(t)))return t;i=i.replace(/^on/,"");t.removeEventListener?t.removeEventListener(i,e,q):t.detachEvent&&t.detachEvent("on"+i,e);return t};v.C.fq=function(t,i){if(!t||!t.className||typeof t.className!="string")return q;var e=-1;try{e=t.className==i||t.className.search(RegExp("(\\s|^)"+i+"(\\s|$)"))}catch(t){return q}return e>-1};v.xF=function(){function t(t){document.addEventListener&&(this.element=t,this.AF=this.Zk?"touchstart":"mousedown",this.Vy=this.Zk?"touchmove":"mousemove",this.Uy=this.Zk?"touchend":"mouseup",this.hg=q,this.Wq=this.Vq=0,this.element.addEventListener(this.AF,this,q),ja.D(this.element,"mousedown",s()),this.handleEvent(p))}t.prototype={Zk:"ontouchstart"in window||"createTouch"in document,start:function(t){ma(t);this.hg=q;this.Vq=this.Zk?t.touches[0].clientX:t.clientX;this.Wq=this.Zk?t.touches[0].clientY:t.clientY;this.element.addEventListener(this.Vy,this,q);this.element.addEventListener(this.Uy,this,q)},move:function(t){na(t);var i=this.Zk?t.touches[0].clientY:t.clientY;if(10<Math.abs((this.Zk?t.touches[0].clientX:t.clientX)-this.Vq)||10<Math.abs(i-this.Wq))this.hg=o},end:function(t){na(t);this.hg||(t=document.createEvent("Event"),t.initEvent("tap",q,o),this.element.dispatchEvent(t));this.element.removeEventListener(this.Vy,this,q);this.element.removeEventListener(this.Uy,this,q)},handleEvent:function(t){if(t)switch(t.type){case this.AF:this.start(t);break;case this.Vy:this.move(t);break;case this.Uy:this.end(t)}}};return function(i){return new t(i)}}();var C=window.BMap||{};C.version="2.0";0<=C.version.indexOf("#")&&(C.version="2.0");C.Zo=[];C.ae=function(t){this.Zo.push(t)};C.Qo=[];C.ll=function(t){this.Qo.push(t)};C.eO=C.apiLoad||s();var oa=window.BMAP_AUTHENTIC_KEY;window.BMAP_AUTHENTIC_KEY=p;var pa=window.BMap_loadScriptTime,qa=(new Date).getTime(),sa=p,ta=o,ua=p,va=5042,xa=5002,ya=5003,za="load_mapclick",Aa=5038,Ba=5041,Ca=5047,Da=5036,Ea=5039,Fa=5037,Ha=5040,Ia=5011,Ja=7e3;function Ka(t,i){if(t=v.N(t)){var e=this;v.lang.oa.call(e);i=i||{};e.F={Xx:200,$b:o,At:q,My:o,Op:o,Qp:q,Py:o,Pp:o,yt:o,Bm:i.enable3DBuilding||q,Sc:25,rU:240,TN:450,Gb:D.Gb,Rc:D.Rc,du:!!i.du,Vc:i.minZoom||1,Fd:i.maxZoom||18,rb:i.mapType||La,dX:q,zt:o,Ey:500,JP:i.enableHighResolution!==q,Cm:i.enableMapClick!==q,devicePixelRatio:i.devicePixelRatio||window.devicePixelRatio||1,lB:i.vectorMapLevel||(F()?3:99),Dd:i.mapStyle||p,JR:i.logoControl===q?q:o,mO:["chrome"],GE:i.beforeClickIcon||p};e.F.Dd&&(this.zG(e.F.Dd.controls),this.AG(e.F.Dd.geotableId));e.F.Dd&&e.F.Dd.styleId&&e.fG(e.F.Dd.styleId);e.F.xp={dark:{backColor:"#2D2D2D",textColor:"#bfbfbf",iconUrl:"dicons"},normal:{backColor:"#F3F1EC",textColor:"#c61b1b",iconUrl:"icons"},light:{backColor:"#EBF8FC",textColor:"#017fb4",iconUrl:"licons"}};i.enableAutoResize&&(e.F.yt=i.enableAutoResize);v.platform.Xm&&1.5<window.devicePixelRatio&&(e.F.devicePixelRatio=1.5);var n=e.F.mO;if(F())for(var a=0,s=n.length;a<s;a++)if(v.R[n[a]]){e.F.devicePixelRatio=1;break}n=-1<navigator.userAgent.toLowerCase().indexOf("android");a=-1<navigator.userAgent.toLowerCase().indexOf("mqqbrowser");n&&a&&(e.F.lB=99,e.F.JP=q,e.F.devicePixelRatio=1);e.Ga=t;e.ox(t);t.unselectable="on";t.innerHTML="";t.appendChild(e.qa());i.size&&this.Zc(i.size);n=e.yb();e.width=n.width;e.height=n.height;e.offsetX=0;e.offsetY=0;e.platform=t.firstChild;e.Ed=e.platform.firstChild;e.Ed.style.width=e.width+"px";e.Ed.style.height=e.height+"px";e.xd={};e.Of=new I(0,0);e.gc=new I(0,0);e.za=3;e.wc=0;e.ny=p;e.my=p;e.Cb="";e.$s="";e.Eg={};e.Eg.custom={};e.Ha=0;e.H=new Ma(t,{Ne:"api"});e.H.J();e.H.NA(e);i=i||{};n=e.rb=e.F.rb;e.Hd=n.Nm();n===Na&&Oa(xa);n===Pa&&Oa(ya);n=e.F;n.RI=i.minZoom;n.QI=i.maxZoom;e.Ov();e.G={bc:q,Fb:0,pq:0,TG:0,BW:0,Qx:q,xA:-1,ke:[]};e.platform.style.cursor=e.F.Gb;for(a=0;a<C.Zo.length;a++)C.Zo[a](e);e.G.xA=a;e.P();K.load("map",function(){e.ob()});e.F.Cm&&(setTimeout(function(){Oa(za)},1e3),K.load("mapclick",function(){window.MPC_Mgr=new Qa(e)},o));Ra()&&K.load("oppc",function(){e.Cv()});F()&&K.load("opmb",function(){e.Cv()});t=p;e.Ax=[]}}v.lang.ga(Ka,v.lang.oa,"Map");v.extend(Ka.prototype,{qa:function(){var t=L("div"),i=t.style;i.overflow="visible";i.position="absolute";i.zIndex="0";i.top=i.left="0px";var i=L("div",{class:"BMap_mask"}),e=i.style;e.position="absolute";e.top=e.left="0px";e.zIndex="9";e.overflow="hidden";e.WebkitUserSelect="none";t.appendChild(i);return t},ox:function(t){var i=t.style;i.overflow="hidden";"absolute"!=Sa(t).position&&(i.position="relative",i.zIndex=0);i.backgroundColor="#F3F1EC";i.color="#000";i.textAlign="left"},P:function(){var t=this;t.mp=function(){var i=t.yb();if(t.width!=i.width||t.height!=i.height){var e=new M(t.width,t.height),n=new N("onbeforeresize");n.size=e;t.dispatchEvent(n);t.Ni((i.width-t.width)/2,(i.height-t.height)/2);t.Ed.style.width=(t.width=i.width)+"px";t.Ed.style.height=(t.height=i.height)+"px";e=new N("onresize");e.size=i;t.dispatchEvent(e)}};t.F.yt&&(t.G.qp=setInterval(t.mp,80))},Ni:function(t,i,e,n){var a=this.ma().ac(this.$()),s=this.Hd,h=o;e&&I.EG(e)&&(this.Of=new I(e.lng,e.lat),h=q);if(e=e&&n?s.el(e,this.Cb):this.gc)if(this.gc=new I(e.lng+t*a,e.lat-i*a),(t=s.jj(this.gc,this.Cb))&&h)this.Of=t},Bf:function(t,i){if(Ta(t)&&(t=this.Rl(t).zoom,t!=this.za)){this.wc=this.za;this.za=t;var e;i?e=i:this.Yf()&&(e=this.Yf().T());e&&(e=this.Db(e,this.wc),this.Ni(this.width/2-e.x,this.height/2-e.y,this.ib(e,this.wc),o));this.dispatchEvent(new N("onzoomstart"));this.dispatchEvent(new N("onzoomstartcode"))}},od:function(t){this.Bf(t)},oB:function(t){this.Bf(this.za+1,t)},pB:function(t){this.Bf(this.za-1,t)},hh:function(t){t instanceof I&&(this.gc=this.Hd.el(t,this.Cb),this.Of=I.EG(t)?new I(t.lng,t.lat):this.Hd.jj(this.gc,this.Cb))},wf:function(t,i){t=Math.round(t)||0;i=Math.round(i)||0;this.Ni(-t,-i)},Ms:function(t){t&&Ua(t.ce)&&(t.ce(this),this.dispatchEvent(new N("onaddcontrol",t)))},WH:function(t){t&&Ua(t.remove)&&(t.remove(),this.dispatchEvent(new N("onremovecontrol",t)))},mm:function(t){t&&Ua(t.ea)&&(t.ea(this),this.dispatchEvent(new N("onaddcontextmenu",t)))},kn:function(t){t&&Ua(t.remove)&&(this.dispatchEvent(new N("onremovecontextmenu",t)),t.remove())},wa:function(t){t&&Ua(t.ce)&&(t.ce(this),this.dispatchEvent(new N("onaddoverlay",t)))},sb:function(t){t&&Ua(t.remove)&&(t.remove(),this.dispatchEvent(new N("onremoveoverlay",t)))},TE:function(){this.dispatchEvent(new N("onclearoverlays"))},Mf:function(t){t&&this.dispatchEvent(new N("onaddtilelayer",t))},mg:function(t){t&&this.dispatchEvent(new N("onremovetilelayer",t))},xf:function(t){if(this.rb!==t){var i=new N("onsetmaptype");i.XW=this.rb;this.rb=this.F.rb=t;this.Hd=this.rb.Nm();this.Ni(0,0,this.Fa(),o);this.Ov();var e=this.Rl(this.$()).zoom;this.Bf(e);this.dispatchEvent(i);i=new N("onmaptypechange");i.za=e;i.rb=t;this.dispatchEvent(i);(t===Va||t===Pa)&&Oa(ya)}},Ue:function(t){var i=this;if(t instanceof I)i.hh(t,{noAnimation:o});else if(Wa(t))if(i.rb==Na){var e=D.Tx[t];e&&(pt=e.m,i.Ue(pt))}else{var n=this.PC();n.QA(function(e){0==n.Uk()&&2==n.ta.result.type&&(i.Ue(e.cj(0).point),Na.Yi(t)&&i.LA(t))});n.search(t,{log:"center"})}},zd:function(t,i){"[object Undefined]"!==Object.prototype.toString.call(i)&&(i=parseInt(i));ua=F()?Xa.Hl.Ap(101):Xa.Hl.Ap(1);ua.ZA();ua.Fc("script_loaded",qa-pa);ua.Fc("centerAndZoom");var e=this;if(Wa(t))if(e.rb==Na){var n=D.Tx[t];n&&(pt=n.m,e.zd(pt,i))}else{var a=e.PC();a.QA(function(n){if(0==a.Uk()&&2==a.ta.result.type){var n=n.cj(0).point,o=i||O.iz(a.ta.content.level,e);e.zd(n,o);Na.Yi(t)&&e.LA(t)}});a.search(t,{log:"center"})}else if(t instanceof I&&i){i=e.Rl(i).zoom;e.wc=e.za||i;e.za=i;e.Of=new I(t.lng,t.lat);e.gc=e.Hd.el(e.Of,e.Cb);e.ny=e.ny||e.za;e.my=e.my||e.Of;var n=new N("onload"),s=new N("onloadcode");n.point=new I(t.lng,t.lat);n.pixel=e.Db(e.Of,e.za);n.zoom=i;e.loaded||(e.loaded=o,e.dispatchEvent(n),sa||(sa=Ya()));e.dispatchEvent(s);e.dispatchEvent(new N("onmoveend"));e.wc!=e.za&&e.dispatchEvent(new N("onzoomend"));e.F.Bm&&e.Bm()}},PC:function(){this.G.YG||(this.G.YG=new Za(1));return this.G.YG},reset:function(){this.zd(this.my,this.ny,o)},enableDragging:function(){this.F.$b=o},disableDragging:function(){this.F.$b=q},enableInertialDragging:function(){this.F.zt=o},disableInertialDragging:function(){this.F.zt=q},enableScrollWheelZoom:function(){this.F.Qp=o},disableScrollWheelZoom:function(){this.F.Qp=q},enableContinuousZoom:function(){this.F.Op=o},disableContinuousZoom:function(){this.F.Op=q},enableDoubleClickZoom:function(){this.F.My=o},disableDoubleClickZoom:function(){this.F.My=q},enableKeyboard:function(){this.F.At=o},disableKeyboard:function(){this.F.At=q},enablePinchToZoom:function(){this.F.Pp=o},disablePinchToZoom:function(){this.F.Pp=q},enableAutoResize:function(){this.F.yt=o;this.mp();this.G.qp||(this.G.qp=setInterval(this.mp,80))},disableAutoResize:function(){this.F.yt=q;this.G.qp&&(clearInterval(this.G.qp),this.G.qp=p)},Bm:function(){this.F.Bm=o;this.Ml||(this.Ml=new $a({DF:o}),this.Mf(this.Ml))},nP:function(){this.F.Bm=q;this.Ml&&(this.mg(this.Ml),this.Ml=p,delete this.Ml)},yb:function(){return this.Hp&&this.Hp instanceof M?new M(this.Hp.width,this.Hp.height):new M(this.Ga.clientWidth,this.Ga.clientHeight)},Zc:function(t){t&&t instanceof M?(this.Hp=t,this.Ga.style.width=t.width+"px",this.Ga.style.height=t.height+"px"):this.Hp=p},Fa:u("Of"),$:u("za"),EO:function(){this.mp()},Rl:function(t){var i=this.F.Vc,e=this.F.Fd,n=q;t<i&&(n=o,t=i);t>e&&(n=o,t=e);return{zoom:t,Wy:n}},Da:u("Ga"),Db:function(t,i){i=i||this.$();return this.Hd.Db(t,i,this.gc,this.yb(),this.Cb)},ib:function(t,i){i=i||this.$();return this.Hd.ib(t,i,this.gc,this.yb(),this.Cb)},$d:function(t,i){if(t){var e=this.Db(new I(t.lng,t.lat),i);e.x-=this.offsetX;e.y-=this.offsetY;return e}},LH:function(t,i){if(t){var e=new P(t.x,t.y);e.x+=this.offsetX;e.y+=this.offsetY;return this.ib(e,i)}},pointToPixelFor3D:function(t,i){var e=map.Cb;this.rb==Na&&e&&ab.ZE(t,this,i)},SW:function(t,i){var e=map.Cb;this.rb==Na&&e&&ab.YE(t,this,i)},TW:function(t,i){var e=this,n=map.Cb;e.rb==Na&&n&&ab.ZE(t,e,function(t){t.x-=e.offsetX;t.y-=e.offsetY;i&&i(t)})},QW:function(t,i){var e=map.Cb;this.rb==Na&&e&&(t.x+=this.offsetX,t.y+=this.offsetY,ab.YE(t,this,i))},Oe:function(t){if(!this.Uz())return new bb;var i=t||{},t=i.margins||[0,0,0,0],e=i.zoom||p,i=this.ib({x:t[3],y:this.height-t[2]},e),t=this.ib({x:this.width-t[1],y:t[0]},e);return new bb(i,t)},Uz:function(){return!!this.loaded},AL:function(t,i){for(var e=this.ma(),n=i.margins||[10,10,10,10],o=i.zoomFactor||0,a=n[1]+n[3],n=n[0]+n[2],s=e.Im(),h=e=e.Rk();h>=s;h--){var r=this.ma().ac(h);if(t.gB().lng/r<this.width-a&&t.gB().lat/r<this.height-n)break}h+=o;h<s&&(h=s);h>e&&(h=e);return h},dq:function(t,i){var e={center:this.Fa(),zoom:this.$()};if(!t||!t instanceof bb&&0==t.length||t instanceof bb&&t.ji())return e;var n=[];t instanceof bb?(n.push(t.Pe()),n.push(t.Yd())):n=t.slice(0);for(var i=i||{},o=[],a=0,s=n.length;a<s;a++)o.push(this.Hd.el(n[a],this.Cb));n=new bb;for(a=o.length-1;0<=a;a--)n.extend(o[a]);if(n.ji())return e;e=n.Fa();o=this.AL(n,i);i.margins&&(n=i.margins,a=(n[1]-n[3])/2,n=(n[0]-n[2])/2,s=this.ma().ac(o),i.offset&&(a=i.offset.width,n=i.offset.height),e.lng+=s*a,e.lat+=s*n);e=this.Hd.jj(e,this.Cb);return{center:e,zoom:o}},og:function(t,i){var e;e=t&&t.center?t:this.dq(t,i);var i=i||{},n=i.delay||200;if(e.zoom==this.za&&i.enableAnimation!=q){var o=this;setTimeout(function(){o.hh(e.center,{duration:210})},n)}else this.zd(e.center,e.zoom)},Qe:u("xd"),Yf:function(){return this.G.Ua&&this.G.Ua.Ja()?this.G.Ua:p},getDistance:function(t,i){if(t&&i){var e=0,e=Q.Gm(t,i);if(e==p||e==j)e=0;return e}},Az:function(){var t=[],i=this.la,e=this.Nd;if(i)for(var n in i)i[n]instanceof cb&&t.push(i[n]);if(e){n=0;for(i=e.length;n<i;n++)t.push(e[n])}return t},ma:u("rb"),Cv:function(){for(var t=this.G.xA;t<C.Zo.length;t++)C.Zo[t](this);this.G.xA=t},LA:function(t){this.Cb=Na.Yi(t);this.$s=Na.NF(this.Cb);this.rb==Na&&this.Hd instanceof db&&(this.Hd.gy=this.Cb)},setDefaultCursor:function(t){this.F.Gb=t;this.platform&&(this.platform.style.cursor=this.F.Gb)},getDefaultCursor:function(){return this.F.Gb},setDraggingCursor:function(t){this.F.Rc=t},getDraggingCursor:function(){return this.F.Rc},gj:da(q),Os:function(t,i){i?this.Eg[i]||(this.Eg[i]={}):i="custom";t.tag=i;t instanceof eb&&(this.Eg[i][t.Q]=t,t.ea(this));var e=this;K.load("hotspot",function(){e.Cv()})},vS:function(t,i){i||(i="custom");this.Eg[i][t.Q]&&delete this.Eg[i][t.Q]},Ak:function(t){t||(t="custom");this.Eg[t]={}},Ov:function(){var t=this.gj()?this.rb.k.aR:this.rb.Im(),i=this.gj()?this.rb.k.$Q:this.rb.Rk(),e=this.F;e.Vc=e.RI||t;e.Fd=e.QI||i;e.Vc<t&&(e.Vc=t);e.Fd>i&&(e.Fd=i)},setMinZoom:function(t){t>this.F.Fd&&(t=this.F.Fd);this.F.RI=t;this.iE()},setMaxZoom:function(t){t<this.F.Vc&&(t=this.F.Vc);this.F.QI=t;this.iE()},iE:function(){this.Ov();var t=this.F;this.za<t.Vc?this.od(t.Vc):this.za>t.Fd&&this.od(t.Fd);var i=new N("onzoomspanchange");i.Vc=t.Vc;i.Fd=t.Fd;this.dispatchEvent(i)},nW:u("Ax"),getKey:function(){return oa},yn:function(t){window.MPC_Mgr&&window.MPC_Mgr.close();var i=this;i.F.Cm=q;if(t){if(t.styleId)this.fG(t.styleId);else{i=this;t.styleJson&&(t.styleStr=i.wT(t.styleJson));F()&&v.R.bI?setTimeout(function(){i.F.Dd=t;i.dispatchEvent(new N("onsetcustomstyles",t))},50):(this.F.Dd=t,this.dispatchEvent(new N("onsetcustomstyles",t)),this.AG(i.F.Dd.geotableId));this.zG(t.controls);var e={style:t.style};t.features&&0<t.features.length&&(e.features=o);t.styleJson&&0<t.styleJson.length&&(e.styleJson=o);Oa(5050,e)}t.style&&(e=i.F.xp[t.style]?i.F.xp[t.style].backColor:i.F.xp.normal.backColor)&&(this.Da().style.backgroundColor=e)}},fG:function(t){var i=this;fb(C.fc+"style/poi/personalize?method=get&ak="+oa+"&id="+t,function(t){if(t&&t.content&&0<t.content.length){var t=t.content[0],e={};t.features&&0<t.features.length&&(e.features=t.features);t.controllers&&0<t.controllers.length&&(e.controls=t.controllers);t.style&&""!=t.style&&(e.style=t.style);t.geotable_id&&""!=t.geotable_id&&(e.geotableId=t.geotable_id);setTimeout(function(){i.yn(e)},200)}})},zG:function(t){this.controls||(this.controls={navigationControl:new gb,scaleControl:new hb,overviewMapControl:new ib,mapTypeControl:new jb});var i=this,e;for(e in this.controls)i.WH(i.controls[e]);t=t||[];v.Ob.vb(t,function(t){i.Ms(i.controls[t])})},AG:function(t){t?this.Fp&&this.Fp.ef==t||(this.mg(this.Fp),this.Fp=new kb({geotableId:t}),this.Mf(this.Fp)):this.mg(this.Fp)},Mb:function(){var t=this.$()>=this.F.lB&&this.ma()==La&&18>=this.$(),i=q;try{document.createElement("canvas").getContext("2d"),i=o}catch(t){i=q}return t&&i},getCurrentCity:function(){return{name:this.um,code:this.Nx}},getPanorama:u("H"),setPanorama:function(t){this.H=t;this.H.NA(this)},wT:function(t){for(var i={featureType:"t",elementType:"e",visibility:"v",color:"c",lightness:"l",saturation:"s",weight:"w",zoom:"z",hue:"h"},e={all:"all",geometry:"g","geometry.fill":"g.f","geometry.stroke":"g.s",labels:"l","labels.text.fill":"l.t.f","labels.text.stroke":"l.t.s","lables.text":"l.t","labels.icon":"l.i"},n=[],o=0,a;a=t[o];o++){var s=a.stylers;delete a.stylers;v.extend(a,s);var s=[],h;for(h in i)a[h]&&("elementType"==h?s.push(i[h]+":"+e[a[h]]):s.push(i[h]+":"+a[h]));2<s.length&&n.push(s.join("|"))}return n.join(",")}});function Oa(t,i){if(t){var i=i||{},e="",n;for(n in i)e=e+"&"+n+"="+encodeURIComponent(i[n]);var a=function(t){t&&(lb=o,setTimeout(function(){mb.src=C.fc+"images/blank.gif?"+t.src},50))},s=function(){var t=nb.shift();t&&a(t)};n=(1e8*Math.random()).toFixed(0);lb?nb.push({src:"product=jsapi&sub_product=jsapi&v="+C.version+"&sub_product_v="+C.version+"&t="+n+"&code="+t+"&da_src="+t+e}):a({src:"product=jsapi&sub_product=jsapi&v="+C.version+"&sub_product_v="+C.version+"&t="+n+"&code="+t+"&da_src="+t+e});ob||(v.D(mb,"load",function(){lb=q;s()}),v.D(mb,"error",function(){lb=q;s()}),ob=o)}}var lb,ob,nb=[],mb=new Image;Oa(5e3,{device_pixel_ratio:window.devicePixelRatio,platform:navigator.platform});C.tG={TILE_BASE_URLS:["ss0.baidu.com/5bwHcj7lABFU8t_jkk_Z1zRvfdw6buu","ss0.baidu.com/5bwHcj7lABFV8t_jkk_Z1zRvfdw6buu","ss0.baidu.com/5bwHcj7lABFS8t_jkk_Z1zRvfdw6buu","ss0.bdstatic.com/5bwHcj7lABFT8t_jkk_Z1zRvfdw6buu","ss0.bdstatic.com/5bwHcj7lABFY8t_jkk_Z1zRvfdw6buu"],TILE_ONLINE_URLS:["ss0.bdstatic.com/8bo_dTSlR1gBo1vgoIiO_jowehsv","ss0.bdstatic.com/8bo_dTSlRMgBo1vgoIiO_jowehsv","ss0.bdstatic.com/8bo_dTSlRcgBo1vgoIiO_jowehsv","ss0.bdstatic.com/8bo_dTSlRsgBo1vgoIiO_jowehsv","ss0.bdstatic.com/8bo_dTSlQ1gBo1vgoIiO_jowehsv"],TIlE_PERSPECT_URLS:["ss0.bdstatic.com/-OR1cTe9KgQFm2e88IuM_a","ss0.bdstatic.com/-ON1cTe9KgQFm2e88IuM_a","ss0.bdstatic.com/-OZ1cTe9KgQFm2e88IuM_a","ss0.bdstatic.com/-OV1cTe9KgQFm2e88IuM_a"],geolocControl:"p0.baidu.com/8LkJsjOpB1gCo2Kml5_Y_D3",TILES_YUN_HOST:["sp0.baidu.com/-eR1bSahKgkFkRGko9WTAnF6hhy","sp0.baidu.com/-eN1bSahKgkFkRGko9WTAnF6hhy","sp0.baidu.com/-eZ1bSahKgkFkRGko9WTAnF6hhy","sp0.baidu.com/-eV1bSahKgkFkRGko9WTAnF6hhy"],traffic:"sp0.baidu.com/7_AZsjOpB1gCo2Kml5_Y_D3",iw_pano:"ss0.bdstatic.com/5LUZemba_QUU8t7mm9GUKT-xh_",message:"sp0.baidu.com/7vo0bSba2gU2pMbgoY3K",baidumap:"sp0.baidu.com/80MWsjip0QIZ8tyhnq",wuxian:"sp0.baidu.com/6a1OdTeaKgQFm2e88IuM_a",pano:["ss0.bdstatic.com/5LUZemba_QUU8t7mm9GUKT-xh_","ss0.bdstatic.com/5LUZemfa_QUU8t7mm9GUKT-xh_","ss0.bdstatic.com/5LUZemja_QUU8t7mm9GUKT-xh_"],main_domain_nocdn:{baidu:"sp0.baidu.com/9_Q4sjOpB1gCo2Kml5_Y_D3",other:"sapi.map.baidu.com"},main_domain_cdn:{baidu:["ss0.bdstatic.com/9_Q4vHSd2RZ3otebn9fN2DJv","ss0.baidu.com/9_Q4vXSd2RZ3otebn9fN2DJv","ss0.bdstatic.com/9_Q4vnSd2RZ3otebn9fN2DJv"],other:["sapi.map.baidu.com"]},map_click:"sp0.baidu.com/80MWbzKh2wt3n2qy8IqW0jdnxx1xbK",vector_traffic:"ss0.bdstatic.com/8aZ1cTe9KgQIm2_p8IuM_a"};C.eR={TILE_BASE_URLS:["shangetu0.map.bdimg.com","shangetu1.map.bdimg.com","shangetu2.map.bdimg.com","shangetu3.map.bdimg.com","shangetu4.map.bdimg.com"],TILE_ONLINE_URLS:["online0.map.bdimg.com","online1.map.bdimg.com","online2.map.bdimg.com","online3.map.bdimg.com","online4.map.bdimg.com"],TIlE_PERSPECT_URLS:["d0.map.baidu.com","d1.map.baidu.com","d2.map.baidu.com","d3.map.baidu.com"],geolocControl:"loc.map.baidu.com",TILES_YUN_HOST:["g0.api.map.baidu.com","g1.api.map.baidu.com","g2.api.map.baidu.com","g3.api.map.baidu.com"],traffic:"its.map.baidu.com",iw_pano:"pcsv0.map.bdimg.com",message:"j.map.baidu.com",baidumap:"map.baidu.com",wuxian:"wuxian.baidu.com",pano:["pcsv0.map.bdimg.com","pcsv1.map.bdimg.com","pcsv2.map.bdimg.com"],main_domain_nocdn:{baidu:"api.map.baidu.com"},main_domain_cdn:{baidu:["api0.map.bdimg.com","api1.map.bdimg.com","api2.map.bdimg.com"]},map_click:"mapclick.map.baidu.com",vector_traffic:"or.map.bdimg.com"};C.ZT={0:{proto:"http://",domain:C.eR},1:{proto:"https://",domain:C.tG},2:{proto:"https://",domain:C.tG}};C.cv=window.HOST_TYPE||"0";C.url=C.ZT[C.cv];C.ju=C.url.proto+C.url.domain.baidumap+"/";C.fc=C.url.proto+("2"==C.cv?C.url.domain.main_domain_nocdn.other:C.url.domain.main_domain_nocdn.baidu)+"/";C.ca=C.url.proto+("2"==C.cv?C.url.domain.main_domain_cdn.other[0]:C.url.domain.main_domain_cdn.baidu[0])+"/";function sb(t){var i={duration:1e3,Sc:30,xm:0,sd:tb.WG,su:s()};this.Ye=[];if(t)for(var e in t)i[e]=t[e];this.k=i;if(Ta(i.xm)){var n=this;setTimeout(function(){n.start()},i.xm)}else i.xm!=ub&&this.start()}var ub="INFINITE";sb.prototype.start=function(){this.wr=Ya();this.ew=this.wr+this.k.duration;vb(this)};sb.prototype.add=ha(0);function vb(t){var i=Ya();i>=t.ew?(Ua(t.k.qa)&&t.k.qa(t.k.sd(1)),Ua(t.k.finish)&&t.k.finish(),0<t.Ye.length&&(i=t.Ye[0],i.Ye=[].concat(t.Ye.slice(1)),i.start())):(t.Ju=t.k.sd((i-t.wr)/t.k.duration),Ua(t.k.qa)&&t.k.qa(t.Ju),t.bB||(t.jp=setTimeout(function(){vb(t)},1e3/t.k.Sc)))}sb.prototype.stop=function(t){this.bB=o;for(var i=0;i<this.Ye.length;i++)this.Ye[i].stop(),this.Ye[i]=p;this.Ye.length=0;this.jp&&(clearTimeout(this.jp),this.jp=p);this.k.su(this.Ju);t&&(this.ew=this.wr,vb(this))};sb.prototype.cancel=ha(2);var tb={WG:function(t){return t},reverse:function(t){return 1-t},Jy:function(t){return t*t},Iy:function(t){return Math.pow(t,3)},uF:function(t){return-(t*(t-2))},HP:function(t){return Math.pow(t-1,3)+1},tF:function(t){return.5>t?2*t*t:-2*(t-2)*t-1},FV:function(t){return.5>t?4*Math.pow(t,3):4*Math.pow(t-1,3)+1},GV:function(t){return(1-Math.cos(Math.PI*t))/2}};tb["ease-in"]=tb.Jy;tb["ease-out"]=tb.uF;var D={sB:34,tB:21,uB:new M(21,32),hJ:new M(10,32),gJ:new M(24,36),fJ:new M(12,36),qB:new M(13,1),da:C.ca+"images/",rB:C.ca+"images/markers_new.png",dJ:24,eJ:73,Tx:{"北京":{yu:"bj",m:new I(116.403874,39.914889)},"上海":{yu:"sh",m:new I(121.487899,31.249162)},"深圳":{yu:"sz",m:new I(114.025974,22.546054)},"广州":{yu:"gz",m:new I(113.30765,23.120049)}},fontFamily:"arial,sans-serif"};v.R.Tf?(v.extend(D,{lF:"url("+D.da+"ruler.cur),crosshair",Gb:"-moz-grab",Rc:"-moz-grabbing"}),v.platform.OG&&(D.fontFamily="arial,simsun,sans-serif")):v.R.RE||v.R.bI?v.extend(D,{lF:"url("+D.da+"ruler.cur) 2 6,crosshair",Gb:"url("+D.da+"openhand.cur) 8 8,default",Rc:"url("+D.da+"closedhand.cur) 8 8,move"}):v.extend(D,{lF:"url("+D.da+"ruler.cur),crosshair",Gb:"url("+D.da+"openhand.cur),default",Rc:"url("+D.da+"closedhand.cur),move"});function wb(t,i){var e=t.style;e.left=i[0]+"px";e.top=i[1]+"px"}function xb(t){0<v.R.aa?t.unselectable="on":t.style.MozUserSelect="none"}function yb(t){return t&&t.parentNode&&11!=t.parentNode.nodeType}function zb(t,i){v.C.bu(t,"beforeEnd",i);return t.lastChild}function Ab(t){for(var i={left:0,top:0};t&&t.offsetParent;)i.left+=t.offsetLeft,i.top+=t.offsetTop,t=t.offsetParent;return i}function ma(t){t=window.event||t;t.stopPropagation?t.stopPropagation():t.cancelBubble=o}function Bb(t){t=window.event||t;t.preventDefault?t.preventDefault():t.returnValue=q;return q}function na(t){ma(t);return Bb(t)}function Cb(){var t=document.documentElement,i=document.body;return t&&(t.scrollTop||t.scrollLeft)?[t.scrollTop,t.scrollLeft]:i?[i.scrollTop,i.scrollLeft]:[0,0]}function Db(t,i){if(t&&i)return Math.round(Math.sqrt(Math.pow(t.x-i.x,2)+Math.pow(t.y-i.y,2)))}function Eb(t,i){var e=[],i=i||function(t){return t},n;for(n in t)e.push(n+"="+i(t[n]));return e.join("&")}function L(t,i,e){var n=document.createElement(t);e&&(n=document.createElementNS(e,t));return v.C.KA(n,i||{})}function Sa(t){if(t.currentStyle)return t.currentStyle;if(t.ownerDocument&&t.ownerDocument.defaultView)return t.ownerDocument.defaultView.getComputedStyle(t,p);
  2. }function Ua(t){return"function"==typeof t}function Ta(t){return"number"==typeof t}function Wa(t){return"string"==typeof t}function Fb(t){return"undefined"!=typeof t}function Gb(t){return"object"==typeof t}var Hb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Ib(t){var i="",e,n,o="",a,s="",h=0;a=/[^A-Za-z0-9\+\/\=]/g;if(!t||a.exec(t))return t;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");do e=Hb.indexOf(t.charAt(h++)),n=Hb.indexOf(t.charAt(h++)),a=Hb.indexOf(t.charAt(h++)),s=Hb.indexOf(t.charAt(h++)),e=e<<2|n>>4,n=(n&15)<<4|a>>2,o=(a&3)<<6|s,i+=String.fromCharCode(e),64!=a&&(i+=String.fromCharCode(n)),64!=s&&(i+=String.fromCharCode(o));while(h<t.length);return i}var N=v.lang.lv;function F(){return!(!v.platform.uR&&!v.platform.tR&&!v.platform.Xm)}function Ra(){return!(!v.platform.OG&&!v.platform.vR&&!v.platform.AR)}function Ya(){return(new Date).getTime()}function Jb(){var t=document.body.appendChild(L("div"));t.innerHTML='<v:shape id="vml_tester1" adj="1" />';var i=t.firstChild;if(!i.style)return q;i.style.behavior="url(#default#VML)";i=i?"object"==typeof i.adj:o;t.parentNode.removeChild(t);return i}function Kb(){return!!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Shape","1.1")}function Lb(){return!!L("canvas").getContext}C.IR=function(){var t=o,i=o,e=o,n=o,a=0,s=0,h=0,r=0;return{EK:function(){a+=1;t&&(t=q,setTimeout(function(){Oa(5054,{pic:a});t=o;a=0},1e4))},CU:function(){s+=1;i&&(i=q,setTimeout(function(){Oa(5055,{move:s});i=o;s=0},1e4))},EU:function(){h+=1;e&&(e=q,setTimeout(function(){Oa(5056,{zoom:h});e=o;h=0},1e4))},DU:function(t){r+=t;n&&(n=q,setTimeout(function(){Oa(5057,{tile:r});n=o;r=0},5e3))}}}();var Xa;(function(){function t(t){this.gO=t;this.timing={};this.start=+new Date}function i(t,i){if(t.length===+t.length)for(var e=0,n=t.length;e<n&&i.call(j,e,t[e],t)!==q;e++);else for(e in t)if(t.hasOwnProperty(e)&&i.call(j,e,t[e],t)===q)break}var e=[],n={push:function(t){e.push(t);if(window.localStorage&&window.JSON)try{localStorage.setItem("WPO_NR",JSON.stringify(e))}catch(t){}},get:function(t){var i=[];if(window.localStorage)try{t&&localStorage.removeItem("WPO_NR")}catch(t){}i=e;t&&(e=[]);return i}},a,h,r,c,l={};(!window.localStorage||!window.JSON)&&document.attachEvent&&window.attachEvent("onbeforeunload",function(){d.send()});var d={send:function(t){var e=[],a=[],s=t||n.get(o),h;0<s.length&&(i(s,function(n,o){var a=[];i(o.timing,function(t,i){a.push('"'+t+'":'+i)});e.push('{"t":{'+a.join(",")+'},"a":'+o.gO+"}");!h&&(t&&o.start)&&(h=o.start)}),i(l,function(t,i){a.push(t+"="+i)}),a.push("d=["+e.join(",")+"]"),h?a.push("_st="+h):a.push("_t="+ +new Date),s=new Image,s.src="http://static.tieba.baidu.com/tb/pms/img/st.gif?"+a.join("&"),window["___pms_img_"+1*new Date]=s)}};t.prototype={Fc:function(t,i){this.timing[t]=0<=i?i:new Date-this.start},ZA:function(){this.start=+new Date},TT:function(){this.Fc("tt")},ZI:function(){this.Fc("vt")},Cu:function(){h&&(n.push(this),n.get().length>=r&&d.send())},error:s()};Xa={Hl:{Pz:function(t){var i=navigator.wV||navigator.GW||navigator.CX||{type:0};h=Math.random()<=(t.GS||.01);r=t.max||5;c=t.FW||i.type;l={p:t.qS,mnt:c,b:50};window.localStorage&&(window.JSON&&window.addEventListener)&&(a=n.get(o),window.addEventListener("load",function(){d.send(a)},q))},Ap:function(i){return new t(i)}}}})();Xa.Hl.Pz({qS:18,GS:.1,max:1});C.Pn={HB:"#83a1ff",Rn:"#808080"};function fb(t,i){if(i){var e=(1e5*Math.random()).toFixed(0);C._rd["_cbk"+e]=function(t){i&&i(t);delete C._rd["_cbk"+e]};t+="&callback=BMap._rd._cbk"+e}var n=L("script",{type:"text/javascript"});n.charset="utf-8";n.src=t;n.addEventListener?n.addEventListener("load",function(t){t=t.target;t.parentNode.removeChild(t)},q):n.attachEvent&&n.attachEvent("onreadystatechange",function(){var t=window.event.srcElement;t&&("loaded"==t.readyState||"complete"==t.readyState)&&t.parentNode.removeChild(t)});setTimeout(function(){document.getElementsByTagName("head")[0].appendChild(n);n=p},1)}var Mb={map:"pvu1om",common:"wjyrdz",style:"pgq3iu",tile:"v1otxj",groundoverlay:"j3wbdg",pointcollection:"vfsfov",marker:"evvsik",symbol:"wxdhrg",canvablepath:"rtkcqo",vmlcontext:"oysd5s",markeranimation:"f0ufkl",poly:"0w5u20",draw:"sper0m",drawbysvg:"qydmwo",drawbyvml:"k2d3y0",drawbycanvas:"v3zcxu",infowindow:"5pqfh3",oppc:"jgp5tf",opmb:"0mgrjl",menu:"rafhul",control:"kb0hci",navictrl:"2nq1hv",geoctrl:"rwytiz",copyrightctrl:"y2yjnv",scommon:"ktcda3",local:"pvdvag",route:"ayw2lc",othersearch:"tow5kq",mapclick:"gh3mwu",buslinesearch:"qvczd0",hotspot:"lpihxg",autocomplete:"vxbf0t",coordtrans:"hbze4q",coordtransutils:"mqp0qo",clayer:"trmb5i",panorama:"i1wy2h",pservice:"zd2xyg",pcommon:"q04nsl",panoramaflash:"24ls3e",vector:"uvpyd4"};v.Xu=function(){function t(t){return n&&!!e[i+t+"_"+Mb[t]]}var i="BMap_",e=window.localStorage,n="localStorage"in window&&e!==p&&e!==j;return{xR:n,set:function(t,o){if(n){for(var a=i+t+"_",s=e.length,h;s--;)h=e.key(s),-1<h.indexOf(a)&&e.removeItem(h);try{e.setItem(i+t+"_"+Mb[t],o)}catch(t){e.clear()}}},get:function(o){return n&&t(o)?e.getItem(i+o+"_"+Mb[o]):q},OE:t}}();function K(){}v.object.extend(K,{si:{JB:-1,PJ:0,Ln:1},RF:function(){var t="drawbysvg",i="canvablepath";F()&&Lb()?t="drawbycanvas":Kb()?t="drawbysvg":Jb()?(t="drawbyvml",i="vmlcontext"):Lb()&&(t="drawbycanvas");return{control:[],marker:["symbol"],symbol:["canvablepath","common"],canvablepath:"canvablepath"===i?[]:[i],vmlcontext:[],style:[],poly:["marker",t],drawbysvg:["draw"],drawbyvml:["draw"],drawbycanvas:["draw"],infowindow:["common","marker"],menu:[],oppc:[],opmb:[],scommon:[],local:["scommon"],route:["scommon"],othersearch:["scommon"],autocomplete:["scommon"],mapclick:["scommon"],buslinesearch:["route"],hotspot:[],coordtransutils:["coordtrans"],clayer:["tile"],pservice:[],pcommon:["style","pservice"],panorama:["pcommon"],panoramaflash:["pcommon"]}},WW:{},AB:{YJ:C.ca+"getmodules?v=2.0&t=20140707",MN:5e3},oy:q,bd:{Vj:{},Jl:[],vs:[]},load:function(t,i,e){var n=this.Qa(t);if(n.ge==this.si.Ln)e&&i();else{if(n.ge==this.si.JB){this.VE(t);this.TH(t);var a=this;a.oy==q&&(a.oy=o,setTimeout(function(){for(var t=[],i=0,e=a.bd.Jl.length;i<e;i++){var n=a.bd.Jl[i],o="";ja.Xu.OE(n)?o=ja.Xu.get(n):(o="",t.push(n+"_"+Mb[n]));a.bd.vs.push({lH:n,hA:o})}a.oy=q;a.bd.Jl.length=0;0==t.length?a.zF():fb(a.AB.YJ+"&mod="+t.join(","))},1));n.ge=this.si.PJ}n.yr.push(i)}},VE:function(t){if(t&&this.RF()[t])for(var t=this.RF()[t],i=0;i<t.length;i++)this.VE(t[i]),this.bd.Vj[t[i]]||this.TH(t[i])},TH:function(t){for(var i=0;i<this.bd.Jl.length;i++)if(this.bd.Jl[i]==t)return;this.bd.Jl.push(t)},FS:function(a,b){var d=this.Qa(a);try{eval(b)}catch(t){return}d.ge=this.si.Ln;for(var f=0,g=d.yr.length;f<g;f++)d.yr[f]();d.yr.length=0},OE:function(t,i){var e=this;e.timeout=setTimeout(function(){e.bd.Vj[t].ge!=e.si.Ln?(e.remove(t),e.load(t,i)):clearTimeout(e.timeout)},e.AB.MN)},Qa:function(t){this.bd.Vj[t]||(this.bd.Vj[t]={},this.bd.Vj[t].ge=this.si.JB,this.bd.Vj[t].yr=[]);return this.bd.Vj[t]},remove:function(t){delete this.Qa(t)},CO:function(t,i){for(var e=this.bd.vs,n=o,a=0,s=e.length;a<s;a++)""==e[a].hA&&(e[a].lH==t?e[a].hA=i:n=q);n&&this.zF()},zF:function(){for(var t=this.bd.vs,i=0,e=t.length;i<e;i++)this.FS(t[i].lH,t[i].hA);this.bd.vs.length=0}});function P(t,i){this.x=t||0;this.y=i||0;this.x=this.x;this.y=this.y}P.prototype.wb=function(t){return t&&t.x==this.x&&t.y==this.y};function M(t,i){this.width=t||0;this.height=i||0}M.prototype.wb=function(t){return t&&this.width==t.width&&this.height==t.height};function eb(t,i){t&&(this.gb=t,this.Q="spot"+eb.Q++,i=i||{},this.Mh=i.text||"",this.cs=i.offsets?i.offsets.slice(0):[5,5,5,5],this.jE=i.userData||p,this.Hg=i.minZoom||p,this.Ee=i.maxZoom||p)}eb.Q=0;v.extend(eb.prototype,{ea:function(t){this.Hg==p&&(this.Hg=t.F.Vc);this.Ee==p&&(this.Ee=t.F.Fd)},ha:function(t){t instanceof I&&(this.gb=t)},T:u("gb"),Mq:ba("Mh"),Fz:u("Mh"),setUserData:ba("jE"),getUserData:u("jE")});function R(){this.B=p;this.lb="control";this.Ea=this.IE=o}v.lang.ga(R,v.lang.oa,"Control");v.extend(R.prototype,{initialize:function(t){this.B=t;if(this.A)return t.Ga.appendChild(this.A),this.A},ce:function(t){!this.A&&(this.initialize&&Ua(this.initialize))&&(this.A=this.initialize(t));this.k=this.k||{kg:q};this.ox();this.ns();this.A&&(this.A.Io=this)},ox:function(){var t=this.A;if(t){var i=t.style;i.position="absolute";i.zIndex=this.Hv||"10";i.MozUserSelect="none";i.WebkitTextSizeAdjust="none";this.k.kg||v.C.cb(t,"BMap_noprint");F()||v.D(t,"contextmenu",na)}},remove:function(){this.B=p;this.A&&(this.A.parentNode&&this.A.parentNode.removeChild(this.A),this.A=this.A.Io=p)},ra:function(){this.A=zb(this.B.Ga,"<div unselectable='on'></div>");this.Ea==q&&v.C.J(this.A);return this.A},ns:function(){this.Sb(this.k.anchor)},Sb:function(t){if(this.hV||!Ta(t)||isNaN(t)||t<Nb||3<t)t=this.defaultAnchor;this.k=this.k||{kg:q};this.k.na=this.k.na||this.defaultOffset;var i=this.k.anchor;this.k.anchor=t;if(this.A){var e=this.A,n=this.k.na.width,o=this.k.na.height;e.style.left=e.style.top=e.style.right=e.style.bottom="auto";switch(t){case Nb:e.style.top=o+"px";e.style.left=n+"px";break;case Ob:e.style.top=o+"px";e.style.right=n+"px";break;case Pb:e.style.bottom=o+"px";e.style.left=n+"px";break;case 3:e.style.bottom=o+"px",e.style.right=n+"px"}e=["TL","TR","BL","BR"];v.C.Rb(this.A,"anchor"+e[i]);v.C.cb(this.A,"anchor"+e[t])}},ez:function(){return this.k.anchor},Id:function(t){t instanceof M&&(this.k=this.k||{kg:q},this.k.na=new M(t.width,t.height),this.A&&this.Sb(this.k.anchor))},Zf:function(){return this.k.na},Uc:u("A"),show:function(){this.Ea!=o&&(this.Ea=o,this.A&&v.C.show(this.A))},J:function(){this.Ea!=q&&(this.Ea=q,this.A&&v.C.J(this.A))},isPrintable:function(){return!!this.k.kg},dg:function(){return!this.A&&!this.B?q:!!this.Ea}});var Nb=0,Ob=1,Pb=2;function gb(t){R.call(this);t=t||{};this.k={kg:q,VA:t.showZoomInfo||o,anchor:t.anchor,na:t.offset,type:t.type,IP:t.enableGeolocation||q};this.defaultAnchor=F()?3:Nb;this.defaultOffset=new M(10,10);this.Sb(t.anchor);this.xl(t.type);this.ze()}v.lang.ga(gb,R,"NavigationControl");v.extend(gb.prototype,{initialize:function(t){this.B=t;return this.A},xl:function(t){this.k.type=Ta(t)&&0<=t&&3>=t?t:0},Rm:function(){return this.k.type},ze:function(){var t=this;K.load("navictrl",function(){t.Df()})}});function Qb(t){R.call(this);t=t||{};this.k={anchor:t.anchor||Pb,na:t.offset||new M(10,30),kX:t.showAddressBar||q,IV:t.enableAutoLocation||q,cH:t.locationIcon||p};var i=this;this.Hv=1200;i.aU=[];this.yd=[];K.load("geoctrl",function(){(function t(){if(0!==i.yd.length){var e=i.yd.shift();i[e.method].apply(i,e.arguments);t()}})();i.XJ()});Oa(Ja)}v.lang.ga(Qb,R,"GeolocationControl");v.extend(Qb.prototype,{location:function(){this.yd.push({method:"location",arguments:arguments})},getAddressComponent:da(p)});function Rb(t){R.call(this);t=t||{};this.k={kg:q,anchor:t.anchor,na:t.offset};this.Bb=[];this.defaultAnchor=Pb;this.defaultOffset=new M(5,2);this.Sb(t.anchor);this.IE=q;this.ze()}v.lang.ga(Rb,R,"CopyrightControl");v.object.extend(Rb.prototype,{initialize:function(t){this.B=t;return this.A},Ns:function(t){if(t&&Ta(t.id)&&!isNaN(t.id)){var i={bounds:p,content:""},e;for(e in t)i[e]=t[e];if(t=this.Pk(t.id))for(var n in i)t[n]=i[n];else this.Bb.push(i)}},Pk:function(t){for(var i=0,e=this.Bb.length;i<e;i++)if(this.Bb[i].id==t)return this.Bb[i]},mz:u("Bb"),yA:function(t){for(var i=0,e=this.Bb.length;i<e;i++)this.Bb[i].id==t&&(r=this.Bb.splice(i,1),i--,e=this.Bb.length)},ze:function(){var t=this;K.load("copyrightctrl",function(){t.Df()})}});function ib(t){R.call(this);t=t||{};this.k={kg:q,size:t.size||new M(150,150),padding:5,Ja:t.isOpen===o?o:q,pU:4,na:t.offset,anchor:t.anchor};this.defaultAnchor=3;this.defaultOffset=new M(0,0);this.eo=this.fo=13;this.Sb(t.anchor);this.Zc(this.k.size);this.ze()}v.lang.ga(ib,R,"OverviewMapControl");v.extend(ib.prototype,{initialize:function(t){this.B=t;return this.A},Sb:function(t){R.prototype.Sb.call(this,t)},Ad:function(){this.Ad.em=o;this.k.Ja=!this.k.Ja;this.A||(this.Ad.em=q)},Zc:function(t){t instanceof M||(t=new M(150,150));t.width=0<t.width?t.width:150;t.height=0<t.height?t.height:150;this.k.size=t},yb:function(){return this.k.size},Ja:function(){return this.k.Ja},ze:function(){var t=this;K.load("control",function(){t.Df()})}});function hb(t){R.call(this);t=t||{};this.k={kg:q,color:"black",Ac:"metric",na:t.offset};this.defaultAnchor=Pb;this.defaultOffset=new M(81,18);this.Sb(t.anchor);this.Qg={metric:{name:"metric",XE:1,yG:1e3,JI:"米",KI:"公里"},us:{name:"us",XE:3.2808,yG:5280,JI:"英尺",KI:"英里"}};this.Qg[this.k.Ac]||(this.k.Ac="metric");this.LD=p;this.nD={};this.ze()}v.lang.ga(hb,R,"ScaleControl");v.object.extend(hb.prototype,{initialize:function(t){this.B=t;return this.A},tj:function(t){this.k.color=t+""},QV:function(){return this.k.color},SA:function(t){this.k.Ac=this.Qg[t]&&this.Qg[t].name||this.k.Ac},QQ:function(){return this.k.Ac},ze:function(){var t=this;K.load("control",function(){t.Df()})}});var Sb=0;function jb(t){R.call(this);t=t||{};this.defaultAnchor=Ob;this.defaultOffset=new M(10,10);this.k={kg:q,gg:[La,Va,Pa,Na],fP:["B_DIMENSIONAL_MAP","B_SATELLITE_MAP","B_NORMAL_MAP"],type:t.type||Sb,na:t.offset||this.defaultOffset,LP:o};this.Sb(t.anchor);"[object Array]"==Object.prototype.toString.call(t.mapTypes)&&(this.k.gg=t.mapTypes.slice(0));this.ze()}v.lang.ga(jb,R,"MapTypeControl");v.object.extend(jb.prototype,{initialize:function(t){this.B=t;return this.A},Yu:function(t){this.B.Vl=t},ze:function(){var t=this;K.load("control",function(){t.Df()},o)}});function Tb(t){R.call(this);t=t||{};this.k={kg:q,na:t.offset,anchor:t.anchor};this.Eh=q;this.xs=p;this.vD=new Ub({Ne:"api"});this.wD=new S(p,{Ne:"api"});this.defaultAnchor=Ob;this.defaultOffset=new M(10,10);this.Sb(t.anchor);this.ze();Oa(va)}v.lang.ga(Tb,R,"PanoramaControl");v.extend(Tb.prototype,{initialize:function(t){this.B=t;return this.A},ze:function(){var t=this;K.load("control",function(){t.Df()})}});function Vb(t){v.lang.oa.call(this);this.k={Ga:p,cursor:"default"};this.k=v.extend(this.k,t);this.lb="contextmenu";this.B=p;this.ka=[];this.Fe=[];this.Od=[];this.mt=this.Cp=p;this.Fg=q;var i=this;K.load("menu",function(){i.ob()})}v.lang.ga(Vb,v.lang.oa,"ContextMenu");v.object.extend(Vb.prototype,{ea:function(t,i){this.B=t;this.Zj=i||p},remove:function(){this.B=this.Zj=p},Ps:function(t){if(t&&!("menuitem"!=t.lb||""==t.Mh||0>=t.SN)){for(var i=0,e=this.ka.length;i<e;i++)if(this.ka[i]===t)return;this.ka.push(t);this.Fe.push(t)}},removeItem:function(t){if(t&&"menuitem"==t.lb){for(var i=0,e=this.ka.length;i<e;i++)this.ka[i]===t&&(this.ka[i].remove(),this.ka.splice(i,1),e--);i=0;for(e=this.Fe.length;i<e;i++)this.Fe[i]===t&&(this.Fe[i].remove(),this.Fe.splice(i,1),e--)}},Gx:function(){this.ka.push({lb:"divider",yi:this.Od.length});this.Od.push({C:p})},AA:function(t){if(this.Od[t]){for(var i=0,e=this.ka.length;i<e;i++)this.ka[i]&&("divider"==this.ka[i].lb&&this.ka[i].yi==t)&&(this.ka.splice(i,1),e--),this.ka[i]&&("divider"==this.ka[i].lb&&this.ka[i].yi>t)&&this.ka[i].yi--;this.Od.splice(t,1)}},Uc:u("A"),show:function(){this.Fg!=o&&(this.Fg=o)},J:function(){this.Fg!=q&&(this.Fg=q)},SS:function(t){t&&(this.k.cursor=t)},getItem:function(t){return this.Fe[t]}});function Wb(t,i,e){if(t&&Ua(i)){v.lang.oa.call(this);this.k={width:100,id:""};e=e||{};this.k.width=1*e.width?e.width:100;this.k.id=e.id?e.id:"";this.Mh=t+"";this.Jv=i;this.B=p;this.lb="menuitem";this.A=this.wg=p;this.Ag=o;var n=this;K.load("menu",function(){n.ob()})}}v.lang.ga(Wb,v.lang.oa,"MenuItem");v.object.extend(Wb.prototype,{ea:function(t,i){this.B=t;this.wg=i},remove:function(){this.B=this.wg=p},Mq:function(t){t&&(this.Mh=t+"")},Uc:u("A"),enable:function(){this.Ag=o},disable:function(){this.Ag=q}});function bb(t,i){t&&!i&&(i=t);this.Sd=this.Rd=this.Wd=this.Vd=this.nk=this.Yj=p;t&&(this.nk=new I(t.lng,t.lat),this.Yj=new I(i.lng,i.lat),this.Wd=t.lng,this.Vd=t.lat,this.Sd=i.lng,this.Rd=i.lat)}v.object.extend(bb.prototype,{ji:function(){return!this.nk||!this.Yj},wb:function(t){return!(t instanceof bb)||this.ji()?q:this.Yd().wb(t.Yd())&&this.Pe().wb(t.Pe())},Yd:u("nk"),Pe:u("Yj"),QO:function(t){return!(t instanceof bb)||this.ji()||t.ji()?q:t.Wd>this.Wd&&t.Sd<this.Sd&&t.Vd>this.Vd&&t.Rd<this.Rd},Fa:function(){return this.ji()?p:new I((this.Wd+this.Sd)/2,(this.Vd+this.Rd)/2)},Rz:function(t){if(!(t instanceof bb)||Math.max(t.Wd,t.Sd)<Math.min(this.Wd,this.Sd)||Math.min(t.Wd,t.Sd)>Math.max(this.Wd,this.Sd)||Math.max(t.Vd,t.Rd)<Math.min(this.Vd,this.Rd)||Math.min(t.Vd,t.Rd)>Math.max(this.Vd,this.Rd))return p;var i=Math.max(this.Wd,t.Wd),e=Math.min(this.Sd,t.Sd),n=Math.max(this.Vd,t.Vd),t=Math.min(this.Rd,t.Rd);return new bb(new I(i,n),new I(e,t))},ft:function(t){return!(t instanceof I)||this.ji()?q:t.lng>=this.Wd&&t.lng<=this.Sd&&t.lat>=this.Vd&&t.lat<=this.Rd},extend:function(t){if(t instanceof I){var i=t.lng,t=t.lat;this.nk||(this.nk=new I(0,0));this.Yj||(this.Yj=new I(0,0));if(!this.Wd||this.Wd>i)this.nk.lng=this.Wd=i;if(!this.Sd||this.Sd<i)this.Yj.lng=this.Sd=i;if(!this.Vd||this.Vd>t)this.nk.lat=this.Vd=t;if(!this.Rd||this.Rd<t)this.Yj.lat=this.Rd=t}},gB:function(){return this.ji()?new I(0,0):new I(Math.abs(this.Sd-this.Wd),Math.abs(this.Rd-this.Vd))}});function I(t,i){isNaN(t)&&(t=Ib(t),t=isNaN(t)?0:t);Wa(t)&&(t=parseFloat(t));isNaN(i)&&(i=Ib(i),i=isNaN(i)?0:i);Wa(i)&&(i=parseFloat(i));this.lng=t;this.lat=i}I.EG=function(t){return t&&180>=t.lng&&-180<=t.lng&&74>=t.lat&&-74<=t.lat};I.prototype.wb=function(t){return t&&this.lat==t.lat&&this.lng==t.lng};function Xb(){}Xb.prototype.eg=function(){aa("lngLatToPoint方法未实现")};Xb.prototype.jh=function(){aa("pointToLngLat方法未实现")};function Yb(){}var ab={ZE:function(t,i,e){K.load("coordtransutils",function(){ab.lO(t,i,e)},o)},YE:function(t,i,e){K.load("coordtransutils",function(){ab.kO(t,i,e)},o)}};function Q(){}Q.prototype=new Xb;v.extend(Q,{rJ:6370996.81,NB:[12890594.86,8362377.87,5591021,3481989.83,1678043.12,0],pr:[75,60,45,30,15,0],xJ:[[1.410526172116255e-8,898305509648872e-20,-1.9939833816331,200.9824383106796,-187.2403703815547,91.6087516669843,-23.38765649603339,2.57121317296198,-.03801003308653,17337981.2],[-7.435856389565537e-9,8983055097726239e-21,-.78625201886289,96.32687599759846,-1.85204757529826,-59.36935905485877,47.40033549296737,-16.50741931063887,2.28786674699375,10260144.86],[-3.030883460898826e-8,898305509983578e-20,.30071316287616,59.74293618442277,7.357984074871,-25.38371002664745,13.45380521110908,-3.29883767235584,.32710905363475,6856817.37],[-1.981981304930552e-8,8983055099779535e-21,.03278182852591,40.31678527705744,.65659298677277,-4.44255534477492,.85341911805263,.12923347998204,-.04625736007561,4482777.06],[3.09191371068437e-9,8983055096812155e-21,6995724062e-14,23.10934304144901,-.00023663490511,-.6321817810242,-.00663494467273,.03430082397953,-.00466043876332,2555164.4],[2.890871144776878e-9,8983055095805407e-21,-3.068298e-8,7.47137025468032,-353937994e-14,-.02145144861037,-1234426596e-14,.00010322952773,-323890364e-14,826088.5]],KB:[[-.0015702102444,111320.7020616939,0x60e374c3105a3,-0x24bb4115e2e164,0x5cc55543bb0ae8,-0x7ce070193f3784,0x5e7ca61ddf8150,-0x261a578d8b24d0,0x665d60f3742ca,82.5],[.0008277824516172526,111320.7020463578,647795574.6671607,-4082003173.641316,10774905663.51142,-15171875531.51559,12053065338.62167,-5124939663.577472,913311935.9512032,67.5],[.00337398766765,111320.7020202162,4481351.045890365,-23393751.19931662,79682215.47186455,-115964993.2797253,97236711.15602145,-43661946.33752821,8477230.501135234,52.5],[.00220636496208,111320.7020209128,51751.86112841131,3796837.749470245,992013.7397791013,-1221952.21711287,1340652.697009075,-620943.6990984312,144416.9293806241,37.5],[-.0003441963504368392,111320.7020576856,278.2353980772752,2485758.690035394,6070.750963243378,54821.18345352118,9540.606633304236,-2710.55326746645,1405.483844121726,22.5],[-.0003218135878613132,111320.7020701615,.00369383431289,823725.6402795718,.46104986909093,2351.343141331292,1.58060784298199,8.77738589078284,.37238884252424,7.45]],VV:function(t,i){if(!t||!i)return 0;var e,n,t=this.qb(t);if(!t)return 0;e=this.Aj(t.lng);n=this.Aj(t.lat);i=this.qb(i);return!i?0:this.oe(e,this.Aj(i.lng),n,this.Aj(i.lat))},Gm:function(t,i){if(!t||!i)return 0;t.lng=this.xz(t.lng,-180,180);t.lat=this.Cz(t.lat,-74,74);i.lng=this.xz(i.lng,-180,180);i.lat=this.Cz(i.lat,-74,74);return this.oe(this.Aj(t.lng),this.Aj(i.lng),this.Aj(t.lat),this.Aj(i.lat))},qb:function(t){if(t===p||t===j)return new I(0,0);var i,e;i=new I(Math.abs(t.lng),Math.abs(t.lat));for(var n=0;n<this.NB.length;n++)if(i.lat>=this.NB[n]){e=this.xJ[n];break}t=this.$E(t,e);return t=new I(t.lng.toFixed(6),t.lat.toFixed(6))},pb:function(t){if(t===p||t===j||180<t.lng||-180>t.lng||90<t.lat||-90>t.lat)return new I(0,0);var i,e;t.lng=this.xz(t.lng,-180,180);t.lat=this.Cz(t.lat,-74,74);i=new I(t.lng,t.lat);for(var n=0;n<this.pr.length;n++)if(i.lat>=this.pr[n]){e=this.KB[n];break}if(!e)for(n=this.pr.length-1;0<=n;n--)if(i.lat<=-this.pr[n]){e=this.KB[n];break}t=this.$E(t,e);return t=new I(t.lng.toFixed(2),t.lat.toFixed(2))},$E:function(t,i){if(t&&i){var e=i[0]+i[1]*Math.abs(t.lng),n=Math.abs(t.lat)/i[9],n=i[2]+i[3]*n+i[4]*n*n+i[5]*n*n*n+i[6]*n*n*n*n+i[7]*n*n*n*n*n+i[8]*n*n*n*n*n*n,e=e*(0>t.lng?-1:1),n=n*(0>t.lat?-1:1);return new I(e,n)}},oe:function(t,i,e,n){return this.rJ*Math.acos(Math.sin(e)*Math.sin(n)+Math.cos(e)*Math.cos(n)*Math.cos(i-t))},Aj:function(t){return Math.PI*t/180},qX:function(t){return 180*t/Math.PI},Cz:function(t,i,e){i!=p&&(t=Math.max(t,i));e!=p&&(t=Math.min(t,e));return t},xz:function(t,i,e){for(;t>e;)t-=e-i;for(;t<i;)t+=e-i;return t}});v.extend(Q.prototype,{el:function(t){return Q.pb(t)},eg:function(t){t=Q.pb(t);return new P(t.lng,t.lat)},jj:function(t){return Q.qb(t)},jh:function(t){t=new I(t.x,t.y);return Q.qb(t)},Db:function(t,i,e,n,o){if(t)return t=this.el(t,o),i=this.ac(i),new P(Math.round((t.lng-e.lng)/i+n.width/2),Math.round((e.lat-t.lat)/i+n.height/2))},ib:function(t,i,e,n,o){if(t)return i=this.ac(i),this.jj(new I(e.lng+i*(t.x-n.width/2),e.lat-i*(t.y-n.height/2)),o)},ac:function(t){return Math.pow(2,18-t)}});function db(){this.gy="bj"}db.prototype=new Q;v.extend(db.prototype,{el:function(t,i){return this.BK(i,Q.pb(t))},jj:function(t,i){return Q.qb(this.CK(i,t))},lngLatToPointFor3D:function(t,i){var e=this,n=Q.pb(t);K.load("coordtrans",function(){var t=Yb.zz(e.gy||"bj",n),t=new P(t.x,t.y);i&&i(t)},o)},pointToLngLatFor3D:function(t,i){var e=this,n=new I(t.x,t.y);K.load("coordtrans",function(){var t=Yb.yz(e.gy||"bj",n),t=new I(t.lng,t.lat),t=Q.qb(t);i&&i(t)},o)},BK:function(t,i){if(K.Qa("coordtrans").ge==K.si.Ln){var e=Yb.zz(t||"bj",i);return new I(e.x,e.y)}K.load("coordtrans",s());return new I(0,0)},CK:function(t,i){if(K.Qa("coordtrans").ge==K.si.Ln){var e=Yb.yz(t||"bj",i);return new I(e.lng,e.lat)}K.load("coordtrans",s());return new I(0,0)},ac:function(t){return Math.pow(2,20-t)}});function Zb(){this.lb="overlay"}v.lang.ga(Zb,v.lang.oa,"Overlay");Zb.Xk=function(t){t*=1;return!t?0:-1e5*t<<1};v.extend(Zb.prototype,{ce:function(t){if(!this.K&&Ua(this.initialize)&&(this.K=this.initialize(t)))this.K.style.WebkitUserSelect="none";this.draw()},initialize:function(){aa("initialize方法未实现")},draw:function(){aa("draw方法未实现")},remove:function(){this.K&&this.K.parentNode&&this.K.parentNode.removeChild(this.K);this.K=p;this.dispatchEvent(new N("onremove"))},J:function(){this.K&&v.C.J(this.K)},show:function(){this.K&&v.C.show(this.K)},dg:function(){return!this.K||"none"==this.K.style.display||"hidden"==this.K.style.visibility?q:o}});C.ae(function(t){function i(t,i){var e=L("div"),n=e.style;n.position="absolute";n.top=n.left=n.width=n.height="0";n.zIndex=i;t.appendChild(e);return e}var e=t.G;e.ue=t.ue=i(t.platform,200);t.xd.$y=i(e.ue,800);t.xd.fA=i(e.ue,700);t.xd.FF=i(e.ue,600);t.xd.aA=i(e.ue,500);t.xd.hH=i(e.ue,400);t.xd.iH=i(e.ue,300);t.xd.hU=i(e.ue,201);t.xd.rq=i(e.ue,200)});function cb(){v.lang.oa.call(this);Zb.call(this);this.map=p;this.Ea=o;this.eb=p;this.sC=0}v.lang.ga(cb,Zb,"OverlayInternal");v.extend(cb.prototype,{initialize:function(t){this.map=t;v.lang.oa.call(this,this.Q);return p},Kt:u("map"),draw:s(),remove:function(){this.map=p;v.lang.ot(this.Q);Zb.prototype.remove.call(this)},J:function(){this.Ea!=q&&(this.Ea=q)},show:function(){this.Ea!=o&&(this.Ea=o)},dg:function(){return!this.K?q:!!this.Ea},Da:u("K"),dI:function(t){var t=t||{},i;for(i in t)this.z[i]=t[i]},Nq:ba("zIndex"),$h:function(){this.z.$h=o},pP:function(){this.z.$h=q},mm:ba("hf"),kn:function(){this.hf=p}});function $b(){this.map=p;this.la={};this.Nd=[]}C.ae(function(t){var i=new $b;i.map=t;t.la=i.la;t.Nd=i.Nd;t.addEventListener("load",function(t){i.draw(t)});t.addEventListener("moveend",function(t){i.draw(t)});v.R.aa&&8>v.R.aa||"BackCompat"==document.compatMode?t.addEventListener("zoomend",function(t){setTimeout(function(){i.draw(t)},20)}):t.addEventListener("zoomend",function(t){i.draw(t)});t.addEventListener("maptypechange",function(t){i.draw(t)});t.addEventListener("addoverlay",function(t){t=t.target;if(t instanceof cb)i.la[t.Q]||(i.la[t.Q]=t);else{for(var e=q,n=0,a=i.Nd.length;n<a;n++)if(i.Nd[n]===t){e=o;break}e||i.Nd.push(t)}});t.addEventListener("removeoverlay",function(t){t=t.target;if(t instanceof cb)delete i.la[t.Q];else for(var e=0,n=i.Nd.length;e<n;e++)if(i.Nd[e]===t){i.Nd.splice(e,1);break}});t.addEventListener("clearoverlays",function(){this.tc();for(var t in i.la)i.la[t].z.$h&&(i.la[t].remove(),delete i.la[t]);t=0;for(var e=i.Nd.length;t<e;t++)i.Nd[t].$h!=q&&(i.Nd[t].remove(),i.Nd[t]=p,i.Nd.splice(t,1),t--,e--)});t.addEventListener("infowindowopen",function(){var t=this.eb;t&&(v.C.J(t.Qb),v.C.J(t.Ab))});t.addEventListener("movestart",function(){this.Yf()&&this.Yf().SD()});t.addEventListener("moveend",function(){this.Yf()&&this.Yf().HD()})});$b.prototype.draw=function(t){if(C.On){var i=C.On.Vp(this.map);"canvas"==i.lb&&i.canvas&&i.xK(i.canvas.getContext("2d"))}for(var e in this.la)this.la[e].draw(t);v.Ob.vb(this.Nd,function(t){t.draw()});this.map.G.Ua&&this.map.G.Ua.ha();C.On&&i.PA()};function ac(t){cb.call(this);t=t||{};this.z={strokeColor:t.strokeColor||"#3a6bdb",cc:t.strokeWeight||5,qd:t.strokeOpacity||.65,strokeStyle:t.strokeStyle||"solid",$h:t.enableMassClear===q?q:o,aj:p,Sk:p,Me:t.enableEditing===o?o:q,qH:5,$T:q,je:t.enableClicking===q?q:o,$g:t.icons&&0<t.icons.length?t.icons:p};0>=this.z.cc&&(this.z.cc=5);if(0>this.z.qd||1<this.z.qd)this.z.qd=.65;if(0>this.z.Sf||1<this.z.Sf)this.z.Sf=.65;"solid"!=this.z.strokeStyle&&"dashed"!=this.z.strokeStyle&&(this.z.strokeStyle="solid");this.K=p;this.Gv=new bb(0,0);this.fe=[];this.Jb=[];this.Ba={}}v.lang.ga(ac,cb,"Graph");ac.It=function(t){var i=[];if(!t)return i;Wa(t)&&v.Ob.vb(t.split(";"),function(t){t=t.split(",");i.push(new I(t[0],t[1]))});"[object Array]"==Object.prototype.toString.apply(t)&&0<t.length&&(i=t);return i};ac.pA=[.09,.005,1e-4,1e-5];v.extend(ac.prototype,{initialize:function(t){this.map=t;return p},draw:s(),ep:function(t){this.fe.length=0;this.V=ac.It(t).slice(0);this.sg()},Jd:function(t){this.ep(t)},sg:function(){if(this.V){var t=this;t.Gv=new bb;v.Ob.vb(this.V,function(i){t.Gv.extend(i)})}},Cd:u("V"),vl:function(t,i){i&&this.V[t]&&(this.fe.length=0,this.V[t]=new I(i.lng,i.lat),this.sg())},setStrokeColor:function(t){this.z.strokeColor=t},GQ:function(){return this.z.strokeColor},Lq:function(t){0<t&&(this.z.cc=t)},eG:function(){return this.z.cc},Jq:function(t){t==j||(1<t||0>t)||(this.z.qd=t)},HQ:function(){return this.z.qd},Lu:function(t){1<t||0>t||(this.z.Sf=t)},gQ:function(){return this.z.Sf},Kq:function(t){"solid"!=t&&"dashed"!=t||(this.z.strokeStyle=t)},dG:function(){return this.z.strokeStyle},setFillColor:function(t){this.z.fillColor=t||""},fQ:function(){return this.z.fillColor},Oe:u("Gv"),remove:function(){this.map&&this.map.removeEventListener("onmousemove",this.Pr);cb.prototype.remove.call(this);this.fe.length=0},Me:function(){if(!(2>this.V.length)){this.z.Me=o;var t=this;K.load("poly",function(){t.sk()},o)}},oP:function(){this.z.Me=q;var t=this;K.load("poly",function(){t.Ri()},o)}});function bc(t){cb.call(this);this.K=this.map=p;this.z={width:0,height:0,na:new M(0,0),opacity:1,background:"transparent",fu:1,UG:"#000",GR:"solid",point:p};this.dI(t);this.point=this.z.point}v.lang.ga(bc,cb,"Division");v.extend(bc.prototype,{Jj:function(){var t=this.z,i=this.content,e=['<div class="BMap_Division" style="position:absolute;'];e.push("width:"+t.width+"px;display:block;");e.push("overflow:hidden;");"none"!=t.borderColor&&e.push("border:"+t.fu+"px "+t.GR+" "+t.UG+";");e.push("opacity:"+t.opacity+"; filter:(opacity="+100*t.opacity+")");e.push("background:"+t.background+";");e.push('z-index:60;">');e.push(i);e.push("</div>");this.K=zb(this.map.Qe().fA,e.join(""))},initialize:function(t){this.map=t;this.Jj();this.K&&v.D(this.K,F()?"touchstart":"mousedown",function(t){ma(t)});return this.K},draw:function(){var t=this.map.$d(this.z.point);this.z.na=new M(-Math.round(this.z.width/2)-Math.round(this.z.fu),-Math.round(this.z.height/2)-Math.round(this.z.fu));this.K.style.left=t.x+this.z.na.width+"px";this.K.style.top=t.y+this.z.na.height+"px"},T:function(){return this.z.point},OU:function(){return this.map.Db(this.T())},ha:function(t){this.z.point=t;this.draw()},TS:function(t,i){this.z.width=Math.round(t);this.z.height=Math.round(i);this.K&&(this.K.style.width=this.z.width+"px",this.K.style.height=this.z.height+"px",this.draw())}});function cc(t,i,e){t&&i&&(this.imageUrl=t,this.size=i,t=new M(Math.floor(i.width/2),Math.floor(i.height/2)),e=e||{},t=e.anchor||t,i=e.imageOffset||new M(0,0),this.imageSize=e.imageSize,this.anchor=t,this.imageOffset=i,this.infoWindowAnchor=e.infoWindowAnchor||this.anchor,this.printImageUrl=e.printImageUrl||"")}v.extend(cc.prototype,{aT:function(t){t&&(this.imageUrl=t)},lT:function(t){t&&(this.printImageUrl=t)},Zc:function(t){t&&(this.size=new M(t.width,t.height))},Sb:function(t){t&&(this.anchor=new M(t.width,t.height))},Fq:function(t){t&&(this.imageOffset=new M(t.width,t.height))},cT:function(t){t&&(this.infoWindowAnchor=new M(t.width,t.height))},ZS:function(t){t&&(this.imageSize=new M(t.width,t.height))},toString:da("Icon")});function dc(t,i){if(t){i=i||{};this.style={anchor:i.anchor||new M(0,0),fillColor:i.fillColor||"#000",Sf:i.fillOpacity||0,scale:i.scale||1,rotation:i.rotation||0,strokeColor:i.strokeColor||"#000",qd:i.strokeOpacity||1,cc:i.strokeWeight};this.lb="number"===typeof t?t:"UserDefined";this.wh=this.style.anchor;this.Oo=new M(0,0);this.anchor=p;this.ax=t;var e=this;K.load("symbol",function(){e.Ll()})}}v.extend(dc.prototype,{setPath:ba("ax"),setAnchor:function(t){this.wh=this.style.anchor=t},setRotation:function(t){this.style.rotation=t},setScale:function(t){this.style.scale=t},setStrokeWeight:function(t){this.style.cc=t},setStrokeColor:function(t){t=v.wp.by(t,this.style.qd);this.style.strokeColor=t},setStrokeOpacity:function(t){this.style.qd=t},setFillOpacity:function(t){this.style.Sf=t},setFillColor:function(t){this.style.fillColor=t}});function ec(t,i,e,n){t&&(this.fs={},this.EF=n?!!n:q,this.oc=[],this.AT=t instanceof dc?t:p,this.AD=i===j?o:!!(i.indexOf("%")+1),this.Fi=isNaN(parseFloat(i))?1:this.AD?parseFloat(i)/100:parseFloat(i),this.BD=!!(e.indexOf("%")+1),this.repeat=e!=j?this.BD?parseFloat(e)/100:parseFloat(e):0)}function fc(t,i){v.lang.oa.call(this);this.content=t;this.map=p;i=i||{};this.z={width:i.width||0,height:i.height||0,maxWidth:i.maxWidth||730,na:i.offset||new M(0,0),title:i.title||"",gA:i.maxContent||"",Qf:i.enableMaximize||q,Np:i.enableAutoPan===q?q:o,Ly:i.enableCloseOnClick===q?q:o,margin:i.margin||[10,10,40,10],Zx:i.collisions||[[10,10],[10,10],[10,10],[10,10]],fR:q,aS:i.onClosing||da(o),Oy:i.enableMessage===q?q:o,Qy:i.enableParano===o?o:q,message:i.message,Sy:i.enableSearchTool===o?o:q,Wt:i.headerContent||""};if(0!=this.z.width&&(220>this.z.width&&(this.z.width=220),730<this.z.width))this.z.width=730;if(0!=this.z.height&&(60>this.z.height&&(this.z.height=60),650<this.z.height))this.z.height=650;if(0!=this.z.maxWidth&&(220>this.z.maxWidth&&(this.z.maxWidth=220),730<this.z.maxWidth))this.z.maxWidth=730;
  3. this.hd=q;this.th=D.da;this.Ra=p;var e=this;K.load("infowindow",function(){e.ob()})}v.lang.ga(fc,v.lang.oa,"InfoWindow");v.extend(fc.prototype,{setWidth:function(t){!t&&0!=t||(isNaN(t)||0>t)||(0!=t&&(220>t&&(t=220),730<t&&(t=730)),this.z.width=t)},setHeight:function(t){!t&&0!=t||(isNaN(t)||0>t)||(0!=t&&(60>t&&(t=60),650<t&&(t=650)),this.z.height=t)},hI:function(t){!t&&0!=t||(isNaN(t)||0>t)||(0!=t&&(220>t&&(t=220),730<t&&(t=730)),this.z.maxWidth=t)},Wb:function(t){this.z.title=t},getTitle:function(){return this.z.title},yc:ba("content"),Zi:u("content"),Gq:function(t){this.z.gA=t+""},nd:s(),Np:function(){this.z.Np=o},disableAutoPan:function(){this.z.Np=q},enableCloseOnClick:function(){this.z.Ly=o},disableCloseOnClick:function(){this.z.Ly=q},Qf:function(){this.z.Qf=o},vt:function(){this.z.Qf=q},show:function(){this.Ea=o},J:function(){this.Ea=q},close:function(){this.J()},ku:function(){this.hd=o},restore:function(){this.hd=q},dg:function(){return this.Ja()},Ja:da(q),T:function(){if(this.Ra&&this.Ra.T)return this.Ra.T()},Zf:function(){return this.z.na}});Ka.prototype.hc=function(t,i){if(t instanceof fc&&i instanceof I){var e=this.G;e.gl?e.gl.ha(i):(e.gl=new T(i,{icon:new cc(D.da+"blank.gif",{width:1,height:1}),offset:new M(0,0),clickable:q}),e.gl.sL=1);this.wa(e.gl);e.gl.hc(t)}};Ka.prototype.tc=function(){var t=this.G.Ua||this.G.Rj;t&&t.Ra&&t.Ra.tc()};cb.prototype.hc=function(t){this.map&&(this.map.tc(),t.Ea=o,this.map.G.Rj=t,t.Ra=this,v.lang.oa.call(t,t.Q))};cb.prototype.tc=function(){this.map&&this.map.G.Rj&&(this.map.G.Rj.Ea=q,v.lang.ot(this.map.G.Rj.Q),this.map.G.Rj=p)};function gc(t,i){cb.call(this);this.content=t;this.K=this.map=p;i=i||{};this.z={width:0,na:i.offset||new M(0,0),Dn:{backgroundColor:"#fff",border:"1px solid #f00",padding:"1px",whiteSpace:"nowrap",font:"12px "+D.fontFamily,zIndex:"80",MozUserSelect:"none"},position:i.position||p,$h:i.enableMassClear===q?q:o,je:o};0>this.z.width&&(this.z.width=0);Fb(i.enableClicking)&&(this.z.je=i.enableClicking);this.point=this.z.position;var e=this;K.load("marker",function(){e.ob()})}v.lang.ga(gc,cb,"Label");v.extend(gc.prototype,{T:function(){return this.Yr?this.Yr.T():this.point},ha:function(t){t instanceof I&&!this.Lt()&&(this.point=this.z.position=new I(t.lng,t.lat))},yc:ba("content"),OA:function(t){0<=t&&1>=t&&(this.z.opacity=t)},Id:function(t){t instanceof M&&(this.z.na=new M(t.width,t.height))},Zf:function(){return this.z.na},$c:function(t){t=t||{};this.z.Dn=v.extend(this.z.Dn,t)},lh:function(t){return this.$c(t)},Wb:function(t){this.z.title=t||""},getTitle:function(){return this.z.title},gI:function(t){this.point=(this.Yr=t)?this.z.position=t.T():this.z.position=p},Lt:function(){return this.Yr||p},Zi:u("content")});function hc(t,i){if(0!==arguments.length){cb.apply(this,arguments);i=i||{};this.z={Pa:t,opacity:i.opacity||1,bl:i.bl||"",zm:i.zm||1,ym:i.ym||18};var e=this;K.load("groundoverlay",function(){e.ob()})}}v.lang.ga(hc,cb,"GroundOverlay");v.extend(hc.prototype,{setBounds:function(t){this.z.Pa=t},getBounds:function(){return this.z.Pa},setOpacity:function(t){this.z.opacity=t},getOpacity:function(){return this.z.opacity},setImageURL:function(t){this.z.bl=t},getImageURL:function(){return this.z.bl},setDispalyOnMinLevel:function(t){this.z.zm=t},getDispalyOnMinLevel:function(){return this.z.zm},setDispalyOnMaxLevel:function(t){this.z.ym=t},getDispalyOnMaxLevel:function(){return this.z.ym}});var ic=3,jc=4;function kc(){var t=document.createElement("canvas");return!(!t.getContext||!t.getContext("2d"))}function lc(t,i){var e=this;kc()&&(t===j&&aa(Error("没有传入points数据")),"[object Array]"!==Object.prototype.toString.call(t)&&aa(Error("points数据不是数组")),i=i||{},cb.apply(e,arguments),e.ja={V:t},e.z={shape:i.shape||ic,size:i.size||jc,color:i.color||"#fa937e",$h:o},this.Zw=[],this.yd=[],K.load("pointcollection",function(){for(var t=0,i;i=e.Zw[t];t++)e[i.method].apply(e,i.arguments);for(t=0;i=e.yd[t];t++)e[i.method].apply(e,i.arguments)}))}v.lang.ga(lc,cb,"PointCollection");v.extend(lc.prototype,{initialize:function(t){this.Zw&&this.Zw.push({method:"initialize",arguments:arguments})},setPoints:function(t){this.yd&&this.yd.push({method:"setPoints",arguments:arguments})},setStyles:function(t){this.yd&&this.yd.push({method:"setStyles",arguments:arguments})},clear:function(){this.yd&&this.yd.push({method:"clear",arguments:arguments})},remove:function(){this.yd&&this.yd.push({method:"remove",arguments:arguments})}});var mc=new cc(D.da+"marker_red_sprite.png",new M(19,25),{anchor:new M(10,25),infoWindowAnchor:new M(10,0)}),nc=new cc(D.da+"marker_red_sprite.png",new M(20,11),{anchor:new M(6,11),imageOffset:new M(-19,-13)});function T(t,i){cb.call(this);i=i||{};this.point=t;this.ao=this.map=p;this.z={na:i.offset||new M(0,0),cg:i.icon||mc,vj:nc,title:i.title||"",label:p,FE:i.baseZIndex||0,je:o,FX:q,Zz:q,$h:i.enableMassClear===q?q:o,$b:q,VH:i.raiseOnDrag===o?o:q,$H:q,Rc:i.draggingCursor||D.Rc,rotation:i.rotation||0};i.icon&&!i.shadow&&(this.z.vj=p);i.enableDragging&&(this.z.$b=i.enableDragging);Fb(i.enableClicking)&&(this.z.je=i.enableClicking);var e=this;K.load("marker",function(){e.ob()})}T.ur=Zb.Xk(-90)+1e6;T.FB=T.ur+1e6;v.lang.ga(T,cb,"Marker");v.extend(T.prototype,{Lb:function(t){if(t instanceof cc||t instanceof dc)this.z.cg=t},Hm:function(){return this.z.cg},Ou:function(t){t instanceof cc&&(this.z.vj=t)},getShadow:function(){return this.z.vj},tl:function(t){this.z.label=t||p},tz:function(){return this.z.label},$b:function(){this.z.$b=o},ty:function(){this.z.$b=q},T:u("point"),ha:function(t){t instanceof I&&(this.point=new I(t.lng,t.lat))},mh:function(t,i){this.z.Zz=!!t;t&&(this.$B=i||0)},Wb:function(t){this.z.title=t+""},getTitle:function(){return this.z.title},Id:function(t){t instanceof M&&(this.z.na=t)},Zf:function(){return this.z.na},sl:ba("ao"),Bn:function(t){this.z.rotation=t},bG:function(){return this.z.rotation}});function oc(t,i){ac.call(this,i);i=i||{};this.z.Sf=i.fillOpacity?i.fillOpacity:.65;this.z.fillColor=""==i.fillColor?"":i.fillColor?i.fillColor:"#fff";this.Jd(t);var e=this;K.load("poly",function(){e.ob()})}v.lang.ga(oc,ac,"Polygon");v.extend(oc.prototype,{Jd:function(t,i){this.jm=ac.It(t).slice(0);var e=ac.It(t).slice(0);1<e.length&&e.push(new I(e[0].lng,e[0].lat));ac.prototype.Jd.call(this,e,i)},vl:function(t,i){this.jm[t]&&(this.jm[t]=new I(i.lng,i.lat),this.V[t]=new I(i.lng,i.lat),0==t&&!this.V[0].wb(this.V[this.V.length-1])&&(this.V[this.V.length-1]=new I(i.lng,i.lat)),this.sg())},Cd:function(){var t=this.jm;0==t.length&&(t=this.V);return t}});function pc(t,i){ac.call(this,i);this.ep(t);var e=this;K.load("poly",function(){e.ob()})}v.lang.ga(pc,ac,"Polyline");function rc(t,i,e){this.point=t;this.ia=Math.abs(i);oc.call(this,[],e)}rc.pA=[.01,1e-4,1e-5,4e-6];v.lang.ga(rc,oc,"Circle");v.extend(rc.prototype,{initialize:function(t){this.map=t;this.V=this.Nr(this.point,this.ia);this.sg();return p},Fa:u("point"),Ue:function(t){t&&(this.point=t)},ZF:u("ia"),we:function(t){this.ia=Math.abs(t)},Nr:function(t,i){if(!t||!i||!this.map)return[];for(var e=[],n=i/6378800,o=Math.PI/180*t.lat,a=Math.PI/180*t.lng,s=0;360>s;s+=9){var h=Math.PI/180*s,r=Math.asin(Math.sin(o)*Math.cos(n)+Math.cos(o)*Math.sin(n)*Math.cos(h)),h=new I(((a-Math.atan2(Math.sin(h)*Math.sin(n)*Math.cos(o),Math.cos(n)-Math.sin(o)*Math.sin(r))+Math.PI)%(2*Math.PI)-Math.PI)*(180/Math.PI),r*(180/Math.PI));e.push(h)}n=e[0];e.push(new I(n.lng,n.lat));return e}});var sc={};function tc(t){this.map=t;this.fl=[];this.We=[];this.Af=[];this.yO=300;this.wA=0;this.sf={};this.Th={};this.ig=0;this.Tz=o;this.eF={};this.Xr=this.lo(1);this.ie=this.lo(2);this.Mo=this.lo(3);t.platform.appendChild(this.Xr);t.platform.appendChild(this.ie);t.platform.appendChild(this.Mo)}C.ae(function(t){var i=new tc(t);i.ea();t.Ib=i});v.extend(tc.prototype,{ea:function(){var t=this,i=t.map;i.addEventListener("loadcode",function(){t.gu()});i.addEventListener("addtilelayer",function(i){t.Mf(i)});i.addEventListener("removetilelayer",function(i){t.mg(i)});i.addEventListener("setmaptype",function(i){t.xf(i)});i.addEventListener("zoomstartcode",function(i){t.pc(i)});i.addEventListener("setcustomstyles",function(i){t.yn(i.target);t.vf(o)})},gu:function(){var t=this;if(v.R.aa)try{document.execCommand("BackgroundImageCache",q,o)}catch(t){}this.loaded||t.au();t.vf();this.loaded||(this.loaded=o,K.load("tile",function(){t.WJ()}))},au:function(){for(var t=this.map.ma().Jo,i=0;i<t.length;i++){var e=new uc;v.extend(e,t[i]);this.fl.push(e);e.ea(this.map,this.Xr)}this.yn()},lo:function(t){var i=L("div");i.style.position="absolute";i.style.overflow="visible";i.style.left=i.style.top="0";i.style.zIndex=t;return i},Ef:function(){this.ig--;var t=this;this.Tz&&(this.map.dispatchEvent(new N("onfirsttileloaded")),this.Tz=q);0==this.ig&&(this.zh&&(clearTimeout(this.zh),this.zh=p),this.zh=setTimeout(function(){if(t.ig==0){t.map.dispatchEvent(new N("ontilesloaded"));t.Tz=o}t.zh=p},80))},Gz:function(t,i){return"TILE-"+i.Q+"-"+t[0]+"-"+t[1]+"-"+t[2]},Zt:function(t){var i=t.jb;i&&yb(i)&&i.parentNode.removeChild(i);delete this.sf[t.name];t.loaded||(vc(t),t.jb=p,t.il=p)},Pm:function(t,i,e){var n=this.map,a=n.ma(),s=n.za,h=n.gc,r=a.ac(s),c=this.PF(),l=c[0],d=c[1],u=c[2],f=c[3],g=c[4],e="undefined"!=typeof e?e:0,a=a.k.Vb,c=n.Q.replace(/^TANGRAM_/,"");for(this.oh?this.oh.length=0:this.oh=[];l<u;l++)for(var v=d;v<f;v++){var m=l,b=v;this.oh.push([m,b]);m=c+"_"+i+"_"+m+"_"+b+"_"+s;this.eF[m]=m}this.oh.sort(function(t){return function(i,e){return.4*Math.abs(i[0]-t[0])+.6*Math.abs(i[1]-t[1])-(.4*Math.abs(e[0]-t[0])+.6*Math.abs(e[1]-t[1]))}}([g[0]-1,g[1]-1]));h=[Math.round(-h.lng/r),Math.round(h.lat/r)];l=-n.offsetY+n.height/2;t.style.left=-n.offsetX+n.width/2+"px";t.style.top=l+"px";this.wk?this.wk.length=0:this.wk=[];l=0;for(n=t.childNodes.length;l<n;l++)v=t.childNodes[l],v.bD=q,this.wk.push(v);if(l=this.lA)for(var y in l)delete l[y];else this.lA={};this.xk?this.xk.length=0:this.xk=[];l=0;for(n=this.oh.length;l<n;l++){y=this.oh[l][0];r=this.oh[l][1];v=0;for(d=this.wk.length;v<d;v++)if(u=this.wk[v],u.id==c+"_"+i+"_"+y+"_"+r+"_"+s){u.bD=o;this.lA[u.id]=u;break}}l=0;for(n=this.wk.length;l<n;l++)u=this.wk[l],u.bD||this.xk.push(u);this.dB=[];v=(a+e)*this.map.F.devicePixelRatio;l=0;for(n=this.oh.length;l<n;l++)y=this.oh[l][0],r=this.oh[l][1],f=y*a+h[0]-e/2,g=(-1-r)*a+h[1]-e/2,m=c+"_"+i+"_"+y+"_"+r+"_"+s,d=this.lA[m],u=p,d?(u=d.style,u.left=f+"px",u.top=g+"px",d.Ff||this.dB.push([y,r,d])):(0<this.xk.length?(d=this.xk.shift(),d.getContext("2d").clearRect(-e/2,-e/2,v,v),u=d.style):(d=document.createElement("canvas"),u=d.style,u.position="absolute",u.width=a+e+"px",u.height=a+e+"px",this.LG()&&(u.WebkitTransform="scale(1.001)"),d.setAttribute("width",v),d.setAttribute("height",v),t.appendChild(d)),d.id=m,u.left=f+"px",u.top=g+"px",-1<m.indexOf("bg")&&(f="#F3F1EC",this.map.F.Vs&&(f=this.map.F.Vs),u.background=f?f:""),this.dB.push([y,r,d])),d.style.visibility="";l=0;for(n=this.xk.length;l<n;l++)this.xk[l].style.visibility="hidden";return this.dB},LG:function(){return/M040/i.test(navigator.userAgent)},PF:function(){var t=this.map,i=t.ma(),e=t.za;i.ac(e);var e=i.kG(e),n=t.gc,o=Math.ceil(n.lng/e),a=Math.ceil(n.lat/e),i=i.k.Vb,e=[o,a,(n.lng-o*e)/e*i,(n.lat-a*e)/e*i];return[e[0]-Math.ceil((t.width/2-e[2])/i),e[1]-Math.ceil((t.height/2-e[3])/i),e[0]+Math.ceil((t.width/2+e[2])/i),e[1]+Math.ceil((t.height/2+e[3])/i),e]},qT:function(t,i,e,n){var o=this;o.rV=i;var a=this.map.ma(),s=o.Gz(t,e),h=a.k.Vb,i=[t[0]*h+i[0],(-1-t[1])*h+i[1]],r=this.sf[s];r&&r.jb?(wb(r.jb,i),n&&(n=new P(t[0],t[1]),a=this.map.F.Dd?this.map.F.Dd.style:"normal",n=e.getTilesUrl(n,t[2],a),r.loaded=q,wc(r,n)),r.loaded?this.Ef():xc(r,function(){o.Ef()})):(r=this.Th[s])&&r.jb?(e.ub.insertBefore(r.jb,e.ub.lastChild),this.sf[s]=r,wb(r.jb,i),n&&(n=new P(t[0],t[1]),a=this.map.F.Dd?this.map.F.Dd.style:"normal",n=e.getTilesUrl(n,t[2],a),r.loaded=q,wc(r,n)),r.loaded?this.Ef():xc(r,function(){o.Ef()})):(r=h*Math.pow(2,a.Rk()-t[2]),new I(t[0]*r,t[1]*r),n=new P(t[0],t[1]),a=this.map.F.Dd?this.map.F.Dd.style:"normal",n=e.getTilesUrl(n,t[2],a),r=new zc(this,n,i,t,e),xc(r,function(){o.Ef()}),Ac(r),this.sf[s]=r)},Ef:function(){this.ig--;var t=this;0==this.ig&&(this.zh&&(clearTimeout(this.zh),this.zh=p),this.zh=setTimeout(function(){if(t.ig==0){t.map.dispatchEvent(new N("ontilesloaded"));if(ta){if(pa&&qa&&sa){var i=Ya(),e=t.map.yb();setTimeout(function(){Oa(5030,{load_script_time:qa-pa,load_tiles_time:i-sa,map_width:e.width,map_height:e.height,map_size:e.width*e.height})},1e4);ua.Fc("img_fisrt_loaded");ua.Fc("map_width",e.width);ua.Fc("map_height",e.height);ua.Fc("map_size",e.width*e.height);ua.Cu()}ta=q}}t.zh=p},80))},Gz:function(t,i){return this.map.ma()===Na?"TILE-"+i.Q+"-"+this.map.$s+"-"+t[0]+"-"+t[1]+"-"+t[2]:"TILE-"+i.Q+"-"+t[0]+"-"+t[1]+"-"+t[2]},Zt:function(t){var i=t.jb;i&&(Bc(i),yb(i)&&i.parentNode.removeChild(i));delete this.sf[t.name];t.loaded||(Bc(i),vc(t),t.jb=p,t.il=p)},vf:function(t){var i=this;if(i.map.ma()==Na)K.load("coordtrans",function(){i.map.Cb||(i.map.Cb=Na.Yi(i.map.um),i.map.$s=Na.NF(i.map.Cb));i.kD()},o);else{if(t&&t)for(var e in this.Th)delete this.Th[e];i.kD(t)}},kD:function(t){for(var i=this.fl.concat(this.We),e=i.length,n=0;n<e;n++){var a=i[n];if(a.Vc&&l.za<a.Vc)break;if(a.Ws){var s=this.ub=a.ub;if(t){var h=s;if(h&&h.childNodes)for(var r=h.childNodes.length,c=r-1;0<=c;c--)r=h.childNodes[c],h.removeChild(r),r=p}if(this.map.Mb()){this.ie.style.display="block";s.style.display="none";this.map.dispatchEvent(new N("vectorchanged"),{isvector:o});continue}else s.style.display="block",this.ie.style.display="none",this.map.dispatchEvent(new N("vectorchanged"),{isvector:q})}if(!(a.Ym&&!this.map.Mb()||a.KG&&this.map.Mb())){var l=this.map,d=l.ma(),s=d.Nm(),r=l.za,u=l.gc;d==Na&&u.wb(new I(0,0))&&(u=l.gc=s.el(l.Of,l.Cb));var f=d.ac(r),r=d.kG(r),s=Math.ceil(u.lng/r),h=Math.ceil(u.lat/r),g=d.k.Vb,r=[s,h,(u.lng-s*r)/r*g,(u.lat-h*r)/r*g],c=r[0]-Math.ceil((l.width/2-r[2])/g),s=r[1]-Math.ceil((l.height/2-r[3])/g),h=r[0]+Math.ceil((l.width/2+r[2])/g),v=0;d===Na&&15==l.$()&&(v=1);d=r[1]+Math.ceil((l.height/2+r[3])/g)+v;this.CE=new I(u.lng,u.lat);var m=this.sf,g=-this.CE.lng/f,v=this.CE.lat/f,f=[Math.ceil(g),Math.ceil(v)],u=l.$(),b;for(b in m){var y=m[b],w=y.info;(w[2]!=u||w[2]==u&&(c>w[0]||h<=w[0]||s>w[1]||d<=w[1]))&&this.Zt(y)}m=-l.offsetX+l.width/2;y=-l.offsetY+l.height/2;a.ub&&(a.ub.style.left=Math.ceil(g+m)-f[0]+"px",a.ub.style.top=Math.ceil(v+y)-f[1]+"px",a.ub.style.WebkitTransform="translate3d(0,0,0)");g=[];for(l.Ax=[];c<h;c++)for(v=s;v<d;v++)g.push([c,v]),l.Ax.push({x:c,y:v});g.sort(function(t){return function(i,e){return.4*Math.abs(i[0]-t[0])+.6*Math.abs(i[1]-t[1])-(.4*Math.abs(e[0]-t[0])+.6*Math.abs(e[1]-t[1]))}}([r[0]-1,r[1]-1]));if(!a.nM){r=g.length;this.ig+=r;for(c=0;c<r;c++)this.qT([g[c][0],g[c][1],u],f,a,t)}}}},Mf:function(t){var i=this,e=t.target,t=i.map.Mb();if(e instanceof $a)t&&!e.cl&&(e.ea(this.map,this.ie),e.cl=o);else if(e.zf&&this.map.Mf(e.zf),e.Ym){for(t=0;t<i.Af.length;t++)if(i.Af[t]==e)return;K.load("vector",function(){e.ea(i.map,i.ie);i.Af.push(e)},o)}else{for(t=0;t<i.We.length;t++)if(i.We[t]==e)return;e.ea(this.map,this.Mo);i.We.push(e)}},mg:function(t){var t=t.target,i=this.map.Mb();if(t instanceof $a)i&&t.cl&&(t.remove(),t.cl=q);else{t.zf&&this.map.mg(t.zf);if(t.Ym)for(var i=0,e=this.Af.length;i<e;i++)t==this.Af[i]&&this.Af.splice(i,1);else{i=0;for(e=this.We.length;i<e;i++)t==this.We[i]&&this.We.splice(i,1)}t.remove()}},xf:function(){for(var t=this.fl,i=0,e=t.length;i<e;i++)t[i].remove();delete this.ub;this.fl=[];this.Th=this.sf={};this.au();this.vf()},pc:function(){var t=this;t.Kc&&v.C.J(t.Kc);setTimeout(function(){t.vf();t.map.dispatchEvent(new N("onzoomend"))},10)},wX:s(),yn:function(t){if(!this.map.Mb()&&(t?this.map.F.xT=t:t=this.map.F.xT,t))for(var i=p,i="2"==C.cv?[C.url.proto+C.url.domain.main_domain_cdn.other[0]+"/"]:[C.url.proto+C.url.domain.main_domain_cdn.baidu[0]+"/",C.url.proto+C.url.domain.main_domain_cdn.baidu[1]+"/",C.url.proto+C.url.domain.main_domain_cdn.baidu[2]+"/"],e=0,n;n=this.fl[e];e++)if(n.mT==o){n.getTilesUrl=function(e,n){var o=e.x,a=e.y,s="customimage/tile?&x="+o+"&y="+a+"&z="+n+"&udt=20141112",s=t.styleStr?s+("&styles="+encodeURIComponent(t.styleStr)):s+("&customid="+t.style);return i[Math.abs(o+a)%i.length]+s};break}}});function zc(t,i,e,n,a){this.il=t;this.position=e;this.zr=[];this.name=t.Gz(n,a);this.info=n;this.hE=a.nq();n=L("img");xb(n);n.HF=q;var s=n.style,t=t.map.ma();s.position="absolute";s.border="none";s.width=t.k.Vb+"px";s.height=t.k.Vb+"px";s.left=e[0]+"px";s.top=e[1]+"px";s.maxWidth="none";this.jb=n;this.src=i;Cc&&(this.jb.style.opacity=0);var h=this;this.jb.onload=function(){C.IR.EK();h.loaded=o;if(h.il){var t=h.il,i=t.Th;if(!i[h.name]){t.wA++;i[h.name]=h}if(h.jb&&!yb(h.jb)&&a.ub){a.ub.appendChild(h.jb);if(v.R.aa<=6&&v.R.aa>0&&h.hE)h.jb.style.cssText=h.jb.style.cssText+(';filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+h.src+'",sizingMethod=scale);')}var e=t.wA-t.yO,n;for(n in i){if(e<=0)break;if(!t.sf[n]){i[n].il=p;var s=i[n].jb;if(s&&s.parentNode){s.parentNode.removeChild(s);Bc(s)}s=p;i[n].jb=p;delete i[n];t.wA--;e--}}Cc&&new sb({Sc:20,duration:200,qa:function(t){if(h.jb&&h.jb.style)h.jb.style.opacity=t*1},finish:function(){h.jb&&h.jb.style&&delete h.jb.style.opacity}});vc(h)}};this.jb.onerror=function(){vc(h);if(h.il){var t=h.il.map.ma();if(t.k.Ty){h.error=o;h.jb.src=t.k.Ty;h.jb&&!yb(h.jb)&&a.ub.appendChild(h.jb)}}};n=p}function xc(t,i){t.zr.push(i)}function Ac(t){t.jb.src=0<v.R.aa&&6>=v.R.aa&&t.hE?D.da+"blank.gif":""!==t.src&&t.jb.src==t.src?t.src+"&t = "+Date.now():t.src}function vc(t){for(var i=0;i<t.zr.length;i++)t.zr[i]();t.zr.length=0}function Bc(t){if(t){t.onload=t.onerror=p;var i=t.attributes,e,n,o;if(i){n=i.length;for(e=0;e<n;e+=1)o=i[e].name,Ua(t[o])&&(t[o]=p)}if(i=t.children){n=i.length;for(e=0;e<n;e+=1)Bc(t.children[e])}}}function wc(t,i){t.src=i;Ac(t)}var Cc=!v.R.aa||8<v.R.aa;function uc(t){this.fn=t||{};this.SO=this.fn.copyright||p;this.WT=this.fn.transparentPng||q;this.Ws=this.fn.baseLayer||q;this.zIndex=this.fn.zIndex||0;this.Q=uc.cM++}uc.cM=0;v.lang.ga(uc,v.lang.oa,"TileLayer");v.extend(uc.prototype,{ea:function(t,i){this.Ws&&(this.zIndex=-100);this.map=t;if(!this.ub){var e=L("div"),n=e.style;n.position="absolute";n.overflow="visible";n.zIndex=this.zIndex;n.left=Math.ceil(-t.offsetX+t.width/2)+"px";n.top=Math.ceil(-t.offsetY+t.height/2)+"px";i.appendChild(e);this.ub=e}e=t.ma();t.gj()&&e==La&&(e.k.Vb=128,n=function(t){return Math.pow(2,18-t)*2},e.ac=n,e.k.Hd.ac=n)},remove:function(){this.ub&&this.ub.parentNode&&(this.ub.innerHTML="",this.ub.parentNode.removeChild(this.ub));delete this.ub},nq:u("WT"),getTilesUrl:function(t,i){var e="";this.fn.tileUrlTemplate&&(e=this.fn.tileUrlTemplate.replace(/\{X\}/,t.x),e=e.replace(/\{Y\}/,t.y),e=e.replace(/\{Z\}/,i));return e},Pk:u("SO"),ma:function(){return this.rb||La}});function Dc(t,i){Gb(t)?i=t||{}:(i=i||{},i.databoxId=t);this.k={fF:i.databoxId,Uf:i.geotableId,Au:i.q||"",Xq:i.tags||"",filter:i.filter||"",Vu:i.sortby||"",vT:i.styleId||"",tk:i.ak||oa,Ss:i.age||36e5,zIndex:11,ER:"VectorCloudLayer",hj:i.hotspotName||"vector_md_"+(1e5*Math.random()).toFixed(0),dO:"LBS云麻点层"};this.Ym=o;uc.call(this,this.k);this.iP=C.fc+"geosearch/detail/";this.jP=C.fc+"geosearch/v2/detail/";this.Um={}}v.ga(Dc,uc,"VectorCloudLayer");function Ec(t){t=t||{};this.k=v.extend(t,{zIndex:1,ER:"VectorTrafficLayer",dO:"矢量路况层"});this.Ym=o;uc.call(this,this.k);this.ST=C.url.proto+C.url.domain.vector_traffic+"/gvd/?qt=lgvd&styles=pl&layers=tf";this.qc={0:[2,1354709503,2,2,0,[],0,0],1:[2,1354709503,3,2,0,[],0,0],10:[2,-231722753,2,2,0,[],0,0],11:[2,-231722753,3,2,0,[],0,0],12:[2,-231722753,4,2,0,[],0,0],13:[2,-231722753,5,2,0,[],0,0],14:[2,-231722753,6,2,0,[],0,0],15:[2,-1,4,0,0,[],0,0],16:[2,-1,5.5,0,0,[],0,0],17:[2,-1,7,0,0,[],0,0],18:[2,-1,8.5,0,0,[],0,0],19:[2,-1,10,0,0,[],0,0],2:[2,1354709503,4,2,0,[],0,0],3:[2,1354709503,5,2,0,[],0,0],4:[2,1354709503,6,2,0,[],0,0],5:[2,-6350337,2,2,0,[],0,0],6:[2,-6350337,3,2,0,[],0,0],7:[2,-6350337,4,2,0,[],0,0],8:[2,-6350337,5,2,0,[],0,0],9:[2,-6350337,6,2,0,[],0,0]}}v.ga(Ec,uc,"VectorTrafficLayer");function $a(t){this.zO=[C.url.proto+C.url.domain.TILE_ONLINE_URLS[1]+"/gvd/?",C.url.proto+C.url.domain.TILE_ONLINE_URLS[2]+"/gvd/?",C.url.proto+C.url.domain.TILE_ONLINE_URLS[3]+"/gvd/?",C.url.proto+C.url.domain.TILE_ONLINE_URLS[4]+"/gvd/?"];this.k={DF:q};for(var i in t)this.k[i]=t[i];this.Pg=this.xg=this.mc=this.A=this.B=p;this.SG=0;var e=this;K.load("vector",function(){e.ze()})}v.extend($a.prototype,{ea:function(t,i){this.B=t;this.A=i},remove:function(){this.A=this.B=p}});function Fc(t){uc.call(this,t);this.k=t||{};this.KG=o;this.zf=new Ec;this.zf.$u=this;if(this.k.predictDate){if(1>this.k.predictDate.weekday||7<this.k.predictDate.weekday)this.k.predictDate=1;if(0>this.k.predictDate.hour||23<this.k.predictDate.hour)this.k.predictDate.hour=0}this.LN=C.url.proto+C.url.domain.traffic+":8002/traffic/"}Fc.prototype=new uc;Fc.prototype.ea=function(t,i){uc.prototype.ea.call(this,t,i);this.B=t};Fc.prototype.nq=da(o);Fc.prototype.getTilesUrl=function(t,i){var e="";this.k.predictDate?e="HistoryService?day="+(this.k.predictDate.weekday-1)+"&hour="+this.k.predictDate.hour+"&t="+(new Date).getTime()+"&":(e="TrafficTileService?time="+(new Date).getTime()+"&",this.B.gj()||(e+="label=web2D&v=016&"));return(this.LN+e+"level="+i+"&x="+t.x+"&y="+t.y).replace(/-(\d+)/gi,"M$1")};var Gc=[C.url.proto+C.url.domain.TILES_YUN_HOST[0]+"/georender/gss",C.url.proto+C.url.domain.TILES_YUN_HOST[1]+"/georender/gss",C.url.proto+C.url.domain.TILES_YUN_HOST[2]+"/georender/gss",C.url.proto+C.url.domain.TILES_YUN_HOST[3]+"/georender/gss"],Hc=100;function kb(t,i){uc.call(this);var e=this;this.KG=o;var n=q;try{document.createElement("canvas").getContext("2d"),n=o}catch(t){n=q}n&&(this.zf=new Dc(t,i),this.zf.$u=this);Gb(t)?i=t||{}:(e.oo=t,i=i||{});i.geotableId&&(e.ef=i.geotableId);i.databoxId&&(e.oo=i.databoxId);n=C.fc+"geosearch";e.dd={mS:i.pointDensity||Hc,cR:n+"/detail/",dR:n+"/v2/detail/",Ss:i.age||36e5,Au:i.q||"",GT:"png",rW:[5,5,5,5],DR:{backgroundColor:"#FFFFD5",borderColor:"#808080"},tk:i.ak||oa,Xq:i.tags||"",filter:i.filter||"",Vu:i.sortby||"",hj:i.hotspotName||"tile_md_"+(1e5*Math.random()).toFixed(0)};K.load("clayer",function(){e.Md()})}kb.prototype=new uc;kb.prototype.ea=function(t,i){uc.prototype.ea.call(this,t,i);this.B=t};kb.prototype.getTilesUrl=function(t,i){var e=t.x,n=t.y,o=this.dd,e=Gc[Math.abs(e+n)%Gc.length]+"/image?grids="+e+"_"+n+"_"+i+"&q="+o.Au+"&tags="+o.Xq+"&filter="+o.filter+"&sortby="+o.Vu+"&ak="+this.dd.tk+"&age="+o.Ss+"&page_size="+o.mS+"&format="+o.GT;this.ef?e+="&geotable_id="+this.ef:this.oo&&(e+="&databox_id="+this.oo);return e};kb.nN=/^point\(|\)$/gi;kb.oN=/\s+/;kb.qN=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function Ic(t,i,e){this.ee=t;this.Jo=i instanceof uc?[i]:i.slice(0);e=e||{};this.k={HT:e.tips||"",bA:"",Vc:e.minZoom||3,Fd:e.maxZoom||18,aR:e.minZoom||3,$Q:e.maxZoom||18,Vb:256,FT:e.textColor||"black",Ty:e.errorImageUrl||"",Hd:e.projection||new Q};1<=this.Jo.length&&(this.Jo[0].Ws=o);v.extend(this.k,e)}v.extend(Ic.prototype,{getName:u("ee"),cq:function(){return this.k.HT},aW:function(){return this.k.bA},MQ:function(){return this.Jo[0]},mW:u("Jo"),NQ:function(){return this.k.Vb},Im:function(){return this.k.Vc},Rk:function(){return this.k.Fd},setMaxZoom:function(t){this.k.Fd=t},bq:function(){return this.k.FT},Nm:function(){return this.k.Hd},WV:function(){return this.k.Ty},NQ:function(){return this.k.Vb},ac:function(t){return Math.pow(2,18-t)},kG:function(t){return this.ac(t)*this.k.Vb}});var Jc=[C.url.proto+C.url.domain.TILE_BASE_URLS[0]+"/it/",C.url.proto+C.url.domain.TILE_BASE_URLS[1]+"/it/",C.url.proto+C.url.domain.TILE_BASE_URLS[2]+"/it/",C.url.proto+C.url.domain.TILE_BASE_URLS[3]+"/it/",C.url.proto+C.url.domain.TILE_BASE_URLS[4]+"/it/"],Kc=[C.url.proto+C.url.domain.TILE_ONLINE_URLS[0]+"/tile/",C.url.proto+C.url.domain.TILE_ONLINE_URLS[1]+"/tile/",C.url.proto+C.url.domain.TILE_ONLINE_URLS[2]+"/tile/",C.url.proto+C.url.domain.TILE_ONLINE_URLS[3]+"/tile/",C.url.proto+C.url.domain.TILE_ONLINE_URLS[4]+"/tile/"],Lc={dark:"dl",light:"ll",normal:"pl"},Mc=new uc;Mc.mT=o;Mc.getTilesUrl=function(t,i,e){var n=t.x,t=t.y,o="pl",a=1;this.map.gj();!F()&&2<=window.devicePixelRatio&&(a=2);o=Lc[e];return(Kc[Math.abs(n+t)%Kc.length]+"?qt=tile&x="+(n+"").replace(/-/gi,"M")+"&y="+(t+"").replace(/-/gi,"M")+"&z="+i+"&styles="+o+"&scaler="+a+(6==v.R.aa?"&color_dep=32&colors=50":"")+"&udt=20141103").replace(/-(\d+)/gi,"M$1")};var La=new Ic("地图",Mc,{tips:"显示普通地图"}),Nc=new uc;Nc.wI=[C.url.proto+C.url.domain.TIlE_PERSPECT_URLS[0]+"/resource/mappic/",C.url.proto+C.url.domain.TIlE_PERSPECT_URLS[1]+"/resource/mappic/",C.url.proto+C.url.domain.TIlE_PERSPECT_URLS[2]+"/resource/mappic/",C.url.proto+C.url.domain.TIlE_PERSPECT_URLS[3]+"/resource/mappic/"];Nc.getTilesUrl=function(t,i){var e=t.x,n=t.y,o=256*Math.pow(2,20-i),n=Math.round((9998336-o*n)/o)-1;return url=this.wI[Math.abs(e+n)%this.wI.length]+this.map.Cb+"/"+this.map.$s+"/3/lv"+(21-i)+"/"+e+","+n+".jpg"};var Na=new Ic("三维",Nc,{tips:"显示三维地图",minZoom:15,maxZoom:20,textColor:"white",projection:new db});Na.ac=function(t){return Math.pow(2,20-t)};Na.Yi=function(t){if(!t)return"";var i=D.Tx,e;for(e in i)if(-1<t.search(e))return i[e].yu;return""};Na.NF=function(t){return{bj:2,gz:1,sz:14,sh:4}[t]};var Oc=new uc({Ws:o});Oc.getTilesUrl=function(t,i){var e=t.x,n=t.y;return(Jc[Math.abs(e+n)%Jc.length]+"u=x="+e+";y="+n+";z="+i+";v=009;type=sate&fm=46&udt=20141015").replace(/-(\d+)/gi,"M$1")};var Va=new Ic("卫星",Oc,{tips:"显示卫星影像",minZoom:1,maxZoom:19,textColor:"white"}),Pc=new uc({transparentPng:o});Pc.getTilesUrl=function(t,i){var e=t.x,n=t.y;return(Kc[Math.abs(e+n)%Kc.length]+"?qt=tile&x="+(e+"").replace(/-/gi,"M")+"&y="+(n+"").replace(/-/gi,"M")+"&z="+i+"&styles=sl"+(6==v.R.aa?"&color_dep=32&colors=50":"")+"&udt=20141015").replace(/-(\d+)/gi,"M$1")};var Pa=new Ic("混合",[Oc,Pc],{tips:"显示带有街道的卫星影像",labelText:"路网",minZoom:1,maxZoom:19,textColor:"white"});var Qc=1,U={};window.sU=U;function V(t,i){v.lang.oa.call(this);this.Oc={};this.ul(t);i=i||{};i.W=i.renderOptions||{};this.k={W:{Aa:i.W.panel||p,map:i.W.map||p,Nf:i.W.autoViewport||o,Dq:i.W.selectFirstResult,hq:i.W.highlightMode,$b:i.W.enableDragging||q},ru:i.onSearchComplete||s(),DH:i.onMarkersSet||s(),CH:i.onInfoHtmlSet||s(),FH:i.onResultsHtmlSet||s(),BH:i.onGetBusListComplete||s(),AH:i.onGetBusLineComplete||s(),zH:i.onBusListHtmlSet||s(),yH:i.onBusLineHtmlSet||s(),mA:i.onPolylinesSet||s(),ln:i.reqFrom||""};this.k.W.Nf="undefined"!=typeof i&&"undefined"!=typeof i.renderOptions&&"undefined"!=typeof i.renderOptions.autoViewport?i.renderOptions.autoViewport:o;this.k.W.Aa=v.Xb(this.k.W.Aa)}v.ga(V,v.lang.oa);v.extend(V.prototype,{getResults:function(){return this.Zb?this.xh:this.U},enableAutoViewport:function(){this.k.W.Nf=o},disableAutoViewport:function(){this.k.W.Nf=q},ul:function(t){t&&(this.Oc.src=t)},QA:function(t){this.k.ru=t||s()},setMarkersSetCallback:function(t){this.k.DH=t||s()},setPolylinesSetCallback:function(t){this.k.mA=t||s()},setInfoHtmlSetCallback:function(t){this.k.CH=t||s()},setResultsHtmlSetCallback:function(t){this.k.FH=t||s()},Uk:u("ge")});var Rc={OB:C.fc,bb:function(t,i,e,n,o){var a=(1e5*Math.random()).toFixed(0);C._rd["_cbk"+a]=function(i){e=e||{};t&&t(i,e);delete C._rd["_cbk"+a]};n=n||"";i=e&&e.NI?Eb(i,encodeURI):Eb(i,encodeURIComponent);this.OB=e&&e.Bt?"http://map.baidu.com/":C.fc;n=this.OB+n+"?"+i+"&ie=utf-8&oue=1&fromproduct=jsapi";o||(n+="&res=api");fb(n+("&callback=BMap._rd._cbk"+a))}};window.yU=Rc;C._rd={};var O={};window.xU=O;O.XH=function(t){return t.replace(/<\/?b>/g,"")};O.hS=function(t){return t.replace(/([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*),([1-9]\d*\.\d*|0\.\d*[1-9]\d*|0?\.0+|0|[1-9]\d*)(,)/g,"$1,$2;")};O.iS=function(t,i){return t.replace(RegExp("(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);)(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);){"+i+"}","ig"),"$1")};var Sc=2,Tc=3,Uc=0,Vc="bt",Wc="nav",Xc="walk",Yc="bl",Zc="bsl",$c=14,ad=15,bd=18,cd=20,dd=31;C.I=window.Instance=v.lang.gd;function ed(t,i,e){v.lang.oa.call(this);if(t){this.Ga="object"==typeof t?t:v.Xb(t);this.page=1;this.Wc=100;this.DE="pg";this.Te=4;this.KE=i;this.update=o;t={page:1,xe:100,Wc:100,Te:4,DE:"pg",update:o};e||(e=t);for(var n in e)"undefined"!=typeof e[n]&&(this[n]=e[n]);this.qa()}}v.extend(ed.prototype,{qa:function(){this.ea()},ea:function(){this.DO();this.Ga.innerHTML=this.ZO()},DO:function(){isNaN(parseInt(this.page))&&(this.page=1);isNaN(parseInt(this.Wc))&&(this.Wc=1);1>this.page&&(this.page=1);1>this.Wc&&(this.Wc=1);this.page>this.Wc&&(this.page=this.Wc);this.page=parseInt(this.page);this.Wc=parseInt(this.Wc)},eW:function(){location.search.match(RegExp("[?&]?"+this.DE+"=([^&]*)[&$]?","gi"));this.page=RegExp.$1},ZO:function(){var t=[],i=this.page-1,e=this.page+1;t.push('<p style="margin:0;padding:0;white-space:nowrap">');if(!(1>i)){if(this.page>=this.Te){var n;t.push('<span style="margin-right:3px"><a style="color:#7777cc" href="javascript:void(0)" onclick="{temp1}">首页</a></span>'.replace("{temp1}","BMap.I('"+this.Q+"').toPage(1);"))}t.push('<span style="margin-right:3px"><a style="color:#7777cc" href="javascript:void(0)" onclick="{temp2}">上一页</a></span>'.replace("{temp2}","BMap.I('"+this.Q+"').toPage("+i+");"))}if(this.page<this.Te)n=0==this.page%this.Te?this.page-this.Te-1:this.page-this.page%this.Te+1,i=n+this.Te-1;else{n=Math.floor(this.Te/2);var o=this.Te%2-1,i=this.Wc>this.page+n?this.page+n:this.Wc;n=this.page-n-o}this.page>this.Wc-this.Te&&this.page>=this.Te&&(n=this.Wc-this.Te+1,i=this.Wc);for(o=n;o<=i;o++)0<o&&(o==this.page?t.push('<span style="margin-right:3px">'+o+"</span>"):1<=o&&o<=this.Wc&&(n='<span><a style="color:#7777cc;margin-right:3px" href="javascript:void(0)" onclick="{temp3}">['+o+"]</a></span>",t.push(n.replace("{temp3}","BMap.I('"+this.Q+"').toPage("+o+");"))));e>this.Wc||t.push('<span><a style="color:#7777cc" href="javascript:void(0)" onclick="{temp4}">下一页</a></span>'.replace("{temp4}","BMap.I('"+this.Q+"').toPage("+e+");"));t.push("</p>");return t.join("")},toPage:function(t){t=t?t:1;"function"==typeof this.KE&&(this.KE(t),this.page=t);this.update&&this.qa()}});function Za(t,i){V.call(this,t,i);i=i||{};i.renderOptions=i.renderOptions||{};this.An(i.pageCapacity);"undefined"!=typeof i.renderOptions.selectFirstResult&&!i.renderOptions.selectFirstResult?this.uy():this.Ny();this.la=[];this.ye=[];this.Sa=-1;this.La=[];var e=this;K.load("local",function(){e.Nv()},o)}v.ga(Za,V,"LocalSearch");Za.Nn=10;Za.vU=1;Za.Gl=100;Za.DB=2e3;Za.MB=1e5;v.extend(Za.prototype,{search:function(t,i){this.La.push({method:"search",arguments:[t,i]})},rl:function(t,i,e){this.La.push({method:"searchInBounds",arguments:[t,i,e]})},vn:function(t,i,e,n){this.La.push({method:"searchNearby",arguments:[t,i,e,n]})},Xd:function(){delete this.ta;delete this.ge;delete this.U;delete this.S;this.Sa=-1;this.Za();this.k.W.Aa&&(this.k.W.Aa.innerHTML="")},Yk:s(),Ny:function(){this.k.W.Dq=o},uy:function(){this.k.W.Dq=q},An:function(t){this.k.mj="number"==typeof t&&!isNaN(t)?1>t?Za.Nn:t>Za.Gl?Za.Nn:t:Za.Nn},pe:function(){return this.k.mj},toString:da("LocalSearch")});var fd=Za.prototype;W(fd,{clearResults:fd.Xd,setPageCapacity:fd.An,getPageCapacity:fd.pe,gotoPage:fd.Yk,searchNearby:fd.vn,searchInBounds:fd.rl,search:fd.search,enableFirstResultSelection:fd.Ny,disableFirstResultSelection:fd.uy});function gd(t,i){V.call(this,t,i)}v.ga(gd,V,"BaseRoute");v.extend(gd.prototype,{Xd:s()});function hd(t,i){V.call(this,t,i);i=i||{};this.Iq(i.policy);this.An(i.pageCapacity);this.ud=Vc;this.qr=$c;this.rr=Qc;this.la=[];this.Sa=-1;this.La=[];var e=this;K.load("route",function(){e.Md()})}hd.Gl=100;hd.tJ=[0,1,0,0,0,0,0,0,2,0,0,0,1,1,1];v.ga(hd,gd,"TransitRoute");v.extend(hd.prototype,{Iq:function(t){this.k.Hc=0<=t&&4>=t?t:0},zw:function(t,i){this.La.push({method:"_internalSearch",arguments:[t,i]})},search:function(t,i){this.La.push({method:"search",arguments:[t,i]})},An:function(t){if("string"==typeof t&&(t=parseInt(t),isNaN(t))){
  4. this.k.mj=hd.Gl;return}this.k.mj="number"!=typeof t?hd.Gl:1<=t&&t<=hd.Gl?Math.round(t):hd.Gl},toString:da("TransitRoute"),zN:function(t){return t.replace(/\(.*\)/,"")}});var id=hd.prototype;W(id,{_internalSearch:id.zw});function jd(t,i){V.call(this,t,i);this.la=[];this.Sa=-1;this.La=[];var e=this,n=this.k.W;1!=n.hq&&2!=n.hq&&(n.hq=1);this.cw=this.k.W.$b?o:q;K.load("route",function(){e.Md()});this.Qz&&this.Qz()}jd.GJ=" 环岛 无属性道路 主路 高速连接路 交叉点内路段 连接道路 停车场内部道路 服务区内部道路 桥 步行街 辅路 匝道 全封闭道路 未定义交通区域 POI连接路 隧道 步行道 公交专用道 提前右转道".split(" ");v.ga(jd,gd,"DWRoute");v.extend(jd.prototype,{search:function(t,i,e){this.La.push({method:"search",arguments:[t,i,e]})}});function kd(t,i){jd.call(this,t,i);i=i||{};this.k.cf=i.enableTraffic||q;this.Iq(i.policy);this.ud=Wc;this.qr=cd;this.rr=Tc}v.ga(kd,jd,"DrivingRoute");kd.prototype.Iq=function(t){this.k.Hc=0<=t&&2>=t?t:0};function ld(t,i){jd.call(this,t,i);this.ud=Xc;this.qr=dd;this.rr=Sc;this.cw=q}v.ga(ld,jd,"WalkingRoute");function md(t,i){v.lang.oa.call(this);this.Se=[];this.ml=[];this.k=i;this.Kb=t;this.map=this.k.W.map||p;this.Iu=this.k.Iu;this.eb=p;this.Vh=0;this.Wu="";this.fd=1;this.Ct="";this.mn=[0,0,0,0,0,0,0];this.cA=[];this.Bp=[1,1,1,1,1,1,1];this.EI=[1,1,1,1,1,1,1];this.Bq=[0,0,0,0,0,0,0];this.nn=[0,0,0,0,0,0,0];this.ya=[{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1},{o:"",Je:0,Al:0,x:0,y:0,Ub:-1}];this.Ug=-1;this.Zq=[];this.$q=[];K.load("route",s())}v.lang.ga(md,v.lang.oa,"RouteAddr");function nd(t){this.k={};v.extend(this.k,t);this.La=[];var i=this;K.load("othersearch",function(){i.Md()})}v.ga(nd,v.lang.oa,"Geocoder");v.extend(nd.prototype,{Tk:function(t,i,e){this.La.push({method:"getPoint",arguments:[t,i,e]})},Yp:function(t,i,e){this.La.push({method:"getLocation",arguments:[t,i,e]})},toString:da("Geocoder")});var od=nd.prototype;W(od,{getPoint:od.Tk,getLocation:od.Yp});function Geolocation(t){t=t||{};this.F={timeout:t.timeout||1e4,maximumAge:t.maximumAge||6e5};this.yd=[];var i=this;K.load("othersearch",function(){for(var t=0,e;e=i.yd[t];t++)i[e.method].apply(i,e.arguments)})}v.extend(Geolocation.prototype,{getCurrentPosition:function(t,i){this.yd.push({method:"getCurrentPosition",arguments:arguments})},getStatus:da(2)});function pd(t){t=t||{};t.W=t.renderOptions||{};this.k={W:{map:t.W.map||p}};this.La=[];var i=this;K.load("othersearch",function(){i.Md()})}v.ga(pd,v.lang.oa,"LocalCity");v.extend(pd.prototype,{get:function(t){this.La.push({method:"get",arguments:[t]})},toString:da("LocalCity")});function qd(){this.La=[];var t=this;K.load("othersearch",function(){t.Md()})}v.ga(qd,v.lang.oa,"Boundary");v.extend(qd.prototype,{get:function(t,i){this.La.push({method:"get",arguments:[t,i]})},toString:da("Boundary")});function rd(t,i){V.call(this,t,i);this.DJ=Yc;this.FJ=ad;this.CJ=Zc;this.EJ=bd;this.La=[];var e=this;K.load("buslinesearch",function(){e.Md()})}rd.Sr=D.da+"iw_plus.gif";rd.gM=D.da+"iw_minus.gif";rd.HN=D.da+"stop_icon.png";v.ga(rd,V);v.extend(rd.prototype,{getBusList:function(t){this.La.push({method:"getBusList",arguments:[t]})},getBusLine:function(t){this.La.push({method:"getBusLine",arguments:[t]})},setGetBusListCompleteCallback:function(t){this.k.BH=t||s()},setGetBusLineCompleteCallback:function(t){this.k.AH=t||s()},setBusListHtmlSetCallback:function(t){this.k.zH=t||s()},setBusLineHtmlSetCallback:function(t){this.k.yH=t||s()},setPolylinesSetCallback:function(t){this.k.mA=t||s()}});function sd(t){V.call(this,t);t=t||{};this.dd={input:t.input||p,Lx:t.baseDom||p,types:t.types||[],ru:t.onSearchComplete||s()};this.Oc.src=t.location||"全国";this.Ph="";this.lf=p;this.$C="";this.Dh();Oa(Ia);var i=this;K.load("autocomplete",function(){i.Md()})}v.ga(sd,V,"Autocomplete");v.extend(sd.prototype,{Dh:s(),show:s(),J:s(),RA:function(t){this.dd.types=t},ul:function(t){this.Oc.src=t},search:ba("Ph"),Mu:ba("$C")});var Qa;function Ma(t,i){this.A="string"==typeof t?v.N(t):t;this.k={enableScrollWheelZoom:o,panoramaRenderer:"flash",swfSrc:C.fc+"res/swf/APILoader.swf",visible:o,linksControl:o,navigationControl:o,indoorSceneSwitchControl:o,albumsControl:q,albumsControlOptions:{},copyrightControlOptions:{}};var i=i||{},e;for(e in i)this.k[e]=i[e];this.va={heading:p,pitch:p};this.Wl=[];this.gb=this.Ya=p;this.ap=this.Pj();this.la=[];this.pc=1;this.jf=this.yM=this.zi="";this.Td={};this.He=p;this.Hf=[];this.To=[];this.Xo=q;var n=this;"flashRender"===this.Pj()?K.load("panoramaflash",function(){n.Dh()},o):K.load("panorama",function(){n.ob()},o);this.WM(this.A);"api"==i.Ne?Oa(Da):Oa(Ea);this.addEventListener("id_changed",function(){Oa(Ca,{from:i.Ne})})}var td=4,ud=1;v.lang.ga(Ma,v.lang.oa,"Panorama");v.extend(Ma.prototype,{WM:function(t){var i,e;i=t.style;e=Sa(t).position;"absolute"!=e&&"relative"!=e&&(i.position="relative",i.zIndex=0);if("absolute"===e||"relative"===e)if(t=Sa(t).zIndex,!t||"auto"===t)i.zIndex=0},nQ:u("Wl"),xb:u("Ya"),OQ:u("ys"),lI:u("ys"),T:u("gb"),Ia:u("va"),$:u("pc"),Wf:u("zi"),gW:function(){return this.WU||[]},cW:u("yM"),St:u("jf"),wl:function(t){t!==this.jf&&(this.jf=t,this.dispatchEvent(new N("onscene_type_changed")))},zc:function(t,i){t!=this.Ya&&(this.Uj=this.Ya,this.Tr=this.gb,this.Ya=t,this.jf=i||"street",this.gb=p)},ha:function(t){t.wb(this.gb)||(this.Uj=this.Ya,this.Tr=this.gb,this.gb=t,this.Ya=p)},Kd:function(t){t&&(this.va=t,t=this.va.pitch,"cvsRender"==this.Pj()?(90<t&&(t=90),-90>t&&(t=-90)):"cssRender"==this.Pj()&&(45<t&&(t=45),-45>t&&(t=-45)),this.Xo=o,this.va.pitch=t)},od:function(t){t!=this.pc&&(t>td&&(t=td),t<ud&&(t=ud),t!=this.pc&&(this.pc=t))},mx:function(){if(this.B)for(var t=this.B.Az(),i=0;i<t.length;i++)(t[i]instanceof T||t[i]instanceof gc)&&t[i].point&&this.la.push(t[i])},NA:ba("B"),Hq:function(t){this.He=t||"none"},zn:function(t){for(var i in t){if("object"==typeof t[i])for(var e in t[i])this.k[i][e]=t[i][e];else this.k[i]=t[i];switch(i){case"linksControl":this.dispatchEvent(new N("onlinks_visible_changed"));break;case"navigationControl":this.dispatchEvent(new N("onnavigation_visible_changed"));break;case"indoorSceneSwitchControl":this.dispatchEvent(new N("onindoor_default_switch_mode_changed"));break;case"albumsControl":this.dispatchEvent(new N("onalbums_visible_changed"));break;case"albumsControlOptions":this.dispatchEvent(new N("onalbums_options_changed"));break;case"copyrightControlOptions":this.dispatchEvent(new N("oncopyright_options_changed"))}}},fj:function(){this.$j.style.visibility="hidden"},Ru:function(){this.$j.style.visibility="visible"},KP:function(){this.k.enableScrollWheelZoom=o},qP:function(){this.k.enableScrollWheelZoom=q},show:function(){this.k.visible=o},J:function(){this.k.visible=q},Pj:function(){return Ra()&&!F()&&"javascript"!=this.k.panoramaRenderer?"flashRender":!F()&&Lb()?"cvsRender":"cssRender"},wa:function(t){this.Td[t.Dc]=t},sb:function(t){delete this.Td[t]},jG:function(){return this.k.visible},Vf:function(){return new M(this.A.clientWidth,this.A.clientHeight)},Da:u("A"),KF:function(){var t="http://map.baidu.com/?",i=this.xb();if(i){var i={panotype:this.St(),heading:this.Ia().heading,pitch:this.Ia().pitch,pid:i,panoid:i,from:"api"},e;for(e in i)t+=e+"="+i[e]+"&"}return t.slice(0,-1)},Xt:function(){this.zn({copyrightControlOptions:{logoVisible:q}})},UA:function(){this.zn({copyrightControlOptions:{logoVisible:o}})},Fx:function(t){function i(t,i){return function(){t.To.push({nH:i,mH:arguments})}}for(var e=t.getPanoMethodList(),n="",o=0,a=e.length;o<a;o++)n=e[o],this[n]=i(this,n);this.Hf.push(t)},zA:function(t){for(var i=this.Hf.length;i--;)this.Hf[i]===t&&this.Hf.splice(i,1)}});var X=Ma.prototype;W(X,{setId:X.zc,setPosition:X.ha,setPov:X.Kd,setZoom:X.od,setOptions:X.zn,getId:X.xb,getPosition:X.T,getPov:X.Ia,getZoom:X.$,getLinks:X.nQ,getBaiduMapUrl:X.KF,hideMapLogo:X.Xt,showMapLogo:X.UA,enableDoubleClickZoom:X.KV,disableDoubleClickZoom:X.BV,enableScrollWheelZoom:X.KP,disableScrollWheelZoom:X.qP,show:X.show,hide:X.J,addPlugin:X.Fx,removePlugin:X.zA,getVisible:X.jG,addOverlay:X.wa,removeOverlay:X.sb,getSceneType:X.St,setPanoramaPOIType:X.Hq});W(window,{BMAP_PANORAMA_POI_HOTEL:"hotel",BMAP_PANORAMA_POI_CATERING:"catering",BMAP_PANORAMA_POI_MOVIE:"movie",BMAP_PANORAMA_POI_TRANSIT:"transit",BMAP_PANORAMA_POI_INDOOR_SCENE:"indoor_scene",BMAP_PANORAMA_POI_NONE:"none",BMAP_PANORAMA_INDOOR_SCENE:"inter",BMAP_PANORAMA_STREET_SCENE:"street"});function vd(){v.lang.oa.call(this);this.Dc="PanoramaOverlay_"+this.Q;this.H=p;this.Ea=o}v.lang.ga(vd,v.lang.oa,"PanoramaOverlayBase");v.extend(vd.prototype,{dW:u("Dc"),ea:function(){aa("initialize方法未实现")},remove:function(){aa("remove方法未实现")},Jf:function(){aa("_setOverlayProperty方法未实现")}});function wd(t,i){vd.call(this);var e={position:p,altitude:2},i=i||{},n;for(n in i)e[n]=i[n];this.gb=e.position;this.wi=t;this.$n=e.altitude;this.va={heading:0,pitch:0}}v.lang.ga(wd,vd,"PanoramaLabel");v.extend(wd.prototype,{ha:function(t){this.gb=t;this.Jf("position",t)},T:u("gb"),yc:function(t){this.wi=t;this.Jf("content",t)},Zi:u("wi"),IA:function(t){this.$n=t;this.Jf("altitude",t)},Sp:u("$n"),Ia:function(){var t=p;if(this.H){var t=this.H.T(),i=this.T(),t=xd(i.lng-t.lng,i.lat-t.lat);isNaN(t)&&(t=0);t={heading:t,pitch:0}}else t=this.va;return t},J:function(){aa("hide方法未实现")},show:function(){aa("show方法未实现")}});var zd=wd.prototype;W(zd,{setPosition:zd.ha,getPosition:zd.T,setContent:zd.yc,getContent:zd.Zi,setAltitude:zd.IA,getAltitude:zd.Sp,getPov:zd.Ia,show:zd.show,hide:zd.J});function Ad(t,i){vd.call(this);var e={icon:"",title:"",panoInfo:p,altitude:2},i=i||{},n;for(n in i)e[n]=i[n];this.gb=t;this.XC=e.icon;this.fE=e.title;this.$n=e.altitude;this.MM=e.panoInfo;this.va={heading:0,pitch:0}}v.lang.ga(Ad,vd,"PanoramaMarker");v.extend(Ad.prototype,{ha:function(t){this.gb=t;this.Jf("position",t)},T:u("gb"),Wb:function(t){this.fE=t;this.Jf("title",t)},Qm:u("fE"),Lb:function(t){this.XC=icon;this.Jf("icon",t)},Hm:u("XC"),IA:function(t){this.$n=t;this.Jf("altitude",t)},Sp:u("$n"),Bz:u("MM"),Ia:function(){var t=p;if(this.H){var t=this.H.T(),i=this.T(),t=xd(i.lng-t.lng,i.lat-t.lat);isNaN(t)&&(t=0);t={heading:t,pitch:0}}else t=this.va;return t}});var Bd=Ad.prototype;W(Bd,{setPosition:Bd.ha,getPosition:Bd.T,setTitle:Bd.Wb,getTitle:Bd.Qm,setAltitude:Bd.IA,getAltitude:Bd.Sp,getPanoInfo:Bd.Bz,getIcon:Bd.Hm,setIcon:Bd.Lb,getPov:Bd.Ia});function xd(t,i){var e=180*(Math.atan(t/i)/Math.PI),n=0;0<t&&0>i&&(n=90);0>t&&0>i&&(n=180);0>t&&0<i&&(n=270);return Math.round((e+90)%90+n)}function S(t,i){this.H=t||p;var e=this;e.H&&e.P();K.load("pservice",function(){e.sK()});"api"==(i||{}).Ne?Oa(Fa):Oa(Ha);this.Lc={getPanoramaById:[],getPanoramaByLocation:[],getVisiblePOIs:[],getRecommendPanosById:[],getPanoramaVersions:[],checkPanoSupportByCityCode:[],getPanoramaByPOIId:[],getCopyrightProviders:[]}}C.ll(function(t){"flashRender"!==t.Pj()&&new S(t,{Ne:"api"})});v.extend(S.prototype,{P:function(){function t(t){if(t){if(t.id!=i.ys){i.lI(t.id);var e=new N("ondataload");e.data=t;i.Ya=t.id;i.gb=t.position;i.TU=t.nj;i.UU=t.oj;i.zi=t.description;i.Wl=t.links;i.ja=t;i.dispatchEvent(e);i.dispatchEvent(new N("onposition_changed"));i.dispatchEvent(new N("onlinks_changed"));i.dispatchEvent(new N("oncopyright_changed"),{copyright:t.copyright});t.Oi?v.C.show(i.fw):v.C.J(i.fw)}}else i.Ya=i.Uj,i.gb=i.Tr,i.dispatchEvent(new N("onnoresult"))}var i=this.H,e=this;i.addEventListener("id_changed",function(){e.Lm(i.xb(),t)});i.addEventListener("iid_changed",function(){e.Mg(S.Hj+"qt=idata&iid="+i.vw+"&fn=",function(i){if(i&&i.result&&0==i.result.error){var i=i.content[0].interinfo,n={};n.Oi=i.BreakID;for(var o=i.Defaultfloor,a=p,s=0;s<i.Floors.length;s++)if(i.Floors[s].Floor==o){a=i.Floors[s];break}n.id=a.StartID||a.Points[0].PID;e.Lm(n.id,t,n)}})});i.addEventListener("position_changed_inner",function(){e.bi(i.T(),t)})},Lm:function(t,i){this.Lc.getPanoramaById.push(arguments)},bi:function(t,i,e){this.Lc.getPanoramaByLocation.push(arguments)},Jz:function(t,i,e,n){this.Lc.getVisiblePOIs.push(arguments)},Rt:function(t,i){this.Lc.getRecommendPanosById.push(arguments)},Qt:function(t){this.Lc.getPanoramaVersions.push(arguments)},Rx:function(t,i){this.Lc.checkPanoSupportByCityCode.push(arguments)},Pt:function(t,i){this.Lc.getPanoramaByPOIId.push(arguments)},OF:function(t){this.Lc.getCopyrightProviders.push(arguments)}});var Cd=S.prototype;W(Cd,{getPanoramaById:Cd.Lm,getPanoramaByLocation:Cd.bi,getPanoramaByPOIId:Cd.Pt});function Ub(t){uc.call(this);"api"==(t||{}).Ne?Oa(Aa):Oa(Ba)}Ub.SB=["http://pcsv0.map.bdimg.com/tile/","http://pcsv1.map.bdimg.com/tile/"];Ub.prototype=new uc;Ub.prototype.getTilesUrl=function(t,i){var e=Ub.SB[(t.x+t.y)%Ub.SB.length]+"?udt=v&qt=tile&styles=pl&x="+t.x+"&y="+t.y+"&z="+i;v.R.aa&&6>=v.R.aa&&(e+="&color_dep=32");return e};Ub.prototype.nq=da(o);Dd.de=new Q;function Dd(){}v.extend(Dd,{rP:function(t,i,e){e=v.lang.gd(e);i={data:i};"position_changed"==t&&(i.data=Dd.de.jh(new P(i.data.mercatorX,i.data.mercatorY)));e.dispatchEvent(new N("on"+t),i)}});var Ed=Dd;W(Ed,{dispatchFlashEvent:Ed.rP});var Fd={vJ:50,sr:"http://pcsv0.map.bdimg.com",or:{width:220,height:60}};v.extend(Fd,{Wm:function(t,i,e,n){if(!i||!e||!e.lngLat||!e.panoInstance)n();else{this.bm===j&&(this.bm=new S(p,{Ne:"api"}));var o=this;this.bm.Rx(i,function(i){i?o.bm.bi(e.lngLat,Fd.vJ,function(i){if(i&&i.id){var a=i.id,s=i.nj,i=i.oj,h=S.de.eg(e.lngLat),r=o.OL(h,{x:s,y:i}),s=o.XF(a,r,0,Fd.or.width,Fd.or.height);t.content=o.PL(t.content,s,e.titleTip,e.beforeDomId);t.addEventListener("open",function(){ja.D(v.Xb("infoWndPano"),"click",function(){e.panoInstance.zc(a);e.panoInstance.show();e.panoInstance.Kd({heading:r,pitch:0})})})}n()}):n()})}},PL:function(t,i,e,n){var e=e||"",o;!n||!t.split(n)[0]?(n=t,t=""):(n=t.split(n)[0],o=n.lastIndexOf("<"),n=t.substring(0,o),t=t.substring(o));o=[];var a=Fd.or.width,s=Fd.or.height;o.push(n);o.push("<div id='infoWndPano' class='panoInfoBox' style='height:"+s+"px;width:"+a+"px; margin-top: -19px;'>");o.push("<img class='pano_thumnail_img' width='"+a+"' height='"+s+"' border='0' alt='"+e+"外景' title='"+e+"外景' src='"+i+"' onerror='Pano.PanoEntranceUtil.thumbnailNotFound(this, "+a+", "+s+");' />");o.push("<div class='panoInfoBoxTitleBg' style='width:"+a+"px;'></div><a href='javascript:void(0)' class='panoInfoBoxTitleContent' >进入全景&gt;&gt;</a>");o.push("</div>");o.push(t);return o.join("")},OL:function(t,i){var e=90-180*Math.atan2(t.y-i.y,t.x-i.x)/Math.PI;0>e&&(e+=360);return e},XF:function(t,i,e,n,o){var a={panoId:t,panoHeading:i||0,panoPitch:e||0,width:n,height:o};return(Fd.sr+"/?qt=pr3d&fovy=75&quality=80&panoid={panoId}&heading={panoHeading}&pitch={panoPitch}&width={width}&height={height}").replace(/\{(.*?)\}/g,function(t,i){return a[i]})}});C.Map=Ka;C.Hotspot=eb;C.MapType=Ic;C.Point=I;C.Pixel=P;C.Size=M;C.Bounds=bb;C.TileLayer=uc;C.Projection=Xb;C.MercatorProjection=Q;C.PerspectiveProjection=db;C.Copyright=function(t,i,e){this.id=t;this.Pa=i;this.content=e};C.Overlay=Zb;C.Label=gc;C.GroundOverlay=hc;C.PointCollection=lc;C.Marker=T;C.Icon=cc;C.IconSequence=ec;C.Symbol=dc;C.Polyline=pc;C.Polygon=oc;C.InfoWindow=fc;C.Circle=rc;C.Control=R;C.NavigationControl=gb;C.GeolocationControl=Qb;C.OverviewMapControl=ib;C.CopyrightControl=Rb;C.ScaleControl=hb;C.MapTypeControl=jb;C.PanoramaControl=Tb;C.TrafficLayer=Fc;C.CustomLayer=kb;C.ContextMenu=Vb;C.MenuItem=Wb;C.LocalSearch=Za;C.TransitRoute=hd;C.DrivingRoute=kd;C.WalkingRoute=ld;C.Autocomplete=sd;C.Geocoder=nd;C.LocalCity=pd;C.Geolocation=Geolocation;C.BusLineSearch=rd;C.Boundary=qd;C.VectorCloudLayer=Dc;C.VectorTrafficLayer=Ec;C.Panorama=Ma;C.PanoramaLabel=wd;C.PanoramaService=S;C.PanoramaCoverageLayer=Ub;C.PanoramaFlashInterface=Dd;function W(t,i){for(var e in i)t[e]=i[e]}W(window,{BMap:C,_jsload2:function(t,i){ja.Xu.xR&&ja.Xu.set(t,i);K.CO(t,i)},BMAP_API_VERSION:"2.0"});var Y=Ka.prototype;W(Y,{getBounds:Y.Oe,getCenter:Y.Fa,getMapType:Y.ma,getSize:Y.yb,setSize:Y.Zc,getViewport:Y.dq,getZoom:Y.$,centerAndZoom:Y.zd,panTo:Y.hh,panBy:Y.wf,setCenter:Y.Ue,setCurrentCity:Y.LA,setMapType:Y.xf,setViewport:Y.og,setZoom:Y.od,highResolutionEnabled:Y.gj,zoomTo:Y.Bf,zoomIn:Y.oB,zoomOut:Y.pB,addHotspot:Y.Os,removeHotspot:Y.vS,clearHotspots:Y.Ak,checkResize:Y.EO,addControl:Y.Ms,removeControl:Y.WH,getContainer:Y.Da,addContextMenu:Y.mm,removeContextMenu:Y.kn,addOverlay:Y.wa,removeOverlay:Y.sb,clearOverlays:Y.TE,openInfoWindow:Y.hc,closeInfoWindow:Y.tc,pointToOverlayPixel:Y.$d,overlayPixelToPoint:Y.LH,getInfoWindow:Y.Yf,getOverlays:Y.Az,getPanes:function(){return{floatPane:this.xd.$y,markerMouseTarget:this.xd.fA,floatShadow:this.xd.FF,labelPane:this.xd.aA,markerPane:this.xd.hH,markerShadow:this.xd.iH,mapPane:this.xd.rq}},addTileLayer:Y.Mf,removeTileLayer:Y.mg,pixelToPoint:Y.ib,pointToPixel:Y.Db,setFeatureStyle:Y.MA,selectBaseElement:Y.gX,setMapStyle:Y.yn,enable3DBuilding:Y.Bm,disable3DBuilding:Y.nP});var Gd=Ic.prototype;W(Gd,{getTileLayer:Gd.MQ,getMinZoom:Gd.Im,getMaxZoom:Gd.Rk,getProjection:Gd.Nm,getTextColor:Gd.bq,getTips:Gd.cq});W(window,{BMAP_NORMAL_MAP:La,BMAP_PERSPECTIVE_MAP:Na,BMAP_SATELLITE_MAP:Va,BMAP_HYBRID_MAP:Pa});var Hd=Q.prototype;W(Hd,{lngLatToPoint:Hd.eg,pointToLngLat:Hd.jh});var Id=db.prototype;W(Id,{lngLatToPoint:Id.eg,pointToLngLat:Id.jh});var Jd=bb.prototype;W(Jd,{equals:Jd.wb,containsPoint:Jd.ft,containsBounds:Jd.QO,intersects:Jd.Rz,extend:Jd.extend,getCenter:Jd.Fa,isEmpty:Jd.ji,getSouthWest:Jd.Yd,getNorthEast:Jd.Pe,toSpan:Jd.gB});var Kd=Zb.prototype;W(Kd,{isVisible:Kd.dg,show:Kd.show,hide:Kd.J});Zb.getZIndex=Zb.Xk;var Ld=cb.prototype;W(Ld,{openInfoWindow:Ld.hc,closeInfoWindow:Ld.tc,enableMassClear:Ld.$h,disableMassClear:Ld.pP,show:Ld.show,hide:Ld.J,getMap:Ld.Kt,addContextMenu:Ld.mm,removeContextMenu:Ld.kn});var Md=T.prototype;W(Md,{setIcon:Md.Lb,getIcon:Md.Hm,setPosition:Md.ha,getPosition:Md.T,setOffset:Md.Id,getOffset:Md.Zf,getLabel:Md.tz,setLabel:Md.tl,setTitle:Md.Wb,setTop:Md.mh,enableDragging:Md.$b,disableDragging:Md.ty,setZIndex:Md.Nq,getMap:Md.Kt,setAnimation:Md.sl,setShadow:Md.Ou,hide:Md.J,setRotation:Md.Bn,getRotation:Md.bG});W(window,{BMAP_ANIMATION_DROP:1,BMAP_ANIMATION_BOUNCE:2});var Nd=gc.prototype;W(Nd,{setStyle:Nd.$c,setStyles:Nd.lh,setContent:Nd.yc,setPosition:Nd.ha,getPosition:Nd.T,setOffset:Nd.Id,getOffset:Nd.Zf,setTitle:Nd.Wb,setZIndex:Nd.Nq,getMap:Nd.Kt,getContent:Nd.Zi});var Od=cc.prototype;W(Od,{setImageUrl:Od.aT,setSize:Od.Zc,setAnchor:Od.Sb,setImageOffset:Od.Fq,setImageSize:Od.ZS,setInfoWindowAnchor:Od.cT,setPrintImageUrl:Od.lT});var Pd=fc.prototype;W(Pd,{redraw:Pd.nd,setTitle:Pd.Wb,setContent:Pd.yc,getContent:Pd.Zi,getPosition:Pd.T,enableMaximize:Pd.Qf,disableMaximize:Pd.vt,isOpen:Pd.Ja,setMaxContent:Pd.Gq,maximize:Pd.ku,enableAutoPan:Pd.Np});var Qd=ac.prototype;W(Qd,{getPath:Qd.Cd,setPath:Qd.Jd,setPositionAt:Qd.vl,getStrokeColor:Qd.GQ,setStrokeWeight:Qd.Lq,getStrokeWeight:Qd.eG,setStrokeOpacity:Qd.Jq,getStrokeOpacity:Qd.HQ,setFillOpacity:Qd.Lu,getFillOpacity:Qd.gQ,setStrokeStyle:Qd.Kq,getStrokeStyle:Qd.dG,getFillColor:Qd.fQ,getBounds:Qd.Oe,enableEditing:Qd.Me,disableEditing:Qd.oP});var Rd=rc.prototype;W(Rd,{setCenter:Rd.Ue,getCenter:Rd.Fa,getRadius:Rd.ZF,setRadius:Rd.we});var Sd=oc.prototype;W(Sd,{getPath:Sd.Cd,setPath:Sd.Jd,setPositionAt:Sd.vl});var Td=eb.prototype;W(Td,{getPosition:Td.T,setPosition:Td.ha,getText:Td.Fz,setText:Td.Mq});I.prototype.equals=I.prototype.wb;P.prototype.equals=P.prototype.wb;M.prototype.equals=M.prototype.wb;W(window,{BMAP_ANCHOR_TOP_LEFT:Nb,BMAP_ANCHOR_TOP_RIGHT:Ob,BMAP_ANCHOR_BOTTOM_LEFT:Pb,BMAP_ANCHOR_BOTTOM_RIGHT:3});var Ud=R.prototype;W(Ud,{setAnchor:Ud.Sb,getAnchor:Ud.ez,setOffset:Ud.Id,getOffset:Ud.Zf,show:Ud.show,hide:Ud.J,isVisible:Ud.dg,toString:Ud.toString});var Vd=gb.prototype;W(Vd,{getType:Vd.Rm,setType:Vd.xl});W(window,{BMAP_NAVIGATION_CONTROL_LARGE:0,BMAP_NAVIGATION_CONTROL_SMALL:1,BMAP_NAVIGATION_CONTROL_PAN:2,BMAP_NAVIGATION_CONTROL_ZOOM:3});var Wd=ib.prototype;W(Wd,{changeView:Wd.Ad,setSize:Wd.Zc,getSize:Wd.yb});var Xd=hb.prototype;W(Xd,{getUnit:Xd.QQ,setUnit:Xd.SA});W(window,{BMAP_UNIT_METRIC:"metric",BMAP_UNIT_IMPERIAL:"us"});var Yd=Rb.prototype;W(Yd,{addCopyright:Yd.Ns,removeCopyright:Yd.yA,getCopyright:Yd.Pk,getCopyrightCollection:Yd.mz});W(window,{BMAP_MAPTYPE_CONTROL_HORIZONTAL:Sb,BMAP_MAPTYPE_CONTROL_DROPDOWN:1,BMAP_MAPTYPE_CONTROL_MAP:2});var Zd=uc.prototype;W(Zd,{getMapType:Zd.ma,getCopyright:Zd.Pk,isTransparentPng:Zd.nq});var $d=Vb.prototype;W($d,{addItem:$d.Ps,addSeparator:$d.Gx,removeSeparator:$d.AA});var ae=Wb.prototype;W(ae,{setText:ae.Mq});var be=V.prototype;W(be,{getStatus:be.Uk,setSearchCompleteCallback:be.QA,getPageCapacity:be.pe,setPageCapacity:be.An,setLocation:be.ul,disableFirstResultSelection:be.uy,enableFirstResultSelection:be.Ny,gotoPage:be.Yk,searchNearby:be.vn,searchInBounds:be.rl,search:be.search});W(window,{BMAP_STATUS_SUCCESS:0,BMAP_STATUS_CITY_LIST:1,BMAP_STATUS_UNKNOWN_LOCATION:2,BMAP_STATUS_UNKNOWN_ROUTE:3,BMAP_STATUS_INVALID_KEY:4,BMAP_STATUS_INVALID_REQUEST:5,BMAP_STATUS_PERMISSION_DENIED:6,BMAP_STATUS_SERVICE_UNAVAILABLE:7,BMAP_STATUS_TIMEOUT:8});W(window,{BMAP_POI_TYPE_NORMAL:0,BMAP_POI_TYPE_BUSSTOP:1,BMAP_POI_TYPE_BUSLINE:2,BMAP_POI_TYPE_SUBSTOP:3,BMAP_POI_TYPE_SUBLINE:4});W(window,{BMAP_TRANSIT_POLICY_LEAST_TIME:0,BMAP_TRANSIT_POLICY_LEAST_TRANSFER:2,BMAP_TRANSIT_POLICY_LEAST_WALKING:3,BMAP_TRANSIT_POLICY_AVOID_SUBWAYS:4,BMAP_LINE_TYPE_BUS:0,BMAP_LINE_TYPE_SUBWAY:1,BMAP_LINE_TYPE_FERRY:2});var ce=gd.prototype;W(ce,{clearResults:ce.Xd});id=hd.prototype;W(id,{setPolicy:id.Iq,toString:id.toString,setPageCapacity:id.An});W(window,{BMAP_DRIVING_POLICY_LEAST_TIME:0,BMAP_DRIVING_POLICY_LEAST_DISTANCE:1,BMAP_DRIVING_POLICY_AVOID_HIGHWAYS:2});W(window,{BMAP_HIGHLIGHT_STEP:1,BMAP_HIGHLIGHT_ROUTE:2});W(window,{BMAP_ROUTE_TYPE_DRIVING:Tc,BMAP_ROUTE_TYPE_WALKING:Sc});W(window,{BMAP_ROUTE_STATUS_NORMAL:Uc,BMAP_ROUTE_STATUS_EMPTY:1,BMAP_ROUTE_STATUS_ADDRESS:2});var de=kd.prototype;W(de,{setPolicy:de.Iq});var ee=sd.prototype;W(ee,{show:ee.show,hide:ee.J,setTypes:ee.RA,setLocation:ee.ul,search:ee.search,setInputValue:ee.Mu});W(kb.prototype,{});var fe=qd.prototype;W(fe,{get:fe.get});W(Ub.prototype,{});W($a.prototype,{});W(window,{BMAP_POINT_DENSITY_HIGH:200,BMAP_POINT_DENSITY_MEDIUM:Hc,BMAP_POINT_DENSITY_LOW:50});W(window,{BMAP_POINT_SHAPE_STAR:1,BMAP_POINT_SHAPE_WATERDROP:2,BMAP_POINT_SHAPE_CIRCLE:ic,BMAP_POINT_SHAPE_SQUARE:4,BMAP_POINT_SHAPE_RHOMBUS:5});W(window,{BMAP_POINT_SIZE_TINY:1,BMAP_POINT_SIZE_SMALLER:2,BMAP_POINT_SIZE_SMALL:3,BMAP_POINT_SIZE_NORMAL:jc,BMAP_POINT_SIZE_BIG:5,BMAP_POINT_SIZE_BIGGER:6,BMAP_POINT_SIZE_HUGE:7});W(window,{BMap_Symbol_SHAPE_CAMERA:11,BMap_Symbol_SHAPE_WARNING:12,BMap_Symbol_SHAPE_SMILE:13,BMap_Symbol_SHAPE_CLOCK:14,BMap_Symbol_SHAPE_POINT:9,BMap_Symbol_SHAPE_PLANE:10,BMap_Symbol_SHAPE_CIRCLE:1,BMap_Symbol_SHAPE_RECTANGLE:2,BMap_Symbol_SHAPE_RHOMBUS:3,BMap_Symbol_SHAPE_STAR:4,BMap_Symbol_SHAPE_BACKWARD_CLOSED_ARROW:5,BMap_Symbol_SHAPE_FORWARD_CLOSED_ARROW:6,BMap_Symbol_SHAPE_BACKWARD_OPEN_ARROW:7,BMap_Symbol_SHAPE_FORWARD_OPEN_ARROW:8});C.eO()})();