!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation","./tools","esri/geometry/geometryEngineAsync"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("../../Validation"),o=e("./tools"),r=e("esri/geometry/geometryEngineAsync"),e=(n.prototype.execute=function(e){var t=i.validation.exists("geometry",e.geometry),n=i.validation.number("distance",e.distance),e=(i.validation.string("joinType",e.joinType),r.offset(t,n,e.unit,e.joinType,e.bevelRatio,e.flattenError));return o.inline(e,function(e){return{geometry:e}})},n.action="gcx:wf:arcgis::OffsetEngineTask",n.suite="gcx:wf:builtin",n);function n(){}t.OffsetEngineTask=e});