<commit_before>!function(a){a.fn.tutorialJS=function(b){function n(){o(),m&&(tpl=q(),p(e[d].target),a(e[d].target).append(tpl))}function o(){a(".tutorial-item-wrap").remove()}function p(b){k=b,l=a(k).parent().offset().top,a("body,html").animate({scrollTop:l-j},c.speed)}function q(){var a=h;for(var b in g)if("tutorial-actions"===b){f=r(e[d][g[b]]);var c=new RegExp("\\[\\["+b+"]]","g");a=a.replace(c,f)}else{var c=new RegExp("\\[\\["+b+"]]","g");a=a.replace(c,e[d][g[b]])}return a}function r(a){var b="";for(i=0;i<a.length;i++)b+='<a href="#" class="tutorial-btn" data-action="'+a[i]+'">'+a[i].capitalize()+"</a> ";return b}var c=a.extend({tutorial_btn:"tutorial-btn",tutorial_next:"tutorial-next",tutorial_start:"tutorial-start",tutorial_previous:"tutorial-previous",tutorial_complete:"tutorial-completed",tutorial_restart:"tutorial-restart",nav_selector:"navbar",speed:250,autostart:!1},b),d=0,e=this[0].steps,f=clickAction="",g={"tutorial-direction":"direction","tutorial-title":"title","tutorial-content":"content","tutorial-actions":"actions"},h='<div class="tutorial-item-wrap [[tutorial-direction]]"><div class="tutorial-arrow"></div><div class="tutorial-item-header">[[tutorial-title]]</div><div class="tutorial-item-content">[[tutorial-content]]</div><div class="tutorial-item-actions">[[tutorial-actions]]</div></div>',j=a("."+c.nav_selector).outerHeight(),k="",l=0,m=!0;a(this[0].steps).each(function(){a(this.target).addClass("class-tutorial-relative")}),c.autostart&&a(window).on("load",function(){n()}),a("body").on("click","."+c.tutorial_btn,function(b){switch(clickAction=a(this).data("action")){case"start":m=!0,d=0;break;case"next":m=!0,d+=1;break;case"previous":m=!0,d-=1;break;case"completed":m=!1,d=0;break;case"restart":m=!0,d=0}n(),b.preventDefault()}),String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)}}}(jQuery);<commit_msg>Updated minified version<commit_after>!function(a){a.fn.tutorialJS=function(b){function n(){o(),m&&(tpl=q(),p(e[d].target),a(e[d].target).append(tpl))}function o(){a(".tutorial-item-wrap").remove()}function p(b){k=b,l=a(k).parent().offset().top,a("body,html").animate({scrollTop:l-j},c.speed)}function q(){var a=h;for(var b in g)if("tutorial-actions"===b){f=r(e[d][g[b]]);var c=new RegExp("\\[\\["+b+"]]","g");a=a.replace(c,f)}else{var c=new RegExp("\\[\\["+b+"]]","g");a=a.replace(c,e[d][g[b]])}return e[d].substeps&&s(e[d].substeps),a}function r(a){var b="";for(i=0;i<a.length;i++)b+='<a href="#" class="tutorial-btn" data-action="'+a[i]+'">'+a[i].capitalize()+"</a> ";return b}function s(){}var c=a.extend({tutorial_btn:"tutorial-btn",tutorial_next:"tutorial-next",tutorial_start:"tutorial-start",tutorial_previous:"tutorial-previous",tutorial_complete:"tutorial-completed",tutorial_restart:"tutorial-restart",nav_selector:"navbar",speed:250,autostart:!1},b),d=0,e=this[0].steps,f=clickAction="",g={"tutorial-direction":"direction","tutorial-title":"title","tutorial-content":"content","tutorial-actions":"actions"},h='<div class="tutorial-item-wrap [[tutorial-direction]]"><div class="tutorial-arrow"></div><div class="tutorial-item-header">[[tutorial-title]]</div><div class="tutorial-item-content">[[tutorial-content]]</div><div class="tutorial-item-actions">[[tutorial-actions]]</div></div>',j=a("."+c.nav_selector).outerHeight(),k="",l=0,m=!0;a(this[0].steps).each(function(){a(this.target).addClass("class-tutorial-relative")}),c.autostart&&a(window).on("load",function(){n()}),a("body").on("click","."+c.tutorial_btn,function(b){switch(clickAction=a(this).data("action")){case"start":m=!0,d=0;break;case"next":m=!0,d+=1;break;case"previous":m=!0,d-=1;break;case"completed":m=!1,d=0;break;case"restart":m=!0,d=0}n(),b.preventDefault()}),String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)}}}(jQuery);
{'fraction_non_alphanumeric': 0.2954367666232073, 'fraction_numerical': 0.011473272490221642, 'mean_word_length': 15.824561403508772, 'pattern_counts': {'":': 18, '<': 29, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5731715', 'n_tokens_mistral': 1566, 'n_tokens_neox': 1487, 'n_words': 60}