define(["require","exports","../../Validation","./tools"],function(e,t,r,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(u.prototype.execute=function(e,t){e=n.featuresToArray(r.validation.exists("featureSet",e.features)).map(function(e){return e.geometry}),e=n.extentOf(e);if(void 0===e)return{};return{extent:e,center:e.center||e.getCenter()}},u.action="gcx:wf:arcgis::GetFeatureSetExtent",u.suite="gcx:wf:builtin",u);function u(){}t.GetFeatureSetExtent=i});