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