<commit_before>(function(n,g){"object"===typeof exports?g(exports):"function"===typeof define&&define.amd?define(["exports"],g):g(n)})(this,function(n){function g(a){this._targetElement=a;this._options={nextLabel:"Next &rarr;",prevLabel:"&larr; Back",skipLabel:"Skip",doneLabel:"Done",tooltipPosition:"bottom"}}function m(){"undefined"===typeof this._currentStep?this._currentStep=0:++this._currentStep;this._introItems.length<=this._currentStep?("function"===typeof this._introCompleteCallback&&this._introCompleteCallback.call(this),
l.call(this,this._targetElement)):s.call(this,this._introItems[this._currentStep].element)}function t(){if(0===this._currentStep)return!1;s.call(this,this._introItems[--this._currentStep].element)}function l(a){var b=a.querySelector(".introjs-overlay");b.style.opacity=0;setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b)},500);(a=a.querySelector(".introjs-helperLayer"))&&a.parentNode.removeChild(a);if(a=document.querySelector(".introjs-showElement"))a.className=a.className.replace(/introjs-[a-zA-Z]+/g,
"").replace(/^\s+|\s+$/g,"");window.removeEventListener?window.removeEventListener("keydown",this._onKeyDown,!0):document.detachEvent&&document.detachEvent("onkeydown",this._onKeyDown);this._currentStep=void 0;void 0!=this._introExitCallback&&this._introExitCallback.call(this)}function u(a,b,d){a=p(b);b.style.top=null;b.style.right=null;b.style.bottom=null;b.style.left=null;if(this._introItems[this._currentStep])switch(this._introItems[this._currentStep].position){case "top":b.style.left="15px";b.style.top=
"-"+(a.height+10)+"px";d.className="introjs-arrow bottom";break;case "right":b.style.right="-"+(a.width+10)+"px";d.className="introjs-arrow left";break;case "left":b.style.top="15px";b.style.left="-"+(a.width+10)+"px";d.className="introjs-arrow right";break;default:b.style.bottom="-"+(a.height+10)+"px",d.className="introjs-arrow top"}}function s(a){var b;"undefined"!==typeof this._introChangeCallback&&this._introChangeCallback.call(this,a);var d=this,e=document.querySelector(".introjs-helperLayer"),
c=p(a);if(null!=e){var g=e.querySelector(".introjs-helperNumberLayer"),j=e.querySelector(".introjs-tooltiptext"),v=e.querySelector(".introjs-arrow"),q=e.querySelector(".introjs-tooltip");b=e.querySelector(".introjs-skipbutton");var f=e.querySelector(".introjs-prevbutton"),h=e.querySelector(".introjs-nextbutton");q.style.opacity=0;e.setAttribute("style","width: "+(c.width+10)+"px; height:"+(c.height+10)+"px; top:"+(c.top-5)+"px;left: "+(c.left-5)+"px;");c=document.querySelector(".introjs-showElement");
c.className=c.className.replace(/introjs-[a-zA-Z]+/g,"").replace(/^\s+|\s+$/g,"");d._lastShowElementTimer&&clearTimeout(d._lastShowElementTimer);d._lastShowElementTimer=setTimeout(function(){g.innerHTML=a.getAttribute("data-step");j.innerHTML=a.getAttribute("data-intro");u.call(d,a,q,v);q.style.opacity=1},350)}else{b=document.createElement("div");var f=document.createElement("span"),e=document.createElement("div"),k=document.createElement("div");b.className="introjs-helperLayer";b.setAttribute("style",
"width: "+(c.width+10)+"px; height:"+(c.height+10)+"px; top:"+(c.top-5)+"px;left: "+(c.left-5)+"px;");this._targetElement.appendChild(b);f.className="introjs-helperNumberLayer";e.className="introjs-arrow";k.className="introjs-tooltip";f.innerHTML=a.getAttribute("data-step");k.innerHTML='<div class="introjs-tooltiptext">'+a.getAttribute("data-intro")+'</div><div class="introjs-tooltipbuttons"></div>';b.appendChild(f);k.appendChild(e);b.appendChild(k);h=document.createElement("a");h.onclick=function(){d._introItems.length-
1!=d._currentStep&&m.call(d)};h.href="javascript:void(0);";h.innerHTML=this._options.nextLabel;f=document.createElement("a");f.onclick=function(){0!=d._currentStep&&t.call(d)};f.href="javascript:void(0);";f.innerHTML=this._options.prevLabel;b=document.createElement("a");b.className="introjs-button introjs-skipbutton";b.href="javascript:void(0);";b.innerHTML=this._options.skipLabel;b.onclick=function(){l.call(d,d._targetElement)};c=k.querySelector(".introjs-tooltipbuttons");c.appendChild(b);c.appendChild(f);
c.appendChild(h);u.call(d,a,k,e)}0==this._currentStep?(f.className="introjs-button introjs-prevbutton introjs-disabled",h.className="introjs-button introjs-nextbutton",b.innerHTML=this._options.skipLabel):this._introItems.length-1==this._currentStep?(b.innerHTML=this._options.doneLabel,f.className="introjs-button introjs-prevbutton",h.className="introjs-button introjs-nextbutton introjs-disabled"):(f.className="introjs-button introjs-prevbutton",h.className="introjs-button introjs-nextbutton",b.innerHTML=
this._options.skipLabel);a.className+=" introjs-showElement";c="";a.currentStyle?c=a.currentStyle.position:document.defaultView&&document.defaultView.getComputedStyle&&(c=document.defaultView.getComputedStyle(a,null).getPropertyValue("position"));c=c.toLowerCase();"absolute"!==c&&"relative"!==c&&(a.className+=" introjs-relativePosition");c=a.getBoundingClientRect();0<=c.top&&0<=c.left&&c.bottom+80<=window.innerHeight&&c.right<=window.innerWidth||(b=a.getBoundingClientRect(),c=b.bottom-(b.bottom-b.top),
f=b.bottom,b=void 0!=window.innerWidth?window.innerHeight:document.documentElement.clientHeight,b=f-b,0>c?window.scrollBy(0,c-30):window.scrollBy(0,b+100))}function w(a){var b=document.createElement("div"),d="",e=this;b.className="introjs-overlay";if("body"===a.tagName.toLowerCase())d+="top: 0;bottom: 0; left: 0;right: 0;position: fixed;",b.setAttribute("style",d);else{var c=p(a);c&&(d+="width: "+c.width+"px; height:"+c.height+"px; top:"+c.top+"px;left: "+c.left+"px;",b.setAttribute("style",d))}a.appendChild(b);
b.onclick=function(){l.call(e,a)};setTimeout(function(){d+="opacity: .5;";b.setAttribute("style",d)},10);return!0}function p(a){var b={};b.width=a.offsetWidth;b.height=a.offsetHeight;for(var d=0,e=0;a&&!isNaN(a.offsetLeft)&&!isNaN(a.offsetTop);)d+=a.offsetLeft,e+=a.offsetTop,a=a.offsetParent;b.top=e;b.left=d;return b}var r=function(a){if("object"===typeof a)return new g(a);if("string"===typeof a){if(a=document.querySelector(a))return new g(a);throw Error("There is no element with given selector.");
}return new g(document.body)};r.version="0.3.0";r.fn=g.prototype={clone:function(){return new g(this)},setOption:function(a,b){this._options[a]=b;return this},setOptions:function(a){var b=this._options,d={},e;for(e in b)d[e]=b[e];for(e in a)d[e]=a[e];this._options=d;return this},start:function(){var a=this._targetElement,b=a.querySelectorAll("*[data-intro]"),d=[],e=this;if(!(1>b.length)){for(var c=0,g=b.length;c<g;c++){var j=b[c];d.push({element:j,intro:j.getAttribute("data-intro"),step:parseInt(j.getAttribute("data-step"),
10),position:j.getAttribute("data-position")||this._options.tooltipPosition})}d.sort(function(a,b){return a.step-b.step});e._introItems=d;w.call(e,a)&&(m.call(e),a.querySelector(".introjs-skipbutton"),a.querySelector(".introjs-nextbutton"),e._onKeyDown=function(b){27===b.keyCode?l.call(e,a):37===b.keyCode?t.call(e):(39===b.keyCode||13===b.keyCode)&&m.call(e)},window.addEventListener?window.addEventListener("keydown",e._onKeyDown,!0):document.attachEvent&&document.attachEvent("onkeydown",e._onKeyDown))}return this},
goToStep:function(a){this._currentStep=a-2;"undefined"!==typeof this._introItems&&m.call(this);return this},exit:function(){l.call(this,this._targetElement)},onchange:function(a){if("function"===typeof a)this._introChangeCallback=a;else throw Error("Provided callback for onchange was not a function.");return this},oncomplete:function(a){if("function"===typeof a)this._introCompleteCallback=a;else throw Error("Provided callback for oncomplete was not a function.");return this},onexit:function(a){if("function"===
typeof a)this._introExitCallback=a;else throw Error("Provided callback for onexit was not a function.");return this}};return n.introJs=r});<commit_msg>add minified version<commit_after>(function(n,g){"object"===typeof exports?g(exports):"function"===typeof define&&define.amd?define(["exports"],g):g(n)})(this,function(n){function g(a){this._targetElement=a;this._options={nextLabel:"Next &rarr;",prevLabel:"&larr; Back",skipLabel:"Skip",doneLabel:"Done",tooltipPosition:"bottom"}}function m(){"undefined"===typeof this._currentStep?this._currentStep=0:++this._currentStep;this._introItems.length<=this._currentStep?("function"===typeof this._introCompleteCallback&&this._introCompleteCallback.call(this),
l.call(this,this._targetElement)):s.call(this,this._introItems[this._currentStep])}function t(){if(0===this._currentStep)return!1;s.call(this,this._introItems[--this._currentStep])}function l(a){var b=a.querySelector(".introjs-overlay");b.style.opacity=0;setTimeout(function(){b.parentNode&&b.parentNode.removeChild(b)},500);(a=a.querySelector(".introjs-helperLayer"))&&a.parentNode.removeChild(a);if(a=document.querySelector(".introjs-showElement"))a.className=a.className.replace(/introjs-[a-zA-Z]+/g,
"").replace(/^\s+|\s+$/g,"");window.removeEventListener?window.removeEventListener("keydown",this._onKeyDown,!0):document.detachEvent&&document.detachEvent("onkeydown",this._onKeyDown);this._currentStep=void 0;void 0!=this._introExitCallback&&this._introExitCallback.call(this)}function u(a,b,d){a=p(b);b.style.top=null;b.style.right=null;b.style.bottom=null;b.style.left=null;if(this._introItems[this._currentStep])switch(this._introItems[this._currentStep].position){case "top":b.style.left="15px";b.style.top=
"-"+(a.height+10)+"px";d.className="introjs-arrow bottom";break;case "right":b.style.right="-"+(a.width+10)+"px";d.className="introjs-arrow left";break;case "left":b.style.top="15px";b.style.left="-"+(a.width+10)+"px";d.className="introjs-arrow right";break;default:b.style.bottom="-"+(a.height+10)+"px",d.className="introjs-arrow top"}}function s(a){var b;"undefined"!==typeof this._introChangeCallback&&this._introChangeCallback.call(this,a.element);var d=this,e=document.querySelector(".introjs-helperLayer"),
c=p(a.element);if(null!=e){var g=e.querySelector(".introjs-helperNumberLayer"),j=e.querySelector(".introjs-tooltiptext"),v=e.querySelector(".introjs-arrow"),q=e.querySelector(".introjs-tooltip");b=e.querySelector(".introjs-skipbutton");var f=e.querySelector(".introjs-prevbutton"),h=e.querySelector(".introjs-nextbutton");q.style.opacity=0;e.setAttribute("style","width: "+(c.width+10)+"px; height:"+(c.height+10)+"px; top:"+(c.top-5)+"px;left: "+(c.left-5)+"px;");c=document.querySelector(".introjs-showElement");
c.className=c.className.replace(/introjs-[a-zA-Z]+/g,"").replace(/^\s+|\s+$/g,"");d._lastShowElementTimer&&clearTimeout(d._lastShowElementTimer);d._lastShowElementTimer=setTimeout(function(){g.innerHTML=a.step;j.innerHTML=a.intro;u.call(d,a.element,q,v);q.style.opacity=1},350)}else{b=document.createElement("div");var f=document.createElement("span"),e=document.createElement("div"),k=document.createElement("div");b.className="introjs-helperLayer";b.setAttribute("style","width: "+(c.width+10)+"px; height:"+
(c.height+10)+"px; top:"+(c.top-5)+"px;left: "+(c.left-5)+"px;");this._targetElement.appendChild(b);f.className="introjs-helperNumberLayer";e.className="introjs-arrow";k.className="introjs-tooltip";f.innerHTML=a.step;k.innerHTML='<div class="introjs-tooltiptext">'+a.intro+'</div><div class="introjs-tooltipbuttons"></div>';b.appendChild(f);k.appendChild(e);b.appendChild(k);h=document.createElement("a");h.onclick=function(){d._introItems.length-1!=d._currentStep&&m.call(d)};h.href="javascript:void(0);";
h.innerHTML=this._options.nextLabel;f=document.createElement("a");f.onclick=function(){0!=d._currentStep&&t.call(d)};f.href="javascript:void(0);";f.innerHTML=this._options.prevLabel;b=document.createElement("a");b.className="introjs-button introjs-skipbutton";b.href="javascript:void(0);";b.innerHTML=this._options.skipLabel;b.onclick=function(){l.call(d,d._targetElement)};c=k.querySelector(".introjs-tooltipbuttons");c.appendChild(b);c.appendChild(f);c.appendChild(h);u.call(d,a.element,k,e)}0==this._currentStep?
(f.className="introjs-button introjs-prevbutton introjs-disabled",h.className="introjs-button introjs-nextbutton",b.innerHTML=this._options.skipLabel):this._introItems.length-1==this._currentStep?(b.innerHTML=this._options.doneLabel,f.className="introjs-button introjs-prevbutton",h.className="introjs-button introjs-nextbutton introjs-disabled"):(f.className="introjs-button introjs-prevbutton",h.className="introjs-button introjs-nextbutton",b.innerHTML=this._options.skipLabel);a.element.className+=
" introjs-showElement";c="";a.element.currentStyle?c=a.element.currentStyle.position:document.defaultView&&document.defaultView.getComputedStyle&&(c=document.defaultView.getComputedStyle(a.element,null).getPropertyValue("position"));c=c.toLowerCase();"absolute"!==c&&"relative"!==c&&(a.element.className+=" introjs-relativePosition");c=a.element.getBoundingClientRect();0<=c.top&&0<=c.left&&c.bottom+80<=window.innerHeight&&c.right<=window.innerWidth||(b=a.element.getBoundingClientRect(),c=b.bottom-(b.bottom-
b.top),f=b.bottom,b=void 0!=window.innerWidth?window.innerHeight:document.documentElement.clientHeight,b=f-b,0>c?window.scrollBy(0,c-30):window.scrollBy(0,b+100))}function w(a){var b=document.createElement("div"),d="",e=this;b.className="introjs-overlay";if("body"===a.tagName.toLowerCase())d+="top: 0;bottom: 0; left: 0;right: 0;position: fixed;",b.setAttribute("style",d);else{var c=p(a);c&&(d+="width: "+c.width+"px; height:"+c.height+"px; top:"+c.top+"px;left: "+c.left+"px;",b.setAttribute("style",
d))}a.appendChild(b);b.onclick=function(){l.call(e,a)};setTimeout(function(){d+="opacity: .5;";b.setAttribute("style",d)},10);return!0}function p(a){var b={};b.width=a.offsetWidth;b.height=a.offsetHeight;for(var d=0,e=0;a&&!isNaN(a.offsetLeft)&&!isNaN(a.offsetTop);)d+=a.offsetLeft,e+=a.offsetTop,a=a.offsetParent;b.top=e;b.left=d;return b}var r=function(a){if("object"===typeof a)return new g(a);if("string"===typeof a){if(a=document.querySelector(a))return new g(a);throw Error("There is no element with given selector.");
}return new g(document.body)};r.version="0.4.0";r.fn=g.prototype={clone:function(){return new g(this)},setOption:function(a,b){this._options[a]=b;return this},setOptions:function(a){var b=this._options,d={},e;for(e in b)d[e]=b[e];for(e in a)d[e]=a[e];this._options=d;return this},start:function(){a:{var a=this._targetElement,b=a.querySelectorAll("*[data-intro]"),d=[],e=this;if(this._options.steps)for(var b=[],c=0;c<this._options.steps.length;c++)this._options.steps[c].step=c+1,d.push(this._options.steps[c]);
else{if(1>b.length)break a;for(var c=0,g=b.length;c<g;c++){var j=b[c];d.push({element:j,intro:j.getAttribute("data-intro"),step:parseInt(j.getAttribute("data-step"),10),position:j.getAttribute("data-position")||this._options.tooltipPosition})}}d.sort(function(a,b){return a.step-b.step});e._introItems=d;w.call(e,a)&&(m.call(e),a.querySelector(".introjs-skipbutton"),a.querySelector(".introjs-nextbutton"),e._onKeyDown=function(b){27===b.keyCode?l.call(e,a):37===b.keyCode?t.call(e):(39===b.keyCode||13===
b.keyCode)&&m.call(e)},window.addEventListener?window.addEventListener("keydown",e._onKeyDown,!0):document.attachEvent&&document.attachEvent("onkeydown",e._onKeyDown))}return this},goToStep:function(a){this._currentStep=a-2;"undefined"!==typeof this._introItems&&m.call(this);return this},exit:function(){l.call(this,this._targetElement)},onchange:function(a){if("function"===typeof a)this._introChangeCallback=a;else throw Error("Provided callback for onchange was not a function.");return this},oncomplete:function(a){if("function"===
typeof a)this._introCompleteCallback=a;else throw Error("Provided callback for oncomplete was not a function.");return this},onexit:function(a){if("function"===typeof a)this._introExitCallback=a;else throw Error("Provided callback for onexit was not a function.");return this}};return n.introJs=r});
{'fraction_non_alphanumeric': 0.22719849246231155, 'fraction_numerical': 0.010929648241206031, 'mean_word_length': 13.17720391807658, 'pattern_counts': {'":': 6, '<': 24, '<?xml version=': 0, '>': 15, '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': '6472575', 'n_tokens_mistral': 5663, 'n_tokens_neox': 5553, 'n_words': 302}