function azimuth(a,b,c,d,{units:e="m",distancePrecision:f=0,formula:g="great-circle",bearingPrecision:h=0,directionPrecision:i=1}={}){var j=Number.prototype,k=Math.sqrt,l=Math.round,m=Math.cos,n=Math.sin,o=Math.atan2,p=Math.abs,r=Math.log,s=Math.tan,t=Math.PI;function u(a){return a*(t/180)}function v(a){return a*(180/t)}if(isNaN(a)||isNaN(c)||isNaN(b)||isNaN(d)||isNaN(h)||isNaN(i))throw new Error("Latitude/Longitude parameter is not a number!");if(90
t&&(0