_jsload2&&_jsload2('pointcollection', 'z.extend(zc.prototype,{na:function(a){var b=this;b.map=this.B=a;b.zc=document.createElement("canvas");b.zc.style.cssText="position: absolute; left: 0; top: 0;";b.V=b.zc;a=b.map.cb();b.zc.width=a.width;b.zc.height=a.height;b.zc.id="myCanvasElement";b.map.Tf().Et.appendChild(b.zc);b.Py=new Xf;b.di();b.map.addEventListener("click",function(a){a=Yf(b.Py,a.offsetX,a.offsetY);a!==s&&b.dispatchEvent("click",{point:a.point})});b.Tk=s;b.map.addEventListener("mousemove",function(a){for(var e=b.map.Hx(),f=e.length, g=s,i=0;ie.x||0>e.y||e.x>a.width||e.y>a.height)){var f;switch(this.z.shape){case 1:f=new Zf; break;case 2:f=new $f;break;case 4:f=new ag;break;case 5:f=new cg;break;case wc:f=new dg;break;default:f=new dg}switch(this.z.size){case 1:("circle"===f.type||"star"===f.type)&&f.xf(1);if("rectangle"===f.type||"rhombus"===f.type)f.zh(2),f.xh(2);break;case 2:("circle"===f.type||"star"===f.type)&&f.xf(2);if("rectangle"===f.type||"rhombus"===f.type)f.zh(4),f.xh(4);break;case 3:("circle"===f.type||"star"===f.type)&&f.xf(4);if("rectangle"===f.type||"rhombus"===f.type)f.zh(8),f.xh(8);break;case xc:("circle"=== f.type||"star"===f.type)&&f.xf(5);if("rectangle"===f.type||"rhombus"===f.type)f.zh(10),f.xh(10);break;case 5:("circle"===f.type||"star"===f.type)&&f.xf(8);if("rectangle"===f.type||"rhombus"===f.type)f.zh(16),f.xh(16);break;case 6:("circle"===f.type||"star"===f.type)&&f.xf(10);if("rectangle"===f.type||"rhombus"===f.type)f.zh(20),f.xh(20);break;case 7:("circle"===f.type||"star"===f.type)&&f.xf(15);if("rectangle"===f.type||"rhombus"===f.type)f.zh(30),f.xh(30);break;default:if(("circle"===f.type||"star"=== f.type)&&f.xf(5),"rectangle"===f.type||"rhombus"===f.type)f.zh(10),f.xh(10)}this.z.color&&("circle"===f.type||"star"===f.type||"rectangle"===f.type||"rhombus"===f.type)&&f.Pk(this.z.color);f.Qo(this.zc.getContext("2d"),e.x,e.y);f.point=c;this.Py.data.MF.push(f)}}this.zc.getContext("2d").fillStyle=this.z.color;this.zc.getContext("2d").fill();-1!==document.location.href.indexOf(".local")&&(console&&console.timeEnd)&&console.timeEnd("\\u904d\\u5386\\u7ed8\\u5236\\u9ebb\\u70b9")}},I_:function(a){this.ea.ja= a;this.di()},ti:function(a){a.color&&(this.z.color=a.color);a.size&&(this.z.size=a.size);a.shape&&(this.z.shape=a.shape);this.di()},clear:function(){this.ea.ja=[];this.di()},remove:function(){this.clear();this.zc&&this.zc.parentNode&&this.zc.parentNode.removeChild(this.zc);this.dispatchEvent(new P("onremove"))}});zc.prototype.initialize=zc.prototype.na;zc.prototype.draw=zc.prototype.di;zc.prototype.setPoints=zc.prototype.I_;zc.prototype.setStyles=zc.prototype.ti;zc.prototype.clear=zc.prototype.clear; zc.prototype.remove=zc.prototype.remove;function Xf(){this.data={MF:[]}}function Yf(a,b,c){for(var e=0,f;f=a.data.MF[e];e++)if(f.yk(),b>f.position.x-f.jp()/2&&bf.position.y-f.yk()/2&&c