module.exports=(()=>{vart={9831:(t,e,r)=>{"use strict";varn=r(6507),i=6378137;functions(t){vare=0;if(t&&t.length>0){e+=Math.abs(o(t[0]));for(varr=1;r<t.length;r++)e-=Math.abs(o(t[r]))}returne}functiono(t){vare,r,n,s,o,h,u=0,c=t.length;if(c>2){for(h=0;h<c;h++)h===c-2?(n=c-2,s=c-1,o=0):h===c-1?(n=c-1,s=0,o=1):(n=h,s=h+1,o=h+2),e=t[n],r=t[s],u+=(a(t[o][0])-a(e[0]))*Math.sin(a(r[1]));u=u*i*i/2}returnu}functiona(t){returnt*Math.PI/180}e.Z=function(t){returnn.geomReduce(t,(function(t,e){returnt+function(t){vare,r=0;switch(t.type){case"Polygon":returns(t.coordinates);case"MultiPolygon":for(e=0;e<t.coordinates.length;e++)r+=s(t.coordinates[e]);returnr;case"Point":case"MultiPoint":case"LineString":case"MultiLineString":return0}return0}(e)}),0)}},9118:(t,e)=>{"use strict";functionr(t){vare={type:"Feature"};returnObject.keys(t).forEach((function(r){switch(r){case"type":case"properties":case"geometry":return;default:e[r]=t[r]}})),e.properties=n(t.properties),e.geometry=i(t.geometry),e}functionn(t){vare={};returnt?(Object.keys(t).forEach((function(r){vari=t[r];"object"==typeofi?null===i?e[r]=null:Array.isArray(i)?e[r]=i.map((function(t){returnt})):e[r]=n(i):e[r]=i})),e):e}functioni(t){vare={type:t.type};returnt.bbox&&(e.bbox=t.bbox),"GeometryCollection"===t.type?(e.geometries=t.geometries.map((function(t){returni(t)})),e):(e.coordinates=s(t.coordinates),e)}functions(t){vare=t;return"object"!=typeofe[0]?e.slice():e.map((function(t){returns(t)}))}e.Z=function(t){if(!t)thrownewError("geojson is required");switch(t.type){case"Feature":returnr(t);case"FeatureCollection":returnfunction(t){vare={type:"FeatureCollection"};returnObject.keys(t).forEach((function(r){switch(r){case"type":case"features":return;default:e[r]=t[r]}})),e.features=t.features.map((function(t){returnr(t)})),e}(t);case"Point":case"LineString":case"Polygon":case"MultiPoint":case"MultiLineString":case"MultiPolygon":case"GeometryCollection":returni(t);default:thrownewError("unknown GeoJSON type")}}},5300:(t,e)=>{"use strict";functionr(t,e,r){void0===r&&(r={});varn={type:"Feature"};return(0===r.id||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=e||{},n.geometry=t,n}functionn(t,e,n){returnvoid0===n&&(n={}),r({type:"Point",coordinates:t},e,n)}functioni(t,e,n){void0===n&&(n={});for(vari=0,s=t;i<s.length;i++){varo=s[i];if(o.length<4)thrownewError("Each LinearRing of a Polygon must have 4 or more Positions.");for(vara=0;a<o[o.length-1].length;a++)if(o[o.length-1][a]!==o[0][a])thrownewError("First and last Position are not equivalent.")}returnr({type:"Polygon",coordinates:t},e,n)}functions(t,e,n){if(void0===n&&(n={}),t.length<2)thrownewError("coordinates must be an array of two or more positions");returnr({type:"LineString",coordinates:t},e,n)}functiono(t,e){void0===e&&(e={});varr={type:"FeatureCollection"};returne.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}functiona(t,e,n){returnvoid0===n&&(n={}),r({type:"MultiLineString",coordinates:t},e,n)}functionh(t,e,n){returnvoid0===n&&(n={}),r({type:"MultiPoint",coordinates:t},e,n)}functionu(t,e,n){returnvoid0===n&&(n={}),r({type:"MultiPolygon",coordinates:t},e,n)}functionc(t,r){void0===r&&(r="kilometers");varn=e.factors[r];if(!n)thrownewError(r+" units is invalid");returnt*n}functionl(t,r){void0===r&&(r="kilometers");varn=e.factors[r];if(!n)thrownewError(r+" units is invalid");returnt/n}functionf(t){returnt%(2*Math.PI)*180/Math.PI}functionp(t){return!isNaN(t)&&null!==t&&!Array.isArray(t)&&!/^\s*$/.test(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.earthRadius=6371008.8,e.factors={centimeters:100*e.earthRadius,centimetres:100*e.earthRadius,degrees:e.earthRadius/111325,feet:3.28084*e.earthRadius,inches:39.37*e.earthRadius,kilometers:e.earthRadius/1e3,kilometres:e.earthRadius/1e3,meters:e.earthRadius,metres:e.earthRadius,miles:e.earthRadius/1609.344,millimeters:1e3*e.earthRadius,millimetres:1e3*e.earthRadius,nauticalmiles:e.earthRadius/1852,radians:1,yards:e.earthRadius/1.0936},e.unitsFactors={centimeters:100,centimetre