"object"!=typeof JSON&&(JSON={}),function(){"use strict";function f(t){return 10>t?"0"+t:t}function quote(t){return escapable.lastIndex=0,escapable.test(t)?'"'+t.replace(escapable,function(t){var e=meta[t];return"string"==typeof e?e:"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+t+'"'}function str(t,e){var n,r,o,u,i,a=gap,f=e[t];switch(f&&"object"==typeof f&&"function"==typeof f.toJSON&&(f=f.toJSON(t)),"function"==typeof rep&&(f=rep.call(e,t,f)),typeof f){case"string":return quote(f);case"number":return isFinite(f)?String(f):"null";case"boolean":case"null":return String(f);case"object":if(!f)return"null";if(gap+=indent,i=[],"[object Array]"===Object.prototype.toString.apply(f)){for(u=f.length,n=0;u>n;n+=1)i[n]=str(n,f)||"null";return o=0===i.length?"[]":gap?"[\n"+gap+i.join(",\n"+gap)+"\n"+a+"]":"["+i.join(",")+"]",gap=a,o}if(rep&&"object"==typeof rep)for(u=rep.length,n=0;u>n;n+=1)"string"==typeof rep[n]&&(r=rep[n],o=str(r,f),o&&i.push(quote(r)+(gap?": ":":")+o));else for(r in f)Object.prototype.hasOwnProperty.call(f,r)&&(o=str(r,f),o&&i.push(quote(r)+(gap?": ":":")+o));return o=0===i.length?"{}":gap?"{\n"+gap+i.join(",\n"+gap)+"\n"+a+"}":"{"+i.join(",")+"}",gap=a,o}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(){return this.valueOf()});var cx,escapable,gap,indent,meta,rep;"function"!=typeof JSON.stringify&&(escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(t,e,n){var r;if(gap="",indent="","number"==typeof n)for(r=0;n>r;r+=1)indent+=" ";else"string"==typeof n&&(indent=n);if(rep=e,e&&"function"!=typeof e&&("object"!=typeof e||"number"!=typeof e.length))throw new Error("JSON.stringify");return str("",{"":t})}),"function"!=typeof JSON.parse&&(cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,JSON.parse=function(text,reviver){function walk(t,e){var n,r,o=t[e];if(o&&"object"==typeof o)for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(r=walk(o,n),void 0!==r?o[n]=r:delete o[n]);return reviver.call(t,e,o)}var j;if(text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)})),/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}();var BJ_REPORT=function(t){if(t.BJ_REPORT)return t.BJ_REPORT;var e=[],n={id:0,uin:0,url:"",combo:1,ext:{},level:4,ignore:[],random:1,delay:1e3,submit:null},r=function(t,e){return Object.prototype.toString.call(t)==="[object "+(e||"Object")+"]"},o=function(t){var e=typeof t;return"object"===e&&!!t},u=function(t){return null===t?!0:r(t,"Number")?!1:!t},i=(t.onerror,function(t){try{if(t.stack){var e=t.stack.match("https?://[^\n]+");e=e?e[0]:"";var n=e.match(":(\\d+):(\\d+)");n||(n=[0,0,0]);var r=a(t);return{msg:r,rowNum:n[1],colNum:n[2],target:e.replace(n[0],"")}}return t.name&&t.message&&t.description?{msg:JSON.stringify(t)}:t}catch(o){return t}}),a=function(t){var e=t.stack.replace(/\n/gi,"").split(/\bat\b/).slice(0,5).join("@").replace(/\?[^:]+/gi,""),n=t.toString();return e.indexOf(n)<0&&(e=n+"@"+e),e},f=function(t,e){var r=[],i=[],a=[];if(o(t)){t.level=t.level||n.level;for(var f in t){var s=t[f];if(!u(s)){if(o(s))try{s=JSON.stringify(s)}catch(c){s="[BJ_REPORT detect value stringify error] "+c.toString()}a.push(f+":"+s),r.push(f+"="+encodeURIComponent(s)),i.push(f+"["+e+"]="+encodeURIComponent(s))}}}return[i.join("&"),a.join(","),r.join("&")]},s=[],c=function(t){if(n.submit)n.submit(t);else{var e=new Image;s.push(e),e.src=t}},p=[],l=0,g=function(t){if(n.report){for(;e.length;){var o=!1,u=e.shift(),i=f(u,p.length);if(r(n.ignore,"Array"))for(var a=0,s=n.ignore.length;s>a;a++){var g=n.ignore[a];if(r(g,"RegExp")&&g.test(i[1])||r(g,"Function")&&g(u,i[1])){o=!0;break}}o||(n.combo?p.push(i[0]):c(n.report+i[2]+"&_t="+ +new Date),n.onReport&&n.onReport(n.id,u))}var y=p.length;if(y){var d=function(){clearTimeout(l),c(n.report+p.join("&")+"&count="+y+"&_t="+ +new Date),l=0,p=[]};t?d():l||(l=setTimeout(d,n.delay))}}},y={push:function(t){return Math.random()>=n.random?y:(e.push(o(t)?i(t):{msg:t}),g(),y)},report:function(t){return t&&y.push(t),g(!0),y},info:function(t){return t?(o(t)?t.level=2:t={msg:t,level:2},y.push(t),y):y},debug:function(t){return t?(o(t)?t.level=1:t={msg:t,level:1},y.push(t),y):y},init:function(t){if(o(t))for(var e in t)n[e]=t[e];var r=parseInt(n.id,10);return r&&(/qq\.com$/gi.test(window.location.hostname)&&(n.url||(n.url="//badjs2.qq.com/badjs"),n.uin||(n.uin=parseInt((document.cookie.match(/\buin=\D+(\d+)/)||[])[1],10))),n.report=n.url+"?id="+r+"&uin="+n.uin+"&from="+encodeURIComponent(location.href)+"&ext="+JSON.stringify(n.ext)+"&"),y},__onerror__:t.onerror};return"undefined"!=typeof console&&console.error&&setTimeout(function(){var t=((location.hash||"").match(/([#&])BJ_ERROR=([^&$]+)/)||[])[2];t&&console.error("BJ_ERROR",decodeURIComponent(t).replace(/(:\d+:\d+)\s*/g,"$1\n"))},0),y}(window);"undefined"!=typeof exports&&("undefined"!=typeof module&&module.exports&&(exports=module.exports=BJ_REPORT),exports.BJ_REPORT=BJ_REPORT),function(t){if(t.BJ_REPORT){var e,n=function(e){t.BJ_REPORT.report(e)},r=t.BJ_REPORT.tryJs=function(t){return t&&(n=t),r},o=function(t,e){var n;for(n in e)t[n]=e[n]},u=function(t){return"function"==typeof t},i=function(r,o){return function(){try{return r.apply(this,o||arguments)}catch(u){if(n(u),u.stack&&console&&console.error&&console.error("[BJ-REPORT]",u.stack),!e){var i=t.

Next
Pg.: 1 2 3 4 5 6 ... 23


Back to home | File page

Subscribe | Register | Login | N