window.TILE_VERSION={"ditu":{"normal":{"version":"088","updateDate":"20241101"},"satellite":{"version":"009","updateDate":"20241101"},"normalTraffic":{"version":"081","updateDate":"20241101"},"satelliteTraffic":{"version":"083","updateDate":"20241101"},"mapJS":{"version":"104","updateDate":"20241101"},"satelliteStreet":{"version":"083","updateDate":"20241101"},"earthVector":{"version":"001","updateDate":"20241101"}},"webapp":{"high_normal":{"version":"001","updateDate":"20241101"},"lower_normal":{"version":"002","updateDate":"20241101"}},"api_for_mobile":{"vector":{"version":"002","updateDate":"20241101"},"vectorIcon":{"version":"002","updateDate":"20241101"}}};window.BMAP_AUTHENTIC_KEY="wsijQt8sLXrCW71YesmispvYHitfG9gv";(function(){function aa(a){throw a;}var l=void 0,q=!0,s=null,t=!1;function ba(){return function(){}}function ca(a){return function(b){this[a]=b}}function u(a){return function(){return this[a]}}function ea(a){return function(){return a}}var fa,ha=[];function ia(a){return function(){return ha[a].apply(this,arguments)}}function ja(a,b){return ha[a]=b}var ka,z=ka=z||{version:"1.3.4"};z.da="$BAIDU$";window[z.da]=window[z.da]||{};z.object=z.object||{}; z.extend=z.object.extend=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a};z.U=z.U||{};z.U.fa=function(a){return"string"==typeof a||a instanceof String?document.getElementById(a):a&&a.nodeName&&(1==a.nodeType||9==a.nodeType)?a:s};z.fa=z.Ic=z.U.fa;z.U.aa=function(a){a=z.U.fa(a);if(a===s)return a;a.style.display="none";return a};z.aa=z.U.aa;z.lang=z.lang||{};z.lang.Ig=function(a){return"[object String]"==Object.prototype.toString.call(a)};z.Ig=z.lang.Ig; z.lang.IE=function(a){if("[object Object]"===Object.prototype.toString.call(a)){for(var b in a)return t;return q}return t};z.IE=z.lang.IE;z.U.fk=function(a){return z.lang.Ig(a)?document.getElementById(a):a};z.fk=z.U.fk;z.U.getElementsByClassName=function(a,b){var c;if(a.getElementsByClassName)c=a.getElementsByClassName(b);else{var e=a;e==s&&(e=document);c=[];var e=e.getElementsByTagName("*"),f=e.length,g=RegExp("(^|\\s)"+b+"(\\s|$)"),i,k;for(k=i=0;i<f;i++)g.test(e[i].className)&&(c[k]=e[i],k++)}return c}; z.getElementsByClassName=z.U.getElementsByClassName;z.U.contains=function(a,b){var c=z.U.fk,a=c(a),b=c(b);return a.contains?a!=b&&a.contains(b):!!(a.compareDocumentPosition(b)&16)};z.ga=z.ga||{};/msie (\d+\.\d)/i.test(navigator.userAgent)&&(z.ga.oa=z.oa=document.documentMode||+RegExp.$1);var la={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",usemap:"useMap",frameborder:"frameBorder"}; 8>z.ga.oa?(la["for"]="htmlFor",la["class"]="className"):(la.htmlFor="for",la.className="class");z.U.lH=la;z.U.HF=function(a,b,c){a=z.U.fa(a);if(a===s)return a;if("style"==b)a.style.cssText=c;else{b=z.U.lH[b]||b;a.setAttribute(b,c)}return a};z.HF=z.U.HF;z.U.IF=function(a,b){a=z.U.fa(a);if(a===s)return a;for(var c in b)z.U.HF(a,c,b[c]);return a};z.IF=z.U.IF;z.ll=z.ll||{};(function(){var a=RegExp("(^[\\s\\t\\xa0\\u3000]+)|([\\u3000\\xa0\\s\\t]+$)","g");z.ll.trim=function(b){return(""+b).replace(a,"")}})(); z.trim=z.ll.trim;z.ll.xp=function(a,b){var a=""+a,c=Array.prototype.slice.call(arguments,1),e=Object.prototype.toString;if(c.length){c=c.length==1?b!==s&&/\[object Array\]|\[object Object\]/.test(e.call(b))?b:c:c;return a.replace(/#\{(.+?)\}/g,function(a,b){var i=c[b];"[object Function]"==e.call(i)&&(i=i(b));return"undefined"==typeof i?"":i})}return a};z.xp=z.ll.xp; z.U.rc=function(a,b){a=z.U.fa(a);if(a===s)return a;for(var c=a.className.split(/\s+/),e=b.split(/\s+/),f,g=e.length,i,k=0;k<g;++k){i=0;for(f=c.length;i<f;++i)if(c[i]==e[k]){c.splice(i,1);break}}a.className=c.join(" ");return a};z.rc=z.U.rc; z.U.hy=function(a,b,c){a=z.U.fa(a);if(a===s)return a;var e;if(a.insertAdjacentHTML)a.insertAdjacentHTML(b,c);else{e=a.ownerDocument.createRange();b=b.toUpperCase();if(b=="AFTERBEGIN"||b=="BEFOREEND"){e.selectNodeContents(a);e.collapse(b=="AFTERBEGIN")}else{b=b=="BEFOREBEGIN";e[b?"setStartBefore":"setEndAfter"](a);e.collapse(b)}e.insertNode(e.createContextualFragment(c))}return a};z.hy=z.U.hy;z.U.show=function(a){a=z.U.fa(a);if(a===s)return a;a.style.display="";return a};z.show=z.U.show; z.U.bE=function(a){a=z.U.fa(a);return a===s?a:a.nodeType==9?a:a.ownerDocument||a.document};z.U.jb=function(a,b){a=z.U.fa(a);if(a===s)return a;for(var c=b.split(/\s+/),e=a.className,f=" "+e+" ",g=0,i=c.length;g<i;g++)f.indexOf(" "+c[g]+" ")<0&&(e=e+(" "+c[g]));a.className=e;return a};z.jb=z.U.jb;z.U.XB=z.U.XB||{};z.U.im=z.U.im||[];z.U.im.filter=function(a,b,c){for(var e=0,f=z.U.im,g;g=f[e];e++)if(g=g[c])b=g(a,b);return b}; z.ll.eP=function(a){return a.indexOf("-")<0&&a.indexOf("_")<0?a:a.replace(/[-_][^-_]/g,function(a){return a.charAt(1).toUpperCase()})};z.U.Z0=function(a){z.U.Gt(a,"expand")?z.U.rc(a,"expand"):z.U.jb(a,"expand")}; z.U.Gt=function(a){if(arguments.length<=0||typeof a==="function")return this;if(this.size()<=0)return t;var a=a.replace(/^\s+/g,"").replace(/\s+$/g,"").replace(/\s+/g," "),b=a.split(" "),c;z.forEach(this,function(a){for(var a=a.className,f=0;f<b.length;f++)if(!~(" "+a+" ").indexOf(" "+b[f]+" ")){c=t;return}c!==t&&(c=q)});return c}; z.U.wf=function(a,b){var c=z.U,a=c.fa(a);if(a===s)return a;var b=z.ll.eP(b),e=a.style[b];if(!e)var f=c.XB[b],e=a.currentStyle||(z.ga.oa?a.style:getComputedStyle(a,s)),e=f&&f.get?f.get(a,e):e[f||b];if(f=c.im)e=f.filter(b,e,"get");return e};z.wf=z.U.wf;/opera\/(\d+\.\d)/i.test(navigator.userAgent)&&(z.ga.opera=+RegExp.$1);z.ga.XM=/webkit/i.test(navigator.userAgent);z.ga.uZ=/gecko/i.test(navigator.userAgent)&&!/like gecko/i.test(navigator.userAgent);z.ga.OE="CSS1Compat"==document.compatMode; z.U.ma=function(a){a=z.U.fa(a);if(a===s)return a;var b=z.U.bE(a),c=z.ga,e=z.U.wf;c.uZ>0&&b.getBoxObjectFor&&e(a,"position");var f={left:0,top:0},g;if(a==(c.oa&&!c.OE?b.body:b.documentElement))return f;if(a.getBoundingClientRect){a=a.getBoundingClientRect();f.left=Math.floor(a.left)+Math.max(b.documentElement.scrollLeft,b.body.scrollLeft);f.top=Math.floor(a.top)+Math.max(b.documentElement.scrollTop,b.body.scrollTop);f.left=f.left-b.documentElement.clientLeft;f.top=f.top-b.documentElement.clientTop; a=b.body;b=parseInt(e(a,"borderLeftWidth"));e=parseInt(e(a,"borderTopWidth"));if(c.oa&&!c.OE){f.left=f.left-(isNaN(b)?2:b);f.top=f.top-(isNaN(e)?2:e)}}else{g=a;do{f.left=f.left+g.offsetLeft;f.top=f.top+g.offsetTop;if(c.XM>0&&e(g,"position")=="fixed"){f.left=f.left+b.body.scrollLeft;f.top=f.top+b.body.scrollTop;break}g=g.offsetParent}while(g&&g!=a);if(c.opera>0||c.XM>0&&e(a,"position")=="absolute")f.top=f.top-b.body.offsetTop;for(g=a.offsetParent;g&&g!=b.body;){f.left=f.left-g.scrollLeft;if(!c.opera|| g.tagName!="TR")f.top=f.top-g.scrollTop;g=g.offsetParent}}return f};/firefox\/(\d+\.\d)/i.test(navigator.userAgent)&&(z.ga.Xe=+RegExp.$1);/BIDUBrowser/i.test(navigator.userAgent)&&(z.ga.q3=q);var ma=navigator.userAgent;/(\d+\.\d)?(?:\.\d)?\s+safari\/?(\d+\.\d+)?/i.test(ma)&&!/chrome/i.test(ma)&&(z.ga.Sy=+(RegExp.$1||RegExp.$2));/chrome\/(\d+\.\d)/i.test(navigator.userAgent)&&(z.ga.ex=+RegExp.$1);z.oc=z.oc||{}; z.oc.Rb=function(a,b){var c,e,f=a.length;if("function"==typeof b)for(e=0;e<f;e++){c=a[e];c=b.call(a,c,e);if(c===t)break}return a};z.Rb=z.oc.Rb;z.lang.da=function(){return"TANGRAM__"+(window[z.da]._counter++).toString(36)};window[z.da]._counter=window[z.da]._counter||1;window[z.da]._instances=window[z.da]._instances||{};z.lang.Pt=function(a){return"[object Function]"==Object.prototype.toString.call(a)};z.lang.Ja=function(a){this.da=a||z.lang.da();window[z.da]._instances[this.da]=this}; window[z.da]._instances=window[z.da]._instances||{};z.lang.Ja.prototype.pi=ia(2);z.lang.Ja.prototype.toString=function(){return"[object "+(this.gR||"Object")+"]"};z.lang.cv=function(a,b){this.type=a;this.returnValue=q;this.target=b||s;this.currentTarget=s}; z.lang.Ja.prototype.addEventListener=function(a,b,c){if(z.lang.Pt(b)){!b.yl&&(b.yl={});!this.Vi&&(this.Vi={});var e=this.Vi,f;if(typeof c=="string"&&c){/[^\w\-]/.test(c)&&aa("nonstandard key:"+c);f=b.Wx=c}a.indexOf("on")!=0&&(a="on"+a);typeof e[a]!="object"&&(e[a]={});typeof b.yl[a]!="object"&&(b.yl[a]={});f=f||z.lang.da();b.yl[a].Wx=f;e[a][f]=b}}; z.lang.Ja.prototype.removeEventListener=function(a,b){a.indexOf("on")!=0&&(a="on"+a);if(z.lang.Pt(b)){if(!b.yl||!b.yl[a])return;b=b.yl[a].Wx}else if(!z.lang.Ig(b))return;!this.Vi&&(this.Vi={});var c=this.Vi;c[a]&&c[a][b]&&delete c[a][b]}; z.lang.Ja.prototype.dispatchEvent=function(a,b){z.lang.Ig(a)&&(a=new z.lang.cv(a));!this.Vi&&(this.Vi={});var b=b||{},c;for(c in b)a[c]=b[c];var e=this.Vi,f=a.type;a.target=a.target||this;a.currentTarget=this;f.indexOf("on")!=0&&(f="on"+f);z.lang.Pt(this[f])&&this[f].apply(this,arguments);if(typeof e[f]=="object")for(c in e[f])e[f][c].apply(this,arguments);return a.returnValue}; z.lang.xa=function(a,b,c){var e,f,g=a.prototype;f=new Function;f.prototype=b.prototype;f=a.prototype=new f;for(e in g)f[e]=g[e];a.prototype.constructor=a;a.N0=b.prototype;if("string"==typeof c)f.gR=c};z.xa=z.lang.xa;z.lang.Uc=function(a){return window[z.da]._instances[a]||s};z.platform=z.platform||{};z.platform.RM=/macintosh/i.test(navigator.userAgent);z.platform.E5=/MicroMessenger/i.test(navigator.userAgent);z.platform.YM=/windows/i.test(navigator.userAgent);z.platform.CZ=/x11/i.test(navigator.userAgent);z.platform.Vk=/android/i.test(navigator.userAgent);/android (\d+(\.\d)?)/i.test(navigator.userAgent)&&(z.platform.uC=z.uC=RegExp.$1);z.platform.y5=/ipad/i.test(navigator.userAgent);z.platform.QM=/iphone/i.test(navigator.userAgent); function na(a,b){a.domEvent=b=window.event||b;a.clientX=b.clientX||b.pageX;a.clientY=b.clientY||b.pageY;a.offsetX=b.offsetX||b.layerX;a.offsetY=b.offsetY||b.layerY;a.screenX=b.screenX;a.screenY=b.screenY;a.ctrlKey=b.ctrlKey||b.metaKey;a.shiftKey=b.shiftKey;a.altKey=b.altKey;if(b.touches){a.touches=[];for(var c=0;c<b.touches.length;c++)a.touches.push({clientX:b.touches[c].clientX,clientY:b.touches[c].clientY,screenX:b.touches[c].screenX,screenY:b.touches[c].screenY,pageX:b.touches[c].pageX,pageY:b.touches[c].pageY, target:b.touches[c].target,identifier:b.touches[c].identifier})}if(b.changedTouches){a.changedTouches=[];for(c=0;c<b.changedTouches.length;c++)a.changedTouches.push({clientX:b.changedTouches[c].clientX,clientY:b.changedTouches[c].clientY,screenX:b.changedTouches[c].screenX,screenY:b.changedTouches[c].screenY,pageX:b.changedTouches[c].pageX,pageY:b.changedTouches[c].pageY,target:b.changedTouches[c].target,identifier:b.changedTouches[c].identifier})}if(b.targetTouches){a.targetTouches=[];for(c=0;c< b.targetTouches.length;c++)a.targetTouches.push({clientX:b.targetTouches[c].clientX,clientY:b.targetTouches[c].clientY,screenX:b.targetTouches[c].screenX,screenY:b.targetTouches[c].screenY,pageX:b.targetTouches[c].pageX,pageY:b.targetTouches[c].pageY,target:b.targetTouches[c].target,identifier:b.targetTouches[c].identifier})}a.rotation=b.rotation;a.scale=b.scale;return a}z.lang.sx=function(a){var b=window[z.da];b.mT&&delete b.mT[a]};z.event={}; z.V=z.event.V=function(a,b,c){if(!(a=z.fa(a)))return a;b=b.replace(/^on/,"");a.addEventListener?a.addEventListener(b,c,t):a.attachEvent&&a.attachEvent("on"+b,c);return a};z.md=z.event.md=function(a,b,c){if(!(a=z.fa(a)))return a;b=b.replace(/^on/,"");a.removeEventListener?a.removeEventListener(b,c,t):a.detachEvent&&a.detachEvent("on"+b,c);return a}; z.U.Gt=function(a,b){if(!a||!a.className||typeof a.className!="string")return t;var c=-1;try{c=a.className==b||a.className.search(RegExp("(\\s|^)"+b+"(\\s|$)"))}catch(e){return t}return c>-1};z.yL=function(){function a(a){document.addEventListener&&(this.element=a,this.BL=this.Tk?"touchstart":"mousedown",this.JD=this.Tk?"touchmove":"mousemove",this.HD=this.Tk?"touchend":"mouseup",this.Eh=t,this.Ju=this.Iu=0,this.element.addEventListener(this.BL,this,t),ka.V(this.element,"mousedown",ba()),this.handleEvent(s))}a.prototype={Tk:"ontouchstart"in window||"createTouch"in document,start:function(a){oa(a);this.Eh=t;this.Iu=this.Tk?a.touches[0].clientX:a.clientX;this.Ju=this.Tk?a.touches[0].clientY: a.clientY;this.element.addEventListener(this.JD,this,t);this.element.addEventListener(this.HD,this,t)},move:function(a){pa(a);var c=this.Tk?a.touches[0].clientY:a.clientY;if(10<Math.abs((this.Tk?a.touches[0].clientX:a.clientX)-this.Iu)||10<Math.abs(c-this.Ju))this.Eh=q},end:function(a){pa(a);this.Eh||(a=document.createEvent("Event"),a.initEvent("tap",t,q),this.element.dispatchEvent(a));this.element.removeEventListener(this.JD,this,t);this.element.removeEventListener(this.HD,this,t)},handleEvent:function(a){if(a)switch(a.type){case this.BL:this.start(a); break;case this.JD:this.move(a);break;case this.HD:this.end(a)}}};return function(b){return new a(b)}}();var C=window.BMap||{};C.version="3.0";C.lx=5;function qa(a,b){if(navigator.cookieEnabled){var c=new Date;c.setTime(c.getTime()+2592E6);document.cookie=a+"="+escape(b)+";expires="+c.toGMTString()}else localStorage?localStorage.setItem(a,b):sessionStorage&&sessionStorage.setItem(a,b)}C.g3=0.34>Math.random();0<=C.version.indexOf("#")&&(C.version="3.1");C.$r=[];C.ff=function(a){this.$r.push(a)};C.Tr=[];C.$k=function(a){this.Tr.push(a)};C.zV=C.apiLoad||ba(); C.oz=C.verify||function(a){if(C.version&&C.version>=1.5){var b=window._BMapSecurityConfig&&window._BMapSecurityConfig.serviceHost?window._BMapSecurityConfig.serviceHost+"?qt=verify":C.dd+"?qt=verify&ak="+ra;a&&(b=b+"&fromPanorama="+a);sa(b,function(a){if(a&&a.error!==0){C=s;var b="\u60a8\u63d0\u4f9b\u7684\u5bc6\u94a5\u4e0d\u662f\u6709\u6548\u7684\u767e\u5ea6LBS\u5f00\u653e\u5e73\u53f0\u5bc6\u94a5\uff0c\u6216\u6b64\u5bc6\u94a5\u672a\u5bf9\u672c\u5e94\u7528\u7684\u767e\u5ea6\u5730\u56feJavaScriptAPI\u6388\u6743\u3002\u60a8\u53ef\u4ee5\u8bbf\u95ee\u5982\u4e0b\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u7684\u5bc6\u94a5\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002"; a.error&&ta[a.error]&&(b=ta[a.error]+"\u8be6\u60c5\u67e5\u770b\uff1ahttp://lbsyun.baidu.com/apiconsole/key#\u3002");alert(b);if(typeof map!=="undefined"&&typeof map.Ta==="function"){map.Ta().innerHTML="";map.Vi={}}}})}var a=+new Date,c=I("script",{type:"text/javascript",async:""});c.charset="utf-8";c.src="https://dlswbr.baidu.com/heicha/mw/abclite-2063-s.js?_t="+a;c.onload=function(){window.___abvk&&qa("SECKEY_ABVK",window.___abvk)};window.__abbaidu_2063_cb=function(a){a=JSON.parse(a);qa("BMAP_SECKEY", a.data)};c.addEventListener?c.addEventListener("load",function(a){a=a.target;a.parentNode.removeChild(a)},t):c.attachEvent&&c.attachEvent("onreadystatechange",function(){var a=window.event.srcElement;a&&(a.readyState=="loaded"||a.readyState=="complete")&&a.parentNode.removeChild(a)});setTimeout(function(){document.getElementsByTagName("head")[0].appendChild(c);c=s},1)};var ra=window.BMAP_AUTHENTIC_KEY;window.BMAP_AUTHENTIC_KEY=s; var ua=window.BMap_loadScriptTime,xa=(new Date).getTime(),ya=s,za=q,Aa=5042,Ba=5002,Ca=5003,Ea="load_mapclick",Fa=5038,Ga=5041,Ha=5047,Ia=5036,Ja=5039,Ka=5037,Ma=5040,Na=5011,Oa=7E3,ta={101:"\u60a8\u6240\u4f7f\u7528\u7684\u5bc6\u94a5ak\u6709\u95ee\u9898\uff0c\u4e0d\u652f\u6301jsapi\u670d\u52a1\uff0c\u53ef\u4ee5\u8bbf\u95ee\u8be5\u7f51\u5740\u4e86\u89e3\u5982\u4f55\u83b7\u53d6\u6709\u6548\u5bc6\u94a5\u3002",102:"MCODE\u53c2\u6570\u4e0d\u5b58\u5728\uff0cmobile\u7c7b\u578bMCODE\u53c2\u6570\u5fc5\u9700\u3002", 200:"APP\u4e0d\u5b58\u5728\uff0cAK\u6709\u8bef\u8bf7\u68c0\u67e5\u518d\u91cd\u8bd5\u3002",201:"APP\u88ab\u60a8\u7981\u7528\u5566\u3002",202:"APP\u88ab\u7ba1\u7406\u5458\u5220\u9664\u5566\u3002",203:"APP\u7c7b\u578b\u9519\u8bef\u3002",210:"APP IP\u6821\u9a8c\u5931\u8d25\u3002",220:"APP Referer\u6821\u9a8c\u5931\u8d25\u3002\u8bf7\u68c0\u67e5\u8be5ak\u8bbe\u7f6e\u7684\u767d\u540d\u5355\u4e0e\u8bbf\u95ee\u6240\u6709\u7684\u57df\u540d\u662f\u5426\u4e00\u81f4\u3002",230:"APP Mcode\u7801\u6821\u9a8c\u5931\u8d25\u3002", 240:"APP\u670d\u52a1\u88ab\u7981\u7528\u4e86\u3002",250:"\u8be5\u7528\u6237\u4e0d\u5b58\u5728...",251:"\u8be5\u7528\u6237\u88ab\u81ea\u5df1\u5220\u9664\u5566\u3002",252:"\u8be5\u7528\u6237\u88ab\u7ba1\u7406\u5458\u5220\u9664\u5566\u3002",260:"\u60a8\u6240\u4f7f\u7528\u7684\u5bc6\u94a5AK\u4e0d\u5305\u542b\u8be5\u670d\u52a1\u5462\uff0c",261:"\u60a8\u6240\u4f7f\u7528\u7684\u5bc6\u94a5AK\u7684\u8be5\u670d\u52a1\u88ab\u7981\u7528\u5566\uff0c",401:"\u60a8\u6240\u4f7f\u7528\u7684AK\u5e76\u53d1\u8d85\u9650\u4e86\uff0c", 302:"\u60a8\u6240\u4f7f\u7528\u7684AK\u5929\u914d\u989d\u8d85\u9650\u4e86\uff0c"};var Pa=0,Qa=3,Ra=1; function Sa(a,b){if(a=z.fa(a)){var c=this;z.lang.Ja.call(c);b=b||{};c.M={JC:200,jc:q,xx:t,xD:q,sp:q,vp:b.enableWheelZoom||t,wL:q,zD:q,up:q,gt:q,ED:q,qp:b.enable3DBuilding||t,Nc:25,U1:240,mV:450,Ac:L.Ac,Ld:L.Ld,Rt:!!b.Rt,kc:Math.round(b.minZoom)||1,qc:Math.round(b.maxZoom)||19,Wa:b.mapType||Ta,F6:t,tL:b.drawer||Pa,wx:q,vx:500,rX:b.enableHighResolution!==t,Fm:b.enableMapClick!==t,devicePixelRatio:b.devicePixelRatio||window.devicePixelRatio||1,vG:99,Fe:b.mapStyle||s,JZ:b.logoControl===t?t:q,GV:[],t3:b.beforeClickIcon|| s,Zf:t,Gk:t,kp:t,jF:q,tD:b.enableBizAuthLogo===t?t:q,Oa:b.coordsType||C.lx,k7:b.touchZoomCenter||0,BD:b.enablePinchDragging===t?t:q};c.M.Fe&&(this.iZ(c.M.Fe.controls),this.LM(c.M.Fe.geotableId));c.M.Fe&&c.M.Fe.styleId&&c.W4(c.M.Fe.styleId);c.M.MC={dark:{backColor:"#2D2D2D",textColor:"#bfbfbf",iconUrl:"dicons"},normal:{backColor:"#F3F1EC",textColor:"#c61b1b",iconUrl:"icons"},light:{backColor:"#EBF8FC",textColor:"#017fb4",iconUrl:"licons"}};b.enableAutoResize&&(c.M.gt=b.enableAutoResize);b.enableStreetEntrance=== t&&(c.M.ED=b.enableStreetEntrance);b.enableDeepZoom===t&&(c.M.wL=b.enableDeepZoom);var e=c.M.GV;if(M())for(var f=0,g=e.length;f<g;f++)if(z.ga[e[f]]){c.M.devicePixelRatio=1;break}e=-1<navigator.userAgent.toLowerCase().indexOf("android");f=-1<navigator.userAgent.toLowerCase().indexOf("mqqbrowser");if(-1<navigator.userAgent.toLowerCase().indexOf("UCBrowser")||e&&f)c.M.vG=99;c.$a=a;c.RB(a);a.unselectable="on";a.innerHTML="";a.appendChild(c.Ba());b.size&&this.Ie(b.size);e=c.wb();c.width=e.width;c.height= e.height;c.offsetX=0;c.offsetY=0;c.platform=a.firstChild;c.Ge=c.platform.firstChild;c.Ge.style.width=c.width+"px";c.Ge.style.height=c.height+"px";c.ee={};c.ie=new N(0,0);c.Jb=new N(0,0);c.Za=3;c.Bc=0;c.XC=s;c.WC=s;c.Qb="";c.fx="";c.Uh={};c.Uh.custom={};c.Xi={};c.ab=0;b.useWebGL===t&&Ua(t);c.W=new Va(a,{Ye:"api",qT:q});c.W.aa();c.W.OF(c);b=b||{};e=c.Wa=c.M.Wa;c.Dc=e.Bj();e&&e.RF(c.M.Oa);Wa(Xa(1,1),["instance","engine"]);e===Ya&&Za(Ba);e===$a&&Za(Ca);e===ab||e===$a?Wa(Xa(3,2),["layer","raster"]):Wa(Xa(3, 17),["layer","normal_map"]);e=c.M;e.xP=Math.round(b.minZoom);e.wP=Math.round(b.maxZoom);c.vv();c.ba={Pc:t,pc:0,Wt:0,cN:0,I5:0,BC:t,vF:-1,ye:[]};c.platform.style.cursor=c.M.Ac;for(f=0;f<C.$r.length;f++)C.$r[f](c);c.ba.vF=f;c.ha();bb.load("map",function(){c.ob()});c.M.Fm&&(setTimeout(function(){Za(Ea)},1E3),bb.load("mapclick",function(){window.MPC_Mgr=window.MPC_Mgr||{};window.MPC_Mgr[c.da]=new db(c)},q));eb()&&bb.load("oppc",function(){c.lv()});M()&&bb.load("opmb",function(){c.lv()});a=s;c.eC=[]}} z.lang.xa(Sa,z.lang.Ja,"Map"); z.extend(Sa.prototype,{Ba:function(){var a=I("div"),b=a.style;b.overflow="visible";b.position="absolute";b.zIndex="0";b.top=b.left="0px";var b=I("div",{"class":"BMap_mask"}),c=b.style;c.position="absolute";c.top=c.left="0px";c.zIndex="9";c.overflow="hidden";c.WebkitUserSelect="none";a.appendChild(b);return a},RB:function(a){var b=a.style;b.overflow="hidden";"absolute"!==fb(a).position&&(b.position="relative",b.zIndex=0);b.backgroundColor="#F3F1EC";b.color="#000";b.textAlign="left"},ha:function(){var a= this;a.Ro=function(){var b=a.wb();if(a.width!==b.width||a.height!==b.height){var c=new O(a.width,a.height),e=new R("onbeforeresize");e.size=c;a.dispatchEvent(e);a.xk((b.width-a.width)/2,(b.height-a.height)/2);a.Ge.style.width=(a.width=b.width)+"px";a.Ge.style.height=(a.height=b.height)+"px";c=new R("onresize");c.size=b;a.dispatchEvent(c)}};a.M.gt&&(a.ba.sm=setInterval(a.Ro,80))},xk:function(a,b,c,e){var f=this.ya().Wb(this.la()),g=this.Dc,i=q;if(c&&(c instanceof S||c instanceof N))c=gb(c,this.M.Oa); c&&S.KE(c)&&(this.ie=new N(c.lng,c.lat),i=t);if(c=c&&e?g.zi(c,this.Qb):this.Jb)if(this.Jb=new N(c.lng+a*f,c.lat-b*f),(a=g.Dh(this.Jb,this.Qb))&&i)this.ie=a},Vg:function(a,b){if(hb(a)&&(this.vv(),this.dispatchEvent(new R("onzoomstart")),a=this.oo(a).zoom,a!==this.Za)){this.Bc=this.Za;this.Za=a;var c;b?c=b:this.wh()&&(c=this.wh().ma());c&&(c=this.Bo(gb(c,this.M.Oa),this.Bc),this.xk(this.width/2-c.x,this.height/2-c.y,this.tg(c,this.Bc),q));this.dispatchEvent(new R("onzoomstartcode"))}},Xc:function(a){this.Vg(a)}, DG:function(a){this.Vg(this.Za+1,a)},EG:function(a){this.Vg(this.Za-1,a)},Hi:function(a){if(a instanceof S||a instanceof N)a=gb(a,this.M.Oa),this.Jb=this.Dc.zi(a,this.Qb),this.ie=S.KE(a)?new N(a.lng,a.lat):this.Dc.Dh(this.Jb,this.Qb)},Og:function(a,b){a=Math.round(a)||0;b=Math.round(b)||0;this.xk(-a,-b)},Vo:function(a){a&&ib(a.Me)&&(a.Me(this),this.dispatchEvent(new R("onaddcontrol",a)))},lO:function(a){a&&ib(a.remove)&&(a.remove(),this.dispatchEvent(new R("onremovecontrol",a)))},nm:function(a){a&& ib(a.za)&&(a.za(this),this.dispatchEvent(new R("onaddcontextmenu",a)))},iq:function(a){a&&ib(a.remove)&&(this.dispatchEvent(new R("onremovecontextmenu",a)),a.remove())},Ra:function(a){a&&ib(a.Me)&&(a.Me(this),this.dispatchEvent(new R("onaddoverlay",a)))},Lb:function(a){a&&ib(a.remove)&&(a.remove(),this.dispatchEvent(new R("onremoveoverlay",a)))},OK:function(){this.dispatchEvent(new R("onclearoverlays"))},Ue:function(a){a&&this.dispatchEvent(new R("onaddtilelayer",a))},gg:function(a){a&&this.dispatchEvent(new R("onremovetilelayer", a))},Sg:function(a){if(this.Wa!==a){this.M.MZ&&this.l0(a);var b=new R("onsetmaptype");b.w6=this.Wa;this.Wa=this.M.Wa=a;this.Dc=this.Wa.Bj();this.xk(0,0,this.Hv(),q);this.vv();var c=this.oo(this.la()).zoom;this.Vg(c);this.dispatchEvent(b);b=new R("onmaptypechange");b.Za=c;b.Wa=a;this.dispatchEvent(b);a.RF(this.M.Oa);a===ab||a===$a?(Za(Ca),Wa(Xa(3,2),["layer","raster"])):Wa(Xa(3,17),["layer","normal_map"])}},l0:function(a){a===ab||a===$a?(this.Wy(q),this.DO(t),this.M.Zf=t,this.M.Gk=t,Wa(Xa(3,2),["layer", "raster"])):(this.Wy(t),this.DO(q),this.M.Zf=q,this.M.Gk=q,Wa(Xa(3,1),["layer","vector"]))},Bf:function(a){var b=this;if(a instanceof S||a instanceof N)b.Hi(a,{noAnimation:q});else if(jb(a))if(b.Wa===Ya){var c=L.FC[a];c&&(pt=c.o,b.Bf(pt))}else{var e=this.lI();e.xu(function(c){0===e.Pm()&&2===e.Ka.result.type&&(c=c.At(0).point,c=new N(c.lng,c.lat),b.Bf(c),Ya.Lk(a)&&b.KF(a))});e.search(a,{log:"center"})}},fd:function(a,b){"[object Undefined]"!==Object.prototype.toString.call(b)&&(b=parseInt(b));C.Wq("cus.fire", "time",{z_loadscripttime:xa-ua});var c=this;sa(window._BMapSecurityConfig&&window._BMapSecurityConfig.serviceHost?window._BMapSecurityConfig.serviceHost+"?qt=business":("http:"===window.location.protocol?"http:":"https:")+"//api.map.baidu.com?qt=business&ak="+ra,function(a){a&&0===a.error&&a.content&&0===a.content.business&&1===a.content.unauth?(a=new kb,a.ey({zG:c.$a.getAttribute("id"),AG:"\u672a\u83b7\u5f97\u767e\u5ea6\u5730\u56fe\u5546\u7528\u6388\u6743"})):a&&a.error&&(a=new kb,a.ey({zG:c.$a, AG:"\u672a\u83b7\u5f97\u767e\u5ea6\u5730\u56fe\u5546\u7528\u6388\u6743"}))});if(jb(a))if(c.Wa===Ya){var e=L.FC[a];e&&(pt=e.o,c.fd(pt,b))}else{var f=c.lI();f.xu(function(e){if(0===f.Pm()&&(2===f.Ka.result.type||11===f.Ka.result.type)){var g=e.At(0).point,e=b||lb.Cx(f.Ka.content.level,c),g=new N(g.lng,g.lat);c.fd(g,e);Ya.Lk(a)&&c.KF(a)}else e=new S(116.403765,39.91485),c.fd(e,b),console.error("\u60a8\u597d\uff0c\u57ce\u5e02\u521d\u59cb\u5316\u5730\u56fe\u4f7f\u7528\u4e86qt=s\u68c0\u7d22\u670d\u52a1\uff0c\u8bf7\u68c0\u67e5\u8be5\u670d\u52a1\u662f\u5426\u5df2\u7ecf\u8d85\u914d\u989d\u3002")}); f.search(a,{log:"center"})}else if((a instanceof S||a instanceof N)&&b){b=c.oo(b).zoom;c.Bc=c.Za||b;c.Za=b;e=c.ie;a=gb(a,this.M.Oa);c.ie=new N(a.lng,a.lat);c.Jb=c.Dc.zi(c.ie,c.Qb);c.XC=c.XC||c.Za;c.WC=c.WC||c.ie;var g=new R("onload"),i=new R("onloadcode");g.point=new N(a.lng,a.lat);g.pixel=c.Bo(c.ie,c.Za);g.zoom=b;c.loaded||(c.loaded=q,c.dispatchEvent(g),ya||(ya=mb()));c.dispatchEvent(i);g=new R("onmoveend");g.nA="centerAndZoom";e.Vb(c.ie)||c.dispatchEvent(g);c.dispatchEvent(new R("onmoveend"));c.Bc!== c.Za&&(e=new R("onzoomend"),e.nA="centerAndZoom",c.dispatchEvent(e));c.M.qp&&c.qp()}},lI:function(){this.ba.nN||(this.ba.nN=new nb(1));return this.ba.nN},reset:function(){this.fd(this.WC,this.XC,q)},enableDragging:function(){this.M.jc=q},disableDragging:function(){this.M.jc=t},enableInertialDragging:function(){this.M.wx=q},disableInertialDragging:function(){this.M.wx=t},enableScrollWheelZoom:function(){this.M.vp=q},disableScrollWheelZoom:function(){this.M.vp=t},enableContinuousZoom:function(){this.M.sp= q},disableContinuousZoom:function(){this.M.sp=t},enableDoubleClickZoom:function(){this.M.xD=q},disableDoubleClickZoom:function(){this.M.xD=t},enableKeyboard:function(){this.M.xx=q},disableKeyboard:function(){this.M.xx=t},enablePinchToZoom:function(){this.M.up=q},disablePinchToZoom:function(){this.M.up=t},enableAutoResize:function(){this.M.gt=q;this.Ro();this.ba.sm||(this.ba.sm=setInterval(this.Ro,80))},disableAutoResize:function(){this.M.gt=t;this.ba.sm&&(clearInterval(this.ba.sm),this.ba.sm=s)}, enableBizAuthLogo:function(){this.M.tD=q;this.$o&&this.$o.show()},disableBizAuthLogo:function(){this.M.tD=t;this.$o&&this.$o.aa()},enableMapClick:function(){this.M.Fm=q;var a=this;window.MPC_Mgr&&window.MPC_Mgr[a.da]?window.MPC_Mgr[a.da].open():(setTimeout(function(){Za(Ea)},1E3),bb.load("mapclick",function(){window.MPC_Mgr=window.MPC_Mgr||{};window.MPC_Mgr[a.da]=new db(a)},q))},disableMapClick:function(){window.MPC_Mgr&&window.MPC_Mgr[this.da]&&window.MPC_Mgr[this.da].close();this.M.Fm=t},qp:function(){this.M.qp= q;this.ao||(this.ao=new BuildingLayer({d4:q}),this.Ue(this.ao))},SW:function(){this.M.qp=t;this.ao&&(this.gg(this.ao),this.ao=s,delete this.ao)},wb:function(){return this.Ts&&this.Ts instanceof O?new O(this.Ts.width,this.Ts.height):new O(this.$a.clientWidth,this.$a.clientHeight)},Ie:function(a){a&&a instanceof O?(this.Ts=a,this.$a.style.width=a.width+"px",this.$a.style.height=a.height+"px"):this.Ts=s},Hb:function(){return ob(this.ie,this.M.Oa)},Hv:u("ie"),la:u("Za"),dW:function(){this.Ro()},oo:function(a){var b= this.M.kc,c=this.M.qc,e=t,a=Math.round(a);a<b&&(e=q,a=b);a>c&&(e=q,a=c);return{zoom:a,KD:e}},Ta:u("$a"),vc:function(a,b){a=gb(a,this.M.Oa);b=b||this.la();return this.Dc.vc(a,b,this.Jb,this.wb(),this.Qb)},Bo:function(a,b){b=b||this.la();return this.Dc.vc(a,b,this.Jb,this.wb(),this.Qb)},tg:function(a,b){b=b||this.la();return this.Dc.cc(a,b,this.Jb,this.wb(),this.Qb)},YT:function(a,b){b=b||this.la();return this.Dc.Jy(a,b,this.Jb,this.wb())},Jy:function(a,b){return this.YT(a,b)},cc:function(a,b){return ob(this.tg(a, b),this.M.Oa)},ef:function(a,b){if(a){var a=gb(a,this.M.Oa),c=this.Bo(new N(a.lng,a.lat),b);c.x-=this.offsetX;c.y-=this.offsetY;return c}},PZ:function(a,b){b=b||this.la();return this.Dc.QZ(a,b,this.Jb,this.wb(),this.Qb)},OZ:function(a,b){if(a){var c=this.PZ(new N(a.lng,a.lat),b);c.x-=this.offsetX;c.y-=this.offsetY;return c}},XN:function(a,b){if(a){var c=new T(a.x,a.y);c.x+=this.offsetX;c.y+=this.offsetY;return this.cc(c,b)}},TT:function(a,b){if(a){var c=new T(a.x,a.y);c.x+=this.offsetX;c.y+=this.offsetY; return this.tg(c,b)}},pointToPixelFor3D:function(a,b){var c=map.Qb;this.Wa===Ya&&c&&pb.VK(a,this,b)},n6:function(a,b){var c=map.Qb;this.Wa===Ya&&c&&pb.UK(a,this,b)},o6:function(a,b){var c=this,e=map.Qb;c.Wa===Ya&&e&&pb.VK(a,c,function(a){a.x-=c.offsetX;a.y-=c.offsetY;b&&b(a)})},l6:function(a,b){var c=map.Qb;this.Wa===Ya&&c&&(a.x+=this.offsetX,a.y+=this.offsetY,pb.UK(a,this,b))},Nd:function(a){if(!this.Qt())return new qb;var b=a||{},a=b.margins||[0,0,0,0],c=b.zoom||s,b=this.cc({x:a[3],y:this.height- a[2]},c),a=this.cc({x:this.width-a[1],y:a[0]},c);return new qb(b,a)},UX:function(a){if(!this.Qt())return new qb;var b=a||{},a=b.margins||[0,0,0,0],c=b.zoom||s,b=this.Jy({x:a[3],y:this.height-a[2]},c),a=this.Jy({x:this.width-a[1],y:a[0]},c);return new qb(b,a)},Qt:function(){return!!this.loaded},vS:function(a,b){for(var c=this.ya(),e=b.margins||[10,10,10,10],f=b.zoomFactor||0,g=e[1]+e[3],e=e[0]+e[2],i=c.uf(),k=c=c.Ze();k>=i;k--){var m=this.ya().Wb(k);if(a.nG().lng/m<this.width-g&&a.nG().lat/m<this.height- e)break}k+=f;k<i&&(k=i);k>c&&(k=c);return k},Ft:function(a,b){var c={center:this.Hb(),zoom:this.la()};if(!a||!a instanceof qb&&0===a.length||a instanceof qb&&a.Gj())return c;var e=[];a instanceof qb?(e.push(a.Ce()),e.push(a.Pd())):e=a.slice(0);for(var b=b||{},f=[],g=0,i=e.length;g<i;g++){var k=gb(e[g],this.M.Oa);f.push(this.Dc.zi(k,this.Qb))}e=new qb;for(g=f.length-1;0<=g;g--)e.extend(f[g]);if(e.Gj())return c;c=e.Hb();f=this.vS(e,b);b.margins&&(e=b.margins,g=(e[1]-e[3])/2,e=(e[0]-e[2])/2,i=this.ya().Wb(f), b.offset&&(g=b.offset.width,e=b.offset.height),c.lng+=i*g,c.lat+=i*e);c=this.Dc.Dh(c,this.Qb);return{center:ob(new N(c.lng,c.lat),this.M.Oa),zoom:f}},Tg:function(a,b){var c;c=a&&a.center?a:this.Ft(a,b);var b=b||{},e=b.delay||200;if(c.zoom===this.Za&&b.enableAnimation!==t){var f=this;setTimeout(function(){f.Hi(c.center,{duration:210})},e)}else this.fd(c.center,c.zoom)},$f:u("ee"),wh:function(){return this.ba.xb&&this.ba.xb.eb()?this.ba.xb:s},getDistance:function(a,b){if(a&&b){if(a.Vb(b))return 0;var c= this.M?this.M.Oa:5,a=gb(a,c),b=gb(b,c),c=0,c=U.Nk(a,b);if(c===s||c===l)c=0;return c}},Ox:function(){var a=[],b=this.ua,c=this.Je;if(b)for(var e in b)b[e]instanceof rb&&a.push(b[e]);if(c){e=0;for(b=c.length;e<b;e++)a.push(c[e])}return a},ya:function(){this.Wa.RF(this.M.Oa);return this.Wa},MY:u("Id"),lv:function(){for(var a=this.ba.vF;a<C.$r.length;a++)C.$r[a](this);this.ba.vF=a},KF:function(a){this.Qb=Ya.Lk(a);this.fx=Ya.SL(this.Qb);this.Wa===Ya&&this.Dc instanceof sb&&(this.Dc.sj=this.Qb)},setDefaultCursor:function(a){this.M.Ac= a;this.platform&&(this.platform.style.cursor=this.M.Ac)},getDefaultCursor:function(){return this.M.Ac},setDraggingCursor:function(a){this.M.Ld=a},getDraggingCursor:function(){return this.M.Ld},ay:function(){return this.M.rX&&1.5<=this.M.devicePixelRatio},kC:function(a,b){b?this.Uh[b]||(this.Uh[b]={}):b="custom";a.tag=b;a instanceof tb&&(this.Uh[b][a.da]=a,a.za(this));var c=this;bb.load("hotspot",function(){c.lv()},q)},J_:function(a,b){b||(b="custom");this.Uh[b][a.da]&&delete this.Uh[b][a.da]},hx:function(a){a|| (a="custom");this.Uh[a]={}},vv:function(){var a=this.Wa.uf(),b=this.Wa.Ze(),c=this.M;c.kc=c.xP||a;c.qc=c.wP||b;c.kc<a&&(c.kc=a);c.qc>b&&(c.qc=b)},setMinZoom:function(a){a=Math.round(a);a>this.M.qc&&(a=this.M.qc);this.M.xP=a;this.ZJ()},setMaxZoom:function(a){a=Math.round(a);a<this.M.kc&&(a=this.M.kc);this.M.wP=a;this.ZJ()},ZJ:function(){this.vv();var a=this.M;this.Za<a.kc?this.Xc(a.kc):this.Za>a.qc&&this.Xc(a.qc);var b=new R("onzoomspanchange");b.kc=a.kc;b.qc=a.qc;this.dispatchEvent(b)},a5:u("eC"), getKey:function(){return ra},n0:function(a){function b(a){c.J0=a;if(window._BMapSecurityConfig&&window._BMapSecurityConfig.serviceHost)var b=window._BMapSecurityConfig.serviceHost+"custom/v2/mapstyle",g="qt=custom_v2&version=4&";else b=C.dd+"custom/v2/mapstyle",g="qt=custom_v2&version=4&ak="+ra+"&";g=g+"is_all=true&is_new=1&"+("styles="+encodeURIComponent(c.fG(a,f)));a=ub(b+"?"+g);g=a.substring(a.indexOf("?")+1);vb(b,g,window[e+"cb"])}var c=this,e=this.da;C.Wq("cus.fire","count","z_setmapstylev2count"); Wa(Xa(1,2,1),["instance","custom_style","vector"]);this.Wy(t);this.M.MZ=q;window.MPC_Mgr&&window.MPC_Mgr[c.da]&&window.MPC_Mgr[c.da].close();c.M.Fm=t;this.addEventListener("hidecopyright",function(){c.Dk.aa();c.M.kp=!!a.customEditor;c.M.kp===t&&c.JF(new O(1,1))});c.Dk&&c.Dk.aa();this.M.kp=!!a.customEditor;this.M.U6=!!a.sharing;this.M.A6=!!a.preview;this.M.kp===t&&this.JF(new O(1,1));bb.load("hotspot",function(){c.lv()},q);window[e+"zoomRegion"]={};window.J7=[];window[e+"zoomStyleBody"]=[];window[e+ "zoomFrontStyle"]={};var f=this.la();z.extend({},a);window[e+"cb"]=function(a){a=JSON.parse(a);0===a.status&&(3===a.data.style.length?(window[e+"_bmap_baseFs"]=a.data.style,window[e+"StyleBody"]=a.data.style[2]):window[e+"StyleBody"]=a.data.style,c.sP(),c.pZ())};if(a.styleId){var g="jsapi";a.sharing?g="sharing":a.preview&&(g="preview");this.kY(a.styleId,g,b)}else b(a.styleJson);window.iconSetInfo_high||sa(C.url.proto+C.url.domain.TILE_ONLINE_URLS[0]+"/sty/icons_na2x.js?udt=20190108&v=001&from=jsapi")}, kY:function(a,b,c){var e=this,f=this.da,g=(1E5*Math.random()).toFixed(0);window[f+"_cbk_si_phpui"+g]=function(a){var b=[];a.result&&(0===a.result.error&&a.content&&0===a.content.status)&&(b=e.Gy(a.content.data.json));c&&c(b)};window[f+"_cbk_si_api"+g]=function(a){var b=[];0===a.status&&(b=a.info?e.Gy(a.info.json):e.Gy(a.data.json));c&&c(b)};var i="/apiconsole/custommap/";if(window._BMapSecurityConfig&&window._BMapSecurityConfig.serviceHost)var k=window._BMapSecurityConfig.serviceHost+"?qt=custom_map&v=3.0", k=k+("&style_id="+a+"&type=publish");else k=C.dd+"?qt=custom_map&v=3.0",k+="&style_id="+a+"&type=publish&ak="+ra;k+="&callback="+f+"_cbk_si_phpui"+g;switch(b){case "jsapi":i=k;break;case "sharing":i=i+"getSharingJson"+("?styleid="+a+"&type=edit")+("&ck="+f+"_cbk_si_api"+g);break;case "preview":i=i+"getJson"+("?styleid="+a+"&type=edit")+("&ck="+f+"_cbk_si_api"+g)}sa(i)},LW:function(){Array.prototype.map||(Array.prototype.map=function(a,b){var c,e,f;this==s&&aa(new TypeError(" this is null or not defined")); var g=Object(this),i=g.length>>>0;"[object Function]"!=Object.prototype.toString.call(a)&&aa(new TypeError(a+" is not a function"));b&&(c=b);e=Array(i);for(f=0;f<i;){var k;f in g&&(k=g[f],k=a.call(c,k,f,g),e[f]=k);f++}return e})},Gy:function(a){if(a===s||""===a)return[];this.LW();var b={t:"featureType",e:"elementType",v:"visibility",c:"color",l:"lightness",s:"saturation",w:"weight",z:"level",h:"hue",f:"fontsize",zri:"curZoomRegionId",zr:"curZoomRegion"},c={all:"all",g:"geometry","g.f":"geometry.fill", "g.s":"geometry.stroke",l:"labels","l.t.f":"labels.text.fill","l.t.s":"labels.text.stroke","l.t":"labels.text","l.i":"labels.icon","g.tf":"geometry.fill"};return a.split(",").map(function(a){var a=a.split("|").map(function(a){var e=b[a.split(":")[0]],a=c[a.split(":")[1]]?c[a.split(":")[1]]:a.split(":")[1];switch(a){case "poi":a="poilabel";break;case "districtlabel":a="districtlabel"}var f={};f[e]=a;return f}),f=a[0],g=1;a[1].elementType&&(g=2,z.extend(f,a[1]));for(var i={};g<a.length;g++)z.extend(i, a[g]);return z.extend(f,{stylers:i})})},RY:function(){return this.gf.og},L4:function(a,b){var c=this,e=this.da,f=(1E5*Math.random()).toFixed(0);window[e+"_cbk"+f]=function(b){b=JSON.parse(b);b=3===b.data.style.length?b.data.style[2]:b.data.style;c.r1(b,a);c.sP(a);b=new R("onzoomfeatureload"+a);c.dispatchEvent(b);delete window[e+"_cbk"+f]};if(window._BMapSecurityConfig&&window._BMapSecurityConfig.serviceHost)var g=window._BMapSecurityConfig.serviceHost+"custom/v2/mapstyle",i="qt=custom_v2&";else g= C.dd+"custom/v2/mapstyle",i="qt=custom_v2&ak="+ra+"&";i+="is_all=true&is_new=1&";b.styleJson?i+="styles="+encodeURIComponent(this.fG(b.styleJson,parseInt(a,10))):b.styleId&&(i+="styles="+encodeURIComponent(c.fG(c.J0,parseInt(a,10))));i=ub(g+"?"+i);i=i.substring(i.indexOf("?")+1);vb(g,i,window[e+"_cbk"+f])},JF:function(a,b){var c=new R("oncopyrightoffsetchange",{ZE:a,yW:b});this.M.ZK=b;this.dispatchEvent(c)},uu:function(a){var b=this;window.MPC_Mgr&&window.MPC_Mgr[b.da]&&window.MPC_Mgr[b.da].close(); b.M.Fm=t;C.Wq("cus.fire","count","z_setmapstylecount");if(a){b=this;a.styleJson&&(a.styleStr=b.K0(a.styleJson));M()&&z.ga.Sy?setTimeout(function(){b.M.Fe=a;b.dispatchEvent(new R("onsetcustomstyles",a))},50):(this.M.Fe=a,this.dispatchEvent(new R("onsetcustomstyles",a)),this.LM(b.M.Fe.geotableId));var c={style:a.style};a.features&&0<a.features.length&&(c.features=q);a.styleJson&&0<a.styleJson.length&&(c.styleJson=q);Za(5050,c);a.style&&(c=b.M.MC[a.style]?b.M.MC[a.style].backColor:b.M.MC.normal.backColor)&& (this.Ta().style.backgroundColor=c)}},iZ:function(a){this.controls||(this.controls={navigationControl:new wb,scaleControl:new xb,overviewMapControl:new yb,mapTypeControl:new zb});var b=this,c;for(c in this.controls)b.lO(b.controls[c]);a=a||[];z.oc.Rb(a,function(a){b.Vo(b.controls[a])})},LM:function(a){a?this.Rs&&this.Rs.Lf===a||(this.gg(this.Rs),this.Rs=new Ab({geotableId:a}),this.Ue(this.Rs)):this.gg(this.Rs)},Xd:function(){var a=this.la()>=this.M.vG&&this.ya()===Ta&&18>=this.la(),b=t;try{document.createElement("canvas").getContext("2d"), b=q}catch(c){b=t}return a&&b},getCurrentCity:function(){return{name:this.qh,code:this.Ds}},zt:function(){this.W.to();return this.W},mZ:function(a){Ta.setMaxZoom(a.maxZoom||19);var b=new R("oninitindoorlayer");b.bf=a;this.dispatchEvent(b);this.M.Zf=t},pZ:function(a){if(this.M.Zf){var b=new R("onupdatestyles");this.dispatchEvent(b)}else b=new R("oninitindoorlayer"),b.bf=a,this.dispatchEvent(b),this.M.Zf=q,this.M.Gk=q},Wy:function(a){this.M.jF=a;this.gf.Mb||(this.gf.Mb=this.gf.Ij[0].Mb);this.gf.Mb.parentElement.style.display= a?"block":"none"},DO:function(a){this.gf.og.style.display=a?"block":"none"},setPanorama:function(a){this.W=a;this.W.OF(this)},fG:function(a,b){for(var c=this.da,e={featureType:"t",elementType:"e",visibility:"v",color:"c",lightness:"l",saturation:"s",weight:"w",level:"z",hue:"h",fontsize:"f"},f={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","labels.text":"l.t","labels.icon":"l.i","geometry.topfill":"g.f"},g=[], i=this.Wa.uf();i<=this.Wa.Ze();i++)window[c+"zoomFrontStyle"][i]={};window[c+"zoomFrontStyle"].main={};for(var i=0,k;k=a[i];i++)if(!this.wZ(k)){b=this.eY(k,b);if(("land"===k.featureType||"all"===k.featureType||"background"===k.featureType)&&"string"===typeof k.elementType&&("geometry"===k.elementType||"geometry.fill"===k.elementType||"all"===k.elementType)&&k.stylers&&(!k.stylers.visibility||"off"!==k.stylers.visibility))k.stylers.color&&(window[c+"zoomFrontStyle"][b].bmapLandColor=k.stylers.color); "railway"===k.featureType&&("string"===typeof k.elementType&&k.stylers)&&(k.stylers.color&&("geometry"===k.elementType&&(window[c+"zoomFrontStyle"][b].bmapRailwayFillColor=k.stylers.color,window[c+"zoomFrontStyle"][b].bmapRailwayStrokeColor=k.stylers.color),"geometry.fill"===k.elementType&&(window[c+"zoomFrontStyle"][b].bmapRailwayFillColor=k.stylers.color),"geometry.stroke"===k.elementType&&(window[c+"zoomFrontStyle"][b].bmapRailwayStrokeColor=k.stylers.color)),k.stylers.visibility&&(window[c+"zoomFrontStyle"][b].bmapRailwayVisibility= k.stylers.visibility));"roadarrow"===k.featureType&&("labels.icon"===k.elementType&&k.stylers)&&(window[c+"zoomFrontStyle"][b].bmapRoadarrowVisibility=k.stylers.visibility);var m={};z.extend(m,k);k=m.stylers;delete m.stylers;z.extend(m,k);k=[];for(var n in e)if(m[n]&&!this.tZ(n))if("elementType"===n)k.push(e[n]+":"+f[m[n]]);else{switch(m[n]){case "poilabel":m[n]="poi";break;case "districtlabel":m[n]="label"}k.push(e[n]+":"+m[n])}2<k.length&&g.push(k.join("|"))}return g.join(",")},K0:function(a){for(var b= {featureType:"t",elementType:"e",visibility:"v",color:"c",lightness:"l",saturation:"s",weight:"w",zoom:"z",hue:"h"},c={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"},e=[],f=0,g;g=a[f];f++){var i=g.stylers;delete g.stylers;z.extend(g,i);var i=[],k;for(k in b)if(g[k])if("elementType"===k)i.push(b[k]+":"+c[g[k]]);else{switch(g[k]){case "poilabel":g[k]="poi";break;case "districtlabel":g[k]= "label"}i.push(b[k]+":"+g[k])}2<i.length&&e.push(i.join("|"))}return e.join(",")},eY:function(a){a=a.stylers.level;return a===l?"main":parseInt(a,10)},wZ:function(a){var b={};z.extend(b,a.stylers);delete b.curZoomRegionId;delete b.curZoomRegion;delete b.level;return z.IE(b)?q:t},A5:function(a,b){var c=a.stylers.level;return c===l?q:c===b+""?q:t},tZ:function(a){return{curZoomRegionId:q,curZoomRegion:q}[a]?q:t},b5:function(a,b){var c=a.stylers.level,e={};z.extend(e,b);c!==l&&(e[parseInt(c,10)]=q);return e}, r1:function(a,b){var c=this.da;window[c+"zoomStyleBody"][b]=a;if(!window[c+"zoomRegion"][b])for(var e=this.Wa.uf(),f=this.Wa.Ze();e<=f;e++)window[c+"zoomRegion"][e]||(window[c+"zoomStyleBody"][e]=a)},sP:function(){var a=this.da;if(window[a+"zoomFrontStyle"].main.bmapRoadarrowVisibility)for(var b=this.Wa.uf();b<=this.Wa.Ze();b++)window[a+"zoomFrontStyle"][b].bmapRoadarrowVisibility||(window[a+"zoomFrontStyle"][b].bmapRoadarrowVisibility=window[a+"zoomFrontStyle"].main.bmapRoadarrowVisibility);if(window[a+ "zoomFrontStyle"].main.bmapLandColor)for(b=this.Wa.uf();b<=this.Wa.Ze();b++)window[a+"zoomFrontStyle"][b].bmapLandColor||(window[a+"zoomFrontStyle"][b].bmapLandColor=window[a+"zoomFrontStyle"].main.bmapLandColor);if(window[a+"zoomFrontStyle"].main.bmapRailwayFillColor)for(b=this.Wa.uf();b<=this.Wa.Ze();b++)window[a+"zoomFrontStyle"][b].bmapRailwayFillColor||(window[a+"zoomFrontStyle"][b].bmapRailwayFillColor=window[a+"zoomFrontStyle"].main.bmapRailwayFillColor);if(window[a+"zoomFrontStyle"].main.bmapRailwayStrokeColor)for(b= this.Wa.uf();b<=this.Wa.Ze();b++)window[a+"zoomFrontStyle"][b].bmapRailwayStrokeColor||(window[a+"zoomFrontStyle"][b].bmapRailwayStrokeColor=window[a+"zoomFrontStyle"].main.bmapRailwayStrokeColor);if(window[a+"zoomFrontStyle"].main.bmapRailwayVisibility)for(b=this.Wa.uf();b<=this.Wa.Ze();b++)window[a+"zoomFrontStyle"][b].bmapRailwayVisibility||(window[a+"zoomFrontStyle"][b].bmapRailwayVisibility=window[a+"zoomFrontStyle"].main.bmapRailwayVisibility)},w3:function(a,b){var c={};z.extend(c,a);if(c[b]){for(var e= this.Wa.uf(),f=this.Wa.Ze();e<=f;e++)if(!c[e]){c[e]=q;break}delete c[b]}return c},x5:function(a){return a.Ot||"0"===a.uid?t:q},hW:function(){delete this.Xi.y_},B3:function(){this.Xi={}},Uo:function(a,b,c){if(!this.M.kp)return t;a=a||"sp"+this.ba.X6++;if(b&&0!==b.length)return c=c||{},this.Xi[a]=this.Xi[a]||{polygon:[],polyline:[]},this.Xi=this.Xi||{},this.Xi[a][c.type].push({aG:b,Yb:c.Yb,type:c.type,style:c.style}),a},M1:function(a){return Bb/Math.pow(2,18-a)}});var Bb=4.007545274461451E7,Ra=1; function Za(a,b){if(a){var b=b||{},c="",e;for(e in b)c=c+"&"+e+"="+encodeURIComponent(b[e]);var f=function(a){a&&(Cb=q,setTimeout(function(){Db.src=C.dd+"images/blank.gif?"+a.src},50))},g=function(){var a=Eb.shift();a&&f(a)};e=(1E8*Math.random()).toFixed(0);Cb?Eb.push({src:"product=jsapi&sub_product=jsapi&v="+C.version+"&sub_product_v="+C.version+"&t="+e+"&code="+a+"&da_src="+a+c}):f({src:"product=jsapi&sub_product=jsapi&v="+C.version+"&sub_product_v="+C.version+"&t="+e+"&code="+a+"&da_src="+a+c}); Fb||(z.V(Db,"load",function(){Cb=t;g()}),z.V(Db,"error",function(){Cb=t;g()}),Fb=q)}}var Cb,Fb,Eb=[],Db=new Image;Za(5E3,{device_pixel_ratio:window.devicePixelRatio,platform:navigator.platform});C.FM={TILE_BASE_URLS:["maponline0.bdimg.com/starpic/?qt=satepc&","maponline1.bdimg.com/starpic/?qt=satepc&","maponline2.bdimg.com/starpic/?qt=satepc&","maponline3.bdimg.com/starpic/?qt=satepc&"],TILE_ONLINE_URLS:["maponline0.bdimg.com","maponline1.bdimg.com","maponline2.bdimg.com","maponline3.bdimg.com"],TIlE_PERSPECT_URLS:["gss0.bdstatic.com/-OR1cTe9KgQFm2e88IuM_a","gss0.bdstatic.com/-ON1cTe9KgQFm2e88IuM_a","gss0.bdstatic.com/-OZ1cTe9KgQFm2e88IuM_a","gss0.bdstatic.com/-OV1cTe9KgQFm2e88IuM_a"],geolocControl:"gsp0.baidu.com/8LkJsjOpB1gCo2Kml5_Y_D3", TILES_YUN_HOST:["gsp0.baidu.com/-eR1bSahKgkFkRGko9WTAnF6hhy","gsp0.baidu.com/-eN1bSahKgkFkRGko9WTAnF6hhy","gsp0.baidu.com/-eZ1bSahKgkFkRGko9WTAnF6hhy","gsp0.baidu.com/-eV1bSahKgkFkRGko9WTAnF6hhy"],traffic:"itsmap2.baidu.com",message:"j.map.baidu.com",baidumap:"map.baidu.com",wuxian:"gsp0.baidu.com/6a1OdTeaKgQFm2e88IuM_a",pano:["apisv0.bdimg.com","apisv1.bdimg.com"],panoVerify:"api.map.baidu.com",main_domain_nocdn:{baidu:"api.map.baidu.com",other:"api.map.baidu.com"},main_domain_cdn:{baidu:["mapapip0.bdimg.com", "mapapip1.bdimg.com","mapapip2.bdimg.com"],other:["api.map.baidu.com"],webmap:["webmap0.bdimg.com"]},map_click:"gsp0.baidu.com/80MWbzKh2wt3n2qy8IqW0jdnxx1xbK",vector_traffic:"maponline0.bdimg.com"}; C.aZ={TILE_BASE_URLS:["maponline0.bdimg.com/starpic/?qt=satepc&","maponline1.bdimg.com/starpic/?qt=satepc&","maponline2.bdimg.com/starpic/?qt=satepc&","maponline3.bdimg.com/starpic/?qt=satepc&"],TILE_ONLINE_URLS:["maponline0.bdimg.com","maponline1.bdimg.com","maponline2.bdimg.com","maponline3.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:"itsmap2.baidu.com",message:"j.map.baidu.com",baidumap:"map.baidu.com",wuxian:"wuxian.baidu.com",pano:["apisv0.bdimg.com","apisv1.bdimg.com"],panoVerify:"api.map.baidu.com",main_domain_nocdn:{baidu:"api.map.baidu.com"},main_domain_cdn:{baidu:["mapapip0.bdimg.com","mapapip1.bdimg.com","mapapip2.bdimg.com"],webmap:["webmap0.bdimg.com"]},map_click:"mapclick.map.baidu.com",vector_traffic:"maponline0.bdimg.com"}; C.s1={"0":{proto:"http://",domain:C.aZ},1:{proto:"https://",domain:C.FM},2:{proto:"https://",domain:C.FM}};window.BMAP_PROTOCOL&&"https"===window.BMAP_PROTOCOL&&(window.HOST_TYPE=2);C.Uu=window.HOST_TYPE||"0";C.url=C.s1[C.Uu];C.Xp=C.url.proto+C.url.domain.baidumap+"/";C.dd=window._BMapSecurityConfig&&window._BMapSecurityConfig.serviceHost?window._BMapSecurityConfig.serviceHost:C.url.proto+("2"==C.Uu?C.url.domain.main_domain_nocdn.other:C.url.domain.main_domain_nocdn.baidu)+"/"; C.pa=C.url.proto+("2"==C.Uu?C.url.domain.main_domain_cdn.other[0]:C.url.domain.main_domain_nocdn.baidu)+"/";C.qj=C.url.proto+C.url.domain.main_domain_cdn.webmap[0]+"/";C.YN=C.url.proto+C.url.domain.panoVerify+"/"; C.xh=function(a,b){var c,e,b=b||"";switch(a){case "main_domain_nocdn":c=C.dd+b;break;case "main_domain_cdn":c=C.pa+b;break;default:e=C.url.domain[a],"[object Array]"==Object.prototype.toString.call(e)?(c=[],z.oc.Rb(e,function(a,e){c[e]=C.url.proto+a+"/"+b})):c=C.url.proto+C.url.domain[a]+"/"+b}return c};function Gb(a){var b={duration:1E3,Nc:30,np:0,fc:Hb.kN,gu:ba()};this.ig=[];if(a)for(var c in a)b[c]=a[c];this.m=b;if(hb(b.np)){var e=this;setTimeout(function(){e.start()},b.np)}else b.np!=Ib&&this.start()}var Ib="INFINITE";Gb.prototype.start=function(){this.nv=mb();this.mA=this.nv+this.m.duration;Jb(this)};Gb.prototype.add=function(a){this.ig.push(a)}; function Jb(a){var b=mb();b>=a.mA?(ib(a.m.Ba)&&a.m.Ba(a.m.fc(1)),ib(a.m.finish)&&a.m.finish(),0<a.ig.length&&(b=a.ig[0],b.ig=[].concat(a.ig.slice(1)),b.start())):(a.Ty=a.m.fc((b-a.nv)/a.m.duration),ib(a.m.Ba)&&a.m.Ba(a.Ty),a.hG||(a.rs=setTimeout(function(){Jb(a)},1E3/a.m.Nc)))}Gb.prototype.stop=function(a){this.hG=q;for(var b=0;b<this.ig.length;b++)this.ig[b].stop(),this.ig[b]=s;this.ig.length=0;this.rs&&(clearTimeout(this.rs),this.rs=s);this.m.gu(this.Ty);a&&(this.mA=this.nv,Jb(this))}; Gb.prototype.cancel=ia(0);var Hb={kN:function(a){return a},reverse:function(a){return 1-a},rD:function(a){return a*a},pD:function(a){return Math.pow(a,3)},dt:function(a){return-(a*(a-2))},uL:function(a){return Math.pow(a-1,3)+1},qD:function(a){return 0.5>a?2*a*a:-2*(a-2)*a-1},S3:function(a){return 0.5>a?4*Math.pow(a,3):4*Math.pow(a-1,3)+1},T3:function(a){return(1-Math.cos(Math.PI*a))/2}};Hb["ease-in"]=Hb.rD;Hb["ease-out"]=Hb.dt;var L={HG:34,IG:21,JG:new O(21,32),NP:new O(10,32),MP:new O(24,36),LP:new O(12,36),FG:new O(13,1),ta:C.pa+"images/",r5:"http://mapapip0.bdimg.com/images/",GG:C.pa+"images/markers_new.png",JP:24,KP:73,FC:{"\u5317\u4eac":{Iy:"bj",o:new N(116.403874,39.914889)},"\u4e0a\u6d77":{Iy:"sh",o:new N(121.487899,31.249162)},"\u6df1\u5733":{Iy:"sz",o:new N(114.025974,22.546054)},"\u5e7f\u5dde":{Iy:"gz",o:new N(113.30765,23.120049)}},fontFamily:"arial,sans-serif"}; z.ga.Xe?(z.extend(L,{fL:"url("+L.ta+"ruler.cur),crosshair",Ac:"-moz-grab",Ld:"-moz-grabbing"}),z.platform.YM&&(L.fontFamily="arial,simsun,sans-serif")):z.ga.ex||z.ga.Sy?z.extend(L,{fL:"url("+L.ta+"ruler.cur) 2 6,crosshair",Ac:"url("+L.ta+"openhand.cur) 8 8,default",Ld:"url("+L.ta+"closedhand.cur) 8 8,move"}):z.extend(L,{fL:"url("+L.ta+"ruler.cur),crosshair",Ac:"url("+L.ta+"openhand.cur),default",Ld:"url("+L.ta+"closedhand.cur),move"});function Kb(a,b){var c=a.style;c.left=b[0]+"px";c.top=b[1]+"px"}function Lb(a){0<z.ga.oa?a.unselectable="on":a.style.MozUserSelect="none"}function Mb(a){return a&&a.parentNode&&11!==a.parentNode.nodeType}function Nb(a,b){z.U.hy(a,"beforeEnd",b);return a.lastChild}function Ob(a){for(var b={left:0,top:0};a&&a.offsetParent;)b.left+=a.offsetLeft,b.top+=a.offsetTop,a=a.offsetParent;return b}function oa(a){a=window.event||a;a.stopPropagation?a.stopPropagation():a.cancelBubble=q} function Pb(a){a=window.event||a;a.preventDefault?a.preventDefault():a.returnValue=t;return t}function pa(a){oa(a);return Pb(a)}function Qb(){var a=document.documentElement,b=document.body;return a&&(a.scrollTop||a.scrollLeft)?[a.scrollTop,a.scrollLeft]:b?[b.scrollTop,b.scrollLeft]:[0,0]}function Rb(a,b){if(a&&b)return Math.round(Math.sqrt(Math.pow(a.x-b.x,2)+Math.pow(a.y-b.y,2)))}function Sb(a,b){var c=[],b=b||function(a){return a},e;for(e in a)c.push(e+"="+b(a[e]));return c.join("&")} function I(a,b,c){var e=document.createElement(a);c&&(e=document.createElementNS(c,a));return z.U.IF(e,b||{})}function fb(a){if(a.currentStyle)return a.currentStyle;if(a.ownerDocument&&a.ownerDocument.defaultView)return a.ownerDocument.defaultView.getComputedStyle(a,s)}function ib(a){return"function"===typeof a}function hb(a){return"number"===typeof a}function jb(a){return"string"==typeof a}function Tb(a){return"undefined"!=typeof a}function Ub(a){return"object"==typeof a}var Vb="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; function Wb(a){for(var b="",c=0;c<a.length;c++){var e=a.charCodeAt(c)<<1,f=e=e.toString(2);8>e.length&&(f="00000000"+e,f=f.substr(e.length,8));b+=f}a=5-b.length%5;e=[];for(c=0;c<a;c++)e[c]="0";b=e.join("")+b;f=[];for(c=0;c<b.length/5;c++)e=b.substr(5*c,5),f.push(String.fromCharCode(parseInt(e,2)+50));return f.join("")+a.toString()} function Xb(a){var b="",c,e,f="",g,i="",k=0;g=/[^A-Za-z0-9\+\/\=]/g;if(!a||g.exec(a))return a;a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");do c=Vb.indexOf(a.charAt(k++)),e=Vb.indexOf(a.charAt(k++)),g=Vb.indexOf(a.charAt(k++)),i=Vb.indexOf(a.charAt(k++)),c=c<<2|e>>4,e=(e&15)<<4|g>>2,f=(g&3)<<6|i,b+=String.fromCharCode(c),64!=g&&(b+=String.fromCharCode(e)),64!=i&&(b+=String.fromCharCode(f));while(k<a.length);return b}var R=z.lang.cv; function M(){var a=navigator.userAgent;return-1<a.indexOf("iPhone")||-1<a.indexOf("iPad")||-1<a.indexOf("Android")||-1<a.indexOf("Harmony")?q:t}function eb(){return!(!z.platform.YM&&!z.platform.RM&&!z.platform.CZ)}function mb(){return(new Date).getTime()} function Yb(a){a=a.split("//");if(2<=a.length){var b=a[1].split("?");if(1<=b.length){var c=b[0].split("/"),e=1;window.urlSplitBeginIndex&&(e=window.urlSplitBeginIndex);var f=e,e=b.length-1,g="/",i=c.length;f||(f=0);e||(e=i-1);g||(g="");if(f>i-1||e>i-1)e="";else{for(i="";f<=e;f++)i=f===e?i+c[f]:i+(c[f]+g);e=i}return{host:b[0],origin:a[0]+"//"+c[0],path:"/"+e}}}return s} function Zb(){var a=document.body.appendChild(I("div"));a.innerHTML='<v:shape id="vml_tester1" adj="1" />';var b=a.firstChild;if(!b.style)return t;b.style.behavior="url(#default#VML)";b=b?"object"===typeof b.adj:q;a.parentNode.removeChild(a);return b}function $b(){return!!document.implementation.hasFeature("http://www.w3.org/TR/SVG11/feature#Shape","1.1")}function ac(){return!!I("canvas").getContext}function bc(a){return a*Math.PI/180} C.IZ=function(){var a=q,b=q,c=q,e=q,f=0,g=0,i=0,k=0;return{rR:function(){f+=1;a&&(a=t,setTimeout(function(){Za(5054,{pic:f});a=q;f=0},1E4))},s2:function(){g+=1;b&&(b=t,setTimeout(function(){Za(5055,{move:g});b=q;g=0},1E4))},u2:function(){i+=1;c&&(c=t,setTimeout(function(){Za(5056,{zoom:i});c=q;i=0},1E4))},t2:function(a){k+=a;e&&(e=t,setTimeout(function(){Za(5057,{tile:k});e=q;k=0},5E3))}}}();C.Oq={XG:"#83a1ff",Qq:"#808080"}; function cc(a,b,c){b.bF||(b.bF=[],b.handle={});b.bF.push({filter:c,kt:a});b.addEventListener||(b.addEventListener=function(a,c){b.attachEvent("on"+a,c)});b.handle.click||(b.addEventListener("click",function(a){for(var c=a.target||a.srcElement;c!=b;){dc(b.bF,function(b,i){RegExp(i.filter).test(c.getAttribute("filter"))&&i.kt.call(c,a,c.getAttribute("filter"))});c=c.parentNode}},t),b.handle.click=q)}function dc(a,b){for(var c=0,e=a.length;c<e;c++)b(c,a[c])} void function(a,b,c){void function(a,b,c){function i(a){if(!a.mp){for(var c=q,e=[],g=a.M_,k=0;g&&k<g.length;k++){var m=g[k],n=ga[m]=ga[m]||{};if(n.mp||n==a)e.push(n.Uc);else{c=t;if(!n.MW&&(m=(Da.get("alias")||{})[m]||m+".js",!J[m])){J[m]=q;var o=b.createElement("script"),p=b.getElementsByTagName("script")[0];o.async=q;o.src=m;p.parentNode.insertBefore(o,p)}n.pz=n.pz||{};n.pz[a.name]=a}}if(c){a.mp=q;a.aL&&(a.Uc=a.aL.apply(a,e));for(var v in a.pz)i(a.pz[v])}}}function k(a){return(a||new Date)-H}function m(a, b,c){if(a){"string"==typeof a&&(c=b,b=a,a=K);try{a==K?(P[b]=P[b]||[],P[b].unshift(c)):a.addEventListener?a.addEventListener(b,c,t):a.attachEvent&&a.attachEvent("on"+b,c)}catch(e){}}}function n(a,b,c){if(a){"string"==typeof a&&(c=b,b=a,a=K);try{if(a==K){var e=P[b];if(e)for(var f=e.length;f--;)e[f]===c&&e.splice(f,1)}else a.removeEventListener?a.removeEventListener(b,c,t):a.detachEvent&&a.detachEvent("on"+b,c)}catch(g){}}}function o(a){var b=P[a],c=0;if(b){for(var e=[],f=arguments,g=1;g<f.length;g++)e.push(f[g]); for(g=b.length;g--;)b[g].apply(this,e)&&c++;return c}}function p(a,b){if(a&&b){var c=new Image(1,1),e=[],f="img_"+ +new Date,g;for(g in b)b[g]&&e.push(g+"="+encodeURIComponent(b[g]));K[f]=c;c.onload=c.onerror=function(){K[f]=c=c.onload=c.onerror=s;delete K[f]};c.src=a+"?"+e.join("&")}}function v(){var a=arguments,b=a[0];if(this.$K||/^(on|un|set|get|create)$/.test(b)){for(var b=A.prototype[b],c=[],e=1,f=a.length;e<f;e++)c.push(a[e]);"function"==typeof b&&b.apply(this,c)}else this.wK.push(a)}function w(a, b){var c={},e;for(e in a)a.hasOwnProperty(e)&&(c[e]=a[e]);for(e in b)b.hasOwnProperty(e)&&(c[e]=b[e]);return c}function A(a){this.name=a;this.it={protocolParameter:{postUrl:s,protocolParameter:s}};this.wK=[];this.alog=K}function B(a){a=a||"default";if("*"==a){var a=[],b;for(b in Q)a.push(Q[b]);return a}(b=Q[a])||(b=Q[a]=new A(a));return b}var D=c.alog;if(!D||!D.mp){var F=b.all&&a.attachEvent,H=D&&D.SE||+new Date,G=a.L5||(+new Date).toString(36)+Math.random().toString(36).substr(2,3),E=0,J={},K=function(a){var b= arguments,c,e,f,g;if("define"==a||"require"==a){for(e=1;e<b.length;e++)switch(typeof b[e]){case "string":c=b[e];break;case "object":f=b[e];break;case "function":g=b[e]}"require"==a&&(c&&!f&&(f=[c]),c=s);c=!c?"#"+E++:c;e=ga[c]=ga[c]||{};e.mp||(e.name=c,e.M_=f,e.aL=g,"define"==a&&(e.MW=q),i(e))}else"function"==typeof a?a(K):(""+a).replace(/^(?:([\w$_]+)\.)?(\w+)$/,function(a,c,e){b[0]=e;v.apply(K.rG(c),b)})},P={},Q={},ga={j3:{name:"alog",mp:q,Uc:K}};A.prototype.start=A.prototype.create=function(a){if(!this.$K){"object"== typeof a&&this.set(a);this.$K=new Date;for(this.jt("create",this);a=this.wK.shift();)v.apply(this,a)}};A.prototype.send=function(a,b){var c=w({ts:k().toString(36),t:a,sid:G},this.it);if("object"==typeof b)c=w(c,b);else{var e=arguments;switch(a){case "pageview":e[1]&&(c.page=e[1]);e[2]&&(c.title=e[2]);break;case "event":e[1]&&(c.eventCategory=e[1]);e[2]&&(c.eventAction=e[2]);e[3]&&(c.eventLabel=e[3]);e[4]&&(c.eventValue=e[4]);break;case "timing":e[1]&&(c.timingCategory=e[1]);e[2]&&(c.timingVar=e[2]); e[3]&&(c.timingValue=e[3]);e[4]&&(c.timingLabel=e[4]);break;case "exception":e[1]&&(c.exDescription=e[1]);e[2]&&(c.exFatal=e[2]);break;default:return}}this.jt("send",c);var f;if(e=this.it.protocolParameter){var g={};for(f in c)e[f]!==s&&(g[e[f]||f]=c[f]);f=g}else f=c;p(this.it.postUrl,f)};A.prototype.set=function(a,b){if("string"==typeof a)"protocolParameter"==a&&(b=w({postUrl:s,protocolParameter:s},b)),this.it[a]=b;else if("object"==typeof a)for(var c in a)this.set(c,a[c])};A.prototype.get=function(a, b){var c=this.it[a];"function"==typeof b&&b(c);return c};A.prototype.jt=function(a,b){return K.jt(this.name+"."+a,b)};A.prototype.V=function(a,b){K.V(this.name+"."+a,b)};A.prototype.md=function(a,b){K.md(this.name+"."+a,b)};K.name="alog";K.Yb=G;K.mp=q;K.timestamp=k;K.md=n;K.V=m;K.jt=o;K.rG=B;K("init");var da=A.prototype;V(da,{start:da.start,create:da.create,send:da.send,set:da.set,get:da.get,on:da.V,un:da.md,fire:da.jt});var Da=B();Da.set("protocolParameter",{i3:s});if(D){da=[].concat(D.zb||[],D.hq|| []);D.zb=D.hq=s;for(var wa in K)K.hasOwnProperty(wa)&&(D[wa]=K[wa]);K.zb=K.hq={push:function(a){K.apply(K,a)}};for(D=0;D<da.length;D++)K.apply(K,da[D])}c.alog=K;F&&m(b,"mouseup",function(a){a=a.target||a.srcElement;1==a.nodeType&&/^ajavascript:/i.test(a.tagName+a.href)});var La=t;a.onerror=function(a,b,e,f){var i=q;!b&&/^script error/i.test(a)&&(La?i=t:La=q);i&&c.alog("exception.send","exception",{cu:a,RE:b,Zt:e,Bg:f});return t};c.alog("exception.on","catch",function(a){c.alog("exception.send","exception", {cu:a.cu,RE:a.path,Zt:a.Zt,method:a.method,GL:"catch"})})}}(a,b,c);void function(a,b,c){var i="18_3";M()&&(i="18_4");var k="http://static.tieba.baidu.com";"https:"===a.location.protocol&&(k="https://gsp0.baidu.com/5aAHeD3nKhI2p27j8IqW0jdnxx1xbK");var m=Math.random,k=k+"/tb/pms/img/st.gif",n={Ih:"0.1"},o={Ih:"0.1"},p={Ih:"0.1"},v={Ih:"0"};if(n&&n.Ih&&m()<n.Ih){var w=c.alog.rG("monkey"),A,n=a.screen,B=b.referrer;w.set("ver",5);w.set("pid",241);n&&w.set("px",n.width+"*"+n.height);w.set("ref",B);c.alog("monkey.on", "create",function(){A=c.alog.timestamp;w.set("protocolParameter",{reports:s})});c.alog("monkey.on","send",function(a){"pageview"==a.t&&(a.cmd="open");a.now&&(a.ts=A(a.now).toString(36),a.now="")});c.alog("monkey.create",{page:i,pid:"241",p:"18",dv:6,postUrl:k,reports:{refer:1}});c.alog("monkey.send","pageview",{now:+new Date})}if(o&&o.Ih&&m()<o.Ih){var D=t;a.onerror=function(a,b,e,f){var i=q;!b&&/^script error/i.test(a)&&(D?i=t:D=q);i&&c.alog("exception.send","exception",{cu:a,RE:b,Zt:e,Bg:f});return t}; c.alog("exception.on","catch",function(a){c.alog("exception.send","exception",{cu:a.cu,RE:a.path,Zt:a.Zt,method:a.method,GL:"catch"})});c.alog("exception.create",{postUrl:k,dv:7,page:i,pid:"170",p:"18"})}p&&(p.Ih&&m()<p.Ih)&&(c.alog("cus.on","time",function(a){var b={},e=t,f;if("[object Object]"===a.toString()){for(var i in a)"page"==i?b.page=a[i]:(f=parseInt(a[i]),0<f&&/^z_/.test(i)&&(e=q,b[i]=f));e&&c.alog("cus.send","time",b)}}),c.alog("cus.on","count",function(a){var b={},e=t;"string"===typeof a&& (a=[a]);if(a instanceof Array)for(var f=0;f<a.length;f++)/^z_/.test(a[f])?(e=q,b[a[f]]=1):/^page:/.test(a[f])&&(b.page=a[f].substring(5));e&&c.alog("cus.send","count",b)}),c.alog("cus.create",{dv:3,postUrl:k,page:i,p:"18"}));if(v&&v.Ih&&m()<v.Ih){var F=["Moz","O","ms","Webkit"],H=["-webkit-","-moz-","-o-","-ms-"],G=function(){return typeof b.createElement!=="function"?b.createElement(arguments[0]):b.createElement.apply(b,arguments)},E=G("dpFeatureTest").style,J=function(a){return K(a,l,l)},K=function(a, b,c){var e=a.charAt(0).toUpperCase()+a.slice(1),f=(a+" "+F.join(e+" ")+e).split(" ");if(typeof b==="string"||typeof b==="undefined")return P(f,b);f=(a+" "+F.join(e+" ")+e).split(" ");a:{var a=f,g;for(g in a)if(a[g]in b){if(c===t){b=a[g];break a}g=b[a[g]];b=typeof g==="function"?fnBind(g,c||b):g;break a}b=t}return b},P=function(a,b){var c,e,f;e=a.length;for(c=0;c<e;c++){f=a[c];~(""+f).indexOf("-")&&(f=Q(f));if(E[f]!==l)return b=="pfx"?f:q}return t},Q=function(a){return a.replace(/([a-z])-([a-z])/g, function(a,b,c){return b+c.toUpperCase()}).replace(/^-/,"")},ga=function(a,b,c){if(a.indexOf("@")===0)return atRule(a);a.indexOf("-")!=-1&&(a=Q(a));return!b?K(a,"pfx"):K(a,b,c)},da=function(){var a=G("canvas");return!(!a.getContext||!a.getContext("2d"))},Da=function(){var a=G("div");return"draggable"in a||"ondragstart"in a&&"ondrop"in a},wa=function(){try{localStorage.setItem("localStorage","localStorage");localStorage.removeItem("localStorage");return q}catch(a){return t}},La=function(){return"content"in b.createElement("template")},va=function(){return"createShadowRoot"in b.createElement("a")},cb=function(){return"registerElement"in b},Ue=function(){return"import"in b.createElement("link")},gd=function(){return"getItems"in b},Vj=function(){return"EventSource"in window},Ve=function(a,b){var c=new Image;c.onload=function(){b(a,c.width>0&&c.height>0)};c.onerror=function(){b(a,t)};c.src="data:image/webp;base64,"+{O5:"UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA",N5:"UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA==", alpha:"UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAARBxAR/Q9ERP8DAABWUDggGAAAABQBAJ0BKgEAAQAAAP4AAA3AAP7mtQAAAA==",Bk:"UklGRlIAAABXRUJQVlA4WAoAAAASAAAAAAAAAAAAQU5JTQYAAAD/////AABBTk1GJgAAAAAAAAAAAAAAAAAAAGQAAABWUDhMDQAAAC8AAAAQBxAREYiI/gcA"}[a]},We=function(a,b){return ic.ri["WebP-"+a]=b},Wj=function(){return"openDatabase"in a},Xj=function(){return"performance"in a&&"timing"in a.performance},Yj=function(){return"performance"in a&&"mark"in a.performance},Zj=function(){return!(!Array.prototype|| !Array.prototype.every||!Array.prototype.filter||!Array.prototype.forEach||!Array.prototype.indexOf||!Array.prototype.lastIndexOf||!Array.prototype.map||!Array.prototype.some||!Array.prototype.reduce||!Array.prototype.reduceRight||!Array.isArray)},$j=function(){return"Promise"in a&&"cast"in a.Rq&&"resolve"in a.Rq&&"reject"in a.Rq&&"all"in a.Rq&&"race"in a.Rq&&function(){var b;new a.Rq(function(a){b=a});return typeof b==="function"}()},ak=function(){var b=!!a.c2,c=a.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest;return!!a.h2&&b&&c},bk=function(){return"geolocation"in navigator},ck=function(){var b=G("canvas"),c="probablySupportsContext"in b?"probablySupportsContext":"supportsContext";return c in b?b[c]("webgl")||b[c]("experimental-webgl"):"WebGLRenderingContext"in a},dk=function(){return!!b.createElementNS&&!!b.createElementNS("http://www.w3.org/2000/svg","svg").H3},ek=function(){return!!a.p2},fk=function(){return"WebSocket"in a&&a.m2.Y1===2},gk=function(){return!!b.createElement("video").canPlayType}, hk=function(){return!!b.createElement("audio").canPlayType},ik=function(){return!!(a.history&&"pushState"in a.history)},jk=function(){return!(!a.a2||!a.b2)},kk=function(){return"postMessage"in window},lk=function(){return!!a.webkitNotifications||"Notification"in a&&"permission"in a.fQ&&"requestPermission"in a.fQ},mk=function(){for(var b=["webkit","moz","o","ms"],c=a.requestAnimationFrame,f=0;f<b.length&&!c;++f)c=a[b[f]+"RequestAnimationFrame"];return!!c},nk=function(){return"JSON"in a&&"parse"in JSON&& "stringify"in JSON},ok=function(){return!(!ga("exitFullscreen",b,t)&&!ga("cancelFullScreen",b,t))},pk=function(){return!!ga("Intl",a)},qk=function(){return J("flexBasis")},rk=function(){return!!J("perspective")},sk=function(){return J("shapeOutside")},tk=function(){var a=G("div");a.style.cssText=H.join("filter:blur(2px); ");return!!a.style.length&&(b.documentMode===l||b.documentMode>9)},uk=function(){return"XMLHttpRequest"in a&&"withCredentials"in new XMLHttpRequest},vk=function(){return G("progress").max!== l},wk=function(){return G("meter").max!==l},xk=function(){return"sendBeacon"in navigator},yk=function(){return J("borderRadius")},zk=function(){return J("boxShadow")},Ak=function(){var a=G("div").style;a.cssText=H.join("opacity:.55;");return/^0.55$/.test(a.opacity)},Bk=function(){return P(["textShadow"],l)},Ck=function(){return J("animationName")},Dk=function(){return J("transition")},Ek=function(){return navigator.userAgent.indexOf("Android 2.")===-1&&J("transform")},ic={ri:{},sa:function(a,b,c){this.ri[a]= b.apply(this,[].slice.call(arguments,2))},Jd:function(a,b){a.apply(this,[].slice.call(arguments,1))},R_:function(){this.sa("bdrs",yk);this.sa("bxsd",zk);this.sa("opat",Ak);this.sa("txsd",Bk);this.sa("anim",Ck);this.sa("trsi",Dk);this.sa("trfm",Ek);this.sa("flex",qk);this.sa("3dtr",rk);this.sa("shpe",sk);this.sa("fltr",tk);this.sa("cavs",da);this.sa("dgdp",Da);this.sa("locs",wa);this.sa("wctem",La);this.sa("wcsdd",va);this.sa("wccse",cb);this.sa("wchti",Ue);this.Jd(Ve,"lossy",We);this.Jd(Ve,"lossless", We);this.Jd(Ve,"alpha",We);this.Jd(Ve,"animation",We);this.sa("wsql",Wj);this.sa("natm",Xj);this.sa("ustm",Yj);this.sa("arra",Zj);this.sa("prms",$j);this.sa("xhr2",ak);this.sa("wbgl",ck);this.sa("geol",bk);this.sa("svg",dk);this.sa("work",ek);this.sa("wbsk",fk);this.sa("vido",gk);this.sa("audo",hk);this.sa("hsty",ik);this.sa("file",jk);this.sa("psmg",kk);this.sa("wknf",lk);this.sa("rqaf",mk);this.sa("json",nk);this.sa("flsc",ok);this.sa("i18n",pk);this.sa("cors",uk);this.sa("prog",vk);this.sa("metr", wk);this.sa("becn",xk);this.sa("mcrd",gd);this.sa("esrc",Vj)}},w=c.alog.rG("feature");w.V("commit",function(){ic.R_();var a=setInterval(function(){if("WebP-lossy"in ic.ri&&"WebP-lossless"in ic.ri&&"WebP-alpha"in ic.ri&&"WebP-animation"in ic.ri){for(var b in ic.ri)ic.ri[b]=ic.ri[b]?"y":"n";w.send("feature",ic.ri);clearInterval(a)}},500)});c.alog("feature.create",{Q3:4,s6:k,page:i,zb:"18"});c.alog("feature.fire","commit")}}(a,b,c)}(window,document,C);C.Wq=C.alog||ba();C.alog("cus.fire","count","z_loadscriptcount"); "https:"===location.protocol&&C.alog("cus.fire","count","z_httpscount");function ec(a){var b=window.TILE_VERSION,c="20190410";b&&b.ditu&&(b=b.ditu,b[a]&&b[a].updateDate&&(c=b[a].updateDate));return c} var fc=[72.6892532,0.1939743381,136.1168614,54.392257],gc=[72.69566833,0.1999420909,136.1232863,54.39791217],hc=158,jc=[98.795985,122.960792,107.867379,118.093451,119.139658,128.035888,79.948212,99.029524,119.923388,122.094977,127.918527,130.94789,106.50606,108.076783,119.8329,126.382207,111.803567,119.324928,100.749858,102.227985,99.860885,100.788921,97.529435,98.841564,99.100017,99.90035,122.917416,123.774367,123.728314,125.507211,123.736065,124.767299,125.488463,126.410675,125.484326,126.07764, 130.830784,133.620042,127.912178,128.668957,128.658937,129.638599,132.894179,134.119086,117.379378,119.244569,116.086736,117.431212,114.420233,116.137458,116.492775,119.605527,110.579401,111.86488,74.468228,80.001908,82.867432,91.353788,85.721075,98.976964,127.664757,129.546833,129.476893,130.22449,133.730358,134.745235,134.381034,135.1178,130.868117,131.34409,115.513245,117.544751,115.779271,116.748045,108.536254,110.614326,121.365534,124.626434,126.165992,127.347013,91.281869,95.611754,79.879648, 82.945041,76.413314,78.345207,78.275229,80.002329,83.956612,85.734098,85.510186,89.356499,97.997001,98.948845,106.653208,108.610811,111.400183,111.824179,111.592224,111.817136,116.00682,117.024631,116.258574,116.689291,119.436876,119.922961,120.659806,121.395479,120.349116,120.676014,124.59389,125.787788,126.221756,126.788962,95.572955,102.046581,95.583772,96.165551,95.564318,97.806095,91.30446,93.356438,93.330319,94.698145,89.349129,90.548677,82.268802,82.892025,78.335615,80.032266,76.625755,78.361413, 73.498248,74.490992,74.846872,76.488771,91.563521,94.878444,88.768214,89.244787,83.247076,83.974127,82.29595,83.256003,81.885315,83.26249,80.760619,81.472404,86.470983,88.276988,102.207537,104.234614,112.164795,116.833667,108.965663,113.032246,111.166575,117.983363],kc=[22.551183,42.284787,17.227969,22.738314,41.300981,50.749638,30.368087,42.332701,21.705055,22.696452,42.426047,48.944674,21.432184,22.651387,50.657409,52.92296,42.212192,45.206905,21.137031,22.57186,21.444502,22.586566,23.741571,25.301472, 22.006806,22.56637,38.985114,41.346531,40.295617,41.338581,39.740021,40.351012,40.974644,41.331562,40.726852,41.067192,44.877158,48.018285,41.344597,42.451798,42.016305,42.443235,45.880906,48.214001,45.140027,46.792775,45.141083,46.400433,45.156418,45.748281,47.485889,50.071879,42.223667,43.469487,37.019867,40.668675,42.226823,47.321605,27.72944,30.469853,48.919002,49.650614,48.840188,49.443166,46.949801,48.382798,47.660603,48.472692,42.859946,44.913298,47.605896,48.445914,48.41698,48.909667,42.23507, 42.914193,52.8281,53.585952,50.709311,51.662219,42.29968,44.399225,42.302746,45.391958,34.680866,37.03377,30.743515,37.07228,28.245649,30.408935,47.277693,48.504255,25.241528,27.780726,42.223363,42.548418,43.435888,44.696952,44.693193,45.00187,48.886267,49.326755,49.288642,49.632304,50.717486,51.314369,52.914204,53.33964,52.910094,53.115926,52.908382,53.258095,51.64533,52.408305,42.236825,42.699126,43.068466,43.898632,42.670403,43.082219,44.379045,45.187742,44.382336,44.981379,47.310362,48.06019, 45.359099,46.814439,40.569751,42.047741,40.587956,41.41263,38.519192,40.185033,35.790476,37.029005,26.825605,27.763896,27.199658,27.751649,29.150192,30.381073,29.573886,30.065162,30.047775,30.384089,30.001277,30.388525,48.494118,49.173841,22.398528,22.601198,7.441114,11.505968,3.767491,9.005209,12.642067,17.410886],lc=95,mc=[110.3961374,105.0743788,96.8991824,95.61810411,93.82412598,91.3892353,91.38931858,89.08325955,87.22469808,86.26278402,85.17353,85.23741211,82.86627441,81.90481038,79.59687147, 80.39829237,79.93319363,77.80279948,75.2557704,73.49357829,73.1892532,73.87758816,74.4064738,74.10215224,75.46409695,76.77739692,78.28299615,78.15499485,78.37920654,78.89145345,79.69282199,81.19938178,81.80830295,83.89093424,85.94149523,87.86447266,89.03414958,90.05918132,91.10026937,92.15733832,93.74361735,95.82597331,97.95655545,97.12363037,98.2129739,99.2068571,101.6587874,102.5239084,102.2356106,105.0249238,106.0992342,107.8617093,111.6439372,109.591869,112.284586,117.7961157,118.9495128,114.2076584, 118.693565,123.1475225,122.730705,120.9361393,123.4207441,122.3787782,122.1385425,121.5904281,121.1773763,120.6805404,120.2483355,122.795807,122.8759077,121.3060262,122.1392177,123.7418799,126.4177599,128.5647409,129.7194884,131.2259136,131.9950494,133.6289931,135.6168614,131.3875545,130.8743365,128.6303223,126.0997773,124.4015375,122.22161,119.6586483,119.7866827,118.5685878,116.5177976,114.819101,119.0812964,116.453265,111.7431171],nc=[43.2190351,42.38053385,43.17417589,44.42226915,45.09863634, 45.56708116,47.33599718,48.68832709,49.62448486,48.9482175,48.4800472,47.33564399,47.43948676,46.03452067,45.20221788,43.34563043,42.32965739,41.39690972,40.82972331,39.95567654,39.25892877,38.36098768,38.05441569,37.16878445,36.38899414,35.36126817,34.30953451,32.58503879,31.56975694,30.77800266,30.43559814,29.7744892,30.0931977,28.71103299,27.70739665,27.5775472,27.01096137,27.77857883,27.50707954,26.50328315,26.70387804,27.95548557,27.29428901,23.64685493,23.62310601,21.67493381,20.77751465,21.32070991, 22.1824113,22.31232964,22.51316054,16.80037679,13.19749864,0.6939743381,1.541660428,10.50208252,15.58926975,17.89090007,19.94928467,22.18490153,25.37285292,25.61456434,30.62532552,31.08099284,31.89238173,32.50092692,32.80325765,34.25546956,35.15486138,36.90170139,37.8348272,37.941604,38.6480797,38.96797201,40.98146918,41.25573296,42.07218153,42.49132813,44.65259766,44.69330702,48.62286865,48.09383952,49.19628499,50.03402317,53.27678901,53.62976345,53.89420546,52.98933322,52.01872884,50.23210259,50.18807048, 47.49769857,47.34362712,46.50502143,45.24770128],oc=[98.7895,122.954182,107.860913,118.087007,119.133165,128.029533,79.941749,99.023087,119.916883,122.08841,127.912143,130.941471,106.499502,108.070244,119.826245,126.375818,111.797006,119.318387,100.743285,102.221517,99.854448,100.782445,97.522928,98.835028,99.093518,99.893783,122.910927,123.767769,123.721954,125.50077,123.729657,124.760724,125.481902,126.404079,125.477737,126.071019,130.824331,133.613395,127.905767,128.662524,128.652527,129.6321, 132.887552,134.11249,117.37297,119.237999,116.080154,117.424589,114.413586,116.130948,116.486264,119.598927,110.5728,111.858437,74.465162,79.995337,82.860821,91.347291,85.716024,98.970481,127.658331,129.540202,129.470528,130.21808,133.723748,134.738785,134.374555,135.111443,130.861475,131.337438,115.506627,117.538123,115.772783,116.741632,108.529656,110.60782,121.358945,124.619773,126.159424,127.340582,91.275275,95.605228,79.874427,82.938601,76.413314,78.338763,78.275229,79.995765,83.956612,85.727511, 85.503554,89.349858,97.990418,98.942257,106.646704,108.604437,111.393667,111.817723,111.585811,111.810645,116.000232,117.018216,116.252108,116.682705,119.430384,119.916417,120.653168,121.38883,120.342727,120.669383,124.587426,125.781376,126.215282,126.782323,95.566367,102.040026,95.577158,96.159009,95.557772,97.799728,91.298032,93.350057,93.323794,94.691771,89.342471,90.542019,82.264229,82.885485,78.335615,80.025844,76.623947,78.355027,73.495149,74.484473,74.846872,76.482208,91.560117,94.871859,88.761692, 89.23822,83.240549,83.967602,82.292367,83.2495,81.878825,83.256003,80.75421,81.465955,86.465421,88.270356,102.201019,104.228033,112.158282,116.827153,108.965663,113.025767,111.166575,117.97687],pc=[22.545421,42.279053,17.226272,22.731982,41.294917,50.743316,30.361986,42.326603,21.699185,22.690751,42.419757,48.938435,21.426505,22.64567,50.651745,52.916705,42.20641,45.201064,21.131326,22.565685,21.438288,22.580379,23.735785,25.295582,22.001087,22.560315,38.979333,41.340757,40.28938,41.332289,39.734164, 40.344718,40.968803,41.325813,40.721073,41.061503,44.871533,48.012179,41.338366,42.445601,42.010343,42.436934,45.875217,48.208327,45.134237,46.786509,45.135376,46.394665,45.150734,45.742257,47.480099,50.065931,42.217982,43.46329,37.014057,40.662848,42.221079,47.315558,27.723432,30.46385,48.913298,49.644555,48.83396,49.436824,46.944059,48.376613,47.654503,48.466331,42.854333,44.907682,47.600253,48.440245,48.410926,48.903468,42.229292,42.908294,52.822466,53.58012,50.703491,51.656037,42.29378,44.393379, 42.296912,45.385809,34.679282,37.027699,30.740622,37.066377,28.241967,30.403134,47.271949,48.49848,25.235818,27.774976,42.217425,42.542102,43.429763,44.691016,44.687044,44.995758,48.880431,49.320551,49.282865,49.626267,50.711607,51.308382,52.908547,53.333963,52.904419,53.109706,52.902338,53.251938,51.639701,52.402205,42.231045,42.693581,43.062756,43.892771,42.664519,43.075927,44.372942,45.1815,44.376327,44.975476,47.304623,48.054453,45.353174,46.808493,40.563653,42.041556,40.582164,41.4064,38.51618, 40.179105,35.789745,37.023144,26.825402,27.757641,27.193806,27.745766,29.144229,30.375186,29.567889,30.059102,30.041938,30.378006,29.995047,30.382338,48.48834,49.169021,22.392816,22.595333,7.439914,11.500161,3.766676,9.000793,12.640512,17.406563],qc=3E3,rc=2.0E-5,sc=3.0E-6,tc=0.0174532925194,uc=0.0065,vc=0.006,wc=4E4,xc=0,yc=3,zc=1.0E-10,Ac=6370996.81,Bc=1E8;function Cc(a,b,c){for(var e=hc,f=0;f<e;f+=2)if(a.lng>=b[f]&&a.lng<=b[f+1]&&a.lat>=c[f]&&a.lat<=c[f+1])return q;return t} function Dc(a){var b=a.lng,c=a.lat,a=Math.sqrt(b*b+c*c)+Math.sin(c*qc*tc)*rc,b=Math.atan2(c,b)+Math.cos(b*qc*tc)*sc;return{lng:a*Math.cos(b)+uc,lat:a*Math.sin(b)+vc}} function Ec(a){var b=Fc,c={},e=a.lng,f=a.lat,g=1,i=a.lng,k=a.lat,m=e-g,n=0,o=f+g,p=0,v=e-g,w=0,A=f-g,B=0,D=e+g,F=0,H=f-g,G=0,E=e+g,J=0,K=f+g,P=0,o=m=0,o=Gc(b,e,f),m=o.lng,o=o.lat;if(1.0E-6>=Hc(m,o,i,k))return c.lng=e,c.lat=f,c;for(;;){m=e-g;o=f+g;v=e-g;A=f-g;D=e+g;H=f-g;E=e+g;K=f+g;e=Gc(b,m,o);n=e.lng;p=e.lat;e=Gc(b,v,A);w=e.lng;B=e.lat;e=Gc(b,D,H);F=e.lng;G=e.lat;e=Gc(b,E,K);J=e.lng;P=e.lat;e=Hc(n,p,i,k);n=Hc(w,B,i,k);w=Hc(F,G,i,k);J=Hc(J,P,i,k);if(1.0E-6>e)return c.lng=m,c.lat=o,c;if(1.0E-6>n)return c.lng= v,c.lat=A,c;if(1.0E-6>w)return c.lng=D,c.lat=H,c;if(1.0E-6>J)return c.lng=E,c.lat=K,c;F=1/e;n=1/n;w=1/w;J=1/J;e=(m*F+v*n+D*w+E*J)/(F+n+w+J);f=(o*F+A*n+H*w+K*J)/(F+n+w+J);o=Gc(b,e,f);m=o.lng;o=o.lat;if(1.0E-6>=Hc(m,o,i,k))return c.lng=e,c.lat=f,c;g*=0.6;if(1.0E-6>g){a:{c=(a.lng+0.03-(a.lng-0.03))/1.0E-4+0.5;g=(a.lat+0.03-(a.lat-0.03))/1.0E-4+0.5;i=a.lng*Bc;k=a.lat*Bc;A=1.0E-4*Bc;m=i-A;o=i+A;v=k-A;D=k+A;F=n=w=J=l;E=n=A=H=w=J=0;b(a);F=l;for(K=0;K<=c;K++){for(e=0;e<=g;e++)if(F=b(l),J=l.lng*Bc,w=l.lat* Bc,n=F.lng*Bc,F=F.lat*Bc,!(n<m||F<v||n>o||F>D)){J-=n;w-=F;n=Math.sqrt((i-n)*(i-n)+(k-F)*(k-F));if(1>n){c={};c.lng=l.lng;c.lat=l.lat;break a}H+=1*J/n;A+=1*w/n;E+=1/n}H/=E*Bc;A/=E*Bc}b=H*Bc/Bc;g=A*Bc/Bc;c={};c.lng=a.lng+b;c.lat=a.lat+g}return c}}}function Gc(a,b,c){a=a({lng:b,lat:c});b={};b.lng=a.lng;b.lat=a.lat;return b}function Ic(a,b,c,e){var f=arguments.length;this.Kg={};this.Rg={};0!==f&&4===f&&this.normalize(a,b,c,e)} Ic.prototype.contains=function(a){return a.lng>this.Kg.lng&&a.lng<this.Rg.lng&&a.lat>this.Kg.lat&&a.lat<this.Rg.lat?yc:Math.abs(a.lng-this.Kg.lng)<zc||Math.abs(a.lng-this.Rg.lng)<zc||Math.abs(a.lat-this.Kg.lat)<zc||Math.abs(a.y-this.Rg.lat)>zc?2:xc};Ic.prototype.normalize=function(a,b,c,e){a>c?(this.Kg.lng=c,this.Rg.lng=a):(this.Kg.lng=a,this.Rg.lng=c);b>e?(this.Kg.lat=e,this.Rg.lat=b):(this.Kg.lat=b,this.Rg.lat=e)}; function Jc(a,b,c,e){this.Fu={lng:a,lat:b};this.yx={lng:c,lat:e};this.wy=new Ic(a,b,c,e)}function Kc(a,b){var c=a.lat*tc,e=b.lat*tc,f=c-e,g=a.lng*tc-b.lng*tc;return 2*Math.asin(Math.sqrt(Math.sin(f/2)*Math.sin(f/2)+Math.cos(c)*Math.cos(e)*Math.sin(g/2)*Math.sin(g/2)))*Ac}function Hc(a,b,c,e){return Math.sqrt((a-c)*(a-c)+(b-e)*(b-e))}function Lc(a,b,c){return(b.lng-a.lng)*(c.lat-a.lat)-(c.lng-a.lng)*(b.lat-a.lat)} function Fc(a){var b={};if(a.lng<fc[0]-0.4||a.lat<fc[1]-0.4||a.lng>fc[2]+0.4||a.lat>fc[3]+0.4)return b.lng=a.lng,b.lat=a.lat,b;if(Cc(a,oc,pc))return b=Dc(a);for(var b=0,c=wc,e=0,f=new Ic,g=0,e=0;e<lc;++e)nc[e]<=a.lat?nc[(e+1)%lc]>a.lat&&0<Lc({lng:mc[e],lat:nc[e]},{lng:mc[(e+1)%lc],lat:nc[(e+1)%lc]},a)&&++g:nc[(e+1)%lc]<=a.lat&&0>Lc({lng:mc[e],lat:nc[e]},{lng:mc[(e+1)%lc],lat:nc[(e+1)%lc]},a)&&--g;if((0===g?xc:yc)===xc){for(g=0;g<lc;++g)if(e=new Jc(mc[g],nc[g],mc[(g+1)%lc],nc[(g+1)%lc]),f.Kg.lng=e.wy.Kg.lng- 0.5,f.Kg.lat=e.wy.Kg.lat-0.5,f.Rg.lng=e.wy.Rg.lng+0.5,f.Rg.lat=e.wy.Rg.lat+0.5,f.contains(a)!==xc){var i;var k=e.Fu.lng,m=e.Fu.lat,n=e.yx.lng,o=e.yx.lat;i=o-m;var p=k-n;!(Math.abs(i-0)>zc)&&!(Math.abs(p-0)>zc)?i=e.Fu:(k=n*m-k*o,m=p*a.lng-i*a.lat,n=i*i-p*p,i={lng:(p*m-i*k)/n,lat:-(i*m+p*k)/n});p=180;k=90;m=-180;n=-90;n=e.Fu;o=e.yx;p=n.lng<o.lng?n.lng:o.lng;k=n.lat<o.lat?n.lat:o.lat;m=n.lng<o.lng?n.lng:o.lng;n=n.lat<o.lat?n.lat:o.lat;i.lng<=m&&i.lng>=p&&i.lng<=n&&i.lat>=k?(e=a.lat*tc,p=a.lng*tc,k=i.lat* tc,i=i.lng*tc,m=Math.cos(e)*Math.cos(k),e=m*Math.cos(p)*Math.cos(i)+m*Math.sin(p)*Math.sin(i)+Math.sin(e)*Math.sin(k),-1>e?e=-1:1<e&&(e=1),e=Math.acos(e)*Ac):(i=Kc(a,e.Fu),e=Kc(a,e.yx),e=i<e?i:e);e<c&&(c=e)}c<wc&&(b=(wc-c)/wc)}else b=1;c=Dc(a);return b={lng:a.lng+(c.lng-a.lng)*b,lat:a.lat+(c.lat-a.lat)*b}} function Mc(a){var b={};if(a.lng<gc[0]-0.4||a.lat<gc[1]-0.4||a.lng>gc[2]+0.4||a.lat>gc[3]+0.4)return b.lng=a.lng,b.lat=a.lat,b;if(Cc(a,jc,kc)){var b=a.lng-uc,c=a.lat-vc,a=Math.sqrt(b*b+c*c)-Math.sin(c*qc*tc)*rc,b=Math.atan2(c,b)-Math.cos(b*qc*tc)*sc;return b={lng:a*Math.cos(b),lat:a*Math.sin(b)}}c=Fc(a);return a.lng===c.lng&&a.lat===c.lng?(b.lng=a.lng,b.lat=a.lat,b):Ec(a)}function gb(a,b){if(3===b&&a instanceof S){var c=Fc(a);return new N(c.lng,c.lat)}return a} function ob(a,b){if(3===b&&a instanceof N){var c=Mc(a);return new S(c.lng,c.lat)}return 5===b&&a instanceof N?new S(a.lng,a.lat):a}function Nc(a,b){switch(b){case Qa:var c=Fc(a);return new S(c.lng,c.lat);default:return a}}function Oc(a){switch(window.BMap.coordType){case Qa:return a=Mc(a),new S(a.lng,a.lat);default:return a}}function Xa(a,b,c){return 50331648|(a||0)<<16|(b||0)<<8|(c||0)};function sa(a,b,c){if(b){var e=(1E5*Math.random()).toFixed(0);C._rd["_cbk"+e]=function(a){a.result&&a.result.error&&403===a.result.error?C.Yp!==s&&C.Yp.update("\u672a\u83b7\u5f97\u767e\u5ea6\u5730\u56fe\u5546\u7528\u6388\u6743\uff0c\u53ef\u80fd\u5bfc\u81f4\u90e8\u5206\u5730\u56fe\u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u5237\u65b0\u540e\u91cd\u8bd5\u3002"):(b&&b(a),delete C._rd["_cbk"+e])};a+="&callback=BMap._rd._cbk"+e}c||(a=ub(a));var f=I("script",{type:"text/javascript"});f.charset="utf-8";f.src=a; f.addEventListener?f.addEventListener("load",function(a){a=a.target;a.parentNode.removeChild(a)},t):f.attachEvent&&f.attachEvent("onreadystatechange",function(){var a=window.event.srcElement;a&&("loaded"==a.readyState||"complete"==a.readyState)&&a.parentNode.removeChild(a)});setTimeout(function(){document.getElementsByTagName("head")[0].appendChild(f);f=s},1)} function Pc(a){if(navigator.cookieEnabled)return(a=document.cookie.match(RegExp("(^| )"+a+"=([^;]*)(;|$)")))?unescape(a[2]):-1;if(localStorage)return localStorage.getItem(a)?localStorage.getItem(a):-1;if(sessionStorage)return sessionStorage.getItem(a)?localStorage.getItem(a):-1} function ub(a){var b=decodeURIComponent(a.substring(a.indexOf("?")+1)),c=(new Date).getTime(),e=window.___abvk?window.___abvk:Pc("SECKEY_ABVK"),f=Pc("BMAP_SECKEY"),a=a+"&v=3.0&seckey="+encodeURIComponent(e+","+f)+"&timeStamp="+c;return a+=Qc()(b+("&v=3.0&seckey="+e+","+f+"&timeStamp="+c))};var Rc={map:"he2bdy",common:"gqbt4n",style:"ctqcab",tile:"z0wkfb",groundoverlay:"z1w3zi",pointcollection:"vg2s1j",marker:"fgibxm",symbol:"b20joe",canvablepath:"rc3k5m",vmlcontext:"ffzmjk",markeranimation:"jspble",poly:"cpuohv",draw:"esxnlq",drawbysvg:"btid3i",drawbyvml:"sgg5rj",drawbycanvas:"ma0y2l",infowindow:"wh2awg", oppc:"ey2y02",opmb:"vmi3m4",menu:"gcgdbs",control:"z24g2f",navictrl:"ncro0s",geoctrl:"iiorvx",copyrightctrl:"hssfdd",citylistcontrol:"mi0kwe",scommon:"yniqtx",local:"j3wqqo",route:"cyfmta",othersearch:"g1zvdk",mapclick:"zstxtz",buslinesearch:"fnzrw5",hotspot:"0zstlr",autocomplete:"sj5ohb",coordtrans:"23wyky", coordtransutils:"tseaty",convertor:"vx4aoc",clayer:"2uffd3",pservice:"aiarb5",pcommon:"oe13tg",panorama:"vt0luf",panoramaflash:"mp4mnu"}; z.hz=function(){function a(a){return e&&!!c[b+a+"_"+Rc[a]]}var b="BMap_",c=window.localStorage,e="localStorage"in window&&c!==s&&c!==l;return{xZ:e,set:function(a,g){if(e){for(var i=b+a+"_",k=c.length,m;k--;)m=c.key(k),-1<m.indexOf(i)&&c.removeItem(m);try{c.setItem(b+a+"_"+Rc[a],g)}catch(n){c.clear()}}},get:function(f){return e&&a(f)?c.getItem(b+f+"_"+Rc[f]):t},LK:a}}();function bb(){} z.object.extend(bb,{Sj:{YG:-1,uQ:0,Kq:1},VL:function(){var a="canvablepath";if(!M()||!ac())$b()||(Zb()?a="vmlcontext":ac());return{tile:["style"],control:[],marker:["symbol"],symbol:["canvablepath","common"],canvablepath:"canvablepath"===a?[]:[a],vmlcontext:[],style:[],poly:["marker","drawbycanvas","drawbysvg","drawbyvml"],drawbysvg:["draw"],drawbyvml:["draw"],drawbycanvas:["draw"],infowindow:["common","marker"],menu:[],oppc:[],opmb:[],scommon:[],local:["scommon"],route:["scommon"],othersearch:["scommon"], autocomplete:["scommon"],citylistcontrol:["autocomplete"],mapclick:["scommon"],buslinesearch:["route"],hotspot:[],coordtransutils:["coordtrans"],convertor:[],clayer:["tile"],pservice:[],pcommon:["style","pservice"],panorama:["pcommon"],panoramaflash:["pcommon"]}},v6:{},PG:{GQ:window._BMapSecurityConfig&&window._BMapSecurityConfig.serviceHost?window._BMapSecurityConfig.serviceHost+"getmodules?v=3.0":C.pa+"getmodules?v=3.0",dV:5E3},ZC:t,Zd:{Rl:{},Vn:[],zw:[]},load:function(a,b,c){var e=this.qb(a);if(e.Se== this.Sj.Kq)c&&b();else{if(e.Se==this.Sj.YG){this.RK(a);this.hO(a);var f=this;f.ZC==t&&(f.ZC=q,setTimeout(function(){for(var a=[],b=0,c=f.Zd.Vn.length;b<c;b++){var e=f.Zd.Vn[b],n="";ka.hz.LK(e)?n=ka.hz.get(e):(n="",a.push(e+"_"+Rc[e]));f.Zd.zw.push({zN:e,fF:n})}f.ZC=t;f.Zd.Vn.length=0;0==a.length?f.AL():sa(f.PG.GQ+"&mod="+a.join(","))},1));e.Se=this.Sj.uQ}e.rv.push(b)}},RK:function(a){if(a&&this.VL()[a])for(var a=this.VL()[a],b=0;b<a.length;b++)this.RK(a[b]),this.Zd.Rl[a[b]]||this.hO(a[b])},hO:function(a){for(var b= 0;b<this.Zd.Vn.length;b++)if(this.Zd.Vn[b]==a)return;this.Zd.Vn.push(a)},Q_:function(a,b){var c=this.qb(a);try{eval(b)}catch(e){return}c.Se=this.Sj.Kq;for(var f=0,g=c.rv.length;f<g;f++)c.rv[f]();c.rv.length=0},LK:function(a,b){var c=this;c.timeout=setTimeout(function(){c.Zd.Rl[a].Se!=c.Sj.Kq?(c.remove(a),c.load(a,b)):clearTimeout(c.timeout)},c.PG.dV)},qb:function(a){this.Zd.Rl[a]||(this.Zd.Rl[a]={},this.Zd.Rl[a].Se=this.Sj.YG,this.Zd.Rl[a].rv=[]);return this.Zd.Rl[a]},remove:function(a){delete this.qb(a)}, aW:function(a,b){for(var c=this.Zd.zw,e=q,f=0,g=c.length;f<g;f++)""==c[f].fF&&(c[f].zN==a?c[f].fF=b:e=t);e&&this.AL()},AL:function(){for(var a=this.Zd.zw,b=0,c=a.length;b<c;b++)this.Q_(a[b].zN,a[b].fF);this.Zd.zw.length=0}});function T(a,b){this.x=a||0;this.y=b||0;this.x=this.x;this.y=this.y}T.prototype.Vb=function(a){return a&&a.x==this.x&&a.y==this.y};function O(a,b){this.width=a||0;this.height=b||0}O.prototype.Vb=function(a){return a&&this.width==a.width&&this.height==a.height};function vb(a,b,c){var e=new XMLHttpRequest;e.open("POST",a,q);e.setRequestHeader("Content-type","application/x-www-form-urlencoded");e.timeout=1E4;e.ontimeout=ba();e.onreadystatechange=function(){4===this.readyState&&200===this.status&&c&&c(e.responseText)};e.send(b)};(function(a){function b(a,b){var c=(a&65535)+(b&65535);return(a>>16)+(b>>16)+(c>>16)<<16|c&65535}function c(a,c,e,f,g,i){return b(b(b(c,a),b(f,i))<<g|b(b(c,a),b(f,i))>>>32-g,e)}function e(a,b,e,f,g,i,k){return c(b&e|~b&f,a,b,g,i,k)}function f(a,b,e,f,g,i,k){return c(b&f|e&~f,a,b,g,i,k)}function g(a,b,e,f,g,i,k){return c(e^(b|~f),a,b,g,i,k)}function i(a,i){a[i>>5]|=128<<i%32;a[(i+64>>>9<<4)+14]=i;var k,m,n,o,p,G=1732584193,E=-271733879,J=-1732584194,K=271733878;for(k=0;k<a.length;k+=16)m=G,n=E,o=J, p=K,G=e(G,E,J,K,a[k],7,-680876936),K=e(K,G,E,J,a[k+1],12,-389564586),J=e(J,K,G,E,a[k+2],17,606105819),E=e(E,J,K,G,a[k+3],22,-1044525330),G=e(G,E,J,K,a[k+4],7,-176418897),K=e(K,G,E,J,a[k+5],12,1200080426),J=e(J,K,G,E,a[k+6],17,-1473231341),E=e(E,J,K,G,a[k+7],22,-45705983),G=e(G,E,J,K,a[k+8],7,1770035416),K=e(K,G,E,J,a[k+9],12,-1958414417),J=e(J,K,G,E,a[k+10],17,-42063),E=e(E,J,K,G,a[k+11],22,-1990404162),G=e(G,E,J,K,a[k+12],7,1804603682),K=e(K,G,E,J,a[k+13],12,-40341101),J=e(J,K,G,E,a[k+14],17,-1502002290), E=e(E,J,K,G,a[k+15],22,1236535329),G=f(G,E,J,K,a[k+1],5,-165796510),K=f(K,G,E,J,a[k+6],9,-1069501632),J=f(J,K,G,E,a[k+11],14,643717713),E=f(E,J,K,G,a[k],20,-373897302),G=f(G,E,J,K,a[k+5],5,-701558691),K=f(K,G,E,J,a[k+10],9,38016083),J=f(J,K,G,E,a[k+15],14,-660478335),E=f(E,J,K,G,a[k+4],20,-405537848),G=f(G,E,J,K,a[k+9],5,568446438),K=f(K,G,E,J,a[k+14],9,-1019803690),J=f(J,K,G,E,a[k+3],14,-187363961),E=f(E,J,K,G,a[k+8],20,1163531501),G=f(G,E,J,K,a[k+13],5,-1444681467),K=f(K,G,E,J,a[k+2],9,-51403784), J=f(J,K,G,E,a[k+7],14,1735328473),E=f(E,J,K,G,a[k+12],20,-1926607734),G=c(E^J^K,G,E,a[k+5],4,-378558),K=c(G^E^J,K,G,a[k+8],11,-2022574463),J=c(K^G^E,J,K,a[k+11],16,1839030562),E=c(J^K^G,E,J,a[k+14],23,-35309556),G=c(E^J^K,G,E,a[k+1],4,-1530992060),K=c(G^E^J,K,G,a[k+4],11,1272893353),J=c(K^G^E,J,K,a[k+7],16,-155497632),E=c(J^K^G,E,J,a[k+10],23,-1094730640),G=c(E^J^K,G,E,a[k+13],4,681279174),K=c(G^E^J,K,G,a[k],11,-358537222),J=c(K^G^E,J,K,a[k+3],16,-722521979),E=c(J^K^G,E,J,a[k+6],23,76029189),G=c(E^ J^K,G,E,a[k+9],4,-640364487),K=c(G^E^J,K,G,a[k+12],11,-421815835),J=c(K^G^E,J,K,a[k+15],16,530742520),E=c(J^K^G,E,J,a[k+2],23,-995338651),G=g(G,E,J,K,a[k],6,-198630844),K=g(K,G,E,J,a[k+7],10,1126891415),J=g(J,K,G,E,a[k+14],15,-1416354905),E=g(E,J,K,G,a[k+5],21,-57434055),G=g(G,E,J,K,a[k+12],6,1700485571),K=g(K,G,E,J,a[k+3],10,-1894986606),J=g(J,K,G,E,a[k+10],15,-1051523),E=g(E,J,K,G,a[k+1],21,-2054922799),G=g(G,E,J,K,a[k+8],6,1873313359),K=g(K,G,E,J,a[k+15],10,-30611744),J=g(J,K,G,E,a[k+6],15,-1560198380), E=g(E,J,K,G,a[k+13],21,1309151649),G=g(G,E,J,K,a[k+4],6,-145523070),K=g(K,G,E,J,a[k+11],10,-1120210379),J=g(J,K,G,E,a[k+2],15,718787259),E=g(E,J,K,G,a[k+9],21,-343485551),G=b(G,m),E=b(E,n),J=b(J,o),K=b(K,p);return[G,E,J,K]}function k(a){var b,c="",e=32*a.length;for(b=0;b<e;b+=8)c+=String.fromCharCode(a[b>>5]>>>b%32&255);return c}function m(a){var b,c=[];c[(a.length>>2)-1]=l;for(b=0;b<c.length;b+=1)c[b]=0;var e=8*a.length;for(b=0;b<e;b+=8)c[b>>5]|=(a.charCodeAt(b/8)&255)<<b%32;return c}function n(a){var b= "",c,e;for(e=0;e<a.length;e+=1)c=a.charCodeAt(e),b+="0123456789abcdef".charAt(c>>>4&15)+"0123456789abcdef".charAt(c&15);return b}function o(a,b){var c=unescape(encodeURIComponent(a)),e=unescape(encodeURIComponent(b)),f=m(c),g=[],n=[];g[15]=n[15]=l;16<f.length&&(f=i(f,8*c.length));for(c=0;16>c;c+=1)g[c]=f[c]^909522486,n[c]=f[c]^1549556828;e=i(g.concat(m(e)),512+8*e.length);return k(i(n.concat(e),640))}function p(a,b,c){return!b?!c?n(k(i(m(unescape(encodeURIComponent(a))),8*unescape(encodeURIComponent(a)).length))): k(i(m(unescape(encodeURIComponent(a))),8*unescape(encodeURIComponent(a)).length)):!c?n(o(b,a)):o(b,a)}"function"===typeof define&&define.k3?define(function(){return p}):"object"===typeof module&&module.yX?module.yX=p:a.md5=p})(this);function kb(){function a(){if(1===arguments.length&&"object"===typeof arguments[0]){var a=arguments[0]||{};for(key in a)if(!a[key]||!(g[key]&&a[key]===g[key]))if(a[key]||0===a[key])g[key]=a[key]}a=document.getElementById(g.Qi);a.parentNode.removeChild(a);m.disconnect()}function b(a){if(1===arguments.length&&"object"===typeof arguments[0]){var b=arguments[0]||{};for(key in b)if(!b[key]||!(g[key]&&b[key]===g[key]))if(b[key]||0===b[key])g[key]=b[key]}(b=document.getElementById(g.Qi))&&b.parentNode&& b.parentNode.removeChild(b);if(b=document.getElementById(g.zG)){var c=b?b:document.body;if(z.ga.oa)f=parseFloat(z.U.wf(c,"width")),e=parseFloat(z.U.wf(c,"height"));else var e=getComputedStyle(c,s),f=parseFloat(e.width),e=parseFloat(e.height);var i=document.getElementById(g.Qi),o=s;if(i)i.shadowRoot&&(o=i.shadowRoot);else{i=document.createElement("div");i.id=g.Qi;i.setAttribute("style","pointer-events: none !important; opacity: 1 !important; display: block !important;position: absolute !important;left: 0 !important;top: 0 !important;transform:scale(1) !important;scale: 1 !important;z-index:99 !important;margin: 0px !important;visibility: visible !important;"); var o="function"===typeof i.attachShadow?i.attachShadow({mode:"closed"}):i,H=c.children,G=Math.floor(Math.random()*(H.length-1));H[G]?c.insertBefore(i,H[G]):c.appendChild(i)}g.pl=parseInt((f-g.Eq)/(g.Kn+g.Ln))||1;i=parseInt((f-g.Eq-g.Kn*g.pl)/g.pl);g.Ln=i?g.Ln:i;g.ql=parseInt((e-g.Fq)/(g.Jn+g.Mn))||1;i=parseInt((e-g.Fq-g.Jn*g.ql)/g.ql);g.Mn=i?g.Mn:i;b?(i=g.Eq+g.Kn*g.pl+g.Ln*(g.pl-1),H=g.Fq+g.Jn*g.ql+g.Mn*(g.ql-1)):(i=0+g.Eq+g.Kn*g.pl+g.Ln*(g.pl-1),H=0+g.Fq+g.Jn*g.ql+g.Mn*(g.ql-1));for(var E,J=document.createDocumentFragment(), K=0;K<g.ql;K++){E=b?0+g.Fq+(g.Mn+g.Jn)*K:g.Fq+(e-H)/2+(g.Mn+g.Jn)*K;for(var P=0;P<g.pl;P++){var G=b?0+g.Eq+(f-i)/2+(g.Kn+g.Ln)*P:g.Eq+(f-i)/2+(g.Kn+g.Ln)*P,Q=document.createElement("div");Q.appendChild(document.createTextNode(g.AG));Q.id=g.qz+K+P;Q.style.webkitTransform="rotate(-"+g.Xu+"deg)";Q.style.MozTransform="rotate(-"+g.Xu+"deg)";Q.style.msTransform="rotate(-"+g.Xu+"deg)";Q.style.g2="rotate(-"+g.Xu+"deg)";Q.style.transform="rotate(-"+g.Xu+"deg)";Q.style.visibility="";Q.style.position="absolute"; Q.style.left=G+"px";Q.style.top=E+"px";Q.style.overflow="hidden";Q.style.zIndex="9999999";Q.style.opacity=g.D1;Q.style.fontSize=g.G1;Q.style.fontFamily=g.F1;Q.style.color=g.E1;Q.style.textAlign="center";Q.style.width=g.Kn+"px";Q.style.height=g.Jn+"px";Q.style.display="block";Q.style["-ms-user-select"]="none";J.appendChild(Q)}}o.appendChild(J);if((a.gF===l?g.gF:a.gF)&&k)m.observe(c,n),m.observe(document.getElementById(g.Qi),n)}}function c(a){if(f)f=t;else{for(var c=t,e=0,i=0,k=0;k<a.length;k++){if(o&& a[k].target&&a[k].target.getAttribute){var m=a[k].target.getAttribute("id");if(m&&(m===g.Qi||0<=m.indexOf(g.qz))){c=q;break}}for(var n=0;n<a[k].addedNodes.length;n++)if(m=a[k].addedNodes[n],m=m.getAttribute("id"),o&&m&&(m===g.Qi||0<=m.indexOf(g.qz))){e+=1;break}for(n=0;n<a[k].removedNodes.length;n++)if(m=a[k].removedNodes[n],m=m.getAttribute("id"),o&&m&&(m===g.Qi||0<=m.indexOf(g.qz))){i+=1;break}}(c||!e&&0<i)&&b(o)}}var e={},f=t,g={Qi:Math.random().toString(36).slice(2,12),qz:"baidu_jsapi_watermark_span", AG:"\u6d4b\u8bd5\u6c34\u5370",Eq:20,Fq:20,ql:0,pl:0,Ln:40,Mn:40,F1:"\u5fae\u8f6f\u96c5\u9ed1",E1:"red",G1:"18px",D1:1,Kn:200,Jn:50,Xu:15,B7:0,A7:0,zG:s,gF:q},i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,k=i!==l,m=k?new i(c):s,n={childList:q,attributes:q},o;e.ey=function(a){o=a;for(var c=g.Qi,e=document.getElementById(c);e;)c=Math.random().toString(36).slice(2,12),e=document.getElementById(c);g.Qi=c;b(a);z.V(window,"resize",function(){b(a)})};e.load=function(a){o= a;b(a)};e.remove=function(){f=q;a()};return e};var Sc=C.dd+"?qt=jsapi_log",Tc=Date.now(),Uc=s,Vc=s,Wc={},Xc={};function Wa(a,b){if(!window.navigator||navigator.onLine)Vc||(Vc=function(){Yc()}),18E5<Date.now()-Tc&&(Tc=Date.now(),Wc={},Xc={}),Wc[a]||(Wc[a]=q,Xc[a]=b),!Uc&&Vc&&(Uc=setInterval(Vc,1E3))} function Yc(){if(0===Object.keys(Xc).length)clearInterval(Uc),Uc=s;else{var a=Object.keys(Xc)[0],b=(new Date).getTime(),c="logCbk"+Math.floor(1E10*Math.random());window.BMap[c]=function(){delete window.BMap[c]};if(window._BMapSecurityConfig&&window._BMapSecurityConfig.serviceHost){var e=Sc+"&bmap3=1";NaN+(M()?1:0)+"&module="+(Xc[a][0]||"")+"&func="+(Xc[a][1]||"")+"&subfunc="+(Xc[a][2]||"")+"&t="+b+"&callback=BMap."+c}else e=Sc+"&ak="+ra+"&bmap3=1&device="+(M()?1:0)+"&module="+(Xc[a][0]||"")+"&func="+ (Xc[a][1]||"")+"&subfunc="+(Xc[a][2]||"")+"&t="+b+"&callback=BMap."+c;e+=Qc()(e);try{sa(e,s,q),delete Xc[a]}catch(f){}0===Object.keys(Xc).length&&(clearInterval(Uc),Uc=s)}};for(var Zc=function(a,b){function c(a){return f(a,function(a){return e(a)})}function e(a){return g.axmim(a,"")[g.xiama][g.axmim(g.aeacm(m,"Char"),k)](a)}function f(a,b){for(var c="ccc";c!==g.ieami;)switch(c){case "mhx":for(c=0;g.hlxed(c,i);c++){var e=b(a[c]);f.push(e)}c=g.mlllh;break;case g.eedem:var f=[],c="mhx";break;case g.mlllh:return f;case g.eaiha:var i=a.length,c="iec"}}var g={ieami:"laxx",hlxed:function(a,b){return a<b},mlllh:"dea",eedem:"iec",eaiha:"ccc",axmim:function(a,b){return a+b},xiama:"constructor", aeacm:function(a,b){return a+b},echid:function(a,b){return a(b)},amxxh:function(a,b){return a+b},meacx:function(a,b){return a(b)},ihadh:function(a,b,c){return a(b,c)},chxcd:function(a,b,c){return a(b,c)}},i,k,m,n=decodeURIComponent;i="de";m=g.aeacm("fro","m");k=g.amxxh("Co",i);var o=c.call(e,[39,34,37,96,60,120,97,65,98,66,99,67,100,68,101,69,102,70,103,110,109,111,112,48,49,50,51,52,53,54,55,56,57]);i=f([28782,27702,26416,25167,24183],function(a){return g.echid(n,a)});var p=c.call(i,[22354,22749, 24415,23346,22257,22688,24306,25174,23595,25547,22984,25690,22212,27547,21594,27210,23090,29193,22394,29368,29532,29459,29530,24146,24500,26352,27441,28788,29370,27673,26925,25249,24430]),v={};i=g.meacx(c,i);var w=RegExp(i.join("|"));for(i=0;i<o.length;i++)v[p[i]]=o[i];b=g.ihadh(f,b.split(""),function(a){return v[a]||a}).join("");return g.chxcd(f,b.split(w),function(a){return g.echid(n,a)})}(this,"\u58a0\u735ci\u59c8l\u6730\u59c8\u735cl\u5ef2\u545a\u706e\u59c8\u59c8i\u56c4\u5ef2\u624f\u59c8\u545a\u59c8\u5ef2\u58a0\u5e77\u735c\u56c4i\u545ah\u5e77\u735c\u59c8\u5ef2\u545al\u6c36\u545ai\u735c\u5ef2\u58a0\u706eSJv\u6a4aY\u72bah\u6b31\u692dZ\u6b9bh\u72ba\u735aHS\u706e\u59c8\u735ci\u735c\u56c4\u706e\u545ah\u545a\u545a\u545a\u706e\u5ef2\u545ah\u5ef2\u545a\u6c36\u5f5f\u66f0\u6c19\u59c8\u5ef2ll\u5c2b\u5ef2\u59c8k\u5f5f\u6b31\u6b9b\u6730\u5ef2\u59c8\u58a0\u545al\u706e\u545ah\u58a0\u545al\u6c36\u5f5f\u6b31\u7209qt\u5f5f\u6b31\u6b9b\u735a\u5ef2\u72b8\u7313_\u545a\u72b8try\u5f5f\u66f0\u6c19v\u5f5f\u6b31\u6b9b\u6c36\u5ef2\u545a\u5ef2\u5ef2l\u706e\u5a32u\u72b8\u59c8ti\u7313\u72b8\u624f\u58a0\u5ef2\u59c8i\u545a\u706e\u56c4l\u56c4\u735c\u58a0\u6c36\u5f5f\u6a4a\u6c19\u5f5f\u62a1\u66f0\u5f5f\u6256\u62a1\u5f5f\u6a4a\u5f6e\u5f5f\u5f6e\u645a\u5f5f\u62a1\u5e52\u5f5f\u6a4a\u62a1\u5f5f\u6256\u6c19\u5f5f\u62a1\u5fb4\u5f5f\u6a4a\u692d\u5f5f\u5f6e\u7074\u5f5f\u63cb\u6b31\u5f5f\u6a4a\u62a1\u5f5f\u6256\u7209\u5f5f\u63cb\u692d\u5f5f\u6a4a\u72ba\u5f5f\u62a1\u72ba\u5f5f\u6256\u62a1\u5f5f\u6a4a\u6c19\u5f5f\u5f6e\u5f6e\u5f5f\u6256\u7209\u5f5f\u6a4a\u72ba\u5f5f\u5f6e\u645a\u5f5f\u63cb\u5e52\u5f5f\u6a4a\u72ba\u5f5f\u5f6e\u63cb\u5f5f\u63cb\u6a4a\u5f5f\u6a4a\u6c19\u5f5f\u5f6e\u645a\u5f5f\u62a1\u6b9b\u5f5f\u6a4a\u72ba\u5f5f\u62a1\u6256\u5f5f\u6256\u5fb4\u5f5f\u6a4a\u7074\u5f5f\u63cb\u6b9b\u5f5f\u63cb\u7209\u5f5f\u6a4a\u692d\u5f5f\u5f6e\u7074\u5f5f\u6256\u62a1\u5f5f\u6a4a\u6c19\u5f5f\u5f6e\u6b9b\u5f5f\u62a1\u6b31\u5f5f\u6a4a\u5f6e\u5f5f\u5f6e\u5f6e\u5f5f\u5f6e\u5e52\u6c36i\u545a\u545ah\u706ei\u58a0\u5ef2\u706e\u5ef2ih\u624f\u5ef2hl\u59c8\u624f\u58a0\u5ef2h\u6c36i\u735c\u545a\u6c36i\u56c4\u545aih\u6730\u545a\u545a\u735chi\u624f\u545a\u59c8\u58a0\u735c\u545a\u624f\u59c8\u59c8i\u5e77\u545arr\u7313r\u6c36\u59c8\u58a0ii\u735c\u6c36\u56c4hh\u545a\u5ef2\u706e\u5ef2\u59c8l\u58a0\u545a\u6730i\u59c8\u58a0h\u58a0\u6c36i\u545a\u5ef2\u735c\u5ef2\u5e77\u56c4\u56c4h\u58a0\u56c4\u624f\u545a\u5ef2\u545a\u58a0\u545a\u6730\u58a0\u735c\u545a\u5ef2\u545a\u6730\u58a0\u5ef2h\u545a\u59c8\u624fh\u5ef2l\u56c4\u735c\u6730ih\u545a\u59c8\u735c\u5e77\u5ef2i\u5ef2\u56c4\u59c8\u6c36\u5f5f\u6b31\u7209qt\u5f5f\u6b31\u6b9b\u735a\u5ef2\u72b8\u7313_\u59c8\u7313u\u72b8t\u5f5f\u66f0\u6c19v\u5f5f\u6b31\u6b9b\u6730\u5f5f\u66f0\u6c19\u5ef2k\u5f5f\u6b31\u6b9b\u624f\u5f5f\u66f0\u6c19\u59c8\u7313\u72b8su\u735c\u545a\u5f5f\u6b31\u6b9b\u5e77\u59c8\u5ef2il\u735c\u706e\u545a\u59c8\u56c4l\u5ef2\u706e\u5ef2l\u5ef2\u56c4l\u6c36\u56c4\u545a\u5ef2\u545a\u59c8\u6c36\u735c\u735c\u58a0\u5ef2\u56c4\u706eP\u6256NOR\u6256M\u6256\u706ei\u735c\u5ef2\u735ch\u6c36\u545a\u545ai\u59c8\u5ef2\u706e\u5ef2i\u5ef2\u545a\u545a\u6730ll\u545a\u5e77\u545a\u59c8\u56c4\u5ef2\u545a\u624f\u545ahi\u735c\u545a\u6c36\u56c4\u56c4\u545a\u706e\u5ef2i\u56c4\u706e\u5ef2\u59c8\u735c\u624f\u58a0\u545a\u545a\u6730il\u56c4\u5e77i\u59c8\u5ef2\u5e77ih\u545a\u5e77\u5ef2\u545ah\u6730\u56c4l\u735c\u6c36\u545a\u545a\u735c\u706eh\u59c8\u5ef2\u706e\u735cll\u706eh\u56c4i\u706ei\u59c8i\u624f\u735c\u59c8i\u58a0\u59c8\u706el\u58a0i\u735c\u56c4\u624f\u735c\u735c\u735ch\u56c4\u5e77\u5ef2i\u5ef2i\u545a\u624fl\u735c\u56c4\u6730\u735ch\u5ef2h\u56c4\u624f\u56c4\u59c8\u545a\u56c4\u58a0\u706e\u545al\u56c4\u59c8\u59c8\u5e77\u58a0\u735c\u58a0\u59c8\u545a\u6c36\u5ef2\u735c\u545a\u545a\u545a\u6730\u5ef2uth_k\u545ay\u5f5f\u6b31\u6b9b\u6730\u56c4\u58a0l\u59c8\u5ef2"), $c=188,ad=++$c;--ad;)Zc.push(Zc.shift());function W(a){return Zc[a-0]} var dd=function(a){for(var b={cxiim:function(a,b,c){return a(b,c)},dhhea:W("0x0"),aclxe:function(a,b){return a+b},icxhx:function(a,b){return a+b},ieama:function(a,b){return a+b},ddhxd:"eac",eaexe:W("0x1"),ideih:W("0x2"),eemhi:W("0x3"),ecxme:W("0x4"),ehime:W("0x5")},c=b[W("0x6")];c!==b[W("0x7")];)switch(c){case b[W("0x8")]:var e=0,c=W("0x5");break;case W("0x9"):return function(a){var c={ecdla:W("0xa"),aladl:function(a,b){return a(b)},deaec:function(a,b){return a!==b},mmxad:function(a,c,e){return b[W("0xb")](a, c,e)},xmeae:b[W("0xc")],xahec:"dcx",haldm:function(a,c){return b[W("0xd")](a,c)},ihecm:function(a,c){return b[W("0xe")](a,c)},aiadc:function(a,c){return b[W("0xf")](a,c)},cailm:b[W("0x10")],aiaee:"lle",ecdae:b[W("0x11")]};e+=a;f||(f=setTimeout(function(){for(var a="dcx";a!==c[W("0x12")];)switch(a){case c[W("0x13")]:var b=c.haldm(c[W("0x14")](c[W("0x15")](c[W("0x16")](C.YN,W("0x17")),C.version)+W("0x18"),ra)+W("0x19"),e),a=c[W("0x1a")];break;case W("0x1"):f=s;a=W("0x0");break;case c[W("0x1a")]:sa(b, function(a){var b={imamh:c[W("0x1b")],eeica:function(a,b){return c[W("0x1c")](a,b)}};if(!a||a[c[W("0x1b")]]===l||c[W("0x1d")](a[W("0xa")],0))c[W("0x1e")](bd,W("0x1f"),function(a){if(!a||a[b.imamh]===l||0!==a[b[W("0x20")]])b[W("0x21")](cd,W("0x1f"))})});a=c[W("0x22")];break;case W("0x23"):e=0,a=c[W("0x24")]}},g))};case b[W("0x6")]:var f=s,c=W("0x4");break;case b[W("0x25")]:var g=a?a:5E3,c="cci"}}(); function ed(a,b){for(var c={mcixc:function(a,b){return a!==b},lximd:"xlle",mmmhd:W("0x26"),aiaie:W("0x27"),mhahd:W("0x28"),dcedx:W("0x29"),laaxh:W("0x2a"),eldcc:W("0x2b"),xmxce:function(a,b){return a+b},leacx:function(a,b){return a+b},ameee:function(a,b){return a+b},dxlca:function(a,b){return a+b},xmicl:W("0x2c"),cmlae:W("0x2d"),xeeee:W("0x2e"),cmimd:W("0x2f"),ccida:W("0x30"),eaexe:"lmd",cecax:W("0x31"),aheme:W("0x32"),mdieh:function(a,b){return a(b)},mcael:W("0x33"),eimax:function(a,b){return a(b)}, eheee:function(a,b){return a+b},xemai:function(a,b){return a+b},aehae:function(a,b){return a+b}},e=W("0x26");c[W("0x34")](e,c[W("0x35")]);)switch(e){case c[W("0x36")]:var f,g,e=c[W("0x37")];break;case W("0x38"):g=b.Qp===t?t:q;e=c[W("0x39")];break;case W("0x27"):e=!b?c[W("0x3a")]:c.laaxh;break;case "hca":var i=Date.parse(new Date),e=W("0x2d");break;case c[W("0x3b")]:var k=c[W("0x3c")](c.leacx(c[W("0x3d")](c[W("0x3d")](W("0x3e"),c[W("0x3f")](m,n))+"-"+i,"-"),ra),"-")+o,e=c[W("0x40")];break;case c[W("0x41")]:var m= i/1E3,e=c.xeeee;break;case c.cmimd:var n=1800,e=c[W("0x42")];break;case "ild":f=b.sW?b.sW:1;e=c[W("0x11")];break;case c.dcedx:f=1;e=c[W("0x43")];break;case W("0x31"):g=q;e=c[W("0x39")];break;case c.aheme:return k;case "ihe":g&&c[W("0x44")](dd,f);e="hdi";break;case c[W("0x45")]:var o=c[W("0x46")](md5,v),e=c[W("0x3b")];break;case W("0x28"):var p=W("0x47"),e=c[W("0x48")];break;case W("0x2e"):var v=c[W("0x49")](c.xemai(c.xemai(a+"-"+c[W("0x4a")](m,n)+"-"+i,"-"),ra),"-")+p,e=c[W("0x45")]}} function bd(a,b){var c={acxel:function(a,b){return a+b},ehxel:function(a,b){return a+b},idmde:W("0x18"),aeaal:function(a,b){return a===b},axxae:function(a,b){return a+b},xacie:function(a,b){return a+b},dldmx:W("0x4b")};switch(a){case "PANORAMA":var e=c[W("0x4c")](c[W("0x4c")](c[W("0x4d")](C.YN+W("0x4e"),C.version),c.idmde),ra);c[W("0x4f")](typeof b,W("0x50"))?sa(e,b):sa(c.axxae(c[W("0x51")](e,c[W("0x52")]),b))}} function cd(a){var b={aadaa:function(a,b){return a(b)},eaexe:W("0x53")};switch(a){case "PANORAMA":b.aadaa(alert,b[W("0x11")])}};function Qc(){function a(a){return b[a-0]}var b=function(a,b){function f(a){var b={eexem:function(a,b){return k.aaxeh(a,b)}};return i(a,function(a){return b.eexem(g,a)})}function g(a){return(a+"").constructor[k.aamcc(k.aamcc(o,"Char"),n)](a)}function i(a,b){for(var c=k.aedal;k.ledia(c,k.hmmhe);)switch(c){case "aed":var e=[],c=k.dmaai;break;case "ahd":for(c=0;c<g;c++){var f=b(a[c]);e.push(f)}c="dxa";break;case "mee":var g=a.length,c=k.icihe;break;case k.ecaae:return e}}var k={aedal:"mee",ledia:function(a, b){return a!==b},hmmhe:"iicx",dmaai:"ahd",icihe:"aed",ecaae:"dxa",aamcc:function(a,b){return a+b},aaxeh:function(a,b){return a(b)},hidxa:function(a,b){return a(b)},ahacc:function(a,b){return a<b},ddddm:function(a,b,c){return a(b,c)},aaaxe:function(a,b,c){return a(b,c)}},m,n,o,p=decodeURIComponent;m="de";o=k.aamcc("fro","m");n=k.aamcc("Co",m);var v=f.call(g,[39,34,37,96,60,120,97,65,98,66,99,67,100,68,101,69,102,70,103,110,109,111,112,48,49,50,51,52,53,54,55,56,57]);m=i([28782,27702,26416,25167,24183], function(a){return k.aaxeh(p,a)});var w=f.call(m,[22354,22749,24415,23346,22257,22688,24306,25174,23595,25547,22984,25690,22212,27547,21594,27210,23090,29193,22394,29368,29532,29459,29530,24146,24500,26352,27441,28788,29370,27673,26925,25249,24430]),A={};m=k.hidxa(f,m);var B=RegExp(m.join("|"));for(m=0;k.ahacc(m,v.length);m++)A[w[m]]=v[m];b=k.ddddm(i,b.split(""),function(a){return A[a]||a}).join("");return k.aaaxe(i,b.split(B),function(a){return p(a)})}(this,"\u5f5f\u66f0\u6c19si\u577a\u72b8\u5f5f\u6b31\u6b9b\u6730\u58a0lh\u6730\u5ef2i\u5ef2\u5e77H\u5e52\u6256\u5f6eP\u62a1P\u692dY\u6c19\u6256\u63cbQO\u5e52\u6730\u545a\u59c8\u545ai\u545a\u6730\u59c8\u5ef2h\u735ch\u5e77\u7209\u72baL\u66f0O\u6c19R\u6c19\u6256\u6b9b\u62a1\u5f6e\u5f6e\u5e52O\u5e77\u545a\u56c4iih\u624f\u58a0\u59c8\u58a0\u5ef2\u5ef2\u6c36l\u545a\u72b8\u577ath\u6c36l\u59c8i\u59c8\u545a\u624f\u545a\u58a0\u5ef2l\u59c8\u6730h\u58a0\u56c4\u735c\u56c4\u706e\u5ef2\u5ef2\u59c8\u56c4\u545a\u5e77l\u545a\u545a\u58a0\u706el\u545al\u5e77\u56c4\u735c\u59c8"); (function(a,b){for(var f=++b;--f;)a.push(a.shift())})(b,456);return function(b){for(var e={eceie:function(a,b){return a!==b},ilahl:a("0x0"),cahmh:a("0x1"),ediih:a("0x2"),xcxaa:function(a,b){return a+b},dmmam:a("0x3"),lcice:a("0x4"),exalc:function(a,b){return a(b)},hxdmd:a("0x5"),aacde:a("0x6")},f="lel";e[a("0x7")](f,e.ilahl);)switch(f){case e[a("0x8")]:var g=a("0x9"),f=a("0x5");break;case e[a("0xa")]:return e[a("0xb")](e.dmmam,i.substring(i[a("0xc")]-12));case e[a("0xd")]:var i=e[a("0xe")](md5,md5(b+ g)+k),f="dmc";break;case e[a("0xf")]:var k=e[a("0x10")],f=a("0x4")}}};function tb(a,b){a&&(this.Ob=a,this.da="spot"+tb.da++,b=b||{},this.nh=b.text||"",this.cw=b.offsets?b.offsets.slice(0):[5,5,5,5],this.cC=b.userData||s,this.Wh=b.minZoom||s,this.Qf=b.maxZoom||s)}tb.da=0;z.extend(tb.prototype,{za:function(a){this.Wh==s&&(this.Wh=a.M.kc);this.Qf==s&&(this.Qf=a.M.qc)},va:function(a){if(a instanceof S||a instanceof N)this.Ob=a},ma:u("Ob"),yu:ca("nh"),qE:u("nh"),setUserData:ca("cC"),getUserData:u("cC")});function fd(){this.P=s;this.Pb="control";this.Va=this.BK=q}z.lang.xa(fd,z.lang.Ja,"Control"); z.extend(fd.prototype,{initialize:function(a){this.P=a;if(this.R)return a.$a.appendChild(this.R),this.R},Me:function(a){!this.R&&(this.initialize&&ib(this.initialize))&&(this.R=this.initialize(a));this.m=this.m||{Qg:t};this.RB();this.Go();this.R&&(this.R.Lr=this)},RB:function(){var a=this.R;if(a){var b=a.style;b.position="absolute";b.zIndex=this.er||"10";b.MozUserSelect="none";b.WebkitTextSizeAdjust="none";this.m.Qg||z.U.jb(a,"BMap_noprint");M()||z.V(a,"contextmenu",pa)}},remove:function(){this.P= s;this.R&&(this.R.parentNode&&this.R.parentNode.removeChild(this.R),this.R=this.R.Lr=s)},Ha:function(){this.R=Nb(this.P.$a,"<div unselectable='on'></div>");this.Va==t&&z.U.aa(this.R);return this.R},Go:function(){this.wc(this.m.anchor)},wc:function(a){if(this.l3||!hb(a)||isNaN(a)||a<hd||3<a)a=this.defaultAnchor;this.m=this.m||{Qg:t};this.m.Ga=this.m.Ga||this.defaultOffset;var b=this.m.anchor;this.m.anchor=a;if(this.R){var c=this.R,e=this.m.Ga.width,f=this.m.Ga.height;c.style.left=c.style.top=c.style.right= c.style.bottom="auto";switch(a){case hd:c.style.top=f+"px";c.style.left=e+"px";break;case id:c.style.top=f+"px";c.style.right=e+"px";break;case jd:c.style.bottom=f+"px";c.style.left=e+"px";break;case 3:c.style.bottom=f+"px",c.style.right=e+"px"}c=["TL","TR","BL","BR"];z.U.rc(this.R,"anchor"+c[b]);z.U.jb(this.R,"anchor"+c[a])}},UD:function(){return this.m.anchor},getContainer:u("R"),Td:function(a){a instanceof O&&(this.m=this.m||{Qg:t},this.m.Ga=new O(a.width,a.height),this.R&&this.wc(this.m.anchor))}, zj:function(){return this.m.Ga},hd:u("R"),show:function(){this.Va!=q&&(this.Va=q,this.R&&z.U.show(this.R))},aa:function(){this.Va!=t&&(this.Va=t,this.R&&z.U.aa(this.R))},isPrintable:function(){return!!this.m.Qg},Oc:function(){return!this.R&&!this.P?t:!!this.Va}});var hd=0,id=1,jd=2;function wb(a){fd.call(this);a=a||{};this.m={Qg:t,YF:a.showZoomInfo||q,anchor:a.anchor,Ga:a.offset,type:a.type,qX:a.enableGeolocation||t};this.defaultAnchor=M()?3:hd;this.defaultOffset=new O(10,10);this.wc(a.anchor);this.An(a.type);this.Hf()}z.lang.xa(wb,fd,"NavigationControl");z.extend(wb.prototype,{initialize:function(a){this.P=a;return this.R},An:function(a){this.m.type=hb(a)&&0<=a&&3>=a?a:0},Kp:function(){return this.m.type},Hf:function(){var a=this;bb.load("navictrl",function(){a.Gf()})}});function kd(a){fd.call(this);a=a||{};this.m={anchor:a.anchor||jd,Ga:a.offset||new O(10,30),z0:a.showAddressBar!==t,V3:a.enableAutoLocation||t,rN:a.locationIcon||s};var b=this;this.er=1200;b.v1=[];this.ve=[];bb.load("geoctrl",function(){(function e(){if(0!==b.ve.length){var a=b.ve.shift();b[a.method].apply(b,a.arguments);e()}})();b.FQ()});Za(Oa)}z.lang.xa(kd,fd,"GeolocationControl");z.extend(kd.prototype,{location:function(){this.ve.push({method:"location",arguments:arguments})},getAddressComponent:ea(s)});function ld(a){fd.call(this);a=a||{};this.m={Qg:t,anchor:a.anchor,Ga:a.offset};this.hc=[];this.defaultAnchor=jd;this.defaultOffset=new O(5,2);this.wc(a.anchor);this.BK=t;this.Hf()}z.lang.xa(ld,fd,"CopyrightControl"); z.object.extend(ld.prototype,{initialize:function(a){this.P=a;return this.R},Uw:function(a){if(a&&hb(a.id)&&!isNaN(a.id)){var b={bounds:s,content:""},c;for(c in a)b[c]=a[c];if(a=this.Im(a.id))for(var e in b)a[e]=b[e];else this.hc.push(b)}},Im:function(a){for(var b=0,c=this.hc.length;b<c;b++)if(this.hc[b].id==a)return this.hc[b]},aE:u("hc"),wF:function(a){for(var b=0,c=this.hc.length;b<c;b++)this.hc[b].id==a&&(r=this.hc.splice(b,1),b--,c=this.hc.length)},Hf:function(){var a=this;bb.load("copyrightctrl", function(){a.Gf()})}});function yb(a){fd.call(this);a=a||{};this.m={Qg:t,size:a.size||new O(150,150),padding:5,eb:a.isOpen===q?q:t,S1:4,Ga:a.offset,anchor:a.anchor};this.defaultAnchor=3;this.defaultOffset=new O(0,0);this.br=this.cr=13;this.wc(a.anchor);this.Ie(this.m.size);this.Hf()}z.lang.xa(yb,fd,"OverviewMapControl"); z.extend(yb.prototype,{initialize:function(a){this.P=a;return this.R},wc:function(a){fd.prototype.wc.call(this,a)},we:function(){this.we.Eo=q;this.m.eb=!this.m.eb;this.R||(this.we.Eo=t)},Ie:function(a){a instanceof O||(a=new O(150,150));a.width=0<a.width?a.width:150;a.height=0<a.height?a.height:150;this.m.size=a},wb:function(){return this.m.size},eb:function(){return this.m.eb},Hf:function(){var a=this;bb.load("control",function(){a.Gf()})}});function md(a){fd.call(this);a=a||{};this.defaultAnchor=hd;this.ZV=a.canCheckSize===t?t:q;this.sj="";this.defaultOffset=new O(10,10);this.onChangeBefore=[];this.onChangeAfter=[];this.onChangeSuccess=[];this.m={Qg:t,Ga:a.offset||this.defaultOffset,anchor:a.anchor||this.defaultAnchor,expand:!!a.expand};a.onChangeBefore&&ib(a.onChangeBefore)&&this.onChangeBefore.push(a.onChangeBefore);a.onChangeAfter&&ib(a.onChangeAfter)&&this.onChangeAfter.push(a.onChangeAfter);a.onChangeSuccess&&ib(a.onChangeSuccess)&& this.onChangeSuccess.push(a.onChangeSuccess);this.wc(a.anchor);this.Hf();Wa(Xa(5,3),["control","city"])}z.lang.xa(md,fd,"CityListControl");z.object.extend(md.prototype,{initialize:function(a){this.P=a;return this.R},Hf:function(){var a=this;bb.load("citylistcontrol",function(){a.Gf()},q)}});function xb(a){fd.call(this);a=a||{};this.m={Qg:t,color:"black",$c:"metric",Ga:a.offset};this.defaultAnchor=jd;this.defaultOffset=new O(81,18);this.wc(a.anchor);this.gi={metric:{name:"metric",TK:1,KM:1E3,qP:"\u7c73",rP:"\u516c\u91cc"},us:{name:"us",TK:3.2808,KM:5280,qP:"\u82f1\u5c3a",rP:"\u82f1\u91cc"}};this.gi[this.m.$c]||(this.m.$c="metric");this.uJ=s;this.qB={};this.Hf()}z.lang.xa(xb,fd,"ScaleControl"); z.object.extend(xb.prototype,{initialize:function(a){this.P=a;return this.R},el:function(a){this.m.color=a+""},t4:function(){return this.m.color},UF:function(a){this.m.$c=this.gi[a]&&this.gi[a].name||this.m.$c},QY:function(){return this.m.$c},Hf:function(){var a=this;bb.load("control",function(){a.Gf()})}});var nd=0;function zb(a){fd.call(this);a=a||{};this.defaultAnchor=id;this.defaultOffset=new O(10,10);this.m={Qg:t,Bh:[Ta,ab,$a,Ya],KW:["B_DIMENSIONAL_MAP","B_SATELLITE_MAP","B_NORMAL_MAP"],type:a.type||nd,Ga:a.offset||this.defaultOffset,uX:q};this.wc(a.anchor);"[object Array]"==Object.prototype.toString.call(a.mapTypes)&&(this.m.Bh=a.mapTypes.slice(0));this.Hf()}z.lang.xa(zb,fd,"MapTypeControl"); z.object.extend(zb.prototype,{initialize:function(a){this.P=a;return this.R},iz:function(a){this.P.ro=a},Hf:function(){var a=this;bb.load("control",function(){a.Gf()},q)}});function od(a){fd.call(this);a=a||{};this.m={Qg:t,Ga:a.offset,anchor:a.anchor};this.gj=t;this.Dw=s;this.aJ=new pd({Ye:"api"});this.bJ=new qd(s,{Ye:"api"});this.defaultAnchor=id;this.defaultOffset=new O(10,10);this.wc(a.anchor);this.Hf();Za(Aa)}z.lang.xa(od,fd,"PanoramaControl");z.extend(od.prototype,{initialize:function(a){this.P=a;return this.R},Hf:function(){var a=this;bb.load("control",function(){a.Gf()})}});function rd(a){z.lang.Ja.call(this);this.m={$a:s,cursor:"default"};this.m=z.extend(this.m,a);this.Pb="contextmenu";this.P=s;this.Ea=[];this.Sf=[];this.Ke=[];this.ox=this.Ns=s;this.Vh=t;Wa(Xa(5,2),["control","menu"]);var b=this;bb.load("menu",function(){b.ob()})}z.lang.xa(rd,z.lang.Ja,"ContextMenu"); z.object.extend(rd.prototype,{za:function(a,b){this.P=a;this.Vl=b||s},remove:function(){this.P=this.Vl=s},As:function(a){if(a&&!("menuitem"!=a.Pb||""==a.nh||0>=a.nj)){for(var b=0,c=this.Ea.length;b<c;b++)if(this.Ea[b]===a)return;this.Ea.push(a);this.Sf.push(a)}},removeItem:function(a){if(a&&"menuitem"==a.Pb){for(var b=0,c=this.Ea.length;b<c;b++)this.Ea[b]===a&&(this.Ea[b].remove(),this.Ea.splice(b,1),c--);b=0;for(c=this.Sf.length;b<c;b++)this.Sf[b]===a&&(this.Sf[b].remove(),this.Sf.splice(b,1),c--)}}, nC:function(){this.Ea.push({Pb:"divider",$j:this.Ke.length});this.Ke.push({U:s})},zF:function(a){if(this.Ke[a]){for(var b=0,c=this.Ea.length;b<c;b++)this.Ea[b]&&("divider"==this.Ea[b].Pb&&this.Ea[b].$j==a)&&(this.Ea.splice(b,1),c--),this.Ea[b]&&("divider"==this.Ea[b].Pb&&this.Ea[b].$j>a)&&this.Ea[b].$j--;this.Ke.splice(a,1)}},hd:u("R"),show:function(){this.Vh!=q&&(this.Vh=q)},aa:function(){this.Vh!=t&&(this.Vh=t)},e0:function(a){a&&(this.m.cursor=a)},getItem:function(a){return this.Sf[a]}});var sd=L.ta+"menu_zoom_in.png",td=L.ta+"menu_zoom_out.png";function ud(a,b,c){if(a&&ib(b)){z.lang.Ja.call(this);this.m={width:100,id:"",Vm:""};c=c||{};this.m.width=1*c.width?c.width:100;this.m.id=c.id?c.id:"";this.m.Vm=c.iconUrl?c.iconUrl:"";this.nh=a+"";this.Sz=b;this.P=s;this.Pb="menuitem";this.ns=this.Tv=this.R=this.Qh=s;this.Th=q;var e=this;bb.load("menu",function(){e.ob()})}}z.lang.xa(ud,z.lang.Ja,"MenuItem"); z.object.extend(ud.prototype,{za:function(a,b){this.P=a;this.Qh=b},remove:function(){this.P=this.Qh=s},yu:function(a){a&&(this.nh=a+"")},Xb:function(a){a&&(this.m.Vm=a)},hd:u("R"),enable:function(){this.Th=q},disable:function(){this.Th=t}});function qb(a,b){a&&!b&&(b=a);this.Ne=this.de=this.Te=this.fe=this.pf=this.mf=s;a&&(this.pf=new S(a.lng,a.lat),this.mf=new S(b.lng,b.lat),this.Te=a.lng,this.fe=a.lat,this.Ne=b.lng,this.de=b.lat)} z.object.extend(qb.prototype,{Gj:function(){return!this.pf||!this.mf},Vb:function(a){return!(a instanceof qb)||this.Gj()?t:this.Pd().Vb(a.Pd())&&this.Ce().Vb(a.Ce())},Pd:u("pf"),Ce:u("mf"),oW:function(a){return!(a instanceof qb)||this.Gj()||a.Gj()?t:a.Te>this.Te&&a.Ne<this.Ne&&a.fe>this.fe&&a.de<this.de},Hb:function(){return this.Gj()?s:new S((this.Te+this.Ne)/2,(this.fe+this.de)/2)},Mt:function(a){if(!(a instanceof qb)||Math.max(a.Te,a.Ne)<Math.min(this.Te,this.Ne)||Math.min(a.Te,a.Ne)>Math.max(this.Te, this.Ne)||Math.max(a.fe,a.de)<Math.min(this.fe,this.de)||Math.min(a.fe,a.de)>Math.max(this.fe,this.de))return s;var b=Math.max(this.Te,a.Te),c=Math.min(this.Ne,a.Ne),e=Math.max(this.fe,a.fe),a=Math.min(this.de,a.de);return new qb(new S(b,e),new S(c,a))},Is:function(a){return!(a instanceof S||a instanceof N)||this.Gj()?t:a.lng>=this.Te&&a.lng<=this.Ne&&a.lat>=this.fe&&a.lat<=this.de},extend:function(a){if(a instanceof S||a instanceof N){var b=a.lng,a=a.lat;this.pf||(this.pf=new S(0,0));this.mf||(this.mf= new S(0,0));if(!this.Te||this.Te>b)this.pf.lng=this.Te=b;if(!this.Ne||this.Ne<b)this.mf.lng=this.Ne=b;if(!this.fe||this.fe>a)this.pf.lat=this.fe=a;if(!this.de||this.de<a)this.mf.lat=this.de=a}},nG:function(){return this.Gj()?new S(0,0):new S(Math.abs(this.Ne-this.Te),Math.abs(this.de-this.fe))}});function S(a,b){isNaN(a)&&(a=Xb(a),a=isNaN(a)?0:a);jb(a)&&(a=parseFloat(a));isNaN(b)&&(b=Xb(b),b=isNaN(b)?0:b);jb(b)&&(b=parseFloat(b));this.lng=a;this.lat=b}S.KE=function(a){return a&&180>=a.lng&&-180<=a.lng&&74>=a.lat&&-74<=a.lat};S.prototype.Vb=function(a){return a&&this.lat==a.lat&&this.lng==a.lng};function N(a,b){isNaN(a)&&(a=Xb(a),a=isNaN(a)?0:a);jb(a)&&(a=parseFloat(a));isNaN(b)&&(b=Xb(b),b=isNaN(b)?0:b);jb(b)&&(b=parseFloat(b));this.lng=a;this.lat=b;this.Ye="inner"}N.KE=function(a){return a&&180>=a.lng&&-180<=a.lng&&74>=a.lat&&-74<=a.lat};N.prototype.Vb=function(a){return a&&this.lat==a.lat&&this.lng==a.lng};function vd(){}vd.prototype.Lg=function(){aa("lngLatToPoint\u65b9\u6cd5\u672a\u5b9e\u73b0")};vd.prototype.Kj=function(){aa("pointToLngLat\u65b9\u6cd5\u672a\u5b9e\u73b0")};function wd(){};var pb={VK:function(a,b,c){bb.load("coordtransutils",function(){pb.CV(a,b,c)},q)},UK:function(a,b,c){bb.load("coordtransutils",function(){pb.BV(a,b,c)},q)}};function xd(){this.Qa=[];var a=this;bb.load("convertor",function(){a.DQ()})}z.xa(xd,z.lang.Ja,"Convertor");z.extend(xd.prototype,{translate:function(a,b,c,e){this.Qa.push({method:"translate",arguments:[a,b,c,e]})}});V(xd.prototype,{translate:xd.prototype.translate});function U(){}U.prototype=new vd; z.extend(U,{XP:6370996.81,bH:[1.289059486E7,8362377.87,5591021,3481989.83,1678043.12,0],gv:[86,60,45,30,15,0],cQ:[[1.410526172116255E-8,8.98305509648872E-6,-1.9939833816331,200.9824383106796,-187.2403703815547,91.6087516669843,-23.38765649603339,2.57121317296198,-0.03801003308653,1.73379812E7],[-7.435856389565537E-9,8.983055097726239E-6,-0.78625201886289,96.32687599759846,-1.85204757529826,-59.36935905485877,47.40033549296737,-16.50741931063887,2.28786674699375,1.026014486E7],[-3.030883460898826E-8, 8.98305509983578E-6,0.30071316287616,59.74293618442277,7.357984074871,-25.38371002664745,13.45380521110908,-3.29883767235584,0.32710905363475,6856817.37],[-1.981981304930552E-8,8.983055099779535E-6,0.03278182852591,40.31678527705744,0.65659298677277,-4.44255534477492,0.85341911805263,0.12923347998204,-0.04625736007561,4482777.06],[3.09191371068437E-9,8.983055096812155E-6,6.995724062E-5,23.10934304144901,-2.3663490511E-4,-0.6321817810242,-0.00663494467273,0.03430082397953,-0.00466043876332,2555164.4], [2.890871144776878E-9,8.983055095805407E-6,-3.068298E-8,7.47137025468032,-3.53937994E-6,-0.02145144861037,-1.234426596E-5,1.0322952773E-4,-3.23890364E-6,826088.5]],ZG:[[-0.0015702102444,111320.7020616939,1704480524535203,-10338987376042340,26112667856603880,-35149669176653700,26595700718403920,-10725012454188240,1800819912950474,82.5],[8.277824516172526E-4,111320.7020463578,6.477955746671607E8,-4.082003173641316E9,1.077490566351142E10,-1.517187553151559E10,1.205306533862167E10,-5.124939663577472E9, 9.133119359512032E8,67.5],[0.00337398766765,111320.7020202162,4481351.045890365,-2.339375119931662E7,7.968221547186455E7,-1.159649932797253E8,9.723671115602145E7,-4.366194633752821E7,8477230.501135234,52.5],[0.00220636496208,111320.7020209128,51751.86112841131,3796837.749470245,992013.7397791013,-1221952.21711287,1340652.697009075,-620943.6990984312,144416.9293806241,37.5],[-3.441963504368392E-4,111320.7020576856,278.2353980772752,2485758.690035394,6070.750963243378,54821.18345352118,9540.606633304236, -2710.55326746645,1405.483844121726,22.5],[-3.218135878613132E-4,111320.7020701615,0.00369383431289,823725.6402795718,0.46104986909093,2351.343141331292,1.58060784298199,8.77738589078284,0.37238884252424,7.45]],z4:function(a,b){if(!a||!b)return 0;var c,e,a=this.Zb(a);if(!a)return 0;c=this.nl(a.lng);e=this.nl(a.lat);b=this.Zb(b);return!b?0:this.Od(c,this.nl(b.lng),e,this.nl(b.lat))},Nk:function(a,b){if(!a||!b)return 0;a.lng=this.gE(a.lng,-180,180);a.lat=this.mE(a.lat,-80,84);b.lng=this.gE(b.lng,-180, 180);b.lat=this.mE(b.lat,-80,84);return this.Od(this.nl(a.lng),this.nl(b.lng),this.nl(a.lat),this.nl(b.lat))},Zb:function(a){if(a===s||a===l)return new N(0,0);var b,c;b=new N(Math.abs(a.lng),Math.abs(a.lat));for(var e=0;e<this.bH.length;e++)if(b.lat>=this.bH[e]){c=this.cQ[e];break}a=this.WK(a,c);return a=new N(a.lng,a.lat)},Sa:function(a){if(a===s||a===l||180<a.lng||-180>a.lng||90<a.lat||-90>a.lat)return new N(0,0);var b,c;a.lng=this.gE(a.lng,-180,180);a.lat=this.mE(a.lat,-85,85);b=new N(a.lng,a.lat); for(var e=0;e<this.gv.length;e++)if(b.lat>=this.gv[e]){c=this.ZG[e];break}if(!c)for(e=0;e<this.gv.length;e++)if(b.lat<=-this.gv[e]){c=this.ZG[e];break}a=this.WK(a,c);return a=new N(a.lng,a.lat)},WK:function(a,b){if(a&&b){var c=b[0]+b[1]*Math.abs(a.lng),e=Math.abs(a.lat)/b[9],e=b[2]+b[3]*e+b[4]*e*e+b[5]*e*e*e+b[6]*e*e*e*e+b[7]*e*e*e*e*e+b[8]*e*e*e*e*e*e,c=c*(0>a.lng?-1:1),e=e*(0>a.lat?-1:1);return new N(c,e)}},Od:function(a,b,c,e){return this.XP*Math.acos(Math.sin(c)*Math.sin(e)+Math.cos(c)*Math.cos(e)* Math.cos(b-a))},nl:function(a){return Math.PI*a/180},e7:function(a){return 180*a/Math.PI},mE:function(a,b,c){b!=s&&(a=Math.max(a,b));c!=s&&(a=Math.min(a,c));return a},gE:function(a,b,c){for(;a>c;)a-=c-b;for(;a<b;)a+=c-b;return a}}); z.extend(U.prototype,{zi:function(a){return U.Sa(a)},Lg:function(a){a=U.Sa(a);return new T(a.lng,a.lat)},Dh:function(a){return U.Zb(a)},Kj:function(a){a=new N(a.x,a.y);a=U.Zb(a);return new S(a.lng,a.lat)},vc:function(a,b,c,e,f){if(a)return a=this.zi(a,f),b=this.Wb(b),new T(Math.round((a.lng-c.lng)/b+e.width/2),Math.round((c.lat-a.lat)/b+e.height/2))},QZ:function(a,b,c,e){if(a)return b=this.Wb(b),new T(Math.round((a.lng-c.lng)/b+e.width/2),Math.round((c.lat-a.lat)/b+e.height/2))},cc:function(a,b,c, e,f){if(a)return b=this.Wb(b),this.Dh(new N(c.lng+b*(a.x-e.width/2),c.lat-b*(a.y-e.height/2)),f)},Jy:function(a,b,c,e){if(a)return b=this.Wb(b),new N(c.lng+b*(a.x-e.width/2),c.lat-b*(a.y-e.height/2))},Wb:function(a){return Math.pow(2,18-a)},BO:ca("Oa")});function sb(){this.sj="bj"}sb.prototype=new U; z.extend(sb.prototype,{zi:function(a,b){return this.oR(b,U.Sa(a))},Dh:function(a,b){return U.Zb(this.pR(b,a))},lngLatToPointFor3D:function(a,b){var c=this,e=U.Sa(a);bb.load("coordtrans",function(){var a=wd.jE(c.sj||"bj",e),a=new T(a.x,a.y);b&&b(a)},q)},pointToLngLatFor3D:function(a,b){var c=this,e=new S(a.x,a.y);bb.load("coordtrans",function(){var a=wd.hE(c.sj||"bj",e),a=new S(a.lng,a.lat),a=U.Zb(a);b&&b(a)},q)},oR:function(a,b){if(bb.qb("coordtrans").Se==bb.Sj.Kq){var c=wd.jE(a||"bj",b);return new S(c.x, c.y)}bb.load("coordtrans",ba());return new S(0,0)},pR:function(a,b){if(bb.qb("coordtrans").Se==bb.Sj.Kq){var c=wd.hE(a||"bj",b);return new S(c.lng,c.lat)}bb.load("coordtrans",ba());return new S(0,0)},Wb:function(a){return Math.pow(2,20-a)},BO:ca("Oa")});function yd(){this.Pb="overlay"}z.lang.xa(yd,z.lang.Ja,"Overlay");yd.Sk=function(a){a*=1;return!a?0:1E5*(90-a)<<1}; z.extend(yd.prototype,{Me:function(a){if(!this.ca&&ib(this.initialize)&&(this.ca=this.initialize(a)))this.ca.style.WebkitUserSelect="none";this.draw()},initialize:function(){aa("initialize\u65b9\u6cd5\u672a\u5b9e\u73b0")},draw:function(){aa("draw\u65b9\u6cd5\u672a\u5b9e\u73b0")},remove:function(){this.ca&&this.ca.parentNode&&this.ca.parentNode.removeChild(this.ca);this.ca=s;this.dispatchEvent(new R("onremove"))},aa:function(){this.ca&&z.U.aa(this.ca)},show:function(){this.ca&&z.U.show(this.ca)},Oc:function(){return!this.ca|| "none"==this.ca.style.display||"hidden"==this.ca.style.visibility?t:q}});C.ff(function(a){function b(a,b){var c=I("div"),i=c.style;i.position="absolute";i.top=i.left=i.width=i.height="0";i.zIndex=b;a.appendChild(c);return c}var c=a.ba;c.Wc=a.Wc=b(a.platform,200);a.ee.ND=b(c.Wc,800);a.ee.aF=b(c.Wc,700);a.ee.HL=b(c.Wc,600);a.ee.TE=b(c.Wc,500);a.ee.vN=b(c.Wc,400);a.ee.wN=b(c.Wc,300);a.ee.CP=b(c.Wc,201);a.ee.$t=b(c.Wc,200)});function rb(){z.lang.Ja.call(this);yd.call(this);this.map=s;this.Va=q;this.Fb=s;this.NH=0}z.lang.xa(rb,yd,"OverlayInternal"); z.extend(rb.prototype,{initialize:function(a){this.map=a;z.lang.Ja.call(this,this.da);return s},Lx:u("map"),draw:ba(),Uj:ba(),remove:function(){this.map=s;z.lang.sx(this.da);yd.prototype.remove.call(this)},aa:function(){this.Va!==t&&(this.Va=t)},show:function(){this.Va!==q&&(this.Va=q)},Oc:function(){return!this.ca?t:!!this.Va},Ta:u("ca"),AO:function(a){var a=a||{},b;for(b in a)this.K[b]=a[b]},wq:ca("zIndex"),xj:function(){this.K.xj=q},UW:function(){this.K.xj=t},nm:ca("sg"),iq:function(){this.sg= s}});function zd(){this.map=s;this.ua={};this.Je=[]} C.ff(function(a){var b=new zd;b.map=a;a.ua=b.ua;a.Je=b.Je;a.addEventListener("load",function(a){b.draw(a)});a.addEventListener("moveend",function(a){b.draw(a)});z.ga.oa&&8>z.ga.oa||"BackCompat"===document.compatMode?a.addEventListener("zoomend",function(a){setTimeout(function(){b.draw(a)},20)}):a.addEventListener("zoomend",function(a){b.draw(a)});a.addEventListener("maptypechange",function(a){b.draw(a)});a.addEventListener("addoverlay",function(a){a=a.target;if(a instanceof rb)b.ua[a.da]||(b.ua[a.da]= a);else{for(var e=t,f=0,g=b.Je.length;f<g;f++)if(b.Je[f]===a){e=q;break}e||b.Je.push(a)}});a.addEventListener("removeoverlay",function(a){a=a.target;if(a instanceof rb)delete b.ua[a.da];else for(var e=0,f=b.Je.length;e<f;e++)if(b.Je[e]===a){b.Je.splice(e,1);break}});a.addEventListener("clearoverlays",function(){this.Mc();for(var a in b.ua)b.ua[a].K.xj&&(b.ua[a].remove(),delete b.ua[a]);a=0;for(var e=b.Je.length;a<e;a++)b.Je[a].enableMassClear!==t&&(b.Je[a].remove(),b.Je[a]=s,b.Je.splice(a,1),a--, e--)});a.addEventListener("infowindowopen",function(){var a=this.Fb;a&&(z.U.aa(a.Cc),z.U.aa(a.dc))});a.addEventListener("movestart",function(){this.wh()&&this.wh().BJ()});a.addEventListener("moveend",function(){this.wh()&&this.wh().pJ()})});zd.prototype.draw=function(a){if(C.Nq){var b=C.Nq.ut(this.map);"canvas"===b.Pb&&b.canvas&&b.jR(b.canvas.getContext("2d"))}for(var c in this.ua)this.ua[c].draw(a);z.oc.Rb(this.Je,function(a){a.draw()});this.map.ba.xb&&this.map.ba.xb.va();C.Nq&&b.QF()};function Ad(a){rb.call(this);a=a||{};this.K={strokeColor:a.strokeColor||"#3a6bdb",tc:a.strokeWeight||5,Ad:a.strokeOpacity||0.65,strokeStyle:a.strokeStyle||"solid",xj:a.enableMassClear===t?t:q,Qk:s,Nm:s,Ae:a.enableEditing===q?q:t,AN:5,t1:t,qf:a.enableClicking===t?t:q,wi:a.icons&&0<a.icons.length?a.icons:s,OX:a.geodesic===q?q:t,XE:a.linkRight===q?q:t};0>=this.K.tc&&(this.K.tc=5);if(0>this.K.Ad||1<this.K.Ad)this.K.Ad=0.65;if(0>this.K.Eg||1<this.K.Eg)this.K.Eg=0.65;"solid"!=this.K.strokeStyle&&"dashed"!= this.K.strokeStyle&&(this.K.strokeStyle="solid");this.ca=s;this.ov=new qb(0,0);this.nf=[];this.uc=[];this.Ya={}}z.lang.xa(Ad,rb,"Graph");Ad.Hx=function(a){var b=[];if(!a)return b;jb(a)&&z.oc.Rb(a.split(";"),function(a){a=a.split(",");b.push(new S(a[0],a[1]))});"[object Array]"==Object.prototype.toString.apply(a)&&0<a.length&&(b=a);return b};Ad.mF=[0.09,0.005,1.0E-4,1.0E-5]; z.extend(Ad.prototype,{initialize:function(a){this.map=a;return s},draw:ba(),fs:function(a){this.nf.length=0;this.ja=Ad.Hx(a).slice(0);this.Nh()},Ud:function(a){this.fs(a)},Nh:function(){if(this.ja){var a=this;a.ov=new qb;z.oc.Rb(this.ja,function(b){a.ov.extend(b)})}},af:u("ja"),zn:function(a,b){b&&this.ja[a]&&(this.nf.length=0,this.ja[a]=new S(b.lng,b.lat),this.Nh())},setStrokeColor:function(a){this.K.strokeColor=a},HY:function(){return this.K.strokeColor},vq:function(a){0<a&&(this.K.tc=a)},lM:function(){return this.K.tc}, tq:function(a){a==l||(1<a||0>a)||(this.K.Ad=a)},IY:function(){return this.K.Ad},su:function(a){1<a||0>a||(this.K.Eg=a)},cY:function(){return this.K.Eg},uq:function(a){"solid"!=a&&"dashed"!=a||(this.K.strokeStyle=a)},kM:function(){return this.K.strokeStyle},setFillColor:function(a){this.K.fillColor=a||""},bY:function(){return this.K.fillColor},Nd:u("ov"),remove:function(){this.map&&this.map.removeEventListener("onmousemove",this.Qv);rb.prototype.remove.call(this);this.nf.length=0},Ae:function(){if(!(2> this.ja.length)){this.K.Ae=q;var a=this;bb.load("poly",function(){a.Ak()},q)}},TW:function(){this.K.Ae=t;var a=this;bb.load("poly",function(){a.li()},q)},ZX:function(){return this.K.Ae},fY:function(){for(var a=[],b=0;b<this.ja.length-1;b++)var c=this.WV(this.ja[b],this.ja[b+1]),a=a.concat(c);return a=a.concat(this.ja[this.ja.length-1])},WV:function(a,b){if(a.Vb(b))return[a];var c=U.Od(bc(a.lng),bc(a.lat),bc(b.lng),bc(b.lat)),c=U.Nk(a,b);if(25E4>c)return[a];var e=[],c=Math.round(c/15E4),f=this.EK(a, b);e.push(a);for(var g=0;g<c;g++){var i=this.FK(a,b,g/c,f);e.push(i)}e.push(b);return e},FK:function(a,b,c,e){var f=bc(a.lat),g=bc(b.lat),a=bc(a.lng),i=bc(b.lng),b=Math.sin((1-c)*e)/Math.sin(e),c=Math.sin(c*e)/Math.sin(e),e=b*Math.cos(f)*Math.cos(a)+c*Math.cos(g)*Math.cos(i),a=b*Math.cos(f)*Math.sin(a)+c*Math.cos(g)*Math.sin(i);return new S(180*(Math.atan2(a,e)/Math.PI),180*(Math.atan2(b*Math.sin(f)+c*Math.sin(g),Math.sqrt(Math.pow(e,2)+Math.pow(a,2)))/Math.PI))},EK:function(a,b){var c=bc(a.lat), e=bc(b.lat);return Math.acos(Math.sin(c)*Math.sin(e)+Math.cos(c)*Math.cos(e)*Math.cos(Math.abs(bc(b.lng)-bc(a.lng))))}});function Bd(a){rb.call(this);this.ca=this.map=s;this.K={width:0,height:0,Ga:new O(0,0),opacity:1,background:"transparent",py:1,iN:"#000",HZ:"solid",point:s};this.AO(a);this.point=this.K.point}z.lang.xa(Bd,rb,"Division"); z.extend(Bd.prototype,{Uj:function(){var a=this.K,b=this.content,c=['<div class="BMap_Division" style="position:absolute;'];c.push("width:"+a.width+"px;display:block;");c.push("overflow:hidden;");"none"!=a.borderColor&&c.push("border:"+a.py+"px "+a.HZ+" "+a.iN+";");c.push("opacity:"+a.opacity+"; filter:(opacity="+100*a.opacity+")");c.push("background:"+a.background+";");c.push('z-index:60;">');c.push(b);c.push("</div>");this.ca=Nb(this.map.$f().aF,c.join(""))},initialize:function(a){this.map=a;this.Uj(); this.ca&&(a=M()?"touchstart":"mousedown",z.V(this.ca,a,function(a){oa(a)}));return this.ca},draw:function(){var a=this.map.ef(this.K.point);this.K.Ga=new O(-Math.round(this.K.width/2)-Math.round(this.K.py),-Math.round(this.K.height/2)-Math.round(this.K.py));this.ca.style.left=a.x+this.K.Ga.width+"px";this.ca.style.top=a.y+this.K.Ga.height+"px"},ma:function(){return this.K.point},K2:function(){return this.map.Bo(this.ma())},va:function(a){this.K.point=a;this.draw()},f0:function(a,b){this.K.width=Math.round(a); this.K.height=Math.round(b);this.ca&&(this.ca.style.width=this.K.width+"px",this.ca.style.height=this.K.height+"px",this.draw())}});function Cd(a,b,c){a&&b&&(this.imageUrl=a,this.size=b,a=new O(Math.floor(b.width/2),Math.floor(b.height/2)),c=c||{},a=c.anchor||a,b=c.imageOffset||new O(0,0),this.imageSize=c.imageSize,this.anchor=a,this.imageOffset=b,this.infoWindowAnchor=c.infoWindowAnchor||this.anchor,this.printImageUrl=c.printImageUrl||"")} z.extend(Cd.prototype,{CO:function(a){a&&(this.imageUrl=a)},w0:function(a){a&&(this.printImageUrl=a)},Ie:function(a){a&&(this.size=new O(a.width,a.height))},wc:function(a){a&&(this.anchor=new O(a.width,a.height))},tu:function(a){a&&(this.imageOffset=new O(a.width,a.height))},k0:function(a){a&&(this.infoWindowAnchor=new O(a.width,a.height))},h0:function(a){a&&(this.imageSize=new O(a.width,a.height))},toString:ea("Icon")});function Dd(a,b){if(a){b=b||{};this.style={anchor:b.anchor||new O(0,0),fillColor:b.fillColor||"#000",Eg:b.fillOpacity||0,scale:b.scale||1,rotation:b.rotation||0,strokeColor:b.strokeColor||"#000",Ad:b.strokeOpacity||1,tc:b.strokeWeight};this.Pb="number"===typeof a?a:"UserDefined";this.Wi=this.style.anchor;this.Qr=new O(0,0);this.anchor=s;this.DB=a;var c=this;bb.load("symbol",function(){c.$n()},q)}} z.extend(Dd.prototype,{setPath:ca("DB"),setAnchor:function(a){this.Wi=this.style.anchor=a},setRotation:function(a){this.style.rotation=a},setScale:function(a){this.style.scale=a},setStrokeWeight:function(a){this.style.tc=a},setStrokeColor:function(a){a=z.Gs.PC(a,this.style.Ad);this.style.strokeColor=a},setStrokeOpacity:function(a){this.style.Ad=a},setFillOpacity:function(a){this.style.Eg=a},setFillColor:function(a){this.style.fillColor=a}});function Ed(a,b,c,e){a&&(this.jw={},this.FL=e?!!e:t,this.bd=[],this.O0=a instanceof Dd?a:s,this.gJ=b===l?q:!!(b.indexOf("%")+1),this.pk=isNaN(parseFloat(b))?1:this.gJ?parseFloat(b)/100:parseFloat(b),this.hJ=!!(c.indexOf("%")+1),this.repeat=c!=l?this.hJ?parseFloat(c)/100:parseFloat(c):0)};function Fd(a,b){z.lang.Ja.call(this);this.content=a;this.map=s;b=b||{};this.K={width:b.width||0,height:b.height||0,maxWidth:b.maxWidth||730,Ga:b.offset||new O(0,0),title:b.title||"",cF:b.maxContent||"",uh:b.enableMaximize||t,ft:b.enableAutoPan===t?t:q,vD:b.enableCloseOnClick===t?t:q,margin:b.margin||[10,10,40,10],LC:b.collisions||[[10,10],[10,10],[10,10],[10,10]],dZ:t,f_:b.onClosing||ea(q),xL:t,AD:b.enableParano===q?q:t,message:b.message,DD:b.enableSearchTool===q?q:t,Xx:b.headerContent||"",wD:b.enableContentScroll|| t};if(0!=this.K.width&&(220>this.K.width&&(this.K.width=220),730<this.K.width))this.K.width=730;if(0!=this.K.height&&(60>this.K.height&&(this.K.height=60),650<this.K.height))this.K.height=650;if(0!=this.K.maxWidth&&(220>this.K.maxWidth&&(this.K.maxWidth=220),730<this.K.maxWidth))this.K.maxWidth=730;this.ne=t;this.Ri=L.ta;this.yb=s;Wa(Xa(2,10),["overlay","infowindow"]);var c=this;bb.load("infowindow",function(){c.ob()})}z.lang.xa(Fd,z.lang.Ja,"InfoWindow"); z.extend(Fd.prototype,{setWidth:function(a){!a&&0!=a||(isNaN(a)||0>a)||(0!=a&&(220>a&&(a=220),730<a&&(a=730)),this.K.width=a)},setHeight:function(a){!a&&0!=a||(isNaN(a)||0>a)||(0!=a&&(60>a&&(a=60),650<a&&(a=650)),this.K.height=a)},GO:function(a){!a&&0!=a||(isNaN(a)||0>a)||(0!=a&&(220>a&&(a=220),730<a&&(a=730)),this.K.maxWidth=a)},Hc:function(a){this.K.title=a},getTitle:function(){return this.K.title},Qc:ca("content"),Mk:u("content"),vu:function(a){this.K.cF=a+""},se:ba(),ft:function(){this.K.ft=q}, disableAutoPan:function(){this.K.ft=t},enableCloseOnClick:function(){this.K.vD=q},disableCloseOnClick:function(){this.K.vD=t},uh:function(){this.K.uh=q},ux:function(){this.K.uh=t},show:function(){this.Va=q},aa:function(){this.Va=t},close:function(){this.aa()},vy:function(){this.ne=q},restore:function(){this.ne=t},Oc:function(){return this.eb()},eb:ea(t),ma:function(){if(this.yb&&this.yb.ma)return this.yb.ma()},zj:function(){return this.K.Ga}}); Sa.prototype.Vc=function(a,b){if(a instanceof Fd&&(b instanceof S||b instanceof N)){var c=this.ba;c.Zm?c.Zm.va(b):(c.Zm=new Gd(b,{icon:new Cd(L.ta+"blank.gif",{width:1,height:1}),offset:new O(0,0),clickable:t}),c.Zm.jS=1);this.Ra(c.Zm);c.Zm.Vc(a)}};Sa.prototype.Mc=function(){var a=this.ba.xb||this.ba.Kl;a&&a.yb&&a.yb.Mc()};rb.prototype.Vc=function(a){this.map&&(this.map.Mc(),a.Va=q,this.map.ba.Kl=a,a.yb=this,z.lang.Ja.call(a,a.da))}; rb.prototype.Mc=function(){this.map&&this.map.ba.Kl&&(this.map.ba.Kl.Va=t,z.lang.sx(this.map.ba.Kl.da),this.map.ba.Kl=s)};function Hd(a,b){rb.call(this);this.content=a;this.ca=this.map=s;b=b||{};this.K={width:0,Ga:b.offset||new O(0,0),Aq:{backgroundColor:"#fff",border:"1px solid #f00",padding:"1px",whiteSpace:"nowrap",font:"12px "+L.fontFamily,zIndex:"80",MozUserSelect:"none"},position:b.position||s,xj:b.enableMassClear===t?t:q,qf:q};0>this.K.width&&(this.K.width=0);Tb(b.enableClicking)&&(this.K.qf=b.enableClicking);this.point=this.K.position;Wa(Xa(2,6),["overlay","dom_lable"]);var c=this;bb.load("marker",function(){c.ob()})} z.lang.xa(Hd,rb,"Label"); z.extend(Hd.prototype,{ma:function(){return this.vo?this.vo.ma():this.map?ob(this.point,this.map.M.Oa):this.point},hk:function(){return this.vo?this.vo.hk():this.point},va:function(a){if((a instanceof S||a instanceof N)&&!this.Mx())this.point=this.K.position=new S(a.lng,a.lat)},Qc:ca("content"),PF:function(a){0<=a&&1>=a&&(this.K.opacity=a)},Td:function(a){a instanceof O&&(this.K.Ga=new O(a.width,a.height))},zj:function(){return this.K.Ga},Vd:function(a){a=a||{};this.K.Aq=z.extend(this.K.Aq,a)},Ki:function(a){return this.Vd(a)}, Hc:function(a){this.K.title=a||""},getTitle:function(){return this.K.title},FO:function(a){this.point=(this.vo=a)?this.K.position=a.hk():this.K.position=s},Mx:function(){return this.vo||s},Mk:u("content")});function Id(a,b){if(0!==arguments.length){rb.apply(this,arguments);b=b||{};this.K={hb:a,opacity:b.opacity||1,Op:b.imageURL||"",Ws:b.displayOnMinLevel||1,xj:b.enableMassClear===t?t:q,Vs:b.displayOnMaxLevel||19,I0:b.stretch||t};0===b.opacity&&(this.K.opacity=0);Wa(Xa(2,8),["overlay","ground_box"]);var c=this;bb.load("groundoverlay",function(){c.ob()})}}z.lang.xa(Id,rb,"GroundOverlay"); z.extend(Id.prototype,{setBounds:function(a){this.K.hb=a},getBounds:function(){return this.K.hb},setOpacity:function(a){this.K.opacity=a},getOpacity:function(){return this.K.opacity},setImageURL:function(a){this.K.Op=a},getImageURL:function(){return this.K.Op},setDisplayOnMinLevel:function(a){this.K.Ws=a},getDisplayOnMinLevel:function(){return this.K.Ws},setDisplayOnMaxLevel:function(a){this.K.Vs=a},getDisplayOnMaxLevel:function(){return this.K.Vs}});var Jd=3,Kd=4;function Ld(){var a=document.createElement("canvas");return!(!a.getContext||!a.getContext("2d"))} function Md(a,b){var c=this;Ld()&&(a===l&&aa(Error("\u6ca1\u6709\u4f20\u5165points\u6570\u636e")),"[object Array]"!==Object.prototype.toString.call(a)&&aa(Error("points\u6570\u636e\u4e0d\u662f\u6570\u7ec4")),b=b||{},rb.apply(c,arguments),c.ia={ja:a},c.K={shape:b.shape||Jd,size:b.size||Kd,color:b.color||"#fa937e",xj:q},this.AB=[],this.ve=[],bb.load("pointcollection",function(){for(var a=0,b;b=c.AB[a];a++)c[b.method].apply(c,b.arguments);for(a=0;b=c.ve[a];a++)c[b.method].apply(c,b.arguments)}))} z.lang.xa(Md,rb,"PointCollection");z.extend(Md.prototype,{initialize:function(a){this.AB&&this.AB.push({method:"initialize",arguments:arguments})},setPoints:function(a){this.ve&&this.ve.push({method:"setPoints",arguments:arguments})},setStyles:function(a){this.ve&&this.ve.push({method:"setStyles",arguments:arguments})},clear:function(){this.ve&&this.ve.push({method:"clear",arguments:arguments})},remove:function(){this.ve&&this.ve.push({method:"remove",arguments:arguments})}});var Nd=new Cd(L.ta+"marker_red_sprite.png",new O(19,25),{anchor:new O(10,25),infoWindowAnchor:new O(10,0)}),Od=new Cd(L.ta+"marker_red_sprite.png",new O(20,11),{anchor:new O(6,11),imageOffset:new O(-19,-13)}); function Gd(a,b){rb.call(this);b=b||{};this.point=a;this.Oa=(this.Yq=this.map=s)?this.map.M.Oa:5;this.K={Ga:b.offset||new O(0,0),De:b.icon||Nd,gl:Od,title:b.title||"",label:s,zK:b.baseZIndex||0,qf:q,I7:t,PE:t,xj:b.enableMassClear===t?t:q,jc:t,jO:b.raiseOnDrag===q?q:t,qO:t,Ld:b.draggingCursor||L.Ld,rotation:b.rotation||0};b.icon&&!b.shadow&&(this.K.gl=s);b.enableDragging&&(this.K.jc=b.enableDragging);Tb(b.enableClicking)&&(this.K.qf=b.enableClicking);Wa(Xa(2,1),["overlay","marker"]);var c=this;bb.load("marker", function(){c.ob()})}Gd.jv=yd.Sk(-90)+1E6;Gd.TG=Gd.jv+1E6;z.lang.xa(Gd,rb,"Marker"); z.extend(Gd.prototype,{Xb:function(a){if(a instanceof Cd||a instanceof Dd)this.K.De=a},Cp:function(){return this.K.De},$y:function(a){a instanceof Cd&&(this.K.gl=a)},getShadow:function(){return this.K.gl},Lj:function(a){this.K.label=a||s},vt:function(){return this.K.label},jc:function(){this.K.jc=q},Us:function(){this.K.jc=t},hk:u("point"),ma:function(){return this.point instanceof S||this.point instanceof N?this.map?ob(this.point,this.map.M.Oa):new S(this.point.lng,this.point.lat):this.point},va:function(a){if(a instanceof S||a instanceof N)this.point=this.map?gb(a,this.map.M.Oa):new N(a.lng,a.lat)},Li:function(a,b){this.K.PE=!!a;a&&(this.qH=b||0)},Hc:function(a){this.K.title=a+""},getTitle:function(){return this.K.title},Td:function(a){a instanceof O&&(this.K.Ga=a)},zj:function(){return this.K.Ga},vn:ca("Yq"),Yy:function(a){this.K.rotation=a},hM:function(){return this.K.rotation}});function Pd(a){this.options=a||{};this.j_=this.options.paneName||"labelPane";this.zIndex=this.options.zIndex||0;this.pW=this.options.contextType||"2d"}Pd.prototype=new yd;Pd.prototype.initialize=function(a){this.P=a;var b=this.canvas=document.createElement("canvas"),c=this.canvas.getContext(this.pW);b.style.cssText="position:absolute;left:0;top:0;z-index:"+this.zIndex+";";Qd(this);Rd(c);a.getPanes()[this.j_].appendChild(b);var e=this;a.addEventListener("resize",function(){Qd(e);Rd(c);e.ob()});return this.canvas}; function Qd(a){var b=a.P.wb(),a=a.canvas;a.width=b.width;a.height=b.height;a.style.width=a.width+"px";a.style.height=a.height+"px"}function Rd(a){var b=(window.devicePixelRatio||1)/(a.FV||a.C7||a.W5||a.X5||a.b6||a.FV||1),c=a.canvas.width,e=a.canvas.height;a.canvas.width=c*b;a.canvas.height=e*b;a.canvas.style.width=c+"px";a.canvas.style.height=e+"px";a.scale(b,b)}Pd.prototype.draw=function(){var a=this,b=arguments;clearTimeout(a.W0);a.W0=setTimeout(function(){a.ob.apply(a,b)},15)};fa=Pd.prototype; fa.ob=function(){var a=this.P;this.canvas.style.left=-a.offsetX+"px";this.canvas.style.top=-a.offsetY+"px";this.dispatchEvent("draw");this.options.update&&this.options.update.apply(this,arguments)};fa.Ta=u("canvas");fa.show=function(){this.canvas||this.P.Ra(this);this.canvas.style.display="block"};fa.aa=function(){this.canvas.style.display="none"};fa.wq=function(a){this.canvas.style.zIndex=a};fa.Sk=u("zIndex");function Sd(a,b){Ad.call(this,b);b=b||{};this.K.Eg=b.fillOpacity?b.fillOpacity:0.65;this.K.fillColor=""==b.fillColor?"":b.fillColor?b.fillColor:"#fff";this.Ud(a);var c=this;Wa(Xa(2,4),["overlay","polygon"]);bb.load("poly",function(){c.ob()})}z.lang.xa(Sd,Ad,"Polygon"); z.extend(Sd.prototype,{Ud:function(a,b){this.Po=Ad.Hx(a).slice(0);var c=Ad.Hx(a).slice(0);1<c.length&&c.push(new S(c[0].lng,c[0].lat));Ad.prototype.Ud.call(this,c,b)},zn:function(a,b){this.Po[a]&&(this.Po[a]=new S(b.lng,b.lat),this.ja[a]=new S(b.lng,b.lat),0==a&&!this.ja[0].Vb(this.ja[this.ja.length-1])&&(this.ja[this.ja.length-1]=new S(b.lng,b.lat)),this.Nh())},af:function(){var a=this.Po;0==a.length&&(a=this.ja);return a}});function Td(a,b){Ad.call(this,b);this.fs(a);var c=this;Wa(Xa(2,3),["overlay","polyline"]);bb.load("poly",function(){c.ob()})}z.lang.xa(Td,Ad,"Polyline");function Ud(a,b,c){this.point=a;this.Fa=Math.abs(b);Sd.call(this,[],c)}Ud.mF=[0.01,1.0E-4,1.0E-5,4.0E-6];z.lang.xa(Ud,Sd,"Circle"); z.extend(Ud.prototype,{initialize:function(a){this.map=a;this.ja=this.Kv(this.point,this.Fa);this.Nh();return s},Hb:function(){return this.map?ob(this.point,this.map.M.Oa):this.point},Hv:u("point"),Bf:function(a){a&&(this.point=a)},fM:u("Fa"),Cf:function(a){this.Fa=Math.abs(a)},Kv:function(a,b){if(!a||!b||!this.map)return[];for(var c=[],e=b/6378800,f=Math.PI/180*a.lat,g=Math.PI/180*a.lng,i=0;360>i;i+=9){var k=Math.PI/180*i,m=Math.asin(Math.sin(f)*Math.cos(e)+Math.cos(f)*Math.sin(e)*Math.cos(k)),k= new S(((g-Math.atan2(Math.sin(k)*Math.sin(e)*Math.cos(f),Math.cos(e)-Math.sin(f)*Math.sin(m))+Math.PI)%(2*Math.PI)-Math.PI)*(180/Math.PI),m*(180/Math.PI));c.push(k)}e=c[0];c.push(new S(e.lng,e.lat));return c}});var Vd={};function Wd(a){this.map=a;this.Ij=[];this.Ef=[];this.Ug=[];this.UV=300;this.tF=0;this.Mg={};this.rj={};this.Xk=0;this.JE=q;this.HW={};this.uo=this.kr(1);this.yg=this.kr(2);this.og=this.kr(3);this.Ul=this.kr(4);a.platform.appendChild(this.uo);a.platform.appendChild(this.yg);a.platform.appendChild(this.Ul);a.platform.appendChild(this.og);var b=256*Math.pow(2,15),c=3*b,a=U.Sa(new N(180,0)).lng,c=c-a,b=-3*b,e=U.Sa(new N(-180,0)).lng;this.rg=a;this.hh=e;this.Pl=c+(e-b);this.ih=a-e} C.ff(function(a){var b=new Wd(a);b.za();a.gf=b}); z.extend(Wd.prototype,{za:function(){var a=this,b=a.map;b.addEventListener("loadcode",function(){a.Wp()});b.addEventListener("addtilelayer",function(b){a.Ue(b)});b.addEventListener("removetilelayer",function(b){a.gg(b)});b.addEventListener("setmaptype",function(b){a.Sg(b)});b.addEventListener("zoomstartcode",function(b){a.Sc(b)});b.addEventListener("setcustomstyles",function(b){a.uu(b.target);a.eg(q)});b.addEventListener("initindoorlayer",function(b){a.FE(b)})},Wp:function(){var a=this;if(z.ga.oa)try{document.execCommand("BackgroundImageCache", t,q)}catch(b){}this.loaded||a.fy();a.eg();this.loaded||(this.loaded=q,bb.load("tile",function(){a.EQ()}))},FE:function(a){this.Vu=new Xd(this);this.Vu.Ue(new Yd(this.map,this.Vu,a.bf))},fy:function(){for(var a=this.map.ya().lf,b=0;b<a.length;b++){var c=new Zd;z.extend(c,a[b]);this.Ij.push(c);c.za(this.map,this.uo)}this.uu()},kr:function(a){var b=I("div");b.style.position="absolute";b.style.overflow="visible";b.style.left=b.style.top="0";b.style.zIndex=a;return b},If:function(){this.Xk--;var a=this; this.JE&&(this.map.dispatchEvent(new R("onfirsttileloaded")),this.JE=t);0==this.Xk&&(this.aj&&(clearTimeout(this.aj),this.aj=s),this.aj=setTimeout(function(){if(a.Xk==0){a.map.dispatchEvent(new R("ontilesloaded"));a.JE=q}a.aj=s},80))},rE:function(a,b){return"TILE-"+b.da+"-"+a[0]+"-"+a[1]+"-"+a[2]},$x:function(a){var b=a.Ib;b&&Mb(b)&&b.parentNode.removeChild(b);delete this.Mg[a.name];a.loaded||($d(a),a.Ib=s,a.$m=s)},qM:function(a,b,c){var e=this.map,f=e.ya(),g=e.Za,i=e.Jb,k=f.Wb(g),m=this.WX(),n=m[0], o=m[1],p=m[2],v=m[3],w=m[4],c="undefined"!=typeof c?c:0,f=f.me(),m=e.da.replace(/^TANGRAM_/,"");for(this.Ni?this.Ni.length=0:this.Ni=[];n<p;n++)for(var A=o;A<v;A++){var B=n,D=A;this.Ni.push([B,D]);B=m+"_"+b+"_"+B+"_"+D+"_"+g;this.HW[B]=B}this.Ni.sort(function(a){return function(b,c){return 0.4*Math.abs(b[0]-a[0])+0.6*Math.abs(b[1]-a[1])-(0.4*Math.abs(c[0]-a[0])+0.6*Math.abs(c[1]-a[1]))}}([w[0]-1,w[1]-1]));i=[Math.round(-i.lng/k),Math.round(i.lat/k)];n=-e.offsetY+e.height/2;a.style.left=-e.offsetX+ e.width/2+"px";a.style.top=n+"px";this.Ve?this.Ve.length=0:this.Ve=[];n=0;for(e=a.childNodes.length;n<e;n++)A=a.childNodes[n],A.Ir=t,this.Ve.push(A);if(n=this.fn)for(var F in n)delete n[F];else this.fn={};this.We?this.We.length=0:this.We=[];n=0;for(e=this.Ni.length;n<e;n++){F=this.Ni[n][0];k=this.Ni[n][1];A=0;for(o=this.Ve.length;A<o;A++)if(p=this.Ve[A],p.id==m+"_"+b+"_"+F+"_"+k+"_"+g){p.Ir=q;this.fn[p.id]=p;break}}n=0;for(e=this.Ve.length;n<e;n++)p=this.Ve[n],p.Ir||this.We.push(p);this.kG=[];A=(f+ c)*this.map.M.devicePixelRatio;n=0;for(e=this.Ni.length;n<e;n++)F=this.Ni[n][0],k=this.Ni[n][1],v=F*f+i[0]-c/2,w=(-1-k)*f+i[1]-c/2,B=m+"_"+b+"_"+F+"_"+k+"_"+g,o=this.fn[B],p=s,o?(p=o.style,p.left=v+"px",p.top=w+"px",o.io||this.kG.push([F,k,o])):(0<this.We.length?(o=this.We.shift(),o.getContext("2d").clearRect(-c/2,-c/2,A,A),p=o.style):(o=document.createElement("canvas"),p=o.style,p.position="absolute",p.width=f+c+"px",p.height=f+c+"px",this.AZ()&&(p.WebkitTransform="scale(1.001)"),o.setAttribute("width", A),o.setAttribute("height",A),a.appendChild(o)),o.id=B,p.left=v+"px",p.top=w+"px",-1<B.indexOf("bg")&&(v="#F3F1EC",this.map.M.DV&&(v=this.map.M.DV),p.background=v?v:""),this.kG.push([F,k,o])),o.style.visibility="";n=0;for(e=this.We.length;n<e;n++)this.We[n].style.visibility="hidden";return this.kG},AZ:function(){return/M040/i.test(navigator.userAgent)},WX:function(){var a=this.map,b=a.ya(),c=b.vM(a.Za),e=a.Jb,f=Math.ceil(e.lng/c),g=Math.ceil(e.lat/c),b=b.me(),c=[f,g,(e.lng-f*c)/c*b,(e.lat-g*c)/c* b];return[c[0]-Math.ceil((a.width/2-c[2])/b),c[1]-Math.ceil((a.height/2-c[3])/b),c[0]+Math.ceil((a.width/2+c[2])/b),c[1]+Math.ceil((a.height/2+c[3])/b),c]},C0:function(a,b,c,e){var f=this;f.z3=b;var g=this.map.ya(),i=f.rE(a,c),k=g.me(),b=[a[0]*k+b[0],(-1-a[1])*k+b[1]],m=this.Mg[i];if(this.map.ya()!==ab&&this.map.ya()!==$a){var n=this.wm(a[0],a[2]).offsetX;b[0]+=n;b.R2=n}m&&m.Ib?(Kb(m.Ib,b),e&&(e=new T(a[0],a[1]),g=this.map.M.Fe?this.map.M.Fe.style:"normal",e=c.getTilesUrl(e,a[2],g),m.loaded=t,ae(m, e)),m.loaded?this.If():be(m,function(){f.If()})):(m=this.rj[i])&&m.Ib?(c.Mb.insertBefore(m.Ib,c.Mb.lastChild),this.Mg[i]=m,Kb(m.Ib,b),e&&(e=new T(a[0],a[1]),g=this.map.M.Fe?this.map.M.Fe.style:"normal",e=c.getTilesUrl(e,a[2],g),m.loaded=t,ae(m,e)),m.loaded?this.If():be(m,function(){f.If()})):(m=k*Math.pow(2,g.Ze()-a[2]),new N(a[0]*m,a[1]*m),e=new T(a[0],a[1]),g=this.map.M.Fe?this.map.M.Fe.style:"normal",e=c.getTilesUrl(e,a[2],g),m=new ce(this,e,b,a,c),be(m,function(){f.If()}),m.to(),this.Mg[i]=m)}, If:function(){this.Xk--;var a=this;0==this.Xk&&(this.aj&&(clearTimeout(this.aj),this.aj=s),this.aj=setTimeout(function(){if(a.Xk==0){a.map.dispatchEvent(new R("ontilesloaded"));if(za){if(ua&&xa&&ya){var b=mb(),c=a.map.wb();setTimeout(function(){Za(5030,{load_script_time:xa-ua,load_tiles_time:b-ya,map_width:c.width,map_height:c.height,map_size:c.width*c.height})},1E4);C.Wq("cus.fire","time",{z_imgfirstloaded:b-ya})}za=t}}a.aj=s},80))},rE:function(a,b){return this.map.ya()===Ya?"TILE-"+b.da+"-"+this.map.fx+ "-"+a[0]+"-"+a[1]+"-"+a[2]:"TILE-"+b.da+"-"+a[0]+"-"+a[1]+"-"+a[2]},$x:function(a){var b=a.Ib;b&&(de(b),Mb(b)&&b.parentNode.removeChild(b));delete this.Mg[a.name];a.loaded||(de(b),$d(a),a.Ib=s,a.$m=s)},wm:function(a,b){for(var c=0,e=6*Math.pow(2,b-3),f=e/2-1,g=-e/2;a>f;)a-=e,c-=this.Pl;for(;a<g;)a+=e,c+=this.Pl;c=Math.round(c/Math.pow(2,18-b));return{offsetX:c,Bg:a}},zC:function(a){for(var b=a.lng;b>this.rg;)b-=this.ih;for(;b<this.hh;)b+=this.ih;a.lng=b;return a},AC:function(a,b){for(var c=256*Math.pow(2, 18-b),e=Math.floor(this.rg/c),f=Math.floor(this.hh/c),c=Math.floor(this.Pl/c),g=[],i=0;i<a.length;i++){var k=a[i],m=k[0],k=k[1];if(m>=e){var m=m+c,n="id_"+m+"_"+k+"_"+b;a[n]||(a[n]=q,g.push([m,k]))}else m<=f&&(m-=c,n="id_"+m+"_"+k+"_"+b,a[n]||(a[n]=q,g.push([m,k])))}for(i=0;i<g.length;i++)a.push(g[i]);return a},eg:function(a){var b=this;if(b.map.ya()==Ya)bb.load("coordtrans",function(){b.map.Qb||(b.map.Qb=Ya.Lk(b.map.qh),b.map.fx=Ya.SL(b.map.Qb));b.NI()},q);else{if(a&&a)for(var c in this.rj)delete this.rj[c]; b.NI(a)}},NI:function(a){var b=this.map.M.Zf?this.Ef:this.Ij.concat(this.Ef),c=b.length,e=this.map,f=e.ya(),g=e.Jb,i=e.width,i=e.ya().Wb(e.Za)*i,k=g.lng+i/2,i=this.NM(g.lng-i/2,k);this.map.ya()!==ab&&this.map.ya()!==$a&&(g=this.zC(g));for(var m=0;m<c;m++){var n=b[m];if(n.kc&&e.Za<n.kc)break;if(n.$w){k=this.Mb=n.Mb;if(a){var o=k;if(o&&o.childNodes)for(var p=o.childNodes.length,v=p-1;0<=v;v--)p=o.childNodes[v],o.removeChild(p),p=s}if(this.map.Xd()){this.yg.style.display="block";k.style.display="none"; this.map.dispatchEvent(new R("vectorchanged"),{isvector:q});continue}else k.style.display="block",this.yg.style.display="none",this.map.dispatchEvent(new R("vectorchanged"),{isvector:t})}if(!n.Q2&&!(n.ly&&!this.map.Xd()||n.WM&&this.map.Xd())){e=this.map;f=e.ya();p=f.Bj();k=e.Za;g=e.Jb;f==Ya&&g.Vb(new N(0,0))&&(g=e.Jb=p.zi(e.ie,e.Qb));var w=f.Wb(k),p=f.vM(k),o=Math.ceil(g.lng/p),A=Math.ceil(g.lat/p),B=f.me(),p=[o,A,(g.lng-o*p)/p*B,(g.lat-A*p)/p*B],A=i?1.5*(e.width/2):e.width/2,v=p[0]-Math.ceil((A- p[2])/B),o=p[1]-Math.ceil((e.height/2-p[3])/B),A=p[0]+Math.ceil((A+p[2])/B),D=0;f===Ya&&15==e.la()&&(D=1);f=p[1]+Math.ceil((e.height/2+p[3])/B)+D;this.uK=new N(g.lng,g.lat);var F=this.Mg,B=-this.uK.lng/w,D=this.uK.lat/w,g=[Math.ceil(B),Math.ceil(D)],w=e.la(),H;for(H in F){var G=F[H],E=G.info;(E[2]!=w||E[2]==w&&(v>E[0]||A<=E[0]||o>E[1]||f<=E[1]))&&this.$x(G)}F=-e.offsetX+e.width/2;G=-e.offsetY+e.height/2;n.Mb&&(n.Mb.style.left=Math.ceil(B+F)-g[0]+"px",n.Mb.style.top=Math.ceil(D+G)-g[1]+"px",n.Mb.style.WebkitTransform= "translate3d(0,0,0)");B=[];for(e.eC=[];v<A;v++)for(D=o;D<f;D++)B.push([v,D]),e.eC.push({x:v,y:D});this.map.ya()!==ab&&this.map.ya()!==$a&&(B=this.AC(B,k));B.sort(function(a){return function(b,c){return 0.4*Math.abs(b[0]-a[0])+0.6*Math.abs(b[1]-a[1])-(0.4*Math.abs(c[0]-a[0])+0.6*Math.abs(c[1]-a[1]))}}([p[0]-1,p[1]-1]));k=Math.ceil(this.rg/(256*Math.pow(2,18-w)));p=B.length;this.Xk+=p;for(v=0;v<p;v++){if(n.PO===q&&(o=this.wm(B[v][0],w),o.Bg>k-1||o.Bg<-k))continue;this.C0([B[v][0],B[v][1],w],g,n,a)}}}}, NM:function(a,b){return a<this.hh||b>this.rg},Ue:function(a){var b=this,c=a.target;b.map.Xd();c.Gn&&this.map.Ue(c.Gn);if(c.ly){for(a=0;a<b.Ug.length;a++)if(b.Ug[a]==c)return;bb.load("vector",function(){c.za(b.map,b.yg);b.Ug.push(c)},q)}else{for(a=0;a<b.Ef.length;a++)if(b.Ef[a]==c)return;c.za(this.map,this.Ul);b.Ef.push(c)}},gg:function(a){a=a.target;this.map.Xd();a.Gn&&this.map.gg(a.Gn);if(a.ly)for(var b=0,c=this.Ug.length;b<c;b++)a==this.Ug[b]&&this.Ug.splice(b,1);else{b=0;for(c=this.Ef.length;b< c;b++)a==this.Ef[b]&&this.Ef.splice(b,1)}a.remove()},Sg:function(){for(var a=this.Ij,b=0,c=a.length;b<c;b++)a[b].remove();delete this.Mb;this.Ij=[];this.rj=this.Mg={};this.fy();this.eg()},Sc:function(){var a=this;a.Cd&&z.U.aa(a.Cd);setTimeout(function(){a.eg();a.map.dispatchEvent(new R("onzoomend"))},10)},s7:ba(),uu:function(a){var b=this.map.ya();if(!this.map.Xd()&&(a?this.map.M.L0=a:a=this.map.M.L0,a))for(var c=s,c="2"==C.Uu?[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,f;f=this.Ij[e];e++)if(f.PO==q){b.m.qc=18;f.getTilesUrl=function(b,e){var f=b.x,f=this.map.gf.wm(f,e).Bg,m=b.y,n=ec("normal"),o=1;this.map.ay()&&(o=2);n=window._BMapSecurityConfig&&window._BMapSecurityConfig.serviceHost?"customimage/tile?qt=customimage&x="+f+"&y="+m+"&z="+e+"&udt="+n+"&scale="+o:"customimage/tile?qt=customimage&x="+f+"&y="+m+"&z="+e+"&udt="+n+"&scale="+o+"&ak="+ra;n= a.styleStr?n+("&styles="+encodeURIComponent(a.styleStr)):n+("&customid="+a.style);n=c[Math.abs(f+m)%c.length]+n;return n=ub(n)};break}}});function ce(a,b,c,e,f){this.$m=a;this.position=c;this.tv=[];this.name=a.rE(e,f);this.info=e;this.YJ=f.Ut();e=I("img");Lb(e);e.LL=t;var g=e.style,a=a.map.ya();g.position="absolute";g.border="none";g.width=a.me()+"px";g.height=a.me()+"px";g.left=c[0]+"px";g.top=c[1]+"px";g.maxWidth="none";this.Ib=e;this.src=b;ee&&(this.Ib.style.opacity=0);var i=this;this.Ib.onload=function(){C.IZ.rR();i.loaded=q;if(i.$m){var a=i.$m,b=a.rj;if(!b[i.name]){a.tF++;b[i.name]=i}if(i.Ib&&!Mb(i.Ib)&&f.Mb){f.Mb.appendChild(i.Ib); if(z.ga.oa<=6&&z.ga.oa>0&&i.YJ)i.Ib.style.cssText=i.Ib.style.cssText+(';filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+i.src+'",sizingMethod=scale);')}var c=a.tF-a.UV,e;for(e in b){if(c<=0)break;if(!a.Mg[e]){b[e].$m=s;var g=b[e].Ib;if(g&&g.parentNode){g.parentNode.removeChild(g);de(g)}g=s;b[e].Ib=s;delete b[e];a.tF--;c--}}ee&&new Gb({Nc:20,duration:200,Ba:function(a){if(i.Ib&&i.Ib.style)i.Ib.style.opacity=a*1},finish:function(){i.Ib&&i.Ib.style&&delete i.Ib.style.opacity}});$d(i)}}; this.Ib.onerror=function(){$d(i);if(i.$m){var a=i.$m.map.ya();if(a.m.GD){i.error=q;i.Ib.src=a.m.GD;i.Ib&&!Mb(i.Ib)&&f.Mb.appendChild(i.Ib)}}};e=s}function be(a,b){a.tv.push(b)}ce.prototype.to=function(){this.Ib.src=0<z.ga.oa&&6>=z.ga.oa&&this.YJ?L.ta+"blank.gif":""!==this.src&&this.Ib.src==this.src?this.src+"&t = "+Date.now():this.src};function $d(a){for(var b=0;b<a.tv.length;b++)a.tv[b]();a.tv.length=0} function de(a){if(a){a.onload=a.onerror=s;var b=a.attributes,c,e,f;if(b){e=b.length;for(c=0;c<e;c+=1)f=b[c].name,ib(a[f])&&(a[f]=s)}if(b=a.children){e=b.length;for(c=0;c<e;c+=1)de(a.children[c])}}}function ae(a,b){a.src=b;a.to()}var ee=!z.ga.oa||8<z.ga.oa;function Zd(a){this.bf=a||{};this.rW=this.bf.copyright||s;this.n1=this.bf.transparentPng||t;this.$w=this.bf.baseLayer||t;this.zIndex=this.bf.zIndex||0;this.da=Zd.aT++}Zd.aT=0;z.lang.xa(Zd,z.lang.Ja,"TileLayer"); z.extend(Zd.prototype,{za:function(a,b){this.$w&&(this.zIndex=-100);this.map=a;if(!this.Mb){var c=I("div"),e=c.style;e.position="absolute";e.overflow="visible";e.zIndex=this.zIndex;e.left=Math.ceil(-a.offsetX+a.width/2)+"px";e.top=Math.ceil(-a.offsetY+a.height/2)+"px";b.appendChild(c);this.Mb=c}},remove:function(){this.Mb&&this.Mb.parentNode&&(this.Mb.innerHTML="",this.Mb.parentNode.removeChild(this.Mb));delete this.Mb},Ut:u("n1"),getTilesUrl:function(a,b){if(this.map.ya()!==ab&&this.map.ya()!==$a)var c= this.map.gf.wm(a.x,b).Bg;var e="";this.bf.tileUrlTemplate&&(e=this.bf.tileUrlTemplate.replace(/\{X\}/,c),e=e.replace(/\{Y\}/,a.y),e=e.replace(/\{Z\}/,b));return e},Im:u("rW"),ya:function(){return this.Wa||Ta}});function fe(a){Zd.call(this,a);this.m=a||{};this.WM=q;if(this.m.predictDate){if(1>this.m.predictDate.weekday||7<this.m.predictDate.weekday)this.m.predictDate=1;if(0>this.m.predictDate.hour||23<this.m.predictDate.hour)this.m.predictDate.hour=0}this.cV=C.url.proto+C.url.domain.traffic+"/traffic/"}fe.prototype=new Zd;fe.prototype.za=function(a,b){Zd.prototype.za.call(this,a,b);this.P=a;Wa(Xa(3,3),["layer","traffic"])};fe.prototype.Ut=ea(q); fe.prototype.getTilesUrl=function(a,b){var c="";this.m.predictDate?c="HistoryService?day="+(this.m.predictDate.weekday-1)+"&hour="+this.m.predictDate.hour+"&t="+(new Date).getTime()+"&":(c="TrafficTileService?time="+(new Date).getTime()+"&",c=this.P.M.Zf?c+"v=016&":c+"label=web2D&v=016&");var c=this.cV+c+"level="+b+"&x="+a.x+"&y="+a.y,e=1;this.P.ay()&&(e=2);return(c+"&scaler="+e).replace(/-(\d+)/gi,"M$1")};var ge=[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"],he=C.url.proto+C.url.domain.main_domain_nocdn.baidu+"/style/poi/rangestyle",ie=100; function Ab(a,b){Zd.call(this);var c=this;this.WM=q;try{document.createElement("canvas").getContext("2d")}catch(e){}Ub(a)?b=a||{}:(c.ho=a,b=b||{});b.geotableId&&(c.Lf=b.geotableId);b.databoxId&&(c.ho=b.databoxId);var f=C.dd+"geosearch";c.fb={pF:b.pointDensity||ie,ZY:f+"/detail/",$Y:f+"/v2/detail/",sC:b.age||36E5,hq:b.q||"",aP:"png",o5:[5,5,5,5],EZ:{backgroundColor:"#FFFFD5",borderColor:"#808080"},tC:b.ak||ra,gG:b.tags||"",filter:b.filter||"",$F:b.sortby||"",xE:b.hotspotName||"tile_md_"+(1E5*Math.random()).toFixed(0), uG:q};bb.load("clayer",function(){c.Ed()})}Ab.prototype=new Zd;Ab.prototype.za=function(a,b){Zd.prototype.za.call(this,a,b);this.P=a}; Ab.prototype.getTilesUrl=function(a,b){var c=a.x,e=a.y,f=this.fb,g=ge[Math.abs(c+e)%ge.length],c=window._BMapSecurityConfig&&window._BMapSecurityConfig.serviceHost?g+"/image?grids="+c+"_"+e+"_"+b+"&q="+f.hq+"&tags="+f.gG+"&filter="+f.filter+"&sortby="+f.$F+"&age="+f.sC+"&page_size="+f.pF+"&format="+f.aP:g+"/image?grids="+c+"_"+e+"_"+b+"&q="+f.hq+"&tags="+f.gG+"&filter="+f.filter+"&sortby="+f.$F+"&ak="+this.fb.tC+"&age="+f.sC+"&page_size="+f.pF+"&format="+f.aP;f.uG||(f=(1E5*Math.random()).toFixed(0), c+="&timeStamp="+f);this.Lf?c+="&geotable_id="+this.Lf:this.ho&&(c+="&databox_id="+this.ho);return c};Ab.prototype.enableUseCache=function(){this.fb.uG=q};Ab.prototype.disableUseCache=function(){this.fb.uG=t};Ab.AU=/^point\(|\)$/ig;Ab.BU=/\s+/;Ab.DU=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;var je={};function ke(a,b){this.cd=a;this.HQ=18;this.m={Nu:256,Dc:new U};z.extend(this.m,b||{})}var le=[0,0,0,8,7,7,6,6,5,5,4,3,3,3,2,2,1,1,0,0,0,0],ne=[512,2048,4096,32768,65536,262144,1048576,4194304,8388608],oe=[0,0,0,3,5,5,7,7,9,9,10,12,12,12,15,15,17,17,19,19,19,19],pe=[0,0,0,256,256,512,256,512,256,512,256,256,512,1024,256,512,512,1024,512,1024,2048,4096]; ke.prototype={getName:u("cd"),me:function(a){return"na"===this.cd?pe[a]:this.m.Nu},Bp:function(a){return"na"===this.cd?oe[a]:a},Bj:function(){return this.m.Dc},Wb:function(a){return Math.pow(2,this.HQ-a)},iE:function(a){return"na"===this.cd?ne[le[a]]:this.Wb(a)*this.me(a)},SX:function(a){a=Math.floor(a);return"na"===this.cd?pe[oe[a]]:this.m.Nu}};var qe={drawPoly:function(a,b,c,e,f,g){var i=a[1];if(i)for(var a=a[6],k=0;k<i.length;k++){var m=i[k][0],n=f.Dj(m,"polygon",c,g);if(n&&n.length)for(var o=i[k][1],p=0;p<o.length;p++){var v=o[p][1];f.Oc(v[0],c)&&(v["cache"+c]||(v["cache"+c]=f.hn(v[1],c,e,a)),v=v["cache"+c],f.P.Uo(b.canvas.id,v,{type:"polygon",Yb:m,style:n}),this.lX(b,v,n,c))}}},lX:function(a,b,c,e){c=c[0];if(!c.Yb||!(6<e&&(71013===c.Yb||71012===c.Yb||71011===c.Yb)||6===e&&(71011===c.Yb||71012===c.Yb)||5===e&&(71011===c.Yb||71013===c.Yb)|| 5>e&&(71012===c.Yb||71013===c.Yb))){a.fillStyle=c.Bx;a.beginPath();a.moveTo(b[0],b[1]);for(var e=2,f=b.length;e<f;e+=2)a.lineTo(b[e],b[e+1]);a.closePath();c.borderWidth&&(a.strokeStyle=c.ap,a.lineWidth=c.borderWidth/2,a.stroke());a.fill()}},drawGaoqingRoadBorder:function(a,b,c,e,f){var g=a[1];if(g)for(var a=a[6],i=0;i<g.length;i++){var k=g[i][0],m=f.Dj(k,"polygon",c);if(m&&m.length&&m[0].borderWidth)for(var n=g[i][1],o=0;o<n.length;o++){var p=n[o][1];f.Oc(p[0],c)&&(p["cache"+c]||(p["cache"+c]=f.hn(p[1], c,e,a)),p=p["cache"+c],f.P.Uo(b.canvas.id,p,{type:"polygon",Yb:k,style:m}),this.nX(b,p,m))}}},drawGaoqingRoadFill:function(a,b,c,e,f){var g=a[1];if(g)for(var a=a[6],i=0;i<g.length;i++){var k=g[i][0],m=f.Dj(k,"polygon",c);if(m&&m.length)for(var n=g[i][1],o=0;o<n.length;o++){var p=n[o][1];f.Oc(p[0],c)&&(p["cache"+c]||(p["cache"+c]=f.hn(p[1],c,e,a)),p=p["cache"+c],f.P.Uo(b.canvas.id,p,{type:"polygon",Yb:k,style:m}),this.oX(b,p,m))}}},nX:function(a,b,c){c=c[0];a.beginPath();a.moveTo(b[0],b[1]);for(var e= 2,f=b.length;e<f;e+=2)a.lineTo(b[e],b[e+1]);a.closePath();a.strokeStyle=c.ap;a.lineWidth=c.borderWidth/2;a.stroke()},oX:function(a,b,c){a.fillStyle=c[0].Bx;a.beginPath();a.moveTo(b[0],b[1]);for(var c=2,e=b.length;c<e;c+=2)a.lineTo(b[c],b[c+1]);a.closePath();a.fill()}};var re={drawArrow:function(a,b,c,e,f,g){b.lineWidth=1.5;b.lineCap="butt";b.lineJoin="miter";b.strokeStyle="rgba(153,153,153,1)";var i=a[7];if(i){a=i[1];e=g.hn(i[0],c,e);for(i=0;i<a.length;i++)if(g.Oc(a[i],c)){var k=e[4*i],m=e[4*i+1],n=e[4*i+2],o=e[4*i+3],p=(k+n)/2,v=(m+o)/2,n=(k-n)/f,o=(m-o)/f,k=p+n/2,n=p-n/2,m=v+o/2,o=v-o/2;this.dX(b,k,m,n,o)}}},dX:function(a,b,c,e,f){a.beginPath();a.moveTo(b,c);a.lineTo(e,f);a.stroke();c=this.VV([b,c],[e,f]);b=c[0];c=c[1];a.beginPath();a.moveTo(b[0],b[1]);a.lineTo(c[0], c[1]);a.lineTo(e,f);a.closePath();a.stroke()},VV:function(a,b){var c=b[0]-a[0],e=b[1]-a[1],f=1.8*Math.sqrt(c*c+e*e),g=b[0]+4.8410665352790705*(c/f),f=b[1]+4.8410665352790705*(e/f),c=Math.atan2(e,c)+Math.PI;return[[g+4.8410665352790705*Math.cos(c-0.3),f+4.8410665352790705*Math.sin(c-0.3)],[g+4.8410665352790705*Math.cos(c+0.3),f+4.8410665352790705*Math.sin(c+0.3)]]}};var se={drawHregion:function(a,b,c,e,f){var g=a[1];if(g)for(var a=a[6],i=0;i<g.length;i++){var k=g[i][0],m=f.Dj(k,"polygon3d",c);if(m&&m.length)for(var n=g[i][1],o=0;o<n.length;o++){var p=n[o][2];if(f.Oc(p[0],c)){var v=p[2];p["cache"+c]||(p["cache"+c]=f.hn(p[1],c,e,a));p=p["cache"+c];f.P.Uo(b.canvas.id,p,{type:"polygon",Yb:k,style:m});this.mX(b,p,v,m)}}}},mX:function(a,b,c,e){e=e[0];if(!(c<e.filter)){a.fillStyle=e.DX;a.beginPath();a.moveTo(b[0],b[1]);for(var c=2,f=b.length;c<f;c+=2)a.lineTo(b[c], b[c+1]);a.closePath();e.borderWidth&&(a.strokeStyle=e.ap,a.lineWidth=e.borderWidth/2,a.stroke());a.fill()}}};var te={parse:function(a,b,c,e,f){for(var g=e.P,i=g.la(),k=Math.pow(2,18-i),m=g.Dc.zi(g.Hb()),n=m.lng,o=m.lat,m=g.wb(),p=m.width,v=m.height,m=[],w=0;w<a.length;w++){var A=[],B=a[w].U0;A.x=B[0];A.y=B[1];A.H7=B[2];for(var D=(B[0]*c*k-n)/k+p/2,F=(o-(B[1]+1)*c*k)/k+v/2,H=0;H<a[w].length;H++)a[w][H].bN?this.aO(a[w][H].bN,B,e,b,c,D,F,i,k,p,v,A):a[w][H].fZ?this.aO(a[w][H].fZ,B,e,b,c,D,F,i,k,p,v,A,q,window.s5):this.p_(a[w][H].FZ,B,e,b,c,D,F,i,k,p,v,A,f);m.push(A)}if(/collision=0/.test(location.search)){a= [];for(w=0;w<m.length;w++)for(H=0;H<m[w].length;H++)a.push(m[w][H])}else a=this.D_(m,e.P.la());g.hW();for(w=0;w<a.length;w++)if(c=a[w],!c.Ot)if(H=[c.cg,c.dg,c.cg,c.Di,c.Ci,c.Di,c.Ci,c.dg,c.cg,c.dg],c.style&&g.Uo("poi",H,{type:"polygon",Yb:c.style.Yb,style:c.style}),"fixed"===c.type){H=t;c.De&&(c.style&&4===c.direction)&&(H=q);if(c.De)if(H){var G=this;this.ct(b,c,e,H,function(a){for(var c=0;c<a.Df.length;c++)G.qL(b,a.Df[c].je,a.Df[c].ke,a.Df[c].text,a.style,e)})}else this.ct(b,c,e);if(c.style&&!H)for(H= 0;H<c.Df.length;H++)this.qL(b,c.Df[H].je,c.Df[H].ke,c.Df[H].text,c.style,e)}else if("line"===c.type)for(H=0;H<c.HP.length;H++)f=c.HP[H],te.gX(b,f.je,f.ke,f.yV,f.FP,f.width,f.height,c.style,e);return m},aO:function(a,b,c,e,f,g,i,k,m,n,o,p,v,w){if(a=a[1])for(b=0;b<a.length;b++){var A=a[b],B=A[0],D=c.Dj(B,"point",k,w),B=c.Dj(B,"pointText",k,w),A=A[1],F=s,H=100,G=0,E=0;D&&D[0]&&(D=D[0],F=D.De,H=D.zoom||100);B=B&&B[0]?B[0]:s;for(D=0;D<A.length;D++){var J=A[D][4];if(J&&c.Oc(J[2],k)){var K=Math.round(J[0]/ 100)/m+g,P=f-Math.round(J[1]/100)/m+i;if(v||!(-50>K||-50>P||K>n+50||P>o+50)){var Q=J[7]||"",ga={type:"fixed",uid:J[3]||"",name:Q,Py:J[4],Jt:s,Df:[],Cy:[K,P],style:B};if(F){var da=window.iconSetInfo_high[F]||window.iconSetInfo_high["MapRes/"+F];if(!da){var Da=F.charCodeAt(0);48<=Da&&57>=Da&&(da=window.iconSetInfo_high["_"+F])}da&&(G=da[2],E=da[3],G=G/2*H/100,E=E/2*H/100,ga.Jt={je:K-G/2,ke:P-E/2,width:G,height:E},ga.De=F)}if(B){J=J[5];"number"!==typeof J&&(J=0);var wa=da=0,Da=(B.fontSize||12)/2,La= 0.2*Da;e.font=te.Gx(B,c);var Q=Q.split("\\"),va=Q.length;ga.direction=J;for(var cb=0;cb<va;cb++){var Ue=Q[cb],gd=e.measureText(Ue).width;switch(J){case 3:wa=P-Da/2*va-La*(va-1)/2;da=K-gd-G/2;wa=wa+Da*cb+La*cb;break;case 1:wa=P-Da/2*va-La*(va-1)/2;da=K+G/2;wa=wa+Da*cb+La*cb;break;case 2:wa=P-E/2-Da*va-La*(va-1)-La;da=K-gd/2;wa=wa+Da*cb+La*cb;break;case 0:wa=P+E/2+La/2;da=K-gd/2;wa=wa+Da*cb+La*cb;break;case 4:wa=P-Da/2*va-La*(va-1)/2,da=K-gd/2,wa=wa+Da*cb+La*cb}ga.Df.push({je:da,ke:wa,width:gd,height:Da, text:Ue})}}p.push(ga)}}}}},p_:function(a,b,c,e,f,g,i,k,m,n,o,p,v){b=a[7].length;if((n=c.Dj(a[0],"pointText",k))&&n.length){n=n[0];e.font=te.Gx(n,c);var o=n.fontSize/2,w=a[1],A=a[2];if(A){for(var B=A.split("").length,D=a[4],F=D.slice(0,2),H=2;H<D.length;H+=2)F[H]=F[H-2]+D[H],F[H+1]=F[H-1]+D[H+1];for(H=2;H<D.length;H+=2)0===H%(2*B)||1===H%(2*B)||(F[H]=F[H-2]+D[H]/v,F[H+1]=F[H-1]+D[H+1]/v);for(v=0;v<b;v++)if(c.Oc(a[7][v],k)){var H=[],G=l,E=l,J=l,K=l,P=A.split("");a[6][v]&&P.reverse();for(var D=2*v*B, D=F.slice(D,D+2*B),Q=0;Q<B;Q++){var ga=a[5][B*v+Q],da=D[2*Q]/100/m+g,Da=f-D[2*Q+1]/100/m+i,wa=P[Q],La=e.measureText(wa).width;if(G===l)G=da-La/2,E=Da-o/2,J=G+La,K=E+o;else{var va=da-La/2,cb=Da-o/2;va<G&&(G=va);cb<E&&(E=cb);va+La>J&&(J=va+La);cb+o>K&&(K=cb+o)}H.push({FP:wa,je:da,ke:Da,yV:ga,width:La,height:o})}p.push({type:"line",Py:w,style:n,HP:H,cg:G,dg:E,Ci:J,Di:K})}}}},ct:function(a,b,c,e,f){var g=b.De;if("lanche"!==g)if(te.by[g])this.nL(a,b,te.by[g],e,f);else if(c=c.ZL(g)){var i=new Image;i.setAttribute("crossOrigin", "anonymous");var k=this;i.onload=function(){te.by[g]=this;k.nL(a,b,this,e,f);i.onload=s};i.src=c}},nL:function(a,b,c,e,f){var g=b.Jt,i=g.je,k=g.ke,m=s,n=s,o=q,p=b.style?b.style.Yb:s;if(b.style&&62203===p){for(var v=n=m=0;v<b.Df.length;v++)m<b.Df[v].width&&(m=b.Df[v].width),n+=20;m=Math.ceil(m)+10}e&&519===p&&(o=t);m!==s&&n!==s?this.kX(a,b,c,8,m,n):e&&o?(m=Math.ceil(b.Df[0].width)+6,this.cX(a,b,c,12,m,c.height/2)):a.drawImage(c,i,k,g.width,g.height);f&&f(b)},kX:function(a,b,c,e,f,g){var i=b.Cy[0]- f/2,b=b.Cy[1]-g/2;0<navigator.userAgent.indexOf("iPhone")&&(b+=1);var k=e/2;a.drawImage(c,0,0,e,e,i,b,k,k);a.drawImage(c,e,0,1,e,i+k,b,f-2*k,k);a.drawImage(c,c.width-e,0,e,e,i+f-k,b,k,k);a.drawImage(c,0,e,e,1,i,b+k,k,g-2*k);a.drawImage(c,e,e,1,1,i+k,b+k,f-2*k,g-2*k);a.drawImage(c,c.width-e,e,e,1,i+f-k,b+k,k,g-2*k);a.drawImage(c,0,c.height-e,e,e,i,b+g-k,k,k);a.drawImage(c,e,c.height-e,1,e,i+k,b+g-k,f-2*k,k);a.drawImage(c,c.width-e,c.height-e,e,e,i+f-k,b+g-k,k,k)},cX:function(a,b,c,e,f,g){var i=b.Cy[0]- f/2,b=b.Cy[1]-g/2,g=e/2;a.drawImage(c,0,0,e,c.height,i,b,g,c.height/2);a.drawImage(c,e,0,1,c.height,i+g,b,f-2*g,c.height/2);a.drawImage(c,c.width-e,0,e,c.height,i+f-g,b,g,c.height/2)},gX:function(a,b,c,e,f,g,i,k,m){a.font=te.Gx(k,m);a.fillStyle=k.IL;g/=2;i/=2;a.save();a.translate(b,c);a.rotate(-e/180*Math.PI);0<k.Ux&&(a.lineWidth=k.Ux,a.strokeStyle=k.AM,a.strokeText(f,-g,-i));a.fillText(f,-g,-i);a.restore()},qL:function(a,b,c,e,f,g){a.font=te.Gx(f,g);a.fillStyle=f.IL;0<f.Ux&&(a.lineWidth=f.Ux,a.strokeStyle= f.AM,a.strokeText(e,b,c));a.fillText(e,b,c)},Gx:function(a,b){var c=a.fontSize/2,e=10*a.fontWeight;return e=b.QM?e+" bold"+(" "+c+"px")+' arial, "PingFang SC", sans-serif':e+(" "+c+"px")+" arial, sans-serif"},D_:function(a,b){var c=[],e=0;5===b&&(e=1);a.sort(function(a,b){return a.x*a.y<b.x*b.y?-1:1});for(var f=0,g=a.length;f<g;f++)for(var i=a[f],k=0,m=i.length;k<m;k++){var n=i[k],o=l,p=l,v=l,w=l;if("fixed"===n.type){var A=n.Jt,B=n.Df;A&&(o=A.je,p=A.ke,v=A.je+A.width,w=A.ke+A.height);for(A=0;A<B.length;A++){var D= B[A];o!==l?(D.je<o&&(o=D.je),D.ke<p&&(p=D.ke),D.je+D.width>v&&(v=D.je+D.width),D.ke+D.height>w&&(w=D.ke+D.height)):(o=D.je,p=D.ke,v=D.je+D.width,w=D.ke+D.height)}}else"line"===n.type?(o=n.cg,p=n.dg,v=n.Ci,w=n.Di):"biaopai"===n.type&&(w=n.r6,o=w.je,p=w.ke,v=w.je+w.width,w=w.ke+w.height);o!==l&&(n.cg=o,n.dg=p,n.Ci=v,n.Di=w,c.push(n))}c.sort(function(a,b){return b.Py-a.Py||b.cg-a.cg||b.dg-a.dg});f=0;for(g=c.length;f<g;f++){m=c[f];m.Ot=t;m.xK=[];for(k=f+1;k<g;k++)i=c[k],m.Ci-e<i.cg||(m.cg>i.Ci-e||m.Di- e<i.dg||m.dg>i.Di-e)||m.xK.push(k)}f=0;for(g=c.length;f<g;f++)if(k=c[f],k.Ot===t){e=k.xK;k=0;for(m=e.length;k<m;k++)c[e[k]].Ot=q}return c},by:{}};var ue=["round","butt","square"],ve=["miter","round","bevel"],we={daojiao:[{stroke:"#FF6600",tb:1,rb:"round",sb:"round",Zc:[4,3]}],daojiao_bai:[{stroke:"#f5f3f0",tb:1,rb:"round",sb:"round",Zc:[4,3]}],junhuoxian:[],lundu:[{stroke:"#5c91c5",tb:1,rb:"round",sb:"round",Zc:[10,11]}],shengjie:[],weidingguojie:[{stroke:"#aea08a",tb:1,rb:"round",sb:"round",Zc:[4,3]}],weidingguojie_guowai:[{stroke:"#a29e96",tb:2,rb:"round",sb:"round",Zc:[4,3]}],weidingguojie_guonei:[],weidingshengjie_guowai:[]},xe={weidingshengjie_guowai:[{stroke:"#737373", tb:1,rb:"round",sb:"round",Zc:[4,3]}],junhuoxian:[{stroke:"#DB7093",tb:1.5,rb:"round",sb:"round",Zc:[4,3]}],shengjie:[{stroke:"#737373",tb:1,rb:"round",sb:"round",Zc:[10,4,5,4]}],weidingguojie_guonei:[{stroke:"#b2a471",tb:2,rb:"round",sb:"round",Zc:[4,3]}]},ye={}; function ze(a,b,c){if(/^tielu|^MapRes\/tielu/.test(a)){if("off"===window[c+"zoomFrontStyle"][b].bmapRailwayVisibility)return[];var e="#ffffff",f="#949494";window[c+"zoomFrontStyle"]&&(window[c+"zoomFrontStyle"][b]&&window[c+"zoomFrontStyle"][b].bmapRailwayStrokeColor)&&(e=window[c+"zoomFrontStyle"][b].bmapRailwayStrokeColor);window[c+"zoomFrontStyle"]&&(window[c+"zoomFrontStyle"][b]&&window[c+"zoomFrontStyle"][b].bmapRailwayFillColor)&&(f=window[c+"zoomFrontStyle"][b].bmapRailwayFillColor);if(4<= b&&9>=b||10<=b&&16>=b)return[{stroke:e,tb:1.5,rb:"butt",sb:"round",Zc:[10,11]},{stroke:f,tb:2,rb:"round",sb:"round"}];if(17<=b&&18>=b)return[{stroke:e,tb:2.5,rb:"butt",sb:"round",Zc:[15,16]},{stroke:f,tb:5,rb:"round",sb:"round"}];if(19<=b&&20>=b)return[{stroke:e,tb:4.5,rb:"butt",sb:"round",Zc:[25,26]},{stroke:f,tb:5,rb:"round",sb:"round"}]}else if(0===a.indexOf("ditie_zj")||0===a.indexOf("MapRes/ditie_zj")){if(12<=b&&16>=b)return[{stroke:"#868686",tb:1,rb:"round",sb:"round",Zc:[7,4]}];if(17<=b&&18>= b||19<=b&&20>=b)return[{stroke:"#6e6e6e",tb:1,rb:"round",sb:"round",Zc:[7,4]}]}else if(/^tongdaomian|^MapRes\/tongdaomian/.test(a)){if(17===b)return[{stroke:"#e5e5e5",tb:4,rb:"square",sb:"round"},{stroke:"#a8a8a8",tb:6,rb:"square",sb:"round"}];if(18===b)return[{stroke:"#e5e5e5",tb:6,rb:"square",sb:"round"},{stroke:"#a8a8a8",tb:8,rb:"square",sb:"round"}];if(19<=b&&21>=b)return[{stroke:"#e5e5e5",tb:8,rb:"square",sb:"round"},{stroke:"#a8a8a8",tb:10,rb:"square",sb:"round"}]}else if(/^jietizhongduan|^dixiatongdaojieti|^MapRes\/jietizhongduan|^MapRes\/dixiatongdaojieti/.test(a)){if(17=== b)return[{stroke:"#e5e5e5",tb:4,rb:"butt",sb:"round",Zc:[2,1]},{stroke:"#bebebe",tb:6,rb:"butt",sb:"round"}];if(18===b)return[{stroke:"#e5e5e5",tb:6,rb:"butt",sb:"round",Zc:[3,1]},{stroke:"#bebebe",tb:8,rb:"butt",sb:"round"}];if(19<=b&&21>=b)return[{stroke:"#e5e5e5",tb:8,rb:"butt",sb:"round",Zc:[4,2]},{stroke:"#bebebe",tb:10,rb:"butt",sb:"round"}]}else if(/^guojietianqiao|^MapRes\/guojietianqiao/.test(a))return 18===b?[{stroke:"#ffffff",tb:6,rb:"butt",sb:"round",Zc:[4,2]},{stroke:"#bebebe",tb:8,rb:"butt", sb:"round"}]:[{stroke:"#ffffff",tb:8,rb:"butt",sb:"round",Zc:[4,2]},{stroke:"#bebebe",tb:10,rb:"butt",sb:"round"}];return we[a]||we[a.replace("MapRes/","")]} var Ae={drawLink:function(a,b,c,e,f){this.da=f.P.da;var g=a[1];g&&(a=a[6],this.pP(g,c,e,b,a,f,q),this.pP(g,c,e,b,a,f,t))},pP:function(a,b,c,e,f,g,i){for(var k=0;k<a.length;k++){var m=a[k][0],n=g.Dj(m,"line",b);if(n&&n.length&&(!i||n[0].borderWidth))if(!n[0].Hm||ze(n[0].Hm,b,this.da))for(var o=a[k][1],p=0;p<o.length;p++){var v=o[p][3];g.Oc(v[0],b)&&(v["cache"+b]||(v["cache"+b]=g.hn(v[1],b,c,f)),v=v["cache"+b],g.P.Uo(e.canvas.id,v,{type:"polyline",Yb:m,style:n}),this.hX(e,v,n,i,b))}}},drawSingleTexture:function(a, b,c,e,f){var g=a[1];if(g)for(var a=a[6],i=0;i<g.length;i++){var k=f.Dj(g[i][0],"line",c);if(k&&k.length)for(var m=g[i][1],n=0;n<m.length;n++){var o=m[n][11];if(f.Oc(o[0],c)){var p;o["cache"+c]||(o["cache"+c]=f.hn(o[1],c,e,a));p=o["cache"+c];o=o[3];o*=Math.pow(2,c-f.R1[c].Tc);this.iX(b,p,k,o,f)}}}},iX:function(a,b,c,e,f){var g=c[0].Hm,i=this;if(ye[g])i.ct(b,e,a,ye[g]);else if(c=f.ZL(g)){var k=new Image;k.onload=function(){ye[g]=k;i.ct(b,e,a,k);k.onload=s};k.src=c}},ct:function(a,b,c,e){var f=[a[0], a[1]],g=[a[2],a[3]],a=g[0]-f[0],g=g[1]-f[1],f=[f[0]+a/2,f[1]+g/2],i=Math.sqrt(a*a+g*g),b=b/10,a=Math.atan2(g,a);c.save();c.translate(f[0],f[1]);c.rotate(Math.PI/2+a);c.drawImage(e,-b/2,-i/2,b,i);c.restore()},hX:function(a,b,c,e,f){c=c[0];if(!e&&c.Hm){var f=ze(c.Hm,f,this.da),g=xe[c.Hm]||xe[c.Hm.replace("MapRes/","")];if(g){this.rL(a,b,c,g,q);return}if(f){this.rL(a,b,c,f,t);return}}a.beginPath();a.moveTo(b[0],b[1]);f=2;for(g=b.length;f<g;f+=2)a.lineTo(b[f],b[f+1]);c.borderWidth&&e?(a.strokeStyle=c.ap, a.lineCap=ue[c.OV],a.lineJoin=ve[1],a.lineWidth=c.borderWidth/2,a.stroke()):e||(a.strokeStyle=c.Bx,a.lineCap=ue[c.CX],a.lineJoin=ve[1],a.lineWidth=c.EL/2,a.stroke())},rL:function(a,b,c,e,f){if(c=e[1]){a.strokeStyle=c.stroke;a.lineCap=c.rb;a.lineJoin=c.sb;a.lineWidth=c.tb;a.beginPath();a.moveTo(b[0],b[1]);for(var c=2,g=b.length;c<g;c+=2)a.lineTo(b[c],b[c+1]);a.stroke()}if(e=e[0])if(e.Zc)f?this.jX(a,b,e):this.fX(a,b,e);else{a.strokeStyle=e.stroke;a.lineCap=e.rb;a.lineJoin=e.sb;a.lineWidth=e.tb;a.beginPath(); a.moveTo(b[0],b[1]);c=2;for(g=b.length;c<g;c+=2)a.lineTo(b[c],b[c+1]);a.stroke()}},jX:function(a,b,c){a.strokeStyle=c.stroke;a.lineCap=c.rb;a.lineJoin=c.sb;a.lineWidth=c.tb;a.setLineDash(c.Zc);a.beginPath();for(c=0;c<b.length-2;c+=2)a.lineTo(b[c],b[c+1]);a.stroke();a.setLineDash([])},fX:function(a,b,c){a.strokeStyle=c.stroke;a.lineCap=c.rb;a.lineJoin=c.sb;a.lineWidth=c.tb;var e=q,c=c.Zc[0];a.beginPath();for(var f=0;f<b.length-2;f+=2){var g=b[f],i=b[f+1],k=b[f+2]-g,m=b[f+3]-i,n=0!==k?m/k:0<m?1E15: -1E15,m=Math.sqrt(k*k+m*m),o=c;for(a.moveTo(g,i);0.1<=m;){o>m&&(o=m);var p=Math.sqrt(o*o/(1+n*n));0>k&&(p=-p);g+=p;i+=n*p;a[e?"lineTo":"moveTo"](g,i);m-=o;e=!e}}a.stroke()}};var Be=3,Ce=4,De=7,Ee=8,Fe=15,Ge=16,He={},Ie={},Je={},Ke,Le={3:{start:3,Tc:3},4:{start:4,Tc:5},5:{start:4,Tc:5},6:{start:6,Tc:7},7:{start:6,Tc:7},8:{start:8,Tc:9},9:{start:8,Tc:9},10:{start:10,Tc:10},11:{start:11,Tc:12},12:{start:11,Tc:12},13:{start:11,Tc:12},14:{start:14,Tc:15},15:{start:14,Tc:15},16:{start:16,Tc:17},17:{start:16,Tc:17},18:{start:18,Tc:19},19:{start:18,Tc:19},20:{start:18,Tc:19},21:{start:18,Tc:19}};function Me(a){this.P=a;this.Lc=a.M.devicePixelRatio;this.R1=Le} Me.prototype={lD:function(a,b,c,e,f,g,i,k,m){this.P.VO={};var n=this,o=n.P.da;m||(m=0);if(!window[o+"StyleBody"]&&100>m)setTimeout(function(){n.lD(a,b,c,e,f,g,i,k,m+1)},100);else{Ke||(Ke=k);var p=b.getContext("2d"),v=b.parentNode;v.removeChild(b);p.clearRect(0,0,g,g);v.appendChild(b);v=this.Lc;1<v&&!b._scale&&(p.scale(v,v),b._scale=q);p.fillStyle=this.$N("#F5F3F0");window[o+"zoomFrontStyle"][f].bmapLandColor&&(p.fillStyle=this.$N(window[o+"zoomFrontStyle"][f].bmapLandColor));o=b.style.width;b.style.width= "0px";b.style.width=o;(o=Ne.LY(c,g,i))?p.fillRect(o[0],o[1],o[2],o[3]):p.fillRect(0,0,g,g);if(a[0])for(o=0;o<a[0].length;o++)v=a[0][o],v[0]===De&&qe.drawPoly(v,p,f,g,this);17<=this.P.la()?(n.pL(a,p,f,g,i,c,e),b.io=q):setTimeout(function(){if(!b.RH){n.pL(a,p,f,g,i,c,e);b.io=q}},1)}},pL:function(a,b,c,e){var f=this.P.da;if(a[0])for(var g=0;g<a[0].length;g++){var i=a[0][g],k=i[0];k===Ce?Ae.drawLink(i,b,c,e,this):k===Ge?Ae.drawLink(i,b,c,e,this):k===Fe?(qe.drawGaoqingRoadBorder(i,b,c,e,this),qe.drawGaoqingRoadFill(i, b,c,e,this)):18===k?window[f+"zoomFrontStyle"]&&(window[f+"zoomFrontStyle"][c]&&"off"!==window[f+"zoomFrontStyle"][c].bmapRoadarrowVisibility)&&re.drawArrow(i,b,c,e,Math.pow(2,c-Le[c].Tc),this):k===Ee?se.drawHregion(i,b,c,e,this):19===k&&Ae.drawSingleTexture(i,b,c,e,this)}},oL:function(a,b,c,e,f,g,i){var k=this,m=k.P.da;i||(i=0);!window[m+"StyleBody"]&&100>i?setTimeout(function(){k.oL(a,b,c,e,f,g,i+1)},100):(Ke||(Ke=b),a.w_=te.parse(a,c,e,this,f))},Dj:function(a,b,c,e){var f=a+"-"+b+"-"+c;if(e)return He[f]|| (He[f]=this.wf(a,b,c,e)),He[f];this.P.VO[f]=this.wf(a,b,c);return this.P.VO[f]},wf:function(a,b,c,e){var f=this.P.da,g;g=e||window[f+"_bmap_baseFs"];f=window[f+"StyleBody"];e=g[2];if("arrow"===b)return this.l_(e[2]);switch(b){case "point":e=e[0];f=f[0]||{};break;case "pointText":e=e[1];f=f[1]||{};break;case "line":e=e[3];f=f[3]||{};break;case "polygon":e=e[4];f=f[4]||{};break;case "polygon3d":e=e[5],f=f[5]||{}}var i=[],c=g[1][c-1][0][a];if(!c)return i;for(g=0;g<c.length;g++){var k=f[c[g]]||e[c[g]]; if(k){switch(b){case "polygon":k=this.u_(k,a);break;case "line":k=this.q_(k,a);break;case "pointText":k=this.s_(k,a);break;case "point":k=this.r_(k,a);break;case "polygon3d":k=this.t_(k,a)}k.Y6=c[g];i[i.length]=k}}return i},s_:function(a,b){return{Yb:b,IL:this.Pg(a[0]),AM:this.Pg(a[1]),p3:this.Pg(a[2]),fontSize:a[3],Ux:a[4],fontWeight:a[5],fontStyle:a[6],PW:a[7]}},r_:function(a,b){return{Yb:b,Py:a[0],q7:a[1],De:a[2],bZ:a[3],Z5:a[4],PW:a[5],zoom:a[6]}},q_:function(a,b){return{Yb:b,ap:this.Pg(a[0]), Bx:this.Pg(a[1]),borderWidth:a[2],EL:a[3],OV:a[4],CX:a[5],g5:a[6],h5:a[7],i5:a[8],B5:a[9],C5:a[10],PV:a[11],Hm:a[12],QV:a[13],c4:a[14],z5:a[15],e5:a[16],Y5:a[17],D6:a[18]}},u_:function(a,b){return{Yb:b,Bx:this.Pg(a[0]),ap:this.Pg(a[1]),borderWidth:a[2],PV:a[3],QV:a[4],z7:a[5],d5:a[6],c7:a[7],d7:this.Pg(a[8])}},t_:function(a,b){return{Yb:b,filter:a[0],kO:a[1],f5:a[2],borderWidth:a[3],ap:this.Pg(a[4]),DX:this.Pg(a[5]),b4:this.Pg(a[6]),p6:a[7]}},l_:function(a){for(var b in a)return a=a[b],{color:this.Pg(a[0]), bZ:a[1],De:a[2]}},Pg:function(a){var b=a;if(Je[b])return Je[b];a>>>=0;Je[b]="rgba("+(a&255)+","+(a>>8&255)+","+(a>>16&255)+","+(a>>24&255)/255+")";return Je[b]},$N:function(a){a=a.replace("#","");6===a.length&&(a+="ff");for(var b="rgba(",c=0;8>c;c+=2)b=6>c?b+(parseInt(a.slice(c,c+2),16)+","):b+(parseInt(a.slice(c,c+2),16)/255+")");return b},Oc:function(a,b){var c;Ie[a]||(c=a.toString(2),8>c.length&&(c=Array(8-c.length+1).join("0")+c),Ie[a]=c);c=Ie[a];return"1"===c[b-Le[b].start]},hn:function(a,b, c){var e=[],b=Math.pow(2,b-Le[b].Tc)/100,f=a[0]*b,g=a[1]*b;e[e.length]=f;e[e.length]=c-g;for(var i=2;i<a.length;i+=2)f+=a[i]*b,g+=a[i+1]*b,e[e.length]=f,e[e.length]=c-g;return e},ZL:function(a){if(a){var b=a.length%Ke.length,c=this.hY();return Ke[b]+a+".png?v="+c.wG+"&udt="+c.sG}},hY:function(){if(this.AE)return this.AE;var a="undefined"!==typeof MSV?MSV.mapstyle:{};return this.AE={wG:a.version?a.version:"001",sG:a.o1?a.o1:"20150621"}}};R=z.lang.cv;Be=3;Ce=4;De=7;Ee=8;Fe=15;Ge=16; function Yd(a,b,c){c=c||{};this.P=a;this.Jw=b;this.Lc=b.kO;this.fb={V0:"na",zIndex:0,bP:c.tileUrls||{http:["http://maponline0.bdimg.com/pvd/?qt=vtile","http://maponline1.bdimg.com/pvd/?qt=vtile","http://maponline2.bdimg.com/pvd/?qt=vtile","http://maponline3.bdimg.com/pvd/?qt=vtile","http://maponline0.bdimg.com/pvd/?qt=vtile"],https:["https://maponline0.bdimg.com/pvd/?qt=vtile","https://maponline1.bdimg.com/pvd/?qt=vtile","https://maponline2.bdimg.com/pvd/?qt=vtile","https://maponline3.bdimg.com/pvd/?qt=vtile", "https://maponline0.bdimg.com/pvd/?qt=vtile"]},zE:c.iconUrls||["https://maponline0.bdimg.com/sty/map_icons2x/","https://maponline1.bdimg.com/sty/map_icons2x/"],WF:q};this.bC="";this.xT={};var c=c.urlOpts||{styles:"pl",extdata:1,textimg:0,mesh3d:0,limit:30},e;for(e in c)c.hasOwnProperty(e)&&(this.bC=this.bC+"&"+e+"="+c[e]);this.th={};this.Os=[];this.Vt=0;this.jy=t;this.by={};a=this.fb.V0;je[a]?a=je[a]:(b=new ke(a,l),a=je[a]=b);this.Id=a;this.P.Id=this.Id}window.VectorIndoorTileLayer="VectorIndoorTileLayer"; fa=Yd.prototype; fa.za=function(){var a=this.P,b=a.gf;if(!this.Qo){var c=b.kr(this.fb.zIndex);c.style.WebkitTransform="translate3d(0px, 0px, 0)";this.Qo=c}b.og.appendChild(this.Qo);b.t5=c;if(this.fb.WF){Oe(this);var e=this;a.addEventListener("checkvectorclick",function(a){var b;a:{b=a.offsetX;var c=a.offsetY,k=e.Os.w_;if(k)for(var m=0;m<k.length;m++)for(var n=k[m],o=0;o<n.length;o++)if(a=n[o],!a.Ot&&a.Jt&&b>a.cg&&b<a.Ci&&c>a.dg&&c<a.Di){b=a.Jt;b={type:9,name:a.name,uid:a.uid,point:{x:b.je+b.width/2,y:b.ke+6}};break a}b= s}b&&(a=new R("onvectorclick"),a.p5=b,a.Ye="base",this.dispatchEvent(a))})}};function Oe(a){var b=a.P,c=b.gf,e=a.Lc,f=b.wb(),g=f.width,f=f.height,i=I("canvas");i.style.cssText="position: absolute;left:0;top:0;width:"+g+"px;height:"+f+"px;z-index:2;";i.width=g*e;i.height=f*e;a.ny=i;a.Tp=i.getContext("2d");a.Tp.scale(e,e);a.Tp.textBaseline="top";c.og.appendChild(i);b.hT=i}fa.MY=u("Id"); fa.update=function(a,b){b=b||{};this.tG=b.tG;b.Gm&&(this.p1=b.Gm);if(this.fb.WF&&(b.xm&&this.xm(),b.D0)){var c=this.Lc,e=this.P.wb(),f=e.width,e=e.height,g=this.ny,i=g.style;i.width=f+"px";i.height=e+"px";g.width=f*c;g.height=e*c;this.Tp.scale(c,c);this.Tp.textBaseline="top"}if(b.t7){c=this.Qo;f=0;for(e=c.childNodes.length;f<e;f++)c.childNodes[f].io=t}this.px=a;this.Wp(a)}; fa.Wp=function(a){this.Os=[];var b=this.P,c=b.la(),e=b.Dc.zi(b.ie),f=this.Id.Wb(c),e=[Math.round(-e.lng/f),Math.round(e.lat/f)],f=this.Id.me(c),g=b.da.replace(/^TANGRAM_/,""),i=this.Id.Bp(c),b=this.P,k=-b.offsetY+b.height/2,m=this.Qo;m.style.left=-b.offsetX+b.width/2+"px";m.style.top=k+"px";this.Ve?this.Ve.length=0:this.Ve=[];b=0;for(k=m.childNodes.length;b<k;b++){var n=m.childNodes[b];n.Ir=t;this.Ve.push(n)}if(b=this.fn)for(var o in b)delete b[o];else this.fn={};this.We?this.We.length=0:this.We= [];b=0;for(k=a.length;b<k;b++){var n=a[b][0],p=a[b][1];o=Ne.wm(a[b][0],a[b][2],a[b][3]);o.offsetX&&(a[b][0]=o.Bg,a[b][4]=n,a[b][5]=o.offsetX/2,n=o.Bg);o=0;for(var v=this.Ve.length;o<v;o++){var w=this.Ve[o];if(w.id===g+"_"+n+"_"+p+"_"+i+"_"+c){w.Ir=q;this.fn[w.id]=w;break}}}b=0;for(k=this.Ve.length;b<k;b++)w=this.Ve[b],w.Ir||(w.fC=s,delete w.fC,w.io=t,this.We.push(w));o=[];v=f*this.Lc;b=0;for(k=a.length;b<k;b++){var n=a[b][0],p=a[b][1],w=a[b][4]?a[b][4]*f+e[0]+a[b][5]:n*f+e[0],A=(-1-p)*f+e[1],B=g+ "_"+n+"_"+p+"_"+i+"_"+c,D=this.fn[B],F=s;if(D)F=D.style,F.left=w+"px",F.top=A+"px",F.width=f+"px",F.height=f+"px",D.io?D.jG&&D.jG&&this.Os.push(D.jG):(D.RH=q,D.fC=s,delete D.fC,o.push([n,p,D]));else{if(0<this.We.length){var D=this.We.shift(),H=D.getContext("2d");D.getAttribute("width")!==v&&(D._scale=t);D.setAttribute("width",v);D.setAttribute("height",v);F=D.style;F.width=f+"px";F.height=f+"px";H.clearRect(0,0,v,v)}else D=document.createElement("canvas"),F=D.style,F.position="absolute",this.fb.backgroundColor&& (F.background=this.fb.backgroundColor),F.width=f+"px",F.height=f+"px",D.setAttribute("width",v),D.setAttribute("height",v),m.appendChild(D);D.id=B;F.left=w+"px";F.top=A+"px";o.push([n,p,D])}D.style.visibility=""}b=0;for(k=this.We.length;b<k;b++)this.We[b].style.visibility="hidden";if(0===o.length){Pe(this);a=this.P.da.replace(/^TANGRAM_/,"");c=this.P.la();e=this.Id.Bp(c);f={};for(g=0;g<this.px.length;g++)i=this.px[g],i=a+"_"+i[0]+"_"+i[1]+"_"+e+"_"+c,this.th[i]&&(f[i]=this.th[i],this.tG&&this.Jw.mD.lD(this.th[i].C1, this.th[i].T0,this.th[i].Bg,this.th[i].qn,this.th[i].$E,this.Id.me(this.th[i].$E),this.Id.iE(this.th[i].$E),this.fb.zE));this.th=f}else{this.Vt=o.length;this.jy=t;c=this.Id.Bp(this.P.la());for(e=0;e<a.length;e++)a[e][3]=c;for(e=0;e<o.length;e++)a=o[e][2],f=o[e][0],g=o[e][1],o[e][3]=c,a.io=t,a.RH=t,Qe(this,f,g,c,a)}}; function Qe(a,b,c,e,f){var g=b+"_"+c+"_"+e,i=a.xT;if(i[g]){if("loading"===i[g].status)return}else i[g]={status:"init",rO:0};var k=a,m=k.P,n=[],n="0"===C.Uu?k.fb.bP.http:k.fb.bP.https,o=Math.abs(b+c)%n.length,p="x="+b+"&y="+c+"&z="+e,v=Re(a.Jw),w=v.wG,v=v.sG,A="_"+(0>b?"_":"")+(0>c?"$":"")+parseInt(Math.abs(b)+""+Math.abs(c)+""+e,10).toString(36),p=p+a.bC+"v="+w+"&udt="+v+"&fn=window."+A,w=n[o]+"&"+p,w=n[o]+"&param="+window.encodeURIComponent(Wb(p));window[A]=function(a){clearTimeout(i[g].ml);i[g]= s;if(a){var n=m.la(),o;a:{for(o=0;o<k.px.length;o++){var p=k.px[o];if(p[0]===b&&p[1]===c&&p[3]===e){o=q;break a}}o=t}if(o!==t){o=new R("updateindoor");o.IndoorCanvas=[];o.IndoorCanvas.push({canvasDom:f,data:a,canvasID:f.id,ratio:k.Lc});m.dispatchEvent(o);if(m.M.Gk){if(k.th[f.id]={C1:a,T0:f,Bg:b,qn:c,$E:n},k.Jw.mD.lD(a,f,b,c,n,k.Id.me(n),k.Id.iE(n),k.fb.zE),k.fb.WF){n=[];n.U0=[b,c,e];if(a[0])for(o=0;o<a[0].length;o++)a[0][o][0]===Be&&n.push({bN:a[0][o]});if(a[2])for(o=0;o<a[2].length;o++)n.push({FZ:a[2][o]}); f.jG=n;k.Os.push(n);k.jy===t&&k.Vt--;(0===k.Vt||k.jy===q)&&Pe(k)}}else k.Vt--,(0===k.Vt||k.jy===q)&&Pe(k);delete window[A]}}};sa(w);i[g].status="loading";k=a;i[g].ml=setTimeout(function(){3>i[g].rO?(i[g].rO++,i[g].status="init",Qe(k,b,c,e,f)):i[g]=s},4E3)} function Pe(a){if(a.ny){var b=a.P;a.ny.style.left=-b.offsetX+"px";a.ny.style.top=-b.offsetY+"px";var c=new R("updateindoorlabel");c.labelCanvasDom=b.hT;b.dispatchEvent(c);if(b.M.Gk){a.xm();var c=a.Id,e=b.la(),f=c.Bp(b.la());a.Jw.mD.oL(a.Os,a.fb.zE,a.Tp,c.me(e),Math.pow(2,e-f),e);"moving"!==a.p1&&b.dispatchEvent(new R("ontilesloaded"))}}}fa.xm=function(){var a=this.P.wb(),b=this.Lc;this.Tp.clearRect(0,0,a.width*b,a.height*b)};fa.remove=function(){var a=this.P.gf;this.Qo&&a.og.removeChild(this.Qo)};function Xd(a){this.P=a.map;this.lf=[];this.qs={};this.kO=this.P.M.devicePixelRatio;this.mD=new Me(this.P);this.za()}window.VectorIndoorTileMgr="VectorIndoorTileMgr";fa=Xd.prototype; fa.za=function(){var a=this,b=this.P;b.addEventListener("addtilelayer",function(b){a.Ue(b.target)});b.addEventListener("removetilelayer",function(b){a.gg(b.target)});setTimeout(function(){b.addEventListener("onmoveend",function(b){"centerAndZoom"!==b.nA&&a.update({Gm:"moveend"})});b.addEventListener("onmoving",function(){a.update({Gm:"moving"})});b.addEventListener("onzoomend",function(b){"centerAndZoom"!==b.nA&&a.update({xm:q,Gm:"zoomend"})});b.addEventListener("centerandzoom",function(){a.update({xm:q, Gm:"centerandzoom"})});b.addEventListener("onupdatestyles",function(){a.update({xm:q,tG:q,Gm:"updatestyles"});a.P.Bf(a.P.Hb());setTimeout(function(){a.P.dispatchEvent(new R("onvectordrawend"))},10)});b.addEventListener("onmaptypechange",function(b){b.Wa===Ta&&a.update({xm:q,Gm:"maptypechange"})})},1);b.addEventListener("indoor_data_refresh",ba());b.addEventListener("onresize",function(){a.update({D0:q})});a.update()}; fa.Ue=function(a){if(a instanceof Yd){for(var b=0;b<this.lf.length;b++)if(this.lf[b]===a)return;this.lf.push(a);a.za();this.P.loaded&&this.update()}};fa.gg=function(a){if(a instanceof Yd){for(var b=0;b<this.lf.length;b++)if(this.lf[b]===a){this.lf.splice(b,1);break}a.remove()}}; fa.qM=function(a){var b=a.getName();if(this.qs[b])return this.qs[b];var c=this.P,e=c.la(),f=a.Bp(e),g=c.Jb,g=Ne.zC(g),i=a.iE(Math.floor(e)),a=a.SX(e);c.da.replace(/^TANGRAM_/,"");var e=Math.ceil(g.lng/i),g=Math.ceil(g.lat/i),k=0,m=0,n=c.UX(),n=Ne.YV(n,c.Jb);n.mf.lng>Ne.rg&&(c=Ne.iM(f),k=Math.ceil(c/a));n.pf.lng<Ne.hh&&(c=Ne.iM(f),m=Math.ceil(c/a));if(1.9505879362428114E7<n.mf.lat||-1.5949096637571886E7>n.pf.lat)n.mf.lat=1.9505879362428114E7,n.pf.lat=-1.5949096637571886E7;for(var c=[Math.floor(n.pf.lng/ i)-m,Math.floor(n.pf.lat/i)],o=[Math.floor(n.mf.lng/i)+k,Math.floor(n.mf.lat/i)],k=[],n=o[0]+1,m=c[1],o=o[1]+1,c=c[0];c<n;c++)if(Ne.ky(c,f,a)!==q)for(var p=m;p<o;p++)k.push([c,p,f,a]);k=Ne.AC(k,f,a,i);k.sort(function(a){return function(b,c){return 0.4*Math.abs(b[0]-a[0])+0.6*Math.abs(b[1]-a[1])-(0.4*Math.abs(c[0]-a[0])+0.6*Math.abs(c[1]-a[1]))}}([e,g]));this.qs[b]=k;return this.qs[b]};function Re(a){if(a.xG)return a.xG;a.xG={wG:"001",sG:ec("normal")};return a.xG} fa.update=function(a){this.qs={};for(var b=0;b<this.lf.length;b++){var c=this.lf[b],e=this.qM(c.Id);c.update(e,a)}};function Se(a,b,c){this.cd=a;this.lf=b instanceof Zd?[b]:b.slice(0);c=c||{};this.m={X0:c.tips||"",UE:"",kc:c.minZoom||4,qc:c.maxZoom||18,n5:c.minZoom||4,m5:c.maxZoom||18,Nu:256,iG:c.textColor||"black",GD:c.errorImageUrl||"",hb:new qb(new S(-21364736,-16023552),new S(23855104,19431424)),Dc:c.projection||new U};1<=this.lf.length&&(this.lf[0].$w=q);z.extend(this.m,c)} z.extend(Se.prototype,{getName:u("cd"),Dt:function(){return this.m.X0},H4:function(){return this.m.UE},KY:function(){return this.lf[0]},X4:u("lf"),me:function(){return this.m.Nu},uf:function(){return this.m.kc},Ze:function(){return this.m.qc},setMaxZoom:function(a){this.m.qc=a},Rm:function(){return this.m.iG},Bj:function(){return this.m.Dc},A4:function(){return this.m.GD},me:function(){return this.m.Nu},Wb:function(a){return Math.pow(2,18-a)},vM:function(a){return this.Wb(a)*this.me()},RF:function(a){this.Bj().BO(a)}}); var Te=[C.url.proto+C.url.domain.TILE_BASE_URLS[0],C.url.proto+C.url.domain.TILE_BASE_URLS[1],C.url.proto+C.url.domain.TILE_BASE_URLS[2],C.url.proto+C.url.domain.TILE_BASE_URLS[3]],Xe=[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/"],Ye={dark:"dl",light:"ll",normal:"pl"},Ze=new Zd;Ze.PO=q; Ze.getTilesUrl=function(a,b,c){var e=a.x,a=a.y,f=ec("normal"),g=1,c=Ye[c];this.map.ay()&&(g=2);e=this.map.gf.wm(e,b).Bg;return(Xe[Math.abs(e+a)%Xe.length]+"?qt=vtile&x="+(e+"").replace(/-/gi,"M")+"&y="+(a+"").replace(/-/gi,"M")+"&z="+b+"&styles="+c+"&scaler="+g+(6==z.ga.oa?"&color_dep=32&colors=50":"")+"&udt="+f+"&from=jsapi3_0").replace(/-(\d+)/gi,"M$1")};var Ta=new Se("\u5730\u56fe",Ze,{tips:"\u663e\u793a\u666e\u901a\u5730\u56fe",maxZoom:19}),$e=new Zd; $e.$O=[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/"];$e.getTilesUrl=function(a,b){var c=a.x,e=a.y,f=256*Math.pow(2,20-b),e=Math.round((9998336-f*e)/f)-1;return url=this.$O[Math.abs(c+e)%this.$O.length]+this.map.Qb+"/"+this.map.fx+"/3/lv"+(21-b)+"/"+c+","+e+".jpg"}; var Ya=new Se("\u4e09\u7ef4",$e,{tips:"\u663e\u793a\u4e09\u7ef4\u5730\u56fe",minZoom:15,maxZoom:20,textColor:"white",projection:new sb});Ya.Wb=function(a){return Math.pow(2,20-a)};Ya.Lk=function(a){if(!a)return"";var b=L.FC,c;for(c in b)if(-1<a.search(c))return b[c].Iy;return""};Ya.SL=function(a){return{bj:2,gz:1,sz:14,sh:4}[a]};var af=new Zd({$w:q}); af.getTilesUrl=function(a,b){var c=a.x,e=a.y;return(Te[Math.abs(c+e)%Te.length]+"u=x="+c+";y="+e+";z="+b+";v=009;type=sate&fm=46&udt="+ec("satellite")).replace(/-(\d+)/gi,"M$1")};var ab=new Se("\u536b\u661f",af,{tips:"\u663e\u793a\u536b\u661f\u5f71\u50cf",minZoom:4,maxZoom:19,textColor:"white"}),bf=new Zd({transparentPng:q}); bf.getTilesUrl=function(a,b){var c=a.x,e=a.y,f=ec("satelliteStreet");return(Xe[Math.abs(c+e)%Xe.length]+"?qt=vtile&x="+(c+"").replace(/-/gi,"M")+"&y="+(e+"").replace(/-/gi,"M")+"&z="+b+"&styles=sl"+(6==z.ga.oa?"&color_dep=32&colors=50":"")+"&udt="+f).replace(/-(\d+)/gi,"M$1")};var $a=new Se("\u6df7\u5408",[af,bf],{tips:"\u663e\u793a\u5e26\u6709\u8857\u9053\u7684\u536b\u661f\u5f71\u50cf",labelText:"\u8def\u7f51",minZoom:4,maxZoom:19,textColor:"white"});var cf=1,X={};window.V1=X;function Y(a,b){z.lang.Ja.call(this);this.rd={};this.wn(a);b=b||{};b.na=b.renderOptions||{};this.m={na:{Aa:b.na.panel||s,map:b.na.map||s,Ag:b.na.autoViewport||q,qu:b.na.selectFirstResult,Tm:b.na.highlightMode,jc:b.na.enableDragging||t},fu:b.onSearchComplete||ba(),PN:b.onMarkersSet||ba(),ON:b.onInfoHtmlSet||ba(),RN:b.onResultsHtmlSet||ba(),NN:b.onGetBusListComplete||ba(),MN:b.onGetBusLineComplete||ba(),KN:b.onBusListHtmlSet||ba(),JN:b.onBusLineHtmlSet||ba(),kF:b.onPolylinesSet||ba(),jq:b.reqFrom|| ""};this.m.na.Ag="undefined"!=typeof b&&"undefined"!=typeof b.renderOptions&&"undefined"!=typeof b.renderOptions.autoViewport?b.renderOptions.autoViewport:q;this.m.na.Aa=z.Ic(this.m.na.Aa)}z.xa(Y,z.lang.Ja); z.extend(Y.prototype,{getResults:function(){return this.Kc?this.Yi:this.ka},enableAutoViewport:function(){this.m.na.Ag=q},disableAutoViewport:function(){this.m.na.Ag=t},wn:function(a){a&&(this.rd.src=a)},xu:function(a){this.m.fu=a||ba()},setMarkersSetCallback:function(a){this.m.PN=a||ba()},setPolylinesSetCallback:function(a){this.m.kF=a||ba()},setInfoHtmlSetCallback:function(a){this.m.ON=a||ba()},setResultsHtmlSetCallback:function(a){this.m.RN=a||ba()},Pm:u("Se")});var df={dH:C.dd,lb:function(a,b,c,e,f){this.G_(b);var g=(1E5*Math.random()).toFixed(0);C._rd["_cbk"+g]=function(b){b.result&&b.result.error&&202===b.result.error?alert("\u8be5AK\u56e0\u4e3a\u6076\u610f\u884c\u4e3a\u5df2\u7ecf\u88ab\u7ba1\u7406\u5458\u5c01\u7981\uff01"):b.result&&b.result.error&&403===b.result.error?C.Yp!==s&&C.Yp.update("\u672a\u83b7\u5f97\u767e\u5ea6\u5730\u56fe\u5546\u7528\u6388\u6743\uff0c\u53ef\u80fd\u5bfc\u81f4\u90e8\u5206\u5730\u56fe\u8bf7\u6c42\u5931\u8d25\uff0c\u8bf7\u5237\u65b0\u540e\u91cd\u8bd5\u3002"): (c=c||{},a&&a(b,c),delete C._rd["_cbk"+g])};e=e||"";b=c&&c.u1?Sb(b,encodeURI):Sb(b,encodeURIComponent);this.dH=c&&c.zL?c.pO?c.pO:C.Xp:C.dd;e=this.dH+e+"?"+b+"&ie=utf-8&oue=1&fromproduct=jsapi";f||(e+="&res=api");window._BMapSecurityConfig||(e+="&ak="+ra);sa(e+("&callback=BMap._rd._cbk"+g))},G_:function(a){if(a.qt){var b="";switch(a.qt){case "bt":b="z_qt|bt";break;case "nav":b="z_qt|nav";break;case "walk":b="z_qt|walk";break;case "bse":b="z_qt|bse";break;case "nse":b="z_qt|nse";break;case "drag":b= "z_qt|drag"}""!==b&&C.alog("cus.fire","count",b)}}};window.k2=df;C._rd={};var lb={};window.j2=lb;lb.xF=function(a){a=a.replace(/<\/?[^>]*>/g,"");return a=a.replace(/[ | ]* /g," ")};lb.m_=function(a){return a.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;")};lb.n_=function(a,b){return a.replace(RegExp("(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);)(((-?\\d+)(\\.\\d+)?),((-?\\d+)(\\.\\d+)?);){"+b+"}","ig"),"$1")};var ef=2,ff=6,gf=8,hf=2,jf=3,kf=6,lf=0,mf="bt",nf="nav",of="walk",pf="bl",qf="bsl",rf="ride",sf=15,tf=18;C.I=window.Instance=z.lang.Uc;function uf(a,b,c){z.lang.Ja.call(this);if(a){this.$a="object"==typeof a?a:z.Ic(a);this.page=1;this.Qd=100;this.vK="pg";this.fg=4;this.GK=b;this.update=q;a={page:1,i7:100,Qd:100,fg:4,vK:"pg",update:q};c||(c=a);for(var e in c)"undefined"!=typeof c[e]&&(this[e]=c[e]);this.Ba()}} z.extend(uf.prototype,{Ba:function(){this.za()},za:function(){this.cW();this.$a.innerHTML=this.BW()},cW:function(){isNaN(parseInt(this.page))&&(this.page=1);isNaN(parseInt(this.Qd))&&(this.Qd=1);1>this.page&&(this.page=1);1>this.Qd&&(this.Qd=1);this.page>this.Qd&&(this.page=this.Qd);this.page=parseInt(this.page);this.Qd=parseInt(this.Qd)},O4:function(){location.search.match(RegExp("[?&]?"+this.vK+"=([^&]*)[&$]?","gi"));this.page=RegExp.$1},BW:function(){var a=[],b=this.page-1,c=this.page+1;a.push('<p style="margin:0;padding:0;white-space:nowrap">'); if(!(1>b)){if(this.page>=this.fg){var e;a.push('<span style="margin-right:3px"><a style="color:#7777cc" href="javascript:void(0)" onclick="{temp1}">\u9996\u9875</a></span>'.replace("{temp1}","BMap.I('"+this.da+"').toPage(1);"))}a.push('<span style="margin-right:3px"><a style="color:#7777cc" href="javascript:void(0)" onclick="{temp2}">\u4e0a\u4e00\u9875</a></span>'.replace("{temp2}","BMap.I('"+this.da+"').toPage("+b+");"))}if(this.page<this.fg)e=0==this.page%this.fg?this.page-this.fg-1:this.page-this.page% this.fg+1,b=e+this.fg-1;else{e=Math.floor(this.fg/2);var f=this.fg%2-1,b=this.Qd>this.page+e?this.page+e:this.Qd;e=this.page-e-f}this.page>this.Qd-this.fg&&this.page>=this.fg&&(e=this.Qd-this.fg+1,b=this.Qd);for(f=e;f<=b;f++)0<f&&(f==this.page?a.push('<span style="margin-right:3px">'+f+"</span>"):1<=f&&f<=this.Qd&&(e='<span><a style="color:#7777cc;margin-right:3px" href="javascript:void(0)" onclick="{temp3}">['+f+"]</a></span>",a.push(e.replace("{temp3}","BMap.I('"+this.da+"').toPage("+f+");")))); c>this.Qd||a.push('<span><a style="color:#7777cc" href="javascript:void(0)" onclick="{temp4}">\u4e0b\u4e00\u9875</a></span>'.replace("{temp4}","BMap.I('"+this.da+"').toPage("+c+");"));a.push("</p>");return a.join("")},toPage:function(a){a=a?a:1;"function"==typeof this.GK&&(this.GK(a),this.page=a);this.update&&this.Ba()}});function nb(a,b){Y.call(this,a,b);b=b||{};b.renderOptions=b.renderOptions||{};this.xn(b.pageCapacity);"undefined"!=typeof b.renderOptions.selectFirstResult&&!b.renderOptions.selectFirstResult?this.eD():this.yD();this.ua=[];this.Ff=[];this.La=-1;this.Qa=[];var c=this;bb.load("local",function(){c.Vz()},q)}z.xa(nb,Y,"LocalSearch");nb.Mq=10;nb.e2=1;nb.Sn=100;nb.SG=2E3;nb.aH=1E5; z.extend(nb.prototype,{search:function(a,b){this.Qa.push({method:"search",arguments:[a,b]})},tn:function(a,b,c){this.Qa.push({method:"searchInBounds",arguments:[a,b,c]})},pq:function(a,b,c,e){this.Qa.push({method:"searchNearby",arguments:[a,b,c,e]})},xe:function(){delete this.Ka;delete this.Se;delete this.ka;delete this.ra;this.La=-1;this.Xa();this.m.na.Aa&&(this.m.na.Aa.innerHTML="")},Sm:ba(),yD:function(){this.m.na.qu=q},eD:function(){this.m.na.qu=t},xn:function(a){this.m.Zk="number"==typeof a&& !isNaN(a)?1>a?nb.Mq:a>nb.Sn?nb.Mq:a:nb.Mq},$e:function(){return this.m.Zk},toString:ea("LocalSearch")});var vf=nb.prototype;V(vf,{clearResults:vf.xe,setPageCapacity:vf.xn,getPageCapacity:vf.$e,gotoPage:vf.Sm,searchNearby:vf.pq,searchInBounds:vf.tn,search:vf.search,enableFirstResultSelection:vf.yD,disableFirstResultSelection:vf.eD});function wf(a,b){Y.call(this,a,b)}z.xa(wf,Y,"BaseRoute");z.extend(wf.prototype,{xe:ba()});function xf(a,b){Y.call(this,a,b);b=b||{};this.yn(b.policy);this.NF(b.intercityPolicy);this.SF(b.transitTypePolicy);this.xn(b.pageCapacity);this.Eb=mf;this.Tn=cf;this.ua=[];this.La=-1;this.m.El=b.enableTraffic||t;this.Qa=[];var c=this;bb.load("route",function(){c.Ed()})}xf.Sn=100;xf.YP=[0,1,0,0,0,0,0,0,2,0,0,0,1,1,1];xf.ZP=[0,3,4,0,0,0,5];z.xa(xf,wf,"TransitRoute"); z.extend(xf.prototype,{yn:function(a){this.m.Rd=0<=a&&5>=a?a:0},NF:function(a){this.m.Xm=0<=a&&2>=a?a:0},SF:function(a){this.m.Dn=0<=a&&2>=a?a:0},VA:function(a,b){this.Qa.push({method:"_internalSearch",arguments:[a,b]})},search:function(a,b){this.Qa.push({method:"search",arguments:[a,b]})},xn:function(a){if("string"===typeof a&&(a=parseInt(a,10),isNaN(a))){this.m.Zk=xf.Sn;return}this.m.Zk="number"!==typeof a?xf.Sn:1<=a&&a<=xf.Sn?Math.round(a):xf.Sn},toString:ea("TransitRoute"),Z2:function(a){return a.replace(/\(.*\)/, "")}});var yf=xf.prototype;V(yf,{_internalSearch:yf.VA});function zf(a,b){Y.call(this,a,b);this.ua=[];this.La=-1;this.Qa=[];var c=this,e=this.m.na;1!==e.Tm&&2!==e.Tm&&(e.Tm=1);this.ko=this.m.na.jc?q:t;bb.load("route",function(){c.Ed()});this.gy&&this.gy()}zf.nQ=" \u73af\u5c9b \u65e0\u5c5e\u6027\u9053\u8def \u4e3b\u8def \u9ad8\u901f\u8fde\u63a5\u8def \u4ea4\u53c9\u70b9\u5185\u8def\u6bb5 \u8fde\u63a5\u9053\u8def \u505c\u8f66\u573a\u5185\u90e8\u9053\u8def \u670d\u52a1\u533a\u5185\u90e8\u9053\u8def \u6865 \u6b65\u884c\u8857 \u8f85\u8def \u531d\u9053 \u5168\u5c01\u95ed\u9053\u8def \u672a\u5b9a\u4e49\u4ea4\u901a\u533a\u57df POI\u8fde\u63a5\u8def \u96a7\u9053 \u6b65\u884c\u9053 \u516c\u4ea4\u4e13\u7528\u9053 \u63d0\u524d\u53f3\u8f6c\u9053".split(" "); z.xa(zf,wf,"DWRoute");z.extend(zf.prototype,{search:function(a,b,c){this.Qa.push({method:"search",arguments:[a,b,c]})}});function Af(a,b){zf.call(this,a,b);b=b||{};this.m.El=b.enableTraffic||t;this.yn(b.policy);this.Eb=nf;this.Tn=jf;Wa(Xa(4,1),["service","drive"])}z.xa(Af,zf,"DrivingRoute");Af.prototype.yn=function(a){this.m.Rd=0<=a&&11>=a?a:0};function Bf(a,b){zf.call(this,a,b);this.Eb=of;this.Tn=hf;this.ko=t;Wa(Xa(4,4),["service","walk"])}z.xa(Bf,zf,"WalkingRoute");function Cf(a,b){zf.call(this,a,b);b=b||{};this.m.El=b.enableTraffic||t;this.sT=b.renderOptions.lineType||0;this.Eb=nf;this.Tn=jf;Wa(Xa(4,2),["service","truck"])}z.xa(Cf,zf,"TruckRoute");Cf.prototype.yn=function(a){this.m.Rd=0<=a&&5>=a?a:0};function Df(a,b){zf.call(this,a,b);this.Eb=rf;this.Tn=kf;this.ko=t;Wa(Xa(4,3),["service","ride"])}z.xa(Df,zf,"RidingRoute");function Ef(a,b){z.lang.Ja.call(this);this.bg=[];this.al=[];this.m=b;this.Hj=a;this.map=this.m.na.map||s;this.xO=this.m.xO;this.Fb=s;this.Ek=0;this.eG="";this.tf=1;this.FD="";this.kq=[0,0,0,0,0,0,0];this.mN=[];this.Ms=[1,1,1,1,1,1,1];this.iP=[1,1,1,1,1,1,1];this.lq=[0,0,0,0,0,0,0];this.nn=[0,0,0,0,0,0,0];this.Kb=[{B:"",Jd:0,En:0,x:0,y:0,sa:-1},{B:"",Jd:0,En:0,x:0,y:0,sa:-1},{B:"",Jd:0,En:0,x:0,y:0,sa:-1},{B:"",Jd:0,En:0,x:0,y:0,sa:-1},{B:"",Jd:0,En:0,x:0,y:0,sa:-1},{B:"",Jd:0,En:0,x:0,y:0,sa:-1}, {B:"",Jd:0,En:0,x:0,y:0,sa:-1}];this.oi=-1;this.Pu=[];this.qG=[];bb.load("route",ba())}z.lang.xa(Ef,z.lang.Ja,"RouteAddr");var Ff=navigator.userAgent;/ipad|iphone|ipod|iph/i.test(Ff);var Gf=/android/i.test(Ff);function Hf(a){this.bf=a||{}}z.extend(Hf.prototype,{wO:function(a,b,c){var e=this;bb.load("route",function(){e.Ed(a,b,c)})}});function If(a){this.m={};z.extend(this.m,a);this.Qa=[];var b=this;bb.load("othersearch",function(){b.Ed()})}z.xa(If,z.lang.Ja,"Geocoder");z.extend(If.prototype,{Om:function(a,b,c){this.Qa.push({method:"getPoint",arguments:[a,b,c]})},Lm:function(a,b,c){this.Qa.push({method:"getLocation",arguments:[a,b,c]})},toString:ea("Geocoder")});var Jf=If.prototype;V(Jf,{getPoint:Jf.Om,getLocation:Jf.Lm});function Geolocation(a){a=a||{};this.M={timeout:a.timeout||1E4,maximumAge:a.maximumAge||6E5,enableHighAccuracy:a.enableHighAccuracy||t,Si:a.SDKLocation||t};this.ve=[];var b=this;bb.load("othersearch",function(){for(var a=0,e;e=b.ve[a];a++)b[e.method].apply(b,e.arguments)})} z.extend(Geolocation.prototype,{getCurrentPosition:function(a,b){this.ve.push({method:"getCurrentPosition",arguments:arguments})},getStatus:function(){return ef},enableSDKLocation:function(){M()&&(this.M.Si=q)},disableSDKLocation:function(){this.M.Si=t}});function Kf(a){a=a||{};a.na=a.renderOptions||{};this.m={na:{map:a.na.map||s}};this.Qa=[];var b=this;bb.load("othersearch",function(){b.Ed()})}z.xa(Kf,z.lang.Ja,"LocalCity");z.extend(Kf.prototype,{get:function(a){this.Qa.push({method:"get",arguments:[a]})},toString:ea("LocalCity")});function Lf(){this.Qa=[];var a=this;bb.load("othersearch",function(){a.Ed()})}z.xa(Lf,z.lang.Ja,"Boundary");z.extend(Lf.prototype,{get:function(a,b){this.Qa.push({method:"get",arguments:[a,b]})},toString:ea("Boundary")});function Mf(a,b){Y.call(this,a,b);this.kQ=pf;this.mQ=sf;this.jQ=qf;this.lQ=tf;this.Qa=[];Wa(Xa(4,5),["service","bus"]);var c=this;bb.load("buslinesearch",function(){c.Ed()})}Mf.Uv=L.ta+"iw_plus.gif";Mf.gT=L.ta+"iw_minus.gif";Mf.ZU=L.ta+"stop_icon.png";z.xa(Mf,Y); z.extend(Mf.prototype,{getBusList:function(a){this.Qa.push({method:"getBusList",arguments:[a]})},getBusLine:function(a){this.Qa.push({method:"getBusLine",arguments:[a]})},setGetBusListCompleteCallback:function(a){this.m.NN=a||ba()},setGetBusLineCompleteCallback:function(a){this.m.MN=a||ba()},setBusListHtmlSetCallback:function(a){this.m.KN=a||ba()},setBusLineHtmlSetCallback:function(a){this.m.JN=a||ba()},setPolylinesSetCallback:function(a){this.m.kF=a||ba()}});function Nf(a){Y.call(this,a);a=a||{};this.fb={input:a.input||s,wC:a.baseDom||s,types:a.types||[],fu:a.onSearchComplete||ba()};this.rd.src=a.location||"\u5168\u56fd";this.oj="";this.xg=s;this.yI="";this.fj();Za(Na);var b=this;bb.load("autocomplete",function(){b.Ed()})}z.xa(Nf,Y,"Autocomplete");z.extend(Nf.prototype,{fj:ba(),show:ba(),aa:ba(),TF:function(a){this.fb.types=a},wn:function(a){this.rd.src=a},search:ca("oj"),Vy:ca("yI"),xu:function(a){this.fb.fu=a}});var db;function Va(a,b){function c(){f.m.visible?("inter"===f.Pe&&eb()&&f.m.haveBreakId&&f.m.indoorExitControl===q?z.U.show(f.Fr):z.U.aa(f.Fr),this.xd&&this.m.closeControl&&this.Jf&&this.P&&this.P.Ta()===this.R?z.U.show(f.Jf):z.U.aa(f.Jf),this.m.forceCloseControl&&z.U.show(f.Jf),Wa(Xa(3,5),["layer","pano"])):(z.U.aa(f.Jf),z.U.aa(f.Fr))}this.R="string"==typeof a?z.fa(a):a;this.da=Of++;this.m={enableScrollWheelZoom:q,panoramaRenderer:Ua()?"javascript":"flash",swfSrc:C.xh("main_domain_nocdn","res/swf/")+"APILoader.swf", visible:q,indoorExitControl:q,indoorFloorControl:t,linksControl:q,clickOnRoad:q,navigationControl:q,closeControl:q,indoorSceneSwitchControl:q,albumsControl:t,albumsControlOptions:{},copyrightControlOptions:{},forceCloseControl:t,haveBreakId:t};var b=b||{},e;for(e in b)this.m[e]=b[e];b.closeControl===q&&(this.m.forceCloseControl=q);b.useWebGL===t&&Ua(t);this.Na={heading:0,pitch:0};this.so=[];this.Ob=this.ib=s;this.tk=this.Cr();this.ua=[];this.Sc=1;this.Pe=this.ET=this.$g="";this.Oe={};this.Vf=s;this.kh= [];this.Ur=[];"cvsRender"==this.tk||Ua()?(this.lk=90,this.nk=-90):"cssRender"==this.tk&&(this.lk=45,this.nk=-45);this.Xr=t;var f=this,g=(1E5*Math.random()).toFixed(0);C._rd=C._rd||{};C._rd["_cbk"+g]=function(a){if(!a||a.error===l||a.error!==0)cd("PANORAMA");else{this.tk==="flashRender"?bb.load("panoramaflash",function(){f.fj()},q):bb.load("panorama",function(){f.ob()},q);b.Ye=="api"?Za(Ia):Za(Ja)}delete C._rd["_cbk"+g]};this.to=function(){bd("PANORAMA","BMap._rd._cbk"+g);this.to=ba()};this.m.qT!== q&&(this.to(),C.Wq("cus.fire","count","z_loadpanoramacount"));this.kU(this.R);this.addEventListener("id_changed",function(){Za(Ha,{from:b.Ye})});this.zQ();this.addEventListener("indoorexit_options_changed",c);this.addEventListener("scene_type_changed",c);this.addEventListener("onclose_options_changed",c);this.addEventListener("onvisible_changed",c)}var Pf=4,Qf=1,Rf=5,Of=0;z.lang.xa(Va,z.lang.Ja,"Panorama"); z.extend(Va.prototype,{zQ:function(){var a=this,b=this.Jf=I("div");b.className="pano_close";b.style.cssText="z-index: 1201;display: none";b.title="\u9000\u51fa\u5168\u666f";b.onclick=function(){a.aa()};this.R.appendChild(b);var c=this.Fr=I("a");c.className="pano_pc_indoor_exit";c.style.cssText="z-index: 1201;display: none";c.innerHTML='<span style="float:right;margin-right:12px;">\u51fa\u53e3</span>';c.title="\u9000\u51fa\u5ba4\u5185\u666f";c.onclick=function(){a.wp()};this.R.appendChild(c);window.ActiveXObject&& !document.addEventListener&&(b.style.backgroundColor="rgb(37,37,37)",c.style.backgroundColor="rgb(37,37,37)")},wp:ba(),kU:function(a){var b,c;b=a.style;c=fb(a).position;"absolute"!=c&&"relative"!=c&&(b.position="relative",b.zIndex=0);if("absolute"===c||"relative"===c)if(a=fb(a).zIndex,!a||"auto"===a)b.zIndex=0},mY:u("so"),ac:u("ib"),NY:u("Ew"),NO:u("Ew"),ma:u("Ob"),Ma:u("Na"),la:u("Sc"),Gg:u("$g"),Q4:function(){return this.V2||[]},J4:u("ET"),Ct:u("Pe"),Zy:function(a){a!==this.Pe&&(this.Pe=a,this.dispatchEvent(new R("onscene_type_changed")))}, MO:function(a){a!==Rf&&(Rf=a)},HO:function(a){a!==Pf&&(Pf=a)},Gc:function(a,b,c){"object"===typeof b&&(c=b,b=l);a!=this.ib&&(this.Nl=this.ib,this.Ol=this.Ob,this.ib=a,this.Pe=b||"street",this.Ob=s,c&&c.pov&&this.zd(c.pov))},va:function(a){a.Vb(this.Ob)||(this.Nl=this.ib,this.Ol=this.Ob,this.Ob=a,this.ib=s)},zd:function(a){if(a){var a=this.Na.pitch,b=this.Na.heading,b=this.YC(b);a>this.lk?a=this.lk:a<this.nk&&(a=this.nk);this.Xr=q;this.Na.pitch=a;this.Na.heading=b}},t0:function(a,b){this.nk=0<=a?0: a;this.lk=0>=b?0:b},YC:function(a){return a-360*Math.floor(a/360)},Xc:function(a){a!=this.Sc&&(a>Pf&&(a=Pf),a<Qf&&(a=Qf),a!=this.Sc&&(this.Sc=a),"cssRender"===this.tk&&this.zd(this.Na))},PB:function(){if(this.P)for(var a=this.P.Ox(),b=0;b<a.length;b++)(a[b]instanceof Gd||a[b]instanceof Hd)&&a[b].point&&this.ua.push(a[b])},OF:ca("P"),wu:function(a){this.Vf=a||"none"},Mj:function(a){for(var b in a){if("object"==typeof a[b])for(var c in a[b])this.m[b][c]=a[b][c];else this.m[b]=a[b];a.closeControl=== q&&(this.m.forceCloseControl=q);a.closeControl===t&&(this.m.forceCloseControl=t);switch(b){case "linksControl":this.dispatchEvent(new R("onlinks_visible_changed"));break;case "clickOnRoad":this.dispatchEvent(new R("onclickonroad_changed"));break;case "navigationControl":this.dispatchEvent(new R("onnavigation_visible_changed"));break;case "indoorSceneSwitchControl":this.dispatchEvent(new R("onindoor_default_switch_mode_changed"));break;case "albumsControl":this.dispatchEvent(new R("onalbums_visible_changed")); break;case "albumsControlOptions":this.dispatchEvent(new R("onalbums_options_changed"));break;case "copyrightControlOptions":this.dispatchEvent(new R("oncopyright_options_changed"));break;case "closeControl":this.dispatchEvent(new R("onclose_options_changed"));break;case "indoorExitControl":this.dispatchEvent(new R("onindoorexit_options_changed"));break;case "indoorFloorControl":this.dispatchEvent(new R("onindoorfloor_options_changed"))}}},Uk:function(){this.Wl.style.visibility="hidden"},cz:function(){this.Wl.style.visibility= "visible"},tX:function(){this.m.enableScrollWheelZoom=q},VW:function(){this.m.enableScrollWheelZoom=t},show:function(){this.m.visible=q},aa:function(){this.m.visible=t},Cr:function(){return eb()&&!M()&&"javascript"!=this.m.panoramaRenderer?"flashRender":!M()&&ac()?"cvsRender":"cssRender"},Ra:function(a){this.Oe[a.sd]=a},Lb:function(a){delete this.Oe[a]},Tx:function(){return this.m.visible},vh:function(){return new O(this.R.clientWidth,this.R.clientHeight)},Ta:u("R"),PL:function(){var a=C.xh("baidumap", "?"),b=this.ac();if(b){var b={panotype:this.Ct(),heading:this.Ma().heading,pitch:this.Ma().pitch,pid:b,panoid:b,from:"api"},c;for(c in b)a+=c+"="+b[c]+"&"}return a.slice(0,-1)},Yx:function(){this.Mj({copyrightControlOptions:{logoVisible:t}})},XF:function(){this.Mj({copyrightControlOptions:{logoVisible:q}})},mC:function(a){function b(a,b){return function(){a.Ur.push({yN:b,xN:arguments})}}for(var c=a.getPanoMethodList(),e="",f=0,g=c.length;f<g;f++)e=c[f],this[e]=b(this,e);this.kh.push(a)},yF:function(a){for(var b= this.kh.length;b--;)this.kh[b]===a&&this.kh.splice(b,1)},MF:ba()});var Sf=Va.prototype; V(Sf,{setId:Sf.Gc,setPosition:Sf.va,setPov:Sf.zd,setZoom:Sf.Xc,setOptions:Sf.Mj,getId:Sf.ac,getPosition:Sf.ma,getPov:Sf.Ma,getZoom:Sf.la,getLinks:Sf.mY,getBaiduMapUrl:Sf.PL,hideMapLogo:Sf.Yx,showMapLogo:Sf.XF,enableDoubleClickZoom:Sf.X3,disableDoubleClickZoom:Sf.O3,enableScrollWheelZoom:Sf.tX,disableScrollWheelZoom:Sf.VW,show:Sf.show,hide:Sf.aa,addPlugin:Sf.mC,removePlugin:Sf.yF,getVisible:Sf.Tx,addOverlay:Sf.Ra,removeOverlay:Sf.Lb,getSceneType:Sf.Ct,setPanoramaPOIType:Sf.wu,exitInter:Sf.wp,setInteractiveState:Sf.MF}); V(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 Tf(){z.lang.Ja.call(this);this.sd="PanoramaOverlay_"+this.da;this.W=s;this.Va=q}z.lang.xa(Tf,z.lang.Ja,"PanoramaOverlayBase");z.extend(Tf.prototype,{M4:u("sd"),za:function(){aa("initialize\u65b9\u6cd5\u672a\u5b9e\u73b0")},remove:function(){aa("remove\u65b9\u6cd5\u672a\u5b9e\u73b0")},Uf:function(){aa("_setOverlayProperty\u65b9\u6cd5\u672a\u5b9e\u73b0")}});function Uf(a,b){Tf.call(this);var c={position:s,altitude:2,displayDistance:q},b=b||{},e;for(e in b)c[e]=b[e];this.Ob=c.position;this.Yj=a;this.Xq=c.altitude;this.MR=c.displayDistance;this.iG=c.color;this.DM=c.hoverColor;this.backgroundColor=c.backgroundColor;this.yK=c.backgroundHoverColor;this.borderColor=c.borderColor;this.CK=c.borderHoverColor;this.fontSize=c.fontSize;this.padding=c.padding;this.BE=c.imageUrl;this.size=c.size;this.Ee=c.image;this.width=c.width;this.height=c.height;this.eZ=c.imageData; this.borderWidth=c.borderWidth}z.lang.xa(Uf,Tf,"PanoramaLabel"); z.extend(Uf.prototype,{p4:u("borderWidth"),getImageData:u("eZ"),Rm:u("iG"),E4:u("DM"),l4:u("backgroundColor"),m4:u("yK"),n4:u("borderColor"),o4:u("CK"),C4:u("fontSize"),N4:u("padding"),F4:u("BE"),wb:u("size"),Ix:u("Ee"),va:function(a){this.Ob=a;this.Uf("position",a)},ma:u("Ob"),Qc:function(a){this.Yj=a;this.Uf("content",a)},Mk:u("Yj"),GF:function(a){this.Xq=a;this.Uf("altitude",a)},zp:u("Xq"),Ma:function(){var a=this.ma(),b=s,c=s;this.W&&(c=this.W.ma());if(a&&c)if(a.Vb(c))b=this.W.Ma();else{b={}; b.heading=Vf(a.lng-c.lng,a.lat-c.lat)||0;var a=b,c=this.zp(),e=this.no();a.pitch=Math.round(180*(Math.atan(c/e)/Math.PI))||0}return b},no:function(){var a=0,b,c;this.W&&(b=this.W.ma(),(c=this.ma())&&!c.Vb(b)&&(a=U.Nk(b,c)));return a},aa:function(){aa("hide\u65b9\u6cd5\u672a\u5b9e\u73b0")},show:function(){aa("show\u65b9\u6cd5\u672a\u5b9e\u73b0")},Uf:ba()});var Wf=Uf.prototype; V(Wf,{setPosition:Wf.va,getPosition:Wf.ma,setContent:Wf.Qc,getContent:Wf.Mk,setAltitude:Wf.GF,getAltitude:Wf.zp,getPov:Wf.Ma,show:Wf.show,hide:Wf.aa});function Xf(a,b){Tf.call(this);var c={icon:"",title:"",panoInfo:s,altitude:2},b=b||{},e;for(e in b)c[e]=b[e];this.Ob=a;this.vI=c.icon;this.TJ=c.title;this.Xq=c.altitude;this.WT=c.panoInfo;this.Na={heading:0,pitch:0}}z.lang.xa(Xf,Tf,"PanoramaMarker"); z.extend(Xf.prototype,{va:function(a){this.Ob=a;this.Uf("position",a)},ma:u("Ob"),Hc:function(a){this.TJ=a;this.Uf("title",a)},Ip:u("TJ"),Xb:function(a){this.vI=icon;this.Uf("icon",a)},Cp:u("vI"),GF:function(a){this.Xq=a;this.Uf("altitude",a)},zp:u("Xq"),kE:u("WT"),Ma:function(){var a=s;if(this.W){var a=this.W.ma(),b=this.ma(),a=Vf(b.lng-a.lng,b.lat-a.lat);isNaN(a)&&(a=0);a={heading:a,pitch:0}}else a=this.Na;return a},Uf:ba()});var Yf=Xf.prototype; V(Yf,{setPosition:Yf.va,getPosition:Yf.ma,setTitle:Yf.Hc,getTitle:Yf.Ip,setAltitude:Yf.GF,getAltitude:Yf.zp,getPanoInfo:Yf.kE,getIcon:Yf.Cp,setIcon:Yf.Xb,getPov:Yf.Ma});function Vf(a,b){var c=0;if(0!==a&&0!==b){var c=180*(Math.atan(a/b)/Math.PI),e=0;0<a&&0>b&&(e=90);0>a&&0>b&&(e=180);0>a&&0<b&&(e=270);c=(c+90)%90+e}else 0===a?c=0>b?180:0:0===b&&(c=0<a?90:270);return Math.round(c)} function Ua(a){if("boolean"===typeof Zf)return Zf;if(a===t||!window.WebGLRenderingContext)return Zf=t;if(z.platform.Vk){a=0;try{var b=s,c=navigator.userAgent.toLowerCase();0<c.indexOf("android")&&(b=(c.match(/android [\d._]+/gi)+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."),b=parseInt(b.split(".")[0],10));a=b}catch(e){console.error("\u83b7\u53d6\u5b89\u5353\u7248\u672c\u5931\u8d25 => "+e)}if(5>a)return Zf=t}c=document.createElement("canvas");a=s;try{a=c.getContext("webgl")}catch(f){Zf=t}return Zf= a===s?t:q}var Zf;function $f(){if("boolean"===typeof ag)return ag;ag=q;if(z.platform.QM)return q;var a=navigator.userAgent;return-1<a.indexOf("Chrome")||-1<a.indexOf("SAMSUNG-GT-I9508")?q:ag=t}var ag;function qd(a,b){this.W=a||s;var c=this;c.W&&c.ha();bb.load("pservice",function(){c.eR()});"api"==(b||{}).Ye?Za(Ka):Za(Ma);this.Dd={getPanoramaById:[],getPanoramaByLocation:[],getVisiblePOIs:[],getRecommendPanosById:[],getPanoramaVersions:[],checkPanoSupportByCityCode:[],getPanoramaByPOIId:[],getCopyrightProviders:[]}}C.$k(function(a){"flashRender"!==a.Cr()&&new qd(a,{Ye:"api"})}); z.extend(qd.prototype,{ha:function(){function a(a){if(a){if(a.id!=b.Ew){b.NO(a.id);b.ia=a;$f()||b.dispatchEvent(new R("onthumbnail_complete"));b.ib!=s&&(b.Ol=b._position);for(var c in a)if(a.hasOwnProperty(c))switch(b["_"+c]=a[c],c){case "position":b.Ob=a[c];break;case "id":b.ib=a[c];break;case "links":b.so=a[c];break;case "zoom":b.Sc=a[c]}if(b.Ol){var g=b.Ol,i=b._position;c=g.lat;var k=i.lat,m=bc(k-c),g=bc(i.lng-g.lng);c=Math.sin(m/2)*Math.sin(m/2)+Math.cos(bc(c))*Math.cos(bc(k))*Math.sin(g/2)*Math.sin(g/ 2);b.OH=6371E3*2*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))}c=new R("ondataload");b.show();c.data=a;b.dispatchEvent(c);b.dispatchEvent(new R("onposition_changed"));b.dispatchEvent(new R("onlinks_changed"));b.dispatchEvent(new R("oncopyright_changed"),{copyright:a.copyright});a.um?(b.Mj({haveBreakId:q}),eb()&&b.m.closeControl&&z.U.show(b.Fr)):z.U.aa(b.Fr)}}else b.ib=b.Nl,b.Ob=b.Ol,b.dispatchEvent(new R("onnoresult"))}var b=this.W,c=this;b.addEventListener("id_changed",function(){C.oz("y");c.Gp(b.ac(), a)});b.addEventListener("iid_changed",function(){C.oz("y");c.wg(qd.xl+"qt=idata&iid="+b.LA+"&fn=",function(b){if(b&&b.result&&0==b.result.error){var b=b.content[0].interinfo,f={};f.um=b.BreakID;for(var g=b.Defaultfloor,i=s,k=0;k<b.Floors.length;k++)if(b.Floors[k].Floor==g){i=b.Floors[k];break}f.id=i.StartID||i.Points[0].PID;c.Gp(f.id,a,f)}},q)});b.addEventListener("position_changed_inner",function(){C.oz("y");c.Aj(b.ma(),a)})},Gp:function(a,b){this.Dd.getPanoramaById.push(arguments)},Aj:function(a, b,c){this.Dd.getPanoramaByLocation.push(arguments)},vE:function(a,b,c,e){this.Dd.getVisiblePOIs.push(arguments)},Rx:function(a,b){this.Dd.getRecommendPanosById.push(arguments)},Qx:function(a){this.Dd.getPanoramaVersions.push(arguments)},DC:function(a,b){this.Dd.checkPanoSupportByCityCode.push(arguments)},Px:function(a,b){this.Dd.getPanoramaByPOIId.push(arguments)},TL:function(a){this.Dd.getCopyrightProviders.push(arguments)}});var cg=qd.prototype; V(cg,{getPanoramaById:cg.Gp,getPanoramaByLocation:cg.Aj,getPanoramaByPOIId:cg.Px});function pd(a){Zd.call(this);"api"==(a||{}).Ye?Za(Fa):Za(Ga)}pd.iH=C.xh("pano","");pd.prototype=new Zd;pd.prototype.getTilesUrl=function(a,b){var c=pd.iH[(a.x+a.y)%pd.iH.length]+"?udt=20150114&qt=tile&styles=pl&x="+a.x+"&y="+a.y+"&z="+b;z.ga.oa&&6>=z.ga.oa&&(c+="&color_dep=32");var e=Yb(c);e?(e=ed(e.path,{Qp:t}),c+="&"+e):c=s;return c};pd.prototype.Ut=ea(q);dg.ce=new U;function dg(){}z.extend(dg,{WW:function(a,b,c){c=z.lang.Uc(c);b={data:b};"position_changed"==a&&(b.data=dg.ce.Kj(new T(b.data.mercatorX,b.data.mercatorY)));c.dispatchEvent(new R("on"+a),b)}});var eg=dg;V(eg,{dispatchFlashEvent:eg.WW});var fg={aQ:50};fg.hv=C.xh("pano")[0];fg.fv={width:220,height:60}; z.extend(fg,{MM:function(a,b,c,e){if(!b||!c||!c.lngLat||!c.panoInstance)e();else{this.Ao===l&&(this.Ao=new qd(s,{Ye:"api"}));var f=this;this.Ao.DC(b,function(b){b?f.Ao.Aj(c.lngLat,fg.aQ,function(b){if(b&&b.id){var g=b.id,m=b.Fh,b=b.Gh,n=qd.ce.Lg(c.lngLat),o=f.JS(n,{x:m,y:b}),m=f.dM(g,o,0,fg.fv.width,fg.fv.height);a.content=f.KS(a.content,m,c.titleTip,c.beforeDomId);a.addEventListener("open",function(){ka.V(z.Ic("infoWndPano"),"click",function(){c.panoInstance.Gc(g);c.panoInstance.show();c.panoInstance.zd({heading:o, pitch:0})})})}e()}):e()})}},KS:function(a,b,c,e){var c=c||"",f;!e||!a.split(e)[0]?(e=a,a=""):(e=a.split(e)[0],f=e.lastIndexOf("<"),e=a.substring(0,f),a=a.substring(f));f=[];var g=fg.fv.width,i=fg.fv.height;f.push(e);f.push("<div id='infoWndPano' class='panoInfoBox' style='height:"+i+"px;width:"+g+"px; margin-top: -19px;'>");f.push("<img class='pano_thumnail_img' width='"+g+"' height='"+i+"' border='0' alt='"+c+"\u5916\u666f' title='"+c+"\u5916\u666f' src='"+b+"' onerror='Pano.PanoEntranceUtil.thumbnailNotFound(this, "+ g+", "+i+");' />");f.push("<div class='panoInfoBoxTitleBg' style='width:"+g+"px;'></div><a href='javascript:void(0)' class='panoInfoBoxTitleContent' >\u8fdb\u5165\u5168\u666f&gt;&gt;</a>");f.push("</div>");f.push(a);return f.join("")},JS:function(a,b){var c=90-180*Math.atan2(a.y-b.y,a.x-b.x)/Math.PI;0>c&&(c+=360);return c},dM:function(a,b,c,e,f){var g=fg.hv+"?qt=pr3d&fovy=75&quality=80&panoid={panoId}&heading={panoHeading}&pitch={panoPitch}&width={width}&height={height}",i={panoId:a,panoHeading:b|| 0,panoPitch:c||0,width:e,height:f},g=g.replace(/\{(.*?)\}/g,function(a,b){return i[b]});return(a=Yb(g))?(a=ed(a.path,{Qp:t}),g+("&"+a)):s}});var gg=document,hg=Math,ig=gg.createElement("div").style,jg;a:{for(var kg=["t","webkitT","MozT","msT","OT"],lg,mg=0,ng=kg.length;mg<ng;mg++)if(lg=kg[mg]+"ransform",lg in ig){jg=kg[mg].substr(0,kg[mg].length-1);break a}jg=t} var og=jg?"-"+jg.toLowerCase()+"-":"",qg=pg("transform"),rg=pg("transitionProperty"),sg=pg("transitionDuration"),tg=pg("transformOrigin"),ug=pg("transitionTimingFunction"),vg=pg("transitionDelay"),Gf=/android/gi.test(navigator.appVersion),wg=/iphone|ipad/gi.test(navigator.appVersion),xg=/hp-tablet/gi.test(navigator.appVersion),yg=pg("perspective")in ig,zg="ontouchstart"in window&&!xg,Ag=jg!==t,Bg=pg("transition")in ig,Cg="onorientationchange"in window?"orientationchange":"resize",Dg=zg?"touchstart": "mousedown",Eg=zg?"touchmove":"mousemove",Fg=zg?"touchend":"mouseup",Gg=zg?"touchcancel":"mouseup",Hg=jg===t?t:{"":"transitionend",webkit:"webkitTransitionEnd",Moz:"transitionend",O:"otransitionend",ms:"MSTransitionEnd"}[jg],Ig=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(a){return setTimeout(a,1)},Jg=window.cancelRequestAnimationFrame||window.D7||window.webkitCancelRequestAnimationFrame|| window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout,Kg=yg?" translateZ(0)":""; function Lg(a,b){var c=this,e;c.Nn="object"==typeof a?a:gg.getElementById(a);c.Nn.style.overflow="hidden";c.Sb=c.Nn.children[0];c.options={Mp:q,Fn:q,x:0,y:0,bp:q,RV:t,xy:q,YE:q,ol:q,Oi:t,b1:0,dx:t,Vx:q,vi:q,Pi:q,MD:Gf,Zx:wg,BX:wg&&yg,DF:"",zoom:t,sl:1,Hq:4,YW:2,GP:"scroll",Eu:t,fz:1,QN:s,IN:function(a){a.preventDefault()},TN:s,HN:s,SN:s,GN:s,By:s,UN:s,LN:s,cq:s,VN:s,bq:s};for(e in b)c.options[e]=b[e];c.x=c.options.x;c.y=c.options.y;c.options.ol=Ag&&c.options.ol;c.options.vi=c.options.Mp&&c.options.vi; c.options.Pi=c.options.Fn&&c.options.Pi;c.options.zoom=c.options.ol&&c.options.zoom;c.options.Oi=Bg&&c.options.Oi;c.options.zoom&&Gf&&(Kg="");c.Sb.style[rg]=c.options.ol?og+"transform":"top left";c.Sb.style[sg]="0";c.Sb.style[tg]="0 0";c.options.Oi&&(c.Sb.style[ug]="cubic-bezier(0.33,0.66,0.66,1)");c.options.ol?c.Sb.style[qg]="translate("+c.x+"px,"+c.y+"px)"+Kg:c.Sb.style.cssText+=";position:absolute;top:"+c.y+"px;left:"+c.x+"px";c.options.Oi&&(c.options.MD=q);c.refresh();c.ha(Cg,window);c.ha(Dg); !zg&&"none"!=c.options.GP&&(c.ha("DOMMouseScroll"),c.ha("mousewheel"));c.options.dx&&(c.bW=setInterval(function(){c.cR()},500));this.options.Vx&&(Event.prototype.stopImmediatePropagation||(document.body.removeEventListener=function(a,b,c){var e=Node.prototype.removeEventListener;a==="click"?e.call(document.body,a,b.CM||b,c):e.call(document.body,a,b,c)},document.body.addEventListener=function(a,b,c){var e=Node.prototype.addEventListener;a==="click"?e.call(document.body,a,b.CM||(b.CM=function(a){a.F_|| b(a)}),c):e.call(document.body,a,b,c)}),c.ha("click",document.body,q))} Lg.prototype={enabled:q,x:0,y:0,Nj:[],scale:1,TC:0,UC:0,cf:[],zf:[],vC:s,rz:0,handleEvent:function(a){switch(a.type){case Dg:if(!zg&&0!==a.button)break;this.xw(a);break;case Eg:this.GT(a);break;case Fg:case Gg:this.Dv(a);break;case Cg:this.IB();break;case "DOMMouseScroll":case "mousewheel":this.kV(a);break;case Hg:this.gV(a);break;case "click":this.mR(a)}},cR:function(){!this.Eh&&(!this.tl&&!(this.rm||this.Uy==this.Sb.offsetWidth*this.scale&&this.oq==this.Sb.offsetHeight*this.scale))&&this.refresh()}, nw:function(a){var b;this[a+"Scrollbar"]?(this[a+"ScrollbarWrapper"]||(b=gg.createElement("div"),this.options.DF?b.className=this.options.DF+a.toUpperCase():b.style.cssText="position:absolute;z-index:100;"+("h"==a?"height:7px;bottom:1px;left:2px;right:"+(this.Pi?"7":"2")+"px":"width:7px;bottom:"+(this.vi?"7":"2")+"px;top:2px;right:1px"),b.style.cssText+=";pointer-events:none;"+og+"transition-property:opacity;"+og+"transition-duration:"+(this.options.BX?"350ms":"0")+";overflow:hidden;opacity:"+(this.options.Zx? "0":"1"),this.Nn.appendChild(b),this[a+"ScrollbarWrapper"]=b,b=gg.createElement("div"),this.options.DF||(b.style.cssText="position:absolute;z-index:100;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);"+og+"background-clip:padding-box;"+og+"box-sizing:border-box;"+("h"==a?"height:100%":"width:100%")+";"+og+"border-radius:3px;border-radius:3px"),b.style.cssText+=";pointer-events:none;"+og+"transition-property:"+og+"transform;"+og+"transition-timing-function:cubic-bezier(0.33,0.66,0.66,1);"+ og+"transition-duration:0;"+og+"transform: translate(0,0)"+Kg,this.options.Oi&&(b.style.cssText+=";"+og+"transition-timing-function:cubic-bezier(0.33,0.66,0.66,1)"),this[a+"ScrollbarWrapper"].appendChild(b),this[a+"ScrollbarIndicator"]=b),"h"==a?(this.yM=this.zM.clientWidth,this.XY=hg.max(hg.round(this.yM*this.yM/this.Uy),8),this.WY.style.width=this.XY+"px"):(this.yP=this.zP.clientHeight,this.y1=hg.max(hg.round(this.yP*this.yP/this.oq),8),this.x1.style.height=this.y1+"px"),this.JB(a,q)):this[a+"ScrollbarWrapper"]&& (Ag&&(this[a+"ScrollbarIndicator"].style[qg]=""),this[a+"ScrollbarWrapper"].parentNode.removeChild(this[a+"ScrollbarWrapper"]),this[a+"ScrollbarWrapper"]=s,this[a+"ScrollbarIndicator"]=s)},IB:function(){var a=this;setTimeout(function(){a.refresh()},Gf?200:0)},Wr:function(a,b){this.tl||(a=this.Mp?a:0,b=this.Fn?b:0,this.options.ol?this.Sb.style[qg]="translate("+a+"px,"+b+"px) scale("+this.scale+")"+Kg:(a=hg.round(a),b=hg.round(b),this.Sb.style.left=a+"px",this.Sb.style.top=b+"px"),this.x=a,this.y=b, this.JB("h"),this.JB("v"))},JB:function(a,b){var c="h"==a?this.x:this.y;this[a+"Scrollbar"]&&(c*=this[a+"ScrollbarProp"],0>c?(this.options.MD||(c=this[a+"ScrollbarIndicatorSize"]+hg.round(3*c),8>c&&(c=8),this[a+"ScrollbarIndicator"].style["h"==a?"width":"height"]=c+"px"),c=0):c>this[a+"ScrollbarMaxScroll"]&&(this.options.MD?c=this[a+"ScrollbarMaxScroll"]:(c=this[a+"ScrollbarIndicatorSize"]-hg.round(3*(c-this[a+"ScrollbarMaxScroll"])),8>c&&(c=8),this[a+"ScrollbarIndicator"].style["h"==a?"width":"height"]= c+"px",c=this[a+"ScrollbarMaxScroll"]+(this[a+"ScrollbarIndicatorSize"]-c))),this[a+"ScrollbarWrapper"].style[vg]="0",this[a+"ScrollbarWrapper"].style.opacity=b&&this.options.Zx?"0":"1",this[a+"ScrollbarIndicator"].style[qg]="translate("+("h"==a?c+"px,0)":"0,"+c+"px)")+Kg)},mR:function(a){if(a.eS===q)return this.iC=a.target,this.Ax=Date.now(),q;if(this.iC&&this.Ax){if(600<Date.now()-this.Ax)return this.Ax=this.iC=s,q}else{for(var b=a.target;b!=this.Sb&&b!=document.body;)b=b.parentNode;if(b==document.body)return q}for(b= a.target;1!=b.nodeType;)b=b.parentNode;b=b.tagName.toLowerCase();if("select"!=b&&"input"!=b&&"textarea"!=b)return a.stopImmediatePropagation?a.stopImmediatePropagation():a.F_=q,a.stopPropagation(),a.preventDefault(),this.Ax=this.iC=s,t},xw:function(a){var b=zg?a.touches[0]:a,c,e;if(this.enabled){this.options.IN&&this.options.IN.call(this,a);(this.options.Oi||this.options.zoom)&&this.XJ(0);this.tl=this.rm=this.Eh=t;this.cD=this.bD=this.Pw=this.Ow=this.hD=this.gD=0;this.options.zoom&&(zg&&1<a.touches.length)&& (e=hg.abs(a.touches[0].pageX-a.touches[1].pageX),c=hg.abs(a.touches[0].pageY-a.touches[1].pageY),this.d1=hg.sqrt(e*e+c*c),this.Dy=hg.abs(a.touches[0].pageX+a.touches[1].pageX-2*this.BG)/2-this.x,this.Ey=hg.abs(a.touches[0].pageY+a.touches[1].pageY-2*this.CG)/2-this.y,this.options.cq&&this.options.cq.call(this,a));if(this.options.xy&&(this.options.ol?(c=getComputedStyle(this.Sb,s)[qg].replace(/[^0-9\-.,]/g,"").split(","),e=+(c[12]||c[4]),c=+(c[13]||c[5])):(e=+getComputedStyle(this.Sb,s).left.replace(/[^0-9-]/g, ""),c=+getComputedStyle(this.Sb,s).top.replace(/[^0-9-]/g,"")),e!=this.x||c!=this.y))this.options.Oi?this.ge(Hg):Jg(this.vC),this.Nj=[],this.Wr(e,c),this.options.By&&this.options.By.call(this);this.Qw=this.x;this.Rw=this.y;this.Iu=this.x;this.Ju=this.y;this.Fh=b.pageX;this.Gh=b.pageY;this.startTime=a.timeStamp||Date.now();this.options.TN&&this.options.TN.call(this,a);this.ha(Eg,window);this.ha(Fg,window);this.ha(Gg,window)}},GT:function(a){var b=zg?a.touches[0]:a,c=b.pageX-this.Fh,e=b.pageY-this.Gh, f=this.x+c,g=this.y+e,i=a.timeStamp||Date.now();this.options.HN&&this.options.HN.call(this,a);if(this.options.zoom&&zg&&1<a.touches.length)f=hg.abs(a.touches[0].pageX-a.touches[1].pageX),g=hg.abs(a.touches[0].pageY-a.touches[1].pageY),this.c1=hg.sqrt(f*f+g*g),this.tl=q,b=1/this.d1*this.c1*this.scale,b<this.options.sl?b=0.5*this.options.sl*Math.pow(2,b/this.options.sl):b>this.options.Hq&&(b=2*this.options.Hq*Math.pow(0.5,this.options.Hq/b)),this.Up=b/this.scale,f=this.Dy-this.Dy*this.Up+this.x,g=this.Ey- this.Ey*this.Up+this.y,this.Sb.style[qg]="translate("+f+"px,"+g+"px) scale("+b+")"+Kg,this.options.VN&&this.options.VN.call(this,a);else{this.Fh=b.pageX;this.Gh=b.pageY;if(0<f||f<this.re)f=this.options.bp?this.x+c/2:0<=f||0<=this.re?0:this.re;if(g>this.xf||g<this.yd)g=this.options.bp?this.y+e/2:g>=this.xf||0<=this.yd?this.xf:this.yd;this.gD+=c;this.hD+=e;this.Ow=hg.abs(this.gD);this.Pw=hg.abs(this.hD);6>this.Ow&&6>this.Pw||(this.options.YE&&(this.Ow>this.Pw+5?(g=this.y,e=0):this.Pw>this.Ow+5&&(f= this.x,c=0)),this.Eh=q,this.Wr(f,g),this.bD=0<c?-1:0>c?1:0,this.cD=0<e?-1:0>e?1:0,300<i-this.startTime&&(this.startTime=i,this.Iu=this.x,this.Ju=this.y),this.options.SN&&this.options.SN.call(this,a))}},Dv:function(a){if(!(zg&&0!==a.touches.length)){var b=this,c=zg?a.changedTouches[0]:a,e,f,g={Ia:0,time:0},i={Ia:0,time:0},k=(a.timeStamp||Date.now())-b.startTime;e=b.x;f=b.y;b.ge(Eg,window);b.ge(Fg,window);b.ge(Gg,window);b.options.GN&&b.options.GN.call(b,a);if(b.tl)e=b.scale*b.Up,e=Math.max(b.options.sl, e),e=Math.min(b.options.Hq,e),b.Up=e/b.scale,b.scale=e,b.x=b.Dy-b.Dy*b.Up+b.x,b.y=b.Ey-b.Ey*b.Up+b.y,b.Sb.style[sg]="200ms",b.Sb.style[qg]="translate("+b.x+"px,"+b.y+"px) scale("+b.scale+")"+Kg,b.tl=t,b.refresh(),b.options.bq&&b.options.bq.call(b,a);else{if(b.Eh){if(300>k&&b.options.xy){g=e?b.MI(e-b.Iu,k,-b.x,b.Uy-b.Yu+b.x,b.options.bp?b.Yu:0):g;i=f?b.MI(f-b.Ju,k,-b.y,0>b.yd?b.oq-b.On+b.y-b.xf:0,b.options.bp?b.On:0):i;e=b.x+g.Ia;f=b.y+i.Ia;if(0<b.x&&0<e||b.x<b.re&&e<b.re)g={Ia:0,time:0};if(b.y>b.xf&& f>b.xf||b.y<b.yd&&f<b.yd)i={Ia:0,time:0}}g.Ia||i.Ia?(c=hg.max(hg.max(g.time,i.time),10),b.options.Eu&&(g=e-b.Qw,i=f-b.Rw,hg.abs(g)<b.options.fz&&hg.abs(i)<b.options.fz?b.scrollTo(b.Qw,b.Rw,200):(g=b.KJ(e,f),e=g.x,f=g.y,c=hg.max(g.time,c))),b.scrollTo(hg.round(e),hg.round(f),c)):b.options.Eu?(g=e-b.Qw,i=f-b.Rw,hg.abs(g)<b.options.fz&&hg.abs(i)<b.options.fz?b.scrollTo(b.Qw,b.Rw,200):(g=b.KJ(b.x,b.y),(g.x!=b.x||g.y!=b.y)&&b.scrollTo(g.x,g.y,g.time))):b.Do(200)}else{if(zg)if(b.hL&&b.options.zoom)clearTimeout(b.hL), b.hL=s,b.options.cq&&b.options.cq.call(b,a),b.zoom(b.Fh,b.Gh,1==b.scale?b.options.YW:1),b.options.bq&&setTimeout(function(){b.options.bq.call(b,a)},200);else if(this.options.Vx){for(e=c.target;1!=e.nodeType;)e=e.parentNode;f=e.tagName.toLowerCase();"select"!=f&&"input"!=f&&"textarea"!=f?(f=gg.createEvent("MouseEvents"),f.initMouseEvent("click",q,q,a.view,1,c.screenX,c.screenY,c.clientX,c.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,0,s),f.eS=q,e.dispatchEvent(f)):e.focus()}b.Do(400)}b.options.UN&& b.options.UN.call(b,a)}}},Do:function(a){var b=0<=this.x?0:this.x<this.re?this.re:this.x,c=this.y>=this.xf||0<this.yd?this.xf:this.y<this.yd?this.yd:this.y;if(b==this.x&&c==this.y){if(this.Eh&&(this.Eh=t,this.options.By&&this.options.By.call(this)),this.vi&&this.options.Zx&&("webkit"==jg&&(this.zM.style[vg]="300ms"),this.zM.style.opacity="0"),this.Pi&&this.options.Zx)"webkit"==jg&&(this.zP.style[vg]="300ms"),this.zP.style.opacity="0"}else this.scrollTo(b,c,a||0)},kV:function(a){var b=this,c,e;if("wheelDeltaX"in a)c=a.wheelDeltaX/12,e=a.wheelDeltaY/12;else if("wheelDelta"in a)c=e=a.wheelDelta/12;else if("detail"in a)c=e=3*-a.detail;else return;if("zoom"==b.options.GP){if(e=b.scale*Math.pow(2,1/3*(e?e/Math.abs(e):0)),e<b.options.sl&&(e=b.options.sl),e>b.options.Hq&&(e=b.options.Hq),e!=b.scale)!b.rz&&b.options.cq&&b.options.cq.call(b,a),b.rz++,b.zoom(a.pageX,a.pageY,e,400),setTimeout(function(){b.rz--;!b.rz&&b.options.bq&&b.options.bq.call(b,a)},400)}else c=b.x+c,e=b.y+e,0<c?c=0:c<b.re&&(c=b.re),e>b.xf?e=b.xf: e<b.yd&&(e=b.yd),0>b.yd&&b.scrollTo(c,e,0)},gV:function(a){a.target==this.Sb&&(this.ge(Hg),this.VB())},VB:function(){var a=this,b=a.x,c=a.y,e=Date.now(),f,g,i;a.rm||(a.Nj.length?(f=a.Nj.shift(),f.x==b&&f.y==c&&(f.time=0),a.rm=q,a.Eh=q,a.options.Oi)?(a.XJ(f.time),a.Wr(f.x,f.y),a.rm=t,f.time?a.ha(Hg):a.Do(0)):(i=function(){var k=Date.now(),m;if(k>=e+f.time){a.Wr(f.x,f.y);a.rm=t;a.options.e_&&a.options.e_.call(a);a.VB()}else{k=(k-e)/f.time-1;g=hg.sqrt(1-k*k);k=(f.x-b)*g+b;m=(f.y-c)*g+c;a.Wr(k,m);if(a.rm)a.vC= Ig(i)}},i()):a.Do(400))},XJ:function(a){a+="ms";this.Sb.style[sg]=a;this.vi&&(this.WY.style[sg]=a);this.Pi&&(this.x1.style[sg]=a)},MI:function(a,b,c,e,f){var b=hg.abs(a)/b,g=b*b/0.0012;0<a&&g>c?(c+=f/(6/(6.0E-4*(g/b))),b=b*c/g,g=c):0>a&&g>e&&(e+=f/(6/(6.0E-4*(g/b))),b=b*e/g,g=e);return{Ia:g*(0>a?-1:1),time:hg.round(b/6.0E-4)}},pk:function(a){for(var b=-a.offsetLeft,c=-a.offsetTop;a=a.offsetParent;)b-=a.offsetLeft,c-=a.offsetTop;a!=this.Nn&&(b*=this.scale,c*=this.scale);return{left:b,top:c}},KJ:function(a, b){var c,e,f;f=this.cf.length-1;c=0;for(e=this.cf.length;c<e;c++)if(a>=this.cf[c]){f=c;break}f==this.TC&&(0<f&&0>this.bD)&&f--;a=this.cf[f];e=(e=hg.abs(a-this.cf[this.TC]))?500*(hg.abs(this.x-a)/e):0;this.TC=f;f=this.zf.length-1;for(c=0;c<f;c++)if(b>=this.zf[c]){f=c;break}f==this.UC&&(0<f&&0>this.cD)&&f--;b=this.zf[f];c=(c=hg.abs(b-this.zf[this.UC]))?500*(hg.abs(this.y-b)/c):0;this.UC=f;f=hg.round(hg.max(e,c))||200;return{x:a,y:b,time:f}},ha:function(a,b,c){(b||this.Sb).addEventListener(a,this,!!c)}, ge:function(a,b,c){(b||this.Sb).removeEventListener(a,this,!!c)},$C:ia(1),refresh:function(){var a,b,c,e=0;b=0;this.scale<this.options.sl&&(this.scale=this.options.sl);this.Yu=this.Nn.clientWidth||1;this.On=this.Nn.clientHeight||1;this.xf=-this.options.b1||0;this.Uy=hg.round(this.Sb.offsetWidth*this.scale);this.oq=hg.round((this.Sb.offsetHeight+this.xf)*this.scale);this.re=this.Yu-this.Uy;this.yd=this.On-this.oq+this.xf;this.cD=this.bD=0;this.options.QN&&this.options.QN.call(this);this.Mp=this.options.Mp&& 0>this.re;this.Fn=this.options.Fn&&(!this.options.RV&&!this.Mp||this.oq>this.On);this.vi=this.Mp&&this.options.vi;this.Pi=this.Fn&&this.options.Pi&&this.oq>this.On;a=this.pk(this.Nn);this.BG=-a.left;this.CG=-a.top;if("string"==typeof this.options.Eu){this.cf=[];this.zf=[];c=this.Sb.querySelectorAll(this.options.Eu);a=0;for(b=c.length;a<b;a++)e=this.pk(c[a]),e.left+=this.BG,e.top+=this.CG,this.cf[a]=e.left<this.re?this.re:e.left*this.scale,this.zf[a]=e.top<this.yd?this.yd:e.top*this.scale}else if(this.options.Eu){for(this.cf= [];e>=this.re;)this.cf[b]=e,e-=this.Yu,b++;this.re%this.Yu&&(this.cf[this.cf.length]=this.re-this.cf[this.cf.length-1]+this.cf[this.cf.length-1]);b=e=0;for(this.zf=[];e>=this.yd;)this.zf[b]=e,e-=this.On,b++;this.yd%this.On&&(this.zf[this.zf.length]=this.yd-this.zf[this.zf.length-1]+this.zf[this.zf.length-1])}this.nw("h");this.nw("v");this.tl||(this.Sb.style[sg]="0",this.Do(400))},scrollTo:function(a,b,c,e){var f=a;this.stop();f.length||(f=[{x:a,y:b,time:c,H_:e}]);a=0;for(b=f.length;a<b;a++)f[a].H_&& (f[a].x=this.x-f[a].x,f[a].y=this.y-f[a].y),this.Nj.push({x:f[a].x,y:f[a].y,time:f[a].time||0});this.VB()},disable:function(){this.stop();this.Do(0);this.enabled=t;this.ge(Eg,window);this.ge(Fg,window);this.ge(Gg,window)},enable:function(){this.enabled=q},stop:function(){this.options.Oi?this.ge(Hg):Jg(this.vC);this.Nj=[];this.rm=this.Eh=t},zoom:function(a,b,c,e){var f=c/this.scale;this.options.ol&&(this.tl=q,e=e===l?200:e,a=a-this.BG-this.x,b=b-this.CG-this.y,this.x=a-a*f+this.x,this.y=b-b*f+this.y, this.scale=c,this.refresh(),this.x=0<this.x?0:this.x<this.re?this.re:this.x,this.y=this.y>this.xf?this.xf:this.y<this.yd?this.yd:this.y,this.Sb.style[sg]=e+"ms",this.Sb.style[qg]="translate("+this.x+"px,"+this.y+"px) scale("+c+")"+Kg,this.tl=t)}};function pg(a){if(""===jg)return a;a=a.charAt(0).toUpperCase()+a.substr(1);return jg+a}ig=s;function Mg(a){this.m={anchor:jd,offset:new O(0,0),maxWidth:"100%",imageHeight:80};var a=a||{},b;for(b in a)this.m[b]=a[b];this.gm=new qd(s,{Ye:"api"});this.rk=[];this.W=s;this.ng={height:this.m.imageHeight,width:this.m.imageHeight*Ng};this.Yc=this.KB=this.um=this.gd=s}var Og=[0,1,2,2,2,2,2,2,2,3,3,3,3,4,5,5,5,6,6,7,8,8,8,9,10],Pg="\u5176\u4ed6 \u6b63\u95e8 \u623f\u578b \u8bbe\u65bd \u6b63\u95e8 \u9910\u996e\u8bbe\u65bd \u5176\u4ed6\u8bbe\u65bd \u6b63\u95e8 \u8bbe\u65bd \u89c2\u5f71\u5385 \u5176\u4ed6\u8bbe\u65bd".split(" "); C.$k(function(a){var b=s;a.addEventListener("position_changed",function(){a.m.visible&&a.m.albumsControl===q&&(b?b.Qy(a.ac()):(b=new Mg(a.m.albumsControlOptions),b.za(a)))});a.addEventListener("albums_visible_changed",function(){a.m.albumsControl===q?(b?b.Qy(a.ac()):(b=new Mg(a.m.albumsControlOptions),b.za(a)),b.show()):b.aa()});a.addEventListener("albums_options_changed",function(){b&&b.Mj(a.m.albumsControlOptions)});a.addEventListener("visible_changed",function(){b&&(a.Tx()?a.m.albumsControl=== q&&(b.R.style.visibility="visible"):b.R.style.visibility="hidden")})});var Ng=1.8;M()&&(Ng=1); z.extend(Mg.prototype,{Mj:function(a){for(var b in a)this.m[b]=a[b];a=this.m.imageHeight+"px";this.wc(this.m.anchor);this.R.style.width=isNaN(Number(this.m.maxWidth))===q?this.m.maxWidth:this.m.maxWidth+"px";this.R.style.height=a;this.vk.style.height=a;this.ci.style.height=a;this.ng={height:this.m.imageHeight,width:this.m.imageHeight*Ng};this.uk.style.height=this.ng.height-6+"px";this.uk.style.width=this.ng.width-6+"px";this.Qy(this.W.ac(),q)},za:function(a){this.W=a;this.Ls();this.LQ();this.lZ(); this.Qy(a.ac())},Ls:function(){var a=this.m.imageHeight+"px";this.R=I("div");var b=this.R.style;b.cssText="background:rgb(37,37,37);background:rgba(37,37,37,0.9);";b.position="absolute";b.zIndex="2000";b.width=isNaN(Number(this.m.maxWidth))===q?this.m.maxWidth:this.m.maxWidth+"px";b.padding="8px 0";b.visibility="hidden";b.height=a;this.vk=I("div");b=this.vk.style;b.position="absolute";b.overflow="hidden";b.width="100%";b.height=a;this.ci=I("div");b=this.ci.style;b.height=a;this.vk.appendChild(this.ci); this.R.appendChild(this.vk);this.W.R.appendChild(this.R);this.uk=I("div",{"class":"pano_photo_item_seleted"});this.uk.style.height=this.ng.height-6+"px";this.uk.style.width=this.ng.width-6+"px";this.wc(this.m.anchor)},gI:function(a){for(var b=this.rk,c=b.length-1;0<=c;c--)if(b[c].panoId==a)return c;return-1},Qy:function(a,b){if(b||!this.rk[this.gd]||!(this.rk[this.gd].panoId==a&&3!==this.rk[this.gd].recoType)){var c=this,e=this.gI(a);!b&&-1!==e&&this.rk[e]&&3!==this.rk[e].recoType?this.rq(e):this.BY(function(a){for(var b= {},e,k,m=t,n=[],o=0,p=a.length;o<p;o++)e=a[o].catlog,k=a[o].floor,l!==e&&(""===e&&l!==k?(m=q,b[k]||(b[k]=[]),b[k].push(a[o])):(b[Og[e]]||(b[Og[e]]=[]),b[Og[e]].push(a[o])));for(var v in b)m?n.push({data:v+"F",index:v}):n.push({data:Pg[v],index:v});c.DH=b;c.dj=n;c.kj(a);0==a.length?c.aa():c.show()})}},DW:function(){if(!this.$i){var a=this.pY(this.dj),b=I("div");b.style.cssText=["width:"+134*this.dj.length+"px;","overflow:hidden;-ms-user-select:none;-moz-user-select:none;-webkit-user-select:none;"].join(""); b.innerHTML=a;a=I("div");a.appendChild(b);a.style.cssText="position:absolute;top:-25px;background:rgb(37,37,37);background:rgba(37,37,37,0.9);border-bottom:1px solid #4e596a;width:100%;line-height:25px;height:25px;overflow:scroll;outline:0";new Lg(a,{bp:t,xy:q,vi:t,Pi:t,Fn:t,YE:q,dx:q,Vx:q});this.R.appendChild(a);for(var c=this,e=b.getElementsByTagName("span"),f=0,g=e.length;f<g;f++)b=e[f],z.V(b,"click",function(){if(this.getAttribute("dataindex")){c.kj(c.DH[this.getAttribute("dataindex")]);for(var a= 0,b=e.length;a<b;a++)e[a].style.color="#FFFFFF";this.style.color="#3383FF"}});this.$i=a}},zW:function(){if(this.$i)a=this.RL(this.dj),this.aR.innerHTML=a;else{var a=this.RL(this.dj),b=I("ul"),c=this;b.style.cssText="list-style: none;padding:0px;margin:0px;display:block;width:60px;position:absolute;top:7px";b.innerHTML=a;z.V(b,"click",function(a){if(a=(a.srcElement||a.target).getAttribute("dataindex")){c.kj(c.DH[a]);for(var e=b.getElementsByTagName("li"),f=0,g=e.length;f<g;f++)e[f].childNodes[0].getAttribute("dataindex")=== a?z.U.jb(e[f],"pano_catlogLiActive"):z.U.rc(e[f],"pano_catlogLiActive")}});var a=I("div"),e=I("a"),f=I("span"),g=I("a"),i=I("span"),k=["background:url("+L.ta+"panorama/catlog_icon.png) no-repeat;","display:block;width:10px;height:7px;margin:0 auto;"].join("");f.style.cssText=k+"background-position:-18px 0;";e.style.cssText="background:#1C1C1C;display:block;position:absolute;width:58px;";i.style.cssText=k+"background-position:0 0;";g.style.cssText="background:#1C1C1C;display:block;position:absolute;width:58px;"; g.style.top=this.m.imageHeight-7+"px";a.style.cssText="position:absolute;top:0px;left:0px;width:60px;";e.appendChild(f);g.appendChild(i);z.V(e,"mouseover",function(){var a=parseInt(b.style.top,10);7!==a&&(f.style.backgroundPosition="-27px 0");new Gb({Nc:60,fc:Hb.dt,duration:300,Ba:function(c){b.style.top=a+(7-a)*c+"px"}})});z.V(e,"mouseout",function(){f.style.backgroundPosition="-18px 0"});z.V(g,"mouseover",function(){var a=parseInt(b.style.top,10),e=c.m.imageHeight-14;if(!(parseInt(b.offsetHeight, 10)<e)){var f=e-parseInt(b.offsetHeight,10)+7;f!==a&&(i.style.backgroundPosition="-9px 0");new Gb({Nc:60,fc:Hb.dt,duration:300,Ba:function(c){b.style.top=a+(f-a)*c+"px"}})}});z.V(g,"mouseout",function(){i.style.backgroundPosition="0 0"});a.appendChild(e);a.appendChild(g);e=I("div");e.style.cssText=["position:absolute;z-index:2001;left:20px;","height:"+this.m.imageHeight+"px;","width:62px;overflow:hidden;background:rgb(37,37,37);background:rgba(37,37,37,0.9);"].join("");e.appendChild(b);e.appendChild(a); this.$i=e;this.aR=b;this.R.appendChild(e)}},AW:function(){if(this.dj&&!(0>=this.dj.length)){var a=I("div");a.innerHTML=this.oA;a.style.cssText="position:absolute;background:#252525";this.R.appendChild(a);this.ht=a;this.Yc.pg.style.left=this.ng.width+8+"px";this.$i&&(this.$i.style.left=parseInt(this.$i.style.left,10)+this.ng.width+8+"px");var b=this;z.V(a,"click",function(){b.W.Gc(b.xX)})}},kj:function(a){this.rk=a;this.m.showCatalog&&(0<this.dj.length?(eb()?this.zW():this.DW(),this.Yc.offsetLeft= 60):(this.ht&&(this.R.removeChild(this.ht),this.ht=s,this.Yc.pg.style.left="0px"),this.$i&&(this.R.removeChild(this.$i),this.$i=s),this.Yc.offsetLeft=0));var b=this.jY(a);eb()&&(this.dj&&0<this.dj.length&&this.m.showExit&&this.oA)&&(this.Yc.offsetLeft+=this.ng.width+8,this.ht?this.ht.innerHTML=this.oA:this.AW());this.ci.innerHTML=b;this.ci.style.width=(this.ng.width+8)*a.length+8+"px";a=this.R.offsetWidth;b=this.ci.offsetWidth;this.Yc.ot&&(b+=this.Yc.ot());b<a-2*this.Yc.Ti-this.Yc.offsetLeft?this.R.style.width= b+this.Yc.offsetLeft+"px":(this.R.style.width=isNaN(Number(this.m.maxWidth))===q?this.m.maxWidth:this.m.maxWidth+"px",b<this.R.offsetWidth-2*this.Yc.Ti-this.Yc.offsetLeft&&(this.R.style.width=b+this.Yc.offsetLeft+"px"));this.Yc.refresh();this.KB=this.ci.children;this.ci.appendChild(this.uk);this.uk.style.left="-100000px";a=this.gI(this.W.ac(),this.Y2);-1!==a&&this.rq(a)},pY:function(a){for(var b="",c,e=0,f=a.length;e<f;e++)c='<div style="color:white;opacity:0.5;margin:0 35px;float:left;text-align: center"><span  dataIndex="'+ a[e].index+'">'+a[e].data+"</span></div>",b+=c;return b},RL:function(a){for(var b="",c,e=0,f=a.length;e<f;e++)c='<li class="pano_catlogLi"><span style="display:block;width:100%;" dataIndex="'+a[e].index+'">'+a[e].data+"</span></li>",b+=c;return b},jY:function(a){for(var b,c,e,f,g=[],i=this.ng.height,k=this.ng.width,m=0;m<a.length;m++)b=a[m],recoType=b.recoType,e=b.panoId,f=b.name,c=b.heading,b=b.pitch,c=fg.dM(e,c,b,198,108),b='<a href="javascript:void(0);" class="pano_photo_item" data-index="'+m+ '"><img style="width:'+(k-2)+"px;height:"+(i-2)+'px;" data-index="'+m+'" name="'+f+'" src="'+c+'" alt="'+f+'"/><span class="pano_photo_decs" data-index="'+m+'" style="width:'+k+"px;font-size:"+Math.floor(i/6)+"px; line-height:"+Math.floor(i/6)+'px;"><em class="pano_poi_'+recoType+'"></em>'+f+"</span></a>",3===recoType?eb()?(this.oA=b,this.xX=e,a.splice(m,1),m--):(b='<a href="javascript:void(0);" class="pano_photo_item" data-index="'+m+'"><img style="width:'+(k-2)+"px;height:"+(i-2)+'px;" data-index="'+ m+'" name="'+f+'" src="'+c+'" alt="'+f+'"/><div style="background:rgba(37,37,37,0.5);position:absolute;top:0px;left:0px;width:100%;height:100%;text-align: center;line-height:'+this.m.imageHeight+'px;" data-index="'+m+'"><img src="'+L.ta+'panorama/photoexit.png" style="border:none;vertical-align:middle;" data-index="'+m+'" alt=""/></div></a>',g.push(b)):g.push(b);return g.join("")},BY:function(a){var b=this,c=this.W.ac();c&&this.gm.Rx(c,function(e){b.W.ac()===c&&a(e)})},wc:function(a){if(!hb(a)||isNaN(a)|| a<hd||3<a)a=this.defaultAnchor;var b=this.R,c=this.m.offset.width,e=this.m.offset.height;b.style.left=b.style.top=b.style.right=b.style.bottom="auto";switch(a){case hd:b.style.top=e+"px";b.style.left=c+"px";break;case id:b.style.top=e+"px";b.style.right=c+"px";break;case jd:b.style.bottom=e+"px";b.style.left=c+"px";break;case 3:b.style.bottom=e+"px",b.style.right=c+"px"}},LQ:function(){this.JQ()},JQ:function(){var a=this;z.V(this.R,"touchstart",function(a){a.stopPropagation()});z.V(this.vk,"click", function(b){if((b=(b.srcElement||b.target).getAttribute("data-index"))&&b!=a.gd)a.rq(b),a.W.Gc(a.rk[b].panoId)});z.V(this.ci,"mouseover",function(b){b=(b.srcElement||b.target).getAttribute("data-index");b!==s&&a.SK(b,q)});this.W.addEventListener("size_changed",function(){isNaN(Number(a.m.maxWidth))&&a.Mj({maxWidth:a.m.maxWidth})})},rq:function(a){this.uk.style.left=this.KB[a].offsetLeft+8+"px";this.uk.setAttribute("data-index",this.KB[a].getAttribute("data-index"));this.gd=a;this.SK(a)},SK:function(a, b){var c=this.ng.width+8,e=0;this.Yc.ot&&(e=this.Yc.ot()/2);var f=this.vk.offsetWidth-2*e,g=this.ci.offsetLeft||this.Yc.x,g=g-e,i=-a*c;i>g&&this.Yc.scrollTo(i+e);c=i-c;g-=f;c<g&&(!b||b&&8<i-g)&&this.Yc.scrollTo(c+f+e)},lZ:function(){this.Yc=M()?new Lg(this.vk,{bp:t,xy:q,vi:t,Pi:t,Fn:t,YE:q,dx:q,Vx:q}):new Qg(this.vk)},aa:function(){this.R.style.visibility="hidden"},show:function(){this.R.style.visibility="visible"}}); function Qg(a){this.R=a;this.mh=a.children[0];this.hs=s;this.Ti=20;this.offsetLeft=0;this.za()} Qg.prototype={za:function(){this.mh.style.position="relative";this.refresh();this.Ls();this.xC()},refresh:function(){this.yo=this.R.offsetWidth-this.ot();this.iB=-(this.mh.offsetWidth-this.yo-this.Ti);this.Yv=this.Ti+this.offsetLeft;this.mh.style.left=this.Yv+"px";this.mh.children[0]&&(this.hs=this.mh.children[0].offsetWidth);this.pg&&(this.pg.children[0].style.marginTop=this.bs.children[0].style.marginTop=this.pg.offsetHeight/2-this.pg.children[0].offsetHeight/2+"px")},ot:function(){return 2*this.Ti}, Ls:function(){this.ow=I("div");this.ow.innerHTML='<a class="pano_photo_arrow_l" style="background:rgb(37,37,37);background:rgba(37,37,37,0.9);" href="javascript:void(0)" title="\u4e0a\u4e00\u9875"><span class="pano_arrow_l"></span></a><a class="pano_photo_arrow_r" style="background:rgb(37,37,37);background:rgba(37,37,37,0.9);" href="javascript:void(0)" title="\u4e0b\u4e00\u9875"><span class="pano_arrow_r"></span></a>';this.pg=this.ow.children[0];this.bs=this.ow.children[1];this.R.appendChild(this.ow); this.pg.children[0].style.marginTop=this.bs.children[0].style.marginTop=this.pg.offsetHeight/2-this.pg.children[0].offsetHeight/2+"px"},xC:function(){var a=this;z.V(this.pg,"click",function(){a.scrollTo(a.mh.offsetLeft+a.yo)});z.V(this.bs,"click",function(){a.scrollTo(a.mh.offsetLeft-a.yo)})},hV:function(){z.U.rc(this.pg,"pano_arrow_disable");z.U.rc(this.bs,"pano_arrow_disable");var a=this.mh.offsetLeft;a>=this.Yv&&z.U.jb(this.pg,"pano_arrow_disable");a-this.yo<=this.iB&&z.U.jb(this.bs,"pano_arrow_disable")}, scrollTo:function(a){a=a<this.mh.offsetLeft?Math.ceil((a-this.Ti-this.yo)/this.hs)*this.hs+this.yo+this.Ti-8:Math.ceil((a-this.Ti)/this.hs)*this.hs+this.Ti;a<this.iB?a=this.iB:a>this.Yv&&(a=this.Yv);var b=this.mh.offsetLeft,c=this;new Gb({Nc:60,fc:Hb.dt,duration:300,Ba:function(e){c.mh.style.left=b+(a-b)*e+"px"},finish:function(){c.hV()}})}};function Rg(){var a=256*Math.pow(2,15),b=3*a,c=U.Sa(new S(180,0)).lng,b=b-c,e=-3*a,a=U.Sa(new S(-180,0)).lng,e=a-e;this.iV=c/Math.pow(2,15);this.rg=c;this.hh=a;this.Pl=b+e;this.ih=c-a;this.VU=b;this.zT=e} Rg.prototype={wm:function(a,b,c){for(var e=0,c=1536*Math.pow(2,b-3)/(c||256),f=c/2-1,g=-c/2;a>f;)a-=c,e-=this.Pl;for(;a<g;)a+=c,e+=this.Pl;var i=e,e=Math.round(e/Math.pow(2,18-b));return{offsetX:e,k4:i,Bg:a,l2:c,U5:f,V5:g}},zC:function(a){for(var b=a.lng;b>this.rg;)b-=this.ih;for(;b<this.hh;)b+=this.ih;a.lng=b;return a},YV:function(a,b){for(var c=b||a.Hb(),e=a.pf.lng,f=a.mf.lng;c.lng>this.rg;)c.lng-=this.ih,e-=this.ih,f-=this.ih;for(;c.lng<this.hh;)c.lng+=this.ih,e+=this.ih,f+=this.ih;a.pf.lng=e; a.mf.lng=f;return a},AC:function(a,b,c,e){for(var c=c||256,f=e||Math.pow(2,18-b)*c,e=Math.floor(this.rg/f),g=Math.floor(this.hh/f),i=Math.floor(this.Pl/f),f=[],k=0;k<a.length;k++){var m=a[k],n=m[0],m=m[1];if(n>=e){if(n+=i,this.ky(n,b,c)!==q){var o="id_"+n+"_"+m+"_"+b;a[o]||(a[o]=q,f.push([n,m,b,c]))}}else n<=g&&(n-=i,this.ky(n,b,c)!==q&&(o="id_"+n+"_"+m+"_"+b,a[o]||(a[o]=q,f.push([n,m,b,c]))))}k=0;for(e=f.length;k<e;k++)a.push(f[k]);for(k=a.length-1;0<=k;k--)n=a[k][0],this.ky(n,b,c)&&a.splice(k,1); return a},ky:function(a,b,c){for(var e=Math.pow(2,b-3),b=Math.round(this.iV*e),e=1536*e/c;a>e/2-1;)a-=e;for(;a<-(e/2);)a+=e;return 0<a&&a*c>b||0>a&&Math.abs((a+1)*c)>b?q:t},NM:function(a,b){return a<this.hh||b>this.rg},iM:function(a){return Math.round((this.VU+this.zT)/Math.pow(2,18-a))},LY:function(a,b,c){var b=b||256,e=Math.ceil(this.rg/c),f=Math.floor(this.hh/c);return a===e-1?(a=(this.rg-c*(e-1))/c*b,a=Math.round(a),[0,0,a,b]):a===f?(a=(this.hh-c*f)/c*b,a=Math.round(Math.abs(a)),[a,0,b,b]):s}}; var Ne=new Rg;C.Map=Sa;C.Hotspot=tb;C.MapType=Se;C.Point=S;C.Pixel=T;C.Size=O;C.Bounds=qb;C.TileLayer=Zd;C.Projection=vd;C.MercatorProjection=U;C.PerspectiveProjection=sb;C.Copyright=function(a,b,c){this.id=a;this.hb=b;this.content=c};C.Overlay=yd;C.Label=Hd;C.GroundOverlay=Id;C.PointCollection=Md;C.Marker=Gd;C.CanvasLayer=Pd;C.Icon=Cd;C.IconSequence=Ed;C.Symbol=Dd;C.Polyline=Td;C.Polygon=Sd;C.InfoWindow=Fd;C.Circle=Ud;C.Control=fd;C.NavigationControl=wb;C.GeolocationControl=kd;C.OverviewMapControl=yb; C.CopyrightControl=ld;C.ScaleControl=xb;C.MapTypeControl=zb;C.CityListControl=md;C.PanoramaControl=od;C.TrafficLayer=fe;C.CustomLayer=Ab;C.ContextMenu=rd;C.MenuItem=ud;C.LocalSearch=nb;C.TransitRoute=xf;C.DrivingRoute=Af;C.TruckRoute=Cf;C.WalkingRoute=Bf;C.RidingRoute=Df;C.Autocomplete=Nf;C.RouteSearch=Hf;C.Geocoder=If;C.LocalCity=Kf;C.Geolocation=Geolocation;C.Convertor=xd;C.BusLineSearch=Mf;C.Boundary=Lf;C.Panorama=Va;C.PanoramaLabel=Uf;C.PanoramaService=qd;C.PanoramaCoverageLayer=pd; C.PanoramaFlashInterface=dg;function V(a,b){for(var c in b)a[c]=b[c]}V(window,{BMap:C,_jsload2:function(a,b){ka.hz.xZ&&ka.hz.set(a,b);bb.aW(a,b)},BMAP_API_VERSION:"2.0"});var Sg=Sa.prototype; V(Sg,{getBounds:Sg.Nd,getCenter:Sg.Hb,getMapType:Sg.ya,getSize:Sg.wb,setSize:Sg.Ie,getViewport:Sg.Ft,getZoom:Sg.la,centerAndZoom:Sg.fd,panTo:Sg.Hi,panBy:Sg.Og,setCenter:Sg.Bf,setCurrentCity:Sg.KF,setMapType:Sg.Sg,setViewport:Sg.Tg,setZoom:Sg.Xc,highResolutionEnabled:Sg.ay,zoomTo:Sg.Vg,zoomIn:Sg.DG,zoomOut:Sg.EG,addHotspot:Sg.kC,removeHotspot:Sg.J_,clearHotspots:Sg.hx,checkResize:Sg.dW,addControl:Sg.Vo,removeControl:Sg.lO,getContainer:Sg.Ta,addContextMenu:Sg.nm,removeContextMenu:Sg.iq,addOverlay:Sg.Ra, removeOverlay:Sg.Lb,clearOverlays:Sg.OK,openInfoWindow:Sg.Vc,closeInfoWindow:Sg.Mc,pointToOverlayPixel:Sg.ef,overlayPixelToPoint:Sg.XN,getInfoWindow:Sg.wh,getOverlays:Sg.Ox,getPanes:function(){return{floatPane:this.ee.ND,markerMouseTarget:this.ee.aF,floatShadow:this.ee.HL,labelPane:this.ee.TE,markerPane:this.ee.vN,markerShadow:this.ee.wN,mapPane:this.ee.$t,vertexPane:this.ee.CP}},addTileLayer:Sg.Ue,removeTileLayer:Sg.gg,pixelToPoint:Sg.cc,pointToPixel:Sg.vc,setFeatureStyle:Sg.R6,selectBaseElement:Sg.K6, setMapStyle:Sg.uu,enable3DBuilding:Sg.qp,disable3DBuilding:Sg.SW,getPanorama:Sg.zt,initIndoorLayer:Sg.mZ,setNormalMapDisplay:Sg.Wy,setMapStyleV2:Sg.n0,setBMapCopyrightOffset:Sg.JF,getVectorContainer:Sg.RY});V(window,{BMAP_COORD_MERCATOR:Ra,BMAP_COORD_BD09:5,BMAP_COORD_GCJ02:Qa,BMAP_COORD_GCJ02MERCATOR:4,BMAP_COORD_WGS84:2,BMAP_COORD_EPSG3857:6});var Tg=Se.prototype;V(Tg,{getTileLayer:Tg.KY,getMinZoom:Tg.uf,getMaxZoom:Tg.Ze,getProjection:Tg.Bj,getTextColor:Tg.Rm,getTips:Tg.Dt}); V(window,{BMAP_NORMAL_MAP:Ta,BMAP_PERSPECTIVE_MAP:Ya,BMAP_SATELLITE_MAP:ab,BMAP_HYBRID_MAP:$a});var Ug=U.prototype;V(Ug,{lngLatToPoint:Ug.Lg,pointToLngLat:Ug.Kj});var Vg=sb.prototype;V(Vg,{lngLatToPoint:Vg.Lg,pointToLngLat:Vg.Kj});var Wg=qb.prototype;V(Wg,{equals:Wg.Vb,containsPoint:Wg.Is,containsBounds:Wg.oW,intersects:Wg.Mt,extend:Wg.extend,getCenter:Wg.Hb,isEmpty:Wg.Gj,getSouthWest:Wg.Pd,getNorthEast:Wg.Ce,toSpan:Wg.nG});var Xg=yd.prototype;V(Xg,{isVisible:Xg.Oc,show:Xg.show,hide:Xg.aa}); yd.getZIndex=yd.Sk;var Yg=rb.prototype;V(Yg,{openInfoWindow:Yg.Vc,closeInfoWindow:Yg.Mc,enableMassClear:Yg.xj,disableMassClear:Yg.UW,show:Yg.show,hide:Yg.aa,getMap:Yg.Lx,addContextMenu:Yg.nm,removeContextMenu:Yg.iq});var Zg=Gd.prototype; V(Zg,{setIcon:Zg.Xb,getIcon:Zg.Cp,setPosition:Zg.va,getPosition:Zg.ma,setOffset:Zg.Td,getOffset:Zg.zj,getLabel:Zg.vt,setLabel:Zg.Lj,setTitle:Zg.Hc,setTop:Zg.Li,enableDragging:Zg.jc,disableDragging:Zg.Us,setZIndex:Zg.wq,getMap:Zg.Lx,setAnimation:Zg.vn,setShadow:Zg.$y,hide:Zg.aa,setRotation:Zg.Yy,getRotation:Zg.hM});V(window,{BMAP_ANIMATION_DROP:1,BMAP_ANIMATION_BOUNCE:2});var $g=Hd.prototype; V($g,{setStyle:$g.Vd,setStyles:$g.Ki,setContent:$g.Qc,setPosition:$g.va,getPosition:$g.ma,setOffset:$g.Td,getOffset:$g.zj,setTitle:$g.Hc,setZIndex:$g.wq,getMap:$g.Lx,getContent:$g.Mk});var ah=Cd.prototype;V(ah,{setImageUrl:ah.CO,setSize:ah.Ie,setAnchor:ah.wc,setImageOffset:ah.tu,setImageSize:ah.h0,setInfoWindowAnchor:ah.k0,setPrintImageUrl:ah.w0});var bh=Fd.prototype; V(bh,{redraw:bh.se,setTitle:bh.Hc,setContent:bh.Qc,getContent:bh.Mk,getPosition:bh.ma,enableMaximize:bh.uh,disableMaximize:bh.ux,isOpen:bh.eb,setMaxContent:bh.vu,maximize:bh.vy,enableAutoPan:bh.ft});var ch=Ad.prototype; V(ch,{getPath:ch.af,setPath:ch.Ud,setPositionAt:ch.zn,getStrokeColor:ch.HY,setStrokeWeight:ch.vq,getStrokeWeight:ch.lM,setStrokeOpacity:ch.tq,getStrokeOpacity:ch.IY,setFillOpacity:ch.su,getFillOpacity:ch.cY,setStrokeStyle:ch.uq,getStrokeStyle:ch.kM,getFillColor:ch.bY,getBounds:ch.Nd,enableEditing:ch.Ae,disableEditing:ch.TW,getEditing:ch.ZX,getGeodesicPath:ch.fY});var dh=Ud.prototype;V(dh,{setCenter:dh.Bf,getCenter:dh.Hb,getRadius:dh.fM,setRadius:dh.Cf});var eh=Sd.prototype; V(eh,{getPath:eh.af,setPath:eh.Ud,setPositionAt:eh.zn});var fh=tb.prototype;V(fh,{getPosition:fh.ma,setPosition:fh.va,getText:fh.qE,setText:fh.yu});S.prototype.equals=S.prototype.Vb;T.prototype.equals=T.prototype.Vb;O.prototype.equals=O.prototype.Vb;V(window,{BMAP_ANCHOR_TOP_LEFT:hd,BMAP_ANCHOR_TOP_RIGHT:id,BMAP_ANCHOR_BOTTOM_LEFT:jd,BMAP_ANCHOR_BOTTOM_RIGHT:3});var gh=fd.prototype;V(gh,{setAnchor:gh.wc,getAnchor:gh.UD,setOffset:gh.Td,getOffset:gh.zj,show:gh.show,hide:gh.aa,isVisible:gh.Oc,toString:gh.toString}); var hh=wb.prototype;V(hh,{getType:hh.Kp,setType:hh.An});V(window,{BMAP_NAVIGATION_CONTROL_LARGE:0,BMAP_NAVIGATION_CONTROL_SMALL:1,BMAP_NAVIGATION_CONTROL_PAN:2,BMAP_NAVIGATION_CONTROL_ZOOM:3});var ih=yb.prototype;V(ih,{changeView:ih.we,setSize:ih.Ie,getSize:ih.wb});var jh=xb.prototype;V(jh,{getUnit:jh.QY,setUnit:jh.UF});V(window,{BMAP_UNIT_METRIC:"metric",BMAP_UNIT_IMPERIAL:"us"});var kh=ld.prototype;V(kh,{addCopyright:kh.Uw,removeCopyright:kh.wF,getCopyright:kh.Im,getCopyrightCollection:kh.aE}); V(window,{BMAP_MAPTYPE_CONTROL_HORIZONTAL:nd,BMAP_MAPTYPE_CONTROL_DROPDOWN:1,BMAP_MAPTYPE_CONTROL_MAP:2});var lh=Zd.prototype;V(lh,{getMapType:lh.ya,getCopyright:lh.Im,isTransparentPng:lh.Ut});var mh=rd.prototype;V(mh,{addItem:mh.As,addSeparator:mh.nC,removeSeparator:mh.zF});var nh=ud.prototype;V(nh,{setText:nh.yu});var oh=Y.prototype; V(oh,{getStatus:oh.Pm,setSearchCompleteCallback:oh.xu,getPageCapacity:oh.$e,setPageCapacity:oh.xn,setLocation:oh.wn,disableFirstResultSelection:oh.eD,enableFirstResultSelection:oh.yD,gotoPage:oh.Sm,searchNearby:oh.pq,searchInBounds:oh.tn,search:oh.search});V(window,{BMAP_STATUS_SUCCESS:0,BMAP_STATUS_CITY_LIST:1,BMAP_STATUS_UNKNOWN_LOCATION:ef,BMAP_STATUS_UNKNOWN_ROUTE:3,BMAP_STATUS_INVALID_KEY:4,BMAP_STATUS_INVALID_REQUEST:5,BMAP_STATUS_PERMISSION_DENIED:ff,BMAP_STATUS_SERVICE_UNAVAILABLE:7,BMAP_STATUS_TIMEOUT:gf}); V(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});V(window,{BMAP_TRANSIT_POLICY_RECOMMEND:0,BMAP_TRANSIT_POLICY_LEAST_TIME:4,BMAP_TRANSIT_POLICY_LEAST_TRANSFER:1,BMAP_TRANSIT_POLICY_LEAST_WALKING:2,BMAP_TRANSIT_POLICY_AVOID_SUBWAYS:3,BMAP_TRANSIT_POLICY_FIRST_SUBWAYS:5,BMAP_LINE_TYPE_BUS:0,BMAP_LINE_TYPE_SUBWAY:1,BMAP_LINE_TYPE_FERRY:2,BMAP_LINE_TYPE_TRAIN:3,BMAP_LINE_TYPE_AIRPLANE:4,BMAP_LINE_TYPE_COACH:5}); V(window,{BMAP_TRANSIT_TYPE_POLICY_TRAIN:0,BMAP_TRANSIT_TYPE_POLICY_AIRPLANE:1,BMAP_TRANSIT_TYPE_POLICY_COACH:2});V(window,{BMAP_INTERCITY_POLICY_LEAST_TIME:0,BMAP_INTERCITY_POLICY_EARLY_START:1,BMAP_INTERCITY_POLICY_CHEAP_PRICE:2});V(window,{BMAP_TRANSIT_TYPE_IN_CITY:0,BMAP_TRANSIT_TYPE_CROSS_CITY:1});V(window,{BMAP_TRANSIT_PLAN_TYPE_ROUTE:0,BMAP_TRANSIT_PLAN_TYPE_LINE:1});var ph=wf.prototype;V(ph,{clearResults:ph.xe});yf=xf.prototype; V(yf,{setPolicy:yf.yn,toString:yf.toString,setPageCapacity:yf.xn,setIntercityPolicy:yf.NF,setTransitTypePolicy:yf.SF});V(Cf.prototype,{setPolicy:Cf.yn,toString:Cf.toString,setPageCapacity:Cf.xn,setIntercityPolicy:Cf.NF,setTransitTypePolicy:Cf.SF});V(window,{BMAP_DRIVING_POLICY_DEFAULT:0,BMAP_DRIVING_POLICY_AVOID_HIGHWAYS:3,BMAP_DRIVING_POLICY_AVOID_CONGESTION:5,BMAP_DRIVING_POLICY_FIRST_HIGHWAYS:4});V(window,{BMAP_MODE_DRIVING:"driving",BMAP_MODE_TRANSIT:"transit",BMAP_MODE_WALKING:"walking",BMAP_MODE_NAVIGATION:"navigation"}); var qh=Hf.prototype;V(qh,{routeCall:qh.wO});V(window,{BMAP_HIGHLIGHT_STEP:1,BMAP_HIGHLIGHT_ROUTE:2});V(window,{BMAP_ROUTE_TYPE_DRIVING:jf,BMAP_ROUTE_TYPE_WALKING:hf,BMAP_ROUTE_TYPE_RIDING:kf});V(window,{BMAP_ROUTE_STATUS_NORMAL:lf,BMAP_ROUTE_STATUS_EMPTY:1,BMAP_ROUTE_STATUS_ADDRESS:2});var rh=Af.prototype;V(rh,{setPolicy:rh.yn});var sh=Nf.prototype;V(sh,{show:sh.show,hide:sh.aa,setTypes:sh.TF,setLocation:sh.wn,search:sh.search,setInputValue:sh.Vy});V(Ab.prototype,{});var th=Lf.prototype;V(th,{get:th.get}); V(pd.prototype,{});V(window,{BMAP_POINT_DENSITY_HIGH:200,BMAP_POINT_DENSITY_MEDIUM:ie,BMAP_POINT_DENSITY_LOW:50});V(window,{BMAP_POINT_SHAPE_STAR:1,BMAP_POINT_SHAPE_WATERDROP:2,BMAP_POINT_SHAPE_CIRCLE:Jd,BMAP_POINT_SHAPE_SQUARE:4,BMAP_POINT_SHAPE_RHOMBUS:5});V(window,{BMAP_POINT_SIZE_TINY:1,BMAP_POINT_SIZE_SMALLER:2,BMAP_POINT_SIZE_SMALL:3,BMAP_POINT_SIZE_NORMAL:Kd,BMAP_POINT_SIZE_BIG:5,BMAP_POINT_SIZE_BIGGER:6,BMAP_POINT_SIZE_HUGE:7}); V(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});V(window,{BMAP_CONTEXT_MENU_ICON_ZOOMIN:sd,BMAP_CONTEXT_MENU_ICON_ZOOMOUT:td}); V(window,{BMAP_SYS_DRAWER:Pa,BMAP_SVG_DRAWER:1,BMAP_VML_DRAWER:2,BMAP_CANVAS_DRAWER:3,BMAP_SVG_DRAWER_FIRST:4});C.zV();C.oz(); })()