<commit_before>/*!
 * Dragster - drag'n'drop library v1.0.0
 * https://github.com/sunpietro/dragster
 *
 * Copyright 2015 <NAME>
 * http://blog.piotrnalepa.pl
 *
 * Released under the MIT license
 * https://github.com/sunpietro/dragster/blob/master/LICENSE
 *
 * Date: 2015-03-11T08:00Z
 */
(function(e,t){e.DD=function(e){var n="is-dragging",r="is-drag-over",o="dragster-draggable",i="dragster-drag-region",s="dragster-drop-placeholder",a="dragster-temp",l="dragster-is-hidden",c={elementSelector:".dragster-block",regionSelector:".dragster-region"},d="draggable",u="data-placeholder-position",f={top:false,bottom:false},p,m,h,v,g,L,y,E,b,w,A,C,S,B,N,T,q;for(p in e){if(e.hasOwnProperty(p)){c[p]=e[p]}}y=Array.prototype.slice.call(t.querySelectorAll(c.elementSelector));m=Array.prototype.slice.call(t.querySelectorAll(c.regionSelector));h=function(e,t){var n=e.parentNode;if(!n||e.classList&&e.classList.contains(i)){return undefined}if(t(e)){return e}return t(n)?n:h(n,t)};q=function(e){var n=Array.prototype.slice.call(t.querySelectorAll(e));n.forEach(function(e){e.parentNode.removeChild(e)})};B=function(){var e=t.createElement("div");e.setAttribute(d,true);e.classList.add(o);return e};T=function(){var e=t.createElement("div");e.classList.add(s);return e};N=function(){var e=t.createElement("div");e.classList.add(a);e.classList.add(l);t.body.appendChild(e);return e};C=function(e,t){e.parentNode.insertBefore(t,e.nextSibling)};S=function(e,t){e.parentNode.insertBefore(t,e)};A=function(e){return e.classList&&e.classList.contains(i)};w=function(e){return e.classList&&e.classList.contains(o)};b=function(e){return e.classList&&e.classList.contains(s)};E={mousedown:function(e){e.preventDefault();var t,r=e.type==="touchstart"?"touchmove":"mousemove";m.forEach(function(e){e.addEventListener(r,E.mousemove)});L=h(e.target,w);if(!L){return false}t=L.getBoundingClientRect();v=N();v.innerHTML=L.innerHTML;v.style.width=t.width+"px";v.style.height=t.height+"px";g=v.getBoundingClientRect();L.classList.add(n)},mousemove:function(e){e.preventDefault();var n=e.changedTouches?e.changedTouches[0]:e,r=t.elementFromPoint(n.clientX,n.clientY),a=h(r,w),c,d,p;v.style.top=n.clientY+25+"px";v.style.left=n.clientX-g.width/2+"px";v.classList.remove(l);if(a&&a!==L){p=T();c=a.getBoundingClientRect();d=c.height/2;if(n.clientY-c.top<d&&!f.top){q("."+s);p.setAttribute(u,"top");S(a.firstChild,p)}else if(c.bottom-n.clientY<d&&!f.bottom){q("."+s);p.setAttribute(u,"bottom");a.appendChild(p)}}else if(r.classList.contains(i)&&r.querySelectorAll("."+o).length===0){p=T();r.appendChild(p)}},mouseup:function(e){var o=t.querySelector("."+s),i,l,c=e.type==="touchstart"?"touchmove":"mousemove",d;if(!L||!o){return false}L.classList.remove(n);i=h(o,w);i=i||o;if(L!==i){d=B();d.innerHTML=L.innerHTML;l=o.getAttribute(u);if(l==="top"){S(i,d)}else{C(i,d)}i.classList.remove(r);L.parentNode.removeChild(L)}m.forEach(function(e){e.removeEventListener(c,E.mousemove)});q("."+s);q("."+a)}};y.forEach(function(e){var t=B(),n=e.parentNode;n.insertBefore(t,e);n.removeChild(e);t.appendChild(e)});m.forEach(function(e){e.classList.add(i);e.addEventListener("mousedown",E.mousedown,false);e.addEventListener("mouseup",E.mouseup,false);e.addEventListener("touchstart",E.mousedown,false);e.addEventListener("touchend",E.mouseup,false)})}})(window,window.document);<commit_msg>Updated the minified version of dragster library<commit_after>/*!
 * Dragster - drag'n'drop library v1.0.0
 * https://github.com/sunpietro/dragster
 *
 * Copyright 2015 <NAME>
 * http://blog.piotrnalepa.pl
 *
 * Released under the MIT license
 * https://github.com/sunpietro/dragster/blob/master/LICENSE
 *
 * Date: 2015-03-11T08:00Z
 */
(function(e,t){e.DD=function(e){var n="is-dragging",r="is-drag-over",o="dragster-draggable",i="dragster-drag-region",s="dragster-drop-placeholder",a="dragster-temp",l="dragster-is-hidden",c={elementSelector:".dragster-block",regionSelector:".dragster-region"},d="draggable",u="data-placeholder-position",f={top:false,bottom:false},p,m,h,g,v,L,y,E,b,w,A,C,S,q,B,N,T;for(p in e){if(e.hasOwnProperty(p)){c[p]=e[p]}}y=Array.prototype.slice.call(t.querySelectorAll(c.elementSelector));m=Array.prototype.slice.call(t.querySelectorAll(c.regionSelector));h=function(e,t){var n=e.parentNode;if(!n||e.classList&&e.classList.contains(i)){return undefined}if(t(e)){return e}return t(n)?n:h(n,t)};T=function(e){var n=Array.prototype.slice.call(t.querySelectorAll(e));n.forEach(function(e){e.parentNode.removeChild(e)})};q=function(){var e=t.createElement("div");e.setAttribute(d,true);e.classList.add(o);return e};N=function(){var e=t.createElement("div");e.classList.add(s);return e};B=function(){var e=t.createElement("div");e.classList.add(a);e.classList.add(l);t.body.appendChild(e);return e};C=function(e,t){e.parentNode.insertBefore(t,e.nextSibling)};S=function(e,t){e.parentNode.insertBefore(t,e)};A=function(e){return e.classList&&e.classList.contains(i)};w=function(e){return e.classList&&e.classList.contains(o)};b=function(e){return e.classList&&e.classList.contains(s)};E={mousedown:function(e){e.preventDefault();var t,r=e.type==="touchstart"?"touchmove":"mousemove";m.forEach(function(e){e.addEventListener(r,E.mousemove)});L=h(e.target,w);if(!L){return false}t=L.getBoundingClientRect();g=B();g.innerHTML=L.innerHTML;g.style.width=t.width+"px";g.style.height=t.height+"px";v=g.getBoundingClientRect();L.classList.add(n)},mousemove:function(e){e.preventDefault();var n=e.changedTouches?e.changedTouches[0]:e,r=t.elementFromPoint(n.clientX,n.clientY),a=h(r,w),c,d,p;g.style.top=n.clientY+25+"px";g.style.left=n.clientX-v.width/2+"px";g.classList.remove(l);if(a&&a!==L){p=N();c=a.getBoundingClientRect();d=c.height/2;if(n.clientY-c.top<d&&!f.top){T("."+s);p.setAttribute(u,"top");S(a.firstChild,p)}else if(c.bottom-n.clientY<d&&!f.bottom){T("."+s);p.setAttribute(u,"bottom");a.appendChild(p)}}else if(r.classList.contains(i)&&r.querySelectorAll("."+o).length===0&&r.querySelectorAll("."+s).length===0){p=N();r.appendChild(p)}},mouseup:function(e){var o=t.querySelector("."+s),i,l,c=e.type==="touchstart"?"touchmove":"mousemove",d;if(!L||!o){return false}L.classList.remove(n);i=h(o,w);i=i||o;if(L!==i){d=q();d.innerHTML=L.innerHTML;l=o.getAttribute(u);if(l==="top"){S(i,d)}else{C(i,d)}i.classList.remove(r);L.parentNode.removeChild(L)}m.forEach(function(e){e.removeEventListener(c,E.mousemove)});T("."+s);T("."+a)}};y.forEach(function(e){var t=q(),n=e.parentNode;n.insertBefore(t,e);n.removeChild(e);t.appendChild(e)});m.forEach(function(e){e.classList.add(i);e.addEventListener("mousedown",E.mousedown,false);e.addEventListener("mouseup",E.mouseup,false);e.addEventListener("touchstart",E.mousedown,false);e.addEventListener("touchend",E.mouseup,false)})}})(window,window.document);
{'fraction_non_alphanumeric': 0.25254913551056596, 'fraction_numerical': 0.007536574552977686, 'mean_word_length': 12.270588235294118, 'pattern_counts': {'":': 4, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 4, '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': '6245205', 'n_tokens_mistral': 2694, 'n_tokens_neox': 2724, 'n_words': 93}