import{getDep}from"@fusioncharts/core/src/dependency-manager";var Raphael=getDep("redraphael","plugin"),mathCos=Math.cos,mathSin=Math.sin,PI=Math.PI,symbolList;symbolList={pinModeIcon:function pinModeIcon(posx,posy,rad){var x=posx,y=posy,r=rad,r1=r*.5,r2=r-r1,x1=x-r,x2=x+r,x3=x-r1,x4=x+r1,x5=x-.5,x6=x+.5,x7=x6+1,x8=x6+1.5,y1=y-r,y2=y+r1,y3=y-r1,y4=y+r2,y5=y+r+.5;return["M",x1,y1,"L",x3,y3,x3,y4,x1,y2,x5,y2,x,y5,x6,y2,x2,y2,x4,y4,x4,y3,x2,y1,x8,y1,x8,y3,x8,y4,x7,y4,x7,y3,x8,y3,x8,y1,"Z"]},zoomOutIcon:function zoomOutIcon(x,y,radius){var icoX=x-radius*.2,icoY=y-radius*.2,rad=radius*.8,startAngle=Raphael.rad(43),endAngle=Raphael.rad(48),startX=icoX+rad*mathCos(startAngle),startY=icoY+rad*mathSin(startAngle),endX=icoX+rad*mathCos(endAngle),endY=icoY+rad*mathSin(endAngle),handleHeight=radius,handAngle=Raphael.rad(45),handX1=startX+handleHeight*mathCos(handAngle),handY1=startY+handleHeight*mathSin(handAngle),handX2=endX+handleHeight*mathCos(handAngle),handY2=endY+handleHeight*mathSin(handAngle),semiW=2;return["M",startX,startY,"A",rad,rad,0,1,0,endX,endY,"Z","M",startX+1,startY+1,"L",handX1,handY1,handX2,handY2,endX+1,endY+1,"Z","M",icoX-semiW,icoY,"L",icoX+semiW,icoY,"Z"]},resetIcon:function resetIcon(x,y,radius){var r=radius,startX=x-r,startY=y,endAngle=(PI/2+PI)/2,endX=x+r*mathCos(endAngle),endY=y+r*mathSin(endAngle),arrowLength=r*2/3,paths=["M",startX,startY,"A",r,r,0,1,1,endX,endY,"L",endX+arrowLength,endY-1,endX+2,endY+arrowLength-.5,endX,endY];return paths},zoomInIcon:function zoomInIcon(x,y,radius){var icoX=x-radius*.2,icoY=y-radius*.2,rad=radius*.8,startAngle=Raphael.rad(43),endAngle=Raphael.rad(48),startX=icoX+rad*mathCos(startAngle),startY=icoY+rad*mathSin(startAngle),endX=icoX+rad*mathCos(endAngle),endY=icoY+rad*mathSin(endAngle),handleHeight=radius,handAngle=Raphael.rad(45),handX1=startX+handleHeight*mathCos(handAngle),handY1=startY+handleHeight*mathSin(handAngle),handX2=endX+handleHeight*mathCos(handAngle)-1,handY2=endY+handleHeight*mathSin(handAngle)-1,semiW=2;return["M",startX,startY,"A",rad,rad,0,1,0,endX,endY,"Z","M",startX+1,startY+1,"L",handX1,handY1,handX2,handY2,endX+1,endY+1,"Z","M",icoX-semiW,icoY,"L",icoX+semiW,icoY,"Z","M",icoX,icoY-semiW,"L",icoX,icoY+semiW,"Z"]},zoomModeIcon:function zoomModeIcon(cx,cy,radius){var x=cx,path=[],y=cy,icoX=x-radius*.2,icoY=y-radius*.2,rad=radius*.8,startAngle=Raphael.rad(43),endAngle=Raphael.rad(48),startX=icoX+rad*mathCos(startAngle),startY=icoY+rad*mathSin(startAngle),endX=icoX+rad*mathCos(endAngle),endY=icoY+rad*mathSin(endAngle),handleHeight=radius,handAngle=Raphael.rad(45),handX1=startX+handleHeight*mathCos(handAngle),handY1=startY+handleHeight*mathSin(handAngle),handX2=endX+handleHeight*mathCos(handAngle)-1,handY2=endY+handleHeight*mathSin(handAngle)-1,semiW=2;path=path.concat(["M",startX,startY,"A",rad,rad,0,1,0,endX,endY,"Z","M",startX+1,startY+1,"L",handX1,handY1,handX2,handY2,handX2+1,handY2-1,handX2+1.5,handY2+1.5,handX2-1,handY2+1,handX2,handY2,endX+1,endY+1,"Z","M",icoX-semiW,icoY,"L",icoX+semiW,icoY,"Z","M",icoX,icoY-semiW,"L",icoX,icoY+semiW,"Z"]);return path},panModeIcon:function panModeIcon(cx,cy,r){var x=cx-45/4,y=cy,radius=r;x=cx;radius*=2.5;return[].concat(["M",x-radius/16,y-radius/8,"L",x+radius/16,y-radius/8,"L",x+radius/16,y-radius/3.2,"L",x+6*radius/32,y-10*radius/32,"L",x,y-radius/2,"L",x-6*radius/32,y-10*radius/32,"L",x-radius/16,y-radius/3.2,"Z","M",x+4*radius/32,y-2*radius/32,"L",x+10*radius/32,y-2*radius/32,"L",x+10*radius/32,y-6*radius/32,"L",x+16*radius/32,y,"L",x+10*radius/32,y+6*radius/32,"L",x+10*radius/32,y+2*radius/32,"L",x+4*radius/32,y+2*radius/32,"Z","M",x+2*radius/32,y+5*radius/32,"L",x+2*radius/32,y+10*radius/32,"L",x+6*radius/32,y+10*radius/32,"L",x,y+16*radius/32,"L",x-6*radius/32,y+10*radius/32,"L",x-2*radius/32,y+10*radius/32,"L",x-2*radius/32,y+5*radius/32,"Z","M",x-4*radius/32,y-2*radius/32,"L",x-10*radius/32,y-2*radius/32,"L",x-10*radius/32,y-6*radius/32,"L",x-16*radius/32,y,"L",x-10*radius/32,y+6*radius/32,"L",x-10*radius/32,y+2*radius/32,"L",x-4*radius/32,y+2*radius/32,"Z"])}};export{symbolList};