You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
58 KiB

5 years ago
try{!function(t){window.___baidu_union_||(window.___baidu_union_={}),window.___baidu_union_ds_||(window.___baidu_union_ds_={}),window._SF_&&window._SF_._global_&&window._SF_._global_._ssp&&(t=window._SF_._global_._ssp),function(){var e={name:'sojs',namespace:'',classes:{},classesCache:{},path:{},pathCache:{},noop:function(){},$sojs:function(){this.runtime='browser',this.global=t||window,this.global.sojs=this.global.sojs||this},getPath:function(t){var e=t?t.split('.'):!1,i=this.path;if(e)for(var n=0,o=e.length;o>n;n++){var r=e[n].toLowerCase();if(!i[r])break;i=i[r]}return i.pathValue},getClassPath:function(t){if(!this.pathCache[t]){this.pathCache[t]=this.getPath(t)+t.replace(/\./gi,'/')+'.js';var e=this.getPath(t),i=e.length-1;e.lastIndexOf('\\')!==i&&e.lastIndexOf('/')!==i&&(e+='/'),this.pathCache[t]=e+t.replace(/\./gi,'/')+'.js'}return this.pathCache[t]},loadDeps:function(t,e){e=e||{};var i=t.__deps,n=(t.__namespace,[]);for(var o in i)if(i.hasOwnProperty(o)&&i[o]){var r;if('string'!=typeof i[o]?(t[o]=i[o],t[o]&&t[o].__name&&(r=t[o].__full)):(r=i[o],t[o]=this.find(r)),!r||e[r])continue;e[r]=!0,t[o]?t[o].__deps&&(n=n.concat(this.loadDeps(t[o],e))):t[o]||n.push(r)}return n},fastClone:function(t){var e=function(){};e.prototype=t;var i=new e;return i},proxy:function(t,e){var i=Array.prototype.slice.apply(arguments),n=i.shift(),o='function'==typeof this?this:i.shift();return function(){var t=Array.prototype.slice.apply(arguments);return o.apply(n,t.concat(i))}},find:function(t){var e=this.classesCache[t];if(!e){var i=t.split('.');e=this.classes[i[0]];for(var n=1,o=i.length;o>n;n++){if(!e||!e[i[n]]){e=null;break}e=e[i[n]]}}return e},create:function(t,e,i,n,o,r){'string'==typeof t&&(t=this.using(t));var a=new t.__constructor(e,i,n,o,r);return a},using:function(t){var e=this.find(t);return e},define:function(t){var e,i=t.namespace;e=t.name||'__tempName',i=t.namespace||'',t.__name=e,t.__namespace=i,t.__full=i.length>1?i+'.'+e:e,t.__deps=t.deps,t.__sojs=this,t.__status=2,t.__constructor=function(t,e,i,n,o){this.__constructorSource(t,e,i,n,o)},t.__constructorSource=t[e]||this.noop,t.__staticSource=t['$'+e]||this.noop,t.__staticUpdate=function(){this.__constructor.prototype=this},t.__static=function(){this.__staticSource(),this.__staticUpdate()};for(var n,o=i.split('.'),r=o.length,a=this.classes,s=0;r>s;s++)n=o[s],n&&(a[n]=a[n]||{__status:1},a=a[n]);a[e]=a[e]||{};var c=a;if(a=a[e],!a.__name||3!==a.__status){if(!a.__status||1===a.__status)for(var d in c[e])d&&c[e].hasOwnProperty(d)&&(t[d]=c[e][d]);t.__status=3,c[e]=t,t=c[e];var h=this.loadDeps(t);if(h.length>0)throw new Error('class "'+t.name+"\" loadDeps error:"+h.join(','));t.__static()}return this.classesCache[t.___full]=t,t}};e.define(e)}();var e=t.sojs;e.define({name:'config',namespace:'djs.common',jsonpFunctionName:'___adblockplus',bfpTemplateName:'SSP_JSONP',STATIC_JSONP:'STATIC_JSONP',POS_DOMAIN:'pos.baidu.com',MESSAGE_EVENT_REGISTERED:!1,COMMON_GLOBAL:'___baidu_union_',COMMON_GLOBAL_CALLBACK:'___baidu_union_callback_',LOG_URL:'//eclick.baidu.com/se.jpg',PAGE_SEARCH_ID:'pageSearchId',AUTOID:'0',AUTO_JSONP:'AUTO_JSONP',AUTO_DC:4,AUTO_PATH:'auto_ds',AUTO_DUP_PATH:'auto_dup',IS_FULL_MATCH:'isFullMatch',ADD_ARTICLE_AD:'addArticleAd',AUTO_PATH_REG:/\/\w+\?/,DEBUG_QUERY_TAG:'DUP_DEBUG_FLAG'}),e.define({name:'log',namespace:'djs.common.utility',sendLog:function(t,e,i,n,o){if(!t||!e||!i)return'';var r='//'+t+'/'+e+'?type='+i;r+=n?'&key='+n:'',r+=o?o:'',r+='&rdm='+Math.random(),(new Image).src=r},sendEclickLog:function(t,e,i,n){this.sendLog('eclick.baidu.com',t,e,i,n)},sendDebugLog:function(t,e,i,n){this.sendLog('tpl.baidu.com:8085',t,e,i,n)}}),e.define({name:'browser',namespace:'djs.common.utility',$browser:function(){this.win=window,this.nav=window.navigator,this.checkBrowser(),this.flashPlayerVersion=this.getFlashPlayerVersion()},checkBrowser:function(){var t=this.nav.userAgent,e=window.RegExp;/msie (\d+\.\d)/i.test(t)&&(this.ie=document.documentMode||+e.$1),/chrome\/(\d+\.\d)/i.test(t)&&window.chrome&&window.chrome.csi&&(this.chrome=+e.$1),/opera\/(\d+\.\d)/i.test(t)&&(this.opera
this.canvas=t.canvas,this.ie_activex=t.ie_activex):'function'==typeof t&&(this.hasher=t)},get:function(){var t=[];t.push((new Date).getTime()),t.push(Math.random()),this.url&&t.push(this.url);try{if(t.push(navigator.userAgent),t.push(navigator.language),t.push(window.screen.colorDepth),this.screen_resolution){var e=this.getScreenResolution();'undefined'!=typeof e&&t.push(e.join('x'))}t.push((new Date).getTimezoneOffset()),t.push(this.hasSessionStorage()),t.push(this.hasLocalStorage()),t.push(this.hasIndexDb()),document.body?t.push(typeof document.body.addBehavior):t.push("undefined"),t.push(typeof window.openDatabase),t.push(navigator.cpuClass),t.push(navigator.platform),t.push(navigator.doNotTrack),this.canvas&&this.isCanvasSupported()&&t.push(this.getCanvasFingerprint())}catch(i){var n=i&&i.stack?i.stack:i,o=this.config.LOG_URL;o+='?type=fatalError',o+='&key=pageSearchId',o+='&value=navigatorParam',o+='&date='+(new Date).getTime(),o+='&mes='+encodeURIComponent(n),(new Image).src=o}return this.hasher?this.hasher(t.join('~~~'),31):this.x64hash128(t.join('~~~'),31)},x64Add:function(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var i=[0,0,0,0];return i[3]+=t[3]+e[3],i[2]+=i[3]>>>16,i[3]&=65535,i[2]+=t[2]+e[2],i[1]+=i[2]>>>16,i[2]&=65535,i[1]+=t[1]+e[1],i[0]+=i[1]>>>16,i[1]&=65535,i[0]+=t[0]+e[0],i[0]&=65535,[i[0]<<16|i[1],i[2]<<16|i[3]]},x64Multiply:function(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var i=[0,0,0,0];return i[3]+=t[3]*e[3],i[2]+=i[3]>>>16,i[3]&=65535,i[2]+=t[2]*e[3],i[1]+=i[2]>>>16,i[2]&=65535,i[2]+=t[3]*e[2],i[1]+=i[2]>>>16,i[2]&=65535,i[1]+=t[1]*e[3],i[0]+=i[1]>>>16,i[1]&=65535,i[1]+=t[2]*e[2],i[0]+=i[1]>>>16,i[1]&=65535,i[1]+=t[3]*e[1],i[0]+=i[1]>>>16,i[1]&=65535,i[0]+=t[0]*e[3]+t[1]*e[2]+t[2]*e[1]+t[3]*e[0],i[0]&=65535,[i[0]<<16|i[1],i[2]<<16|i[3]]},x64Rotl:function(t,e){return e%=64,32===e?[t[1],t[0]]:32>e?[t[0]<<e|t[1]>>>32-e,t[1]<<e|t[0]>>>32-e]:(e-=32,[t[1]<<e|t[0]>>>32-e,t[0]<<e|t[1]>>>32-e])},x64LeftShift:function(t,e){return e%=64,0===e?t:32>e?[t[0]<<e|t[1]>>>32-e,t[1]<<e]:[t[1]<<e-32,0]},x64Xor:function(t,e){return[t[0]^e[0],t[1]^e[1]]},x64Fmix:function(t){return t=this.x64Xor(t,[0,t[0]>>>1]),t=this.x64Multiply(t,[4283543511,3981806797]),t=this.x64Xor(t,[0,t[0]>>>1]),t=this.x64Multiply(t,[3301882366,444984403]),t=this.x64Xor(t,[0,t[0]>>>1])},x64hash128:function(t,e){t=t||'',e=e||0;for(var i=t.length%16,n=t.length-i,o=[0,e],r=[0,e],a=[0,0],s=[0,0],c=[2277735313,289559509],d=[1291169091,658871167],h=0;n>h;h+=16)a=[255&t.charCodeAt(h+4)|(255&t.charCodeAt(h+5))<<8|(255&t.charCodeAt(h+6))<<16|(255&t.charCodeAt(h+7))<<24,255&t.charCodeAt(h)|(255&t.charCodeAt(h+1))<<8|(255&t.charCodeAt(h+2))<<16|(255&t.charCodeAt(h+3))<<24],s=[255&t.charCodeAt(h+12)|(255&t.charCodeAt(h+13))<<8|(255&t.charCodeAt(h+14))<<16|(255&t.charCodeAt(h+15))<<24,255&t.charCodeAt(h+8)|(255&t.charCodeAt(h+9))<<8|(255&t.charCodeAt(h+10))<<16|(255&t.charCodeAt(h+11))<<24],a=this.x64Multiply(a,c),a=this.x64Rotl(a,31),a=this.x64Multiply(a,d),o=this.x64Xor(o,a),o=this.x64Rotl(o,27),o=this.x64Add(o,r),o=this.x64Add(this.x64Multiply(o,[0,5]),[0,1390208809]),s=this.x64Multiply(s,d),s=this.x64Rotl(s,33),s=this.x64Multiply(s,c),r=this.x64Xor(r,s),r=this.x64Rotl(r,31),r=this.x64Add(r,o),r=this.x64Add(this.x64Multiply(r,[0,5]),[0,944331445]);switch(a=[0,0],s=[0,0],i){case 15:s=this.x64Xor(s,this.x64LeftShift([0,t.charCodeAt(h+14)],48));case 14:s=this.x64Xor(s,this.x64LeftShift([0,t.charCodeAt(h+13)],40));case 13:s=this.x64Xor(s,this.x64LeftShift([0,t.charCodeAt(h+12)],32));case 12:s=this.x64Xor(s,this.x64LeftShift([0,t.charCodeAt(h+11)],24));case 11:s=this.x64Xor(s,this.x64LeftShift([0,t.charCodeAt(h+10)],16));case 10:s=this.x64Xor(s,this.x64LeftShift([0,t.charCodeAt(h+9)],8));case 9:s=this.x64Xor(s,[0,t.charCodeAt(h+8)]),s=this.x64Multiply(s,d),s=this.x64Rotl(s,33),s=this.x64Multiply(s,c),r=this.x64Xor(r,s);case 8:a=this.x64Xor(a,this.x64LeftShift([0,t.charCodeAt(h+7)],56));case 7:a=this.x64Xor(a,this.x64LeftShift([0,t.charCodeAt(h+6)],48)