import SpatialReference from"@arcgis/core/geometry/SpatialReference";import Point from"@arcgis/core/geometry/Point";class CreatePoint{execute(e,t){let a="object"==typeof e.spatialReference?e.spatialReference:void 0;return"number"==typeof e.spatialReference?a=new SpatialReference({wkid:e.spatialReference}):"string"==typeof e.spatialReference&&(a=new SpatialReference({wkt:e.spatialReference})),{point:new Point({x:e.x,y:e.y,spatialReference:a})}}}CreatePoint.action="gcx:wf:arcgis::CreatePoint",CreatePoint.suite="gcx:wf:builtin";export{CreatePoint};