!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 o=e("tslib"),a=e("../../Validation"),i=e("./MapProvider"),r=e("../../Hooks"),d=e("./tools"),i=(n.prototype.execute=function(e,t,o){var i=a.validation.string("name",e.name),r=a.validation.id("layerId",e.layerId,a.validation.never),n=o.create();return d.inline(n.load(),function(){var e=n.findLayer(r);return null!=e?d.inline(e.load(),function(){return{value:e.getProperty(i)}}):{}})},n.action="gcx:wf:arcgis::GetLayerProperty",n.suite="gcx:wf:builtin",o.__decorate([r.activate(i.MapProvider)],n));function n(){}t.GetLayerProperty=i});