!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","tslib","../../Validation","./MapProvider","../../Hooks","./tools"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=e("tslib"),r=e("../../Validation"),o=e("./MapProvider"),n=e("../../Hooks"),d=e("./tools"),o=(a.prototype.execute=function(e,t,i){var o=r.validation.id("tableId",e.tableId,r.validation.never),e=r.validation.id("mapServiceId",e.mapServiceId),n=e?e.toString():void 0,a=i.create();return d.inline(a.load(),function(){var e=a.findTable(o.toString(),n);return null!=e?d.inline(e.load(),function(){return{table:e.layer}}):{table:void 0}})},a.action="gcx:wf:arcgis::GetTable",a.suite="gcx:wf:builtin",i.__decorate([n.activate(o.MapProvider)],a));function a(){}t.GetTable=o});