<commit_before>/*!
jqPhotoSwipe v0.1 - jQuery for PhotoSwipe
https://ergec.github.io/jQuery-for-PhotoSwipe/
*/
(function(a){a.fn.jqPhotoSwipe=function(d){var g={};var e={};g.galleries=[];g.galleriesindex=[];var f=0;var b='<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"><div class="pswp__bg"></div><div class="pswp__scroll-wrap"><div class="pswp__container"><div class="pswp__item"></div><div class="pswp__item"></div><div class="pswp__item"></div></div><div class="pswp__ui pswp__ui--hidden"><div class="pswp__top-bar"><div class="pswp__counter"></div><button class="pswp__button pswp__button--close" title="Close (Esc)"></button><button class="pswp__button pswp__button--share" title="Share"></button><button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button><button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button><div class="pswp__preloader"><div class="pswp__preloader__icn"><div class="pswp__preloader__cut"><div class="pswp__preloader__donut"></div></div></div></div></div><div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"><div class="pswp__share-tooltip"></div> </div><button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button><button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button><div class="pswp__caption"><div class="pswp__caption__center"></div></div></div></div></div>';var c=$(b).appendTo("body")[0];this.each(function(){var h=$.extend(e,d);var k=$(this);var j=k.data("fancybox-group");if(!j){j="singleimage"+(Math.random()*(9999999-1)+1);k.data("fancybox-group",j)}if(g.galleriesindex.indexOf(j)===-1){f=g.galleriesindex.length;g.galleriesindex.push(j);g.galleries[f]={};g.galleries[f].items=[];g.galleries[f].i=0}else{f=g.galleriesindex.indexOf(j)}var i=f;k.data("i",g.galleries[f].i);g.galleries[i].items.push({src:k.attr("href"),title:k.attr("title"),w:0,h:0});k.off("click").on("click",function(m){var l=$(this).data("i");h.index=l;g.galleries[i].obj=new PhotoSwipe(c,PhotoSwipeUI_Default,g.galleries[i].items,h);g.galleries[i].obj.init();g.galleries[i].obj.listen("imageLoadComplete",function(n,o){if(o.w==0&&o.h==0){var p=new Image();p.onload=function(){o.w=this.width;o.h=this.height;g.galleries[i].obj.invalidateCurrItems();g.galleries[i].obj.updateSize(true)};p.src=o.src}});return false});g.galleries[f].i++});return g}})(jQuery);<commit_msg>minified js<commit_after>/*!
jqPhotoSwipe v0.1 - jQuery for PhotoSwipe
https://ergec.github.io/jQuery-for-PhotoSwipe/
*/
(function(a){a.fn.jqPhotoSwipe=function(e){var h={};var f={forceSingleGallery:false};h.galleries=[];h.galleriesindex=[];var g=0;var b='<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true"><div class="pswp__bg"></div><div class="pswp__scroll-wrap"><div class="pswp__container"><div class="pswp__item"></div><div class="pswp__item"></div><div class="pswp__item"></div></div><div class="pswp__ui pswp__ui--hidden"><div class="pswp__top-bar"><div class="pswp__counter"></div><button class="pswp__button pswp__button--close" title="Close (Esc)"></button><button class="pswp__button pswp__button--share" title="Share"></button><button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button><button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button><div class="pswp__preloader"><div class="pswp__preloader__icn"><div class="pswp__preloader__cut"><div class="pswp__preloader__donut"></div></div></div></div></div><div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap"><div class="pswp__share-tooltip"></div> </div><button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)"></button><button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)"></button><div class="pswp__caption"><div class="pswp__caption__center"></div></div></div></div></div>';var d=$(b).appendTo("body")[0];var c="forcedGallery"+(Math.random()*(9999999-1)+1);this.each(function(){var i=$.extend(f,e);var l=$(this);var k=l.data("fancybox-group");if(!k){if(i.forceSingleGallery){l.data("fancybox-group",c)}else{k="singleimage"+(Math.random()*(9999999-1)+1);l.data("fancybox-group",k)}}if(h.galleriesindex.indexOf(k)===-1){g=h.galleriesindex.length;h.galleriesindex.push(k);h.galleries[g]={};h.galleries[g].items=[];h.galleries[g].i=0}else{g=h.galleriesindex.indexOf(k)}var j=g;l.data("i",h.galleries[g].i);h.galleries[j].items.push({src:l.attr("href"),title:l.attr("title"),w:0,h:0});l.off("click").on("click",function(n){var m=$(this).data("i");i.index=m;h.galleries[j].obj=new PhotoSwipe(d,PhotoSwipeUI_Default,h.galleries[j].items,i);h.galleries[j].obj.init();h.galleries[j].obj.listen("imageLoadComplete",function(o,p){if(p.w==0&&p.h==0){var q=new Image();q.onload=function(){p.w=this.width;p.h=this.height;h.galleries[j].obj.invalidateCurrItems();h.galleries[j].obj.updateSize(true)};q.src=p.src}});return false});h.galleries[g].i++});return h}})(jQuery);
{'fraction_non_alphanumeric': 0.2432757928542754, 'fraction_numerical': 0.009835407466880771, 'mean_word_length': 10.921052631578947, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 3, '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': '2451796', 'n_tokens_mistral': 1893, 'n_tokens_neox': 1839, 'n_words': 147}