<commit_before>/**
 * SuperTable makes the thead of any Table scroll with the browser
 * This is sometimes preferable over pure CSS table head scrolling as it
 * gives the user a more fluid experience if they prefer not to have more
 * than the one scroll-bar in the browser window.
 *
 * Author: <NAME>
 * Released under the MIT license
 * https://github.com/hackley2/super-table
 *
 * Date: 2016-01-012
 *
 */
!function(o){o.fn.superTable=function(t){return this.each(function(){function s(t){return o.extend(_,t),e(),1==_.remove?void(_.remove=!1):(_.rowCollapse&&b(),_.columnCollapse&&w(),void(_.startCollapsed&&(m(!1),C(!1))))}function e(){_.scrollHead&&l(),_.scrollColumn&&u()}function l(){return _.remove?void o(B).remove():void(0!=o(B).length?(p(),f()):r())}function r(){var t=W.attr("class"),s="<div id='"+j+"div' class='hidden' style='display:none; overflow:hidden; border-bottom:1px solid "+W.css("border-right-color")+";'><table id='"+j+"' class='"+t+"' style='border: none !important;'></table></div>";o("body").append(s),o(M).css("border-left-width",W.css("border-left-width")),o(M).css("border-left-color",W.css("border-left-color")),o(M).css("border-left-style",W.css("border-left-style")),o(M).css("border-right-width",W.css("border-right-width")),o(M).css("border-right-color",W.css("border-right-color")),o(M).css("border-right-style",W.css("border-right-style"));var e=W.children("thead").clone();e.appendTo(B),e=W.children("tbody").clone(),e.appendTo(B);var l=W.offset();o(M).css({position:"fixed",marginLeft:"0px",marginTop:"0px",top:"0px",left:l.left,"z-index":"1111"}),c(),p(),f(),o(window).scroll(function(){f()}),o(window).resize(function(){p(),c(),f()})}function d(){z||(o(M).show().css("display","block"),z=!0)}function a(){H||(o(A).show().css("display","block"),H=!0)}function n(){z&&(o(M).hide(),z=!1)}function i(){H&&(o(A).hide(),H=!1)}function c(){o(M).css("height",W.children("thead").height())}function p(){o(M).css("width",W.outerWidth())}function h(){o(A).css("width",E()),o(q).css("width",W.outerWidth())}function f(){if(W.filter(":visible").length>=1){var t=W.offset(),s=W.height(),e=o(M).offset(),l=o(M).height(),r=o(window).scrollLeft(),a=o(window).scrollTop();if(t.left!=r+e.left){var i=0-(r-t.left);o(M).css("left",i+"px")}if(t.top<e.top&&t.top+s>e.top){var c=t.top+s-a;c-=l,0>=c?o(M).css("top",c+"px"):o(M).css("top","0px"),d()}else n()}else n()}function u(){if(_.remove)return void o(A).remove();var t=W.attr("class"),s=W.outerWidth(),e=E();if(0!=o(q).length)o(A).width(e);else{var l="<div id='"+Q+"div' style='display:none; overflow:hidden; border-right:1px solid; background:white; "+W.css("border-right-color")+";'><table id='"+Q+"' class='"+t+"' style='padding:0; background: white; width:"+s+"px; border-bottom-width:"+W.css("border-bottom-width")+"; top: -1px;'></table></div>";o("body").append(l);var r=W.children("thead"),d=r.clone();d.appendTo(q),r=W.children("tbody"),d=r.clone(),d.appendTo(q),o(A).width(e),o(A).css({position:"fixed",marginLeft:"0px",marginTop:"0px",top:"0px",left:"0px","z-index":"1110"}),o(q).css({"background-color":W.find(" th:nth-child(2)").css("background-color"),marginBottom:"0px"}),v(),o(window).scroll(function(){v()}),o(window).resize(function(){v()})}}function v(){if(W.filter(":visible").length>=1){var t=W.offset(),s=W.width(),e=o(A).offset(),l=o(A).width(),r=o(window).scrollLeft(),d=o(window).scrollTop(),n=o(window).width();if(h(),t.top!=e.top){var c=0-(d-t.top);o(A).css("top",c+"px")}if(t.left<r&&t.left<r+n){var p=t.left+s-e.left-l;0>p?(o(A).css("left",p+"px"),a()):(o(A).css("left","0px"),a())}else i()}else i()}function w(){var t=o("."+y()+">thead>tr>th");t.css("cursor","pointer"),t.click(function(){var t=o(this).attr("data-ST-group");C(t)}),o('*[data-super-table="'+W.attr("id")+'"]').click(function(){var o=!1;C(o)})}function C(t){var s="";t&&(s="[data-ST-group='"+t+"']");var l=!1;_.columnCollapsedClass!=_.columnExpandedClass&&""!=_.columnCollapsedClass&&""!=_.columnExpandedClass&&(l=!0);var r=o("."+y()+" .columnHideable"+s);"none"!=r.css("display")?(r.hide(),o("."+y()+" "+s+"[data-colspanmin]").each(function(){var t=o(this).attr("data-colspanmin");o(this).attr("colspan",t)}),l&&o("."+y()+" ."+_.columnExpandedClass+s).removeClass(_.columnExpandedClass).addClass(_.columnCollapsedClass)):(r.show(),o("."+y()+" "+s+"[data-colspanmax]").each(function(){var t=o(this).attr("data-colspanmax");o(this).attr("colspan",t)}),l&&o("."+y()+" ."+_.columnCollapsedClass+s).removeClass(_.columnCollapsedClass).addClass(_.columnExpandedClass)),c(),h(),e()}function b(){var t=o("."+y()+">tbody>tr>td:first-child"),s=o("."+y()+">thead>tr>th:first-child");t.css("cursor","pointer"),t.click(function(){var t=o(this).parent().attr("data-ST-group");m(t)}),s.click(function(){var o=!1;m(o)}),o('*[data-super-table="'+W.attr("id")+'"]').click(function(){var o=!1;m(o)})}function m(t){var s=!1;_.rowCollapsedClass!=_.rowExpandedClass&&""!=_.rowCollapsedClass&&""!=_.rowExpandedClass&&(s=!0);var l="";t&&(l="[data-ST-group='"+t+"']");var r=o("."+y()+" .rowHideable"+l);r.hasClass("hidden")?(r.removeClass("hidden").show(),s&&g(l)):(r.addClass("hidden").hide(),s&&x(l)),e()}function x(t){o("."+y()+" "+t+" ."+_.rowCollapsedClass).removeClass(_.rowCollapsedClass).addClass(_.rowExpandedClass)}function g(t){o("."+y()+" "+t+" ."+_.rowExpandedClass).removeClass(_.rowExpandedClass).addClass(_.rowCollapsedClass)}function y(){return L}function T(){if(""==L){if(null==W.attr("id")||""==W.attr("id"))for(var t=0;L="";t++)0==o(".ST_"+t).length&&(L="ST_"+t);else L="ST_"+W.attr("id");W.addClass(L)}}function E(){var o=k(),t=S();return Math.max(o,t)}function k(){var t=0;return W.children("tbody").children("tr").children("td:first-child").each(function(){0==t&&(t=o(this).innerWidth())}),t}function S(){var t=0;return W.children("thead").children("tr").children("th:first-child").each(function(){var s=o(this).outerWidth();s>t&&(t=s)}),t}var W=o(this),_=o.fn.superTable.defaults;o.extend(_,t);var z=!1,H=!1,L="";T();var j=y()+"_head",B="#"+j,M=B+"div",Q=y()+"_column",q="#"+Q,A=q+"div";s(t)})},o.fn.superTable.defaults={rowCollapse:!1,columnCollapse:!1,startCollapsed:!1,scrollHead:!0,scrollColumn:!0,rowCollapsedClass:"",rowExpandedClass:"",columnCollapsedClass:"",columnExpandedClass:"",remove:!1}}(jQuery);<commit_msg>updated jquery.super-table.min.js<commit_after>/**
 * SuperTable makes the thead of any Table scroll with the browser
 * This is sometimes preferable over pure CSS table head scrolling as it
 * gives the user a more fluid experience if they prefer not to have more
 * than the one scroll-bar in the browser window.
 *
 * Author: <NAME>
 * Released under the MIT license
 * https://github.com/hackley2/super-table
 *
 * Date: 2016-01-012
 *
 */
!function(o){o.fn.superTable=function(t){return this.each(function(){function s(t){return o.extend(_,t),e(),_.rowCollapse&&b(),_.columnCollapse&&w(),1==_.remove?void(_.remove=!1):void(_.startCollapsed&&(m(!1),C(!1)))}function e(){_.scrollHead&&r(),_.scrollColumn&&u()}function r(){return _.remove?(o(Q).remove(),o(window).off("scroll"),void o(window).off("resize")):void(0!=o(M).length?(f(),h()):l())}function l(){var t=W.attr("class"),s="<div id='"+B+"div' class='hidden' style='display:none; overflow:hidden; border-bottom:1px solid "+W.css("border-right-color")+";'><table id='"+B+"' class='"+t+"' style='border: none !important;'></table></div>";o("body").append(s),o(Q).css("border-left-width",W.css("border-left-width")),o(Q).css("border-left-color",W.css("border-left-color")),o(Q).css("border-left-style",W.css("border-left-style")),o(Q).css("border-right-width",W.css("border-right-width")),o(Q).css("border-right-color",W.css("border-right-color")),o(Q).css("border-right-style",W.css("border-right-style"));var e=W.children("thead").clone();e.appendTo(M),e=W.children("tbody").clone(),e.appendTo(M);var r=W.offset();o(Q).css({position:"fixed",marginLeft:"0px",marginTop:"0px",top:"0px",left:r.left,"z-index":"1111"}),c(),f(),h(),o(window).on("scroll",function(){h()}),o(window).on("resize",function(){f(),c(),h()})}function d(){H||(o(Q).show().css("display","block"),H=!0)}function n(){L||(o(D).show().css("display","block"),L=!0)}function a(){H&&(o(Q).hide(),H=!1)}function i(){L&&(o(D).hide(),L=!1)}function c(){o(Q).css("height",W.children("thead").height())}function f(){o(Q).css("width",W.outerWidth())}function p(){o(D).css("width",E()),o(A).css("width",W.outerWidth())}function h(){if(W.filter(":visible").length>=1){var t=W.offset(),s=W.height(),e=o(Q).offset(),r=o(Q).height(),l=o(window).scrollLeft(),n=o(window).scrollTop();if(t.left!=l+e.left){var i=0-(l-t.left);o(Q).css("left",i+"px")}if(t.top<e.top&&t.top+s>e.top){var c=t.top+s-n;c-=r,0>=c?o(Q).css("top",c+"px"):o(Q).css("top","0px"),d()}else a()}else a()}function u(){if(_.remove)return o(D).remove(),o(window).off("scroll"),void o(window).off("resize");var t=W.attr("class"),s=W.outerWidth(),e=E();if(0!=o(A).length)o(D).width(e);else{var r="<div id='"+q+"div' style='display:none; overflow:hidden; border-right:1px solid; background:white; "+W.css("border-right-color")+";'><table id='"+q+"' class='"+t+"' style='padding:0; background: white; width:"+s+"px; border-bottom-width:"+W.css("border-bottom-width")+"; top: -1px;'></table></div>";o("body").append(r);var l=W.children("thead"),d=l.clone();d.appendTo(A),l=W.children("tbody"),d=l.clone(),d.appendTo(A),o(D).width(e),o(D).css({position:"fixed",marginLeft:"0px",marginTop:"0px",top:"0px",left:"0px","z-index":"1110"}),o(A).css({"background-color":W.find(" th:nth-child(2)").css("background-color"),marginBottom:"0px"}),v(),o(window).on("scroll",function(){v()}),o(window).on("resize",function(){v()})}}function v(){if(W.filter(":visible").length>=1){var t=W.offset(),s=W.width(),e=o(D).offset(),r=o(D).width(),l=o(window).scrollLeft(),d=o(window).scrollTop(),a=o(window).width();if(p(),t.top!=e.top){var c=0-(d-t.top);o(D).css("top",c+"px")}if(t.left<l&&t.left<l+a){var f=t.left+s-e.left-r;0>f?(o(D).css("left",f+"px"),n()):(o(D).css("left","0px"),n())}else i()}else i()}function w(){var t=o("."+T()+">thead>tr>th"),s=o('*[data-super-table="'+W.attr("id")+'"]');return _.remove?(t.off("click"),s.off("click"),void t.css("cursor","auto")):(t.css("cursor","pointer"),t.on("click",function(){var t=o(this).attr("data-ST-group");C(t)}),void s.on("click",function(){var o=!1;C(o)}))}function C(t){var s="";t&&(s="[data-ST-group='"+t+"']");var r=!1;_.columnCollapsedClass!=_.columnExpandedClass&&""!=_.columnCollapsedClass&&""!=_.columnExpandedClass&&(r=!0);var l=o("."+T()+" .columnHideable"+s);"none"!=l.css("display")?(l.hide(),o("."+T()+" "+s+"[data-colspanmin]").each(function(){var t=o(this).attr("data-colspanmin");o(this).attr("colspan",t)}),r&&o("."+T()+" ."+_.columnExpandedClass+s).removeClass(_.columnExpandedClass).addClass(_.columnCollapsedClass)):(l.show(),o("."+T()+" "+s+"[data-colspanmax]").each(function(){var t=o(this).attr("data-colspanmax");o(this).attr("colspan",t)}),r&&o("."+T()+" ."+_.columnCollapsedClass+s).removeClass(_.columnCollapsedClass).addClass(_.columnExpandedClass)),c(),p(),e()}function b(){var t=o("."+T()+">tbody>tr>td:first-child"),s=o("."+T()+">thead>tr>th:first-child"),e=o('*[data-super-table="'+W.attr("id")+'"]');return _.remove?(t.off("click"),s.off("click"),e.off("click"),void t.css("cursor","auto")):(t.css("cursor","pointer"),t.on("click",function(){var t=o(this).parent().attr("data-ST-group");m(t)}),s.on("click",function(){var o=!1;m(o)}),void e.on("click",function(){var o=!1;m(o)}))}function m(t){var s=!1;_.rowCollapsedClass!=_.rowExpandedClass&&""!=_.rowCollapsedClass&&""!=_.rowExpandedClass&&(s=!0);var r="";t&&(r="[data-ST-group='"+t+"']");var l=o("."+T()+" .rowHideable"+r);l.hasClass("hidden")?(l.removeClass("hidden").show(),s&&g(r)):(l.addClass("hidden").hide(),s&&x(r)),e()}function x(t){o("."+T()+" "+t+" ."+_.rowCollapsedClass).removeClass(_.rowCollapsedClass).addClass(_.rowExpandedClass)}function g(t){o("."+T()+" "+t+" ."+_.rowExpandedClass).removeClass(_.rowExpandedClass).addClass(_.rowCollapsedClass)}function T(){return j}function y(){if(""==j){var t="";if(null==W.attr("id")||""==W.attr("id"))for(var s=0;j="";s++)0==o(".ST_"+s).length&&(t="ST_"+s);else t="ST_"+W.attr("id");k(t),W.addClass(t),W.attr("data-ST-id",t)}}function k(o){j=o}function E(){var o=S(),t=z();return Math.max(o,t)}function S(){var t=0;return W.children("tbody").children("tr").children("td:first-child").each(function(){0==t&&(t=o(this).innerWidth())}),t}function z(){var t=0;return W.children("thead").children("tr").children("th:first-child").each(function(){var s=o(this).outerWidth();s>t&&(t=s)}),t}var W=o(this),_=o.fn.superTable.defaults;o.extend(_,t);var H=!1,L=!1,j="";W.attr("data-ST-id")?j=W.attr("data-ST-id"):y();var B=T()+"_head",M="#"+B,Q=M+"div",q=T()+"_column",A="#"+q,D=A+"div";s(t)})},o.fn.superTable.defaults={scrollHead:!0,scrollColumn:!0,rowCollapse:!1,rowCollapsedClass:"",rowExpandedClass:"",columnCollapse:!1,columnCollapsedClass:"",columnExpandedClass:"",startCollapsed:!1,remove:!1}}(jQuery);
{'fraction_non_alphanumeric': 0.32540474180925344, 'fraction_numerical': 0.010588506099900254, 'mean_word_length': 11.904950495049505, 'pattern_counts': {'":': 10, '<': 27, '<?xml version=': 0, '>': 51, 'https://': 2, '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': '7117417', 'n_tokens_mistral': 5171, 'n_tokens_neox': 5165, 'n_words': 350}