<commit_before>kiwi.addMediaMessageType(function(url) {
     return /^https?:\/\/((.+)\.)?thepb\.in(\/private)?\/[a-z0-9]+\/?$/i.test(url);
 },function (url) {
     if ((exe = /^https?:\/\/(?:(?:.+)\.)?thepb\.in(?:\/private)?\/([a-z0-9]+)\/?$/i.exec(url))) {
        var id = exe[1]+"-"+new Date().getTime();
     };
     $el = $("<iframe id=\""+id+"\" width=\"100%\" height=\"100%\" frameBorder=\"0\" src=\""+url+".kiwi?div="+id+"\"></iframe>");
     if (!("postMessage" in window)) {
        $el.load(function () {
            $el.parent().css({width:"90%", height: "432px", overflow: "hidden", padding: "0", "box-sizing":"border-box"});
        });
     };
     return $el;
});
if (("postMessage" in window)) {
   window.addEventListener("message",function (e) {
          if (/^https?:\/\/(.*\.)?thepb\.in/i.test(e.origin)) {
             if (("i" in e.data && document.getElementById(e.data["i"]))) {
                $("#"+e.data.i).parent().css({
                     width: "90%", height: e.data["h"]+"px", "max-height": "432px",
                     overflow: "hidden", padding: "0", "box-sizing": "border-box"
                });
             };
          };
   },true);
 } else {
   console.log("Your browser does not support ThePB's auto resize!");
};
var LightBox = function (content) {
         if (!(this instanceof LightBox)) {
            return new LightBox(content);
         };
         this.opened = false;
         this.box = document.createElement("div");
         this.box.setAttribute("id","ThePB-LB");
         this.shadow = document.createElement("div");
         this.shadow.setAttribute("id","ThePB-LBS");
         document.getElementsByTagName("body")[0].appendChild(this.box);
         document.getElementsByTagName("body")[0].appendChild(this.shadow);
         $(this.box).data('LightBox',this);
         if (content) {
            this.content(content);
         };
         return this;
};
LightBox.prototype.content = function (content) {
         this.box.innerHTML = content;
         return this;
};
LightBox.prototype.open = function () {
         var self = this;
         self.opened = true;
         this.box.style.display = "block";
         this.shadow.style.display = "block";
         this.box.style.marginLeft = -(this.box.offsetWidth/2)+"px";
         this.box.style.marginTop = -(this.box.offsetHeight/2)+"px";
         this.shadow.onclick = function () {
              self.close();
         };
         return this;
};
LightBox.prototype.close = function () {
         this.opened = false;
         this.box.style.display = "none";
         this.shadow.style.display = "none";
         return this;
};
function ThePB () {
         if (!(this instanceof ThePB)) {
            return new ThePB();
         };
         var self = this;
         Object.keys(Langs).forEach(function(key){
                $("#ThePB-LL").append($("<option>",{value:key}).text(Langs[key]));
         });
         self.LBManager = new LightBox($("#ThePB-Hidden").html());
         $(self.LBManager.box).data('ThePB',self);
         $("#ThePB-Hidden").remove();
         $(document).keyup(function(e) {
               if (self.LBManager.opened) {
                  if ((("which" in e)?e.which:e.keyCode) == 27) {
                     $('#ThePB-LB').data('LightBox').close();
                     e.preventDefault();
                     e.stopPropagation();
                  };
               };
         });
         $("#ThePB-PR").click(function () { self.paste(1); });
         $("#ThePB-SU").click(function () { self.paste(); });
         $("#ThePB-CL").click(function () { self.clear(); });
         $("#ThePB-LBC").click(function () { $('#ThePB-LB').data('LightBox').close(); });
         return this;
};
ThePB.prototype.setPaste = function (content) {
         if (content) {
            $("#ThePB-TA").val(content);
         };
         return this;
};
ThePB.prototype.clear = function () {
         if (confirm("Are you sure you want to clear your paste?")) {
            this.reset();
         }
         return this;<commit_msg>Remove useless line of code.<commit_after>kiwi.addMediaMessageType(function(url) {
     return /^https?:\/\/((.+)\.)?thepb\.in(\/private)?\/[a-z0-9]+\/?$/i.test(url);
 },function (url) {
     if ((exe = /^https?:\/\/(?:(?:.+)\.)?thepb\.in(?:\/private)?\/([a-z0-9]+)\/?$/i.exec(url))) {
        var id = exe[1]+"-"+new Date().getTime();
     };
     $el = $("<iframe id=\""+id+"\" width=\"100%\" height=\"100%\" frameBorder=\"0\" src=\""+url+".kiwi?div="+id+"\"></iframe>");
     if (!("postMessage" in window)) {
        $el.load(function () {
            $el.parent().css({width:"90%", height: "432px", overflow: "hidden", padding: "0", "box-sizing":"border-box"});
        });
     };
     return $el;
});
if (("postMessage" in window)) {
   window.addEventListener("message",function (e) {
          if (/^https?:\/\/(.*\.)?thepb\.in/i.test(e.origin)) {
             if (("i" in e.data && document.getElementById(e.data["i"]))) {
                $("#"+e.data.i).parent().css({
                     width: "90%", height: e.data["h"]+"px", "max-height": "432px",
                     overflow: "hidden", padding: "0", "box-sizing": "border-box"
                });
             };
          };
   },true);
 } else {
   console.log("Your browser does not support ThePB's auto resize!");
};
var LightBox = function (content) {
         if (!(this instanceof LightBox)) {
            return new LightBox(content);
         };
         this.opened = false;
         this.box = document.createElement("div");
         this.box.setAttribute("id","ThePB-LB");
         this.shadow = document.createElement("div");
         this.shadow.setAttribute("id","ThePB-LBS");
         document.getElementsByTagName("body")[0].appendChild(this.box);
         document.getElementsByTagName("body")[0].appendChild(this.shadow);
         $(this.box).data('LightBox',this);
         if (content) {
            this.content(content);
         };
         return this;
};
LightBox.prototype.content = function (content) {
         this.box.innerHTML = content;
         return this;
};
LightBox.prototype.open = function () {
         var self = this;
         self.opened = true;
         this.box.style.display = "block";
         this.shadow.style.display = "block";
         this.box.style.marginLeft = -(this.box.offsetWidth/2)+"px";
         this.box.style.marginTop = -(this.box.offsetHeight/2)+"px";
         this.shadow.onclick = function () {
              self.close();
         };
         return this;
};
LightBox.prototype.close = function () {
         this.opened = false;
         this.box.style.display = "none";
         this.shadow.style.display = "none";
         return this;
};
function ThePB () {
         if (!(this instanceof ThePB)) {
            return new ThePB();
         };
         var self = this;
         Object.keys(Langs).forEach(function(key){
                $("#ThePB-LL").append($("<option>",{value:key}).text(Langs[key]));
         });
         self.LBManager = new LightBox($("#ThePB-Hidden").html());
         $("#ThePB-Hidden").remove();
         $(document).keyup(function(e) {
               if (self.LBManager.opened) {
                  if ((("which" in e)?e.which:e.keyCode) == 27) {
                     $('#ThePB-LB').data('LightBox').close();
                     e.preventDefault();
                     e.stopPropagation();
                  };
               };
         });
         $("#ThePB-PR").click(function () { self.paste(1); });
         $("#ThePB-SU").click(function () { self.paste(); });
         $("#ThePB-CL").click(function () { self.clear(); });
         $("#ThePB-LBC").click(function () { $('#ThePB-LB').data('LightBox').close(); });
         return this;
};
ThePB.prototype.setPaste = function (content) {
         if (content) {
            $("#ThePB-TA").val(content);
         };
         return this;
};
ThePB.prototype.clear = function () {
         if (confirm("Are you sure you want to clear your paste?")) {
            this.reset();
         }
         return this;
{'fraction_non_alphanumeric': 0.21243203163618388, 'fraction_numerical': 0.007661888284725655, 'mean_word_length': 2.020903322135125, 'pattern_counts': {'":': 6, '<': 9, '<?xml version=': 0, '>': 9, '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': '1022807', 'n_tokens_mistral': 2515, 'n_tokens_neox': 2440, 'n_words': 396}