<commit_before>if("undefined"==typeof OGX)var OGX=function(){};OGX.prototype.MobileOptionBox=function(o){"use strict";function t(o){o?a.on("click",function(o){o.preventDefault(),o.stopImmediatePropagation(),n()}):a.off("click")}function i(o){o?(p.on("click",".ogx_mobile_option_box_item",function(o){o.preventDefault(),o.stopImmediatePropagation(),l.trigger(OGX.MobileOptionBox.SELECT),e()}),$(document).on("click",function(){e()})):(p.off("click",".ogx_mobile_option_box_item"),$(document).off("click"))}function n(){if(!p){c(),p.css("left",a.offset().left+u.offsetX+"px");var o=a.offset().top+a.height()+u.offsetY;p.css("top",o),p.css("opacity",1),i(!0)}}function e(){i(!1),p.remove(),p=null}function c(){for(var o='<div class="ogx_mobile_option_box">',t=0;t<u.items.length;t++)o+='<span class="ogx_mobile_option_box_item">'+u.items[t].label+"</span>";o+="</div>",l.append(o),p=l.children(".ogx_mobile_option_box:last")}function s(){for(var o in _)u.hasOwnProperty(o)||(u[o]=_[o]);r.el=l=$(u.container),a=$(u.button)}function f(){s(),t(!0)}var l,p,a,r=this,u=o,_={template:'<div class="ogx_mobile_option_box"><span class="ogx_mobile_option_box_item">OPTIONS</span><span class="shortcut">LOGOUT</span></div>',offsetX:0,offsetY:0};this.el=null,this.destroy=function(){t(!1),i(!1)},f()},OGX.MobileOptionBox=function(o){"use strict";return new OGX.prototype.MobileOptionBox(o)},OGX.MobileOptionBox.SELECT="MobileOptionBoxSelect";<commit_msg>Full obj on selection trigger<commit_after>if("undefined"==typeof OGX)var OGX=function(){};OGX.prototype.MobileOptionBox=function(o){"use strict";function t(o){o?a.on("click",function(o){o.preventDefault(),o.stopImmediatePropagation(),n()}):a.off("click")}function i(o){o?(p.on("click",".ogx_mobile_option_box_item",function(o){o.preventDefault(),o.stopImmediatePropagation(),l.trigger(OGX.MobileOptionBox.SELECT,u.views[$(this).index()]),e()}),$(document).on("click",function(){e()})):(p.off("click",".ogx_mobile_option_box_item"),$(document).off("click"))}function n(){if(!p){s(),p.css("left",a.offset().left+u.offsetX+"px");var o=a.offset().top+a.height()+u.offsetY;p.css("top",o),p.css("opacity",1),i(!0)}}function e(){i(!1),p.remove(),p=null}function s(){for(var o='<div class="ogx_mobile_option_box">',t=0;t<u.items.length;t++)o+='<span class="ogx_mobile_option_box_item">'+u.items[t].label+"</span>";o+="</div>",l.append(o),p=l.children(".ogx_mobile_option_box:last")}function c(){for(var o in _)u.hasOwnProperty(o)||(u[o]=_[o]);r.el=l=$(u.container),a=$(u.button)}function f(){c(),t(!0)}var l,p,a,r=this,u=o,_={template:'<div class="ogx_mobile_option_box"><span class="ogx_mobile_option_box_item">OPTIONS</span><span class="shortcut">LOGOUT</span></div>',offsetX:0,offsetY:0};this.el=null,this.destroy=function(){t(!1),i(!1)},f()},OGX.MobileOptionBox=function(o){"use strict";return new OGX.prototype.MobileOptionBox(o)},OGX.MobileOptionBox.SELECT="MobileOptionBoxSelect";
{'fraction_non_alphanumeric': 0.2692702980472765, 'fraction_numerical': 0.006166495375128468, 'mean_word_length': 17.598726114649683, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 23, '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': '4550554', 'n_tokens_mistral': 1109, 'n_tokens_neox': 1122, 'n_words': 53}