/**/_jsload2&&_jsload2('pointcollection', 'A.extend(jd.prototype,{za:function(a){var b=this;b.map=this.P=a;b.zc=document.createElement("canvas");b.zc.style.cssText="position: absolute; left: 0; top: 0;";b.ca=b.zc;a=b.map.zb();b.zc.width=a.width;b.zc.height=a.height;b.zc.id="myCanvasElement";b.map.Wf().Gt.appendChild(b.zc);b.Fy=new $g;b.hi();b.map.addEventListener("click",function(a){a=ah(b.Fy,a.offsetX,a.offsetY);a!==q&&b.dispatchEvent("click",{point:a.point})});b.Zk=q;b.map.addEventListener("mousemove",function(a){for(var e=b.map.vx(),f= e.length,g=q,i=0;ie.x||0>e.y||e.x>a.width||e.y>a.height)){var f;switch(this.K.shape){case 1:f=new bh; break;case 2:f=new ch;break;case 4:f=new dh;break;case 5:f=new eh;break;case gd:f=new fh;break;default:f=new fh}switch(this.K.size){case 1:("circle"===f.type||"star"===f.type)&&f.Af(1);if("rectangle"===f.type||"rhombus"===f.type)f.Eh(2),f.Dh(2);break;case 2:("circle"===f.type||"star"===f.type)&&f.Af(2);if("rectangle"===f.type||"rhombus"===f.type)f.Eh(4),f.Dh(4);break;case 3:("circle"===f.type||"star"===f.type)&&f.Af(4);if("rectangle"===f.type||"rhombus"===f.type)f.Eh(8),f.Dh(8);break;case hd:("circle"=== f.type||"star"===f.type)&&f.Af(5);if("rectangle"===f.type||"rhombus"===f.type)f.Eh(10),f.Dh(10);break;case 5:("circle"===f.type||"star"===f.type)&&f.Af(8);if("rectangle"===f.type||"rhombus"===f.type)f.Eh(16),f.Dh(16);break;case 6:("circle"===f.type||"star"===f.type)&&f.Af(10);if("rectangle"===f.type||"rhombus"===f.type)f.Eh(20),f.Dh(20);break;case 7:("circle"===f.type||"star"===f.type)&&f.Af(15);if("rectangle"===f.type||"rhombus"===f.type)f.Eh(30),f.Dh(30);break;default:if(("circle"===f.type||"star"=== f.type)&&f.Af(5),"rectangle"===f.type||"rhombus"===f.type)f.Eh(10),f.Dh(10)}this.K.color&&("circle"===f.type||"star"===f.type||"rectangle"===f.type||"rhombus"===f.type)&&f.Wk(this.K.color);f.$o(this.zc.getContext("2d"),e.x,e.y);f.point=c;this.Fy.data.vF.push(f)}}this.zc.getContext("2d").fillStyle=this.K.color;this.zc.getContext("2d").fill();-1!==document.location.href.indexOf(".local")&&(console&&console.timeEnd)&&console.timeEnd("\\u904d\\u5386\\u7ed8\\u5236\\u9ebb\\u70b9")}},L_:function(a){this.ia.ja= a;this.hi()},Ci:function(a){a.color&&(this.K.color=a.color);a.size&&(this.K.size=a.size);a.shape&&(this.K.shape=a.shape);this.hi()},clear:function(){this.ia.ja=[];this.hi()},remove:function(){this.clear();this.zc&&this.zc.parentNode&&this.zc.parentNode.removeChild(this.zc);this.dispatchEvent(new P("onremove"))}});jd.prototype.initialize=jd.prototype.za;jd.prototype.draw=jd.prototype.hi;jd.prototype.setPoints=jd.prototype.L_;jd.prototype.setStyles=jd.prototype.Ci;jd.prototype.clear=jd.prototype.clear; jd.prototype.remove=jd.prototype.remove;function $g(){this.data={vF:[]}}function ah(a,b,c){for(var e=0,f;f=a.data.vF[e];e++)if(f.Gk(),b>f.position.x-f.vp()/2&&bf.position.y-f.Gk()/2&&c