!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","tslib","../../Validation","./tools","esri/geometry/geometryEngineAsync"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("tslib"),o=e("../../Validation"),i=e("./tools"),r=e("esri/geometry/geometryEngineAsync"),e=(a.prototype.execute=function(e){var t=o.validation.array("geometry1",e.geometry1,[]),e=o.validation.array("geometry2",e.geometry2,[]),e=r.union(n.__spreadArrays(t,e));return i.inline(e,function(e){return{geometry:e}})},a.action="gcx:wf:arcgis::UnionEngineTask",a.suite="gcx:wf:builtin",a);function a(){}t.UnionEngineTask=e});