!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","tslib","../../Validation","./tools","./MapProvider","../../Hooks","esri/geometry/geometryEngineAsync"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=e("tslib"),i=e("../../Validation"),o=e("./tools"),r=e("./MapProvider"),a=e("../../Hooks"),c=e("esri/geometry/geometryEngineAsync"),r=(s.prototype.execute=function(e,t,n){e=i.validation.exists("spatialReference",e.spatialReference),e=c.extendedSpatialReferenceInfo(n.getOutSR(e));return o.inline(e,function(e){return{spatialReference:e}})},s.action="gcx:wf:arcgis::ExtendedSpatialReferenceInfoEngineTask",s.suite="gcx:wf:builtin",n.__decorate([a.activate(r.MapProvider)],s));function s(){}t.ExtendedSpatialReferenceInfoEngineTask=r});