(()=>{function e(e,a){e.emailsPattern=_.get(e.param,"allowMultiple",!0)?/^([a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*,?)*$/i:/^([a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*,?)$/i,e.emailsPlaceholder=_.get(e.param,"allowMultiple",!0)?a("e.g. joe.doe@example.com,john.smith@example.com`LOCALIZE`"):a("e.g. joe.doe@example.com`LOCALIZE`")}e.$inject=["$scope","gettext"],angular.module("c8y.smartRules").directive("smartRuleParamInputEmail",function(){return{require:"^smartRuleParamInput",scope:{rule:"=",param:"="},restrict:"E",templateUrl:":::PLUGIN_PATH:::/views/paramInputEmail.html",link:function(e,a,l,t){e.placeholder=t.placeholder},controller:e}})})();