TaoLer/public/static/res/mods/hm.js

68 lines
30 KiB
JavaScript
Raw Normal View History

2020-01-01 13:17:19 +08:00
(function(){var h={},mt={},c={id:"d214947968792b839fd669a4decaaffc",dm:["layui.com"],js:"tongji.baidu.com/hm-web/js/",etrk:[],icon:'',ctrk:true,align:0,nv:-1,vdur:1800000,age:31536000000,rec:0,rp:[],trust:0,vcard:0,qiao:0,lxb:0,kbtrk:0,pt:0,aet:'',hca:'237B4F067C8485F6',conv:0,med:0,cvcc:'',cvcf:[],apps:''};var s=void 0,t=!0,u=null,v=!1;mt.cookie={};mt.cookie.set=function(b,a,f){var d;f.D&&(d=new Date,d.setTime(d.getTime()+f.D));document.cookie=b+"="+a+(f.domain?"; domain="+f.domain:"")+(f.path?"; path="+f.path:"")+(d?"; expires="+d.toGMTString():"")+(f.Xb?"; secure":"")};mt.cookie.get=function(b){return(b=RegExp("(^| )"+b+"=([^;]*)(;|$)").exec(document.cookie))?b[2]:u};
mt.cookie.vb=function(b,a){try{var f="Hm_ck_"+ +new Date;mt.cookie.set(f,"is-cookie-enabled",{domain:b,path:a,D:s});var d="is-cookie-enabled"===mt.cookie.get(f)?"1":"0";mt.cookie.set(f,"",{domain:b,path:a,D:-1});return d}catch(g){return"0"}};mt.lang={};mt.lang.d=function(b,a){return"[object "+a+"]"==={}.toString.call(b)};mt.lang.wa=function(b){return mt.lang.d(b,"Number")&&isFinite(b)};mt.lang.ea=function(){return mt.lang.d(c.aet,"String")};
mt.lang.h=function(b){return b.replace?b.replace(/'/g,"'0").replace(/\*/g,"'1").replace(/!/g,"'2"):b};mt.lang.trim=function(b){return b.replace(/^\s+|\s+$/g,"")};mt.lang.O=function(b,a){var f=v;if(b==u||!mt.lang.d(b,"Array")||a===s)return f;if(Array.prototype.indexOf)f=-1!==b.indexOf(a);else for(var d=0;d<b.length;d++)if(b[d]===a){f=t;break}return f};
(function(){var b=mt.lang;mt.e={};mt.e.Xa=function(a){return document.getElementById(a)};mt.e.ba=function(a,b){var d=[],g=[];if(!a)return g;for(;a.parentNode!=u;){for(var m=0,p=0,n=a.parentNode.childNodes.length,e=0;e<n;e++){var l=a.parentNode.childNodes[e];if(l.nodeName===a.nodeName&&(m++,l===a&&(p=m),0<p&&1<m))break}if((n=""!==a.id)&&b){d.unshift("#"+encodeURIComponent(a.id));break}else n&&(n="#"+encodeURIComponent(a.id),n=0<d.length?n+">"+d.join(">"):n,g.push(n)),d.unshift(encodeURIComponent(String(a.nodeName).toLowerCase())+
(1<m?"["+p+"]":""));a=a.parentNode}g.push(d.join(">"));return g};mt.e.ta=function(a){return(a=mt.e.ba(a,t))&&a.length?String(a[0]):""};mt.e.Tb=function(a){return mt.e.ba(a,v)};mt.e.Ya=function(a){var b;for(b="A";(a=a.parentNode)&&1==a.nodeType;)if(a.tagName==b)return a;return u};mt.e.$a=function(a){return 9===a.nodeType?a:a.ownerDocument||a.document};mt.e.fb=function(a){var b={top:0,left:0};if(!a)return b;var d=mt.e.$a(a).documentElement;"undefined"!==typeof a.getBoundingClientRect&&(b=a.getBoundingClientRect());
return{top:b.top+(window.pageYOffset||d.scrollTop)-(d.clientTop||0),left:b.left+(window.pageXOffset||d.scrollLeft)-(d.clientLeft||0)}};mt.e.getAttribute=function(a,b){var d=a.getAttribute&&a.getAttribute(b)||u;if(!d&&a.attributes&&a.attributes.length)for(var g=a.attributes,m=g.length,p=0;p<m;p++)g[p].nodeName===b&&(d=g[p].nodeValue);return d};mt.e.N=function(a){var b="document";a.tagName!==s&&(b=a.tagName);return b.toLowerCase()};mt.e.ib=function(a){var f="";a.textContent?f=b.trim(a.textContent):
a.innerText&&(f=b.trim(a.innerText));f&&(f=f.replace(/\s+/g," ").substring(0,255));return f};mt.e.ab=function(a){var b=mt.e.N(a);"input"===b&&("button"===a.type||"submit"===a.type)?a=a.value||"":"img"===b?(b=mt.e.getAttribute,a=b(a,"alt")||b(a,"title")||b(a,"src")):a="body"===b||"html"===b?["(hm-default-content-for-",b,")"].join(""):mt.e.ib(a);return String(a).substring(0,255)};(function(){(mt.e.Bb=function(){function a(){if(!a.Q){a.Q=t;for(var b=0,d=g.length;b<d;b++)g[b]()}}function b(){try{document.documentElement.doScroll("left")}catch(d){setTimeout(b,
1);return}a()}var d=v,g=[],m;document.addEventListener?m=function(){document.removeEventListener("DOMContentLoaded",m,v);a()}:document.attachEvent&&(m=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",m),a())});(function(){if(!d)if(d=t,"complete"===document.readyState)a.Q=t;else if(document.addEventListener)document.addEventListener("DOMContentLoaded",m,v),window.addEventListener("load",a,v);else if(document.attachEvent){document.attachEvent("onreadystatechange",
m);window.attachEvent("onload",a);var g=v;try{g=window.frameElement==u}catch(n){}document.documentElement.doScroll&&g&&b()}})();return function(b){a.Q?b():g.push(b)}}()).Q=v})();return mt.e})();mt.event={};mt.event.c=function(b,a,f){b.attachEvent?b.attachEvent("on"+a,function(a){f.call(b,a)}):b.addEventListener&&b.addEventListener(a,f,v)};mt.event.preventDefault=function(b){b.preventDefault?b.preventDefault():b.returnValue=v};
(function(){var b=mt.event;mt.g={};mt.g.da=/msie (\d+\.\d+)/i.test(navigator.userAgent);mt.g.tb=/msie (\d+\.\d+)/i.test(navigator.userAgent)?document.documentMode||+RegExp.$1:s;mt.g.cookieEnabled=navigator.cookieEnabled;mt.g.javaEnabled=navigator.javaEnabled();mt.g.language=navigator.language||navigator.browserLanguage||navigator.systemLanguage||navigator.userLanguage||"";mt.g.Db=(window.screen.width||0)+"x"+(window.screen.height||0);mt.g.colorDepth=window.screen.colorDepth||0;mt.g.F=function(){var a;
a=a||document;return parseInt(window.pageYOffset||a.documentElement.scrollTop||a.body&&a.body.scrollTop||0,10)};mt.g.z=function(){var a=document;return parseInt(window.innerHeight||a.documentElement.clientHeight||a.body&&a.body.clientHeight||0,10)};mt.g.orientation=0;(function(){function a(){var a=0;window.orientation!==s&&(a=window.orientation);screen&&(screen.orientation&&screen.orientation.angle!==s)&&(a=screen.orientation.angle);mt.g.orientation=a}a();b.c(window,"orientationchange",a)})();return mt.g})();
mt.l={};mt.l.parse=function(b){return(new Function("return ("+b+")"))()};
mt.l.stringify=function(){function b(a){/["\\\x00-\x1f]/.test(a)&&(a=a.replace(/["\\\x00-\x1f]/g,function(a){var b=f[a];if(b)return b;b=a.charCodeAt();return"\\u00"+Math.floor(b/16).toString(16)+(b%16).toString(16)}));return'"'+a+'"'}function a(a){return 10>a?"0"+a:a}var f={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return function(d){switch(typeof d){case "undefined":return"undefined";case "number":return isFinite(d)?String(d):"null";case "string":return b(d);case "boolean":return String(d);
default:if(d===u)return"null";if(d instanceof Array){var f=["["],m=d.length,p,n,e;for(n=0;n<m;n++)switch(e=d[n],typeof e){case "undefined":case "function":case "unknown":break;default:p&&f.push(","),f.push(mt.l.stringify(e)),p=1}f.push("]");return f.join("")}if(d instanceof Date)return'"'+d.getFullYear()+"-"+a(d.getMonth()+1)+"-"+a(d.getDate())+"T"+a(d.getHours())+":"+a(d.getMinutes())+":"+a(d.getSeconds())+'"';p=["{"];n=mt.l.stringify;for(m in d)if(Object.prototype.hasOwnProperty.call(d,m))switch(e=
d[m],typeof e){case "undefined":case "unknown":case "function":break;default:f&&p.push(","),f=1,p.push(n(m)+":"+n(e))}p.push("}");return p.join("")}}}();mt.localStorage={};mt.localStorage.U=function(){if(!mt.localStorage.j)try{mt.localStorage.j=document.createElement("input"),mt.localStorage.j.type="hidden",mt.localStorage.j.style.display="none",mt.localStorage.j.addBehavior("#default#userData"),document.getElementsByTagName("head")[0].appendChild(mt.localStorage.j)}catch(b){return v}return t};
mt.localStorage.set=function(b,a,f){var d=new Date;d.setTime(d.getTime()+f||31536E6);try{window.localStorage?(a=d.getTime()+"|"+a,window.localStorage.setItem(b,a)):mt.localStorage.U()&&(mt.localStorage.j.expires=d.toUTCString(),mt.localStorage.j.load(document.location.hostname),mt.localStorage.j.setAttribute(b,a),mt.localStorage.j.save(document.location.hostname))}catch(g){}};
mt.localStorage.get=function(b){if(window.localStorage){if(b=window.localStorage.getItem(b)){var a=b.indexOf("|"),f=b.substring(0,a)-0;if(f&&f>(new Date).getTime())return b.substring(a+1)}}else if(mt.localStorage.U())try{return mt.localStorage.j.load(document.location.hostname),mt.localStorage.j.getAttribute(b)}catch(d){}return u};
mt.localStorage.remove=function(b){if(window.localStorage)window.localStorage.removeItem(b);else if(mt.localStorage.U())try{mt.localStorage.j.load(document.location.hostname),mt.localStorage.j.removeAttribute(b),mt.localStorage.j.save(document.location.hostname)}catch(a){}};mt.sessionStorage={};mt.sessionStorage.set=function(b,a){if(window.sessionStorage)try{window.sessionStorage.setItem(b,a)}catch(f){}};
mt.sessionStorage.get=function(b){return window.sessionStorage?window.sessionStorage.getItem(b):u};mt.sessionStorage.remove=function(b){window.sessionStorage&&window.sessionStorage.removeItem(b)};mt.Ba={};mt.Ba.log=function(b,a){var f=new Image,d="mini_tangram_log_"+Math.floor(2147483648*Math.random()).toString(36);window[d]=f;f.onload=function(){f.onload=u;f=window[d]=u;a&&a(b)};f.src=b};mt.ka={};
mt.ka.jb=function(){var b="";if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];a&&a.description&&(b=a.description.replace(/^.*\s+(\S+)\s+\S+$/,"$1"))}else if(window.ActiveXObject)try{if(a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"))(b=a.GetVariable("$version"))&&(b=b.replace(/^.*\s+(\d+),(\d+).*$/,"$1.$2"))}catch(f){}return b};
mt.ka.Sb=function(b,a,f,d,g){return'<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="'+b+'" width="'+f+'" height="'+d+'"><param name="movie" value="'+a+'" /><param name="flashvars" value="'+(g||"")+'" /><param name="allowscriptaccess" value="always" /><embed type="application/x-shockwave-flash" name="'+b+'" width="'+f+'" height="'+d+'" src="'+a+'" flashvars="'+(g||"")+'" allowscriptaccess="always" /></object>'};mt.url={};
mt.url.k=function(b,a){var f=b.match(RegExp("(^|&|\\?|#)("+a+")=([^&#]*)(&|$|#)",""));return f?f[3]:u};mt.url.Ub=function(b){return(b=b.match(/^(https?:)\/\//))?b[1]:u};mt.url.cb=function(b){return(b=b.match(/^(https?:\/\/)?([^\/\?#]*)/))?b[2].replace(/.*@/,""):u};mt.url.aa=function(b){return(b=mt.url.cb(b))?b.replace(/:\d+$/,""):b};mt.url.ba=function(b){return(b=b.match(/^(https?:\/\/)?[^\/]*(.*)/))?b[2].replace(/[\?#].*/,"").replace(/^$/,"/"):u};
(function(){function b(){for(var a=v,b=document.getElementsByTagName("script"),d=b.length,d=100<d?100:d,g=0;g<d;g++){var m=b[g].src;if(m&&0===m.indexOf("https://hm.baidu.com/h")){a=t;break}}return a}return h.Wa=b})();var A=h.Wa;
h.m={Vb:"http://tongji.baidu.com/hm-web/welcome/ico",ia:"hm.baidu.com/hm.gif",Ia:"tongji.baidu.com",pb:"hmmd",qb:"hmpl",Ob:"utm_medium",ob:"hmkw",Qb:"utm_term",mb:"hmci",Nb:"utm_content",rb:"hmsr",Pb:"utm_source",nb:"hmcu",Mb:"utm_campaign",A:0,s:Math.round(+new Date/1E3),C:Math.round(+new Date/1E3)%65535,protocol:"https:"===document.location.protocol?"https:":"http:",R:A()||"https:"===document.location.protocol?"https:":"http:",Wb:0,Oa:6E5,wb:6E5,Eb:5E3,Pa:5,B:1024,Na:1,I:2147483647,Ca:"hca kb cc cf ci ck cl cm cp cu cw ds vl ep et fl ja ln lo lt rnd si su v cv lv api sn ct u tt hh".split(" "),
G:t,qa:["a","input","button"],Ka:{id:"data-hm-id",X:"data-hm-class",na:"data-hm-xpath",content:"data-hm-content",la:"data-hm-tag",link:"data-hm-link"},pa:"data-hm-enabled",oa:"data-hm-disabled"};(function(){var b={p:{},c:function(a,b){this.p[a]=this.p[a]||[];this.p[a].push(b)},L:function(a,b){this.p[a]=this.p[a]||[];for(var d=this.p[a].length,g=0;g<d;g++)this.p[a][g](b)}};return h.w=b})();
(function(){function b(b,d){var g=document.createElement("script");g.charset="utf-8";a.d(d,"Function")&&(g.readyState?g.onreadystatechange=function(){if("loaded"===g.readyState||"complete"===g.readyState)g.onreadystatechange=u,d()}:g.onload=function(){d()});g.src=b;var m=document.getElementsByTagName("script")[0];m.parentNode.insertBefore(g,m)}var a=mt.lang;return h.load=b})();
(function(){var b=mt.e,a=mt.lang,f=mt.event,d=mt.g,g=h.m,m=h.w,p=[],n={Da:function(){c.ctrk&&(f.c(document,"mouseup",n.Ma()),f.c(window,"unload",function(){n.S()}),setInterval(function(){n.S()},g.Oa))},Ma:function(){return function(a){a=n.Za(a);if(""!==a){var b=(g.R+"//"+g.ia+"?"+h.b.Aa().replace(/ep=[^&]*/,"ep="+encodeURIComponent(a))).length;b+(g.I+"").length>g.B||(b+encodeURIComponent(p.join("!")+(p.length?"!":"")).length+(g.I+"").length>g.B&&n.S(),p.push(a),(p.length>=g.Pa||/\*a\*/.test(a))&&
n.S())}}},Za:function(l){var k=l.target||l.srcElement;if(0===g.Na){var e=(k.tagName||"").toLowerCase();if("embed"==e||"object"==e)return""}var q;d.da?(q=Math.max(document.documentElement.scrollTop,document.body.scrollTop),e=Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),e=l.clientX+e,q=l.clientY+q):(e=l.pageX,q=l.pageY);l=n.eb(l,k,e,q);var r=window.innerWidth||document.documentElement.clientWidth||document.body.offsetWidth;switch(c.align){case 1:e-=r/2;break;case 2:e-=r}r=
[];r.push(e);r.push(q);r.push(l.xb);r.push(l.yb);r.push(l.Ab);r.push(a.h(l.zb));r.push(l.Rb);r.push(l.lb);(k="a"===(k.tagName||"").toLowerCase()?k:b.Ya(k))?(r.push("a"),r.push(a.h(encodeURIComponent(k.href)))):r.push("b");return r.join("*")},eb:function(l,k,e,q){l=b.ta(k);var r=0,f=0,y=0,g=0;if(k&&(r=k.offsetWidth||k.clientWidth,f=k.offsetHeight||k.clientHeight,g=b.fb(k),y=g.left,g=g.top,a.d(k.getBBox,"Function")&&(f=k.getBBox(),r=f.width,f=f.height),"html"===(k.tagName||"").toLowerCase()))r=Math.max(r,
k.clientWidth),f=Math.max(f,k.clientHeight);return{xb:Math.round(100*((e-y)/r)),yb:Math.round(100*((q-g)/f)),Ab:d.orientation,zb:l,Rb:r,lb:f}},S:function(){0!==p.length&&(h.b.a.et=2,h.b.a.ep=p.join("!"),h.b.i(),p=[])}},e={Ga:function(){c.ctrk&&setInterval(e.Fb,g.Eb)},Fb:function(){var a=d.F()+d.z();0<a-h.b.a.vl&&(h.b.a.vl=a)}};m.c("pv-b",n.Da);m.c("pv-b",e.Ga);return n})();
(function(){var b=mt.lang,a=mt.e,f=mt.event,d=mt.g,g=h.m,m=h.w,p=+new Date,n=[],e={sa:function(){return function(l){if(h.b&&h.b.G&&c.aet&&c.aet.length){var k=l.target||l.srcElement;if(k){var f=h.b.qa,q=a.getAttribute(k,g.pa)!=u?t:v;if(a.getAttribute(k,g.oa)==u)if(q)e.V(e.$(k,l));else{var r=a.N(k);if(b.O(f,"*")||b.O(f,r))e.V(e.$(k,l));else for(;k.parentNode!=u;){var q=k.parentNode,r=a.N(q),d="a"===r&&b.O(f,"a")?t:v,r="button"===r&&b.O(f,"button")?t:v,y=a.getAttribute(q,g.pa)!=u?t:v;if(a.getAttribute(q,
g.oa)==u&&(d||r||y)){e.V(e.$(q,l));break}k=k.parentNode}}}}}},$:function(l,k){var e={},q=g.Ka;e.id=a.getAttribute(l,q.id)||a.getAttribute(l,"id")||"";e.X=a.getAttribute(l,q.X)||a.getAttribute(l,"class")||"";e.na=a.getAttribute(l,q.na)||a.ta(l);e.content=a.getAttribute(l,q.content)||a.ab(l);e.la=a.getAttribute(l,q.la)||a.N(l);e.link=a.getAttribute(l,q.link)||a.getAttribute(l,"href")||"";e.type=k.type||"click";q=b.wa(l.offsetTop)?l.offsetTop:0;"click"===k.type?q=d.da?k.clientY+Math.max(document.documentElement.scrollTop,
document.body.scrollTop):k.pageY:"touchend"===k.type&&(k.ga&&b.d(k.ga.changedTouches,"Array")&&k.ga.changedTouches.length)&&(q=k.ga.changedTouches[0].pageY);e.Lb=q;return e},V:function(a){var k=b.h;a=[+new Date-(h.b.r!==s?h.b.r:p),k(a.id),k(a.X),k(a.la),k(a.na),k(a.link),k(a.content),a.type,a.Lb].join("*");e.W(a);b.d(this.J(),"Function")&&this.J()()},W:function(a){a.length>g.B||(encodeURIComponent(n.join("!")+a).length>g.B&&(e.K(n.join("!")),n=[]),n.push(a))},K:function(a){h.b.a.et=5;h.b.a.ep=a;h.b.i()},
J:function(){return function(){n&&n.length&&(e.K(n.join("!")),n=[])}}};b.ea()&&""!==c.aet&&m.c("pv-b",function(){f.c(document,"click",e.sa());"ontouchend"in document&&f.c(window,"touchend",e.sa());f.c(window,"unload",e.J())});return e})();
(function(){var b=mt.event,a=mt.g,f=h.m,d=h.w,g=+new Date,m=[],p=u,n={Sa:function(){return function(){h.b&&(h.b.G&&c.aet&&c.aet.length)&&(window.clearTimeout(p),p=window.setTimeout(function(){n.Fa(a.F()+a.z())},150))}},Fa:function(a){n.W([+new Date-(h.b.r!==s?h.b.r:g),a].join("*"))},W:function(a){if(encodeURIComponent(m.join("!")+a).length>f.B||3<m.length)n.K(m.join("!")),m=[];m.push(a)},K:function(b){h.b.a.et=6;h.b.a.vh=a.z();h.b.a.ep=b;h.b.i()},J:function(){return function(){m&&m.length&&(n.K(m.join("!")),
m=[])}}};mt.lang.ea()&&""!==c.aet&&d.c("pv-b",function(){b.c(window,"scroll",n.Sa());b.c(window,"unload",n.J())});return n})();
(function(){function b(){return function(){h.b.a.nv=0;h.b.a.st=4;h.b.a.et=3;h.b.a.ep=h.Y.gb()+","+h.Y.bb();h.b.i()}}function a(){clearTimeout(z);var b;x&&(b="visible"==document[x]);y&&(b=!document[y]);n="undefined"==typeof b?t:b;if((!p||!e)&&n&&l)r=t,w=+new Date;else if(p&&e&&(!n||!l))r=v,q+=+new Date-w;p=n;e=l;z=setTimeout(a,100)}function f(a){var b=document,l="";if(a in b)l=a;else for(var q=["webkit","ms","moz","o"],k=0;k<q.length;k++){var e=q[k]+a.charAt(0).toUpperCase()+a.slice(1);if(e in b){l=
e;break}}return l}function d(b){if(!("focus"==b.type||"blur"==b.type)||!(b.target&&b.target!=window))l="focus"==b.type||"focusin"==b.type?t:v,a()}var g=mt.event,m=h.w,p=t,n=t,e=t,l=t,k=+new Date,w=k,q=0,r=t,x=f("visibilityState"),y=f("hidden"),z;a();(function(){var b=x.replace(/[vV]isibilityState/,"visibilitychange");g.c(document,b,a);g.c(window,"pageshow",a);g.c(window,"pagehide",a);"object"==typeof document.onfocusin?(g.c(document,"focusin",d),g.c(document,"focusout",d)):(g.c(window,"focus",d),
g.c(window,"blur",d))})();h.Y={gb:function(){return+new Date-k},bb:function(){return r?+new Date-w+q:q}};m.c("pv-b",function(){g.c(window,"unload",b())});return h.Y})();
(function(){var b=mt.lang,a=h.m,f=h.load,d={ub:function(d){if((window._dxt===s||b.d(window._dxt,"Array"))&&"undefined"!==typeof h.b){var m=h.b.M();f([a.protocol,"//datax.baidu.com/x.js?si=",c.id,"&dm=",encodeURIComponent(m)].join(""),d)}},Kb:function(a){if(b.d(a,"String")||b.d(a,"Number"))window._dxt=window._dxt||[],window._dxt.push(["_setUserId",a])}};return h.Qa=d})();
(function(){function b(a,b,e,q){if(!(a===s||b===s||q===s)){if(""===a)return[b,e,q].join("*");a=String(a).split("!");for(var r,f=v,d=0;d<a.length;d++)if(r=a[d].split("*"),String(b)===r[0]){r[1]=e;r[2]=q;a[d]=r.join("*");f=t;break}f||a.push([b,e,q].join("*"));return a.join("!")}}function a(b){for(var k in b)if({}.hasOwnProperty.call(b,k)){var e=b[k];f.d(e,"Object")||f.d(e,"Array")?a(e):b[k]=String(e)}}var f=mt.lang,d=mt.l,g=mt.g,m=h.m,p=h.w,n=h.Qa,e={H:[],T:0,xa:v,o:{ma:"",page:""},init:function(){e.f=
0;p.c("pv-b",function(){e.Ra();e.Ua()});p.c("pv-d",function(){e.Va();e.o.page=""});p.c("stag-b",function(){h.b.a.api=e.f||e.T?e.f+"_"+e.T:"";h.b.a.ct=[decodeURIComponent(h.b.getData("Hm_ct_"+c.id)||""),e.o.ma,e.o.page].join("!")});p.c("stag-d",function(){h.b.a.api=0;e.f=0;e.T=0})},Ra:function(){var a=window._hmt||[];if(!a||f.d(a,"Array"))window._hmt={id:c.id,cmd:{},push:function(){for(var a=window._hmt,b=0;b<arguments.length;b++){var l=arguments[b];f.d(l,"Array")&&(a.cmd[a.id].push(l),"_setAccount"===
l[0]&&(1<l.length&&/^[0-9a-f]{32}$/.test(l[1]))&&(l=l[1],a.id=l,a.cmd[l]=a.cmd[l]||[]))}}},window._hmt.cmd[c.id]=[],window._hmt.push.apply(window._hmt,a)},Ua:function(){var a=window._hmt;if(a&&a.cmd&&a.cmd[c.id])for(var b=a.cmd[c.id],f=/^_track(Event|MobConv|Order|RTEvent)$/,q=0,r=b.length;q<r;q++){var d=b[q];f.test(d[0])?e.H.push(d):e.ha(d)}a.cmd[c.id]={push:e.ha}},Va:function(){if(0<e.H.length)for(var a=0,b=e.H.length;a<b;a++)e.ha(e.H[a]);e.H=u},ha:function(a){var b=a[0];if(e.hasOwnProperty(b)&&
f.d(e[b],"Function"))e[b](a)},_setAccount:function(a){1<a.length&&/^[0-9a-f]{32}$/.test(a[1])&&(e.f|=1)},_setAutoPageview:function(a){if(1<a.length&&(a=a[1],v===a||t===a))e.f|=2,h.b.ua=a},_trackPageview:function(a){if(1<a.length&&a[1].charAt&&"/"===a[1].charAt(0)){e.f|=4;h.b.a.et=0;h.b.a.ep="";h.b.a.vl=g.F()+g.z();h.b.a.kb=0;h.b.ca?(h.b.a.nv=0,h.b.a.st=4):h.b.ca=t;var b=h.b.a.u,d=h.b.a.su;h.b.a.u=m.protocol+"//"+document.location.host+a[1];e.xa||(h.b.a.su=document.location.href);h.b.i();h.b.a.u=b;
h.b.a.su=d;h.b.r=+new Date}},_trackEvent:function(a){2<a.length&&(e.f|=8,h.b.a.nv=0,h.b.a.st=4,h.b.a.et=4,h.b.a.ep=f.h(a[1])+"*"+f.h(a[2])+(a[3]?"*"+f.h(a[3]):"")+(a[4]?"*"+f.h(a[4]):""),h.b.i())},_setCustomVar:function(a){if(!(4>a.length)){var b=a[1],d=a[4]||3;if(0<b&&6>b&&0<d&&4>d){e.T++;for(var q=(h.b.a.cv||"*").split("!"),r=q.length;r<b-1;r++)q.push("*");q[b-1]=d+"*"+f.h(a[2])+"*"+f.h(a[3]);h.b.a.cv=q.join("!");a=h.b.a.cv.replace(/[^1](\*[^!]*){2}/g,"*").replace(/((^|!)\*)+$/g,"");""!==a?h.b.setData("Hm_cv_"+
c.id,encodeURIComponent(a),c.age):h.b.Cb("Hm_cv_"+c.id)}}},_setUserTag:function(a){if(!(3>a.length)){var e=f.h(a[1]);a=f.h(a[2]);if(e!==s&&a!==s){var d=decodeURIComponent(h.b.getData("Hm_ct_"+c.id)||""),d=b(d,e,1,a);h.b.setData("Hm_ct_"+c.id,encodeURIComponent(d),c.age)}}},_setVisitTag:function(a){if(!(3>a.length)){var d=f.h(a[1]);a=f.h(a[2]);if(d!==s&&a!==s){var g=e.o.ma,g=b(g,d,2,a);e.o.ma=g}}},_setPageTag:function(a){if(!(3>a.length)){var d=f.h(a[1]);a=f.h(a[2]);if(d!==s&&a!==s){var g=e.o.page,
g=b(g,d,3,a);e.o.page=g}}},_setReferrerOverride:function(a){1<a.length&&(h.b.a.su=a[1].charAt&&"/"===a[1].charAt(0)?m.protocol+"//"+window.location.host+a[1]:a[1],e.xa=t)},_trackOrder:function(b){b=b[1];f.d(b,"Object")&&(a(b),e.f|=16,h.b.a.nv=0,h.b.a.st=4,h.b.a.et=94,h.b.a.ep=d.stringify(b),h.b.i())},_trackMobConv:function(a){if(a={webim:1,tel:2,map:3,sms:4,callback:5,share:6}[a[1]])e.f|=32,h.b.a.et=93,h.b.a.ep=a,h.b.i()},_trackRTPageview:function(b){b=b[1];f.d(b,"Object")&&(a(b),b=d.stringify(b),
512>=encodeURIComponent(b).length&&(e.f|=64,h.b.a.rt=b))},_trackRTEvent:function(b){b=b[1];if(f.d(b,"Object")){a(b);b=encodeURIComponent(d.stringify(b));var k=function(a){var b=h.b.a.rt;e.f|=128;h.b.a.et=90;h.b.a.rt=a;h.b.i();h.b.a.rt=b},g=b.length;if(900>=g)k.call(this,b);else for(var g=Math.ceil(g/900),q="block|"+Math.round(Math.random()*m.I).toString(16)+"|"+g+"|",r=[],x=0;x<g;x++)r.push(x),r.push(b.substring(900*x,900*x+900)),k.call(this,q+r.join("|")),r=[]}},_setUserId:function(a){a=a[1];n.ub();
n.Kb(a)},_setAutoTracking:function(a){if(1<a.length&&(a=a[1],v===a||t===a))h.b.va=a},_setAutoEventTracking:function(a){if(1<a.length&&(a=a[1],v===a||t===a))h.b.G=a}};e.init();h.Ja=e;return h.Ja})();
(function(){function b(){"undefined"===typeof window["_bdhm_loaded_"+c.id]&&(window["_bdhm_loaded_"+c.id]=t,this.a={},this.va=this.ua=t,this.G=k.G,this.qa=g.ea()&&0<c.aet.length?c.aet.split(","):"",this.ca=v,this.init())}var a=mt.url,f=mt.Ba,d=mt.ka,g=mt.lang,m=mt.cookie,p=mt.g,n=mt.localStorage,e=mt.sessionStorage,l=mt.l,k=h.m,w=h.w;b.prototype={fa:function(a,b){a="."+a.replace(/:\d+/,"");b="."+b.replace(/:\d+/,"");var d=a.indexOf(b);return-1<d&&d+b.length===a.length},ya:function(a,b){a=a.replace(/^https?:\/\//,
"");return 0===a.indexOf(b)},P:function(b){for(var d=0;d<c.dm.length;d++)if(-1<c.dm[d].indexOf("/")){if(this.ya(b,c.dm[d]))return t}else{var e=a.aa(b);if(e&&this.fa(e,c.dm[d]))return t}return v},M:function(){for(var a=document.location.hostname,b=0,d=c.dm.length;b<d;b++)if(this.fa(a,c.dm[b]))return c.dm[b].replace(/(:\d+)?[/?#].*/,"");return a},Z:function(){for(var a=0,b=c.dm.length;a<b;a++){var d=c.dm[a];if(-1<d.indexOf("/")&&this.ya(document.location.href,d))return d.replace(/^[^/]+(\/.*)/,"$1")+
"/"}return"/"},hb:function(){if(!document.referrer)return k.s-k.A>c.vdur?1:4;var b=v;this.P(document.referrer)&&this.P(document.location.href)?b=t:(b=a.aa(document.referrer),b=this.fa(b||"",document.location.hostname));return b?k.s-k.A>c.vdur?1:4:3},getData:function(a){try{return m.get(a)||e.get(a)||n.get(a)}catch(b){}},setData:function(a,b,d){try{m.set(a,b,{domain:this.M(),path:this.Z(),D:d}),d?n.set(a,b,d):e.set(a,b)}catch(f){}},Cb:function(a){try{m.set(a,"",{domain:this.M(),path:this.Z(),D:-1}),
e.remove(a),n.remove(a)}catch(b){}},Ib:function(){var a,b,d,e,f;k.A=this.getData("Hm_lpvt_"+c.id)||0;13===k.A.length&&(k.A=Math.round(k.A/1E3));b=this.hb();a=4!==b?1:0;if(d=this.getData("Hm_lvt_"+c.id)){e=d.split(",");for(f=e.length-1;0<=f;f--)13===e[f].length&&(e[f]=""+Math.round(e[f]/1E3));for(;2592E3<k.s-e[0];)e.shift();f=4>e.length?2:3;for(1===a&&e.push(k.s);4<e.length;)e.shift();d=e.join(",");e=e[e.length-1]}else d=k.s,e="",f=1;this.setData("Hm_lvt_"+c.id,d,c.age);this.setData("Hm_lpvt_"+c.id,
k.s);d=m.vb(this.M(),this.Z());if(0===c.nv&&this.P(document.location.href)&&(""===document.referrer||this.P(document.referrer)))a=0,b=4;this.a.nv=a;this.a.st=b;this.a.cc=d;this.a.lt=e;this.a.lv=f},Aa:function(){for(var a=[],b=this.a.et,d=+new Date,e=0,f=k.Ca.length;e<f;e++){var g=k.Ca[e],l=this.a[g];"undefined"!==typeof l&&""!==l&&("tt"!==g||"tt"===g&&0===b)&&(("ct"!==g||"ct"===g&&0===b)&&("kb"!==g||"kb"===g&&3===b))&&a.push(g+"="+encodeURIComponent(l))}switch(b){case 0:a.push("sn="+k.C);this.a.rt&&
a.push("rt="+encodeURIComponent(this.a.rt));break;case 3:a.push("sn="+k.C);break;case 5:a.push("sn="+k.C);a.push("_lpt="+this.r);a.push("_ct="+d);break;case 6:a.push("sn="+k.C);a.push("_lpt="+this.r);a.push("_ct="+d);break;case 85:a.push("sn="+k.C);break;case 90:this.a.rt&&a.push("rt="+this.a.rt)}return a.join("&")},Jb:function(){this.Ib();this.a.si=c.id;this.a.hca=s;this.a.su=document.referrer;this.a.hh=window.location.hash;this.a.ds=p.Db;this.a.cl=p.colorDepth+"-bit";this.a.ln=String(p.language).toLowerCase();
this.a.ja=p.javaEnabled?1:0;this.a.ck=p.cookieEnabled?1:0;this.a.lo="number"===typeof _bdhm_top?1:0;this.a.fl=d.jb();this.a.v="1.2.43";this.a.cv=decodeURIComponent(this.getData("Hm_cv_"+c.id)||"");this.a.tt=document.title||"";this.a.vl=p.F()+p.z();var b=document.location.href;this.a.cm=a.k(b,k.pb)||"";this.a.cp=a.k(b,k.qb)||a.k(b,k.Ob)||"";this.a.cw=a.k(b,k.ob)||a.k(b,k.Qb)||"";this.a.ci=a.k(b,k.mb)||a.k(b,k.Nb)||"";this.a.cf=a.k(b,k.rb)||a.k(b,k.Pb)||"";this.a.cu=a.k(b,k.nb)||a.k(b,k.Mb)||""},init:function(){try{this.Jb(),
0===this.a.nv?this.Hb():this.ra(),h.b=this,this.La(),w.L("pv-b"),this.Gb()}catch(a){var b=[];b.push("si="+c.id);b.push("n="+encodeURIComponent(a.name));b.push("m="+encodeURIComponent(a.message));b.push("r="+encodeURIComponent(document.referrer));f.log(k.R+"//"+k.ia+"?"+b.join("&"))}},Gb:function(){function a(){w.L("pv-d")}this.ua?(this.ca=t,this.a.et=0,this.a.ep="",this.a.vl=p.F()+p.z(),this.i(a)):a();this.r=+new Date},i:function(a){if(this.va){var b=this;b.a.rnd=Math.round(Math.random()*k.I);w.L("stag-b");
var d=k.R+"//"+k.ia+"?"+b.Aa();w.L("stag-d");b.Ha(d);f.log(d,function(d){b.za(d);g.d(a,"Function")&&a.call(b)})}},La:function(){var b=document.location.hash.substring(1),d=RegExp(c.id),e=a.aa(document.referrer)===k.Ia?1:0,f=a.k(b,"jn"),g=/^heatlink$|^select$|^pageclick$/.test(f);b&&(d.test(b)&&e&&g)&&(this.a.rnd=Math.round(Math.random()*k.I),b=document.createElement("script"),b.setAttribute("type","text/javascript"),b.setAttribute("charset","utf-8"),b.setAttribute("src",k.protocol+"//"+c.js+f+".js?"+
this.a.rnd),f=document.getElementsByTagName("script")[0],f.parentNode.insertBefore(b,f))},Ha:function(a){var b;try{b=l.parse(e.get("Hm_unsent_"+c.id)||"[]")}catch(d){b=[]}var f=this.a.u?"":"&u="+encodeURIComponent(document.location.href);b.push(a.replace(/^https?:\/\//,"")+f);e.set("Hm_unsent_"+c.id,l.stringify(b))},za:function(a){var b;try{b=l.parse(e.get("Hm_unsent_"+c.id)||"[]")}catch(d){b=[]}if(b.length){a=a.replace(/^https?:\/\//,"");for(var f=0;f<b.length;f++)if(a.replace(/&u=[^&]*/,"")===b[f].replace(/&u=[^&]*/,
"")){b.splice(f,1);break}b.length?e.set("Hm_unsent_"+c.id,l.stringify(b)):this.ra()}},ra:function(){e.remove("Hm_unsent_"+c.id)},Hb:function(){var a=this,b;try{b=l.parse(e.get("Hm_unsent_"+c.id)||"[]")}catch(d){b=[]}if(b.length)for(var g=function(b){f.log(k.R+"//"+b,function(b){a.za(b)})},m=0;m<b.length;m++)g(b[m])}};return new b})();
(function(){var b=mt.event,a=mt.lang,f=h.m;if(c.kbtrk&&"undefined"!==typeof h.b){h.b.a.kb=a.wa(h.b.a.kb)?h.b.a.kb:0;var d=function(){h.b.a.et=85;h.b.a.ep=h.b.a.kb;h.b.i()};b.c(document,"keyup",function(){h.b.a.kb++});b.c(window,"unload",function(){d()});setInterval(d,f.wb)}})();var B=h.m,C=h.load;c.pt&&C([B.protocol,"//ada.baidu.com/phone-tracker/insert_bdtj?sid=",c.pt].join(""));
(function(){var b=mt.g,a=mt.lang,f=mt.event,d=mt.l;if("undefined"!==typeof h.b&&(c.med||(!b.da||7<b.tb)&&c.cvcc)){var g,m,p,n,e=function(a){if(a.item){for(var b=a.length,d=Array(b);b--;)d[b]=a[b];return d}return[].slice.call(a)},l=function(a,b){for(var d in a)if(a.hasOwnProperty(d)&&b.call(a,d,a[d])===v)return v},k=function(b,e){var f={};f.n=g;f.t="clk";f.v=b;if(e){var k=e.getAttribute("href"),l=e.getAttribute("onclick")?""+e.getAttribute("onclick"):u,m=e.getAttribute("id")||"";p.test(k)?(f.sn="mediate",
f.snv=k):a.d(l,"String")&&p.test(l)&&(f.sn="wrap",f.snv=l);f.id=m}h.b.a.et=86;h.b.a.ep=d.stringify(f);h.b.i();for(f=+new Date;400>=+new Date-f;);};if(c.med)m="/zoosnet",g="swt",p=/swt|zixun|call|chat|zoos|business|talk|kefu|openkf|online|\/LR\/Chatpre\.aspx/i,n={click:function(){for(var a=[],b=e(document.getElementsByTagName("a")),b=[].concat.apply(b,e(document.getElementsByTagName("area"))),b=[].concat.apply(b,e(document.getElementsByTagName("img"))),d,f,g=0,k=b.length;g<k;g++)d=b[g],f=d.getAttribute("onclick"),
d=d.getAttribute("href"),(p.test(f)||p.test(d))&&a.push(b[g]);return a}};else if(c.cvcc){m="/other-comm";g="other";p=c.cvcc.q||s;var w=c.cvcc.id||s;n={click:function(){for(var a=[],b=e(document.getElementsByTagName("a")),b=[].concat.apply(b,e(document.getElementsByTagName("area"))),b=[].concat.apply(b,e(document.getElementsByTagName("img"))),d,f,g,k=0,l=b.length;k<l;k++)d=b[k],p!==s?(f=d.getAttribute("onclick"),g=d.getAttribute("href"),w?(d=d.getAttribute("id"),(p.test(f)||p.test(g)||w.test(d))&&
a.push(b[k])):(p.test(f)||p.test(g))&&a.push(b[k])):w!==s&&(d=d.getAttribute("id"),w.test(d)&&a.push(b[k]));return a}}}if("undefined"!==typeof n&&"undefined"!==typeof p){var q;m+=/\/$/.test(m)?"":"/";var r=function(b,d){if(q===d)return k(m+b,d),v;if(a.d(d,"Array")||a.d(d,"NodeList"))for(var e=0,f=d.length;e<f;e++)if(q===d[e])return k(m+b+"/"+(e+1),d[e]),v};f.c(document,"mousedown",function(b){b=b||window.event;q=b.target||b.srcElement;var d={};for(l(n,function(b,e){d[b]=a.d(e,"Function")?e():document.getElementById(e)});q&&
q!==document&&l(d,r)!==v;)q=q.parentNode})}}})();(function(){var b=mt.e,a=mt.lang,f=mt.event,d=mt.l;if("undefined"!==typeof h.b&&a.d(c.cvcf,"Array")&&0<c.cvcf.length){var g={Ea:function(){for(var a=c.cvcf.length,d,n=0;n<a;n++)(d=b.Xa(decodeURIComponent(c.cvcf[n])))&&f.c(d,"click",g.Ta())},Ta:function(){return function(){h.b.a.et=86;var a={n:"form",t:"clk"};a.id=this.id;h.b.a.ep=d.stringify(a);h.b.i()}}};b.Bb(function(){g.Ea()})}})();
(function(){var b=mt.event,a=mt.l;if(c.med&&"undefined"!==typeof h.b){var f=+new Date,d={n:"anti",sb:0,kb:0,clk:0},g=function(){h.b.a.et=86;h.b.a.ep=a.stringify(d);h.b.i()};b.c(document,"click",function(){d.clk++});b.c(document,"keyup",function(){d.kb=1});b.c(window,"scroll",function(){d.sb++});b.c(window,"unload",function(){d.t=+new Date-f;g()});b.c(window,"load",function(){setTimeout(g,5E3)})}})();})();