{"version":3,"sources":["node_modules/@arcgis/core/rest/geometryService/utils.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport { getJsonType as e, getGeometryType as t } from \"../../geometry/support/jsonUtils.js\";\nfunction r(t) {\n return {\n geometryType: e(t[0]),\n geometries: t.map(e => e.toJSON())\n };\n}\nfunction o(e, r, o) {\n const n = t(r);\n return e.map(e => {\n const t = n.fromJSON(e);\n return t.spatialReference = o, t;\n });\n}\nexport { o as decodeGeometries, r as encodeGeometries };"],"mappings":"+CAKA,SAASA,EAAEC,EAAG,CACZ,MAAO,CACL,aAAcC,EAAED,EAAE,CAAC,CAAC,EACpB,WAAYA,EAAE,IAAIE,GAAKA,EAAE,OAAO,CAAC,CACnC,CACF,CACA,SAASC,EAAE,EAAGJ,EAAGI,EAAG,CAClB,IAAMC,EAAIC,EAAEN,CAAC,EACb,OAAO,EAAE,IAAIG,GAAK,CAChB,IAAMF,EAAII,EAAE,SAASF,CAAC,EACtB,OAAOF,EAAE,iBAAmBG,EAAGH,CACjC,CAAC,CACH","names":["r","t","p","e","o","n","c"],"x_google_ignoreList":[0]}