text: define(["jquery","core/str","core/notification"],function(a,b,c){var d={init:function(d){a(".deletecompletionhistorybutton").on("click",function(d){d.preventDefault();var e=a(this).attr("href"),f=[];f.push({key:"coursecompletionhistorydelete",component:"totara_completioneditor"}),f.push({key:"areyousure",component:"moodle"}),f.push({key:"yes",component:"moodle"}),f.push({key:"no",component:"moodle"}),b.get_strings(f).done(function(a){c.confirm(a[0],a[1],a[2],a[3],function(){window.location.href=e})})}),a(".deleteorphanedcritcomplbutton").on("click",function(d){d.preventDefault();var e=a(this).attr("href"),f=[];f.push({key:"coursecompletionorphanedcritcompldelete",component:"totara_completioneditor"}),f.push({key:"areyousure",component:"moodle"}),f.push({key:"yes",component:"moodle"}),f.push({key:"no",component:"moodle"}),b.get_strings(f).done(function(a){c.confirm(a[0],a[1],a[2],a[3],function(){window.location.href=e})})}),a(".deletecompletionlink").on("click",function(d){d.preventDefault();var e=a(this).attr("href"),f=[];f.push({key:"areyousure",component:"moodle"}),f.push({key:"coursecompletiondelete",component:"totara_completioneditor"}),f.push({key:"yes",component:"moodle"}),f.push({key:"no",component:"moodle"}),b.get_strings(f).done(function(a){c.confirm(a[0],a[1],a[2],a[3],function(){window.location.href=e})})})}};return d});