function o(o,a,t,l,e,c){o.beginPath(),o.moveTo(a,t),o.arc(a,t,l-8,e,c),o.closePath();var r=o.createRadialGradient(a,t,5,a,t,l);r.addColorStop(0,"#08345A00"),r.addColorStop(.9,"#9FD2FF14"),o.fillStyle=r,o.fill()}function a(o,a,t,l,e,c){o.moveTo(a,t),o.arc(a,t,l,e,c)}function t(o,t,l,e,c,r,d,i){var n=r-c>.0833393628,h=n?.0416696814:0,P=n?4:0,S=100-P;(o.beginPath(),o.moveTo(t,l),o.arc(t,l,e,c+h,r-h),i&&n)&&(a(o,100+S*Math.cos(c+h),100+S*Math.sin(c+h),P,0,2*Math.PI),a(o,100+S*Math.cos(r-h),100+S*Math.sin(r-h),P,0,2*Math.PI));o.closePath();var f=o.createRadialGradient(t,l,8,t,l,e);f.addColorStop(0,"".concat(d,"00")),f.addColorStop(.9,"".concat(d,"00")),f.addColorStop(.93,d),f.addColorStop(1,d),o.fillStyle=f,o.fill(),o.beginPath(),o.moveTo(t,l),o.arc(t,l,e,c,r),o.closePath()}export{t as drawDonutSlice,o as drawRadicalGradient};
//# sourceMappingURL=utils.js.map
