You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
14 KiB

/**/_jsload2 && _jsload2('oppc', 'var Eh=256,Fh=32;function Gh(){this.C=p}var Hh;B.Xe(function(a){if(!a.B.py){var b=new Gh;Db(a.Ua,b.va(a.B.Xb));b.C=a.Ua.lastChild;a.R.l1=b}}); Gh.prototype.va=function(a){a=[\'<div id=zoomer style="position:absolute;z-index:0;top:0px;left:0px;overflow:hidden;visibility:hidden;cursor:\'+a+\'">\'];a.push(\'<div class="BMap_zoomer" style="top:0;left:0;"></div>\');a.push(\'<div class="BMap_zoomer" style="top:0;right:0;"></div>\');a.push(\'<div class="BMap_zoomer" style="bottom:0;left:0;"></div>\');a.push(\'<div class="BMap_zoomer" style="bottom:0;right:0;"></div>\');a.push("</div>");return a.join("")}; Gh.prototype.action=function(a,b){if(!Hh){var c=this.C;if(c){var d=4/3,e=Math.ceil((b?60:120)/2),f=Math.max(15,e/d),g=c.style;g.width=2*e+"px";g.height=2*f+"px";g.visibility="visible";c=c.children;b?(c[0].style.backgroundPosition="0 0",c[1].style.backgroundPosition="-7px 0",c[2].style.backgroundPosition="0 -7px",c[3].style.backgroundPosition="-7px -7px"):(c[0].style.backgroundPosition="-7px -7px",c[1].style.backgroundPosition="0 -7px",c[2].style.backgroundPosition="-7px 0",c[3].style.backgroundPosition= "0 0");var c=p,i=a.x-e,j=a.y-f;if(!isNaN(i)&&!isNaN(j)){g.left=i+"px";g.top=j+"px";var l=Math.ceil((b?120:60)/2),m=Math.max(15,l/d),l=l-e,m=Math.ceil(m-f),n=this.C.style;Hh&&Hh.end();Hh=new wb({Hc:20,duration:240,hc:xb.FD,ep:100,va:function(a){if(!(a<0.1)){var b=Math.ceil(l*a),a=Math.ceil(m*a);n.width=(e+b)*2+"px";n.height=(f+a)*2+"px";n.left=i-b+"px";n.top=j-a+"px"}},finish:function(){Hh=q;setTimeout(function(){g.visibility="hidden"},300)}})}}}};B.Xe(function(a){function b(a){if(f.B.lp){var b=new N("ondeepzoommousewheel");c(a,na(b,a));i.c1.call(i,b);Gb(a)}}function c(a,b){var c=a.srcElement||a.target,d=a.offsetX||a.layerX||0,e=a.offsetY||a.layerY||0,g=p,i=p;1!==c.nodeType&&(c=c.parentNode);for(;c&&c!==f.Ua;){c.ba&&(x.lang.Lc(c.ba)instanceof kb&&(g=x.lang.Lc(c.ba)),x.lang.Lc(c.ba)instanceof td&&(i=x.lang.Lc(c.ba)));if(!(0===c.clientWidth&&0===c.clientHeight&&c.offsetParent&&"TD"===c.offsetParent.nodeName)&&"http://www.w3.org/2000/svg"!==c.namespaceURI)d+= c.offsetLeft||0,e+=c.offsetTop||0;else if("http://www.w3.org/2000/svg"===c.namespaceURI&&B.Eq){var y=B.Eq.ot(f).hf;if(-1<navigator.userAgent.indexOf("Opera")&&"svg"!==c.tagName){if(c=x.lang.Lc(c.ba))c=c.Kd(),d+=f.Cc(c.xe()).x,e+=f.Cc(c.pf()).y;break}if(39<=x.da.Te||51<=x.da.gx)d=a.layerX||0,e=a.layerY||0;if(y&&!(window.ActiveXObject||"ActiveXObject"in window))d+=parseFloat(y.style.left)+f.offsetX,e+=parseFloat(y.style.top)+f.offsetY;if(y&&((window.ActiveXObject||"ActiveXObject"in window)&&"svg"=== c.nodeName.toLowerCase())&&!c.ba)d+=parseFloat(y.style.left)+f.offsetX,e+=parseFloat(y.style.top)+f.offsetY;if((9<=x.da.ma||-1<navigator.userAgent.toLowerCase().indexOf("trident"))&&"svg"!==c.nodeName.toLowerCase()){d+=f.offsetX;e+=f.offsetY;break}if(!x.da.ma)break}c=c.offsetParent}if((65<=x.da.gx||60<=x.da.Te)&&"ondeepzoommousewheel"===b.type){d=a.clientX+window.scrollX;e=a.clientY+window.scrollY;for(c=f.Ga();c;)d-=c.offsetLeft,e-=c.offsetTop,c=c.offsetParent}b.offsetX=d;b.offsetY=e;b.pixel=b.Wa= new R(d,e);b.pointN=b.Cg=f.Rb(b.Wa);b.point=b.point=f.Bg(b.Wa);b.overlay=b.cb=g;b.domEvent=a;b.Bb=i;return b}function d(a){var b=f.R,d=!b.Fy&&!b.Gy;if(b.Wy)clearTimeout(b.Wy),b.Wy=p,d&&(f.dispatchEvent(c(a,na(new N("onrightclick"),a))),f.Sa|=Eh,f.dispatchEvent(c(a,na(new N("onrightdblclick"),a))),f.Sa^=Eh);else{d&&f.dispatchEvent(c(a,na(new N("onrightclick"),a)));var e=c(a,na(new N("onrightclickex"),a));b.Wy=setTimeout(function(){b.Wy=p;d&&f.dispatchEvent(e)},f.B.OC)}}function e(a){if(f.B.lp){var b= f.R;b.nb&&(b.nb.stop(),b.nb=p,setTimeout(function(){f.dispatchEvent(new N("onmoveend"))},1));f.Sa|=Fh;a=window.event||a;f.Mc=f.Na;b=new N("onmousewheel");b.wq=0<=a.wheelDelta||0>a.detail;var d=new Date;b.wq===o&&f.Na===f.oa().Jm()||b.wq===q&&f.Na===f.oa().up()||220>d-g?f.Sa^=Fh:(g=d,c(a,na(b,a)),f.dispatchEvent(b),f.Sa^=Fh,a.returnValue=q);Gb(a)}}var f=a;f.kZ=a.Wb();a.Ua.N4=ea(q);x.M(f.platform,"mousemove",function(a){0===f.Sa&&f.dispatchEvent(c(a,na(new N("onm