!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=e("../../Validation"),e=(o.prototype.addValuesToArray=function(e,t){"number"==typeof e?t.push(e):t.push.apply(t,e)},o.prototype.execute=function(e){a.validation.exists("value1",e.value1);var t=[];return this.addValuesToArray(e.value1,t),null!==e.value2&&void 0!==e.value2&&this.addValuesToArray(e.value2,t),{result:Math.min.apply(Math,t)}},o.action="gcx:wf:math::Min",o.suite="gcx:wf:builtin",o);function o(){}t.Min=e});