define(["require","exports","../../Validation","./tools","esri/geometry/geometryEngineAsync"],function(e,i,n,r,o){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var t=(a.prototype.executeUsing=function(e,i,t){switch(e){case"horizontal":return o.flipHorizontal(i,t);case"vertical":return o.flipVertical(i,t)}},a.prototype.execute=function(e){var i=n.validation.exists("geometry",e.geometry),t=n.validation.string("orientation",e.orientation),e=this.executeUsing(t,i,e.origin);return r.inline(e,function(e){return{geometry:e}})},a.action="gcx:wf:arcgis::FlipEngineTask",a.suite="gcx:wf:builtin",a);function a(){}i.FlipEngineTask=t});