|
(function(){var a,b,c,d;if(typeof $=="undefined"||$===null)return;d=!1,b=function(){d=!0},a=function(){d=!1},"onpagehide"in window?($(window).on("pageshow",a),$(window).on("pagehide",b)):($(window).on("load",a),$(window).on("beforeunload",b),$(window).on("unload",b)),c=function(){return $.browser!=null&&($.browser.webkit||$.browser.opera||$.browser.msie&&parseInt($.browser.version)>=8||$.browser.mozilla&&parseInt($.browser.version)>=4)&&$.browser.version!=null&&$.browser.version!=="0"}();if(!c)return;window.onerror=function(a,b,c){var e,f;if(d||!c)return;if(b!=null?!b.match(/assets.github.com|github.dev/):!void 0)return;e={message:a,filename:b,lineno:c,url:window.location.href,readyState:document.readyState,referrer:document.referrer,browser:$.browser},$.ajax({type:"POST",url:"/errors",data:{error:e}}),(f=window.errors)==null&&(window.errors=[]),window.errors.push(e)},window.location.hash==="#b00m"&&b00m()}).call(this),function(){var a,b,c;b=function(){function a(a){this.namespace=a,this.stats=[],this.flushT |