(c.cookie.set("BAIDU_DUP_lcr",a,{domain:d}),a):""}},{key:"ps",value:function(c){return a.r(c.id).join(",")}},{key:"psr",value:function(){return[j.width,j.height].join("x")}},{key:"par",value:function(){return[j.availWidth,j.availHeight].join("x")}},{key:"pcs",value:function(){return[c.style.p(),c.style.o()].join("x")}},{key:"pss",value:function(){return[c.style.ca(),c.style.ba()].join("x")}},{key:"pis",value:function(){return(c.a.t(g)?
[c.style.p(),c.style.o()]:[-1,-1]).join("x")}},{key:"cfv",value:function(){var a=0;if(h.plugins&&h.mimeTypes.length){var c=h.plugins["Shockwave Flash"];c&&c.description&&(a=c.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s)+r/,".")+".0")}else if(g.ActiveXObject&&!g.opera)for(c=10;2<=c;c--)try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+c);b&&(a=b.GetVariable("$version").replace(/WIN/g,"").replace(/,/g,"."))}catch(d){}return parseInt(a,10)}},{key:"ccd",value:function(){return j.colorDepth||
0}},{key:"chi",value:function(){return g.history.length||0}},{key:"cja",value:function(){return h.javaEnabled().toString()}},{key:"cpl",value:function(){return h.plugins.length||0}},{key:"cmi",value:function(){return h.mimeTypes.length||0}},{key:"cce",value:function(){return h.cookieEnabled||0}},{key:"col",value:function(){return(h.language||h.browserLanguage||h.systemLanguage).replace(/[^a-zA-Z0-9\-]/g,"")}},{key:"cec",value:function(){return(i.characterSet?i.characterSet:i.charset)||""}},{key:"cdo",
value:function(){var a=window.orientation;a===l&&(a=-1);return a}},{key:"tsr",value:function(){var a=0,c=+new Date;e&&(a=c-e);return a}},{key:"tlm",value:function(){return Date.parse(i.lastModified)/1E3}},{key:"tcn",value:function(){return Math.round(+new Date/1E3)}},{key:"tpr",value:function(a){var a=a&&a.max_age?a.max_age:24E4,c=(new Date).getTime(),b,d;try{b=!!window.top.location.toString()}catch(e){b=r}d=b?window.top:window;(b=d.BAIDU_DUP2_pageFirstRequestTime)?c-b>=a&&(b=d.BAIDU_DUP2_pageFirstRequestTime=
c):b=d.BAIDU_DUP2_pageFirstRequestTime=c;return b||""}},{key:"_preview",value:function(a){return b.Ca(k(a.id))}},{key:"dpt",value:function(){var a="none";b.da()&&(a="union");return a}},{key:"coa",n:m,value:function(a){var b=a.id,a={cpro_w:"rsi0",cpro_h:"rsi1"},b=b[0].split("_")[0],d={},e=r,i=c.data.d("#novaOpenApi");if(i&&b&&i[b]){var e=m,b=i[b],f;for(f in b)f&&b.hasOwnProperty(f)&&"undefined"!==typeof b[f]&&(d[f]=encodeURIComponent(b[f]).toString())}e&&(d.c01=1);var e=f="",h;for(h in d)h&&d.hasOwnProperty(h)&&
"undefined"!==typeof d[h]&&(e=d[h],"cpro_h"===h&&(c.data.f("setCoaHeight",m),e=parseInt(e,10)||125),"cpro_w"===h&&(c.data.f("setCoaWidth",m),e=parseInt(e,10)||125),f+="&"+(a[h]?a[h]:h)+"="+e);return f=f.slice(1)}},{key:"ti",n:m,value:function(){return c.a.Z()}},{key:"_unionpreview",value:function(){return b.Da()}},{key:"baidu_id",value:s("")},{key:"_orientation",value:function(){return d.ya()}}];return{get:function(a,c){for(var b=[],d=0,e=o.length;d<e;d++){var i;try{var f=o[d],h=f.key,g=f.n,j=f.value,
j="function"===typeof j?j(a):j,j=g?encodeURIComponent(j):j;if(c&&c===h)return j;i=h&&0!==h.indexOf("_")?h+"="+j:j}catch(k){i=encodeURIComponent(k.toString()),i=i.slice(0,100)}i&&b.push(i)}b=b.join("&");return b.slice(0,2048)}}});
R("request",["param","slot","util"],function(a,b,d){R("request!",[],{name2url:function(c){return"http://cb.baidu.com/ecom?"+a.get({id:c.split(",")})}});R("batch!",[],{name2url:function(c){return"http://cb.baidu.com/ecom?"+a.get({id:c.split(",")})}});return{send:function(a,k,f){if(!a||!k||f===l)return r;var g=[];if("array"!==d.lang.b(a))b.u(a,"request"),g=["request!"+a];else{for(g=0;g<a.length;g++)b.u(a[g],"request");g=1===a.length?["request!"+a[0]]:["batch!"+a.join(",")]}Q(g,k,f);return m}}});
R("control",["slot","request","preview","util"],function(a,b,d,c){function k(b,d,f){var e=d.deps,g=d.data,k=a.$(b);f&&!k?a.k(b,"HolderNotFound"):e&&(0>e[0].indexOf("clb/")&&a.u(b,"finish"),Q(e,function(d){if("object"===c.lang.b(g)){g.id=b;if(d.hasOwnProperty("validate"))try{var f=d.validate(g);f!==m&&c.log.H({data:{type:f||"ResponseError",errorPainter:e[0],id:b,slotType:g._stype,materialType:g._isMlt,html:!!g._html}})}catch(h){a.k(b,"validateException")}if(d.hasOwnProperty("render"))try{a.u(b,"render"),
d.render(g,k)}catch(j){a.k(b,"RenderException")}else a.k(b,"RenderNotFound")}else a.k(b,"ResponseFormatError")},f))}function f(d,f,h){if(!d)return r;var h=h||"",e=a.add(d),d=e.ids[0]||e.preloadIds[0];c.data.f("timestampWathcer"+d,u);if(!d)return r;var g=a.sa(d,f);a.I(d,f);a.create(d,f,h);e.ids.length?b.send(d,function(b){a.S(d,b);k(d,b,g)},g):e.preloadIds.length&&(f=a.z(d).response,k(d,f,g));return m}function g(b){for(var c=0,d=b+"_"+c;0!==a.K([d])[0];){var e=a.z(d);if((e=e&&e.response)&&0===e.deps[0].indexOf("clb/")){var f=
e.data,e=f._isMlt;(0===e&&""!==f._html||e===r&&f._fxp)&&a.u(d,"finish",0)}d=b+"_"+ ++c}if(b!==l&&(b=(c=window.BAIDU_CLB_SLOTS_MAP)&&c[b],b!==l&&(e=b._isMlt,0===e&&""!==b._html||e===r&&b._fxp)))b._done=r}window.BAIDU_CLB_prepareMoveSlot=g;return{fill:function(a){return f(a,"fill")},J:function(a,b){return f(a,"fillAsync",b)},La:function(){function f(d){b.send(d,function(b){if("array"===c.lang.b(b)){if(b&&b.length===d.length)for(var e=0;e<d.length;e++)a.S(d[e],b[e])}else"object"===c.lang.b(b)&&b&&1===
d.length&&a.S(d[0],b)},r)}var g=c.lang.l(arguments),g=c.lang.unique(g),h=d.d();if(h)for(var e=0,k=g.length;e<k;e++)g[e]==h.ja&&(g.splice(e,1),e--);for(g=a.add(g).ids;g.length;){h=g.splice(0,16);for(e=0;e<h.length;e++)a.I(h[e],"preload");f(h)}},Ma:g}});
R("global",["control","biz","util","preview"],function(a,b,d,c){function k(a){a=a.split(".");return h[a[0]]+a[1]}function f(){var a=j.BAIDU_DUP;if(!("object"===d.lang.b(a)&&a.push)){if("array"===d.lang.b(a)&&a.length)for(var b=0;b<a.length;b++)g(a[b]);j.BAIDU_DUP=l;d.data.m("BAIDU_DUP",{push:g});d.data.m("BAIDU_DUP_proxy",function(a){if(a)return function(){try{return g([a].concat(d.lang.l(arguments)))}catch(b){0<ga--&&d.log.H({data:{type:"ExecuteException",errorName:a,args:d.lang.l(arguments).join("|"),
isQuirksMode:"CSS1Compat"!==document.compatMode,documentMode:document.documentMode||"",readyState:document.readyState||"",message:b.
Back to home |
File page
Subscribe |
Register |
Login
| N