B.call(d,h)&&(b[b.length]=h+
"="+d[h].join(","));a.data.f(f,l);b.sort(function(a,c){return a.length-c.length});d="";h=b.length;for(var e=0;e<h&&!(d.length+b[e].length>=c);e++)d+=(e?"&":"")+b[e];return d},na:function(a,c){b.Sa(a);b.oa(c)}}});
R("preview",["biz","util"],function(a,b){function d(){function a(c){var d=b.url.aa;return d(k,"baidu_clb_preview_"+c)||d(k,"baidu_dup_preview_"+c)}var k=b.url.O(),f=a("sid"),g=a("mid"),i=a("vc"),j=+a("ts"),h=q;3E4>=+new Date-j&&(h={ja:f,Ia:g,Ua:i});d=function(){return h};return h}return{Ca:function(a){var b=[],f=d();f&&a==f.ja&&(b.push("mid="+f.Ia),b.push("sid="+f.Ua));return b.join("&")},d:function(){return d()},da:function(a){var d=r;a?/cpro_template=/gi.test(a)&&(b.data.f("#unionPreviewSwitch",
m),d=m):d=!!b.data.d("#unionPreviewSwitch");return d},Da:function(){var a=b.data.d("#unionPreviewData");return a?"prev="+encodeURIComponent(a)+"&pt=union":""},Ta:function(a){b.data.f("#unionPreviewData",a)},Wa:function(){b.data.ha("#unionPreviewSwitch");b.data.ha("#unionPreviewData")}}});
R("slot",["util"],function(a){function b(){for(var a={response:{},holder:"",stack:[],errors:[],status:{}},c=j.length-1;0<=c;c--)a.status[j[c]]=0;return a}function d(a,c){var b=r;"fillAsync"===c&&(b=m);o[a]&&-1!==o[a].stack.join(" ").toLowerCase().indexOf("async")&&(b=m);return b}function c(a,c){if(!a)return"";var b=t+a;c&&(b+="_"+c);return b}function k(a,c,b){if(!a||!c)return r;b===l&&(b=+new Date);if(o[a]){o[a].status[c]=b;if("finish"===c){var c={},b=r,d;for(d in p)if(d&&p.hasOwnProperty(d)&&p[d]&&
0===(""+a).indexOf(""+d)&&o[a].response){var b=o[a].response.data,e=b._h||b.sh||b.height||0;c[a]=0===(b._w||b.sw||b.width||0)||0===e?r:m;b=m}b&&n.apply(window,[c])}return m}return r}function f(a,c){g(a,"errors",c)}function g(c,b,d){c&&b&&d&&(c=o[c])&&"array"===a.lang.b(c[b])&&c[b].push(d)}function i(a){return!a?o:o[a]||r}var j="add,create,request,response,render,finish".split(","),h=[],e={},o={},n,p={},t="BAIDU_DUP_wrapper_";return{add:function(){var c={ids:[],preloadIds:[]},d=a.lang.l(arguments);
if(!d.length)return c;for(var d=d.join(",").split(","),n=[],p=[],f=d.length,t=0;t<f;t++){var g=d[t];if(e.hasOwnProperty(g)){var j=g+"_"+e[g],V=i(j).stack||[];if("preload"===V[V.length-1]){c.preloadIds.push(j);continue}e[g]+=1}else e[g]=0;g=g+"_"+e[g];o[g]=new b;k(g,"add");p.push(g);n.push(g)}h=h.concat(p);c.ids=n;return c},create:function(b,e,n){if(!b||!e)return r;var p=c(b),i=m;if(a.a.c(p))return o[b].holder=p,i;if(d(b,e)){n=n||"";o[b].holder=n;n=a.a.c(n);try{n&&(n.innerHTML='<div id="'+p+'"></div>',
o[b].holder=p)}catch(g){f(b,"Failed to insert wrapper"),i=r}}else if(document.write('<div id="'+p+'"></div>'),!a.a.c(p))try{var h=document.getElementsByTagName("script"),t=h[h.length-1];if(t){var j=t.parentNode;if(j){var W=document.createElement("div");W.id=c(b,"b");j.insertBefore(W,t)}}}catch(qa){f(b,"Failed to create backup wrapper")}k(b,"create");return i},sa:d,wa:function(a){return d(a)?"async":"sync"},$:function(b){return!b?"":(b=a.a.c(o[b].holder)||a.a.c(c(b))||a.a.c(c(b,"b")))&&b.id||""},z:i,
S:function(a,c){if(!a||!c)return r;return o[a]?(o[a].response=c,k(a,"response"),m):r},u:k,k:f,I:function(a,c){g(a,"stack",c)},K:function(c){c=a.lang.l(c);if(!c.length)return r;var b=[],d={},e;for(e=0;e<h.length;e++)d[h[e]]=e+1;for(e=0;e<c.length;e++){var n=d[""+c[e]];n===l&&(n=0);b.push(n)}return b},Sa:function(a){n=a},oa:function(a){p[a]=m},r:function(b){b=a.lang.l(b);if(!b.length)return["-1x-1"];for(var d=[],e=0;e<b.length;e++){var n=b[e],p;try{var i=a.a.c(c(n))||a.a.c(c(n,"b"));if(i){var h=a.style.r(i);
h&&(p=[h.top,h.left])}}catch(g){f(n,"Unable to get ps")}p=p?p:[-1,-1];d.push(p.join("x"))}return d}}});R("api",["slot","util"],function(a,b){return{getDai:a.K,getSlots:a.z,getFillType:a.wa,getFillWrapperId:a.$,setStatus:a.u,addErrorItem:a.k,addStackItem:a.I,bind:b.event.bind,getType:b.lang.b,sendLog:b.log.H,putInfo:b.data.f,getInfo:b.data.d,defineOnce:b.data.m,addCount:b.data.U,getCount:b.data.ua,getConfig:b.data.ta,getDocumentTitle:b.a.Z}});
R("param",["slot","preview","biz","util"],function(a,b,d,c){function k(a,c){for(var c=c||0,b=[],d=0,e=a.length;d<e;d++)b.push(a[d].split("_")[c]);return b.join(",")}function f(a){a=a||window.document.domain;0===a.indexOf("www.")&&(a=a.substr(4));"."===a.charAt(a.length-1)&&(a=a.substring(0,a.length-1));var c=a.match(RegExp("([a-z0-9][a-z0-9\\-]*?\\.(?:com|cn|net|org|gov|info|la|cc|co|jp|us|hk|tv|me|biz|in|be|io|tk|cm|li|ru|ws|hn|fm|tw|ma|in|vn|name|mx|gd|im)(?:\\.(?:cn|jp|tw|ru|th))?)$","i"));return c?
c[0]:a}var g=window,i=g.document,j=g.screen,h=g.navigator,e=+new Date,o=[{key:"di",value:function(a){return k(a.id)}},{key:"dcb",value:s("BAIDU_DUP_define")},{key:"dtm",value:s("BAIDU_DUP2_SETJSONADSLOT")},{key:"dbv",value:function(){var a=c.W;return a.Pa?"1":a.qa?"2":"0"}},{key:"dci",value:function(c){for(var b="-1",d={fill:"0",fillOnePiece:"1",fillAsync:"2",preload:"3"},e=0;e<c.id.length;e++){var i=a.z(c.id[e]);if(i){var i=i.stack,f=i.length;if(1<=f){b=d[i[f-1]];break}}}return b}},{key:"dri",value:function(a){return k(a.id,
1)}},{key:"dis",value:function(){var a=0;c.a.t(g)&&(a+=1);c.a.C(g,g.top)&&(a+=2);var b=c.style.p(),d=c.style.o();if(40>b||10>d)a+=4;return a}},{key:"dai",value:function(c){return a.K(c.id).join(",")}},{key:"dds",value:function(){var a=c.data.d("dds");return c.lang.ia(a)}},{key:"drs",value:function(){var a={uninitialized:0,loading:1,loaded:2,interactive:3,complete:4};try{return a[i.readyState]}catch(c){return-1}}},{key:"dvi",value:s("1430984165")},{key:"ltu",n:m,value:function(){var a=c.url.O(function(a){var b=
c.style.p(a),a=c.style.o(a);return 400<b&&120<a?m:r});0<a.indexOf("cpro_prev")&&(a=a.slice(0,a.indexOf("?")));return a}},{key:"liu",n:m,value:function(){return c.a.t(g)?i.URL:""}},{key:"ltr",n:m,value:function(){var a=c.a.L(),b="";try{b=a.opener?a.opener.document.location.href:""}catch(d){}return b||a.document.referrer}},{key:"lcr",n:m,value:function(a){if(a&&0!==a.id.length&&-1<a.id[0].indexOf("u"))return"";var a=i.referrer,b=a.replace(/^https?:\/\//,""),b=b.split("/")[0],b=b.split(":")[0],b=f(b),
d=f(),e=c.cookie.get("BAIDU_DUP_lcr");if(e&&d===b)return e;return d!==b?

Prev | Next
Pg.: 1 2 3 4 5 6


Back to home | File page

Subscribe | Register | Login | N