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