!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation","esri/arcade/arcade"],e)}(function(e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=e("../../Validation"),d=e("esri/arcade/arcade"),e=(t.prototype.execute=function(e,r){var t=o.validation.string("script",e.script,o.validation.never),i={},a={vars:i};if(e.parameters)for(var c in e.parameters){var n=e.parameters[c];i["$"+c]=n}return{result:d.parseAndExecuteScript(t,a,null)}},t.action="gcx:wf:arcgis::ArcadeScript",t.suite="gcx:wf:builtin",t);function t(){}r.ArcadeScript=e});