/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{makeFeatureFromGroupPart as t}from"./support/builderUtils.js";import{isPolygon as o}from"../support/executorUtils.js";import r from"../../../../geometry/Point.js";import{polygonCentroidPoint as e}from"../../../../geometry/support/centroid.js";function s({templatePart:s,shape:i,edits:p,relationships:m,mode:n}){if(!o(i))return;const a=e(i);a&&t({templatePart:s,shape:r.fromJSON(a),edits:p,relationships:m,mode:n})}const i=!1;export{s as execute,i as isAsync};
