!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation","./ArcGisApiVersion"],e)}(function(e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var r=e("../../Validation"),t=e("./ArcGisApiVersion"),e=(n.prototype.execute=function(e){e=r.validation.exists("layer",e.layer);return this.refresh(e),{}},n.prototype.refresh=function(e){var i;"function"==typeof e.refresh&&(t.isArcGisApiVersion3x&&"boolean"==typeof e.disableClientCaching?(i=e.disableClientCaching,e.disableClientCaching=!0,e.refresh(),e.disableClientCaching=i):e.refresh())},n.action="gcx:wf:arcgis::RefreshLayer",n.suite="gcx:wf:builtin",n);function n(){}i.RefreshLayer=e});