(()=>{function e(e,a){function r(e){e=e.placeholder||e.label;return a.getString(e)}function t(e,r){return l(e,r,!1)}function n(e,r){return l(e,r,!0)}function l(e,r,t){var n=!_.isUndefined(e.config[r.property]),t=t&&_.isString(r.default)?a.getString(r.default):r.default;return n?e.config[r.property]:t}_.assign(this,{placeholder:r,currentValueOrDefault:t,currentValueOrTranslatedDefault:n}),_.assign(e,{placeholder:r,currentValueOrDefault:t,currentValueOrTranslatedDefault:n})}e.$inject=["$scope","gettextCatalog"],angular.module("c8y.smartRules").controller("smartRuleParamInputCtrl",e)})();